From da1a11b0f8fe2803cb4fc8cb35e759c178ce6916 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Connor=20B=C3=A4r?= Date: Wed, 17 May 2023 11:03:36 +0200 Subject: [PATCH] Introduce experimental and legacy component status (#2094) --- .changeset/early-seahorses-whisper.md | 18 ++ .changeset/metal-bugs-melt.md | 10 + .changeset/pretty-bananas-juggle.md | 10 + .storybook/components/Statuses.tsx | 76 +++-- ...=> 5-browser-support-for-contributors.mdx} | 0 docs/contributing/5-deprecations.mdx | 16 - docs/introduction/3-component-lifecycle.mdx | 61 ++++ ...wser-support.mdx => 4-browser-support.mdx} | 0 package-lock.json | 296 ++++++++++++------ .../circuit-ui/components/Anchor/Anchor.mdx | 2 +- .../circuit-ui/components/Avatar/Avatar.mdx | 2 +- .../circuit-ui/components/Badge/Badge.mdx | 2 +- packages/circuit-ui/components/Body/Body.mdx | 2 +- .../components/BodyLarge/BodyLarge.mdx | 2 +- .../circuit-ui/components/Button/Button.mdx | 2 +- .../components/ButtonGroup/ButtonGroup.mdx | 2 +- .../Calendar/RangePicker.stories.tsx | 2 +- .../components/Calendar/RangePicker.tsx | 5 + .../Calendar/RangePickerController.tsx | 2 + .../components/Calendar/SingleDayPicker.tsx | 5 + .../components/Calendar/calendar.mdx | 33 +- .../components/CalendarTag/CalendarTag.tsx | 3 + .../CalendarTagTwoStep/CalendarTagTwoStep.tsx | 2 + packages/circuit-ui/components/Card/Card.mdx | 2 +- .../components/Carousel/Carousel.mdx | 4 +- .../components/Checkbox/Checkbox.mdx | 2 +- .../CurrencyInput/CurrencyInput.mdx | 2 +- packages/circuit-ui/components/Grid/Grid.mdx | 2 +- .../components/Headline/Headline.mdx | 2 +- packages/circuit-ui/components/Hr/Hr.mdx | 2 +- .../circuit-ui/components/Image/Image.mdx | 2 +- .../components/ImageInput/ImageInput.mdx | 2 +- .../circuit-ui/components/Input/Input.mdx | 2 +- packages/circuit-ui/components/List/List.mdx | 2 +- .../components/ListItem/ListItem.mdx | 2 +- .../ListItemGroup/ListItemGroup.mdx | 2 +- .../circuit-ui/components/Modal/Modal.mdx | 2 +- .../NotificationBanner/NotificationBanner.mdx | 2 +- .../NotificationFullscreen.mdx | 2 +- .../NotificationInline/NotificationInline.mdx | 2 +- .../NotificationModal/NotificationModal.mdx | 2 +- .../NotificationToast/NotificationToast.mdx | 2 +- .../components/Pagination/Pagination.mdx | 2 +- .../components/ProgressBar/ProgressBar.mdx | 2 +- .../components/RadioButton/RadioButton.mdx | 2 +- .../components/SearchInput/SearchInput.mdx | 2 +- .../circuit-ui/components/Select/Select.mdx | 2 +- .../components/Selector/Selector.mdx | 2 +- .../SideNavigation/SideNavigation.mdx | 2 +- .../components/SidePanel/SidePanel.mdx | 2 +- .../circuit-ui/components/Sidebar/Sidebar.mdx | 2 +- .../circuit-ui/components/Sidebar/Sidebar.tsx | 21 ++ .../circuit-ui/components/Spinner/Spinner.mdx | 2 +- packages/circuit-ui/components/Step/Step.mdx | 4 +- .../components/SubHeadline/SubHeadline.mdx | 2 +- .../circuit-ui/components/Table/Table.mdx | 2 +- packages/circuit-ui/components/Tabs/Tabs.mdx | 2 +- packages/circuit-ui/components/Tag/Tag.mdx | 2 +- .../components/TextArea/TextArea.mdx | 2 +- .../circuit-ui/components/Title/Title.mdx | 2 +- .../circuit-ui/components/Toggle/Toggle.mdx | 2 +- .../circuit-ui/components/Tooltip/Tooltip.mdx | 2 +- .../circuit-ui/components/Tooltip/Tooltip.tsx | 2 +- .../TopNavigation/TopNavigation.mdx | 2 +- .../hooks/useClickOutside/useClickOutside.mdx | 2 +- .../hooks/useCollapsible/useCollapsible.mdx | 2 +- .../hooks/useEscapeKey/useEscapeKey.mdx | 2 +- .../hooks/useFocusList/useFocusList.mdx | 2 +- packages/circuit-ui/index.ts | 25 +- packages/circuit-ui/legacy.ts | 43 +++ packages/circuit-ui/package.json | 18 +- packages/circuit-ui/styles/style-mixins.mdx | 2 +- packages/circuit-ui/tsconfig.json | 3 +- 73 files changed, 501 insertions(+), 256 deletions(-) create mode 100644 .changeset/early-seahorses-whisper.md create mode 100644 .changeset/metal-bugs-melt.md create mode 100644 .changeset/pretty-bananas-juggle.md rename docs/contributing/{6-browser-support-for-contributors.mdx => 5-browser-support-for-contributors.mdx} (100%) delete mode 100644 docs/contributing/5-deprecations.mdx create mode 100644 docs/introduction/3-component-lifecycle.mdx rename docs/introduction/{3-browser-support.mdx => 4-browser-support.mdx} (100%) create mode 100644 packages/circuit-ui/legacy.ts diff --git a/.changeset/early-seahorses-whisper.md b/.changeset/early-seahorses-whisper.md new file mode 100644 index 0000000000..dbee82f796 --- /dev/null +++ b/.changeset/early-seahorses-whisper.md @@ -0,0 +1,18 @@ +--- +'@sumup/circuit-ui': major +--- + +Moved the SingleDayPicker, RangePicker, CalendarTag, and CalendarTagTwoStep components to the ["legacy" status](https://circuit.sumup.com/?path=/docs/introduction-component-lifecycle--docs). + +Install the optional peer dependencies... + +```bash +npm install react-dates@^21.8 moment@^2.29 +``` + +...and update your imports: + +```diff +-import { SingleDayPicker } from '@sumup/circuit-ui'; ++import { SingleDayPicker } from '@sumup/circuit-ui/legacy'; +``` diff --git a/.changeset/metal-bugs-melt.md b/.changeset/metal-bugs-melt.md new file mode 100644 index 0000000000..179e82cac2 --- /dev/null +++ b/.changeset/metal-bugs-melt.md @@ -0,0 +1,10 @@ +--- +'@sumup/circuit-ui': major +--- + +Moved the Tooltip component to the ["legacy" status](https://circuit.sumup.com/?path=/docs/introduction-component-lifecycle--docs). Update your imports: + +```diff +-import { Tooltip } from '@sumup/circuit-ui'; ++import { Tooltip } from '@sumup/circuit-ui/legacy'; +``` diff --git a/.changeset/pretty-bananas-juggle.md b/.changeset/pretty-bananas-juggle.md new file mode 100644 index 0000000000..5cb4239c31 --- /dev/null +++ b/.changeset/pretty-bananas-juggle.md @@ -0,0 +1,10 @@ +--- +'@sumup/circuit-ui': major +--- + +Moved the Sidebar, SidebarContextProvider, and SidebarContextConsumer components to the ["legacy" status](https://circuit.sumup.com/?path=/docs/introduction-component-lifecycle--docs). Update your imports: + +```diff +-import { Sidebar } from '@sumup/circuit-ui'; ++import { Sidebar } from '@sumup/circuit-ui/legacy'; +``` diff --git a/.storybook/components/Statuses.tsx b/.storybook/components/Statuses.tsx index fc744034ff..51387fce3c 100644 --- a/.storybook/components/Statuses.tsx +++ b/.storybook/components/Statuses.tsx @@ -13,14 +13,22 @@ * limitations under the License. */ +import type { ReactNode } from 'react'; import { Unstyled } from '@storybook/addon-docs'; +import LinkTo from '@storybook/addon-links/react'; import { css, ThemeProvider } from '@emotion/react'; import { light } from '@sumup/design-tokens'; -import { Badge, Body, cx, spacing } from '@sumup/circuit-ui'; -import { ReactNode } from 'react'; +import { Badge, BadgeProps, Body, cx, spacing } from '@sumup/circuit-ui'; + +type Variant = + | 'stable' + | 'under-review' + | 'experimental' + | 'legacy' + | 'deprecated'; interface StatusProps { - variant: 'stable' | 'deprecated' | 'inReview' | 'experimental'; + variant: Variant; children?: ReactNode; } @@ -30,20 +38,33 @@ const descriptionStyles = css` } `; -const variants = { - stable: { variant: 'success', label: 'Stable' }, - deprecated: { variant: 'danger', label: 'Deprecated' }, - inReview: { variant: 'warning', label: 'In Review' }, - experimental: { variant: 'warning', label: 'Experimental' }, -} as const; +const variantMap: Record< + Variant, + { variant: BadgeProps['variant']; label: string } +> = { + 'stable': { variant: 'success', label: 'Stable' }, + 'experimental': { variant: 'promo', label: 'Experimental' }, + 'under-review': { variant: 'warning', label: 'Under Review' }, + 'legacy': { variant: 'warning', label: 'Legacy' }, + 'deprecated': { variant: 'danger', label: 'Deprecated' }, +}; + +export default function Status({ + variant: status = 'stable', + children, + ...props +}: StatusProps) { + const { variant, label } = variantMap[status]; -const Status = ({ variant: status = 'stable', children }: StatusProps) => { - const { variant, label } = variants[status]; + const kind = 'Introduction/Component-Lifecycle'; + const name = 'Docs'; return ( - - {label} + + + {label} + {children && ( { ); -}; - -/** - * @deprecated Use `` instead. - */ -Status.Stable = (props: Pick) => ( - -); -/** - * @deprecated Use `` instead. - */ -Status.Deprecated = (props: Pick) => ( - -); -/** - * @deprecated Use `` instead. - */ -Status.InReview = (props: Pick) => ( - -); -/** - * @deprecated Use `` instead. - */ -Status.Experimental = (props: Pick) => ( - -); - -export default Status; +} diff --git a/docs/contributing/6-browser-support-for-contributors.mdx b/docs/contributing/5-browser-support-for-contributors.mdx similarity index 100% rename from docs/contributing/6-browser-support-for-contributors.mdx rename to docs/contributing/5-browser-support-for-contributors.mdx diff --git a/docs/contributing/5-deprecations.mdx b/docs/contributing/5-deprecations.mdx deleted file mode 100644 index 8dae2e0ea5..0000000000 --- a/docs/contributing/5-deprecations.mdx +++ /dev/null @@ -1,16 +0,0 @@ -import { Meta } from '../../.storybook/components'; - - - -# Deprecations - -The purpose of deprecating a component or a feature is to warn people that it should not be used anymore, and that support will be removed in the future. You can either offer a preferred solution, or it may be that the feature is no longer needed. - -1. **Communicate intent to deprecate.** Please open an issue in the repo. (_For SumUp employees_) Go through the product repos and find instances of the component in use, and proactively communicate with the teams responsible for those features. Give your reasoning about _why_ you believe the feature should be deprecated, and discuss the impact on the teams that rely on that feature today. -2. **Decide on a timeline.** Based on the feedback you receive, come up with a timeline, including the people who are affected by the change. Generally speaking, 3-6 months is ample time. Document the planned date of removal in the original deprecation issue. -3. **Add a notice to the docs and to the code.** Introduce the deprecation warning in a minor release. Change the status badge on the component page to "Deprecated" and add a `deprecate('Feature has been deprecated and will be removed in version X.0.0')` to the `render()` function of the component, or generally on the first run of an instance of a component or feature. -4. **Wait for the deadline.** You may still need to fix critical bugs during the deprecation period, but we should try and offer alternatives where possible. -5. **Communicate it one more time!** Give one last warning to people involved that the deadline is imminent. -6. **Delete it.** Create a pull request deleting the deprecated functionality, which should signal a major version bump. - -In some cases, you can also introduce a completely new version of the component alongside the old, especially in cases where teams need longer to migrate to the new component. diff --git a/docs/introduction/3-component-lifecycle.mdx b/docs/introduction/3-component-lifecycle.mdx new file mode 100644 index 0000000000..8ea4f390d3 --- /dev/null +++ b/docs/introduction/3-component-lifecycle.mdx @@ -0,0 +1,61 @@ +import { Meta, Intro, Status } from '../../.storybook/components'; + + + +# Component Lifecycle + + + Circuit UI components move through different stages throughout their + lifecycle. Within each stage, components meet different requirements and + receive different levels of support. + + +## Stable + + + +Stable components solve a proven use case. They meet all of our quality standards including accessibility, [browser support](Introduction/Browser-Support/Docs), localization, test coverage, and documentation. Changes to the component API are unlikely and follow [semantic versioning](https://semver.org/). + +## Under Review + + + +Our quality requirements evolve over time. Existing components that haven't been updated yet to meet the latest standards are placed under review. You can continue to use them but be aware of the issues that are listed in the components' documentation. + +[Contributions](Contributing/Overview/Docs) to resolve the issues are welcome! + +## Experimental + + + +Experimental components are under active development. They might not meet our quality standards yet and likely lack sufficient documentation. They don't follow [semantic versioning](https://semver.org/) so breaking changes in minor versions are possible. + +This is a good time to provide feedback. [Open an issue](https://github.com/sumup-oss/circuit-ui/issues/new?template=amend-existing-component.md) to suggest improvements. + +Experimental components are exported separately from stable components. Import them from `@sumup/circuit-ui/experimental`: + +```tsx +import { Component } from '@sumup/circuit-ui/experimental'; +``` + +## Legacy + + + +Legacy components are going to be phased out soon, but don't have a stable replacement yet. You can continue to use them in existing code until a stable alternative becomes available. We don't recommend adopting legacy components in new code. Legacy components won't receive any updates apart from bugfixes. + +Legacy components are exported separately from stable components. Import them from `@sumup/circuit-ui/legacy`: + +```tsx +import { Component } from '@sumup/circuit-ui/legacy'; +``` + +Some legacy components require third-party dependencies which aren't bundled with Circuit UI. Refer to each component's documentation for a list of dependencies that need to be installed manually. + +## Deprecated + + + +Deprecated components are going to be removed in the next major release. When used, they log a deprecation warning during local development. Replace them with the alternative that's suggested in the components' documentation. Deprecated components won't receive any updates or bugfixes. + +Deprecated components can be exported from `@sumup/circuit-ui` or `@sumup/circuit-ui/legacy`, depending on their previous status. diff --git a/docs/introduction/3-browser-support.mdx b/docs/introduction/4-browser-support.mdx similarity index 100% rename from docs/introduction/3-browser-support.mdx rename to docs/introduction/4-browser-support.mdx diff --git a/package-lock.json b/package-lock.json index c5435f68bd..7170176eef 100644 --- a/package-lock.json +++ b/package-lock.json @@ -8716,16 +8716,6 @@ "@types/node": "*" } }, - "node_modules/@types/cross-spawn": { - "version": "6.0.2", - "resolved": "https://registry.yarnpkg.com/@types/cross-spawn/-/cross-spawn-6.0.2.tgz", - "integrity": "sha1-FoMJ3jEc0woriucg3mR1wvvzOsc= sha512-KuwNhp3eza+Rhu8IFI5HUXRP0LIhqH5cAjubUvGXXthh4YYBuP2ntwEX+Cz8GJoZUHlKo247wPWOfA9LYEq4cw==", - "dev": true, - "license": "MIT", - "dependencies": { - "@types/node": "*" - } - }, "node_modules/@types/debug": { "version": "4.1.7", "resolved": "https://registry.yarnpkg.com/@types/debug/-/debug-4.1.7.tgz", @@ -8907,33 +8897,6 @@ "node": ">=4" } }, - "node_modules/@types/jscodeshift": { - "version": "0.11.6", - "resolved": "https://registry.yarnpkg.com/@types/jscodeshift/-/jscodeshift-0.11.6.tgz", - "integrity": "sha1-nO1hPI3ZJVkAD7Zx0VFoXqjkIMc= sha512-3lJ4DajWkk4MZ1F7q+1C7jE0z0xOtbu0VU/Kg3wdPq2DUvJjySSlu3B5Q/bICrTxugLhONBO7inRUWsymOID/A==", - "dev": true, - "license": "MIT", - "dependencies": { - "ast-types": "^0.14.1", - "recast": "^0.20.3" - } - }, - "node_modules/@types/jscodeshift/node_modules/recast": { - "version": "0.20.5", - "resolved": "https://registry.yarnpkg.com/recast/-/recast-0.20.5.tgz", - "integrity": "sha1-jixsloJ6GzOcY03SMpV9IwVTzq4= sha512-E5qICoPoNL4yU0H0NoBDntNB0Q5oMSNh9usFctYniLBluTthi3RsQVBXIJNbApOlvSwW/RGxIuokPcAc59J5fQ==", - "dev": true, - "license": "MIT", - "dependencies": { - "ast-types": "0.14.2", - "esprima": "~4.0.0", - "source-map": "~0.6.1", - "tslib": "^2.0.1" - }, - "engines": { - "node": ">= 4" - } - }, "node_modules/@types/json-schema": { "version": "7.0.11", "resolved": "https://registry.yarnpkg.com/@types/json-schema/-/json-schema-7.0.11.tgz", @@ -9060,6 +9023,7 @@ "version": "15.7.5", "resolved": "https://registry.yarnpkg.com/@types/prop-types/-/prop-types-15.7.5.tgz", "integrity": "sha1-XxnSuFqY6VWANvajysyIGUIPBc8= sha512-JCB8C6SnDoQf0cNycqd/35A7MjcnK+ZTqE7judS6o7utxUCg6imJg3QK2qzHKszlTjcj2cn+NwMB2i96ubpj7w==", + "dev": true, "license": "MIT" }, "node_modules/@types/qs": { @@ -9078,6 +9042,7 @@ "version": "18.2.6", "resolved": "https://registry.npmjs.org/@types/react/-/react-18.2.6.tgz", "integrity": "sha512-wRZClXn//zxCFW+ye/D2qY65UsYP1Fpex2YXorHc8awoNamkMZSvBxwxdYVInsHOZZd2Ppq8isnSzJL5Mpf8OA==", + "dev": true, "dependencies": { "@types/prop-types": "*", "@types/scheduler": "*", @@ -9088,6 +9053,7 @@ "version": "21.8.3", "resolved": "https://registry.npmjs.org/@types/react-dates/-/react-dates-21.8.3.tgz", "integrity": "sha512-MSG/A5UCXepPw5a9BtdOXfCCSMcQ5+oQIkm0K2u39sf4EJbsgngUg1zcoY3amxa6Hz0EWZkZOiExK/92J6hxUw==", + "dev": true, "dependencies": { "@types/react": "*", "@types/react-outside-click-handler": "*", @@ -9116,6 +9082,7 @@ "version": "1.3.1", "resolved": "https://registry.npmjs.org/@types/react-outside-click-handler/-/react-outside-click-handler-1.3.1.tgz", "integrity": "sha512-0BNan5zIIDyO5k9LFSG+60ZxQ/0wf+LTF9BJx3oOUdOaJlZk6RCe52jRB75mlvLLJx2YLa61+NidOwBfptWMKw==", + "dev": true, "dependencies": { "@types/react": "*" } @@ -9124,6 +9091,7 @@ "version": "0.16.2", "resolved": "https://registry.yarnpkg.com/@types/scheduler/-/scheduler-0.16.2.tgz", "integrity": "sha1-GmL4lSVyPd4kuhsBsJK/XfitTTk= sha512-hppQEBDmlwhFAXKJX2KnWLYu5yMfi91yazPb2l+lbJiwW+wdo1gNeRA+3RgNSO39WYX2euey41KEwnqesU2Jew==", + "dev": true, "license": "MIT" }, "node_modules/@types/semver": { @@ -9771,6 +9739,7 @@ "version": "2.15.0", "resolved": "https://registry.yarnpkg.com/airbnb-prop-types/-/airbnb-prop-types-2.15.0.tgz", "integrity": "sha1-UoeCAEOvHrRp9bCvDW9w2mxSqu8= sha512-jUh2/hfKsRjNFC4XONQrxo/n/3GG4Tn6Hl0WlFQN5PY9OMC9loSCoAYKnZsWaP8wEfd5xcrPloK0Zg6iS1xwVA==", + "dev": true, "license": "MIT", "dependencies": { "array.prototype.find": "^2.1.0", @@ -9956,6 +9925,7 @@ "version": "1.0.0", "resolved": "https://registry.npmjs.org/array-buffer-byte-length/-/array-buffer-byte-length-1.0.0.tgz", "integrity": "sha512-LPuwb2P+NrQw3XhxGc36+XSvuBPopovXYTR9Ew++Du9Yb/bx5AzBfrIsBoj0EZUifjQU+sHL21sseZ3jerWO/A==", + "dev": true, "dependencies": { "call-bind": "^1.0.2", "is-array-buffer": "^3.0.1" @@ -10028,6 +9998,7 @@ "version": "2.1.0", "resolved": "https://registry.yarnpkg.com/array.prototype.find/-/array.prototype.find-2.1.0.tgz", "integrity": "sha1-Yw8ur3CjnmCKw1c+Rc+MzQ7emtc= sha512-Wn41+K1yuO5p7wRZDl7890c3xvv5UBrfVXTVIe28rSQb6LS0fZMDrQB6PAcxQFRFy6vJTLDc3A2+3CjQdzVKRg==", + "dev": true, "license": "MIT", "dependencies": { "define-properties": "^1.1.3", @@ -10038,6 +10009,7 @@ "version": "1.3.1", "resolved": "https://registry.npmjs.org/array.prototype.flat/-/array.prototype.flat-1.3.1.tgz", "integrity": "sha512-roTU0KWIOmJ4DRLmwKd19Otg0/mT3qPNt0Qb3GWW8iObuZXxrjB/pzn0R3hqpRSWg4HCwqx+0vwOnWnvlOyeIA==", + "dev": true, "dependencies": { "call-bind": "^1.0.2", "define-properties": "^1.1.4", @@ -10267,6 +10239,7 @@ "version": "1.0.5", "resolved": "https://registry.npmjs.org/available-typed-arrays/-/available-typed-arrays-1.0.5.tgz", "integrity": "sha512-DMD0KiN46eipeziST1LPP/STfDU0sufISXmjSgvVsoU2tqxctQeASejWcfNtxYKqETM1UxQ8sp2OrSBWpHY6sw==", + "dev": true, "engines": { "node": ">= 0.4" }, @@ -10740,6 +10713,7 @@ "version": "2.0.2", "resolved": "https://registry.yarnpkg.com/brcast/-/brcast-2.0.2.tgz", "integrity": "sha1-LbFt5EFA5BjcN/qxC+7ANp543O8= sha512-Tfn5JSE7hrUlFcOoaLzVvkbgIemIorMIyoMr3TgvszWW7jFt2C9PdeMLtysYD9RU0MmU17b69+XJG1eRY2OBRg==", + "dev": true, "license": "MIT" }, "node_modules/breakword": { @@ -10969,6 +10943,7 @@ "version": "1.0.2", "resolved": "https://registry.yarnpkg.com/call-bind/-/call-bind-1.0.2.tgz", "integrity": "sha1-sdTonmiBGcPJqQOtMKuy9qkZvjw= sha512-7O+FbCihrB5WGbFYesctwmTKae6rOiIzmz1icreWJ+0aA7LJfuqhEso2T9ncpcFtzMQtzXf2QGGueWJGTYsqrA==", + "dev": true, "license": "MIT", "dependencies": { "function-bind": "^1.1.1", @@ -11628,6 +11603,7 @@ "version": "2.0.2", "resolved": "https://registry.yarnpkg.com/consolidated-events/-/consolidated-events-2.0.2.tgz", "integrity": "sha1-2o2PjCsjKDFBPZ4ZDcEWacefSpE= sha512-2/uRVMdRypf5z/TW/ncD/66l75P5hH2vM/GR8Jf8HLc2xnfJtmina6F6du8+v4Z2vTrMo7jC+W1tmEEuuELgkQ==", + "dev": true, "license": "MIT" }, "node_modules/content-disposition": { @@ -12194,6 +12170,7 @@ "version": "3.0.9", "resolved": "https://registry.yarnpkg.com/csstype/-/csstype-3.0.9.tgz", "integrity": "sha1-ZBCvMbJr0FIJM9AsvGT86c4/vws= sha512-rpw6JPxK6Rfg1zLOYCSwle2GFOOsnjmDYDaBwEcwoOg4qlsIVCN789VkBZDJAGi4T07gI4YSutR43t9Zz4Lzuw==", + "dev": true, "license": "MIT" }, "node_modules/csv": { @@ -12472,6 +12449,7 @@ "version": "1.1.4", "resolved": "https://registry.yarnpkg.com/define-properties/-/define-properties-1.1.4.tgz", "integrity": "sha1-CxTXvX++svNXLDp+2oDqXVf7BbE= sha512-uckOqKcfaVvtBdsVkdPv3XjveQJsNQqmhXgRi8uhvWWuPYZCNlzT8qAyblUgNoXdHdjMTzAqeGjAoli8f+bzPA==", + "dev": true, "license": "MIT", "dependencies": { "has-property-descriptors": "^1.0.0", @@ -12643,6 +12621,7 @@ "version": "1.0.4", "resolved": "https://registry.yarnpkg.com/direction/-/direction-1.0.4.tgz", "integrity": "sha1-K4b7aGln6YcIjK+LiQWTcNSDdEI= sha512-GYqKi1aH7PJXxdhTeZBFrg8vUBeKXi+cNprXsC1kpJcbcVnV9wBsrOu1cQEdG0WeQwlfHiy3XvnKfIrJ2R0NzQ==", + "dev": true, "license": "MIT", "bin": { "direction": "cli.js" @@ -12664,6 +12643,7 @@ "version": "1.0.1", "resolved": "https://registry.yarnpkg.com/document.contains/-/document.contains-1.0.1.tgz", "integrity": "sha1-oYM57I509Af6NHCbZfRWBbOKPh8= sha512-A1KqlZq1w605bwiiLqVZehWE9S9UYlUXPoduFWi64pNVNQ9vy6wwH/7BS+iEfSlF1YyZgcg5PZw5HqDi7FCrUw==", + "dev": true, "license": "MIT", "dependencies": { "define-properties": "^1.1.3" @@ -12938,6 +12918,7 @@ "version": "1.0.1", "resolved": "https://registry.yarnpkg.com/enzyme-shallow-equal/-/enzyme-shallow-equal-1.0.1.tgz", "integrity": "sha1-ev4D2zgBybdt6EQGlAlkEqjZ1J4= sha512-hGA3i1so8OrYOZSM9whlkNmVHOicJpsjgTzC+wn2JMJXhq1oO4kA4bJ5MsfzSIcC71aLDKzJ6gZpIxrqt3QTAQ==", + "dev": true, "license": "MIT", "dependencies": { "has": "^1.0.3", @@ -12965,6 +12946,7 @@ "version": "1.21.2", "resolved": "https://registry.npmjs.org/es-abstract/-/es-abstract-1.21.2.tgz", "integrity": "sha512-y/B5POM2iBnIxCiernH1G7rC9qQoM77lLIMQLuob0zhp8C56Po81+2Nj0WFKnd0pNReDTnkYryc+zhOzpEIROg==", + "dev": true, "dependencies": { "array-buffer-byte-length": "^1.0.0", "available-typed-arrays": "^1.0.5", @@ -13044,6 +13026,7 @@ "version": "2.0.1", "resolved": "https://registry.npmjs.org/es-set-tostringtag/-/es-set-tostringtag-2.0.1.tgz", "integrity": "sha512-g3OMbtlwY3QewlqAiMLI47KywjWZoEytKr8pf6iTC8uJq5bIAH52Z9pnQ8pVL6whrCto53JZDuUIsifGeLorTg==", + "dev": true, "dependencies": { "get-intrinsic": "^1.1.3", "has": "^1.0.3", @@ -13057,6 +13040,7 @@ "version": "1.0.0", "resolved": "https://registry.yarnpkg.com/es-shim-unscopables/-/es-shim-unscopables-1.0.0.tgz", "integrity": "sha1-cC5jIZMgHj7fhxNjXQg9N45RAkE= sha512-Jm6GPcCdC30eMLbZ2x8z2WuRwAws3zTBBKuusffYVUrNj/GVSUAZ+xKMaUpfNDR5IbyNA5LJbaecoUVbmUcB1w==", + "dev": true, "license": "MIT", "dependencies": { "has": "^1.0.3" @@ -13066,6 +13050,7 @@ "version": "1.2.1", "resolved": "https://registry.yarnpkg.com/es-to-primitive/-/es-to-primitive-1.2.1.tgz", "integrity": "sha1-5VzUyc3BiLzvsDs2bHNjI/xciYo= sha512-QCOllgZJtaUo9miYBcLChTUaHNjJF3PYs1VidD7AwiEj1kYxKeQTctLAezAOH5ZKRH0g2IgPn6KwB4IT8iRpvA==", + "dev": true, "license": "MIT", "dependencies": { "is-callable": "^1.1.4", @@ -14663,6 +14648,7 @@ "version": "0.3.3", "resolved": "https://registry.npmjs.org/for-each/-/for-each-0.3.3.tgz", "integrity": "sha512-jqYfLp7mo9vIyQf8ykW2v7A+2N4QjeCeI5+Dz9XraiO1ign81wjiH7Fb9vSOWvQfNtmSa4H2RoQTrrXivdUZmw==", + "dev": true, "dependencies": { "is-callable": "^1.1.3" } @@ -14789,12 +14775,14 @@ "version": "1.1.1", "resolved": "https://registry.yarnpkg.com/function-bind/-/function-bind-1.1.1.tgz", "integrity": "sha1-pWiZ0+o8m6uHS7l3O3xe3pL0iV0= sha512-yIovAzMX49sF8Yl58fSCWJ5svSLuaibPxXQJFLmBObTuCr0Mf1KiPopGM9NiFjiYBCbfaa2Fh6breQ6ANVTI0A==", + "dev": true, "license": "MIT" }, "node_modules/function.prototype.name": { "version": "1.1.5", "resolved": "https://registry.yarnpkg.com/function.prototype.name/-/function.prototype.name-1.1.5.tgz", "integrity": "sha1-zOBQX+H/uAUD5vnkbMZORqEqliE= sha512-uN7m/BzVKQnCUF/iW8jYea67v++2u7m5UgENbHRtdDVclOUP+FMPlCNdmk0h/ysGyo2tavMJEDqJAkJdRa1vMA==", + "dev": true, "license": "MIT", "dependencies": { "call-bind": "^1.0.2", @@ -14810,6 +14798,7 @@ "version": "1.2.2", "resolved": "https://registry.yarnpkg.com/functions-have-names/-/functions-have-names-1.2.2.tgz", "integrity": "sha1-mNk5kcOdqTYfjlCzN8T25B8SDiE= sha512-bLgc3asbWdwPbx2mNk2S49kmJCuQeu0nfmaOgbs8WIyzzkw3r4htszdIi9Q9EMezDPTYuJx2wvjZ/EwgAthpnA==", + "dev": true, "license": "MIT" }, "node_modules/gauge": { @@ -14865,6 +14854,7 @@ "version": "1.2.0", "resolved": "https://registry.yarnpkg.com/get-intrinsic/-/get-intrinsic-1.2.0.tgz", "integrity": "sha1-etHcBTXzopBLugdXcnY+UFH20F8= sha512-L049y6nFOuom5wGyRc3/gdTLO94dySVKRACj1RmJZBQXlbTMhtNIgkWkUHq+jYmZvKf14EW1EoJnnjbmoHij0Q==", + "dev": true, "license": "MIT", "dependencies": { "function-bind": "^1.1.1", @@ -14933,6 +14923,7 @@ "version": "1.0.0", "resolved": "https://registry.yarnpkg.com/get-symbol-description/-/get-symbol-description-1.0.0.tgz", "integrity": "sha1-f9uByQAQH71WTdXxowr1qtweWNY= sha512-2EmdH1YvIQiZpltCNgkuiUnyukzxM/R6NDJX31Ke3BG1Nq5b0S2PhX59UKi9vZpPDQVdqn+1IcaAwnzTT5vCjw==", + "dev": true, "license": "MIT", "dependencies": { "call-bind": "^1.0.2", @@ -15160,6 +15151,7 @@ "version": "1.2.1", "resolved": "https://registry.yarnpkg.com/global-cache/-/global-cache-1.2.1.tgz", "integrity": "sha1-OcoCDT3Xs/CTTFK3U2P41TMSwW0= sha512-EOeUaup5DgWKlCMhA9YFqNRIlZwoxt731jCh47WBV9fQqHgXhr3Fa55hfgIUqilIcPsfdNKN7LHjrNY+Km40KA==", + "dev": true, "license": "MIT", "dependencies": { "define-properties": "^1.1.2", @@ -15183,6 +15175,7 @@ "version": "1.0.3", "resolved": "https://registry.npmjs.org/globalthis/-/globalthis-1.0.3.tgz", "integrity": "sha512-sFdI5LyBiNTHjRd7cGPWapiHWMOXKyuBNX/cWJ3NfzrZQVa8GI/8cofCl74AOVqq9W5kNmguTIzJ/1s2gyI9wA==", + "dev": true, "dependencies": { "define-properties": "^1.1.3" }, @@ -15242,6 +15235,7 @@ "version": "1.0.1", "resolved": "https://registry.npmjs.org/gopd/-/gopd-1.0.1.tgz", "integrity": "sha512-d65bNlIadxvpb/A2abVdlqKqV563juRnZ1Wtk6s1sIR8uNsXR70xqIzVqxVf1eTqDunwT2MkczEeaezCKTZhwA==", + "dev": true, "dependencies": { "get-intrinsic": "^1.1.3" }, @@ -15312,6 +15306,7 @@ "version": "1.0.3", "resolved": "https://registry.yarnpkg.com/has/-/has-1.0.3.tgz", "integrity": "sha1-ci18v8H2qoJB8W3YFOAR4fQeh5Y= sha512-f2dvO0VU6Oej7RkWJGrehjbzMAjFp5/VKPp5tTpWIV4JHHZK1/BxbFRtf/siA2SWTe09caDmVtYYzWEIbBS4zw==", + "dev": true, "license": "MIT", "dependencies": { "function-bind": "^1.1.1" @@ -15337,6 +15332,7 @@ "version": "1.0.2", "resolved": "https://registry.yarnpkg.com/has-bigints/-/has-bigints-1.0.2.tgz", "integrity": "sha1-CHG9Pj1RYm9soJZmaLo11WAtbqo= sha512-tSvCKtBr9lkF0Ex0aQiP9N+OpV4zi2r/Nee5VkRDbaqv35RLYMzbwQfFSZZH0kR+Rd6302UJZ2p/bJCEoR3VoQ==", + "dev": true, "license": "MIT" }, "node_modules/has-flag": { @@ -15352,6 +15348,7 @@ "version": "1.0.0", "resolved": "https://registry.yarnpkg.com/has-property-descriptors/-/has-property-descriptors-1.0.0.tgz", "integrity": "sha1-YQcIYAYG02lh7QTBlhk7amB/qGE= sha512-62DVLZGoiEBDHQyqG4w9xCuZ7eJEwNmJRWw2VY84Oedb7WFcA27fiEVe8oUQx9hAUJ4ekurquucTGwsyO1XGdQ==", + "dev": true, "license": "MIT", "dependencies": { "get-intrinsic": "^1.1.1" @@ -15361,6 +15358,7 @@ "version": "1.0.1", "resolved": "https://registry.npmjs.org/has-proto/-/has-proto-1.0.1.tgz", "integrity": "sha512-7qE+iP+O+bgF9clE5+UoBFzE65mlBiVj3tKCrlNQ0Ogwm0BjpT/gK4SlLYDMybDh5I3TCTKnPPa0oMG7JDYrhg==", + "dev": true, "engines": { "node": ">= 0.4" }, @@ -15372,6 +15370,7 @@ "version": "1.0.3", "resolved": "https://registry.yarnpkg.com/has-symbols/-/has-symbols-1.0.3.tgz", "integrity": "sha1-u3ssQ0klHc6HsSX3vfh0qnyLOfg= sha512-l3LCuF6MgDNwTDKkdYGEihYjt5pRPbEg46rtlmnSPlUbgmB8LOIrKJbYYFBSbnPaJexMKtiPO8hmeRjRz2Td+A==", + "dev": true, "license": "MIT", "engines": { "node": ">= 0.4" @@ -15381,6 +15380,7 @@ "version": "1.0.0", "resolved": "https://registry.yarnpkg.com/has-tostringtag/-/has-tostringtag-1.0.0.tgz", "integrity": "sha1-fhM4GKfTlHNPlB5zw9P5KR5liyU= sha512-kFjcSNhnlGV1kyoGk7OXKSawH5JOb/LzUc5w9B02hOTO0dfFRjbHQKvg1d6cf3HbeUmtU9VbbV3qzZ2Teh97WQ==", + "dev": true, "license": "MIT", "dependencies": { "has-symbols": "^1.0.2" @@ -15436,6 +15436,7 @@ "version": "3.3.2", "resolved": "https://registry.yarnpkg.com/hoist-non-react-statics/-/hoist-non-react-statics-3.3.2.tgz", "integrity": "sha1-7OCsr3HWLClpwuxZ/v9CpLGoW0U= sha512-/gGivxi8JPKWNm/W0jSmzcMPpfpPLc3dY/6GxhX2hQ9iGj3aDfklV4ET7NjKpSinLpJ5vafa9iiGIEZg10SfBw==", + "dev": true, "license": "BSD-3-Clause", "dependencies": { "react-is": "^16.7.0" @@ -15816,6 +15817,7 @@ "version": "1.0.5", "resolved": "https://registry.npmjs.org/internal-slot/-/internal-slot-1.0.5.tgz", "integrity": "sha512-Y+R5hJrzs52QCG2laLn4udYVnxsfny9CpOhNhUvk/SSSVyF6T27FzRbF0sroPidSu3X8oEAkOn2K804mjpt6UQ==", + "dev": true, "dependencies": { "get-intrinsic": "^1.2.0", "has": "^1.0.3", @@ -15910,6 +15912,7 @@ "version": "3.0.2", "resolved": "https://registry.npmjs.org/is-array-buffer/-/is-array-buffer-3.0.2.tgz", "integrity": "sha512-y+FyyR/w8vfIRq4eQcM1EYgSTnmHXPqaF+IgzgraytCFq5Xh8lllDVmAZolPJiZttZLeFSINPYMaEJ7/vWUa1w==", + "dev": true, "dependencies": { "call-bind": "^1.0.2", "get-intrinsic": "^1.2.0", @@ -15930,6 +15933,7 @@ "version": "1.0.4", "resolved": "https://registry.yarnpkg.com/is-bigint/-/is-bigint-1.0.4.tgz", "integrity": "sha1-CBR6GHW8KzIAXUHM2Ckd/8ZpHfM= sha512-zB9CruMamjym81i2JZ3UMn54PKGsQzsJeo6xvN3HJJ4CAsQNB6iRutp2To77OfCNuoxspsIhzaPoO1zyCEhFOg==", + "dev": true, "license": "MIT", "dependencies": { "has-bigints": "^1.0.1" @@ -15952,6 +15956,7 @@ "version": "1.1.2", "resolved": "https://registry.yarnpkg.com/is-boolean-object/-/is-boolean-object-1.1.2.tgz", "integrity": "sha1-XG3CACRt2TIa5LiFoRS7H3X2Nxk= sha512-gDYaKHJmnj4aWxyj6YHyXVpdQawtVLHU5cb+eztPGczf6cjuTdwve5ZIEfgXqH4e57An1D1AKf8CZ3kYrQRqYA==", + "dev": true, "license": "MIT", "dependencies": { "call-bind": "^1.0.2", @@ -15965,6 +15970,7 @@ "version": "1.2.7", "resolved": "https://registry.yarnpkg.com/is-callable/-/is-callable-1.2.7.tgz", "integrity": "sha1-O8KoXqdC2eNiBdys3XLKH9xRsFU= sha512-1BC0BVFhS/p0qtw6enp8e+8OD0UrK0oFLztSjNzhcKA3WDuJxxAPXzPuPtKkjEY9UUoEWlX/8fgKeu2S8i9JTA==", + "dev": true, "license": "MIT", "engines": { "node": ">= 0.4" @@ -16002,6 +16008,7 @@ "version": "1.0.5", "resolved": "https://registry.yarnpkg.com/is-date-object/-/is-date-object-1.0.5.tgz", "integrity": "sha1-CEHVU25yTCVZe/bqYuG9OCmN8x8= sha512-9YQaSxsAiSwcvS33MBk3wTCVnWK+HhF8VZR2jRxehM16QcVOdHqPn4VPHmRK4lSr38n9JriurInLcP90xsYNfQ==", + "dev": true, "license": "MIT", "dependencies": { "has-tostringtag": "^1.0.0" @@ -16150,6 +16157,7 @@ "version": "2.0.2", "resolved": "https://registry.yarnpkg.com/is-negative-zero/-/is-negative-zero-2.0.2.tgz", "integrity": "sha1-e/bwOigAO4s5Zd46wm9mTXZfMVA= sha512-dqJvarLawXsFbNDeJW7zAz8ItJ9cd28YufuuFzh0G8pNHjJMnY08Dv7sYX2uF5UpQOwieAeOExEYAWWfu7ZZUA==", + "dev": true, "license": "MIT", "engines": { "node": ">= 0.4" @@ -16159,6 +16167,7 @@ "version": "1.0.6", "resolved": "https://registry.yarnpkg.com/is-number-object/-/is-number-object-1.0.6.tgz", "integrity": "sha1-anqvg4x/BoalC0VT9+VKlklOifA= sha512-bEVOqiRcvo3zO1+G2lVMy+gkkEm9Yh7cDMRusKKu5ZJKPUYSJwICTKZrNKHA2EbSP0Tu0+6B/emsYNHZyn6K8g==", + "dev": true, "license": "MIT", "dependencies": { "has-tostringtag": "^1.0.0" @@ -16257,6 +16266,7 @@ "version": "1.1.4", "resolved": "https://registry.yarnpkg.com/is-regex/-/is-regex-1.1.4.tgz", "integrity": "sha1-7vVmPNWfpMCuM5UFMj32hUuxWVg= sha512-kvRdxDsxZjhzUX07ZnLydzS1TU/TJlTUHHY4YLL87e37oUA49DfkLqgy+VjFocowy29cKvcSiu+kIv728jTTVg==", + "dev": true, "license": "MIT", "dependencies": { "call-bind": "^1.0.2", @@ -16279,6 +16289,7 @@ "version": "1.0.2", "resolved": "https://registry.yarnpkg.com/is-shared-array-buffer/-/is-shared-array-buffer-1.0.2.tgz", "integrity": "sha1-jyWcVztgtqMtQFihoHQwwKc0THk= sha512-sqN2UDu1/0y6uvXyStCOzyhAjCSlHceFoMKJW8W9EU9cvic/QdsZ0kEU93HEy3IUEFZIiH/3w+AH/UQbPHNdhA==", + "dev": true, "license": "MIT", "dependencies": { "call-bind": "^1.0.2" @@ -16307,6 +16318,7 @@ "version": "1.0.7", "resolved": "https://registry.yarnpkg.com/is-string/-/is-string-1.0.7.tgz", "integrity": "sha1-DdEr8gBvJVu1j2lREO/3SR7rwP0= sha512-tE2UXzivje6ofPW7l23cjDOMa09gb7xlAqG6jG5ej6uPV32TlWP3NKPigtaGeHNu9fohccRYvIiZMfOOnOYUtg==", + "dev": true, "license": "MIT", "dependencies": { "has-tostringtag": "^1.0.0" @@ -16332,6 +16344,7 @@ "version": "1.0.4", "resolved": "https://registry.yarnpkg.com/is-symbol/-/is-symbol-1.0.4.tgz", "integrity": "sha1-ptrJO2NbBjymhyI23oiRClevE5w= sha512-C/CPBqKWnvdcxqIARxyOh4v1UUEOCHpgDa0WYgpKDFMszcrPcffg5uhwSgPCLD2WWxmq6isisz87tzT01tuGhg==", + "dev": true, "license": "MIT", "dependencies": { "has-symbols": "^1.0.2" @@ -16357,12 +16370,14 @@ "version": "1.0.1", "resolved": "https://registry.yarnpkg.com/is-touch-device/-/is-touch-device-1.0.1.tgz", "integrity": "sha1-mi/Vn2iempv2rpqGkkxLqAWkLqs= sha512-LAYzo9kMT1b2p19L/1ATGt2XcSilnzNlyvq6c0pbPRVisLbAPpLqr53tIJS00kvrTkj0HtR8U7+u8X0yR8lPSw==", + "dev": true, "license": "MIT" }, "node_modules/is-typed-array": { "version": "1.1.10", "resolved": "https://registry.npmjs.org/is-typed-array/-/is-typed-array-1.1.10.tgz", "integrity": "sha512-PJqgEHiWZvMpaFZ3uTc8kHPM4+4ADTlDniuQL7cU/UDA0Ql7F70yGfHph3cLNe+c9toaigv+DFzTJKhc2CtO6A==", + "dev": true, "dependencies": { "available-typed-arrays": "^1.0.5", "call-bind": "^1.0.2", @@ -16400,6 +16415,7 @@ "version": "1.0.2", "resolved": "https://registry.yarnpkg.com/is-weakref/-/is-weakref-1.0.2.tgz", "integrity": "sha1-lSnzg6kzggXol2XgOS78LxAPBvI= sha512-qctsuLZmIQ0+vSSMfoVvyFe2+GSEvnmZ2ezTup1SBse9+twCCeial6EEi3Nc2KFcf6+qz2FBPnjXsk8xhKSaPQ==", + "dev": true, "license": "MIT", "dependencies": { "call-bind": "^1.0.2" @@ -19963,6 +19979,7 @@ "version": "4.17.21", "resolved": "https://registry.yarnpkg.com/lodash/-/lodash-4.17.21.tgz", "integrity": "sha1-Z5WRxWTDv/quhFTPCz3zcMPWkRw= sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg==", + "dev": true, "license": "MIT" }, "node_modules/lodash.debounce": { @@ -21278,6 +21295,7 @@ "version": "2.29.4", "resolved": "https://registry.yarnpkg.com/moment/-/moment-2.29.4.tgz", "integrity": "sha1-Pb4FKIn+fBsu2Wb8s6dzKJZO8Qg= sha512-5LC9SOxjSc2HF6vO2CyuTDNivEdoz2IvyJJGj6X8DJ0eFyfszE0QiEd+iXmBvUP3WHxSjFH/vIsA0EN00cgr8w==", + "dev": true, "license": "MIT", "engines": { "node": "*" @@ -22016,6 +22034,7 @@ "version": "1.12.3", "resolved": "https://registry.npmjs.org/object-inspect/-/object-inspect-1.12.3.tgz", "integrity": "sha512-geUvdk7c+eizMNUDkRpW1wJwgfOiOeHbxBR/hLXK1aT6zmVSO0jsQcs7fj6MGw89jC/cjGfLcNOrtMYtGqm81g==", + "dev": true, "funding": { "url": "https://github.com/sponsors/ljharb" } @@ -22024,6 +22043,7 @@ "version": "1.1.5", "resolved": "https://registry.npmjs.org/object-is/-/object-is-1.1.5.tgz", "integrity": "sha512-3cyDsyHgtmi7I7DfSSI2LDp6SK2lwvtbg0p0R1e0RvTqF5ceGx+K2dfSjm1bKDMVCFEDAQvy+o8c6a7VujOddw==", + "dev": true, "dependencies": { "call-bind": "^1.0.2", "define-properties": "^1.1.3" @@ -22039,6 +22059,7 @@ "version": "1.1.1", "resolved": "https://registry.yarnpkg.com/object-keys/-/object-keys-1.1.1.tgz", "integrity": "sha1-HEfyct8nfzsdrwYWd9nILiMixg4= sha512-NuAESUOUMrlIXOfHKzD6bpPu3tYt3xvjNdRIQ+FeT0lNb4K8WR70CaDxhuNguS2XG+GjkyMwOzsN5ZktImfhLA==", + "dev": true, "license": "MIT", "engines": { "node": ">= 0.4" @@ -22048,6 +22069,7 @@ "version": "4.1.4", "resolved": "https://registry.npmjs.org/object.assign/-/object.assign-4.1.4.tgz", "integrity": "sha512-1mxKf0e58bvyjSCtKYY4sRe9itRk3PJpquJOjeIkz885CczcI4IvJJDLPS72oowuSh+pBxUFROpX+TU++hxhZQ==", + "dev": true, "dependencies": { "call-bind": "^1.0.2", "define-properties": "^1.1.4", @@ -22065,6 +22087,7 @@ "version": "1.1.6", "resolved": "https://registry.npmjs.org/object.entries/-/object.entries-1.1.6.tgz", "integrity": "sha512-leTPzo4Zvg3pmbQ3rDK69Rl8GQvIqMWubrkxONG9/ojtFE2rD9fjMKfSI5BxW3osRH1m6VdzmqK8oAY9aT4x5w==", + "dev": true, "dependencies": { "call-bind": "^1.0.2", "define-properties": "^1.1.4", @@ -22108,6 +22131,7 @@ "version": "1.1.6", "resolved": "https://registry.npmjs.org/object.values/-/object.values-1.1.6.tgz", "integrity": "sha512-FVVTkD1vENCsAcwNs9k6jea2uHC/X0+JcjG8YA60FN5CMaJmG95wT9jek/xX9nornqGRrBkKtzuAu2wuHpKqvw==", + "dev": true, "dependencies": { "call-bind": "^1.0.2", "define-properties": "^1.1.4", @@ -22808,6 +22832,7 @@ "version": "2.1.0", "resolved": "https://registry.yarnpkg.com/performance-now/-/performance-now-2.1.0.tgz", "integrity": "sha1-Ywn04OX6kT7BxpMHrjZLSzd8nns=", + "dev": true, "license": "MIT" }, "node_modules/picocolors": { @@ -23219,6 +23244,7 @@ "version": "1.2.0", "resolved": "https://registry.yarnpkg.com/prop-types-exact/-/prop-types-exact-1.2.0.tgz", "integrity": "sha1-gl1r5GCUZjhII345JamMbpROmGk= sha512-K+Tk3Kd9V0odiXFP9fwDHUYRyvK3Nun3GVyPapSIs5OBkITAm15W0CPFD/YKTkMUAbc0b9CUwRQp2ybiBIq+eA==", + "dev": true, "license": "MIT", "dependencies": { "has": "^1.0.3", @@ -23439,6 +23465,7 @@ "version": "3.4.1", "resolved": "https://registry.yarnpkg.com/raf/-/raf-3.4.1.tgz", "integrity": "sha1-B0LpmkplUvRF1z4+4DKK8P8e3jk= sha512-Sq4CW4QhwOHE8ucn6J34MqtZCeWFP2aQSmrlroYgqAV1PjStIhJXxYuTgUIfkEk7zTLjmIjLmU5q+fbD1NnOJA==", + "dev": true, "license": "MIT", "dependencies": { "performance-now": "^2.1.0" @@ -23504,6 +23531,7 @@ "version": "21.8.0", "resolved": "https://registry.yarnpkg.com/react-dates/-/react-dates-21.8.0.tgz", "integrity": "sha1-NVw8eiQ6fClWj+AKypYjHhcaXpQ= sha512-PPriGqi30CtzZmoHiGdhlA++YPYPYGCZrhydYmXXQ6RAvAsaONcPtYgXRTLozIOrsQ5mSo40+DiA5eOFHnZ6xw==", + "dev": true, "license": "MIT", "dependencies": { "airbnb-prop-types": "^2.15.0", @@ -23603,6 +23631,7 @@ "version": "1.7.0", "resolved": "https://registry.yarnpkg.com/react-moment-proptypes/-/react-moment-proptypes-1.7.0.tgz", "integrity": "sha1-iYgUeYQKdsE1dKhuO7IUxLpWTno= sha512-ZbOn/P4u469WEGAw5hgkS/E+g1YZqdves2BjYsLluJobzUZCtManhjHiZKjniBVT7MSHM6D/iKtRVzlXVv3ikA==", + "dev": true, "license": "MIT", "dependencies": { "moment": ">=1.6.0" @@ -23624,6 +23653,7 @@ "version": "1.3.0", "resolved": "https://registry.yarnpkg.com/react-outside-click-handler/-/react-outside-click-handler-1.3.0.tgz", "integrity": "sha1-ODHVQawFne7NOOxUI/gegK1g4RU= sha512-Te/7zFU0oHpAnctl//pP3hEAeobfeHMyygHB8MnjP6sX5OR8KHT1G3jmLsV3U9RnIYo+Yn+peJYWu+D5tUS8qQ==", + "dev": true, "license": "MIT", "dependencies": { "airbnb-prop-types": "^2.15.0", @@ -23637,6 +23667,7 @@ "version": "4.2.1", "resolved": "https://registry.yarnpkg.com/react-portal/-/react-portal-4.2.1.tgz", "integrity": "sha1-EsFZkjjAb7CKmADzBwvqKj94saY= sha512-fE9kOBagwmTXZ3YGRYb4gcMy+kSA+yLO0xnPankjRlfBv4uCpFXqKPfkpsGQQR15wkZ9EssnvTOl1yMzbkxhPQ==", + "dev": true, "license": "MIT", "dependencies": { "prop-types": "^15.5.8" @@ -23691,6 +23722,7 @@ "version": "1.3.1", "resolved": "https://registry.yarnpkg.com/react-with-direction/-/react-with-direction-1.3.1.tgz", "integrity": "sha1-n9QUVk8P/mlH5f8Xb2Ey3YP4uN8= sha512-aGcM21ZzhqeXFvDCfPj0rVNYuaVXfTz5D3Rbn0QMz/unZe+CCiLHthrjQWO7s6qdfXORgYFtmS7OVsRgSk5LXQ==", + "dev": true, "license": "MIT", "dependencies": { "airbnb-prop-types": "^2.10.0", @@ -23707,6 +23739,7 @@ "version": "1.5.2", "resolved": "https://registry.yarnpkg.com/deepmerge/-/deepmerge-1.5.2.tgz", "integrity": "sha1-EEmdhohEza1P7ghC34x/bwyVp1M= sha512-95k0GDqvBjZavkuvzx/YqVLv/6YYa17fz6ILMSf7neqQITCPbnfEnQvEgMPNjH4kgobe7+WIL0yJEHku+H3qtQ==", + "dev": true, "license": "MIT", "engines": { "node": ">=0.10.0" @@ -23716,6 +23749,7 @@ "version": "4.1.0", "resolved": "https://registry.yarnpkg.com/react-with-styles/-/react-with-styles-4.1.0.tgz", "integrity": "sha1-S/wtqpLdcgM/wZ/YYbkCJaaCpkA= sha512-zp05fyA6XFetqr07ox/a0bCFyEj//gUozI9cC1GW59zaGJ38STnxYvzotutgpzMyHOd7TFW9ZiZeBKjsYaS+RQ==", + "dev": true, "license": "MIT", "dependencies": { "airbnb-prop-types": "^2.14.0", @@ -23729,6 +23763,7 @@ "version": "6.0.0", "resolved": "https://registry.yarnpkg.com/react-with-styles-interface-css/-/react-with-styles-interface-css-6.0.0.tgz", "integrity": "sha1-tT2n+oNZ1FLLk0z6zoc4rK73tf4= sha512-6khSG1Trf4L/uXOge/ZAlBnq2O2PEXlQEqAhCRbvzaQU4sksIkdwpCPEl6d+DtP3+IdhyffTWuHDO9lhe1iYvA==", + "dev": true, "license": "MIT", "dependencies": { "array.prototype.flat": "^1.2.1", @@ -24167,6 +24202,7 @@ "version": "0.2.0", "resolved": "https://registry.yarnpkg.com/reflect.ownkeys/-/reflect.ownkeys-0.2.0.tgz", "integrity": "sha1-dJrO7H8/34tj+SegSAnpDFwLNGA=", + "dev": true, "license": "MIT" }, "node_modules/refractor": { @@ -24231,6 +24267,7 @@ "version": "1.4.3", "resolved": "https://registry.yarnpkg.com/regexp.prototype.flags/-/regexp.prototype.flags-1.4.3.tgz", "integrity": "sha1-h8qzD4D2ZmAYGju3v1mBqHKzZ6w= sha512-fjggEOO3slI6Wvgjwflkc4NFRCTZAu5CnNfBd5qOMYhWdn67nJBBu34/TkD++eeFmd8C9r9jfXJ27+nSiRkSUA==", + "dev": true, "license": "MIT", "dependencies": { "call-bind": "^1.0.2", @@ -24546,6 +24583,7 @@ "version": "1.0.0", "resolved": "https://registry.npmjs.org/safe-regex-test/-/safe-regex-test-1.0.0.tgz", "integrity": "sha512-JBUUzyOgEwXQY1NuPtvcj/qcBDbDmEvWufhlnXZIm75DEHp+afM1r1ujJpJsV/gSM4t59tpDyPi1sd6ZaPFfsA==", + "dev": true, "dependencies": { "call-bind": "^1.0.2", "get-intrinsic": "^1.1.3", @@ -24780,6 +24818,7 @@ "version": "1.0.4", "resolved": "https://registry.yarnpkg.com/side-channel/-/side-channel-1.0.4.tgz", "integrity": "sha1-785cj9wQTudRslxY1CkAEfpeos8= sha512-q5XPytqFEIKHkGdiMIrY10mvLRvnQh42/+GoBlFW3b2LXLE2xxJpZFdm94we0BaoV3RwJyGqg5wS7epxTv0Zvw==", + "dev": true, "license": "MIT", "dependencies": { "call-bind": "^1.0.0", @@ -25704,6 +25743,7 @@ "version": "1.2.7", "resolved": "https://registry.npmjs.org/string.prototype.trim/-/string.prototype.trim-1.2.7.tgz", "integrity": "sha512-p6TmeT1T3411M8Cgg9wBTMRtY2q9+PNy9EV1i2lIXUN/btt763oIfxwN3RR8VU6wHX8j/1CFy0L+YuThm6bgOg==", + "dev": true, "dependencies": { "call-bind": "^1.0.2", "define-properties": "^1.1.4", @@ -25720,6 +25760,7 @@ "version": "1.0.6", "resolved": "https://registry.npmjs.org/string.prototype.trimend/-/string.prototype.trimend-1.0.6.tgz", "integrity": "sha512-JySq+4mrPf9EsDBEDYMOb/lM7XQLulwg5R/m1r0PXEFqrV0qHvl58sdTilSXtKOflCsK2E8jxf+GKC0T07RWwQ==", + "dev": true, "dependencies": { "call-bind": "^1.0.2", "define-properties": "^1.1.4", @@ -25733,6 +25774,7 @@ "version": "1.0.6", "resolved": "https://registry.npmjs.org/string.prototype.trimstart/-/string.prototype.trimstart-1.0.6.tgz", "integrity": "sha512-omqjMDaY92pbn5HOX7f9IccLA+U1tA9GvtU4JrodiXFfYB7jPzzHpRzpglLAjtUV6bB557zwClJezTqnAiYnQA==", + "dev": true, "dependencies": { "call-bind": "^1.0.2", "define-properties": "^1.1.4", @@ -26829,6 +26871,7 @@ "version": "1.0.4", "resolved": "https://registry.npmjs.org/typed-array-length/-/typed-array-length-1.0.4.tgz", "integrity": "sha512-KjZypGq+I/H7HI5HlOoGHkWUUGq+Q0TPhQurLbyrVrvnKTBgzLhIJ7j6J/XTQOi0d1RjyZ0wdas8bKs2p0x3Ng==", + "dev": true, "dependencies": { "call-bind": "^1.0.2", "for-each": "^0.3.3", @@ -26868,6 +26911,7 @@ "version": "1.0.2", "resolved": "https://registry.yarnpkg.com/unbox-primitive/-/unbox-primitive-1.0.2.tgz", "integrity": "sha1-KQMgIQV9Xmzb0IxRKcIm3/jtb54= sha512-61pPlCD9h51VoreyJ0BReideM3MDKMKnh6+V9L08331ipq6Q8OFXZYiqP6n/tbHx4s5I9uRhcye6BrbkizkBDw==", + "dev": true, "license": "MIT", "dependencies": { "call-bind": "^1.0.2", @@ -27710,6 +27754,7 @@ "version": "1.0.2", "resolved": "https://registry.yarnpkg.com/which-boxed-primitive/-/which-boxed-primitive-1.0.2.tgz", "integrity": "sha1-E3V7yJsgmwSf5dhkMOIc9AqJqOY= sha512-bwZdv0AKLpplFY2KZRX6TvyuN7ojjr7lwkg6ml0roIy9YeuSr7JS372qlNW18UQYzgYK9ziGcerWqZOmEn9VNg==", + "dev": true, "license": "MIT", "dependencies": { "is-bigint": "^1.0.1", @@ -27769,6 +27814,7 @@ "version": "1.1.9", "resolved": "https://registry.npmjs.org/which-typed-array/-/which-typed-array-1.1.9.tgz", "integrity": "sha512-w9c4xkx6mPidwp7180ckYWfMmvxpjlZuIudNtDf4N/tTAUB8VJbX25qZoAsrtGuYNnGw3pa0AXgbGKRB8/EceA==", + "dev": true, "dependencies": { "available-typed-arrays": "^1.0.5", "call-bind": "^1.0.2", @@ -28067,10 +28113,6 @@ "license": "Apache-2.0", "dependencies": { "@floating-ui/react-dom": "^2.0.0", - "@types/react-dates": "^21.8.3", - "moment": "^2.29.4", - "prop-types": "^15.8.1", - "react-dates": "^21.8.0", "react-modal": "^3.16.1", "react-number-format": "^5.1.4" }, @@ -28086,16 +28128,17 @@ "@testing-library/jest-dom": "^5.16.5", "@testing-library/react": "^14.0.0", "@testing-library/user-event": "^14.4.3", - "@types/cross-spawn": "^6.0.2", "@types/jest-axe": "^3.5.5", - "@types/jscodeshift": "^0.11.6", "@types/node": "^18.15.11", "@types/react": "^18.2.6", + "@types/react-dates": "^21.8.3", "@types/react-dom": "^18.2.4", "@types/react-modal": "^3.16.0", "@types/testing-library__jest-dom": "^5.14.5", "jest-axe": "^7.0.1", + "moment": "^2.29.4", "react": "^18.2.0", + "react-dates": "^21.8.0", "react-dom": "^18.2.0", "react-swipeable": "^7.0.0", "typescript": "^5.0.4" @@ -28103,6 +28146,10 @@ "engines": { "node": ">=16" }, + "optionalDependencies": { + "moment": ">=2.29", + "react-dates": ">=21.8" + }, "peerDependencies": { "@emotion/is-prop-valid": "1.x", "@emotion/react": "11.x", @@ -34384,9 +34431,7 @@ "@testing-library/jest-dom": "^5.16.5", "@testing-library/react": "^14.0.0", "@testing-library/user-event": "^14.4.3", - "@types/cross-spawn": "^6.0.2", "@types/jest-axe": "^3.5.5", - "@types/jscodeshift": "^0.11.6", "@types/node": "^18.15.11", "@types/react": "^18.2.6", "@types/react-dates": "^21.8.3", @@ -34395,7 +34440,6 @@ "@types/testing-library__jest-dom": "^5.14.5", "jest-axe": "^7.0.1", "moment": "^2.29.4", - "prop-types": "^15.8.1", "react": "^18.2.0", "react-dates": "^21.8.0", "react-dom": "^18.2.0", @@ -34807,15 +34851,6 @@ "@types/node": "*" } }, - "@types/cross-spawn": { - "version": "6.0.2", - "resolved": "https://registry.yarnpkg.com/@types/cross-spawn/-/cross-spawn-6.0.2.tgz", - "integrity": "sha1-FoMJ3jEc0woriucg3mR1wvvzOsc= sha512-KuwNhp3eza+Rhu8IFI5HUXRP0LIhqH5cAjubUvGXXthh4YYBuP2ntwEX+Cz8GJoZUHlKo247wPWOfA9LYEq4cw==", - "dev": true, - "requires": { - "@types/node": "*" - } - }, "@types/debug": { "version": "4.1.7", "resolved": "https://registry.yarnpkg.com/@types/debug/-/debug-4.1.7.tgz", @@ -34987,30 +35022,6 @@ } } }, - "@types/jscodeshift": { - "version": "0.11.6", - "resolved": "https://registry.yarnpkg.com/@types/jscodeshift/-/jscodeshift-0.11.6.tgz", - "integrity": "sha1-nO1hPI3ZJVkAD7Zx0VFoXqjkIMc= sha512-3lJ4DajWkk4MZ1F7q+1C7jE0z0xOtbu0VU/Kg3wdPq2DUvJjySSlu3B5Q/bICrTxugLhONBO7inRUWsymOID/A==", - "dev": true, - "requires": { - "ast-types": "^0.14.1", - "recast": "^0.20.3" - }, - "dependencies": { - "recast": { - "version": "0.20.5", - "resolved": "https://registry.yarnpkg.com/recast/-/recast-0.20.5.tgz", - "integrity": "sha1-jixsloJ6GzOcY03SMpV9IwVTzq4= sha512-E5qICoPoNL4yU0H0NoBDntNB0Q5oMSNh9usFctYniLBluTthi3RsQVBXIJNbApOlvSwW/RGxIuokPcAc59J5fQ==", - "dev": true, - "requires": { - "ast-types": "0.14.2", - "esprima": "~4.0.0", - "source-map": "~0.6.1", - "tslib": "^2.0.1" - } - } - } - }, "@types/json-schema": { "version": "7.0.11", "resolved": "https://registry.yarnpkg.com/@types/json-schema/-/json-schema-7.0.11.tgz", @@ -35129,7 +35140,8 @@ "@types/prop-types": { "version": "15.7.5", "resolved": "https://registry.yarnpkg.com/@types/prop-types/-/prop-types-15.7.5.tgz", - "integrity": "sha1-XxnSuFqY6VWANvajysyIGUIPBc8= sha512-JCB8C6SnDoQf0cNycqd/35A7MjcnK+ZTqE7judS6o7utxUCg6imJg3QK2qzHKszlTjcj2cn+NwMB2i96ubpj7w==" + "integrity": "sha1-XxnSuFqY6VWANvajysyIGUIPBc8= sha512-JCB8C6SnDoQf0cNycqd/35A7MjcnK+ZTqE7judS6o7utxUCg6imJg3QK2qzHKszlTjcj2cn+NwMB2i96ubpj7w==", + "dev": true }, "@types/qs": { "version": "6.9.7", @@ -35147,6 +35159,7 @@ "version": "18.2.6", "resolved": "https://registry.npmjs.org/@types/react/-/react-18.2.6.tgz", "integrity": "sha512-wRZClXn//zxCFW+ye/D2qY65UsYP1Fpex2YXorHc8awoNamkMZSvBxwxdYVInsHOZZd2Ppq8isnSzJL5Mpf8OA==", + "dev": true, "requires": { "@types/prop-types": "*", "@types/scheduler": "*", @@ -35157,6 +35170,7 @@ "version": "21.8.3", "resolved": "https://registry.npmjs.org/@types/react-dates/-/react-dates-21.8.3.tgz", "integrity": "sha512-MSG/A5UCXepPw5a9BtdOXfCCSMcQ5+oQIkm0K2u39sf4EJbsgngUg1zcoY3amxa6Hz0EWZkZOiExK/92J6hxUw==", + "dev": true, "requires": { "@types/react": "*", "@types/react-outside-click-handler": "*", @@ -35185,6 +35199,7 @@ "version": "1.3.1", "resolved": "https://registry.npmjs.org/@types/react-outside-click-handler/-/react-outside-click-handler-1.3.1.tgz", "integrity": "sha512-0BNan5zIIDyO5k9LFSG+60ZxQ/0wf+LTF9BJx3oOUdOaJlZk6RCe52jRB75mlvLLJx2YLa61+NidOwBfptWMKw==", + "dev": true, "requires": { "@types/react": "*" } @@ -35192,7 +35207,8 @@ "@types/scheduler": { "version": "0.16.2", "resolved": "https://registry.yarnpkg.com/@types/scheduler/-/scheduler-0.16.2.tgz", - "integrity": "sha1-GmL4lSVyPd4kuhsBsJK/XfitTTk= sha512-hppQEBDmlwhFAXKJX2KnWLYu5yMfi91yazPb2l+lbJiwW+wdo1gNeRA+3RgNSO39WYX2euey41KEwnqesU2Jew==" + "integrity": "sha1-GmL4lSVyPd4kuhsBsJK/XfitTTk= sha512-hppQEBDmlwhFAXKJX2KnWLYu5yMfi91yazPb2l+lbJiwW+wdo1gNeRA+3RgNSO39WYX2euey41KEwnqesU2Jew==", + "dev": true }, "@types/semver": { "version": "7.3.13", @@ -35653,6 +35669,7 @@ "version": "2.15.0", "resolved": "https://registry.yarnpkg.com/airbnb-prop-types/-/airbnb-prop-types-2.15.0.tgz", "integrity": "sha1-UoeCAEOvHrRp9bCvDW9w2mxSqu8= sha512-jUh2/hfKsRjNFC4XONQrxo/n/3GG4Tn6Hl0WlFQN5PY9OMC9loSCoAYKnZsWaP8wEfd5xcrPloK0Zg6iS1xwVA==", + "dev": true, "requires": { "array.prototype.find": "^2.1.0", "function.prototype.name": "^1.1.1", @@ -35801,6 +35818,7 @@ "version": "1.0.0", "resolved": "https://registry.npmjs.org/array-buffer-byte-length/-/array-buffer-byte-length-1.0.0.tgz", "integrity": "sha512-LPuwb2P+NrQw3XhxGc36+XSvuBPopovXYTR9Ew++Du9Yb/bx5AzBfrIsBoj0EZUifjQU+sHL21sseZ3jerWO/A==", + "dev": true, "requires": { "call-bind": "^1.0.2", "is-array-buffer": "^3.0.1" @@ -35852,6 +35870,7 @@ "version": "2.1.0", "resolved": "https://registry.yarnpkg.com/array.prototype.find/-/array.prototype.find-2.1.0.tgz", "integrity": "sha1-Yw8ur3CjnmCKw1c+Rc+MzQ7emtc= sha512-Wn41+K1yuO5p7wRZDl7890c3xvv5UBrfVXTVIe28rSQb6LS0fZMDrQB6PAcxQFRFy6vJTLDc3A2+3CjQdzVKRg==", + "dev": true, "requires": { "define-properties": "^1.1.3", "es-abstract": "^1.13.0" @@ -35861,6 +35880,7 @@ "version": "1.3.1", "resolved": "https://registry.npmjs.org/array.prototype.flat/-/array.prototype.flat-1.3.1.tgz", "integrity": "sha512-roTU0KWIOmJ4DRLmwKd19Otg0/mT3qPNt0Qb3GWW8iObuZXxrjB/pzn0R3hqpRSWg4HCwqx+0vwOnWnvlOyeIA==", + "dev": true, "requires": { "call-bind": "^1.0.2", "define-properties": "^1.1.4", @@ -36036,7 +36056,8 @@ "available-typed-arrays": { "version": "1.0.5", "resolved": "https://registry.npmjs.org/available-typed-arrays/-/available-typed-arrays-1.0.5.tgz", - "integrity": "sha512-DMD0KiN46eipeziST1LPP/STfDU0sufISXmjSgvVsoU2tqxctQeASejWcfNtxYKqETM1UxQ8sp2OrSBWpHY6sw==" + "integrity": "sha512-DMD0KiN46eipeziST1LPP/STfDU0sufISXmjSgvVsoU2tqxctQeASejWcfNtxYKqETM1UxQ8sp2OrSBWpHY6sw==", + "dev": true }, "axe-core": { "version": "4.5.1", @@ -36404,7 +36425,8 @@ "brcast": { "version": "2.0.2", "resolved": "https://registry.yarnpkg.com/brcast/-/brcast-2.0.2.tgz", - "integrity": "sha1-LbFt5EFA5BjcN/qxC+7ANp543O8= sha512-Tfn5JSE7hrUlFcOoaLzVvkbgIemIorMIyoMr3TgvszWW7jFt2C9PdeMLtysYD9RU0MmU17b69+XJG1eRY2OBRg==" + "integrity": "sha1-LbFt5EFA5BjcN/qxC+7ANp543O8= sha512-Tfn5JSE7hrUlFcOoaLzVvkbgIemIorMIyoMr3TgvszWW7jFt2C9PdeMLtysYD9RU0MmU17b69+XJG1eRY2OBRg==", + "dev": true }, "breakword": { "version": "1.0.5", @@ -36580,6 +36602,7 @@ "version": "1.0.2", "resolved": "https://registry.yarnpkg.com/call-bind/-/call-bind-1.0.2.tgz", "integrity": "sha1-sdTonmiBGcPJqQOtMKuy9qkZvjw= sha512-7O+FbCihrB5WGbFYesctwmTKae6rOiIzmz1icreWJ+0aA7LJfuqhEso2T9ncpcFtzMQtzXf2QGGueWJGTYsqrA==", + "dev": true, "requires": { "function-bind": "^1.1.1", "get-intrinsic": "^1.0.2" @@ -37062,7 +37085,8 @@ "consolidated-events": { "version": "2.0.2", "resolved": "https://registry.yarnpkg.com/consolidated-events/-/consolidated-events-2.0.2.tgz", - "integrity": "sha1-2o2PjCsjKDFBPZ4ZDcEWacefSpE= sha512-2/uRVMdRypf5z/TW/ncD/66l75P5hH2vM/GR8Jf8HLc2xnfJtmina6F6du8+v4Z2vTrMo7jC+W1tmEEuuELgkQ==" + "integrity": "sha1-2o2PjCsjKDFBPZ4ZDcEWacefSpE= sha512-2/uRVMdRypf5z/TW/ncD/66l75P5hH2vM/GR8Jf8HLc2xnfJtmina6F6du8+v4Z2vTrMo7jC+W1tmEEuuELgkQ==", + "dev": true }, "content-disposition": { "version": "0.5.4", @@ -37498,7 +37522,8 @@ "csstype": { "version": "3.0.9", "resolved": "https://registry.yarnpkg.com/csstype/-/csstype-3.0.9.tgz", - "integrity": "sha1-ZBCvMbJr0FIJM9AsvGT86c4/vws= sha512-rpw6JPxK6Rfg1zLOYCSwle2GFOOsnjmDYDaBwEcwoOg4qlsIVCN789VkBZDJAGi4T07gI4YSutR43t9Zz4Lzuw==" + "integrity": "sha1-ZBCvMbJr0FIJM9AsvGT86c4/vws= sha512-rpw6JPxK6Rfg1zLOYCSwle2GFOOsnjmDYDaBwEcwoOg4qlsIVCN789VkBZDJAGi4T07gI4YSutR43t9Zz4Lzuw==", + "dev": true }, "csv": { "version": "5.5.3", @@ -37722,6 +37747,7 @@ "version": "1.1.4", "resolved": "https://registry.yarnpkg.com/define-properties/-/define-properties-1.1.4.tgz", "integrity": "sha1-CxTXvX++svNXLDp+2oDqXVf7BbE= sha512-uckOqKcfaVvtBdsVkdPv3XjveQJsNQqmhXgRi8uhvWWuPYZCNlzT8qAyblUgNoXdHdjMTzAqeGjAoli8f+bzPA==", + "dev": true, "requires": { "has-property-descriptors": "^1.0.0", "object-keys": "^1.1.1" @@ -37843,7 +37869,8 @@ "direction": { "version": "1.0.4", "resolved": "https://registry.yarnpkg.com/direction/-/direction-1.0.4.tgz", - "integrity": "sha1-K4b7aGln6YcIjK+LiQWTcNSDdEI= sha512-GYqKi1aH7PJXxdhTeZBFrg8vUBeKXi+cNprXsC1kpJcbcVnV9wBsrOu1cQEdG0WeQwlfHiy3XvnKfIrJ2R0NzQ==" + "integrity": "sha1-K4b7aGln6YcIjK+LiQWTcNSDdEI= sha512-GYqKi1aH7PJXxdhTeZBFrg8vUBeKXi+cNprXsC1kpJcbcVnV9wBsrOu1cQEdG0WeQwlfHiy3XvnKfIrJ2R0NzQ==", + "dev": true }, "doctrine": { "version": "3.0.0", @@ -37857,6 +37884,7 @@ "version": "1.0.1", "resolved": "https://registry.yarnpkg.com/document.contains/-/document.contains-1.0.1.tgz", "integrity": "sha1-oYM57I509Af6NHCbZfRWBbOKPh8= sha512-A1KqlZq1w605bwiiLqVZehWE9S9UYlUXPoduFWi64pNVNQ9vy6wwH/7BS+iEfSlF1YyZgcg5PZw5HqDi7FCrUw==", + "dev": true, "requires": { "define-properties": "^1.1.3" } @@ -38069,6 +38097,7 @@ "version": "1.0.1", "resolved": "https://registry.yarnpkg.com/enzyme-shallow-equal/-/enzyme-shallow-equal-1.0.1.tgz", "integrity": "sha1-ev4D2zgBybdt6EQGlAlkEqjZ1J4= sha512-hGA3i1so8OrYOZSM9whlkNmVHOicJpsjgTzC+wn2JMJXhq1oO4kA4bJ5MsfzSIcC71aLDKzJ6gZpIxrqt3QTAQ==", + "dev": true, "requires": { "has": "^1.0.3", "object-is": "^1.0.2" @@ -38093,6 +38122,7 @@ "version": "1.21.2", "resolved": "https://registry.npmjs.org/es-abstract/-/es-abstract-1.21.2.tgz", "integrity": "sha512-y/B5POM2iBnIxCiernH1G7rC9qQoM77lLIMQLuob0zhp8C56Po81+2Nj0WFKnd0pNReDTnkYryc+zhOzpEIROg==", + "dev": true, "requires": { "array-buffer-byte-length": "^1.0.0", "available-typed-arrays": "^1.0.5", @@ -38165,6 +38195,7 @@ "version": "2.0.1", "resolved": "https://registry.npmjs.org/es-set-tostringtag/-/es-set-tostringtag-2.0.1.tgz", "integrity": "sha512-g3OMbtlwY3QewlqAiMLI47KywjWZoEytKr8pf6iTC8uJq5bIAH52Z9pnQ8pVL6whrCto53JZDuUIsifGeLorTg==", + "dev": true, "requires": { "get-intrinsic": "^1.1.3", "has": "^1.0.3", @@ -38175,6 +38206,7 @@ "version": "1.0.0", "resolved": "https://registry.yarnpkg.com/es-shim-unscopables/-/es-shim-unscopables-1.0.0.tgz", "integrity": "sha1-cC5jIZMgHj7fhxNjXQg9N45RAkE= sha512-Jm6GPcCdC30eMLbZ2x8z2WuRwAws3zTBBKuusffYVUrNj/GVSUAZ+xKMaUpfNDR5IbyNA5LJbaecoUVbmUcB1w==", + "dev": true, "requires": { "has": "^1.0.3" } @@ -38183,6 +38215,7 @@ "version": "1.2.1", "resolved": "https://registry.yarnpkg.com/es-to-primitive/-/es-to-primitive-1.2.1.tgz", "integrity": "sha1-5VzUyc3BiLzvsDs2bHNjI/xciYo= sha512-QCOllgZJtaUo9miYBcLChTUaHNjJF3PYs1VidD7AwiEj1kYxKeQTctLAezAOH5ZKRH0g2IgPn6KwB4IT8iRpvA==", + "dev": true, "requires": { "is-callable": "^1.1.4", "is-date-object": "^1.0.1", @@ -39380,6 +39413,7 @@ "version": "0.3.3", "resolved": "https://registry.npmjs.org/for-each/-/for-each-0.3.3.tgz", "integrity": "sha512-jqYfLp7mo9vIyQf8ykW2v7A+2N4QjeCeI5+Dz9XraiO1ign81wjiH7Fb9vSOWvQfNtmSa4H2RoQTrrXivdUZmw==", + "dev": true, "requires": { "is-callable": "^1.1.3" } @@ -39470,12 +39504,14 @@ "function-bind": { "version": "1.1.1", "resolved": "https://registry.yarnpkg.com/function-bind/-/function-bind-1.1.1.tgz", - "integrity": "sha1-pWiZ0+o8m6uHS7l3O3xe3pL0iV0= sha512-yIovAzMX49sF8Yl58fSCWJ5svSLuaibPxXQJFLmBObTuCr0Mf1KiPopGM9NiFjiYBCbfaa2Fh6breQ6ANVTI0A==" + "integrity": "sha1-pWiZ0+o8m6uHS7l3O3xe3pL0iV0= sha512-yIovAzMX49sF8Yl58fSCWJ5svSLuaibPxXQJFLmBObTuCr0Mf1KiPopGM9NiFjiYBCbfaa2Fh6breQ6ANVTI0A==", + "dev": true }, "function.prototype.name": { "version": "1.1.5", "resolved": "https://registry.yarnpkg.com/function.prototype.name/-/function.prototype.name-1.1.5.tgz", "integrity": "sha1-zOBQX+H/uAUD5vnkbMZORqEqliE= sha512-uN7m/BzVKQnCUF/iW8jYea67v++2u7m5UgENbHRtdDVclOUP+FMPlCNdmk0h/ysGyo2tavMJEDqJAkJdRa1vMA==", + "dev": true, "requires": { "call-bind": "^1.0.2", "define-properties": "^1.1.3", @@ -39486,7 +39522,8 @@ "functions-have-names": { "version": "1.2.2", "resolved": "https://registry.yarnpkg.com/functions-have-names/-/functions-have-names-1.2.2.tgz", - "integrity": "sha1-mNk5kcOdqTYfjlCzN8T25B8SDiE= sha512-bLgc3asbWdwPbx2mNk2S49kmJCuQeu0nfmaOgbs8WIyzzkw3r4htszdIi9Q9EMezDPTYuJx2wvjZ/EwgAthpnA==" + "integrity": "sha1-mNk5kcOdqTYfjlCzN8T25B8SDiE= sha512-bLgc3asbWdwPbx2mNk2S49kmJCuQeu0nfmaOgbs8WIyzzkw3r4htszdIi9Q9EMezDPTYuJx2wvjZ/EwgAthpnA==", + "dev": true }, "gauge": { "version": "4.0.4", @@ -39526,6 +39563,7 @@ "version": "1.2.0", "resolved": "https://registry.yarnpkg.com/get-intrinsic/-/get-intrinsic-1.2.0.tgz", "integrity": "sha1-etHcBTXzopBLugdXcnY+UFH20F8= sha512-L049y6nFOuom5wGyRc3/gdTLO94dySVKRACj1RmJZBQXlbTMhtNIgkWkUHq+jYmZvKf14EW1EoJnnjbmoHij0Q==", + "dev": true, "requires": { "function-bind": "^1.1.1", "has": "^1.0.3", @@ -39572,6 +39610,7 @@ "version": "1.0.0", "resolved": "https://registry.yarnpkg.com/get-symbol-description/-/get-symbol-description-1.0.0.tgz", "integrity": "sha1-f9uByQAQH71WTdXxowr1qtweWNY= sha512-2EmdH1YvIQiZpltCNgkuiUnyukzxM/R6NDJX31Ke3BG1Nq5b0S2PhX59UKi9vZpPDQVdqn+1IcaAwnzTT5vCjw==", + "dev": true, "requires": { "call-bind": "^1.0.2", "get-intrinsic": "^1.1.1" @@ -39755,6 +39794,7 @@ "version": "1.2.1", "resolved": "https://registry.yarnpkg.com/global-cache/-/global-cache-1.2.1.tgz", "integrity": "sha1-OcoCDT3Xs/CTTFK3U2P41TMSwW0= sha512-EOeUaup5DgWKlCMhA9YFqNRIlZwoxt731jCh47WBV9fQqHgXhr3Fa55hfgIUqilIcPsfdNKN7LHjrNY+Km40KA==", + "dev": true, "requires": { "define-properties": "^1.1.2", "is-symbol": "^1.0.1" @@ -39770,6 +39810,7 @@ "version": "1.0.3", "resolved": "https://registry.npmjs.org/globalthis/-/globalthis-1.0.3.tgz", "integrity": "sha512-sFdI5LyBiNTHjRd7cGPWapiHWMOXKyuBNX/cWJ3NfzrZQVa8GI/8cofCl74AOVqq9W5kNmguTIzJ/1s2gyI9wA==", + "dev": true, "requires": { "define-properties": "^1.1.3" } @@ -39817,6 +39858,7 @@ "version": "1.0.1", "resolved": "https://registry.npmjs.org/gopd/-/gopd-1.0.1.tgz", "integrity": "sha512-d65bNlIadxvpb/A2abVdlqKqV563juRnZ1Wtk6s1sIR8uNsXR70xqIzVqxVf1eTqDunwT2MkczEeaezCKTZhwA==", + "dev": true, "requires": { "get-intrinsic": "^1.1.3" } @@ -39868,6 +39910,7 @@ "version": "1.0.3", "resolved": "https://registry.yarnpkg.com/has/-/has-1.0.3.tgz", "integrity": "sha1-ci18v8H2qoJB8W3YFOAR4fQeh5Y= sha512-f2dvO0VU6Oej7RkWJGrehjbzMAjFp5/VKPp5tTpWIV4JHHZK1/BxbFRtf/siA2SWTe09caDmVtYYzWEIbBS4zw==", + "dev": true, "requires": { "function-bind": "^1.1.1" } @@ -39884,7 +39927,8 @@ "has-bigints": { "version": "1.0.2", "resolved": "https://registry.yarnpkg.com/has-bigints/-/has-bigints-1.0.2.tgz", - "integrity": "sha1-CHG9Pj1RYm9soJZmaLo11WAtbqo= sha512-tSvCKtBr9lkF0Ex0aQiP9N+OpV4zi2r/Nee5VkRDbaqv35RLYMzbwQfFSZZH0kR+Rd6302UJZ2p/bJCEoR3VoQ==" + "integrity": "sha1-CHG9Pj1RYm9soJZmaLo11WAtbqo= sha512-tSvCKtBr9lkF0Ex0aQiP9N+OpV4zi2r/Nee5VkRDbaqv35RLYMzbwQfFSZZH0kR+Rd6302UJZ2p/bJCEoR3VoQ==", + "dev": true }, "has-flag": { "version": "4.0.0", @@ -39895,6 +39939,7 @@ "version": "1.0.0", "resolved": "https://registry.yarnpkg.com/has-property-descriptors/-/has-property-descriptors-1.0.0.tgz", "integrity": "sha1-YQcIYAYG02lh7QTBlhk7amB/qGE= sha512-62DVLZGoiEBDHQyqG4w9xCuZ7eJEwNmJRWw2VY84Oedb7WFcA27fiEVe8oUQx9hAUJ4ekurquucTGwsyO1XGdQ==", + "dev": true, "requires": { "get-intrinsic": "^1.1.1" } @@ -39902,17 +39947,20 @@ "has-proto": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/has-proto/-/has-proto-1.0.1.tgz", - "integrity": "sha512-7qE+iP+O+bgF9clE5+UoBFzE65mlBiVj3tKCrlNQ0Ogwm0BjpT/gK4SlLYDMybDh5I3TCTKnPPa0oMG7JDYrhg==" + "integrity": "sha512-7qE+iP+O+bgF9clE5+UoBFzE65mlBiVj3tKCrlNQ0Ogwm0BjpT/gK4SlLYDMybDh5I3TCTKnPPa0oMG7JDYrhg==", + "dev": true }, "has-symbols": { "version": "1.0.3", "resolved": "https://registry.yarnpkg.com/has-symbols/-/has-symbols-1.0.3.tgz", - "integrity": "sha1-u3ssQ0klHc6HsSX3vfh0qnyLOfg= sha512-l3LCuF6MgDNwTDKkdYGEihYjt5pRPbEg46rtlmnSPlUbgmB8LOIrKJbYYFBSbnPaJexMKtiPO8hmeRjRz2Td+A==" + "integrity": "sha1-u3ssQ0klHc6HsSX3vfh0qnyLOfg= sha512-l3LCuF6MgDNwTDKkdYGEihYjt5pRPbEg46rtlmnSPlUbgmB8LOIrKJbYYFBSbnPaJexMKtiPO8hmeRjRz2Td+A==", + "dev": true }, "has-tostringtag": { "version": "1.0.0", "resolved": "https://registry.yarnpkg.com/has-tostringtag/-/has-tostringtag-1.0.0.tgz", "integrity": "sha1-fhM4GKfTlHNPlB5zw9P5KR5liyU= sha512-kFjcSNhnlGV1kyoGk7OXKSawH5JOb/LzUc5w9B02hOTO0dfFRjbHQKvg1d6cf3HbeUmtU9VbbV3qzZ2Teh97WQ==", + "dev": true, "requires": { "has-symbols": "^1.0.2" } @@ -39952,6 +40000,7 @@ "version": "3.3.2", "resolved": "https://registry.yarnpkg.com/hoist-non-react-statics/-/hoist-non-react-statics-3.3.2.tgz", "integrity": "sha1-7OCsr3HWLClpwuxZ/v9CpLGoW0U= sha512-/gGivxi8JPKWNm/W0jSmzcMPpfpPLc3dY/6GxhX2hQ9iGj3aDfklV4ET7NjKpSinLpJ5vafa9iiGIEZg10SfBw==", + "dev": true, "requires": { "react-is": "^16.7.0" } @@ -40238,6 +40287,7 @@ "version": "1.0.5", "resolved": "https://registry.npmjs.org/internal-slot/-/internal-slot-1.0.5.tgz", "integrity": "sha512-Y+R5hJrzs52QCG2laLn4udYVnxsfny9CpOhNhUvk/SSSVyF6T27FzRbF0sroPidSu3X8oEAkOn2K804mjpt6UQ==", + "dev": true, "requires": { "get-intrinsic": "^1.2.0", "has": "^1.0.3", @@ -40304,6 +40354,7 @@ "version": "3.0.2", "resolved": "https://registry.npmjs.org/is-array-buffer/-/is-array-buffer-3.0.2.tgz", "integrity": "sha512-y+FyyR/w8vfIRq4eQcM1EYgSTnmHXPqaF+IgzgraytCFq5Xh8lllDVmAZolPJiZttZLeFSINPYMaEJ7/vWUa1w==", + "dev": true, "requires": { "call-bind": "^1.0.2", "get-intrinsic": "^1.2.0", @@ -40320,6 +40371,7 @@ "version": "1.0.4", "resolved": "https://registry.yarnpkg.com/is-bigint/-/is-bigint-1.0.4.tgz", "integrity": "sha1-CBR6GHW8KzIAXUHM2Ckd/8ZpHfM= sha512-zB9CruMamjym81i2JZ3UMn54PKGsQzsJeo6xvN3HJJ4CAsQNB6iRutp2To77OfCNuoxspsIhzaPoO1zyCEhFOg==", + "dev": true, "requires": { "has-bigints": "^1.0.1" } @@ -40337,6 +40389,7 @@ "version": "1.1.2", "resolved": "https://registry.yarnpkg.com/is-boolean-object/-/is-boolean-object-1.1.2.tgz", "integrity": "sha1-XG3CACRt2TIa5LiFoRS7H3X2Nxk= sha512-gDYaKHJmnj4aWxyj6YHyXVpdQawtVLHU5cb+eztPGczf6cjuTdwve5ZIEfgXqH4e57An1D1AKf8CZ3kYrQRqYA==", + "dev": true, "requires": { "call-bind": "^1.0.2", "has-tostringtag": "^1.0.0" @@ -40345,7 +40398,8 @@ "is-callable": { "version": "1.2.7", "resolved": "https://registry.yarnpkg.com/is-callable/-/is-callable-1.2.7.tgz", - "integrity": "sha1-O8KoXqdC2eNiBdys3XLKH9xRsFU= sha512-1BC0BVFhS/p0qtw6enp8e+8OD0UrK0oFLztSjNzhcKA3WDuJxxAPXzPuPtKkjEY9UUoEWlX/8fgKeu2S8i9JTA==" + "integrity": "sha1-O8KoXqdC2eNiBdys3XLKH9xRsFU= sha512-1BC0BVFhS/p0qtw6enp8e+8OD0UrK0oFLztSjNzhcKA3WDuJxxAPXzPuPtKkjEY9UUoEWlX/8fgKeu2S8i9JTA==", + "dev": true }, "is-ci": { "version": "2.0.0", @@ -40377,6 +40431,7 @@ "version": "1.0.5", "resolved": "https://registry.yarnpkg.com/is-date-object/-/is-date-object-1.0.5.tgz", "integrity": "sha1-CEHVU25yTCVZe/bqYuG9OCmN8x8= sha512-9YQaSxsAiSwcvS33MBk3wTCVnWK+HhF8VZR2jRxehM16QcVOdHqPn4VPHmRK4lSr38n9JriurInLcP90xsYNfQ==", + "dev": true, "requires": { "has-tostringtag": "^1.0.0" } @@ -40470,12 +40525,14 @@ "is-negative-zero": { "version": "2.0.2", "resolved": "https://registry.yarnpkg.com/is-negative-zero/-/is-negative-zero-2.0.2.tgz", - "integrity": "sha1-e/bwOigAO4s5Zd46wm9mTXZfMVA= sha512-dqJvarLawXsFbNDeJW7zAz8ItJ9cd28YufuuFzh0G8pNHjJMnY08Dv7sYX2uF5UpQOwieAeOExEYAWWfu7ZZUA==" + "integrity": "sha1-e/bwOigAO4s5Zd46wm9mTXZfMVA= sha512-dqJvarLawXsFbNDeJW7zAz8ItJ9cd28YufuuFzh0G8pNHjJMnY08Dv7sYX2uF5UpQOwieAeOExEYAWWfu7ZZUA==", + "dev": true }, "is-number-object": { "version": "1.0.6", "resolved": "https://registry.yarnpkg.com/is-number-object/-/is-number-object-1.0.6.tgz", "integrity": "sha1-anqvg4x/BoalC0VT9+VKlklOifA= sha512-bEVOqiRcvo3zO1+G2lVMy+gkkEm9Yh7cDMRusKKu5ZJKPUYSJwICTKZrNKHA2EbSP0Tu0+6B/emsYNHZyn6K8g==", + "dev": true, "requires": { "has-tostringtag": "^1.0.0" } @@ -40542,6 +40599,7 @@ "version": "1.1.4", "resolved": "https://registry.yarnpkg.com/is-regex/-/is-regex-1.1.4.tgz", "integrity": "sha1-7vVmPNWfpMCuM5UFMj32hUuxWVg= sha512-kvRdxDsxZjhzUX07ZnLydzS1TU/TJlTUHHY4YLL87e37oUA49DfkLqgy+VjFocowy29cKvcSiu+kIv728jTTVg==", + "dev": true, "requires": { "call-bind": "^1.0.2", "has-tostringtag": "^1.0.0" @@ -40557,6 +40615,7 @@ "version": "1.0.2", "resolved": "https://registry.yarnpkg.com/is-shared-array-buffer/-/is-shared-array-buffer-1.0.2.tgz", "integrity": "sha1-jyWcVztgtqMtQFihoHQwwKc0THk= sha512-sqN2UDu1/0y6uvXyStCOzyhAjCSlHceFoMKJW8W9EU9cvic/QdsZ0kEU93HEy3IUEFZIiH/3w+AH/UQbPHNdhA==", + "dev": true, "requires": { "call-bind": "^1.0.2" } @@ -40580,6 +40639,7 @@ "version": "1.0.7", "resolved": "https://registry.yarnpkg.com/is-string/-/is-string-1.0.7.tgz", "integrity": "sha1-DdEr8gBvJVu1j2lREO/3SR7rwP0= sha512-tE2UXzivje6ofPW7l23cjDOMa09gb7xlAqG6jG5ej6uPV32TlWP3NKPigtaGeHNu9fohccRYvIiZMfOOnOYUtg==", + "dev": true, "requires": { "has-tostringtag": "^1.0.0" } @@ -40597,6 +40657,7 @@ "version": "1.0.4", "resolved": "https://registry.yarnpkg.com/is-symbol/-/is-symbol-1.0.4.tgz", "integrity": "sha1-ptrJO2NbBjymhyI23oiRClevE5w= sha512-C/CPBqKWnvdcxqIARxyOh4v1UUEOCHpgDa0WYgpKDFMszcrPcffg5uhwSgPCLD2WWxmq6isisz87tzT01tuGhg==", + "dev": true, "requires": { "has-symbols": "^1.0.2" } @@ -40613,12 +40674,14 @@ "is-touch-device": { "version": "1.0.1", "resolved": "https://registry.yarnpkg.com/is-touch-device/-/is-touch-device-1.0.1.tgz", - "integrity": "sha1-mi/Vn2iempv2rpqGkkxLqAWkLqs= sha512-LAYzo9kMT1b2p19L/1ATGt2XcSilnzNlyvq6c0pbPRVisLbAPpLqr53tIJS00kvrTkj0HtR8U7+u8X0yR8lPSw==" + "integrity": "sha1-mi/Vn2iempv2rpqGkkxLqAWkLqs= sha512-LAYzo9kMT1b2p19L/1ATGt2XcSilnzNlyvq6c0pbPRVisLbAPpLqr53tIJS00kvrTkj0HtR8U7+u8X0yR8lPSw==", + "dev": true }, "is-typed-array": { "version": "1.1.10", "resolved": "https://registry.npmjs.org/is-typed-array/-/is-typed-array-1.1.10.tgz", "integrity": "sha512-PJqgEHiWZvMpaFZ3uTc8kHPM4+4ADTlDniuQL7cU/UDA0Ql7F70yGfHph3cLNe+c9toaigv+DFzTJKhc2CtO6A==", + "dev": true, "requires": { "available-typed-arrays": "^1.0.5", "call-bind": "^1.0.2", @@ -40643,6 +40706,7 @@ "version": "1.0.2", "resolved": "https://registry.yarnpkg.com/is-weakref/-/is-weakref-1.0.2.tgz", "integrity": "sha1-lSnzg6kzggXol2XgOS78LxAPBvI= sha512-qctsuLZmIQ0+vSSMfoVvyFe2+GSEvnmZ2ezTup1SBse9+twCCeial6EEi3Nc2KFcf6+qz2FBPnjXsk8xhKSaPQ==", + "dev": true, "requires": { "call-bind": "^1.0.2" } @@ -43323,7 +43387,8 @@ "lodash": { "version": "4.17.21", "resolved": "https://registry.yarnpkg.com/lodash/-/lodash-4.17.21.tgz", - "integrity": "sha1-Z5WRxWTDv/quhFTPCz3zcMPWkRw= sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg==" + "integrity": "sha1-Z5WRxWTDv/quhFTPCz3zcMPWkRw= sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg==", + "dev": true }, "lodash.debounce": { "version": "4.0.8", @@ -44396,7 +44461,8 @@ "moment": { "version": "2.29.4", "resolved": "https://registry.yarnpkg.com/moment/-/moment-2.29.4.tgz", - "integrity": "sha1-Pb4FKIn+fBsu2Wb8s6dzKJZO8Qg= sha512-5LC9SOxjSc2HF6vO2CyuTDNivEdoz2IvyJJGj6X8DJ0eFyfszE0QiEd+iXmBvUP3WHxSjFH/vIsA0EN00cgr8w==" + "integrity": "sha1-Pb4FKIn+fBsu2Wb8s6dzKJZO8Qg= sha512-5LC9SOxjSc2HF6vO2CyuTDNivEdoz2IvyJJGj6X8DJ0eFyfszE0QiEd+iXmBvUP3WHxSjFH/vIsA0EN00cgr8w==", + "dev": true }, "mri": { "version": "1.2.0", @@ -44950,12 +45016,14 @@ "object-inspect": { "version": "1.12.3", "resolved": "https://registry.npmjs.org/object-inspect/-/object-inspect-1.12.3.tgz", - "integrity": "sha512-geUvdk7c+eizMNUDkRpW1wJwgfOiOeHbxBR/hLXK1aT6zmVSO0jsQcs7fj6MGw89jC/cjGfLcNOrtMYtGqm81g==" + "integrity": "sha512-geUvdk7c+eizMNUDkRpW1wJwgfOiOeHbxBR/hLXK1aT6zmVSO0jsQcs7fj6MGw89jC/cjGfLcNOrtMYtGqm81g==", + "dev": true }, "object-is": { "version": "1.1.5", "resolved": "https://registry.npmjs.org/object-is/-/object-is-1.1.5.tgz", "integrity": "sha512-3cyDsyHgtmi7I7DfSSI2LDp6SK2lwvtbg0p0R1e0RvTqF5ceGx+K2dfSjm1bKDMVCFEDAQvy+o8c6a7VujOddw==", + "dev": true, "requires": { "call-bind": "^1.0.2", "define-properties": "^1.1.3" @@ -44964,12 +45032,14 @@ "object-keys": { "version": "1.1.1", "resolved": "https://registry.yarnpkg.com/object-keys/-/object-keys-1.1.1.tgz", - "integrity": "sha1-HEfyct8nfzsdrwYWd9nILiMixg4= sha512-NuAESUOUMrlIXOfHKzD6bpPu3tYt3xvjNdRIQ+FeT0lNb4K8WR70CaDxhuNguS2XG+GjkyMwOzsN5ZktImfhLA==" + "integrity": "sha1-HEfyct8nfzsdrwYWd9nILiMixg4= sha512-NuAESUOUMrlIXOfHKzD6bpPu3tYt3xvjNdRIQ+FeT0lNb4K8WR70CaDxhuNguS2XG+GjkyMwOzsN5ZktImfhLA==", + "dev": true }, "object.assign": { "version": "4.1.4", "resolved": "https://registry.npmjs.org/object.assign/-/object.assign-4.1.4.tgz", "integrity": "sha512-1mxKf0e58bvyjSCtKYY4sRe9itRk3PJpquJOjeIkz885CczcI4IvJJDLPS72oowuSh+pBxUFROpX+TU++hxhZQ==", + "dev": true, "requires": { "call-bind": "^1.0.2", "define-properties": "^1.1.4", @@ -44981,6 +45051,7 @@ "version": "1.1.6", "resolved": "https://registry.npmjs.org/object.entries/-/object.entries-1.1.6.tgz", "integrity": "sha512-leTPzo4Zvg3pmbQ3rDK69Rl8GQvIqMWubrkxONG9/ojtFE2rD9fjMKfSI5BxW3osRH1m6VdzmqK8oAY9aT4x5w==", + "dev": true, "requires": { "call-bind": "^1.0.2", "define-properties": "^1.1.4", @@ -45012,6 +45083,7 @@ "version": "1.1.6", "resolved": "https://registry.npmjs.org/object.values/-/object.values-1.1.6.tgz", "integrity": "sha512-FVVTkD1vENCsAcwNs9k6jea2uHC/X0+JcjG8YA60FN5CMaJmG95wT9jek/xX9nornqGRrBkKtzuAu2wuHpKqvw==", + "dev": true, "requires": { "call-bind": "^1.0.2", "define-properties": "^1.1.4", @@ -45522,7 +45594,8 @@ "performance-now": { "version": "2.1.0", "resolved": "https://registry.yarnpkg.com/performance-now/-/performance-now-2.1.0.tgz", - "integrity": "sha1-Ywn04OX6kT7BxpMHrjZLSzd8nns=" + "integrity": "sha1-Ywn04OX6kT7BxpMHrjZLSzd8nns=", + "dev": true }, "picocolors": { "version": "1.0.0", @@ -45814,6 +45887,7 @@ "version": "1.2.0", "resolved": "https://registry.yarnpkg.com/prop-types-exact/-/prop-types-exact-1.2.0.tgz", "integrity": "sha1-gl1r5GCUZjhII345JamMbpROmGk= sha512-K+Tk3Kd9V0odiXFP9fwDHUYRyvK3Nun3GVyPapSIs5OBkITAm15W0CPFD/YKTkMUAbc0b9CUwRQp2ybiBIq+eA==", + "dev": true, "requires": { "has": "^1.0.3", "object.assign": "^4.1.0", @@ -45997,6 +46071,7 @@ "version": "3.4.1", "resolved": "https://registry.yarnpkg.com/raf/-/raf-3.4.1.tgz", "integrity": "sha1-B0LpmkplUvRF1z4+4DKK8P8e3jk= sha512-Sq4CW4QhwOHE8ucn6J34MqtZCeWFP2aQSmrlroYgqAV1PjStIhJXxYuTgUIfkEk7zTLjmIjLmU5q+fbD1NnOJA==", + "dev": true, "requires": { "performance-now": "^2.1.0" } @@ -46044,6 +46119,7 @@ "version": "21.8.0", "resolved": "https://registry.yarnpkg.com/react-dates/-/react-dates-21.8.0.tgz", "integrity": "sha1-NVw8eiQ6fClWj+AKypYjHhcaXpQ= sha512-PPriGqi30CtzZmoHiGdhlA++YPYPYGCZrhydYmXXQ6RAvAsaONcPtYgXRTLozIOrsQ5mSo40+DiA5eOFHnZ6xw==", + "dev": true, "requires": { "airbnb-prop-types": "^2.15.0", "consolidated-events": "^1.1.1 || ^2.0.0", @@ -46129,6 +46205,7 @@ "version": "1.7.0", "resolved": "https://registry.yarnpkg.com/react-moment-proptypes/-/react-moment-proptypes-1.7.0.tgz", "integrity": "sha1-iYgUeYQKdsE1dKhuO7IUxLpWTno= sha512-ZbOn/P4u469WEGAw5hgkS/E+g1YZqdves2BjYsLluJobzUZCtManhjHiZKjniBVT7MSHM6D/iKtRVzlXVv3ikA==", + "dev": true, "requires": { "moment": ">=1.6.0" } @@ -46145,6 +46222,7 @@ "version": "1.3.0", "resolved": "https://registry.yarnpkg.com/react-outside-click-handler/-/react-outside-click-handler-1.3.0.tgz", "integrity": "sha1-ODHVQawFne7NOOxUI/gegK1g4RU= sha512-Te/7zFU0oHpAnctl//pP3hEAeobfeHMyygHB8MnjP6sX5OR8KHT1G3jmLsV3U9RnIYo+Yn+peJYWu+D5tUS8qQ==", + "dev": true, "requires": { "airbnb-prop-types": "^2.15.0", "consolidated-events": "^1.1.1 || ^2.0.0", @@ -46157,6 +46235,7 @@ "version": "4.2.1", "resolved": "https://registry.yarnpkg.com/react-portal/-/react-portal-4.2.1.tgz", "integrity": "sha1-EsFZkjjAb7CKmADzBwvqKj94saY= sha512-fE9kOBagwmTXZ3YGRYb4gcMy+kSA+yLO0xnPankjRlfBv4uCpFXqKPfkpsGQQR15wkZ9EssnvTOl1yMzbkxhPQ==", + "dev": true, "requires": { "prop-types": "^15.5.8" } @@ -46199,6 +46278,7 @@ "version": "1.3.1", "resolved": "https://registry.yarnpkg.com/react-with-direction/-/react-with-direction-1.3.1.tgz", "integrity": "sha1-n9QUVk8P/mlH5f8Xb2Ey3YP4uN8= sha512-aGcM21ZzhqeXFvDCfPj0rVNYuaVXfTz5D3Rbn0QMz/unZe+CCiLHthrjQWO7s6qdfXORgYFtmS7OVsRgSk5LXQ==", + "dev": true, "requires": { "airbnb-prop-types": "^2.10.0", "brcast": "^2.0.2", @@ -46213,7 +46293,8 @@ "deepmerge": { "version": "1.5.2", "resolved": "https://registry.yarnpkg.com/deepmerge/-/deepmerge-1.5.2.tgz", - "integrity": "sha1-EEmdhohEza1P7ghC34x/bwyVp1M= sha512-95k0GDqvBjZavkuvzx/YqVLv/6YYa17fz6ILMSf7neqQITCPbnfEnQvEgMPNjH4kgobe7+WIL0yJEHku+H3qtQ==" + "integrity": "sha1-EEmdhohEza1P7ghC34x/bwyVp1M= sha512-95k0GDqvBjZavkuvzx/YqVLv/6YYa17fz6ILMSf7neqQITCPbnfEnQvEgMPNjH4kgobe7+WIL0yJEHku+H3qtQ==", + "dev": true } } }, @@ -46221,6 +46302,7 @@ "version": "4.1.0", "resolved": "https://registry.yarnpkg.com/react-with-styles/-/react-with-styles-4.1.0.tgz", "integrity": "sha1-S/wtqpLdcgM/wZ/YYbkCJaaCpkA= sha512-zp05fyA6XFetqr07ox/a0bCFyEj//gUozI9cC1GW59zaGJ38STnxYvzotutgpzMyHOd7TFW9ZiZeBKjsYaS+RQ==", + "dev": true, "requires": { "airbnb-prop-types": "^2.14.0", "hoist-non-react-statics": "^3.2.1", @@ -46233,6 +46315,7 @@ "version": "6.0.0", "resolved": "https://registry.yarnpkg.com/react-with-styles-interface-css/-/react-with-styles-interface-css-6.0.0.tgz", "integrity": "sha1-tT2n+oNZ1FLLk0z6zoc4rK73tf4= sha512-6khSG1Trf4L/uXOge/ZAlBnq2O2PEXlQEqAhCRbvzaQU4sksIkdwpCPEl6d+DtP3+IdhyffTWuHDO9lhe1iYvA==", + "dev": true, "requires": { "array.prototype.flat": "^1.2.1", "global-cache": "^1.2.1" @@ -46572,7 +46655,8 @@ "reflect.ownkeys": { "version": "0.2.0", "resolved": "https://registry.yarnpkg.com/reflect.ownkeys/-/reflect.ownkeys-0.2.0.tgz", - "integrity": "sha1-dJrO7H8/34tj+SegSAnpDFwLNGA=" + "integrity": "sha1-dJrO7H8/34tj+SegSAnpDFwLNGA=", + "dev": true }, "refractor": { "version": "3.6.0", @@ -46627,6 +46711,7 @@ "version": "1.4.3", "resolved": "https://registry.yarnpkg.com/regexp.prototype.flags/-/regexp.prototype.flags-1.4.3.tgz", "integrity": "sha1-h8qzD4D2ZmAYGju3v1mBqHKzZ6w= sha512-fjggEOO3slI6Wvgjwflkc4NFRCTZAu5CnNfBd5qOMYhWdn67nJBBu34/TkD++eeFmd8C9r9jfXJ27+nSiRkSUA==", + "dev": true, "requires": { "call-bind": "^1.0.2", "define-properties": "^1.1.3", @@ -46865,6 +46950,7 @@ "version": "1.0.0", "resolved": "https://registry.npmjs.org/safe-regex-test/-/safe-regex-test-1.0.0.tgz", "integrity": "sha512-JBUUzyOgEwXQY1NuPtvcj/qcBDbDmEvWufhlnXZIm75DEHp+afM1r1ujJpJsV/gSM4t59tpDyPi1sd6ZaPFfsA==", + "dev": true, "requires": { "call-bind": "^1.0.2", "get-intrinsic": "^1.1.3", @@ -47050,6 +47136,7 @@ "version": "1.0.4", "resolved": "https://registry.yarnpkg.com/side-channel/-/side-channel-1.0.4.tgz", "integrity": "sha1-785cj9wQTudRslxY1CkAEfpeos8= sha512-q5XPytqFEIKHkGdiMIrY10mvLRvnQh42/+GoBlFW3b2LXLE2xxJpZFdm94we0BaoV3RwJyGqg5wS7epxTv0Zvw==", + "dev": true, "requires": { "call-bind": "^1.0.0", "get-intrinsic": "^1.0.2", @@ -47769,6 +47856,7 @@ "version": "1.2.7", "resolved": "https://registry.npmjs.org/string.prototype.trim/-/string.prototype.trim-1.2.7.tgz", "integrity": "sha512-p6TmeT1T3411M8Cgg9wBTMRtY2q9+PNy9EV1i2lIXUN/btt763oIfxwN3RR8VU6wHX8j/1CFy0L+YuThm6bgOg==", + "dev": true, "requires": { "call-bind": "^1.0.2", "define-properties": "^1.1.4", @@ -47779,6 +47867,7 @@ "version": "1.0.6", "resolved": "https://registry.npmjs.org/string.prototype.trimend/-/string.prototype.trimend-1.0.6.tgz", "integrity": "sha512-JySq+4mrPf9EsDBEDYMOb/lM7XQLulwg5R/m1r0PXEFqrV0qHvl58sdTilSXtKOflCsK2E8jxf+GKC0T07RWwQ==", + "dev": true, "requires": { "call-bind": "^1.0.2", "define-properties": "^1.1.4", @@ -47789,6 +47878,7 @@ "version": "1.0.6", "resolved": "https://registry.npmjs.org/string.prototype.trimstart/-/string.prototype.trimstart-1.0.6.tgz", "integrity": "sha512-omqjMDaY92pbn5HOX7f9IccLA+U1tA9GvtU4JrodiXFfYB7jPzzHpRzpglLAjtUV6bB557zwClJezTqnAiYnQA==", + "dev": true, "requires": { "call-bind": "^1.0.2", "define-properties": "^1.1.4", @@ -48616,6 +48706,7 @@ "version": "1.0.4", "resolved": "https://registry.npmjs.org/typed-array-length/-/typed-array-length-1.0.4.tgz", "integrity": "sha512-KjZypGq+I/H7HI5HlOoGHkWUUGq+Q0TPhQurLbyrVrvnKTBgzLhIJ7j6J/XTQOi0d1RjyZ0wdas8bKs2p0x3Ng==", + "dev": true, "requires": { "call-bind": "^1.0.2", "for-each": "^0.3.3", @@ -48644,6 +48735,7 @@ "version": "1.0.2", "resolved": "https://registry.yarnpkg.com/unbox-primitive/-/unbox-primitive-1.0.2.tgz", "integrity": "sha1-KQMgIQV9Xmzb0IxRKcIm3/jtb54= sha512-61pPlCD9h51VoreyJ0BReideM3MDKMKnh6+V9L08331ipq6Q8OFXZYiqP6n/tbHx4s5I9uRhcye6BrbkizkBDw==", + "dev": true, "requires": { "call-bind": "^1.0.2", "has-bigints": "^1.0.2", @@ -49238,6 +49330,7 @@ "version": "1.0.2", "resolved": "https://registry.yarnpkg.com/which-boxed-primitive/-/which-boxed-primitive-1.0.2.tgz", "integrity": "sha1-E3V7yJsgmwSf5dhkMOIc9AqJqOY= sha512-bwZdv0AKLpplFY2KZRX6TvyuN7ojjr7lwkg6ml0roIy9YeuSr7JS372qlNW18UQYzgYK9ziGcerWqZOmEn9VNg==", + "dev": true, "requires": { "is-bigint": "^1.0.1", "is-boolean-object": "^1.1.0", @@ -49284,6 +49377,7 @@ "version": "1.1.9", "resolved": "https://registry.npmjs.org/which-typed-array/-/which-typed-array-1.1.9.tgz", "integrity": "sha512-w9c4xkx6mPidwp7180ckYWfMmvxpjlZuIudNtDf4N/tTAUB8VJbX25qZoAsrtGuYNnGw3pa0AXgbGKRB8/EceA==", + "dev": true, "requires": { "available-typed-arrays": "^1.0.5", "call-bind": "^1.0.2", diff --git a/packages/circuit-ui/components/Anchor/Anchor.mdx b/packages/circuit-ui/components/Anchor/Anchor.mdx index 11a84951af..5399449cf2 100644 --- a/packages/circuit-ui/components/Anchor/Anchor.mdx +++ b/packages/circuit-ui/components/Anchor/Anchor.mdx @@ -5,7 +5,7 @@ import * as Stories from './Anchor.stories'; # Anchor - + The Anchor component is used to display a link or button that visually looks like a hyperlink. diff --git a/packages/circuit-ui/components/Avatar/Avatar.mdx b/packages/circuit-ui/components/Avatar/Avatar.mdx index b4aab5a375..fe76d502f3 100644 --- a/packages/circuit-ui/components/Avatar/Avatar.mdx +++ b/packages/circuit-ui/components/Avatar/Avatar.mdx @@ -5,7 +5,7 @@ import * as Stories from './Avatar.stories'; # Avatar - + The Avatar component displays an identity or an object image. It can be passed to the [ImageInput](Forms/ImageInput) to allow users to upload an avatar. diff --git a/packages/circuit-ui/components/Badge/Badge.mdx b/packages/circuit-ui/components/Badge/Badge.mdx index 91b4c94674..2927286f0e 100644 --- a/packages/circuit-ui/components/Badge/Badge.mdx +++ b/packages/circuit-ui/components/Badge/Badge.mdx @@ -5,7 +5,7 @@ import * as Stories from './Badge.stories'; # Badge - + Badges are non-actionable elements in the UI, used to indicate the status of an object. diff --git a/packages/circuit-ui/components/Body/Body.mdx b/packages/circuit-ui/components/Body/Body.mdx index d296bb81e3..d6ff462d95 100644 --- a/packages/circuit-ui/components/Body/Body.mdx +++ b/packages/circuit-ui/components/Body/Body.mdx @@ -5,7 +5,7 @@ import * as Stories from './Body.stories'; # Body - + The Body component is used to present content to our users. diff --git a/packages/circuit-ui/components/BodyLarge/BodyLarge.mdx b/packages/circuit-ui/components/BodyLarge/BodyLarge.mdx index 1a682ad718..08b3f5d464 100644 --- a/packages/circuit-ui/components/BodyLarge/BodyLarge.mdx +++ b/packages/circuit-ui/components/BodyLarge/BodyLarge.mdx @@ -5,7 +5,7 @@ import * as Stories from './BodyLarge.stories'; # BodyLarge - + The BodyLarge component is used to render content with large typography. Typically, large typography is intended for landing pages. In most cases, the [Body](Typography/Body) should be used instead. diff --git a/packages/circuit-ui/components/Button/Button.mdx b/packages/circuit-ui/components/Button/Button.mdx index 28190db840..fcced764d6 100644 --- a/packages/circuit-ui/components/Button/Button.mdx +++ b/packages/circuit-ui/components/Button/Button.mdx @@ -5,7 +5,7 @@ import * as Stories from './Button.stories'; # Button - + A button allows us to highlight actions in the product and make them easily perceived and achievable through just one click. diff --git a/packages/circuit-ui/components/ButtonGroup/ButtonGroup.mdx b/packages/circuit-ui/components/ButtonGroup/ButtonGroup.mdx index 11b2195ffc..177dd714e7 100644 --- a/packages/circuit-ui/components/ButtonGroup/ButtonGroup.mdx +++ b/packages/circuit-ui/components/ButtonGroup/ButtonGroup.mdx @@ -5,7 +5,7 @@ import * as Stories from './ButtonGroup.stories'; # ButtonGroup - + The ButtonGroup component groups and formats two buttons. It adds spacing between buttons and handles responsiveness. diff --git a/packages/circuit-ui/components/Calendar/RangePicker.stories.tsx b/packages/circuit-ui/components/Calendar/RangePicker.stories.tsx index c09674894d..44f211400d 100644 --- a/packages/circuit-ui/components/Calendar/RangePicker.stories.tsx +++ b/packages/circuit-ui/components/Calendar/RangePicker.stories.tsx @@ -15,7 +15,7 @@ import { useState } from 'react'; import type { Moment } from 'moment'; -import { FocusedInputShape } from 'react-dates'; +import type { FocusedInputShape } from 'react-dates'; import { RangePicker, RangePickerProps } from './RangePicker.js'; diff --git a/packages/circuit-ui/components/Calendar/RangePicker.tsx b/packages/circuit-ui/components/Calendar/RangePicker.tsx index 036504bdc8..bc2f722ef7 100644 --- a/packages/circuit-ui/components/Calendar/RangePicker.tsx +++ b/packages/circuit-ui/components/Calendar/RangePicker.tsx @@ -15,8 +15,10 @@ import { css } from '@emotion/react'; import { ArrowRight, ArrowLeft, Close } from '@sumup/icons'; +// eslint-disable-next-line import/no-extraneous-dependencies import { DateRangePicker } from 'react-dates'; import type { DateRangePickerShape } from 'react-dates'; +// eslint-disable-next-line import/no-extraneous-dependencies import 'react-dates/initialize.js'; import styled from '../../styles/styled.js'; @@ -36,6 +38,9 @@ const CloseIcon = styled(Close)( export type RangePickerProps = DateRangePickerShape; +/** + * @legacy + */ export const RangePicker = (props: RangePickerProps) => ( ( - Likely to be renamed. Prop names likely to be changed. - +Due to be replaced entirely. A calendar contains a view with actionable buttons in order to pick a range of dates and time frames for a specific task. +## Dependencies + +The calendar components depend on [`react-dates`](https://github.com/react-dates/react-dates) and [`moment`](https://momentjs.com/) which are no longer included in Circuit UI. Install them manually before using the components: + +```bash +# npm +npm install react-dates@^21.8 moment@^2.29 +# yarn v1 +yarn add react-dates@^21.8 moment@^2.29 +``` + +Note that `react-dates` isn't compatible with React 18 yet ([ref](https://github.com/react-dates/react-dates/issues/2199)) and might cause a peer dependency error when using npm. Override the warning with `npm install --force` at your own risk. + ## When to use it Calendars are used when we need our users to pick a specific time period in order to complete a task @@ -26,33 +37,33 @@ or filter a subset of dated items (such as the transaction history, for example) ### Range Picker - + Used when the user needs to have clear visibility of selected start and end dates after the selection, for instance when a user needs to pick a time period within a form. - + ### Single Day Picker - + Used when you the user only needs to select a single specific date. - + ### Calendar Tag - + Used for cases where the user needs to select dates within the same month and that selection affects the data displayed. - + ### Calendar Tag Two Step - + Used for cases where the user needs to select dates that could be outside the same month and that selection affects the data displayed. - + diff --git a/packages/circuit-ui/components/CalendarTag/CalendarTag.tsx b/packages/circuit-ui/components/CalendarTag/CalendarTag.tsx index 1f2bd4ac5c..b34d17276f 100644 --- a/packages/circuit-ui/components/CalendarTag/CalendarTag.tsx +++ b/packages/circuit-ui/components/CalendarTag/CalendarTag.tsx @@ -52,6 +52,9 @@ function toDate(date: CalendarDate) { return date ? date.format('MMM DD') : ''; } +/** + * @legacy + */ export class CalendarTag extends Component { state = { startDate: null, diff --git a/packages/circuit-ui/components/CalendarTagTwoStep/CalendarTagTwoStep.tsx b/packages/circuit-ui/components/CalendarTagTwoStep/CalendarTagTwoStep.tsx index 37a7f9ee66..f915d99f80 100644 --- a/packages/circuit-ui/components/CalendarTagTwoStep/CalendarTagTwoStep.tsx +++ b/packages/circuit-ui/components/CalendarTagTwoStep/CalendarTagTwoStep.tsx @@ -69,6 +69,8 @@ function toDate(date: CalendarDate) { } /** + * @legacy + * * Component composed from a and a that has * two step process where the user has to click "Apply" to trigger onChange */ diff --git a/packages/circuit-ui/components/Card/Card.mdx b/packages/circuit-ui/components/Card/Card.mdx index eec9858ab9..d571bdd5c8 100644 --- a/packages/circuit-ui/components/Card/Card.mdx +++ b/packages/circuit-ui/components/Card/Card.mdx @@ -5,7 +5,7 @@ import * as Stories from './Card.stories'; # Card - + Cards are one of the most important elements that give structure to the content we are showing to our users. They group related information and make our product easy to scan and understand. diff --git a/packages/circuit-ui/components/Carousel/Carousel.mdx b/packages/circuit-ui/components/Carousel/Carousel.mdx index 6c4f1a0ac0..fd1f61571f 100644 --- a/packages/circuit-ui/components/Carousel/Carousel.mdx +++ b/packages/circuit-ui/components/Carousel/Carousel.mdx @@ -5,9 +5,9 @@ import * as Stories from './Carousel.stories'; # Carousel - + The component doesn't meet our accessibility standards. - + diff --git a/packages/circuit-ui/components/Checkbox/Checkbox.mdx b/packages/circuit-ui/components/Checkbox/Checkbox.mdx index b67300363b..5771953fb3 100644 --- a/packages/circuit-ui/components/Checkbox/Checkbox.mdx +++ b/packages/circuit-ui/components/Checkbox/Checkbox.mdx @@ -5,7 +5,7 @@ import * as Stories from './Checkbox.stories'; # Checkbox - + The primary goal of checkboxes is to provide a way for the user to make a range of selections. The users can select from zero, one, or multiple options. In other words, each checkbox is independent diff --git a/packages/circuit-ui/components/CurrencyInput/CurrencyInput.mdx b/packages/circuit-ui/components/CurrencyInput/CurrencyInput.mdx index 9b345a043c..05b70fe83f 100644 --- a/packages/circuit-ui/components/CurrencyInput/CurrencyInput.mdx +++ b/packages/circuit-ui/components/CurrencyInput/CurrencyInput.mdx @@ -5,7 +5,7 @@ import * as Stories from './CurrencyInput.stories'; # CurrencyInput - + The CurrencyInput component indicates to the user that a number should be entered in a given currency. diff --git a/packages/circuit-ui/components/Grid/Grid.mdx b/packages/circuit-ui/components/Grid/Grid.mdx index b6b529fd29..51084f1b8f 100644 --- a/packages/circuit-ui/components/Grid/Grid.mdx +++ b/packages/circuit-ui/components/Grid/Grid.mdx @@ -5,7 +5,7 @@ import * as Stories from './Grid/Grid.stories'; # Grid - + ## Static columns diff --git a/packages/circuit-ui/components/Headline/Headline.mdx b/packages/circuit-ui/components/Headline/Headline.mdx index 3949b24cd8..06ddaeaba0 100644 --- a/packages/circuit-ui/components/Headline/Headline.mdx +++ b/packages/circuit-ui/components/Headline/Headline.mdx @@ -5,7 +5,7 @@ import * as Stories from './Headline.stories'; # Headline - + The Headline component is used for describing the contents of a page or page section. It is an essential part of a page's structure, helping organize information for users. diff --git a/packages/circuit-ui/components/Hr/Hr.mdx b/packages/circuit-ui/components/Hr/Hr.mdx index 48991517bb..c60e49e2c2 100644 --- a/packages/circuit-ui/components/Hr/Hr.mdx +++ b/packages/circuit-ui/components/Hr/Hr.mdx @@ -5,7 +5,7 @@ import * as Stories from './Hr.stories'; # Hr - + A horizontal rule visually and semantically separates content into sections. diff --git a/packages/circuit-ui/components/Image/Image.mdx b/packages/circuit-ui/components/Image/Image.mdx index a9b9dd6603..ba8e078488 100644 --- a/packages/circuit-ui/components/Image/Image.mdx +++ b/packages/circuit-ui/components/Image/Image.mdx @@ -5,7 +5,7 @@ import * as Stories from './Image.stories'; # Image - + diff --git a/packages/circuit-ui/components/ImageInput/ImageInput.mdx b/packages/circuit-ui/components/ImageInput/ImageInput.mdx index 6f9dda9729..1b1499f6cc 100644 --- a/packages/circuit-ui/components/ImageInput/ImageInput.mdx +++ b/packages/circuit-ui/components/ImageInput/ImageInput.mdx @@ -5,7 +5,7 @@ import * as Stories from './ImageInput.stories'; # ImageInput - + The ImageInput component allows users to upload images. It can be used on its own or as part of a form. diff --git a/packages/circuit-ui/components/Input/Input.mdx b/packages/circuit-ui/components/Input/Input.mdx index af661e0e38..01916ecffb 100644 --- a/packages/circuit-ui/components/Input/Input.mdx +++ b/packages/circuit-ui/components/Input/Input.mdx @@ -5,7 +5,7 @@ import * as Stories from './Input.stories'; # Input - + A text field is an input field for inserting short text and numbers. It has multiple functions and supports multiple character types/formats. diff --git a/packages/circuit-ui/components/List/List.mdx b/packages/circuit-ui/components/List/List.mdx index 799fed1bd2..54d4f3ca3e 100644 --- a/packages/circuit-ui/components/List/List.mdx +++ b/packages/circuit-ui/components/List/List.mdx @@ -5,7 +5,7 @@ import * as Stories from './List.stories'; # List - + The List component is used to group pieces of content—the list items—together. diff --git a/packages/circuit-ui/components/ListItem/ListItem.mdx b/packages/circuit-ui/components/ListItem/ListItem.mdx index 9f40bd6158..a1409a4cea 100644 --- a/packages/circuit-ui/components/ListItem/ListItem.mdx +++ b/packages/circuit-ui/components/ListItem/ListItem.mdx @@ -5,7 +5,7 @@ import * as Stories from './ListItem.stories'; # ListItem - + The `ListItem` component is used to represent data in a structured and concise manner. diff --git a/packages/circuit-ui/components/ListItemGroup/ListItemGroup.mdx b/packages/circuit-ui/components/ListItemGroup/ListItemGroup.mdx index 51d165fd22..29c9ec3c4e 100644 --- a/packages/circuit-ui/components/ListItemGroup/ListItemGroup.mdx +++ b/packages/circuit-ui/components/ListItemGroup/ListItemGroup.mdx @@ -5,7 +5,7 @@ import * as Stories from './ListItemGroup.stories'; ## ListItemGroup - + The `ListItemGroup` component is used to render a list of contextually similar items. It applies additional styling to the `ListItem` elements and provides accessibility features out of the box. diff --git a/packages/circuit-ui/components/Modal/Modal.mdx b/packages/circuit-ui/components/Modal/Modal.mdx index c29edf866e..14514dad7d 100644 --- a/packages/circuit-ui/components/Modal/Modal.mdx +++ b/packages/circuit-ui/components/Modal/Modal.mdx @@ -5,7 +5,7 @@ import * as Stories from './Modal.stories'; # Modal - + The modal component displays self-contained tasks in a focused window that overlays the page content. diff --git a/packages/circuit-ui/components/NotificationBanner/NotificationBanner.mdx b/packages/circuit-ui/components/NotificationBanner/NotificationBanner.mdx index ed13b5d7c7..c1fc1cbcbe 100644 --- a/packages/circuit-ui/components/NotificationBanner/NotificationBanner.mdx +++ b/packages/circuit-ui/components/NotificationBanner/NotificationBanner.mdx @@ -5,7 +5,7 @@ import * as Stories from './NotificationBanner.stories'; # NotificationBanner - + The notification banner component prominently communicates and promotes high-level, site-wide information to the user. diff --git a/packages/circuit-ui/components/NotificationFullscreen/NotificationFullscreen.mdx b/packages/circuit-ui/components/NotificationFullscreen/NotificationFullscreen.mdx index b2630dea81..9f9091d83e 100644 --- a/packages/circuit-ui/components/NotificationFullscreen/NotificationFullscreen.mdx +++ b/packages/circuit-ui/components/NotificationFullscreen/NotificationFullscreen.mdx @@ -5,7 +5,7 @@ import * as Stories from './NotificationFullscreen.stories'; # NotificationFullscreen - + The NotificationFullscreen component provides important information or feedback as part of a process flow. diff --git a/packages/circuit-ui/components/NotificationInline/NotificationInline.mdx b/packages/circuit-ui/components/NotificationInline/NotificationInline.mdx index d265fddb39..3c36160e09 100644 --- a/packages/circuit-ui/components/NotificationInline/NotificationInline.mdx +++ b/packages/circuit-ui/components/NotificationInline/NotificationInline.mdx @@ -5,7 +5,7 @@ import * as Stories from './NotificationInline.stories'; # NotificationInline - + The `NotificationInline` component renders an inline notification within the content flow. It is frequently used to provide additional guidance or to draw attention to a section of the interface. diff --git a/packages/circuit-ui/components/NotificationModal/NotificationModal.mdx b/packages/circuit-ui/components/NotificationModal/NotificationModal.mdx index f5ae5effa1..3184b435cd 100644 --- a/packages/circuit-ui/components/NotificationModal/NotificationModal.mdx +++ b/packages/circuit-ui/components/NotificationModal/NotificationModal.mdx @@ -5,7 +5,7 @@ import * as Stories from './NotificationModal.stories'; # NotificationModal - + The notification modal component communicates critical information while blocking everything else on the page, and needs the user's attention or action to proceed. diff --git a/packages/circuit-ui/components/NotificationToast/NotificationToast.mdx b/packages/circuit-ui/components/NotificationToast/NotificationToast.mdx index f6209e51ac..b0b7ba4520 100644 --- a/packages/circuit-ui/components/NotificationToast/NotificationToast.mdx +++ b/packages/circuit-ui/components/NotificationToast/NotificationToast.mdx @@ -5,7 +5,7 @@ import * as Stories from './NotificationToast.stories'; # NotificationToast - + The `NotificationToast` component provides quick status messages to the user. A toast can follow a user action (e.g. submitting a form) or it can appear without having been triggered explicitly (e.g. a toast message "You made a new sale" showing real-time sales in an app). diff --git a/packages/circuit-ui/components/Pagination/Pagination.mdx b/packages/circuit-ui/components/Pagination/Pagination.mdx index d8f5a54edc..9f6f954b40 100644 --- a/packages/circuit-ui/components/Pagination/Pagination.mdx +++ b/packages/circuit-ui/components/Pagination/Pagination.mdx @@ -5,7 +5,7 @@ import * as Stories from './Pagination.stories'; # Pagination - + Pagination provides a way for users to visualize bulks of information distributed over multiple pages, while always providing an anchor to move from where they currently are in the list. diff --git a/packages/circuit-ui/components/ProgressBar/ProgressBar.mdx b/packages/circuit-ui/components/ProgressBar/ProgressBar.mdx index 9fb8e0e6de..25e4f21479 100644 --- a/packages/circuit-ui/components/ProgressBar/ProgressBar.mdx +++ b/packages/circuit-ui/components/ProgressBar/ProgressBar.mdx @@ -5,7 +5,7 @@ import * as Stories from './ProgressBar.stories'; # ProgressBar - + A progress bar is a UI element used to visualise the progression of a task or operation. The visual element is always combined with a label describing a status value, either in percentage or fraction format. diff --git a/packages/circuit-ui/components/RadioButton/RadioButton.mdx b/packages/circuit-ui/components/RadioButton/RadioButton.mdx index 13ac4897cc..b40913bb49 100644 --- a/packages/circuit-ui/components/RadioButton/RadioButton.mdx +++ b/packages/circuit-ui/components/RadioButton/RadioButton.mdx @@ -7,7 +7,7 @@ import RadioButtonGroup from '../RadioButtonGroup'; # RadioButton - + A radio button is a quick way to extract a single coded answer from our users by presenting multiple possibilities and allowing only one option to be chosen. diff --git a/packages/circuit-ui/components/SearchInput/SearchInput.mdx b/packages/circuit-ui/components/SearchInput/SearchInput.mdx index a3f7b67bca..10ace93728 100644 --- a/packages/circuit-ui/components/SearchInput/SearchInput.mdx +++ b/packages/circuit-ui/components/SearchInput/SearchInput.mdx @@ -5,7 +5,7 @@ import * as Stories from './SearchInput.stories'; # SearchInput - + Search Input is an input that indicates to the user they can use the field to search information on the screen. diff --git a/packages/circuit-ui/components/Select/Select.mdx b/packages/circuit-ui/components/Select/Select.mdx index daeba619c5..a2123aa968 100644 --- a/packages/circuit-ui/components/Select/Select.mdx +++ b/packages/circuit-ui/components/Select/Select.mdx @@ -5,7 +5,7 @@ import * as Stories from './Select.stories'; # Select - + A select dropdown is a form field that allows users to choose one of the multiple options from a menu. An example being the expiration date for a users credit card. diff --git a/packages/circuit-ui/components/Selector/Selector.mdx b/packages/circuit-ui/components/Selector/Selector.mdx index e36c6f8def..7dd4b072ae 100644 --- a/packages/circuit-ui/components/Selector/Selector.mdx +++ b/packages/circuit-ui/components/Selector/Selector.mdx @@ -5,7 +5,7 @@ import * as Stories from './Selector.stories'; # Selector - + This component is under design review. Consider using radio buttons or checkboxes instead. diff --git a/packages/circuit-ui/components/SideNavigation/SideNavigation.mdx b/packages/circuit-ui/components/SideNavigation/SideNavigation.mdx index 66e4d42694..30761b2a91 100644 --- a/packages/circuit-ui/components/SideNavigation/SideNavigation.mdx +++ b/packages/circuit-ui/components/SideNavigation/SideNavigation.mdx @@ -5,7 +5,7 @@ import * as Stories from './SideNavigation.stories'; # SideNavigation - + The side navigation is part of the [application shell](https://developers.google.com/web/fundamentals/architecture/app-shell). It contains the primary and secondary navigation links. diff --git a/packages/circuit-ui/components/SidePanel/SidePanel.mdx b/packages/circuit-ui/components/SidePanel/SidePanel.mdx index 64d254244c..d223d40799 100644 --- a/packages/circuit-ui/components/SidePanel/SidePanel.mdx +++ b/packages/circuit-ui/components/SidePanel/SidePanel.mdx @@ -5,7 +5,7 @@ import * as Stories from './SidePanel.stories'; # SidePanel - + The side panel component provides an additional surface for displaying contextual information that can support the screen's primary content. It should always start in the closed state and appear only upon user interaction with another element. diff --git a/packages/circuit-ui/components/Sidebar/Sidebar.mdx b/packages/circuit-ui/components/Sidebar/Sidebar.mdx index a00b48de57..ab29799b73 100644 --- a/packages/circuit-ui/components/Sidebar/Sidebar.mdx +++ b/packages/circuit-ui/components/Sidebar/Sidebar.mdx @@ -5,7 +5,7 @@ import * as Stories from './Sidebar.stories'; # Sidebar - + Superseded by the [SideNavigation](Navigation/SideNavigation/Docs) component diff --git a/packages/circuit-ui/components/Sidebar/Sidebar.tsx b/packages/circuit-ui/components/Sidebar/Sidebar.tsx index 38ec71cd86..76bdd8f107 100644 --- a/packages/circuit-ui/components/Sidebar/Sidebar.tsx +++ b/packages/circuit-ui/components/Sidebar/Sidebar.tsx @@ -75,6 +75,9 @@ const openStyles = ({ theme, isOpen }: StyleProps & { isOpen: boolean }) => const Drawer = styled('nav')(baseStyles, openStyles); +/** + * @legacy + */ export function Sidebar({ children, open, @@ -102,9 +105,27 @@ export function Sidebar({ ); } +/** + * @legacy + */ Sidebar.Header = Header; +/** + * @legacy + */ Sidebar.Footer = Footer; +/** + * @legacy + */ Sidebar.NavList = NavList; +/** + * @legacy + */ Sidebar.NavItem = NavItem; +/** + * @legacy + */ Sidebar.Aggregator = Aggregator; +/** + * @legacy + */ Sidebar.Separator = Separator; diff --git a/packages/circuit-ui/components/Spinner/Spinner.mdx b/packages/circuit-ui/components/Spinner/Spinner.mdx index 2f906df206..ca231771a9 100644 --- a/packages/circuit-ui/components/Spinner/Spinner.mdx +++ b/packages/circuit-ui/components/Spinner/Spinner.mdx @@ -5,7 +5,7 @@ import * as Stories from './Spinner.stories'; # Spinner - + The Spinner component is used to visually represent the loading state of a UI component. diff --git a/packages/circuit-ui/components/Step/Step.mdx b/packages/circuit-ui/components/Step/Step.mdx index 6f22b2e6e0..5dd0b7121c 100644 --- a/packages/circuit-ui/components/Step/Step.mdx +++ b/packages/circuit-ui/components/Step/Step.mdx @@ -5,9 +5,9 @@ import * as Stories from './Step.stories'; # Step - + The component doesn't meet our accessibility standards. - + diff --git a/packages/circuit-ui/components/SubHeadline/SubHeadline.mdx b/packages/circuit-ui/components/SubHeadline/SubHeadline.mdx index 7038e7e976..ec82a4a75e 100644 --- a/packages/circuit-ui/components/SubHeadline/SubHeadline.mdx +++ b/packages/circuit-ui/components/SubHeadline/SubHeadline.mdx @@ -5,7 +5,7 @@ import * as Stories from './SubHeadline.stories'; # SubHeadline - + The SubHeadline component helps break up larger related chunks of content in the same section. It is typically used to separate subsections within a card. diff --git a/packages/circuit-ui/components/Table/Table.mdx b/packages/circuit-ui/components/Table/Table.mdx index e3b4dd4f9e..1072d43c0d 100644 --- a/packages/circuit-ui/components/Table/Table.mdx +++ b/packages/circuit-ui/components/Table/Table.mdx @@ -5,7 +5,7 @@ import * as Stories from './Table.stories'; # Table - + Tables allow users to see detailed information in an organized and orderly way, especially when a task revolves around comparing or analyzing the information set. diff --git a/packages/circuit-ui/components/Tabs/Tabs.mdx b/packages/circuit-ui/components/Tabs/Tabs.mdx index 37cdb68530..168b5caf41 100644 --- a/packages/circuit-ui/components/Tabs/Tabs.mdx +++ b/packages/circuit-ui/components/Tabs/Tabs.mdx @@ -6,7 +6,7 @@ import * as Stories from './Tabs.stories'; # Tabs - + Does not handle content overflow on mobile. Unclear use case compared to subnavigation. diff --git a/packages/circuit-ui/components/Tag/Tag.mdx b/packages/circuit-ui/components/Tag/Tag.mdx index 6eed5bc313..ab2888c705 100644 --- a/packages/circuit-ui/components/Tag/Tag.mdx +++ b/packages/circuit-ui/components/Tag/Tag.mdx @@ -5,7 +5,7 @@ import * as Stories from './Tag.stories'; # Tag - + Tags enable the user to add or remove attributes to a given content, for example: transaction history for a given day or week. diff --git a/packages/circuit-ui/components/TextArea/TextArea.mdx b/packages/circuit-ui/components/TextArea/TextArea.mdx index 5b09a88ed8..8da88287f3 100644 --- a/packages/circuit-ui/components/TextArea/TextArea.mdx +++ b/packages/circuit-ui/components/TextArea/TextArea.mdx @@ -5,7 +5,7 @@ import * as Stories from './TextArea.stories'; # Textarea - + The `TextArea` component renders an input that allows multiple lines of text. diff --git a/packages/circuit-ui/components/Title/Title.mdx b/packages/circuit-ui/components/Title/Title.mdx index e4f5f7b407..4f183200c3 100644 --- a/packages/circuit-ui/components/Title/Title.mdx +++ b/packages/circuit-ui/components/Title/Title.mdx @@ -5,7 +5,7 @@ import * as Stories from './Title.stories'; # Title - + The Title component is used to render headings with large typography. Typically, large typography is intended for landing pages. In most cases, the [Headline](Typography/Headline) should be used instead. diff --git a/packages/circuit-ui/components/Toggle/Toggle.mdx b/packages/circuit-ui/components/Toggle/Toggle.mdx index 72a34505cf..73e9bf91bf 100644 --- a/packages/circuit-ui/components/Toggle/Toggle.mdx +++ b/packages/circuit-ui/components/Toggle/Toggle.mdx @@ -5,7 +5,7 @@ import * as Stories from './Toggle.stories'; # Toggle - + The toggle is a switcher between two mutually exclusive states: on and off. diff --git a/packages/circuit-ui/components/Tooltip/Tooltip.mdx b/packages/circuit-ui/components/Tooltip/Tooltip.mdx index 354fb9ff11..a555ab496c 100644 --- a/packages/circuit-ui/components/Tooltip/Tooltip.mdx +++ b/packages/circuit-ui/components/Tooltip/Tooltip.mdx @@ -5,7 +5,7 @@ import * as Stories from './Tooltip.stories'; # Tooltip - + Tooltips display additional information on floating labels. They can be activated when users hover, focus, tap, or click. diff --git a/packages/circuit-ui/components/Tooltip/Tooltip.tsx b/packages/circuit-ui/components/Tooltip/Tooltip.tsx index a34d5a6845..15694dc81e 100644 --- a/packages/circuit-ui/components/Tooltip/Tooltip.tsx +++ b/packages/circuit-ui/components/Tooltip/Tooltip.tsx @@ -145,7 +145,7 @@ export interface TooltipProps { } /** - * A Tooltip component + * @legacy */ export const Tooltip = styled.div( typography('two'), diff --git a/packages/circuit-ui/components/TopNavigation/TopNavigation.mdx b/packages/circuit-ui/components/TopNavigation/TopNavigation.mdx index c3957d5171..180939739a 100644 --- a/packages/circuit-ui/components/TopNavigation/TopNavigation.mdx +++ b/packages/circuit-ui/components/TopNavigation/TopNavigation.mdx @@ -5,7 +5,7 @@ import * as Stories from './TopNavigation.stories'; # TopNavigation - + The top navigation is part of the [application shell](https://developers.google.com/web/fundamentals/architecture/app-shell). It contains the branding, page links, and the user profile menu. diff --git a/packages/circuit-ui/hooks/useClickOutside/useClickOutside.mdx b/packages/circuit-ui/hooks/useClickOutside/useClickOutside.mdx index 2fffa73a32..b8107b0583 100644 --- a/packages/circuit-ui/hooks/useClickOutside/useClickOutside.mdx +++ b/packages/circuit-ui/hooks/useClickOutside/useClickOutside.mdx @@ -5,7 +5,7 @@ import * as Stories from './useClickOutside.stories'; # useClickOutside() - + Calls a function when clicking outside an element. diff --git a/packages/circuit-ui/hooks/useCollapsible/useCollapsible.mdx b/packages/circuit-ui/hooks/useCollapsible/useCollapsible.mdx index 235ec37d35..cf92267a18 100644 --- a/packages/circuit-ui/hooks/useCollapsible/useCollapsible.mdx +++ b/packages/circuit-ui/hooks/useCollapsible/useCollapsible.mdx @@ -5,7 +5,7 @@ import * as Stories from './useCollapsible.stories'; # useCollapsible() - + A hook to build accessible and smoothly animated [collapsible sections](https://inclusive-components.design/collapsible-sections/). diff --git a/packages/circuit-ui/hooks/useEscapeKey/useEscapeKey.mdx b/packages/circuit-ui/hooks/useEscapeKey/useEscapeKey.mdx index 36a9e3b549..c91b5a79d0 100644 --- a/packages/circuit-ui/hooks/useEscapeKey/useEscapeKey.mdx +++ b/packages/circuit-ui/hooks/useEscapeKey/useEscapeKey.mdx @@ -5,7 +5,7 @@ import * as Stories from './useEscapeKey.stories'; # useEscapeKey() - + Calls a function when the escape key is pressed. diff --git a/packages/circuit-ui/hooks/useFocusList/useFocusList.mdx b/packages/circuit-ui/hooks/useFocusList/useFocusList.mdx index 5dc0eb1c5a..946d16d6c0 100644 --- a/packages/circuit-ui/hooks/useFocusList/useFocusList.mdx +++ b/packages/circuit-ui/hooks/useFocusList/useFocusList.mdx @@ -5,7 +5,7 @@ import * as Stories from './useFocusList.stories'; # useFocusList() - + Enables keyboard navigation for a list of focusable elements. diff --git a/packages/circuit-ui/index.ts b/packages/circuit-ui/index.ts index 6eb755ce77..8322520940 100644 --- a/packages/circuit-ui/index.ts +++ b/packages/circuit-ui/index.ts @@ -30,21 +30,6 @@ export { default as List } from './components/List/index.js'; export type { ListProps } from './components/List/index.js'; // Forms -export { - RangePicker, - RangePickerController, - SingleDayPicker, - CalendarConstants, -} from './components/Calendar/index.js'; -export type { - RangePickerProps, - RangePickerControllerProps, - SingleDayPickerProps, -} from './components/Calendar/index.js'; -export { default as CalendarTag } from './components/CalendarTag/index.js'; -export type { CalendarTagProps } from './components/CalendarTag/index.js'; -export { default as CalendarTagTwoStep } from './components/CalendarTagTwoStep/index.js'; -export type { CalendarTagTwoStepProps } from './components/CalendarTagTwoStep/index.js'; export { default as Checkbox } from './components/Checkbox/index.js'; export type { CheckboxProps } from './components/Checkbox/index.js'; export { default as Input } from './components/Input/index.js'; @@ -127,14 +112,8 @@ export type { TabPanelProps, TabProps, } from './components/Tabs/index.js'; -export { default as Sidebar } from './components/Sidebar/index.js'; -export type { SidebarProps } from './components/Sidebar/index.js'; -export { - SidebarContextProvider, - SidebarContextConsumer, -} from './components/Sidebar/index.js'; -// Misc +// Miscellaneous export { default as Spinner } from './components/Spinner/index.js'; export type { SpinnerProps } from './components/Spinner/index.js'; export { default as Badge } from './components/Badge/index.js'; @@ -161,8 +140,6 @@ export type { PopoverProps, PopoverItemProps, } from './components/Popover/index.js'; -export { default as Tooltip } from './components/Tooltip/index.js'; -export type { TooltipProps } from './components/Tooltip/index.js'; export { default as BaseStyles } from './components/BaseStyles/index.js'; export { ModalProvider } from './components/ModalContext/index.js'; export type { ModalProviderProps } from './components/ModalContext/index.js'; diff --git a/packages/circuit-ui/legacy.ts b/packages/circuit-ui/legacy.ts new file mode 100644 index 0000000000..e899a6c354 --- /dev/null +++ b/packages/circuit-ui/legacy.ts @@ -0,0 +1,43 @@ +/** + * Copyright 2023, SumUp Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +// Forms +export { + RangePicker, + RangePickerController, + SingleDayPicker, + CalendarConstants, +} from './components/Calendar/index.js'; +export type { + RangePickerProps, + RangePickerControllerProps, + SingleDayPickerProps, +} from './components/Calendar/index.js'; +export { default as CalendarTag } from './components/CalendarTag/index.js'; +export type { CalendarTagProps } from './components/CalendarTag/index.js'; +export { default as CalendarTagTwoStep } from './components/CalendarTagTwoStep/index.js'; +export type { CalendarTagTwoStepProps } from './components/CalendarTagTwoStep/index.js'; + +// Navigation +export { default as Sidebar } from './components/Sidebar/index.js'; +export type { SidebarProps } from './components/Sidebar/index.js'; +export { + SidebarContextProvider, + SidebarContextConsumer, +} from './components/Sidebar/index.js'; + +// Miscellaneous +export { default as Tooltip } from './components/Tooltip/index.js'; +export type { TooltipProps } from './components/Tooltip/index.js'; diff --git a/packages/circuit-ui/package.json b/packages/circuit-ui/package.json index 43255e8232..e4ebcbed37 100644 --- a/packages/circuit-ui/package.json +++ b/packages/circuit-ui/package.json @@ -5,7 +5,10 @@ "type": "module", "main": "./dist/index.js", "types": "./dist/index.d.ts", - "exports": "./dist/index.js", + "exports": { + ".": "./dist/index.js", + "./legacy": "./dist/legacy.js" + }, "sideEffects": false, "files": [ "dist", @@ -32,10 +35,6 @@ }, "dependencies": { "@floating-ui/react-dom": "^2.0.0", - "@types/react-dates": "^21.8.3", - "moment": "^2.29.4", - "prop-types": "^15.8.1", - "react-dates": "^21.8.0", "react-modal": "^3.16.1", "react-number-format": "^5.1.4" }, @@ -51,16 +50,17 @@ "@testing-library/jest-dom": "^5.16.5", "@testing-library/react": "^14.0.0", "@testing-library/user-event": "^14.4.3", - "@types/cross-spawn": "^6.0.2", "@types/jest-axe": "^3.5.5", - "@types/jscodeshift": "^0.11.6", "@types/node": "^18.15.11", "@types/react": "^18.2.6", + "@types/react-dates": "^21.8.3", "@types/react-dom": "^18.2.4", "@types/react-modal": "^3.16.0", "@types/testing-library__jest-dom": "^5.14.5", "jest-axe": "^7.0.1", + "moment": "^2.29.4", "react": "^18.2.0", + "react-dates": "^21.8.0", "react-dom": "^18.2.0", "react-swipeable": "^7.0.0", "typescript": "^5.0.4" @@ -75,6 +75,10 @@ "react": ">=18.0.0 <19.0.0", "react-dom": ">=18.0.0 <19.0.0" }, + "optionalDependencies": { + "moment": ">=2.29", + "react-dates": ">=21.8" + }, "engines": { "node": ">=16" } diff --git a/packages/circuit-ui/styles/style-mixins.mdx b/packages/circuit-ui/styles/style-mixins.mdx index 4970e63921..0f8c4dfcb8 100644 --- a/packages/circuit-ui/styles/style-mixins.mdx +++ b/packages/circuit-ui/styles/style-mixins.mdx @@ -11,7 +11,7 @@ import * as Stories from './style-mixins.stories'; # Style Mixins - + Style mixins are small helper functions to apply common styles to an HTML diff --git a/packages/circuit-ui/tsconfig.json b/packages/circuit-ui/tsconfig.json index c2848ab0d9..7b61e91317 100644 --- a/packages/circuit-ui/tsconfig.json +++ b/packages/circuit-ui/tsconfig.json @@ -25,7 +25,8 @@ "styles/**/*", "types/**/*", "util/**/*", - "index.ts" + "index.ts", + "legacy.ts" ], "exclude": ["node_modules", "dist"], "typeRoots": ["./types"]