From dfce971c4046ff5f50aa28446d7a7208475df537 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Wed, 27 Mar 2024 13:38:06 +0000 Subject: [PATCH 001/110] chore(deps): update dependency vite-plugin-dts to v3.8.0 --- package.json | 2 +- yarn.lock | 109 ++++++++++++++++++++++++++++----------------------- 2 files changed, 61 insertions(+), 50 deletions(-) diff --git a/package.json b/package.json index e6c772b89f..fb10fd1e97 100644 --- a/package.json +++ b/package.json @@ -120,7 +120,7 @@ "tsx": "4.7.1", "typescript": "5.4.3", "vite": "5.2.6", - "vite-plugin-dts": "3.7.3" + "vite-plugin-dts": "3.8.0" }, "resolutions": { "@types/node": "20.11.30", diff --git a/yarn.lock b/yarn.lock index ed320bc547..77b530e9ec 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1680,32 +1680,33 @@ dependencies: "@types/mdx" "^2.0.0" -"@microsoft/api-extractor-model@7.28.3": - version "7.28.3" - resolved "https://registry.yarnpkg.com/@microsoft/api-extractor-model/-/api-extractor-model-7.28.3.tgz#f6a213e41a2274d5195366b646954daee39e8493" - integrity sha512-wT/kB2oDbdZXITyDh2SQLzaWwTOFbV326fP0pUwNW00WeliARs0qjmXBWmGWardEzp2U3/axkO3Lboqun6vrig== +"@microsoft/api-extractor-model@7.28.13": + version "7.28.13" + resolved "https://registry.yarnpkg.com/@microsoft/api-extractor-model/-/api-extractor-model-7.28.13.tgz#96fbc52155e0d07e0eabbd9699065b77702fe33a" + integrity sha512-39v/JyldX4MS9uzHcdfmjjfS6cYGAoXV+io8B5a338pkHiSt+gy2eXQ0Q7cGFJ7quSa1VqqlMdlPrB6sLR/cAw== dependencies: "@microsoft/tsdoc" "0.14.2" "@microsoft/tsdoc-config" "~0.16.1" - "@rushstack/node-core-library" "3.62.0" + "@rushstack/node-core-library" "4.0.2" -"@microsoft/api-extractor@7.39.0": - version "7.39.0" - resolved "https://registry.yarnpkg.com/@microsoft/api-extractor/-/api-extractor-7.39.0.tgz#41c25f7f522e8b9376debda07364ff234e602eff" - integrity sha512-PuXxzadgnvp+wdeZFPonssRAj/EW4Gm4s75TXzPk09h3wJ8RS3x7typf95B4vwZRrPTQBGopdUl+/vHvlPdAcg== +"@microsoft/api-extractor@7.43.0": + version "7.43.0" + resolved "https://registry.yarnpkg.com/@microsoft/api-extractor/-/api-extractor-7.43.0.tgz#41c42677bc71cd8e0f23c63c56802d85044e65cd" + integrity sha512-GFhTcJpB+MI6FhvXEI9b2K0snulNLWHqC/BbcJtyNYcKUiw7l3Lgis5ApsYncJ0leALX7/of4XfmXk+maT111w== dependencies: - "@microsoft/api-extractor-model" "7.28.3" + "@microsoft/api-extractor-model" "7.28.13" "@microsoft/tsdoc" "0.14.2" "@microsoft/tsdoc-config" "~0.16.1" - "@rushstack/node-core-library" "3.62.0" - "@rushstack/rig-package" "0.5.1" - "@rushstack/ts-command-line" "4.17.1" - colors "~1.2.1" + "@rushstack/node-core-library" "4.0.2" + "@rushstack/rig-package" "0.5.2" + "@rushstack/terminal" "0.10.0" + "@rushstack/ts-command-line" "4.19.1" lodash "~4.17.15" + minimatch "~3.0.3" resolve "~1.22.1" semver "~7.5.4" source-map "~0.6.1" - typescript "5.3.3" + typescript "5.4.2" "@microsoft/tsdoc-config@~0.16.1": version "0.16.2" @@ -1926,12 +1927,11 @@ resolved "https://registry.yarnpkg.com/@rollup/rollup-win32-x64-msvc/-/rollup-win32-x64-msvc-4.13.0.tgz#6abd79db7ff8d01a58865ba20a63cfd23d9e2a10" integrity sha512-UKXUQNbO3DOhzLRwHSpa0HnhhCgNODvfoPWv2FCXme8N/ANFfhIPMGuOT+QuKd16+B5yxZ0HdpNlqPvTMS1qfw== -"@rushstack/node-core-library@3.62.0": - version "3.62.0" - resolved "https://registry.yarnpkg.com/@rushstack/node-core-library/-/node-core-library-3.62.0.tgz#a30a44a740b522944165f0faa6644134eb95be1d" - integrity sha512-88aJn2h8UpSvdwuDXBv1/v1heM6GnBf3RjEy6ZPP7UnzHNCqOHA2Ut+ScYUbXcqIdfew9JlTAe3g+cnX9xQ/Aw== +"@rushstack/node-core-library@4.0.2": + version "4.0.2" + resolved "https://registry.yarnpkg.com/@rushstack/node-core-library/-/node-core-library-4.0.2.tgz#e26854a3314b279d57e8abdb4acce7797d02f554" + integrity sha512-hyES82QVpkfQMeBMteQUnrhASL/KHPhd7iJ8euduwNJG4mu2GSOKybf0rOEjOm1Wz7CwJEUm9y0yD7jg2C1bfg== dependencies: - colors "~1.2.1" fs-extra "~7.0.1" import-lazy "~4.0.0" jju "~1.4.0" @@ -1939,22 +1939,30 @@ semver "~7.5.4" z-schema "~5.0.2" -"@rushstack/rig-package@0.5.1": - version "0.5.1" - resolved "https://registry.yarnpkg.com/@rushstack/rig-package/-/rig-package-0.5.1.tgz#6c9c283cc96b5bb1eae9875946d974ac5429bb21" - integrity sha512-pXRYSe29TjRw7rqxD4WS3HN/sRSbfr+tJs4a9uuaSIBAITbUggygdhuG0VrO0EO+QqH91GhYMN4S6KRtOEmGVA== +"@rushstack/rig-package@0.5.2": + version "0.5.2" + resolved "https://registry.yarnpkg.com/@rushstack/rig-package/-/rig-package-0.5.2.tgz#0e23a115904678717a74049661931c0b37dd5495" + integrity sha512-mUDecIJeH3yYGZs2a48k+pbhM6JYwWlgjs2Ca5f2n1G2/kgdgP9D/07oglEGf6mRyXEnazhEENeYTSNDRCwdqA== dependencies: resolve "~1.22.1" strip-json-comments "~3.1.1" -"@rushstack/ts-command-line@4.17.1": - version "4.17.1" - resolved "https://registry.yarnpkg.com/@rushstack/ts-command-line/-/ts-command-line-4.17.1.tgz#c78db928ce5b93f2e98fd9e14c24f3f3876e57f1" - integrity sha512-2jweO1O57BYP5qdBGl6apJLB+aRIn5ccIRTPDyULh0KMwVzFqWtw6IZWt1qtUoZD/pD2RNkIOosH6Cq45rIYeg== +"@rushstack/terminal@0.10.0": + version "0.10.0" + resolved "https://registry.yarnpkg.com/@rushstack/terminal/-/terminal-0.10.0.tgz#e81909fa0e5c8016b6df4739f0f381f44358269f" + integrity sha512-UbELbXnUdc7EKwfH2sb8ChqNgapUOdqcCIdQP4NGxBpTZV2sQyeekuK3zmfQSa/MN+/7b4kBogl2wq0vpkpYGw== dependencies: + "@rushstack/node-core-library" "4.0.2" + supports-color "~8.1.1" + +"@rushstack/ts-command-line@4.19.1": + version "4.19.1" + resolved "https://registry.yarnpkg.com/@rushstack/ts-command-line/-/ts-command-line-4.19.1.tgz#288ee54dd607e558a8be07705869c16c31b5c3ef" + integrity sha512-J7H768dgcpG60d7skZ5uSSwyCZs/S2HrWP1Ds8d1qYAyaaeJmpmmLr9BVw97RjFzmQPOYnoXcKA4GkqDCkduQg== + dependencies: + "@rushstack/terminal" "0.10.0" "@types/argparse" "1.0.38" argparse "~1.0.9" - colors "~1.2.1" string-argv "~0.3.1" "@sbb-esta/lyne-design-tokens@0.4.1": @@ -3348,7 +3356,7 @@ "@vue/compiler-core" "3.4.21" "@vue/shared" "3.4.21" -"@vue/language-core@1.8.27", "@vue/language-core@^1.8.26": +"@vue/language-core@1.8.27", "@vue/language-core@^1.8.27": version "1.8.27" resolved "https://registry.yarnpkg.com/@vue/language-core/-/language-core-1.8.27.tgz#2ca6892cb524e024a44e554e4c55d7a23e72263f" integrity sha512-L8Kc27VdQserNaCUNiSFdDl9LWT24ly8Hpwf1ECy3aFb9m6bDhBGQYOujDm21N7EW3moKIOKEanQwe1q5BK+mA== @@ -4638,11 +4646,6 @@ colorette@^2.0.20: resolved "https://registry.yarnpkg.com/colorette/-/colorette-2.0.20.tgz#9eb793e6833067f7235902fcd3b09917a000a95a" integrity sha512-IfEDxwoWIjkeXL1eXcDiow4UbKjhLdq6/EuSVR9GMN7KVH3r9gQ83e73hsz1Nd1T3ijd5xv1wcWRYO+D6kCI2w== -colors@~1.2.1: - version "1.2.5" - resolved "https://registry.yarnpkg.com/colors/-/colors-1.2.5.tgz#89c7ad9a374bc030df8013241f68136ed8835afc" - integrity sha512-erNRLao/Y3Fv54qUa0LBB+//Uf3YwMUmdJinN20yMXm9zdKKqH9wt7R9IIVZ+K7ShzfpLV/Zg8+VyrBJYB4lpg== - command-line-args@5.1.2: version "5.1.2" resolved "https://registry.yarnpkg.com/command-line-args/-/command-line-args-5.1.2.tgz#25908e573d2214bc23a8437e3df853b02dffa425" @@ -8373,7 +8376,7 @@ magic-string@^0.23.2: dependencies: sourcemap-codec "^1.4.1" -magic-string@^0.30.0: +magic-string@^0.30.0, magic-string@^0.30.8: version "0.30.8" resolved "https://registry.yarnpkg.com/magic-string/-/magic-string-0.30.8.tgz#14e8624246d2bedba70d5462aa99ac9681844613" integrity sha512-ISQTe55T2ao7XtlAStud6qwYPZjE4GK1S/BeVPus4jrq6JuOnQ00YKQC581RWhR122W7msZV263KzVeLoqidyQ== @@ -9006,7 +9009,7 @@ minimatch@^5.0.1: dependencies: brace-expansion "^2.0.1" -minimatch@~3.0.2: +minimatch@~3.0.2, minimatch@~3.0.3: version "3.0.8" resolved "https://registry.yarnpkg.com/minimatch/-/minimatch-3.0.8.tgz#5e6a59bd11e2ab0de1cfb843eb2d82e546c321c1" integrity sha512-6FsRAQsxQ61mw+qP1ZzbL9Bc78x2p5OqNgNpnoAFLTrX8n5Kxph0CsnhmKKNXTWjXqU5L0pGPR7hYk+XWZr60Q== @@ -11255,6 +11258,13 @@ supports-color@^7.0.0, supports-color@^7.1.0, supports-color@^7.2.0: dependencies: has-flag "^4.0.0" +supports-color@~8.1.1: + version "8.1.1" + resolved "https://registry.yarnpkg.com/supports-color/-/supports-color-8.1.1.tgz#cd6fc17e28500cff56c1b86c0a7fd4a54a73005c" + integrity sha512-MpUEN2OodtUzxvKQl72cUF7RQ5EiHsGvSsVG0ia9c5RbWGL2CI4C7EpPS8UTBIplnlzZiNuV56w+FuNxy3ty2Q== + dependencies: + has-flag "^4.0.0" + supports-hyperlinks@^3.0.0: version "3.0.0" resolved "https://registry.yarnpkg.com/supports-hyperlinks/-/supports-hyperlinks-3.0.0.tgz#c711352a5c89070779b4dad54c05a2f14b15c94b" @@ -11661,10 +11671,10 @@ typedarray@^0.0.6: resolved "https://registry.yarnpkg.com/typedarray/-/typedarray-0.0.6.tgz#867ac74e3864187b1d3d47d996a78ec5c8830777" integrity sha512-/aCDEGatGvZ2BIk+HmLf4ifCJFwvKFNb9/JeZPMulfgFracn9QFcAf5GO8B/mweUjSoblS5In0cWhqpfs/5PQA== -typescript@5.3.3: - version "5.3.3" - resolved "https://registry.yarnpkg.com/typescript/-/typescript-5.3.3.tgz#b3ce6ba258e72e6305ba66f5c9b452aaee3ffe37" - integrity sha512-pXWcraxM0uxAS+tN0AG/BF2TyqmHO014Z070UsJ+pFvYuRSq8KH8DmWpnbXe0pEPDHXZV3FcAbJkijJ5oNEnWw== +typescript@5.4.2: + version "5.4.2" + resolved "https://registry.yarnpkg.com/typescript/-/typescript-5.4.2.tgz#0ae9cebcfae970718474fe0da2c090cad6577372" + integrity sha512-+2/g0Fds1ERlP6JsakQQDXjZdZMM+rqpamFZJEKh4kwTIn3iDkgKtby0CeNd5ATNZ4Ry1ax15TMx0W2V+miizQ== typescript@5.4.3, typescript@~5.4.2: version "5.4.3" @@ -11987,17 +11997,18 @@ vfile@^4.0.0: unist-util-stringify-position "^2.0.0" vfile-message "^2.0.0" -vite-plugin-dts@3.7.3: - version "3.7.3" - resolved "https://registry.yarnpkg.com/vite-plugin-dts/-/vite-plugin-dts-3.7.3.tgz#072ec78face3b76a7a492ffeb83469ef5318ce0b" - integrity sha512-26eTlBYdpjRLWCsTJebM8vkCieE+p9gP3raf+ecDnzzK5E3FG6VE1wcy55OkRpfWWVlVvKkYFe6uvRHYWx7Nog== +vite-plugin-dts@3.8.0: + version "3.8.0" + resolved "https://registry.yarnpkg.com/vite-plugin-dts/-/vite-plugin-dts-3.8.0.tgz#e879134e3d674e5d5dd659002694078df17b2b3f" + integrity sha512-wt9ST1MwS5lkxHtA3M30+lSA3TO8RnaUu3YUPmGgY1iKm+vWZmB7KBss6qspyUlto9ynLNHYG2eJ09d2Q4/7Qg== dependencies: - "@microsoft/api-extractor" "7.39.0" + "@microsoft/api-extractor" "7.43.0" "@rollup/pluginutils" "^5.1.0" - "@vue/language-core" "^1.8.26" + "@vue/language-core" "^1.8.27" debug "^4.3.4" kolorist "^1.8.0" - vue-tsc "^1.8.26" + magic-string "^0.30.8" + vue-tsc "^1.8.27" vite@5.2.6: version "5.2.6" @@ -12058,7 +12069,7 @@ vue-template-compiler@^2.7.14: de-indent "^1.0.2" he "^1.2.0" -vue-tsc@^1.8.26: +vue-tsc@^1.8.27: version "1.8.27" resolved "https://registry.yarnpkg.com/vue-tsc/-/vue-tsc-1.8.27.tgz#feb2bb1eef9be28017bb9e95e2bbd1ebdd48481c" integrity sha512-WesKCAZCRAbmmhuGl3+VrdWItEvfoFIPXOvUJkjULi+x+6G/Dy69yO3TBRJDr9eUlmsNAwVmxsNZxvHKzbkKdg== From d663c75f07ad2ed26469aae3114e70361589cfd4 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Wed, 27 Mar 2024 17:59:20 +0000 Subject: [PATCH 002/110] chore(deps): update dependency @types/react to v18.2.73 --- package.json | 2 +- yarn.lock | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/package.json b/package.json index fb10fd1e97..0e0e609b9b 100644 --- a/package.json +++ b/package.json @@ -76,7 +76,7 @@ "@types/glob": "8.1.0", "@types/mocha": "^10.0.4", "@types/node": "20.11.30", - "@types/react": "18.2.72", + "@types/react": "18.2.73", "@types/react-dom": "^18.2.15", "@typescript-eslint/eslint-plugin": "7.4.0", "@typescript-eslint/parser": "7.4.0", diff --git a/yarn.lock b/yarn.lock index 77b530e9ec..51648eeec4 100644 --- a/yarn.lock +++ b/yarn.lock @@ -3008,10 +3008,10 @@ "@types/scheduler" "*" csstype "^3.0.2" -"@types/react@18.2.72": - version "18.2.72" - resolved "https://registry.yarnpkg.com/@types/react/-/react-18.2.72.tgz#3341a6d0746d1c7d8510810319323850c04bd6ed" - integrity sha512-/e7GWxGzXQF7OJAua7UAYqYi/4VpXEfbGtmYQcAQwP3SjjjAXfybTf/JK5S+SaetB/ChXl8Y2g1hCsj7jDXxcg== +"@types/react@18.2.73": + version "18.2.73" + resolved "https://registry.yarnpkg.com/@types/react/-/react-18.2.73.tgz#0579548ad122660d99e00499d22e33b81e73ed94" + integrity sha512-XcGdod0Jjv84HOC7N5ziY3x+qL0AfmubvKOZ9hJjJ2yd5EE+KYjWhdOjt387e9HPheHkdggF9atTifMRtyAaRA== dependencies: "@types/prop-types" "*" csstype "^3.0.2" From b74e15b2a19cf28292e2c649ba4677b16a1d8899 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Thu, 28 Mar 2024 01:46:27 +0000 Subject: [PATCH 003/110] chore(deps): update storybook monorepo to v8.0.5 --- package.json | 20 +- yarn.lock | 580 +++++++++++++++++++++++++-------------------------- 2 files changed, 300 insertions(+), 300 deletions(-) diff --git a/package.json b/package.json index 0e0e609b9b..9e87a01d52 100644 --- a/package.json +++ b/package.json @@ -64,15 +64,15 @@ "@open-wc/lit-helpers": "0.7.0", "@open-wc/testing": "4.0.0", "@sbb-esta/lyne-design-tokens": "0.4.1", - "@storybook/addon-a11y": "8.0.4", - "@storybook/addon-actions": "8.0.4", - "@storybook/addon-essentials": "8.0.4", - "@storybook/addon-interactions": "8.0.4", - "@storybook/addon-links": "8.0.4", - "@storybook/blocks": "8.0.4", - "@storybook/test": "8.0.4", - "@storybook/web-components": "8.0.4", - "@storybook/web-components-vite": "8.0.4", + "@storybook/addon-a11y": "8.0.5", + "@storybook/addon-actions": "8.0.5", + "@storybook/addon-essentials": "8.0.5", + "@storybook/addon-interactions": "8.0.5", + "@storybook/addon-links": "8.0.5", + "@storybook/blocks": "8.0.5", + "@storybook/test": "8.0.5", + "@storybook/web-components": "8.0.5", + "@storybook/web-components-vite": "8.0.5", "@types/glob": "8.1.0", "@types/mocha": "^10.0.4", "@types/node": "20.11.30", @@ -111,7 +111,7 @@ "sass": "1.72.0", "sinon": "17.0.1", "standard-version": "^9.5.0", - "storybook": "8.0.4", + "storybook": "8.0.5", "stylelint": "16.3.1", "stylelint-config-prettier-scss": "1.0.0", "stylelint-config-standard-scss": "12.0.0", diff --git a/yarn.lock b/yarn.lock index 51648eeec4..ff25d25f93 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2010,62 +2010,62 @@ resolved "https://registry.yarnpkg.com/@sinonjs/text-encoding/-/text-encoding-0.7.2.tgz#5981a8db18b56ba38ef0efb7d995b12aa7b51918" integrity sha512-sXXKG+uL9IrKqViTtao2Ws6dy0znu9sOaP1di/jKGW1M6VssO8vlpXCQcpZ+jisQ1tTFAC5Jo/EOzFbggBagFQ== -"@storybook/addon-a11y@8.0.4": - version "8.0.4" - resolved "https://registry.yarnpkg.com/@storybook/addon-a11y/-/addon-a11y-8.0.4.tgz#2e62ab86a016a9ed6e4b52d61e0549c2568b0923" - integrity sha512-5OyZNzjNXjNUD9vBfjxFnJjMMcBFYWyI4zy5qmJcbAvBv/COiXNfNg2cr2YPNtU5WfA6nsaIESfHFGBHI3GDAg== +"@storybook/addon-a11y@8.0.5": + version "8.0.5" + resolved "https://registry.yarnpkg.com/@storybook/addon-a11y/-/addon-a11y-8.0.5.tgz#53a49e2518a24e40d89472ae0fd75fb7ef86f7bf" + integrity sha512-QWMbFyZ3Cs859OZ4hoidfZBVHpQ+BAsyu88g/o+AKh5hP3/SRu8g+D/ZVtt2vkwN4jvIQzNDpzjIYKp1zRDczQ== dependencies: - "@storybook/addon-highlight" "8.0.4" + "@storybook/addon-highlight" "8.0.5" axe-core "^4.2.0" -"@storybook/addon-actions@8.0.4": - version "8.0.4" - resolved "https://registry.yarnpkg.com/@storybook/addon-actions/-/addon-actions-8.0.4.tgz#fc2285bd26660f10af497b332d0e62e7e00bfbbc" - integrity sha512-EyCWo+8T11/TJGYNL/AXtW4yaB+q1v2E9mixbumryCLxpTl2NtaeGZ4e0dlwfIMuw/7RWgHk2uIypcIPR/UANQ== +"@storybook/addon-actions@8.0.5": + version "8.0.5" + resolved "https://registry.yarnpkg.com/@storybook/addon-actions/-/addon-actions-8.0.5.tgz#a3b6cb4ab319c200b498c379ff54672e460a1ce7" + integrity sha512-l1UBvD61DRcfuBTkdqMp2K+60M1QpvhNpYxMmJ/JEYQjzWTg/s9gLmX8eSjgA5bi0sjjJ5i1ddr9d8nHrmwfPA== dependencies: - "@storybook/core-events" "8.0.4" + "@storybook/core-events" "8.0.5" "@storybook/global" "^5.0.0" "@types/uuid" "^9.0.1" dequal "^2.0.2" polished "^4.2.2" uuid "^9.0.0" -"@storybook/addon-backgrounds@8.0.4": - version "8.0.4" - resolved "https://registry.yarnpkg.com/@storybook/addon-backgrounds/-/addon-backgrounds-8.0.4.tgz#e4250a10fe4768dcc016a3c55a627f2c8a6e8d5b" - integrity sha512-fef0KD2GhJx2zpicOf8iL7k2LiIsNzEbGaQpIIjoy4DMqM1hIfNCt3DGTLH7LN5O8G+NVCLS1xmQg7RLvIVSCA== +"@storybook/addon-backgrounds@8.0.5": + version "8.0.5" + resolved "https://registry.yarnpkg.com/@storybook/addon-backgrounds/-/addon-backgrounds-8.0.5.tgz#d96c2a7f92d5ec4be720d951f21511e20d2db2be" + integrity sha512-XKSnJm6bGVkG9hv6VSK+djz7ZbxEHwVpsSEUKtOEt/ScLFxU0mlsH8dd5aMy9/MAYuB93Y+bJ2SR5kyOjmi1zQ== dependencies: "@storybook/global" "^5.0.0" memoizerific "^1.11.3" ts-dedent "^2.0.0" -"@storybook/addon-controls@8.0.4": - version "8.0.4" - resolved "https://registry.yarnpkg.com/@storybook/addon-controls/-/addon-controls-8.0.4.tgz#536ad2a1b9a2b19371848e4ec4eaedb4f41b9ec3" - integrity sha512-K5EYBTsUOTJlvIdA7p6Xj31wnV+RbZAkk56UKQvA7nJD7oDuLOq3E9u46F/uZD1vxddd9zFhf2iONfMe3KTTwQ== +"@storybook/addon-controls@8.0.5": + version "8.0.5" + resolved "https://registry.yarnpkg.com/@storybook/addon-controls/-/addon-controls-8.0.5.tgz#5e67ad43959002f26667f5daf5ca8bf8c7008c98" + integrity sha512-iUL89OJQse9DlZkwY8jhyl12L/qziUkwbdSgQJxRIEceW6vrHAmc5VGwneS7N3pBuiOIKQQmMhAQ660JXHM7eQ== dependencies: - "@storybook/blocks" "8.0.4" + "@storybook/blocks" "8.0.5" lodash "^4.17.21" ts-dedent "^2.0.0" -"@storybook/addon-docs@8.0.4": - version "8.0.4" - resolved "https://registry.yarnpkg.com/@storybook/addon-docs/-/addon-docs-8.0.4.tgz#5cee04859c017bdd0f46bc7337a5064cd415c211" - integrity sha512-m0Y7qGAMnNPLEOEgzW/SBm8GX0xabJBaRN+aYijO6UKTln7F6oXXVve+xPC0Y4s6Gc9HZFdJY8WXZr1YSGEUVA== +"@storybook/addon-docs@8.0.5": + version "8.0.5" + resolved "https://registry.yarnpkg.com/@storybook/addon-docs/-/addon-docs-8.0.5.tgz#fd718a50d30c10b8aff3687348c5b46d098043f4" + integrity sha512-FMlJLPjyNpqY68/9SJH7350/ncySKMGBQQAQnPrMtGVBld8eeOo3DB+GSffOSbmitomq+t16HOprvPSekTMlPw== dependencies: "@babel/core" "^7.12.3" "@mdx-js/react" "^3.0.0" - "@storybook/blocks" "8.0.4" - "@storybook/client-logger" "8.0.4" - "@storybook/components" "8.0.4" - "@storybook/csf-plugin" "8.0.4" - "@storybook/csf-tools" "8.0.4" + "@storybook/blocks" "8.0.5" + "@storybook/client-logger" "8.0.5" + "@storybook/components" "8.0.5" + "@storybook/csf-plugin" "8.0.5" + "@storybook/csf-tools" "8.0.5" "@storybook/global" "^5.0.0" - "@storybook/node-logger" "8.0.4" - "@storybook/preview-api" "8.0.4" - "@storybook/react-dom-shim" "8.0.4" - "@storybook/theming" "8.0.4" - "@storybook/types" "8.0.4" + "@storybook/node-logger" "8.0.5" + "@storybook/preview-api" "8.0.5" + "@storybook/react-dom-shim" "8.0.5" + "@storybook/theming" "8.0.5" + "@storybook/types" "8.0.5" "@types/react" "^16.8.0 || ^17.0.0 || ^18.0.0" fs-extra "^11.1.0" react "^16.8.0 || ^17.0.0 || ^18.0.0" @@ -2074,99 +2074,99 @@ rehype-slug "^6.0.0" ts-dedent "^2.0.0" -"@storybook/addon-essentials@8.0.4": - version "8.0.4" - resolved "https://registry.yarnpkg.com/@storybook/addon-essentials/-/addon-essentials-8.0.4.tgz#64b6bf4ccf82c8f212472457f37ecce0acd5cfb1" - integrity sha512-mUIqhAkSz6Qv7nRqAAyCqMLiXBWVsY/8qN7HEIoaMQgdFq38KW3rYwNdzd2JLeXNWP1bBXwfvfcFe7/eqhYJFA== - dependencies: - "@storybook/addon-actions" "8.0.4" - "@storybook/addon-backgrounds" "8.0.4" - "@storybook/addon-controls" "8.0.4" - "@storybook/addon-docs" "8.0.4" - "@storybook/addon-highlight" "8.0.4" - "@storybook/addon-measure" "8.0.4" - "@storybook/addon-outline" "8.0.4" - "@storybook/addon-toolbars" "8.0.4" - "@storybook/addon-viewport" "8.0.4" - "@storybook/core-common" "8.0.4" - "@storybook/manager-api" "8.0.4" - "@storybook/node-logger" "8.0.4" - "@storybook/preview-api" "8.0.4" +"@storybook/addon-essentials@8.0.5": + version "8.0.5" + resolved "https://registry.yarnpkg.com/@storybook/addon-essentials/-/addon-essentials-8.0.5.tgz#53992c730ec8f945850e6dece13ab694795d14de" + integrity sha512-1yjwf9ibKn2rVqv+fqxACoIjsaUsimSEx8QwjIl2krDNhMULXzFeVubTQ09gXSVEnHUR1nKX3X9qOXJQ2bOFlQ== + dependencies: + "@storybook/addon-actions" "8.0.5" + "@storybook/addon-backgrounds" "8.0.5" + "@storybook/addon-controls" "8.0.5" + "@storybook/addon-docs" "8.0.5" + "@storybook/addon-highlight" "8.0.5" + "@storybook/addon-measure" "8.0.5" + "@storybook/addon-outline" "8.0.5" + "@storybook/addon-toolbars" "8.0.5" + "@storybook/addon-viewport" "8.0.5" + "@storybook/core-common" "8.0.5" + "@storybook/manager-api" "8.0.5" + "@storybook/node-logger" "8.0.5" + "@storybook/preview-api" "8.0.5" ts-dedent "^2.0.0" -"@storybook/addon-highlight@8.0.4": - version "8.0.4" - resolved "https://registry.yarnpkg.com/@storybook/addon-highlight/-/addon-highlight-8.0.4.tgz#32f21a1f850394e83277a1cd553a33c86cb603f4" - integrity sha512-tnEiVaJlXL07v8JBox+QtRPVruoy0YovOTAOWY7fKDiKzF1I9wLaJjQF3wOsvwspHTHu00OZw2gsazgXiH4wLQ== +"@storybook/addon-highlight@8.0.5": + version "8.0.5" + resolved "https://registry.yarnpkg.com/@storybook/addon-highlight/-/addon-highlight-8.0.5.tgz#896ad48d7402e8bc95e45e1e678045dde1cbd92b" + integrity sha512-z4Aad6Dcf9gQIEPkR8WVIdRj/5RARI6SeIX3JRJoZ4l6fu7AvTZKDWPRpwLXSpEQqdeOb7l7FrZHISmXdrPoiQ== dependencies: "@storybook/global" "^5.0.0" -"@storybook/addon-interactions@8.0.4": - version "8.0.4" - resolved "https://registry.yarnpkg.com/@storybook/addon-interactions/-/addon-interactions-8.0.4.tgz#b689790cf1afd1d610df9ee98538bb88f837e4aa" - integrity sha512-wTEOnVUbF1lNJxxocr5IKmpgnmwyO8YsQf6Baw3tTWCHAa/MaWWQYq1OA6CfFfmVGGRjv/w2GTuf1Vyq99O7mg== +"@storybook/addon-interactions@8.0.5": + version "8.0.5" + resolved "https://registry.yarnpkg.com/@storybook/addon-interactions/-/addon-interactions-8.0.5.tgz#08dd2dcd8fdf1a3239539bff75e743fd23d921b8" + integrity sha512-o0wcWAeQR8pN5T1l87i+CH/xSp70/0uyQAmJ9xPxg/60dHbDgjTvn/pwg+hhKu+olrFVpt85yQPzQ4pNhAFlUw== dependencies: "@storybook/global" "^5.0.0" - "@storybook/instrumenter" "8.0.4" - "@storybook/test" "8.0.4" - "@storybook/types" "8.0.4" + "@storybook/instrumenter" "8.0.5" + "@storybook/test" "8.0.5" + "@storybook/types" "8.0.5" polished "^4.2.2" ts-dedent "^2.2.0" -"@storybook/addon-links@8.0.4": - version "8.0.4" - resolved "https://registry.yarnpkg.com/@storybook/addon-links/-/addon-links-8.0.4.tgz#34c4a3818a52023b09c98fcfe4c00e9ac08a0d10" - integrity sha512-SzE+JPZ4mxjprZqbLHf8Hx7UA2fXfMajFjeY9c3JREKQrDoOF1e4r28nAoVsZYF+frWxQB51U4+hOqjlx06wEA== +"@storybook/addon-links@8.0.5": + version "8.0.5" + resolved "https://registry.yarnpkg.com/@storybook/addon-links/-/addon-links-8.0.5.tgz#bd3238d0c5ce48e9097703c55438273340afa0ce" + integrity sha512-B5EAs0+LxgYH59GSVVAfgW8rAzGUmzdAAR3XJKbTXp3/d9e27uXwpLVYhi/VQHKLIsshDQRbc0s109APHs/SjQ== dependencies: "@storybook/csf" "^0.1.2" "@storybook/global" "^5.0.0" ts-dedent "^2.0.0" -"@storybook/addon-measure@8.0.4": - version "8.0.4" - resolved "https://registry.yarnpkg.com/@storybook/addon-measure/-/addon-measure-8.0.4.tgz#b4d492da2f1f3744c3a792475bd44e1305239412" - integrity sha512-GZYKo2ss5Br+dfHinoK3bgTaS90z3oKKDkhv6lrFfjjU1mDYzzMJpxajQhd3apCYxHLr3MbUqMQibWu2T/q2DQ== +"@storybook/addon-measure@8.0.5": + version "8.0.5" + resolved "https://registry.yarnpkg.com/@storybook/addon-measure/-/addon-measure-8.0.5.tgz#abd357e3a03ba1d7b9ea9685dd7e1f4cee7d0876" + integrity sha512-B5c33aREHbTA+An7Q5Q1yEXUB0ETE5yPnGgsXuxVl6LyYqyqjai1qE48vcmkA7S+vt5MR6Sf9Lmy3UL+kkyYzQ== dependencies: "@storybook/global" "^5.0.0" tiny-invariant "^1.3.1" -"@storybook/addon-outline@8.0.4": - version "8.0.4" - resolved "https://registry.yarnpkg.com/@storybook/addon-outline/-/addon-outline-8.0.4.tgz#a368a493dafe3f0cea79af160103efa9e9b1e21b" - integrity sha512-6J9ezNDUxdA3rMCh8sUEQbUwAgkrr+M9QdiFr1t+gKrk5FKP5gwubw1sr3sF1IRB9+s/AjljcOtJAVulSfq05w== +"@storybook/addon-outline@8.0.5": + version "8.0.5" + resolved "https://registry.yarnpkg.com/@storybook/addon-outline/-/addon-outline-8.0.5.tgz#af5dcf0214a29f8fb48afd913ce3092ed7754671" + integrity sha512-ouQ4IOBw7AAyukkaQwNe2MRTpDbCv+j4z76BRE7qvu9PckifsWsm00pTQwvbNdjiogS8c3EPMV5aBGIPoK/zAQ== dependencies: "@storybook/global" "^5.0.0" ts-dedent "^2.0.0" -"@storybook/addon-toolbars@8.0.4": - version "8.0.4" - resolved "https://registry.yarnpkg.com/@storybook/addon-toolbars/-/addon-toolbars-8.0.4.tgz#a1de4472089bf685dfca9863bc648e2faf360063" - integrity sha512-yodRXDYog/90cNEy84kg6s7L+nxQ+egBjHBTsav1L4cJmQI/uAX8yISHHiX4I5ppNc120Jz3UdHdRxXRlo345g== +"@storybook/addon-toolbars@8.0.5": + version "8.0.5" + resolved "https://registry.yarnpkg.com/@storybook/addon-toolbars/-/addon-toolbars-8.0.5.tgz#93625e39f31327199eb9bed78261c5ab4ac52895" + integrity sha512-1QrvHtsQI1RNzDrkTMUFaEzZRRKHYrkj/rYpf6B2QyFvaZ6XY4urxSrmssLENuPsoDF4ABU2j6j4BAUgWjIe4A== -"@storybook/addon-viewport@8.0.4": - version "8.0.4" - resolved "https://registry.yarnpkg.com/@storybook/addon-viewport/-/addon-viewport-8.0.4.tgz#628322ea0a94252015814edd4c548e26f2c79f4a" - integrity sha512-E5IKOsxKcOtlOYc0cWgzVJohQB+dVBWwaJcg5FlslToknfVB9M0kfQ/SQcp3KB0C9/cOmJK1Jm388InW+EjrBQ== +"@storybook/addon-viewport@8.0.5": + version "8.0.5" + resolved "https://registry.yarnpkg.com/@storybook/addon-viewport/-/addon-viewport-8.0.5.tgz#bfa508a181927222a73e317b2fcad16d31caae53" + integrity sha512-Y2sTsNeQctfLBPQYuOjMGSQY4lUycZRZblToU0q6siJ030QjgpuEMcu1yDt654T6jnp/s4VwRS6yaZHnqZ97Mw== dependencies: memoizerific "^1.11.3" -"@storybook/blocks@8.0.4": - version "8.0.4" - resolved "https://registry.yarnpkg.com/@storybook/blocks/-/blocks-8.0.4.tgz#844d5882f04f3fc06c62ee057e303e72ffe53499" - integrity sha512-9dRXk9zLJVPOmEWsSXm10XUmIfvS/tVgeBgFXNbusFQZXPpexIPNdRgB004pDGg9RvlY78ykpnd3yP143zaXMg== +"@storybook/blocks@8.0.5": + version "8.0.5" + resolved "https://registry.yarnpkg.com/@storybook/blocks/-/blocks-8.0.5.tgz#74e68f9c0508740888f92d78104959e24716e220" + integrity sha512-zfcwJ0yE5HM28BxZeNU4SYF8zxq2PEqLP1aWCdRuZT9k8lgnBwAKzlvt50LtPzOfGtKuGnvIEriELx/i+Qh4Sw== dependencies: - "@storybook/channels" "8.0.4" - "@storybook/client-logger" "8.0.4" - "@storybook/components" "8.0.4" - "@storybook/core-events" "8.0.4" + "@storybook/channels" "8.0.5" + "@storybook/client-logger" "8.0.5" + "@storybook/components" "8.0.5" + "@storybook/core-events" "8.0.5" "@storybook/csf" "^0.1.2" - "@storybook/docs-tools" "8.0.4" + "@storybook/docs-tools" "8.0.5" "@storybook/global" "^5.0.0" "@storybook/icons" "^1.2.5" - "@storybook/manager-api" "8.0.4" - "@storybook/preview-api" "8.0.4" - "@storybook/theming" "8.0.4" - "@storybook/types" "8.0.4" + "@storybook/manager-api" "8.0.5" + "@storybook/preview-api" "8.0.5" + "@storybook/theming" "8.0.5" + "@storybook/types" "8.0.5" "@types/lodash" "^4.14.167" color-convert "^2.0.1" dequal "^2.0.2" @@ -2180,15 +2180,15 @@ ts-dedent "^2.0.0" util-deprecate "^1.0.2" -"@storybook/builder-manager@8.0.4": - version "8.0.4" - resolved "https://registry.yarnpkg.com/@storybook/builder-manager/-/builder-manager-8.0.4.tgz#5c9baa6138beae7cd75c85e4b836cb1e3115d3c4" - integrity sha512-BafYVxq77uuTmXdjYo5by42OyOrb6qcpWYKva3ntWK2ZhTaLJlwwqAOdahT1DVzi4VeUP6465YvsTCzIE8fuIw== +"@storybook/builder-manager@8.0.5": + version "8.0.5" + resolved "https://registry.yarnpkg.com/@storybook/builder-manager/-/builder-manager-8.0.5.tgz#90eac812ad706e9a642dbc5aef54a7940388e8d7" + integrity sha512-63gIHfgdhpL3rcHkOcGm29PbIkgx2bLRxi2RYa0osGMtfBIePFXJh7nol+4KpaRkNR8RZg+N9omVGjyhLj7IWg== dependencies: "@fal-works/esbuild-plugin-global-externals" "^2.1.2" - "@storybook/core-common" "8.0.4" - "@storybook/manager" "8.0.4" - "@storybook/node-logger" "8.0.4" + "@storybook/core-common" "8.0.5" + "@storybook/manager" "8.0.5" + "@storybook/node-logger" "8.0.5" "@types/ejs" "^3.1.1" "@yarnpkg/esbuild-plugin-pnp" "^3.0.0-rc.10" browser-assert "^1.2.1" @@ -2200,20 +2200,20 @@ process "^0.11.10" util "^0.12.4" -"@storybook/builder-vite@8.0.4": - version "8.0.4" - resolved "https://registry.yarnpkg.com/@storybook/builder-vite/-/builder-vite-8.0.4.tgz#e8a2bb48be9d077f1c1fe647f541ab5e628ff156" - integrity sha512-Whb001bGkoGQ6/byp9QTQJ4NO61Qa5bh1p5WEEMJ5wYvHm83b+B/IwwilUfU5mL9bJB/RjbwyKcSQqGP6AxMzA== - dependencies: - "@storybook/channels" "8.0.4" - "@storybook/client-logger" "8.0.4" - "@storybook/core-common" "8.0.4" - "@storybook/core-events" "8.0.4" - "@storybook/csf-plugin" "8.0.4" - "@storybook/node-logger" "8.0.4" - "@storybook/preview" "8.0.4" - "@storybook/preview-api" "8.0.4" - "@storybook/types" "8.0.4" +"@storybook/builder-vite@8.0.5": + version "8.0.5" + resolved "https://registry.yarnpkg.com/@storybook/builder-vite/-/builder-vite-8.0.5.tgz#13360cf97391419a1608b81df5216d9ea72018f4" + integrity sha512-tKNxobC9tlYyUAayxoiOOnoMbg4RxoAwPOpPLnQYUfHLw1ecp/g8sGD6tisyFONyOIv7uF9gbzWLUfMjn9F2sw== + dependencies: + "@storybook/channels" "8.0.5" + "@storybook/client-logger" "8.0.5" + "@storybook/core-common" "8.0.5" + "@storybook/core-events" "8.0.5" + "@storybook/csf-plugin" "8.0.5" + "@storybook/node-logger" "8.0.5" + "@storybook/preview" "8.0.5" + "@storybook/preview-api" "8.0.5" + "@storybook/types" "8.0.5" "@types/find-cache-dir" "^3.2.1" browser-assert "^1.2.1" es-module-lexer "^0.9.3" @@ -2223,33 +2223,33 @@ magic-string "^0.30.0" ts-dedent "^2.0.0" -"@storybook/channels@8.0.4": - version "8.0.4" - resolved "https://registry.yarnpkg.com/@storybook/channels/-/channels-8.0.4.tgz#f237bc4d3a00ed05a2f62b310b1db08d6f685dcc" - integrity sha512-haKV+8RbiSzLjicowUfc7h2fTClZHX/nz9SRUecf4IEZUEu2T78OgM/TzqZvL7rA3+/fKqp5iI+3PN3OA75Sdg== +"@storybook/channels@8.0.5": + version "8.0.5" + resolved "https://registry.yarnpkg.com/@storybook/channels/-/channels-8.0.5.tgz#85744e03c18366b45a5e108c25cd9975d9828bf2" + integrity sha512-UWzjt4STzBgg28Q6FxqyJWwXLWYM6oSz9gGKMUJbn2vRAlEJaG3XwvpT39YFVDUIuiFSHguV5cisXY5Be4nOZw== dependencies: - "@storybook/client-logger" "8.0.4" - "@storybook/core-events" "8.0.4" + "@storybook/client-logger" "8.0.5" + "@storybook/core-events" "8.0.5" "@storybook/global" "^5.0.0" telejson "^7.2.0" tiny-invariant "^1.3.1" -"@storybook/cli@8.0.4": - version "8.0.4" - resolved "https://registry.yarnpkg.com/@storybook/cli/-/cli-8.0.4.tgz#37037ed476c895f728cda528a7b76df01b9a35a0" - integrity sha512-8jb8hrulRMfyFyNXFEapxHBS51xb42ZZGfVAacXIsHOJtjOd5CnOoSUYn0aOkVl19VF/snoa9JOW7BaW/50Eqw== +"@storybook/cli@8.0.5": + version "8.0.5" + resolved "https://registry.yarnpkg.com/@storybook/cli/-/cli-8.0.5.tgz#a42ac6f27c8b06e6a49c9f24d3b36b7ac32cb61c" + integrity sha512-6t0d2ILXonC7bsq6Dx6tFTls2a/JeOR7lr3UgoVaiFu5l1M5pOB6uI9JG14F+UmsCifXGJdvxR38CBwVSKtg/Q== dependencies: "@babel/core" "^7.23.0" "@babel/types" "^7.23.0" "@ndelangen/get-tarball" "^3.0.7" - "@storybook/codemod" "8.0.4" - "@storybook/core-common" "8.0.4" - "@storybook/core-events" "8.0.4" - "@storybook/core-server" "8.0.4" - "@storybook/csf-tools" "8.0.4" - "@storybook/node-logger" "8.0.4" - "@storybook/telemetry" "8.0.4" - "@storybook/types" "8.0.4" + "@storybook/codemod" "8.0.5" + "@storybook/core-common" "8.0.5" + "@storybook/core-events" "8.0.5" + "@storybook/core-server" "8.0.5" + "@storybook/csf-tools" "8.0.5" + "@storybook/node-logger" "8.0.5" + "@storybook/telemetry" "8.0.5" + "@storybook/types" "8.0.5" "@types/semver" "^7.3.4" "@yarnpkg/fslib" "2.10.3" "@yarnpkg/libzip" "2.3.0" @@ -2276,25 +2276,25 @@ tiny-invariant "^1.3.1" ts-dedent "^2.0.0" -"@storybook/client-logger@8.0.4": - version "8.0.4" - resolved "https://registry.yarnpkg.com/@storybook/client-logger/-/client-logger-8.0.4.tgz#d603399ad65ef1d38bf013033fcb18728d0d4317" - integrity sha512-2SeEg3PT/d0l/+EAVtyj9hmMLTyTPp+bRBSzxYouBjtJPM1jrdKpFagj1o3uBRovwWm9SIVX6/ZsoRC33PEV1g== +"@storybook/client-logger@8.0.5": + version "8.0.5" + resolved "https://registry.yarnpkg.com/@storybook/client-logger/-/client-logger-8.0.5.tgz#8cafa514e9a9af054f926bc179264bef2198c0ce" + integrity sha512-6D7zvPPnLuTVlBNpZSdzEbk5xfWKhEG0gejtPnhjG9R5YzC/dFckdUI0gtvwGWUVMWhL3H/0gjRjhKujUMRY1Q== dependencies: "@storybook/global" "^5.0.0" -"@storybook/codemod@8.0.4": - version "8.0.4" - resolved "https://registry.yarnpkg.com/@storybook/codemod/-/codemod-8.0.4.tgz#815c7c729b973f958282df37040581a7ba416324" - integrity sha512-bysG46P4wjlR3RCpr/ntNAUaupWpzLcWYWti3iNtIyZ/iPrX6KtXoA9QCIwJZrlv41us6F+KEZbzLzkgWbymtQ== +"@storybook/codemod@8.0.5": + version "8.0.5" + resolved "https://registry.yarnpkg.com/@storybook/codemod/-/codemod-8.0.5.tgz#ab181282633df8e0b3dfaf8d2caafbae513ccd45" + integrity sha512-1ub3RRT+/ziJUdS2rz5UkQWu6teGULxHDMDRFhTrGYHVOgkc/lLnFuF0rgrLxsFdTmKIBTKN2xFfSE7z9Palsg== dependencies: "@babel/core" "^7.23.2" "@babel/preset-env" "^7.23.2" "@babel/types" "^7.23.0" "@storybook/csf" "^0.1.2" - "@storybook/csf-tools" "8.0.4" - "@storybook/node-logger" "8.0.4" - "@storybook/types" "8.0.4" + "@storybook/csf-tools" "8.0.5" + "@storybook/node-logger" "8.0.5" + "@storybook/types" "8.0.5" "@types/cross-spawn" "^6.0.2" cross-spawn "^7.0.3" globby "^11.0.2" @@ -2304,30 +2304,30 @@ recast "^0.23.5" tiny-invariant "^1.3.1" -"@storybook/components@8.0.4": - version "8.0.4" - resolved "https://registry.yarnpkg.com/@storybook/components/-/components-8.0.4.tgz#45f6548bfe42004bbb1533b45d9a3e65043b5fd7" - integrity sha512-i5ngl5GTOLB9nZ1cmpxTjtWct5IuH9UxzFC73a0jHMkCwN26w16IqufRVDaoQv0AvZN4pd4fNM2in/XVHA10dw== +"@storybook/components@8.0.5": + version "8.0.5" + resolved "https://registry.yarnpkg.com/@storybook/components/-/components-8.0.5.tgz#e526b4600b4b8049108a1b63e71fee8d75ff8d3d" + integrity sha512-trBWV9gc4YhFhMKUevkBY9Mdk9WmYmthpBfmF0Y2vgrJQidUqkkQqfAMQThSJ0KLpV8k3fB27s5d93rgrr50Rg== dependencies: "@radix-ui/react-slot" "^1.0.2" - "@storybook/client-logger" "8.0.4" + "@storybook/client-logger" "8.0.5" "@storybook/csf" "^0.1.2" "@storybook/global" "^5.0.0" "@storybook/icons" "^1.2.5" - "@storybook/theming" "8.0.4" - "@storybook/types" "8.0.4" + "@storybook/theming" "8.0.5" + "@storybook/types" "8.0.5" memoizerific "^1.11.3" util-deprecate "^1.0.2" -"@storybook/core-common@8.0.4": - version "8.0.4" - resolved "https://registry.yarnpkg.com/@storybook/core-common/-/core-common-8.0.4.tgz#ba851052f1cd61ba2784e07ad64499e3c36bb9a1" - integrity sha512-dzFRLm5FxUa2EFE6Rx/KLDTJNLBIp1S2/+Q1K+rG8V+CLvewCc2Cd486rStZqSXEKI7vDnsRs/aMla+N0X/++Q== +"@storybook/core-common@8.0.5": + version "8.0.5" + resolved "https://registry.yarnpkg.com/@storybook/core-common/-/core-common-8.0.5.tgz#694349c26cba7755db9a08f4b01b893ad4d2f6a5" + integrity sha512-WCu2ZPMq1FuO33tYuCPb9joWaZGtJgfKvXXVGLYYg6LufpbWOI+IB7OWmHahtEdKuaNoIr3CEf1p3zm12NNiYA== dependencies: - "@storybook/core-events" "8.0.4" - "@storybook/csf-tools" "8.0.4" - "@storybook/node-logger" "8.0.4" - "@storybook/types" "8.0.4" + "@storybook/core-events" "8.0.5" + "@storybook/csf-tools" "8.0.5" + "@storybook/node-logger" "8.0.5" + "@storybook/types" "8.0.5" "@yarnpkg/fslib" "2.10.3" "@yarnpkg/libzip" "2.3.0" chalk "^4.1.0" @@ -2353,35 +2353,35 @@ ts-dedent "^2.0.0" util "^0.12.4" -"@storybook/core-events@8.0.4": - version "8.0.4" - resolved "https://registry.yarnpkg.com/@storybook/core-events/-/core-events-8.0.4.tgz#14e87ffcbf826139226306de9079a84e0286860b" - integrity sha512-1FgLacIGi9i6/fyxw7ZJDC621RK47IMaA3keH4lc11ASRzCSwJ4YOrXjBFjfPc79EF2BuX72DDJNbhj6ynfF3g== +"@storybook/core-events@8.0.5": + version "8.0.5" + resolved "https://registry.yarnpkg.com/@storybook/core-events/-/core-events-8.0.5.tgz#fa73281edd7d839439360259a0be48b04cd9a06a" + integrity sha512-26c0m7P7qt9zUKcD1noWLPJmZ+iS6MKXNngUgNBSxTtG20NFV3nxD0/tx9FzNfDVZDF6cHINkWj+FVBAaVuBVQ== dependencies: ts-dedent "^2.0.0" -"@storybook/core-server@8.0.4": - version "8.0.4" - resolved "https://registry.yarnpkg.com/@storybook/core-server/-/core-server-8.0.4.tgz#c0f94848109137b303cdf2dbc4a9d451ce5732c8" - integrity sha512-/633Pp7LPcDWXkPLSW+W9VUYUbVkdVBG6peXjuzogV0vzdM0dM9af/T0uV2NQxUhzoy6/7QdSDljE+eEOBs2Lw== +"@storybook/core-server@8.0.5": + version "8.0.5" + resolved "https://registry.yarnpkg.com/@storybook/core-server/-/core-server-8.0.5.tgz#166f703ed838625a92dde340d238675e6fe44dfc" + integrity sha512-aQGHRQZF4jbMqBT0sGptql+S3hiNksi4n6pPJPxGf6TE8TyRA1x7USjmvXHwv59vpmMm9HaRpGWzWCo4SqwNqw== dependencies: "@aw-web-design/x-default-browser" "1.4.126" "@babel/core" "^7.23.9" "@discoveryjs/json-ext" "^0.5.3" - "@storybook/builder-manager" "8.0.4" - "@storybook/channels" "8.0.4" - "@storybook/core-common" "8.0.4" - "@storybook/core-events" "8.0.4" + "@storybook/builder-manager" "8.0.5" + "@storybook/channels" "8.0.5" + "@storybook/core-common" "8.0.5" + "@storybook/core-events" "8.0.5" "@storybook/csf" "^0.1.2" - "@storybook/csf-tools" "8.0.4" + "@storybook/csf-tools" "8.0.5" "@storybook/docs-mdx" "3.0.0" "@storybook/global" "^5.0.0" - "@storybook/manager" "8.0.4" - "@storybook/manager-api" "8.0.4" - "@storybook/node-logger" "8.0.4" - "@storybook/preview-api" "8.0.4" - "@storybook/telemetry" "8.0.4" - "@storybook/types" "8.0.4" + "@storybook/manager" "8.0.5" + "@storybook/manager-api" "8.0.5" + "@storybook/node-logger" "8.0.5" + "@storybook/preview-api" "8.0.5" + "@storybook/telemetry" "8.0.5" + "@storybook/types" "8.0.5" "@types/detect-port" "^1.3.0" "@types/node" "^18.0.0" "@types/pretty-hrtime" "^1.0.0" @@ -2409,25 +2409,25 @@ watchpack "^2.2.0" ws "^8.2.3" -"@storybook/csf-plugin@8.0.4": - version "8.0.4" - resolved "https://registry.yarnpkg.com/@storybook/csf-plugin/-/csf-plugin-8.0.4.tgz#b5b1a02a51c91e386f3dc8fecdbc02975abe82d0" - integrity sha512-pEgctWuS/qeKMFZJJUM2JuKwjKBt27ye+216ft7xhNqpsrmCgumJYrkU/ii2CsFJU/qr5Fu9EYw+N+vof1OalQ== +"@storybook/csf-plugin@8.0.5": + version "8.0.5" + resolved "https://registry.yarnpkg.com/@storybook/csf-plugin/-/csf-plugin-8.0.5.tgz#c7e21eb7baf8e29f4d92b2d4fee11364be013cb6" + integrity sha512-R6VjQl+I9k4oc3OfOHOFzz5T20WROHOZ5/zkkFKM/1YUa6QNpMcuStOtr/qcAx+QizmQqmxgJwTFapFBP5yWjg== dependencies: - "@storybook/csf-tools" "8.0.4" + "@storybook/csf-tools" "8.0.5" unplugin "^1.3.1" -"@storybook/csf-tools@8.0.4": - version "8.0.4" - resolved "https://registry.yarnpkg.com/@storybook/csf-tools/-/csf-tools-8.0.4.tgz#8322a3310d411a16a19efb36127aec5afdd3b298" - integrity sha512-dMSZxWnXBhmXGOZZOAJ4DKZRCYdA0HaqqZ4/eF9MLLsI+qvW4EklcpjVY6bsIzACgubRWtRZkTpxTnjExi/N1A== +"@storybook/csf-tools@8.0.5": + version "8.0.5" + resolved "https://registry.yarnpkg.com/@storybook/csf-tools/-/csf-tools-8.0.5.tgz#395163f3240f45ce0298246d9393f68afd59b2b3" + integrity sha512-fW2hAO57ayq7eHjpS5jXy/AKm3oZxApngd9QU/bC800EyTWENwLPxFnHLAE86N57Dc3bcE4PTFCyqpxzE4Uc7g== dependencies: "@babel/generator" "^7.23.0" "@babel/parser" "^7.23.0" "@babel/traverse" "^7.23.2" "@babel/types" "^7.23.0" "@storybook/csf" "^0.1.2" - "@storybook/types" "8.0.4" + "@storybook/types" "8.0.5" fs-extra "^11.1.0" recast "^0.23.5" ts-dedent "^2.0.0" @@ -2451,14 +2451,14 @@ resolved "https://registry.yarnpkg.com/@storybook/docs-mdx/-/docs-mdx-3.0.0.tgz#5c9b5ce35dcb00ad8aa5dddbabf52ad09fab3974" integrity sha512-NmiGXl2HU33zpwTv1XORe9XG9H+dRUC1Jl11u92L4xr062pZtrShLmD4VKIsOQujxhhOrbxpwhNOt+6TdhyIdQ== -"@storybook/docs-tools@8.0.4": - version "8.0.4" - resolved "https://registry.yarnpkg.com/@storybook/docs-tools/-/docs-tools-8.0.4.tgz#24ebbca47d4075041376c356a5c4d0902f832991" - integrity sha512-PONfG8j/AOHi79NbEkneFRZIscrShbA0sgA+62zeejH4r9+fuIkIKtLnKcAxvr8Bm6uo9aSQbISJZUcBG42WhQ== +"@storybook/docs-tools@8.0.5": + version "8.0.5" + resolved "https://registry.yarnpkg.com/@storybook/docs-tools/-/docs-tools-8.0.5.tgz#ae03d181e24f8c4c5fca594b42d204ef5f4f8de4" + integrity sha512-IzQMlsumiBgHAh5TTZTinNcedU98l0S0hczbTgjXQWgTp3//RHO36LYowAeFrB6V9SACYs/Q47iB15K4b2dqUg== dependencies: - "@storybook/core-common" "8.0.4" - "@storybook/preview-api" "8.0.4" - "@storybook/types" "8.0.4" + "@storybook/core-common" "8.0.5" + "@storybook/preview-api" "8.0.5" + "@storybook/types" "8.0.5" "@types/doctrine" "^0.0.3" assert "^2.1.0" doctrine "^3.0.0" @@ -2474,33 +2474,33 @@ resolved "https://registry.yarnpkg.com/@storybook/icons/-/icons-1.2.9.tgz#bb4a51a79e186b62e2dd0e04928b8617ac573838" integrity sha512-cOmylsz25SYXaJL/gvTk/dl3pyk7yBFRfeXTsHvTA3dfhoU/LWSq0NKL9nM7WBasJyn6XPSGnLS4RtKXLw5EUg== -"@storybook/instrumenter@8.0.4": - version "8.0.4" - resolved "https://registry.yarnpkg.com/@storybook/instrumenter/-/instrumenter-8.0.4.tgz#ab91a068e9ab5af2a5bafd3377e58513193ca2e7" - integrity sha512-lkHv1na12oMTZvuDbzufgqrtFlV1XqdXrAAg7YXZOia/oMz6Z/XMldEqwLPUCLGVodbFJofrpE67Wtw8dNTDQg== +"@storybook/instrumenter@8.0.5": + version "8.0.5" + resolved "https://registry.yarnpkg.com/@storybook/instrumenter/-/instrumenter-8.0.5.tgz#58b8e20cbc2acb09179dd52bdf7c9519c8062fcd" + integrity sha512-ccGFGSquIPZBcf3dP+I5kwSblAOlQNH7+4vunYJtUrlXN+VROS9LAf87W/btwxQVI1Zj17BUH9CoBrDxWbJ2VA== dependencies: - "@storybook/channels" "8.0.4" - "@storybook/client-logger" "8.0.4" - "@storybook/core-events" "8.0.4" + "@storybook/channels" "8.0.5" + "@storybook/client-logger" "8.0.5" + "@storybook/core-events" "8.0.5" "@storybook/global" "^5.0.0" - "@storybook/preview-api" "8.0.4" + "@storybook/preview-api" "8.0.5" "@vitest/utils" "^1.3.1" util "^0.12.4" -"@storybook/manager-api@8.0.4": - version "8.0.4" - resolved "https://registry.yarnpkg.com/@storybook/manager-api/-/manager-api-8.0.4.tgz#46bea1b3b65e3085adad77eb2de29a0d5706ed95" - integrity sha512-TudiRmWlsi8kdjwqW0DDLen76Zp4Sci/AnvTbZvZOWe8C2mruxcr6aaGwuIug6y+uxIyXDvURF6Cek5Twz4isg== +"@storybook/manager-api@8.0.5": + version "8.0.5" + resolved "https://registry.yarnpkg.com/@storybook/manager-api/-/manager-api-8.0.5.tgz#7fdc49803f1507bea97392bfd05760071a19d838" + integrity sha512-2Q+DI9XU1U4EBrihnyfo+kuRK7T3Ce2eSlWEHHkTZ3OYSf+EhFxLUA6AOfMoA1B0nzNEr6SUkW8DBvMrtdTQMA== dependencies: - "@storybook/channels" "8.0.4" - "@storybook/client-logger" "8.0.4" - "@storybook/core-events" "8.0.4" + "@storybook/channels" "8.0.5" + "@storybook/client-logger" "8.0.5" + "@storybook/core-events" "8.0.5" "@storybook/csf" "^0.1.2" "@storybook/global" "^5.0.0" "@storybook/icons" "^1.2.5" - "@storybook/router" "8.0.4" - "@storybook/theming" "8.0.4" - "@storybook/types" "8.0.4" + "@storybook/router" "8.0.5" + "@storybook/theming" "8.0.5" + "@storybook/types" "8.0.5" dequal "^2.0.2" lodash "^4.17.21" memoizerific "^1.11.3" @@ -2508,27 +2508,27 @@ telejson "^7.2.0" ts-dedent "^2.0.0" -"@storybook/manager@8.0.4": - version "8.0.4" - resolved "https://registry.yarnpkg.com/@storybook/manager/-/manager-8.0.4.tgz#94c4b27ada34f6d3004b86b6e028a9caf71e7c02" - integrity sha512-M5IofDSxbIQIdAglxUtZOGKjZ1EAq1Mdbh4UolVsF1PKF6dAvBQJLVW6TiLjEbmPBtqgeYKMgrmmYiFNqVcdBQ== +"@storybook/manager@8.0.5": + version "8.0.5" + resolved "https://registry.yarnpkg.com/@storybook/manager/-/manager-8.0.5.tgz#af451f314a0decb206fc35adaafa505cf13859aa" + integrity sha512-eJtf2SaAzOmRV03zn/pFRTqBua8/qy+VDtgaaCFmAyrjsUHO/bcHpbu9vnwP8a+C8ojJnthooi3yz755UTDYYg== -"@storybook/node-logger@8.0.4": - version "8.0.4" - resolved "https://registry.yarnpkg.com/@storybook/node-logger/-/node-logger-8.0.4.tgz#0701a71dfc0bcfa178e7175a00aadd78b965629c" - integrity sha512-cALLHuX53vLQsoJamGRlquh2pfhPq9copXou2JTmFT6mrCcipo77SzhBDfeeuhaGv6vUWPfmGjPBEHXWGPe4+g== +"@storybook/node-logger@8.0.5": + version "8.0.5" + resolved "https://registry.yarnpkg.com/@storybook/node-logger/-/node-logger-8.0.5.tgz#ed2fff319f36fe47f429752499b4c5acf3fb8c9d" + integrity sha512-ssT8YCcCqgc89ee+EeExCxcOpueOsU05iek2roR+NCZnoCL1DmzcUp8H9t0utLaK/ngPV8zatlzSDVgKTHSIJw== -"@storybook/preview-api@8.0.4": - version "8.0.4" - resolved "https://registry.yarnpkg.com/@storybook/preview-api/-/preview-api-8.0.4.tgz#523e6cb7333b2953cd0b68d43c292e391d5b1337" - integrity sha512-uZCgZ/7BZkFTNudCBWx3YPFVdReMQSZJj9EfQVhQaPmfGORHGMvZMRsQXl0ONhPy7zDD4rVQxu5dSKWmIiYoWQ== +"@storybook/preview-api@8.0.5": + version "8.0.5" + resolved "https://registry.yarnpkg.com/@storybook/preview-api/-/preview-api-8.0.5.tgz#789ee9791f04da44a22c1df58067da5914a402e3" + integrity sha512-BSDVTR9/X6DHVA4rIhN6d/SB6PiaRdns8ky/TKTzwFEyO3NOASHe8051O+uNtXzgCtMUj/8imNrTdMTYgUm1LA== dependencies: - "@storybook/channels" "8.0.4" - "@storybook/client-logger" "8.0.4" - "@storybook/core-events" "8.0.4" + "@storybook/channels" "8.0.5" + "@storybook/client-logger" "8.0.5" + "@storybook/core-events" "8.0.5" "@storybook/csf" "^0.1.2" "@storybook/global" "^5.0.0" - "@storybook/types" "8.0.4" + "@storybook/types" "8.0.5" "@types/qs" "^6.9.5" dequal "^2.0.2" lodash "^4.17.21" @@ -2538,48 +2538,48 @@ ts-dedent "^2.0.0" util-deprecate "^1.0.2" -"@storybook/preview@8.0.4": - version "8.0.4" - resolved "https://registry.yarnpkg.com/@storybook/preview/-/preview-8.0.4.tgz#d1ffc175390bd400c5e41b1d0576c9d58c11a81d" - integrity sha512-dJa13bIxQBfa5ZsXAeL6X/oXI6b87Fy31pvpKPkW1o+7M6MC4OvwGQBqgAd7m8yn6NuIHxrdwjEupa7l7PGb6w== +"@storybook/preview@8.0.5": + version "8.0.5" + resolved "https://registry.yarnpkg.com/@storybook/preview/-/preview-8.0.5.tgz#b7ab29774a9e7636086d63243c5f3cdc75e40438" + integrity sha512-D2uY0LTjkGbpNwJJeqtv1NieBTtvt0IEEKH+srMNXOOM+KascTYGbBlEPkYSf5bZdMft5c1GXglVIhJIqTZntg== -"@storybook/react-dom-shim@8.0.4": - version "8.0.4" - resolved "https://registry.yarnpkg.com/@storybook/react-dom-shim/-/react-dom-shim-8.0.4.tgz#c935e52f7f7df899232872de7c364c8e25b52713" - integrity sha512-H8bci23e+G40WsdYPuPrhAjCeeXypXuAV6mTVvLHGKH+Yb+3wiB1weaXrot/TgzPbkDNybuhTI3Qm48FPLt0bw== +"@storybook/react-dom-shim@8.0.5": + version "8.0.5" + resolved "https://registry.yarnpkg.com/@storybook/react-dom-shim/-/react-dom-shim-8.0.5.tgz#2929cd09ef03d2c6ed47601072c8acc8406579ed" + integrity sha512-KIcLkCml5dIiVeChMyudz8Q/pZ/T86Y1LrHZvYD/t3iXH+HOOvg6KNsY6TZFM93Rqhk10AIEUNCgYzj2/QjddA== -"@storybook/router@8.0.4": - version "8.0.4" - resolved "https://registry.yarnpkg.com/@storybook/router/-/router-8.0.4.tgz#37eb06023e74703703f3c93f4b4d1bbfe38e50c0" - integrity sha512-hlR80QvmLBflAqMeGcgtDuSe6TJlzdizwEAkBLE1lDvFI6tvvEyAliCAXBpIDdOZTe0u/zeeJkOUXKSx33caoQ== +"@storybook/router@8.0.5": + version "8.0.5" + resolved "https://registry.yarnpkg.com/@storybook/router/-/router-8.0.5.tgz#b2c3e7fc763003a6d74d0b7061e8cb0a78e5bf66" + integrity sha512-1d4CqNJB5sA25HCd7jZ4eVqMsdlD4r4SuFA/eR6fas0lk7yjVCpG1zWfvSSk5tKoVcNLSptc/TYBiSr2rcGRvw== dependencies: - "@storybook/client-logger" "8.0.4" + "@storybook/client-logger" "8.0.5" memoizerific "^1.11.3" qs "^6.10.0" -"@storybook/telemetry@8.0.4": - version "8.0.4" - resolved "https://registry.yarnpkg.com/@storybook/telemetry/-/telemetry-8.0.4.tgz#39a39b372db7173e04d61092e27603c377f9c66a" - integrity sha512-Q3ITY6J46R/TrrPRIU1fs3WNs69ExpTJZ9UlB8087qOUyV90Ex33SYk3i10xVWRczxCmyC1V58Xuht6nxz7mNQ== +"@storybook/telemetry@8.0.5": + version "8.0.5" + resolved "https://registry.yarnpkg.com/@storybook/telemetry/-/telemetry-8.0.5.tgz#28c1a854e3a4b0129f5eb318083de3f96ec3151a" + integrity sha512-KTt6wP78dn9hfsc0sR2CcFT/DWJgYqYuFBhc3NDgtT41ATLGgGniCQW9PtKLQc+FMofKejz1S+XXk0W322Pjxg== dependencies: - "@storybook/client-logger" "8.0.4" - "@storybook/core-common" "8.0.4" - "@storybook/csf-tools" "8.0.4" + "@storybook/client-logger" "8.0.5" + "@storybook/core-common" "8.0.5" + "@storybook/csf-tools" "8.0.5" chalk "^4.1.0" detect-package-manager "^2.0.1" fetch-retry "^5.0.2" fs-extra "^11.1.0" read-pkg-up "^7.0.1" -"@storybook/test@8.0.4": - version "8.0.4" - resolved "https://registry.yarnpkg.com/@storybook/test/-/test-8.0.4.tgz#62806e71e11f881f80847f67f3db2214907b6eb4" - integrity sha512-/uvE8Rtu7tIcuyQBUzKq7uuDCsjmADI18BApLdwo/qthmN8ERDxRSz0Ngj2gvBMQFv99At8ESi/xh6oFGu3rWg== +"@storybook/test@8.0.5": + version "8.0.5" + resolved "https://registry.yarnpkg.com/@storybook/test/-/test-8.0.5.tgz#56ec693c4e623b91ba45fef73747952efdd7b4f1" + integrity sha512-XpiRLsmZlkjoAGf3d7zcInByR25evYIzm3W4ST8+EPoI4Tcd/U+dGUQ9A6aNUuC6fJQ8Jh0M+EqNAZtcDT8lrA== dependencies: - "@storybook/client-logger" "8.0.4" - "@storybook/core-events" "8.0.4" - "@storybook/instrumenter" "8.0.4" - "@storybook/preview-api" "8.0.4" + "@storybook/client-logger" "8.0.5" + "@storybook/core-events" "8.0.5" + "@storybook/instrumenter" "8.0.5" + "@storybook/preview-api" "8.0.5" "@testing-library/dom" "^9.3.4" "@testing-library/jest-dom" "^6.4.2" "@testing-library/user-event" "^14.5.2" @@ -2588,47 +2588,47 @@ chai "^4.4.1" util "^0.12.4" -"@storybook/theming@8.0.4": - version "8.0.4" - resolved "https://registry.yarnpkg.com/@storybook/theming/-/theming-8.0.4.tgz#e72aa3b5d27d3db5ed769782ac91d6fdcb1c830e" - integrity sha512-NxtTU2wMC0lj375ejoT3Npdcqwv6NeUpLaJl6EZCMXSR41ve9WG4suUNWQ63olhqKxirjzAz0IL7ggH7c3hPvA== +"@storybook/theming@8.0.5": + version "8.0.5" + resolved "https://registry.yarnpkg.com/@storybook/theming/-/theming-8.0.5.tgz#e98aa8b761b93c2cff21213770a1bafb971f2c07" + integrity sha512-Hy4hJaKg6UUyivkUM77nCHccv4/lO++ZG9F88qBFVPdBlCwMHHnUrR7Hgje5cCVAy0jK6LyYlD3cWO6nS9OR8w== dependencies: "@emotion/use-insertion-effect-with-fallbacks" "^1.0.1" - "@storybook/client-logger" "8.0.4" + "@storybook/client-logger" "8.0.5" "@storybook/global" "^5.0.0" memoizerific "^1.11.3" -"@storybook/types@8.0.4": - version "8.0.4" - resolved "https://registry.yarnpkg.com/@storybook/types/-/types-8.0.4.tgz#650d87808ecab4ba7325fecef5a6f63ac6226f27" - integrity sha512-OO7QY+qZFCYkItDUBACtIV32p75O7sNziAiyS1V2Oxgo7Ln7fwZwr3mJcA1ruBed6ZcrW3c87k7Xs40T2zAWcg== +"@storybook/types@8.0.5": + version "8.0.5" + resolved "https://registry.yarnpkg.com/@storybook/types/-/types-8.0.5.tgz#268566058ee2871b13ba42df21abf861e823abf2" + integrity sha512-lYXwYF9qooQhYJkg3HWr6PD/vnQK+iO8fSKS8jtntwgJUKJvTbGZKAhNnS8WzNEI9jIp5QXFsSA367NjIDPaeQ== dependencies: - "@storybook/channels" "8.0.4" + "@storybook/channels" "8.0.5" "@types/express" "^4.7.0" file-system-cache "2.3.0" -"@storybook/web-components-vite@8.0.4": - version "8.0.4" - resolved "https://registry.yarnpkg.com/@storybook/web-components-vite/-/web-components-vite-8.0.4.tgz#87c55a4c8ca1f9949312358f9710b774c03f0bb5" - integrity sha512-ysUgEskK2Ltn60zjZxCB1dEmdAu4s3AVGPT9kKdyE/SjCJbFbZ9kaKaevAU7cO1cbkcNdbzs6pDBxjRHr3gGrQ== +"@storybook/web-components-vite@8.0.5": + version "8.0.5" + resolved "https://registry.yarnpkg.com/@storybook/web-components-vite/-/web-components-vite-8.0.5.tgz#9d270baebf7210855f96b5351cc72ba127417629" + integrity sha512-kkz0lh9R9KUiwKVfctz4sM/O20fiw2+bsTv7kOTGRJls71ooWXUYqLjjF283kyu2uVfZwy2XtW9P8pqq8lUy7g== dependencies: - "@storybook/builder-vite" "8.0.4" - "@storybook/core-server" "8.0.4" - "@storybook/node-logger" "8.0.4" - "@storybook/web-components" "8.0.4" + "@storybook/builder-vite" "8.0.5" + "@storybook/core-server" "8.0.5" + "@storybook/node-logger" "8.0.5" + "@storybook/web-components" "8.0.5" magic-string "^0.30.0" -"@storybook/web-components@8.0.4": - version "8.0.4" - resolved "https://registry.yarnpkg.com/@storybook/web-components/-/web-components-8.0.4.tgz#e36230ed9a4746acfc9c98b9f710f6fa05874960" - integrity sha512-Xn6Lc6y6380cnkRkF8x5Vv6IGIPBz7GcB5bYa/r1WnElPbyQYDYPZwI5j+332m2gYunefM7Ya2YDZiINeCOkOg== +"@storybook/web-components@8.0.5": + version "8.0.5" + resolved "https://registry.yarnpkg.com/@storybook/web-components/-/web-components-8.0.5.tgz#38bcc825742832258f336ef9fa125b2117d34e07" + integrity sha512-D9Ee8S7XYqpJNs6zfR7YvHcYoxffLAUd4Ad+qjiaqG+3be2RurQ6o53MuURuOAvC5cvXgiXj7zT1ZkJ+LYhGEQ== dependencies: - "@storybook/client-logger" "8.0.4" - "@storybook/docs-tools" "8.0.4" + "@storybook/client-logger" "8.0.5" + "@storybook/docs-tools" "8.0.5" "@storybook/global" "^5.0.0" - "@storybook/manager-api" "8.0.4" - "@storybook/preview-api" "8.0.4" - "@storybook/types" "8.0.4" + "@storybook/manager-api" "8.0.5" + "@storybook/preview-api" "8.0.5" + "@storybook/types" "8.0.5" tiny-invariant "^1.3.1" ts-dedent "^2.0.0" @@ -10947,12 +10947,12 @@ store2@^2.14.2: resolved "https://registry.yarnpkg.com/store2/-/store2-2.14.3.tgz#24077d7ba110711864e4f691d2af941ec533deb5" integrity sha512-4QcZ+yx7nzEFiV4BMLnr/pRa5HYzNITX2ri0Zh6sT9EyQHbBHacC6YigllUPU9X3D0f/22QCgfokpKs52YRrUg== -storybook@8.0.4: - version "8.0.4" - resolved "https://registry.yarnpkg.com/storybook/-/storybook-8.0.4.tgz#f2191d4082d8a1bfa065f358e63e8205533d9efc" - integrity sha512-FUr3Uc2dSAQ80jINH5fSXz7zD7Ncn08OthROjwRtHAH+jMf4wxyZ+RhF3heFy9xLot2/HXOLIWyHyzZZMtGhxg== +storybook@8.0.5: + version "8.0.5" + resolved "https://registry.yarnpkg.com/storybook/-/storybook-8.0.5.tgz#6a65b2b1a632a88216ad2e13252839b7f61fb88d" + integrity sha512-rdxfjkED5CBKj6T01NKr9MRakyXkffV8dvLXj5bWN4AlQ1OOm5Sw9B1z+rQ/FN7RYIU5b63xiX2pu3gy5t6nRQ== dependencies: - "@storybook/cli" "8.0.4" + "@storybook/cli" "8.0.5" stream-read-all@^3.0.1: version "3.0.1" From 9e85be5d1c63c309e583402162f67e59e78bb897 Mon Sep 17 00:00:00 2001 From: Davide Mininni <101575400+DavideMininni-Fincons@users.noreply.github.com> Date: Thu, 28 Mar 2024 09:11:58 +0100 Subject: [PATCH 004/110] fix: stories with label bold for sbb-checkbox and sbb-radio-button (#2528) --- .../checkbox/checkbox/checkbox.stories.ts | 80 +++++++++---------- src/components/checkbox/checkbox/readme.md | 8 ++ .../radio-button/radio-button.stories.ts | 34 ++++++-- .../radio-button/radio-button/readme.md | 8 ++ 4 files changed, 85 insertions(+), 45 deletions(-) diff --git a/src/components/checkbox/checkbox/checkbox.stories.ts b/src/components/checkbox/checkbox/checkbox.stories.ts index 7f2e7f8245..b8c2904c9f 100644 --- a/src/components/checkbox/checkbox/checkbox.stories.ts +++ b/src/components/checkbox/checkbox/checkbox.stories.ts @@ -82,6 +82,12 @@ const ariaLabel: InputType = { }, }; +const labelBoldClass: InputType = { + control: { + type: 'boolean', + }, +}; + const defaultArgTypes: ArgTypes = { size, checked, @@ -93,6 +99,7 @@ const defaultArgTypes: ArgTypes = { 'icon-name': icon, 'icon-placement': iconPlacement, 'aria-label': ariaLabel, + labelBoldClass, }; const defaultArgs: Args = { @@ -106,14 +113,17 @@ const defaultArgs: Args = { 'icon-name': undefined, 'icon-placement': undefined, 'aria-label': undefined, + labelBoldClass: false, }; // We use property and attribute for `checked` to provide consistency to storybook controls. // Otherwise, after first user manipulation, the storybook control gets ignored. // If only using property, the reset mechanism does not work as expected. -const Template = ({ label, checked, ...args }: Args): TemplateResult => html` - ${label} +const Template = ({ label, checked, labelBoldClass, ...args }: Args): TemplateResult => html` + + ${labelBoldClass ? html`${label}` : label} + `; const TemplateWithForm = (args: Args): TemplateResult => html` @@ -147,49 +157,32 @@ const TemplateWithForm = (args: Args): TemplateResult => html` export const defaultUnchecked: StoryObj = { render: Template, argTypes: defaultArgTypes, - args: { - ...defaultArgs, - }, + args: { ...defaultArgs }, }; export const defaultChecked: StoryObj = { render: Template, argTypes: defaultArgTypes, - args: { - ...defaultArgs, - checked: true, - }, + args: { ...defaultArgs, checked: true }, }; export const defaultIndeterminate: StoryObj = { render: Template, argTypes: defaultArgTypes, - args: { - ...defaultArgs, - indeterminate: true, - }, + args: { ...defaultArgs, indeterminate: true }, }; export const sizeM: StoryObj = { render: Template, argTypes: defaultArgTypes, - args: { - ...defaultArgs, - size: size.options[0], - }, + args: { ...defaultArgs, size: size.options[0] }, }; export const longLabel: StoryObj = { render: Template, argTypes: defaultArgTypes, - args: { - ...defaultArgs, - label: longLabelText, - }, + args: { ...defaultArgs, label: longLabelText }, }; export const withIconEnd: StoryObj = { render: Template, argTypes: defaultArgTypes, - args: { - ...defaultArgs, - 'icon-name': 'tickets-class-small', - }, + args: { ...defaultArgs, 'icon-name': 'tickets-class-small' }, }; export const checkedWithIconStart: StoryObj = { render: Template, @@ -204,34 +197,41 @@ export const checkedWithIconStart: StoryObj = { export const disabledChecked: StoryObj = { render: Template, argTypes: defaultArgTypes, - args: { - ...defaultArgs, - disabled: true, - checked: true, - }, + args: { ...defaultArgs, disabled: true, checked: true }, }; export const disabledUnchecked: StoryObj = { render: Template, argTypes: defaultArgTypes, - args: { - ...defaultArgs, - disabled: true, - }, + args: { ...defaultArgs, disabled: true }, }; export const disabledIndeterminate: StoryObj = { render: Template, argTypes: defaultArgTypes, - args: { - ...defaultArgs, - disabled: true, - indeterminate: true, - }, + args: { ...defaultArgs, disabled: true, indeterminate: true }, }; export const withForm: StoryObj = { render: TemplateWithForm, argTypes: defaultArgTypes, - args: defaultArgs, + args: { ...defaultArgs }, +}; + +export const defaultUncheckedBold: StoryObj = { + render: Template, + argTypes: defaultArgTypes, + args: { ...defaultArgs, labelBoldClass: true }, +}; + +export const defaultCheckedBold: StoryObj = { + render: Template, + argTypes: defaultArgTypes, + args: { ...defaultArgs, checked: true, labelBoldClass: true }, +}; + +export const defaultIndeterminateBold: StoryObj = { + render: Template, + argTypes: defaultArgTypes, + args: { ...defaultArgs, indeterminate: true, labelBoldClass: true }, }; const meta: Meta = { diff --git a/src/components/checkbox/checkbox/readme.md b/src/components/checkbox/checkbox/readme.md index eca790b1bf..9c45d680b9 100644 --- a/src/components/checkbox/checkbox/readme.md +++ b/src/components/checkbox/checkbox/readme.md @@ -49,6 +49,14 @@ The component has two `size`, named `s` (default) and `m`. Size ``` +The component's label can be displayed in bold using the `sbb-text--bold` class on a wrapper tag: + +```html + + Bold label + +``` + ## Events Consumers can listen to the native `change` event on the `sbb-checkbox` component to intercept the input's change; diff --git a/src/components/radio-button/radio-button/radio-button.stories.ts b/src/components/radio-button/radio-button/radio-button.stories.ts index abe380ee73..cc6c61e62c 100644 --- a/src/components/radio-button/radio-button/radio-button.stories.ts +++ b/src/components/radio-button/radio-button/radio-button.stories.ts @@ -8,6 +8,9 @@ import { sbbSpread } from '../../core/dom'; import readme from './readme.md?raw'; import './radio-button'; +const longLabel: string = + "Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s."; + const value: InputType = { control: { type: 'text', @@ -39,12 +42,19 @@ const ariaLabel: InputType = { }, }; +const labelBoldClass: InputType = { + control: { + type: 'boolean', + }, +}; + const defaultArgTypes: ArgTypes = { value, checked, disabled, size, 'aria-label': ariaLabel, + labelBoldClass, }; const defaultArgs: Args = { @@ -53,15 +63,17 @@ const defaultArgs: Args = { disabled: false, size: size.options[0], 'aria-label': undefined, + labelBoldClass: false, }; -const DefaultTemplate = (args: Args): TemplateResult => - html`Value`; +const DefaultTemplate = ({ labelBoldClass, ...args }: Args): TemplateResult => + html` + ${labelBoldClass ? html`Value` : 'Value'} + `; -const MultilineLabelTemplate = (args: Args): TemplateResult => html` +const MultilineLabelTemplate = ({ labelBoldClass, ...args }: Args): TemplateResult => html` - Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been - the industry's standard dummy text ever since the 1500s. + ${labelBoldClass ? html`${longLabel}` : longLabel} `; @@ -101,6 +113,18 @@ export const MultilineLabel: StoryObj = { args: { ...defaultArgs, checked: true }, }; +export const DefaultBold: StoryObj = { + render: DefaultTemplate, + argTypes: defaultArgTypes, + args: { ...defaultArgs, labelBoldClass: true }, +}; + +export const CheckedBold: StoryObj = { + render: DefaultTemplate, + argTypes: defaultArgTypes, + args: { ...defaultArgs, checked: true, labelBoldClass: true }, +}; + const meta: Meta = { decorators: [(story) => html`
${story()}
`], parameters: { diff --git a/src/components/radio-button/radio-button/readme.md b/src/components/radio-button/radio-button/readme.md index 8a28fac903..aecc3b77f5 100644 --- a/src/components/radio-button/radio-button/readme.md +++ b/src/components/radio-button/radio-button/readme.md @@ -38,6 +38,14 @@ The component has two different sizes, which can be changed using the `size` pro Size ``` +The component's label can be displayed in bold using the `sbb-text--bold` class on a wrapper tag: + +```html + + Bold label + +``` + ## Properties From 950b227fbe8985bce628d10ef17431df51edef21 Mon Sep 17 00:00:00 2001 From: Davide Mininni <101575400+DavideMininni-Fincons@users.noreply.github.com> Date: Thu, 28 Mar 2024 09:12:50 +0100 Subject: [PATCH 005/110] docs(sbb-checkbox-group): set props instead of attributes in story (#2529) --- .../checkbox-group/checkbox-group.stories.ts | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) diff --git a/src/components/checkbox/checkbox-group/checkbox-group.stories.ts b/src/components/checkbox/checkbox-group/checkbox-group.stories.ts index 16664707f4..a3d9011d00 100644 --- a/src/components/checkbox/checkbox-group/checkbox-group.stories.ts +++ b/src/components/checkbox/checkbox-group/checkbox-group.stories.ts @@ -86,12 +86,9 @@ const childCheck = (event: Event): void => { } else { selectedCheckboxes.splice(selectedCheckboxes.indexOf(target.value as string), 1); } - document - .getElementById('invariant-parent') - ?.setAttribute('indeterminate', String(selectedCheckboxes.length === 1)); - document - .getElementById('invariant-parent') - ?.setAttribute('checked', String(selectedCheckboxes.length === 2)); + const parent = document.getElementById('invariant-parent') as SbbCheckboxElement; + parent.indeterminate = selectedCheckboxes.length === 1; + parent.checked = selectedCheckboxes.length === 2; }; const parentCheck = (event: Event): void => { @@ -101,8 +98,8 @@ const parentCheck = (event: Event): void => { } else { selectedCheckboxes = []; } - document.getElementById('invariant-checkbox-1')?.setAttribute('checked', String(target.checked)); - document.getElementById('invariant-checkbox-2')?.setAttribute('checked', String(target.checked)); + (document.getElementById('invariant-checkbox-1') as SbbCheckboxElement).checked = target.checked; + (document.getElementById('invariant-checkbox-2') as SbbCheckboxElement).checked = target.checked; }; const IndeterminateGroupTemplate = ({ From 7dfdf5a22f146b7179c4e4b36952e0c3b6f5c6e9 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Thu, 28 Mar 2024 08:13:47 +0000 Subject: [PATCH 006/110] chore(deps): update dependency vite-plugin-dts to v3.8.1 --- package.json | 2 +- yarn.lock | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/package.json b/package.json index 9e87a01d52..ab8ee03b66 100644 --- a/package.json +++ b/package.json @@ -120,7 +120,7 @@ "tsx": "4.7.1", "typescript": "5.4.3", "vite": "5.2.6", - "vite-plugin-dts": "3.8.0" + "vite-plugin-dts": "3.8.1" }, "resolutions": { "@types/node": "20.11.30", diff --git a/yarn.lock b/yarn.lock index ff25d25f93..020a024b26 100644 --- a/yarn.lock +++ b/yarn.lock @@ -11997,10 +11997,10 @@ vfile@^4.0.0: unist-util-stringify-position "^2.0.0" vfile-message "^2.0.0" -vite-plugin-dts@3.8.0: - version "3.8.0" - resolved "https://registry.yarnpkg.com/vite-plugin-dts/-/vite-plugin-dts-3.8.0.tgz#e879134e3d674e5d5dd659002694078df17b2b3f" - integrity sha512-wt9ST1MwS5lkxHtA3M30+lSA3TO8RnaUu3YUPmGgY1iKm+vWZmB7KBss6qspyUlto9ynLNHYG2eJ09d2Q4/7Qg== +vite-plugin-dts@3.8.1: + version "3.8.1" + resolved "https://registry.yarnpkg.com/vite-plugin-dts/-/vite-plugin-dts-3.8.1.tgz#a6bbdc9762acce21d0fee8812d1c73085b49dee5" + integrity sha512-zEYyQxH7lKto1VTKZHF3ZZeOPkkJgnMrePY4VxDHfDSvDjmYMMfWjZxYmNwW8QxbaItWJQhhXY+geAbyNphI7g== dependencies: "@microsoft/api-extractor" "7.43.0" "@rollup/pluginutils" "^5.1.0" From a23d3a3840b0170513484814905aad9c7c24f687 Mon Sep 17 00:00:00 2001 From: Lukas Spirig Date: Thu, 28 Mar 2024 14:50:44 +0100 Subject: [PATCH 007/110] build: extract web test runner config into separate files (#2530) --- config/web-test-runner/index.js | 4 + .../{ => web-test-runner}/lit-ssr-worker.js | 28 +-- config/web-test-runner/minimal-reporter.js | 67 ++++++ .../patched-summary-reporter.js | 43 ++++ config/web-test-runner/ssr-plugin.js | 28 +++ config/web-test-runner/vite-plugin.js | 63 ++++++ web-test-runner.config.js | 203 +----------------- 7 files changed, 218 insertions(+), 218 deletions(-) create mode 100644 config/web-test-runner/index.js rename config/{ => web-test-runner}/lit-ssr-worker.js (80%) create mode 100644 config/web-test-runner/minimal-reporter.js create mode 100644 config/web-test-runner/patched-summary-reporter.js create mode 100644 config/web-test-runner/ssr-plugin.js create mode 100644 config/web-test-runner/vite-plugin.js diff --git a/config/web-test-runner/index.js b/config/web-test-runner/index.js new file mode 100644 index 0000000000..c61fb7ec0d --- /dev/null +++ b/config/web-test-runner/index.js @@ -0,0 +1,4 @@ +export * from './minimal-reporter.js'; +export * from './patched-summary-reporter.js'; +export * from './ssr-plugin.js'; +export * from './vite-plugin.js'; diff --git a/config/lit-ssr-worker.js b/config/web-test-runner/lit-ssr-worker.js similarity index 80% rename from config/lit-ssr-worker.js rename to config/web-test-runner/lit-ssr-worker.js index e85af27aec..afe2fdd853 100644 --- a/config/lit-ssr-worker.js +++ b/config/web-test-runner/lit-ssr-worker.js @@ -13,7 +13,7 @@ if (parentPort === null) { const { template, modules } = workerData; if (modules?.length) { - const buildCacheOutDir = new URL(`../dist/testout/${moduleHash(modules)}/`, import.meta.url); + const buildCacheOutDir = new URL(`../../dist/testout/${moduleHash(modules)}/`, import.meta.url); const moduleIndex = new URL('index.js', buildCacheOutDir).pathname; if (!existsSync(moduleIndex)) { await buildModules(buildCacheOutDir); @@ -45,7 +45,7 @@ parentPort.postMessage(rendered); async function buildModules(buildCacheOutDir) { mkdirSync(buildCacheOutDir, { recursive: true }); - const pkg = JSON.parse(readFileSync(new URL('../package.json', import.meta.url), 'utf8')); + const pkg = JSON.parse(readFileSync(new URL('../../package.json', import.meta.url), 'utf8')); const entry = new URL('index.ts', buildCacheOutDir).pathname; const importStatement = modules .map((m) => `export * from '${relative(buildCacheOutDir.pathname, m)}';`) @@ -65,32 +65,12 @@ async function buildModules(buildCacheOutDir) { sassPlugin({ type: 'lit-css', loadPaths: [ - new URL('../', import.meta.url).pathname, - new URL('../node_modules/', import.meta.url).pathname, + new URL('../../', import.meta.url).pathname, + new URL('../../node_modules/', import.meta.url).pathname, ], }), ], }); - - /* - // Vite build config. It is slower by about a factor of 3. - await build({ - root: new URL('..', import.meta.url).pathname, - mode: 'development', - logLevel: 'warn', - build: { - lib: { - entry, - formats: ['es'], - }, - ssr: true, - outDir: buildCacheOutDir.pathname, - emptyOutDir: false, - rollupOptions: { external: Object.keys({ ...pkg.dependencies, ...pkg.devDependencies }) }, - sourcemap: 'inline', - }, - }); - */ } /** Generate a hash from the contents of the given modules and their import chain. */ diff --git a/config/web-test-runner/minimal-reporter.js b/config/web-test-runner/minimal-reporter.js new file mode 100644 index 0000000000..f2670a98ac --- /dev/null +++ b/config/web-test-runner/minimal-reporter.js @@ -0,0 +1,67 @@ +import { dotReporter } from '@web/test-runner'; + +/** @type {import('@web/test-runner-core').Reporter} */ +export function minimalReporter() { + const base = dotReporter(); + const log = (result) => + process.stdout.write(result.passed ? '.' : result.skipped ? '~' : '\x1b[31mx\x1b[0m'); + function logResults(results) { + results?.tests?.forEach(log); + results?.suites?.forEach(logResults); + } + const collectorBase = { suites: 0, tests: 0, passed: 0, failed: 0, skipped: 0 }; + /** @param {import('@web/test-runner-core').TestSession[]} sessions */ + function aggregateSessions(sessions) { + const browserResults = new Map(); + for (const session of sessions) { + if (!browserResults.has(session.browser.name)) { + browserResults.set(session.browser.name, { ...collectorBase }); + } + aggregateSuites(session.testResults, browserResults.get(session.browser.name)); + } + return Array.from(browserResults).sort((a, b) => a[0].localeCompare(b[0])); + } + /** @param {import('@web/test-runner-core').TestSuiteResult} results */ + function aggregateSuites(results, collector = { ...collectorBase }) { + collector.suites += 1; + results?.tests?.forEach((result) => { + collector.tests += 1; + if (result.passed) { + collector.passed += 1; + } else if (result.skipped) { + collector.skipped += 1; + } else { + collector.failed += 1; + } + }); + results?.suites?.forEach((s) => aggregateSuites(s, collector)); + return collector; + } + const p = (v) => v.toString().padStart(6, ' '); + + return { + ...base, + reportTestFileResults({ sessionsForTestFile: sessions }) { + for (const session of sessions) { + logResults(session.testResults); + } + }, + /** @param {import('@web/test-runner-core').TestRunFinishedArgs} args */ + onTestRunFinished(args) { + const browserResults = aggregateSessions(args.sessions); + console.log(''); + console.group('Test Summary:'); + for (const [browser, collector] of browserResults) { + console.group(browser); + console.log(`Suites: ${p(collector.suites)}`); + console.log(`Tests: ${p(collector.tests)}`); + console.log(`Passed: ${p(collector.passed)}`); + console.log(`Failed: ${p(collector.failed)}`); + console.log(`Skipped: ${p(collector.skipped)}`); + console.groupEnd(); + } + console.groupEnd(); + base.onTestRunFinished(args); + }, + }; +} diff --git a/config/web-test-runner/patched-summary-reporter.js b/config/web-test-runner/patched-summary-reporter.js new file mode 100644 index 0000000000..f6464c83c2 --- /dev/null +++ b/config/web-test-runner/patched-summary-reporter.js @@ -0,0 +1,43 @@ +import { summaryReporter } from '@web/test-runner'; + +// See https://github.com/modernweb-dev/web/issues/2325 +/** @type {import('@web/test-runner-core').Reporter} */ +export function patchedSummaryReporter() { + // https://github.com/modernweb-dev/web/blob/master/packages/test-runner/src/logger/TestRunnerLogger.ts + class TestRunnerLogger { + loggedSyntaxErrors = new Map(); + debugLogging = false; + + log = (...messages) => console.log(...messages); + debug = (...messages) => this.debugLogging && console.debug(...messages); + error = (...messages) => console.error(...messages); + warn = (...messages) => console.warn(...messages); + group = () => console.group(); + groupEnd = () => console.groupEnd(); + logSyntaxError(error) { + const { message, code, filePath, column, line } = error; + let errors = this.loggedSyntaxErrors.get(filePath); + if (!errors) { + errors = []; + this.loggedSyntaxErrors.set(filePath, errors); + } else if ( + errors.find( + (e) => e.code === code && e.message === message && e.column === column && e.line === line, + ) + ) { + // dedupe syntax errors we already logged + return; + } + errors.push(error); + } + clearLoggedSyntaxErrors = () => (this.loggedSyntaxErrors = new Map()); + } + const base = summaryReporter(); + const logger = new TestRunnerLogger(); + return { + ...base, + reportTestFileResults(args) { + base.reportTestFileResults({ ...args, logger }); + }, + }; +} diff --git a/config/web-test-runner/ssr-plugin.js b/config/web-test-runner/ssr-plugin.js new file mode 100644 index 0000000000..8e545f1f49 --- /dev/null +++ b/config/web-test-runner/ssr-plugin.js @@ -0,0 +1,28 @@ +import { Worker } from 'worker_threads'; + +// Reference: https://github.com/lit/lit/blob/main/packages/labs/testing/src/lib/lit-ssr-plugin.ts +// This is necessary until https://github.com/privatenumber/tsx/issues/354 is fixed +export function ssrPlugin() { + const litSsrPluginCommand = 'lit-ssr-render'; + + return { + name: 'ssr-plugin', + async executeCommand({ command, payload }) { + if (command !== litSsrPluginCommand) { + return undefined; + } else if (!payload) { + throw new Error(`Missing payload for ${litSsrPluginCommand} command`); + } + + const { template, modules } = payload; + const resolvedModules = modules.map((m) => new URL(`.${m}`, import.meta.url).pathname); + return new Promise((resolve, reject) => + new Worker(new URL('./lit-ssr-worker.js', import.meta.url), { + workerData: { template, modules: resolvedModules }, + }) + .on('error', reject) + .on('message', resolve), + ); + }, + }; +} diff --git a/config/web-test-runner/vite-plugin.js b/config/web-test-runner/vite-plugin.js new file mode 100644 index 0000000000..f600eaaf33 --- /dev/null +++ b/config/web-test-runner/vite-plugin.js @@ -0,0 +1,63 @@ +import { existsSync } from 'fs'; +import { createServer } from 'vite'; + +// Reference: https://github.com/remcovaes/web-test-runner-vite-plugin +export function vitePlugin() { + let viteServer; + + return { + name: 'vite-plugin', + + async serverStart({ app, fileWatcher }) { + const externals = [ + // @web/test-runner-commands needs to establish a web-socket + // connection. It expects a file to be served from the + // @web/dev-server. So it should be ignored by Vite. + '/__web-dev-server__web-socket.js', + ]; + + viteServer = await createServer({ + clearScreen: false, + plugins: [ + { + name: 'file-name', + transform(_src, id) { + const file = id.split('?')[0]; + if (!file.startsWith('\0') && existsSync(file)) { + fileWatcher.add(id); + } + }, + }, + { + name: 'mark-external', + resolveId: (id) => (externals.includes(id) ? { id, external: true } : undefined), + }, + ], + // Disable hmr in favor of the @web/test-runner to take care of restarts. + server: { hmr: false }, + // This configuration is necessary, as vite will otherwise detect dependencies + // that can be optimized. This will cause vite to reload, which leads to + // 'Could not import your test module.' errors, that happen randomly. + // Excluding the dependencies, prevents this from happening at the cost of slightly + // increased test times. + optimizeDeps: { + noDiscovery: true, + }, + }); + await viteServer.listen(); + + const vitePort = viteServer.config.server.port; + const viteProtocol = viteServer.config.server.https ? 'https' : 'http'; + + app.use(async (ctx) => { + const response = await fetch(`${viteProtocol}://localhost:${vitePort}${ctx.originalUrl}`); + ctx.set(Object.fromEntries(response.headers)); + ctx.body = await response.text(); + ctx.status = response.status; + }); + }, + async serverStop() { + return await viteServer.close(); + }, + }; +} diff --git a/web-test-runner.config.js b/web-test-runner.config.js index b1eee9fd7b..d99a0d728a 100644 --- a/web-test-runner.config.js +++ b/web-test-runner.config.js @@ -1,13 +1,17 @@ -import { Worker } from 'worker_threads'; -import { defaultReporter, dotReporter, summaryReporter } from '@web/test-runner'; +import { defaultReporter } from '@web/test-runner'; import { playwrightLauncher } from '@web/test-runner-playwright'; import { puppeteerLauncher } from '@web/test-runner-puppeteer'; import { a11ySnapshotPlugin } from '@web/test-runner-commands/plugins'; -import { existsSync } from 'fs'; import * as sass from 'sass'; -import { createServer } from 'vite'; import { cpus } from 'node:os'; +import { + minimalReporter, + patchedSummaryReporter, + ssrPlugin, + vitePlugin, +} from './config/web-test-runner/index.js'; + const isCIEnvironment = !!process.env.CI || process.argv.includes('--ci'); const isDebugMode = process.argv.includes('--debug'); const firefox = process.argv.includes('--firefox'); @@ -81,7 +85,7 @@ export default { ? [defaultReporter(), patchedSummaryReporter()] : [minimalReporter()], browsers: browsers, - plugins: [vitePlugin(), a11ySnapshotPlugin()], + plugins: [a11ySnapshotPlugin(), ssrPlugin(), vitePlugin()], testFramework: { config: { timeout: '10000', @@ -97,192 +101,3 @@ export default { 'Lit is in dev mode. Not recommended for production! See https://lit.dev/msg/dev-mode for more information.', testRunnerHtml, }; - -/** @type {import('@web/test-runner-core').Reporter} */ -function minimalReporter() { - const base = dotReporter(); - const log = (result) => - process.stdout.write(result.passed ? '.' : result.skipped ? '~' : '\x1b[31mx\x1b[0m'); - function logResults(results) { - results?.tests?.forEach(log); - results?.suites?.forEach(logResults); - } - const collectorBase = { suites: 0, tests: 0, passed: 0, failed: 0, skipped: 0 }; - /** @param {import('@web/test-runner-core').TestSession[]} sessions */ - function aggregateSessions(sessions) { - const browserResults = new Map(); - for (const session of sessions) { - if (!browserResults.has(session.browser.name)) { - browserResults.set(session.browser.name, { ...collectorBase }); - } - aggregateSuites(session.testResults, browserResults.get(session.browser.name)); - } - return Array.from(browserResults).sort((a, b) => a[0].localeCompare(b[0])); - } - /** @param {import('@web/test-runner-core').TestSuiteResult} results */ - function aggregateSuites(results, collector = { ...collectorBase }) { - collector.suites += 1; - results?.tests?.forEach((result) => { - collector.tests += 1; - if (result.passed) { - collector.passed += 1; - } else if (result.skipped) { - collector.skipped += 1; - } else { - collector.failed += 1; - } - }); - results?.suites?.forEach((s) => aggregateSuites(s, collector)); - return collector; - } - const p = (v) => v.toString().padStart(6, ' '); - - return { - ...base, - reportTestFileResults({ sessionsForTestFile: sessions }) { - for (const session of sessions) { - logResults(session.testResults); - } - }, - /** @param {import('@web/test-runner-core').TestRunFinishedArgs} args */ - onTestRunFinished(args) { - const browserResults = aggregateSessions(args.sessions); - console.log(''); - console.group('Test Summary:'); - for (const [browser, collector] of browserResults) { - console.group(browser); - console.log(`Suites: ${p(collector.suites)}`); - console.log(`Tests: ${p(collector.tests)}`); - console.log(`Passed: ${p(collector.passed)}`); - console.log(`Failed: ${p(collector.failed)}`); - console.log(`Skipped: ${p(collector.skipped)}`); - console.groupEnd(); - } - console.groupEnd(); - base.onTestRunFinished(args); - }, - }; -} - -// See https://github.com/modernweb-dev/web/issues/2325 -/** @type {import('@web/test-runner-core').Reporter} */ -function patchedSummaryReporter() { - // https://github.com/modernweb-dev/web/blob/master/packages/test-runner/src/logger/TestRunnerLogger.ts - class TestRunnerLogger { - loggedSyntaxErrors = new Map(); - debugLogging = false; - - log = (...messages) => console.log(...messages); - debug = (...messages) => this.debugLogging && console.debug(...messages); - error = (...messages) => console.error(...messages); - warn = (...messages) => console.warn(...messages); - group = () => console.group(); - groupEnd = () => console.groupEnd(); - logSyntaxError(error) { - const { message, code, filePath, column, line } = error; - let errors = this.loggedSyntaxErrors.get(filePath); - if (!errors) { - errors = []; - this.loggedSyntaxErrors.set(filePath, errors); - } else if ( - errors.find( - (e) => e.code === code && e.message === message && e.column === column && e.line === line, - ) - ) { - // dedupe syntax errors we already logged - return; - } - errors.push(error); - } - clearLoggedSyntaxErrors = () => (this.loggedSyntaxErrors = new Map()); - } - const base = summaryReporter(); - const logger = new TestRunnerLogger(); - return { - ...base, - reportTestFileResults(args) { - base.reportTestFileResults({ ...args, logger }); - }, - }; -} - -// Reference: https://github.com/remcovaes/web-test-runner-vite-plugin -function vitePlugin() { - let viteServer; - const litSsrPluginCommand = 'lit-ssr-render'; - - return { - name: 'vite-plugin', - - async serverStart({ app, fileWatcher }) { - const externals = [ - // @web/test-runner-commands needs to establish a web-socket - // connection. It expects a file to be served from the - // @web/dev-server. So it should be ignored by Vite. - '/__web-dev-server__web-socket.js', - ]; - - viteServer = await createServer({ - clearScreen: false, - plugins: [ - { - name: 'file-name', - transform(_src, id) { - const file = id.split('?')[0]; - if (!file.startsWith('\0') && existsSync(file)) { - fileWatcher.add(id); - } - }, - }, - { - name: 'mark-external', - resolveId: (id) => (externals.includes(id) ? { id, external: true } : undefined), - }, - ], - // Disable hmr in favor of the @web/test-runner to take care of restarts. - server: { hmr: false }, - // This configuration is necessary, as vite will otherwise detect dependencies - // that can be optimized. This will cause vite to reload, which leads to - // 'Could not import your test module.' errors, that happen randomly. - // Excluding the dependencies, prevents this from happening at the cost of slightly - // increased test times. - optimizeDeps: { - noDiscovery: true, - }, - }); - await viteServer.listen(); - - const vitePort = viteServer.config.server.port; - const viteProtocol = viteServer.config.server.https ? 'https' : 'http'; - - app.use(async (ctx) => { - const response = await fetch(`${viteProtocol}://localhost:${vitePort}${ctx.originalUrl}`); - ctx.set(Object.fromEntries(response.headers)); - ctx.body = await response.text(); - ctx.status = response.status; - }); - }, - async serverStop() { - return await viteServer.close(); - }, - // Reference: https://github.com/lit/lit/blob/main/packages/labs/testing/src/lib/lit-ssr-plugin.ts - // This is necessary until https://github.com/privatenumber/tsx/issues/354 is fixed - async executeCommand({ command, payload }) { - if (command !== litSsrPluginCommand) { - return undefined; - } else if (!payload) { - throw new Error(`Missing payload for ${litSsrPluginCommand} command`); - } - - const { template, modules } = payload; - const resolvedModules = modules.map((m) => new URL(`.${m}`, import.meta.url).pathname); - return new Promise((resolve, reject) => { - const worker = new Worker(new URL('./config/lit-ssr-worker.js', import.meta.url), { - workerData: { template, modules: resolvedModules }, - }); - worker.on('error', reject); - worker.on('message', resolve); - }); - }, - }; -} From b2528c2eed65966e81d7625d364b062c1b595930 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Thu, 28 Mar 2024 15:08:12 +0100 Subject: [PATCH 008/110] chore(main): release 0.49.0 (#2515) Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> --- CHANGELOG.md | 27 +++++++++++++++++++++++++++ package.json | 2 +- 2 files changed, 28 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index a8ab04507b..194c2c9965 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,33 @@ All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines. +## [0.49.0](https://github.com/lyne-design-system/lyne-components/compare/v0.48.3...v0.49.0) (2024-03-28) + + +### ⚠ BREAKING CHANGES + +* **sbb-form-field:** `label` property and attribute of `` was removed. Use `