From 7055ca94959368b0d9d970820533fe3a2f840592 Mon Sep 17 00:00:00 2001 From: Tim McCabe Date: Thu, 19 Oct 2023 09:59:14 -0700 Subject: [PATCH 1/8] Make `useOnMountEffect` accept functions with void return types (#2089) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ## Summary: Previously, `useOnMountEffect` accepted functions that either return a cleanup function or explicitly return undefined. This means that functions with no return value (e.g. `() => {}`) result in errors, even though they're accepted by `useEffect`. This PR updates the argument type so that it accepts functions with void returns. Minor version bump because the API changed, but it is non-breaking. ## Test plan: N/A Author: timmcca-be Reviewers: kevinbarabash Required Reviewers: Approved By: kevinbarabash Checks: ✅ codecov/project, ✅ Chromatic - Get results on regular PRs (ubuntu-latest, 16.x), ✅ Test (ubuntu-latest, 16.x, 2/2), ✅ Check build sizes (ubuntu-latest, 16.x), ✅ Lint (ubuntu-latest, 16.x), ✅ Test (ubuntu-latest, 16.x, 1/2), ✅ Chromatic - Build on regular PRs / chromatic (ubuntu-latest, 16.x), ✅ Publish npm snapshot (ubuntu-latest, 16.x), ⏭ Chromatic - Skip on Release PR (changesets), ✅ Prime node_modules cache for primary configuration (ubuntu-latest, 16.x), ✅ Check for .changeset entries for all changed files (ubuntu-latest, 16.x), ⏭ dependabot, ✅ gerald Pull Request URL: https://github.com/Khan/wonder-blocks/pull/2089 --- .changeset/beige-kings-train.md | 5 +++++ packages/wonder-blocks-core/src/hooks/use-on-mount-effect.ts | 4 +--- 2 files changed, 6 insertions(+), 3 deletions(-) create mode 100644 .changeset/beige-kings-train.md diff --git a/.changeset/beige-kings-train.md b/.changeset/beige-kings-train.md new file mode 100644 index 000000000..6f53d5cc5 --- /dev/null +++ b/.changeset/beige-kings-train.md @@ -0,0 +1,5 @@ +--- +"@khanacademy/wonder-blocks-core": minor +--- + +Make useOnMountEffect accept functions with void return types diff --git a/packages/wonder-blocks-core/src/hooks/use-on-mount-effect.ts b/packages/wonder-blocks-core/src/hooks/use-on-mount-effect.ts index 05a3a4d81..7dd198a38 100644 --- a/packages/wonder-blocks-core/src/hooks/use-on-mount-effect.ts +++ b/packages/wonder-blocks-core/src/hooks/use-on-mount-effect.ts @@ -28,9 +28,7 @@ import * as React from "react"; * * If you only need to do something on mount, don't return a cleanup function from `callback`. */ -export const useOnMountEffect = ( - callback: () => undefined | (() => void), -): void => { +export const useOnMountEffect = (callback: () => void | (() => void)): void => { // eslint-disable-next-line react-hooks/exhaustive-deps React.useEffect(callback, []); }; From 0b4c41d4db3ae8d3ccf0ef0f48ef22a588de1894 Mon Sep 17 00:00:00 2001 From: Juan Andrade Date: Thu, 19 Oct 2023 16:25:16 -0400 Subject: [PATCH 2/8] =?UTF-8?q?[=F0=9F=94=A5AUDIT=F0=9F=94=A5]=20Upgrade?= =?UTF-8?q?=20Storybook=20to=20v7.5=20(#2092)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 🖍 _This is an audit!_ 🖍 ## Summary: Upgraded Storybook to v7.5. Issue: XXX-XXXX ## Test plan: Verify that Storybook still works. Author: jandrade Auditors: #wonder-blocks Required Reviewers: Approved By: Checks: ✅ codecov/project, ✅ Lint (ubuntu-latest, 16.x), ✅ Test (ubuntu-latest, 16.x, 2/2), ✅ Check build sizes (ubuntu-latest, 16.x), ✅ Test (ubuntu-latest, 16.x, 1/2), ✅ Publish npm snapshot (ubuntu-latest, 16.x), ✅ Check for .changeset entries for all changed files (ubuntu-latest, 16.x), ✅ Prime node_modules cache for primary configuration (ubuntu-latest, 16.x), ✅ Chromatic - Get results on regular PRs (ubuntu-latest, 16.x), ✅ Chromatic - Build on regular PRs / chromatic (ubuntu-latest, 16.x), ⏭ Chromatic - Skip on Release PR (changesets), ✅ gerald, ⏭ dependabot Pull Request URL: https://github.com/Khan/wonder-blocks/pull/2092 --- package.json | 16 +- yarn.lock | 1088 +++++++++++++++++++++++++++----------------------- 2 files changed, 590 insertions(+), 514 deletions(-) diff --git a/package.json b/package.json index e1e5b1e48..993aa525f 100644 --- a/package.json +++ b/package.json @@ -50,15 +50,15 @@ "@khanacademy/eslint-plugin": "^2.0.0", "@khanacademy/wonder-stuff-testing": "^3.0.1", "@rollup/plugin-node-resolve": "^15.0.2", - "@storybook/addon-a11y": "^7.4.6", + "@storybook/addon-a11y": "^7.5.1", "@storybook/addon-designs": "^7.0.5", - "@storybook/addon-docs": "^7.4.6", - "@storybook/addon-essentials": "^7.4.6", - "@storybook/addon-interactions": "^7.4.6", - "@storybook/addon-mdx-gfm": "^7.4.6", + "@storybook/addon-docs": "^7.5.1", + "@storybook/addon-essentials": "^7.5.1", + "@storybook/addon-interactions": "^7.5.1", + "@storybook/addon-mdx-gfm": "^7.5.1", "@storybook/jest": "^0.2.3", - "@storybook/react": "^7.4.6", - "@storybook/react-vite": "^7.4.6", + "@storybook/react": "^7.5.1", + "@storybook/react-vite": "^7.5.1", "@storybook/testing-library": "^0.2.2", "@swc-node/register": "^1.6.5", "@swc/core": "^1.3.36", @@ -109,7 +109,7 @@ "rollup": "^2.79.1", "rollup-plugin-auto-external": "^2.0.0", "rollup-plugin-babel": "^4.0.0-beta.2", - "storybook": "^7.4.6", + "storybook": "^7.5.1", "typescript": "^4.9.5", "typescript-coverage-report": "^0.7.0", "vite": "^4.4.8", diff --git a/yarn.lock b/yarn.lock index 5a3f35e96..9f520cb84 100644 --- a/yarn.lock +++ b/yarn.lock @@ -34,6 +34,14 @@ dependencies: "@babel/highlight" "^7.18.6" +"@babel/code-frame@^7.22.13": + version "7.22.13" + resolved "https://registry.yarnpkg.com/@babel/code-frame/-/code-frame-7.22.13.tgz#e3c1c099402598483b7a8c46a721d1038803755e" + integrity sha512-XktuhWlJ5g+3TJXc5upd9Ks1HutSArik6jf2eAjYFyIOf4ej3RN+184cZbzDvbPnuTJIUhPKKJE3cIsYTiAT3w== + dependencies: + "@babel/highlight" "^7.22.13" + chalk "^2.4.2" + "@babel/code-frame@^7.22.5": version "7.22.5" resolved "https://registry.yarnpkg.com/@babel/code-frame/-/code-frame-7.22.5.tgz#234d98e1551960604f1246e6475891a570ad5658" @@ -72,7 +80,7 @@ json5 "^2.2.2" semver "^6.3.0" -"@babel/core@^7.13.16", "@babel/core@^7.20.12", "@babel/core@^7.22.9", "@babel/core@^7.7.5": +"@babel/core@^7.13.16", "@babel/core@^7.20.12", "@babel/core@^7.22.9": version "7.22.9" resolved "https://registry.yarnpkg.com/@babel/core/-/core-7.22.9.tgz#bd96492c68822198f33e8a256061da3cf391f58f" integrity sha512-G2EgeufBcYw27U4hhoIwFcgc1XU7TlXJ3mv04oOv1WCuo900U/anZSPzEqNjwdjgffkk2Gs0AN0dW1CKVLcG7w== @@ -93,6 +101,27 @@ json5 "^2.2.2" semver "^6.3.1" +"@babel/core@^7.18.9": + version "7.23.2" + resolved "https://registry.yarnpkg.com/@babel/core/-/core-7.23.2.tgz#ed10df0d580fff67c5f3ee70fd22e2e4c90a9f94" + integrity sha512-n7s51eWdaWZ3vGT2tD4T7J6eJs3QoBXydv7vkUM06Bf1cbVD2Kc2UrkzhiQwobfV7NwOnQXYL7UBJ5VPU+RGoQ== + dependencies: + "@ampproject/remapping" "^2.2.0" + "@babel/code-frame" "^7.22.13" + "@babel/generator" "^7.23.0" + "@babel/helper-compilation-targets" "^7.22.15" + "@babel/helper-module-transforms" "^7.23.0" + "@babel/helpers" "^7.23.2" + "@babel/parser" "^7.23.0" + "@babel/template" "^7.22.15" + "@babel/traverse" "^7.23.2" + "@babel/types" "^7.23.0" + convert-source-map "^2.0.0" + debug "^4.1.0" + gensync "^1.0.0-beta.2" + json5 "^2.2.3" + semver "^6.3.1" + "@babel/eslint-parser@^7.21.8": version "7.21.8" resolved "https://registry.yarnpkg.com/@babel/eslint-parser/-/eslint-parser-7.21.8.tgz#59fb6fc4f3b017ab86987c076226ceef7b2b2ef2" @@ -109,7 +138,17 @@ dependencies: eslint-rule-composer "^0.3.0" -"@babel/generator@^7.12.11", "@babel/generator@^7.22.7", "@babel/generator@^7.22.9": +"@babel/generator@^7.21.5", "@babel/generator@^7.7.2": + version "7.21.5" + resolved "https://registry.yarnpkg.com/@babel/generator/-/generator-7.21.5.tgz#c0c0e5449504c7b7de8236d99338c3e2a340745f" + integrity sha512-SrKK/sRv8GesIW1bDagf9cCG38IOMYZusoe1dfg0D8aiUe3Amvoj1QtjTPAWcfrZFvIwlleLb0gxzQidL9w14w== + dependencies: + "@babel/types" "^7.21.5" + "@jridgewell/gen-mapping" "^0.3.2" + "@jridgewell/trace-mapping" "^0.3.17" + jsesc "^2.5.1" + +"@babel/generator@^7.22.7", "@babel/generator@^7.22.9": version "7.22.9" resolved "https://registry.yarnpkg.com/@babel/generator/-/generator-7.22.9.tgz#572ecfa7a31002fa1de2a9d91621fd895da8493d" integrity sha512-KtLMbmicyuK2Ak/FTCJVbDnkN1SlT8/kceFTiuDiiRUUSMnHMidxSCdG4ndkTOHHpoomWe/4xkvHkEOncwjYIw== @@ -119,12 +158,12 @@ "@jridgewell/trace-mapping" "^0.3.17" jsesc "^2.5.1" -"@babel/generator@^7.21.5", "@babel/generator@^7.7.2": - version "7.21.5" - resolved "https://registry.yarnpkg.com/@babel/generator/-/generator-7.21.5.tgz#c0c0e5449504c7b7de8236d99338c3e2a340745f" - integrity sha512-SrKK/sRv8GesIW1bDagf9cCG38IOMYZusoe1dfg0D8aiUe3Amvoj1QtjTPAWcfrZFvIwlleLb0gxzQidL9w14w== +"@babel/generator@^7.23.0": + version "7.23.0" + resolved "https://registry.yarnpkg.com/@babel/generator/-/generator-7.23.0.tgz#df5c386e2218be505b34837acbcb874d7a983420" + integrity sha512-lN85QRR+5IbYrMWM6Y4pE/noaQtg4pNiqeNGX60eqOfo6gtEj6uw/JagelB8vVztSd7R6M5n1+PQkDbHbBRU4g== dependencies: - "@babel/types" "^7.21.5" + "@babel/types" "^7.23.0" "@jridgewell/gen-mapping" "^0.3.2" "@jridgewell/trace-mapping" "^0.3.17" jsesc "^2.5.1" @@ -169,6 +208,17 @@ lru-cache "^5.1.1" semver "^6.3.0" +"@babel/helper-compilation-targets@^7.22.15": + version "7.22.15" + resolved "https://registry.yarnpkg.com/@babel/helper-compilation-targets/-/helper-compilation-targets-7.22.15.tgz#0698fc44551a26cf29f18d4662d5bf545a6cfc52" + integrity sha512-y6EEzULok0Qvz8yyLkCvVX+02ic+By2UdOhylwUOvOn9dvYc9mKICJuuU1n1XBI02YWsNsnrY1kc6DVbjcXbtw== + dependencies: + "@babel/compat-data" "^7.22.9" + "@babel/helper-validator-option" "^7.22.15" + browserslist "^4.21.9" + lru-cache "^5.1.1" + semver "^6.3.1" + "@babel/helper-compilation-targets@^7.22.5", "@babel/helper-compilation-targets@^7.22.6", "@babel/helper-compilation-targets@^7.22.9": version "7.22.9" resolved "https://registry.yarnpkg.com/@babel/helper-compilation-targets/-/helper-compilation-targets-7.22.9.tgz#f9d0a7aaaa7cd32a3f31c9316a69f5a9bcacb892" @@ -259,6 +309,11 @@ resolved "https://registry.yarnpkg.com/@babel/helper-environment-visitor/-/helper-environment-visitor-7.21.5.tgz#c769afefd41d171836f7cb63e295bedf689d48ba" integrity sha512-IYl4gZ3ETsWocUWgsFZLM5i1BYx9SoemminVEXadgLBa9TdeorzgLKm8wWLA6J1N/kT3Kch8XIk1laNzYoHKvQ== +"@babel/helper-environment-visitor@^7.22.20": + version "7.22.20" + resolved "https://registry.yarnpkg.com/@babel/helper-environment-visitor/-/helper-environment-visitor-7.22.20.tgz#96159db61d34a29dba454c959f5ae4a649ba9167" + integrity sha512-zfedSIzFhat/gFhWfHtgWvlec0nqB9YEIVrpuwjruLlXfUSnA8cJB0miHKwqDnQ7d32aKo2xt88/xZptwxbfhA== + "@babel/helper-environment-visitor@^7.22.5": version "7.22.5" resolved "https://registry.yarnpkg.com/@babel/helper-environment-visitor/-/helper-environment-visitor-7.22.5.tgz#f06dd41b7c1f44e1f8da6c4055b41ab3a09a7e98" @@ -287,6 +342,14 @@ "@babel/template" "^7.22.5" "@babel/types" "^7.22.5" +"@babel/helper-function-name@^7.23.0": + version "7.23.0" + resolved "https://registry.yarnpkg.com/@babel/helper-function-name/-/helper-function-name-7.23.0.tgz#1f9a3cdbd5b2698a670c30d2735f9af95ed52759" + integrity sha512-OErEqsrxjZTJciZ4Oo+eoZqeW9UIiOcuYKRJA4ZAgV9myA+pOXhhmpfNCKjEH/auVfEYVFJ6y1Tc4r0eIApqiw== + dependencies: + "@babel/template" "^7.22.15" + "@babel/types" "^7.23.0" + "@babel/helper-hoist-variables@^7.18.6": version "7.18.6" resolved "https://registry.yarnpkg.com/@babel/helper-hoist-variables/-/helper-hoist-variables-7.18.6.tgz#d4d2c8fb4baeaa5c68b99cc8245c56554f926678" @@ -322,6 +385,13 @@ dependencies: "@babel/types" "^7.21.4" +"@babel/helper-module-imports@^7.22.15": + version "7.22.15" + resolved "https://registry.yarnpkg.com/@babel/helper-module-imports/-/helper-module-imports-7.22.15.tgz#16146307acdc40cc00c3b2c647713076464bdbf0" + integrity sha512-0pYVBnDKZO2fnSPCrgM/6WMc7eS20Fbok+0r88fp+YtWVLZrp4CkafFGIp+W0VKw4a22sgebPT99y+FDNMdP4w== + dependencies: + "@babel/types" "^7.22.15" + "@babel/helper-module-imports@^7.22.5": version "7.22.5" resolved "https://registry.yarnpkg.com/@babel/helper-module-imports/-/helper-module-imports-7.22.5.tgz#1a8f4c9f4027d23f520bd76b364d44434a72660c" @@ -354,6 +424,17 @@ "@babel/helper-split-export-declaration" "^7.22.6" "@babel/helper-validator-identifier" "^7.22.5" +"@babel/helper-module-transforms@^7.23.0": + version "7.23.0" + resolved "https://registry.yarnpkg.com/@babel/helper-module-transforms/-/helper-module-transforms-7.23.0.tgz#3ec246457f6c842c0aee62a01f60739906f7047e" + integrity sha512-WhDWw1tdrlT0gMgUJSlX0IQvoO1eN279zrAUbVB+KpV2c3Tylz8+GnKOLllCS6Z/iZQEyVYxhZVUdPTqs2YYPw== + dependencies: + "@babel/helper-environment-visitor" "^7.22.20" + "@babel/helper-module-imports" "^7.22.15" + "@babel/helper-simple-access" "^7.22.5" + "@babel/helper-split-export-declaration" "^7.22.6" + "@babel/helper-validator-identifier" "^7.22.20" + "@babel/helper-optimise-call-expression@^7.18.6": version "7.18.6" resolved "https://registry.yarnpkg.com/@babel/helper-optimise-call-expression/-/helper-optimise-call-expression-7.18.6.tgz#9369aa943ee7da47edab2cb4e838acf09d290ffe" @@ -475,6 +556,11 @@ resolved "https://registry.yarnpkg.com/@babel/helper-validator-identifier/-/helper-validator-identifier-7.19.1.tgz#7eea834cf32901ffdc1a7ee555e2f9c27e249ca2" integrity sha512-awrNfaMtnHUr653GgGEs++LlAvW6w+DcPrOliSMXWCKo597CwL5Acf/wWdNkf/tfEQE3mjkeD1YOVZOUV/od1w== +"@babel/helper-validator-identifier@^7.22.20": + version "7.22.20" + resolved "https://registry.yarnpkg.com/@babel/helper-validator-identifier/-/helper-validator-identifier-7.22.20.tgz#c4ae002c61d2879e724581d96665583dbc1dc0e0" + integrity sha512-Y4OZ+ytlatR8AI+8KZfKuL5urKp7qey08ha31L8b3BwewJAoJamTzyvxPR/5D+KkdJCGPq/+8TukHBlY10FX9A== + "@babel/helper-validator-identifier@^7.22.5": version "7.22.5" resolved "https://registry.yarnpkg.com/@babel/helper-validator-identifier/-/helper-validator-identifier-7.22.5.tgz#9544ef6a33999343c8740fa51350f30eeaaaf193" @@ -485,6 +571,11 @@ resolved "https://registry.yarnpkg.com/@babel/helper-validator-option/-/helper-validator-option-7.21.0.tgz#8224c7e13ace4bafdc4004da2cf064ef42673180" integrity sha512-rmL/B8/f0mKS2baE9ZpyTcTavvEuWhTTW8amjzXNvYG4AwBsqTLikfXsEofsJEfKHf+HQVQbFOHy6o+4cnC/fQ== +"@babel/helper-validator-option@^7.22.15": + version "7.22.15" + resolved "https://registry.yarnpkg.com/@babel/helper-validator-option/-/helper-validator-option-7.22.15.tgz#694c30dfa1d09a6534cdfcafbe56789d36aba040" + integrity sha512-bMn7RmyFjY/mdECUbgn9eoSY4vqvacUnS9i9vGAGttgFWesO6B4CYWA7XlpbWgBt71iv/hfbPlynohStqnu5hA== + "@babel/helper-validator-option@^7.22.5": version "7.22.5" resolved "https://registry.yarnpkg.com/@babel/helper-validator-option/-/helper-validator-option-7.22.5.tgz#de52000a15a177413c8234fa3a8af4ee8102d0ac" @@ -527,6 +618,15 @@ "@babel/traverse" "^7.22.6" "@babel/types" "^7.22.5" +"@babel/helpers@^7.23.2": + version "7.23.2" + resolved "https://registry.yarnpkg.com/@babel/helpers/-/helpers-7.23.2.tgz#2832549a6e37d484286e15ba36a5330483cac767" + integrity sha512-lzchcp8SjTSVe/fPmLwtWVBFC7+Tbn8LGHDVfDp9JGxpAY5opSaEFgt8UQvrnECWOTdji2mOWMz1rOhkHscmGQ== + dependencies: + "@babel/template" "^7.22.15" + "@babel/traverse" "^7.23.2" + "@babel/types" "^7.23.0" + "@babel/highlight@^7.18.6": version "7.18.6" resolved "https://registry.yarnpkg.com/@babel/highlight/-/highlight-7.18.6.tgz#81158601e93e2563795adcbfbdf5d64be3f2ecdf" @@ -536,6 +636,15 @@ chalk "^2.0.0" js-tokens "^4.0.0" +"@babel/highlight@^7.22.13": + version "7.22.20" + resolved "https://registry.yarnpkg.com/@babel/highlight/-/highlight-7.22.20.tgz#4ca92b71d80554b01427815e06f2df965b9c1f54" + integrity sha512-dkdMCN3py0+ksCgYmGG8jKeGA/8Tk+gJwSYYlFGxG5lmhfKNoAy004YpLxpS1W2J8m/EK2Ew+yOs9pVRwO89mg== + dependencies: + "@babel/helper-validator-identifier" "^7.22.20" + chalk "^2.4.2" + js-tokens "^4.0.0" + "@babel/highlight@^7.22.5": version "7.22.5" resolved "https://registry.yarnpkg.com/@babel/highlight/-/highlight-7.22.5.tgz#aa6c05c5407a67ebce408162b7ede789b4d22031" @@ -555,6 +664,11 @@ resolved "https://registry.yarnpkg.com/@babel/parser/-/parser-7.22.7.tgz#df8cf085ce92ddbdbf668a7f186ce848c9036cae" integrity sha512-7NF8pOkHP5o2vpmGgNGcfAeCvOYhGLyA3Z4eBQkT1RJlWu47n63bCs93QfJ2hIAFCil7L5P2IWhs1oToVgrL0Q== +"@babel/parser@^7.22.15", "@babel/parser@^7.23.0": + version "7.23.0" + resolved "https://registry.yarnpkg.com/@babel/parser/-/parser-7.23.0.tgz#da950e622420bf96ca0d0f2909cdddac3acd8719" + integrity sha512-vvPKKdMemU85V9WE/l5wZEmImpCtLqbnTvqDS2U1fJ96KrxoW7KrXhNsNCblQlg8Ck4b85yxdTyelsMUgFUXiw== + "@babel/plugin-bugfix-safari-id-destructuring-collision-in-function-expression@^7.18.6": version "7.18.6" resolved "https://registry.yarnpkg.com/@babel/plugin-bugfix-safari-id-destructuring-collision-in-function-expression/-/plugin-bugfix-safari-id-destructuring-collision-in-function-expression-7.18.6.tgz#da5b8f9a580acdfbe53494dba45ea389fb09a4d2" @@ -1891,6 +2005,15 @@ "@babel/parser" "^7.20.7" "@babel/types" "^7.20.7" +"@babel/template@^7.22.15": + version "7.22.15" + resolved "https://registry.yarnpkg.com/@babel/template/-/template-7.22.15.tgz#09576efc3830f0430f4548ef971dde1350ef2f38" + integrity sha512-QPErUVm4uyJa60rkI73qneDacvdvzxshT3kksGqlGWYdOTIUOwJ7RDUL8sGqslY1uXWSL6xMFKEXDS3ox2uF0w== + dependencies: + "@babel/code-frame" "^7.22.13" + "@babel/parser" "^7.22.15" + "@babel/types" "^7.22.15" + "@babel/template@^7.22.5": version "7.22.5" resolved "https://registry.yarnpkg.com/@babel/template/-/template-7.22.5.tgz#0c8c4d944509875849bd0344ff0050756eefc6ec" @@ -1900,19 +2023,19 @@ "@babel/parser" "^7.22.5" "@babel/types" "^7.22.5" -"@babel/traverse@^7.1.6", "@babel/traverse@^7.22.6", "@babel/traverse@^7.22.8": - version "7.22.8" - resolved "https://registry.yarnpkg.com/@babel/traverse/-/traverse-7.22.8.tgz#4d4451d31bc34efeae01eac222b514a77aa4000e" - integrity sha512-y6LPR+wpM2I3qJrsheCTwhIinzkETbplIgPBbwvqPKc+uljeA5gP+3nP8irdYt1mjQaDnlIcG+dw8OjAco4GXw== +"@babel/traverse@^7.18.9", "@babel/traverse@^7.23.2": + version "7.23.2" + resolved "https://registry.yarnpkg.com/@babel/traverse/-/traverse-7.23.2.tgz#329c7a06735e144a506bdb2cad0268b7f46f4ad8" + integrity sha512-azpe59SQ48qG6nu2CzcMLbxUudtN+dOM9kDbUqGq3HXUJRlo7i8fvPoxQUzYgLZ4cMVmuZgm8vvBpNeRhd6XSw== dependencies: - "@babel/code-frame" "^7.22.5" - "@babel/generator" "^7.22.7" - "@babel/helper-environment-visitor" "^7.22.5" - "@babel/helper-function-name" "^7.22.5" + "@babel/code-frame" "^7.22.13" + "@babel/generator" "^7.23.0" + "@babel/helper-environment-visitor" "^7.22.20" + "@babel/helper-function-name" "^7.23.0" "@babel/helper-hoist-variables" "^7.22.5" "@babel/helper-split-export-declaration" "^7.22.6" - "@babel/parser" "^7.22.7" - "@babel/types" "^7.22.5" + "@babel/parser" "^7.23.0" + "@babel/types" "^7.23.0" debug "^4.1.0" globals "^11.1.0" @@ -1932,6 +2055,22 @@ debug "^4.1.0" globals "^11.1.0" +"@babel/traverse@^7.22.6", "@babel/traverse@^7.22.8": + version "7.22.8" + resolved "https://registry.yarnpkg.com/@babel/traverse/-/traverse-7.22.8.tgz#4d4451d31bc34efeae01eac222b514a77aa4000e" + integrity sha512-y6LPR+wpM2I3qJrsheCTwhIinzkETbplIgPBbwvqPKc+uljeA5gP+3nP8irdYt1mjQaDnlIcG+dw8OjAco4GXw== + dependencies: + "@babel/code-frame" "^7.22.5" + "@babel/generator" "^7.22.7" + "@babel/helper-environment-visitor" "^7.22.5" + "@babel/helper-function-name" "^7.22.5" + "@babel/helper-hoist-variables" "^7.22.5" + "@babel/helper-split-export-declaration" "^7.22.6" + "@babel/parser" "^7.22.7" + "@babel/types" "^7.22.5" + debug "^4.1.0" + globals "^11.1.0" + "@babel/types@^7.0.0", "@babel/types@^7.18.6", "@babel/types@^7.18.9", "@babel/types@^7.19.0", "@babel/types@^7.20.0", "@babel/types@^7.20.5", "@babel/types@^7.20.7", "@babel/types@^7.21.0", "@babel/types@^7.21.4", "@babel/types@^7.21.5", "@babel/types@^7.3.0", "@babel/types@^7.3.3", "@babel/types@^7.4.4": version "7.21.5" resolved "https://registry.yarnpkg.com/@babel/types/-/types-7.21.5.tgz#18dfbd47c39d3904d5db3d3dc2cc80bedb60e5b6" @@ -1941,7 +2080,16 @@ "@babel/helper-validator-identifier" "^7.19.1" to-fast-properties "^2.0.0" -"@babel/types@^7.2.0", "@babel/types@^7.22.5": +"@babel/types@^7.22.15", "@babel/types@^7.23.0": + version "7.23.0" + resolved "https://registry.yarnpkg.com/@babel/types/-/types-7.23.0.tgz#8c1f020c9df0e737e4e247c0619f58c68458aaeb" + integrity sha512-0oIyUfKoI3mSqMvsxBdclDwxXKXAUA8v/apZbc+iSyARYou1o8ZGDxbUYyLFoW2arqS2jDGqJuZvv1d/io1axg== + dependencies: + "@babel/helper-string-parser" "^7.22.5" + "@babel/helper-validator-identifier" "^7.22.20" + to-fast-properties "^2.0.0" + +"@babel/types@^7.22.5": version "7.22.5" resolved "https://registry.yarnpkg.com/@babel/types/-/types-7.22.5.tgz#cd93eeaab025880a3a47ec881f4b096a5b786fbe" integrity sha512-zo3MIHGOkPOfoRXitsgHLjEXmlDaD/5KU1Uzuc9GNiZPhSqVxVRtxuPaSBZDsYZ9qV88AjtMtWW7ww98loJ9KA== @@ -2423,11 +2571,6 @@ resolved "https://registry.yarnpkg.com/@istanbuljs/schema/-/schema-0.1.2.tgz#26520bf09abe4a5644cd5414e37125a8954241dd" integrity sha512-tsAQNx32a8CoFhjhijUIhI4kccIAgmGhy8LZMZgGfmXcpMbPRUqn5LWmgRttILi6yeGmBJd2xsPkFMs0PzgPCw== -"@istanbuljs/schema@^0.1.3": - version "0.1.3" - resolved "https://registry.yarnpkg.com/@istanbuljs/schema/-/schema-0.1.3.tgz#e45e384e4b8ec16bce2fd903af78450f6bf7ec98" - integrity sha512-ZXRY4jNvVgSVQ8DL3LTcakaAtXwTVUxE81hslsyD2AtoXW/wVob10HkOJ1X/pAlcI7D+2YoZKg5do8G/w6RYgA== - "@jest/console@^29.5.0": version "29.5.0" resolved "https://registry.yarnpkg.com/@jest/console/-/console-29.5.0.tgz#593a6c5c0d3f75689835f1b3b4688c4f8544cb57" @@ -2719,10 +2862,10 @@ "@types/yargs" "^17.0.8" chalk "^4.0.0" -"@joshwooding/vite-plugin-react-docgen-typescript@0.2.1": - version "0.2.1" - resolved "https://registry.yarnpkg.com/@joshwooding/vite-plugin-react-docgen-typescript/-/vite-plugin-react-docgen-typescript-0.2.1.tgz#930f6f0382520e4ba349eea1b152f9ae49364516" - integrity sha512-ou4ZJSXMMWHqGS4g8uNRbC5TiTWxAgQZiVucoUrOCWuPrTbkpJbmVyIi9jU72SBry7gQtuMEDp4YR8EEXAg7VQ== +"@joshwooding/vite-plugin-react-docgen-typescript@0.3.0": + version "0.3.0" + resolved "https://registry.yarnpkg.com/@joshwooding/vite-plugin-react-docgen-typescript/-/vite-plugin-react-docgen-typescript-0.3.0.tgz#67599fca260c2eafdaf234a944f9d471e6d53b08" + integrity sha512-2D6y7fNvFmsLmRt6UCOFJPvFoPMJGT0Uh1Wg0RaigUp7kdQPs6yYn8Dmx6GZkOH/NW0yMTwRz/p0SRMMRo50vA== dependencies: glob "^7.2.0" glob-promise "^4.2.0" @@ -3386,38 +3529,38 @@ prop-types "^15.7.2" react-is "^16.6.3" -"@storybook/addon-a11y@^7.4.6": - version "7.4.6" - resolved "https://registry.yarnpkg.com/@storybook/addon-a11y/-/addon-a11y-7.4.6.tgz#b1d1d98e11d1130d98b737decbc27eaa2a0bf9b3" - integrity sha512-RE8sXk9KEqgmjsFmG31eObgPMTOvvWnoNZIaZEHs88X30tNHtFwjc0jzvCR/xriKsBtQdYQTUSsB7pSjaJHNzQ== - dependencies: - "@storybook/addon-highlight" "7.4.6" - "@storybook/channels" "7.4.6" - "@storybook/client-logger" "7.4.6" - "@storybook/components" "7.4.6" - "@storybook/core-events" "7.4.6" +"@storybook/addon-a11y@^7.5.1": + version "7.5.1" + resolved "https://registry.yarnpkg.com/@storybook/addon-a11y/-/addon-a11y-7.5.1.tgz#ed7876245c7b00fab4d742a058a32c577af17a79" + integrity sha512-BzmSIhgqR+WSS5gqSOyzFACs20Nv0Wk9b4lpUWw5zEqZkXy1PFAUyRQ65kD9Tdjc1O2KL2Zi1h/gi0O6dWldMg== + dependencies: + "@storybook/addon-highlight" "7.5.1" + "@storybook/channels" "7.5.1" + "@storybook/client-logger" "7.5.1" + "@storybook/components" "7.5.1" + "@storybook/core-events" "7.5.1" "@storybook/global" "^5.0.0" - "@storybook/manager-api" "7.4.6" - "@storybook/preview-api" "7.4.6" - "@storybook/theming" "7.4.6" - "@storybook/types" "7.4.6" + "@storybook/manager-api" "7.5.1" + "@storybook/preview-api" "7.5.1" + "@storybook/theming" "7.5.1" + "@storybook/types" "7.5.1" axe-core "^4.2.0" lodash "^4.17.21" react-resize-detector "^7.1.2" -"@storybook/addon-actions@7.4.6": - version "7.4.6" - resolved "https://registry.yarnpkg.com/@storybook/addon-actions/-/addon-actions-7.4.6.tgz#080bd1612a744cc3fc4a435a07a63d2d8c05f030" - integrity sha512-SsqZr3js5NinKPnC8AeNI7Ij+Q6fIl9tRdRmSulEgjksjOg7E5S1/Wsn5Bb2CCgj7MaX6VxGyC7s3XskQtDiIQ== +"@storybook/addon-actions@7.5.1": + version "7.5.1" + resolved "https://registry.yarnpkg.com/@storybook/addon-actions/-/addon-actions-7.5.1.tgz#5d3591f0c63e16cca90a5faddaf05169dbf64f94" + integrity sha512-GieD3ru6EslKvwol1cE4lvszQCLB/AkQdnLofnqy1nnYso+hRxmPAw9/O+pWfpUBFdjXsQ7GX09+wEUpOJzepw== dependencies: - "@storybook/client-logger" "7.4.6" - "@storybook/components" "7.4.6" - "@storybook/core-events" "7.4.6" + "@storybook/client-logger" "7.5.1" + "@storybook/components" "7.5.1" + "@storybook/core-events" "7.5.1" "@storybook/global" "^5.0.0" - "@storybook/manager-api" "7.4.6" - "@storybook/preview-api" "7.4.6" - "@storybook/theming" "7.4.6" - "@storybook/types" "7.4.6" + "@storybook/manager-api" "7.5.1" + "@storybook/preview-api" "7.5.1" + "@storybook/theming" "7.5.1" + "@storybook/types" "7.5.1" dequal "^2.0.2" lodash "^4.17.21" polished "^4.2.2" @@ -3427,37 +3570,37 @@ ts-dedent "^2.0.0" uuid "^9.0.0" -"@storybook/addon-backgrounds@7.4.6": - version "7.4.6" - resolved "https://registry.yarnpkg.com/@storybook/addon-backgrounds/-/addon-backgrounds-7.4.6.tgz#315ac726e606259ce868b78c7b966cc9489b51ea" - integrity sha512-+LHTZB/ZYMAzkyD5ZxSriBsqmsrvIaW/Nnd/BeuXGbkrVKKqM0qAKiFZAfjc2WchA1piVNy0/1Rsf+kuYCEiJw== +"@storybook/addon-backgrounds@7.5.1": + version "7.5.1" + resolved "https://registry.yarnpkg.com/@storybook/addon-backgrounds/-/addon-backgrounds-7.5.1.tgz#0af99c6217e8e406103b4f1f469c05adf41f1257" + integrity sha512-XZoyJw/WoUlVvQHPTbSAZjKy2SEUjaSmAWgcRync25vp+q0obthjx6UnZHEUuH8Ud07HA3FYzlFtMicH5y/OIQ== dependencies: - "@storybook/client-logger" "7.4.6" - "@storybook/components" "7.4.6" - "@storybook/core-events" "7.4.6" + "@storybook/client-logger" "7.5.1" + "@storybook/components" "7.5.1" + "@storybook/core-events" "7.5.1" "@storybook/global" "^5.0.0" - "@storybook/manager-api" "7.4.6" - "@storybook/preview-api" "7.4.6" - "@storybook/theming" "7.4.6" - "@storybook/types" "7.4.6" + "@storybook/manager-api" "7.5.1" + "@storybook/preview-api" "7.5.1" + "@storybook/theming" "7.5.1" + "@storybook/types" "7.5.1" memoizerific "^1.11.3" ts-dedent "^2.0.0" -"@storybook/addon-controls@7.4.6": - version "7.4.6" - resolved "https://registry.yarnpkg.com/@storybook/addon-controls/-/addon-controls-7.4.6.tgz#b1db7a0faacb25b9a6f54c2dff2ba94d06619bd4" - integrity sha512-4lq3sycEUIsK8SUWDYc60QgF4vV9FZZ3lDr6M7j2W9bOnvGw49d2fbdlnq+bX1ZprZZ9VgglQpBAorQB3BXZRw== - dependencies: - "@storybook/blocks" "7.4.6" - "@storybook/client-logger" "7.4.6" - "@storybook/components" "7.4.6" - "@storybook/core-common" "7.4.6" - "@storybook/core-events" "7.4.6" - "@storybook/manager-api" "7.4.6" - "@storybook/node-logger" "7.4.6" - "@storybook/preview-api" "7.4.6" - "@storybook/theming" "7.4.6" - "@storybook/types" "7.4.6" +"@storybook/addon-controls@7.5.1": + version "7.5.1" + resolved "https://registry.yarnpkg.com/@storybook/addon-controls/-/addon-controls-7.5.1.tgz#606443cf792d98e8b2d61c94e5ffb359b253c119" + integrity sha512-Xag1e7TZo04LjUenfobkShpKMxTtwa4xM4bXQA8LjaAGZQ7jipbQ4PE73a17K59S2vqq89VAhkuMJWiyaOFqpw== + dependencies: + "@storybook/blocks" "7.5.1" + "@storybook/client-logger" "7.5.1" + "@storybook/components" "7.5.1" + "@storybook/core-common" "7.5.1" + "@storybook/core-events" "7.5.1" + "@storybook/manager-api" "7.5.1" + "@storybook/node-logger" "7.5.1" + "@storybook/preview-api" "7.5.1" + "@storybook/theming" "7.5.1" + "@storybook/types" "7.5.1" lodash "^4.17.21" ts-dedent "^2.0.0" @@ -3468,158 +3611,158 @@ dependencies: "@figspec/react" "^1.0.0" -"@storybook/addon-docs@7.4.6", "@storybook/addon-docs@^7.4.6": - version "7.4.6" - resolved "https://registry.yarnpkg.com/@storybook/addon-docs/-/addon-docs-7.4.6.tgz#f2cc635a77cfb3e2910d6ca813add9a16785595d" - integrity sha512-dLaub+XWFq4hChw+xfuF9yYg0Txp77FUawKoAigccfjWXx+OOhRV3XTuAcknpXkYq94GWynHgUFXosXT9kbDNA== +"@storybook/addon-docs@7.5.1", "@storybook/addon-docs@^7.5.1": + version "7.5.1" + resolved "https://registry.yarnpkg.com/@storybook/addon-docs/-/addon-docs-7.5.1.tgz#e62765c96ff3d2d97414b69973842fbe93ba9e00" + integrity sha512-+wE67oWIhGK9+kv2sxoY2KDXm3v62RfEgxiksdhtffTP/joOK3p88S0lO+8g0G4xfNGUnBhPtzGMuUxWwaH2Pw== dependencies: "@jest/transform" "^29.3.1" "@mdx-js/react" "^2.1.5" - "@storybook/blocks" "7.4.6" - "@storybook/client-logger" "7.4.6" - "@storybook/components" "7.4.6" - "@storybook/csf-plugin" "7.4.6" - "@storybook/csf-tools" "7.4.6" + "@storybook/blocks" "7.5.1" + "@storybook/client-logger" "7.5.1" + "@storybook/components" "7.5.1" + "@storybook/csf-plugin" "7.5.1" + "@storybook/csf-tools" "7.5.1" "@storybook/global" "^5.0.0" "@storybook/mdx2-csf" "^1.0.0" - "@storybook/node-logger" "7.4.6" - "@storybook/postinstall" "7.4.6" - "@storybook/preview-api" "7.4.6" - "@storybook/react-dom-shim" "7.4.6" - "@storybook/theming" "7.4.6" - "@storybook/types" "7.4.6" + "@storybook/node-logger" "7.5.1" + "@storybook/postinstall" "7.5.1" + "@storybook/preview-api" "7.5.1" + "@storybook/react-dom-shim" "7.5.1" + "@storybook/theming" "7.5.1" + "@storybook/types" "7.5.1" fs-extra "^11.1.0" remark-external-links "^8.0.0" remark-slug "^6.0.0" ts-dedent "^2.0.0" -"@storybook/addon-essentials@^7.4.6": - version "7.4.6" - resolved "https://registry.yarnpkg.com/@storybook/addon-essentials/-/addon-essentials-7.4.6.tgz#b9c83dbdae0ffd6f24fa9328b36488d563714260" - integrity sha512-dWodufrt71TK7ELkeIvVae/x4PzECUlbOm57Iqqt4yQCyR291CgvI4PjeB8un2HbpcXCGZ+N/Oj3YkytvzBi4A== - dependencies: - "@storybook/addon-actions" "7.4.6" - "@storybook/addon-backgrounds" "7.4.6" - "@storybook/addon-controls" "7.4.6" - "@storybook/addon-docs" "7.4.6" - "@storybook/addon-highlight" "7.4.6" - "@storybook/addon-measure" "7.4.6" - "@storybook/addon-outline" "7.4.6" - "@storybook/addon-toolbars" "7.4.6" - "@storybook/addon-viewport" "7.4.6" - "@storybook/core-common" "7.4.6" - "@storybook/manager-api" "7.4.6" - "@storybook/node-logger" "7.4.6" - "@storybook/preview-api" "7.4.6" +"@storybook/addon-essentials@^7.5.1": + version "7.5.1" + resolved "https://registry.yarnpkg.com/@storybook/addon-essentials/-/addon-essentials-7.5.1.tgz#41bef1d405e5f9797cd5b5fbc7c60f7f48de194a" + integrity sha512-/jaUZXV+mE/2G5PgEpFKm4lFEHluWn6GFR/pg+hphvHOzBGA3Y75JMgUfJ5CDYHB1dAVSf9JrPOd8Eb1tpESfA== + dependencies: + "@storybook/addon-actions" "7.5.1" + "@storybook/addon-backgrounds" "7.5.1" + "@storybook/addon-controls" "7.5.1" + "@storybook/addon-docs" "7.5.1" + "@storybook/addon-highlight" "7.5.1" + "@storybook/addon-measure" "7.5.1" + "@storybook/addon-outline" "7.5.1" + "@storybook/addon-toolbars" "7.5.1" + "@storybook/addon-viewport" "7.5.1" + "@storybook/core-common" "7.5.1" + "@storybook/manager-api" "7.5.1" + "@storybook/node-logger" "7.5.1" + "@storybook/preview-api" "7.5.1" ts-dedent "^2.0.0" -"@storybook/addon-highlight@7.4.6": - version "7.4.6" - resolved "https://registry.yarnpkg.com/@storybook/addon-highlight/-/addon-highlight-7.4.6.tgz#ee688232fe260f1b926205ddc1ceb1e0781dcbaf" - integrity sha512-zCufxxD2KS5VwczxfkcBxe1oR/juTTn2H1Qm8kYvWCJQx3UxzX0+G9cwafbpV7eivqaufLweEwROkH+0KjAtkQ== +"@storybook/addon-highlight@7.5.1": + version "7.5.1" + resolved "https://registry.yarnpkg.com/@storybook/addon-highlight/-/addon-highlight-7.5.1.tgz#575152b8e54464ef6a29f5f58c19c14bfd45730c" + integrity sha512-js9OV17kpjRowuaGAPfI9aOn/zzt8P589ACZE+/eYBO9jT65CADwAUxg//Uq0/he+Ac9495pcK3BcYyDeym7/g== dependencies: - "@storybook/core-events" "7.4.6" + "@storybook/core-events" "7.5.1" "@storybook/global" "^5.0.0" - "@storybook/preview-api" "7.4.6" + "@storybook/preview-api" "7.5.1" -"@storybook/addon-interactions@^7.4.6": - version "7.4.6" - resolved "https://registry.yarnpkg.com/@storybook/addon-interactions/-/addon-interactions-7.4.6.tgz#643659a6fd1a90e9fecaf6309276d29c3cee8af1" - integrity sha512-zVZYrEPZPhNrXBuPqM7HbQvr6jwsje1sbCYj3wnp83U5wjciuqrngqHIlaSZ30zOWSfRVyzbyqL+JQZKA58BNA== +"@storybook/addon-interactions@^7.5.1": + version "7.5.1" + resolved "https://registry.yarnpkg.com/@storybook/addon-interactions/-/addon-interactions-7.5.1.tgz#09436839f80b6ac5a961708b7c0501b0d5476019" + integrity sha512-m9yohFYil+UBwYKFxHYdsAsn8PBCPl6HY/FSgfrDc5PiqT1Ya7paXopimyy9ok+VQt/RC8sEWIm809ONEoxosw== dependencies: - "@storybook/client-logger" "7.4.6" - "@storybook/components" "7.4.6" - "@storybook/core-common" "7.4.6" - "@storybook/core-events" "7.4.6" + "@storybook/client-logger" "7.5.1" + "@storybook/components" "7.5.1" + "@storybook/core-common" "7.5.1" + "@storybook/core-events" "7.5.1" "@storybook/global" "^5.0.0" - "@storybook/instrumenter" "7.4.6" - "@storybook/manager-api" "7.4.6" - "@storybook/preview-api" "7.4.6" - "@storybook/theming" "7.4.6" - "@storybook/types" "7.4.6" + "@storybook/instrumenter" "7.5.1" + "@storybook/manager-api" "7.5.1" + "@storybook/preview-api" "7.5.1" + "@storybook/theming" "7.5.1" + "@storybook/types" "7.5.1" jest-mock "^27.0.6" polished "^4.2.2" ts-dedent "^2.2.0" -"@storybook/addon-mdx-gfm@^7.4.6": - version "7.4.6" - resolved "https://registry.yarnpkg.com/@storybook/addon-mdx-gfm/-/addon-mdx-gfm-7.4.6.tgz#578ccb339771ec198e06332887c4947cedd06b93" - integrity sha512-5DCQd9syEsCjB4q8lplHwqOlrdgFn/Ttm7/7aNTeZxF1a4qH/n3Yi7P2SAehaKpJLU61aRFILzE46JD4yvMaHg== +"@storybook/addon-mdx-gfm@^7.5.1": + version "7.5.1" + resolved "https://registry.yarnpkg.com/@storybook/addon-mdx-gfm/-/addon-mdx-gfm-7.5.1.tgz#d435d705c205f391fc33532d8edf78126433d580" + integrity sha512-9E/6PVvAD39eYaLXosYmVTRzQ/ob6SZEY1T/f3osr0XndR0KtfytiKp4QIB5p4VeD1XDWWAcMsZpYSrzfw7jVw== dependencies: - "@storybook/node-logger" "7.4.6" + "@storybook/node-logger" "7.5.1" remark-gfm "^3.0.1" ts-dedent "^2.0.0" -"@storybook/addon-measure@7.4.6": - version "7.4.6" - resolved "https://registry.yarnpkg.com/@storybook/addon-measure/-/addon-measure-7.4.6.tgz#12cb5ffab78c922809178c0ee8574b264ff2de5d" - integrity sha512-nCymMLaHnxv8TE3yEM1A9Tulb1NuRXRNmtsdHTkjv7P1aWCxZo8A/GZaottKe/GLT8jSRjZ+dnpYWrbAhw6wTQ== +"@storybook/addon-measure@7.5.1": + version "7.5.1" + resolved "https://registry.yarnpkg.com/@storybook/addon-measure/-/addon-measure-7.5.1.tgz#bc8d2beedc9f6a1170cd90a013012b89d0971aa5" + integrity sha512-yR6oELJe0UHYxRijd1YMuGaQRlZ3uABjmrXaFCPnd6agahgTwIJLiK4XamtkVur//LaiJMvtmM2XXrkJ1BvNJw== dependencies: - "@storybook/client-logger" "7.4.6" - "@storybook/components" "7.4.6" - "@storybook/core-events" "7.4.6" + "@storybook/client-logger" "7.5.1" + "@storybook/components" "7.5.1" + "@storybook/core-events" "7.5.1" "@storybook/global" "^5.0.0" - "@storybook/manager-api" "7.4.6" - "@storybook/preview-api" "7.4.6" - "@storybook/types" "7.4.6" + "@storybook/manager-api" "7.5.1" + "@storybook/preview-api" "7.5.1" + "@storybook/types" "7.5.1" tiny-invariant "^1.3.1" -"@storybook/addon-outline@7.4.6": - version "7.4.6" - resolved "https://registry.yarnpkg.com/@storybook/addon-outline/-/addon-outline-7.4.6.tgz#d375046bb6858ea9ec09fdaf03d5802a543b2a30" - integrity sha512-errNUblRVDLpuEaHQPr/nsrnsUkD2ARmXawkRvizgDWLIDMDJYjTON3MUCaVx3x+hlZ3I6X//G5TVcma8tCc8A== +"@storybook/addon-outline@7.5.1": + version "7.5.1" + resolved "https://registry.yarnpkg.com/@storybook/addon-outline/-/addon-outline-7.5.1.tgz#f0681fb26ab4811a0351ef360478a04dc1465250" + integrity sha512-IMi5Bo34/Q5YUG5uD8ZUTBwlpGrkDIV+PUgkyNIbmn9OgozoCH80Fs7YlGluRFODQISpHwio9qvSFRGdSNT56A== dependencies: - "@storybook/client-logger" "7.4.6" - "@storybook/components" "7.4.6" - "@storybook/core-events" "7.4.6" + "@storybook/client-logger" "7.5.1" + "@storybook/components" "7.5.1" + "@storybook/core-events" "7.5.1" "@storybook/global" "^5.0.0" - "@storybook/manager-api" "7.4.6" - "@storybook/preview-api" "7.4.6" - "@storybook/types" "7.4.6" + "@storybook/manager-api" "7.5.1" + "@storybook/preview-api" "7.5.1" + "@storybook/types" "7.5.1" ts-dedent "^2.0.0" -"@storybook/addon-toolbars@7.4.6": - version "7.4.6" - resolved "https://registry.yarnpkg.com/@storybook/addon-toolbars/-/addon-toolbars-7.4.6.tgz#04d270bb45f6cea45cecce084f7713c7dda047f9" - integrity sha512-L9m2FBcKeteGq7qIYsMJr0LEfiH7Wdrv5IDcldZTn68eZUJTh1p4GdJZcOmzX1P5IFRr76hpu03iWsNlWQjpbQ== - dependencies: - "@storybook/client-logger" "7.4.6" - "@storybook/components" "7.4.6" - "@storybook/manager-api" "7.4.6" - "@storybook/preview-api" "7.4.6" - "@storybook/theming" "7.4.6" - -"@storybook/addon-viewport@7.4.6": - version "7.4.6" - resolved "https://registry.yarnpkg.com/@storybook/addon-viewport/-/addon-viewport-7.4.6.tgz#ff6fbe9b67310d16cd7b4a38dbc445a8fede6373" - integrity sha512-INDtk54j7bi7NgxMfd2ATmbA0J7nAd6X8itMkLIyPuPJtx8bYHPDORyemDOd0AojgmAdTOAyUtDYdI/PFeo4Cw== - dependencies: - "@storybook/client-logger" "7.4.6" - "@storybook/components" "7.4.6" - "@storybook/core-events" "7.4.6" +"@storybook/addon-toolbars@7.5.1": + version "7.5.1" + resolved "https://registry.yarnpkg.com/@storybook/addon-toolbars/-/addon-toolbars-7.5.1.tgz#5b224dc042171717f40f255e793e1424e5b0bbd6" + integrity sha512-T88hEEQicV6eCovr5TN2nFgKt7wU0o7pAunP5cU01iiVRj63+oQiVIBB8Xtm4tN+/DsqtyP0BTa6rFwt2ULy8A== + dependencies: + "@storybook/client-logger" "7.5.1" + "@storybook/components" "7.5.1" + "@storybook/manager-api" "7.5.1" + "@storybook/preview-api" "7.5.1" + "@storybook/theming" "7.5.1" + +"@storybook/addon-viewport@7.5.1": + version "7.5.1" + resolved "https://registry.yarnpkg.com/@storybook/addon-viewport/-/addon-viewport-7.5.1.tgz#1df1a7b9d9f9243ed5b8de604da667ed62ebf036" + integrity sha512-L57lOGB3LfKgAdLinaZojRQ9W9w2RC0iP9bVaXwrRVeJdpNayfuW4Kh1C8dmacZroB4Zp2U/nEjkSmdcp6uUWg== + dependencies: + "@storybook/client-logger" "7.5.1" + "@storybook/components" "7.5.1" + "@storybook/core-events" "7.5.1" "@storybook/global" "^5.0.0" - "@storybook/manager-api" "7.4.6" - "@storybook/preview-api" "7.4.6" - "@storybook/theming" "7.4.6" + "@storybook/manager-api" "7.5.1" + "@storybook/preview-api" "7.5.1" + "@storybook/theming" "7.5.1" memoizerific "^1.11.3" prop-types "^15.7.2" -"@storybook/blocks@7.4.6": - version "7.4.6" - resolved "https://registry.yarnpkg.com/@storybook/blocks/-/blocks-7.4.6.tgz#03134130fa20d6c36c6985008bc2c38892c5b8f5" - integrity sha512-HxBSAeOiTZW2jbHQlo1upRWFgoMsaAyKijUFf5MwwMNIesXCuuTGZDJ3xTABwAVLK2qC9Ektfbo0CZCiPVuDRQ== +"@storybook/blocks@7.5.1": + version "7.5.1" + resolved "https://registry.yarnpkg.com/@storybook/blocks/-/blocks-7.5.1.tgz#c215da2e82234a703912410c52334fbade163b48" + integrity sha512-7b69p6kDdgmlejEMM2mW6/Lz4OmU/R3Qr+TpKnPcV5iS7ADxRQEQCTEMoQ5RyLJf0vDRh/7Ljn/RMo8Ux3X7JA== dependencies: - "@storybook/channels" "7.4.6" - "@storybook/client-logger" "7.4.6" - "@storybook/components" "7.4.6" - "@storybook/core-events" "7.4.6" + "@storybook/channels" "7.5.1" + "@storybook/client-logger" "7.5.1" + "@storybook/components" "7.5.1" + "@storybook/core-events" "7.5.1" "@storybook/csf" "^0.1.0" - "@storybook/docs-tools" "7.4.6" + "@storybook/docs-tools" "7.5.1" "@storybook/global" "^5.0.0" - "@storybook/manager-api" "7.4.6" - "@storybook/preview-api" "7.4.6" - "@storybook/theming" "7.4.6" - "@storybook/types" "7.4.6" + "@storybook/manager-api" "7.5.1" + "@storybook/preview-api" "7.5.1" + "@storybook/theming" "7.5.1" + "@storybook/types" "7.5.1" "@types/lodash" "^4.14.167" color-convert "^2.0.1" dequal "^2.0.2" @@ -3633,15 +3776,15 @@ ts-dedent "^2.0.0" util-deprecate "^1.0.2" -"@storybook/builder-manager@7.4.6": - version "7.4.6" - resolved "https://registry.yarnpkg.com/@storybook/builder-manager/-/builder-manager-7.4.6.tgz#942a1a5e0a8b5956bd30867841fa1c542eb3d0bf" - integrity sha512-zylZCD2rmyLOOFBFmUgtJg6UNUKmRNgXiig1XApzS2TkIbTZP827DsVEUl0ey/lskCe0uArkrEBR6ICba8p/Rw== +"@storybook/builder-manager@7.5.1": + version "7.5.1" + resolved "https://registry.yarnpkg.com/@storybook/builder-manager/-/builder-manager-7.5.1.tgz#9cf9ee235c1a16677b7cdc34b96e353226be83b8" + integrity sha512-a02kg/DCcYgiTz+7rw4KdvQzif+2lZ+NIFF5U5u8SDoCQuoe3wRT6QBrFYQTxJexA4WfO6cpyRLDJ1rx6NLo8A== dependencies: "@fal-works/esbuild-plugin-global-externals" "^2.1.2" - "@storybook/core-common" "7.4.6" - "@storybook/manager" "7.4.6" - "@storybook/node-logger" "7.4.6" + "@storybook/core-common" "7.5.1" + "@storybook/manager" "7.5.1" + "@storybook/node-logger" "7.5.1" "@types/ejs" "^3.1.1" "@types/find-cache-dir" "^3.2.1" "@yarnpkg/esbuild-plugin-pnp" "^3.0.0-rc.10" @@ -3655,20 +3798,19 @@ process "^0.11.10" util "^0.12.4" -"@storybook/builder-vite@7.4.6": - version "7.4.6" - resolved "https://registry.yarnpkg.com/@storybook/builder-vite/-/builder-vite-7.4.6.tgz#b5aabb74c1e394b5e56be699408f0538eb483b1f" - integrity sha512-xV9STYK+TkqWWTf2ydm6jx+7P70fjD2UPd1XTUw08uKszIjhuuxk+bG/OF5R1E25mPunAKXm6kBFh351AKejBg== - dependencies: - "@storybook/channels" "7.4.6" - "@storybook/client-logger" "7.4.6" - "@storybook/core-common" "7.4.6" - "@storybook/csf-plugin" "7.4.6" - "@storybook/mdx2-csf" "^1.0.0" - "@storybook/node-logger" "7.4.6" - "@storybook/preview" "7.4.6" - "@storybook/preview-api" "7.4.6" - "@storybook/types" "7.4.6" +"@storybook/builder-vite@7.5.1": + version "7.5.1" + resolved "https://registry.yarnpkg.com/@storybook/builder-vite/-/builder-vite-7.5.1.tgz#c4771d68da5a9c8a4fafd00186326532b6816c8c" + integrity sha512-fsF4LsxroVvjBJoI5AvRA6euhpYrb5euii5kPzrsWXLOn6gDBK0jQ0looep/io7J45MisDjRTPp14A02pi1bkw== + dependencies: + "@storybook/channels" "7.5.1" + "@storybook/client-logger" "7.5.1" + "@storybook/core-common" "7.5.1" + "@storybook/csf-plugin" "7.5.1" + "@storybook/node-logger" "7.5.1" + "@storybook/preview" "7.5.1" + "@storybook/preview-api" "7.5.1" + "@storybook/types" "7.5.1" "@types/find-cache-dir" "^3.2.1" browser-assert "^1.2.1" es-module-lexer "^0.9.3" @@ -3676,39 +3818,37 @@ find-cache-dir "^3.0.0" fs-extra "^11.1.0" magic-string "^0.30.0" - remark-external-links "^8.0.0" - remark-slug "^6.0.0" rollup "^2.25.0 || ^3.3.0" -"@storybook/channels@7.4.6": - version "7.4.6" - resolved "https://registry.yarnpkg.com/@storybook/channels/-/channels-7.4.6.tgz#cadd16b91db08005c2b9e4938d3e1d1290d27a40" - integrity sha512-yPv/sfo2c18fM3fvG0i1xse63vG8l33Al/OU0k/dtovltPu001/HVa1QgBgsb/QrEfZtvGjGhmtdVeYb39fv3A== +"@storybook/channels@7.5.1": + version "7.5.1" + resolved "https://registry.yarnpkg.com/@storybook/channels/-/channels-7.5.1.tgz#f850c6da3e2cabe51239499d68a8b3d7eb22c621" + integrity sha512-7hTGHqvtdFTqRx8LuCznOpqPBYfUeMUt/0IIp7SFuZT585yMPxrYoaK//QmLEWnPb80B8HVTSQi7caUkJb32LA== dependencies: - "@storybook/client-logger" "7.4.6" - "@storybook/core-events" "7.4.6" + "@storybook/client-logger" "7.5.1" + "@storybook/core-events" "7.5.1" "@storybook/global" "^5.0.0" qs "^6.10.0" telejson "^7.2.0" tiny-invariant "^1.3.1" -"@storybook/cli@7.4.6": - version "7.4.6" - resolved "https://registry.yarnpkg.com/@storybook/cli/-/cli-7.4.6.tgz#c322fcfdacf839a55a9c2aaa592a820fdaa1422c" - integrity sha512-rRwaH8pOL+FHz/pJMEkNpMH2xvZvWsrl7obBYw26NQiHmiVSAkfHJicndSN1mwc+p5w+9iXthrgzbLtSAOSvkA== +"@storybook/cli@7.5.1": + version "7.5.1" + resolved "https://registry.yarnpkg.com/@storybook/cli/-/cli-7.5.1.tgz#11df3114fbfadb74c7ea1777b3f79c6a045e9bec" + integrity sha512-qKIJs8gqXTy0eSEbt0OW5nsJqiV/2+N1eWoiBiIxoZ+8b0ACXIAUcE/N6AsEDUqIq8AMK7lebqjEfIAt2Sp7Mg== dependencies: "@babel/core" "^7.22.9" "@babel/preset-env" "^7.22.9" "@babel/types" "^7.22.5" "@ndelangen/get-tarball" "^3.0.7" - "@storybook/codemod" "7.4.6" - "@storybook/core-common" "7.4.6" - "@storybook/core-events" "7.4.6" - "@storybook/core-server" "7.4.6" - "@storybook/csf-tools" "7.4.6" - "@storybook/node-logger" "7.4.6" - "@storybook/telemetry" "7.4.6" - "@storybook/types" "7.4.6" + "@storybook/codemod" "7.5.1" + "@storybook/core-common" "7.5.1" + "@storybook/core-events" "7.5.1" + "@storybook/core-server" "7.5.1" + "@storybook/csf-tools" "7.5.1" + "@storybook/node-logger" "7.5.1" + "@storybook/telemetry" "7.5.1" + "@storybook/types" "7.5.1" "@types/semver" "^7.3.4" "@yarnpkg/fslib" "2.10.3" "@yarnpkg/libzip" "2.3.0" @@ -3739,25 +3879,25 @@ ts-dedent "^2.0.0" util-deprecate "^1.0.2" -"@storybook/client-logger@7.4.6": - version "7.4.6" - resolved "https://registry.yarnpkg.com/@storybook/client-logger/-/client-logger-7.4.6.tgz#3346f3ae51abb3ce61bf1a7d083d32f27b8f718f" - integrity sha512-XDw31ZziU//86PKuMRnmc+L/G0VopaGKENQOGEpvAXCU9IZASwGKlKAtcyosjrpi+ZiUXlMgUXCpXM7x3b1Ehw== +"@storybook/client-logger@7.5.1": + version "7.5.1" + resolved "https://registry.yarnpkg.com/@storybook/client-logger/-/client-logger-7.5.1.tgz#dc4c693900ae1f7ebda9f7faeea46956e70ef184" + integrity sha512-XxbLvg0aQRoBrzxYLcVYCbjDkGbkU8Rfb74XbV2CLiO2bIbFPmA1l1Nwbp+wkCGA+O6Z1zwzSl6wcKKqZ6XZCg== dependencies: "@storybook/global" "^5.0.0" -"@storybook/codemod@7.4.6": - version "7.4.6" - resolved "https://registry.yarnpkg.com/@storybook/codemod/-/codemod-7.4.6.tgz#b884304c246de6de22faa94e76cd38f129bd827e" - integrity sha512-lxmwEpwksCaAq96APN2YlooSDfKjJ1vKzN5Ni2EqQzf2TEXl7XQjLacHd7OOaII1kfsy+D5gNG4N5wBo7Ub30g== +"@storybook/codemod@7.5.1": + version "7.5.1" + resolved "https://registry.yarnpkg.com/@storybook/codemod/-/codemod-7.5.1.tgz#40b7b8ab74945eff7b8206c5944025d82e01cd57" + integrity sha512-PqHGOz/CZnRG9pWgshezCacu524CrXOJrCOwMUP9OMpH0Jk/NhBkHaBZrB8wMjn5hekTj0UmRa/EN8wJm9CCUQ== dependencies: "@babel/core" "^7.22.9" "@babel/preset-env" "^7.22.9" "@babel/types" "^7.22.5" "@storybook/csf" "^0.1.0" - "@storybook/csf-tools" "7.4.6" - "@storybook/node-logger" "7.4.6" - "@storybook/types" "7.4.6" + "@storybook/csf-tools" "7.5.1" + "@storybook/node-logger" "7.5.1" + "@storybook/types" "7.5.1" "@types/cross-spawn" "^6.0.2" cross-spawn "^7.0.3" globby "^11.0.2" @@ -3766,45 +3906,45 @@ prettier "^2.8.0" recast "^0.23.1" -"@storybook/components@7.4.6": - version "7.4.6" - resolved "https://registry.yarnpkg.com/@storybook/components/-/components-7.4.6.tgz#e804407bd3a047e9f6026edfbbe188244661b55a" - integrity sha512-nIRBhewAgrJJVafyCzuaLx1l+YOfvvD5dOZ0JxZsxJsefOdw1jFpUqUZ5fIpQ2moyvrR0mAUFw378rBfMdHz5Q== +"@storybook/components@7.5.1": + version "7.5.1" + resolved "https://registry.yarnpkg.com/@storybook/components/-/components-7.5.1.tgz#677eae0e7976939434b5c391fe841ced9b66e082" + integrity sha512-fdzzxGBV/Fj9pYwfYL3RZsVUHeBqlfLMBP/L6mPmjaZSwHFqkaRZZUajZc57lCtI+TOy2gY6WH3cPavEtqtgLw== dependencies: "@radix-ui/react-select" "^1.2.2" "@radix-ui/react-toolbar" "^1.0.4" - "@storybook/client-logger" "7.4.6" + "@storybook/client-logger" "7.5.1" "@storybook/csf" "^0.1.0" "@storybook/global" "^5.0.0" - "@storybook/theming" "7.4.6" - "@storybook/types" "7.4.6" + "@storybook/theming" "7.5.1" + "@storybook/types" "7.5.1" memoizerific "^1.11.3" use-resize-observer "^9.1.0" util-deprecate "^1.0.2" -"@storybook/core-client@7.4.6": - version "7.4.6" - resolved "https://registry.yarnpkg.com/@storybook/core-client/-/core-client-7.4.6.tgz#880ab2a431133912d0b76f2273cefe95b287d8ca" - integrity sha512-tfgxAHeCvMcs6DsVgtb4hQSDaCHeAPJOsoyhb47eDQfk4OmxzriM0qWucJV5DePSMi+KutX/rN2u0JxfOuN68g== +"@storybook/core-client@7.5.1": + version "7.5.1" + resolved "https://registry.yarnpkg.com/@storybook/core-client/-/core-client-7.5.1.tgz#06bc3711767fa131800d1a0827dd120e89019ccd" + integrity sha512-K651UnNKkW8U078CH5rcUqf0siGcfEhwya2yQN5RBb/H78HSLBLdYgzKqxaKtmz+S8DFyWhrgbXZLdBjavozJg== dependencies: - "@storybook/client-logger" "7.4.6" - "@storybook/preview-api" "7.4.6" + "@storybook/client-logger" "7.5.1" + "@storybook/preview-api" "7.5.1" -"@storybook/core-common@7.4.6": - version "7.4.6" - resolved "https://registry.yarnpkg.com/@storybook/core-common/-/core-common-7.4.6.tgz#8cb3fd94c4c7c5d307fb1606dcb0e06fc8672410" - integrity sha512-05MJFmOM86qvTLtgDskokIFz9txe0Lbhq4L3by1FtF0GwgH+p+W6I94KI7c6ANER+kVZkXQZhiRzwBFnVTW+Cg== +"@storybook/core-common@7.5.1": + version "7.5.1" + resolved "https://registry.yarnpkg.com/@storybook/core-common/-/core-common-7.5.1.tgz#ce0b7a3a14c71e3d1b5261395bbea62429d635b2" + integrity sha512-/rQ0/xvxFHSGCgIkK74HrgDMnzfYtDYTCoSod/qCTojfs9aciX+JYgvo5ChPnI/LEKWwxRTkrE7pl2u5+C4XGA== dependencies: - "@storybook/core-events" "7.4.6" - "@storybook/node-logger" "7.4.6" - "@storybook/types" "7.4.6" + "@storybook/core-events" "7.5.1" + "@storybook/node-logger" "7.5.1" + "@storybook/types" "7.5.1" "@types/find-cache-dir" "^3.2.1" - "@types/node" "^16.0.0" + "@types/node" "^18.0.0" "@types/node-fetch" "^2.6.4" "@types/pretty-hrtime" "^1.0.0" chalk "^4.1.0" esbuild "^0.18.0" - esbuild-register "^3.4.0" + esbuild-register "^3.5.0" file-system-cache "2.3.0" find-cache-dir "^3.0.0" find-up "^5.0.0" @@ -3819,35 +3959,35 @@ resolve-from "^5.0.0" ts-dedent "^2.0.0" -"@storybook/core-events@7.4.6": - version "7.4.6" - resolved "https://registry.yarnpkg.com/@storybook/core-events/-/core-events-7.4.6.tgz#f0b652c623c1afebda42d1702d631cecc1c137bf" - integrity sha512-r5vrE+32lwrJh1NGFr1a0mWjvxo7q8FXYShylcwRWpacmL5NTtLkrXOoJSeGvJ4yKNYkvxQFtOPId4lzDxa32w== +"@storybook/core-events@7.5.1": + version "7.5.1" + resolved "https://registry.yarnpkg.com/@storybook/core-events/-/core-events-7.5.1.tgz#a6bf057e4605fb8360c76d28a3c36daa676a81a4" + integrity sha512-2eyaUhTfmEEqOEZVoCXVITCBn6N7QuZCG2UNxv0l//ED+7MuMiFhVw7kS7H3WOVk65R7gb8qbKFTNX8HFTgBHg== dependencies: ts-dedent "^2.0.0" -"@storybook/core-server@7.4.6": - version "7.4.6" - resolved "https://registry.yarnpkg.com/@storybook/core-server/-/core-server-7.4.6.tgz#82a3834d9a063ff01a126f7c1724c8997bdd1555" - integrity sha512-jqmRTGCJ1W0WReImivkisPVaLFT5sjtLnFoAk0feHp6QS5j7EYOPN7CYzliyQmARWTLUEXOVaFf3VD6nJZQhJQ== +"@storybook/core-server@7.5.1": + version "7.5.1" + resolved "https://registry.yarnpkg.com/@storybook/core-server/-/core-server-7.5.1.tgz#6fffa20ad2952dcd1fc790ea49e9f8ad615d57e1" + integrity sha512-DD4BXCH91aZJoFuu0cQwG1ZUmE59kG5pazuE3S89zH1GwKS1jWyeAv4EwEfvynT5Ah1ctd8QdCZCSXVzjq0qcw== dependencies: "@aw-web-design/x-default-browser" "1.4.126" "@discoveryjs/json-ext" "^0.5.3" - "@storybook/builder-manager" "7.4.6" - "@storybook/channels" "7.4.6" - "@storybook/core-common" "7.4.6" - "@storybook/core-events" "7.4.6" + "@storybook/builder-manager" "7.5.1" + "@storybook/channels" "7.5.1" + "@storybook/core-common" "7.5.1" + "@storybook/core-events" "7.5.1" "@storybook/csf" "^0.1.0" - "@storybook/csf-tools" "7.4.6" + "@storybook/csf-tools" "7.5.1" "@storybook/docs-mdx" "^0.1.0" "@storybook/global" "^5.0.0" - "@storybook/manager" "7.4.6" - "@storybook/node-logger" "7.4.6" - "@storybook/preview-api" "7.4.6" - "@storybook/telemetry" "7.4.6" - "@storybook/types" "7.4.6" + "@storybook/manager" "7.5.1" + "@storybook/node-logger" "7.5.1" + "@storybook/preview-api" "7.5.1" + "@storybook/telemetry" "7.5.1" + "@storybook/types" "7.5.1" "@types/detect-port" "^1.3.0" - "@types/node" "^16.0.0" + "@types/node" "^18.0.0" "@types/pretty-hrtime" "^1.0.0" "@types/semver" "^7.3.4" better-opn "^3.0.2" @@ -3873,25 +4013,25 @@ watchpack "^2.2.0" ws "^8.2.3" -"@storybook/csf-plugin@7.4.6": - version "7.4.6" - resolved "https://registry.yarnpkg.com/@storybook/csf-plugin/-/csf-plugin-7.4.6.tgz#63b4498c9be329ba9cdd53bb8cbe66ef225230ec" - integrity sha512-yi7Qa4NSqKOyiJTWCxlB0ih2ijXq6oY5qZKW6MuMMBP14xJNRGLbH5KabpfXgN2T7YECcOWG1uWaGj2veJb1KA== +"@storybook/csf-plugin@7.5.1": + version "7.5.1" + resolved "https://registry.yarnpkg.com/@storybook/csf-plugin/-/csf-plugin-7.5.1.tgz#c20783772f116005471e21cbc84a3820f2ddfd35" + integrity sha512-jhV2aCZhSIXUiQDcHtuCg3dyYMzjYHTwLb4cJtkNw4sXqQoTGydTSWYwWigcHFfKGoyQp82rSgE1hE4YYx6iew== dependencies: - "@storybook/csf-tools" "7.4.6" + "@storybook/csf-tools" "7.5.1" unplugin "^1.3.1" -"@storybook/csf-tools@7.4.6": - version "7.4.6" - resolved "https://registry.yarnpkg.com/@storybook/csf-tools/-/csf-tools-7.4.6.tgz#3987e31d5975dcaa8f3dfa4f5e0fb5cd457cbae6" - integrity sha512-ocKpcIUtTBy6hlLY34RUFQyX403cWpB2gGfqvkHbpGe2BQj7EyV0zpWnjsfVxvw+M9OWlCdxHWDOPUgXM33ELw== +"@storybook/csf-tools@7.5.1": + version "7.5.1" + resolved "https://registry.yarnpkg.com/@storybook/csf-tools/-/csf-tools-7.5.1.tgz#f652a1348f931fb2ad48116b1c7d7540de950d2e" + integrity sha512-YChGbT1/odLS4RLb2HtK7ixM7mH5s7G5nOsWGKXalbza4SFKZIU2UzllEUsA+X8YfxMHnCD5TC3xLfK0ByxmzQ== dependencies: "@babel/generator" "^7.22.9" "@babel/parser" "^7.22.7" "@babel/traverse" "^7.22.8" "@babel/types" "^7.22.5" "@storybook/csf" "^0.1.0" - "@storybook/types" "7.4.6" + "@storybook/types" "7.5.1" fs-extra "^11.1.0" recast "^0.23.1" ts-dedent "^2.0.0" @@ -3915,14 +4055,14 @@ resolved "https://registry.yarnpkg.com/@storybook/docs-mdx/-/docs-mdx-0.1.0.tgz#33ba0e39d1461caf048b57db354b2cc410705316" integrity sha512-JDaBR9lwVY4eSH5W8EGHrhODjygPd6QImRbwjAuJNEnY0Vw4ie3bPkeGfnacB3OBW6u/agqPv2aRlR46JcAQLg== -"@storybook/docs-tools@7.4.6": - version "7.4.6" - resolved "https://registry.yarnpkg.com/@storybook/docs-tools/-/docs-tools-7.4.6.tgz#cbba8dadd13adc7a9a3c792261ca875ff12ae451" - integrity sha512-nZj1L/8WwKWWJ41FW4MaKGajZUtrhnr9UwflRCkQJaWhAKmDfOb5M5TqI93uCOULpFPOm5wpoMBz2IHInQ2Lrg== +"@storybook/docs-tools@7.5.1": + version "7.5.1" + resolved "https://registry.yarnpkg.com/@storybook/docs-tools/-/docs-tools-7.5.1.tgz#a1266314e64929498d3c41483ac9794cf3707102" + integrity sha512-tDtQGeKU5Kc2XoqZ5vpeGQrOkRg2UoDiSRS6cLy+M/sMB03Annq0ZngnJXaMiv0DLi2zpWSgWqPgYA3TJTZHBw== dependencies: - "@storybook/core-common" "7.4.6" - "@storybook/preview-api" "7.4.6" - "@storybook/types" "7.4.6" + "@storybook/core-common" "7.5.1" + "@storybook/preview-api" "7.5.1" + "@storybook/types" "7.5.1" "@types/doctrine" "^0.0.3" doctrine "^3.0.0" lodash "^4.17.21" @@ -3939,16 +4079,16 @@ resolved "https://registry.yarnpkg.com/@storybook/global/-/global-5.0.0.tgz#b793d34b94f572c1d7d9e0f44fac4e0dbc9572ed" integrity sha512-FcOqPAXACP0I3oJ/ws6/rrPT9WGhu915Cg8D02a9YxLo0DE9zI+a9A5gRGvmQ09fiWPukqI8ZAEoQEdWUKMQdQ== -"@storybook/instrumenter@7.4.6": - version "7.4.6" - resolved "https://registry.yarnpkg.com/@storybook/instrumenter/-/instrumenter-7.4.6.tgz#7a941a31aeae6cc1864689288d66cb282368b602" - integrity sha512-K5atRoVFCl6HEgkSxIbwygpzgE/iROc7BrtJ3z3a7E70sanFr6Jxt6Egu6fz2QkL3ef4EWpXMnle2vhEfG29pA== +"@storybook/instrumenter@7.5.1": + version "7.5.1" + resolved "https://registry.yarnpkg.com/@storybook/instrumenter/-/instrumenter-7.5.1.tgz#a63d9d7f9623cc9994e4772990742b13892e0f40" + integrity sha512-bxRoWVVLlevqTFappXj1JfZlvEceBiBPdQQqTTeeA09VL3UyFWDpPFRn8Wf2C43Vt4V18w+krMyb1KfTk37ROQ== dependencies: - "@storybook/channels" "7.4.6" - "@storybook/client-logger" "7.4.6" - "@storybook/core-events" "7.4.6" + "@storybook/channels" "7.5.1" + "@storybook/client-logger" "7.5.1" + "@storybook/core-events" "7.5.1" "@storybook/global" "^5.0.0" - "@storybook/preview-api" "7.4.6" + "@storybook/preview-api" "7.5.1" "@storybook/jest@^0.2.3": version "0.2.3" @@ -3960,19 +4100,19 @@ "@types/jest" "28.1.3" jest-mock "^27.3.0" -"@storybook/manager-api@7.4.6": - version "7.4.6" - resolved "https://registry.yarnpkg.com/@storybook/manager-api/-/manager-api-7.4.6.tgz#e74bd0a0a983d6b9b7f66dfe0d94d8465f5e7a34" - integrity sha512-inrm3DIbCp8wjXSN/wK6e6i2ysQ/IEmtC7IN0OJ7vdrp+USCooPT448SQTUmVctUGCFmOU3fxXByq8g77oIi7w== +"@storybook/manager-api@7.5.1": + version "7.5.1" + resolved "https://registry.yarnpkg.com/@storybook/manager-api/-/manager-api-7.5.1.tgz#ebc5c0efc3f9c3451882e61b9b982d898a1fc6c9" + integrity sha512-ygwJywluhhE1dpA0jC2D/3NFhMXzFCt+iW4m3cOwexYTuiDWF66AbGOFBx9peE7Wk/Z9doKkf9E3v11enwaidA== dependencies: - "@storybook/channels" "7.4.6" - "@storybook/client-logger" "7.4.6" - "@storybook/core-events" "7.4.6" + "@storybook/channels" "7.5.1" + "@storybook/client-logger" "7.5.1" + "@storybook/core-events" "7.5.1" "@storybook/csf" "^0.1.0" "@storybook/global" "^5.0.0" - "@storybook/router" "7.4.6" - "@storybook/theming" "7.4.6" - "@storybook/types" "7.4.6" + "@storybook/router" "7.5.1" + "@storybook/theming" "7.5.1" + "@storybook/types" "7.5.1" dequal "^2.0.2" lodash "^4.17.21" memoizerific "^1.11.3" @@ -3981,37 +4121,37 @@ telejson "^7.2.0" ts-dedent "^2.0.0" -"@storybook/manager@7.4.6": - version "7.4.6" - resolved "https://registry.yarnpkg.com/@storybook/manager/-/manager-7.4.6.tgz#96acb0ab60e05b74947d7895e04efa557fd8892f" - integrity sha512-kA1hUDxpn1i2SO9OinvLvVXDeL4xgJkModp+pbE8IXv4NJWReNq1ecMeQCzPLS3Sil2gnrullQ9uYXsnZ9bxxA== +"@storybook/manager@7.5.1": + version "7.5.1" + resolved "https://registry.yarnpkg.com/@storybook/manager/-/manager-7.5.1.tgz#c8b73b17e10c2c96fbc2ab736abcdc57bb8f4143" + integrity sha512-Jo83sj7KvsZ78vvqjH72ErmQ31Frx6GBLbpeYXZtbAXWl0/LHsxAEVz0Mke+DixzWDyP0/cn+Nw8QUfA+Oz1fg== "@storybook/mdx2-csf@^1.0.0": version "1.1.0" resolved "https://registry.yarnpkg.com/@storybook/mdx2-csf/-/mdx2-csf-1.1.0.tgz#97f6df04d0bf616991cc1005a073ac004a7281e5" integrity sha512-TXJJd5RAKakWx4BtpwvSNdgTDkKM6RkXU8GK34S/LhidQ5Pjz3wcnqb0TxEkfhK/ztbP8nKHqXFwLfa2CYkvQw== -"@storybook/node-logger@7.4.6": - version "7.4.6" - resolved "https://registry.yarnpkg.com/@storybook/node-logger/-/node-logger-7.4.6.tgz#d92eb7e99cb8aefffe67eb63583a21398ce9a0ab" - integrity sha512-djZb310Q27GviDug1XBv0jOEDLCiwr4hhDE0aifCEKZpfNCi/EaP31nbWimFzZwxu4hE/YAPWExzScruR1zw9Q== +"@storybook/node-logger@7.5.1": + version "7.5.1" + resolved "https://registry.yarnpkg.com/@storybook/node-logger/-/node-logger-7.5.1.tgz#a2cce2c2122180523cbd5b5727e9e48a8e44b5c2" + integrity sha512-xRMdL5YPe8C9sgJ1R0QD3YbiLjDGrfQk91+GplRD8N9FVCT5dki55Bv5Kp0FpemLYYg6uxAZL5nHmsZHKDKQoA== -"@storybook/postinstall@7.4.6": - version "7.4.6" - resolved "https://registry.yarnpkg.com/@storybook/postinstall/-/postinstall-7.4.6.tgz#2d5da361fc8baee1866c80b2244815a9e217b843" - integrity sha512-TqI5BucPAGRWrkh55BYiG2/gHLFtC0In4cuu0GsUzB/1jc4i51npLRorCwhmT7r7YliGl5F7JaP0Bni/qHN3Lg== +"@storybook/postinstall@7.5.1": + version "7.5.1" + resolved "https://registry.yarnpkg.com/@storybook/postinstall/-/postinstall-7.5.1.tgz#956a4e6460f330e0cac51650c38ab25d0d3b2ec0" + integrity sha512-+LFUe2nNbmmLPKNt34RXSSC1r40yGGOoP/qlaPFwNOgQN2AZUrfqk6ZYnw6LjmcuHpQInZ4y4WDgbzg6QQL3+w== -"@storybook/preview-api@7.4.6": - version "7.4.6" - resolved "https://registry.yarnpkg.com/@storybook/preview-api/-/preview-api-7.4.6.tgz#a42749ff867216b89849ada6ac0f49f4fa8f03a8" - integrity sha512-byUS/Opt3ytWD4cWz3sNEKw5Yks8MkQgRN+GDSyIomaEAQkLAM0rchPC0MYjwCeUSecV7IIQweNX5RbV4a34BA== +"@storybook/preview-api@7.5.1": + version "7.5.1" + resolved "https://registry.yarnpkg.com/@storybook/preview-api/-/preview-api-7.5.1.tgz#c21697587d7202941e0f90538115d9c3be21f781" + integrity sha512-8xjUbuGmHLmw8tfTUCjXSvMM9r96JaexPFmHdwW6XLe71KKdWp8u96vRDRE5648cd+/of15OjaRtakRKqluA/A== dependencies: - "@storybook/channels" "7.4.6" - "@storybook/client-logger" "7.4.6" - "@storybook/core-events" "7.4.6" + "@storybook/channels" "7.5.1" + "@storybook/client-logger" "7.5.1" + "@storybook/core-events" "7.5.1" "@storybook/csf" "^0.1.0" "@storybook/global" "^5.0.0" - "@storybook/types" "7.4.6" + "@storybook/types" "7.5.1" "@types/qs" "^6.9.5" dequal "^2.0.2" lodash "^4.17.21" @@ -4021,45 +4161,44 @@ ts-dedent "^2.0.0" util-deprecate "^1.0.2" -"@storybook/preview@7.4.6": - version "7.4.6" - resolved "https://registry.yarnpkg.com/@storybook/preview/-/preview-7.4.6.tgz#b0d9f5a843d4c7aea8857f6bc5d7253cc04c7c4b" - integrity sha512-2RPXusJ4CTDrIipIKKvbotD7fP0+8VzoFjImunflIrzN9rni+2rq5eMjqlXAaB+77w064zIR4uDUzI9fxsMDeQ== +"@storybook/preview@7.5.1": + version "7.5.1" + resolved "https://registry.yarnpkg.com/@storybook/preview/-/preview-7.5.1.tgz#97d8de1a4780eb7640a0f74d88302871728160b7" + integrity sha512-nfZC103z9Cy27FrJKUr2IjDuVt8Mvn1Z5gZ0TtJihoK7sfLTv29nd/XU9zzrb/epM3o8UEzc63xZZsMaToDbAw== -"@storybook/react-dom-shim@7.4.6": - version "7.4.6" - resolved "https://registry.yarnpkg.com/@storybook/react-dom-shim/-/react-dom-shim-7.4.6.tgz#7f7e01dbb6abe104ae140e25b7ed98c347a5fb9f" - integrity sha512-DSq8l9FDocUF1ooVI+TF83pddj1LynE/Hv0/y8XZhc3IgJ/HkuOQuUmfz29ezgfAi9gFYUR8raTIBi3/xdoRmw== +"@storybook/react-dom-shim@7.5.1": + version "7.5.1" + resolved "https://registry.yarnpkg.com/@storybook/react-dom-shim/-/react-dom-shim-7.5.1.tgz#1dd868782f2ed52828691a221b0f9e99f5427ef8" + integrity sha512-bzTIfLm91O9h3rPYJLtRbmsPARerY3z7MoyvadGp8TikvIvf+WyT/vHujw+20SxnqiZVq5Jv65FFlxc46GGB1Q== -"@storybook/react-vite@^7.4.6": - version "7.4.6" - resolved "https://registry.yarnpkg.com/@storybook/react-vite/-/react-vite-7.4.6.tgz#c87393f5727e3b75693c0e3bc959eece12a32d96" - integrity sha512-jkjnrf3FxzR5wcmebXRPflrsM4WIDjWyW/NVFJwxi5PeIOk7fE7/QAPrm4NFRUu2Q7DeuH3oLKsw8bigvUI9RA== +"@storybook/react-vite@^7.5.1": + version "7.5.1" + resolved "https://registry.yarnpkg.com/@storybook/react-vite/-/react-vite-7.5.1.tgz#7460a05845e568c155fced120e56fbca29012fcf" + integrity sha512-996/CtOqTjDWMKBGcHG8pwIVlORnoknLD+OTkPXl+aAl9oM9jUtc7psVKLJKGHSHTlVElM2wMTwIHnJ4yeP7bw== dependencies: - "@joshwooding/vite-plugin-react-docgen-typescript" "0.2.1" + "@joshwooding/vite-plugin-react-docgen-typescript" "0.3.0" "@rollup/pluginutils" "^5.0.2" - "@storybook/builder-vite" "7.4.6" - "@storybook/react" "7.4.6" + "@storybook/builder-vite" "7.5.1" + "@storybook/react" "7.5.1" "@vitejs/plugin-react" "^3.0.1" - ast-types "^0.14.2" magic-string "^0.30.0" - react-docgen "6.0.0-alpha.3" + react-docgen "^6.0.2" -"@storybook/react@7.4.6", "@storybook/react@^7.4.6": - version "7.4.6" - resolved "https://registry.yarnpkg.com/@storybook/react/-/react-7.4.6.tgz#240a78547add8db69b5d2eeae3d6c45feb79559b" - integrity sha512-w0dVo64baFFPTGpUOWFqkKsu6pQincoymegSNgqaBd5DxEyMDRiRoTWSJHMKE9BwgE8SyWhRkP1ak1mkccSOhQ== +"@storybook/react@7.5.1", "@storybook/react@^7.5.1": + version "7.5.1" + resolved "https://registry.yarnpkg.com/@storybook/react/-/react-7.5.1.tgz#56227f2dbb7c3a5fafc7f3e61a3e4268ec1c5fde" + integrity sha512-IG97c30fFSmPyGpJ1awHC/+9XnCTqleeOQwROXjroMHSm8m/JTWpHMVLyM1x7b6VAnBhNHWJ+oXLZe/hXkXfpA== dependencies: - "@storybook/client-logger" "7.4.6" - "@storybook/core-client" "7.4.6" - "@storybook/docs-tools" "7.4.6" + "@storybook/client-logger" "7.5.1" + "@storybook/core-client" "7.5.1" + "@storybook/docs-tools" "7.5.1" "@storybook/global" "^5.0.0" - "@storybook/preview-api" "7.4.6" - "@storybook/react-dom-shim" "7.4.6" - "@storybook/types" "7.4.6" + "@storybook/preview-api" "7.5.1" + "@storybook/react-dom-shim" "7.5.1" + "@storybook/types" "7.5.1" "@types/escodegen" "^0.0.6" "@types/estree" "^0.0.51" - "@types/node" "^16.0.0" + "@types/node" "^18.0.0" acorn "^7.4.1" acorn-jsx "^5.3.1" acorn-walk "^7.2.0" @@ -4072,23 +4211,23 @@ type-fest "~2.19" util-deprecate "^1.0.2" -"@storybook/router@7.4.6": - version "7.4.6" - resolved "https://registry.yarnpkg.com/@storybook/router/-/router-7.4.6.tgz#54d3014af26f82d79eae7dc5b0e6a89509b11912" - integrity sha512-Vl1esrHkcHxDKqc+HY7+6JQpBPW3zYvGk0cQ2rxVMhWdLZTAz1hss9DqzN9tFnPyfn0a1Q77EpMySkUrvWKKNQ== +"@storybook/router@7.5.1": + version "7.5.1" + resolved "https://registry.yarnpkg.com/@storybook/router/-/router-7.5.1.tgz#1d09daa1c7414061fe8c47415b7750a874ad1d9b" + integrity sha512-BvKo+IxWwo3dfIG1+vLtZLT4qqkNHL5GTIozTyX04uqt9ByYZL6SJEzxEa1Xn6Qq/fbdQwzCanNHbTlwiTMf7Q== dependencies: - "@storybook/client-logger" "7.4.6" + "@storybook/client-logger" "7.5.1" memoizerific "^1.11.3" qs "^6.10.0" -"@storybook/telemetry@7.4.6": - version "7.4.6" - resolved "https://registry.yarnpkg.com/@storybook/telemetry/-/telemetry-7.4.6.tgz#748c978a188c988d688a50635025c12e7e90f924" - integrity sha512-c8p/C1NIH8EMBviZkBCx8MMDk6rrITJ+b29DEp5MaWSRlklIVyhGiC4RPIRv6sxJwlD41PnqWVFtfu2j2eXLdQ== +"@storybook/telemetry@7.5.1": + version "7.5.1" + resolved "https://registry.yarnpkg.com/@storybook/telemetry/-/telemetry-7.5.1.tgz#299bc0c03b1b68a7cd274ff443c7f13783153c87" + integrity sha512-z9PGouNqvZ2F7vD79qDF4PN7iW3kE3MO7YX0iKTmzgLi4ImKuXIJRF04GRH8r+WYghnbomAyA4o6z9YJMdNuVw== dependencies: - "@storybook/client-logger" "7.4.6" - "@storybook/core-common" "7.4.6" - "@storybook/csf-tools" "7.4.6" + "@storybook/client-logger" "7.5.1" + "@storybook/core-common" "7.5.1" + "@storybook/csf-tools" "7.5.1" chalk "^4.1.0" detect-package-manager "^2.0.1" fetch-retry "^5.0.2" @@ -4104,22 +4243,22 @@ "@testing-library/user-event" "^14.4.0" ts-dedent "^2.2.0" -"@storybook/theming@7.4.6": - version "7.4.6" - resolved "https://registry.yarnpkg.com/@storybook/theming/-/theming-7.4.6.tgz#72f7e42a57347d84128cef9abfba5ac1a810118e" - integrity sha512-HW77iJ9ptCMqhoBOYFjRQw7VBap+38fkJGHP5KylEJCyYCgIAm2dEcQmtWpMVYFssSGcb6djfbtAMhYU4TL4Iw== +"@storybook/theming@7.5.1": + version "7.5.1" + resolved "https://registry.yarnpkg.com/@storybook/theming/-/theming-7.5.1.tgz#b3a78f493d644ac8cba5136e04479a58a9ba5546" + integrity sha512-ETLAOn10hI4Mkmjsr0HGcM6HbzaURrrPBYmfXOrdbrzEVN+AHW4FlvP9d8fYyP1gdjPE1F39XvF0jYgt1zXiHQ== dependencies: "@emotion/use-insertion-effect-with-fallbacks" "^1.0.0" - "@storybook/client-logger" "7.4.6" + "@storybook/client-logger" "7.5.1" "@storybook/global" "^5.0.0" memoizerific "^1.11.3" -"@storybook/types@7.4.6": - version "7.4.6" - resolved "https://registry.yarnpkg.com/@storybook/types/-/types-7.4.6.tgz#536f21b82e1f809052b4d09802f99a580e960175" - integrity sha512-6QLXtMVsFZFpzPkdGWsu/iuc8na9dnS67AMOBKm5qCLPwtUJOYkwhMdFRSSeJthLRpzV7JLAL8Kwvl7MFP3QSw== +"@storybook/types@7.5.1": + version "7.5.1" + resolved "https://registry.yarnpkg.com/@storybook/types/-/types-7.5.1.tgz#fa7f5c4ded412c92af9e6bcb238689c1f4f57d2a" + integrity sha512-ZcMSaqFNx1E+G00nRDUi8kKL7gxJVlnCvbKLNj3V85guy4DkIYAZr31yDqze07gDWbjvKoHIp3tKpgE+2i8upQ== dependencies: - "@storybook/channels" "7.4.6" + "@storybook/channels" "7.5.1" "@types/babel__core" "^7.0.0" "@types/express" "^4.7.0" file-system-cache "2.3.0" @@ -4352,6 +4491,17 @@ "@types/babel__template" "*" "@types/babel__traverse" "*" +"@types/babel__core@^7.18.0": + version "7.20.3" + resolved "https://registry.yarnpkg.com/@types/babel__core/-/babel__core-7.20.3.tgz#d5625a50b6f18244425a1359a858c73d70340778" + integrity sha512-54fjTSeSHwfan8AyHWrKbfBWiEUrNTZsUwPTDSNaaP1QDQIZbeNUg3a59E9D+375MzUw/x1vx2/0F5LBz+AeYA== + dependencies: + "@babel/parser" "^7.20.7" + "@babel/types" "^7.20.7" + "@types/babel__generator" "*" + "@types/babel__template" "*" + "@types/babel__traverse" "*" + "@types/babel__generator@*": version "7.0.2" resolved "https://registry.yarnpkg.com/@types/babel__generator/-/babel__generator-7.0.2.tgz#d2112a6b21fad600d7674274293c85dce0cb47fc" @@ -4374,6 +4524,13 @@ dependencies: "@babel/types" "^7.3.0" +"@types/babel__traverse@^7.18.0": + version "7.20.3" + resolved "https://registry.yarnpkg.com/@types/babel__traverse/-/babel__traverse-7.20.3.tgz#a971aa47441b28ef17884ff945d0551265a2d058" + integrity sha512-Lsh766rGEFbaxMIDH7Qa+Yha8cMVI3qAK6CHt3OR0YfxOIn5Z54iHiyDRycHrBqeIiqGa20Kpsv1cavfBKkRSw== + dependencies: + "@babel/types" "^7.20.7" + "@types/body-parser@*": version "1.19.2" resolved "https://registry.yarnpkg.com/@types/body-parser/-/body-parser-1.19.2.tgz#aea2059e28b7658639081347ac4fab3de166e6f0" @@ -4425,6 +4582,11 @@ resolved "https://registry.yarnpkg.com/@types/doctrine/-/doctrine-0.0.3.tgz#e892d293c92c9c1d3f9af72c15a554fbc7e0895a" integrity sha512-w5jZ0ee+HaPOaX25X2/2oGR/7rgAQSYII7X7pp0m9KgBfMP7uKfMfTvcpl5Dj+eDBbpxKGiqE+flqDr6XTd2RA== +"@types/doctrine@^0.0.6": + version "0.0.6" + resolved "https://registry.yarnpkg.com/@types/doctrine/-/doctrine-0.0.6.tgz#12ede1f7cd3797be5856277c85f031299ccd2641" + integrity sha512-KlEqPtaNBHBJ2/fVA4yLdD0Tc8zw34pKU4K5SHBIEwtLJ8xxumIC1xeG+4S+/9qhVj2MqC7O3Ld8WvDG4HqlgA== + "@types/ejs@^3.1.1": version "3.1.2" resolved "https://registry.yarnpkg.com/@types/ejs/-/ejs-3.1.2.tgz#75d277b030bc11b3be38c807e10071f45ebc78d9" @@ -4669,11 +4831,6 @@ resolved "https://registry.yarnpkg.com/@types/node/-/node-12.20.37.tgz#abb38afa9d6e8a2f627a8cb52290b3c80fbe61ed" integrity sha512-i1KGxqcvJaLQali+WuypQnXwcplhtNtjs66eNsZpp2P2FL/trJJxx/VWsM0YCL2iMoIJrbXje48lvIQAQ4p2ZA== -"@types/node@^16.0.0": - version "16.18.39" - resolved "https://registry.yarnpkg.com/@types/node/-/node-16.18.39.tgz#aa39a1a87a40ef6098ee69689a1acb0c1b034832" - integrity sha512-8q9ZexmdYYyc5/cfujaXb4YOucpQxAV4RMG0himLyDUOEr8Mr79VrqsFI+cQ2M2h89YIuy95lbxuYjxT4Hk4kQ== - "@types/node@^18.0.0": version "18.16.3" resolved "https://registry.yarnpkg.com/@types/node/-/node-18.16.3.tgz#6bda7819aae6ea0b386ebc5b24bdf602f1b42b01" @@ -4771,6 +4928,11 @@ resolved "https://registry.yarnpkg.com/@types/resolve/-/resolve-1.20.2.tgz#97d26e00cd4a0423b4af620abecf3e6f442b7975" integrity sha512-60BCwRFOZCQhDncwQdxxeOEEkbc5dIMccYLwbxsS4TUNeVECQ/pBJ0j09mrHOl/JJvpRPGwO9SvE4nR2Nb/a4Q== +"@types/resolve@^1.20.2": + version "1.20.4" + resolved "https://registry.yarnpkg.com/@types/resolve/-/resolve-1.20.4.tgz#d2df996a35695c843dbf180e26bc2c7a0f1a3e12" + integrity sha512-BKGK0T1VgB1zD+PwQR4RRf0ais3NyvH1qjLUrHI5SEiccYaJrhLstLuoXFWJ+2Op9whGizSPUMGPJY/Qtb/A2w== + "@types/scheduler@*": version "0.16.2" resolved "https://registry.yarnpkg.com/@types/scheduler/-/scheduler-0.16.2.tgz#1a62f89525723dde24ba1b01b092bf5df8ad4d39" @@ -5391,13 +5553,6 @@ ast-types@0.15.2: dependencies: tslib "^2.0.1" -ast-types@^0.14.2: - version "0.14.2" - resolved "https://registry.yarnpkg.com/ast-types/-/ast-types-0.14.2.tgz#600b882df8583e3cd4f2df5fa20fa83759d4bdfd" - integrity sha512-O0yuUDnZeQDL+ncNGlJ78BiO4jnYI3bvMsD5prT0/nsgijG/LpNBIr63gTjVTNsiGkgQhiyCShTgxt8oXOrklA== - dependencies: - tslib "^2.0.1" - ast-types@^0.16.1: version "0.16.1" resolved "https://registry.yarnpkg.com/ast-types/-/ast-types-0.16.1.tgz#7a9da1617c9081bc121faafe91711b4c8bb81da2" @@ -5792,24 +5947,6 @@ bytes@3.1.2: resolved "https://registry.yarnpkg.com/bytes/-/bytes-3.1.2.tgz#8b0beeb98605adf1b128fa4386403c009e0221a5" integrity sha512-/Nf7TyzTx6S3yRJObOAV7956r8cr2+Oj8AC5dt8wSP3BQAoeX58NoHyCU8P8zGkNXStjTSi6fzO6F0pBdcYbEg== -c8@^7.6.0: - version "7.14.0" - resolved "https://registry.yarnpkg.com/c8/-/c8-7.14.0.tgz#f368184c73b125a80565e9ab2396ff0be4d732f3" - integrity sha512-i04rtkkcNcCf7zsQcSv/T9EbUn4RXQ6mropeMcjFOsQXQ0iGLAr/xT6TImQg4+U9hmNpN9XdvPkjUL1IzbgxJw== - dependencies: - "@bcoe/v8-coverage" "^0.2.3" - "@istanbuljs/schema" "^0.1.3" - find-up "^5.0.0" - foreground-child "^2.0.0" - istanbul-lib-coverage "^3.2.0" - istanbul-lib-report "^3.0.0" - istanbul-reports "^3.1.4" - rimraf "^3.0.2" - test-exclude "^6.0.0" - v8-to-istanbul "^9.0.0" - yargs "^16.2.0" - yargs-parser "^20.2.9" - cacheable-lookup@^7.0.0: version "7.0.0" resolved "https://registry.yarnpkg.com/cacheable-lookup/-/cacheable-lookup-7.0.0.tgz#3476a8215d046e5a3202a9209dd13fec1f933a27" @@ -5890,7 +6027,7 @@ ccount@^2.0.0: resolved "https://registry.yarnpkg.com/ccount/-/ccount-2.0.1.tgz#17a3bf82302e0870d6da43a01311a8bc02a3ecf5" integrity sha512-eyrF0jiFpY+3drT6383f1qhkbGsLSifNAjA61IUjZjmLCWjItY6LB9ft9YhoDgwfmclB2zhu51Lc7+95b8NRAg== -chalk@^2.0.0, chalk@^2.1.0: +chalk@^2.0.0, chalk@^2.1.0, chalk@^2.4.2: version "2.4.2" resolved "https://registry.yarnpkg.com/chalk/-/chalk-2.4.2.tgz#cd42541677a54333cf541a49108c1432b44c9424" integrity sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ== @@ -6140,11 +6277,6 @@ comma-separated-tokens@^2.0.0: resolved "https://registry.yarnpkg.com/comma-separated-tokens/-/comma-separated-tokens-2.0.2.tgz#d4c25abb679b7751c880be623c1179780fe1dd98" integrity sha512-G5yTt3KQN4Yn7Yk4ed73hlZ1evrFKXeUW3086p3PRFNp7m2vIjI6Pg+Kgb+oyzhd9F2qdcoj67+y3SdxL5XWsg== -commander@^2.19.0: - version "2.20.3" - resolved "https://registry.yarnpkg.com/commander/-/commander-2.20.3.tgz#fd485e84c03eb4881c20722ba48035e8531aeb33" - integrity sha512-GpVkmM8vF2vQUkj2LvZmD35JxeJOLCwJ9cUkugyk2nuhbv3+mJvpLYYt+0+USMxE+oj+ey/lJEnhZw75x/OMcQ== - commander@^5.0.0: version "5.1.0" resolved "https://registry.yarnpkg.com/commander/-/commander-5.1.0.tgz#46abbd1652f8e059bddaef99bbdcb2ad9cf179ae" @@ -6928,10 +7060,10 @@ esbuild-plugin-alias@^0.2.1: resolved "https://registry.yarnpkg.com/esbuild-plugin-alias/-/esbuild-plugin-alias-0.2.1.tgz#45a86cb941e20e7c2bc68a2bea53562172494fcb" integrity sha512-jyfL/pwPqaFXyKnj8lP8iLk6Z0m099uXR45aSN8Av1XD4vhvQutxxPzgA2bTcAwQpa1zCXDcWOlhFgyP3GKqhQ== -esbuild-register@^3.4.0: - version "3.4.2" - resolved "https://registry.yarnpkg.com/esbuild-register/-/esbuild-register-3.4.2.tgz#1e39ee0a77e8f320a9790e68c64c3559620b9175" - integrity sha512-kG/XyTDyz6+YDuyfB9ZoSIOOmgyFCH+xPRtsCa8W85HLRV5Csp+o3jWVbOSHgSLfyLc5DmP+KFDNwty4mEjC+Q== +esbuild-register@^3.5.0: + version "3.5.0" + resolved "https://registry.yarnpkg.com/esbuild-register/-/esbuild-register-3.5.0.tgz#449613fb29ab94325c722f560f800dd946dc8ea8" + integrity sha512-+4G/XmakeBAsvJuDugJvtyF1x+XJT4FMocynNpxrvEBViirpfUn2PgNpCHedfWhF4WokNsO/OvMKrmJOIJsI5A== dependencies: debug "^4.3.4" @@ -7324,15 +7456,6 @@ estraverse@^5.1.0, estraverse@^5.2.0, estraverse@^5.3.0: resolved "https://registry.yarnpkg.com/estraverse/-/estraverse-5.3.0.tgz#2eea5290702f26ab8fe5370370ff86c965d21123" integrity sha512-MMdARuVEQziNTeJD8DgMqmhwR11BRQ/cBP+pLtYdSTnf3MIO8fFeiINEbX36ZdNlfU/7A9f3gUw49B3oQsvwBA== -estree-to-babel@^3.1.0: - version "3.2.1" - resolved "https://registry.yarnpkg.com/estree-to-babel/-/estree-to-babel-3.2.1.tgz#82e78315275c3ca74475fdc8ac1a5103c8a75bf5" - integrity sha512-YNF+mZ/Wu2FU/gvmzuWtYc8rloubL7wfXCTgouFrnjGVXPA/EeYYA7pupXWrb3Iv1cTBeSSxxJIbK23l4MRNqg== - dependencies: - "@babel/traverse" "^7.1.6" - "@babel/types" "^7.2.0" - c8 "^7.6.0" - estree-util-is-identifier-name@^2.0.0: version "2.0.0" resolved "https://registry.yarnpkg.com/estree-util-is-identifier-name/-/estree-util-is-identifier-name-2.0.0.tgz#e2d3d2ae3032c017b2112832bfc5d8ba938c8010" @@ -7688,14 +7811,6 @@ for-each@^0.3.3: dependencies: is-callable "^1.1.3" -foreground-child@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/foreground-child/-/foreground-child-2.0.0.tgz#71b32800c9f15aa8f2f83f4a6bd9bff35d861a53" - integrity sha512-dCIq9FpEcyQyXKCkyzmlPTFNgrCzPudOe+mhvJU5zAtlBnGVy2yKxtfsxK2tQBThwq225jcvBjpw1Gr40uzZCA== - dependencies: - cross-spawn "^7.0.0" - signal-exit "^3.0.2" - foreground-child@^3.1.0: version "3.1.1" resolved "https://registry.yarnpkg.com/foreground-child/-/foreground-child-3.1.1.tgz#1d173e776d75d2772fed08efe4a0de1ea1b12d0d" @@ -9042,14 +9157,6 @@ istanbul-reports@^3.1.3: html-escaper "^2.0.0" istanbul-lib-report "^3.0.0" -istanbul-reports@^3.1.4: - version "3.1.6" - resolved "https://registry.yarnpkg.com/istanbul-reports/-/istanbul-reports-3.1.6.tgz#2544bcab4768154281a2f0870471902704ccaa1a" - integrity sha512-TLgnMkKg3iTDsQ9PbPTdpfAK2DzjF9mqUG7RMgcQl8oFjad8ob4laGxv5XV5U9MAfx8D6tSJiUyuAwzLicaxlg== - dependencies: - html-escaper "^2.0.0" - istanbul-lib-report "^3.0.0" - jackspeak@^2.0.3: version "2.2.0" resolved "https://registry.yarnpkg.com/jackspeak/-/jackspeak-2.2.0.tgz#497cbaedc902ec3f31d5d61be804d2364ff9ddad" @@ -9697,7 +9804,7 @@ json5@^1.0.1: dependencies: minimist "^1.2.0" -json5@^2.2.2: +json5@^2.2.2, json5@^2.2.3: version "2.2.3" resolved "https://registry.yarnpkg.com/json5/-/json5-2.2.3.tgz#78cd6f1a19bdc12b73db5ad0c61efd66c1e29283" integrity sha512-XmOWe7eyHYH14cLdVPoyg+GOH3rYX++KpzrylJwSW98t3Nk+U8XOl8FWKOgwtzdb8lXGf6zYwDUzeHMWfxasyg== @@ -10987,7 +11094,7 @@ negotiator@0.6.3: resolved "https://registry.yarnpkg.com/negotiator/-/negotiator-0.6.3.tgz#58e323a72fedc0d6f9cd4d31fe49f51479590ccd" integrity sha512-+EUsqGPLsM+j/zdChZjsnX51g4XrHFOIXwfnCVPGlQk/k5giakcKsuxCObBRu6DSm9opw/O6slWbJdghQM4bBg== -neo-async@^2.5.0, neo-async@^2.6.0, neo-async@^2.6.1: +neo-async@^2.5.0, neo-async@^2.6.0: version "2.6.2" resolved "https://registry.yarnpkg.com/neo-async/-/neo-async-2.6.2.tgz#b4aafb93e3aeb2d8174ca53cf163ab7d7308305f" integrity sha512-Yd3UES5mWCSqR+qNT93S3UoYUkqAZ9lLg8a7g9rimsWmYGK8cVToA4/sF3RrshdyV3sAGMXVUmpMYOw+dLpOuw== @@ -11032,7 +11139,7 @@ nlcst-to-string@^3.0.0: dependencies: "@types/nlcst" "^1.0.0" -node-dir@^0.1.10, node-dir@^0.1.17: +node-dir@^0.1.17: version "0.1.17" resolved "https://registry.yarnpkg.com/node-dir/-/node-dir-0.1.17.tgz#5f5665d93351335caabef8f1c554516cf5f1e4e5" integrity sha512-tmPX422rYgofd4epzrNoOXiE8XFZYOcCq1vD7MAXCDO+O+zndlA2ztdKKMa+EeuBG5tHETpr4ml4RGgpqDCCAg== @@ -11999,21 +12106,21 @@ react-docgen-typescript@^2.2.2: resolved "https://registry.yarnpkg.com/react-docgen-typescript/-/react-docgen-typescript-2.2.2.tgz#4611055e569edc071204aadb20e1c93e1ab1659c" integrity sha512-tvg2ZtOpOi6QDwsb3GZhOjDkkX0h8Z2gipvTg6OVMUyoYoURhEiRNePT8NZItTVCDh39JJHnLdfCOkzoLbFnTg== -react-docgen@6.0.0-alpha.3: - version "6.0.0-alpha.3" - resolved "https://registry.yarnpkg.com/react-docgen/-/react-docgen-6.0.0-alpha.3.tgz#4d8a4916b45de4aadb90eb5f3a6f923edf447928" - integrity sha512-DDLvB5EV9As1/zoUsct6Iz2Cupw9FObEGD3DMcIs3EDFIoSKyz8FZtoWj3Wj+oodrU4/NfidN0BL5yrapIcTSA== +react-docgen@^6.0.2: + version "6.0.4" + resolved "https://registry.yarnpkg.com/react-docgen/-/react-docgen-6.0.4.tgz#85eeebac5fdeb781dbf610fdc429c20a4f06131c" + integrity sha512-gF+p+1ZwC2eO66bt763Tepmh5q9kDiFIrqW3YjUV/a+L96h0m5+/wSFQoOHL2cffyrPMZMxP03IgbggJ11QbOw== dependencies: - "@babel/core" "^7.7.5" - "@babel/generator" "^7.12.11" - ast-types "^0.14.2" - commander "^2.19.0" + "@babel/core" "^7.18.9" + "@babel/traverse" "^7.18.9" + "@babel/types" "^7.18.9" + "@types/babel__core" "^7.18.0" + "@types/babel__traverse" "^7.18.0" + "@types/doctrine" "^0.0.6" + "@types/resolve" "^1.20.2" doctrine "^3.0.0" - estree-to-babel "^3.1.0" - neo-async "^2.6.1" - node-dir "^0.1.10" - resolve "^1.17.0" - strip-indent "^3.0.0" + resolve "^1.22.1" + strip-indent "^4.0.0" react-dom@16.14.0, react-dom@^16.13.1: version "16.14.0" @@ -12585,15 +12692,6 @@ resolve@^1.10.0, resolve@^1.14.2, resolve@^1.20.0, resolve@^1.22.1: path-parse "^1.0.7" supports-preserve-symlinks-flag "^1.0.0" -resolve@^1.17.0: - version "1.22.2" - resolved "https://registry.yarnpkg.com/resolve/-/resolve-1.22.2.tgz#0ed0943d4e301867955766c9f3e1ae6d01c6845f" - integrity sha512-Sb+mjNHOULsBv818T40qSPeRiuWLyaGMa5ewydRLFimneixmVy2zdivRl+AF6jaYPC8ERxGDmFSiqui6SfPd+g== - dependencies: - is-core-module "^2.11.0" - path-parse "^1.0.7" - supports-preserve-symlinks-flag "^1.0.0" - resolve@^2.0.0-next.4: version "2.0.0-next.4" resolved "https://registry.yarnpkg.com/resolve/-/resolve-2.0.0-next.4.tgz#3d37a113d6429f496ec4752d2a2e58efb1fd4660" @@ -13103,12 +13201,12 @@ store2@^2.14.2: resolved "https://registry.yarnpkg.com/store2/-/store2-2.14.2.tgz#56138d200f9fe5f582ad63bc2704dbc0e4a45068" integrity sha512-siT1RiqlfQnGqgT/YzXVUNsom9S0H1OX+dpdGN1xkyYATo4I6sep5NmsRD/40s3IIOvlCq6akxkqG82urIZW1w== -storybook@^7.4.6: - version "7.4.6" - resolved "https://registry.yarnpkg.com/storybook/-/storybook-7.4.6.tgz#f688649af6c2cd1329dd120d8f61a930f76262d0" - integrity sha512-YkFSpnR47j5zz7yElA+2axLjXN7K7TxDGJRHHlqXmG5iQ0PXzmjrj2RxMDKFz4Ybp/QjEUoJ4rx//ESEY0Nb5A== +storybook@^7.5.1: + version "7.5.1" + resolved "https://registry.yarnpkg.com/storybook/-/storybook-7.5.1.tgz#e7554aa674355fedb1f49f9651f0650b8f9ee13b" + integrity sha512-Wg3j3z5H03PYnEcmlnhf6bls0OtjmsNPsQ93dTV8F4AweqBECwzjf94Wj++NrP3X+WbfMoCbBU6LRFuEyzCCxw== dependencies: - "@storybook/cli" "7.4.6" + "@storybook/cli" "7.5.1" stream-combiner@~0.0.4: version "0.0.4" @@ -14089,15 +14187,6 @@ uvu@^0.5.0: sade "^1.7.3" totalist "^2.0.0" -v8-to-istanbul@^9.0.0: - version "9.1.0" - resolved "https://registry.yarnpkg.com/v8-to-istanbul/-/v8-to-istanbul-9.1.0.tgz#1b83ed4e397f58c85c266a570fc2558b5feb9265" - integrity sha512-6z3GW9x8G1gd+JIIgQQQxXuiJtCXeAjp6RaPEPLv62mH3iPHPxV6W3robxtCzNErRo6ZwTmzWhsbNvjyEBKzKA== - dependencies: - "@jridgewell/trace-mapping" "^0.3.12" - "@types/istanbul-lib-coverage" "^2.0.1" - convert-source-map "^1.6.0" - v8-to-istanbul@^9.0.1: version "9.0.1" resolved "https://registry.yarnpkg.com/v8-to-istanbul/-/v8-to-istanbul-9.0.1.tgz#b6f994b0b5d4ef255e17a0d17dc444a9f5132fa4" @@ -14539,7 +14628,7 @@ yargs-parser@^18.1.2, yargs-parser@^18.1.3: camelcase "^5.0.0" decamelize "^1.2.0" -yargs-parser@^20.2.2, yargs-parser@^20.2.3, yargs-parser@^20.2.9: +yargs-parser@^20.2.3: version "20.2.9" resolved "https://registry.yarnpkg.com/yargs-parser/-/yargs-parser-20.2.9.tgz#2eb7dc3b0289718fc295f362753845c41a0c94ee" integrity sha512-y11nGElTIV+CT3Zv9t7VKl+Q3hTQoT9a1Qzezhhl6Rp21gJ/IVTW7Z3y9EWXhuUBC2Shnf+DX0antecpAwSP8w== @@ -14571,19 +14660,6 @@ yargs@^15.1.0: y18n "^4.0.0" yargs-parser "^18.1.2" -yargs@^16.2.0: - version "16.2.0" - resolved "https://registry.yarnpkg.com/yargs/-/yargs-16.2.0.tgz#1c82bf0f6b6a66eafce7ef30e376f49a12477f66" - integrity sha512-D1mvvtDG0L5ft/jGWkLpG1+m0eQxOfaBvTNELraWj22wSVUMWxZUvYgJYcKh6jGGIkJFhH4IZPQhR4TKpc8mBw== - dependencies: - cliui "^7.0.2" - escalade "^3.1.1" - get-caller-file "^2.0.5" - require-directory "^2.1.1" - string-width "^4.2.0" - y18n "^5.0.5" - yargs-parser "^20.2.2" - yargs@^17.3.1: version "17.4.1" resolved "https://registry.yarnpkg.com/yargs/-/yargs-17.4.1.tgz#ebe23284207bb75cee7c408c33e722bfb27b5284" From 9489dde891ddedd7be46dd76ef94854d54702bba Mon Sep 17 00:00:00 2001 From: Juan Andrade Date: Fri, 20 Oct 2023 13:14:29 -0400 Subject: [PATCH 3/8] WB-1616: Add PhosphorIcon support to Banner (#2093) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ## Summary: Replaces `Icon` with the new `PhosphorIcon` component in Banner. Also removes the custom icon paths in favor of official phosphor SVG imports. Issue: https://khanacademy.atlassian.net/browse/WB-1616 ## Test plan: In Storybook, verify that the Banner stories look correct. Also compare the changes in Chromatic. Author: jandrade Reviewers: nishasy Required Reviewers: Approved By: nishasy Checks: ✅ codecov/project, ✅ Lint (ubuntu-latest, 16.x), ✅ Test (ubuntu-latest, 16.x, 2/2), ✅ Check build sizes (ubuntu-latest, 16.x), ✅ Test (ubuntu-latest, 16.x, 1/2), ✅ Publish npm snapshot (ubuntu-latest, 16.x), ✅ Check for .changeset entries for all changed files (ubuntu-latest, 16.x), ✅ Prime node_modules cache for primary configuration (ubuntu-latest, 16.x), ✅ Chromatic - Get results on regular PRs (ubuntu-latest, 16.x), ✅ Chromatic - Build on regular PRs / chromatic (ubuntu-latest, 16.x), ⏭ Chromatic - Skip on Release PR (changesets), ⏭ dependabot, ✅ gerald Pull Request URL: https://github.com/Khan/wonder-blocks/pull/2093 --- .changeset/curly-elephants-fail.md | 5 +++ .../src/components/banner-icons.ts | 19 ------------ .../src/components/banner.tsx | 31 +++++++++++++------ 3 files changed, 27 insertions(+), 28 deletions(-) create mode 100644 .changeset/curly-elephants-fail.md delete mode 100644 packages/wonder-blocks-banner/src/components/banner-icons.ts diff --git a/.changeset/curly-elephants-fail.md b/.changeset/curly-elephants-fail.md new file mode 100644 index 000000000..7f35b83da --- /dev/null +++ b/.changeset/curly-elephants-fail.md @@ -0,0 +1,5 @@ +--- +"@khanacademy/wonder-blocks-banner": patch +--- + +Add PhosphorIcon support to Banners diff --git a/packages/wonder-blocks-banner/src/components/banner-icons.ts b/packages/wonder-blocks-banner/src/components/banner-icons.ts deleted file mode 100644 index 7c5041154..000000000 --- a/packages/wonder-blocks-banner/src/components/banner-icons.ts +++ /dev/null @@ -1,19 +0,0 @@ -// TODO(WB-1409): Use Phosphor icons instead of custom svgs. Also, use -// Wonder Blocks Icon instead of img in the render function. -import {IconAsset} from "@khanacademy/wonder-blocks-icon"; - -export const info: IconAsset = { - medium: "M12 4C7.58172 4 4 7.58172 4 12C4 16.4183 7.58172 20 12 20C16.4183 20 20 16.4183 20 12C20 7.58172 16.4183 4 12 4ZM2 12C2 6.47715 6.47715 2 12 2C17.5228 2 22 6.47715 22 12C22 17.5228 17.5228 22 12 22C6.47715 22 2 17.5228 2 12ZM10.25 11.25C10.25 10.6977 10.6977 10.25 11.25 10.25H12C12.5523 10.25 13 10.6977 13 11.25V15.5315C13.4313 15.6425 13.75 16.034 13.75 16.5C13.75 17.0523 13.3023 17.5 12.75 17.5H12C11.4477 17.5 11 17.0523 11 16.5V12.2185C10.5687 12.1075 10.25 11.716 10.25 11.25ZM12.9375 7.875C12.9375 8.49632 12.4338 9 11.8125 9C11.1912 9 10.6875 8.49632 10.6875 7.875C10.6875 7.25368 11.1912 6.75 11.8125 6.75C12.4338 6.75 12.9375 7.25368 12.9375 7.875Z", -}; - -export const success: IconAsset = { - medium: "M4 12C4 7.58172 7.58172 4 12 4C16.4183 4 20 7.58172 20 12C20 16.4183 16.4183 20 12 20C7.58172 20 4 16.4183 4 12ZM12 2C6.47715 2 2 6.47715 2 12C2 17.5228 6.47715 22 12 22C17.5228 22 22 17.5228 22 12C22 6.47715 17.5228 2 12 2ZM9.75 10.125C9.75 10.7463 9.24632 11.25 8.625 11.25C8.00368 11.25 7.5 10.7463 7.5 10.125C7.5 9.50368 8.00368 9 8.625 9C9.24632 9 9.75 9.50368 9.75 10.125ZM15.375 11.25C15.9963 11.25 16.5 10.7463 16.5 10.125C16.5 9.50368 15.9963 9 15.375 9C14.7537 9 14.25 9.50368 14.25 10.125C14.25 10.7463 14.7537 11.25 15.375 11.25ZM8.96488 13.7479C8.68763 13.2703 8.07567 13.1078 7.59801 13.3851C7.12036 13.6623 6.9579 14.2743 7.23515 14.7519C7.71955 15.5865 8.41464 16.2791 9.25086 16.7606C10.0871 17.2421 11.0351 17.4956 12 17.4956C12.965 17.4956 13.913 17.2421 14.7492 16.7606C15.5854 16.2791 16.2805 15.5865 16.7649 14.7519C17.0421 14.2743 16.8797 13.6623 16.402 13.3851C15.9244 13.1078 15.3124 13.2703 15.0352 13.7479C14.7266 14.2795 14.2838 14.7207 13.7512 15.0274C13.2185 15.3341 12.6147 15.4956 12 15.4956C11.3854 15.4956 10.7815 15.3341 10.2489 15.0274C9.7162 14.7207 9.27344 14.2795 8.96488 13.7479Z", -}; - -export const warning: IconAsset = { - medium: "M10.7505 2.33557C11.1301 2.11544 11.5612 1.99951 12 1.99951C12.4388 1.99951 12.8698 2.11544 13.2494 2.33557C13.6282 2.55524 13.9424 2.87089 14.1603 3.25068L14.1616 3.25305L22.4097 17.4997C22.6288 17.8791 22.7443 18.3094 22.7447 18.7475C22.7451 19.1856 22.6303 19.6161 22.412 19.9959C22.1936 20.3757 21.8792 20.6915 21.5004 20.9115C21.1216 21.1316 20.6916 21.2482 20.2535 21.2497L20.25 21.2497H3.74997L3.74645 21.2497C3.30835 21.2482 2.87835 21.1316 2.49953 20.9115C2.12071 20.6915 1.80636 20.3757 1.58798 19.9959C1.36961 19.6161 1.25486 19.1856 1.25525 18.7475C1.25564 18.3094 1.37114 17.8791 1.5902 17.4997L9.83829 3.25305L9.83965 3.25068C10.0576 2.87089 10.3717 2.55524 10.7505 2.33557ZM10.7062 3.74975L11.5716 4.25079L3.32224 18.4998C3.27857 18.5755 3.25533 18.6618 3.25525 18.7493C3.25517 18.8369 3.27812 18.923 3.3218 18.999C3.36547 19.075 3.42834 19.1381 3.50411 19.1821C3.57952 19.2259 3.66508 19.2492 3.75228 19.2497H20.2477C20.3349 19.2492 20.4204 19.2259 20.4958 19.1821C20.5716 19.1381 20.6345 19.075 20.6781 18.999C20.7218 18.923 20.7448 18.8369 20.7447 18.7493C20.7446 18.6619 20.7216 18.576 20.678 18.5003L12.4258 4.24645C12.3828 4.17143 12.3209 4.10907 12.2461 4.06571C12.1713 4.02235 12.0864 3.99951 12 3.99951C11.9135 3.99951 11.8286 4.02235 11.7538 4.06571C11.6791 4.10907 11.6171 4.17142 11.5741 4.24645L10.7062 3.74975ZM12 8.75C12.5523 8.75 13 9.19772 13 9.75V13.5C13 14.0523 12.5523 14.5 12 14.5C11.4477 14.5 11 14.0523 11 13.5V9.75C11 9.19772 11.4477 8.75 12 8.75ZM13.125 16.875C13.125 17.4963 12.6213 18 12 18C11.3787 18 10.875 17.4963 10.875 16.875C10.875 16.2537 11.3787 15.75 12 15.75C12.6213 15.75 13.125 16.2537 13.125 16.875Z", -}; - -export const critical: IconAsset = { - medium: "M12 4C7.58172 4 4 7.58172 4 12C4 16.4183 7.58172 20 12 20C16.4183 20 20 16.4183 20 12C20 7.58172 16.4183 4 12 4ZM2 12C2 6.47715 6.47715 2 12 2C17.5228 2 22 6.47715 22 12C22 17.5228 17.5228 22 12 22C6.47715 22 2 17.5228 2 12ZM12 6.5C12.5523 6.5 13 6.94772 13 7.5V12.75C13 13.3023 12.5523 13.75 12 13.75C11.4477 13.75 11 13.3023 11 12.75V7.5C11 6.94772 11.4477 6.5 12 6.5ZM13.125 16.125C13.125 16.7463 12.6213 17.25 12 17.25C11.3787 17.25 10.875 16.7463 10.875 16.125C10.875 15.5037 11.3787 15 12 15C12.6213 15 13.125 15.5037 13.125 16.125Z", -}; diff --git a/packages/wonder-blocks-banner/src/components/banner.tsx b/packages/wonder-blocks-banner/src/components/banner.tsx index 4584411ec..5fc05521e 100644 --- a/packages/wonder-blocks-banner/src/components/banner.tsx +++ b/packages/wonder-blocks-banner/src/components/banner.tsx @@ -6,13 +6,19 @@ import xIcon from "@phosphor-icons/core/regular/x.svg"; import Button from "@khanacademy/wonder-blocks-button"; import Color from "@khanacademy/wonder-blocks-color"; import {View} from "@khanacademy/wonder-blocks-core"; -import Icon from "@khanacademy/wonder-blocks-icon"; +import { + PhosphorIcon, + PhosphorIconMedium, +} from "@khanacademy/wonder-blocks-icon"; import IconButton from "@khanacademy/wonder-blocks-icon-button"; import Link from "@khanacademy/wonder-blocks-link"; import Spacing from "@khanacademy/wonder-blocks-spacing"; import {LabelSmall} from "@khanacademy/wonder-blocks-typography"; -import * as bannerIcons from "./banner-icons"; +import infoIcon from "@phosphor-icons/core/regular/info.svg"; +import successIcon from "@phosphor-icons/core/regular/smiley.svg"; +import warningIcon from "@phosphor-icons/core/regular/warning.svg"; +import criticalIcon from "@phosphor-icons/core/regular/warning-circle.svg"; type ActionTriggerBase = { title: string; @@ -71,6 +77,7 @@ type BannerLayout = type BannerValues = { color: string; + icon: PhosphorIconMedium; role: "status" | "alert"; ariaLive?: "assertive" | "polite"; }; @@ -114,27 +121,31 @@ type Props = { testId?: string; }; -const valuesForKind = (kind: BannerKind): BannerValues => { +const getValuesForKind = (kind: BannerKind): BannerValues => { switch (kind) { case "success": return { color: Color.green, + icon: successIcon, role: "status", }; case "warning": return { color: Color.gold, + icon: warningIcon, role: "alert", ariaLive: "polite", }; case "critical": return { color: Color.red, + icon: criticalIcon, role: "alert", }; default: return { color: Color.blue, + icon: infoIcon, role: "status", }; } @@ -224,27 +235,29 @@ const Banner = (props: Props): React.ReactElement => { }); }; + const valuesForKind = getValuesForKind(kind); + return ( - Date: Fri, 20 Oct 2023 17:28:25 -0400 Subject: [PATCH 4/8] =?UTF-8?q?[=F0=9F=94=A5AUDIT=F0=9F=94=A5]=20Run=20sna?= =?UTF-8?q?pshots=20job=20when=20the=20PR=20is=20ready=20for=20review=20(#?= =?UTF-8?q?2095)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 🖍 _This is an audit!_ 🖍 ## Summary: The snapshot releases job only runs when the PR is not a draft. There was an issue that prevented from creating a snapshot release when a PR was moved from `draft` to `ready for review`. This PR fixes that by including the `ready_for_review` activity type in the workflow. Issue: XXX-XXXX ## Test plan: N/A Author: jandrade Auditors: nishasy Required Reviewers: Approved By: nishasy Checks: ❌ codecov/project, ✅ Chromatic - Get results on regular PRs (ubuntu-latest, 16.x), ✅ Test (ubuntu-latest, 16.x, 2/2), ✅ Test (ubuntu-latest, 16.x, 1/2), ✅ Lint (ubuntu-latest, 16.x), ✅ Check build sizes (ubuntu-latest, 16.x), ✅ Chromatic - Build on regular PRs / chromatic (ubuntu-latest, 16.x), ✅ Publish npm snapshot (ubuntu-latest, 16.x), ⏭ Chromatic - Skip on Release PR (changesets), ✅ Check for .changeset entries for all changed files (ubuntu-latest, 16.x), ⏭ dependabot, ✅ gerald, ✅ Prime node_modules cache for primary configuration (ubuntu-latest, 16.x) Pull Request URL: https://github.com/Khan/wonder-blocks/pull/2095 --- .github/workflows/node-ci-pr.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/node-ci-pr.yml b/.github/workflows/node-ci-pr.yml index 10d6624f2..600dc9e9c 100644 --- a/.github/workflows/node-ci-pr.yml +++ b/.github/workflows/node-ci-pr.yml @@ -2,7 +2,9 @@ name: Node CI (PR) on: pull_request: - types: [edited, opened, synchronize, reopened] + # ready_for_review is useful for when a PR is converted from "draft" to "not + # draft". + types: [edited, opened, synchronize, ready_for_review, reopened] # Our jobs run like this to minimize wasting resource cycles: # 1. Prime caches for primary configuration (ubuntu on node 16). From 45a30427bc59f1190253f740f09ddd538e685268 Mon Sep 17 00:00:00 2001 From: Juan Andrade Date: Mon, 23 Oct 2023 14:56:16 -0400 Subject: [PATCH 5/8] WB-1615: Add PhosphorIcon support to Switch (#2094) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ## Summary: Replaces Icon with the new PhosphorIcon component in `Switch`. Now Switch only should accept `PhosphorIcon` instances in its `icon` prop. Issue: WB-1615 ## Test plan: In Storybook, verify that the `Switch` icon stories look correct. Also compare the changes in Chromatic. Author: jandrade Reviewers: jeresig, nishasy Required Reviewers: Approved By: jeresig, nishasy Checks: ❌ codecov/project, ✅ Chromatic - Get results on regular PRs (ubuntu-latest, 16.x), ✅ Test (ubuntu-latest, 16.x, 2/2), ✅ Test (ubuntu-latest, 16.x, 1/2), ✅ Check build sizes (ubuntu-latest, 16.x), ✅ Lint (ubuntu-latest, 16.x), ✅ Chromatic - Build on regular PRs / chromatic (ubuntu-latest, 16.x), ⏭ Chromatic - Skip on Release PR (changesets), ❌ Publish npm snapshot (ubuntu-latest, 16.x), ✅ Prime node_modules cache for primary configuration (ubuntu-latest, 16.x), ✅ gerald, ⏭ dependabot, ✅ Check for .changeset entries for all changed files (ubuntu-latest, 16.x) Pull Request URL: https://github.com/Khan/wonder-blocks/pull/2094 --- .changeset/blue-cows-clap.md | 5 +++ .../wonder-blocks-switch/switch.argtypes.tsx | 2 +- .../wonder-blocks-switch/switch.stories.tsx | 32 ++++++++++++------- .../src/components/__tests__/switch.test.tsx | 10 ++++-- .../src/components/switch.tsx | 10 +++--- 5 files changed, 40 insertions(+), 19 deletions(-) create mode 100644 .changeset/blue-cows-clap.md diff --git a/.changeset/blue-cows-clap.md b/.changeset/blue-cows-clap.md new file mode 100644 index 000000000..e841bb18f --- /dev/null +++ b/.changeset/blue-cows-clap.md @@ -0,0 +1,5 @@ +--- +"@khanacademy/wonder-blocks-switch": patch +--- + +Add PhosphorIcon support to `Switch` diff --git a/__docs__/wonder-blocks-switch/switch.argtypes.tsx b/__docs__/wonder-blocks-switch/switch.argtypes.tsx index 3dc26caa0..29f54d91d 100644 --- a/__docs__/wonder-blocks-switch/switch.argtypes.tsx +++ b/__docs__/wonder-blocks-switch/switch.argtypes.tsx @@ -67,7 +67,7 @@ export default { mapping: iconsMap, table: { type: { - summary: "Icon", + summary: "PhosphorIcon", }, }, }, diff --git a/__docs__/wonder-blocks-switch/switch.stories.tsx b/__docs__/wonder-blocks-switch/switch.stories.tsx index 8a0dd3c7b..82890be69 100644 --- a/__docs__/wonder-blocks-switch/switch.stories.tsx +++ b/__docs__/wonder-blocks-switch/switch.stories.tsx @@ -3,10 +3,11 @@ import type {Meta, StoryObj} from "@storybook/react"; import {StyleSheet} from "aphrodite"; import {expect} from "@storybook/jest"; import {userEvent, within} from "@storybook/testing-library"; +import magnifyingGlassIcon from "@phosphor-icons/core/bold/magnifying-glass-bold.svg"; import Switch from "@khanacademy/wonder-blocks-switch"; import {PropsFor, View} from "@khanacademy/wonder-blocks-core"; -import Icon, {icons} from "@khanacademy/wonder-blocks-icon"; +import {PhosphorIcon} from "@khanacademy/wonder-blocks-icon"; import {ThemeSwitcherContext, tokens} from "@khanacademy/wonder-blocks-theming"; import {LabelMedium} from "@khanacademy/wonder-blocks-typography"; @@ -94,7 +95,7 @@ export const Controlled: StoryComponentType = () => { aria-label="test switch" checked={checkedTwo} onChange={setCheckedTwo} - icon={} + icon={} /> ); @@ -136,27 +137,34 @@ export const Disabled: StoryComponentType = { } + icon={} /> } + icon={} /> ), }; /** - * The switch can take an `Icon` element which will be rendered inside the slider. + * The switch can take a `PhosphorIcon` element which will be rendered inside + * the slider. */ export const WithIcon: StoryComponentType = { render: () => { return ( - } /> - - } /> + } + /> + + } + /> ); }, @@ -186,21 +194,21 @@ export const KhanmigoTheme = () => { } + icon={} /> } + icon={} /> } + icon={} /> } + icon={} /> diff --git a/packages/wonder-blocks-switch/src/components/__tests__/switch.test.tsx b/packages/wonder-blocks-switch/src/components/__tests__/switch.test.tsx index e411c4450..ad3175e62 100644 --- a/packages/wonder-blocks-switch/src/components/__tests__/switch.test.tsx +++ b/packages/wonder-blocks-switch/src/components/__tests__/switch.test.tsx @@ -2,8 +2,9 @@ import * as React from "react"; import {render, screen} from "@testing-library/react"; import userEvent from "@testing-library/user-event"; -import Icon, {icons} from "@khanacademy/wonder-blocks-icon"; +import {PhosphorIcon} from "@khanacademy/wonder-blocks-icon"; import {RenderStateRoot} from "@khanacademy/wonder-blocks-core"; +import magnifyingGlassIcon from "@phosphor-icons/core/bold/magnifying-glass-bold.svg"; import Switch from "../switch"; describe("Switch", () => { @@ -114,7 +115,12 @@ describe("Switch", () => { } + icon={ + + } /> , ); diff --git a/packages/wonder-blocks-switch/src/components/switch.tsx b/packages/wonder-blocks-switch/src/components/switch.tsx index c5e5d7f53..2ad36405f 100644 --- a/packages/wonder-blocks-switch/src/components/switch.tsx +++ b/packages/wonder-blocks-switch/src/components/switch.tsx @@ -7,7 +7,7 @@ import { addStyle, useUniqueIdWithMock, } from "@khanacademy/wonder-blocks-core"; -import Icon from "@khanacademy/wonder-blocks-icon"; +import {PhosphorIcon} from "@khanacademy/wonder-blocks-icon"; import { ThemedStylesFn, useScopedTheme, @@ -33,7 +33,7 @@ type Props = Pick< /** * Optional icon to display on the slider. */ - icon?: React.ReactElement; + icon?: React.ReactElement>; /** * The unique identifier for the switch. */ @@ -90,13 +90,15 @@ const SwitchCore = React.forwardRef(function SwitchCore( themeName, ); - let styledIcon: React.ReactElement | undefined; + let styledIcon: + | React.ReactElement> + | undefined; if (icon) { styledIcon = React.cloneElement(icon, { size: "small", style: [sharedStyles.icon, stateStyles.icon], "aria-hidden": true, - } as Partial>); + } as Partial>); } return ( From bdaa0236b3009b8720308fe9fed35025235588ba Mon Sep 17 00:00:00 2001 From: Khan Actions Bot <56267880+khan-actions-bot@users.noreply.github.com> Date: Mon, 23 Oct 2023 15:07:14 -0400 Subject: [PATCH 6/8] Version Packages (#2084) Co-authored-by: github-actions[bot] --- .changeset/beige-kings-train.md | 5 ----- .changeset/blue-cows-clap.md | 5 ----- .changeset/curly-elephants-fail.md | 5 ----- .changeset/lazy-files-cheer.md | 2 -- .changeset/neat-trees-occur.md | 5 ----- .changeset/tricky-phones-applaud.md | 5 ----- packages/wonder-blocks-accordion/CHANGELOG.md | 14 ++++++++++++++ packages/wonder-blocks-accordion/package.json | 10 +++++----- packages/wonder-blocks-banner/CHANGELOG.md | 14 ++++++++++++++ packages/wonder-blocks-banner/package.json | 14 +++++++------- .../wonder-blocks-birthday-picker/CHANGELOG.md | 11 +++++++++++ .../wonder-blocks-birthday-picker/package.json | 12 ++++++------ .../wonder-blocks-breadcrumbs/CHANGELOG.md | 7 +++++++ .../wonder-blocks-breadcrumbs/package.json | 4 ++-- packages/wonder-blocks-button/CHANGELOG.md | 15 +++++++++++++++ packages/wonder-blocks-button/package.json | 12 ++++++------ packages/wonder-blocks-cell/CHANGELOG.md | 10 ++++++++++ packages/wonder-blocks-cell/package.json | 10 +++++----- packages/wonder-blocks-clickable/CHANGELOG.md | 7 +++++++ packages/wonder-blocks-clickable/package.json | 4 ++-- packages/wonder-blocks-core/CHANGELOG.md | 6 ++++++ packages/wonder-blocks-core/package.json | 2 +- packages/wonder-blocks-data/CHANGELOG.md | 7 +++++++ packages/wonder-blocks-data/package.json | 4 ++-- packages/wonder-blocks-dropdown/CHANGELOG.md | 13 +++++++++++++ packages/wonder-blocks-dropdown/package.json | 18 +++++++++--------- packages/wonder-blocks-form/CHANGELOG.md | 11 +++++++++++ packages/wonder-blocks-form/package.json | 12 ++++++------ packages/wonder-blocks-grid/CHANGELOG.md | 8 ++++++++ packages/wonder-blocks-grid/package.json | 6 +++--- .../wonder-blocks-icon-button/CHANGELOG.md | 9 +++++++++ .../wonder-blocks-icon-button/package.json | 8 ++++---- packages/wonder-blocks-icon/CHANGELOG.md | 7 +++++++ packages/wonder-blocks-icon/package.json | 4 ++-- .../wonder-blocks-labeled-field/CHANGELOG.md | 9 +++++++++ .../wonder-blocks-labeled-field/package.json | 8 ++++---- packages/wonder-blocks-layout/CHANGELOG.md | 7 +++++++ packages/wonder-blocks-layout/package.json | 4 ++-- packages/wonder-blocks-link/CHANGELOG.md | 9 +++++++++ packages/wonder-blocks-link/package.json | 8 ++++---- packages/wonder-blocks-modal/CHANGELOG.md | 11 +++++++++++ packages/wonder-blocks-modal/package.json | 14 +++++++------- packages/wonder-blocks-pill/CHANGELOG.md | 10 ++++++++++ packages/wonder-blocks-pill/package.json | 10 +++++----- packages/wonder-blocks-popover/CHANGELOG.md | 11 +++++++++++ packages/wonder-blocks-popover/package.json | 12 ++++++------ .../CHANGELOG.md | 7 +++++++ .../package.json | 4 ++-- .../wonder-blocks-search-field/CHANGELOG.md | 11 +++++++++++ .../wonder-blocks-search-field/package.json | 12 ++++++------ packages/wonder-blocks-switch/CHANGELOG.md | 9 +++++++++ packages/wonder-blocks-switch/package.json | 6 +++--- packages/wonder-blocks-testing/CHANGELOG.md | 8 ++++++++ packages/wonder-blocks-testing/package.json | 6 +++--- packages/wonder-blocks-toolbar/CHANGELOG.md | 8 ++++++++ packages/wonder-blocks-toolbar/package.json | 6 +++--- packages/wonder-blocks-tooltip/CHANGELOG.md | 10 ++++++++++ packages/wonder-blocks-tooltip/package.json | 10 +++++----- packages/wonder-blocks-typography/CHANGELOG.md | 7 +++++++ packages/wonder-blocks-typography/package.json | 4 ++-- 60 files changed, 368 insertions(+), 139 deletions(-) delete mode 100644 .changeset/beige-kings-train.md delete mode 100644 .changeset/blue-cows-clap.md delete mode 100644 .changeset/curly-elephants-fail.md delete mode 100644 .changeset/lazy-files-cheer.md delete mode 100644 .changeset/neat-trees-occur.md delete mode 100644 .changeset/tricky-phones-applaud.md diff --git a/.changeset/beige-kings-train.md b/.changeset/beige-kings-train.md deleted file mode 100644 index 6f53d5cc5..000000000 --- a/.changeset/beige-kings-train.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@khanacademy/wonder-blocks-core": minor ---- - -Make useOnMountEffect accept functions with void return types diff --git a/.changeset/blue-cows-clap.md b/.changeset/blue-cows-clap.md deleted file mode 100644 index e841bb18f..000000000 --- a/.changeset/blue-cows-clap.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@khanacademy/wonder-blocks-switch": patch ---- - -Add PhosphorIcon support to `Switch` diff --git a/.changeset/curly-elephants-fail.md b/.changeset/curly-elephants-fail.md deleted file mode 100644 index 7f35b83da..000000000 --- a/.changeset/curly-elephants-fail.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@khanacademy/wonder-blocks-banner": patch ---- - -Add PhosphorIcon support to Banners diff --git a/.changeset/lazy-files-cheer.md b/.changeset/lazy-files-cheer.md deleted file mode 100644 index a845151cc..000000000 --- a/.changeset/lazy-files-cheer.md +++ /dev/null @@ -1,2 +0,0 @@ ---- ---- diff --git a/.changeset/neat-trees-occur.md b/.changeset/neat-trees-occur.md deleted file mode 100644 index e7a4570cc..000000000 --- a/.changeset/neat-trees-occur.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@khanacademy/wonder-blocks-accordion": major ---- - -Create Accordion and AccordionSection components diff --git a/.changeset/tricky-phones-applaud.md b/.changeset/tricky-phones-applaud.md deleted file mode 100644 index 14cee145b..000000000 --- a/.changeset/tricky-phones-applaud.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@khanacademy/wonder-blocks-button": major ---- - -Add `endIcon` prop and change existing `icon` prop to `startIcon` diff --git a/packages/wonder-blocks-accordion/CHANGELOG.md b/packages/wonder-blocks-accordion/CHANGELOG.md index 9dbb52a0f..45e621ba8 100644 --- a/packages/wonder-blocks-accordion/CHANGELOG.md +++ b/packages/wonder-blocks-accordion/CHANGELOG.md @@ -1,5 +1,19 @@ # @khanacademy/wonder-blocks-accordion +## 1.0.0 + +### Major Changes + +- ff34408e: Create Accordion and AccordionSection components + +### Patch Changes + +- Updated dependencies [7055ca94] + - @khanacademy/wonder-blocks-core@6.3.0 + - @khanacademy/wonder-blocks-clickable@4.0.9 + - @khanacademy/wonder-blocks-icon@2.2.1 + - @khanacademy/wonder-blocks-typography@2.1.9 + ## 0.0.5 ### Patch Changes diff --git a/packages/wonder-blocks-accordion/package.json b/packages/wonder-blocks-accordion/package.json index 7161b94b6..800e09620 100644 --- a/packages/wonder-blocks-accordion/package.json +++ b/packages/wonder-blocks-accordion/package.json @@ -1,6 +1,6 @@ { "name": "@khanacademy/wonder-blocks-accordion", - "version": "0.0.5", + "version": "1.0.0", "design": "v1", "description": "Accordion components for Wonder Blocks.", "main": "dist/index.js", @@ -17,11 +17,11 @@ "access": "restricted" }, "dependencies": { - "@khanacademy/wonder-blocks-clickable": "^4.0.8", - "@khanacademy/wonder-blocks-core": "^6.2.0", - "@khanacademy/wonder-blocks-icon": "^2.2.0", + "@khanacademy/wonder-blocks-clickable": "^4.0.9", + "@khanacademy/wonder-blocks-core": "^6.3.0", + "@khanacademy/wonder-blocks-icon": "^2.2.1", "@khanacademy/wonder-blocks-theming": "^1.1.1", - "@khanacademy/wonder-blocks-typography": "^2.1.8" + "@khanacademy/wonder-blocks-typography": "^2.1.9" }, "peerDependencies": { "@phosphor-icons/core": "^2.0.2", diff --git a/packages/wonder-blocks-banner/CHANGELOG.md b/packages/wonder-blocks-banner/CHANGELOG.md index c7105c3df..06322c072 100644 --- a/packages/wonder-blocks-banner/CHANGELOG.md +++ b/packages/wonder-blocks-banner/CHANGELOG.md @@ -1,5 +1,19 @@ # @khanacademy/wonder-blocks-banner +## 3.0.24 + +### Patch Changes + +- 9489dde8: Add PhosphorIcon support to Banners +- Updated dependencies [7055ca94] +- Updated dependencies [f620da39] + - @khanacademy/wonder-blocks-core@6.3.0 + - @khanacademy/wonder-blocks-button@6.0.0 + - @khanacademy/wonder-blocks-icon@2.2.1 + - @khanacademy/wonder-blocks-icon-button@5.0.1 + - @khanacademy/wonder-blocks-link@5.0.10 + - @khanacademy/wonder-blocks-typography@2.1.9 + ## 3.0.23 ### Patch Changes diff --git a/packages/wonder-blocks-banner/package.json b/packages/wonder-blocks-banner/package.json index 73cf241cd..4903ef5f3 100644 --- a/packages/wonder-blocks-banner/package.json +++ b/packages/wonder-blocks-banner/package.json @@ -1,6 +1,6 @@ { "name": "@khanacademy/wonder-blocks-banner", - "version": "3.0.23", + "version": "3.0.24", "design": "v1", "description": "Banner components for Wonder Blocks.", "main": "dist/index.js", @@ -16,14 +16,14 @@ }, "dependencies": { "@babel/runtime": "^7.18.6", - "@khanacademy/wonder-blocks-button": "^5.0.0", + "@khanacademy/wonder-blocks-button": "^6.0.0", "@khanacademy/wonder-blocks-color": "^3.0.0", - "@khanacademy/wonder-blocks-core": "^6.2.0", - "@khanacademy/wonder-blocks-icon": "^2.2.0", - "@khanacademy/wonder-blocks-icon-button": "^5.0.0", - "@khanacademy/wonder-blocks-link": "^5.0.9", + "@khanacademy/wonder-blocks-core": "^6.3.0", + "@khanacademy/wonder-blocks-icon": "^2.2.1", + "@khanacademy/wonder-blocks-icon-button": "^5.0.1", + "@khanacademy/wonder-blocks-link": "^5.0.10", "@khanacademy/wonder-blocks-spacing": "^4.0.1", - "@khanacademy/wonder-blocks-typography": "^2.1.8" + "@khanacademy/wonder-blocks-typography": "^2.1.9" }, "peerDependencies": { "@phosphor-icons/core": "^2.0.2", diff --git a/packages/wonder-blocks-birthday-picker/CHANGELOG.md b/packages/wonder-blocks-birthday-picker/CHANGELOG.md index 788ee6207..14eb0c16e 100644 --- a/packages/wonder-blocks-birthday-picker/CHANGELOG.md +++ b/packages/wonder-blocks-birthday-picker/CHANGELOG.md @@ -1,5 +1,16 @@ # @khanacademy/wonder-blocks-birthday-picker +## 2.0.36 + +### Patch Changes + +- Updated dependencies [7055ca94] + - @khanacademy/wonder-blocks-core@6.3.0 + - @khanacademy/wonder-blocks-dropdown@3.1.4 + - @khanacademy/wonder-blocks-icon@2.2.1 + - @khanacademy/wonder-blocks-layout@2.0.24 + - @khanacademy/wonder-blocks-typography@2.1.9 + ## 2.0.35 ### Patch Changes diff --git a/packages/wonder-blocks-birthday-picker/package.json b/packages/wonder-blocks-birthday-picker/package.json index 0f3b98159..13d920de5 100644 --- a/packages/wonder-blocks-birthday-picker/package.json +++ b/packages/wonder-blocks-birthday-picker/package.json @@ -1,6 +1,6 @@ { "name": "@khanacademy/wonder-blocks-birthday-picker", - "version": "2.0.35", + "version": "2.0.36", "design": "v1", "publishConfig": { "access": "public" @@ -15,12 +15,12 @@ "dependencies": { "@babel/runtime": "^7.18.6", "@khanacademy/wonder-blocks-color": "^3.0.0", - "@khanacademy/wonder-blocks-core": "^6.2.0", - "@khanacademy/wonder-blocks-dropdown": "^3.1.3", - "@khanacademy/wonder-blocks-icon": "^2.2.0", - "@khanacademy/wonder-blocks-layout": "^2.0.23", + "@khanacademy/wonder-blocks-core": "^6.3.0", + "@khanacademy/wonder-blocks-dropdown": "^3.1.4", + "@khanacademy/wonder-blocks-icon": "^2.2.1", + "@khanacademy/wonder-blocks-layout": "^2.0.24", "@khanacademy/wonder-blocks-spacing": "^4.0.1", - "@khanacademy/wonder-blocks-typography": "^2.1.8" + "@khanacademy/wonder-blocks-typography": "^2.1.9" }, "peerDependencies": { "aphrodite": "^1.2.5", diff --git a/packages/wonder-blocks-breadcrumbs/CHANGELOG.md b/packages/wonder-blocks-breadcrumbs/CHANGELOG.md index 2ecf37986..09f0f2537 100644 --- a/packages/wonder-blocks-breadcrumbs/CHANGELOG.md +++ b/packages/wonder-blocks-breadcrumbs/CHANGELOG.md @@ -1,5 +1,12 @@ # @khanacademy/wonder-blocks-breadcrumbs +## 2.1.9 + +### Patch Changes + +- Updated dependencies [7055ca94] + - @khanacademy/wonder-blocks-core@6.3.0 + ## 2.1.8 ### Patch Changes diff --git a/packages/wonder-blocks-breadcrumbs/package.json b/packages/wonder-blocks-breadcrumbs/package.json index cc4d56b3d..835237e04 100644 --- a/packages/wonder-blocks-breadcrumbs/package.json +++ b/packages/wonder-blocks-breadcrumbs/package.json @@ -1,6 +1,6 @@ { "name": "@khanacademy/wonder-blocks-breadcrumbs", - "version": "2.1.8", + "version": "2.1.9", "design": "v1", "publishConfig": { "access": "public" @@ -16,7 +16,7 @@ "license": "MIT", "dependencies": { "@babel/runtime": "^7.18.6", - "@khanacademy/wonder-blocks-core": "^6.2.0", + "@khanacademy/wonder-blocks-core": "^6.3.0", "@khanacademy/wonder-blocks-spacing": "^4.0.1" }, "peerDependencies": { diff --git a/packages/wonder-blocks-button/CHANGELOG.md b/packages/wonder-blocks-button/CHANGELOG.md index caff0b9c9..f7e571043 100644 --- a/packages/wonder-blocks-button/CHANGELOG.md +++ b/packages/wonder-blocks-button/CHANGELOG.md @@ -1,5 +1,20 @@ # @khanacademy/wonder-blocks-button +## 6.0.0 + +### Major Changes + +- f620da39: Add `endIcon` prop and change existing `icon` prop to `startIcon` + +### Patch Changes + +- Updated dependencies [7055ca94] + - @khanacademy/wonder-blocks-core@6.3.0 + - @khanacademy/wonder-blocks-clickable@4.0.9 + - @khanacademy/wonder-blocks-icon@2.2.1 + - @khanacademy/wonder-blocks-progress-spinner@2.0.24 + - @khanacademy/wonder-blocks-typography@2.1.9 + ## 5.0.0 ### Major Changes diff --git a/packages/wonder-blocks-button/package.json b/packages/wonder-blocks-button/package.json index 7f9a32eb7..c22f16853 100644 --- a/packages/wonder-blocks-button/package.json +++ b/packages/wonder-blocks-button/package.json @@ -1,6 +1,6 @@ { "name": "@khanacademy/wonder-blocks-button", - "version": "5.0.0", + "version": "6.0.0", "design": "v1", "publishConfig": { "access": "public" @@ -16,13 +16,13 @@ "license": "MIT", "dependencies": { "@babel/runtime": "^7.18.6", - "@khanacademy/wonder-blocks-clickable": "^4.0.8", + "@khanacademy/wonder-blocks-clickable": "^4.0.9", "@khanacademy/wonder-blocks-color": "^3.0.0", - "@khanacademy/wonder-blocks-core": "^6.2.0", - "@khanacademy/wonder-blocks-icon": "^2.2.0", - "@khanacademy/wonder-blocks-progress-spinner": "^2.0.23", + "@khanacademy/wonder-blocks-core": "^6.3.0", + "@khanacademy/wonder-blocks-icon": "^2.2.1", + "@khanacademy/wonder-blocks-progress-spinner": "^2.0.24", "@khanacademy/wonder-blocks-spacing": "^4.0.1", - "@khanacademy/wonder-blocks-typography": "^2.1.8" + "@khanacademy/wonder-blocks-typography": "^2.1.9" }, "peerDependencies": { "aphrodite": "^1.2.5", diff --git a/packages/wonder-blocks-cell/CHANGELOG.md b/packages/wonder-blocks-cell/CHANGELOG.md index 30bcac234..47eb6f65e 100644 --- a/packages/wonder-blocks-cell/CHANGELOG.md +++ b/packages/wonder-blocks-cell/CHANGELOG.md @@ -1,5 +1,15 @@ # @khanacademy/wonder-blocks-cell +## 3.0.29 + +### Patch Changes + +- Updated dependencies [7055ca94] + - @khanacademy/wonder-blocks-core@6.3.0 + - @khanacademy/wonder-blocks-clickable@4.0.9 + - @khanacademy/wonder-blocks-layout@2.0.24 + - @khanacademy/wonder-blocks-typography@2.1.9 + ## 3.0.28 ### Patch Changes diff --git a/packages/wonder-blocks-cell/package.json b/packages/wonder-blocks-cell/package.json index ea14e8f1c..6445b34f9 100644 --- a/packages/wonder-blocks-cell/package.json +++ b/packages/wonder-blocks-cell/package.json @@ -1,6 +1,6 @@ { "name": "@khanacademy/wonder-blocks-cell", - "version": "3.0.28", + "version": "3.0.29", "design": "v1", "publishConfig": { "access": "public" @@ -14,12 +14,12 @@ }, "dependencies": { "@babel/runtime": "^7.18.6", - "@khanacademy/wonder-blocks-clickable": "^4.0.8", + "@khanacademy/wonder-blocks-clickable": "^4.0.9", "@khanacademy/wonder-blocks-color": "^3.0.0", - "@khanacademy/wonder-blocks-core": "^6.2.0", - "@khanacademy/wonder-blocks-layout": "^2.0.23", + "@khanacademy/wonder-blocks-core": "^6.3.0", + "@khanacademy/wonder-blocks-layout": "^2.0.24", "@khanacademy/wonder-blocks-spacing": "^4.0.1", - "@khanacademy/wonder-blocks-typography": "^2.1.8" + "@khanacademy/wonder-blocks-typography": "^2.1.9" }, "peerDependencies": { "aphrodite": "^1.2.5", diff --git a/packages/wonder-blocks-clickable/CHANGELOG.md b/packages/wonder-blocks-clickable/CHANGELOG.md index 775d8e42a..a6b53ba80 100644 --- a/packages/wonder-blocks-clickable/CHANGELOG.md +++ b/packages/wonder-blocks-clickable/CHANGELOG.md @@ -1,5 +1,12 @@ # @khanacademy/wonder-blocks-clickable +## 4.0.9 + +### Patch Changes + +- Updated dependencies [7055ca94] + - @khanacademy/wonder-blocks-core@6.3.0 + ## 4.0.8 ### Patch Changes diff --git a/packages/wonder-blocks-clickable/package.json b/packages/wonder-blocks-clickable/package.json index fe9b80bef..9ba786f54 100644 --- a/packages/wonder-blocks-clickable/package.json +++ b/packages/wonder-blocks-clickable/package.json @@ -1,6 +1,6 @@ { "name": "@khanacademy/wonder-blocks-clickable", - "version": "4.0.8", + "version": "4.0.9", "design": "v1", "description": "Clickable component for Wonder-Blocks.", "main": "dist/index.js", @@ -17,7 +17,7 @@ "dependencies": { "@babel/runtime": "^7.18.6", "@khanacademy/wonder-blocks-color": "^3.0.0", - "@khanacademy/wonder-blocks-core": "^6.2.0" + "@khanacademy/wonder-blocks-core": "^6.3.0" }, "peerDependencies": { "aphrodite": "^1.2.5", diff --git a/packages/wonder-blocks-core/CHANGELOG.md b/packages/wonder-blocks-core/CHANGELOG.md index 805ad1df7..a478f53d3 100644 --- a/packages/wonder-blocks-core/CHANGELOG.md +++ b/packages/wonder-blocks-core/CHANGELOG.md @@ -1,5 +1,11 @@ # @khanacademy/wonder-blocks-core +## 6.3.0 + +### Minor Changes + +- 7055ca94: Make useOnMountEffect accept functions with void return types + ## 6.2.0 ### Minor Changes diff --git a/packages/wonder-blocks-core/package.json b/packages/wonder-blocks-core/package.json index 7387c37b0..16a9a2559 100644 --- a/packages/wonder-blocks-core/package.json +++ b/packages/wonder-blocks-core/package.json @@ -1,6 +1,6 @@ { "name": "@khanacademy/wonder-blocks-core", - "version": "6.2.0", + "version": "6.3.0", "design": "v1", "publishConfig": { "access": "public" diff --git a/packages/wonder-blocks-data/CHANGELOG.md b/packages/wonder-blocks-data/CHANGELOG.md index 45bff5716..6f69e4b4a 100644 --- a/packages/wonder-blocks-data/CHANGELOG.md +++ b/packages/wonder-blocks-data/CHANGELOG.md @@ -1,5 +1,12 @@ # @khanacademy/wonder-blocks-data +## 13.0.5 + +### Patch Changes + +- Updated dependencies [7055ca94] + - @khanacademy/wonder-blocks-core@6.3.0 + ## 13.0.4 ### Patch Changes diff --git a/packages/wonder-blocks-data/package.json b/packages/wonder-blocks-data/package.json index 12fad6b69..b5d8030dc 100644 --- a/packages/wonder-blocks-data/package.json +++ b/packages/wonder-blocks-data/package.json @@ -1,6 +1,6 @@ { "name": "@khanacademy/wonder-blocks-data", - "version": "13.0.4", + "version": "13.0.5", "design": "v1", "publishConfig": { "access": "public" @@ -14,7 +14,7 @@ }, "dependencies": { "@babel/runtime": "^7.18.6", - "@khanacademy/wonder-blocks-core": "^6.2.0" + "@khanacademy/wonder-blocks-core": "^6.3.0" }, "peerDependencies": { "@khanacademy/wonder-stuff-core": "^1.2.2", diff --git a/packages/wonder-blocks-dropdown/CHANGELOG.md b/packages/wonder-blocks-dropdown/CHANGELOG.md index 837f5af07..debdbccc4 100644 --- a/packages/wonder-blocks-dropdown/CHANGELOG.md +++ b/packages/wonder-blocks-dropdown/CHANGELOG.md @@ -1,5 +1,18 @@ # @khanacademy/wonder-blocks-dropdown +## 3.1.4 + +### Patch Changes + +- Updated dependencies [7055ca94] + - @khanacademy/wonder-blocks-core@6.3.0 + - @khanacademy/wonder-blocks-clickable@4.0.9 + - @khanacademy/wonder-blocks-icon@2.2.1 + - @khanacademy/wonder-blocks-layout@2.0.24 + - @khanacademy/wonder-blocks-modal@4.0.31 + - @khanacademy/wonder-blocks-search-field@2.1.18 + - @khanacademy/wonder-blocks-typography@2.1.9 + ## 3.1.3 ### Patch Changes diff --git a/packages/wonder-blocks-dropdown/package.json b/packages/wonder-blocks-dropdown/package.json index a29bd7268..beb0aae92 100644 --- a/packages/wonder-blocks-dropdown/package.json +++ b/packages/wonder-blocks-dropdown/package.json @@ -1,6 +1,6 @@ { "name": "@khanacademy/wonder-blocks-dropdown", - "version": "3.1.3", + "version": "3.1.4", "design": "v1", "description": "Dropdown variants for Wonder Blocks.", "main": "dist/index.js", @@ -16,17 +16,17 @@ }, "dependencies": { "@babel/runtime": "^7.18.6", - "@khanacademy/wonder-blocks-clickable": "^4.0.8", + "@khanacademy/wonder-blocks-clickable": "^4.0.9", "@khanacademy/wonder-blocks-color": "^3.0.0", - "@khanacademy/wonder-blocks-core": "^6.2.0", - "@khanacademy/wonder-blocks-icon": "^2.2.0", - "@khanacademy/wonder-blocks-layout": "^2.0.23", - "@khanacademy/wonder-blocks-modal": "^4.0.30", - "@khanacademy/wonder-blocks-search-field": "^2.1.17", + "@khanacademy/wonder-blocks-core": "^6.3.0", + "@khanacademy/wonder-blocks-icon": "^2.2.1", + "@khanacademy/wonder-blocks-layout": "^2.0.24", + "@khanacademy/wonder-blocks-modal": "^4.0.31", + "@khanacademy/wonder-blocks-search-field": "^2.1.18", "@khanacademy/wonder-blocks-spacing": "^4.0.1", "@khanacademy/wonder-blocks-theming": "1.1.1", "@khanacademy/wonder-blocks-timing": "^4.0.2", - "@khanacademy/wonder-blocks-typography": "^2.1.8" + "@khanacademy/wonder-blocks-typography": "^2.1.9" }, "peerDependencies": { "@popperjs/core": "^2.10.1", @@ -39,7 +39,7 @@ "react-window": "^1.8.5" }, "devDependencies": { - "@khanacademy/wonder-blocks-button": "^5.0.0", + "@khanacademy/wonder-blocks-button": "^6.0.0", "@khanacademy/wb-dev-build-settings": "^1.0.0" } } \ No newline at end of file diff --git a/packages/wonder-blocks-form/CHANGELOG.md b/packages/wonder-blocks-form/CHANGELOG.md index 91d41012a..5dfdf3dfa 100644 --- a/packages/wonder-blocks-form/CHANGELOG.md +++ b/packages/wonder-blocks-form/CHANGELOG.md @@ -1,5 +1,16 @@ # @khanacademy/wonder-blocks-form +## 4.3.14 + +### Patch Changes + +- Updated dependencies [7055ca94] + - @khanacademy/wonder-blocks-core@6.3.0 + - @khanacademy/wonder-blocks-clickable@4.0.9 + - @khanacademy/wonder-blocks-icon@2.2.1 + - @khanacademy/wonder-blocks-layout@2.0.24 + - @khanacademy/wonder-blocks-typography@2.1.9 + ## 4.3.13 ### Patch Changes diff --git a/packages/wonder-blocks-form/package.json b/packages/wonder-blocks-form/package.json index 12550edd3..9108b9d8c 100644 --- a/packages/wonder-blocks-form/package.json +++ b/packages/wonder-blocks-form/package.json @@ -1,6 +1,6 @@ { "name": "@khanacademy/wonder-blocks-form", - "version": "4.3.13", + "version": "4.3.14", "design": "v1", "description": "Form components for Wonder Blocks.", "main": "dist/index.js", @@ -16,13 +16,13 @@ }, "dependencies": { "@babel/runtime": "^7.18.6", - "@khanacademy/wonder-blocks-clickable": "^4.0.8", + "@khanacademy/wonder-blocks-clickable": "^4.0.9", "@khanacademy/wonder-blocks-color": "^3.0.0", - "@khanacademy/wonder-blocks-core": "^6.2.0", - "@khanacademy/wonder-blocks-icon": "^2.2.0", - "@khanacademy/wonder-blocks-layout": "^2.0.23", + "@khanacademy/wonder-blocks-core": "^6.3.0", + "@khanacademy/wonder-blocks-icon": "^2.2.1", + "@khanacademy/wonder-blocks-layout": "^2.0.24", "@khanacademy/wonder-blocks-spacing": "^4.0.1", - "@khanacademy/wonder-blocks-typography": "^2.1.8" + "@khanacademy/wonder-blocks-typography": "^2.1.9" }, "peerDependencies": { "aphrodite": "^1.2.5", diff --git a/packages/wonder-blocks-grid/CHANGELOG.md b/packages/wonder-blocks-grid/CHANGELOG.md index 4c5425af3..0d658e864 100644 --- a/packages/wonder-blocks-grid/CHANGELOG.md +++ b/packages/wonder-blocks-grid/CHANGELOG.md @@ -1,5 +1,13 @@ # @khanacademy/wonder-blocks-grid +## 2.0.25 + +### Patch Changes + +- Updated dependencies [7055ca94] + - @khanacademy/wonder-blocks-core@6.3.0 + - @khanacademy/wonder-blocks-layout@2.0.24 + ## 2.0.24 ### Patch Changes diff --git a/packages/wonder-blocks-grid/package.json b/packages/wonder-blocks-grid/package.json index 5907e3081..734b94cc7 100644 --- a/packages/wonder-blocks-grid/package.json +++ b/packages/wonder-blocks-grid/package.json @@ -1,6 +1,6 @@ { "name": "@khanacademy/wonder-blocks-grid", - "version": "2.0.24", + "version": "2.0.25", "design": "v1", "publishConfig": { "access": "public" @@ -17,8 +17,8 @@ "dependencies": { "@babel/runtime": "^7.18.6", "@khanacademy/wonder-blocks-color": "^3.0.0", - "@khanacademy/wonder-blocks-core": "^6.2.0", - "@khanacademy/wonder-blocks-layout": "^2.0.23", + "@khanacademy/wonder-blocks-core": "^6.3.0", + "@khanacademy/wonder-blocks-layout": "^2.0.24", "@khanacademy/wonder-blocks-spacing": "^4.0.1" }, "peerDependencies": { diff --git a/packages/wonder-blocks-icon-button/CHANGELOG.md b/packages/wonder-blocks-icon-button/CHANGELOG.md index 283653996..22b10b29a 100644 --- a/packages/wonder-blocks-icon-button/CHANGELOG.md +++ b/packages/wonder-blocks-icon-button/CHANGELOG.md @@ -1,5 +1,14 @@ # @khanacademy/wonder-blocks-icon-button +## 5.0.1 + +### Patch Changes + +- Updated dependencies [7055ca94] + - @khanacademy/wonder-blocks-core@6.3.0 + - @khanacademy/wonder-blocks-clickable@4.0.9 + - @khanacademy/wonder-blocks-icon@2.2.1 + ## 5.0.0 ### Major Changes diff --git a/packages/wonder-blocks-icon-button/package.json b/packages/wonder-blocks-icon-button/package.json index 91b98075f..4da6e9c8d 100644 --- a/packages/wonder-blocks-icon-button/package.json +++ b/packages/wonder-blocks-icon-button/package.json @@ -1,6 +1,6 @@ { "name": "@khanacademy/wonder-blocks-icon-button", - "version": "5.0.0", + "version": "5.0.1", "design": "v1", "publishConfig": { "access": "public" @@ -16,10 +16,10 @@ "license": "MIT", "dependencies": { "@babel/runtime": "^7.18.6", - "@khanacademy/wonder-blocks-clickable": "^4.0.8", + "@khanacademy/wonder-blocks-clickable": "^4.0.9", "@khanacademy/wonder-blocks-color": "^3.0.0", - "@khanacademy/wonder-blocks-core": "^6.2.0", - "@khanacademy/wonder-blocks-icon": "^2.2.0" + "@khanacademy/wonder-blocks-core": "^6.3.0", + "@khanacademy/wonder-blocks-icon": "^2.2.1" }, "peerDependencies": { "aphrodite": "^1.2.5", diff --git a/packages/wonder-blocks-icon/CHANGELOG.md b/packages/wonder-blocks-icon/CHANGELOG.md index 710cd30c6..26d4771fd 100644 --- a/packages/wonder-blocks-icon/CHANGELOG.md +++ b/packages/wonder-blocks-icon/CHANGELOG.md @@ -1,5 +1,12 @@ # @khanacademy/wonder-blocks-icon +## 2.2.1 + +### Patch Changes + +- Updated dependencies [7055ca94] + - @khanacademy/wonder-blocks-core@6.3.0 + ## 2.2.0 ### Minor Changes diff --git a/packages/wonder-blocks-icon/package.json b/packages/wonder-blocks-icon/package.json index 07a6847eb..1880e0be5 100644 --- a/packages/wonder-blocks-icon/package.json +++ b/packages/wonder-blocks-icon/package.json @@ -1,6 +1,6 @@ { "name": "@khanacademy/wonder-blocks-icon", - "version": "2.2.0", + "version": "2.2.1", "design": "v1", "publishConfig": { "access": "public" @@ -16,7 +16,7 @@ "license": "MIT", "dependencies": { "@babel/runtime": "^7.18.6", - "@khanacademy/wonder-blocks-core": "^6.2.0" + "@khanacademy/wonder-blocks-core": "^6.3.0" }, "devDependencies": { "@khanacademy/wonder-stuff-core": "^1.4.2", diff --git a/packages/wonder-blocks-labeled-field/CHANGELOG.md b/packages/wonder-blocks-labeled-field/CHANGELOG.md index ee3327957..8b7db807d 100644 --- a/packages/wonder-blocks-labeled-field/CHANGELOG.md +++ b/packages/wonder-blocks-labeled-field/CHANGELOG.md @@ -1,5 +1,14 @@ # @khanacademy/wonder-blocks-labeled-field +## 0.1.5 + +### Patch Changes + +- Updated dependencies [7055ca94] + - @khanacademy/wonder-blocks-core@6.3.0 + - @khanacademy/wonder-blocks-layout@2.0.24 + - @khanacademy/wonder-blocks-typography@2.1.9 + ## 0.1.4 ### Patch Changes diff --git a/packages/wonder-blocks-labeled-field/package.json b/packages/wonder-blocks-labeled-field/package.json index 82c4f74a5..f4d36239c 100644 --- a/packages/wonder-blocks-labeled-field/package.json +++ b/packages/wonder-blocks-labeled-field/package.json @@ -1,6 +1,6 @@ { "name": "@khanacademy/wonder-blocks-labeled-field", - "version": "0.1.4", + "version": "0.1.5", "design": "v1", "description": "LabeledField handles accessibility and layout for associating labels with form components.", "main": "dist/index.js", @@ -18,10 +18,10 @@ "dependencies": { "@babel/runtime": "^7.18.6", "@khanacademy/wonder-blocks-color": "^3.0.0", - "@khanacademy/wonder-blocks-core": "^6.2.0", - "@khanacademy/wonder-blocks-layout": "^2.0.23", + "@khanacademy/wonder-blocks-core": "^6.3.0", + "@khanacademy/wonder-blocks-layout": "^2.0.24", "@khanacademy/wonder-blocks-spacing": "^4.0.1", - "@khanacademy/wonder-blocks-typography": "^2.1.8" + "@khanacademy/wonder-blocks-typography": "^2.1.9" }, "peerDependencies": { "aphrodite": "^1.2.5", diff --git a/packages/wonder-blocks-layout/CHANGELOG.md b/packages/wonder-blocks-layout/CHANGELOG.md index 44f49efcc..372a4dd80 100644 --- a/packages/wonder-blocks-layout/CHANGELOG.md +++ b/packages/wonder-blocks-layout/CHANGELOG.md @@ -1,5 +1,12 @@ # @khanacademy/wonder-blocks-layout +## 2.0.24 + +### Patch Changes + +- Updated dependencies [7055ca94] + - @khanacademy/wonder-blocks-core@6.3.0 + ## 2.0.23 ### Patch Changes diff --git a/packages/wonder-blocks-layout/package.json b/packages/wonder-blocks-layout/package.json index d6bd893ac..aae1264b6 100644 --- a/packages/wonder-blocks-layout/package.json +++ b/packages/wonder-blocks-layout/package.json @@ -1,6 +1,6 @@ { "name": "@khanacademy/wonder-blocks-layout", - "version": "2.0.23", + "version": "2.0.24", "design": "v1", "publishConfig": { "access": "public" @@ -14,7 +14,7 @@ }, "dependencies": { "@babel/runtime": "^7.18.6", - "@khanacademy/wonder-blocks-core": "^6.2.0", + "@khanacademy/wonder-blocks-core": "^6.3.0", "@khanacademy/wonder-blocks-spacing": "^4.0.1" }, "devDependencies": { diff --git a/packages/wonder-blocks-link/CHANGELOG.md b/packages/wonder-blocks-link/CHANGELOG.md index 20a90293b..4a0d3d19d 100644 --- a/packages/wonder-blocks-link/CHANGELOG.md +++ b/packages/wonder-blocks-link/CHANGELOG.md @@ -1,5 +1,14 @@ # @khanacademy/wonder-blocks-link +## 5.0.10 + +### Patch Changes + +- Updated dependencies [7055ca94] + - @khanacademy/wonder-blocks-core@6.3.0 + - @khanacademy/wonder-blocks-clickable@4.0.9 + - @khanacademy/wonder-blocks-icon@2.2.1 + ## 5.0.9 ### Patch Changes diff --git a/packages/wonder-blocks-link/package.json b/packages/wonder-blocks-link/package.json index bdf03583f..93fce5424 100644 --- a/packages/wonder-blocks-link/package.json +++ b/packages/wonder-blocks-link/package.json @@ -1,6 +1,6 @@ { "name": "@khanacademy/wonder-blocks-link", - "version": "5.0.9", + "version": "5.0.10", "design": "v1", "publishConfig": { "access": "public" @@ -16,10 +16,10 @@ "license": "MIT", "dependencies": { "@babel/runtime": "^7.18.6", - "@khanacademy/wonder-blocks-clickable": "^4.0.8", + "@khanacademy/wonder-blocks-clickable": "^4.0.9", "@khanacademy/wonder-blocks-color": "^3.0.0", - "@khanacademy/wonder-blocks-core": "^6.2.0", - "@khanacademy/wonder-blocks-icon": "^2.2.0", + "@khanacademy/wonder-blocks-core": "^6.3.0", + "@khanacademy/wonder-blocks-icon": "^2.2.1", "@khanacademy/wonder-blocks-spacing": "^4.0.1" }, "peerDependencies": { diff --git a/packages/wonder-blocks-modal/CHANGELOG.md b/packages/wonder-blocks-modal/CHANGELOG.md index b0d6412f0..43b923ca0 100644 --- a/packages/wonder-blocks-modal/CHANGELOG.md +++ b/packages/wonder-blocks-modal/CHANGELOG.md @@ -1,5 +1,16 @@ # @khanacademy/wonder-blocks-modal +## 4.0.31 + +### Patch Changes + +- Updated dependencies [7055ca94] + - @khanacademy/wonder-blocks-core@6.3.0 + - @khanacademy/wonder-blocks-breadcrumbs@2.1.9 + - @khanacademy/wonder-blocks-icon-button@5.0.1 + - @khanacademy/wonder-blocks-layout@2.0.24 + - @khanacademy/wonder-blocks-typography@2.1.9 + ## 4.0.30 ### Patch Changes diff --git a/packages/wonder-blocks-modal/package.json b/packages/wonder-blocks-modal/package.json index da0bac5f2..7076bd308 100644 --- a/packages/wonder-blocks-modal/package.json +++ b/packages/wonder-blocks-modal/package.json @@ -1,6 +1,6 @@ { "name": "@khanacademy/wonder-blocks-modal", - "version": "4.0.30", + "version": "4.0.31", "design": "v2", "publishConfig": { "access": "public" @@ -16,14 +16,14 @@ "license": "MIT", "dependencies": { "@babel/runtime": "^7.18.6", - "@khanacademy/wonder-blocks-breadcrumbs": "^2.1.8", + "@khanacademy/wonder-blocks-breadcrumbs": "^2.1.9", "@khanacademy/wonder-blocks-color": "^3.0.0", - "@khanacademy/wonder-blocks-core": "^6.2.0", - "@khanacademy/wonder-blocks-icon-button": "^5.0.0", - "@khanacademy/wonder-blocks-layout": "^2.0.23", + "@khanacademy/wonder-blocks-core": "^6.3.0", + "@khanacademy/wonder-blocks-icon-button": "^5.0.1", + "@khanacademy/wonder-blocks-layout": "^2.0.24", "@khanacademy/wonder-blocks-spacing": "^4.0.1", "@khanacademy/wonder-blocks-timing": "^4.0.2", - "@khanacademy/wonder-blocks-typography": "^2.1.8" + "@khanacademy/wonder-blocks-typography": "^2.1.9" }, "peerDependencies": { "@phosphor-icons/core": "^2.0.2", @@ -32,7 +32,7 @@ "react-dom": "16.14.0" }, "devDependencies": { - "@khanacademy/wonder-blocks-breadcrumbs": "^2.1.8", + "@khanacademy/wonder-blocks-breadcrumbs": "^2.1.9", "@khanacademy/wb-dev-build-settings": "^1.0.0" } } \ No newline at end of file diff --git a/packages/wonder-blocks-pill/CHANGELOG.md b/packages/wonder-blocks-pill/CHANGELOG.md index 1743de4cb..f5245a0ec 100644 --- a/packages/wonder-blocks-pill/CHANGELOG.md +++ b/packages/wonder-blocks-pill/CHANGELOG.md @@ -1,5 +1,15 @@ # @khanacademy/wonder-blocks-pill +## 1.0.9 + +### Patch Changes + +- Updated dependencies [7055ca94] + - @khanacademy/wonder-blocks-core@6.3.0 + - @khanacademy/wonder-blocks-clickable@4.0.9 + - @khanacademy/wonder-blocks-link@5.0.10 + - @khanacademy/wonder-blocks-typography@2.1.9 + ## 1.0.8 ### Patch Changes diff --git a/packages/wonder-blocks-pill/package.json b/packages/wonder-blocks-pill/package.json index 5bde3abaa..a2e23fdc6 100644 --- a/packages/wonder-blocks-pill/package.json +++ b/packages/wonder-blocks-pill/package.json @@ -1,6 +1,6 @@ { "name": "@khanacademy/wonder-blocks-pill", - "version": "1.0.8", + "version": "1.0.9", "design": "v1", "description": "Pill components for Wonder Blocks.", "main": "dist/index.js", @@ -16,12 +16,12 @@ "access": "public" }, "dependencies": { - "@khanacademy/wonder-blocks-clickable": "^4.0.8", + "@khanacademy/wonder-blocks-clickable": "^4.0.9", "@khanacademy/wonder-blocks-color": "^3.0.0", - "@khanacademy/wonder-blocks-core": "^6.2.0", - "@khanacademy/wonder-blocks-link": "^5.0.9", + "@khanacademy/wonder-blocks-core": "^6.3.0", + "@khanacademy/wonder-blocks-link": "^5.0.10", "@khanacademy/wonder-blocks-spacing": "^4.0.1", - "@khanacademy/wonder-blocks-typography": "^2.1.8" + "@khanacademy/wonder-blocks-typography": "^2.1.9" }, "peerDependencies": { "aphrodite": "^1.2.5", diff --git a/packages/wonder-blocks-popover/CHANGELOG.md b/packages/wonder-blocks-popover/CHANGELOG.md index a159d22d5..985037f94 100644 --- a/packages/wonder-blocks-popover/CHANGELOG.md +++ b/packages/wonder-blocks-popover/CHANGELOG.md @@ -1,5 +1,16 @@ # @khanacademy/wonder-blocks-popover +## 3.0.12 + +### Patch Changes + +- Updated dependencies [7055ca94] + - @khanacademy/wonder-blocks-core@6.3.0 + - @khanacademy/wonder-blocks-icon-button@5.0.1 + - @khanacademy/wonder-blocks-modal@4.0.31 + - @khanacademy/wonder-blocks-tooltip@2.1.14 + - @khanacademy/wonder-blocks-typography@2.1.9 + ## 3.0.11 ### Patch Changes diff --git a/packages/wonder-blocks-popover/package.json b/packages/wonder-blocks-popover/package.json index 6c9c56fb5..70f8b028f 100644 --- a/packages/wonder-blocks-popover/package.json +++ b/packages/wonder-blocks-popover/package.json @@ -1,6 +1,6 @@ { "name": "@khanacademy/wonder-blocks-popover", - "version": "3.0.11", + "version": "3.0.12", "design": "v1", "publishConfig": { "access": "public" @@ -17,12 +17,12 @@ "dependencies": { "@babel/runtime": "^7.18.6", "@khanacademy/wonder-blocks-color": "^3.0.0", - "@khanacademy/wonder-blocks-core": "^6.2.0", - "@khanacademy/wonder-blocks-icon-button": "^5.0.0", - "@khanacademy/wonder-blocks-modal": "^4.0.30", + "@khanacademy/wonder-blocks-core": "^6.3.0", + "@khanacademy/wonder-blocks-icon-button": "^5.0.1", + "@khanacademy/wonder-blocks-modal": "^4.0.31", "@khanacademy/wonder-blocks-spacing": "^4.0.1", - "@khanacademy/wonder-blocks-tooltip": "^2.1.13", - "@khanacademy/wonder-blocks-typography": "^2.1.8" + "@khanacademy/wonder-blocks-tooltip": "^2.1.14", + "@khanacademy/wonder-blocks-typography": "^2.1.9" }, "peerDependencies": { "@phosphor-icons/core": "^2.0.2", diff --git a/packages/wonder-blocks-progress-spinner/CHANGELOG.md b/packages/wonder-blocks-progress-spinner/CHANGELOG.md index 6542e6e35..4a83d3c0c 100644 --- a/packages/wonder-blocks-progress-spinner/CHANGELOG.md +++ b/packages/wonder-blocks-progress-spinner/CHANGELOG.md @@ -1,5 +1,12 @@ # @khanacademy/wonder-blocks-progress-spinner +## 2.0.24 + +### Patch Changes + +- Updated dependencies [7055ca94] + - @khanacademy/wonder-blocks-core@6.3.0 + ## 2.0.23 ### Patch Changes diff --git a/packages/wonder-blocks-progress-spinner/package.json b/packages/wonder-blocks-progress-spinner/package.json index bf1a75cc8..bc1319b6a 100644 --- a/packages/wonder-blocks-progress-spinner/package.json +++ b/packages/wonder-blocks-progress-spinner/package.json @@ -1,6 +1,6 @@ { "name": "@khanacademy/wonder-blocks-progress-spinner", - "version": "2.0.23", + "version": "2.0.24", "design": "v1", "publishConfig": { "access": "public" @@ -17,7 +17,7 @@ "dependencies": { "@babel/runtime": "^7.18.6", "@khanacademy/wonder-blocks-color": "^3.0.0", - "@khanacademy/wonder-blocks-core": "^6.2.0" + "@khanacademy/wonder-blocks-core": "^6.3.0" }, "peerDependencies": { "aphrodite": "^1.2.5", diff --git a/packages/wonder-blocks-search-field/CHANGELOG.md b/packages/wonder-blocks-search-field/CHANGELOG.md index e19250f2b..59028f9b3 100644 --- a/packages/wonder-blocks-search-field/CHANGELOG.md +++ b/packages/wonder-blocks-search-field/CHANGELOG.md @@ -1,5 +1,16 @@ # @khanacademy/wonder-blocks-search-field +## 2.1.18 + +### Patch Changes + +- Updated dependencies [7055ca94] + - @khanacademy/wonder-blocks-core@6.3.0 + - @khanacademy/wonder-blocks-form@4.3.14 + - @khanacademy/wonder-blocks-icon@2.2.1 + - @khanacademy/wonder-blocks-icon-button@5.0.1 + - @khanacademy/wonder-blocks-typography@2.1.9 + ## 2.1.17 ### Patch Changes diff --git a/packages/wonder-blocks-search-field/package.json b/packages/wonder-blocks-search-field/package.json index c54092887..3b5e7114c 100644 --- a/packages/wonder-blocks-search-field/package.json +++ b/packages/wonder-blocks-search-field/package.json @@ -1,6 +1,6 @@ { "name": "@khanacademy/wonder-blocks-search-field", - "version": "2.1.17", + "version": "2.1.18", "design": "v1", "description": "Search Field components for Wonder Blocks.", "main": "dist/index.js", @@ -17,12 +17,12 @@ "dependencies": { "@babel/runtime": "^7.18.6", "@khanacademy/wonder-blocks-color": "^3.0.0", - "@khanacademy/wonder-blocks-core": "^6.2.0", - "@khanacademy/wonder-blocks-form": "^4.3.13", - "@khanacademy/wonder-blocks-icon": "^2.2.0", - "@khanacademy/wonder-blocks-icon-button": "^5.0.0", + "@khanacademy/wonder-blocks-core": "^6.3.0", + "@khanacademy/wonder-blocks-form": "^4.3.14", + "@khanacademy/wonder-blocks-icon": "^2.2.1", + "@khanacademy/wonder-blocks-icon-button": "^5.0.1", "@khanacademy/wonder-blocks-spacing": "^4.0.1", - "@khanacademy/wonder-blocks-typography": "^2.1.8" + "@khanacademy/wonder-blocks-typography": "^2.1.9" }, "peerDependencies": { "@phosphor-icons/core": "^2.0.2", diff --git a/packages/wonder-blocks-switch/CHANGELOG.md b/packages/wonder-blocks-switch/CHANGELOG.md index 4a0fec4bf..d428b8b04 100644 --- a/packages/wonder-blocks-switch/CHANGELOG.md +++ b/packages/wonder-blocks-switch/CHANGELOG.md @@ -1,5 +1,14 @@ # @khanacademy/wonder-blocks-switch +## 1.1.4 + +### Patch Changes + +- 45a30427: Add PhosphorIcon support to `Switch` +- Updated dependencies [7055ca94] + - @khanacademy/wonder-blocks-core@6.3.0 + - @khanacademy/wonder-blocks-icon@2.2.1 + ## 1.1.3 ### Patch Changes diff --git a/packages/wonder-blocks-switch/package.json b/packages/wonder-blocks-switch/package.json index 10196ef83..a01f691ff 100644 --- a/packages/wonder-blocks-switch/package.json +++ b/packages/wonder-blocks-switch/package.json @@ -1,6 +1,6 @@ { "name": "@khanacademy/wonder-blocks-switch", - "version": "1.1.3", + "version": "1.1.4", "design": "v1", "description": "Switch components for Wonder Blocks.", "main": "dist/index.js", @@ -16,8 +16,8 @@ }, "dependencies": { "@babel/runtime": "^7.18.6", - "@khanacademy/wonder-blocks-core": "^6.2.0", - "@khanacademy/wonder-blocks-icon": "^2.2.0", + "@khanacademy/wonder-blocks-core": "^6.3.0", + "@khanacademy/wonder-blocks-icon": "^2.2.1", "@khanacademy/wonder-blocks-theming": "^1.1.1" }, "peerDependencies": { diff --git a/packages/wonder-blocks-testing/CHANGELOG.md b/packages/wonder-blocks-testing/CHANGELOG.md index a9b69d4f0..1ffd81589 100644 --- a/packages/wonder-blocks-testing/CHANGELOG.md +++ b/packages/wonder-blocks-testing/CHANGELOG.md @@ -1,5 +1,13 @@ # @khanacademy/wonder-blocks-testing +## 9.3.5 + +### Patch Changes + +- Updated dependencies [7055ca94] + - @khanacademy/wonder-blocks-core@6.3.0 + - @khanacademy/wonder-blocks-data@13.0.5 + ## 9.3.4 ### Patch Changes diff --git a/packages/wonder-blocks-testing/package.json b/packages/wonder-blocks-testing/package.json index fdc2d7827..eceb2e001 100644 --- a/packages/wonder-blocks-testing/package.json +++ b/packages/wonder-blocks-testing/package.json @@ -1,6 +1,6 @@ { "name": "@khanacademy/wonder-blocks-testing", - "version": "9.3.4", + "version": "9.3.5", "design": "v1", "publishConfig": { "access": "public" @@ -14,8 +14,8 @@ }, "dependencies": { "@babel/runtime": "^7.18.6", - "@khanacademy/wonder-blocks-core": "^6.2.0", - "@khanacademy/wonder-blocks-data": "^13.0.4" + "@khanacademy/wonder-blocks-core": "^6.3.0", + "@khanacademy/wonder-blocks-data": "^13.0.5" }, "peerDependencies": { "@khanacademy/wonder-stuff-core": "^1.2.2", diff --git a/packages/wonder-blocks-toolbar/CHANGELOG.md b/packages/wonder-blocks-toolbar/CHANGELOG.md index 43f06e10f..249ce1da3 100644 --- a/packages/wonder-blocks-toolbar/CHANGELOG.md +++ b/packages/wonder-blocks-toolbar/CHANGELOG.md @@ -1,5 +1,13 @@ # @khanacademy/wonder-blocks-toolbar +## 3.0.24 + +### Patch Changes + +- Updated dependencies [7055ca94] + - @khanacademy/wonder-blocks-core@6.3.0 + - @khanacademy/wonder-blocks-typography@2.1.9 + ## 3.0.23 ### Patch Changes diff --git a/packages/wonder-blocks-toolbar/package.json b/packages/wonder-blocks-toolbar/package.json index 8863093fb..896f641cc 100644 --- a/packages/wonder-blocks-toolbar/package.json +++ b/packages/wonder-blocks-toolbar/package.json @@ -1,6 +1,6 @@ { "name": "@khanacademy/wonder-blocks-toolbar", - "version": "3.0.23", + "version": "3.0.24", "design": "v1", "publishConfig": { "access": "public" @@ -17,9 +17,9 @@ "dependencies": { "@babel/runtime": "^7.18.6", "@khanacademy/wonder-blocks-color": "^3.0.0", - "@khanacademy/wonder-blocks-core": "^6.2.0", + "@khanacademy/wonder-blocks-core": "^6.3.0", "@khanacademy/wonder-blocks-spacing": "^4.0.1", - "@khanacademy/wonder-blocks-typography": "^2.1.8" + "@khanacademy/wonder-blocks-typography": "^2.1.9" }, "peerDependencies": { "aphrodite": "^1.2.5", diff --git a/packages/wonder-blocks-tooltip/CHANGELOG.md b/packages/wonder-blocks-tooltip/CHANGELOG.md index fc0450bc7..d3a36b5e9 100644 --- a/packages/wonder-blocks-tooltip/CHANGELOG.md +++ b/packages/wonder-blocks-tooltip/CHANGELOG.md @@ -1,5 +1,15 @@ # @khanacademy/wonder-blocks-tooltip +## 2.1.14 + +### Patch Changes + +- Updated dependencies [7055ca94] + - @khanacademy/wonder-blocks-core@6.3.0 + - @khanacademy/wonder-blocks-layout@2.0.24 + - @khanacademy/wonder-blocks-modal@4.0.31 + - @khanacademy/wonder-blocks-typography@2.1.9 + ## 2.1.13 ### Patch Changes diff --git a/packages/wonder-blocks-tooltip/package.json b/packages/wonder-blocks-tooltip/package.json index df9d92dba..923bf4f66 100644 --- a/packages/wonder-blocks-tooltip/package.json +++ b/packages/wonder-blocks-tooltip/package.json @@ -1,6 +1,6 @@ { "name": "@khanacademy/wonder-blocks-tooltip", - "version": "2.1.13", + "version": "2.1.14", "design": "v1", "publishConfig": { "access": "public" @@ -17,11 +17,11 @@ "dependencies": { "@babel/runtime": "^7.18.6", "@khanacademy/wonder-blocks-color": "^3.0.0", - "@khanacademy/wonder-blocks-core": "^6.2.0", - "@khanacademy/wonder-blocks-layout": "^2.0.23", - "@khanacademy/wonder-blocks-modal": "^4.0.30", + "@khanacademy/wonder-blocks-core": "^6.3.0", + "@khanacademy/wonder-blocks-layout": "^2.0.24", + "@khanacademy/wonder-blocks-modal": "^4.0.31", "@khanacademy/wonder-blocks-spacing": "^4.0.1", - "@khanacademy/wonder-blocks-typography": "^2.1.8" + "@khanacademy/wonder-blocks-typography": "^2.1.9" }, "peerDependencies": { "@popperjs/core": "^2.10.1", diff --git a/packages/wonder-blocks-typography/CHANGELOG.md b/packages/wonder-blocks-typography/CHANGELOG.md index 9989208ae..ded93b716 100644 --- a/packages/wonder-blocks-typography/CHANGELOG.md +++ b/packages/wonder-blocks-typography/CHANGELOG.md @@ -1,5 +1,12 @@ # @khanacademy/wonder-blocks-typography +## 2.1.9 + +### Patch Changes + +- Updated dependencies [7055ca94] + - @khanacademy/wonder-blocks-core@6.3.0 + ## 2.1.8 ### Patch Changes diff --git a/packages/wonder-blocks-typography/package.json b/packages/wonder-blocks-typography/package.json index 4e73c77f4..486da91de 100644 --- a/packages/wonder-blocks-typography/package.json +++ b/packages/wonder-blocks-typography/package.json @@ -1,6 +1,6 @@ { "name": "@khanacademy/wonder-blocks-typography", - "version": "2.1.8", + "version": "2.1.9", "design": "v2", "publishConfig": { "access": "public" @@ -16,7 +16,7 @@ "license": "MIT", "dependencies": { "@babel/runtime": "^7.18.6", - "@khanacademy/wonder-blocks-core": "^6.2.0" + "@khanacademy/wonder-blocks-core": "^6.3.0" }, "peerDependencies": { "aphrodite": "^1.2.5", From ae97aeb631f59d088dc798ed8d79465bac213072 Mon Sep 17 00:00:00 2001 From: Juan Andrade Date: Fri, 27 Oct 2023 12:31:36 -0400 Subject: [PATCH 7/8] WB-1587.1: Add theming support to IconButton component (#2087) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ## Summary: This PR adds theming support to the IconButton component. It also adds a new theme file for the default theme. Also updated the `disabled + light` state to match how we handle disabled states across WB button components. The next PR will add a new Khanmigo theme to the IconButton component. Issue: WB-1587 ## Test plan: Verify in Storybook that the IconButton component looks as expected. https://github.com/Khan/wonder-blocks/pull/2087#issuecomment-1764927773 Author: jandrade Reviewers: jandrade, jeresig, nishasy Required Reviewers: Approved By: jeresig, nishasy Checks: ✅ codecov/project, ✅ Chromatic - Get results on regular PRs (ubuntu-latest, 16.x), ✅ Lint (ubuntu-latest, 16.x), ✅ Check build sizes (ubuntu-latest, 16.x), ✅ Test (ubuntu-latest, 16.x, 2/2), ✅ Test (ubuntu-latest, 16.x, 1/2), ✅ Chromatic - Build on regular PRs / chromatic (ubuntu-latest, 16.x), ✅ Publish npm snapshot (ubuntu-latest, 16.x), ⏭ Chromatic - Skip on Release PR (changesets), ✅ Check for .changeset entries for all changed files (ubuntu-latest, 16.x), ✅ Prime node_modules cache for primary configuration (ubuntu-latest, 16.x), ✅ gerald, ⏭ dependabot Pull Request URL: https://github.com/Khan/wonder-blocks/pull/2087 --- .changeset/cold-badgers-clap.md | 5 ++ .../icon-button.stories.tsx | 62 +++++++++++++-- .../wonder-blocks-icon-button/package.json | 3 +- .../custom-snapshot.test.tsx.snap | 12 +-- .../src/components/icon-button-core.tsx | 75 +++++++++++-------- .../src/components/icon-button.tsx | 9 ++- .../src/themes/default.ts | 60 +++++++++++++++ .../src/themes/themed-icon-button.tsx | 41 ++++++++++ .../tsconfig-build.json | 2 +- 9 files changed, 223 insertions(+), 46 deletions(-) create mode 100644 .changeset/cold-badgers-clap.md create mode 100644 packages/wonder-blocks-icon-button/src/themes/default.ts create mode 100644 packages/wonder-blocks-icon-button/src/themes/themed-icon-button.tsx diff --git a/.changeset/cold-badgers-clap.md b/.changeset/cold-badgers-clap.md new file mode 100644 index 000000000..e7373c1c7 --- /dev/null +++ b/.changeset/cold-badgers-clap.md @@ -0,0 +1,5 @@ +--- +"@khanacademy/wonder-blocks-icon-button": minor +--- + +Add theming support to the IconButton component diff --git a/__docs__/wonder-blocks-icon-button/icon-button.stories.tsx b/__docs__/wonder-blocks-icon-button/icon-button.stories.tsx index 77b3d2885..ab58520b2 100644 --- a/__docs__/wonder-blocks-icon-button/icon-button.stories.tsx +++ b/__docs__/wonder-blocks-icon-button/icon-button.stories.tsx @@ -9,6 +9,7 @@ import caretRight from "@phosphor-icons/core/regular/caret-right.svg"; import info from "@phosphor-icons/core/regular/info.svg"; import magnifyingGlass from "@phosphor-icons/core/regular/magnifying-glass.svg"; import magnifyingGlassBold from "@phosphor-icons/core/bold/magnifying-glass-bold.svg"; +import minusCircle from "@phosphor-icons/core/regular/minus-circle.svg"; import Color from "@khanacademy/wonder-blocks-color"; import {View} from "@khanacademy/wonder-blocks-core"; @@ -131,7 +132,7 @@ export const Sizes: StoryComponentType = { }; /** - * In this example, we have primary, secondary, tertiary, + * In this example, we have `primary`, `secondary`, `tertiary`, * and disabled `IconButton`s from left to right. */ export const Variants: StoryComponentType = { @@ -167,14 +168,57 @@ export const Variants: StoryComponentType = { }; /** - * An IconButton on a dark background. - * Only the primary kind is allowed to have the `light` prop set to true. + * IconButton has a `color` that is either `default` (the default, as shown + * above) or `destructive` (as can seen below): + */ +export const WithColor: StoryComponentType = { + name: "Color", + render: () => ( + + {}} + color="destructive" + /> + {}} + kind="secondary" + color="destructive" + /> + {}} + kind="tertiary" + color="destructive" + /> + console.log("Click!")} + color="destructive" + /> + + ), +}; + +/** + * An `IconButton` on a dark background. Only the primary kind is allowed to have + * the `light` prop set to true. */ export const Light: StoryComponentType = { render: () => { return ( - + + console.log("Click!")} + /> { return ( - + + console.log("Click!")} + /> { - const buttonColor = - color === "destructive" - ? SemanticColor.controlDestructive - : SemanticColor.controlDefault; + const {theme, themeName} = useScopedTheme(IconButtonThemeContext); - const buttonStyles = _generateStyles(buttonColor, kind, light, size); + const renderInner = (router: any): React.ReactNode => { + const buttonStyles = _generateStyles( + color, + kind, + light, + size, + theme, + themeName, + ); const defaultStyle = [ sharedStyles.shared, @@ -190,12 +194,19 @@ const sharedStyles = StyleSheet.create({ const styles: Record = {}; const _generateStyles = ( - color: string, + buttonColor = "default", kind: "primary" | "secondary" | "tertiary", light: boolean, size: IconButtonSize, + theme: IconButtonThemeContract, + themeName: string, ) => { - const buttonType = `${color}-${kind}-${light}-${size}`; + const color: string = + buttonColor === "destructive" + ? theme.color.text.critical.default + : theme.color.text.action.default; + + const buttonType = `${color}-${kind}-${light}-${size}-${themeName}`; if (styles[buttonType]) { return styles[buttonType]; } @@ -204,21 +215,29 @@ const _generateStyles = ( throw new Error("Light is only supported for primary IconButtons"); } - const {white, offBlack32, offBlack64, offBlack} = Color; const defaultColor = ((): string => { switch (kind) { case "primary": - return light ? white : color; + return light ? theme.color.text.primary.inverse : color; case "secondary": - return offBlack; + return theme.color.text.secondary.default; case "tertiary": - return offBlack64; + return theme.color.text.tertiary.default; default: throw new Error("IconButton kind not recognized"); } })(); const pixelsForSize = targetPixelsForSize(size); + const inverseColor = + buttonColor === "destructive" + ? theme.color.text.critical.inverse + : theme.color.text.action.inverse; + const activeColor = + buttonColor === "destructive" + ? theme.color.text.critical.active + : theme.color.text.action.active; + const newStyles = { default: { height: pixelsForSize, @@ -226,25 +245,21 @@ const _generateStyles = ( color: defaultColor, }, focus: { - color: light ? white : color, - borderWidth: 2, - borderColor: light ? white : color, + color: light ? theme.color.text.focusInverse : color, + borderWidth: theme.border.width.focused, + borderColor: light ? theme.color.border.focusInverse : color, borderStyle: "solid", - borderRadius: 4, + borderRadius: theme.border.radius.focused, }, active: { - color: light - ? mix(fade(color, 0.32), white) - : mix(offBlack32, color), - borderWidth: 2, - borderColor: light - ? mix(fade(color, 0.32), white) - : mix(offBlack32, color), + color: light ? inverseColor : activeColor, + borderWidth: theme.border.width.active, + borderColor: light ? inverseColor : activeColor, borderStyle: "solid", - borderRadius: 4, + borderRadius: theme.border.radius.active, }, disabled: { - color: light ? mix(fade(white, 0.32), color) : offBlack32, + color: light ? inverseColor : theme.color.text.disabled, cursor: "default", }, } as const; diff --git a/packages/wonder-blocks-icon-button/src/components/icon-button.tsx b/packages/wonder-blocks-icon-button/src/components/icon-button.tsx index 7c7f61a3b..8782f4bb5 100644 --- a/packages/wonder-blocks-icon-button/src/components/icon-button.tsx +++ b/packages/wonder-blocks-icon-button/src/components/icon-button.tsx @@ -6,6 +6,7 @@ import type {PhosphorIconAsset} from "@khanacademy/wonder-blocks-icon"; import type {AriaProps, StyleType} from "@khanacademy/wonder-blocks-core"; import {Link} from "react-router-dom"; import IconButtonCore from "./icon-button-core"; +import ThemedIconButton from "../themes/themed-icon-button"; export type IconButtonSize = "xsmall" | "small" | "medium"; @@ -218,8 +219,10 @@ export const IconButton: React.ForwardRefExoticComponent< }; return ( - <__RouterContext.Consumer> - {(router) => renderClickableBehavior(router)} - + + <__RouterContext.Consumer> + {(router) => renderClickableBehavior(router)} + + ); }); diff --git a/packages/wonder-blocks-icon-button/src/themes/default.ts b/packages/wonder-blocks-icon-button/src/themes/default.ts new file mode 100644 index 000000000..101a7d433 --- /dev/null +++ b/packages/wonder-blocks-icon-button/src/themes/default.ts @@ -0,0 +1,60 @@ +import {tokens} from "@khanacademy/wonder-blocks-theming"; + +const theme = { + color: { + text: { + /** + * Default + */ + disabled: tokens.color.offBlack32, + focusInverse: tokens.color.white, + + /** + * Color + */ + // color="default" + action: { + default: tokens.color.blue, + active: tokens.color.activeBlue, + inverse: tokens.color.fadedBlue, + }, + // color="destructive" + critical: { + default: tokens.color.red, + active: tokens.color.activeRed, + inverse: tokens.color.fadedRed, + }, + + /** + * Kind + */ + primary: { + inverse: tokens.color.white, + }, + secondary: { + default: tokens.color.offBlack, + }, + tertiary: { + default: tokens.color.offBlack64, + }, + }, + border: { + /** + * Default + */ + focusInverse: tokens.color.white, + }, + }, + border: { + width: { + active: tokens.border.width.thin, + focused: tokens.border.width.thin, + }, + radius: { + active: tokens.border.radius.medium_4, + focused: tokens.border.radius.medium_4, + }, + }, +}; + +export default theme; diff --git a/packages/wonder-blocks-icon-button/src/themes/themed-icon-button.tsx b/packages/wonder-blocks-icon-button/src/themes/themed-icon-button.tsx new file mode 100644 index 000000000..2aaaa5ac6 --- /dev/null +++ b/packages/wonder-blocks-icon-button/src/themes/themed-icon-button.tsx @@ -0,0 +1,41 @@ +import * as React from "react"; +import { + createThemeContext, + ThemeSwitcherContext, +} from "@khanacademy/wonder-blocks-theming"; + +import defaultTheme from "./default"; + +type Props = { + children: React.ReactNode; +}; + +/** + * The themes available to the IconButton component. + */ +const themes = { + default: defaultTheme, +}; + +export type IconButtonThemeContract = typeof defaultTheme; + +/** + * The context that provides the theme to the IconButton component. + * This is generally consumed via the `useScopedTheme` hook. + */ +export const IconButtonThemeContext = createThemeContext(defaultTheme); + +/** + * ThemedIconButton is a component that provides a theme to the + * component. + */ +export default function ThemedIconButton(props: Props) { + const currentTheme = React.useContext(ThemeSwitcherContext); + + const theme = themes[currentTheme as keyof typeof themes] || defaultTheme; + return ( + + {props.children} + + ); +} diff --git a/packages/wonder-blocks-icon-button/tsconfig-build.json b/packages/wonder-blocks-icon-button/tsconfig-build.json index e123ee9e5..7a236d11d 100644 --- a/packages/wonder-blocks-icon-button/tsconfig-build.json +++ b/packages/wonder-blocks-icon-button/tsconfig-build.json @@ -7,9 +7,9 @@ }, "references": [ {"path": "../wonder-blocks-clickable/tsconfig-build.json"}, - {"path": "../wonder-blocks-color/tsconfig-build.json"}, {"path": "../wonder-blocks-core/tsconfig-build.json"}, {"path": "../wonder-blocks-icon/tsconfig-build.json"}, + {"path": "../wonder-blocks-theming/tsconfig-build.json"}, {"path": "../../utils"}, ] } \ No newline at end of file From 22ccc5a9fac6c7cd0ba9dec32b80cdad8902456b Mon Sep 17 00:00:00 2001 From: Juan Andrade Date: Fri, 27 Oct 2023 18:05:21 -0400 Subject: [PATCH 8/8] WB-1587.2: IconButton - Switch to pseudo-classes instead of JS style objects (#2090) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ## Summary: Before we implement the Khanmigo theme, we need to make sure that we can support pseudo-classes in our components. Now that browsers have caught up with better support for buttons/links, we can switch from `ClickableBehavior` to pseudo-classes. This is done to bring the following benefits: - Allow browsers to handle these states via CSS (instead of relying on custom JS logic). - Some minimal performance improvements (but still improvements): no need to re-render the component if these states change b/c CSS now handles that for us. - Allow us to use Chrome DevTools to inspect the different states. - Improved Storybook DX as it allow us to use an add-on to display different states. This PR is responsible for making these changes: - Removed `ClickableBehavior` from `IconButton` and `IconButtonCore`. - Reworked the `IconButton` component to use pseudo-classes instead of JS style objects. - Added the `storybook-addon-pseudo-states` package to be able to display pseudo-classes in Storybook. This will be helpful for taking snapshots in Chromatic. - Removed the existing IconButton snapshots in favor of the new ones that display pseudo-classes (via the pseudo-states addon). - Modified the `secondary` and `tertiary` variants to remove the focus ring on hover. This was a change requested by design. NOTE: The next PR will introduce the khanmigo theme. Issue: WB-1587 ## Test plan: Verify that the `IconButton` component still works as expected. Verify that the new "All variants" stories look correct in all the different states (default, hover, focus, active). Author: jandrade Reviewers: jandrade, nishasy Required Reviewers: Approved By: nishasy Checks: ✅ codecov/project, ✅ Chromatic - Get results on regular PRs (ubuntu-latest, 16.x), ✅ Test (ubuntu-latest, 16.x, 2/2), ✅ Test (ubuntu-latest, 16.x, 1/2), ✅ Lint (ubuntu-latest, 16.x), ✅ Check build sizes (ubuntu-latest, 16.x), ✅ Chromatic - Build on regular PRs / chromatic (ubuntu-latest, 16.x), ⏭ Chromatic - Skip on Release PR (changesets), ✅ Publish npm snapshot (ubuntu-latest, 16.x), ✅ Prime node_modules cache for primary configuration (ubuntu-latest, 16.x), ✅ Check for .changeset entries for all changed files (ubuntu-latest, 16.x), ✅ gerald, ⏭ dependabot Pull Request URL: https://github.com/Khan/wonder-blocks/pull/2090 --- .changeset/new-eyes-hug.md | 5 + .storybook/main.ts | 2 +- .../icon-button-variants.stories.tsx | 130 + .../icon-button.stories.tsx | 49 +- .../__tests__/clickables.test.tsx | 15 +- package.json | 1 + .../wonder-blocks-icon-button/package.json | 1 - .../custom-snapshot.test.tsx.snap | 3612 ++++++++++++++--- .../components/__tests__/icon-button.test.tsx | 33 + .../src/components/icon-button-core.tsx | 188 +- .../src/components/icon-button.tsx | 54 +- .../src/themes/default.ts | 19 +- yarn.lock | 5 + 13 files changed, 3507 insertions(+), 607 deletions(-) create mode 100644 .changeset/new-eyes-hug.md create mode 100644 __docs__/wonder-blocks-icon-button/icon-button-variants.stories.tsx diff --git a/.changeset/new-eyes-hug.md b/.changeset/new-eyes-hug.md new file mode 100644 index 000000000..75d50c75b --- /dev/null +++ b/.changeset/new-eyes-hug.md @@ -0,0 +1,5 @@ +--- +"@khanacademy/wonder-blocks-icon-button": minor +--- + +Switch to pseudo-classes (`:hover, :focus-visible, :active`) diff --git a/.storybook/main.ts b/.storybook/main.ts index ffed25fd3..7f08c7e15 100644 --- a/.storybook/main.ts +++ b/.storybook/main.ts @@ -11,7 +11,7 @@ const config: StorybookConfig = { getAbsolutePath("@storybook/addon-designs"), getAbsolutePath("@storybook/addon-interactions"), getAbsolutePath("@storybook/addon-mdx-gfm"), - getAbsolutePath("@storybook/addon-mdx-gfm"), + getAbsolutePath("storybook-addon-pseudo-states"), ], staticDirs: ["../static"], core: { diff --git a/__docs__/wonder-blocks-icon-button/icon-button-variants.stories.tsx b/__docs__/wonder-blocks-icon-button/icon-button-variants.stories.tsx new file mode 100644 index 000000000..ab2382aea --- /dev/null +++ b/__docs__/wonder-blocks-icon-button/icon-button-variants.stories.tsx @@ -0,0 +1,130 @@ +import * as React from "react"; +import {StyleSheet} from "aphrodite"; +import {action} from "@storybook/addon-actions"; +import type {Meta, StoryObj} from "@storybook/react"; + +import paperPlaneIcon from "@phosphor-icons/core/fill/paper-plane-tilt-fill.svg"; +import {View} from "@khanacademy/wonder-blocks-core"; +import Spacing from "@khanacademy/wonder-blocks-spacing"; +import {tokens} from "@khanacademy/wonder-blocks-theming"; +import {HeadingLarge, LabelMedium} from "@khanacademy/wonder-blocks-typography"; +import IconButton from "@khanacademy/wonder-blocks-icon-button"; + +/** + * The following stories are used to generate the pseudo states for the + * IconButton component. This is only used for visual testing in Chromatic. + */ +export default { + title: "IconButton / All Variants", + parameters: { + docs: { + autodocs: false, + }, + }, +} as Meta; + +type StoryComponentType = StoryObj; + +const KindVariants = ({ + kind, + light, +}: { + kind: "primary" | "secondary" | "tertiary"; + light: boolean; +}) => { + return ( + <> + + + {kind}-default + + + + + + {kind}-destructive + + + + + + {kind}-disabled + + + + + ); +}; + +const AllVariants = () => ( + <> + Default theme + + + + + + + +); + +export const Default: StoryComponentType = { + render: AllVariants, +}; + +export const Hover: StoryComponentType = { + render: AllVariants, + parameters: {pseudo: {hover: true}}, +}; + +export const Focus: StoryComponentType = { + render: AllVariants, + parameters: {pseudo: {focusVisible: true}}, +}; + +export const HoverFocus: StoryComponentType = { + name: "Hover + Focus", + render: AllVariants, + parameters: {pseudo: {hover: true, focusVisible: true}}, +}; + +export const Active: StoryComponentType = { + render: AllVariants, + parameters: {pseudo: {active: true}}, +}; + +const styles = StyleSheet.create({ + darkDefault: { + backgroundColor: tokens.color.darkBlue, + }, + grid: { + display: "grid", + gridTemplateColumns: "repeat(3, 250px)", + gap: Spacing.large_24, + }, + gridRow: { + flexDirection: "row", + alignItems: "center", + gap: Spacing.medium_16, + justifyContent: "space-between", + padding: Spacing.medium_16, + }, +}); diff --git a/__docs__/wonder-blocks-icon-button/icon-button.stories.tsx b/__docs__/wonder-blocks-icon-button/icon-button.stories.tsx index ab58520b2..c2ecd387a 100644 --- a/__docs__/wonder-blocks-icon-button/icon-button.stories.tsx +++ b/__docs__/wonder-blocks-icon-button/icon-button.stories.tsx @@ -6,16 +6,18 @@ import type {Meta, StoryObj} from "@storybook/react"; import caretLeft from "@phosphor-icons/core/regular/caret-left.svg"; import caretRight from "@phosphor-icons/core/regular/caret-right.svg"; +import externalLinkIcon from "@phosphor-icons/core/regular/arrow-square-out.svg"; import info from "@phosphor-icons/core/regular/info.svg"; import magnifyingGlass from "@phosphor-icons/core/regular/magnifying-glass.svg"; import magnifyingGlassBold from "@phosphor-icons/core/bold/magnifying-glass-bold.svg"; import minusCircle from "@phosphor-icons/core/regular/minus-circle.svg"; -import Color from "@khanacademy/wonder-blocks-color"; +import {MemoryRouter, Route, Switch} from "react-router"; import {View} from "@khanacademy/wonder-blocks-core"; import {LabelMedium} from "@khanacademy/wonder-blocks-typography"; import Spacing from "@khanacademy/wonder-blocks-spacing"; import IconButton from "@khanacademy/wonder-blocks-icon-button"; +import {tokens} from "@khanacademy/wonder-blocks-theming"; import ComponentInfo from "../../.storybook/components/component-info"; import packageConfig from "../../packages/wonder-blocks-icon-button/package.json"; @@ -63,6 +65,7 @@ import IconButtonArgtypes from "./icon-button.argtypes"; export default { title: "IconButton", component: IconButton, + decorators: [(Story): React.ReactElement => {Story()}], parameters: { componentSubtitle: ( ), + chromatic: { + // Disabling all snapshots because we are testing all the variants + // in `icon-button-variants.stories.tsx`. + disableSnapshot: true, + }, + docs: { + source: { + type: "code", + }, + }, }, argTypes: IconButtonArgtypes, } as Meta; @@ -299,9 +312,41 @@ export const WithAriaLabel: StoryComponentType = { }, }; +/** + * Icon Buttons do client-side navigation by default, if React Router exists: + */ +export const WithRouter: StoryComponentType = { + name: "Navigation with React Router", + render: () => ( + + + console.log("Click!")} + aria-label="Navigate to /foo using React Router" + /> + console.log("Click!")} + aria-label="Skip client navigation" + skipClientNav + /> + + + Hello, world! + + + + + ), +}; + const styles = StyleSheet.create({ dark: { - backgroundColor: Color.darkBlue, + backgroundColor: tokens.color.darkBlue, padding: Spacing.medium_16, }, arrowsWrapper: { diff --git a/consistency-tests/__tests__/clickables.test.tsx b/consistency-tests/__tests__/clickables.test.tsx index a2c50d86c..a06fb2bb8 100644 --- a/consistency-tests/__tests__/clickables.test.tsx +++ b/consistency-tests/__tests__/clickables.test.tsx @@ -38,14 +38,13 @@ const IconButtonWrapper = (props: any) => ( ); describe.each` - Component | name | role - ${ActionItem} | ${"ActionItem"} | ${"menuitem"} - ${Button} | ${"Button"} | ${"button"} - ${ClickableWrapper} | ${"Clickable"} | ${"link"} - ${CompactCell} | ${"CompactCell"} | ${"link"} - ${DetailCell} | ${"DetailCell"} | ${"link"} - ${IconButtonWrapper} | ${"IconButton"} | ${"link"} - ${Link} | ${"Link"} | ${"link"} + Component | name | role + ${ActionItem} | ${"ActionItem"} | ${"menuitem"} + ${Button} | ${"Button"} | ${"button"} + ${ClickableWrapper} | ${"Clickable"} | ${"link"} + ${CompactCell} | ${"CompactCell"} | ${"link"} + ${DetailCell} | ${"DetailCell"} | ${"link"} + ${Link} | ${"Link"} | ${"link"} `("$name with an href", ({Component, name, role}: any) => { beforeEach(() => { // Note: window.location.assign and window.open need mock functions in diff --git a/package.json b/package.json index 993aa525f..a5553d28b 100644 --- a/package.json +++ b/package.json @@ -110,6 +110,7 @@ "rollup-plugin-auto-external": "^2.0.0", "rollup-plugin-babel": "^4.0.0-beta.2", "storybook": "^7.5.1", + "storybook-addon-pseudo-states": "^2.1.2", "typescript": "^4.9.5", "typescript-coverage-report": "^0.7.0", "vite": "^4.4.8", diff --git a/packages/wonder-blocks-icon-button/package.json b/packages/wonder-blocks-icon-button/package.json index 52f052fe1..208ea3a0a 100644 --- a/packages/wonder-blocks-icon-button/package.json +++ b/packages/wonder-blocks-icon-button/package.json @@ -17,7 +17,6 @@ "dependencies": { "@babel/runtime": "^7.18.6", "@khanacademy/wonder-blocks-clickable": "^4.0.9", - "@khanacademy/wonder-blocks-color": "^3.0.0", "@khanacademy/wonder-blocks-core": "^6.3.0", "@khanacademy/wonder-blocks-icon": "^2.2.1", "@khanacademy/wonder-blocks-theming": "^1.1.1" diff --git a/packages/wonder-blocks-icon-button/src/__tests__/__snapshots__/custom-snapshot.test.tsx.snap b/packages/wonder-blocks-icon-button/src/__tests__/__snapshots__/custom-snapshot.test.tsx.snap index 9e8e6ffc5..2b23fa7d0 100644 --- a/packages/wonder-blocks-icon-button/src/__tests__/__snapshots__/custom-snapshot.test.tsx.snap +++ b/packages/wonder-blocks-icon-button/src/__tests__/__snapshots__/custom-snapshot.test.tsx.snap @@ -2,9 +2,11 @@ exports[`IconButtonCore kind:primary color:default size:medium light:false disabled 1`] = `