From 9341f3192a3521bda0dcac0d51a90661eda2d4e6 Mon Sep 17 00:00:00 2001 From: Andrew Berrien <74077809+APB9785@users.noreply.github.com> Date: Tue, 10 Dec 2024 10:45:49 -0600 Subject: [PATCH] Beacon v0.3.1 (#695) * beacon v0.3.1 * auto format code --------- Co-authored-by: APB9785 --- CHANGELOG.md | 6 +- assets/package-lock.json | 4 +- assets/package.json | 2 +- mix.exs | 2 +- priv/tailwind.config.bundle.js | 139 +++++++++++++++------------------ 5 files changed, 74 insertions(+), 79 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 0f67e362..a6e8b76b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,10 @@ # Changelog -## Unreleased +## 0.3.1 (2024-12-10) + +### Fixes + + - Avoid unloading imported dynamic Components modules without a replacement ## 0.3.0 (2024-12-05) diff --git a/assets/package-lock.json b/assets/package-lock.json index 3dd92424..fb3ed326 100644 --- a/assets/package-lock.json +++ b/assets/package-lock.json @@ -1,12 +1,12 @@ { "name": "beacon", - "version": "0.3.0", + "version": "0.3.1", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "beacon", - "version": "0.3.0", + "version": "0.3.1", "license": "MIT", "dependencies": { "@tailwindcss/forms": "^0.5", diff --git a/assets/package.json b/assets/package.json index 0590c463..02492734 100644 --- a/assets/package.json +++ b/assets/package.json @@ -1,6 +1,6 @@ { "name": "beacon", - "version": "0.3.0", + "version": "0.3.1", "license": "MIT", "repository": {}, "scripts": { diff --git a/mix.exs b/mix.exs index 7c788f0f..8512f1db 100644 --- a/mix.exs +++ b/mix.exs @@ -1,7 +1,7 @@ defmodule Beacon.MixProject do use Mix.Project - @version "0.3.0-dev" + @version "0.3.1" @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 2b40ddc8..bfa66f72 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, 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 }; + 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 }; }; module.exports = create(); module.exports.createColors = create; @@ -1776,13 +1776,6 @@ 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 = [ { @@ -1924,9 +1917,9 @@ var require_src = __commonJS({ class: [".form-select"], styles: { "background-image": `url("${svgToDataUri( - `` )}")`, "background-position": `right ${spacing[2]} center`, @@ -4418,6 +4411,7 @@ var require_styles = __commonJS({ table: { width: "100%", tableLayout: "auto", + textAlign: "start", marginTop: em(32, 16), marginBottom: em(32, 16) }, @@ -4447,9 +4441,6 @@ var require_styles = __commonJS({ "tfoot td": { verticalAlign: "top" }, - "th, td": { - textAlign: "start" - }, "figure > *": {}, // Required to maintain correct order when merging figcaption: { @@ -4509,9 +4500,9 @@ var require_lodash3 = __commonJS({ } }); -// node_modules/postcss-selector-parser/dist/util/unesc.js +// node_modules/@tailwindcss/typography/node_modules/postcss-selector-parser/dist/util/unesc.js var require_unesc = __commonJS({ - "node_modules/postcss-selector-parser/dist/util/unesc.js"(exports, module) { + "node_modules/@tailwindcss/typography/node_modules/postcss-selector-parser/dist/util/unesc.js"(exports, module) { "use strict"; exports.__esModule = true; exports["default"] = unesc; @@ -4571,9 +4562,9 @@ var require_unesc = __commonJS({ } }); -// node_modules/postcss-selector-parser/dist/util/getProp.js +// node_modules/@tailwindcss/typography/node_modules/postcss-selector-parser/dist/util/getProp.js var require_getProp = __commonJS({ - "node_modules/postcss-selector-parser/dist/util/getProp.js"(exports, module) { + "node_modules/@tailwindcss/typography/node_modules/postcss-selector-parser/dist/util/getProp.js"(exports, module) { "use strict"; exports.__esModule = true; exports["default"] = getProp; @@ -4594,9 +4585,9 @@ var require_getProp = __commonJS({ } }); -// node_modules/postcss-selector-parser/dist/util/ensureObject.js +// node_modules/@tailwindcss/typography/node_modules/postcss-selector-parser/dist/util/ensureObject.js var require_ensureObject = __commonJS({ - "node_modules/postcss-selector-parser/dist/util/ensureObject.js"(exports, module) { + "node_modules/@tailwindcss/typography/node_modules/postcss-selector-parser/dist/util/ensureObject.js"(exports, module) { "use strict"; exports.__esModule = true; exports["default"] = ensureObject; @@ -4616,9 +4607,9 @@ var require_ensureObject = __commonJS({ } }); -// node_modules/postcss-selector-parser/dist/util/stripComments.js +// node_modules/@tailwindcss/typography/node_modules/postcss-selector-parser/dist/util/stripComments.js var require_stripComments = __commonJS({ - "node_modules/postcss-selector-parser/dist/util/stripComments.js"(exports, module) { + "node_modules/@tailwindcss/typography/node_modules/postcss-selector-parser/dist/util/stripComments.js"(exports, module) { "use strict"; exports.__esModule = true; exports["default"] = stripComments; @@ -4642,9 +4633,9 @@ var require_stripComments = __commonJS({ } }); -// node_modules/postcss-selector-parser/dist/util/index.js +// node_modules/@tailwindcss/typography/node_modules/postcss-selector-parser/dist/util/index.js var require_util = __commonJS({ - "node_modules/postcss-selector-parser/dist/util/index.js"(exports) { + "node_modules/@tailwindcss/typography/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; @@ -4662,9 +4653,9 @@ var require_util = __commonJS({ } }); -// node_modules/postcss-selector-parser/dist/selectors/node.js +// node_modules/@tailwindcss/typography/node_modules/postcss-selector-parser/dist/selectors/node.js var require_node = __commonJS({ - "node_modules/postcss-selector-parser/dist/selectors/node.js"(exports, module) { + "node_modules/@tailwindcss/typography/node_modules/postcss-selector-parser/dist/selectors/node.js"(exports, module) { "use strict"; exports.__esModule = true; exports["default"] = void 0; @@ -4838,9 +4829,9 @@ var require_node = __commonJS({ } }); -// node_modules/postcss-selector-parser/dist/selectors/types.js +// node_modules/@tailwindcss/typography/node_modules/postcss-selector-parser/dist/selectors/types.js var require_types = __commonJS({ - "node_modules/postcss-selector-parser/dist/selectors/types.js"(exports) { + "node_modules/@tailwindcss/typography/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; @@ -4871,9 +4862,9 @@ var require_types = __commonJS({ } }); -// node_modules/postcss-selector-parser/dist/selectors/container.js +// node_modules/@tailwindcss/typography/node_modules/postcss-selector-parser/dist/selectors/container.js var require_container = __commonJS({ - "node_modules/postcss-selector-parser/dist/selectors/container.js"(exports, module) { + "node_modules/@tailwindcss/typography/node_modules/postcss-selector-parser/dist/selectors/container.js"(exports, module) { "use strict"; exports.__esModule = true; exports["default"] = void 0; @@ -5257,9 +5248,9 @@ var require_container = __commonJS({ } }); -// node_modules/postcss-selector-parser/dist/selectors/root.js +// node_modules/@tailwindcss/typography/node_modules/postcss-selector-parser/dist/selectors/root.js var require_root = __commonJS({ - "node_modules/postcss-selector-parser/dist/selectors/root.js"(exports, module) { + "node_modules/@tailwindcss/typography/node_modules/postcss-selector-parser/dist/selectors/root.js"(exports, module) { "use strict"; exports.__esModule = true; exports["default"] = void 0; @@ -5330,9 +5321,9 @@ var require_root = __commonJS({ } }); -// node_modules/postcss-selector-parser/dist/selectors/selector.js +// node_modules/@tailwindcss/typography/node_modules/postcss-selector-parser/dist/selectors/selector.js var require_selector = __commonJS({ - "node_modules/postcss-selector-parser/dist/selectors/selector.js"(exports, module) { + "node_modules/@tailwindcss/typography/node_modules/postcss-selector-parser/dist/selectors/selector.js"(exports, module) { "use strict"; exports.__esModule = true; exports["default"] = void 0; @@ -5458,9 +5449,9 @@ var require_cssesc = __commonJS({ } }); -// node_modules/postcss-selector-parser/dist/selectors/className.js +// node_modules/@tailwindcss/typography/node_modules/postcss-selector-parser/dist/selectors/className.js var require_className = __commonJS({ - "node_modules/postcss-selector-parser/dist/selectors/className.js"(exports, module) { + "node_modules/@tailwindcss/typography/node_modules/postcss-selector-parser/dist/selectors/className.js"(exports, module) { "use strict"; exports.__esModule = true; exports["default"] = void 0; @@ -5537,9 +5528,9 @@ var require_className = __commonJS({ } }); -// node_modules/postcss-selector-parser/dist/selectors/comment.js +// node_modules/@tailwindcss/typography/node_modules/postcss-selector-parser/dist/selectors/comment.js var require_comment = __commonJS({ - "node_modules/postcss-selector-parser/dist/selectors/comment.js"(exports, module) { + "node_modules/@tailwindcss/typography/node_modules/postcss-selector-parser/dist/selectors/comment.js"(exports, module) { "use strict"; exports.__esModule = true; exports["default"] = void 0; @@ -5575,9 +5566,9 @@ var require_comment = __commonJS({ } }); -// node_modules/postcss-selector-parser/dist/selectors/id.js +// node_modules/@tailwindcss/typography/node_modules/postcss-selector-parser/dist/selectors/id.js var require_id = __commonJS({ - "node_modules/postcss-selector-parser/dist/selectors/id.js"(exports, module) { + "node_modules/@tailwindcss/typography/node_modules/postcss-selector-parser/dist/selectors/id.js"(exports, module) { "use strict"; exports.__esModule = true; exports["default"] = void 0; @@ -5617,9 +5608,9 @@ var require_id = __commonJS({ } }); -// node_modules/postcss-selector-parser/dist/selectors/namespace.js +// node_modules/@tailwindcss/typography/node_modules/postcss-selector-parser/dist/selectors/namespace.js var require_namespace = __commonJS({ - "node_modules/postcss-selector-parser/dist/selectors/namespace.js"(exports, module) { + "node_modules/@tailwindcss/typography/node_modules/postcss-selector-parser/dist/selectors/namespace.js"(exports, module) { "use strict"; exports.__esModule = true; exports["default"] = void 0; @@ -5725,9 +5716,9 @@ var require_namespace = __commonJS({ } }); -// node_modules/postcss-selector-parser/dist/selectors/tag.js +// node_modules/@tailwindcss/typography/node_modules/postcss-selector-parser/dist/selectors/tag.js var require_tag = __commonJS({ - "node_modules/postcss-selector-parser/dist/selectors/tag.js"(exports, module) { + "node_modules/@tailwindcss/typography/node_modules/postcss-selector-parser/dist/selectors/tag.js"(exports, module) { "use strict"; exports.__esModule = true; exports["default"] = void 0; @@ -5763,9 +5754,9 @@ var require_tag = __commonJS({ } }); -// node_modules/postcss-selector-parser/dist/selectors/string.js +// node_modules/@tailwindcss/typography/node_modules/postcss-selector-parser/dist/selectors/string.js var require_string = __commonJS({ - "node_modules/postcss-selector-parser/dist/selectors/string.js"(exports, module) { + "node_modules/@tailwindcss/typography/node_modules/postcss-selector-parser/dist/selectors/string.js"(exports, module) { "use strict"; exports.__esModule = true; exports["default"] = void 0; @@ -5801,9 +5792,9 @@ var require_string = __commonJS({ } }); -// node_modules/postcss-selector-parser/dist/selectors/pseudo.js +// node_modules/@tailwindcss/typography/node_modules/postcss-selector-parser/dist/selectors/pseudo.js var require_pseudo = __commonJS({ - "node_modules/postcss-selector-parser/dist/selectors/pseudo.js"(exports, module) { + "node_modules/@tailwindcss/typography/node_modules/postcss-selector-parser/dist/selectors/pseudo.js"(exports, module) { "use strict"; exports.__esModule = true; exports["default"] = void 0; @@ -5881,9 +5872,9 @@ var require_browser = __commonJS({ } }); -// node_modules/postcss-selector-parser/dist/selectors/attribute.js +// node_modules/@tailwindcss/typography/node_modules/postcss-selector-parser/dist/selectors/attribute.js var require_attribute = __commonJS({ - "node_modules/postcss-selector-parser/dist/selectors/attribute.js"(exports) { + "node_modules/@tailwindcss/typography/node_modules/postcss-selector-parser/dist/selectors/attribute.js"(exports) { "use strict"; exports.__esModule = true; exports.unescapeValue = unescapeValue; @@ -6246,9 +6237,9 @@ var require_attribute = __commonJS({ } }); -// node_modules/postcss-selector-parser/dist/selectors/universal.js +// node_modules/@tailwindcss/typography/node_modules/postcss-selector-parser/dist/selectors/universal.js var require_universal = __commonJS({ - "node_modules/postcss-selector-parser/dist/selectors/universal.js"(exports, module) { + "node_modules/@tailwindcss/typography/node_modules/postcss-selector-parser/dist/selectors/universal.js"(exports, module) { "use strict"; exports.__esModule = true; exports["default"] = void 0; @@ -6285,9 +6276,9 @@ var require_universal = __commonJS({ } }); -// node_modules/postcss-selector-parser/dist/selectors/combinator.js +// node_modules/@tailwindcss/typography/node_modules/postcss-selector-parser/dist/selectors/combinator.js var require_combinator = __commonJS({ - "node_modules/postcss-selector-parser/dist/selectors/combinator.js"(exports, module) { + "node_modules/@tailwindcss/typography/node_modules/postcss-selector-parser/dist/selectors/combinator.js"(exports, module) { "use strict"; exports.__esModule = true; exports["default"] = void 0; @@ -6323,9 +6314,9 @@ var require_combinator = __commonJS({ } }); -// node_modules/postcss-selector-parser/dist/selectors/nesting.js +// node_modules/@tailwindcss/typography/node_modules/postcss-selector-parser/dist/selectors/nesting.js var require_nesting = __commonJS({ - "node_modules/postcss-selector-parser/dist/selectors/nesting.js"(exports, module) { + "node_modules/@tailwindcss/typography/node_modules/postcss-selector-parser/dist/selectors/nesting.js"(exports, module) { "use strict"; exports.__esModule = true; exports["default"] = void 0; @@ -6362,9 +6353,9 @@ var require_nesting = __commonJS({ } }); -// node_modules/postcss-selector-parser/dist/sortAscending.js +// node_modules/@tailwindcss/typography/node_modules/postcss-selector-parser/dist/sortAscending.js var require_sortAscending = __commonJS({ - "node_modules/postcss-selector-parser/dist/sortAscending.js"(exports, module) { + "node_modules/@tailwindcss/typography/node_modules/postcss-selector-parser/dist/sortAscending.js"(exports, module) { "use strict"; exports.__esModule = true; exports["default"] = sortAscending; @@ -6377,9 +6368,9 @@ var require_sortAscending = __commonJS({ } }); -// node_modules/postcss-selector-parser/dist/tokenTypes.js +// node_modules/@tailwindcss/typography/node_modules/postcss-selector-parser/dist/tokenTypes.js var require_tokenTypes = __commonJS({ - "node_modules/postcss-selector-parser/dist/tokenTypes.js"(exports) { + "node_modules/@tailwindcss/typography/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; @@ -6448,9 +6439,9 @@ var require_tokenTypes = __commonJS({ } }); -// node_modules/postcss-selector-parser/dist/tokenize.js +// node_modules/@tailwindcss/typography/node_modules/postcss-selector-parser/dist/tokenize.js var require_tokenize = __commonJS({ - "node_modules/postcss-selector-parser/dist/tokenize.js"(exports) { + "node_modules/@tailwindcss/typography/node_modules/postcss-selector-parser/dist/tokenize.js"(exports) { "use strict"; exports.__esModule = true; exports["default"] = tokenize; @@ -6706,9 +6697,9 @@ var require_tokenize = __commonJS({ } }); -// node_modules/postcss-selector-parser/dist/parser.js +// node_modules/@tailwindcss/typography/node_modules/postcss-selector-parser/dist/parser.js var require_parser = __commonJS({ - "node_modules/postcss-selector-parser/dist/parser.js"(exports, module) { + "node_modules/@tailwindcss/typography/node_modules/postcss-selector-parser/dist/parser.js"(exports, module) { "use strict"; exports.__esModule = true; exports["default"] = void 0; @@ -7716,9 +7707,9 @@ var require_parser = __commonJS({ } }); -// node_modules/postcss-selector-parser/dist/processor.js +// node_modules/@tailwindcss/typography/node_modules/postcss-selector-parser/dist/processor.js var require_processor = __commonJS({ - "node_modules/postcss-selector-parser/dist/processor.js"(exports, module) { + "node_modules/@tailwindcss/typography/node_modules/postcss-selector-parser/dist/processor.js"(exports, module) { "use strict"; exports.__esModule = true; exports["default"] = void 0; @@ -7846,9 +7837,9 @@ var require_processor = __commonJS({ } }); -// node_modules/postcss-selector-parser/dist/selectors/constructors.js +// node_modules/@tailwindcss/typography/node_modules/postcss-selector-parser/dist/selectors/constructors.js var require_constructors = __commonJS({ - "node_modules/postcss-selector-parser/dist/selectors/constructors.js"(exports) { + "node_modules/@tailwindcss/typography/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; @@ -7918,9 +7909,9 @@ var require_constructors = __commonJS({ } }); -// node_modules/postcss-selector-parser/dist/selectors/guards.js +// node_modules/@tailwindcss/typography/node_modules/postcss-selector-parser/dist/selectors/guards.js var require_guards = __commonJS({ - "node_modules/postcss-selector-parser/dist/selectors/guards.js"(exports) { + "node_modules/@tailwindcss/typography/node_modules/postcss-selector-parser/dist/selectors/guards.js"(exports) { "use strict"; exports.__esModule = true; exports.isNode = isNode; @@ -7977,9 +7968,9 @@ var require_guards = __commonJS({ } }); -// node_modules/postcss-selector-parser/dist/selectors/index.js +// node_modules/@tailwindcss/typography/node_modules/postcss-selector-parser/dist/selectors/index.js var require_selectors = __commonJS({ - "node_modules/postcss-selector-parser/dist/selectors/index.js"(exports) { + "node_modules/@tailwindcss/typography/node_modules/postcss-selector-parser/dist/selectors/index.js"(exports) { "use strict"; exports.__esModule = true; var _types = require_types(); @@ -8003,9 +7994,9 @@ var require_selectors = __commonJS({ } }); -// node_modules/postcss-selector-parser/dist/index.js +// node_modules/@tailwindcss/typography/node_modules/postcss-selector-parser/dist/index.js var require_dist = __commonJS({ - "node_modules/postcss-selector-parser/dist/index.js"(exports, module) { + "node_modules/@tailwindcss/typography/node_modules/postcss-selector-parser/dist/index.js"(exports, module) { "use strict"; exports.__esModule = true; exports["default"] = void 0;