From 2e4760f1dffdfb5d31489c60e4a33351b15bf166 Mon Sep 17 00:00:00 2001 From: Leandro Pereira Date: Wed, 11 Dec 2024 15:10:05 -0500 Subject: [PATCH] prepare v0.3.2 --- CHANGELOG.md | 17 ++++ assets/package-lock.json | 4 +- assets/package.json | 2 +- mix.exs | 2 +- priv/tailwind.config.bundle.js | 139 ++++++++++++++++++--------------- 5 files changed, 95 insertions(+), 69 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index d712fac4..635218f3 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,22 @@ # Changelog +## Unreleased + +## 0.3.2 (2024-12-11) + +### Fixes + + - Make the logic to find reachable sites less strict + - Prevent components module reloading in manual mode + +### Doc + + - Add missing instructions on Upgrade Guide v0.3.0 where to place the Beacon tuple + +### Chore + + - Exclude Dialyzer files from package + ## 0.3.1 (2024-12-10) ### Fixes diff --git a/assets/package-lock.json b/assets/package-lock.json index fb3ed326..3c82d017 100644 --- a/assets/package-lock.json +++ b/assets/package-lock.json @@ -1,12 +1,12 @@ { "name": "beacon", - "version": "0.3.1", + "version": "0.3.2", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "beacon", - "version": "0.3.1", + "version": "0.3.2", "license": "MIT", "dependencies": { "@tailwindcss/forms": "^0.5", diff --git a/assets/package.json b/assets/package.json index 02492734..1f8fee19 100644 --- a/assets/package.json +++ b/assets/package.json @@ -1,6 +1,6 @@ { "name": "beacon", - "version": "0.3.1", + "version": "0.3.2", "license": "MIT", "repository": {}, "scripts": { diff --git a/mix.exs b/mix.exs index f6cfde54..20756acf 100644 --- a/mix.exs +++ b/mix.exs @@ -1,7 +1,7 @@ defmodule Beacon.MixProject do use Mix.Project - @version "0.3.1" + @version "0.3.2" @source_url "https://github.com/BeaconCMS/beacon" @homepage_url "https://beaconcms.org" diff --git a/priv/tailwind.config.bundle.js b/priv/tailwind.config.bundle.js index bfa66f72..2b40ddc8 100644 --- a/priv/tailwind.config.bundle.js +++ b/priv/tailwind.config.bundle.js @@ -1319,7 +1319,7 @@ var require_picocolors_browser = __commonJS({ "node_modules/picocolors/picocolors.browser.js"(exports, module) { var x = String; var create = function() { - return { isColorSupported: false, reset: x, bold: x, dim: x, italic: x, underline: x, inverse: x, hidden: x, strikethrough: x, black: x, red: x, green: x, yellow: x, blue: x, magenta: x, cyan: x, white: x, gray: x, bgBlack: x, bgRed: x, bgGreen: x, bgYellow: x, bgBlue: x, bgMagenta: x, bgCyan: x, bgWhite: x }; + return { isColorSupported: false, reset: x, bold: x, dim: x, italic: x, underline: x, inverse: x, hidden: x, strikethrough: x, black: x, red: x, green: x, yellow: x, blue: x, magenta: x, cyan: x, white: x, gray: x, bgBlack: x, bgRed: x, bgGreen: x, bgYellow: x, bgBlue: x, bgMagenta: x, bgCyan: x, bgWhite: x, blackBright: x, redBright: x, greenBright: x, yellowBright: x, blueBright: x, magentaBright: x, cyanBright: x, whiteBright: x, bgBlackBright: x, bgRedBright: x, bgGreenBright: x, bgYellowBright: x, bgBlueBright: x, bgMagentaBright: x, bgCyanBright: x, bgWhiteBright: x }; }; module.exports = create(); module.exports.createColors = create; @@ -1776,6 +1776,13 @@ var require_src = __commonJS({ } var forms = plugin2.withOptions(function(options = { strategy: void 0 }) { return function({ addBase, addComponents, theme }) { + function resolveChevronColor(color, fallback) { + let resolved = theme(color); + if (!resolved || resolved.includes("var(")) { + return fallback; + } + return resolved.replace("", "1"); + } const strategy = options.strategy === void 0 ? ["base", "class"] : [options.strategy]; const rules = [ { @@ -1917,9 +1924,9 @@ var require_src = __commonJS({ class: [".form-select"], styles: { "background-image": `url("${svgToDataUri( - `` )}")`, "background-position": `right ${spacing[2]} center`, @@ -4411,7 +4418,6 @@ var require_styles = __commonJS({ table: { width: "100%", tableLayout: "auto", - textAlign: "start", marginTop: em(32, 16), marginBottom: em(32, 16) }, @@ -4441,6 +4447,9 @@ var require_styles = __commonJS({ "tfoot td": { verticalAlign: "top" }, + "th, td": { + textAlign: "start" + }, "figure > *": {}, // Required to maintain correct order when merging figcaption: { @@ -4500,9 +4509,9 @@ var require_lodash3 = __commonJS({ } }); -// node_modules/@tailwindcss/typography/node_modules/postcss-selector-parser/dist/util/unesc.js +// node_modules/postcss-selector-parser/dist/util/unesc.js var require_unesc = __commonJS({ - "node_modules/@tailwindcss/typography/node_modules/postcss-selector-parser/dist/util/unesc.js"(exports, module) { + "node_modules/postcss-selector-parser/dist/util/unesc.js"(exports, module) { "use strict"; exports.__esModule = true; exports["default"] = unesc; @@ -4562,9 +4571,9 @@ var require_unesc = __commonJS({ } }); -// node_modules/@tailwindcss/typography/node_modules/postcss-selector-parser/dist/util/getProp.js +// node_modules/postcss-selector-parser/dist/util/getProp.js var require_getProp = __commonJS({ - "node_modules/@tailwindcss/typography/node_modules/postcss-selector-parser/dist/util/getProp.js"(exports, module) { + "node_modules/postcss-selector-parser/dist/util/getProp.js"(exports, module) { "use strict"; exports.__esModule = true; exports["default"] = getProp; @@ -4585,9 +4594,9 @@ var require_getProp = __commonJS({ } }); -// node_modules/@tailwindcss/typography/node_modules/postcss-selector-parser/dist/util/ensureObject.js +// node_modules/postcss-selector-parser/dist/util/ensureObject.js var require_ensureObject = __commonJS({ - "node_modules/@tailwindcss/typography/node_modules/postcss-selector-parser/dist/util/ensureObject.js"(exports, module) { + "node_modules/postcss-selector-parser/dist/util/ensureObject.js"(exports, module) { "use strict"; exports.__esModule = true; exports["default"] = ensureObject; @@ -4607,9 +4616,9 @@ var require_ensureObject = __commonJS({ } }); -// node_modules/@tailwindcss/typography/node_modules/postcss-selector-parser/dist/util/stripComments.js +// node_modules/postcss-selector-parser/dist/util/stripComments.js var require_stripComments = __commonJS({ - "node_modules/@tailwindcss/typography/node_modules/postcss-selector-parser/dist/util/stripComments.js"(exports, module) { + "node_modules/postcss-selector-parser/dist/util/stripComments.js"(exports, module) { "use strict"; exports.__esModule = true; exports["default"] = stripComments; @@ -4633,9 +4642,9 @@ var require_stripComments = __commonJS({ } }); -// node_modules/@tailwindcss/typography/node_modules/postcss-selector-parser/dist/util/index.js +// node_modules/postcss-selector-parser/dist/util/index.js var require_util = __commonJS({ - "node_modules/@tailwindcss/typography/node_modules/postcss-selector-parser/dist/util/index.js"(exports) { + "node_modules/postcss-selector-parser/dist/util/index.js"(exports) { "use strict"; exports.__esModule = true; exports.stripComments = exports.ensureObject = exports.getProp = exports.unesc = void 0; @@ -4653,9 +4662,9 @@ var require_util = __commonJS({ } }); -// node_modules/@tailwindcss/typography/node_modules/postcss-selector-parser/dist/selectors/node.js +// node_modules/postcss-selector-parser/dist/selectors/node.js var require_node = __commonJS({ - "node_modules/@tailwindcss/typography/node_modules/postcss-selector-parser/dist/selectors/node.js"(exports, module) { + "node_modules/postcss-selector-parser/dist/selectors/node.js"(exports, module) { "use strict"; exports.__esModule = true; exports["default"] = void 0; @@ -4829,9 +4838,9 @@ var require_node = __commonJS({ } }); -// node_modules/@tailwindcss/typography/node_modules/postcss-selector-parser/dist/selectors/types.js +// node_modules/postcss-selector-parser/dist/selectors/types.js var require_types = __commonJS({ - "node_modules/@tailwindcss/typography/node_modules/postcss-selector-parser/dist/selectors/types.js"(exports) { + "node_modules/postcss-selector-parser/dist/selectors/types.js"(exports) { "use strict"; exports.__esModule = true; exports.UNIVERSAL = exports.ATTRIBUTE = exports.CLASS = exports.COMBINATOR = exports.COMMENT = exports.ID = exports.NESTING = exports.PSEUDO = exports.ROOT = exports.SELECTOR = exports.STRING = exports.TAG = void 0; @@ -4862,9 +4871,9 @@ var require_types = __commonJS({ } }); -// node_modules/@tailwindcss/typography/node_modules/postcss-selector-parser/dist/selectors/container.js +// node_modules/postcss-selector-parser/dist/selectors/container.js var require_container = __commonJS({ - "node_modules/@tailwindcss/typography/node_modules/postcss-selector-parser/dist/selectors/container.js"(exports, module) { + "node_modules/postcss-selector-parser/dist/selectors/container.js"(exports, module) { "use strict"; exports.__esModule = true; exports["default"] = void 0; @@ -5248,9 +5257,9 @@ var require_container = __commonJS({ } }); -// node_modules/@tailwindcss/typography/node_modules/postcss-selector-parser/dist/selectors/root.js +// node_modules/postcss-selector-parser/dist/selectors/root.js var require_root = __commonJS({ - "node_modules/@tailwindcss/typography/node_modules/postcss-selector-parser/dist/selectors/root.js"(exports, module) { + "node_modules/postcss-selector-parser/dist/selectors/root.js"(exports, module) { "use strict"; exports.__esModule = true; exports["default"] = void 0; @@ -5321,9 +5330,9 @@ var require_root = __commonJS({ } }); -// node_modules/@tailwindcss/typography/node_modules/postcss-selector-parser/dist/selectors/selector.js +// node_modules/postcss-selector-parser/dist/selectors/selector.js var require_selector = __commonJS({ - "node_modules/@tailwindcss/typography/node_modules/postcss-selector-parser/dist/selectors/selector.js"(exports, module) { + "node_modules/postcss-selector-parser/dist/selectors/selector.js"(exports, module) { "use strict"; exports.__esModule = true; exports["default"] = void 0; @@ -5449,9 +5458,9 @@ var require_cssesc = __commonJS({ } }); -// node_modules/@tailwindcss/typography/node_modules/postcss-selector-parser/dist/selectors/className.js +// node_modules/postcss-selector-parser/dist/selectors/className.js var require_className = __commonJS({ - "node_modules/@tailwindcss/typography/node_modules/postcss-selector-parser/dist/selectors/className.js"(exports, module) { + "node_modules/postcss-selector-parser/dist/selectors/className.js"(exports, module) { "use strict"; exports.__esModule = true; exports["default"] = void 0; @@ -5528,9 +5537,9 @@ var require_className = __commonJS({ } }); -// node_modules/@tailwindcss/typography/node_modules/postcss-selector-parser/dist/selectors/comment.js +// node_modules/postcss-selector-parser/dist/selectors/comment.js var require_comment = __commonJS({ - "node_modules/@tailwindcss/typography/node_modules/postcss-selector-parser/dist/selectors/comment.js"(exports, module) { + "node_modules/postcss-selector-parser/dist/selectors/comment.js"(exports, module) { "use strict"; exports.__esModule = true; exports["default"] = void 0; @@ -5566,9 +5575,9 @@ var require_comment = __commonJS({ } }); -// node_modules/@tailwindcss/typography/node_modules/postcss-selector-parser/dist/selectors/id.js +// node_modules/postcss-selector-parser/dist/selectors/id.js var require_id = __commonJS({ - "node_modules/@tailwindcss/typography/node_modules/postcss-selector-parser/dist/selectors/id.js"(exports, module) { + "node_modules/postcss-selector-parser/dist/selectors/id.js"(exports, module) { "use strict"; exports.__esModule = true; exports["default"] = void 0; @@ -5608,9 +5617,9 @@ var require_id = __commonJS({ } }); -// node_modules/@tailwindcss/typography/node_modules/postcss-selector-parser/dist/selectors/namespace.js +// node_modules/postcss-selector-parser/dist/selectors/namespace.js var require_namespace = __commonJS({ - "node_modules/@tailwindcss/typography/node_modules/postcss-selector-parser/dist/selectors/namespace.js"(exports, module) { + "node_modules/postcss-selector-parser/dist/selectors/namespace.js"(exports, module) { "use strict"; exports.__esModule = true; exports["default"] = void 0; @@ -5716,9 +5725,9 @@ var require_namespace = __commonJS({ } }); -// node_modules/@tailwindcss/typography/node_modules/postcss-selector-parser/dist/selectors/tag.js +// node_modules/postcss-selector-parser/dist/selectors/tag.js var require_tag = __commonJS({ - "node_modules/@tailwindcss/typography/node_modules/postcss-selector-parser/dist/selectors/tag.js"(exports, module) { + "node_modules/postcss-selector-parser/dist/selectors/tag.js"(exports, module) { "use strict"; exports.__esModule = true; exports["default"] = void 0; @@ -5754,9 +5763,9 @@ var require_tag = __commonJS({ } }); -// node_modules/@tailwindcss/typography/node_modules/postcss-selector-parser/dist/selectors/string.js +// node_modules/postcss-selector-parser/dist/selectors/string.js var require_string = __commonJS({ - "node_modules/@tailwindcss/typography/node_modules/postcss-selector-parser/dist/selectors/string.js"(exports, module) { + "node_modules/postcss-selector-parser/dist/selectors/string.js"(exports, module) { "use strict"; exports.__esModule = true; exports["default"] = void 0; @@ -5792,9 +5801,9 @@ var require_string = __commonJS({ } }); -// node_modules/@tailwindcss/typography/node_modules/postcss-selector-parser/dist/selectors/pseudo.js +// node_modules/postcss-selector-parser/dist/selectors/pseudo.js var require_pseudo = __commonJS({ - "node_modules/@tailwindcss/typography/node_modules/postcss-selector-parser/dist/selectors/pseudo.js"(exports, module) { + "node_modules/postcss-selector-parser/dist/selectors/pseudo.js"(exports, module) { "use strict"; exports.__esModule = true; exports["default"] = void 0; @@ -5872,9 +5881,9 @@ var require_browser = __commonJS({ } }); -// node_modules/@tailwindcss/typography/node_modules/postcss-selector-parser/dist/selectors/attribute.js +// node_modules/postcss-selector-parser/dist/selectors/attribute.js var require_attribute = __commonJS({ - "node_modules/@tailwindcss/typography/node_modules/postcss-selector-parser/dist/selectors/attribute.js"(exports) { + "node_modules/postcss-selector-parser/dist/selectors/attribute.js"(exports) { "use strict"; exports.__esModule = true; exports.unescapeValue = unescapeValue; @@ -6237,9 +6246,9 @@ var require_attribute = __commonJS({ } }); -// node_modules/@tailwindcss/typography/node_modules/postcss-selector-parser/dist/selectors/universal.js +// node_modules/postcss-selector-parser/dist/selectors/universal.js var require_universal = __commonJS({ - "node_modules/@tailwindcss/typography/node_modules/postcss-selector-parser/dist/selectors/universal.js"(exports, module) { + "node_modules/postcss-selector-parser/dist/selectors/universal.js"(exports, module) { "use strict"; exports.__esModule = true; exports["default"] = void 0; @@ -6276,9 +6285,9 @@ var require_universal = __commonJS({ } }); -// node_modules/@tailwindcss/typography/node_modules/postcss-selector-parser/dist/selectors/combinator.js +// node_modules/postcss-selector-parser/dist/selectors/combinator.js var require_combinator = __commonJS({ - "node_modules/@tailwindcss/typography/node_modules/postcss-selector-parser/dist/selectors/combinator.js"(exports, module) { + "node_modules/postcss-selector-parser/dist/selectors/combinator.js"(exports, module) { "use strict"; exports.__esModule = true; exports["default"] = void 0; @@ -6314,9 +6323,9 @@ var require_combinator = __commonJS({ } }); -// node_modules/@tailwindcss/typography/node_modules/postcss-selector-parser/dist/selectors/nesting.js +// node_modules/postcss-selector-parser/dist/selectors/nesting.js var require_nesting = __commonJS({ - "node_modules/@tailwindcss/typography/node_modules/postcss-selector-parser/dist/selectors/nesting.js"(exports, module) { + "node_modules/postcss-selector-parser/dist/selectors/nesting.js"(exports, module) { "use strict"; exports.__esModule = true; exports["default"] = void 0; @@ -6353,9 +6362,9 @@ var require_nesting = __commonJS({ } }); -// node_modules/@tailwindcss/typography/node_modules/postcss-selector-parser/dist/sortAscending.js +// node_modules/postcss-selector-parser/dist/sortAscending.js var require_sortAscending = __commonJS({ - "node_modules/@tailwindcss/typography/node_modules/postcss-selector-parser/dist/sortAscending.js"(exports, module) { + "node_modules/postcss-selector-parser/dist/sortAscending.js"(exports, module) { "use strict"; exports.__esModule = true; exports["default"] = sortAscending; @@ -6368,9 +6377,9 @@ var require_sortAscending = __commonJS({ } }); -// node_modules/@tailwindcss/typography/node_modules/postcss-selector-parser/dist/tokenTypes.js +// node_modules/postcss-selector-parser/dist/tokenTypes.js var require_tokenTypes = __commonJS({ - "node_modules/@tailwindcss/typography/node_modules/postcss-selector-parser/dist/tokenTypes.js"(exports) { + "node_modules/postcss-selector-parser/dist/tokenTypes.js"(exports) { "use strict"; exports.__esModule = true; exports.combinator = exports.word = exports.comment = exports.str = exports.tab = exports.newline = exports.feed = exports.cr = exports.backslash = exports.bang = exports.slash = exports.doubleQuote = exports.singleQuote = exports.space = exports.greaterThan = exports.pipe = exports.equals = exports.plus = exports.caret = exports.tilde = exports.dollar = exports.closeSquare = exports.openSquare = exports.closeParenthesis = exports.openParenthesis = exports.semicolon = exports.colon = exports.comma = exports.at = exports.asterisk = exports.ampersand = void 0; @@ -6439,9 +6448,9 @@ var require_tokenTypes = __commonJS({ } }); -// node_modules/@tailwindcss/typography/node_modules/postcss-selector-parser/dist/tokenize.js +// node_modules/postcss-selector-parser/dist/tokenize.js var require_tokenize = __commonJS({ - "node_modules/@tailwindcss/typography/node_modules/postcss-selector-parser/dist/tokenize.js"(exports) { + "node_modules/postcss-selector-parser/dist/tokenize.js"(exports) { "use strict"; exports.__esModule = true; exports["default"] = tokenize; @@ -6697,9 +6706,9 @@ var require_tokenize = __commonJS({ } }); -// node_modules/@tailwindcss/typography/node_modules/postcss-selector-parser/dist/parser.js +// node_modules/postcss-selector-parser/dist/parser.js var require_parser = __commonJS({ - "node_modules/@tailwindcss/typography/node_modules/postcss-selector-parser/dist/parser.js"(exports, module) { + "node_modules/postcss-selector-parser/dist/parser.js"(exports, module) { "use strict"; exports.__esModule = true; exports["default"] = void 0; @@ -7707,9 +7716,9 @@ var require_parser = __commonJS({ } }); -// node_modules/@tailwindcss/typography/node_modules/postcss-selector-parser/dist/processor.js +// node_modules/postcss-selector-parser/dist/processor.js var require_processor = __commonJS({ - "node_modules/@tailwindcss/typography/node_modules/postcss-selector-parser/dist/processor.js"(exports, module) { + "node_modules/postcss-selector-parser/dist/processor.js"(exports, module) { "use strict"; exports.__esModule = true; exports["default"] = void 0; @@ -7837,9 +7846,9 @@ var require_processor = __commonJS({ } }); -// node_modules/@tailwindcss/typography/node_modules/postcss-selector-parser/dist/selectors/constructors.js +// node_modules/postcss-selector-parser/dist/selectors/constructors.js var require_constructors = __commonJS({ - "node_modules/@tailwindcss/typography/node_modules/postcss-selector-parser/dist/selectors/constructors.js"(exports) { + "node_modules/postcss-selector-parser/dist/selectors/constructors.js"(exports) { "use strict"; exports.__esModule = true; exports.universal = exports.tag = exports.string = exports.selector = exports.root = exports.pseudo = exports.nesting = exports.id = exports.comment = exports.combinator = exports.className = exports.attribute = void 0; @@ -7909,9 +7918,9 @@ var require_constructors = __commonJS({ } }); -// node_modules/@tailwindcss/typography/node_modules/postcss-selector-parser/dist/selectors/guards.js +// node_modules/postcss-selector-parser/dist/selectors/guards.js var require_guards = __commonJS({ - "node_modules/@tailwindcss/typography/node_modules/postcss-selector-parser/dist/selectors/guards.js"(exports) { + "node_modules/postcss-selector-parser/dist/selectors/guards.js"(exports) { "use strict"; exports.__esModule = true; exports.isNode = isNode; @@ -7968,9 +7977,9 @@ var require_guards = __commonJS({ } }); -// node_modules/@tailwindcss/typography/node_modules/postcss-selector-parser/dist/selectors/index.js +// node_modules/postcss-selector-parser/dist/selectors/index.js var require_selectors = __commonJS({ - "node_modules/@tailwindcss/typography/node_modules/postcss-selector-parser/dist/selectors/index.js"(exports) { + "node_modules/postcss-selector-parser/dist/selectors/index.js"(exports) { "use strict"; exports.__esModule = true; var _types = require_types(); @@ -7994,9 +8003,9 @@ var require_selectors = __commonJS({ } }); -// node_modules/@tailwindcss/typography/node_modules/postcss-selector-parser/dist/index.js +// node_modules/postcss-selector-parser/dist/index.js var require_dist = __commonJS({ - "node_modules/@tailwindcss/typography/node_modules/postcss-selector-parser/dist/index.js"(exports, module) { + "node_modules/postcss-selector-parser/dist/index.js"(exports, module) { "use strict"; exports.__esModule = true; exports["default"] = void 0;