From a5088f94d35b6e57501e779e8884b38db94d1cf2 Mon Sep 17 00:00:00 2001 From: tom-leamon Date: Tue, 5 Dec 2023 21:51:47 -0600 Subject: [PATCH] Attempt to solve "Cannot read property 'fonts' of undefined" bug by updating @storybook/theming --- package.json | 4 ++-- yarn.lock | 21 ++++++++++++++++++++- 2 files changed, 22 insertions(+), 3 deletions(-) diff --git a/package.json b/package.json index 0c055af2..37c413b1 100644 --- a/package.json +++ b/package.json @@ -4,7 +4,7 @@ "publishConfig": { "registry": "https://registry.npmjs.org" }, - "version": "1.0.30", + "version": "1.0.31", "description": "Formation is a comprehensive component library powered by React, Styled Components, and CSS variables for creating apps and websites that demand responsive, unified cross-platform experiences.", "resolutions": { "string-width": "^4", @@ -72,7 +72,7 @@ "@storybook/react": "7.5.3", "@storybook/react-vite": "7.5.3", "@storybook/testing-library": "0.2.2", - "@storybook/theming": "^7.5.3", + "@storybook/theming": "^7.6.3", "@testing-library/react": "^13.3.0", "@types/jest": "^28.1.6", "@types/lodash.union": "^4.6.7", diff --git a/yarn.lock b/yarn.lock index ff6b96ad..d2685c0a 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2500,6 +2500,13 @@ dependencies: "@storybook/global" "^5.0.0" +"@storybook/client-logger@7.6.3": + version "7.6.3" + resolved "https://registry.yarnpkg.com/@storybook/client-logger/-/client-logger-7.6.3.tgz#221d6617e6874025b94602bc7ba6bf09d154bf5f" + integrity sha512-BpsCnefrBFdxD6ukMjAblm1D6zB4U5HR1I85VWw6LOqZrfzA6l/1uBxItz0XG96HTjngbvAabWf5k7ZFCx5UCg== + dependencies: + "@storybook/global" "^5.0.0" + "@storybook/codemod@7.5.3": version "7.5.3" resolved "https://registry.yarnpkg.com/@storybook/codemod/-/codemod-7.5.3.tgz#8a294b8d12f304a2a9db902848977147394d451c" @@ -2833,7 +2840,7 @@ "@testing-library/user-event" "^14.4.0" ts-dedent "^2.2.0" -"@storybook/theming@7.5.3", "@storybook/theming@^7.0.0-beta.49", "@storybook/theming@^7.5.3": +"@storybook/theming@7.5.3", "@storybook/theming@^7.0.0-beta.49": version "7.5.3" resolved "https://registry.yarnpkg.com/@storybook/theming/-/theming-7.5.3.tgz#bbcf547c8b3ec1e59e641c58155a44781d5f310d" integrity sha512-Cjmthe1MAk0z4RKCZ7m72gAD8YD0zTAH97z5ryM1Qv84QXjiCQ143fGOmYz1xEQdNFpOThPcwW6FEccLHTkVcg== @@ -2843,6 +2850,16 @@ "@storybook/global" "^5.0.0" memoizerific "^1.11.3" +"@storybook/theming@^7.6.3": + version "7.6.3" + resolved "https://registry.yarnpkg.com/@storybook/theming/-/theming-7.6.3.tgz#69adc0c7c2e6cad67cf327834fe57ab4ae698575" + integrity sha512-9ToNU2LM6a2kVBjOXitXEeEOuMurVLhn+uaZO1dJjv8NGnJVYiLwNPwrLsImiUD8/XXNuil972aanBR6+Aj9jw== + dependencies: + "@emotion/use-insertion-effect-with-fallbacks" "^1.0.0" + "@storybook/client-logger" "7.6.3" + "@storybook/global" "^5.0.0" + memoizerific "^1.11.3" + "@storybook/types@7.5.3": version "7.5.3" resolved "https://registry.yarnpkg.com/@storybook/types/-/types-7.5.3.tgz#be956805dafc09fa9a7a3dd4e0e5097ef08e4fd4" @@ -9618,6 +9635,7 @@ string_decoder@~1.1.1: safe-buffer "~5.1.0" "strip-ansi-cjs@npm:strip-ansi@^6.0.1", strip-ansi@^6, strip-ansi@^6.0.0, strip-ansi@^6.0.1, strip-ansi@^7.0.1: + name strip-ansi-cjs version "6.0.1" resolved "https://registry.yarnpkg.com/strip-ansi/-/strip-ansi-6.0.1.tgz#9e26c63d30f53443e9489495b2105d37b67a85d9" integrity sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A== @@ -10431,6 +10449,7 @@ wordwrap@^1.0.0: integrity sha512-gvVzJFlPycKc5dZN4yPkP8w7Dc37BtP1yczEneOb4uq34pXZcvrtRTmWV8W+Ume+XCxKgbjM+nevkyFPMybd4Q== "wrap-ansi-cjs@npm:wrap-ansi@^7.0.0", wrap-ansi@^7.0.0: + name wrap-ansi-cjs version "7.0.0" resolved "https://registry.yarnpkg.com/wrap-ansi/-/wrap-ansi-7.0.0.tgz#67e145cff510a6a6984bdf1152911d69d2eb9e43" integrity sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q==