From b79f942186cf4e1c587ca07ae4be2ccf28e2f034 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Fri, 19 Apr 2024 22:14:08 +0000 Subject: [PATCH 01/17] chore(deps): update dependency @eslint/js to v9.1.1 --- package.json | 2 +- yarn.lock | 5 +++++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index 2c0e59bc50..35f08986c8 100644 --- a/package.json +++ b/package.json @@ -64,7 +64,7 @@ "@custom-elements-manifest/analyzer": "0.9.4", "@custom-elements-manifest/to-markdown": "0.1.0", "@eslint/eslintrc": "3.0.2", - "@eslint/js": "9.0.0", + "@eslint/js": "9.1.1", "@lit-labs/testing": "0.2.3", "@lit/react": "1.0.4", "@open-wc/lit-helpers": "0.7.0", diff --git a/yarn.lock b/yarn.lock index 68603c20b6..3eee494c1f 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1548,6 +1548,11 @@ resolved "https://registry.yarnpkg.com/@eslint/js/-/js-9.0.0.tgz#1a9e4b4c96d8c7886e0110ed310a0135144a1691" integrity sha512-RThY/MnKrhubF6+s1JflwUjPEsnCEmYCWwqa/aRISKWNXGZ9epUwft4bUMM35SdKF9xvBrLydAM1RDHd1Z//ZQ== +"@eslint/js@9.1.1": + version "9.1.1" + resolved "https://registry.yarnpkg.com/@eslint/js/-/js-9.1.1.tgz#eb0f82461d12779bbafc1b5045cde3143d350a8a" + integrity sha512-5WoDz3Y19Bg2BnErkZTp0en+c/i9PvgFS7MBe1+m60HjFr0hrphlAGp4yzI7pxpt4xShln4ZyYp4neJm8hmOkQ== + "@esm-bundle/chai@^4.3.4-fix.0": version "4.3.4-fix.0" resolved "https://registry.yarnpkg.com/@esm-bundle/chai/-/chai-4.3.4-fix.0.tgz#3084cff7eb46d741749f47f3a48dbbdcbaf30a92" From 20e3aaec72c80e9feb1585584c2206f974885f49 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Sat, 20 Apr 2024 00:05:33 +0000 Subject: [PATCH 02/17] chore(deps): update dependency eslint to v9.1.0 --- package.json | 2 +- yarn.lock | 32 ++++++++++++++++---------------- 2 files changed, 17 insertions(+), 17 deletions(-) diff --git a/package.json b/package.json index 35f08986c8..40bd7b7646 100644 --- a/package.json +++ b/package.json @@ -94,7 +94,7 @@ "custom-elements-manifest": "2.0.0", "date-fns": "3.6.0", "esbuild-sass-plugin": "3.2.0", - "eslint": "9.0.0", + "eslint": "9.1.0", "eslint-config-prettier": "9.1.0", "eslint-import-resolver-typescript": "3.6.1", "eslint-plugin-import-x": "0.5.0", diff --git a/yarn.lock b/yarn.lock index 3eee494c1f..d35b28a889 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1543,11 +1543,6 @@ minimatch "^3.1.2" strip-json-comments "^3.1.1" -"@eslint/js@9.0.0": - version "9.0.0" - resolved "https://registry.yarnpkg.com/@eslint/js/-/js-9.0.0.tgz#1a9e4b4c96d8c7886e0110ed310a0135144a1691" - integrity sha512-RThY/MnKrhubF6+s1JflwUjPEsnCEmYCWwqa/aRISKWNXGZ9epUwft4bUMM35SdKF9xvBrLydAM1RDHd1Z//ZQ== - "@eslint/js@9.1.1": version "9.1.1" resolved "https://registry.yarnpkg.com/@eslint/js/-/js-9.1.1.tgz#eb0f82461d12779bbafc1b5045cde3143d350a8a" @@ -1570,10 +1565,10 @@ resolved "https://registry.yarnpkg.com/@github/catalyst/-/catalyst-1.6.0.tgz#378734d1d2b6a85af169d7e66c1a2a604bf1e82c" integrity sha512-u8A+DameixqpeyHzvnJWTGj+wfiskQOYHzSiJscCWVfMkIT3rxnbHMtGh3lMthaRY21nbUOK71WcsCnCrXhBJQ== -"@humanwhocodes/config-array@^0.12.3": - version "0.12.3" - resolved "https://registry.yarnpkg.com/@humanwhocodes/config-array/-/config-array-0.12.3.tgz#a6216d90f81a30bedd1d4b5d799b47241f318072" - integrity sha512-jsNnTBlMWuTpDkeE3on7+dWJi0D6fdDfeANj/w7MpS8ztROCoLvIO2nG0CcFj+E4k8j4QrSTh4Oryi3i2G669g== +"@humanwhocodes/config-array@^0.13.0": + version "0.13.0" + resolved "https://registry.yarnpkg.com/@humanwhocodes/config-array/-/config-array-0.13.0.tgz#fb907624df3256d04b9aa2df50d7aa97ec648748" + integrity sha512-DZLEEqFWQFiyK6h5YIeynKx7JlvCYWL0cImfSRXZ9l4Sg2efkFGTuFf6vzXjK1cq6IYkU+Eg/JizXw+TD2vRNw== dependencies: "@humanwhocodes/object-schema" "^2.0.3" debug "^4.3.1" @@ -1589,6 +1584,11 @@ resolved "https://registry.yarnpkg.com/@humanwhocodes/object-schema/-/object-schema-2.0.3.tgz#4a2868d75d6d6963e423bcf90b7fd1be343409d3" integrity sha512-93zYdMES/c1D69yZiKDBj0V24vqNzB/koF26KPaagAfd3P/4gUlh3Dys5ogAK+Exi9QyzlD8x/08Zt7wIKcDcA== +"@humanwhocodes/retry@^0.2.3": + version "0.2.3" + resolved "https://registry.yarnpkg.com/@humanwhocodes/retry/-/retry-0.2.3.tgz#c9aa036d1afa643f1250e83150f39efb3a15a631" + integrity sha512-X38nUbachlb01YMlvPFojKoiXq+LzZvuSce70KPMPdeM1Rj03k4dR7lDslhbqXn3Ang4EU3+EAmwEAsbrjHW3g== + "@jest/schemas@^29.6.3": version "29.6.3" resolved "https://registry.yarnpkg.com/@jest/schemas/-/schemas-29.6.3.tgz#430b5ce8a4e0044a7e3819663305a7b3091c8e03" @@ -5740,17 +5740,18 @@ eslint-visitor-keys@^4.0.0: resolved "https://registry.yarnpkg.com/eslint-visitor-keys/-/eslint-visitor-keys-4.0.0.tgz#e3adc021aa038a2a8e0b2f8b0ce8f66b9483b1fb" integrity sha512-OtIRv/2GyiF6o/d8K7MYKKbXrOUBIK6SfkIRM4Z0dY3w+LiQ0vy3F57m0Z71bjbyeiWFiHJ8brqnmE6H6/jEuw== -eslint@9.0.0: - version "9.0.0" - resolved "https://registry.yarnpkg.com/eslint/-/eslint-9.0.0.tgz#6270548758e390343f78c8afd030566d86927d40" - integrity sha512-IMryZ5SudxzQvuod6rUdIUz29qFItWx281VhtFVc2Psy/ZhlCeD/5DT6lBIJ4H3G+iamGJoTln1v+QSuPw0p7Q== +eslint@9.1.0: + version "9.1.0" + resolved "https://registry.yarnpkg.com/eslint/-/eslint-9.1.0.tgz#262625f6b0921f7550f128a0098d05ecaad989c6" + integrity sha512-1TCBecGFQtItia2o39P7Z4BK1X7ByNPxAiWJvwiyTGcOwYnTiiASgMpNA6a+beu8cFPhEDWvPf6mIlYUJv6sgA== dependencies: "@eslint-community/eslint-utils" "^4.2.0" "@eslint-community/regexpp" "^4.6.1" "@eslint/eslintrc" "^3.0.2" - "@eslint/js" "9.0.0" - "@humanwhocodes/config-array" "^0.12.3" + "@eslint/js" "9.1.1" + "@humanwhocodes/config-array" "^0.13.0" "@humanwhocodes/module-importer" "^1.0.1" + "@humanwhocodes/retry" "^0.2.3" "@nodelib/fs.walk" "^1.2.8" ajv "^6.12.4" chalk "^4.0.0" @@ -5766,7 +5767,6 @@ eslint@9.0.0: file-entry-cache "^8.0.0" find-up "^5.0.0" glob-parent "^6.0.2" - graphemer "^1.4.0" ignore "^5.2.0" imurmurhash "^0.1.4" is-glob "^4.0.0" From 10e3d73e9033b4bc20ce711fbfe9636cb4339d39 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Sat, 20 Apr 2024 13:19:30 +0000 Subject: [PATCH 03/17] chore(deps): update dependency vite to v5.2.10 --- package.json | 2 +- yarn.lock | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/package.json b/package.json index 40bd7b7646..374977c5e4 100644 --- a/package.json +++ b/package.json @@ -126,7 +126,7 @@ "tsx": "4.7.2", "typescript": "5.4.5", "typescript-eslint": "7.7.0", - "vite": "5.2.9", + "vite": "5.2.10", "vite-plugin-dts": "3.8.3" }, "resolutions": { diff --git a/yarn.lock b/yarn.lock index d35b28a889..831cc15c8f 100644 --- a/yarn.lock +++ b/yarn.lock @@ -11179,10 +11179,10 @@ vite-plugin-dts@3.8.3: magic-string "^0.30.8" vue-tsc "^1.8.27" -vite@5.2.9: - version "5.2.9" - resolved "https://registry.yarnpkg.com/vite/-/vite-5.2.9.tgz#cd9a356c6ff5f7456c09c5ce74068ffa8df743d9" - integrity sha512-uOQWfuZBlc6Y3W/DTuQ1Sr+oIXWvqljLvS881SVmAj00d5RdgShLcuXWxseWPd4HXwiYBFW/vXHfKFeqj9uQnw== +vite@5.2.10: + version "5.2.10" + resolved "https://registry.yarnpkg.com/vite/-/vite-5.2.10.tgz#2ac927c91e99d51b376a5c73c0e4b059705f5bd7" + integrity sha512-PAzgUZbP7msvQvqdSD+ErD5qGnSFiGOoWmV5yAKUEI0kdhjbH6nMWVyZQC/hSc4aXwc0oJ9aEdIiF9Oje0JFCw== dependencies: esbuild "^0.20.1" postcss "^8.4.38" From d6f87594ee13ff110973caa4bfe6938ffb73b458 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Mon, 22 Apr 2024 00:07:43 +0000 Subject: [PATCH 04/17] chore(deps): lock file maintenance --- yarn.lock | 368 +++++++++++++++++++++++------------------------------- 1 file changed, 159 insertions(+), 209 deletions(-) diff --git a/yarn.lock b/yarn.lock index 831cc15c8f..dbf68840b7 100644 --- a/yarn.lock +++ b/yarn.lock @@ -278,7 +278,7 @@ js-tokens "^4.0.0" picocolors "^1.0.0" -"@babel/parser@^7.21.8", "@babel/parser@^7.23.0", "@babel/parser@^7.23.9", "@babel/parser@^7.24.0", "@babel/parser@^7.24.1", "@babel/parser@^7.24.4": +"@babel/parser@^7.21.8", "@babel/parser@^7.23.0", "@babel/parser@^7.24.0", "@babel/parser@^7.24.1", "@babel/parser@^7.24.4": version "7.24.4" resolved "https://registry.yarnpkg.com/@babel/parser/-/parser-7.24.4.tgz#234487a110d89ad5a3ed4a8a566c36b9453e8c88" integrity sha512-zTvEBcghmeBma9QIGunWevvBAp4/Qu9Bdq+2k0Ot4fVMD6v3dsC9WOcRSKk7tRRyBM/53yKMJko9xOatGQAwSg== @@ -1821,10 +1821,10 @@ resolved "https://registry.yarnpkg.com/@pkgjs/parseargs/-/parseargs-0.11.0.tgz#a77ea742fab25775145434eb1d2328cf5013ac33" integrity sha512-+1VkjdD0QBLPodGrJUeqarH8VAIvQODIbwh9XpP5Syisf7YoQgsJKPNFoqqLQlu+VQ/tVSshMR6loPMn8U+dPg== -"@puppeteer/browsers@2.2.1": - version "2.2.1" - resolved "https://registry.yarnpkg.com/@puppeteer/browsers/-/browsers-2.2.1.tgz#c40608b96b10c09a6b2d08ab5ea31dfe1b409455" - integrity sha512-QSXujx4d4ogDamQA8ckkkRieFzDgZEuZuGiey9G7CuDcbnX4iINKWxTPC5Br2AEzY9ICAvcndqgAUFMMKnS/Tw== +"@puppeteer/browsers@2.2.2": + version "2.2.2" + resolved "https://registry.yarnpkg.com/@puppeteer/browsers/-/browsers-2.2.2.tgz#c43b00a9808370fec3e548779d81d1e0b972e8bb" + integrity sha512-hZ/JhxPIceWaGSEzUZp83/8M49CoxlkuThfTR7t4AoCu5+ZvJ3vktLm60Otww2TXeROB5igiZ8D9oPQh6ckBVg== dependencies: debug "4.3.4" extract-zip "2.0.1" @@ -1871,80 +1871,85 @@ estree-walker "^2.0.2" picomatch "^2.3.1" -"@rollup/rollup-android-arm-eabi@4.14.2": - version "4.14.2" - resolved "https://registry.yarnpkg.com/@rollup/rollup-android-arm-eabi/-/rollup-android-arm-eabi-4.14.2.tgz#9047b5b1ec19f58c0fdf3a072bd977bcec056576" - integrity sha512-ahxSgCkAEk+P/AVO0vYr7DxOD3CwAQrT0Go9BJyGQ9Ef0QxVOfjDZMiF4Y2s3mLyPrjonchIMH/tbWHucJMykQ== - -"@rollup/rollup-android-arm64@4.14.2": - version "4.14.2" - resolved "https://registry.yarnpkg.com/@rollup/rollup-android-arm64/-/rollup-android-arm64-4.14.2.tgz#08a2d2705193ebb3054941994e152808beb5254e" - integrity sha512-lAarIdxZWbFSHFSDao9+I/F5jDaKyCqAPMq5HqnfpBw8dKDiCaaqM0lq5h1pQTLeIqueeay4PieGR5jGZMWprw== - -"@rollup/rollup-darwin-arm64@4.14.2": - version "4.14.2" - resolved "https://registry.yarnpkg.com/@rollup/rollup-darwin-arm64/-/rollup-darwin-arm64-4.14.2.tgz#bf746c610f337b104408ec001549d825a91eca57" - integrity sha512-SWsr8zEUk82KSqquIMgZEg2GE5mCSfr9sE/thDROkX6pb3QQWPp8Vw8zOq2GyxZ2t0XoSIUlvHDkrf5Gmf7x3Q== - -"@rollup/rollup-darwin-x64@4.14.2": - version "4.14.2" - resolved "https://registry.yarnpkg.com/@rollup/rollup-darwin-x64/-/rollup-darwin-x64-4.14.2.tgz#59ebe3b858a44680d5f87546ea2df1c7e3135f6a" - integrity sha512-o/HAIrQq0jIxJAhgtIvV5FWviYK4WB0WwV91SLUnsliw1lSAoLsmgEEgRWzDguAFeUEUUoIWXiJrPqU7vGiVkA== - -"@rollup/rollup-linux-arm-gnueabihf@4.14.2": - version "4.14.2" - resolved "https://registry.yarnpkg.com/@rollup/rollup-linux-arm-gnueabihf/-/rollup-linux-arm-gnueabihf-4.14.2.tgz#44cffc07d04d659cb635aec11bef530d5757ee6a" - integrity sha512-nwlJ65UY9eGq91cBi6VyDfArUJSKOYt5dJQBq8xyLhvS23qO+4Nr/RreibFHjP6t+5ap2ohZrUJcHv5zk5ju/g== - -"@rollup/rollup-linux-arm64-gnu@4.14.2": - version "4.14.2" - resolved "https://registry.yarnpkg.com/@rollup/rollup-linux-arm64-gnu/-/rollup-linux-arm64-gnu-4.14.2.tgz#9901e2288fb192b74a2f8428c507d43cc2739ceb" - integrity sha512-Pg5TxxO2IVlMj79+c/9G0LREC9SY3HM+pfAwX7zj5/cAuwrbfj2Wv9JbMHIdPCfQpYsI4g9mE+2Bw/3aeSs2rQ== - -"@rollup/rollup-linux-arm64-musl@4.14.2": - version "4.14.2" - resolved "https://registry.yarnpkg.com/@rollup/rollup-linux-arm64-musl/-/rollup-linux-arm64-musl-4.14.2.tgz#8a2c55a72e0c716a15d830fee3bf5a1a756f13ec" - integrity sha512-cAOTjGNm84gc6tS02D1EXtG7tDRsVSDTBVXOLbj31DkwfZwgTPYZ6aafSU7rD/4R2a34JOwlF9fQayuTSkoclA== - -"@rollup/rollup-linux-powerpc64le-gnu@4.14.2": - version "4.14.2" - resolved "https://registry.yarnpkg.com/@rollup/rollup-linux-powerpc64le-gnu/-/rollup-linux-powerpc64le-gnu-4.14.2.tgz#71bf99c8017476ac85b09d21b3fa2eacbad96100" - integrity sha512-4RyT6v1kXb7C0fn6zV33rvaX05P0zHoNzaXI/5oFHklfKm602j+N4mn2YvoezQViRLPnxP8M1NaY4s/5kXO5cw== - -"@rollup/rollup-linux-riscv64-gnu@4.14.2": - version "4.14.2" - resolved "https://registry.yarnpkg.com/@rollup/rollup-linux-riscv64-gnu/-/rollup-linux-riscv64-gnu-4.14.2.tgz#48ee7fe5fee7b6d0028b6dda4fab95238208a0cd" - integrity sha512-KNUH6jC/vRGAKSorySTyc/yRYlCwN/5pnMjXylfBniwtJx5O7X17KG/0efj8XM3TZU7raYRXJFFReOzNmL1n1w== - -"@rollup/rollup-linux-s390x-gnu@4.14.2": - version "4.14.2" - resolved "https://registry.yarnpkg.com/@rollup/rollup-linux-s390x-gnu/-/rollup-linux-s390x-gnu-4.14.2.tgz#65ad6f82729ef9d8634847189214e3205892f42f" - integrity sha512-xPV4y73IBEXToNPa3h5lbgXOi/v0NcvKxU0xejiFw6DtIYQqOTMhZ2DN18/HrrP0PmiL3rGtRG9gz1QE8vFKXQ== - -"@rollup/rollup-linux-x64-gnu@4.14.2": - version "4.14.2" - resolved "https://registry.yarnpkg.com/@rollup/rollup-linux-x64-gnu/-/rollup-linux-x64-gnu-4.14.2.tgz#2ab802ce25c0d0d44a0ea55b0068f79e462d22cd" - integrity sha512-QBhtr07iFGmF9egrPOWyO5wciwgtzKkYPNLVCFZTmr4TWmY0oY2Dm/bmhHjKRwZoGiaKdNcKhFtUMBKvlchH+Q== - -"@rollup/rollup-linux-x64-musl@4.14.2": - version "4.14.2" - resolved "https://registry.yarnpkg.com/@rollup/rollup-linux-x64-musl/-/rollup-linux-x64-musl-4.14.2.tgz#85dcd3f549c2fdbcf1cb1f1b5f501933ed590880" - integrity sha512-8zfsQRQGH23O6qazZSFY5jP5gt4cFvRuKTpuBsC1ZnSWxV8ZKQpPqOZIUtdfMOugCcBvFGRa1pDC/tkf19EgBw== - -"@rollup/rollup-win32-arm64-msvc@4.14.2": - version "4.14.2" - resolved "https://registry.yarnpkg.com/@rollup/rollup-win32-arm64-msvc/-/rollup-win32-arm64-msvc-4.14.2.tgz#10f608dfc1e5bb96aca18c7784cc4a94d890c03c" - integrity sha512-H4s8UjgkPnlChl6JF5empNvFHp77Jx+Wfy2EtmYPe9G22XV+PMuCinZVHurNe8ggtwoaohxARJZbaH/3xjB/FA== - -"@rollup/rollup-win32-ia32-msvc@4.14.2": - version "4.14.2" - resolved "https://registry.yarnpkg.com/@rollup/rollup-win32-ia32-msvc/-/rollup-win32-ia32-msvc-4.14.2.tgz#f27f9fb64b7e10b04121e0054d9145ee21589267" - integrity sha512-djqpAjm/i8erWYF0K6UY4kRO3X5+T4TypIqw60Q8MTqSBaQNpNXDhxdjpZ3ikgb+wn99svA7jxcXpiyg9MUsdw== - -"@rollup/rollup-win32-x64-msvc@4.14.2": - version "4.14.2" - resolved "https://registry.yarnpkg.com/@rollup/rollup-win32-x64-msvc/-/rollup-win32-x64-msvc-4.14.2.tgz#5d2d9dc96b436469dc74ef93de069b14fb12aace" - integrity sha512-teAqzLT0yTYZa8ZP7zhFKEx4cotS8Tkk5XiqNMJhD4CpaWB1BHARE4Qy+RzwnXvSAYv+Q3jAqCVBS+PS+Yee8Q== +"@rollup/rollup-android-arm-eabi@4.16.1": + version "4.16.1" + resolved "https://registry.yarnpkg.com/@rollup/rollup-android-arm-eabi/-/rollup-android-arm-eabi-4.16.1.tgz#ad76cc870b1e2bc4476dfc02b82e20cea272a09d" + integrity sha512-92/y0TqNLRYOTXpm6Z7mnpvKAG9P7qmK7yJeRJSdzElNCUnsgbpAsGqerUboYRIQKzgfq4pWu9xVkgpWLfmNsw== + +"@rollup/rollup-android-arm64@4.16.1": + version "4.16.1" + resolved "https://registry.yarnpkg.com/@rollup/rollup-android-arm64/-/rollup-android-arm64-4.16.1.tgz#e7bd4f2b8ec5e049f98edbc68d72cb05356f81d8" + integrity sha512-ttWB6ZCfRLuDIUiE0yiu5gcqOsYjA5F7kEV1ggHMj20FwLZ8A1FMeahZJFl/pnOmcnD2QL0z4AcDuo27utGU8A== + +"@rollup/rollup-darwin-arm64@4.16.1": + version "4.16.1" + resolved "https://registry.yarnpkg.com/@rollup/rollup-darwin-arm64/-/rollup-darwin-arm64-4.16.1.tgz#8fd277b4be6cc956167710e36b4ee365f8a44050" + integrity sha512-QLDvPLetbqjHojTGFw9+nuSP3YY/iz2k1cep6crYlr97sS+ZJ0W43b8Z0zC00+lnFZj6JSNxiA4DjboNQMuh1A== + +"@rollup/rollup-darwin-x64@4.16.1": + version "4.16.1" + resolved "https://registry.yarnpkg.com/@rollup/rollup-darwin-x64/-/rollup-darwin-x64-4.16.1.tgz#5ab829322926fefce42db3529649a1098b420fe3" + integrity sha512-TAUK/D8khRrRIa1KwRzo8JNKk3tcqaeXWdtsiLgA8zmACWwlWLjPCJ4DULGHQrMkeBjp1Cd3Yuwx04lZgFx5Vg== + +"@rollup/rollup-linux-arm-gnueabihf@4.16.1": + version "4.16.1" + resolved "https://registry.yarnpkg.com/@rollup/rollup-linux-arm-gnueabihf/-/rollup-linux-arm-gnueabihf-4.16.1.tgz#0154bc34e6a88fb0147adc827512add8d3a2338c" + integrity sha512-KO+WGZjrh6zyFTD1alIFkfdtxf8B4BC+hqd3kBZHscPLvE5FR/6QKsyuCT0JlERxxYBSUKNUQ/UHyX5uwO1x2A== + +"@rollup/rollup-linux-arm-musleabihf@4.16.1": + version "4.16.1" + resolved "https://registry.yarnpkg.com/@rollup/rollup-linux-arm-musleabihf/-/rollup-linux-arm-musleabihf-4.16.1.tgz#0f3fa433a81b389042555133d38b4b886b369e58" + integrity sha512-NqxbllzIB1WoAo4ThUXVtd21iiM5IHMTTXmXySKBLVcZvkU0HIZmatlP7hLzb5yQubcmdIeWmncd2NdsjocEiw== + +"@rollup/rollup-linux-arm64-gnu@4.16.1": + version "4.16.1" + resolved "https://registry.yarnpkg.com/@rollup/rollup-linux-arm64-gnu/-/rollup-linux-arm64-gnu-4.16.1.tgz#c8f2d523ac4bcff382601306989b27137d536dd6" + integrity sha512-snma5NvV8y7IECQ5rq0sr0f3UUu+92NVmG/913JXJMcXo84h9ak9TA5UI9Cl2XRM9j3m37QwDBtEYnJzRkSmxA== + +"@rollup/rollup-linux-arm64-musl@4.16.1": + version "4.16.1" + resolved "https://registry.yarnpkg.com/@rollup/rollup-linux-arm64-musl/-/rollup-linux-arm64-musl-4.16.1.tgz#86b5104635131182b6b2b6997c4aa5594ce557b7" + integrity sha512-KOvqGprlD84ueivhCi2flvcUwDRD20mAsE3vxQNVEI2Di9tnPGAfEu6UcrSPZbM+jG2w1oSr43hrPo0RNg6GGg== + +"@rollup/rollup-linux-powerpc64le-gnu@4.16.1": + version "4.16.1" + resolved "https://registry.yarnpkg.com/@rollup/rollup-linux-powerpc64le-gnu/-/rollup-linux-powerpc64le-gnu-4.16.1.tgz#5de8b20105aaaeb36eb86fab0a1020d81c7bd4d5" + integrity sha512-/gsNwtiGLqYwN4vP+EIdUC6Q6LTlpupWqokqIndvZcjn9ig/5P01WyaYCU2wvfL/2Z82jp5kX8c1mDBOvCP3zg== + +"@rollup/rollup-linux-riscv64-gnu@4.16.1": + version "4.16.1" + resolved "https://registry.yarnpkg.com/@rollup/rollup-linux-riscv64-gnu/-/rollup-linux-riscv64-gnu-4.16.1.tgz#5319629dcdcb85ba201c6f0f894c9472e7d1013d" + integrity sha512-uU8zuGkQfGqfD9w6VRJZI4IuG4JIfNxxJgEmLMAmPVHREKGsxFVfgHy5c6CexQF2vOfgjB33OsET3Vdn2lln9A== + +"@rollup/rollup-linux-s390x-gnu@4.16.1": + version "4.16.1" + resolved "https://registry.yarnpkg.com/@rollup/rollup-linux-s390x-gnu/-/rollup-linux-s390x-gnu-4.16.1.tgz#246ac211ed0d78f7a9bc5c1d0653bde4c6cd9f63" + integrity sha512-lsjLtDgtcGFEuBP6yrXwkRN5/wKlvUZtfbKZZu0yaoNpiBL4epgnO21osAALIspVRnl4qZgyLFd8xjCYYWgwfw== + +"@rollup/rollup-linux-x64-gnu@4.16.1": + version "4.16.1" + resolved "https://registry.yarnpkg.com/@rollup/rollup-linux-x64-gnu/-/rollup-linux-x64-gnu-4.16.1.tgz#d0c03203ddeb9454fc6fdde93a39b01c176ac6d9" + integrity sha512-N2ZizKhUryqqrMfdCnjhJhZRgv61C6gK+hwVtCIKC8ts8J+go+vqENnGexwg21nHIOvLN5mBM8a7DI2vlyIOPg== + +"@rollup/rollup-linux-x64-musl@4.16.1": + version "4.16.1" + resolved "https://registry.yarnpkg.com/@rollup/rollup-linux-x64-musl/-/rollup-linux-x64-musl-4.16.1.tgz#20235632e2be4689d663aadaceaaf90df03b1a33" + integrity sha512-5ICeMxqg66FrOA2AbnBQ2TJVxfvZsKLxmof0ibvPLaYtbsJqnTUtJOofgWb46Gjd4uZcA4rdsp4JCxegzQPqCg== + +"@rollup/rollup-win32-arm64-msvc@4.16.1": + version "4.16.1" + resolved "https://registry.yarnpkg.com/@rollup/rollup-win32-arm64-msvc/-/rollup-win32-arm64-msvc-4.16.1.tgz#af113ad682fc13d1f870242c5539031f8cc27cf1" + integrity sha512-1vIP6Ce02L+qWD7uZYRiFiuAJo3m9kARatWmFSnss0gZnVj2Id7OPUU9gm49JPGasgcR3xMqiH3fqBJ8t00yVg== + +"@rollup/rollup-win32-ia32-msvc@4.16.1": + version "4.16.1" + resolved "https://registry.yarnpkg.com/@rollup/rollup-win32-ia32-msvc/-/rollup-win32-ia32-msvc-4.16.1.tgz#4e7b57e757c95da8e79092056d1b428617515668" + integrity sha512-Y3M92DcVsT6LoP+wrKpoUWPaazaP1fzbNkp0a0ZSj5Y//+pQVfVe/tQdsYQQy7dwXR30ZfALUIc9PCh9Izir6w== + +"@rollup/rollup-win32-x64-msvc@4.16.1": + version "4.16.1" + resolved "https://registry.yarnpkg.com/@rollup/rollup-win32-x64-msvc/-/rollup-win32-x64-msvc-4.16.1.tgz#5068a893ba292279adbe76fc487316724b15d811" + integrity sha512-x0fvpHMuF7fK5r8oZxSi8VYXkrVmRgubXpO/wcf15Lk3xZ4Jvvh5oG+u7Su1776A7XzVKZhD2eRc4t7H50gL3w== "@rushstack/node-core-library@4.0.2": version "4.0.2" @@ -2987,9 +2992,9 @@ integrity sha512-5zvhXYtRNRluoE/jAp4GVsSduVUzNWKkOZrCDBWYtE7biZywwdC2AcEzg+cSMLFRfVgeAFqpfNabiPjxFddV1Q== "@types/qs@*", "@types/qs@^6.9.5": - version "6.9.14" - resolved "https://registry.yarnpkg.com/@types/qs/-/qs-6.9.14.tgz#169e142bfe493895287bee382af6039795e9b75b" - integrity sha512-5khscbd3SwWMhFqylJBLQ0zIu7c1K6Vz0uBIt915BI3zV0q1nfjRQD3RqSBcPaO6PHEF4ov/t9y89fSiyThlPA== + version "6.9.15" + resolved "https://registry.yarnpkg.com/@types/qs/-/qs-6.9.15.tgz#adde8a060ec9c305a82de1babc1056e73bd64dce" + integrity sha512-uXHQKES6DQKKCLh441Xv/dwxOq1TVS3JPUMlEqoEglvlhR6Mxnlew/Xq/LRVHpLyk7iK3zODe1qYHIMltO7XGg== "@types/range-parser@*": version "1.2.7" @@ -3003,15 +3008,7 @@ dependencies: "@types/react" "*" -"@types/react@*", "@types/react@^16.8.0 || ^17.0.0 || ^18.0.0": - version "18.2.78" - resolved "https://registry.yarnpkg.com/@types/react/-/react-18.2.78.tgz#94aec453d0ccca909998a2b4b2fd78af15a7d2fe" - integrity sha512-qOwdPnnitQY4xKlKayt42q5W5UQrSHjgoXNVEtxeqdITJ99k4VXJOP3vt8Rkm9HmgJpH50UNU+rlqfkfWOqp0A== - dependencies: - "@types/prop-types" "*" - csstype "^3.0.2" - -"@types/react@18.2.79": +"@types/react@*", "@types/react@18.2.79", "@types/react@^16.8.0 || ^17.0.0 || ^18.0.0": version "18.2.79" resolved "https://registry.yarnpkg.com/@types/react/-/react-18.2.79.tgz#c40efb4f255711f554d47b449f796d1c7756d865" integrity sha512-RwGAGXPl9kSXwdNTafkOEuFrTBD5SA2B3iEB96xi8+xu5ddUa/cpvyVCSNn+asgLCTHkb5ZxN8gbuibYJi4s1w== @@ -3136,14 +3133,6 @@ "@typescript-eslint/types" "5.62.0" "@typescript-eslint/visitor-keys" "5.62.0" -"@typescript-eslint/scope-manager@7.6.0": - version "7.6.0" - resolved "https://registry.yarnpkg.com/@typescript-eslint/scope-manager/-/scope-manager-7.6.0.tgz#1e9972f654210bd7500b31feadb61a233f5b5e9d" - integrity sha512-ngttyfExA5PsHSx0rdFgnADMYQi+Zkeiv4/ZxGYUWd0nLs63Ha0ksmp8VMxAIC0wtCFxMos7Lt3PszJssG/E6w== - dependencies: - "@typescript-eslint/types" "7.6.0" - "@typescript-eslint/visitor-keys" "7.6.0" - "@typescript-eslint/scope-manager@7.7.0": version "7.7.0" resolved "https://registry.yarnpkg.com/@typescript-eslint/scope-manager/-/scope-manager-7.7.0.tgz#3f0db079b275bb8b0cb5be7613fb3130cfb5de77" @@ -3167,11 +3156,6 @@ resolved "https://registry.yarnpkg.com/@typescript-eslint/types/-/types-5.62.0.tgz#258607e60effa309f067608931c3df6fed41fd2f" integrity sha512-87NVngcbVXUahrRTqIK27gD2t5Cu1yuCXxbLcFtCzZGlfyVWWh8mLHkoxzjsB6DDNnvdL+fW8MiwPEJyGJQDgQ== -"@typescript-eslint/types@7.6.0": - version "7.6.0" - resolved "https://registry.yarnpkg.com/@typescript-eslint/types/-/types-7.6.0.tgz#53dba7c30c87e5f10a731054266dd905f1fbae38" - integrity sha512-h02rYQn8J+MureCvHVVzhl69/GAfQGPQZmOMjG1KfCl7o3HtMSlPaPUAPu6lLctXI5ySRGIYk94clD/AUMCUgQ== - "@typescript-eslint/types@7.7.0": version "7.7.0" resolved "https://registry.yarnpkg.com/@typescript-eslint/types/-/types-7.7.0.tgz#23af4d24bf9ce15d8d301236e3e3014143604f27" @@ -3190,20 +3174,6 @@ semver "^7.3.7" tsutils "^3.21.0" -"@typescript-eslint/typescript-estree@7.6.0": - version "7.6.0" - resolved "https://registry.yarnpkg.com/@typescript-eslint/typescript-estree/-/typescript-estree-7.6.0.tgz#112a3775563799fd3f011890ac8322f80830ac17" - integrity sha512-+7Y/GP9VuYibecrCQWSKgl3GvUM5cILRttpWtnAu8GNL9j11e4tbuGZmZjJ8ejnKYyBRb2ddGQ3rEFCq3QjMJw== - dependencies: - "@typescript-eslint/types" "7.6.0" - "@typescript-eslint/visitor-keys" "7.6.0" - debug "^4.3.4" - globby "^11.1.0" - is-glob "^4.0.3" - minimatch "^9.0.4" - semver "^7.6.0" - ts-api-utils "^1.3.0" - "@typescript-eslint/typescript-estree@7.7.0": version "7.7.0" resolved "https://registry.yarnpkg.com/@typescript-eslint/typescript-estree/-/typescript-estree-7.7.0.tgz#b5dd6383b4c6a852d7b256a37af971e8982be97f" @@ -3218,7 +3188,7 @@ semver "^7.6.0" ts-api-utils "^1.3.0" -"@typescript-eslint/utils@7.7.0": +"@typescript-eslint/utils@7.7.0", "@typescript-eslint/utils@^7.4.0": version "7.7.0" resolved "https://registry.yarnpkg.com/@typescript-eslint/utils/-/utils-7.7.0.tgz#3d2b6606a60ac34f3c625facfb3b3ab7e126f58d" integrity sha512-LKGAXMPQs8U/zMRFXDZOzmMKgFv3COlxUQ+2NMPhbqgVm6R1w+nU1i4836Pmxu9jZAuIeyySNrN/6Rc657ggig== @@ -3245,19 +3215,6 @@ eslint-scope "^5.1.1" semver "^7.3.7" -"@typescript-eslint/utils@^7.4.0": - version "7.6.0" - resolved "https://registry.yarnpkg.com/@typescript-eslint/utils/-/utils-7.6.0.tgz#e400d782280b6f724c8a1204269d984c79202282" - integrity sha512-x54gaSsRRI+Nwz59TXpCsr6harB98qjXYzsRxGqvA5Ue3kQH+FxS7FYU81g/omn22ML2pZJkisy6Q+ElK8pBCA== - dependencies: - "@eslint-community/eslint-utils" "^4.4.0" - "@types/json-schema" "^7.0.15" - "@types/semver" "^7.5.8" - "@typescript-eslint/scope-manager" "7.6.0" - "@typescript-eslint/types" "7.6.0" - "@typescript-eslint/typescript-estree" "7.6.0" - semver "^7.6.0" - "@typescript-eslint/visitor-keys@5.62.0": version "5.62.0" resolved "https://registry.yarnpkg.com/@typescript-eslint/visitor-keys/-/visitor-keys-5.62.0.tgz#2174011917ce582875954ffe2f6912d5931e353e" @@ -3266,14 +3223,6 @@ "@typescript-eslint/types" "5.62.0" eslint-visitor-keys "^3.3.0" -"@typescript-eslint/visitor-keys@7.6.0": - version "7.6.0" - resolved "https://registry.yarnpkg.com/@typescript-eslint/visitor-keys/-/visitor-keys-7.6.0.tgz#d1ce13145844379021e1f9bd102c1d78946f4e76" - integrity sha512-4eLB7t+LlNUmXzfOu1VAIAdkjbu5xNSerURS9X/S5TUKWFRpXRQZbmtPqgKmYx8bj3J0irtQXSiWAOY82v+cgw== - dependencies: - "@typescript-eslint/types" "7.6.0" - eslint-visitor-keys "^3.4.3" - "@typescript-eslint/visitor-keys@7.7.0": version "7.7.0" resolved "https://registry.yarnpkg.com/@typescript-eslint/visitor-keys/-/visitor-keys-7.7.0.tgz#950148cf1ac11562a2d903fdf7acf76714a2dc9e" @@ -3357,24 +3306,24 @@ resolved "https://registry.yarnpkg.com/@vscode/web-custom-data/-/web-custom-data-0.4.9.tgz#cd23e788f0b05d930b5f1afa9feded2230743686" integrity sha512-QeCJFISE/RiTG0NECX6DYmVRPVb0jdyaUrhY0JqNMv9ruUYtYqxxQfv3PSjogb+zNghmwgXLSYuQKk6G+Xnaig== -"@vue/compiler-core@3.4.21": - version "3.4.21" - resolved "https://registry.yarnpkg.com/@vue/compiler-core/-/compiler-core-3.4.21.tgz#868b7085378fc24e58c9aed14c8d62110a62be1a" - integrity sha512-MjXawxZf2SbZszLPYxaFCjxfibYrzr3eYbKxwpLR9EQN+oaziSu3qKVbwBERj1IFIB8OLUewxB5m/BFzi613og== +"@vue/compiler-core@3.4.23": + version "3.4.23" + resolved "https://registry.yarnpkg.com/@vue/compiler-core/-/compiler-core-3.4.23.tgz#a08f5998e391ad75e602a66dd7255af9054df2f3" + integrity sha512-HAFmuVEwNqNdmk+w4VCQ2pkLk1Vw4XYiiyxEp3z/xvl14aLTUBw2OfVH3vBcx+FtGsynQLkkhK410Nah1N2yyQ== dependencies: - "@babel/parser" "^7.23.9" - "@vue/shared" "3.4.21" + "@babel/parser" "^7.24.1" + "@vue/shared" "3.4.23" entities "^4.5.0" estree-walker "^2.0.2" - source-map-js "^1.0.2" + source-map-js "^1.2.0" "@vue/compiler-dom@^3.3.0": - version "3.4.21" - resolved "https://registry.yarnpkg.com/@vue/compiler-dom/-/compiler-dom-3.4.21.tgz#0077c355e2008207283a5a87d510330d22546803" - integrity sha512-IZC6FKowtT1sl0CR5DpXSiEB5ayw75oT2bma1BEhV7RRR1+cfwLrxc2Z8Zq/RGFzJ8w5r9QtCOvTjQgdn0IKmA== + version "3.4.23" + resolved "https://registry.yarnpkg.com/@vue/compiler-dom/-/compiler-dom-3.4.23.tgz#6fa622d1e5c8508551564c5dc5948e9cddf60867" + integrity sha512-t0b9WSTnCRrzsBGrDd1LNR5HGzYTr7LX3z6nNBG+KGvZLqrT0mY6NsMzOqlVMBKKXKVuusbbB5aOOFgTY+senw== dependencies: - "@vue/compiler-core" "3.4.21" - "@vue/shared" "3.4.21" + "@vue/compiler-core" "3.4.23" + "@vue/shared" "3.4.23" "@vue/language-core@1.8.27", "@vue/language-core@^1.8.27": version "1.8.27" @@ -3391,10 +3340,10 @@ path-browserify "^1.0.1" vue-template-compiler "^2.7.14" -"@vue/shared@3.4.21", "@vue/shared@^3.3.0": - version "3.4.21" - resolved "https://registry.yarnpkg.com/@vue/shared/-/shared-3.4.21.tgz#de526a9059d0a599f0b429af7037cd0c3ed7d5a1" - integrity sha512-PuJe7vDIi6VYSinuEbUIQgMIRZGgM8e4R+G+/dQTk0X1NEdvgvvgv7m+rfmDH1gZzyA1OjjoWskvHlfRNfQf3g== +"@vue/shared@3.4.23", "@vue/shared@^3.3.0": + version "3.4.23" + resolved "https://registry.yarnpkg.com/@vue/shared/-/shared-3.4.23.tgz#e536a6dfd2f5f950d08c2e8ebcfe7e5329a851a1" + integrity sha512-wBQ0gvf+SMwsCQOyusNw/GoXPV47WGd1xB5A1Pgzy0sQ3Bi5r5xm3n+92y3gCnB3MWqnRDdvfkRGxhKtbBRNgg== "@web/browser-logs@^0.2.6": version "0.2.6" @@ -4316,9 +4265,9 @@ camelcase@^6.2.0: integrity sha512-Gmy6FhYlCY7uOElZUSbxo2UCDH8owEk996gkbrpsgGtrJLM3J7jGxl9Ic7Qwwj4ivOE5AWZWRMecDdF7hqGjFA== caniuse-lite@^1.0.30001587: - version "1.0.30001610" - resolved "https://registry.yarnpkg.com/caniuse-lite/-/caniuse-lite-1.0.30001610.tgz#2f44ed6e21d359e914271ae35b68903632628ccf" - integrity sha512-QFutAY4NgaelojVMjY63o6XlZyORPaLfyMnsl3HgnWdJUcX6K0oaJymHjH8PT5Gk7sTm8rvC/c5COUQKXqmOMA== + version "1.0.30001612" + resolved "https://registry.yarnpkg.com/caniuse-lite/-/caniuse-lite-1.0.30001612.tgz#d34248b4ec1f117b70b24ad9ee04c90e0b8a14ae" + integrity sha512-lFgnZ07UhaCcsSZgWW0K5j4e69dK1u/ltrL9lTUiFOwNHs12S3UMIEYgBV0Z6C6hRDev7iRnMzzYmKabYdXF9g== ccount@^1.0.0: version "1.1.0" @@ -4782,9 +4731,9 @@ cookies@~0.9.0: keygrip "~1.1.0" core-js-compat@^3.31.0, core-js-compat@^3.36.1: - version "3.36.1" - resolved "https://registry.yarnpkg.com/core-js-compat/-/core-js-compat-3.36.1.tgz#1818695d72c99c25d621dca94e6883e190cea3c8" - integrity sha512-Dk997v9ZCt3X/npqzyGdTlq6t7lDBhZwGvV94PKzDArjp7BTRm7WlDAXYd/OWdeFHO8OChQYRJNJvUCqCbrtKA== + version "3.37.0" + resolved "https://registry.yarnpkg.com/core-js-compat/-/core-js-compat-3.37.0.tgz#d9570e544163779bb4dff1031c7972f44918dc73" + integrity sha512-vYq4L+T8aS5UuFg4UwDhc7YNRWVeVZwltad9C/jV3R2LgVOpS9BDr7l/WL6BN0dbV3k1XejPTHqqEzJgsa0frA== dependencies: browserslist "^4.23.0" @@ -5289,9 +5238,9 @@ ejs@^3.1.8: jake "^10.8.5" electron-to-chromium@^1.4.668: - version "1.4.736" - resolved "https://registry.yarnpkg.com/electron-to-chromium/-/electron-to-chromium-1.4.736.tgz#ecb4348f4d5c70fb1e31c347e5bad6b751066416" - integrity sha512-Rer6wc3ynLelKNM4lOCg7/zPQj8tPOCB2hzD32PX9wd3hgRRi9MxEbmkFCokzcEhRVMiOVLjnL9ig9cefJ+6+Q== + version "1.4.745" + resolved "https://registry.yarnpkg.com/electron-to-chromium/-/electron-to-chromium-1.4.745.tgz#9c202ce9cbf18a5b5e0ca47145fd127cc4dd2290" + integrity sha512-tRbzkaRI5gbUn5DEvF0dV4TQbMZ5CLkWeTAXmpC9IrYT+GE+x76i9p+o3RJ5l9XmdQlI1pPhVtE9uNcJJ0G0EA== emoji-regex@^10.3.0: version "10.3.0" @@ -6122,9 +6071,9 @@ flatted@^3.2.9: integrity sha512-X8cqMLLie7KsNUDSdzeN8FYK9rEt4Dt67OsG/DNGnYTSDBG4uFAJFBnUeiV+zCVAvwFy56IjM9sH51jVaEhNxw== flow-parser@0.*: - version "0.233.0" - resolved "https://registry.yarnpkg.com/flow-parser/-/flow-parser-0.233.0.tgz#b983e65812d5ecae79f08ae3ed8ad2e131a9b966" - integrity sha512-E/mv51GYJfLuRX6fZnw4M52gBxYa8pkHUOgNEZOcQK2RTXS8YXeU5rlalkTcY99UpwbeNVCSUFKaavpOksi/pQ== + version "0.234.0" + resolved "https://registry.yarnpkg.com/flow-parser/-/flow-parser-0.234.0.tgz#92af26f40ea7e79ca4bd66a066d6d6aa3b4223bf" + integrity sha512-J1Wn32xDF1l8FqwshoQnTwC9K3aJ83MFuXUx9AcBQr8ttbI/rkjEgAqnjxaIJuZ6RGMfccN5ZxDJSOMM64qy9Q== for-each@^0.3.3: version "0.3.3" @@ -7562,18 +7511,18 @@ lit-analyzer@2.0.3, lit-analyzer@^2.0.1: web-component-analyzer "^2.0.0" lit-element@^4.0.4: - version "4.0.4" - resolved "https://registry.yarnpkg.com/lit-element/-/lit-element-4.0.4.tgz#e0b37ebbe2394bcb9578d611a409f49475dff361" - integrity sha512-98CvgulX6eCPs6TyAIQoJZBCQPo80rgXR+dVBs61cstJXqtI+USQZAbA4gFHh6L/mxBx9MrgPLHLsUgDUHAcCQ== + version "4.0.5" + resolved "https://registry.yarnpkg.com/lit-element/-/lit-element-4.0.5.tgz#f20cd8a6231eaf5358f7a6877ca6ea7628fa2015" + integrity sha512-iTWskWZEtn9SyEf4aBG6rKT8GABZMrTWop1+jopsEOgEcugcXJGKuX5bEbkq9qfzY+XB4MAgCaSPwnNpdsNQ3Q== dependencies: "@lit-labs/ssr-dom-shim" "^1.2.0" "@lit/reactive-element" "^2.0.4" lit-html "^3.1.2" "lit-html@^2.0.0 || ^3.0.0", lit-html@^3.1.2: - version "3.1.2" - resolved "https://registry.yarnpkg.com/lit-html/-/lit-html-3.1.2.tgz#6655ce82367472de7680c62b1bcb0beb0e426fa1" - integrity sha512-3OBZSUrPnAHoKJ9AMjRL/m01YJxQMf+TMHanNtTHG68ubjnZxK0RFl102DPzsw4mWnHibfZIBJm3LWCZ/LmMvg== + version "3.1.3" + resolved "https://registry.yarnpkg.com/lit-html/-/lit-html-3.1.3.tgz#ae2e9fee0258d0a1b5d7b86c87da51117e4f911b" + integrity sha512-FwIbqDD8O/8lM4vUZ4KvQZjPPNx7V1VhT7vmRB8RBAO0AU6wuTVdoXiu2CivVjEGdugvcbPNBLtPE1y0ifplHA== dependencies: "@types/trusted-types" "^2.0.2" @@ -7809,9 +7758,9 @@ magic-string@^0.23.2: sourcemap-codec "^1.4.1" magic-string@^0.30.0, magic-string@^0.30.8: - version "0.30.9" - resolved "https://registry.yarnpkg.com/magic-string/-/magic-string-0.30.9.tgz#8927ae21bfdd856310e07a1bc8dd5e73cb6c251d" - integrity sha512-S1+hd+dIrC8EZqKyT9DstTH/0Z+f76kmmvZnkfQVmOpDEF9iVgdYif3Q/pIWHmCoo59bQVGW0kVL3e2nl+9+Sw== + version "0.30.10" + resolved "https://registry.yarnpkg.com/magic-string/-/magic-string-0.30.10.tgz#123d9c41a0cb5640c892b041d4cfb3bd0aa4b39e" + integrity sha512-iIRwTIf0QKV3UAnYK4PU8uiEc4SRh5jX0mwpIwETPpHdhVM4f53RSwS/vXvN1JhGX+Cs7B8qIq3d6AH49O5fAQ== dependencies: "@jridgewell/sourcemap-codec" "^1.4.15" @@ -9348,26 +9297,26 @@ punycode@^2.1.0, punycode@^2.1.1: resolved "https://registry.yarnpkg.com/punycode/-/punycode-2.3.1.tgz#027422e2faec0b25e1549c3e1bd8309b9133b6e5" integrity sha512-vYt7UD1U9Wg6138shLtLOvdAu+8DsC/ilFtEVHcH+wydcSpNE20AfSOduf6MkRFahL5FY7X1oU7nKVZFtfq8Fg== -puppeteer-core@22.6.4, puppeteer-core@^22.0.0: - version "22.6.4" - resolved "https://registry.yarnpkg.com/puppeteer-core/-/puppeteer-core-22.6.4.tgz#b0f9b3c7e90013e892fc34f0a3685543aa7b6326" - integrity sha512-QtfJwPmqQec3EHc6LqbEz03vSiuVAr9bYp0TV87dLoreev6ZevsXdLgOfQgoA3GocrsSe/eUf7NRPQ1lQfsc3w== +puppeteer-core@22.6.5, puppeteer-core@^22.0.0: + version "22.6.5" + resolved "https://registry.yarnpkg.com/puppeteer-core/-/puppeteer-core-22.6.5.tgz#320eb6ab51e479c6a04cbb831b414e1cd51a7220" + integrity sha512-s0/5XkAWe0/dWISiljdrybjwDCHhgN31Nu/wznOZPKeikgcJtZtbvPKBz0t802XWqfSQnQDt3L6xiAE5JLlfuw== dependencies: - "@puppeteer/browsers" "2.2.1" + "@puppeteer/browsers" "2.2.2" chromium-bidi "0.5.17" debug "4.3.4" devtools-protocol "0.0.1262051" ws "8.16.0" puppeteer@^22.0.0: - version "22.6.4" - resolved "https://registry.yarnpkg.com/puppeteer/-/puppeteer-22.6.4.tgz#478028ff522e51b5456d9c4a2a0df6ee3a5b2a72" - integrity sha512-J9hXNwZmuqKDmNMj6kednZH8jzbdX9735NQfQJrq5LRD4nHisAMyW9pCD7glKi+iM7RV9JkesI1MYhdsN+0ZSQ== + version "22.6.5" + resolved "https://registry.yarnpkg.com/puppeteer/-/puppeteer-22.6.5.tgz#f72246fef1d0e0451f6f79b48087905251fd474b" + integrity sha512-YuoRKGj3MxHhUwrey7vmNvU4odGdUdNsj1ee8pfcqQlLWIXfMOXZCAXh8xdzpZESHH3tCGWp2xmPZE8E6iUEWg== dependencies: - "@puppeteer/browsers" "2.2.1" + "@puppeteer/browsers" "2.2.2" cosmiconfig "9.0.0" devtools-protocol "0.0.1262051" - puppeteer-core "22.6.4" + puppeteer-core "22.6.5" qs@6.11.0: version "6.11.0" @@ -9778,27 +9727,28 @@ rollup-plugin-postcss-lit@2.1.0: transform-ast "^2.4.4" rollup@^4.13.0, rollup@^4.4.0: - version "4.14.2" - resolved "https://registry.yarnpkg.com/rollup/-/rollup-4.14.2.tgz#992df3c3bb4ca84ce6b00d51aacb1e5a62d0a14c" - integrity sha512-WkeoTWvuBoFjFAhsEOHKRoZ3r9GfTyhh7Vff1zwebEFLEFjT1lG3784xEgKiTa7E+e70vsC81roVL2MP4tgEEQ== + version "4.16.1" + resolved "https://registry.yarnpkg.com/rollup/-/rollup-4.16.1.tgz#5a60230987fe95ebe68bab517297c116dbb1a88d" + integrity sha512-5CaD3MPDlPKfhqzRvWXK96G6ELJfPZNb3LHiZxTHgDdC6jvwfGz2E8nY+9g1ONk4ttHsK1WaFP19Js4PSr1E3g== dependencies: "@types/estree" "1.0.5" optionalDependencies: - "@rollup/rollup-android-arm-eabi" "4.14.2" - "@rollup/rollup-android-arm64" "4.14.2" - "@rollup/rollup-darwin-arm64" "4.14.2" - "@rollup/rollup-darwin-x64" "4.14.2" - "@rollup/rollup-linux-arm-gnueabihf" "4.14.2" - "@rollup/rollup-linux-arm64-gnu" "4.14.2" - "@rollup/rollup-linux-arm64-musl" "4.14.2" - "@rollup/rollup-linux-powerpc64le-gnu" "4.14.2" - "@rollup/rollup-linux-riscv64-gnu" "4.14.2" - "@rollup/rollup-linux-s390x-gnu" "4.14.2" - "@rollup/rollup-linux-x64-gnu" "4.14.2" - "@rollup/rollup-linux-x64-musl" "4.14.2" - "@rollup/rollup-win32-arm64-msvc" "4.14.2" - "@rollup/rollup-win32-ia32-msvc" "4.14.2" - "@rollup/rollup-win32-x64-msvc" "4.14.2" + "@rollup/rollup-android-arm-eabi" "4.16.1" + "@rollup/rollup-android-arm64" "4.16.1" + "@rollup/rollup-darwin-arm64" "4.16.1" + "@rollup/rollup-darwin-x64" "4.16.1" + "@rollup/rollup-linux-arm-gnueabihf" "4.16.1" + "@rollup/rollup-linux-arm-musleabihf" "4.16.1" + "@rollup/rollup-linux-arm64-gnu" "4.16.1" + "@rollup/rollup-linux-arm64-musl" "4.16.1" + "@rollup/rollup-linux-powerpc64le-gnu" "4.16.1" + "@rollup/rollup-linux-riscv64-gnu" "4.16.1" + "@rollup/rollup-linux-s390x-gnu" "4.16.1" + "@rollup/rollup-linux-x64-gnu" "4.16.1" + "@rollup/rollup-linux-x64-musl" "4.16.1" + "@rollup/rollup-win32-arm64-msvc" "4.16.1" + "@rollup/rollup-win32-ia32-msvc" "4.16.1" + "@rollup/rollup-win32-x64-msvc" "4.16.1" fsevents "~2.3.2" run-parallel@^1.1.9: @@ -10070,7 +10020,7 @@ socks@^2.7.1: ip-address "^9.0.5" smart-buffer "^4.2.0" -"source-map-js@>=0.6.2 <2.0.0", source-map-js@^1.0.1, source-map-js@^1.0.2, source-map-js@^1.2.0: +"source-map-js@>=0.6.2 <2.0.0", source-map-js@^1.0.1, source-map-js@^1.2.0: version "1.2.0" resolved "https://registry.yarnpkg.com/source-map-js/-/source-map-js-1.2.0.tgz#16b809c162517b5b8c3e7dcd315a2a5c2612b2af" integrity sha512-itJW8lvSA0TXEphiRoawsCksnlf8SyvmFzIhltqAHluXd88pkCd+cXJVHTDwdCr0IzwptSm035IHQktUu1QUMg== @@ -10649,9 +10599,9 @@ to-regex-range@^5.0.1: is-number "^7.0.0" tocbot@^4.20.1: - version "4.25.0" - resolved "https://registry.yarnpkg.com/tocbot/-/tocbot-4.25.0.tgz#bc38aea5ec8f076779bb39636f431b044129a237" - integrity sha512-kE5wyCQJ40hqUaRVkyQ4z5+4juzYsv/eK+aqD97N62YH0TxFhzJvo22RUQQZdO3YnXAk42ZOfOpjVdy+Z0YokA== + version "4.27.0" + resolved "https://registry.yarnpkg.com/tocbot/-/tocbot-4.27.0.tgz#8215d50df66dc6e3b86c8f7b10389b2d6b8bd555" + integrity sha512-x3ZPNFPVOYCAyW4CEW8KszGfqB3/fnY1QX1tfUHH1fj1r6I8v0g5w0flNsWf7htZKtzqtdiPqu//II3ngL/WwA== toidentifier@1.0.1: version "1.0.1" From 7ce927fc0f849bc82e18b075a92229cd91708c43 Mon Sep 17 00:00:00 2001 From: Mario Hamann Date: Mon, 22 Apr 2024 09:47:34 +0200 Subject: [PATCH 05/17] docs: optimize code preview + add table of contents (#2605) Co-authored-by: Jeri Peier --- .storybook/preview.ts | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.storybook/preview.ts b/.storybook/preview.ts index eacc2588b4..f956fa43f6 100644 --- a/.storybook/preview.ts +++ b/.storybook/preview.ts @@ -44,6 +44,13 @@ export const parameters = { breakpointNames, debounceTimeout: 10, }, + docs: { + toc: { + ignoreSelector: '.docs-story h2', + headingSelector: 'h2', + }, + source: { format: 'html' }, + }, viewport: { viewports: storybookViewports }, options: { storySort: { From 3b6f1275664aeb3ec23284e9a13294b3ec719c22 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Mon, 22 Apr 2024 19:59:19 +0000 Subject: [PATCH 06/17] chore(deps): update dependency typescript-eslint to v7.7.1 --- package.json | 2 +- yarn.lock | 100 +++++++++++++++++++++++++++++++++++++++++++++++---- 2 files changed, 94 insertions(+), 8 deletions(-) diff --git a/package.json b/package.json index 374977c5e4..c3327f114e 100644 --- a/package.json +++ b/package.json @@ -125,7 +125,7 @@ "ts-lit-plugin": "2.0.2", "tsx": "4.7.2", "typescript": "5.4.5", - "typescript-eslint": "7.7.0", + "typescript-eslint": "7.7.1", "vite": "5.2.10", "vite-plugin-dts": "3.8.3" }, diff --git a/yarn.lock b/yarn.lock index dbf68840b7..ef50301f65 100644 --- a/yarn.lock +++ b/yarn.lock @@ -3114,6 +3114,23 @@ semver "^7.6.0" ts-api-utils "^1.3.0" +"@typescript-eslint/eslint-plugin@7.7.1": + version "7.7.1" + resolved "https://registry.yarnpkg.com/@typescript-eslint/eslint-plugin/-/eslint-plugin-7.7.1.tgz#50a9044e3e5fe76b22caf64fb7fc1f97614bdbfd" + integrity sha512-KwfdWXJBOviaBVhxO3p5TJiLpNuh2iyXyjmWN0f1nU87pwyvfS0EmjC6ukQVYVFJd/K1+0NWGPDXiyEyQorn0Q== + dependencies: + "@eslint-community/regexpp" "^4.10.0" + "@typescript-eslint/scope-manager" "7.7.1" + "@typescript-eslint/type-utils" "7.7.1" + "@typescript-eslint/utils" "7.7.1" + "@typescript-eslint/visitor-keys" "7.7.1" + debug "^4.3.4" + graphemer "^1.4.0" + ignore "^5.3.1" + natural-compare "^1.4.0" + semver "^7.6.0" + ts-api-utils "^1.3.0" + "@typescript-eslint/parser@7.7.0": version "7.7.0" resolved "https://registry.yarnpkg.com/@typescript-eslint/parser/-/parser-7.7.0.tgz#6b1b3ce76c5de002c43af8ae933613b0f2b4bcc6" @@ -3125,6 +3142,17 @@ "@typescript-eslint/visitor-keys" "7.7.0" debug "^4.3.4" +"@typescript-eslint/parser@7.7.1": + version "7.7.1" + resolved "https://registry.yarnpkg.com/@typescript-eslint/parser/-/parser-7.7.1.tgz#f940e9f291cdca40c46cb75916217d3a42d6ceea" + integrity sha512-vmPzBOOtz48F6JAGVS/kZYk4EkXao6iGrD838sp1w3NQQC0W8ry/q641KU4PrG7AKNAf56NOcR8GOpH8l9FPCw== + dependencies: + "@typescript-eslint/scope-manager" "7.7.1" + "@typescript-eslint/types" "7.7.1" + "@typescript-eslint/typescript-estree" "7.7.1" + "@typescript-eslint/visitor-keys" "7.7.1" + debug "^4.3.4" + "@typescript-eslint/scope-manager@5.62.0": version "5.62.0" resolved "https://registry.yarnpkg.com/@typescript-eslint/scope-manager/-/scope-manager-5.62.0.tgz#d9457ccc6a0b8d6b37d0eb252a23022478c5460c" @@ -3141,6 +3169,14 @@ "@typescript-eslint/types" "7.7.0" "@typescript-eslint/visitor-keys" "7.7.0" +"@typescript-eslint/scope-manager@7.7.1": + version "7.7.1" + resolved "https://registry.yarnpkg.com/@typescript-eslint/scope-manager/-/scope-manager-7.7.1.tgz#07fe59686ca843f66e3e2b5c151522bc38effab2" + integrity sha512-PytBif2SF+9SpEUKynYn5g1RHFddJUcyynGpztX3l/ik7KmZEv19WCMhUBkHXPU9es/VWGD3/zg3wg90+Dh2rA== + dependencies: + "@typescript-eslint/types" "7.7.1" + "@typescript-eslint/visitor-keys" "7.7.1" + "@typescript-eslint/type-utils@7.7.0": version "7.7.0" resolved "https://registry.yarnpkg.com/@typescript-eslint/type-utils/-/type-utils-7.7.0.tgz#36792ff4209a781b058de61631a48df17bdefbc5" @@ -3151,6 +3187,16 @@ debug "^4.3.4" ts-api-utils "^1.3.0" +"@typescript-eslint/type-utils@7.7.1": + version "7.7.1" + resolved "https://registry.yarnpkg.com/@typescript-eslint/type-utils/-/type-utils-7.7.1.tgz#2f8094edca3bebdaad009008929df645ed9c8743" + integrity sha512-ZksJLW3WF7o75zaBPScdW1Gbkwhd/lyeXGf1kQCxJaOeITscoSl0MjynVvCzuV5boUz/3fOI06Lz8La55mu29Q== + dependencies: + "@typescript-eslint/typescript-estree" "7.7.1" + "@typescript-eslint/utils" "7.7.1" + debug "^4.3.4" + ts-api-utils "^1.3.0" + "@typescript-eslint/types@5.62.0": version "5.62.0" resolved "https://registry.yarnpkg.com/@typescript-eslint/types/-/types-5.62.0.tgz#258607e60effa309f067608931c3df6fed41fd2f" @@ -3161,6 +3207,11 @@ resolved "https://registry.yarnpkg.com/@typescript-eslint/types/-/types-7.7.0.tgz#23af4d24bf9ce15d8d301236e3e3014143604f27" integrity sha512-G01YPZ1Bd2hn+KPpIbrAhEWOn5lQBrjxkzHkWvP6NucMXFtfXoevK82hzQdpfuQYuhkvFDeQYbzXCjR1z9Z03w== +"@typescript-eslint/types@7.7.1": + version "7.7.1" + resolved "https://registry.yarnpkg.com/@typescript-eslint/types/-/types-7.7.1.tgz#f903a651fb004c75add08e4e9e207f169d4b98d7" + integrity sha512-AmPmnGW1ZLTpWa+/2omPrPfR7BcbUU4oha5VIbSbS1a1Tv966bklvLNXxp3mrbc+P2j4MNOTfDffNsk4o0c6/w== + "@typescript-eslint/typescript-estree@5.62.0", "@typescript-eslint/typescript-estree@^5.62.0": version "5.62.0" resolved "https://registry.yarnpkg.com/@typescript-eslint/typescript-estree/-/typescript-estree-5.62.0.tgz#7d17794b77fabcac615d6a48fb143330d962eb9b" @@ -3188,6 +3239,20 @@ semver "^7.6.0" ts-api-utils "^1.3.0" +"@typescript-eslint/typescript-estree@7.7.1": + version "7.7.1" + resolved "https://registry.yarnpkg.com/@typescript-eslint/typescript-estree/-/typescript-estree-7.7.1.tgz#5cafde48fe390fe1c1b329b2ce0ba8a73c1e87b2" + integrity sha512-CXe0JHCXru8Fa36dteXqmH2YxngKJjkQLjxzoj6LYwzZ7qZvgsLSc+eqItCrqIop8Vl2UKoAi0StVWu97FQZIQ== + dependencies: + "@typescript-eslint/types" "7.7.1" + "@typescript-eslint/visitor-keys" "7.7.1" + debug "^4.3.4" + globby "^11.1.0" + is-glob "^4.0.3" + minimatch "^9.0.4" + semver "^7.6.0" + ts-api-utils "^1.3.0" + "@typescript-eslint/utils@7.7.0", "@typescript-eslint/utils@^7.4.0": version "7.7.0" resolved "https://registry.yarnpkg.com/@typescript-eslint/utils/-/utils-7.7.0.tgz#3d2b6606a60ac34f3c625facfb3b3ab7e126f58d" @@ -3201,6 +3266,19 @@ "@typescript-eslint/typescript-estree" "7.7.0" semver "^7.6.0" +"@typescript-eslint/utils@7.7.1": + version "7.7.1" + resolved "https://registry.yarnpkg.com/@typescript-eslint/utils/-/utils-7.7.1.tgz#5d161f2b4a55e1bc38b634bebb921e4bd4e4a16e" + integrity sha512-QUvBxPEaBXf41ZBbaidKICgVL8Hin0p6prQDu6bbetWo39BKbWJxRsErOzMNT1rXvTll+J7ChrbmMCXM9rsvOQ== + dependencies: + "@eslint-community/eslint-utils" "^4.4.0" + "@types/json-schema" "^7.0.15" + "@types/semver" "^7.5.8" + "@typescript-eslint/scope-manager" "7.7.1" + "@typescript-eslint/types" "7.7.1" + "@typescript-eslint/typescript-estree" "7.7.1" + semver "^7.6.0" + "@typescript-eslint/utils@^5.62.0": version "5.62.0" resolved "https://registry.yarnpkg.com/@typescript-eslint/utils/-/utils-5.62.0.tgz#141e809c71636e4a75daa39faed2fb5f4b10df86" @@ -3231,6 +3309,14 @@ "@typescript-eslint/types" "7.7.0" eslint-visitor-keys "^3.4.3" +"@typescript-eslint/visitor-keys@7.7.1": + version "7.7.1" + resolved "https://registry.yarnpkg.com/@typescript-eslint/visitor-keys/-/visitor-keys-7.7.1.tgz#da2294796220bb0f3b4add5ecbb1b9c3f4f65798" + integrity sha512-gBL3Eq25uADw1LQ9kVpf3hRM+DWzs0uZknHYK3hq4jcTPqVCClHGDnB6UUUV2SFeBeA4KWHWbbLqmbGcZ4FYbw== + dependencies: + "@typescript-eslint/types" "7.7.1" + eslint-visitor-keys "^3.4.3" + "@ungap/structured-clone@^1.0.0": version "1.2.0" resolved "https://registry.yarnpkg.com/@ungap/structured-clone/-/structured-clone-1.2.0.tgz#756641adb587851b5ccb3e095daf27ae581c8406" @@ -10796,14 +10882,14 @@ typed-array-length@^1.0.6: is-typed-array "^1.1.13" possible-typed-array-names "^1.0.0" -typescript-eslint@7.7.0: - version "7.7.0" - resolved "https://registry.yarnpkg.com/typescript-eslint/-/typescript-eslint-7.7.0.tgz#b755e350dad25bb1e5b3826d11daa973dc0970ac" - integrity sha512-wZZ+7mTQJCn4mGAvzdERtL4vwKGM/mF9cMSMeKUllz3Hgbd1Mdd5L60Q+nJmCio9RB4OyMMr0EX4Ry2Q7jiAyw== +typescript-eslint@7.7.1: + version "7.7.1" + resolved "https://registry.yarnpkg.com/typescript-eslint/-/typescript-eslint-7.7.1.tgz#16f82e83bb0955af02f258cb7a9de59e1bfb8706" + integrity sha512-ykEBfa3xx3odjZy6GRED4SCPrjo0rgHwstLlEgLX4EMEuv7QeIDSmfV+S6Kk+XkbsYn4BDEcPvsci1X26lRpMQ== dependencies: - "@typescript-eslint/eslint-plugin" "7.7.0" - "@typescript-eslint/parser" "7.7.0" - "@typescript-eslint/utils" "7.7.0" + "@typescript-eslint/eslint-plugin" "7.7.1" + "@typescript-eslint/parser" "7.7.1" + "@typescript-eslint/utils" "7.7.1" typescript@5.4.2: version "5.4.2" From 43a3591d77749a0a8c45d435a096e6d244e2966f Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Mon, 22 Apr 2024 21:51:33 +0000 Subject: [PATCH 07/17] chore(deps): update eslint --- package.json | 6 ++--- yarn.lock | 72 +++++++++++++--------------------------------------- 2 files changed, 20 insertions(+), 58 deletions(-) diff --git a/package.json b/package.json index c3327f114e..1409ed9049 100644 --- a/package.json +++ b/package.json @@ -84,8 +84,8 @@ "@types/node": "20.12.7", "@types/react": "18.2.79", "@types/react-dom": "18.2.25", - "@typescript-eslint/eslint-plugin": "7.7.0", - "@typescript-eslint/parser": "7.7.0", + "@typescript-eslint/eslint-plugin": "7.7.1", + "@typescript-eslint/parser": "7.7.1", "@web/test-runner": "0.18.1", "@web/test-runner-commands": "0.9.0", "@web/test-runner-playwright": "0.11.0", @@ -94,7 +94,7 @@ "custom-elements-manifest": "2.0.0", "date-fns": "3.6.0", "esbuild-sass-plugin": "3.2.0", - "eslint": "9.1.0", + "eslint": "9.1.1", "eslint-config-prettier": "9.1.0", "eslint-import-resolver-typescript": "3.6.1", "eslint-plugin-import-x": "0.5.0", diff --git a/yarn.lock b/yarn.lock index ef50301f65..46320e9d53 100644 --- a/yarn.lock +++ b/yarn.lock @@ -3097,23 +3097,6 @@ dependencies: "@types/node" "*" -"@typescript-eslint/eslint-plugin@7.7.0": - version "7.7.0" - resolved "https://registry.yarnpkg.com/@typescript-eslint/eslint-plugin/-/eslint-plugin-7.7.0.tgz#bf34a02f221811505b8bf2f31060c8560c1bb0a3" - integrity sha512-GJWR0YnfrKnsRoluVO3PRb9r5aMZriiMMM/RHj5nnTrBy1/wIgk76XCtCKcnXGjpZQJQRFtGV9/0JJ6n30uwpQ== - dependencies: - "@eslint-community/regexpp" "^4.10.0" - "@typescript-eslint/scope-manager" "7.7.0" - "@typescript-eslint/type-utils" "7.7.0" - "@typescript-eslint/utils" "7.7.0" - "@typescript-eslint/visitor-keys" "7.7.0" - debug "^4.3.4" - graphemer "^1.4.0" - ignore "^5.3.1" - natural-compare "^1.4.0" - semver "^7.6.0" - ts-api-utils "^1.3.0" - "@typescript-eslint/eslint-plugin@7.7.1": version "7.7.1" resolved "https://registry.yarnpkg.com/@typescript-eslint/eslint-plugin/-/eslint-plugin-7.7.1.tgz#50a9044e3e5fe76b22caf64fb7fc1f97614bdbfd" @@ -3131,17 +3114,6 @@ semver "^7.6.0" ts-api-utils "^1.3.0" -"@typescript-eslint/parser@7.7.0": - version "7.7.0" - resolved "https://registry.yarnpkg.com/@typescript-eslint/parser/-/parser-7.7.0.tgz#6b1b3ce76c5de002c43af8ae933613b0f2b4bcc6" - integrity sha512-fNcDm3wSwVM8QYL4HKVBggdIPAy9Q41vcvC/GtDobw3c4ndVT3K6cqudUmjHPw8EAp4ufax0o58/xvWaP2FmTg== - dependencies: - "@typescript-eslint/scope-manager" "7.7.0" - "@typescript-eslint/types" "7.7.0" - "@typescript-eslint/typescript-estree" "7.7.0" - "@typescript-eslint/visitor-keys" "7.7.0" - debug "^4.3.4" - "@typescript-eslint/parser@7.7.1": version "7.7.1" resolved "https://registry.yarnpkg.com/@typescript-eslint/parser/-/parser-7.7.1.tgz#f940e9f291cdca40c46cb75916217d3a42d6ceea" @@ -3177,16 +3149,6 @@ "@typescript-eslint/types" "7.7.1" "@typescript-eslint/visitor-keys" "7.7.1" -"@typescript-eslint/type-utils@7.7.0": - version "7.7.0" - resolved "https://registry.yarnpkg.com/@typescript-eslint/type-utils/-/type-utils-7.7.0.tgz#36792ff4209a781b058de61631a48df17bdefbc5" - integrity sha512-bOp3ejoRYrhAlnT/bozNQi3nio9tIgv3U5C0mVDdZC7cpcQEDZXvq8inrHYghLVwuNABRqrMW5tzAv88Vy77Sg== - dependencies: - "@typescript-eslint/typescript-estree" "7.7.0" - "@typescript-eslint/utils" "7.7.0" - debug "^4.3.4" - ts-api-utils "^1.3.0" - "@typescript-eslint/type-utils@7.7.1": version "7.7.1" resolved "https://registry.yarnpkg.com/@typescript-eslint/type-utils/-/type-utils-7.7.1.tgz#2f8094edca3bebdaad009008929df645ed9c8743" @@ -3253,19 +3215,6 @@ semver "^7.6.0" ts-api-utils "^1.3.0" -"@typescript-eslint/utils@7.7.0", "@typescript-eslint/utils@^7.4.0": - version "7.7.0" - resolved "https://registry.yarnpkg.com/@typescript-eslint/utils/-/utils-7.7.0.tgz#3d2b6606a60ac34f3c625facfb3b3ab7e126f58d" - integrity sha512-LKGAXMPQs8U/zMRFXDZOzmMKgFv3COlxUQ+2NMPhbqgVm6R1w+nU1i4836Pmxu9jZAuIeyySNrN/6Rc657ggig== - dependencies: - "@eslint-community/eslint-utils" "^4.4.0" - "@types/json-schema" "^7.0.15" - "@types/semver" "^7.5.8" - "@typescript-eslint/scope-manager" "7.7.0" - "@typescript-eslint/types" "7.7.0" - "@typescript-eslint/typescript-estree" "7.7.0" - semver "^7.6.0" - "@typescript-eslint/utils@7.7.1": version "7.7.1" resolved "https://registry.yarnpkg.com/@typescript-eslint/utils/-/utils-7.7.1.tgz#5d161f2b4a55e1bc38b634bebb921e4bd4e4a16e" @@ -3293,6 +3242,19 @@ eslint-scope "^5.1.1" semver "^7.3.7" +"@typescript-eslint/utils@^7.4.0": + version "7.7.0" + resolved "https://registry.yarnpkg.com/@typescript-eslint/utils/-/utils-7.7.0.tgz#3d2b6606a60ac34f3c625facfb3b3ab7e126f58d" + integrity sha512-LKGAXMPQs8U/zMRFXDZOzmMKgFv3COlxUQ+2NMPhbqgVm6R1w+nU1i4836Pmxu9jZAuIeyySNrN/6Rc657ggig== + dependencies: + "@eslint-community/eslint-utils" "^4.4.0" + "@types/json-schema" "^7.0.15" + "@types/semver" "^7.5.8" + "@typescript-eslint/scope-manager" "7.7.0" + "@typescript-eslint/types" "7.7.0" + "@typescript-eslint/typescript-estree" "7.7.0" + semver "^7.6.0" + "@typescript-eslint/visitor-keys@5.62.0": version "5.62.0" resolved "https://registry.yarnpkg.com/@typescript-eslint/visitor-keys/-/visitor-keys-5.62.0.tgz#2174011917ce582875954ffe2f6912d5931e353e" @@ -5775,10 +5737,10 @@ eslint-visitor-keys@^4.0.0: resolved "https://registry.yarnpkg.com/eslint-visitor-keys/-/eslint-visitor-keys-4.0.0.tgz#e3adc021aa038a2a8e0b2f8b0ce8f66b9483b1fb" integrity sha512-OtIRv/2GyiF6o/d8K7MYKKbXrOUBIK6SfkIRM4Z0dY3w+LiQ0vy3F57m0Z71bjbyeiWFiHJ8brqnmE6H6/jEuw== -eslint@9.1.0: - version "9.1.0" - resolved "https://registry.yarnpkg.com/eslint/-/eslint-9.1.0.tgz#262625f6b0921f7550f128a0098d05ecaad989c6" - integrity sha512-1TCBecGFQtItia2o39P7Z4BK1X7ByNPxAiWJvwiyTGcOwYnTiiASgMpNA6a+beu8cFPhEDWvPf6mIlYUJv6sgA== +eslint@9.1.1: + version "9.1.1" + resolved "https://registry.yarnpkg.com/eslint/-/eslint-9.1.1.tgz#39ec657ccd12813cb4a1dab2f9229dcc6e468271" + integrity sha512-b4cRQ0BeZcSEzPpY2PjFY70VbO32K7BStTGtBsnIGdTSEEQzBi8hPBcGQmTG2zUvFr9uLe0TK42bw8YszuHEqg== dependencies: "@eslint-community/eslint-utils" "^4.2.0" "@eslint-community/regexpp" "^4.6.1" From 54d31922525677e1401d315154499fe308326148 Mon Sep 17 00:00:00 2001 From: mbleuer Date: Tue, 23 Apr 2024 07:06:43 +0200 Subject: [PATCH 08/17] fix(sbb-image): fix alt attribute and provide css var for aspect-ratio (#2607) --- src/components/image/image.e2e.ts | 2 +- src/components/image/image.scss | 2 +- src/components/image/image.ts | 16 +++++++++++++++- src/components/image/readme.md | 6 ++++++ 4 files changed, 23 insertions(+), 3 deletions(-) diff --git a/src/components/image/image.e2e.ts b/src/components/image/image.e2e.ts index fa31448834..fd14b825cc 100644 --- a/src/components/image/image.e2e.ts +++ b/src/components/image/image.e2e.ts @@ -41,7 +41,7 @@ describe(`sbb-image with ${fixture.name}`, () => { - + diff --git a/src/components/image/image.scss b/src/components/image/image.scss index 0189465a37..146b21bd2b 100644 --- a/src/components/image/image.scss +++ b/src/components/image/image.scss @@ -54,7 +54,7 @@ // aspect ratios 'free', '1-1', '1-2', '2-1', '2-3', '3-2', '3-4', '4-3', '4-5', '5-4', '9-16', '16-9' .image__figure--ratio-free .image__wrapper { - aspect-ratio: auto; + aspect-ratio: var(--sbb-image-aspect-ratio, auto); } .image__figure--ratio-1-1 .image__wrapper { diff --git a/src/components/image/image.ts b/src/components/image/image.ts index c7515ca941..f5a95c6ad4 100644 --- a/src/components/image/image.ts +++ b/src/components/image/image.ts @@ -59,6 +59,14 @@ const breakpointMap: Record = { /** * It displays an image. + * + * @cssprop [--sbb-image-aspect-ratio=auto] - When the aspectRatio property + * on the component is set to 'free', the CSS declaration of the aspect + * ratio is set to var(--sbb-image-aspect-ratio, auto). Since CSS + * variables find their way into the shadow DOM, we can use the + * --sbb-image-aspect-ratio variable to override the aspect ratio at will. + * This way we can have, for example, an image component with an aspect + * ratio of 4/3 in smaller viewports and 16/9 in larger viewports. */ @customElement('sbb-image') export class SbbImageElement extends LitElement { @@ -457,6 +465,12 @@ export class SbbImageElement extends LitElement { const pictureSizeConfigs = this._preparePictureSizeConfigs(); + /** + * The alt attribute should always be present for the img element. + * If it has an empty string as its value, it is simply ignored + * by assistive technologies. If we leave it out completely, + * they might try to interpret the img element. + */ return html`
Date: Tue, 23 Apr 2024 05:07:38 +0000 Subject: [PATCH 09/17] chore(deps): update dependency @commitlint/cli to v19.3.0 --- package.json | 2 +- yarn.lock | 18 +++++++++--------- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/package.json b/package.json index 1409ed9049..f8db96ea8e 100644 --- a/package.json +++ b/package.json @@ -59,7 +59,7 @@ "lit": "3.1.3" }, "devDependencies": { - "@commitlint/cli": "19.2.2", + "@commitlint/cli": "19.3.0", "@commitlint/config-conventional": "19.2.2", "@custom-elements-manifest/analyzer": "0.9.4", "@custom-elements-manifest/to-markdown": "0.1.0", diff --git a/yarn.lock b/yarn.lock index 46320e9d53..5d30e4fd49 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1051,12 +1051,12 @@ resolved "https://registry.yarnpkg.com/@colors/colors/-/colors-1.5.0.tgz#bb504579c1cae923e6576a4f5da43d25f97bdbd9" integrity sha512-ooWCrlZP11i8GImSjTHYHLkvFDP48nS4+204nGb1RiX/WXYHmJA2III9/e2DWVabCESdW7hBAEzHRqUn9OUVvQ== -"@commitlint/cli@19.2.2": - version "19.2.2" - resolved "https://registry.yarnpkg.com/@commitlint/cli/-/cli-19.2.2.tgz#7b6d78596dcf6d716942b147aa07c04c4ee126df" - integrity sha512-P8cbOHfg2PQRzfICLSrzUVOCVMqjEZ8Hlth6mtJ4yOEjT47Q5PbIGymgX3rLVylNw+3IAT2Djn9IJ2wHbXFzBg== +"@commitlint/cli@19.3.0": + version "19.3.0" + resolved "https://registry.yarnpkg.com/@commitlint/cli/-/cli-19.3.0.tgz#44e6da9823a01f0cdcc43054bbefdd2c6c5ddf39" + integrity sha512-LgYWOwuDR7BSTQ9OLZ12m7F/qhNY+NpAyPBgo4YNMkACE7lGuUnuQq1yi9hz1KA4+3VqpOYl8H1rY/LYK43v7g== dependencies: - "@commitlint/format" "^19.0.3" + "@commitlint/format" "^19.3.0" "@commitlint/lint" "^19.2.2" "@commitlint/load" "^19.2.0" "@commitlint/read" "^19.2.1" @@ -1097,10 +1097,10 @@ resolved "https://registry.yarnpkg.com/@commitlint/execute-rule/-/execute-rule-19.0.0.tgz#928fb239ae8deec82a6e3b05ec9cfe20afa83856" integrity sha512-mtsdpY1qyWgAO/iOK0L6gSGeR7GFcdW7tIjcNFxcWkfLDF5qVbPHKuGATFqRMsxcO8OUKNj0+3WOHB7EHm4Jdw== -"@commitlint/format@^19.0.3": - version "19.0.3" - resolved "https://registry.yarnpkg.com/@commitlint/format/-/format-19.0.3.tgz#6e3dcdc028b39d370ba717b8bde0853705c467dc" - integrity sha512-QjjyGyoiVWzx1f5xOteKHNLFyhyweVifMgopozSgx1fGNrGV8+wp7k6n1t6StHdJ6maQJ+UUtO2TcEiBFRyR6Q== +"@commitlint/format@^19.3.0": + version "19.3.0" + resolved "https://registry.yarnpkg.com/@commitlint/format/-/format-19.3.0.tgz#48dd9e6930d41eb0ca19f36159ee940c5b25d857" + integrity sha512-luguk5/aF68HiF4H23ACAfk8qS8AHxl4LLN5oxPc24H+2+JRPsNr1OS3Gaea0CrH7PKhArBMKBz5RX9sA5NtTg== dependencies: "@commitlint/types" "^19.0.3" chalk "^5.3.0" From e56cd1dac15c4dc4b50f5ec6099ce4e6d466ba1e Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Tue, 23 Apr 2024 10:07:06 +0200 Subject: [PATCH 10/17] chore(deps): update storybook monorepo to v8.0.9 (#2608) --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Jeremias Peier --- package.json | 20 +- src/components/accordion/accordion.stories.ts | 8 +- .../action-group/action-group.stories.ts | 12 +- .../alert/alert-group/alert-group.stories.ts | 2 +- src/components/alert/alert/alert.stories.ts | 8 +- .../breadcrumb/breadcrumb.stories.ts | 2 +- .../button/common/button-common-stories.ts | 2 +- .../common/button-link-common-stories.ts | 2 +- .../button/common/common-stories.ts | 6 +- .../button/mini-button/mini-button.stories.ts | 10 +- src/components/calendar/calendar.stories.ts | 2 +- .../card/card-badge/card-badge.stories.ts | 4 +- src/components/card/card/card.stories.ts | 42 +- .../checkbox-group/checkbox-group.stories.ts | 10 +- .../checkbox/checkbox/checkbox.stories.ts | 6 +- src/components/chip/chip.stories.ts | 14 +- .../container/container/container.stories.ts | 6 +- .../sticky-bar/sticky-bar.stories.ts | 12 +- .../datepicker/datepicker.stories.ts | 12 +- .../dialog-title/dialog-title.stories.ts | 4 +- .../dialog/dialog/dialog.stories.ts | 10 +- src/components/divider/divider.stories.ts | 2 +- .../expansion-panel.stories.ts | 8 +- .../file-selector/file-selector.stories.ts | 18 +- src/components/footer/footer.stories.ts | 8 +- .../form-field/form-field.stories.ts | 8 +- .../header-button/header-button.stories.ts | 4 +- .../header/header-link/header-link.stories.ts | 4 +- src/components/icon/icon.stories.ts | 2 +- src/components/image/image.stories.ts | 10 +- .../journey-header/journey-header.stories.ts | 8 +- .../journey-summary.stories.ts | 4 +- src/components/link-list/link-list.stories.ts | 8 +- .../link/common/link-common-stories.ts | 30 +- .../loading-indicator.stories.ts | 24 +- src/components/logo/logo.stories.ts | 8 +- .../menu/menu-button/menu-button.stories.ts | 2 +- .../menu/menu-link/menu-link.stories.ts | 2 +- .../navigation-button.stories.ts | 8 +- .../navigation-link.stories.ts | 8 +- .../navigation-marker.stories.ts | 6 +- .../notification/notification.stories.ts | 8 +- .../pearl-chain-vertical.stories.ts | 8 +- .../radio-button-group.stories.ts | 16 +- .../radio-button/radio-button.stories.ts | 4 +- src/components/select/select.stories.ts | 4 +- .../selection-panel.stories.ts | 10 +- src/components/signet/signet.stories.ts | 8 +- .../skiplink-list/skiplink-list.stories.ts | 6 +- .../tabs/tab-group/tab-group.stories.ts | 12 +- .../tabs/tab-title/tab-title.stories.ts | 2 +- .../teaser-hero/teaser-hero.stories.ts | 2 +- .../teaser-paid/teaser-paid.stories.ts | 2 +- src/components/teaser/teaser.stories.ts | 2 +- .../time-input/time-input.stories.ts | 4 +- .../timetable-occupancy-icon.stories.ts | 14 +- src/components/title/title.stories.ts | 14 +- .../toggle-check/toggle-check.stories.ts | 8 +- .../toggle-option/toggle-option.stories.ts | 8 +- .../toggle/toggle/toggle.stories.ts | 28 +- .../train/train-wagon/train-wagon.stories.ts | 18 +- src/components/train/train/train.stories.ts | 4 +- .../styles/scrollbar/scrollbar.stories.ts | 10 +- yarn.lock | 610 +++++++++--------- 64 files changed, 584 insertions(+), 584 deletions(-) diff --git a/package.json b/package.json index f8db96ea8e..68d9887b03 100644 --- a/package.json +++ b/package.json @@ -70,15 +70,15 @@ "@open-wc/lit-helpers": "0.7.0", "@open-wc/testing": "4.0.0", "@sbb-esta/lyne-design-tokens": "0.6.0", - "@storybook/addon-a11y": "8.0.8", - "@storybook/addon-actions": "8.0.8", - "@storybook/addon-essentials": "8.0.8", - "@storybook/addon-interactions": "8.0.8", - "@storybook/addon-links": "8.0.8", - "@storybook/blocks": "8.0.8", - "@storybook/test": "8.0.8", - "@storybook/web-components": "8.0.8", - "@storybook/web-components-vite": "8.0.8", + "@storybook/addon-a11y": "8.0.9", + "@storybook/addon-actions": "8.0.9", + "@storybook/addon-essentials": "8.0.9", + "@storybook/addon-interactions": "8.0.9", + "@storybook/addon-links": "8.0.9", + "@storybook/blocks": "8.0.9", + "@storybook/test": "8.0.9", + "@storybook/web-components": "8.0.9", + "@storybook/web-components-vite": "8.0.9", "@types/glob": "8.1.0", "@types/mocha": "10.0.6", "@types/node": "20.12.7", @@ -117,7 +117,7 @@ "rollup-plugin-postcss-lit": "2.1.0", "sass": "1.75.0", "sinon": "17.0.1", - "storybook": "8.0.8", + "storybook": "8.0.9", "stylelint": "16.3.1", "stylelint-config-prettier-scss": "1.0.0", "stylelint-config-standard-scss": "13.1.0", diff --git a/src/components/accordion/accordion.stories.ts b/src/components/accordion/accordion.stories.ts index f43274ef23..7a4ab51e8c 100644 --- a/src/components/accordion/accordion.stories.ts +++ b/src/components/accordion/accordion.stories.ts @@ -135,8 +135,8 @@ const defaultArgs: Args = { numberOfPanels: 3, multi: false, 'disable-animation': false, - 'title-level': titleLevel.options[2], - color: color.options[0], + 'title-level': titleLevel.options![2], + color: color.options![0], expanded: false, borderless: false, disabled: false, @@ -188,7 +188,7 @@ export const Default: StoryObj = { export const Milk: StoryObj = { render: Template, argTypes: defaultArgTypes, - args: { ...defaultArgs, color: color.options[1] }, + args: { ...defaultArgs, color: color.options![1] }, }; export const Borderless: StoryObj = { @@ -206,7 +206,7 @@ export const Disabled: StoryObj = { export const MilkBorderless: StoryObj = { render: Template, argTypes: defaultArgTypes, - args: { ...defaultArgs, color: color.options[1], borderless: true }, + args: { ...defaultArgs, color: color.options![1], borderless: true }, }; export const WithIcon: StoryObj = { diff --git a/src/components/action-group/action-group.stories.ts b/src/components/action-group/action-group.stories.ts index c54f3dfdbb..843f58e0f5 100644 --- a/src/components/action-group/action-group.stories.ts +++ b/src/components/action-group/action-group.stories.ts @@ -138,8 +138,8 @@ const basicArgs: Args = { 'align-group': 'start', orientation: 'horizontal', 'horizontal-from': 'unset', - 'button-size': buttonSize.options[0], - 'link-size': linkSize.options[0], + 'button-size': buttonSize.options![0], + 'link-size': linkSize.options![0], }; const basicArgsVertical = { @@ -154,14 +154,14 @@ const basicArgsVerticalFullWidth = { const basicArgsSizeS = { ...basicArgs, - 'button-size': buttonSize.options[2], - 'link-size': linkSize.options[2], + 'button-size': buttonSize.options![2], + 'link-size': linkSize.options![2], }; const basicArgsVerticalSizeS = { ...basicArgsVertical, - 'button-size': buttonSize.options[2], - 'link-size': linkSize.options[2], + 'button-size': buttonSize.options![2], + 'link-size': linkSize.options![2], }; export const HorizontalAllocation3_0_0: StoryObj = { diff --git a/src/components/alert/alert-group/alert-group.stories.ts b/src/components/alert/alert-group/alert-group.stories.ts index 31b6dbef8d..eb0d18ed7a 100644 --- a/src/components/alert/alert-group/alert-group.stories.ts +++ b/src/components/alert/alert-group/alert-group.stories.ts @@ -64,7 +64,7 @@ const defaultArgTypes: ArgTypes = { const defaultArgs: Args = { 'accessibility-title': 'Disruptions', - 'accessibility-title-level': accessibilityTitleLevel.options[1], + 'accessibility-title-level': accessibilityTitleLevel.options![1], role: 'status', 'aria-live': undefined, }; diff --git a/src/components/alert/alert/alert.stories.ts b/src/components/alert/alert/alert.stories.ts index c9fff79de7..07592b37b6 100644 --- a/src/components/alert/alert/alert.stories.ts +++ b/src/components/alert/alert/alert.stories.ts @@ -155,14 +155,14 @@ const defaultArgTypes: ArgTypes = { const defaultArgs: Args = { 'title-content': 'Interruption between Berne and Olten', 'title-level': 3, - size: size.options[0], + size: size.options![0], readonly: false, 'disable-animation': false, 'icon-name': 'info', 'content-slot-text': "Between Berne and Olten from 03.11.2021 to 05.12.2022 each time from 22:30 to 06:00 o'clock construction work will take place. You have to expect changed travel times and changed connections.", 'link-content': undefined, - href: href.options[0], + href: href.options![0], target: undefined, rel: undefined, 'accessibility-label': undefined, @@ -177,13 +177,13 @@ export const defaultAlert: StoryObj = { export const sizeL: StoryObj = { render: Default, argTypes: defaultArgTypes, - args: { ...defaultArgs, size: size.options[1] }, + args: { ...defaultArgs, size: size.options![1] }, }; export const sizeS: StoryObj = { render: Default, argTypes: defaultArgTypes, - args: { ...defaultArgs, size: size.options[2] }, + args: { ...defaultArgs, size: size.options![2] }, }; export const withoutCloseButton: StoryObj = { diff --git a/src/components/breadcrumb/breadcrumb/breadcrumb.stories.ts b/src/components/breadcrumb/breadcrumb/breadcrumb.stories.ts index 884e9dd228..26836c79e2 100644 --- a/src/components/breadcrumb/breadcrumb/breadcrumb.stories.ts +++ b/src/components/breadcrumb/breadcrumb/breadcrumb.stories.ts @@ -66,7 +66,7 @@ const defaultArgTypes: ArgTypes = { const defaultArgs: Args = { text: 'Breadcrumb', - href: href.options[0], + href: href.options![0], target: '_blank', rel: undefined, download: false, diff --git a/src/components/button/common/button-common-stories.ts b/src/components/button/common/button-common-stories.ts index 94919246fe..09a0d56b14 100644 --- a/src/components/button/common/button-common-stories.ts +++ b/src/components/button/common/button-common-stories.ts @@ -77,7 +77,7 @@ export const buttonDefaultArgTypes: ArgTypes = { export const buttonDefaultArgs: Args = { ...commonDefaultArgs, - type: type.options[0], + type: type.options![0], disabled: false, name: 'Button Name', value: undefined, diff --git a/src/components/button/common/button-link-common-stories.ts b/src/components/button/common/button-link-common-stories.ts index aa2ae89d49..811960b338 100644 --- a/src/components/button/common/button-link-common-stories.ts +++ b/src/components/button/common/button-link-common-stories.ts @@ -66,7 +66,7 @@ export const buttonLinkDefaultArgTypes: ArgTypes = { export const buttonLinkDefaultArgs: Args = { ...commonDefaultArgs, - href: href.options[0], + href: href.options![0], target: '_blank', rel: 'noopener', download: false, diff --git a/src/components/button/common/common-stories.ts b/src/components/button/common/common-stories.ts index a055908cab..eaa043c041 100644 --- a/src/components/button/common/common-stories.ts +++ b/src/components/button/common/common-stories.ts @@ -130,7 +130,7 @@ export const commonDefaultArgs: Args = { tag: 'TBD', text: 'Button', negative: false, - size: size.options[0], + size: size.options![0], 'icon-name': 'arrow-right-small', 'aria-label': undefined, }; @@ -188,14 +188,14 @@ export const noIcon: StoryObj = { export const sizeM: StoryObj = { render: Template, args: { - size: size.options[1], + size: size.options![1], }, }; export const sizeS: StoryObj = { render: Template, args: { - size: size.options[2], + size: size.options![2], }, }; diff --git a/src/components/button/mini-button/mini-button.stories.ts b/src/components/button/mini-button/mini-button.stories.ts index b57eff97bf..d328361870 100644 --- a/src/components/button/mini-button/mini-button.stories.ts +++ b/src/components/button/mini-button/mini-button.stories.ts @@ -55,7 +55,7 @@ const miniButtonDefaultArgTypes: ArgTypes = { const miniButtonDefaultArgs: Args = { ...buttonDefaultArgs, 'icon-name': 'pen-small', - slot: slot.options[0], + slot: slot.options![0], }; ['size', 'text'].forEach((e: string) => { @@ -84,22 +84,22 @@ export const PrefixSlottedIcon: StoryObj = { export const Suffix: StoryObj = { render: MiniButtonCommonTemplate, - args: { slot: slot.options[1] }, + args: { slot: slot.options![1] }, }; export const SuffixNegative: StoryObj = { render: MiniButtonCommonTemplate, - args: { slot: slot.options[1], negative: true }, + args: { slot: slot.options![1], negative: true }, }; export const SuffixDisabled: StoryObj = { render: MiniButtonCommonTemplate, - args: { slot: slot.options[1], disabled: true }, + args: { slot: slot.options![1], disabled: true }, }; export const SuffixSlottedIcon: StoryObj = { render: MiniButtonSlottedIconCommonTemplate, - args: { slot: slot.options[1], 'icon-name': undefined }, + args: { slot: slot.options![1], 'icon-name': undefined }, }; const meta: Meta = { diff --git a/src/components/calendar/calendar.stories.ts b/src/components/calendar/calendar.stories.ts index 9d062ca9b9..9c53c489e5 100644 --- a/src/components/calendar/calendar.stories.ts +++ b/src/components/calendar/calendar.stories.ts @@ -167,7 +167,7 @@ export const CalendarFilterFunction: StoryObj = { ...defaultArgs, // Workaround: On Chromatic mapping functions do not work, so we remove it. // TODO: Check if condition can be removed after refactoring Chromatic generation @kyubisation - dateFilter: isChromatic() ? filterFunctions[1] : dateFilter.options[2], + dateFilter: isChromatic() ? filterFunctions[1] : dateFilter.options![2], }, }; diff --git a/src/components/card/card-badge/card-badge.stories.ts b/src/components/card/card-badge/card-badge.stories.ts index 9a9033394a..df38b00f10 100644 --- a/src/components/card/card-badge/card-badge.stories.ts +++ b/src/components/card/card-badge/card-badge.stories.ts @@ -35,7 +35,7 @@ const defaultArgTypes: ArgTypes = { const defaultArgs: Args = { 'aria-label': 'Super saver sales ticket price starts at CHF 92.50 Black Friday Special', - color: color.options[0], + color: color.options![0], }; const Template = (args: Args): TemplateResult => html` @@ -60,7 +60,7 @@ export const White: StoryObj = { argTypes: defaultArgTypes, args: { ...defaultArgs, - color: color.options[1], + color: color.options![1], }, }; diff --git a/src/components/card/card/card.stories.ts b/src/components/card/card/card.stories.ts index 6f8e1e21c5..6d6332117b 100644 --- a/src/components/card/card/card.stories.ts +++ b/src/components/card/card/card.stories.ts @@ -244,14 +244,14 @@ const defaultArgTypesLink: ArgTypes = { const defaultArgs: Args = { size: 'm', - color: color.options[0], + color: color.options![0], }; const defaultArgsLink = { ...defaultArgs, active: false, label: 'Click this card to follow the action.', - href: href.options[1], + href: href.options![1], download: false, target: '_blank', rel: undefined, @@ -268,7 +268,7 @@ const defaultArgsButton = { target: undefined, rel: undefined, name: 'Button name', - type: type.options[0], + type: type.options![0], form: 'form-name', value: 'Value', }; @@ -286,7 +286,7 @@ export const ColorMilk: StoryObj = { argTypes: defaultArgTypes, args: { ...defaultArgs, - color: color.options[1], + color: color.options![1], }, }; @@ -295,7 +295,7 @@ export const ColorTransparent: StoryObj = { argTypes: defaultArgTypes, args: { ...defaultArgs, - color: color.options[2], + color: color.options![2], }, }; @@ -304,7 +304,7 @@ export const ColorTransparentBorderedDashed: StoryObj = { argTypes: defaultArgTypes, args: { ...defaultArgs, - color: color.options[3], + color: color.options![3], }, }; @@ -313,7 +313,7 @@ export const SizeXS: StoryObj = { argTypes: defaultArgTypes, args: { ...defaultArgs, - size: size.options[0], + size: size.options![0], }, }; @@ -322,7 +322,7 @@ export const SizeS: StoryObj = { argTypes: defaultArgTypes, args: { ...defaultArgs, - size: size.options[1], + size: size.options![1], }, }; @@ -331,7 +331,7 @@ export const SizeM: StoryObj = { argTypes: defaultArgTypes, args: { ...defaultArgs, - size: size.options[2], + size: size.options![2], }, }; @@ -340,7 +340,7 @@ export const SizeL: StoryObj = { argTypes: defaultArgTypes, args: { ...defaultArgs, - size: size.options[3], + size: size.options![3], }, }; @@ -349,7 +349,7 @@ export const SizeXL: StoryObj = { argTypes: defaultArgTypes, args: { ...defaultArgs, - size: size.options[4], + size: size.options![4], }, }; @@ -358,7 +358,7 @@ export const SizeXXL: StoryObj = { argTypes: defaultArgTypes, args: { ...defaultArgs, - size: size.options[5], + size: size.options![5], }, }; @@ -367,7 +367,7 @@ export const SizeXXXL: StoryObj = { argTypes: defaultArgTypes, args: { ...defaultArgs, - size: size.options[6], + size: size.options![6], }, }; @@ -376,7 +376,7 @@ export const SizeMWithBadge: StoryObj = { argTypes: defaultArgTypes, args: { ...defaultArgs, - size: size.options[2], + size: size.options![2], }, }; @@ -385,7 +385,7 @@ export const SizeLWithBadge: StoryObj = { argTypes: defaultArgTypes, args: { ...defaultArgs, - size: size.options[3], + size: size.options![3], }, }; @@ -394,7 +394,7 @@ export const SizeXLWithBadge: StoryObj = { argTypes: defaultArgTypes, args: { ...defaultArgs, - size: size.options[4], + size: size.options![4], }, }; @@ -403,7 +403,7 @@ export const SizeXXLWithBadge: StoryObj = { argTypes: defaultArgTypes, args: { ...defaultArgs, - size: size.options[5], + size: size.options![5], }, }; @@ -412,7 +412,7 @@ export const SizeXXXLWithBadge: StoryObj = { argTypes: defaultArgTypes, args: { ...defaultArgs, - size: size.options[6], + size: size.options![6], }, }; @@ -439,7 +439,7 @@ export const ButtonActiveMilk: StoryObj = { argTypes: defaultArgTypesButton, args: { ...defaultArgsButton, - color: color.options[1], + color: color.options![1], active: true, }, }; @@ -449,7 +449,7 @@ export const ButtonActiveTransparentBordered: StoryObj = { argTypes: defaultArgTypesButton, args: { ...defaultArgsButton, - color: color.options[2], + color: color.options![2], active: true, }, }; @@ -459,7 +459,7 @@ export const ButtonActiveTransparentBorderedDashed: StoryObj = { argTypes: defaultArgTypesButton, args: { ...defaultArgsButton, - color: color.options[3], + color: color.options![3], active: true, }, }; diff --git a/src/components/checkbox/checkbox-group/checkbox-group.stories.ts b/src/components/checkbox/checkbox-group/checkbox-group.stories.ts index f340d7d098..0517d24f0b 100644 --- a/src/components/checkbox/checkbox-group/checkbox-group.stories.ts +++ b/src/components/checkbox/checkbox-group/checkbox-group.stories.ts @@ -261,9 +261,9 @@ const basicArgTypes: ArgTypes = { const basicArgs: Args = { disabled: false, required: false, - orientation: orientation.options[0], + orientation: orientation.options![0], 'horizontal-from': undefined, - size: size.options[1], + size: size.options![1], label: 'Label', checked: true, disabledSingle: false, @@ -273,17 +273,17 @@ const basicArgs: Args = { const basicArgsVertical = { ...basicArgs, - orientation: orientation.options[1], + orientation: orientation.options![1], }; const iconStart: Args = { iconName: 'tickets-class-small', - iconPlacement: iconPlacement.options[0], + iconPlacement: iconPlacement.options![0], }; const iconEnd: Args = { iconName: 'tickets-class-small', - iconPlacement: iconPlacement.options[1], + iconPlacement: iconPlacement.options![1], }; export const horizontal: StoryObj = { diff --git a/src/components/checkbox/checkbox/checkbox.stories.ts b/src/components/checkbox/checkbox/checkbox.stories.ts index 95812e52e8..433f476fb8 100644 --- a/src/components/checkbox/checkbox/checkbox.stories.ts +++ b/src/components/checkbox/checkbox/checkbox.stories.ts @@ -103,7 +103,7 @@ const defaultArgTypes: ArgTypes = { }; const defaultArgs: Args = { - size: size.options[1], + size: size.options![1], checked: false, indeterminate: false, disabled: false, @@ -172,7 +172,7 @@ export const defaultIndeterminate: StoryObj = { 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, @@ -191,7 +191,7 @@ export const checkedWithIconStart: StoryObj = { ...defaultArgs, checked: true, 'icon-name': 'tickets-class-small', - 'icon-placement': iconPlacement.options[0], + 'icon-placement': iconPlacement.options![0], }, }; export const disabledChecked: StoryObj = { diff --git a/src/components/chip/chip.stories.ts b/src/components/chip/chip.stories.ts index 124bcb0c5b..e80cd9e461 100644 --- a/src/components/chip/chip.stories.ts +++ b/src/components/chip/chip.stories.ts @@ -44,8 +44,8 @@ const defaultArgTypes: ArgTypes = { }; const defaultArgs: Args = { - size: size.options[0], - color: color.options[0], + size: size.options![0], + color: color.options![0], label: 'Label', }; @@ -70,7 +70,7 @@ export const MilkXS: StoryObj = { argTypes: defaultArgTypes, args: { ...defaultArgs, - size: size.options[1], + size: size.options![1], }, }; @@ -79,7 +79,7 @@ export const MilkS: StoryObj = { argTypes: defaultArgTypes, args: { ...defaultArgs, - size: size.options[2], + size: size.options![2], }, }; @@ -88,7 +88,7 @@ export const Charcoal: StoryObj = { argTypes: defaultArgTypes, args: { ...defaultArgs, - color: color.options[1], + color: color.options![1], }, }; @@ -97,7 +97,7 @@ export const White: StoryObj = { argTypes: defaultArgTypes, args: { ...defaultArgs, - color: color.options[2], + color: color.options![2], }, }; @@ -106,7 +106,7 @@ export const Granite: StoryObj = { argTypes: defaultArgTypes, args: { ...defaultArgs, - color: color.options[3], + color: color.options![3], }, }; diff --git a/src/components/container/container/container.stories.ts b/src/components/container/container/container.stories.ts index 857b521db4..f0d6612f50 100644 --- a/src/components/container/container/container.stories.ts +++ b/src/components/container/container/container.stories.ts @@ -44,7 +44,7 @@ const defaultArgTypes: ArgTypes = { const defaultArgs: Args = { expanded: false, - color: color.options[0], + color: color.options![0], }; const DefaultTemplate = ({ color, ...args }: Args): TemplateResult => html` @@ -63,13 +63,13 @@ export const Default: StoryObj = { export const Transparent: StoryObj = { render: DefaultTemplate, argTypes: defaultArgTypes, - args: { ...defaultArgs, color: color.options[1] }, + args: { ...defaultArgs, color: color.options![1] }, }; export const Milk: StoryObj = { render: DefaultTemplate, argTypes: defaultArgTypes, - args: { ...defaultArgs, color: color.options[2] }, + args: { ...defaultArgs, color: color.options![2] }, }; export const Expanded: StoryObj = { diff --git a/src/components/container/sticky-bar/sticky-bar.stories.ts b/src/components/container/sticky-bar/sticky-bar.stories.ts index 96514bfa5e..5f79c5034a 100644 --- a/src/components/container/sticky-bar/sticky-bar.stories.ts +++ b/src/components/container/sticky-bar/sticky-bar.stories.ts @@ -62,8 +62,8 @@ const defaultArgTypes: ArgTypes = { const defaultArgs: Args = { expanded: false, - color: color.options[0], - containerColor: containerColor.options[0], + color: color.options![0], + containerColor: containerColor.options![0], disableAnimation: isChromatic(), }; @@ -210,13 +210,13 @@ export const Expanded: StoryObj = { export const White: StoryObj = { render: DefaultTemplate, argTypes: defaultArgTypes, - args: { ...defaultArgs, color: color.options[1] }, + args: { ...defaultArgs, color: color.options![1] }, }; export const Milk: StoryObj = { render: DefaultTemplate, argTypes: defaultArgTypes, - args: { ...defaultArgs, color: color.options[2] }, + args: { ...defaultArgs, color: color.options![2] }, }; export const WithContentAfter: StoryObj = { @@ -228,13 +228,13 @@ export const WithContentAfter: StoryObj = { export const MilkContainer: StoryObj = { render: DefaultTemplate, argTypes: defaultArgTypes, - args: { ...defaultArgs, containerColor: color.options[2] }, + args: { ...defaultArgs, containerColor: color.options![2] }, }; export const MilkContainerWhiteStickyBar: StoryObj = { render: DefaultTemplate, argTypes: defaultArgTypes, - args: { ...defaultArgs, containerColor: color.options[2], color: color.options[1] }, + args: { ...defaultArgs, containerColor: color.options![2], color: color.options![1] }, }; const meta: Meta = { diff --git a/src/components/datepicker/datepicker/datepicker.stories.ts b/src/components/datepicker/datepicker/datepicker.stories.ts index faec51d661..2142eb87bd 100644 --- a/src/components/datepicker/datepicker/datepicker.stories.ts +++ b/src/components/datepicker/datepicker/datepicker.stories.ts @@ -264,8 +264,8 @@ const basicArgs: Args = { min: undefined, max: undefined, wide: false, - dateFilter: dateFilter.options[0], - dateHandling: dateHandling.options[0], + dateFilter: dateFilter.options![0], + dateHandling: dateHandling.options![0], 'aria-label': undefined, disableAnimation: isChromatic(), dataNow: isChromatic() ? new Date(2023, 0, 12, 0, 0, 0).valueOf() : undefined, @@ -283,7 +283,7 @@ const formFieldBasicArgsTypes: ArgTypes = { const formFieldBasicArgs = { ...basicArgs, label: 'Label', - size: size.options[0], + size: size.options![0], negative: false, optional: false, borderless: false, @@ -468,19 +468,19 @@ export const InFormFieldWithMinAndMax: StoryObj = { export const InFormFieldWithDateFilter: StoryObj = { render: TemplateFormField, argTypes: { ...formFieldBasicArgsTypes }, - args: { ...formFieldBasicArgs, dateFilter: dateFilter.options[1] }, + args: { ...formFieldBasicArgs, dateFilter: dateFilter.options![1] }, }; export const InFormFieldWithDateParser: StoryObj = { render: TemplateFormField, argTypes: { ...formFieldBasicArgsTypes }, - args: { ...formFieldBasicArgs, value: '2023-02-12', dateHandling: dateHandling.options[1] }, + args: { ...formFieldBasicArgs, value: '2023-02-12', dateHandling: dateHandling.options![1] }, }; export const InFormFieldLarge: StoryObj = { render: TemplateFormField, argTypes: { ...formFieldBasicArgsTypes }, - args: { ...formFieldBasicArgs, size: size.options[1] }, + args: { ...formFieldBasicArgs, size: size.options![1] }, }; export const InFormFieldOptional: StoryObj = { diff --git a/src/components/dialog/dialog-title/dialog-title.stories.ts b/src/components/dialog/dialog-title/dialog-title.stories.ts index c6d221ba85..f0ba3b286b 100644 --- a/src/components/dialog/dialog-title/dialog-title.stories.ts +++ b/src/components/dialog/dialog-title/dialog-title.stories.ts @@ -27,7 +27,7 @@ const hideOnScroll: InputType = { control: { type: 'select', }, - options: breakpoints, + options: [...breakpoints], }; const accessibilityCloseLabel: InputType = { @@ -58,7 +58,7 @@ const defaultArgTypes: ArgTypes = { const defaultArgs: Args = { 'back-button': true, - 'hide-on-scroll': hideOnScroll.options[0], + 'hide-on-scroll': hideOnScroll.options![0], 'accessibility-close-label': 'Close dialog', 'accessibility-back-label': 'Go back', }; diff --git a/src/components/dialog/dialog/dialog.stories.ts b/src/components/dialog/dialog/dialog.stories.ts index 5ffe7d2dc2..3286f617a4 100644 --- a/src/components/dialog/dialog/dialog.stories.ts +++ b/src/components/dialog/dialog/dialog.stories.ts @@ -134,15 +134,15 @@ const basicArgTypes: ArgTypes = { }; const basicArgs: Args = { - level: level.options[1], + level: level.options![1], backButton: true, - hideOnScroll: hideOnScroll.options[0], + hideOnScroll: hideOnScroll.options![0], accessibilityCloseLabel: 'Close dialog', accessibilityBackLabel: 'Go back', negative: false, 'accessibility-label': undefined, 'disable-animation': isChromatic(), - 'backdrop-action': backdropAction.options[0], + 'backdrop-action': backdropAction.options![0], }; const openDialog = (_event: PointerEvent, id: string): void => { @@ -418,7 +418,7 @@ export const Negative: StoryObj = { export const AllowBackdropClick: StoryObj = { render: DefaultTemplate, argTypes: basicArgTypes, - args: { ...basicArgs, 'backdrop-action': backdropAction.options[1] }, + args: { ...basicArgs, 'backdrop-action': backdropAction.options![1] }, play: isChromatic() ? playStory : undefined, }; @@ -432,7 +432,7 @@ export const LongContent: StoryObj = { export const HiddenTitle: StoryObj = { render: LongContentTemplate, argTypes: basicArgTypes, - args: { ...basicArgs, hideOnScroll: hideOnScroll.options[7] }, + args: { ...basicArgs, hideOnScroll: hideOnScroll.options![7] }, }; export const Form: StoryObj = { diff --git a/src/components/divider/divider.stories.ts b/src/components/divider/divider.stories.ts index 5acfbf7434..b4e3ea5049 100644 --- a/src/components/divider/divider.stories.ts +++ b/src/components/divider/divider.stories.ts @@ -43,7 +43,7 @@ const defaultArgTypes: ArgTypes = { }; const defaultArgs: Args = { - orientation: orientation.options[0], + orientation: orientation.options![0], negative: false, }; diff --git a/src/components/expansion-panel/expansion-panel/expansion-panel.stories.ts b/src/components/expansion-panel/expansion-panel/expansion-panel.stories.ts index ecf5958553..7df2625041 100644 --- a/src/components/expansion-panel/expansion-panel/expansion-panel.stories.ts +++ b/src/components/expansion-panel/expansion-panel/expansion-panel.stories.ts @@ -109,8 +109,8 @@ const defaultArgs: Args = { iconName: undefined, contentText: 'Content', expanded: false, - 'title-level': titleLevel.options[2], - color: color.options[0], + 'title-level': titleLevel.options![2], + color: color.options![0], borderless: false, disabled: false, 'disable-animation': false, @@ -149,7 +149,7 @@ export const Default: StoryObj = { export const Milk: StoryObj = { render: Template, argTypes: defaultArgTypes, - args: { ...defaultArgs, color: color.options[1] }, + args: { ...defaultArgs, color: color.options![1] }, }; export const Borderless: StoryObj = { @@ -179,7 +179,7 @@ export const WithSlottedIcon: StoryObj = { export const NoHeadingTag: StoryObj = { render: Template, argTypes: defaultArgTypes, - args: { ...defaultArgs, 'title-level': titleLevel.options[6] }, + args: { ...defaultArgs, 'title-level': titleLevel.options![6] }, }; export const Expanded: StoryObj = { diff --git a/src/components/file-selector/file-selector.stories.ts b/src/components/file-selector/file-selector.stories.ts index 625009978d..40804d4659 100644 --- a/src/components/file-selector/file-selector.stories.ts +++ b/src/components/file-selector/file-selector.stories.ts @@ -67,11 +67,11 @@ const defaultArgTypes: ArgTypes = { }; const defaultArgs: Args = { - variant: variant.options[0], + variant: variant.options![0], disabled: false, 'title-content': 'Title', multiple: false, - 'multiple-mode': multipleMode.options[0], + 'multiple-mode': multipleMode.options![0], accept: undefined, 'accessibility-label': 'Select from hard disk', }; @@ -126,25 +126,25 @@ export const DefaultMulti: StoryObj = { export const DefaultMultiPersistent: StoryObj = { render: Template, argTypes: defaultArgTypes, - args: { ...multipleDefaultArgs, 'multiple-mode': multipleMode.options[1] }, + args: { ...multipleDefaultArgs, 'multiple-mode': multipleMode.options![1] }, }; export const Dropzone: StoryObj = { render: Template, argTypes: defaultArgTypes, - args: { ...defaultArgs, variant: variant.options[1] }, + args: { ...defaultArgs, variant: variant.options![1] }, }; export const DropzoneDisabled: StoryObj = { render: Template, argTypes: defaultArgTypes, - args: { ...defaultArgs, variant: variant.options[1], disabled: true }, + args: { ...defaultArgs, variant: variant.options![1], disabled: true }, }; export const DropzoneMulti: StoryObj = { render: Template, argTypes: defaultArgTypes, - args: { ...multipleDefaultArgs, variant: variant.options[1] }, + args: { ...multipleDefaultArgs, variant: variant.options![1] }, }; export const DropzoneMultiPersistent: StoryObj = { @@ -152,8 +152,8 @@ export const DropzoneMultiPersistent: StoryObj = { argTypes: defaultArgTypes, args: { ...multipleDefaultArgs, - variant: variant.options[1], - 'multiple-mode': multipleMode.options[1], + variant: variant.options![1], + 'multiple-mode': multipleMode.options![1], }, }; @@ -166,7 +166,7 @@ export const DefaultWithError: StoryObj = { export const DropzoneWithError: StoryObj = { render: TemplateWithError, argTypes: defaultArgTypes, - args: { ...defaultArgs, variant: variant.options[1] }, + args: { ...defaultArgs, variant: variant.options![1] }, }; export const DefaultOnlyPDF: StoryObj = { diff --git a/src/components/footer/footer.stories.ts b/src/components/footer/footer.stories.ts index a45113dad4..3c3d391a30 100644 --- a/src/components/footer/footer.stories.ts +++ b/src/components/footer/footer.stories.ts @@ -50,7 +50,7 @@ const defaultArgTypes: ArgTypes = { }; const defaultArgs: Args = { - variant: variant.options[1], + variant: variant.options![1], negative: false, expanded: false, 'accessibility-title': 'Footer', @@ -259,7 +259,7 @@ export const FooterDefault: StoryObj = { argTypes: defaultArgTypes, args: { ...defaultArgs, - variant: variant.options[0], + variant: variant.options![0], }, }; @@ -268,7 +268,7 @@ export const FooterDefaultNegative: StoryObj = { argTypes: defaultArgTypes, args: { ...defaultArgs, - variant: variant.options[0], + variant: variant.options![0], negative: true, }, }; @@ -278,7 +278,7 @@ export const FooterDefaultExpanded: StoryObj = { argTypes: defaultArgTypes, args: { ...defaultArgs, - variant: variant.options[0], + variant: variant.options![0], expanded: true, }, }; diff --git a/src/components/form-field/form-field/form-field.stories.ts b/src/components/form-field/form-field/form-field.stories.ts index e7842ff40a..1e097be42c 100644 --- a/src/components/form-field/form-field/form-field.stories.ts +++ b/src/components/form-field/form-field/form-field.stories.ts @@ -463,7 +463,7 @@ const basicArgs: Args = { 'floating-label': false, optional: false, borderless: false, - size: size.options[0], + size: size.options![0], negative: false, cssClass: '', placeholder: 'Input placeholder', @@ -471,7 +471,7 @@ const basicArgs: Args = { disabled: false, readonly: false, errorText: 'This is a required field.', - width: width.options[0], + width: width.options![0], active: false, }; @@ -710,7 +710,7 @@ export const TextareaFloatingWithIcon: StoryObj = { export const InputCollapsedWidth: StoryObj = { render: TemplateInput, argTypes: basicArgTypes, - args: { ...basicArgs, width: width.options[1] }, + args: { ...basicArgs, width: width.options![1] }, }; export const InputWithIconsDisabled: StoryObj = { @@ -876,7 +876,7 @@ export const SelectOptionalAndIconsNegative: StoryObj = { export const InputCollapsedWidthNegative: StoryObj = { render: TemplateInput, argTypes: basicArgTypes, - args: { ...basicArgs, width: width.options[1], negative: true }, + args: { ...basicArgs, width: width.options![1], negative: true }, }; export const InputWithIconsDisabledNegative: StoryObj = { diff --git a/src/components/header/header-button/header-button.stories.ts b/src/components/header/header-button/header-button.stories.ts index 812efc9c88..61c911e959 100644 --- a/src/components/header/header-button/header-button.stories.ts +++ b/src/components/header/header-button/header-button.stories.ts @@ -94,9 +94,9 @@ const basicArgTypes: ArgTypes = { const basicArgs: Args = { text: 'Menu', - 'expand-from': expandFrom.options[0], + 'expand-from': expandFrom.options![0], 'icon-name': 'hamburger-menu-small', - type: type.options[0], + type: type.options![0], name: 'header-button', value: 'value', form: 'form', diff --git a/src/components/header/header-link/header-link.stories.ts b/src/components/header/header-link/header-link.stories.ts index 7ddf3a2bca..d06a66ebb4 100644 --- a/src/components/header/header-link/header-link.stories.ts +++ b/src/components/header/header-link/header-link.stories.ts @@ -101,9 +101,9 @@ const basicArgTypes: ArgTypes = { const basicArgs: Args = { text: 'Menu', - 'expand-from': expandFrom.options[0], + 'expand-from': expandFrom.options![0], 'icon-name': 'hamburger-menu-small', - href: href.options[1], + href: href.options![1], target: '_blank', rel: undefined, download: false, diff --git a/src/components/icon/icon.stories.ts b/src/components/icon/icon.stories.ts index 6681e2cab8..448fd17f16 100644 --- a/src/components/icon/icon.stories.ts +++ b/src/components/icon/icon.stories.ts @@ -32,7 +32,7 @@ export const Default: StoryObj = { render: Template, argTypes: defaultArgTypes, args: { - name: iconName.options[0], + name: iconName.options![0], }, }; diff --git a/src/components/image/image.stories.ts b/src/components/image/image.stories.ts index ac9cbdf4c6..c4ab4054d1 100644 --- a/src/components/image/image.stories.ts +++ b/src/components/image/image.stories.ts @@ -144,15 +144,15 @@ const defaultArgs: Args = { caption: undefined, // we need a string and not boolean, otherwise storybook add/remove the attribute but don't write the value 'border-radius': 'default', - 'aspect-ratio': aspectRatio.options[0], + 'aspect-ratio': aspectRatio.options![0], copyright: '', - 'copyright-holder': copyrightHolder.options[0], + 'copyright-holder': copyrightHolder.options![0], 'custom-focal-point': false, 'focal-point-debug': false, 'focal-point-x': '', 'focal-point-y': '', - 'image-src': imageSrc.options[0], - loading: loading.options[1], + 'image-src': imageSrc.options![0], + loading: loading.options![1], 'skip-lqip': false, 'performance-mark': '', 'disable-animation': isChromatic(), @@ -173,7 +173,7 @@ export const TransparentImage: StoryObj = { argTypes: defaultArgTypes, args: { ...defaultArgs, - 'image-src': imageSrc.options[9], + 'image-src': imageSrc.options![9], }, }; diff --git a/src/components/journey-header/journey-header.stories.ts b/src/components/journey-header/journey-header.stories.ts index d4cd02e954..ba048a2121 100644 --- a/src/components/journey-header/journey-header.stories.ts +++ b/src/components/journey-header/journey-header.stories.ts @@ -66,8 +66,8 @@ const defaultArgs: Args = { origin: 'La Chaux de Fonds', destination: 'Loèche-les-Bains', 'round-trip': false, - level: level.options[2], - size: size.options[0], + level: level.options![2], + size: size.options![0], negative: false, }; @@ -106,7 +106,7 @@ export const SizeMRoundTripShortText: StoryObj = { export const SizeL: StoryObj = { render: Template, argTypes: defaultArgTypes, - args: { ...defaultArgs, size: size.options[1] }, + args: { ...defaultArgs, size: size.options![1] }, }; export const SizeLRoundTripShortText: StoryObj = { @@ -117,7 +117,7 @@ export const SizeLRoundTripShortText: StoryObj = { origin: 'Bern', destination: 'Thun', 'round-trip': true, - size: size.options[1], + size: size.options![1], }, }; diff --git a/src/components/journey-summary/journey-summary.stories.ts b/src/components/journey-summary/journey-summary.stories.ts index 9645f49cc8..ba8cd05bcf 100644 --- a/src/components/journey-summary/journey-summary.stories.ts +++ b/src/components/journey-summary/journey-summary.stories.ts @@ -78,7 +78,7 @@ const defaultArgs: Args = { 'disable-animation': isChromatic(), 'data-now': new Date('2022-12-05T12:11:00').valueOf(), 'round-trip': false, - 'header-level': headerLevel.options[2], + 'header-level': headerLevel.options![2], trip: undefined, tripBack: undefined, }; @@ -242,7 +242,7 @@ export const summaryHeaderLevel: StoryObj = { argTypes: defaultArgTypes, args: { ...defaultArgs, - 'header-level': headerLevel.options[4], + 'header-level': headerLevel.options![4], trip: { legs: [pastLeg, progressLeg, futureLeg], origin: 'Bern', diff --git a/src/components/link-list/link-list.stories.ts b/src/components/link-list/link-list.stories.ts index 7fc40a1274..a24b2614f4 100644 --- a/src/components/link-list/link-list.stories.ts +++ b/src/components/link-list/link-list.stories.ts @@ -101,11 +101,11 @@ const defaultArgTypes: ArgTypes = { }; const defaultArgs: Args = { - orientation: orientation.options[0], + orientation: orientation.options![0], 'horizontal-from': undefined, - size: size.options[1], + size: size.options![1], negative: false, - 'title-level': titleLevel.options[0], + 'title-level': titleLevel.options![0], 'title-content': 'Help & Contact', }; @@ -122,7 +122,7 @@ export const LinkListXS: StoryObj = { argTypes: defaultArgTypes, args: { ...defaultArgs, - size: size.options[0], + size: size.options![0], }, }; diff --git a/src/components/link/common/link-common-stories.ts b/src/components/link/common/link-common-stories.ts index 6d4de19e60..659dc9cd51 100644 --- a/src/components/link/common/link-common-stories.ts +++ b/src/components/link/common/link-common-stories.ts @@ -133,9 +133,9 @@ export const blockLinkCommonDefaultArgTypes: ArgTypes = { }; export const blockLinkCommonDefaultArgs: Args = { - size: size.options[1], + size: size.options![1], 'icon-name': undefined, - 'icon-placement': iconPlacement.options[0], + 'icon-placement': iconPlacement.options![0], }; // link params @@ -194,7 +194,7 @@ export const linkDefaultArgTypes: ArgTypes = { export const linkDefaultArgs: Args = { ...linkCommonDefaultArgs, - href: href.options[1], + href: href.options![1], target: '_blank', rel: undefined, download: false, @@ -251,7 +251,7 @@ export const linkButtonDefaultArgTypes: ArgTypes = { export const linkButtonDefaultArgs: Args = { ...linkCommonDefaultArgs, - type: type.options[0], + type: type.options![0], disabled: false, name: 'Button name', value: undefined, @@ -263,48 +263,48 @@ export const linkButtonDefaultArgs: Args = { export const blockXS: StoryObj = { render: Template, args: { - size: size.options[0], + size: size.options![0], }, }; export const blockS: StoryObj = { render: Template, args: { - size: size.options[1], + size: size.options![1], }, }; export const blockM: StoryObj = { render: Template, args: { - size: size.options[2], + size: size.options![2], }, }; export const blockXSIcon: StoryObj = { render: Template, args: { - size: size.options[0], + size: size.options![0], 'icon-name': 'chevron-small-right-small', - 'icon-placement': iconPlacement.options[1], + 'icon-placement': iconPlacement.options![1], }, }; export const blockSIcon: StoryObj = { render: Template, args: { - size: size.options[1], + size: size.options![1], 'icon-name': 'chevron-small-right-small', - 'icon-placement': iconPlacement.options[1], + 'icon-placement': iconPlacement.options![1], }, }; export const blockMIcon: StoryObj = { render: Template, args: { - size: size.options[2], + size: size.options![2], 'icon-name': 'chevron-small-right-small', - 'icon-placement': iconPlacement.options[1], + 'icon-placement': iconPlacement.options![1], }, }; @@ -320,7 +320,7 @@ export const blockNegative: StoryObj = { args: { negative: true, 'icon-name': 'chevron-small-right-small', - 'icon-placement': iconPlacement.options[1], + 'icon-placement': iconPlacement.options![1], }, }; @@ -328,7 +328,7 @@ export const blockWithSlottedIcon: StoryObj = { render: IconSlotTemplate, args: { 'icon-name': 'chevron-small-right-small', - 'icon-placement': iconPlacement.options[1], + 'icon-placement': iconPlacement.options![1], }, }; diff --git a/src/components/loading-indicator/loading-indicator.stories.ts b/src/components/loading-indicator/loading-indicator.stories.ts index 9341d5a670..df58a95064 100644 --- a/src/components/loading-indicator/loading-indicator.stories.ts +++ b/src/components/loading-indicator/loading-indicator.stories.ts @@ -127,9 +127,9 @@ const defaultArgTypes: ArgTypes = { }; const defaultArgs: Args = { - variant: variant.options[0], - size: size.options[0], - color: color.options[0], + variant: variant.options![0], + size: size.options![0], + color: color.options![0], 'disable-animation': isChromatic(), }; @@ -142,55 +142,55 @@ export const WindowSmallDefault: StoryObj = { export const WindowSmallSmoke: StoryObj = { render: Template, argTypes: defaultArgTypes, - args: { ...defaultArgs, color: color.options[1] }, + args: { ...defaultArgs, color: color.options![1] }, }; export const WindowSmallWhite: StoryObj = { render: NegativeTemplate, argTypes: defaultArgTypes, - args: { ...defaultArgs, color: color.options[2] }, + args: { ...defaultArgs, color: color.options![2] }, }; export const WindowLargeDefault: StoryObj = { render: Template, argTypes: defaultArgTypes, - args: { ...defaultArgs, size: size.options[1] }, + args: { ...defaultArgs, size: size.options![1] }, }; export const WindowLargeSmoke: StoryObj = { render: Template, argTypes: defaultArgTypes, - args: { ...defaultArgs, color: color.options[1], size: size.options[1] }, + args: { ...defaultArgs, color: color.options![1], size: size.options![1] }, }; export const WindowLargeWhite: StoryObj = { render: NegativeTemplate, argTypes: defaultArgTypes, - args: { ...defaultArgs, color: color.options[2], size: size.options[1] }, + args: { ...defaultArgs, color: color.options![2], size: size.options![1] }, }; export const CircleDefault: StoryObj = { render: InlineTemplate, argTypes: defaultArgTypes, - args: { ...defaultArgs, variant: variant.options[1] }, + args: { ...defaultArgs, variant: variant.options![1] }, }; export const CircleSmoke: StoryObj = { render: InlineTemplate, argTypes: defaultArgTypes, - args: { ...defaultArgs, color: color.options[1], variant: variant.options[1] }, + args: { ...defaultArgs, color: color.options![1], variant: variant.options![1] }, }; export const CircleWhite: StoryObj = { render: NegativeInlineTemplate, argTypes: defaultArgTypes, - args: { ...defaultArgs, color: color.options[2], variant: variant.options[1] }, + args: { ...defaultArgs, color: color.options![2], variant: variant.options![1] }, }; export const Accessibility: StoryObj = { render: TemplateAccessibility, argTypes: defaultArgTypes, - args: { ...defaultArgs, size: size.options[1] }, + args: { ...defaultArgs, size: size.options![1] }, play: isChromatic() ? playStory : undefined, }; diff --git a/src/components/logo/logo.stories.ts b/src/components/logo/logo.stories.ts index 0bb6bb392b..d69e5e321b 100644 --- a/src/components/logo/logo.stories.ts +++ b/src/components/logo/logo.stories.ts @@ -44,7 +44,7 @@ const defaultArgTypes: ArgTypes = { const defaultArgs: Args = { negative: false, - 'protective-room': protectiveRoom.options[0], + 'protective-room': protectiveRoom.options![0], 'accessibility-label': undefined, }; @@ -57,13 +57,13 @@ export const NoProtectiveRoom: StoryObj = { export const MinimalProtectiveRoom: StoryObj = { render: Template, argTypes: defaultArgTypes, - args: { ...defaultArgs, 'protective-room': protectiveRoom.options[1] }, + args: { ...defaultArgs, 'protective-room': protectiveRoom.options![1] }, }; export const IdealProtectiveRoom: StoryObj = { render: Template, argTypes: defaultArgTypes, - args: { ...defaultArgs, 'protective-room': protectiveRoom.options[2] }, + args: { ...defaultArgs, 'protective-room': protectiveRoom.options![2] }, }; export const Negative: StoryObj = { @@ -72,7 +72,7 @@ export const Negative: StoryObj = { args: { ...defaultArgs, negative: true, - 'protective-room': protectiveRoom.options[2], + 'protective-room': protectiveRoom.options![2], }, }; diff --git a/src/components/menu/menu-button/menu-button.stories.ts b/src/components/menu/menu-button/menu-button.stories.ts index cb88c0ef66..34fbfcc2e3 100644 --- a/src/components/menu/menu-button/menu-button.stories.ts +++ b/src/components/menu/menu-button/menu-button.stories.ts @@ -121,7 +121,7 @@ const defaultArgs: Args = { amount: '99', 'icon-name': 'tick-small', disabled: false, - type: type.options[0], + type: type.options![0], name: 'detail', value: 'Value', form: 'form-name', diff --git a/src/components/menu/menu-link/menu-link.stories.ts b/src/components/menu/menu-link/menu-link.stories.ts index 1a1605c680..dc9d963a50 100644 --- a/src/components/menu/menu-link/menu-link.stories.ts +++ b/src/components/menu/menu-link/menu-link.stories.ts @@ -127,7 +127,7 @@ const defaultArgs: Args = { text: 'Details', amount: '99', 'icon-name': 'tick-small', - href: href.options[0], + href: href.options![0], target: '_blank', rel: undefined, download: false, diff --git a/src/components/navigation/navigation-button/navigation-button.stories.ts b/src/components/navigation/navigation-button/navigation-button.stories.ts index 43c4071197..e27cf36b18 100644 --- a/src/components/navigation/navigation-button/navigation-button.stories.ts +++ b/src/components/navigation/navigation-button/navigation-button.stories.ts @@ -68,8 +68,8 @@ const defaultArgTypes: ArgTypes = { }; const defaultArgs: Args = { - size: size.options[0], - type: type.options[0], + size: size.options![0], + type: type.options![0], name: 'detail', value: 'Value', form: 'form-name', @@ -95,13 +95,13 @@ export const SizeL: StoryObj = { export const SizeM: StoryObj = { render: Template, argTypes: defaultArgTypes, - args: { ...defaultArgs, size: size.options[1] }, + args: { ...defaultArgs, size: size.options![1] }, }; export const SizeS: StoryObj = { render: Template, argTypes: defaultArgTypes, - args: { ...defaultArgs, size: size.options[2] }, + args: { ...defaultArgs, size: size.options![2] }, }; const meta: Meta = { diff --git a/src/components/navigation/navigation-link/navigation-link.stories.ts b/src/components/navigation/navigation-link/navigation-link.stories.ts index 60f5984e6f..53ef0a7893 100644 --- a/src/components/navigation/navigation-link/navigation-link.stories.ts +++ b/src/components/navigation/navigation-link/navigation-link.stories.ts @@ -76,8 +76,8 @@ const defaultArgTypes: ArgTypes = { }; const defaultArgs: Args = { - size: size.options[0], - href: href.options[0], + size: size.options![0], + href: href.options![0], target: '_blank', rel: undefined, download: false, @@ -103,13 +103,13 @@ export const SizeL: StoryObj = { export const SizeM: StoryObj = { render: Template, argTypes: defaultArgTypes, - args: { ...defaultArgs, size: size.options[1] }, + args: { ...defaultArgs, size: size.options![1] }, }; export const SizeS: StoryObj = { render: Template, argTypes: defaultArgTypes, - args: { ...defaultArgs, size: size.options[2] }, + args: { ...defaultArgs, size: size.options![2] }, }; const meta: Meta = { diff --git a/src/components/navigation/navigation-marker/navigation-marker.stories.ts b/src/components/navigation/navigation-marker/navigation-marker.stories.ts index fa535013a5..b2d1268c3b 100644 --- a/src/components/navigation/navigation-marker/navigation-marker.stories.ts +++ b/src/components/navigation/navigation-marker/navigation-marker.stories.ts @@ -23,7 +23,7 @@ const defaultArgTypes: ArgTypes = { }; const defaultArgs: Args = { - size: size.options[0], + size: size.options![0], }; const style: Readonly = { @@ -75,7 +75,7 @@ export const SizeL: StoryObj = { export const SizeS: StoryObj = { render: SizeSTemplate, argTypes: defaultArgTypes, - args: { ...defaultArgs, size: size.options[1] }, + args: { ...defaultArgs, size: size.options![1] }, }; export const SizeLActive: StoryObj = { @@ -87,7 +87,7 @@ export const SizeLActive: StoryObj = { export const SizeSActive: StoryObj = { render: SizeSActiveTemplate, argTypes: defaultArgTypes, - args: { ...defaultArgs, size: size.options[1] }, + args: { ...defaultArgs, size: size.options![1] }, }; const meta: Meta = { diff --git a/src/components/notification/notification.stories.ts b/src/components/notification/notification.stories.ts index be12078f64..7b3f8f2a72 100644 --- a/src/components/notification/notification.stories.ts +++ b/src/components/notification/notification.stories.ts @@ -48,7 +48,7 @@ const basicArgTypes: ArgTypes = { const basicArgs: Args = { 'title-content': 'Title', - type: type.options[0], + type: type.options![0], readonly: false, 'disable-animation': isChromatic(), }; @@ -186,19 +186,19 @@ export const Info: StoryObj = { export const Success: StoryObj = { render: DefaultTemplate, argTypes: basicArgTypes, - args: { ...basicArgs, type: type.options[1] }, + args: { ...basicArgs, type: type.options![1] }, }; export const Warn: StoryObj = { render: DefaultTemplate, argTypes: basicArgTypes, - args: { ...basicArgs, type: type.options[2] }, + args: { ...basicArgs, type: type.options![2] }, }; export const Error: StoryObj = { render: DefaultTemplate, argTypes: basicArgTypes, - args: { ...basicArgs, type: type.options[3] }, + args: { ...basicArgs, type: type.options![3] }, }; export const Readonly: StoryObj = { diff --git a/src/components/pearl-chain-vertical/pearl-chain-vertical.stories.ts b/src/components/pearl-chain-vertical/pearl-chain-vertical.stories.ts index de6888d3b7..968bf67783 100644 --- a/src/components/pearl-chain-vertical/pearl-chain-vertical.stories.ts +++ b/src/components/pearl-chain-vertical/pearl-chain-vertical.stories.ts @@ -61,12 +61,12 @@ const defaultArgTypes: ArgTypes = { }; const defaultArgs: Args = { - lineType: lineType.options[1], - lineColor: lineColor.options[0], - bulletType: bulletType.options[0], + lineType: lineType.options![1], + lineColor: lineColor.options![0], + bulletType: bulletType.options![0], minHeight: '100', hideLine: false, - bulletSize: bulletSize.options[0], + bulletSize: bulletSize.options![0], position: 0, disableAnimation: isChromatic(), }; diff --git a/src/components/radio-button/radio-button-group/radio-button-group.stories.ts b/src/components/radio-button/radio-button-group/radio-button-group.stories.ts index acc972489f..b5e943daa3 100644 --- a/src/components/radio-button/radio-button-group/radio-button-group.stories.ts +++ b/src/components/radio-button/radio-button-group/radio-button-group.stories.ts @@ -79,9 +79,9 @@ const defaultArgs: Args = { required: false, disabled: false, 'allow-empty-selection': false, - orientation: orientation.options[0], + orientation: orientation.options![0], 'horizontal-from': undefined, - size: size.options[0], + size: size.options![0], 'aria-label': undefined, }; @@ -126,7 +126,7 @@ export const Horizontal: StoryObj = { export const Vertical: StoryObj = { render: DefaultTemplate, argTypes: defaultArgTypes, - args: { ...defaultArgs, orientation: orientation.options[1] }, + args: { ...defaultArgs, orientation: orientation.options![1] }, }; export const VerticalToHorizontal: StoryObj = { @@ -134,21 +134,21 @@ export const VerticalToHorizontal: StoryObj = { argTypes: defaultArgTypes, args: { ...defaultArgs, - orientation: orientation.options[1], - 'horizontal-from': horizontalFrom.options[4], + orientation: orientation.options![1], + 'horizontal-from': horizontalFrom.options![4], }, }; export const HorizontalSizeS: StoryObj = { render: DefaultTemplate, argTypes: defaultArgTypes, - args: { ...defaultArgs, size: size.options[1] }, + args: { ...defaultArgs, size: size.options![1] }, }; export const VerticalSizeS: StoryObj = { render: DefaultTemplate, argTypes: defaultArgTypes, - args: { ...defaultArgs, orientation: orientation.options[1], size: size.options[1] }, + args: { ...defaultArgs, orientation: orientation.options![1], size: size.options![1] }, }; export const Disabled: StoryObj = { @@ -181,7 +181,7 @@ export const ErrorMessageVertical: StoryObj = { ...defaultArgs, value: undefined, required: true, - orientation: orientation.options[1], + orientation: orientation.options![1], 'allow-empty-selection': true, }, }; 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 f4de0f67cd..dae8ddff2d 100644 --- a/src/components/radio-button/radio-button/radio-button.stories.ts +++ b/src/components/radio-button/radio-button/radio-button.stories.ts @@ -61,7 +61,7 @@ const defaultArgs: Args = { value: 'First value', checked: false, disabled: false, - size: size.options[0], + size: size.options![0], 'aria-label': undefined, labelBoldClass: false, }; @@ -86,7 +86,7 @@ export const Default: StoryObj = { export const SizeS: StoryObj = { render: DefaultTemplate, argTypes: defaultArgTypes, - args: { ...defaultArgs, size: size.options[1] }, + args: { ...defaultArgs, size: size.options![1] }, }; export const Checked: StoryObj = { diff --git a/src/components/select/select.stories.ts b/src/components/select/select.stories.ts index 15dbfacd5b..f9381f05d0 100644 --- a/src/components/select/select.stories.ts +++ b/src/components/select/select.stories.ts @@ -494,7 +494,7 @@ export const SingleSelectEllipsis: StoryObj = { render: SelectEllipsisTemplate, argTypes: { ...defaultArgTypes, - value: { ...value, options: [...value.options, valueEllipsis] }, + value: { ...value, options: [...value.options!, valueEllipsis] }, }, args: { ...defaultArgs, value: valueEllipsis }, play: isChromatic() ? playStory : undefined, @@ -504,7 +504,7 @@ export const MultipleSelectEllipsis: StoryObj = { render: SelectEllipsisTemplate, argTypes: { ...defaultArgTypes, - value: { ...value, options: [...value.options, valueEllipsis] }, + value: { ...value, options: [...value.options!, valueEllipsis] }, }, args: { ...defaultArgs, multiple: true, value: valueEllipsis }, play: isChromatic() ? playStory : undefined, diff --git a/src/components/selection-panel/selection-panel.stories.ts b/src/components/selection-panel/selection-panel.stories.ts index bd249eee6c..9dece8b08c 100644 --- a/src/components/selection-panel/selection-panel.stories.ts +++ b/src/components/selection-panel/selection-panel.stories.ts @@ -79,7 +79,7 @@ const basicArgTypes: ArgTypes = { }; const basicArgs: Args = { - color: color.options[0], + color: color.options![0], 'force-open': false, borderless: false, 'disable-animation': isChromatic(), @@ -591,7 +591,7 @@ export const WithCheckboxGroupMilk: StoryObj = { argTypes: basicArgTypes, args: { ...basicArgs, - color: color.options[1], + color: color.options![1], checkedInput: true, disabledInput: true, }, @@ -602,7 +602,7 @@ export const WithRadioButtonGroupMilk: StoryObj = { argTypes: basicArgTypes, args: { ...basicArgs, - color: color.options[1], + color: color.options![1], checkedInput: true, disabledInput: true, }, @@ -635,7 +635,7 @@ export const WithCheckboxGroupMilkBorderless: StoryObj = { argTypes: basicArgTypes, args: { ...basicArgs, - color: color.options[1], + color: color.options![1], checkedInput: true, disabledInput: true, borderless: true, @@ -647,7 +647,7 @@ export const WithRadioButtonGroupMilkBorderless: StoryObj = { argTypes: basicArgTypes, args: { ...basicArgs, - color: color.options[1], + color: color.options![1], checkedInput: true, disabledInput: true, borderless: true, diff --git a/src/components/signet/signet.stories.ts b/src/components/signet/signet.stories.ts index c71a2cf001..fa55fc3b7d 100644 --- a/src/components/signet/signet.stories.ts +++ b/src/components/signet/signet.stories.ts @@ -29,26 +29,26 @@ const defaultArgTypes: ArgTypes = { }; const defaultArgs: Args = { - 'protective-room': protectiveRoom.options[0], + 'protective-room': protectiveRoom.options![0], 'accessibility-label': undefined, }; export const NoProtectiveRoom: StoryObj = { render: Template, argTypes: defaultArgTypes, - args: { ...defaultArgs, 'protective-room': protectiveRoom.options[0] }, + args: { ...defaultArgs, 'protective-room': protectiveRoom.options![0] }, }; export const MinimalProtectiveRoom: StoryObj = { render: Template, argTypes: defaultArgTypes, - args: { ...defaultArgs, 'protective-room': protectiveRoom.options[1] }, + args: { ...defaultArgs, 'protective-room': protectiveRoom.options![1] }, }; export const IdealProtectiveRoom: StoryObj = { render: Template, argTypes: defaultArgTypes, - args: { ...defaultArgs, 'protective-room': protectiveRoom.options[2] }, + args: { ...defaultArgs, 'protective-room': protectiveRoom.options![2] }, }; const meta: Meta = { diff --git a/src/components/skiplink-list/skiplink-list.stories.ts b/src/components/skiplink-list/skiplink-list.stories.ts index 660d3508e5..af7cafb563 100644 --- a/src/components/skiplink-list/skiplink-list.stories.ts +++ b/src/components/skiplink-list/skiplink-list.stories.ts @@ -93,9 +93,9 @@ const defaultArgs: Args = { 'title-level': undefined, 'title-content': undefined, labelFirstLink: 'To content', - hrefFirstLink: hrefFirstLink.options[0], + hrefFirstLink: hrefFirstLink.options![0], labelSecondLink: 'To help', - hrefSecondLink: hrefSecondLink.options[1], + hrefSecondLink: hrefSecondLink.options![1], }; // Story interaction executed after the story renders @@ -133,7 +133,7 @@ export const SkiplinkListWithTitle: StoryObj = { argTypes: defaultArgTypes, args: { ...defaultArgs, - 'title-level': titleLevel.options[0], + 'title-level': titleLevel.options![0], 'title-content': 'Skip', }, play: isChromatic() ? playStory : undefined, diff --git a/src/components/tabs/tab-group/tab-group.stories.ts b/src/components/tabs/tab-group/tab-group.stories.ts index d6bc349f7d..b935961389 100644 --- a/src/components/tabs/tab-group/tab-group.stories.ts +++ b/src/components/tabs/tab-group/tab-group.stories.ts @@ -177,7 +177,7 @@ const basicArgs: Args = { label: 'Tab label one', 'icon-name': undefined, amount: undefined, - size: size.options[0], + size: size.options![0], negative: false, }; @@ -190,31 +190,31 @@ export const defaultTabsSizeL: StoryObj = { export const numbersAndIconsSizeL: StoryObj = { render: IconsAndNumbersTemplate, argTypes: basicArgTypes, - args: { ...basicArgs, amount: 16, 'icon-name': iconName.options[0] }, + args: { ...basicArgs, amount: 16, 'icon-name': iconName.options![0] }, }; export const defaultTabsSizeXL: StoryObj = { render: DefaultTemplate, argTypes: basicArgTypes, - args: { ...basicArgs, size: size.options[1] }, + args: { ...basicArgs, size: size.options![1] }, }; export const numbersAndIconsSizeXL: StoryObj = { render: IconsAndNumbersTemplate, argTypes: basicArgTypes, - args: { ...basicArgs, amount: 16, 'icon-name': iconName.options[0], size: size.options[1] }, + args: { ...basicArgs, amount: 16, 'icon-name': iconName.options![0], size: size.options![1] }, }; export const nestedTabGroups: StoryObj = { render: NestedTemplate, argTypes: basicArgTypes, - args: { ...basicArgs, amount: 16, 'icon-name': iconName.options[0] }, + args: { ...basicArgs, amount: 16, 'icon-name': iconName.options![0] }, }; export const tintedBackground: StoryObj = { render: IconsAndNumbersTemplate, argTypes: basicArgTypes, - args: { ...basicArgs, amount: 16, 'icon-name': iconName.options[0], negative: true }, + args: { ...basicArgs, amount: 16, 'icon-name': iconName.options![0], negative: true }, }; const meta: Meta = { diff --git a/src/components/tabs/tab-title/tab-title.stories.ts b/src/components/tabs/tab-title/tab-title.stories.ts index 4470b1b973..00b34c50d7 100644 --- a/src/components/tabs/tab-title/tab-title.stories.ts +++ b/src/components/tabs/tab-title/tab-title.stories.ts @@ -71,7 +71,7 @@ const basicArgTypes: ArgTypes = { const basicArgs: Args = { label: 'Tab title', - 'icon-name': iconName.options[0], + 'icon-name': iconName.options![0], iconSlot: undefined, amount: 123, amountSlot: undefined, diff --git a/src/components/teaser-hero/teaser-hero.stories.ts b/src/components/teaser-hero/teaser-hero.stories.ts index 62e25504bf..da2edeae18 100644 --- a/src/components/teaser-hero/teaser-hero.stories.ts +++ b/src/components/teaser-hero/teaser-hero.stories.ts @@ -93,7 +93,7 @@ const defaultArgTypes: ArgTypes = { const defaultArgs: Args = { 'aria-label': undefined, - href: href.options[0], + href: href.options![0], rel: undefined, target: undefined, content: 'Break out and explore castles and palaces.', diff --git a/src/components/teaser-paid/teaser-paid.stories.ts b/src/components/teaser-paid/teaser-paid.stories.ts index 7496556aff..1dcef069b8 100644 --- a/src/components/teaser-paid/teaser-paid.stories.ts +++ b/src/components/teaser-paid/teaser-paid.stories.ts @@ -81,7 +81,7 @@ const defaultArgTypes: ArgTypes = { const defaultArgs: Args = { 'aria-label': undefined, - href: href.options[0], + href: href.options![0], rel: undefined, target: undefined, 'image-src': sampleImages[1], diff --git a/src/components/teaser/teaser.stories.ts b/src/components/teaser/teaser.stories.ts index 46b7e56c80..e6109e8e03 100644 --- a/src/components/teaser/teaser.stories.ts +++ b/src/components/teaser/teaser.stories.ts @@ -78,7 +78,7 @@ const defaultArgs: Args = { 'title-content': 'This is a title', 'chip-content': undefined, alignment: 'after-centered', - href: href.options[1], + href: href.options![1], description: 'This is a paragraph', 'aria-label': 'The text which gets exposed to screen reader users. The text should reflect all the information which gets passed into the components slots and which is visible in the Teaser, either through text or iconography', diff --git a/src/components/time-input/time-input.stories.ts b/src/components/time-input/time-input.stories.ts index 979bc4cd57..9c41b72edb 100644 --- a/src/components/time-input/time-input.stories.ts +++ b/src/components/time-input/time-input.stories.ts @@ -201,7 +201,7 @@ const basicArgs: Args = { const formFieldBasicArgs = { ...basicArgs, label: 'Label', - size: size.options[0], + size: size.options![0], optional: false, borderless: false, iconStart: undefined, @@ -211,7 +211,7 @@ const formFieldBasicArgs = { const formFieldBasicArgsWithIcons = { ...basicArgs, label: 'Label', - size: size.options[0], + size: size.options![0], optional: false, borderless: false, iconStart: 'clock-small', diff --git a/src/components/timetable-occupancy-icon/timetable-occupancy-icon.stories.ts b/src/components/timetable-occupancy-icon/timetable-occupancy-icon.stories.ts index 376d424798..57c7a7e081 100644 --- a/src/components/timetable-occupancy-icon/timetable-occupancy-icon.stories.ts +++ b/src/components/timetable-occupancy-icon/timetable-occupancy-icon.stories.ts @@ -34,7 +34,7 @@ const defaultArgTypes: ArgTypes = { const defaultArgs: Args = { negative: false, - occupancy: occupancy.options[0], + occupancy: occupancy.options![0], }; const Template = (args: Args): TemplateResult => html` @@ -50,19 +50,19 @@ export const HighOccupancy: StoryObj = { export const MediumOccupancy: StoryObj = { render: Template, argTypes: defaultArgTypes, - args: { ...defaultArgs, occupancy: occupancy.options[1] }, + args: { ...defaultArgs, occupancy: occupancy.options![1] }, }; export const LowOccupancy: StoryObj = { render: Template, argTypes: defaultArgTypes, - args: { ...defaultArgs, occupancy: occupancy.options[2] }, + args: { ...defaultArgs, occupancy: occupancy.options![2] }, }; export const NoneOccupancy: StoryObj = { render: Template, argTypes: defaultArgTypes, - args: { ...defaultArgs, occupancy: occupancy.options[3] }, + args: { ...defaultArgs, occupancy: occupancy.options![3] }, }; export const HighOccupancyNegative: StoryObj = { @@ -74,19 +74,19 @@ export const HighOccupancyNegative: StoryObj = { export const MediumOccupancyNegative: StoryObj = { render: Template, argTypes: defaultArgTypes, - args: { ...defaultArgs, negative: true, occupancy: occupancy.options[1] }, + args: { ...defaultArgs, negative: true, occupancy: occupancy.options![1] }, }; export const LowOccupancyNegative: StoryObj = { render: Template, argTypes: defaultArgTypes, - args: { ...defaultArgs, negative: true, occupancy: occupancy.options[2] }, + args: { ...defaultArgs, negative: true, occupancy: occupancy.options![2] }, }; export const NoneOccupancyNegative: StoryObj = { render: Template, argTypes: defaultArgTypes, - args: { ...defaultArgs, negative: true, occupancy: occupancy.options[3] }, + args: { ...defaultArgs, negative: true, occupancy: occupancy.options![3] }, }; const meta: Meta = { diff --git a/src/components/title/title.stories.ts b/src/components/title/title.stories.ts index b7a5ebb9df..4d55c4cd6d 100644 --- a/src/components/title/title.stories.ts +++ b/src/components/title/title.stories.ts @@ -39,7 +39,7 @@ const defaultArgTypes: ArgTypes = { }; const defaultArgs: Args = { - level: level.options[0], + level: level.options![0], text: 'Data without insights are trivial, and insights without action are pointless', negative: false, 'visual-level': undefined, @@ -64,37 +64,37 @@ export const h1Negative: StoryObj = { export const h2: StoryObj = { render: Template, argTypes: defaultArgTypes, - args: { ...defaultArgs, level: level.options[1] }, + args: { ...defaultArgs, level: level.options![1] }, }; export const h3: StoryObj = { render: Template, argTypes: defaultArgTypes, - args: { ...defaultArgs, level: level.options[2] }, + args: { ...defaultArgs, level: level.options![2] }, }; export const h4: StoryObj = { render: Template, argTypes: defaultArgTypes, - args: { ...defaultArgs, level: level.options[3] }, + args: { ...defaultArgs, level: level.options![3] }, }; export const h5: StoryObj = { render: Template, argTypes: defaultArgTypes, - args: { ...defaultArgs, level: level.options[4] }, + args: { ...defaultArgs, level: level.options![4] }, }; export const h6: StoryObj = { render: Template, argTypes: defaultArgTypes, - args: { ...defaultArgs, level: level.options[5] }, + args: { ...defaultArgs, level: level.options![5] }, }; export const h6VisualLevel: StoryObj = { render: Template, argTypes: defaultArgTypes, - args: { ...defaultArgs, level: level.options[0], 'visual-level': level.options[5] }, + args: { ...defaultArgs, level: level.options![0], 'visual-level': level.options![5] }, }; const meta: Meta = { diff --git a/src/components/toggle-check/toggle-check.stories.ts b/src/components/toggle-check/toggle-check.stories.ts index de5ade98ed..9c155d5250 100644 --- a/src/components/toggle-check/toggle-check.stories.ts +++ b/src/components/toggle-check/toggle-check.stories.ts @@ -89,14 +89,14 @@ const defaultArgTypes: ArgTypes = { }; const defaultArgs: Args = { - size: size.options[0], + size: size.options![0], checked: false, disabled: false, label: 'Label', value: 'Value', name: 'name', 'icon-name': undefined, - 'label-position': labelPosition.options[1], + 'label-position': labelPosition.options![1], 'aria-label': undefined, }; @@ -178,7 +178,7 @@ export const SbbToggleCheckDefaultSizeM: StoryObj = { argTypes: defaultArgTypes, args: { ...defaultArgs, - size: size.options[1], + size: size.options![1], }, }; @@ -206,7 +206,7 @@ export const SbbToggleCheckDefaultLongLabelSizeM: StoryObj = { args: { ...defaultArgs, label: longLabel, - size: size.options[1], + size: size.options![1], }, }; diff --git a/src/components/toggle/toggle-option/toggle-option.stories.ts b/src/components/toggle/toggle-option/toggle-option.stories.ts index 9e1ab0bef3..46478b6e85 100644 --- a/src/components/toggle/toggle-option/toggle-option.stories.ts +++ b/src/components/toggle/toggle-option/toggle-option.stories.ts @@ -91,25 +91,25 @@ export const Default: StoryObj = { export const IconOnly: StoryObj = { render: DefaultTemplate, argTypes: { ...defaultArgTypes }, - args: { ...defaultArgs, label: undefined, 'icon-name': iconName.options[1] }, + args: { ...defaultArgs, label: undefined, 'icon-name': iconName.options![1] }, }; export const LabelAndIcon: StoryObj = { render: DefaultTemplate, argTypes: { ...defaultArgTypes }, - args: { ...defaultArgs, 'icon-name': iconName.options[1] }, + args: { ...defaultArgs, 'icon-name': iconName.options![1] }, }; export const IconOnlySlotted: StoryObj = { render: SlottedIconTemplate, argTypes: { ...defaultArgTypes }, - args: { ...defaultArgs, label: undefined, 'icon-name': iconName.options[1] }, + args: { ...defaultArgs, label: undefined, 'icon-name': iconName.options![1] }, }; export const LabelAndIconSlotted: StoryObj = { render: SlottedIconTemplate, argTypes: { ...defaultArgTypes }, - args: { ...defaultArgs, 'icon-name': iconName.options[1] }, + args: { ...defaultArgs, 'icon-name': iconName.options![1] }, }; const meta: Meta = { diff --git a/src/components/toggle/toggle/toggle.stories.ts b/src/components/toggle/toggle/toggle.stories.ts index 43ae9e3ae8..fde2536866 100644 --- a/src/components/toggle/toggle/toggle.stories.ts +++ b/src/components/toggle/toggle/toggle.stories.ts @@ -109,7 +109,7 @@ const defaultArgTypes: ArgTypes = { const defaultArgs: Args = { disabled: false, even: false, - size: size.options[0], + size: size.options![0], value: 'Value 1', label: 'Bern', labelTwo: 'Zürich', @@ -164,7 +164,7 @@ export const SizeM: StoryObj = { export const SizeS: StoryObj = { render: DefaultTemplate, argTypes: { ...defaultArgTypes }, - args: { ...defaultArgs, size: size.options[1] }, + args: { ...defaultArgs, size: size.options![1] }, }; export const Disabled: StoryObj = { @@ -176,7 +176,7 @@ export const Disabled: StoryObj = { export const DisabledSizeS: StoryObj = { render: DefaultTemplate, argTypes: { ...defaultArgTypes }, - args: { ...defaultArgs, disabled: true, size: size.options[1] }, + args: { ...defaultArgs, disabled: true, size: size.options![1] }, }; export const Even: StoryObj = { @@ -188,25 +188,25 @@ export const Even: StoryObj = { export const EvenSizeS: StoryObj = { render: DefaultTemplate, argTypes: { ...defaultArgTypes }, - args: { ...defaultArgs, even: true, size: size.options[1] }, + args: { ...defaultArgs, even: true, size: size.options![1] }, }; export const LabelAndIcon: StoryObj = { render: DefaultTemplate, argTypes: { ...defaultArgTypes }, - args: { ...defaultArgs, iconName: iconName.options[0] }, + args: { ...defaultArgs, iconName: iconName.options![0] }, }; export const LabelAndIconSizeS: StoryObj = { render: DefaultTemplate, argTypes: { ...defaultArgTypes }, - args: { ...defaultArgs, iconName: iconName.options[0], size: size.options[1] }, + args: { ...defaultArgs, iconName: iconName.options![0], size: size.options![1] }, }; export const LabelAndIconSlotted: StoryObj = { render: SlottedIconTemplate, argTypes: { ...defaultArgTypes }, - args: { ...defaultArgs, iconName: iconName.options[1] }, + args: { ...defaultArgs, iconName: iconName.options![1] }, }; export const IconsOnly: StoryObj = { @@ -214,7 +214,7 @@ export const IconsOnly: StoryObj = { argTypes: { ...defaultArgTypes }, args: { ...defaultArgs, - iconName: iconName.options[0], + iconName: iconName.options![0], label: undefined, labelTwo: undefined, }, @@ -225,8 +225,8 @@ export const IconsOnlySizeS: StoryObj = { argTypes: { ...defaultArgTypes }, args: { ...defaultArgs, - iconName: iconName.options[0], - size: size.options[1], + iconName: iconName.options![0], + size: size.options![1], label: undefined, labelTwo: undefined, }, @@ -237,7 +237,7 @@ export const IconsOnlySlotted: StoryObj = { argTypes: { ...defaultArgTypes }, args: { ...defaultArgs, - iconName: iconName.options[1], + iconName: iconName.options![1], label: undefined, labelTwo: undefined, }, @@ -250,7 +250,7 @@ export const DynamicWidth: StoryObj = { ...defaultArgs, label: 'Zürich', labelTwo: 'Schwarzenbach SG, Schloss Schwarzenbach, Wilerstrasse', - iconName: iconName.options[1], + iconName: iconName.options![1], }, }; @@ -259,10 +259,10 @@ export const DynamicWidthSizeS: StoryObj = { argTypes: { ...defaultArgTypes }, args: { ...defaultArgs, - size: size.options[1], + size: size.options![1], label: 'Zürich', labelTwo: 'Schwarzenbach SG, Schloss Schwarzenbach, Wilerstrasse', - iconName: iconName.options[1], + iconName: iconName.options![1], }, }; diff --git a/src/components/train/train-wagon/train-wagon.stories.ts b/src/components/train/train-wagon/train-wagon.stories.ts index ddc6256c87..e2af9a4bd3 100644 --- a/src/components/train/train-wagon/train-wagon.stories.ts +++ b/src/components/train/train-wagon/train-wagon.stories.ts @@ -76,9 +76,9 @@ const defaultArgTypes: ArgTypes = { const defaultArgs: Args = { label: '36', - type: type.options[2], - occupancy: occupancy.options[2], - 'wagon-class': wagonClass.options[1], + type: type.options![2], + occupancy: occupancy.options![2], + 'wagon-class': wagonClass.options![1], 'additional-accessibility-text': undefined, }; @@ -93,7 +93,7 @@ export const wagonMediumOccupancy: StoryObj = { argTypes: defaultArgTypes, args: { ...defaultArgs, - occupancy: occupancy.options[1], + occupancy: occupancy.options![1], }, }; @@ -102,7 +102,7 @@ export const wagonHighOccupancy: StoryObj = { argTypes: defaultArgTypes, args: { ...defaultArgs, - occupancy: occupancy.options[0], + occupancy: occupancy.options![0], }, }; @@ -111,7 +111,7 @@ export const wagonNoneOccupancy: StoryObj = { argTypes: defaultArgTypes, args: { ...defaultArgs, - occupancy: occupancy.options[3], + occupancy: occupancy.options![3], }, }; @@ -141,7 +141,7 @@ export const wagonFirstClass: StoryObj = { argTypes: defaultArgTypes, args: { ...defaultArgs, - 'wagon-class': wagonClass.options[0], + 'wagon-class': wagonClass.options![0], }, }; @@ -159,7 +159,7 @@ export const locomotive: StoryObj = { argTypes: defaultArgTypes, args: { ...defaultArgs, - type: type.options[0], + type: type.options![0], }, }; @@ -168,7 +168,7 @@ export const closed: StoryObj = { argTypes: defaultArgTypes, args: { ...defaultArgs, - type: type.options[1], + type: type.options![1], }, }; diff --git a/src/components/train/train/train.stories.ts b/src/components/train/train/train.stories.ts index 2d834767f9..54ce116431 100644 --- a/src/components/train/train/train.stories.ts +++ b/src/components/train/train/train.stories.ts @@ -70,8 +70,8 @@ const defaultArgs: Args = { 'accessibility-label': 'The top of the train is in Sector A. The train leaves the station in this direction', station: 'Bern', - direction: direction.options[0], - 'direction-label-level': directionLabelLevel.options[4], + direction: direction.options![0], + 'direction-label-level': directionLabelLevel.options![4], }; export const train: StoryObj = { diff --git a/src/storybook/styles/scrollbar/scrollbar.stories.ts b/src/storybook/styles/scrollbar/scrollbar.stories.ts index 246b6977a6..ac9fd26c3f 100644 --- a/src/storybook/styles/scrollbar/scrollbar.stories.ts +++ b/src/storybook/styles/scrollbar/scrollbar.stories.ts @@ -58,7 +58,7 @@ const defaultArgTypes: ArgTypes = { }; const defaultArgs: Args = { - size: size.options[0], + size: size.options![0], negative: false, trackVisible: false, }; @@ -90,19 +90,19 @@ export const ThinNegativeTrackVisible: StoryObj = { export const Thick: StoryObj = { render: Template, argTypes: defaultArgTypes, - args: { ...defaultArgs, size: size.options[1] }, + args: { ...defaultArgs, size: size.options![1] }, }; export const ThickTrackVisible: StoryObj = { render: Template, argTypes: defaultArgTypes, - args: { ...defaultArgs, size: size.options[1], trackVisible: true }, + args: { ...defaultArgs, size: size.options![1], trackVisible: true }, }; export const ThickNegative: StoryObj = { render: Template, argTypes: defaultArgTypes, - args: { ...defaultArgs, size: size.options[1], negative: true }, + args: { ...defaultArgs, size: size.options![1], negative: true }, }; export const ThickNegativeTrackVisible: StoryObj = { @@ -110,7 +110,7 @@ export const ThickNegativeTrackVisible: StoryObj = { argTypes: defaultArgTypes, args: { ...defaultArgs, - size: size.options[1], + size: size.options![1], negative: true, trackVisible: true, }, diff --git a/yarn.lock b/yarn.lock index 5d30e4fd49..955bb84d4f 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2034,62 +2034,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.8": - version "8.0.8" - resolved "https://registry.yarnpkg.com/@storybook/addon-a11y/-/addon-a11y-8.0.8.tgz#efd71fef036ced41482f4bf4139bc13bc756e57e" - integrity sha512-QiNzKej1C3QjPBHm8nwk0lqv9N9cLInlyJ62Cp+/+ethcH2elNnBf1H3ad/DC6XIQRyMtvvhCOnzygAMnjCq1w== +"@storybook/addon-a11y@8.0.9": + version "8.0.9" + resolved "https://registry.yarnpkg.com/@storybook/addon-a11y/-/addon-a11y-8.0.9.tgz#88a3207e13d06d27c60a5fd8d1952ce6b2dd58b2" + integrity sha512-HgIlhOI3yBS3ztnuqOquGztnju7LE+BgCMYbDQEZjQkddiQPtjwLC6h0/LkvHL5993avbq1vYEWfUGHLtGzYfQ== dependencies: - "@storybook/addon-highlight" "8.0.8" + "@storybook/addon-highlight" "8.0.9" axe-core "^4.2.0" -"@storybook/addon-actions@8.0.8": - version "8.0.8" - resolved "https://registry.yarnpkg.com/@storybook/addon-actions/-/addon-actions-8.0.8.tgz#0b625b36e738a3b02c25d7b0b0b9f28c4e68c918" - integrity sha512-F3qpN0n53d058EroW1A2IlzrsFNR5p2srLY4FmXB80nxAKV8oqoDI4jp15zYlf8ThcJoQl36plT8gx3r1BpANA== +"@storybook/addon-actions@8.0.9": + version "8.0.9" + resolved "https://registry.yarnpkg.com/@storybook/addon-actions/-/addon-actions-8.0.9.tgz#b7a19abb0ee8fd73df1498def7f1ff307d16cb25" + integrity sha512-+I3VTvlKdj8puHeS2tyaOVv9syDiNLneVZbTfqN+UDOK2i42NwvZr8PVwjTzMlEj9eePJdCZgiipz55xwts5bw== dependencies: - "@storybook/core-events" "8.0.8" + "@storybook/core-events" "8.0.9" "@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.8": - version "8.0.8" - resolved "https://registry.yarnpkg.com/@storybook/addon-backgrounds/-/addon-backgrounds-8.0.8.tgz#da119e0fa0f0c6d44c2c44c34b9861953fedd653" - integrity sha512-lrAJjVxDeXSK116rDajb56TureZiT76ygraP22/IvU3IcWCEcRiKYwlay8WgCTbJHtFmdBpelLBapoT46+IR9Q== +"@storybook/addon-backgrounds@8.0.9": + version "8.0.9" + resolved "https://registry.yarnpkg.com/@storybook/addon-backgrounds/-/addon-backgrounds-8.0.9.tgz#c08bd534f8c7c9f07b687624376e328696fdadc8" + integrity sha512-pCDecACrVyxPaJKEWS0sHsRb8xw+IPCSxDM1TkjaAQ6zZ468A/dcUnqW+LVK8bSXgQwWzn23wqnqPFSy5yptuQ== dependencies: "@storybook/global" "^5.0.0" memoizerific "^1.11.3" ts-dedent "^2.0.0" -"@storybook/addon-controls@8.0.8": - version "8.0.8" - resolved "https://registry.yarnpkg.com/@storybook/addon-controls/-/addon-controls-8.0.8.tgz#1c8e39ee9ac71704c60da79b363977006d587d75" - integrity sha512-7xANN18CLYsVthuSXwxKezqpelEKJlT9xaYLtw5vvD00btW5g3vxq+Z/A31OkS2OuaH2bE0GfRCoG2OLR8yQQA== +"@storybook/addon-controls@8.0.9": + version "8.0.9" + resolved "https://registry.yarnpkg.com/@storybook/addon-controls/-/addon-controls-8.0.9.tgz#cc1f8ffde58fdaf9ea2ef7ebf9261c3519f42a39" + integrity sha512-wWdmd62UP/sfPm8M7aJjEA+kEXTUIR/QsYi9PoYBhBZcXiikZ4kNan7oD7GfsnzGGKHrBVfwQhO+TqaENGYytA== dependencies: - "@storybook/blocks" "8.0.8" + "@storybook/blocks" "8.0.9" lodash "^4.17.21" ts-dedent "^2.0.0" -"@storybook/addon-docs@8.0.8": - version "8.0.8" - resolved "https://registry.yarnpkg.com/@storybook/addon-docs/-/addon-docs-8.0.8.tgz#0b5a7e60e32d955f42f3fcae9197e2de06946af4" - integrity sha512-HNiY4ESH9WxGS6QpIpURzdSbyDxbRh7VIgbvUrePSKajlsL4RFN/gdnn5TnSL00tOP/w+Cy/fXcbljMUKy7Ivg== +"@storybook/addon-docs@8.0.9": + version "8.0.9" + resolved "https://registry.yarnpkg.com/@storybook/addon-docs/-/addon-docs-8.0.9.tgz#3ad1a18d7be8bb2eea4a018208d67d2959ba68c2" + integrity sha512-x7hX7UuzJtClu6XwU3SfpyFhuckVcgqgD6BU6Ihxl0zs+i4xp6iKVXYSnHFMRM1sgoeT8TjPxab35Ke8w8BVRw== dependencies: "@babel/core" "^7.12.3" "@mdx-js/react" "^3.0.0" - "@storybook/blocks" "8.0.8" - "@storybook/client-logger" "8.0.8" - "@storybook/components" "8.0.8" - "@storybook/csf-plugin" "8.0.8" - "@storybook/csf-tools" "8.0.8" + "@storybook/blocks" "8.0.9" + "@storybook/client-logger" "8.0.9" + "@storybook/components" "8.0.9" + "@storybook/csf-plugin" "8.0.9" + "@storybook/csf-tools" "8.0.9" "@storybook/global" "^5.0.0" - "@storybook/node-logger" "8.0.8" - "@storybook/preview-api" "8.0.8" - "@storybook/react-dom-shim" "8.0.8" - "@storybook/theming" "8.0.8" - "@storybook/types" "8.0.8" + "@storybook/node-logger" "8.0.9" + "@storybook/preview-api" "8.0.9" + "@storybook/react-dom-shim" "8.0.9" + "@storybook/theming" "8.0.9" + "@storybook/types" "8.0.9" "@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" @@ -2098,99 +2098,99 @@ rehype-slug "^6.0.0" ts-dedent "^2.0.0" -"@storybook/addon-essentials@8.0.8": - version "8.0.8" - resolved "https://registry.yarnpkg.com/@storybook/addon-essentials/-/addon-essentials-8.0.8.tgz#b3e07dbce5fd8d903597b94a1ec99c4c08cd5472" - integrity sha512-bc9KJk7SPM2I5CCJEAP8R5leP+74IYxhWPiTN8Y1YFmf3MA1lpDJbwy+RfuRZ2ZKnSKszCXCVzU/T10HKUHLZw== - dependencies: - "@storybook/addon-actions" "8.0.8" - "@storybook/addon-backgrounds" "8.0.8" - "@storybook/addon-controls" "8.0.8" - "@storybook/addon-docs" "8.0.8" - "@storybook/addon-highlight" "8.0.8" - "@storybook/addon-measure" "8.0.8" - "@storybook/addon-outline" "8.0.8" - "@storybook/addon-toolbars" "8.0.8" - "@storybook/addon-viewport" "8.0.8" - "@storybook/core-common" "8.0.8" - "@storybook/manager-api" "8.0.8" - "@storybook/node-logger" "8.0.8" - "@storybook/preview-api" "8.0.8" +"@storybook/addon-essentials@8.0.9": + version "8.0.9" + resolved "https://registry.yarnpkg.com/@storybook/addon-essentials/-/addon-essentials-8.0.9.tgz#579942c264b1ce17c02a9588e99fbb5cb97e2083" + integrity sha512-mwAgdfrOsTuTDcagvM7veBh+iayZIWmKOazzkhrIWbhYcrXOsweigD2UOVeHgAiAzJK49znr4FXTCKcE1hOWcw== + dependencies: + "@storybook/addon-actions" "8.0.9" + "@storybook/addon-backgrounds" "8.0.9" + "@storybook/addon-controls" "8.0.9" + "@storybook/addon-docs" "8.0.9" + "@storybook/addon-highlight" "8.0.9" + "@storybook/addon-measure" "8.0.9" + "@storybook/addon-outline" "8.0.9" + "@storybook/addon-toolbars" "8.0.9" + "@storybook/addon-viewport" "8.0.9" + "@storybook/core-common" "8.0.9" + "@storybook/manager-api" "8.0.9" + "@storybook/node-logger" "8.0.9" + "@storybook/preview-api" "8.0.9" ts-dedent "^2.0.0" -"@storybook/addon-highlight@8.0.8": - version "8.0.8" - resolved "https://registry.yarnpkg.com/@storybook/addon-highlight/-/addon-highlight-8.0.8.tgz#e4c1d2df7d4b4e325a007e4a7de5042cc5101625" - integrity sha512-KKD7xiNhxZQM4fdDidtcla6jSzgN1f9qe1AwFSHLXwIW22+4c97Vgf+AookN7cJvB77HxRUnvQH//zV1CJEDug== +"@storybook/addon-highlight@8.0.9": + version "8.0.9" + resolved "https://registry.yarnpkg.com/@storybook/addon-highlight/-/addon-highlight-8.0.9.tgz#da4c0bfb347aea10234f5f6007252f9343f5f384" + integrity sha512-vaRHGDbx7dpNpQECAHk5wczlZO3ntstprGlqnZt0o7ylz6xB5+pTQwTuIFty0hwKv+3TPcskzzifATUyEOEmyg== dependencies: "@storybook/global" "^5.0.0" -"@storybook/addon-interactions@8.0.8": - version "8.0.8" - resolved "https://registry.yarnpkg.com/@storybook/addon-interactions/-/addon-interactions-8.0.8.tgz#92f1b27b47d2488736873121a0794c3bbb2b98af" - integrity sha512-UOPKOe97uV4psH1O1YeE0oFuUQgD1Vkv95JjHjQG8KiPWvwdiezV7rrjPvw8RApnSKUopjFETs8F5D59i4eARw== +"@storybook/addon-interactions@8.0.9": + version "8.0.9" + resolved "https://registry.yarnpkg.com/@storybook/addon-interactions/-/addon-interactions-8.0.9.tgz#3282df8ce79b8df9b0d46670349164c50801b5b3" + integrity sha512-AMIdNcyM6DDAWvMitBJMqp1iPZND8AXB4QT4VZHGMKG2ngHNKktriEKpTfcRkfKPGTJs9T+71dWfm6/R4tticw== dependencies: "@storybook/global" "^5.0.0" - "@storybook/instrumenter" "8.0.8" - "@storybook/test" "8.0.8" - "@storybook/types" "8.0.8" + "@storybook/instrumenter" "8.0.9" + "@storybook/test" "8.0.9" + "@storybook/types" "8.0.9" polished "^4.2.2" ts-dedent "^2.2.0" -"@storybook/addon-links@8.0.8": - version "8.0.8" - resolved "https://registry.yarnpkg.com/@storybook/addon-links/-/addon-links-8.0.8.tgz#9121b3b96e9aa696792596622582061c0320452b" - integrity sha512-iRI/W9I6fOom5zfZvsu53gfJtuhBSMmhgI/u5uZbAbfEoNL5D1PqpDXD4ygM8Vvlx90AZNZ2W5slEe7gCZOMyA== +"@storybook/addon-links@8.0.9": + version "8.0.9" + resolved "https://registry.yarnpkg.com/@storybook/addon-links/-/addon-links-8.0.9.tgz#1f7375896c8e2ffd28eec24edc0e938bc16525cd" + integrity sha512-FVt+AdW3JFSqbJzkKiqKsMRWqHXqEvCBqFs7lNfk3OW0w0jfv1iREtrxE0dVdJoUFQC9V/2Im/EpJ7UB3C2bNQ== dependencies: - "@storybook/csf" "^0.1.2" + "@storybook/csf" "^0.1.4" "@storybook/global" "^5.0.0" ts-dedent "^2.0.0" -"@storybook/addon-measure@8.0.8": - version "8.0.8" - resolved "https://registry.yarnpkg.com/@storybook/addon-measure/-/addon-measure-8.0.8.tgz#297834f54331bcfd50b28cc935844ff13ba3aff9" - integrity sha512-akyoa+1F2ripV6ELF2UbxiSHv791LWSAVK7gsD/a5eJfKZMm5yoHjcY7Icdkc/ctE+pyjAQNhkXTixUngge09w== +"@storybook/addon-measure@8.0.9": + version "8.0.9" + resolved "https://registry.yarnpkg.com/@storybook/addon-measure/-/addon-measure-8.0.9.tgz#4116b96521f74a06da0b5383cce214cc20bd7c8b" + integrity sha512-91svOOGEXmGG4USglwXLE3wtlUVgtbKJVxTKX7xRI+AC5JEEaKByVzP17/X8Qn/8HilUL7AfSQ0kCoqtPSJ5cA== dependencies: "@storybook/global" "^5.0.0" tiny-invariant "^1.3.1" -"@storybook/addon-outline@8.0.8": - version "8.0.8" - resolved "https://registry.yarnpkg.com/@storybook/addon-outline/-/addon-outline-8.0.8.tgz#3441617f7f9246be1958ae3ce421bb4f691860ec" - integrity sha512-8Gxs095ekpa5YZolLSs5cWbWK94GZTevEUX8GFeLGIz9sf1KO3kmEO3eC5ogzDoB0cloqvbmVAJvYJ3FWiUx8w== +"@storybook/addon-outline@8.0.9": + version "8.0.9" + resolved "https://registry.yarnpkg.com/@storybook/addon-outline/-/addon-outline-8.0.9.tgz#497c70332bbca5f35777f4c60afc29e505e3588e" + integrity sha512-fQ+jm356TgUnz81IxsC99/aOesbLw3N5OQRJpo/A6kqbLMzlq3ybVzuXYCKC3f0ArgQRNh4NoMeJBMRFMtaWRw== dependencies: "@storybook/global" "^5.0.0" ts-dedent "^2.0.0" -"@storybook/addon-toolbars@8.0.8": - version "8.0.8" - resolved "https://registry.yarnpkg.com/@storybook/addon-toolbars/-/addon-toolbars-8.0.8.tgz#64d54974941633aef1814d557275127de1a7da9d" - integrity sha512-PZxlK+/Fwk2xcrpr5kkXYjCbBaEjAWcEHWq7mhQReMFaAs5AJE8dvmeQ7rmPDOHnlg4+YsARDFKz5FJtthRIgg== +"@storybook/addon-toolbars@8.0.9": + version "8.0.9" + resolved "https://registry.yarnpkg.com/@storybook/addon-toolbars/-/addon-toolbars-8.0.9.tgz#6601732c6b4cc262bab13a1e50f9b11063d5cc74" + integrity sha512-nNSBnnBOhQ+EJwkrIkK4ZBYPcozNmEH770CZ/6NK85SUJ6WEBZapE6ru33jIUokFGEvlOlNCeai0GUc++cQP8w== -"@storybook/addon-viewport@8.0.8": - version "8.0.8" - resolved "https://registry.yarnpkg.com/@storybook/addon-viewport/-/addon-viewport-8.0.8.tgz#ed7a7fa0a9b89cc27130a549c3bea9a91404472c" - integrity sha512-nOuc6DquGvm24c/A0HFTgeEN/opd58ebs1KLaEEq1f6iYV0hT2Gpnk0Usg/seOiFtJnj3NyAM46HSkZz06T8Sw== +"@storybook/addon-viewport@8.0.9": + version "8.0.9" + resolved "https://registry.yarnpkg.com/@storybook/addon-viewport/-/addon-viewport-8.0.9.tgz#819496abdcc4aa9ae2fe8d4665a96e57ecebece3" + integrity sha512-Ao4+D56cO7biaw+iTlMU1FBec1idX0cmdosDeCFZin06MSawcPkeBlRBeruaSQYdLes8TBMdZPFgfuqI5yIk6g== dependencies: memoizerific "^1.11.3" -"@storybook/blocks@8.0.8": - version "8.0.8" - resolved "https://registry.yarnpkg.com/@storybook/blocks/-/blocks-8.0.8.tgz#b31e01f53d534eed5380917ffce2a4a213496f9e" - integrity sha512-kwsjhvnmFEaIl51QHJt/83G7mZ5YbzFKnWCwy8WUpi0xvVcyoFQSGGgwR3XRrzGfUEPK8P2FDHeKw1bLzyIejA== - dependencies: - "@storybook/channels" "8.0.8" - "@storybook/client-logger" "8.0.8" - "@storybook/components" "8.0.8" - "@storybook/core-events" "8.0.8" - "@storybook/csf" "^0.1.2" - "@storybook/docs-tools" "8.0.8" +"@storybook/blocks@8.0.9": + version "8.0.9" + resolved "https://registry.yarnpkg.com/@storybook/blocks/-/blocks-8.0.9.tgz#6500fef1e72618bc7715286b9dbb5bfaae20f4d4" + integrity sha512-F2zSrfSwzTFN7qW3zB80tG+EXtmfmCDC6Ird0F7tolszb6tOqJcAcBOwQbE2O0wI63sLu21qxzXgaKBMkiWvJg== + dependencies: + "@storybook/channels" "8.0.9" + "@storybook/client-logger" "8.0.9" + "@storybook/components" "8.0.9" + "@storybook/core-events" "8.0.9" + "@storybook/csf" "^0.1.4" + "@storybook/docs-tools" "8.0.9" "@storybook/global" "^5.0.0" "@storybook/icons" "^1.2.5" - "@storybook/manager-api" "8.0.8" - "@storybook/preview-api" "8.0.8" - "@storybook/theming" "8.0.8" - "@storybook/types" "8.0.8" + "@storybook/manager-api" "8.0.9" + "@storybook/preview-api" "8.0.9" + "@storybook/theming" "8.0.9" + "@storybook/types" "8.0.9" "@types/lodash" "^4.14.167" color-convert "^2.0.1" dequal "^2.0.2" @@ -2204,15 +2204,15 @@ ts-dedent "^2.0.0" util-deprecate "^1.0.2" -"@storybook/builder-manager@8.0.8": - version "8.0.8" - resolved "https://registry.yarnpkg.com/@storybook/builder-manager/-/builder-manager-8.0.8.tgz#23ed7b13aa98662ccc6bd1fb5525246a4469bd33" - integrity sha512-0uihNTpTou0RFMM6PQLlfCxDxse9nIDEb83AmWE/OUnpKDDY9+WFupVWGaZc9HfH9h4Yqre2fiuK1b7KNYe7AQ== +"@storybook/builder-manager@8.0.9": + version "8.0.9" + resolved "https://registry.yarnpkg.com/@storybook/builder-manager/-/builder-manager-8.0.9.tgz#8c03b04b3550dd637247fea2d2ddd089268408d9" + integrity sha512-/PxDwZIfMc/PSRZcasb6SIdGr3azIlenzx7dBF7Imt8i4jLHiAf1t00GvghlfJsvsrn4DNp95rbRbXTDyTj7tQ== dependencies: "@fal-works/esbuild-plugin-global-externals" "^2.1.2" - "@storybook/core-common" "8.0.8" - "@storybook/manager" "8.0.8" - "@storybook/node-logger" "8.0.8" + "@storybook/core-common" "8.0.9" + "@storybook/manager" "8.0.9" + "@storybook/node-logger" "8.0.9" "@types/ejs" "^3.1.1" "@yarnpkg/esbuild-plugin-pnp" "^3.0.0-rc.10" browser-assert "^1.2.1" @@ -2224,20 +2224,20 @@ process "^0.11.10" util "^0.12.4" -"@storybook/builder-vite@8.0.8": - version "8.0.8" - resolved "https://registry.yarnpkg.com/@storybook/builder-vite/-/builder-vite-8.0.8.tgz#55b2af2fde1bce9c1647294938462d9ea50fe68b" - integrity sha512-ibWOxoHczCc6ttMQqiSXv29m/e44sKVoc1BJluApQcjCXl9g6QXyN45zV70odjCxMfNy7EQgUjCA0mgAgMHSIw== - dependencies: - "@storybook/channels" "8.0.8" - "@storybook/client-logger" "8.0.8" - "@storybook/core-common" "8.0.8" - "@storybook/core-events" "8.0.8" - "@storybook/csf-plugin" "8.0.8" - "@storybook/node-logger" "8.0.8" - "@storybook/preview" "8.0.8" - "@storybook/preview-api" "8.0.8" - "@storybook/types" "8.0.8" +"@storybook/builder-vite@8.0.9": + version "8.0.9" + resolved "https://registry.yarnpkg.com/@storybook/builder-vite/-/builder-vite-8.0.9.tgz#22fb6eff619336c312fbfd000e201385c997d3f9" + integrity sha512-7hEQFZIIz7VvxdySDpPE96iMvZxQvRZcRdhaNGeE+8Y2pyc3DgYE4WY3sjr+LUoB0a6TYLpAIKqbXwtLz0R+PQ== + dependencies: + "@storybook/channels" "8.0.9" + "@storybook/client-logger" "8.0.9" + "@storybook/core-common" "8.0.9" + "@storybook/core-events" "8.0.9" + "@storybook/csf-plugin" "8.0.9" + "@storybook/node-logger" "8.0.9" + "@storybook/preview" "8.0.9" + "@storybook/preview-api" "8.0.9" + "@storybook/types" "8.0.9" "@types/find-cache-dir" "^3.2.1" browser-assert "^1.2.1" es-module-lexer "^0.9.3" @@ -2247,33 +2247,33 @@ magic-string "^0.30.0" ts-dedent "^2.0.0" -"@storybook/channels@8.0.8": - version "8.0.8" - resolved "https://registry.yarnpkg.com/@storybook/channels/-/channels-8.0.8.tgz#571b1ff9a58ae01a2172c877d87b1398d95c5579" - integrity sha512-L3EGVkabv3fweXnykD/GlNUDO5HtwlIfSovC7BF4MmP7662j2/eqlZrJxDojGtbv11XHjWp/UJHUIfKpcHXYjQ== +"@storybook/channels@8.0.9": + version "8.0.9" + resolved "https://registry.yarnpkg.com/@storybook/channels/-/channels-8.0.9.tgz#886aff858a13c11f49ca3d92d8a2ade67f19d407" + integrity sha512-7Lcfyy5CsLWWGhMPO9WG4jZ/Alzp0AjepFhEreYHRPtQrfttp6qMAjE/g1aHgun0qHCYWxwqIG4NLR/hqDNrXQ== dependencies: - "@storybook/client-logger" "8.0.8" - "@storybook/core-events" "8.0.8" + "@storybook/client-logger" "8.0.9" + "@storybook/core-events" "8.0.9" "@storybook/global" "^5.0.0" telejson "^7.2.0" tiny-invariant "^1.3.1" -"@storybook/cli@8.0.8": - version "8.0.8" - resolved "https://registry.yarnpkg.com/@storybook/cli/-/cli-8.0.8.tgz#e1c73a9c009823fdda795f3c3cf074a7fef8ea91" - integrity sha512-RnSdgykh2i7es1rQ7CNGpDrKK/PN1f0xjwpkAHXCEB6T9KpHBmqDquzZp+N127a1HBHHXy018yi4wT8mSQyEoA== +"@storybook/cli@8.0.9": + version "8.0.9" + resolved "https://registry.yarnpkg.com/@storybook/cli/-/cli-8.0.9.tgz#20d90c5c357d063c054f8594a6b327ce447364fd" + integrity sha512-lilYTKn8F5YOePijqfRYFa5v2mHVIJxPCIgTn+OXAmAFbcizZ6P8P6niU4J/NXulgx68Ln1M7hYhFtTP25hVTw== dependencies: "@babel/core" "^7.23.0" "@babel/types" "^7.23.0" "@ndelangen/get-tarball" "^3.0.7" - "@storybook/codemod" "8.0.8" - "@storybook/core-common" "8.0.8" - "@storybook/core-events" "8.0.8" - "@storybook/core-server" "8.0.8" - "@storybook/csf-tools" "8.0.8" - "@storybook/node-logger" "8.0.8" - "@storybook/telemetry" "8.0.8" - "@storybook/types" "8.0.8" + "@storybook/codemod" "8.0.9" + "@storybook/core-common" "8.0.9" + "@storybook/core-events" "8.0.9" + "@storybook/core-server" "8.0.9" + "@storybook/csf-tools" "8.0.9" + "@storybook/node-logger" "8.0.9" + "@storybook/telemetry" "8.0.9" + "@storybook/types" "8.0.9" "@types/semver" "^7.3.4" "@yarnpkg/fslib" "2.10.3" "@yarnpkg/libzip" "2.3.0" @@ -2300,25 +2300,25 @@ tiny-invariant "^1.3.1" ts-dedent "^2.0.0" -"@storybook/client-logger@8.0.8": - version "8.0.8" - resolved "https://registry.yarnpkg.com/@storybook/client-logger/-/client-logger-8.0.8.tgz#351cc47629e91f188c6862038bf3a13cabb7d034" - integrity sha512-a4BKwl9NLFcuRgMyI7S4SsJeLFK0LCQxIy76V6YyrE1DigoXz4nA4eQxdjLf7JVvU0EZFmNSfbVL/bXzzWKNXA== +"@storybook/client-logger@8.0.9": + version "8.0.9" + resolved "https://registry.yarnpkg.com/@storybook/client-logger/-/client-logger-8.0.9.tgz#90a099ad79d6959cd3d0ee4f753edb0cc54a54f5" + integrity sha512-LzV/RHkbf07sRc1Jc0ff36RlapKf9Ul7/+9VMvVbI3hshH1CpmrZK4t/tsIdpX/EVOdJ1Gg5cES06PnleOAIPA== dependencies: "@storybook/global" "^5.0.0" -"@storybook/codemod@8.0.8": - version "8.0.8" - resolved "https://registry.yarnpkg.com/@storybook/codemod/-/codemod-8.0.8.tgz#1480bfc7c005ade0ec3181158103c82e70ffdf3f" - integrity sha512-ufEBLciLmLlAh+L6lGgBObTiny6odXMKqiJOewQ9XfIN0wdWdyRUf5QdZIPOdfgHhWF2Q2HeswiulsoHm8Z/hA== +"@storybook/codemod@8.0.9": + version "8.0.9" + resolved "https://registry.yarnpkg.com/@storybook/codemod/-/codemod-8.0.9.tgz#196dae4b4a921244ed384217f79651979eff1b45" + integrity sha512-VBeGpSZSQpL6iyLLqceJSNGhdCqcNwv+xC/aWdDFOkmuE1YfbmNNwpa9QYv4ZFJ2QjUsm4iTWG60qK+9NXeSKA== 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.8" - "@storybook/node-logger" "8.0.8" - "@storybook/types" "8.0.8" + "@storybook/csf" "^0.1.4" + "@storybook/csf-tools" "8.0.9" + "@storybook/node-logger" "8.0.9" + "@storybook/types" "8.0.9" "@types/cross-spawn" "^6.0.2" cross-spawn "^7.0.3" globby "^11.0.2" @@ -2328,30 +2328,30 @@ recast "^0.23.5" tiny-invariant "^1.3.1" -"@storybook/components@8.0.8": - version "8.0.8" - resolved "https://registry.yarnpkg.com/@storybook/components/-/components-8.0.8.tgz#e189a9eb2891e0677317d8e016c217ff35a8565e" - integrity sha512-EpBExH4kHWQJSfA8QXJJ5AsLRUGi5X/zWY7ffiYW8rtnBmEnk3T9FpmnyJlY1A8sdd3b1wQ07JGBDHfL1mdELw== +"@storybook/components@8.0.9": + version "8.0.9" + resolved "https://registry.yarnpkg.com/@storybook/components/-/components-8.0.9.tgz#f087e69d8d95ff0e5766042fc4f9481882db73bb" + integrity sha512-JcwBGADzIJs0PSzqykrrD2KHzNG9wtexUOKuidt+FSv9szpUhe3qBAXIHpdfBRl7mOJ9TRZ5rt+mukEnfncdzA== dependencies: "@radix-ui/react-slot" "^1.0.2" - "@storybook/client-logger" "8.0.8" - "@storybook/csf" "^0.1.2" + "@storybook/client-logger" "8.0.9" + "@storybook/csf" "^0.1.4" "@storybook/global" "^5.0.0" "@storybook/icons" "^1.2.5" - "@storybook/theming" "8.0.8" - "@storybook/types" "8.0.8" + "@storybook/theming" "8.0.9" + "@storybook/types" "8.0.9" memoizerific "^1.11.3" util-deprecate "^1.0.2" -"@storybook/core-common@8.0.8": - version "8.0.8" - resolved "https://registry.yarnpkg.com/@storybook/core-common/-/core-common-8.0.8.tgz#3a6136097559bcfa581a372516f67f13ace85655" - integrity sha512-CL15M2oeQW+Rb1l7ciunLDI2Re+ojL2lX1ZFAiDedcOU+JHsdq43zAuXoZVzp8icUi2AUSwEjZIxGCSingj+JQ== +"@storybook/core-common@8.0.9": + version "8.0.9" + resolved "https://registry.yarnpkg.com/@storybook/core-common/-/core-common-8.0.9.tgz#ccf97c549943f670dcecaefebeb4a8637bac6b42" + integrity sha512-Jmue+sfHFb4GTYBzyWYw1MygoJiQSfISIrKmNIzAmZ+oR9EOr+jpu/i/bH+uetZ2Hqg1AGhj1VB7OtJp9HQyWw== dependencies: - "@storybook/core-events" "8.0.8" - "@storybook/csf-tools" "8.0.8" - "@storybook/node-logger" "8.0.8" - "@storybook/types" "8.0.8" + "@storybook/core-events" "8.0.9" + "@storybook/csf-tools" "8.0.9" + "@storybook/node-logger" "8.0.9" + "@storybook/types" "8.0.9" "@yarnpkg/fslib" "2.10.3" "@yarnpkg/libzip" "2.3.0" chalk "^4.1.0" @@ -2377,35 +2377,35 @@ ts-dedent "^2.0.0" util "^0.12.4" -"@storybook/core-events@8.0.8": - version "8.0.8" - resolved "https://registry.yarnpkg.com/@storybook/core-events/-/core-events-8.0.8.tgz#70b606bdcfd153b0e94ded4414069aac89e38419" - integrity sha512-PtuvR7vS4glDEdCfKB4f1k3Vs1C3rTWP2DNbF+IjjPhNLMBznCdzTAPcz+NUIBvpjjGnhKwWikJ0yj931YjSVg== +"@storybook/core-events@8.0.9": + version "8.0.9" + resolved "https://registry.yarnpkg.com/@storybook/core-events/-/core-events-8.0.9.tgz#d14db371f1f959e8c3baaa6098d2c506bcb3f3ad" + integrity sha512-DxSUx7wG9Qe3OFUBnv3OrYq48J8UWNo2DUR5/JecJCtp3n++L4fAEW3J0IF5FfxpQDMQSp1yTNjZ2PaWCMd2ag== dependencies: ts-dedent "^2.0.0" -"@storybook/core-server@8.0.8": - version "8.0.8" - resolved "https://registry.yarnpkg.com/@storybook/core-server/-/core-server-8.0.8.tgz#2cb60f2ca58720f6257cb70327b93aea8f0df074" - integrity sha512-tSEueEBttbSohzhZVN2bFNlFx3eoqQ7p57cjQLKXXwKygS2qKxISKnFy+Y0nj20APz68Wj51kx0rN0nGALeegw== +"@storybook/core-server@8.0.9": + version "8.0.9" + resolved "https://registry.yarnpkg.com/@storybook/core-server/-/core-server-8.0.9.tgz#c3f4790e35b6a116df64c6e6d1161c2077c70c4e" + integrity sha512-BIe1T5YUBl0GYxEjRoTQsvXD2pyuzL8rPTUD41zlzSQM0R8U6Iant9SzRms4u0+rKUm2mGxxKuODlUo5ewqaGA== 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.8" - "@storybook/channels" "8.0.8" - "@storybook/core-common" "8.0.8" - "@storybook/core-events" "8.0.8" - "@storybook/csf" "^0.1.2" - "@storybook/csf-tools" "8.0.8" + "@storybook/builder-manager" "8.0.9" + "@storybook/channels" "8.0.9" + "@storybook/core-common" "8.0.9" + "@storybook/core-events" "8.0.9" + "@storybook/csf" "^0.1.4" + "@storybook/csf-tools" "8.0.9" "@storybook/docs-mdx" "3.0.0" "@storybook/global" "^5.0.0" - "@storybook/manager" "8.0.8" - "@storybook/manager-api" "8.0.8" - "@storybook/node-logger" "8.0.8" - "@storybook/preview-api" "8.0.8" - "@storybook/telemetry" "8.0.8" - "@storybook/types" "8.0.8" + "@storybook/manager" "8.0.9" + "@storybook/manager-api" "8.0.9" + "@storybook/node-logger" "8.0.9" + "@storybook/preview-api" "8.0.9" + "@storybook/telemetry" "8.0.9" + "@storybook/types" "8.0.9" "@types/detect-port" "^1.3.0" "@types/node" "^18.0.0" "@types/pretty-hrtime" "^1.0.0" @@ -2433,25 +2433,25 @@ watchpack "^2.2.0" ws "^8.2.3" -"@storybook/csf-plugin@8.0.8": - version "8.0.8" - resolved "https://registry.yarnpkg.com/@storybook/csf-plugin/-/csf-plugin-8.0.8.tgz#91d5ad52236b7977f193f36c536a460aeae297e9" - integrity sha512-x9WspjZGcqXENj/Vn4Qmn0oTW93KN2V9wqpflWwCUJTByl2MugQsh5xRuDbs2yM7dD6zKcqRyPaTY+GFZBW+Vg== +"@storybook/csf-plugin@8.0.9": + version "8.0.9" + resolved "https://registry.yarnpkg.com/@storybook/csf-plugin/-/csf-plugin-8.0.9.tgz#af030b3063d01278de332c5985df8cff10e9b63b" + integrity sha512-pXaNCNi++kxKsqSWwvx215fPx8cNqvepLVxQ7B69qXLHj80DHn0Q3DFBO3sLXNiQMJ2JK4OYcTxMfuOiyzszKw== dependencies: - "@storybook/csf-tools" "8.0.8" + "@storybook/csf-tools" "8.0.9" unplugin "^1.3.1" -"@storybook/csf-tools@8.0.8": - version "8.0.8" - resolved "https://registry.yarnpkg.com/@storybook/csf-tools/-/csf-tools-8.0.8.tgz#04f843bfc3961271adbb3e64be7e5e32396c51f8" - integrity sha512-Ji5fpoGym/MSyHJ6ALghVUUecwhEbN0On+jOZ2VPkrkATi9UDtryHQPdF60HKR63Iv53xRuWRzudB6zm43RTzw== +"@storybook/csf-tools@8.0.9": + version "8.0.9" + resolved "https://registry.yarnpkg.com/@storybook/csf-tools/-/csf-tools-8.0.9.tgz#8c24422fc12519be7756b4dcccad900962e6a88a" + integrity sha512-PiNMhL97giLytTdQwuhsZ92buVk4gy9H/8DtrDhUc45/1OmF95gogm6T2Yap729SIFwgpOcuq/U3aVo6d6swVQ== 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.8" + "@storybook/csf" "^0.1.4" + "@storybook/types" "8.0.9" fs-extra "^11.1.0" recast "^0.23.5" ts-dedent "^2.0.0" @@ -2463,7 +2463,7 @@ dependencies: lodash "^4.17.15" -"@storybook/csf@^0.1.2": +"@storybook/csf@^0.1.4": version "0.1.4" resolved "https://registry.yarnpkg.com/@storybook/csf/-/csf-0.1.4.tgz#18224bcd571fa834ccc4bebda8a0ca4cedbc4d91" integrity sha512-B9UI/lsQMjF+oEfZCI6YXNoeuBcGZoOP5x8yKbe2tIEmsMjSztFKkpPzi5nLCnBk/MBtl6QJeI3ksJnbsWPkOw== @@ -2475,14 +2475,15 @@ 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.8": - version "8.0.8" - resolved "https://registry.yarnpkg.com/@storybook/docs-tools/-/docs-tools-8.0.8.tgz#4a46a474dec06ea1f87ea577de5cbfb57f3ce71f" - integrity sha512-p/MIrDshXMl/fiCRlfG9StkRYI1QlUyUSQQ/YDBFlBfWcJYARIt3TIvQyvs3Q/apnQNcDXIW663W57s7WHTO2w== +"@storybook/docs-tools@8.0.9": + version "8.0.9" + resolved "https://registry.yarnpkg.com/@storybook/docs-tools/-/docs-tools-8.0.9.tgz#4257adede62028a6e1176151a09fa4f4fa146b12" + integrity sha512-OzogAeOmeHea/MxSPKRBWtOQVNSpoq+OOpimO9YRA5h5GBRJ2TUOGT44Gny6QT4ll5AvQA8fIiq9KezKcLekAg== dependencies: - "@storybook/core-common" "8.0.8" - "@storybook/preview-api" "8.0.8" - "@storybook/types" "8.0.8" + "@storybook/core-common" "8.0.9" + "@storybook/core-events" "8.0.9" + "@storybook/preview-api" "8.0.9" + "@storybook/types" "8.0.9" "@types/doctrine" "^0.0.3" assert "^2.1.0" doctrine "^3.0.0" @@ -2498,33 +2499,33 @@ resolved "https://registry.yarnpkg.com/@storybook/icons/-/icons-1.2.9.tgz#bb4a51a79e186b62e2dd0e04928b8617ac573838" integrity sha512-cOmylsz25SYXaJL/gvTk/dl3pyk7yBFRfeXTsHvTA3dfhoU/LWSq0NKL9nM7WBasJyn6XPSGnLS4RtKXLw5EUg== -"@storybook/instrumenter@8.0.8": - version "8.0.8" - resolved "https://registry.yarnpkg.com/@storybook/instrumenter/-/instrumenter-8.0.8.tgz#4e9d11afe464073e142617217cb7c76f29e3e803" - integrity sha512-bCu9Tu48WOQ8ZNUed+FCSMr3Uw81b4yW/knD2goqx15nD33B7xXBNSI2GTHH5YaEHVyIFFggQcKHLkELXWlsoA== +"@storybook/instrumenter@8.0.9": + version "8.0.9" + resolved "https://registry.yarnpkg.com/@storybook/instrumenter/-/instrumenter-8.0.9.tgz#a0aec1afcf76dc6c2f3f9e82ef3e8ed7d16bdcbe" + integrity sha512-Gw74dgpTU/2p7FG0s7DuVdqCbJ2MEcSuRJjDo7HcXRYcvWp7I6Ly+C0v7N5VaoS+kbBVerAhLKIHZgG/LZf1og== dependencies: - "@storybook/channels" "8.0.8" - "@storybook/client-logger" "8.0.8" - "@storybook/core-events" "8.0.8" + "@storybook/channels" "8.0.9" + "@storybook/client-logger" "8.0.9" + "@storybook/core-events" "8.0.9" "@storybook/global" "^5.0.0" - "@storybook/preview-api" "8.0.8" + "@storybook/preview-api" "8.0.9" "@vitest/utils" "^1.3.1" util "^0.12.4" -"@storybook/manager-api@8.0.8": - version "8.0.8" - resolved "https://registry.yarnpkg.com/@storybook/manager-api/-/manager-api-8.0.8.tgz#e9c2661a8b2fe060076e9bb02fcdc7d498f6caed" - integrity sha512-1HU4nfLRi0sD2uw229gb8EQyufNWrLvMNpg013kBsBXRd+Dj4dqF3v+KrYFNtteY7riC4mAJ6YcQ4tBUNYZDug== +"@storybook/manager-api@8.0.9": + version "8.0.9" + resolved "https://registry.yarnpkg.com/@storybook/manager-api/-/manager-api-8.0.9.tgz#5361d253c6704643f44afb95271b3d206d831740" + integrity sha512-99b3yKArDSvfabXL7QE3nA95e4DdW/5H/ZCcr6/E2qCQJayZ6G1v/WWamKXbiaTpkndulFmcb/+ZmnDXcweIIQ== dependencies: - "@storybook/channels" "8.0.8" - "@storybook/client-logger" "8.0.8" - "@storybook/core-events" "8.0.8" - "@storybook/csf" "^0.1.2" + "@storybook/channels" "8.0.9" + "@storybook/client-logger" "8.0.9" + "@storybook/core-events" "8.0.9" + "@storybook/csf" "^0.1.4" "@storybook/global" "^5.0.0" "@storybook/icons" "^1.2.5" - "@storybook/router" "8.0.8" - "@storybook/theming" "8.0.8" - "@storybook/types" "8.0.8" + "@storybook/router" "8.0.9" + "@storybook/theming" "8.0.9" + "@storybook/types" "8.0.9" dequal "^2.0.2" lodash "^4.17.21" memoizerific "^1.11.3" @@ -2532,27 +2533,27 @@ telejson "^7.2.0" ts-dedent "^2.0.0" -"@storybook/manager@8.0.8": - version "8.0.8" - resolved "https://registry.yarnpkg.com/@storybook/manager/-/manager-8.0.8.tgz#a90dd62b64348698308738d8a5986f02fb5671e8" - integrity sha512-pWYHSDmgT8p/XbQMKuDPdgB6KzjePI6dU5KQ5MERYfch1UiuGPVm1HHDlxxSfHW0IIXw9Qnwq4L0Awe4qhvJKQ== - -"@storybook/node-logger@8.0.8": - version "8.0.8" - resolved "https://registry.yarnpkg.com/@storybook/node-logger/-/node-logger-8.0.8.tgz#12d29cac99ef439aba0050f2fb03894ed4c52c86" - integrity sha512-ymps3MMTxtMWq0eDiXk1iO7iv0Eg0PuUvOpPPohEJauGzU9THv81xx01aaHKSprFFJYD2LMQr1aFuUplItO12g== - -"@storybook/preview-api@8.0.8": - version "8.0.8" - resolved "https://registry.yarnpkg.com/@storybook/preview-api/-/preview-api-8.0.8.tgz#0684226cd822b9266cceced26ce288b91ea6aa02" - integrity sha512-khgw2mNiBrSZS3KNGQPzjneL3Csh3BOq0yLAtJpT7CRSrI/YjlE7jjcTkKzoxW+UCgvNTnLvsowcuzu82e69fA== - dependencies: - "@storybook/channels" "8.0.8" - "@storybook/client-logger" "8.0.8" - "@storybook/core-events" "8.0.8" - "@storybook/csf" "^0.1.2" +"@storybook/manager@8.0.9": + version "8.0.9" + resolved "https://registry.yarnpkg.com/@storybook/manager/-/manager-8.0.9.tgz#e24971577714bbed02b55596d1363fbda78cfa21" + integrity sha512-+NnRo+5JQFGNqveKrLtC0b+Z08Tae4m44iq292bPeZMpr9OkFsIkU0PBPsHTHPkrqC/zZXRNsCsTEgvu3p2OIA== + +"@storybook/node-logger@8.0.9": + version "8.0.9" + resolved "https://registry.yarnpkg.com/@storybook/node-logger/-/node-logger-8.0.9.tgz#0825e53bce014a8faa51029ab89e91b5eac1af8b" + integrity sha512-5ajMdZFrYrjGLJOVDq7dlEQNFsgeLHymt4dCK9MulL/ciXykmXUZXE3Bye0wFy+I2qqDVvrvR8uzCvSFvm5MAQ== + +"@storybook/preview-api@8.0.9": + version "8.0.9" + resolved "https://registry.yarnpkg.com/@storybook/preview-api/-/preview-api-8.0.9.tgz#273ac693a8d7333a33e1a8202e663dd9a9f02cc4" + integrity sha512-zHfX34bkAMzzmE7vbDzaqFwSW6ExiBD0HiO1L/IsHF55f0f7xV7IH8uJyFRrDTvAoW3ReSxZDMvvPpeydFPKGA== + dependencies: + "@storybook/channels" "8.0.9" + "@storybook/client-logger" "8.0.9" + "@storybook/core-events" "8.0.9" + "@storybook/csf" "^0.1.4" "@storybook/global" "^5.0.0" - "@storybook/types" "8.0.8" + "@storybook/types" "8.0.9" "@types/qs" "^6.9.5" dequal "^2.0.2" lodash "^4.17.21" @@ -2562,97 +2563,96 @@ ts-dedent "^2.0.0" util-deprecate "^1.0.2" -"@storybook/preview@8.0.8": - version "8.0.8" - resolved "https://registry.yarnpkg.com/@storybook/preview/-/preview-8.0.8.tgz#4a914fa1a512d664c77a43395453ddc4a229989a" - integrity sha512-J/ooKcvDV1s7ROH7lF/0vOyWDOgDB7bN6vS67J1WK0HLvMGaqUzU+q3ndakGzu0LU/jvUBqEFSZd1ALWyZINDQ== +"@storybook/preview@8.0.9": + version "8.0.9" + resolved "https://registry.yarnpkg.com/@storybook/preview/-/preview-8.0.9.tgz#46ebdf09bc7eb9601c4ddce9a09e0c63ae31c662" + integrity sha512-tFsR8xc8AYBZZrZw8enklFbSQt7ZAV+rv20BoxwDhd3q7fjXyK7O4moGPqUwBZ7rukTG13nPoISxr+VXAk/HYA== -"@storybook/react-dom-shim@8.0.8": - version "8.0.8" - resolved "https://registry.yarnpkg.com/@storybook/react-dom-shim/-/react-dom-shim-8.0.8.tgz#28370b050be3e5ebea296efa6bde01a792ac96fd" - integrity sha512-vOMlAz2HH/xfgZmSO28fCEmp5/tPxINDEdBDVLdZeYG6R1j5jlMRyaNcXt4cPNDkyc///PkB/K767hg4goca/Q== +"@storybook/react-dom-shim@8.0.9": + version "8.0.9" + resolved "https://registry.yarnpkg.com/@storybook/react-dom-shim/-/react-dom-shim-8.0.9.tgz#9fcfcc93a41c84f5a046b0b97647684061e2ac7d" + integrity sha512-8011KlRuG3obr5pZZ7bcEyYYNWF3tR596YadoMd267NPoHKvwAbKL1L/DNgb6kiYjZDUf9QfaKSCWW31k0kcRQ== -"@storybook/router@8.0.8": - version "8.0.8" - resolved "https://registry.yarnpkg.com/@storybook/router/-/router-8.0.8.tgz#9688ff51590b303725e4db065483ec134dffe571" - integrity sha512-wdFdNsEKweigU9VkGZtpb7GhBJLWzbABcwOuEy2h0d5m7egB97hy9BxhANdqkC+PbAHrabxC99Ca3wTj50MoDg== +"@storybook/router@8.0.9": + version "8.0.9" + resolved "https://registry.yarnpkg.com/@storybook/router/-/router-8.0.9.tgz#69cfff588d8c8a4160404f1f2897ce1feb9cecb1" + integrity sha512-aAOWxbM9J4mt+cp4o88T2PB29mgBBTOzU37/pUsTHYnKnR9XI4npXEXdN8Gv+ryqM0kj0AbBpz/llFlnR2MNNA== dependencies: - "@storybook/client-logger" "8.0.8" + "@storybook/client-logger" "8.0.9" memoizerific "^1.11.3" qs "^6.10.0" -"@storybook/telemetry@8.0.8": - version "8.0.8" - resolved "https://registry.yarnpkg.com/@storybook/telemetry/-/telemetry-8.0.8.tgz#d477d9fcdc5d7a50692d39ba1e061c1e5e500d46" - integrity sha512-Uvj4nN01vQgjXZYKF/GKTFE85//Qm4ZTlJxTFWid+oYWc8NpAyJvlsJkj/dsEn4cLrgnJx2e4xvnx0Umr2ck+A== +"@storybook/telemetry@8.0.9": + version "8.0.9" + resolved "https://registry.yarnpkg.com/@storybook/telemetry/-/telemetry-8.0.9.tgz#148bd044c4bac7197188aaf54e313fb184fd69aa" + integrity sha512-AGGfcup06t+wxhBIkHd0iybieOh9PDVZQJ9oPct5JGB39+ni9wvs0WOD+MYlHbsjp8id7+aGkh6mYuYOvfck+Q== dependencies: - "@storybook/client-logger" "8.0.8" - "@storybook/core-common" "8.0.8" - "@storybook/csf-tools" "8.0.8" + "@storybook/client-logger" "8.0.9" + "@storybook/core-common" "8.0.9" + "@storybook/csf-tools" "8.0.9" 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.8": - version "8.0.8" - resolved "https://registry.yarnpkg.com/@storybook/test/-/test-8.0.8.tgz#041ec2164de26ae77e493d8121495c556e0ae7c8" - integrity sha512-YXgwgg1e8ggDg2BlgeExwdN3MjeExnDvybQIUugADgun87tRIujJFCdjh0PAxg0Qvln6+lU3w+3Y2aryvX42RA== +"@storybook/test@8.0.9": + version "8.0.9" + resolved "https://registry.yarnpkg.com/@storybook/test/-/test-8.0.9.tgz#b7c60dca424a57f84d4f6be6c186037a8cc305dd" + integrity sha512-bRd5tBJnPzR6UKbDXONWnFWtdkNOY99HMLDUWe5fTRo50GwkrpFBVqPflhdkruEeof0kAbBUbnoN2CIYgtnAFw== dependencies: - "@storybook/client-logger" "8.0.8" - "@storybook/core-events" "8.0.8" - "@storybook/instrumenter" "8.0.8" - "@storybook/preview-api" "8.0.8" + "@storybook/client-logger" "8.0.9" + "@storybook/core-events" "8.0.9" + "@storybook/instrumenter" "8.0.9" + "@storybook/preview-api" "8.0.9" "@testing-library/dom" "^9.3.4" "@testing-library/jest-dom" "^6.4.2" "@testing-library/user-event" "^14.5.2" "@vitest/expect" "1.3.1" "@vitest/spy" "^1.3.1" - chai "^4.4.1" util "^0.12.4" -"@storybook/theming@8.0.8": - version "8.0.8" - resolved "https://registry.yarnpkg.com/@storybook/theming/-/theming-8.0.8.tgz#ef72edf6b7f37c0e7e2d6134eccfdff54618d8c6" - integrity sha512-43hkNz7yo8Bl97AO2WbxIGprUqMhUZyK9g8383bd30gSxy9nfND/bdSdcgmA8IokDn8qp37Q4QmxtUZdhjMzZQ== +"@storybook/theming@8.0.9": + version "8.0.9" + resolved "https://registry.yarnpkg.com/@storybook/theming/-/theming-8.0.9.tgz#cb5a4f6ddc4a15faa64905cfad60422c3db252f2" + integrity sha512-jgfDuYoiNMMirQiASN3Eg0hGDXsEtpdAcMxyShqYGwu9elxgD9yUnYC2nSckYsM74a3ZQ3JaViZ9ZFSe2FHmeQ== dependencies: "@emotion/use-insertion-effect-with-fallbacks" "^1.0.1" - "@storybook/client-logger" "8.0.8" + "@storybook/client-logger" "8.0.9" "@storybook/global" "^5.0.0" memoizerific "^1.11.3" -"@storybook/types@8.0.8": - version "8.0.8" - resolved "https://registry.yarnpkg.com/@storybook/types/-/types-8.0.8.tgz#bf226aad7a3036490359e261607e6f7f234f6c9c" - integrity sha512-NGsgCsXnWlaZmHenHDgHGs21zhweZACkqTNsEQ7hvsiF08QeiKAdgJLQg3YeGK73h9mFDRP9djprUtJYab6vnQ== +"@storybook/types@8.0.9": + version "8.0.9" + resolved "https://registry.yarnpkg.com/@storybook/types/-/types-8.0.9.tgz#6597c35c0b147e43a6b23b2159514fea312f2214" + integrity sha512-ew0EXzk9k4B557P1qIWYrnvUcgaE0WWA5qQS0AU8l+fRTp5nvl9O3SP/zNIB0SN1qDFO7dXr3idTNTyIikTcEQ== dependencies: - "@storybook/channels" "8.0.8" + "@storybook/channels" "8.0.9" "@types/express" "^4.7.0" file-system-cache "2.3.0" -"@storybook/web-components-vite@8.0.8": - version "8.0.8" - resolved "https://registry.yarnpkg.com/@storybook/web-components-vite/-/web-components-vite-8.0.8.tgz#6e98c523f26385f87615050a476379eec7819666" - integrity sha512-kRVBioF9DiVq4GB43nXacMiQyw0AhGe2TeBX9Mh+ZY7mPRDkhnSshr4wqXW6GkHwfLkTus0M0naDeYxaU8EUPA== +"@storybook/web-components-vite@8.0.9": + version "8.0.9" + resolved "https://registry.yarnpkg.com/@storybook/web-components-vite/-/web-components-vite-8.0.9.tgz#46831f00e7dd210e4f69aadbfd745674453080b6" + integrity sha512-6NyrFjAKeYrt2XhxbVpM+1XBQYJnkT0unYVNlml2S45D/68JRqoezLFaSZrxQOa2PGs1TT0c1bhw+GYbaOXLOw== dependencies: - "@storybook/builder-vite" "8.0.8" - "@storybook/core-server" "8.0.8" - "@storybook/node-logger" "8.0.8" - "@storybook/web-components" "8.0.8" + "@storybook/builder-vite" "8.0.9" + "@storybook/core-server" "8.0.9" + "@storybook/node-logger" "8.0.9" + "@storybook/web-components" "8.0.9" magic-string "^0.30.0" -"@storybook/web-components@8.0.8": - version "8.0.8" - resolved "https://registry.yarnpkg.com/@storybook/web-components/-/web-components-8.0.8.tgz#89920c154584ce0de84347bdbfde04885d540223" - integrity sha512-ggTGVTTiip+1/pGhfkWLpF4sb+bMX9Pnh5s62zZJIhryIzdw/lIaAGAyhxn9xaJjEaoZgsbxxOcuTRuW53G3MQ== +"@storybook/web-components@8.0.9": + version "8.0.9" + resolved "https://registry.yarnpkg.com/@storybook/web-components/-/web-components-8.0.9.tgz#0d6ffcb62b2ed1ca7cb730266ace08b7502b0563" + integrity sha512-wQJZANzTcDfMvoNOL7sqL4SiShKVUAPV15XrdchEaf+RVFAi3edHvubgwRpKcz2H/vyeD86oumxmCNtJbWDctQ== dependencies: - "@storybook/client-logger" "8.0.8" - "@storybook/docs-tools" "8.0.8" + "@storybook/client-logger" "8.0.9" + "@storybook/docs-tools" "8.0.9" "@storybook/global" "^5.0.0" - "@storybook/manager-api" "8.0.8" - "@storybook/preview-api" "8.0.8" - "@storybook/types" "8.0.8" + "@storybook/manager-api" "8.0.9" + "@storybook/preview-api" "8.0.9" + "@storybook/types" "8.0.9" tiny-invariant "^1.3.1" ts-dedent "^2.0.0" @@ -4334,7 +4334,7 @@ chai-a11y-axe@^1.5.0: dependencies: axe-core "^4.3.3" -chai@^4.3.10, chai@^4.4.1: +chai@^4.3.10: version "4.4.1" resolved "https://registry.yarnpkg.com/chai/-/chai-4.4.1.tgz#3603fa6eba35425b0f2ac91a009fe924106e50d1" integrity sha512-13sOfMv2+DWduEU+/xbun3LScLoqN17nBeTLUsmDfKdoiC1fr0n9PU4guu4AhRcOVFk/sW8LyZWHuhWtQZiF+g== @@ -10169,12 +10169,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.8: - version "8.0.8" - resolved "https://registry.yarnpkg.com/storybook/-/storybook-8.0.8.tgz#1ef69577d8eb174f8d62e1bd3302a9baa157e670" - integrity sha512-9gTnnAakJBtMCg8oPGqnpy7g/C3Tj2IWiVflHiFg1SDD9zXBoc4mZhaYPTne4LRBUhXk7XuFagKfiRN2V/MuKA== +storybook@8.0.9: + version "8.0.9" + resolved "https://registry.yarnpkg.com/storybook/-/storybook-8.0.9.tgz#169f0625511f4881046a467b56b196b093176a1c" + integrity sha512-/Mvij0Br5bUwJpCvqAUZMEDIWmdRxEyllvVj8Ukw5lIWJePxfpSsz4px5jg9+R6B9tO8sQSqjg4HJvQ/pZk8Tg== dependencies: - "@storybook/cli" "8.0.8" + "@storybook/cli" "8.0.9" stream-read-all@^3.0.1: version "3.0.1" From 504423c5351cd2be97db0f4c99a8a51bd9e640d9 Mon Sep 17 00:00:00 2001 From: Jeri Peier Date: Tue, 23 Apr 2024 10:37:29 +0200 Subject: [PATCH 11/17] docs: add getting started and clean up docs (#2490) --------- Co-authored-by: Davide Mininni <101575400+DavideMininni-Fincons@users.noreply.github.com> Co-authored-by: Tommmaso Menga Co-authored-by: Lukas Spirig --- .github/ISSUE_TEMPLATE/bug-report.yml | 4 +- .../ISSUE_TEMPLATE/contributing-request.yml | 4 +- .../feature-request-or-enhancement.yml | 4 +- .github/ISSUE_TEMPLATE/question.yml | 4 +- .github/pull_request_template.md | 6 +- CODE_OF_CONDUCT.md | 4 - LICENSE | 2 +- README.md | 55 ++-- STORYBOOK.md | 45 --- docs/CICD.md | 27 -- docs/CODE_OF_CONDUCT.md | 110 +++++++ .../CODING_STANDARDS.md | 161 ++++++---- CONTRIBUTING.md => docs/CONTRIBUTING.md | 5 +- docs/DEVELOP.md | 132 -------- DEVELOPER.md => docs/DEVELOPER.md | 16 +- docs/GETTING_STARTED.md | 290 ++++++++++++++++++ docs/README.md | 17 - REVIEW.md => docs/REVIEW.md | 12 +- docs/STATES.md | 49 --- docs/TERMINOLOGY.md | 3 - docs/VISION.md | 99 +++++- 21 files changed, 658 insertions(+), 391 deletions(-) delete mode 100644 CODE_OF_CONDUCT.md delete mode 100644 STORYBOOK.md delete mode 100644 docs/CICD.md create mode 100644 docs/CODE_OF_CONDUCT.md rename CODING_STANDARDS.md => docs/CODING_STANDARDS.md (76%) rename CONTRIBUTING.md => docs/CONTRIBUTING.md (97%) delete mode 100644 docs/DEVELOP.md rename DEVELOPER.md => docs/DEVELOPER.md (84%) create mode 100644 docs/GETTING_STARTED.md delete mode 100644 docs/README.md rename REVIEW.md => docs/REVIEW.md (92%) delete mode 100644 docs/STATES.md delete mode 100644 docs/TERMINOLOGY.md diff --git a/.github/ISSUE_TEMPLATE/bug-report.yml b/.github/ISSUE_TEMPLATE/bug-report.yml index 79992defb9..a9bcad9d01 100644 --- a/.github/ISSUE_TEMPLATE/bug-report.yml +++ b/.github/ISSUE_TEMPLATE/bug-report.yml @@ -15,9 +15,9 @@ body: attributes: label: Preflight Checklist options: - - label: I have read the [Contributing Guidelines](https://github.com/lyne-design-system/lyne-components/blob/main/CONTRIBUTING.md) for this project. + - label: I have read the [Contributing Guidelines](https://github.com/lyne-design-system/lyne-components/blob/main/docs/CONTRIBUTING.md) for this project. required: true - - label: I agree to follow the [Code of Conduct](https://github.com/lyne-design-system/lyne-components/blob/main/CODE_OF_CONDUCT.md) that this project adheres to. + - label: I agree to follow the [Code of Conduct](https://github.com/lyne-design-system/lyne-components/blob/main/docs/CODE_OF_CONDUCT.md) that this project adheres to. required: true - label: I have searched the [issue tracker](https://github.com/orgs/lyne-design-system/projects/4) for an issue that matches the one I want to file, without success. required: true diff --git a/.github/ISSUE_TEMPLATE/contributing-request.yml b/.github/ISSUE_TEMPLATE/contributing-request.yml index 6d7d499d8e..8a2c2b2129 100644 --- a/.github/ISSUE_TEMPLATE/contributing-request.yml +++ b/.github/ISSUE_TEMPLATE/contributing-request.yml @@ -10,9 +10,9 @@ body: attributes: label: Preflight Checklist options: - - label: I have read the [Contributing Guidelines](https://github.com/lyne-design-system/lyne-components/blob/main/CONTRIBUTING.md) for this project. + - label: I have read the [Contributing Guidelines](https://github.com/lyne-design-system/lyne-components/blob/main/docs/CONTRIBUTING.md) for this project. required: true - - label: I agree to follow the [Code of Conduct](https://github.com/lyne-design-system/lyne-components/blob/main/CODE_OF_CONDUCT.md) that this project adheres to. + - label: I agree to follow the [Code of Conduct](https://github.com/lyne-design-system/lyne-components/blob/main/docs/CODE_OF_CONDUCT.md) that this project adheres to. required: true - label: I have searched the [issue tracker](https://github.com/orgs/lyne-design-system/projects/4) for an issue that matches the one I want to file, without success. required: true diff --git a/.github/ISSUE_TEMPLATE/feature-request-or-enhancement.yml b/.github/ISSUE_TEMPLATE/feature-request-or-enhancement.yml index cc8ba44309..4a8e3ee19f 100644 --- a/.github/ISSUE_TEMPLATE/feature-request-or-enhancement.yml +++ b/.github/ISSUE_TEMPLATE/feature-request-or-enhancement.yml @@ -10,9 +10,9 @@ body: attributes: label: Preflight Checklist options: - - label: I have read the [Contributing Guidelines](https://github.com/lyne-design-system/lyne-components/blob/main/CONTRIBUTING.md) for this project. + - label: I have read the [Contributing Guidelines](https://github.com/lyne-design-system/lyne-components/blob/main/docs/CONTRIBUTING.md) for this project. required: true - - label: I agree to follow the [Code of Conduct](https://github.com/lyne-design-system/lyne-components/blob/main/CODE_OF_CONDUCT.md) that this project adheres to. + - label: I agree to follow the [Code of Conduct](https://github.com/lyne-design-system/lyne-components/blob/main/docs/CODE_OF_CONDUCT.md) that this project adheres to. required: true - label: I have searched the [issue tracker](https://github.com/orgs/lyne-design-system/projects/4) for an issue that matches the one I want to file, without success. required: true diff --git a/.github/ISSUE_TEMPLATE/question.yml b/.github/ISSUE_TEMPLATE/question.yml index c07a0c8f92..6d6443291f 100644 --- a/.github/ISSUE_TEMPLATE/question.yml +++ b/.github/ISSUE_TEMPLATE/question.yml @@ -10,9 +10,9 @@ body: attributes: label: Preflight Checklist options: - - label: I have read the [Contributing Guidelines](https://github.com/lyne-design-system/lyne-components/blob/main/CONTRIBUTING.md) for this project. + - label: I have read the [Contributing Guidelines](https://github.com/lyne-design-system/lyne-components/blob/main/docs/CONTRIBUTING.md) for this project. required: true - - label: I agree to follow the [Code of Conduct](https://github.com/lyne-design-system/lyne-components/blob/main/CODE_OF_CONDUCT.md) that this project adheres to. + - label: I agree to follow the [Code of Conduct](https://github.com/lyne-design-system/lyne-components/blob/main/docs/CODE_OF_CONDUCT.md) that this project adheres to. required: true - label: I have searched the [issue tracker](https://github.com/orgs/lyne-design-system/projects/4) for an issue that matches the one I want to file, without success. required: true diff --git a/.github/pull_request_template.md b/.github/pull_request_template.md index 1c376c50bf..af6a71f28a 100644 --- a/.github/pull_request_template.md +++ b/.github/pull_request_template.md @@ -2,8 +2,8 @@ -- [ ] I have read the [Contributing Guidelines](https://github.com/lyne-design-system/lyne-components/blob/main/CONTRIBUTING.md) for this project. -- [ ] I agree to follow the [Code of Conduct](https://github.com/lyne-design-system/lyne-components/blob/main/CODE_OF_CONDUCT.md) that this project adheres to. +- [ ] I have read the [Contributing Guidelines](https://github.com/lyne-design-system/lyne-components/blob/main/docs/CONTRIBUTING.md) for this project. +- [ ] I agree to follow the [Code of Conduct](https://github.com/lyne-design-system/lyne-components/blob/main/docs/CODE_OF_CONDUCT.md) that this project adheres to. - [ ] I have searched the [pull request tracker](https://github.com/lyne-design-system/lyne-components/pulls) for a Pull Request (PR) that matches the one I want to submit, without success. ## Issue @@ -17,7 +17,7 @@ Please check if your PR fulfills the following requirements: - [ ] Tests for the changes have been added (for bug fixes / features) - [ ] Docs have been reviewed and added / updated if needed (for bug fixes / features) -See [Review Guidelines](../REVIEW.md) for more information what is checked during review process. +See [Review Guidelines](../docs/REVIEW.md) for more information what is checked during review process. ## Changes diff --git a/CODE_OF_CONDUCT.md b/CODE_OF_CONDUCT.md deleted file mode 100644 index 5a0a3772cd..0000000000 --- a/CODE_OF_CONDUCT.md +++ /dev/null @@ -1,4 +0,0 @@ -# Code of Conduct - -This project is governed by [Lyne's Code of Conduct](https://github.com/lyne-design-system/lyne/blob/main/CODE_OF_CONDUCT.md). -All contributors and participants agree to abide by its terms. diff --git a/LICENSE b/LICENSE index a5b37cc3a7..70a7c91766 100644 --- a/LICENSE +++ b/LICENSE @@ -1,6 +1,6 @@ MIT License -Copyright (c) 2018-2023, SBB AG +Copyright (c) 2018-2024, SBB AG Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/README.md b/README.md index 3fd5b61341..507cea4f10 100644 --- a/README.md +++ b/README.md @@ -1,25 +1,30 @@ -

- Lyne Components -

+# Lyne Components -> _Lyne Components_ are the building blocks of the [Lyne Design System](https://github.com/lyne-design-system/lyne/blob/main/docs/TERMINOLOGY.md#lyne) -> and are based on standard compliant [Web Components](https://github.com/lyne-design-system/lyne/blob/main/docs/TERMINOLOGY.md#web-components) -> created using [Lit](https://github.com/lyne-design-system/lyne/blob/main/docs/TERMINOLOGY.md#lit) and -> browsable through [Storybook](https://github.com/lyne-design-system/lyne/blob/main/docs/TERMINOLOGY.md#storybook) +> Lyne Components are the building blocks of the Lyne Design System +> and are based on standard compliant Web Components +> created using [Lit](https://lit.dev/) and +> browsable through [Storybook](https://lyne-storybook.app.sbb.ch/) -
+## 🎯 Our aim -## ⚠️ Notice +To fulfill our [Vision](./docs/VISION.md), we are building and maintaining Lyne, our Design System, which is and acts +as our common language — our Single Source of Truth. +For this purpose we use [Design Tokens](https://github.com/lyne-design-system/lyne-design-tokens) as our design abstractions. +Those [Design Tokens](https://github.com/lyne-design-system/lyne-design-tokens) are consumed by Lyne Components and are integrated within our documentation. -**_Lyne Components_ are 🧪experimental at the moment — with enthusiasm.
Don't use the project until it has left infancy.** +Lyne Design Tokens and Lyne Components are available for developers and designers. -
+## 📚 Documentation + +- General docs: [digital.sbb.ch](https://digital.sbb.ch) +- Component docs: [Storybook](https://lyne-storybook.app.sbb.ch) +- [Getting started guide](./docs/GETTING_STARTED.md) -## 💻 What we're working on right now +## 🔗 Packages -Check the current tasks we're working on over [here](https://github.com/lyne-design-system/lyne-components/projects/4) but since the project is still **🧪 experimental** and in rapid development not all tasks we're working on are reflected as issues (or tickets) since this would be too cumbersome at the current development stage. Also check out over [TODOS](./TODOS.md) what all needs to be done (at some point). +- [NPM Packages](https://www.npmjs.com/search?q=%40sbb-esta%2Flyne-) -## Browser and screen reader support +## 🖥 Browser and screen reader support This library supports the most recent two versions of all major browsers: Chrome (including Android), Firefox, Safari (including iOS), and Edge. @@ -30,24 +35,14 @@ macOS: VoiceOver with Safari / Chrome. iOS: VoiceOver with Safari Android: Android Accessibility Suite (formerly TalkBack) with Chrome. -## ⛩️ Storybook - -The latest still **🧪 experimental** version of the Storybook component browser for _Lyne Components_ can be found [here](https://lyne-storybook.app.sbb.ch/). - -## 🍱 npm - -The current **🧪 experimental** build of Lyne Components can be found on [npm](https://www.npmjs.com/package/@sbb-esta/lyne-components). - -## 📚 Documentation - -Check the [docs](docs/README.md) directory for our documentation which we will continuously enhance. -Component specific docs are available on our [storybook](https://lyne-storybook.app.sbb.ch). -General docs can be read on [digital.sbb.ch](https://digital.sbb.ch). - ## 🙌 Contributing -See our [contributing guide](CONTRIBUTING.md) and check also our [code of conduct](CODE_OF_CONDUCT.md) 👀. +- [General contribution guide](./docs/CONTRIBUTING.md) +- [Developer guide](./docs/DEVELOPER.md) for developers to get started working with this repo. +- [Coding standards](./docs/CODING_STANDARDS.md) for developers. +- [Code of conduct](./docs/CODE_OF_CONDUCT.md) ## 📝 License -This software is published by SBB-CFF-FFS under the [MIT](/LICENSE) licence and unsupported unless otherwise clearly stated. Use at your own risk. +This software is published by SBB-CFF-FFS under the [MIT](/LICENSE) licence and unsupported unless otherwise clearly stated. +Use at your own risk. diff --git a/STORYBOOK.md b/STORYBOOK.md deleted file mode 100644 index 2075c6bb9d..0000000000 --- a/STORYBOOK.md +++ /dev/null @@ -1,45 +0,0 @@ -# Connection between lyne-components and lyne-documentation - -## Workflow - -To automate the documentation process, we use the information that we provide in the `.stories.js` files render the components and their variants on the documentation platform automatically. - -Therefore, we have some extra information that we provide inside the `.stories.js` files. - -## Stories Example - -Let's look at a simple story: - -```javascript -export const SimpleStory = (args) => ; -``` - -You can define properties like title and specific container styling for a story like this: - -```javascript -SimpleStory.documentation = { - container: { - styles: { - 'background-color': '#eb0000', - }, - }, - title: 'Title for the story', -}; -``` - -## Global properties - -Sometimes, we need to use args on component to render a story which would not be necessary to render the component. We just might have to use it for the story to work properly. - -Look at the `sbb-button.stories.js` stories for example: there we use the property `iconslot` to define which icon should be rendered for the button. But in a real world application, developers would define the icon via a slot directly. - -In this case it is important that we `hide` this property from the documentation. To do so, you can define such properties in the default export of the stories file: - -```javascript -export default { - documentation: { - disableArgs: ['iconslot'], - }, - title: 'Sample Lyne Component', -}; -``` diff --git a/docs/CICD.md b/docs/CICD.md deleted file mode 100644 index 092fb2d8de..0000000000 --- a/docs/CICD.md +++ /dev/null @@ -1,27 +0,0 @@ -# CI/CD - -## SemVer - -We adhere to the semantic versioning standard. With each merge into main, the potential next version is automatically determined by the `sematic-release` package. - -Only commits that adhere to the `Conventional Commits` standard ([https://www.conventionalcommits.org/](https://www.conventionalcommits.org/)) will trigger semantic releases accordingly. - -To make sure developers properly style their commit messages, we use `husky` together with `commit-lint`. - -## Tools - -- [GitHub](https://github.com/lyne-design-system/lyne-components): Source code repository. -- [GitHub Actions](https://github.com/lyne-design-system/lyne-components/actions): CI & CD is done with GitHub Actions. -- [Netlify](https://app.netlify.com/): The storybook build and the deployments page are deployed to Netlify. -- [Codecov](https://codecov.io/bash): A report for code coverage is created for each release and uploaded to Codecov. -- [Deep Code](https://www.deepcode.ai/): analyzes the code -- [Git Guardian](https://gitguardian.com/): checks the code for security vulnerabilities -- [Snyk](https://snyk.io/): checks all the dependencies for vulnerabilities - -## Artefacts - -The following build artefacts are relevant for deployments: - -- `./dist/components`: web components that are published to npm -- `./dist/react`: react components that are published to npm -- `./dist/storybook`: the storybook build that is deployed to chromatic and to preview environment diff --git a/docs/CODE_OF_CONDUCT.md b/docs/CODE_OF_CONDUCT.md new file mode 100644 index 0000000000..31c0ba22cc --- /dev/null +++ b/docs/CODE_OF_CONDUCT.md @@ -0,0 +1,110 @@ +# Lyne Code of Conduct + +## tl;dr + +- **Be respectful & understanding.** Not all of us will agree all the time, but + disagreement is no excuse for poor behavior or poor manners. It is important + that we resolve disagreements and differing views constructively. + +- **Be welcoming.** We strive to be a community that welcomes and supports + people of all backgrounds and identities. + +## Our Pledge + +We as members, contributors, and leaders pledge to make participation in our community a harassment-free experience +for everyone, regardless of age, body size, visible or invisible disability, ethnicity, sex characteristics, +gender identity and expression, level of experience, education, socio-economic status, nationality, personal appearance, +race, political and religious beliefs, or sexual identity and orientation. + +We pledge to act and interact in ways that contribute to an open, welcoming, diverse, inclusive, and healthy community. + +## Our Standards + +Examples of behavior that contributes to a positive environment for our community include: + +- Demonstrating empathy and kindness toward other people +- Being respectful of differing opinions, viewpoints, and experiences +- Giving and gracefully accepting constructive feedback +- Accepting responsibility and apologizing to those affected by our mistakes, and learning from the experience +- Focusing on what is best not just for us as individuals, but for the overall community + +Examples of unacceptable behavior include: + +- The use of sexualized language or imagery, and sexual attention or + advances of any kind +- Trolling, insulting or derogatory comments, and personal or political attacks +- Public or private harassment +- Publishing others' private information, such as a physical or email + address, without their explicit permission +- Other conduct which could reasonably be considered inappropriate in a + professional setting + +## Enforcement Responsibilities + +Community leaders are responsible for clarifying and enforcing our standards of acceptable behavior and will +take appropriate and fair corrective action in response to any behavior that they deem inappropriate, +threatening, offensive, or harmful. + +Community leaders have the right and responsibility to remove, edit, or reject comments, commits, code, wiki edits, +issues, and other contributions that are not aligned to this Code of Conduct, and will communicate reasons +for moderation decisions when appropriate. + +## Scope + +This Code of Conduct applies within all community spaces, and also applies when an individual is officially +representing the community in public spaces. Examples of representing our community include using an official +e-mail address, posting via an official social media account, or acting as an appointed +representative at an online or offline event. + +## Enforcement + +Instances of abusive, harassing, or otherwise unacceptable behavior may be reported to the community leaders +responsible for enforcement at esta@sbb.ch. +All complaints will be reviewed and investigated promptly and fairly. + +All community leaders are obligated to respect the privacy and security of the reporter of any incident. + +## Enforcement Guidelines + +Community leaders will follow these Community Impact Guidelines in determining the consequences for any action +they deem in violation of this Code of Conduct: + +### 1. Correction + +**Community Impact**: Use of inappropriate language or other behavior deemed unprofessional or unwelcome in the community. + +**Consequence**: A private, written warning from community leaders, providing clarity around the nature of +the violation and an explanation of why the behavior was inappropriate. A public apology may be requested. + +### 2. Warning + +**Community Impact**: A violation through a single incident or series of actions. + +**Consequence**: A warning with consequences for continued behavior. No interaction with the people involved, +including unsolicited interaction with those enforcing the Code of Conduct, for a specified period of time. This includes avoiding interactions in community spaces as well as external channels like social media. Violating these terms may lead to a temporary or permanent ban. + +### 3. Temporary Ban + +**Community Impact**: A serious violation of community standards, including sustained inappropriate behavior. + +**Consequence**: A temporary ban from any sort of interaction or public communication with the community for +a specified period of time. No public or private interaction with the people involved, including unsolicited interaction +with those enforcing the Code of Conduct, is allowed during this period. Violating these terms may lead to a permanent ban. + +### 4. Permanent Ban + +**Community Impact**: Demonstrating a pattern of violation of community standards, including sustained +inappropriate behavior, harassment of an individual, or aggression toward or disparagement of classes of individuals. + +**Consequence**: A permanent ban from any sort of public interaction within the community. + +## Attribution + +This Code of Conduct is adapted from + +- [Contributor Covenant](https://www.contributor-covenant.org/), version 2.0, available at https://www.contributor-covenant.org/version/2/0/code_of_conduct.html +- [IBM Carbon code of conduct](https://github.com/carbon-design-system/carbon/blob/master/.github/CODE_OF_CONDUCT.md) +- Community Impact Guidelines were inspired by [Mozilla's code of conduct enforcement ladder](https://github.com/mozilla/diversity) + +For answers to common questions about this code of conduct, see the FAQ at +https://www.contributor-covenant.org/faq. Translations are available at https://www.contributor-covenant.org/translations. diff --git a/CODING_STANDARDS.md b/docs/CODING_STANDARDS.md similarity index 76% rename from CODING_STANDARDS.md rename to docs/CODING_STANDARDS.md index 5bb879f505..51fbf84dbe 100644 --- a/CODING_STANDARDS.md +++ b/docs/CODING_STANDARDS.md @@ -1,4 +1,4 @@ -# lyne Coding Standards +# Lyne Coding Standards ## Code style @@ -13,17 +13,17 @@ This project uses [Prettier](https://prettier.io/) to enforce a consistent code Comments that explain what some block of code does are nice; they can tell you something in less time than it would take to follow through the code itself. -Comments that explain why some block of code exists at all, or does something the way it does, +Comments that explain why some block of code exists at all or does something the way it does, are _invaluable_. The "why" is difficult, or sometimes impossible, to track down without seeking out the original author. When collaborators are in the same room, this hurts productivity. -When collaborators are in different timezones, this can be devastating to productivity. +When collaborators are in different time zones, this can be devastating to productivity. For example, this is a not-very-useful comment: ```ts // Set default tabindex. -if (!$attrs['tabindex']) { - $element.attr('tabindex', '-1'); +if (!this.getAttribute('tabindex')) { + this.setAttribute('tabindex', '-1'); } ``` @@ -31,10 +31,10 @@ While this is much more useful: ```ts // Unless the user specifies so, the calendar should not be a tab stop. -// This is necessary because ngAria might add a tabindex to anything with an ng-model +// This is necessary because it might add a tabindex to anything with an ng-model // (based on whether or not the user has turned that particular feature on/off). -if (!$attrs['tabindex']) { - $element.attr('tabindex', '-1'); +if (!this.getAttribute('tabindex')) { + this.setAttribute('tabindex', '-1'); } ``` @@ -50,15 +50,15 @@ In HTML code, use `` comments, which will be stripped when packaging Every time a component is created, a `readme.md` file is generated; don't underestimate its value, as it will be the documentation entry point for consumers. -The `generate` script will create a base structure for the component description; try to stick at it if you can. +The `generate` script will create a base structure for the component description; try to stick to it if you can. Start with a brief sentence which describes the main purpose of the component and why it should be used; if it is related to other components, mention them and add a link to their documentation. Then describe how the component should be used, adding code examples: -if it's a presentational one explain its graphic variants using the `### Style` paragraph, +if it's a presentational one, explain its graphic variants using the `### Style` paragraph, while if it's a complex one you could use the `### Interaction` paragraph. -Almost all the components has `### Slots` and can have different `### States`; describe how they can be used. +Almost all the components have `### Slots` and can have different `### States`; describe how they can be used. #### Prefer small, focused modules @@ -66,15 +66,15 @@ Keeping modules to a single responsibility makes the code easier to test, consum ESM modules offer a straightforward way to organize code into logical, granular units. Ideally, individual files are 200 - 300 lines of code. -As a rule of thumb, once a file draws near 400 lines (barring abnormally long constants / comments), +As a rule of thumb, once a file draws near 400 lines (barring abnormally long constants/comments), start considering how to refactor into smaller pieces. -This might not always apply to components, but should be considered during implementation. +This might not always apply to components but should be considered during implementation. #### Less is more Once a feature is released, it never goes away. We should avoid adding features that don't offer -high user value for price we pay both in maintenance, complexity, and payload size. When in doubt, +high user value for the price we pay both in maintenance, complexity, and payload size. When in doubt, leave it out. This applies especially to providing two different APIs to accomplish the same thing. Always @@ -82,7 +82,7 @@ prefer sticking to a _single_ API for accomplishing something. #### Action elements -As we have to "reimplement" button and anchor functionality in order to comply with +Since we have to "reimplement" the button and anchor functionality in order to comply with accessibility, we need to consider all native behavior of a native `