From 9e0114771efc8bd497c1315795fb94c4569ea0a4 Mon Sep 17 00:00:00 2001 From: Alexander Swed Date: Sat, 3 Oct 2020 19:36:58 +0200 Subject: [PATCH] fix: improve menu, themeprovider --- link.sh | 9 + package.json | 14 +- src/lib/Menu/MenuItem.tsx | 3 +- src/lib/Menu/MenuList.tsx | 5 + src/lib/Menu/index.ts | 2 +- src/lib/Menu/utils.tsx | 46 ++-- src/lib/Portal/Portal.tsx | 3 +- src/lib/ThemeProvider/ThemeProvider.tsx | 33 +-- src/lib/index.ts | 2 +- src/lib/stitches.config.ts | 28 +-- src/pages/components/Menu.mdx | 26 ++- yarn.lock | 275 +++++++++++------------- 12 files changed, 235 insertions(+), 211 deletions(-) create mode 100755 link.sh diff --git a/link.sh b/link.sh new file mode 100755 index 00000000..23d6214a --- /dev/null +++ b/link.sh @@ -0,0 +1,9 @@ +yarn install +yarn link +cd node_modules/react +yarn link +cd ../../node_modules/react-dom +yarn link +cd $1 +yarn link react +yarn link react-dom \ No newline at end of file diff --git a/package.json b/package.json index b536bf4c..b8f7c652 100644 --- a/package.json +++ b/package.json @@ -24,7 +24,7 @@ "access": "public" }, "scripts": { - "build": "microbundle build --jsx React.createElement --no-compress --entry src/lib/index.ts --output build/index.js --no-pkg-main --tsconfig tsconfig.lib.json", + "build": "microbundle build --jsx React.createElement --compress --entry src/lib/index.ts --output build/index.js --no-pkg-main --tsconfig tsconfig.lib.json", "start": "microbundle watch --jsx React.createElement --no-compress --entry src/lib/index.ts --output build/index.js --no-pkg-main --tsconfig tsconfig.lib.json --format modern", "dev": "yarn run dokz:dev", "lint": "eslint src", @@ -35,9 +35,9 @@ }, "dependencies": { "@popperjs/core": "^2.5.3", - "@react-aria/button": "^3.2.1", - "@react-aria/focus": "^3.2.1", - "@stitches/react": "^0.0.3-canary.1", + "@react-aria/button": "^3.2.2", + "@react-aria/focus": "^3.2.2", + "@stitches/react": "^0.0.3-canary.3", "react-uid": "^2.3.0" }, "devDependencies": { @@ -46,17 +46,17 @@ "@emotion/styled": "^10.0.27", "@types/jest": "^26.0.14", "@types/node": "^14.11.2", - "@types/react": "^16.9.49", + "@types/react": "^16.9.50", "@typescript-eslint/eslint-plugin": "^4.3.0", "@typescript-eslint/parser": "^4.3.0", "babel-eslint": "^10.1.0", - "dokz": "^1.0.77", + "dokz": "^1.0.79", "eslint": "^7.10.0", "eslint-config-react-app": "^5.2.1", "eslint-plugin-flowtype": "^5.2.0", "eslint-plugin-import": "^2.22.1", "eslint-plugin-jsx-a11y": "^6.3.1", - "eslint-plugin-react": "^7.21.2", + "eslint-plugin-react": "^7.21.3", "eslint-plugin-react-hooks": "^4.1.2", "husky": "^4.3.0", "jest": "^26.4.2", diff --git a/src/lib/Menu/MenuItem.tsx b/src/lib/Menu/MenuItem.tsx index ab2af5a7..49866caa 100644 --- a/src/lib/Menu/MenuItem.tsx +++ b/src/lib/Menu/MenuItem.tsx @@ -11,6 +11,7 @@ const Item = styled(Inline, { 'fontSize': '$sm', 'lineHeight': 1, 'display': 'flex', + 'alignItems': 'center', 'height': '$8', 'cursor': 'pointer', 'br': '$sm', @@ -61,7 +62,7 @@ const MenuItem = React.forwardRef(({ action, ...props }, r ); return ( - + ); }); diff --git a/src/lib/Menu/MenuList.tsx b/src/lib/Menu/MenuList.tsx index cf73d05e..2be3c7e8 100644 --- a/src/lib/Menu/MenuList.tsx +++ b/src/lib/Menu/MenuList.tsx @@ -13,6 +13,8 @@ const List = styled('ul', { br: '$md', border: '1px solid $gray200', outline: 'none', + pl: 0, + paddingInlineStart: 0, }); const UlList: React.FC = (ulProps) => { @@ -40,6 +42,7 @@ const MenuList: React.FC = (props) => { export default MenuList; const focusOptions: FocusManagerOptions = { wrap: true }; + function useMenuProps(props: UlListProps): UlListProps { const { popoverRef, seed, onAction } = useMenu(); const { close, stateRef } = useMenuControlState(); @@ -82,6 +85,8 @@ function useMenuProps(props: UlListProps): UlListProps { }, 'Escape': (event) => { if (event.defaultPrevented) return; + event.preventDefault(); + event.stopPropagation(); close(); }, 'Tab': (event) => { diff --git a/src/lib/Menu/index.ts b/src/lib/Menu/index.ts index 16c7bd91..a6de24ca 100644 --- a/src/lib/Menu/index.ts +++ b/src/lib/Menu/index.ts @@ -1 +1 @@ -export { default as Menu } from './Menu'; +export { default } from './Menu'; diff --git a/src/lib/Menu/utils.tsx b/src/lib/Menu/utils.tsx index 2d7677a8..4933ff4c 100644 --- a/src/lib/Menu/utils.tsx +++ b/src/lib/Menu/utils.tsx @@ -2,7 +2,9 @@ import React, { useContext, createContext, useEffect, useMemo, useRef, useCallba import { Options, createPopper, Instance, VirtualElement } from '@popperjs/core'; import { useUIDSeed } from 'react-uid'; -type MenuStaticContextValue = ReturnType & { +type MenuStaticContextValue = { + triggerRef: React.RefObject; + popoverRef: React.RefObject; seed: ReturnType; onAction?: (key: string) => void; }; @@ -30,24 +32,29 @@ const options: Options = { }, ], }; + export const MenuProvider: React.FC<{ onAction?: (key: string) => void; }> = ({ children, onAction }) => { const seed = useUIDSeed(); - const refs = usePopper(options); + const triggerRef = useRef(null); + const popoverRef = usePopper(triggerRef, options); const menuContextValue = useMemo( () => ({ - ...refs, + triggerRef, + popoverRef, seed, onAction, }), - [refs, onAction, seed] + [triggerRef, popoverRef, seed, onAction] ); return ( - {children} + + <>{children} + ); }; @@ -78,9 +85,9 @@ export function useMenuControlState() { } function usePopper( + triggerRef: React.RefObject, options?: Partial -): { triggerRef: React.RefObject; popoverRef: React.RefObject } { - const triggerRef = useRef(null); +): React.RefObject { const popoverRef = useRef(null); const popperInstanceRef = useRef(); @@ -89,7 +96,7 @@ function usePopper( popperInstanceRef.current?.destroy(); popperInstanceRef.current = createPopper(triggerRef.current, popoverRef.current, options); - }, [options]); + }, [triggerRef, options]); useEffect(() => { return () => { @@ -99,26 +106,15 @@ function usePopper( return useMemo(() => { return { - triggerRef: { - get current() { - return triggerRef.current; - }, - set current(node) { - (triggerRef as React.MutableRefObject).current = node; - instantiatePopper(); - }, + get current() { + return popoverRef.current; }, - popoverRef: { - get current() { - return popoverRef.current; - }, - set current(node) { - (popoverRef as React.MutableRefObject).current = node; - instantiatePopper(); - }, + set current(node) { + (popoverRef as React.MutableRefObject).current = node; + instantiatePopper(); }, }; - }, [triggerRef, popoverRef, instantiatePopper]); + }, [popoverRef, instantiatePopper]); } type InternalState = { lastKey: string | null; items: Map }; diff --git a/src/lib/Portal/Portal.tsx b/src/lib/Portal/Portal.tsx index e453963f..2697741b 100644 --- a/src/lib/Portal/Portal.tsx +++ b/src/lib/Portal/Portal.tsx @@ -1,5 +1,6 @@ import React, { useState, useEffect } from 'react'; import ReactDOM from 'react-dom'; +import ThemeProvider from '../ThemeProvider'; const Portal: React.FC = ({ children }) => { const [mounted, setMounted] = useState(false); @@ -8,7 +9,7 @@ const Portal: React.FC = ({ children }) => { if (!mounted) return null; - return ReactDOM.createPortal(children, document.body); + return ReactDOM.createPortal({children}, document.body); }; export default Portal; diff --git a/src/lib/ThemeProvider/ThemeProvider.tsx b/src/lib/ThemeProvider/ThemeProvider.tsx index a663a0ea..b7c7480b 100644 --- a/src/lib/ThemeProvider/ThemeProvider.tsx +++ b/src/lib/ThemeProvider/ThemeProvider.tsx @@ -1,26 +1,29 @@ -import React from 'react'; +import React, { createContext, useContext } from 'react'; import Box from '../Box'; import { themes } from '../theme/themes'; -import { joinNonEmpty } from '../utils'; + +type Theme = keyof typeof themes; type Props = { - theme: keyof typeof themes; + theme?: Theme; }; +const themeContext = createContext('default'); + const ThemeProvider: React.FC = ({ theme, children }) => { - const themeClass = theme in themes ? themes[theme] : theme; + const contextTheme = useContext(themeContext); + const themeClass = themes[(theme as Theme) || (contextTheme as Theme)]; + + if (!themeClass) { + return <>{children}; + } + return ( - <> - {React.Children.map(children, (child) => - React.isValidElement(child) ? ( - React.cloneElement(child, { className: joinNonEmpty(child.props.className, themeClass) }) - ) : ( - - {child} - - ) - )} - + + + {children} + + ); }; diff --git a/src/lib/index.ts b/src/lib/index.ts index ae364bfc..8624a2e4 100644 --- a/src/lib/index.ts +++ b/src/lib/index.ts @@ -8,7 +8,7 @@ export { default as Stack } from './Stack'; export { default as Text } from './Text'; export { default as TextLink } from './TextLink'; -export * from './Menu'; +export { default as Menu } from './Menu'; export { default as ThemeProvider } from './ThemeProvider'; export { theme, styled, css } from './stitches.config'; diff --git a/src/lib/stitches.config.ts b/src/lib/stitches.config.ts index f0c07484..e60dba96 100644 --- a/src/lib/stitches.config.ts +++ b/src/lib/stitches.config.ts @@ -79,55 +79,55 @@ export const { styled, css } = createStyled({ screen: (rule) => `@media (min-width: 1280px) { ${rule} }`, }, utils: { - p: (value: keyof Theme['space'] | (string & {})) => ({ + p: (value: keyof Theme['space'] | (number | (string & {}))) => ({ paddingTop: value, paddingBottom: value, paddingLeft: value, paddingRight: value, }), - pt: (value: keyof Theme['space'] | (string & {})) => ({ + pt: (value: keyof Theme['space'] | (number | (string & {}))) => ({ paddingTop: value, }), - pr: (value: keyof Theme['space'] | (string & {})) => ({ + pr: (value: keyof Theme['space'] | (number | (string & {}))) => ({ paddingRight: value, }), - pb: (value: keyof Theme['space'] | (string & {})) => ({ + pb: (value: keyof Theme['space'] | (number | (string & {}))) => ({ paddingBottom: value, }), - pl: (value: keyof Theme['space'] | (string & {})) => ({ + pl: (value: keyof Theme['space'] | (number | (string & {}))) => ({ paddingLeft: value, }), - px: (value: keyof Theme['space'] | (string & {})) => ({ + px: (value: keyof Theme['space'] | (number | (string & {}))) => ({ paddingLeft: value, paddingRight: value, }), - py: (value: keyof Theme['space'] | (string & {})) => ({ + py: (value: keyof Theme['space'] | (number | (string & {}))) => ({ paddingTop: value, paddingBottom: value, }), - m: (value: keyof Theme['space'] | (string & {})) => ({ + m: (value: keyof Theme['space'] | (number | (string & {}))) => ({ marginTop: value, marginBottom: value, marginLeft: value, marginRight: value, }), - mt: (value: keyof Theme['space'] | (string & {})) => ({ + mt: (value: keyof Theme['space'] | (number | (string & {}))) => ({ marginTop: value, }), - mr: (value: keyof Theme['space'] | (string & {})) => ({ + mr: (value: keyof Theme['space'] | (number | (string & {}))) => ({ marginRight: value, }), - mb: (value: keyof Theme['space'] | (string & {})) => ({ + mb: (value: keyof Theme['space'] | (number | (string & {}))) => ({ marginBottom: value, }), - ml: (value: keyof Theme['space'] | (string & {})) => ({ + ml: (value: keyof Theme['space'] | (number | (string & {}))) => ({ marginLeft: value, }), - mx: (value: keyof Theme['space'] | (string & {})) => ({ + mx: (value: keyof Theme['space'] | (number | (string & {}))) => ({ marginLeft: value, marginRight: value, }), - my: (value: keyof Theme['space'] | (string & {})) => ({ + my: (value: keyof Theme['space'] | (number | (string & {}))) => ({ marginTop: value, marginBottom: value, }), diff --git a/src/pages/components/Menu.mdx b/src/pages/components/Menu.mdx index 00670892..b7f4392a 100644 --- a/src/pages/components/Menu.mdx +++ b/src/pages/components/Menu.mdx @@ -3,7 +3,7 @@ name: Menu --- import { Playground } from 'dokz'; -import { Box, Button, Menu, Icon } from '@fxtrot/ui'; +import { Box, Button, Menu, Icon, ThemeProvider } from '@fxtrot/ui'; import { HiChevronDown } from 'react-icons/hi'; ## Menu @@ -18,7 +18,7 @@ For big lists use `action` prop on `Menu.Item` and `onAction` callback to handle - {Array(1000) + {Array(100) .fill(null) .map((el, i) => ( @@ -29,3 +29,25 @@ For big lists use `action` prop on `Menu.Item` and `onAction` callback to handle + + + + + + + Open menu + + + + {Array(100) + .fill(null) + .map((el, i) => ( + + Item {i} + + ))} + + + + + diff --git a/yarn.lock b/yarn.lock index 7b1243c8..cabf2c3a 100644 --- a/yarn.lock +++ b/yarn.lock @@ -3,11 +3,11 @@ "@ampproject/toolbox-core@^2.6.0": - version "2.6.0" - resolved "https://registry.yarnpkg.com/@ampproject/toolbox-core/-/toolbox-core-2.6.0.tgz#9824d5f133d82106a9bf0774920843c69fa5c869" - integrity sha512-sDMnHj8WaX3tqJS5VsIHkeW98nq5WQ0C9RoFc1PPS3rmYIlS0vhAfHbrjJw6wtuxBTQFxccje+Ew+2OJ2D15kA== + version "2.6.1" + resolved "https://registry.yarnpkg.com/@ampproject/toolbox-core/-/toolbox-core-2.6.1.tgz#af97ec253bf39e5fe5121b8ec28f1f35d1878446" + integrity sha512-hTsd9J2yy3JPMClG8BuUhUfMDtd3oDhCuRe/SyZJYQfNMN8hQHt7LNXtdOzZr0Kw7nTepHmn7GODS68fZN4OQQ== dependencies: - cross-fetch "3.0.5" + cross-fetch "3.0.6" lru-cache "6.0.0" "@ampproject/toolbox-optimizer@2.6.0": @@ -1636,101 +1636,101 @@ resolved "https://registry.yarnpkg.com/@reach/visually-hidden/-/visually-hidden-0.1.4.tgz#0dc4ecedf523004337214187db70a46183bd945b" integrity sha512-QHbzXjflSlCvDd6vJwdwx16mSB+vUCCQMiU/wK/CgVNPibtpEiIbisyxkpZc55DyDFNUIqP91rSUsNae+ogGDQ== -"@react-aria/button@^3.2.1": - version "3.2.1" - resolved "https://registry.yarnpkg.com/@react-aria/button/-/button-3.2.1.tgz#d1c65ddbd47a7a7349321a72f013b98034812a40" - integrity sha512-mdfRw1MK0B+ue3AxLbwegcwH7HKTjGDrKrQ9R4J56fKq8S4RkQApUwYwVFxvQI4Hrlsod5e7SCDClYgQhTEHUA== +"@react-aria/button@^3.2.2": + version "3.2.2" + resolved "https://registry.yarnpkg.com/@react-aria/button/-/button-3.2.2.tgz#b10c1700e6b085a48b5a2ff4ffa46feb9931c34c" + integrity sha512-iXJo58ST06wnh2zNpnyVgEHY8QulVGDO9LQRfBg/v3ZIIu0FAzag7dTzSijeZpppFuWM197YrFYTEouPXzhk4w== dependencies: "@babel/runtime" "^7.6.2" - "@react-aria/focus" "^3.2.0" - "@react-aria/i18n" "^3.1.0" - "@react-aria/interactions" "^3.2.0" - "@react-aria/utils" "^3.2.0" - "@react-stately/toggle" "^3.2.0" - "@react-types/button" "^3.2.0" - -"@react-aria/focus@^3.2.0", "@react-aria/focus@^3.2.1": - version "3.2.1" - resolved "https://registry.yarnpkg.com/@react-aria/focus/-/focus-3.2.1.tgz#c51c91472737468a0633e34aaa76459f6df1aa8a" - integrity sha512-tceyh8DZOV79KSoE/c/Hm/HAf3ezoaUL0cd8M8e4G+SWxO+bE2EIB0MEH2CzAIgeQ79cvexKv4T/Gms8PgnMIw== + "@react-aria/focus" "^3.2.2" + "@react-aria/i18n" "^3.1.2" + "@react-aria/interactions" "^3.2.1" + "@react-aria/utils" "^3.3.0" + "@react-stately/toggle" "^3.2.1" + "@react-types/button" "^3.2.1" + +"@react-aria/focus@^3.2.2": + version "3.2.2" + resolved "https://registry.yarnpkg.com/@react-aria/focus/-/focus-3.2.2.tgz#39fe763bc8b675331a8d4b1652589d3dd494a52d" + integrity sha512-/E1KZWjC8sUiLwf5RoJHydPY0e6bT1o9+GRtyexj+GtY77kEZpES4Pcdmd+b5ZhefAhk26AOSHnnMcDMrGxBxg== dependencies: "@babel/runtime" "^7.6.2" - "@react-aria/interactions" "^3.2.0" - "@react-aria/utils" "^3.2.1" - "@react-types/shared" "^3.2.0" + "@react-aria/interactions" "^3.2.1" + "@react-aria/utils" "^3.3.0" + "@react-types/shared" "^3.2.1" clsx "^1.1.1" -"@react-aria/i18n@^3.1.0": - version "3.1.1" - resolved "https://registry.yarnpkg.com/@react-aria/i18n/-/i18n-3.1.1.tgz#f92d9d2577ed4d7993b6ac3553b7c9da8dcdfa73" - integrity sha512-O38pZF2uFjU7bOce8+zWMrNw1RQa4FXsUd/D9VKOB+qKZUqYcfGlecZoXzDjiSym7zCBzX9ABK0e3AgbbLbugQ== +"@react-aria/i18n@^3.1.2": + version "3.1.2" + resolved "https://registry.yarnpkg.com/@react-aria/i18n/-/i18n-3.1.2.tgz#a59fcd14f985aaa9047fcf3ff0d17fedfa26521e" + integrity sha512-JFEeIQjiwgima2Ipz1s07puMujBMrlRXF4tUaKALR3851SM5zLbckePuNGHI4KMVK1ZfO5Br9jbUT60Mdotk3A== dependencies: "@babel/runtime" "^7.6.2" - "@react-aria/ssr" "^3.0.0" - "@react-types/shared" "^3.1.0" + "@react-aria/ssr" "^3.0.1" + "@react-types/shared" "^3.2.1" intl-messageformat "^2.2.0" -"@react-aria/interactions@^3.2.0": - version "3.2.0" - resolved "https://registry.yarnpkg.com/@react-aria/interactions/-/interactions-3.2.0.tgz#43d28489f8e1ec333127221ed1a2a7c92783dd01" - integrity sha512-NhXnEOimpp+3K5XUbiM4DxhZ2LykT1Vy7iGaRk1alm7S//y+dxzNm7VzvjAI2+YeMbv6TbdtiPVfXB/+Xi+D9w== +"@react-aria/interactions@^3.2.1": + version "3.2.1" + resolved "https://registry.yarnpkg.com/@react-aria/interactions/-/interactions-3.2.1.tgz#ac009d553af37399b335980b390ccb727a778367" + integrity sha512-ht78rUBzSZNYfBaEK3SzxbnP7YjZFmMJ31tUO8CqVKyl3/87qk5obmuJCUW3LsB2lgHciTYxwYZ1NjlaGRVxzg== dependencies: "@babel/runtime" "^7.6.2" - "@react-aria/utils" "^3.2.0" - "@react-types/shared" "^3.2.0" + "@react-aria/utils" "^3.3.0" + "@react-types/shared" "^3.2.1" -"@react-aria/ssr@^3.0.0": - version "3.0.0" - resolved "https://registry.yarnpkg.com/@react-aria/ssr/-/ssr-3.0.0.tgz#6e31ac63f2ee3f6b706ef6ffc72858114b19c2ca" - integrity sha512-io9JKsc2Op4npPW5mqAEewA3KmOaV4+B4DA6PRFYLQI8DN83XuxTN8NFFmCCwPbqzQcPoT/y3c//Vx6tX3XM8w== +"@react-aria/ssr@^3.0.1": + version "3.0.1" + resolved "https://registry.yarnpkg.com/@react-aria/ssr/-/ssr-3.0.1.tgz#5f7c111f9ecd184b8f6140139703c1ee552dca30" + integrity sha512-rweMNcSkUO4YkcmgFIoZFvgPyHN2P9DOjq3VOHnZ8SG3Y4TTvSY6Iv90KgzeEfmWCUqqt65FYH4JgrpGNToEMw== dependencies: "@babel/runtime" "^7.6.2" -"@react-aria/utils@^3.2.0", "@react-aria/utils@^3.2.1": - version "3.2.1" - resolved "https://registry.yarnpkg.com/@react-aria/utils/-/utils-3.2.1.tgz#9242308ee9f1106a6bd9cb3af8702bf6528d110a" - integrity sha512-6Kto7wg2Wd6C2AeRxMxtYLIEigqscLhVxeeLQCiH+w4x3St72lZIH6p6zn+NVUIybkHE5p4ipfYUdhKJexFNxQ== +"@react-aria/utils@^3.3.0": + version "3.3.0" + resolved "https://registry.yarnpkg.com/@react-aria/utils/-/utils-3.3.0.tgz#8d5d026ce93e25839b4bc61d40839afaf15fd04d" + integrity sha512-PPsOVr0bT3ErMrP5gDa/MDK5zUC7eWWZc+Tcxqrbluh6AFgiq2YLSnDwit+KMPDvj0R+Fx6G7Akt9XQG9r+COQ== dependencies: "@babel/runtime" "^7.6.2" - "@react-aria/ssr" "^3.0.0" - "@react-types/shared" "^3.2.0" + "@react-aria/ssr" "^3.0.1" + "@react-types/shared" "^3.2.1" clsx "^1.1.1" -"@react-stately/toggle@^3.2.0": - version "3.2.0" - resolved "https://registry.yarnpkg.com/@react-stately/toggle/-/toggle-3.2.0.tgz#35a9edcd1c47bfb9d2744d9fb08cfd6d7cb14b9b" - integrity sha512-NQUP1WrIxQcB466PueZNJLcNoN1RJ42k/RjZRVvNyeSmnqJ6EwCylT5ZR3rUR/8T4Uggu+99laNkERFifnSlyQ== +"@react-stately/toggle@^3.2.1": + version "3.2.1" + resolved "https://registry.yarnpkg.com/@react-stately/toggle/-/toggle-3.2.1.tgz#8b10b5eb99c3c4df2c36d17a5f23b77773ed7722" + integrity sha512-gZVuJ8OYoATUoXzdprsyx6O1w3wCrN+J0KnjhrjjKTrBG68n3pZH0p6dM0XpsaCzlSv0UgNa4fhHS3dYfr/ovw== dependencies: "@babel/runtime" "^7.6.2" - "@react-stately/utils" "^3.1.0" - "@react-types/checkbox" "^3.1.0" - "@react-types/shared" "^3.2.0" + "@react-stately/utils" "^3.1.1" + "@react-types/checkbox" "^3.2.1" + "@react-types/shared" "^3.2.1" -"@react-stately/utils@^3.1.0": - version "3.1.0" - resolved "https://registry.yarnpkg.com/@react-stately/utils/-/utils-3.1.0.tgz#16cade0ec299241e261f6b9cca81a15e2eada23c" - integrity sha512-0I89fBhhcLGGD9YCdWrUW7KcOIxD2XT0JMhElghytMvKatIDj8Ugmw5wkBy0FKVqHoJbTJ1PtoQ9cxhZMdJ0FQ== +"@react-stately/utils@^3.1.1": + version "3.1.1" + resolved "https://registry.yarnpkg.com/@react-stately/utils/-/utils-3.1.1.tgz#e2f2c3ef81cfc6850a3418cb0f050c33d123620a" + integrity sha512-htG4TicI4SKxfD5sEKYGxlMeQ5/+TuWPtnhRMbRqdmqnfkVxO/PoaQeEF+xUMWM9VCZc69ZFH6Qen1eZ/JfFcQ== dependencies: "@babel/runtime" "^7.6.2" -"@react-types/button@^3.2.0": - version "3.2.0" - resolved "https://registry.yarnpkg.com/@react-types/button/-/button-3.2.0.tgz#797d9fd00b4b3d8066d38833b80cce2298e554c3" - integrity sha512-KwNE33u13nMq1c5At9clr4Hcl+UkL1wUWWGeMl3Q2t19TI7z7nDjb02wJdxs2uKXBgc4FT2ln53i0K1AQ1JZ0w== +"@react-types/button@^3.2.1": + version "3.2.1" + resolved "https://registry.yarnpkg.com/@react-types/button/-/button-3.2.1.tgz#47170f8d7107115380dfd54ee3f699d3bef121de" + integrity sha512-k4pyQ01Unkr+Jx5tGESSsbqDXID7s/sEXZbrT+JPx/3Ot4Du86mGjlDIOChd7Iq1koGBirJuGY8X5nk4zCUvdg== dependencies: - "@react-types/shared" "^3.2.0" + "@react-types/shared" "^3.2.1" -"@react-types/checkbox@^3.1.0": - version "3.2.0" - resolved "https://registry.yarnpkg.com/@react-types/checkbox/-/checkbox-3.2.0.tgz#a77dd9378449760494ce7cf56492aa61b6357bc3" - integrity sha512-XTuB7xEy+PaKkKNRcPRc4fIbmH212ryoiaa5qnp7nyJnUuiYwEi/QWTDdLUcP/tf36Mi3jY+0CcvtlGKLH11mA== +"@react-types/checkbox@^3.2.1": + version "3.2.1" + resolved "https://registry.yarnpkg.com/@react-types/checkbox/-/checkbox-3.2.1.tgz#971dfd8428e43ce34b063388d1c742bbba0a8dc6" + integrity sha512-nm/j8JQWAayFEvs5Hicf9/DBrdnc/CwbXQtN3dC+ehERFu9BtxP6Bt6p7qmhvAJtuUnTh85+zY148BITiyQYtQ== dependencies: - "@react-types/shared" "^3.1.0" + "@react-types/shared" "^3.2.1" -"@react-types/shared@^3.1.0", "@react-types/shared@^3.2.0": - version "3.2.0" - resolved "https://registry.yarnpkg.com/@react-types/shared/-/shared-3.2.0.tgz#531c320e6b8f01f614336c14cee50ecf9fca4a4d" - integrity sha512-0oVULza+qc8+j7I9OB74FVjbrH6JzUAYDAkTYXbsaPt/w4quAlgd4ADy9yxIVYyN1GCXp/z0AUuocaYDHA8O6Q== +"@react-types/shared@^3.2.1": + version "3.2.1" + resolved "https://registry.yarnpkg.com/@react-types/shared/-/shared-3.2.1.tgz#cbcffec02a7592f019916e4bd0807950a1376bcf" + integrity sha512-Yi+zB+wvIGrxomjG7JZWsOPm8/tKPBtEsJI4cS2QbSho/bQWsw6xufJ6YlXxmx4BiBcktkp5VeP43E5nWqMQ5w== "@rollup/plugin-alias@^3.1.1": version "3.1.1" @@ -1801,23 +1801,17 @@ dependencies: "@sinonjs/commons" "^1.7.0" -"@stitches/core@^0.0.3-canary.1": - version "0.0.3-canary.1" - resolved "https://registry.yarnpkg.com/@stitches/core/-/core-0.0.3-canary.1.tgz#cae76be9388889090df83cab7e7ba90d2233d1ab" - integrity sha512-HhTTkax8Yz6LMDXwVaPk9ZhEA167bUWHABPbIQFpmIIzuYtQ4W8Ju4i/0yR+/kOl2bqaV/zrx11nXEBPDQPj1g== - dependencies: - "@types/node" "^13.11.1" - tslib "^1.11.1" +"@stitches/core@^0.0.3-canary.2": + version "0.0.3-canary.2" + resolved "https://registry.yarnpkg.com/@stitches/core/-/core-0.0.3-canary.2.tgz#01949caa1d68766584caae0332577168d9e1bd79" + integrity sha512-/XoN4uXxRoIlWoHkr8nRujxjRAIG3zHKGPZtk40Ll+ug5qRIOSHCqDh+DGJfNpApy2W3/MRNG1ILvjKt2hCdug== -"@stitches/react@^0.0.3-canary.1": - version "0.0.3-canary.1" - resolved "https://registry.yarnpkg.com/@stitches/react/-/react-0.0.3-canary.1.tgz#80a0eb66910db7f506399feb0df4e50ce5a9e9e2" - integrity sha512-PGFUhGXM1IB5e8ruU/fzqtUdiujYiKkpYguO6L5XI2InOvm9+5zaLeoWvuCKifHD5ntjq09RxcCLK/pdq1V5SA== +"@stitches/react@^0.0.3-canary.3": + version "0.0.3-canary.3" + resolved "https://registry.yarnpkg.com/@stitches/react/-/react-0.0.3-canary.3.tgz#92ff2597bd0da8dcf803a17f76d5630babf38687" + integrity sha512-CL68oNk4lSOGMNUkr5d9ZN5x1g6UKwDbdOiQiyx3QlH/BbQTavQi3t5rI1Abvk4Dxd3hrO3Z44xNgbAHl+NY8w== dependencies: - "@stitches/core" "^0.0.3-canary.1" - "@types/node" "^13.11.1" - "@types/react-test-renderer" "^16.9.3" - tslib "^1.11.1" + "@stitches/core" "^0.0.3-canary.2" "@styled-system/background@^5.1.2": version "5.1.2" @@ -2042,11 +2036,6 @@ resolved "https://registry.yarnpkg.com/@types/node/-/node-14.11.2.tgz#2de1ed6670439387da1c9f549a2ade2b0a799256" integrity sha512-jiE3QIxJ8JLNcb1Ps6rDbysDhN4xa8DJJvuC9prr6w+1tIh+QAbYyNF3tyiZNLDBIuBCf4KEcV2UvQm/V60xfA== -"@types/node@^13.11.1": - version "13.13.21" - resolved "https://registry.yarnpkg.com/@types/node/-/node-13.13.21.tgz#e48d3c2e266253405cf404c8654d1bcf0d333e5c" - integrity sha512-tlFWakSzBITITJSxHV4hg4KvrhR/7h3xbJdSFbYJBVzKubrASbnnIFuSgolUh7qKGo/ZeJPKUfbZ0WS6Jp14DQ== - "@types/normalize-package-data@^2.4.0": version "2.4.0" resolved "https://registry.yarnpkg.com/@types/normalize-package-data/-/normalize-package-data-2.4.0.tgz#e486d0d97396d79beedd0a6e33f4534ff6b4973e" @@ -2084,17 +2073,10 @@ dependencies: "@types/react" "*" -"@types/react-test-renderer@^16.9.3": - version "16.9.3" - resolved "https://registry.yarnpkg.com/@types/react-test-renderer/-/react-test-renderer-16.9.3.tgz#96bab1860904366f4e848b739ba0e2f67bcae87e" - integrity sha512-wJ7IlN5NI82XMLOyHSa+cNN4Z0I+8/YaLl04uDgcZ+W+ExWCmCiVTLT/7fRNqzy4OhStZcUwIqLNF7q+AdW43Q== - dependencies: - "@types/react" "*" - -"@types/react@*", "@types/react@^16.8.10", "@types/react@^16.9.35", "@types/react@^16.9.49": - version "16.9.49" - resolved "https://registry.yarnpkg.com/@types/react/-/react-16.9.49.tgz#09db021cf8089aba0cdb12a49f8021a69cce4872" - integrity sha512-DtLFjSj0OYAdVLBbyjhuV9CdGVHCkHn2R+xr3XkBvK2rS1Y1tkc14XSGjYgm5Fjjr90AxH9tiSzc1pCFMGO06g== +"@types/react@*", "@types/react@^16.8.10", "@types/react@^16.9.35", "@types/react@^16.9.50": + version "16.9.50" + resolved "https://registry.yarnpkg.com/@types/react/-/react-16.9.50.tgz#cb5f2c22d42de33ca1f5efc6a0959feb784a3a2d" + integrity sha512-kPx5YsNnKDJejTk1P+lqThwxN2PczrocwsvqXnjvVvKpFescoY62ZiM3TV7dH1T8lFhlHZF+PE5xUyimUwqEGA== dependencies: "@types/prop-types" "*" csstype "^3.0.2" @@ -2678,8 +2660,6 @@ assert@1.4.1: version "1.4.1" resolved "https://registry.yarnpkg.com/assert/-/assert-1.4.1.tgz#99912d591836b5a6f5b345c0f07eefc08fc65d91" integrity sha1-mZEtWRg2tab1s0XA8H7vwI/GXZE= - dependencies: - util "0.10.3" assert@^1.1.1: version "1.5.0" @@ -3298,9 +3278,9 @@ caniuse-api@^3.0.0: lodash.uniq "^4.5.0" caniuse-lite@^1.0.0, caniuse-lite@^1.0.30001093, caniuse-lite@^1.0.30001109, caniuse-lite@^1.0.30001113, caniuse-lite@^1.0.30001135: - version "1.0.30001137" - resolved "https://registry.yarnpkg.com/caniuse-lite/-/caniuse-lite-1.0.30001137.tgz#6f0127b1d3788742561a25af3607a17fc778b803" - integrity sha512-54xKQZTqZrKVHmVz0+UvdZR6kQc7pJDgfhsMYDG19ID1BWoNnDMFm5Q3uSBSU401pBvKYMsHAt9qhEDcxmk8aw== + version "1.0.30001142" + resolved "https://registry.yarnpkg.com/caniuse-lite/-/caniuse-lite-1.0.30001142.tgz#a8518fdb5fee03ad95ac9f32a9a1e5999469c250" + integrity sha512-pDPpn9ankEpBFZXyCv2I4lh1v/ju+bqb78QfKf+w9XgDAFWBwSYPswXqprRdrgQWK0wQnpIbfwRjNHO1HWqvoQ== capture-exit@^2.0.0: version "2.0.0" @@ -3443,9 +3423,6 @@ cipher-base@^1.0.0, cipher-base@^1.0.1, cipher-base@^1.0.3: version "1.0.4" resolved "https://registry.yarnpkg.com/cipher-base/-/cipher-base-1.0.4.tgz#8760e4ecc272f4c363532f926d874aae2c1397de" integrity sha512-Kkht5ye6ZGmwv40uUDZztayT2ThLQGfnj/T71N/XzeZeo3nf8foyW7zGTsPYkEya3m5f3cAypH+qe7YOrM1U2Q== - dependencies: - inherits "^2.0.1" - safe-buffer "^5.0.1" class-utils@^0.3.5: version "0.3.6" @@ -3800,6 +3777,13 @@ cross-fetch@3.0.5: dependencies: node-fetch "2.6.0" +cross-fetch@3.0.6: + version "3.0.6" + resolved "https://registry.yarnpkg.com/cross-fetch/-/cross-fetch-3.0.6.tgz#3a4040bc8941e653e0e9cf17f29ebcd177d3365c" + integrity sha512-KBPUbqgFjzWlVcURG+Svp9TlhA5uliYtiNx/0r8nv0pdypeQCRJ9IaSIc3q/x3q8t3F75cHuwxVql1HFGHCNJQ== + dependencies: + node-fetch "2.6.1" + cross-spawn@^6.0.0, cross-spawn@^6.0.5: version "6.0.5" resolved "https://registry.yarnpkg.com/cross-spawn/-/cross-spawn-6.0.5.tgz#4a5ec7c64dfae22c3a14124dbacdee846d80cbc4" @@ -3921,9 +3905,9 @@ css-tree@1.0.0-alpha.39: source-map "^0.6.1" css-what@^3.2.1: - version "3.3.0" - resolved "https://registry.yarnpkg.com/css-what/-/css-what-3.3.0.tgz#10fec696a9ece2e591ac772d759aacabac38cd39" - integrity sha512-pv9JPyatiPaQ6pf4OvD/dbfm0o5LviWmwxNWzblYf/1u9QZd0ihV+PMwy5jdQWQ3349kZmKEx9WXuSka2dM4cg== + version "3.4.1" + resolved "https://registry.yarnpkg.com/css-what/-/css-what-3.4.1.tgz#81cb70b609e4b1351b1e54cbc90fd9c54af86e2e" + integrity sha512-wHOppVDKl4vTAOWzJt5Ek37Sgd9qq1Bmj/T1OjvicWbU5W7ru7Pqbn0Jdqii3Drx/h+dixHKXNhZYx7blthL7g== css.escape@^1.5.0: version "1.5.1" @@ -4275,10 +4259,10 @@ doctrine@^3.0.0: dependencies: esutils "^2.0.2" -dokz@^1.0.77: - version "1.0.77" - resolved "https://registry.yarnpkg.com/dokz/-/dokz-1.0.77.tgz#7e7c6b5eba7e956cbbbc775afc17420455343d87" - integrity sha512-gk2zCaniLUFVOx7p20X1emJOzcEhgbEcncahbPmi3y4sjcdYUyC5qO+tMod/eSRO9Skgw37m0TbTDvfACxphjg== +dokz@^1.0.79: + version "1.0.79" + resolved "https://registry.yarnpkg.com/dokz/-/dokz-1.0.79.tgz#1bc495fb7f620550ace384eeb8efe4353db14ab3" + integrity sha512-T6JIKgU0MnKGinUdBX5BKx7J54RcsTo3anUKVVgZWnSkolNpRcHFPyocG+bSdk8o0auLjJZ7yC5Pk0EIVz1Tiw== dependencies: "@babel/generator" "^7.10.2" "@babel/parser" "^7.10.2" @@ -4567,37 +4551,37 @@ error-ex@^1.2.0, error-ex@^1.3.1: is-arrayish "^0.2.1" es-abstract@^1.17.0, es-abstract@^1.17.0-next.1, es-abstract@^1.17.2, es-abstract@^1.17.5: - version "1.17.6" - resolved "https://registry.yarnpkg.com/es-abstract/-/es-abstract-1.17.6.tgz#9142071707857b2cacc7b89ecb670316c3e2d52a" - integrity sha512-Fr89bON3WFyUi5EvAeI48QTWX0AyekGgLA8H+c+7fbfCkJwRWRMLd8CQedNEyJuoYYhmtEqY92pgte1FAhBlhw== + version "1.17.7" + resolved "https://registry.yarnpkg.com/es-abstract/-/es-abstract-1.17.7.tgz#a4de61b2f66989fc7421676c1cb9787573ace54c" + integrity sha512-VBl/gnfcJ7OercKA9MVaegWsBHFjV492syMudcnQZvt/Dw8ezpcOHYZXa/J96O8vx+g4x65YKhxOwDUh63aS5g== dependencies: es-to-primitive "^1.2.1" function-bind "^1.1.1" has "^1.0.3" has-symbols "^1.0.1" - is-callable "^1.2.0" - is-regex "^1.1.0" - object-inspect "^1.7.0" + is-callable "^1.2.2" + is-regex "^1.1.1" + object-inspect "^1.8.0" object-keys "^1.1.1" - object.assign "^4.1.0" + object.assign "^4.1.1" string.prototype.trimend "^1.0.1" string.prototype.trimstart "^1.0.1" es-abstract@^1.18.0-next.0: - version "1.18.0-next.0" - resolved "https://registry.yarnpkg.com/es-abstract/-/es-abstract-1.18.0-next.0.tgz#b302834927e624d8e5837ed48224291f2c66e6fc" - integrity sha512-elZXTZXKn51hUBdJjSZGYRujuzilgXo8vSPQzjGYXLvSlGiCo8VO8ZGV3kjo9a0WNJJ57hENagwbtlRuHuzkcQ== + version "1.18.0-next.1" + resolved "https://registry.yarnpkg.com/es-abstract/-/es-abstract-1.18.0-next.1.tgz#6e3a0a4bda717e5023ab3b8e90bec36108d22c68" + integrity sha512-I4UGspA0wpZXWENrdA0uHbnhte683t3qT/1VFH9aX2dA5PPSf6QW5HHXf5HImaqPmjXaVeVk4RGWnaylmV7uAA== dependencies: es-to-primitive "^1.2.1" function-bind "^1.1.1" has "^1.0.3" has-symbols "^1.0.1" - is-callable "^1.2.0" + is-callable "^1.2.2" is-negative-zero "^2.0.0" is-regex "^1.1.1" object-inspect "^1.8.0" object-keys "^1.1.1" - object.assign "^4.1.0" + object.assign "^4.1.1" string.prototype.trimend "^1.0.1" string.prototype.trimstart "^1.0.1" @@ -4745,10 +4729,10 @@ eslint-plugin-react-hooks@^4.1.2: resolved "https://registry.yarnpkg.com/eslint-plugin-react-hooks/-/eslint-plugin-react-hooks-4.1.2.tgz#2eb53731d11c95826ef7a7272303eabb5c9a271e" integrity sha512-ykUeqkGyUGgwTtk78C0o8UG2fzwmgJ0qxBGPp2WqRKsTwcLuVf01kTDRAtOsd4u6whX2XOC8749n2vPydP82fg== -eslint-plugin-react@^7.21.2: - version "7.21.2" - resolved "https://registry.yarnpkg.com/eslint-plugin-react/-/eslint-plugin-react-7.21.2.tgz#3bd5d2c4c36d5a0428d0d6dda301ac9a84d681b2" - integrity sha512-j3XKvrK3rpBzveKFbgAeGsWb9uz6iUOrR0jixRfjwdFeGSRsXvVTFtHDQYCjsd1/6Z/xvb8Vy3LiI5Reo7fDrg== +eslint-plugin-react@^7.21.3: + version "7.21.3" + resolved "https://registry.yarnpkg.com/eslint-plugin-react/-/eslint-plugin-react-7.21.3.tgz#71655d2af5155b19285ec929dd2cdc67a4470b52" + integrity sha512-OI4GwTCqyIb4ipaOEGLWdaOHCXZZydStAsBEPB2e1ZfNM37bojpgO1BoOQbFb0eLVz3QLDx7b+6kYcrxCuJfhw== dependencies: array-includes "^3.1.1" array.prototype.flatmap "^1.2.3" @@ -6033,7 +6017,7 @@ is-buffer@^2.0.0: resolved "https://registry.yarnpkg.com/is-buffer/-/is-buffer-2.0.4.tgz#3e572f23c8411a5cfd9557c849e3665e0b290623" integrity sha512-Kq1rokWXOPXWuaMAqZiJW4XxsmD9zGx9q4aePabbn3qCRGedtH7Cm+zV8WETitMfu1wdh+Rvd6w5egwSngUX2A== -is-callable@^1.1.4, is-callable@^1.2.0: +is-callable@^1.1.4, is-callable@^1.2.2: version "1.2.2" resolved "https://registry.yarnpkg.com/is-callable/-/is-callable-1.2.2.tgz#c7c6715cd22d4ddb48d3e19970223aceabb080d9" integrity sha512-dnMqspv5nU3LoewK2N/y7KLtxtakvTuaCsU9FU50/QDmdbHNy/4/JuRtMHqRU22o3q+W89YQndQEeCVwK+3qrA== @@ -6216,7 +6200,7 @@ is-reference@^1.1.2: dependencies: "@types/estree" "*" -is-regex@^1.1.0, is-regex@^1.1.1: +is-regex@^1.1.1: version "1.1.1" resolved "https://registry.yarnpkg.com/is-regex/-/is-regex-1.1.1.tgz#c6f98aacc546f6cec5468a07b7b153ab564a57b9" integrity sha512-1+QkEcxiLlB7VEyFtyBg94e08OAsvq7FUBgApTq/w2ymCLyKJgDPsybBENVtA7XCQEgEXxKPonG+mvYRxh/LIg== @@ -7657,6 +7641,11 @@ node-fetch@2.6.0: resolved "https://registry.yarnpkg.com/node-fetch/-/node-fetch-2.6.0.tgz#e633456386d4aa55863f676a7ab0daa8fdecb0fd" integrity sha512-8dG4H5ujfvFiqDmVu9fQ5bOHUC15JMjMY/Zumv26oOvvVJjM67KF8koCWIabKQ1GJIa9r2mMZscBq/TbdOcmNA== +node-fetch@2.6.1: + version "2.6.1" + resolved "https://registry.yarnpkg.com/node-fetch/-/node-fetch-2.6.1.tgz#045bd323631f76ed2e2b55573394416b639a0052" + integrity sha512-V4aYg89jEoVRxRb2fJdAg8FHvI7cEyYdVAh94HH0UIK8oJxUfkjlDQN9RbMx+bEjP7+ggMiFRprSti032Oipxw== + node-fetch@^1.0.1: version "1.7.3" resolved "https://registry.yarnpkg.com/node-fetch/-/node-fetch-1.7.3.tgz#980f6f72d85211a5347c6b2bc18c5b84c3eb47ef" @@ -7835,7 +7824,7 @@ object-copy@^0.1.0: define-property "^0.2.5" kind-of "^3.0.3" -object-inspect@^1.7.0, object-inspect@^1.8.0: +object-inspect@^1.8.0: version "1.8.0" resolved "https://registry.yarnpkg.com/object-inspect/-/object-inspect-1.8.0.tgz#df807e5ecf53a609cc6bfe93eac3cc7be5b3a9d0" integrity sha512-jLdtEOB112fORuypAyl/50VRVIBIdVQOSUUGQHzJ4xBSbit81zRarz7GThkEFZy1RceYrWYcPcBFPQwHyAc1gA== @@ -7857,7 +7846,7 @@ object-visit@^1.0.0: dependencies: isobject "^3.0.0" -object.assign@^4.1.0: +object.assign@^4.1.0, object.assign@^4.1.1: version "4.1.1" resolved "https://registry.yarnpkg.com/object.assign/-/object.assign-4.1.1.tgz#303867a666cdd41936ecdedfb1f8f3e32a478cdd" integrity sha512-VT/cxmx5yaoHSOTSyrCygIDFco+RsibY2NM0a4RdEeY/4KgqezwFtK1yr3U67xYhqJSlASm2pKhLVzPj2lr4bA== @@ -7898,8 +7887,6 @@ object.pick@^1.3.0: version "1.3.0" resolved "https://registry.yarnpkg.com/object.pick/-/object.pick-1.3.0.tgz#87a10ac4c1694bd2e1cbf53591a66141fb5dd747" integrity sha1-h6EKxMFpS9Lhy/U1kaZhQftd10c= - dependencies: - isobject "^3.0.1" object.values@^1.1.0, object.values@^1.1.1: version "1.1.1" @@ -8298,9 +8285,9 @@ posix-character-classes@^0.1.0: integrity sha1-AerA/jta9xoqbAL+q7jB/vfgDqs= postcss-calc@^7.0.1: - version "7.0.4" - resolved "https://registry.yarnpkg.com/postcss-calc/-/postcss-calc-7.0.4.tgz#5e177ddb417341e6d4a193c5d9fd8ada79094f8b" - integrity sha512-0I79VRAd1UTkaHzY9w83P39YGO/M3bG7/tNLrHGEunBolfoGM0hSjrGvjoeaj0JE/zIw5GsI2KZ0UwDJqv5hjw== + version "7.0.5" + resolved "https://registry.yarnpkg.com/postcss-calc/-/postcss-calc-7.0.5.tgz#f8a6e99f12e619c2ebc23cf6c486fdc15860933e" + integrity sha512-1tKHutbGtLtEZF6PT4JSihCHfIVldU72mZ8SdZHIYriIZ9fh9k9aWSppaT8rHsyI3dX+KSR+W+Ix9BMY3AODrg== dependencies: postcss "^7.0.27" postcss-selector-parser "^6.0.2" @@ -10610,7 +10597,7 @@ tslib@1.10.0: resolved "https://registry.yarnpkg.com/tslib/-/tslib-1.10.0.tgz#c3c19f95973fb0a62973fb09d90d961ee43e5c8a" integrity sha512-qOebF53frne81cf0S9B41ByenJ3/IuH8yJKngAX35CmiZySA0khhkovshKK+jGCaMnVomla7gVlIcc3EvKPbTQ== -tslib@^1.0.0, tslib@^1.10.0, tslib@^1.11.1, tslib@^1.11.2, tslib@^1.13.0, tslib@^1.8.1, tslib@^1.9.0, tslib@^1.9.3: +tslib@^1.0.0, tslib@^1.10.0, tslib@^1.11.2, tslib@^1.13.0, tslib@^1.8.1, tslib@^1.9.0, tslib@^1.9.3: version "1.13.0" resolved "https://registry.yarnpkg.com/tslib/-/tslib-1.13.0.tgz#c881e13cc7015894ed914862d276436fa9a47043" integrity sha512-i/6DQjL8Xf3be4K/E6Wgpekn5Qasl1usyw++dAA35Ue5orEn65VIxOA+YvNNl9HV3qv70T7CNwjODHZrLwvd1Q== @@ -11197,9 +11184,9 @@ whatwg-url@^7.0.0: webidl-conversions "^4.0.2" whatwg-url@^8.0.0: - version "8.2.2" - resolved "https://registry.yarnpkg.com/whatwg-url/-/whatwg-url-8.2.2.tgz#85e7f9795108b53d554cec640b2e8aee2a0d4bfd" - integrity sha512-PcVnO6NiewhkmzV0qn7A+UZ9Xx4maNTI+O+TShmfE4pqjoCMwUMjkvoNhNHPTvgR7QH9Xt3R13iHuWy2sToFxQ== + version "8.3.0" + resolved "https://registry.yarnpkg.com/whatwg-url/-/whatwg-url-8.3.0.tgz#d1e11e565334486cdb280d3101b9c3fd1c867582" + integrity sha512-BQRf/ej5Rp3+n7k0grQXZj9a1cHtsp4lqj01p59xBWFKdezR8sO37XnpafwNqiFac/v2Il12EIMjX/Y4VZtT8Q== dependencies: lodash.sortby "^4.7.0" tr46 "^2.0.2"