From 8835b60f5c03a1d6a7e0dd67d6d8372d7335acef Mon Sep 17 00:00:00 2001 From: Giuseppe Battistella Date: Fri, 24 Sep 2021 10:11:48 -0300 Subject: [PATCH] breaking: moved theme-ui to peerDependencies STC-403 (#146) --- package.json | 5 +++-- yarn.lock | 56 ++++++++++++++++++++++++++-------------------------- 2 files changed, 31 insertions(+), 30 deletions(-) diff --git a/package.json b/package.json index 1f077f48..a9221ac8 100644 --- a/package.json +++ b/package.json @@ -31,12 +31,12 @@ "react-modal": "^3.14.3", "react-table": "^7.7.0", "rifm": "^0.12.0", - "theme-ui": "^0.9.1", "web-vitals": "^0.2.4" }, "peerDependencies": { "react": "^17.0.2", - "react-dom": "^17.0.2" + "react-dom": "^17.0.2", + "theme-ui": "^0.9.1" }, "resolutions": { "babel-loader": "8.1.0" @@ -152,6 +152,7 @@ "rollup-plugin-typescript2": "^0.30.0", "storybook-addon-outline": "^1.4.1", "storybook-builder-vite": "^0.0.10", + "theme-ui": "^0.9.1", "typescript": "^4.1.3", "vite": "^2.4.1" } diff --git a/yarn.lock b/yarn.lock index 80b6a051..b4583f4e 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2445,7 +2445,7 @@ "@emotion/babel-plugin@^11.3.0": version "11.3.0" - resolved "https://registry.npmjs.org/@emotion/babel-plugin/-/babel-plugin-11.3.0.tgz" + resolved "https://registry.yarnpkg.com/@emotion/babel-plugin/-/babel-plugin-11.3.0.tgz#3a16850ba04d8d9651f07f3fb674b3436a4fb9d7" integrity sha512-UZKwBV2rADuhRp+ZOGgNWg2eYgbzKzQXfQPtJbu/PLy8onurxlNCLvxMQEvlr1/GudguPI5IU9qIY1+2z1M5bA== dependencies: "@babel/helper-module-imports" "^7.12.13" @@ -2517,7 +2517,7 @@ "@emotion/is-prop-valid@^1.1.0": version "1.1.0" - resolved "https://registry.npmjs.org/@emotion/is-prop-valid/-/is-prop-valid-1.1.0.tgz" + resolved "https://registry.yarnpkg.com/@emotion/is-prop-valid/-/is-prop-valid-1.1.0.tgz#29ef6be1e946fb4739f9707def860f316f668cde" integrity sha512-9RkilvXAufQHsSsjQ3PIzSns+pxuX4EW8EbGeSPjZMHuMx6z/MOzb9LpqNieQX4F3mre3NWS2+X3JNRHTQztUQ== dependencies: "@emotion/memoize" "^0.7.4" @@ -2597,7 +2597,7 @@ "@emotion/styled@^11.0.0": version "11.3.0" - resolved "https://registry.npmjs.org/@emotion/styled/-/styled-11.3.0.tgz" + resolved "https://registry.yarnpkg.com/@emotion/styled/-/styled-11.3.0.tgz#d63ee00537dfb6ff612e31b0e915c5cf9925a207" integrity sha512-fUoLcN3BfMiLlRhJ8CuPUMEyKkLEoM+n+UyAbnqGEsCd5IzKQ7VQFLtzpJOaCD2/VR2+1hXQTnSZXVJeiTNltA== dependencies: "@babel/runtime" "^7.13.10" @@ -4051,75 +4051,75 @@ "@styled-system/background@^5.1.2": version "5.1.2" - resolved "https://registry.npmjs.org/@styled-system/background/-/background-5.1.2.tgz" + resolved "https://registry.yarnpkg.com/@styled-system/background/-/background-5.1.2.tgz#75c63d06b497ab372b70186c0bf608d62847a2ba" integrity sha512-jtwH2C/U6ssuGSvwTN3ri/IyjdHb8W9X/g8Y0JLcrH02G+BW3OS8kZdHphF1/YyRklnrKrBT2ngwGUK6aqqV3A== dependencies: "@styled-system/core" "^5.1.2" "@styled-system/border@^5.1.5": version "5.1.5" - resolved "https://registry.npmjs.org/@styled-system/border/-/border-5.1.5.tgz" + resolved "https://registry.yarnpkg.com/@styled-system/border/-/border-5.1.5.tgz#0493d4332d2b59b74bb0d57d08c73eb555761ba6" integrity sha512-JvddhNrnhGigtzWRCVuAHepniyVi6hBlimxWDVAdcTuk7aRn9BYJUwfHslURtwYFsF5FoEs8Zmr1oZq2M1AP0A== dependencies: "@styled-system/core" "^5.1.2" "@styled-system/color@^5.1.2": version "5.1.2" - resolved "https://registry.npmjs.org/@styled-system/color/-/color-5.1.2.tgz" + resolved "https://registry.yarnpkg.com/@styled-system/color/-/color-5.1.2.tgz#b8d6b4af481faabe4abca1a60f8daa4ccc2d9f43" integrity sha512-1kCkeKDZkt4GYkuFNKc7vJQMcOmTl3bJY3YBUs7fCNM6mMYJeT1pViQ2LwBSBJytj3AB0o4IdLBoepgSgGl5MA== dependencies: "@styled-system/core" "^5.1.2" "@styled-system/core@^5.1.2": version "5.1.2" - resolved "https://registry.npmjs.org/@styled-system/core/-/core-5.1.2.tgz" + resolved "https://registry.yarnpkg.com/@styled-system/core/-/core-5.1.2.tgz#b8b7b86455d5a0514f071c4fa8e434b987f6a772" integrity sha512-XclBDdNIy7OPOsN4HBsawG2eiWfCcuFt6gxKn1x4QfMIgeO6TOlA2pZZ5GWZtIhCUqEPTgIBta6JXsGyCkLBYw== dependencies: object-assign "^4.1.1" "@styled-system/css@^5.1.5": version "5.1.5" - resolved "https://registry.npmjs.org/@styled-system/css/-/css-5.1.5.tgz" + resolved "https://registry.yarnpkg.com/@styled-system/css/-/css-5.1.5.tgz#0460d5f3ff962fa649ea128ef58d9584f403bbbc" integrity sha512-XkORZdS5kypzcBotAMPBoeckDs9aSZVkvrAlq5K3xP8IMAUek+x2O4NtwoSgkYkWWzVBu6DGdFZLR790QWGG+A== "@styled-system/flexbox@^5.1.2": version "5.1.2" - resolved "https://registry.npmjs.org/@styled-system/flexbox/-/flexbox-5.1.2.tgz" + resolved "https://registry.yarnpkg.com/@styled-system/flexbox/-/flexbox-5.1.2.tgz#077090f43f61c3852df63da24e4108087a8beecf" integrity sha512-6hHV52+eUk654Y1J2v77B8iLeBNtc+SA3R4necsu2VVinSD7+XY5PCCEzBFaWs42dtOEDIa2lMrgL0YBC01mDQ== dependencies: "@styled-system/core" "^5.1.2" "@styled-system/grid@^5.1.2": version "5.1.2" - resolved "https://registry.npmjs.org/@styled-system/grid/-/grid-5.1.2.tgz" + resolved "https://registry.yarnpkg.com/@styled-system/grid/-/grid-5.1.2.tgz#7165049877732900b99cd00759679fbe45c6c573" integrity sha512-K3YiV1KyHHzgdNuNlaw8oW2ktMuGga99o1e/NAfTEi5Zsa7JXxzwEnVSDSBdJC+z6R8WYTCYRQC6bkVFcvdTeg== dependencies: "@styled-system/core" "^5.1.2" "@styled-system/layout@^5.1.2": version "5.1.2" - resolved "https://registry.npmjs.org/@styled-system/layout/-/layout-5.1.2.tgz" + resolved "https://registry.yarnpkg.com/@styled-system/layout/-/layout-5.1.2.tgz#12d73e79887e10062f4dbbbc2067462eace42339" integrity sha512-wUhkMBqSeacPFhoE9S6UF3fsMEKFv91gF4AdDWp0Aym1yeMPpqz9l9qS/6vjSsDPF7zOb5cOKC3tcKKOMuDCPw== dependencies: "@styled-system/core" "^5.1.2" "@styled-system/position@^5.1.2": version "5.1.2" - resolved "https://registry.npmjs.org/@styled-system/position/-/position-5.1.2.tgz" + resolved "https://registry.yarnpkg.com/@styled-system/position/-/position-5.1.2.tgz#56961266566836f57a24d8e8e33ce0c1adb59dd3" integrity sha512-60IZfMXEOOZe3l1mCu6sj/2NAyUmES2kR9Kzp7s2D3P4qKsZWxD1Se1+wJvevb+1TP+ZMkGPEYYXRyU8M1aF5A== dependencies: "@styled-system/core" "^5.1.2" "@styled-system/shadow@^5.1.2": version "5.1.2" - resolved "https://registry.npmjs.org/@styled-system/shadow/-/shadow-5.1.2.tgz" + resolved "https://registry.yarnpkg.com/@styled-system/shadow/-/shadow-5.1.2.tgz#beddab28d7de03cd0177a87ac4ed3b3b6d9831fd" integrity sha512-wqniqYb7XuZM7K7C0d1Euxc4eGtqEe/lvM0WjuAFsQVImiq6KGT7s7is+0bNI8O4Dwg27jyu4Lfqo/oIQXNzAg== dependencies: "@styled-system/core" "^5.1.2" "@styled-system/should-forward-prop@^5.1.2": version "5.1.5" - resolved "https://registry.npmjs.org/@styled-system/should-forward-prop/-/should-forward-prop-5.1.5.tgz" + resolved "https://registry.yarnpkg.com/@styled-system/should-forward-prop/-/should-forward-prop-5.1.5.tgz#c392008c6ae14a6eb78bf1932733594f7f7e5c76" integrity sha512-+rPRomgCGYnUIaFabDoOgpSDc4UUJ1KsmlnzcEp0tu5lFrBQKgZclSo18Z1URhaZm7a6agGtS5Xif7tuC2s52Q== dependencies: "@emotion/is-prop-valid" "^0.8.1" @@ -4128,21 +4128,21 @@ "@styled-system/space@^5.1.2": version "5.1.2" - resolved "https://registry.npmjs.org/@styled-system/space/-/space-5.1.2.tgz" + resolved "https://registry.yarnpkg.com/@styled-system/space/-/space-5.1.2.tgz#38925d2fa29a41c0eb20e65b7c3efb6e8efce953" integrity sha512-+zzYpR8uvfhcAbaPXhH8QgDAV//flxqxSjHiS9cDFQQUSznXMQmxJegbhcdEF7/eNnJgHeIXv1jmny78kipgBA== dependencies: "@styled-system/core" "^5.1.2" "@styled-system/typography@^5.1.2": version "5.1.2" - resolved "https://registry.npmjs.org/@styled-system/typography/-/typography-5.1.2.tgz" + resolved "https://registry.yarnpkg.com/@styled-system/typography/-/typography-5.1.2.tgz#65fb791c67d50cd2900d234583eaacdca8c134f7" integrity sha512-BxbVUnN8N7hJ4aaPOd7wEsudeT7CxarR+2hns8XCX1zp0DFfbWw4xYa/olA0oQaqx7F1hzDg+eRaGzAJbF+jOg== dependencies: "@styled-system/core" "^5.1.2" "@styled-system/variant@^5.1.5": version "5.1.5" - resolved "https://registry.npmjs.org/@styled-system/variant/-/variant-5.1.5.tgz" + resolved "https://registry.yarnpkg.com/@styled-system/variant/-/variant-5.1.5.tgz#8446d8aad06af3a4c723d717841df2dbe4ddeafd" integrity sha512-Yn8hXAFoWIro8+Q5J8YJd/mP85Teiut3fsGVR9CAxwgNfIAiqlYxsk5iHU7VHJks/0KjL4ATSjmbtCDC/4l1qw== dependencies: "@styled-system/core" "^5.1.2" @@ -4334,7 +4334,7 @@ "@theme-ui/color-modes@0.9.1": version "0.9.1" - resolved "https://registry.npmjs.org/@theme-ui/color-modes/-/color-modes-0.9.1.tgz" + resolved "https://registry.yarnpkg.com/@theme-ui/color-modes/-/color-modes-0.9.1.tgz#429e8f5911a6ae4876013d0ed897a6bab138edec" integrity sha512-70QgmXZye9OPx11Xh10elzvOx4R6djnJu+bgW0gUzsFD1JD4G2TgTVotNi+SHsppcQDRrzgcOkAzbbleWeNkAQ== dependencies: "@emotion/react" "^11.1.1" @@ -4344,7 +4344,7 @@ "@theme-ui/components@0.9.1": version "0.9.1" - resolved "https://registry.npmjs.org/@theme-ui/components/-/components-0.9.1.tgz" + resolved "https://registry.yarnpkg.com/@theme-ui/components/-/components-0.9.1.tgz#529165cfa01b9c573de6bc8726bfa2521ff4c40d" integrity sha512-ZrJd9AAEpQfEw+SNcr1A59z5MvuEy01ii4wjfpDhkNDyFmbr9malEos9d/JUE3ZwTu6QQnnB6xe9Hf0f5VE0ww== dependencies: "@emotion/react" "^11.1.1" @@ -4357,7 +4357,7 @@ "@theme-ui/core@0.9.1": version "0.9.1" - resolved "https://registry.npmjs.org/@theme-ui/core/-/core-0.9.1.tgz" + resolved "https://registry.yarnpkg.com/@theme-ui/core/-/core-0.9.1.tgz#bc155bdf7f488072935b65cdb6ed7541f9ca623c" integrity sha512-virruR+uaGMIZd9rs2IcDq7aWJspk2c7vtvhAlvhKQoLXlhWrtvZCwd9b6lKHMEhNxpjXEZa3cJxRR9LQ0Utgw== dependencies: "@emotion/react" "^11.1.1" @@ -4375,7 +4375,7 @@ "@theme-ui/mdx@0.9.1": version "0.9.1" - resolved "https://registry.npmjs.org/@theme-ui/mdx/-/mdx-0.9.1.tgz" + resolved "https://registry.yarnpkg.com/@theme-ui/mdx/-/mdx-0.9.1.tgz#30d225e585f46d0cfa6bb9286486c0601bc6162c" integrity sha512-DbvK8ECv5vhYd7nvtWAxwazXYmWahkG18ZfcoadnQa5tqI2Y7vhuHw/719Cg2k87G8FVZC8Lm+x4J20eGrWZ7g== dependencies: "@emotion/react" "^11.1.1" @@ -4386,7 +4386,7 @@ "@theme-ui/parse-props@0.9.1": version "0.9.1" - resolved "https://registry.npmjs.org/@theme-ui/parse-props/-/parse-props-0.9.1.tgz" + resolved "https://registry.yarnpkg.com/@theme-ui/parse-props/-/parse-props-0.9.1.tgz#3c48138d3144da8658d436ec1fb5f911a21238b8" integrity sha512-QvjXu0e/qw5E0J7xHKniz9DcssbWnx2V/Q96z6CH3EbFFKq+Y8x+OAx+jZ78IPddunuLvoTG+pAzDdviF+Lkhg== dependencies: "@emotion/react" "^11.1.1" @@ -4496,7 +4496,7 @@ "@theme-ui/theme-provider@0.9.1": version "0.9.1" - resolved "https://registry.npmjs.org/@theme-ui/theme-provider/-/theme-provider-0.9.1.tgz" + resolved "https://registry.yarnpkg.com/@theme-ui/theme-provider/-/theme-provider-0.9.1.tgz#8939b27dd59f38f63b9a09683d828798d5b32eaf" integrity sha512-kC9ee252/jWT0/Wml9ScLa/QmtJZDgWny65sBs5z61zdE1s3TpWS603laycmqdK5XV2+pcJPT/cwaMnAciO6ug== dependencies: "@emotion/react" "^11.1.1" @@ -4983,9 +4983,9 @@ integrity sha512-RJJrrySY7A8havqpGObOB4W92QXKJo63/jFLLgpvOtsGUqbQZ9Sbgl35KMm1DjC6j7AvmmU2bIno+3IyEaemaw== "@types/styled-system@^5.1.10": - version "5.1.11" - resolved "https://registry.npmjs.org/@types/styled-system/-/styled-system-5.1.11.tgz" - integrity sha512-R+JxEZYa5T0HD2urViR/mdklVaGhwbNOtDoWWGQ1+z1CGs/gF1UAKCaS//YwsUwterEKpyaKxgaXyFNKF04GCA== + version "5.1.13" + resolved "https://registry.yarnpkg.com/@types/styled-system/-/styled-system-5.1.13.tgz#9ad667534d3bd75720dd7778c94c783449cb5c14" + integrity sha512-RtpV6zXnnMQNcxKjC06BUM4MUER5o9uZ6b7xAc2OzhWxSsmQ3jXyW8ohuXdEJRKypEe0EqAzbSGx2Im0NXfdKA== dependencies: csstype "^3.0.2" @@ -17765,7 +17765,7 @@ style-value-types@4.1.4: styled-system@^5.1.5: version "5.1.5" - resolved "https://registry.npmjs.org/styled-system/-/styled-system-5.1.5.tgz" + resolved "https://registry.yarnpkg.com/styled-system/-/styled-system-5.1.5.tgz#e362d73e1dbb5641a2fd749a6eba1263dc85075e" integrity sha512-7VoD0o2R3RKzOzPK0jYrVnS8iJdfkKsQJNiLRDjikOpQVqQHns/DXWaPZOH4tIKkhAT7I6wIsy9FWTWh2X3q+A== dependencies: "@styled-system/background" "^5.1.2" @@ -18038,7 +18038,7 @@ text-table@0.2.0, text-table@^0.2.0: theme-ui@^0.9.1: version "0.9.1" - resolved "https://registry.npmjs.org/theme-ui/-/theme-ui-0.9.1.tgz" + resolved "https://registry.yarnpkg.com/theme-ui/-/theme-ui-0.9.1.tgz#3e30f58458ab7ff6d6c7404a8f08749c44880b7a" integrity sha512-4tRdMOb0YJU4PMKtPABBkccdq0jUBPIdgURB868WgmxLBvMx+pLPTPlwGM+Yuf4gpIbx+4O8vNREtGGy11z30w== dependencies: "@theme-ui/color-modes" "0.9.1"