From 6ad4c7b1ffabd62cdd9ce59bad96c94b0619661e Mon Sep 17 00:00:00 2001 From: Alexandre Asselin Date: Tue, 29 Oct 2024 09:27:29 -0400 Subject: [PATCH 01/95] first draft of the documentation --- .storybook/components/index.ts | 2 +- .../PackageInstallationSnippet.tsx | 36 +++---- .../themed-snippet/useThemedSnippet.ts | 6 +- .storybook/env.ts | 2 +- .storybook/main.ts | 30 +++++- .storybook/styles/index.ts | 2 +- .../src/accordion/docs/Accordion.mdx | 95 +++++++++++++++++++ .../src/accordion/docs/Accordion.stories.tsx | 35 +++++++ .../tests/chromatic/Popover.stories.tsx | 2 +- 9 files changed, 183 insertions(+), 27 deletions(-) create mode 100644 packages/components/src/accordion/docs/Accordion.mdx create mode 100644 packages/components/src/accordion/docs/Accordion.stories.tsx diff --git a/.storybook/components/index.ts b/.storybook/components/index.ts index 9178433d1..e3dfdb64a 100644 --- a/.storybook/components/index.ts +++ b/.storybook/components/index.ts @@ -5,7 +5,7 @@ export * from "./link"; export * from "./table"; export * from "./tagline"; export * from "./component-info"; -export * from "./snippet"; +// export * from "./snippet"; export * from "./themed-snippet"; export * from "./package-installation-snippet"; export * from "./preview"; diff --git a/.storybook/components/package-installation-snippet/PackageInstallationSnippet.tsx b/.storybook/components/package-installation-snippet/PackageInstallationSnippet.tsx index 7315dbef0..655ff6dc7 100644 --- a/.storybook/components/package-installation-snippet/PackageInstallationSnippet.tsx +++ b/.storybook/components/package-installation-snippet/PackageInstallationSnippet.tsx @@ -9,25 +9,29 @@ interface PackageInstallationSnippetProps extends SnippetProps { } export function PackageInstallationSnippet({ packageName, workspaceFolder = "packages", ...rest }: PackageInstallationSnippetProps) { - const [dependencies, setDependencies] = useState(); + // const [dependencies, setDependencies] = useState(); - if (isNil(dependencies)) { - import(/* webpackMode: "eager" */ `@root/${workspaceFolder}/${packageName}/package.json`) - .then(module => { - const json = module.default; - const peerDependencies = !isNil(json.peerDependencies) ? Object.keys(json.peerDependencies).filter(x => x !== "react" && x !== "react-dom") : []; + // if (isNil(dependencies)) { + // import(/* webpackMode: "eager" */ `@root/${workspaceFolder}/${packageName}/package.json`) + // .then(module => { + // const json = module.default; + // const peerDependencies = !isNil(json.peerDependencies) ? Object.keys(json.peerDependencies).filter(x => x !== "react" && x !== "react-dom") : []; - setDependencies([json.name, ...peerDependencies].join(" ")); - }); + // setDependencies([json.name, ...peerDependencies].join(" ")); + // }); - return null; - } + // return null; + // } + + // return ( + // + // ); return ( - - ); +
Test
+ ) } diff --git a/.storybook/components/themed-snippet/useThemedSnippet.ts b/.storybook/components/themed-snippet/useThemedSnippet.ts index 55f69f4e2..52c5571b8 100644 --- a/.storybook/components/themed-snippet/useThemedSnippet.ts +++ b/.storybook/components/themed-snippet/useThemedSnippet.ts @@ -4,13 +4,13 @@ import { useContext, useMemo } from "react"; export function useThemedSnippet(snippets: string | Record) { const { globals } = useContext(DocsContext) as any; - + const theme = globals?.theme; return useMemo(() => { if (isNil(snippets) || isString(snippets)) { return snippets; } - return snippets[globals.theme]; + return snippets[theme]; // eslint-disable-next-line react-hooks/exhaustive-deps - }, [JSON.stringify(snippets), globals.theme]); + }, [JSON.stringify(snippets), theme]); } diff --git a/.storybook/env.ts b/.storybook/env.ts index 96f1e0190..66fd59fdd 100644 --- a/.storybook/env.ts +++ b/.storybook/env.ts @@ -28,7 +28,7 @@ function printEnvironment() { } } -module.exports = { +export { isDebug, isChromatic, isDocs, diff --git a/.storybook/main.ts b/.storybook/main.ts index 7198351e5..74878030d 100644 --- a/.storybook/main.ts +++ b/.storybook/main.ts @@ -8,14 +8,36 @@ import { TsconfigPathsPlugin } from "tsconfig-paths-webpack-plugin"; import { swcConfig as SwcBuildConfig } from "./swc.build"; import { swcConfig as SwcDevConfig } from "./swc.dev"; +import { includeDocs, includeChromatic} from "./env"; + // We sometimes need to disable the lazyCompilation to properly run the test runner on stories const isLazyCompilation = !(process.env.STORYBOOK_NO_LAZY === "true"); -const storybookConfig: StorybookConfig = { - stories: [ - // "../packages/**/*.stories.@(ts|tsx)" +let stories: string[] = []; + +if (includeDocs) { + stories = [ + // TODO simplify imports for any pkgs /docs/**/*.stories.mdx + // "../docs/**/*.stories.mdx", + // "../packages/**/docs/**/*.mdx", + // "!../packages/**/docs/**/*.stories.mdx", + "../packages/**/docs/Accordion.mdx", + "../packages/**/docs/Accordion.stories.tsx" + ]; +} + +if (includeChromatic) { + stories = [ + ...stories, + // TODO remove chroma and simplify imports + // "../packages/components/**/tests/chromatic/**/*.chroma.jsx", "../packages/components/**/tests/chromatic/**/*.stories.tsx" - ], + ]; +} + + +const storybookConfig: StorybookConfig = { + stories: stories, addons: [ "@storybook/addon-a11y", "@storybook/addon-links", diff --git a/.storybook/styles/index.ts b/.storybook/styles/index.ts index af42f3745..8063d8790 100644 --- a/.storybook/styles/index.ts +++ b/.storybook/styles/index.ts @@ -1,3 +1,3 @@ import "./app.css"; -import "./docs.css"; +// import "./docs.css"; import "./stories.css"; diff --git a/packages/components/src/accordion/docs/Accordion.mdx b/packages/components/src/accordion/docs/Accordion.mdx new file mode 100644 index 000000000..0f089d919 --- /dev/null +++ b/packages/components/src/accordion/docs/Accordion.mdx @@ -0,0 +1,95 @@ +import { Accordion, InnerAccordion, InnerAccordionHeader, InnerAccordionPanel } from "@components/accordion"; +import { ArgsTable, Meta, Story, Canvas } from "@storybook/addon-docs"; +import { ComponentInfo, Tagline } from "@stories/components"; +import { Content, InnerContent } from "@components/placeholders"; +import { H3, Text } from "@components/typography"; +import { SparklesIcon } from "@hopper-ui/icons"; +import { InnerItem, Item } from "@components/collection"; +import * as AccordionStories from "./Accordion.stories.tsx"; + +{/* */} + + + +# Accordion + +Accordions are commonly used to reduce the need to scroll when presenting multiple sections of content on a single page. + + + +## Guidelines + +### Accessibility + +- The accordion header that shows and hides the content must be an [heading element](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/Heading_Elements). +- The heading element should have a level that is appropriate for the information architecture of the page. You can choose the appropriate level by selecting one of Orbiter [heading](?path=/docs/heading--default-story) accordingly. + +## Usage + +We recommend specifying a unique `key` prop for every ``. If you choose to omit the `key` prop, a key matching the `` position will be generated. For example, `"0"` would be the generated key for the first `` of an `` component without keys. + +### Default + +A default accordion. + + + + +## API + +### Accordion + + + +{/* */} + +### Item + + + +{/* */} + +### Content + + + +{/* */} + +### AccordionHeader + + + +{/* */} + +### AccordionPanel + + + +{/* */} diff --git a/packages/components/src/accordion/docs/Accordion.stories.tsx b/packages/components/src/accordion/docs/Accordion.stories.tsx new file mode 100644 index 000000000..46d96c490 --- /dev/null +++ b/packages/components/src/accordion/docs/Accordion.stories.tsx @@ -0,0 +1,35 @@ +import { H3 } from "@components/typography"; +import { Accordion } from "@components/accordion"; +import { Content } from "@components/placeholders"; +import { Item } from "@components/collection"; +import { Meta, StoryObj } from "@storybook/react"; + +const meta = { + title: "Components/Accordion", + component: Accordion, + id: "accordion" +} as Meta; + +export default meta; + +type AccordionStory = StoryObj; + +export const Default: AccordionStory = { + name: "default", + render: () => ( + + +

Mars

+ Mars is the fourth planet from the Sun and the second-smallest planet in the Solar System. +
+ +

Jupiter

+ Jupiter is the fifth planet from the Sun and the largest in the Solar System. +
+ +

Venus

+ Venus is the second planet from the Sun. It is named after the Roman goddess of love and beauty. +
+
+ ) +}; diff --git a/packages/components/src/popover/tests/chromatic/Popover.stories.tsx b/packages/components/src/popover/tests/chromatic/Popover.stories.tsx index dd4c19a4d..6e5660265 100644 --- a/packages/components/src/popover/tests/chromatic/Popover.stories.tsx +++ b/packages/components/src/popover/tests/chromatic/Popover.stories.tsx @@ -211,7 +211,7 @@ export const Style: PopoverStory = { }; export const NoHeading: PopoverStory = { - storyName: "no heading", + name: "no heading", render: () => ( SpaceX designs, manufactures, and launches the world's most advanced rockets and spacecraft. From 7f527f7e6d69b24ae945dd341222fe003cfe6042 Mon Sep 17 00:00:00 2001 From: Alexandre Asselin Date: Wed, 30 Oct 2024 13:58:23 -0400 Subject: [PATCH 02/95] first pass of documentation --- .eslintignore | 2 + .storybook/components/index.ts | 2 +- .storybook/components/snippet/index.ts | 2 +- .../components/snippet/useFormattedCode.ts | 40 +-- .storybook/main.ts | 18 +- .storybook/mdx/highlight/Highlight.jsx | 12 - .storybook/mdx/highlight/Highlight.tsx | 13 + .../mdx/highlight/{index.js => index.ts} | 0 .storybook/mdx/{index.js => index.ts} | 2 +- .storybook/preview.tsx | 50 ++-- .../src/accordion/docs/Accordion.mdx | 59 ++++- .../src/accordion/docs/Accordion.stories.mdx | 243 ------------------ .../src/accordion/docs/Accordion.stories.tsx | 183 ++++++++++++- .../docs/AccordionContext.sample.jsx | 35 --- .../docs/ControlledAccordion.sample.jsx | 28 -- .../src/accordion/src/AccordionHeader.tsx | 2 +- .../components/src/collection/src/Item.tsx | 3 +- .../components/src/typography/src/Heading.tsx | 6 + 18 files changed, 310 insertions(+), 390 deletions(-) delete mode 100644 .storybook/mdx/highlight/Highlight.jsx create mode 100644 .storybook/mdx/highlight/Highlight.tsx rename .storybook/mdx/highlight/{index.js => index.ts} (100%) rename .storybook/mdx/{index.js => index.ts} (51%) delete mode 100644 packages/components/src/accordion/docs/Accordion.stories.mdx delete mode 100644 packages/components/src/accordion/docs/AccordionContext.sample.jsx delete mode 100644 packages/components/src/accordion/docs/ControlledAccordion.sample.jsx diff --git a/.eslintignore b/.eslintignore index 5b28e33f1..bda81e840 100644 --- a/.eslintignore +++ b/.eslintignore @@ -5,3 +5,5 @@ dist *.svg package.json *.css +!/.storybook +!/**/.storybook diff --git a/.storybook/components/index.ts b/.storybook/components/index.ts index e3dfdb64a..9178433d1 100644 --- a/.storybook/components/index.ts +++ b/.storybook/components/index.ts @@ -5,7 +5,7 @@ export * from "./link"; export * from "./table"; export * from "./tagline"; export * from "./component-info"; -// export * from "./snippet"; +export * from "./snippet"; export * from "./themed-snippet"; export * from "./package-installation-snippet"; export * from "./preview"; diff --git a/.storybook/components/snippet/index.ts b/.storybook/components/snippet/index.ts index e03d28f02..7d353b450 100644 --- a/.storybook/components/snippet/index.ts +++ b/.storybook/components/snippet/index.ts @@ -1,2 +1,2 @@ -export * from "./Snippet"; +// export * from "./Snippet"; export * from "./useFormattedCode"; diff --git a/.storybook/components/snippet/useFormattedCode.ts b/.storybook/components/snippet/useFormattedCode.ts index f5dad4087..745284d54 100644 --- a/.storybook/components/snippet/useFormattedCode.ts +++ b/.storybook/components/snippet/useFormattedCode.ts @@ -7,31 +7,35 @@ import prettierPostCss from "prettier/parser-postcss"; const PrettierParser = { "javascript": "babel", "jsx": "babel", + "tsx": "babel-ts", "css": "css" }; + export function useFormattedCode(code: string, language: string) { return useMemo(() => { - const parser = PrettierParser[language]; + formatCode(code, language); + }, [code, language]); +} - if (!isNil(parser)) { - const prettyCode = prettier - .format(code, { - parser: parser, - plugins: [prettierBabel, prettierPostCss], - tabWidth: 4, - arrowParens: "avoid", - printWidth: 100, - trailingComma: "none" - }) - .replace(">;", ">") - .trim(); +export function formatCode(code: string, language: string) { + const parser = PrettierParser[language]; - console.log("useFormattedCode", code, prettyCode); + if (!isNil(parser)) { + const prettyCode = prettier + .format(code, { + parser: parser, + plugins: [prettierBabel, prettierPostCss], + tabWidth: 4, + arrowParens: "avoid", + printWidth: 100, + trailingComma: "none" + }) + .replace(">;", ">") + .trim(); - return prettyCode; - } + return prettyCode; + } - return code.trim(); - }, [code, language]); + return code.trim(); } diff --git a/.storybook/main.ts b/.storybook/main.ts index 74878030d..f17abc81a 100644 --- a/.storybook/main.ts +++ b/.storybook/main.ts @@ -1,14 +1,8 @@ // import ReactRefreshWebpackPlugin from "@pmmmwh/react-refresh-webpack-plugin"; import type { StorybookConfig } from "@storybook/react-webpack5"; -import type { Options } from "@storybook/types"; -import type { Options as SwcOptions } from "@swc/core"; -import path from "path"; import { TsconfigPathsPlugin } from "tsconfig-paths-webpack-plugin"; -import { swcConfig as SwcBuildConfig } from "./swc.build"; -import { swcConfig as SwcDevConfig } from "./swc.dev"; - -import { includeDocs, includeChromatic} from "./env"; +import { includeDocs, includeChromatic } from "./env"; // We sometimes need to disable the lazyCompilation to properly run the test runner on stories const isLazyCompilation = !(process.env.STORYBOOK_NO_LAZY === "true"); @@ -55,6 +49,14 @@ const storybookConfig: StorybookConfig = { } } }, + typescript: { + reactDocgen: "react-docgen-typescript", + reactDocgenTypescriptOptions: { + shouldExtractLiteralValuesFromEnum: true, + // 👇 Default prop filter, which excludes props from node_modules + propFilter: prop => (prop.parent ? !/node_modules/.test(prop.parent.fileName) : true) + } + }, docs: { autodocs: "tag" }, @@ -70,7 +72,7 @@ const storybookConfig: StorybookConfig = { // swc: (_: SwcOptions, { configType }: Options): SwcOptions => { // return configType === "PRODUCTION" ? SwcBuildConfig : SwcDevConfig; // }, - webpackFinal(config, { configType }) { + webpackFinal(config) { config.resolve = { ...config.resolve, plugins: [ diff --git a/.storybook/mdx/highlight/Highlight.jsx b/.storybook/mdx/highlight/Highlight.jsx deleted file mode 100644 index c98a80180..000000000 --- a/.storybook/mdx/highlight/Highlight.jsx +++ /dev/null @@ -1,12 +0,0 @@ -import { Div } from "@components/html"; -import "./highlight.css"; - -export function Highlight({ children, ...rest }) { - return ( -
- {children} -
- ); -} diff --git a/.storybook/mdx/highlight/Highlight.tsx b/.storybook/mdx/highlight/Highlight.tsx new file mode 100644 index 000000000..e9ced2f5d --- /dev/null +++ b/.storybook/mdx/highlight/Highlight.tsx @@ -0,0 +1,13 @@ +import { Div, DivProps } from "@components/html"; +import "./highlight.css"; + +export function Highlight({ children, ...rest }: Omit) { + return ( +
+ {children} +
+ ); +} diff --git a/.storybook/mdx/highlight/index.js b/.storybook/mdx/highlight/index.ts similarity index 100% rename from .storybook/mdx/highlight/index.js rename to .storybook/mdx/highlight/index.ts diff --git a/.storybook/mdx/index.js b/.storybook/mdx/index.ts similarity index 51% rename from .storybook/mdx/index.js rename to .storybook/mdx/index.ts index 27ce2d64c..449c03fc1 100644 --- a/.storybook/mdx/index.js +++ b/.storybook/mdx/index.ts @@ -1,2 +1,2 @@ export * from "./highlight"; -export * from "./code"; +// export * from "./code"; diff --git a/.storybook/preview.tsx b/.storybook/preview.tsx index a95de1eb0..cb7a95d05 100644 --- a/.storybook/preview.tsx +++ b/.storybook/preview.tsx @@ -1,22 +1,15 @@ // import { viewport, withHopperProvider } from "./storybook-addon/index"; import { viewport } from "./storybook-addon/index"; -import { withBackgroundMatchingColorScheme, withCenteredCanvas, withDocsContainer, withThemeProvider } from "./decorators"; +import { withBackgroundMatchingColorScheme, withCenteredCanvas, withThemeProvider } from "./decorators"; +import "./stories.css"; +import { isChromatic } from "./env"; +import { Themes } from "./styles/themes"; +import { formatCode } from "./components/snippet/useFormattedCode"; +import type { Preview } from "@storybook/react"; import "@components/index.css"; import "./styles"; - -import { - Description, - Stories, - Subtitle, - Title -} from "@storybook/blocks"; -import type { Preview } from "@storybook/react"; - import "@hopper-ui/tokens/fonts.css"; -import "./stories.css"; -import { isChromatic } from "./env"; -import { Themes } from "./styles/themes"; if (!isChromatic) { // Custom font makes chromatic inconsistent and cause "false positive". View https://www.chromatic.com/docs/resource-loading#loading-custom-fonts. @@ -39,26 +32,27 @@ const preview: Preview = { } }, viewport, - docs: { theme: Themes.docs, inlineStories: true, + canvas: { + sourceState: "shown" + }, components: { blockquote: Highlight }, + source: { + type: "code", + language: "tsx", + transform: (src: string) => { + console.log("formatCode", src); + let newSource = src.match(/render:\s*\(\)\s*=>\s*([\s\S]*)}/)![1].trim(); + newSource = newSource.replace(/\breturn\b/g, "\nreturn").replace(/\bfunction\b/g, "\nfunction").replace(/^{\s*|\s*}$/g, ""); + + return formatCode(newSource, "tsx"); + } + } }, - // docs: { // only needed while the documentation is not available - // page: () => { - // return ( - // <> - // - // <Subtitle /> - // <Description /> - // <Stories title="Usage" /> - // </> - // ); - // } - // }, options: { storySort: { method: "alphabetical", @@ -85,7 +79,7 @@ const preview: Preview = { "Chromatic" ] } - }, + } }, globalTypes: { locale: { @@ -115,7 +109,7 @@ const preview: Preview = { } } }, - decorators: [withCenteredCanvas, withThemeProvider, withBackgroundMatchingColorScheme], + decorators: [withCenteredCanvas, withThemeProvider, withBackgroundMatchingColorScheme] }; export default preview; diff --git a/packages/components/src/accordion/docs/Accordion.mdx b/packages/components/src/accordion/docs/Accordion.mdx index 0f089d919..973b723b7 100644 --- a/packages/components/src/accordion/docs/Accordion.mdx +++ b/packages/components/src/accordion/docs/Accordion.mdx @@ -1,5 +1,5 @@ import { Accordion, InnerAccordion, InnerAccordionHeader, InnerAccordionPanel } from "@components/accordion"; -import { ArgsTable, Meta, Story, Canvas } from "@storybook/addon-docs"; +import { Source, ArgTypes, Meta, Story, Canvas, SourceType } from "@storybook/addon-docs"; import { ComponentInfo, Tagline } from "@stories/components"; import { Content, InnerContent } from "@components/placeholders"; import { H3, Text } from "@components/typography"; @@ -39,9 +39,50 @@ We recommend specifying a unique `key` prop for every `<Item>`. If you choose to A default accordion. -<Canvas> - <Story of={AccordionStories.Default} inline={false}/> -</Canvas> +<Canvas of={AccordionStories.Default} /> + +### Icon + +An accordion item can contain [icons](?path=/docs/icon-gallery--page). + +<Canvas of={AccordionStories.Icon} /> + +### Multiple + +An accordion can allow multiple items to be expanded at once. + +<Canvas of={AccordionStories.Multiple} /> + +### Dynamic items + +Accordion items can be rendered dynamically. + +<Canvas of={AccordionStories.DynamicItems} /> + +### Disabled + +An accordion item can be disabled. + +<Canvas of={AccordionStories.DisabledItems} /> + +### Bordered + +An accordion can be contained by borders. + +<Canvas of={AccordionStories.Bordered} /> + +### Accordion context + +The `expandedKeys` can be retrieved from `useAccordionContext`. + +<Canvas of={AccordionStories.AccordionContextStory} /> + +### Controlled + +The `expandedKeys` state can be handled in controlled mode. + +<Canvas of={AccordionStories.ControlledAccordion} /> + ## API ### Accordion @@ -52,7 +93,7 @@ A default accordion. compact /> -{/* <ArgsTable of={InnerAccordion} sort="alpha" /> */} +<ArgTypes of={InnerAccordion} sort="alpha"/> ### Item @@ -61,7 +102,7 @@ A default accordion. compact /> -{/* <ArgsTable of={InnerItem} sort="alpha" /> */} +<ArgTypes of={Item} sort="alpha" /> ### Content @@ -71,7 +112,7 @@ A default accordion. compact /> -{/* <ArgsTable of={InnerContent} sort="alpha" /> */} +<ArgTypes of={InnerContent} sort="alpha" /> ### AccordionHeader @@ -82,7 +123,7 @@ A default accordion. compact /> -{/* <ArgsTable of={InnerAccordionHeader} sort="alpha" /> */} +<ArgTypes of={InnerAccordionHeader} sort="alpha" /> ### AccordionPanel @@ -92,4 +133,4 @@ A default accordion. compact /> -{/* <ArgsTable of={InnerAccordionPanel} sort="alpha" /> */} +<ArgTypes of={InnerAccordionPanel} sort="alpha" /> diff --git a/packages/components/src/accordion/docs/Accordion.stories.mdx b/packages/components/src/accordion/docs/Accordion.stories.mdx deleted file mode 100644 index fb9ad0121..000000000 --- a/packages/components/src/accordion/docs/Accordion.stories.mdx +++ /dev/null @@ -1,243 +0,0 @@ -import { Accordion, InnerAccordion, InnerAccordionHeader, InnerAccordionPanel } from "@components/accordion"; -import { ArgsTable, Meta, Story } from "@storybook/addon-docs"; -import { ComponentInfo, Preview, Tagline } from "@stories/components"; -import { Content, InnerContent } from "@components/placeholders"; -import { H3, Text } from "@components/typography"; -import { SparklesIcon } from "@hopper-ui/icons"; -import { InnerItem, Item } from "@components/collection"; - -<Meta - title="Components/Accordion" - id="accordion" -/> - -# Accordion - -<Tagline>Accordions are commonly used to reduce the need to scroll when presenting multiple sections of content on a single page.</Tagline> - -<ComponentInfo - usage={"import { Accordion, Item, Header, Content, AccordionContext, useAccordionContext } from \"@workleap/orbiter-ui\";"} - ariaPath="accordion" - githubPath="/packages/components/src/accordion/src" -/> - -## Guidelines - -### Accessibility - -- The accordion header that shows and hides the content must be an [heading element](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/Heading_Elements). -- The heading element should have a level that is appropriate for the information architecture of the page. You can choose the appropriate level by selecting one of Orbiter [heading](?path=/docs/heading--default-story) accordingly. - -## Usage - -We recommend specifying a unique `key` prop for every `<Item>`. If you choose to omit the `key` prop, a key matching the `<Item>` position will be generated. For example, `"0"` would be the generated key for the first `<Item>` of an `<Accordion>` component without keys. - -### Default - -A default accordion. - -<Preview> - <Story name="default"> - <Accordion> - <Item key="mars"> - <H3>Mars</H3> - <Content>Mars is the fourth planet from the Sun and the second-smallest planet in the Solar System.</Content> - </Item> - <Item key="jupiter"> - <H3>Jupiter</H3> - <Content>Jupiter is the fifth planet from the Sun and the largest in the Solar System.</Content> - </Item> - <Item key="venus"> - <H3>Venus</H3> - <Content>Venus is the second planet from the Sun. It is named after the Roman goddess of love and beauty.</Content> - </Item> - </Accordion> - </Story> -</Preview> - -### Icon - -An accordion item can contain [icons](?path=/docs/icon-gallery--page). - -<Preview> - <Story name="icon"> - <Accordion> - <Item key="mars"> - <H3> - <SparklesIcon /> - <Text>Mars</Text> - </H3> - <Content>Mars is the fourth planet from the Sun and the second-smallest planet in the Solar System.</Content> - </Item> - <Item key="jupiter"> - <H3> - <SparklesIcon /> - <Text>Jupiter</Text> - </H3> - <Content>Jupiter is the fifth planet from the Sun and the largest in the Solar System.</Content> - </Item> - <Item key="venus"> - <H3> - <SparklesIcon /> - <Text>Venus</Text> - </H3> - <Content>Venus is the second planet from the Sun. It is named after the Roman goddess of love and beauty.</Content> - </Item> - </Accordion> - </Story> -</Preview> - -### Multiple - -An accordion can allow multiple items to be expanded at once. - -<Preview> - <Story name="multiple"> - <Accordion expansionMode="multiple"> - <Item key="mars"> - <H3>Mars</H3> - <Content>Mars is the fourth planet from the Sun and the second-smallest planet in the Solar System.</Content> - </Item> - <Item key="jupiter"> - <H3>Jupiter</H3> - <Content>Jupiter is the fifth planet from the Sun and the largest in the Solar System.</Content> - </Item> - <Item key="venus"> - <H3>Venus</H3> - <Content>Venus is the second planet from the Sun. It is named after the Roman goddess of love and beauty.</Content> - </Item> - </Accordion> - </Story> -</Preview> - -### Dynamic items - -Accordion items can be rendered dynamically. - -<Preview> - <Story name="dynamic items"> - <Accordion aria-label="Planets"> - {[ - { id: "mars", header: "Mars", content: "Mars is the fourth planet from the Sun and the second-smallest planet." }, - { id: "jupiter", header: "Jupiter", content: "Jupiter is the fifth planet from the Sun and the largest in the Solar System." }, - { id: "venus", header: "Venus", content: "Venus is the second planet from the Sun. It is named after the Roman goddess of love and beauty." } - ] - .map(({ id, header, content }) => - <Item key={id}> - <H3>{header}</H3> - <Content>{content}</Content> - </Item> - )} - </Accordion> - </Story> -</Preview> - -### Disabled - -An accordion item can be disabled. - -<Preview> - <Story name="disabled item"> - <Accordion> - <Item key="mars"> - <H3>Mars</H3> - <Content>Mars is the fourth planet from the Sun and the second-smallest planet.</Content> - </Item> - <Item disabled key="jupiter"> - <H3>Jupiter</H3> - <Content>Jupiter is the fifth planet from the Sun and the largest in the Solar System.</Content> - </Item> - <Item key="venus"> - <H3>Venus</H3> - <Content>Venus is the second planet from the Sun. It is named after the Roman goddess of love and beauty.</Content> - </Item> - </Accordion> - </Story> -</Preview> - -### Bordered - -An accordion can be contained by borders. - -<Preview> - <Story name="bordered"> - <Accordion variant="bordered"> - <Item key="mars"> - <H3>Mars</H3> - <Content>Mars is the fourth planet from the Sun and the second-smallest planet in the Solar System.</Content> - </Item> - <Item key="jupiter"> - <H3>Jupiter</H3> - <Content>Jupiter is the fifth planet from the Sun and the largest in the Solar System.</Content> - </Item> - <Item key="venus"> - <H3>Venus</H3> - <Content>Venus is the second planet from the Sun. It is named after the Roman goddess of love and beauty.</Content> - </Item> - </Accordion> - </Story> -</Preview> - -### Accordion context - -The `expandedKeys` can be retrieved from `useAccordionContext`. - -<Preview filePath="/accordion/docs/AccordionContext" /> - -### Controlled - -The `expandedKeys` state can be handled in controlled mode. - -<Preview filePath="/accordion/docs/ControlledAccordion" /> - -## API - -### Accordion - -<ComponentInfo - usage={"import { Accordion } from \"@workleap/orbiter-ui\";"} - inherits={[InnerAccordion.defaultElement, "styled-component"]} - compact -/> - -<ArgsTable of={InnerAccordion} sort="alpha" /> - -### Item - -<ComponentInfo - usage={"import { Item } from \"@workleap/orbiter-ui\";"} - compact -/> - -<ArgsTable of={InnerItem} sort="alpha" /> - -### Content - -<ComponentInfo - usage={"import { Content } from \"@workleap/orbiter-ui\";"} - inherits={[InnerContent.defaultElement, "styled-component"]} - compact -/> - -<ArgsTable of={InnerContent} sort="alpha" /> - -### AccordionHeader - -<ComponentInfo - usage={"import { AccordionHeader } from \"@workleap/orbiter-ui\";"} - slots={["icon", "text"]} - inherits={[InnerAccordionHeader.defaultElement, "styled-component"]} - compact -/> - -<ArgsTable of={InnerAccordionHeader} sort="alpha" /> - -### AccordionPanel - -<ComponentInfo - usage={"import { AccordionPanel } from \"@workleap/orbiter-ui\";"} - inherits={[InnerAccordionPanel.defaultElement, "styled-component"]} - compact -/> - -<ArgsTable of={InnerAccordionPanel} sort="alpha" /> diff --git a/packages/components/src/accordion/docs/Accordion.stories.tsx b/packages/components/src/accordion/docs/Accordion.stories.tsx index 46d96c490..1b311784e 100644 --- a/packages/components/src/accordion/docs/Accordion.stories.tsx +++ b/packages/components/src/accordion/docs/Accordion.stories.tsx @@ -1,8 +1,10 @@ -import { H3 } from "@components/typography"; -import { Accordion } from "@components/accordion"; +import { H3, Text } from "@components/typography"; +import { Accordion, AccordionHeader, useAccordionContext, type AccordionHeaderProps } from "@components/accordion"; import { Content } from "@components/placeholders"; import { Item } from "@components/collection"; import { Meta, StoryObj } from "@storybook/react"; +import { SparklesIcon } from "@hopper-ui/icons"; +import { useCallback, useState, type SyntheticEvent } from "react"; const meta = { title: "Components/Accordion", @@ -15,7 +17,6 @@ export default meta; type AccordionStory = StoryObj<typeof meta>; export const Default: AccordionStory = { - name: "default", render: () => ( <Accordion> <Item key="mars"> @@ -33,3 +34,179 @@ export const Default: AccordionStory = { </Accordion> ) }; + +export const Icon: AccordionStory = { + render: () => ( + <Accordion> + <Item key="mars"> + <H3> + <SparklesIcon /> + <Text>Mars</Text> + </H3> + <Content>Mars is the fourth planet from the Sun and the second-smallest planet in the Solar System.</Content> + </Item> + <Item key="jupiter"> + <H3> + <SparklesIcon /> + <Text>Jupiter</Text> + </H3> + <Content>Jupiter is the fifth planet from the Sun and the largest in the Solar System.</Content> + </Item> + <Item key="venus"> + <H3> + <SparklesIcon /> + <Text>Venus</Text> + </H3> + <Content>Venus is the second planet from the Sun. It is named after the Roman goddess of love and beauty.</Content> + </Item> + </Accordion> + ) +}; + +export const Multiple: AccordionStory = { + render: () => ( + <Accordion expansionMode="multiple"> + <Item key="mars"> + <H3>Mars</H3> + <Content>Mars is the fourth planet from the Sun and the second-smallest planet in the Solar System.</Content> + </Item> + <Item key="jupiter"> + <H3>Jupiter</H3> + <Content>Jupiter is the fifth planet from the Sun and the largest in the Solar System.</Content> + </Item> + <Item key="venus"> + <H3>Venus</H3> + <Content>Venus is the second planet from the Sun. It is named after the Roman goddess of love and beauty.</Content> + </Item> + </Accordion> + ) +}; + +export const DynamicItems: AccordionStory = { + render: () => ( + <Accordion aria-label="Planets"> + {[ + { id: "mars", header: "Mars", content: "Mars is the fourth planet from the Sun and the second-smallest planet." }, + { id: "jupiter", header: "Jupiter", content: "Jupiter is the fifth planet from the Sun and the largest in the Solar System." }, + { id: "venus", header: "Venus", content: "Venus is the second planet from the Sun. It is named after the Roman goddess of love and beauty." } + ] + .map(({ id, header, content }) => + <Item key={id}> + <H3>{header}</H3> + <Content>{content}</Content> + </Item> + )} + </Accordion> + ) +}; + +export const DisabledItems: AccordionStory = { + render: () => ( + <Accordion> + <Item key="mars"> + <H3>Mars</H3> + <Content>Mars is the fourth planet from the Sun and the second-smallest planet.</Content> + </Item> + <Item disabled key="jupiter"> + <H3>Jupiter</H3> + <Content>Jupiter is the fifth planet from the Sun and the largest in the Solar System.</Content> + </Item> + <Item key="venus"> + <H3>Venus</H3> + <Content>Venus is the second planet from the Sun. It is named after the Roman goddess of love and beauty.</Content> + </Item> + </Accordion> + ) +}; + +export const Bordered: AccordionStory = { + render: () => ( + <Accordion variant="bordered"> + <Item key="mars"> + <H3>Mars</H3> + <Content>Mars is the fourth planet from the Sun and the second-smallest planet in the Solar System.</Content> + </Item> + <Item key="jupiter"> + <H3>Jupiter</H3> + <Content>Jupiter is the fifth planet from the Sun and the largest in the Solar System.</Content> + </Item> + <Item key="venus"> + <H3>Venus</H3> + <Content>Venus is the second planet from the Sun. It is named after the Roman goddess of love and beauty.</Content> + </Item> + </Accordion> + ) +}; + +export const AccordionContextStory: AccordionStory = { + render: () => { + type SelectedHeaderProps = Omit<AccordionHeaderProps, "headingType">; + + function SelectedHeader({ header, children, ...rest }: SelectedHeaderProps) { + const { expandedKeys } = useAccordionContext(); + const { key } = header; + + return ( + <AccordionHeader + {...rest} + color={expandedKeys.includes(key) ? "sapphire-700" : undefined} + header={header} + headingType={H3} + > + {children} + </AccordionHeader> + ); + } + + return ( + <Accordion aria-label="Planets"> + <Item key="mars"> + <SelectedHeader>Mars</SelectedHeader> + <Content>Mars is the fourth planet from the Sun and the second-smallest planet.</Content> + </Item> + <Item key="jupiter"> + <SelectedHeader>Jupiter</SelectedHeader> + <Content>Jupiter is the fifth planet from the Sun and the largest in the Solar System.</Content> + </Item> + <Item key="venus"> + <SelectedHeader>Venus</SelectedHeader> + <Content>Venus is the second planet from the Sun. It is named after the Roman goddess of love and beauty.</Content> + </Item> + </Accordion> + ); + } +}; + +/* eslint-disable react-hooks/rules-of-hooks */ +export const ControlledAccordion: AccordionStory = { + render: () => { + const [expandedKeys, setExpandedKeys] = useState<string[]>([]); + + + const handleExpansionChange = useCallback((event: SyntheticEvent, keys: string[]) => { + setExpandedKeys(keys); + console.log(keys); + }, [setExpandedKeys]); + + + return ( + <Accordion + expandedKeys={expandedKeys} + onExpansionChange={handleExpansionChange} + > + <Item key="mars"> + <H3>Mars</H3> + <Content>Mars is the fourth planet from the Sun and the second-smallest planet.</Content> + </Item> + <Item key="jupiter"> + <H3>Jupiter</H3> + <Content>Jupiter is the fifth planet from the Sun and the largest in the Solar System.</Content> + </Item> + <Item key="venus"> + <H3>Venus</H3> + <Content>Venus is the second planet from the Sun. It is named after the Roman goddess of love and beauty.</Content> + </Item> + </Accordion> + ); + } +}; diff --git a/packages/components/src/accordion/docs/AccordionContext.sample.jsx b/packages/components/src/accordion/docs/AccordionContext.sample.jsx deleted file mode 100644 index fbb2b94df..000000000 --- a/packages/components/src/accordion/docs/AccordionContext.sample.jsx +++ /dev/null @@ -1,35 +0,0 @@ -function SelectedHeader({ header, children, ...rest }) { - const { expandedKeys } = useAccordionContext(); - const { key } = header; - - return ( - <AccordionHeader - {...rest} - color={expandedKeys.includes(key) ? "sapphire-700" : undefined} - header={header} - headingType={H3} - > - {children} - </AccordionHeader> - ); -} - -render(() => { - return ( - <Accordion aria-label="Planets"> - <Item key="mars"> - <SelectedHeader>Mars</SelectedHeader> - <Content>Mars is the fourth planet from the Sun and the second-smallest planet.</Content> - </Item> - <Item key="jupiter"> - <SelectedHeader>Jupiter</SelectedHeader> - <Content>Jupiter is the fifth planet from the Sun and the largest in the Solar System.</Content> - </Item> - <Item key="venus"> - <SelectedHeader>Venus</SelectedHeader> - <Content>Venus is the second planet from the Sun. It is named after the Roman goddess of love and beauty.</Content> - </Item> - </Accordion> - ); -} -); diff --git a/packages/components/src/accordion/docs/ControlledAccordion.sample.jsx b/packages/components/src/accordion/docs/ControlledAccordion.sample.jsx deleted file mode 100644 index 5abae3372..000000000 --- a/packages/components/src/accordion/docs/ControlledAccordion.sample.jsx +++ /dev/null @@ -1,28 +0,0 @@ -() => { - const [expandedKeys, setExpandedKeys] = useState([]); - - const handleExpansionChange = useCallback((event, keys) => { - setExpandedKeys(keys); - console.log(keys); - }, [setExpandedKeys]); - - return ( - <Accordion - expandedKeys={expandedKeys} - onExpansionChange={handleExpansionChange} - > - <Item key="mars"> - <H3>Mars</H3> - <Content>Mars is the fourth planet from the Sun and the second-smallest planet.</Content> - </Item> - <Item key="jupiter"> - <H3>Jupiter</H3> - <Content>Jupiter is the fifth planet from the Sun and the largest in the Solar System.</Content> - </Item> - <Item key="venus"> - <H3>Venus</H3> - <Content>Venus is the second planet from the Sun. It is named after the Roman goddess of love and beauty.</Content> - </Item> - </Accordion> - ); -}; diff --git a/packages/components/src/accordion/src/AccordionHeader.tsx b/packages/components/src/accordion/src/AccordionHeader.tsx index e2def6e3c..1fa067320 100644 --- a/packages/components/src/accordion/src/AccordionHeader.tsx +++ b/packages/components/src/accordion/src/AccordionHeader.tsx @@ -18,7 +18,7 @@ export interface InnerAccordionHeaderProps extends InternalProps, InteractionPro /** * The header item props. */ - header: { + header?: { key: string; }; /** diff --git a/packages/components/src/collection/src/Item.tsx b/packages/components/src/collection/src/Item.tsx index 21e7583c3..ea124e8a9 100644 --- a/packages/components/src/collection/src/Item.tsx +++ b/packages/components/src/collection/src/Item.tsx @@ -13,12 +13,11 @@ export interface InnerItemProps extends InternalProps, InteractionProps, StyledH } // eslint-disable-next-line @typescript-eslint/no-unused-vars -export function InnerItem(props: InnerItemProps): JSX.Element { +export function InnerItem(props: InnerItemProps): ReactNode { return null; } export const Item = forwardRef<any, OmitInternalProps<InnerItemProps>>((props, ref) => ( - // @ts-ignore Not sure what is going on with the InnerItem. <InnerItem {...props} forwardedRef={ref} /> )); diff --git a/packages/components/src/typography/src/Heading.tsx b/packages/components/src/typography/src/Heading.tsx index ba4e01d4e..85cafcd1b 100644 --- a/packages/components/src/typography/src/Heading.tsx +++ b/packages/components/src/typography/src/Heading.tsx @@ -82,28 +82,34 @@ function createHeading(as: "h1" | "h2" | "h3" | "h4" | "h5" | "h6") { * [Documentation](https://wl-orbiter-website.netlify.app/?path=/docs/heading--default-story) */ export const H1 = createHeading("h1"); +H1.displayName = "H1"; /** * [Documentation](https://wl-orbiter-website.netlify.app/?path=/docs/heading--default-story) */ export const H2 = createHeading("h2"); +H2.displayName = "H2"; /** * [Documentation](https://wl-orbiter-website.netlify.app/?path=/docs/heading--default-story) */ export const H3 = createHeading("h3"); +H3.displayName = "H3"; /** * [Documentation](https://wl-orbiter-website.netlify.app/?path=/docs/heading--default-story) */ export const H4 = createHeading("h4"); +H4.displayName = "H4"; /** * [Documentation](https://wl-orbiter-website.netlify.app/?path=/docs/heading--default-story) */ export const H5 = createHeading("h5"); +H5.displayName = "H5"; /** * [Documentation](https://wl-orbiter-website.netlify.app/?path=/docs/heading--default-story) */ export const H6 = createHeading("h6"); +H6.displayName = "H6"; From 0c505100347af40ef7fbf90997268b805ff461cd Mon Sep 17 00:00:00 2001 From: Alexandre Asselin <alexandre.asselin@gsoft.com> Date: Wed, 30 Oct 2024 16:31:32 -0400 Subject: [PATCH 03/95] add change the import paths --- .storybook/main.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.storybook/main.ts b/.storybook/main.ts index f17abc81a..3360a5a5b 100644 --- a/.storybook/main.ts +++ b/.storybook/main.ts @@ -15,8 +15,8 @@ if (includeDocs) { // "../docs/**/*.stories.mdx", // "../packages/**/docs/**/*.mdx", // "!../packages/**/docs/**/*.stories.mdx", - "../packages/**/docs/Accordion.mdx", - "../packages/**/docs/Accordion.stories.tsx" + "../packages/**/docs/*(!.stories).mdx", + "../packages/**/docs/*.stories.tsx" ]; } From a24bfaf433231db16ec9724a79e86138b9db5647 Mon Sep 17 00:00:00 2001 From: Alexandre Asselin <alexandre.asselin@gsoft.com> Date: Wed, 30 Oct 2024 16:36:45 -0400 Subject: [PATCH 04/95] remove comments from .mdx --- packages/components/src/accordion/docs/Accordion.mdx | 5 ----- 1 file changed, 5 deletions(-) diff --git a/packages/components/src/accordion/docs/Accordion.mdx b/packages/components/src/accordion/docs/Accordion.mdx index 973b723b7..8ba1e3bf0 100644 --- a/packages/components/src/accordion/docs/Accordion.mdx +++ b/packages/components/src/accordion/docs/Accordion.mdx @@ -7,11 +7,6 @@ import { SparklesIcon } from "@hopper-ui/icons"; import { InnerItem, Item } from "@components/collection"; import * as AccordionStories from "./Accordion.stories.tsx"; -{/* <Meta - title="Components/Accordion" - id="accordion" -/> */} - <Meta of={AccordionStories} /> # Accordion From 6235e0f1293800829dd79c19b7d7a847bca9cb9d Mon Sep 17 00:00:00 2001 From: Alexandre Asselin <alexandre.asselin@gsoft.com> Date: Wed, 30 Oct 2024 16:56:51 -0400 Subject: [PATCH 05/95] fix documentation styles --- .../component-info/ComponentInfo.css | 4 + .storybook/main.ts | 2 +- .storybook/styles/docs.css | 418 ------------------ .storybook/styles/index.ts | 1 - 4 files changed, 5 insertions(+), 420 deletions(-) delete mode 100644 .storybook/styles/docs.css diff --git a/.storybook/components/component-info/ComponentInfo.css b/.storybook/components/component-info/ComponentInfo.css index 76acd95dd..e39cc6f63 100644 --- a/.storybook/components/component-info/ComponentInfo.css +++ b/.storybook/components/component-info/ComponentInfo.css @@ -45,6 +45,10 @@ column-gap: 8px; } +.o-ui-sb-component-info-value ul li { + margin: 0; +} + .o-ui-sb-component-info code { white-space: nowrap; } diff --git a/.storybook/main.ts b/.storybook/main.ts index 3360a5a5b..fd7ee49b5 100644 --- a/.storybook/main.ts +++ b/.storybook/main.ts @@ -15,7 +15,7 @@ if (includeDocs) { // "../docs/**/*.stories.mdx", // "../packages/**/docs/**/*.mdx", // "!../packages/**/docs/**/*.stories.mdx", - "../packages/**/docs/*(!.stories).mdx", + "../packages/**/docs/!(*.stories|IndexFileUsage).mdx", "../packages/**/docs/*.stories.tsx" ]; } diff --git a/.storybook/styles/docs.css b/.storybook/styles/docs.css deleted file mode 100644 index 64f746fb1..000000000 --- a/.storybook/styles/docs.css +++ /dev/null @@ -1,418 +0,0 @@ -:root { - /* Use this var only when the element is not affected by the font-family specified in Storybook docs theme */ - --orbiter-font-family: "Inter", Arial, Helvetica, sans-serif; -} - -/* LAYOUT */ -.sbdocs.sbdocs-wrapper { - padding: 2rem 2rem 1rem 2rem; -} - -.sbdocs.sbdocs-content { - max-width: 1280px; - font-size: var(--hop-body-md-font-size); -} - -/* STORY */ -.docs-story div + div > button { - font-weight: 550; - font-size: var(--hop-body-xs-font-size); -} - -/* ARGS TABLE */ -.docblock-argstable { - min-width: 220px; - margin-bottom: 0; -} - -/* ARGS TABLE | HEADER */ -.docblock-argstable-head, -.docblock-argstable-body { - font-size: var(--hop-body-sm-font-size) !important; -} - -.docblock-argstable-head tr th { - font-weight: 550 !important; - color: var(--hop-neutral-text) !important; -} - -/* ARGS TABLE | HEADER | RESET */ -.docblock-argstable-head button { - background-color: var(--hop-primary-surface) !important; - box-shadow: none; -} - -.docblock-argstable-head button:focus { - box-shadow: none; -} - -.docblock-argstable-head button:hover { - background-color: var(--hop-primary-surface-hover) !important; -} - -.docblock-argstable-head button svg path { - fill: var(--hop-neutral-surface) !important; -} - -/* ARGS TABLE | BODY */ -.docblock-argstable-body td > span { - font-weight: 550 !important; -} - -.docblock-argstable-body td > label > span { - font-weight: 550 !important; -} - -.docblock-argstable-body td label input[type=radio] { - width: 1.25rem !important; - height: 1.25rem !important; -} - -.docblock-argstable-body td label input[type=radio]:focus { - outline-offset: 1px; -} - -.docblock-argstable-body td label span { - font-size: var(--hop-body-xs-font-size) !important; -} - -.docblock-argstable-body td label input[type="radio"] { - width: 1rem !important; - height: 1rem !important; -} - -.docblock-argstable-body td input[type="number"], -.docblock-argstable-body td input[type="text"], -.docblock-argstable-body td textarea { - font-size: var(--hop-body-xs-font-size); -} - -.docblock-argstable-body a { - color: var(--hop-primary-text) !important; -} - -.docblock-argstable-body button { - color: var(--hop-primary-text) !important; - font-family: var(--hop-body-xs-font-family) !important; - font-size: var(--hop-body-xs-font-size) !important; - padding-left: 2px !important; -} - -/* EMPTY BLOCK */ -.docblock-emptyblock { - color: var(--hop-neutral-text-weak) !important; - border: 1px dashed var(--hop-neutral-border-weakest) !important; -} - -.docblock-emptyblock a { - color: var(--hop-primary-text) !important; -} - -/* SOURCE BLOCK */ -.docblock-source { - margin-top: var(--hop-space-stack-xl) !important; - margin-bottom: 35px !important; -} - -.sbdocs.sbdocs-preview, -.sbdocs.sbdocs-pre { - border: none; - border-radius: var(--hop-shape-rounded-md) !important; - box-shadow: var(--hop-elevation-lifted); -} - -.sbdocs.sbdocs-preview { - overflow: hidden; -} - -.sbdocs.sbdocs-preview > div > div { - overflow: visible; -} - -.sbdocs.sbdocs-preview div[scale] { - transform: none !important; -} - -/* ELEMENTS | TEXT */ -.sbdocs.sbdocs-h1, -.sbdocs.sbdocs-h2, -.sbdocs.sbdocs-h3, -.sbdocs.sbdocs-h4, -.sbdocs.sbdocs-h5, -.sbdocs.sbdocs-h6, -.sbdocs.sbdocs-p { - color: var(--hop-neutral-text); -} - -/* ELEMENTS | HEADER */ -.sbdocs.sbdocs-h1, -.sbdocs.sbdocs-h2, -.sbdocs.sbdocs-h3, -.sbdocs.sbdocs-h4, -.sbdocs.sbdocs-h5, -.sbdocs.sbdocs-h6 { - font-weight: 550; - /* fixing the default position relative on all titles in shared.tsx */ - position: initial; -} - -.sbdocs.sbdocs-h1 { - font-size: var(--hop-heading-3xl-font-size); - line-height: var(--hop-heading-3xl-line-height); -} - -.sbdocs.sbdocs-h1, -.sbdocs .sbdocs-title { - font-weight: 550; -} - -.sbdocs.sbdocs-h2 { - border-bottom: 1px solid var(--hop-neutral-border-weakest); -} - -.sbdocs.sbdocs-h2, -.sbdocs.sbdocs-h2:first-of-type { - margin: 1.5rem 0; - font-size: var(--hop-heading-xl-font-size); -} - -.sbdocs.sbdocs.sbdocs-h3 { - margin: var(--hop-space-stack-xl) 0 var(--hop-space-stack-md); - font-size: var(--hop-heading-md-font-size); - line-height: var(--hop-heading-md-line-height); -} - -.sbdocs.sbdocs.sbdocs-h4 { - font-size: var(--hop-heading-sm-font-size); - line-height: var(--hop-heading-sm-line-height); - margin: var(--hop-space-stack-lg) 0 var(--hop-space-stack-sm); -} - -.sbdocs.sbdocs-h2 + .sbdocs.sbdocs-p, -.sbdocs.sbdocs-h3 + .sbdocs.sbdocs-p, -.sbdocs.sbdocs-h4 + .sbdocs.sbdocs-p { - margin: 0 0 1rem 0; -} - -.sbdocs.sbdocs-p { - max-width: 75ch; -} - -/* ELEMENTS | CODE | IN PARAGRAPH */ -.sbdocs .sbdocs-p code, -.sbdocs .sbdocs-li code { - padding: 0 !important; - border: none !important; - border-radius: 0 !important; - background-color: transparent !important; - font-size: 15px !important; -} - -/* ELEMENTS | LINK */ -.sbdocs.sbdocs-a { - font-size: var(--hop-body-md-font-size); - color: var(--hop-primary-text) !important; - text-decoration: underline; -} - -.sbdocs.sbdocs-a:hover, -.sbdocs.sbdocs-a:focus { - text-decoration: underline; - outline: transparent; -} - -/* ELEMENTS | LINK | IN PARAGRAGH */ -.sbdocs.sbdocs-p .sbdocs-a { - font-size: inherit; -} - -.sbdocs.sbdocs-a:focus { - border-radius: var(--hop-shape-rounded-md); - background-color: rgba(0, 0, 0, 0.04); - box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.04); -} - -.sbdocs .sbdocs-a code { - color: var(--hop-primary-text); -} - -/* ELEMENTS | TYPOGRAPHY */ -.sbdocs.sbdocs-p, -.sbdocs.sbdocs-span { - font-size: var(--hop-body-md-font-size); - line-height: var(--hop-body-md-line-height); - max-width: 90ch; -} - -/* ELEMENTS | TABLE */ -.sbdocs.sbdocs-table tr { - border-top: 1px solid var(--hop-neutral-border-weakest); -} - -.sbdocs.sbdocs-table .thead tr th { - background-color: var(--hop-neutral-surface-weak); - color: inherit; -} - -.sbdocs.sbdocs-table thead tr { - border-top: 1px solid var(--hop-neutral-border-weakest); - border-left: 1px solid var(--hop-neutral-border-weakest); - border-right: 1px solid var(--hop-neutral-border-weakest); - color: var(--hop-neutral-text); -} - -.sbdocs.sbdocs-table tr th { - font-weight: 600; - font-size: var(--hop-body-md-font-size); -} - -.sbdocs.sbdocs-table td { - font-size: var(--hop-body-sm-medium-font-size); -} - -.sbdocs.sbdocs-table tr td, -.sbdocs.sbdocs-table tr th { - border-top: 1px solid var(--hop-neutral-border-weakest); - border-bottom: 1px solid var(--hop-neutral-border-weakest); - border-left: 0; - border-right: 0; - color: var(--hop-neutral-text); - background-color: var(--hop-neutral-surface); -} - -.sbdocs.sbdocs-table tbody { - border: 1px solid var(--hop-neutral-border-weakest); -} - -.sbdocs.sbdocs-table a { - font-size: var(--hop-body-sm-medium-font-size) !important; -} - -.sbdocs.sbdocs-table .code a { - font-family: Consolas, monaco, monospace !important; -} - -.sbdocs.sbdocs-table .example { - color: var(--hop-neutral-text); -} - -.sbdocs.sbdocs-table b, -.sbdocs.sbdocs-table strong { - font-weight: 400; -} - -.sbdocs.sbdocs-table .sbdocs.sbdocs-img { - max-width: none; -} - -/* ELEMENTS | SUMMARY */ -.sb-show-main summary { - font-size: var(--hop-body-md-font-size); - cursor: pointer; - line-height: var(--hop-body-md-line-height); -} - -.sb-show-main details { - padding: 8px; - border-radius: var(--hop-shape-rounded-md); - background-color: var(--hop-primary-surface-weak); -} - -.sb-show-main details + details { - margin-top: var(--hop-space-stack-md); -} - -.sbdocs details .docblock-source { - box-shadow: none !important; - border: none !important; - margin: var(--hop-space-stack-md) 0 !important; -} - -/* ELEMENTS | KBD */ -.sbdocs kbd { - line-height: 1; - margin: 0 2px; - padding: 3px 5px; - white-space: nowrap; - border-radius: 3px; - font-size: 13px; - border: 1px solid #EEEEEE; - color: rgba(51, 51, 51, 0.9); - background-color: #F8F8F8; -} - -/* ELEMENTS | LIST */ -.sbdocs.sbdocs-li { - font-size: var(--hop-body-md-font-size) !important; -} - -/* ELEMENTS | STRONG */ -.sbdocs strong { - font-weight: 400; -} - -/* ELEMENTS | LINK ICON */ -.sbdocs.sbdocs-h1 a { - margin-left: -28px; -} - -.sbdocs.sbdocs-h1 a svg { - width: 1.5rem; - height: 1.5rem; -} - -.code { - font-family: Consolas, monaco, monospace !important; -} - -.w-100 { - width: 100%; -} - -/* LOADER */ -.o-ui-sb-loading { - position: absolute; - background-color: var(--hop-neutral-surface-weak); - top: 0; - left: 0; - right: 0; - bottom: 0; -} - -.o-ui-sb-loading:before { - width: 1.5rem; - height: 1.5rem; - content: ""; - position: absolute; - top: 50%; - left: 50%; - border-radius: 50px; - border: 2px solid var(--hop-neutral-border-weak); - border-top-color: #FFFFFF; - animation: o-ui-sb-spinner 1s linear infinite; - transform: translate(-50%, -50%) rotate(0deg); -} - -@keyframes o-ui-sb-spinner { - 0% { - transform: translate(-50%, -50%) rotate(0deg); - } - 100% { - transform: translate(-50%, -50%) rotate(360deg); - } -} - -/* Token Specific Styles */ -.token-table tr td:last-child { - padding: 0 0 0 13px !important; -} - -/* HACK OVERRIDES - INPUT */ -@media screen and (max-width: 420px) { - .sbdocs .o-ui .o-ui-input { - width: 100%; - } - .sbdocs .o-ui .o-ui-form { - width: 100%; - } -} diff --git a/.storybook/styles/index.ts b/.storybook/styles/index.ts index 8063d8790..6dfbc51c6 100644 --- a/.storybook/styles/index.ts +++ b/.storybook/styles/index.ts @@ -1,3 +1,2 @@ import "./app.css"; -// import "./docs.css"; import "./stories.css"; From fb5e2806fd689e9fdf70031ea03ba60d1b2b4642 Mon Sep 17 00:00:00 2001 From: Alexandre Asselin <alexandre.asselin@gsoft.com> Date: Thu, 31 Oct 2024 11:24:03 -0400 Subject: [PATCH 06/95] fix highlight --- .storybook/preview.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/.storybook/preview.tsx b/.storybook/preview.tsx index cb7a95d05..e8abff977 100644 --- a/.storybook/preview.tsx +++ b/.storybook/preview.tsx @@ -10,6 +10,7 @@ import type { Preview } from "@storybook/react"; import "@components/index.css"; import "./styles"; import "@hopper-ui/tokens/fonts.css"; +import { Highlight } from "./mdx"; if (!isChromatic) { // Custom font makes chromatic inconsistent and cause "false positive". View https://www.chromatic.com/docs/resource-loading#loading-custom-fonts. From a65ec8b345f95bc3f987f4a5f795e35f50044cb2 Mon Sep 17 00:00:00 2001 From: Francis Thibault <francis.thibault@gsoft.com> Date: Thu, 31 Oct 2024 11:36:09 -0400 Subject: [PATCH 07/95] added typo and textarea tests --- .../src/accordion/docs/Accordion.stories.tsx | 2 - .../docs/ControlledTextArea.sample.jsx | 16 --- .../docs/LengthValidation.sample.jsx | 22 --- .../src/text-area/docs/TextArea.mdx | 92 ++++++++++++ .../src/text-area/docs/TextArea.stories.mdx | 134 ------------------ .../src/text-area/docs/TextArea.stories.tsx | 110 ++++++++++++++ .../src/typography/docs/Heading.mdx | 48 +++++++ .../src/typography/docs/Heading.stories.mdx | 71 ---------- .../src/typography/docs/Heading.stories.tsx | 41 ++++++ .../src/typography/docs/Paragraph.mdx | 35 +++++ .../src/typography/docs/Paragraph.stories.mdx | 43 ------ .../src/typography/docs/Paragraph.stories.tsx | 22 +++ .../components/src/typography/docs/Text.mdx | 35 +++++ .../src/typography/docs/Text.stories.mdx | 45 ------ .../src/typography/docs/Text.stories.tsx | 23 +++ 15 files changed, 406 insertions(+), 333 deletions(-) delete mode 100644 packages/components/src/text-area/docs/ControlledTextArea.sample.jsx delete mode 100644 packages/components/src/text-area/docs/LengthValidation.sample.jsx create mode 100644 packages/components/src/text-area/docs/TextArea.mdx delete mode 100644 packages/components/src/text-area/docs/TextArea.stories.mdx create mode 100644 packages/components/src/text-area/docs/TextArea.stories.tsx create mode 100644 packages/components/src/typography/docs/Heading.mdx delete mode 100644 packages/components/src/typography/docs/Heading.stories.mdx create mode 100644 packages/components/src/typography/docs/Heading.stories.tsx create mode 100644 packages/components/src/typography/docs/Paragraph.mdx delete mode 100644 packages/components/src/typography/docs/Paragraph.stories.mdx create mode 100644 packages/components/src/typography/docs/Paragraph.stories.tsx create mode 100644 packages/components/src/typography/docs/Text.mdx delete mode 100644 packages/components/src/typography/docs/Text.stories.mdx create mode 100644 packages/components/src/typography/docs/Text.stories.tsx diff --git a/packages/components/src/accordion/docs/Accordion.stories.tsx b/packages/components/src/accordion/docs/Accordion.stories.tsx index 1b311784e..168b977f5 100644 --- a/packages/components/src/accordion/docs/Accordion.stories.tsx +++ b/packages/components/src/accordion/docs/Accordion.stories.tsx @@ -182,13 +182,11 @@ export const ControlledAccordion: AccordionStory = { render: () => { const [expandedKeys, setExpandedKeys] = useState<string[]>([]); - const handleExpansionChange = useCallback((event: SyntheticEvent, keys: string[]) => { setExpandedKeys(keys); console.log(keys); }, [setExpandedKeys]); - return ( <Accordion expandedKeys={expandedKeys} diff --git a/packages/components/src/text-area/docs/ControlledTextArea.sample.jsx b/packages/components/src/text-area/docs/ControlledTextArea.sample.jsx deleted file mode 100644 index 309f2bbcd..000000000 --- a/packages/components/src/text-area/docs/ControlledTextArea.sample.jsx +++ /dev/null @@ -1,16 +0,0 @@ -() => { - const [value, setValue] = useState(""); - - const handleValueChange = useCallback((event, newValue) => { - setValue(newValue); - console.log(newValue); - }, [setValue]); - - return ( - <TextArea - value={value} - onValueChange={handleValueChange} - placeholder="Where to?" - /> - ); -}; diff --git a/packages/components/src/text-area/docs/LengthValidation.sample.jsx b/packages/components/src/text-area/docs/LengthValidation.sample.jsx deleted file mode 100644 index 3f279d055..000000000 --- a/packages/components/src/text-area/docs/LengthValidation.sample.jsx +++ /dev/null @@ -1,22 +0,0 @@ -() => { - const MaxValue = 25; - - const [value, setValue] = useState(""); - - const handleValueChange = useCallback(event => { - setValue(event.target.value); - console.log(event.target.value); - }, [setValue]); - - const isValid = useMemo(() => value.length <= MaxValue, [value]); - - return ( - <TextArea - validationState={isValid ? "valid" : "invalid"} - value={value} - placeholder={`Why should you go to space? (max ${MaxValue} characters)`} - help={`${MaxValue - value.length} characters left.`} - onValueChange={handleValueChange} - /> - ); -}; diff --git a/packages/components/src/text-area/docs/TextArea.mdx b/packages/components/src/text-area/docs/TextArea.mdx new file mode 100644 index 000000000..f2a929015 --- /dev/null +++ b/packages/components/src/text-area/docs/TextArea.mdx @@ -0,0 +1,92 @@ +import { ArgTypes, Meta, Canvas } from "@storybook/addon-docs"; +import { ComponentInfo, Tagline } from "@stories/components"; +import { InnerTextArea } from "@components/text-area"; +import * as TextAreaStories from "./TextArea.stories.tsx"; + +<Meta of={TextAreaStories} /> + +# TextArea + +<Tagline>A textarea is a multi-line plain-text editing control, useful when you want to allow users to enter a sizeable amount of free-form text.</Tagline> + +<ComponentInfo + usage={"import { TextArea } from \"@workleap/orbiter-ui\";"} + githubPath="/packages/components/src/text-area/src" +/> + +## Usage + +### Default + +A default textarea. + +<Canvas of={TextAreaStories.Default} /> + +### Value + +A textarea can have a value. + +<Canvas of={TextAreaStories.Value} /> + +### Max Rows + +A textarea can be limited to a maximum number of rows. + +<Canvas of={TextAreaStories.MaxRows} /> + + +### Rows + +A textarea can chose the number of rows to display. + +<Canvas of={TextAreaStories.Rows} /> + +### Disabled + +A textarea can be disabled. + +<Canvas of={TextAreaStories.Disabled} /> + +### Readonly + +A textarea can be readonly. + +<Canvas of={TextAreaStories.ReadOnly} /> + +### Loading + +A textarea can show that it is currently loading data. + +<Canvas of={TextAreaStories.Loading} /> + +### Fluid + +A textarea can take the width of its container. + +<Canvas of={TextAreaStories.Fluid} /> + +### Validation + +A textarea can display a validation state to communicate to the user whether the current value is valid or invalid. Implement your own validation logic in your app and pass either `"valid"` or `"invalid"` to the input via the `validationState` prop. + +The example below illustrates how one would validate that a text area doesn't exceed 25 characters (yes it could also be done with maxLength). + +<Canvas of={TextAreaStories.LengthValidation} /> + +### Controlled + +A textarea `value` can be handled in controlled mode. + +<Canvas of={TextAreaStories.Controlled} /> + +## API + +### TextArea + +<ComponentInfo + usage={"import { TextArea } from \"@workleap/orbiter-ui\";"} + inherits={[InnerTextArea.defaultElement, "styled-component"]} + compact +/> + +<ArgTypes of={InnerTextArea} sort="alpha" /> diff --git a/packages/components/src/text-area/docs/TextArea.stories.mdx b/packages/components/src/text-area/docs/TextArea.stories.mdx deleted file mode 100644 index c95ce6e8a..000000000 --- a/packages/components/src/text-area/docs/TextArea.stories.mdx +++ /dev/null @@ -1,134 +0,0 @@ -import { ArgsTable, Meta, Story } from "@storybook/addon-docs"; -import { ComponentInfo, Preview, Tagline } from "@stories/components"; -import { Inline } from "@components/layout"; -import { InnerTextArea, TextArea } from "@components/text-area"; - -<Meta - title="Components/TextArea" - id="textarea" -/> - -# TextArea - -<Tagline>A textarea is a multi-line plain-text editing control, useful when you want to allow users to enter a sizeable amount of free-form text.</Tagline> - -<ComponentInfo - usage={"import { TextArea } from \"@workleap/orbiter-ui\";"} - githubPath="/packages/components/src/text-area/src" -/> - -## Usage - -### Default - -A default textarea. - -<Preview> - <Story name="default"> - <TextArea placeholder="Why should you go to space?" /> - </Story> -</Preview> - -### Value - -A textarea can have a value. - -<Preview> - <Story name="value"> - <TextArea defaultValue="To fly high!" placeholder="Why should you go to space?" /> - </Story> -</Preview> - -### Max Rows - -A textarea can be limited to a maximum number of rows. - -<Preview> - <Story name="max rows"> - <Inline> - <TextArea maxRows={5} placeholder="Why should you go to space?" /> - </Inline> - </Story> -</Preview> - - -### Rows - -A textarea can chose the number of rows to display. - -<Preview> - <Story name="rows"> - <Inline> - <TextArea rows={8} placeholder="Why should you go to space?" /> - </Inline> - </Story> -</Preview> - - -### Disabled - -A textarea can be disabled. - -<Preview> - <Story name="disabled"> - <TextArea disabled placeholder="Why should you go to space?" /> - </Story> -</Preview> - -### Readonly - -A textarea can be readonly. - -<Preview> - <Story name="readonly"> - <TextArea readOnly defaultValue="NASA selected SpaceX to develop a lunar optimized Starship to transport crew between lunar orbiter and the surface of the Moon as part of NASA's Artemis program." placeholder="Winner announcement" /> - </Story> -</Preview> - -### Loading - -A textarea can show that it is currently loading data. - -<Preview> - <Story name="loading"> - <TextArea loading placeholder="Why should you go to space?" /> - </Story> -</Preview> - -### Fluid - -A textarea can take the width of its container. - -<Preview> - <Story name="fluid"> - <TextArea fluid placeholder="Why should you go to space?" /> - </Story> -</Preview> - -### Validation - -A textarea can display a validation state to communicate to the user whether the current value is valid or invalid. Implement your own validation logic in your app and pass either `"valid"` or `"invalid"` to the input via the `validationState` prop. - -The example below illustrates how one would validate that a text area doesn't exceed 25 characters (yes it could also be done with maxLength). - -<Preview filePath="/text-area/docs/LengthValidation" /> - -### Controlled - -A textarea `value` can be handled in controlled mode. - -<Preview filePath="/text-area/docs/ControlledTextArea" /> - -## API - -### TextArea - -<ComponentInfo - usage={"import { TextArea } from \"@workleap/orbiter-ui\";"} - inherits={[InnerTextArea.defaultElement, "styled-component"]} - compact -/> - -<ArgsTable of={InnerTextArea} sort="alpha" /> - - diff --git a/packages/components/src/text-area/docs/TextArea.stories.tsx b/packages/components/src/text-area/docs/TextArea.stories.tsx new file mode 100644 index 000000000..f8ed86a95 --- /dev/null +++ b/packages/components/src/text-area/docs/TextArea.stories.tsx @@ -0,0 +1,110 @@ +import { TextArea } from "@components/text-area"; +import { useCallback, useState, useMemo } from "react"; + +import { Meta, StoryObj } from "@storybook/react"; + +const meta = { + title: "Components/TextArea", + component: TextArea, + id: "textarea" +} as Meta<typeof TextArea>; + +export default meta; + +type TextAreaStory = StoryObj<typeof meta>; + +export const Default: TextAreaStory = { + render: () => ( + <TextArea placeholder="Why should you go to space?" /> + ) +}; + +export const Value: TextAreaStory = { + render: () => ( + <TextArea defaultValue="To fly high!" placeholder="Why should you go to space?" /> + ) +}; + +export const MaxRows: TextAreaStory = { + render: () => ( + <TextArea maxRows={5} placeholder="Why should you go to space?" /> + ) +}; + +export const ReadOnly: TextAreaStory = { + render: () => ( + <TextArea placeholder="Why should you go to space?" readonly /> + ) +}; + +export const Rows: TextAreaStory = { + render: () => ( + <TextArea placeholder="Why should you go to space?" rows={8} /> + ) +}; + +export const Disabled: TextAreaStory = { + render: () => ( + <TextArea disabled placeholder="Why should you go to space?" /> + ) +}; + +export const Loading: TextAreaStory = { + render: () => ( + <TextArea loading placeholder="Why should you go to space?" /> + ) +}; + +export const Fluid: TextAreaStory = { + render: () => ( + <TextArea fluid placeholder="Why should you go to space?" /> + ) +}; + +/* eslint-disable react-hooks/rules-of-hooks */ +export const LengthValidation: TextAreaStory = { + render: () => { + const MaxValue = 25; + + const [value, setValue] = useState(""); + + const handleValueChange = useCallback(event => { + setValue(event.target.value); + console.log(event.target.value); + }, [setValue]); + + const isValid = useMemo(() => value.length <= MaxValue, [value]); + + return ( + <TextArea + help={`${MaxValue - value.length} characters left.`} + onValueChange={handleValueChange} + placeholder={`Why should you go to space? (max ${MaxValue} characters)`} + validationState={isValid ? "valid" : "invalid"} + value={value} + /> + ); + } +}; + +/* eslint-disable react-hooks/rules-of-hooks */ +export const Controlled: TextAreaStory = { + render: () => { + const [value, setValue] = useState(""); + + const handleValueChange = useCallback((event, newValue) => { + setValue(newValue); + console.log(newValue); + }, [setValue]); + + return ( + <TextArea + onValueChange={handleValueChange} + placeholder="Where to?" + value={value} + /> + ); + } +}; + + diff --git a/packages/components/src/typography/docs/Heading.mdx b/packages/components/src/typography/docs/Heading.mdx new file mode 100644 index 000000000..46a1b6f9e --- /dev/null +++ b/packages/components/src/typography/docs/Heading.mdx @@ -0,0 +1,48 @@ +import { ArgTypes, Meta, Canvas } from "@storybook/addon-docs"; +import { ComponentInfo, Tagline } from "@stories/components"; +import { InnerHeading } from "@components/typography"; + +import * as HeadingStories from "./Heading.stories.tsx"; + +<Meta of={HeadingStories} /> + +# Heading + +<Tagline>Heading is used to create various levels of typographic hierarchies.</Tagline> + +<ComponentInfo + usage={"import { Heading, H1, H2, H3, H4, H5, H6 } from \"@workleap/orbiter-ui\";"} + githubPath="/packages/components/src/heading/src" +/> + +## Usage + +### Default + +A default heading will render as a `<div>` element. + +<Canvas of={HeadingStories.Default} /> + +### Heading elements + +For most cases, we recommend using HTML content sectionning heading elements instead of a `<div>`. Orbiter help by offering specialized heading components `<H1>`, `<H2>`, `<H3>`, `<H4>`, `<H5>`, `<H6>`. + +<Canvas of={HeadingStories.HeadingElements} /> + +### Size + +You can alter the size of an heading component by specifying a `size` prop. + +<Canvas of={HeadingStories.Size} /> + +## API + +### Heading, H1, H2, H3, H4, H5, H6 + +<ComponentInfo + usage={"import { Heading, H1, H2, H3, H4, H5, H6 } from \"@workleap/orbiter-ui\";"} + inherits={[InnerHeading.defaultElement, "styled-component"]} + compact +/> + +<ArgTypes of={InnerHeading} sort="alpha" /> diff --git a/packages/components/src/typography/docs/Heading.stories.mdx b/packages/components/src/typography/docs/Heading.stories.mdx deleted file mode 100644 index 1954e3e09..000000000 --- a/packages/components/src/typography/docs/Heading.stories.mdx +++ /dev/null @@ -1,71 +0,0 @@ -import { ArgsTable, Meta, Story } from "@storybook/addon-docs"; -import { ComponentInfo, Preview, Tagline } from "@stories/components"; -import { H1, H2, H3, H4, H5, H6, Heading, InnerHeading } from "@components/typography"; - -<Meta - title="Components/Heading" - id="heading" -/> - -# Heading - -<Tagline>Heading is used to create various levels of typographic hierarchies.</Tagline> - -<ComponentInfo - usage={"import { Heading, H1, H2, H3, H4, H5, H6 } from \"@workleap/orbiter-ui\";"} - githubPath="/packages/components/src/heading/src" -/> - -## Usage - -### Default - -A default heading will render as a `<div>` element. - -<Preview> - <Story name="default"> - <Heading>Houston, Tranquillity Base here. The Eagle has landed.</Heading> - </Story> -</Preview> - -### Heading elements - -For most cases, we recommend using HTML content sectionning heading elements instead of a `<div>`. Orbiter help by offering specialized heading components `<H1>`, `<H2>`, `<H3>`, `<H4>`, `<H5>`, `<H6>`. - -<Preview> - <Story name="heading elements"> - <> - <H1>Houston, Tranquillity Base here. The Eagle has landed.</H1> - <H2>Houston, Tranquillity Base here. The Eagle has landed.</H2> - <H3>Houston, Tranquillity Base here. The Eagle has landed.</H3> - <H4>Houston, Tranquillity Base here. The Eagle has landed.</H4> - <H5>Houston, Tranquillity Base here. The Eagle has landed.</H5> - <H6>Houston, Tranquillity Base here. The Eagle has landed.</H6> - </> - </Story> -</Preview> - -### Size - -You can alter the size of an heading component by specifying a `size` prop. - -<Preview> - <Story name="size"> - <> - <Heading>Houston, Tranquillity Base here. The Eagle has landed.</Heading> - <H2 size="xs">Houston, Tranquillity Base here. The Eagle has landed.</H2> - </> - </Story> -</Preview> - -## API - -### Heading, H1, H2, H3, H4, H5, H6 - -<ComponentInfo - usage={"import { Heading, H1, H2, H3, H4, H5, H6 } from \"@workleap/orbiter-ui\";"} - inherits={[InnerHeading.defaultElement, "styled-component"]} - compact -/> - -<ArgsTable of={InnerHeading} sort="alpha" /> diff --git a/packages/components/src/typography/docs/Heading.stories.tsx b/packages/components/src/typography/docs/Heading.stories.tsx new file mode 100644 index 000000000..cbebdb6d4 --- /dev/null +++ b/packages/components/src/typography/docs/Heading.stories.tsx @@ -0,0 +1,41 @@ +import { H1, H2, H3, H4, H5, H6, Heading } from "@components/typography"; + +import { Meta, StoryObj } from "@storybook/react"; + +const meta = { + title: "Components/Heading", + component: Heading, + id: "heading" +} as Meta<typeof Heading>; + +export default meta; + +type HeadingStory = StoryObj<typeof meta>; + +export const Default: HeadingStory = { + render: () => ( + <Heading>Houston, Tranquillity Base here. The Eagle has landed.</Heading> + ) +}; + +export const Size: HeadingStory = { + render: () => ( + <> + <Heading>Houston, Tranquillity Base here. The Eagle has landed.</Heading> + <H2 size="xs">Houston, Tranquillity Base here. The Eagle has landed.</H2> + </> + ) +}; + +export const HeadingElements: HeadingStory = { + render: () => ( + <> + <H1>Houston, Tranquillity Base here. The Eagle has landed.</H1> + <H2>Houston, Tranquillity Base here. The Eagle has landed.</H2> + <H3>Houston, Tranquillity Base here. The Eagle has landed.</H3> + <H4>Houston, Tranquillity Base here. The Eagle has landed.</H4> + <H5>Houston, Tranquillity Base here. The Eagle has landed.</H5> + <H6>Houston, Tranquillity Base here. The Eagle has landed.</H6> + </> + ) +}; diff --git a/packages/components/src/typography/docs/Paragraph.mdx b/packages/components/src/typography/docs/Paragraph.mdx new file mode 100644 index 000000000..f5f69c293 --- /dev/null +++ b/packages/components/src/typography/docs/Paragraph.mdx @@ -0,0 +1,35 @@ +import { ArgTypes, Meta, Canvas } from "@storybook/addon-docs"; +import { ComponentInfo, Tagline } from "@stories/components"; +import { InnerParagraph } from "@components/typography"; + +import * as ParagraphStories from "./Paragraph.stories.tsx"; + +<Meta of={ParagraphStories} /> + +# Paragraph + +<Tagline>A paragraph is used to render blocks of text.</Tagline> + +<ComponentInfo + usage={"import { Paragraph } from \"@workleap/orbiter-ui\";"} + githubPath="/packages/components/src/paragraph/src" +/> + +## Usage + +### Size + +You can alter the size of the paragraph by specifying a `size` prop. + +<Canvas of={ParagraphStories.Size} /> + +## API + +<ComponentInfo + usage={"import { Paragraph } from \"@workleap/orbiter-ui\";"} + inherits={[InnerParagraph.defaultElement, "styled-component"]} + compact +/> + +<ArgTypes of={InnerParagraph} sort="alpha" /> + diff --git a/packages/components/src/typography/docs/Paragraph.stories.mdx b/packages/components/src/typography/docs/Paragraph.stories.mdx deleted file mode 100644 index 12523deca..000000000 --- a/packages/components/src/typography/docs/Paragraph.stories.mdx +++ /dev/null @@ -1,43 +0,0 @@ -import { ArgsTable, Meta, Story } from "@storybook/addon-docs"; -import { ComponentInfo, Preview, Tagline } from "@stories/components"; -import { InnerParagraph, Paragraph } from "@components/typography"; - -<Meta - title="Components/Paragraph" - id="paragraph" -/> - -# Paragraph - -<Tagline>A paragraph is used to render blocks of text.</Tagline> - -<ComponentInfo - usage={"import { Paragraph } from \"@workleap/orbiter-ui\";"} - githubPath="/packages/components/src/paragraph/src" -/> - -## Usage - -### Size - -You can alter the size of the paragraph by specifying a `size` prop. - -<Preview> - <Story name="size"> - <> - <Paragraph size="lg">If two pieces of the same type of metal touch in space they will permanently bond.</Paragraph> - <Paragraph>If two pieces of the same type of metal touch in space they will permanently bond.</Paragraph> - </> - </Story> -</Preview> - -## API - -<ComponentInfo - usage={"import { Paragraph } from \"@workleap/orbiter-ui\";"} - inherits={[InnerParagraph.defaultElement, "styled-component"]} - compact -/> - -<ArgsTable of={InnerParagraph} sort="alpha" /> - diff --git a/packages/components/src/typography/docs/Paragraph.stories.tsx b/packages/components/src/typography/docs/Paragraph.stories.tsx new file mode 100644 index 000000000..b61d094f7 --- /dev/null +++ b/packages/components/src/typography/docs/Paragraph.stories.tsx @@ -0,0 +1,22 @@ +import { Paragraph } from "@components/typography"; + +import { Meta, StoryObj } from "@storybook/react"; + +const meta = { + title: "Components/Paragraph", + component: Paragraph, + id: "paragraph" +} as Meta<typeof Paragraph>; + +export default meta; + +type ParagraphStory = StoryObj<typeof meta>; + +export const Size: ParagraphStory = { + render: () => ( + <> + <Paragraph size="lg">If two pieces of the same type of metal touch in space they will permanently bond.</Paragraph> + <Paragraph>If two pieces of the same type of metal touch in space they will permanently bond.</Paragraph> + </> + ) +}; diff --git a/packages/components/src/typography/docs/Text.mdx b/packages/components/src/typography/docs/Text.mdx new file mode 100644 index 000000000..b9112bcaa --- /dev/null +++ b/packages/components/src/typography/docs/Text.mdx @@ -0,0 +1,35 @@ +import { ArgTypes, Meta, Canvas } from "@storybook/addon-docs"; +import { ComponentInfo, Tagline } from "@stories/components"; +import { InnerText } from "@components/typography"; +import * as TextStories from "./Text.stories.tsx"; + +<Meta of={TextStories} /> + +# Text + +<Tagline>A primitive text component matching Orbiter typography type scale.</Tagline> + +<ComponentInfo + usage={"import { Text } from \"@workleap/orbiter-ui\";"} + githubPath="/packages/components/src/text/src" +/> + +## Usage + +{/* > Use this component if more specific Orbiter typographic components like [span](?path=/docs/html-span--example) or [paragraph](?path=/docs/paragraph--size) doesn't meet your needs. */} + +### Size + +You can alter the size of the text by specifying a `size` prop. The available sizes match Orbiter typography type scale (a type scale is a set of [font-size](?path=/docs/tokens--page#font-sizes) and [line-height](?path=/docs/tokens--page#line-heights) pairs). + +<Canvas of={TextStories.Size} /> + +## API + +<ComponentInfo + usage={"import { Text } from \"@workleap/orbiter-ui\";"} + inherits={[InnerText.defaultElement, "styled-component"]} + compact +/> + +<ArgTypes of={InnerText} sort="alpha" /> diff --git a/packages/components/src/typography/docs/Text.stories.mdx b/packages/components/src/typography/docs/Text.stories.mdx deleted file mode 100644 index 605c22040..000000000 --- a/packages/components/src/typography/docs/Text.stories.mdx +++ /dev/null @@ -1,45 +0,0 @@ -import { ArgsTable, Meta, Story } from "@storybook/addon-docs"; -import { ComponentInfo, Preview, Tagline } from "@stories/components"; -import { InnerText, Text } from "@components/typography"; -import { Stack } from "@components/layout"; - -<Meta - title="Components/Text" - id="text" -/> - -# Text - -<Tagline>A primitive text component matching Orbiter typography type scale.</Tagline> - -<ComponentInfo - usage={"import { Text } from \"@workleap/orbiter-ui\";"} - githubPath="/packages/components/src/text/src" -/> - -## Usage - -> Use this component if more specific Orbiter typographic components like [span](?path=/docs/html-span--example) or [paragraph](?path=/docs/paragraph--size) doesn't meet your needs. - -### Size - -You can alter the size of the text by specifying a `size` prop. The available sizes match Orbiter typography type scale (a type scale is a set of [font-size](?path=/docs/tokens--page#font-sizes) and [line-height](?path=/docs/tokens--page#line-heights) pairs). - -<Preview> - <Story name="size"> - <Stack> - <Text>If two pieces of the same type of metal touch in space they will permanently bond.</Text> - <Text size="sm">If two pieces of the same type of metal touch in space they will permanently bond.</Text> - </Stack> - </Story> -</Preview> - -## API - -<ComponentInfo - usage={"import { Text } from \"@workleap/orbiter-ui\";"} - inherits={[InnerText.defaultElement, "styled-component"]} - compact -/> - -<ArgsTable of={InnerText} sort="alpha" /> diff --git a/packages/components/src/typography/docs/Text.stories.tsx b/packages/components/src/typography/docs/Text.stories.tsx new file mode 100644 index 000000000..ef9692789 --- /dev/null +++ b/packages/components/src/typography/docs/Text.stories.tsx @@ -0,0 +1,23 @@ +import { Stack } from "@components/layout"; +import { Text } from "@components/typography"; + +import { Meta, StoryObj } from "@storybook/react"; + +const meta = { + title: "Components/Text", + component: Text, + id: "text" +} as Meta<typeof Text>; + +export default meta; + +type TextStory = StoryObj<typeof meta>; + +export const Size: TextStory = { + render: () => ( + <Stack> + <Text>If two pieces of the same type of metal touch in space they will permanently bond.</Text> + <Text size="sm">If two pieces of the same type of metal touch in space they will permanently bond.</Text> + </Stack> + ) +}; From dc350519e3442bbef321ddc7d75db9962d2946cb Mon Sep 17 00:00:00 2001 From: Francis Thibault <francis.thibault@gsoft.com> Date: Thu, 31 Oct 2024 11:43:33 -0400 Subject: [PATCH 08/95] highlight in text --- packages/components/src/typography/docs/Text.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/components/src/typography/docs/Text.mdx b/packages/components/src/typography/docs/Text.mdx index b9112bcaa..98312d622 100644 --- a/packages/components/src/typography/docs/Text.mdx +++ b/packages/components/src/typography/docs/Text.mdx @@ -16,7 +16,7 @@ import * as TextStories from "./Text.stories.tsx"; ## Usage -{/* > Use this component if more specific Orbiter typographic components like [span](?path=/docs/html-span--example) or [paragraph](?path=/docs/paragraph--size) doesn't meet your needs. */} +> Use this component if more specific Orbiter typographic components like [span](?path=/docs/html-span--example) or [paragraph](?path=/docs/paragraph--size) doesn't meet your needs. ### Size From 1cbaa002524765c6f14709b1bc15378b09e0c06d Mon Sep 17 00:00:00 2001 From: Victor Trinh <victor.trinh@gsoft.com> Date: Thu, 31 Oct 2024 11:28:19 -0400 Subject: [PATCH 09/95] Box --- .../src/box/docs/{Box.stories.mdx => Box.mdx} | 12 +++++------- packages/components/src/box/docs/Box.stories.tsx | 16 ++++++++++++++++ .../components/src/box/docs/Usage.sample.jsx | 7 ------- 3 files changed, 21 insertions(+), 14 deletions(-) rename packages/components/src/box/docs/{Box.stories.mdx => Box.mdx} (79%) create mode 100644 packages/components/src/box/docs/Box.stories.tsx delete mode 100644 packages/components/src/box/docs/Usage.sample.jsx diff --git a/packages/components/src/box/docs/Box.stories.mdx b/packages/components/src/box/docs/Box.mdx similarity index 79% rename from packages/components/src/box/docs/Box.stories.mdx rename to packages/components/src/box/docs/Box.mdx index 1723ffe56..49765b488 100644 --- a/packages/components/src/box/docs/Box.stories.mdx +++ b/packages/components/src/box/docs/Box.mdx @@ -1,11 +1,9 @@ -import { ArgsTable, Meta } from "@storybook/addon-docs"; +import { ArgTypes, Canvas, Meta } from "@storybook/addon-docs"; import { ComponentInfo, Preview, Tagline } from "@stories/components"; import { InnerBox } from "@components/box"; +import * as BoxStories from "./Box.stories.tsx"; -<Meta - title="Components/Box" - id="box" -/> +<Meta of={BoxStories} /> # Box @@ -24,7 +22,7 @@ import { InnerBox } from "@components/box"; A default box. -<Preview filePath="/box/docs/Usage" /> +<Canvas of={BoxStories.Default} /> ## API @@ -34,4 +32,4 @@ A default box. compact /> -<ArgsTable of={InnerBox} sort="alpha" /> +<ArgTypes of={InnerBox} sort="alpha" /> diff --git a/packages/components/src/box/docs/Box.stories.tsx b/packages/components/src/box/docs/Box.stories.tsx new file mode 100644 index 000000000..391ecf44e --- /dev/null +++ b/packages/components/src/box/docs/Box.stories.tsx @@ -0,0 +1,16 @@ +import { Meta, StoryObj } from "@storybook/react"; +import { Box } from "@components/box"; + +const meta = { + title: "Components/Box", + component: Box, + id: "box" +} as Meta<typeof Box>; + +export default meta; + +type BoxStory = StoryObj<typeof meta>; + +export const Default: BoxStory = { + render: () => <Box as="div" border="neutral" padding={160}>Enjoy space like never before.</Box> +}; diff --git a/packages/components/src/box/docs/Usage.sample.jsx b/packages/components/src/box/docs/Usage.sample.jsx deleted file mode 100644 index 0e12e66f5..000000000 --- a/packages/components/src/box/docs/Usage.sample.jsx +++ /dev/null @@ -1,7 +0,0 @@ -() => { - const Div = as(Box, "div"); - - return ( - <Div padding={160} border="neutral">Enjoy space like never before.</Div> - ); -}; From 6d8e55b5b2c2dd0826a330c93d1e7eaa109b6472 Mon Sep 17 00:00:00 2001 From: Victor Trinh <victor.trinh@gsoft.com> Date: Thu, 31 Oct 2024 11:38:56 -0400 Subject: [PATCH 10/95] Dot --- .../src/dot/docs/{Dot.stories.mdx => Dot.mdx} | 32 ++++--------------- .../components/src/dot/docs/Dot.stories.tsx | 31 ++++++++++++++++++ 2 files changed, 38 insertions(+), 25 deletions(-) rename packages/components/src/dot/docs/{Dot.stories.mdx => Dot.mdx} (54%) create mode 100644 packages/components/src/dot/docs/Dot.stories.tsx diff --git a/packages/components/src/dot/docs/Dot.stories.mdx b/packages/components/src/dot/docs/Dot.mdx similarity index 54% rename from packages/components/src/dot/docs/Dot.stories.mdx rename to packages/components/src/dot/docs/Dot.mdx index c80c16800..36454751e 100644 --- a/packages/components/src/dot/docs/Dot.stories.mdx +++ b/packages/components/src/dot/docs/Dot.mdx @@ -1,12 +1,10 @@ -import { ArgsTable, Meta, Story } from "@storybook/addon-docs"; +import { ArgTypes, Canvas, Meta, Story } from "@storybook/addon-docs"; import { ComponentInfo, Preview } from "@stories/components"; import { Dot, InnerDot } from "@components/dot"; import { Inline } from "@components/layout"; +import * as DotStories from "./Dot.stories.tsx"; -<Meta - title="Components/Dot" - id="dot" -/> +<Meta of={DotStories} /> # Dot @@ -21,21 +19,13 @@ import { Inline } from "@components/layout"; A default dot. -<Preview> - <Story name="default"> - <Dot color="primary" /> - </Story> -</Preview> +<Canvas of={DotStories.Default} /> ### Label A dot can have a label. -<Preview> - <Story name="label"> - <Dot color="neutral-weakest">Habitable</Dot> - </Story> -</Preview> +<Canvas of={DotStories.Label} /> ### Color @@ -43,15 +33,7 @@ A dot color can vary. You can use a color name from our Orbiter design system (e.g. `moss-200`, `--o-ui-accent-6`), an hexadecimal color code (e.g. `#c5cac8`), an `hsl`, an `hsla`, a `rgb` or a `rgba` color code. -<Preview> - <Story name="color"> - <Inline> - <Dot color="neutral-weakest">Habitable</Dot> - <Dot color="hsl(25, 69%, 41%)">Uninhabitable</Dot> - <Dot color="--hop-sapphire-600">Clean</Dot> - </Inline> - </Story> -</Preview> +<Canvas of={DotStories.Color} /> ## API @@ -63,4 +45,4 @@ You can use a color name from our Orbiter design system (e.g. `moss-200`, `--o-u compact /> -<ArgsTable of={InnerDot} sort="alpha" /> +<ArgTypes of={InnerDot} sort="alpha" /> diff --git a/packages/components/src/dot/docs/Dot.stories.tsx b/packages/components/src/dot/docs/Dot.stories.tsx new file mode 100644 index 000000000..4812c8e79 --- /dev/null +++ b/packages/components/src/dot/docs/Dot.stories.tsx @@ -0,0 +1,31 @@ +import { Dot } from "@components/dot"; +import { Inline } from "@components/layout"; +import { Meta, StoryObj } from "@storybook/react/*"; + +const meta = { + title: "Components/Dot", + component: Dot, + id: "dot" +} as Meta<typeof Dot>; + +export default meta; + +type Story = StoryObj<typeof Dot>; + +export const Default: Story = { + render: () => <Dot color="primary" /> +}; + +export const Label: Story = { + render: () => <Dot color="neutral-weakest">Habitable</Dot> +}; + +export const Color: Story = { + render: () => ( + <Inline> + <Dot color="neutral-weakest">Habitable</Dot> + <Dot color="hsl(25, 69%, 41%)">Uninhabitable</Dot> + <Dot color="--hop-sapphire-600">Clean</Dot> + </Inline> + ) +}; From 10f1ca653392cdcf6d60aea6642fee96c96b905c Mon Sep 17 00:00:00 2001 From: Victor Trinh <victor.trinh@gsoft.com> Date: Thu, 31 Oct 2024 11:57:37 -0400 Subject: [PATCH 11/95] Card --- packages/components/src/card/docs/Card.mdx | 141 ++++++++ .../components/src/card/docs/Card.stories.mdx | 338 ------------------ .../components/src/card/docs/Card.stories.tsx | 238 ++++++++++++ 3 files changed, 379 insertions(+), 338 deletions(-) create mode 100644 packages/components/src/card/docs/Card.mdx delete mode 100644 packages/components/src/card/docs/Card.stories.mdx create mode 100644 packages/components/src/card/docs/Card.stories.tsx diff --git a/packages/components/src/card/docs/Card.mdx b/packages/components/src/card/docs/Card.mdx new file mode 100644 index 000000000..367f874e1 --- /dev/null +++ b/packages/components/src/card/docs/Card.mdx @@ -0,0 +1,141 @@ +import { ArgTypes, Canvas, Meta, Story } from "@storybook/addon-docs"; +import { Button, ButtonGroup } from "@components/button"; +import { Card, InnerCard } from "@components/card"; +import { ComponentInfo, Preview, Tagline } from "@stories/components"; +import { Content, Header, InnerContent, InnerHeader } from "@components/placeholders"; +import { Heading, InnerHeading, Paragraph } from "@components/typography"; +import { Illustration } from "@components/illustration"; +import { Image } from "@components/image"; +import { Inline, Stack } from "@components/layout"; +import { Item } from "@components/collection"; +import { Planet, SpaceLandscape } from "./assets"; +import { Tabs } from "@components/tabs"; +import * as CardStories from "./Card.stories.tsx"; + +<Meta of={CardStories} /> + +# Card + +<Tagline>A card group information into a container to let users browse a group of related items and actions.</Tagline> + +<ComponentInfo + usage={"import { Card, Heading, Header, Content } from \"@workleap/orbiter-ui\";"} + githubPath="/packages/components/src/card/src" +/> + +## Guidelines + +### When to use + +- To restrain elements to a non-interactive container. Child elements can be interacted with. + +### Card vs Tile + +- If you need an interactive or navigable container, use a [tile](?path=/story/tile--default-story) component. + +## Usage + +### Default + +A card must have an heading and a content. + +<Canvas of={CardStories.Default} /> + +### Elevated + +A card can use a different style. + +<Canvas of={CardStories.Elevated} /> + +### Image + +A card can have an [image](?path=/story/chromatic-image--default): + +<Canvas of={CardStories.Image} /> + +Or an [illustration](?path=/docs/illustration--horizontal): + +<Canvas of={CardStories.Illustration} /> + +### Header + +A card can have an header. + +<Canvas of={CardStories.Header} /> + +### Buttons + +A card can have a single [button](?path=/docs/button--default-story): + +<Canvas of={CardStories.Button} /> + +Or a [group of button](?path=/docs/button--default-story#button-group): + +<Canvas of={CardStories.Buttons} /> + +### Orientation + +A card can render horizontally. + +<Canvas of={CardStories.Orientation} /> + +### Size + +A card can vary in size. + +<Canvas of={CardStories.Size} /> + +### Fluid + +A card can take the width of its container. + +<Canvas of={CardStories.Fluid} /> + +### Tabs + +A card can render any components like [tabs](?path=/story/tabs--default-story). + +<Canvas of={CardStories.Tabs} /> + +## API + +### Card + +<ComponentInfo + usage={"import { Card } from \"@workleap/orbiter-ui\";"} + slots={["image", "illustration", "heading", "header", "content", "button", "button-group"]} + inherits={[InnerCard.defaultElement, "styled-component"]} + compact +/> + +<ArgTypes of={InnerCard} sort="alpha" /> + +### Heading + +<ComponentInfo + usage={"import { Heading } from \"@workleap/orbiter-ui\";"} + inherits={[InnerHeading.defaultElement, "styled-component"]} + compact +/> + +<ArgTypes of={InnerHeading} sort="alpha" /> + +### Header + +<ComponentInfo + usage={"import { Header } from \"@workleap/orbiter-ui\";"} + inherits={[InnerHeader.defaultElement, "styled-component"]} + compact +/> + +<ArgTypes of={InnerHeader} sort="alpha" /> + +### Content + +<ComponentInfo + usage={"import { Content } from \"@workleap/orbiter-ui\";"} + inherits={[InnerContent.defaultElement, "styled-component"]} + compact +/> + +<ArgTypes of={InnerContent} sort="alpha" /> diff --git a/packages/components/src/card/docs/Card.stories.mdx b/packages/components/src/card/docs/Card.stories.mdx deleted file mode 100644 index 1039f10e2..000000000 --- a/packages/components/src/card/docs/Card.stories.mdx +++ /dev/null @@ -1,338 +0,0 @@ -import { ArgsTable, Meta, Story } from "@storybook/addon-docs"; -import { Button, ButtonGroup } from "@components/button"; -import { Card, InnerCard } from "@components/card"; -import { ComponentInfo, Preview, Tagline } from "@stories/components"; -import { Content, Header, InnerContent, InnerHeader } from "@components/placeholders"; -import { Heading, InnerHeading, Paragraph } from "@components/typography"; -import { Illustration } from "@components/illustration"; -import { Image } from "@components/image"; -import { Inline, Stack } from "@components/layout"; -import { Item } from "@components/collection"; -import { Planet, SpaceLandscape } from "./assets"; -import { Tabs } from "@components/tabs"; - -<Meta - title="Components/Card" - id="card" -/> - -# Card - -<Tagline>A card group information into a container to let users browse a group of related items and actions.</Tagline> - -<ComponentInfo - usage={"import { Card, Heading, Header, Content } from \"@workleap/orbiter-ui\";"} - githubPath="/packages/components/src/card/src" -/> - -## Guidelines - -### When to use - -- To restrain elements to a non-interactive container. Child elements can be interacted with. - -### Card vs Tile - -- If you need an interactive or navigable container, use a [tile](?path=/story/tile--default-story) component. - -## Usage - -### Default - -A card must have an heading and a content. - -<Preview> - <Story name="default"> - <Card> - <Heading>NASA Headquarters</Heading> - <Content> - <Paragraph>NASA Headquarters, officially known as Mary W. Jackson NASA Headquarters or NASA HQ and formerly named Two Independence Square, is a low-rise office building in the two-building Independence Square complex at 300 E Street SW in Washington, D.C.</Paragraph> - </Content> - </Card> - </Story> -</Preview> - -### Elevated - -A card can use a different style. - -<Preview> - <Story name="elevated"> - <Card variant="elevated"> - <Heading>NASA Headquarters</Heading> - <Content> - <Paragraph>NASA Headquarters, officially known as Mary W. Jackson NASA Headquarters or NASA HQ and formerly named Two Independence Square, is a low-rise office building in the two-building Independence Square complex at 300 E Street SW in Washington, D.C.</Paragraph> - </Content> - </Card> - </Story> -</Preview> - -### Image - -A card can have an [image](?path=/story/chromatic-image--default): - -<Preview scope={{ SpaceLandscape }}> - <Story name="image"> - <Card> - <Image src={SpaceLandscape} alt="Planet over another one" /> - <Heading>NASA Headquarters</Heading> - <Content> - <Paragraph>NASA Headquarters, officially known as Mary W. Jackson NASA Headquarters or NASA HQ and formerly named Two Independence Square, is a low-rise office building in the two-building Independence Square complex at 300 E Street SW in Washington, D.C.</Paragraph> - </Content> - </Card> - </Story> -</Preview> - -Or an [illustration](?path=/docs/illustration--horizontal): - -<Preview scope={{ Planet }}> - <Story name="illustration"> - <Card > - <Illustration backgroundColor="primary-weak"> - <Image src={Planet} alt="Planet over another one" width="100px" /> - </Illustration> - <Heading>NASA Headquarters</Heading> - <Content> - <Paragraph>NASA Headquarters, officially known as Mary W. Jackson NASA Headquarters or NASA HQ and formerly named Two Independence Square, is a low-rise office building in the two-building Independence Square complex at 300 E Street SW in Washington, D.C.</Paragraph> - </Content> - </Card> - </Story> -</Preview> - -### Header - -A card can have an header. - -<Preview> - <Story name="header"> - <Card> - <Heading>NASA Headquarters</Heading> - <Header>No visitors allowed.</Header> - <Content> - <Paragraph>NASA Headquarters, officially known as Mary W. Jackson NASA Headquarters or NASA HQ and formerly named Two Independence Square, is a low-rise office building in the two-building Independence Square complex at 300 E Street SW in Washington, D.C.</Paragraph> - </Content> - </Card> - </Story> -</Preview> - -### Buttons - -A card can have a single [button](?path=/docs/button--default-story): - -<Preview> - <Story name="button"> - <Card> - <Heading>NASA Headquarters</Heading> - <Header>No visitors allowed.</Header> - <Content> - <Paragraph>NASA Headquarters, officially known as Mary W. Jackson NASA Headquarters or NASA HQ and formerly named Two Independence Square, is a low-rise office building in the two-building Independence Square complex at 300 E Street SW in Washington, D.C.</Paragraph> - </Content> - <Button variant="secondary">Plan a visit</Button> - </Card> - </Story> -</Preview> - -Or a [group of button](?path=/docs/button--default-story#button-group): - -<Preview> - <Story name="buttons"> - <Card> - <Heading>NASA Headquarters</Heading> - <Content> - <Paragraph> - 300 E. Street SW, Suite 5R30<br/> - Washington, DC 20546<br/> - (202) 358-0001 (Office)<br/> - (202) 358-4338 (Fax)<br/> - </Paragraph> - <Paragraph> - <em>Any trespassers are going to be sent in space.</em> - </Paragraph> - </Content> - <ButtonGroup> - <Button variant="secondary">Plan a visit</Button> - <Button variant="secondary">Cancel a booking</Button> - </ButtonGroup> - </Card> - </Story> -</Preview> - -### Orientation - -A card can render horizontally. - -<Preview scope={{ Planet }}> - <Story name="orientation"> - <Card orientation="horizontal"> - <Illustration backgroundColor="primary-weak"> - <Image src={Planet} alt="Planet over another one" /> - </Illustration> - <Heading>NASA</Heading> - <Content> - <Paragraph> - 300 E. Street SW, Suite 5R30<br/> - Washington, DC 20546<br/> - (202) 358-0001 (Office)<br/> - (202) 358-4338 (Fax) - </Paragraph> - <Paragraph> - <em>Please note that we are moving from December 12th to December 23rd.</em> - </Paragraph> - </Content> - </Card> - </Story> -</Preview> - -### Size - -A card can vary in size. - -<Preview> - <Story name="size"> - <Stack> - <Inline> - <Card size="xs"> - <Heading>NASA Headquarters</Heading> - <Content> - 300 E. Street SW, Suite 5R30<br/> - Washington, DC 20546<br/> - (202) 358-0001 (Office)<br/> - (202) 358-4338 (Fax) - </Content> - </Card> - <Card size="sm"> - <Heading>NASA Headquarters</Heading> - <Content> - 300 E. Street SW, Suite 5R30<br/> - Washington, DC 20546<br/> - (202) 358-0001 (Office)<br/> - (202) 358-4338 (Fax) - </Content> - </Card> - <Card> - <Heading>NASA Headquarters</Heading> - <Content> - 300 E. Street SW, Suite 5R30<br/> - Washington, DC 20546<br/> - (202) 358-0001 (Office)<br/> - (202) 358-4338 (Fax) - </Content> - </Card> - </Inline> - <Inline> - <Card size="lg"> - <Heading>NASA Headquarters</Heading> - <Content> - 300 E. Street SW, Suite 5R30<br/> - Washington, DC 20546<br/> - (202) 358-0001 (Office)<br/> - (202) 358-4338 (Fax) - </Content> - </Card> - <Card size="xl"> - <Heading>NASA Headquarters</Heading> - <Content> - 300 E. Street SW, Suite 5R30<br/> - Washington, DC 20546<br/> - (202) 358-0001 (Office)<br/> - (202) 358-4338 (Fax) - </Content> - </Card> - </Inline> - </Stack> - </Story> -</Preview> - -### Fluid - -A card can take the width of its container. - -<Preview scope={{ Planet }}> - <Story name="fluid"> - <Card fluid orientation="horizontal"> - <Illustration backgroundColor="primary-weak" width={1280}> - <Image src={Planet} alt="Planet over another one" /> - </Illustration> - <Heading>NASA</Heading> - <Content> - <Paragraph> - 300 E. Street SW, Suite 5R30<br/> - Washington, DC 20546<br/> - (202) 358-0001 (Office)<br/> - (202) 358-4338 (Fax) - </Paragraph> - <Paragraph> - <em>Please note that we are moving from December 12th to December 23rd.</em> - </Paragraph> - </Content> - </Card> - </Story> -</Preview> - -### Tabs - -A card can render any components like [tabs](?path=/story/tabs--default-story). - -<Preview> - <Story name="tabs"> - <Card> - <Heading>NASA</Heading> - <Content> - <Paragraph>The National Aeronautics and Space Administration is an independent agency of the U.S. federal government responsible for the civilian space program, as well as aeronautics and space research.</Paragraph> - <Tabs aria-label="NASA"> - <Item key="vision"> - <Header>Vision</Header> - <Content>We reach for new heights and reveal the unknown for the benefit of humankind</Content> - </Item> - <Item key="mission"> - <Header>Mission</Header> - <Content>Drive advances in science, technology, aeronautics, and space exploration to enhance knowledge, education, innovation, economic vitality and stewardship of Earth</Content> - </Item> - </Tabs> - </Content> - </Card> - </Story> -</Preview> - -## API - -### Card - -<ComponentInfo - usage={"import { Card } from \"@workleap/orbiter-ui\";"} - slots={["image", "illustration", "heading", "header", "content", "button", "button-group"]} - inherits={[InnerCard.defaultElement, "styled-component"]} - compact -/> - -<ArgsTable of={InnerCard} sort="alpha" /> - -### Heading - -<ComponentInfo - usage={"import { Heading } from \"@workleap/orbiter-ui\";"} - inherits={[InnerHeading.defaultElement, "styled-component"]} - compact -/> - -<ArgsTable of={InnerHeading} sort="alpha" /> - -### Header - -<ComponentInfo - usage={"import { Header } from \"@workleap/orbiter-ui\";"} - inherits={[InnerHeader.defaultElement, "styled-component"]} - compact -/> - -<ArgsTable of={InnerHeader} sort="alpha" /> - -### Content - -<ComponentInfo - usage={"import { Content } from \"@workleap/orbiter-ui\";"} - inherits={[InnerContent.defaultElement, "styled-component"]} - compact -/> - -<ArgsTable of={InnerContent} sort="alpha" /> diff --git a/packages/components/src/card/docs/Card.stories.tsx b/packages/components/src/card/docs/Card.stories.tsx new file mode 100644 index 000000000..18743ad1e --- /dev/null +++ b/packages/components/src/card/docs/Card.stories.tsx @@ -0,0 +1,238 @@ +import { Button as OrbiterButton, ButtonGroup } from "@components/button"; +import { Card } from "@components/card"; +import { Content, Header as OrbiterHeader } from "@components/placeholders"; +import { Heading, Paragraph } from "@components/typography"; +import { Illustration as OrbiterIllustration } from "@components/illustration"; +import { Image as OrbiterImage } from "@components/image"; +import { Inline, Stack } from "@components/layout"; +import { Item } from "@components/collection"; +import { Planet, SpaceLandscape } from "./assets"; +import { Tabs as OrbiterTabs } from "@components/tabs"; +import { Meta, StoryObj } from "@storybook/react/*"; + +const meta = { + title: "Components/Card", + component: Card, + id: "card" +} as Meta<typeof Card>; + +export default meta; + +type Story = StoryObj<typeof Card>; + +export const Default: Story = { + render: () => ( + <Card> + <Heading>NASA Headquarters</Heading> + <Content> + <Paragraph>NASA Headquarters, officially known as Mary W. Jackson NASA Headquarters or NASA HQ and formerly named Two Independence Square, is a low-rise office building in the two-building Independence Square complex at 300 E Street SW in Washington, D.C.</Paragraph> + </Content> + </Card> + ) +}; + +export const Elevated: Story = { + render: () => ( + <Card variant="elevated"> + <Heading>NASA Headquarters</Heading> + <Content> + <Paragraph>NASA Headquarters, officially known as Mary W. Jackson NASA Headquarters or NASA HQ and formerly named Two Independence Square, is a low-rise office building in the two-building Independence Square complex at 300 E Street SW in Washington, D.C.</Paragraph> + </Content> + </Card> + ) +}; + +export const Image: Story = { + render: () => ( + <Card> + <OrbiterImage alt="Planet over another one" src={SpaceLandscape} /> + <Heading>NASA Headquarters</Heading> + <Content> + <Paragraph>NASA Headquarters, officially known as Mary W. Jackson NASA Headquarters or NASA HQ and formerly named Two Independence Square, is a low-rise office building in the two-building Independence Square complex at 300 E Street SW in Washington, D.C.</Paragraph> + </Content> + </Card> + ) +}; + +export const Illustration: Story = { + render: () => ( + <Card > + <OrbiterIllustration backgroundColor="primary-weak"> + <OrbiterImage alt="Planet over another one" src={Planet} width="100px" /> + </OrbiterIllustration> + <Heading>NASA Headquarters</Heading> + <Content> + <Paragraph>NASA Headquarters, officially known as Mary W. Jackson NASA Headquarters or NASA HQ and formerly named Two Independence Square, is a low-rise office building in the two-building Independence Square complex at 300 E Street SW in Washington, D.C.</Paragraph> + </Content> + </Card> + ) +}; + +export const Header: Story = { + render: () => ( + <Card> + <Heading>NASA Headquarters</Heading> + <OrbiterHeader>No visitors allowed.</OrbiterHeader> + <Content> + <Paragraph>NASA Headquarters, officially known as Mary W. Jackson NASA Headquarters or NASA HQ and formerly named Two Independence Square, is a low-rise office building in the two-building Independence Square complex at 300 E Street SW in Washington, D.C.</Paragraph> + </Content> + </Card> + ) +}; + +export const Button: Story = { + render: () => ( + <Card> + <Heading>NASA Headquarters</Heading> + <OrbiterHeader>No visitors allowed.</OrbiterHeader> + <Content> + <Paragraph>NASA Headquarters, officially known as Mary W. Jackson NASA Headquarters or NASA HQ and formerly named Two Independence Square, is a low-rise office building in the two-building Independence Square complex at 300 E Street SW in Washington, D.C.</Paragraph> + </Content> + <OrbiterButton variant="secondary">Plan a visit</OrbiterButton> + </Card> + ) +}; + +export const Buttons: Story = { + render: () => ( + <Card> + <Heading>NASA Headquarters</Heading> + <Content> + <Paragraph> + 300 E. Street SW, Suite 5R30<br /> + Washington, DC 20546<br /> + (202) 358-0001 (Office)<br /> + (202) 358-4338 (Fax)<br /> + </Paragraph> + <Paragraph> + <em>Any trespassers are going to be sent in space.</em> + </Paragraph> + </Content> + <ButtonGroup> + <OrbiterButton variant="secondary">Plan a visit</OrbiterButton> + <OrbiterButton variant="secondary">Cancel a booking</OrbiterButton> + </ButtonGroup> + </Card> + ) +}; + +export const Orientation: Story = { + render: () => ( + <Card orientation="horizontal"> + <OrbiterIllustration backgroundColor="primary-weak"> + <OrbiterImage alt="Planet over another one" src={Planet} /> + </OrbiterIllustration> + <Heading>NASA</Heading> + <Content> + <Paragraph> + 300 E. Street SW, Suite 5R30<br /> + Washington, DC 20546<br /> + (202) 358-0001 (Office)<br /> + (202) 358-4338 (Fax) + </Paragraph> + <Paragraph> + <em>Please note that we are moving from December 12th to December 23rd.</em> + </Paragraph> + </Content> + </Card> + ) +}; + +export const Size: Story = { + render: () => ( + <Stack> + <Inline> + <Card size="xs"> + <Heading>NASA Headquarters</Heading> + <Content> + 300 E. Street SW, Suite 5R30<br /> + Washington, DC 20546<br /> + (202) 358-0001 (Office)<br /> + (202) 358-4338 (Fax) + </Content> + </Card> + <Card size="sm"> + <Heading>NASA Headquarters</Heading> + <Content> + 300 E. Street SW, Suite 5R30<br /> + Washington, DC 20546<br /> + (202) 358-0001 (Office)<br /> + (202) 358-4338 (Fax) + </Content> + </Card> + <Card> + <Heading>NASA Headquarters</Heading> + <Content> + 300 E. Street SW, Suite 5R30<br /> + Washington, DC 20546<br /> + (202) 358-0001 (Office)<br /> + (202) 358-4338 (Fax) + </Content> + </Card> + </Inline> + <Inline> + <Card size="lg"> + <Heading>NASA Headquarters</Heading> + <Content> + 300 E. Street SW, Suite 5R30<br /> + Washington, DC 20546<br /> + (202) 358-0001 (Office)<br /> + (202) 358-4338 (Fax) + </Content> + </Card> + <Card size="xl"> + <Heading>NASA Headquarters</Heading> + <Content> + 300 E. Street SW, Suite 5R30<br /> + Washington, DC 20546<br /> + (202) 358-0001 (Office)<br /> + (202) 358-4338 (Fax) + </Content> + </Card> + </Inline> + </Stack> + ) +}; + +export const Fluid: Story = { + render: () => ( + <Card fluid orientation="horizontal"> + <OrbiterIllustration backgroundColor="primary-weak" width={1280}> + <OrbiterImage alt="Planet over another one" src={Planet} /> + </OrbiterIllustration> + <Heading>NASA</Heading> + <Content> + <Paragraph> + 300 E. Street SW, Suite 5R30<br /> + Washington, DC 20546<br /> + (202) 358-0001 (Office)<br /> + (202) 358-4338 (Fax) + </Paragraph> + <Paragraph> + <em>Please note that we are moving from December 12th to December 23rd.</em> + </Paragraph> + </Content> + </Card> + ) +}; + +export const Tabs: Story = { + render: () => ( + <Card> + <Heading>NASA</Heading> + <Content> + <Paragraph>The National Aeronautics and Space Administration is an independent agency of the U.S. federal government responsible for the civilian space program, as well as aeronautics and space research.</Paragraph> + <OrbiterTabs aria-label="NASA"> + <Item key="vision"> + <OrbiterHeader>Vision</OrbiterHeader> + <Content>We reach for new heights and reveal the unknown for the benefit of humankind</Content> + </Item> + <Item key="mission"> + <OrbiterHeader>Mission</OrbiterHeader> + <Content>Drive advances in science, technology, aeronautics, and space exploration to enhance knowledge, education, innovation, economic vitality and stewardship of Earth</Content> + </Item> + </OrbiterTabs> + </Content> + </Card> + ) +}; From 9aac97cefeb405a3c5880404d1118617e3a53119 Mon Sep 17 00:00:00 2001 From: Francis Thibault <francis.thibault@gsoft.com> Date: Thu, 31 Oct 2024 12:52:07 -0400 Subject: [PATCH 12/95] added tag --- packages/components/src/tag/docs/Tag.mdx | 165 ++++++++++ .../components/src/tag/docs/Tag.stories.mdx | 308 ------------------ .../components/src/tag/docs/Tag.stories.tsx | 298 +++++++++++++++++ .../src/tag/docs/TagsPicker.sample.jsx | 101 ------ 4 files changed, 463 insertions(+), 409 deletions(-) create mode 100644 packages/components/src/tag/docs/Tag.mdx delete mode 100644 packages/components/src/tag/docs/Tag.stories.mdx create mode 100644 packages/components/src/tag/docs/Tag.stories.tsx delete mode 100644 packages/components/src/tag/docs/TagsPicker.sample.jsx diff --git a/packages/components/src/tag/docs/Tag.mdx b/packages/components/src/tag/docs/Tag.mdx new file mode 100644 index 000000000..ad0a15161 --- /dev/null +++ b/packages/components/src/tag/docs/Tag.mdx @@ -0,0 +1,165 @@ +import { ArgTypes, Meta, Canvas } from "@storybook/addon-docs"; +import { InnerTag, InnerTagList } from "@components/tag"; +import { ComponentInfo, Preview, Tagline } from "@stories/components"; + +import * as TagStories from "./Tag.stories.tsx"; + +<Meta of={TagStories} /> + +# Tag + +<Tagline>A tag represents a keyword that helps label, organize and categorize content.</Tagline> + +<ComponentInfo + usage={"import { Tag, TagList, Item } from \"@workleap/orbiter-ui\";"} + githubPath="/packages/components/src/tag/src" +/> + +## Guidelines + +### When to use + +- To categorize content allowing the user to quickly skim a list of items. +- To group items together such as a filter list. + +### Content + +- To not rely on an icon to understand the intention of a tag. + +### Accessibility + +- Text should be descriptive enough to be understood without relying on the color. +- Text should be descriptive and complete enough to be understood without relying on the icon. Using an icon to carry information will make it inaccessible. + +### Tag, Lozenge, Button and other alternatives + +- To highlight an item's status for quick recognition or to give additional fast short information such as highlighting a new item, use a [lozenge](?path=/docs/lozenge--default-story). +- For interactivity, a clickable component, use a [button](?path=/docs/button--default-story). Tags shouldn't be used as Buttons. Buttons have a recognizable look throughout the app and should not use a different pattern. +- To display a quantity, use either a [counter](?path=/docs/counter--default-story) or a [badge](?path=/docs/badge--default-story). + +## Usage + +### Default + +A default tag. Use in most situations. + +<Canvas of={TagStories.Default} /> + +### Avatar + +A tag can contain [avatars](?path=/docs/avatar--default-story). An avatar is used when the tag represents a user. + +<Canvas of={TagStories.AvatarStory} /> + +### Icon + +A tag can contain [icons](?path=/docs/icon-gallery--page). An icon is used when it can make it easier for the user to understand the meaning. + +<Canvas of={TagStories.Icon} /> + +### End icon + +*Non standard* end [icons](?path=/docs/icon-gallery--page) can be provided *only if* you have to render a [list of icons](?path=/docs/icon--default-story#icon-list). + +<Canvas of={TagStories.EndIcon} /> + +### Dot + +A tag can contain a [dot](?path=/docs/dot--default-story). Use it to allow the user to quickly skim through a lot of tags. The dot color must have a recognizable meaning. + +<Canvas of={TagStories.DotStory} /> + +### Counter + +A tag can contain a [counter](?path=/docs/counter--default-story). Useful to indicate a number of matches in a filter list. + +<Canvas of={TagStories.CounterStory} /> + +### Removable + +A tag can be removable by specifying an `onRemove` handler. + +<Canvas of={TagStories.Removable} /> + +### Size + +A tag can vary in size. When a lot of tags can be seen side by side, prefer the small size. The tag can be used in small versions to accommodate smaller spaces, such as a column row. When used in a small format, the tag should not contain an icon. + +<Canvas of={TagStories.Size} /> + +### Fluid + +A tag can take the width of its container. + +<Canvas of={TagStories.Fluid} /> + +### Outline + +A tag can have a subtle appearance. Avoid using this variant next to an outline button. + +<Canvas of={TagStories.Outline} /> + +### Validation + +A tag can display a validation state. + +<Canvas of={TagStories.Validation} /> + +### Custom colors + +Custom colors can be applied to a tag. You will be responsible for ensuring that the color contrast is accessible. + +<Canvas of={TagStories.CustomColor} /> + +## Tag list + +Related tags can be grouped. + +<Canvas of={TagStories.TagListStory} /> + +### Clearable + +A tag list can have a clear button. + +<Canvas of={TagStories.TagListClearable} /> + +### Size + +A tag list can vary in size. This will pass the size to its children. + +<Canvas of={TagStories.TagListSize} /> + +### Dynamic items + +A list of tags can be rendered dynamically. + +<Canvas of={TagStories.TagListDynamicItems} /> + +### Tags picker + +The following example shows how a tag list can be composed with one of Orbiter's pickers to build a basic tags picker. + +<Canvas of={TagStories.TagsPicker} /> + +## API + +### Tag + +<ComponentInfo + usage={"import { Tag } from \"@workleap/orbiter-ui\";"} + slots={["text", "icon", "dot", "counter"]} + inherits={[InnerTag.defaultElement, "styled-component"]} + compact +/> + +<ArgTypes of={InnerTag} sort="alpha" /> + +### TagList + +<ComponentInfo + usage={"import { TagList } from \"@workleap/orbiter-ui\";"} + inherits={[InnerTagList.defaultElement, "styled-component"]} + compact +/> + +<ArgTypes of={InnerTagList} sort="alpha" /> diff --git a/packages/components/src/tag/docs/Tag.stories.mdx b/packages/components/src/tag/docs/Tag.stories.mdx deleted file mode 100644 index addcf9e59..000000000 --- a/packages/components/src/tag/docs/Tag.stories.mdx +++ /dev/null @@ -1,308 +0,0 @@ -import { ArgsTable, Meta, Story } from "@storybook/addon-docs"; -import { CatIcon, LightbulbIcon, NotificationIcon, RocketIcon, SparklesIcon } from "@hopper-ui/icons"; -import { ComponentInfo, Preview, Tagline } from "@stories/components"; -import { Counter } from "@components/counter"; -import { Dot } from "@components/dot"; -import { Inline, Stack } from "@components/layout"; -import { InnerTag, InnerTagList, Tag, TagList } from "@components/tag"; -import { Item } from "@components/collection"; -import { Text } from "@components/typography"; -import { Avatar } from "@components/avatar"; - -<Meta - title="Components/Tag" - id="tag" -/> - -# Tag - -<Tagline>A tag represents a keyword that helps label, organize and categorize content.</Tagline> - -<ComponentInfo - usage={"import { Tag, TagList, Item } from \"@workleap/orbiter-ui\";"} - githubPath="/packages/components/src/tag/src" -/> - -## Guidelines - -### When to use - -- To categorize content allowing the user to quickly skim a list of items. -- To group items together such as a filter list. - -### Content - -- To not rely on an icon to understand the intention of a tag. - -### Accessibility - -- Text should be descriptive enough to be understood without relying on the color. -- Text should be descriptive and complete enough to be understood without relying on the icon. Using an icon to carry information will make it inaccessible. - -### Tag, Lozenge, Button and other alternatives - -- To highlight an item's status for quick recognition or to give additional fast short information such as highlighting a new item, use a [lozenge](?path=/docs/lozenge--default-story). -- For interactivity, a clickable component, use a [button](?path=/docs/button--default-story). Tags shouldn't be used as Buttons. Buttons have a recognizable look throughout the app and should not use a different pattern. -- To display a quantity, use either a [counter](?path=/docs/counter--default-story) or a [badge](?path=/docs/badge--default-story). - -## Usage - -### Default - -A default tag. Use in most situations. - -<Preview> - <Story name="default"> - <Tag>Falcon 9</Tag> - </Story> -</Preview> - -### Avatar - -A tag can contain [avatars](?path=/docs/avatar--default-story). An avatar is used when the tag represents a user. - -<Preview> - <Story name="avatar"> - <Tag> - <Avatar name="Alan Shepard" /> - <Text>Alan Shepard</Text> - </Tag> - </Story> -</Preview> - -### Icon - -A tag can contain [icons](?path=/docs/icon-gallery--page). An icon is used when it can make it easier for the user to understand the meaning. - -<Preview> - <Story name="icon"> - <Tag> - <SparklesIcon /> - <Text>Falcon 9</Text> - </Tag> - </Story> -</Preview> - -### End icon - -*Non standard* end [icons](?path=/docs/icon-gallery--page) can be provided *only if* you have to render a [list of icons](?path=/docs/icon--default-story#icon-list). - -<Preview> - <Story name="end icon"> - <Tag> - <Text>Falcon 9</Text> - <IconList slot="end-icon"> - <CatIcon /> - <SparklesIcon /> - <RocketIcon /> - </IconList> - </Tag> - </Story> -</Preview> - -### Dot - -A tag can contain a [dot](?path=/docs/dot--default-story). Use it to allow the user to quickly skim through a lot of tags. The dot color must have a recognizable meaning. - -<Preview> - <Story name="dot"> - <Tag> - <Dot color="--hop-sapphire-600" /> - <Text>Falcon 9</Text> - </Tag> - </Story> -</Preview> - -### Counter - -A tag can contain a [counter](?path=/docs/counter--default-story). Useful to indicate a number of matches in a filter list. - -<Preview> - <Story name="counter"> - <Tag> - <Text>Falcon 9</Text> - <Counter variant="divider">6</Counter> - </Tag> - </Story> -</Preview> - -### Removable - -A tag can be removable by specifying an `onRemove` handler. - -<Preview> - <Story name="removable"> - <Tag onRemove={() => {}}>Falcon 9</Tag> - </Story> -</Preview> - -### Size - -A tag can vary in size. When a lot of tags can be seen side by side, prefer the small size. The tag can be used in small versions to accommodate smaller spaces, such as a column row. When used in a small format, the tag should not contain an icon. - -<Preview> - <Story name="size"> - <Inline alignY="center"> - <Tag size="sm">Falcon 9</Tag> - <Tag>Falcon 9</Tag> - </Inline> - </Story> -</Preview> - -### Fluid - -A tag can take the width of its container. - -<Preview> - <Story name="fluid"> - <Tag fluid> - <SparklesIcon /> - <Text>Falcon 9</Text> - <Counter>6</Counter> - </Tag> - </Story> -</Preview> - -### Outline - -A tag can have a subtle appearance. Avoid using this variant next to an outline button. - -<Preview> - <Story name="outline"> - <Tag variant="outline">Falcon 9</Tag> - </Story> -</Preview> - -### Validation - -A tag can display a validation state. - -<Preview> - <Story name="validation"> - <Inline alignY="end"> - <Tag validationState="invalid" onRemove={() => {}}>Falcon 9</Tag> - </Inline> - </Story> -</Preview> - -### Custom colors - -Custom colors can be applied to a tag. You will be responsible for ensuring that the color contrast is accessible. - -<Preview> - <Story name="custom-color"> - <Tag - style={{ - backgroundColor: "#FFF6E7", - color: "var(--hop-sunken-treasure-800)", - border: "1px solid #FEE9C3" - }} - > - Falcon 9 - </Tag> - </Story> -</Preview> - -## Tag list - -Related tags can be grouped. - -<Preview> - <Story name="tag list"> - <TagList> - <Item key="mercury">Mercury Program</Item> - <Item key="gemini">Gemini Program</Item> - <Item key="apollo">Apollo Program</Item> - <Item key="artemis">Artemis Program</Item> - </TagList> - </Story> -</Preview> - -### Clearable - -A tag list can have a clear button. - -<Preview> - <Story name="tag list clearable"> - <TagList onClear={() => {}}> - <Item key="mercury">Mercury Program</Item> - <Item key="gemini">Gemini Program</Item> - <Item key="apollo">Apollo Program</Item> - <Item key="artemis">Artemis Program</Item> - </TagList> - </Story> -</Preview> - -### Size - -A tag list can vary in size. This will pass the size to its children. - -<Preview> - <Story name="tag list size"> - <Stack> - <TagList size="sm"> - <Item key="mercury">Mercury Program</Item> - <Item key="gemini">Gemini Program</Item> - <Item key="apollo">Apollo Program</Item> - <Item key="artemis">Artemis Program</Item> - </TagList> - <TagList> - <Item key="mercury">Mercury Program</Item> - <Item key="gemini">Gemini Program</Item> - <Item key="apollo">Apollo Program</Item> - <Item key="artemis">Artemis Program</Item> - </TagList> - </Stack> - </Story> -</Preview> - -### Dynamic items - -A list of tags can be rendered dynamically. - -<Preview> - <Story name="tag list dynamic items"> - <TagList> - {[ - { key: "mercury", value: "Mercury Program", icon: <SparklesIcon /> }, - { key: "gemini", value: "Gemini Program" }, - { key: "apollo", value: "Apollo Program", icon: <NotificationIcon /> }, - { key: "artemis", value: "Artemis Program", icon: <LightbulbIcon /> } - ].map(x => ( - <Item key={x.key}> - {x.icon} - <Text>{x.value}</Text> - </Item> - ))} - </TagList> - </Story> -</Preview> - -### Tags picker - -The following example shows how a tag list can be composed with one of Orbiter's pickers to build a basic tags picker. - -<Preview filePath="/tag/docs/TagsPicker" /> - -## API - -### Tag - -<ComponentInfo - usage={"import { Tag } from \"@workleap/orbiter-ui\";"} - slots={["text", "icon", "dot", "counter"]} - inherits={[InnerTag.defaultElement, "styled-component"]} - compact -/> - -<ArgsTable of={InnerTag} sort="alpha" /> - -### TagList - -<ComponentInfo - usage={"import { TagList } from \"@workleap/orbiter-ui\";"} - inherits={[InnerTagList.defaultElement, "styled-component"]} - compact -/> - -<ArgsTable of={InnerTagList} sort="alpha" /> diff --git a/packages/components/src/tag/docs/Tag.stories.tsx b/packages/components/src/tag/docs/Tag.stories.tsx new file mode 100644 index 000000000..07f1c3242 --- /dev/null +++ b/packages/components/src/tag/docs/Tag.stories.tsx @@ -0,0 +1,298 @@ +import { Tag, TagList } from "@components/tag"; +import { CatIcon, LightbulbIcon, MailIcon, NotificationIcon, ReportIcon, RocketIcon, SettingsIcon, SparklesIcon } from "@hopper-ui/icons"; +import { Flex, Inline, Stack } from "@components/layout"; +import { Section, Item } from "@components/collection"; +import { DisclosureArrow } from "@components/disclosure"; +import { Button } from "@components/button"; +import { Counter } from "@components/counter"; +import { Dot } from "@components/dot"; +import { Menu, MenuTrigger } from "@components/menu"; +import { IconList } from "@components/icons"; +import { Text } from "@components/typography"; +import { Avatar } from "@components/avatar"; +import { useCallback, useMemo, useState } from "react"; + +import { Meta, StoryObj } from "@storybook/react"; + +const meta = { + title: "Components/Tag", + component: Tag, + id: "tag" +} as Meta<typeof Tag>; + +export default meta; + +type TagStory = StoryObj<typeof meta>; + +export const Default: TagStory = { + render: () => ( + <Tag>Falcon 9</Tag> + ) +}; + +export const AvatarStory: TagStory = { + render: () => ( + <Tag> + <Avatar name="Alan Shepard" /> + <Text>Alan Shepard</Text> + </Tag> + ) +}; + +export const Icon: TagStory = { + render: () => ( + <Tag> + <SparklesIcon /> + <Text>Falcon 9</Text> + </Tag> + ) +}; + +export const EndIcon: TagStory = { + render: () => ( + <Tag> + <Text>Falcon 9</Text> + <IconList slot="end-icon"> + <CatIcon /> + <SparklesIcon /> + <RocketIcon /> + </IconList> + </Tag> + ) +}; + +export const DotStory: TagStory = { + render: () => ( + <Tag> + <Dot color="--hop-sapphire-600" /> + <Text>Falcon 9</Text> + </Tag> + ) +}; + +export const CounterStory: TagStory = { + render: () => ( + <Tag> + <Text>Falcon 9</Text> + <Counter variant="divider">6</Counter> + </Tag> + ) +}; + +export const Removable: TagStory = { + render: () => ( + <Tag onRemove={() => { }}>Falcon 9</Tag> + ) +}; + +export const Size: TagStory = { + render: () => ( + <Inline alignY="center"> + <Tag size="sm">Falcon 9</Tag> + <Tag>Falcon 9</Tag> + </Inline> + ) +}; + +export const Fluid: TagStory = { + render: () => ( + <Tag fluid> + <SparklesIcon /> + <Text>Falcon 9</Text> + <Counter>6</Counter> + </Tag> + ) +}; + +export const Outline: TagStory = { + render: () => ( + <Tag variant="outline">Falcon 9</Tag> + ) +}; + +export const Validation: TagStory = { + render: () => ( + <Inline alignY="end"> + <Tag onRemove={() => { }} validationState="invalid">Falcon 9</Tag> + </Inline> + ) +}; + +export const CustomColor: TagStory = { + render: () => ( + <Tag + style={{ + backgroundColor: "#FFF6E7", + color: "var(--hop-sunken-treasure-800)", + border: "1px solid #FEE9C3" + }} + > + Falcon 9 + </Tag> + ) +}; + +export const TagListStory: TagStory = { + render: () => ( + <TagList> + <Item key="mercury">Mercury Program</Item> + <Item key="gemini">Gemini Program</Item> + <Item key="apollo">Apollo Program</Item> + <Item key="artemis">Artemis Program</Item> + </TagList> + ) +}; + +export const TagListClearable: TagStory = { + render: () => ( + <TagList onClear={() => { }}> + <Item key="mercury">Mercury Program</Item> + <Item key="gemini">Gemini Program</Item> + <Item key="apollo">Apollo Program</Item> + <Item key="artemis">Artemis Program</Item> + </TagList> + ) +}; + +export const TagListSize: TagStory = { + render: () => ( + <Stack> + <TagList size="sm"> + <Item key="mercury">Mercury Program</Item> + <Item key="gemini">Gemini Program</Item> + <Item key="apollo">Apollo Program</Item> + <Item key="artemis">Artemis Program</Item> + </TagList> + <TagList> + <Item key="mercury">Mercury Program</Item> + <Item key="gemini">Gemini Program</Item> + <Item key="apollo">Apollo Program</Item> + <Item key="artemis">Artemis Program</Item> + </TagList> + </Stack> + ) +}; + +export const TagListDynamicItems: TagStory = { + render: () => ( + <TagList> + {[ + { key: "mercury", value: "Mercury Program", icon: <SparklesIcon /> }, + { key: "gemini", value: "Gemini Program" }, + { key: "apollo", value: "Apollo Program", icon: <NotificationIcon /> }, + { key: "artemis", value: "Artemis Program", icon: <LightbulbIcon /> } + ].map(x => ( + <Item key={x.key}> + {x.icon} + <Text>{x.value}</Text> + </Item> + ))} + </TagList> + ) +}; + +/* eslint-disable react-hooks/rules-of-hooks */ +export const TagsPicker: TagStory = { + render: () => { + const Tags = [ + { + title: "1950", + items: [ + { key: "mercury", value: "Mercury Program", icon: <SparklesIcon /> } + ] + }, + { + title: "1960", + items: [ + { key: "gemini", value: "Gemini Program", icon: <MailIcon /> } + ] + }, + { + title: "1970", + items: [ + { key: "apollo", value: "Apollo Program", icon: <NotificationIcon /> }, + { key: "skylab", value: "Skylab", icon: <ReportIcon /> }, + { key: "soyuz", value: "Apollo–Soyuz Test Project", icon: <SettingsIcon /> } + ] + }, + { + title: "2010", + items: [ + { key: "artemis", value: "Artemis Program", icon: <LightbulbIcon /> } + ] + } + ]; + + function TagsPickerFn() { + const [selectedKeys, setSelectedKeys] = useState([]); + + const handleSelectionChange = useCallback((event, newKeys) => { + setSelectedKeys(newKeys); + }, [setSelectedKeys]); + + const handleRemoveTag = useCallback((event, key) => { + setSelectedKeys(selectedKeys.filter(x => x !== key)); + }, [selectedKeys, setSelectedKeys]); + + const handleClearTags = useCallback(() => { + setSelectedKeys([]); + }, [setSelectedKeys]); + + const denormalizedTags = useMemo(() => + Tags.reduce((acc, x) => { + x.items.forEach(item => { + acc[item.key] = item; + }); + + return acc; + }, {}), []); + + return ( + <Flex> + <MenuTrigger closeOnSelect={false}> + <Button marginRight={80} variant="secondary"> + <Text>{selectedKeys.length > 0 ? "Programs" : "All programs"}</Text> + {selectedKeys.length > 0 && <Counter variant="divider">{selectedKeys.length}</Counter>} + <DisclosureArrow slot="end-icon" /> + </Button> + <Menu + onSelectionChange={handleSelectionChange} + selectedKeys={selectedKeys} + selectionMode="multiple" + > + {Tags.map(x => + <Section key={x.title} title={x.title}> + {x.items.map(y => + <Item key={y.key}> + {y.icon} + <Text>{y.value}</Text> + </Item> + )} + </Section> + )} + </Menu> + </MenuTrigger> + <TagList + onClear={handleClearTags} + onRemove={handleRemoveTag} + > + {selectedKeys.map(x => { + const tag = denormalizedTags[x]; + + return ( + <Item key={tag.key}> + {tag.icon} + <Text>{tag.value}</Text> + </Item> + ); + })} + </TagList> + </Flex> + ); + } + + return ( + <TagsPickerFn /> + ); + } +}; diff --git a/packages/components/src/tag/docs/TagsPicker.sample.jsx b/packages/components/src/tag/docs/TagsPicker.sample.jsx deleted file mode 100644 index d82bed748..000000000 --- a/packages/components/src/tag/docs/TagsPicker.sample.jsx +++ /dev/null @@ -1,101 +0,0 @@ -const Tags = [ - { - title: "1950", - items: [ - { key: "mercury", value: "Mercury Program", icon: <SparklesIcon /> } - ] - }, - { - title: "1960", - items: [ - { key: "gemini", value: "Gemini Program", icon: <MailIcon /> } - ] - }, - { - title: "1970", - items: [ - { key: "apollo", value: "Apollo Program", icon: <NotificationIcon /> }, - { key: "skylab", value: "Skylab", icon: <ReportIcon /> }, - { key: "soyuz", value: "Apollo–Soyuz Test Project", icon: <SettingsIcon /> } - ] - }, - { - title: "2010", - items: [ - { key: "artemis", value: "Artemis Program", icon: <LightbulbIcon /> } - ] - } -]; - -function TagsPicker() { - const [selectedKeys, setSelectedKeys] = useState([]); - - const handleSelectionChange = useCallback((event, newKeys) => { - setSelectedKeys(newKeys); - }, [setSelectedKeys]); - - const handleRemoveTag = useCallback((event, key) => { - setSelectedKeys(selectedKeys.filter(x => x !== key)); - }, [selectedKeys, setSelectedKeys]); - - const handleClearTags = useCallback(() => { - setSelectedKeys([]); - }, [setSelectedKeys]); - - const denormalizedTags = useMemo(() => - Tags.reduce((acc, x) => { - x.items.forEach(item => { - acc[item.key] = item; - }); - - return acc; - }, {}) - , []); - - return ( - <Flex> - <MenuTrigger closeOnSelect={false}> - <Button variant="secondary" marginRight={80}> - <Text>{selectedKeys.length > 0 ? "Programs" : "All programs"}</Text> - {selectedKeys.length > 0 && <Counter variant="divider">{selectedKeys.length}</Counter>} - <DisclosureArrow slot="end-icon" /> - </Button> - <Menu - selectionMode="multiple" - selectedKeys={selectedKeys} - onSelectionChange={handleSelectionChange} - > - {Tags.map(x => - <Section key={x.title} title={x.title}> - {x.items.map(y => - <Item key={y.key}> - {y.icon} - <Text>{y.value}</Text> - </Item> - )} - </Section> - )} - </Menu> - </MenuTrigger> - <TagList - onRemove={handleRemoveTag} - onClear={handleClearTags} - > - {selectedKeys.map(x => { - const tag = denormalizedTags[x]; - - return ( - <Item key={tag.key}> - {tag.icon} - <Text>{tag.value}</Text> - </Item> - ); - })} - </TagList> - </Flex> - ); -} - -render(() => - <TagsPicker /> -); From b4cc78b756f462e9aaba9dab993179af6ba8e33a Mon Sep 17 00:00:00 2001 From: Francis Thibault <francis.thibault@gsoft.com> Date: Thu, 31 Oct 2024 13:57:47 -0400 Subject: [PATCH 13/95] removed unnecessary file --- .../docs/ControlledTextInput.sample.jsx | 16 -- .../docs/EmailValidation.sample.jsx | 19 -- .../src/text-input/docs/TextInput.mdx | 130 +++++++++++++ .../src/text-input/docs/TextInput.stories.mdx | 180 ------------------ .../src/text-input/docs/TextInput.stories.tsx | 129 +++++++++++++ 5 files changed, 259 insertions(+), 215 deletions(-) delete mode 100644 packages/components/src/text-input/docs/ControlledTextInput.sample.jsx delete mode 100644 packages/components/src/text-input/docs/EmailValidation.sample.jsx create mode 100644 packages/components/src/text-input/docs/TextInput.mdx delete mode 100644 packages/components/src/text-input/docs/TextInput.stories.mdx create mode 100644 packages/components/src/text-input/docs/TextInput.stories.tsx diff --git a/packages/components/src/text-input/docs/ControlledTextInput.sample.jsx b/packages/components/src/text-input/docs/ControlledTextInput.sample.jsx deleted file mode 100644 index 6b1f606f8..000000000 --- a/packages/components/src/text-input/docs/ControlledTextInput.sample.jsx +++ /dev/null @@ -1,16 +0,0 @@ -() => { - const [value, setValue] = useState(""); - - const handleValueChange = useCallback((event, newValue) => { - setValue(newValue); - console.log(newValue); - }, [setValue]); - - return ( - <TextInput - value={value} - onValueChange={handleValueChange} - placeholder="Where to?" - /> - ); -}; diff --git a/packages/components/src/text-input/docs/EmailValidation.sample.jsx b/packages/components/src/text-input/docs/EmailValidation.sample.jsx deleted file mode 100644 index 01e4cc542..000000000 --- a/packages/components/src/text-input/docs/EmailValidation.sample.jsx +++ /dev/null @@ -1,19 +0,0 @@ -() => { - const [value, setValue] = useState("me@spacex.com"); - - const handleValueChange = useCallback(event => { - setValue(event.target.value); - console.log(event.target.value); - }, [setValue]); - - const isValid = useMemo(() => /^\w+([.-]?\w+)*@\w+([.-]?\w+)*(\.\w{2,3})+$/.test(value), [value]); - - return ( - <TextInput - validationState={isValid ? "valid" : "invalid"} - placeholder="Enter your email" - value={value} - onValueChange={handleValueChange} - /> - ); -}; diff --git a/packages/components/src/text-input/docs/TextInput.mdx b/packages/components/src/text-input/docs/TextInput.mdx new file mode 100644 index 000000000..76fa74364 --- /dev/null +++ b/packages/components/src/text-input/docs/TextInput.mdx @@ -0,0 +1,130 @@ +import { ArgTypes, Meta, Canvas } from "@storybook/addon-docs"; +import { ComponentInfo, Preview, Tagline } from "@stories/components"; +import { InnerPasswordInput, InnerSearchInput, InnerTextInput } from "@components/text-input"; + +import * as TextInputstories from "./TextInput.stories.tsx"; + +<Meta of={TextInputstories} /> + +# TextInput + +<Tagline>A text input allow a user to enter and edit a text.</Tagline> + +<ComponentInfo + usage={"import { TextInput, SearchInput, PasswordInput } from \"@workleap/orbiter-ui\";"} + githubPath="/packages/components/src/text-input/src" +/> + +## Usage + +### Default + +A default text input. + +<Canvas of={TextInputstories.Default} /> + +### Value + +A text input can have a value. + +<Canvas of={TextInputstories.Value} /> + +### Icon + +A text input can contain an [icon](?path=/docs/icon-gallery--page). + +<Canvas of={TextInputstories.IconStory} /> + +### Button + +A text input can contain a [button](?path=/docs/button--default-story). + +<Canvas of={TextInputstories.ButtonStory} /> + +### Disabled + +A text input can be disabled. + +<Canvas of={TextInputstories.Disabled} /> + +### Readonly + +A text input can be readonly. + +<Canvas of={TextInputstories.Readonly} /> + +### Loading + +A text input can show that it is currently loading data. + +<Canvas of={TextInputstories.Loading} /> + +### Size + +A text input can vary in size. + +<Canvas of={TextInputstories.Size} /> + +### Fluid + +A text input can take the width of its container. + +<Canvas of={TextInputstories.Fluid} /> + +### Validation + +A text input can display a validation state to communicate to the user whether the current value is valid or invalid. Implement your own validation logic in your app and pass either `"valid"` or `"invalid"` to the input via the `validationState` prop. + +The example below illustrates how one would validate if the user has entered a valid email. + +<Canvas of={TextInputstories.EmailValidation} /> + +### Controlled + +A text input `value` can be handled in controlled mode. + +<Canvas of={TextInputstories.Controlled} /> + +## SearchInput + +A specialized text input for [search input](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/search). + +<Canvas of={TextInputstories.Search} /> + +## PasswordInput + +A specialized text input which show / hide a password. + +<Canvas of={TextInputstories.Password} /> + +## API + +### TextInput + +<ComponentInfo + usage={"import { TextInput } from \"@workleap/orbiter-ui\";"} + inherits={[InnerTextInput.defaultElement, "styled-component"]} + compact +/> + +<ArgTypes of={InnerTextInput} sort="alpha" /> + +### SearchInput + +<ComponentInfo + usage={"import { SearchInput } from \"@workleap/orbiter-ui\";"} + inherits={[InnerSearchInput.defaultElement, "styled-component"]} + compact +/> + +<ArgTypes of={InnerSearchInput} sort="alpha" /> + +### PasswordInput + +<ComponentInfo + usage={"import { PasswordInput } from \"@workleap/orbiter-ui\";"} + inherits={[InnerPasswordInput.defaultElement, "styled-component"]} + compact +/> + +<ArgTypes of={InnerPasswordInput} sort="alpha" /> diff --git a/packages/components/src/text-input/docs/TextInput.stories.mdx b/packages/components/src/text-input/docs/TextInput.stories.mdx deleted file mode 100644 index f7405ba07..000000000 --- a/packages/components/src/text-input/docs/TextInput.stories.mdx +++ /dev/null @@ -1,180 +0,0 @@ -import { ArgsTable, Meta, Story } from "@storybook/addon-docs"; -import { ComponentInfo, Preview, Tagline } from "@stories/components"; -import { CrossButton } from "@components/button"; -import { EditIcon } from "@hopper-ui/icons"; -import { InnerPasswordInput, InnerSearchInput, InnerTextInput, PasswordInput, SearchInput, TextInput } from "@components/text-input"; - -<Meta - title="Components/TextInput" - id="text-input" -/> - -# TextInput - -<Tagline>A text input allow a user to enter and edit a text.</Tagline> - -<ComponentInfo - usage={"import { TextInput, SearchInput, PasswordInput } from \"@workleap/orbiter-ui\";"} - githubPath="/packages/components/src/text-input/src" -/> - -## Usage - -### Default - -A default text input. - -<Preview> - <Story name="default"> - <TextInput placeholder="Where to?" /> - </Story> -</Preview> - -### Value - -A text input can have a value. - -<Preview> - <Story name="value"> - <TextInput defaultValue="Deep space" placeholder="Where to?" /> - </Story> -</Preview> - -### Icon - -A text input can contain an [icon](?path=/docs/icon-gallery--page). - -<Preview> - <Story name="icon"> - <TextInput icon={<EditIcon />} placeholder="Where to?" /> - </Story> -</Preview> - -### Button - -A text input can contain a [button](?path=/docs/button--default-story). - -<Preview> - <Story name="button"> - <TextInput button={<CrossButton aria-label="Clear value" />} placeholder="Where to?" /> - </Story> -</Preview> - -### Disabled - -A text input can be disabled. - -<Preview> - <Story name="disabled"> - <TextInput disabled placeholder="Where to?" /> - </Story> -</Preview> - -### Readonly - -A text input can be readonly. - -<Preview> - <Story name="readonly"> - <TextInput readOnly defaultValue="Deep space" placeholder="Where to?" /> - </Story> -</Preview> - -### Loading - -A text input can show that it is currently loading data. - -<Preview> - <Story name="loading"> - <TextInput loading placeholder="Where to?" /> - </Story> -</Preview> - -### Size - -A text input can vary in size. - -<Preview> - <Story name="size"> - <Inline alignY="center"> - <TextInput placeholder="Where to?" size="sm" /> - <TextInput placeholder="Where to?" /> - </Inline> - </Story> -</Preview> - -### Fluid - -A text input can take the width of its container. - -<Preview> - <Story name="fluid"> - <TextInput fluid placeholder="Where to?" /> - </Story> -</Preview> - -### Validation - -A text input can display a validation state to communicate to the user whether the current value is valid or invalid. Implement your own validation logic in your app and pass either `"valid"` or `"invalid"` to the input via the `validationState` prop. - -The example below illustrates how one would validate if the user has entered a valid email. - -<Preview filePath="/text-input/docs/EmailValidation" /> - -### Controlled - -A text input `value` can be handled in controlled mode. - -<Preview filePath="/text-input/docs/ControlledTextInput" /> - -## SearchInput - -A specialized text input for [search input](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/search). - -<Preview> - <Story name="search"> - <SearchInput placeholder="Where to?" /> - </Story> -</Preview> - -## PasswordInput - -A specialized text input which show / hide a password. - -<Preview> - <Story name="password"> - <PasswordInput validationState="invalid" placeholder="What's your secret?" /> - </Story> -</Preview> - -## API - -### TextInput - -<ComponentInfo - usage={"import { TextInput } from \"@workleap/orbiter-ui\";"} - inherits={[InnerTextInput.defaultElement, "styled-component"]} - compact -/> - -<ArgsTable of={InnerTextInput} sort="alpha" /> - -### SearchInput - -<ComponentInfo - usage={"import { SearchInput } from \"@workleap/orbiter-ui\";"} - inherits={[InnerSearchInput.defaultElement, "styled-component"]} - compact -/> - -<ArgsTable of={InnerSearchInput} sort="alpha" /> - -### PasswordInput - -<ComponentInfo - usage={"import { PasswordInput } from \"@workleap/orbiter-ui\";"} - inherits={[InnerPasswordInput.defaultElement, "styled-component"]} - compact -/> - -<ArgsTable of={InnerPasswordInput} sort="alpha" /> diff --git a/packages/components/src/text-input/docs/TextInput.stories.tsx b/packages/components/src/text-input/docs/TextInput.stories.tsx new file mode 100644 index 000000000..1111b444e --- /dev/null +++ b/packages/components/src/text-input/docs/TextInput.stories.tsx @@ -0,0 +1,129 @@ +import { TextInput, PasswordInput, SearchInput } from "@components/text-input"; +import { EditIcon } from "@hopper-ui/icons"; +import { CrossButton } from "@components/button"; +import { Inline } from "@components/layout"; +import { useCallback, useMemo, useState } from "react"; + +import { Meta, StoryObj } from "@storybook/react"; + +const meta = { + title: "Components/TextInput", + component: TextInput, + id: "TextInput" +} as Meta<typeof TextInput>; + +export default meta; + +type TextInputStory = StoryObj<typeof meta>; + +export const Default: TextInputStory = { + render: () => ( + <TextInput placeholder="Where to?" /> + ) +}; + +export const Value: TextInputStory = { + render: () => ( + <TextInput defaultValue="Deep space" placeholder="Where to?" /> + ) +}; + +export const IconStory: TextInputStory = { + render: () => ( + <TextInput icon={<EditIcon />} placeholder="Where to?" /> + ) +}; + +export const ButtonStory: TextInputStory = { + render: () => ( + <TextInput button={<CrossButton aria-label="Clear value" />} placeholder="Where to?" /> + ) +}; + +export const Disabled: TextInputStory = { + render: () => ( + <TextInput disabled placeholder="Where to?" /> + ) +}; + +export const Readonly: TextInputStory = { + render: () => ( + <TextInput defaultValue="Deep space" placeholder="Where to?" readOnly /> + ) +}; + +export const Loading: TextInputStory = { + render: () => ( + <TextInput loading placeholder="Where to?" /> + ) +}; + +export const Size: TextInputStory = { + render: () => ( + <Inline alignY="center"> + <TextInput placeholder="Where to?" size="sm" /> + <TextInput placeholder="Where to?" /> + </Inline> + ) +}; + +export const Fluid: TextInputStory = { + render: () => ( + <TextInput fluid placeholder="Where to?" /> + ) +}; + +export const Search: TextInputStory = { + render: () => ( + <SearchInput placeholder="Where to?" /> + ) +}; + +export const Password: TextInputStory = { + render: () => ( + <PasswordInput placeholder="What's your secret?" validationState="invalid" /> + ) +}; + +/* eslint-disable react-hooks/rules-of-hooks */ +export const EmailValidation: TextInputStory = { + render: () => { + const [value, setValue] = useState("me@spacex.com"); + + const handleValueChange = useCallback(event => { + setValue(event.target.value); + console.log(event.target.value); + }, [setValue]); + + const isValid = useMemo(() => /^\w+([.-]?\w+)*@\w+([.-]?\w+)*(\.\w{2,3})+$/.test(value), [value]); + + return ( + <TextInput + onValueChange={handleValueChange} + placeholder="Enter your email" + validationState={isValid ? "valid" : "invalid"} + value={value} + /> + ); + } +}; + +/* eslint-disable react-hooks/rules-of-hooks */ +export const Controlled: TextInputStory = { + render: () => { + const [value, setValue] = useState(""); + + const handleValueChange = useCallback((event, newValue) => { + setValue(newValue); + console.log(newValue); + }, [setValue]); + + return ( + <TextInput + onValueChange={handleValueChange} + placeholder="Where to?" + value={value} + /> + ); + } +}; From f12f4f78d7b87e45cf5bc571a5036eea3592f4a5 Mon Sep 17 00:00:00 2001 From: Victor Trinh <victor.trinh@gsoft.com> Date: Thu, 31 Oct 2024 14:14:26 -0400 Subject: [PATCH 14/95] Form --- .../components/src/card/docs/Card.stories.tsx | 2 +- packages/components/src/form/docs/Form.mdx | 100 ++++++++ .../{Form.stories.mdx => Form.stories.tsx} | 228 +++++++++--------- .../src/form/docs/RegistrationForm.sample.jsx | 60 ----- 4 files changed, 211 insertions(+), 179 deletions(-) create mode 100644 packages/components/src/form/docs/Form.mdx rename packages/components/src/form/docs/{Form.stories.mdx => Form.stories.tsx} (62%) delete mode 100644 packages/components/src/form/docs/RegistrationForm.sample.jsx diff --git a/packages/components/src/card/docs/Card.stories.tsx b/packages/components/src/card/docs/Card.stories.tsx index 18743ad1e..da11e15da 100644 --- a/packages/components/src/card/docs/Card.stories.tsx +++ b/packages/components/src/card/docs/Card.stories.tsx @@ -8,7 +8,7 @@ import { Inline, Stack } from "@components/layout"; import { Item } from "@components/collection"; import { Planet, SpaceLandscape } from "./assets"; import { Tabs as OrbiterTabs } from "@components/tabs"; -import { Meta, StoryObj } from "@storybook/react/*"; +import { Meta, StoryObj } from "@storybook/react"; const meta = { title: "Components/Card", diff --git a/packages/components/src/form/docs/Form.mdx b/packages/components/src/form/docs/Form.mdx new file mode 100644 index 000000000..1a20301a3 --- /dev/null +++ b/packages/components/src/form/docs/Form.mdx @@ -0,0 +1,100 @@ +import { ArgTypes, Canvas, Meta, Story } from "@storybook/addon-docs"; +import { Button, ButtonGroup } from "@components/button"; +import { Checkbox } from "@components/checkbox"; +import { ComponentInfo, Preview, Tagline } from "@stories/components"; +import { Field, HelpMessage, Label } from "@components/field"; +import { Fieldset, Form, InnerFieldset, InnerForm } from "@components/form"; +import { Flex, Grid, Inline, repeat } from "@components/layout"; +import * as FormStories from "./Form.stories.tsx"; + +<Meta of={FormStories} /> + +# Form + +<Tagline>Forms are commonly used to provide user interaction in web applications.</Tagline> + +<ComponentInfo + usage={"import { Form, Fieldset, FormContext, useFormField, useFormButton } from \"@workleap/orbiter-ui\";"} + githubPath="/packages/components/src/form/src" +/> + +## Guidelines + +### Accessibility + +- When combined with [field](?path=/story/field--input) components, a form component follows the [WAI specifications for forms](https://www.w3.org/WAI/tutorials/forms/). + +## Usage + +In additional to wrapping a form element, a form component provide layout for fields and buttons. + +> To apply the layout correctly, every inputs must be wrapped in a field component. + +### Vertical layout + +A form can stack fields vertically. + +<Canvas of={FormStories.VerticalLayout} /> + +### Inline layout + +Multiple form fields can be inlined on the same row either with a [flex](?path=/docs/flex--horizontal) component: + +<Canvas of={FormStories.InlineLayoutFlex} /> + +Or a [grid](?path=/docs/grid--areas) component: + +<Canvas of={FormStories.InlineLayoutGrid} /> + +### Fieldset + +Form fields can be grouped together within fieldsets. + +<Canvas of={FormStories.Fieldset} /> + +### Fluid + +Form fields can take the witdh of their container. + +<Canvas of={FormStories.Fluid} /> + +### Disabled + +Form fields and buttons can be disabled. + +<Canvas of={FormStories.Disabled} /> + +### Button alignment + +Form buttons can be aligned horizontally. + +<Canvas of={FormStories.ButtonAlignment} /> + +### Formik + +The form state and validation could be managed by an external library like [Formik](https://formik.org/). + +<Canvas of={FormStories.Formik} /> + +## API + +### Form + +<ComponentInfo + usage={"import { Form } from \"@workleap/orbiter-ui\";"} + inherits={[InnerForm.defaultElement, "styled-component"]} + compact +/> + +<ArgTypes of={InnerForm} sort="alpha" /> + +### Fieldset + +<ComponentInfo + usage={"import { Fieldset } from \"@workleap/orbiter-ui\";"} + inherits={[InnerFieldset.defaultElement, "styled-component"]} + compact +/> + +<ArgTypes of={InnerFieldset} sort="alpha" /> + diff --git a/packages/components/src/form/docs/Form.stories.mdx b/packages/components/src/form/docs/Form.stories.tsx similarity index 62% rename from packages/components/src/form/docs/Form.stories.mdx rename to packages/components/src/form/docs/Form.stories.tsx index 39a01d1fd..0869368e2 100644 --- a/packages/components/src/form/docs/Form.stories.mdx +++ b/packages/components/src/form/docs/Form.stories.tsx @@ -1,44 +1,24 @@ -import { ArgsTable, Meta, Story } from "@storybook/addon-docs"; import { Button, ButtonGroup } from "@components/button"; import { Checkbox } from "@components/checkbox"; -import { ComponentInfo, Preview, Tagline } from "@stories/components"; -import { Field, HelpMessage, Label } from "@components/field"; -import { Fieldset, Form, InnerFieldset, InnerForm } from "@components/form"; +import { ErrorMessage, Field, HelpMessage, Label } from "@components/field"; +import { Fieldset as OrbiterFieldset, Form } from "@components/form"; import { Flex, Grid, Inline, repeat } from "@components/layout"; import { PasswordInput, TextInput } from "@components/text-input"; +import { Meta, StoryObj } from "@storybook/react"; +import { useFormik } from "formik"; -<Meta - title="Components/Form" - id="form" -/> +const meta = { + title: "Components/Form", + component: Form, + id: "form" +} as Meta<typeof Form>; -# Form +export default meta; -<Tagline>Forms are commonly used to provide user interaction in web applications.</Tagline> +type Story = StoryObj<typeof Form>; -<ComponentInfo - usage={"import { Form, Fieldset, FormContext, useFormField, useFormButton } from \"@workleap/orbiter-ui\";"} - githubPath="/packages/components/src/form/src" -/> - -## Guidelines - -### Accessibility - -- When combined with [field](?path=/story/field--input) components, a form component follows the [WAI specifications for forms](https://www.w3.org/WAI/tutorials/forms/). - -## Usage - -In additional to wrapping a form element, a form component provide layout for fields and buttons. - -> To apply the layout correctly, every inputs must be wrapped in a field component. - -### Vertical layout - -A form can stack fields vertically. - -<Preview> - <Story name="vertical layout"> +export const VerticalLayout: Story = { + render: () => ( <Form> <Field required> <Label>Username</Label> @@ -54,15 +34,11 @@ A form can stack fields vertically. </Field> <Button type="submit" variant="secondary">Login</Button> </Form> - </Story> -</Preview> - -### Inline layout + ) +}; -Multiple form fields can be inlined on the same row either with a [flex](?path=/docs/flex--horizontal) component: - -<Preview> - <Story name="inline layout flex"> +export const InlineLayoutFlex: Story = { + render: () => ( <Form fluid> <Inline> <Field> @@ -97,13 +73,11 @@ Multiple form fields can be inlined on the same row either with a [flex](?path=/ </Field> <Button type="submit" variant="secondary">Submit</Button> </Form> - </Story> -</Preview> - -Or a [grid](?path=/docs/grid--areas) component: + ) +}; -<Preview> - <Story name="inline layout grid"> +export const InlineLayoutGrid: Story = { + render: () => ( <Form fluid> <Grid templateColumns={{ base: "1fr", md: repeat(3, "1fr") }}> <Field> @@ -138,19 +112,15 @@ Or a [grid](?path=/docs/grid--areas) component: </Field> <Button type="submit" variant="secondary">Submit</Button> </Form> - </Story> -</Preview> - -### Fieldset + ) +}; -Form fields can be grouped together within fieldsets. - -<Preview> - <Story name="fieldset"> +export const Fieldset: Story = { + render: () => ( <Form> - <Fieldset label="Shipping Address"> + <OrbiterFieldset label="Shipping Address"> <Flex - flexDirection={{ + direction={{ base: "column", sm: "row" }} @@ -165,7 +135,7 @@ Form fields can be grouped together within fieldsets. </Field> </Flex> <Flex - flexDirection={{ + direction={{ base: "column", sm: "row" }} @@ -183,10 +153,10 @@ Form fields can be grouped together within fieldsets. <Label>Postal code</Label> <TextInput /> </Field> - </Fieldset> - <Fieldset label="Billing Address"> + </OrbiterFieldset> + <OrbiterFieldset label="Billing Address"> <Flex - flexDirection={{ + direction={{ base: "column", sm: "row" }} @@ -201,7 +171,7 @@ Form fields can be grouped together within fieldsets. </Field> </Flex> <Flex - flexDirection={{ + direction={{ base: "column", sm: "row" }} @@ -219,18 +189,14 @@ Form fields can be grouped together within fieldsets. <Label>Postal code</Label> <TextInput /> </Field> - </Fieldset> + </OrbiterFieldset> <Button variant="secondary">Submit</Button> </Form> - </Story> -</Preview> - -### Fluid + ) +}; -Form fields can take the witdh of their container. - -<Preview> - <Story name="fluid"> +export const Fluid: Story = { + render: () => ( <Form fluid> <Field> <Label>Where to?</Label> @@ -238,15 +204,11 @@ Form fields can take the witdh of their container. </Field> <Button variant="secondary">Submit</Button> </Form> - </Story> -</Preview> - -### Disabled - -Form fields and buttons can be disabled. + ) +}; -<Preview> - <Story name="disabled"> +export const Disabled: Story = { + render: () => ( <Form disabled> <Field> <Label>Where to?</Label> @@ -254,15 +216,11 @@ Form fields and buttons can be disabled. </Field> <Button variant="secondary">Submit</Button> </Form> - </Story> -</Preview> - -### Button alignment - -Form buttons can be aligned horizontally. + ) +}; -<Preview> - <Story name="button alignment"> +export const ButtonAlignment: Story = { + render: () => ( <Inline gap={480}> <Form> <Field> @@ -284,34 +242,68 @@ Form buttons can be aligned horizontally. </ButtonGroup> </Form> </Inline> - </Story> -</Preview> - -### Formik - -The form state and validation could be managed by an external library like [Formik](https://formik.org/). - -<Preview filePath="/form/docs/RegistrationForm" /> - -## API - -### Form - -<ComponentInfo - usage={"import { Form } from \"@workleap/orbiter-ui\";"} - inherits={[InnerForm.defaultElement, "styled-component"]} - compact -/> - -<ArgsTable of={InnerForm} sort="alpha" /> - -### Fieldset - -<ComponentInfo - usage={"import { Fieldset } from \"@workleap/orbiter-ui\";"} - inherits={[InnerFieldset.defaultElement, "styled-component"]} - compact -/> - -<ArgsTable of={InnerFieldset} sort="alpha" /> - + ) +}; + +export const Formik: Story = { + render: () => { + const formik = useFormik({ + initialValues: { + firstName: "", + lastName: "", + userName: "", + agreeTerms: false + }, + validate: values => { + return Object.keys(values).reduce((acc, x) => { + if (!values[x]) { + acc[x] = `${x} is required.`; + } + + return acc; + }, {}); + }, + onSubmit: (values, actions) => { + setTimeout(() => { + console.log(JSON.stringify(values, null, 2)); + + actions.setSubmitting(false); + actions.resetForm(); + }, 10000); + } + }); + + const getValidationState = fieldId => { + return formik.touched[fieldId] + ? formik.errors[fieldId] ? "invalid" : "valid" + : null; + }; + + return ( + <Form onSubmit={formik.handleSubmit} > + <Field id="firstName" validationState={getValidationState("firstName")}> + <Label required>First name</Label> + <TextInput onChange={event => { console.log(event.target.value); formik.handleChange(event); }} value={formik.values.firstName} /> + <ErrorMessage>{formik.errors.firstName}</ErrorMessage> + </Field> + <Field id="lastName" validationState={getValidationState("lastName")}> + <Label required>Last name</Label> + <TextInput onChange={formik.handleChange} value={formik.values.lastName} /> + <ErrorMessage>{formik.errors.lastName}</ErrorMessage> + </Field> + <Field id="userName" validationState={getValidationState("userName")}> + <Label required>Username</Label> + <TextInput onChange={formik.handleChange} value={formik.values.userName} /> + <ErrorMessage>{formik.errors.userName}</ErrorMessage> + </Field> + <Field id="agreeTerms" validationState={getValidationState("agreeTerms")} > + <Checkbox checked={formik.values.agreeTerms} onChange={formik.handleChange}>Agree to terms and conditions</Checkbox> + </Field> + <ButtonGroup align="end"> + <Button onClick={() => formik.resetForm()} variant="secondary">Reset</Button> + <Button loading={formik.isSubmitting} type="submit">Submit</Button> + </ButtonGroup> + </Form > + ); + } +}; diff --git a/packages/components/src/form/docs/RegistrationForm.sample.jsx b/packages/components/src/form/docs/RegistrationForm.sample.jsx deleted file mode 100644 index 27bac9962..000000000 --- a/packages/components/src/form/docs/RegistrationForm.sample.jsx +++ /dev/null @@ -1,60 +0,0 @@ -() => { - const formik = useFormik({ - initialValues: { - firstName: "", - lastName: "", - userName: "", - agreeTerms: false - }, - validate: values => { - return Object.keys(values).reduce((acc, x) => { - if (!values[x]) { - acc[x] = `${x} is required.`; - } - - return acc; - }, {}); - }, - onSubmit: (values, actions) => { - setTimeout(() => { - console.log(JSON.stringify(values, null, 2)); - - actions.setSubmitting(false); - actions.resetForm(); - }, 10000); - } - }); - - const getValidationState = fieldId => { - return formik.touched[fieldId] - ? formik.errors[fieldId] ? "invalid" : "valid" - : null; - }; - - return ( - <Form onSubmit={formik.handleSubmit}> - <Field id="firstName" validationState={getValidationState("firstName")}> - <Label required>First name</Label> - <TextInput onChange={event => { console.log(event.target.value); formik.handleChange(event); }} value={formik.values.firstName} /> - <ErrorMessage>{formik.errors.firstName}</ErrorMessage> - </Field> - <Field id="lastName" validationState={getValidationState("lastName")}> - <Label required>Last name</Label> - <TextInput onChange={formik.handleChange} value={formik.values.lastName} /> - <ErrorMessage>{formik.errors.lastName}</ErrorMessage> - </Field> - <Field id="userName" validationState={getValidationState("userName")}> - <Label required>Username</Label> - <TextInput onChange={formik.handleChange} value={formik.values.userName} /> - <ErrorMessage>{formik.errors.userName}</ErrorMessage> - </Field> - <Field id="agreeTerms" validationState={getValidationState("agreeTerms")} > - <Checkbox onChange={formik.handleChange} checked={formik.values.agreeTerms}>Agree to terms and conditions</Checkbox> - </Field> - <ButtonGroup align="end"> - <Button variant="secondary" onClick={formik.resetForm}>Reset</Button> - <Button loading={formik.isSubmitting} type="submit">Submit</Button> - </ButtonGroup> - </Form> - ); -}; From 2561cf1ac1e76bcab7597cf2c2267e4ae3de8c4b Mon Sep 17 00:00:00 2001 From: Victor Trinh <victor.trinh@gsoft.com> Date: Thu, 31 Oct 2024 14:44:25 -0400 Subject: [PATCH 15/95] Link --- .../link/docs/{Link.stories.mdx => Link.mdx} | 124 +++-------------- .../components/src/link/docs/Link.stories.tsx | 130 ++++++++++++++++++ .../src/link/docs/ReactRouter.sample.jsx | 7 - .../components/src/link/docs/RouterLink.jsx | 16 +-- 4 files changed, 157 insertions(+), 120 deletions(-) rename packages/components/src/link/docs/{Link.stories.mdx => Link.mdx} (53%) create mode 100644 packages/components/src/link/docs/Link.stories.tsx delete mode 100644 packages/components/src/link/docs/ReactRouter.sample.jsx diff --git a/packages/components/src/link/docs/Link.stories.mdx b/packages/components/src/link/docs/Link.mdx similarity index 53% rename from packages/components/src/link/docs/Link.stories.mdx rename to packages/components/src/link/docs/Link.mdx index 86f3d76c9..d0b83515f 100644 --- a/packages/components/src/link/docs/Link.stories.mdx +++ b/packages/components/src/link/docs/Link.mdx @@ -1,5 +1,5 @@ import { SparklesIcon } from "@hopper-ui/icons"; -import { ArgsTable, Meta, Story } from "@storybook/addon-docs"; +import { ArgTypes, Canvas, Meta, Story } from "@storybook/addon-docs"; import { ComponentInfo, Preview, Tagline } from "@stories/components"; import { GalaxyLargeImage } from "./assets"; import { IconLink, IconLinkAsButton, InnerIconLink, InnerLink, InnerTextLink, Link, TextLink, TextLinkAsButton } from "@components/link"; @@ -7,11 +7,9 @@ import { Image } from "@components/image"; import { Inline } from "@components/layout"; import { RouterLink } from "./RouterLink"; import { Text } from "@components/typography"; +import * as LinkStories from "./Link.stories.tsx"; -<Meta - title="Components/Link" - id="link" -/> +<Meta of={LinkStories} /> # Link @@ -27,43 +25,19 @@ import { Text } from "@components/typography"; A link style can optimized for text. -<Preview> - <Story name="default"> - <TextLink href="#">Flight details</TextLink> - </Story> -</Preview> +<Canvas of={LinkStories.Default} /> ### Icon A text link can contain [icons](#). -<Preview> - <Story name="icon"> - <Inline alignY="center"> - <TextLink size="sm" href="#"> - <Text>Flight details</Text> - <SparklesIcon /> - </TextLink> - <TextLink href="#"> - <Text>Flight details</Text> - <SparklesIcon /> - </TextLink> - </Inline> - </Story> -</Preview> +<Canvas of={LinkStories.Icon} /> ### Start icon *Non standard* start [icons](#) can be provided to handle special cases. However, think twice before adding *start* icons, *end* icons should be your go to. -<Preview> - <Story name="start icon"> - <TextLink href="#"> - <SparklesIcon slot="start-icon" /> - <Text>Flight details</Text> - </TextLink> - </Story> -</Preview> +<Canvas of={LinkStories.StartIcon} /> ### External @@ -71,63 +45,37 @@ An external text link will render by default with `rel="noopener noreferrer"` at You should avoid opening an external link in a new window or tab since it can be disorienting for people. Only do it when it's necessary. For more information, [see W3C recommendation](https://www.w3.org/TR/WCAG20-TECHS/G200.html). -<Preview> - <Story name="external"> - <TextLink external href="#">Flight details</TextLink> - </Story> -</Preview> +<Canvas of={LinkStories.External} /> ### Variants A link can use a different style. -<Preview> - <Story name="variants"> - <Inline> - <TextLink variant="accent" href="#">Accent</TextLink> - <TextLink variant="negative" href="#">Negative</TextLink> - </Inline> - </Story> -</Preview> +<Canvas of={LinkStories.Variants} /> ### Disabled A link can have *disabled* style, it's your responsability to make sure the link doesn't navigate anywhere when activated. -<Preview> - <Story name="disabled"> - <TextLink disabled href="#">Flight details</TextLink> - </Story> -</Preview> +<Canvas of={LinkStories.Disabled} /> ### Size A link can vary in size. -<Preview> - <Story name="size"> - <Inline alignY="center"> - <TextLink size="sm" href="#">Flight details</TextLink> - <TextLink href="#">Flight details</TextLink> - </Inline> - </Story> -</Preview> +<Canvas of={LinkStories.Size} /> ### Button A link can behave like a button by using the `TextLinkAsButton` component. -<Preview> - <Story name="button"> - <TextLinkAsButton>Flight details</TextLinkAsButton> - </Story> -</Preview> +<Canvas of={LinkStories.Button} /> ### React router To integrate with a third-party routing library like [React Router](https://reactrouter.com) any link component can be rendered as a [React Router Link](https://reactrouter.com/web/api/Link) or as any other custom component. -<Preview filePath="/link/docs/ReactRouter" scope={{ RouterLink }} /> +<Canvas of={LinkStories.ReactRouter} /> ## Icon link @@ -135,23 +83,13 @@ A link content can be a single icon. > When using this variant, an accessible name must be provided through `aria-label` prop. See [WCAG practices](https://www.w3.org/TR/WCAG20-TECHS/ARIA6.html). -<Preview> - <Story name="icon link"> - <Inline alignY="center"> - <IconLink aria-label="Add" href="#"><SparklesIcon /></IconLink> - </Inline> - </Story> -</Preview> +<Canvas of={LinkStories.IconLink} /> ### Button An icon link can behave like a button by using the `IconLinkAsButton` component. -<Preview> - <Story name="icon link button"> - <IconLinkAsButton><SparklesIcon /></IconLinkAsButton> - </Story> -</Preview> +<Canvas of={LinkStories.IconLinkButton} /> ## Basic link @@ -161,33 +99,13 @@ A link can have a more subtle appareance and only be noticeable when focused. A link content can be an image element. -<Preview scope={{ GalaxyLargeImage }}> - <Story name="basic link image"> - <Link href="#"> - <Image src={GalaxyLargeImage} alt="SpaceX launch" /> - </Link> - </Story> -</Preview> +<Canvas of={LinkStories.BasicLinkImage} /> ### Shape A link can use a different shape to match his content shape on focus state. -<Preview scope={{ GalaxyLargeImage }}> - <Story name="basic link shape"> - <Inline> - <Link shape="rounded" focus href="#"> - <Image src={GalaxyLargeImage} alt="SpaceX launch" width="100px" height="100px" /> - </Link> - <Link shape="circular" focus href="#"> - <Image src={GalaxyLargeImage} alt="SpaceX launch" width="100px" height="100px" /> - </Link> - <Link shape="box" focus href="#"> - <Image src={GalaxyLargeImage} alt="SpaceX launch" width="100px" height="100px" /> - </Link> - </Inline> - </Story> -</Preview> +<Canvas of={LinkStories.BasicLinkShape} /> ## API @@ -200,7 +118,7 @@ A link can use a different shape to match his content shape on focus state. compact /> -<ArgsTable of={InnerTextLink} sort="alpha" /> +<ArgTypes of={InnerTextLink} sort="alpha" /> ### IconLink @@ -210,7 +128,7 @@ A link can use a different shape to match his content shape on focus state. compact /> -<ArgsTable of={InnerIconLink} sort="alpha" /> +<ArgTypes of={InnerIconLink} sort="alpha" /> ### Link @@ -220,7 +138,7 @@ A link can use a different shape to match his content shape on focus state. compact /> -<ArgsTable of={InnerLink} sort="alpha" /> +<ArgTypes of={InnerLink} sort="alpha" /> ### TextLinkAsButton @@ -230,7 +148,7 @@ A link can use a different shape to match his content shape on focus state. compact /> -<ArgsTable of={InnerTextLink} sort="alpha" /> +<ArgTypes of={InnerTextLink} sort="alpha" /> ### IconLinkAsButton @@ -240,4 +158,4 @@ A link can use a different shape to match his content shape on focus state. compact /> -<ArgsTable of={InnerIconLink} sort="alpha" /> +<ArgTypes of={InnerIconLink} sort="alpha" /> diff --git a/packages/components/src/link/docs/Link.stories.tsx b/packages/components/src/link/docs/Link.stories.tsx new file mode 100644 index 000000000..c5b85f913 --- /dev/null +++ b/packages/components/src/link/docs/Link.stories.tsx @@ -0,0 +1,130 @@ +import { SparklesIcon } from "@hopper-ui/icons"; +import { GalaxyLargeImage } from "./assets"; +import { IconLink as OrbiterIconLink, IconLinkAsButton, Link, TextLink, TextLinkAsButton } from "@components/link"; +import { Image } from "@components/image"; +import { Inline } from "@components/layout"; +import { Text } from "@components/typography"; +import { Meta, StoryObj } from "@storybook/react"; +import { RouterLink } from "./RouterLink"; + +const meta = { + title: "Components/Link", + component: Link, + id: "link" +} as Meta<typeof Link>; + +export default meta; + +type Story = StoryObj<typeof Link>; + +export const Default: Story = { + render: () => ( + <TextLink href="#">Flight details</TextLink> + ) +}; + +export const Icon: Story = { + render: () => ( + <Inline alignY="center"> + <TextLink href="#" size="sm"> + <Text>Flight details</Text> + <SparklesIcon /> + </TextLink> + <TextLink href="#"> + <Text>Flight details</Text> + <SparklesIcon /> + </TextLink> + </Inline> + ) +}; + +export const StartIcon: Story = { + render: () => ( + <TextLink href="#"> + <SparklesIcon slot="start-icon" /> + <Text>Flight details</Text> + </TextLink> + ) +}; + + +export const External: Story = { + render: () => ( + <TextLink external href="#">Flight details</TextLink> + ) +}; + +export const Variants: Story = { + render: () => ( + <Inline> + <TextLink href="#" variant="accent">Accent</TextLink> + <TextLink href="#" variant="negative">Negative</TextLink> + </Inline> + ) +}; + +export const Disabled: Story = { + render: () => ( + <TextLink disabled href="#">Flight details</TextLink> + ) +}; + +export const Size: Story = { + render: () => ( + <Inline alignY="center"> + <TextLink href="#" size="sm">Flight details</TextLink> + <TextLink href="#">Flight details</TextLink> + </Inline> + ) +}; + +export const Button: Story = { + render: () => ( + <TextLinkAsButton>Flight details</TextLinkAsButton> + ) +}; + + +export const ReactRouter: Story = { + render: () => { + return <RouterLink as={TextLink} to="/flight-details">Flight details</RouterLink>; + } +}; + +export const IconLink: Story = { + render: () => ( + <Inline alignY="center"> + <OrbiterIconLink aria-label="Add" href="#" ><SparklesIcon /></OrbiterIconLink> + </Inline > + ) +}; + +export const IconLinkButton: Story = { + render: () => ( + <IconLinkAsButton><SparklesIcon /></IconLinkAsButton> + ) +}; + +export const BasicLinkImage: Story = { + render: () => ( + <Link href="#"> + <Image alt="SpaceX launch" src={GalaxyLargeImage} /> + </Link> + ) +}; + +export const BasicLinkShape: Story = { + render: () => ( + <Inline> + <Link focus href="#" shape="rounded"> + <Image alt="SpaceX launch" height="100px" src={GalaxyLargeImage} width="100px" /> + </Link> + <Link focus href="#" shape="circular"> + <Image alt="SpaceX launch" height="100px" src={GalaxyLargeImage} width="100px" /> + </Link> + <Link focus href="#" shape="box"> + <Image alt="SpaceX launch" height="100px" src={GalaxyLargeImage} width="100px" /> + </Link> + </Inline> + ) +}; diff --git a/packages/components/src/link/docs/ReactRouter.sample.jsx b/packages/components/src/link/docs/ReactRouter.sample.jsx deleted file mode 100644 index ff2237b03..000000000 --- a/packages/components/src/link/docs/ReactRouter.sample.jsx +++ /dev/null @@ -1,7 +0,0 @@ -const RouterTextLink = as(TextLink, RouterLink); - -render(() => { - return ( - <RouterTextLink to="/flight-details">Flight details</RouterTextLink> - ); -}); diff --git a/packages/components/src/link/docs/RouterLink.jsx b/packages/components/src/link/docs/RouterLink.jsx index 87dc5f52f..2fb6b05fb 100644 --- a/packages/components/src/link/docs/RouterLink.jsx +++ b/packages/components/src/link/docs/RouterLink.jsx @@ -1,23 +1,19 @@ import { Box } from "@components/box"; -import { as } from "@components/shared"; -import { forwardRef } from "react"; - -const A = as(Box, "a"); // Dummy component to demonstrate how to use with React Router. -export const RouterLink = forwardRef(({ +export const RouterLink = ({ to, children, ...rest -}, ref) => { +}) => { return ( // eslint-disable-next-line jsx-a11y/anchor-is-valid - <A + <Box + as="a" {...rest} href={to} - ref={ref} > {children} - </A> + </Box> ); -}); +}; From df232ca9cc35f147b5c9e916c5859a0620add544 Mon Sep 17 00:00:00 2001 From: Victor Trinh <victor.trinh@gsoft.com> Date: Thu, 31 Oct 2024 14:51:05 -0400 Subject: [PATCH 16/95] Address --- .../docs/{address.stories.mdx => address.mdx} | 18 ++++----------- .../src/html/docs/address.stories.tsx | 23 +++++++++++++++++++ 2 files changed, 27 insertions(+), 14 deletions(-) rename packages/components/src/html/docs/{address.stories.mdx => address.mdx} (61%) create mode 100644 packages/components/src/html/docs/address.stories.tsx diff --git a/packages/components/src/html/docs/address.stories.mdx b/packages/components/src/html/docs/address.mdx similarity index 61% rename from packages/components/src/html/docs/address.stories.mdx rename to packages/components/src/html/docs/address.mdx index d43b865bf..c7b4301bb 100644 --- a/packages/components/src/html/docs/address.stories.mdx +++ b/packages/components/src/html/docs/address.mdx @@ -1,12 +1,10 @@ import { Address } from "@components/html"; import { ComponentInfo, Link, Preview, Tagline } from "@stories/components"; -import { Meta, Story } from "@storybook/addon-docs"; +import { Canvas, Meta, Story } from "@storybook/addon-docs"; import { TextLink } from "@components/link"; +import * as AddressStories from "./address.stories.tsx"; -<Meta - title="Html elements/Address" - id="html-address" -/> +<Meta of={AddressStories} /> # Address @@ -21,12 +19,4 @@ import { TextLink } from "@components/link"; An address component accepts all the [address HTML element attributes](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/address) and [Orbiter styled component props](?path=/docs/styling--page). -<Preview> - <Story name="example"> - <Address color="neutral-weak"> - <TextLink href="mailto:media@spacex.com">media@spacex.com</TextLink> - <br /> - <TextLink href="tel:+13103636000">(310) 363-6000</TextLink> - </Address> - </Story> -</Preview> +<Canvas of={AddressStories.Example} /> diff --git a/packages/components/src/html/docs/address.stories.tsx b/packages/components/src/html/docs/address.stories.tsx new file mode 100644 index 000000000..ee05f8732 --- /dev/null +++ b/packages/components/src/html/docs/address.stories.tsx @@ -0,0 +1,23 @@ +import { Address } from "@components/html"; +import { TextLink } from "@components/link"; +import { Meta, StoryObj } from "@storybook/react"; + +const meta = { + title: "Html elements/Address", + component: Address, + id: "html-address" +} as Meta<typeof Address>; + +export default meta; + +type Story = StoryObj<typeof Address>; + +export const Example: Story = { + render: () => ( + <Address color="neutral-weak"> + <TextLink href="mailto:media@spacex.com">media@spacex.com</TextLink> + <br /> + <TextLink href="tel:+13103636000">(310) 363-6000</TextLink> + </Address> + ) +}; From e802462d66b8d63862352a023275063e533adb9d Mon Sep 17 00:00:00 2001 From: Victor Trinh <victor.trinh@gsoft.com> Date: Thu, 31 Oct 2024 14:58:03 -0400 Subject: [PATCH 17/95] Anchor --- packages/components/src/box/docs/Box.mdx | 2 +- packages/components/src/card/docs/Card.mdx | 2 +- packages/components/src/dot/docs/Dot.mdx | 2 +- packages/components/src/form/docs/Form.mdx | 2 +- packages/components/src/html/docs/address.mdx | 2 +- .../docs/{anchor.stories.mdx => anchor.mdx} | 16 +++++----------- .../src/html/docs/anchor.stories.tsx | 19 +++++++++++++++++++ 7 files changed, 29 insertions(+), 16 deletions(-) rename packages/components/src/html/docs/{anchor.stories.mdx => anchor.mdx} (60%) create mode 100644 packages/components/src/html/docs/anchor.stories.tsx diff --git a/packages/components/src/box/docs/Box.mdx b/packages/components/src/box/docs/Box.mdx index 49765b488..ee0672112 100644 --- a/packages/components/src/box/docs/Box.mdx +++ b/packages/components/src/box/docs/Box.mdx @@ -1,5 +1,5 @@ import { ArgTypes, Canvas, Meta } from "@storybook/addon-docs"; -import { ComponentInfo, Preview, Tagline } from "@stories/components"; +import { ComponentInfo, Tagline } from "@stories/components"; import { InnerBox } from "@components/box"; import * as BoxStories from "./Box.stories.tsx"; diff --git a/packages/components/src/card/docs/Card.mdx b/packages/components/src/card/docs/Card.mdx index 367f874e1..f9c6749aa 100644 --- a/packages/components/src/card/docs/Card.mdx +++ b/packages/components/src/card/docs/Card.mdx @@ -1,7 +1,7 @@ import { ArgTypes, Canvas, Meta, Story } from "@storybook/addon-docs"; import { Button, ButtonGroup } from "@components/button"; import { Card, InnerCard } from "@components/card"; -import { ComponentInfo, Preview, Tagline } from "@stories/components"; +import { ComponentInfo, Tagline } from "@stories/components"; import { Content, Header, InnerContent, InnerHeader } from "@components/placeholders"; import { Heading, InnerHeading, Paragraph } from "@components/typography"; import { Illustration } from "@components/illustration"; diff --git a/packages/components/src/dot/docs/Dot.mdx b/packages/components/src/dot/docs/Dot.mdx index 36454751e..b7a3ec36e 100644 --- a/packages/components/src/dot/docs/Dot.mdx +++ b/packages/components/src/dot/docs/Dot.mdx @@ -1,5 +1,5 @@ import { ArgTypes, Canvas, Meta, Story } from "@storybook/addon-docs"; -import { ComponentInfo, Preview } from "@stories/components"; +import { ComponentInfo } from "@stories/components"; import { Dot, InnerDot } from "@components/dot"; import { Inline } from "@components/layout"; import * as DotStories from "./Dot.stories.tsx"; diff --git a/packages/components/src/form/docs/Form.mdx b/packages/components/src/form/docs/Form.mdx index 1a20301a3..c02030f53 100644 --- a/packages/components/src/form/docs/Form.mdx +++ b/packages/components/src/form/docs/Form.mdx @@ -1,7 +1,7 @@ import { ArgTypes, Canvas, Meta, Story } from "@storybook/addon-docs"; import { Button, ButtonGroup } from "@components/button"; import { Checkbox } from "@components/checkbox"; -import { ComponentInfo, Preview, Tagline } from "@stories/components"; +import { ComponentInfo, Tagline } from "@stories/components"; import { Field, HelpMessage, Label } from "@components/field"; import { Fieldset, Form, InnerFieldset, InnerForm } from "@components/form"; import { Flex, Grid, Inline, repeat } from "@components/layout"; diff --git a/packages/components/src/html/docs/address.mdx b/packages/components/src/html/docs/address.mdx index c7b4301bb..41ce84e6d 100644 --- a/packages/components/src/html/docs/address.mdx +++ b/packages/components/src/html/docs/address.mdx @@ -1,5 +1,5 @@ import { Address } from "@components/html"; -import { ComponentInfo, Link, Preview, Tagline } from "@stories/components"; +import { ComponentInfo, Link, Tagline } from "@stories/components"; import { Canvas, Meta, Story } from "@storybook/addon-docs"; import { TextLink } from "@components/link"; import * as AddressStories from "./address.stories.tsx"; diff --git a/packages/components/src/html/docs/anchor.stories.mdx b/packages/components/src/html/docs/anchor.mdx similarity index 60% rename from packages/components/src/html/docs/anchor.stories.mdx rename to packages/components/src/html/docs/anchor.mdx index a2be4c6c0..4a253b1eb 100644 --- a/packages/components/src/html/docs/anchor.stories.mdx +++ b/packages/components/src/html/docs/anchor.mdx @@ -1,11 +1,9 @@ import { A } from "@components/html"; -import { ComponentInfo, Link, Preview, Tagline } from "@stories/components"; -import { Meta, Story } from "@storybook/addon-docs"; +import { ComponentInfo, Link, Tagline } from "@stories/components"; +import { Canvas, Meta, Story } from "@storybook/addon-docs"; +import * as AStories from "./anchor.stories.tsx"; -<Meta - title="Html elements/A" - id="html-anchor" -/> +<Meta of={AStories} /> # Anchor @@ -20,8 +18,4 @@ import { Meta, Story } from "@storybook/addon-docs"; An anchor component accepts all the [anchor HTML element attributes](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a) and [Orbiter styled component props](?path=/docs/styling--page). -<Preview> - <Story name="example"> - <A href="https://www.cc.com/shows/futurama" color="neutral-weak">Futurama</A> - </Story> -</Preview> +<Canvas of={AStories.Example} /> diff --git a/packages/components/src/html/docs/anchor.stories.tsx b/packages/components/src/html/docs/anchor.stories.tsx new file mode 100644 index 000000000..7467d9948 --- /dev/null +++ b/packages/components/src/html/docs/anchor.stories.tsx @@ -0,0 +1,19 @@ +import { A } from "@components/html"; +import { Meta, StoryObj } from "@storybook/react"; + +const meta = { + title: "Html elements/A", + component: A, + id: "html-anchor" +} as Meta<typeof A>; + +export default meta; + +type Story = StoryObj<typeof A>; + +export const Example: Story = { + render: () => ( + <A color="neutral-weak" href="https://www.cc.com/shows/futurama">Futurama</A> + ) +}; + From a306132ddd2d3f89c6a003865e23bb5f26ec774c Mon Sep 17 00:00:00 2001 From: Victor Trinh <victor.trinh@gsoft.com> Date: Thu, 31 Oct 2024 15:06:11 -0400 Subject: [PATCH 18/95] Article --- .../docs/{article.stories.mdx => article.mdx} | 18 +++---------- .../src/html/docs/article.stories.tsx | 25 +++++++++++++++++++ 2 files changed, 29 insertions(+), 14 deletions(-) rename packages/components/src/html/docs/{article.stories.mdx => article.mdx} (62%) create mode 100644 packages/components/src/html/docs/article.stories.tsx diff --git a/packages/components/src/html/docs/article.stories.mdx b/packages/components/src/html/docs/article.mdx similarity index 62% rename from packages/components/src/html/docs/article.stories.mdx rename to packages/components/src/html/docs/article.mdx index 1c9549415..6fa2ccf91 100644 --- a/packages/components/src/html/docs/article.stories.mdx +++ b/packages/components/src/html/docs/article.mdx @@ -1,10 +1,8 @@ import { ComponentInfo, Link, Tagline } from "@stories/components"; -import { Meta } from "@storybook/addon-docs"; +import { Canvas, Meta } from "@storybook/addon-docs"; +import * as ArticleStories from "./article.stories.tsx"; -<Meta - title="Html elements/Article" - id="html-article" -/> +<Meta of={ArticleStories} /> # Article @@ -19,12 +17,4 @@ import { Meta } from "@storybook/addon-docs"; An article component accepts all the [article HTML element attributes](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/article) and [Orbiter styled component props](?path=/docs/styling--page). -```jsx -<Article color="neutral-weak"> - <H1>Weather forecast for Boca Chica</H1> - <Article> - <H2>03 March 2021</H2> - <Paragraph>Perfectly sunny for a space launch.</Paragraph> - </Article> -</Article> -``` +<Canvas of={ArticleStories.Example} /> diff --git a/packages/components/src/html/docs/article.stories.tsx b/packages/components/src/html/docs/article.stories.tsx new file mode 100644 index 000000000..c4f5033eb --- /dev/null +++ b/packages/components/src/html/docs/article.stories.tsx @@ -0,0 +1,25 @@ +import { Meta, StoryObj } from "@storybook/react"; +import { Article } from "@components/html"; +import { H1, H2, Paragraph } from "@components/typography"; + +const meta = { + title: "Html elements/Article", + component: Article, + id: "html-article" +} as Meta<typeof Article>; + +export default meta; + +type Story = StoryObj<typeof Article>; + +export const Example: Story = { + render: () => ( + <Article color="neutral-weak"> + <H1>Weather forecast for Boca Chica</H1> + <Article> + <H2>03 March 2021</H2> + <Paragraph>Perfectly sunny for a space launch.</Paragraph> + </Article> + </Article> + ) +}; From 68a3def1be51c7085ed0805df88a30719afe71f1 Mon Sep 17 00:00:00 2001 From: Victor Trinh <victor.trinh@gsoft.com> Date: Thu, 31 Oct 2024 15:13:04 -0400 Subject: [PATCH 19/95] Aside --- .../docs/{aside.stories.mdx => aside.mdx} | 14 ++++--------- .../src/html/docs/aside.stories.tsx | 21 +++++++++++++++++++ 2 files changed, 25 insertions(+), 10 deletions(-) rename packages/components/src/html/docs/{aside.stories.mdx => aside.mdx} (62%) create mode 100644 packages/components/src/html/docs/aside.stories.tsx diff --git a/packages/components/src/html/docs/aside.stories.mdx b/packages/components/src/html/docs/aside.mdx similarity index 62% rename from packages/components/src/html/docs/aside.stories.mdx rename to packages/components/src/html/docs/aside.mdx index 087eab4ec..a3f9f5dd8 100644 --- a/packages/components/src/html/docs/aside.stories.mdx +++ b/packages/components/src/html/docs/aside.mdx @@ -1,10 +1,8 @@ import { ComponentInfo, Link, Tagline } from "@stories/components"; -import { Meta } from "@storybook/addon-docs"; +import { Canvas, Meta } from "@storybook/addon-docs"; +import * as AsideStories from "./aside.stories.tsx"; -<Meta - title="Html elements/Aside" - id="html-aside" -/> +<Meta of={AsideStories} /> # Aside @@ -19,8 +17,4 @@ import { Meta } from "@storybook/addon-docs"; An aside component accepts all the [aside HTML element attributes](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/aside) and [Orbiter styled component props](?path=/docs/styling--page). -```jsx -<Aside color="neutral-weak"> - <Paragraph>The Universe is under no obligation to make sense to you. The Earth is the cradle of humanity, but mankind cannot stay in the cradle forever.</Paragraph> -</Aside> -``` +<Canvas of={AsideStories.Example} /> diff --git a/packages/components/src/html/docs/aside.stories.tsx b/packages/components/src/html/docs/aside.stories.tsx new file mode 100644 index 000000000..f3eef22eb --- /dev/null +++ b/packages/components/src/html/docs/aside.stories.tsx @@ -0,0 +1,21 @@ +import { Aside } from "@components/html"; +import { Paragraph } from "@components/typography"; +import { Meta, StoryObj } from "@storybook/react"; + +const meta = { + title: "Html elements/Aside", + component: Aside, + id: "html-aside" +} as Meta<typeof Aside>; + +export default meta; + +type Story = StoryObj<typeof Aside>; + +export const Example: Story = { + render: () => ( + <Aside color="neutral-weak"> + <Paragraph>The Universe is under no obligation to make sense to you. The Earth is the cradle of humanity, but mankind cannot stay in the cradle forever.</Paragraph> + </Aside> + ) +}; From 93a2d040a6b39d8b2584a0b810f1770dfa72d4ff Mon Sep 17 00:00:00 2001 From: Francis Thibault <francis.thibault@gsoft.com> Date: Thu, 31 Oct 2024 15:14:15 -0400 Subject: [PATCH 20/95] added Tabs --- .../src/tabs/docs/AsyncTabs.sample.jsx | 55 --- .../src/tabs/docs/ControlledTabs.sample.jsx | 29 -- packages/components/src/tabs/docs/Tabs.mdx | 177 +++++++++ .../{Tabs.stories.mdx => Tabs.stories.tsx} | 366 ++++++++---------- .../src/text-input/docs/TextInput.mdx | 4 +- .../src/text-input/docs/TextInput.stories.tsx | 2 +- 6 files changed, 340 insertions(+), 293 deletions(-) delete mode 100644 packages/components/src/tabs/docs/AsyncTabs.sample.jsx delete mode 100644 packages/components/src/tabs/docs/ControlledTabs.sample.jsx create mode 100644 packages/components/src/tabs/docs/Tabs.mdx rename packages/components/src/tabs/docs/{Tabs.stories.mdx => Tabs.stories.tsx} (67%) diff --git a/packages/components/src/tabs/docs/AsyncTabs.sample.jsx b/packages/components/src/tabs/docs/AsyncTabs.sample.jsx deleted file mode 100644 index 126e6ecb7..000000000 --- a/packages/components/src/tabs/docs/AsyncTabs.sample.jsx +++ /dev/null @@ -1,55 +0,0 @@ -function AsyncText({ id, children, ...rest }) { - const [text, setText] = useState(null); - - const { selectedKey } = useTabsContext(); - - useEffect(() => { - let timeoutId; - - if (id === selectedKey) { - timeoutId = setTimeout(() => { - setText(children); - }, 2000); - } else { - setText(null); - } - - return () => { - if (!isNil(timeoutId)) { - clearTimeout(timeoutId); - } - }; - }, [id, selectedKey, children]); - - return ( - <Div {...rest}> - {isNil(text) ? ( - <Div padding={10} position="relative"> - <Div className="o-ui-sb-loading"></Div> - </Div> - ) : text} - </Div> - ); -} - -render(() => { - return ( - <Tabs manual aria-label="Planets"> - {[ - { id: "mars", header: "Mars", content: "Mars is the fourth planet from the Sun and the second-smallest planet." }, - { id: "jupiter", header: "Jupiter", content: "Jupiter is the fifth planet from the Sun and the largest in the Solar System." }, - { id: "venus", header: "Venus", content: "Venus is the second planet from the Sun. It is named after the Roman goddess of love and beauty." } - ] - .map(({ id, header, content }) => - <Item key={id}> - <Header>{header}</Header> - <Content> - <AsyncText id={id}> - {content} - </AsyncText> - </Content> - </Item> - )} - </Tabs> - ); -}); diff --git a/packages/components/src/tabs/docs/ControlledTabs.sample.jsx b/packages/components/src/tabs/docs/ControlledTabs.sample.jsx deleted file mode 100644 index d44302f99..000000000 --- a/packages/components/src/tabs/docs/ControlledTabs.sample.jsx +++ /dev/null @@ -1,29 +0,0 @@ -() => { - const [selectedKey, setSelectedKey] = useState("mars"); - - const handleSelectionChange = useCallback((event, newKey) => { - setSelectedKey(newKey); - console.log(newKey); - }, [setSelectedKey]); - - return ( - <Tabs - selectedKey={selectedKey} - onSelectionChange={handleSelectionChange} - aria-label="Planets" - > - <Item key="mars"> - <Header>Mars</Header> - <Content>Mars is the fourth planet from the Sun and the second-smallest planet.</Content> - </Item> - <Item key="jupiter"> - <Header>Jupiter</Header> - <Content>Jupiter is the fifth planet from the Sun and the largest in the Solar System.</Content> - </Item> - <Item key="venus"> - <Header>Venus</Header> - <Content>Venus is the second planet from the Sun. It is named after the Roman goddess of love and beauty.</Content> - </Item> - </Tabs> - ); -}; diff --git a/packages/components/src/tabs/docs/Tabs.mdx b/packages/components/src/tabs/docs/Tabs.mdx new file mode 100644 index 000000000..3a45a2d72 --- /dev/null +++ b/packages/components/src/tabs/docs/Tabs.mdx @@ -0,0 +1,177 @@ +import { ArgTypes, Meta, Canvas } from "@storybook/addon-docs"; +import { ComponentInfo, Tagline } from "@stories/components"; +import { InnerContent, InnerHeader } from "@components/placeholders"; +import { InnerItem } from "@components/collection"; +import { InnerTab, InnerTabs, InnerTabPanel } from "@components/tabs"; +import { Lozenge } from "@components/lozenge"; +import { SparklesIcon } from "@hopper-ui/icons"; +import { Text } from "@components/typography"; + +import * as TabStories from "./Tabs.stories.tsx" + +<Meta of={TabStories} /> + +# Tabs + +<Tagline>Tabs are used to organize content by grouping similar information on the same page.</Tagline> + +<ComponentInfo + usage={"import { Tabs, Item, Header, Content, TabsContext, useTabsContext } from \"@workleap/orbiter-ui\";"} + ariaPath="tabpanel" + githubPath="/packages/components/src/tabs/src" +/> + +## Guidelines + +### Accessibility + +- An accessible title must be provided through [`aria-label`](https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Attributes/aria-label) property. + +## Usage + +We recommend specifying a unique `key` prop for every `<Item>`. If you choose to omit the `key` prop, a key matching the `<Item>` position will be generated. For example, `"0"` would be the generated key for the first `<Item>` of a `<Tabs>` component without keys. + +### Default + +A default tab. + +<Canvas of={TabStories.Default} /> + +### Icon + +A tab can contain [icons](?path=/docs/icon-gallery--page). + +<Canvas of={TabStories.Icon} /> + +### Lozenge + +A tab can contain a [lozenge](?path=/docs/components-lozenge--default-story). + +<Canvas of={TabStories.LozengeStory} /> + +### Dynamic Tabs + +Tabs items can be rendered dynamically. + +<Canvas of={TabStories.DynamicTabs} /> + +### Manually Activated Tabs + +By default, tabs are activated automatically. This means when you use the arrow keys to change tabs, the tab is activated and focused. + +> The content of a tab should ideally be preloaded. However, if switching to a tab panel causes a network request and possibly a page refresh, there might be some notable latency and this might affect the experience for keyboard and screen reader users. + +In this scenario, you should use a manually activated tab, which moves focus without activating the tabs. With the focus on a specific tab, users can activate a tab by pressing `Space` or `Enter`. + +<Canvas of={TabStories.Manual} /> + +### Async content + +A tab can use `useTabsContext` to load async content when a tab is selected. + +<Canvas of={TabStories.Async} /> + +### Orientation + +A tabs component can be rendered vertically. + +<Canvas of={TabStories.Orientation} /> + +### In Card + +A tabs component can be rendered as an in-card variant. + +<Canvas of={TabStories.InCard} /> + +### Heading + +A tabs component can be rendered as a heading variant. + +<Canvas of={TabStories.Heading} /> + +### Fluid + +A tabs component can split the width of its container equally between its tabs. + +<Canvas of={TabStories.Fluid} /> + +### Collapsible + +A tabs component can handle horizontal overflow by collapsing the overflowing tabs in a popup. + +<Canvas of={TabStories.Collapsible} /> + +### Disabled + +A tab can be disabled. + +<Canvas of={TabStories.DisabledTab} /> + +### Controlled + +The `selectedKey` state can be handled in a controlled mode. + +<Canvas of={TabStories.Controlled} /> + +## API + +### Tabs + +<ComponentInfo + usage={"import { Tabs } from \"@workleap/orbiter-ui\";"} + inherits={[InnerTabs.defaultElement, "styled-component"]} + compact +/> + +<ArgTypes of={InnerTabs} sort="alpha" /> + +### Item + +<ComponentInfo + usage={"import { Item } from \"@workleap/orbiter-ui\";"} + compact +/> + +<ArgTypes of={InnerItem} sort="alpha" /> + +### Header + +<ComponentInfo + usage={"import { Header } from \"@workleap/orbiter-ui\";"} + slots={["icon", "text", "lozenge"]} + inherits={[InnerHeader.defaultElement, "styled-component"]} + compact +/> + +<ArgTypes of={InnerHeader} sort="alpha" /> + +### Content + +<ComponentInfo + usage={"import { Content } from \"@workleap/orbiter-ui\";"} + inherits={[InnerContent.defaultElement, "styled-component"]} + compact +/> + +<ArgTypes of={InnerContent} sort="alpha" /> + +### Tab + +<ComponentInfo + usage={"import { Tab } from \"@workleap/orbiter-ui\";"} + slots={["icon", "text", "lozenge"]} + inherits={[InnerTab.defaultElement, "styled-component"]} + compact +/> + +<ArgTypes of={InnerTab} sort="alpha" /> + +### TabPanel + +<ComponentInfo + usage={"import { TabPanel } from \"@workleap/orbiter-ui\";"} + inherits={[InnerTabPanel.defaultElement, "styled-component"]} + compact +/> + +<ArgTypes of={InnerTabPanel} sort="alpha" /> diff --git a/packages/components/src/tabs/docs/Tabs.stories.mdx b/packages/components/src/tabs/docs/Tabs.stories.tsx similarity index 67% rename from packages/components/src/tabs/docs/Tabs.stories.mdx rename to packages/components/src/tabs/docs/Tabs.stories.tsx index 27266e2a1..8c8142421 100644 --- a/packages/components/src/tabs/docs/Tabs.stories.mdx +++ b/packages/components/src/tabs/docs/Tabs.stories.tsx @@ -1,44 +1,26 @@ -import { ArgsTable, Meta, Story } from "@storybook/addon-docs"; -import { ComponentInfo, Preview, Tagline } from "@stories/components"; -import { Content, Header, InnerContent, InnerHeader } from "@components/placeholders"; +import { Tabs, useTabsContext } from "@components/tabs"; +import { Item, Content, Header } from "@components/placeholders"; import { Div } from "@components/html"; -import { InnerItem, Item } from "@components/collection"; -import { InnerTab, InnerTabPanel, InnerTabs, Tabs } from "@components/tabs"; import { Lozenge } from "@components/lozenge"; import { SparklesIcon } from "@hopper-ui/icons"; +import { isNil } from "@components/shared"; import { Text } from "@components/typography"; +import { useCallback, useEffect, useState } from "react"; -<Meta - title="Components/Tabs" - id="tabs" -/> +import { Meta, StoryObj } from "@storybook/react"; -# Tabs +const meta = { + title: "Components/Tabs", + component: Tabs, + id: "tabs" +} as Meta<typeof Tabs>; -<Tagline>Tabs are used to organize content by grouping similar information on the same page.</Tagline> +export default meta; -<ComponentInfo - usage={"import { Tabs, Item, Header, Content, TabsContext, useTabsContext } from \"@workleap/orbiter-ui\";"} - ariaPath="tabpanel" - githubPath="/packages/components/src/tabs/src" -/> +type TabStory = StoryObj<typeof meta>; -## Guidelines - -### Accessibility - -- An accessible title must be provided through [`aria-label`](https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Attributes/aria-label) property. - -## Usage - -We recommend specifying a unique `key` prop for every `<Item>`. If you choose to omit the `key` prop, a key matching the `<Item>` position will be generated. For example, `"0"` would be the generated key for the first `<Item>` of a `<Tabs>` component without keys. - -### Default - -A default tab. - -<Preview> - <Story name="default"> +export const Default: TabStory = { + render: () => ( <Tabs aria-label="Planets"> <Item key="mars"> <Header>Mars</Header> @@ -53,15 +35,11 @@ A default tab. <Content>Venus is the second planet from the Sun. It is named after the Roman goddess of love and beauty.</Content> </Item> </Tabs> - </Story> -</Preview> - -### Icon - -A tab can contain [icons](?path=/docs/icon-gallery--page). + ) +}; -<Preview> - <Story name="icon"> +export const Icon: TabStory = { + render: () => ( <Tabs aria-label="Planets"> <Item key="mars"> <Header>Mars</Header> @@ -79,15 +57,11 @@ A tab can contain [icons](?path=/docs/icon-gallery--page). <Content>Venus is the second planet from the Sun. It is named after the Roman goddess of love and beauty.</Content> </Item> </Tabs> - </Story> -</Preview> + ) +}; -### Lozenge - -A tab can contains a [lozenge](?path=/docs/components-lozenge--default-story). - -<Preview> - <Story name="lozenge"> +export const LozengeStory: TabStory = { + render: () => ( <Tabs aria-label="Planets"> <Item key="mars"> <Header>Mars</Header> @@ -105,42 +79,29 @@ A tab can contains a [lozenge](?path=/docs/components-lozenge--default-story). <Content>Venus is the second planet from the Sun. It is named after the Roman goddess of love and beauty.</Content> </Item> </Tabs> - </Story> -</Preview> - -### Dynamic tabs - -Tabs items can be rendered dynamically. + ) +}; -<Preview> - <Story name="dynamic tabs"> +export const DynamicTabs: TabStory = { + render: () => ( <Tabs aria-label="Planets"> {[ { id: "mars", header: "Mars", content: "Mars is the fourth planet from the Sun and the second-smallest planet." }, { id: "jupiter", header: "Jupiter", content: "Jupiter is the fifth planet from the Sun and the largest in the Solar System." }, { id: "venus", header: "Venus", content: "Venus is the second planet from the Sun. It is named after the Roman goddess of love and beauty." } - ] - .map(({ id, header, content }) => - <Item key={id}> - <Header>{header}</Header> - <Content>{content}</Content> - </Item> - )} + ].map(({ id, header, content }) => ( + <Item key={id}> + <Header>{header}</Header> + <Content>{content}</Content> + </Item> + ))} </Tabs> - </Story> -</Preview> - -### Manually activated tabs - -By default, tabs are activated automatically. This means when you use the arrow keys to change tabs, the tab is activated and focused. - -> The content of a tab should ideally be preloaded. However, if switching to a tab panel causes a network request and possibly a page refresh, there might be some notable latency and this might affect the experience for keyboard and screen reader users. + ) +}; -In this scenario, you should use a manually activated tab, it moves focus without activating the tabs. With the focus on a specific tab, users can activate a tab by pressing ``Space`` or ``Enter``. - -<Preview> - <Story name="manual"> - <Tabs manual aria-label="Planets"> +export const Manual: TabStory = { + render: () => ( + <Tabs aria-label="Planets" manual> <Item key="mars"> <Header>Mars</Header> <Content>Mars is the fourth planet from the Sun and the second-smallest planet.</Content> @@ -154,22 +115,12 @@ In this scenario, you should use a manually activated tab, it moves focus withou <Content>Venus is the second planet from the Sun. It is named after the Roman goddess of love and beauty.</Content> </Item> </Tabs> - </Story> -</Preview> - -### Async content - -A tab can use `useTabsContext` to load async content when a tab is selected. - -<Preview filePath="/tabs/docs/AsyncTabs" /> + ) +}; -### Orientation - -A tabs component can be rendered vertically. - -<Preview> - <Story name="orientation"> - <Tabs orientation="vertical" aria-label="Planets"> +export const Orientation: TabStory = { + render: () => ( + <Tabs aria-label="Planets" orientation="vertical"> <Item key="mars"> <Header>Mars</Header> <Content>Mars is the fourth planet from the Sun and the second-smallest planet.</Content> @@ -183,16 +134,12 @@ A tabs component can be rendered vertically. <Content>Venus is the second planet from the Sun. It is named after the Roman goddess of love and beauty.</Content> </Item> </Tabs> - </Story> -</Preview> - -### In Card - -A tabs component can be rendered as an in-card variant. + ) +}; -<Preview> - <Story name="in-card"> - <Tabs variant="in-card" aria-label="Planets"> +export const InCard: TabStory = { + render: () => ( + <Tabs aria-label="Planets" variant="in-card"> <Item key="mars"> <Header>Mars</Header> <Content>Mars is the fourth planet from the Sun and the second-smallest planet.</Content> @@ -206,16 +153,12 @@ A tabs component can be rendered as an in-card variant. <Content>Venus is the second planet from the Sun. It is named after the Roman goddess of love and beauty.</Content> </Item> </Tabs> - </Story> -</Preview> + ) +}; -### Heading - -A tabs component can be rendered as a heading variant. - -<Preview> - <Story name="heading"> - <Tabs variant="heading" aria-label="Planets"> +export const Heading: TabStory = { + render: () => ( + <Tabs aria-label="Planets" variant="heading"> <Item key="mars"> <Header>Mars</Header> <Content>Mars is the fourth planet from the Sun and the second-smallest planet.</Content> @@ -229,16 +172,12 @@ A tabs component can be rendered as a heading variant. <Content>Venus is the second planet from the Sun. It is named after the Roman goddess of love and beauty.</Content> </Item> </Tabs> - </Story> -</Preview> - -### Fluid - -A tabs component can split the width of its container equally between its tabs. + ) +}; -<Preview> - <Story name="fluid"> - <Tabs fluid aria-label="Planets"> +export const Fluid: TabStory = { + render: () => ( + <Tabs aria-label="Planets" fluid> <Item key="mars"> <Header>Mars</Header> <Content>Mars is the fourth planet from the Sun and the second-smallest planet.</Content> @@ -256,17 +195,13 @@ A tabs component can split the width of its container equally between its tabs. <Content>Earth is the second planet from the Sun. It is named after the Roman goddess of love and beauty.</Content> </Item> </Tabs> - </Story> -</Preview> + ) +}; -### Collapsible - -A tabs component can handle horizontal overflow by collapsing the overflowing tabs in a popup. - -<Preview> - <Story name="collapsible"> +export const Collapsible: TabStory = { + render: () => ( <Div width={{ base: "100%", sm: "700px" }}> - <Tabs fluid aria-label="Planets"> + <Tabs aria-label="Planets" fluid> <Item key="mars"> <Header>Mars</Header> <Content>Mars is a dusty, cold, desert world with a very thin atmosphere. There is strong evidence Mars was—billions of years ago—wetter and warmer, with a thicker atmosphere.</Content> @@ -324,15 +259,11 @@ A tabs component can handle horizontal overflow by collapsing the overflowing ta </Item> </Tabs> </Div> - </Story> -</Preview> - -### Disabled - -A tab can be disabled. + ) +}; -<Preview> - <Story name="disabled tab"> +export const DisabledTab: TabStory = { + render: () => ( <Tabs aria-label="Planets"> <Item key="mars"> <Header>Mars</Header> @@ -347,74 +278,97 @@ A tab can be disabled. <Content>Venus is the second planet from the Sun. It is named after the Roman goddess of love and beauty.</Content> </Item> </Tabs> - </Story> -</Preview> - -### Controlled - -The `selectedKey` state can be handled in a controlled mode. - -<Preview filePath="/tabs/docs/ControlledTabs" /> - -## API - -### Tabs - -<ComponentInfo - usage={"import { Tabs } from \"@workleap/orbiter-ui\";"} - inherits={[InnerTabs.defaultElement, "styled-component"]} - compact -/> - -<ArgsTable of={InnerTabs} sort="alpha" /> - -### Item - -<ComponentInfo - usage={"import { Item } from \"@workleap/orbiter-ui\";"} - compact -/> - -<ArgsTable of={InnerItem} sort="alpha" /> - -### Header - -<ComponentInfo - usage={"import { Header } from \"@workleap/orbiter-ui\";"} - slots={["icon", "text", "lozenge"]} - inherits={[InnerHeader.defaultElement, "styled-component"]} - compact -/> - -<ArgsTable of={InnerHeader} sort="alpha" /> - -### Content - -<ComponentInfo - usage={"import { Content } from \"@workleap/orbiter-ui\";"} - inherits={[InnerContent.defaultElement, "styled-component"]} - compact -/> - -<ArgsTable of={InnerContent} sort="alpha" /> - -### Tab - -<ComponentInfo - usage={"import { Tab } from \"@workleap/orbiter-ui\";"} - slots={["icon", "text", "lozenge"]} - inherits={[InnerTab.defaultElement, "styled-component"]} - compact -/> - -<ArgsTable of={InnerTab} sort="alpha" /> - -### TabPanel - -<ComponentInfo - usage={"import { TabPanel } from \"@workleap/orbiter-ui\";"} - inherits={[InnerTabPanel.defaultElement, "styled-component"]} - compact -/> - -<ArgsTable of={InnerTabPanel} sort="alpha" /> + ) +}; + +/* eslint-disable react-hooks/rules-of-hooks */ +export const Controlled: TabStory = { + render: () => { + const [selectedKey, setSelectedKey] = useState("mars"); + + const handleSelectionChange = useCallback((event, newKey) => { + setSelectedKey(newKey); + console.log(newKey); + }, [setSelectedKey]); + + return ( + <Tabs + aria-label="Planets" + onSelectionChange={handleSelectionChange} + selectedKey={selectedKey} + > + <Item key="mars"> + <Header>Mars</Header> + <Content>Mars is the fourth planet from the Sun and the second-smallest planet.</Content> + </Item> + <Item key="jupiter"> + <Header>Jupiter</Header> + <Content>Jupiter is the fifth planet from the Sun and the largest in the Solar System.</Content> + </Item> + <Item key="venus"> + <Header>Venus</Header> + <Content>Venus is the second planet from the Sun. It is named after the Roman goddess of love and beauty.</Content> + </Item> + </Tabs> + ); + } +}; + +/* eslint-disable react-hooks/rules-of-hooks */ +export const Async: TabStory = { + render: () => { + function AsyncText({ id, children, ...rest }) { + const [text, setText] = useState(null); + + const { selectedKey } = useTabsContext(); + + useEffect(() => { + let timeoutId; + + if (id === selectedKey) { + timeoutId = setTimeout(() => { + setText(children); + }, 2000); + } else { + setText(null); + } + + return () => { + if (!isNil(timeoutId)) { + clearTimeout(timeoutId); + } + }; + }, [id, selectedKey, children]); + + return ( + <Div {...rest}> + {isNil(text) ? ( + <Div padding={10} position="relative"> + <Div className="o-ui-sb-loading"></Div> + </Div> + ) : text} + </Div> + ); + } + + return ( + <Tabs aria-label="Planets" manual> + {[ + { id: "mars", header: "Mars", content: "Mars is the fourth planet from the Sun and the second-smallest planet." }, + { id: "jupiter", header: "Jupiter", content: "Jupiter is the fifth planet from the Sun and the largest in the Solar System." }, + { id: "venus", header: "Venus", content: "Venus is the second planet from the Sun. It is named after the Roman goddess of love and beauty." } + ] + .map(({ id, header, content }) => + <Item key={id}> + <Header>{header}</Header> + <Content> + <AsyncText id={id}> + {content} + </AsyncText> + </Content> + </Item> + )} + </Tabs> + ); + } +}; diff --git a/packages/components/src/text-input/docs/TextInput.mdx b/packages/components/src/text-input/docs/TextInput.mdx index 76fa74364..5c2d44e3a 100644 --- a/packages/components/src/text-input/docs/TextInput.mdx +++ b/packages/components/src/text-input/docs/TextInput.mdx @@ -2,9 +2,9 @@ import { ArgTypes, Meta, Canvas } from "@storybook/addon-docs"; import { ComponentInfo, Preview, Tagline } from "@stories/components"; import { InnerPasswordInput, InnerSearchInput, InnerTextInput } from "@components/text-input"; -import * as TextInputstories from "./TextInput.stories.tsx"; +import * as TextInputStories from "./TextInput.stories.tsx"; -<Meta of={TextInputstories} /> +<Meta of={TextInputStories} /> # TextInput diff --git a/packages/components/src/text-input/docs/TextInput.stories.tsx b/packages/components/src/text-input/docs/TextInput.stories.tsx index 1111b444e..2b4a916a1 100644 --- a/packages/components/src/text-input/docs/TextInput.stories.tsx +++ b/packages/components/src/text-input/docs/TextInput.stories.tsx @@ -9,7 +9,7 @@ import { Meta, StoryObj } from "@storybook/react"; const meta = { title: "Components/TextInput", component: TextInput, - id: "TextInput" + id: "textInput" } as Meta<typeof TextInput>; export default meta; From 8e229c81ac0bc45ab0138ffc41a1f4d6e2f7f56d Mon Sep 17 00:00:00 2001 From: Victor Trinh <victor.trinh@gsoft.com> Date: Thu, 31 Oct 2024 15:20:18 -0400 Subject: [PATCH 21/95] HTMLButton --- packages/components/src/card/docs/Card.mdx | 2 +- packages/components/src/dot/docs/Dot.mdx | 2 +- packages/components/src/form/docs/Form.mdx | 2 +- packages/components/src/html/docs/address.mdx | 2 +- packages/components/src/html/docs/anchor.mdx | 2 +- .../docs/{button.stories.mdx => button.mdx} | 16 +++++----------- .../src/html/docs/button.stories.tsx | 19 +++++++++++++++++++ packages/components/src/link/docs/Link.mdx | 2 +- 8 files changed, 30 insertions(+), 17 deletions(-) rename packages/components/src/html/docs/{button.stories.mdx => button.mdx} (61%) create mode 100644 packages/components/src/html/docs/button.stories.tsx diff --git a/packages/components/src/card/docs/Card.mdx b/packages/components/src/card/docs/Card.mdx index f9c6749aa..93bf0930b 100644 --- a/packages/components/src/card/docs/Card.mdx +++ b/packages/components/src/card/docs/Card.mdx @@ -1,4 +1,4 @@ -import { ArgTypes, Canvas, Meta, Story } from "@storybook/addon-docs"; +import { ArgTypes, Canvas, Meta } from "@storybook/addon-docs"; import { Button, ButtonGroup } from "@components/button"; import { Card, InnerCard } from "@components/card"; import { ComponentInfo, Tagline } from "@stories/components"; diff --git a/packages/components/src/dot/docs/Dot.mdx b/packages/components/src/dot/docs/Dot.mdx index b7a3ec36e..41653b917 100644 --- a/packages/components/src/dot/docs/Dot.mdx +++ b/packages/components/src/dot/docs/Dot.mdx @@ -1,4 +1,4 @@ -import { ArgTypes, Canvas, Meta, Story } from "@storybook/addon-docs"; +import { ArgTypes, Canvas, Meta } from "@storybook/addon-docs"; import { ComponentInfo } from "@stories/components"; import { Dot, InnerDot } from "@components/dot"; import { Inline } from "@components/layout"; diff --git a/packages/components/src/form/docs/Form.mdx b/packages/components/src/form/docs/Form.mdx index c02030f53..882892cd8 100644 --- a/packages/components/src/form/docs/Form.mdx +++ b/packages/components/src/form/docs/Form.mdx @@ -1,4 +1,4 @@ -import { ArgTypes, Canvas, Meta, Story } from "@storybook/addon-docs"; +import { ArgTypes, Canvas, Meta } from "@storybook/addon-docs"; import { Button, ButtonGroup } from "@components/button"; import { Checkbox } from "@components/checkbox"; import { ComponentInfo, Tagline } from "@stories/components"; diff --git a/packages/components/src/html/docs/address.mdx b/packages/components/src/html/docs/address.mdx index 41ce84e6d..1cd42b550 100644 --- a/packages/components/src/html/docs/address.mdx +++ b/packages/components/src/html/docs/address.mdx @@ -1,6 +1,6 @@ import { Address } from "@components/html"; import { ComponentInfo, Link, Tagline } from "@stories/components"; -import { Canvas, Meta, Story } from "@storybook/addon-docs"; +import { Canvas, Meta } from "@storybook/addon-docs"; import { TextLink } from "@components/link"; import * as AddressStories from "./address.stories.tsx"; diff --git a/packages/components/src/html/docs/anchor.mdx b/packages/components/src/html/docs/anchor.mdx index 4a253b1eb..185353545 100644 --- a/packages/components/src/html/docs/anchor.mdx +++ b/packages/components/src/html/docs/anchor.mdx @@ -1,6 +1,6 @@ import { A } from "@components/html"; import { ComponentInfo, Link, Tagline } from "@stories/components"; -import { Canvas, Meta, Story } from "@storybook/addon-docs"; +import { Canvas, Meta } from "@storybook/addon-docs"; import * as AStories from "./anchor.stories.tsx"; <Meta of={AStories} /> diff --git a/packages/components/src/html/docs/button.stories.mdx b/packages/components/src/html/docs/button.mdx similarity index 61% rename from packages/components/src/html/docs/button.stories.mdx rename to packages/components/src/html/docs/button.mdx index 0cbad8e61..16fdda552 100644 --- a/packages/components/src/html/docs/button.stories.mdx +++ b/packages/components/src/html/docs/button.mdx @@ -1,11 +1,9 @@ -import { ComponentInfo, Link, Preview, Tagline } from "@stories/components"; +import { ComponentInfo, Link, Tagline } from "@stories/components"; import { HtmlButton } from "@components/html"; -import { Meta, Story } from "@storybook/addon-docs"; +import { Canvas, Meta } from "@storybook/addon-docs"; +import * as ButtonStories from "./button.stories.tsx"; -<Meta - title="Html elements/Button" - id="html-button" -/> +<Meta of={ButtonStories} /> # Button @@ -20,8 +18,4 @@ import { Meta, Story } from "@storybook/addon-docs"; A button component accepts all the [button HTML element attributes](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/button) and [Orbiter styled component props](?path=/docs/styling--page). -<Preview> - <Story name="example"> - <HtmlButton type="button" border="rock-900" padding={1}>Launch</HtmlButton> - </Story> -</Preview> +<Canvas of={ButtonStories.Example} /> diff --git a/packages/components/src/html/docs/button.stories.tsx b/packages/components/src/html/docs/button.stories.tsx new file mode 100644 index 000000000..2079c7afa --- /dev/null +++ b/packages/components/src/html/docs/button.stories.tsx @@ -0,0 +1,19 @@ + +import { HtmlButton } from "@components/html"; +import { Meta, StoryObj } from "@storybook/react"; + +const meta = { + title: "Html elements/Button", + component: HtmlButton, + id: "html-button" +} as Meta<typeof HtmlButton>; + +export default meta; + +type Story = StoryObj<typeof HtmlButton>; + +export const Example: Story = { + render: () => ( + <HtmlButton border="rock-900" padding="1" type="button">Launch</HtmlButton> + ) +}; diff --git a/packages/components/src/link/docs/Link.mdx b/packages/components/src/link/docs/Link.mdx index d0b83515f..b0f1cf0ad 100644 --- a/packages/components/src/link/docs/Link.mdx +++ b/packages/components/src/link/docs/Link.mdx @@ -1,5 +1,5 @@ import { SparklesIcon } from "@hopper-ui/icons"; -import { ArgTypes, Canvas, Meta, Story } from "@storybook/addon-docs"; +import { ArgTypes, Canvas, Meta } from "@storybook/addon-docs"; import { ComponentInfo, Preview, Tagline } from "@stories/components"; import { GalaxyLargeImage } from "./assets"; import { IconLink, IconLinkAsButton, InnerIconLink, InnerLink, InnerTextLink, Link, TextLink, TextLinkAsButton } from "@components/link"; From bf506f2320d1bb973011ca9e428ccc81bacd7877 Mon Sep 17 00:00:00 2001 From: Victor Trinh <victor.trinh@gsoft.com> Date: Fri, 1 Nov 2024 08:23:09 -0400 Subject: [PATCH 22/95] Div --- packages/components/src/card/docs/Card.mdx | 13 +++------ packages/components/src/dot/docs/Dot.mdx | 2 +- packages/components/src/form/docs/Form.mdx | 6 +---- packages/components/src/html/docs/address.mdx | 2 -- packages/components/src/html/docs/anchor.mdx | 1 - packages/components/src/html/docs/button.mdx | 1 - packages/components/src/html/docs/div.mdx | 20 ++++++++++++++ .../components/src/html/docs/div.stories.mdx | 27 ------------------- .../components/src/html/docs/div.stories.tsx | 18 +++++++++++++ packages/components/src/link/docs/Link.mdx | 8 +----- 10 files changed, 44 insertions(+), 54 deletions(-) create mode 100644 packages/components/src/html/docs/div.mdx delete mode 100644 packages/components/src/html/docs/div.stories.mdx create mode 100644 packages/components/src/html/docs/div.stories.tsx diff --git a/packages/components/src/card/docs/Card.mdx b/packages/components/src/card/docs/Card.mdx index 93bf0930b..d0df60adb 100644 --- a/packages/components/src/card/docs/Card.mdx +++ b/packages/components/src/card/docs/Card.mdx @@ -1,15 +1,8 @@ import { ArgTypes, Canvas, Meta } from "@storybook/addon-docs"; -import { Button, ButtonGroup } from "@components/button"; -import { Card, InnerCard } from "@components/card"; +import { InnerCard } from "@components/card"; import { ComponentInfo, Tagline } from "@stories/components"; -import { Content, Header, InnerContent, InnerHeader } from "@components/placeholders"; -import { Heading, InnerHeading, Paragraph } from "@components/typography"; -import { Illustration } from "@components/illustration"; -import { Image } from "@components/image"; -import { Inline, Stack } from "@components/layout"; -import { Item } from "@components/collection"; -import { Planet, SpaceLandscape } from "./assets"; -import { Tabs } from "@components/tabs"; +import { InnerContent, InnerHeader } from "@components/placeholders"; +import { InnerHeading } from "@components/typography"; import * as CardStories from "./Card.stories.tsx"; <Meta of={CardStories} /> diff --git a/packages/components/src/dot/docs/Dot.mdx b/packages/components/src/dot/docs/Dot.mdx index 41653b917..3dd3f16df 100644 --- a/packages/components/src/dot/docs/Dot.mdx +++ b/packages/components/src/dot/docs/Dot.mdx @@ -1,6 +1,6 @@ import { ArgTypes, Canvas, Meta } from "@storybook/addon-docs"; import { ComponentInfo } from "@stories/components"; -import { Dot, InnerDot } from "@components/dot"; +import { InnerDot } from "@components/dot"; import { Inline } from "@components/layout"; import * as DotStories from "./Dot.stories.tsx"; diff --git a/packages/components/src/form/docs/Form.mdx b/packages/components/src/form/docs/Form.mdx index 882892cd8..469bcc06a 100644 --- a/packages/components/src/form/docs/Form.mdx +++ b/packages/components/src/form/docs/Form.mdx @@ -1,10 +1,6 @@ import { ArgTypes, Canvas, Meta } from "@storybook/addon-docs"; -import { Button, ButtonGroup } from "@components/button"; -import { Checkbox } from "@components/checkbox"; import { ComponentInfo, Tagline } from "@stories/components"; -import { Field, HelpMessage, Label } from "@components/field"; -import { Fieldset, Form, InnerFieldset, InnerForm } from "@components/form"; -import { Flex, Grid, Inline, repeat } from "@components/layout"; +import { InnerFieldset, InnerForm } from "@components/form"; import * as FormStories from "./Form.stories.tsx"; <Meta of={FormStories} /> diff --git a/packages/components/src/html/docs/address.mdx b/packages/components/src/html/docs/address.mdx index 1cd42b550..9de3aa882 100644 --- a/packages/components/src/html/docs/address.mdx +++ b/packages/components/src/html/docs/address.mdx @@ -1,7 +1,5 @@ -import { Address } from "@components/html"; import { ComponentInfo, Link, Tagline } from "@stories/components"; import { Canvas, Meta } from "@storybook/addon-docs"; -import { TextLink } from "@components/link"; import * as AddressStories from "./address.stories.tsx"; <Meta of={AddressStories} /> diff --git a/packages/components/src/html/docs/anchor.mdx b/packages/components/src/html/docs/anchor.mdx index 185353545..8a7eb50b4 100644 --- a/packages/components/src/html/docs/anchor.mdx +++ b/packages/components/src/html/docs/anchor.mdx @@ -1,4 +1,3 @@ -import { A } from "@components/html"; import { ComponentInfo, Link, Tagline } from "@stories/components"; import { Canvas, Meta } from "@storybook/addon-docs"; import * as AStories from "./anchor.stories.tsx"; diff --git a/packages/components/src/html/docs/button.mdx b/packages/components/src/html/docs/button.mdx index 16fdda552..383227749 100644 --- a/packages/components/src/html/docs/button.mdx +++ b/packages/components/src/html/docs/button.mdx @@ -1,5 +1,4 @@ import { ComponentInfo, Link, Tagline } from "@stories/components"; -import { HtmlButton } from "@components/html"; import { Canvas, Meta } from "@storybook/addon-docs"; import * as ButtonStories from "./button.stories.tsx"; diff --git a/packages/components/src/html/docs/div.mdx b/packages/components/src/html/docs/div.mdx new file mode 100644 index 000000000..7afd72f50 --- /dev/null +++ b/packages/components/src/html/docs/div.mdx @@ -0,0 +1,20 @@ +import { ComponentInfo, Link, Tagline } from "@stories/components"; +import { Canvas, Meta } from "@storybook/addon-docs"; +import * as DivStories from "./div.stories.tsx"; + +<Meta of={DivStories} /> + +# Div + +<Tagline>A specialized <Link href="?path=/docs/box--default-story">box</Link> component for HTML div element.</Tagline> + +<ComponentInfo + usage={"import { Div } from \"@workleap/orbiter-ui\";"} + githubPath="/packages/components/src/html/src" +/> + +## Usage + +A div component accepts all the [div HTML element attributes](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/div) and [Orbiter styled component props](?path=/docs/styling--page). + +<Canvas of={DivStories.Example} /> diff --git a/packages/components/src/html/docs/div.stories.mdx b/packages/components/src/html/docs/div.stories.mdx deleted file mode 100644 index 55e49ea23..000000000 --- a/packages/components/src/html/docs/div.stories.mdx +++ /dev/null @@ -1,27 +0,0 @@ -import { ComponentInfo, Link, Preview, Tagline } from "@stories/components"; -import { Div } from "@components/html"; -import { Meta, Story } from "@storybook/addon-docs"; - -<Meta - title="Html elements/Div" - id="html-div" -/> - -# Div - -<Tagline>A specialized <Link href="?path=/docs/box--default-story">box</Link> component for HTML div element.</Tagline> - -<ComponentInfo - usage={"import { Div } from \"@workleap/orbiter-ui\";"} - githubPath="/packages/components/src/html/src" -/> - -## Usage - -A div component accepts all the [div HTML element attributes](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/div) and [Orbiter styled component props](?path=/docs/styling--page). - -<Preview> - <Story name="example"> - <Div color="neutral-weak">Apple co-founder Steve Wozniak tweeted on Sunday about a "private space company" he's launching that's "unlike the others." Called Privateer Space, its mission is to "keep space safe and accessible to all humankind".</Div> - </Story> -</Preview> diff --git a/packages/components/src/html/docs/div.stories.tsx b/packages/components/src/html/docs/div.stories.tsx new file mode 100644 index 000000000..15d631430 --- /dev/null +++ b/packages/components/src/html/docs/div.stories.tsx @@ -0,0 +1,18 @@ +import { Div } from "@components/html"; +import { Meta, StoryObj } from "@storybook/react"; + +const meta = { + title: "Html elements/Div", + component: Div, + id: "html-div" +} as Meta<typeof Div>; + +export default meta; + +type Story = StoryObj<typeof Div>; + +export const Example: Story = { + render: () => ( + <Div color="neutral-weak">Apple co-founder Steve Wozniak tweeted on Sunday about a "private space company" he's launching that's "unlike the others." Called Privateer Space, its mission is to "keep space safe and accessible to all humankind".</Div> + ) +}; diff --git a/packages/components/src/link/docs/Link.mdx b/packages/components/src/link/docs/Link.mdx index b0f1cf0ad..615744337 100644 --- a/packages/components/src/link/docs/Link.mdx +++ b/packages/components/src/link/docs/Link.mdx @@ -1,12 +1,6 @@ -import { SparklesIcon } from "@hopper-ui/icons"; import { ArgTypes, Canvas, Meta } from "@storybook/addon-docs"; import { ComponentInfo, Preview, Tagline } from "@stories/components"; -import { GalaxyLargeImage } from "./assets"; -import { IconLink, IconLinkAsButton, InnerIconLink, InnerLink, InnerTextLink, Link, TextLink, TextLinkAsButton } from "@components/link"; -import { Image } from "@components/image"; -import { Inline } from "@components/layout"; -import { RouterLink } from "./RouterLink"; -import { Text } from "@components/typography"; +import { InnerIconLink, InnerLink, InnerTextLink } from "@components/link"; import * as LinkStories from "./Link.stories.tsx"; <Meta of={LinkStories} /> From 9c6c4e107c51ce9c54258e98d51aea7fce4b46c3 Mon Sep 17 00:00:00 2001 From: Francis Thibault <francis.thibault@gsoft.com> Date: Fri, 1 Nov 2024 09:11:22 -0400 Subject: [PATCH 23/95] reworked Switch --- .../switch/docs/CheckedValidation.sample.jsx | 20 ---- .../switch/docs/ControlledSwitch.sample.jsx | 17 --- .../docs/{Switch.stories.mdx => Switch.mdx} | 80 +++----------- .../src/switch/docs/Switch.stories.tsx | 103 ++++++++++++++++++ 4 files changed, 119 insertions(+), 101 deletions(-) delete mode 100644 packages/components/src/switch/docs/CheckedValidation.sample.jsx delete mode 100644 packages/components/src/switch/docs/ControlledSwitch.sample.jsx rename packages/components/src/switch/docs/{Switch.stories.mdx => Switch.mdx} (55%) create mode 100644 packages/components/src/switch/docs/Switch.stories.tsx diff --git a/packages/components/src/switch/docs/CheckedValidation.sample.jsx b/packages/components/src/switch/docs/CheckedValidation.sample.jsx deleted file mode 100644 index 26af7afe9..000000000 --- a/packages/components/src/switch/docs/CheckedValidation.sample.jsx +++ /dev/null @@ -1,20 +0,0 @@ -() => { - const [isChecked, setIsChecked] = useState(false); - - const isValid = isChecked; - - const handleChange = useCallback(() => { - setIsChecked(x => !x); - console.log(!isChecked); - }, [isChecked, setIsChecked]); - - return ( - <Switch - validationState={isValid ? "valid" : "invalid"} - checked={isChecked} - onChange={handleChange} - > - Engines - </Switch> - ); -}; diff --git a/packages/components/src/switch/docs/ControlledSwitch.sample.jsx b/packages/components/src/switch/docs/ControlledSwitch.sample.jsx deleted file mode 100644 index 6fd3e1c66..000000000 --- a/packages/components/src/switch/docs/ControlledSwitch.sample.jsx +++ /dev/null @@ -1,17 +0,0 @@ -() => { - const [isChecked, setIsChecked] = useState(false); - - const handleChange = useCallback(() => { - setIsChecked(x => !x); - console.log(!isChecked); - }, [isChecked, setIsChecked]); - - return ( - <Switch - checked={isChecked} - onChange={handleChange} - > - {isChecked ? "On" : "Off"} - </Switch> - ); -}; diff --git a/packages/components/src/switch/docs/Switch.stories.mdx b/packages/components/src/switch/docs/Switch.mdx similarity index 55% rename from packages/components/src/switch/docs/Switch.stories.mdx rename to packages/components/src/switch/docs/Switch.mdx index c935d765d..144fa64f3 100644 --- a/packages/components/src/switch/docs/Switch.stories.mdx +++ b/packages/components/src/switch/docs/Switch.mdx @@ -1,15 +1,13 @@ -import { ArgsTable, Meta, Story } from "@storybook/addon-docs"; -import { ComponentInfo, Preview, Tagline } from "@stories/components"; +import { ArgTypes, Meta, Canvas } from "@storybook/addon-docs"; +import { ComponentInfo, Tagline } from "@stories/components"; import { Counter } from "@components/counter"; import { SparklesIcon } from "@hopper-ui/icons"; import { Inline } from "@components/layout"; -import { InnerSwitch, Switch } from "@components/switch"; -import { Text } from "@components/typography"; +import { InnerSwitch } from "@components/switch"; -<Meta - title="Components/Switch" - id="switch" -/> +import * as SwitchStories from "./Switch.stories.tsx" + +<Meta of={SwitchStories} /> # Switch @@ -47,100 +45,55 @@ import { Text } from "@components/typography"; A default switch. -<Preview> - <Story name="default"> - <Switch>Engines</Switch> - </Story> -</Preview> +<Canvas of={SwitchStories.Default} /> ### Checked A switch can be checked. -<Preview> - <Story name="checked"> - <Switch defaultChecked>Engines</Switch> - </Story> -</Preview> +<Canvas of={SwitchStories.Checked} /> ### No label A switch can be rendered without a label. -<Preview> - <Story name="no label"> - <Switch aria-label="Engines" /> - </Story> -</Preview> +<Canvas of={SwitchStories.NoLabel} /> ### Disabled A switch can be disabled. -<Preview> - <Story name="disabled"> - <Switch disabled>Engines</Switch> - </Story> -</Preview> +<Canvas of={SwitchStories.Disabled} /> ### Icon A switch can have [icons](?path=/docs/icon-gallery--page) after his text. -<Preview> - <Story name="icon"> - <Switch> - <Text>Pressurization</Text> - <SparklesIcon /> - </Switch> - </Story> -</Preview> +<Canvas of={SwitchStories.IconStory} /> ### Counter A switch can have a [counter](?path=/docs/counter--default-story) after his text. -<Preview> - <Story name="counter"> - <Switch> - <Text>Engines</Text> - <Counter>6</Counter> - </Switch> - </Story> -</Preview> +<Canvas of={SwitchStories.CounterStory} /> ### Size A switch can vary in size. -<Preview> - <Story name="size"> - <Inline alignY="center"> - <Switch size="sm">Engines</Switch> - <Switch>Engines</Switch> - </Inline> - </Story> -</Preview> +<Canvas of={SwitchStories.Size} /> ### Reverse A checkbox checkmark can be to the left or to the right of his label. -<Preview> - <Story name="reverse"> - <Switch reverse> - <SparklesIcon /> - <Text>Engines</Text> - <Counter variant="divider">6</Counter> - </Switch> - </Story> -</Preview> +<Canvas of={SwitchStories.Reverse} /> ### Controlled A switch can handle `checked` state in controlled mode. -<Preview filePath="/switch/docs/ControlledSwitch" /> +<Canvas of={SwitchStories.Controlled} /> ## API @@ -153,5 +106,4 @@ A switch can handle `checked` state in controlled mode. compact /> -<ArgsTable of={InnerSwitch} sort="alpha"/> - +<ArgTypes of={InnerSwitch} sort="alpha"/> diff --git a/packages/components/src/switch/docs/Switch.stories.tsx b/packages/components/src/switch/docs/Switch.stories.tsx new file mode 100644 index 000000000..8304defe3 --- /dev/null +++ b/packages/components/src/switch/docs/Switch.stories.tsx @@ -0,0 +1,103 @@ +import { Switch } from "@components/switch"; +import { Text } from "@components/typography"; +import { Counter } from "@components/counter"; +import { Inline } from "@components/layout"; +import { SparklesIcon } from "@hopper-ui/icons"; +import { useCallback, useState } from "react"; + +import { Meta, StoryObj } from "@storybook/react"; + +const meta = { + title: "Components/Switch", + component: Switch, + id: "switch" +} as Meta<typeof Switch>; + +export default meta; + +type SwitchStory = StoryObj<typeof meta>; + +export const Default: SwitchStory = { + render: () => ( + <Switch>Engines</Switch> + ) +}; + +export const Checked: SwitchStory = { + render: () => ( + <Switch defaultChecked>Engines</Switch> + ) +}; + +export const NoLabel: SwitchStory = { + render: () => ( + <Switch aria-label="Engines" /> + ) +}; + +export const Disabled: SwitchStory = { + render: () => ( + <Switch disabled>Engines</Switch> + ) +}; + +export const IconStory: SwitchStory = { + render: () => ( + <Switch> + <Text>Pressurization</Text> + <SparklesIcon /> + </Switch> + ) +}; + +export const CounterStory: SwitchStory = { + render: () => ( + <Switch> + <Text>Engines</Text> + <Counter>6</Counter> + </Switch> + ) +}; + +export const Size: SwitchStory = { + render: () => ( + <Inline alignY="center"> + <Switch size="sm">Engines</Switch> + <Switch>Engines</Switch> + </Inline> + ) +}; + +export const Reverse: SwitchStory = { + render: () => ( + <Switch reverse> + <SparklesIcon /> + <Text>Engines</Text> + <Counter variant="divider">6</Counter> + </Switch> + ) +}; + +/* eslint-disable react-hooks/rules-of-hooks */ +export const Controlled: SwitchStory = { + render: () => { + const [isChecked, setIsChecked] = useState(false); + + const isValid = isChecked; + + const handleChange = useCallback(() => { + setIsChecked(x => !x); + console.log(!isChecked); + }, [isChecked, setIsChecked]); + + return ( + <Switch + checked={isChecked} + onChange={handleChange} + validationState={isValid ? "valid" : "invalid"} + > + Engines + </Switch> + ); + } +}; From e1fcf0cc27e8e429eefe073cb8d443d46cc5e475 Mon Sep 17 00:00:00 2001 From: Francis Thibault <francis.thibault@gsoft.com> Date: Fri, 1 Nov 2024 11:21:54 -0400 Subject: [PATCH 24/95] converted Menu --- .../src/menu/docs/ControlledMenu.sample.jsx | 34 -- .../src/menu/docs/CustomTrigger.sample.jsx | 28 -- packages/components/src/menu/docs/Menu.mdx | 200 ++++++++ .../components/src/menu/docs/Menu.stories.mdx | 452 ------------------ .../components/src/menu/docs/Menu.stories.tsx | 442 +++++++++++++++++ .../components/src/menu/docs/Modal.sample.jsx | 38 -- .../src/menu/docs/Selection.sample.jsx | 26 - 7 files changed, 642 insertions(+), 578 deletions(-) delete mode 100644 packages/components/src/menu/docs/ControlledMenu.sample.jsx delete mode 100644 packages/components/src/menu/docs/CustomTrigger.sample.jsx create mode 100644 packages/components/src/menu/docs/Menu.mdx delete mode 100644 packages/components/src/menu/docs/Menu.stories.mdx create mode 100644 packages/components/src/menu/docs/Menu.stories.tsx delete mode 100644 packages/components/src/menu/docs/Modal.sample.jsx delete mode 100644 packages/components/src/menu/docs/Selection.sample.jsx diff --git a/packages/components/src/menu/docs/ControlledMenu.sample.jsx b/packages/components/src/menu/docs/ControlledMenu.sample.jsx deleted file mode 100644 index 64005e570..000000000 --- a/packages/components/src/menu/docs/ControlledMenu.sample.jsx +++ /dev/null @@ -1,34 +0,0 @@ -() => { - const [selectedKey, setSelectedKey] = useState([]); - const [isOpen, setIsOpen] = useState(false); - - const handleOpenChange = useCallback((event, newOpen) => { - setIsOpen(newOpen); - console.log(newOpen); - }, [setIsOpen]); - - const handleSelectionChange = useCallback((event, newKeys) => { - setSelectedKey(newKeys); - console.log(newKeys); - }, []); - - return ( - <MenuTrigger - open={isOpen} - onOpenChange={handleOpenChange} - > - <Button variant="secondary">Trigger</Button> - <Menu - selectionMode="single" - selectedKeys={selectedKey} - onSelectionChange={handleSelectionChange} - > - <Item key="launch">Launch...</Item> - <Item key="eject">Eject...</Item> - <Item key="land">Land...</Item> - <Item key="help">Help</Item> - <Item key="exit">Exit</Item> - </Menu> - </MenuTrigger> - ); -}; diff --git a/packages/components/src/menu/docs/CustomTrigger.sample.jsx b/packages/components/src/menu/docs/CustomTrigger.sample.jsx deleted file mode 100644 index e566924a1..000000000 --- a/packages/components/src/menu/docs/CustomTrigger.sample.jsx +++ /dev/null @@ -1,28 +0,0 @@ -const CustomTrigger = forwardRef((props, ref) => { - const { isOpen } = useMenuTriggerContext(); - - return ( - <IconButton - {...props} - variant={isOpen ? "primary" : "secondary"} - aria-label="View tasks" - ref={ref} - > - <KebabIcon /> - </IconButton> - ); -}); - -render( - <MenuTrigger> - <CustomTrigger /> - <Menu> - <Item key="launch">Launch...</Item> - <Item key="eject">Eject...</Item> - <Item key="land">Land...</Item> - <Divider /> - <Item key="help">Help</Item> - <Item key="exit">Exit</Item> - </Menu> - </MenuTrigger> -); diff --git a/packages/components/src/menu/docs/Menu.mdx b/packages/components/src/menu/docs/Menu.mdx new file mode 100644 index 000000000..883f16f52 --- /dev/null +++ b/packages/components/src/menu/docs/Menu.mdx @@ -0,0 +1,200 @@ +import { ArgTypes, Meta, Canvas } from "@storybook/addon-docs"; + +import { Avatar } from "@components/avatar"; +import { Button, IconButton } from "@components/button"; +import { ComponentInfo, Preview, Tagline } from "@stories/components"; +import { DisclosureArrow } from "@components/disclosure"; +import { InnerDivider } from "@components/divider"; +import { InnerItem, InnerSection } from "@components/collection"; +import { InnerMenu, InnerMenuItem, InnerMenuSection, InnerMenuTrigger } from "@components/menu"; + +import * as MenuStories from "./Menu.stories.tsx"; + +<Meta of={MenuStories}/> + +# Menu + +<Tagline>A menu offers a list of choices to the user, such as a set of actions or functions.</Tagline> + +<ComponentInfo + usage={"import { MenuTrigger, Menu, Item, Section, Divider, MenuTriggerContext, useMenuTriggerContext } from \"@workleap/orbiter-ui\";"} + ariaPath="menu" + githubPath="/packages/components/src/menu/src" +/> + +## Usage + +A menu accepts exactly two children: the element which trigger the opening of the menu and the menu items. A trigger can be any component which accepts a `ref` and any other props passed from menu. + +### Default + +A default menu. + +<Canvas of={MenuStories.Default} /> + +### Sections + +A menu items can be group by sections. + +<Canvas of={MenuStories.Sections} /> + +### Dividers + +A menu items can be separated by dividers. + +<Canvas of={MenuStories.Dividers} /> + +### Item icon + +A menu item can have [icons](?path=/docs/icon-gallery--page). + +<Canvas of={MenuStories.ItemIcon} /> + +### Item end icon + +A select item can have *non standard* end [icons](?path=/docs/icon-gallery--page) can be provided to handle special cases like displaying a list of icons. However, think twice before adding *end* icons, *start* icons should be your go-to. + +<Canvas of={MenuStories.ItemEndIcon} /> + +### Item description + +A menu item can have a **single line** description. + +<Canvas of={MenuStories.ItemDescription} /> + +A description can be paired with an [icon](?path=/docs/icon-gallery--page). + +<Canvas of={MenuStories.ItemDescriptionIcon} /> + +A description can also be paired with an [avatar](?path=/docs/avatar--default-story) + +<Canvas of={MenuStories.ItemDescriptionAvatar} /> + +### Item tooltip + +A menu item can have a basic tooltip. + +<Canvas of={MenuStories.ItemTooltip} /> + +### Disabled item + +A menu item can be disabled. + +<Canvas of={MenuStories.DisabledItem} /> + +### Validation + +A menu can display a validation state to communicate to the user whether the current value is valid or invalid. Implement your own validation logic in your app and pass either `"valid"` or `"invalid"` to the menu via the `validationState` prop. + +<Canvas of={MenuStories.Validation} /> + +### Selection + +A menu supports multiple selection modes. By default, selection is disabled, however this can be changed by settings the `selectionMode` property to `"single"` or `"multiple"`. + +> When using selection with a `<Menu>` component wraped inside a `<MenuTrigger>`, you must handled the selected keys in controlled mode with the `selectedKeys` property otherwise the selected keys won't be persisted through openings. + +<Canvas of={MenuStories.Selection} /> + +### Custom trigger + +A menu trigger can update is appareance based on the `isOpen` value by using `useMenuTriggerContext`. + +Any trigger would work as long as it accepts a `ref` and any other props provided by the menu. + +<Canvas of={MenuStories.CustomTriggerStory} /> + +### Disclosure arrow + +You can use a [disclosure arrow](?path=/docs/disclosure-arrow--context) component to hint that activating the button will display additional content. + +<Canvas of={MenuStories.DisclosureArrowStory} /> + +### Dynamic items + +A menu items can be rendered dynamically. + +<Canvas of={MenuStories.DynamicItems} /> + +### Controlled + +The `selectedKey` and `open` state can be handled in controlled mode. + +<Canvas of={MenuStories.Controlled} /> + +### Opening a modal + +A `ModalTrigger` component won't work with a menu item. Still, it can be done with a [custom modal trigger](?path=/docs/modal--default-story#custom-trigger). + +<Canvas of={MenuStories.ModalStory} /> + +## API + +### MenuTrigger + +<ComponentInfo + usage={"import { MenuTrigger } from \"@workleap/orbiter-ui\";"} + inherits={[InnerMenuTrigger.defaultElement, "styled-component"]} + compact +/> + +<ArgTypes of={InnerMenuTrigger} sort="alpha" /> + +### Menu + +<ComponentInfo + usage={"import { Menu } from \"@workleap/orbiter-ui\";"} + inherits={[InnerMenu.defaultElement, "styled-component"]} + compact +/> + +<ArgTypes of={InnerMenu} sort="alpha" /> + +### Item + +<ComponentInfo + usage={"import { Item } from \"@workleap/orbiter-ui\";"} + slots={["icon", "text", "description", "end-icon"]} + compact +/> + +<ArgTypes of={InnerItem} sort="alpha" /> + +### Section + +<ComponentInfo + usage={"import { Section } from \"@workleap/orbiter-ui\";"} + compact +/> + +<ArgTypes of={InnerSection} sort="alpha" /> + +### Divider + +<ComponentInfo + usage={"import { Divider } from \"@workleap/orbiter-ui\";"} + inherits={[InnerDivider.defaultElement, "styled-component"]} + compact +/> + +<ArgTypes of={InnerDivider} sort="alpha" /> + +### MenuItem + +<ComponentInfo + usage={"import { MenuItem } from \"@workleap/orbiter-ui\";"} + inherits={[InnerMenuItem.defaultElement, "styled-component"]} + compact +/> + +<ArgTypes of={InnerMenuItem} sort="alpha" /> + +### MenuSection + +<ComponentInfo + usage={"import { MenuSection } from \"@workleap/orbiter-ui\";"} + inherits={[InnerMenuSection.defaultElement, "styled-component"]} + compact +/> + +<ArgTypes of={InnerMenuSection} sort="alpha" /> diff --git a/packages/components/src/menu/docs/Menu.stories.mdx b/packages/components/src/menu/docs/Menu.stories.mdx deleted file mode 100644 index 00b76ea5b..000000000 --- a/packages/components/src/menu/docs/Menu.stories.mdx +++ /dev/null @@ -1,452 +0,0 @@ -import { ArgsTable, Meta, Story } from "@storybook/addon-docs"; -import { Avatar } from "@components/avatar"; -import { Button, IconButton } from "@components/button"; -import { ComponentInfo, Preview, Tagline } from "@stories/components"; -import { DisclosureArrow } from "@components/disclosure"; -import { Divider, InnerDivider } from "@components/divider"; -import { IconList } from "@components/icons"; -import { CatIcon, KebabIcon, RocketIcon, SparklesIcon } from "@hopper-ui/icons"; -import { InnerItem, InnerSection, Item, Section } from "@components/collection"; -import { InnerMenu, InnerMenuItem, InnerMenuSection, InnerMenuTrigger, Menu, MenuTrigger } from "@components/menu"; -import { Text } from "@components/typography"; -import { Tooltip, TooltipTrigger } from "@components/tooltip"; - -<Meta - title="Components/Menu" - id="menu" -/> - -# Menu - -<Tagline>A menu offers a list of choices to the user, such as a set of actions or functions.</Tagline> - -<ComponentInfo - usage={"import { MenuTrigger, Menu, Item, Section, Divider, MenuTriggerContext, useMenuTriggerContext } from \"@workleap/orbiter-ui\";"} - ariaPath="menu" - githubPath="/packages/components/src/menu/src" -/> - -## Usage - -A menu accepts exactly two children: the element which trigger the opening of the menu and the menu items. A trigger can be any component which accepts a `ref` and any other props passed from menu. - -### Default - -A default menu. - -<Preview> - <Story name="default"> - <MenuTrigger> - <IconButton variant="secondary" aria-label="View tasks"> - <KebabIcon /> - </IconButton> - <Menu> - <Item key="launch">Launch...</Item> - <Item key="eject">Eject...</Item> - <Item key="land">Land...</Item> - <Item key="help">Help</Item> - <Item key="exit">Exit</Item> - </Menu> - </MenuTrigger> - </Story> -</Preview> - -### Sections - -A menu items can be group by sections. - -<Preview> - <Story name="sections"> - <MenuTrigger> - <IconButton variant="secondary" aria-label="View tasks"> - <KebabIcon /> - </IconButton> - <Menu> - <Section title="Actions"> - <Item key="launch">Launch...</Item> - <Item key="eject">Eject...</Item> - <Item key="land">Land...</Item> - </Section> - <Section title="Others"> - <Item key="help">Help</Item> - <Item key="exit">Exit</Item> - </Section> - </Menu> - </MenuTrigger> - </Story> -</Preview> - -### Dividers - -A menu items can be separated by dividers. - -<Preview> - <Story name="dividers"> - <MenuTrigger> - <IconButton variant="secondary" aria-label="View tasks"> - <KebabIcon /> - </IconButton> - <Menu> - <Item key="launch">Launch...</Item> - <Item key="eject">Eject...</Item> - <Item key="land">Land...</Item> - <Divider /> - <Item key="help">Help</Item> - <Item key="exit">Exit</Item> - </Menu> - </MenuTrigger> - </Story> -</Preview> - -### Item icon - -A menu item can have [icons](?path=/docs/icon-gallery--page). - -<Preview> - <Story name="item icon"> - <MenuTrigger> - <IconButton variant="secondary" aria-label="View tasks"> - <KebabIcon /> - </IconButton> - <Menu> - <Item key="launch"> - <SparklesIcon /> - <Text>Launch...</Text> - </Item> - <Item key="eject"> - <SparklesIcon /> - <Text>Eject...</Text> - </Item> - <Item key="land"> - <SparklesIcon /> - <Text>Land...</Text> - </Item> - </Menu> - </MenuTrigger> - </Story> -</Preview> - -### Item end icon - -A select item can have *non standard* end [icons](?path=/docs/icon-gallery--page) can be provided to handle special cases like displaying a list of icons. However, think twice before adding *end* icons, *start* icons should be your go to. - -<Preview> - <Story name="item end icon"> - <MenuTrigger> - <IconButton variant="secondary" aria-label="View tasks"> - <KebabIcon /> - </IconButton> - <Menu> - <Item key="launch"> - <Text>Launch...</Text> - <IconList slot="end-icon"> - <SparklesIcon /> - <CatIcon /> - <RocketIcon /> - </IconList> - </Item> - <Item key="eject"> - <Text>Eject...</Text> - <SparklesIcon slot="end-icon" /> - </Item> - <Item key="land"> - <Text>Land...</Text> - <IconList slot="end-icon"> - <SparklesIcon /> - <CatIcon /> - <RocketIcon /> - </IconList> - </Item> - </Menu> - </MenuTrigger> - </Story> -</Preview> - -### Item description - -A menu item can have a **single line** description. - -<Preview> - <Story name="item description"> - <MenuTrigger> - <IconButton variant="secondary" aria-label="View tasks"> - <KebabIcon /> - </IconButton> - <Menu> - <Item key="launch"> - <Text>Launch...</Text> - <Text slot="description">Launch...</Text> - </Item> - <Item key="eject"> - <Text>Eject...</Text> - <Text slot="description">Eject...</Text> - </Item> - <Item key="land"> - <Text>Land...</Text> - <Text slot="description">Land on Of Course I Still Love You</Text> - </Item> - </Menu> - </MenuTrigger> - </Story> -</Preview> - -A description can be paired with an [icon](?path=/docs/icon-gallery--page). - -<Preview> - <Story name="item description + icon"> - <MenuTrigger> - <IconButton variant="secondary" aria-label="View tasks"> - <KebabIcon /> - </IconButton> - <Menu> - <Item key="launch"> - <SparklesIcon /> - <Text>Launch...</Text> - <Text slot="description">Launch...</Text> - </Item> - <Item key="eject"> - <SparklesIcon /> - <Text>Eject...</Text> - <Text slot="description">Eject...</Text> - </Item> - <Item key="land"> - <SparklesIcon /> - <Text>Land...</Text> - <Text slot="description">Land on Of Course I Still Love You</Text> - </Item> - </Menu> - </MenuTrigger> - </Story> -</Preview> - -A description can also be paired with an [avatar](?path=/docs/avatar--default-story) - -<Preview> - <Story name="item description + avatar"> - <MenuTrigger> - <IconButton variant="secondary" aria-label="View tasks"> - <KebabIcon /> - </IconButton> - <Menu> - <Item key="launch"> - <Avatar name="Sally Ride" /> - <Text>Sally Ride</Text> - <Text slot="description">First American woman to go into space</Text> - </Item> - <Item key="eject"> - <Avatar name="Alan Shepard" /> - <Text>Alan Shepard</Text> - <Text slot="description">American astronaut, naval aviator, test pilot, and businessman</Text> - </Item> - <Item key="land"> - <Avatar name="Chris Hadfield" /> - <Text>Chris Hadfield</Text> - <Text slot="description">First Canadian Astronaut to walk in space</Text> - </Item> - </Menu> - </MenuTrigger> - </Story> -</Preview> - -### Item tooltip - -A menu item can have a basic tooltip. - -<Preview> - <Story name="item tooltip"> - <MenuTrigger> - <IconButton variant="secondary" aria-label="View tasks"> - <KebabIcon /> - </IconButton> - <Menu> - <Item key="launch">Launch...</Item> - <Item key="eject">Eject...</Item> - <TooltipTrigger> - <Item key="land">Land...</Item> - <Tooltip>Land on Of Course I Still Love You</Tooltip> - </TooltipTrigger> - <Item key="help">Help</Item> - <Item key="exit">Exit</Item> - </Menu> - </MenuTrigger> - </Story> -</Preview> - -### Disabled item - -A menu item can be disabled. - -<Preview> - <Story name="disabled item"> - <MenuTrigger> - <IconButton variant="secondary" aria-label="View tasks"> - <KebabIcon /> - </IconButton> - <Menu> - <Item disabled key="launch">Launch...</Item> - <Item key="eject">Eject...</Item> - <Item disabled key="land">Land...</Item> - <Item key="help">Help</Item> - <Item key="exit">Exit</Item> - </Menu> - </MenuTrigger> - </Story> -</Preview> - -### Validation - -A menu can display a validation state to communicate to the user whether the current value is valid or invalid. Implement your own validation logic in your app and pass either `"valid"` or `"invalid"` to the menu via the `validationState` prop. - -<Preview> - <Story name="validation"> - <Menu validationState="invalid" defaultSelectedKeys={["land"]} selectionMode="single" aria-label="View tasks"> - <Item key="launch">Launch...</Item> - <Item key="eject">Eject...</Item> - <Item key="land">Land...</Item> - <Item key="help">Help</Item> - <Item key="exit">Exit</Item> - </Menu> - </Story> -</Preview> - -### Selection - -A menu supports multiple selection modes. By default, selection is disabled, however this can be changed by settings the `selectionMode` property to `"single"` or `"multiple"`. - -> When using selection with a `<Menu>` component wraped inside a `<MenuTrigger>`, you must handled the selected keys in controlled mode with the `selectedKeys` property otherwise the selected keys won't be persisted through openings. - -<Preview filePath="/menu/docs/Selection" /> - -### Custom trigger - -A menu trigger can update is appareance based on the `isOpen` value by using `useMenuTriggerContext`. - -Any trigger would work as long as it accepts a `ref` and any other props provided by the menu. - -<Preview filePath="/menu/docs/CustomTrigger" /> - -### Disclosure arrow - -You can use a [disclosure arrow](?path=/docs/disclosure-arrow--context) component to hint that activating the button will display additional content. - -<Preview> - <Story name="disclosure arrow"> - <MenuTrigger> - <Button variant="secondary"> - <Text>Trigger</Text> - <DisclosureArrow slot="end-icon" /> - </Button> - <Menu> - <Item key="launch">Launch...</Item> - <Item key="eject">Eject...</Item> - <Item key="land">Land...</Item> - <Item key="help">Help</Item> - <Item key="exit">Exit</Item> - </Menu> - </MenuTrigger> - </Story> -</Preview> - -### Dynamic items - -A menu items can be rendered dynamically. - -<Preview> - <Story name="dynamic items"> - <MenuTrigger> - <IconButton variant="secondary" aria-label="View tasks"> - <KebabIcon /> - </IconButton> - <Menu> - {["Launch", "Eject", "Land", "Help", "Exit"].map(x => ( - <Item key={x.toLowerCase()}>{x}</Item> - ))} - </Menu> - </MenuTrigger> - </Story> -</Preview> - -### Controlled - -The `selectedKey` and `open` state can be handled in controlled mode. - -<Preview filePath="/menu/docs/ControlledMenu" /> - -### Opening a modal - -A `ModalTrigger` component won't work with a menu item. Still, it can be done with a [custom modal trigger](?path=/docs/modal--default-story#custom-trigger). - -<Preview filePath="/menu/docs/Modal" /> - -## API - -### MenuTrigger - -<ComponentInfo - usage={"import { MenuTrigger } from \"@workleap/orbiter-ui\";"} - inherits={[InnerMenuTrigger.defaultElement, "styled-component"]} - compact -/> - -<ArgsTable of={InnerMenuTrigger} sort="alpha" /> - -### Menu - -<ComponentInfo - usage={"import { Menu } from \"@workleap/orbiter-ui\";"} - inherits={[InnerMenu.defaultElement, "styled-component"]} - compact -/> - -<ArgsTable of={InnerMenu} sort="alpha" /> - -### Item - -<ComponentInfo - usage={"import { Item } from \"@workleap/orbiter-ui\";"} - slots={["icon", "text", "description", "end-icon"]} - compact -/> - -<ArgsTable of={InnerItem} sort="alpha" /> - -### Section - -<ComponentInfo - usage={"import { Section } from \"@workleap/orbiter-ui\";"} - compact -/> - -<ArgsTable of={InnerSection} sort="alpha" /> - -### Divider - -<ComponentInfo - usage={"import { Divider } from \"@workleap/orbiter-ui\";"} - inherits={[InnerDivider.defaultElement, "styled-component"]} - compact -/> - -<ArgsTable of={InnerDivider} sort="alpha" /> - -### MenuItem - -<ComponentInfo - usage={"import { MenuItem } from \"@workleap/orbiter-ui\";"} - inherits={[InnerMenuItem.defaultElement, "styled-component"]} - compact -/> - -<ArgsTable of={InnerMenuItem} sort="alpha" /> - -### MenuSection - -<ComponentInfo - usage={"import { MenuSection } from \"@workleap/orbiter-ui\";"} - inherits={[InnerMenuSection.defaultElement, "styled-component"]} - compact -/> - -<ArgsTable of={InnerMenuSection} sort="alpha" /> - - diff --git a/packages/components/src/menu/docs/Menu.stories.tsx b/packages/components/src/menu/docs/Menu.stories.tsx new file mode 100644 index 000000000..23e513635 --- /dev/null +++ b/packages/components/src/menu/docs/Menu.stories.tsx @@ -0,0 +1,442 @@ +import { Menu, MenuTrigger, useMenuTriggerContext } from "@components/menu"; +import { Button, IconButton } from "@components/button"; +import { IconList } from "@components/icons"; +import { Content, Item, Section } from "@components/collection"; +import { Divider } from "@components/divider"; +import { DisclosureArrow } from "@components/disclosure"; +import { TooltipTrigger, Tooltip } from "@components/tooltip"; +import { Avatar } from "@components/avatar"; +import { Modal } from "@components/modal"; +import { Heading, Paragraph, Text } from "@components/typography"; +import { Overlay } from "@components/overlay"; +import { CatIcon, KebabIcon, RocketIcon, SparklesIcon } from "@hopper-ui/icons"; +import { useCallback, useState, forwardRef } from "react"; + +import { Meta, StoryObj } from "@storybook/react"; + +const meta = { + title: "Components/Menu", + component: Menu, + id: "menu" +} as Meta<typeof Menu>; + +export default meta; + +type MenuStory = StoryObj<typeof meta>; + +export const Default: MenuStory = { + render: () => ( + <MenuTrigger> + <IconButton aria-label="View tasks" variant="secondary"> + <KebabIcon /> + </IconButton> + <Menu> + <Item key="launch">Launch...</Item> + <Item key="eject">Eject...</Item> + <Item key="land">Land...</Item> + <Item key="help">Help</Item> + <Item key="exit">Exit</Item> + </Menu> + </MenuTrigger> + ) +}; + +export const Sections: MenuStory = { + render: () => ( + <MenuTrigger> + <IconButton aria-label="View tasks" variant="secondary"> + <KebabIcon /> + </IconButton> + <Menu> + <Section title="Actions"> + <Item key="launch">Launch...</Item> + <Item key="eject">Eject...</Item> + <Item key="land">Land...</Item> + </Section> + <Section title="Others"> + <Item key="help">Help</Item> + <Item key="exit">Exit</Item> + </Section> + </Menu> + </MenuTrigger> + ) +}; + +export const Dividers: MenuStory = { + render: () => ( + <MenuTrigger> + <IconButton aria-label="View tasks" variant="secondary"> + <KebabIcon /> + </IconButton> + <Menu> + <Item key="launch">Launch...</Item> + <Item key="eject">Eject...</Item> + <Item key="land">Land...</Item> + <Divider /> + <Item key="help">Help</Item> + <Item key="exit">Exit</Item> + </Menu> + </MenuTrigger> + ) +}; + +export const ItemIcon: MenuStory = { + render: () => ( + <MenuTrigger> + <IconButton aria-label="View tasks" variant="secondary"> + <KebabIcon /> + </IconButton> + <Menu> + <Item key="launch"> + <SparklesIcon /> + <Text>Launch...</Text> + </Item> + <Item key="eject"> + <SparklesIcon /> + <Text>Eject...</Text> + </Item> + <Item key="land"> + <SparklesIcon /> + <Text>Land...</Text> + </Item> + </Menu> + </MenuTrigger> + ) +}; + +export const ItemEndIcon: MenuStory = { + render: () => ( + <MenuTrigger> + <IconButton aria-label="View tasks" variant="secondary"> + <KebabIcon /> + </IconButton> + <Menu> + <Item key="launch"> + <Text>Launch...</Text> + <IconList slot="end-icon"> + <SparklesIcon /> + <CatIcon /> + <RocketIcon /> + </IconList> + </Item> + <Item key="eject"> + <Text>Eject...</Text> + <SparklesIcon slot="end-icon" /> + </Item> + <Item key="land"> + <Text>Land...</Text> + <IconList slot="end-icon"> + <SparklesIcon /> + <CatIcon /> + <RocketIcon /> + </IconList> + </Item> + </Menu> + </MenuTrigger> + ) +}; + +export const ItemDescription: MenuStory = { + render: () => ( + <MenuTrigger> + <IconButton aria-label="View tasks" variant="secondary"> + <KebabIcon /> + </IconButton> + <Menu> + <Item key="launch"> + <Text>Launch...</Text> + <Text slot="description">Launch...</Text> + </Item> + <Item key="eject"> + <Text>Eject...</Text> + <Text slot="description">Eject...</Text> + </Item> + <Item key="land"> + <Text>Land...</Text> + <Text slot="description">Land on Of Course I Still Love You</Text> + </Item> + </Menu> + </MenuTrigger> + ) +}; + +export const ItemDescriptionIcon: MenuStory = { + render: () => ( + <MenuTrigger> + <IconButton aria-label="View tasks" variant="secondary"> + <KebabIcon /> + </IconButton> + <Menu> + <Item key="launch"> + <SparklesIcon /> + <Text>Launch...</Text> + <Text slot="description">Launch...</Text> + </Item> + <Item key="eject"> + <SparklesIcon /> + <Text>Eject...</Text> + <Text slot="description">Eject...</Text> + </Item> + <Item key="land"> + <SparklesIcon /> + <Text>Land...</Text> + <Text slot="description">Land on Of Course I Still Love You</Text> + </Item> + </Menu> + </MenuTrigger> + ) +}; + +export const ItemDescriptionAvatar: MenuStory = { + render: () => ( + <MenuTrigger> + <IconButton aria-label="View tasks" variant="secondary"> + <KebabIcon /> + </IconButton> + <Menu> + <Item key="launch"> + <Avatar name="Sally Ride" /> + <Text>Sally Ride</Text> + <Text slot="description">First American woman to go into space</Text> + </Item> + <Item key="eject"> + <Avatar name="Alan Shepard" /> + <Text>Alan Shepard</Text> + <Text slot="description">American astronaut, naval aviator, test pilot, and businessman</Text> + </Item> + <Item key="land"> + <Avatar name="Chris Hadfield" /> + <Text>Chris Hadfield</Text> + <Text slot="description">First Canadian Astronaut to walk in space</Text> + </Item> + </Menu> + </MenuTrigger> + ) +}; + +export const ItemTooltip: MenuStory = { + render: () => ( + <MenuTrigger> + <IconButton aria-label="View tasks" variant="secondary"> + <KebabIcon /> + </IconButton> + <Menu> + <Item key="launch">Launch...</Item> + <Item key="eject">Eject...</Item> + <TooltipTrigger> + <Item key="land">Land...</Item> + <Tooltip>Land on Of Course I Still Love You</Tooltip> + </TooltipTrigger> + <Item key="help">Help</Item> + <Item key="exit">Exit</Item> + </Menu> + </MenuTrigger> + ) +}; + +export const DisabledItem: MenuStory = { + render: () => ( + <MenuTrigger> + <IconButton aria-label="View tasks" variant="secondary"> + <KebabIcon /> + </IconButton> + <Menu> + <Item disabled key="launch">Launch...</Item> + <Item key="eject">Eject...</Item> + <Item disabled key="land">Land...</Item> + <Item key="help">Help</Item> + <Item key="exit">Exit</Item> + </Menu> + </MenuTrigger> + ) +}; + +export const Validation: MenuStory = { + render: () => ( + <Menu aria-label="View tasks" defaultSelectedKeys={["land"]} selectionMode="single" validationState="invalid"> + <Item key="launch">Launch...</Item> + <Item key="eject">Eject...</Item> + <Item key="land">Land...</Item> + <Item key="help">Help</Item> + <Item key="exit">Exit</Item> + </Menu> + ) +}; + +export const DisclosureArrowStory: MenuStory = { + render: () => ( + <MenuTrigger> + <Button variant="secondary"> + <Text>Trigger</Text> + <DisclosureArrow slot="end-icon" /> + </Button> + <Menu> + <Item key="launch">Launch...</Item> + <Item key="eject">Eject...</Item> + <Item key="land">Land...</Item> + <Item key="help">Help</Item> + <Item key="exit">Exit</Item> + </Menu> + </MenuTrigger> + ) +}; + +export const DynamicItems: MenuStory = { + render: () => ( + <MenuTrigger> + <IconButton aria-label="View tasks" variant="secondary"> + <KebabIcon /> + </IconButton> + <Menu> + {["Launch", "Eject", "Land", "Help", "Exit"].map(x => ( + <Item key={x.toLowerCase()}>{x}</Item> + ))} + </Menu> + </MenuTrigger> + ) +}; + +/* eslint-disable react-hooks/rules-of-hooks */ +export const Controlled: MenuStory = { + render: () => { + const [selectedKey, setSelectedKey] = useState([]); + const [isOpen, setIsOpen] = useState(false); + + const handleOpenChange = useCallback((event, newOpen) => { + setIsOpen(newOpen); + console.log(newOpen); + }, [setIsOpen]); + + const handleSelectionChange = useCallback((event, newKeys) => { + setSelectedKey(newKeys); + console.log(newKeys); + }, []); + + return ( + <MenuTrigger + onOpenChange={handleOpenChange} + open={isOpen} + > + <Button variant="secondary">Trigger</Button> + <Menu + onSelectionChange={handleSelectionChange} + selectedKeys={selectedKey} + selectionMode="single" + > + <Item key="launch">Launch...</Item> + <Item key="eject">Eject...</Item> + <Item key="land">Land...</Item> + <Item key="help">Help</Item> + <Item key="exit">Exit</Item> + </Menu> + </MenuTrigger> + ); + } +}; + +/* eslint-disable react-hooks/rules-of-hooks */ +export const ModalStory: MenuStory = { + render: () => { + const [isOpen, setIsOpen] = useState(false); + + const handleSelectionChange = useCallback((event, keys) => { + setIsOpen(true); + }, [setIsOpen]); + + const handleModalClose = useCallback(() => { + setIsOpen(false); + }, [setIsOpen]); + + return ( + <> + <MenuTrigger> + <IconButton aria-label="View tasks" variant="secondary"> + <KebabIcon /> + </IconButton> + <Menu onSelectionChange={handleSelectionChange}> + <Item key="launch">Launch...</Item> + <Item key="eject">Eject...</Item> + <Item key="land">Land...</Item> + </Menu> + </MenuTrigger> + <Overlay show={isOpen}> + <Modal onClose={handleModalClose}> + <Heading>Apollo 11 movie</Heading> + <Content> + <Paragraph>Apollo 11 is a 2019 American documentary film edited, produced and directed by Todd Douglas Miller. It focuses on the 1969 Apollo 11 mission, the first spaceflight from which men walked on the Moon.</Paragraph> + <Paragraph> + The film consists solely of archival footage, including 70 mm film previously unreleased to the public, and does not feature narration, interviews or modern recreations. The Saturn V rocket, Apollo crew consisting + of Buzz Aldrin, Neil Armstrong, and Michael Collins, and Apollo program Earth-based mission operations engineers are prominently featured in the film. + </Paragraph> + </Content> + </Modal> + </Overlay> + </> + ); + } +}; + +/* eslint-disable react-hooks/rules-of-hooks */ +export const Selection: MenuStory = { + render: () => { + const [selectedKeys, setSelectedKeys] = useState([]); + + const handleSelectionChange = useCallback((event, newKeys) => { + setSelectedKeys(newKeys); + }, [setSelectedKeys]); + + return ( + <MenuTrigger> + <IconButton aria-label="View tasks" variant="secondary"> + <KebabIcon /> + </IconButton> + <Menu onSelectionChange={handleSelectionChange} selectedKeys={selectedKeys} selectionMode="multiple"> + <Section title="Actions"> + <Item key="launch">Launch...</Item> + <Item key="eject">Eject...</Item> + <Item key="land">Land...</Item> + </Section> + <Section title="Others"> + <Item key="help">Help</Item> + <Item key="exit">Exit</Item> + </Section> + </Menu> + </MenuTrigger> + ); + } +}; + +/* eslint-disable react-hooks/rules-of-hooks */ +export const CustomTriggerStory: MenuStory = { + render: () => { + const CustomTrigger = forwardRef((props, ref) => { + const { isOpen } = useMenuTriggerContext(); + + return ( + <IconButton + {...props} + aria-label="View tasks" + ref={ref} + variant={isOpen ? "primary" : "secondary"} + > + <KebabIcon /> + </IconButton> + ); + }); + + return ( + <MenuTrigger> + <CustomTrigger /> + <Menu> + <Item key="launch">Launch...</Item> + <Item key="eject">Eject...</Item> + <Item key="land">Land...</Item> + <Divider /> + <Item key="help">Help</Item> + <Item key="exit">Exit</Item> + </Menu> + </MenuTrigger> + ); + } +}; + diff --git a/packages/components/src/menu/docs/Modal.sample.jsx b/packages/components/src/menu/docs/Modal.sample.jsx deleted file mode 100644 index bbe9963fa..000000000 --- a/packages/components/src/menu/docs/Modal.sample.jsx +++ /dev/null @@ -1,38 +0,0 @@ -() => { - const [isOpen, setIsOpen] = useState(false); - - const handleSelectionChange = useCallback((event, keys) => { - setIsOpen(true); - }, [setIsOpen]); - - const handleModalClose = useCallback(() => { - setIsOpen(false); - }, [setIsOpen]); - - return ( - <> - <MenuTrigger> - <IconButton variant="secondary" aria-label="View tasks"> - <KebabIcon /> - </IconButton> - <Menu onSelectionChange={handleSelectionChange}> - <Item key="launch">Launch...</Item> - <Item key="eject">Eject...</Item> - <Item key="land">Land...</Item> - </Menu> - </MenuTrigger> - <Overlay show={isOpen}> - <Modal onClose={handleModalClose}> - <Heading>Apollo 11 movie</Heading> - <Content> - <Paragraph>Apollo 11 is a 2019 American documentary film edited, produced and directed by Todd Douglas Miller. It focuses on the 1969 Apollo 11 mission, the first spaceflight from which men walked on the Moon.</Paragraph> - <Paragraph> - The film consists solely of archival footage, including 70 mm film previously unreleased to the public, and does not feature narration, interviews or modern recreations. The Saturn V rocket, Apollo crew consisting - of Buzz Aldrin, Neil Armstrong, and Michael Collins, and Apollo program Earth-based mission operations engineers are prominently featured in the film. - </Paragraph> - </Content> - </Modal> - </Overlay> - </> - ); -}; diff --git a/packages/components/src/menu/docs/Selection.sample.jsx b/packages/components/src/menu/docs/Selection.sample.jsx deleted file mode 100644 index f4fed1c4f..000000000 --- a/packages/components/src/menu/docs/Selection.sample.jsx +++ /dev/null @@ -1,26 +0,0 @@ -() => { - const [selectedKeys, setSelectedKeys] = useState([]); - - const handleSelectionChange = useCallback((event, newKeys) => { - setSelectedKeys(newKeys); - }, [setSelectedKeys]); - - return ( - <MenuTrigger> - <IconButton variant="secondary" aria-label="View tasks"> - <KebabIcon /> - </IconButton> - <Menu selectionMode="multiple" selectedKeys={selectedKeys} onSelectionChange={handleSelectionChange}> - <Section title="Actions"> - <Item key="launch">Launch...</Item> - <Item key="eject">Eject...</Item> - <Item key="land">Land...</Item> - </Section> - <Section title="Others"> - <Item key="help">Help</Item> - <Item key="exit">Exit</Item> - </Section> - </Menu> - </MenuTrigger> - ); -}; From 0e2b7afb290848fbb64ece0e567397f6a28aef41 Mon Sep 17 00:00:00 2001 From: Francis Thibault <francis.thibault@gsoft.com> Date: Fri, 1 Nov 2024 13:16:26 -0400 Subject: [PATCH 25/95] added select --- .../select/docs/ControlledSelect.sample.jsx | 32 -- .../src/select/docs/CustomSelect.sample.jsx | 45 -- .../components/src/select/docs/Select.mdx | 182 ++++++++ ...{Select.stories.mdx => Select.stories.tsx} | 414 +++++++++--------- .../docs/SelectedValueValidation.sample.jsx | 24 - 5 files changed, 382 insertions(+), 315 deletions(-) delete mode 100644 packages/components/src/select/docs/ControlledSelect.sample.jsx delete mode 100644 packages/components/src/select/docs/CustomSelect.sample.jsx create mode 100644 packages/components/src/select/docs/Select.mdx rename packages/components/src/select/docs/{Select.stories.mdx => Select.stories.tsx} (55%) delete mode 100644 packages/components/src/select/docs/SelectedValueValidation.sample.jsx diff --git a/packages/components/src/select/docs/ControlledSelect.sample.jsx b/packages/components/src/select/docs/ControlledSelect.sample.jsx deleted file mode 100644 index 042d91f63..000000000 --- a/packages/components/src/select/docs/ControlledSelect.sample.jsx +++ /dev/null @@ -1,32 +0,0 @@ -() => { - const [isOpen, setIsOpen] = useState(false); - const [selectedKey, setSelectedKey] = useState("earth"); - - const handleSelectionChange = useCallback((event, newValue) => { - setSelectedKey(newValue); - console.log(newValue); - }, [setSelectedKey]); - - const handleOpenChange = useCallback((event, newValue) => { - setIsOpen(newValue); - console.log(newValue); - }, [setIsOpen]); - - return ( - <Select - open={isOpen} - selectedKey={selectedKey} - placeholder="Planets" - onSelectionChange={handleSelectionChange} - onOpenChange={handleOpenChange} - > - <Item key="earth">Earth</Item> - <Item key="jupiter">Jupiter</Item> - <Item key="mars">Mars</Item> - <Item key="mercury">Mercury</Item> - <Item key="neptune">Neptune</Item> - <Item key="saturn">Saturn</Item> - <Item key="uranus">Uranus</Item> - </Select> - ); -}; diff --git a/packages/components/src/select/docs/CustomSelect.sample.jsx b/packages/components/src/select/docs/CustomSelect.sample.jsx deleted file mode 100644 index eb531b0d7..000000000 --- a/packages/components/src/select/docs/CustomSelect.sample.jsx +++ /dev/null @@ -1,45 +0,0 @@ -function CustomSelect({ - placeholder, - children, - ...rest -}) { - const { selectedItem, isOpen, triggerProps, overlayProps, listboxProps, valueProps } = useSelect(children); - - return ( - <> - <Button - {...rest} - {...triggerProps} - variant="secondary" - width={{ - base: "100%", - sm: "320px" - }} - > - <Text {...valueProps}> - {!isNil(selectedItem) ? selectedItem.text : placeholder} - </Text> - <DisclosureArrow - open={isOpen} - slot="end-icon" - /> - </Button> - <Overlay {...overlayProps}> - <Listbox {...listboxProps} /> - </Overlay> - </> - ); -} - -render(() => - <CustomSelect placeholder="Select a planet"> - <Item key="earth">Earth</Item> - <Item key="jupiter">Jupiter</Item> - <Item key="mars">Mars</Item> - <Item key="mercury">Mercury</Item> - <Item key="neptune">Neptune</Item> - <Item key="saturn">Saturn</Item> - <Item key="uranus">Uranus</Item> - </CustomSelect> -); - diff --git a/packages/components/src/select/docs/Select.mdx b/packages/components/src/select/docs/Select.mdx new file mode 100644 index 000000000..e1c10d6bf --- /dev/null +++ b/packages/components/src/select/docs/Select.mdx @@ -0,0 +1,182 @@ +import { ArgTypes, Meta, Canvas } from "@storybook/addon-docs"; +import { Avatar } from "@components/avatar"; +import { ComponentInfo, Preview, Tagline } from "@stories/components"; +import { IconList } from "@components/icons"; +import { CatIcon, SparklesIcon, RocketIcon, SearchIcon } from "@hopper-ui/icons"; +import { HiddenSelect, InnerHiddenSelect, InnerSelect, Select } from "@components/select"; +import { InnerItem, InnerSection, Item, Section } from "@components/collection"; +import { Text } from "@components/typography"; +import { Tooltip, TooltipTrigger } from "@components/tooltip"; + +import * as SelectStories from "./Select.stories.tsx"; + +<Meta of={SelectStories} /> + +# Select + +<Tagline>A select allow users to choose a single option from a collapsible list of options.</Tagline> + +<ComponentInfo + usage={"import { Select, Item, Section, HiddenSelect, useSelect } from \"@workleap/orbiter-ui\";"} + ariaPath="listbox" + githubPath="/packages/components/src/select/src" +/> + +## Guidelines + +### Accessibility + +- If you provide an [`aria-label`](https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Attributes/aria-label) attribute, make sure its value is in sync with the selected item, otherwise screen readers won't be able to anounce the new selected item. + +## Usage + +### Default + +A default select. + +<Canvas of={SelectStories.Default} /> + +### Sections + +A select items can be group by sections. + +<Canvas of={SelectStories.Sections} /> + +### Item icon + +A select item can have [icons](?path=/docs/icon-gallery--page). + +<Canvas of={SelectStories.ItemIcon} /> + +### Item end icon + +A select item can have *non standard* end [icons](?path=/docs/icon-gallery--page) for special cases like displaying a list of icons. However, think twice before adding *end* icons, as *start* icons should be your go-to. + +<Canvas of={SelectStories.ItemEndIcon} /> + +### Item description + +A select item can have a description. + +<Canvas of={SelectStories.ItemDescription} /> + +A description can be paired with an [icon](?path=/docs/icon-gallery--page). + +<Canvas of={SelectStories.ItemDescriptionIcon} /> + +A description can be paired with an [avatar](?path=/docs/avatar--default-story). + +<Canvas of={SelectStories.ItemDescriptionAvatar} /> + +### Item tooltip + +A select can have a basic tooltip. + +<Canvas of={SelectStories.ItemTooltip} /> + +### Disabled item + +A select item can be disabled. + +<Canvas of={SelectStories.DisabledItem} /> + +### Trigger icon + +A select trigger can have an icon. + +<Canvas of={SelectStories.TriggerIcon} /> + +### Disabled + +<Canvas of={SelectStories.Disabled} /> + +### Readonly + +<Canvas of={SelectStories.Readonly} /> + +### Fluid + +A select can take the width of its container. + +<Canvas of={SelectStories.Fluid} /> + +### Validation + +A select can display a validation state to communicate whether the current value is valid or invalid. Implement your own validation logic in your app and pass either `"valid"` or `"invalid"` to the select via the `validationState` prop. + +The example below illustrates how to validate that a specific value has been selected. + +<Canvas of={SelectStories.SelectedValueValidation} /> + +### Form + +A select can be part of a form. To submit the value of a select, specify the `name` property. + +<Canvas of={SelectStories.Form} /> + +### Dynamic items + +Select items can be rendered dynamically. + +<Canvas of={SelectStories.DynamicItems} /> + +### Controlled + +The `selectedKey` and `open` state can be handled in controlled mode. + +<Canvas of={SelectStories.ControlledSelect} /> + +### Ghost + +A select can be more discrete. + +<Canvas of={SelectStories.Ghost} /> + +### Headless select + +For advanced customization use cases, Orbiter helps by providing an headless `useSelect` hook. + +Make sure your trigger accepts a `ref` and any other props returned by the hook. + +<Canvas of={SelectStories.CustomSelectStory} /> + +## API + +### Select + +<ComponentInfo + usage={"import { Select } from \"@workleap/orbiter-ui\";"} + inherits={[InnerSelect.defaultElement, "styled-component"]} + compact +/> + +<ArgTypes of={InnerSelect} sort="alpha" /> + +### Item + +<ComponentInfo + usage={"import { Item } from \"@workleap/orbiter-ui\";"} + slots={["icon", "avatar", "text", "description", "end-icon"]} + compact +/> + +<ArgTypes of={InnerItem} sort="alpha" /> + +### Section + +<ComponentInfo + usage={"import { Section } from \"@workleap/orbiter-ui\";"} + compact +/> + +<ArgTypes of={InnerSection} sort="alpha" /> + +### HiddenSelect + +<ComponentInfo + usage={"import { HiddenSelect } from \"@workleap/orbiter-ui\";"} + inherits={[InnerHiddenSelect.defaultElement, "styled-component"]} + compact +/> + +<ArgTypes of={InnerHiddenSelect} sort="alpha" /> diff --git a/packages/components/src/select/docs/Select.stories.mdx b/packages/components/src/select/docs/Select.stories.tsx similarity index 55% rename from packages/components/src/select/docs/Select.stories.mdx rename to packages/components/src/select/docs/Select.stories.tsx index 7c27cc3c6..e098cd2a0 100644 --- a/packages/components/src/select/docs/Select.stories.mdx +++ b/packages/components/src/select/docs/Select.stories.tsx @@ -1,42 +1,31 @@ -import { ArgsTable, Meta, Story } from "@storybook/addon-docs"; import { Avatar } from "@components/avatar"; -import { ComponentInfo, Preview, Tagline } from "@stories/components"; -import { IconList } from "@components/icons"; -import { CatIcon, SparklesIcon, RocketIcon, SearchIcon } from "@hopper-ui/icons"; -import { HiddenSelect, InnerHiddenSelect, InnerSelect, Select } from "@components/select"; -import { InnerItem, InnerSection, Item, Section } from "@components/collection"; +import { Select, useSelect } from "@components/select"; +import { Button } from "@components/button"; +import { DisclosureArrow } from "@components/disclosure"; +import { Overlay } from "@components/overlay"; +import { Section, Item } from "@components/collection"; +import { CatIcon, RocketIcon, SearchIcon, SparklesIcon } from "@hopper-ui/icons"; +import { TooltipTrigger, Tooltip } from "@components/tooltip"; import { Text } from "@components/typography"; -import { Tooltip, TooltipTrigger } from "@components/tooltip"; - -<Meta - title="Components/Select" - id="select" -/> - -# Select - -<Tagline>A select allow users to choose a single option from a collapsible list of options.</Tagline> - -<ComponentInfo - usage={"import { Select, Item, Section, HiddenSelect, useSelect } from \"@workleap/orbiter-ui\";"} - ariaPath="listbox" - githubPath="/packages/components/src/select/src" -/> - -## Guidelines - -### Accessibility +import { Listbox } from "@components/listbox"; +import { IconList } from "@components/icons"; +import { isNil } from "@components/shared"; +import { useCallback, useState } from "react"; -- If you provide an [`aria-label`](https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Attributes/aria-label) attribute, make sure its value is in sync with the selected item, otherwise screen readers won't be able to anounce the new selected item. +import { Meta, StoryObj } from "@storybook/react"; -## Usage +const meta = { + title: "Components/Select", + component: Select, + id: "select" +} as Meta<typeof Select>; -### Default +export default meta; -A default select. +type SelectStory = StoryObj<typeof meta>; -<Preview> - <Story name="default"> +export const Default: SelectStory = { + render: () => ( <Select placeholder="Planets"> <Item key="earth">Earth</Item> <Item key="jupiter">Jupiter</Item> @@ -46,15 +35,11 @@ A default select. <Item key="saturn">Saturn</Item> <Item key="uranus">Uranus</Item> </Select> - </Story> -</Preview> - -### Sections + ) +}; -A select items can be group by sections. - -<Preview> - <Story name="sections"> +export const Sections: SelectStory = { + render: () => ( <Select placeholder="Planets"> <Section title="Visited"> <Item key="earth">Earth</Item> @@ -68,15 +53,11 @@ A select items can be group by sections. <Item key="uranus">Uranus</Item> </Section> </Select> - </Story> -</Preview> - -### Item icon + ) +}; -A select item can have [icons](?path=/docs/icon-gallery--page). - -<Preview> - <Story name="item icon"> +export const ItemIcon: SelectStory = { + render: () => ( <Select placeholder="Planets"> <Item key="earth"> <SparklesIcon /> @@ -91,15 +72,11 @@ A select item can have [icons](?path=/docs/icon-gallery--page). <Text>Mars</Text> </Item> </Select> - </Story> -</Preview> - -### Item end icon - -A select item can have *non standard* end [icons](?path=/docs/icon-gallery--page) can be provided to handle special cases like displaying a list of icons. However, think twice before adding *end* icons, *start* icons should be your go to. + ) +}; -<Preview> - <Story name="item end icon"> +export const ItemEndIcon: SelectStory = { + render: () => ( <Select placeholder="Planets"> <Item key="earth"> <Text>Earth</Text> @@ -122,15 +99,11 @@ A select item can have *non standard* end [icons](?path=/docs/icon-gallery--page </IconList> </Item> </Select> - </Story> -</Preview> - -### Item description - -A select item can have a description. + ) +}; -<Preview> - <Story name="item description"> +export const ItemDescription: SelectStory = { + render: () => ( <Select placeholder="Planets"> <Item key="earth"> <Text>Earth</Text> @@ -145,13 +118,11 @@ A select item can have a description. <Text slot="description">See you in 2026</Text> </Item> </Select> - </Story> -</Preview> + ) +}; -A description can be paired with an [icon](?path=/docs/icon-gallery--page). - -<Preview> - <Story name="item description + icon"> +export const ItemDescriptionIcon: SelectStory = { + render: () => ( <Select placeholder="Planets"> <Item key="earth"> <SparklesIcon /> @@ -169,13 +140,11 @@ A description can be paired with an [icon](?path=/docs/icon-gallery--page). <Text slot="description">See you in 2026</Text> </Item> </Select> - </Story> -</Preview> - -A description can be paired with an [avatar](?path=/docs/avatar--default-story). + ) +}; -<Preview> - <Story name="item description + avatar"> +export const ItemDescriptionAvatar: SelectStory = { + render: () => ( <Select placeholder="Planets"> <Item key="earth"> <Avatar name="Earth" /> @@ -193,15 +162,11 @@ A description can be paired with an [avatar](?path=/docs/avatar--default-story). <Text slot="description">See you in 2026</Text> </Item> </Select> - </Story> -</Preview> - -### Item tooltip + ) +}; -A select can have a basic tooltip. - -<Preview> - <Story name="item tooltip"> +export const ItemTooltip: SelectStory = { + render: () => ( <Select placeholder="Planets"> <TooltipTrigger> <Item key="earth">Earth</Item> @@ -216,15 +181,11 @@ A select can have a basic tooltip. <Tooltip>See you in 2026</Tooltip> </TooltipTrigger> </Select> - </Story> -</Preview> - -### Disabled item + ) +}; -A select item can be disabled. - -<Preview> - <Story name="disabled item"> +export const DisabledItem: SelectStory = { + render: () => ( <Select placeholder="Planets"> <Item disabled key="earth">Earth</Item> <Item key="jupiter">Jupiter</Item> @@ -234,15 +195,11 @@ A select item can be disabled. <Item key="saturn">Saturn</Item> <Item key="uranus">Uranus</Item> </Select> - </Story> -</Preview> - -### Trigger icon - -A select trigger can have an icon. + ) +}; -<Preview> - <Story name="trigger icon"> +export const TriggerIcon: SelectStory = { + render: () => ( <Select icon={<SearchIcon />} placeholder="Planets"> <Item key="earth">Earth</Item> <Item key="jupiter">Jupiter</Item> @@ -252,13 +209,11 @@ A select trigger can have an icon. <Item key="saturn">Saturn</Item> <Item key="uranus">Uranus</Item> </Select> - </Story> -</Preview> + ) +}; -### Disabled - -<Preview> - <Story name="disabled"> +export const Disabled: SelectStory = { + render: () => ( <Select disabled placeholder="Planets"> <Item key="earth">Earth</Item> <Item key="jupiter">Jupiter</Item> @@ -268,14 +223,12 @@ A select trigger can have an icon. <Item key="saturn">Saturn</Item> <Item key="uranus">Uranus</Item> </Select> - </Story> -</Preview> - -### Readonly + ) +}; -<Preview> - <Story name="readonly"> - <Select readOnly placeholder="Planets"> +export const Readonly: SelectStory = { + render: () => ( + <Select placeholder="Planets" readOnly> <Item key="earth">Earth</Item> <Item key="jupiter">Jupiter</Item> <Item key="mars">Mars</Item> @@ -284,15 +237,11 @@ A select trigger can have an icon. <Item key="saturn">Saturn</Item> <Item key="uranus">Uranus</Item> </Select> - </Story> -</Preview> - -### Fluid + ) +}; -A select can take the width of it's container. - -<Preview> - <Story name="fluid"> +export const Fluid: SelectStory = { + render: () => ( <Select fluid placeholder="Planets"> <Item key="earth">Earth</Item> <Item key="jupiter">Jupiter</Item> @@ -302,23 +251,11 @@ A select can take the width of it's container. <Item key="saturn">Saturn</Item> <Item key="uranus">Uranus</Item> </Select> - </Story> -</Preview> - -### Validation - -A select can display a validation state to communicate to the user whether the current value is valid or invalid. Implement your own validation logic in your app and pass either `"valid"` or `"invalid"` to the select via the `validationState` prop. - -The example below illustrates how one would validate that a specific value have been selected. - -<Preview filePath="/select/docs/SelectedValueValidation" /> + ) +}; -### Form - -A select can be part of a form. To submit the value of a select, make sure you specify the `name` property. - -<Preview> - <Story name="form"> +export const Form: SelectStory = { + render: () => ( <form> <Select name="planet" placeholder="Planets"> <Item key="earth">Earth</Item> @@ -330,36 +267,22 @@ A select can be part of a form. To submit the value of a select, make sure you s <Item key="uranus">Uranus</Item> </Select> </form> - </Story> -</Preview> - -### Dynamic items + ) +}; -A select items can be rendered dynamically. - -<Preview> - <Story name="dynamic items"> - <Select placeholder="Planets" aria-label="Planets"> +export const DynamicItems: SelectStory = { + render: () => ( + <Select aria-label="Planets" placeholder="Planets"> {["Earth", "Jupiter", "Mars", "Mercury", "Neptune", "Saturn", "Uranus"].map(x => ( <Item key={x.toLowerCase()}>{x}</Item> ))} </Select> - </Story> -</Preview> - -### Controlled + ) +}; -The `selectedKey` and `open` state can be handled in controlled mode. - -<Preview filePath="/select/docs/ControlledSelect" /> - -### Ghost - -A select can be more discrete. - -<Preview> - <Story name="ghost"> - <Select variant="ghost" placeholder="Planets"> +export const Ghost: SelectStory = { + render: () => ( + <Select placeholder="Planets" variant="ghost"> <Item key="earth">Earth</Item> <Item key="jupiter">Jupiter</Item> <Item key="mars">Mars</Item> @@ -368,56 +291,119 @@ A select can be more discrete. <Item key="saturn">Saturn</Item> <Item key="uranus">Uranus</Item> </Select> - </Story> -</Preview> - -### Headless select - -For advanced customization use cases, Orbiter helps by providing an headless `useSelect` hook. - -Make sure your trigger accepts a `ref` and any other props returned by the hook. - -<Preview filePath="/select/docs/CustomSelect" /> - -## API - -### Select - -<ComponentInfo - usage={"import { Select } from \"@workleap/orbiter-ui\";"} - inherits={[InnerSelect.defaultElement, "styled-component"]} - compact -/> - -<ArgsTable of={InnerSelect} sort="alpha" /> - -### Item - -<ComponentInfo - usage={"import { Item } from \"@workleap/orbiter-ui\";"} - slots={["icon", "avatar", "text", "description", "end-icon"]} - compact -/> - -<ArgsTable of={InnerItem} sort="alpha" /> - -### Section - -<ComponentInfo - usage={"import { Section } from \"@workleap/orbiter-ui\";"} - compact -/> - -<ArgsTable of={InnerSection} sort="alpha" /> - -### HiddenSelect - -<ComponentInfo - usage={"import { HiddenSelect } from \"@workleap/orbiter-ui\";"} - inherits={[InnerHiddenSelect.defaultElement, "styled-component"]} - compact -/> - -<ArgsTable of={InnerHiddenSelect} sort="alpha" /> - - + ) +}; + +/* eslint-disable react-hooks/rules-of-hooks */ +export const SelectedValueValidation: SelectStory = { + render: () => { + const [isValid, setIsValid] = useState(true); + + const handleSelectionChange = useCallback((event, newValue) => { + setIsValid(newValue === "earth"); + console.log(newValue); + }, [setIsValid]); + + return ( + <Select + onSelectionChange={handleSelectionChange} + placeholder="Planets" + validationState={isValid ? "valid" : "invalid"} + > + <Item key="earth">Earth</Item> + <Item key="jupiter">Jupiter</Item> + <Item key="mars">Mars</Item> + <Item key="mercury">Mercury</Item> + <Item key="neptune">Neptune</Item> + <Item key="saturn">Saturn</Item> + <Item key="uranus">Uranus</Item> + </Select> + ); + } +}; + +/* eslint-disable react-hooks/rules-of-hooks */ +export const ControlledSelect: SelectStory = { + render: () => { + const [isOpen, setIsOpen] = useState(false); + const [selectedKey, setSelectedKey] = useState("earth"); + + const handleSelectionChange = useCallback((event, newValue) => { + setSelectedKey(newValue); + console.log(newValue); + }, [setSelectedKey]); + + const handleOpenChange = useCallback((event, newValue) => { + setIsOpen(newValue); + console.log(newValue); + }, [setIsOpen]); + + return ( + <Select + onOpenChange={handleOpenChange} + onSelectionChange={handleSelectionChange} + open={isOpen} + placeholder="Planets" + selectedKey={selectedKey} + > + <Item key="earth">Earth</Item> + <Item key="jupiter">Jupiter</Item> + <Item key="mars">Mars</Item> + <Item key="mercury">Mercury</Item> + <Item key="neptune">Neptune</Item> + <Item key="saturn">Saturn</Item> + <Item key="uranus">Uranus</Item> + </Select> + ); + } +}; + +/* eslint-disable react-hooks/rules-of-hooks */ +export const CustomSelectStory: SelectStory = { + render: () => { + function CustomSelect({ + placeholder, + children, + ...rest + }) { + const { selectedItem, isOpen, triggerProps, overlayProps, listboxProps, valueProps } = useSelect(children); + + return ( + <> + <Button + {...rest} + {...triggerProps} + variant="secondary" + width={{ + base: "100%", + sm: "320px" + }} + > + <Text {...valueProps}> + {!isNil(selectedItem) ? selectedItem.text : placeholder} + </Text> + <DisclosureArrow + open={isOpen} + slot="end-icon" + /> + </Button> + <Overlay {...overlayProps}> + <Listbox {...listboxProps} /> + </Overlay> + </> + ); + } + + return ( + <CustomSelect placeholder="Select a planet"> + <Item key="earth">Earth</Item> + <Item key="jupiter">Jupiter</Item> + <Item key="mars">Mars</Item> + <Item key="mercury">Mercury</Item> + <Item key="neptune">Neptune</Item> + <Item key="saturn">Saturn</Item> + <Item key="uranus">Uranus</Item> + </CustomSelect> + ); + } +}; diff --git a/packages/components/src/select/docs/SelectedValueValidation.sample.jsx b/packages/components/src/select/docs/SelectedValueValidation.sample.jsx deleted file mode 100644 index 7308d3d6e..000000000 --- a/packages/components/src/select/docs/SelectedValueValidation.sample.jsx +++ /dev/null @@ -1,24 +0,0 @@ -() => { - const [isValid, setIsValid] = useState(true); - - const handleSelectionChange = useCallback((event, newValue) => { - setIsValid(newValue === "earth"); - console.log(newValue); - }, [setIsValid]); - - return ( - <Select - validationState={isValid ? "valid" : "invalid"} - placeholder="Planets" - onSelectionChange={handleSelectionChange} - > - <Item key="earth">Earth</Item> - <Item key="jupiter">Jupiter</Item> - <Item key="mars">Mars</Item> - <Item key="mercury">Mercury</Item> - <Item key="neptune">Neptune</Item> - <Item key="saturn">Saturn</Item> - <Item key="uranus">Uranus</Item> - </Select> - ); -}; From 06720973c939ab8879c7b6dfb39f16840dd2ee7e Mon Sep 17 00:00:00 2001 From: Francis Thibault <francis.thibault@gsoft.com> Date: Fri, 1 Nov 2024 14:56:25 -0400 Subject: [PATCH 26/95] added illustratedMessage and RAdio --- .../docs/IllustratedMessage.stories.mdx | 64 ----- .../docs/ControlledRadioGroup.sample.jsx | 19 -- .../src/radio/docs/CustomGroup.sample.jsx | 36 --- .../src/radio/docs/Radio.stories.mdx | 225 ------------------ .../docs/ValueSelectedValidation.sample.jsx | 22 -- 5 files changed, 366 deletions(-) delete mode 100644 packages/components/src/illustrated-message/docs/IllustratedMessage.stories.mdx delete mode 100644 packages/components/src/radio/docs/ControlledRadioGroup.sample.jsx delete mode 100644 packages/components/src/radio/docs/CustomGroup.sample.jsx delete mode 100644 packages/components/src/radio/docs/Radio.stories.mdx delete mode 100644 packages/components/src/radio/docs/ValueSelectedValidation.sample.jsx diff --git a/packages/components/src/illustrated-message/docs/IllustratedMessage.stories.mdx b/packages/components/src/illustrated-message/docs/IllustratedMessage.stories.mdx deleted file mode 100644 index 9472eba49..000000000 --- a/packages/components/src/illustrated-message/docs/IllustratedMessage.stories.mdx +++ /dev/null @@ -1,64 +0,0 @@ -import { ArgsTable, Meta, Story } from "@storybook/addon-docs"; -import { ComponentInfo, Preview, Tagline } from "@stories/components"; -import { Content } from "@components/placeholders"; -import { Heading } from "@components/typography"; -import { IllustratedMessage, InnerIllustratedMessage } from "@components/illustrated-message"; -import { NoResults } from "./assets"; -import { SvgImage } from "@components/image"; - -<Meta - title="Components/IllustratedMessage" - id="illustrated-message" -/> - -# IllustratedMessage - -<Tagline>An illustrated message display an image and a message, usually for an empty state or an error page.</Tagline> - -<ComponentInfo - usage={"import { IllustratedMessage } from \"@workleap/orbiter-ui\";"} - githubPath="/packages/components/src/illustrated-message/src" -/> - -## Usage - -### Default - -An illustrated message renders vertically by default. - -<Preview scope={{ NoResults }}> - <Story name="default"> - <IllustratedMessage> - <SvgImage src={NoResults} aria-label="Galaxy" stroke="neutral" /> - <Heading>Can't find "Saturn"</Heading> - <Content>Please try another search term.</Content> - </IllustratedMessage> - </Story> -</Preview> - -### Horizontal - -An illustrated message can render horizontally. - -<Preview scope={{ NoResults }}> - <Story name="horizontal"> - <IllustratedMessage orientation="horizontal"> - <SvgImage src={NoResults} aria-label="Galaxy" stroke="neutral" /> - <Heading>Can't find "Saturn"</Heading> - <Content>Please try another search term.</Content> - </IllustratedMessage> - </Story> -</Preview> - -## API - -### IllustratedMessage - -<ComponentInfo - usage={"import { IllustratedMessage } from \"@workleap/orbiter-ui\";"} - slots={["image", "heading", "content"]} - inherits={[InnerIllustratedMessage.defaultElement, "styled-component"]} - compact -/> - -<ArgsTable of={InnerIllustratedMessage} sort="alpha" /> diff --git a/packages/components/src/radio/docs/ControlledRadioGroup.sample.jsx b/packages/components/src/radio/docs/ControlledRadioGroup.sample.jsx deleted file mode 100644 index 25de7a788..000000000 --- a/packages/components/src/radio/docs/ControlledRadioGroup.sample.jsx +++ /dev/null @@ -1,19 +0,0 @@ -() => { - const [value, setValue] = useState(null); - - const handleChange = useCallback((event, newValue) => { - setValue(newValue); - console.log(newValue); - }, [setValue]); - - return ( - <RadioGroup - value={value} - onChange={handleChange} - > - <Radio value="mars">Mars</Radio> - <Radio value="jupiter">Jupiter</Radio> - <Radio value="pluto">Pluto</Radio> - </RadioGroup> - ); -}; diff --git a/packages/components/src/radio/docs/CustomGroup.sample.jsx b/packages/components/src/radio/docs/CustomGroup.sample.jsx deleted file mode 100644 index e0fb95382..000000000 --- a/packages/components/src/radio/docs/CustomGroup.sample.jsx +++ /dev/null @@ -1,36 +0,0 @@ -const TagButton = as(Tag, "button"); - -function CustomComponent({ value, children, ...rest }) { - const [{ checked: isChecked, onCheck, ...checkableProps }] = useCheckableProps({ value }); - - const handleCheck = useCallback( - event => { - onCheck(event, value); - }, - [value, onCheck] - ); - - return ( - <TagButton - {...rest} - {...checkableProps} - value={value} - onClick={handleCheck} - color={isChecked ? "white" : undefined} - backgroundColor={isChecked ? "primary" : "warning-weak"} - aria-checked={isChecked} - > - {children} - </TagButton> - ); -} - -render(() => { - return ( - <RadioGroup gap={80} orientation="horizontal"> - <CustomComponent value="mars">Mars</CustomComponent> - <CustomComponent value="jupiter">Jupiter</CustomComponent> - <CustomComponent value="pluton">Pluton</CustomComponent> - </RadioGroup> - ); -}); diff --git a/packages/components/src/radio/docs/Radio.stories.mdx b/packages/components/src/radio/docs/Radio.stories.mdx deleted file mode 100644 index e6ed06a93..000000000 --- a/packages/components/src/radio/docs/Radio.stories.mdx +++ /dev/null @@ -1,225 +0,0 @@ -import { ArgsTable, Meta, Story } from "@storybook/addon-docs"; -import { ComponentInfo, Preview, Tagline } from "@stories/components"; -import { Counter } from "@components/counter"; -import { InnerRadio, InnerRadioGroup, Radio, RadioGroup } from "@components/radio"; -import { SparklesIcon } from "@hopper-ui/icons"; -import { Text } from "@components/typography"; - -<Meta - title="Components/RadioGroup" - id="radio-group" -/> - -# RadioGroup - -<Tagline>A radio group is a set of checkable buttons, known as radio buttons, where no more than one of the buttons can be checked at a time.</Tagline> - -<ComponentInfo - usage={"import { RadioGroup, Radio } from \"@workleap/orbiter-ui\";"} - ariaPath="radiobutton" - githubPath="/packages/components/src/radio/src" -/> - -## Usage - -### Default - -A default radio group. - -<Preview> - <Story name="default"> - <RadioGroup> - <Radio value="mars">Mars</Radio> - <Radio value="jupiter">Jupiter</Radio> - <Radio value="pluto">Pluto</Radio> - </RadioGroup> - </Story> -</Preview> - -### Selected value - -A radio group can have a selected value. - -<Preview> - <Story name="selected"> - <RadioGroup defaultValue="jupiter"> - <Radio value="mars">Mars</Radio> - <Radio value="jupiter">Jupiter</Radio> - <Radio value="pluto">Pluto</Radio> - </RadioGroup> - </Story> -</Preview> - -### Disabled - -A single radio can be disabled. - -<Preview> - <Story name="disabled radio"> - <RadioGroup> - <Radio disabled value="mars">Mars</Radio> - <Radio value="jupiter">Jupiter</Radio> - <Radio value="pluto">Pluto</Radio> - </RadioGroup> - </Story> -</Preview> - -Or the whole group. - -<Preview> - <Story name="disabled group"> - <RadioGroup disabled> - <Radio value="mars">Mars</Radio> - <Radio value="jupiter">Jupiter</Radio> - <Radio value="pluto">Pluto</Radio> - </RadioGroup> - </Story> -</Preview> - -### Icon - -A radio can have [icons](?path=/docs/icon-gallery--page) after his text. - -<Preview> - <Story name="icon"> - <RadioGroup> - <Radio value="mars"> - <Text>Mars</Text> - <SparklesIcon /> - </Radio> - <Radio value="jupiter">Jupiter</Radio> - <Radio value="pluto">Pluto</Radio> - </RadioGroup> - </Story> -</Preview> - -### Counter - -A radio can have a [counter](?path=/docs/counter--default-story) after his text. - -<Preview> - <Story name="counter"> - <RadioGroup> - <Radio value="mars"> - <Text>Mars</Text> - <Counter>6</Counter> - </Radio> - <Radio value="jupiter">Jupiter</Radio> - <Radio value="pluto"> - <Text>Pluto</Text> - <Counter>6</Counter> - </Radio> - </RadioGroup> - </Story> -</Preview> - -### Size - -A radio group can vary in size. - -<Preview> - <Story name="size"> - <Inline alignY="start" gap={50}> - <RadioGroup defaultValue="jupiter" size="md"> - <Radio value="mars">Mars</Radio> - <Radio value="jupiter">Jupiter</Radio> - <Radio value="pluto">Pluto</Radio> - </RadioGroup> - <RadioGroup defaultValue="jupiter" size="sm"> - <Radio value="mars">Mars</Radio> - <Radio value="jupiter">Jupiter</Radio> - <Radio value="pluto">Pluto</Radio> - </RadioGroup> - </Inline> - </Story> -</Preview> - -### Reverse - -A radio button can be to the left or to the right of his label. - -<Preview> - <Story name="reverse radio"> - <Radio reverse value="mars"> - <Text>Mars</Text> - <SparklesIcon /> - <Counter>6</Counter> - </Radio> - </Story> -</Preview> - -Or the whole group. - -<Preview> - <Story name="reverse group"> - <RadioGroup reverse> - <Radio value="mars"> - <Text>Mars</Text> - <SparklesIcon /> - <Counter>6</Counter> - </Radio> - <Radio value="jupiter">Jupiter</Radio> - <Radio value="pluto"> - <Text>Pluto</Text> - <Counter variant="divider">6</Counter> - </Radio> - </RadioGroup> - </Story> -</Preview> - -### Orientation - -A radio group can render his elements horizontally. - -<Preview> - <Story name="orientation"> - <RadioGroup orientation="horizontal"> - <Radio value="mars">Mars</Radio> - <Radio value="jupiter">Jupiter</Radio> - <Radio value="pluto">Pluto</Radio> - </RadioGroup> - </Story> -</Preview> - -### Validation - -A radio group can display a validation state to communicate to the user whether the current value is valid or invalid. Implement your own validation logic in your app and pass either `"valid"` or `"invalid"` to the input via the `validationState` prop. - -The example below illustrates how one would validate if a specific value of the radio group has been selected. - -<Preview filePath="/radio/docs/ValueSelectedValidation" /> - -### Custom components - -Any component implementing the `CheckableContext` can behave like a radio group. This is usually done by using the `useCheckableProps` hook. - -<Preview filePath="/radio/docs/CustomGroup" /> - -### Controlled - -A radio group can handle `value` state in controlled mode. - -<Preview filePath="/radio/docs/ControlledRadioGroup" /> - -## API - -### RadioGroup - -<ComponentInfo - usage={"import { RadioGroup } from \"@workleap/orbiter-ui\";"} - inherits={[InnerRadioGroup.defaultElement, "styled-component"]} - compact -/> - -<ArgsTable of={InnerRadioGroup} sort="alpha" /> - -### Radio - -<ComponentInfo - usage={"import { Radio } from \"@workleap/orbiter-ui\";"} - slots={["label", "icon", "counter"]} - inherits={[InnerRadio.defaultElement, "styled-component"]} - compact -/> - -<ArgsTable of={InnerRadio} sort="alpha" /> diff --git a/packages/components/src/radio/docs/ValueSelectedValidation.sample.jsx b/packages/components/src/radio/docs/ValueSelectedValidation.sample.jsx deleted file mode 100644 index b47f463da..000000000 --- a/packages/components/src/radio/docs/ValueSelectedValidation.sample.jsx +++ /dev/null @@ -1,22 +0,0 @@ -() => { - const [value, setValue] = useState(null); - - const isValid = value === "pluto"; - - const handleChange = useCallback((event, newValue) => { - setValue(newValue); - console.log(newValue); - }, [setValue]); - - return ( - <RadioGroup - validationState={isValid ? "valid" : "invalid"} - value={value} - onChange={handleChange} - > - <Radio value="mars">Mars</Radio> - <Radio value="jupiter">Jupiter</Radio> - <Radio value="pluto">Pluto</Radio> - </RadioGroup> - ); -}; From 09046824444fce9e341569abdd2422cfcd2883ea Mon Sep 17 00:00:00 2001 From: Francis Thibault <francis.thibault@gsoft.com> Date: Fri, 1 Nov 2024 16:57:19 -0400 Subject: [PATCH 27/95] removed unnecessary mdx imports / added missing filed --- .../tests/chromatic/CheckboxGroup.stories.tsx | 1 + .../docs/IllustratedMessage.mdx | 43 ++++ .../docs/IllustratedMessage.stories.tsx | 37 +++ packages/components/src/menu/docs/Menu.mdx | 6 +- packages/components/src/radio/docs/Radio.mdx | 118 +++++++++ .../src/radio/docs/Radio.stories.tsx | 232 ++++++++++++++++++ .../components/src/select/docs/Select.mdx | 10 +- .../docs/{Spinner.stories.mdx => Spinner.mdx} | 54 +--- .../src/spinner/docs/Spinner.stories.tsx | 49 ++++ .../components/src/switch/docs/Switch.mdx | 3 - packages/components/src/tabs/docs/Tabs.mdx | 3 - packages/components/src/tag/docs/Tag.mdx | 2 +- .../src/text-area/docs/TextArea.mdx | 1 + .../src/text-input/docs/TextInput.mdx | 2 +- .../components/src/typography/docs/Text.mdx | 1 + 15 files changed, 499 insertions(+), 63 deletions(-) create mode 100644 packages/components/src/illustrated-message/docs/IllustratedMessage.mdx create mode 100644 packages/components/src/illustrated-message/docs/IllustratedMessage.stories.tsx create mode 100644 packages/components/src/radio/docs/Radio.mdx create mode 100644 packages/components/src/radio/docs/Radio.stories.tsx rename packages/components/src/spinner/docs/{Spinner.stories.mdx => Spinner.mdx} (55%) create mode 100644 packages/components/src/spinner/docs/Spinner.stories.tsx diff --git a/packages/components/src/checkbox/tests/chromatic/CheckboxGroup.stories.tsx b/packages/components/src/checkbox/tests/chromatic/CheckboxGroup.stories.tsx index 06ddc7338..a08752ebd 100644 --- a/packages/components/src/checkbox/tests/chromatic/CheckboxGroup.stories.tsx +++ b/packages/components/src/checkbox/tests/chromatic/CheckboxGroup.stories.tsx @@ -5,6 +5,7 @@ import { Tag, TagProps } from "@components/tag"; import { ToggleButton } from "@components/button"; import { useCallback } from "react"; import { useCheckableProps } from "@components/shared"; + import { Meta, StoryObj } from "@storybook/react"; const meta = { diff --git a/packages/components/src/illustrated-message/docs/IllustratedMessage.mdx b/packages/components/src/illustrated-message/docs/IllustratedMessage.mdx new file mode 100644 index 000000000..cd2abdd07 --- /dev/null +++ b/packages/components/src/illustrated-message/docs/IllustratedMessage.mdx @@ -0,0 +1,43 @@ +import { ArgTypes, Meta, Canvas } from "@storybook/addon-docs"; +import { ComponentInfo, Preview, Tagline } from "@stories/components"; +import { InnerIllustratedMessage } from "@components/illustrated-message"; + +import * as IllustratedMessageStories from "./IllustratedMessage.stories.tsx"; + +<Meta of={IllustratedMessageStories}/> + +# IllustratedMessage + +<Tagline>An illustrated message display an image and a message, usually for an empty state or an error page.</Tagline> + +<ComponentInfo + usage={"import { IllustratedMessage } from \"@workleap/orbiter-ui\";"} + githubPath="/packages/components/src/illustrated-message/src" +/> + +## Usage + +### Default + +An illustrated message renders vertically by default. + +<Canvas of={IllustratedMessageStories.NoResultsStory} /> + +### Horizontal + +An illustrated message can render horizontally. + +<Canvas of={IllustratedMessageStories.Horizontal} /> + +## API + +### IllustratedMessage + +<ComponentInfo + usage={"import { IllustratedMessage } from \"@workleap/orbiter-ui\";"} + slots={["image", "heading", "content"]} + inherits={[InnerIllustratedMessage.defaultElement, "styled-component"]} + compact +/> + +<ArgTypes of={InnerIllustratedMessage} sort="alpha" /> diff --git a/packages/components/src/illustrated-message/docs/IllustratedMessage.stories.tsx b/packages/components/src/illustrated-message/docs/IllustratedMessage.stories.tsx new file mode 100644 index 000000000..51f4cd8cd --- /dev/null +++ b/packages/components/src/illustrated-message/docs/IllustratedMessage.stories.tsx @@ -0,0 +1,37 @@ +import { IllustratedMessage } from "@components/illustrated-message"; +import { SvgImage } from "@components/image"; +import { NoResults } from "./assets"; +import { Heading } from "@components/typography"; +import { Content } from "@components/placeholders"; + +import { Meta, StoryObj } from "@storybook/react"; + +const meta = { + title: "Components/IllustratedMessage", + component: IllustratedMessage, + id: "illustrated-message" +} as Meta<typeof IllustratedMessage>; + +export default meta; + +type IllustratedMessageStory = StoryObj<typeof meta>; + +export const NoResultsStory: IllustratedMessageStory = { + render: () => ( + <IllustratedMessage> + <SvgImage aria-label="Galaxy" src={NoResults} stroke="neutral" /> + <Heading>Can't find "Saturn"</Heading> + <Content>Please try another search term.</Content> + </IllustratedMessage> + ) +}; + +export const Horizontal: IllustratedMessageStory = { + render: () => ( + <IllustratedMessage orientation="horizontal"> + <SvgImage aria-label="Galaxy" src={NoResults} stroke="neutral" /> + <Heading>Can't find "Saturn"</Heading> + <Content>Please try another search term.</Content> + </IllustratedMessage> + ) +}; diff --git a/packages/components/src/menu/docs/Menu.mdx b/packages/components/src/menu/docs/Menu.mdx index 883f16f52..0d40df7d1 100644 --- a/packages/components/src/menu/docs/Menu.mdx +++ b/packages/components/src/menu/docs/Menu.mdx @@ -1,9 +1,5 @@ import { ArgTypes, Meta, Canvas } from "@storybook/addon-docs"; - -import { Avatar } from "@components/avatar"; -import { Button, IconButton } from "@components/button"; -import { ComponentInfo, Preview, Tagline } from "@stories/components"; -import { DisclosureArrow } from "@components/disclosure"; +import { ComponentInfo, Tagline } from "@stories/components"; import { InnerDivider } from "@components/divider"; import { InnerItem, InnerSection } from "@components/collection"; import { InnerMenu, InnerMenuItem, InnerMenuSection, InnerMenuTrigger } from "@components/menu"; diff --git a/packages/components/src/radio/docs/Radio.mdx b/packages/components/src/radio/docs/Radio.mdx new file mode 100644 index 000000000..dfb2e44a4 --- /dev/null +++ b/packages/components/src/radio/docs/Radio.mdx @@ -0,0 +1,118 @@ +import { ArgTypes, Meta, Canvas } from "@storybook/addon-docs"; +import { ComponentInfo, Tagline } from "@stories/components"; +import { InnerRadio, InnerRadioGroup } from "@components/radio"; + +import * as RadioGroupStories from "./Radio.stories.tsx"; + +<Meta of={RadioGroupStories} /> + +# RadioGroup + +<Tagline>A radio group is a set of checkable buttons, known as radio buttons, where no more than one of the buttons can be checked at a time.</Tagline> + +<ComponentInfo + usage={"import { RadioGroup, Radio } from \"@workleap/orbiter-ui\";"} + ariaPath="radiobutton" + githubPath="/packages/components/src/radio/src" +/> + +## Usage + +### Default + +A default radio group. + +<Canvas of={RadioGroupStories.Default} /> + +### Selected value + +A radio group can have a selected value. + +<Canvas of={RadioGroupStories.Selected} /> + +### Disabled + +A single radio can be disabled. + +<Canvas of={RadioGroupStories.DisabledRadio} /> + +Or the whole group. + +<Canvas of={RadioGroupStories.DisabledGroup} /> + +### Icon + +A radio can have [icons](?path=/docs/icon-gallery--page) after its text. + +<Canvas of={RadioGroupStories.Icon} /> + +### Counter + +A radio can have a [counter](?path=/docs/counter--default-story) after its text. + +<Canvas of={RadioGroupStories.CounterStory} /> + +### Size + +A radio group can vary in size. + +<Canvas of={RadioGroupStories.Size} /> + +### Reverse + +A radio button can be to the left or to the right of its label. + +<Canvas of={RadioGroupStories.ReverseRadio} /> + +Or the whole group. + +<Canvas of={RadioGroupStories.ReverseGroup} /> + +### Orientation + +A radio group can render its elements horizontally. + +<Canvas of={RadioGroupStories.Orientation} /> + +### Validation + +A radio group can display a validation state to communicate to the user whether the current value is valid or invalid. Implement your own validation logic in your app and pass either `"valid"` or `"invalid"` to the input via the `validationState` prop. + +The example below illustrates how one would validate if a specific value of the radio group has been selected. + +<Canvas of={RadioGroupStories.ValueSelectedValidation} /> + +### Custom components + +Any component implementing the `CheckableContext` can behave like a radio group. This is usually done by using the `useCheckableProps` hook. + +<Canvas of={RadioGroupStories.CustomGroup} /> + +### Controlled + +A radio group can handle `value` state in controlled mode. + +<Canvas of={RadioGroupStories.ControlledRadioGroup} /> + +## API + +### RadioGroup + +<ComponentInfo + usage={"import { RadioGroup } from \"@workleap/orbiter-ui\";"} + inherits={[InnerRadioGroup.defaultElement, "styled-component"]} + compact +/> + +<ArgTypes of={InnerRadioGroup} sort="alpha" /> + +### Radio + +<ComponentInfo + usage={"import { Radio } from \"@workleap/orbiter-ui\";"} + slots={["label", "icon", "counter"]} + inherits={[InnerRadio.defaultElement, "styled-component"]} + compact +/> + +<ArgTypes of={InnerRadio} sort="alpha" /> diff --git a/packages/components/src/radio/docs/Radio.stories.tsx b/packages/components/src/radio/docs/Radio.stories.tsx new file mode 100644 index 000000000..bab00f14a --- /dev/null +++ b/packages/components/src/radio/docs/Radio.stories.tsx @@ -0,0 +1,232 @@ +import { Radio, RadioGroup } from "@components/radio"; +import { Counter } from "@components/counter"; +import { SparklesIcon } from "@hopper-ui/icons"; +import { Text } from "@components/typography"; +import { Tag } from "@components/tag"; +import { Inline } from "@components/layout"; +import { useCallback, useState } from "react"; +import { as, useCheckableProps } from "@components/shared"; + +import { Meta, StoryObj } from "@storybook/react"; + +const meta = { + title: "Components/RadioGroup", + component: RadioGroup, + id: "radio-group" +} as Meta<typeof Radio>; + +export default meta; + +type RadioGroupStory = StoryObj<typeof meta>; + +export const Default: RadioGroupStory = { + render: () => ( + <RadioGroup> + <Radio value="mars">Mars</Radio> + <Radio value="jupiter">Jupiter</Radio> + <Radio value="pluto">Pluto</Radio> + </RadioGroup> + ) +}; + +export const Selected: RadioGroupStory = { + render: () => ( + <RadioGroup defaultValue="jupiter"> + <Radio value="mars">Mars</Radio> + <Radio value="jupiter">Jupiter</Radio> + <Radio value="pluto">Pluto</Radio> + </RadioGroup> + ) +}; + +export const DisabledRadio: RadioGroupStory = { + render: () => ( + <RadioGroup> + <Radio disabled value="mars">Mars</Radio> + <Radio value="jupiter">Jupiter</Radio> + <Radio value="pluto">Pluto</Radio> + </RadioGroup> + ) +}; + +export const DisabledGroup: RadioGroupStory = { + render: () => ( + <RadioGroup disabled> + <Radio value="mars">Mars</Radio> + <Radio value="jupiter">Jupiter</Radio> + <Radio value="pluto">Pluto</Radio> + </RadioGroup> + ) +}; + +export const Icon: RadioGroupStory = { + render: () => ( + <RadioGroup> + <Radio value="mars"> + <Text>Mars</Text> + <SparklesIcon /> + </Radio> + <Radio value="jupiter">Jupiter</Radio> + <Radio value="pluto">Pluto</Radio> + </RadioGroup> + ) +}; + +export const CounterStory: RadioGroupStory = { + render: () => ( + <RadioGroup> + <Radio value="mars"> + <Text>Mars</Text> + <Counter>6</Counter> + </Radio> + <Radio value="jupiter">Jupiter</Radio> + <Radio value="pluto"> + <Text>Pluto</Text> + <Counter>6</Counter> + </Radio> + </RadioGroup> + ) +}; + +export const Size: RadioGroupStory = { + render: () => ( + <Inline alignY="start" gap={50}> + <RadioGroup defaultValue="jupiter" size="md"> + <Radio value="mars">Mars</Radio> + <Radio value="jupiter">Jupiter</Radio> + <Radio value="pluto">Pluto</Radio> + </RadioGroup> + <RadioGroup defaultValue="jupiter" size="sm"> + <Radio value="mars">Mars</Radio> + <Radio value="jupiter">Jupiter</Radio> + <Radio value="pluto">Pluto</Radio> + </RadioGroup> + </Inline> + ) +}; + +export const ReverseRadio: RadioGroupStory = { + render: () => ( + <Radio reverse value="mars"> + <Text>Mars</Text> + <SparklesIcon /> + <Counter>6</Counter> + </Radio> + ) +}; + +export const ReverseGroup: RadioGroupStory = { + render: () => ( + <RadioGroup reverse> + <Radio value="mars"> + <Text>Mars</Text> + <SparklesIcon /> + <Counter>6</Counter> + </Radio> + <Radio value="jupiter">Jupiter</Radio> + <Radio value="pluto"> + <Text>Pluto</Text> + <Counter variant="divider">6</Counter> + </Radio> + </RadioGroup> + ) +}; + +export const Orientation: RadioGroupStory = { + render: () => ( + <RadioGroup orientation="horizontal"> + <Radio value="mars">Mars</Radio> + <Radio value="jupiter">Jupiter</Radio> + <Radio value="pluto">Pluto</Radio> + </RadioGroup> + ) +}; + +/* eslint-disable react-hooks/rules-of-hooks */ +export const ValueSelectedValidation: RadioGroupStory = { + render: () => { + const [value, setValue] = useState(null); + + const isValid = value === "pluto"; + + const handleChange = useCallback((event, newValue) => { + setValue(newValue); + console.log(newValue); + }, [setValue]); + + return ( + <RadioGroup + onChange={handleChange} + validationState={isValid ? "valid" : "invalid"} + value={value} + > + <Radio value="mars">Mars</Radio> + <Radio value="jupiter">Jupiter</Radio> + <Radio value="pluto">Pluto</Radio> + </RadioGroup> + ); + } +}; + +/* eslint-disable react-hooks/rules-of-hooks */ +export const CustomGroup: RadioGroupStory = { + render: () => { + const TagButton = as(Tag, "button"); + + function CustomComponent({ value, children, ...rest }) { + const [{ checked: isChecked, onCheck, ...checkableProps }] = useCheckableProps({ value }); + + const handleCheck = useCallback( + event => { + onCheck(event, value); + }, + [value, onCheck] + ); + + return ( + <TagButton + {...rest} + {...checkableProps} + aria-checked={isChecked} + backgroundColor={isChecked ? "primary" : "warning-weak"} + color={isChecked ? "white" : undefined} + onClick={handleCheck} + value={value} + > + {children} + </TagButton> + ); + } + + return ( + <RadioGroup gap={80} orientation="horizontal"> + <CustomComponent value="mars">Mars</CustomComponent> + <CustomComponent value="jupiter">Jupiter</CustomComponent> + <CustomComponent value="pluton">Pluton</CustomComponent> + </RadioGroup> + ); + } +}; + +/* eslint-disable react-hooks/rules-of-hooks */ +export const ControlledRadioGroup: RadioGroupStory = { + render: () => { + const [value, setValue] = useState(null); + + const handleChange = useCallback((event, newValue) => { + setValue(newValue); + console.log(newValue); + }, [setValue]); + + return ( + <RadioGroup + onChange={handleChange} + value={value} + > + <Radio value="mars">Mars</Radio> + <Radio value="jupiter">Jupiter</Radio> + <Radio value="pluto">Pluto</Radio> + </RadioGroup> + ); + } +}; diff --git a/packages/components/src/select/docs/Select.mdx b/packages/components/src/select/docs/Select.mdx index e1c10d6bf..5ef3e2d06 100644 --- a/packages/components/src/select/docs/Select.mdx +++ b/packages/components/src/select/docs/Select.mdx @@ -1,12 +1,6 @@ import { ArgTypes, Meta, Canvas } from "@storybook/addon-docs"; -import { Avatar } from "@components/avatar"; -import { ComponentInfo, Preview, Tagline } from "@stories/components"; -import { IconList } from "@components/icons"; -import { CatIcon, SparklesIcon, RocketIcon, SearchIcon } from "@hopper-ui/icons"; -import { HiddenSelect, InnerHiddenSelect, InnerSelect, Select } from "@components/select"; -import { InnerItem, InnerSection, Item, Section } from "@components/collection"; -import { Text } from "@components/typography"; -import { Tooltip, TooltipTrigger } from "@components/tooltip"; +import { InnerHiddenSelect, InnerSelect} from "@components/select"; +import { InnerItem, InnerSection } from "@components/collection"; import * as SelectStories from "./Select.stories.tsx"; diff --git a/packages/components/src/spinner/docs/Spinner.stories.mdx b/packages/components/src/spinner/docs/Spinner.mdx similarity index 55% rename from packages/components/src/spinner/docs/Spinner.stories.mdx rename to packages/components/src/spinner/docs/Spinner.mdx index dc82f31e4..022698b23 100644 --- a/packages/components/src/spinner/docs/Spinner.stories.mdx +++ b/packages/components/src/spinner/docs/Spinner.mdx @@ -1,12 +1,10 @@ -import { ArgsTable, Meta, Story } from "@storybook/addon-docs"; -import { ComponentInfo, Preview, Tagline } from "@stories/components"; -import { Inline } from "@components/layout"; -import { InnerSpinner, Spinner } from "@components/spinner"; - -<Meta - title="Components/Spinner" - id="spinner" -/> +import { ArgTypes, Meta, Canvas } from "@storybook/addon-docs"; +import { ComponentInfo, Tagline } from "@stories/components"; +import { InnerSpinner } from "@components/spinner"; + +import * as SpinnerStories from "./Spinner.stories.tsx"; + +<Meta of={SpinnerStories} /> # Spinner @@ -39,53 +37,25 @@ import { InnerSpinner, Spinner } from "@components/spinner"; A simple spinner. -<Preview> - <Story name="default"> - <Spinner aria-label="Loading..." /> - </Story> -</Preview> +<Canvas of={SpinnerStories.Default} /> ### Size A spinner can vary in size. -<Preview> - <Story name="size"> - <Inline alignY="end"> - <Spinner size="sm" aria-label="Loading..."/> - <Spinner aria-label="Loading..."/> - <Spinner size="lg" aria-label="Loading..."/> - </Inline> - </Story> -</Preview> +<Canvas of={SpinnerStories.Size} /> ### Label A spinner can have a label. -<Preview> - <Story name="label"> - <Inline alignY="end"> - <Spinner size="sm">Loading...</Spinner> - <Spinner>Loading...</Spinner> - <Spinner size="lg">Loading...</Spinner> - </Inline> - </Story> -</Preview> - +<Canvas of={SpinnerStories.Label} /> ### Over background You can change a spinner style when over a background by setting a color property on the spinner. -<Preview> - <Story name="over background"> - <Div backgroundColor="primary-strong" padding={160}> - <Spinner color="#FFFFFF">Loading...</Spinner> - </Div> - </Story> -</Preview> - +<Canvas of={SpinnerStories.OverBackground} /> ## API @@ -97,4 +67,4 @@ You can change a spinner style when over a background by setting a color propert compact /> -<ArgsTable of={InnerSpinner} sort="alpha" /> +<ArgTypes of={InnerSpinner} sort="alpha" /> diff --git a/packages/components/src/spinner/docs/Spinner.stories.tsx b/packages/components/src/spinner/docs/Spinner.stories.tsx new file mode 100644 index 000000000..95103f0c5 --- /dev/null +++ b/packages/components/src/spinner/docs/Spinner.stories.tsx @@ -0,0 +1,49 @@ +import { Spinner } from "@components/spinner"; +import { Inline } from "@components/layout"; +import { Div } from "@components/html"; + +import { Meta, StoryObj } from "@storybook/react"; + +const meta = { + title: "Components/Spinner", + component: Spinner, + id: "spinner" +} as Meta<typeof Spinner>; + +export default meta; + +type SpinnerStory = StoryObj<typeof meta>; + +export const Default: SpinnerStory = { + render: () => ( + <Spinner aria-label="Loading..." /> + ) +}; + +export const Size: SpinnerStory = { + render: () => ( + <Inline alignY="end"> + <Spinner aria-label="Loading..." size="sm" /> + <Spinner aria-label="Loading..." /> + <Spinner aria-label="Loading..." size="lg" /> + </Inline> + ) +}; + +export const Label: SpinnerStory = { + render: () => ( + <Inline alignY="end"> + <Spinner size="sm">Loading...</Spinner> + <Spinner>Loading...</Spinner> + <Spinner size="lg">Loading...</Spinner> + </Inline> + ) +}; + +export const OverBackground: SpinnerStory = { + render: () => ( + <Div backgroundColor="primary-strong" padding={160}> + <Spinner color="#FFFFFF">Loading...</Spinner> + </Div> + ) +}; diff --git a/packages/components/src/switch/docs/Switch.mdx b/packages/components/src/switch/docs/Switch.mdx index 144fa64f3..731b7a513 100644 --- a/packages/components/src/switch/docs/Switch.mdx +++ b/packages/components/src/switch/docs/Switch.mdx @@ -1,8 +1,5 @@ import { ArgTypes, Meta, Canvas } from "@storybook/addon-docs"; import { ComponentInfo, Tagline } from "@stories/components"; -import { Counter } from "@components/counter"; -import { SparklesIcon } from "@hopper-ui/icons"; -import { Inline } from "@components/layout"; import { InnerSwitch } from "@components/switch"; import * as SwitchStories from "./Switch.stories.tsx" diff --git a/packages/components/src/tabs/docs/Tabs.mdx b/packages/components/src/tabs/docs/Tabs.mdx index 3a45a2d72..e9bd328aa 100644 --- a/packages/components/src/tabs/docs/Tabs.mdx +++ b/packages/components/src/tabs/docs/Tabs.mdx @@ -3,9 +3,6 @@ import { ComponentInfo, Tagline } from "@stories/components"; import { InnerContent, InnerHeader } from "@components/placeholders"; import { InnerItem } from "@components/collection"; import { InnerTab, InnerTabs, InnerTabPanel } from "@components/tabs"; -import { Lozenge } from "@components/lozenge"; -import { SparklesIcon } from "@hopper-ui/icons"; -import { Text } from "@components/typography"; import * as TabStories from "./Tabs.stories.tsx" diff --git a/packages/components/src/tag/docs/Tag.mdx b/packages/components/src/tag/docs/Tag.mdx index ad0a15161..b6f295530 100644 --- a/packages/components/src/tag/docs/Tag.mdx +++ b/packages/components/src/tag/docs/Tag.mdx @@ -1,6 +1,6 @@ import { ArgTypes, Meta, Canvas } from "@storybook/addon-docs"; import { InnerTag, InnerTagList } from "@components/tag"; -import { ComponentInfo, Preview, Tagline } from "@stories/components"; +import { ComponentInfo, Tagline } from "@stories/components"; import * as TagStories from "./Tag.stories.tsx"; diff --git a/packages/components/src/text-area/docs/TextArea.mdx b/packages/components/src/text-area/docs/TextArea.mdx index f2a929015..314ee96c9 100644 --- a/packages/components/src/text-area/docs/TextArea.mdx +++ b/packages/components/src/text-area/docs/TextArea.mdx @@ -1,6 +1,7 @@ import { ArgTypes, Meta, Canvas } from "@storybook/addon-docs"; import { ComponentInfo, Tagline } from "@stories/components"; import { InnerTextArea } from "@components/text-area"; + import * as TextAreaStories from "./TextArea.stories.tsx"; <Meta of={TextAreaStories} /> diff --git a/packages/components/src/text-input/docs/TextInput.mdx b/packages/components/src/text-input/docs/TextInput.mdx index 5c2d44e3a..8dbb8ec6b 100644 --- a/packages/components/src/text-input/docs/TextInput.mdx +++ b/packages/components/src/text-input/docs/TextInput.mdx @@ -1,5 +1,5 @@ import { ArgTypes, Meta, Canvas } from "@storybook/addon-docs"; -import { ComponentInfo, Preview, Tagline } from "@stories/components"; +import { ComponentInfo, Tagline } from "@stories/components"; import { InnerPasswordInput, InnerSearchInput, InnerTextInput } from "@components/text-input"; import * as TextInputStories from "./TextInput.stories.tsx"; diff --git a/packages/components/src/typography/docs/Text.mdx b/packages/components/src/typography/docs/Text.mdx index 98312d622..5daa125e6 100644 --- a/packages/components/src/typography/docs/Text.mdx +++ b/packages/components/src/typography/docs/Text.mdx @@ -1,6 +1,7 @@ import { ArgTypes, Meta, Canvas } from "@storybook/addon-docs"; import { ComponentInfo, Tagline } from "@stories/components"; import { InnerText } from "@components/typography"; + import * as TextStories from "./Text.stories.tsx"; <Meta of={TextStories} /> From 0ded8f298db4e715485b6a460f8dbd6ea80bd177 Mon Sep 17 00:00:00 2001 From: Victor Trinh <victor.trinh@gsoft.com> Date: Mon, 4 Nov 2024 09:53:34 -0500 Subject: [PATCH 28/95] Footer --- .../docs/{footer.stories.mdx => footer.mdx} | 22 +++----------- .../src/html/docs/footer.stories.tsx | 29 +++++++++++++++++++ 2 files changed, 33 insertions(+), 18 deletions(-) rename packages/components/src/html/docs/{footer.stories.mdx => footer.mdx} (56%) create mode 100644 packages/components/src/html/docs/footer.stories.tsx diff --git a/packages/components/src/html/docs/footer.stories.mdx b/packages/components/src/html/docs/footer.mdx similarity index 56% rename from packages/components/src/html/docs/footer.stories.mdx rename to packages/components/src/html/docs/footer.mdx index 909c2e079..2929ff067 100644 --- a/packages/components/src/html/docs/footer.stories.mdx +++ b/packages/components/src/html/docs/footer.mdx @@ -1,10 +1,8 @@ import { ComponentInfo, Link, Tagline } from "@stories/components"; -import { Meta } from "@storybook/addon-docs"; +import { Canvas, Meta } from "@storybook/addon-docs"; +import * as FooterStories from "./footer.stories.tsx"; -<Meta - title="Html elements/Footer" - id="html-footer" -/> +<Meta of={FooterStories} /> # Footer @@ -19,16 +17,4 @@ import { Meta } from "@storybook/addon-docs"; A footer component accepts all the [footer HTML element attributes](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/footer) and [Orbiter styled component props](?path=/docs/styling--page). -```jsx -<HtmlArticle> - <H1>What does an aerospace engineer do?</H1> - <UL> - <LI>Research and development</LI> - <LI>Testing</LI> - <LI>Production and maintenance</LI> - </UL> - <HtmlFooter color="neutral-weak"> - <Paragraph>© 2021 Orbiter</Paragraph> - </HtmlFooter> -</HtmlArticle> -``` +<Canvas of={FooterStories.Example} /> diff --git a/packages/components/src/html/docs/footer.stories.tsx b/packages/components/src/html/docs/footer.stories.tsx new file mode 100644 index 000000000..8eeeadc67 --- /dev/null +++ b/packages/components/src/html/docs/footer.stories.tsx @@ -0,0 +1,29 @@ +import { Meta, StoryObj } from "@storybook/react"; +import { HtmlFooter, Article, UL, LI } from "@components/html"; +import { Paragraph, H1 } from "@components/typography"; + +const meta = { + title: "Html elements/Footer", + component: HtmlFooter, + id: "html-footer" +} as Meta<typeof HtmlFooter>; + +export default meta; + +type Story = StoryObj<typeof HtmlFooter>; + +export const Example: Story = { + render: () => ( + <Article> + <H1>What does an aerospace engineer do?</H1> + <UL> + <LI>Research and development</LI> + <LI>Testing</LI> + <LI>Production and maintenance</LI> + </UL> + <HtmlFooter color="neutral-weak"> + <Paragraph>© 2021 Orbiter</Paragraph> + </HtmlFooter> + </Article> + ) +}; From 56fb561ac38b1bdb229d0c3d01d8aaa2674a5990 Mon Sep 17 00:00:00 2001 From: Victor Trinh <victor.trinh@gsoft.com> Date: Mon, 4 Nov 2024 10:01:12 -0500 Subject: [PATCH 29/95] Header --- .../docs/{header.stories.mdx => header.mdx} | 19 +++---------- .../src/html/docs/header.stories.tsx | 27 +++++++++++++++++++ 2 files changed, 31 insertions(+), 15 deletions(-) rename packages/components/src/html/docs/{header.stories.mdx => header.mdx} (55%) create mode 100644 packages/components/src/html/docs/header.stories.tsx diff --git a/packages/components/src/html/docs/header.stories.mdx b/packages/components/src/html/docs/header.mdx similarity index 55% rename from packages/components/src/html/docs/header.stories.mdx rename to packages/components/src/html/docs/header.mdx index 862f9044d..169d94d49 100644 --- a/packages/components/src/html/docs/header.stories.mdx +++ b/packages/components/src/html/docs/header.mdx @@ -1,10 +1,8 @@ import { ComponentInfo, Link, Tagline } from "@stories/components"; -import { Meta } from "@storybook/addon-docs"; +import { Canvas, Meta } from "@storybook/addon-docs"; +import * as HeaderStories from "./header.stories.tsx"; -<Meta - title="Html elements/Header" - id="html-header" -/> +<Meta of={HeaderStories} /> # Header @@ -19,13 +17,4 @@ import { Meta } from "@storybook/addon-docs"; An header component accepts all the [header HTML element attributes](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/header) and [Orbiter styled component props](?path=/docs/styling--page). -```jsx -<body> - <Header> - <H1>Walking On The Moon</H1> - </Header> - <Main color="neutral-weak"> - <Paragraph>Walking on the Moon is classic Sting moment, with his band The Police turning out one of their most groovy reggae-inspired hits to the background of space exploration.</Paragraph> - </Main> -</body> -``` +<Canvas of={HeaderStories.Example} /> diff --git a/packages/components/src/html/docs/header.stories.tsx b/packages/components/src/html/docs/header.stories.tsx new file mode 100644 index 000000000..6b5a6013c --- /dev/null +++ b/packages/components/src/html/docs/header.stories.tsx @@ -0,0 +1,27 @@ +import { Meta, StoryObj } from "@storybook/react"; +import { HtmlHeader as Header, Main } from "@components/html"; +import { Paragraph, H1 } from "@components/typography"; + +const meta = { + title: "Html elements/Header", + component: Header, + id: "html-header" +} as Meta<typeof Header>; + +export default meta; + +type Story = StoryObj<typeof Header>; + +export const Example: Story = { + render: () => ( + <body> + <Header> + <H1>Walking On The Moon</H1> + </Header> + <Main color="neutral-weak"> + <Paragraph>Walking on the Moon is classic Sting moment, with his band The Police turning out one of their most groovy reggae-inspired hits to the background of space exploration.</Paragraph> + </Main> + </body> + ) +}; + From 452e0d8b64009b87f5e0b0a8b938ec49d089887a Mon Sep 17 00:00:00 2001 From: Victor Trinh <victor.trinh@gsoft.com> Date: Mon, 4 Nov 2024 10:07:20 -0500 Subject: [PATCH 30/95] Img --- .../html/docs/{img.stories.mdx => img.mdx} | 16 ++++------------ .../components/src/html/docs/img.stories.tsx | 19 +++++++++++++++++++ 2 files changed, 23 insertions(+), 12 deletions(-) rename packages/components/src/html/docs/{img.stories.mdx => img.mdx} (63%) create mode 100644 packages/components/src/html/docs/img.stories.tsx diff --git a/packages/components/src/html/docs/img.stories.mdx b/packages/components/src/html/docs/img.mdx similarity index 63% rename from packages/components/src/html/docs/img.stories.mdx rename to packages/components/src/html/docs/img.mdx index e4f92117f..074d8b2b9 100644 --- a/packages/components/src/html/docs/img.stories.mdx +++ b/packages/components/src/html/docs/img.mdx @@ -1,12 +1,8 @@ import { ComponentInfo, Link, Preview, Tagline } from "@stories/components"; -import { Img } from "@components/html"; -import { Meta, Story } from "@storybook/addon-docs"; -import { Planet } from "./assets"; +import { Canvas, Meta } from "@storybook/addon-docs"; +import * as ImgStories from "./img.stories.tsx"; -<Meta - title="Html elements/Img" - id="html-img" -/> +<Meta of={ImgStories} /> # Img @@ -21,8 +17,4 @@ import { Planet } from "./assets"; An img component accepts all the [HTML element attributes](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/img) and [Orbiter styled component props](?path=/docs/styling--page). -<Preview scope={{ Planet }}> - <Story name="example"> - <Img src={Planet} border="rock-400" /> - </Story> -</Preview> +<Canvas of={ImgStories.Example} /> diff --git a/packages/components/src/html/docs/img.stories.tsx b/packages/components/src/html/docs/img.stories.tsx new file mode 100644 index 000000000..dcb2fdcb6 --- /dev/null +++ b/packages/components/src/html/docs/img.stories.tsx @@ -0,0 +1,19 @@ +import { Img } from "@components/html"; +import { Meta, StoryObj } from "@storybook/react"; +import { Planet } from "./assets"; + +const meta = { + title: "Html elements/Img", + component: Img, + id: "html-img" +} as Meta<typeof Img>; + +export default meta; + +type Story = StoryObj<typeof Img>; + +export const Example: Story = { + render: () => ( + <Img border="rock-400" src={Planet} /> + ) +}; From 63a73729d53879b027ad266af501f6ec50bf1f46 Mon Sep 17 00:00:00 2001 From: Victor Trinh <victor.trinh@gsoft.com> Date: Mon, 4 Nov 2024 10:11:28 -0500 Subject: [PATCH 31/95] Input --- .../html/docs/{input.stories.mdx => input.mdx} | 17 +++++------------ .../components/src/html/docs/input.stories.tsx | 18 ++++++++++++++++++ 2 files changed, 23 insertions(+), 12 deletions(-) rename packages/components/src/html/docs/{input.stories.mdx => input.mdx} (57%) create mode 100644 packages/components/src/html/docs/input.stories.tsx diff --git a/packages/components/src/html/docs/input.stories.mdx b/packages/components/src/html/docs/input.mdx similarity index 57% rename from packages/components/src/html/docs/input.stories.mdx rename to packages/components/src/html/docs/input.mdx index eb130aed5..4c174cd34 100644 --- a/packages/components/src/html/docs/input.stories.mdx +++ b/packages/components/src/html/docs/input.mdx @@ -1,11 +1,8 @@ -import { ComponentInfo, Link, Preview, Tagline } from "@stories/components"; -import { HtmlInput } from "@components/html"; -import { Meta, Story } from "@storybook/addon-docs"; +import { ComponentInfo, Link, Tagline } from "@stories/components"; +import { Canvas, Meta } from "@storybook/addon-docs"; +import * as InputStories from "./input.stories.tsx"; -<Meta - title="Html elements/Input" - id="html-input" -/> +<Meta of={InputStories} /> # Input @@ -20,8 +17,4 @@ import { Meta, Story } from "@storybook/addon-docs"; An input component accepts all the [input HTML element attributes](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input) and [Orbiter styled component props](?path=/docs/styling--page). -<Preview> - <Story name="example"> - <HtmlInput type="text" border="rock-900" /> - </Story> -</Preview> +<Canvas of={InputStories.Example} /> diff --git a/packages/components/src/html/docs/input.stories.tsx b/packages/components/src/html/docs/input.stories.tsx new file mode 100644 index 000000000..b90677d52 --- /dev/null +++ b/packages/components/src/html/docs/input.stories.tsx @@ -0,0 +1,18 @@ +import { HtmlInput } from "@components/html"; +import { Meta, StoryObj } from "@storybook/react"; + +const meta = { + title: "Html elements/Input", + component: HtmlInput, + id: "html-input" +} as Meta<typeof HtmlInput>; + +export default meta; + +type Story = StoryObj<typeof HtmlInput>; + +export const Example: Story = { + render: () => ( + <HtmlInput border="rock-900" type="text" /> + ) +}; From 9416a15f985472b42a06045f3a4e18ad3503599e Mon Sep 17 00:00:00 2001 From: Victor Trinh <victor.trinh@gsoft.com> Date: Mon, 4 Nov 2024 10:15:43 -0500 Subject: [PATCH 32/95] List --- .../html/docs/{list.stories.mdx => list.mdx} | 21 +++++------------- .../components/src/html/docs/list.stories.tsx | 22 +++++++++++++++++++ 2 files changed, 27 insertions(+), 16 deletions(-) rename packages/components/src/html/docs/{list.stories.mdx => list.mdx} (57%) create mode 100644 packages/components/src/html/docs/list.stories.tsx diff --git a/packages/components/src/html/docs/list.stories.mdx b/packages/components/src/html/docs/list.mdx similarity index 57% rename from packages/components/src/html/docs/list.stories.mdx rename to packages/components/src/html/docs/list.mdx index 5ec120d87..59ded0f1c 100644 --- a/packages/components/src/html/docs/list.stories.mdx +++ b/packages/components/src/html/docs/list.mdx @@ -1,11 +1,8 @@ -import { ComponentInfo, Link, Preview, Tagline } from "@stories/components"; -import { LI, UL } from "@components/html"; -import { Meta, Story } from "@storybook/addon-docs"; +import { ComponentInfo, Link, Tagline } from "@stories/components"; +import { Canvas, Meta } from "@storybook/addon-docs"; +import * as ListStories from "./list.stories.tsx"; -<Meta - title="Html elements/List" - id="html-list" -/> +<Meta of={ListStories} /> # List @@ -20,12 +17,4 @@ import { Meta, Story } from "@storybook/addon-docs"; Accepts all the HTML attributes of [ul](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/ul), [ol](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/ol) and [li](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/li) elements with the addition of [Orbiter styled component props](?path=/docs/styling--page). -<Preview> - <Story name="example"> - <UL color="neutral-weak"> - <LI>Explore</LI> - <LI>Discover</LI> - <LI color="sapphire-600">Colonize</LI> - </UL> - </Story> -</Preview> +<Canvas of={ListStories.Example} /> diff --git a/packages/components/src/html/docs/list.stories.tsx b/packages/components/src/html/docs/list.stories.tsx new file mode 100644 index 000000000..293352688 --- /dev/null +++ b/packages/components/src/html/docs/list.stories.tsx @@ -0,0 +1,22 @@ +import { LI, UL } from "@components/html"; +import { Meta, StoryObj } from "@storybook/react"; + +const meta = { + title: "Html elements/List", + component: UL, + id: "html-list" +} as Meta<typeof UL>; + +export default meta; + +type Story = StoryObj<typeof LI>; + +export const Example: Story = { + render: () => ( + <UL color="neutral-weak"> + <LI>Explore</LI> + <LI>Discover</LI> + <LI color="sapphire-600">Colonize</LI> + </UL> + ) +}; From 151a674d1fd994c98b0daab831cdd479022440e9 Mon Sep 17 00:00:00 2001 From: Victor Trinh <victor.trinh@gsoft.com> Date: Mon, 4 Nov 2024 10:20:11 -0500 Subject: [PATCH 33/95] Main --- .../html/docs/{main.stories.mdx => main.mdx} | 19 +++----------- .../components/src/html/docs/main.stories.tsx | 26 +++++++++++++++++++ 2 files changed, 30 insertions(+), 15 deletions(-) rename packages/components/src/html/docs/{main.stories.mdx => main.mdx} (54%) create mode 100644 packages/components/src/html/docs/main.stories.tsx diff --git a/packages/components/src/html/docs/main.stories.mdx b/packages/components/src/html/docs/main.mdx similarity index 54% rename from packages/components/src/html/docs/main.stories.mdx rename to packages/components/src/html/docs/main.mdx index becec026b..0e3a6ce74 100644 --- a/packages/components/src/html/docs/main.stories.mdx +++ b/packages/components/src/html/docs/main.mdx @@ -1,10 +1,8 @@ import { ComponentInfo, Link, Tagline } from "@stories/components"; -import { Meta } from "@storybook/addon-docs"; +import { Canvas, Meta } from "@storybook/addon-docs"; +import * as MainStories from "./main.stories.tsx"; -<Meta - title="Html elements/Main" - id="html-main" -/> +<Meta of={MainStories} /> # Main @@ -19,13 +17,4 @@ import { Meta } from "@storybook/addon-docs"; A main component accepts all the [main HTML element attributes](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/main) and [Orbiter styled component props](?path=/docs/styling--page). -```jsx -<body> - <Header> - <H1>Walking On The Moon</H1> - </Header> - <Main color="neutral-weak"> - <Paragraph>Walking on the Moon is classic Sting moment, with his band The Police turning out one of their most groovy reggae-inspired hits to the background of space exploration.</Paragraph> - </Main> -</body> -``` +<Canvas of={MainStories.Example} /> diff --git a/packages/components/src/html/docs/main.stories.tsx b/packages/components/src/html/docs/main.stories.tsx new file mode 100644 index 000000000..8a323ffbc --- /dev/null +++ b/packages/components/src/html/docs/main.stories.tsx @@ -0,0 +1,26 @@ +import { Meta, StoryObj } from "@storybook/react"; +import { Main, HtmlHeader as Header } from "@components/html"; +import { Paragraph, H1 } from "@components/typography"; + +const meta = { + title: "Html elements/Main", + component: Main, + id: "html-main" +} as Meta<typeof Main>; + +export default meta; + +type Story = StoryObj<typeof Main>; + +export const Example: Story = { + render: () => ( + <body> + <Header> + <H1>Walking On The Moon</H1> + </Header> + <Main color="neutral-weak"> + <Paragraph>Walking on the Moon is classic Sting moment, with his band The Police turning out one of their most groovy reggae-inspired hits to the background of space exploration.</Paragraph> + </Main> + </body> + ) +}; From 4e2f386b35bb50c0d4d71725d7bb63230f5663b3 Mon Sep 17 00:00:00 2001 From: Victor Trinh <victor.trinh@gsoft.com> Date: Mon, 4 Nov 2024 10:24:53 -0500 Subject: [PATCH 34/95] Nav --- .../html/docs/{nav.stories.mdx => nav.mdx} | 18 +++---------- .../components/src/html/docs/nav.stories.tsx | 25 +++++++++++++++++++ 2 files changed, 29 insertions(+), 14 deletions(-) rename packages/components/src/html/docs/{nav.stories.mdx => nav.mdx} (61%) create mode 100644 packages/components/src/html/docs/nav.stories.tsx diff --git a/packages/components/src/html/docs/nav.stories.mdx b/packages/components/src/html/docs/nav.mdx similarity index 61% rename from packages/components/src/html/docs/nav.stories.mdx rename to packages/components/src/html/docs/nav.mdx index 9df394cbc..bbdf30d8c 100644 --- a/packages/components/src/html/docs/nav.stories.mdx +++ b/packages/components/src/html/docs/nav.mdx @@ -1,10 +1,8 @@ import { ComponentInfo, Link, Tagline } from "@stories/components"; -import { Meta } from "@storybook/addon-docs"; +import { Canvas, Meta } from "@storybook/addon-docs"; +import * as NavStories from "./nav.stories.tsx"; -<Meta - title="Html elements/Nav" - id="html-nav" -/> +<Meta of={NavStories} /> # Nav @@ -19,12 +17,4 @@ import { Meta } from "@storybook/addon-docs"; A nav component accepts all the [nav HTML element attributes](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/nav) and [Orbiter styled component props](?path=/docs/styling--page). -```jsx -<Nav color="neutral-weak"> - <UL> - <LI><TextLink href="#">Missions</TextLink></LI> - <LI><TextLink href="#">Launches</TextLink></LI> - <LI><TextLink href="#">Careers</TextLink></LI> - </UL> -</Nav> -``` +<Canvas of={NavStories.Example} /> diff --git a/packages/components/src/html/docs/nav.stories.tsx b/packages/components/src/html/docs/nav.stories.tsx new file mode 100644 index 000000000..6897483eb --- /dev/null +++ b/packages/components/src/html/docs/nav.stories.tsx @@ -0,0 +1,25 @@ +import { Meta, StoryObj } from "@storybook/react"; +import { Nav, UL, LI } from "@components/html"; +import { TextLink } from "@components/link"; + +const meta = { + title: "Html elements/Nav", + component: Nav, + id: "html-nav" +} as Meta<typeof Nav>; + +export default meta; + +type Story = StoryObj<typeof Nav>; + +export const Example: Story = { + render: () => ( + <Nav color="neutral-weak"> + <UL> + <LI><TextLink href="#">Missions</TextLink></LI> + <LI><TextLink href="#">Launches</TextLink></LI> + <LI><TextLink href="#">Careers</TextLink></LI> + </UL> + </Nav> + ) +}; From 55d697f73a273bc93a72f291fbc3fefb934e4b00 Mon Sep 17 00:00:00 2001 From: Francis Thibault <francis.thibault@gsoft.com> Date: Fri, 1 Nov 2024 20:16:33 -0400 Subject: [PATCH 35/95] converted Tile --- .../tests/chromatic/RadioGroup.stories.tsx | 2 +- .../src/tile/docs/ControlledTile.sample.jsx | 18 - .../tile/docs/ControlledTileGroup.sample.jsx | 34 -- packages/components/src/tile/docs/Tile.mdx | 189 ++++++++++ .../components/src/tile/docs/Tile.stories.mdx | 349 ------------------ .../components/src/tile/docs/Tile.stories.tsx | 281 ++++++++++++++ 6 files changed, 471 insertions(+), 402 deletions(-) delete mode 100644 packages/components/src/tile/docs/ControlledTile.sample.jsx delete mode 100644 packages/components/src/tile/docs/ControlledTileGroup.sample.jsx create mode 100644 packages/components/src/tile/docs/Tile.mdx delete mode 100644 packages/components/src/tile/docs/Tile.stories.mdx create mode 100644 packages/components/src/tile/docs/Tile.stories.tsx diff --git a/packages/components/src/radio/tests/chromatic/RadioGroup.stories.tsx b/packages/components/src/radio/tests/chromatic/RadioGroup.stories.tsx index 01deeea1d..fa7a98369 100644 --- a/packages/components/src/radio/tests/chromatic/RadioGroup.stories.tsx +++ b/packages/components/src/radio/tests/chromatic/RadioGroup.stories.tsx @@ -1,7 +1,6 @@ import { Field, HelpMessage, Label } from "@components/field"; import { Inline, Stack } from "@components/layout"; import { Radio, RadioGroup } from "@components/radio"; - import { Counter } from "@components/counter"; import { Div } from "@components/html"; import { Tag } from "@components/tag"; @@ -9,6 +8,7 @@ import { Text } from "@components/typography"; import { ToggleButton } from "@components/button"; import { ComponentProps, useCallback } from "react"; import { as, useCheckableProps } from "@components/shared"; + import { Meta, StoryObj } from "@storybook/react"; const meta = { diff --git a/packages/components/src/tile/docs/ControlledTile.sample.jsx b/packages/components/src/tile/docs/ControlledTile.sample.jsx deleted file mode 100644 index 28c0f9fe0..000000000 --- a/packages/components/src/tile/docs/ControlledTile.sample.jsx +++ /dev/null @@ -1,18 +0,0 @@ -() => { - const [isChecked, setIsChecked] = useState(false); - - const handleChange = useCallback(() => { - setIsChecked(x => !x); - console.log(!isChecked); - }, [isChecked, setIsChecked]); - - return ( - <Tile - checked={isChecked} - onChange={handleChange} - > - <Heading>Buy a ticket</Heading> - <Content>Purchase a ticket for any of our space travel adventure.</Content> - </Tile> - ); -}; diff --git a/packages/components/src/tile/docs/ControlledTileGroup.sample.jsx b/packages/components/src/tile/docs/ControlledTileGroup.sample.jsx deleted file mode 100644 index ba5f5a291..000000000 --- a/packages/components/src/tile/docs/ControlledTileGroup.sample.jsx +++ /dev/null @@ -1,34 +0,0 @@ -() => { - const [value, setValue] = useState([]); - - const handleChange = useCallback((event, newValue) => { - setValue(newValue); - console.log(newValue); - }, [setValue]); - - return ( - <TileGroup - value={value} - selectionMode="multiple" - onChange={handleChange} - rowSize={{ - base: "1", - md: "2", - lg: "3" - }} - > - <Tile value="buy"> - <Heading>Buy a ticket</Heading> - <Content>Purchase a ticket for any of our space travel adventure.</Content> - </Tile> - <Tile value="refund"> - <Heading>Refund a ticket</Heading> - <Content>Get a refund for any space travel adventure ticket.</Content> - </Tile> - <Tile value="manage-account"> - <Heading>Manage Account</Heading> - <Content>Update your address or any other information related to your account.</Content> - </Tile> - </TileGroup> - ); -}; diff --git a/packages/components/src/tile/docs/Tile.mdx b/packages/components/src/tile/docs/Tile.mdx new file mode 100644 index 000000000..ef05f191f --- /dev/null +++ b/packages/components/src/tile/docs/Tile.mdx @@ -0,0 +1,189 @@ +import { ArgTypes, Meta, Canvas } from "@storybook/addon-docs"; +import { ComponentInfo, Tagline } from "@stories/components"; +import { InnerContent } from "@components/placeholders"; +import { InnerHeading } from "@components/typography"; +import { InnerTile, InnerTileGroup, InnerTileLink } from "@components/tile"; + +import * as TileStories from "./Tile.stories.tsx"; + +<Meta of={TileStories} /> + +# Tile + +<Tagline>A tile groups information into an interactive element to let users browse and take action on a group of related items.</Tagline> + +<ComponentInfo + usage={"import { Tile, TileLink, TileGroup, Heading, Content } from \"@workleap/orbiter-ui\";"} + githubPath="/packages/components/src/tile/src" +/> + +## Guidelines + +### When to use + +- To let the user make a choice while giving more context than with a [radio group](?path=/docs/radio-group--default-story) or a [checkbox](?path=/docs/checkbox--default-story). +- To let the user navigate to another page while giving more context than with a [link](?path=/docs/link--default-story). + +### Content + +- Have an heading and a content. + +## Usage + +Tiles behaves like a radio button or a checkbox depending if it's used in a [single or multiple selection context](?path=/docs/tile--tile#tilegroup). + +### Basic + +A tile consists of minimally an heading and some content. + +<Canvas of={TileStories.Default} /> + +### Image + +A tile can have an [image](?path=/story/chromatic-image--default). + +<Canvas of={TileStories.ImageStory} /> + +Or an [illustration](?path=/docs/illustration--horizontal) with a background color. + +<Canvas of={TileStories.IllustrationStory} /> + +### Checked + +A tile can be checked. + +<Canvas of={TileStories.Checked} /> + +### Disabled + +A tile can be disabled. + +<Canvas of={TileStories.Disabled} /> + +### Orientation + +A tile can render horizontally. + +<Canvas of={TileStories.Orientation} /> + +### Controlled + +A tite can handle `checked` state in controlled mode. + +<Canvas of={TileStories.Controlled} /> + +## TileLink + +A tile can also be navigable. It is similar to a [link](?path=/docs/link--default-story) and it does share the same props. + +<Canvas of={TileStories.TileLinkStory} /> + +### React router + +To integrate with a third-party routing library like [React Router](https://reactrouter.com) any link component can be rendered as a [React Router Link](https://reactrouter.com/en/main/components/link) or as any other custom component. + +```jsx +import { Link } from "react-router-dom"; + +const RouterTileLink = as(TileLink, Link); + +() => { + return ( + <RouterTileLink to="/buy"> + <Heading>Buy a ticket</Heading> + <Content>Purchase a ticket for any of our space travel adventure.</Content> + </RouterTileLink> + ); +}; + +``` + +## TileGroup + +Related tiles can be grouped together. By default a tile group doesn't allow any selection. This is usually what you want if you need to group together navigable tiles. + +<Canvas of={TileStories.TileGroupNoSelection} /> + +### Single selection + +A tile group can allow a single selection. This is a behavior similar to a [radio group](?path=/docs/radio-group--default-story). + +<Canvas of={TileStories.TileGroupSingleSelection} /> + +### Multiple selection + +A tile group can allow a multiple selection. This is a behavior similar to a [checkbox group](?path=/docs/checkbox--default-story#checkbox-group). + +<Canvas of={TileStories.TileGroupMultipleSelection} /> + +### Row size + +A tile group can have multiple tiles on the same row. + +<Canvas of={TileStories.TileGroupRowSize} /> + +### Wrap + +A tile group tiles will wrap on multiple lines automatically. + +<Canvas of={TileStories.TileGroupWrap} /> + +### Controlled + +A tile group with selection can handle `value` state in controlled mode. + +<Canvas of={TileStories.TileGroupControlled} /> + +## API + +### Tile + +<ComponentInfo + usage={"import { Tile } from \"@workleap/orbiter-ui\";"} + slots={["image", "illustration", "heading", "content"]} + inherits={[InnerTile.defaultElement, "styled-component"]} + compact +/> + +<ArgTypes of={InnerTile} sort="alpha" /> + +### TileLink + +<ComponentInfo + usage={"import { TileLink } from \"@workleap/orbiter-ui\";"} + slots={["image", "illustration", "heading", "content"]} + inherits={[InnerTileLink.defaultElement, "styled-component"]} + compact +/> + +<ArgTypes of={InnerTileLink} sort="alpha" /> + +### TileGroup + +<ComponentInfo + usage={"import { TileGroup } from \"@workleap/orbiter-ui\";"} + inherits={[InnerTileGroup.defaultElement, "styled-component"]} + compact +/> + +<ArgTypes of={InnerTileGroup} sort="alpha" /> + +### Heading + +<ComponentInfo + usage={"import { Heading } from \"@workleap/orbiter-ui\";"} + inherits={[InnerHeading.defaultElement, "styled-component"]} + compact +/> + +<ArgTypes of={InnerHeading} sort="alpha" /> + +### Content + +<ComponentInfo + usage={"import { Content } from \"@workleap/orbiter-ui\";"} + inherits={[InnerContent.defaultElement, "styled-component"]} + compact +/> + +<ArgTypes of={InnerContent} sort="alpha" /> diff --git a/packages/components/src/tile/docs/Tile.stories.mdx b/packages/components/src/tile/docs/Tile.stories.mdx deleted file mode 100644 index 2628adb22..000000000 --- a/packages/components/src/tile/docs/Tile.stories.mdx +++ /dev/null @@ -1,349 +0,0 @@ -import { ArgsTable, Meta, Story } from "@storybook/addon-docs"; -import { ComponentInfo, Preview, Tagline } from "@stories/components"; -import { Content, InnerContent } from "@components/placeholders"; -import { Heading, InnerHeading } from "@components/typography"; -import { Illustration } from "@components/illustration"; -import { Image } from "@components/image"; -import { Inline } from "@components/layout"; -import { InnerTile, InnerTileGroup, InnerTileLink, Tile, TileGroup, TileLink } from "@components/tile"; -import { Planet, SpacePortraitHorizontal, SpacePortrait } from "./assets"; - -<Meta - title="Components/Tile" - id="tile" -/> - -# Tile - -<Tagline>A tile groups information into an interactive element to let users browse and take action on a group of related items.</Tagline> - -<ComponentInfo - usage={"import { Tile, TileLink, TileGroup, Heading, Content } from \"@workleap/orbiter-ui\";"} - githubPath="/packages/components/src/tile/src" -/> - -## Guidelines - -### When to use - -- To let the user make a choice while giving more context than with a [radio group](?path=/docs/radio-group--default-story) or a [checkbox](?path=/docs/checkbox--default-story). -- To let the user navigate to another page while giving more context than with a [link](?path=/docs/link--default-story). - -### Content - -- Have an heading and a content. - -## Usage - -Tiles behaves like a radio button or a checkbox depending if it's used in a [single or multiple selection context](?path=/docs/tile--tile#tilegroup). - -### Basic - -A tile consists of minimally an heading and some content. - -<Preview width="20rem"> - <Story name="tile"> - <Tile> - <Heading>Buy a ticket</Heading> - <Content>Purchase a ticket for any of our space travel adventure.</Content> - </Tile> - </Story> -</Preview> - -### Image - -A tile can have an [image](?path=/story/chromatic-image--default). - -<Preview scope={{ SpacePortraitHorizontal }} width="20rem"> - <Story name="image"> - <Tile> - <Image src={SpacePortraitHorizontal} alt="Planet over another planet" /> - <Heading>Buy a ticket</Heading> - <Content>Tickets are not refundable and not transferable. A confirmation email will be sent within the next few minutes.</Content> - </Tile> - </Story> -</Preview> - -Or an [illustration](?path=/docs/illustration--horizontal) with a background color. - -<Preview scope={{ Planet }} width="20rem"> - <Story name="illustration"> - <Tile> - <Illustration backgroundColor="primary-weak"> - <Image src={Planet} width="100px" alt="Planet" /> - </Illustration> - <Heading>Buy a ticket</Heading> - <Content>Tickets are not refundable and not transferable. A confirmation email will be sent within the next few minutes</Content> - </Tile> - </Story> -</Preview> - -### Checked - -A tile can be checked. - -<Preview width="20rem"> - <Story name="checked"> - <Tile defaultChecked> - <Heading>Buy a ticket</Heading> - <Content>Purchase a ticket for any of our space travel adventure.</Content> - </Tile> - </Story> -</Preview> - -### Disabled - -A tile can be disabled. - -<Preview width="20rem"> - <Story name="disabled"> - <Tile disabled> - <Heading>Buy a ticket</Heading> - <Content>Purchase a ticket for any of our space travel adventure.</Content> - </Tile> - </Story> -</Preview> - -### Orientation - -A tile can render horizontally. - -<Preview scope={{ SpacePortrait, Planet }}> - <Story name="orientation"> - <Inline wrap={{ base: true, md: false }}> - <Tile orientation="horizontal"> - <Image src={SpacePortrait} - alt="Space Portrait" - /> - <Heading>Buy a ticket</Heading> - <Content>Tickets are not refundable and not transferable. A confirmation email will be sent within the next few minutes.</Content> - </Tile> - <Tile orientation="horizontal"> - <Illustration> - <Image src={Planet} width="100px" alt="Planet" /> - </Illustration> - <Heading>Buy a ticket</Heading> - <Content>Tickets are not refundable and not transferable. A confirmation email will be sent within the next few minutes.</Content> - </Tile> - </Inline> - </Story> -</Preview> - -### Controlled - -A tite can handle `checked` state in controlled mode. - -<Preview filePath="/tile/docs/ControlledTile" width="20rem" /> - -## TileLink - -A tile can also be navigable. It is similar to a [link](?path=/docs/link--default-story) and it does share the same props. - -<Preview width="20rem"> - <Story name="link"> - <TileLink href="https://www.virgingalactic.com"> - <Heading>Buy a ticket</Heading> - <Content>Purchase a ticket for any of our space travel adventure.</Content> - </TileLink> - </Story> -</Preview> - -### React router - -To integrate with a third-party routing library like [React Router](https://reactrouter.com) any link component can be rendered as a [React Router Link](https://reactrouter.com/en/main/components/link) or as any other custom component. - -```jsx -import { Link } from "react-router-dom"; - -const RouterTileLink = as(TileLink, Link); - -() => { - return ( - <RouterTileLink to="/buy"> - <Heading>Buy a ticket</Heading> - <Content>Purchase a ticket for any of our space travel adventure.</Content> - </RouterTileLink> - ); -}; - -``` - -## TileGroup - -Related tiles can be grouped together. By default a tile group doesn't allow any selection. This is usually what you want if you need to group together navigable tiles. - -<Preview width="20rem"> - <Story name="no selection"> - <TileGroup> - <TileLink href="https://www.virgingalactic.com"> - <Heading>Buy a ticket</Heading> - <Content>Purchase a ticket for any of our space travel adventure.</Content> - </TileLink> - <TileLink href="https://www.virgingalactic.com"> - <Heading>Refund a ticket</Heading> - <Content>Get a refund for any space travel adventure ticket.</Content> - </TileLink> - <TileLink href="https://www.virgingalactic.com"> - <Heading>Manage Account</Heading> - <Content>Update your address or any other information related to your account.</Content> - </TileLink> - </TileGroup> - </Story> -</Preview> - -### Single selection - -A tile group can allow a single selection. This is a behavior similar to a [radio group](?path=/docs/radio-group--default-story). - -<Preview width="20rem"> - <Story name="single selection"> - <TileGroup selectionMode="single"> - <Tile value="buy"> - <Heading>Buy a ticket</Heading> - <Content>Purchase a ticket for any of our space travel adventure.</Content> - </Tile> - <Tile value="refund"> - <Heading>Refund a ticket</Heading> - <Content>Get a refund for any space travel adventure ticket.</Content> - </Tile> - <Tile value="manage-account"> - <Heading>Manage Account</Heading> - <Content>Update your address or any other information related to your account.</Content> - </Tile> - </TileGroup> - </Story> -</Preview> - -### Multiple selection - -A tile group can allow a multiple selection. This is a behavior similar to a [checkbox group](?path=/docs/checkbox--default-story#checkbox-group). - -<Preview width="20rem"> - <Story name="multiple selection"> - <TileGroup selectionMode="multiple"> - <Tile value="buy"> - <Heading>Buy a ticket</Heading> - <Content>Purchase a ticket for any of our space travel adventure.</Content> - </Tile> - <Tile value="refund"> - <Heading>Refund a ticket</Heading> - <Content>Get a refund for any space travel adventure ticket.</Content> - </Tile> - <Tile value="manage-account"> - <Heading>Manage Account</Heading> - <Content>Update your address or any other information related to your account.</Content> - </Tile> - </TileGroup> - </Story> -</Preview> - -### Row size - -A tile group can have multiple tiles on the same row. - -<Preview> - <Story name="row size"> - <TileGroup rowSize={{ - base: "1", - md: "2", - lg: "3" - }} - > - <TileLink href="https://www.virgingalactic.com"> - <Heading>Buy a ticket</Heading> - <Content>Purchase a ticket for any of our space travel adventure.</Content> - </TileLink> - <TileLink href="https://www.virgingalactic.com"> - <Heading>Refund a ticket</Heading> - <Content>Get a refund for any space travel adventure ticket.</Content> - </TileLink> - <TileLink href="https://www.virgingalactic.com"> - <Heading>Manage Account</Heading> - <Content>Update your address or any other information related to your account.</Content> - </TileLink> - </TileGroup> - </Story> -</Preview> - -### Wrap - -A tile group tiles will wrap on multiple lines automatically. - -<Preview> - <Story name="wrap"> - <TileGroup rowSize={2}> - <TileLink href="https://www.virgingalactic.com"> - <Heading>Buy a ticket</Heading> - <Content>Purchase a ticket for any of our space travel adventure.</Content> - </TileLink> - <TileLink href="https://www.virgingalactic.com"> - <Heading>Refund a ticket</Heading> - <Content>Get a refund for any space travel adventure ticket.</Content> - </TileLink> - <TileLink href="https://www.virgingalactic.com"> - <Heading>Manage Account</Heading> - <Content>Update your address or any other information related to your account.</Content> - </TileLink> - </TileGroup> - </Story> -</Preview> - -### Controlled - -A tile group with selection can handle `value` state in controlled mode. - -<Preview filePath="/tile/docs/ControlledTileGroup" /> - -## API - -### Tile - -<ComponentInfo - usage={"import { Tile } from \"@workleap/orbiter-ui\";"} - slots={["image", "illustration", "heading", "content"]} - inherits={[InnerTile.defaultElement, "styled-component"]} - compact -/> - -<ArgsTable of={InnerTile} sort="alpha" /> - -### TileLink - -<ComponentInfo - usage={"import { TileLink } from \"@workleap/orbiter-ui\";"} - slots={["image", "illustration", "heading", "content"]} - inherits={[InnerTileLink.defaultElement, "styled-component"]} - compact -/> - -<ArgsTable of={InnerTileLink} sort="alpha" /> - -### TileGroup - -<ComponentInfo - usage={"import { TileGroup } from \"@workleap/orbiter-ui\";"} - inherits={[InnerTileGroup.defaultElement, "styled-component"]} - compact -/> - -<ArgsTable of={InnerTileGroup} sort="alpha" /> - -### Heading - -<ComponentInfo - usage={"import { Heading } from \"@workleap/orbiter-ui\";"} - inherits={[InnerHeading.defaultElement, "styled-component"]} - compact -/> - -<ArgsTable of={InnerHeading} sort="alpha" /> - -### Content - -<ComponentInfo - usage={"import { Content } from \"@workleap/orbiter-ui\";"} - inherits={[InnerContent.defaultElement, "styled-component"]} - compact -/> - -<ArgsTable of={InnerContent} sort="alpha" /> diff --git a/packages/components/src/tile/docs/Tile.stories.tsx b/packages/components/src/tile/docs/Tile.stories.tsx new file mode 100644 index 000000000..8c0f4c115 --- /dev/null +++ b/packages/components/src/tile/docs/Tile.stories.tsx @@ -0,0 +1,281 @@ +import { Illustration } from "@components/illustration"; +import { Image } from "@components/image"; +import { Inline } from "@components/layout"; +import { Tile, TileGroup, TileLink } from "@components/tile"; +import { Content } from "@components/placeholders"; +import { Div } from "@components/html"; +import { Heading } from "@components/typography"; +import { Planet, SpacePortraitHorizontal, SpacePortrait } from "./assets"; +import { useCallback, useState } from "react"; + +import { Meta, StoryObj } from "@storybook/react"; + +const meta = { + title: "Components/Tile", + component: Tile, + id: "tile" +} as Meta<typeof Tile>; + +export default meta; + +type TileStory = StoryObj<typeof meta>; + +export const Default: TileStory = { + render: () => ( + <Div width="20rem"> + <Tile> + <Heading>Buy a ticket</Heading> + <Content>Purchase a ticket for any of our space travel adventure.</Content> + </Tile> + </Div> + ) +}; + +export const ImageStory: TileStory = { + render: () => ( + <Div width="20rem"> + <Tile> + <Image alt="Planet over another planet" src={SpacePortraitHorizontal} /> + <Heading>Buy a ticket</Heading> + <Content>Tickets are not refundable and not transferable. A confirmation email will be sent within the next few minutes.</Content> + </Tile> + </Div> + ) +}; + +export const IllustrationStory: TileStory = { + render: () => ( + <Div width="20rem"> + <Tile> + <Illustration backgroundColor="primary-weak"> + <Image alt="Planet" src={Planet} width="100px" /> + </Illustration> + <Heading>Buy a ticket</Heading> + <Content>Tickets are not refundable and not transferable. A confirmation email will be sent within the next few minutes</Content> + </Tile> + </Div> + ) +}; + +export const Checked: TileStory = { + render: () => ( + <Div width="20rem"> + <Tile defaultChecked> + <Heading>Buy a ticket</Heading> + <Content>Purchase a ticket for any of our space travel adventure.</Content> + </Tile> + </Div> + ) +}; + +export const Disabled: TileStory = { + render: () => ( + <Div width="20rem"> + <Tile disabled> + <Heading>Buy a ticket</Heading> + <Content>Purchase a ticket for any of our space travel adventure.</Content> + </Tile> + + </Div> + ) +}; + +export const Orientation: TileStory = { + render: () => ( + <Inline wrap={{ base: true, md: false }}> + <Tile orientation="horizontal"> + <Image alt="Space Portrait" + src={SpacePortrait} + /> + <Heading>Buy a ticket</Heading> + <Content>Tickets are not refundable and not transferable. A confirmation email will be sent within the next few minutes.</Content> + </Tile> + <Tile orientation="horizontal"> + <Illustration> + <Image alt="Planet" src={Planet} width="100px" /> + </Illustration> + <Heading>Buy a ticket</Heading> + <Content>Tickets are not refundable and not transferable. A confirmation email will be sent within the next few minutes.</Content> + </Tile> + </Inline> + ) +}; + +/* eslint-disable react-hooks/rules-of-hooks */ +export const Controlled: TileStory = { + render: () => { + const [isChecked, setIsChecked] = useState(false); + + const handleChange = useCallback(() => { + setIsChecked(x => !x); + console.log(!isChecked); + }, [isChecked, setIsChecked]); + + return ( + <Div width="20rem"> + <Tile + checked={isChecked} + onChange={handleChange} + > + <Heading>Buy a ticket</Heading> + <Content>Purchase a ticket for any of our space travel adventure.</Content> + </Tile> + </Div> + ); + } +}; + +export const TileLinkStory: TileStory = { + render: () => ( + <Div width="20rem"> + <TileLink href="https://www.virgingalactic.com"> + <Heading>Buy a ticket</Heading> + <Content>Purchase a ticket for any of our space travel adventure.</Content> + </TileLink> + </Div> + ) +}; + +export const TileGroupNoSelection: TileStory = { + render: () => ( + <Div width="20rem"> + <TileGroup> + <TileLink href="https://www.virgingalactic.com"> + <Heading>Buy a ticket</Heading> + <Content>Purchase a ticket for any of our space travel adventure.</Content> + </TileLink> + <TileLink href="https://www.virgingalactic.com"> + <Heading>Refund a ticket</Heading> + <Content>Get a refund for any space travel adventure ticket.</Content> + </TileLink> + <TileLink href="https://www.virgingalactic.com"> + <Heading>Manage Account</Heading> + <Content>Update your address or any other information related to your account.</Content> + </TileLink> + </TileGroup> + </Div> + ) +}; + +export const TileGroupSingleSelection: TileStory = { + render: () => ( + <Div width="20rem"> + <TileGroup selectionMode="single"> + <Tile value="buy"> + <Heading>Buy a ticket</Heading> + <Content>Purchase a ticket for any of our space travel adventure.</Content> + </Tile> + <Tile value="refund"> + <Heading>Refund a ticket</Heading> + <Content>Get a refund for any space travel adventure ticket.</Content> + </Tile> + <Tile value="manage-account"> + <Heading>Manage Account</Heading> + <Content>Update your address or any other information related to your account.</Content> + </Tile> + </TileGroup> + </Div> + ) +}; + +export const TileGroupMultipleSelection: TileStory = { + render: () => ( + <Div width="20rem"> + <TileGroup selectionMode="multiple"> + <Tile value="buy"> + <Heading>Buy a ticket</Heading> + <Content>Purchase a ticket for any of our space travel adventure.</Content> + </Tile> + <Tile value="refund"> + <Heading>Refund a ticket</Heading> + <Content>Get a refund for any space travel adventure ticket.</Content> + </Tile> + <Tile value="manage-account"> + <Heading>Manage Account</Heading> + <Content>Update your address or any other information related to your account.</Content> + </Tile> + </TileGroup> + </Div> + ) +}; + +export const TileGroupRowSize: TileStory = { + render: () => ( + <TileGroup rowSize={{ + base: "1", + md: "2", + lg: "3" + }} + > + <TileLink href="https://www.virgingalactic.com"> + <Heading>Buy a ticket</Heading> + <Content>Purchase a ticket for any of our space travel adventure.</Content> + </TileLink> + <TileLink href="https://www.virgingalactic.com"> + <Heading>Refund a ticket</Heading> + <Content>Get a refund for any space travel adventure ticket.</Content> + </TileLink> + <TileLink href="https://www.virgingalactic.com"> + <Heading>Manage Account</Heading> + <Content>Update your address or any other information related to your account.</Content> + </TileLink> + </TileGroup> + ) +}; + +export const TileGroupWrap: TileStory = { + render: () => ( + <TileGroup rowSize={2}> + <TileLink href="https://www.virgingalactic.com"> + <Heading>Buy a ticket</Heading> + <Content>Purchase a ticket for any of our space travel adventure.</Content> + </TileLink> + <TileLink href="https://www.virgingalactic.com"> + <Heading>Refund a ticket</Heading> + <Content>Get a refund for any space travel adventure ticket.</Content> + </TileLink> + <TileLink href="https://www.virgingalactic.com"> + <Heading>Manage Account</Heading> + <Content>Update your address or any other information related to your account.</Content> + </TileLink> + </TileGroup> + ) +}; + +/* eslint-disable react-hooks/rules-of-hooks */ +export const TileGroupControlled: TileStory = { + render: () => { + const [value, setValue] = useState([]); + + const handleChange = useCallback((event, newValue) => { + setValue(newValue); + console.log(newValue); + }, [setValue]); + + return ( + <TileGroup + onChange={handleChange} + rowSize={{ + base: "1", + md: "2", + lg: "3" + }} + selectionMode="multiple" + value={value} + > + <Tile value="buy"> + <Heading>Buy a ticket</Heading> + <Content>Purchase a ticket for any of our space travel adventure.</Content> + </Tile> + <Tile value="refund"> + <Heading>Refund a ticket</Heading> + <Content>Get a refund for any space travel adventure ticket.</Content> + </Tile> + <Tile value="manage-account"> + <Heading>Manage Account</Heading> + <Content>Update your address or any other information related to your account.</Content> + </Tile> + </TileGroup> + ); + } +}; From 524bae22558a394533eb1d0047cbcc24faccbdf7 Mon Sep 17 00:00:00 2001 From: Francis Thibault <francis.thibault@gsoft.com> Date: Mon, 4 Nov 2024 10:36:55 -0500 Subject: [PATCH 36/95] added alert/badge/image --- packages/components/src/alert/docs/Alert.mdx | 121 ++++++++++ .../src/alert/docs/Alert.stories.mdx | 215 ------------------ .../src/alert/docs/Alert.stories.tsx | 160 +++++++++++++ .../src/alert/docs/ControlledAlert.sample.jsx | 32 --- packages/components/src/badge/docs/Badge.mdx | 54 +++++ .../src/badge/docs/Badge.stories.mdx | 138 ----------- .../src/badge/docs/Badge.stories.tsx | 104 +++++++++ .../docs/{Image.stories.mdx => Image.mdx} | 60 ++--- .../src/image/docs/Image.stories.tsx | 54 +++++ 9 files changed, 508 insertions(+), 430 deletions(-) create mode 100644 packages/components/src/alert/docs/Alert.mdx delete mode 100644 packages/components/src/alert/docs/Alert.stories.mdx create mode 100644 packages/components/src/alert/docs/Alert.stories.tsx delete mode 100644 packages/components/src/alert/docs/ControlledAlert.sample.jsx create mode 100644 packages/components/src/badge/docs/Badge.mdx delete mode 100644 packages/components/src/badge/docs/Badge.stories.mdx create mode 100644 packages/components/src/badge/docs/Badge.stories.tsx rename packages/components/src/image/docs/{Image.stories.mdx => Image.mdx} (50%) create mode 100644 packages/components/src/image/docs/Image.stories.tsx diff --git a/packages/components/src/alert/docs/Alert.mdx b/packages/components/src/alert/docs/Alert.mdx new file mode 100644 index 000000000..42347ba18 --- /dev/null +++ b/packages/components/src/alert/docs/Alert.mdx @@ -0,0 +1,121 @@ +import { Alert, AlertTrigger, InnerAlert } from "@components/alert"; +import { ArgTypes, Meta, Canvas } from "@storybook/addon-docs"; +import { ComponentInfo, Tagline } from "@stories/components"; +import { InnerContent } from "@components/placeholders"; +import { InnerHeading } from "@components/typography"; + +import * as AlertStories from "./Alert.stories.tsx"; + +<Meta of={AlertStories} /> + +# Alert + +<Tagline>An alert is a modal dialog that interrupts the user's workflow to communicate an important message and acquire a response.</Tagline> + +<ComponentInfo + usage={"import { Alert, Heading, Content, useAlertTriggerContext } from \"@workleap/orbiter-ui\";"} + ariaPath="alertdialog" + githubPath="/packages/components/src/alert/src" +/> + +## Guidelines + +### When to use + +- To display a confirmation message, an error, or a warning. + +### Accessibility + +#### Announcement + +- [`aria-label`](https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Attributes/aria-label) and [`aria-describedby`](https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Attributes/aria-describedby) defaults to the alert `<Heading>` and `<Content>` values. +- You can overwrite them by setting `aria-label` and `aria-describedby` props on the alert. + +#### Focus + +- If the alert calls for an action, make sure to set the focus correctly to avoid any unwanted action. +- You can use the `autoFocusButton` prop on the alert to specify which control should have the initial focus. +- If your alert is destructive, you can offer a secondary button _Cancel_ and set the focus to the secondary button with `autoFocusButton="secondary"`. + +## Usage + +### Default + +An alert must have a heading, some content and a primary button label. + +<Canvas of={AlertStories.Default} /> + +### Secondary button + +An alert can have a secondary button. + +<Canvas of={AlertStories.SecondaryButton} /> + +### Cancel button + +An alert can have a cancel button. + +<Canvas of={AlertStories.CancelButton} /> + +### Disabled buttons + +An alert primary and secondary buttons can be disabled. + +<Canvas of={AlertStories.DisabledButton} /> + +### Confirmation + +Use a confirmation alert when a non-destructive action is required from a user. + +<Canvas of={AlertStories.Confirmation} /> + +### Destructive + +Use a destructive alert to confirm a permanent change, like deleting data. + +<Canvas of={AlertStories.Destructive} /> + +### Not Dismissable + +An alert can be undismissable. + +<Canvas of={AlertStories.Undismissable} /> + +### Controlled + +The `open` state can be handled in controlled mode. + +<Canvas of={AlertStories.Controlled} /> + +## API + +### Alert + +<ComponentInfo + usage={"import { Alert } from \"@workleap/orbiter-ui\";"} + slots={["heading", "content"]} + inherits={[InnerAlert.defaultElement, "styled-component"]} + compact +/> + +<ArgTypes of={InnerAlert} sort="alpha" /> + +### Heading + +<ComponentInfo + usage={"import { Heading } from \"@workleap/orbiter-ui\";"} + inherits={[InnerHeading.defaultElement, "styled-component"]} + compact +/> + +<ArgTypes of={InnerHeading} sort="alpha" /> + +### Content + +<ComponentInfo + usage={"import { Content } from \"@workleap/orbiter-ui\";"} + inherits={[InnerContent.defaultElement, "styled-component"]} + compact +/> + +<ArgTypes of={InnerContent} sort="alpha" /> diff --git a/packages/components/src/alert/docs/Alert.stories.mdx b/packages/components/src/alert/docs/Alert.stories.mdx deleted file mode 100644 index 9486d4a33..000000000 --- a/packages/components/src/alert/docs/Alert.stories.mdx +++ /dev/null @@ -1,215 +0,0 @@ -import { Alert, AlertTrigger, InnerAlert } from "@components/alert"; -import { ArgsTable, Meta, Story } from "@storybook/addon-docs"; -import { Button } from "@components/button"; -import { ComponentInfo, Preview, Tagline } from "@stories/components"; -import { Content, InnerContent } from "@components/placeholders"; -import { Heading, InnerHeading } from "@components/typography"; - -<Meta - title="Components/Alert" - id="alert" -/> - -# Alert - -<Tagline>An alert is a modal dialog that interrupts the user's workflow to communicate an important message and acquire a response.</Tagline> - -<ComponentInfo - usage={"import { Alert, Heading, Content, useAlertTriggerContext } from \"@workleap/orbiter-ui\";"} - ariaPath="alertdialog" - githubPath="/packages/components/src/alert/src" -/> - -## Guidelines - -### When to use - -- To display a confirmation message, an error, or a warning. - -### Accessibility - -#### Announcement - -- [`aria-label`](https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Attributes/aria-label) and [`aria-describedby`](https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Attributes/aria-describedby) defaults to the alert `<Heading>` and `<Content>` values. -- You can overwrite them by setting `aria-label` and `aria-describedby` props on the alert. - -#### Focus - -- If the alert calls for an action, make sure to set the focus correctly to avoid any unwanted action. -- You can use the `autoFocusButton` prop on the alert to specify which control should have the initial focus. -- If your alert is destructive, you can offer a secondary button _Cancel_ and set the focus to the secondary button with `autoFocusButton="secondary"`. - -## Usage - -### Default - -An alert must have a heading, some content and a primary button label. - -<Preview> - <Story name="default"> - <AlertTrigger> - <Button variant="secondary">Open</Button> - <Alert primaryButtonLabel="Yes"> - <Heading>Autopilot</Heading> - <Content>Are you sure you want to engage autopilot?</Content> - </Alert> - </AlertTrigger> - </Story> -</Preview> - -### Secondary button - -An alert can have a secondary button. - -<Preview> - <Story name="secondary button"> - <AlertTrigger> - <Button variant="secondary">Open</Button> - <Alert - primaryButtonLabel="Yes" - secondaryButtonLabel="Postpone" - > - <Heading>Autopilot</Heading> - <Content>Are you sure you want to engage autopilot?</Content> - </Alert> - </AlertTrigger> - </Story> -</Preview> - -### Cancel button - -An alert can have a cancel button. - -<Preview> - <Story name="cancel button"> - <AlertTrigger> - <Button variant="secondary">Open</Button> - <Alert - primaryButtonLabel="Yes" - cancelButtonLabel="No" - > - <Heading>Autopilot</Heading> - <Content>Are you sure you want to engage autopilot?</Content> - </Alert> - </AlertTrigger> - </Story> -</Preview> - -### Disabled buttons - -An alert primary and secondary buttons can be disabled. - -<Preview> - <Story name="disabled buttons"> - <AlertTrigger> - <Button variant="secondary">Open</Button> - <Alert - primaryButtonLabel="Yes" - primaryButtonDisabled - secondaryButtonLabel="Postpone" - > - <Heading>Autopilot</Heading> - <Content>Are you sure you want to engage autopilot?</Content> - </Alert> - </AlertTrigger> - </Story> -</Preview> - -### Confirmation - -Use a confirmation alert when a non-destructive action is required from a user. - -<Preview> - <Story name="confirmation"> - <AlertTrigger> - <Button variant="secondary">Open</Button> - <Alert - variant="confirmation" - primaryButtonLabel="Yes" - cancelButtonLabel="No" - > - <Heading>Autopilot</Heading> - <Content>Are you sure you want to engage autopilot?</Content> - </Alert> - </AlertTrigger> - </Story> -</Preview> - -### Destructive - -Use a destructive alert to confirm a permanent change, like deleting data. - -<Preview> - <Story name="destructive"> - <AlertTrigger> - <Button variant="secondary">Open</Button> - <Alert - variant="destructive" - primaryButtonLabel="Yes" - cancelButtonLabel="No" - > - <Heading>Eject</Heading> - <Content>Are you sure you want to eject into the void?</Content> - </Alert> - </AlertTrigger> - </Story> -</Preview> - -### Not Dismissable - -An alert can be undismissable. - -<Preview> - <Story name="not dismissable"> - <AlertTrigger> - <Button variant="secondary">Open</Button> - <Alert - primaryButtonLabel="Retry" - cancelButtonLabel="Cancel" - dismissable={false} - > - <Heading>Network error</Heading> - <Content>Something went wrong while connecting to NASA network. Please try again in a few minutes.</Content> - </Alert> - </AlertTrigger> - </Story> -</Preview> - -### Controlled - -The `open` state can be handled in controlled mode. - -<Preview filePath="/alert/docs/ControlledAlert" /> - -## API - -### Alert - -<ComponentInfo - usage={"import { Alert } from \"@workleap/orbiter-ui\";"} - slots={["heading", "content"]} - inherits={[InnerAlert.defaultElement, "styled-component"]} - compact -/> - -<ArgsTable of={InnerAlert} sort="alpha" /> - -### Heading - -<ComponentInfo - usage={"import { Heading } from \"@workleap/orbiter-ui\";"} - inherits={[InnerHeading.defaultElement, "styled-component"]} - compact -/> - -<ArgsTable of={InnerHeading} sort="alpha" /> - -### Content - -<ComponentInfo - usage={"import { Content } from \"@workleap/orbiter-ui\";"} - inherits={[InnerContent.defaultElement, "styled-component"]} - compact -/> - -<ArgsTable of={InnerContent} sort="alpha" /> diff --git a/packages/components/src/alert/docs/Alert.stories.tsx b/packages/components/src/alert/docs/Alert.stories.tsx new file mode 100644 index 000000000..e89765434 --- /dev/null +++ b/packages/components/src/alert/docs/Alert.stories.tsx @@ -0,0 +1,160 @@ +import { Alert } from "@components/alert"; +import { Button } from "@components/button"; +import { Content } from "@components/placeholders"; +import { Heading } from "@components/typography"; +import { useCallback, useState } from "react"; + +import { Meta, StoryObj } from "@storybook/react"; + +const meta = { + title: "Components/Alert", + component: Alert, + id: "Alert" +} as Meta<typeof Alert>; + +export default meta; + +type AlertStory = StoryObj<typeof meta>; + +export const Default: AlertStory = { + render: () => ( + <AlertTrigger> + <Button variant="secondary">Open</Button> + <Alert primaryButtonLabel="Yes"> + <Heading>Autopilot</Heading> + <Content>Are you sure you want to engage autopilot?</Content> + </Alert> + </AlertTrigger> + ) +}; + +export const SecondaryButton: AlertStory = { + render: () => ( + <AlertTrigger> + <Button variant="secondary">Open</Button> + <Alert + primaryButtonLabel="Yes" + secondaryButtonLabel="Postpone" + > + <Heading>Autopilot</Heading> + <Content>Are you sure you want to engage autopilot?</Content> + </Alert> + </AlertTrigger> + ) +}; + +export const CancelButton: AlertStory = { + render: () => ( + <AlertTrigger> + <Button variant="secondary">Open</Button> + <Alert + cancelButtonLabel="No" + primaryButtonLabel="Yes" + > + <Heading>Autopilot</Heading> + <Content>Are you sure you want to engage autopilot?</Content> + </Alert> + </AlertTrigger> + ) +}; + +export const DisabledButton: AlertStory = { + render: () => ( + <AlertTrigger> + <Button variant="secondary">Open</Button> + <Alert + primaryButtonDisabled + primaryButtonLabel="Yes" + secondaryButtonLabel="Postpone" + > + <Heading>Autopilot</Heading> + <Content>Are you sure you want to engage autopilot?</Content> + </Alert> + </AlertTrigger> + ) +}; + +export const Confirmation: AlertStory = { + render: () => ( + <AlertTrigger> + <Button variant="secondary">Open</Button> + <Alert + cancelButtonLabel="No" + primaryButtonLabel="Yes" + variant="confirmation" + > + <Heading>Autopilot</Heading> + <Content>Are you sure you want to engage autopilot?</Content> + </Alert> + </AlertTrigger> + ) +}; + +export const Destructive: AlertStory = { + render: () => ( + <AlertTrigger> + <Button variant="secondary">Open</Button> + <Alert + cancelButtonLabel="No" + primaryButtonLabel="Yes" + variant="destructive" + > + <Heading>Eject</Heading> + <Content>Are you sure you want to eject into the void?</Content> + </Alert> + </AlertTrigger> + ) +}; + +export const Undismissable: AlertStory = { + render: () => ( + <AlertTrigger> + <Button variant="secondary">Open</Button> + <Alert + cancelButtonLabel="Cancel" + dismissable={false} + primaryButtonLabel="Retry" + > + <Heading>Network error</Heading> + <Content>Something went wrong while connecting to NASA network. Please try again in a few minutes.</Content> + </Alert> + </AlertTrigger> + + ) +}; + +/* eslint-disable react-hooks/rules-of-hooks */ +export const Controlled: AlertStory = { + render: () => { + const [isOpen, setIsOpen] = useState(false); + + const handleOpenChange = useCallback((event, newValue) => { + setIsOpen(newValue); + console.log(newValue); + }, [setIsOpen]); + + const handleClose = useCallback(() => { + setIsOpen(false); + }, [setIsOpen]); + + return ( + <AlertTrigger + onOpenChange={handleOpenChange} + open={isOpen} + > + <Button variant="secondary">Open</Button> + <Alert + cancelButtonLabel="No" + onCancelButtonClick={handleClose} + onPrimaryButtonClick={handleClose} + onSecondaryButtonClick={handleClose} + primaryButtonLabel="Yes" + secondaryButtonLabel="Postpone" + > + <Heading>Autopilot</Heading> + <Content>Are you sure you want to engage autopilot?</Content> + </Alert> + </AlertTrigger> + ); + } +}; diff --git a/packages/components/src/alert/docs/ControlledAlert.sample.jsx b/packages/components/src/alert/docs/ControlledAlert.sample.jsx deleted file mode 100644 index 57ae0145b..000000000 --- a/packages/components/src/alert/docs/ControlledAlert.sample.jsx +++ /dev/null @@ -1,32 +0,0 @@ -() => { - const [isOpen, setIsOpen] = useState(false); - - const handleOpenChange = useCallback((event, newValue) => { - setIsOpen(newValue); - console.log(newValue); - }, [setIsOpen]); - - const handleClose = useCallback(() => { - setIsOpen(false); - }, [setIsOpen]); - - return ( - <AlertTrigger - open={isOpen} - onOpenChange={handleOpenChange} - > - <Button variant="secondary">Open</Button> - <Alert - primaryButtonLabel="Yes" - secondaryButtonLabel="Postpone" - cancelButtonLabel="No" - onPrimaryButtonClick={handleClose} - onSecondaryButtonClick={handleClose} - onCancelButtonClick={handleClose} - > - <Heading>Autopilot</Heading> - <Content>Are you sure you want to engage autopilot?</Content> - </Alert> - </AlertTrigger> - ); -}; diff --git a/packages/components/src/badge/docs/Badge.mdx b/packages/components/src/badge/docs/Badge.mdx new file mode 100644 index 000000000..1491983eb --- /dev/null +++ b/packages/components/src/badge/docs/Badge.mdx @@ -0,0 +1,54 @@ +import { ArgTypes, Meta, Canvas } from "@storybook/addon-docs"; +import { InnerBadge } from "@components/badge"; +import { ComponentInfo, Tagline } from "@stories/components"; + +import * as BadgeStories from "./Badge.stories.tsx"; + +<Meta of={BadgeStories} /> + +# Badge + +<Tagline>A badge is a floating component displaying a notification such as a count.</Tagline> + +<ComponentInfo + usage={"import { Badge, Text } from \"@workleap/orbiter-ui\";"} + githubPath="/packages/components/src/badge/src" +/> + +## Usage + +### Default + +A default badge. + +<Canvas of={BadgeStories.Default} /> + +### Dot + +A badge can be rendered as a dot. A single digit is supported. + +<Canvas of={BadgeStories.Dot} /> + +### Icon + +A badge can be an [icon](?path=/docs/icon-gallery--page). + +<Canvas of={BadgeStories.Icon} /> + +### Overlap + +A badge can overlap over elements with different shape. + +<Canvas of={BadgeStories.Overlap} /> + +## API + +### Badge + +<ComponentInfo + usage={"import { Badge } from \"@workleap/orbiter-ui\";"} + inherits={[InnerBadge.defaultElement, "styled-component"]} + compact +/> + +<ArgTypes of={InnerBadge} sort="alpha" /> diff --git a/packages/components/src/badge/docs/Badge.stories.mdx b/packages/components/src/badge/docs/Badge.stories.mdx deleted file mode 100644 index a1d25c940..000000000 --- a/packages/components/src/badge/docs/Badge.stories.mdx +++ /dev/null @@ -1,138 +0,0 @@ -import { ArgsTable, Meta, Story } from "@storybook/addon-docs"; -import { Badge, InnerBadge } from "@components/badge"; -import { SparklesIcon } from "@hopper-ui/icons"; -import { Circle } from "./Circle.jsx"; -import { ComponentInfo, Preview, Tagline } from "@stories/components"; -import { Inline } from "@components/layout"; -import { Square } from "./Square.jsx"; -import { Text } from "@components/typography"; - -<Meta - title="Components/Badge" - id="badge" -/> - -# Badge - -<Tagline>A badge is a floating component displaying a notification such as a count.</Tagline> - -<ComponentInfo - usage={"import { Badge, Text } from \"@workleap/orbiter-ui\";"} - githubPath="/packages/components/src/badge/src" -/> - -## Usage - -### Default - -A default badge. - -<Preview scope={{ Square }}> - <Story name="default"> - <Inline gap={400} alignY="center"> - <Badge> - <Text>5</Text> - <Square /> - </Badge> - <Badge> - <Text>5+</Text> - <Square /> - </Badge> - <Badge> - <Text>50</Text> - <Square /> - </Badge> - <Badge> - <Text>500</Text> - <Square /> - </Badge> - </Inline> - </Story> -</Preview> - -### Dot - -A badge can be rendered as a dot. A single digit is supported. - -<Preview scope={{ Circle }}> - <Story name="dot"> - <Inline gap={400} alignY="center"> - <Badge variant="dot" overlap="circle"> - <Circle /> - </Badge> - <Badge variant="dot" overlap="icon"> - <SparklesIcon/> - </Badge> - <Badge variant="dot"> - Notifications - </Badge> - </Inline> - </Story> -</Preview> - -### Icon - -A badge can be an [icon](?path=/docs/icon-gallery--page). - -<Preview scope={{ Circle }}> - <Story name="icon"> - <Badge variant="icon" overlap="circle"> - <SparklesIcon /> - <Circle /> - </Badge> - </Story> -</Preview> - -### Overlap - -A badge can overlap over elements with different shape. - -<Preview scope={{ Square, Circle }}> - <Story name="overlap"> - <Inline gap={800} alignY="center"> - <Inline gap={400}> - <Badge> - <Text>100</Text> - <Square /> - </Badge> - <Badge variant="dot"> - <Square /> - </Badge> - <Badge variant="icon"> - <SparklesIcon /> - <Square /> - </Badge> - </Inline> - <Inline gap={400}> - <Badge overlap="circle"> - <Text>100</Text> - <Circle /> - </Badge> - <Badge variant="dot" overlap="circle"> - <Circle /> - </Badge> - <Badge variant="icon" overlap="circle"> - <SparklesIcon /> - <Circle /> - </Badge> - </Inline> - <Inline gap={400}> - <Badge variant="dot" overlap="icon"> - <SparklesIcon/> - </Badge> - </Inline> - </Inline> - </Story> -</Preview> - -## API - -### Badge - -<ComponentInfo - usage={"import { Badge } from \"@workleap/orbiter-ui\";"} - inherits={[InnerBadge.defaultElement, "styled-component"]} - compact -/> - -<ArgsTable of={InnerBadge} sort="alpha" /> diff --git a/packages/components/src/badge/docs/Badge.stories.tsx b/packages/components/src/badge/docs/Badge.stories.tsx new file mode 100644 index 000000000..074b6e1ec --- /dev/null +++ b/packages/components/src/badge/docs/Badge.stories.tsx @@ -0,0 +1,104 @@ +import { Badge } from "@components/badge"; +import { Circle } from "./Circle.jsx"; +import { SparklesIcon } from "@hopper-ui/icons"; +import { Inline } from "@components/layout"; +import { Square } from "./Square.jsx"; +import { Text } from "@components/typography"; + +import { Meta, StoryObj } from "@storybook/react"; + +const meta = { + title: "Components/Badge", + component: Badge, + id: "badge" +} as Meta<typeof Badge>; + +export default meta; + +type BadgeStory = StoryObj<typeof meta>; + +export const Default: BadgeStory = { + render: () => ( + <Inline alignY="center" gap={400}> + <Badge> + <Text>5</Text> + <Square /> + </Badge> + <Badge> + <Text>5+</Text> + <Square /> + </Badge> + <Badge> + <Text>50</Text> + <Square /> + </Badge> + <Badge> + <Text>500</Text> + <Square /> + </Badge> + </Inline> + ) +}; + +export const Dot: BadgeStory = { + render: () => ( + <Inline alignY="center" gap={400}> + <Badge overlap="circle" variant="dot"> + <Circle /> + </Badge> + <Badge overlap="icon" variant="dot"> + <SparklesIcon /> + </Badge> + <Badge variant="dot"> + Notifications + </Badge> + </Inline> + ) +}; + +export const Icon: BadgeStory = { + render: () => ( + <Badge overlap="circle" variant="icon"> + <SparklesIcon /> + <Circle /> + </Badge> + ) +}; + +export const Overlap: BadgeStory = { + render: () => ( + <Inline alignY="center" gap={800}> + <Inline gap={400}> + <Badge> + <Text>100</Text> + <Square /> + </Badge> + <Badge variant="dot"> + <Square /> + </Badge> + <Badge variant="icon"> + <SparklesIcon /> + <Square /> + </Badge> + </Inline> + <Inline gap={400}> + <Badge overlap="circle"> + <Text>100</Text> + <Circle /> + </Badge> + <Badge overlap="circle" variant="dot"> + <Circle /> + </Badge> + <Badge overlap="circle" variant="icon"> + <SparklesIcon /> + <Circle /> + </Badge> + </Inline> + <Inline gap={400}> + <Badge overlap="icon" variant="dot"> + <SparklesIcon /> + </Badge> + </Inline> + </Inline> + ) +}; diff --git a/packages/components/src/image/docs/Image.stories.mdx b/packages/components/src/image/docs/Image.mdx similarity index 50% rename from packages/components/src/image/docs/Image.stories.mdx rename to packages/components/src/image/docs/Image.mdx index e7cc64cb7..26a146331 100644 --- a/packages/components/src/image/docs/Image.stories.mdx +++ b/packages/components/src/image/docs/Image.mdx @@ -1,13 +1,10 @@ -import { ArgsTable, Meta, Story } from "@storybook/addon-docs"; -import { ComponentInfo, Preview, Tagline } from "@stories/components"; -import { GalaxyImage, GalaxyImage2x, GalaxyImageLg, NoResults } from "./assets"; -import { Image, InnerImage, InnerSvgImage, SvgImage } from "@components/image"; -import { Inline } from "@components/layout"; - -<Meta - title="Components/Image" - id="image" -/> +import { ArgTypes, Meta, Canvas } from "@storybook/addon-docs"; +import { ComponentInfo, Tagline } from "@stories/components"; +import { InnerImage, InnerSvgImage } from "@components/image"; + +import * as ImageStories from "./Image.stories.tsx"; + +<Meta of={ImageStories} /> # Image @@ -31,24 +28,13 @@ import { Inline } from "@components/layout"; An image can use a different shape. -<Preview scope={{ GalaxyImage }}> - <Story name="shape"> - <Inline> - <Image shape="rounded" src={GalaxyImage} alt="Galaxy" width={960} height={960} /> - <Image shape="circular" src={GalaxyImage} alt="Galaxy" width={960} height={960} /> - </Inline> - </Story> -</Preview> +<Canvas of={ImageStories.Shape} /> ### Size An image size can be specifyied with the `width` and `height` props. -<Preview scope={{ GalaxyImageLg }}> - <Story name="size"> - <Image width="200px" height="200px" src={GalaxyImageLg} alt="Galaxy" /> - </Story> -</Preview> +<Canvas of={ImageStories.Size} /> ### Retina @@ -58,41 +44,25 @@ It is highly recommended to serve a _1x_ image as well as a _2x_ image, twice th _Avoid serving images that are unecessary big, images should be resized to the intended final image display size. This assures we don't waste bandwith for the user._ -<Preview scope={{ GalaxyImage, GalaxyImage2x }}> - <Story name="retina"> - <Image width="200px" height="200px" srcSet={`${GalaxyImage} 1x, ${GalaxyImage2x} 2x`} alt="Galaxy" /> - </Story> -</Preview> +<Canvas of={ImageStories.Retina} /> ## SvgImage For some use cases, like dark mode support, an SVG image is a better fit than a standard PNG or JPG image. Orbiter provide a component for these images which will take care for you of the accessibility attributes and enforce a mandatory `aria-label` attribute. -<Preview scope={{ NoResults }}> - <Story name="svg image"> - <SvgImage src={NoResults} stroke="sapphire-600" aria-label="No results" /> - </Story> -</Preview> +<Canvas of={ImageStories.SVGImageStory} /> ### Size An SVG image size can be specified with the `width` and `height` props. -<Preview scope={{ NoResults }}> - <Story name="svg image size"> - <SvgImage width="150px" height="150px"stroke="sapphire-600" src={NoResults} aria-label="No results" /> - </Story> -</Preview> +<Canvas of={ImageStories.SVGImageSize} /> ### Color An SVG image `stroke` and `fill` color can vary. -<Preview scope={{ NoResults }}> - <Story name="svg image color"> - <SvgImage stroke="sapphire-600" fill="sunken-treasure-100" src={NoResults} aria-label="No results" /> - </Story> -</Preview> +<Canvas of={ImageStories.Color} /> ## API @@ -104,7 +74,7 @@ An SVG image `stroke` and `fill` color can vary. compact /> -<ArgsTable of={InnerImage} sort="alpha" /> +<ArgTypes of={InnerImage} sort="alpha" /> ### SvgImage @@ -114,4 +84,4 @@ An SVG image `stroke` and `fill` color can vary. compact /> -<ArgsTable of={InnerSvgImage} sort="alpha" /> +<ArgTypes of={InnerSvgImage} sort="alpha" /> diff --git a/packages/components/src/image/docs/Image.stories.tsx b/packages/components/src/image/docs/Image.stories.tsx new file mode 100644 index 000000000..ca2b1bb03 --- /dev/null +++ b/packages/components/src/image/docs/Image.stories.tsx @@ -0,0 +1,54 @@ +import { GalaxyImage, GalaxyImage2x, GalaxyImageLg, NoResults } from "./assets"; +import { Image, SvgImage } from "@components/image"; +import { Inline } from "@components/layout"; + +import { Meta, StoryObj } from "@storybook/react"; + +const meta = { + title: "Components/Image", + component: Image, + id: "image" +} as Meta<typeof Image>; + +export default meta; + +type ImageStory = StoryObj<typeof meta>; + +export const Shape: ImageStory = { + render: () => ( + <Inline> + <Image alt="Galaxy" height={960} shape="rounded" src={GalaxyImage} width={960} /> + <Image alt="Galaxy" height={960} shape="circular" src={GalaxyImage} width={960} /> + </Inline> + ) +}; + +export const Size: ImageStory = { + render: () => ( + <Image alt="Galaxy" height="200px" src={GalaxyImageLg} width="200px" /> + ) +}; + +export const Retina: ImageStory = { + render: () => ( + <Image alt="Galaxy" height="200px" srcSet={`${GalaxyImage} 1x, ${GalaxyImage2x} 2x`} width="200px" /> + ) +}; + +export const SVGImageStory: ImageStory = { + render: () => ( + <SvgImage aria-label="No results" src={NoResults} stroke="sapphire-600" /> + ) +}; + +export const SVGImageSize: ImageStory = { + render: () => ( + <SvgImage aria-label="No results" height="150px" src={NoResults} stroke="sapphire-600" width="150px" /> + ) +}; + +export const Color: ImageStory = { + render: () => ( + <SvgImage aria-label="No results" fill="sunken-treasure-100" src={NoResults} stroke="sapphire-600" /> + ) +}; From 5340f2c6944e74b5a5694ae959fe1a921c19213a Mon Sep 17 00:00:00 2001 From: Victor Trinh <victor.trinh@gsoft.com> Date: Mon, 4 Nov 2024 10:37:26 -0500 Subject: [PATCH 37/95] Section --- .../docs/{section.stories.mdx => section.mdx} | 18 +++---------- .../src/html/docs/section.stories.tsx | 25 +++++++++++++++++++ 2 files changed, 29 insertions(+), 14 deletions(-) rename packages/components/src/html/docs/{section.stories.mdx => section.mdx} (56%) create mode 100644 packages/components/src/html/docs/section.stories.tsx diff --git a/packages/components/src/html/docs/section.stories.mdx b/packages/components/src/html/docs/section.mdx similarity index 56% rename from packages/components/src/html/docs/section.stories.mdx rename to packages/components/src/html/docs/section.mdx index 65d4bb96a..7ec2c299a 100644 --- a/packages/components/src/html/docs/section.stories.mdx +++ b/packages/components/src/html/docs/section.mdx @@ -1,10 +1,8 @@ import { ComponentInfo, Link, Tagline } from "@stories/components"; -import { Meta } from "@storybook/addon-docs"; +import { Canvas, Meta } from "@storybook/addon-docs"; +import * as SectionStories from "./section.stories.tsx"; -<Meta - title="Html elements/Section" - id="html-section" -/> +<Meta of={SectionStories} /> # Section @@ -19,12 +17,4 @@ import { Meta } from "@storybook/addon-docs"; A section component accepts all the [section HTML element attributes](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/section) and [Orbiter styled component props](?path=/docs/styling--page). -```jsx -<body> - <H1>Blue Origin</H1> - <HtmlSection color="neutral-weak"> - <H2>Our vision</H2> - <Pararaph>Blue Origin was founded by Jeff Bezos with the vision of enabling a future where millions of people are living and working in space to benefit Earth.</Pararaph> - </HtmlSection> -</body> -``` +<Canvas of={SectionStories.Example} /> diff --git a/packages/components/src/html/docs/section.stories.tsx b/packages/components/src/html/docs/section.stories.tsx new file mode 100644 index 000000000..1de80918c --- /dev/null +++ b/packages/components/src/html/docs/section.stories.tsx @@ -0,0 +1,25 @@ +import { Meta, StoryObj } from "@storybook/react"; +import { HtmlSection } from "@components/html"; +import { Paragraph, H1, H2 } from "@components/typography"; + +const meta = { + title: "Html elements/Section", + component: HtmlSection, + id: "html-section" +} as Meta<typeof HtmlSection>; + +export default meta; + +type Story = StoryObj<typeof HtmlSection>; + +export const Example: Story = { + render: () => ( + <body> + <H1>Blue Origin</H1> + <HtmlSection color="neutral-weak"> + <H2>Our vision</H2> + <Paragraph>Blue Origin was founded by Jeff Bezos with the vision of enabling a future where millions of people are living and working in space to benefit Earth.</Paragraph> + </HtmlSection> + </body> + ) +}; From 3c0b6fbb94e929eb76f833cedb42182ed1a911c4 Mon Sep 17 00:00:00 2001 From: Victor Trinh <victor.trinh@gsoft.com> Date: Mon, 4 Nov 2024 10:40:21 -0500 Subject: [PATCH 38/95] Span --- packages/components/src/html/docs/span.mdx | 20 ++++++++++++++ .../components/src/html/docs/span.stories.mdx | 27 ------------------- .../components/src/html/docs/span.stories.tsx | 18 +++++++++++++ 3 files changed, 38 insertions(+), 27 deletions(-) create mode 100644 packages/components/src/html/docs/span.mdx delete mode 100644 packages/components/src/html/docs/span.stories.mdx create mode 100644 packages/components/src/html/docs/span.stories.tsx diff --git a/packages/components/src/html/docs/span.mdx b/packages/components/src/html/docs/span.mdx new file mode 100644 index 000000000..cee23fd80 --- /dev/null +++ b/packages/components/src/html/docs/span.mdx @@ -0,0 +1,20 @@ +import { ComponentInfo, Link, Tagline } from "@stories/components"; +import { Canvas, Meta } from "@storybook/addon-docs"; +import * as SpanStories from "./span.stories.tsx"; + +<Meta of={SpanStories} /> + +# Span + +<Tagline>A specialized <Link href="?path=/docs/box--default-story">box</Link> component for HTML span element.</Tagline> + +<ComponentInfo + usage={"import { Span } from \"@workleap/orbiter-ui\";"} + githubPath="/packages/components/src/html/src" +/> + +## Usage + +A span component accepts all the [HTML element attributes](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/span) and [Orbiter styled component props](?path=/docs/styling--page). + +<Canvas of={SpanStories.Example} /> diff --git a/packages/components/src/html/docs/span.stories.mdx b/packages/components/src/html/docs/span.stories.mdx deleted file mode 100644 index 99012218c..000000000 --- a/packages/components/src/html/docs/span.stories.mdx +++ /dev/null @@ -1,27 +0,0 @@ -import { ComponentInfo, Link, Preview, Tagline } from "@stories/components"; -import { Meta, Story } from "@storybook/addon-docs"; -import { Span } from "@components/html"; - -<Meta - title="Html elements/Span" - id="html-span" -/> - -# Span - -<Tagline>A specialized <Link href="?path=/docs/box--default-story">box</Link> component for HTML span element.</Tagline> - -<ComponentInfo - usage={"import { Span } from \"@workleap/orbiter-ui\";"} - githubPath="/packages/components/src/html/src" -/> - -## Usage - -A span component accepts all the [HTML element attributes](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/span) and [Orbiter styled component props](?path=/docs/styling--page). - -<Preview> - <Story name="example"> - <Span color="neutral-weak">NASA is now preparing for an ambitious new era of sustainable human spaceflight and discovery. The agency is building the Space Launch System rocket and the Orion spacecraft for human deep space exploration.</Span> - </Story> -</Preview> diff --git a/packages/components/src/html/docs/span.stories.tsx b/packages/components/src/html/docs/span.stories.tsx new file mode 100644 index 000000000..24ac48b9d --- /dev/null +++ b/packages/components/src/html/docs/span.stories.tsx @@ -0,0 +1,18 @@ +import { Meta, StoryObj } from "@storybook/react"; +import { Span } from "@components/html"; + +const meta = { + title: "Html elements/Span", + component: Span, + id: "html-span" +} as Meta<typeof Span>; + +export default meta; + +type Story = StoryObj<typeof Span>; + +export const Example: Story = { + render: () => ( + <Span color="neutral-weak">NASA is now preparing for an ambitious new era of sustainable human spaceflight and discovery. The agency is building the Space Launch System rocket and the Orion spacecraft for human deep space exploration.</Span> + ) +}; From a77e12f016edb2bc45ca4e3d46b81991b2b83f0d Mon Sep 17 00:00:00 2001 From: Victor Trinh <victor.trinh@gsoft.com> Date: Mon, 4 Nov 2024 10:45:38 -0500 Subject: [PATCH 39/95] Table --- packages/components/src/html/docs/table.mdx | 20 ++++++++ .../src/html/docs/table.stories.mdx | 50 ------------------- .../src/html/docs/table.stories.tsx | 41 +++++++++++++++ 3 files changed, 61 insertions(+), 50 deletions(-) create mode 100644 packages/components/src/html/docs/table.mdx delete mode 100644 packages/components/src/html/docs/table.stories.mdx create mode 100644 packages/components/src/html/docs/table.stories.tsx diff --git a/packages/components/src/html/docs/table.mdx b/packages/components/src/html/docs/table.mdx new file mode 100644 index 000000000..f9baac501 --- /dev/null +++ b/packages/components/src/html/docs/table.mdx @@ -0,0 +1,20 @@ +import { ComponentInfo, Link, Preview, Tagline } from "@stories/components"; +import { Canvas, Meta } from "@storybook/addon-docs"; +import * as TableStories from "./table.stories.tsx"; + +<Meta of={TableStories} /> + +# Table + +<Tagline>A specialized <Link href="?path=/docs/box--default-story">box</Link> component for HTML table element.</Tagline> + +<ComponentInfo + usage={"import { Table, THead, TBody, TFoot, TH, TR, TD } from \"@workleap/orbiter-ui\";"} + githubPath="/packages/components/src/html/src" +/> + +## Usage + +A table component accepts all the [table HTML element attributes](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/table) and [Orbiter styled component props](?path=/docs/styling--page). + +<Canvas of={TableStories.Example} /> diff --git a/packages/components/src/html/docs/table.stories.mdx b/packages/components/src/html/docs/table.stories.mdx deleted file mode 100644 index 6d9c014af..000000000 --- a/packages/components/src/html/docs/table.stories.mdx +++ /dev/null @@ -1,50 +0,0 @@ -import { ComponentInfo, Link, Preview, Tagline } from "@stories/components"; -import { Meta, Story } from "@storybook/addon-docs"; -import { TBody, TD, TFoot, TH, THead, TR, Table } from "@components/html"; - -<Meta - title="Html elements/Table" - id="html-table" -/> - -# Table - -<Tagline>A specialized <Link href="?path=/docs/box--default-story">box</Link> component for HTML table element.</Tagline> - -<ComponentInfo - usage={"import { Table, THead, TBody, TFoot, TH, TR, TD } from \"@workleap/orbiter-ui\";"} - githubPath="/packages/components/src/html/src" -/> - -## Usage - -A table component accepts all the [table HTML element attributes](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/table) and [Orbiter styled component props](?path=/docs/styling--page). - -<Preview> - <Story name="example"> - <Table color="neutral-weak" cellPadding={5}> - <THead fontWeight={680}> - <TR> - <TH textAlign="left">Company</TH> - <TH textAlign="left">Employees</TH> - </TR> - </THead> - <TBody> - <TR> - <TD>Space X</TD> - <TD>More than 10 000</TD> - </TR> - <TR> - <TD>Blue Origin</TD> - <TD>3 500</TD> - </TR> - <TR color="sapphire-600"> - <TD>Virgin Galactic</TD> - <TD>823</TD> - </TR> - </TBody> - <TFoot> - </TFoot> - </Table> - </Story> -</Preview> diff --git a/packages/components/src/html/docs/table.stories.tsx b/packages/components/src/html/docs/table.stories.tsx new file mode 100644 index 000000000..c11456e7e --- /dev/null +++ b/packages/components/src/html/docs/table.stories.tsx @@ -0,0 +1,41 @@ +import { Meta, StoryObj } from "@storybook/react"; +import { TBody, TD, TFoot, TH, THead, TR, Table } from "@components/html"; + +const meta = { + title: "Html elements/Table", + component: Table, + id: "html-table" +} as Meta<typeof Table>; + +export default meta; + +type Story = StoryObj<typeof Table>; + +export const Example: Story = { + render: () => ( + <Table cellPadding={5} color="neutral-weak"> + <THead fontWeight={680}> + <TR> + <TH textAlign="left">Company</TH> + <TH textAlign="left">Employees</TH> + </TR> + </THead> + <TBody> + <TR> + <TD>Space X</TD> + <TD>More than 10 000</TD> + </TR> + <TR> + <TD>Blue Origin</TD> + <TD>3 500</TD> + </TR> + <TR color="sapphire-600"> + <TD>Virgin Galactic</TD> + <TD>823</TD> + </TR> + </TBody> + <TFoot> + </TFoot> + </Table> + ) +}; From 1b28cf638a83e93662ba75d23749a5291371988c Mon Sep 17 00:00:00 2001 From: Victor Trinh <victor.trinh@gsoft.com> Date: Mon, 4 Nov 2024 11:17:19 -0500 Subject: [PATCH 40/95] Flex --- packages/components/src/layout/docs/Flex.mdx | 110 +++++++++ .../src/layout/docs/Flex.stories.mdx | 230 ------------------ .../src/layout/docs/Flex.stories.tsx | 149 ++++++++++++ 3 files changed, 259 insertions(+), 230 deletions(-) create mode 100644 packages/components/src/layout/docs/Flex.mdx delete mode 100644 packages/components/src/layout/docs/Flex.stories.mdx create mode 100644 packages/components/src/layout/docs/Flex.stories.tsx diff --git a/packages/components/src/layout/docs/Flex.mdx b/packages/components/src/layout/docs/Flex.mdx new file mode 100644 index 000000000..520d69bd0 --- /dev/null +++ b/packages/components/src/layout/docs/Flex.mdx @@ -0,0 +1,110 @@ +import { ArgTypes, Canvas, Meta } from "@storybook/addon-docs"; +import { ComponentInfo, Tagline } from "@stories/components"; +import { InnerFlex, InnerInline, InnerStack } from "@components/layout"; +import * as FlexStories from "./Flex.stories.tsx"; + +<Meta of={FlexStories} /> + +# Flex + +<Tagline>A layout container using flexbox.</Tagline> + +<ComponentInfo + usage={"import { Flex, Inline, Stack } from \"@workleap/orbiter-ui\";"} + githubPath="/packages/components/src/layout/src" +/> + +## Usage + +Flex layout offer a lot of options to solve a bunch of use cases. This page only showcase a few use cases. For a thorough documentation, please have a look at [MDN](https://developer.mozilla.org/en-US/docs/Learn/CSS/CSS_layout/Flexbox). + +### Horizontal alignment + +A flex layout can have horizontally aligned items. + +<Canvas of={FlexStories.Horizontal} /> + +### Vertical alignment + +A flex layout can have vertically aligned items. + +<Canvas of={FlexStories.Vertical} /> + +### Gap + +A flex layout can have a gap between his items. `columnGap` and `rowGap` are also available to specify a gap for a single axis. + +<Canvas of={FlexStories.Gap} /> + +### Align items + +A flex layout can align his items along the cross axis. When the direction is "column", this refers to horizontal alignment, and when direction is "row" it refers to vertical alignment. + +<Canvas of={FlexStories.AlignItems} /> + +### Justify content + +A flex layout can align his items along the main axis. When direction is "column", this refers to vertical alignment, and when direction is "row" it refers to horizontal alignment. + +<Canvas of={FlexStories.JustifyContent} /> + +### Wrap + +A flex layout items can wrap on multiple rows. + +<Canvas of={FlexStories.Wrap} /> + +### Reverse + +A flex layout can reverse the items order. + +<Canvas of={FlexStories.Reverse} /> + +### Nesting + +Flex layouts can be nested. + +<Canvas of={FlexStories.Nesting} /> + +### Inline + +An inline utility component is available for horizontal alignment. + +<Canvas of={FlexStories.FlexInline} /> +### Stack + +A stack utility component is available for vertical alignment. + +<Canvas of={FlexStories.FlexStack} /> + +## API + +### Flex + +<ComponentInfo + usage={"import { Flex } from \"@workleap/orbiter-ui\";"} + inherits={[InnerFlex.defaultElement, "styled-component"]} + compact +/> + +<ArgTypes of={InnerFlex} sort="alpha" /> + +### Inline + +<ComponentInfo + usage={"import { Inline } from \"@workleap/orbiter-ui\";"} + inherits={[InnerInline.defaultElement, "styled-component"]} + compact +/> + +<ArgTypes of={InnerInline} sort="alpha" /> + +### Stack + +<ComponentInfo + usage={"import { Stack } from \"@workleap/orbiter-ui\";"} + inherits={[InnerStack.defaultElement, "styled-component"]} + compact +/> + +<ArgTypes of={InnerStack} sort="alpha" /> diff --git a/packages/components/src/layout/docs/Flex.stories.mdx b/packages/components/src/layout/docs/Flex.stories.mdx deleted file mode 100644 index 58cd5327f..000000000 --- a/packages/components/src/layout/docs/Flex.stories.mdx +++ /dev/null @@ -1,230 +0,0 @@ -import { ArgsTable, Meta, Story } from "@storybook/addon-docs"; -import { ComponentInfo, Preview, Tagline } from "@stories/components"; -import { Div } from "@components/html"; -import { Flex, Inline, InnerFlex, InnerInline, InnerStack, Stack } from "@components/layout"; - -<Meta - title="Components/Flex" - id="flex" -/> - -# Flex - -<Tagline>A layout container using flexbox.</Tagline> - -<ComponentInfo - usage={"import { Flex, Inline, Stack } from \"@workleap/orbiter-ui\";"} - githubPath="/packages/components/src/layout/src" -/> - -## Usage - -Flex layout offer a lot of options to solve a bunch of use cases. This page only showcase a few use cases. For a thorough documentation, please have a look at [MDN](https://developer.mozilla.org/en-US/docs/Learn/CSS/CSS_layout/Flexbox). - -### Horizontal alignment - -A flex layout can have horizontally aligned items. - -<Preview> - <Story name="horizontal"> - <Flex direction="row" gap={80}> - <Div backgroundColor="sapphire-500" width="4rem" height="4rem" /> - <Div backgroundColor="amanita-500" width="4rem" height="4rem" /> - <Div backgroundColor="moss-500" width="4rem" height="4rem" /> - </Flex> - </Story> -</Preview> - -### Vertical alignment - -A flex layout can have vertically aligned items. - -<Preview> - <Story name="vertical"> - <Flex direction="column" gap={80}> - <Div backgroundColor="sapphire-500" width="4rem" height="4rem" /> - <Div backgroundColor="amanita-500" width="4rem" height="4rem" /> - <Div backgroundColor="moss-500" width="4rem" height="4rem" /> - </Flex> - </Story> -</Preview> - -### Gap - -A flex layout can have a gap between his items. `columnGap` and `rowGap` are also available to specify a gap for a single axis. - -<Preview> - <Story name="gap"> - <Flex direction="row" gap={80}> - <Div backgroundColor="sapphire-500" width="4rem" height="4rem" /> - <Div backgroundColor="amanita-500" width="4rem" height="4rem" /> - <Div backgroundColor="moss-500" width="4rem" height="4rem" /> - </Flex> - </Story> -</Preview> - -### Align items - -A flex layout can align his items along the cross axis. When the direction is "column", this refers to horizontal alignment, and when direction is "row" it refers to vertical alignment. - -<Preview> - <Story name="align items"> - <Flex alignItems="center" direction="column" gap={80}> - <Div backgroundColor="sapphire-500" width="4rem" height="4rem" /> - <Div backgroundColor="amanita-500" width="4rem" height="4rem" /> - <Div backgroundColor="moss-500" width="4rem" height="4rem" /> - </Flex> - </Story> -</Preview> - -### Justify content - -A flex layout can align his items along the main axis. When direction is "column", this refers to vertical alignment, and when direction is "row" it refers to horizontal alignment. - -<Preview> - <Story name="justify content"> - <Flex justifyContent="center" gap={80}> - <Div backgroundColor="sapphire-500" width="4rem" height="4rem" /> - <Div backgroundColor="amanita-500" width="4rem" height="4rem" /> - <Div backgroundColor="moss-500" width="4rem" height="4rem" /> - </Flex> - </Story> -</Preview> - -### Wrap - -A flex layout items can wrap on multiple rows. - -<Preview> - <Story name="wrap"> - <Flex wrap="wrap" gap={40} width="30rem"> - <Div backgroundColor={"#eef3fd"} width={400} height={400} /> - <Div backgroundColor={"#dbe6fd"} width={400} height={400} /> - <Div backgroundColor={"#b6c2ef"} width={400} height={400} /> - <Div backgroundColor={"#95a9f5"} width={400} height={400} /> - <Div backgroundColor={"#7689fd"} width={400} height={400} /> - <Div backgroundColor={"#5D65f6"} width={400} height={400} /> - <Div backgroundColor={"#4B11fd"} width={400} height={400} /> - <Div backgroundColor={"#362aae"} width={400} height={400} /> - <Div backgroundColor={"#1f2151"} width={400} height={400} /> - <Div backgroundColor={"#0d0f1f"} width={400} height={400} /> - <Div backgroundColor={"#fbf1f1"} width={400} height={400} /> - <Div backgroundColor={"#fadfdf"} width={400} height={400} /> - <Div backgroundColor={"#fdb0af"} width={400} height={400} /> - <Div backgroundColor={"#f88f8d"} width={400} height={400} /> - <Div backgroundColor={"#eb6a64"} width={400} height={400} /> - <Div backgroundColor={"#d93c37"} width={400} height={400} /> - <Div backgroundColor={"#a91414"} width={400} height={400} /> - <Div backgroundColor={"#811b15"} width={400} height={400} /> - <Div backgroundColor={"#461812"} width={400} height={400} /> - <Div backgroundColor={"#1d0b09"} width={400} height={400} /> - <Div backgroundColor={"#dbfbea"} width={400} height={400} /> - <Div backgroundColor={"#cbeedb"} width={400} height={400} /> - <Div backgroundColor={"#a5cdb8"} width={400} height={400} /> - <Div backgroundColor={"#78ba9b"} width={400} height={400} /> - <Div backgroundColor={"#27a57a"} width={400} height={400} /> - <Div backgroundColor={"#268563"} width={400} height={400} /> - <Div backgroundColor={"#2b5e48"} width={400} height={400} /> - <Div backgroundColor={"#27493a"} width={400} height={400} /> - <Div backgroundColor={"#1a2a23"} width={400} height={400} /> - <Div backgroundColor={"#0c110e"} width={400} height={400} /> - </Flex> - </Story> -</Preview> - -### Reverse - -A flex layout can reverse the items order. - -<Preview> - <Story name="reverse"> - <Flex reverse gap={80}> - <Div backgroundColor="sapphire-500" width="4rem" height="4rem" /> - <Div backgroundColor="amanita-500" width="4rem" height="4rem" /> - <Div backgroundColor="moss-500" width="4rem" height="4rem" /> - </Flex> - </Story> -</Preview> - -### Nesting - -Flex layouts can be nested. - -<Preview> - <Story name="nesting"> - <Flex gap={160}> - <Flex gap={80}> - <Div backgroundColor="sapphire-500" width="4rem" height="4rem" /> - <Div backgroundColor="sapphire-500" width="4rem" height="4rem" /> - </Flex> - <Flex direction="column" gap={80}> - <Div backgroundColor="amanita-500" width="4rem" height="4rem" /> - <Div backgroundColor="amanita-500" width="4rem" height="4rem" /> - </Flex> - <Flex gap={80}> - <Div backgroundColor="moss-500" width="4rem" height="4rem" /> - <Div backgroundColor="moss-500" width="4rem" height="4rem" /> - </Flex> - </Flex> - </Story> -</Preview> - -### Inline - -An inline utility component is available for horizontal alignment. - -<Preview> - <Story name="inline"> - <Inline> - <Div backgroundColor="sapphire-500" width="4rem" height="4rem" /> - <Div backgroundColor="amanita-500" width="4rem" height="4rem" /> - <Div backgroundColor="moss-500" width="4rem" height="4rem" /> - </Inline> - </Story> -</Preview> - -### Stack - -A stack utility component is available for vertical alignment. - -<Preview> - <Story name="stack"> - <Stack> - <Div backgroundColor="sapphire-500" width="4rem" height="4rem" /> - <Div backgroundColor="amanita-500" width="4rem" height="4rem" /> - <Div backgroundColor="moss-500" width="4rem" height="4rem" /> - </Stack> - </Story> -</Preview> - -## API - -### Flex - -<ComponentInfo - usage={"import { Flex } from \"@workleap/orbiter-ui\";"} - inherits={[InnerFlex.defaultElement, "styled-component"]} - compact -/> - -<ArgsTable of={InnerFlex} sort="alpha" /> - -### Inline - -<ComponentInfo - usage={"import { Inline } from \"@workleap/orbiter-ui\";"} - inherits={[InnerInline.defaultElement, "styled-component"]} - compact -/> - -<ArgsTable of={InnerInline} sort="alpha" /> - -### Stack - -<ComponentInfo - usage={"import { Stack } from \"@workleap/orbiter-ui\";"} - inherits={[InnerStack.defaultElement, "styled-component"]} - compact -/> - -<ArgsTable of={InnerStack} sort="alpha" /> diff --git a/packages/components/src/layout/docs/Flex.stories.tsx b/packages/components/src/layout/docs/Flex.stories.tsx new file mode 100644 index 000000000..ef9a24dee --- /dev/null +++ b/packages/components/src/layout/docs/Flex.stories.tsx @@ -0,0 +1,149 @@ +import { Meta, StoryObj } from "@storybook/react"; +import { Div } from "@components/html"; +import { Flex, Inline, Stack } from "@components/layout"; + +const meta = { + title: "Components/Flex", + component: Flex, + id: "flex" +} as Meta<typeof Flex>; + +export default meta; + +type Story = StoryObj<typeof Flex>; + +export const Horizontal: Story = { + render: () => ( + <Flex direction="row" gap={80}> + <Div backgroundColor="sapphire-500" height="4rem" width="4rem" /> + <Div backgroundColor="amanita-500" height="4rem" width="4rem" /> + <Div backgroundColor="moss-500" height="4rem" width="4rem" /> + </Flex> + ) +}; + +export const Vertical: Story = { + render: () => ( + <Flex direction="column" gap={80}> + <Div backgroundColor="sapphire-500" height="4rem" width="4rem" /> + <Div backgroundColor="amanita-500" height="4rem" width="4rem" /> + <Div backgroundColor="moss-500" height="4rem" width="4rem" /> + </Flex> + ) +}; + +export const Gap: Story = { + render: () => ( + <Flex direction="row" gap={80}> + <Div backgroundColor="sapphire-500" height="4rem" width="4rem" /> + <Div backgroundColor="amanita-500" height="4rem" width="4rem" /> + <Div backgroundColor="moss-500" height="4rem" width="4rem" /> + </Flex> + ) +}; + +export const AlignItems: Story = { + render: () => ( + <Flex alignItems="center" direction="column" gap={80}> + <Div backgroundColor="sapphire-500" height="4rem" width="4rem" /> + <Div backgroundColor="amanita-500" height="4rem" width="4rem" /> + <Div backgroundColor="moss-500" height="4rem" width="4rem" /> + </Flex> + ) +}; + +export const JustifyContent: Story = { + render: () => ( + <Flex gap={80} justifyContent="center"> + <Div backgroundColor="sapphire-500" height="4rem" width="4rem" /> + <Div backgroundColor="amanita-500" height="4rem" width="4rem" /> + <Div backgroundColor="moss-500" height="4rem" width="4rem" /> + </Flex> + ) +}; + +export const Wrap: Story = { + render: () => ( + <Flex gap={40} width="30rem" wrap="wrap"> + <Div backgroundColor="#eef3fd" height={400} width={400} /> + <Div backgroundColor="#dbe6fd" height={400} width={400} /> + <Div backgroundColor="#b6c2ef" height={400} width={400} /> + <Div backgroundColor="#95a9f5" height={400} width={400} /> + <Div backgroundColor="#7689fd" height={400} width={400} /> + <Div backgroundColor="#5D65f6" height={400} width={400} /> + <Div backgroundColor="#4B11fd" height={400} width={400} /> + <Div backgroundColor="#362aae" height={400} width={400} /> + <Div backgroundColor="#1f2151" height={400} width={400} /> + <Div backgroundColor="#0d0f1f" height={400} width={400} /> + <Div backgroundColor="#fbf1f1" height={400} width={400} /> + <Div backgroundColor="#fadfdf" height={400} width={400} /> + <Div backgroundColor="#fdb0af" height={400} width={400} /> + <Div backgroundColor="#f88f8d" height={400} width={400} /> + <Div backgroundColor="#eb6a64" height={400} width={400} /> + <Div backgroundColor="#d93c37" height={400} width={400} /> + <Div backgroundColor="#a91414" height={400} width={400} /> + <Div backgroundColor="#811b15" height={400} width={400} /> + <Div backgroundColor="#461812" height={400} width={400} /> + <Div backgroundColor="#1d0b09" height={400} width={400} /> + <Div backgroundColor="#dbfbea" height={400} width={400} /> + <Div backgroundColor="#cbeedb" height={400} width={400} /> + <Div backgroundColor="#a5cdb8" height={400} width={400} /> + <Div backgroundColor="#78ba9b" height={400} width={400} /> + <Div backgroundColor="#27a57a" height={400} width={400} /> + <Div backgroundColor="#268563" height={400} width={400} /> + <Div backgroundColor="#2b5e48" height={400} width={400} /> + <Div backgroundColor="#27493a" height={400} width={400} /> + <Div backgroundColor="#1a2a23" height={400} width={400} /> + <Div backgroundColor="#0c110e" height={400} width={400} /> + </Flex> + ) +}; + +export const Reverse: Story = { + render: () => ( + <Flex gap={80} reverse> + <Div backgroundColor="sapphire-500" height="4rem" width="4rem" /> + <Div backgroundColor="amanita-500" height="4rem" width="4rem" /> + <Div backgroundColor="moss-500" height="4rem" width="4rem" /> + </Flex> + ) +}; + +export const Nesting: Story = { + render: () => ( + <Flex gap={160}> + <Flex gap={80}> + <Div backgroundColor="sapphire-500" height="4rem" width="4rem" /> + <Div backgroundColor="sapphire-500" height="4rem" width="4rem" /> + </Flex> + <Flex direction="column" gap={80}> + <Div backgroundColor="amanita-500" height="4rem" width="4rem" /> + <Div backgroundColor="amanita-500" height="4rem" width="4rem" /> + </Flex> + <Flex gap={80}> + <Div backgroundColor="moss-500" height="4rem" width="4rem" /> + <Div backgroundColor="moss-500" height="4rem" width="4rem" /> + </Flex> + </Flex> + ) +}; + +export const FlexInline: Story = { + render: () => ( + <Inline> + <Div backgroundColor="sapphire-500" height="4rem" width="4rem" /> + <Div backgroundColor="amanita-500" height="4rem" width="4rem" /> + <Div backgroundColor="moss-500" height="4rem" width="4rem" /> + </Inline> + ) +}; + +export const FlexStack: Story = { + render: () => ( + <Stack> + <Div backgroundColor="sapphire-500" height="4rem" width="4rem" /> + <Div backgroundColor="amanita-500" height="4rem" width="4rem" /> + <Div backgroundColor="moss-500" height="4rem" width="4rem" /> + </Stack> + ) +}; From 4a69c410be8bddac3c75c3b840c675816356a062 Mon Sep 17 00:00:00 2001 From: Victor Trinh <victor.trinh@gsoft.com> Date: Mon, 4 Nov 2024 11:24:37 -0500 Subject: [PATCH 41/95] Renaming some nodes we see in the doc --- packages/components/src/card/docs/Card.mdx | 10 ++-- .../components/src/card/docs/Card.stories.tsx | 58 +++++++++---------- packages/components/src/form/docs/Form.mdx | 2 +- .../components/src/form/docs/Form.stories.tsx | 12 ++-- packages/components/src/link/docs/Link.mdx | 2 +- .../components/src/link/docs/Link.stories.tsx | 6 +- 6 files changed, 45 insertions(+), 45 deletions(-) diff --git a/packages/components/src/card/docs/Card.mdx b/packages/components/src/card/docs/Card.mdx index d0df60adb..b5f83ac78 100644 --- a/packages/components/src/card/docs/Card.mdx +++ b/packages/components/src/card/docs/Card.mdx @@ -44,23 +44,23 @@ A card can use a different style. A card can have an [image](?path=/story/chromatic-image--default): -<Canvas of={CardStories.Image} /> +<Canvas of={CardStories.CardImage} /> Or an [illustration](?path=/docs/illustration--horizontal): -<Canvas of={CardStories.Illustration} /> +<Canvas of={CardStories.CardIllustration} /> ### Header A card can have an header. -<Canvas of={CardStories.Header} /> +<Canvas of={CardStories.CardHeader} /> ### Buttons A card can have a single [button](?path=/docs/button--default-story): -<Canvas of={CardStories.Button} /> +<Canvas of={CardStories.CardButton} /> Or a [group of button](?path=/docs/button--default-story#button-group): @@ -88,7 +88,7 @@ A card can take the width of its container. A card can render any components like [tabs](?path=/story/tabs--default-story). -<Canvas of={CardStories.Tabs} /> +<Canvas of={CardStories.CardTabs} /> ## API diff --git a/packages/components/src/card/docs/Card.stories.tsx b/packages/components/src/card/docs/Card.stories.tsx index da11e15da..efcdbea1b 100644 --- a/packages/components/src/card/docs/Card.stories.tsx +++ b/packages/components/src/card/docs/Card.stories.tsx @@ -1,13 +1,13 @@ -import { Button as OrbiterButton, ButtonGroup } from "@components/button"; +import { Button, ButtonGroup } from "@components/button"; import { Card } from "@components/card"; -import { Content, Header as OrbiterHeader } from "@components/placeholders"; +import { Content, Header } from "@components/placeholders"; import { Heading, Paragraph } from "@components/typography"; -import { Illustration as OrbiterIllustration } from "@components/illustration"; -import { Image as OrbiterImage } from "@components/image"; +import { Illustration } from "@components/illustration"; +import { Image } from "@components/image"; import { Inline, Stack } from "@components/layout"; import { Item } from "@components/collection"; import { Planet, SpaceLandscape } from "./assets"; -import { Tabs as OrbiterTabs } from "@components/tabs"; +import { Tabs } from "@components/tabs"; import { Meta, StoryObj } from "@storybook/react"; const meta = { @@ -42,10 +42,10 @@ export const Elevated: Story = { ) }; -export const Image: Story = { +export const CardImage: Story = { render: () => ( <Card> - <OrbiterImage alt="Planet over another one" src={SpaceLandscape} /> + <Image alt="Planet over another one" src={SpaceLandscape} /> <Heading>NASA Headquarters</Heading> <Content> <Paragraph>NASA Headquarters, officially known as Mary W. Jackson NASA Headquarters or NASA HQ and formerly named Two Independence Square, is a low-rise office building in the two-building Independence Square complex at 300 E Street SW in Washington, D.C.</Paragraph> @@ -54,12 +54,12 @@ export const Image: Story = { ) }; -export const Illustration: Story = { +export const CardIllustration: Story = { render: () => ( <Card > - <OrbiterIllustration backgroundColor="primary-weak"> - <OrbiterImage alt="Planet over another one" src={Planet} width="100px" /> - </OrbiterIllustration> + <Illustration backgroundColor="primary-weak"> + <Image alt="Planet over another one" src={Planet} width="100px" /> + </Illustration> <Heading>NASA Headquarters</Heading> <Content> <Paragraph>NASA Headquarters, officially known as Mary W. Jackson NASA Headquarters or NASA HQ and formerly named Two Independence Square, is a low-rise office building in the two-building Independence Square complex at 300 E Street SW in Washington, D.C.</Paragraph> @@ -68,11 +68,11 @@ export const Illustration: Story = { ) }; -export const Header: Story = { +export const CardHeader: Story = { render: () => ( <Card> <Heading>NASA Headquarters</Heading> - <OrbiterHeader>No visitors allowed.</OrbiterHeader> + <Header>No visitors allowed.</Header> <Content> <Paragraph>NASA Headquarters, officially known as Mary W. Jackson NASA Headquarters or NASA HQ and formerly named Two Independence Square, is a low-rise office building in the two-building Independence Square complex at 300 E Street SW in Washington, D.C.</Paragraph> </Content> @@ -80,15 +80,15 @@ export const Header: Story = { ) }; -export const Button: Story = { +export const CardButton: Story = { render: () => ( <Card> <Heading>NASA Headquarters</Heading> - <OrbiterHeader>No visitors allowed.</OrbiterHeader> + <Header>No visitors allowed.</Header> <Content> <Paragraph>NASA Headquarters, officially known as Mary W. Jackson NASA Headquarters or NASA HQ and formerly named Two Independence Square, is a low-rise office building in the two-building Independence Square complex at 300 E Street SW in Washington, D.C.</Paragraph> </Content> - <OrbiterButton variant="secondary">Plan a visit</OrbiterButton> + <Button variant="secondary">Plan a visit</Button> </Card> ) }; @@ -109,8 +109,8 @@ export const Buttons: Story = { </Paragraph> </Content> <ButtonGroup> - <OrbiterButton variant="secondary">Plan a visit</OrbiterButton> - <OrbiterButton variant="secondary">Cancel a booking</OrbiterButton> + <Button variant="secondary">Plan a visit</Button> + <Button variant="secondary">Cancel a booking</Button> </ButtonGroup> </Card> ) @@ -119,9 +119,9 @@ export const Buttons: Story = { export const Orientation: Story = { render: () => ( <Card orientation="horizontal"> - <OrbiterIllustration backgroundColor="primary-weak"> - <OrbiterImage alt="Planet over another one" src={Planet} /> - </OrbiterIllustration> + <Illustration backgroundColor="primary-weak"> + <Image alt="Planet over another one" src={Planet} /> + </Illustration> <Heading>NASA</Heading> <Content> <Paragraph> @@ -197,9 +197,9 @@ export const Size: Story = { export const Fluid: Story = { render: () => ( <Card fluid orientation="horizontal"> - <OrbiterIllustration backgroundColor="primary-weak" width={1280}> - <OrbiterImage alt="Planet over another one" src={Planet} /> - </OrbiterIllustration> + <Illustration backgroundColor="primary-weak" width={1280}> + <Image alt="Planet over another one" src={Planet} /> + </Illustration> <Heading>NASA</Heading> <Content> <Paragraph> @@ -216,22 +216,22 @@ export const Fluid: Story = { ) }; -export const Tabs: Story = { +export const CardTabs: Story = { render: () => ( <Card> <Heading>NASA</Heading> <Content> <Paragraph>The National Aeronautics and Space Administration is an independent agency of the U.S. federal government responsible for the civilian space program, as well as aeronautics and space research.</Paragraph> - <OrbiterTabs aria-label="NASA"> + <Tabs aria-label="NASA"> <Item key="vision"> - <OrbiterHeader>Vision</OrbiterHeader> + <Header>Vision</Header> <Content>We reach for new heights and reveal the unknown for the benefit of humankind</Content> </Item> <Item key="mission"> - <OrbiterHeader>Mission</OrbiterHeader> + <Header>Mission</Header> <Content>Drive advances in science, technology, aeronautics, and space exploration to enhance knowledge, education, innovation, economic vitality and stewardship of Earth</Content> </Item> - </OrbiterTabs> + </Tabs> </Content> </Card> ) diff --git a/packages/components/src/form/docs/Form.mdx b/packages/components/src/form/docs/Form.mdx index 469bcc06a..9927a1dae 100644 --- a/packages/components/src/form/docs/Form.mdx +++ b/packages/components/src/form/docs/Form.mdx @@ -46,7 +46,7 @@ Or a [grid](?path=/docs/grid--areas) component: Form fields can be grouped together within fieldsets. -<Canvas of={FormStories.Fieldset} /> +<Canvas of={FormStories.FormFieldset} /> ### Fluid diff --git a/packages/components/src/form/docs/Form.stories.tsx b/packages/components/src/form/docs/Form.stories.tsx index 0869368e2..63ec87ffc 100644 --- a/packages/components/src/form/docs/Form.stories.tsx +++ b/packages/components/src/form/docs/Form.stories.tsx @@ -1,7 +1,7 @@ import { Button, ButtonGroup } from "@components/button"; import { Checkbox } from "@components/checkbox"; import { ErrorMessage, Field, HelpMessage, Label } from "@components/field"; -import { Fieldset as OrbiterFieldset, Form } from "@components/form"; +import { Fieldset, Form } from "@components/form"; import { Flex, Grid, Inline, repeat } from "@components/layout"; import { PasswordInput, TextInput } from "@components/text-input"; import { Meta, StoryObj } from "@storybook/react"; @@ -115,10 +115,10 @@ export const InlineLayoutGrid: Story = { ) }; -export const Fieldset: Story = { +export const FormFieldset: Story = { render: () => ( <Form> - <OrbiterFieldset label="Shipping Address"> + <Fieldset label="Shipping Address"> <Flex direction={{ base: "column", @@ -153,8 +153,8 @@ export const Fieldset: Story = { <Label>Postal code</Label> <TextInput /> </Field> - </OrbiterFieldset> - <OrbiterFieldset label="Billing Address"> + </Fieldset> + <Fieldset label="Billing Address"> <Flex direction={{ base: "column", @@ -189,7 +189,7 @@ export const Fieldset: Story = { <Label>Postal code</Label> <TextInput /> </Field> - </OrbiterFieldset> + </Fieldset> <Button variant="secondary">Submit</Button> </Form> ) diff --git a/packages/components/src/link/docs/Link.mdx b/packages/components/src/link/docs/Link.mdx index 615744337..610857ef3 100644 --- a/packages/components/src/link/docs/Link.mdx +++ b/packages/components/src/link/docs/Link.mdx @@ -77,7 +77,7 @@ A link content can be a single icon. > When using this variant, an accessible name must be provided through `aria-label` prop. See [WCAG practices](https://www.w3.org/TR/WCAG20-TECHS/ARIA6.html). -<Canvas of={LinkStories.IconLink} /> +<Canvas of={LinkStories.LinkIconLink} /> ### Button diff --git a/packages/components/src/link/docs/Link.stories.tsx b/packages/components/src/link/docs/Link.stories.tsx index c5b85f913..c256c721c 100644 --- a/packages/components/src/link/docs/Link.stories.tsx +++ b/packages/components/src/link/docs/Link.stories.tsx @@ -1,6 +1,6 @@ import { SparklesIcon } from "@hopper-ui/icons"; import { GalaxyLargeImage } from "./assets"; -import { IconLink as OrbiterIconLink, IconLinkAsButton, Link, TextLink, TextLinkAsButton } from "@components/link"; +import { IconLink, IconLinkAsButton, Link, TextLink, TextLinkAsButton } from "@components/link"; import { Image } from "@components/image"; import { Inline } from "@components/layout"; import { Text } from "@components/typography"; @@ -91,10 +91,10 @@ export const ReactRouter: Story = { } }; -export const IconLink: Story = { +export const LinkIconLink: Story = { render: () => ( <Inline alignY="center"> - <OrbiterIconLink aria-label="Add" href="#" ><SparklesIcon /></OrbiterIconLink> + <IconLink aria-label="Add" href="#" ><SparklesIcon /></IconLink> </Inline > ) }; From e465558a951be997d461a76cc00217fbadf9e7ce Mon Sep 17 00:00:00 2001 From: Victor Trinh <victor.trinh@gsoft.com> Date: Mon, 4 Nov 2024 11:37:12 -0500 Subject: [PATCH 42/95] Grid --- packages/components/src/layout/docs/Grid.mdx | 83 +++++++ .../src/layout/docs/Grid.stories.mdx | 228 ------------------ .../src/layout/docs/Grid.stories.tsx | 174 +++++++++++++ 3 files changed, 257 insertions(+), 228 deletions(-) create mode 100644 packages/components/src/layout/docs/Grid.mdx delete mode 100644 packages/components/src/layout/docs/Grid.stories.mdx create mode 100644 packages/components/src/layout/docs/Grid.stories.tsx diff --git a/packages/components/src/layout/docs/Grid.mdx b/packages/components/src/layout/docs/Grid.mdx new file mode 100644 index 000000000..71b1f1687 --- /dev/null +++ b/packages/components/src/layout/docs/Grid.mdx @@ -0,0 +1,83 @@ +import { ArgTypes, Canvas, Meta } from "@storybook/addon-docs"; +import { ComponentInfo, Tagline } from "@stories/components"; +import { InnerGrid } from "@components/layout"; +import * as GridStories from "./Grid.stories.tsx"; + +<Meta of={GridStories} /> + +# Grid + +<Tagline>A layout container using grid.</Tagline> + +<ComponentInfo + usage={"import { Grid, repeat, minmax, fitContent } from \"@workleap/orbiter-ui\";"} + githubPath="/packages/components/src/layout/src" +/> + +## Usage + +Grid layout offer a lot of options to solve a bunch of use cases. This page only showcase a few use cases. For a thorough documentation, please have a look at [MDN](https://developer.mozilla.org/en-US/docs/Learn/CSS/CSS_layout/Grids). + +### Areas + +A grid can define explicit sections with areas. + +<Canvas of={GridStories.Areas} /> + +### Template columns + +A grid can define explicit columns (and rows). A value can be a grid length value or an Orbiter spacing scale value. + +<Canvas of={GridStories.TemplateColumns} /> + +### Auto columns + +A grid can define the size of implicitly created columns. A value can be a grid length value or an Orbiter spacing scale value. + +<Canvas of={GridStories.AutoColumns} /> + +### Gap + +A grid layout can have a gap between his columns and rows. `columnGap` and `rowGap` are also available to specify a gap for a single axis. + +<Canvas of={GridStories.Gap} /> + +### Column spanning + +A grid item can span over multiple columns. + +<Canvas of={GridStories.ColumnSpan} /> + +### Nesting + +Grids can be nested. + +<Canvas of={GridStories.Nesting} /> + +### Repeat + +A custom `repeat` function is available to support Orbiter spacing scale values. However, if you prefer, you can use the [native CSS repeat function](https://developer.mozilla.org/en-US/docs/Web/CSS/repeat()) + +<Canvas of={GridStories.RepeatFunction} /> + +### Minmax + +A custom `minmax` function is available to support Orbiter spacing scalue values. However, if you prefer, you can use the [native CSS minmax function](https://developer.mozilla.org/en-US/docs/Web/CSS/minmax()) + +<Canvas of={GridStories.MinMaxFunction} /> + +### Fit-content + +<Canvas of={GridStories.FitContentFunction} /> + +## API + +### Grid + +<ComponentInfo + usage={"import { Grid } from \"@workleap/orbiter-ui\";"} + inherits={[InnerGrid.defaultElement, "styled-component"]} + compact +/> + +<ArgTypes of={InnerGrid} sort="alpha" /> diff --git a/packages/components/src/layout/docs/Grid.stories.mdx b/packages/components/src/layout/docs/Grid.stories.mdx deleted file mode 100644 index c7bb03908..000000000 --- a/packages/components/src/layout/docs/Grid.stories.mdx +++ /dev/null @@ -1,228 +0,0 @@ -import { ArgsTable, Meta, Story } from "@storybook/addon-docs"; -import { ComponentInfo, Preview, Tagline } from "@stories/components"; -import { Div } from "@components/html"; -import { Grid, InnerGrid, fitContent, minmax, repeat } from "@components/layout"; - -<Meta - title="Components/Grid" - id="grid" -/> - -# Grid - -<Tagline>A layout container using grid.</Tagline> - -<ComponentInfo - usage={"import { Grid, repeat, minmax, fitContent } from \"@workleap/orbiter-ui\";"} - githubPath="/packages/components/src/layout/src" -/> - -## Usage - -Grid layout offer a lot of options to solve a bunch of use cases. This page only showcase a few use cases. For a thorough documentation, please have a look at [MDN](https://developer.mozilla.org/en-US/docs/Learn/CSS/CSS_layout/Grids). - -### Areas - -A grid can define explicit sections with areas. - -<Preview> - <Story name="areas"> - <Grid - areas={["a a", "b c"]} - gap={80} - height={800} - > - <Div gridArea="a" backgroundColor="sapphire-500" /> - <Div gridArea="b" backgroundColor="amanita-500" /> - <Div gridArea="c" backgroundColor="moss-500" /> - </Grid> - </Story> -</Preview> - -### Template columns - -A grid can define explicit columns (and rows). A value can be a grid length value or an Orbiter spacing scale value. - -<Preview> - <Story name="template columns"> - <Grid - templateColumns={[9, 7, "1fr"]} - gap={80} - height={320} - > - <Div backgroundColor="sapphire-500" /> - <Div backgroundColor="amanita-500" /> - <Div backgroundColor="moss-500" /> - </Grid> - </Story> -</Preview> - -### Auto columns - -A grid can define the size of implicitly created columns. A value can be a grid length value or an Orbiter spacing scale value. - -<Preview> - <Story name="auto columns"> - <Grid - autoColumns="1fr" - gap={80} - height={800} - > - <Div gridColumn={2} backgroundColor="sapphire-500" /> - <Div backgroundColor="amanita-500" /> - <Div backgroundColor="moss-500" /> - </Grid> - </Story> -</Preview> - -### Gap - -A grid layout can have a gap between his columns and rows. `columnGap` and `rowGap` are also available to specify a gap for a single axis. - -<Preview> - <Story name="gap"> - <Grid - templateColumns="1fr 1fr" - gap={80} - height={800} - > - <Div backgroundColor="sapphire-500" /> - <Div backgroundColor="amanita-500" /> - <Div backgroundColor="moss-500" /> - <Div backgroundColor="rock-500" /> - </Grid> - </Story> -</Preview> - -### Column spanning - -A grid item can span over multiple columns. - -<Preview> - <Story name="column span"> - <Grid - templateColumns="1fr 1fr 1fr" - gap={80} - height={800} - > - <Div backgroundColor="sapphire-500" /> - <Div backgroundColor="amanita-500" /> - <Div backgroundColor="moss-500" /> - <Div gridColumnSpan={3} gridRow={2} backgroundColor="rock-500" /> - </Grid> - </Story> -</Preview> - -### Nesting - -Grids can be nested. - -<Preview> - <Story name="nesting"> - <Grid - templateRows={[5, 5]} - gap={80} - > - <Grid templateColumns={[9, "auto"]}> - <Div backgroundColor="sapphire-500" /> - <Div backgroundColor="amanita-500" /> - </Grid> - <Grid templateColumns={["auto", 14]}> - <Div backgroundColor="moss-500" /> - <Div backgroundColor="rock-500" /> - </Grid> - </Grid> - </Story> -</Preview> - -### Repeat - -A custom `repeat` function is available to support Orbiter spacing scale values. However, if you prefer, you can use the [native CSS repeat function](https://developer.mozilla.org/en-US/docs/Web/CSS/repeat()) - -<Preview> - <Story name="repeat function"> - <Grid - templateColumns={repeat("auto-fit", 7)} - autoRows={480} - gap={80} - > - <Div backgroundColor={"#eef3fd"} width={400} height={400} /> - <Div backgroundColor={"#dbe6fd"} width={400} height={400} /> - <Div backgroundColor={"#b6c2ef"} width={400} height={400} /> - <Div backgroundColor={"#95a9f5"} width={400} height={400} /> - <Div backgroundColor={"#7689fd"} width={400} height={400} /> - <Div backgroundColor={"#5D65f6"} width={400} height={400} /> - <Div backgroundColor={"#4B11fd"} width={400} height={400} /> - <Div backgroundColor={"#362aae"} width={400} height={400} /> - <Div backgroundColor={"#1f2151"} width={400} height={400} /> - <Div backgroundColor={"#0d0f1f"} width={400} height={400} /> - <Div backgroundColor={"#fbf1f1"} width={400} height={400} /> - <Div backgroundColor={"#fadfdf"} width={400} height={400} /> - <Div backgroundColor={"#fdb0af"} width={400} height={400} /> - <Div backgroundColor={"#f88f8d"} width={400} height={400} /> - <Div backgroundColor={"#eb6a64"} width={400} height={400} /> - <Div backgroundColor={"#d93c37"} width={400} height={400} /> - <Div backgroundColor={"#a91414"} width={400} height={400} /> - <Div backgroundColor={"#811b15"} width={400} height={400} /> - <Div backgroundColor={"#461812"} width={400} height={400} /> - <Div backgroundColor={"#1d0b09"} width={400} height={400} /> - <Div backgroundColor={"#dbfbea"} width={400} height={400} /> - <Div backgroundColor={"#cbeedb"} width={400} height={400} /> - <Div backgroundColor={"#a5cdb8"} width={400} height={400} /> - <Div backgroundColor={"#78ba9b"} width={400} height={400} /> - <Div backgroundColor={"#27a57a"} width={400} height={400} /> - <Div backgroundColor={"#268563"} width={400} height={400} /> - <Div backgroundColor={"#2b5e48"} width={400} height={400} /> - <Div backgroundColor={"#27493a"} width={400} height={400} /> - <Div backgroundColor={"#1a2a23"} width={400} height={400} /> - <Div backgroundColor={"#0c110e"} width={400} height={400} /> - </Grid> - </Story> -</Preview> - -### Minmax - -A custom `minmax` function is available to support Orbiter spacing scalue values. However, if you prefer, you can use the [native CSS minmax function](https://developer.mozilla.org/en-US/docs/Web/CSS/minmax()) - -<Preview> - <Story name="minmax function"> - <Grid - templateColumns={[minmax(9, "1fr"), 10, minmax(9, "1fr")]} - gap={80} - height={320} - > - <Div backgroundColor="sapphire-500" /> - <Div backgroundColor="amanita-500" /> - <Div backgroundColor="moss-500" /> - </Grid> - </Story> -</Preview> - -### Fit-content - -<Preview> - <Story name="fit-content function"> - <Grid - templateColumns={[fitContent(9), fitContent(9), "1fr"]} - gap={80} - alignItems="center" - color="samoyed" - > - <Div backgroundColor="primary" padding={1}>Mars</Div> - <Div backgroundColor="status-negative" padding={1}>Pluto</Div> - <Div backgroundColor="status-positive" padding={1}>Jupiter</Div> - </Grid> - </Story> -</Preview> - -## API - -### Grid - -<ComponentInfo - usage={"import { Grid } from \"@workleap/orbiter-ui\";"} - inherits={[InnerGrid.defaultElement, "styled-component"]} - compact -/> - -<ArgsTable of={InnerGrid} sort="alpha" /> diff --git a/packages/components/src/layout/docs/Grid.stories.tsx b/packages/components/src/layout/docs/Grid.stories.tsx new file mode 100644 index 000000000..84f558228 --- /dev/null +++ b/packages/components/src/layout/docs/Grid.stories.tsx @@ -0,0 +1,174 @@ +import { Meta, StoryObj } from "@storybook/react"; +import { Div } from "@components/html"; +import { Grid, fitContent, minmax, repeat } from "@components/layout"; + +const meta = { + title: "Components/Grid", + component: Grid, + id: "grid" +} as Meta<typeof Grid>; + +export default meta; + +type Story = StoryObj<typeof Grid>; + +export const Areas: Story = { + render: () => ( + <Grid + areas={["a a", "b c"]} + gap={80} + height={800} + > + <Div backgroundColor="sapphire-500" gridArea="a" /> + <Div backgroundColor="amanita-500" gridArea="b" /> + <Div backgroundColor="moss-500" gridArea="c" /> + </Grid> + ) +}; + +export const TemplateColumns: Story = { + render: () => ( + <Grid + gap={80} + height={320} + templateColumns={["9", "7", "1fr"]} + > + <Div backgroundColor="sapphire-500" /> + <Div backgroundColor="amanita-500" /> + <Div backgroundColor="moss-500" /> + </Grid> + ) +}; + +export const AutoColumns: Story = { + render: () => ( + <Grid + autoColumns="1fr" + gap={80} + height={800} + > + <Div backgroundColor="sapphire-500" gridColumn={2} /> + <Div backgroundColor="amanita-500" /> + <Div backgroundColor="moss-500" /> + </Grid> + ) +}; + +export const Gap: Story = { + render: () => ( + <Grid + gap={80} + height={800} + templateColumns="1fr 1fr" + > + <Div backgroundColor="sapphire-500" /> + <Div backgroundColor="amanita-500" /> + <Div backgroundColor="moss-500" /> + <Div backgroundColor="rock-500" /> + </Grid> + ) +}; + +export const ColumnSpan: Story = { + render: () => ( + <Grid + gap={80} + height={800} + templateColumns="1fr 1fr 1fr" + > + <Div backgroundColor="sapphire-500" /> + <Div backgroundColor="amanita-500" /> + <Div backgroundColor="moss-500" /> + <Div backgroundColor="rock-500" gridColumnSpan={3} gridRow={2} /> + </Grid> + ) +}; + +export const Nesting: Story = { + render: () => ( + <Grid + gap={80} + templateRows={["5", "5"]} + > + <Grid templateColumns={["9", "auto"]}> + <Div backgroundColor="sapphire-500" /> + <Div backgroundColor="amanita-500" /> + </Grid> + <Grid templateColumns={["auto", "14"]}> + <Div backgroundColor="moss-500" /> + <Div backgroundColor="rock-500" /> + </Grid> + </Grid> + ) +}; + +export const RepeatFunction: Story = { + render: () => ( + <Grid + autoRows={480} + gap={80} + templateColumns={repeat("auto-fit", "7")} + > + <Div backgroundColor="#eef3fd" height={400} width={400} /> + <Div backgroundColor="#dbe6fd" height={400} width={400} /> + <Div backgroundColor="#b6c2ef" height={400} width={400} /> + <Div backgroundColor="#95a9f5" height={400} width={400} /> + <Div backgroundColor="#7689fd" height={400} width={400} /> + <Div backgroundColor="#5D65f6" height={400} width={400} /> + <Div backgroundColor="#4B11fd" height={400} width={400} /> + <Div backgroundColor="#362aae" height={400} width={400} /> + <Div backgroundColor="#1f2151" height={400} width={400} /> + <Div backgroundColor="#0d0f1f" height={400} width={400} /> + <Div backgroundColor="#fbf1f1" height={400} width={400} /> + <Div backgroundColor="#fadfdf" height={400} width={400} /> + <Div backgroundColor="#fdb0af" height={400} width={400} /> + <Div backgroundColor="#f88f8d" height={400} width={400} /> + <Div backgroundColor="#eb6a64" height={400} width={400} /> + <Div backgroundColor="#d93c37" height={400} width={400} /> + <Div backgroundColor="#a91414" height={400} width={400} /> + <Div backgroundColor="#811b15" height={400} width={400} /> + <Div backgroundColor="#461812" height={400} width={400} /> + <Div backgroundColor="#1d0b09" height={400} width={400} /> + <Div backgroundColor="#dbfbea" height={400} width={400} /> + <Div backgroundColor="#cbeedb" height={400} width={400} /> + <Div backgroundColor="#a5cdb8" height={400} width={400} /> + <Div backgroundColor="#78ba9b" height={400} width={400} /> + <Div backgroundColor="#27a57a" height={400} width={400} /> + <Div backgroundColor="#268563" height={400} width={400} /> + <Div backgroundColor="#2b5e48" height={400} width={400} /> + <Div backgroundColor="#27493a" height={400} width={400} /> + <Div backgroundColor="#1a2a23" height={400} width={400} /> + <Div backgroundColor="#0c110e" height={400} width={400} /> + </Grid> + ) +}; + +export const MinMaxFunction: Story = { + render: () => ( + <Grid + gap={80} + height={320} + templateColumns={[minmax("9", "1fr"), "10", minmax("9", "1fr")]} + > + <Div backgroundColor="sapphire-500" /> + <Div backgroundColor="amanita-500" /> + <Div backgroundColor="moss-500" /> + </Grid > + ) +}; + + +export const FitContentFunction: Story = { + render: () => ( + <Grid + alignItems="center" + color="samoyed" + gap={80} + templateColumns={[fitContent("9"), fitContent("9"), "1fr"]} + > + <Div backgroundColor="primary" padding="1">Mars</Div> + <Div backgroundColor="status-negative" padding="1">Pluto</Div> + <Div backgroundColor="status-positive" padding="1">Jupiter</Div> + </Grid> + ) +}; From d2ba62eeeb7f06847d8abd177a6db214b90d63c1 Mon Sep 17 00:00:00 2001 From: Victor Trinh <victor.trinh@gsoft.com> Date: Mon, 4 Nov 2024 11:51:09 -0500 Subject: [PATCH 43/95] Field --- .../src/field/docs/CustomInput.sample.jsx | 38 ---- .../src/field/docs/EmailValidation.sample.jsx | 27 --- packages/components/src/field/docs/Field.mdx | 133 ++++++++++++ .../src/field/docs/Field.stories.mdx | 193 ------------------ .../src/field/docs/Field.stories.tsx | 154 ++++++++++++++ packages/components/src/field/src/Field.tsx | 4 + 6 files changed, 291 insertions(+), 258 deletions(-) delete mode 100644 packages/components/src/field/docs/CustomInput.sample.jsx delete mode 100644 packages/components/src/field/docs/EmailValidation.sample.jsx create mode 100644 packages/components/src/field/docs/Field.mdx delete mode 100644 packages/components/src/field/docs/Field.stories.mdx create mode 100644 packages/components/src/field/docs/Field.stories.tsx diff --git a/packages/components/src/field/docs/CustomInput.sample.jsx b/packages/components/src/field/docs/CustomInput.sample.jsx deleted file mode 100644 index d3b6e305a..000000000 --- a/packages/components/src/field/docs/CustomInput.sample.jsx +++ /dev/null @@ -1,38 +0,0 @@ -function CustomInput(props) { - const [{ validationState, ...fieldProps }] = useFieldInputProps(); - - return ( - <HtmlInput - {...props} - {...fieldProps} - type="text" - width={{ - base: "50%", - sm: "20%" - }} - border={validationState === "invalid" ? "danger" : "black"} - /> - ); -} - -render(() => { - const [value, setValue] = useState(""); - - const isValid = value.length < 2; - - const handleChange = useCallback(event => { - setValue(event.target.value); - console.log(event.target.value); - }, [setValue]); - - return ( - <Field validationState={isValid ? "valid" : "invalid"}> - <Label>Short input</Label> - <CustomInput - value={value} - onChange={handleChange} - /> - <ErrorMessage>Input is too long.</ErrorMessage> - </Field> - ); -}); diff --git a/packages/components/src/field/docs/EmailValidation.sample.jsx b/packages/components/src/field/docs/EmailValidation.sample.jsx deleted file mode 100644 index ef70a8b0e..000000000 --- a/packages/components/src/field/docs/EmailValidation.sample.jsx +++ /dev/null @@ -1,27 +0,0 @@ -() => { - const [value, setValue] = useState(""); - - const validationState = useMemo(() => { - return value === "" - ? null - : /^\w+([.-]?\w+)*@\w+([.-]?\w+)*(\.\w{2,3})+$/.test(value) ? "valid" : "invalid"; - }, [value]); - - const handleChange = useCallback(event => { - setValue(event.target.value); - console.log(event.target.value); - }, [setValue]); - - return ( - <Field validationState={validationState}> - <Label>Email</Label> - <TextInput - placeholder="a@a.com" - value={value} - onChange={handleChange} - /> - <ErrorMessage>This is an invalid email address.</ErrorMessage> - <ValidMessage>A confirmation email is on it's way!</ValidMessage> - </Field> - ); -}; diff --git a/packages/components/src/field/docs/Field.mdx b/packages/components/src/field/docs/Field.mdx new file mode 100644 index 000000000..2b15894e7 --- /dev/null +++ b/packages/components/src/field/docs/Field.mdx @@ -0,0 +1,133 @@ +import { ArgTypes, Canvas, Meta } from "@storybook/addon-docs"; +import { ComponentInfo, Preview, Tagline } from "@stories/components"; +import { InnerErrorMessage, InnerField, InnerGroupField, InnerHelpMessage, InnerLabel, InnerValidMessage } from "@components/field"; +import * as FieldStories from "./Field.stories.tsx"; + +<Meta of={FieldStories} /> + +# Field + +<Tagline>A field add a label and a message to an input. They are typically used in forms and dialogs.</Tagline> + +<ComponentInfo + usage={"import { Field, GroupField, Label, HelpMessage, ErrorMessage, ValidMessage, FieldContext, useFieldInputProps } from \"@workleap/orbiter-ui\";"} + githubPath="/packages/components/src/field/src" +/> + +## Guidelines + +### Accessibility + +- When combined with a [form](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/form) element, a field component follows the [WAI specifications for forms](https://www.w3.org/WAI/tutorials/forms/). + +## Usage + +A field can be composed of Orbiter input components or integrate with custom inputs from your app. + +### Input + +For *non-group* input use a `Field` component. + +<Canvas of={FieldStories.Input} /> + +### Group input + +When the input is a *group*, use a `GroupField` instead of a `Field`. + +<Canvas of={FieldStories.Group} /> + +### Required + +A field can show a required state. + +<Canvas of={FieldStories.Required} /> + +### Disabled + +A field can be disabled. + +<Canvas of={FieldStories.Disabled} /> + +### Fluid + +A field can take the width of its container. + +<Canvas of={FieldStories.Fluid} /> + +### Validation + +A field can display a validation state to communicate to the user whether the current value is valid or invalid. Implement your own validation logic in your app and pass either `"valid"` or `"invalid"` to the field via the `validationState` prop. + +When valid or invalid, a field can display a specific message by declaring either a `ValidMessage` or an `ErrorMessage` component. + +The example below illustrates how one would validate if the user has entered a valid email and display a message matching the current validation state. + +<Canvas of={FieldStories.Validation} /> + +### Custom input + +Any input implementing the `FieldContext` can integrate with a field component. This is usually done by using the `useFieldInputProps` hook. + +<Canvas of={FieldStories.CustomInput} /> + +## API + +### Field + +<ComponentInfo + usage={"import { Field } from \"@workleap/orbiter-ui\";"} + inherits={[InnerField.defaultElement, "styled-component"]} + compact +/> + +<ArgTypes of={InnerField} sort="alpha" /> + +### GroupField + +<ComponentInfo + usage={"import { GroupField } from \"@workleap/orbiter-ui\";"} + inherits={[InnerGroupField.defaultElement, "styled-component"]} + compact +/> + +<ArgTypes of={InnerGroupField} sort="alpha" /> + +### Label + +<ComponentInfo + usage={"import { Label } from \"@workleap/orbiter-ui\";"} + inherits={[InnerLabel.defaultElement, "styled-component"]} + compact +/> + +<ArgTypes of={InnerLabel} sort="alpha" /> + +### HelpMessage + +<ComponentInfo + usage={"import { HelpMessage } from \"@workleap/orbiter-ui\";"} + inherits={[InnerHelpMessage.defaultElement, "styled-component"]} + compact +/> + +<ArgTypes of={InnerHelpMessage} sort="alpha" /> + +### ErrorMessage + +<ComponentInfo + usage={"import { ErrorMessage } from \"@workleap/orbiter-ui\";"} + inherits={[InnerErrorMessage.defaultElement, "styled-component"]} + compact +/> + +<ArgTypes of={InnerErrorMessage} sort="alpha" /> + +### ValidMessage + +<ComponentInfo + usage={"import { ValidMessage } from \"@workleap/orbiter-ui\";"} + inherits={[InnerValidMessage.defaultElement, "styled-component"]} + compact +/> + +<ArgTypes of={InnerValidMessage} sort="alpha" /> diff --git a/packages/components/src/field/docs/Field.stories.mdx b/packages/components/src/field/docs/Field.stories.mdx deleted file mode 100644 index 9141f1f42..000000000 --- a/packages/components/src/field/docs/Field.stories.mdx +++ /dev/null @@ -1,193 +0,0 @@ -import { ArgsTable, Meta, Story } from "@storybook/addon-docs"; -import { Checkbox, CheckboxGroup } from "@components/checkbox"; -import { ComponentInfo, Preview, Tagline } from "@stories/components"; -import { Field, GroupField, HelpMessage, InnerErrorMessage, InnerField, InnerGroupField, InnerHelpMessage, InnerLabel, InnerValidMessage, Label } from "@components/field"; -import { Inline } from "@components/layout"; -import { TextInput } from "@components/text-input"; - -<Meta - title="Components/Field" - id="field" -/> - -# Field - -<Tagline>A field add a label and a message to an input. They are typically used in forms and dialogs.</Tagline> - -<ComponentInfo - usage={"import { Field, GroupField, Label, HelpMessage, ErrorMessage, ValidMessage, FieldContext, useFieldInputProps } from \"@workleap/orbiter-ui\";"} - githubPath="/packages/components/src/field/src" -/> - -## Guidelines - -### Accessibility - -- When combined with a [form](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/form) element, a field component follows the [WAI specifications for forms](https://www.w3.org/WAI/tutorials/forms/). - -## Usage - -A field can be composed of Orbiter input components or integrate with custom inputs from your app. - -### Input - -For *non-group* input use a `Field` component. - -<Preview> - <Story name="input"> - <Field> - <Label>Space ID</Label> - <TextInput placeholder="999-999-999" /> - <HelpMessage>Your space id is a 9-digit number available on the top right corner of your membership card.</HelpMessage> - </Field> - </Story> -</Preview> - -### Group input - -When the input is a *group*, use a `GroupField` instead of a `Field`. - -<Preview> - <Story name="group"> - <Inline alignX="start" gap={800}> - <GroupField> - <Label>Your favorite galaxies?</Label> - <CheckboxGroup> - <Checkbox value="milky-way">Milky Way</Checkbox> - <Checkbox value="andromeda">Andromeda</Checkbox> - <Checkbox value="medusa">Medusa</Checkbox> - </CheckboxGroup> - <HelpMessage>You must at least have travelled once to the galaxy.</HelpMessage> - </GroupField> - <GroupField> - <Label>Your favorite galaxies?</Label> - <CheckboxGroup orientation="vertical"> - <Checkbox value="milky-way">Milky Way</Checkbox> - <Checkbox value="andromeda">Andromeda</Checkbox> - <Checkbox value="medusa">Medusa</Checkbox> - </CheckboxGroup> - <HelpMessage>You must at least have travelled once to the galaxy.</HelpMessage> - </GroupField> - </Inline> - </Story> -</Preview> - -### Required - -A field can show a required state. - -<Preview> - <Story name="required"> - <Field required> - <Label>Space ID</Label> - <TextInput placeholder="999-999-999" /> - <HelpMessage>Your space id is a 9-digit number available at the top right corner of your membership card.</HelpMessage> - </Field> - </Story> -</Preview> - -### Disabled - -A field can be disabled. - -<Preview> - <Story name="disabled"> - <Field disabled> - <Label>Space ID</Label> - <TextInput placeholder="999-999-999" /> - <HelpMessage>Your space id is a 9-digit number available the top right corner of your membership card.</HelpMessage> - </Field> - </Story> -</Preview> - -### Fluid - -A field can take the width of its container. - -<Preview> - <Story name="fluid"> - <Field fluid> - <Label>Space ID</Label> - <TextInput placeholder="999-999-999" /> - <HelpMessage>Your space id is a 9-digit number available the top right corner of your membership card.</HelpMessage> - </Field> - </Story> -</Preview> - -### Validation - -A field can display a validation state to communicate to the user whether the current value is valid or invalid. Implement your own validation logic in your app and pass either `"valid"` or `"invalid"` to the field via the `validationState` prop. - -When valid or invalid, a field can display a specific message by declaring either a `ValidMessage` or an `ErrorMessage` component. - -The example below illustrates how one would validate if the user has entered a valid email and display a message matching the current validation state. - -<Preview filePath="/field/docs/EmailValidation" /> - -### Custom input - -Any input implementing the `FieldContext` can integrate with a field component. This is usually done by using the `useFieldInputProps` hook. - -<Preview filePath="/field/docs/CustomInput" /> - -## API - -### Field - -<ComponentInfo - usage={"import { Field } from \"@workleap/orbiter-ui\";"} - inherits={[InnerField.defaultElement, "styled-component"]} - compact -/> - -<ArgsTable of={InnerField} sort="alpha" /> - -### GroupField - -<ComponentInfo - usage={"import { GroupField } from \"@workleap/orbiter-ui\";"} - inherits={[InnerGroupField.defaultElement, "styled-component"]} - compact -/> - -<ArgsTable of={InnerGroupField} sort="alpha" /> - -### Label - -<ComponentInfo - usage={"import { Label } from \"@workleap/orbiter-ui\";"} - inherits={[InnerLabel.defaultElement, "styled-component"]} - compact -/> - -<ArgsTable of={InnerLabel} sort="alpha" /> - -### HelpMessage - -<ComponentInfo - usage={"import { HelpMessage } from \"@workleap/orbiter-ui\";"} - inherits={[InnerHelpMessage.defaultElement, "styled-component"]} - compact -/> - -<ArgsTable of={InnerHelpMessage} sort="alpha" /> - -### ErrorMessage - -<ComponentInfo - usage={"import { ErrorMessage } from \"@workleap/orbiter-ui\";"} - inherits={[InnerErrorMessage.defaultElement, "styled-component"]} - compact -/> - -<ArgsTable of={InnerErrorMessage} sort="alpha" /> - -### ValidMessage - -<ComponentInfo - usage={"import { ValidMessage } from \"@workleap/orbiter-ui\";"} - inherits={[InnerValidMessage.defaultElement, "styled-component"]} - compact -/> - -<ArgsTable of={InnerValidMessage} sort="alpha" /> diff --git a/packages/components/src/field/docs/Field.stories.tsx b/packages/components/src/field/docs/Field.stories.tsx new file mode 100644 index 000000000..51a321059 --- /dev/null +++ b/packages/components/src/field/docs/Field.stories.tsx @@ -0,0 +1,154 @@ +/* eslint-disable react-hooks/rules-of-hooks */ +import { Meta, StoryObj } from "@storybook/react"; +import { Checkbox, CheckboxGroup } from "@components/checkbox"; +import { ErrorMessage, Field, GroupField, HelpMessage, Label, useFieldInputProps, ValidMessage } from "@components/field"; +import { Inline } from "@components/layout"; +import { TextInput } from "@components/text-input"; +import { useCallback, useMemo, useState } from "react"; +import { HtmlInput } from "@components/html"; + +const meta = { + title: "Components/Field", + component: Field, + id: "field" +} as Meta<typeof Field>; + +export default meta; + +type Story = StoryObj<typeof Field>; + +export const Input: Story = { + render: () => ( + <Field> + <Label>Space ID</Label> + <TextInput placeholder="999-999-999" /> + <HelpMessage>Your space id is a 9-digit number available on the top right corner of your membership card.</HelpMessage> + </Field> + ) +}; + +export const Group: Story = { + render: () => ( + <Inline alignX="start" gap={800}> + <GroupField> + <Label>Your favorite galaxies?</Label> + <CheckboxGroup> + <Checkbox value="milky-way">Milky Way</Checkbox> + <Checkbox value="andromeda">Andromeda</Checkbox> + <Checkbox value="medusa">Medusa</Checkbox> + </CheckboxGroup> + <HelpMessage>You must at least have travelled once to the galaxy.</HelpMessage> + </GroupField> + <GroupField> + <Label>Your favorite galaxies?</Label> + <CheckboxGroup orientation="vertical"> + <Checkbox value="milky-way">Milky Way</Checkbox> + <Checkbox value="andromeda">Andromeda</Checkbox> + <Checkbox value="medusa">Medusa</Checkbox> + </CheckboxGroup> + <HelpMessage>You must at least have travelled once to the galaxy.</HelpMessage> + </GroupField> + </Inline> + ) +}; + +export const Required: Story = { + render: () => ( + <Field required> + <Label>Space ID</Label> + <TextInput placeholder="999-999-999" /> + <HelpMessage>Your space id is a 9-digit number available at the top right corner of your membership card.</HelpMessage> + </Field> + ) +}; + +export const Disabled: Story = { + render: () => ( + <Field disabled> + <Label>Space ID</Label> + <TextInput placeholder="999-999-999" /> + <HelpMessage>Your space id is a 9-digit number available the top right corner of your membership card.</HelpMessage> + </Field> + ) +}; + +export const Fluid: Story = { + render: () => ( + <Field fluid> + <Label>Space ID</Label> + <TextInput placeholder="999-999-999" /> + <HelpMessage>Your space id is a 9-digit number available the top right corner of your membership card.</HelpMessage> + </Field> + ) +}; + +export const Validation: Story = { + render: () => { + const [value, setValue] = useState(""); + + const validationState = useMemo(() => { + return value === "" + ? null + : /^\w+([.-]?\w+)*@\w+([.-]?\w+)*(\.\w{2,3})+$/.test(value) ? "valid" : "invalid"; + }, [value]); + + const handleChange = useCallback(event => { + setValue(event.target.value); + console.log(event.target.value); + }, [setValue]); + + return ( + <Field validationState={validationState}> + <Label>Email</Label> + <TextInput + onChange={handleChange} + placeholder="a@a.com" + value={value} + /> + <ErrorMessage>This is an invalid email address.</ErrorMessage> + <ValidMessage>A confirmation email is on it's way!</ValidMessage> + </Field> + ); + } +}; + +export const CustomInput: Story = { + render: () => { + function CustomInputComponent(props) { + const [{ validationState, ...fieldProps }] = useFieldInputProps(); + + return ( + <HtmlInput + {...props} + {...fieldProps} + border={validationState === "invalid" ? "danger" : "black"} + type="text" + width={{ + base: "50%", + sm: "20%" + }} + /> + ); + } + + const [value, setValue] = useState(""); + + const isValid = value.length < 2; + + const handleChange = useCallback(event => { + setValue(event.target.value); + console.log(event.target.value); + }, [setValue]); + + return ( + <Field validationState={isValid ? "valid" : "invalid"}> + <Label>Short input</Label> + <CustomInputComponent + onChange={handleChange} + value={value} + /> + <ErrorMessage>Input is too long.</ErrorMessage> + </Field> + ); + } +}; diff --git a/packages/components/src/field/src/Field.tsx b/packages/components/src/field/src/Field.tsx index e58e3b1ab..59d2b1ba1 100644 --- a/packages/components/src/field/src/Field.tsx +++ b/packages/components/src/field/src/Field.tsx @@ -15,6 +15,10 @@ export interface InnerFieldProps extends InternalProps, StyledComponentProps<typ * React children. */ children: ReactNode; + /** + * Whether or not the field is disabled. + */ + disabled?: boolean; /** * Whether or not the field take up the width of its container. */ From 7e1baa87dd560fd41a4b5dfbe05ca72a86f74f60 Mon Sep 17 00:00:00 2001 From: Victor Trinh <victor.trinh@gsoft.com> Date: Mon, 4 Nov 2024 12:04:24 -0500 Subject: [PATCH 44/95] Avatar --- .../components/src/avatar/docs/Avatar.mdx | 109 ++++++++++ .../src/avatar/docs/Avatar.stories.mdx | 188 ------------------ .../src/avatar/docs/Avatar.stories.tsx | 105 ++++++++++ .../src/avatar/src/AnonymousAvatar.tsx | 2 +- .../src/avatar/src/DeletedAvatar.tsx | 2 +- 5 files changed, 216 insertions(+), 190 deletions(-) create mode 100644 packages/components/src/avatar/docs/Avatar.mdx delete mode 100644 packages/components/src/avatar/docs/Avatar.stories.mdx create mode 100644 packages/components/src/avatar/docs/Avatar.stories.tsx diff --git a/packages/components/src/avatar/docs/Avatar.mdx b/packages/components/src/avatar/docs/Avatar.mdx new file mode 100644 index 000000000..4d323a5ac --- /dev/null +++ b/packages/components/src/avatar/docs/Avatar.mdx @@ -0,0 +1,109 @@ +import { ArgTypes, Canvas, Meta } from "@storybook/addon-docs"; +import { InnerAvatar, InnerAvatarGroup, InnerDeletedAvatar, InnerAnonymousAvatar } from "@components/avatar"; +import { ComponentInfo, Preview, Tagline } from "@stories/components"; +import * as AvatarStories from "./Avatar.stories.tsx"; + +<Meta of={AvatarStories} /> + +# Avatar + +<Tagline>An avatar is a graphical representation of a user and typically appears in list and card views, alongside a user's information and/or content that they have created.</Tagline> + +<ComponentInfo + usage={"import { Avatar, AvatarGroup } from \"@workleap/orbiter-ui\";"} + githubPath="/packages/components/src/avatar/src" +/> + +## Usage + +Since ShareGate's applications are closely tied to [Microsoft Office 365](https://www.office.com/), our avatar aims to be similar to O365 personas. + +### Default + +By default, an avatar displays the initials of a user. + +<Canvas of={AvatarStories.Default} /> + +### Local image + +An avatar can accept a local image. + +<Canvas of={AvatarStories.LocalImage} /> + +### Remote image + +An avatar can accept a remote image URL. If the remote image loading is *delayed* or *fails to load*, the user initials will be displayed. + +<Canvas of={AvatarStories.RemoteImage} /> + +### Size + +An avatar component can vary in size. + +<Canvas of={AvatarStories.Size} /> + +## DeletedAvatar + +In some cases, you might want to display a deleted avatar. + +<Canvas of={AvatarStories.DeletedAvatarStory} /> + +## AnonymousAvatar + +In some cases, you might want to display an anonymous avatar. + +<Canvas of={AvatarStories.AnonymousAvatarStory} /> + +## AvatarGroup + +In some cases, you might want to stack avatars as a group. + +<Canvas of={AvatarStories.AvatarGroupStory} /> + +### Remainings + +An avatar group has a maximum of 4 slots. Once this threshold is exceeded, the remaining avatar count is indicated as the fourth slot. + +<Canvas of={AvatarStories.AvatarGroupRemainings} /> + +## API + +### Avatar + +<ComponentInfo + usage={"import { Avatar } from \"@workleap/orbiter-ui\";"} + inherits={[InnerAvatar.defaultElement, "styled-component"]} + compact +/> + +<ArgTypes of={InnerAvatar} sort="alpha" /> + +### Deleted Avatar + +<ComponentInfo + usage={"import { DeletedAvatar } from \"@workleap/orbiter-ui\";"} + inherits={[InnerAvatar.defaultElement, "styled-component"]} + compact +/> + +<ArgTypes of={InnerDeletedAvatar} sort="alpha" /> + +### Anonymous Avatar + +<ComponentInfo + usage={"import { AnonymousAvatar } from \"@workleap/orbiter-ui\";"} + inherits={[InnerAvatar.defaultElement, "styled-component"]} + compact +/> + +<ArgTypes of={InnerAnonymousAvatar} sort="alpha" /> + +### AvatarGroup + +<ComponentInfo + usage={"import { AvatarGroup } from \"@workleap/orbiter-ui\";"} + inherits={[InnerAvatar.defaultElement, "styled-component"]} + compact +/> + +<ArgTypes of={InnerAvatarGroup} sort="alpha" /> diff --git a/packages/components/src/avatar/docs/Avatar.stories.mdx b/packages/components/src/avatar/docs/Avatar.stories.mdx deleted file mode 100644 index ba1e20777..000000000 --- a/packages/components/src/avatar/docs/Avatar.stories.mdx +++ /dev/null @@ -1,188 +0,0 @@ -import { ArgsTable, Meta, Story } from "@storybook/addon-docs"; -import { Avatar, AvatarGroup, AnonymousAvatar, InnerAvatar, InnerAvatarGroup, DeletedAvatar, InnerDeletedAvatar, InnerAnonymousAvatar } from "@components/avatar"; -import { ChrisHadfield } from "./assets"; -import { ComponentInfo, Preview, Tagline } from "@stories/components"; -import { Inline } from "@components/layout"; - -<Meta - title="Components/Avatar" - id="avatar" - parameters={{ - a11y: { - config: { - rules: [ - { id: "color-contrast", enabled: false } - ] - } - } - }} -/> - -# Avatar - -<Tagline>An avatar is a graphical representation of a user and typically appears in list and card views, alongside a user's information and/or content that they have created.</Tagline> - -<ComponentInfo - usage={"import { Avatar, AvatarGroup } from \"@workleap/orbiter-ui\";"} - githubPath="/packages/components/src/avatar/src" -/> - -## Usage - -Since ShareGate's applications are closely tied to [Microsoft Office 365](https://www.office.com/), our avatar aims to be similar to O365 personas. - -### Default - -By default, an avatar displays the initials of a user. - -<Preview> - <Story name="default"> - <Avatar name="Alan Shepard" /> - </Story> -</Preview> - -### Local image - -An avatar can accept a local image. - -<Preview scope={{ ChrisHadfield }}> - <Story name="local image"> - <Avatar src={ChrisHadfield} name="Chris Hadfield" /> - </Story> -</Preview> - -### Remote image - -An avatar can accept a remote image URL. If the remote image loading is *delayed* or *fails to load*, the user initials will be displayed. - -<Preview> - <Story name="remote image"> - <Avatar src="https://raw.githubusercontent.com/gsoft-inc/wl-orbiter/master/packages/components/src/avatar/docs/assets/hadfield.png" name="Chris Hadfield" /> - </Story> -</Preview> - -### Size - -An avatar component can vary in size. - -<Preview scope={{ ChrisHadfield }}> - <Story name="size"> - <Inline alignY="center"> - <Avatar size="xs" src={ChrisHadfield} name="Chris Hadfield" /> - <Avatar size="sm" src={ChrisHadfield} name="Chris Hadfield" /> - <Avatar size="md" src={ChrisHadfield} name="Chris Hadfield" /> - <Avatar size="lg" src={ChrisHadfield} name="Chris Hadfield" /> - <Avatar size="xl" src={ChrisHadfield} name="Chris Hadfield" /> - <Avatar size="2xl" src={ChrisHadfield} name="Chris Hadfield" /> - </Inline> - </Story> -</Preview> - -## DeletedAvatar - -In some cases, you might want to display a deleted avatar. - -<Preview> - <Story name="deleted avatar"> - <Inline alignY="center"> - <DeletedAvatar size="xs" aria-label="Deleted user" /> - <DeletedAvatar size="sm" aria-label="Deleted user" /> - <DeletedAvatar size="md" aria-label="Deleted user" /> - <DeletedAvatar size="lg" aria-label="Deleted user" /> - <DeletedAvatar size="xl" aria-label="Deleted user" /> - <DeletedAvatar size="2xl" aria-label="Deleted user" /> - </Inline> - </Story> -</Preview> - -## AnonymousAvatar - -In some cases, you might want to display an anonymous avatar. - -<Preview> - <Story name="anonymous avatar"> - <Inline alignY="center"> - <AnonymousAvatar size="xs" aria-label="Anonymous user" /> - <AnonymousAvatar size="sm" aria-label="Anonymous user" /> - <AnonymousAvatar size="md" aria-label="Anonymous user" /> - <AnonymousAvatar size="lg" aria-label="Anonymous user" /> - <AnonymousAvatar size="xl" aria-label="Anonymous user" /> - <AnonymousAvatar size="2xl" aria-label="Anonymous user" /> - </Inline> - </Story> -</Preview> - -## AvatarGroup - -In some cases, you might want to stack avatars as a group. - -<Preview scope={{ ChrisHadfield }}> - <Story name="avatar group"> - <AvatarGroup> - <Avatar name="Alan Shepard" /> - <DeletedAvatar aria-label="Deleted user" /> - <AnonymousAvatar aria-label="Anonymous user" /> - <Avatar src={ChrisHadfield} name="Chris Hadfield" /> - </AvatarGroup> - </Story> -</Preview> - -### Remainings - -An avatar group has a maximum of 4 slots. Once this threshold is exceeded, the remaining avatar count is indicated as the fourth slot. - -<Preview scope={{ ChrisHadfield }}> - <Story name="avatar group remainings"> - <AvatarGroup> - <Avatar name="Sally Ride" /> - <Avatar name="Alan Shepard" /> - <Avatar src={ChrisHadfield} name="Chris Hadfield" /> - <Avatar name="Christa McAuliffe" /> - <Avatar name="Neil Armstrong" /> - <DeletedAvatar aria-label="Deleted user" /> - <AnonymousAvatar aria-label="Anonymous user" /> - </AvatarGroup> - </Story> -</Preview> - -## API - -### Avatar - -<ComponentInfo - usage={"import { Avatar } from \"@workleap/orbiter-ui\";"} - inherits={[InnerAvatar.defaultElement, "styled-component"]} - compact -/> - -<ArgsTable of={InnerAvatar} sort="alpha" /> - -### Deleted Avatar - -<ComponentInfo - usage={"import { DeletedAvatar } from \"@workleap/orbiter-ui\";"} - inherits={[InnerAvatar.defaultElement, "styled-component"]} - compact -/> - -<ArgsTable of={InnerDeletedAvatar} sort="alpha" /> - -### Anonymous Avatar - -<ComponentInfo - usage={"import { AnonymousAvatar } from \"@workleap/orbiter-ui\";"} - inherits={[InnerAvatar.defaultElement, "styled-component"]} - compact -/> - -<ArgsTable of={InnerAnonymousAvatar} sort="alpha" /> - -### AvatarGroup - -<ComponentInfo - usage={"import { AvatarGroup } from \"@workleap/orbiter-ui\";"} - inherits={[InnerAvatar.defaultElement, "styled-component"]} - compact -/> - -<ArgsTable of={InnerAvatarGroup} sort="alpha" /> diff --git a/packages/components/src/avatar/docs/Avatar.stories.tsx b/packages/components/src/avatar/docs/Avatar.stories.tsx new file mode 100644 index 000000000..40af81a2c --- /dev/null +++ b/packages/components/src/avatar/docs/Avatar.stories.tsx @@ -0,0 +1,105 @@ +import { Meta, StoryObj } from "@storybook/react"; +import { Avatar, AvatarGroup, AnonymousAvatar, DeletedAvatar } from "@components/avatar"; +import { ChrisHadfield } from "./assets"; +import { Inline } from "@components/layout"; + +const meta = { + title: "Components/Avatar", + component: Avatar, + id: "avatar", + parameters: { + a11y: { + config: { + rules: [ + { id: "color-contrast", enabled: false } + ] + } + } + } +} as Meta<typeof Avatar>; + +export default meta; + +type Story = StoryObj<typeof Avatar>; + +export const Default: Story = { + render: () => ( + <Avatar name="Alan Shepard" /> + ) +}; + +export const LocalImage: Story = { + render: () => ( + <Avatar name="Chris Hadfield" src={ChrisHadfield} /> + ) +}; + +export const RemoteImage: Story = { + render: () => ( + <Avatar name="Chris Hadfield" src="https://raw.githubusercontent.com/gsoft-inc/wl-orbiter/master/packages/components/src/avatar/docs/assets/hadfield.png" /> + ) +}; + +export const Size: Story = { + render: () => ( + <Inline alignY="center"> + <Avatar name="Chris Hadfield" size="xs" src={ChrisHadfield} /> + <Avatar name="Chris Hadfield" size="sm" src={ChrisHadfield} /> + <Avatar name="Chris Hadfield" size="md" src={ChrisHadfield} /> + <Avatar name="Chris Hadfield" size="lg" src={ChrisHadfield} /> + <Avatar name="Chris Hadfield" size="xl" src={ChrisHadfield} /> + <Avatar name="Chris Hadfield" size="2xl" src={ChrisHadfield} /> + </Inline> + ) +}; + +export const DeletedAvatarStory: Story = { + render: () => ( + <Inline alignY="center"> + <DeletedAvatar aria-label="Deleted user" size="xs" /> + <DeletedAvatar aria-label="Deleted user" size="sm" /> + <DeletedAvatar aria-label="Deleted user" size="md" /> + <DeletedAvatar aria-label="Deleted user" size="lg" /> + <DeletedAvatar aria-label="Deleted user" size="xl" /> + <DeletedAvatar aria-label="Deleted user" size="2xl" /> + </Inline> + ) +}; + +export const AnonymousAvatarStory: Story = { + render: () => ( + <Inline alignY="center"> + <AnonymousAvatar aria-label="Anonymous user" size="xs" /> + <AnonymousAvatar aria-label="Anonymous user" size="sm" /> + <AnonymousAvatar aria-label="Anonymous user" size="md" /> + <AnonymousAvatar aria-label="Anonymous user" size="lg" /> + <AnonymousAvatar aria-label="Anonymous user" size="xl" /> + <AnonymousAvatar aria-label="Anonymous user" size="2xl" /> + </Inline> + ) +}; + +export const AvatarGroupStory: Story = { + render: () => ( + <AvatarGroup> + <Avatar name="Alan Shepard" /> + <DeletedAvatar aria-label="Deleted user" /> + <AnonymousAvatar aria-label="Anonymous user" /> + <Avatar name="Chris Hadfield" src={ChrisHadfield} /> + </AvatarGroup> + ) +}; + +export const AvatarGroupRemainings: Story = { + render: () => ( + <AvatarGroup> + <Avatar name="Sally Ride" /> + <Avatar name="Alan Shepard" /> + <Avatar name="Chris Hadfield" src={ChrisHadfield} /> + <Avatar name="Christa McAuliffe" /> + <Avatar name="Neil Armstrong" /> + <DeletedAvatar aria-label="Deleted user" /> + <AnonymousAvatar aria-label="Anonymous user" /> + </AvatarGroup> + ) +}; diff --git a/packages/components/src/avatar/src/AnonymousAvatar.tsx b/packages/components/src/avatar/src/AnonymousAvatar.tsx index b6e78759f..cf1844888 100644 --- a/packages/components/src/avatar/src/AnonymousAvatar.tsx +++ b/packages/components/src/avatar/src/AnonymousAvatar.tsx @@ -23,7 +23,7 @@ export interface InnerAnonymousAvatarProps extends SlotProps, InternalProps, Sty /** * An avatar can vary in size. */ - size?: ResponsiveProp<"xs" | "sm" | "md" | "lg" | "xl">; + size?: ResponsiveProp<"xs" | "sm" | "md" | "lg" | "xl" | "2xl">; } export function InnerAnonymousAvatar({ diff --git a/packages/components/src/avatar/src/DeletedAvatar.tsx b/packages/components/src/avatar/src/DeletedAvatar.tsx index f17af5d87..a6778d6f2 100644 --- a/packages/components/src/avatar/src/DeletedAvatar.tsx +++ b/packages/components/src/avatar/src/DeletedAvatar.tsx @@ -23,7 +23,7 @@ export interface InnerDeletedAvatarProps extends SlotProps, InternalProps, Style /** * An avatar can vary in size. */ - size?: ResponsiveProp<"xs" | "sm" | "md" | "lg" | "xl">; + size?: ResponsiveProp<"xs" | "sm" | "md" | "lg" | "xl" | "2xl">; } export function InnerDeletedAvatar({ From 54f736ef57871bd5dee7071f5a7bd088130ba465 Mon Sep 17 00:00:00 2001 From: Victor Trinh <victor.trinh@gsoft.com> Date: Mon, 4 Nov 2024 12:27:59 -0500 Subject: [PATCH 45/95] Button --- .../components/src/button/docs/Button.mdx | 262 +++++++++++ .../src/button/docs/Button.stories.mdx | 418 ------------------ .../src/button/docs/Button.stories.tsx | 208 +++++++++ .../docs/ControlledToggleButton.sample.jsx | 19 - 4 files changed, 470 insertions(+), 437 deletions(-) create mode 100644 packages/components/src/button/docs/Button.mdx delete mode 100644 packages/components/src/button/docs/Button.stories.mdx create mode 100644 packages/components/src/button/docs/Button.stories.tsx delete mode 100644 packages/components/src/button/docs/ControlledToggleButton.sample.jsx diff --git a/packages/components/src/button/docs/Button.mdx b/packages/components/src/button/docs/Button.mdx new file mode 100644 index 000000000..7af06704d --- /dev/null +++ b/packages/components/src/button/docs/Button.mdx @@ -0,0 +1,262 @@ +import { SparklesIcon } from "@hopper-ui/icons"; +import { ArgTypes, Canvas, Meta } from "@storybook/addon-docs"; +import { + InnerButton, + InnerButtonGroup, + InnerIconButton, + InnerToggleButton, + InnerToggleIconButton +} from "@components/button"; +import { ComponentInfo, Preview, Tagline } from "@stories/components"; +import * as ButtonStories from "./Button.stories.tsx"; + +<Meta of={ButtonStories} /> + +# Button + +<Tagline>A button indicates a possible user action.</Tagline> + +<ComponentInfo + usage={"import { Button, IconButton, ToggleButton, ToggleIconButton, ButtonGroup, ButtonAsLink } from \"@workleap/orbiter-ui\";"} + ariaPath="button" + githubPath="/packages/components/src/button/src" +/> + +## Guidelines + +### When to use + +- To trigger an action such as submitting a form, exporting data. +- To trigger a new UI element to appear on the page such as a modal. +- Progressing or regressing a user through a step. + +### Content + +- Use strong, actionable verbs. +- Avoid using "click here" or "start here" as copy. + +### Button vs Link + +- When you need to link to another page, use a [link](?path=/docs/link--default-story) component. + +### ToggleButton vs Switch + +- To activate or deactivate a feature, use the [switch](?path=/docs/switch--default-story) instead of a single [toggle button](?path=/docs/button--default-story#toggle-button). + +## Usage + +### Default + +A default button. + +<Canvas of={ButtonStories.Default} /> + +### Icon + +A button can contain [icons](?path=/docs/icon-gallery--page). + +<Canvas of={ButtonStories.Icon} /> + +### End icon + +*Non standard* end [icons](?path=/docs/icon-gallery--page) can be provided to handle special cases. However, think twice before adding *end* icons, *start* icons should be your go to. + +<Canvas of={ButtonStories.EndIcon} /> + +### Counter + +A button can contain a [counter](?path=/docs/counter--default-story). + +<Canvas of={ButtonStories.CounterStory} /> + +### Size + +A button can vary in size. + +<Canvas of={ButtonStories.Size} /> + +### Disabled + +A button can be disabled. + +<Canvas of={ButtonStories.Disabled} /> + +### Loading + +A button can show a loading indicator. The button text is hidden but the button maintains the width that it would have if the text were visible. + +<Canvas of={ButtonStories.Loading} /> + +### Fluid + +A button can be expanded to full width to fill its parent container. + +<Canvas of={ButtonStories.Fluid} /> + +### Variants + +A button can use different variants. + +#### Primary + +Used to indicate the main action of a page or a section. This is usually the action we want the user to take. + +In a button group, there can be only 1 primary button. This will be reserved for the suggested action. + +<Canvas of={ButtonStories.Primary} /> + +#### Secondary + +Secondary buttons are used for user actions that need less prominence in the page or the section. It’s also the button used when there are no suggested actions to the user. + +<Canvas of={ButtonStories.Secondary} /> + +#### Tertiary + +Tertiary buttons are used for actions that need to be there but that we don't want to encourage. A common use case would be a Cancel button in a message or an alert. + +<Canvas of={ButtonStories.Tertiary} /> + +#### Upsell + +<Canvas of={ButtonStories.Upsell} /> + +#### Negative + +Negative buttons are used for actions that would result in a deletion or another non recoverable negative action. These are mostly useful in modals. + +<Canvas of={ButtonStories.Negative} /> + +### Link + +A button can be rendered as a link by using the `ButtonAsLink` component. + +<Canvas of={ButtonStories.AsAnchor} /> + +## Icon button + +The content of a button can be a single icon. An accessible name must be provided through [aria-label](https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Attributes/aria-label) prop. See also [WCAG practices](https://www.w3.org/TR/WCAG20-TECHS/ARIA6.html). + +<Canvas of={ButtonStories.IconButtonStory} /> + +### Icon link + +An icon button can be rendered as a link by using the IconButtonAsLink component. + +<Canvas of={ButtonStories.IconLinkButton} /> + +## Button group + +Buttons whose actions are related to each other can be grouped together. + +<Canvas of={ButtonStories.ButtonGroupStory} /> + +### Orientation + +A button group can render his items vertically. + +<Canvas of={ButtonStories.ButtonGroupVertical} /> + +### Alignment + +A button group can change the alignment of his items. + +<Canvas of={ButtonStories.ButtonGroupAlignment} /> + +## Toggle button + +Offer a similar experience as a checkbox or radio with the appearance of a button. + +<Canvas of={ButtonStories.ToggleButtonStory} /> + +### Toggle icon button + +A toggle button content can be a single icon. An accessible name must be provided through `aria-label` prop. See [WCAG practices](https://www.w3.org/TR/WCAG20-TECHS/ARIA6.html). + +<Canvas of={ButtonStories.ToggleIconButtonStory} /> + +### Toggle button group + +Related toggle buttons can be group together in a [group](#button-group), a [checkbox group](?path=/docs/checkbox--default-story) or a [radio group](?path=/docs/radio-group--default-story): + +<Canvas of={ButtonStories.ToggleButtonGroup} /> + +### Controlled + +A toggle button can handle `checked` state in controlled mode. + +<Canvas of={ButtonStories.Controlled} /> + +## API + +### Button + +<ComponentInfo + usage={"import { Button } from \"@workleap/orbiter-ui\";"} + slots={["icon", "text", "end-icon", "counter"]} + inherits={[InnerButton.defaultElement, "styled-component"]} + compact +/> + +<ArgTypes of={InnerButton} sort="alpha" /> + +### IconButton + +<ComponentInfo + usage={"import { IconButton } from \"@workleap/orbiter-ui\";"} + inherits={[InnerIconButton.defaultElement, "styled-component"]} + compact +/> + +<ArgTypes of={InnerIconButton} sort="alpha" /> + +### ToggleButton + +<ComponentInfo + usage={"import { ToggleButton } from \"@workleap/orbiter-ui\";"} + slots={["icon", "text", "end-icon"]} + inherits={[InnerToggleButton.defaultElement, "styled-component"]} + compact +/> + +<ArgTypes of={InnerToggleButton} sort="alpha" /> + +### ToggleIconButton + +<ComponentInfo + usage={"import { ToggleIconButton } from \"@workleap/orbiter-ui\";"} + inherits={[InnerToggleIconButton.defaultElement, "styled-component"]} + compact +/> + +<ArgTypes of={InnerToggleIconButton} sort="alpha" /> + +### ButtonGroup + +<ComponentInfo + usage={"import { ButtonGroup } from \"@workleap/orbiter-ui\";"} + inherits={[InnerButtonGroup.defaultElement, "styled-component"]} + compact +/> + +<ArgTypes of={InnerButtonGroup} sort="alpha" /> + +### ButtonAsLink + +<ComponentInfo + usage={"import { ButtonAsLink } from \"@workleap/orbiter-ui\";"} + inherits={[InnerButton.defaultElement, "styled-component"]} + compact +/> + +<ArgTypes of={InnerButton} sort="alpha" /> + +### IconButtonAsLink + +<ComponentInfo + usage={"import { IconButtonAsLink } from \"@workleap/orbiter-ui\";"} + inherits={[InnerIconButton.defaultElement, "styled-component"]} + compact +/> + +<ArgTypes of={InnerIconButton} sort="alpha" /> diff --git a/packages/components/src/button/docs/Button.stories.mdx b/packages/components/src/button/docs/Button.stories.mdx deleted file mode 100644 index 4a1ba515b..000000000 --- a/packages/components/src/button/docs/Button.stories.mdx +++ /dev/null @@ -1,418 +0,0 @@ -import { SparklesIcon } from "@hopper-ui/icons"; -import { ArgsTable, Meta, Story } from "@storybook/addon-docs"; -import { - Button, - ButtonAsLink, - ButtonGroup, - IconButton, - IconButtonAsLink, - InnerButton, - InnerButtonGroup, - InnerIconButton, - InnerToggleButton, - InnerToggleIconButton, - ToggleButton, - ToggleIconButton -} from "@components/button"; -import { ComponentInfo, Preview, Tagline } from "@stories/components"; -import { Counter } from "@components/counter"; -import { Inline } from "@components/layout"; -import { RadioGroup } from "@components/radio"; -import { Text } from "@components/typography"; - -<Meta - title="Components/Button" - id="button" -/> - -# Button - -<Tagline>A button indicates a possible user action.</Tagline> - -<ComponentInfo - usage={"import { Button, IconButton, ToggleButton, ToggleIconButton, ButtonGroup, ButtonAsLink } from \"@workleap/orbiter-ui\";"} - ariaPath="button" - githubPath="/packages/components/src/button/src" -/> - -## Guidelines - -### When to use - -- To trigger an action such as submitting a form, exporting data. -- To trigger a new UI element to appear on the page such as a modal. -- Progressing or regressing a user through a step. - -### Content - -- Use strong, actionable verbs. -- Avoid using "click here" or "start here" as copy. - -### Button vs Link - -- When you need to link to another page, use a [link](?path=/docs/link--default-story) component. - -### ToggleButton vs Switch - -- To activate or deactivate a feature, use the [switch](?path=/docs/switch--default-story) instead of a single [toggle button](?path=/docs/button--default-story#toggle-button). - -## Usage - -### Default - -A default button. - -<Preview> - <Story name="default"> - <Button>Cutoff</Button> - </Story> -</Preview> - -### Icon - -A button can contain [icons](?path=/docs/icon-gallery--page). - -<Preview> - <Story name="icon"> - <Button variant="secondary"> - <SparklesIcon /> - <Text>Cutoff</Text> - </Button> - </Story> -</Preview> - -### End icon - -*Non standard* end [icons](?path=/docs/icon-gallery--page) can be provided to handle special cases. However, think twice before adding *end* icons, *start* icons should be your go to. - -<Preview> - <Story name="end icon"> - <Button variant="secondary"> - <Text>Cutoff</Text> - <SparklesIcon slot="end-icon" /> - </Button> - </Story> -</Preview> - -### Counter - -A button can contain a [counter](?path=/docs/counter--default-story). - -<Preview> - <Story name="counter"> - <Button variant="secondary"> - <Text>Cutoff</Text> - <Counter variant="divider">60</Counter> - </Button> - </Story> -</Preview> - -### Size - -A button can vary in size. - -<Preview> - <Story name="size"> - <Inline alignY="center"> - <Button size="sm" variant="secondary">Cutoff</Button> - <Button variant="secondary">Cutoff</Button> - </Inline> - </Story> -</Preview> - -### Disabled - -A button can be disabled. - -<Preview> - <Story name="disabled"> - <Button disabled>Cutoff</Button> - </Story> -</Preview> - -### Loading - -A button can show a loading indicator. The button text is hidden but the button maintains the width that it would have if the text were visible. - -<Preview> - <Story name="loading"> - <Button loading variant="secondary">Loading</Button> - </Story> -</Preview> - -### Fluid - -A button can be expanded to full width to fill its parent container. - -<Preview> - <Story name="fluid"> - <Button fluid variant="secondary"> - <SparklesIcon /> - <Text>To infinity and beyond</Text> - </Button> - </Story> -</Preview> - -### Variants - -A button can use different variants. - -#### Primary - -Used to indicate the main action of a page or a section. This is usually the action we want the user to take. - -In a button group, there can be only 1 primary button. This will be reserved for the suggested action. - -<Preview> - <Story name="primary"> - <Inline> - <Button variant="primary">Primary</Button> - </Inline> - </Story> -</Preview> - -#### Secondary - -Secondary buttons are used for user actions that need less prominence in the page or the section. It’s also the button used when there are no suggested actions to the user. - -<Preview> - <Story name="secondary"> - <Inline> - <Button variant="secondary">Secondary</Button> - </Inline> - </Story> -</Preview> - -#### Tertiary - -Tertiary buttons are used for actions that need to be there but that we don't want to encourage. A common use case would be a Cancel button in a message or an alert. - -<Preview> - <Story name="tertiary"> - <Inline> - <Button variant="tertiary">Tertiary</Button> - </Inline> - </Story> -</Preview> - -#### Upsell - -<Preview> - <Story name="upsell"> - <Inline> - <Button variant="upsell">Upsell</Button> - </Inline> - </Story> -</Preview> - -#### Negative - -Negative buttons are used for actions that would result in a deletion or another non recoverable negative action. These are mostly useful in modals. - -<Preview> - <Story name="negative"> - <Inline> - <Button variant="negative">Negative</Button> - </Inline> - </Story> -</Preview> - -### Link - -A button can be rendered as a link by using the `ButtonAsLink` component. - -<Preview> - <Story name="as anchor"> - <ButtonAsLink href="https://www.nasa.gov" target="_blank" variant="secondary">Cutoff</ButtonAsLink> - </Story> -</Preview> - -## Icon button - -The content of a button can be a single icon. An accessible name must be provided through [aria-label](https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Attributes/aria-label) prop. See also [WCAG practices](https://www.w3.org/TR/WCAG20-TECHS/ARIA6.html). - -<Preview> - <Story name="icon button"> - <Inline alignY="center"> - <IconButton size="xs" variant="secondary" aria-label="Add owner"><SparklesIcon /></IconButton> - <IconButton size="sm" variant="secondary" aria-label="Add owner"><SparklesIcon /></IconButton> - <IconButton variant="secondary" aria-label="Add owner"><SparklesIcon /></IconButton> - </Inline> - </Story> -</Preview> - -### Icon link - -An icon button can be rendered as a link by using the IconButtonAsLink component. - -<Preview> - <Story name="icon link button"> - <IconButtonAsLink variant="secondary" aria-label="Add owner" href="https://www.nasa.gov" target="_blank"><SparklesIcon /></IconButtonAsLink> - </Story> -</Preview> - -## Button group - -Buttons whose actions are related to each other can be grouped together. - -<Preview> - <Story name="button group"> - <ButtonGroup> - <Button variant="secondary">No, thanks</Button> - <Button variant="secondary">Remind me later</Button> - <Button variant="secondary">Rate Now</Button> - </ButtonGroup> - </Story> -</Preview> - -### Orientation - -A button group can render his items vertically. - -<Preview> - <Story name="button group vertical"> - <ButtonGroup orientation="vertical"> - <Button variant="secondary">No, thanks</Button> - <Button variant="secondary">Remind me later</Button> - <Button variant="secondary">Rate Now</Button> - </ButtonGroup> - </Story> -</Preview> - -### Alignment - -A button group can change the alignment of his items. - -<Preview> - <Story name="button group alignment"> - <ButtonGroup align="end"> - <Button variant="secondary">No, thanks</Button> - <Button variant="secondary">Remind me later</Button> - <Button variant="secondary">Rate Now</Button> - </ButtonGroup> - </Story> -</Preview> - -## Toggle button - -Offer a similar experience as a checkbox or radio with the appearance of a button. - -<Preview> - <Story name="toggle button"> - <Inline> - <ToggleButton variant="secondary">On</ToggleButton> - <ToggleButton variant="secondary"> - <SparklesIcon /> - <Text>Cutoff</Text> - </ToggleButton> - </Inline> - </Story> -</Preview> - -### Toggle icon button - -A toggle button content can be a single icon. An accessible name must be provided through `aria-label` prop. See [WCAG practices](https://www.w3.org/TR/WCAG20-TECHS/ARIA6.html). - -<Preview> - <Story name="toggle icon button"> - <ToggleIconButton variant="secondary" aria-label="Activate"> - <SparklesIcon /> - </ToggleIconButton> - </Story> -</Preview> - -### Toggle button group - -Related toggle buttons can be group together in a [group](#button-group), a [checkbox group](?path=/docs/checkbox--default-story) or a [radio group](?path=/docs/radio-group--default-story): - -<Preview> - <Story name="toggle button group"> - <RadioGroup gap={80} orientation="horizontal"> - <ToggleButton value="none" variant="secondary">None</ToggleButton> - <ToggleButton value="1" variant="secondary">1</ToggleButton> - <ToggleButton value="2" variant="secondary">2</ToggleButton> - <ToggleButton value="3" variant="secondary">3</ToggleButton> - <ToggleButton value="4+" variant="secondary">4+</ToggleButton> - </RadioGroup> - </Story> -</Preview> - -### Controlled - -A toggle button can handle `checked` state in controlled mode. - -<Preview filePath="/button/docs/ControlledToggleButton" /> - -## API - -### Button - -<ComponentInfo - usage={"import { Button } from \"@workleap/orbiter-ui\";"} - slots={["icon", "text", "end-icon", "counter"]} - inherits={[InnerButton.defaultElement, "styled-component"]} - compact -/> - -<ArgsTable of={InnerButton} sort="alpha" /> - -### IconButton - -<ComponentInfo - usage={"import { IconButton } from \"@workleap/orbiter-ui\";"} - inherits={[InnerIconButton.defaultElement, "styled-component"]} - compact -/> - -<ArgsTable of={InnerIconButton} sort="alpha" /> - -### ToggleButton - -<ComponentInfo - usage={"import { ToggleButton } from \"@workleap/orbiter-ui\";"} - slots={["icon", "text", "end-icon"]} - inherits={[InnerToggleButton.defaultElement, "styled-component"]} - compact -/> - -<ArgsTable of={InnerToggleButton} sort="alpha" /> - -### ToggleIconButton - -<ComponentInfo - usage={"import { ToggleIconButton } from \"@workleap/orbiter-ui\";"} - inherits={[InnerToggleIconButton.defaultElement, "styled-component"]} - compact -/> - -<ArgsTable of={InnerToggleIconButton} sort="alpha" /> - -### ButtonGroup - -<ComponentInfo - usage={"import { ButtonGroup } from \"@workleap/orbiter-ui\";"} - inherits={[InnerButtonGroup.defaultElement, "styled-component"]} - compact -/> - -<ArgsTable of={InnerButtonGroup} sort="alpha" /> - -### ButtonAsLink - -<ComponentInfo - usage={"import { ButtonAsLink } from \"@workleap/orbiter-ui\";"} - inherits={[InnerButton.defaultElement, "styled-component"]} - compact -/> - -<ArgsTable of={InnerButton} sort="alpha" /> - -### IconButtonAsLink - -<ComponentInfo - usage={"import { IconButtonAsLink } from \"@workleap/orbiter-ui\";"} - inherits={[InnerIconButton.defaultElement, "styled-component"]} - compact -/> - -<ArgsTable of={InnerIconButton} sort="alpha" /> diff --git a/packages/components/src/button/docs/Button.stories.tsx b/packages/components/src/button/docs/Button.stories.tsx new file mode 100644 index 000000000..5dc8b73c4 --- /dev/null +++ b/packages/components/src/button/docs/Button.stories.tsx @@ -0,0 +1,208 @@ +/* eslint-disable react-hooks/rules-of-hooks */ +import { SparklesIcon } from "@hopper-ui/icons"; +import { Meta, StoryObj } from "@storybook/react"; +import { + Button, + ButtonAsLink, + ButtonGroup, + IconButton, + IconButtonAsLink, + ToggleButton, + ToggleIconButton +} from "@components/button"; +import { Counter } from "@components/counter"; +import { Inline } from "@components/layout"; +import { RadioGroup } from "@components/radio"; +import { Text } from "@components/typography"; +import { useCallback, useState } from "react"; + +const meta = { + title: "Components/Button", + component: Button, + id: "button" +} as Meta<typeof Button>; + +export default meta; + +type Story = StoryObj<typeof Button>; + +export const Default: Story = { + render: () => <Button>Cutoff</Button> +}; + +export const Icon: Story = { + render: () => ( + <Button variant="secondary"> + <SparklesIcon /> + <Text>Cutoff</Text> + </Button> + ) +}; + +export const EndIcon: Story = { + render: () => ( + <Button variant="secondary"> + <Text>Cutoff</Text> + <SparklesIcon slot="end-icon" /> + </Button> + ) +}; + +export const CounterStory: Story = { + render: () => ( + <Button variant="secondary"> + <Text>Cutoff</Text> + <Counter variant="divider">60</Counter> + </Button> + ) +}; + +export const Size: Story = { + render: () => ( + <Inline alignY="center"> + <Button size="sm" variant="secondary">Cutoff</Button> + <Button variant="secondary">Cutoff</Button> + </Inline> + ) +}; + +export const Disabled: Story = { + render: () => <Button disabled>Cutoff</Button> +}; + +export const Loading: Story = { + render: () => <Button loading variant="secondary">Loading</Button> +}; + +export const Fluid: Story = { + render: () => ( + <Button fluid variant="secondary"> + <SparklesIcon /> + <Text>To infinity and beyond</Text> + </Button> + ) +}; + +export const Primary: Story = { + render: () => <Button variant="primary">Primary</Button> +}; + +export const Secondary: Story = { + render: () => <Button variant="secondary">Secondary</Button> +}; + +export const Tertiary: Story = { + render: () => <Button variant="tertiary">Tertiary</Button> +}; + +export const Upsell: Story = { + render: () => <Button variant="upsell">Upsell</Button> +}; + +export const Negative: Story = { + render: () => <Button variant="negative">Negative</Button> +}; + +export const AsAnchor: Story = { + render: () => <ButtonAsLink href="https://www.nasa.gov" target="_blank" variant="secondary">Cutoff</ButtonAsLink> +}; + +export const IconButtonStory: Story = { + render: () => ( + <Inline alignY="center"> + <IconButton aria-label="Add owner" size="xs" variant="secondary"><SparklesIcon /></IconButton> + <IconButton aria-label="Add owner" size="sm" variant="secondary"><SparklesIcon /></IconButton> + <IconButton aria-label="Add owner" variant="secondary"><SparklesIcon /></IconButton> + </Inline> + ) +}; + +export const IconLinkButton: Story = { + render: () => ( + <IconButtonAsLink aria-label="Add owner" href="https://www.nasa.gov" target="_blank" variant="secondary"><SparklesIcon /></IconButtonAsLink> + ) +}; + +export const ButtonGroupStory: Story = { + render: () => ( + <ButtonGroup> + <Button variant="secondary">No, thanks</Button> + <Button variant="secondary">Remind me later</Button> + <Button variant="secondary">Rate Now</Button> + </ButtonGroup> + ) +}; + +export const ButtonGroupVertical: Story = { + render: () => ( + <ButtonGroup orientation="vertical"> + <Button variant="secondary">No, thanks</Button> + <Button variant="secondary">Remind me later</Button> + <Button variant="secondary">Rate Now</Button> + </ButtonGroup> + ) +}; + +export const ButtonGroupAlignment: Story = { + render: () => ( + <ButtonGroup align="end"> + <Button variant="secondary">No, thanks</Button> + <Button variant="secondary">Remind me later</Button> + <Button variant="secondary">Rate Now</Button> + </ButtonGroup> + ) +}; + +export const ToggleButtonStory: Story = { + render: () => ( + <Inline> + <ToggleButton variant="secondary">On</ToggleButton> + <ToggleButton variant="secondary"> + <SparklesIcon /> + <Text>Cutoff</Text> + </ToggleButton> + </Inline> + ) +}; + +export const ToggleIconButtonStory: Story = { + render: () => ( + <ToggleIconButton aria-label="Activate" variant="secondary" > + <SparklesIcon /> + </ToggleIconButton > + ) +}; + +export const ToggleButtonGroup: Story = { + render: () => ( + <RadioGroup gap={80} orientation="horizontal"> + <ToggleButton value="none" variant="secondary">None</ToggleButton> + <ToggleButton value="1" variant="secondary">1</ToggleButton> + <ToggleButton value="2" variant="secondary">2</ToggleButton> + <ToggleButton value="3" variant="secondary">3</ToggleButton> + <ToggleButton value="4+" variant="secondary">4+</ToggleButton> + </RadioGroup> + ) +}; + +export const Controlled: Story = { + render: () => { + const [isChecked, setIsChecked] = useState(false); + + const handleChange = useCallback((event, newValue) => { + setIsChecked(x => !x); + console.log(!newValue); + }, [setIsChecked]); + + return ( + <ToggleButton + checked={isChecked} + onChange={handleChange} + value="isActive" + variant={isChecked ? "primary" : "secondary"} + > + {isChecked ? "On" : "Off"} + </ToggleButton> + ); + } +}; diff --git a/packages/components/src/button/docs/ControlledToggleButton.sample.jsx b/packages/components/src/button/docs/ControlledToggleButton.sample.jsx deleted file mode 100644 index 7d7486a4e..000000000 --- a/packages/components/src/button/docs/ControlledToggleButton.sample.jsx +++ /dev/null @@ -1,19 +0,0 @@ -() => { - const [isChecked, setIsChecked] = useState(false); - - const handleChange = useCallback((event, newValue) => { - setIsChecked(x => !x); - console.log(!newValue); - }, [setIsChecked]); - - return ( - <ToggleButton - checked={isChecked} - value="isActive" - variant={isChecked ? "primary" : "secondary"} - onChange={handleChange} - > - {isChecked ? "On" : "Off"} - </ToggleButton> - ); -}; From 79c8fa5c511a4d2b2325a2f068b9074ff09b0c95 Mon Sep 17 00:00:00 2001 From: Francis Thibault <francis.thibault@gsoft.com> Date: Mon, 4 Nov 2024 12:36:19 -0500 Subject: [PATCH 46/95] added Modal / Disclosure-Arrow / CrossButton --- .../src/button/docs/CrossButton.mdx | 45 ++ .../src/button/docs/CrossButton.stories.mdx | 63 --- .../src/button/docs/CrossButton.stories.tsx | 36 ++ .../docs/ControlledDisclosure.sample.jsx | 25 -- .../docs/ControlledDisclosureArrow.sample.jsx | 15 - .../src/disclosure/docs/Disclosure.mdx | 72 ++++ .../disclosure/docs/Disclosure.stories.mdx | 93 ----- .../disclosure/docs/Disclosure.stories.tsx | 95 +++++ .../src/disclosure/docs/DisclosureArrow.mdx | 41 ++ .../docs/DisclosureArrow.stories.mdx | 56 --- .../docs/DisclosureArrow.stories.tsx | 49 +++ .../docs/DisclosureContext.sample.jsx | 25 -- .../src/modal/docs/ControlledModal.sample.jsx | 32 -- .../src/modal/docs/CustomTrigger.sample.jsx | 34 -- packages/components/src/modal/docs/Modal.mdx | 181 ++++++++ .../{Modal.stories.mdx => Modal.stories.tsx} | 395 +++++++++--------- .../src/modal/docs/ModalContext.sample.jsx | 31 -- .../modal/docs/ModalCustomClose.sample.jsx | 31 -- .../src/text-input/docs/TextInput.mdx | 26 +- 19 files changed, 725 insertions(+), 620 deletions(-) create mode 100644 packages/components/src/button/docs/CrossButton.mdx delete mode 100644 packages/components/src/button/docs/CrossButton.stories.mdx create mode 100644 packages/components/src/button/docs/CrossButton.stories.tsx delete mode 100644 packages/components/src/disclosure/docs/ControlledDisclosure.sample.jsx delete mode 100644 packages/components/src/disclosure/docs/ControlledDisclosureArrow.sample.jsx create mode 100644 packages/components/src/disclosure/docs/Disclosure.mdx delete mode 100644 packages/components/src/disclosure/docs/Disclosure.stories.mdx create mode 100644 packages/components/src/disclosure/docs/Disclosure.stories.tsx create mode 100644 packages/components/src/disclosure/docs/DisclosureArrow.mdx delete mode 100644 packages/components/src/disclosure/docs/DisclosureArrow.stories.mdx create mode 100644 packages/components/src/disclosure/docs/DisclosureArrow.stories.tsx delete mode 100644 packages/components/src/disclosure/docs/DisclosureContext.sample.jsx delete mode 100644 packages/components/src/modal/docs/ControlledModal.sample.jsx delete mode 100644 packages/components/src/modal/docs/CustomTrigger.sample.jsx create mode 100644 packages/components/src/modal/docs/Modal.mdx rename packages/components/src/modal/docs/{Modal.stories.mdx => Modal.stories.tsx} (53%) delete mode 100644 packages/components/src/modal/docs/ModalContext.sample.jsx delete mode 100644 packages/components/src/modal/docs/ModalCustomClose.sample.jsx diff --git a/packages/components/src/button/docs/CrossButton.mdx b/packages/components/src/button/docs/CrossButton.mdx new file mode 100644 index 000000000..148d3a8e1 --- /dev/null +++ b/packages/components/src/button/docs/CrossButton.mdx @@ -0,0 +1,45 @@ +import { ArgTypes, Meta, Canvas } from "@storybook/addon-docs"; +import { ComponentInfo, Tagline } from "@stories/components"; +import { InnerCrossButton } from "@components/button"; + +import * as CrossButtonStories from "./CrossButton.stories.tsx"; + +<Meta of={CrossButtonStories} /> + +# CrossButton + +<Tagline>A button with a cross icon to handle use cases like clearing a value or closing overlay components.</Tagline> + +<ComponentInfo + usage="import { CrossButton } from @workleap/orbiter-ui" + ariaPath="button" + githubPath="/packages/components/src/button/src" +/> + +## Usage + +### Default + +<Canvas of={CrossButtonStories.Default} /> + +### Disabled + +<Canvas of={CrossButtonStories.Disabled} /> + +### Size + +A cross button can vary in size. + +<Canvas of={CrossButtonStories.Size} /> + +## API + +### CrossButton + +<ComponentInfo + usage="import { CrossButton } from @workleap/orbiter-ui" + inherits={[InnerCrossButton.defaultElement, "styled-component"]} + compact +/> + +<ArgTypes of={InnerCrossButton} sort="alpha" /> diff --git a/packages/components/src/button/docs/CrossButton.stories.mdx b/packages/components/src/button/docs/CrossButton.stories.mdx deleted file mode 100644 index a5cd2be54..000000000 --- a/packages/components/src/button/docs/CrossButton.stories.mdx +++ /dev/null @@ -1,63 +0,0 @@ -import { ArgsTable, Meta, Story } from "@storybook/addon-docs"; -import { ComponentInfo, Preview, Tagline } from "@stories/components"; -import { CrossButton, InnerCrossButton } from "@components/button"; -import { Inline } from "@components/layout"; - -<Meta - title="Components/CrossButton" - id="cross-button" -/> - -# CrossButton - -<Tagline>A button with a cross icon to handle use cases like clearing a value or closing overlay components.</Tagline> - -<ComponentInfo - usage="import { CrossButton } from @workleap/orbiter-ui" - ariaPath="button" - githubPath="/packages/components/src/button/src" -/> - -## Usage - -### Default - -<Preview> - <Story name="default"> - <CrossButton aria-label="Clear" /> - </Story> -</Preview> - -### Disabled - -<Preview> - <Story name="disabled"> - <CrossButton disabled aria-label="Clear" /> - </Story> -</Preview> - -### Size - -A cross button can vary in size. - -<Preview> - <Story name="size"> - <Inline alignY="center"> - <CrossButton size="xs" aria-label="Clear" /> - <CrossButton size="sm" aria-label="Clear" /> - <CrossButton aria-label="Clear" /> - </Inline> - </Story> -</Preview> - -## API - -### CrossButton - -<ComponentInfo - usage="import { CrossButton } from @workleap/orbiter-ui" - inherits={[InnerCrossButton.defaultElement, "styled-component"]} - compact -/> - -<ArgsTable of={InnerCrossButton} sort="alpha" /> diff --git a/packages/components/src/button/docs/CrossButton.stories.tsx b/packages/components/src/button/docs/CrossButton.stories.tsx new file mode 100644 index 000000000..3c4f3f7bc --- /dev/null +++ b/packages/components/src/button/docs/CrossButton.stories.tsx @@ -0,0 +1,36 @@ +import { CrossButton } from "@components/button"; +import { Inline } from "@components/layout"; + +import { Meta, StoryObj } from "@storybook/react"; + +const meta = { + title: "Components/CrossButton", + component: CrossButton, + id: "cross-button" +} as Meta<typeof CrossButton>; + +export default meta; + +type CrossButtonStory = StoryObj<typeof meta>; + +export const Default: CrossButtonStory = { + render: () => ( + <CrossButton aria-label="Clear" /> + ) +}; + +export const Disabled: CrossButtonStory = { + render: () => ( + <CrossButton aria-label="Clear" disabled /> + ) +}; + +export const Size: CrossButtonStory = { + render: () => ( + <Inline alignY="center"> + <CrossButton aria-label="Clear" size="xs" /> + <CrossButton aria-label="Clear" size="sm" /> + <CrossButton aria-label="Clear" /> + </Inline> + ) +}; diff --git a/packages/components/src/disclosure/docs/ControlledDisclosure.sample.jsx b/packages/components/src/disclosure/docs/ControlledDisclosure.sample.jsx deleted file mode 100644 index 17e581924..000000000 --- a/packages/components/src/disclosure/docs/ControlledDisclosure.sample.jsx +++ /dev/null @@ -1,25 +0,0 @@ -() => { - const [isOpen, setIsOpen] = useState(false); - - const handleOpenChange = useCallback((event, newValue) => { - setIsOpen(newValue); - console.log(newValue); - }, [setIsOpen]); - - return ( - <Disclosure - open={isOpen} - onOpenChange={handleOpenChange} - > - <TextLinkAsButton> - <Text>EVE Online</Text> - <AngleDownIcon transform={`rotate(${isOpen ? 0 : 180}deg)`} /> - </TextLinkAsButton> - <Div> - Eve Online is a space-based, persistent world massively multiplayer online role-playing game (MMORPG) developed and published by CCP Games. - Players of Eve Online can participate in a number of in-game professions and activities, including mining, piracy, manufacturing, trading, exploration, - and combat (both player versus environment and player versus player). The game contains a total of 7,800 star systems that can be visited by players. - </Div> - </Disclosure> - ); -}; diff --git a/packages/components/src/disclosure/docs/ControlledDisclosureArrow.sample.jsx b/packages/components/src/disclosure/docs/ControlledDisclosureArrow.sample.jsx deleted file mode 100644 index 87232d3e3..000000000 --- a/packages/components/src/disclosure/docs/ControlledDisclosureArrow.sample.jsx +++ /dev/null @@ -1,15 +0,0 @@ -() => { - const [isOpen, setIsOpen] = useState(false); - - const handleClick = useCallback(() => { - setIsOpen(x => !x); - console.log(!isOpen); - }, [isOpen, setIsOpen]); - - return ( - <TextLinkAsButton onClick={handleClick}> - <Text>EVE Online</Text> - <DisclosureArrow open={isOpen} /> - </TextLinkAsButton> - ); -}; diff --git a/packages/components/src/disclosure/docs/Disclosure.mdx b/packages/components/src/disclosure/docs/Disclosure.mdx new file mode 100644 index 000000000..d3f516d14 --- /dev/null +++ b/packages/components/src/disclosure/docs/Disclosure.mdx @@ -0,0 +1,72 @@ +import { ArgTypes, Meta, Canvas } from "@storybook/addon-docs"; +import { ComponentInfo, Tagline } from "@stories/components"; +import { InnerDisclosure } from "@components/disclosure"; +import { InnerContent } from "@components/placeholders"; + +import * as DisclosureStories from "./Disclosure.stories.tsx"; + +<Meta of={DisclosureStories} /> + +# Disclosure + +<Tagline>The disclosure component is used to create regions of content that can expand/collapse with a simple animation.</Tagline> + +<ComponentInfo + usage={"import { Disclosure, Content, DisclosureContext, useDisclosureContext } from \"@workleap/orbiter-ui\";"} + ariaPath="disclosure" + githubPath="/packages/components/src/disclosure/src" +/> + +## Guidelines + +### Accessibility + +- The disclosure's trigger that shows and hides the content must be a [button element](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/button) or have the [role button](https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Roles/button_role). + +## Usage + +### Default + +A default disclosure using a button. + +<Canvas of={DisclosureStories.Default} /> + +### Disclosure Context + +A disclosure component can update his content based on the `isOpen` value of `useDisclosureContext` or access a `close` function. + +<Canvas of={DisclosureStories.Context} /> + +### Disclosure arrow + +You can use a [disclosure arrow](?path=/docs/disclosure-arrow--context) component to hint that activating the button will display additional content. + +<Canvas of={DisclosureStories.DisclosureArrowStory} /> + +### Controlled + +A disclosure component can handle `open` state in controlled mode. + +<Canvas of={DisclosureStories.Condrolled} /> + +## API + +### Disclosure + +<ComponentInfo + usage={"import { Disclosure } from \"@workleap/orbiter-ui\";"} + inherits={[InnerDisclosure.defaultElement, "styled-component"]} + compact +/> + +<ArgTypes of={InnerDisclosure} sort="alpha" /> + +### Content + +<ComponentInfo + usage={"import { Content } from \"@workleap/orbiter-ui\";"} + inherits={[InnerContent.defaultElement, "styled-component"]} + compact +/> + +<ArgTypes of={InnerContent} sort="alpha" /> diff --git a/packages/components/src/disclosure/docs/Disclosure.stories.mdx b/packages/components/src/disclosure/docs/Disclosure.stories.mdx deleted file mode 100644 index 8b0d415d9..000000000 --- a/packages/components/src/disclosure/docs/Disclosure.stories.mdx +++ /dev/null @@ -1,93 +0,0 @@ -import { ArgsTable, Meta, Story } from "@storybook/addon-docs"; -import { Button } from "@components/button"; -import { ComponentInfo, Preview, Tagline } from "@stories/components"; -import { Disclosure, DisclosureArrow, InnerDisclosure } from "@components/disclosure"; -import { Div } from "@components/html"; -import { InnerContent } from "@components/placeholders"; -import { Text } from "@components/typography"; - -<Meta - title="Components/Disclosure" - id="disclosure" -/> - -# Disclosure - -<Tagline>The disclosure component is used to create regions of content that can expand/collapse with a simple animation.</Tagline> - -<ComponentInfo - usage={"import { Disclosure, Content, DisclosureContext, useDisclosureContext } from \"@workleap/orbiter-ui\";"} - ariaPath="disclosure" - githubPath="/packages/components/src/disclosure/src" -/> - -## Guidelines - -### Accessibility - -- The disclosure's trigger that shows and hides the content must be a [button element](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/button) or have the [role button](https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Roles/button_role). - -## Usage - -### Default - -A default disclosure using a button. - -<Preview> - <Story name="default"> - <Disclosure> - <Button variant="secondary">EVE Online</Button> - <Div>Eve Online is a space-based, persistent world massively multiplayer online role-playing game (MMORPG) developed and published by CCP Games. Players of Eve Online can participate in a number of in-game professions and activities, including mining, piracy, manufacturing, trading, exploration, and combat (both player versus environment and player versus player). The game contains a total of 7,800 star systems that can be visited by players.</Div> - </Disclosure> - </Story> -</Preview> - -### Disclosure Context - -A disclosure component can update his content based on the `isOpen` value of `useDisclosureContext` or access a `close` function. - -<Preview filePath="/disclosure/docs/DisclosureContext" /> - -### Disclosure arrow - -You can use a [disclosure arrow](?path=/docs/disclosure-arrow--context) component to hint that activating the button will display additional content. - -<Preview> - <Story name="disclosure arrow"> - <Disclosure> - <Button variant="secondary"> - <Text>EVE Online</Text> - <DisclosureArrow slot="end-icon" /> - </Button> - <Div>Eve Online is a space-based, persistent world massively multiplayer online role-playing game (MMORPG) developed and published by CCP Games. Players of Eve Online can participate in a number of in-game professions and activities, including mining, piracy, manufacturing, trading, exploration, and combat (both player versus environment and player versus player). The game contains a total of 7,800 star systems that can be visited by players.</Div> - </Disclosure> - </Story> -</Preview> - -### Controlled - -A disclosure component can handle `open` state in controlled mode. - -<Preview filePath="/disclosure/docs/ControlledDisclosure" /> - -## API - -### Disclosure - -<ComponentInfo - usage={"import { Disclosure } from \"@workleap/orbiter-ui\";"} - inherits={[InnerDisclosure.defaultElement, "styled-component"]} - compact -/> - -<ArgsTable of={InnerDisclosure} sort="alpha" /> - -### Content - -<ComponentInfo - usage={"import { Content } from \"@workleap/orbiter-ui\";"} - inherits={[InnerContent.defaultElement, "styled-component"]} - compact -/> - -<ArgsTable of={InnerContent} sort="alpha" /> diff --git a/packages/components/src/disclosure/docs/Disclosure.stories.tsx b/packages/components/src/disclosure/docs/Disclosure.stories.tsx new file mode 100644 index 000000000..527dd74fb --- /dev/null +++ b/packages/components/src/disclosure/docs/Disclosure.stories.tsx @@ -0,0 +1,95 @@ +import { Button } from "@components/button"; +import { Disclosure, DisclosureArrow, useDisclosureContext } from "@components/disclosure"; +import { Div } from "@components/html"; +import { Text } from "@components/typography"; +import { useCallback, useState } from "react"; + +import { Meta, StoryObj } from "@storybook/react"; + +const meta = { + title: "Components/Disclosure", + component: Disclosure, + id: "disclosure" +} as Meta<typeof Disclosure>; + +export default meta; + +type DisclosureStory = StoryObj<typeof meta>; + +export const Default: DisclosureStory = { + render: () => ( + <Disclosure> + <Button variant="secondary">EVE Online</Button> + <Div>Eve Online is a space-based, persistent world massively multiplayer online role-playing game (MMORPG) developed and published by CCP Games. Players of Eve Online can participate in a number of in-game professions and activities, including mining, piracy, manufacturing, trading, exploration, and combat (both player versus environment and player versus player). The game contains a total of 7,800 star systems that can be visited by players.</Div> + </Disclosure> + ) +}; + +export const Context: DisclosureStory = { + render: () => { + function HighlightedTrigger({ children, ...rest }) { + const { isOpen } = useDisclosureContext(); + + return ( + <Button + {...rest} + variant={isOpen ? "primary" : "secondary"} + > + {children} + </Button> + ); + } + + return ( + <Disclosure> + <HighlightedTrigger>EVE Online</HighlightedTrigger> + <Div> + Eve Online is a space-based, persistent world massively multiplayer online role-playing game (MMORPG) developed and published by CCP Games. + Players of Eve Online can participate in a number of in-game professions and activities, including mining, piracy, manufacturing, trading, + exploration, and combat (both player versus environment and player versus player). The game contains a total of 7,800 star systems that can be visited by players. + </Div> + </Disclosure> + ); + } +}; + +export const DisclosureArrowStory: DisclosureStory = { + render: () => ( + <Disclosure> + <Button variant="secondary"> + <Text>EVE Online</Text> + <DisclosureArrow slot="end-icon" /> + </Button> + <Div>Eve Online is a space-based, persistent world massively multiplayer online role-playing game (MMORPG) developed and published by CCP Games. Players of Eve Online can participate in a number of in-game professions and activities, including mining, piracy, manufacturing, trading, exploration, and combat (both player versus environment and player versus player). The game contains a total of 7,800 star systems that can be visited by players.</Div> + </Disclosure> + ) +}; + +/* eslint-disable react-hooks/rules-of-hooks */ +export const Controlled: DisclosureStory = { + render: () => { + const [isOpen, setIsOpen] = useState(false); + + const handleOpenChange = useCallback((event, newValue) => { + setIsOpen(newValue); + console.log(newValue); + }, [setIsOpen]); + + return ( + <Disclosure + onOpenChange={handleOpenChange} + open={isOpen} + > + <TextLinkAsButton> + <Text>EVE Online</Text> + <AngleDownIcon transform={`rotate(${isOpen ? 0 : 180}deg)`} /> + </TextLinkAsButton> + <Div> + Eve Online is a space-based, persistent world massively multiplayer online role-playing game (MMORPG) developed and published by CCP Games. + Players of Eve Online can participate in a number of in-game professions and activities, including mining, piracy, manufacturing, trading, exploration, + and combat (both player versus environment and player versus player). The game contains a total of 7,800 star systems that can be visited by players. + </Div> + </Disclosure> + ); + } +}; diff --git a/packages/components/src/disclosure/docs/DisclosureArrow.mdx b/packages/components/src/disclosure/docs/DisclosureArrow.mdx new file mode 100644 index 000000000..97e3f9d8f --- /dev/null +++ b/packages/components/src/disclosure/docs/DisclosureArrow.mdx @@ -0,0 +1,41 @@ +import { ArgTypes, Meta, Canvas } from "@storybook/addon-docs"; +import { ComponentInfo, Tagline } from "@stories/components"; +import { InnerDisclosureArrow } from "@components/disclosure"; + +import * as DisclosureArrowStories from "./DisclosureArrow.stories.tsx"; + +<Meta of={DisclosureArrowStories} /> + +# DisclosureArrow + +<Tagline>A top / bottom pointing arrow to hint that activating the trigger will display additional content.</Tagline> + +<ComponentInfo + usage={"import { DisclosureArrow } from \"@workleap/orbiter-ui\";"} + githubPath="/packages/components/src/disclosure/src" +/> + +## Usage + +### Disclosure context + +When a disclosure arrow is nested in a component implementing a `DisclosureContext`, the arrow will automatically change direction when `isOpen` state change. + +<Canvas of={DisclosureArrowStories.Default} /> + +### Controlled + +A disclosure arrow can handle `open` state in controlled mode. + +<Canvas of={DisclosureArrowStories.Controlled} /> +## API + +### DisclosureArrow + +<ComponentInfo + usage={"import { DisclosureArrow } from \"@workleap/orbiter-ui\";"} + inherits={[InnerDisclosureArrow.defaultElement, "styled-component"]} + compact +/> + +<ArgTypes of={InnerDisclosureArrow} sort="alpha" /> diff --git a/packages/components/src/disclosure/docs/DisclosureArrow.stories.mdx b/packages/components/src/disclosure/docs/DisclosureArrow.stories.mdx deleted file mode 100644 index a9c1ef835..000000000 --- a/packages/components/src/disclosure/docs/DisclosureArrow.stories.mdx +++ /dev/null @@ -1,56 +0,0 @@ -import { ArgsTable, Meta, Story } from "@storybook/addon-docs"; -import { Button } from "@components/button"; -import { ComponentInfo, Preview, Tagline } from "@stories/components"; -import { Disclosure, DisclosureArrow, InnerDisclosureArrow } from "@components/disclosure"; -import { Div } from "@components/html"; -import { Text } from "@components/typography"; - -<Meta - title="Components/DisclosureArrow" - id="disclosure-arrow" -/> - -# DisclosureArrow - -<Tagline>A top / bottom pointing arrow to hint that activating the trigger will display additional content.</Tagline> - -<ComponentInfo - usage={"import { DisclosureArrow } from \"@workleap/orbiter-ui\";"} - githubPath="/packages/components/src/disclosure/src" -/> - -## Usage - -### Disclosure context - -When a disclosure arrow is nested in a component implementing a `DisclosureContext`, the arrow will automatically change direction when `isOpen` state change. - -<Preview> - <Story name="context"> - <Disclosure> - <Button variant="secondary"> - <Text>EVE Online</Text> - <DisclosureArrow slot="end-icon" /> - </Button> - <Div>Eve Online is a space-based, persistent world massively multiplayer online role-playing game (MMORPG) developed and published by CCP Games. Players of Eve Online can participate in a number of in-game professions and activities, including mining, piracy, manufacturing, trading, exploration, and combat (both player versus environment and player versus player). The game contains a total of 7,800 star systems that can be visited by players.</Div> - </Disclosure> - </Story> -</Preview> - -### Controlled - -A disclosure arrow can handle `open` state in controlled mode. - -<Preview filePath="/disclosure/docs/ControlledDisclosureArrow" /> - -## API - -### DisclosureArrow - -<ComponentInfo - usage={"import { DisclosureArrow } from \"@workleap/orbiter-ui\";"} - inherits={[InnerDisclosureArrow.defaultElement, "styled-component"]} - compact -/> - -<ArgsTable of={InnerDisclosureArrow} sort="alpha" /> diff --git a/packages/components/src/disclosure/docs/DisclosureArrow.stories.tsx b/packages/components/src/disclosure/docs/DisclosureArrow.stories.tsx new file mode 100644 index 000000000..d95e1da2f --- /dev/null +++ b/packages/components/src/disclosure/docs/DisclosureArrow.stories.tsx @@ -0,0 +1,49 @@ +import { Button } from "@components/button"; +import { Disclosure, DisclosureArrow } from "@components/disclosure"; +import { Div } from "@components/html"; +import { Text } from "@components/typography"; +import { TextLinkAsButton } from "@components/link"; +import { useCallback, useState } from "react"; + +import { Meta, StoryObj } from "@storybook/react"; + +const meta = { + title: "Components/DisclosureArrow", + component: DisclosureArrow, + id: "disclosure-arrow" +} as Meta<typeof DisclosureArrow>; + +export default meta; + +type DisclosureArrowStory = StoryObj<typeof meta>; + +export const Default: DisclosureArrowStory = { + render: () => ( + <Disclosure> + <Button variant="secondary"> + <Text>EVE Online</Text> + <DisclosureArrow slot="end-icon" /> + </Button> + <Div>Eve Online is a space-based, persistent world massively multiplayer online role-playing game (MMORPG) developed and published by CCP Games. Players of Eve Online can participate in a number of in-game professions and activities, including mining, piracy, manufacturing, trading, exploration, and combat (both player versus environment and player versus player). The game contains a total of 7,800 star systems that can be visited by players.</Div> + </Disclosure> + ) +}; + +/* eslint-disable react-hooks/rules-of-hooks */ +export const Controlled: DisclosureArrowStory = { + render: () => { + const [isOpen, setIsOpen] = useState(false); + + const handleClick = useCallback(() => { + setIsOpen(x => !x); + console.log(!isOpen); + }, [isOpen, setIsOpen]); + + return ( + <TextLinkAsButton onClick={handleClick}> + <Text>EVE Online</Text> + <DisclosureArrow open={isOpen} /> + </TextLinkAsButton> + ); + } +}; diff --git a/packages/components/src/disclosure/docs/DisclosureContext.sample.jsx b/packages/components/src/disclosure/docs/DisclosureContext.sample.jsx deleted file mode 100644 index b2d61599d..000000000 --- a/packages/components/src/disclosure/docs/DisclosureContext.sample.jsx +++ /dev/null @@ -1,25 +0,0 @@ -function HighlightedTrigger({ children, ...rest }) { - const { isOpen } = useDisclosureContext(); - - return ( - <Button - {...rest} - variant={isOpen ? "primary" : "secondary"} - > - {children} - </Button> - ); -} - -render(() => { - return ( - <Disclosure> - <HighlightedTrigger>EVE Online</HighlightedTrigger> - <Div> - Eve Online is a space-based, persistent world massively multiplayer online role-playing game (MMORPG) developed and published by CCP Games. - Players of Eve Online can participate in a number of in-game professions and activities, including mining, piracy, manufacturing, trading, - exploration, and combat (both player versus environment and player versus player). The game contains a total of 7,800 star systems that can be visited by players. - </Div> - </Disclosure> - ); -}); diff --git a/packages/components/src/modal/docs/ControlledModal.sample.jsx b/packages/components/src/modal/docs/ControlledModal.sample.jsx deleted file mode 100644 index bc3baf68e..000000000 --- a/packages/components/src/modal/docs/ControlledModal.sample.jsx +++ /dev/null @@ -1,32 +0,0 @@ -() => { - const [isOpen, setIsOpen] = useState(false); - - const handleOpenChange = useCallback((event, newValue) => { - setIsOpen(newValue); - console.log(newValue); - }, [setIsOpen]); - - const handleClose = useCallback(() => { - setIsOpen(false); - }, [setIsOpen]); - - return ( - <ModalTrigger - open={isOpen} - onOpenChange={handleOpenChange} - > - <Button variant="secondary">Open</Button> - <Modal> - <Heading>Apollo 11 movie</Heading> - <Content> - <Paragraph>Apollo 11 is a 2019 American documentary film edited, produced and directed by Todd Douglas Miller. It focuses on the 1969 Apollo 11 mission, the first spaceflight from which men walked on the Moon.</Paragraph> - <Paragraph> - The film consists solely of archival footage, including 70 mm film previously unreleased to the public, and does not feature narration, interviews or modern recreations. - The Saturn V rocket, Apollo crew consisting of Buzz Aldrin, Neil Armstrong, and Michael Collins, and Apollo program Earth-based mission operations engineers are prominently featured in the film. - </Paragraph> - </Content> - <Button onClick={handleClose} variant="secondary">Close</Button> - </Modal> - </ModalTrigger> - ); -}; diff --git a/packages/components/src/modal/docs/CustomTrigger.sample.jsx b/packages/components/src/modal/docs/CustomTrigger.sample.jsx deleted file mode 100644 index 93a27e44b..000000000 --- a/packages/components/src/modal/docs/CustomTrigger.sample.jsx +++ /dev/null @@ -1,34 +0,0 @@ -() => { - const [isOpen, setIsOpen] = useState(false); - - const handleTriggerClick = useCallback(() => { - setIsOpen(true); - }, [setIsOpen]); - - const handleModalClose = useCallback(() => { - setIsOpen(false); - }, [setIsOpen]); - - return ( - <> - <Button - onClick={handleTriggerClick} - variant="secondary" - > - Open - </Button> - <Overlay show={isOpen}> - <Modal onClose={handleModalClose}> - <Heading>Apollo 11 movie</Heading> - <Content> - <Paragraph>Apollo 11 is a 2019 American documentary film edited, produced and directed by Todd Douglas Miller. It focuses on the 1969 Apollo 11 mission, the first spaceflight from which men walked on the Moon.</Paragraph> - <Paragraph> - The film consists solely of archival footage, including 70 mm film previously unreleased to the public, and does not feature narration, interviews or modern recreations. The Saturn V rocket, Apollo crew consisting - of Buzz Aldrin, Neil Armstrong, and Michael Collins, and Apollo program Earth-based mission operations engineers are prominently featured in the film. - </Paragraph> - </Content> - </Modal> - </Overlay> - </> - ); -}; diff --git a/packages/components/src/modal/docs/Modal.mdx b/packages/components/src/modal/docs/Modal.mdx new file mode 100644 index 000000000..d539b319a --- /dev/null +++ b/packages/components/src/modal/docs/Modal.mdx @@ -0,0 +1,181 @@ +import { ArgTypes, Meta, C, ArgTypesanvas } from "@storybook/addon-docs"; +import { ComponentInfo, Tagline } from "@stories/components"; +import { InnerContent, InnerFooter, InnerHeader } from "@components/placeholders"; +import { InnerModal, InnerModalTrigger } from "@components/modal"; + +import * as ModalStories from "./Modal.stories.tsx" + +<Meta of={ModalStories} /> + +# Modal + +<Tagline>A modal focus the user’s attention exclusively on one task or piece of information via a dialog that sits on top of the page content.</Tagline> + +<ComponentInfo + usage={"import { Modal, ModalTrigger, Heading, Header, Content, Footer, ModalTriggerContext, useModalTriggerContext } from \"@workleap/orbiter-ui\";"} + ariaPath="dialogmodal" + githubPath="/packages/components/src/modal/src" +/> + +## Guidelines + +### When to use + +- To let a user interact with the application without jumping to a new page and interrupting the user's workflow. + +### Content + +- Provide enough information for the user to be able to take a decision in the spot, or a way to come back to the choice later. +- Not use complex layouts, modals are not pages. Consider using a page when a modal layout is getting too complex. +- Not rely on images or illustrations in order to provide essential information to the user. +- Not ask the user a question right above the button(s). + +### Accessibility + +- Make sure to autofocus on the first interactive element in the modal, except if it’s a destructive action as it could trigger unwanted behavior. +- Prioritize dismissible modals whenever possible in order to give control to the user. +- Use modals sparingly as it disrupt the user's flow. + +### Modal vs Alert + +If your modal has no way to be dismissed and requires the user to make a choice use an [Alert](?path=/docs/alert--default-story). + +## Usage + +### Default + +A modal must have an heading and a content. + +<Canvas of={ModalStories.Default} /> + +### Image + +A modal can have a side banner [image](?path=/story/chromatic-image--default). Make sure the image has no essential information as it could be cropped in mobile view. Images should not prevent a user from seeing the close button, be conscious of this. + +<Canvas of={ModalStories.ImageStory} /> + +Or an [illustration](?path=/docs/illustration--horizontal). Prefer 1:1 ratio for illustrations to prevent them to render a Modal too high on small resolutions, alternatively in mobile use another illustration that has a 1:1 ratio. + +<Canvas of={ModalStories.IllustrationStory} /> + +### Choice + +A modal can offer a choice between 2 options. Keep the copy not too long in order to help the user quickly make his choice. + +<Canvas of={ModalStories.Choice} /> + +### Header + +Use an header to provide additional information usually in the form of a link or a tooltip that provides more context to the task at hand. Links should open in a new window. + +<Canvas of={ModalStories.HeaderStory} /> + +### Footer + +Use a footer to provide trivial information about content present in the modal, like a step : 1/3. + +<Canvas of={ModalStories.FooterStory} /> + +### Buttons + +A modal can have a single [button](?path=/docs/button--default-story). Use a primary [button](?path=/docs/button--default-story) to provide the main action. + +<Canvas of={ModalStories.ButtonStory} /> + +Or a [group of button](?path=/docs/button--default-story#button-group). A maximum of 3 buttons are allowed in a modal, when necessary. The secondary and tertiary actions should be using a secondary variant. + +<Canvas of={ModalStories.ButtonGroupStory} /> + +### Modal context + +A modal `isOpen` state or `close` function can be retrieved from `useModalTriggerContext`. + +<Canvas of={ModalStories.Context} /> + +### Dismissable + +By default, a modal will dismiss on outside interactions and `esc` keydown. However, in some cases, you might want to force the user to explicitly dismiss the modal with a targeted call to action. This is what the dismissable prop is for. + +You can set the `dismissable` prop to `false` and render a call to action which will manually dismiss the popover by calling a `close` function retrieved from the `useModalTriggerContext` hook. + +> Inlining the call to `useModalTriggerContext` in `ModalTrigger` will not work. + +<Canvas of={ModalStories.CustomClose} /> + +### Controlled + +The `open` state can be handled in controlled mode. + +<Canvas of={ModalStories.Controlled} /> + +### Custom trigger + +You don't have to use a `ModalTrigger` component if it doesn't fit your needs. A modal component can be used on it's own with any custom trigger which follow a few rules: + +- The custom trigger provide a valid `<DialogTriggerContext>` with a `close` function. +- The custom trigger is responsible of show/hide the modal. This is usually done in combination with an [overlay](?path=/docs/overlay--page) component. + +<Canvas of={ModalStories.CustomTrigger} /> + +## API + +### ModalTrigger + +<ComponentInfo + usage={"import { ModalTrigger } from \"@workleap/orbiter-ui\";"} + inherits={[InnerModalTrigger.defaultElement, "styled-component"]} + compact +/> + +<ArgTypes of={InnerModalTrigger} sort="alpha" /> + +### Modal + +<ComponentInfo + usage={"import { Modal } from \"@workleap/orbiter-ui\";"} + slots={["image", "illustration", "heading", "header", "content", "footer", "button", "button-group"]} + inherits={[InnerModal.defaultElement, "styled-component"]} + compact +/> + +<ArgTypes of={InnerModal} sort="alpha" /> + +### Heading + +<ComponentInfo + usage={"import { Heading } from \"@workleap/orbiter-ui\";"} + inherits={[InnerHeading.defaultElement, "styled-component"]} + compact +/> + +<ArgTypes of={InnerHeading} sort="alpha" /> + +### Header + +<ComponentInfo + usage={"import { Header } from \"@workleap/orbiter-ui\";"} + inherits={[InnerHeader.defaultElement, "styled-component"]} + compact +/> + +<ArgTypes of={InnerHeader} sort="alpha" /> + +### Content + +<ComponentInfo + usage={"import { Content } from \"@workleap/orbiter-ui\";"} + inherits={[InnerContent.defaultElement, "styled-component"]} + compact +/> + +<ArgTypes of={InnerContent} sort="alpha" /> + +### Footer + +<ComponentInfo + usage={"import { Footer } from \"@workleap/orbiter-ui\";"} + inherits={[InnerFooter.defaultElement, "styled-component"]} + compact +/> + +<ArgTypes of={InnerFooter} sort="alpha" /> diff --git a/packages/components/src/modal/docs/Modal.stories.mdx b/packages/components/src/modal/docs/Modal.stories.tsx similarity index 53% rename from packages/components/src/modal/docs/Modal.stories.mdx rename to packages/components/src/modal/docs/Modal.stories.tsx index e1efe9a15..edc4beeb9 100644 --- a/packages/components/src/modal/docs/Modal.stories.mdx +++ b/packages/components/src/modal/docs/Modal.stories.tsx @@ -1,62 +1,29 @@ -import { ArgsTable, Meta, Story } from "@storybook/addon-docs"; -import { Button } from "@components/button"; -import { ButtonGroup } from "@components/button"; +import { Button, ButtonGroup } from "@components/button"; import { Card } from "@components/card"; -import { ComponentInfo, Preview, Tagline } from "@stories/components"; -import { Content, Footer, Header, InnerContent, InnerFooter, InnerHeader } from "@components/placeholders"; +import { Overlay } from "@components/overlay"; +import { Content, Footer, Header } from "@components/placeholders"; import { ET, Planet, SpacePortrait, SpacePortraitHorizontal, TheMartian } from "./assets"; -import { Heading, InnerHeading, Paragraph } from "@components/typography"; +import { Heading, Paragraph } from "@components/typography"; import { Illustration } from "@components/illustration"; import { Image } from "@components/image"; -import { InnerModal, InnerModalTrigger, Modal, ModalTrigger } from "@components/modal"; +import { Modal, ModalTrigger, useModalTriggerContext } from "@components/modal"; import { TextLink } from "@components/link"; +import { forwardRef, useCallback, useState } from "react"; -<Meta - title="Components/Modal" - id="modal" -/> +import { Meta, StoryObj } from "@storybook/react"; -# Modal +const meta = { + title: "Components/Modal", + component: Modal, + id: "modal" +} as Meta<typeof Modal>; -<Tagline>A modal focus the user’s attention exclusively on one task or piece of information via a dialog that sits on top of the page content.</Tagline> +export default meta; -<ComponentInfo - usage={"import { Modal, ModalTrigger, Heading, Header, Content, Footer, ModalTriggerContext, useModalTriggerContext } from \"@workleap/orbiter-ui\";"} - ariaPath="dialogmodal" - githubPath="/packages/components/src/modal/src" -/> +type ModalStory = StoryObj<typeof meta>; -## Guidelines - -### When to use - -- To let a user interact with the application without jumping to a new page and interrupting the user's workflow. - -### Content - -- Provide enough information for the user to be able to take a decision in the spot, or a way to come back to the choice later. -- Not use complex layouts, modals are not pages. Consider using a page when a modal layout is getting too complex. -- Not rely on images or illustrations in order to provide essential information to the user. -- Not ask the user a question right above the button(s). - -### Accessibility - -- Make sure to autofocus on the first interactive element in the modal, except if it’s a destructive action as it could trigger unwanted behavior. -- Prioritize dismissible modals whenever possible in order to give control to the user. -- Use modals sparingly as it disrupt the user's flow. - -### Modal vs Alert - -If your modal has no way to be dismissed and requires the user to make a choice use an [Alert](?path=/docs/alert--default-story). - -## Usage - -### Default - -A modal must have an heading and a content. - -<Preview> - <Story name="default"> +export const Default: ModalStory = { + render: () => ( <ModalTrigger> <Button variant="secondary">Open</Button> <Modal> @@ -67,19 +34,15 @@ A modal must have an heading and a content. </Content> </Modal> </ModalTrigger> - </Story> -</Preview> + ) +}; -### Image - -A modal can have a side banner [image](?path=/story/chromatic-image--default). Make sure the image has no essential information as it could be cropped in mobile view. Images should not prevent a user from seeing the close button, be conscious of this. - -<Preview scope={{ SpacePortrait, SpacePortraitHorizontal }}> - <Story name="image"> +export const ModalStory: ModalStory = { + render: () => ( <ModalTrigger> <Button variant="secondary">Open</Button> <Modal> - <Image src={{ base: SpacePortraitHorizontal, sm: SpacePortrait }} alt="City over clouds" /> + <Image alt="City over clouds" src={{ base: SpacePortraitHorizontal, sm: SpacePortrait }} /> <Heading>Cloud City</Heading> <Content> <Paragraph size="sm">Cloud City was a completely man-made tibanna gas mining colony staff hovering over the gas giant Bespin, occupied by millions of workers, tourists and support staff. Located in Bespin's Life Zone, the station had no need for airlocks or life support systems, with the atmosphere comprised mostly of oxygen and acceptable levels of gravity and temperature.</Paragraph> @@ -87,18 +50,16 @@ A modal can have a side banner [image](?path=/story/chromatic-image--default). M </Content> </Modal> </ModalTrigger> - </Story> -</Preview> - -Or an [illustration](?path=/docs/illustration--horizontal). Prefer 1:1 ratio for illustrations to prevent them to render a Modal too high on small resolutions, alternatively in mobile use another illustration that has a 1:1 ratio. + ) +}; -<Preview scope={{ Planet }}> - <Story name="illustration centered"> +export const IllustrationStory: ModalStory = { + render: () => ( <ModalTrigger> <Button variant="secondary">Open</Button> <Modal> <Illustration backgroundColor="primary-weak"> - <Image src={Planet} alt="Planet Logo" /> + <Image alt="Planet Logo" src={Planet} /> </Illustration> <Heading>Cloud City</Heading> <Content> @@ -107,28 +68,24 @@ Or an [illustration](?path=/docs/illustration--horizontal). Prefer 1:1 ratio for </Content> </Modal> </ModalTrigger> - </Story> -</Preview> + ) +}; -### Choice - -A modal can offer a choice between 2 options. Keep the copy not too long in order to help the user quickly make his choice. - -<Preview scope={{ ET, TheMartian }}> - <Story name="choice"> +export const Choice: ModalStory = { + render: () => ( <ModalTrigger> <Button variant="secondary">Open</Button> <Modal> <Heading>Which of the following movie is the greatest space movie?</Heading> <Content> <Card> - <Image src={ET} alt="E.T. poster" /> + <Image alt="E.T. poster" src={ET} /> <Heading>E.T.</Heading> <Content>"E.T. phone home,"" mutters the titular character as he attempts to contact his home planet, and audiences around the world fell in love. The timeless story of an intimate friendship between a boy and his alien friend, “E.T.” has resonated with generations of families, and is widely considered one of the greatest films of all time.</Content> <Button variant="secondary" >Choose</Button> </Card> <Card> - <Image src={TheMartian} alt="The Martian poster" /> + <Image alt="The Martian poster" src={TheMartian} /> <Heading>The Martian</Heading> <Content>Based on the popular novel, “The Martian” is about mankind joining for a singular mission: save astronaut Mark Watney, who was abandoned on Mars after the rest of his crew made an emergency exit during a dust storm.</Content> <Button variant="secondary" >Choose</Button> @@ -136,21 +93,17 @@ A modal can offer a choice between 2 options. Keep the copy not too long in orde </Content> </Modal> </ModalTrigger> - </Story> -</Preview> - -### Header - -Use an header to provide additional information usually in the form of a link or a tooltip that provides more context to the task at hand. Links should open in a new window. + ) +}; -<Preview> - <Story name="header"> +export const HeaderStory: ModalStory = { + render: () => ( <ModalTrigger> <Button variant="secondary">Open</Button> <Modal> <Heading>Cloud City</Heading> <Header> - <TextLink href="https://en.wikipedia.org/wiki/Floating_cities_and_islands_in_fiction" external size="sm">Wikipedia</TextLink> + <TextLink external href="https://en.wikipedia.org/wiki/Floating_cities_and_islands_in_fiction" size="sm">Wikipedia</TextLink> </Header> <Content> <Paragraph size="sm">Cloud City was a completely man-made tibanna gas mining colony staff hovering over the gas giant Bespin, occupied by millions of workers, tourists and support staff. Located in Bespin's Life Zone, the station had no need for airlocks or life support systems, with the atmosphere comprised mostly of oxygen and acceptable levels of gravity and temperature.</Paragraph> @@ -158,15 +111,11 @@ Use an header to provide additional information usually in the form of a link or </Content> </Modal> </ModalTrigger> - </Story> -</Preview> + ) +}; -### Footer - -Use a footer to provide trivial information about content present in the modal, like a step : 1/3. - -<Preview> - <Story name="footer"> +export const FooterStory: ModalStory = { + render: () => ( <ModalTrigger> <Button variant="secondary">Open</Button> <Modal> @@ -178,15 +127,11 @@ Use a footer to provide trivial information about content present in the modal, <Footer>Copyright 2021</Footer> </Modal> </ModalTrigger> - </Story> -</Preview> - -### Buttons + ) +}; -A modal can have a single [button](?path=/docs/button--default-story). Use a primary [button](?path=/docs/button--default-story) to provide the main action. - -<Preview> - <Story name="button"> +export const ButtonStory: ModalStory = { + render: () => ( <ModalTrigger> <Button variant="secondary">Open</Button> <Modal> @@ -198,13 +143,11 @@ A modal can have a single [button](?path=/docs/button--default-story). Use a pri <Button>Choose</Button> </Modal> </ModalTrigger> - </Story> -</Preview> - -Or a [group of button](?path=/docs/button--default-story#button-group). A maximum of 3 buttons are allowed in a modal, when necessary. The secondary and tertiary actions should be using a secondary variant. + ) +}; -<Preview> - <Story name="button group"> +export const ButtonGroupStory: ModalStory = { + render: () => ( <ModalTrigger> <Button variant="secondary">Open</Button> <Modal> @@ -219,99 +162,147 @@ Or a [group of button](?path=/docs/button--default-story#button-group). A maximu </ButtonGroup> </Modal> </ModalTrigger> - </Story> -</Preview> - -### Modal context - -A modal `isOpen` state or `close` function can be retrieved from `useModalTriggerContext`. - -<Preview filePath="/modal/docs/ModalContext" /> - -### Dismissable - -By default, a modal will dismiss on outside interactions and `esc` keydown. However, in some cases, you might want to force the user to explicitly dismiss the modal with a targeted call to action. This is what the dismissable prop is for. - -You can set the `dismissable` prop to `false` and render a call to action which will manually dismiss the popover by calling a `close` function retrieved from the `useModalTriggerContext` hook. - -> Inlining the call to `useModalTriggerContext` in `ModalTrigger` will not work. - -<Preview filePath="/modal/docs/ModalCustomClose" /> - -### Controlled - -The `open` state can be handled in controlled mode. - -<Preview filePath="/modal/docs/ControlledModal" /> - -### Custom trigger - -You don't have to use a `ModalTrigger` component if it doesn't fit your needs. A modal component can be used on it's own with any custom trigger which follow a few rules: - -- The custom trigger provide a valid `<DialogTriggerContext>` with a `close` function. -- The custom trigger is responsible of show/hide the modal. This is usually done in combination with an [overlay](?path=/docs/overlay--page) component. - -<Preview filePath="/modal/docs/CustomTrigger" /> - -## API - -### ModalTrigger - -<ComponentInfo - usage={"import { ModalTrigger } from \"@workleap/orbiter-ui\";"} - inherits={[InnerModalTrigger.defaultElement, "styled-component"]} - compact -/> - -<ArgsTable of={InnerModalTrigger} sort="alpha" /> - -### Modal - -<ComponentInfo - usage={"import { Modal } from \"@workleap/orbiter-ui\";"} - slots={["image", "illustration", "heading", "header", "content", "footer", "button", "button-group"]} - inherits={[InnerModal.defaultElement, "styled-component"]} - compact -/> - -<ArgsTable of={InnerModal} sort="alpha" /> - -### Heading - -<ComponentInfo - usage={"import { Heading } from \"@workleap/orbiter-ui\";"} - inherits={[InnerHeading.defaultElement, "styled-component"]} - compact -/> - -<ArgsTable of={InnerHeading} sort="alpha" /> - -### Header - -<ComponentInfo - usage={"import { Header } from \"@workleap/orbiter-ui\";"} - inherits={[InnerHeader.defaultElement, "styled-component"]} - compact -/> - -<ArgsTable of={InnerHeader} sort="alpha" /> - -### Content - -<ComponentInfo - usage={"import { Content } from \"@workleap/orbiter-ui\";"} - inherits={[InnerContent.defaultElement, "styled-component"]} - compact -/> - -<ArgsTable of={InnerContent} sort="alpha" /> - -### Footer - -<ComponentInfo - usage={"import { Footer } from \"@workleap/orbiter-ui\";"} - inherits={[InnerFooter.defaultElement, "styled-component"]} - compact -/> - -<ArgsTable of={InnerFooter} sort="alpha" /> + ) +}; + +export const Context: ModalStory = { + render: () => { + const ApolloModal = forwardRef(({ ...rest }, ref) => { + const { close } = useModalTriggerContext(); + + return ( + <Modal + {...rest} + ref={ref} + > + <Heading>Apollo 11 movie</Heading> + <Content> + <Paragraph>Apollo 11 is a 2019 American documentary film edited, produced and directed by Todd Douglas Miller. It focuses on the 1969 Apollo 11 mission, the first spaceflight from which men walked on the Moon.</Paragraph> + <Paragraph> + The film consists solely of archival footage, including 70 mm film previously unreleased to the public, and does not feature narration, interviews or modern recreations. + The Saturn V rocket, Apollo crew consisting of Buzz Aldrin, Neil Armstrong, and Michael Collins, and Apollo program Earth-based mission operations engineers are prominently featured in the film. + </Paragraph> + </Content> + <Button onClick={close} variant="secondary"> + Close + </Button> + </Modal> + ); + }); + + return ( + <ModalTrigger> + <Button variant="secondary">Open</Button> + <ApolloModal /> + </ModalTrigger> + ); + } +}; + +export const CustomClose: ModalStory = { + render: () => { + const CustomCloseModal = forwardRef(({ ...rest }, ref) => { + const { close } = useModalTriggerContext(); + + return ( + <Modal + {...rest} + ref={ref} + > + <Heading>Apollo 11 movie</Heading> + <Content> + <Paragraph>Apollo 11 is a 2019 American documentary film edited, produced and directed by Todd Douglas Miller. It focuses on the 1969 Apollo 11 mission, the first spaceflight from which men walked on the Moon.</Paragraph> + <Paragraph> + The film consists solely of archival footage, including 70 mm film previously unreleased to the public, and does not feature narration, interviews or modern recreations. + The Saturn V rocket, Apollo crew consisting of Buzz Aldrin, Neil Armstrong, and Michael Collins, and Apollo program Earth-based mission operations engineers are prominently featured in the film. + </Paragraph> + </Content> + <Button onClick={close} variant="secondary"> + Close + </Button> + </Modal> + ); + }); + + return ( + <ModalTrigger dismissable={false}> + <Button variant="secondary">Trigger</Button> + <CustomCloseModal /> + </ModalTrigger> + ); + } +}; + +/* eslint-disable react-hooks/rules-of-hooks */ +export const Controlled: ModalStory = { + render: () => { + const [isOpen, setIsOpen] = useState(false); + + const handleOpenChange = useCallback((event, newValue) => { + setIsOpen(newValue); + console.log(newValue); + }, [setIsOpen]); + + const handleClose = useCallback(() => { + setIsOpen(false); + }, [setIsOpen]); + + return ( + <ModalTrigger + onOpenChange={handleOpenChange} + open={isOpen} + > + <Button variant="secondary">Open</Button> + <Modal> + <Heading>Apollo 11 movie</Heading> + <Content> + <Paragraph>Apollo 11 is a 2019 American documentary film edited, produced and directed by Todd Douglas Miller. It focuses on the 1969 Apollo 11 mission, the first spaceflight from which men walked on the Moon.</Paragraph> + <Paragraph> + The film consists solely of archival footage, including 70 mm film previously unreleased to the public, and does not feature narration, interviews or modern recreations. + The Saturn V rocket, Apollo crew consisting of Buzz Aldrin, Neil Armstrong, and Michael Collins, and Apollo program Earth-based mission operations engineers are prominently featured in the film. + </Paragraph> + </Content> + <Button onClick={handleClose} variant="secondary">Close</Button> + </Modal> + </ModalTrigger> + ); + } +}; + +/* eslint-disable react-hooks/rules-of-hooks */ +export const CustomTrigger: ModalStory = { + render: () => { + const [isOpen, setIsOpen] = useState(false); + + const handleTriggerClick = useCallback(() => { + setIsOpen(true); + }, [setIsOpen]); + + const handleModalClose = useCallback(() => { + setIsOpen(false); + }, [setIsOpen]); + + return ( + <> + <Button + onClick={handleTriggerClick} + variant="secondary" + > + Open + </Button> + <Overlay show={isOpen}> + <Modal onClose={handleModalClose}> + <Heading>Apollo 11 movie</Heading> + <Content> + <Paragraph>Apollo 11 is a 2019 American documentary film edited, produced and directed by Todd Douglas Miller. It focuses on the 1969 Apollo 11 mission, the first spaceflight from which men walked on the Moon.</Paragraph> + <Paragraph> + The film consists solely of archival footage, including 70 mm film previously unreleased to the public, and does not feature narration, interviews or modern recreations. The Saturn V rocket, Apollo crew consisting + of Buzz Aldrin, Neil Armstrong, and Michael Collins, and Apollo program Earth-based mission operations engineers are prominently featured in the film. + </Paragraph> + </Content> + </Modal> + </Overlay> + </> + ); + } +}; diff --git a/packages/components/src/modal/docs/ModalContext.sample.jsx b/packages/components/src/modal/docs/ModalContext.sample.jsx deleted file mode 100644 index 89bd39b0c..000000000 --- a/packages/components/src/modal/docs/ModalContext.sample.jsx +++ /dev/null @@ -1,31 +0,0 @@ -const ApolloModal = forwardRef(({ children, ...rest }, ref) => { - const { close } = useModalTriggerContext(); - - return ( - <Modal - {...rest} - ref={ref} - > - <Heading>Apollo 11 movie</Heading> - <Content> - <Paragraph>Apollo 11 is a 2019 American documentary film edited, produced and directed by Todd Douglas Miller. It focuses on the 1969 Apollo 11 mission, the first spaceflight from which men walked on the Moon.</Paragraph> - <Paragraph> - The film consists solely of archival footage, including 70 mm film previously unreleased to the public, and does not feature narration, interviews or modern recreations. - The Saturn V rocket, Apollo crew consisting of Buzz Aldrin, Neil Armstrong, and Michael Collins, and Apollo program Earth-based mission operations engineers are prominently featured in the film. - </Paragraph> - </Content> - <Button onClick={close} variant="secondary"> - Close - </Button> - </Modal> - ); -}); - -render(() => { - return ( - <ModalTrigger> - <Button variant="secondary">Open</Button> - <ApolloModal /> - </ModalTrigger> - ); -}); diff --git a/packages/components/src/modal/docs/ModalCustomClose.sample.jsx b/packages/components/src/modal/docs/ModalCustomClose.sample.jsx deleted file mode 100644 index a3d6bb914..000000000 --- a/packages/components/src/modal/docs/ModalCustomClose.sample.jsx +++ /dev/null @@ -1,31 +0,0 @@ -const CustomCloseModal = forwardRef(({ children, ...rest }, ref) => { - const { close } = useModalTriggerContext(); - - return ( - <Modal - {...rest} - ref={ref} - > - <Heading>Apollo 11 movie</Heading> - <Content> - <Paragraph>Apollo 11 is a 2019 American documentary film edited, produced and directed by Todd Douglas Miller. It focuses on the 1969 Apollo 11 mission, the first spaceflight from which men walked on the Moon.</Paragraph> - <Paragraph> - The film consists solely of archival footage, including 70 mm film previously unreleased to the public, and does not feature narration, interviews or modern recreations. - The Saturn V rocket, Apollo crew consisting of Buzz Aldrin, Neil Armstrong, and Michael Collins, and Apollo program Earth-based mission operations engineers are prominently featured in the film. - </Paragraph> - </Content> - <Button onClick={close} variant="secondary"> - Close - </Button> - </Modal> - ); -}); - -render(() => { - return ( - <ModalTrigger dismissable={false}> - <Button variant="secondary">Trigger</Button> - <CustomCloseModal /> - </ModalTrigger> - ); -}); diff --git a/packages/components/src/text-input/docs/TextInput.mdx b/packages/components/src/text-input/docs/TextInput.mdx index 8dbb8ec6b..f541fa1db 100644 --- a/packages/components/src/text-input/docs/TextInput.mdx +++ b/packages/components/src/text-input/docs/TextInput.mdx @@ -21,55 +21,55 @@ import * as TextInputStories from "./TextInput.stories.tsx"; A default text input. -<Canvas of={TextInputstories.Default} /> +<Canvas of={TextInputStories.Default} /> ### Value A text input can have a value. -<Canvas of={TextInputstories.Value} /> +<Canvas of={TextInputStories.Value} /> ### Icon A text input can contain an [icon](?path=/docs/icon-gallery--page). -<Canvas of={TextInputstories.IconStory} /> +<Canvas of={TextInputStories.IconStory} /> ### Button A text input can contain a [button](?path=/docs/button--default-story). -<Canvas of={TextInputstories.ButtonStory} /> +<Canvas of={TextInputStories.ButtonStory} /> ### Disabled A text input can be disabled. -<Canvas of={TextInputstories.Disabled} /> +<Canvas of={TextInputStories.Disabled} /> ### Readonly A text input can be readonly. -<Canvas of={TextInputstories.Readonly} /> +<Canvas of={TextInputStories.Readonly} /> ### Loading A text input can show that it is currently loading data. -<Canvas of={TextInputstories.Loading} /> +<Canvas of={TextInputStories.Loading} /> ### Size A text input can vary in size. -<Canvas of={TextInputstories.Size} /> +<Canvas of={TextInputStories.Size} /> ### Fluid A text input can take the width of its container. -<Canvas of={TextInputstories.Fluid} /> +<Canvas of={TextInputStories.Fluid} /> ### Validation @@ -77,25 +77,25 @@ A text input can display a validation state to communicate to the user whether t The example below illustrates how one would validate if the user has entered a valid email. -<Canvas of={TextInputstories.EmailValidation} /> +<Canvas of={TextInputStories.EmailValidation} /> ### Controlled A text input `value` can be handled in controlled mode. -<Canvas of={TextInputstories.Controlled} /> +<Canvas of={TextInputStories.Controlled} /> ## SearchInput A specialized text input for [search input](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/search). -<Canvas of={TextInputstories.Search} /> +<Canvas of={TextInputStories.Search} /> ## PasswordInput A specialized text input which show / hide a password. -<Canvas of={TextInputstories.Password} /> +<Canvas of={TextInputStories.Password} /> ## API From 51159ed062a0760bc08a65fff66a7138f267c70d Mon Sep 17 00:00:00 2001 From: Victor Trinh <victor.trinh@gsoft.com> Date: Mon, 4 Nov 2024 14:23:26 -0500 Subject: [PATCH 47/95] Autocomplete --- .../src/autocomplete/docs/Autocomplete.mdx | 156 +++++++ .../docs/Autocomplete.stories.mdx | 382 ----------------- .../docs/Autocomplete.stories.tsx | 401 ++++++++++++++++++ .../docs/ControlledAutocomplete.sample.jsx | 33 -- .../autocomplete/docs/CustomSearch.sample.jsx | 29 -- .../autocomplete/docs/RemoteItems.sample.jsx | 33 -- .../docs/SelectedValueValidation.sample.jsx | 25 -- 7 files changed, 557 insertions(+), 502 deletions(-) create mode 100644 packages/components/src/autocomplete/docs/Autocomplete.mdx delete mode 100644 packages/components/src/autocomplete/docs/Autocomplete.stories.mdx create mode 100644 packages/components/src/autocomplete/docs/Autocomplete.stories.tsx delete mode 100644 packages/components/src/autocomplete/docs/ControlledAutocomplete.sample.jsx delete mode 100644 packages/components/src/autocomplete/docs/CustomSearch.sample.jsx delete mode 100644 packages/components/src/autocomplete/docs/RemoteItems.sample.jsx delete mode 100644 packages/components/src/autocomplete/docs/SelectedValueValidation.sample.jsx diff --git a/packages/components/src/autocomplete/docs/Autocomplete.mdx b/packages/components/src/autocomplete/docs/Autocomplete.mdx new file mode 100644 index 000000000..083310f5f --- /dev/null +++ b/packages/components/src/autocomplete/docs/Autocomplete.mdx @@ -0,0 +1,156 @@ +import { ArgTypes, Canvas, Meta } from "@storybook/addon-docs"; +import { InnerAutocomplete } from "@components/autocomplete"; +import { ComponentInfo, Preview, Tagline } from "@stories/components"; +import { InnerItem, InnerSection } from "@components/collection"; +import * as AutocompleteStories from "./Autocomplete.stories.tsx"; + +<Meta of={AutocompleteStories} /> + +# Autocomplete + +<Tagline>An autocomplete is a normal text input enhanced by a panel of suggested options.</Tagline> + +<ComponentInfo + usage={"import { Autocomplete, Item, Section } from \"@workleap/orbiter-ui\";"} + ariaPath="combobox" + githubPath="/packages/components/src/autocomplete/src" +/> + +## Usage + +### Default + +A default autocomplete + +<Canvas of={AutocompleteStories.Default} /> + +### Sections + +An autocomplete items can be group by sections. + +<Canvas of={AutocompleteStories.Sections} /> + +### Item icon + +An autocomplete item can have [icons](?path=/docs/icon-gallery--page). + +<Canvas of={AutocompleteStories.ItemIcon} /> + +### Item end icon + +An autocomplete item can have *non standard* end [icons](?path=/docs/icon-gallery--page) can be provided to handle special cases like displaying a list of icons. However, think twice before adding *end* icons, *start* icons should be your go to. + +<Canvas of={AutocompleteStories.ItemEndIcon} /> + +### Item description + +An autocomplete item can have a description. + +<Canvas of={AutocompleteStories.ItemDescription} /> + +A description can be paired with an [icon](?path=/docs/icon-gallery--page). + +<Canvas of={AutocompleteStories.ItemDescriptionIcon} /> + +A description can be paired with an [avatar](?path=/docs/avatar--default-story). + +<Canvas of={AutocompleteStories.ItemDescriptionAvatar} /> + +### Trigger icon + +An autocomplete trigger can have an icon. + +<Canvas of={AutocompleteStories.TriggerIcon} /> + +### Size + +An autocomplete trigger can have different sizes. + +<Canvas of={AutocompleteStories.Size} /> + +### Disabled + +<Canvas of={AutocompleteStories.Disabled} /> + +### Readonly + +<Canvas of={AutocompleteStories.Readonly} /> + +### Fluid + +An autocomplete can take the width of it's container. + +<Canvas of={AutocompleteStories.Fluid} /> + +### Validation + +An autocomplete can display a validation state to communicate to the user whether the current value is valid or invalid. Implement your own validation logic in your app and pass either `"valid"` or `"invalid"` to the input via the `validationState` prop. + +The example below illustrates how one would validate that a specific value have been selected. + +<Canvas of={AutocompleteStories.Validation} /> + +### Form + +An autocomplete can be part of a form. To submit the value of a select, make sure you specify the `name` property. + +<Canvas of={AutocompleteStories.Form} /> + +### Dynamic items + +An autocomplete items can be rendered dynamically. + +<Canvas of={AutocompleteStories.DynamicItems} /> + +### Remote items + +An autocomplete items can be fetch from a remote source. + +We provide an utility hook called `useAsyncSearch` which accept an *async* function responsible of fetching the data. You could roll your own utility hook as long as it returns a *loading indicator* and provide a function to handle *search* requests. + +> In most cases, you should pass the [`signal`](https://developer.mozilla.org/en-US/docs/Web/API/AbortSignal) arg to your `fetch` request. + +<Canvas of={AutocompleteStories.RemoteItems} /> + +### Custom search + +An autocomplete search strategy can be customized by providing an `onSearch` handler. + +<Canvas of={AutocompleteStories.CustomSearch} /> + +### Controlled + +The `selectedKey` and `open` state can be handled in controlled mode. + +<Canvas of={AutocompleteStories.Controlled} /> + +## API + +### Autocomplete + +<ComponentInfo + usage={"import { Autocomplete } from \"@workleap/orbiter-ui\";"} + inherits={[InnerAutocomplete.defaultElement, "styled-component"]} + compact +/> + +<ArgTypes of={InnerAutocomplete} sort="alpha" /> + +### Item + +<ComponentInfo + usage={"import { Item } from \"@workleap/orbiter-ui\";"} + slots={["icon", "avatar", "text", "description", "end-icon"]} + compact +/> + +<ArgTypes of={InnerItem} sort="alpha" /> + +### Section + +<ComponentInfo + usage={"import { Section } from \"@workleap/orbiter-ui\";"} + compact +/> + +<ArgTypes of={InnerSection} sort="alpha" /> diff --git a/packages/components/src/autocomplete/docs/Autocomplete.stories.mdx b/packages/components/src/autocomplete/docs/Autocomplete.stories.mdx deleted file mode 100644 index 4ba4fbba7..000000000 --- a/packages/components/src/autocomplete/docs/Autocomplete.stories.mdx +++ /dev/null @@ -1,382 +0,0 @@ -import { ArgsTable, Meta, Story } from "@storybook/addon-docs"; -import { Autocomplete, InnerAutocomplete } from "@components/autocomplete"; -import { Avatar } from "@components/avatar"; -import { ComponentInfo, Preview, Tagline } from "@stories/components"; -import { IconList } from "@components/icons"; -import { CatIcon, RocketIcon, SearchIcon, SparklesIcon } from "@hopper-ui/icons"; -import { InnerItem, InnerSection, Item, Section } from "@components/collection"; -import { Text } from "@components/typography"; - -<Meta - title="Components/Autocomplete" - id="autocomplete" -/> - -# Autocomplete - -<Tagline>An autocomplete is a normal text input enhanced by a panel of suggested options.</Tagline> - -<ComponentInfo - usage={"import { Autocomplete, Item, Section } from \"@workleap/orbiter-ui\";"} - ariaPath="combobox" - githubPath="/packages/components/src/autocomplete/src" -/> - -## Usage - -### Default - -A default autocomplete - -<Preview> - <Story name="default"> - <Autocomplete placeholder="Planets" aria-label="Planets"> - <Item key="earth">Earth</Item> - <Item key="jupiter">Jupiter</Item> - <Item key="mars">Mars</Item> - <Item key="mercury">Mercury</Item> - <Item key="neptune">Neptune</Item> - <Item key="saturn">Saturn</Item> - <Item key="uranus">Uranus</Item> - </Autocomplete> - </Story> -</Preview> - -### Sections - -An autocomplete items can be group by sections. - -<Preview> - <Story name="sections"> - <Autocomplete placeholder="Planets" aria-label="Planets"> - <Section title="Visited"> - <Item key="earth">Earth</Item> - <Item key="mars">Mars</Item> - <Item key="saturn">Saturn</Item> - </Section> - <Section title="Not Visited"> - <Item key="jupiter">Jupiter</Item> - <Item key="mercury">Mercury</Item> - <Item key="neptune">Neptune</Item> - <Item key="uranus">Uranus</Item> - </Section> - </Autocomplete> - </Story> -</Preview> - -### Item icon - -An autocomplete item can have [icons](?path=/docs/icon-gallery--page). - -<Preview> - <Story name="item icon"> - <Autocomplete placeholder="Planets" aria-label="Planets"> - <Item key="earth"> - <SparklesIcon /> - <Text>Earth</Text> - </Item> - <Item key="jupiter"> - <SparklesIcon /> - <Text>Jupiter</Text> - </Item> - <Item key="mars"> - <SparklesIcon /> - <Text>Mars</Text> - </Item> - </Autocomplete> - </Story> -</Preview> - -### Item end icon - -An autocomplete item can have *non standard* end [icons](?path=/docs/icon-gallery--page) can be provided to handle special cases like displaying a list of icons. However, think twice before adding *end* icons, *start* icons should be your go to. - -<Preview> - <Story name="item end icon"> - <Autocomplete placeholder="Planets" aria-label="Planets"> - <Item key="earth"> - <Text>Earth</Text> - <IconList slot="end-icon"> - <RocketIcon /> - <CatIcon /> - <SparklesIcon /> - </IconList> - </Item> - <Item key="jupiter"> - <Text>Jupiter</Text> - <SparklesIcon slot="end-icon" /> - </Item> - <Item key="mars"> - <Text>Mars</Text> - <IconList slot="end-icon"> - <RocketIcon /> - <CatIcon /> - <SparklesIcon /> - </IconList> - </Item> - </Autocomplete> - </Story> -</Preview> - -### Item description - -An autocomplete item can have a description. - -<Preview> - <Story name="item description"> - <Autocomplete placeholder="Planets" aria-label="Planets"> - <Item key="earth"> - <Text>Earth</Text> - <Text slot="description">Home sweet home!</Text> - </Item> - <Item key="jupiter"> - <Text>Jupiter</Text> - <Text slot="description">The fourth-brightest object in the sky</Text> - </Item> - <Item key="mars"> - <Text>Mars</Text> - <Text slot="description">See you in 2026</Text> - </Item> - </Autocomplete> - </Story> -</Preview> - -A description can be paired with an [icon](?path=/docs/icon-gallery--page). - -<Preview> - <Story name="item description + icon"> - <Autocomplete placeholder="Planets" aria-label="Planets"> - <Item key="earth"> - <SparklesIcon /> - <Text>Earth</Text> - <Text slot="description">Home sweet home!</Text> - </Item> - <Item key="jupiter"> - <SparklesIcon /> - <Text>Jupiter</Text> - <Text slot="description">The fourth-brightest object in the sky</Text> - </Item> - <Item key="mars"> - <SparklesIcon /> - <Text>Mars</Text> - <Text slot="description">See you in 2026</Text> - </Item> - </Autocomplete> - </Story> -</Preview> - -A description can be paired with an [avatar](?path=/docs/avatar--default-story). - -<Preview> - <Story name="item description + avatar"> - <Autocomplete placeholder="Planets" aria-label="Planets"> - <Item key="earth"> - <Avatar name="Earth" /> - <Text>Earth</Text> - <Text slot="description">Home sweet home!</Text> - </Item> - <Item key="jupiter"> - <Avatar name="Jupiter" /> - <Text>Jupiter</Text> - <Text slot="description">The fourth-brightest object in the sky</Text> - </Item> - <Item key="mars"> - <Avatar name="Mars" /> - <Text>Mars</Text> - <Text slot="description">See you in 2026</Text> - </Item> - </Autocomplete> - </Story> -</Preview> - -### Trigger icon - -An autocomplete trigger can have an icon. - -<Preview> - <Story name="trigger icon"> - <Autocomplete icon={<SearchIcon />} placeholder="Planets" aria-label="Planets"> - <Item key="earth">Earth</Item> - <Item key="jupiter">Jupiter</Item> - <Item key="mars">Mars</Item> - <Item key="mercury">Mercury</Item> - <Item key="neptune">Neptune</Item> - <Item key="saturn">Saturn</Item> - <Item key="uranus">Uranus</Item> - </Autocomplete> - </Story> -</Preview> - -### Size - -An autocomplete trigger can have different sizes. - -<Preview> - <Story name="size"> - <Inline alignY="center"> - <Autocomplete placeholder="Planets" aria-label="Planets" size="sm"> - <Item key="earth">Earth</Item> - <Item key="jupiter">Jupiter</Item> - <Item key="mars">Mars</Item> - <Item key="mercury">Mercury</Item> - <Item key="neptune">Neptune</Item> - <Item key="saturn">Saturn</Item> - <Item key="uranus">Uranus</Item> - </Autocomplete> - <Autocomplete placeholder="Planets" aria-label="Planets" size="md"> - <Item key="earth">Earth</Item> - <Item key="jupiter">Jupiter</Item> - <Item key="mars">Mars</Item> - <Item key="mercury">Mercury</Item> - <Item key="neptune">Neptune</Item> - <Item key="saturn">Saturn</Item> - <Item key="uranus">Uranus</Item> - </Autocomplete> - </Inline> - </Story> -</Preview> - -### Disabled - -<Preview> - <Story name="disabled"> - <Autocomplete disabled placeholder="Planets" aria-label="Planets"> - <Item key="earth">Earth</Item> - <Item key="jupiter">Jupiter</Item> - <Item key="mars">Mars</Item> - <Item key="mercury">Mercury</Item> - <Item key="neptune">Neptune</Item> - <Item key="saturn">Saturn</Item> - <Item key="uranus">Uranus</Item> - </Autocomplete> - </Story> -</Preview> - -### Readonly - -<Preview> - <Story name="readonly"> - <Autocomplete readOnly placeholder="Planets" aria-label="Planets"> - <Item key="earth">Earth</Item> - <Item key="jupiter">Jupiter</Item> - <Item key="mars">Mars</Item> - <Item key="mercury">Mercury</Item> - <Item key="neptune">Neptune</Item> - <Item key="saturn">Saturn</Item> - <Item key="uranus">Uranus</Item> - </Autocomplete> - </Story> -</Preview> - -### Fluid - -An autocomplete can take the width of it's container. - -<Preview> - <Story name="fluid"> - <Autocomplete fluid placeholder="Planets" aria-label="Planets"> - <Item key="earth">Earth</Item> - <Item key="jupiter">Jupiter</Item> - <Item key="mars">Mars</Item> - <Item key="mercury">Mercury</Item> - <Item key="neptune">Neptune</Item> - <Item key="saturn">Saturn</Item> - <Item key="uranus">Uranus</Item> - </Autocomplete> - </Story> -</Preview> - -### Validation - -An autocomplete can display a validation state to communicate to the user whether the current value is valid or invalid. Implement your own validation logic in your app and pass either `"valid"` or `"invalid"` to the input via the `validationState` prop. - -The example below illustrates how one would validate that a specific value have been selected. - -<Preview filePath="/autocomplete/docs/SelectedValueValidation" /> - -### Form - -An autocomplete can be part of a form. To submit the value of a select, make sure you specify the `name` property. - -<Preview> - <Story name="form"> - <form> - <Autocomplete name="planet" placeholder="Planets" aria-label="Planets"> - <Item key="earth">Earth</Item> - <Item key="jupiter">Jupiter</Item> - <Item key="mars">Mars</Item> - <Item key="mercury">Mercury</Item> - <Item key="neptune">Neptune</Item> - <Item key="saturn">Saturn</Item> - <Item key="uranus">Uranus</Item> - </Autocomplete> - </form> - </Story> -</Preview> - -### Dynamic items - -An autocomplete items can be rendered dynamically. - -<Preview> - <Story name="dynamic items"> - <Autocomplete placeholder="Planets" aria-label="Planets"> - {["Earth", "Jupiter", "Mars", "Mercury", "Neptune", "Saturn", "Uranus"].map(x => ( - <Item key={x.toLowerCase()}>{x}</Item> - ))} - </Autocomplete> - </Story> -</Preview> - -### Remote items - -An autocomplete items can be fetch from a remote source. - -We provide an utility hook called `useAsyncSearch` which accept an *async* function responsible of fetching the data. You could roll your own utility hook as long as it returns a *loading indicator* and provide a function to handle *search* requests. - -> In most cases, you should pass the [`signal`](https://developer.mozilla.org/en-US/docs/Web/API/AbortSignal) arg to your `fetch` request. - -<Preview filePath="/autocomplete/docs/RemoteItems" scope={{ ApiKey: "8aa06f2e50msh9ff37516b3c0282p1e8624jsn81c867aa0d74" }} /> - -### Custom search - -An autocomplete search strategy can be customized by providing an `onSearch` handler. - -<Preview filePath="/autocomplete/docs/CustomSearch" /> - -### Controlled - -The `selectedKey` and `open` state can be handled in controlled mode. - -<Preview filePath="/autocomplete/docs/ControlledAutocomplete" /> - -## API - -### Autocomplete - -<ComponentInfo - usage={"import { Autocomplete } from \"@workleap/orbiter-ui\";"} - inherits={[InnerAutocomplete.defaultElement, "styled-component"]} - compact -/> - -<ArgsTable of={InnerAutocomplete} sort="alpha" /> - -### Item - -<ComponentInfo - usage={"import { Item } from \"@workleap/orbiter-ui\";"} - slots={["icon", "avatar", "text", "description", "end-icon"]} - compact -/> - -<ArgsTable of={InnerItem} sort="alpha" /> - -### Section - -<ComponentInfo - usage={"import { Section } from \"@workleap/orbiter-ui\";"} - compact -/> - -<ArgsTable of={InnerSection} sort="alpha" /> diff --git a/packages/components/src/autocomplete/docs/Autocomplete.stories.tsx b/packages/components/src/autocomplete/docs/Autocomplete.stories.tsx new file mode 100644 index 000000000..51946a931 --- /dev/null +++ b/packages/components/src/autocomplete/docs/Autocomplete.stories.tsx @@ -0,0 +1,401 @@ +/* eslint-disable react-hooks/rules-of-hooks */ +import { Meta, StoryObj } from "@storybook/react"; +import { Autocomplete } from "@components/autocomplete"; +import { Avatar } from "@components/avatar"; +import { IconList } from "@components/icons"; +import { CatIcon, RocketIcon, SearchIcon, SparklesIcon } from "@hopper-ui/icons"; +import { Item, Section, useAsyncSearch } from "@components/collection"; +import { Text } from "@components/typography"; +import { useCallback, useState } from "react"; +import { isNil } from "@components/shared"; +import { Inline } from "@components/layout"; + +const meta = { + title: "Components/Autocomplete", + component: Autocomplete, + id: "autocomplete" +} as Meta<typeof Autocomplete>; + +export default meta; + +type Story = StoryObj<typeof Autocomplete>; + +export const Default: Story = { + render: () => ( + <Autocomplete aria-label="Planets" placeholder="Planets"> + <Item key="earth">Earth</Item> + <Item key="jupiter">Jupiter</Item> + <Item key="mars">Mars</Item> + <Item key="mercury">Mercury</Item> + <Item key="neptune">Neptune</Item> + <Item key="saturn">Saturn</Item> + <Item key="uranus">Uranus</Item> + </Autocomplete>) +}; + +export const Sections: Story = { + render: () => ( + <Autocomplete aria-label="Planets" placeholder="Planets"> + <Section title="Visited"> + <Item key="earth">Earth</Item> + <Item key="mars">Mars</Item> + <Item key="saturn">Saturn</Item> + </Section> + <Section title="Not Visited"> + <Item key="jupiter">Jupiter</Item> + <Item key="mercury">Mercury</Item> + <Item key="neptune">Neptune</Item> + <Item key="uranus">Uranus</Item> + </Section> + </Autocomplete> + ) +}; + + +export const ItemIcon: Story = { + render: () => ( + <Autocomplete aria-label="Planets" placeholder="Planets"> + <Item key="earth"> + <SparklesIcon /> + <Text>Earth</Text> + </Item> + <Item key="jupiter"> + <SparklesIcon /> + <Text>Jupiter</Text> + </Item> + <Item key="mars"> + <SparklesIcon /> + <Text>Mars</Text> + </Item> + </Autocomplete> + ) +}; + +export const ItemEndIcon: Story = { + render: () => ( + <Autocomplete aria-label="Planets" placeholder="Planets"> + <Item key="earth"> + <Text>Earth</Text> + <IconList slot="end-icon"> + <RocketIcon /> + <CatIcon /> + <SparklesIcon /> + </IconList> + </Item> + <Item key="jupiter"> + <Text>Jupiter</Text> + <SparklesIcon slot="end-icon" /> + </Item> + <Item key="mars"> + <Text>Mars</Text> + <IconList slot="end-icon"> + <RocketIcon /> + <CatIcon /> + <SparklesIcon /> + </IconList> + </Item> + </Autocomplete> + ) +}; + +export const ItemDescription: Story = { + render: () => ( + <Autocomplete aria-label="Planets" placeholder="Planets"> + <Item key="earth"> + <Text>Earth</Text> + <Text slot="description">Home sweet home!</Text> + </Item> + <Item key="jupiter"> + <Text>Jupiter</Text> + <Text slot="description">The fourth-brightest object in the sky</Text> + </Item> + <Item key="mars"> + <Text>Mars</Text> + <Text slot="description">See you in 2026</Text> + </Item> + </Autocomplete> + ) +}; + +export const ItemDescriptionIcon: Story = { + render: () => ( + <Autocomplete aria-label="Planets" placeholder="Planets"> + <Item key="earth"> + <SparklesIcon /> + <Text>Earth</Text> + <Text slot="description">Home sweet home!</Text> + </Item> + <Item key="jupiter"> + <SparklesIcon /> + <Text>Jupiter</Text> + <Text slot="description">The fourth-brightest object in the sky</Text> + </Item> + <Item key="mars"> + <SparklesIcon /> + <Text>Mars</Text> + <Text slot="description">See you in 2026</Text> + </Item> + </Autocomplete> + ) +}; + +export const ItemDescriptionAvatar: Story = { + render: () => ( + <Autocomplete aria-label="Planets" placeholder="Planets"> + <Item key="earth"> + <Avatar name="Earth" /> + <Text>Earth</Text> + <Text slot="description">Home sweet home!</Text> + </Item> + <Item key="jupiter"> + <Avatar name="Jupiter" /> + <Text>Jupiter</Text> + <Text slot="description">The fourth-brightest object in the sky</Text> + </Item> + <Item key="mars"> + <Avatar name="Mars" /> + <Text>Mars</Text> + <Text slot="description">See you in 2026</Text> + </Item> + </Autocomplete> + ) +}; + +export const TriggerIcon: Story = { + render: () => ( + <Autocomplete aria-label="Planets" icon={<SearchIcon />} placeholder="Planets"> + <Item key="earth">Earth</Item> + <Item key="jupiter">Jupiter</Item> + <Item key="mars">Mars</Item> + <Item key="mercury">Mercury</Item> + <Item key="neptune">Neptune</Item> + <Item key="saturn">Saturn</Item> + <Item key="uranus">Uranus</Item> + </Autocomplete> + ) +}; + +export const Size: Story = { + render: () => ( + <Inline alignY="center"> + <Autocomplete aria-label="Planets" placeholder="Planets" size="sm"> + <Item key="earth">Earth</Item> + <Item key="jupiter">Jupiter</Item> + <Item key="mars">Mars</Item> + <Item key="mercury">Mercury</Item> + <Item key="neptune">Neptune</Item> + <Item key="saturn">Saturn</Item> + <Item key="uranus">Uranus</Item> + </Autocomplete> + <Autocomplete aria-label="Planets" placeholder="Planets" size="md"> + <Item key="earth">Earth</Item> + <Item key="jupiter">Jupiter</Item> + <Item key="mars">Mars</Item> + <Item key="mercury">Mercury</Item> + <Item key="neptune">Neptune</Item> + <Item key="saturn">Saturn</Item> + <Item key="uranus">Uranus</Item> + </Autocomplete> + </Inline> + ) +}; + +export const Disabled: Story = { + render: () => ( + <Autocomplete aria-label="Planets" disabled placeholder="Planets"> + <Item key="earth">Earth</Item> + <Item key="jupiter">Jupiter</Item> + <Item key="mars">Mars</Item> + <Item key="mercury">Mercury</Item> + <Item key="neptune">Neptune</Item> + <Item key="saturn">Saturn</Item> + <Item key="uranus">Uranus</Item> + </Autocomplete> + ) +}; + +export const Readonly: Story = { + render: () => ( + <Autocomplete aria-label="Planets" placeholder="Planets" readOnly> + <Item key="earth">Earth</Item> + <Item key="jupiter">Jupiter</Item> + <Item key="mars">Mars</Item> + <Item key="mercury">Mercury</Item> + <Item key="neptune">Neptune</Item> + <Item key="saturn">Saturn</Item> + <Item key="uranus">Uranus</Item> + </Autocomplete> + ) +}; + +export const Fluid: Story = { + render: () => ( + <Autocomplete aria-label="Planets" fluid placeholder="Planets"> + <Item key="earth">Earth</Item> + <Item key="jupiter">Jupiter</Item> + <Item key="mars">Mars</Item> + <Item key="mercury">Mercury</Item> + <Item key="neptune">Neptune</Item> + <Item key="saturn">Saturn</Item> + <Item key="uranus">Uranus</Item> + </Autocomplete> + ) +}; + +export const Validation: Story = { + render: () => { + const [isValid, setIsValid] = useState(true); + + const handleSelectionChange = useCallback((event, selection) => { + setIsValid(!isNil(selection) && selection.key === "earth"); + + console.log(selection); + }, [setIsValid]); + + return ( + <Autocomplete + aria-label="Planets" + onSelectionChange={handleSelectionChange} + placeholder="Planets" + validationState={isValid ? "valid" : "invalid"} + > + <Item key="earth">Earth</Item> + <Item key="jupiter">Jupiter</Item> + <Item key="mars">Mars</Item> + <Item key="mercury">Mercury</Item> + <Item key="neptune">Neptune</Item> + <Item key="saturn">Saturn</Item> + <Item key="uranus">Uranus</Item> + </Autocomplete> + ); + } +}; + +export const Form: Story = { + render: () => ( + <form> + <Autocomplete aria-label="Planets" name="planet" placeholder="Planets"> + <Item key="earth">Earth</Item> + <Item key="jupiter">Jupiter</Item> + <Item key="mars">Mars</Item> + <Item key="mercury">Mercury</Item> + <Item key="neptune">Neptune</Item> + <Item key="saturn">Saturn</Item> + <Item key="uranus">Uranus</Item> + </Autocomplete> + </form> + ) +}; + +export const DynamicItems: Story = { + render: () => ( + <Autocomplete aria-label="Planets" placeholder="Planets"> + {["Earth", "Jupiter", "Mars", "Mercury", "Neptune", "Saturn", "Uranus"].map(x => ( + <Item key={x.toLowerCase()}>{x}</Item> + ))} + </Autocomplete> + ) +}; + +export const RemoteItems: Story = { + render: () => { + const fetcher = useAsyncSearch<{ key: string; value: string }>(async (query, signal) => { + const response = await fetch(`https://wft-geo-db.p.rapidapi.com/v1/geo/countries?namePrefix=${query}`, { + method: "GET", + headers: { + "x-rapidapi-key": "8aa06f2e50msh9ff37516b3c0282p1e8624jsn81c867aa0d74", + "x-rapidapi-host": "wft-geo-db.p.rapidapi.com" + }, + signal + }); + + const json = await response.json(); + + return json.data.map(x => ({ + key: x.code, + value: x.name + })); + }); + + return ( + <Autocomplete + aria-label="Countries" + loading={fetcher.isLoading} + onSearch={fetcher.search} + placeholder="Select a country" + > + {fetcher.items.map((x => ( + <Item key={x.key}>{x.value}</Item> + )))} + </Autocomplete> + ); + } +}; + +export const CustomSearch: Story = { + render: () => { + const planets = [ + { key: "earth", value: "Earth", canShow: true }, + { key: "jupiter", value: "Jupiter", canShow: true }, + { key: "mars", value: "Mars", canShow: true }, + { key: "mercury", value: "Mercury", canShow: false }, + { key: "neptune", value: "Neptune", canShow: false }, + { key: "saturn", value: "Saturn", canShow: false }, + { key: "uranus", value: "Uranus", canShow: false } + ]; + + const [selectedPlanets, setSelectedPlanets] = useState(planets); + + const handleSearch = useCallback((event, query) => { + setSelectedPlanets(planets.filter(x => x.value.toLowerCase().startsWith(query.toLowerCase()) && x.canShow)); + }, [setSelectedPlanets]); + + return ( + <Autocomplete + aria-label="Planets" + onSearch={handleSearch} + placeholder="Planets" + > + {selectedPlanets.map((x => ( + <Item key={x.key}>{x.value}</Item> + )))} + </Autocomplete> + ); + } +}; + +export const Controlled: Story = { + render: () => { + const [isOpen, setIsOpen] = useState(false); + const [value, setValue] = useState("Mars"); + + const handleOpenChange = useCallback((event, newValue) => { + setIsOpen(newValue); + console.log(newValue); + }, [setIsOpen]); + + const handleSelectionChange = useCallback((event, selection) => { + setValue(!isNil(selection) ? selection.value : null); + console.log(selection); + }, [setValue]); + + return ( + <Autocomplete + aria-label="Planets" + onOpenChange={handleOpenChange} + onSelectionChange={handleSelectionChange} + open={isOpen} + placeholder="Planets" + value={value} + > + <Item key="earth">Earth</Item> + <Item key="jupiter">Jupiter</Item> + <Item key="mars">Mars</Item> + <Item key="mercury">Mercury</Item> + <Item key="neptune">Neptune</Item> + <Item key="saturn">Saturn</Item> + <Item key="uranus">Uranus</Item> + </Autocomplete> + ); + } +}; diff --git a/packages/components/src/autocomplete/docs/ControlledAutocomplete.sample.jsx b/packages/components/src/autocomplete/docs/ControlledAutocomplete.sample.jsx deleted file mode 100644 index 30c95e297..000000000 --- a/packages/components/src/autocomplete/docs/ControlledAutocomplete.sample.jsx +++ /dev/null @@ -1,33 +0,0 @@ -() => { - const [isOpen, setIsOpen] = useState(false); - const [value, setValue] = useState("Mars"); - - const handleOpenChange = useCallback((event, newValue) => { - setIsOpen(newValue); - console.log(newValue); - }, [setIsOpen]); - - const handleSelectionChange = useCallback((event, selection) => { - setValue(!isNil(selection) ? selection.value : null); - console.log(selection); - }, [setValue]); - - return ( - <Autocomplete - open={isOpen} - value={value} - placeholder="Planets" - onOpenChange={handleOpenChange} - onSelectionChange={handleSelectionChange} - aria-label="Planets" - > - <Item key="earth">Earth</Item> - <Item key="jupiter">Jupiter</Item> - <Item key="mars">Mars</Item> - <Item key="mercury">Mercury</Item> - <Item key="neptune">Neptune</Item> - <Item key="saturn">Saturn</Item> - <Item key="uranus">Uranus</Item> - </Autocomplete> - ); -}; diff --git a/packages/components/src/autocomplete/docs/CustomSearch.sample.jsx b/packages/components/src/autocomplete/docs/CustomSearch.sample.jsx deleted file mode 100644 index de41de3e3..000000000 --- a/packages/components/src/autocomplete/docs/CustomSearch.sample.jsx +++ /dev/null @@ -1,29 +0,0 @@ -const Planets = [ - { key: "earth", value: "Earth", canShow: true }, - { key: "jupiter", value: "Jupiter", canShow: true }, - { key: "mars", value: "Mars", canShow: true }, - { key: "mercury", value: "Mercury", canShow: false }, - { key: "neptune", value: "Neptune", canShow: false }, - { key: "saturn", value: "Saturn", canShow: false }, - { key: "uranus", value: "Uranus", canShow: false } -]; - -() => { - const [selectedPlanets, setSelectedPlanets] = useState(Planets); - - const handleSearch = useCallback((event, query) => { - setSelectedPlanets(Planets.filter(x => x.value.toLowerCase().startsWith(query.toLowerCase()) && x.canShow)); - }, [setSelectedPlanets]); - - return ( - <Autocomplete - onSearch={handleSearch} - placeholder="Planets" - aria-label="Planets" - > - {selectedPlanets.map((x => ( - <Item key={x.key}>{x.value}</Item> - )))} - </Autocomplete> - ); -}; diff --git a/packages/components/src/autocomplete/docs/RemoteItems.sample.jsx b/packages/components/src/autocomplete/docs/RemoteItems.sample.jsx deleted file mode 100644 index 20e0e3a1c..000000000 --- a/packages/components/src/autocomplete/docs/RemoteItems.sample.jsx +++ /dev/null @@ -1,33 +0,0 @@ -() => { - const fetcher = useAsyncSearch(async (query, signal) => { - const response = await fetch(`https://wft-geo-db.p.rapidapi.com/v1/geo/countries?namePrefix=${query}`, { - method: "GET", - headers: { - "x-rapidapi-key": ApiKey, - "x-rapidapi-host": "wft-geo-db.p.rapidapi.com", - "useQueryString": true - }, - signal - }); - - const json = await response.json(); - - return json.data.map(x => ({ - key: x.code, - value: x.name - })); - }); - - return ( - <Autocomplete - loading={fetcher.isLoading} - onSearch={fetcher.search} - placeholder="Select a country" - aria-label="Countries" - > - {fetcher.items.map((x => ( - <Item key={x.key}>{x.value}</Item> - )))} - </Autocomplete> - ); -}; diff --git a/packages/components/src/autocomplete/docs/SelectedValueValidation.sample.jsx b/packages/components/src/autocomplete/docs/SelectedValueValidation.sample.jsx deleted file mode 100644 index e532cf965..000000000 --- a/packages/components/src/autocomplete/docs/SelectedValueValidation.sample.jsx +++ /dev/null @@ -1,25 +0,0 @@ -() => { - const [isValid, setIsValid] = useState(true); - - const handleSelectionChange = useCallback((event, selection) => { - setIsValid(!isNil(selection) && selection.key === "earth"); - console.log(selection); - }, [setIsValid]); - - return ( - <Autocomplete - validationState={isValid ? "valid" : "invalid"} - placeholder="Planets" - onSelectionChange={handleSelectionChange} - aria-label="Planets" - > - <Item key="earth">Earth</Item> - <Item key="jupiter">Jupiter</Item> - <Item key="mars">Mars</Item> - <Item key="mercury">Mercury</Item> - <Item key="neptune">Neptune</Item> - <Item key="saturn">Saturn</Item> - <Item key="uranus">Uranus</Item> - </Autocomplete> - ); -}; From 1dec481291ac070c2e34c5b46acecc9771d49c1d Mon Sep 17 00:00:00 2001 From: Victor Trinh <victor.trinh@gsoft.com> Date: Mon, 4 Nov 2024 14:38:54 -0500 Subject: [PATCH 48/95] Counter --- .../docs/Autocomplete.stories.tsx | 1 - .../components/src/counter/docs/Counter.mdx | 65 ++++++++++++ .../src/counter/docs/Counter.stories.mdx | 98 ------------------- .../src/counter/docs/Counter.stories.tsx | 49 ++++++++++ 4 files changed, 114 insertions(+), 99 deletions(-) create mode 100644 packages/components/src/counter/docs/Counter.mdx delete mode 100644 packages/components/src/counter/docs/Counter.stories.mdx create mode 100644 packages/components/src/counter/docs/Counter.stories.tsx diff --git a/packages/components/src/autocomplete/docs/Autocomplete.stories.tsx b/packages/components/src/autocomplete/docs/Autocomplete.stories.tsx index 51946a931..46f2b521d 100644 --- a/packages/components/src/autocomplete/docs/Autocomplete.stories.tsx +++ b/packages/components/src/autocomplete/docs/Autocomplete.stories.tsx @@ -51,7 +51,6 @@ export const Sections: Story = { ) }; - export const ItemIcon: Story = { render: () => ( <Autocomplete aria-label="Planets" placeholder="Planets"> diff --git a/packages/components/src/counter/docs/Counter.mdx b/packages/components/src/counter/docs/Counter.mdx new file mode 100644 index 000000000..2d8341032 --- /dev/null +++ b/packages/components/src/counter/docs/Counter.mdx @@ -0,0 +1,65 @@ +import { ArgTypes, Canvas, Meta } from "@storybook/addon-docs"; +import { ComponentInfo, Preview, Tagline } from "@stories/components"; +import { InnerCounter } from "@components/counter"; +import * as CounterStories from "./Counter.stories.tsx"; + +<Meta of={CounterStories} /> + +# Counter + +<Tagline>A counter indicate a running tally.</Tagline> + +<ComponentInfo + usage={"import { Counter } from \"@workleap/orbiter-ui\";"} + githubPath="/packages/components/src/counter" +/> + +## Guidelines + +### When to use + +- When you need to complement the content of another component such as a [tag](?path=/docs/tag--default-story) or a [checkbox](?path=/docs/checkbox--default-story). + +### Content + +- Only use numeric values. +- If you need to display a number above 99, use “99+” instead of the number unless the number is important to the user’s objectives. + +## Usage + +### Default + +A default counter. + +<Canvas of={CounterStories.Default} /> + +### Divider + +A counter can be rendered as a divider. + +<Canvas of={CounterStories.Divider} /> + +### Highlight + +A counter value can be highlighted. + +<Canvas of={CounterStories.Highlight} /> + +### Pushed + +A counter can pushed itself away from content. + +<Canvas of={CounterStories.Pushed} /> + +## API + +### Counter + +<ComponentInfo + usage={"import { Counter } from \"@workleap/orbiter-ui\";"} + inherits={[InnerCounter.defaultElement, "styled-component"]} + compact +/> + +<ArgTypes of={InnerCounter} sort="alpha" /> + diff --git a/packages/components/src/counter/docs/Counter.stories.mdx b/packages/components/src/counter/docs/Counter.stories.mdx deleted file mode 100644 index a51d308c3..000000000 --- a/packages/components/src/counter/docs/Counter.stories.mdx +++ /dev/null @@ -1,98 +0,0 @@ -import { ArgsTable, Meta, Story } from "@storybook/addon-docs"; -import { ComponentInfo, Preview, Tagline } from "@stories/components"; -import { Counter, InnerCounter } from "@components/counter"; -import { Div } from "@components/html"; -import { Inline } from "@components/layout"; -import { Text } from "@components/typography"; - -<Meta - title="Components/Counter" - id="counter" -/> - -# Counter - -<Tagline>A counter indicate a running tally.</Tagline> - -<ComponentInfo - usage={"import { Counter } from \"@workleap/orbiter-ui\";"} - githubPath="/packages/components/src/counter" -/> - -## Guidelines - -### When to use - -- When you need to complement the content of another component such as a [tag](?path=/docs/tag--default-story) or a [checkbox](?path=/docs/checkbox--default-story). - -### Content - -- Only use numeric values. -- If you need to display a number above 99, use “99+” instead of the number unless the number is important to the user’s objectives. - -## Usage - -### Default - -A default counter. - -<Preview> - <Story name="default"> - <Counter>15</Counter> - </Story> -</Preview> - -### Divider - -A counter can be rendered as a divider. - -<Preview> - <Story name="divider"> - <Inline alignY="center"> - <Counter variant="divider">100+</Counter> - </Inline> - </Story> -</Preview> - -### Highlight - -A counter value can be highlighted. - -<Preview> - <Story name="highlight"> - <Inline gap={480} alignY="center"> - <Counter highlight>15</Counter> - <Counter highlight variant="divider">100+</Counter> - </Inline> - </Story> -</Preview> - -### Pushed - -A counter can pushed itself away from content. - -<Preview> - <Story name="pushed"> - <Inline gap={480} alignY="center"> - <Div> - <Text>Satellites</Text> <Counter pushed>15</Counter> - </Div> - <Div> - <Text>Satellites</Text> <Counter pushed variant="divider">100+</Counter> - </Div> - </Inline> - </Story> -</Preview> - -## API - -### Counter - -<ComponentInfo - usage={"import { Counter } from \"@workleap/orbiter-ui\";"} - inherits={[InnerCounter.defaultElement, "styled-component"]} - compact -/> - -<ArgsTable of={InnerCounter} sort="alpha" /> - diff --git a/packages/components/src/counter/docs/Counter.stories.tsx b/packages/components/src/counter/docs/Counter.stories.tsx new file mode 100644 index 000000000..f6981a98d --- /dev/null +++ b/packages/components/src/counter/docs/Counter.stories.tsx @@ -0,0 +1,49 @@ +import { Meta, StoryObj } from "@storybook/react"; +import { Counter } from "@components/counter"; +import { Div } from "@components/html"; +import { Inline } from "@components/layout"; +import { Text } from "@components/typography"; + +const meta = { + title: "Components/Counter", + component: Counter, + id: "counter" +} as Meta<typeof Counter>; + +export default meta; + +type Story = StoryObj<typeof Counter>; + +export const Default: Story = { + render: () => ( + <Counter>15</Counter> + ) +}; + +export const Divider: Story = { + render: () => ( + <Counter variant="divider">100+</Counter> + ) +}; + +export const Highlight: Story = { + render: () => ( + <Inline alignY="center" gap={480}> + <Counter highlight>15</Counter> + <Counter highlight variant="divider">100+</Counter> + </Inline> + ) +}; + +export const Pushed: Story = { + render: () => ( + <Inline alignY="center" gap={480}> + <Div> + <Text>Satellites</Text> <Counter pushed>15</Counter> + </Div> + <Div> + <Text>Satellites</Text> <Counter pushed variant="divider">100+</Counter> + </Div> + </Inline> + ) +}; From b936a81e2d1f5cd1c242c7e968e6b8de2d5d305c Mon Sep 17 00:00:00 2001 From: Francis Thibault <francis.thibault@gsoft.com> Date: Mon, 4 Nov 2024 14:39:10 -0500 Subject: [PATCH 49/95] added inputGroup / Transition --- .../input-group/docs/CustomInput.sample.jsx | 31 --- .../src/input-group/docs/InputGroup.mdx | 96 ++++++++++ .../input-group/docs/InputGroup.stories.mdx | 176 ------------------ .../input-group/docs/InputGroup.stories.tsx | 176 ++++++++++++++++++ .../docs/ControlledTransition.sample.jsx | 20 -- ...{Transition.stories.mdx => Transition.mdx} | 15 +- .../transition/docs/Transition.stories.tsx | 41 ++++ 7 files changed, 320 insertions(+), 235 deletions(-) delete mode 100644 packages/components/src/input-group/docs/CustomInput.sample.jsx create mode 100644 packages/components/src/input-group/docs/InputGroup.mdx delete mode 100644 packages/components/src/input-group/docs/InputGroup.stories.mdx create mode 100644 packages/components/src/input-group/docs/InputGroup.stories.tsx delete mode 100644 packages/components/src/transition/docs/ControlledTransition.sample.jsx rename packages/components/src/transition/docs/{Transition.stories.mdx => Transition.mdx} (71%) create mode 100644 packages/components/src/transition/docs/Transition.stories.tsx diff --git a/packages/components/src/input-group/docs/CustomInput.sample.jsx b/packages/components/src/input-group/docs/CustomInput.sample.jsx deleted file mode 100644 index 52f25595f..000000000 --- a/packages/components/src/input-group/docs/CustomInput.sample.jsx +++ /dev/null @@ -1,31 +0,0 @@ -function CustomInput(props) { - const [inputGroupProps] = useInputGroupProps(); - - return ( - <HtmlInput - {...mergeProps( - props, - { - type: "text", - width: "225px", - height: "2.5rem", - border: "hsla(223, 12%, 87%, 1)", - style: { - borderTopLeftRadius: "var(--o-ui-input-border-radius)", - borderBottomLeftRadius: "var(--o-ui-input-border-radius)" - } - }, - inputGroupProps - )} - /> - ); -} - -render(() => { - return ( - <InputGroup> - <CustomInput aria-label="Number of passengers" /> - <Text>passengers</Text> - </InputGroup> - ); -}); diff --git a/packages/components/src/input-group/docs/InputGroup.mdx b/packages/components/src/input-group/docs/InputGroup.mdx new file mode 100644 index 000000000..3c3767609 --- /dev/null +++ b/packages/components/src/input-group/docs/InputGroup.mdx @@ -0,0 +1,96 @@ +import { ArgTypes, Meta, Canvas } from "@storybook/addon-docs"; +import { ComponentInfo, Tagline } from "@stories/components"; +import { InnerInputGroup, InnerTextAddon, InputGroup } from "@components/input-group"; + +import * as InputGroupStories from "./InputGroup.stories.tsx"; + +<Meta of={InputGroupStories} /> + +# InputGroup + +<Tagline>An input group combines an input component with addons.</Tagline> + +<ComponentInfo + usage={"import { InputGroup, TextAddon, InputGroupContext, useInputGroupProps, useInputGroupAddonProps } from \"@workleap/orbiter-ui\";"} + githubPath="/packages/components/src/input-group/src" +/> + +## Usage + +An input group can combine an input with a *start* addon, an *end* addon or *both*. All Orbiter's input can be combined, you can even make it work with a [custom input](#custom-input). + +### Default + +A default input group. + +<Canvas of={InputGroupStories.Default} /> + +### Inputs + +An input group can use any Orbiter's input component. + +<Canvas of={InputGroupStories.Inputs} /> + +### Text addon + +An input group can have a textual addon to offer additional hints. A text addon shouldn't replace a [field label](?path=/docs/field--input#label) or a [field description](?path=/docs/field--input#helpmessage). + +<Canvas of={InputGroupStories.TextAddon} /> + +### Select addon + +An input group can have a select addon. + +<Canvas of={InputGroupStories.SelectAddon} /> + +### Disabled + +An input group can set as disabled the input and the addon(s). + +<Canvas of={InputGroupStories.Disabled} /> + +### Readonly + +An input group can set as readonly the input and the addon(s). + +<Canvas of={InputGroupStories.ReadOnly} /> + +### Fluid + +An input group can take the width of its container. + +<Canvas of={InputGroupStories.Fluid} /> + +### Custom input + +Any input implementing the `InputGroupContext` can integrate with an input group component. This is usually done by using the `useInputGroupProps` hook. + +<Canvas of={InputGroupStories.CustomInputStory} /> + +### Custom addon + +Any addon implementing the `InputGroupContext` can integrate with an input group component. This is usually done by using the `useInputGroupAddonProps` hook. + +<Canvas of={InputGroupStories.CustomAddonStory} /> + +## API + +### InputGroup + +<ComponentInfo + usage={"import { InputGroup } from \"@workleap/orbiter-ui\";"} + inherits={[InnerInputGroup.defaultElement, "styled-component"]} + compact +/> + +<ArgTypes of={InnerInputGroup} sort="alpha" /> + +### TextAddon + +<ComponentInfo + usage={"import { TextAddon } from \"@workleap/orbiter-ui\";"} + inherits={[InnerTextAddon.defaultElement, "styled-component"]} + compact +/> + +<ArgTypes of={InnerTextAddon} sort="alpha" /> diff --git a/packages/components/src/input-group/docs/InputGroup.stories.mdx b/packages/components/src/input-group/docs/InputGroup.stories.mdx deleted file mode 100644 index a79f86a02..000000000 --- a/packages/components/src/input-group/docs/InputGroup.stories.mdx +++ /dev/null @@ -1,176 +0,0 @@ -import { ArgsTable, Meta, Story } from "@storybook/addon-docs"; -import { Autocomplete } from "@components/autocomplete" -import { ComponentInfo, Preview, Tagline } from "@stories/components"; -import { DisclosureArrow } from "@components/disclosure"; -import { IconButton } from "@components/button"; -import { InnerInputGroup, InnerTextAddon, InputGroup } from "@components/input-group"; -import { Item } from "@components/collection"; -import { Menu, MenuTrigger } from "@components/menu"; -import { NumberInput } from "@components/number-input"; -import { Select } from "@components/select"; -import { Stack } from "@components/layout"; -import { Text } from "@components/typography"; -import { TextInput } from "@components/text-input"; - -<Meta - title="Components/InputGroup" - id="input-group" -/> - -# InputGroup - -<Tagline>An input group combines an input component with addons.</Tagline> - -<ComponentInfo - usage={"import { InputGroup, TextAddon, InputGroupContext, useInputGroupProps, useInputGroupAddonProps } from \"@workleap/orbiter-ui\";"} - githubPath="/packages/components/src/input-group/src" -/> - -## Usage - -An input group can combine an input with a *start* addon, an *end* addon or *both*. All Orbiter's input can be combined, you can even make it work with a [custom input](#custom-input). - -### Default - -A default input group. - -<Preview> - <Story name="default"> - <InputGroup> - <TextInput aria-label="Elapsed days" /> - <Text>days</Text> - </InputGroup> - </Story> -</Preview> - -### Inputs - -An input group can use any Orbiter's input component. - -<Preview> - <Story name="inputs"> - <Stack> - <InputGroup> - <Text>https://</Text> - <TextInput aria-label="Url" /> - </InputGroup> - <InputGroup> - <NumberInput aria-label="Number of passengers" /> - <Text>passengers</Text> - </InputGroup> - </Stack> - </Story> -</Preview> - -### Text addon - -An input group can have a textual addon to offer additional hints. A text addon shouldn't replace a [field label](?path=/docs/field--input#label) or a [field description](?path=/docs/field--input#helpmessage). - -<Preview> - <Story name="text addon"> - <InputGroup> - <Text>https://</Text> - <TextInput aria-label="Url" /> - <Text>.space</Text> - </InputGroup> - </Story> -</Preview> - -### Select addon - -An input group can have a select addon. - -<Preview> - <Story name="select addon"> - <InputGroup> - <TextInput aria-label="Elapsed time" /> - <Select defaultSelectedKey="days" aria-label="Period"> - <Item key="days">days</Item> - <Item key="weeks">weeks</Item> - <Item key="years">years</Item> - </Select> - </InputGroup> - </Story> -</Preview> - -### Disabled - -An input group can set as disabled the input and the addon(s). - -<Preview> - <Story name="disabled"> - <InputGroup disabled> - <TextInput aria-label="Duration" /> - <Select defaultSelectedKey="days"> - <Item key="days">days</Item> - <Item key="weeks">weeks</Item> - <Item key="years">years</Item> - </Select> - </InputGroup> - </Story> -</Preview> - -### Readonly - -An input group can set as readonly the input and the addon(s). - -<Preview> - <Story name="readonly"> - <InputGroup readOnly> - <TextInput aria-label="Elapsed time" /> - <Select defaultSelectedKey="days" aria-label="Period"> - <Item key="days">days</Item> - <Item key="weeks">weeks</Item> - <Item key="years">years</Item> - </Select> - </InputGroup> - </Story> -</Preview> - -### Fluid - -An input group can take the width of its container. - -<Preview> - <Story name="fluid"> - <InputGroup fluid> - <Text>https://</Text> - <TextInput aria-label="Url" /> - <Text>.space</Text> - </InputGroup> - </Story> -</Preview> - -### Custom input - -Any input implementing the `InputGroupContext` can integrate with an input group component. This is usually done by using the `useInputGroupProps` hook. - -<Preview filePath="/input-group/docs/CustomInput" /> - -### Custom addon - -Any addon implementing the `InputGroupContext` can integrate with an input group component. This is usually done by using the `useInputGroupAddonProps` hook. - -<Preview filePath="/input-group/docs/CustomAddon" /> - -## API - -### InputGroup - -<ComponentInfo - usage={"import { InputGroup } from \"@workleap/orbiter-ui\";"} - inherits={[InnerInputGroup.defaultElement, "styled-component"]} - compact -/> - -<ArgsTable of={InnerInputGroup} sort="alpha" /> - -### TextAddon - -<ComponentInfo - usage={"import { TextAddon } from \"@workleap/orbiter-ui\";"} - inherits={[InnerTextAddon.defaultElement, "styled-component"]} - compact -/> - -<ArgsTable of={InnerTextAddon} sort="alpha" /> diff --git a/packages/components/src/input-group/docs/InputGroup.stories.tsx b/packages/components/src/input-group/docs/InputGroup.stories.tsx new file mode 100644 index 000000000..738ec8f7b --- /dev/null +++ b/packages/components/src/input-group/docs/InputGroup.stories.tsx @@ -0,0 +1,176 @@ +import { InputGroup, useInputGroupProps, useInputGroupAddonProps } from "@components/input-group"; +import { Item } from "@components/collection"; +import { NumberInput } from "@components/number-input"; +import { Select } from "@components/select"; +import { Stack, Flex } from "@components/layout"; +import { Text } from "@components/typography"; +import { TextInput } from "@components/text-input"; +import { HtmlInput } from "@components/html"; +import { as, mergeProps } from "@components/shared"; + +import { Meta, StoryObj } from "@storybook/react"; + +const meta = { + title: "Components/InputGroup", + component: InputGroup, + id: "input-group" +} as Meta<typeof InputGroup>; + +export default meta; + +type InputGroup = StoryObj<typeof meta>; + +export const Default: InputGroup = { + render: () => ( + <InputGroup> + <TextInput aria-label="Elapsed days" /> + <Text>days</Text> + </InputGroup> + ) +}; + +export const Inputs: InputGroup = { + render: () => ( + <Stack> + <InputGroup> + <Text>https://</Text> + <TextInput aria-label="Url" /> + </InputGroup> + <InputGroup> + <NumberInput aria-label="Number of passengers" /> + <Text>passengers</Text> + </InputGroup> + </Stack> + ) +}; + +export const TextAddon: InputGroup = { + render: () => ( + <InputGroup> + <Text>https://</Text> + <TextInput aria-label="Url" /> + <Text>.space</Text> + </InputGroup> + ) +}; + +export const SelectAddon: InputGroup = { + render: () => ( + <InputGroup> + <TextInput aria-label="Elapsed time" /> + <Select aria-label="Period" defaultSelectedKey="days"> + <Item key="days">days</Item> + <Item key="weeks">weeks</Item> + <Item key="years">years</Item> + </Select> + </InputGroup> + ) +}; + +export const Disabled: InputGroup = { + render: () => ( + <InputGroup disabled> + <TextInput aria-label="Duration" /> + <Select defaultSelectedKey="days"> + <Item key="days">days</Item> + <Item key="weeks">weeks</Item> + <Item key="years">years</Item> + </Select> + </InputGroup> + ) +}; + +export const ReadOnly: InputGroup = { + render: () => ( + <InputGroup readOnly> + <TextInput aria-label="Elapsed time" /> + <Select aria-label="Period" defaultSelectedKey="days"> + <Item key="days">days</Item> + <Item key="weeks">weeks</Item> + <Item key="years">years</Item> + </Select> + </InputGroup> + ) +}; + +export const Fluid: InputGroup = { + render: () => ( + <InputGroup fluid> + <Text>https://</Text> + <TextInput aria-label="Url" /> + <Text>.space</Text> + </InputGroup> + ) +}; + +export const CustomInputStory: InputGroup = { + render: () => { + function CustomInput(props) { + const [inputGroupProps] = useInputGroupProps(); + + return ( + <HtmlInput + {...mergeProps( + props, + { + type: "text", + width: "225px", + height: "2.5rem", + border: "hsla(223, 12%, 87%, 1)", + style: { + borderTopLeftRadius: "var(--o-ui-input-border-radius)", + borderBottomLeftRadius: "var(--o-ui-input-border-radius)" + } + }, + inputGroupProps + )} + /> + ); + } + + return ( + <InputGroup> + <CustomInput aria-label="Number of passengers" /> + <Text>passengers</Text> + </InputGroup> + ); + } +}; + +export const CustomAddonStory: InputGroup = { + render: () => { + const FlexText = as(Flex, Text); + + function CustomAddon({ children, ...props }) { + const [inputGroupAddonProps] = useInputGroupAddonProps(); + + return ( + <FlexText + {...mergeProps( + props, + { + alignItems: "center", + height: "2.5rem", + border: "#ADACAC", + padding: "0px 10px", + style: { + borderTopRightRadius: "var(--o-ui-input-border-radius)", + borderBottomRightRadius: "var(--o-ui-input-border-radius)" + } + }, + inputGroupAddonProps + )} + > + {children} + </FlexText> + ); + } + + return ( + <InputGroup> + <TextInput aria-label="Url" /> + <CustomAddon>.space</CustomAddon> + </InputGroup> + ); + } +}; diff --git a/packages/components/src/transition/docs/ControlledTransition.sample.jsx b/packages/components/src/transition/docs/ControlledTransition.sample.jsx deleted file mode 100644 index 546dae716..000000000 --- a/packages/components/src/transition/docs/ControlledTransition.sample.jsx +++ /dev/null @@ -1,20 +0,0 @@ -() => { - const [isVisible, setIsVisible] = useState(false); - - const handleToggle = useCallback(() => { - setIsVisible(x => !x); - }, [setIsVisible]); - - return ( - <Div minHeight="80px"> - <Button onClick={handleToggle} variant="secondary" marginBottom={160}>Toggle animation</Button> - <Transition - show={isVisible} - enter="o-ui-fade-in" - leave="o-ui-fade-out" - > - <Text>Earth is a small town with many neighborhoods in a very big universe.</Text> - </Transition> - </Div> - ); -}; diff --git a/packages/components/src/transition/docs/Transition.stories.mdx b/packages/components/src/transition/docs/Transition.mdx similarity index 71% rename from packages/components/src/transition/docs/Transition.stories.mdx rename to packages/components/src/transition/docs/Transition.mdx index 62611d284..1bdbce808 100644 --- a/packages/components/src/transition/docs/Transition.stories.mdx +++ b/packages/components/src/transition/docs/Transition.mdx @@ -1,11 +1,10 @@ -import { ArgsTable, Meta } from "@storybook/addon-docs"; -import { ComponentInfo, Preview, Tagline } from "@stories/components"; +import { ArgTypes, Meta, Canvas } from "@storybook/addon-docs"; +import { ComponentInfo, Tagline } from "@stories/components"; import { InnerTransition } from "@components/transition"; -<Meta - title="Components/Transition" - id="transition" -/> +import * as TransitionStories from "./Transition.stories.tsx"; + +<Meta of={TransitionStories} /> # Transition @@ -22,7 +21,7 @@ import { InnerTransition } from "@components/transition"; By default, a transition will enter and leave instantly. To animate your enter/leave transition specify a CSS class for the `enter` and `leave` props. -<Preview filePath="/transition/docs/ControlledTransition" /> +<Canvas of={TransitionStories.ControlledTransition} /> ## API @@ -34,4 +33,4 @@ By default, a transition will enter and leave instantly. To animate your enter/l compact /> -<ArgsTable of={InnerTransition} sort="alpha" /> +<ArgTypes of={InnerTransition} sort="alpha" /> diff --git a/packages/components/src/transition/docs/Transition.stories.tsx b/packages/components/src/transition/docs/Transition.stories.tsx new file mode 100644 index 000000000..38d4d021f --- /dev/null +++ b/packages/components/src/transition/docs/Transition.stories.tsx @@ -0,0 +1,41 @@ +import { Transition } from "@components/transition"; +import { Button } from "@components/button"; +import { Text } from "@components/typography"; +import { Div } from "@components/html"; +import { useCallback, useState } from "react"; + +import { Meta, StoryObj } from "@storybook/react"; + +const meta = { + title: "Components/Transition", + component: Transition, + id: "transition" +} as Meta<typeof Transition>; + +export default meta; + +type TransitionStory = StoryObj<typeof meta>; + +/* eslint-disable react-hooks/rules-of-hooks */ +export const ControlledTransition: TransitionStory = { + render: () => { + const [isVisible, setIsVisible] = useState(false); + + const handleToggle = useCallback(() => { + setIsVisible(x => !x); + }, [setIsVisible]); + + return ( + <Div minHeight="80px"> + <Button marginBottom={160} onClick={handleToggle} variant="secondary">Toggle animation</Button> + <Transition + enter="o-ui-fade-in" + leave="o-ui-fade-out" + show={isVisible} + > + <Text>Earth is a small town with many neighborhoods in a very big universe.</Text> + </Transition> + </Div> + ); + } +}; From c34046e4c55c82c196767520dc6d54a306930f3b Mon Sep 17 00:00:00 2001 From: Victor Trinh <victor.trinh@gsoft.com> Date: Mon, 4 Nov 2024 14:57:20 -0500 Subject: [PATCH 50/95] Content / Footer / Header --- .../docs/{Content.stories.mdx => Content.mdx} | 20 +++++++------------ .../src/placeholders/docs/Content.stories.tsx | 18 +++++++++++++++++ .../docs/{Footer.stories.mdx => Footer.mdx} | 20 +++++++------------ .../src/placeholders/docs/Footer.stories.tsx | 18 +++++++++++++++++ .../docs/{Header.stories.mdx => Header.mdx} | 20 +++++++------------ .../src/placeholders/docs/Header.stories.tsx | 18 +++++++++++++++++ 6 files changed, 75 insertions(+), 39 deletions(-) rename packages/components/src/placeholders/docs/{Content.stories.mdx => Content.mdx} (57%) create mode 100644 packages/components/src/placeholders/docs/Content.stories.tsx rename packages/components/src/placeholders/docs/{Footer.stories.mdx => Footer.mdx} (60%) create mode 100644 packages/components/src/placeholders/docs/Footer.stories.tsx rename packages/components/src/placeholders/docs/{Header.stories.mdx => Header.mdx} (60%) create mode 100644 packages/components/src/placeholders/docs/Header.stories.tsx diff --git a/packages/components/src/placeholders/docs/Content.stories.mdx b/packages/components/src/placeholders/docs/Content.mdx similarity index 57% rename from packages/components/src/placeholders/docs/Content.stories.mdx rename to packages/components/src/placeholders/docs/Content.mdx index dd038b673..52ba51a2f 100644 --- a/packages/components/src/placeholders/docs/Content.stories.mdx +++ b/packages/components/src/placeholders/docs/Content.mdx @@ -1,11 +1,9 @@ -import { ArgsTable, Meta, Story } from "@storybook/addon-docs"; -import { ComponentInfo, Preview, Tagline } from "@stories/components"; -import { Content, InnerContent } from "@components/placeholders"; +import { ArgTypes, Canvas, Meta } from "@storybook/addon-docs"; +import { ComponentInfo, Tagline } from "@stories/components"; +import { InnerContent } from "@components/placeholders"; +import * as ContentStories from "./Content.stories.tsx"; -<Meta - title="Placeholders/Content" - id="content" -/> +<Meta of={ContentStories} /> # Content @@ -20,11 +18,7 @@ import { Content, InnerContent } from "@components/placeholders"; A content placeholder component *provides no specific styling by itself, but receives styling from the parent container*. In addition, a content placeholder will be automatically placed within the container's layout according to Orbiter guidelines. -<Preview> - <Story name="example"> - <Content>The Earth is the cradle of humanity, but mankind cannot stay in the cradle forever.</Content> - </Story> -</Preview> +<Canvas of={ContentStories.Example} /> ## API @@ -36,4 +30,4 @@ A content placeholder component *provides no specific styling by itself, but rec compact /> -<ArgsTable of={InnerContent} sort="alpha" /> +<ArgTypes of={InnerContent} sort="alpha" /> diff --git a/packages/components/src/placeholders/docs/Content.stories.tsx b/packages/components/src/placeholders/docs/Content.stories.tsx new file mode 100644 index 000000000..961bb5f36 --- /dev/null +++ b/packages/components/src/placeholders/docs/Content.stories.tsx @@ -0,0 +1,18 @@ +import { Meta, StoryObj } from "@storybook/react"; +import { Content } from "@components/placeholders"; + +const meta = { + title: "Placeholders/Content", + component: Content, + id: "content" +} as Meta<typeof Content>; + +export default meta; + +type Story = StoryObj<typeof Content>; + +export const Example: Story = { + render: () => ( + <Content>The Earth is the cradle of humanity, but mankind cannot stay in the cradle forever.</Content> + ) +}; diff --git a/packages/components/src/placeholders/docs/Footer.stories.mdx b/packages/components/src/placeholders/docs/Footer.mdx similarity index 60% rename from packages/components/src/placeholders/docs/Footer.stories.mdx rename to packages/components/src/placeholders/docs/Footer.mdx index a9ef972e9..58124ac04 100644 --- a/packages/components/src/placeholders/docs/Footer.stories.mdx +++ b/packages/components/src/placeholders/docs/Footer.mdx @@ -1,11 +1,9 @@ -import { ArgsTable, Meta, Story } from "@storybook/addon-docs"; -import { ComponentInfo, Preview, Tagline } from "@stories/components"; -import { Footer, InnerFooter } from "@components/placeholders"; +import { ArgTypes, Canvas, Meta } from "@storybook/addon-docs"; +import { ComponentInfo, Tagline } from "@stories/components"; +import { InnerFooter } from "@components/placeholders"; +import * as FooterStories from "./Footer.stories.tsx"; -<Meta - title="Placeholders/Footer" - id="footer" -/> +<Meta of={FooterStories} /> # Footer @@ -20,11 +18,7 @@ import { Footer, InnerFooter } from "@components/placeholders"; A folder placeholder component *provides no specific styling by itself, but receives styling from the parent container*. In addition, a footer placeholder will be automatically placed within the container's layout according to Orbiter guidelines. -<Preview> - <Story name="example"> - <Footer>© All rights reserved.</Footer> - </Story> -</Preview> +<Canvas of={FooterStories.Example} /> ## API @@ -36,4 +30,4 @@ A folder placeholder component *provides no specific styling by itself, but rece compact /> -<ArgsTable of={InnerFooter} sort="alpha" /> +<ArgTypes of={InnerFooter} sort="alpha" /> diff --git a/packages/components/src/placeholders/docs/Footer.stories.tsx b/packages/components/src/placeholders/docs/Footer.stories.tsx new file mode 100644 index 000000000..e48d8e88c --- /dev/null +++ b/packages/components/src/placeholders/docs/Footer.stories.tsx @@ -0,0 +1,18 @@ +import { Meta, StoryObj } from "@storybook/react"; +import { Footer } from "@components/placeholders"; + +const meta = { + title: "Placeholders/Footer", + component: Footer, + id: "footer" +} as Meta<typeof Footer>; + +export default meta; + +type Story = StoryObj<typeof Footer>; + +export const Example: Story = { + render: () => ( + <Footer>© All rights reserved.</Footer> + ) +}; diff --git a/packages/components/src/placeholders/docs/Header.stories.mdx b/packages/components/src/placeholders/docs/Header.mdx similarity index 60% rename from packages/components/src/placeholders/docs/Header.stories.mdx rename to packages/components/src/placeholders/docs/Header.mdx index a437392c9..86b99dadd 100644 --- a/packages/components/src/placeholders/docs/Header.stories.mdx +++ b/packages/components/src/placeholders/docs/Header.mdx @@ -1,11 +1,9 @@ -import { ArgsTable, Meta, Story } from "@storybook/addon-docs"; -import { ComponentInfo, Preview, Tagline } from "@stories/components"; -import { Header, InnerHeader } from "@components/placeholders"; +import { ArgTypes, Canvas, Meta } from "@storybook/addon-docs"; +import { ComponentInfo, Tagline } from "@stories/components"; +import { InnerHeader } from "@components/placeholders"; +import * as HeaderStories from "./Header.stories.tsx"; -<Meta - title="Placeholders/Header" - id="header" -/> +<Meta of={HeaderStories} /> # Header @@ -20,11 +18,7 @@ import { Header, InnerHeader } from "@components/placeholders"; An header placeholder component *provides no specific styling by itself, but receives styling from the parent container*. In addition, an header placeholder will be automatically placed within the container's layout according to Orbiter guidelines. -<Preview> - <Story name="example"> - <Header>We are the light that travels into space.</Header> - </Story> -</Preview> +<Canvas of={HeaderStories.Example} /> ## API @@ -36,4 +30,4 @@ An header placeholder component *provides no specific styling by itself, but rec compact /> -<ArgsTable of={InnerHeader} sort="alpha" /> +<ArgTypes of={InnerHeader} sort="alpha" /> diff --git a/packages/components/src/placeholders/docs/Header.stories.tsx b/packages/components/src/placeholders/docs/Header.stories.tsx new file mode 100644 index 000000000..8f92127c8 --- /dev/null +++ b/packages/components/src/placeholders/docs/Header.stories.tsx @@ -0,0 +1,18 @@ +import { Meta, StoryObj } from "@storybook/react"; +import { Header } from "@components/placeholders"; + +const meta = { + title: "Placeholders/Header", + component: Header, + id: "header" +} as Meta<typeof Header>; + +export default meta; + +type Story = StoryObj<typeof Header>; + +export const Example: Story = { + render: () => ( + <Header>We are the light that travels into space.</Header> + ) +}; From af133b5700ff3cf0c705eb30329567cb1e8381fd Mon Sep 17 00:00:00 2001 From: Francis Thibault <francis.thibault@gsoft.com> Date: Mon, 4 Nov 2024 15:59:09 -0500 Subject: [PATCH 51/95] added Lozenge/Popover --- .../input-group/docs/CustomAddon.sample.jsx | 35 --- .../docs/{Lozenge.stories.mdx => Lozenge.mdx} | 81 ++----- .../src/lozenge/docs/Lozenge.stories.tsx | 82 +++++++ .../docs/{Overlay.stories.mdx => Overlay.mdx} | 8 +- .../popover/docs/ControlledPopover.sample.jsx | 21 -- .../components/src/popover/docs/Popover.mdx | 132 ++++++++++++ .../src/popover/docs/Popover.stories.mdx | 201 ------------------ .../src/popover/docs/Popover.stories.tsx | 175 +++++++++++++++ .../popover/docs/PopoverContext.sample.jsx | 26 --- .../docs/PopoverCustomClose.sample.jsx | 23 -- 10 files changed, 406 insertions(+), 378 deletions(-) delete mode 100644 packages/components/src/input-group/docs/CustomAddon.sample.jsx rename packages/components/src/lozenge/docs/{Lozenge.stories.mdx => Lozenge.mdx} (61%) create mode 100644 packages/components/src/lozenge/docs/Lozenge.stories.tsx rename packages/components/src/overlay/docs/{Overlay.stories.mdx => Overlay.mdx} (89%) delete mode 100644 packages/components/src/popover/docs/ControlledPopover.sample.jsx create mode 100644 packages/components/src/popover/docs/Popover.mdx delete mode 100644 packages/components/src/popover/docs/Popover.stories.mdx create mode 100644 packages/components/src/popover/docs/Popover.stories.tsx delete mode 100644 packages/components/src/popover/docs/PopoverContext.sample.jsx delete mode 100644 packages/components/src/popover/docs/PopoverCustomClose.sample.jsx diff --git a/packages/components/src/input-group/docs/CustomAddon.sample.jsx b/packages/components/src/input-group/docs/CustomAddon.sample.jsx deleted file mode 100644 index 18ed76c90..000000000 --- a/packages/components/src/input-group/docs/CustomAddon.sample.jsx +++ /dev/null @@ -1,35 +0,0 @@ -const FlexText = as(Flex, Text); - -function CustomAddon({ children, ...props }) { - const [inputGroupAddonProps] = useInputGroupAddonProps(); - - return ( - <FlexText - {...mergeProps( - props, - { - alignItems: "center", - height: "2.5rem", - border: "#ADACAC", - padding: "0px 10px", - style: { - borderTopRightRadius: "var(--o-ui-input-border-radius)", - borderBottomRightRadius: "var(--o-ui-input-border-radius)" - } - }, - inputGroupAddonProps - )} - > - {children} - </FlexText> - ); -} - -render(() => { - return ( - <InputGroup> - <TextInput aria-label="Url" /> - <CustomAddon>.space</CustomAddon> - </InputGroup> - ); -}); diff --git a/packages/components/src/lozenge/docs/Lozenge.stories.mdx b/packages/components/src/lozenge/docs/Lozenge.mdx similarity index 61% rename from packages/components/src/lozenge/docs/Lozenge.stories.mdx rename to packages/components/src/lozenge/docs/Lozenge.mdx index 1a0efd5a4..f483e9ac5 100644 --- a/packages/components/src/lozenge/docs/Lozenge.stories.mdx +++ b/packages/components/src/lozenge/docs/Lozenge.mdx @@ -1,14 +1,13 @@ -import { ArgsTable, Meta, Story } from "@storybook/addon-docs"; +import { ArgTypes, Meta, Canvas } from "@storybook/addon-docs"; import { SparklesIcon } from "@hopper-ui/icons"; -import { ComponentInfo, Preview, Tagline } from "@stories/components"; +import { ComponentInfo, Tagline } from "@stories/components"; import { Inline } from "@components/layout"; import { InnerLozenge, Lozenge } from "@components/lozenge"; import { Text } from "@components/typography"; -<Meta - title="Components/Lozenge" - id="lozenge" -/> +import * as LozengeStories from "./Lozenge.stories.tsx"; + +<Meta of={LozengeStories}/> # Lozenge @@ -43,87 +42,43 @@ import { Text } from "@components/typography"; This is the lozenge that should be used in most situations. -<Preview> - <Story name="default"> - <Lozenge>New</Lozenge> - </Story> -</Preview> +<Canvas of={LozengeStories.Default} /> ### Icon An [icon](?path=/docs/icon-gallery--page) is used to make it easier for the user to understand the intent of the Lozenge. It is strongly recommended to use a Minor Icon in this particular use case. -<Preview> - <Story name="icon"> - <Lozenge> - <SparklesIcon /> - <Text>New</Text> - </Lozenge> - </Story> -</Preview> +<Canvas of={LozengeStories.IconStory} /> ### Size The lozenge can be used in small version to accommodate smaller spaces, such as a column row. When used in small format, the lozenge should not contain an icon, and text is automatically set to uppercase. -<Preview> - <Story name="size"> - <Inline alignY="center"> - <Lozenge size="sm">New</Lozenge> - <Lozenge>New release</Lozenge> - </Inline> - </Story> -</Preview> +<Canvas of={LozengeStories.Size} /> ### Highlight A lozenge can be highlighted to bring more attention to it when required. This version should be used sparingly to avoid overloading the user interface. -<Preview> - <Story name="highlight"> - <Inline alignY="center"> - <Lozenge size="sm" highlight>New</Lozenge> - <Lozenge highlight>New</Lozenge> - </Inline> - </Story> -</Preview> +<Canvas of={LozengeStories.Highlight} /> ### Fluid A lozenge can take all the available space. -<Preview> - <Story name="fluid"> - <Lozenge fluid>New</Lozenge> - </Story> -</Preview> +<Canvas of={LozengeStories.Fluid} /> ### Warning A lozenge can use a warning color. This version is useful when we need to warn the user of an action that need to be taken in the near future but not immediately. -<Preview> - <Story name="warning"> - <Inline alignY="center"> - <Lozenge variant="warning">Expires soon</Lozenge> - <Lozenge variant="warning" highlight>Expires soon</Lozenge> - </Inline> - </Story> -</Preview> +<Canvas of={LozengeStories.Warning} /> ### Positive This version can be used to highlight a positive message. -<Preview> - <Story name="positive"> - <Inline alignY="center"> - <Lozenge variant="positive">Active</Lozenge> - <Lozenge variant="positive" highlight>Active</Lozenge> - </Inline> - </Story> -</Preview> - +<Canvas of={LozengeStories.Positive} /> ### Negative @@ -131,14 +86,7 @@ This version is used to represent a state or an element that is either in a nega As an example, it can be used to highlight a blocked user or an element that has been deleted but still visible. This should be used with caution as this color scheme can trigger a negative reaction from a user. -<Preview> - <Story name="negative"> - <Inline alignY="center"> - <Lozenge variant="negative">Blocked</Lozenge> - <Lozenge variant="negative" highlight>Blocked</Lozenge> - </Inline> - </Story> -</Preview> +<Canvas of={LozengeStories.Negative} /> ## API @@ -151,5 +99,4 @@ As an example, it can be used to highlight a blocked user or an element that has compact /> -<ArgsTable of={InnerLozenge} sort="alpha" /> - +<ArgTypes of={InnerLozenge} sort="alpha" /> diff --git a/packages/components/src/lozenge/docs/Lozenge.stories.tsx b/packages/components/src/lozenge/docs/Lozenge.stories.tsx new file mode 100644 index 000000000..d02c7554c --- /dev/null +++ b/packages/components/src/lozenge/docs/Lozenge.stories.tsx @@ -0,0 +1,82 @@ +import { SparklesIcon } from "@hopper-ui/icons"; +import { Inline } from "@components/layout"; +import { Lozenge } from "@components/lozenge"; +import { Text } from "@components/typography"; + +import { Meta, StoryObj } from "@storybook/react"; + +const meta = { + title: "Components/Lozenge", + component: Lozenge, + id: "lozenge" +} as Meta<typeof Lozenge>; + +export default meta; + +type LozengeStory = StoryObj<typeof meta>; + +export const Default: LozengeStory = { + render: () => ( + <Lozenge>New</Lozenge> + ) +}; + +export const IconStory: LozengeStory = { + render: () => ( + <Lozenge> + <SparklesIcon /> + <Text>New</Text> + </Lozenge> + ) +}; + +export const Size: LozengeStory = { + render: () => ( + <Inline alignY="center"> + <Lozenge size="sm">New</Lozenge> + <Lozenge>New release</Lozenge> + </Inline> + ) +}; + +export const Highlight: LozengeStory = { + render: () => ( + <Inline alignY="center"> + <Lozenge highlight size="sm">New</Lozenge> + <Lozenge highlight>New</Lozenge> + </Inline> + ) +}; + +export const Fluid: LozengeStory = { + render: () => ( + <Lozenge fluid>New</Lozenge> + ) +}; + +export const Warning: LozengeStory = { + render: () => ( + <Inline alignY="center"> + <Lozenge variant="warning">Expires soon</Lozenge> + <Lozenge highlight variant="warning">Expires soon</Lozenge> + </Inline> + ) +}; + +export const Positive: LozengeStory = { + render: () => ( + <Inline alignY="center"> + <Lozenge variant="positive">Active</Lozenge> + <Lozenge highlight variant="positive">Active</Lozenge> + </Inline> + ) +}; + +export const Negative: LozengeStory = { + render: () => ( + <Inline alignY="center"> + <Lozenge variant="negative">Blocked</Lozenge> + <Lozenge highlight variant="negative">Blocked</Lozenge> + </Inline> + ) +}; diff --git a/packages/components/src/overlay/docs/Overlay.stories.mdx b/packages/components/src/overlay/docs/Overlay.mdx similarity index 89% rename from packages/components/src/overlay/docs/Overlay.stories.mdx rename to packages/components/src/overlay/docs/Overlay.mdx index 0b333ce97..6fbcc5787 100644 --- a/packages/components/src/overlay/docs/Overlay.stories.mdx +++ b/packages/components/src/overlay/docs/Overlay.mdx @@ -1,4 +1,4 @@ -import { ArgsTable, Meta } from "@storybook/addon-docs"; +import { ArgTypes, Meta } from "@storybook/addon-docs"; import { ComponentInfo, Tagline } from "@stories/components"; import { InnerOverlay, InnerOverlayArrow } from "@components/overlay"; @@ -39,7 +39,7 @@ The visibility of the overlay can be toggled by providing a `show` prop. compact /> -<ArgsTable of={InnerOverlay} sort="alpha" /> +<ArgTypes of={InnerOverlay} sort="alpha" /> ### OverlayArrow @@ -49,6 +49,4 @@ The visibility of the overlay can be toggled by providing a `show` prop. compact /> -<ArgsTable of={InnerOverlayArrow} sort="alpha" /> - - +<ArgTypes of={InnerOverlayArrow} sort="alpha" /> diff --git a/packages/components/src/popover/docs/ControlledPopover.sample.jsx b/packages/components/src/popover/docs/ControlledPopover.sample.jsx deleted file mode 100644 index 1d50cac59..000000000 --- a/packages/components/src/popover/docs/ControlledPopover.sample.jsx +++ /dev/null @@ -1,21 +0,0 @@ -() => { - const [isOpen, setIsOpen] = useState(false); - - const handleOpenChange = useCallback((event, newOpen) => { - setIsOpen(newOpen); - console.log(newOpen); - }, [setIsOpen]); - - return ( - <PopoverTrigger - open={isOpen} - onOpenChange={handleOpenChange} - > - <Button variant="secondary">Trigger</Button> - <Popover> - <Heading>WikiSpace</Heading> - <Content>SpaceX designs, manufactures, and launches the world's most advanced rockets and spacecraft. The company was founded in 2002 by Elon Musk to revolutionize space transportation, with the ultimate goal of making life multiplanetary.</Content> - </Popover> - </PopoverTrigger> - ); -}; diff --git a/packages/components/src/popover/docs/Popover.mdx b/packages/components/src/popover/docs/Popover.mdx new file mode 100644 index 000000000..3432c170e --- /dev/null +++ b/packages/components/src/popover/docs/Popover.mdx @@ -0,0 +1,132 @@ +import { ArgTypes, Meta, Canvas } from "@storybook/addon-docs"; +import { ComponentInfo, Tagline } from "@stories/components"; +import { InnerContent } from "@components/placeholders"; +import { InnerHeading } from "@components/typography"; +import { InnerPopover, InnerPopoverTrigger } from "@components/popover"; + +import * as PopoverStories from "./Popover.stories.tsx"; + +<Meta of={PopoverStories} /> + +# Popover + +<Tagline>A Popover can be used to display some content on top of another.</Tagline> + +<ComponentInfo + usage={"import { PopoverTrigger, Popover, Heading, Content, Footer, usePopoverTriggerContext } from \"@workleap/orbiter-ui\";"} + githubPath="/packages/components/src/popover/src" +/> + +## Guidelines + +### Content + +- Minimally have a heading and some content. + +### Popover vs Tooltip + +- A popover is not meant to be used as a [tooltip](https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Roles/tooltip_role) element. If you need a component that behaves like one use Orbiter's [tooltip](?path=/docs/tooltip--default-story) component instead. + +## Usage + +A popover trigger accepts exactly two children: the element that triggers the opening of the popover and the popover content. A trigger can be any component that accepts a `ref` and any other props passed from popover. + +### Default + +A default popover must have a heading and content. + +<Canvas of={PopoverStories.Default} /> + +### Buttons + +A popover can have a single [button](?path=/docs/button--default-story): + +<Canvas of={PopoverStories.ButtonStory} /> + +Or a [group of button](?path=/docs/button--default-story#button-group): + +<Canvas of={PopoverStories.ButtonGroupStory} /> + +### Footer + +A popover can have footer text. + +<Canvas of={PopoverStories.FooterStory} /> + +### Position + +A popover can open at different positions. + +<Canvas of={PopoverStories.Position} /> + +### Popover context + +A popover `isOpen` state or `close` function can be retrieved from `usePopoverTriggerContext`. + +<Canvas of={PopoverStories.Context} /> + +### Dismissable + +By default, a popover will dismiss *on outside interactions* and `esc` keydown. However, in some cases, you might want to force the user to explicitly dismiss the popover with a targeted call to action. This is what the `dismissable` prop is for. + +You can set the `dismissable` prop to `false` and render a call to action which will manually dismiss the popover by calling a `close` function retrieved from the `usePopoverTriggerContext` hook. + +Inlining the call to `usePopoverTriggerContext` in `PopoverTrigger` will not work. + +<Canvas of={PopoverStories.CustomClose} /> + +### Disabled trigger + +A popover will not open when its trigger is disabled. + +<Canvas of={PopoverStories.DisabledTrigger} /> + +### Controlled + +A popover `open` state can be handled in controlled mode. + +<Canvas of={PopoverStories.Controlled} /> + +## API + +### PopoverTrigger + +<ComponentInfo + usage={"import { PopoverTrigger } from \"@workleap/orbiter-ui\";"} + inherits={[InnerPopoverTrigger.defaultElement, "styled-component"]} + compact +/> + +<ArgTypes of={InnerPopoverTrigger} sort="alpha" /> + +### Popover + +<ComponentInfo + usage={"import { Popover } from \"@workleap/orbiter-ui\";"} + slots={["heading", "content", "button", "button-group", "footer"]} + inherits={[InnerPopover.defaultElement, "styled-component"]} + compact +/> + +<ArgTypes of={InnerPopover} sort="alpha" /> + +### Heading + +<ComponentInfo + usage={"import { Heading } from \"@workleap/orbiter-ui\";"} + inherits={[InnerHeading.defaultElement, "styled-component"]} + compact +/> + +<ArgTypes of={InnerHeading} sort="alpha" /> + +### Content + +<ComponentInfo + usage={"import { Content } from \"@workleap/orbiter-ui\";"} + inherits={[InnerContent.defaultElement, "styled-component"]} + compact +/> + +<ArgTypes of={InnerContent} sort="alpha" /> + diff --git a/packages/components/src/popover/docs/Popover.stories.mdx b/packages/components/src/popover/docs/Popover.stories.mdx deleted file mode 100644 index 914ff032f..000000000 --- a/packages/components/src/popover/docs/Popover.stories.mdx +++ /dev/null @@ -1,201 +0,0 @@ -import { ArgsTable, Meta, Story } from "@storybook/addon-docs"; -import { Button, ButtonGroup } from "@components/button"; -import { ComponentInfo, Preview, Tagline } from "@stories/components"; -import { Content, Footer, InnerContent } from "@components/placeholders"; -import { Heading, InnerHeading } from "@components/typography"; -import { InnerPopover, InnerPopoverTrigger, Popover, PopoverTrigger } from "@components/popover"; - -<Meta - title="Components/Popover" - id="popover" -/> - -# Popover - -<Tagline>A Popover can be used to display some content on top of another.</Tagline> - -<ComponentInfo - usage={"import { PopoverTrigger, Popover, Heading, Content, Footer, usePopoverTriggerContext } from \"@workleap/orbiter-ui\";"} - githubPath="/packages/components/src/popover/src" -/> - -## Guidelines - -### Content - -- Minimally have a heading and some content. - -### Popover vs Tooltip - -- A popover is not meant to be used as a [tooltip](https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Roles/tooltip_role) element. If you need a component that behaves like one use Orbiter's [tooltip](?path=/docs/tooltip--default-story) component instead. - -## Usage - -A popover trigger accepts exactly two children: the element that triggers the opening of the popover and the popover content. A trigger can be any component that accepts a `ref` and any other props passed from popover. - -### Default - -A default popover must have a heading and content. - -<Preview> - <Story name="default"> - <PopoverTrigger> - <Button variant="secondary">Trigger</Button> - <Popover> - <Heading>WikiSpace</Heading> - <Content>SpaceX designs, manufactures, and launches the world's most advanced rockets and spacecraft. The company was founded in 2002 by Elon Musk to revolutionize space transportation, with the ultimate goal of making life multi-planetary.</Content> - </Popover> - </PopoverTrigger> - </Story> -</Preview> - -### Buttons - -A popover can have a single [button](?path=/docs/button--default-story): - -<Preview> - <Story name="button"> - <PopoverTrigger> - <Button variant="secondary">Trigger</Button> - <Popover> - <Heading>WikiSpace</Heading> - <Content>SpaceX designs, manufactures, and launches the world's most advanced rockets and spacecraft. The company was founded in 2002 by Elon Musk to revolutionize space transportation, with the ultimate goal of making life multi-planetary.</Content> - <Button variant="primary">Got it</Button> - </Popover> - </PopoverTrigger> - </Story> -</Preview> - -Or a [group of button](?path=/docs/button--default-story#button-group): - -<Preview> - <Story name="button group"> - <PopoverTrigger> - <Button variant="secondary">Trigger</Button> - <Popover> - <Heading>WikiSpace</Heading> - <Content>SpaceX designs, manufactures, and launches the world's most advanced rockets and spacecraft. The company was founded in 2002 by Elon Musk to revolutionize space transportation, with the ultimate goal of making life multi-planetary.</Content> - <ButtonGroup> - <Button variant="secondary">Next</Button> - <Button variant="primary">Got it</Button> - </ButtonGroup> - </Popover> - </PopoverTrigger> - </Story> -</Preview> - -### Footer - -A popover can have footer text. - -<Preview> - <Story name="footer"> - <PopoverTrigger> - <Button variant="secondary">Trigger</Button> - <Popover> - <Heading>WikiSpace</Heading> - <Content>SpaceX designs, manufactures, and launches the world's most advanced rockets and spacecraft. The company was founded in 2002 by Elon Musk to revolutionize space transportation, with the ultimate goal of making life multi-planetary.</Content> - <Button variant="primary">Got it</Button> - <Footer>All right reserved.</Footer> - </Popover> - </PopoverTrigger> - </Story> -</Preview> - -### Position - -A popover can open at different positions. - -<Preview> - <Story name="position"> - <PopoverTrigger position="right"> - <Button variant="secondary">Trigger</Button> - <Popover> - <Heading>WikiSpace</Heading> - <Content>SpaceX designs, manufactures, and launches the world's most advanced rockets and spacecraft. The company was founded in 2002 by Elon Musk to revolutionize space transportation, with the ultimate goal of making life multi-planetary.</Content> - </Popover> - </PopoverTrigger> - </Story> -</Preview> - -### Popover context - -A popover `isOpen` state or `close` function can be retrieved from `usePopoverTriggerContext`. - -<Preview filePath="/popover/docs/PopoverContext" /> - -### Dismissable - -By default, a popover will dismiss *on outside interactions* and `esc` keydown. However, in some cases, you might want to force the user to explicitly dismiss the popover with a targeted call to action. This is what the `dismissable` prop is for. - -You can set the `dismissable` prop to `false` and render a call to action which will manually dismiss the popover by calling a `close` function retrieved from the `usePopoverTriggerContext` hook. - -Inlining the call to `usePopoverTriggerContext` in `PopoverTrigger` will not work. - -<Preview filePath="/popover/docs/PopoverCustomClose" /> - -### Disabled trigger - -A popover will not open when its trigger is disabled. - -<Preview> - <Story name="disabled trigger"> - <PopoverTrigger> - <Button disabled variant="secondary">Trigger</Button> - <Popover> - <Heading>WikiSpace</Heading> - <Content>SpaceX designs, manufactures, and launches the world's most advanced rockets and spacecraft. The company was founded in 2002 by Elon Musk to revolutionize space transportation, with the ultimate goal of making life multi-planetary.</Content> - </Popover> - </PopoverTrigger> - </Story> -</Preview> - -### Controlled - -A popover `open` state can be handled in controlled mode. - -<Preview filePath="/popover/docs/ControlledPopover" /> - -## API - -### PopoverTrigger - -<ComponentInfo - usage={"import { PopoverTrigger } from \"@workleap/orbiter-ui\";"} - inherits={[InnerPopoverTrigger.defaultElement, "styled-component"]} - compact -/> - -<ArgsTable of={InnerPopoverTrigger} sort="alpha" /> - -### Popover - -<ComponentInfo - usage={"import { Popover } from \"@workleap/orbiter-ui\";"} - slots={["heading", "content", "button", "button-group", "footer"]} - inherits={[InnerPopover.defaultElement, "styled-component"]} - compact -/> - -<ArgsTable of={InnerPopover} sort="alpha" /> - -### Heading - -<ComponentInfo - usage={"import { Heading } from \"@workleap/orbiter-ui\";"} - inherits={[InnerHeading.defaultElement, "styled-component"]} - compact -/> - -<ArgsTable of={InnerHeading} sort="alpha" /> - -### Content - -<ComponentInfo - usage={"import { Content } from \"@workleap/orbiter-ui\";"} - inherits={[InnerContent.defaultElement, "styled-component"]} - compact -/> - -<ArgsTable of={InnerContent} sort="alpha" /> - diff --git a/packages/components/src/popover/docs/Popover.stories.tsx b/packages/components/src/popover/docs/Popover.stories.tsx new file mode 100644 index 000000000..e3352aeb5 --- /dev/null +++ b/packages/components/src/popover/docs/Popover.stories.tsx @@ -0,0 +1,175 @@ +import { Button, ButtonGroup } from "@components/button"; +import { Content, Footer } from "@components/placeholders"; +import { Heading } from "@components/typography"; +import { Popover, PopoverTrigger, usePopoverTriggerContext } from "@components/popover"; +import { useCallback, useState, forwardRef } from "react"; + +import { Meta, StoryObj } from "@storybook/react"; + +const meta = { + title: "Components/Popover", + component: Popover, + id: "popover" +} as Meta<typeof Popover>; + +export default meta; + +type PopoverStory = StoryObj<typeof meta>; + +export const Default: PopoverStory = { + render: () => ( + <PopoverTrigger> + <Button variant="secondary">Trigger</Button> + <Popover> + <Heading>WikiSpace</Heading> + <Content>SpaceX designs, manufactures, and launches the world's most advanced rockets and spacecraft. The company was founded in 2002 by Elon Musk to revolutionize space transportation, with the ultimate goal of making life multi-planetary.</Content> + </Popover> + </PopoverTrigger> + ) +}; + +export const ButtonStory: PopoverStory = { + render: () => ( + <PopoverTrigger> + <Button variant="secondary">Trigger</Button> + <Popover> + <Heading>WikiSpace</Heading> + <Content>SpaceX designs, manufactures, and launches the world's most advanced rockets and spacecraft. The company was founded in 2002 by Elon Musk to revolutionize space transportation, with the ultimate goal of making life multi-planetary.</Content> + <Button variant="primary">Got it</Button> + </Popover> + </PopoverTrigger> + ) +}; + +export const ButtonGroupStory: PopoverStory = { + render: () => ( + <PopoverTrigger> + <Button variant="secondary">Trigger</Button> + <Popover> + <Heading>WikiSpace</Heading> + <Content>SpaceX designs, manufactures, and launches the world's most advanced rockets and spacecraft. The company was founded in 2002 by Elon Musk to revolutionize space transportation, with the ultimate goal of making life multi-planetary.</Content> + <ButtonGroup> + <Button variant="secondary">Next</Button> + <Button variant="primary">Got it</Button> + </ButtonGroup> + </Popover> + </PopoverTrigger> + ) +}; + +export const FooterStory: PopoverStory = { + render: () => ( + <PopoverTrigger> + <Button variant="secondary">Trigger</Button> + <Popover> + <Heading>WikiSpace</Heading> + <Content>SpaceX designs, manufactures, and launches the world's most advanced rockets and spacecraft. The company was founded in 2002 by Elon Musk to revolutionize space transportation, with the ultimate goal of making life multi-planetary.</Content> + <Button variant="primary">Got it</Button> + <Footer>All right reserved.</Footer> + </Popover> + </PopoverTrigger> + ) +}; + +export const Position: PopoverStory = { + render: () => ( + <PopoverTrigger position="right"> + <Button variant="secondary">Trigger</Button> + <Popover> + <Heading>WikiSpace</Heading> + <Content>SpaceX designs, manufactures, and launches the world's most advanced rockets and spacecraft. The company was founded in 2002 by Elon Musk to revolutionize space transportation, with the ultimate goal of making life multi-planetary.</Content> + </Popover> + </PopoverTrigger> + ) +}; + +export const Context: PopoverStory = { + render: () => { + const HighlightedTrigger = forwardRef(({ ...rest }, ref) => { + const { isOpen } = usePopoverTriggerContext(); + + return ( + <Button + {...rest} + ref={ref} + variant={isOpen ? "primary" : "secondary"} + > + Trigger + </Button> + ); + }); + + return ( + <PopoverTrigger> + <HighlightedTrigger /> + <Popover> + <Heading>WikiSpace</Heading> + <Content>SpaceX designs, manufactures, and launches the world's most advanced rockets and spacecraft. The company was founded in 2002 by Elon Musk to revolutionize space transportation, with the ultimate goal of making life multiplanetary.</Content> + </Popover> + </PopoverTrigger> + ); + } +}; + +export const CustomClose: PopoverStory = { + render: () => { + const CustomClosePopover = forwardRef(({ ...rest }, ref) => { + const { close } = usePopoverTriggerContext(); + + return ( + <Popover + {...rest} + ref={ref} + > + <Heading>WikiSpace</Heading> + <Content>SpaceX designs, manufactures, and launches the world's most advanced rockets and spacecraft. The company was founded in 2002 by Elon Musk to revolutionize space transportation, with the ultimate goal of making life multiplanetary.</Content> + <Button onClick={close} variant="secondary">Close</Button> + </Popover> + ); + }); + + return ( + <PopoverTrigger dismissable={false}> + <Button variant="secondary">Trigger</Button> + <CustomClosePopover /> + </PopoverTrigger> + ); + } +}; + +export const DisabledTrigger: PopoverStory = { + render: () => ( + <PopoverTrigger> + <Button disabled variant="secondary">Trigger</Button> + <Popover> + <Heading>WikiSpace</Heading> + <Content>SpaceX designs, manufactures, and launches the world's most advanced rockets and spacecraft. The company was founded in 2002 by Elon Musk to revolutionize space transportation, with the ultimate goal of making life multi-planetary.</Content> + </Popover> + </PopoverTrigger> + ) +}; + +/* eslint-disable react-hooks/rules-of-hooks */ +export const Controlled: PopoverStory = { + render: () => { + const [isOpen, setIsOpen] = useState(false); + + const handleOpenChange = useCallback((event, newOpen) => { + setIsOpen(newOpen); + console.log(newOpen); + }, [setIsOpen]); + + return ( + <PopoverTrigger + onOpenChange={handleOpenChange} + open={isOpen} + > + <Button variant="secondary">Trigger</Button> + <Popover> + <Heading>WikiSpace</Heading> + <Content>SpaceX designs, manufactures, and launches the world's most advanced rockets and spacecraft. The company was founded in 2002 by Elon Musk to revolutionize space transportation, with the ultimate goal of making life multiplanetary.</Content> + </Popover> + </PopoverTrigger> + ); + } +}; diff --git a/packages/components/src/popover/docs/PopoverContext.sample.jsx b/packages/components/src/popover/docs/PopoverContext.sample.jsx deleted file mode 100644 index c636dd4e0..000000000 --- a/packages/components/src/popover/docs/PopoverContext.sample.jsx +++ /dev/null @@ -1,26 +0,0 @@ -const HighlightedTrigger = forwardRef(({ children, ...rest }, ref) => { - const { isOpen } = usePopoverTriggerContext(); - - return ( - <Button - {...rest} - variant={isOpen ? "primary" : "secondary"} - ref={ref} - > - Trigger - </Button> - ); -}); - -render(() => { - return ( - <PopoverTrigger> - <HighlightedTrigger /> - <Popover> - <Heading>WikiSpace</Heading> - <Content>SpaceX designs, manufactures, and launches the world's most advanced rockets and spacecraft. The company was founded in 2002 by Elon Musk to revolutionize space transportation, with the ultimate goal of making life multiplanetary.</Content> - </Popover> - </PopoverTrigger> - ); -}); - diff --git a/packages/components/src/popover/docs/PopoverCustomClose.sample.jsx b/packages/components/src/popover/docs/PopoverCustomClose.sample.jsx deleted file mode 100644 index 834442a97..000000000 --- a/packages/components/src/popover/docs/PopoverCustomClose.sample.jsx +++ /dev/null @@ -1,23 +0,0 @@ -const CustomClosePopover = forwardRef(({ children, ...rest }, ref) => { - const { close } = usePopoverTriggerContext(); - - return ( - <Popover - {...rest} - ref={ref} - > - <Heading>WikiSpace</Heading> - <Content>SpaceX designs, manufactures, and launches the world's most advanced rockets and spacecraft. The company was founded in 2002 by Elon Musk to revolutionize space transportation, with the ultimate goal of making life multiplanetary.</Content> - <Button onClick={close} variant="secondary">Close</Button> - </Popover> - ); -}); - -render(() => { - return ( - <PopoverTrigger dismissable={false}> - <Button variant="secondary">Trigger</Button> - <CustomClosePopover /> - </PopoverTrigger> - ); -}); From 71e5db127830fd6308168038e2b2047ed765abb3 Mon Sep 17 00:00:00 2001 From: Alexandre Asselin <alexandre.asselin@gsoft.com> Date: Mon, 4 Nov 2024 16:18:07 -0500 Subject: [PATCH 52/95] update doc features --- .storybook/components/table/Table.tsx | 16 +- .../themed-snippet/useThemedSnippet.ts | 1 + .storybook/decorators/{index.js => index.ts} | 0 ... => withBackgroundMatchingColorScheme.tsx} | 2 +- ...teredCanvas.jsx => withCenteredCanvas.tsx} | 0 .storybook/decorators/withDocsContainer.jsx | 21 - .storybook/decorators/withDocsContainer.tsx | 11 + .storybook/decorators/withThemeProvider.jsx | 21 - .storybook/decorators/withThemeProvider.tsx | 35 ++ .storybook/main.ts | 6 +- .storybook/preview.tsx | 11 +- .storybook/styles/docs.css | 418 ++++++++++++++++++ .storybook/styles/index.ts | 1 + docs/features/{As.stories.mdx => As.mdx} | 10 +- ...tyles.stories.mdx => ResponsiveStyles.mdx} | 24 +- docs/features/ResponsiveStyles.stories.tsx | 29 ++ .../features/{Slots.stories.mdx => Slots.mdx} | 24 +- .../ColorSchemeToggle.sample.jsx | 23 - ...orSchemes.stories.mdx => ColorSchemes.mdx} | 39 +- .../color-schemes/ColorSchemes.stories.tsx | 69 +++ ...renceTable.jsx => PropsReferenceTable.tsx} | 17 +- ...{StyleProps.stories.mdx => StyleProps.mdx} | 81 ++-- .../style-props/StyleProps.stories.tsx | 29 ++ ...PaletteTable.jsx => ColorPaletteTable.tsx} | 25 +- .../tokens/{TokenTable.jsx => TokenTable.tsx} | 80 ++-- .../tokens/{Tokens.stories.mdx => Tokens.mdx} | 18 +- docs/features/tokens/Tokens.stories.tsx | 24 + .../tokens/{Tokens.jsx => Tokens.tsx} | 0 ...tallation.stories.mdx => Installation.mdx} | 28 +- docs/getting-started/Platforms.mdx | 29 ++ docs/getting-started/Platforms.stories.mdx | 14 - .../{icons.stories.mdx => icons.mdx} | 22 +- package.json | 1 - pnpm-lock.yaml | 3 - 34 files changed, 825 insertions(+), 307 deletions(-) rename .storybook/decorators/{index.js => index.ts} (100%) rename .storybook/decorators/{withBackgroundMatchingColorScheme.jsx => withBackgroundMatchingColorScheme.tsx} (98%) rename .storybook/decorators/{withCenteredCanvas.jsx => withCenteredCanvas.tsx} (100%) delete mode 100644 .storybook/decorators/withDocsContainer.jsx create mode 100644 .storybook/decorators/withDocsContainer.tsx delete mode 100644 .storybook/decorators/withThemeProvider.jsx create mode 100644 .storybook/decorators/withThemeProvider.tsx create mode 100644 .storybook/styles/docs.css rename docs/features/{As.stories.mdx => As.mdx} (90%) rename docs/features/{ResponsiveStyles.stories.mdx => ResponsiveStyles.mdx} (75%) create mode 100644 docs/features/ResponsiveStyles.stories.tsx rename docs/features/{Slots.stories.mdx => Slots.mdx} (90%) delete mode 100644 docs/features/color-schemes/ColorSchemeToggle.sample.jsx rename docs/features/color-schemes/{ColorSchemes.stories.mdx => ColorSchemes.mdx} (66%) create mode 100644 docs/features/color-schemes/ColorSchemes.stories.tsx rename docs/features/style-props/{PropsReferenceTable.jsx => PropsReferenceTable.tsx} (82%) rename docs/features/style-props/{StyleProps.stories.mdx => StyleProps.mdx} (94%) create mode 100644 docs/features/style-props/StyleProps.stories.tsx rename docs/features/tokens/{ColorPaletteTable.jsx => ColorPaletteTable.tsx} (65%) rename docs/features/tokens/{TokenTable.jsx => TokenTable.tsx} (67%) rename docs/features/tokens/{Tokens.stories.mdx => Tokens.mdx} (93%) create mode 100644 docs/features/tokens/Tokens.stories.tsx rename docs/features/tokens/{Tokens.jsx => Tokens.tsx} (100%) rename docs/getting-started/{Installation.stories.mdx => Installation.mdx} (86%) create mode 100644 docs/getting-started/Platforms.mdx delete mode 100644 docs/getting-started/Platforms.stories.mdx rename docs/materials/{icons.stories.mdx => icons.mdx} (92%) diff --git a/.storybook/components/table/Table.tsx b/.storybook/components/table/Table.tsx index d1609478c..e1b90af48 100644 --- a/.storybook/components/table/Table.tsx +++ b/.storybook/components/table/Table.tsx @@ -1,13 +1,8 @@ /* eslint-disable react/no-array-index-key */ import { isPlainObject, isString, mergeClasses } from "@components/shared"; - -import { components } from "@storybook/components"; import { isElement } from "react-is"; import { ComponentProps } from "react"; -const MdxTable = components.table; -type MdxTableProps = ComponentProps<typeof MdxTable>; - interface Column { title: string; headerClassName?: string; @@ -22,7 +17,7 @@ interface Row { style?: object; } -interface TableProps { +export interface TableProps extends TableRawProps { columns: string[] | Column[]; rows: any[] | Row[]; headerClassName?: string; @@ -30,8 +25,7 @@ interface TableProps { fluid?: boolean; } - -function ensureRowsValuesMatchColumns(columns, rows) { +function ensureRowsValuesMatchColumns(columns: TableProps["columns"], rows: TableProps["rows"]) { const columnsCount = columns.length; rows.forEach((x, index) => { @@ -41,7 +35,7 @@ function ensureRowsValuesMatchColumns(columns, rows) { }); } -interface TableRawProps extends MdxTableProps { +interface TableRawProps extends ComponentProps<"table"> { fluid?: boolean; } @@ -52,9 +46,9 @@ function TableRaw({ fluid, className, children, ...rest }: TableRawProps) { ); return ( - <MdxTable className={classes} {...rest}> + <table className={classes} {...rest}> {children} - </MdxTable> + </table> ); } diff --git a/.storybook/components/themed-snippet/useThemedSnippet.ts b/.storybook/components/themed-snippet/useThemedSnippet.ts index 52c5571b8..89159c95e 100644 --- a/.storybook/components/themed-snippet/useThemedSnippet.ts +++ b/.storybook/components/themed-snippet/useThemedSnippet.ts @@ -5,6 +5,7 @@ import { useContext, useMemo } from "react"; export function useThemedSnippet(snippets: string | Record<string, string>) { const { globals } = useContext(DocsContext) as any; const theme = globals?.theme; + return useMemo(() => { if (isNil(snippets) || isString(snippets)) { return snippets; diff --git a/.storybook/decorators/index.js b/.storybook/decorators/index.ts similarity index 100% rename from .storybook/decorators/index.js rename to .storybook/decorators/index.ts diff --git a/.storybook/decorators/withBackgroundMatchingColorScheme.jsx b/.storybook/decorators/withBackgroundMatchingColorScheme.tsx similarity index 98% rename from .storybook/decorators/withBackgroundMatchingColorScheme.jsx rename to .storybook/decorators/withBackgroundMatchingColorScheme.tsx index fefb732ee..078905521 100644 --- a/.storybook/decorators/withBackgroundMatchingColorScheme.jsx +++ b/.storybook/decorators/withBackgroundMatchingColorScheme.tsx @@ -5,7 +5,7 @@ const StyleElementId = "story-background-color"; const BackgroundColors = { light: "#FFFFFF", - dark: "#272626" + dark: "#1d1d1c" }; export function withBackgroundMatchingColorScheme(story, context) { diff --git a/.storybook/decorators/withCenteredCanvas.jsx b/.storybook/decorators/withCenteredCanvas.tsx similarity index 100% rename from .storybook/decorators/withCenteredCanvas.jsx rename to .storybook/decorators/withCenteredCanvas.tsx diff --git a/.storybook/decorators/withDocsContainer.jsx b/.storybook/decorators/withDocsContainer.jsx deleted file mode 100644 index 2a6c69530..000000000 --- a/.storybook/decorators/withDocsContainer.jsx +++ /dev/null @@ -1,21 +0,0 @@ -import { DocsContainer } from "@storybook/addon-docs"; -import { ThemeProvider } from "@components/styling"; - -function ThemedDocsContainer({ context, children }) { - - return ( - <ThemeProvider colorScheme="light"> - {children} - </ThemeProvider> - ); -} - -export function withDocsContainer(context, children) { - return ( - <DocsContainer context={context}> - <ThemedDocsContainer context={context}> - {children} - </ThemedDocsContainer> - </DocsContainer> - ); -} diff --git a/.storybook/decorators/withDocsContainer.tsx b/.storybook/decorators/withDocsContainer.tsx new file mode 100644 index 000000000..a71f27a54 --- /dev/null +++ b/.storybook/decorators/withDocsContainer.tsx @@ -0,0 +1,11 @@ +import { ThemeProvider } from "@components/styling"; +import { DocsContainer } from "@storybook/blocks"; + + +export function ThemedDocsContainer({ children, ...props }) { + return ( + <ThemeProvider colorScheme="light"> + <DocsContainer {...props}>{children}</DocsContainer>; + </ThemeProvider> + ); +} diff --git a/.storybook/decorators/withThemeProvider.jsx b/.storybook/decorators/withThemeProvider.jsx deleted file mode 100644 index 373e74c3f..000000000 --- a/.storybook/decorators/withThemeProvider.jsx +++ /dev/null @@ -1,21 +0,0 @@ -import { ThemeProvider } from "@components/styling"; - -import { isChromatic } from "../env"; - -export function withThemeProvider(story, context) { - const { viewMode } = context; - // const globals = getGlobals(context); - const isDocStory = context.viewMode === "docs"; - - const colorSchemes = (context.globals.theme ? [context.globals.theme] : ["light"]); - - return ( - <ThemeProvider - colorScheme={colorSchemes} - // min-height ensure popup components renders correctly in chromatic tests. - height={viewMode === "story" || isChromatic ? "600px" : undefined} - > - {story()} - </ThemeProvider> - ); -} diff --git a/.storybook/decorators/withThemeProvider.tsx b/.storybook/decorators/withThemeProvider.tsx new file mode 100644 index 000000000..0ea7cfb1d --- /dev/null +++ b/.storybook/decorators/withThemeProvider.tsx @@ -0,0 +1,35 @@ +import { ThemeProvider } from "@components/styling"; +import { isChromatic } from "../env"; +import { useEffect, useState, ReactNode } from "react"; + +export function withThemeProvider(story, context) { + // const { viewMode } = context; + return ( + <ThemeProviderDecorator context={context}> + {story()} + </ThemeProviderDecorator> + ); +} + +interface ThemeProviderDecorator { + children: ReactNode; + context: any; +} + +function ThemeProviderDecorator({ children, context }: ThemeProviderDecorator) { + const [colorScheme, setColorScheme] = useState("light"); + + useEffect(() => { + setColorScheme(context.globals.theme); + }, [context]); + + return ( + <ThemeProvider + colorScheme={colorScheme} + // min-height ensure popup components renders correctly in chromatic tests. + height={context.viewMode === "story" || isChromatic ? "600px" : undefined} + > + {children} + </ThemeProvider> + ); +} diff --git a/.storybook/main.ts b/.storybook/main.ts index fd7ee49b5..b67628bcb 100644 --- a/.storybook/main.ts +++ b/.storybook/main.ts @@ -15,6 +15,8 @@ if (includeDocs) { // "../docs/**/*.stories.mdx", // "../packages/**/docs/**/*.mdx", // "!../packages/**/docs/**/*.stories.mdx", + "../docs/**/!(*.stories).mdx", + "../docs/**/*.stories.tsx", "../packages/**/docs/!(*.stories|IndexFileUsage).mdx", "../packages/**/docs/*.stories.tsx" ]; @@ -52,7 +54,9 @@ const storybookConfig: StorybookConfig = { typescript: { reactDocgen: "react-docgen-typescript", reactDocgenTypescriptOptions: { - shouldExtractLiteralValuesFromEnum: true, + skipChildrenPropWithoutDoc: false, + // shouldExtractLiteralValuesFromEnum: true, + // shouldExtractValuesFromUnion: true, // 👇 Default prop filter, which excludes props from node_modules propFilter: prop => (prop.parent ? !/node_modules/.test(prop.parent.fileName) : true) } diff --git a/.storybook/preview.tsx b/.storybook/preview.tsx index e8abff977..333976c89 100644 --- a/.storybook/preview.tsx +++ b/.storybook/preview.tsx @@ -1,6 +1,6 @@ // import { viewport, withHopperProvider } from "./storybook-addon/index"; import { viewport } from "./storybook-addon/index"; -import { withBackgroundMatchingColorScheme, withCenteredCanvas, withThemeProvider } from "./decorators"; +import { withBackgroundMatchingColorScheme, withCenteredCanvas, ThemedDocsContainer, withThemeProvider } from "./decorators"; import "./stories.css"; import { isChromatic } from "./env"; import { Themes } from "./styles/themes"; @@ -11,6 +11,7 @@ import "@components/index.css"; import "./styles"; import "@hopper-ui/tokens/fonts.css"; import { Highlight } from "./mdx"; +import { Code } from "./components/code"; if (!isChromatic) { // Custom font makes chromatic inconsistent and cause "false positive". View https://www.chromatic.com/docs/resource-loading#loading-custom-fonts. @@ -35,6 +36,7 @@ const preview: Preview = { viewport, docs: { theme: Themes.docs, + container: ThemedDocsContainer, inlineStories: true, canvas: { sourceState: "shown" @@ -46,7 +48,6 @@ const preview: Preview = { type: "code", language: "tsx", transform: (src: string) => { - console.log("formatCode", src); let newSource = src.match(/render:\s*\(\)\s*=>\s*([\s\S]*)}/)![1].trim(); newSource = newSource.replace(/\breturn\b/g, "\nreturn").replace(/\bfunction\b/g, "\nfunction").replace(/^{\s*|\s*}$/g, ""); @@ -110,7 +111,11 @@ const preview: Preview = { } } }, - decorators: [withCenteredCanvas, withThemeProvider, withBackgroundMatchingColorScheme] + decorators: [ + withCenteredCanvas, + withThemeProvider, + withBackgroundMatchingColorScheme + ] }; export default preview; diff --git a/.storybook/styles/docs.css b/.storybook/styles/docs.css new file mode 100644 index 000000000..b656d7783 --- /dev/null +++ b/.storybook/styles/docs.css @@ -0,0 +1,418 @@ +:root { + /* Use this var only when the element is not affected by the font-family specified in Storybook docs theme */ + --orbiter-font-family: "Inter", Arial, Helvetica, sans-serif; +} + +/* LAYOUT */ +.sbdocs.sbdocs-wrapper { + padding: 2rem 2rem 1rem 2rem; +} + +.sbdocs.sbdocs-content { + max-width: 1280px; + font-size: var(--hop-body-md-font-size); +} + +/* STORY */ +.docs-story div + div > button { + font-weight: 550; + font-size: var(--hop-body-xs-font-size); +} + +/* ARGS TABLE */ +.docblock-argstable { + min-width: 220px; + margin-bottom: 0; +} + +/* ARGS TABLE | HEADER */ +.docblock-argstable-head, +.docblock-argstable-body { + font-size: var(--hop-body-sm-font-size) !important; +} + +.docblock-argstable-head tr th { + font-weight: 550 !important; + color: var(--hop-neutral-text) !important; +} + +/* ARGS TABLE | HEADER | RESET */ +.docblock-argstable-head button { + background-color: var(--hop-primary-surface) !important; + box-shadow: none; +} + +.docblock-argstable-head button:focus { + box-shadow: none; +} + +.docblock-argstable-head button:hover { + background-color: var(--hop-primary-surface-hover) !important; +} + +.docblock-argstable-head button svg path { + fill: var(--hop-neutral-surface) !important; +} + +/* ARGS TABLE | BODY */ +.docblock-argstable-body td > span { + font-weight: 550 !important; +} + +.docblock-argstable-body td > label > span { + font-weight: 550 !important; +} + +.docblock-argstable-body td label input[type=radio] { + width: 1.25rem !important; + height: 1.25rem !important; +} + +.docblock-argstable-body td label input[type=radio]:focus { + outline-offset: 1px; +} + +.docblock-argstable-body td label span { + font-size: var(--hop-body-xs-font-size) !important; +} + +.docblock-argstable-body td label input[type="radio"] { + width: 1rem !important; + height: 1rem !important; +} + +.docblock-argstable-body td input[type="number"], +.docblock-argstable-body td input[type="text"], +.docblock-argstable-body td textarea { + font-size: var(--hop-body-xs-font-size); +} + +.docblock-argstable-body a { + color: var(--hop-primary-text) !important; +} + +.docblock-argstable-body button { + color: var(--hop-primary-text) !important; + font-family: var(--hop-body-xs-font-family) !important; + font-size: var(--hop-body-xs-font-size) !important; + padding-left: 2px !important; +} + +/* EMPTY BLOCK */ +.docblock-emptyblock { + color: var(--hop-neutral-text-weak) !important; + border: 1px dashed var(--hop-neutral-border-weakest) !important; +} + +.docblock-emptyblock a { + color: var(--hop-primary-text) !important; +} + +/* SOURCE BLOCK */ +.docblock-source { + margin-top: var(--hop-space-stack-xl) !important; + margin-bottom: 35px !important; +} + +.preview, +pre { + border: none; + border-radius: var(--hop-shape-rounded-md) !important; + box-shadow: var(--hop-elevation-lifted); +} + +.preview { + overflow: hidden; +} + +.preview > div > div { + overflow: visible; +} + +.preview div[scale] { + transform: none !important; +} + +/* ELEMENTS | TEXT */ +h1, +h2, +h3, +h4, +h5, +h6, +p { + color: var(--hop-neutral-text); +} + +/* ELEMENTS | HEADER */ +h1, +h2, +h3, +h4, +h5, +h6 { + font-weight: 550; + /* fixing the default position relative on all titles in shared.tsx */ + position: initial; +} + +h1 { + font-size: var(--hop-heading-3xl-font-size); + line-height: var(--hop-heading-3xl-line-height); +} + +h1, +.sbdocs .sbdocs-title { + font-weight: 550; +} + +h2 { + border-bottom: 1px solid var(--hop-neutral-border-weakest); +} + +h2, +h2:first-of-type { + margin: 1.5rem 0 !important; + font-size: var(--hop-heading-xl-font-size); +} + +h3 { + margin: var(--hop-space-stack-xl) 0 var(--hop-space-stack-md); + font-size: var(--hop-heading-md-font-size); + line-height: var(--hop-heading-md-line-height); +} + +h4 { + font-size: var(--hop-heading-sm-font-size); + line-height: var(--hop-heading-sm-line-height); + margin: var(--hop-space-stack-lg) 0 var(--hop-space-stack-sm); +} + +h2 + p, +h3 + p, +h4 + p { + margin: 0 0 1rem 0; +} + +p { + max-width: 75ch; +} + +/* ELEMENTS | CODE | IN PARAGRAPH */ +p code, +li code { + padding: 0 !important; + border: none !important; + border-radius: 0 !important; + background-color: transparent !important; + font-size: 15px !important; +} + +/* ELEMENTS | LINK */ +a { + font-size: var(--hop-body-md-font-size); + color: var(--hop-primary-text) !important; + text-decoration: underline; +} + +a:hover, +a:focus { + text-decoration: underline; + outline: transparent; +} + +/* ELEMENTS | LINK | IN PARAGRAGH */ +p a { + font-size: inherit; +} + +a:focus { + border-radius: var(--hop-shape-rounded-md); + background-color: rgba(0, 0, 0, 0.04); + box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.04); +} + +a code { + color: var(--hop-primary-text); +} + +/* ELEMENTS | TYPOGRAPHY */ +p, +span { + font-size: var(--hop-body-md-font-size); + line-height: var(--hop-body-md-line-height); + max-width: 90ch; +} + +/* ELEMENTS | TABLE */ +table tr { + border-top: 1px solid var(--hop-neutral-border-weakest); +} + +table thead tr th { + background-color: var(--hop-neutral-surface-weak); + color: inherit; +} + +table thead tr { + border-top: 1px solid var(--hop-neutral-border-weakest); + border-left: 1px solid var(--hop-neutral-border-weakest); + border-right: 1px solid var(--hop-neutral-border-weakest); + color: var(--hop-neutral-text); +} + +table tr th { + font-weight: 600; + font-size: var(--hop-body-md-font-size); +} + +table td { + font-size: var(--hop-body-sm-medium-font-size); +} + +table tr td, +table tr th { + border-top: 1px solid var(--hop-neutral-border-weakest); + border-bottom: 1px solid var(--hop-neutral-border-weakest); + border-left: 0; + border-right: 0; + color: var(--hop-neutral-text); + background-color: var(--hop-neutral-surface); +} + +table tbody { + border: 1px solid var(--hop-neutral-border-weakest); +} + +table a { + font-size: var(--hop-body-sm-medium-font-size) !important; +} + +table .code a { + font-family: Consolas, monaco, monospace !important; +} + +table .example { + color: var(--hop-neutral-text); +} + +table b, +table strong { + font-weight: 400; +} + +table img { + max-width: none; +} + +/* ELEMENTS | SUMMARY */ +.sb-show-main summary { + font-size: var(--hop-body-md-font-size); + cursor: pointer; + line-height: var(--hop-body-md-line-height); +} + +.sb-show-main details { + padding: 8px; + border-radius: var(--hop-shape-rounded-md); + background-color: var(--hop-primary-surface-weak); +} + +.sb-show-main details + details { + margin-top: var(--hop-space-stack-md); +} + +.sbdocs details .docblock-source { + box-shadow: none !important; + border: none !important; + margin: var(--hop-space-stack-md) 0 !important; +} + +/* ELEMENTS | KBD */ +.sbdocs kbd { + line-height: 1; + margin: 0 2px; + padding: 3px 5px; + white-space: nowrap; + border-radius: 3px; + font-size: 13px; + border: 1px solid #EEEEEE; + color: rgba(51, 51, 51, 0.9); + background-color: #F8F8F8; +} + +/* ELEMENTS | LIST */ +li { + font-size: var(--hop-body-md-font-size) !important; +} + +/* ELEMENTS | STRONG */ +.sbdocs strong { + font-weight: 400; +} + +/* ELEMENTS | LINK ICON */ +h1 a { + margin-left: -28px; +} + +h1 a svg { + width: 1.5rem; + height: 1.5rem; +} + +.code { + font-family: Consolas, monaco, monospace !important; +} + +.w-100 { + width: 100%; +} + +/* LOADER */ +.o-ui-sb-loading { + position: absolute; + background-color: var(--hop-neutral-surface-weak); + top: 0; + left: 0; + right: 0; + bottom: 0; +} + +.o-ui-sb-loading:before { + width: 1.5rem; + height: 1.5rem; + content: ""; + position: absolute; + top: 50%; + left: 50%; + border-radius: 50px; + border: 2px solid var(--hop-neutral-border-weak); + border-top-color: #FFFFFF; + animation: o-ui-sb-spinner 1s linear infinite; + transform: translate(-50%, -50%) rotate(0deg); +} + +@keyframes o-ui-sb-spinner { + 0% { + transform: translate(-50%, -50%) rotate(0deg); + } + 100% { + transform: translate(-50%, -50%) rotate(360deg); + } +} + +/* Token Specific Styles */ +.token-table tr td:last-child { + padding: 0 0 0 13px !important; +} + +/* HACK OVERRIDES - INPUT */ +@media screen and (max-width: 420px) { + .sbdocs .o-ui .o-ui-input { + width: 100%; + } + .sbdocs .o-ui .o-ui-form { + width: 100%; + } +} diff --git a/.storybook/styles/index.ts b/.storybook/styles/index.ts index 6dfbc51c6..af42f3745 100644 --- a/.storybook/styles/index.ts +++ b/.storybook/styles/index.ts @@ -1,2 +1,3 @@ import "./app.css"; +import "./docs.css"; import "./stories.css"; diff --git a/docs/features/As.stories.mdx b/docs/features/As.mdx similarity index 90% rename from docs/features/As.stories.mdx rename to docs/features/As.mdx index fffd3e2dd..3f9b081a5 100644 --- a/docs/features/As.stories.mdx +++ b/docs/features/As.mdx @@ -1,4 +1,4 @@ -import { Meta } from "@storybook/addon-docs"; +import { Meta, Source } from "@storybook/addon-docs"; <Meta title="Features/As" @@ -13,24 +13,24 @@ This function allows you to change the *underlying element type* of a component To specify a new underlying type: -```jsx +<Source dark code={` import { as, TextLink } from "@workleap/orbiter-ui"; const TextLinkAsButton = as(TextLink, "button"); <TextLinkAsButton onClick={() => window.location.href = "/home"}>Home</TextLinkAsButton> -``` +`} language="tsx" /> To integrate with a third party: -```jsx +<Source dark code={` import { as, TextLink } from "@workleap/orbiter-ui"; import { Link as ReactRouterLink } from "react-router-dom"; const RouterTextLink = as(TextLink, ReactRouterLink, { normalizeStyles: true }); <RouterTextLink to="/home">Home</RouterTextLink> -``` +`} language="tsx" /> ## How it works diff --git a/docs/features/ResponsiveStyles.stories.mdx b/docs/features/ResponsiveStyles.mdx similarity index 75% rename from docs/features/ResponsiveStyles.stories.mdx rename to docs/features/ResponsiveStyles.mdx index e348dbce9..14e2ad0c7 100644 --- a/docs/features/ResponsiveStyles.stories.mdx +++ b/docs/features/ResponsiveStyles.mdx @@ -1,11 +1,9 @@ -import { Meta } from "@storybook/addon-docs"; +import { Meta, Canvas, Source } from "@storybook/addon-docs"; import { Table } from "@stories/components"; import { Preview } from "@stories/components"; +import * as ResponsiveStylesStories from "./ResponsiveStyles.stories"; -<Meta - title="Features/Responsive styles" - id="responsive-styles" -/> +<Meta of={ResponsiveStylesStories} /> # Responsive styles @@ -15,31 +13,23 @@ Orbiter [style props](?path=/docs/style-props--page) accepts a specialized synta By passing an object to any style props, you can specify which style will be applied at different breakpoints. These rules are on a [`min-width` basis](https://nikitahl.com/difference-between-min-width-vs-max-width) meaning that a `sm` value will apply from `768px` and up until another higher breakpoint matches. -<Preview> - <Div backgroundColor={{ base: "moss-200", xs: "sapphire-200", sm: "moss-200", md: "sapphire-200", lg: "rock-200", xl: "sunken-treasure-200" }} width="30rem" maxWidth="100%" padding={160}> - <Paragraph fontSize={160}>Lost in space.</Paragraph> - </Div> -</Preview> +<Canvas of={ResponsiveStylesStories.Usage} /> ## Mobile first Not all breakpoints must be explicitly defined. In the following example, `base` and `lg` breakpoints are explicitly declared. When match, the `xl` breakpoint will implicitly take the value set by the `lg` breakpoint since it is wider than `lg`. Everything below `lg` inherits the `base` color. -<Preview> - <Div backgroundColor={{ base: "success", lg: "warning" }} width="30rem" maxWidth="100%" padding={160}> - <Paragraph fontSize={160}>Lost in space.</Paragraph> - </Div> -</Preview> +<Canvas of={ResponsiveStylesStories.MobileFirst} /> ## useResponsiveValue To resolve a responsive value within a React component, Orbiter provides the `useResponsiveValue` hook. -```jsx +<Source dark code={` import { useResponsiveValue } from "@workleap/orbiter-ui"; const fluidValue = useResponsiveValue({ base: true, lg: false }); -``` +`} language="tsx" /> ## Breakpoints diff --git a/docs/features/ResponsiveStyles.stories.tsx b/docs/features/ResponsiveStyles.stories.tsx new file mode 100644 index 000000000..121d78986 --- /dev/null +++ b/docs/features/ResponsiveStyles.stories.tsx @@ -0,0 +1,29 @@ +/* eslint-disable react-hooks/rules-of-hooks */ +import { Meta, StoryObj } from "@storybook/react"; +import { Div, Paragraph, ThemeProvider } from "@components"; + +const meta = { + title: "Features/Responsive styles", + component: ThemeProvider, + id: "responsive-styles" +} as Meta<typeof ThemeProvider>; + +export default meta; + +type ResponsiveStylesStory = StoryObj<typeof meta>; + +export const Usage: ResponsiveStylesStory = { + render: () => ( + <Div backgroundColor={{ base: "moss-200", xs: "sapphire-200", sm: "moss-200", md: "sapphire-200", lg: "rock-200", xl: "sunken-treasure-200" }} width="30rem" maxWidth="100%" padding={160}> + <Paragraph fontSize={160}>Lost in space.</Paragraph> + </Div> + ) +}; + +export const MobileFirst: ResponsiveStylesStory = { + render: () => ( + <Div backgroundColor={{ base: "success", lg: "warning" }} width="30rem" maxWidth="100%" padding={160}> + <Paragraph fontSize={160}>Lost in space.</Paragraph> + </Div> + ) +}; diff --git a/docs/features/Slots.stories.mdx b/docs/features/Slots.mdx similarity index 90% rename from docs/features/Slots.stories.mdx rename to docs/features/Slots.mdx index 4e84c628a..30a5c04a3 100644 --- a/docs/features/Slots.stories.mdx +++ b/docs/features/Slots.mdx @@ -1,4 +1,4 @@ -import { Meta } from "@storybook/addon-docs"; +import { Meta, Source } from "@storybook/addon-docs"; <Meta title="Features/Slots" @@ -15,12 +15,12 @@ In Orbiter, component placeholders are fulfilled through his children and slots In the following example, the `<Text>` component *implicitly* fulfill the `text` slot of the button and the `<LightbulbIcon>` component *explicitly* fulfill the `end-icon` slot of the button. -```jsx +<Source dark code={` <Button variant="secondary"> <Text>Cutoff</Text> <LightbulbIcon slot="end-icon" /> </Button> -``` +`} language="tsx" /> To identify which slots placeholders are available for a component, refer to the [API section of a component](?path=/docs/button--default-story#button-1). @@ -30,43 +30,45 @@ Some of Orbiter components which are considered *slotables* are defined to autom For example, an `<Icon>` component will implicitly fulfill the `icon` slot of a `<Button>` when defined as his child. -```jsx +<Source dark code={` <Button variant="secondary"> <LightbulbIcon /> <Text>Cutoff</Text> </Button> -``` +`} language="tsx" /> + An implicit slot can be defined on a custom component by using the `slot` function. -```jsx +<Source dark code={` import { slot } from "@workleap/orbiter-ui"; export const MyComponent = slot("name-of-the-slot-to-fulfill-by-default", () => ( <Div>A custom component</Div> )); -``` +`} language="tsx" /> ### Explicit slots Sometimes, we want to force a component into a specific placeholder of a component. To do so, an *explicit* slot can be specified on a child component with the `slot` prop. *Explicit slots will have precedence over implicit slots*. -```jsx +<Source dark code={` <Button variant="secondary"> <Text>Cutoff</Text> <LightbulbIcon slot="end-icon" /> </Button> -``` +`} language="tsx" /> + For native HTML elements, instead of specifying an explicit slot directly on the native element, we recommend using [Orbiter HTML elements](?path=/docs/html-anchor--example). -```jsx +<Source dark code={` <Card> <H1>SpaceX delays launch of South Korean military satellite</H1> <Div slot="content">SpaceX postponed the upcoming launch of a South Korean military satellite Monday (July 13), due to hardware issues with the Falcon 9 rocket.</Div> <Div slot="footer">Copyright @2021</Div> </Card> -``` +`} language="tsx" /> ## Other resources diff --git a/docs/features/color-schemes/ColorSchemeToggle.sample.jsx b/docs/features/color-schemes/ColorSchemeToggle.sample.jsx deleted file mode 100644 index 996ad9bce..000000000 --- a/docs/features/color-schemes/ColorSchemeToggle.sample.jsx +++ /dev/null @@ -1,23 +0,0 @@ -function ColorSchemeToggle() { - const { colorScheme, setColorScheme } = useColorSchemeContext(); - - const handleClick = useCallback(() => { - setColorScheme(colorScheme === "light" ? "dark" : "light"); - }, [colorScheme, setColorScheme]); - - return ( - <Button variant="secondary" onClick={handleClick}>Toggle</Button> - ); -} - -render(() => { - const { colorScheme: parentColorScheme } = useColorSchemeContext(); - - return ( - <ThemeProvider colorScheme={parentColorScheme}> - <Div backgroundColor="neutral" padding={2}> - <ColorSchemeToggle /> - </Div> - </ThemeProvider> - ); -}); diff --git a/docs/features/color-schemes/ColorSchemes.stories.mdx b/docs/features/color-schemes/ColorSchemes.mdx similarity index 66% rename from docs/features/color-schemes/ColorSchemes.stories.mdx rename to docs/features/color-schemes/ColorSchemes.mdx index ad5c77eb8..8743d6e78 100644 --- a/docs/features/color-schemes/ColorSchemes.stories.mdx +++ b/docs/features/color-schemes/ColorSchemes.mdx @@ -1,10 +1,7 @@ -import { Meta } from "@storybook/addon-docs"; -import { Preview } from "@stories/components"; +import { Meta, Canvas, Source } from "@storybook/addon-docs"; +import * as ColorSchemesStories from "./ColorSchemes.stories"; -<Meta - title="Features/Color schemes" - id="color-schemes" -/> +<Meta of={ColorSchemesStories} /> # Color schemes @@ -14,19 +11,11 @@ Orbiter supports by default a *light* and a *dark* color scheme for all componen A color scheme can either be enforced by providing a specific `light` or `dark` value to a [theme provider](?path=/story/theme-provider--default-story): -```jsx -<ThemeProvider colorScheme="dark"> - <Button variant="secondary">Cutoff</Button> -</ThemeProvider> -``` +<Source dark of={ColorSchemesStories.Apply} language="tsx" /> or be selected according to the [user's operating system setting](https://developer.mozilla.org/en-US/docs/Web/CSS/@media/prefers-color-scheme) by providing the `system` value: -```jsx -<ThemeProvider colorScheme="system" defaultColorScheme="light"> - <Button variant="secondary">Cutoff</Button> -</ThemeProvider> -``` +<Source dark of={ColorSchemesStories.ApplySystem} language="tsx" /> > When the `system` value is provided, an additional *fallback* color scheme must be specified to `defaultColorScheme` in case the theme provider is not able to access the user setting. @@ -38,7 +27,7 @@ To manage the color scheme in your application, Orbiter exposes a `ColorSchemeCo The `ColorSchemeContext` of the closest [theme provider](?path=/story/theme-provider--default-story) can be accessed using the `useColorSchemeContext` hook. Once you have a hold on the context, you can access the current color scheme or update the value with `setColorScheme`. -<Preview filePath="color-schemes/ColorSchemeToggle" features /> +<Canvas of={ColorSchemesStories.ColorSchemeToggleStory} /> ## useColorSchemeValue @@ -46,18 +35,4 @@ Some features requires the usage of custom colors. Those colors aren't like Orbi To help with that, Orbiter offer the `useColorSchemeValue` hook which will return the value matching the current color scheme of the closest [theme provider](?path=/story/theme-provider--default-story). -```jsx -import { useColorSchemeValue } from "@workleap/orbiter-ui"; - -const color = useColorSchemeValue("#fff", "#000"); -const backgroundColor = useColorSchemeValue("#ff9048", "#fee2bb"); - -return ( - <Button - color={color} - backgroundColor={backgroundColor} - > - Cutoff - </Button> -); -``` +<Source dark of={ColorSchemesStories.UseColorSchemeValueStory} language="tsx" /> diff --git a/docs/features/color-schemes/ColorSchemes.stories.tsx b/docs/features/color-schemes/ColorSchemes.stories.tsx new file mode 100644 index 000000000..be9b9887b --- /dev/null +++ b/docs/features/color-schemes/ColorSchemes.stories.tsx @@ -0,0 +1,69 @@ +/* eslint-disable react-hooks/rules-of-hooks */ +import { Meta, StoryObj } from "@storybook/react"; +import { useCallback } from "react"; +import { Button, Div, ThemeProvider, useColorSchemeContext, useColorSchemeValue } from "@components"; + +const meta = { + title: "Features/Color schemes", + component: ThemeProvider, + id: "color-schemes" +} as Meta<typeof ThemeProvider>; + +export default meta; + +type ColorSchemesStory = StoryObj<typeof meta>; + +export const Apply: ColorSchemesStory = { + render: () => ( + <ThemeProvider colorScheme="dark"> + <Button variant="secondary">Cutoff</Button> + </ThemeProvider> + ) +}; +export const ApplySystem: ColorSchemesStory = { + render: () => ( + <ThemeProvider colorScheme="system" defaultColorScheme="light"> + <Button variant="secondary">Cutoff</Button> + </ThemeProvider> + ) +}; + +export const ColorSchemeToggleStory: ColorSchemesStory = { + render: () => { + function ColorSchemeToggle() { + const { colorScheme, setColorScheme } = useColorSchemeContext(); + + const handleClick = useCallback(() => { + setColorScheme(colorScheme === "light" ? "dark" : "light"); + }, [colorScheme, setColorScheme]); + + return ( + <Button variant="secondary" onClick={handleClick}>Toggle</Button> + ); + } + + return ( + <ThemeProvider colorScheme="light"> + <Div backgroundColor="neutral" padding="inset-sm"> + <ColorSchemeToggle /> + </Div> + </ThemeProvider> + ); + } +}; + +export const UseColorSchemeValueStory: ColorSchemesStory = { + render: () => { + const color = useColorSchemeValue("#fff", "#000"); + const backgroundColor = useColorSchemeValue("#ff9048", "#fee2bb"); + + return ( + <Button + color={color} + backgroundColor={backgroundColor} + > + Cutoff + </Button> + ); + } +}; diff --git a/docs/features/style-props/PropsReferenceTable.jsx b/docs/features/style-props/PropsReferenceTable.tsx similarity index 82% rename from docs/features/style-props/PropsReferenceTable.jsx rename to docs/features/style-props/PropsReferenceTable.tsx index d111a8a09..c19c81039 100644 --- a/docs/features/style-props/PropsReferenceTable.jsx +++ b/docs/features/style-props/PropsReferenceTable.tsx @@ -1,9 +1,4 @@ -import { Table, Link } from "@stories/components"; -import { array, arrayOf } from "prop-types"; - -const propTypes = { - rows: arrayOf(array).isRequired -}; +import { Table, TableProps, Link } from "@stories/components"; const ScaleLinks = { "box-shadow-scale": <Link href="?path=/docs/tokens--page#box-shadows" target="_blank">shadows</Link>, @@ -12,7 +7,7 @@ const ScaleLinks = { "spacing-scale": <Link href="?path=/docs/tokens--page#spacings" target="_blank">dimensions</Link> }; -function toScaleLink(scale) { +function toScaleLink(scale: keyof typeof ScaleLinks) { return ScaleLinks[scale] ?? scale; } @@ -26,7 +21,11 @@ function toRowValues([propName, cssProperty, themeKey, scale, supports]) { ]; } -export function PropsReferenceTable({ rows }) { +export interface PropsReferenceTableProps { + rows: TableProps["rows"]; +} + +export function PropsReferenceTable({ rows }: PropsReferenceTableProps) { return ( <Table columns={[ @@ -40,5 +39,3 @@ export function PropsReferenceTable({ rows }) { /> ); } - -PropsReferenceTable.propTypes = propTypes; diff --git a/docs/features/style-props/StyleProps.stories.mdx b/docs/features/style-props/StyleProps.mdx similarity index 94% rename from docs/features/style-props/StyleProps.stories.mdx rename to docs/features/style-props/StyleProps.mdx index ec2b0a0b7..7ef5a8eaa 100644 --- a/docs/features/style-props/StyleProps.stories.mdx +++ b/docs/features/style-props/StyleProps.mdx @@ -1,14 +1,11 @@ import { Table } from "@stories/components"; -import { Meta } from "@storybook/addon-docs"; +import { Meta, Canvas, Source } from "@storybook/addon-docs"; import { Div } from "@components/html"; -import { Preview } from "@stories/components"; import { Paragraph } from "@components/typography"; import { PropsReferenceTable } from "./PropsReferenceTable"; +import * as StylePropsStories from "./StyleProps.stories"; -<Meta - title="Features/Style props" - id="style-props" -/> +<Meta of={StylePropsStories} /> # Style props @@ -18,7 +15,7 @@ An Orbiter style property is a mapping of a [CSS property](https://developer.moz To apply a style value, set a value to any [style property](#properties) of an Orbiter component. -```jsx +<Source dark language="tsx" code={` <Div fontSize="1.375rem" fontWeight={680} @@ -30,19 +27,19 @@ To apply a style value, set a value to any [style property](#properties) of an O backgroundColor="primary"> Lost in space. </Div> -``` +`} /> ## Shorthands Props like `border` and `paddingX` are also provided to help you save keystrokes. An exhaustive list of all the supported props is available in the [reference](#properties) section. -```jsx +<Source dark language="tsx" code={` <Div paddingY={80} border="primary"> Lost in space. </Div> -``` +`} /> ## TypeScript Intellisense @@ -52,11 +49,7 @@ Inspired by [Styled System](https://styled-system.com/), Orbiter's style props a To help achieve a consistent user interface, Orbiter style props are based on scales and values defined in a customizable [theme](?path=/docs/theming--page). -<Preview> - <Div width="30rem" backgroundColor="primary-weak" padding={160} borderRadius="rounded-md" maxWidth="100%"> - <Paragraph fontSize={160}>Lost in space.</Paragraph> - </Div> -</Preview> +<Canvas of={StylePropsStories.ScaleValues} /> ## Pseudo-classes @@ -83,11 +76,7 @@ Since the following user action pseudo-classes are often used, some style props > Not all style props supports user action pseudo-classes. Find out which props support user action pseudo-classes in the [reference](#properties) section. -<Preview> - <Div backgroundColorHover="status-positive" backgroundColor="warning-weak" padding={160} width="30rem" maxWidth="100%" borderRadius="rounded-md"> - <Paragraph fontSize={160}>Lost in space.</Paragraph> - </Div> -</Preview> +<Canvas of={StylePropsStories.PseudoClasses} /> ## HTML elements @@ -105,14 +94,14 @@ To facilitate layouts, Orbiter provides specialized components for [grid](https: When applicable, always prefer using a [`<Grid>`](?path=/docs/grid--areas) or [`<Flex>`](?path=/docs/flex--horizontal) component instead of a [`<Div>`](?path=/docs/html-div--example) component. -```jsx +<Source dark language="tsx" code={` <Grid templateColumns="1fr 1fr" gap={80} height={800}> <Div backgroundColor="sapphire-500" /> <Div backgroundColor="amanita-500" /> <Div backgroundColor="moss-500" /> <Div backgroundColor="rock-500" /> </Grid> -``` +`} /> ## Custom components @@ -120,7 +109,7 @@ Any component can accept style properties. To accept style properties, the compo Passing the style props to an Orbiter component: -```jsx +<Source dark language="tsx" code={` import { HtmlButton, StyledComponentProps } from "@workleap/orbiter-ui"; interface CustomButtonProps extends StyledComponentProps { @@ -132,11 +121,11 @@ function CustomButton(props: CustomButtonProps) { <HtmlButton {...props} /> ); } -``` +`} /> Using the `useStyledSystem` hook: -```jsx +<Source dark language="tsx" code={` import { StyledComponentProps, useStyledSystem } from "@workleap/orbiter-ui"; interface CustomButtonProps extends StyledComponentProps { @@ -154,7 +143,7 @@ function CustomButton({ onClick, ...rest }: CustomButtonProps) { /> ); } -``` +`} /> ## Properties @@ -162,11 +151,11 @@ The following tables provide a list of all available style props by category. ### Space -```jsx +<Source dark language="tsx" code={` <Div padding={160}> Galaxy </Div> -``` +`} /> <PropsReferenceTable rows={[ @@ -190,11 +179,11 @@ The following tables provide a list of all available style props by category. ### Color -```jsx +<Source dark language="tsx" code={` <Text backgroundColor="primary-weak" color="#FFFFFF"> Galaxy </Text> -``` +`} /> <PropsReferenceTable rows={[ @@ -209,11 +198,11 @@ The following tables provide a list of all available style props by category. ### Typography -```jsx +<Source dark language="tsx" code={` <Header letterSpacing="0.3rem"> Halleys Comet </Header> -``` +`} /> <PropsReferenceTable rows={[ @@ -232,11 +221,11 @@ The following tables provide a list of all available style props by category. ### Layout -```jsx +<Source dark language="tsx" code={` <Div width="30rem"> Galaxy </Div> -``` +`} /> <PropsReferenceTable rows={[ @@ -266,12 +255,12 @@ The following tables provide a list of all available style props by category. ### Flex Layout -```jsx +<Source dark language="tsx" code={` <Div alignItems="center"> <Text>Andromeda</Text> <Text>Batuu</Text> </Div> -``` +`} /> <PropsReferenceTable rows={[ @@ -290,12 +279,12 @@ The following tables provide a list of all available style props by category. ### Grid Layout -```jsx +<Source dark language="tsx" code={` <Div gridAutoFlow="row dense"> <Text>Andromeda</Text> <Text>Batuu</Text> </Div> -``` +`} /> <PropsReferenceTable rows={[ @@ -323,13 +312,13 @@ The following tables provide a list of all available style props by category. ### Background -```jsx +<Source dark language="tsx" code={` <Div backgroundImage="url('/images/dog.png')" backgroundPosition="center" backgroundRepeat="no-repeat" /> -``` +`} /> <PropsReferenceTable rows={[ @@ -342,14 +331,14 @@ The following tables provide a list of all available style props by category. ### Border -```jsx +<Source dark language="tsx" code={` <Div border="primary" borderRadius="rounded-md" > Rocket </Div> -``` +`} /> Border props (border, borderBottom, borderTop, borderRight, borderLeft) uses an implicit style (solid) and width(1px). These properties only accepts colors for value. @@ -371,12 +360,12 @@ Border props (border, borderBottom, borderTop, borderRight, borderLeft) uses an ### Position -```jsx +<Source dark language="tsx" code={` <Div top="12px" position="absolute" /> -``` +`} /> <PropsReferenceTable rows={[ @@ -393,11 +382,11 @@ Border props (border, borderBottom, borderTop, borderRight, borderLeft) uses an ### Shadow -```jsx +<Source dark language="tsx" code={` <Div boxShadow="lifted" /> -``` +`} /> <PropsReferenceTable rows={[ diff --git a/docs/features/style-props/StyleProps.stories.tsx b/docs/features/style-props/StyleProps.stories.tsx new file mode 100644 index 000000000..f6f481898 --- /dev/null +++ b/docs/features/style-props/StyleProps.stories.tsx @@ -0,0 +1,29 @@ +/* eslint-disable react-hooks/rules-of-hooks */ +import { Meta, StoryObj } from "@storybook/react"; +import { Div, Paragraph, ThemeProvider } from "@components"; + +const meta = { + title: "Features/Style props", + component: ThemeProvider, + id: "style-props" +} as Meta<typeof ThemeProvider>; + +export default meta; + +type StylePropsStory = StoryObj<typeof meta>; + +export const ScaleValues: StylePropsStory = { + render: () => ( + <Div width="30rem" backgroundColor="primary-weak" padding={160} borderRadius="rounded-md" maxWidth="100%"> + <Paragraph fontSize={160}>Lost in space.</Paragraph> + </Div> + ) +}; + +export const PseudoClasses: StylePropsStory = { + render: () => ( + <Div backgroundColorHover="status-positive" backgroundColor="warning-weak" padding={160} width="30rem" maxWidth="100%" borderRadius="rounded-md"> + <Paragraph fontSize={160}>Lost in space.</Paragraph> + </Div> + ) +}; diff --git a/docs/features/tokens/ColorPaletteTable.jsx b/docs/features/tokens/ColorPaletteTable.tsx similarity index 65% rename from docs/features/tokens/ColorPaletteTable.jsx rename to docs/features/tokens/ColorPaletteTable.tsx index cd44c84c2..0e7042696 100644 --- a/docs/features/tokens/ColorPaletteTable.jsx +++ b/docs/features/tokens/ColorPaletteTable.tsx @@ -1,17 +1,7 @@ -import { arrayOf, shape, string } from "prop-types"; - import { Div } from "@components/html"; import { Table } from "@stories/components"; -const propTypes = { - colors: arrayOf(shape({ - value: string.isRequired, - variable: string.isRequired, - color: string.isRequired - })).isRequired -}; - -function toRowValues({ value, variable, color }) { +function toRowValues({ value, variable, color }: Color) { return [ value, variable, @@ -19,8 +9,17 @@ function toRowValues({ value, variable, color }) { <Div backgroundColor={value} height={400}></Div> ]; } +interface Color { + value: string; + variable: string; + color: string; +} -export function ColorPaletteTable({ colors }) { +interface ColorPaletteTableProps { + colors: Color[]; +} + +export function ColorPaletteTable({ colors }: ColorPaletteTableProps) { return ( <Table columns={[ @@ -33,5 +32,3 @@ export function ColorPaletteTable({ colors }) { /> ); } - -ColorPaletteTable.propTypes = propTypes; diff --git a/docs/features/tokens/TokenTable.jsx b/docs/features/tokens/TokenTable.tsx similarity index 67% rename from docs/features/tokens/TokenTable.jsx rename to docs/features/tokens/TokenTable.tsx index 96517e96c..555dfca99 100644 --- a/docs/features/tokens/TokenTable.jsx +++ b/docs/features/tokens/TokenTable.tsx @@ -1,21 +1,11 @@ -import { ThemeProvider, ThemeComputedStyle } from "@components/styling"; -import { arrayOf, func, shape, string } from "prop-types"; - +import { ThemeProvider, ThemeComputedStyle, type FontWeightProp, type PaddingProp, type ColorSchemeOrSystem } from "@components/styling"; import { Div, Span } from "@components/html"; import { Flex } from "@components/layout"; import { DocsContext } from "@storybook/addon-docs"; -import { InfoIcon } from "@hopper-ui/icons"; +import { InfoIcon, type CreatedIconProps } from "@hopper-ui/icons"; import { Table } from "@stories/components"; import { Text } from "@components/typography"; -import { useEffect, useContext, useRef, useState } from "react"; - -const propTypes = { - tokens: arrayOf(shape({ - token: string.isRequired, - variable: string.isRequired, - itemRenderer: func.isRequired - })).isRequired -}; +import { useEffect, useContext, useRef, useState, type ReactNode } from "react"; function toRowValues({ token, variable, itemRenderer }, docsContext, themeComputedStyle) { const valueTest = themeComputedStyle ? themeComputedStyle.getPropertyValue(variable) : "N/A"; @@ -28,8 +18,19 @@ function toRowValues({ token, variable, itemRenderer }, docsContext, themeComput ]; } -export function TokenTable({ tokens }) { +interface Token { + token: string; + variable: string; + itemRenderer: (token: string) => ReactNode; +} + +interface TokenTableProps { + tokens: Token[]; +} + +export function TokenTable({ tokens }: TokenTableProps) { const docsContext = useContext(DocsContext); + const [colorScheme, setColorScheme] = useState<ColorSchemeOrSystem>("light"); const [rows, setRows] = useState([]); const ref = useRef(null); @@ -38,11 +39,18 @@ export function TokenTable({ tokens }) { if (ref.current) { setRows(tokens.map(x => toRowValues(x, docsContext, new ThemeComputedStyle(ref)))); } - }, [tokens, docsContext, ref]); + // color scheme in the dependency array so it refreshes when the color scheme changes + }, [tokens, docsContext, ref, colorScheme]); + + useEffect(() => { + // this is not the best way to do this, but it works for now in Storybook Version 8 + // @ts-ignore + setColorScheme(docsContext.store.userGlobals.globals.theme); + }, [docsContext]); return ( // eslint-disable-next-line react/destructuring-assignment - <ThemeProvider ref={ref} colorScheme={docsContext.globals.colorScheme}> + <ThemeProvider ref={ref} colorScheme={colorScheme}> <Table className="token-table" columns={[ @@ -57,15 +65,15 @@ export function TokenTable({ tokens }) { ); } -export function backgroundRenderer(token) { +export function backgroundRenderer(token: string) { return <Div height={400} backgroundColor={token}></Div>; } -export function borderRenderer(token) { - return <Div padding={2}><Div height={400} border={token}></Div></Div>; +export function borderRenderer(token: string) { + return <Div padding="inset-md"><Div height={400} border={token}></Div></Div>; } -export function boxShadowRenderer(token) { +export function boxShadowRenderer(token: string) { return <Div paddingRight={160}><Div boxShadow={token} marginY="0.75rem" height={400}></Div></Div>; } @@ -77,31 +85,31 @@ export function easingRenderer() { return <Div paddingRight={160}><Div marginY="0.75rem" height={400}></Div></Div>; } -export function fontSizeRenderer(token) { +export function fontSizeRenderer(token: string) { return <Div height={960} display="flex" alignItems="center" justifyContent="start"><Text fontSize={token} lineHeight={1}>Ag</Text></Div>; } -export function fontFamilyRenderer(token) { +export function fontFamilyRenderer(token: string) { return <Div height={960} display="flex" alignItems="center" justifyContent="start"><Text fontFamily={token} lineHeight={1}>Ag</Text></Div>; } -export function fontWeightRenderer(token) { +export function fontWeightRenderer(token: FontWeightProp) { return <Flex height={320} alignItems="center"><Text fontWeight={token} fontSize="1.375rem" lineHeight={1}>Ag</Text></Flex>; } -export function iconRenderer(token) { +export function iconRenderer(token: CreatedIconProps["fill"] | "samoyed") { if (token === "samoyed") { - return <Div height={400} display="flex" alignItems="center" justifyContent="start" backgroundColor="#272626"><InfoIcon fill={token} /></Div>; + return <Div height={400} display="flex" alignItems="center" justifyContent="start" backgroundColor="#272626"><InfoIcon UNSAFE_fill={token} /></Div>; } else { return <Div height={400} display="flex" alignItems="center" justifyContent="start"><InfoIcon fill={token} /></Div>; } } -export function lineHeightRenderer(token) { +export function lineHeightRenderer(token: string) { return <Div display="inline-block" paddingX={80} lineHeight={token} borderRadius="rounded-md"><Span lineHeight={token}>Ag</Span></Div>; } -export function radiiRenderer(token) { +export function radiiRenderer(token: string) { if (token === "circular") { return <Div height={240} width={240} borderRadius={token} border="neutral"></Div>; } else { @@ -109,13 +117,13 @@ export function radiiRenderer(token) { } } -export function sizingRenderer(token) { +export function sizingRenderer(token: string) { return <Div width={token} height="24px" backgroundColor="primary"></Div>; } -export function paddingRenderer(token) { +export function paddingRenderer(token: PaddingProp) { return ( - <Div display="flex" justifyContent="center" padding={1}> + <Div display="flex" justifyContent="center" padding="inset-sm"> <Div padding={token} display="inline-block" backgroundColor="primary"> <Div backgroundColor="neutral" height={400} width={400}></Div> </Div> @@ -123,7 +131,7 @@ export function paddingRenderer(token) { ); } -export function marginRenderer(token) { +export function marginRenderer(token: string) { const isStack = token.includes("stack"); @@ -132,7 +140,7 @@ export function marginRenderer(token) { } return ( - <Div display="flex" alignItems="center" padding={1}> + <Div display="flex" alignItems="center" padding="inset-sm"> <Div display="flex" backgroundColor="primary" border="neutral" height="40px" width="24px"> <Div backgroundColor="neutral" marginTop={token} width="24px"></Div> </Div> @@ -140,9 +148,9 @@ export function marginRenderer(token) { ); } -export function marginInlineRenderer(token) { +export function marginInlineRenderer(token: string) { return ( - <Div display="flex" alignItems="center" padding={1}> + <Div display="flex" alignItems="center" padding="inset-sm"> <Div display="inline-block" backgroundColor="primary" border="neutral" width="48px"> <Div backgroundColor="neutral" height={240} marginLeft={token}></Div> </Div> @@ -150,12 +158,10 @@ export function marginInlineRenderer(token) { ); } -export function textRenderer(token) { +export function textRenderer(token: string) { if (token === "#FFFFFF" || token === "samoyed") { return <Div height={400} display="flex" alignItems="center" justifyContent="start" backgroundColor="#272626"><Text marginLeft={40} color={token} size="lg">Moon</Text></Div>; } else { return <Div height={400} display="flex" alignItems="center" justifyContent="start"><Text marginLeft={40} color={token} size="lg">Moon</Text></Div>; } } - -TokenTable.propTypes = propTypes; diff --git a/docs/features/tokens/Tokens.stories.mdx b/docs/features/tokens/Tokens.mdx similarity index 93% rename from docs/features/tokens/Tokens.stories.mdx rename to docs/features/tokens/Tokens.mdx index 199d8530d..d2a234c2f 100644 --- a/docs/features/tokens/Tokens.stories.mdx +++ b/docs/features/tokens/Tokens.mdx @@ -1,4 +1,4 @@ -import { Meta } from "@storybook/addon-docs"; +import { Meta, Source, Story } from "@storybook/addon-docs"; import { TextColors, BackgroundColors, @@ -16,35 +16,29 @@ import { Sizing } from "./Tokens"; import { TokenTable } from "./TokenTable"; +import * as TokensStories from "./Tokens.stories"; -<Meta - title="Features/Tokens" - id="tokens" -/> +<Meta of={TokensStories} /> # Tokens Tokens are Orbiter's reusable values to provide a common language between developers and designers. - > If you are looking for a list of available CSS tokens, please refer to the [Hopper tokens page](https://hopper.workleap.design/tokens/getting-started/introduction). - ## Usage Tokens can be used as [style props](/docs/style-props--page) values: -```jsx -<Div backgroundColor="neutral-weak">...</Div> -``` +<Source dark of={TokensStories.Usage} /> Or `CSS` variables: -```css +<Source dark code={` .item { background-color: var(--hop-neutral-surface-weak); } -``` +`} language="css" /> ## Aliased tokens diff --git a/docs/features/tokens/Tokens.stories.tsx b/docs/features/tokens/Tokens.stories.tsx new file mode 100644 index 000000000..d98d9964c --- /dev/null +++ b/docs/features/tokens/Tokens.stories.tsx @@ -0,0 +1,24 @@ +/* eslint-disable react-hooks/rules-of-hooks */ +import { Meta, StoryObj } from "@storybook/react"; +import { Div, ThemeProvider } from "@components"; +import { TokenTable } from "./TokenTable"; +import { BackgroundColors } from "./Tokens"; + +const meta = { + title: "Features/Tokens", + component: Div, + id: "tokens" +} as Meta<typeof ThemeProvider>; + +export default meta; + +type ResponsiveStylesStory = StoryObj<typeof meta>; + +export const Usage = { + name: "usage", + render: () => ( + <Div backgroundColor="neutral-weak"> + {/* ... */} + </Div> + ) +} satisfies ResponsiveStylesStory; diff --git a/docs/features/tokens/Tokens.jsx b/docs/features/tokens/Tokens.tsx similarity index 100% rename from docs/features/tokens/Tokens.jsx rename to docs/features/tokens/Tokens.tsx diff --git a/docs/getting-started/Installation.stories.mdx b/docs/getting-started/Installation.mdx similarity index 86% rename from docs/getting-started/Installation.stories.mdx rename to docs/getting-started/Installation.mdx index def8b3db7..c73d0f55c 100644 --- a/docs/getting-started/Installation.stories.mdx +++ b/docs/getting-started/Installation.mdx @@ -1,5 +1,5 @@ -import { Meta } from "@storybook/addon-docs"; -import { PackageInstallationSnippet, Banner, ExternalLink } from "@stories/components"; +import { Meta, Source } from "@storybook/addon-docs"; +import { Banner, ExternalLink } from "@stories/components"; <Meta title="Installation" @@ -18,7 +18,9 @@ Multiple [NPM packages](https://www.npmjs.com/settings/orbiter-ui/packages) comp To install Orbiter, open a terminal at the root of your project workspace and run the following command: -<PackageInstallationSnippet packageName="bundle" /> +<Source dark language="bash" code={` +pnpm install @workleap/orbiter-ui +`} /> ## Import styles @@ -26,11 +28,11 @@ Orbiter styles include the ShareGate font, a [CSS bootstrap](https://github.com/ To import Orbiter styles, add the following import declaration to your root stylesheet: -```css +<Source dark language="css" code={` /* index.css */ @import "@workleap/orbiter-ui/index.css"; -``` +`} /> ## Set up your tooling environment @@ -40,13 +42,13 @@ Orbiter offer an ESLint plugin to see in-context help in your IDE. This includes First, add the ESlint plugin to your dependencies: -``` +<Source dark language="bash" code={` npm install @orbit-ui/eslint-plugin eslint -``` +`} /> Then, add the plugin to your ESlint config. For example, your `.eslintrc.json` file may look like this: -```json +<Source dark language="json" code={` { "$schema": "https://json.schemastore.org/eslintrc", "plugins": ["@orbit-ui"], @@ -54,7 +56,7 @@ Then, add the plugin to your ESlint config. For example, your `.eslintrc.json` f "plugin:@orbit-ui/recommended" ] } -``` +`} /> More about [ESlint configuration](https://eslint.org/docs/latest/use/configure/configuration-files) @@ -62,7 +64,7 @@ More about [ESlint configuration](https://eslint.org/docs/latest/use/configure/c Below is an example of how to configure an application: -```tsx +<Source dark language="tsx" code={` // index.ts import { ThemeProvider } from "@workleap/orbiter-ui"; @@ -75,13 +77,13 @@ root.render( <App /> </ThemeProvider> ); -``` +`} /> ### Start creating components You're all set! You can start creating your application with Orbiter: -```jsx +<Source dark language="tsx" code={` import { Div, Text } from "@workleap/orbiter-ui"; export const App = () => ( @@ -89,4 +91,4 @@ export const App = () => ( <Text color="neutral">Hello World!</Text> </Div> ); -``` +`} /> diff --git a/docs/getting-started/Platforms.mdx b/docs/getting-started/Platforms.mdx new file mode 100644 index 000000000..b367f356d --- /dev/null +++ b/docs/getting-started/Platforms.mdx @@ -0,0 +1,29 @@ +import { Meta } from "@storybook/addon-docs"; +import { Table } from "@stories/components"; + +<Meta + title="Platforms" + id="platforms" +/> + +# Platforms + +Orbiter support the following platforms: + +<Table + columns={[ + { title: "Platform", headerStyle: { width: "75px" }, rowClassName: "code" }, + { title: "Versions", headerStyle: { width: "200px" }, rowClassName: "code" } + ]} + rows={[ + ["Edge", "Last 2 versions"], + ["Chrome", "Last 2 versions"], + ["Firefox", "Last 2 versions"], + ["Safari", "Last version"], + ["IE", "-"] + ]} + style={{ + marginTop: "24px", + marginBottom: "24px" + }} +/> diff --git a/docs/getting-started/Platforms.stories.mdx b/docs/getting-started/Platforms.stories.mdx deleted file mode 100644 index ddbc0bbcc..000000000 --- a/docs/getting-started/Platforms.stories.mdx +++ /dev/null @@ -1,14 +0,0 @@ -import { Meta } from "@storybook/addon-docs"; - -<Meta - title="Platforms" - id="platforms" -/> - -# Platforms - -Orbiter support the following platforms: - -| Edge | Chrome | Firefox | Safari | IE | -|------|--------|---------|--------|----| -| Last 2 versions | Last 2 versions | Last 2 versions | Last version | - | diff --git a/docs/materials/icons.stories.mdx b/docs/materials/icons.mdx similarity index 92% rename from docs/materials/icons.stories.mdx rename to docs/materials/icons.mdx index 39184608c..418b5d5fe 100644 --- a/docs/materials/icons.stories.mdx +++ b/docs/materials/icons.mdx @@ -1,4 +1,4 @@ -import { Meta } from "@storybook/addon-docs"; +import { Meta, Source } from "@storybook/addon-docs"; import { Table } from "@stories/components"; import { Preview } from "@stories/components"; @@ -25,9 +25,9 @@ Hopper provides two methods for creating your custom icons: The `createIcon` function is a convenience wrapper around the process of generating icons with Icon, allowing you to achieve the same functionality with less effort. -```jsx +<Source dark language="tsx" code={` import { Icon, createIcon } from "@hopper-ui/icons" -``` +`} /> Both `Icon` and `createIcon` enable you to style the icon using the styled system. @@ -35,7 +35,7 @@ Both `Icon` and `createIcon` enable you to style the icon using the styled syste The `createIcon` function is a convenience wrapper around the process of generating icons with Icon, allowing you to achieve the same functionality with less effort. -```jsx +<Source dark language="tsx" code={` import { ReactComponent as MyIcon16 } from "./path/to/my-icon-16.svg"; import { ReactComponent as MyIcon24 } from "./path/to/my-icon-24.svg"; import { ReactComponent as MyIcon32 } from "./path/to/my-icon-32.svg"; @@ -44,11 +44,11 @@ import { createIcon } from "@hopper-ui/icons"; const MyIcon = createIcon(MyIcon16, MyIcon24, MyIcon32, "MyIcon") const MyIconWithOnlyOneSize = createIcon(MyIconWithOnlyOneSizeSource, MyIconWithOnlyOneSizeSource, MyIconWithOnlyOneSizeSource, "MyIconWithOnlyOneSize") -``` +`} /> ### Using the Icon component -```jsx +<Source dark language="tsx" code={` import { ReactComponent as MyIcon16 } from "./path/to/my-icon-16.svg" import { ReactComponent as MyIcon24 } from "./path/to/my-icon-24.svg" import { ReactComponent as MyIcon32 } from "./path/to/my-icon-32.svg" @@ -63,7 +63,7 @@ function MyIcon(props: CreatedIconProps) { {...props} /> ) } -``` +`} /> ## Usage @@ -72,20 +72,20 @@ function MyIcon(props: CreatedIconProps) { Icons support t-shirt sizing. When used inside another Hopper component, they'll generally be sized automatically, but if you use icons standalone, you can use the size prop to control the sizing. The default size is "md". -``` +<Source dark language="tsx" code={` <MyIcon size="sm" /> <MyIcon size="md" /> <MyIcon size="lg" /> -``` +`} /> ## Styling The color of the icon can be change using the `fill` prop. All the styled system props are also available. -```jsx +<Source dark language="tsx" code={` <MyIcon fill="primary" /> -``` +`} /> ## Guidelines diff --git a/package.json b/package.json index ad8a776f4..669238f3a 100644 --- a/package.json +++ b/package.json @@ -94,7 +94,6 @@ "netlify-cli": "8.6.18", "prettier": "2.5.1", "prism-react-renderer": "1.2.1", - "prop-types": "15.8.1", "react": "18.3.1", "react-dom": "18.3.1", "react-test-renderer": "18.3.1", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index c762a8e77..ed296bd78 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -158,9 +158,6 @@ importers: prism-react-renderer: specifier: 1.2.1 version: 1.2.1(react@18.3.1) - prop-types: - specifier: 15.8.1 - version: 15.8.1 react: specifier: 18.3.1 version: 18.3.1 From b571f47679e6f4d090e32e75f4a04a4909333dec Mon Sep 17 00:00:00 2001 From: Francis Thibault <francis.thibault@gsoft.com> Date: Mon, 4 Nov 2024 16:24:22 -0500 Subject: [PATCH 53/95] added loader and tooltip --- .../docs/{Loader.stories.mdx => Loader.mdx} | 29 ++-- .../src/loader/docs/Loader.stories.tsx | 30 +++++ .../loader/tests/chromatic/Loader.stories.tsx | 1 + .../src/tooltip/docs/CustomTrigger.sample.jsx | 21 --- .../components/src/tooltip/docs/Tooltip.mdx | 89 +++++++++++++ .../src/tooltip/docs/Tooltip.stories.mdx | 125 ------------------ .../src/tooltip/docs/Tooltip.stories.tsx | 106 +++++++++++++++ 7 files changed, 234 insertions(+), 167 deletions(-) rename packages/components/src/loader/docs/{Loader.stories.mdx => Loader.mdx} (78%) create mode 100644 packages/components/src/loader/docs/Loader.stories.tsx delete mode 100644 packages/components/src/tooltip/docs/CustomTrigger.sample.jsx create mode 100644 packages/components/src/tooltip/docs/Tooltip.mdx delete mode 100644 packages/components/src/tooltip/docs/Tooltip.stories.mdx create mode 100644 packages/components/src/tooltip/docs/Tooltip.stories.tsx diff --git a/packages/components/src/loader/docs/Loader.stories.mdx b/packages/components/src/loader/docs/Loader.mdx similarity index 78% rename from packages/components/src/loader/docs/Loader.stories.mdx rename to packages/components/src/loader/docs/Loader.mdx index 365c1fd70..7f498dec3 100644 --- a/packages/components/src/loader/docs/Loader.stories.mdx +++ b/packages/components/src/loader/docs/Loader.mdx @@ -1,12 +1,11 @@ -import { ArgsTable, Meta, Story } from "@storybook/addon-docs"; -import { ComponentInfo, Preview, Tagline } from "@stories/components"; +import { ArgTypes, Meta, Canvas } from "@storybook/addon-docs"; +import { ComponentInfo, Tagline } from "@stories/components"; import { InnerLoader, Loader } from "@components/loader"; import { Stack } from "@components/layout"; -<Meta - title="Components/Loader" - id="loader" -/> +import * as LoaderStories from "./Loader.stories.tsx"; + +<Meta of={LoaderStories} /> # Loader @@ -46,26 +45,14 @@ import { Stack } from "@components/layout"; This is the default loader. -<Preview> - <Story name="default"> - <Loader aria-label="Loading..." /> - </Story> -</Preview> +<Canvas of={LoaderStories.Default} /> ### Delay A loader can appears after a short delay. This is to prevent the loader from appearing when the action is very fast. By settings `delay` to `true`, the loader will appear after 300ms. You can also set a custom delay in milliseconds. -<Preview> - <Story name="delay"> - <Stack> - <Loader delay aria-label="Loading..."/> - <Loader delay={800} aria-label="Loading..."/> - </Stack> - </Story> -</Preview> - +<Canvas of={LoaderStories.Delay} /> ## API @@ -77,4 +64,4 @@ By settings `delay` to `true`, the loader will appear after 300ms. You can also compact /> -<ArgsTable of={InnerLoader} sort="alpha" /> +<ArgTypes of={InnerLoader} sort="alpha" /> diff --git a/packages/components/src/loader/docs/Loader.stories.tsx b/packages/components/src/loader/docs/Loader.stories.tsx new file mode 100644 index 000000000..12da3aee8 --- /dev/null +++ b/packages/components/src/loader/docs/Loader.stories.tsx @@ -0,0 +1,30 @@ +import { Loader } from "@components/loader"; +import { Stack } from "@components/layout"; + +import { Meta, StoryObj } from "@storybook/react"; + +const meta = { + title: "Components/Loader", + component: Loader, + id: "loader" +} as Meta<typeof Loader>; + +export default meta; + +type LoaderStory = StoryObj<typeof meta>; + +export const Default: LoaderStory = { + render: () => ( + <Loader aria-label="Loading..." /> + ) +}; + +export const Delay: LoaderStory = { + render: () => ( + <Stack> + <Loader aria-label="Loading..." delay /> + <Loader aria-label="Loading..." delay={800} /> + </Stack> + ) +}; + diff --git a/packages/components/src/loader/tests/chromatic/Loader.stories.tsx b/packages/components/src/loader/tests/chromatic/Loader.stories.tsx index e8a305dec..6a4a5c577 100644 --- a/packages/components/src/loader/tests/chromatic/Loader.stories.tsx +++ b/packages/components/src/loader/tests/chromatic/Loader.stories.tsx @@ -1,5 +1,6 @@ import { Loader } from "@components/loader"; import { Inline, Stack } from "@components/layout"; + import { Meta, StoryObj } from "@storybook/react"; const meta = { diff --git a/packages/components/src/tooltip/docs/CustomTrigger.sample.jsx b/packages/components/src/tooltip/docs/CustomTrigger.sample.jsx deleted file mode 100644 index 218700afa..000000000 --- a/packages/components/src/tooltip/docs/CustomTrigger.sample.jsx +++ /dev/null @@ -1,21 +0,0 @@ -const CustomTrigger = forwardRef((props, ref) => { - const { isOpen } = useTooltipTriggerContext(); - - return ( - <IconButton - {...props} - variant={isOpen ? "primary" : "secondary"} - aria-label="Email" - ref={ref} - > - <CalendarIcon /> - </IconButton> - ); -}); - -render( - <TooltipTrigger> - <CustomTrigger /> - <Tooltip>Send an email to the orbiteral space station.</Tooltip> - </TooltipTrigger> -); diff --git a/packages/components/src/tooltip/docs/Tooltip.mdx b/packages/components/src/tooltip/docs/Tooltip.mdx new file mode 100644 index 000000000..c3cbb6140 --- /dev/null +++ b/packages/components/src/tooltip/docs/Tooltip.mdx @@ -0,0 +1,89 @@ +import { ArgTypes, Meta, Canvas } from "@storybook/addon-docs"; +import { ComponentInfo, Tagline } from "@stories/components"; +import { InnerTooltip, InnerTooltipTrigger } from "@components/tooltip"; + +import * as TooltipStories from "./Tooltip.stories.tsx"; + +<Meta of={TooltipStories} /> + +# Tooltip + +<Tagline>A tooltip is a popup that displays information related to an element when the element receives keyboard focus or the mouse hovers over it.</Tagline> + +<ComponentInfo + usage={"import { TooltipTrigger, Tooltip, useTooltipTriggerContext } from \"@workleap/orbiter-ui\";"} + ariaPath="tooltip" + githubPath="/packages/components/src/tooltip/src" +/> + +## Guidelines + +### When to use + +- To provide contextual information about an element when that element receives focus or is hovered over. + +### Tooltip vs Popover + +If you want a popup with rich content, have a look at the [popover](?path=/docs/popover--default-story) component. + +## Usage + +### Default + +A default tooltip. + +<Canvas of={TooltipStories.Default} /> + +### Trigger + +A tooltip trigger can be anything. + +<Canvas of={TooltipStories.Trigger} /> + +### Position + +A tooltip can open at different positions. + +<Canvas of={TooltipStories.Position} /> + +### Disabled + +A tooltip can be disabled. + +<Canvas of={TooltipStories.Disabled} /> + +### Custom trigger + +A tooltip trigger can update is appareance based on the `isOpen` value by using `useTooltipTriggerContext`. + +Any trigger would work as long as it accepts a `ref` and any other props provided by the tooltip. + +<Canvas of={TooltipStories.CustomTriggerStory} /> + +### Controlled + +The `open` state can be handled in controlled mode. + +<Canvas of={TooltipStories.Controlled} /> + +## API + +### TooltipTrigger + +<ComponentInfo + usage={"import { TooltipTrigger } from \"@workleap/orbiter-ui\";"} + inherits={[InnerTooltipTrigger.defaultElement, "styled-component"]} + compact +/> + +<ArgTypes of={InnerTooltipTrigger} sort="alpha" /> + +### Tooltip + +<ComponentInfo + usage={"import { Tooltip } from \"@workleap/orbiter-ui\";"} + inherits={[InnerTooltip.defaultElement, "styled-component"]} + compact +/> + +<ArgTypes of={InnerTooltip} sort="alpha" /> diff --git a/packages/components/src/tooltip/docs/Tooltip.stories.mdx b/packages/components/src/tooltip/docs/Tooltip.stories.mdx deleted file mode 100644 index df68da6d1..000000000 --- a/packages/components/src/tooltip/docs/Tooltip.stories.mdx +++ /dev/null @@ -1,125 +0,0 @@ -import { ArgsTable, Meta, Story } from "@storybook/addon-docs"; -import { Button, IconButton } from "@components/button" -import { ComponentInfo, Preview, Tagline } from "@stories/components"; -import { SparklesIcon } from "@hopper-ui/icons"; -import { Inline } from "@components/layout"; -import { InnerTooltip, InnerTooltipTrigger, Tooltip, TooltipTrigger } from "@components/tooltip"; - -<Meta - title="Components/Tooltip" - id="tooltip" -/> - -# Tooltip - -<Tagline>A tooltip is a popup that displays information related to an element when the element receives keyboard focus or the mouse hovers over it.</Tagline> - -<ComponentInfo - usage={"import { TooltipTrigger, Tooltip, useTooltipTriggerContext } from \"@workleap/orbiter-ui\";"} - ariaPath="tooltip" - githubPath="/packages/components/src/tooltip/src" -/> - -## Guidelines - -### When to use - -- To provide contextual information about an element when that element receives focus or is hovered over. - -### Tooltip vs Popover - -If you want a popup with rich content, have a look at the [popover](?path=/docs/popover--default-story) component. - -## Usage - -### Default - -A default tooltip. - -<Preview> - <Story name="default"> - <TooltipTrigger> - <Button variant="secondary">Trigger</Button> - <Tooltip>Earth is a small town with many neighborhoods in a very big universe.</Tooltip> - </TooltipTrigger> - </Story> -</Preview> - -### Trigger - -A tooltip trigger can be anything. - -<Preview> - <Story name="trigger"> - <Inline gap={480} alignY="center"> - <TooltipTrigger> - <IconButton variant="secondary" aria-label="An awesome quote"> - <SparklesIcon /> - </IconButton> - <Tooltip>Earth is a small town with many neighborhoods in a very big universe.</Tooltip> - </TooltipTrigger> - </Inline> - </Story> -</Preview> - -### Position - -A tooltip can open at different positions. - -<Preview> - <Story name="position"> - <TooltipTrigger position="right"> - <Button variant="secondary">Trigger</Button> - <Tooltip>Earth is a small town with many neighborhoods in a very big universe.</Tooltip> - </TooltipTrigger> - </Story> -</Preview> - -### Disabled - -A tooltip can be disabled. - -<Preview> - <Story name="disabled"> - <TooltipTrigger disabled> - <Button variant="secondary">Trigger</Button> - <Tooltip>Earth is a small town with many neighborhoods in a very big universe.</Tooltip> - </TooltipTrigger> - </Story> -</Preview> - -### Custom trigger - -A tooltip trigger can update is appareance based on the `isOpen` value by using `useTooltipTriggerContext`. - -Any trigger would work as long as it accepts a `ref` and any other props provided by the tooltip. - -<Preview filePath="/tooltip/docs/CustomTrigger" /> - -### Controlled - -The `open` state can be handled in controlled mode. - -<Preview filePath="/tooltip/docs/ControlledTooltip" /> - -## API - -### TooltipTrigger - -<ComponentInfo - usage={"import { TooltipTrigger } from \"@workleap/orbiter-ui\";"} - inherits={[InnerTooltipTrigger.defaultElement, "styled-component"]} - compact -/> - -<ArgsTable of={InnerTooltipTrigger} sort="alpha" /> - -### Tooltip - -<ComponentInfo - usage={"import { Tooltip } from \"@workleap/orbiter-ui\";"} - inherits={[InnerTooltip.defaultElement, "styled-component"]} - compact -/> - -<ArgsTable of={InnerTooltip} sort="alpha" /> diff --git a/packages/components/src/tooltip/docs/Tooltip.stories.tsx b/packages/components/src/tooltip/docs/Tooltip.stories.tsx new file mode 100644 index 000000000..668131354 --- /dev/null +++ b/packages/components/src/tooltip/docs/Tooltip.stories.tsx @@ -0,0 +1,106 @@ +import { Button, IconButton } from "@components/button"; +import { CalendarIcon, SparklesIcon } from "@hopper-ui/icons"; +import { Inline } from "@components/layout"; +import { Tooltip, TooltipTrigger, useTooltipTriggerContext } from "@components/tooltip"; +import { forwardRef, useCallback, useState } from "react"; + +import { Meta, StoryObj } from "@storybook/react"; + +const meta = { + title: "Components/Tooltip", + component: Tooltip, + id: "tooltip" +} as Meta<typeof Tooltip>; + +export default meta; + +type TooltipStory = StoryObj<typeof meta>; + +export const Default: TooltipStory = { + render: () => ( + <TooltipTrigger> + <Button variant="secondary">Trigger</Button> + <Tooltip>Earth is a small town with many neighborhoods in a very big universe.</Tooltip> + </TooltipTrigger> + ) +}; + +export const Trigger: TooltipStory = { + render: () => ( + <Inline alignY="center" gap={480}> + <TooltipTrigger> + <IconButton aria-label="An awesome quote" variant="secondary"> + <SparklesIcon /> + </IconButton> + <Tooltip>Earth is a small town with many neighborhoods in a very big universe.</Tooltip> + </TooltipTrigger> + </Inline> + ) +}; + +export const Position: TooltipStory = { + render: () => ( + <TooltipTrigger position="right"> + <Button variant="secondary">Trigger</Button> + <Tooltip>Earth is a small town with many neighborhoods in a very big universe.</Tooltip> + </TooltipTrigger> + ) +}; + +export const Disabled: TooltipStory = { + render: () => ( + <TooltipTrigger disabled> + <Button variant="secondary">Trigger</Button> + <Tooltip>Earth is a small town with many neighborhoods in a very big universe.</Tooltip> + </TooltipTrigger> + ) +}; + +export const CustomTriggerStory: TooltipStory = { + render: () => { + const CustomTrigger = forwardRef((props, ref) => { + const { isOpen } = useTooltipTriggerContext(); + + return ( + <IconButton + {...props} + aria-label="Email" + ref={ref} + variant={isOpen ? "primary" : "secondary"} + > + <CalendarIcon /> + </IconButton> + ); + }); + + return ( + <TooltipTrigger> + <CustomTrigger /> + <Tooltip>Send an email to the orbiteral space station.</Tooltip> + </TooltipTrigger> + ); + } +}; + +/* eslint-disable react-hooks/rules-of-hooks */ +export const Controlled: TooltipStory = { + render: () => { + const [isOpen, setIsOpen] = useState(false); + + const handleOpenChange = useCallback((event, newValue) => { + setIsOpen(newValue); + console.log(newValue); + }, [setIsOpen]); + + + return ( + <TooltipTrigger + onOpenChange={handleOpenChange} + open={isOpen} + > + <Button variant="secondary">Trigger</Button> + <Tooltip>Earth is a small town with many neighborhoods in a very big universe.</Tooltip> + </TooltipTrigger> + ); + } +}; From e198c938505aa4b0091837e83b8593714431e6be Mon Sep 17 00:00:00 2001 From: Alexandre Asselin <alexandre.asselin@gsoft.com> Date: Mon, 4 Nov 2024 16:27:47 -0500 Subject: [PATCH 54/95] convert some files to ts --- .storybook/components/snippet/Snippet.css | 11 -- .storybook/components/snippet/Snippet.tsx | 81 ------------ .storybook/components/snippet/index.ts | 1 - .storybook/mdx/code/Code.jsx | 25 ---- .storybook/mdx/code/index.js | 1 - .storybook/mdx/index.ts | 1 - .storybook/oldddddd/main.js | 110 ---------------- .storybook/oldddddd/manager-head.html | 2 - .storybook/oldddddd/manager.js | 9 -- .storybook/oldddddd/preview.js | 124 ------------------ .storybook/oldddddd/webpack.config.js | 51 ------- .storybook/preview.tsx | 1 - .storybook/utils/getGlobals.js | 23 ---- .storybook/utils/index.js | 3 - .storybook/utils/paramsBuilder.js | 123 ----------------- .storybook/utils/storiesOfBuilder.js | 59 --------- packages/components/README.md | 30 +---- .../avatar/docs/assets/{index.js => index.ts} | 0 .../src/badge/docs/Badge.stories.tsx | 4 +- .../src/badge/docs/{Circle.jsx => Circle.tsx} | 0 .../src/badge/docs/{Square.jsx => Square.tsx} | 0 .../card/docs/assets/{index.js => index.ts} | 0 .../chromatic/assets/{index.jsx => index.tsx} | 0 .../html/docs/assets/{index.js => index.ts} | 0 .../docs/assets/{index.jsx => index.tsx} | 0 .../image/docs/assets/{index.js => index.ts} | 0 .../docs/{RouterLink.jsx => RouterLink.tsx} | 8 +- .../link/docs/assets/{index.js => index.ts} | 0 .../chromatic/assets/{index.js => index.ts} | 0 .../modal/docs/assets/{index.js => index.ts} | 0 .../docs/assets/{index.js => index.ts} | 0 .../tile/docs/assets/{index.js => index.ts} | 0 .../chromatic/assets/{index.js => index.ts} | 0 tsconfig.json | 3 +- 34 files changed, 11 insertions(+), 659 deletions(-) delete mode 100644 .storybook/components/snippet/Snippet.css delete mode 100644 .storybook/components/snippet/Snippet.tsx delete mode 100644 .storybook/mdx/code/Code.jsx delete mode 100644 .storybook/mdx/code/index.js delete mode 100644 .storybook/oldddddd/main.js delete mode 100644 .storybook/oldddddd/manager-head.html delete mode 100644 .storybook/oldddddd/manager.js delete mode 100644 .storybook/oldddddd/preview.js delete mode 100644 .storybook/oldddddd/webpack.config.js delete mode 100644 .storybook/utils/getGlobals.js delete mode 100644 .storybook/utils/index.js delete mode 100644 .storybook/utils/paramsBuilder.js delete mode 100644 .storybook/utils/storiesOfBuilder.js rename packages/components/src/avatar/docs/assets/{index.js => index.ts} (100%) rename packages/components/src/badge/docs/{Circle.jsx => Circle.tsx} (100%) rename packages/components/src/badge/docs/{Square.jsx => Square.tsx} (100%) rename packages/components/src/card/docs/assets/{index.js => index.ts} (100%) rename packages/components/src/card/tests/chromatic/assets/{index.jsx => index.tsx} (100%) rename packages/components/src/html/docs/assets/{index.js => index.ts} (100%) rename packages/components/src/illustration/docs/assets/{index.jsx => index.tsx} (100%) rename packages/components/src/image/docs/assets/{index.js => index.ts} (100%) rename packages/components/src/link/docs/{RouterLink.jsx => RouterLink.tsx} (67%) rename packages/components/src/link/docs/assets/{index.js => index.ts} (100%) rename packages/components/src/link/tests/chromatic/assets/{index.js => index.ts} (100%) rename packages/components/src/modal/docs/assets/{index.js => index.ts} (100%) rename packages/components/src/popover/docs/assets/{index.js => index.ts} (100%) rename packages/components/src/tile/docs/assets/{index.js => index.ts} (100%) rename packages/components/src/tile/tests/chromatic/assets/{index.js => index.ts} (100%) diff --git a/.storybook/components/snippet/Snippet.css b/.storybook/components/snippet/Snippet.css deleted file mode 100644 index ad2efdda5..000000000 --- a/.storybook/components/snippet/Snippet.css +++ /dev/null @@ -1,11 +0,0 @@ -.o-ui-sb-snippet { - border-radius: var(--hop-shape-rounded-md); -} - -.o-ui-sb-snippet pre.prism-code { - padding: var(--hop-space-inset-lg) !important; - font-size: 15px; - border-radius: var(--hop-shape-rounded-md); - overflow-x: auto; - margin: 0; -} diff --git a/.storybook/components/snippet/Snippet.tsx b/.storybook/components/snippet/Snippet.tsx deleted file mode 100644 index 4b8c72c78..000000000 --- a/.storybook/components/snippet/Snippet.tsx +++ /dev/null @@ -1,81 +0,0 @@ -import "./Snippet.css"; - -import { Div } from "@components/html"; -import { isNil, mergeClasses } from "@components/shared"; -import { useFormattedCode } from "./useFormattedCode"; -import { ComponentProps, useState } from "react"; -import Highlight, { defaultProps } from "prism-react-renderer"; -import theme from "prism-react-renderer/themes/dracula"; - -export const CodeTheme = theme; - - -interface CodeBlockProps extends Omit<ComponentProps<typeof Highlight>, "children" | "Prism">{ - className?: string; -} - -function CodeBlock({ code, language, className: wrapperClassName, ...rest }: CodeBlockProps) { - const formattedCode = useFormattedCode(code, language); - - return ( - <Div - className={mergeClasses( - "o-ui-sb-snippet", - "docblock-source", - wrapperClassName - )} - > - <Highlight - {...rest} - {...defaultProps} - code={formattedCode} - language={language} - theme={CodeTheme} - > - {({ className, style, tokens, getLineProps, getTokenProps }) => ( - <pre className={className} style={style}> - {tokens.map((line, i) => ( - <Div {...getLineProps({ line, key: i })}> - {line.map((token, key) => ( - <span {...getTokenProps({ token, key })} /> - ))} - </Div> - ))} - </pre> - )} - </Highlight> - </Div> - ); -} - -interface FileSnippetProps extends Omit<CodeBlockProps, "code"> { - filePath: string; -} - -function FileSnippet({ filePath, language, ...rest }: FileSnippetProps) { - const [code, setCode] = useState(); - - if (isNil(code)) { - import(/* webpackMode: "eager" */ `!!raw-loader!@root/packages/components/src${filePath}.sample.jsx`) - .then(module => { - setCode(module.default); - }); - - return null; - } - - return <CodeBlock code={code} language={language} {...rest} />; -} - -export interface SnippetProps extends CodeBlockProps { - filePath?: string; -} - -export function Snippet({ code, filePath, language = "jsx", ...rest }: SnippetProps) { - if (!isNil(filePath)) { - return <FileSnippet filePath={filePath} language={language} {...rest} />; - } - - return <CodeBlock code={code} language={language} {...rest} />; -} - diff --git a/.storybook/components/snippet/index.ts b/.storybook/components/snippet/index.ts index 7d353b450..b6cffffeb 100644 --- a/.storybook/components/snippet/index.ts +++ b/.storybook/components/snippet/index.ts @@ -1,2 +1 @@ -// export * from "./Snippet"; export * from "./useFormattedCode"; diff --git a/.storybook/mdx/code/Code.jsx b/.storybook/mdx/code/Code.jsx deleted file mode 100644 index 1566c8460..000000000 --- a/.storybook/mdx/code/Code.jsx +++ /dev/null @@ -1,25 +0,0 @@ -import { components } from "@storybook/components"; - -const StorybookCode = components.code; - -export function Code({ className, children, ...rest }) { - // markdown-to-jsx does not add className to inline code - if (typeof className !== "string" && (typeof children !== "string" || !children.match(/[\n\r]/g))) { - return <StorybookCode>{children}</StorybookCode>; - } - - const language = className && className.split("-"); - - return ( - <pre> - {children} - </pre> - ) - // return ( - // <Snippet - // language={(language && language[1]) || "markup"} - // code={children} - // {...rest} - // /> - // ); -} diff --git a/.storybook/mdx/code/index.js b/.storybook/mdx/code/index.js deleted file mode 100644 index e1be3258b..000000000 --- a/.storybook/mdx/code/index.js +++ /dev/null @@ -1 +0,0 @@ -export * from "./Code"; diff --git a/.storybook/mdx/index.ts b/.storybook/mdx/index.ts index 449c03fc1..d90b37cc0 100644 --- a/.storybook/mdx/index.ts +++ b/.storybook/mdx/index.ts @@ -1,2 +1 @@ export * from "./highlight"; -// export * from "./code"; diff --git a/.storybook/oldddddd/main.js b/.storybook/oldddddd/main.js deleted file mode 100644 index bc3d1e508..000000000 --- a/.storybook/oldddddd/main.js +++ /dev/null @@ -1,110 +0,0 @@ -import { dirname, join } from "path"; -const { customizeWebpack } = require("./webpack.config"); -const { includeChromatic, includeDocs, printEnvironment, isChromatic, isDebug } = require("../env"); - -printEnvironment(); - -let stories = []; - -if (includeDocs) { - stories = [ - // TODO simplify imports for any pkgs /docs/**/*.stories.mdx - // "../docs/**/*.stories.mdx", - // "../packages/components/src/**/docs/**/*.stories.mdx" - ]; -} - -if (includeChromatic) { - stories = [ - ...stories, - // TODO remove chroma and simplify imports - // "../packages/components/**/tests/chromatic/**/*.chroma.jsx", - "../packages/components/**/tests/chromatic/**/*.stories.tsx" - ]; -} - -const config = { - stories: [ - // "../docs/**/*.mdx", - // "../packages/components/src/**/docs/**/*.mdx", - // "../packages/components/**/tests/chromatic/**/*.chroma.jsx", - "../packages/components/**/tests/chromatic/**/*.stories.tsx" - ], - - addons: [{ - name: "@storybook/addon-essentials", - options: { - actions: false, - backgrounds: false, - controls: false, - measure: false, - outline: false - } - }, { - name: "@storybook/addon-a11y", - options: { - runOnly: { - type: "tag", - values: ["wcag2a", "wcag2aa"] - } - } - }, getAbsolutePath("@storybook/addon-mdx-gfm"), getAbsolutePath("@storybook/addon-webpack5-compiler-swc")], - - webpackFinal: customizeWebpack, - - reactOptions: { - strictMode: true - }, - - framework: { - name: getAbsolutePath("@storybook/react-webpack5"), - - options: { - strictMode: true - } - }, - - docs: {}, - - typescript: { - reactDocgen: "react-docgen-typescript" - } -}; - -// Disable Typescript during Chromatic tests, otherwise we use too much RAM in our CI -if (isChromatic) { - config.typescript = { - check: false, - reactDocgen: false - }; -} - -// An optimized version of the components props will be visibile in the production build. It's available for debug & chromatic because the performance cost is too big. -if (!isChromatic && !isDebug) { - config.typescript = { - reactDocgenTypescriptOptions: { - // Slow down Storybook initial rendering by 3x but his essential to render a union values instead of a named export (e.g. will render "top" | "bottom" instead of PositionProp). - shouldExtractValuesFromUnion: true, - shouldExtractLiteralValuesFromEnum: true, - shouldRemoveUndefinedFromOptional: true, - exclude: ["node_modules"], - propFilter: (prop, component) => { - if (prop.parent && /node_modules/.test(prop.parent.fileName)) { - return false; - } - - if (component && component.name && !component.name.startsWith("Inner")) { - return false; - } - - return true; - } - } - }; -} - -module.exports = config; - -function getAbsolutePath(value) { - return dirname(require.resolve(join(value, "package.json"))); -} diff --git a/.storybook/oldddddd/manager-head.html b/.storybook/oldddddd/manager-head.html deleted file mode 100644 index 01c029333..000000000 --- a/.storybook/oldddddd/manager-head.html +++ /dev/null @@ -1,2 +0,0 @@ -<link rel="shortcut icon" href="https://raw.githubusercontent.com/gsoft-inc/wl-orbiter/master/assets/favicon.ico"> -<link rel="icon" type="image/png" href="https://raw.githubusercontent.com/gsoft-inc/wl-orbiter/master/assets/favicon.png" sizes="192x192"> diff --git a/.storybook/oldddddd/manager.js b/.storybook/oldddddd/manager.js deleted file mode 100644 index 40b9e7ad9..000000000 --- a/.storybook/oldddddd/manager.js +++ /dev/null @@ -1,9 +0,0 @@ -import { Themes } from "../styles/themes"; -import { addons } from "@storybook/manager-api"; - -addons.setConfig({ - theme: Themes.manager, - panelPosition: "right", - enableShortcuts: false, - showToolbar: true -}); diff --git a/.storybook/oldddddd/preview.js b/.storybook/oldddddd/preview.js deleted file mode 100644 index c7980f635..000000000 --- a/.storybook/oldddddd/preview.js +++ /dev/null @@ -1,124 +0,0 @@ -import "@css/normalize.css"; -import "@components/index.css"; -import "../styles"; - -import { isChromatic, isDocs } from "./env"; -import { withBackgroundMatchingColorScheme, withCenteredCanvas, withDocsContainer, withThemeProvider } from "../decorators"; - -import { Code, Highlight } from "@stories/mdx"; -import { Themes } from "../styles/themes"; - -if (!isChromatic) { - // Custom font makes chromatic inconsistent and cause "false positive". View https://www.chromatic.com/docs/resource-loading#loading-custom-fonts. - import("@css/fonts.css"); -} else { - import("./styles/chromatic.css"); -} - -export const parameters = { - options: { - storySort: { - method: "alphabetical", - order: [ - "Installation", - "Platforms", - "Features", [ - "Style props", - "Responsive styles", - "Theming", - "Color schemes", - "Slots", - "As" - ], - "Materials", [ - "Icons", - "Motion" - ], - "Layout", - "Components", - "Content", - "Placeholders", - "Html elements", - "Chromatic" - ] - } - }, - docs: { - theme: Themes.docs, - inlineStories: true, - components: { - blockquote: Highlight, - code: Code - }, - container: ({ context, children }) => withDocsContainer(context, children), - // Disable DocsPage feature. - page: null - }, - a11y: { - config: { - rules: [ - { id: "button-name", enabled: false } - ] - } - }, - viewport: { - viewports: { - xs: { - name: "xs (640px)", - styles: { - width: "640px", - height: "100%" - } - }, - sm: { - name: "sm (768px)", - styles: { - width: "768px", - height: "100%" - } - }, - md: { - name: "md (1024px)", - styles: { - width: "1024px", - height: "100%" - } - }, - lg: { - name: "lg (1280px)", - styles: { - width: "1280px", - height: "100%" - } - }, - xl: { - name: "xl (1440px)", - styles: { - width: "1440px", - height: "100%" - } - } - } - } -}; - -// HACKS: temporary hacks until SB natively support tools with docs mode. -if (isDocs) { - parameters.options.initialActive = "docs"; - parameters.options.isToolshown = true; -} - -export const globalTypes = { - colorScheme: { - name: "ColorScheme", - description: "Color scheme for components", - defaultValue: "light", - toolbar: { - title: "Color Scheme", - items: ["light", "dark"] - } - } -}; - -export const decorators = [withCenteredCanvas, withThemeProvider, withBackgroundMatchingColorScheme]; -export const tags = ["autodocs"]; diff --git a/.storybook/oldddddd/webpack.config.js b/.storybook/oldddddd/webpack.config.js deleted file mode 100644 index 6cf8eafd7..000000000 --- a/.storybook/oldddddd/webpack.config.js +++ /dev/null @@ -1,51 +0,0 @@ -const path = require("path"); -const webpack = require("webpack"); - -function addWebpackAliases(config) { - const existingAlias = config.resolve.alias || {}; - - config.resolve.alias = { - ...existingAlias, - "@root": path.resolve(__dirname, ".."), - "@css": path.resolve(__dirname, "../packages/css/src"), - "@components": path.resolve(__dirname, "../packages/components/src"), - "@orbit-ui/transition-components": path.resolve(__dirname, "../packages/components/src"), - "@workleap/orbiter-ui": path.resolve(__dirname, "../packages/bundle/src"), - "@stories/components": path.resolve(__dirname, "./components"), - "@stories/mdx": path.resolve(__dirname, "./mdx"), - "@stories/utils": path.resolve(__dirname, "./utils"), - // In order to properly load css files from node_modules, we need to add aliases for each package. - // we could use the ~, but this only works for webpack, and vite doesn't support it. - // also, since we are not using ~, it's considered a relative path, so we add the ./ to the alias. - "./@hopper-ui/icons/index.css": path.resolve(__dirname, "../node_modules/@hopper-ui/icons/dist/index.css"), - "./@hopper-ui/tokens/fonts.css": path.resolve(__dirname, "../node_modules/@hopper-ui/tokens/dist/fonts.css"), - "./@hopper-ui/styled-system/index.css": path.resolve(__dirname, "../node_modules/@hopper-ui/styled-system/dist/index.css"), - "./@hopper-ui/components/index.css": path.resolve(__dirname, "../node_modules/@hopper-ui/components/dist/index.css"), - }; -} - -function ignorePrettierParsers(config) { - config.plugins.push(new webpack.IgnorePlugin({ - resourceRegExp: /^\.\/parser-standalone$/, - contextRegExp: /prettier$/ - })); - - config.plugins.push(new webpack.IgnorePlugin({ - resourceRegExp: /^\.\/parser-flow$/, - contextRegExp: /prettier$/ - })); - - config.plugins.push(new webpack.IgnorePlugin({ - resourceRegExp: /^\.\/parser-typescript$/, - contextRegExp: /prettier$/ - })); -} - -module.exports = { - customizeWebpack: async config => { - addWebpackAliases(config); - ignorePrettierParsers(config); - - return config; - } -}; diff --git a/.storybook/preview.tsx b/.storybook/preview.tsx index 333976c89..2f4b041a7 100644 --- a/.storybook/preview.tsx +++ b/.storybook/preview.tsx @@ -11,7 +11,6 @@ import "@components/index.css"; import "./styles"; import "@hopper-ui/tokens/fonts.css"; import { Highlight } from "./mdx"; -import { Code } from "./components/code"; if (!isChromatic) { // Custom font makes chromatic inconsistent and cause "false positive". View https://www.chromatic.com/docs/resource-loading#loading-custom-fonts. diff --git a/.storybook/utils/getGlobals.js b/.storybook/utils/getGlobals.js deleted file mode 100644 index 650f3115c..000000000 --- a/.storybook/utils/getGlobals.js +++ /dev/null @@ -1,23 +0,0 @@ -/** - * The following function might not work on storybook@7.0.0 - * - * If it still works, remove this comment. - * - * See https://github.com/storybookjs/storybook/issues/18477#issuecomment-1198852168 - * @param { import("@storybook/react").StoryContext | import("@storybook/addon-docs").DocsContextProps } context - * @returns { Record<string, string> } - */ -export function getGlobals(context) { - // If it's a DocsContextProps, we have to do this to get up-to-date globals - // from the StoryContext. - if (context.storyById && context.getStoryContext) { - const story = context.storyById(context.id); - const storyContext = context.getStoryContext(story); - - return storyContext.globals; - } - - - // If it's a StoryContext, the context already has the up-to-date globals. - return context.globals; -} \ No newline at end of file diff --git a/.storybook/utils/index.js b/.storybook/utils/index.js deleted file mode 100644 index d6c431959..000000000 --- a/.storybook/utils/index.js +++ /dev/null @@ -1,3 +0,0 @@ -export * from "./paramsBuilder"; -export * from "./storiesOfBuilder"; -export * from "./getGlobals"; diff --git a/.storybook/utils/paramsBuilder.js b/.storybook/utils/paramsBuilder.js deleted file mode 100644 index eb57c5251..000000000 --- a/.storybook/utils/paramsBuilder.js +++ /dev/null @@ -1,123 +0,0 @@ -import { isNil } from "@components/shared"; - -class ParamsBuilder { - _canvasLayout = {} - _chromatic = {} - _excludeFromDocs = false; - _component = null; - _a11y = null; - _viewports = null; - - canvasLayout(config) { - if (!isNil(config)) { - this._canvasLayout = { - ...this._canvasLayout, - ...config - }; - } - - return this; - } - - chromatic(config) { - if (!isNil(config)) { - this._chromatic = { - ...this._chromatic, - ...config - }; - } - - return this; - } - - chromaticDelay(delay) { - if (!isNil(delay)) { - this._chromatic.delay = delay; - } - - return this; - } - - chromaticPauseAnimationAtEnd() { - this._chromatic.pauseAnimationAtEnd = true; - - return this; - } - - chromaticIgnore() { - this._chromatic.disable = true; - - return this; - } - - excludeFromDocs() { - this._excludeFromDocs = true; - - return this; - } - - component(component) { - this._component = component; - - return this; - } - - a11y(config) { - this._a11y = config; - - return this; - } - - withBreakpoints() { - this._viewports = [640, 768, 1024, 1280, 1440]; - - return this; - } - - build() { - const params = {}; - - if (!isNil(this._canvasLayout)) { - params.canvasLayout = this._canvasLayout; - } - - if (!isNil(this._chromatic)) { - params.chromatic = this._chromatic; - } - - if (!isNil(this._sortPriority)) { - params.sortPriority = this._sortPriority; - } - - if (!isNil(this._component)) { - params.component = this._component; - } - - if (!isNil(this._a11y)) { - params.a11y = this._a11y; - } - - if (!isNil(this._viewports)) { - params.chromatic = { - ...(params.chromatic ?? {}), - viewports: this._viewports - }; - } - - const docs = {}; - - if (this._excludeFromDocs) { - docs.disable = true; - } - - if (Object.keys(docs).length > 0) { - params.docs = docs; - } - - return params; - } -} - -export function paramsBuilder() { - return new ParamsBuilder(); -} diff --git a/.storybook/utils/storiesOfBuilder.js b/.storybook/utils/storiesOfBuilder.js deleted file mode 100644 index b5f7711d8..000000000 --- a/.storybook/utils/storiesOfBuilder.js +++ /dev/null @@ -1,59 +0,0 @@ -import { isNil, isPlainObject } from "@components/shared"; -// import { storiesOf } from "@storybook/react"; - -class StoriesOfConfigurationBuilder { - _module; - _section; - _segment; - _parameters; - - constructor(storiesModule, section) { - if (!storiesModule) { - throw new Error(`${StoriesOfConfigurationBuilder.name} - module is required.`); - } - - if (!section) { - throw new Error(`${StoriesOfConfigurationBuilder.name} - section is required.`); - } - - this._module = storiesModule; - this._section = section; - } - - segment(segment) { - if (!isNil(segment)) { - this._segment = segment; - } - - return this; - } - - parameters(parameters) { - if (isPlainObject(parameters)) { - this._parameters = parameters; - } - - return this; - } - - build() { - let name = this._section; - - if (!isNil(this._segment)) { - name += this._segment; - } - - return undefined; - // let storiesConfig = storiesOf(name, this._module); - - // if (!isNil(this._parameters)) { - // storiesConfig = storiesConfig.addParameters(this._parameters); - // } - - // return storiesConfig; - } -} - -export function storiesOfBuilder(storiesModule, section) { - return new StoriesOfConfigurationBuilder(storiesModule, section); -} diff --git a/packages/components/README.md b/packages/components/README.md index 5489174ac..828e90d4c 100644 --- a/packages/components/README.md +++ b/packages/components/README.md @@ -69,38 +69,12 @@ Specific stories for Chromatic are written to validate the specifications of a c Storybook is a fantastic tool for visual testing because a story is essentially a test specification. When it does make sense, multiple specifications can be bundled together in a story to save on Chromatic snapshots (which are not cheap!). -Specifications stories must be written with the [storiesOf API](https://storybook.js.org/docs/formats/storiesof-api/) in a `*.chroma.jsx` file. - A specifications story must: - Be located in the `Chromatic` top level section of the Storybook navigation menu. - The second level segment must be the capitalized name of the component (same as the development stories). -Here's an example: - -```javascript -// Button.chroma.jsx - -import { paramsBuilder, storiesOfBuilder } from "@stories/utils"; - -function stories(segment) { - return storiesOfBuilder(module, "Chromatic/Button") - .segment(segment) - .parameters( - paramsBuilder() - .build() - ) - .build(); -} - -stories("/segment") - .add("story-name", - () => - ... - ) -``` - -The stories must be located in a `tests/chromatic` folder next to the `src` folder of your component. Storybook is configured to load the following tests specifications: `packages/components/src/*/tests/chromatic/**.chroma.[jsx|tsx]`. +The stories must be located in a `tests/chromatic` folder next to the `src` folder of your component. Storybook is configured to load the following tests specifications: `packages/components/src/*/tests/chromatic/**.stories.tsx`. ``` /packages @@ -109,7 +83,7 @@ The stories must be located in a `tests/chromatic` folder next to the `src` fold /src /tests /chromatic - Button.chroma.jsx + Button.stories.tsx ``` Every component should have a test for "zoom" and "styling". Have a look at the existing tests to learn more. diff --git a/packages/components/src/avatar/docs/assets/index.js b/packages/components/src/avatar/docs/assets/index.ts similarity index 100% rename from packages/components/src/avatar/docs/assets/index.js rename to packages/components/src/avatar/docs/assets/index.ts diff --git a/packages/components/src/badge/docs/Badge.stories.tsx b/packages/components/src/badge/docs/Badge.stories.tsx index 074b6e1ec..3bd4b1091 100644 --- a/packages/components/src/badge/docs/Badge.stories.tsx +++ b/packages/components/src/badge/docs/Badge.stories.tsx @@ -1,8 +1,8 @@ import { Badge } from "@components/badge"; -import { Circle } from "./Circle.jsx"; +import { Circle } from "./Circle"; import { SparklesIcon } from "@hopper-ui/icons"; import { Inline } from "@components/layout"; -import { Square } from "./Square.jsx"; +import { Square } from "./Square"; import { Text } from "@components/typography"; import { Meta, StoryObj } from "@storybook/react"; diff --git a/packages/components/src/badge/docs/Circle.jsx b/packages/components/src/badge/docs/Circle.tsx similarity index 100% rename from packages/components/src/badge/docs/Circle.jsx rename to packages/components/src/badge/docs/Circle.tsx diff --git a/packages/components/src/badge/docs/Square.jsx b/packages/components/src/badge/docs/Square.tsx similarity index 100% rename from packages/components/src/badge/docs/Square.jsx rename to packages/components/src/badge/docs/Square.tsx diff --git a/packages/components/src/card/docs/assets/index.js b/packages/components/src/card/docs/assets/index.ts similarity index 100% rename from packages/components/src/card/docs/assets/index.js rename to packages/components/src/card/docs/assets/index.ts diff --git a/packages/components/src/card/tests/chromatic/assets/index.jsx b/packages/components/src/card/tests/chromatic/assets/index.tsx similarity index 100% rename from packages/components/src/card/tests/chromatic/assets/index.jsx rename to packages/components/src/card/tests/chromatic/assets/index.tsx diff --git a/packages/components/src/html/docs/assets/index.js b/packages/components/src/html/docs/assets/index.ts similarity index 100% rename from packages/components/src/html/docs/assets/index.js rename to packages/components/src/html/docs/assets/index.ts diff --git a/packages/components/src/illustration/docs/assets/index.jsx b/packages/components/src/illustration/docs/assets/index.tsx similarity index 100% rename from packages/components/src/illustration/docs/assets/index.jsx rename to packages/components/src/illustration/docs/assets/index.tsx diff --git a/packages/components/src/image/docs/assets/index.js b/packages/components/src/image/docs/assets/index.ts similarity index 100% rename from packages/components/src/image/docs/assets/index.js rename to packages/components/src/image/docs/assets/index.ts diff --git a/packages/components/src/link/docs/RouterLink.jsx b/packages/components/src/link/docs/RouterLink.tsx similarity index 67% rename from packages/components/src/link/docs/RouterLink.jsx rename to packages/components/src/link/docs/RouterLink.tsx index 2fb6b05fb..0b9bf5325 100644 --- a/packages/components/src/link/docs/RouterLink.jsx +++ b/packages/components/src/link/docs/RouterLink.tsx @@ -1,11 +1,15 @@ -import { Box } from "@components/box"; +import { Box, BoxProps } from "@components/box"; + +interface RouterLinkProps extends Omit<BoxProps, "href"> { + to?: BoxProps["href"]; +} // Dummy component to demonstrate how to use with React Router. export const RouterLink = ({ to, children, ...rest -}) => { +}: RouterLinkProps) => { return ( // eslint-disable-next-line jsx-a11y/anchor-is-valid <Box diff --git a/packages/components/src/link/docs/assets/index.js b/packages/components/src/link/docs/assets/index.ts similarity index 100% rename from packages/components/src/link/docs/assets/index.js rename to packages/components/src/link/docs/assets/index.ts diff --git a/packages/components/src/link/tests/chromatic/assets/index.js b/packages/components/src/link/tests/chromatic/assets/index.ts similarity index 100% rename from packages/components/src/link/tests/chromatic/assets/index.js rename to packages/components/src/link/tests/chromatic/assets/index.ts diff --git a/packages/components/src/modal/docs/assets/index.js b/packages/components/src/modal/docs/assets/index.ts similarity index 100% rename from packages/components/src/modal/docs/assets/index.js rename to packages/components/src/modal/docs/assets/index.ts diff --git a/packages/components/src/popover/docs/assets/index.js b/packages/components/src/popover/docs/assets/index.ts similarity index 100% rename from packages/components/src/popover/docs/assets/index.js rename to packages/components/src/popover/docs/assets/index.ts diff --git a/packages/components/src/tile/docs/assets/index.js b/packages/components/src/tile/docs/assets/index.ts similarity index 100% rename from packages/components/src/tile/docs/assets/index.js rename to packages/components/src/tile/docs/assets/index.ts diff --git a/packages/components/src/tile/tests/chromatic/assets/index.js b/packages/components/src/tile/tests/chromatic/assets/index.ts similarity index 100% rename from packages/components/src/tile/tests/chromatic/assets/index.js rename to packages/components/src/tile/tests/chromatic/assets/index.ts diff --git a/tsconfig.json b/tsconfig.json index d8c2c6886..a085e2ecb 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -14,8 +14,7 @@ "@stories/components": [".storybook/components"], "@root": ["./"], "@css/*": ["packages/css/src/*"], - "@stories/mdx": [".storybook/mdx"], - "@stories/utils": [".storybook/utils"] + "@stories/mdx": [".storybook/mdx"] } } } From 02814e3731d0f5208a22b05787643ff6109ed44f Mon Sep 17 00:00:00 2001 From: Alexandre Asselin <alexandre.asselin@gsoft.com> Date: Mon, 4 Nov 2024 17:00:00 -0500 Subject: [PATCH 55/95] remove yarn lock --- yarn.lock | 21211 ---------------------------------------------------- 1 file changed, 21211 deletions(-) delete mode 100644 yarn.lock diff --git a/yarn.lock b/yarn.lock deleted file mode 100644 index 166849eac..000000000 --- a/yarn.lock +++ /dev/null @@ -1,21211 +0,0 @@ -# THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. -# yarn lockfile v1 - - -"@adobe/css-tools@^4.4.0": - version "4.4.0" - resolved "https://registry.yarnpkg.com/@adobe/css-tools/-/css-tools-4.4.0.tgz#728c484f4e10df03d5a3acd0d8adcbbebff8ad63" - integrity sha512-Ff9+ksdQQB3rMncgqDK78uLznstjyfIf2Arnh22pW8kBpLs6rpKDwgnZT46hin5Hl1WzazzK64DOrhSwYpS7bQ== - -"@ampproject/remapping@^2.2.0": - version "2.3.0" - resolved "https://registry.yarnpkg.com/@ampproject/remapping/-/remapping-2.3.0.tgz#ed441b6fa600072520ce18b43d2c8cc8caecc7f4" - integrity sha512-30iZtAPgz+LTIYoeivqYo853f02jBYSd5uGnGpkFV0M3xOt9aN73erkgYAmZU43x4VfqcnLxW9Kpg3R5LC4YYw== - dependencies: - "@jridgewell/gen-mapping" "^0.3.5" - "@jridgewell/trace-mapping" "^0.3.24" - -"@babel/code-frame@^7.0.0", "@babel/code-frame@^7.10.4", "@babel/code-frame@^7.12.13", "@babel/code-frame@^7.16.0", "@babel/code-frame@^7.16.7", "@babel/code-frame@^7.25.7": - version "7.25.7" - resolved "https://registry.yarnpkg.com/@babel/code-frame/-/code-frame-7.25.7.tgz#438f2c524071531d643c6f0188e1e28f130cebc7" - integrity sha512-0xZJFNE5XMpENsgfHYTw8FbX4kv53mFLn2i3XPoq69LyhYSCBJtitaHx9QnsVTrsogI4Z3+HtEfZ2/GFPOtf5g== - dependencies: - "@babel/highlight" "^7.25.7" - picocolors "^1.0.0" - -"@babel/compat-data@^7.22.6", "@babel/compat-data@^7.25.7", "@babel/compat-data@^7.25.8": - version "7.25.8" - resolved "https://registry.yarnpkg.com/@babel/compat-data/-/compat-data-7.25.8.tgz#0376e83df5ab0eb0da18885c0140041f0747a402" - integrity sha512-ZsysZyXY4Tlx+Q53XdnOFmqwfB9QDTHYxaZYajWRoBLuLEAwI2UIbtxOjWh/cFaa9IKUlcB+DDuoskLuKu56JA== - -"@babel/core@^7.11.4", "@babel/core@^7.11.6", "@babel/core@^7.12.3", "@babel/core@^7.18.9", "@babel/core@^7.19.6", "@babel/core@^7.22.5", "@babel/core@^7.23.9", "@babel/core@^7.7.5": - version "7.25.8" - resolved "https://registry.yarnpkg.com/@babel/core/-/core-7.25.8.tgz#a57137d2a51bbcffcfaeba43cb4dd33ae3e0e1c6" - integrity sha512-Oixnb+DzmRT30qu9d3tJSQkxuygWm32DFykT4bRoORPa9hZ/L4KhVB/XiRm6KG+roIEM7DBQlmg27kw2HZkdZg== - dependencies: - "@ampproject/remapping" "^2.2.0" - "@babel/code-frame" "^7.25.7" - "@babel/generator" "^7.25.7" - "@babel/helper-compilation-targets" "^7.25.7" - "@babel/helper-module-transforms" "^7.25.7" - "@babel/helpers" "^7.25.7" - "@babel/parser" "^7.25.8" - "@babel/template" "^7.25.7" - "@babel/traverse" "^7.25.7" - "@babel/types" "^7.25.8" - convert-source-map "^2.0.0" - debug "^4.1.0" - gensync "^1.0.0-beta.2" - json5 "^2.2.3" - semver "^6.3.1" - -"@babel/generator@^7.22.5", "@babel/generator@^7.25.7", "@babel/generator@^7.7.2": - version "7.25.7" - resolved "https://registry.yarnpkg.com/@babel/generator/-/generator-7.25.7.tgz#de86acbeb975a3e11ee92dd52223e6b03b479c56" - integrity sha512-5Dqpl5fyV9pIAD62yK9P7fcA768uVPUyrQmqpqstHWgMma4feF1x/oFysBCVZLY5wJ2GkMUCdsNDnGZrPoR6rA== - dependencies: - "@babel/types" "^7.25.7" - "@jridgewell/gen-mapping" "^0.3.5" - "@jridgewell/trace-mapping" "^0.3.25" - jsesc "^3.0.2" - -"@babel/helper-annotate-as-pure@^7.25.7": - version "7.25.7" - resolved "https://registry.yarnpkg.com/@babel/helper-annotate-as-pure/-/helper-annotate-as-pure-7.25.7.tgz#63f02dbfa1f7cb75a9bdb832f300582f30bb8972" - integrity sha512-4xwU8StnqnlIhhioZf1tqnVWeQ9pvH/ujS8hRfw/WOza+/a+1qv69BWNy+oY231maTCWgKWhfBU7kDpsds6zAA== - dependencies: - "@babel/types" "^7.25.7" - -"@babel/helper-builder-binary-assignment-operator-visitor@^7.25.7": - version "7.25.7" - resolved "https://registry.yarnpkg.com/@babel/helper-builder-binary-assignment-operator-visitor/-/helper-builder-binary-assignment-operator-visitor-7.25.7.tgz#d721650c1f595371e0a23ee816f1c3c488c0d622" - integrity sha512-12xfNeKNH7jubQNm7PAkzlLwEmCs1tfuX3UjIw6vP6QXi+leKh6+LyC/+Ed4EIQermwd58wsyh070yjDHFlNGg== - dependencies: - "@babel/traverse" "^7.25.7" - "@babel/types" "^7.25.7" - -"@babel/helper-compilation-targets@^7.22.6", "@babel/helper-compilation-targets@^7.25.7": - version "7.25.7" - resolved "https://registry.yarnpkg.com/@babel/helper-compilation-targets/-/helper-compilation-targets-7.25.7.tgz#11260ac3322dda0ef53edfae6e97b961449f5fa4" - integrity sha512-DniTEax0sv6isaw6qSQSfV4gVRNtw2rte8HHM45t9ZR0xILaufBRNkpMifCRiAPyvL4ACD6v0gfCwCmtOQaV4A== - dependencies: - "@babel/compat-data" "^7.25.7" - "@babel/helper-validator-option" "^7.25.7" - browserslist "^4.24.0" - lru-cache "^5.1.1" - semver "^6.3.1" - -"@babel/helper-create-class-features-plugin@^7.25.7": - version "7.25.7" - resolved "https://registry.yarnpkg.com/@babel/helper-create-class-features-plugin/-/helper-create-class-features-plugin-7.25.7.tgz#5d65074c76cae75607421c00d6bd517fe1892d6b" - integrity sha512-bD4WQhbkx80mAyj/WCm4ZHcF4rDxkoLFO6ph8/5/mQ3z4vAzltQXAmbc7GvVJx5H+lk5Mi5EmbTeox5nMGCsbw== - dependencies: - "@babel/helper-annotate-as-pure" "^7.25.7" - "@babel/helper-member-expression-to-functions" "^7.25.7" - "@babel/helper-optimise-call-expression" "^7.25.7" - "@babel/helper-replace-supers" "^7.25.7" - "@babel/helper-skip-transparent-expression-wrappers" "^7.25.7" - "@babel/traverse" "^7.25.7" - semver "^6.3.1" - -"@babel/helper-create-regexp-features-plugin@^7.18.6", "@babel/helper-create-regexp-features-plugin@^7.25.7": - version "7.25.7" - resolved "https://registry.yarnpkg.com/@babel/helper-create-regexp-features-plugin/-/helper-create-regexp-features-plugin-7.25.7.tgz#dcb464f0e2cdfe0c25cc2a0a59c37ab940ce894e" - integrity sha512-byHhumTj/X47wJ6C6eLpK7wW/WBEcnUeb7D0FNc/jFQnQVw7DOso3Zz5u9x/zLrFVkHa89ZGDbkAa1D54NdrCQ== - dependencies: - "@babel/helper-annotate-as-pure" "^7.25.7" - regexpu-core "^6.1.1" - semver "^6.3.1" - -"@babel/helper-define-polyfill-provider@^0.6.2": - version "0.6.2" - resolved "https://registry.yarnpkg.com/@babel/helper-define-polyfill-provider/-/helper-define-polyfill-provider-0.6.2.tgz#18594f789c3594acb24cfdb4a7f7b7d2e8bd912d" - integrity sha512-LV76g+C502biUK6AyZ3LK10vDpDyCzZnhZFXkH1L75zHPj68+qc8Zfpx2th+gzwA2MzyK+1g/3EPl62yFnVttQ== - dependencies: - "@babel/helper-compilation-targets" "^7.22.6" - "@babel/helper-plugin-utils" "^7.22.5" - debug "^4.1.1" - lodash.debounce "^4.0.8" - resolve "^1.14.2" - -"@babel/helper-member-expression-to-functions@^7.25.7": - version "7.25.7" - resolved "https://registry.yarnpkg.com/@babel/helper-member-expression-to-functions/-/helper-member-expression-to-functions-7.25.7.tgz#541a33b071f0355a63a0fa4bdf9ac360116b8574" - integrity sha512-O31Ssjd5K6lPbTX9AAYpSKrZmLeagt9uwschJd+Ixo6QiRyfpvgtVQp8qrDR9UNFjZ8+DO34ZkdrN+BnPXemeA== - dependencies: - "@babel/traverse" "^7.25.7" - "@babel/types" "^7.25.7" - -"@babel/helper-module-imports@^7.10.4", "@babel/helper-module-imports@^7.25.7": - version "7.25.7" - resolved "https://registry.yarnpkg.com/@babel/helper-module-imports/-/helper-module-imports-7.25.7.tgz#dba00d9523539152906ba49263e36d7261040472" - integrity sha512-o0xCgpNmRohmnoWKQ0Ij8IdddjyBFE4T2kagL/x6M3+4zUgc+4qTOUBoNe4XxDskt1HPKO007ZPiMgLDq2s7Kw== - dependencies: - "@babel/traverse" "^7.25.7" - "@babel/types" "^7.25.7" - -"@babel/helper-module-transforms@^7.25.7": - version "7.25.7" - resolved "https://registry.yarnpkg.com/@babel/helper-module-transforms/-/helper-module-transforms-7.25.7.tgz#2ac9372c5e001b19bc62f1fe7d96a18cb0901d1a" - integrity sha512-k/6f8dKG3yDz/qCwSM+RKovjMix563SLxQFo0UhRNo239SP6n9u5/eLtKD6EAjwta2JHJ49CsD8pms2HdNiMMQ== - dependencies: - "@babel/helper-module-imports" "^7.25.7" - "@babel/helper-simple-access" "^7.25.7" - "@babel/helper-validator-identifier" "^7.25.7" - "@babel/traverse" "^7.25.7" - -"@babel/helper-optimise-call-expression@^7.25.7": - version "7.25.7" - resolved "https://registry.yarnpkg.com/@babel/helper-optimise-call-expression/-/helper-optimise-call-expression-7.25.7.tgz#1de1b99688e987af723eed44fa7fc0ee7b97d77a" - integrity sha512-VAwcwuYhv/AT+Vfr28c9y6SHzTan1ryqrydSTFGjU0uDJHw3uZ+PduI8plCLkRsDnqK2DMEDmwrOQRsK/Ykjng== - dependencies: - "@babel/types" "^7.25.7" - -"@babel/helper-plugin-utils@^7.0.0", "@babel/helper-plugin-utils@^7.10.4", "@babel/helper-plugin-utils@^7.12.13", "@babel/helper-plugin-utils@^7.14.5", "@babel/helper-plugin-utils@^7.18.6", "@babel/helper-plugin-utils@^7.22.5", "@babel/helper-plugin-utils@^7.25.7", "@babel/helper-plugin-utils@^7.8.0": - version "7.25.7" - resolved "https://registry.yarnpkg.com/@babel/helper-plugin-utils/-/helper-plugin-utils-7.25.7.tgz#8ec5b21812d992e1ef88a9b068260537b6f0e36c" - integrity sha512-eaPZai0PiqCi09pPs3pAFfl/zYgGaE6IdXtYvmf0qlcDTd3WCtO7JWCcRd64e0EQrcYgiHibEZnOGsSY4QSgaw== - -"@babel/helper-remap-async-to-generator@^7.25.7": - version "7.25.7" - resolved "https://registry.yarnpkg.com/@babel/helper-remap-async-to-generator/-/helper-remap-async-to-generator-7.25.7.tgz#9efdc39df5f489bcd15533c912b6c723a0a65021" - integrity sha512-kRGE89hLnPfcz6fTrlNU+uhgcwv0mBE4Gv3P9Ke9kLVJYpi4AMVVEElXvB5CabrPZW4nCM8P8UyyjrzCM0O2sw== - dependencies: - "@babel/helper-annotate-as-pure" "^7.25.7" - "@babel/helper-wrap-function" "^7.25.7" - "@babel/traverse" "^7.25.7" - -"@babel/helper-replace-supers@^7.25.7": - version "7.25.7" - resolved "https://registry.yarnpkg.com/@babel/helper-replace-supers/-/helper-replace-supers-7.25.7.tgz#38cfda3b6e990879c71d08d0fef9236b62bd75f5" - integrity sha512-iy8JhqlUW9PtZkd4pHM96v6BdJ66Ba9yWSE4z0W4TvSZwLBPkyDsiIU3ENe4SmrzRBs76F7rQXTy1lYC49n6Lw== - dependencies: - "@babel/helper-member-expression-to-functions" "^7.25.7" - "@babel/helper-optimise-call-expression" "^7.25.7" - "@babel/traverse" "^7.25.7" - -"@babel/helper-simple-access@^7.25.7": - version "7.25.7" - resolved "https://registry.yarnpkg.com/@babel/helper-simple-access/-/helper-simple-access-7.25.7.tgz#5eb9f6a60c5d6b2e0f76057004f8dacbddfae1c0" - integrity sha512-FPGAkJmyoChQeM+ruBGIDyrT2tKfZJO8NcxdC+CWNJi7N8/rZpSxK7yvBJ5O/nF1gfu5KzN7VKG3YVSLFfRSxQ== - dependencies: - "@babel/traverse" "^7.25.7" - "@babel/types" "^7.25.7" - -"@babel/helper-skip-transparent-expression-wrappers@^7.25.7": - version "7.25.7" - resolved "https://registry.yarnpkg.com/@babel/helper-skip-transparent-expression-wrappers/-/helper-skip-transparent-expression-wrappers-7.25.7.tgz#382831c91038b1a6d32643f5f49505b8442cb87c" - integrity sha512-pPbNbchZBkPMD50K0p3JGcFMNLVUCuU/ABybm/PGNj4JiHrpmNyqqCphBk4i19xXtNV0JhldQJJtbSW5aUvbyA== - dependencies: - "@babel/traverse" "^7.25.7" - "@babel/types" "^7.25.7" - -"@babel/helper-string-parser@^7.25.7": - version "7.25.7" - resolved "https://registry.yarnpkg.com/@babel/helper-string-parser/-/helper-string-parser-7.25.7.tgz#d50e8d37b1176207b4fe9acedec386c565a44a54" - integrity sha512-CbkjYdsJNHFk8uqpEkpCvRs3YRp9tY6FmFY7wLMSYuGYkrdUi7r2lc4/wqsvlHoMznX3WJ9IP8giGPq68T/Y6g== - -"@babel/helper-validator-identifier@^7.25.7": - version "7.25.7" - resolved "https://registry.yarnpkg.com/@babel/helper-validator-identifier/-/helper-validator-identifier-7.25.7.tgz#77b7f60c40b15c97df735b38a66ba1d7c3e93da5" - integrity sha512-AM6TzwYqGChO45oiuPqwL2t20/HdMC1rTPAesnBCgPCSF1x3oN9MVUwQV2iyz4xqWrctwK5RNC8LV22kaQCNYg== - -"@babel/helper-validator-option@^7.25.7": - version "7.25.7" - resolved "https://registry.yarnpkg.com/@babel/helper-validator-option/-/helper-validator-option-7.25.7.tgz#97d1d684448228b30b506d90cace495d6f492729" - integrity sha512-ytbPLsm+GjArDYXJ8Ydr1c/KJuutjF2besPNbIZnZ6MKUxi/uTA22t2ymmA4WFjZFpjiAMO0xuuJPqK2nvDVfQ== - -"@babel/helper-wrap-function@^7.25.7": - version "7.25.7" - resolved "https://registry.yarnpkg.com/@babel/helper-wrap-function/-/helper-wrap-function-7.25.7.tgz#9f6021dd1c4fdf4ad515c809967fc4bac9a70fe7" - integrity sha512-MA0roW3JF2bD1ptAaJnvcabsVlNQShUaThyJbCDD4bCp8NEgiFvpoqRI2YS22hHlc2thjO/fTg2ShLMC3jygAg== - dependencies: - "@babel/template" "^7.25.7" - "@babel/traverse" "^7.25.7" - "@babel/types" "^7.25.7" - -"@babel/helpers@^7.25.7": - version "7.25.7" - resolved "https://registry.yarnpkg.com/@babel/helpers/-/helpers-7.25.7.tgz#091b52cb697a171fe0136ab62e54e407211f09c2" - integrity sha512-Sv6pASx7Esm38KQpF/U/OXLwPPrdGHNKoeblRxgZRLXnAtnkEe4ptJPDtAZM7fBLadbc1Q07kQpSiGQ0Jg6tRA== - dependencies: - "@babel/template" "^7.25.7" - "@babel/types" "^7.25.7" - -"@babel/highlight@^7.25.7": - version "7.25.7" - resolved "https://registry.yarnpkg.com/@babel/highlight/-/highlight-7.25.7.tgz#20383b5f442aa606e7b5e3043b0b1aafe9f37de5" - integrity sha512-iYyACpW3iW8Fw+ZybQK+drQre+ns/tKpXbNESfrhNnPLIklLbXr7MYJ6gPEd0iETGLOK+SxMjVvKb/ffmk+FEw== - dependencies: - "@babel/helper-validator-identifier" "^7.25.7" - chalk "^2.4.2" - js-tokens "^4.0.0" - picocolors "^1.0.0" - -"@babel/parser@7.16.8": - version "7.16.8" - resolved "https://registry.yarnpkg.com/@babel/parser/-/parser-7.16.8.tgz#61c243a3875f7d0b0962b0543a33ece6ff2f1f17" - integrity sha512-i7jDUfrVBWc+7OKcBzEe5n7fbv3i2fWtxKzzCvOjnzSxMfWMigAhtfJ7qzZNGFNMsCCd67+uz553dYKWXPvCKw== - -"@babel/parser@^7.0.0", "@babel/parser@^7.1.0", "@babel/parser@^7.14.7", "@babel/parser@^7.15.7", "@babel/parser@^7.20.7", "@babel/parser@^7.21.4", "@babel/parser@^7.23.9", "@babel/parser@^7.25.7", "@babel/parser@^7.25.8": - version "7.25.8" - resolved "https://registry.yarnpkg.com/@babel/parser/-/parser-7.25.8.tgz#f6aaf38e80c36129460c1657c0762db584c9d5e2" - integrity sha512-HcttkxzdPucv3nNFmfOOMfFf64KgdJVqm1KaCm25dPGMLElo9nsLvXeJECQg8UzPuBGLyTSA0ZzqCtDSzKTEoQ== - dependencies: - "@babel/types" "^7.25.8" - -"@babel/plugin-bugfix-firefox-class-in-computed-class-key@^7.25.7": - version "7.25.7" - resolved "https://registry.yarnpkg.com/@babel/plugin-bugfix-firefox-class-in-computed-class-key/-/plugin-bugfix-firefox-class-in-computed-class-key-7.25.7.tgz#93969ac50ef4d68b2504b01b758af714e4cbdd64" - integrity sha512-UV9Lg53zyebzD1DwQoT9mzkEKa922LNUp5YkTJ6Uta0RbyXaQNUgcvSt7qIu1PpPzVb6rd10OVNTzkyBGeVmxQ== - dependencies: - "@babel/helper-plugin-utils" "^7.25.7" - "@babel/traverse" "^7.25.7" - -"@babel/plugin-bugfix-safari-class-field-initializer-scope@^7.25.7": - version "7.25.7" - resolved "https://registry.yarnpkg.com/@babel/plugin-bugfix-safari-class-field-initializer-scope/-/plugin-bugfix-safari-class-field-initializer-scope-7.25.7.tgz#a338d611adb9dcd599b8b1efa200c88ebeffe046" - integrity sha512-GDDWeVLNxRIkQTnJn2pDOM1pkCgYdSqPeT1a9vh9yIqu2uzzgw1zcqEb+IJOhy+dTBMlNdThrDIksr2o09qrrQ== - dependencies: - "@babel/helper-plugin-utils" "^7.25.7" - -"@babel/plugin-bugfix-safari-id-destructuring-collision-in-function-expression@^7.25.7": - version "7.25.7" - resolved "https://registry.yarnpkg.com/@babel/plugin-bugfix-safari-id-destructuring-collision-in-function-expression/-/plugin-bugfix-safari-id-destructuring-collision-in-function-expression-7.25.7.tgz#c5f755e911dfac7ef6957300c0f9c4a8c18c06f4" - integrity sha512-wxyWg2RYaSUYgmd9MR0FyRGyeOMQE/Uzr1wzd/g5cf5bwi9A4v6HFdDm7y1MgDtod/fLOSTZY6jDgV0xU9d5bA== - dependencies: - "@babel/helper-plugin-utils" "^7.25.7" - -"@babel/plugin-bugfix-v8-spread-parameters-in-optional-chaining@^7.25.7": - version "7.25.7" - resolved "https://registry.yarnpkg.com/@babel/plugin-bugfix-v8-spread-parameters-in-optional-chaining/-/plugin-bugfix-v8-spread-parameters-in-optional-chaining-7.25.7.tgz#3b7ea04492ded990978b6deaa1dfca120ad4455a" - integrity sha512-Xwg6tZpLxc4iQjorYsyGMyfJE7nP5MV8t/Ka58BgiA7Jw0fRqQNcANlLfdJ/yvBt9z9LD2We+BEkT7vLqZRWng== - dependencies: - "@babel/helper-plugin-utils" "^7.25.7" - "@babel/helper-skip-transparent-expression-wrappers" "^7.25.7" - "@babel/plugin-transform-optional-chaining" "^7.25.7" - -"@babel/plugin-bugfix-v8-static-class-fields-redefine-readonly@^7.25.7": - version "7.25.7" - resolved "https://registry.yarnpkg.com/@babel/plugin-bugfix-v8-static-class-fields-redefine-readonly/-/plugin-bugfix-v8-static-class-fields-redefine-readonly-7.25.7.tgz#9622b1d597a703aa3a921e6f58c9c2d9a028d2c5" - integrity sha512-UVATLMidXrnH+GMUIuxq55nejlj02HP7F5ETyBONzP6G87fPBogG4CH6kxrSrdIuAjdwNO9VzyaYsrZPscWUrw== - dependencies: - "@babel/helper-plugin-utils" "^7.25.7" - "@babel/traverse" "^7.25.7" - -"@babel/plugin-proposal-private-property-in-object@7.21.0-placeholder-for-preset-env.2": - version "7.21.0-placeholder-for-preset-env.2" - resolved "https://registry.yarnpkg.com/@babel/plugin-proposal-private-property-in-object/-/plugin-proposal-private-property-in-object-7.21.0-placeholder-for-preset-env.2.tgz#7844f9289546efa9febac2de4cfe358a050bd703" - integrity sha512-SOSkfJDddaM7mak6cPEpswyTRnuRltl429hMraQEglW+OkovnCzsiszTmsrlY//qLFjCpQDFRvjdm2wA5pPm9w== - -"@babel/plugin-syntax-async-generators@^7.8.4": - version "7.8.4" - resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-async-generators/-/plugin-syntax-async-generators-7.8.4.tgz#a983fb1aeb2ec3f6ed042a210f640e90e786fe0d" - integrity sha512-tycmZxkGfZaxhMRbXlPXuVFpdWlXpir2W4AMhSJgRKzk/eDlIXOhb2LHWoLpDF7TEHylV5zNhykX6KAgHJmTNw== - dependencies: - "@babel/helper-plugin-utils" "^7.8.0" - -"@babel/plugin-syntax-bigint@^7.8.3": - version "7.8.3" - resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-bigint/-/plugin-syntax-bigint-7.8.3.tgz#4c9a6f669f5d0cdf1b90a1671e9a146be5300cea" - integrity sha512-wnTnFlG+YxQm3vDxpGE57Pj0srRU4sHE/mDkt1qv2YJJSeUAec2ma4WLUnUPeKjyrfntVwe/N6dCXpU+zL3Npg== - dependencies: - "@babel/helper-plugin-utils" "^7.8.0" - -"@babel/plugin-syntax-class-properties@^7.12.13": - version "7.12.13" - resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-class-properties/-/plugin-syntax-class-properties-7.12.13.tgz#b5c987274c4a3a82b89714796931a6b53544ae10" - integrity sha512-fm4idjKla0YahUNgFNLCB0qySdsoPiZP3iQE3rky0mBUtMZ23yDJ9SJdg6dXTSDnulOVqiF3Hgr9nbXvXTQZYA== - dependencies: - "@babel/helper-plugin-utils" "^7.12.13" - -"@babel/plugin-syntax-class-static-block@^7.14.5": - version "7.14.5" - resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-class-static-block/-/plugin-syntax-class-static-block-7.14.5.tgz#195df89b146b4b78b3bf897fd7a257c84659d406" - integrity sha512-b+YyPmr6ldyNnM6sqYeMWE+bgJcJpO6yS4QD7ymxgH34GBPNDM/THBh8iunyvKIZztiwLH4CJZ0RxTk9emgpjw== - dependencies: - "@babel/helper-plugin-utils" "^7.14.5" - -"@babel/plugin-syntax-import-assertions@^7.25.7": - version "7.25.7" - resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-import-assertions/-/plugin-syntax-import-assertions-7.25.7.tgz#8ce248f9f4ed4b7ed4cb2e0eb4ed9efd9f52921f" - integrity sha512-ZvZQRmME0zfJnDQnVBKYzHxXT7lYBB3Revz1GuS7oLXWMgqUPX4G+DDbT30ICClht9WKV34QVrZhSw6WdklwZQ== - dependencies: - "@babel/helper-plugin-utils" "^7.25.7" - -"@babel/plugin-syntax-import-attributes@^7.24.7", "@babel/plugin-syntax-import-attributes@^7.25.7": - version "7.25.7" - resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-import-attributes/-/plugin-syntax-import-attributes-7.25.7.tgz#d78dd0499d30df19a598e63ab895e21b909bc43f" - integrity sha512-AqVo+dguCgmpi/3mYBdu9lkngOBlQ2w2vnNpa6gfiCxQZLzV4ZbhsXitJ2Yblkoe1VQwtHSaNmIaGll/26YWRw== - dependencies: - "@babel/helper-plugin-utils" "^7.25.7" - -"@babel/plugin-syntax-import-meta@^7.10.4": - version "7.10.4" - resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-import-meta/-/plugin-syntax-import-meta-7.10.4.tgz#ee601348c370fa334d2207be158777496521fd51" - integrity sha512-Yqfm+XDx0+Prh3VSeEQCPU81yC+JWZ2pDPFSS4ZdpfZhp4MkFMaDC1UqseovEKwSUpnIL7+vK+Clp7bfh0iD7g== - dependencies: - "@babel/helper-plugin-utils" "^7.10.4" - -"@babel/plugin-syntax-json-strings@^7.8.3": - version "7.8.3" - resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-json-strings/-/plugin-syntax-json-strings-7.8.3.tgz#01ca21b668cd8218c9e640cb6dd88c5412b2c96a" - integrity sha512-lY6kdGpWHvjoe2vk4WrAapEuBR69EMxZl+RoGRhrFGNYVK8mOPAW8VfbT/ZgrFbXlDNiiaxQnAtgVCZ6jv30EA== - dependencies: - "@babel/helper-plugin-utils" "^7.8.0" - -"@babel/plugin-syntax-jsx@^7.7.2": - version "7.25.7" - resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-jsx/-/plugin-syntax-jsx-7.25.7.tgz#5352d398d11ea5e7ef330c854dea1dae0bf18165" - integrity sha512-ruZOnKO+ajVL/MVx+PwNBPOkrnXTXoWMtte1MBpegfCArhqOe3Bj52avVj1huLLxNKYKXYaSxZ2F+woK1ekXfw== - dependencies: - "@babel/helper-plugin-utils" "^7.25.7" - -"@babel/plugin-syntax-logical-assignment-operators@^7.10.4": - version "7.10.4" - resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-logical-assignment-operators/-/plugin-syntax-logical-assignment-operators-7.10.4.tgz#ca91ef46303530448b906652bac2e9fe9941f699" - integrity sha512-d8waShlpFDinQ5MtvGU9xDAOzKH47+FFoney2baFIoMr952hKOLp1HR7VszoZvOsV/4+RRszNY7D17ba0te0ig== - dependencies: - "@babel/helper-plugin-utils" "^7.10.4" - -"@babel/plugin-syntax-nullish-coalescing-operator@^7.8.3": - version "7.8.3" - resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-nullish-coalescing-operator/-/plugin-syntax-nullish-coalescing-operator-7.8.3.tgz#167ed70368886081f74b5c36c65a88c03b66d1a9" - integrity sha512-aSff4zPII1u2QD7y+F8oDsz19ew4IGEJg9SVW+bqwpwtfFleiQDMdzA/R+UlWDzfnHFCxxleFT0PMIrR36XLNQ== - dependencies: - "@babel/helper-plugin-utils" "^7.8.0" - -"@babel/plugin-syntax-numeric-separator@^7.10.4": - version "7.10.4" - resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-numeric-separator/-/plugin-syntax-numeric-separator-7.10.4.tgz#b9b070b3e33570cd9fd07ba7fa91c0dd37b9af97" - integrity sha512-9H6YdfkcK/uOnY/K7/aA2xpzaAgkQn37yzWUMRK7OaPOqOpGS1+n0H5hxT9AUw9EsSjPW8SVyMJwYRtWs3X3ug== - dependencies: - "@babel/helper-plugin-utils" "^7.10.4" - -"@babel/plugin-syntax-object-rest-spread@^7.8.3": - version "7.8.3" - resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-object-rest-spread/-/plugin-syntax-object-rest-spread-7.8.3.tgz#60e225edcbd98a640332a2e72dd3e66f1af55871" - integrity sha512-XoqMijGZb9y3y2XskN+P1wUGiVwWZ5JmoDRwx5+3GmEplNyVM2s2Dg8ILFQm8rWM48orGy5YpI5Bl8U1y7ydlA== - dependencies: - "@babel/helper-plugin-utils" "^7.8.0" - -"@babel/plugin-syntax-optional-catch-binding@^7.8.3": - version "7.8.3" - resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-optional-catch-binding/-/plugin-syntax-optional-catch-binding-7.8.3.tgz#6111a265bcfb020eb9efd0fdfd7d26402b9ed6c1" - integrity sha512-6VPD0Pc1lpTqw0aKoeRTMiB+kWhAoT24PA+ksWSBrFtl5SIRVpZlwN3NNPQjehA2E/91FV3RjLWoVTglWcSV3Q== - dependencies: - "@babel/helper-plugin-utils" "^7.8.0" - -"@babel/plugin-syntax-optional-chaining@^7.8.3": - version "7.8.3" - resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-optional-chaining/-/plugin-syntax-optional-chaining-7.8.3.tgz#4f69c2ab95167e0180cd5336613f8c5788f7d48a" - integrity sha512-KoK9ErH1MBlCPxV0VANkXW2/dw4vlbGDrFgz8bmUsBGYkFRcbRwMh6cIJubdPrkxRwuGdtCk0v/wPTKbQgBjkg== - dependencies: - "@babel/helper-plugin-utils" "^7.8.0" - -"@babel/plugin-syntax-private-property-in-object@^7.14.5": - version "7.14.5" - resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-private-property-in-object/-/plugin-syntax-private-property-in-object-7.14.5.tgz#0dc6671ec0ea22b6e94a1114f857970cd39de1ad" - integrity sha512-0wVnp9dxJ72ZUJDV27ZfbSj6iHLoytYZmh3rFcxNnvsJF3ktkzLDZPy/mA17HGsaQT3/DQsWYX1f1QGWkCoVUg== - dependencies: - "@babel/helper-plugin-utils" "^7.14.5" - -"@babel/plugin-syntax-top-level-await@^7.14.5": - version "7.14.5" - resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-top-level-await/-/plugin-syntax-top-level-await-7.14.5.tgz#c1cfdadc35a646240001f06138247b741c34d94c" - integrity sha512-hx++upLv5U1rgYfwe1xBQUhRmU41NEvpUvrp8jkrSCdvGSnM5/qdRMtylJ6PG5OFkBaHkbTAKTnd3/YyESRHFw== - dependencies: - "@babel/helper-plugin-utils" "^7.14.5" - -"@babel/plugin-syntax-typescript@^7.7.2": - version "7.25.7" - resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-typescript/-/plugin-syntax-typescript-7.25.7.tgz#bfc05b0cc31ebd8af09964650cee723bb228108b" - integrity sha512-rR+5FDjpCHqqZN2bzZm18bVYGaejGq5ZkpVCJLXor/+zlSrSoc4KWcHI0URVWjl/68Dyr1uwZUz/1njycEAv9g== - dependencies: - "@babel/helper-plugin-utils" "^7.25.7" - -"@babel/plugin-syntax-unicode-sets-regex@^7.18.6": - version "7.18.6" - resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-unicode-sets-regex/-/plugin-syntax-unicode-sets-regex-7.18.6.tgz#d49a3b3e6b52e5be6740022317580234a6a47357" - integrity sha512-727YkEAPwSIQTv5im8QHz3upqp92JTWhidIC81Tdx4VJYIte/VndKf1qKrfnnhPLiPghStWfvC/iFaMCQu7Nqg== - dependencies: - "@babel/helper-create-regexp-features-plugin" "^7.18.6" - "@babel/helper-plugin-utils" "^7.18.6" - -"@babel/plugin-transform-arrow-functions@^7.25.7": - version "7.25.7" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-arrow-functions/-/plugin-transform-arrow-functions-7.25.7.tgz#1b9ed22e6890a0e9ff470371c73b8c749bcec386" - integrity sha512-EJN2mKxDwfOUCPxMO6MUI58RN3ganiRAG/MS/S3HfB6QFNjroAMelQo/gybyYq97WerCBAZoyrAoW8Tzdq2jWg== - dependencies: - "@babel/helper-plugin-utils" "^7.25.7" - -"@babel/plugin-transform-async-generator-functions@^7.25.8": - version "7.25.8" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-async-generator-functions/-/plugin-transform-async-generator-functions-7.25.8.tgz#3331de02f52cc1f2c75b396bec52188c85b0b1ec" - integrity sha512-9ypqkozyzpG+HxlH4o4gdctalFGIjjdufzo7I2XPda0iBnZ6a+FO0rIEQcdSPXp02CkvGsII1exJhmROPQd5oA== - dependencies: - "@babel/helper-plugin-utils" "^7.25.7" - "@babel/helper-remap-async-to-generator" "^7.25.7" - "@babel/traverse" "^7.25.7" - -"@babel/plugin-transform-async-to-generator@^7.25.7": - version "7.25.7" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-async-to-generator/-/plugin-transform-async-to-generator-7.25.7.tgz#a44c7323f8d4285a6c568dd43c5c361d6367ec52" - integrity sha512-ZUCjAavsh5CESCmi/xCpX1qcCaAglzs/7tmuvoFnJgA1dM7gQplsguljoTg+Ru8WENpX89cQyAtWoaE0I3X3Pg== - dependencies: - "@babel/helper-module-imports" "^7.25.7" - "@babel/helper-plugin-utils" "^7.25.7" - "@babel/helper-remap-async-to-generator" "^7.25.7" - -"@babel/plugin-transform-block-scoped-functions@^7.25.7": - version "7.25.7" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-block-scoped-functions/-/plugin-transform-block-scoped-functions-7.25.7.tgz#e0b8843d5571719a2f1bf7e284117a3379fcc17c" - integrity sha512-xHttvIM9fvqW+0a3tZlYcZYSBpSWzGBFIt/sYG3tcdSzBB8ZeVgz2gBP7Df+sM0N1850jrviYSSeUuc+135dmQ== - dependencies: - "@babel/helper-plugin-utils" "^7.25.7" - -"@babel/plugin-transform-block-scoping@^7.25.7": - version "7.25.7" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-block-scoping/-/plugin-transform-block-scoping-7.25.7.tgz#6dab95e98adf780ceef1b1c3ab0e55cd20dd410a" - integrity sha512-ZEPJSkVZaeTFG/m2PARwLZQ+OG0vFIhPlKHK/JdIMy8DbRJ/htz6LRrTFtdzxi9EHmcwbNPAKDnadpNSIW+Aow== - dependencies: - "@babel/helper-plugin-utils" "^7.25.7" - -"@babel/plugin-transform-class-properties@^7.25.7": - version "7.25.7" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-class-properties/-/plugin-transform-class-properties-7.25.7.tgz#a389cfca7a10ac80e3ff4c75fca08bd097ad1523" - integrity sha512-mhyfEW4gufjIqYFo9krXHJ3ElbFLIze5IDp+wQTxoPd+mwFb1NxatNAwmv8Q8Iuxv7Zc+q8EkiMQwc9IhyGf4g== - dependencies: - "@babel/helper-create-class-features-plugin" "^7.25.7" - "@babel/helper-plugin-utils" "^7.25.7" - -"@babel/plugin-transform-class-static-block@^7.25.8": - version "7.25.8" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-class-static-block/-/plugin-transform-class-static-block-7.25.8.tgz#a8af22028920fe404668031eceb4c3aadccb5262" - integrity sha512-e82gl3TCorath6YLf9xUwFehVvjvfqFhdOo4+0iVIVju+6XOi5XHkqB3P2AXnSwoeTX0HBoXq5gJFtvotJzFnQ== - dependencies: - "@babel/helper-create-class-features-plugin" "^7.25.7" - "@babel/helper-plugin-utils" "^7.25.7" - -"@babel/plugin-transform-classes@^7.25.7": - version "7.25.7" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-classes/-/plugin-transform-classes-7.25.7.tgz#5103206cf80d02283bbbd044509ea3b65d0906bb" - integrity sha512-9j9rnl+YCQY0IGoeipXvnk3niWicIB6kCsWRGLwX241qSXpbA4MKxtp/EdvFxsc4zI5vqfLxzOd0twIJ7I99zg== - dependencies: - "@babel/helper-annotate-as-pure" "^7.25.7" - "@babel/helper-compilation-targets" "^7.25.7" - "@babel/helper-plugin-utils" "^7.25.7" - "@babel/helper-replace-supers" "^7.25.7" - "@babel/traverse" "^7.25.7" - globals "^11.1.0" - -"@babel/plugin-transform-computed-properties@^7.25.7": - version "7.25.7" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-computed-properties/-/plugin-transform-computed-properties-7.25.7.tgz#7f621f0aa1354b5348a935ab12e3903842466f65" - integrity sha512-QIv+imtM+EtNxg/XBKL3hiWjgdLjMOmZ+XzQwSgmBfKbfxUjBzGgVPklUuE55eq5/uVoh8gg3dqlrwR/jw3ZeA== - dependencies: - "@babel/helper-plugin-utils" "^7.25.7" - "@babel/template" "^7.25.7" - -"@babel/plugin-transform-destructuring@^7.25.7": - version "7.25.7" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-destructuring/-/plugin-transform-destructuring-7.25.7.tgz#f6f26a9feefb5aa41fd45b6f5838901b5333d560" - integrity sha512-xKcfLTlJYUczdaM1+epcdh1UGewJqr9zATgrNHcLBcV2QmfvPPEixo/sK/syql9cEmbr7ulu5HMFG5vbbt/sEA== - dependencies: - "@babel/helper-plugin-utils" "^7.25.7" - -"@babel/plugin-transform-dotall-regex@^7.25.7": - version "7.25.7" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-dotall-regex/-/plugin-transform-dotall-regex-7.25.7.tgz#9d775c4a3ff1aea64045300fcd4309b4a610ef02" - integrity sha512-kXzXMMRzAtJdDEgQBLF4oaiT6ZCU3oWHgpARnTKDAqPkDJ+bs3NrZb310YYevR5QlRo3Kn7dzzIdHbZm1VzJdQ== - dependencies: - "@babel/helper-create-regexp-features-plugin" "^7.25.7" - "@babel/helper-plugin-utils" "^7.25.7" - -"@babel/plugin-transform-duplicate-keys@^7.25.7": - version "7.25.7" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-duplicate-keys/-/plugin-transform-duplicate-keys-7.25.7.tgz#fbba7d1155eab76bd4f2a038cbd5d65883bd7a93" - integrity sha512-by+v2CjoL3aMnWDOyCIg+yxU9KXSRa9tN6MbqggH5xvymmr9p4AMjYkNlQy4brMceBnUyHZ9G8RnpvT8wP7Cfg== - dependencies: - "@babel/helper-plugin-utils" "^7.25.7" - -"@babel/plugin-transform-duplicate-named-capturing-groups-regex@^7.25.7": - version "7.25.7" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-duplicate-named-capturing-groups-regex/-/plugin-transform-duplicate-named-capturing-groups-regex-7.25.7.tgz#102b31608dcc22c08fbca1894e104686029dc141" - integrity sha512-HvS6JF66xSS5rNKXLqkk7L9c/jZ/cdIVIcoPVrnl8IsVpLggTjXs8OWekbLHs/VtYDDh5WXnQyeE3PPUGm22MA== - dependencies: - "@babel/helper-create-regexp-features-plugin" "^7.25.7" - "@babel/helper-plugin-utils" "^7.25.7" - -"@babel/plugin-transform-dynamic-import@^7.25.8": - version "7.25.8" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-dynamic-import/-/plugin-transform-dynamic-import-7.25.8.tgz#f1edbe75b248cf44c70c8ca8ed3818a668753aaa" - integrity sha512-gznWY+mr4ZQL/EWPcbBQUP3BXS5FwZp8RUOw06BaRn8tQLzN4XLIxXejpHN9Qo8x8jjBmAAKp6FoS51AgkSA/A== - dependencies: - "@babel/helper-plugin-utils" "^7.25.7" - -"@babel/plugin-transform-exponentiation-operator@^7.25.7": - version "7.25.7" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-exponentiation-operator/-/plugin-transform-exponentiation-operator-7.25.7.tgz#5961a3a23a398faccd6cddb34a2182807d75fb5f" - integrity sha512-yjqtpstPfZ0h/y40fAXRv2snciYr0OAoMXY/0ClC7tm4C/nG5NJKmIItlaYlLbIVAWNfrYuy9dq1bE0SbX0PEg== - dependencies: - "@babel/helper-builder-binary-assignment-operator-visitor" "^7.25.7" - "@babel/helper-plugin-utils" "^7.25.7" - -"@babel/plugin-transform-export-namespace-from@^7.25.8": - version "7.25.8" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-export-namespace-from/-/plugin-transform-export-namespace-from-7.25.8.tgz#d1988c3019a380b417e0516418b02804d3858145" - integrity sha512-sPtYrduWINTQTW7FtOy99VCTWp4H23UX7vYcut7S4CIMEXU+54zKX9uCoGkLsWXteyaMXzVHgzWbLfQ1w4GZgw== - dependencies: - "@babel/helper-plugin-utils" "^7.25.7" - -"@babel/plugin-transform-for-of@^7.25.7": - version "7.25.7" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-for-of/-/plugin-transform-for-of-7.25.7.tgz#0acfea0f27aa290818b5b48a5a44b3f03fc13669" - integrity sha512-n/TaiBGJxYFWvpJDfsxSj9lEEE44BFM1EPGz4KEiTipTgkoFVVcCmzAL3qA7fdQU96dpo4gGf5HBx/KnDvqiHw== - dependencies: - "@babel/helper-plugin-utils" "^7.25.7" - "@babel/helper-skip-transparent-expression-wrappers" "^7.25.7" - -"@babel/plugin-transform-function-name@^7.25.7": - version "7.25.7" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-function-name/-/plugin-transform-function-name-7.25.7.tgz#7e394ccea3693902a8b50ded8b6ae1fa7b8519fd" - integrity sha512-5MCTNcjCMxQ63Tdu9rxyN6cAWurqfrDZ76qvVPrGYdBxIj+EawuuxTu/+dgJlhK5eRz3v1gLwp6XwS8XaX2NiQ== - dependencies: - "@babel/helper-compilation-targets" "^7.25.7" - "@babel/helper-plugin-utils" "^7.25.7" - "@babel/traverse" "^7.25.7" - -"@babel/plugin-transform-json-strings@^7.25.8": - version "7.25.8" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-json-strings/-/plugin-transform-json-strings-7.25.8.tgz#6fb3ec383a2ea92652289fdba653e3f9de722694" - integrity sha512-4OMNv7eHTmJ2YXs3tvxAfa/I43di+VcF+M4Wt66c88EAED1RoGaf1D64cL5FkRpNL+Vx9Hds84lksWvd/wMIdA== - dependencies: - "@babel/helper-plugin-utils" "^7.25.7" - -"@babel/plugin-transform-literals@^7.25.7": - version "7.25.7" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-literals/-/plugin-transform-literals-7.25.7.tgz#70cbdc742f2cfdb1a63ea2cbd018d12a60b213c3" - integrity sha512-fwzkLrSu2fESR/cm4t6vqd7ebNIopz2QHGtjoU+dswQo/P6lwAG04Q98lliE3jkz/XqnbGFLnUcE0q0CVUf92w== - dependencies: - "@babel/helper-plugin-utils" "^7.25.7" - -"@babel/plugin-transform-logical-assignment-operators@^7.25.8": - version "7.25.8" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-logical-assignment-operators/-/plugin-transform-logical-assignment-operators-7.25.8.tgz#01868ff92daa9e525b4c7902aa51979082a05710" - integrity sha512-f5W0AhSbbI+yY6VakT04jmxdxz+WsID0neG7+kQZbCOjuyJNdL5Nn4WIBm4hRpKnUcO9lP0eipUhFN12JpoH8g== - dependencies: - "@babel/helper-plugin-utils" "^7.25.7" - -"@babel/plugin-transform-member-expression-literals@^7.25.7": - version "7.25.7" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-member-expression-literals/-/plugin-transform-member-expression-literals-7.25.7.tgz#0a36c3fbd450cc9e6485c507f005fa3d1bc8fca5" - integrity sha512-Std3kXwpXfRV0QtQy5JJcRpkqP8/wG4XL7hSKZmGlxPlDqmpXtEPRmhF7ztnlTCtUN3eXRUJp+sBEZjaIBVYaw== - dependencies: - "@babel/helper-plugin-utils" "^7.25.7" - -"@babel/plugin-transform-modules-amd@^7.25.7": - version "7.25.7" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-modules-amd/-/plugin-transform-modules-amd-7.25.7.tgz#bb4e543b5611f6c8c685a2fd485408713a3adf3d" - integrity sha512-CgselSGCGzjQvKzghCvDTxKHP3iooenLpJDO842ehn5D2G5fJB222ptnDwQho0WjEvg7zyoxb9P+wiYxiJX5yA== - dependencies: - "@babel/helper-module-transforms" "^7.25.7" - "@babel/helper-plugin-utils" "^7.25.7" - -"@babel/plugin-transform-modules-commonjs@^7.25.7": - version "7.25.7" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-modules-commonjs/-/plugin-transform-modules-commonjs-7.25.7.tgz#173f0c791bb7407c092ce6d77ee90eb3f2d1d2fd" - integrity sha512-L9Gcahi0kKFYXvweO6n0wc3ZG1ChpSFdgG+eV1WYZ3/dGbJK7vvk91FgGgak8YwRgrCuihF8tE/Xg07EkL5COg== - dependencies: - "@babel/helper-module-transforms" "^7.25.7" - "@babel/helper-plugin-utils" "^7.25.7" - "@babel/helper-simple-access" "^7.25.7" - -"@babel/plugin-transform-modules-systemjs@^7.25.7": - version "7.25.7" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-modules-systemjs/-/plugin-transform-modules-systemjs-7.25.7.tgz#8b14d319a177cc9c85ef8b0512afd429d9e2e60b" - integrity sha512-t9jZIvBmOXJsiuyOwhrIGs8dVcD6jDyg2icw1VL4A/g+FnWyJKwUfSSU2nwJuMV2Zqui856El9u+ElB+j9fV1g== - dependencies: - "@babel/helper-module-transforms" "^7.25.7" - "@babel/helper-plugin-utils" "^7.25.7" - "@babel/helper-validator-identifier" "^7.25.7" - "@babel/traverse" "^7.25.7" - -"@babel/plugin-transform-modules-umd@^7.25.7": - version "7.25.7" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-modules-umd/-/plugin-transform-modules-umd-7.25.7.tgz#00ee7a7e124289549381bfb0e24d87fd7f848367" - integrity sha512-p88Jg6QqsaPh+EB7I9GJrIqi1Zt4ZBHUQtjw3z1bzEXcLh6GfPqzZJ6G+G1HBGKUNukT58MnKG7EN7zXQBCODw== - dependencies: - "@babel/helper-module-transforms" "^7.25.7" - "@babel/helper-plugin-utils" "^7.25.7" - -"@babel/plugin-transform-named-capturing-groups-regex@^7.25.7": - version "7.25.7" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-named-capturing-groups-regex/-/plugin-transform-named-capturing-groups-regex-7.25.7.tgz#a2f3f6d7f38693b462542951748f0a72a34d196d" - integrity sha512-BtAT9LzCISKG3Dsdw5uso4oV1+v2NlVXIIomKJgQybotJY3OwCwJmkongjHgwGKoZXd0qG5UZ12JUlDQ07W6Ow== - dependencies: - "@babel/helper-create-regexp-features-plugin" "^7.25.7" - "@babel/helper-plugin-utils" "^7.25.7" - -"@babel/plugin-transform-new-target@^7.25.7": - version "7.25.7" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-new-target/-/plugin-transform-new-target-7.25.7.tgz#52b2bde523b76c548749f38dc3054f1f45e82bc9" - integrity sha512-CfCS2jDsbcZaVYxRFo2qtavW8SpdzmBXC2LOI4oO0rP+JSRDxxF3inF4GcPsLgfb5FjkhXG5/yR/lxuRs2pySA== - dependencies: - "@babel/helper-plugin-utils" "^7.25.7" - -"@babel/plugin-transform-nullish-coalescing-operator@^7.25.8": - version "7.25.8" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-nullish-coalescing-operator/-/plugin-transform-nullish-coalescing-operator-7.25.8.tgz#befb4900c130bd52fccf2b926314557987f1b552" - integrity sha512-Z7WJJWdQc8yCWgAmjI3hyC+5PXIubH9yRKzkl9ZEG647O9szl9zvmKLzpbItlijBnVhTUf1cpyWBsZ3+2wjWPQ== - dependencies: - "@babel/helper-plugin-utils" "^7.25.7" - -"@babel/plugin-transform-numeric-separator@^7.25.8": - version "7.25.8" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-numeric-separator/-/plugin-transform-numeric-separator-7.25.8.tgz#91e370486371637bd42161052f2602c701386891" - integrity sha512-rm9a5iEFPS4iMIy+/A/PiS0QN0UyjPIeVvbU5EMZFKJZHt8vQnasbpo3T3EFcxzCeYO0BHfc4RqooCZc51J86Q== - dependencies: - "@babel/helper-plugin-utils" "^7.25.7" - -"@babel/plugin-transform-object-rest-spread@^7.25.8": - version "7.25.8" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-object-rest-spread/-/plugin-transform-object-rest-spread-7.25.8.tgz#0904ac16bcce41df4db12d915d6780f85c7fb04b" - integrity sha512-LkUu0O2hnUKHKE7/zYOIjByMa4VRaV2CD/cdGz0AxU9we+VA3kDDggKEzI0Oz1IroG+6gUP6UmWEHBMWZU316g== - dependencies: - "@babel/helper-compilation-targets" "^7.25.7" - "@babel/helper-plugin-utils" "^7.25.7" - "@babel/plugin-transform-parameters" "^7.25.7" - -"@babel/plugin-transform-object-super@^7.25.7": - version "7.25.7" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-object-super/-/plugin-transform-object-super-7.25.7.tgz#582a9cea8cf0a1e02732be5b5a703a38dedf5661" - integrity sha512-pWT6UXCEW3u1t2tcAGtE15ornCBvopHj9Bps9D2DsH15APgNVOTwwczGckX+WkAvBmuoYKRCFa4DK+jM8vh5AA== - dependencies: - "@babel/helper-plugin-utils" "^7.25.7" - "@babel/helper-replace-supers" "^7.25.7" - -"@babel/plugin-transform-optional-catch-binding@^7.25.8": - version "7.25.8" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-optional-catch-binding/-/plugin-transform-optional-catch-binding-7.25.8.tgz#2649b86a3bb202c6894ec81a6ddf41b94d8f3103" - integrity sha512-EbQYweoMAHOn7iJ9GgZo14ghhb9tTjgOc88xFgYngifx7Z9u580cENCV159M4xDh3q/irbhSjZVpuhpC2gKBbg== - dependencies: - "@babel/helper-plugin-utils" "^7.25.7" - -"@babel/plugin-transform-optional-chaining@^7.25.7", "@babel/plugin-transform-optional-chaining@^7.25.8": - version "7.25.8" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-optional-chaining/-/plugin-transform-optional-chaining-7.25.8.tgz#f46283b78adcc5b6ab988a952f989e7dce70653f" - integrity sha512-q05Bk7gXOxpTHoQ8RSzGSh/LHVB9JEIkKnk3myAWwZHnYiTGYtbdrYkIsS8Xyh4ltKf7GNUSgzs/6P2bJtBAQg== - dependencies: - "@babel/helper-plugin-utils" "^7.25.7" - "@babel/helper-skip-transparent-expression-wrappers" "^7.25.7" - -"@babel/plugin-transform-parameters@^7.25.7": - version "7.25.7" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-parameters/-/plugin-transform-parameters-7.25.7.tgz#80c38b03ef580f6d6bffe1c5254bb35986859ac7" - integrity sha512-FYiTvku63me9+1Nz7TOx4YMtW3tWXzfANZtrzHhUZrz4d47EEtMQhzFoZWESfXuAMMT5mwzD4+y1N8ONAX6lMQ== - dependencies: - "@babel/helper-plugin-utils" "^7.25.7" - -"@babel/plugin-transform-private-methods@^7.25.7": - version "7.25.7" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-private-methods/-/plugin-transform-private-methods-7.25.7.tgz#c790a04f837b4bd61d6b0317b43aa11ff67dce80" - integrity sha512-KY0hh2FluNxMLwOCHbxVOKfdB5sjWG4M183885FmaqWWiGMhRZq4DQRKH6mHdEucbJnyDyYiZNwNG424RymJjA== - dependencies: - "@babel/helper-create-class-features-plugin" "^7.25.7" - "@babel/helper-plugin-utils" "^7.25.7" - -"@babel/plugin-transform-private-property-in-object@^7.25.8": - version "7.25.8" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-private-property-in-object/-/plugin-transform-private-property-in-object-7.25.8.tgz#1234f856ce85e061f9688764194e51ea7577c434" - integrity sha512-8Uh966svuB4V8RHHg0QJOB32QK287NBksJOByoKmHMp1TAobNniNalIkI2i5IPj5+S9NYCG4VIjbEuiSN8r+ow== - dependencies: - "@babel/helper-annotate-as-pure" "^7.25.7" - "@babel/helper-create-class-features-plugin" "^7.25.7" - "@babel/helper-plugin-utils" "^7.25.7" - -"@babel/plugin-transform-property-literals@^7.25.7": - version "7.25.7" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-property-literals/-/plugin-transform-property-literals-7.25.7.tgz#a8612b4ea4e10430f00012ecf0155662c7d6550d" - integrity sha512-lQEeetGKfFi0wHbt8ClQrUSUMfEeI3MMm74Z73T9/kuz990yYVtfofjf3NuA42Jy3auFOpbjDyCSiIkTs1VIYw== - dependencies: - "@babel/helper-plugin-utils" "^7.25.7" - -"@babel/plugin-transform-regenerator@^7.25.7": - version "7.25.7" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-regenerator/-/plugin-transform-regenerator-7.25.7.tgz#6eb006e6d26f627bc2f7844a9f19770721ad6f3e" - integrity sha512-mgDoQCRjrY3XK95UuV60tZlFCQGXEtMg8H+IsW72ldw1ih1jZhzYXbJvghmAEpg5UVhhnCeia1CkGttUvCkiMQ== - dependencies: - "@babel/helper-plugin-utils" "^7.25.7" - regenerator-transform "^0.15.2" - -"@babel/plugin-transform-reserved-words@^7.25.7": - version "7.25.7" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-reserved-words/-/plugin-transform-reserved-words-7.25.7.tgz#dc56b25e02afaabef3ce0c5b06b0916e8523e995" - integrity sha512-3OfyfRRqiGeOvIWSagcwUTVk2hXBsr/ww7bLn6TRTuXnexA+Udov2icFOxFX9abaj4l96ooYkcNN1qi2Zvqwng== - dependencies: - "@babel/helper-plugin-utils" "^7.25.7" - -"@babel/plugin-transform-shorthand-properties@^7.25.7": - version "7.25.7" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-shorthand-properties/-/plugin-transform-shorthand-properties-7.25.7.tgz#92690a9c671915602d91533c278cc8f6bf12275f" - integrity sha512-uBbxNwimHi5Bv3hUccmOFlUy3ATO6WagTApenHz9KzoIdn0XeACdB12ZJ4cjhuB2WSi80Ez2FWzJnarccriJeA== - dependencies: - "@babel/helper-plugin-utils" "^7.25.7" - -"@babel/plugin-transform-spread@^7.25.7": - version "7.25.7" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-spread/-/plugin-transform-spread-7.25.7.tgz#df83e899a9fc66284ee601a7b738568435b92998" - integrity sha512-Mm6aeymI0PBh44xNIv/qvo8nmbkpZze1KvR8MkEqbIREDxoiWTi18Zr2jryfRMwDfVZF9foKh060fWgni44luw== - dependencies: - "@babel/helper-plugin-utils" "^7.25.7" - "@babel/helper-skip-transparent-expression-wrappers" "^7.25.7" - -"@babel/plugin-transform-sticky-regex@^7.25.7": - version "7.25.7" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-sticky-regex/-/plugin-transform-sticky-regex-7.25.7.tgz#341c7002bef7f29037be7fb9684e374442dd0d17" - integrity sha512-ZFAeNkpGuLnAQ/NCsXJ6xik7Id+tHuS+NT+ue/2+rn/31zcdnupCdmunOizEaP0JsUmTFSTOPoQY7PkK2pttXw== - dependencies: - "@babel/helper-plugin-utils" "^7.25.7" - -"@babel/plugin-transform-template-literals@^7.25.7": - version "7.25.7" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-template-literals/-/plugin-transform-template-literals-7.25.7.tgz#e566c581bb16d8541dd8701093bb3457adfce16b" - integrity sha512-SI274k0nUsFFmyQupiO7+wKATAmMFf8iFgq2O+vVFXZ0SV9lNfT1NGzBEhjquFmD8I9sqHLguH+gZVN3vww2AA== - dependencies: - "@babel/helper-plugin-utils" "^7.25.7" - -"@babel/plugin-transform-typeof-symbol@^7.25.7": - version "7.25.7" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-typeof-symbol/-/plugin-transform-typeof-symbol-7.25.7.tgz#debb1287182efd20488f126be343328c679b66eb" - integrity sha512-OmWmQtTHnO8RSUbL0NTdtpbZHeNTnm68Gj5pA4Y2blFNh+V4iZR68V1qL9cI37J21ZN7AaCnkfdHtLExQPf2uA== - dependencies: - "@babel/helper-plugin-utils" "^7.25.7" - -"@babel/plugin-transform-unicode-escapes@^7.25.7": - version "7.25.7" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-unicode-escapes/-/plugin-transform-unicode-escapes-7.25.7.tgz#973592b6d13a914794e1de8cf1383e50e0f87f81" - integrity sha512-BN87D7KpbdiABA+t3HbVqHzKWUDN3dymLaTnPFAMyc8lV+KN3+YzNhVRNdinaCPA4AUqx7ubXbQ9shRjYBl3SQ== - dependencies: - "@babel/helper-plugin-utils" "^7.25.7" - -"@babel/plugin-transform-unicode-property-regex@^7.25.7": - version "7.25.7" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-unicode-property-regex/-/plugin-transform-unicode-property-regex-7.25.7.tgz#25349197cce964b1343f74fa7cfdf791a1b1919e" - integrity sha512-IWfR89zcEPQGB/iB408uGtSPlQd3Jpq11Im86vUgcmSTcoWAiQMCTOa2K2yNNqFJEBVICKhayctee65Ka8OB0w== - dependencies: - "@babel/helper-create-regexp-features-plugin" "^7.25.7" - "@babel/helper-plugin-utils" "^7.25.7" - -"@babel/plugin-transform-unicode-regex@^7.25.7": - version "7.25.7" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-unicode-regex/-/plugin-transform-unicode-regex-7.25.7.tgz#f93a93441baf61f713b6d5552aaa856bfab34809" - integrity sha512-8JKfg/hiuA3qXnlLx8qtv5HWRbgyFx2hMMtpDDuU2rTckpKkGu4ycK5yYHwuEa16/quXfoxHBIApEsNyMWnt0g== - dependencies: - "@babel/helper-create-regexp-features-plugin" "^7.25.7" - "@babel/helper-plugin-utils" "^7.25.7" - -"@babel/plugin-transform-unicode-sets-regex@^7.25.7": - version "7.25.7" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-unicode-sets-regex/-/plugin-transform-unicode-sets-regex-7.25.7.tgz#d1b3295d29e0f8f4df76abc909ad1ebee919560c" - integrity sha512-YRW8o9vzImwmh4Q3Rffd09bH5/hvY0pxg+1H1i0f7APoUeg12G7+HhLj9ZFNIrYkgBXhIijPJ+IXypN0hLTIbw== - dependencies: - "@babel/helper-create-regexp-features-plugin" "^7.25.7" - "@babel/helper-plugin-utils" "^7.25.7" - -"@babel/preset-env@^7.11.5": - version "7.25.8" - resolved "https://registry.yarnpkg.com/@babel/preset-env/-/preset-env-7.25.8.tgz#dc6b719627fb29cd9cccbbbe041802fd575b524c" - integrity sha512-58T2yulDHMN8YMUxiLq5YmWUnlDCyY1FsHM+v12VMx+1/FlrUj5tY50iDCpofFQEM8fMYOaY9YRvym2jcjn1Dg== - dependencies: - "@babel/compat-data" "^7.25.8" - "@babel/helper-compilation-targets" "^7.25.7" - "@babel/helper-plugin-utils" "^7.25.7" - "@babel/helper-validator-option" "^7.25.7" - "@babel/plugin-bugfix-firefox-class-in-computed-class-key" "^7.25.7" - "@babel/plugin-bugfix-safari-class-field-initializer-scope" "^7.25.7" - "@babel/plugin-bugfix-safari-id-destructuring-collision-in-function-expression" "^7.25.7" - "@babel/plugin-bugfix-v8-spread-parameters-in-optional-chaining" "^7.25.7" - "@babel/plugin-bugfix-v8-static-class-fields-redefine-readonly" "^7.25.7" - "@babel/plugin-proposal-private-property-in-object" "7.21.0-placeholder-for-preset-env.2" - "@babel/plugin-syntax-import-assertions" "^7.25.7" - "@babel/plugin-syntax-import-attributes" "^7.25.7" - "@babel/plugin-syntax-unicode-sets-regex" "^7.18.6" - "@babel/plugin-transform-arrow-functions" "^7.25.7" - "@babel/plugin-transform-async-generator-functions" "^7.25.8" - "@babel/plugin-transform-async-to-generator" "^7.25.7" - "@babel/plugin-transform-block-scoped-functions" "^7.25.7" - "@babel/plugin-transform-block-scoping" "^7.25.7" - "@babel/plugin-transform-class-properties" "^7.25.7" - "@babel/plugin-transform-class-static-block" "^7.25.8" - "@babel/plugin-transform-classes" "^7.25.7" - "@babel/plugin-transform-computed-properties" "^7.25.7" - "@babel/plugin-transform-destructuring" "^7.25.7" - "@babel/plugin-transform-dotall-regex" "^7.25.7" - "@babel/plugin-transform-duplicate-keys" "^7.25.7" - "@babel/plugin-transform-duplicate-named-capturing-groups-regex" "^7.25.7" - "@babel/plugin-transform-dynamic-import" "^7.25.8" - "@babel/plugin-transform-exponentiation-operator" "^7.25.7" - "@babel/plugin-transform-export-namespace-from" "^7.25.8" - "@babel/plugin-transform-for-of" "^7.25.7" - "@babel/plugin-transform-function-name" "^7.25.7" - "@babel/plugin-transform-json-strings" "^7.25.8" - "@babel/plugin-transform-literals" "^7.25.7" - "@babel/plugin-transform-logical-assignment-operators" "^7.25.8" - "@babel/plugin-transform-member-expression-literals" "^7.25.7" - "@babel/plugin-transform-modules-amd" "^7.25.7" - "@babel/plugin-transform-modules-commonjs" "^7.25.7" - "@babel/plugin-transform-modules-systemjs" "^7.25.7" - "@babel/plugin-transform-modules-umd" "^7.25.7" - "@babel/plugin-transform-named-capturing-groups-regex" "^7.25.7" - "@babel/plugin-transform-new-target" "^7.25.7" - "@babel/plugin-transform-nullish-coalescing-operator" "^7.25.8" - "@babel/plugin-transform-numeric-separator" "^7.25.8" - "@babel/plugin-transform-object-rest-spread" "^7.25.8" - "@babel/plugin-transform-object-super" "^7.25.7" - "@babel/plugin-transform-optional-catch-binding" "^7.25.8" - "@babel/plugin-transform-optional-chaining" "^7.25.8" - "@babel/plugin-transform-parameters" "^7.25.7" - "@babel/plugin-transform-private-methods" "^7.25.7" - "@babel/plugin-transform-private-property-in-object" "^7.25.8" - "@babel/plugin-transform-property-literals" "^7.25.7" - "@babel/plugin-transform-regenerator" "^7.25.7" - "@babel/plugin-transform-reserved-words" "^7.25.7" - "@babel/plugin-transform-shorthand-properties" "^7.25.7" - "@babel/plugin-transform-spread" "^7.25.7" - "@babel/plugin-transform-sticky-regex" "^7.25.7" - "@babel/plugin-transform-template-literals" "^7.25.7" - "@babel/plugin-transform-typeof-symbol" "^7.25.7" - "@babel/plugin-transform-unicode-escapes" "^7.25.7" - "@babel/plugin-transform-unicode-property-regex" "^7.25.7" - "@babel/plugin-transform-unicode-regex" "^7.25.7" - "@babel/plugin-transform-unicode-sets-regex" "^7.25.7" - "@babel/preset-modules" "0.1.6-no-external-plugins" - babel-plugin-polyfill-corejs2 "^0.4.10" - babel-plugin-polyfill-corejs3 "^0.10.6" - babel-plugin-polyfill-regenerator "^0.6.1" - core-js-compat "^3.38.1" - semver "^6.3.1" - -"@babel/preset-modules@0.1.6-no-external-plugins": - version "0.1.6-no-external-plugins" - resolved "https://registry.yarnpkg.com/@babel/preset-modules/-/preset-modules-0.1.6-no-external-plugins.tgz#ccb88a2c49c817236861fee7826080573b8a923a" - integrity sha512-HrcgcIESLm9aIR842yhJ5RWan/gebQUJ6E/E5+rf0y9o6oj7w0Br+sWuL6kEQ/o/AdfvR1Je9jG18/gnpwjEyA== - dependencies: - "@babel/helper-plugin-utils" "^7.0.0" - "@babel/types" "^7.4.4" - esutils "^2.0.2" - -"@babel/runtime@^7.12.5", "@babel/runtime@^7.17.8", "@babel/runtime@^7.5.5", "@babel/runtime@^7.8.4": - version "7.25.7" - resolved "https://registry.yarnpkg.com/@babel/runtime/-/runtime-7.25.7.tgz#7ffb53c37a8f247c8c4d335e89cdf16a2e0d0fb6" - integrity sha512-FjoyLe754PMiYsFaN5C94ttGiOmBNYTf6pLr4xXHAT5uctHb092PBszndLDR5XA/jghQvn4n7JMHl7dmTgbm9w== - dependencies: - regenerator-runtime "^0.14.0" - -"@babel/template@^7.22.5", "@babel/template@^7.25.7", "@babel/template@^7.3.3": - version "7.25.7" - resolved "https://registry.yarnpkg.com/@babel/template/-/template-7.25.7.tgz#27f69ce382855d915b14ab0fe5fb4cbf88fa0769" - integrity sha512-wRwtAgI3bAS+JGU2upWNL9lSlDcRCqD05BZ1n3X2ONLH1WilFP6O1otQjeMK/1g0pvYcXC7b/qVUB1keofjtZA== - dependencies: - "@babel/code-frame" "^7.25.7" - "@babel/parser" "^7.25.7" - "@babel/types" "^7.25.7" - -"@babel/traverse@^7.18.9", "@babel/traverse@^7.25.7": - version "7.25.7" - resolved "https://registry.yarnpkg.com/@babel/traverse/-/traverse-7.25.7.tgz#83e367619be1cab8e4f2892ef30ba04c26a40fa8" - integrity sha512-jatJPT1Zjqvh/1FyJs6qAHL+Dzb7sTb+xr7Q+gM1b+1oBsMsQQ4FkVKb6dFlJvLlVssqkRzV05Jzervt9yhnzg== - dependencies: - "@babel/code-frame" "^7.25.7" - "@babel/generator" "^7.25.7" - "@babel/parser" "^7.25.7" - "@babel/template" "^7.25.7" - "@babel/types" "^7.25.7" - debug "^4.3.1" - globals "^11.1.0" - -"@babel/types@^7.0.0", "@babel/types@^7.18.9", "@babel/types@^7.20.0", "@babel/types@^7.20.7", "@babel/types@^7.22.5", "@babel/types@^7.25.7", "@babel/types@^7.25.8", "@babel/types@^7.3.3", "@babel/types@^7.4.4": - version "7.25.8" - resolved "https://registry.yarnpkg.com/@babel/types/-/types-7.25.8.tgz#5cf6037258e8a9bcad533f4979025140cb9993e1" - integrity sha512-JWtuCu8VQsMladxVz/P4HzHUGCAwpuqacmowgXFs5XjxIgKuNjnLokQzuVjlTvIzODaDmpjT3oxcC48vyk9EWg== - dependencies: - "@babel/helper-string-parser" "^7.25.7" - "@babel/helper-validator-identifier" "^7.25.7" - to-fast-properties "^2.0.0" - -"@base2/pretty-print-object@1.0.1": - version "1.0.1" - resolved "https://registry.yarnpkg.com/@base2/pretty-print-object/-/pretty-print-object-1.0.1.tgz#371ba8be66d556812dc7fb169ebc3c08378f69d4" - integrity sha512-4iri8i1AqYHJE2DstZYkyEprg6Pq6sKx3xn5FpySk9sNhH7qN2LLlHJCfDTZRILNwQNPD7mATWM0TBui7uC1pA== - -"@bcoe/v8-coverage@^0.2.3": - version "0.2.3" - resolved "https://registry.yarnpkg.com/@bcoe/v8-coverage/-/v8-coverage-0.2.3.tgz#75a2e8b51cb758a7553d6804a5932d7aace75c39" - integrity sha512-0hYQ8SB4Db5zvZB4axdMHGwEaQjkZzFjQiN9LVYvIFB2nSUHW9tYpxWriPrWDASIxiaXax83REcLxuSdnGPZtw== - -"@bugsnag/browser@^7.25.0": - version "7.25.0" - resolved "https://registry.yarnpkg.com/@bugsnag/browser/-/browser-7.25.0.tgz#aa56a8e138dfff268ac29c5fe374cfc3c9b42a76" - integrity sha512-PzzWy5d9Ly1CU1KkxTB6ZaOw/dO+CYSfVtqxVJccy832e6+7rW/dvSw5Jy7rsNhgcKSKjZq86LtNkPSvritOLA== - dependencies: - "@bugsnag/core" "^7.25.0" - -"@bugsnag/core@^7.25.0": - version "7.25.0" - resolved "https://registry.yarnpkg.com/@bugsnag/core/-/core-7.25.0.tgz#ee4dbc66dba4adc65717a3a8bf05dca55790e218" - integrity sha512-JZLak1b5BVzy77CPcklViZrppac/pE07L3uSDmfSvFYSCGReXkik2txOgV05VlF9EDe36dtUAIIV7iAPDfFpQQ== - dependencies: - "@bugsnag/cuid" "^3.0.0" - "@bugsnag/safe-json-stringify" "^6.0.0" - error-stack-parser "^2.0.3" - iserror "0.0.2" - stack-generator "^2.0.3" - -"@bugsnag/cuid@^3.0.0": - version "3.1.1" - resolved "https://registry.yarnpkg.com/@bugsnag/cuid/-/cuid-3.1.1.tgz#dbd5d76559f6b7a66306fceacf503888883da514" - integrity sha512-d2z4b0rEo3chI07FNN1Xds8v25CNeekecU6FC/2Fs9MxY2EipkZTThVcV2YinMn8dvRUlViKOyC50evoUxg8tw== - -"@bugsnag/js@^7.0.0": - version "7.25.0" - resolved "https://registry.yarnpkg.com/@bugsnag/js/-/js-7.25.0.tgz#339d5c4815a8c141a4056759184636a64404ad89" - integrity sha512-d8n8SyKdRUz8jMacRW1j/Sj/ckhKbIEp49+Dacp3CS8afRgfMZ//NXhUFFXITsDP5cXouaejR9fx4XVapYXNgg== - dependencies: - "@bugsnag/browser" "^7.25.0" - "@bugsnag/node" "^7.25.0" - -"@bugsnag/node@^7.25.0": - version "7.25.0" - resolved "https://registry.yarnpkg.com/@bugsnag/node/-/node-7.25.0.tgz#ce00920ce290333114f33e5167397c6b1657cb47" - integrity sha512-KlxBaJ8EREEsfKInybAjTO9LmdDXV3cUH5+XNXyqUZrcRVuPOu4j4xvljh+n24ifok/wbFZTKVXUzrN4iKIeIA== - dependencies: - "@bugsnag/core" "^7.25.0" - byline "^5.0.0" - error-stack-parser "^2.0.2" - iserror "^0.0.2" - pump "^3.0.0" - stack-generator "^2.0.3" - -"@bugsnag/safe-json-stringify@^6.0.0": - version "6.0.0" - resolved "https://registry.yarnpkg.com/@bugsnag/safe-json-stringify/-/safe-json-stringify-6.0.0.tgz#22abdcd83e008c369902976730c34c150148a758" - integrity sha512-htzFO1Zc57S8kgdRK9mLcPVTW1BY2ijfH7Dk2CeZmspTWKdKqSo1iwmqrq2WtRjFlo8aRZYgLX0wFrDXF/9DLA== - -"@changesets/apply-release-plan@^7.0.5": - version "7.0.5" - resolved "https://registry.yarnpkg.com/@changesets/apply-release-plan/-/apply-release-plan-7.0.5.tgz#3323c97afc08abc15e5136488f9c7cf1a864832e" - integrity sha512-1cWCk+ZshEkSVEZrm2fSj1Gz8sYvxgUL4Q78+1ZZqeqfuevPTPk033/yUZ3df8BKMohkqqHfzj0HOOrG0KtXTw== - dependencies: - "@changesets/config" "^3.0.3" - "@changesets/get-version-range-type" "^0.4.0" - "@changesets/git" "^3.0.1" - "@changesets/should-skip-package" "^0.1.1" - "@changesets/types" "^6.0.0" - "@manypkg/get-packages" "^1.1.3" - detect-indent "^6.0.0" - fs-extra "^7.0.1" - lodash.startcase "^4.4.0" - outdent "^0.5.0" - prettier "^2.7.1" - resolve-from "^5.0.0" - semver "^7.5.3" - -"@changesets/assemble-release-plan@^6.0.4": - version "6.0.4" - resolved "https://registry.yarnpkg.com/@changesets/assemble-release-plan/-/assemble-release-plan-6.0.4.tgz#153d5154bb9f4162215ca69ad1c6e0886f686ccb" - integrity sha512-nqICnvmrwWj4w2x0fOhVj2QEGdlUuwVAwESrUo5HLzWMI1rE5SWfsr9ln+rDqWB6RQ2ZyaMZHUcU7/IRaUJS+Q== - dependencies: - "@changesets/errors" "^0.2.0" - "@changesets/get-dependents-graph" "^2.1.2" - "@changesets/should-skip-package" "^0.1.1" - "@changesets/types" "^6.0.0" - "@manypkg/get-packages" "^1.1.3" - semver "^7.5.3" - -"@changesets/changelog-git@^0.2.0": - version "0.2.0" - resolved "https://registry.yarnpkg.com/@changesets/changelog-git/-/changelog-git-0.2.0.tgz#1f3de11becafff5a38ebe295038a602403c93a86" - integrity sha512-bHOx97iFI4OClIT35Lok3sJAwM31VbUM++gnMBV16fdbtBhgYu4dxsphBF/0AZZsyAHMrnM0yFcj5gZM1py6uQ== - dependencies: - "@changesets/types" "^6.0.0" - -"@changesets/cli@2.27.9": - version "2.27.9" - resolved "https://registry.yarnpkg.com/@changesets/cli/-/cli-2.27.9.tgz#7b58a4c9eaf95d81fe0d1386705ecefe94a20062" - integrity sha512-q42a/ZbDnxPpCb5Wkm6tMVIxgeI9C/bexntzTeCFBrQEdpisQqk8kCHllYZMDjYtEc1ZzumbMJAG8H0Z4rdvjg== - dependencies: - "@changesets/apply-release-plan" "^7.0.5" - "@changesets/assemble-release-plan" "^6.0.4" - "@changesets/changelog-git" "^0.2.0" - "@changesets/config" "^3.0.3" - "@changesets/errors" "^0.2.0" - "@changesets/get-dependents-graph" "^2.1.2" - "@changesets/get-release-plan" "^4.0.4" - "@changesets/git" "^3.0.1" - "@changesets/logger" "^0.1.1" - "@changesets/pre" "^2.0.1" - "@changesets/read" "^0.6.1" - "@changesets/should-skip-package" "^0.1.1" - "@changesets/types" "^6.0.0" - "@changesets/write" "^0.3.2" - "@manypkg/get-packages" "^1.1.3" - ansi-colors "^4.1.3" - ci-info "^3.7.0" - enquirer "^2.3.0" - external-editor "^3.1.0" - fs-extra "^7.0.1" - mri "^1.2.0" - p-limit "^2.2.0" - package-manager-detector "^0.2.0" - picocolors "^1.1.0" - resolve-from "^5.0.0" - semver "^7.5.3" - spawndamnit "^2.0.0" - term-size "^2.1.0" - -"@changesets/config@^3.0.3": - version "3.0.3" - resolved "https://registry.yarnpkg.com/@changesets/config/-/config-3.0.3.tgz#19196558882b25c8aaf04941d4ac7e151f5a1b36" - integrity sha512-vqgQZMyIcuIpw9nqFIpTSNyc/wgm/Lu1zKN5vECy74u95Qx/Wa9g27HdgO4NkVAaq+BGA8wUc/qvbvVNs93n6A== - dependencies: - "@changesets/errors" "^0.2.0" - "@changesets/get-dependents-graph" "^2.1.2" - "@changesets/logger" "^0.1.1" - "@changesets/types" "^6.0.0" - "@manypkg/get-packages" "^1.1.3" - fs-extra "^7.0.1" - micromatch "^4.0.2" - -"@changesets/errors@^0.2.0": - version "0.2.0" - resolved "https://registry.yarnpkg.com/@changesets/errors/-/errors-0.2.0.tgz#3c545e802b0f053389cadcf0ed54e5636ff9026a" - integrity sha512-6BLOQUscTpZeGljvyQXlWOItQyU71kCdGz7Pi8H8zdw6BI0g3m43iL4xKUVPWtG+qrrL9DTjpdn8eYuCQSRpow== - dependencies: - extendable-error "^0.1.5" - -"@changesets/get-dependents-graph@^2.1.2": - version "2.1.2" - resolved "https://registry.yarnpkg.com/@changesets/get-dependents-graph/-/get-dependents-graph-2.1.2.tgz#108304652d4bf22c9fee9f1d31dcf9908c24ca51" - integrity sha512-sgcHRkiBY9i4zWYBwlVyAjEM9sAzs4wYVwJUdnbDLnVG3QwAaia1Mk5P8M7kraTOZN+vBET7n8KyB0YXCbFRLQ== - dependencies: - "@changesets/types" "^6.0.0" - "@manypkg/get-packages" "^1.1.3" - picocolors "^1.1.0" - semver "^7.5.3" - -"@changesets/get-release-plan@^4.0.4": - version "4.0.4" - resolved "https://registry.yarnpkg.com/@changesets/get-release-plan/-/get-release-plan-4.0.4.tgz#e7ef0d84d9079c69febb64f8018a18ac4b77ac90" - integrity sha512-SicG/S67JmPTrdcc9Vpu0wSQt7IiuN0dc8iR5VScnnTVPfIaLvKmEGRvIaF0kcn8u5ZqLbormZNTO77bCEvyWw== - dependencies: - "@changesets/assemble-release-plan" "^6.0.4" - "@changesets/config" "^3.0.3" - "@changesets/pre" "^2.0.1" - "@changesets/read" "^0.6.1" - "@changesets/types" "^6.0.0" - "@manypkg/get-packages" "^1.1.3" - -"@changesets/get-version-range-type@^0.4.0": - version "0.4.0" - resolved "https://registry.yarnpkg.com/@changesets/get-version-range-type/-/get-version-range-type-0.4.0.tgz#429a90410eefef4368502c41c63413e291740bf5" - integrity sha512-hwawtob9DryoGTpixy1D3ZXbGgJu1Rhr+ySH2PvTLHvkZuQ7sRT4oQwMh0hbqZH1weAooedEjRsbrWcGLCeyVQ== - -"@changesets/git@^3.0.1": - version "3.0.1" - resolved "https://registry.yarnpkg.com/@changesets/git/-/git-3.0.1.tgz#4499a07d35d8e783cd56f8295fb7d4d70282701b" - integrity sha512-pdgHcYBLCPcLd82aRcuO0kxCDbw/yISlOtkmwmE8Odo1L6hSiZrBOsRl84eYG7DRCab/iHnOkWqExqc4wxk2LQ== - dependencies: - "@changesets/errors" "^0.2.0" - "@manypkg/get-packages" "^1.1.3" - is-subdir "^1.1.1" - micromatch "^4.0.2" - spawndamnit "^2.0.0" - -"@changesets/logger@^0.1.1": - version "0.1.1" - resolved "https://registry.yarnpkg.com/@changesets/logger/-/logger-0.1.1.tgz#9926ac4dc8fb00472fe1711603b6b4755d64b435" - integrity sha512-OQtR36ZlnuTxKqoW4Sv6x5YIhOmClRd5pWsjZsddYxpWs517R0HkyiefQPIytCVh4ZcC5x9XaG8KTdd5iRQUfg== - dependencies: - picocolors "^1.1.0" - -"@changesets/parse@^0.4.0": - version "0.4.0" - resolved "https://registry.yarnpkg.com/@changesets/parse/-/parse-0.4.0.tgz#5cabbd9844b3b213cb83f5edb5768454c70dd2b4" - integrity sha512-TS/9KG2CdGXS27S+QxbZXgr8uPsP4yNJYb4BC2/NeFUj80Rni3TeD2qwWmabymxmrLo7JEsytXH1FbpKTbvivw== - dependencies: - "@changesets/types" "^6.0.0" - js-yaml "^3.13.1" - -"@changesets/pre@^2.0.1": - version "2.0.1" - resolved "https://registry.yarnpkg.com/@changesets/pre/-/pre-2.0.1.tgz#3ed60f9d218b3b81d3074d72139582da11a94d5f" - integrity sha512-vvBJ/If4jKM4tPz9JdY2kGOgWmCowUYOi5Ycv8dyLnEE8FgpYYUo1mgJZxcdtGGP3aG8rAQulGLyyXGSLkIMTQ== - dependencies: - "@changesets/errors" "^0.2.0" - "@changesets/types" "^6.0.0" - "@manypkg/get-packages" "^1.1.3" - fs-extra "^7.0.1" - -"@changesets/read@^0.6.1": - version "0.6.1" - resolved "https://registry.yarnpkg.com/@changesets/read/-/read-0.6.1.tgz#32c91d97e602861717696c49a09c23eb492810f6" - integrity sha512-jYMbyXQk3nwP25nRzQQGa1nKLY0KfoOV7VLgwucI0bUO8t8ZLCr6LZmgjXsiKuRDc+5A6doKPr9w2d+FEJ55zQ== - dependencies: - "@changesets/git" "^3.0.1" - "@changesets/logger" "^0.1.1" - "@changesets/parse" "^0.4.0" - "@changesets/types" "^6.0.0" - fs-extra "^7.0.1" - p-filter "^2.1.0" - picocolors "^1.1.0" - -"@changesets/should-skip-package@^0.1.1": - version "0.1.1" - resolved "https://registry.yarnpkg.com/@changesets/should-skip-package/-/should-skip-package-0.1.1.tgz#76218ef4ce7691351a6dffdb356e8893267b0b3a" - integrity sha512-H9LjLbF6mMHLtJIc/eHR9Na+MifJ3VxtgP/Y+XLn4BF7tDTEN1HNYtH6QMcjP1uxp9sjaFYmW8xqloaCi/ckTg== - dependencies: - "@changesets/types" "^6.0.0" - "@manypkg/get-packages" "^1.1.3" - -"@changesets/types@^4.0.1": - version "4.1.0" - resolved "https://registry.yarnpkg.com/@changesets/types/-/types-4.1.0.tgz#fb8f7ca2324fd54954824e864f9a61a82cb78fe0" - integrity sha512-LDQvVDv5Kb50ny2s25Fhm3d9QSZimsoUGBsUioj6MC3qbMUCuC8GPIvk/M6IvXx3lYhAs0lwWUQLb+VIEUCECw== - -"@changesets/types@^6.0.0": - version "6.0.0" - resolved "https://registry.yarnpkg.com/@changesets/types/-/types-6.0.0.tgz#e46abda9890610dd1fbe1617730173d2267544bd" - integrity sha512-b1UkfNulgKoWfqyHtzKS5fOZYSJO+77adgL7DLRDr+/7jhChN+QcHnbjiQVOz/U+Ts3PGNySq7diAItzDgugfQ== - -"@changesets/write@^0.3.2": - version "0.3.2" - resolved "https://registry.yarnpkg.com/@changesets/write/-/write-0.3.2.tgz#bee64e4ccdff480872df5d1e38f2b913cb940116" - integrity sha512-kDxDrPNpUgsjDbWBvUo27PzKX4gqeKOlhibaOXDJA6kuBisGqNHv/HwGJrAu8U/dSf8ZEFIeHIPtvSlZI1kULw== - dependencies: - "@changesets/types" "^6.0.0" - fs-extra "^7.0.1" - human-id "^1.0.2" - prettier "^2.7.1" - -"@chromatic-com/storybook@2.0.2": - version "2.0.2" - resolved "https://registry.yarnpkg.com/@chromatic-com/storybook/-/storybook-2.0.2.tgz#3e20de5a328165b66c4587dbed0843c6039400ce" - integrity sha512-7bPIliISedeIpnVKbzktysFYW5n56bN91kxuOj1XXKixmjbUHRUMvcXd4K2liN6MiR5ZqJtmtcPsZ6CebbGlEA== - dependencies: - chromatic "^11.4.0" - filesize "^10.0.12" - jsonfile "^6.1.0" - react-confetti "^6.1.0" - strip-ansi "^7.1.0" - -"@colors/colors@1.6.0", "@colors/colors@^1.6.0": - version "1.6.0" - resolved "https://registry.yarnpkg.com/@colors/colors/-/colors-1.6.0.tgz#ec6cd237440700bc23ca23087f513c75508958b0" - integrity sha512-Ir+AOibqzrIsL6ajt3Rz3LskB7OiMVHqltZmspbW/TJuTVuyOMirVqAkjfY6JISiLHgyNqicAC8AyHHGzNd/dA== - -"@cspotcode/source-map-consumer@0.8.0": - version "0.8.0" - resolved "https://registry.yarnpkg.com/@cspotcode/source-map-consumer/-/source-map-consumer-0.8.0.tgz#33bf4b7b39c178821606f669bbc447a6a629786b" - integrity sha512-41qniHzTU8yAGbCp04ohlmSrZf8bkf/iJsl3V0dRGsQN/5GFfx+LbCSsCpp2gqrqjTVg/K6O8ycoV35JIwAzAg== - -"@cspotcode/source-map-support@0.7.0": - version "0.7.0" - resolved "https://registry.yarnpkg.com/@cspotcode/source-map-support/-/source-map-support-0.7.0.tgz#4789840aa859e46d2f3173727ab707c66bf344f5" - integrity sha512-X4xqRHqN8ACt2aHVe51OxeA2HjbcL4MqFqXkrmQszJ1NOUuUu5u6Vqx/0lZSVNku7velL5FC/s5uEAj1lsBMhA== - dependencies: - "@cspotcode/source-map-consumer" "0.8.0" - -"@csstools/selector-specificity@^2.0.2": - version "2.2.0" - resolved "https://registry.yarnpkg.com/@csstools/selector-specificity/-/selector-specificity-2.2.0.tgz#2cbcf822bf3764c9658c4d2e568bd0c0cb748016" - integrity sha512-+OJ9konv95ClSTOJCmMZqpd5+YGsB2S+x6w3E1oaM8UuR5j8nTNHYSz8c9BEPGDOCMQYIEEGlVPj/VY64iTbGw== - -"@dabh/diagnostics@^2.0.2": - version "2.0.3" - resolved "https://registry.yarnpkg.com/@dabh/diagnostics/-/diagnostics-2.0.3.tgz#7f7e97ee9a725dffc7808d93668cc984e1dc477a" - integrity sha512-hrlQOIi7hAfzsMqlGSFyVucrx38O+j6wiGOf//H2ecvIEqYN4ADBSS2iLMh5UFyDunCNniUIPk/q3riFv45xRA== - dependencies: - colorspace "1.1.x" - enabled "2.0.x" - kuler "^2.0.0" - -"@dependents/detective-less@^3.0.1": - version "3.0.2" - resolved "https://registry.yarnpkg.com/@dependents/detective-less/-/detective-less-3.0.2.tgz#c6e46997010fe03a5dc98351a7e99a46d34f5832" - integrity sha512-1YUvQ+e0eeTWAHoN8Uz2x2U37jZs6IGutiIE5LXId7cxfUGhtZjzxE06FdUiuiRrW+UE0vNCdSNPH2lY4dQCOQ== - dependencies: - gonzales-pe "^4.3.0" - node-source-walk "^5.0.1" - -"@esbuild/aix-ppc64@0.23.1": - version "0.23.1" - resolved "https://registry.yarnpkg.com/@esbuild/aix-ppc64/-/aix-ppc64-0.23.1.tgz#51299374de171dbd80bb7d838e1cfce9af36f353" - integrity sha512-6VhYk1diRqrhBAqpJEdjASR/+WVRtfjpqKuNw11cLiaWpAT/Uu+nokB+UJnevzy/P9C/ty6AOe0dwueMrGh/iQ== - -"@esbuild/android-arm64@0.23.1": - version "0.23.1" - resolved "https://registry.yarnpkg.com/@esbuild/android-arm64/-/android-arm64-0.23.1.tgz#58565291a1fe548638adb9c584237449e5e14018" - integrity sha512-xw50ipykXcLstLeWH7WRdQuysJqejuAGPd30vd1i5zSyKK3WE+ijzHmLKxdiCMtH1pHz78rOg0BKSYOSB/2Khw== - -"@esbuild/android-arm@0.23.1": - version "0.23.1" - resolved "https://registry.yarnpkg.com/@esbuild/android-arm/-/android-arm-0.23.1.tgz#5eb8c652d4c82a2421e3395b808e6d9c42c862ee" - integrity sha512-uz6/tEy2IFm9RYOyvKl88zdzZfwEfKZmnX9Cj1BHjeSGNuGLuMD1kR8y5bteYmwqKm1tj8m4cb/aKEorr6fHWQ== - -"@esbuild/android-x64@0.23.1": - version "0.23.1" - resolved "https://registry.yarnpkg.com/@esbuild/android-x64/-/android-x64-0.23.1.tgz#ae19d665d2f06f0f48a6ac9a224b3f672e65d517" - integrity sha512-nlN9B69St9BwUoB+jkyU090bru8L0NA3yFvAd7k8dNsVH8bi9a8cUAUSEcEEgTp2z3dbEDGJGfP6VUnkQnlReg== - -"@esbuild/darwin-arm64@0.23.1": - version "0.23.1" - resolved "https://registry.yarnpkg.com/@esbuild/darwin-arm64/-/darwin-arm64-0.23.1.tgz#05b17f91a87e557b468a9c75e9d85ab10c121b16" - integrity sha512-YsS2e3Wtgnw7Wq53XXBLcV6JhRsEq8hkfg91ESVadIrzr9wO6jJDMZnCQbHm1Guc5t/CdDiFSSfWP58FNuvT3Q== - -"@esbuild/darwin-x64@0.23.1": - version "0.23.1" - resolved "https://registry.yarnpkg.com/@esbuild/darwin-x64/-/darwin-x64-0.23.1.tgz#c58353b982f4e04f0d022284b8ba2733f5ff0931" - integrity sha512-aClqdgTDVPSEGgoCS8QDG37Gu8yc9lTHNAQlsztQ6ENetKEO//b8y31MMu2ZaPbn4kVsIABzVLXYLhCGekGDqw== - -"@esbuild/freebsd-arm64@0.23.1": - version "0.23.1" - resolved "https://registry.yarnpkg.com/@esbuild/freebsd-arm64/-/freebsd-arm64-0.23.1.tgz#f9220dc65f80f03635e1ef96cfad5da1f446f3bc" - integrity sha512-h1k6yS8/pN/NHlMl5+v4XPfikhJulk4G+tKGFIOwURBSFzE8bixw1ebjluLOjfwtLqY0kewfjLSrO6tN2MgIhA== - -"@esbuild/freebsd-x64@0.23.1": - version "0.23.1" - resolved "https://registry.yarnpkg.com/@esbuild/freebsd-x64/-/freebsd-x64-0.23.1.tgz#69bd8511fa013b59f0226d1609ac43f7ce489730" - integrity sha512-lK1eJeyk1ZX8UklqFd/3A60UuZ/6UVfGT2LuGo3Wp4/z7eRTRYY+0xOu2kpClP+vMTi9wKOfXi2vjUpO1Ro76g== - -"@esbuild/linux-arm64@0.23.1": - version "0.23.1" - resolved "https://registry.yarnpkg.com/@esbuild/linux-arm64/-/linux-arm64-0.23.1.tgz#8050af6d51ddb388c75653ef9871f5ccd8f12383" - integrity sha512-/93bf2yxencYDnItMYV/v116zff6UyTjo4EtEQjUBeGiVpMmffDNUyD9UN2zV+V3LRV3/on4xdZ26NKzn6754g== - -"@esbuild/linux-arm@0.23.1": - version "0.23.1" - resolved "https://registry.yarnpkg.com/@esbuild/linux-arm/-/linux-arm-0.23.1.tgz#ecaabd1c23b701070484990db9a82f382f99e771" - integrity sha512-CXXkzgn+dXAPs3WBwE+Kvnrf4WECwBdfjfeYHpMeVxWE0EceB6vhWGShs6wi0IYEqMSIzdOF1XjQ/Mkm5d7ZdQ== - -"@esbuild/linux-ia32@0.23.1": - version "0.23.1" - resolved "https://registry.yarnpkg.com/@esbuild/linux-ia32/-/linux-ia32-0.23.1.tgz#3ed2273214178109741c09bd0687098a0243b333" - integrity sha512-VTN4EuOHwXEkXzX5nTvVY4s7E/Krz7COC8xkftbbKRYAl96vPiUssGkeMELQMOnLOJ8k3BY1+ZY52tttZnHcXQ== - -"@esbuild/linux-loong64@0.23.1": - version "0.23.1" - resolved "https://registry.yarnpkg.com/@esbuild/linux-loong64/-/linux-loong64-0.23.1.tgz#a0fdf440b5485c81b0fbb316b08933d217f5d3ac" - integrity sha512-Vx09LzEoBa5zDnieH8LSMRToj7ir/Jeq0Gu6qJ/1GcBq9GkfoEAoXvLiW1U9J1qE/Y/Oyaq33w5p2ZWrNNHNEw== - -"@esbuild/linux-mips64el@0.23.1": - version "0.23.1" - resolved "https://registry.yarnpkg.com/@esbuild/linux-mips64el/-/linux-mips64el-0.23.1.tgz#e11a2806346db8375b18f5e104c5a9d4e81807f6" - integrity sha512-nrFzzMQ7W4WRLNUOU5dlWAqa6yVeI0P78WKGUo7lg2HShq/yx+UYkeNSE0SSfSure0SqgnsxPvmAUu/vu0E+3Q== - -"@esbuild/linux-ppc64@0.23.1": - version "0.23.1" - resolved "https://registry.yarnpkg.com/@esbuild/linux-ppc64/-/linux-ppc64-0.23.1.tgz#06a2744c5eaf562b1a90937855b4d6cf7c75ec96" - integrity sha512-dKN8fgVqd0vUIjxuJI6P/9SSSe/mB9rvA98CSH2sJnlZ/OCZWO1DJvxj8jvKTfYUdGfcq2dDxoKaC6bHuTlgcw== - -"@esbuild/linux-riscv64@0.23.1": - version "0.23.1" - resolved "https://registry.yarnpkg.com/@esbuild/linux-riscv64/-/linux-riscv64-0.23.1.tgz#65b46a2892fc0d1af4ba342af3fe0fa4a8fe08e7" - integrity sha512-5AV4Pzp80fhHL83JM6LoA6pTQVWgB1HovMBsLQ9OZWLDqVY8MVobBXNSmAJi//Csh6tcY7e7Lny2Hg1tElMjIA== - -"@esbuild/linux-s390x@0.23.1": - version "0.23.1" - resolved "https://registry.yarnpkg.com/@esbuild/linux-s390x/-/linux-s390x-0.23.1.tgz#e71ea18c70c3f604e241d16e4e5ab193a9785d6f" - integrity sha512-9ygs73tuFCe6f6m/Tb+9LtYxWR4c9yg7zjt2cYkjDbDpV/xVn+68cQxMXCjUpYwEkze2RcU/rMnfIXNRFmSoDw== - -"@esbuild/linux-x64@0.23.1": - version "0.23.1" - resolved "https://registry.yarnpkg.com/@esbuild/linux-x64/-/linux-x64-0.23.1.tgz#d47f97391e80690d4dfe811a2e7d6927ad9eed24" - integrity sha512-EV6+ovTsEXCPAp58g2dD68LxoP/wK5pRvgy0J/HxPGB009omFPv3Yet0HiaqvrIrgPTBuC6wCH1LTOY91EO5hQ== - -"@esbuild/netbsd-x64@0.23.1": - version "0.23.1" - resolved "https://registry.yarnpkg.com/@esbuild/netbsd-x64/-/netbsd-x64-0.23.1.tgz#44e743c9778d57a8ace4b72f3c6b839a3b74a653" - integrity sha512-aevEkCNu7KlPRpYLjwmdcuNz6bDFiE7Z8XC4CPqExjTvrHugh28QzUXVOZtiYghciKUacNktqxdpymplil1beA== - -"@esbuild/openbsd-arm64@0.23.1": - version "0.23.1" - resolved "https://registry.yarnpkg.com/@esbuild/openbsd-arm64/-/openbsd-arm64-0.23.1.tgz#05c5a1faf67b9881834758c69f3e51b7dee015d7" - integrity sha512-3x37szhLexNA4bXhLrCC/LImN/YtWis6WXr1VESlfVtVeoFJBRINPJ3f0a/6LV8zpikqoUg4hyXw0sFBt5Cr+Q== - -"@esbuild/openbsd-x64@0.23.1": - version "0.23.1" - resolved "https://registry.yarnpkg.com/@esbuild/openbsd-x64/-/openbsd-x64-0.23.1.tgz#2e58ae511bacf67d19f9f2dcd9e8c5a93f00c273" - integrity sha512-aY2gMmKmPhxfU+0EdnN+XNtGbjfQgwZj43k8G3fyrDM/UdZww6xrWxmDkuz2eCZchqVeABjV5BpildOrUbBTqA== - -"@esbuild/sunos-x64@0.23.1": - version "0.23.1" - resolved "https://registry.yarnpkg.com/@esbuild/sunos-x64/-/sunos-x64-0.23.1.tgz#adb022b959d18d3389ac70769cef5a03d3abd403" - integrity sha512-RBRT2gqEl0IKQABT4XTj78tpk9v7ehp+mazn2HbUeZl1YMdaGAQqhapjGTCe7uw7y0frDi4gS0uHzhvpFuI1sA== - -"@esbuild/win32-arm64@0.23.1": - version "0.23.1" - resolved "https://registry.yarnpkg.com/@esbuild/win32-arm64/-/win32-arm64-0.23.1.tgz#84906f50c212b72ec360f48461d43202f4c8b9a2" - integrity sha512-4O+gPR5rEBe2FpKOVyiJ7wNDPA8nGzDuJ6gN4okSA1gEOYZ67N8JPk58tkWtdtPeLz7lBnY6I5L3jdsr3S+A6A== - -"@esbuild/win32-ia32@0.23.1": - version "0.23.1" - resolved "https://registry.yarnpkg.com/@esbuild/win32-ia32/-/win32-ia32-0.23.1.tgz#5e3eacc515820ff729e90d0cb463183128e82fac" - integrity sha512-BcaL0Vn6QwCwre3Y717nVHZbAa4UBEigzFm6VdsVdT/MbZ38xoj1X9HPkZhbmaBGUD1W8vxAfffbDe8bA6AKnQ== - -"@esbuild/win32-x64@0.23.1": - version "0.23.1" - resolved "https://registry.yarnpkg.com/@esbuild/win32-x64/-/win32-x64-0.23.1.tgz#81fd50d11e2c32b2d6241470e3185b70c7b30699" - integrity sha512-BHpFFeslkWrXWyUPnbKm+xYYVYruCinGcftSBaa8zoF9hZO4BcSCFUvHVTtzpIY6YzUnYtuEhZ+C9iEXjxnasg== - -"@eslint-community/eslint-utils@^4.2.0": - version "4.4.0" - resolved "https://registry.yarnpkg.com/@eslint-community/eslint-utils/-/eslint-utils-4.4.0.tgz#a23514e8fb9af1269d5f7788aa556798d61c6b59" - integrity sha512-1/sA4dwrzBAyeUoQ6oxahHKmrZvsnLCg4RfxW3ZFGGmQkSNQPFNLV9CUEFQP1x9EYXHTo5p6xdhZM1Ne9p/AfA== - dependencies: - eslint-visitor-keys "^3.3.0" - -"@eslint-community/regexpp@^4.4.0", "@eslint-community/regexpp@^4.6.1": - version "4.11.1" - resolved "https://registry.yarnpkg.com/@eslint-community/regexpp/-/regexpp-4.11.1.tgz#a547badfc719eb3e5f4b556325e542fbe9d7a18f" - integrity sha512-m4DVN9ZqskZoLU5GlWZadwDnYo3vAEydiUayB9widCl9ffWx2IvPnp6n3on5rJmziJSw9Bv+Z3ChDVdMwXCY8Q== - -"@eslint/eslintrc@^2.1.4": - version "2.1.4" - resolved "https://registry.yarnpkg.com/@eslint/eslintrc/-/eslintrc-2.1.4.tgz#388a269f0f25c1b6adc317b5a2c55714894c70ad" - integrity sha512-269Z39MS6wVJtsoUl10L60WdkhJVdPG24Q4eZTH3nnF6lpvSShEK3wQjDX9JRWAUPvPh7COouPpU9IrqaZFvtQ== - dependencies: - ajv "^6.12.4" - debug "^4.3.2" - espree "^9.6.0" - globals "^13.19.0" - ignore "^5.2.0" - import-fresh "^3.2.1" - js-yaml "^4.1.0" - minimatch "^3.1.2" - strip-json-comments "^3.1.1" - -"@eslint/js@8.57.1": - version "8.57.1" - resolved "https://registry.yarnpkg.com/@eslint/js/-/js-8.57.1.tgz#de633db3ec2ef6a3c89e2f19038063e8a122e2c2" - integrity sha512-d9zaMRSTIKDLhctzH12MtXvJKSSUhaHcjV+2Z+GK+EEY7XKpP5yR4x+N3TAcHTcu963nIr+TMcCb4DBCYX1z6Q== - -"@formatjs/ecma402-abstract@2.2.0": - version "2.2.0" - resolved "https://registry.yarnpkg.com/@formatjs/ecma402-abstract/-/ecma402-abstract-2.2.0.tgz#36f5bc0dac4ca77ca429fe44bd95b32d5ccd98dd" - integrity sha512-IpM+ev1E4QLtstniOE29W1rqH9eTdx5hQdNL8pzrflMj/gogfaoONZqL83LUeQScHAvyMbpqP5C9MzNf+fFwhQ== - dependencies: - "@formatjs/fast-memoize" "2.2.1" - "@formatjs/intl-localematcher" "0.5.5" - tslib "^2.7.0" - -"@formatjs/fast-memoize@2.2.1": - version "2.2.1" - resolved "https://registry.yarnpkg.com/@formatjs/fast-memoize/-/fast-memoize-2.2.1.tgz#74575f18c6a789472517995ca9686e7a3f7c0b60" - integrity sha512-XS2RcOSyWxmUB7BUjj3mlPH0exsUzlf6QfhhijgI941WaJhVxXQ6mEWkdUFIdnKi3TuTYxRdelsgv3mjieIGIA== - dependencies: - tslib "^2.7.0" - -"@formatjs/icu-messageformat-parser@2.7.10": - version "2.7.10" - resolved "https://registry.yarnpkg.com/@formatjs/icu-messageformat-parser/-/icu-messageformat-parser-2.7.10.tgz#d2e7b73121d950a19710b7bc3659188eafc43786" - integrity sha512-wlQfqCZ7PURkUNL2+8VTEFavPovtADU/isSKLFvDbdFmV7QPZIYqFMkhklaDYgMyLSBJa/h2MVQ2aFvoEJhxgg== - dependencies: - "@formatjs/ecma402-abstract" "2.2.0" - "@formatjs/icu-skeleton-parser" "1.8.4" - tslib "^2.7.0" - -"@formatjs/icu-skeleton-parser@1.8.4": - version "1.8.4" - resolved "https://registry.yarnpkg.com/@formatjs/icu-skeleton-parser/-/icu-skeleton-parser-1.8.4.tgz#8ca9c2efa2ef2f9e26c0502892a21699dcff8b4f" - integrity sha512-LMQ1+Wk1QSzU4zpd5aSu7+w5oeYhupRwZnMQckLPRYhSjf2/8JWQ882BauY9NyHxs5igpuQIXZDgfkaH3PoATg== - dependencies: - "@formatjs/ecma402-abstract" "2.2.0" - tslib "^2.7.0" - -"@formatjs/intl-localematcher@0.5.5": - version "0.5.5" - resolved "https://registry.yarnpkg.com/@formatjs/intl-localematcher/-/intl-localematcher-0.5.5.tgz#b24f100f30658104d5f6db35b0b8d97235298681" - integrity sha512-t5tOGMgZ/i5+ALl2/offNqAQq/lfUnKLEw0mXQI4N4bqpedhrSE+fyKLpwnd22sK0dif6AV+ufQcTsKShB9J1g== - dependencies: - tslib "^2.7.0" - -"@gar/promisify@^1.1.3": - version "1.1.3" - resolved "https://registry.yarnpkg.com/@gar/promisify/-/promisify-1.1.3.tgz#555193ab2e3bb3b6adc3d551c9c030d9e860daf6" - integrity sha512-k2Ty1JcVojjJFwrg/ThKi2ujJ7XNLYaFGNB/bWT9wGR+oSMJHMa5w+CUq6p/pVrKeNNgA7pCqEcjSnHVoqJQFw== - -"@hapi/hoek@^9.0.0", "@hapi/hoek@^9.3.0": - version "9.3.0" - resolved "https://registry.yarnpkg.com/@hapi/hoek/-/hoek-9.3.0.tgz#8368869dcb735be2e7f5cb7647de78e167a251fb" - integrity sha512-/c6rf4UJlmHlC9b5BaNvzAcFv7HZ2QHaV0D4/HNlBdvFnvQq8RI4kYdhyPCl7Xj+oWvTWQ8ujhqS53LIgAe6KQ== - -"@hapi/topo@^5.1.0": - version "5.1.0" - resolved "https://registry.yarnpkg.com/@hapi/topo/-/topo-5.1.0.tgz#dc448e332c6c6e37a4dc02fd84ba8d44b9afb012" - integrity sha512-foQZKJig7Ob0BMAYBfcJk8d77QtOe7Wo4ox7ff1lQYoNNAb6jwcY1ncdoy2e9wQZzvNy7ODZCYJkK8kzmcAnAg== - dependencies: - "@hapi/hoek" "^9.0.0" - -"@hopper-ui/components@^1.3.20": - version "1.3.25" - resolved "https://registry.yarnpkg.com/@hopper-ui/components/-/components-1.3.25.tgz#f8355c7e9aa5bb8241dbbede443f762e7660ed8e" - integrity sha512-wY4y8nrENSCxp06RG5zoXUkw7syjb2hjJ2o8h0Bemf3kE20kzX2CbmG4v2+01xMRY3Joig2LyFTVQVdyrGCXAw== - dependencies: - "@hopper-ui/icons" "2.8.4" - "@react-aria/utils" "^3.25.3" - "@react-stately/utils" "^3.10.4" - "@react-types/shared" "^3.25.0" - clsx "^2.1.1" - -"@hopper-ui/icons@2.8.4", "@hopper-ui/icons@^2.8.2", "@hopper-ui/icons@^2.8.4": - version "2.8.4" - resolved "https://registry.yarnpkg.com/@hopper-ui/icons/-/icons-2.8.4.tgz#5a74749b94dd241afcbfc7110dfe73927b2327de" - integrity sha512-6iOMyVkt85ayAqIkTReGBOWFRqP2GxAVb3P/ph/DvYVO5PwI0w+uczeaKSkyjUST9qWYqBEL3c7vN6OmSuAIVw== - dependencies: - "@react-aria/utils" "^3.25.3" - clsx "^2.1.1" - -"@hopper-ui/styled-system@^2.4.0": - version "2.4.1" - resolved "https://registry.yarnpkg.com/@hopper-ui/styled-system/-/styled-system-2.4.1.tgz#220936b095f6423d373498cccfb93d9bacd9d8cb" - integrity sha512-V1fme6WlC54OssahhT8b+Yy/Xb4ZAocpS2a9p/zbBVvSL9Id8deHWavfrkY8QpYv2tM+m7ynf0ishYLaLLIqhw== - dependencies: - "@react-aria/ssr" "^3.9.6" - clsx "^2.1.1" - -"@hopper-ui/tokens@^4.2.0": - version "4.4.1" - resolved "https://registry.yarnpkg.com/@hopper-ui/tokens/-/tokens-4.4.1.tgz#fa2cf27e452a3c2b2ef0eaf1062abaa4887c096c" - integrity sha512-b4enyXJ7ThAvxCBDfM5tdf7xOEJldejukhrXfu/ib3v22mgmDge+v9tnbTJiMWWsjfzAhH/kiIODxLk2f5o7HA== - -"@humanwhocodes/config-array@^0.13.0": - version "0.13.0" - resolved "https://registry.yarnpkg.com/@humanwhocodes/config-array/-/config-array-0.13.0.tgz#fb907624df3256d04b9aa2df50d7aa97ec648748" - integrity sha512-DZLEEqFWQFiyK6h5YIeynKx7JlvCYWL0cImfSRXZ9l4Sg2efkFGTuFf6vzXjK1cq6IYkU+Eg/JizXw+TD2vRNw== - dependencies: - "@humanwhocodes/object-schema" "^2.0.3" - debug "^4.3.1" - minimatch "^3.0.5" - -"@humanwhocodes/module-importer@^1.0.1": - version "1.0.1" - resolved "https://registry.yarnpkg.com/@humanwhocodes/module-importer/-/module-importer-1.0.1.tgz#af5b2691a22b44be847b0ca81641c5fb6ad0172c" - integrity sha512-bxveV4V8v5Yb4ncFTT3rPSgZBOpCkjfK0y4oVVVJwIuDVBRMDXrPyXRL988i5ap9m9bnyEEjWfm5WkBmtffLfA== - -"@humanwhocodes/object-schema@^2.0.3": - version "2.0.3" - resolved "https://registry.yarnpkg.com/@humanwhocodes/object-schema/-/object-schema-2.0.3.tgz#4a2868d75d6d6963e423bcf90b7fd1be343409d3" - integrity sha512-93zYdMES/c1D69yZiKDBj0V24vqNzB/koF26KPaagAfd3P/4gUlh3Dys5ogAK+Exi9QyzlD8x/08Zt7wIKcDcA== - -"@hutson/parse-repository-url@^3.0.0": - version "3.0.2" - resolved "https://registry.yarnpkg.com/@hutson/parse-repository-url/-/parse-repository-url-3.0.2.tgz#98c23c950a3d9b6c8f0daed06da6c3af06981340" - integrity sha512-H9XAx3hc0BQHY6l+IFSWHDySypcXsvsuLhgYLUGywmJ5pswRVQJUHpOsobnLYp2ZUaUlKiKDrgWWhosOwAEM8Q== - -"@internationalized/date@^3.5.6": - version "3.5.6" - resolved "https://registry.yarnpkg.com/@internationalized/date/-/date-3.5.6.tgz#0833c2fa75efb3573f4e3bf10e3895f1019e87dd" - integrity sha512-jLxQjefH9VI5P9UQuqB6qNKnvFt1Ky1TPIzHGsIlCi7sZZoMR8SdYbBGRvM0y+Jtb+ez4ieBzmiAUcpmPYpyOw== - dependencies: - "@swc/helpers" "^0.5.0" - -"@internationalized/message@^3.1.5": - version "3.1.5" - resolved "https://registry.yarnpkg.com/@internationalized/message/-/message-3.1.5.tgz#7391bba7a0489022a099f5bc37eb161889d520c8" - integrity sha512-hjEpLKFlYA3m5apldLqzHqw531qqfOEq0HlTWdfyZmcloWiUbWsYXD6YTiUmQmOtarthzhdjCAwMVrB8a4E7uA== - dependencies: - "@swc/helpers" "^0.5.0" - intl-messageformat "^10.1.0" - -"@internationalized/number@^3.5.4": - version "3.5.4" - resolved "https://registry.yarnpkg.com/@internationalized/number/-/number-3.5.4.tgz#db1c648fa191b28062c2f4fd81fac89777ad3e91" - integrity sha512-h9huwWjNqYyE2FXZZewWqmCdkw1HeFds5q4Siuoms3hUQC5iPJK3aBmkFZoDSLN4UD0Bl8G22L/NdHpeOr+/7A== - dependencies: - "@swc/helpers" "^0.5.0" - -"@internationalized/string@^3.2.4": - version "3.2.4" - resolved "https://registry.yarnpkg.com/@internationalized/string/-/string-3.2.4.tgz#e05ddd93a7b83e936940c83f5b3a8597d8c3a370" - integrity sha512-BcyadXPn89Ae190QGZGDUZPqxLj/xsP4U1Br1oSy8yfIjmpJ8cJtGYleaodqW/EmzFjwELtwDojLkf3FhV6SjA== - dependencies: - "@swc/helpers" "^0.5.0" - -"@isaacs/cliui@^8.0.2": - version "8.0.2" - resolved "https://registry.yarnpkg.com/@isaacs/cliui/-/cliui-8.0.2.tgz#b37667b7bc181c168782259bab42474fbf52b550" - integrity sha512-O8jcjabXaleOG9DQ0+ARXWZBTfnP4WNAqzuiJK7ll44AmxGKv/J2M4TPjxjY3znBCfvBXFzucm1twdyFybFqEA== - dependencies: - string-width "^5.1.2" - string-width-cjs "npm:string-width@^4.2.0" - strip-ansi "^7.0.1" - strip-ansi-cjs "npm:strip-ansi@^6.0.1" - wrap-ansi "^8.1.0" - wrap-ansi-cjs "npm:wrap-ansi@^7.0.0" - -"@isaacs/string-locale-compare@^1.1.0": - version "1.1.0" - resolved "https://registry.yarnpkg.com/@isaacs/string-locale-compare/-/string-locale-compare-1.1.0.tgz#291c227e93fd407a96ecd59879a35809120e432b" - integrity sha512-SQ7Kzhh9+D+ZW9MA0zkYv3VXhIDNx+LzM6EJ+/65I3QY+enU6Itte7E5XX7EWrqLW2FN4n06GWzBnPoC3th2aQ== - -"@istanbuljs/load-nyc-config@^1.0.0": - version "1.1.0" - resolved "https://registry.yarnpkg.com/@istanbuljs/load-nyc-config/-/load-nyc-config-1.1.0.tgz#fd3db1d59ecf7cf121e80650bb86712f9b55eced" - integrity sha512-VjeHSlIzpv/NyD3N0YuHfXOPDIixcA1q2ZV98wsMqcYlPmv2n3Yb2lYP9XMElnaFVXg5A7YLTeLu6V84uQDjmQ== - dependencies: - camelcase "^5.3.1" - find-up "^4.1.0" - get-package-type "^0.1.0" - js-yaml "^3.13.1" - resolve-from "^5.0.0" - -"@istanbuljs/schema@^0.1.2", "@istanbuljs/schema@^0.1.3": - version "0.1.3" - resolved "https://registry.yarnpkg.com/@istanbuljs/schema/-/schema-0.1.3.tgz#e45e384e4b8ec16bce2fd903af78450f6bf7ec98" - integrity sha512-ZXRY4jNvVgSVQ8DL3LTcakaAtXwTVUxE81hslsyD2AtoXW/wVob10HkOJ1X/pAlcI7D+2YoZKg5do8G/w6RYgA== - -"@jest/console@^29.7.0": - version "29.7.0" - resolved "https://registry.yarnpkg.com/@jest/console/-/console-29.7.0.tgz#cd4822dbdb84529265c5a2bdb529a3c9cc950ffc" - integrity sha512-5Ni4CU7XHQi32IJ398EEP4RrB8eV09sXP2ROqD4bksHrnTree52PsxvX8tpL8LvTZ3pFzXyPbNQReSN41CAhOg== - dependencies: - "@jest/types" "^29.6.3" - "@types/node" "*" - chalk "^4.0.0" - jest-message-util "^29.7.0" - jest-util "^29.7.0" - slash "^3.0.0" - -"@jest/core@^29.7.0": - version "29.7.0" - resolved "https://registry.yarnpkg.com/@jest/core/-/core-29.7.0.tgz#b6cccc239f30ff36609658c5a5e2291757ce448f" - integrity sha512-n7aeXWKMnGtDA48y8TLWJPJmLmmZ642Ceo78cYWEpiD7FzDgmNDV/GCVRorPABdXLJZ/9wzzgZAlHjXjxDHGsg== - dependencies: - "@jest/console" "^29.7.0" - "@jest/reporters" "^29.7.0" - "@jest/test-result" "^29.7.0" - "@jest/transform" "^29.7.0" - "@jest/types" "^29.6.3" - "@types/node" "*" - ansi-escapes "^4.2.1" - chalk "^4.0.0" - ci-info "^3.2.0" - exit "^0.1.2" - graceful-fs "^4.2.9" - jest-changed-files "^29.7.0" - jest-config "^29.7.0" - jest-haste-map "^29.7.0" - jest-message-util "^29.7.0" - jest-regex-util "^29.6.3" - jest-resolve "^29.7.0" - jest-resolve-dependencies "^29.7.0" - jest-runner "^29.7.0" - jest-runtime "^29.7.0" - jest-snapshot "^29.7.0" - jest-util "^29.7.0" - jest-validate "^29.7.0" - jest-watcher "^29.7.0" - micromatch "^4.0.4" - pretty-format "^29.7.0" - slash "^3.0.0" - strip-ansi "^6.0.0" - -"@jest/create-cache-key-function@^29.7.0": - version "29.7.0" - resolved "https://registry.yarnpkg.com/@jest/create-cache-key-function/-/create-cache-key-function-29.7.0.tgz#793be38148fab78e65f40ae30c36785f4ad859f0" - integrity sha512-4QqS3LY5PBmTRHj9sAg1HLoPzqAI0uOX6wI/TRqHIcOxlFidy6YEmCQJk6FSZjNLGCeubDMfmkWL+qaLKhSGQA== - dependencies: - "@jest/types" "^29.6.3" - -"@jest/environment@^29.7.0": - version "29.7.0" - resolved "https://registry.yarnpkg.com/@jest/environment/-/environment-29.7.0.tgz#24d61f54ff1f786f3cd4073b4b94416383baf2a7" - integrity sha512-aQIfHDq33ExsN4jP1NWGXhxgQ/wixs60gDiKO+XVMd8Mn0NWPWgc34ZQDTb2jKaUWQ7MuwoitXAsN2XVXNMpAw== - dependencies: - "@jest/fake-timers" "^29.7.0" - "@jest/types" "^29.6.3" - "@types/node" "*" - jest-mock "^29.7.0" - -"@jest/expect-utils@^29.7.0": - version "29.7.0" - resolved "https://registry.yarnpkg.com/@jest/expect-utils/-/expect-utils-29.7.0.tgz#023efe5d26a8a70f21677d0a1afc0f0a44e3a1c6" - integrity sha512-GlsNBWiFQFCVi9QVSx7f5AgMeLxe9YCCs5PuP2O2LdjDAA8Jh9eX7lA1Jq/xdXw3Wb3hyvlFNfZIfcRetSzYcA== - dependencies: - jest-get-type "^29.6.3" - -"@jest/expect@^29.7.0": - version "29.7.0" - resolved "https://registry.yarnpkg.com/@jest/expect/-/expect-29.7.0.tgz#76a3edb0cb753b70dfbfe23283510d3d45432bf2" - integrity sha512-8uMeAMycttpva3P1lBHB8VciS9V0XAr3GymPpipdyQXbBcuhkLQOSe8E/p92RyAdToS6ZD1tFkX+CkhoECE0dQ== - dependencies: - expect "^29.7.0" - jest-snapshot "^29.7.0" - -"@jest/fake-timers@^29.7.0": - version "29.7.0" - resolved "https://registry.yarnpkg.com/@jest/fake-timers/-/fake-timers-29.7.0.tgz#fd91bf1fffb16d7d0d24a426ab1a47a49881a565" - integrity sha512-q4DH1Ha4TTFPdxLsqDXK1d3+ioSL7yL5oCMJZgDYm6i+6CygW5E5xVr/D1HdsGxjt1ZWSfUAs9OxSB/BNelWrQ== - dependencies: - "@jest/types" "^29.6.3" - "@sinonjs/fake-timers" "^10.0.2" - "@types/node" "*" - jest-message-util "^29.7.0" - jest-mock "^29.7.0" - jest-util "^29.7.0" - -"@jest/globals@^29.7.0": - version "29.7.0" - resolved "https://registry.yarnpkg.com/@jest/globals/-/globals-29.7.0.tgz#8d9290f9ec47ff772607fa864ca1d5a2efae1d4d" - integrity sha512-mpiz3dutLbkW2MNFubUGUEVLkTGiqW6yLVTA+JbP6fI6J5iL9Y0Nlg8k95pcF8ctKwCS7WVxteBs29hhfAotzQ== - dependencies: - "@jest/environment" "^29.7.0" - "@jest/expect" "^29.7.0" - "@jest/types" "^29.6.3" - jest-mock "^29.7.0" - -"@jest/reporters@^29.7.0": - version "29.7.0" - resolved "https://registry.yarnpkg.com/@jest/reporters/-/reporters-29.7.0.tgz#04b262ecb3b8faa83b0b3d321623972393e8f4c7" - integrity sha512-DApq0KJbJOEzAFYjHADNNxAE3KbhxQB1y5Kplb5Waqw6zVbuWatSnMjE5gs8FUgEPmNsnZA3NCWl9NG0ia04Pg== - dependencies: - "@bcoe/v8-coverage" "^0.2.3" - "@jest/console" "^29.7.0" - "@jest/test-result" "^29.7.0" - "@jest/transform" "^29.7.0" - "@jest/types" "^29.6.3" - "@jridgewell/trace-mapping" "^0.3.18" - "@types/node" "*" - chalk "^4.0.0" - collect-v8-coverage "^1.0.0" - exit "^0.1.2" - glob "^7.1.3" - graceful-fs "^4.2.9" - istanbul-lib-coverage "^3.0.0" - istanbul-lib-instrument "^6.0.0" - istanbul-lib-report "^3.0.0" - istanbul-lib-source-maps "^4.0.0" - istanbul-reports "^3.1.3" - jest-message-util "^29.7.0" - jest-util "^29.7.0" - jest-worker "^29.7.0" - slash "^3.0.0" - string-length "^4.0.1" - strip-ansi "^6.0.0" - v8-to-istanbul "^9.0.1" - -"@jest/schemas@^29.6.3": - version "29.6.3" - resolved "https://registry.yarnpkg.com/@jest/schemas/-/schemas-29.6.3.tgz#430b5ce8a4e0044a7e3819663305a7b3091c8e03" - integrity sha512-mo5j5X+jIZmJQveBKeS/clAueipV7KgiX1vMgCxam1RNYiqE1w62n0/tJJnHtjW8ZHcQco5gY85jA3mi0L+nSA== - dependencies: - "@sinclair/typebox" "^0.27.8" - -"@jest/source-map@^29.6.3": - version "29.6.3" - resolved "https://registry.yarnpkg.com/@jest/source-map/-/source-map-29.6.3.tgz#d90ba772095cf37a34a5eb9413f1b562a08554c4" - integrity sha512-MHjT95QuipcPrpLM+8JMSzFx6eHp5Bm+4XeFDJlwsvVBjmKNiIAvasGK2fxz2WbGRlnvqehFbh07MMa7n3YJnw== - dependencies: - "@jridgewell/trace-mapping" "^0.3.18" - callsites "^3.0.0" - graceful-fs "^4.2.9" - -"@jest/test-result@^29.7.0": - version "29.7.0" - resolved "https://registry.yarnpkg.com/@jest/test-result/-/test-result-29.7.0.tgz#8db9a80aa1a097bb2262572686734baed9b1657c" - integrity sha512-Fdx+tv6x1zlkJPcWXmMDAG2HBnaR9XPSd5aDWQVsfrZmLVT3lU1cwyxLgRmXR9yrq4NBoEm9BMsfgFzTQAbJYA== - dependencies: - "@jest/console" "^29.7.0" - "@jest/types" "^29.6.3" - "@types/istanbul-lib-coverage" "^2.0.0" - collect-v8-coverage "^1.0.0" - -"@jest/test-sequencer@^29.7.0": - version "29.7.0" - resolved "https://registry.yarnpkg.com/@jest/test-sequencer/-/test-sequencer-29.7.0.tgz#6cef977ce1d39834a3aea887a1726628a6f072ce" - integrity sha512-GQwJ5WZVrKnOJuiYiAF52UNUJXgTZx1NHjFSEB0qEMmSZKAkdMoIzw/Cj6x6NF4AvV23AUqDpFzQkN/eYCYTxw== - dependencies: - "@jest/test-result" "^29.7.0" - graceful-fs "^4.2.9" - jest-haste-map "^29.7.0" - slash "^3.0.0" - -"@jest/transform@^29.7.0": - version "29.7.0" - resolved "https://registry.yarnpkg.com/@jest/transform/-/transform-29.7.0.tgz#df2dd9c346c7d7768b8a06639994640c642e284c" - integrity sha512-ok/BTPFzFKVMwO5eOHRrvnBVHdRy9IrsrW1GpMaQ9MCnilNLXQKmAX8s1YXDFaai9xJpac2ySzV0YeRRECr2Vw== - dependencies: - "@babel/core" "^7.11.6" - "@jest/types" "^29.6.3" - "@jridgewell/trace-mapping" "^0.3.18" - babel-plugin-istanbul "^6.1.1" - chalk "^4.0.0" - convert-source-map "^2.0.0" - fast-json-stable-stringify "^2.1.0" - graceful-fs "^4.2.9" - jest-haste-map "^29.7.0" - jest-regex-util "^29.6.3" - jest-util "^29.7.0" - micromatch "^4.0.4" - pirates "^4.0.4" - slash "^3.0.0" - write-file-atomic "^4.0.2" - -"@jest/types@^25.5.0": - version "25.5.0" - resolved "https://registry.yarnpkg.com/@jest/types/-/types-25.5.0.tgz#4d6a4793f7b9599fc3680877b856a97dbccf2a9d" - integrity sha512-OXD0RgQ86Tu3MazKo8bnrkDRaDXXMGUqd+kTtLtK1Zb7CRzQcaSRPPPV37SvYTdevXEBVxe0HXylEjs8ibkmCw== - dependencies: - "@types/istanbul-lib-coverage" "^2.0.0" - "@types/istanbul-reports" "^1.1.1" - "@types/yargs" "^15.0.0" - chalk "^3.0.0" - -"@jest/types@^27.5.1": - version "27.5.1" - resolved "https://registry.yarnpkg.com/@jest/types/-/types-27.5.1.tgz#3c79ec4a8ba61c170bf937bcf9e98a9df175ec80" - integrity sha512-Cx46iJ9QpwQTjIdq5VJu2QTMMs3QlEjI0x1QbBP5W1+nMzyc2XmimiRR/CbX9TO0cPTeUlxWMOu8mslYsJ8DEw== - dependencies: - "@types/istanbul-lib-coverage" "^2.0.0" - "@types/istanbul-reports" "^3.0.0" - "@types/node" "*" - "@types/yargs" "^16.0.0" - chalk "^4.0.0" - -"@jest/types@^29.6.3": - version "29.6.3" - resolved "https://registry.yarnpkg.com/@jest/types/-/types-29.6.3.tgz#1131f8cf634e7e84c5e77bab12f052af585fba59" - integrity sha512-u3UPsIilWKOM3F9CXtrG8LEJmNxwoCQC/XVj4IKYXvvpx7QIi/Kg1LI5uDmDpKlac62NUtX7eLjRh+jVZcLOzw== - dependencies: - "@jest/schemas" "^29.6.3" - "@types/istanbul-lib-coverage" "^2.0.0" - "@types/istanbul-reports" "^3.0.0" - "@types/node" "*" - "@types/yargs" "^17.0.8" - chalk "^4.0.0" - -"@jridgewell/gen-mapping@^0.3.5": - version "0.3.5" - resolved "https://registry.yarnpkg.com/@jridgewell/gen-mapping/-/gen-mapping-0.3.5.tgz#dcce6aff74bdf6dad1a95802b69b04a2fcb1fb36" - integrity sha512-IzL8ZoEDIBRWEzlCcRhOaCupYyN5gdIK+Q6fbFdPDg6HqX6jpkItn7DFIpW9LQzXG6Df9sA7+OKnq0qlz/GaQg== - dependencies: - "@jridgewell/set-array" "^1.2.1" - "@jridgewell/sourcemap-codec" "^1.4.10" - "@jridgewell/trace-mapping" "^0.3.24" - -"@jridgewell/resolve-uri@^3.1.0": - version "3.1.2" - resolved "https://registry.yarnpkg.com/@jridgewell/resolve-uri/-/resolve-uri-3.1.2.tgz#7a0ee601f60f99a20c7c7c5ff0c80388c1189bd6" - integrity sha512-bRISgCIjP20/tbWSPWMEi54QVPRZExkuD9lJL+UIxUKtwVJA8wW1Trb1jMs1RFXo1CBTNZ/5hpC9QvmKWdopKw== - -"@jridgewell/set-array@^1.2.1": - version "1.2.1" - resolved "https://registry.yarnpkg.com/@jridgewell/set-array/-/set-array-1.2.1.tgz#558fb6472ed16a4c850b889530e6b36438c49280" - integrity sha512-R8gLRTZeyp03ymzP/6Lil/28tGeGEzhx1q2k703KGWRAI1VdvPIXdG70VJc2pAMw3NA6JKL5hhFu1sJX0Mnn/A== - -"@jridgewell/source-map@^0.3.3": - version "0.3.6" - resolved "https://registry.yarnpkg.com/@jridgewell/source-map/-/source-map-0.3.6.tgz#9d71ca886e32502eb9362c9a74a46787c36df81a" - integrity sha512-1ZJTZebgqllO79ue2bm3rIGud/bOe0pP5BjSRCRxxYkEZS8STV7zN84UBbiYu7jy+eCKSnVIUgoWWE/tt+shMQ== - dependencies: - "@jridgewell/gen-mapping" "^0.3.5" - "@jridgewell/trace-mapping" "^0.3.25" - -"@jridgewell/sourcemap-codec@^1.4.10", "@jridgewell/sourcemap-codec@^1.4.14", "@jridgewell/sourcemap-codec@^1.5.0": - version "1.5.0" - resolved "https://registry.yarnpkg.com/@jridgewell/sourcemap-codec/-/sourcemap-codec-1.5.0.tgz#3188bcb273a414b0d215fd22a58540b989b9409a" - integrity sha512-gv3ZRaISU3fjPAgNsriBRqGWQL6quFx04YMPW/zD8XMLsU32mhCCbfbO6KZFLjvYpCZ8zyDEgqsgf+PwPaM7GQ== - -"@jridgewell/trace-mapping@^0.3.12", "@jridgewell/trace-mapping@^0.3.18", "@jridgewell/trace-mapping@^0.3.20", "@jridgewell/trace-mapping@^0.3.24", "@jridgewell/trace-mapping@^0.3.25": - version "0.3.25" - resolved "https://registry.yarnpkg.com/@jridgewell/trace-mapping/-/trace-mapping-0.3.25.tgz#15f190e98895f3fc23276ee14bc76b675c2e50f0" - integrity sha512-vNk6aEwybGtawWmy/PzwnGDOjCkLWSD2wqvjGGAgOAwCGWySYXfYoxt00IJkTF+8Lb57DwOb3Aa0o9CApepiYQ== - dependencies: - "@jridgewell/resolve-uri" "^3.1.0" - "@jridgewell/sourcemap-codec" "^1.4.14" - -"@lerna/child-process@6.5.1": - version "6.5.1" - resolved "https://registry.yarnpkg.com/@lerna/child-process/-/child-process-6.5.1.tgz#da9161ba00e8d67fa7241a709703e5cc5e4a5e5e" - integrity sha512-QfyleXSD9slh4qM54wDaqKVPvtUH1NJMgsFc9BabqSHO1Ttpandv1EAvTCN9Lu73RbCX3LJpn+BfJmnjHbjCyw== - dependencies: - chalk "^4.1.0" - execa "^5.0.0" - strong-log-transformer "^2.1.0" - -"@lerna/create@6.5.1": - version "6.5.1" - resolved "https://registry.yarnpkg.com/@lerna/create/-/create-6.5.1.tgz#326b5d26c247bfc9e2d8728aa1f69419840cec8c" - integrity sha512-ejERJnfA36jEuKrfM+94feLiyf2/hF2NoG923N0rE4rsmvRFPr1XLVPvAKleXW+Gdi/t1p410lJ7NKaLRMYCYw== - dependencies: - "@lerna/child-process" "6.5.1" - dedent "^0.7.0" - fs-extra "^9.1.0" - init-package-json "^3.0.2" - npm-package-arg "8.1.1" - p-reduce "^2.1.0" - pacote "^13.6.1" - pify "^5.0.0" - semver "^7.3.4" - slash "^3.0.0" - validate-npm-package-license "^3.0.4" - validate-npm-package-name "^4.0.0" - yargs-parser "20.2.4" - -"@manypkg/find-root@^1.1.0": - version "1.1.0" - resolved "https://registry.yarnpkg.com/@manypkg/find-root/-/find-root-1.1.0.tgz#a62d8ed1cd7e7d4c11d9d52a8397460b5d4ad29f" - integrity sha512-mki5uBvhHzO8kYYix/WRy2WX8S3B5wdVSc9D6KcU5lQNglP2yt58/VfLuAK49glRXChosY8ap2oJ1qgma3GUVA== - dependencies: - "@babel/runtime" "^7.5.5" - "@types/node" "^12.7.1" - find-up "^4.1.0" - fs-extra "^8.1.0" - -"@manypkg/get-packages@^1.1.3": - version "1.1.3" - resolved "https://registry.yarnpkg.com/@manypkg/get-packages/-/get-packages-1.1.3.tgz#e184db9bba792fa4693de4658cfb1463ac2c9c47" - integrity sha512-fo+QhuU3qE/2TQMQmbVMqaQ6EWbMhi4ABWP+O4AM1NqPBuy0OrApV5LO6BrrgnhtAHS2NH6RrVk9OL181tTi8A== - dependencies: - "@babel/runtime" "^7.5.5" - "@changesets/types" "^4.0.1" - "@manypkg/find-root" "^1.1.0" - fs-extra "^8.1.0" - globby "^11.0.0" - read-yaml-file "^1.1.0" - -"@mapbox/node-pre-gyp@^1.0.5": - version "1.0.11" - resolved "https://registry.yarnpkg.com/@mapbox/node-pre-gyp/-/node-pre-gyp-1.0.11.tgz#417db42b7f5323d79e93b34a6d7a2a12c0df43fa" - integrity sha512-Yhlar6v9WQgUp/He7BdgzOz8lqMQ8sU+jkCq7Wx8Myc5YFJLbEe7lgui/V7G1qB1DJykHSGwreceSaD60Y0PUQ== - dependencies: - detect-libc "^2.0.0" - https-proxy-agent "^5.0.0" - make-dir "^3.1.0" - node-fetch "^2.6.7" - nopt "^5.0.0" - npmlog "^5.0.1" - rimraf "^3.0.2" - semver "^7.3.5" - tar "^6.1.11" - -"@mdx-js/react@^3.0.0": - version "3.1.0" - resolved "https://registry.yarnpkg.com/@mdx-js/react/-/react-3.1.0.tgz#c4522e335b3897b9a845db1dbdd2f966ae8fb0ed" - integrity sha512-QjHtSaoameoalGnKDT3FoIl4+9RwyTmo9ZJGBdLOks/YOiWHoRDI3PUwEzOE7kEmGcV3AFcp9K6dYu9rEuKLAQ== - dependencies: - "@types/mdx" "^2.0.0" - -"@mrmlnc/readdir-enhanced@^2.2.1": - version "2.2.1" - resolved "https://registry.yarnpkg.com/@mrmlnc/readdir-enhanced/-/readdir-enhanced-2.2.1.tgz#524af240d1a360527b730475ecfa1344aa540dde" - integrity sha512-bPHp6Ji8b41szTOcaP63VlnbbO5Ny6dwAATtY6JTjh5N2OLrb5Qk/Th5cRkRQhkWCt+EJsYrNB0MiL+Gpn6e3g== - dependencies: - call-me-maybe "^1.0.1" - glob-to-regexp "^0.3.0" - -"@netlify/binary-info@^1.0.0": - version "1.0.0" - resolved "https://registry.yarnpkg.com/@netlify/binary-info/-/binary-info-1.0.0.tgz#cd0d86fb783fb03e52067f0cd284865e57be86c8" - integrity sha512-4wMPu9iN3/HL97QblBsBay3E1etIciR84izI3U+4iALY+JHCrI+a2jO0qbAZ/nxKoegypYEaiiqWXylm+/zfrw== - -"@netlify/build@^26.1.0": - version "26.5.3" - resolved "https://registry.yarnpkg.com/@netlify/build/-/build-26.5.3.tgz#68f8ea15ba48cd0ecdbe239462ae6cecfd57c5cd" - integrity sha512-O16lFUI6/uooWIvgrO/fQphx4vAGTW9GDAQ3hvo5M64XFdu+9W/OU0fB0fAPAJp+wGM+/hZI5JSS6rCG+TWifg== - dependencies: - "@bugsnag/js" "^7.0.0" - "@netlify/cache-utils" "^4.0.0" - "@netlify/config" "^17.0.0" - "@netlify/functions-utils" "^4.0.0" - "@netlify/git-utils" "^4.0.0" - "@netlify/plugin-edge-handlers" "^3.0.7" - "@netlify/plugins-list" "^6.19.0" - "@netlify/run-utils" "^4.0.0" - "@netlify/zip-it-and-ship-it" "5.9.0" - "@sindresorhus/slugify" "^2.0.0" - "@types/node" "^16.0.0" - ansi-escapes "^5.0.0" - chalk "^5.0.0" - clean-stack "^4.0.0" - execa "^6.0.0" - figures "^4.0.0" - filter-obj "^3.0.0" - got "^10.0.0" - indent-string "^5.0.0" - is-plain-obj "^4.0.0" - js-yaml "^4.0.0" - keep-func-props "^4.0.0" - locate-path "^7.0.0" - log-process-errors "^8.0.0" - map-obj "^5.0.0" - memoize-one "^6.0.0" - os-name "^5.0.0" - p-event "^5.0.0" - p-every "^2.0.0" - p-filter "^3.0.0" - p-locate "^6.0.0" - p-reduce "^3.0.0" - path-exists "^5.0.0" - path-type "^5.0.0" - pkg-dir "^6.0.0" - pretty-ms "^7.0.0" - ps-list "^8.0.0" - read-pkg-up "^9.0.0" - readdirp "^3.4.0" - resolve "^2.0.0-next.1" - rfdc "^1.3.0" - safe-json-stringify "^1.2.0" - semver "^7.0.0" - statsd-client "0.4.7" - string-width "^5.0.0" - strip-ansi "^7.0.0" - supports-color "^9.0.0" - tmp-promise "^3.0.2" - ts-node "10.4.0" - typescript "^4.5.4" - update-notifier "^5.0.0" - uuid "^8.0.0" - yargs "^17.3.1" - -"@netlify/cache-utils@^4.0.0": - version "4.1.6" - resolved "https://registry.yarnpkg.com/@netlify/cache-utils/-/cache-utils-4.1.6.tgz#2b4f9a2be307f650b4557b063da149411a757786" - integrity sha512-8n7zVoWs3xetgD2JxNXs0E/WU7MpHNDW9rxhOPnxn5PQWnYGjK18VRoEIISE4ZUnr7stDIUWF8bNDmFcj+l6KQ== - dependencies: - cpy "^8.1.0" - del "^6.0.0" - get-stream "^6.0.0" - globby "^13.0.0" - junk "^4.0.0" - locate-path "^7.0.0" - move-file "^3.0.0" - path-exists "^5.0.0" - readdirp "^3.4.0" - -"@netlify/config@^17.0.0", "@netlify/config@^17.0.3": - version "17.0.20" - resolved "https://registry.yarnpkg.com/@netlify/config/-/config-17.0.20.tgz#c89c44356b9e5627d45e5d05d657ada217910b5a" - integrity sha512-X5dZe3ALUoxw2p9NVvraoMrZF73FlHdPhopW0nJItBmiA/y8LyKupa/KVCBxKf6R02KnYORr0YUnIeZbIO3syw== - dependencies: - chalk "^5.0.0" - cron-parser "^4.1.0" - deepmerge "^4.2.2" - dot-prop "^7.0.0" - execa "^6.0.0" - fast-safe-stringify "^2.0.7" - figures "^4.0.0" - filter-obj "^3.0.0" - find-up "^6.0.0" - indent-string "^5.0.0" - is-plain-obj "^4.0.0" - js-yaml "^4.0.0" - map-obj "^5.0.0" - netlify "^11.0.1" - netlify-headers-parser "^6.0.2" - netlify-redirect-parser "13.0.5" - omit.js "^2.0.2" - p-locate "^6.0.0" - path-exists "^5.0.0" - path-type "^5.0.0" - toml "^3.0.0" - tomlify-j0.4 "^3.0.0" - validate-npm-package-name "^4.0.0" - yargs "^17.3.1" - -"@netlify/esbuild-android-64@0.14.39": - version "0.14.39" - resolved "https://registry.yarnpkg.com/@netlify/esbuild-android-64/-/esbuild-android-64-0.14.39.tgz#7bd30aba94a92351d2c5e25e178ceb824f3c2f99" - integrity sha512-azq+lsvjRsKLap8ubIwSJXGyknUACqYu5h98Fvyoh40Qk4QXIVKl16JIJ4s+B7jy2k9qblEc5c4nxdDA3aGbVA== - -"@netlify/esbuild-android-arm64@0.14.39": - version "0.14.39" - resolved "https://registry.yarnpkg.com/@netlify/esbuild-android-arm64/-/esbuild-android-arm64-0.14.39.tgz#0b3e11efaa9379792592173152eba2c9f8b933b0" - integrity sha512-WhIP7ePq4qMC1sxoaeB9SsJqSW6uzW7XDj/IuWl1l9r94nwxywU1sYdVLaF2mZr15njviazYjVr8x1d+ipwL3w== - -"@netlify/esbuild-darwin-64@0.14.39": - version "0.14.39" - resolved "https://registry.yarnpkg.com/@netlify/esbuild-darwin-64/-/esbuild-darwin-64-0.14.39.tgz#bb4a3a244723351dabd3cd0553425d087901c408" - integrity sha512-eF4GvLYiDxtcyjFT55+h+8c8A2HltjeMezCqkt3AQSgOdu1nhlvwbBhIdg2dyM6gKEaEm5hBtTbicEDSwsLodA== - -"@netlify/esbuild-darwin-arm64@0.14.39": - version "0.14.39" - resolved "https://registry.yarnpkg.com/@netlify/esbuild-darwin-arm64/-/esbuild-darwin-arm64-0.14.39.tgz#48e5abd7d32cdefe4db30026e21c5173afae3c8d" - integrity sha512-b7rtnX/VtYwNbUCxs3eulrCWJ+u2YvqDcXiIV1ka+od+N0fTx+4RrVkVp1lha9L0wEJYK9J7UWZOMLMyd1ynRg== - -"@netlify/esbuild-freebsd-64@0.14.39": - version "0.14.39" - resolved "https://registry.yarnpkg.com/@netlify/esbuild-freebsd-64/-/esbuild-freebsd-64-0.14.39.tgz#d9650ba7ac0df826ad8928cc3b02e16d00c259b0" - integrity sha512-XtusxDJt2hUKUdggbTFolMx0kJL2zEa4STI7YwpB+ukEWoW5rODZjiLZbqqYLcjDH8k4YwHaMxs103L8eButEQ== - -"@netlify/esbuild-freebsd-arm64@0.14.39": - version "0.14.39" - resolved "https://registry.yarnpkg.com/@netlify/esbuild-freebsd-arm64/-/esbuild-freebsd-arm64-0.14.39.tgz#4e1401e44f79e007dc43b6edac737d010685f9f0" - integrity sha512-A9XZKai+k6kfndCtN6Dh2usT28V0+OGxzFdZsANONPQiEUTrGZCgwcHWiVlVn7SeAwPR1tKZreTnvrfj8cj7hA== - -"@netlify/esbuild-linux-32@0.14.39": - version "0.14.39" - resolved "https://registry.yarnpkg.com/@netlify/esbuild-linux-32/-/esbuild-linux-32-0.14.39.tgz#fb017e160d8caa72efa36cf9a2748cd01165a463" - integrity sha512-ZQnqk/82YRvINY+aF+LlGfRZ19c5mH0jaxsO046GpIOPx6PcXHG8JJ2lg+vLJVe4zFPohxzabcYpwFuT4cg/GA== - -"@netlify/esbuild-linux-64@0.14.39": - version "0.14.39" - resolved "https://registry.yarnpkg.com/@netlify/esbuild-linux-64/-/esbuild-linux-64-0.14.39.tgz#d89f1aed0f3607b092ca2f57556725af3ceb8252" - integrity sha512-IQtswVw7GAKNX/3yV390wSfSXvMWy0d5cw8csAffwBk9gupftY2lzepK4Cn6uD/aqLt3Iku33FbHop/2nPGfQA== - -"@netlify/esbuild-linux-arm64@0.14.39": - version "0.14.39" - resolved "https://registry.yarnpkg.com/@netlify/esbuild-linux-arm64/-/esbuild-linux-arm64-0.14.39.tgz#faf6e1e2587045df193d4893e4c30237e2cb84e9" - integrity sha512-4Jie4QV6pWWuGN7TAshNMGbdTA9+VbRkv3rPIxhgK5gBfmsAV1yRKsumE4Y77J0AZNRiOriyoec4zc1qkmI3zg== - -"@netlify/esbuild-linux-arm@0.14.39": - version "0.14.39" - resolved "https://registry.yarnpkg.com/@netlify/esbuild-linux-arm/-/esbuild-linux-arm-0.14.39.tgz#bd43359c9e00caebf9bd8f47b8fc7606f5433618" - integrity sha512-QdOzQniOed0Bz1cTC9TMMwvtAqKayYv66H4edJlbvElC81yJZF/c9XhmYWJ6P5g4nkChZubQ5RcQwTLmrFGexg== - -"@netlify/esbuild-linux-mips64le@0.14.39": - version "0.14.39" - resolved "https://registry.yarnpkg.com/@netlify/esbuild-linux-mips64le/-/esbuild-linux-mips64le-0.14.39.tgz#0d69730b40175406e943bbf519a4de85750e1ed3" - integrity sha512-Htozxr95tw4tSd86YNbCLs1eoYQzNu/cHpzFIkuJoztZueUhl8XpRvBdob7n3kEjW1gitLWAIn8XUwSt+aJ1Tg== - -"@netlify/esbuild-linux-ppc64le@0.14.39": - version "0.14.39" - resolved "https://registry.yarnpkg.com/@netlify/esbuild-linux-ppc64le/-/esbuild-linux-ppc64le-0.14.39.tgz#18fd4c7190496382501bb95c3f015f7ec1b0acb2" - integrity sha512-tFy0ufWIdjeuk1rPHee00TZlhr9OSF00Ufb4ROFyt2ArKuMSkWRJuDgx6MtZcAnCIN4cybo/xWl3MKTM+scnww== - -"@netlify/esbuild-linux-riscv64@0.14.39": - version "0.14.39" - resolved "https://registry.yarnpkg.com/@netlify/esbuild-linux-riscv64/-/esbuild-linux-riscv64-0.14.39.tgz#c9dc6af7e999ead24e2d68443c8c630094908930" - integrity sha512-ZzfKvwIxL7wQnYbVFpyNW0wotnLoKageUEM57RbjekesJoNQnqUR6Usm+LDZoB8iRsI58VX1IxnstP0cX8vOHw== - -"@netlify/esbuild-linux-s390x@0.14.39": - version "0.14.39" - resolved "https://registry.yarnpkg.com/@netlify/esbuild-linux-s390x/-/esbuild-linux-s390x-0.14.39.tgz#8b87c0a09397b014e9f4fb3873c891ea0d81df40" - integrity sha512-yjC0mFwnuMRoh0WcF0h71MF71ytZBFEQQTRdgiGT0+gbC4UApBqnTkJdLx32RscBKi9skbMChiJ748hDJou6FA== - -"@netlify/esbuild-netbsd-64@0.14.39": - version "0.14.39" - resolved "https://registry.yarnpkg.com/@netlify/esbuild-netbsd-64/-/esbuild-netbsd-64-0.14.39.tgz#3f049e25a6d00f17519220ab2f5e15f027edadae" - integrity sha512-mIq4znOoz3YfTVdv3sIWfR4Zx5JgMnT4srlhC5KYVHibhxvyDdin5txldYXmR4Zv4dZd6DSuWFsn441aUegHeA== - -"@netlify/esbuild-openbsd-64@0.14.39": - version "0.14.39" - resolved "https://registry.yarnpkg.com/@netlify/esbuild-openbsd-64/-/esbuild-openbsd-64-0.14.39.tgz#02396cf8e8ca01484df58a191d301adc587397c9" - integrity sha512-+t6QdzJCngH19hV7ClpFAeFDI2ko/HNcFbiNwaXTMVLB3hWi1sJtn+fzZck5HfzN4qsajAVqZq4nwX69SSt25A== - -"@netlify/esbuild-sunos-64@0.14.39": - version "0.14.39" - resolved "https://registry.yarnpkg.com/@netlify/esbuild-sunos-64/-/esbuild-sunos-64-0.14.39.tgz#97c3152aa7ceaf51247998c836f94773975e716e" - integrity sha512-HLfXG6i2p3wyyyWHeeP4ShGDJ1zRMnf9YLJLe2ezv2KqvcKw/Un/m/FBuDW1p13oSUO7ShISMzgc1dw1GGBEOQ== - -"@netlify/esbuild-windows-32@0.14.39": - version "0.14.39" - resolved "https://registry.yarnpkg.com/@netlify/esbuild-windows-32/-/esbuild-windows-32-0.14.39.tgz#ccb2a234954714662a4cd1a573d5b271f5288273" - integrity sha512-ZpSQcKbVSCU3ln7mHpsL/5dWsUqCNdTnC5YAArnaOwdrlIunrsbo5j4MOZRRcGExb2uvTc/rb+D3mlGb8j1rkA== - -"@netlify/esbuild-windows-64@0.14.39": - version "0.14.39" - resolved "https://registry.yarnpkg.com/@netlify/esbuild-windows-64/-/esbuild-windows-64-0.14.39.tgz#477c22c04a3299599924e9e4c909c0dec5612f56" - integrity sha512-I3gCdO8+6IDhT4Y1ZmV4o2Gg0oELv7N4kCcE4kqclz10fWHNjf19HQNHyBJe0AWnFV5ZfT154VVD31dqgwpgFw== - -"@netlify/esbuild-windows-arm64@0.14.39": - version "0.14.39" - resolved "https://registry.yarnpkg.com/@netlify/esbuild-windows-arm64/-/esbuild-windows-arm64-0.14.39.tgz#10446d91ca603fa28067541cfa1526081c6ee09b" - integrity sha512-WX52W8U1lsfWcz6NWoSpDs57lgiiMHN23seq8G2bvxzGS/tvYD3dxVLLW5UPoKSnFDyVQT7b6Zkt6AkBten1yQ== - -"@netlify/esbuild@0.13.6": - version "0.13.6" - resolved "https://registry.yarnpkg.com/@netlify/esbuild/-/esbuild-0.13.6.tgz#ef0fda98604e708528ef0a57e853c50a6fc987f2" - integrity sha512-tiKmDcHM2riSVN79c0mJY/67EBDafXQAMitHuLiCDAMdtz3kfv+NqdVG5krgf5lWR8Uf8AeZrUW5Q9RP25REvw== - -"@netlify/esbuild@0.14.39": - version "0.14.39" - resolved "https://registry.yarnpkg.com/@netlify/esbuild/-/esbuild-0.14.39.tgz#66897af6d26336e5960b5ba74f1642f1d02a9c6a" - integrity sha512-C3xpwdT2xw6SnSb+hLQoxjtikAKiz6BjQjzlIaysHDpGbmIcmUHZ/X+dyLtCqAvf15WNK5GSBZYOlpgcOE0WZA== - optionalDependencies: - "@netlify/esbuild-android-64" "0.14.39" - "@netlify/esbuild-android-arm64" "0.14.39" - "@netlify/esbuild-darwin-64" "0.14.39" - "@netlify/esbuild-darwin-arm64" "0.14.39" - "@netlify/esbuild-freebsd-64" "0.14.39" - "@netlify/esbuild-freebsd-arm64" "0.14.39" - "@netlify/esbuild-linux-32" "0.14.39" - "@netlify/esbuild-linux-64" "0.14.39" - "@netlify/esbuild-linux-arm" "0.14.39" - "@netlify/esbuild-linux-arm64" "0.14.39" - "@netlify/esbuild-linux-mips64le" "0.14.39" - "@netlify/esbuild-linux-ppc64le" "0.14.39" - "@netlify/esbuild-linux-riscv64" "0.14.39" - "@netlify/esbuild-linux-s390x" "0.14.39" - "@netlify/esbuild-netbsd-64" "0.14.39" - "@netlify/esbuild-openbsd-64" "0.14.39" - "@netlify/esbuild-sunos-64" "0.14.39" - "@netlify/esbuild-windows-32" "0.14.39" - "@netlify/esbuild-windows-64" "0.14.39" - "@netlify/esbuild-windows-arm64" "0.14.39" - -"@netlify/esbuild@^0.13.6": - version "0.13.13" - resolved "https://registry.yarnpkg.com/@netlify/esbuild/-/esbuild-0.13.13.tgz#e9b12ea9c0eae6691c91e1ef492268be07b8a48f" - integrity sha512-D6+kbA8fGo2lnETYj9MOjpDo18QYPN+FtHn2Q+JILHHZtdufQcb+9PRvmBI7wzkL3IhVz4oxhYQVqB04x4QCNw== - optionalDependencies: - esbuild-android-arm64 "0.13.13" - esbuild-darwin-64 "0.13.13" - esbuild-darwin-arm64 "0.13.13" - esbuild-freebsd-64 "0.13.13" - esbuild-freebsd-arm64 "0.13.13" - esbuild-linux-32 "0.13.13" - esbuild-linux-64 "0.13.13" - esbuild-linux-arm "0.13.13" - esbuild-linux-arm64 "0.13.13" - esbuild-linux-mips64le "0.13.13" - esbuild-linux-ppc64le "0.13.13" - esbuild-netbsd-64 "0.13.13" - esbuild-openbsd-64 "0.13.13" - esbuild-sunos-64 "0.13.13" - esbuild-windows-32 "0.13.13" - esbuild-windows-64 "0.13.13" - esbuild-windows-arm64 "0.13.13" - -"@netlify/framework-info@^8.0.0": - version "8.0.2" - resolved "https://registry.yarnpkg.com/@netlify/framework-info/-/framework-info-8.0.2.tgz#d5c72b18780386bc92fef32fa149491f8ea01146" - integrity sha512-lRI4On9XVEuAtwOGtUEbljAUhyR8SLBHKxVYJ6SQ7TM8XGEZkPB23/2q7OktGTMK+qqK/QS1DohuahNFw8+pqQ== - dependencies: - ajv "^8.0.0" - filter-obj "^2.0.1" - is-plain-obj "^3.0.0" - locate-path "^6.0.0" - p-filter "^2.1.0" - p-locate "^5.0.0" - read-pkg-up "^7.0.1" - semver "^7.3.4" - -"@netlify/functions-utils@^4.0.0": - version "4.2.11" - resolved "https://registry.yarnpkg.com/@netlify/functions-utils/-/functions-utils-4.2.11.tgz#d2f71a08cc6e1ac3dd808afce769b555f2f766e6" - integrity sha512-FuVIaUaZERgVzKoXTavVNqLEKDHXWwCxF7yhhmESc77c2Euiv7tqxNAyp3UO5G5hHpLDKE1MPkVX8ff0pJ5WeA== - dependencies: - "@netlify/zip-it-and-ship-it" "^7.1.2" - cpy "^8.1.0" - path-exists "^5.0.0" - -"@netlify/git-utils@^4.0.0": - version "4.1.4" - resolved "https://registry.yarnpkg.com/@netlify/git-utils/-/git-utils-4.1.4.tgz#6f4c38fb8ca5be34f84cea55b1a1b322a4bd1741" - integrity sha512-37ReAPPYC8Aao8/02MVsqN9qEiFwIcTGwFLlZZDjzokETKn1O5QcSw+quFIi5AIBwSQ1ode+KIFXfn7mKaHPug== - dependencies: - execa "^6.0.0" - map-obj "^5.0.0" - micromatch "^4.0.2" - moize "^6.0.0" - path-exists "^5.0.0" - -"@netlify/local-functions-proxy-darwin-arm64@1.1.1": - version "1.1.1" - resolved "https://registry.yarnpkg.com/@netlify/local-functions-proxy-darwin-arm64/-/local-functions-proxy-darwin-arm64-1.1.1.tgz#c83a0a142637fb8cefe25c95f5c5cf6f2d7e32ed" - integrity sha512-lphJ9qqZ3glnKWEqlemU1LMqXxtJ/tKf7VzakqqyjigwLscXSZSb6fupSjQfd4tR1xqxA76ylws/2HDhc/gs+Q== - -"@netlify/local-functions-proxy-darwin-x64@1.1.1": - version "1.1.1" - resolved "https://registry.yarnpkg.com/@netlify/local-functions-proxy-darwin-x64/-/local-functions-proxy-darwin-x64-1.1.1.tgz#e8b558cfd459a5d8343d468e5c128a144638967a" - integrity sha512-4CRB0H+dXZzoEklq5Jpmg+chizXlVwCko94d8+UHWCgy/bA3M/rU/BJ8OLZisnJaAktHoeLABKtcLOhtRHpxZQ== - -"@netlify/local-functions-proxy-freebsd-arm64@1.1.1": - version "1.1.1" - resolved "https://registry.yarnpkg.com/@netlify/local-functions-proxy-freebsd-arm64/-/local-functions-proxy-freebsd-arm64-1.1.1.tgz#3a60e32fe1929f97817db5da0925c37feea7606e" - integrity sha512-u13lWTVMJDF0A6jX7V4N3HYGTIHLe5d1Z2wT43fSIHwXkTs6UXi72cGSraisajG+5JFIwHfPr7asw5vxFC0P9w== - -"@netlify/local-functions-proxy-freebsd-x64@1.1.1": - version "1.1.1" - resolved "https://registry.yarnpkg.com/@netlify/local-functions-proxy-freebsd-x64/-/local-functions-proxy-freebsd-x64-1.1.1.tgz#ddc526256cb835f6dbd6747d75a7f3dbcca77da8" - integrity sha512-g5xw4xATK5YDzvXtzJ8S1qSkWBiyF8VVRehXPMOAMzpGjCX86twYhWp8rbAk7yA1zBWmmWrWNA2Odq/MgpKJJg== - -"@netlify/local-functions-proxy-linux-arm64@1.1.1": - version "1.1.1" - resolved "https://registry.yarnpkg.com/@netlify/local-functions-proxy-linux-arm64/-/local-functions-proxy-linux-arm64-1.1.1.tgz#c88c3d8eacdaf655f871eb1eff58b1b3262c38ff" - integrity sha512-dPGu1H5n8na7mBKxiXQ+FNmthDAiA57wqgpm5JMAHtcdcmRvcXwJkwWVGvwfj8ShhYJHQaSaS9oPgO+mpKkgmA== - -"@netlify/local-functions-proxy-linux-arm@1.1.1": - version "1.1.1" - resolved "https://registry.yarnpkg.com/@netlify/local-functions-proxy-linux-arm/-/local-functions-proxy-linux-arm-1.1.1.tgz#d92905605f3f17c442001e6ead3710b64366fbd1" - integrity sha512-YsTpL+AbHwQrfHWXmKnwUrJBjoUON363nr6jUG1ueYnpbbv6wTUA7gI5snMi/gkGpqFusBthAA7C30e6bixfiA== - -"@netlify/local-functions-proxy-linux-ia32@1.1.1": - version "1.1.1" - resolved "https://registry.yarnpkg.com/@netlify/local-functions-proxy-linux-ia32/-/local-functions-proxy-linux-ia32-1.1.1.tgz#b4cb57c438a82f42c2e30ee4ec50cfa233379d59" - integrity sha512-Ra0FlXDrmPRaq+rYH3/ttkXSrwk1D5Zx/Na7UPfJZxMY7Qo5iY4bgi/FuzjzWzlp0uuKZOhYOYzYzsIIyrSvmw== - -"@netlify/local-functions-proxy-linux-ppc64@1.1.1": - version "1.1.1" - resolved "https://registry.yarnpkg.com/@netlify/local-functions-proxy-linux-ppc64/-/local-functions-proxy-linux-ppc64-1.1.1.tgz#3fdef281191dd819fee72ac58ccbca1ac650fee3" - integrity sha512-oXf1satwqwUUxz7LHS1BxbRqc4FFEKIDFTls04eXiLReFR3sqv9H/QuYNTCCDMuRcCOd92qKyDfATdnxT4HR8w== - -"@netlify/local-functions-proxy-linux-x64@1.1.1": - version "1.1.1" - resolved "https://registry.yarnpkg.com/@netlify/local-functions-proxy-linux-x64/-/local-functions-proxy-linux-x64-1.1.1.tgz#bd2c8059c5d7dd46ef5da174723ca2cdd7bfdb2f" - integrity sha512-bS3u4JuDg/eC0y4Na3i/29JBOxrdUvsK5JSjHfzUeZEbOcuXYf4KavTpHS5uikdvTgyczoSrvbmQJ5m0FLXfLA== - -"@netlify/local-functions-proxy-openbsd-x64@1.1.1": - version "1.1.1" - resolved "https://registry.yarnpkg.com/@netlify/local-functions-proxy-openbsd-x64/-/local-functions-proxy-openbsd-x64-1.1.1.tgz#31a3340f4f10dd5c95cd3f2dc9f1e967c051aa2a" - integrity sha512-1xLef/kLRNkBTXJ+ZGoRFcwsFxd/B2H3oeJZyXaZ3CN5umd9Mv9wZuAD74NuMt/535yRva8jtAJqvEgl9xMSdA== - -"@netlify/local-functions-proxy-win32-ia32@1.1.1": - version "1.1.1" - resolved "https://registry.yarnpkg.com/@netlify/local-functions-proxy-win32-ia32/-/local-functions-proxy-win32-ia32-1.1.1.tgz#354890bc58f54e8b26721447f243c49945f2fe74" - integrity sha512-4IOMDBxp2f8VbIkhZ85zGNDrZR4ey8d68fCMSOIwitjsnKav35YrCf8UmAh3UR6CNIRJdJL4MW1GYePJ7iJ8uA== - -"@netlify/local-functions-proxy-win32-x64@1.1.1": - version "1.1.1" - resolved "https://registry.yarnpkg.com/@netlify/local-functions-proxy-win32-x64/-/local-functions-proxy-win32-x64-1.1.1.tgz#7ee183b4ccd0062b6124275387d844530ea0b224" - integrity sha512-VCBXBJWBujVxyo5f+3r8ovLc9I7wJqpmgDn3ixs1fvdrER5Ac+SzYwYH4mUug9HI08mzTSAKZErzKeuadSez3w== - -"@netlify/local-functions-proxy@^1.1.1": - version "1.1.1" - resolved "https://registry.yarnpkg.com/@netlify/local-functions-proxy/-/local-functions-proxy-1.1.1.tgz#e5d1416e6d607f8e8bd4d295b1ee1e550d5bd3cb" - integrity sha512-eXSsayLT6PMvjzFQpjC9nkg2Otc3lZ5GoYele9M6f8PmsvWpaXRhwjNQ0NYhQQ2UZbLMIiO2dH8dbRsT3bMkFw== - optionalDependencies: - "@netlify/local-functions-proxy-darwin-arm64" "1.1.1" - "@netlify/local-functions-proxy-darwin-x64" "1.1.1" - "@netlify/local-functions-proxy-freebsd-arm64" "1.1.1" - "@netlify/local-functions-proxy-freebsd-x64" "1.1.1" - "@netlify/local-functions-proxy-linux-arm" "1.1.1" - "@netlify/local-functions-proxy-linux-arm64" "1.1.1" - "@netlify/local-functions-proxy-linux-ia32" "1.1.1" - "@netlify/local-functions-proxy-linux-ppc64" "1.1.1" - "@netlify/local-functions-proxy-linux-x64" "1.1.1" - "@netlify/local-functions-proxy-openbsd-x64" "1.1.1" - "@netlify/local-functions-proxy-win32-ia32" "1.1.1" - "@netlify/local-functions-proxy-win32-x64" "1.1.1" - -"@netlify/open-api@^2.11.0", "@netlify/open-api@^2.8.0": - version "2.34.0" - resolved "https://registry.yarnpkg.com/@netlify/open-api/-/open-api-2.34.0.tgz#409e8d2d2e1755e0a01b38f3f0c48fe597999758" - integrity sha512-C4v7Od/vnGgZ1P4JK3Fn9uUi9HkTxeUqUtj4OLnGD+rGyaVrl4JY89xMCoVksijDtO8XylYFU59CSTnQNeNw7g== - -"@netlify/plugin-edge-handlers@^3.0.2", "@netlify/plugin-edge-handlers@^3.0.7": - version "3.0.8" - resolved "https://registry.yarnpkg.com/@netlify/plugin-edge-handlers/-/plugin-edge-handlers-3.0.8.tgz#44b6e1cb68d3ac1cd933d299eab7817e344ead20" - integrity sha512-OOdOCYnoJzv/6aiRmUfXaqGgpDABKxvqs9lwWAWLFPUBRDj2wE/3xBzXsLA9Tmu5MzyGUwD4E9S9polbdodlwQ== - dependencies: - "@babel/core" "^7.11.4" - "@babel/preset-env" "^7.11.5" - "@rollup/plugin-babel" "^5.2.0" - "@rollup/plugin-commonjs" "^21.0.0" - "@rollup/plugin-inject" "^4.0.2" - "@rollup/plugin-json" "^4.1.0" - "@rollup/plugin-node-resolve" "^11.0.0" - buffer-es6 "^4.9.3" - del "^6.0.0" - node-fetch "^3.0.0" - path-type "^5.0.0" - process-es6 "^0.11.6" - rollup "^2.23.1" - rollup-plugin-node-polyfills "^0.2.1" - rollup-plugin-terser "^7.0.2" - -"@netlify/plugins-list@^6.19.0", "@netlify/plugins-list@^6.2.0": - version "6.80.0" - resolved "https://registry.yarnpkg.com/@netlify/plugins-list/-/plugins-list-6.80.0.tgz#da45e4f67e41e1623cd002273f8e6b2aea68ba8a" - integrity sha512-bCKLI51UZ70ziIWsf2nvgPd4XuG6m8AMCoHiYtl/BSsiaSBfmryZnTTqdRXerH09tBRpbPPwzaEgUJwyU9o8Qw== - -"@netlify/routing-local-proxy-darwin-arm64@^0.34.1": - version "0.34.1" - resolved "https://registry.yarnpkg.com/@netlify/routing-local-proxy-darwin-arm64/-/routing-local-proxy-darwin-arm64-0.34.1.tgz#5c8160f7b8dc75dabfd15ac3b02b205659b5b820" - integrity sha512-QswoXdmvmwx76bNdA0TcwfbK1NUIo5BjcS4bpE96wtUPr3SNn4pSoOip9/Tae2JbLGl7efdEkgBE1J6rMiu/kA== - -"@netlify/routing-local-proxy-darwin-x64@^0.34.1": - version "0.34.1" - resolved "https://registry.yarnpkg.com/@netlify/routing-local-proxy-darwin-x64/-/routing-local-proxy-darwin-x64-0.34.1.tgz#7ca8f201bfbdab745e844fb916afc990ef6406cd" - integrity sha512-x5mukoDWGl+jpVsyNZjRBrP1m93AFrVI/afodQbu45nyW78fpNALhqJPGoI2ixe/Z5HKaYl+ItvI+J4wAVFseQ== - -"@netlify/routing-local-proxy-linux-x64@^0.34.1": - version "0.34.1" - resolved "https://registry.yarnpkg.com/@netlify/routing-local-proxy-linux-x64/-/routing-local-proxy-linux-x64-0.34.1.tgz#f0b16b8d6562f5e17a744b7523c32e5a5807570a" - integrity sha512-dquodOP1VC2RtJcr2bp/DzTq0JXtk2cZDtJmaasMxxbxZmwL9R+63ypWsgdvGTSdZDKkwzzHAg3a7qGHVIl4ow== - -"@netlify/routing-local-proxy-win32-x64@^0.34.1": - version "0.34.1" - resolved "https://registry.yarnpkg.com/@netlify/routing-local-proxy-win32-x64/-/routing-local-proxy-win32-x64-0.34.1.tgz#2a996394c7554f772ee5ab1a94595875c507f679" - integrity sha512-Dy1OPqlHXCDIJoEor709Ysx76UiAgrse1GF5wdieTVtWnQ7culo8+LVCwubwQezVCCbdjTke9LfMWbP91zBojg== - -"@netlify/routing-local-proxy@^0.34.1": - version "0.34.1" - resolved "https://registry.yarnpkg.com/@netlify/routing-local-proxy/-/routing-local-proxy-0.34.1.tgz#545617b36e23b81f7df787bf96404b1d3e4f701d" - integrity sha512-FuzgxdxC7wJXUT08qPTtHiKwjFDHh3ViCDZwxwjm8CjOKYz+9NjhmIffkbEFl6R+uH6IV/3R6gVDL5Fb5hwRbQ== - optionalDependencies: - "@netlify/routing-local-proxy-darwin-arm64" "^0.34.1" - "@netlify/routing-local-proxy-darwin-x64" "^0.34.1" - "@netlify/routing-local-proxy-linux-x64" "^0.34.1" - "@netlify/routing-local-proxy-win32-x64" "^0.34.1" - -"@netlify/run-utils@^4.0.0": - version "4.0.2" - resolved "https://registry.yarnpkg.com/@netlify/run-utils/-/run-utils-4.0.2.tgz#ac31d15826c523cfb7f8be3b4121b9d5e840bb6a" - integrity sha512-UH7AIkZ0TDOj6u2Kf+cTGNlM4twMV43AjJnVCdnUXBzZmFlV6p9ymwu7GYM33iXsid8i6cDBhRWQ03HcfPssIQ== - dependencies: - execa "^6.0.0" - -"@netlify/zip-it-and-ship-it@5.4.0": - version "5.4.0" - resolved "https://registry.yarnpkg.com/@netlify/zip-it-and-ship-it/-/zip-it-and-ship-it-5.4.0.tgz#c083895a7e5873747e51a4287ac1da3f2423ac48" - integrity sha512-JVUr7S6GTHnPpwtD+g/+qzhKvhXwXoHGeisaHt1YYARRRd+XdvwFYo8yY2JzT7hM26uz99tpKwzDSfcL+WR1rQ== - dependencies: - "@babel/parser" "^7.15.7" - "@netlify/esbuild" "^0.13.6" - "@vercel/nft" "^0.17.0" - archiver "^5.3.0" - common-path-prefix "^3.0.0" - cp-file "^9.0.0" - del "^6.0.0" - elf-cam "^0.1.1" - end-of-stream "^1.4.4" - es-module-lexer "^0.9.0" - execa "^5.0.0" - filter-obj "^2.0.1" - find-up "^5.0.0" - glob "^7.1.6" - is-builtin-module "^3.1.0" - junk "^3.1.0" - locate-path "^6.0.0" - make-dir "^3.1.0" - merge-options "^3.0.4" - minimatch "^3.0.4" - p-map "^4.0.0" - path-exists "^4.0.0" - pkg-dir "^5.0.0" - precinct "^8.2.0" - read-package-json-fast "^2.0.2" - require-package-name "^2.0.1" - resolve "^2.0.0-next.1" - semver "^7.0.0" - tmp-promise "^3.0.2" - toml "^3.0.0" - typescript "^4.4.3" - unixify "^1.0.0" - yargs "^16.0.0" - -"@netlify/zip-it-and-ship-it@5.9.0": - version "5.9.0" - resolved "https://registry.yarnpkg.com/@netlify/zip-it-and-ship-it/-/zip-it-and-ship-it-5.9.0.tgz#01761f198c9008106f2c8270a032dee4e7946fae" - integrity sha512-79w8yNRLFBiAHhYcol3hvkDu9s/qn7lDIlnUyK1e9qvAaXbcsjoz07Av7o1ePkLtUADcP7qz97PJNANyyotdAA== - dependencies: - "@babel/parser" "7.16.8" - "@netlify/esbuild" "0.13.6" - "@vercel/nft" "^0.17.0" - archiver "^5.3.0" - common-path-prefix "^3.0.0" - cp-file "^9.0.0" - del "^6.0.0" - elf-cam "^0.1.1" - end-of-stream "^1.4.4" - es-module-lexer "^0.9.0" - execa "^5.0.0" - filter-obj "^2.0.1" - find-up "^5.0.0" - glob "^7.1.6" - is-builtin-module "^3.1.0" - junk "^3.1.0" - locate-path "^6.0.0" - merge-options "^3.0.4" - minimatch "^4.0.0" - p-map "^4.0.0" - path-exists "^4.0.0" - pkg-dir "^5.0.0" - precinct "^8.2.0" - read-package-json-fast "^2.0.2" - require-package-name "^2.0.1" - resolve "^2.0.0-next.1" - semver "^7.0.0" - tmp-promise "^3.0.2" - toml "^3.0.0" - unixify "^1.0.0" - yargs "^16.0.0" - -"@netlify/zip-it-and-ship-it@^7.1.2": - version "7.1.3" - resolved "https://registry.yarnpkg.com/@netlify/zip-it-and-ship-it/-/zip-it-and-ship-it-7.1.3.tgz#bd7169d4424df107ea1c28b902f4abf1cfacc5da" - integrity sha512-7ToznythQL7b99ZxAiGyjagULNcZsSg2fByuUp3L35WrBASMmSrdq03zpYhRk3EIsuM65DjJayJ/amYu7Mjn3w== - dependencies: - "@babel/parser" "7.16.8" - "@netlify/binary-info" "^1.0.0" - "@netlify/esbuild" "0.14.39" - "@vercel/nft" "^0.22.0" - archiver "^5.3.0" - common-path-prefix "^3.0.0" - cp-file "^9.0.0" - del "^6.0.0" - end-of-stream "^1.4.4" - es-module-lexer "^1.0.0" - execa "^5.0.0" - filter-obj "^2.0.1" - find-up "^5.0.0" - glob "^8.0.3" - is-builtin-module "^3.1.0" - is-path-inside "^3.0.3" - junk "^3.1.0" - locate-path "^6.0.0" - merge-options "^3.0.4" - minimatch "^5.0.0" - normalize-path "^3.0.0" - p-map "^4.0.0" - path-exists "^4.0.0" - precinct "^9.0.1" - read-package-json-fast "^2.0.2" - require-package-name "^2.0.1" - resolve "^2.0.0-next.1" - semver "^7.0.0" - tmp-promise "^3.0.2" - toml "^3.0.0" - unixify "^1.0.0" - yargs "^17.0.0" - -"@next/eslint-plugin-next@^13": - version "13.5.7" - resolved "https://registry.yarnpkg.com/@next/eslint-plugin-next/-/eslint-plugin-next-13.5.7.tgz#9a8cd86a7a27b8f370ec3b130e598688c869bdc6" - integrity sha512-c4vuEOOXeib4js5gDq+zFqAAdRGXX6T0d+zFETiQkRwy7vyj5lBov1dW0Z09nDst2lvxo7VEcKrQMUBH5Vgx7Q== - dependencies: - glob "7.1.7" - -"@nodelib/fs.scandir@2.1.5": - version "2.1.5" - resolved "https://registry.yarnpkg.com/@nodelib/fs.scandir/-/fs.scandir-2.1.5.tgz#7619c2eb21b25483f6d167548b4cfd5a7488c3d5" - integrity sha512-vq24Bq3ym5HEQm2NKCr3yXDwjc7vTsEThRDnkp2DK9p1uqLR+DHurm/NOTo0KG7HYHU7eppKZj3MyqYuMBf62g== - dependencies: - "@nodelib/fs.stat" "2.0.5" - run-parallel "^1.1.9" - -"@nodelib/fs.stat@2.0.5", "@nodelib/fs.stat@^2.0.2": - version "2.0.5" - resolved "https://registry.yarnpkg.com/@nodelib/fs.stat/-/fs.stat-2.0.5.tgz#5bd262af94e9d25bd1e71b05deed44876a222e8b" - integrity sha512-RkhPPp2zrqDAQA/2jNhnztcPAlv64XdhIp7a7454A5ovI7Bukxgt7MX7udwAu3zg1DcpPU0rz3VV1SeaqvY4+A== - -"@nodelib/fs.stat@^1.1.2": - version "1.1.3" - resolved "https://registry.yarnpkg.com/@nodelib/fs.stat/-/fs.stat-1.1.3.tgz#2b5a3ab3f918cca48a8c754c08168e3f03eba61b" - integrity sha512-shAmDyaQC4H92APFoIaVDHCx5bStIocgvbwQyxPRrbUY20V1EYTbSDchWbuwlMG3V17cprZhA6+78JfB+3DTPw== - -"@nodelib/fs.walk@^1.2.3", "@nodelib/fs.walk@^1.2.8": - version "1.2.8" - resolved "https://registry.yarnpkg.com/@nodelib/fs.walk/-/fs.walk-1.2.8.tgz#e95737e8bb6746ddedf69c556953494f196fe69a" - integrity sha512-oGB+UxlgWcgQkgwo8GcEGwemoTFt3FIO9ababBmaGwXIoBKZ+GTy0pP185beGg7Llih/NSHSV2XAs1lnznocSg== - dependencies: - "@nodelib/fs.scandir" "2.1.5" - fastq "^1.6.0" - -"@npmcli/arborist@5.3.0": - version "5.3.0" - resolved "https://registry.yarnpkg.com/@npmcli/arborist/-/arborist-5.3.0.tgz#321d9424677bfc08569e98a5ac445ee781f32053" - integrity sha512-+rZ9zgL1lnbl8Xbb1NQdMjveOMwj4lIYfcDtyJHHi5x4X8jtR6m8SXooJMZy5vmFVZ8w7A2Bnd/oX9eTuU8w5A== - dependencies: - "@isaacs/string-locale-compare" "^1.1.0" - "@npmcli/installed-package-contents" "^1.0.7" - "@npmcli/map-workspaces" "^2.0.3" - "@npmcli/metavuln-calculator" "^3.0.1" - "@npmcli/move-file" "^2.0.0" - "@npmcli/name-from-folder" "^1.0.1" - "@npmcli/node-gyp" "^2.0.0" - "@npmcli/package-json" "^2.0.0" - "@npmcli/run-script" "^4.1.3" - bin-links "^3.0.0" - cacache "^16.0.6" - common-ancestor-path "^1.0.1" - json-parse-even-better-errors "^2.3.1" - json-stringify-nice "^1.1.4" - mkdirp "^1.0.4" - mkdirp-infer-owner "^2.0.0" - nopt "^5.0.0" - npm-install-checks "^5.0.0" - npm-package-arg "^9.0.0" - npm-pick-manifest "^7.0.0" - npm-registry-fetch "^13.0.0" - npmlog "^6.0.2" - pacote "^13.6.1" - parse-conflict-json "^2.0.1" - proc-log "^2.0.0" - promise-all-reject-late "^1.0.0" - promise-call-limit "^1.0.1" - read-package-json-fast "^2.0.2" - readdir-scoped-modules "^1.1.0" - rimraf "^3.0.2" - semver "^7.3.7" - ssri "^9.0.0" - treeverse "^2.0.0" - walk-up-path "^1.0.0" - -"@npmcli/config@^6.0.0": - version "6.4.1" - resolved "https://registry.yarnpkg.com/@npmcli/config/-/config-6.4.1.tgz#006409c739635db008e78bf58c92421cc147911d" - integrity sha512-uSz+elSGzjCMANWa5IlbGczLYPkNI/LeR+cHrgaTqTrTSh9RHhOFA4daD2eRUz6lMtOW+Fnsb+qv7V2Zz8ML0g== - dependencies: - "@npmcli/map-workspaces" "^3.0.2" - ci-info "^4.0.0" - ini "^4.1.0" - nopt "^7.0.0" - proc-log "^3.0.0" - read-package-json-fast "^3.0.2" - semver "^7.3.5" - walk-up-path "^3.0.1" - -"@npmcli/fs@^2.1.0": - version "2.1.2" - resolved "https://registry.yarnpkg.com/@npmcli/fs/-/fs-2.1.2.tgz#a9e2541a4a2fec2e69c29b35e6060973da79b865" - integrity sha512-yOJKRvohFOaLqipNtwYB9WugyZKhC/DZC4VYPmpaCzDBrA8YpK3qHZ8/HGscMnE4GqbkLNuVcCnxkeQEdGt6LQ== - dependencies: - "@gar/promisify" "^1.1.3" - semver "^7.3.5" - -"@npmcli/git@^3.0.0": - version "3.0.2" - resolved "https://registry.yarnpkg.com/@npmcli/git/-/git-3.0.2.tgz#5c5de6b4d70474cf2d09af149ce42e4e1dacb931" - integrity sha512-CAcd08y3DWBJqJDpfuVL0uijlq5oaXaOJEKHKc4wqrjd00gkvTZB+nFuLn+doOOKddaQS9JfqtNoFCO2LCvA3w== - dependencies: - "@npmcli/promise-spawn" "^3.0.0" - lru-cache "^7.4.4" - mkdirp "^1.0.4" - npm-pick-manifest "^7.0.0" - proc-log "^2.0.0" - promise-inflight "^1.0.1" - promise-retry "^2.0.1" - semver "^7.3.5" - which "^2.0.2" - -"@npmcli/installed-package-contents@^1.0.7": - version "1.0.7" - resolved "https://registry.yarnpkg.com/@npmcli/installed-package-contents/-/installed-package-contents-1.0.7.tgz#ab7408c6147911b970a8abe261ce512232a3f4fa" - integrity sha512-9rufe0wnJusCQoLpV9ZPKIVP55itrM5BxOXs10DmdbRfgWtHy1LDyskbwRnBghuB0PrF7pNPOqREVtpz4HqzKw== - dependencies: - npm-bundled "^1.1.1" - npm-normalize-package-bin "^1.0.1" - -"@npmcli/map-workspaces@^2.0.3": - version "2.0.4" - resolved "https://registry.yarnpkg.com/@npmcli/map-workspaces/-/map-workspaces-2.0.4.tgz#9e5e8ab655215a262aefabf139782b894e0504fc" - integrity sha512-bMo0aAfwhVwqoVM5UzX1DJnlvVvzDCHae821jv48L1EsrYwfOZChlqWYXEtto/+BkBXetPbEWgau++/brh4oVg== - dependencies: - "@npmcli/name-from-folder" "^1.0.1" - glob "^8.0.1" - minimatch "^5.0.1" - read-package-json-fast "^2.0.3" - -"@npmcli/map-workspaces@^3.0.2": - version "3.0.6" - resolved "https://registry.yarnpkg.com/@npmcli/map-workspaces/-/map-workspaces-3.0.6.tgz#27dc06c20c35ef01e45a08909cab9cb3da08cea6" - integrity sha512-tkYs0OYnzQm6iIRdfy+LcLBjcKuQCeE5YLb8KnrIlutJfheNaPvPpgoFEyEFgbjzl5PLZ3IA/BWAwRU0eHuQDA== - dependencies: - "@npmcli/name-from-folder" "^2.0.0" - glob "^10.2.2" - minimatch "^9.0.0" - read-package-json-fast "^3.0.0" - -"@npmcli/metavuln-calculator@^3.0.1": - version "3.1.1" - resolved "https://registry.yarnpkg.com/@npmcli/metavuln-calculator/-/metavuln-calculator-3.1.1.tgz#9359bd72b400f8353f6a28a25c8457b562602622" - integrity sha512-n69ygIaqAedecLeVH3KnO39M6ZHiJ2dEv5A7DGvcqCB8q17BGUgW8QaanIkbWUo2aYGZqJaOORTLAlIvKjNDKA== - dependencies: - cacache "^16.0.0" - json-parse-even-better-errors "^2.3.1" - pacote "^13.0.3" - semver "^7.3.5" - -"@npmcli/move-file@^2.0.0": - version "2.0.1" - resolved "https://registry.yarnpkg.com/@npmcli/move-file/-/move-file-2.0.1.tgz#26f6bdc379d87f75e55739bab89db525b06100e4" - integrity sha512-mJd2Z5TjYWq/ttPLLGqArdtnC74J6bOzg4rMDnN+p1xTacZ2yPRCk2y0oSWQtygLR9YVQXgOcONrwtnk3JupxQ== - dependencies: - mkdirp "^1.0.4" - rimraf "^3.0.2" - -"@npmcli/name-from-folder@^1.0.1": - version "1.0.1" - resolved "https://registry.yarnpkg.com/@npmcli/name-from-folder/-/name-from-folder-1.0.1.tgz#77ecd0a4fcb772ba6fe927e2e2e155fbec2e6b1a" - integrity sha512-qq3oEfcLFwNfEYOQ8HLimRGKlD8WSeGEdtUa7hmzpR8Sa7haL1KVQrvgO6wqMjhWFFVjgtrh1gIxDz+P8sjUaA== - -"@npmcli/name-from-folder@^2.0.0": - version "2.0.0" - resolved "https://registry.yarnpkg.com/@npmcli/name-from-folder/-/name-from-folder-2.0.0.tgz#c44d3a7c6d5c184bb6036f4d5995eee298945815" - integrity sha512-pwK+BfEBZJbKdNYpHHRTNBwBoqrN/iIMO0AiGvYsp3Hoaq0WbgGSWQR6SCldZovoDpY3yje5lkFUe6gsDgJ2vg== - -"@npmcli/node-gyp@^2.0.0": - version "2.0.0" - resolved "https://registry.yarnpkg.com/@npmcli/node-gyp/-/node-gyp-2.0.0.tgz#8c20e53e34e9078d18815c1d2dda6f2420d75e35" - integrity sha512-doNI35wIe3bBaEgrlPfdJPaCpUR89pJWep4Hq3aRdh6gKazIVWfs0jHttvSSoq47ZXgC7h73kDsUl8AoIQUB+A== - -"@npmcli/package-json@^2.0.0": - version "2.0.0" - resolved "https://registry.yarnpkg.com/@npmcli/package-json/-/package-json-2.0.0.tgz#3bbcf4677e21055adbe673d9f08c9f9cde942e4a" - integrity sha512-42jnZ6yl16GzjWSH7vtrmWyJDGVa/LXPdpN2rcUWolFjc9ON2N3uz0qdBbQACfmhuJZ2lbKYtmK5qx68ZPLHMA== - dependencies: - json-parse-even-better-errors "^2.3.1" - -"@npmcli/promise-spawn@^3.0.0": - version "3.0.0" - resolved "https://registry.yarnpkg.com/@npmcli/promise-spawn/-/promise-spawn-3.0.0.tgz#53283b5f18f855c6925f23c24e67c911501ef573" - integrity sha512-s9SgS+p3a9Eohe68cSI3fi+hpcZUmXq5P7w0kMlAsWVtR7XbK3ptkZqKT2cK1zLDObJ3sR+8P59sJE0w/KTL1g== - dependencies: - infer-owner "^1.0.4" - -"@npmcli/run-script@4.1.7": - version "4.1.7" - resolved "https://registry.yarnpkg.com/@npmcli/run-script/-/run-script-4.1.7.tgz#b1a2f57568eb738e45e9ea3123fb054b400a86f7" - integrity sha512-WXr/MyM4tpKA4BotB81NccGAv8B48lNH0gRoILucbcAhTQXLCoi6HflMV3KdXubIqvP9SuLsFn68Z7r4jl+ppw== - dependencies: - "@npmcli/node-gyp" "^2.0.0" - "@npmcli/promise-spawn" "^3.0.0" - node-gyp "^9.0.0" - read-package-json-fast "^2.0.3" - which "^2.0.2" - -"@npmcli/run-script@^4.1.0", "@npmcli/run-script@^4.1.3": - version "4.2.1" - resolved "https://registry.yarnpkg.com/@npmcli/run-script/-/run-script-4.2.1.tgz#c07c5c71bc1c70a5f2a06b0d4da976641609b946" - integrity sha512-7dqywvVudPSrRCW5nTHpHgeWnbBtz8cFkOuKrecm6ih+oO9ciydhWt6OF7HlqupRRmB8Q/gECVdB9LMfToJbRg== - dependencies: - "@npmcli/node-gyp" "^2.0.0" - "@npmcli/promise-spawn" "^3.0.0" - node-gyp "^9.0.0" - read-package-json-fast "^2.0.3" - which "^2.0.2" - -"@nrwl/cli@15.9.7": - version "15.9.7" - resolved "https://registry.yarnpkg.com/@nrwl/cli/-/cli-15.9.7.tgz#1db113f5cb1cfe63213097be1ece041eef33da1f" - integrity sha512-1jtHBDuJzA57My5nLzYiM372mJW0NY6rFKxlWt5a0RLsAZdPTHsd8lE3Gs9XinGC1jhXbruWmhhnKyYtZvX/zA== - dependencies: - nx "15.9.7" - -"@nrwl/devkit@>=15.5.2 < 16": - version "15.9.7" - resolved "https://registry.yarnpkg.com/@nrwl/devkit/-/devkit-15.9.7.tgz#14d19ec82ff4209c12147a97f1cdea05d8f6c087" - integrity sha512-Sb7Am2TMT8AVq8e+vxOlk3AtOA2M0qCmhBzoM1OJbdHaPKc0g0UgSnWRml1kPGg5qfPk72tWclLoZJ5/ut0vTg== - dependencies: - ejs "^3.1.7" - ignore "^5.0.4" - semver "7.5.4" - tmp "~0.2.1" - tslib "^2.3.0" - -"@nrwl/nx-darwin-arm64@15.9.7": - version "15.9.7" - resolved "https://registry.yarnpkg.com/@nrwl/nx-darwin-arm64/-/nx-darwin-arm64-15.9.7.tgz#a2cb7390c782b8acf3bb8806a3002620226a933d" - integrity sha512-aBUgnhlkrgC0vu0fK6eb9Vob7eFnkuknrK+YzTjmLrrZwj7FGNAeyGXSlyo1dVokIzjVKjJg2saZZ0WQbfuCJw== - -"@nrwl/nx-darwin-x64@15.9.7": - version "15.9.7" - resolved "https://registry.yarnpkg.com/@nrwl/nx-darwin-x64/-/nx-darwin-x64-15.9.7.tgz#af0437e726aeb97eb660646bfd9a7da5ba7a0a6f" - integrity sha512-L+elVa34jhGf1cmn38Z0sotQatmLovxoASCIw5r1CBZZeJ5Tg7Y9nOwjRiDixZxNN56hPKXm6xl9EKlVHVeKlg== - -"@nrwl/nx-linux-arm-gnueabihf@15.9.7": - version "15.9.7" - resolved "https://registry.yarnpkg.com/@nrwl/nx-linux-arm-gnueabihf/-/nx-linux-arm-gnueabihf-15.9.7.tgz#e29f4d31afa903bfb4d0fd7421e19be1086eae87" - integrity sha512-pqmfqqEUGFu6PmmHKyXyUw1Al0Ki8PSaR0+ndgCAb1qrekVDGDfznJfaqxN0JSLeolPD6+PFtLyXNr9ZyPFlFg== - -"@nrwl/nx-linux-arm64-gnu@15.9.7": - version "15.9.7" - resolved "https://registry.yarnpkg.com/@nrwl/nx-linux-arm64-gnu/-/nx-linux-arm64-gnu-15.9.7.tgz#eb2880a24d3268dd93583d21a6a0b9ff96bb23b4" - integrity sha512-NYOa/eRrqmM+In5g3M0rrPVIS9Z+q6fvwXJYf/KrjOHqqan/KL+2TOfroA30UhcBrwghZvib7O++7gZ2hzwOnA== - -"@nrwl/nx-linux-arm64-musl@15.9.7": - version "15.9.7" - resolved "https://registry.yarnpkg.com/@nrwl/nx-linux-arm64-musl/-/nx-linux-arm64-musl-15.9.7.tgz#5d04913c4672a96cefa78491824620d8a8bcfd7f" - integrity sha512-zyStqjEcmbvLbejdTOrLUSEdhnxNtdQXlmOuymznCzYUEGRv+4f7OAepD3yRoR0a/57SSORZmmGQB7XHZoYZJA== - -"@nrwl/nx-linux-x64-gnu@15.9.7": - version "15.9.7" - resolved "https://registry.yarnpkg.com/@nrwl/nx-linux-x64-gnu/-/nx-linux-x64-gnu-15.9.7.tgz#cf7f61fd87f35a793e6824952a6eb12242fe43fd" - integrity sha512-saNK5i2A8pKO3Il+Ejk/KStTApUpWgCxjeUz9G+T8A+QHeDloZYH2c7pU/P3jA9QoNeKwjVO9wYQllPL9loeVg== - -"@nrwl/nx-linux-x64-musl@15.9.7": - version "15.9.7" - resolved "https://registry.yarnpkg.com/@nrwl/nx-linux-x64-musl/-/nx-linux-x64-musl-15.9.7.tgz#2bec23c3696780540eb47fa1358dda780c84697f" - integrity sha512-extIUThYN94m4Vj4iZggt6hhMZWQSukBCo8pp91JHnDcryBg7SnYmnikwtY1ZAFyyRiNFBLCKNIDFGkKkSrZ9Q== - -"@nrwl/nx-win32-arm64-msvc@15.9.7": - version "15.9.7" - resolved "https://registry.yarnpkg.com/@nrwl/nx-win32-arm64-msvc/-/nx-win32-arm64-msvc-15.9.7.tgz#21b56ef3ab4190370effea71bd83fdc3e47ec69c" - integrity sha512-GSQ54hJ5AAnKZb4KP4cmBnJ1oC4ILxnrG1mekxeM65c1RtWg9NpBwZ8E0gU3xNrTv8ZNsBeKi/9UhXBxhsIh8A== - -"@nrwl/nx-win32-x64-msvc@15.9.7": - version "15.9.7" - resolved "https://registry.yarnpkg.com/@nrwl/nx-win32-x64-msvc/-/nx-win32-x64-msvc-15.9.7.tgz#1677ab1dcce921706b5677dc2844e3e0027f8bd5" - integrity sha512-x6URof79RPd8AlapVbPefUD3ynJZpmah3tYaYZ9xZRMXojVtEHV8Qh5vysKXQ1rNYJiiB8Ah6evSKWLbAH60tw== - -"@nrwl/tao@15.9.7": - version "15.9.7" - resolved "https://registry.yarnpkg.com/@nrwl/tao/-/tao-15.9.7.tgz#c0e78c99caa6742762f7558f20d8524bc9015e97" - integrity sha512-OBnHNvQf3vBH0qh9YnvBQQWyyFZ+PWguF6dJ8+1vyQYlrLVk/XZ8nJ4ukWFb+QfPv/O8VBmqaofaOI9aFC4yTw== - dependencies: - nx "15.9.7" - -"@octokit/auth-token@^2.4.4": - version "2.5.0" - resolved "https://registry.yarnpkg.com/@octokit/auth-token/-/auth-token-2.5.0.tgz#27c37ea26c205f28443402477ffd261311f21e36" - integrity sha512-r5FVUJCOLl19AxiuZD2VRZ/ORjp/4IN98Of6YJoJOkY75CIBuYfmiNHGrDwXr+aLGG55igl9QrxX3hbiXlLb+g== - dependencies: - "@octokit/types" "^6.0.3" - -"@octokit/auth-token@^3.0.0": - version "3.0.4" - resolved "https://registry.yarnpkg.com/@octokit/auth-token/-/auth-token-3.0.4.tgz#70e941ba742bdd2b49bdb7393e821dea8520a3db" - integrity sha512-TWFX7cZF2LXoCvdmJWY7XVPi74aSY0+FfBZNSXEXFkMpjcqsQwDSYVv5FhRFaI0V1ECnwbz4j59T/G+rXNWaIQ== - -"@octokit/core@^3.5.1": - version "3.6.0" - resolved "https://registry.yarnpkg.com/@octokit/core/-/core-3.6.0.tgz#3376cb9f3008d9b3d110370d90e0a1fcd5fe6085" - integrity sha512-7RKRKuA4xTjMhY+eG3jthb3hlZCsOwg3rztWh75Xc+ShDWOfDDATWbeZpAHBNRpm4Tv9WgBMOy1zEJYXG6NJ7Q== - dependencies: - "@octokit/auth-token" "^2.4.4" - "@octokit/graphql" "^4.5.8" - "@octokit/request" "^5.6.3" - "@octokit/request-error" "^2.0.5" - "@octokit/types" "^6.0.3" - before-after-hook "^2.2.0" - universal-user-agent "^6.0.0" - -"@octokit/core@^4.0.0": - version "4.2.4" - resolved "https://registry.yarnpkg.com/@octokit/core/-/core-4.2.4.tgz#d8769ec2b43ff37cc3ea89ec4681a20ba58ef907" - integrity sha512-rYKilwgzQ7/imScn3M9/pFfUf4I1AZEH3KhyJmtPdE2zfaXAn2mFfUy4FbKewzc2We5y/LlKLj36fWJLKC2SIQ== - dependencies: - "@octokit/auth-token" "^3.0.0" - "@octokit/graphql" "^5.0.0" - "@octokit/request" "^6.0.0" - "@octokit/request-error" "^3.0.0" - "@octokit/types" "^9.0.0" - before-after-hook "^2.2.0" - universal-user-agent "^6.0.0" - -"@octokit/endpoint@^6.0.1": - version "6.0.12" - resolved "https://registry.yarnpkg.com/@octokit/endpoint/-/endpoint-6.0.12.tgz#3b4d47a4b0e79b1027fb8d75d4221928b2d05658" - integrity sha512-lF3puPwkQWGfkMClXb4k/eUT/nZKQfxinRWJrdZaJO85Dqwo/G0yOC434Jr2ojwafWJMYqFGFa5ms4jJUgujdA== - dependencies: - "@octokit/types" "^6.0.3" - is-plain-object "^5.0.0" - universal-user-agent "^6.0.0" - -"@octokit/endpoint@^7.0.0": - version "7.0.6" - resolved "https://registry.yarnpkg.com/@octokit/endpoint/-/endpoint-7.0.6.tgz#791f65d3937555141fb6c08f91d618a7d645f1e2" - integrity sha512-5L4fseVRUsDFGR00tMWD/Trdeeihn999rTMGRMC1G/Ldi1uWlWJzI98H4Iak5DB/RVvQuyMYKqSK/R6mbSOQyg== - dependencies: - "@octokit/types" "^9.0.0" - is-plain-object "^5.0.0" - universal-user-agent "^6.0.0" - -"@octokit/graphql@^4.5.8": - version "4.8.0" - resolved "https://registry.yarnpkg.com/@octokit/graphql/-/graphql-4.8.0.tgz#664d9b11c0e12112cbf78e10f49a05959aa22cc3" - integrity sha512-0gv+qLSBLKF0z8TKaSKTsS39scVKF9dbMxJpj3U0vC7wjNWFuIpL/z76Qe2fiuCbDRcJSavkXsVtMS6/dtQQsg== - dependencies: - "@octokit/request" "^5.6.0" - "@octokit/types" "^6.0.3" - universal-user-agent "^6.0.0" - -"@octokit/graphql@^5.0.0": - version "5.0.6" - resolved "https://registry.yarnpkg.com/@octokit/graphql/-/graphql-5.0.6.tgz#9eac411ac4353ccc5d3fca7d76736e6888c5d248" - integrity sha512-Fxyxdy/JH0MnIB5h+UQ3yCoh1FG4kWXfFKkpWqjZHw/p+Kc8Y44Hu/kCgNBT6nU1shNumEchmW/sUO1JuQnPcw== - dependencies: - "@octokit/request" "^6.0.0" - "@octokit/types" "^9.0.0" - universal-user-agent "^6.0.0" - -"@octokit/openapi-types@^12.11.0": - version "12.11.0" - resolved "https://registry.yarnpkg.com/@octokit/openapi-types/-/openapi-types-12.11.0.tgz#da5638d64f2b919bca89ce6602d059f1b52d3ef0" - integrity sha512-VsXyi8peyRq9PqIz/tpqiL2w3w80OgVMwBHltTml3LmVvXiphgeqmY9mvBw9Wu7e0QWk/fqD37ux8yP5uVekyQ== - -"@octokit/openapi-types@^14.0.0": - version "14.0.0" - resolved "https://registry.yarnpkg.com/@octokit/openapi-types/-/openapi-types-14.0.0.tgz#949c5019028c93f189abbc2fb42f333290f7134a" - integrity sha512-HNWisMYlR8VCnNurDU6os2ikx0s0VyEjDYHNS/h4cgb8DeOxQ0n72HyinUtdDVxJhFy3FWLGl0DJhfEWk3P5Iw== - -"@octokit/openapi-types@^18.0.0": - version "18.1.1" - resolved "https://registry.yarnpkg.com/@octokit/openapi-types/-/openapi-types-18.1.1.tgz#09bdfdabfd8e16d16324326da5148010d765f009" - integrity sha512-VRaeH8nCDtF5aXWnjPuEMIYf1itK/s3JYyJcWFJT8X9pSNnBtriDf7wlEWsGuhPLl4QIH4xM8fqTXDwJ3Mu6sw== - -"@octokit/plugin-enterprise-rest@6.0.1": - version "6.0.1" - resolved "https://registry.yarnpkg.com/@octokit/plugin-enterprise-rest/-/plugin-enterprise-rest-6.0.1.tgz#e07896739618dab8da7d4077c658003775f95437" - integrity sha512-93uGjlhUD+iNg1iWhUENAtJata6w5nE+V4urXOAlIXdco6xNZtUSfYY8dzp3Udy74aqO/B5UZL80x/YMa5PKRw== - -"@octokit/plugin-paginate-rest@^2.16.8": - version "2.21.3" - resolved "https://registry.yarnpkg.com/@octokit/plugin-paginate-rest/-/plugin-paginate-rest-2.21.3.tgz#7f12532797775640dbb8224da577da7dc210c87e" - integrity sha512-aCZTEf0y2h3OLbrgKkrfFdjRL6eSOo8komneVQJnYecAxIej7Bafor2xhuDJOIFau4pk0i/P28/XgtbyPF0ZHw== - dependencies: - "@octokit/types" "^6.40.0" - -"@octokit/plugin-paginate-rest@^3.0.0": - version "3.1.0" - resolved "https://registry.yarnpkg.com/@octokit/plugin-paginate-rest/-/plugin-paginate-rest-3.1.0.tgz#86f8be759ce2d6d7c879a31490fd2f7410b731f0" - integrity sha512-+cfc40pMzWcLkoDcLb1KXqjX0jTGYXjKuQdFQDc6UAknISJHnZTiBqld6HDwRJvD4DsouDKrWXNbNV0lE/3AXA== - dependencies: - "@octokit/types" "^6.41.0" - -"@octokit/plugin-request-log@^1.0.4": - version "1.0.4" - resolved "https://registry.yarnpkg.com/@octokit/plugin-request-log/-/plugin-request-log-1.0.4.tgz#5e50ed7083a613816b1e4a28aeec5fb7f1462e85" - integrity sha512-mLUsMkgP7K/cnFEw07kWqXGF5LKrOkD+lhCrKvPHXWDywAwuDUeDwWBpc69XK3pNX0uKiVt8g5z96PJ6z9xCFA== - -"@octokit/plugin-rest-endpoint-methods@^5.12.0": - version "5.16.2" - resolved "https://registry.yarnpkg.com/@octokit/plugin-rest-endpoint-methods/-/plugin-rest-endpoint-methods-5.16.2.tgz#7ee8bf586df97dd6868cf68f641354e908c25342" - integrity sha512-8QFz29Fg5jDuTPXVtey05BLm7OB+M8fnvE64RNegzX7U+5NUXcOcnpTIK0YfSHBg8gYd0oxIq3IZTe9SfPZiRw== - dependencies: - "@octokit/types" "^6.39.0" - deprecation "^2.3.1" - -"@octokit/plugin-rest-endpoint-methods@^6.0.0": - version "6.8.1" - resolved "https://registry.yarnpkg.com/@octokit/plugin-rest-endpoint-methods/-/plugin-rest-endpoint-methods-6.8.1.tgz#97391fda88949eb15f68dc291957ccbe1d3e8ad1" - integrity sha512-QrlaTm8Lyc/TbU7BL/8bO49vp+RZ6W3McxxmmQTgYxf2sWkO8ZKuj4dLhPNJD6VCUW1hetCmeIM0m6FTVpDiEg== - dependencies: - "@octokit/types" "^8.1.1" - deprecation "^2.3.1" - -"@octokit/request-error@^2.0.5", "@octokit/request-error@^2.1.0": - version "2.1.0" - resolved "https://registry.yarnpkg.com/@octokit/request-error/-/request-error-2.1.0.tgz#9e150357831bfc788d13a4fd4b1913d60c74d677" - integrity sha512-1VIvgXxs9WHSjicsRwq8PlR2LR2x6DwsJAaFgzdi0JfJoGSO8mYI/cHJQ+9FbN21aa+DrgNLnwObmyeSC8Rmpg== - dependencies: - "@octokit/types" "^6.0.3" - deprecation "^2.0.0" - once "^1.4.0" - -"@octokit/request-error@^3.0.0": - version "3.0.3" - resolved "https://registry.yarnpkg.com/@octokit/request-error/-/request-error-3.0.3.tgz#ef3dd08b8e964e53e55d471acfe00baa892b9c69" - integrity sha512-crqw3V5Iy2uOU5Np+8M/YexTlT8zxCfI+qu+LxUB7SZpje4Qmx3mub5DfEKSO8Ylyk0aogi6TYdf6kxzh2BguQ== - dependencies: - "@octokit/types" "^9.0.0" - deprecation "^2.0.0" - once "^1.4.0" - -"@octokit/request@^5.6.0", "@octokit/request@^5.6.3": - version "5.6.3" - resolved "https://registry.yarnpkg.com/@octokit/request/-/request-5.6.3.tgz#19a022515a5bba965ac06c9d1334514eb50c48b0" - integrity sha512-bFJl0I1KVc9jYTe9tdGGpAMPy32dLBXXo1dS/YwSCTL/2nd9XeHsY616RE3HPXDVk+a+dBuzyz5YdlXwcDTr2A== - dependencies: - "@octokit/endpoint" "^6.0.1" - "@octokit/request-error" "^2.1.0" - "@octokit/types" "^6.16.1" - is-plain-object "^5.0.0" - node-fetch "^2.6.7" - universal-user-agent "^6.0.0" - -"@octokit/request@^6.0.0": - version "6.2.8" - resolved "https://registry.yarnpkg.com/@octokit/request/-/request-6.2.8.tgz#aaf480b32ab2b210e9dadd8271d187c93171d8eb" - integrity sha512-ow4+pkVQ+6XVVsekSYBzJC0VTVvh/FCTUUgTsboGq+DTeWdyIFV8WSCdo0RIxk6wSkBTHqIK1mYuY7nOBXOchw== - dependencies: - "@octokit/endpoint" "^7.0.0" - "@octokit/request-error" "^3.0.0" - "@octokit/types" "^9.0.0" - is-plain-object "^5.0.0" - node-fetch "^2.6.7" - universal-user-agent "^6.0.0" - -"@octokit/rest@19.0.3": - version "19.0.3" - resolved "https://registry.yarnpkg.com/@octokit/rest/-/rest-19.0.3.tgz#b9a4e8dc8d53e030d611c053153ee6045f080f02" - integrity sha512-5arkTsnnRT7/sbI4fqgSJ35KiFaN7zQm0uQiQtivNQLI8RQx8EHwJCajcTUwmaCMNDg7tdCvqAnc7uvHHPxrtQ== - dependencies: - "@octokit/core" "^4.0.0" - "@octokit/plugin-paginate-rest" "^3.0.0" - "@octokit/plugin-request-log" "^1.0.4" - "@octokit/plugin-rest-endpoint-methods" "^6.0.0" - -"@octokit/rest@^18.0.0": - version "18.12.0" - resolved "https://registry.yarnpkg.com/@octokit/rest/-/rest-18.12.0.tgz#f06bc4952fc87130308d810ca9d00e79f6988881" - integrity sha512-gDPiOHlyGavxr72y0guQEhLsemgVjwRePayJ+FcKc2SJqKUbxbkvf5kAZEWA/MKvsfYlQAMVzNJE3ezQcxMJ2Q== - dependencies: - "@octokit/core" "^3.5.1" - "@octokit/plugin-paginate-rest" "^2.16.8" - "@octokit/plugin-request-log" "^1.0.4" - "@octokit/plugin-rest-endpoint-methods" "^5.12.0" - -"@octokit/types@^6.0.3", "@octokit/types@^6.16.1", "@octokit/types@^6.39.0", "@octokit/types@^6.40.0", "@octokit/types@^6.41.0": - version "6.41.0" - resolved "https://registry.yarnpkg.com/@octokit/types/-/types-6.41.0.tgz#e58ef78d78596d2fb7df9c6259802464b5f84a04" - integrity sha512-eJ2jbzjdijiL3B4PrSQaSjuF2sPEQPVCPzBvTHJD9Nz+9dw2SGH4K4xeQJ77YfTq5bRQ+bD8wT11JbeDPmxmGg== - dependencies: - "@octokit/openapi-types" "^12.11.0" - -"@octokit/types@^8.1.1": - version "8.2.1" - resolved "https://registry.yarnpkg.com/@octokit/types/-/types-8.2.1.tgz#a6de091ae68b5541f8d4fcf9a12e32836d4648aa" - integrity sha512-8oWMUji8be66q2B9PmEIUyQm00VPDPun07umUWSaCwxmeaquFBro4Hcc3ruVoDo3zkQyZBlRvhIMEYS3pBhanw== - dependencies: - "@octokit/openapi-types" "^14.0.0" - -"@octokit/types@^9.0.0": - version "9.3.2" - resolved "https://registry.yarnpkg.com/@octokit/types/-/types-9.3.2.tgz#3f5f89903b69f6a2d196d78ec35f888c0013cac5" - integrity sha512-D4iHGTdAnEEVsB8fl95m1hiz7D5YiRdQ9b/OEb3BYRVwbLsGHcRVPz+u+BgRLNk0Q0/4iZCBqDN96j2XNxfXrA== - dependencies: - "@octokit/openapi-types" "^18.0.0" - -"@orbit-ui/transition-icons@2.0.0": - version "2.0.0" - resolved "https://registry.yarnpkg.com/@orbit-ui/transition-icons/-/transition-icons-2.0.0.tgz#da93d3076b779906a976c9178ad37f2d2f970eed" - integrity sha512-KohAgfaEs/iQoyMdJouJoUZ7roZ4UFuPeCYYIZ1cJgSUBMcXLV3sBEdzeJfY39ZHVYmOpb3anIWvXiFbgBXOHA== - -"@parcel/watcher@2.0.4": - version "2.0.4" - resolved "https://registry.yarnpkg.com/@parcel/watcher/-/watcher-2.0.4.tgz#f300fef4cc38008ff4b8c29d92588eced3ce014b" - integrity sha512-cTDi+FUDBIUOBKEtj+nhiJ71AZVlkAsQFuGQTun5tV9mwQBQgZvhCzG+URPQc8myeN32yRVZEfVAPCs1RW+Jvg== - dependencies: - node-addon-api "^3.2.1" - node-gyp-build "^4.3.0" - -"@pkgjs/parseargs@^0.11.0": - version "0.11.0" - resolved "https://registry.yarnpkg.com/@pkgjs/parseargs/-/parseargs-0.11.0.tgz#a77ea742fab25775145434eb1d2328cf5013ac33" - integrity sha512-+1VkjdD0QBLPodGrJUeqarH8VAIvQODIbwh9XpP5Syisf7YoQgsJKPNFoqqLQlu+VQ/tVSshMR6loPMn8U+dPg== - -"@pkgr/core@^0.1.0": - version "0.1.1" - resolved "https://registry.yarnpkg.com/@pkgr/core/-/core-0.1.1.tgz#1ec17e2edbec25c8306d424ecfbf13c7de1aaa31" - integrity sha512-cq8o4cWH0ibXh9VGi5P20Tu9XF/0fFXl9EUinr9QfTM7a7p0oTA4iJRCQWppXR1Pg8dSM0UCItCkPwsk9qWWYA== - -"@pmmmwh/react-refresh-webpack-plugin@0.5.15": - version "0.5.15" - resolved "https://registry.yarnpkg.com/@pmmmwh/react-refresh-webpack-plugin/-/react-refresh-webpack-plugin-0.5.15.tgz#f126be97c30b83ed777e2aeabd518bc592e6e7c4" - integrity sha512-LFWllMA55pzB9D34w/wXUCf8+c+IYKuJDgxiZ3qMhl64KRMBHYM1I3VdGaD2BV5FNPV2/S2596bppxHbv2ZydQ== - dependencies: - ansi-html "^0.0.9" - core-js-pure "^3.23.3" - error-stack-parser "^2.0.6" - html-entities "^2.1.0" - loader-utils "^2.0.4" - schema-utils "^4.2.0" - source-map "^0.7.3" - -"@popperjs/core@2.11.8": - version "2.11.8" - resolved "https://registry.yarnpkg.com/@popperjs/core/-/core-2.11.8.tgz#6b79032e760a0899cd4204710beede972a3a185f" - integrity sha512-P1st0aksCrn9sGZhp8GMYwBnQsbvAWsZAX44oXNNvLHGqAOcoVxmjZiohstwQ7SqKnbR47akdNi+uleWD8+g6A== - -"@react-aria/accordion@3.0.0-alpha.35": - version "3.0.0-alpha.35" - resolved "https://registry.yarnpkg.com/@react-aria/accordion/-/accordion-3.0.0-alpha.35.tgz#d541edd0caf88dfae2b6fb261160d5e96d821e05" - integrity sha512-eZcsHJDVDNIZ2XUmJynHScRv1YAF/+fj5T0zoGdyEPImIIxJLROupQ75uwarAI5btGSR2TFeqYRmRXJrVuxgoA== - dependencies: - "@react-aria/button" "^3.10.1" - "@react-aria/selection" "^3.20.1" - "@react-aria/utils" "^3.25.3" - "@react-stately/tree" "^3.8.5" - "@react-types/accordion" "3.0.0-alpha.24" - "@react-types/shared" "^3.25.0" - "@swc/helpers" "^0.5.0" - -"@react-aria/breadcrumbs@^3.5.18": - version "3.5.18" - resolved "https://registry.yarnpkg.com/@react-aria/breadcrumbs/-/breadcrumbs-3.5.18.tgz#72133bdb61744f538fba41f9e06864f980860e1b" - integrity sha512-JRc6nAwQsjqsPw/3MlGwJcVo9ACZDbCOwWNNEnj8mR0fQopJO5xliq3qVzxDRZjdYrVUfTTyKXuepv/jMB1Y6Q== - dependencies: - "@react-aria/i18n" "^3.12.3" - "@react-aria/link" "^3.7.6" - "@react-aria/utils" "^3.25.3" - "@react-types/breadcrumbs" "^3.7.8" - "@react-types/shared" "^3.25.0" - "@swc/helpers" "^0.5.0" - -"@react-aria/button@^3.10.1": - version "3.10.1" - resolved "https://registry.yarnpkg.com/@react-aria/button/-/button-3.10.1.tgz#348879949a612a90c056f69079edb1c1414f7ff1" - integrity sha512-1vkRsjdvJrJleK73u7ClrW4Fw3mtr2hIs8M2yLZUpLoqHXnIYJwmeEMtzwyPFYKBc5jaHcGXw45any7Puy1aFA== - dependencies: - "@react-aria/focus" "^3.18.4" - "@react-aria/interactions" "^3.22.4" - "@react-aria/utils" "^3.25.3" - "@react-stately/toggle" "^3.7.8" - "@react-types/button" "^3.10.0" - "@react-types/shared" "^3.25.0" - "@swc/helpers" "^0.5.0" - -"@react-aria/calendar@^3.5.13": - version "3.5.13" - resolved "https://registry.yarnpkg.com/@react-aria/calendar/-/calendar-3.5.13.tgz#7cf8787b521c8fc193550ce27acc114390502b16" - integrity sha512-BJV5IwIH4UPDa6/HRTOBcM1wC+/6p823VrbocV9mr+rt5cCnuh+cqcCQKqUSEbfaTMPrmabjBuEaQIvqjLRYUA== - dependencies: - "@internationalized/date" "^3.5.6" - "@react-aria/i18n" "^3.12.3" - "@react-aria/interactions" "^3.22.4" - "@react-aria/live-announcer" "^3.4.0" - "@react-aria/utils" "^3.25.3" - "@react-stately/calendar" "^3.5.5" - "@react-types/button" "^3.10.0" - "@react-types/calendar" "^3.4.10" - "@react-types/shared" "^3.25.0" - "@swc/helpers" "^0.5.0" - -"@react-aria/checkbox@^3.14.8": - version "3.14.8" - resolved "https://registry.yarnpkg.com/@react-aria/checkbox/-/checkbox-3.14.8.tgz#b4117f420e44d3a2693029453bb673d729c14f99" - integrity sha512-0qPJ3fiQQm7tiMHmIhR9iokr/MhhI2h6OWX/pDeIy/Gj63WSVk+Cka3NUhgMRGkguHKDZPKaFjK1oZQsXhCThQ== - dependencies: - "@react-aria/form" "^3.0.10" - "@react-aria/interactions" "^3.22.4" - "@react-aria/label" "^3.7.12" - "@react-aria/toggle" "^3.10.9" - "@react-aria/utils" "^3.25.3" - "@react-stately/checkbox" "^3.6.9" - "@react-stately/form" "^3.0.6" - "@react-stately/toggle" "^3.7.8" - "@react-types/checkbox" "^3.8.4" - "@react-types/shared" "^3.25.0" - "@swc/helpers" "^0.5.0" - -"@react-aria/collections@3.0.0-alpha.5": - version "3.0.0-alpha.5" - resolved "https://registry.yarnpkg.com/@react-aria/collections/-/collections-3.0.0-alpha.5.tgz#2dc1d202b928f5b1dfc6269d296948e63cd501cd" - integrity sha512-8m8yZe1c5PYCylEN4lcG3ZL/1nyrON95nVsoknC8shY1uKP01oJd7w+f6hvVza0tJRQuVe4zW3gO4FVjv33a5g== - dependencies: - "@react-aria/ssr" "^3.9.6" - "@react-aria/utils" "^3.25.3" - "@react-types/shared" "^3.25.0" - "@swc/helpers" "^0.5.0" - use-sync-external-store "^1.2.0" - -"@react-aria/color@^3.0.1": - version "3.0.1" - resolved "https://registry.yarnpkg.com/@react-aria/color/-/color-3.0.1.tgz#3c78693a1a7a33ca421da9c637b696ec9dee601b" - integrity sha512-7hTCdXCU2/qpZuIrJcVr+s87C2MqHfi9Y461gMza5DjdUzlcy480UZ/iknbw82C0a+oVo08D/bnQctEjja05pw== - dependencies: - "@react-aria/i18n" "^3.12.3" - "@react-aria/interactions" "^3.22.4" - "@react-aria/numberfield" "^3.11.8" - "@react-aria/slider" "^3.7.13" - "@react-aria/spinbutton" "^3.6.9" - "@react-aria/textfield" "^3.14.10" - "@react-aria/utils" "^3.25.3" - "@react-aria/visually-hidden" "^3.8.17" - "@react-stately/color" "^3.8.0" - "@react-stately/form" "^3.0.6" - "@react-types/color" "^3.0.0" - "@react-types/shared" "^3.25.0" - "@swc/helpers" "^0.5.0" - -"@react-aria/combobox@^3.10.5": - version "3.10.5" - resolved "https://registry.yarnpkg.com/@react-aria/combobox/-/combobox-3.10.5.tgz#2530829da5e3bdae1ab3f42288f85ce683654830" - integrity sha512-1cjBJXWYuR0de+9IEU1MOer3H5FSlbrdaqlWo+M6vvMymBL2OjjwXiG3LY1mR65ZwHoTswXzt6/mujUKaxk5vw== - dependencies: - "@react-aria/i18n" "^3.12.3" - "@react-aria/listbox" "^3.13.5" - "@react-aria/live-announcer" "^3.4.0" - "@react-aria/menu" "^3.15.5" - "@react-aria/overlays" "^3.23.4" - "@react-aria/selection" "^3.20.1" - "@react-aria/textfield" "^3.14.10" - "@react-aria/utils" "^3.25.3" - "@react-stately/collections" "^3.11.0" - "@react-stately/combobox" "^3.10.0" - "@react-stately/form" "^3.0.6" - "@react-types/button" "^3.10.0" - "@react-types/combobox" "^3.13.0" - "@react-types/shared" "^3.25.0" - "@swc/helpers" "^0.5.0" - -"@react-aria/datepicker@^3.11.4": - version "3.11.4" - resolved "https://registry.yarnpkg.com/@react-aria/datepicker/-/datepicker-3.11.4.tgz#f0a927e7958cd341de8d4ccd78cf28ec69ecbdf6" - integrity sha512-TXe1TB/pSwrIQ5BIDr6NCAYjBaKgLN6cP5DlAihywHzqxbM6vO8GU6qbrZNSBrtfzZnrR/4z66Vlw6rhznLnqQ== - dependencies: - "@internationalized/date" "^3.5.6" - "@internationalized/number" "^3.5.4" - "@internationalized/string" "^3.2.4" - "@react-aria/focus" "^3.18.4" - "@react-aria/form" "^3.0.10" - "@react-aria/i18n" "^3.12.3" - "@react-aria/interactions" "^3.22.4" - "@react-aria/label" "^3.7.12" - "@react-aria/spinbutton" "^3.6.9" - "@react-aria/utils" "^3.25.3" - "@react-stately/datepicker" "^3.10.3" - "@react-stately/form" "^3.0.6" - "@react-types/button" "^3.10.0" - "@react-types/calendar" "^3.4.10" - "@react-types/datepicker" "^3.8.3" - "@react-types/dialog" "^3.5.13" - "@react-types/shared" "^3.25.0" - "@swc/helpers" "^0.5.0" - -"@react-aria/dialog@^3.5.19": - version "3.5.19" - resolved "https://registry.yarnpkg.com/@react-aria/dialog/-/dialog-3.5.19.tgz#568b937e8f63078dabcccbc291ef0cef044aa2d0" - integrity sha512-I3AJWpAWCajj8Ama8qLQ18Tc37ODyk+Ym3haYEl5L4QnuFc0dU1sMJr15fppDGIxYjwvTTfctyhaSCz+S+wpkw== - dependencies: - "@react-aria/focus" "^3.18.4" - "@react-aria/overlays" "^3.23.4" - "@react-aria/utils" "^3.25.3" - "@react-types/dialog" "^3.5.13" - "@react-types/shared" "^3.25.0" - "@swc/helpers" "^0.5.0" - -"@react-aria/disclosure@3.0.0-alpha.1": - version "3.0.0-alpha.1" - resolved "https://registry.yarnpkg.com/@react-aria/disclosure/-/disclosure-3.0.0-alpha.1.tgz#8d9b63ab31d2ec66b05f133181840cc340b35047" - integrity sha512-AsYRk4NOfo5f3QGIoQwGtOCvEk/a1yztobaDIgMCfycfyQbzJROUPbSusUURK7f1KZ0s3/HPlWT9p6ulR4mDcA== - dependencies: - "@react-aria/button" "^3.10.1" - "@react-aria/selection" "^3.20.1" - "@react-aria/ssr" "^3.9.6" - "@react-aria/utils" "^3.25.3" - "@react-stately/disclosure" "3.0.0-alpha.0" - "@react-stately/toggle" "^3.7.8" - "@react-stately/tree" "^3.8.5" - "@react-types/button" "^3.10.0" - "@react-types/shared" "^3.25.0" - "@swc/helpers" "^0.5.0" - -"@react-aria/dnd@^3.7.4": - version "3.7.4" - resolved "https://registry.yarnpkg.com/@react-aria/dnd/-/dnd-3.7.4.tgz#3e30f94569a39b381ebf353bb3d22e2a843fbd6f" - integrity sha512-lRE8SVyK/MPbF6NiVXHoriOV0QulNKkSndyDr3TWPsLhH5GKQso5jSx8/5ogbDgRTzIsmIQldj/HlW238DCiSg== - dependencies: - "@internationalized/string" "^3.2.4" - "@react-aria/i18n" "^3.12.3" - "@react-aria/interactions" "^3.22.4" - "@react-aria/live-announcer" "^3.4.0" - "@react-aria/overlays" "^3.23.4" - "@react-aria/utils" "^3.25.3" - "@react-stately/dnd" "^3.4.3" - "@react-types/button" "^3.10.0" - "@react-types/shared" "^3.25.0" - "@swc/helpers" "^0.5.0" - -"@react-aria/focus@^3.18.4": - version "3.18.4" - resolved "https://registry.yarnpkg.com/@react-aria/focus/-/focus-3.18.4.tgz#a6e95896bc8680d1b5bcd855e983fc2c195a1a55" - integrity sha512-91J35077w9UNaMK1cpMUEFRkNNz0uZjnSwiyBCFuRdaVuivO53wNC9XtWSDNDdcO5cGy87vfJRVAiyoCn/mjqA== - dependencies: - "@react-aria/interactions" "^3.22.4" - "@react-aria/utils" "^3.25.3" - "@react-types/shared" "^3.25.0" - "@swc/helpers" "^0.5.0" - clsx "^2.0.0" - -"@react-aria/form@^3.0.10": - version "3.0.10" - resolved "https://registry.yarnpkg.com/@react-aria/form/-/form-3.0.10.tgz#0d21bd33aac4153fcbfdd87cc04fce9f8e148650" - integrity sha512-hWBrqEXxBxcpYTJv0telQKaiu2728EUFHta8/RGBqJ4+MhKKxI7+PnLoms78IuiK0MCYvukHfun1fuQvK+8jsg== - dependencies: - "@react-aria/interactions" "^3.22.4" - "@react-aria/utils" "^3.25.3" - "@react-stately/form" "^3.0.6" - "@react-types/shared" "^3.25.0" - "@swc/helpers" "^0.5.0" - -"@react-aria/grid@^3.10.5": - version "3.10.5" - resolved "https://registry.yarnpkg.com/@react-aria/grid/-/grid-3.10.5.tgz#34caf94aa2442949e75a825684f6b7bea0b8af43" - integrity sha512-9sLa+rpLgRZk7VX+tvdSudn1tdVgolVzhDLGWd95yS4UtPVMihTMGBrRoByY57Wxvh1V+7Ptw8kc6tsRSotYKg== - dependencies: - "@react-aria/focus" "^3.18.4" - "@react-aria/i18n" "^3.12.3" - "@react-aria/interactions" "^3.22.4" - "@react-aria/live-announcer" "^3.4.0" - "@react-aria/selection" "^3.20.1" - "@react-aria/utils" "^3.25.3" - "@react-stately/collections" "^3.11.0" - "@react-stately/grid" "^3.9.3" - "@react-stately/selection" "^3.17.0" - "@react-types/checkbox" "^3.8.4" - "@react-types/grid" "^3.2.9" - "@react-types/shared" "^3.25.0" - "@swc/helpers" "^0.5.0" - -"@react-aria/gridlist@^3.9.5": - version "3.9.5" - resolved "https://registry.yarnpkg.com/@react-aria/gridlist/-/gridlist-3.9.5.tgz#a1e6dbe7e14be9203630c76bfb73b55cd4d958c4" - integrity sha512-LM+3D0amZZ1qiyqWVG52j0YRWt2chdpx+WG80ryDKwHLDIq7uz1+KXyIfv8cFt/cZcl6+9Ft3kWALCAi6O4NLA== - dependencies: - "@react-aria/focus" "^3.18.4" - "@react-aria/grid" "^3.10.5" - "@react-aria/i18n" "^3.12.3" - "@react-aria/interactions" "^3.22.4" - "@react-aria/selection" "^3.20.1" - "@react-aria/utils" "^3.25.3" - "@react-stately/collections" "^3.11.0" - "@react-stately/list" "^3.11.0" - "@react-stately/tree" "^3.8.5" - "@react-types/shared" "^3.25.0" - "@swc/helpers" "^0.5.0" - -"@react-aria/i18n@^3.12.3": - version "3.12.3" - resolved "https://registry.yarnpkg.com/@react-aria/i18n/-/i18n-3.12.3.tgz#ec902787ea840755a1e7b4feb64435b8451baf62" - integrity sha512-0Tp/4JwnCVNKDfuknPF+/xf3/woOc8gUjTU2nCjO3mCVb4FU7KFtjxQ2rrx+6hpIVG6g+N9qfMjRa/ggVH0CJg== - dependencies: - "@internationalized/date" "^3.5.6" - "@internationalized/message" "^3.1.5" - "@internationalized/number" "^3.5.4" - "@internationalized/string" "^3.2.4" - "@react-aria/ssr" "^3.9.6" - "@react-aria/utils" "^3.25.3" - "@react-types/shared" "^3.25.0" - "@swc/helpers" "^0.5.0" - -"@react-aria/interactions@^3.22.4": - version "3.22.4" - resolved "https://registry.yarnpkg.com/@react-aria/interactions/-/interactions-3.22.4.tgz#88ed61ab6a485f869bc1f65ae6688d48ca96064b" - integrity sha512-E0vsgtpItmknq/MJELqYJwib+YN18Qag8nroqwjk1qOnBa9ROIkUhWJerLi1qs5diXq9LHKehZDXRlwPvdEFww== - dependencies: - "@react-aria/ssr" "^3.9.6" - "@react-aria/utils" "^3.25.3" - "@react-types/shared" "^3.25.0" - "@swc/helpers" "^0.5.0" - -"@react-aria/label@^3.7.12": - version "3.7.12" - resolved "https://registry.yarnpkg.com/@react-aria/label/-/label-3.7.12.tgz#d6aa0dca5d0ba280fd6f15c1f05327095a2526c5" - integrity sha512-u9xT90lAlgb7xiv+p0md9QwCHz65XL7tjS5e29e88Rs3ptkv3aQubTqxVOUTEwzbNUT4A1QqTjUm1yfHewIRUw== - dependencies: - "@react-aria/utils" "^3.25.3" - "@react-types/shared" "^3.25.0" - "@swc/helpers" "^0.5.0" - -"@react-aria/link@^3.7.6": - version "3.7.6" - resolved "https://registry.yarnpkg.com/@react-aria/link/-/link-3.7.6.tgz#d71e9f1c16b671f017b69f078887432ffc65ac65" - integrity sha512-8buJznRWoOud8ApygUAz7TsshXNs6HDGB6YOYEJxy0WTKILn0U5NUymw2PWC14+bWRPelHMKmi6vbFBrJWzSzQ== - dependencies: - "@react-aria/focus" "^3.18.4" - "@react-aria/interactions" "^3.22.4" - "@react-aria/utils" "^3.25.3" - "@react-types/link" "^3.5.8" - "@react-types/shared" "^3.25.0" - "@swc/helpers" "^0.5.0" - -"@react-aria/listbox@^3.13.5": - version "3.13.5" - resolved "https://registry.yarnpkg.com/@react-aria/listbox/-/listbox-3.13.5.tgz#67b628c5fc9c5dbee327a012ae82d05ebc60b75d" - integrity sha512-tn32L/PIELIPYfDWCJ3OBRvvb/jCEvIzs6IYs8xCISV5W4853Je/WnA8wumWnz07U9sODYFmHUx2ThO7Z7dH7Q== - dependencies: - "@react-aria/interactions" "^3.22.4" - "@react-aria/label" "^3.7.12" - "@react-aria/selection" "^3.20.1" - "@react-aria/utils" "^3.25.3" - "@react-stately/collections" "^3.11.0" - "@react-stately/list" "^3.11.0" - "@react-types/listbox" "^3.5.2" - "@react-types/shared" "^3.25.0" - "@swc/helpers" "^0.5.0" - -"@react-aria/live-announcer@^3.4.0": - version "3.4.0" - resolved "https://registry.yarnpkg.com/@react-aria/live-announcer/-/live-announcer-3.4.0.tgz#0ad90fddc4731e93071d802c8cec9e1dfd2fc448" - integrity sha512-VBxEdMq2SbtRbNTQNcDR2G6E3lEl5cJSBiHTTO8Ln1AL76LiazrylIXGgoktqzCfRQmyq0v8CHk1cNKDU9mvJg== - dependencies: - "@swc/helpers" "^0.5.0" - -"@react-aria/menu@^3.15.5": - version "3.15.5" - resolved "https://registry.yarnpkg.com/@react-aria/menu/-/menu-3.15.5.tgz#b133a0d60da94dfbbd1bfe3db485cf91ccfff900" - integrity sha512-ygfS032hJSZCYYbMHnUSmUTVMaz99L9AUZ9kMa6g+k2X1t92K1gXfhYYkoClQD6+G0ch7zm0SwYFlUmRf9yOEA== - dependencies: - "@react-aria/focus" "^3.18.4" - "@react-aria/i18n" "^3.12.3" - "@react-aria/interactions" "^3.22.4" - "@react-aria/overlays" "^3.23.4" - "@react-aria/selection" "^3.20.1" - "@react-aria/utils" "^3.25.3" - "@react-stately/collections" "^3.11.0" - "@react-stately/menu" "^3.8.3" - "@react-stately/tree" "^3.8.5" - "@react-types/button" "^3.10.0" - "@react-types/menu" "^3.9.12" - "@react-types/shared" "^3.25.0" - "@swc/helpers" "^0.5.0" - -"@react-aria/meter@^3.4.17": - version "3.4.17" - resolved "https://registry.yarnpkg.com/@react-aria/meter/-/meter-3.4.17.tgz#ace0323e9d74c1967b4a700db744161aff366084" - integrity sha512-08wbQhfvVWzpWilhn/WD7cQ7TqafS/66umTk7+X6BW6TrS1//6loNNJV62IC3F7sskel4iEAtl2gW0WpW8zEdg== - dependencies: - "@react-aria/progress" "^3.4.17" - "@react-types/meter" "^3.4.4" - "@react-types/shared" "^3.25.0" - "@swc/helpers" "^0.5.0" - -"@react-aria/numberfield@^3.11.8": - version "3.11.8" - resolved "https://registry.yarnpkg.com/@react-aria/numberfield/-/numberfield-3.11.8.tgz#d1682305df3cc64ce3a66f9ee997eb778a1aa077" - integrity sha512-CWRHbrjfpvEqBmtjwX8LjVds6+tMNneRlKF46ked5sZilfU2jIirufaucM36N4vX6N/W7nFR/rCbp2WCOU9p3Q== - dependencies: - "@react-aria/i18n" "^3.12.3" - "@react-aria/interactions" "^3.22.4" - "@react-aria/spinbutton" "^3.6.9" - "@react-aria/textfield" "^3.14.10" - "@react-aria/utils" "^3.25.3" - "@react-stately/form" "^3.0.6" - "@react-stately/numberfield" "^3.9.7" - "@react-types/button" "^3.10.0" - "@react-types/numberfield" "^3.8.6" - "@react-types/shared" "^3.25.0" - "@swc/helpers" "^0.5.0" - -"@react-aria/overlays@^3.23.4": - version "3.23.4" - resolved "https://registry.yarnpkg.com/@react-aria/overlays/-/overlays-3.23.4.tgz#8fc2f7f5884f514056651490a17b9fd40e519df1" - integrity sha512-MZUW6SUlTWOwKuFTqUTxW5BnvdW3Y9cEwanWuz98NX3ST7JYe/3ZcZhb37/fGW4uoGHnQ9icEwVf0rbMrK2STg== - dependencies: - "@react-aria/focus" "^3.18.4" - "@react-aria/i18n" "^3.12.3" - "@react-aria/interactions" "^3.22.4" - "@react-aria/ssr" "^3.9.6" - "@react-aria/utils" "^3.25.3" - "@react-aria/visually-hidden" "^3.8.17" - "@react-stately/overlays" "^3.6.11" - "@react-types/button" "^3.10.0" - "@react-types/overlays" "^3.8.10" - "@react-types/shared" "^3.25.0" - "@swc/helpers" "^0.5.0" - -"@react-aria/progress@^3.4.17": - version "3.4.17" - resolved "https://registry.yarnpkg.com/@react-aria/progress/-/progress-3.4.17.tgz#19b7ce3577049af679fba415e2ba177c68c3a125" - integrity sha512-5+01WNibLoNS5KcfU5p6vg7Lhz17plqqzv/uITx28zzj3saaj0VLR7n57Ig2fXe8ZEQoUS89BS3sIEsIf96S1A== - dependencies: - "@react-aria/i18n" "^3.12.3" - "@react-aria/label" "^3.7.12" - "@react-aria/utils" "^3.25.3" - "@react-types/progress" "^3.5.7" - "@react-types/shared" "^3.25.0" - "@swc/helpers" "^0.5.0" - -"@react-aria/radio@^3.10.9": - version "3.10.9" - resolved "https://registry.yarnpkg.com/@react-aria/radio/-/radio-3.10.9.tgz#bca231f4f6136b6272bf1ee7701c22180553af4f" - integrity sha512-XnU7zGTEku1mPvJweX4I3ifwEBtglEWYoO4CZGvA3eXj39X8iGwNZXUst1pdk2ykWUKbtwrmsWA6zG2OAGODYw== - dependencies: - "@react-aria/focus" "^3.18.4" - "@react-aria/form" "^3.0.10" - "@react-aria/i18n" "^3.12.3" - "@react-aria/interactions" "^3.22.4" - "@react-aria/label" "^3.7.12" - "@react-aria/utils" "^3.25.3" - "@react-stately/radio" "^3.10.8" - "@react-types/radio" "^3.8.4" - "@react-types/shared" "^3.25.0" - "@swc/helpers" "^0.5.0" - -"@react-aria/searchfield@^3.7.10": - version "3.7.10" - resolved "https://registry.yarnpkg.com/@react-aria/searchfield/-/searchfield-3.7.10.tgz#a8997321e0e6aa8df8f36b39f4ab927eb744aaf0" - integrity sha512-1XTYh2dycedaK1tgpHAHcu8PTK1wG3dv53yLziu07JsBe9tX6O8jIFBhZK8SpfNnP8pEOI3PIlVEjaarLwgWzQ== - dependencies: - "@react-aria/i18n" "^3.12.3" - "@react-aria/textfield" "^3.14.10" - "@react-aria/utils" "^3.25.3" - "@react-stately/searchfield" "^3.5.7" - "@react-types/button" "^3.10.0" - "@react-types/searchfield" "^3.5.9" - "@react-types/shared" "^3.25.0" - "@swc/helpers" "^0.5.0" - -"@react-aria/select@^3.14.11": - version "3.14.11" - resolved "https://registry.yarnpkg.com/@react-aria/select/-/select-3.14.11.tgz#705d51c7b39bedcb1dfb0f59280f2aa4ae747584" - integrity sha512-rX5U4JcPNV41lNEF1tAxNxqrGENnLGZL/D5Y+YNpqKSU5U09+hD3ovsflNkF/d+deb25zg45JRxumwOCQ+rfyw== - dependencies: - "@react-aria/form" "^3.0.10" - "@react-aria/i18n" "^3.12.3" - "@react-aria/interactions" "^3.22.4" - "@react-aria/label" "^3.7.12" - "@react-aria/listbox" "^3.13.5" - "@react-aria/menu" "^3.15.5" - "@react-aria/selection" "^3.20.1" - "@react-aria/utils" "^3.25.3" - "@react-aria/visually-hidden" "^3.8.17" - "@react-stately/select" "^3.6.8" - "@react-types/button" "^3.10.0" - "@react-types/select" "^3.9.7" - "@react-types/shared" "^3.25.0" - "@swc/helpers" "^0.5.0" - -"@react-aria/selection@^3.20.1": - version "3.20.1" - resolved "https://registry.yarnpkg.com/@react-aria/selection/-/selection-3.20.1.tgz#94b405214ea8506410f632fd2bfe470b9360ebfb" - integrity sha512-My0w8UC/7PAkz/1yZUjr2VRuzDZz1RrbgTqP36j5hsJx8RczDTjI4TmKtQNKG0ggaP4w83G2Og5JPTq3w3LMAw== - dependencies: - "@react-aria/focus" "^3.18.4" - "@react-aria/i18n" "^3.12.3" - "@react-aria/interactions" "^3.22.4" - "@react-aria/utils" "^3.25.3" - "@react-stately/selection" "^3.17.0" - "@react-types/shared" "^3.25.0" - "@swc/helpers" "^0.5.0" - -"@react-aria/separator@^3.4.3": - version "3.4.3" - resolved "https://registry.yarnpkg.com/@react-aria/separator/-/separator-3.4.3.tgz#c13b06d185ecea3e69260428b0cbdee4ae7e8f18" - integrity sha512-L+eCmSGfRJ9jScHZqBkmOkp44LBARisDjRdYbGrLlsAEcOiHUXufnfpxz2rgkUGBdUgnI9hIk12q5kdy0UxGjg== - dependencies: - "@react-aria/utils" "^3.25.3" - "@react-types/shared" "^3.25.0" - "@swc/helpers" "^0.5.0" - -"@react-aria/slider@^3.7.13": - version "3.7.13" - resolved "https://registry.yarnpkg.com/@react-aria/slider/-/slider-3.7.13.tgz#ddd0e08faf5c16cb90176d4bf8663cd7d1d43bce" - integrity sha512-yGlIpoOUKUoP0M3iI8ZHU001NASBOeZJSIQNfoS7HiqSR3bz+6BX7DRAM6B+CPHJleUtrdQ6JjO/8V8ZUV2kNQ== - dependencies: - "@react-aria/focus" "^3.18.4" - "@react-aria/i18n" "^3.12.3" - "@react-aria/interactions" "^3.22.4" - "@react-aria/label" "^3.7.12" - "@react-aria/utils" "^3.25.3" - "@react-stately/slider" "^3.5.8" - "@react-types/shared" "^3.25.0" - "@react-types/slider" "^3.7.6" - "@swc/helpers" "^0.5.0" - -"@react-aria/spinbutton@^3.6.9": - version "3.6.9" - resolved "https://registry.yarnpkg.com/@react-aria/spinbutton/-/spinbutton-3.6.9.tgz#9a74c0ec927d0a7949463efcddb5c52fc9841fa8" - integrity sha512-m+uVJdiIc2LrLVDGjU7p8P2O2gUvTN26GR+NgH4rl+tUSuAB0+T1rjls/C+oXEqQjCpQihEB9Bt4M+VHpzmyjA== - dependencies: - "@react-aria/i18n" "^3.12.3" - "@react-aria/live-announcer" "^3.4.0" - "@react-aria/utils" "^3.25.3" - "@react-types/button" "^3.10.0" - "@react-types/shared" "^3.25.0" - "@swc/helpers" "^0.5.0" - -"@react-aria/ssr@^3.9.6": - version "3.9.6" - resolved "https://registry.yarnpkg.com/@react-aria/ssr/-/ssr-3.9.6.tgz#a9e8b351acdc8238f2b5215b0ce904636c6ea690" - integrity sha512-iLo82l82ilMiVGy342SELjshuWottlb5+VefO3jOQqQRNYnJBFpUSadswDPbRimSgJUZuFwIEYs6AabkP038fA== - dependencies: - "@swc/helpers" "^0.5.0" - -"@react-aria/switch@^3.6.9": - version "3.6.9" - resolved "https://registry.yarnpkg.com/@react-aria/switch/-/switch-3.6.9.tgz#66a299fccb8efdfb474c9ed4a99b124d7511572c" - integrity sha512-w7xIywpR6llm22DXYOObZ2Uqvsw+gNmxdJ86h8+YRtpSkFnPMhXtTMv3RXpEGYhPTt/YDIqfxiluF1E2IHGwIA== - dependencies: - "@react-aria/toggle" "^3.10.9" - "@react-stately/toggle" "^3.7.8" - "@react-types/shared" "^3.25.0" - "@react-types/switch" "^3.5.6" - "@swc/helpers" "^0.5.0" - -"@react-aria/table@^3.15.5": - version "3.15.5" - resolved "https://registry.yarnpkg.com/@react-aria/table/-/table-3.15.5.tgz#241a93e2c8c1dd55b77676a2d19bb86ea6ff814a" - integrity sha512-bdNZF0ZoNOfyOEIK/ctv0llacaCNk8mv+GGy8mwh5bZeJjd8KuDIpYQtZJYvf2YVvPYRWyXRhF0/B229m65f/g== - dependencies: - "@react-aria/focus" "^3.18.4" - "@react-aria/grid" "^3.10.5" - "@react-aria/i18n" "^3.12.3" - "@react-aria/interactions" "^3.22.4" - "@react-aria/live-announcer" "^3.4.0" - "@react-aria/utils" "^3.25.3" - "@react-aria/visually-hidden" "^3.8.17" - "@react-stately/collections" "^3.11.0" - "@react-stately/flags" "^3.0.4" - "@react-stately/table" "^3.12.3" - "@react-types/checkbox" "^3.8.4" - "@react-types/grid" "^3.2.9" - "@react-types/shared" "^3.25.0" - "@react-types/table" "^3.10.2" - "@swc/helpers" "^0.5.0" - -"@react-aria/tabs@^3.9.7": - version "3.9.7" - resolved "https://registry.yarnpkg.com/@react-aria/tabs/-/tabs-3.9.7.tgz#2e44203e51f8b953cf3cc2dc2867b27cafb40a33" - integrity sha512-f78P2Y9ZCYtwOnteku9mPVIk21xSSREYWaQPtA9ebSgVbeR5ya6RpaX9ISc9cd0HEF3Av+hZYyS1pNXXWymv9g== - dependencies: - "@react-aria/focus" "^3.18.4" - "@react-aria/i18n" "^3.12.3" - "@react-aria/selection" "^3.20.1" - "@react-aria/utils" "^3.25.3" - "@react-stately/tabs" "^3.6.10" - "@react-types/shared" "^3.25.0" - "@react-types/tabs" "^3.3.10" - "@swc/helpers" "^0.5.0" - -"@react-aria/tag@^3.4.7": - version "3.4.7" - resolved "https://registry.yarnpkg.com/@react-aria/tag/-/tag-3.4.7.tgz#1b3e527cc9d7d948c67514cde64d82b7c2276e7f" - integrity sha512-hreVvphUeYUfMN6gjM3+WouN2P/WGuR0rGpOrFk2HEnGDPg3Ar0isfdAaciTSBOc26CDKNgrmzRguxCmKKuqgw== - dependencies: - "@react-aria/gridlist" "^3.9.5" - "@react-aria/i18n" "^3.12.3" - "@react-aria/interactions" "^3.22.4" - "@react-aria/label" "^3.7.12" - "@react-aria/selection" "^3.20.1" - "@react-aria/utils" "^3.25.3" - "@react-stately/list" "^3.11.0" - "@react-types/button" "^3.10.0" - "@react-types/shared" "^3.25.0" - "@swc/helpers" "^0.5.0" - -"@react-aria/textfield@^3.14.10": - version "3.14.10" - resolved "https://registry.yarnpkg.com/@react-aria/textfield/-/textfield-3.14.10.tgz#a6fab9993f26f97b27c5bba1a23d757d09c43d62" - integrity sha512-vG44FgxwfJUF2S6tRG+Sg646DDEgs0CO9RYniafEOHz8rwcNIH3lML7n8LAfzQa+BjBY28+UF0wmqEvd6VCzCQ== - dependencies: - "@react-aria/focus" "^3.18.4" - "@react-aria/form" "^3.0.10" - "@react-aria/label" "^3.7.12" - "@react-aria/utils" "^3.25.3" - "@react-stately/form" "^3.0.6" - "@react-stately/utils" "^3.10.4" - "@react-types/shared" "^3.25.0" - "@react-types/textfield" "^3.9.7" - "@swc/helpers" "^0.5.0" - -"@react-aria/toggle@^3.10.9": - version "3.10.9" - resolved "https://registry.yarnpkg.com/@react-aria/toggle/-/toggle-3.10.9.tgz#6876cdc963c311d73a11e33031a905b47927063b" - integrity sha512-dtfnyIU2/kcH9rFAiB48diSmaXDv45K7UCuTkMQLjbQa3QHC1oYNbleVN/VdGyAMBsIWtfl8L4uuPrAQmDV/bg== - dependencies: - "@react-aria/focus" "^3.18.4" - "@react-aria/interactions" "^3.22.4" - "@react-aria/utils" "^3.25.3" - "@react-stately/toggle" "^3.7.8" - "@react-types/checkbox" "^3.8.4" - "@react-types/shared" "^3.25.0" - "@swc/helpers" "^0.5.0" - -"@react-aria/toolbar@3.0.0-beta.10": - version "3.0.0-beta.10" - resolved "https://registry.yarnpkg.com/@react-aria/toolbar/-/toolbar-3.0.0-beta.10.tgz#d0cba5c9e8f59b62d79d43714628fcdaf75dc105" - integrity sha512-YsQwTCS2FO8FjDgu1aHskTk1bIo1xisY01u+gNXxGLv6B115Lnevfi+RJdZ4AmLIRAmq9OVMii9JuKrXL9dBXw== - dependencies: - "@react-aria/focus" "^3.18.4" - "@react-aria/i18n" "^3.12.3" - "@react-aria/utils" "^3.25.3" - "@react-types/shared" "^3.25.0" - "@swc/helpers" "^0.5.0" - -"@react-aria/tooltip@^3.7.9": - version "3.7.9" - resolved "https://registry.yarnpkg.com/@react-aria/tooltip/-/tooltip-3.7.9.tgz#8a5f0d44f9988a7ceb55e34664bda07775ae82a2" - integrity sha512-TqVJ7YqaP/enxNyA1QGr43w4nBZmOs6Hb/pROMS5afbX7gHgMVFn0lTRc6DC2cvcfgYc4WICs2QiQMniZt/E7A== - dependencies: - "@react-aria/focus" "^3.18.4" - "@react-aria/interactions" "^3.22.4" - "@react-aria/utils" "^3.25.3" - "@react-stately/tooltip" "^3.4.13" - "@react-types/shared" "^3.25.0" - "@react-types/tooltip" "^3.4.12" - "@swc/helpers" "^0.5.0" - -"@react-aria/tree@3.0.0-beta.1": - version "3.0.0-beta.1" - resolved "https://registry.yarnpkg.com/@react-aria/tree/-/tree-3.0.0-beta.1.tgz#9f655b95d60ec0cc634c8787353a96cd4a211044" - integrity sha512-mlnV9VU1m/MGpH4WoOJc63yWAn9E+q/nHE3pM0dgjMyh+YCEq94tK/8eQFt4uko0/cANU/tHZ72Ayo2g8rJIWg== - dependencies: - "@react-aria/gridlist" "^3.9.5" - "@react-aria/i18n" "^3.12.3" - "@react-aria/selection" "^3.20.1" - "@react-aria/utils" "^3.25.3" - "@react-stately/tree" "^3.8.5" - "@react-types/button" "^3.10.0" - "@react-types/shared" "^3.25.0" - "@swc/helpers" "^0.5.0" - -"@react-aria/utils@^3.25.3": - version "3.25.3" - resolved "https://registry.yarnpkg.com/@react-aria/utils/-/utils-3.25.3.tgz#cad9bffc07b045cdc283df2cb65c18747acbf76d" - integrity sha512-PR5H/2vaD8fSq0H/UB9inNbc8KDcVmW6fYAfSWkkn+OAdhTTMVKqXXrZuZBWyFfSD5Ze7VN6acr4hrOQm2bmrA== - dependencies: - "@react-aria/ssr" "^3.9.6" - "@react-stately/utils" "^3.10.4" - "@react-types/shared" "^3.25.0" - "@swc/helpers" "^0.5.0" - clsx "^2.0.0" - -"@react-aria/virtualizer@^4.0.4": - version "4.0.4" - resolved "https://registry.yarnpkg.com/@react-aria/virtualizer/-/virtualizer-4.0.4.tgz#3c0f644a1fbc83c4864b36649386929c178a9ba0" - integrity sha512-DszWqS29B9UoLS4mb5tAgLZKSVKR7IuDfjT+On9TSpcvm+HKS9wG6MVbqO0bh4zE+JGmp8Pnxfg92E7NUF0vgA== - dependencies: - "@react-aria/i18n" "^3.12.3" - "@react-aria/interactions" "^3.22.4" - "@react-aria/utils" "^3.25.3" - "@react-stately/virtualizer" "^4.1.0" - "@react-types/shared" "^3.25.0" - "@swc/helpers" "^0.5.0" - -"@react-aria/visually-hidden@^3.8.17": - version "3.8.17" - resolved "https://registry.yarnpkg.com/@react-aria/visually-hidden/-/visually-hidden-3.8.17.tgz#b006aad526d78a9897fcbc793e57ddfe1adbd1af" - integrity sha512-WFgny1q2CbxxU6gu46TGQXf1DjsnuSk+RBDP4M7bm1mUVZzoCp7U7AtjNmsBrWg0NejxUdgD7+7jkHHCQ91qRA== - dependencies: - "@react-aria/interactions" "^3.22.4" - "@react-aria/utils" "^3.25.3" - "@react-types/shared" "^3.25.0" - "@swc/helpers" "^0.5.0" - -"@react-stately/calendar@^3.5.5": - version "3.5.5" - resolved "https://registry.yarnpkg.com/@react-stately/calendar/-/calendar-3.5.5.tgz#52249991e1e9c40921cd3d6dce727c0dd37536cb" - integrity sha512-HzaiDRhrmaYIly8hRsjjIrydLkldiw1Ws6T/130NLQOt+VPwRW/x0R+nil42mA9LZ6oV0XN0NpmG5tn7TaKRGw== - dependencies: - "@internationalized/date" "^3.5.6" - "@react-stately/utils" "^3.10.4" - "@react-types/calendar" "^3.4.10" - "@react-types/shared" "^3.25.0" - "@swc/helpers" "^0.5.0" - -"@react-stately/checkbox@^3.6.9": - version "3.6.9" - resolved "https://registry.yarnpkg.com/@react-stately/checkbox/-/checkbox-3.6.9.tgz#e7ff459cb8fe2f57bac37ed666e8304eb70a8ed3" - integrity sha512-JrY3ecnK/SSJPxw+qhGhg3YV4e0CpUcPDrVwY3mSiAE932DPd19xr+qVCknJ34H7JYYt/q0l2z0lmgPnl96RTg== - dependencies: - "@react-stately/form" "^3.0.6" - "@react-stately/utils" "^3.10.4" - "@react-types/checkbox" "^3.8.4" - "@react-types/shared" "^3.25.0" - "@swc/helpers" "^0.5.0" - -"@react-stately/collections@^3.11.0": - version "3.11.0" - resolved "https://registry.yarnpkg.com/@react-stately/collections/-/collections-3.11.0.tgz#d04dd728ce4f5036a4e2830b1bbbba36aafd2ef0" - integrity sha512-TiJeJjHMPSbbeAhmCXLJNSCk0fa5XnCvEuYw6HtQzDnYiq1AD7KAwkpjC5NfKkjqF3FLXs/v9RDm/P69q6rYzw== - dependencies: - "@react-types/shared" "^3.25.0" - "@swc/helpers" "^0.5.0" - -"@react-stately/color@^3.8.0": - version "3.8.0" - resolved "https://registry.yarnpkg.com/@react-stately/color/-/color-3.8.0.tgz#4527fff1e4e632d35f58ee84493830066f678baa" - integrity sha512-lBH91HEStZeayhE/FkDMt9WC0UISQiAn8DoD2hfpTGeeWscX/soyxZA7oVL7zBOG9RfDBMNzF+CybVROrWSKAQ== - dependencies: - "@internationalized/number" "^3.5.4" - "@internationalized/string" "^3.2.4" - "@react-aria/i18n" "^3.12.3" - "@react-stately/form" "^3.0.6" - "@react-stately/numberfield" "^3.9.7" - "@react-stately/slider" "^3.5.8" - "@react-stately/utils" "^3.10.4" - "@react-types/color" "^3.0.0" - "@react-types/shared" "^3.25.0" - "@swc/helpers" "^0.5.0" - -"@react-stately/combobox@^3.10.0": - version "3.10.0" - resolved "https://registry.yarnpkg.com/@react-stately/combobox/-/combobox-3.10.0.tgz#33667983b8042b6dd342dcea2dd8944e834d4a90" - integrity sha512-4W4HCCjjoddW/LZM3pSSeLoV7ncYXlaICKmqlBcbtLR5jY4U5Kx+pPpy3oJ1vCdjDHatIxZ0tVKEBP7vBQVeGQ== - dependencies: - "@react-stately/collections" "^3.11.0" - "@react-stately/form" "^3.0.6" - "@react-stately/list" "^3.11.0" - "@react-stately/overlays" "^3.6.11" - "@react-stately/select" "^3.6.8" - "@react-stately/utils" "^3.10.4" - "@react-types/combobox" "^3.13.0" - "@react-types/shared" "^3.25.0" - "@swc/helpers" "^0.5.0" - -"@react-stately/data@^3.11.7": - version "3.11.7" - resolved "https://registry.yarnpkg.com/@react-stately/data/-/data-3.11.7.tgz#3c775ad3e90730abe9a2cd832aa59321f1860d26" - integrity sha512-2YJ+Lmca18f/h7jiZiU9j2IhBJl6BFO1BWlwvcCAH/eCWTdveX8gzsUdW++0szzpJaoCilTCYoi8z7QWyVH9jQ== - dependencies: - "@react-types/shared" "^3.25.0" - "@swc/helpers" "^0.5.0" - -"@react-stately/datepicker@^3.10.3": - version "3.10.3" - resolved "https://registry.yarnpkg.com/@react-stately/datepicker/-/datepicker-3.10.3.tgz#4c7ea07cc1e0d145c8ce1ad406ca44470e654c4c" - integrity sha512-6PJW1QMwk6BQMktV9L6DA4f2rfAdLfbq3iTNLy4qxd5IfNPLMUZiJGGTj+cuqx0WcEl+q5irp+YhKBpbmhPZHg== - dependencies: - "@internationalized/date" "^3.5.6" - "@internationalized/string" "^3.2.4" - "@react-stately/form" "^3.0.6" - "@react-stately/overlays" "^3.6.11" - "@react-stately/utils" "^3.10.4" - "@react-types/datepicker" "^3.8.3" - "@react-types/shared" "^3.25.0" - "@swc/helpers" "^0.5.0" - -"@react-stately/disclosure@3.0.0-alpha.0": - version "3.0.0-alpha.0" - resolved "https://registry.yarnpkg.com/@react-stately/disclosure/-/disclosure-3.0.0-alpha.0.tgz#ca49b31a53dc2eeef7cee7f45bad8488f78b4460" - integrity sha512-CbFUrEwhsP5+44PMHipn/Cd61VTvqyKmx1yeNDyvj/4bYhmxYLgQp/Ma+iEqe23JkXJh2JO/ws3l9FnebScCJQ== - dependencies: - "@react-stately/utils" "^3.10.4" - "@react-types/shared" "^3.25.0" - "@swc/helpers" "^0.5.0" - -"@react-stately/dnd@^3.4.3": - version "3.4.3" - resolved "https://registry.yarnpkg.com/@react-stately/dnd/-/dnd-3.4.3.tgz#c9c82729d18e3e48a174a58d607f81458b7785ac" - integrity sha512-sUvhmMxFEw6P2MW7walx0ntakIihxdPxA06K9YZ3+ReaUvzQuRw5cFDaTTHrlegWRMYD0CyQaKlGIaTQihhvVA== - dependencies: - "@react-stately/selection" "^3.17.0" - "@react-types/shared" "^3.25.0" - "@swc/helpers" "^0.5.0" - -"@react-stately/flags@^3.0.4": - version "3.0.4" - resolved "https://registry.yarnpkg.com/@react-stately/flags/-/flags-3.0.4.tgz#ac778647733b6f7c46f4b0f907cec82f08986490" - integrity sha512-RNJEkOALwKg+JeYsfNlfPc4GXm7hiBLX0yuHOkRapWEyDOfi0cinkV/TZG4goOZdQ5tBpHmemf2qqiHAxqHlzQ== - dependencies: - "@swc/helpers" "^0.5.0" - -"@react-stately/form@^3.0.6": - version "3.0.6" - resolved "https://registry.yarnpkg.com/@react-stately/form/-/form-3.0.6.tgz#788c837a7967a499366928a91738b15dd7f87d77" - integrity sha512-KMsxm3/V0iCv/6ikt4JEjVM3LW2AgCzo7aNotMzRobtwIo0RwaUo7DQNY00rGgFQ3/IjzI6DcVo13D+AVE/zXg== - dependencies: - "@react-types/shared" "^3.25.0" - "@swc/helpers" "^0.5.0" - -"@react-stately/grid@^3.9.3": - version "3.9.3" - resolved "https://registry.yarnpkg.com/@react-stately/grid/-/grid-3.9.3.tgz#1ead7cc7b6d036c4609692eaf818a70f472ba8c8" - integrity sha512-P5KgCNYwm/n8bbLx6527li89RQWoESikrsg2MMyUpUd6IJ321t2pGONGRRQzxE0SBMolPRDJKV0Do2OlsjYKhQ== - dependencies: - "@react-stately/collections" "^3.11.0" - "@react-stately/selection" "^3.17.0" - "@react-types/grid" "^3.2.9" - "@react-types/shared" "^3.25.0" - "@swc/helpers" "^0.5.0" - -"@react-stately/layout@^4.0.3": - version "4.0.3" - resolved "https://registry.yarnpkg.com/@react-stately/layout/-/layout-4.0.3.tgz#6b6747cbb582c900def6f8ffe516839763a68809" - integrity sha512-zFLXnPalWWVCdFGcPAb+nywSTz/xAnKRxb7zT+YDa5U80DHArDGKZcQ+by0+2Sf8yaYolROco4my+BERPXJB6A== - dependencies: - "@react-stately/collections" "^3.11.0" - "@react-stately/table" "^3.12.3" - "@react-stately/virtualizer" "^4.1.0" - "@react-types/grid" "^3.2.9" - "@react-types/shared" "^3.25.0" - "@react-types/table" "^3.10.2" - "@swc/helpers" "^0.5.0" - -"@react-stately/list@^3.11.0": - version "3.11.0" - resolved "https://registry.yarnpkg.com/@react-stately/list/-/list-3.11.0.tgz#8bb5d43f6468510562d1023a59f039052a7237f8" - integrity sha512-O+BxXcbtoLZWn4QIT54RoFUaM+QaJQm6s0ZBJ3Jv4ILIhukVOc55ra+aWMVlXFQSpbf6I3hyVP6cz1yyvd5Rtw== - dependencies: - "@react-stately/collections" "^3.11.0" - "@react-stately/selection" "^3.17.0" - "@react-stately/utils" "^3.10.4" - "@react-types/shared" "^3.25.0" - "@swc/helpers" "^0.5.0" - -"@react-stately/menu@^3.8.3": - version "3.8.3" - resolved "https://registry.yarnpkg.com/@react-stately/menu/-/menu-3.8.3.tgz#88656fc799ab8591650c87711688a8ccb7986c2e" - integrity sha512-sV63V+cMgzipx/N7dq5GaXoItfXIfFEpCtlk3PM2vKstlCJalszXrdo+x996bkeU96h0plB7znAlhlXOeTKzUg== - dependencies: - "@react-stately/overlays" "^3.6.11" - "@react-types/menu" "^3.9.12" - "@react-types/shared" "^3.25.0" - "@swc/helpers" "^0.5.0" - -"@react-stately/numberfield@^3.9.7": - version "3.9.7" - resolved "https://registry.yarnpkg.com/@react-stately/numberfield/-/numberfield-3.9.7.tgz#5685d108339ca627b43158630cba09e84a7f5bf4" - integrity sha512-PjSgCCpYasGCEAznFQNqa2JhhEQ5+/2eMiV7ZI5j76q3edTNF8G5OOCl2RazDbzFp6vDAnRVT7Kctx5Tl5R/Zw== - dependencies: - "@internationalized/number" "^3.5.4" - "@react-stately/form" "^3.0.6" - "@react-stately/utils" "^3.10.4" - "@react-types/numberfield" "^3.8.6" - "@swc/helpers" "^0.5.0" - -"@react-stately/overlays@^3.6.11": - version "3.6.11" - resolved "https://registry.yarnpkg.com/@react-stately/overlays/-/overlays-3.6.11.tgz#67d413853d47d49ed2687c6b74b1749f4b26da6e" - integrity sha512-usuxitwOx4FbmOW7Og4VM8R8ZjerbHZLLbFaxZW7pWLs7Ypway1YhJ3SWcyNTYK7NEk4o602kSoU6MSev1Vgag== - dependencies: - "@react-stately/utils" "^3.10.4" - "@react-types/overlays" "^3.8.10" - "@swc/helpers" "^0.5.0" - -"@react-stately/radio@^3.10.8": - version "3.10.8" - resolved "https://registry.yarnpkg.com/@react-stately/radio/-/radio-3.10.8.tgz#1b6e146dc402ce9de05176be6fd75ed260a674c5" - integrity sha512-VRq6Gzsbk3jzX6hdrSoDoSra9vLRsOi2pLkvW/CMrJ0GSgMwr8jjvJKnNFvYJ3eYQb20EwkarsOAfk7vPSIt/Q== - dependencies: - "@react-stately/form" "^3.0.6" - "@react-stately/utils" "^3.10.4" - "@react-types/radio" "^3.8.4" - "@react-types/shared" "^3.25.0" - "@swc/helpers" "^0.5.0" - -"@react-stately/searchfield@^3.5.7": - version "3.5.7" - resolved "https://registry.yarnpkg.com/@react-stately/searchfield/-/searchfield-3.5.7.tgz#7cfe3ec976f59cbda038bef775abe66e3b5bbf15" - integrity sha512-VxEG4tWDypdXQ8f7clZBu5Qmc4osqDBeA/gNMA2i1j/h2zRVcCJ0fRCHuDeXLSWBqF1XXAI4TWV53fBBwJusbg== - dependencies: - "@react-stately/utils" "^3.10.4" - "@react-types/searchfield" "^3.5.9" - "@swc/helpers" "^0.5.0" - -"@react-stately/select@^3.6.8": - version "3.6.8" - resolved "https://registry.yarnpkg.com/@react-stately/select/-/select-3.6.8.tgz#37d331a4cf248c428aad5fc1349a7cdcae12f89b" - integrity sha512-fLAVzGeYSdYdBdrEVws6Pb1ywFPdapA0eWphoW5s3fS0/pKcVWwbCHeHlaBEi1ISyqEubQZFGQdeFKm/M46Hew== - dependencies: - "@react-stately/form" "^3.0.6" - "@react-stately/list" "^3.11.0" - "@react-stately/overlays" "^3.6.11" - "@react-types/select" "^3.9.7" - "@react-types/shared" "^3.25.0" - "@swc/helpers" "^0.5.0" - -"@react-stately/selection@^3.17.0": - version "3.17.0" - resolved "https://registry.yarnpkg.com/@react-stately/selection/-/selection-3.17.0.tgz#92ada2cfe00bf47a5c4a53b2809c6703d71a9798" - integrity sha512-It3LRTaFOavybuDBvBH2mvCh73OL4awqvN4tZ0JzLzMtaYSBe9+YmFasYrzB0o7ca17B2q1tpUmsNWaAgIqbLA== - dependencies: - "@react-stately/collections" "^3.11.0" - "@react-stately/utils" "^3.10.4" - "@react-types/shared" "^3.25.0" - "@swc/helpers" "^0.5.0" - -"@react-stately/slider@^3.5.8": - version "3.5.8" - resolved "https://registry.yarnpkg.com/@react-stately/slider/-/slider-3.5.8.tgz#b5370f2bc0b8833a191b9ce1e0d48e49d4b44972" - integrity sha512-EDgbrxMq1w3+XTN72MGl3YtAG/j65EYX1Uc3Fh56K00+inJbTdRWyYTrb3NA310fXCd0WFBbzExuH2ohlKQycg== - dependencies: - "@react-stately/utils" "^3.10.4" - "@react-types/shared" "^3.25.0" - "@react-types/slider" "^3.7.6" - "@swc/helpers" "^0.5.0" - -"@react-stately/table@^3.12.3": - version "3.12.3" - resolved "https://registry.yarnpkg.com/@react-stately/table/-/table-3.12.3.tgz#aae5fa267af2de6ed77a79b8482758ffdd318e80" - integrity sha512-8uGrLcNJYeMbFtzRQZFWCBj5kV+7v3jzwoKIL1j9TmYUKow1PTDMQbPJpAZLQhnC2wVMlaFVgDbedSlbBij7Zg== - dependencies: - "@react-stately/collections" "^3.11.0" - "@react-stately/flags" "^3.0.4" - "@react-stately/grid" "^3.9.3" - "@react-stately/selection" "^3.17.0" - "@react-stately/utils" "^3.10.4" - "@react-types/grid" "^3.2.9" - "@react-types/shared" "^3.25.0" - "@react-types/table" "^3.10.2" - "@swc/helpers" "^0.5.0" - -"@react-stately/tabs@^3.6.10": - version "3.6.10" - resolved "https://registry.yarnpkg.com/@react-stately/tabs/-/tabs-3.6.10.tgz#89543e109e473b308ec12f2bc62ba99c74038f70" - integrity sha512-F7wfoiNsrBy7c02AYHyE1USGgj05HQ0hp7uXmQjp2LEa+AA0NKKi3HdswTHHySxb0ZRuoEE7E7vp/gXQYx2/Ow== - dependencies: - "@react-stately/list" "^3.11.0" - "@react-types/shared" "^3.25.0" - "@react-types/tabs" "^3.3.10" - "@swc/helpers" "^0.5.0" - -"@react-stately/toggle@^3.7.8": - version "3.7.8" - resolved "https://registry.yarnpkg.com/@react-stately/toggle/-/toggle-3.7.8.tgz#14bcc21a50c7196c084542aa83584db86c911d13" - integrity sha512-ySOtkByvIY54yIu8IZ4lnvomQA0H+/mkZnd6T5fKN3tjvIzHmkUk3TAPmNInUxHX148tSW6mWwec0xvjYqEd6w== - dependencies: - "@react-stately/utils" "^3.10.4" - "@react-types/checkbox" "^3.8.4" - "@swc/helpers" "^0.5.0" - -"@react-stately/tooltip@^3.4.13": - version "3.4.13" - resolved "https://registry.yarnpkg.com/@react-stately/tooltip/-/tooltip-3.4.13.tgz#72381ef42afd6731d4a1b51c30632bb8d07f1757" - integrity sha512-zQ+8FQ7Pi0Cz852dltXb6yaryjE18K3byK4tIO3e5vnrZHEGvfdxowc+v9ak5UV93kVrYoOVmfZHRcEaTXTBNA== - dependencies: - "@react-stately/overlays" "^3.6.11" - "@react-types/tooltip" "^3.4.12" - "@swc/helpers" "^0.5.0" - -"@react-stately/tree@^3.8.5": - version "3.8.5" - resolved "https://registry.yarnpkg.com/@react-stately/tree/-/tree-3.8.5.tgz#4c08d29c75a809265c7ead00b78e26d10bb7aea7" - integrity sha512-0/tYhsKWQQJTOZFDwh8hY3Qk6ejNFRldGrLeK5kS22UZdvsMFyh7WAi40FTCJy561/VoB0WqQI4oyNPOa9lYWg== - dependencies: - "@react-stately/collections" "^3.11.0" - "@react-stately/selection" "^3.17.0" - "@react-stately/utils" "^3.10.4" - "@react-types/shared" "^3.25.0" - "@swc/helpers" "^0.5.0" - -"@react-stately/utils@^3.10.4": - version "3.10.4" - resolved "https://registry.yarnpkg.com/@react-stately/utils/-/utils-3.10.4.tgz#310663a834b67048d305e1680ed258130092fe51" - integrity sha512-gBEQEIMRh5f60KCm7QKQ2WfvhB2gLUr9b72sqUdIZ2EG+xuPgaIlCBeSicvjmjBvYZwOjoOEnmIkcx2GHp/HWw== - dependencies: - "@swc/helpers" "^0.5.0" - -"@react-stately/virtualizer@^4.1.0": - version "4.1.0" - resolved "https://registry.yarnpkg.com/@react-stately/virtualizer/-/virtualizer-4.1.0.tgz#5b3d4eddccf1d550334e9357fe978ba1fc51f8c7" - integrity sha512-MOaqpY3NloXrpCBvVUb3HL1p3Bh4YRtUq8D2ufC909u5vM6n6G5Swk1XPJ9KHfaftGhb5serwLkm2/Aha5CTbA== - dependencies: - "@react-aria/utils" "^3.25.3" - "@react-types/shared" "^3.25.0" - "@swc/helpers" "^0.5.0" - -"@react-types/accordion@3.0.0-alpha.24": - version "3.0.0-alpha.24" - resolved "https://registry.yarnpkg.com/@react-types/accordion/-/accordion-3.0.0-alpha.24.tgz#69a4c60606ae092a374747337a0511a8f46a4d5c" - integrity sha512-hwDT4TJH7aHCG8m9QsTP+7xgW7x7k2TY+WHlMRr6qDS6WhTCwd41dCdagxC0SZtulzZuWqISBxZifVrh4Tynew== - dependencies: - "@react-types/shared" "^3.25.0" - -"@react-types/breadcrumbs@^3.7.8": - version "3.7.8" - resolved "https://registry.yarnpkg.com/@react-types/breadcrumbs/-/breadcrumbs-3.7.8.tgz#edcde11c06bad19008a066fa0a91eb5fda9723f5" - integrity sha512-+BW2a+PrY8ArZ+pKecz13oJFrUAhthvXx17o3x0BhWUhRpAdtmTYt2hjw8zNanm2j0Kvgo1HYKgvtskCRxYcOA== - dependencies: - "@react-types/link" "^3.5.8" - "@react-types/shared" "^3.25.0" - -"@react-types/button@^3.10.0": - version "3.10.0" - resolved "https://registry.yarnpkg.com/@react-types/button/-/button-3.10.0.tgz#5044648401f9842c47a433c66180a5a520cc29af" - integrity sha512-rAyU+N9VaHLBdZop4zasn8IDwf9I5Q1EzHUKMtzIFf5aUlMUW+K460zI/l8UESWRSWAXK9/WPSXGxfcoCEjvAA== - dependencies: - "@react-types/shared" "^3.25.0" - -"@react-types/calendar@^3.4.10": - version "3.4.10" - resolved "https://registry.yarnpkg.com/@react-types/calendar/-/calendar-3.4.10.tgz#65011c31fb497e25bd98d19c84da3b8d63d5a3aa" - integrity sha512-PyjqxwJxSW2IpQx6y0D9O34fRCWn1gv9q0qFhgaIigIQrPg8zTE/CC7owHLxAtgCnnCt8exJ5rqi414csaHKlA== - dependencies: - "@internationalized/date" "^3.5.6" - "@react-types/shared" "^3.25.0" - -"@react-types/checkbox@^3.8.4": - version "3.8.4" - resolved "https://registry.yarnpkg.com/@react-types/checkbox/-/checkbox-3.8.4.tgz#a51b90025fd362d8b755d8a95640a0134124f688" - integrity sha512-fvZrlQmlFNsYHZpl7GVmyYQlKdUtO5MczMSf8z3TlSiCb5Kl3ha9PsZgLhJqGuVnzB2ArIBz0eZrYa3k0PhcpA== - dependencies: - "@react-types/shared" "^3.25.0" - -"@react-types/color@^3.0.0": - version "3.0.0" - resolved "https://registry.yarnpkg.com/@react-types/color/-/color-3.0.0.tgz#85965ce25e5d86e544b9be3603fd59c60c087d3c" - integrity sha512-VUH8CROAM69GsMBilrJ1xyAdVsWL01nXQYrkZJxAEApv1OrcpIGSdsXLcGrjsrhjjiNVXxWFnqYRMsKkLzIl7g== - dependencies: - "@react-types/shared" "^3.25.0" - "@react-types/slider" "^3.7.6" - -"@react-types/combobox@^3.13.0": - version "3.13.0" - resolved "https://registry.yarnpkg.com/@react-types/combobox/-/combobox-3.13.0.tgz#2969ae4121c6d4c7a9e843530f60d9da6b520f49" - integrity sha512-kH/a+Fjpr54M2JbHg9RXwMjZ9O+XVsdOuE5JCpWRibJP1Mfl1md8gY6y6zstmVY8COrSqFvMZWB+PzwaTWjTGw== - dependencies: - "@react-types/shared" "^3.25.0" - -"@react-types/datepicker@^3.8.3": - version "3.8.3" - resolved "https://registry.yarnpkg.com/@react-types/datepicker/-/datepicker-3.8.3.tgz#3d54003a92c3a37f35309373ddbb9c663135b631" - integrity sha512-Y4qfPRBB6uzocosCOWSYMuwiZ3YXwLWQYiFB4KCglkvHyltbNz76LgoBEnclYA5HjwosIk4XywiXvHSYry8JnQ== - dependencies: - "@internationalized/date" "^3.5.6" - "@react-types/calendar" "^3.4.10" - "@react-types/overlays" "^3.8.10" - "@react-types/shared" "^3.25.0" - -"@react-types/dialog@^3.5.13": - version "3.5.13" - resolved "https://registry.yarnpkg.com/@react-types/dialog/-/dialog-3.5.13.tgz#7100f9d5a25626cea2d2d8a755f4c0aa625faa68" - integrity sha512-9k8daVcAqQsySkzDY6NIVlyGxtpEip4TKuLyzAehthbv78GQardD5fHdjQ6eXPRS4I2qZrmytrFFrlOnwWVGHw== - dependencies: - "@react-types/overlays" "^3.8.10" - "@react-types/shared" "^3.25.0" - -"@react-types/form@^3.7.7": - version "3.7.7" - resolved "https://registry.yarnpkg.com/@react-types/form/-/form-3.7.7.tgz#9eb064e317341d2a8c6961c933f7b0a9426d4ccc" - integrity sha512-CVRjCawPhYRHi/LuikOC2kz5vgvmjjKmF4/wUgR2QzD1Ok4wY1ZGSx9M9EZptCIZAt2mToR6woyLUdtzy+foeQ== - dependencies: - "@react-types/shared" "^3.25.0" - -"@react-types/grid@^3.2.9": - version "3.2.9" - resolved "https://registry.yarnpkg.com/@react-types/grid/-/grid-3.2.9.tgz#2a3e7b78cdca2df60e408b6f4f2bc6173ac98a0e" - integrity sha512-eMw0d2UIZ4QTzGgD1wGGPw0cv67KjAOCp4TcwWjgDV7Wa5SVV/UvOmpnIVDyfhkG/4KRI5OR9h+isy76B726qA== - dependencies: - "@react-types/shared" "^3.25.0" - -"@react-types/link@^3.5.8": - version "3.5.8" - resolved "https://registry.yarnpkg.com/@react-types/link/-/link-3.5.8.tgz#6a21ec7999cc1a5dbc71456b0739e27054114c3a" - integrity sha512-l/YGXddgAbLnIT7ekftXrK1D4n8NlLQwx0d4usyZpaxP1KwPzuwng20DxynamLc1atoKBqbUtZAnz32pe7vYgw== - dependencies: - "@react-types/shared" "^3.25.0" - -"@react-types/listbox@^3.5.2": - version "3.5.2" - resolved "https://registry.yarnpkg.com/@react-types/listbox/-/listbox-3.5.2.tgz#4a807338574e0560d0411b6ce60661d4ca74be6b" - integrity sha512-ML/Bt/MeO0FiixcuFQ+smpu1WguxTOqHDjSnhc1vcNxVQFWQOhyVy01LAY2J/T9TjfjyYGD41vyMTI0f6fcLEQ== - dependencies: - "@react-types/shared" "^3.25.0" - -"@react-types/menu@^3.9.12": - version "3.9.12" - resolved "https://registry.yarnpkg.com/@react-types/menu/-/menu-3.9.12.tgz#d8dd7ec5bdc4435db463cf56e79219a0f4a1a667" - integrity sha512-1SPnkHKJdvOfwv9fEgK1DI6DYRs4D3hW2XcWlLhVXSjaC68CzOHGwFhKIKvZiDTW/11L770PRSEloIxHR09uFQ== - dependencies: - "@react-types/overlays" "^3.8.10" - "@react-types/shared" "^3.25.0" - -"@react-types/meter@^3.4.4": - version "3.4.4" - resolved "https://registry.yarnpkg.com/@react-types/meter/-/meter-3.4.4.tgz#e554eafa4583883b1f29bdc42a54e59c1a72e468" - integrity sha512-0SEmPkShByC1gYkW7l+iJPg8QfEe2VrgwTciAtTfC4KIqAYmJVQtq6L+4d72EMxOh8RpQHePaY/RFHEJXAh72A== - dependencies: - "@react-types/progress" "^3.5.7" - -"@react-types/numberfield@^3.8.6": - version "3.8.6" - resolved "https://registry.yarnpkg.com/@react-types/numberfield/-/numberfield-3.8.6.tgz#58bf9d5157f5c217a198a284a11382fb5bbb737f" - integrity sha512-VtWEMAXUO1S9EEZI8whc7xv6DVccxhbWsRthMCg/LxiwU3U5KAveadNc2c5rtXkRpd3cnD5xFzz3dExXdmHkAg== - dependencies: - "@react-types/shared" "^3.25.0" - -"@react-types/overlays@^3.8.10": - version "3.8.10" - resolved "https://registry.yarnpkg.com/@react-types/overlays/-/overlays-3.8.10.tgz#9315b7d376f2877ef531cb42217327833eabcd15" - integrity sha512-IcnB+VYfAJazRjWhBKZTmVMh3KTp/B1rRbcKkPx6t8djP9UQhKcohP7lAALxjJ56Jjz/GFC6rWyUcnYH0NFVRA== - dependencies: - "@react-types/shared" "^3.25.0" - -"@react-types/progress@^3.5.7": - version "3.5.7" - resolved "https://registry.yarnpkg.com/@react-types/progress/-/progress-3.5.7.tgz#adba7b5a15163f9c523a00a681513aa37e688314" - integrity sha512-EqMDHmlpoZUZzTjdejGIkSM0pS2LBI9NdadHf3bDNTycHv+5L1xpMHUg8RGOW8a3sRVLRvfN1aO9l75QZkyj+w== - dependencies: - "@react-types/shared" "^3.25.0" - -"@react-types/radio@^3.8.4": - version "3.8.4" - resolved "https://registry.yarnpkg.com/@react-types/radio/-/radio-3.8.4.tgz#5133d4cd666f20d2449941ca88abe6e56a5c07ff" - integrity sha512-GCuOwQL19iwKa74NAIk9hv4ivyI8oW1+ZCuc2fzyDdeQjzTIlv3qrIyShwpVy1IoI7/4DYTMZm/YXPoKhu5TTA== - dependencies: - "@react-types/shared" "^3.25.0" - -"@react-types/searchfield@^3.5.9": - version "3.5.9" - resolved "https://registry.yarnpkg.com/@react-types/searchfield/-/searchfield-3.5.9.tgz#c7cd9902fd9057baf1eb156dc21e1d7436187ae2" - integrity sha512-c/x8BWpH1Zq+fWpeBtzw2AhQhGi7ahWPicV7PlnqwIGO0MrH/QCjX0dj+I+1xpcAh8Eq6ECa79HE74Rw6aJmFg== - dependencies: - "@react-types/shared" "^3.25.0" - "@react-types/textfield" "^3.9.7" - -"@react-types/select@^3.9.7": - version "3.9.7" - resolved "https://registry.yarnpkg.com/@react-types/select/-/select-3.9.7.tgz#d339cca27414c4f6e0bb5c9501a20d0c6249df42" - integrity sha512-Jva4ixfB4EEdy+WmZkUoLiQI7vVfHPxM73VuL7XDxvAO+YKiIztDTcU720QVNhxTMmQvCxfRBXWar8aodCjLiw== - dependencies: - "@react-types/shared" "^3.25.0" - -"@react-types/shared@^3.25.0": - version "3.25.0" - resolved "https://registry.yarnpkg.com/@react-types/shared/-/shared-3.25.0.tgz#7223baf72256e918a3c29081bb1ecc6fad4fbf58" - integrity sha512-OZSyhzU6vTdW3eV/mz5i6hQwQUhkRs7xwY2d1aqPvTdMe0+2cY7Fwp45PAiwYLEj73i9ro2FxF9qC4DvHGSCgQ== - -"@react-types/slider@^3.7.6": - version "3.7.6" - resolved "https://registry.yarnpkg.com/@react-types/slider/-/slider-3.7.6.tgz#4196b2bc98902b36de6de31a748d04b76770d228" - integrity sha512-z72wnEzSge6qTD9TUoUPp1A4j4jXk/MVii6rGE78XeE/Pq7HyyjU5bCagryMr9PC9MKa/oTiHcshKqWBDf57GA== - dependencies: - "@react-types/shared" "^3.25.0" - -"@react-types/switch@^3.5.6": - version "3.5.6" - resolved "https://registry.yarnpkg.com/@react-types/switch/-/switch-3.5.6.tgz#e18dcce0298ab52b70c9cdcdfe5e16224e7a248d" - integrity sha512-gJ8t2yTCgcitz4ON4ELcLLmtlDkn2MUjjfu3ez/cwA1X/NUluPYkhXj5Z6H+KOlnveqrKCZDRoTgK74cQ6Cvfg== - dependencies: - "@react-types/shared" "^3.25.0" - -"@react-types/table@^3.10.2": - version "3.10.2" - resolved "https://registry.yarnpkg.com/@react-types/table/-/table-3.10.2.tgz#5e0be00eb61899ac6c9c322c6bad9cf94cbe157b" - integrity sha512-YzA4hcsYfnFFpA2UyGb1KKhLpWgaj5daApqjp126tCIosl8k1KxZmhKD50cwH0Jm19lALJseqo5VdlcJtcr4qg== - dependencies: - "@react-types/grid" "^3.2.9" - "@react-types/shared" "^3.25.0" - -"@react-types/tabs@^3.3.10": - version "3.3.10" - resolved "https://registry.yarnpkg.com/@react-types/tabs/-/tabs-3.3.10.tgz#98270b972b48e2272740391aaba033c620dec07e" - integrity sha512-s/Bw/HCIdWJPBw4O703ghKqhjGsIerRMIDxA88hbQYzfTDD6bkFDjCnsP2Tyy1G8Dg2rSPFUEE+k+PpLzqeEfQ== - dependencies: - "@react-types/shared" "^3.25.0" - -"@react-types/textfield@^3.9.7": - version "3.9.7" - resolved "https://registry.yarnpkg.com/@react-types/textfield/-/textfield-3.9.7.tgz#79b0bd2286dbf8ba39233279d1d7a3a3575ad553" - integrity sha512-vU5+QCOF9HgWGjAmmy+cpJibVW5voFomC5POmYHokm7kivYcMMjlonsgWwg/0xXrqE2qosH3tpz4jFoEuig1NQ== - dependencies: - "@react-types/shared" "^3.25.0" - -"@react-types/tooltip@^3.4.12": - version "3.4.12" - resolved "https://registry.yarnpkg.com/@react-types/tooltip/-/tooltip-3.4.12.tgz#70f5f1552a8c68fc21e5c400481c0f7fedc5ce30" - integrity sha512-FwsdSQ3UDIDORanQMGMLyzSUabw4AkKhwcRdPv4d5OT8GmJr7mBdZynfcsrKLJ0fzskIypMqspoutZidsI0MQg== - dependencies: - "@react-types/overlays" "^3.8.10" - "@react-types/shared" "^3.25.0" - -"@rollup/plugin-babel@^5.2.0": - version "5.3.1" - resolved "https://registry.yarnpkg.com/@rollup/plugin-babel/-/plugin-babel-5.3.1.tgz#04bc0608f4aa4b2e4b1aebf284344d0f68fda283" - integrity sha512-WFfdLWU/xVWKeRQnKmIAQULUI7Il0gZnBIH/ZFO069wYIfPu+8zrfp/KMW0atmELoRDq8FbiP3VCss9MhCut7Q== - dependencies: - "@babel/helper-module-imports" "^7.10.4" - "@rollup/pluginutils" "^3.1.0" - -"@rollup/plugin-commonjs@^21.0.0": - version "21.1.0" - resolved "https://registry.yarnpkg.com/@rollup/plugin-commonjs/-/plugin-commonjs-21.1.0.tgz#45576d7b47609af2db87f55a6d4b46e44fc3a553" - integrity sha512-6ZtHx3VHIp2ReNNDxHjuUml6ur+WcQ28N1yHgCQwsbNkQg2suhxGMDQGJOn/KuDxKtd1xuZP5xSTwBA4GQ8hbA== - dependencies: - "@rollup/pluginutils" "^3.1.0" - commondir "^1.0.1" - estree-walker "^2.0.1" - glob "^7.1.6" - is-reference "^1.2.1" - magic-string "^0.25.7" - resolve "^1.17.0" - -"@rollup/plugin-inject@^4.0.2": - version "4.0.4" - resolved "https://registry.yarnpkg.com/@rollup/plugin-inject/-/plugin-inject-4.0.4.tgz#fbeee66e9a700782c4f65c8b0edbafe58678fbc2" - integrity sha512-4pbcU4J/nS+zuHk+c+OL3WtmEQhqxlZ9uqfjQMQDOHOPld7PsCd8k5LWs8h5wjwJN7MgnAn768F2sDxEP4eNFQ== - dependencies: - "@rollup/pluginutils" "^3.1.0" - estree-walker "^2.0.1" - magic-string "^0.25.7" - -"@rollup/plugin-json@^4.1.0": - version "4.1.0" - resolved "https://registry.yarnpkg.com/@rollup/plugin-json/-/plugin-json-4.1.0.tgz#54e09867ae6963c593844d8bd7a9c718294496f3" - integrity sha512-yfLbTdNS6amI/2OpmbiBoW12vngr5NW2jCJVZSBEz+H5KfUJZ2M7sDjk0U6GOOdCWFVScShte29o9NezJ53TPw== - dependencies: - "@rollup/pluginutils" "^3.0.8" - -"@rollup/plugin-node-resolve@^11.0.0": - version "11.2.1" - resolved "https://registry.yarnpkg.com/@rollup/plugin-node-resolve/-/plugin-node-resolve-11.2.1.tgz#82aa59397a29cd4e13248b106e6a4a1880362a60" - integrity sha512-yc2n43jcqVyGE2sqV5/YCmocy9ArjVAP/BeXyTtADTBBX6V0e5UMqwO8CdQ0kzjb6zu5P1qMzsScCMRvE9OlVg== - dependencies: - "@rollup/pluginutils" "^3.1.0" - "@types/resolve" "1.17.1" - builtin-modules "^3.1.0" - deepmerge "^4.2.2" - is-module "^1.0.0" - resolve "^1.19.0" - -"@rollup/pluginutils@^3.0.8", "@rollup/pluginutils@^3.1.0": - version "3.1.0" - resolved "https://registry.yarnpkg.com/@rollup/pluginutils/-/pluginutils-3.1.0.tgz#706b4524ee6dc8b103b3c995533e5ad680c02b9b" - integrity sha512-GksZ6pr6TpIjHm8h9lSQ8pi8BE9VeubNT0OMJ3B5uZJ8pz73NPiqOtCog/x2/QzM1ENChPKxMDhiQuRHsqc+lg== - dependencies: - "@types/estree" "0.0.39" - estree-walker "^1.0.1" - picomatch "^2.2.2" - -"@rollup/pluginutils@^4.0.0": - version "4.2.1" - resolved "https://registry.yarnpkg.com/@rollup/pluginutils/-/pluginutils-4.2.1.tgz#e6c6c3aba0744edce3fb2074922d3776c0af2a6d" - integrity sha512-iKnFXr7NkdZAIHiIWE+BX5ULi/ucVFYWD6TbAV+rZctiRTY2PL6tsIKhoIOaoskiWAkgu+VsbXgUVDNLHf+InQ== - dependencies: - estree-walker "^2.0.1" - picomatch "^2.2.2" - -"@rtsao/scc@^1.1.0": - version "1.1.0" - resolved "https://registry.yarnpkg.com/@rtsao/scc/-/scc-1.1.0.tgz#927dd2fae9bc3361403ac2c7a00c32ddce9ad7e8" - integrity sha512-zt6OdqaDoOnJ1ZYsCYGt9YmWzDXl4vQdKTyJev62gFhRGKdx7mcT54V9KIjg+d2wi9EXsPvAPKe7i7WjfVWB8g== - -"@samverschueren/stream-to-observable@^0.3.0": - version "0.3.1" - resolved "https://registry.yarnpkg.com/@samverschueren/stream-to-observable/-/stream-to-observable-0.3.1.tgz#a21117b19ee9be70c379ec1877537ef2e1c63301" - integrity sha512-c/qwwcHyafOQuVQJj0IlBjf5yYgBI7YPJ77k4fOJYesb41jio65eaJODRUmfYKhTOFBrIZ66kgvGPlNbjuoRdQ== - dependencies: - any-observable "^0.3.0" - -"@sharegate/eslint-plugin@3.2.0": - version "3.2.0" - resolved "https://registry.yarnpkg.com/@sharegate/eslint-plugin/-/eslint-plugin-3.2.0.tgz#58f299c76f5bb25b72bb58dd8f900d507447d5b5" - integrity sha512-aj7BfCtUBFbzllOnOv8Uj0CAKqm571/eYQcLWmfYR75K1y9ETY+b2p03Rmxm6RIv0gyos8rT9ysmgG4UKBSYgw== - dependencies: - "@next/eslint-plugin-next" "^13" - "@typescript-eslint/eslint-plugin" "^5" - eslint-plugin-import "^2" - eslint-plugin-jest "^27" - eslint-plugin-jsx-a11y "^6" - eslint-plugin-lodash "^7" - eslint-plugin-mdx "^2" - eslint-plugin-react "^7" - eslint-plugin-react-hooks "^4" - eslint-plugin-react-query "^1" - eslint-plugin-sort-imports-es6-autofix "^0" - eslint-plugin-storybook "^0" - eslint-plugin-testing-library "^5" - -"@sharegate/stylelint-plugin@1.0.1": - version "1.0.1" - resolved "https://registry.yarnpkg.com/@sharegate/stylelint-plugin/-/stylelint-plugin-1.0.1.tgz#31eb45230a5b0cc803a308d8d7ebaaaeff963608" - integrity sha512-qJxZz/hkGjpho2WlCOM1djjCOEiR0lYk6SOQJDQnJ1dgnkmRYkD0e1VVoHeQlZvAe8RvrgWN7mpvdg6uRfRkww== - dependencies: - stylelint-config-recommended "^9" - -"@sharegate/typescript-config@1.1.1": - version "1.1.1" - resolved "https://registry.yarnpkg.com/@sharegate/typescript-config/-/typescript-config-1.1.1.tgz#dca01f4dad77310f7c6c7ae4f64ab99dce070660" - integrity sha512-GhgJWeUun3ERqV7y+ql7QbpyfTN7uhEGchwNX287bs3xDEBg7peXoQKmI5t9tbSbOw7D0XZP6n+CAoVlUVYw5g== - -"@sideway/address@^4.1.5": - version "4.1.5" - resolved "https://registry.yarnpkg.com/@sideway/address/-/address-4.1.5.tgz#4bc149a0076623ced99ca8208ba780d65a99b9d5" - integrity sha512-IqO/DUQHUkPeixNQ8n0JA6102hT9CmaljNTPmQ1u8MEhBo/R4Q8eKLN/vGZxuebwOroDB4cbpjheD4+/sKFK4Q== - dependencies: - "@hapi/hoek" "^9.0.0" - -"@sideway/formula@^3.0.1": - version "3.0.1" - resolved "https://registry.yarnpkg.com/@sideway/formula/-/formula-3.0.1.tgz#80fcbcbaf7ce031e0ef2dd29b1bfc7c3f583611f" - integrity sha512-/poHZJJVjx3L+zVD6g9KgHfYnb443oi7wLu/XKojDviHy6HOEOA6z1Trk5aR1dGcmPenJEgb2sK2I80LeS3MIg== - -"@sideway/pinpoint@^2.0.0": - version "2.0.0" - resolved "https://registry.yarnpkg.com/@sideway/pinpoint/-/pinpoint-2.0.0.tgz#cff8ffadc372ad29fd3f78277aeb29e632cc70df" - integrity sha512-RNiOoTPkptFtSVzQevY/yWtZwf/RxyVnPy/OcA9HBM3MlGDnBEYL5B41H0MTn0Uec8Hi+2qUtTfG2WWZBmMejQ== - -"@sinclair/typebox@^0.27.8": - version "0.27.8" - resolved "https://registry.yarnpkg.com/@sinclair/typebox/-/typebox-0.27.8.tgz#6667fac16c436b5434a387a34dedb013198f6e6e" - integrity sha512-+Fj43pSMwJs4KRrH/938Uf+uAELIgVBmQzg/q1YG10djyfA3TnrU8N8XzqCh/okZdszqBQTZf96idMfE5lnwTA== - -"@sindresorhus/is@^0.14.0": - version "0.14.0" - resolved "https://registry.yarnpkg.com/@sindresorhus/is/-/is-0.14.0.tgz#9fb3a3cf3132328151f353de4632e01e52102bea" - integrity sha512-9NET910DNaIPngYnLLPeg+Ogzqsi9uM4mSboU5y6p8S5DzMTVEsJZrawi+BoDNUVBa2DhJqQYUFvMDfgU062LQ== - -"@sindresorhus/is@^0.7.0": - version "0.7.0" - resolved "https://registry.yarnpkg.com/@sindresorhus/is/-/is-0.7.0.tgz#9a06f4f137ee84d7df0460c1fdb1135ffa6c50fd" - integrity sha512-ONhaKPIufzzrlNbqtWFFd+jlnemX6lJAgq9ZeiZtS7I1PIf/la7CW4m83rTXRnVnsMbW2k56pGYu7AUFJD9Pow== - -"@sindresorhus/is@^2.0.0": - version "2.1.1" - resolved "https://registry.yarnpkg.com/@sindresorhus/is/-/is-2.1.1.tgz#ceff6a28a5b4867c2dd4a1ba513de278ccbe8bb1" - integrity sha512-/aPsuoj/1Dw/kzhkgz+ES6TxG0zfTMGLwuK2ZG00k/iJzYHTLCE8mVU8EPqEOp/lmxPoq1C1C9RYToRKb2KEfg== - -"@sindresorhus/slugify@^1.1.0": - version "1.1.2" - resolved "https://registry.yarnpkg.com/@sindresorhus/slugify/-/slugify-1.1.2.tgz#c2c0129298b8caace2d9156176fe244d0e83156c" - integrity sha512-V9nR/W0Xd9TSGXpZ4iFUcFGhuOJtZX82Fzxj1YISlbSgKvIiNa7eLEZrT0vAraPOt++KHauIVNYgGRgjc13dXA== - dependencies: - "@sindresorhus/transliterate" "^0.1.1" - escape-string-regexp "^4.0.0" - -"@sindresorhus/slugify@^2.0.0": - version "2.2.1" - resolved "https://registry.yarnpkg.com/@sindresorhus/slugify/-/slugify-2.2.1.tgz#fa2e2e25d6e1e74a2eeb5e2c37f5ccc516ed2c4b" - integrity sha512-MkngSCRZ8JdSOCHRaYd+D01XhvU3Hjy6MGl06zhOk614hp9EOAp5gIkBeQg7wtmxpitU6eAL4kdiRMcJa2dlrw== - dependencies: - "@sindresorhus/transliterate" "^1.0.0" - escape-string-regexp "^5.0.0" - -"@sindresorhus/transliterate@^0.1.1": - version "0.1.2" - resolved "https://registry.yarnpkg.com/@sindresorhus/transliterate/-/transliterate-0.1.2.tgz#ffce368271d153550e87de81486004f2637425af" - integrity sha512-5/kmIOY9FF32nicXH+5yLNTX4NJ4atl7jRgqAJuIn/iyDFXBktOKDxCvyGE/EzmF4ngSUvjXxQUQlQiZ5lfw+w== - dependencies: - escape-string-regexp "^2.0.0" - lodash.deburr "^4.1.0" - -"@sindresorhus/transliterate@^1.0.0": - version "1.6.0" - resolved "https://registry.yarnpkg.com/@sindresorhus/transliterate/-/transliterate-1.6.0.tgz#2309fff65a868047e6d2dd70dec747c5b36a8327" - integrity sha512-doH1gimEu3A46VX6aVxpHTeHrytJAG6HgdxntYnCFiIFHEM/ZGpG8KiZGBChchjQmG0XFIBL552kBTjVcMZXwQ== - dependencies: - escape-string-regexp "^5.0.0" - -"@sinonjs/commons@^3.0.0": - version "3.0.1" - resolved "https://registry.yarnpkg.com/@sinonjs/commons/-/commons-3.0.1.tgz#1029357e44ca901a615585f6d27738dbc89084cd" - integrity sha512-K3mCHKQ9sVh8o1C9cxkwxaOmXoAMlDxC1mYyHrjqOWEcBjYr76t96zL2zlj5dUGZ3HSw240X1qgH3Mjf1yJWpQ== - dependencies: - type-detect "4.0.8" - -"@sinonjs/fake-timers@^10.0.2": - version "10.3.0" - resolved "https://registry.yarnpkg.com/@sinonjs/fake-timers/-/fake-timers-10.3.0.tgz#55fdff1ecab9f354019129daf4df0dd4d923ea66" - integrity sha512-V4BG07kuYSUkTCSBHG8G8TNhM+F19jXFWnQtzj+we8DrkpSBCee9Z3Ms8yiGer/dlmhe35/Xdgyo3/0rQKg7YA== - dependencies: - "@sinonjs/commons" "^3.0.0" - -"@storybook/addon-a11y@8.3.6": - version "8.3.6" - resolved "https://registry.yarnpkg.com/@storybook/addon-a11y/-/addon-a11y-8.3.6.tgz#4d4528718b378886b7f5602880162145f819abad" - integrity sha512-EeVzUN+WaLtz/DXVBL3rIGvP8+pTuJXA3lEz9CbTQXRO7QMhzTTXLKmp8xmSA2w5H01a8XpjLcZ5LYjdKrvw0g== - dependencies: - "@storybook/addon-highlight" "8.3.6" - axe-core "^4.2.0" - -"@storybook/addon-actions@8.3.6": - version "8.3.6" - resolved "https://registry.yarnpkg.com/@storybook/addon-actions/-/addon-actions-8.3.6.tgz#80c5dbfc2278d72dc461a954bb729165ee1dfecb" - integrity sha512-nOqgl0WoZK2KwjaABaXMoIgrIHOQl9inOzJvqQau0HOtsvnXGXYfJXYnpjZenoZDoZXKbUDl0U2haDFx2a2fJw== - dependencies: - "@storybook/global" "^5.0.0" - "@types/uuid" "^9.0.1" - dequal "^2.0.2" - polished "^4.2.2" - uuid "^9.0.0" - -"@storybook/addon-backgrounds@8.3.6": - version "8.3.6" - resolved "https://registry.yarnpkg.com/@storybook/addon-backgrounds/-/addon-backgrounds-8.3.6.tgz#81a92ca45e05858f3cee54ce33766de397abb324" - integrity sha512-yBn+a8i5OJzJaX6Bx5MAkfei7c2nvq+RRmvuyvxw11rtDGR6Nz4OBBe56reWxo868wVUggpRTPJCMVe5tDYgVg== - dependencies: - "@storybook/global" "^5.0.0" - memoizerific "^1.11.3" - ts-dedent "^2.0.0" - -"@storybook/addon-controls@8.3.6": - version "8.3.6" - resolved "https://registry.yarnpkg.com/@storybook/addon-controls/-/addon-controls-8.3.6.tgz#a61449e50077e9f90d2e15d2594b2bcffb4c03b3" - integrity sha512-9IMLHgtWPuFoRCt3hDsIk1FbkK5SlCMDW1DDwtTBIeWYYZLvptS42+vGVTeQ8v5SejmVzZkzuUdzu3p4sb3IcA== - dependencies: - "@storybook/global" "^5.0.0" - dequal "^2.0.2" - lodash "^4.17.21" - ts-dedent "^2.0.0" - -"@storybook/addon-docs@8.3.6": - version "8.3.6" - resolved "https://registry.yarnpkg.com/@storybook/addon-docs/-/addon-docs-8.3.6.tgz#b03ad160475b7920ef03833bd2674ea62f872d23" - integrity sha512-31Rk1TOhDIzGM2wNCUIB1xKuWtArW0D2Puua9warEXlQ3FtvwmxnPrwbIzw6ufYZDWPwl9phDYTcRh8WqZIoGg== - dependencies: - "@mdx-js/react" "^3.0.0" - "@storybook/blocks" "8.3.6" - "@storybook/csf-plugin" "8.3.6" - "@storybook/global" "^5.0.0" - "@storybook/react-dom-shim" "8.3.6" - "@types/react" "^16.8.0 || ^17.0.0 || ^18.0.0" - fs-extra "^11.1.0" - react "^16.8.0 || ^17.0.0 || ^18.0.0" - react-dom "^16.8.0 || ^17.0.0 || ^18.0.0" - rehype-external-links "^3.0.0" - rehype-slug "^6.0.0" - ts-dedent "^2.0.0" - -"@storybook/addon-essentials@8.3.6": - version "8.3.6" - resolved "https://registry.yarnpkg.com/@storybook/addon-essentials/-/addon-essentials-8.3.6.tgz#b8a0bbcad10ecd26cddddb517b4a864e4b65de37" - integrity sha512-MQPFvThlGU7wlda1xhBPQCmDh90cSSZ31OsVs1uC5kJh0aLbY2gYXPurq1G54kzrYo8SMfBxsXrCplz8Ir6UTg== - dependencies: - "@storybook/addon-actions" "8.3.6" - "@storybook/addon-backgrounds" "8.3.6" - "@storybook/addon-controls" "8.3.6" - "@storybook/addon-docs" "8.3.6" - "@storybook/addon-highlight" "8.3.6" - "@storybook/addon-measure" "8.3.6" - "@storybook/addon-outline" "8.3.6" - "@storybook/addon-toolbars" "8.3.6" - "@storybook/addon-viewport" "8.3.6" - ts-dedent "^2.0.0" - -"@storybook/addon-highlight@8.3.6": - version "8.3.6" - resolved "https://registry.yarnpkg.com/@storybook/addon-highlight/-/addon-highlight-8.3.6.tgz#34c28e8ee0f71b2dad579ab11bf66962d5393bf9" - integrity sha512-A7uU+1OPVXGpkklEUJjSl2VEEDLCSNvmffUJlvW1GjajsNFIHOW2CSD+KnfFlQyPxyVbnWAYLqUP4XJxoqrvDw== - dependencies: - "@storybook/global" "^5.0.0" - -"@storybook/addon-interactions@8.3.6": - version "8.3.6" - resolved "https://registry.yarnpkg.com/@storybook/addon-interactions/-/addon-interactions-8.3.6.tgz#ae03320903688e97934c37a211b3f1a45312248c" - integrity sha512-Y0YUJj0oE1+6DFkaTPXM/8+dwTSoy0ltj2Sn2KOTJYzxKQYXBp8TlUv0QOQiGH7o/GKXIWek/VlTuvG/JEeiWw== - dependencies: - "@storybook/global" "^5.0.0" - "@storybook/instrumenter" "8.3.6" - "@storybook/test" "8.3.6" - polished "^4.2.2" - ts-dedent "^2.2.0" - -"@storybook/addon-links@8.3.6": - version "8.3.6" - resolved "https://registry.yarnpkg.com/@storybook/addon-links/-/addon-links-8.3.6.tgz#2388083f7f53936061cb8cd5d5a40ea116fad785" - integrity sha512-EGEH/kEjndEldbqyiJ8XSASkxqwzL/lgA/+6mHpa6Ljxhk1s5IMGcdA1ymJYJ2BpNdkUxRj/uxAa38eGcQiJ/g== - dependencies: - "@storybook/csf" "^0.1.11" - "@storybook/global" "^5.0.0" - ts-dedent "^2.0.0" - -"@storybook/addon-mdx-gfm@8.3.6": - version "8.3.6" - resolved "https://registry.yarnpkg.com/@storybook/addon-mdx-gfm/-/addon-mdx-gfm-8.3.6.tgz#42b834ce872011e849f523986f8c4553c6987fc5" - integrity sha512-5Q/0YT/i9xdLyq7QvXvVfrcGVFHvJ3GEPM+XgGaX9C67ch3pYllAGDKJMtq3eDhgzxHkPT8NnjXb/9VLVYr75w== - dependencies: - remark-gfm "^4.0.0" - ts-dedent "^2.0.0" - -"@storybook/addon-measure@8.3.6": - version "8.3.6" - resolved "https://registry.yarnpkg.com/@storybook/addon-measure/-/addon-measure-8.3.6.tgz#874939b2b6aafb29aed23cd74ee7db3c7f338f33" - integrity sha512-VHWeGgYjhzhwb2WAqYW/qyEPqg5pwKR/XqFfd+3tEirUs/64olL1l3lzLwZ8Cm07cJ81T8Z4myywb9kObZfQlw== - dependencies: - "@storybook/global" "^5.0.0" - tiny-invariant "^1.3.1" - -"@storybook/addon-outline@8.3.6": - version "8.3.6" - resolved "https://registry.yarnpkg.com/@storybook/addon-outline/-/addon-outline-8.3.6.tgz#0c68a26b54a9294ecf6369473c70132c8d1c23a4" - integrity sha512-+VXpM8SIHX2cn30qLlMvER9/6iioFRSn2sAfLniqy4RrcQmcMP+qgE7ZzbzExt7cneJh3VFsYqBS/HElu14Vgg== - dependencies: - "@storybook/global" "^5.0.0" - ts-dedent "^2.0.0" - -"@storybook/addon-toolbars@8.3.6": - version "8.3.6" - resolved "https://registry.yarnpkg.com/@storybook/addon-toolbars/-/addon-toolbars-8.3.6.tgz#d06068c96f5a80da2040f15f521c0927e8b0c2d4" - integrity sha512-FJH+lRoZXENfpMR/G09ZqB0TmL/k6bv07GN1ysoVs420tKRgjfz6uXaZz5COrhcdISr5mTNmG+mw9x7xXTfX3Q== - -"@storybook/addon-viewport@8.3.6": - version "8.3.6" - resolved "https://registry.yarnpkg.com/@storybook/addon-viewport/-/addon-viewport-8.3.6.tgz#3b95fc33335f75010f0ba6fd552ada388ab64add" - integrity sha512-bL51v837W1cng/+0pypkoLsWKWmvux96zLOzqLCpcWAQ4OSMhW3foIWpCiFwMG/KY+GanoOocTx6i7j5hLtuTA== - dependencies: - memoizerific "^1.11.3" - -"@storybook/addon-webpack5-compiler-swc@1.0.5": - version "1.0.5" - resolved "https://registry.yarnpkg.com/@storybook/addon-webpack5-compiler-swc/-/addon-webpack5-compiler-swc-1.0.5.tgz#675f8520c9df6d2a9873f5e23539538e43fe9b04" - integrity sha512-1NlM3noit2vA22OyWb8Ma2lhcEKCS1Snv2kr+EkaVABUqNDfVc9AD/GgYQhF7F/2CoF5N2JU7uzXDzFHd5TzZg== - dependencies: - "@swc/core" "^1.7.3" - swc-loader "^0.2.3" - -"@storybook/blocks@8.3.6": - version "8.3.6" - resolved "https://registry.yarnpkg.com/@storybook/blocks/-/blocks-8.3.6.tgz#ac2e4f07a4df23004b3361c592c2cffe6b95464a" - integrity sha512-Oc5jU6EzfsENjrd91KcKyEKBh60RT+8uyLi1RIrymC2C/mzZMTEoNIrbnQt0eIqbjlHxn6y9JMJxHu4NJ4EmZg== - dependencies: - "@storybook/csf" "^0.1.11" - "@storybook/global" "^5.0.0" - "@storybook/icons" "^1.2.10" - "@types/lodash" "^4.14.167" - color-convert "^2.0.1" - dequal "^2.0.2" - lodash "^4.17.21" - markdown-to-jsx "^7.4.5" - memoizerific "^1.11.3" - polished "^4.2.2" - react-colorful "^5.1.2" - telejson "^7.2.0" - ts-dedent "^2.0.0" - util-deprecate "^1.0.2" - -"@storybook/builder-webpack5@8.3.6": - version "8.3.6" - resolved "https://registry.yarnpkg.com/@storybook/builder-webpack5/-/builder-webpack5-8.3.6.tgz#dbe5ddd9db2f760d60036ea4fb8a674658ca5006" - integrity sha512-Eqn2k8aA9f0o6IMQNAxGAMfSDeTP3YYCQAtOL5Gt5lgrqLV5JMTbZOfmaRBZ82ej/BBSAopnQKIJjQBBFx6kAQ== - dependencies: - "@storybook/core-webpack" "8.3.6" - "@types/node" "^22.0.0" - "@types/semver" "^7.3.4" - browser-assert "^1.2.1" - case-sensitive-paths-webpack-plugin "^2.4.0" - cjs-module-lexer "^1.2.3" - constants-browserify "^1.0.0" - css-loader "^6.7.1" - es-module-lexer "^1.5.0" - express "^4.19.2" - fork-ts-checker-webpack-plugin "^8.0.0" - fs-extra "^11.1.0" - html-webpack-plugin "^5.5.0" - magic-string "^0.30.5" - path-browserify "^1.0.1" - process "^0.11.10" - semver "^7.3.7" - style-loader "^3.3.1" - terser-webpack-plugin "^5.3.1" - ts-dedent "^2.0.0" - url "^0.11.0" - util "^0.12.4" - util-deprecate "^1.0.2" - webpack "5" - webpack-dev-middleware "^6.1.2" - webpack-hot-middleware "^2.25.1" - webpack-virtual-modules "^0.6.0" - -"@storybook/components@^8.3.6": - version "8.3.6" - resolved "https://registry.yarnpkg.com/@storybook/components/-/components-8.3.6.tgz#2f5e9a755a964c94f0bab3cd400cc7a71d0489d2" - integrity sha512-TXuoGZY7X3iixF45lXkYOFk8k2q9OHcqHyHyem1gATLLQXgyOvDgzm+VB7uKBNzssRQPEE+La70nfG8bq/viRw== - -"@storybook/core-common@^8.0.0": - version "8.3.6" - resolved "https://registry.yarnpkg.com/@storybook/core-common/-/core-common-8.3.6.tgz#8aab70f7864584ac5496d81d60efe4677acb4bd2" - integrity sha512-67GHzjuYIvIfD/sqOuTeY1PmOdXZ2Hv9iTCc5xTMJCVBW0XN2Uqqy0ORP111x4EQblBPmnuNAfyYHoWrRxvTxg== - -"@storybook/core-webpack@8.3.6": - version "8.3.6" - resolved "https://registry.yarnpkg.com/@storybook/core-webpack/-/core-webpack-8.3.6.tgz#4e4d78e52fe88e8f325c7be21b05e7e42cbea730" - integrity sha512-ks306CFKD7FePQzRYyTjddiLsSriceblzv4rI+IjVtftkJvcEbxub2yWkV27kPP/e9kSd4Li3M34bX5mkiwkZA== - dependencies: - "@types/node" "^22.0.0" - ts-dedent "^2.0.0" - -"@storybook/core@8.3.6": - version "8.3.6" - resolved "https://registry.yarnpkg.com/@storybook/core/-/core-8.3.6.tgz#fb439d4edc0722e3bf6fdaff0469bb21566edab1" - integrity sha512-frwfgf0EJ7QL29DWZ5bla/g0eOOWqJGd14t+VUBlpP920zB6sdDfo7+p9JoCjD9u08lGeFDqbPNKayUk+0qDag== - dependencies: - "@storybook/csf" "^0.1.11" - "@types/express" "^4.17.21" - better-opn "^3.0.2" - browser-assert "^1.2.1" - esbuild "^0.18.0 || ^0.19.0 || ^0.20.0 || ^0.21.0 || ^0.22.0 || ^0.23.0" - esbuild-register "^3.5.0" - express "^4.19.2" - jsdoc-type-pratt-parser "^4.0.0" - process "^0.11.10" - recast "^0.23.5" - semver "^7.6.2" - util "^0.12.5" - ws "^8.2.3" - -"@storybook/csf-plugin@8.3.6": - version "8.3.6" - resolved "https://registry.yarnpkg.com/@storybook/csf-plugin/-/csf-plugin-8.3.6.tgz#8e6fd04f1dd4662f85f6c1e8fa56d4331f3be4c7" - integrity sha512-TJyJPFejO6Gyr3+bXqE/+LomQbivvfHEbee/GwtlRj0XF4KQlqnvuEdEdcK25JbD0NXT8AbyncEUmjoxE7ojQw== - dependencies: - unplugin "^1.3.1" - -"@storybook/csf-tools@^8.0.0": - version "8.3.6" - resolved "https://registry.yarnpkg.com/@storybook/csf-tools/-/csf-tools-8.3.6.tgz#6a76ec8138a2611ccec032d827bbfcc94eb5944c" - integrity sha512-92D+GUXdmx5eDYcuQ2ajYSUINQngSjB345//43Tx+Xn30eS4flRBmgPsbSPN8IvSBSQlsUU/w8+MFKBK1qGnUw== - -"@storybook/csf@^0.0.1": - version "0.0.1" - resolved "https://registry.yarnpkg.com/@storybook/csf/-/csf-0.0.1.tgz#95901507dc02f0bc6f9ac8ee1983e2fc5bb98ce6" - integrity sha512-USTLkZze5gkel8MYCujSRBVIrUQ3YPBrLOx7GNk/0wttvVtlzWXAq9eLbQ4p/NicGxP+3T7KPEMVV//g+yubpw== - dependencies: - lodash "^4.17.15" - -"@storybook/csf@^0.1.11": - version "0.1.11" - resolved "https://registry.yarnpkg.com/@storybook/csf/-/csf-0.1.11.tgz#ad685a4fe564a47a6b73571c2e7c07b526f4f71b" - integrity sha512-dHYFQH3mA+EtnCkHXzicbLgsvzYjcDJ1JWsogbItZogkPHgSJM/Wr71uMkcvw8v9mmCyP4NpXJuu6bPoVsOnzg== - dependencies: - type-fest "^2.19.0" - -"@storybook/global@^5.0.0": - version "5.0.0" - resolved "https://registry.yarnpkg.com/@storybook/global/-/global-5.0.0.tgz#b793d34b94f572c1d7d9e0f44fac4e0dbc9572ed" - integrity sha512-FcOqPAXACP0I3oJ/ws6/rrPT9WGhu915Cg8D02a9YxLo0DE9zI+a9A5gRGvmQ09fiWPukqI8ZAEoQEdWUKMQdQ== - -"@storybook/icons@^1.2.10": - version "1.2.12" - resolved "https://registry.yarnpkg.com/@storybook/icons/-/icons-1.2.12.tgz#3e4c939113b67df7ab17b78f805dbb57f4acf0db" - integrity sha512-UxgyK5W3/UV4VrI3dl6ajGfHM4aOqMAkFLWe2KibeQudLf6NJpDrDMSHwZj+3iKC4jFU7dkKbbtH2h/al4sW3Q== - -"@storybook/instrumenter@8.3.6": - version "8.3.6" - resolved "https://registry.yarnpkg.com/@storybook/instrumenter/-/instrumenter-8.3.6.tgz#0696a8ba1549080c0670109a9e78beece6e358f5" - integrity sha512-0RowbKwoB/s7rtymlnKNiyWN1Z3ZK5mwgzVjlRmzxDL8hrdi5KDjTNExuJTRR3ZaBP2RR0/I3m/n0p9JhHAZvg== - dependencies: - "@storybook/global" "^5.0.0" - "@vitest/utils" "^2.0.5" - util "^0.12.4" - -"@storybook/manager-api@^8.3.6": - version "8.3.6" - resolved "https://registry.yarnpkg.com/@storybook/manager-api/-/manager-api-8.3.6.tgz#6dfb268a5f1f8228d0bac69fd6e63f6bd2620c2d" - integrity sha512-Xt5VFZcL+G/9uzaHjzWFhxRNrP+4rPhSRKEvCZorAbC9+Hv+ZDs1JSZS5wMb4WKpXBZ0rwDVOLwngqbVtfRHuQ== - -"@storybook/preset-react-webpack@8.3.6": - version "8.3.6" - resolved "https://registry.yarnpkg.com/@storybook/preset-react-webpack/-/preset-react-webpack-8.3.6.tgz#f1fd392ecfe9462b597d2d9cb5e5fadd69e61f5a" - integrity sha512-Ar0vhJITXa4xsXT3RdgYZ2mhXxE3jfUisQzsITey5a2RVgnSBIENggmRZ/6j1oVgEXFthbarNEsebGiA+2vDZg== - dependencies: - "@storybook/core-webpack" "8.3.6" - "@storybook/react" "8.3.6" - "@storybook/react-docgen-typescript-plugin" "1.0.6--canary.9.0c3f3b7.0" - "@types/node" "^22.0.0" - "@types/semver" "^7.3.4" - find-up "^5.0.0" - fs-extra "^11.1.0" - magic-string "^0.30.5" - react-docgen "^7.0.0" - resolve "^1.22.8" - semver "^7.3.7" - tsconfig-paths "^4.2.0" - webpack "5" - -"@storybook/preview-api@^8.0.0", "@storybook/preview-api@^8.3.6": - version "8.3.6" - resolved "https://registry.yarnpkg.com/@storybook/preview-api/-/preview-api-8.3.6.tgz#7891b0d9f86bfb49c98eb34487c432354710b468" - integrity sha512-/Wxvb7wbI2O2iH63arRQQyyojA630vibdshkFjuC/u1nYdptEV1jkxa0OYmbZbKCn4/ze6uH4hfsKOpDPV9SWg== - -"@storybook/react-docgen-typescript-plugin@1.0.6--canary.9.0c3f3b7.0": - version "1.0.6--canary.9.0c3f3b7.0" - resolved "https://registry.yarnpkg.com/@storybook/react-docgen-typescript-plugin/-/react-docgen-typescript-plugin-1.0.6--canary.9.0c3f3b7.0.tgz#7f10f3c641f32e4513a8b6ffb5036933e7059534" - integrity sha512-KUqXC3oa9JuQ0kZJLBhVdS4lOneKTOopnNBK4tUAgoxWQ3u/IjzdueZjFr7gyBrXMoU6duutk3RQR9u8ZpYJ4Q== - dependencies: - debug "^4.1.1" - endent "^2.0.1" - find-cache-dir "^3.3.1" - flat-cache "^3.0.4" - micromatch "^4.0.2" - react-docgen-typescript "^2.2.2" - tslib "^2.0.0" - -"@storybook/react-dom-shim@8.3.6": - version "8.3.6" - resolved "https://registry.yarnpkg.com/@storybook/react-dom-shim/-/react-dom-shim-8.3.6.tgz#40ce82a4e6559a617c4a7288b532652fefcd271e" - integrity sha512-9BO6VXIdli4GHSfiP/Z0gwAf7oQig3D/yWK2U1+91UWDV8nIAgnNBAi76U4ORC6MiK5MdkDfIikIxnLLeLnahA== - -"@storybook/react-webpack5@8.3.6": - version "8.3.6" - resolved "https://registry.yarnpkg.com/@storybook/react-webpack5/-/react-webpack5-8.3.6.tgz#5f8aa77bdd66a7d6774ec25ef208fd5639f14c36" - integrity sha512-8HBnBab6kPJuX0gQGIl6voZXLRdvyXxd5wmHXc0db0T9Ozq5iuNbo9sUEk9QCwJpuQc7lDDmuOkXHVq1WjSibw== - dependencies: - "@storybook/builder-webpack5" "8.3.6" - "@storybook/preset-react-webpack" "8.3.6" - "@storybook/react" "8.3.6" - "@types/node" "^22.0.0" - -"@storybook/react@8.3.6": - version "8.3.6" - resolved "https://registry.yarnpkg.com/@storybook/react/-/react-8.3.6.tgz#da7dedf28c9985476409ab118142337db1bd03d0" - integrity sha512-s3COryqIOYK7urgZaCPb77zlxGjPKr6dIsYmblQJcsFY2ZlG2x0Ysm8b5oRgD8Pv71hCJ0PKYA4RzDgBVYJS9A== - dependencies: - "@storybook/components" "^8.3.6" - "@storybook/global" "^5.0.0" - "@storybook/manager-api" "^8.3.6" - "@storybook/preview-api" "^8.3.6" - "@storybook/react-dom-shim" "8.3.6" - "@storybook/theming" "^8.3.6" - "@types/escodegen" "^0.0.6" - "@types/estree" "^0.0.51" - "@types/node" "^22.0.0" - acorn "^7.4.1" - acorn-jsx "^5.3.1" - acorn-walk "^7.2.0" - escodegen "^2.1.0" - html-tags "^3.1.0" - prop-types "^15.7.2" - react-element-to-jsx-string "^15.0.0" - semver "^7.3.7" - ts-dedent "^2.0.0" - type-fest "~2.19" - util-deprecate "^1.0.2" - -"@storybook/test-runner@0.19.1": - version "0.19.1" - resolved "https://registry.yarnpkg.com/@storybook/test-runner/-/test-runner-0.19.1.tgz#b0a94bd09d9914f47e23d11779690ffc5b5164a7" - integrity sha512-Nc4djXw3Lv3AAXg6TJ7yVTeuMryjMsTDd8GCbE/PStU602rpe8syEqElz78GPoJqB1VYWQ3T9pcu93MKyHT+xQ== - dependencies: - "@babel/core" "^7.22.5" - "@babel/generator" "^7.22.5" - "@babel/template" "^7.22.5" - "@babel/types" "^7.22.5" - "@jest/types" "^29.6.3" - "@storybook/core-common" "^8.0.0" - "@storybook/csf" "^0.1.11" - "@storybook/csf-tools" "^8.0.0" - "@storybook/preview-api" "^8.0.0" - "@swc/core" "^1.5.22" - "@swc/jest" "^0.2.23" - expect-playwright "^0.8.0" - jest "^29.6.4" - jest-circus "^29.6.4" - jest-environment-node "^29.6.4" - jest-junit "^16.0.0" - jest-playwright-preset "^4.0.0" - jest-runner "^29.6.4" - jest-serializer-html "^7.1.0" - jest-watch-typeahead "^2.0.0" - nyc "^15.1.0" - playwright "^1.14.0" - -"@storybook/test@8.3.6": - version "8.3.6" - resolved "https://registry.yarnpkg.com/@storybook/test/-/test-8.3.6.tgz#a1b92be405004f479319127bba833a52e8d075b1" - integrity sha512-WIc8LzK9jaEw+e3OiweEM2j3cppPzsWod59swuf6gDBf176EQLIyjtVc+Kh3qO4NNkcL+lwmqaLPjOxlBLaDbg== - dependencies: - "@storybook/csf" "^0.1.11" - "@storybook/global" "^5.0.0" - "@storybook/instrumenter" "8.3.6" - "@testing-library/dom" "10.4.0" - "@testing-library/jest-dom" "6.5.0" - "@testing-library/user-event" "14.5.2" - "@vitest/expect" "2.0.5" - "@vitest/spy" "2.0.5" - util "^0.12.4" - -"@storybook/theming@^8.3.6": - version "8.3.6" - resolved "https://registry.yarnpkg.com/@storybook/theming/-/theming-8.3.6.tgz#57c5789903e50b84844aa8e7ce0e1f031e98a948" - integrity sha512-LQjUk6GXRW9ELkoBKuqzQKFUW+ajfGPfVELcfs3/VQX61VhthJ4olov4bGPc04wsmmFMgN/qODxT485IwOHfPQ== - -"@storybook/types@8.3.6": - version "8.3.6" - resolved "https://registry.yarnpkg.com/@storybook/types/-/types-8.3.6.tgz#8c5c15e8869dd3218a73748db75bb7ef709262b9" - integrity sha512-EY+bjIxxmKkFrL7CyDQb3EXbmy0+Y9OieaPrNNM7QXTfGgp81lXhfqMX3HLMMjplk+rcxVJLyzXSBx0nIn91fQ== - -"@svgr/babel-plugin-add-jsx-attribute@^6.5.1": - version "6.5.1" - resolved "https://registry.yarnpkg.com/@svgr/babel-plugin-add-jsx-attribute/-/babel-plugin-add-jsx-attribute-6.5.1.tgz#74a5d648bd0347bda99d82409d87b8ca80b9a1ba" - integrity sha512-9PYGcXrAxitycIjRmZB+Q0JaN07GZIWaTBIGQzfaZv+qr1n8X1XUEJ5rZ/vx6OVD9RRYlrNnXWExQXcmZeD/BQ== - -"@svgr/babel-plugin-remove-jsx-attribute@*": - version "8.0.0" - resolved "https://registry.yarnpkg.com/@svgr/babel-plugin-remove-jsx-attribute/-/babel-plugin-remove-jsx-attribute-8.0.0.tgz#69177f7937233caca3a1afb051906698f2f59186" - integrity sha512-BcCkm/STipKvbCl6b7QFrMh/vx00vIP63k2eM66MfHJzPr6O2U0jYEViXkHJWqXqQYjdeA9cuCl5KWmlwjDvbA== - -"@svgr/babel-plugin-remove-jsx-empty-expression@*": - version "8.0.0" - resolved "https://registry.yarnpkg.com/@svgr/babel-plugin-remove-jsx-empty-expression/-/babel-plugin-remove-jsx-empty-expression-8.0.0.tgz#c2c48104cfd7dcd557f373b70a56e9e3bdae1d44" - integrity sha512-5BcGCBfBxB5+XSDSWnhTThfI9jcO5f0Ai2V24gZpG+wXF14BzwxxdDb4g6trdOux0rhibGs385BeFMSmxtS3uA== - -"@svgr/babel-plugin-replace-jsx-attribute-value@^6.5.1": - version "6.5.1" - resolved "https://registry.yarnpkg.com/@svgr/babel-plugin-replace-jsx-attribute-value/-/babel-plugin-replace-jsx-attribute-value-6.5.1.tgz#fb9d22ea26d2bc5e0a44b763d4c46d5d3f596c60" - integrity sha512-8DPaVVE3fd5JKuIC29dqyMB54sA6mfgki2H2+swh+zNJoynC8pMPzOkidqHOSc6Wj032fhl8Z0TVn1GiPpAiJg== - -"@svgr/babel-plugin-svg-dynamic-title@^6.5.1": - version "6.5.1" - resolved "https://registry.yarnpkg.com/@svgr/babel-plugin-svg-dynamic-title/-/babel-plugin-svg-dynamic-title-6.5.1.tgz#01b2024a2b53ffaa5efceaa0bf3e1d5a4c520ce4" - integrity sha512-FwOEi0Il72iAzlkaHrlemVurgSQRDFbk0OC8dSvD5fSBPHltNh7JtLsxmZUhjYBZo2PpcU/RJvvi6Q0l7O7ogw== - -"@svgr/babel-plugin-svg-em-dimensions@^6.5.1": - version "6.5.1" - resolved "https://registry.yarnpkg.com/@svgr/babel-plugin-svg-em-dimensions/-/babel-plugin-svg-em-dimensions-6.5.1.tgz#dd3fa9f5b24eb4f93bcf121c3d40ff5facecb217" - integrity sha512-gWGsiwjb4tw+ITOJ86ndY/DZZ6cuXMNE/SjcDRg+HLuCmwpcjOktwRF9WgAiycTqJD/QXqL2f8IzE2Rzh7aVXA== - -"@svgr/babel-plugin-transform-react-native-svg@^6.5.1": - version "6.5.1" - resolved "https://registry.yarnpkg.com/@svgr/babel-plugin-transform-react-native-svg/-/babel-plugin-transform-react-native-svg-6.5.1.tgz#1d8e945a03df65b601551097d8f5e34351d3d305" - integrity sha512-2jT3nTayyYP7kI6aGutkyfJ7UMGtuguD72OjeGLwVNyfPRBD8zQthlvL+fAbAKk5n9ZNcvFkp/b1lZ7VsYqVJg== - -"@svgr/babel-plugin-transform-svg-component@^6.5.1": - version "6.5.1" - resolved "https://registry.yarnpkg.com/@svgr/babel-plugin-transform-svg-component/-/babel-plugin-transform-svg-component-6.5.1.tgz#48620b9e590e25ff95a80f811544218d27f8a250" - integrity sha512-a1p6LF5Jt33O3rZoVRBqdxL350oge54iZWHNI6LJB5tQ7EelvD/Mb1mfBiZNAan0dt4i3VArkFRjA4iObuNykQ== - -"@svgr/babel-preset@^6.5.1": - version "6.5.1" - resolved "https://registry.yarnpkg.com/@svgr/babel-preset/-/babel-preset-6.5.1.tgz#b90de7979c8843c5c580c7e2ec71f024b49eb828" - integrity sha512-6127fvO/FF2oi5EzSQOAjo1LE3OtNVh11R+/8FXa+mHx1ptAaS4cknIjnUA7e6j6fwGGJ17NzaTJFUwOV2zwCw== - dependencies: - "@svgr/babel-plugin-add-jsx-attribute" "^6.5.1" - "@svgr/babel-plugin-remove-jsx-attribute" "*" - "@svgr/babel-plugin-remove-jsx-empty-expression" "*" - "@svgr/babel-plugin-replace-jsx-attribute-value" "^6.5.1" - "@svgr/babel-plugin-svg-dynamic-title" "^6.5.1" - "@svgr/babel-plugin-svg-em-dimensions" "^6.5.1" - "@svgr/babel-plugin-transform-react-native-svg" "^6.5.1" - "@svgr/babel-plugin-transform-svg-component" "^6.5.1" - -"@svgr/core@6.5.1": - version "6.5.1" - resolved "https://registry.yarnpkg.com/@svgr/core/-/core-6.5.1.tgz#d3e8aa9dbe3fbd747f9ee4282c1c77a27410488a" - integrity sha512-/xdLSWxK5QkqG524ONSjvg3V/FkNyCv538OIBdQqPNaAta3AsXj/Bd2FbvR87yMbXO2hFSWiAe/Q6IkVPDw+mw== - dependencies: - "@babel/core" "^7.19.6" - "@svgr/babel-preset" "^6.5.1" - "@svgr/plugin-jsx" "^6.5.1" - camelcase "^6.2.0" - cosmiconfig "^7.0.1" - -"@svgr/hast-util-to-babel-ast@^6.5.1": - version "6.5.1" - resolved "https://registry.yarnpkg.com/@svgr/hast-util-to-babel-ast/-/hast-util-to-babel-ast-6.5.1.tgz#81800bd09b5bcdb968bf6ee7c863d2288fdb80d2" - integrity sha512-1hnUxxjd83EAxbL4a0JDJoD3Dao3hmjvyvyEV8PzWmLK3B9m9NPlW7GKjFyoWE8nM7HnXzPcmmSyOW8yOddSXw== - dependencies: - "@babel/types" "^7.20.0" - entities "^4.4.0" - -"@svgr/plugin-jsx@^6.5.1": - version "6.5.1" - resolved "https://registry.yarnpkg.com/@svgr/plugin-jsx/-/plugin-jsx-6.5.1.tgz#0e30d1878e771ca753c94e69581c7971542a7072" - integrity sha512-+UdQxI3jgtSjCykNSlEMuy1jSRQlGC7pqBCPvkG/2dATdWo082zHTTK3uhnAju2/6XpE6B5mZ3z4Z8Ns01S8Gw== - dependencies: - "@babel/core" "^7.19.6" - "@svgr/babel-preset" "^6.5.1" - "@svgr/hast-util-to-babel-ast" "^6.5.1" - svg-parser "^2.0.4" - -"@swc/core-darwin-arm64@1.7.36": - version "1.7.36" - resolved "https://registry.yarnpkg.com/@swc/core-darwin-arm64/-/core-darwin-arm64-1.7.36.tgz#f50ecd4db72a8759c67c1eb93f942c6331e6cfe9" - integrity sha512-8vDczXzCgv3ceTPhEivlpGprN44YlrCK1nbfU9g2TrhV/Aiqi09W/eM5zLesdoM1Z3mJl492gc/8nlTkpDdusw== - -"@swc/core-darwin-x64@1.7.36": - version "1.7.36" - resolved "https://registry.yarnpkg.com/@swc/core-darwin-x64/-/core-darwin-x64-1.7.36.tgz#14c7e5c0a9bee4ffcf05a5a62caa179ee01a68c2" - integrity sha512-Pa2Gao7+Wf5m3SsK4abKRtd48AtoUnJInvaC3d077swBfgZjbjUbQvcpdc2dOeQtWwo49rFqUZJonMsL0jnPgQ== - -"@swc/core-linux-arm-gnueabihf@1.7.36": - version "1.7.36" - resolved "https://registry.yarnpkg.com/@swc/core-linux-arm-gnueabihf/-/core-linux-arm-gnueabihf-1.7.36.tgz#19d9a66606ae9fc09f3e087a1ef49d75ffd769e7" - integrity sha512-3YsMWd7V+WZEjbfBnLkkz/olcRBa8nyoK0iIOnNARJBMcYaJxjkJSMZpmSojCnIVwvjA1N83CPAbUL+W+fCnHg== - -"@swc/core-linux-arm64-gnu@1.7.36": - version "1.7.36" - resolved "https://registry.yarnpkg.com/@swc/core-linux-arm64-gnu/-/core-linux-arm64-gnu-1.7.36.tgz#9834e507e75d1689913fc56d401d5921eb75be67" - integrity sha512-lqM3aBB7kJazJYOwHeA5OGNLqXoQPZ/76b3dV+XcjN1GhD0CcXz6mW5PRYVin6OSN1eKrKBKJjtDA1mqADDEvw== - -"@swc/core-linux-arm64-musl@1.7.36": - version "1.7.36" - resolved "https://registry.yarnpkg.com/@swc/core-linux-arm64-musl/-/core-linux-arm64-musl-1.7.36.tgz#548abbec7581f06ab9f38bd6c289bd7fc9983452" - integrity sha512-bqei2YDzvUfG0pth5W2xJaj0eG4XWYk0d/NJ75vBX6bkIzK6dC8iuKQ41jOfUWonnrAs7rTDDJW0sTn/evvRdw== - -"@swc/core-linux-x64-gnu@1.7.36": - version "1.7.36" - resolved "https://registry.yarnpkg.com/@swc/core-linux-x64-gnu/-/core-linux-x64-gnu-1.7.36.tgz#d2a4a8edcdb3b7646dade9783d6502d01ff9364c" - integrity sha512-03maXTUyaBjeCxlDltmdzHje1ryQt1C4OWmmNgSSRXjLb+GNnAenwOJMSrcvHP/aNClD2pwsFCnYKDGy+sYE6w== - -"@swc/core-linux-x64-musl@1.7.36": - version "1.7.36" - resolved "https://registry.yarnpkg.com/@swc/core-linux-x64-musl/-/core-linux-x64-musl-1.7.36.tgz#ea4197cbcc23b1202cdbec82a05bee9b29aa341b" - integrity sha512-XXysqLkvjtQnXm1zHqLhy00UYPv/gk5OtwR732X+piNisnEbcJBqI8Qp9O7YvLWllRcoP8IMBGDWLGdGLSpViA== - -"@swc/core-win32-arm64-msvc@1.7.36": - version "1.7.36" - resolved "https://registry.yarnpkg.com/@swc/core-win32-arm64-msvc/-/core-win32-arm64-msvc-1.7.36.tgz#1b100b809457d0ed5710956d7efb4fd0427dc2c8" - integrity sha512-k7+dmb13a/zPw+E4XYfPmLZFWJgcOcBRKIjYl9nQErtYsgsg3Ji6TBbsvJVETy23lNHyewZ17V5Vq6NzaG0hzg== - -"@swc/core-win32-ia32-msvc@1.7.36": - version "1.7.36" - resolved "https://registry.yarnpkg.com/@swc/core-win32-ia32-msvc/-/core-win32-ia32-msvc-1.7.36.tgz#577e7f25a7a8496c16e9b14486cd849765bccba5" - integrity sha512-ridD3ay6YM2PEYHZXXFN+edYEv0FOynaqOBP+NSnGNHA35azItIjoIe+KNi4WltGtAjpKCHSpjGCNfna12wdYQ== - -"@swc/core-win32-x64-msvc@1.7.36": - version "1.7.36" - resolved "https://registry.yarnpkg.com/@swc/core-win32-x64-msvc/-/core-win32-x64-msvc-1.7.36.tgz#f85ace043925a746ff40af2da1ff9ff9760525bb" - integrity sha512-j1z2Z1Ln9d0E3dHsPkC1K9XDh0ojhRPwV+GfRTu4D61PE+aYhYLvbJC6xPvL4/204QrStRS7eDu3m+BcDp3rgQ== - -"@swc/core@^1.5.22", "@swc/core@^1.7.3": - version "1.7.36" - resolved "https://registry.yarnpkg.com/@swc/core/-/core-1.7.36.tgz#369b67cfe7be039dac2ab2180b44da8f2f8c2af0" - integrity sha512-bu7ymMX+LCJOSSrKank25Jaq66ymLVA9fOUuy4ck3/6rbXdLw+pIJPnIDKQ9uNcxww8KDxOuJk9Ui9pqR+aGFw== - dependencies: - "@swc/counter" "^0.1.3" - "@swc/types" "^0.1.13" - optionalDependencies: - "@swc/core-darwin-arm64" "1.7.36" - "@swc/core-darwin-x64" "1.7.36" - "@swc/core-linux-arm-gnueabihf" "1.7.36" - "@swc/core-linux-arm64-gnu" "1.7.36" - "@swc/core-linux-arm64-musl" "1.7.36" - "@swc/core-linux-x64-gnu" "1.7.36" - "@swc/core-linux-x64-musl" "1.7.36" - "@swc/core-win32-arm64-msvc" "1.7.36" - "@swc/core-win32-ia32-msvc" "1.7.36" - "@swc/core-win32-x64-msvc" "1.7.36" - -"@swc/counter@^0.1.3": - version "0.1.3" - resolved "https://registry.yarnpkg.com/@swc/counter/-/counter-0.1.3.tgz#cc7463bd02949611c6329596fccd2b0ec782b0e9" - integrity sha512-e2BR4lsJkkRlKZ/qCHPw9ZaSxc0MVUd7gtbtaB7aMvHeJVYe8sOB8DBZkP2DtISHGSku9sCK6T6cnY0CtXrOCQ== - -"@swc/helpers@^0.5.0": - version "0.5.13" - resolved "https://registry.yarnpkg.com/@swc/helpers/-/helpers-0.5.13.tgz#33e63ff3cd0cade557672bd7888a39ce7d115a8c" - integrity sha512-UoKGxQ3r5kYI9dALKJapMmuK+1zWM/H17Z1+iwnNmzcJRnfFuevZs375TA5rW31pu4BS4NoSy1fRsexDXfWn5w== - dependencies: - tslib "^2.4.0" - -"@swc/jest@^0.2.23": - version "0.2.36" - resolved "https://registry.yarnpkg.com/@swc/jest/-/jest-0.2.36.tgz#2797450a30d28b471997a17e901ccad946fe693e" - integrity sha512-8X80dp81ugxs4a11z1ka43FPhP+/e+mJNXJSxiNYk8gIX/jPBtY4gQTrKu/KIoco8bzKuPI5lUxjfLiGsfvnlw== - dependencies: - "@jest/create-cache-key-function" "^29.7.0" - "@swc/counter" "^0.1.3" - jsonc-parser "^3.2.0" - -"@swc/types@^0.1.13": - version "0.1.13" - resolved "https://registry.yarnpkg.com/@swc/types/-/types-0.1.13.tgz#441734f8bfa6e9e738f1c68e98be6da282ecc7db" - integrity sha512-JL7eeCk6zWCbiYQg2xQSdLXQJl8Qoc9rXmG2cEKvHe3CKwMHwHGpfOb8frzNLmbycOo6I51qxnLnn9ESf4I20Q== - dependencies: - "@swc/counter" "^0.1.3" - -"@szmarczak/http-timer@^1.1.2": - version "1.1.2" - resolved "https://registry.yarnpkg.com/@szmarczak/http-timer/-/http-timer-1.1.2.tgz#b1665e2c461a2cd92f4c1bbf50d5454de0d4b421" - integrity sha512-XIB2XbzHTN6ieIjfIMV9hlVcfPU26s2vafYWQcZHWXHOxiaRZYEDKEwdl129Zyg50+foYV2jCgtrqSA6qNuNSA== - dependencies: - defer-to-connect "^1.0.1" - -"@szmarczak/http-timer@^4.0.0": - version "4.0.6" - resolved "https://registry.yarnpkg.com/@szmarczak/http-timer/-/http-timer-4.0.6.tgz#b4a914bb62e7c272d4e5989fe4440f812ab1d807" - integrity sha512-4BAffykYOgO+5nzBWYwE3W90sBgLJoUPRWWcL8wlyiM8IB8ipJz3UMJ9KXQd1RKQXpKp8Tutn80HZtWsu2u76w== - dependencies: - defer-to-connect "^2.0.0" - -"@testing-library/dom@10.4.0": - version "10.4.0" - resolved "https://registry.yarnpkg.com/@testing-library/dom/-/dom-10.4.0.tgz#82a9d9462f11d240ecadbf406607c6ceeeff43a8" - integrity sha512-pemlzrSESWbdAloYml3bAJMEfNh1Z7EduzqPKprCH5S341frlpYnUEW0H72dLxa6IsYr+mPno20GiSm+h9dEdQ== - dependencies: - "@babel/code-frame" "^7.10.4" - "@babel/runtime" "^7.12.5" - "@types/aria-query" "^5.0.1" - aria-query "5.3.0" - chalk "^4.1.0" - dom-accessibility-api "^0.5.9" - lz-string "^1.5.0" - pretty-format "^27.0.2" - -"@testing-library/jest-dom@6.5.0": - version "6.5.0" - resolved "https://registry.yarnpkg.com/@testing-library/jest-dom/-/jest-dom-6.5.0.tgz#50484da3f80fb222a853479f618a9ce5c47bfe54" - integrity sha512-xGGHpBXYSHUUr6XsKBfs85TWlYKpTc37cSBBVrXcib2MkHLboWlkClhWF37JKlDb9KEq3dHs+f2xR7XJEWGBxA== - dependencies: - "@adobe/css-tools" "^4.4.0" - aria-query "^5.0.0" - chalk "^3.0.0" - css.escape "^1.5.1" - dom-accessibility-api "^0.6.3" - lodash "^4.17.21" - redent "^3.0.0" - -"@testing-library/jest-dom@6.6.2": - version "6.6.2" - resolved "https://registry.yarnpkg.com/@testing-library/jest-dom/-/jest-dom-6.6.2.tgz#8186aa9a07263adef9cc5a59a4772db8c31f4a5b" - integrity sha512-P6GJD4yqc9jZLbe98j/EkyQDTPgqftohZF5FBkHY5BUERZmcf4HeO2k0XaefEg329ux2p21i1A1DmyQ1kKw2Jw== - dependencies: - "@adobe/css-tools" "^4.4.0" - aria-query "^5.0.0" - chalk "^3.0.0" - css.escape "^1.5.1" - dom-accessibility-api "^0.6.3" - lodash "^4.17.21" - redent "^3.0.0" - -"@testing-library/react@16.0.1": - version "16.0.1" - resolved "https://registry.yarnpkg.com/@testing-library/react/-/react-16.0.1.tgz#29c0ee878d672703f5e7579f239005e4e0faa875" - integrity sha512-dSmwJVtJXmku+iocRhWOUFbrERC76TX2Mnf0ATODz8brzAZrMBbzLwQixlBSanZxR6LddK3eiwpSFZgDET1URg== - dependencies: - "@babel/runtime" "^7.12.5" - -"@testing-library/user-event@14.5.2": - version "14.5.2" - resolved "https://registry.yarnpkg.com/@testing-library/user-event/-/user-event-14.5.2.tgz#db7257d727c891905947bd1c1a99da20e03c2ebd" - integrity sha512-YAh82Wh4TIrxYLmfGcixwD18oIjyC1pFQC2Y01F2lzV2HTMiYrI0nze0FD0ocB//CKS/7jIUgae+adPqxK5yCQ== - -"@tootallnate/once@2": - version "2.0.0" - resolved "https://registry.yarnpkg.com/@tootallnate/once/-/once-2.0.0.tgz#f544a148d3ab35801c1f633a7441fd87c2e484bf" - integrity sha512-XCuKFP5PS55gnMVu3dty8KPatLqUoy/ZYzDzAGCQ8JNFCkLXzmI7vNHCR+XpbZaMWQK/vQubr7PkYq8g470J/A== - -"@trysound/sax@0.2.0": - version "0.2.0" - resolved "https://registry.yarnpkg.com/@trysound/sax/-/sax-0.2.0.tgz#cccaab758af56761eb7bf37af6f03f326dd798ad" - integrity sha512-L7z9BgrNEcYyUYtF+HaEfiS5ebkh9jXqbszz7pC0hRBPaatV0XjSD3+eHrpqFemQfgwiFF0QPIarnIihIDn7OA== - -"@tsconfig/node10@^1.0.7": - version "1.0.11" - resolved "https://registry.yarnpkg.com/@tsconfig/node10/-/node10-1.0.11.tgz#6ee46400685f130e278128c7b38b7e031ff5b2f2" - integrity sha512-DcRjDCujK/kCk/cUe8Xz8ZSpm8mS3mNNpta+jGCA6USEDfktlNvm1+IuZ9eTcDbNk41BHwpHHeW+N1lKCz4zOw== - -"@tsconfig/node12@^1.0.7": - version "1.0.11" - resolved "https://registry.yarnpkg.com/@tsconfig/node12/-/node12-1.0.11.tgz#ee3def1f27d9ed66dac6e46a295cffb0152e058d" - integrity sha512-cqefuRsh12pWyGsIoBKJA9luFu3mRxCA+ORZvA4ktLSzIuCUtWVxGIuXigEwO5/ywWFMZ2QEGKWvkZG1zDMTag== - -"@tsconfig/node14@^1.0.0": - version "1.0.3" - resolved "https://registry.yarnpkg.com/@tsconfig/node14/-/node14-1.0.3.tgz#e4386316284f00b98435bf40f72f75a09dabf6c1" - integrity sha512-ysT8mhdixWK6Hw3i1V2AeRqZ5WfXg1G43mqoYlM2nc6388Fq5jcXyr5mRsqViLx/GJYdoL0bfXD8nmF+Zn/Iow== - -"@tsconfig/node16@^1.0.2": - version "1.0.4" - resolved "https://registry.yarnpkg.com/@tsconfig/node16/-/node16-1.0.4.tgz#0b92dcc0cc1c81f6f306a381f28e31b1a56536e9" - integrity sha512-vxhUy4J8lyeyinH7Azl1pdd43GJhZH/tP2weN8TntQblOY+A0XbT8DJk1/oCPuOOyg/Ja757rG0CgHcWC8OfMA== - -"@types/acorn@^4.0.0": - version "4.0.6" - resolved "https://registry.yarnpkg.com/@types/acorn/-/acorn-4.0.6.tgz#d61ca5480300ac41a7d973dd5b84d0a591154a22" - integrity sha512-veQTnWP+1D/xbxVrPC3zHnCZRjSrKfhbMUlEA43iMZLu7EsnTtkJklIuwrCPbOi8YkvDQAiW05VQQFvvz9oieQ== - dependencies: - "@types/estree" "*" - -"@types/aria-query@^5.0.1": - version "5.0.4" - resolved "https://registry.yarnpkg.com/@types/aria-query/-/aria-query-5.0.4.tgz#1a31c3d378850d2778dabb6374d036dcba4ba708" - integrity sha512-rfT93uj5s0PRL7EzccGMs3brplhcrghnDoV26NqKhCAS1hVo+WdNsPvE/yb6ilfr5hi2MEk6d5EWJTKdxg8jVw== - -"@types/babel__core@^7.1.14", "@types/babel__core@^7.18.0": - version "7.20.5" - resolved "https://registry.yarnpkg.com/@types/babel__core/-/babel__core-7.20.5.tgz#3df15f27ba85319caa07ba08d0721889bb39c017" - integrity sha512-qoQprZvz5wQFJwMDqeseRXWv3rqMvhgpbXFfVyWhbx9X47POIA6i/+dXefEmZKoAgOaTdaIgNSMqMIU61yRyzA== - dependencies: - "@babel/parser" "^7.20.7" - "@babel/types" "^7.20.7" - "@types/babel__generator" "*" - "@types/babel__template" "*" - "@types/babel__traverse" "*" - -"@types/babel__generator@*": - version "7.6.8" - resolved "https://registry.yarnpkg.com/@types/babel__generator/-/babel__generator-7.6.8.tgz#f836c61f48b1346e7d2b0d93c6dacc5b9535d3ab" - integrity sha512-ASsj+tpEDsEiFr1arWrlN6V3mdfjRMZt6LtK/Vp/kreFLnr5QH5+DhvD5nINYZXzwJvXeGq+05iUXcAzVrqWtw== - dependencies: - "@babel/types" "^7.0.0" - -"@types/babel__template@*": - version "7.4.4" - resolved "https://registry.yarnpkg.com/@types/babel__template/-/babel__template-7.4.4.tgz#5672513701c1b2199bc6dad636a9d7491586766f" - integrity sha512-h/NUaSyG5EyxBIp8YRxo4RMe2/qQgvyowRwVMzhYhBCONbW8PUsg4lkFMrhgZhUe5z3L3MiLDuvyJ/CaPa2A8A== - dependencies: - "@babel/parser" "^7.1.0" - "@babel/types" "^7.0.0" - -"@types/babel__traverse@*", "@types/babel__traverse@^7.0.6", "@types/babel__traverse@^7.18.0": - version "7.20.6" - resolved "https://registry.yarnpkg.com/@types/babel__traverse/-/babel__traverse-7.20.6.tgz#8dc9f0ae0f202c08d8d4dab648912c8d6038e3f7" - integrity sha512-r1bzfrm0tomOI8g1SzvCaQHo6Lcv6zu0EA+W2kHrt8dyrHQxGzBBL4kdkzIS+jBMV+EYcMAEAqXqYaLJq5rOZg== - dependencies: - "@babel/types" "^7.20.7" - -"@types/body-parser@*": - version "1.19.5" - resolved "https://registry.yarnpkg.com/@types/body-parser/-/body-parser-1.19.5.tgz#04ce9a3b677dc8bd681a17da1ab9835dc9d3ede4" - integrity sha512-fB3Zu92ucau0iQ0JMCFQE7b/dv8Ot07NI3KaZIkIUNXq82k4eBAqUaneXfleGY9JWskeS9y+u0nXMyspcuQrCg== - dependencies: - "@types/connect" "*" - "@types/node" "*" - -"@types/cacheable-request@^6.0.1": - version "6.0.3" - resolved "https://registry.yarnpkg.com/@types/cacheable-request/-/cacheable-request-6.0.3.tgz#a430b3260466ca7b5ca5bfd735693b36e7a9d183" - integrity sha512-IQ3EbTzGxIigb1I3qPZc1rWJnH0BmSKv5QYTalEwweFvyBDLSAe24zP0le/hyi7ecGfZVlIVAg4BZqb8WBwKqw== - dependencies: - "@types/http-cache-semantics" "*" - "@types/keyv" "^3.1.4" - "@types/node" "*" - "@types/responselike" "^1.0.0" - -"@types/concat-stream@^2.0.0": - version "2.0.3" - resolved "https://registry.yarnpkg.com/@types/concat-stream/-/concat-stream-2.0.3.tgz#1f5c2ad26525716c181191f7ed53408f78eb758e" - integrity sha512-3qe4oQAPNwVNwK4C9c8u+VJqv9kez+2MR4qJpoPFfXtgxxif1QbFusvXzK0/Wra2VX07smostI2VMmJNSpZjuQ== - dependencies: - "@types/node" "*" - -"@types/connect@*": - version "3.4.38" - resolved "https://registry.yarnpkg.com/@types/connect/-/connect-3.4.38.tgz#5ba7f3bc4fbbdeaff8dded952e5ff2cc53f8d858" - integrity sha512-K6uROf1LD88uDQqJCktA4yzL1YYAK6NgfsI0v/mTgyPKWsX1CnJ0XPSDhViejru1GcRkLWb8RlzFYJRqGUbaug== - dependencies: - "@types/node" "*" - -"@types/debug@^4.0.0": - version "4.1.12" - resolved "https://registry.yarnpkg.com/@types/debug/-/debug-4.1.12.tgz#a155f21690871953410df4b6b6f53187f0500917" - integrity sha512-vIChWdVG3LG1SMxEvI/AK+FWJthlrqlTu7fbrlywTkkaONwk/UAGaULXRlf8vkzFBLVm0zkMdCquhL5aOjhXPQ== - dependencies: - "@types/ms" "*" - -"@types/decompress@*": - version "4.2.7" - resolved "https://registry.yarnpkg.com/@types/decompress/-/decompress-4.2.7.tgz#604f69b69d519ecb74dea1ea0829f159b85e1332" - integrity sha512-9z+8yjKr5Wn73Pt17/ldnmQToaFHZxK0N1GHysuk/JIPT8RIdQeoInM01wWPgypRcvb6VH1drjuFpQ4zmY437g== - dependencies: - "@types/node" "*" - -"@types/doctrine@^0.0.9": - version "0.0.9" - resolved "https://registry.yarnpkg.com/@types/doctrine/-/doctrine-0.0.9.tgz#d86a5f452a15e3e3113b99e39616a9baa0f9863f" - integrity sha512-eOIHzCUSH7SMfonMG1LsC2f8vxBFtho6NGBznK41R84YzPuvSBzrhEps33IsQiOW9+VL6NQ9DbjQJznk/S4uRA== - -"@types/download@^8.0.0": - version "8.0.5" - resolved "https://registry.yarnpkg.com/@types/download/-/download-8.0.5.tgz#5d800d1268343b43189f5cd0c92cc914a7786ed3" - integrity sha512-Ad68goc/BsL3atP3OP/lWKAKhiC6FduN1mC5yg9lZuGYmUY7vyoWBcXgt8GE9OzVWRq5IBXwm4o/QiE+gipZAg== - dependencies: - "@types/decompress" "*" - "@types/got" "^9" - "@types/node" "*" - -"@types/escodegen@^0.0.6": - version "0.0.6" - resolved "https://registry.yarnpkg.com/@types/escodegen/-/escodegen-0.0.6.tgz#5230a9ce796e042cda6f086dbf19f22ea330659c" - integrity sha512-AjwI4MvWx3HAOaZqYsjKWyEObT9lcVV0Y0V8nXo6cXzN8ZiMxVhf6F3d/UNvXVGKrEzL/Dluc5p+y9GkzlTWig== - -"@types/estree-jsx@^1.0.0": - version "1.0.5" - resolved "https://registry.yarnpkg.com/@types/estree-jsx/-/estree-jsx-1.0.5.tgz#858a88ea20f34fe65111f005a689fa1ebf70dc18" - integrity sha512-52CcUVNFyfb1A2ALocQw/Dd1BQFNmSdkuC3BkZ6iqhdMfQz7JWOFRuJFloOzjk+6WijU56m9oKXFAXc7o3Towg== - dependencies: - "@types/estree" "*" - -"@types/estree@*", "@types/estree@^1.0.0", "@types/estree@^1.0.5": - version "1.0.6" - resolved "https://registry.yarnpkg.com/@types/estree/-/estree-1.0.6.tgz#628effeeae2064a1b4e79f78e81d87b7e5fc7b50" - integrity sha512-AYnb1nQyY49te+VRAVgmzfcgjYS91mY5P0TKUDCLEM+gNnA+3T6rWITXRLYCpahpqSQbN5cE+gHpnPyXjHWxcw== - -"@types/estree@0.0.39": - version "0.0.39" - resolved "https://registry.yarnpkg.com/@types/estree/-/estree-0.0.39.tgz#e177e699ee1b8c22d23174caaa7422644389509f" - integrity sha512-EYNwp3bU+98cpU4lAWYYL7Zz+2gryWH1qbdDTidVd6hkiR6weksdbMadyXKXNPEkQFhXM+hVO9ZygomHXp+AIw== - -"@types/estree@^0.0.51": - version "0.0.51" - resolved "https://registry.yarnpkg.com/@types/estree/-/estree-0.0.51.tgz#cfd70924a25a3fd32b218e5e420e6897e1ac4f40" - integrity sha512-CuPgU6f3eT/XgKKPqKd/gLZV1Xmvf1a2R5POBOGQa6uv82xpls89HU5zKeVoyR8XzHd1RGNOlQlvUe3CFkjWNQ== - -"@types/express-serve-static-core@^4.17.33": - version "4.19.6" - resolved "https://registry.yarnpkg.com/@types/express-serve-static-core/-/express-serve-static-core-4.19.6.tgz#e01324c2a024ff367d92c66f48553ced0ab50267" - integrity sha512-N4LZ2xG7DatVqhCZzOGb1Yi5lMbXSZcmdLDe9EzSndPV2HpWYWzRbaerl2n27irrm94EPpprqa8KpskPT085+A== - dependencies: - "@types/node" "*" - "@types/qs" "*" - "@types/range-parser" "*" - "@types/send" "*" - -"@types/express@^4.17.21": - version "4.17.21" - resolved "https://registry.yarnpkg.com/@types/express/-/express-4.17.21.tgz#c26d4a151e60efe0084b23dc3369ebc631ed192d" - integrity sha512-ejlPM315qwLpaQlQDTjPdsUFSc6ZsP4AN6AlWnogPjQ7CVi7PYF3YVz+CY3jE2pwYf7E/7HlDAN0rV2GxTG0HQ== - dependencies: - "@types/body-parser" "*" - "@types/express-serve-static-core" "^4.17.33" - "@types/qs" "*" - "@types/serve-static" "*" - -"@types/glob@^7.1.1": - version "7.2.0" - resolved "https://registry.yarnpkg.com/@types/glob/-/glob-7.2.0.tgz#bc1b5bf3aa92f25bd5dd39f35c57361bdce5b2eb" - integrity sha512-ZUxbzKl0IfJILTS6t7ip5fQQM/J3TJYubDm3nMbgubNNYS62eXeUpoLUC8/7fJNiFYHTrGPQn7hspDUzIHX3UA== - dependencies: - "@types/minimatch" "*" - "@types/node" "*" - -"@types/got@^9": - version "9.6.12" - resolved "https://registry.yarnpkg.com/@types/got/-/got-9.6.12.tgz#fd42a6e1f5f64cd6bb422279b08c30bb5a15a56f" - integrity sha512-X4pj/HGHbXVLqTpKjA2ahI4rV/nNBc9mGO2I/0CgAra+F2dKgMXnENv2SRpemScBzBAI4vMelIVYViQxlSE6xA== - dependencies: - "@types/node" "*" - "@types/tough-cookie" "*" - form-data "^2.5.0" - -"@types/graceful-fs@^4.1.3": - version "4.1.9" - resolved "https://registry.yarnpkg.com/@types/graceful-fs/-/graceful-fs-4.1.9.tgz#2a06bc0f68a20ab37b3e36aa238be6abdf49e8b4" - integrity sha512-olP3sd1qOEe5dXTSaFvQG+02VdRXcdytWLAZsAq1PecU8uqQAhkrnbli7DagjtXKW/Bl7YJbUsa8MPcuc8LHEQ== - dependencies: - "@types/node" "*" - -"@types/hast@^2.0.0": - version "2.3.10" - resolved "https://registry.yarnpkg.com/@types/hast/-/hast-2.3.10.tgz#5c9d9e0b304bbb8879b857225c5ebab2d81d7643" - integrity sha512-McWspRw8xx8J9HurkVBfYj0xKoE25tOFlHGdx4MJ5xORQrMGZNqJhVQWaIbm6Oyla5kYOXtDiopzKRJzEOkwJw== - dependencies: - "@types/unist" "^2" - -"@types/hast@^3.0.0": - version "3.0.4" - resolved "https://registry.yarnpkg.com/@types/hast/-/hast-3.0.4.tgz#1d6b39993b82cea6ad783945b0508c25903e15aa" - integrity sha512-WPs+bbQw5aCj+x6laNGWLH3wviHtoCv/P3+otBhbOhJgG8qtpdAMlTCxLtsTWA7LH1Oh/bFCHsBn0TPS5m30EQ== - dependencies: - "@types/unist" "*" - -"@types/hoist-non-react-statics@^3.3.1": - version "3.3.5" - resolved "https://registry.yarnpkg.com/@types/hoist-non-react-statics/-/hoist-non-react-statics-3.3.5.tgz#dab7867ef789d87e2b4b0003c9d65c49cc44a494" - integrity sha512-SbcrWzkKBw2cdwRTwQAswfpB9g9LJWfjtUeW/jvNwbhC8cpmmNYVePa+ncbUe0rGTQ7G3Ff6mYUN2VMfLVr+Sg== - dependencies: - "@types/react" "*" - hoist-non-react-statics "^3.3.0" - -"@types/html-minifier-terser@^6.0.0": - version "6.1.0" - resolved "https://registry.yarnpkg.com/@types/html-minifier-terser/-/html-minifier-terser-6.1.0.tgz#4fc33a00c1d0c16987b1a20cf92d20614c55ac35" - integrity sha512-oh/6byDPnL1zeNXFrDXFLyZjkr1MsBG667IM792caf1L2UPOOMf65NFzjUH/ltyfwjAGfs1rsX1eftK0jC/KIg== - -"@types/http-cache-semantics@*": - version "4.0.4" - resolved "https://registry.yarnpkg.com/@types/http-cache-semantics/-/http-cache-semantics-4.0.4.tgz#b979ebad3919799c979b17c72621c0bc0a31c6c4" - integrity sha512-1m0bIFVc7eJWyve9S0RnuRgcQqF/Xd5QsUZAZeQFr1Q3/p9JWoQQEqmVy+DPTNpGXwhgIetAoYF8JSc33q29QA== - -"@types/http-errors@*": - version "2.0.4" - resolved "https://registry.yarnpkg.com/@types/http-errors/-/http-errors-2.0.4.tgz#7eb47726c391b7345a6ec35ad7f4de469cf5ba4f" - integrity sha512-D0CFMMtydbJAegzOyHjtiKPLlvnm3iTZyZRSZoLq2mRhDdmLfIWOCYPfQJ4cu2erKghU++QvjcUjp/5h7hESpA== - -"@types/http-proxy@^1.17.8": - version "1.17.15" - resolved "https://registry.yarnpkg.com/@types/http-proxy/-/http-proxy-1.17.15.tgz#12118141ce9775a6499ecb4c01d02f90fc839d36" - integrity sha512-25g5atgiVNTIv0LBDTg1H74Hvayx0ajtJPLLcYE3whFv75J0pWNtOBzaXJQgDTmrX1bx5U9YC2w/n65BN1HwRQ== - dependencies: - "@types/node" "*" - -"@types/is-empty@^1.0.0": - version "1.2.3" - resolved "https://registry.yarnpkg.com/@types/is-empty/-/is-empty-1.2.3.tgz#a2d55ea8a5ec57bf61e411ba2a9e5132fe4f0899" - integrity sha512-4J1l5d79hoIvsrKh5VUKVRA1aIdsOb10Hu5j3J2VfP/msDnfTdGPmNp2E1Wg+vs97Bktzo+MZePFFXSGoykYJw== - -"@types/istanbul-lib-coverage@*", "@types/istanbul-lib-coverage@^2.0.0", "@types/istanbul-lib-coverage@^2.0.1": - version "2.0.6" - resolved "https://registry.yarnpkg.com/@types/istanbul-lib-coverage/-/istanbul-lib-coverage-2.0.6.tgz#7739c232a1fee9b4d3ce8985f314c0c6d33549d7" - integrity sha512-2QF/t/auWm0lsy8XtKVPG19v3sSOQlJe/YHZgfjb/KBBHOGSV+J2q/S671rcq9uTBrLAXmZpqJiaQbMT+zNU1w== - -"@types/istanbul-lib-report@*": - version "3.0.3" - resolved "https://registry.yarnpkg.com/@types/istanbul-lib-report/-/istanbul-lib-report-3.0.3.tgz#53047614ae72e19fc0401d872de3ae2b4ce350bf" - integrity sha512-NQn7AHQnk/RSLOxrBbGyJM/aVQ+pjj5HCgasFxc0K/KhoATfQ/47AyUl15I2yBUpihjmas+a+VJBOqecrFH+uA== - dependencies: - "@types/istanbul-lib-coverage" "*" - -"@types/istanbul-reports@^1.1.1": - version "1.1.2" - resolved "https://registry.yarnpkg.com/@types/istanbul-reports/-/istanbul-reports-1.1.2.tgz#e875cc689e47bce549ec81f3df5e6f6f11cfaeb2" - integrity sha512-P/W9yOX/3oPZSpaYOCQzGqgCQRXn0FFO/V8bWrCQs+wLmvVVxk6CRBXALEvNs9OHIatlnlFokfhuDo2ug01ciw== - dependencies: - "@types/istanbul-lib-coverage" "*" - "@types/istanbul-lib-report" "*" - -"@types/istanbul-reports@^3.0.0": - version "3.0.4" - resolved "https://registry.yarnpkg.com/@types/istanbul-reports/-/istanbul-reports-3.0.4.tgz#0f03e3d2f670fbdac586e34b433783070cc16f54" - integrity sha512-pk2B1NWalF9toCRu6gjBzR69syFjP4Od8WRAX+0mmf9lAjCRicLOWc+ZrxZHx/0XRjotgkF9t6iaMJ+aXcOdZQ== - dependencies: - "@types/istanbul-lib-report" "*" - -"@types/jest@29.5.13": - version "29.5.13" - resolved "https://registry.yarnpkg.com/@types/jest/-/jest-29.5.13.tgz#8bc571659f401e6a719a7bf0dbcb8b78c71a8adc" - integrity sha512-wd+MVEZCHt23V0/L642O5APvspWply/rGY5BcW4SUETo2UzPU3Z26qr8jC2qxpimI2jjx9h7+2cj2FwIr01bXg== - dependencies: - expect "^29.0.0" - pretty-format "^29.0.0" - -"@types/jsdom@^20.0.0": - version "20.0.1" - resolved "https://registry.yarnpkg.com/@types/jsdom/-/jsdom-20.0.1.tgz#07c14bc19bd2f918c1929541cdaacae894744808" - integrity sha512-d0r18sZPmMQr1eG35u12FZfhIXNrnsPU/g5wvRKCUf/tOGilKKwYMYGqh33BNR6ba+2gkHw1EUiHoN3mn7E5IQ== - dependencies: - "@types/node" "*" - "@types/tough-cookie" "*" - parse5 "^7.0.0" - -"@types/json-schema@^7.0.8", "@types/json-schema@^7.0.9": - version "7.0.15" - resolved "https://registry.yarnpkg.com/@types/json-schema/-/json-schema-7.0.15.tgz#596a1747233694d50f6ad8a7869fcb6f56cf5841" - integrity sha512-5+fP8P8MFNC+AyZCDxrB2pkZFPGzqQWUzpSeuuVLvm8VMcorNYavBqoFcxK8bQz4Qsbn4oUEEem4wDLfcysGHA== - -"@types/json5@^0.0.29": - version "0.0.29" - resolved "https://registry.yarnpkg.com/@types/json5/-/json5-0.0.29.tgz#ee28707ae94e11d2b827bcbe5270bcea7f3e71ee" - integrity sha512-dRLjCWHYg4oaA77cxO64oO+7JwCwnIzkZPdrrC71jQmQtlhM556pwKo5bUzqvZndkVbeFLIIi+9TC40JNF5hNQ== - -"@types/keyv@^3.1.1", "@types/keyv@^3.1.4": - version "3.1.4" - resolved "https://registry.yarnpkg.com/@types/keyv/-/keyv-3.1.4.tgz#3ccdb1c6751b0c7e52300bcdacd5bcbf8faa75b6" - integrity sha512-BQ5aZNSCpj7D6K2ksrRCTmKRLEpnPvWDiLPfoGyhZ++8YtiK9d/3DBKPJgry359X/P1PfruyYwvnvwFjuEiEIg== - dependencies: - "@types/node" "*" - -"@types/lodash@^4.14.167": - version "4.17.11" - resolved "https://registry.yarnpkg.com/@types/lodash/-/lodash-4.17.11.tgz#8d01705ee14865015a0520e80b7ce95f3c2f7060" - integrity sha512-jzqWo/uQP/iqeGGTjhgFp2yaCrCYTauASQcpdzESNCkHjSprBJVcZP9KG9aQ0q+xcsXiKd/iuw/4dLjS3Odc7Q== - -"@types/mdast@^3.0.0": - version "3.0.15" - resolved "https://registry.yarnpkg.com/@types/mdast/-/mdast-3.0.15.tgz#49c524a263f30ffa28b71ae282f813ed000ab9f5" - integrity sha512-LnwD+mUEfxWMa1QpDraczIn6k0Ee3SMicuYSSzS6ZYl2gKS09EClnJYGd8Du6rfc5r/GZEk5o1mRb8TaTj03sQ== - dependencies: - "@types/unist" "^2" - -"@types/mdast@^4.0.0": - version "4.0.4" - resolved "https://registry.yarnpkg.com/@types/mdast/-/mdast-4.0.4.tgz#7ccf72edd2f1aa7dd3437e180c64373585804dd6" - integrity sha512-kGaNbPh1k7AFzgpud/gMdvIm5xuECykRR+JnWKQno9TAXVa6WIVCGTPvYGekIDL4uwCZQSYbUxNBSb1aUo79oA== - dependencies: - "@types/unist" "*" - -"@types/mdx@^2.0.0": - version "2.0.13" - resolved "https://registry.yarnpkg.com/@types/mdx/-/mdx-2.0.13.tgz#68f6877043d377092890ff5b298152b0a21671bd" - integrity sha512-+OWZQfAYyio6YkJb3HLxDrvnx6SWWDbC0zVPfBRzUk0/nqoDyf6dNxQi3eArPe8rJ473nobTMQ/8Zk+LxJ+Yuw== - -"@types/mime@^1": - version "1.3.5" - resolved "https://registry.yarnpkg.com/@types/mime/-/mime-1.3.5.tgz#1ef302e01cf7d2b5a0fa526790c9123bf1d06690" - integrity sha512-/pyBZWSLD2n0dcHE3hq8s8ZvcETHtEuF+3E7XVt0Ig2nvsVQXdghHVcEkIWjy9A0wKfTn97a/PSDYohKIlnP/w== - -"@types/minimatch@*": - version "5.1.2" - resolved "https://registry.yarnpkg.com/@types/minimatch/-/minimatch-5.1.2.tgz#07508b45797cb81ec3f273011b054cd0755eddca" - integrity sha512-K0VQKziLUWkVKiRVrx4a40iPaxTUefQmjtkQofBkYRcoaaL/8rhwDWww9qWbrgicNOgnpIsMxyNIUM4+n6dUIA== - -"@types/minimatch@^3.0.3": - version "3.0.5" - resolved "https://registry.yarnpkg.com/@types/minimatch/-/minimatch-3.0.5.tgz#1001cc5e6a3704b83c236027e77f2f58ea010f40" - integrity sha512-Klz949h02Gz2uZCMGwDUSDS1YBlTdDDgbWHi+81l29tQALUtvz4rAYi5uoVhE5Lagoq6DeqAUlbrHvW/mXDgdQ== - -"@types/minimist@^1.2.0": - version "1.2.5" - resolved "https://registry.yarnpkg.com/@types/minimist/-/minimist-1.2.5.tgz#ec10755e871497bcd83efe927e43ec46e8c0747e" - integrity sha512-hov8bUuiLiyFPGyFPE1lwWhmzYbirOXQNNo40+y3zow8aFVTeyn3VWL0VFFfdNddA8S4Vf0Tc062rzyNr7Paag== - -"@types/ms@*": - version "0.7.34" - resolved "https://registry.yarnpkg.com/@types/ms/-/ms-0.7.34.tgz#10964ba0dee6ac4cd462e2795b6bebd407303433" - integrity sha512-nG96G3Wp6acyAgJqGasjODb+acrI7KltPiRxzHPXnP3NgI28bpQDRv53olbqGXbfcgF5aiiHmO3xpwEpS5Ld9g== - -"@types/node-fetch@^2.1.6": - version "2.6.11" - resolved "https://registry.yarnpkg.com/@types/node-fetch/-/node-fetch-2.6.11.tgz#9b39b78665dae0e82a08f02f4967d62c66f95d24" - integrity sha512-24xFj9R5+rfQJLRyM56qh+wnVSYhyXC2tkoBndtY0U+vubqNsYXGjufB2nn8Q6gt0LrARwL6UBtMCSVCwl4B1g== - dependencies: - "@types/node" "*" - form-data "^4.0.0" - -"@types/node@*", "@types/node@^22.0.0": - version "22.7.6" - resolved "https://registry.yarnpkg.com/@types/node/-/node-22.7.6.tgz#3ec3e2b071e136cd11093c19128405e1d1f92f33" - integrity sha512-/d7Rnj0/ExXDMcioS78/kf1lMzYk4BZV8MZGTBKzTGZ6/406ukkbYlIsZmMPhcR5KlkunDHQLrtAVmSq7r+mSw== - dependencies: - undici-types "~6.19.2" - -"@types/node@^12.7.1": - version "12.20.55" - resolved "https://registry.yarnpkg.com/@types/node/-/node-12.20.55.tgz#c329cbd434c42164f846b909bd6f85b5537f6240" - integrity sha512-J8xLz7q2OFulZ2cyGTLE1TbbZcjpno7FaN6zdJNrgAdrJ+DZzh/uFR6YrTb4C+nXakvud8Q4+rbhoIWlYQbUFQ== - -"@types/node@^16.0.0": - version "16.18.114" - resolved "https://registry.yarnpkg.com/@types/node/-/node-16.18.114.tgz#794d93059fd94a85503484e111aa820b3ebb4d4b" - integrity sha512-7oAtnxrgkMNzyzT443UDWwzkmYew81F1ZSPm3/lsITJfW/WludaSOpegTvUG+UdapcbrtWOtY/E4LyTkhPGJ5Q== - -"@types/node@^18.0.0": - version "18.19.56" - resolved "https://registry.yarnpkg.com/@types/node/-/node-18.19.56.tgz#e46d3e6e5417d3b89e89ee6207d3c2cba7ad1ef2" - integrity sha512-4EMJlWwwGnVPflJAtM14p9eVSa6BOv5b92mCsh5zcM1UagNtEtrbbtaE6WE1tw2TabavatnwqXjlIpcAEuJJNg== - dependencies: - undici-types "~5.26.4" - -"@types/normalize-package-data@^2.4.0", "@types/normalize-package-data@^2.4.1": - version "2.4.4" - resolved "https://registry.yarnpkg.com/@types/normalize-package-data/-/normalize-package-data-2.4.4.tgz#56e2cc26c397c038fab0e3a917a12d5c5909e901" - integrity sha512-37i+OaWTh9qeK4LSHPsyRC7NahnGotNuZvjLSgcPzblpHB3rrCJxAOgI5gCdKm7coonsaX1Of0ILiTcnZjbfxA== - -"@types/parse-json@^4.0.0": - version "4.0.2" - resolved "https://registry.yarnpkg.com/@types/parse-json/-/parse-json-4.0.2.tgz#5950e50960793055845e956c427fc2b0d70c5239" - integrity sha512-dISoDXWWQwUquiKsyZ4Ng+HX2KsPL7LyHKHQwgGFEA3IaKac4Obd+h2a/a6waisAoepJlBcx9paWqjA8/HVjCw== - -"@types/prop-types@*": - version "15.7.13" - resolved "https://registry.yarnpkg.com/@types/prop-types/-/prop-types-15.7.13.tgz#2af91918ee12d9d32914feb13f5326658461b451" - integrity sha512-hCZTSvwbzWGvhqxp/RqVqwU999pBf2vp7hzIjiYOsl8wqOmUxkQ6ddw1cV3l8811+kdUFus/q4d1Y3E3SyEifA== - -"@types/qs@*": - version "6.9.16" - resolved "https://registry.yarnpkg.com/@types/qs/-/qs-6.9.16.tgz#52bba125a07c0482d26747d5d4947a64daf8f794" - integrity sha512-7i+zxXdPD0T4cKDuxCUXJ4wHcsJLwENa6Z3dCu8cfCK743OGy5Nu1RmAGqDPsoTDINVEcdXKRvR/zre+P2Ku1A== - -"@types/range-parser@*": - version "1.2.7" - resolved "https://registry.yarnpkg.com/@types/range-parser/-/range-parser-1.2.7.tgz#50ae4353eaaddc04044279812f52c8c65857dbcb" - integrity sha512-hKormJbkJqzQGhziax5PItDUTMAM9uE2XXQmM37dyd4hVM+5aVl7oVxMVUiVQn2oCQFN/LKCZdvSM0pFRqbSmQ== - -"@types/react-dom@18.3.1": - version "18.3.1" - resolved "https://registry.yarnpkg.com/@types/react-dom/-/react-dom-18.3.1.tgz#1e4654c08a9cdcfb6594c780ac59b55aad42fe07" - integrity sha512-qW1Mfv8taImTthu4KoXgDfLuk4bydU6Q/TkADnDWWHwi4NX4BR+LWfTp2sVmTqRrsHvyDDTelgelxJ+SsejKKQ== - dependencies: - "@types/react" "*" - -"@types/react-is@18.3.0": - version "18.3.0" - resolved "https://registry.yarnpkg.com/@types/react-is/-/react-is-18.3.0.tgz#07008aecacf9c788f68e72eecca43701d7e6eefb" - integrity sha512-KZJpHUkAdzyKj/kUHJDc6N7KyidftICufJfOFpiG6haL/BDQNQt5i4n1XDUL/nDZAtGLHDSWRYpLzKTAKSvX6w== - dependencies: - "@types/react" "*" - -"@types/react@*", "@types/react@18.3.11", "@types/react@^16.8.0 || ^17.0.0 || ^18.0.0": - version "18.3.11" - resolved "https://registry.yarnpkg.com/@types/react/-/react-18.3.11.tgz#9d530601ff843ee0d7030d4227ea4360236bd537" - integrity sha512-r6QZ069rFTjrEYgFdOck1gK7FLVsgJE7tTz0pQBczlBNUhBNk0MQH4UbnFSwjpQLMkLzgqvBBa+qGpLje16eTQ== - dependencies: - "@types/prop-types" "*" - csstype "^3.0.2" - -"@types/resize-observer-browser@0.1.11": - version "0.1.11" - resolved "https://registry.yarnpkg.com/@types/resize-observer-browser/-/resize-observer-browser-0.1.11.tgz#d3c98d788489d8376b7beac23863b1eebdd3c13c" - integrity sha512-cNw5iH8JkMkb3QkCoe7DaZiawbDQEUX8t7iuQaRTyLOyQCR2h+ibBD4GJt7p5yhUHrlOeL7ZtbxNHeipqNsBzQ== - -"@types/resolve@1.17.1": - version "1.17.1" - resolved "https://registry.yarnpkg.com/@types/resolve/-/resolve-1.17.1.tgz#3afd6ad8967c77e4376c598a82ddd58f46ec45d6" - integrity sha512-yy7HuzQhj0dhGpD8RLXSZWEkLsV9ibvxvi6EiJ3bkqLAO1RGo0WbkWQiwpRlSFymTJRz0d3k5LM3kkx8ArDbLw== - dependencies: - "@types/node" "*" - -"@types/resolve@^1.20.2": - version "1.20.6" - resolved "https://registry.yarnpkg.com/@types/resolve/-/resolve-1.20.6.tgz#e6e60dad29c2c8c206c026e6dd8d6d1bdda850b8" - integrity sha512-A4STmOXPhMUtHH+S6ymgE2GiBSMqf4oTvcQZMcHzokuTLVYzXTB8ttjcgxOVaAp2lGwEdzZ0J+cRbbeevQj1UQ== - -"@types/responselike@^1.0.0": - version "1.0.3" - resolved "https://registry.yarnpkg.com/@types/responselike/-/responselike-1.0.3.tgz#cc29706f0a397cfe6df89debfe4bf5cea159db50" - integrity sha512-H/+L+UkTV33uf49PH5pCAUBVPNj2nDBXTN+qS1dOwyyg24l3CcicicCA7ca+HMvJBZcFgl5r8e+RR6elsb4Lyw== - dependencies: - "@types/node" "*" - -"@types/semver@^7.0.0", "@types/semver@^7.3.12", "@types/semver@^7.3.4": - version "7.5.8" - resolved "https://registry.yarnpkg.com/@types/semver/-/semver-7.5.8.tgz#8268a8c57a3e4abd25c165ecd36237db7948a55e" - integrity sha512-I8EUhyrgfLrcTkzV3TSsGyl1tSuPrEDzr0yd5m90UgNxQkyDXULk3b6MlQqTCpZpNtWe1K0hzclnZkTcLBe2UQ== - -"@types/send@*": - version "0.17.4" - resolved "https://registry.yarnpkg.com/@types/send/-/send-0.17.4.tgz#6619cd24e7270793702e4e6a4b958a9010cfc57a" - integrity sha512-x2EM6TJOybec7c52BX0ZspPodMsQUd5L6PRwOunVyVUhXiBSKf3AezDL8Dgvgt5o0UfKNfuA0eMLr2wLT4AiBA== - dependencies: - "@types/mime" "^1" - "@types/node" "*" - -"@types/serve-static@*": - version "1.15.7" - resolved "https://registry.yarnpkg.com/@types/serve-static/-/serve-static-1.15.7.tgz#22174bbd74fb97fe303109738e9b5c2f3064f714" - integrity sha512-W8Ym+h8nhuRwaKPaDw34QUkwsGi6Rc4yYqvKFo5rm2FUEhCFbzVWrxXUxuKK8TASjWsysJY0nsmNCGhCOIsrOw== - dependencies: - "@types/http-errors" "*" - "@types/node" "*" - "@types/send" "*" - -"@types/stack-utils@^2.0.0": - version "2.0.3" - resolved "https://registry.yarnpkg.com/@types/stack-utils/-/stack-utils-2.0.3.tgz#6209321eb2c1712a7e7466422b8cb1fc0d9dd5d8" - integrity sha512-9aEbYZ3TbYMznPdcdr3SmIrLXwC/AKZXQeCf9Pgao5CKb8CyHuEX5jzWPTkvregvhRJHcpRO6BFoGW9ycaOkYw== - -"@types/supports-color@^8.0.0": - version "8.1.3" - resolved "https://registry.yarnpkg.com/@types/supports-color/-/supports-color-8.1.3.tgz#b769cdce1d1bb1a3fa794e35b62c62acdf93c139" - integrity sha512-Hy6UMpxhE3j1tLpl27exp1XqHD7n8chAiNPzWfz16LPZoMMoSc4dzLl6w9qijkEb/r5O1ozdu1CWGA2L83ZeZg== - -"@types/tough-cookie@*": - version "4.0.5" - resolved "https://registry.yarnpkg.com/@types/tough-cookie/-/tough-cookie-4.0.5.tgz#cb6e2a691b70cb177c6e3ae9c1d2e8b2ea8cd304" - integrity sha512-/Ad8+nIOV7Rl++6f1BdKxFSMgmoqEoYbHRpPcx3JEfv8VRsQe9Z4mCXeJBzxs7mbHY/XOZZuXlRNfhpVPbs6ZA== - -"@types/triple-beam@^1.3.2": - version "1.3.5" - resolved "https://registry.yarnpkg.com/@types/triple-beam/-/triple-beam-1.3.5.tgz#74fef9ffbaa198eb8b588be029f38b00299caa2c" - integrity sha512-6WaYesThRMCl19iryMYP7/x2OVgCtbIVflDGFpWnb9irXI3UjYE4AzmYuiUKY1AJstGijoY+MgUszMgRxIYTYw== - -"@types/unist@*", "@types/unist@^3.0.0": - version "3.0.3" - resolved "https://registry.yarnpkg.com/@types/unist/-/unist-3.0.3.tgz#acaab0f919ce69cce629c2d4ed2eb4adc1b6c20c" - integrity sha512-ko/gIFJRv177XgZsZcBwnqJN5x/Gien8qNOn0D5bQU/zAzVf9Zt3BlcUiLqhV9y4ARk0GbT3tnUiPNgnTXzc/Q== - -"@types/unist@^2", "@types/unist@^2.0.0", "@types/unist@^2.0.2": - version "2.0.11" - resolved "https://registry.yarnpkg.com/@types/unist/-/unist-2.0.11.tgz#11af57b127e32487774841f7a4e54eab166d03c4" - integrity sha512-CmBKiL6NNo/OqgmMn95Fk9Whlp2mtvIv+KNpQKN2F4SjvrEesubTRWGYSg+BnWZOnlCaSTU1sMpsBOzgbYhnsA== - -"@types/uuid@^9.0.1": - version "9.0.8" - resolved "https://registry.yarnpkg.com/@types/uuid/-/uuid-9.0.8.tgz#7545ba4fc3c003d6c756f651f3bf163d8f0f29ba" - integrity sha512-jg+97EGIcY9AGHJJRaaPVgetKDsrTgbRjQ5Msgjh/DQKEFl0DtyRr/VCOyD1T2R1MNeWPK/u7JoGhlDZnKBAfA== - -"@types/wait-on@^5.2.0": - version "5.3.4" - resolved "https://registry.yarnpkg.com/@types/wait-on/-/wait-on-5.3.4.tgz#5ee270b3e073fb01073f9f044922c6893de8c4d2" - integrity sha512-EBsPjFMrFlMbbUFf9D1Fp+PAB2TwmUn7a3YtHyD9RLuTIk1jDd8SxXVAoez2Ciy+8Jsceo2MYEYZzJ/DvorOKw== - dependencies: - "@types/node" "*" - -"@types/yargs-parser@*": - version "21.0.3" - resolved "https://registry.yarnpkg.com/@types/yargs-parser/-/yargs-parser-21.0.3.tgz#815e30b786d2e8f0dcd85fd5bcf5e1a04d008f15" - integrity sha512-I4q9QU9MQv4oEOz4tAHJtNz1cwuLxn2F3xcc2iV5WdqLPpUnj30aUuxt1mAxYTG+oe8CZMV/+6rU4S4gRDzqtQ== - -"@types/yargs@^15.0.0": - version "15.0.19" - resolved "https://registry.yarnpkg.com/@types/yargs/-/yargs-15.0.19.tgz#328fb89e46109ecbdb70c295d96ff2f46dfd01b9" - integrity sha512-2XUaGVmyQjgyAZldf0D0c14vvo/yv0MhQBSTJcejMMaitsn3nxCB6TmH4G0ZQf+uxROOa9mpanoSm8h6SG/1ZA== - dependencies: - "@types/yargs-parser" "*" - -"@types/yargs@^16.0.0": - version "16.0.9" - resolved "https://registry.yarnpkg.com/@types/yargs/-/yargs-16.0.9.tgz#ba506215e45f7707e6cbcaf386981155b7ab956e" - integrity sha512-tHhzvkFXZQeTECenFoRljLBYPZJ7jAVxqqtEI0qTLOmuultnFp4I9yKE17vTuhf7BkhCu7I4XuemPgikDVuYqA== - dependencies: - "@types/yargs-parser" "*" - -"@types/yargs@^17.0.8": - version "17.0.33" - resolved "https://registry.yarnpkg.com/@types/yargs/-/yargs-17.0.33.tgz#8c32303da83eec050a84b3c7ae7b9f922d13e32d" - integrity sha512-WpxBCKWPLr4xSsHgz511rFJAM+wS28w2zEO1QDNY5zM/S8ok70NNfztH0xwhqKyaK0OHCbN98LDAZuy1ctxDkA== - dependencies: - "@types/yargs-parser" "*" - -"@typescript-eslint/eslint-plugin@^5": - version "5.62.0" - resolved "https://registry.yarnpkg.com/@typescript-eslint/eslint-plugin/-/eslint-plugin-5.62.0.tgz#aeef0328d172b9e37d9bab6dbc13b87ed88977db" - integrity sha512-TiZzBSJja/LbhNPvk6yc0JrX9XqhQ0hdh6M2svYfsHGejaKFIAGd9MQ+ERIMzLGlN/kZoYIgdxFV0PuljTKXag== - dependencies: - "@eslint-community/regexpp" "^4.4.0" - "@typescript-eslint/scope-manager" "5.62.0" - "@typescript-eslint/type-utils" "5.62.0" - "@typescript-eslint/utils" "5.62.0" - debug "^4.3.4" - graphemer "^1.4.0" - ignore "^5.2.0" - natural-compare-lite "^1.4.0" - semver "^7.3.7" - tsutils "^3.21.0" - -"@typescript-eslint/experimental-utils@^5.0.0": - version "5.62.0" - resolved "https://registry.yarnpkg.com/@typescript-eslint/experimental-utils/-/experimental-utils-5.62.0.tgz#14559bf73383a308026b427a4a6129bae2146741" - integrity sha512-RTXpeB3eMkpoclG3ZHft6vG/Z30azNHuqY6wKPBHlVMZFuEvrtlEDe8gMqDb+SO+9hjC/pLekeSCryf9vMZlCw== - dependencies: - "@typescript-eslint/utils" "5.62.0" - -"@typescript-eslint/parser@8.10.0": - version "8.10.0" - resolved "https://registry.yarnpkg.com/@typescript-eslint/parser/-/parser-8.10.0.tgz#3cbe7206f5e42835878a74a76da533549f977662" - integrity sha512-E24l90SxuJhytWJ0pTQydFT46Nk0Z+bsLKo/L8rtQSL93rQ6byd1V/QbDpHUTdLPOMsBCcYXZweADNCfOCmOAg== - dependencies: - "@typescript-eslint/scope-manager" "8.10.0" - "@typescript-eslint/types" "8.10.0" - "@typescript-eslint/typescript-estree" "8.10.0" - "@typescript-eslint/visitor-keys" "8.10.0" - debug "^4.3.4" - -"@typescript-eslint/scope-manager@5.62.0": - version "5.62.0" - resolved "https://registry.yarnpkg.com/@typescript-eslint/scope-manager/-/scope-manager-5.62.0.tgz#d9457ccc6a0b8d6b37d0eb252a23022478c5460c" - integrity sha512-VXuvVvZeQCQb5Zgf4HAxc04q5j+WrNAtNh9OwCsCgpKqESMTu3tF/jhZ3xG6T4NZwWl65Bg8KuS2uEvhSfLl0w== - dependencies: - "@typescript-eslint/types" "5.62.0" - "@typescript-eslint/visitor-keys" "5.62.0" - -"@typescript-eslint/scope-manager@8.10.0": - version "8.10.0" - resolved "https://registry.yarnpkg.com/@typescript-eslint/scope-manager/-/scope-manager-8.10.0.tgz#606ffe18314d7b5c2f118f2f02aaa2958107a19c" - integrity sha512-AgCaEjhfql9MDKjMUxWvH7HjLeBqMCBfIaBbzzIcBbQPZE7CPh1m6FF+L75NUMJFMLYhCywJXIDEMa3//1A0dw== - dependencies: - "@typescript-eslint/types" "8.10.0" - "@typescript-eslint/visitor-keys" "8.10.0" - -"@typescript-eslint/type-utils@5.62.0": - version "5.62.0" - resolved "https://registry.yarnpkg.com/@typescript-eslint/type-utils/-/type-utils-5.62.0.tgz#286f0389c41681376cdad96b309cedd17d70346a" - integrity sha512-xsSQreu+VnfbqQpW5vnCJdq1Z3Q0U31qiWmRhr98ONQmcp/yhiPJFPq8MXiJVLiksmOKSjIldZzkebzHuCGzew== - dependencies: - "@typescript-eslint/typescript-estree" "5.62.0" - "@typescript-eslint/utils" "5.62.0" - debug "^4.3.4" - tsutils "^3.21.0" - -"@typescript-eslint/types@4.33.0": - version "4.33.0" - resolved "https://registry.yarnpkg.com/@typescript-eslint/types/-/types-4.33.0.tgz#a1e59036a3b53ae8430ceebf2a919dc7f9af6d72" - integrity sha512-zKp7CjQzLQImXEpLt2BUw1tvOMPfNoTAfb8l51evhYbOEEzdWyQNmHWWGPR6hwKJDAi+1VXSBmnhL9kyVTTOuQ== - -"@typescript-eslint/types@5.62.0": - version "5.62.0" - resolved "https://registry.yarnpkg.com/@typescript-eslint/types/-/types-5.62.0.tgz#258607e60effa309f067608931c3df6fed41fd2f" - integrity sha512-87NVngcbVXUahrRTqIK27gD2t5Cu1yuCXxbLcFtCzZGlfyVWWh8mLHkoxzjsB6DDNnvdL+fW8MiwPEJyGJQDgQ== - -"@typescript-eslint/types@8.10.0": - version "8.10.0" - resolved "https://registry.yarnpkg.com/@typescript-eslint/types/-/types-8.10.0.tgz#eb29c4bc2ed23489348c297469c76d28c38fb618" - integrity sha512-k/E48uzsfJCRRbGLapdZgrX52csmWJ2rcowwPvOZ8lwPUv3xW6CcFeJAXgx4uJm+Ge4+a4tFOkdYvSpxhRhg1w== - -"@typescript-eslint/typescript-estree@5.62.0", "@typescript-eslint/typescript-estree@^5.55.0": - version "5.62.0" - resolved "https://registry.yarnpkg.com/@typescript-eslint/typescript-estree/-/typescript-estree-5.62.0.tgz#7d17794b77fabcac615d6a48fb143330d962eb9b" - integrity sha512-CmcQ6uY7b9y694lKdRB8FEel7JbU/40iSAPomu++SjLMntB+2Leay2LO6i8VnJk58MtE9/nQSFIH6jpyRWyYzA== - dependencies: - "@typescript-eslint/types" "5.62.0" - "@typescript-eslint/visitor-keys" "5.62.0" - debug "^4.3.4" - globby "^11.1.0" - is-glob "^4.0.3" - semver "^7.3.7" - tsutils "^3.21.0" - -"@typescript-eslint/typescript-estree@8.10.0": - version "8.10.0" - resolved "https://registry.yarnpkg.com/@typescript-eslint/typescript-estree/-/typescript-estree-8.10.0.tgz#36cc66e06c5f44d6781f95cb03b132e985273a33" - integrity sha512-3OE0nlcOHaMvQ8Xu5gAfME3/tWVDpb/HxtpUZ1WeOAksZ/h/gwrBzCklaGzwZT97/lBbbxJ16dMA98JMEngW4w== - dependencies: - "@typescript-eslint/types" "8.10.0" - "@typescript-eslint/visitor-keys" "8.10.0" - debug "^4.3.4" - fast-glob "^3.3.2" - is-glob "^4.0.3" - minimatch "^9.0.4" - semver "^7.6.0" - ts-api-utils "^1.3.0" - -"@typescript-eslint/typescript-estree@^4.33.0": - version "4.33.0" - resolved "https://registry.yarnpkg.com/@typescript-eslint/typescript-estree/-/typescript-estree-4.33.0.tgz#0dfb51c2908f68c5c08d82aefeaf166a17c24609" - integrity sha512-rkWRY1MPFzjwnEVHsxGemDzqqddw2QbTJlICPD9p9I9LfsO8fdmfQPOX3uKfUaGRDFJbfrtm/sXhVXN4E+bzCA== - dependencies: - "@typescript-eslint/types" "4.33.0" - "@typescript-eslint/visitor-keys" "4.33.0" - debug "^4.3.1" - globby "^11.0.3" - is-glob "^4.0.1" - semver "^7.3.5" - tsutils "^3.21.0" - -"@typescript-eslint/utils@5.62.0", "@typescript-eslint/utils@^5.10.0", "@typescript-eslint/utils@^5.12.0", "@typescript-eslint/utils@^5.58.0", "@typescript-eslint/utils@^5.62.0": - version "5.62.0" - resolved "https://registry.yarnpkg.com/@typescript-eslint/utils/-/utils-5.62.0.tgz#141e809c71636e4a75daa39faed2fb5f4b10df86" - integrity sha512-n8oxjeb5aIbPFEtmQxQYOLI0i9n5ySBEY/ZEHHZqKQSFnxio1rv6dthascc9dLuwrL0RC5mPCxB7vnAVGAYWAQ== - dependencies: - "@eslint-community/eslint-utils" "^4.2.0" - "@types/json-schema" "^7.0.9" - "@types/semver" "^7.3.12" - "@typescript-eslint/scope-manager" "5.62.0" - "@typescript-eslint/types" "5.62.0" - "@typescript-eslint/typescript-estree" "5.62.0" - eslint-scope "^5.1.1" - semver "^7.3.7" - -"@typescript-eslint/visitor-keys@4.33.0": - version "4.33.0" - resolved "https://registry.yarnpkg.com/@typescript-eslint/visitor-keys/-/visitor-keys-4.33.0.tgz#2a22f77a41604289b7a186586e9ec48ca92ef1dd" - integrity sha512-uqi/2aSz9g2ftcHWf8uLPJA70rUv6yuMW5Bohw+bwcuzaxQIHaKFZCKGoGXIrc9vkTJ3+0txM73K0Hq3d5wgIg== - dependencies: - "@typescript-eslint/types" "4.33.0" - eslint-visitor-keys "^2.0.0" - -"@typescript-eslint/visitor-keys@5.62.0": - version "5.62.0" - resolved "https://registry.yarnpkg.com/@typescript-eslint/visitor-keys/-/visitor-keys-5.62.0.tgz#2174011917ce582875954ffe2f6912d5931e353e" - integrity sha512-07ny+LHRzQXepkGg6w0mFY41fVUNBrL2Roj/++7V1txKugfjm/Ci/qSND03r2RhlJhJYMcTn9AhhSSqQp0Ysyw== - dependencies: - "@typescript-eslint/types" "5.62.0" - eslint-visitor-keys "^3.3.0" - -"@typescript-eslint/visitor-keys@8.10.0": - version "8.10.0" - resolved "https://registry.yarnpkg.com/@typescript-eslint/visitor-keys/-/visitor-keys-8.10.0.tgz#7ce4c0c3b82140415c9cd9babe09e0000b4e9979" - integrity sha512-k8nekgqwr7FadWk548Lfph6V3r9OVqjzAIVskE7orMZR23cGJjAOVazsZSJW+ElyjfTM4wx/1g88Mi70DDtG9A== - dependencies: - "@typescript-eslint/types" "8.10.0" - eslint-visitor-keys "^3.4.3" - -"@ungap/structured-clone@^1.0.0", "@ungap/structured-clone@^1.2.0": - version "1.2.0" - resolved "https://registry.yarnpkg.com/@ungap/structured-clone/-/structured-clone-1.2.0.tgz#756641adb587851b5ccb3e095daf27ae581c8406" - integrity sha512-zuVdFrMJiuCDQUMCzQaD6KL28MjnqqN8XnAqiEq9PNm/hCPTSGfrXCOfwj1ow4LFb/tNymJPwsNbVePc1xFqrQ== - -"@vercel/nft@^0.17.0": - version "0.17.5" - resolved "https://registry.yarnpkg.com/@vercel/nft/-/nft-0.17.5.tgz#eab288a3786b8bd6fc08c0ef0b70d162984d1643" - integrity sha512-6n4uXmfkcHAmkI4rJlwFJb8yvWuH6uDOi5qme0yGC1B/KmWJ66dERupdAj9uj7eEmgM7N3bKNY5zOYE7cKZE1g== - dependencies: - "@mapbox/node-pre-gyp" "^1.0.5" - acorn "^8.6.0" - bindings "^1.4.0" - estree-walker "2.0.2" - glob "^7.1.3" - graceful-fs "^4.2.9" - micromatch "^4.0.2" - node-gyp-build "^4.2.2" - node-pre-gyp "^0.13.0" - resolve-from "^5.0.0" - rollup-pluginutils "^2.8.2" - -"@vercel/nft@^0.22.0": - version "0.22.6" - resolved "https://registry.yarnpkg.com/@vercel/nft/-/nft-0.22.6.tgz#edb30d300bb809c0945ea4c7b87e56f634885541" - integrity sha512-gTsFnnT4mGxodr4AUlW3/urY+8JKKB452LwF3m477RFUJTAaDmcz2JqFuInzvdybYIeyIv1sSONEJxsxnbQ5JQ== - dependencies: - "@mapbox/node-pre-gyp" "^1.0.5" - "@rollup/pluginutils" "^4.0.0" - acorn "^8.6.0" - async-sema "^3.1.1" - bindings "^1.4.0" - estree-walker "2.0.2" - glob "^7.1.3" - graceful-fs "^4.2.9" - micromatch "^4.0.2" - node-gyp-build "^4.2.2" - resolve-from "^5.0.0" - -"@vitest/expect@2.0.5": - version "2.0.5" - resolved "https://registry.yarnpkg.com/@vitest/expect/-/expect-2.0.5.tgz#f3745a6a2c18acbea4d39f5935e913f40d26fa86" - integrity sha512-yHZtwuP7JZivj65Gxoi8upUN2OzHTi3zVfjwdpu2WrvCZPLwsJ2Ey5ILIPccoW23dd/zQBlJ4/dhi7DWNyXCpA== - dependencies: - "@vitest/spy" "2.0.5" - "@vitest/utils" "2.0.5" - chai "^5.1.1" - tinyrainbow "^1.2.0" - -"@vitest/pretty-format@2.0.5": - version "2.0.5" - resolved "https://registry.yarnpkg.com/@vitest/pretty-format/-/pretty-format-2.0.5.tgz#91d2e6d3a7235c742e1a6cc50e7786e2f2979b1e" - integrity sha512-h8k+1oWHfwTkyTkb9egzwNMfJAEx4veaPSnMeKbVSjp4euqGSbQlm5+6VHwTr7u4FJslVVsUG5nopCaAYdOmSQ== - dependencies: - tinyrainbow "^1.2.0" - -"@vitest/pretty-format@2.1.3": - version "2.1.3" - resolved "https://registry.yarnpkg.com/@vitest/pretty-format/-/pretty-format-2.1.3.tgz#48b9b03de75507d1d493df7beb48dc39a1946a3e" - integrity sha512-XH1XdtoLZCpqV59KRbPrIhFCOO0hErxrQCMcvnQete3Vibb9UeIOX02uFPfVn3Z9ZXsq78etlfyhnkmIZSzIwQ== - dependencies: - tinyrainbow "^1.2.0" - -"@vitest/spy@2.0.5": - version "2.0.5" - resolved "https://registry.yarnpkg.com/@vitest/spy/-/spy-2.0.5.tgz#590fc07df84a78b8e9dd976ec2090920084a2b9f" - integrity sha512-c/jdthAhvJdpfVuaexSrnawxZz6pywlTPe84LUB2m/4t3rl2fTo9NFGBG4oWgaD+FTgDDV8hJ/nibT7IfH3JfA== - dependencies: - tinyspy "^3.0.0" - -"@vitest/utils@2.0.5": - version "2.0.5" - resolved "https://registry.yarnpkg.com/@vitest/utils/-/utils-2.0.5.tgz#6f8307a4b6bc6ceb9270007f73c67c915944e926" - integrity sha512-d8HKbqIcya+GR67mkZbrzhS5kKhtp8dQLcmRZLGTscGVg7yImT82cIrhtn2L8+VujWcy6KZweApgNmPsTAO/UQ== - dependencies: - "@vitest/pretty-format" "2.0.5" - estree-walker "^3.0.3" - loupe "^3.1.1" - tinyrainbow "^1.2.0" - -"@vitest/utils@^2.0.5": - version "2.1.3" - resolved "https://registry.yarnpkg.com/@vitest/utils/-/utils-2.1.3.tgz#e52aa5745384091b151cbdf79bb5a3ad2bea88d2" - integrity sha512-xpiVfDSg1RrYT0tX6czgerkpcKFmFOF/gCr30+Mve5V2kewCy4Prn1/NDMSRwaSmT7PRaOF83wu+bEtsY1wrvA== - dependencies: - "@vitest/pretty-format" "2.1.3" - loupe "^3.1.1" - tinyrainbow "^1.2.0" - -"@webassemblyjs/ast@1.12.1", "@webassemblyjs/ast@^1.12.1": - version "1.12.1" - resolved "https://registry.yarnpkg.com/@webassemblyjs/ast/-/ast-1.12.1.tgz#bb16a0e8b1914f979f45864c23819cc3e3f0d4bb" - integrity sha512-EKfMUOPRRUTy5UII4qJDGPpqfwjOmZ5jeGFwid9mnoqIFK+e0vqoi1qH56JpmZSzEL53jKnNzScdmftJyG5xWg== - dependencies: - "@webassemblyjs/helper-numbers" "1.11.6" - "@webassemblyjs/helper-wasm-bytecode" "1.11.6" - -"@webassemblyjs/floating-point-hex-parser@1.11.6": - version "1.11.6" - resolved "https://registry.yarnpkg.com/@webassemblyjs/floating-point-hex-parser/-/floating-point-hex-parser-1.11.6.tgz#dacbcb95aff135c8260f77fa3b4c5fea600a6431" - integrity sha512-ejAj9hfRJ2XMsNHk/v6Fu2dGS+i4UaXBXGemOfQ/JfQ6mdQg/WXtwleQRLLS4OvfDhv8rYnVwH27YJLMyYsxhw== - -"@webassemblyjs/helper-api-error@1.11.6": - version "1.11.6" - resolved "https://registry.yarnpkg.com/@webassemblyjs/helper-api-error/-/helper-api-error-1.11.6.tgz#6132f68c4acd59dcd141c44b18cbebbd9f2fa768" - integrity sha512-o0YkoP4pVu4rN8aTJgAyj9hC2Sv5UlkzCHhxqWj8butaLvnpdc2jOwh4ewE6CX0txSfLn/UYaV/pheS2Txg//Q== - -"@webassemblyjs/helper-buffer@1.12.1": - version "1.12.1" - resolved "https://registry.yarnpkg.com/@webassemblyjs/helper-buffer/-/helper-buffer-1.12.1.tgz#6df20d272ea5439bf20ab3492b7fb70e9bfcb3f6" - integrity sha512-nzJwQw99DNDKr9BVCOZcLuJJUlqkJh+kVzVl6Fmq/tI5ZtEyWT1KZMyOXltXLZJmDtvLCDgwsyrkohEtopTXCw== - -"@webassemblyjs/helper-numbers@1.11.6": - version "1.11.6" - resolved "https://registry.yarnpkg.com/@webassemblyjs/helper-numbers/-/helper-numbers-1.11.6.tgz#cbce5e7e0c1bd32cf4905ae444ef64cea919f1b5" - integrity sha512-vUIhZ8LZoIWHBohiEObxVm6hwP034jwmc9kuq5GdHZH0wiLVLIPcMCdpJzG4C11cHoQ25TFIQj9kaVADVX7N3g== - dependencies: - "@webassemblyjs/floating-point-hex-parser" "1.11.6" - "@webassemblyjs/helper-api-error" "1.11.6" - "@xtuc/long" "4.2.2" - -"@webassemblyjs/helper-wasm-bytecode@1.11.6": - version "1.11.6" - resolved "https://registry.yarnpkg.com/@webassemblyjs/helper-wasm-bytecode/-/helper-wasm-bytecode-1.11.6.tgz#bb2ebdb3b83aa26d9baad4c46d4315283acd51e9" - integrity sha512-sFFHKwcmBprO9e7Icf0+gddyWYDViL8bpPjJJl0WHxCdETktXdmtWLGVzoHbqUcY4Be1LkNfwTmXOJUFZYSJdA== - -"@webassemblyjs/helper-wasm-section@1.12.1": - version "1.12.1" - resolved "https://registry.yarnpkg.com/@webassemblyjs/helper-wasm-section/-/helper-wasm-section-1.12.1.tgz#3da623233ae1a60409b509a52ade9bc22a37f7bf" - integrity sha512-Jif4vfB6FJlUlSbgEMHUyk1j234GTNG9dBJ4XJdOySoj518Xj0oGsNi59cUQF4RRMS9ouBUxDDdyBVfPTypa5g== - dependencies: - "@webassemblyjs/ast" "1.12.1" - "@webassemblyjs/helper-buffer" "1.12.1" - "@webassemblyjs/helper-wasm-bytecode" "1.11.6" - "@webassemblyjs/wasm-gen" "1.12.1" - -"@webassemblyjs/ieee754@1.11.6": - version "1.11.6" - resolved "https://registry.yarnpkg.com/@webassemblyjs/ieee754/-/ieee754-1.11.6.tgz#bb665c91d0b14fffceb0e38298c329af043c6e3a" - integrity sha512-LM4p2csPNvbij6U1f19v6WR56QZ8JcHg3QIJTlSwzFcmx6WSORicYj6I63f9yU1kEUtrpG+kjkiIAkevHpDXrg== - dependencies: - "@xtuc/ieee754" "^1.2.0" - -"@webassemblyjs/leb128@1.11.6": - version "1.11.6" - resolved "https://registry.yarnpkg.com/@webassemblyjs/leb128/-/leb128-1.11.6.tgz#70e60e5e82f9ac81118bc25381a0b283893240d7" - integrity sha512-m7a0FhE67DQXgouf1tbN5XQcdWoNgaAuoULHIfGFIEVKA6tu/edls6XnIlkmS6FrXAquJRPni3ZZKjw6FSPjPQ== - dependencies: - "@xtuc/long" "4.2.2" - -"@webassemblyjs/utf8@1.11.6": - version "1.11.6" - resolved "https://registry.yarnpkg.com/@webassemblyjs/utf8/-/utf8-1.11.6.tgz#90f8bc34c561595fe156603be7253cdbcd0fab5a" - integrity sha512-vtXf2wTQ3+up9Zsg8sa2yWiQpzSsMyXj0qViVP6xKGCUT8p8YJ6HqI7l5eCnWx1T/FYdsv07HQs2wTFbbof/RA== - -"@webassemblyjs/wasm-edit@^1.12.1": - version "1.12.1" - resolved "https://registry.yarnpkg.com/@webassemblyjs/wasm-edit/-/wasm-edit-1.12.1.tgz#9f9f3ff52a14c980939be0ef9d5df9ebc678ae3b" - integrity sha512-1DuwbVvADvS5mGnXbE+c9NfA8QRcZ6iKquqjjmR10k6o+zzsRVesil54DKexiowcFCPdr/Q0qaMgB01+SQ1u6g== - dependencies: - "@webassemblyjs/ast" "1.12.1" - "@webassemblyjs/helper-buffer" "1.12.1" - "@webassemblyjs/helper-wasm-bytecode" "1.11.6" - "@webassemblyjs/helper-wasm-section" "1.12.1" - "@webassemblyjs/wasm-gen" "1.12.1" - "@webassemblyjs/wasm-opt" "1.12.1" - "@webassemblyjs/wasm-parser" "1.12.1" - "@webassemblyjs/wast-printer" "1.12.1" - -"@webassemblyjs/wasm-gen@1.12.1": - version "1.12.1" - resolved "https://registry.yarnpkg.com/@webassemblyjs/wasm-gen/-/wasm-gen-1.12.1.tgz#a6520601da1b5700448273666a71ad0a45d78547" - integrity sha512-TDq4Ojh9fcohAw6OIMXqiIcTq5KUXTGRkVxbSo1hQnSy6lAM5GSdfwWeSxpAo0YzgsgF182E/U0mDNhuA0tW7w== - dependencies: - "@webassemblyjs/ast" "1.12.1" - "@webassemblyjs/helper-wasm-bytecode" "1.11.6" - "@webassemblyjs/ieee754" "1.11.6" - "@webassemblyjs/leb128" "1.11.6" - "@webassemblyjs/utf8" "1.11.6" - -"@webassemblyjs/wasm-opt@1.12.1": - version "1.12.1" - resolved "https://registry.yarnpkg.com/@webassemblyjs/wasm-opt/-/wasm-opt-1.12.1.tgz#9e6e81475dfcfb62dab574ac2dda38226c232bc5" - integrity sha512-Jg99j/2gG2iaz3hijw857AVYekZe2SAskcqlWIZXjji5WStnOpVoat3gQfT/Q5tb2djnCjBtMocY/Su1GfxPBg== - dependencies: - "@webassemblyjs/ast" "1.12.1" - "@webassemblyjs/helper-buffer" "1.12.1" - "@webassemblyjs/wasm-gen" "1.12.1" - "@webassemblyjs/wasm-parser" "1.12.1" - -"@webassemblyjs/wasm-parser@1.12.1", "@webassemblyjs/wasm-parser@^1.12.1": - version "1.12.1" - resolved "https://registry.yarnpkg.com/@webassemblyjs/wasm-parser/-/wasm-parser-1.12.1.tgz#c47acb90e6f083391e3fa61d113650eea1e95937" - integrity sha512-xikIi7c2FHXysxXe3COrVUPSheuBtpcfhbpFj4gmu7KRLYOzANztwUU0IbsqvMqzuNK2+glRGWCEqZo1WCLyAQ== - dependencies: - "@webassemblyjs/ast" "1.12.1" - "@webassemblyjs/helper-api-error" "1.11.6" - "@webassemblyjs/helper-wasm-bytecode" "1.11.6" - "@webassemblyjs/ieee754" "1.11.6" - "@webassemblyjs/leb128" "1.11.6" - "@webassemblyjs/utf8" "1.11.6" - -"@webassemblyjs/wast-printer@1.12.1": - version "1.12.1" - resolved "https://registry.yarnpkg.com/@webassemblyjs/wast-printer/-/wast-printer-1.12.1.tgz#bcecf661d7d1abdaf989d8341a4833e33e2b31ac" - integrity sha512-+X4WAlOisVWQMikjbcvY2e0rwPsKQ9F688lksZhBcPycBBuii3O7m8FACbDMWDojpAqvjIncrG8J0XHKyQfVeA== - dependencies: - "@webassemblyjs/ast" "1.12.1" - "@xtuc/long" "4.2.2" - -"@workleap/swc-configs@2.2.3": - version "2.2.3" - resolved "https://registry.yarnpkg.com/@workleap/swc-configs/-/swc-configs-2.2.3.tgz#96df07d1403e04b06c2268f43f3a87a9956a8d03" - integrity sha512-zrDsorHKxZY4/DlahkWucNm7kH9xAWxsq0WAWAKcCeFiYUX2TqZT+FNKn3Rl2a//MJgEQJlcYD0VaUIZP3J17A== - -"@xtuc/ieee754@^1.2.0": - version "1.2.0" - resolved "https://registry.yarnpkg.com/@xtuc/ieee754/-/ieee754-1.2.0.tgz#eef014a3145ae477a1cbc00cd1e552336dceb790" - integrity sha512-DX8nKgqcGwsc0eJSqYt5lwP4DH5FlHnmuWWBRy7X0NcaGR0ZtuyeESgMwTYVEtxmsNGY+qit4QYT/MIYTOTPeA== - -"@xtuc/long@4.2.2": - version "4.2.2" - resolved "https://registry.yarnpkg.com/@xtuc/long/-/long-4.2.2.tgz#d291c6a4e97989b5c61d9acf396ae4fe133a718d" - integrity sha512-NuHqBY1PB/D8xU6s/thBgOAiAP7HOYDQ32+BFZILJ8ivkUkAHQnWfn6WhL79Owj1qmUnoN/YPhktdIoucipkAQ== - -"@yarnpkg/lockfile@^1.1.0": - version "1.1.0" - resolved "https://registry.yarnpkg.com/@yarnpkg/lockfile/-/lockfile-1.1.0.tgz#e77a97fbd345b76d83245edcd17d393b1b41fb31" - integrity sha512-GpSwvyXOcOOlV70vbnzjj4fW5xW/FdUF6nQEt1ENy7m4ZCczi1+/buVUPAqmGfqznsORNFzUMjctTIp8a9tuCQ== - -"@yarnpkg/parsers@3.0.0-rc.46": - version "3.0.0-rc.46" - resolved "https://registry.yarnpkg.com/@yarnpkg/parsers/-/parsers-3.0.0-rc.46.tgz#03f8363111efc0ea670e53b0282cd3ef62de4e01" - integrity sha512-aiATs7pSutzda/rq8fnuPwTglyVwjM22bNnK2ZgjrpAjQHSSl3lztd2f9evst1W/qnC58DRz7T7QndUDumAR4Q== - dependencies: - js-yaml "^3.10.0" - tslib "^2.4.0" - -"@zeit/schemas@2.36.0": - version "2.36.0" - resolved "https://registry.yarnpkg.com/@zeit/schemas/-/schemas-2.36.0.tgz#7a1b53f4091e18d0b404873ea3e3c83589c765f2" - integrity sha512-7kjMwcChYEzMKjeex9ZFXkt1AyNov9R5HZtjBKVsmVpw7pa7ZtlCGvCBC2vnnXctaYN+aRI61HjIqeetZW5ROg== - -"@zkochan/js-yaml@0.0.6": - version "0.0.6" - resolved "https://registry.yarnpkg.com/@zkochan/js-yaml/-/js-yaml-0.0.6.tgz#975f0b306e705e28b8068a07737fa46d3fc04826" - integrity sha512-nzvgl3VfhcELQ8LyVrYOru+UtAy1nrygk2+AGbTm8a5YcO6o8lSjAT+pfg3vJWxIoZKOUhrK6UU7xW/+00kQrg== - dependencies: - argparse "^2.0.1" - -JSONStream@^1.0.4: - version "1.3.5" - resolved "https://registry.yarnpkg.com/JSONStream/-/JSONStream-1.3.5.tgz#3208c1f08d3a4d99261ab64f92302bc15e111ca0" - integrity sha512-E+iruNOY8VV9s4JEbe1aNEm6MiszPRr/UfcHMz0TQh1BXSxHK+ASV1R6W4HpjBhSeS+54PIsAMCBmwD06LLsqQ== - dependencies: - jsonparse "^1.2.0" - through ">=2.2.7 <3" - -abab@^2.0.6: - version "2.0.6" - resolved "https://registry.yarnpkg.com/abab/-/abab-2.0.6.tgz#41b80f2c871d19686216b82309231cfd3cb3d291" - integrity sha512-j2afSsaIENvHZN2B8GOpF566vZ5WVk5opAiMTvWgaQT8DkbOqsTfvNAvHoRGU2zzP8cPoqys+xHTRDWW8L+/BA== - -abbrev@1, abbrev@^1.0.0: - version "1.1.1" - resolved "https://registry.yarnpkg.com/abbrev/-/abbrev-1.1.1.tgz#f8f2c887ad10bf67f634f005b6987fed3179aac8" - integrity sha512-nne9/IiQ/hzIhY6pdDnbBtz7DjPTKrY00P/zvPSm5pOFkl6xuGrGnXn/VtTNNfNtAfZ9/1RtehkszU9qcTii0Q== - -abbrev@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/abbrev/-/abbrev-2.0.0.tgz#cf59829b8b4f03f89dda2771cb7f3653828c89bf" - integrity sha512-6/mh1E2u2YgEsCHdY0Yx5oW+61gZU+1vXaoiHHrpKeuRNNgFvS+/jrwHiQhB5apAf5oB7UB7E19ol2R2LKH8hQ== - -abort-controller@^3.0.0: - version "3.0.0" - resolved "https://registry.yarnpkg.com/abort-controller/-/abort-controller-3.0.0.tgz#eaf54d53b62bae4138e809ca225c8439a6efb392" - integrity sha512-h8lQ8tacZYnR3vNQTgibj+tODHI5/+l06Au2Pcriv/Gmet0eaj4TwWH41sO9wnHDiQsEj19q0drzdWdeAHtweg== - dependencies: - event-target-shim "^5.0.0" - -accepts@~1.3.5, accepts@~1.3.8: - version "1.3.8" - resolved "https://registry.yarnpkg.com/accepts/-/accepts-1.3.8.tgz#0bf0be125b67014adcb0b0921e62db7bffe16b2e" - integrity sha512-PYAthTa2m2VKxuvSD3DPC/Gy+U+sOA1LAuT8mkmRuvw+NACSaeXEQ+NHcVF7rONl6qcaxV3Uuemwawk+7+SJLw== - dependencies: - mime-types "~2.1.34" - negotiator "0.6.3" - -acorn-globals@^7.0.0: - version "7.0.1" - resolved "https://registry.yarnpkg.com/acorn-globals/-/acorn-globals-7.0.1.tgz#0dbf05c44fa7c94332914c02066d5beff62c40c3" - integrity sha512-umOSDSDrfHbTNPuNpC2NSnnA3LUrqpevPb4T9jRx4MagXNS0rs+gwiTcAvqCRmsD6utzsrzNt+ebm00SNWiC3Q== - dependencies: - acorn "^8.1.0" - acorn-walk "^8.0.2" - -acorn-import-attributes@^1.9.5: - version "1.9.5" - resolved "https://registry.yarnpkg.com/acorn-import-attributes/-/acorn-import-attributes-1.9.5.tgz#7eb1557b1ba05ef18b5ed0ec67591bfab04688ef" - integrity sha512-n02Vykv5uA3eHGM/Z2dQrcD56kL8TyDb2p1+0P83PClMnC/nc+anbQRhIOWnSq4Ke/KvDPrY3C9hDtC/A3eHnQ== - -acorn-jsx@^5.0.0, acorn-jsx@^5.2.0, acorn-jsx@^5.3.1, acorn-jsx@^5.3.2: - version "5.3.2" - resolved "https://registry.yarnpkg.com/acorn-jsx/-/acorn-jsx-5.3.2.tgz#7ed5bb55908b3b2f1bc55c6af1653bada7f07937" - integrity sha512-rq9s+JNhf0IChjtDXxllJ7g41oZk5SlXtp0LHwyA5cejwn7vKmKp4pPri6YEePv2PU65sAsegbXtIinmDFDXgQ== - -acorn-walk@^7.2.0: - version "7.2.0" - resolved "https://registry.yarnpkg.com/acorn-walk/-/acorn-walk-7.2.0.tgz#0de889a601203909b0fbe07b8938dc21d2e967bc" - integrity sha512-OPdCF6GsMIP+Az+aWfAAOEt2/+iVDKE7oy6lJ098aoe59oAmK76qV6Gw60SbZ8jHuG2wH058GF4pLFbYamYrVA== - -acorn-walk@^8.0.2, acorn-walk@^8.1.1: - version "8.3.4" - resolved "https://registry.yarnpkg.com/acorn-walk/-/acorn-walk-8.3.4.tgz#794dd169c3977edf4ba4ea47583587c5866236b7" - integrity sha512-ueEepnujpqee2o5aIYnvHU6C0A42MNdsIDeqy5BydrkuC5R1ZuUFnm27EeFJGoEHJQgn3uleRvmTXaJgfXbt4g== - dependencies: - acorn "^8.11.0" - -acorn@^7.1.1, acorn@^7.4.1: - version "7.4.1" - resolved "https://registry.yarnpkg.com/acorn/-/acorn-7.4.1.tgz#feaed255973d2e77555b83dbc08851a6c63520fa" - integrity sha512-nQyp0o1/mNdbTO1PO6kHkwSrmgZ0MT/jCCpNiwbUjGoRN4dlBhqJtoQuCnEOKzgTVwg0ZWiCoQy6SxMebQVh8A== - -acorn@^8.0.0, acorn@^8.1.0, acorn@^8.10.0, acorn@^8.11.0, acorn@^8.12.1, acorn@^8.4.1, acorn@^8.6.0, acorn@^8.7.1, acorn@^8.8.1, acorn@^8.8.2, acorn@^8.9.0: - version "8.13.0" - resolved "https://registry.yarnpkg.com/acorn/-/acorn-8.13.0.tgz#2a30d670818ad16ddd6a35d3842dacec9e5d7ca3" - integrity sha512-8zSiw54Oxrdym50NlZ9sUusyO1Z1ZchgRLWRaK6c86XJFClyCgFKetdowBg5bKxyp/u+CDBJG4Mpp0m3HLZl9w== - -add-stream@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/add-stream/-/add-stream-1.0.0.tgz#6a7990437ca736d5e1288db92bd3266d5f5cb2aa" - integrity sha512-qQLMr+8o0WC4FZGQTcJiKBVC59JylcPSrTtk6usvmIDFUOCKegapy1VHQwRbFMOFyb/inzUVqHs+eMYKDM1YeQ== - -agent-base@6, agent-base@^6.0.2: - version "6.0.2" - resolved "https://registry.yarnpkg.com/agent-base/-/agent-base-6.0.2.tgz#49fff58577cfee3f37176feab4c22e00f86d7f77" - integrity sha512-RZNwNclF7+MS/8bDg70amg32dyeZGZxiDuQmZxKLAlQjr3jGyLx+4Kkk58UO7D2QdgFIQCovuSuZESne6RG6XQ== - dependencies: - debug "4" - -agentkeepalive@^4.2.1: - version "4.5.0" - resolved "https://registry.yarnpkg.com/agentkeepalive/-/agentkeepalive-4.5.0.tgz#2673ad1389b3c418c5a20c5d7364f93ca04be923" - integrity sha512-5GG/5IbQQpC9FpkRGsSvZI5QYeSCzlJHdpBQntCsuTOxhKD8lqKhrleg2Yi7yvMIf82Ycmmqln9U8V9qwEiJew== - dependencies: - humanize-ms "^1.2.1" - -aggregate-error@^3.0.0: - version "3.1.0" - resolved "https://registry.yarnpkg.com/aggregate-error/-/aggregate-error-3.1.0.tgz#92670ff50f5359bdb7a3e0d40d0ec30c5737687a" - integrity sha512-4I7Td01quW/RpocfNayFdFVk1qSuoh0E7JrbRJ16nH01HhKFQ88INq9Sd+nd72zqRySlr9BmDA8xlEJ6vJMrYA== - dependencies: - clean-stack "^2.0.0" - indent-string "^4.0.0" - -aggregate-error@^4.0.0: - version "4.0.1" - resolved "https://registry.yarnpkg.com/aggregate-error/-/aggregate-error-4.0.1.tgz#25091fe1573b9e0be892aeda15c7c66a545f758e" - integrity sha512-0poP0T7el6Vq3rstR8Mn4V/IQrpBLO6POkUSrN7RhyY+GF/InCFShQzsQ39T25gkHhLgSLByyAz+Kjb+c2L98w== - dependencies: - clean-stack "^4.0.0" - indent-string "^5.0.0" - -ajv-formats@^2.1.1: - version "2.1.1" - resolved "https://registry.yarnpkg.com/ajv-formats/-/ajv-formats-2.1.1.tgz#6e669400659eb74973bbf2e33327180a0996b520" - integrity sha512-Wx0Kx52hxE7C18hkMEggYlEifqWZtYaRgouJor+WMdPnQyEK13vgEWyVNup7SoeeoLMsr4kf5h6dOW11I15MUA== - dependencies: - ajv "^8.0.0" - -ajv-keywords@^3.5.2: - version "3.5.2" - resolved "https://registry.yarnpkg.com/ajv-keywords/-/ajv-keywords-3.5.2.tgz#31f29da5ab6e00d1c2d329acf7b5929614d5014d" - integrity sha512-5p6WTN0DdTGVQk6VjcEju19IgaHudalcfabD7yhDGeA6bcQnmL+CpveLJq/3hvfwd1aof6L386Ougkx6RfyMIQ== - -ajv-keywords@^5.1.0: - version "5.1.0" - resolved "https://registry.yarnpkg.com/ajv-keywords/-/ajv-keywords-5.1.0.tgz#69d4d385a4733cdbeab44964a1170a88f87f0e16" - integrity sha512-YCS/JNFAUyr5vAuhk1DWm1CBxRHW9LbJ2ozWeemrIqpbsqKjHVxYPyi5GC0rjZIT5JxJ3virVTS8wk4i/Z+krw== - dependencies: - fast-deep-equal "^3.1.3" - -ajv@8.12.0: - version "8.12.0" - resolved "https://registry.yarnpkg.com/ajv/-/ajv-8.12.0.tgz#d1a0527323e22f53562c567c00991577dfbe19d1" - integrity sha512-sRu1kpcO9yLtYxBKvqfTeh9KzZEwO3STyX1HT+4CaDzC6HpTGYhIhPIzj9XuKU7KYDwnaeh5hcOwjy1QuJzBPA== - dependencies: - fast-deep-equal "^3.1.1" - json-schema-traverse "^1.0.0" - require-from-string "^2.0.2" - uri-js "^4.2.2" - -ajv@^6.12.4, ajv@^6.12.5: - version "6.12.6" - resolved "https://registry.yarnpkg.com/ajv/-/ajv-6.12.6.tgz#baf5a62e802b07d977034586f8c3baf5adf26df4" - integrity sha512-j3fVLgvTo527anyYyJOGTYJbG+vnnQYvE0m5mmkc1TK+nxAppkCLMIL0aZ4dblVCNoGShhm+kzE4ZUykBoMg4g== - dependencies: - fast-deep-equal "^3.1.1" - fast-json-stable-stringify "^2.0.0" - json-schema-traverse "^0.4.1" - uri-js "^4.2.2" - -ajv@^8.0.0, ajv@^8.0.1, ajv@^8.9.0: - version "8.17.1" - resolved "https://registry.yarnpkg.com/ajv/-/ajv-8.17.1.tgz#37d9a5c776af6bc92d7f4f9510eba4c0a60d11a6" - integrity sha512-B/gBuNg5SiMTrPkC+A2+cW0RszwxYmn6VYxB/inlBStS5nx6xHIt/ehKRhIMhqusl7a8LjQoZnjCs5vhwxOQ1g== - dependencies: - fast-deep-equal "^3.1.3" - fast-uri "^3.0.1" - json-schema-traverse "^1.0.0" - require-from-string "^2.0.2" - -all-node-versions@^8.0.0: - version "8.0.0" - resolved "https://registry.yarnpkg.com/all-node-versions/-/all-node-versions-8.0.0.tgz#d3a4dcffe5c589775c7ddbd15b63dbcc71face14" - integrity sha512-cF8ibgj23U7ai4qjSFzpeccwDXUlPFMzKe0Z6qf6gChR+9S0JMyzYz6oYz4n0nHi/FLH9BJIefsONsMH/WDM2w== - dependencies: - fetch-node-website "^5.0.3" - filter-obj "^2.0.1" - get-stream "^5.1.0" - global-cache-dir "^2.0.0" - jest-validate "^25.3.0" - path-exists "^4.0.0" - semver "^7.3.2" - write-file-atomic "^3.0.3" - -ansi-align@^3.0.0, ansi-align@^3.0.1: - version "3.0.1" - resolved "https://registry.yarnpkg.com/ansi-align/-/ansi-align-3.0.1.tgz#0cdf12e111ace773a86e9a1fad1225c43cb19a59" - integrity sha512-IOfwwBF5iczOjp/WeY4YxyjqAFMQoZufdQWDd19SEExbVLNXqvpzSJ/M7Za4/sCPmQ0+GRquoA7bGcINcxew6w== - dependencies: - string-width "^4.1.0" - -ansi-colors@^4.1.1, ansi-colors@^4.1.3: - version "4.1.3" - resolved "https://registry.yarnpkg.com/ansi-colors/-/ansi-colors-4.1.3.tgz#37611340eb2243e70cc604cad35d63270d48781b" - integrity sha512-/6w/C21Pm1A7aZitlI5Ni/2J6FFQN8i1Cvz3kHABAAbw93v/NlvKdVOqz7CCWz/3iv/JplRSEEZ83XION15ovw== - -ansi-escapes@^3.0.0, ansi-escapes@^3.2.0: - version "3.2.0" - resolved "https://registry.yarnpkg.com/ansi-escapes/-/ansi-escapes-3.2.0.tgz#8780b98ff9dbf5638152d1f1fe5c1d7b4442976b" - integrity sha512-cBhpre4ma+U0T1oM5fXg7Dy1Jw7zzwv7lt/GoCpr+hDQJoYnKVPLL4dCvSEFMmQurOQvSrwT7SL/DAlhBI97RQ== - -ansi-escapes@^4.2.1, ansi-escapes@^4.3.1: - version "4.3.2" - resolved "https://registry.yarnpkg.com/ansi-escapes/-/ansi-escapes-4.3.2.tgz#6b2291d1db7d98b6521d5f1efa42d0f3a9feb65e" - integrity sha512-gKXj5ALrKWQLsYG9jlTRmR/xKluxHV+Z9QEwNIgCfM1/uwPMCuzVVnh5mwTd+OuBZcwSIMbqssNWRm1lE51QaQ== - dependencies: - type-fest "^0.21.3" - -ansi-escapes@^5.0.0: - version "5.0.0" - resolved "https://registry.yarnpkg.com/ansi-escapes/-/ansi-escapes-5.0.0.tgz#b6a0caf0eef0c41af190e9a749e0c00ec04bb2a6" - integrity sha512-5GFMVX8HqE/TB+FuBJGuO5XG0WrsA6ptUqoODaT/n9mmUaZFkqnBueB4leqGBCmrUHnCnC4PCZTCd0E7QQ83bA== - dependencies: - type-fest "^1.0.2" - -ansi-escapes@^6.0.0: - version "6.2.1" - resolved "https://registry.yarnpkg.com/ansi-escapes/-/ansi-escapes-6.2.1.tgz#76c54ce9b081dad39acec4b5d53377913825fb0f" - integrity sha512-4nJ3yixlEthEJ9Rk4vPcdBRkZvQZlYyu8j4/Mqz5sgIkddmEnH2Yj2ZrnP9S3tQOvSNRUIgVNF/1yPpRAGNRig== - -ansi-html-community@0.0.8: - version "0.0.8" - resolved "https://registry.yarnpkg.com/ansi-html-community/-/ansi-html-community-0.0.8.tgz#69fbc4d6ccbe383f9736934ae34c3f8290f1bf41" - integrity sha512-1APHAyr3+PCamwNw3bXCPp4HFLONZt/yIH0sZp0/469KWNTEy+qN5jQ3GVX6DMZ1UXAi34yVwtTeaG/HpBuuzw== - -ansi-html@^0.0.9: - version "0.0.9" - resolved "https://registry.yarnpkg.com/ansi-html/-/ansi-html-0.0.9.tgz#6512d02342ae2cc68131952644a129cb734cd3f0" - integrity sha512-ozbS3LuenHVxNRh/wdnN16QapUHzauqSomAl1jwwJRRsGwFwtj644lIhxfWu0Fy0acCij2+AEgHvjscq3dlVXg== - -ansi-regex@^0.2.0, ansi-regex@^0.2.1: - version "0.2.1" - resolved "https://registry.yarnpkg.com/ansi-regex/-/ansi-regex-0.2.1.tgz#0d8e946967a3d8143f93e24e298525fc1b2235f9" - integrity sha512-sGwIGMjhYdW26/IhwK2gkWWI8DRCVO6uj3hYgHT+zD+QL1pa37tM3ujhyfcJIYSbsxp7Gxhy7zrRW/1AHm4BmA== - -ansi-regex@^2.0.0: - version "2.1.1" - resolved "https://registry.yarnpkg.com/ansi-regex/-/ansi-regex-2.1.1.tgz#c3b33ab5ee360d86e0e628f0468ae7ef27d654df" - integrity sha512-TIGnTpdo+E3+pCyAluZvtED5p5wCqLdezCyhPZzKPcxvFplEt4i+W7OONCKgeZFT3+y5NZZfOOS/Bdcanm1MYA== - -ansi-regex@^3.0.0: - version "3.0.1" - resolved "https://registry.yarnpkg.com/ansi-regex/-/ansi-regex-3.0.1.tgz#123d6479e92ad45ad897d4054e3c7ca7db4944e1" - integrity sha512-+O9Jct8wf++lXxxFc4hc8LsjaSq0HFzzL7cVsw8pRDIPdjKD2mT4ytDZlLuSBZ4cLKZFXIrMGO7DbQCtMJJMKw== - -ansi-regex@^4.1.0: - version "4.1.1" - resolved "https://registry.yarnpkg.com/ansi-regex/-/ansi-regex-4.1.1.tgz#164daac87ab2d6f6db3a29875e2d1766582dabed" - integrity sha512-ILlv4k/3f6vfQ4OoP2AGvirOktlQ98ZEL1k9FaQjxa3L1abBgbuTDAdPOpvbGncC0BTVQrl+OM8xZGK6tWXt7g== - -ansi-regex@^5.0.0, ansi-regex@^5.0.1: - version "5.0.1" - resolved "https://registry.yarnpkg.com/ansi-regex/-/ansi-regex-5.0.1.tgz#082cb2c89c9fe8659a311a53bd6a4dc5301db304" - integrity sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ== - -ansi-regex@^6.0.1: - version "6.1.0" - resolved "https://registry.yarnpkg.com/ansi-regex/-/ansi-regex-6.1.0.tgz#95ec409c69619d6cb1b8b34f14b660ef28ebd654" - integrity sha512-7HSX4QQb4CspciLpVFwyRe79O3xsIZDDLER21kERQ71oaPodF8jL725AgJMFAYbooIqolJoRLuM81SpeUkpkvA== - -ansi-styles@^1.1.0: - version "1.1.0" - resolved "https://registry.yarnpkg.com/ansi-styles/-/ansi-styles-1.1.0.tgz#eaecbf66cd706882760b2f4691582b8f55d7a7de" - integrity sha512-f2PKUkN5QngiSemowa6Mrk9MPCdtFiOSmibjZ+j1qhLGHHYsqZwmBMRF3IRMVXo8sybDqx2fJl2d/8OphBoWkA== - -ansi-styles@^2.2.1: - version "2.2.1" - resolved "https://registry.yarnpkg.com/ansi-styles/-/ansi-styles-2.2.1.tgz#b432dd3358b634cf75e1e4664368240533c1ddbe" - integrity sha512-kmCevFghRiWM7HB5zTPULl4r9bVFSWjz62MhqizDGUrq2NWuNMQyuv4tHHoKJHs69M/MF64lEcHdYIocrdWQYA== - -ansi-styles@^3.2.1: - version "3.2.1" - resolved "https://registry.yarnpkg.com/ansi-styles/-/ansi-styles-3.2.1.tgz#41fbb20243e50b12be0f04b8dedbf07520ce841d" - integrity sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA== - dependencies: - color-convert "^1.9.0" - -ansi-styles@^4.0.0, ansi-styles@^4.1.0: - version "4.3.0" - resolved "https://registry.yarnpkg.com/ansi-styles/-/ansi-styles-4.3.0.tgz#edd803628ae71c04c85ae7a0906edad34b648937" - integrity sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg== - dependencies: - color-convert "^2.0.1" - -ansi-styles@^5.0.0: - version "5.2.0" - resolved "https://registry.yarnpkg.com/ansi-styles/-/ansi-styles-5.2.0.tgz#07449690ad45777d1924ac2abb2fc8895dba836b" - integrity sha512-Cxwpt2SfTzTtXcfOlzGEee8O+c+MmUgGrNiBcXnuWxuFJHe6a5Hz7qwhwe5OgaSYI0IJvkLqWX1ASG+cJOkEiA== - -ansi-styles@^6.0.0, ansi-styles@^6.1.0: - version "6.2.1" - resolved "https://registry.yarnpkg.com/ansi-styles/-/ansi-styles-6.2.1.tgz#0e62320cf99c21afff3b3012192546aacbfb05c5" - integrity sha512-bN798gFfQX+viw3R7yrGWRqnrN2oRkEkUjjl4JNn4E8GxxbjtG3FbrEIIY3l8/hrwUwIeCZvi4QuOTP4MErVug== - -any-observable@^0.3.0: - version "0.3.0" - resolved "https://registry.yarnpkg.com/any-observable/-/any-observable-0.3.0.tgz#af933475e5806a67d0d7df090dd5e8bef65d119b" - integrity sha512-/FQM1EDkTsf63Ub2C6O7GuYFDsSXUwsaZDurV0np41ocwq0jthUAYCmhBX9f+KwlaCgIuWyr/4WlUQUBfKfZog== - -anymatch@^3.0.3, anymatch@~3.1.2: - version "3.1.3" - resolved "https://registry.yarnpkg.com/anymatch/-/anymatch-3.1.3.tgz#790c58b19ba1720a84205b57c618d5ad8524973e" - integrity sha512-KMReFUr0B4t+D+OBkjR3KYqvocp2XaSzO55UcB6mgQMd3KbcE+mWTyvVV7D/zsdEbNnV6acZUutkiHQXvTr1Rw== - dependencies: - normalize-path "^3.0.0" - picomatch "^2.0.4" - -append-transform@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/append-transform/-/append-transform-2.0.0.tgz#99d9d29c7b38391e6f428d28ce136551f0b77e12" - integrity sha512-7yeyCEurROLQJFv5Xj4lEGTy0borxepjFv1g22oAdqFu//SrAlDl1O1Nxx15SH1RoliUml6p8dwJW9jvZughhg== - dependencies: - default-require-extensions "^3.0.0" - -aproba@^1.0.3: - version "1.2.0" - resolved "https://registry.yarnpkg.com/aproba/-/aproba-1.2.0.tgz#6802e6264efd18c790a1b0d517f0f2627bf2c94a" - integrity sha512-Y9J6ZjXtoYh8RnXVCMOU/ttDmk1aBjunq9vO0ta5x85WDQiQfUF9sIPBITdbiiIVcBo03Hi3jMxigBtsddlXRw== - -"aproba@^1.0.3 || ^2.0.0", aproba@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/aproba/-/aproba-2.0.0.tgz#52520b8ae5b569215b354efc0caa3fe1e45a8adc" - integrity sha512-lYe4Gx7QT+MKGbDsA+Z+he/Wtef0BiwDOlK/XkBrdfsh9J/jPPXbX0tE9x9cl27Tmu5gg3QUbUrQYa/y+KOHPQ== - -arch@^2.2.0: - version "2.2.0" - resolved "https://registry.yarnpkg.com/arch/-/arch-2.2.0.tgz#1bc47818f305764f23ab3306b0bfc086c5a29d11" - integrity sha512-Of/R0wqp83cgHozfIYLbBMnej79U/SVGOOyuB3VVFv1NRM/PSFMK12x9KVtiYzJqmnU5WR2qp0Z5rHb7sWGnFQ== - -archive-type@^4.0.0: - version "4.0.0" - resolved "https://registry.yarnpkg.com/archive-type/-/archive-type-4.0.0.tgz#f92e72233056dfc6969472749c267bdb046b1d70" - integrity sha512-zV4Ky0v1F8dBrdYElwTvQhweQ0P7Kwc1aluqJsYtOBP01jXcWCyW2IEfI1YiqsG+Iy7ZR+o5LF1N+PGECBxHWA== - dependencies: - file-type "^4.2.0" - -archiver-utils@^2.1.0: - version "2.1.0" - resolved "https://registry.yarnpkg.com/archiver-utils/-/archiver-utils-2.1.0.tgz#e8a460e94b693c3e3da182a098ca6285ba9249e2" - integrity sha512-bEL/yUb/fNNiNTuUz979Z0Yg5L+LzLxGJz8x79lYmR54fmTIb6ob/hNQgkQnIUDWIFjZVQwl9Xs356I6BAMHfw== - dependencies: - glob "^7.1.4" - graceful-fs "^4.2.0" - lazystream "^1.0.0" - lodash.defaults "^4.2.0" - lodash.difference "^4.5.0" - lodash.flatten "^4.4.0" - lodash.isplainobject "^4.0.6" - lodash.union "^4.6.0" - normalize-path "^3.0.0" - readable-stream "^2.0.0" - -archiver-utils@^3.0.4: - version "3.0.4" - resolved "https://registry.yarnpkg.com/archiver-utils/-/archiver-utils-3.0.4.tgz#a0d201f1cf8fce7af3b5a05aea0a337329e96ec7" - integrity sha512-KVgf4XQVrTjhyWmx6cte4RxonPLR9onExufI1jhvw/MQ4BB6IsZD5gT8Lq+u/+pRkWna/6JoHpiQioaqFP5Rzw== - dependencies: - glob "^7.2.3" - graceful-fs "^4.2.0" - lazystream "^1.0.0" - lodash.defaults "^4.2.0" - lodash.difference "^4.5.0" - lodash.flatten "^4.4.0" - lodash.isplainobject "^4.0.6" - lodash.union "^4.6.0" - normalize-path "^3.0.0" - readable-stream "^3.6.0" - -archiver@^5.3.0: - version "5.3.2" - resolved "https://registry.yarnpkg.com/archiver/-/archiver-5.3.2.tgz#99991d5957e53bd0303a392979276ac4ddccf3b0" - integrity sha512-+25nxyyznAXF7Nef3y0EbBeqmGZgeN/BxHX29Rs39djAfaFalmQ89SE6CWyDCHzGL0yt/ycBtNOmGTW0FyGWNw== - dependencies: - archiver-utils "^2.1.0" - async "^3.2.4" - buffer-crc32 "^0.2.1" - readable-stream "^3.6.0" - readdir-glob "^1.1.2" - tar-stream "^2.2.0" - zip-stream "^4.1.0" - -archy@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/archy/-/archy-1.0.0.tgz#f9c8c13757cc1dd7bc379ac77b2c62a5c2868c40" - integrity sha512-Xg+9RwCg/0p32teKdGMPTPnVXKD0w3DfHnFTficozsAgsvq2XenPJq/MYpzzQ/v8zrOyJn6Ds39VA4JIDwFfqw== - -are-we-there-yet@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/are-we-there-yet/-/are-we-there-yet-2.0.0.tgz#372e0e7bd279d8e94c653aaa1f67200884bf3e1c" - integrity sha512-Ci/qENmwHnsYo9xKIcUJN5LeDKdJ6R1Z1j9V/J5wyq8nh/mYPEpIKJbBZXtZjG04HiK7zV/p6Vs9952MrMeUIw== - dependencies: - delegates "^1.0.0" - readable-stream "^3.6.0" - -are-we-there-yet@^3.0.0: - version "3.0.1" - resolved "https://registry.yarnpkg.com/are-we-there-yet/-/are-we-there-yet-3.0.1.tgz#679df222b278c64f2cdba1175cdc00b0d96164bd" - integrity sha512-QZW4EDmGwlYur0Yyf/b2uGucHQMa8aFUP7eu9ddR73vvhFyt4V0Vl3QHPcTNJ8l6qYOBdxgXdnBXQrHilfRQBg== - dependencies: - delegates "^1.0.0" - readable-stream "^3.6.0" - -are-we-there-yet@~1.1.2: - version "1.1.7" - resolved "https://registry.yarnpkg.com/are-we-there-yet/-/are-we-there-yet-1.1.7.tgz#b15474a932adab4ff8a50d9adfa7e4e926f21146" - integrity sha512-nxwy40TuMiUGqMyRHgCSWZ9FM4VAoRP4xUYSTv5ImRog+h9yISPbVH7H8fASCIzYn9wlEv4zvFL7uKDMCFQm3g== - dependencies: - delegates "^1.0.0" - readable-stream "^2.0.6" - -arg@5.0.2: - version "5.0.2" - resolved "https://registry.yarnpkg.com/arg/-/arg-5.0.2.tgz#c81433cc427c92c4dcf4865142dbca6f15acd59c" - integrity sha512-PYjyFOLKQ9y57JvQ6QLo8dAgNqswh8M1RMJYdQduT6xbWSgK36P/Z/v+p888pM69jMMfS8Xd8F6I1kQ/I9HUGg== - -arg@^4.1.0: - version "4.1.3" - resolved "https://registry.yarnpkg.com/arg/-/arg-4.1.3.tgz#269fc7ad5b8e42cb63c896d5666017261c144089" - integrity sha512-58S9QDqG0Xx27YwPSt9fJxivjYl432YCwfDMfZ+71RAqUrZef7LrKQZ3LHLOwCS4FLNBplP533Zx895SeOCHvA== - -argparse@^1.0.7: - version "1.0.10" - resolved "https://registry.yarnpkg.com/argparse/-/argparse-1.0.10.tgz#bcd6791ea5ae09725e17e5ad988134cd40b3d911" - integrity sha512-o5Roy6tNG4SL/FOkCAN6RzjiakZS25RLYFrcMttJqbdd8BWrnA+fGz57iN5Pb06pvBGvl5gQ0B48dJlslXvoTg== - dependencies: - sprintf-js "~1.0.2" - -argparse@^2.0.1: - version "2.0.1" - resolved "https://registry.yarnpkg.com/argparse/-/argparse-2.0.1.tgz#246f50f3ca78a3240f6c997e8a9bd1eac49e4b38" - integrity sha512-8+9WqebbFzpX9OR+Wa6O29asIogeRMzcGtAINdpMHHyAg10f05aSFVBbcEqGf/PXw1EjAZ+q2/bEBg3DvurK3Q== - -aria-query@5.3.0: - version "5.3.0" - resolved "https://registry.yarnpkg.com/aria-query/-/aria-query-5.3.0.tgz#650c569e41ad90b51b3d7df5e5eed1c7549c103e" - integrity sha512-b0P0sZPKtyu8HkeRAfCq0IfURZK+SuwMjY1UXGBU27wpAiTwQAIlq56IbIO+ytk/JjS1fMR14ee5WBBfKi5J6A== - dependencies: - dequal "^2.0.3" - -aria-query@^5.0.0: - version "5.3.2" - resolved "https://registry.yarnpkg.com/aria-query/-/aria-query-5.3.2.tgz#93f81a43480e33a338f19163a3d10a50c01dcd59" - integrity sha512-COROpnaoap1E2F000S62r6A60uHZnmlvomhfyT2DlTcrY1OrBKn2UhH7qn5wTC9zMvD0AY7csdPSNwKP+7WiQw== - -aria-query@~5.1.3: - version "5.1.3" - resolved "https://registry.yarnpkg.com/aria-query/-/aria-query-5.1.3.tgz#19db27cd101152773631396f7a95a3b58c22c35e" - integrity sha512-R5iJ5lkuHybztUfuOAznmboyjWq8O6sqNqtK7CLOqdydi54VNbORp49mb14KbWgG1QD3JFO9hJdZ+y4KutfdOQ== - dependencies: - deep-equal "^2.0.5" - -arr-diff@^4.0.0: - version "4.0.0" - resolved "https://registry.yarnpkg.com/arr-diff/-/arr-diff-4.0.0.tgz#d6461074febfec71e7e15235761a329a5dc7c520" - integrity sha512-YVIQ82gZPGBebQV/a8dar4AitzCQs0jjXwMPZllpXMaGjXPYVUawSxQrRsjhjupyVxEvbHgUmIhKVlND+j02kA== - -arr-flatten@^1.1.0: - version "1.1.0" - resolved "https://registry.yarnpkg.com/arr-flatten/-/arr-flatten-1.1.0.tgz#36048bbff4e7b47e136644316c99669ea5ae91f1" - integrity sha512-L3hKV5R/p5o81R7O02IGnwpDmkp6E982XhtbuwSe3O4qOtMMMtodicASA1Cny2U+aCXcNpml+m4dPsvsJ3jatg== - -arr-union@^3.1.0: - version "3.1.0" - resolved "https://registry.yarnpkg.com/arr-union/-/arr-union-3.1.0.tgz#e39b09aea9def866a8f206e288af63919bae39c4" - integrity sha512-sKpyeERZ02v1FeCZT8lrfJq5u6goHCtpTAzPwJYe7c8SPFOboNjNg1vz2L4VTn9T4PQxEx13TbXLmYUcS6Ug7Q== - -array-buffer-byte-length@^1.0.0, array-buffer-byte-length@^1.0.1: - version "1.0.1" - resolved "https://registry.yarnpkg.com/array-buffer-byte-length/-/array-buffer-byte-length-1.0.1.tgz#1e5583ec16763540a27ae52eed99ff899223568f" - integrity sha512-ahC5W1xgou+KTXix4sAO8Ki12Q+jf4i0+tmk3sC+zgcynshkHxzpXdImBehiUYKKKDwvfFiJl1tZt6ewscS1Mg== - dependencies: - call-bind "^1.0.5" - is-array-buffer "^3.0.4" - -array-differ@^3.0.0: - version "3.0.0" - resolved "https://registry.yarnpkg.com/array-differ/-/array-differ-3.0.0.tgz#3cbb3d0f316810eafcc47624734237d6aee4ae6b" - integrity sha512-THtfYS6KtME/yIAhKjZ2ul7XI96lQGHRputJQHO80LAWQnuGP4iCIN8vdMRboGbIEYBwU33q8Tch1os2+X0kMg== - -array-flatten@1.1.1: - version "1.1.1" - resolved "https://registry.yarnpkg.com/array-flatten/-/array-flatten-1.1.1.tgz#9a5f699051b1e7073328f2a008968b64ea2955d2" - integrity sha512-PCVAQswWemu6UdxsDFFX/+gVeYqKAod3D3UVm91jHwynguOwAvYPhx8nNlM++NqRcK6CxxpUafjmhIdKiHibqg== - -array-ify@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/array-ify/-/array-ify-1.0.0.tgz#9e528762b4a9066ad163a6962a364418e9626ece" - integrity sha512-c5AMf34bKdvPhQ7tBGhqkgKNUzMr4WUs+WDtC2ZUGOUncbxKMTvqxYctiseW3+L4bA8ec+GcZ6/A/FW4m8ukng== - -array-includes@^3.1.6, array-includes@^3.1.8: - version "3.1.8" - resolved "https://registry.yarnpkg.com/array-includes/-/array-includes-3.1.8.tgz#5e370cbe172fdd5dd6530c1d4aadda25281ba97d" - integrity sha512-itaWrbYbqpGXkGhZPGUulwnhVf5Hpy1xiCFsGqyIGglbBxmG5vSjxQen3/WGOjPpNEv1RtBLKxbmVXm8HpJStQ== - dependencies: - call-bind "^1.0.7" - define-properties "^1.2.1" - es-abstract "^1.23.2" - es-object-atoms "^1.0.0" - get-intrinsic "^1.2.4" - is-string "^1.0.7" - -array-union@^1.0.2: - version "1.0.2" - resolved "https://registry.yarnpkg.com/array-union/-/array-union-1.0.2.tgz#9a34410e4f4e3da23dea375be5be70f24778ec39" - integrity sha512-Dxr6QJj/RdU/hCaBjOfxW+q6lyuVE6JFWIrAUpuOOhoJJoQ99cUn3igRaHVB5P9WrgFVN0FfArM3x0cueOU8ng== - dependencies: - array-uniq "^1.0.1" - -array-union@^2.1.0: - version "2.1.0" - resolved "https://registry.yarnpkg.com/array-union/-/array-union-2.1.0.tgz#b798420adbeb1de828d84acd8a2e23d3efe85e8d" - integrity sha512-HGyxoOTYUyCM6stUe6EJgnd4EoewAI7zMdfqO+kGjnlZmBDz/cR5pf8r/cR4Wq60sL/p0IkcjUEEPwS3GFrIyw== - -array-uniq@^1.0.1: - version "1.0.3" - resolved "https://registry.yarnpkg.com/array-uniq/-/array-uniq-1.0.3.tgz#af6ac877a25cc7f74e058894753858dfdb24fdb6" - integrity sha512-MNha4BWQ6JbwhFhj03YK552f7cb3AzoE8SzeljgChvL1dl3IcvggXVz1DilzySZkCja+CXuZbdW7yATchWn8/Q== - -array-unique@^0.3.2: - version "0.3.2" - resolved "https://registry.yarnpkg.com/array-unique/-/array-unique-0.3.2.tgz#a894b75d4bc4f6cd679ef3244a9fd8f46ae2d428" - integrity sha512-SleRWjh9JUud2wH1hPs9rZBZ33H6T9HOiL0uwGnGx9FpE6wKGyfWugmbkEOIs6qWrZhg0LWeLziLrEwQJhs5mQ== - -array.prototype.findlast@^1.2.5: - version "1.2.5" - resolved "https://registry.yarnpkg.com/array.prototype.findlast/-/array.prototype.findlast-1.2.5.tgz#3e4fbcb30a15a7f5bf64cf2faae22d139c2e4904" - integrity sha512-CVvd6FHg1Z3POpBLxO6E6zr+rSKEQ9L6rZHAaY7lLfhKsWYUBBOuMs0e9o24oopj6H+geRCX0YJ+TJLBK2eHyQ== - dependencies: - call-bind "^1.0.7" - define-properties "^1.2.1" - es-abstract "^1.23.2" - es-errors "^1.3.0" - es-object-atoms "^1.0.0" - es-shim-unscopables "^1.0.2" - -array.prototype.findlastindex@^1.2.5: - version "1.2.5" - resolved "https://registry.yarnpkg.com/array.prototype.findlastindex/-/array.prototype.findlastindex-1.2.5.tgz#8c35a755c72908719453f87145ca011e39334d0d" - integrity sha512-zfETvRFA8o7EiNn++N5f/kaCw221hrpGsDmcpndVupkPzEc1Wuf3VgC0qby1BbHs7f5DVYjgtEU2LLh5bqeGfQ== - dependencies: - call-bind "^1.0.7" - define-properties "^1.2.1" - es-abstract "^1.23.2" - es-errors "^1.3.0" - es-object-atoms "^1.0.0" - es-shim-unscopables "^1.0.2" - -array.prototype.flat@^1.3.1, array.prototype.flat@^1.3.2: - version "1.3.2" - resolved "https://registry.yarnpkg.com/array.prototype.flat/-/array.prototype.flat-1.3.2.tgz#1476217df8cff17d72ee8f3ba06738db5b387d18" - integrity sha512-djYB+Zx2vLewY8RWlNCUdHjDXs2XOgm602S9E7P/UpHgfeHL00cRiIF+IN/G/aUJ7kGPb6yO/ErDI5V2s8iycA== - dependencies: - call-bind "^1.0.2" - define-properties "^1.2.0" - es-abstract "^1.22.1" - es-shim-unscopables "^1.0.0" - -array.prototype.flatmap@^1.3.2: - version "1.3.2" - resolved "https://registry.yarnpkg.com/array.prototype.flatmap/-/array.prototype.flatmap-1.3.2.tgz#c9a7c6831db8e719d6ce639190146c24bbd3e527" - integrity sha512-Ewyx0c9PmpcsByhSW4r+9zDU7sGjFc86qf/kKtuSCRdhfbk0SNLLkaT5qvcHnRGgc5NP/ly/y+qkXkqONX54CQ== - dependencies: - call-bind "^1.0.2" - define-properties "^1.2.0" - es-abstract "^1.22.1" - es-shim-unscopables "^1.0.0" - -array.prototype.tosorted@^1.1.4: - version "1.1.4" - resolved "https://registry.yarnpkg.com/array.prototype.tosorted/-/array.prototype.tosorted-1.1.4.tgz#fe954678ff53034e717ea3352a03f0b0b86f7ffc" - integrity sha512-p6Fx8B7b7ZhL/gmUsAy0D15WhvDccw3mnGNbZpi3pmeJdxtWsj2jEaI4Y6oo3XiHfzuSgPwKc04MYt6KgvC/wA== - dependencies: - call-bind "^1.0.7" - define-properties "^1.2.1" - es-abstract "^1.23.3" - es-errors "^1.3.0" - es-shim-unscopables "^1.0.2" - -arraybuffer.prototype.slice@^1.0.3: - version "1.0.3" - resolved "https://registry.yarnpkg.com/arraybuffer.prototype.slice/-/arraybuffer.prototype.slice-1.0.3.tgz#097972f4255e41bc3425e37dc3f6421cf9aefde6" - integrity sha512-bMxMKAjg13EBSVscxTaYA4mRc5t1UAXa2kXiGTNfZ079HIWXEkKmkgFrh/nJqamaLSrXO5H4WFFkPEaLJWbs3A== - dependencies: - array-buffer-byte-length "^1.0.1" - call-bind "^1.0.5" - define-properties "^1.2.1" - es-abstract "^1.22.3" - es-errors "^1.2.1" - get-intrinsic "^1.2.3" - is-array-buffer "^3.0.4" - is-shared-array-buffer "^1.0.2" - -arrify@^1.0.1: - version "1.0.1" - resolved "https://registry.yarnpkg.com/arrify/-/arrify-1.0.1.tgz#898508da2226f380df904728456849c1501a4b0d" - integrity sha512-3CYzex9M9FGQjCGMGyi6/31c8GJbgb0qGyrx5HWxPd0aCwh4cB2YjMb2Xf9UuoogrMrlO9cTqnB5rI5GHZTcUA== - -arrify@^2.0.1: - version "2.0.1" - resolved "https://registry.yarnpkg.com/arrify/-/arrify-2.0.1.tgz#c9655e9331e0abcd588d2a7cad7e9956f66701fa" - integrity sha512-3duEwti880xqi4eAMN8AyR4a0ByT90zoYdLlevfrvU43vb0YZwZVfxOgxWrLXXXpyugL0hNZc9G6BiB5B3nUug== - -asap@^2.0.0: - version "2.0.6" - resolved "https://registry.yarnpkg.com/asap/-/asap-2.0.6.tgz#e50347611d7e690943208bbdafebcbc2fb866d46" - integrity sha512-BSHWgDSAiKs50o2Re8ppvp3seVHXSRM44cdSsT9FfNEUUZLOGWVCsiWaRPWM1Znn+mqZ1OfVZ3z3DWEzSp7hRA== - -ascii-table@0.0.9: - version "0.0.9" - resolved "https://registry.yarnpkg.com/ascii-table/-/ascii-table-0.0.9.tgz#06a6604d6a55d4bf41a9a47d9872d7a78da31e73" - integrity sha512-xpkr6sCDIYTPqzvjG8M3ncw1YOTaloWZOyrUmicoEifBEKzQzt+ooUpRpQ/AbOoJfO/p2ZKiyp79qHThzJDulQ== - -assertion-error@^2.0.1: - version "2.0.1" - resolved "https://registry.yarnpkg.com/assertion-error/-/assertion-error-2.0.1.tgz#f641a196b335690b1070bf00b6e7593fec190bf7" - integrity sha512-Izi8RQcffqCeNVgFigKli1ssklIbpHnCYc6AknXGYoB6grJqyeby7jv12JUQgmTAnIDnbck1uxksT4dzN3PWBA== - -assign-symbols@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/assign-symbols/-/assign-symbols-1.0.0.tgz#59667f41fadd4f20ccbc2bb96b8d4f7f78ec0367" - integrity sha512-Q+JC7Whu8HhmTdBph/Tq59IoRtoy6KAm5zzPv00WdujX82lbAL8K7WVjne7vdCsAmbF4AYaDOPyO3k0kl8qIrw== - -ast-module-types@^2.7.1: - version "2.7.1" - resolved "https://registry.yarnpkg.com/ast-module-types/-/ast-module-types-2.7.1.tgz#3f7989ef8dfa1fdb82dfe0ab02bdfc7c77a57dd3" - integrity sha512-Rnnx/4Dus6fn7fTqdeLEAn5vUll5w7/vts0RN608yFa6si/rDOUonlIIiwugHBFWjylHjxm9owoSZn71KwG4gw== - -ast-module-types@^3.0.0: - version "3.0.0" - resolved "https://registry.yarnpkg.com/ast-module-types/-/ast-module-types-3.0.0.tgz#9a6d8a80f438b6b8fe4995699d700297f398bf81" - integrity sha512-CMxMCOCS+4D+DkOQfuZf+vLrSEmY/7xtORwdxs4wtcC1wVgvk2MqFFTwQCFhvWsI4KPU9lcWXPI8DgRiz+xetQ== - -ast-module-types@^4.0.0: - version "4.0.0" - resolved "https://registry.yarnpkg.com/ast-module-types/-/ast-module-types-4.0.0.tgz#17e1cadd5b5b108e7295b0cf0cff21ccc226b639" - integrity sha512-Kd0o8r6CDazJGCRzs8Ivpn0xj19oNKrULhoJFzhGjRsLpekF2zyZs9Ukz+JvZhWD6smszfepakTFhAaYpsI12g== - -ast-types-flow@^0.0.8: - version "0.0.8" - resolved "https://registry.yarnpkg.com/ast-types-flow/-/ast-types-flow-0.0.8.tgz#0a85e1c92695769ac13a428bb653e7538bea27d6" - integrity sha512-OH/2E5Fg20h2aPrbe+QL8JZQFko0YZaF+j4mnQ7BGhfavO7OpSLa8a0y9sBwomHdSbkhTS8TQNayBfnW5DwbvQ== - -ast-types@^0.16.1: - version "0.16.1" - resolved "https://registry.yarnpkg.com/ast-types/-/ast-types-0.16.1.tgz#7a9da1617c9081bc121faafe91711b4c8bb81da2" - integrity sha512-6t10qk83GOG8p0vKmaCr8eiilZwO171AvbROMtvvNiwrTly62t+7XkA8RdIIVbpMhCASAsxgAzdRSwh6nw/5Dg== - dependencies: - tslib "^2.0.1" - -astral-regex@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/astral-regex/-/astral-regex-2.0.0.tgz#483143c567aeed4785759c0865786dc77d7d2e31" - integrity sha512-Z7tMw1ytTXt5jqMcOP+OQteU1VuNK9Y02uuJtKQ1Sv69jXQKKg5cibLwGJow8yzZP+eAc18EmLGPal0bp36rvQ== - -async-sema@^3.1.1: - version "3.1.1" - resolved "https://registry.yarnpkg.com/async-sema/-/async-sema-3.1.1.tgz#e527c08758a0f8f6f9f15f799a173ff3c40ea808" - integrity sha512-tLRNUXati5MFePdAk8dw7Qt7DpxPB60ofAgn8WRhW6a2rcimZnYBP9oxHiv0OHy+Wz7kPMG+t4LGdt31+4EmGg== - -async@^3.2.3, async@^3.2.4: - version "3.2.6" - resolved "https://registry.yarnpkg.com/async/-/async-3.2.6.tgz#1b0728e14929d51b85b449b7f06e27c1145e38ce" - integrity sha512-htCUDlxyyCLMgaM3xXg0C0LW2xqfuQ6p05pCEIsXuyQ+a1koYKTuBMzRNwmybfLgvJDMd0r1LTn4+E0Ti6C2AA== - -async@~1.5: - version "1.5.2" - resolved "https://registry.yarnpkg.com/async/-/async-1.5.2.tgz#ec6a61ae56480c0c3cb241c95618e20892f9672a" - integrity sha512-nSVgobk4rv61R9PUSDtYt7mPVB2olxNR5RWJcAsH676/ef11bUZwvu7+RGYrYauVdDPcO519v68wRhXQtxsV9w== - -asynckit@^0.4.0: - version "0.4.0" - resolved "https://registry.yarnpkg.com/asynckit/-/asynckit-0.4.0.tgz#c79ed97f7f34cb8f2ba1bc9790bcc366474b4b79" - integrity sha512-Oei9OH4tRh0YqU3GxhX79dM/mwVgvbZJaSNaRk+bshkj0S5cfHcgYakreBjrHwatXKbz+IoIdYLxrKim2MjW0Q== - -at-least-node@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/at-least-node/-/at-least-node-1.0.0.tgz#602cd4b46e844ad4effc92a8011a3c46e0238dc2" - integrity sha512-+q/t7Ekv1EDY2l6Gda6LLiX14rU9TV20Wa3ofeQmwPFZbOMo9DXrLbOjFaaclkXKWidIaopwAObQDqwWtGUjqg== - -atob@^2.1.2: - version "2.1.2" - resolved "https://registry.yarnpkg.com/atob/-/atob-2.1.2.tgz#6d9517eb9e030d2436666651e86bd9f6f13533c9" - integrity sha512-Wm6ukoaOGJi/73p/cl2GvLjTI5JM1k/O14isD73YML8StrH/7/lRFgmg8nICZgD3bZZvjwCGxtMOD3wWNAu8cg== - -available-typed-arrays@^1.0.7: - version "1.0.7" - resolved "https://registry.yarnpkg.com/available-typed-arrays/-/available-typed-arrays-1.0.7.tgz#a5cc375d6a03c2efc87a553f3e0b1522def14846" - integrity sha512-wvUjBtSGN7+7SjNpq/9M2Tg350UZD3q62IFZLbRAR1bSMlCo1ZaeW+BJ+D090e4hIIZLBcTDWe4Mh4jvUDajzQ== - dependencies: - possible-typed-array-names "^1.0.0" - -axe-core@^4.10.0, axe-core@^4.2.0: - version "4.10.1" - resolved "https://registry.yarnpkg.com/axe-core/-/axe-core-4.10.1.tgz#7d2589b0183f05b0f23e55c2f4cdf97b5bdc66d9" - integrity sha512-qPC9o+kD8Tir0lzNGLeghbOrWMr3ZJpaRlCIb6Uobt/7N4FiEDvqUMnxzCHRHmg8vOg14kr5gVNyScRmbMaJ9g== - -axios@^1.0.0, axios@^1.6.1: - version "1.7.7" - resolved "https://registry.yarnpkg.com/axios/-/axios-1.7.7.tgz#2f554296f9892a72ac8d8e4c5b79c14a91d0a47f" - integrity sha512-S4kL7XrjgBmvdGut0sN3yJxqYzrDOnivkBiN0OFs6hLiUam3UPvswUo0kqGyhqUZGEOytHyumEdXsAkgCOUf3Q== - dependencies: - follow-redirects "^1.15.6" - form-data "^4.0.0" - proxy-from-env "^1.1.0" - -axobject-query@^4.1.0: - version "4.1.0" - resolved "https://registry.yarnpkg.com/axobject-query/-/axobject-query-4.1.0.tgz#28768c76d0e3cff21bc62a9e2d0b6ac30042a1ee" - integrity sha512-qIj0G9wZbMGNLjLmg1PT6v2mE9AH2zlnADJD/2tC6E00hgmhUOfEB6greHPAfLRSufHqROIUTkw6E+M3lH0PTQ== - -babel-jest@^29.7.0: - version "29.7.0" - resolved "https://registry.yarnpkg.com/babel-jest/-/babel-jest-29.7.0.tgz#f4369919225b684c56085998ac63dbd05be020d5" - integrity sha512-BrvGY3xZSwEcCzKvKsCi2GgHqDqsYkOP4/by5xCgIwGXQxIEh+8ew3gmrE1y7XRR6LHZIj6yLYnUi/mm2KXKBg== - dependencies: - "@jest/transform" "^29.7.0" - "@types/babel__core" "^7.1.14" - babel-plugin-istanbul "^6.1.1" - babel-preset-jest "^29.6.3" - chalk "^4.0.0" - graceful-fs "^4.2.9" - slash "^3.0.0" - -babel-plugin-istanbul@^6.1.1: - version "6.1.1" - resolved "https://registry.yarnpkg.com/babel-plugin-istanbul/-/babel-plugin-istanbul-6.1.1.tgz#fa88ec59232fd9b4e36dbbc540a8ec9a9b47da73" - integrity sha512-Y1IQok9821cC9onCx5otgFfRm7Lm+I+wwxOx738M/WLPZ9Q42m4IG5W0FNX8WLL2gYMZo3JkuXIH2DOpWM+qwA== - dependencies: - "@babel/helper-plugin-utils" "^7.0.0" - "@istanbuljs/load-nyc-config" "^1.0.0" - "@istanbuljs/schema" "^0.1.2" - istanbul-lib-instrument "^5.0.4" - test-exclude "^6.0.0" - -babel-plugin-jest-hoist@^29.6.3: - version "29.6.3" - resolved "https://registry.yarnpkg.com/babel-plugin-jest-hoist/-/babel-plugin-jest-hoist-29.6.3.tgz#aadbe943464182a8922c3c927c3067ff40d24626" - integrity sha512-ESAc/RJvGTFEzRwOTT4+lNDk/GNHMkKbNzsvT0qKRfDyyYTskxB5rnU2njIDYVxXCBHHEI1c0YwHob3WaYujOg== - dependencies: - "@babel/template" "^7.3.3" - "@babel/types" "^7.3.3" - "@types/babel__core" "^7.1.14" - "@types/babel__traverse" "^7.0.6" - -babel-plugin-polyfill-corejs2@^0.4.10: - version "0.4.11" - resolved "https://registry.yarnpkg.com/babel-plugin-polyfill-corejs2/-/babel-plugin-polyfill-corejs2-0.4.11.tgz#30320dfe3ffe1a336c15afdcdafd6fd615b25e33" - integrity sha512-sMEJ27L0gRHShOh5G54uAAPaiCOygY/5ratXuiyb2G46FmlSpc9eFCzYVyDiPxfNbwzA7mYahmjQc5q+CZQ09Q== - dependencies: - "@babel/compat-data" "^7.22.6" - "@babel/helper-define-polyfill-provider" "^0.6.2" - semver "^6.3.1" - -babel-plugin-polyfill-corejs3@^0.10.6: - version "0.10.6" - resolved "https://registry.yarnpkg.com/babel-plugin-polyfill-corejs3/-/babel-plugin-polyfill-corejs3-0.10.6.tgz#2deda57caef50f59c525aeb4964d3b2f867710c7" - integrity sha512-b37+KR2i/khY5sKmWNVQAnitvquQbNdWy6lJdsr0kmquCKEEUgMKK4SboVM3HtfnZilfjr4MMQ7vY58FVWDtIA== - dependencies: - "@babel/helper-define-polyfill-provider" "^0.6.2" - core-js-compat "^3.38.0" - -babel-plugin-polyfill-regenerator@^0.6.1: - version "0.6.2" - resolved "https://registry.yarnpkg.com/babel-plugin-polyfill-regenerator/-/babel-plugin-polyfill-regenerator-0.6.2.tgz#addc47e240edd1da1058ebda03021f382bba785e" - integrity sha512-2R25rQZWP63nGwaAswvDazbPXfrM3HwVoBXK6HcqeKrSrL/JqcC/rDcf95l4r7LXLyxDXc8uQDa064GubtCABg== - dependencies: - "@babel/helper-define-polyfill-provider" "^0.6.2" - -babel-preset-current-node-syntax@^1.0.0: - version "1.1.0" - resolved "https://registry.yarnpkg.com/babel-preset-current-node-syntax/-/babel-preset-current-node-syntax-1.1.0.tgz#9a929eafece419612ef4ae4f60b1862ebad8ef30" - integrity sha512-ldYss8SbBlWva1bs28q78Ju5Zq1F+8BrqBZZ0VFhLBvhh6lCpC2o3gDJi/5DRLs9FgYZCnmPYIVFU4lRXCkyUw== - dependencies: - "@babel/plugin-syntax-async-generators" "^7.8.4" - "@babel/plugin-syntax-bigint" "^7.8.3" - "@babel/plugin-syntax-class-properties" "^7.12.13" - "@babel/plugin-syntax-class-static-block" "^7.14.5" - "@babel/plugin-syntax-import-attributes" "^7.24.7" - "@babel/plugin-syntax-import-meta" "^7.10.4" - "@babel/plugin-syntax-json-strings" "^7.8.3" - "@babel/plugin-syntax-logical-assignment-operators" "^7.10.4" - "@babel/plugin-syntax-nullish-coalescing-operator" "^7.8.3" - "@babel/plugin-syntax-numeric-separator" "^7.10.4" - "@babel/plugin-syntax-object-rest-spread" "^7.8.3" - "@babel/plugin-syntax-optional-catch-binding" "^7.8.3" - "@babel/plugin-syntax-optional-chaining" "^7.8.3" - "@babel/plugin-syntax-private-property-in-object" "^7.14.5" - "@babel/plugin-syntax-top-level-await" "^7.14.5" - -babel-preset-jest@^29.6.3: - version "29.6.3" - resolved "https://registry.yarnpkg.com/babel-preset-jest/-/babel-preset-jest-29.6.3.tgz#fa05fa510e7d493896d7b0dd2033601c840f171c" - integrity sha512-0B3bhxR6snWXJZtR/RliHTDPRgn1sNHOR0yVtq/IiQFyuOVjFS+wuio/R4gSNkyYmKmJB4wGZv2NZanmKmTnNA== - dependencies: - babel-plugin-jest-hoist "^29.6.3" - babel-preset-current-node-syntax "^1.0.0" - -backoff@^2.5.0: - version "2.5.0" - resolved "https://registry.yarnpkg.com/backoff/-/backoff-2.5.0.tgz#f616eda9d3e4b66b8ca7fca79f695722c5f8e26f" - integrity sha512-wC5ihrnUXmR2douXmXLCe5O3zg3GKIyvRi/hi58a/XyRxVI+3/yM0PYueQOZXPXQ9pxBislYkw+sF9b7C/RuMA== - dependencies: - precond "0.2" - -bail@^2.0.0: - version "2.0.2" - resolved "https://registry.yarnpkg.com/bail/-/bail-2.0.2.tgz#d26f5cd8fe5d6f832a31517b9f7c356040ba6d5d" - integrity sha512-0xO6mYd7JB2YesxDKplafRpsiOzPt9V02ddPCLbY1xYGPOX24NTyN50qnUxgCPcSoYMhKpAuBTjQoRZCAkUDRw== - -balanced-match@^1.0.0: - version "1.0.2" - resolved "https://registry.yarnpkg.com/balanced-match/-/balanced-match-1.0.2.tgz#e83e3a7e3f300b34cb9d87f615fa0cbf357690ee" - integrity sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw== - -balanced-match@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/balanced-match/-/balanced-match-2.0.0.tgz#dc70f920d78db8b858535795867bf48f820633d9" - integrity sha512-1ugUSr8BHXRnK23KfuYS+gVMC3LB8QGH9W1iGtDPsNWoQbgtXSExkBu2aDR4epiGWZOjZsj6lDl/N/AqqTC3UA== - -base64-js@^1.3.1: - version "1.5.1" - resolved "https://registry.yarnpkg.com/base64-js/-/base64-js-1.5.1.tgz#1b1b440160a5bf7ad40b650f095963481903930a" - integrity sha512-AKpaYlHn8t4SVbOHCy+b5+KKgvR4vrsD8vbvrbiQJps7fKDTkjkDry6ji0rUJjC0kzbNePLwzxq8iypo41qeWA== - -base@^0.11.1: - version "0.11.2" - resolved "https://registry.yarnpkg.com/base/-/base-0.11.2.tgz#7bde5ced145b6d551a90db87f83c558b4eb48a8f" - integrity sha512-5T6P4xPgpp0YDFvSWwEZ4NoE3aM4QBQXDzmVbraCkFj8zHM+mba8SyqB5DbZWyR7mYHo6Y7BdQo3MoA4m0TeQg== - dependencies: - cache-base "^1.0.1" - class-utils "^0.3.5" - component-emitter "^1.2.1" - define-property "^1.0.0" - isobject "^3.0.1" - mixin-deep "^1.2.0" - pascalcase "^0.1.1" - -before-after-hook@^2.2.0: - version "2.2.3" - resolved "https://registry.yarnpkg.com/before-after-hook/-/before-after-hook-2.2.3.tgz#c51e809c81a4e354084422b9b26bad88249c517c" - integrity sha512-NzUnlZexiaH/46WDhANlyR2bXRopNg4F/zuSA3OpZnllCUgRaOF2znDioDWrmbNVsuZk6l9pMquQB38cfBZwkQ== - -better-opn@^3.0.0, better-opn@^3.0.2: - version "3.0.2" - resolved "https://registry.yarnpkg.com/better-opn/-/better-opn-3.0.2.tgz#f96f35deaaf8f34144a4102651babcf00d1d8817" - integrity sha512-aVNobHnJqLiUelTaHat9DZ1qM2w0C0Eym4LPI/3JxOnSokGVdsl1T1kN7TFvsEAD8G47A6VKQ0TVHqbBnYMJlQ== - dependencies: - open "^8.0.4" - -better-path-resolve@1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/better-path-resolve/-/better-path-resolve-1.0.0.tgz#13a35a1104cdd48a7b74bf8758f96a1ee613f99d" - integrity sha512-pbnl5XzGBdrFU/wT4jqmJVPn2B6UHPBOhzMQkY/SPUPB6QtUXtmBHBIwCbXJol93mOpGMnQyP/+BB19q04xj7g== - dependencies: - is-windows "^1.0.0" - -big.js@^5.2.2: - version "5.2.2" - resolved "https://registry.yarnpkg.com/big.js/-/big.js-5.2.2.tgz#65f0af382f578bcdc742bd9c281e9cb2d7768328" - integrity sha512-vyL2OymJxmarO8gxMr0mhChsO9QGwhynfuu4+MHTAW6czfq9humCB7rKpUjDd9YUiDPU4mzpyupFSvOClAwbmQ== - -bin-links@^3.0.0: - version "3.0.3" - resolved "https://registry.yarnpkg.com/bin-links/-/bin-links-3.0.3.tgz#3842711ef3db2cd9f16a5f404a996a12db355a6e" - integrity sha512-zKdnMPWEdh4F5INR07/eBrodC7QrF5JKvqskjz/ZZRXg5YSAZIbn8zGhbhUrElzHBZ2fvEQdOU59RHcTG3GiwA== - dependencies: - cmd-shim "^5.0.0" - mkdirp-infer-owner "^2.0.0" - npm-normalize-package-bin "^2.0.0" - read-cmd-shim "^3.0.0" - rimraf "^3.0.0" - write-file-atomic "^4.0.0" - -binary-extensions@^2.0.0: - version "2.3.0" - resolved "https://registry.yarnpkg.com/binary-extensions/-/binary-extensions-2.3.0.tgz#f6e14a97858d327252200242d4ccfe522c445522" - integrity sha512-Ceh+7ox5qe7LJuLHoY0feh3pHuUDHAcRUeyL2VYghZwfpkNIy/+8Ocg0a3UuSoYzavmylwuLWQOf3hl0jjMMIw== - -bindings@^1.4.0: - version "1.5.0" - resolved "https://registry.yarnpkg.com/bindings/-/bindings-1.5.0.tgz#10353c9e945334bc0511a6d90b38fbc7c9c504df" - integrity sha512-p2q/t/mhvuOj/UeLlV6566GD/guowlr0hHxClI0W9m7MWYkL1F0hLo+0Aexs9HSPCtR1SXQ0TD3MMKrXZajbiQ== - dependencies: - file-uri-to-path "1.0.0" - -bl@^1.0.0: - version "1.2.3" - resolved "https://registry.yarnpkg.com/bl/-/bl-1.2.3.tgz#1e8dd80142eac80d7158c9dccc047fb620e035e7" - integrity sha512-pvcNpa0UU69UT341rO6AYy4FVAIkUHuZXRIWbq+zHnsVcRzDDjIAhGuuYoi0d//cwIwtt4pkpKycWEfjdV+vww== - dependencies: - readable-stream "^2.3.5" - safe-buffer "^5.1.1" - -bl@^4.0.3, bl@^4.1.0: - version "4.1.0" - resolved "https://registry.yarnpkg.com/bl/-/bl-4.1.0.tgz#451535264182bec2fbbc83a62ab98cf11d9f7b3a" - integrity sha512-1W07cM9gS6DcLperZfFSj+bWLtaPGSOHWhPiGzXmvVJbRLdG82sH/Kn8EtW1VqWVA54AKf2h5k5BbnIbwF3h6w== - dependencies: - buffer "^5.5.0" - inherits "^2.0.4" - readable-stream "^3.4.0" - -blueimp-md5@^2.10.0: - version "2.19.0" - resolved "https://registry.yarnpkg.com/blueimp-md5/-/blueimp-md5-2.19.0.tgz#b53feea5498dcb53dc6ec4b823adb84b729c4af0" - integrity sha512-DRQrD6gJyy8FbiE4s+bDoXS9hiW3Vbx5uCdwvcCf3zLHL+Iv7LtGHLpr+GZV8rHG8tK766FGYBwRbu8pELTt+w== - -body-parser@1.20.3: - version "1.20.3" - resolved "https://registry.yarnpkg.com/body-parser/-/body-parser-1.20.3.tgz#1953431221c6fb5cd63c4b36d53fab0928e548c6" - integrity sha512-7rAxByjUMqQ3/bHJy7D6OGXvx/MMc4IqBn/X0fcM1QUcAItpZrBEYhWGem+tzXH90c+G01ypMcYJBO9Y30203g== - dependencies: - bytes "3.1.2" - content-type "~1.0.5" - debug "2.6.9" - depd "2.0.0" - destroy "1.2.0" - http-errors "2.0.0" - iconv-lite "0.4.24" - on-finished "2.4.1" - qs "6.13.0" - raw-body "2.5.2" - type-is "~1.6.18" - unpipe "1.0.0" - -boolbase@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/boolbase/-/boolbase-1.0.0.tgz#68dff5fbe60c51eb37725ea9e3ed310dcc1e776e" - integrity sha512-JZOSA7Mo9sNGB8+UjSgzdLtokWAky1zbztM3WRLCbZ70/3cTANmQmOdR7y2g+J0e2WXywy1yS468tY+IruqEww== - -boxen@7.0.0: - version "7.0.0" - resolved "https://registry.yarnpkg.com/boxen/-/boxen-7.0.0.tgz#9e5f8c26e716793fc96edcf7cf754cdf5e3fbf32" - integrity sha512-j//dBVuyacJbvW+tvZ9HuH03fZ46QcaKvvhZickZqtB271DxJ7SNRSNxrV/dZX0085m7hISRZWbzWlJvx/rHSg== - dependencies: - ansi-align "^3.0.1" - camelcase "^7.0.0" - chalk "^5.0.1" - cli-boxes "^3.0.0" - string-width "^5.1.2" - type-fest "^2.13.0" - widest-line "^4.0.1" - wrap-ansi "^8.0.1" - -boxen@^5.0.0: - version "5.1.2" - resolved "https://registry.yarnpkg.com/boxen/-/boxen-5.1.2.tgz#788cb686fc83c1f486dfa8a40c68fc2b831d2b50" - integrity sha512-9gYgQKXx+1nP8mP7CzFyaUARhg7D3n1dF/FnErWmu9l6JvGpNUN278h0aSb+QjoiKSWG+iZ3uHrcqk0qrY9RQQ== - dependencies: - ansi-align "^3.0.0" - camelcase "^6.2.0" - chalk "^4.1.0" - cli-boxes "^2.2.1" - string-width "^4.2.2" - type-fest "^0.20.2" - widest-line "^3.1.0" - wrap-ansi "^7.0.0" - -brace-expansion@^1.1.7: - version "1.1.11" - resolved "https://registry.yarnpkg.com/brace-expansion/-/brace-expansion-1.1.11.tgz#3c7fcbf529d87226f3d2f52b966ff5271eb441dd" - integrity sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA== - dependencies: - balanced-match "^1.0.0" - concat-map "0.0.1" - -brace-expansion@^2.0.1: - version "2.0.1" - resolved "https://registry.yarnpkg.com/brace-expansion/-/brace-expansion-2.0.1.tgz#1edc459e0f0c548486ecf9fc99f2221364b9a0ae" - integrity sha512-XnAIvQ8eM+kC6aULx6wuQiwVsnzsi9d3WxzV3FpWTGA19F621kwdbsAcFKXgKUHZWsy+mY6iL1sHTxWEFCytDA== - dependencies: - balanced-match "^1.0.0" - -braces@^2.3.1: - version "2.3.2" - resolved "https://registry.yarnpkg.com/braces/-/braces-2.3.2.tgz#5979fd3f14cd531565e5fa2df1abfff1dfaee729" - integrity sha512-aNdbnj9P8PjdXU4ybaWLK2IF3jc/EoDYbC7AazW6to3TRsfXxscC9UXOB5iDiEQrkyIbWp2SLQda4+QAa7nc3w== - dependencies: - arr-flatten "^1.1.0" - array-unique "^0.3.2" - extend-shallow "^2.0.1" - fill-range "^4.0.0" - isobject "^3.0.1" - repeat-element "^1.1.2" - snapdragon "^0.8.1" - snapdragon-node "^2.0.1" - split-string "^3.0.2" - to-regex "^3.0.1" - -braces@^3.0.3, braces@~3.0.2: - version "3.0.3" - resolved "https://registry.yarnpkg.com/braces/-/braces-3.0.3.tgz#490332f40919452272d55a8480adc0c441358789" - integrity sha512-yQbXgO/OSZVD2IsiLlro+7Hf6Q18EJrKSEsdoMzKePKXct3gvD8oLcOQdIzGupr5Fj+EDe8gO/lxc1BzfMpxvA== - dependencies: - fill-range "^7.1.1" - -browser-assert@^1.2.1: - version "1.2.1" - resolved "https://registry.yarnpkg.com/browser-assert/-/browser-assert-1.2.1.tgz#9aaa5a2a8c74685c2ae05bfe46efd606f068c200" - integrity sha512-nfulgvOR6S4gt9UKCeGJOuSGBPGiFT6oQ/2UBnvTY/5aQ1PnksW72fhZkM30DzoRRv2WpwZf1vHHEr3mtuXIWQ== - -browserslist@4.24.0, browserslist@^4.21.10, browserslist@^4.23.3, browserslist@^4.24.0: - version "4.24.0" - resolved "https://registry.yarnpkg.com/browserslist/-/browserslist-4.24.0.tgz#a1325fe4bc80b64fda169629fc01b3d6cecd38d4" - integrity sha512-Rmb62sR1Zpjql25eSanFGEhAxcFwfA1K0GuQcLoaJBAcENegrQut3hYdhXFF1obQfiDyqIW/cLM5HSJ/9k884A== - dependencies: - caniuse-lite "^1.0.30001663" - electron-to-chromium "^1.5.28" - node-releases "^2.0.18" - update-browserslist-db "^1.1.0" - -bs-logger@^0.2.6: - version "0.2.6" - resolved "https://registry.yarnpkg.com/bs-logger/-/bs-logger-0.2.6.tgz#eb7d365307a72cf974cc6cda76b68354ad336bd8" - integrity sha512-pd8DCoxmbgc7hyPKOvxtqNcjYoOsABPQdcCUjGp3d42VR2CX1ORhk2A87oqqu5R1kk+76nsxZupkmyd+MVtCog== - dependencies: - fast-json-stable-stringify "2.x" - -bser@2.1.1: - version "2.1.1" - resolved "https://registry.yarnpkg.com/bser/-/bser-2.1.1.tgz#e6787da20ece9d07998533cfd9de6f5c38f4bc05" - integrity sha512-gQxTNE/GAfIIrmHLUE3oJyp5FO6HRBfhjnw4/wMmA63ZGDJnWBmgY/lyQBpnDUkGmAhbSe39tx2d/iTOAfglwQ== - dependencies: - node-int64 "^0.4.0" - -buffer-alloc-unsafe@^1.1.0: - version "1.1.0" - resolved "https://registry.yarnpkg.com/buffer-alloc-unsafe/-/buffer-alloc-unsafe-1.1.0.tgz#bd7dc26ae2972d0eda253be061dba992349c19f0" - integrity sha512-TEM2iMIEQdJ2yjPJoSIsldnleVaAk1oW3DBVUykyOLsEsFmEc9kn+SFFPz+gl54KQNxlDnAwCXosOS9Okx2xAg== - -buffer-alloc@^1.2.0: - version "1.2.0" - resolved "https://registry.yarnpkg.com/buffer-alloc/-/buffer-alloc-1.2.0.tgz#890dd90d923a873e08e10e5fd51a57e5b7cce0ec" - integrity sha512-CFsHQgjtW1UChdXgbyJGtnm+O/uLQeZdtbDo8mfUgYXCHSM1wgrVxXm6bSyrUuErEb+4sYVGCzASBRot7zyrow== - dependencies: - buffer-alloc-unsafe "^1.1.0" - buffer-fill "^1.0.0" - -buffer-crc32@^0.2.1, buffer-crc32@^0.2.13, buffer-crc32@~0.2.3: - version "0.2.13" - resolved "https://registry.yarnpkg.com/buffer-crc32/-/buffer-crc32-0.2.13.tgz#0d333e3f00eac50aa1454abd30ef8c2a5d9a7242" - integrity sha512-VO9Ht/+p3SN7SKWqcrgEzjGbRSJYTx+Q1pTQC0wrWqHx0vpJraQ6GtHx8tvcg1rlK1byhU5gccxgOgj7B0TDkQ== - -buffer-es6@^4.9.3: - version "4.9.3" - resolved "https://registry.yarnpkg.com/buffer-es6/-/buffer-es6-4.9.3.tgz#f26347b82df76fd37e18bcb5288c4970cfd5c404" - integrity sha512-Ibt+oXxhmeYJSsCkODPqNpPmyegefiD8rfutH1NYGhMZQhSp95Rz7haemgnJ6dxa6LT+JLLbtgOMORRluwKktw== - -buffer-fill@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/buffer-fill/-/buffer-fill-1.0.0.tgz#f8f78b76789888ef39f205cd637f68e702122b2c" - integrity sha512-T7zexNBwiiaCOGDg9xNX9PBmjrubblRkENuptryuI64URkXDFum9il/JGL8Lm8wYfAXpredVXXZz7eMHilimiQ== - -buffer-from@^1.0.0: - version "1.1.2" - resolved "https://registry.yarnpkg.com/buffer-from/-/buffer-from-1.1.2.tgz#2b146a6fd72e80b4f55d255f35ed59a3a9a41bd5" - integrity sha512-E+XQCRwSbaaiChtv6k6Dwgc+bx+Bs6vuKJHHl5kox/BaKbhiXzqQOwK4cO22yElGp2OCmjwVhT3HmxgyPGnJfQ== - -buffer@^5.2.1, buffer@^5.5.0: - version "5.7.1" - resolved "https://registry.yarnpkg.com/buffer/-/buffer-5.7.1.tgz#ba62e7c13133053582197160851a8f648e99eed0" - integrity sha512-EHcyIPBQ4BSGlvjB16k5KgAJ27CIsHY/2JBmCRReo48y9rQ3MaUzWX3KVlBa4U7MyX02HdVj0K7C3WaB3ju7FQ== - dependencies: - base64-js "^1.3.1" - ieee754 "^1.1.13" - -buffer@^6.0.3: - version "6.0.3" - resolved "https://registry.yarnpkg.com/buffer/-/buffer-6.0.3.tgz#2ace578459cc8fbe2a70aaa8f52ee63b6a74c6c6" - integrity sha512-FTiCpNxtwiZZHEZbcbTIcZjERVICn9yq/pDFkTl95/AxzD1naBctN7YO68riM/gLSDY7sdrMby8hofADYuuqOA== - dependencies: - base64-js "^1.3.1" - ieee754 "^1.2.1" - -builtin-modules@^3.1.0, builtin-modules@^3.3.0: - version "3.3.0" - resolved "https://registry.yarnpkg.com/builtin-modules/-/builtin-modules-3.3.0.tgz#cae62812b89801e9656336e46223e030386be7b6" - integrity sha512-zhaCDicdLuWN5UbN5IMnFqNMhNfo919sH85y2/ea+5Yg9TsTkeZxpL+JLbp6cgYFS4sRLp3YV4S6yDuqVWHYOw== - -builtins@^1.0.3: - version "1.0.3" - resolved "https://registry.yarnpkg.com/builtins/-/builtins-1.0.3.tgz#cb94faeb61c8696451db36534e1422f94f0aee88" - integrity sha512-uYBjakWipfaO/bXI7E8rq6kpwHRZK5cNYrUv2OzZSI/FvmdMyXJ2tG9dKcjEC5YHmHpUAwsargWIZNWdxb/bnQ== - -builtins@^5.0.0: - version "5.1.0" - resolved "https://registry.yarnpkg.com/builtins/-/builtins-5.1.0.tgz#6d85eeb360c4ebc166c3fdef922a15aa7316a5e8" - integrity sha512-SW9lzGTLvWTP1AY8xeAMZimqDrIaSdLQUcVr9DMef51niJ022Ri87SwRRKYm4A6iHfkPaiVUu/Duw2Wc4J7kKg== - dependencies: - semver "^7.0.0" - -byline@^5.0.0: - version "5.0.0" - resolved "https://registry.yarnpkg.com/byline/-/byline-5.0.0.tgz#741c5216468eadc457b03410118ad77de8c1ddb1" - integrity sha512-s6webAy+R4SR8XVuJWt2V2rGvhnrhxN+9S15GNuTK3wKPOXFF6RNc+8ug2XhH+2s4f+uudG4kUVYmYOQWL2g0Q== - -byte-size@7.0.0: - version "7.0.0" - resolved "https://registry.yarnpkg.com/byte-size/-/byte-size-7.0.0.tgz#36528cd1ca87d39bd9abd51f5715dc93b6ceb032" - integrity sha512-NNiBxKgxybMBtWdmvx7ZITJi4ZG+CYUgwOSZTfqB1qogkRHrhbQE/R2r5Fh94X+InN5MCYz6SvB/ejHMj/HbsQ== - -bytes@3.0.0: - version "3.0.0" - resolved "https://registry.yarnpkg.com/bytes/-/bytes-3.0.0.tgz#d32815404d689699f85a4ea4fa8755dd13a96048" - integrity sha512-pMhOfFDPiv9t5jjIXkHosWmkSyQbvsgEVNkz0ERHbuLh2T/7j4Mqqpz523Fe8MVY89KC6Sh/QfS2sM+SjgFDcw== - -bytes@3.1.2: - version "3.1.2" - resolved "https://registry.yarnpkg.com/bytes/-/bytes-3.1.2.tgz#8b0beeb98605adf1b128fa4386403c009e0221a5" - integrity sha512-/Nf7TyzTx6S3yRJObOAV7956r8cr2+Oj8AC5dt8wSP3BQAoeX58NoHyCU8P8zGkNXStjTSi6fzO6F0pBdcYbEg== - -cacache@^16.0.0, cacache@^16.0.6, cacache@^16.1.0: - version "16.1.3" - resolved "https://registry.yarnpkg.com/cacache/-/cacache-16.1.3.tgz#a02b9f34ecfaf9a78c9f4bc16fceb94d5d67a38e" - integrity sha512-/+Emcj9DAXxX4cwlLmRI9c166RuL3w30zp4R7Joiv2cQTtTtA+jeuCAjH3ZlGnYS3tKENSrKhAzVVP9GVyzeYQ== - dependencies: - "@npmcli/fs" "^2.1.0" - "@npmcli/move-file" "^2.0.0" - chownr "^2.0.0" - fs-minipass "^2.1.0" - glob "^8.0.1" - infer-owner "^1.0.4" - lru-cache "^7.7.1" - minipass "^3.1.6" - minipass-collect "^1.0.2" - minipass-flush "^1.0.5" - minipass-pipeline "^1.2.4" - mkdirp "^1.0.4" - p-map "^4.0.0" - promise-inflight "^1.0.1" - rimraf "^3.0.2" - ssri "^9.0.0" - tar "^6.1.11" - unique-filename "^2.0.0" - -cache-base@^1.0.1: - version "1.0.1" - resolved "https://registry.yarnpkg.com/cache-base/-/cache-base-1.0.1.tgz#0a7f46416831c8b662ee36fe4e7c59d76f666ab2" - integrity sha512-AKcdTnFSWATd5/GCPRxr2ChwIJ85CeyrEyjRHlKxQ56d4XJMGym0uAiKn0xbLOGOl3+yRpOTi484dVCEc5AUzQ== - dependencies: - collection-visit "^1.0.0" - component-emitter "^1.2.1" - get-value "^2.0.6" - has-value "^1.0.0" - isobject "^3.0.1" - set-value "^2.0.0" - to-object-path "^0.3.0" - union-value "^1.0.0" - unset-value "^1.0.0" - -cacheable-lookup@^2.0.0: - version "2.0.1" - resolved "https://registry.yarnpkg.com/cacheable-lookup/-/cacheable-lookup-2.0.1.tgz#87be64a18b925234875e10a9bb1ebca4adce6b38" - integrity sha512-EMMbsiOTcdngM/K6gV/OxF2x0t07+vMOWxZNSCRQMjO2MY2nhZQ6OYhOOpyQrbhqsgtvKGI7hcq6xjnA92USjg== - dependencies: - "@types/keyv" "^3.1.1" - keyv "^4.0.0" - -cacheable-request@^2.1.1: - version "2.1.4" - resolved "https://registry.yarnpkg.com/cacheable-request/-/cacheable-request-2.1.4.tgz#0d808801b6342ad33c91df9d0b44dc09b91e5c3d" - integrity sha512-vag0O2LKZ/najSoUwDbVlnlCFvhBE/7mGTY2B5FgCBDcRD+oVV1HYTOwM6JZfMg/hIcM6IwnTZ1uQQL5/X3xIQ== - dependencies: - clone-response "1.0.2" - get-stream "3.0.0" - http-cache-semantics "3.8.1" - keyv "3.0.0" - lowercase-keys "1.0.0" - normalize-url "2.0.1" - responselike "1.0.2" - -cacheable-request@^6.0.0: - version "6.1.0" - resolved "https://registry.yarnpkg.com/cacheable-request/-/cacheable-request-6.1.0.tgz#20ffb8bd162ba4be11e9567d823db651052ca912" - integrity sha512-Oj3cAGPCqOZX7Rz64Uny2GYAZNliQSqfbePrgAQ1wKAihYmCUnraBtJtKcGR4xz7wF+LoJC+ssFZvv5BgF9Igg== - dependencies: - clone-response "^1.0.2" - get-stream "^5.1.0" - http-cache-semantics "^4.0.0" - keyv "^3.0.0" - lowercase-keys "^2.0.0" - normalize-url "^4.1.0" - responselike "^1.0.2" - -cacheable-request@^7.0.1: - version "7.0.4" - resolved "https://registry.yarnpkg.com/cacheable-request/-/cacheable-request-7.0.4.tgz#7a33ebf08613178b403635be7b899d3e69bbe817" - integrity sha512-v+p6ongsrp0yTGbJXjgxPow2+DL93DASP4kXCDKb8/bwRtt9OEF3whggkkDkGNzgcWy2XaF4a8nZglC7uElscg== - dependencies: - clone-response "^1.0.2" - get-stream "^5.1.0" - http-cache-semantics "^4.0.0" - keyv "^4.0.0" - lowercase-keys "^2.0.0" - normalize-url "^6.0.1" - responselike "^2.0.0" - -cachedir@^2.3.0: - version "2.4.0" - resolved "https://registry.yarnpkg.com/cachedir/-/cachedir-2.4.0.tgz#7fef9cf7367233d7c88068fe6e34ed0d355a610d" - integrity sha512-9EtFOZR8g22CL7BWjJ9BUx1+A/djkofnyW3aOXZORNW2kxoUpx2h+uN2cOqwPmFhnpVmxg+KW2OjOSgChTEvsQ== - -caching-transform@^4.0.0: - version "4.0.0" - resolved "https://registry.yarnpkg.com/caching-transform/-/caching-transform-4.0.0.tgz#00d297a4206d71e2163c39eaffa8157ac0651f0f" - integrity sha512-kpqOvwXnjjN44D89K5ccQC+RUrsy7jB/XLlRrx0D7/2HNcTPqzsb6XgYoErwko6QsV184CA2YgS1fxDiiDZMWA== - dependencies: - hasha "^5.0.0" - make-dir "^3.0.0" - package-hash "^4.0.0" - write-file-atomic "^3.0.0" - -call-bind@^1.0.2, call-bind@^1.0.5, call-bind@^1.0.6, call-bind@^1.0.7: - version "1.0.7" - resolved "https://registry.yarnpkg.com/call-bind/-/call-bind-1.0.7.tgz#06016599c40c56498c18769d2730be242b6fa3b9" - integrity sha512-GHTSNSYICQ7scH7sZ+M2rFopRoLh8t2bLSW6BbgrtLsahOIB5iyAVJf9GjWK3cYTDaMj4XdBpM1cA6pIS0Kv2w== - dependencies: - es-define-property "^1.0.0" - es-errors "^1.3.0" - function-bind "^1.1.2" - get-intrinsic "^1.2.4" - set-function-length "^1.2.1" - -call-me-maybe@^1.0.1: - version "1.0.2" - resolved "https://registry.yarnpkg.com/call-me-maybe/-/call-me-maybe-1.0.2.tgz#03f964f19522ba643b1b0693acb9152fe2074baa" - integrity sha512-HpX65o1Hnr9HH25ojC1YGs7HCQLq0GCOibSaWER0eNpgJ/Z1MZv2mTc7+xh6WOPxbRVcmgbv4hGU+uSQ/2xFZQ== - -callsite@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/callsite/-/callsite-1.0.0.tgz#280398e5d664bd74038b6f0905153e6e8af1bc20" - integrity sha512-0vdNRFXn5q+dtOqjfFtmtlI9N2eVZ7LMyEV2iKC5mEEFvSg/69Ml6b/WU2qF8W1nLRa0wiSrDT3Y5jOHZCwKPQ== - -callsites@^3.0.0: - version "3.1.0" - resolved "https://registry.yarnpkg.com/callsites/-/callsites-3.1.0.tgz#b3630abd8943432f54b3f0519238e33cd7df2f73" - integrity sha512-P8BjAsXvZS+VIDUI11hHCQEv74YT67YUi5JJFNWIqL235sBmjX4+qx9Muvls5ivyNENctx46xQLQ3aTuE7ssaQ== - -camel-case@^4.1.2: - version "4.1.2" - resolved "https://registry.yarnpkg.com/camel-case/-/camel-case-4.1.2.tgz#9728072a954f805228225a6deea6b38461e1bd5a" - integrity sha512-gxGWBrTT1JuMx6R+o5PTXMmUnhnVzLQ9SNutD4YqKtI6ap897t3tKECYla6gCWEkplXnlNybEkZg9GEGxKFCgw== - dependencies: - pascal-case "^3.1.2" - tslib "^2.0.3" - -camelcase-keys@^6.2.2: - version "6.2.2" - resolved "https://registry.yarnpkg.com/camelcase-keys/-/camelcase-keys-6.2.2.tgz#5e755d6ba51aa223ec7d3d52f25778210f9dc3c0" - integrity sha512-YrwaA0vEKazPBkn0ipTiMpSajYDSe+KjQfrjhcBMxJt/znbvlHd8Pw/Vamaz5EB4Wfhs3SUR3Z9mwRu/P3s3Yg== - dependencies: - camelcase "^5.3.1" - map-obj "^4.0.0" - quick-lru "^4.0.1" - -camelcase@^5.0.0, camelcase@^5.3.1: - version "5.3.1" - resolved "https://registry.yarnpkg.com/camelcase/-/camelcase-5.3.1.tgz#e3c9b31569e106811df242f715725a1f4c494320" - integrity sha512-L28STB170nwWS63UjtlEOE3dldQApaJXZkOI1uMFfzf3rRuPegHaHesyee+YxQ+W6SvRDQV6UrdOdRiR153wJg== - -camelcase@^6.2.0: - version "6.3.0" - resolved "https://registry.yarnpkg.com/camelcase/-/camelcase-6.3.0.tgz#5685b95eb209ac9c0c177467778c9c84df58ba9a" - integrity sha512-Gmy6FhYlCY7uOElZUSbxo2UCDH8owEk996gkbrpsgGtrJLM3J7jGxl9Ic7Qwwj4ivOE5AWZWRMecDdF7hqGjFA== - -camelcase@^7.0.0: - version "7.0.1" - resolved "https://registry.yarnpkg.com/camelcase/-/camelcase-7.0.1.tgz#f02e50af9fd7782bc8b88a3558c32fd3a388f048" - integrity sha512-xlx1yCK2Oc1APsPXDL2LdlNP6+uu8OCDdhOBSVT279M/S+y75O30C2VuD8T2ogdePBBl7PfPF4504tnLgX3zfw== - -caniuse-lite@^1.0.30001663: - version "1.0.30001669" - resolved "https://registry.yarnpkg.com/caniuse-lite/-/caniuse-lite-1.0.30001669.tgz#fda8f1d29a8bfdc42de0c170d7f34a9cf19ed7a3" - integrity sha512-DlWzFDJqstqtIVx1zeSpIMLjunf5SmwOw0N2Ck/QSQdS8PLS4+9HrLaYei4w8BIAL7IB/UEDu889d8vhCTPA0w== - -case-sensitive-paths-webpack-plugin@^2.4.0: - version "2.4.0" - resolved "https://registry.yarnpkg.com/case-sensitive-paths-webpack-plugin/-/case-sensitive-paths-webpack-plugin-2.4.0.tgz#db64066c6422eed2e08cc14b986ca43796dbc6d4" - integrity sha512-roIFONhcxog0JSSWbvVAh3OocukmSgpqOH6YpMkCvav/ySIV3JKg4Dc8vYtQjYi/UxpNE36r/9v+VqTQqgkYmw== - -ccount@^2.0.0: - version "2.0.1" - resolved "https://registry.yarnpkg.com/ccount/-/ccount-2.0.1.tgz#17a3bf82302e0870d6da43a01311a8bc02a3ecf5" - integrity sha512-eyrF0jiFpY+3drT6383f1qhkbGsLSifNAjA61IUjZjmLCWjItY6LB9ft9YhoDgwfmclB2zhu51Lc7+95b8NRAg== - -chai@^5.1.1: - version "5.1.1" - resolved "https://registry.yarnpkg.com/chai/-/chai-5.1.1.tgz#f035d9792a22b481ead1c65908d14bb62ec1c82c" - integrity sha512-pT1ZgP8rPNqUgieVaEY+ryQr6Q4HXNg8Ei9UnLUrjN4IA7dvQC5JB+/kxVcPNDHyBcc/26CXPkbNzq3qwrOEKA== - dependencies: - assertion-error "^2.0.1" - check-error "^2.1.1" - deep-eql "^5.0.1" - loupe "^3.1.0" - pathval "^2.0.0" - -chalk-template@0.4.0: - version "0.4.0" - resolved "https://registry.yarnpkg.com/chalk-template/-/chalk-template-0.4.0.tgz#692c034d0ed62436b9062c1707fadcd0f753204b" - integrity sha512-/ghrgmhfY8RaSdeo43hNXxpoHAtxdbskUHjPpfqUWGttFgycUhYPGx3YZBCnUCvOa7Doivn1IZec3DEGFoMgLg== - dependencies: - chalk "^4.1.2" - -chalk@4.1.0: - version "4.1.0" - resolved "https://registry.yarnpkg.com/chalk/-/chalk-4.1.0.tgz#4e14870a618d9e2edd97dd8345fd9d9dc315646a" - integrity sha512-qwx12AxXe2Q5xQ43Ac//I6v5aXTipYrSESdOgzrN+9XjgEpyjpKuvSGaN4qE93f7TQTlerQQ8S+EQ0EyDoVL1A== - dependencies: - ansi-styles "^4.1.0" - supports-color "^7.1.0" - -chalk@4.1.2, chalk@^4.0.0, chalk@^4.0.2, chalk@^4.1.0, chalk@^4.1.1, chalk@^4.1.2: - version "4.1.2" - resolved "https://registry.yarnpkg.com/chalk/-/chalk-4.1.2.tgz#aac4e2b7734a740867aeb16bf02aad556a1e7a01" - integrity sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA== - dependencies: - ansi-styles "^4.1.0" - supports-color "^7.1.0" - -chalk@5.0.1: - version "5.0.1" - resolved "https://registry.yarnpkg.com/chalk/-/chalk-5.0.1.tgz#ca57d71e82bb534a296df63bbacc4a1c22b2a4b6" - integrity sha512-Fo07WOYGqMfCWHOzSXOt2CxDbC6skS/jO9ynEcmpANMoPrD+W1r1K6Vx7iNm+AQmETU1Xr2t+n8nzkV9t6xh3w== - -chalk@^0.5.1: - version "0.5.1" - resolved "https://registry.yarnpkg.com/chalk/-/chalk-0.5.1.tgz#663b3a648b68b55d04690d49167aa837858f2174" - integrity sha512-bIKA54hP8iZhyDT81TOsJiQvR1gW+ZYSXFaZUAvoD4wCHdbHY2actmpTE4x344ZlFqHbvoxKOaESULTZN2gstg== - dependencies: - ansi-styles "^1.1.0" - escape-string-regexp "^1.0.0" - has-ansi "^0.1.0" - strip-ansi "^0.3.0" - supports-color "^0.2.0" - -chalk@^1.0.0, chalk@^1.1.3: - version "1.1.3" - resolved "https://registry.yarnpkg.com/chalk/-/chalk-1.1.3.tgz#a8115c55e4a702fe4d150abd3872822a7e09fc98" - integrity sha512-U3lRVLMSlsCfjqYPbLyVv11M9CPW4I728d6TCKMAOJueEeB9/8o+eSsMnxPJD+Q+K909sdESg7C+tIkoH6on1A== - dependencies: - ansi-styles "^2.2.1" - escape-string-regexp "^1.0.2" - has-ansi "^2.0.0" - strip-ansi "^3.0.0" - supports-color "^2.0.0" - -chalk@^2.4.1, chalk@^2.4.2: - version "2.4.2" - resolved "https://registry.yarnpkg.com/chalk/-/chalk-2.4.2.tgz#cd42541677a54333cf541a49108c1432b44c9424" - integrity sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ== - dependencies: - ansi-styles "^3.2.1" - escape-string-regexp "^1.0.5" - supports-color "^5.3.0" - -chalk@^3.0.0: - version "3.0.0" - resolved "https://registry.yarnpkg.com/chalk/-/chalk-3.0.0.tgz#3f73c2bf526591f574cc492c51e2456349f844e4" - integrity sha512-4D3B6Wf41KOYRFdszmDqMCGq5VV/uMAB273JILmO+3jAlh8X4qDtdtgCR3fxtbLEMzSx22QdhnDcJvu2u1fVwg== - dependencies: - ansi-styles "^4.1.0" - supports-color "^7.1.0" - -chalk@^5.0.0, chalk@^5.0.1, chalk@^5.2.0: - version "5.3.0" - resolved "https://registry.yarnpkg.com/chalk/-/chalk-5.3.0.tgz#67c20a7ebef70e7f3970a01f90fa210cb6860385" - integrity sha512-dLitG79d+GV1Nb/VYcCDFivJeK1hiukt9QjRNVOsUtTy1rR1YJsmpGGTZ3qJos+uw7WmWF4wUwBd9jxjocFC2w== - -char-regex@^1.0.2: - version "1.0.2" - resolved "https://registry.yarnpkg.com/char-regex/-/char-regex-1.0.2.tgz#d744358226217f981ed58f479b1d6bcc29545dcf" - integrity sha512-kWWXztvZ5SBQV+eRgKFeh8q5sLuZY2+8WUIzlxWVTg+oGwY14qylx1KbKzHd8P6ZYkAg0xyIDU9JMHhyJMZ1jw== - -char-regex@^2.0.0: - version "2.0.1" - resolved "https://registry.yarnpkg.com/char-regex/-/char-regex-2.0.1.tgz#6dafdb25f9d3349914079f010ba8d0e6ff9cd01e" - integrity sha512-oSvEeo6ZUD7NepqAat3RqoucZ5SeqLJgOvVIwkafu6IP3V0pO38s/ypdVUmDDK6qIIHNlYHJAKX9E7R7HoKElw== - -character-entities-html4@^2.0.0: - version "2.1.0" - resolved "https://registry.yarnpkg.com/character-entities-html4/-/character-entities-html4-2.1.0.tgz#1f1adb940c971a4b22ba39ddca6b618dc6e56b2b" - integrity sha512-1v7fgQRj6hnSwFpq1Eu0ynr/CDEw0rXo2B61qXrLNdHZmPKgb7fqS1a2JwF0rISo9q77jDI8VMEHoApn8qDoZA== - -character-entities-legacy@^1.0.0: - version "1.1.4" - resolved "https://registry.yarnpkg.com/character-entities-legacy/-/character-entities-legacy-1.1.4.tgz#94bc1845dce70a5bb9d2ecc748725661293d8fc1" - integrity sha512-3Xnr+7ZFS1uxeiUDvV02wQ+QDbc55o97tIV5zHScSPJpcLm/r0DFPcoY3tYRp+VZukxuMeKgXYmsXQHO05zQeA== - -character-entities-legacy@^3.0.0: - version "3.0.0" - resolved "https://registry.yarnpkg.com/character-entities-legacy/-/character-entities-legacy-3.0.0.tgz#76bc83a90738901d7bc223a9e93759fdd560125b" - integrity sha512-RpPp0asT/6ufRm//AJVwpViZbGM/MkjQFxJccQRHmISF/22NBtsHqAWmL+/pmkPWoIUJdWyeVleTl1wydHATVQ== - -character-entities@^1.0.0: - version "1.2.4" - resolved "https://registry.yarnpkg.com/character-entities/-/character-entities-1.2.4.tgz#e12c3939b7eaf4e5b15e7ad4c5e28e1d48c5b16b" - integrity sha512-iBMyeEHxfVnIakwOuDXpVkc54HijNgCyQB2w0VfGQThle6NXn50zU6V/u+LDhxHcDUPojn6Kpga3PTAD8W1bQw== - -character-entities@^2.0.0: - version "2.0.2" - resolved "https://registry.yarnpkg.com/character-entities/-/character-entities-2.0.2.tgz#2d09c2e72cd9523076ccb21157dff66ad43fcc22" - integrity sha512-shx7oQ0Awen/BRIdkjkvz54PnEEI/EjwXDSIZp86/KKdbafHh1Df/RYGBhn4hbe2+uKC9FnT5UCEdyPz3ai9hQ== - -character-reference-invalid@^1.0.0: - version "1.1.4" - resolved "https://registry.yarnpkg.com/character-reference-invalid/-/character-reference-invalid-1.1.4.tgz#083329cda0eae272ab3dbbf37e9a382c13af1560" - integrity sha512-mKKUkUbhPpQlCOfIuZkvSEgktjPFIsZKRRbC6KWVEMvlzblj3i3asQv5ODsrwt0N3pHAEvjP8KTQPHkp0+6jOg== - -character-reference-invalid@^2.0.0: - version "2.0.1" - resolved "https://registry.yarnpkg.com/character-reference-invalid/-/character-reference-invalid-2.0.1.tgz#85c66b041e43b47210faf401278abf808ac45cb9" - integrity sha512-iBZ4F4wRbyORVsu0jPV7gXkOsGYjGHPmAyv+HiHG8gi5PtC9KI2j1+v8/tlibRvjoWX027ypmG/n0HtO5t7unw== - -chardet@^0.7.0: - version "0.7.0" - resolved "https://registry.yarnpkg.com/chardet/-/chardet-0.7.0.tgz#90094849f0937f2eedc2425d0d28a9e5f0cbad9e" - integrity sha512-mT8iDcrh03qDGRRmoA2hmBJnxpllMR+0/0qlzjqZES6NdiWDcZkCNAk4rPFZ9Q85r27unkiNNg8ZOiwZXBHwcA== - -check-error@^2.1.1: - version "2.1.1" - resolved "https://registry.yarnpkg.com/check-error/-/check-error-2.1.1.tgz#87eb876ae71ee388fa0471fe423f494be1d96ccc" - integrity sha512-OAlb+T7V4Op9OwdkjmguYRqncdlx5JiofwOAUkmTF+jNdHwzTaTs4sRAGpzLF3oOz5xAyDGrPgeIDFQmDOTiJw== - -chokidar@^3.0.2, chokidar@^3.5.3: - version "3.6.0" - resolved "https://registry.yarnpkg.com/chokidar/-/chokidar-3.6.0.tgz#197c6cc669ef2a8dc5e7b4d97ee4e092c3eb0d5b" - integrity sha512-7VT13fmjotKpGipCW9JEQAusEPE+Ei8nl6/g4FBAmIm0GOOLMua9NDDo/DWp0ZAxCr3cPq5ZpBqmPAQgDda2Pw== - dependencies: - anymatch "~3.1.2" - braces "~3.0.2" - glob-parent "~5.1.2" - is-binary-path "~2.1.0" - is-glob "~4.0.1" - normalize-path "~3.0.0" - readdirp "~3.6.0" - optionalDependencies: - fsevents "~2.3.2" - -chownr@^1.1.4: - version "1.1.4" - resolved "https://registry.yarnpkg.com/chownr/-/chownr-1.1.4.tgz#6fc9d7b42d32a583596337666e7d08084da2cc6b" - integrity sha512-jJ0bqzaylmJtVnNgzTeSOs8DPavpbYgEr/b0YL8/2GO3xJEhInFmhKMUnEJQjZumK7KXGFhUy89PrsJWlakBVg== - -chownr@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/chownr/-/chownr-2.0.0.tgz#15bfbe53d2eab4cf70f18a8cd68ebe5b3cb1dece" - integrity sha512-bIomtDF5KGpdogkLd9VspvFzk9KfpyyGlS8YFVZl7TGPBHL5snIOnxeshwVgPteQ9b4Eydl+pVbIyE1DcvCWgQ== - -chromatic@6.3.4: - version "6.3.4" - resolved "https://registry.yarnpkg.com/chromatic/-/chromatic-6.3.4.tgz#30cd30a780b8abd2d00965a04cce205b504103a9" - integrity sha512-L3Pkz+fhl4v4dlmE2Nd6HdosoPHZ8iASKjcu3NW8sPBu9CVwq/EBOzaGrq8zEaF5sLjCOndJjaUFgHHlE1b8xQ== - -chromatic@^11.4.0: - version "11.12.6" - resolved "https://registry.yarnpkg.com/chromatic/-/chromatic-11.12.6.tgz#b2feb6d791eea3264f918b0ca0d5602f92c3fd13" - integrity sha512-lt6ekbx3LFLCwGheQrBZAkP2EhrXLPpESk7t45PrsV1DSpu0KOH2ZMN/G9QiF84ZGwj9RPC8BwWbnb2/kd66uA== - -chrome-trace-event@^1.0.2: - version "1.0.4" - resolved "https://registry.yarnpkg.com/chrome-trace-event/-/chrome-trace-event-1.0.4.tgz#05bffd7ff928465093314708c93bdfa9bd1f0f5b" - integrity sha512-rNjApaLzuwaOTjCiT8lSDdGN1APCiqkChLMJxJPWLunPAt5fy8xgU9/jNOchV84wfIxrA0lRQB7oCT8jrn/wrQ== - -ci-info@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/ci-info/-/ci-info-2.0.0.tgz#67a9e964be31a51e15e5010d58e6f12834002f46" - integrity sha512-5tK7EtrZ0N+OLFMthtqOj4fI2Jeb88C4CAZPu25LDVUgXJ0A3Js4PMGqrn0JU1W0Mh1/Z8wZzYPxqUrXeBboCQ== - -ci-info@^3.0.0, ci-info@^3.2.0, ci-info@^3.7.0: - version "3.9.0" - resolved "https://registry.yarnpkg.com/ci-info/-/ci-info-3.9.0.tgz#4279a62028a7b1f262f3473fc9605f5e218c59b4" - integrity sha512-NIxF55hv4nSqQswkAeiOi1r83xy8JldOFDTWiug55KBu9Jnblncd2U6ViHmYgHf01TPZS77NJBhBMKdWj9HQMQ== - -ci-info@^4.0.0: - version "4.0.0" - resolved "https://registry.yarnpkg.com/ci-info/-/ci-info-4.0.0.tgz#65466f8b280fc019b9f50a5388115d17a63a44f2" - integrity sha512-TdHqgGf9odd8SXNuxtUBVx8Nv+qZOejE6qyqiy5NtbYYQOeFa6zmHkxlPzmaLxWWHsU6nJmB7AETdVPi+2NBUg== - -cjs-module-lexer@^1.0.0, cjs-module-lexer@^1.2.3: - version "1.4.1" - resolved "https://registry.yarnpkg.com/cjs-module-lexer/-/cjs-module-lexer-1.4.1.tgz#707413784dbb3a72aa11c2f2b042a0bef4004170" - integrity sha512-cuSVIHi9/9E/+821Qjdvngor+xpnlwnuwIyZOaLmHBVdXL+gP+I6QQB9VkO7RI77YIcTV+S1W9AreJ5eN63JBA== - -class-utils@^0.3.5: - version "0.3.6" - resolved "https://registry.yarnpkg.com/class-utils/-/class-utils-0.3.6.tgz#f93369ae8b9a7ce02fd41faad0ca83033190c463" - integrity sha512-qOhPa/Fj7s6TY8H8esGu5QNpMMQxz79h+urzrNYN6mn+9BnxlDGf5QZ+XeCDsxSjPqsSR56XOZOJmpeurnLMeg== - dependencies: - arr-union "^3.1.0" - define-property "^0.2.5" - isobject "^3.0.0" - static-extend "^0.1.1" - -clean-css@^5.2.2: - version "5.3.3" - resolved "https://registry.yarnpkg.com/clean-css/-/clean-css-5.3.3.tgz#b330653cd3bd6b75009cc25c714cae7b93351ccd" - integrity sha512-D5J+kHaVb/wKSFcyyV75uCn8fiY4sV38XJoe4CUyGQ+mOU/fMVYUdH1hJC+CJQ5uY3EnW27SbJYS4X8BiLrAFg== - dependencies: - source-map "~0.6.0" - -clean-deep@^3.0.2: - version "3.4.0" - resolved "https://registry.yarnpkg.com/clean-deep/-/clean-deep-3.4.0.tgz#c465c4de1003ae13a1a859e6c69366ab96069f75" - integrity sha512-Lo78NV5ItJL/jl+B5w0BycAisaieJGXK1qYi/9m4SjR8zbqmrUtO7Yhro40wEShGmmxs/aJLI/A+jNhdkXK8mw== - dependencies: - lodash.isempty "^4.4.0" - lodash.isplainobject "^4.0.6" - lodash.transform "^4.6.0" - -clean-stack@^2.0.0: - version "2.2.0" - resolved "https://registry.yarnpkg.com/clean-stack/-/clean-stack-2.2.0.tgz#ee8472dbb129e727b31e8a10a427dee9dfe4008b" - integrity sha512-4diC9HaTE+KRAMWhDhrGOECgWZxoevMc5TlkObMqNSsVU62PYzXZ/SMTjzyGAFF1YusgxGcSWTEXBhp0CPwQ1A== - -clean-stack@^4.0.0: - version "4.2.0" - resolved "https://registry.yarnpkg.com/clean-stack/-/clean-stack-4.2.0.tgz#c464e4cde4ac789f4e0735c5d75beb49d7b30b31" - integrity sha512-LYv6XPxoyODi36Dp976riBtSY27VmFo+MKqEU9QCCWyTrdEPDog+RWA7xQWHi6Vbp61j5c4cdzzX1NidnwtUWg== - dependencies: - escape-string-regexp "5.0.0" - -cli-boxes@^2.2.1: - version "2.2.1" - resolved "https://registry.yarnpkg.com/cli-boxes/-/cli-boxes-2.2.1.tgz#ddd5035d25094fce220e9cab40a45840a440318f" - integrity sha512-y4coMcylgSCdVinjiDBuR8PCC2bLjyGTwEmPb9NHR/QaNU6EUOXcTY/s6VjGMD6ENSEaeQYHCY0GNGS5jfMwPw== - -cli-boxes@^3.0.0: - version "3.0.0" - resolved "https://registry.yarnpkg.com/cli-boxes/-/cli-boxes-3.0.0.tgz#71a10c716feeba005e4504f36329ef0b17cf3145" - integrity sha512-/lzGpEWL/8PfI0BmBOPRwp0c/wFNX1RdUML3jK/RcSBA9T8mZDdQpqYBKtCFTOfQbwPqWEOpjqW+Fnayc0969g== - -cli-cursor@3.1.0, cli-cursor@^3.1.0: - version "3.1.0" - resolved "https://registry.yarnpkg.com/cli-cursor/-/cli-cursor-3.1.0.tgz#264305a7ae490d1d03bf0c9ba7c925d1753af307" - integrity sha512-I/zHAwsKf9FqGoXM4WWRACob9+SNukZTd94DWF57E4toouRulbCxcUh6RKUEOQlYTHJnzkPMySvPNaaSLNfLZw== - dependencies: - restore-cursor "^3.1.0" - -cli-cursor@^2.0.0, cli-cursor@^2.1.0: - version "2.1.0" - resolved "https://registry.yarnpkg.com/cli-cursor/-/cli-cursor-2.1.0.tgz#b35dac376479facc3e94747d41d0d0f5238ffcb5" - integrity sha512-8lgKz8LmCRYZZQDpRyT2m5rKJ08TnU4tR9FFFW2rxpxR1FzWi4PQ/NfyODchAatHaUgnSPVcx/R5w6NuTBzFiw== - dependencies: - restore-cursor "^2.0.0" - -cli-cursor@^4.0.0: - version "4.0.0" - resolved "https://registry.yarnpkg.com/cli-cursor/-/cli-cursor-4.0.0.tgz#3cecfe3734bf4fe02a8361cbdc0f6fe28c6a57ea" - integrity sha512-VGtlMu3x/4DOtIUwEkRezxUZ2lBacNJCHash0N0WeZDBS+7Ux1dm3XWAgWYxLJFMMdOeXMHXorshEFhbMSGelg== - dependencies: - restore-cursor "^4.0.0" - -cli-progress@^3.7.0: - version "3.12.0" - resolved "https://registry.yarnpkg.com/cli-progress/-/cli-progress-3.12.0.tgz#807ee14b66bcc086258e444ad0f19e7d42577942" - integrity sha512-tRkV3HJ1ASwm19THiiLIXLO7Im7wlTuKnvkYaTkyoAPefqjNg7W7DHKUlGRxy9vxDvbyCYQkQozvptuMkGCg8A== - dependencies: - string-width "^4.2.3" - -cli-spinners@2.6.1: - version "2.6.1" - resolved "https://registry.yarnpkg.com/cli-spinners/-/cli-spinners-2.6.1.tgz#adc954ebe281c37a6319bfa401e6dd2488ffb70d" - integrity sha512-x/5fWmGMnbKQAaNwN+UZlV79qBLM9JFnJuJ03gIi5whrob0xV0ofNVHy9DhwGdsMJQc2OKv0oGmLzvaqvAVv+g== - -cli-spinners@^2.5.0: - version "2.9.2" - resolved "https://registry.yarnpkg.com/cli-spinners/-/cli-spinners-2.9.2.tgz#1773a8f4b9c4d6ac31563df53b3fc1d79462fe41" - integrity sha512-ywqV+5MmyL4E7ybXgKys4DugZbX0FC6LnwrhjuykIjnK9k8OQacQ7axGKnjDXWNhns0xot3bZI5h55H8yo9cJg== - -cli-truncate@^0.2.1: - version "0.2.1" - resolved "https://registry.yarnpkg.com/cli-truncate/-/cli-truncate-0.2.1.tgz#9f15cfbb0705005369216c626ac7d05ab90dd574" - integrity sha512-f4r4yJnbT++qUPI9NR4XLDLq41gQ+uqnPItWG0F5ZkehuNiTTa3EY0S4AqTSUOeJ7/zU41oWPQSNkW5BqPL9bg== - dependencies: - slice-ansi "0.0.4" - string-width "^1.0.1" - -cli-width@^2.0.0: - version "2.2.1" - resolved "https://registry.yarnpkg.com/cli-width/-/cli-width-2.2.1.tgz#b0433d0b4e9c847ef18868a4ef16fd5fc8271c48" - integrity sha512-GRMWDxpOB6Dgk2E5Uo+3eEBvtOOlimMmpbFiKuLFnQzYDavtLFY3K5ona41jgN/WdRZtG7utuVSVTL4HbZHGkw== - -cli-width@^3.0.0: - version "3.0.0" - resolved "https://registry.yarnpkg.com/cli-width/-/cli-width-3.0.0.tgz#a2f48437a2caa9a22436e794bf071ec9e61cedf6" - integrity sha512-FxqpkPPwu1HjuN93Omfm4h8uIanXofW0RxVEW3k5RKx+mJJYSthzNhp32Kzxxy3YAEZ/Dc/EWN1vZRY0+kOhbw== - -client-only@^0.0.1: - version "0.0.1" - resolved "https://registry.yarnpkg.com/client-only/-/client-only-0.0.1.tgz#38bba5d403c41ab150bff64a95c85013cf73bca1" - integrity sha512-IV3Ou0jSMzZrd3pZ48nLkT9DA7Ag1pnPzaiQhpW7c3RbcqqzvzzVu+L8gfqMp/8IM2MQtSiqaCxrrcfu8I8rMA== - -clipboardy@3.0.0: - version "3.0.0" - resolved "https://registry.yarnpkg.com/clipboardy/-/clipboardy-3.0.0.tgz#f3876247404d334c9ed01b6f269c11d09a5e3092" - integrity sha512-Su+uU5sr1jkUy1sGRpLKjKrvEOVXgSgiSInwa/qeID6aJ07yh+5NWc3h2QfjHjBnfX4LhtFcuAWKUsJ3r+fjbg== - dependencies: - arch "^2.2.0" - execa "^5.1.1" - is-wsl "^2.2.0" - -cliui@^6.0.0: - version "6.0.0" - resolved "https://registry.yarnpkg.com/cliui/-/cliui-6.0.0.tgz#511d702c0c4e41ca156d7d0e96021f23e13225b1" - integrity sha512-t6wbgtoCXvAzst7QgXxJYqPt0usEfbgQdftEPbLL/cvv6HPE5VgvqCuAIDR0NgU52ds6rFwqrgakNLrHEjCbrQ== - dependencies: - string-width "^4.2.0" - strip-ansi "^6.0.0" - wrap-ansi "^6.2.0" - -cliui@^7.0.2: - version "7.0.4" - resolved "https://registry.yarnpkg.com/cliui/-/cliui-7.0.4.tgz#a0265ee655476fc807aea9df3df8df7783808b4f" - integrity sha512-OcRE68cOsVMXp1Yvonl/fzkQOyjLSu/8bhPDfQt0e0/Eb283TKP20Fs2MqoPsr9SwA595rRCA+QMzYc9nBP+JQ== - dependencies: - string-width "^4.2.0" - strip-ansi "^6.0.0" - wrap-ansi "^7.0.0" - -cliui@^8.0.1: - version "8.0.1" - resolved "https://registry.yarnpkg.com/cliui/-/cliui-8.0.1.tgz#0c04b075db02cbfe60dc8e6cf2f5486b1a3608aa" - integrity sha512-BSeNnyus75C4//NQ9gQt1/csTXyo/8Sb+afLAkzAptFuMsod9HFokGNudZpi/oQV73hnVK+sR+5PVRMd+Dr7YQ== - dependencies: - string-width "^4.2.0" - strip-ansi "^6.0.1" - wrap-ansi "^7.0.0" - -clone-deep@4.0.1: - version "4.0.1" - resolved "https://registry.yarnpkg.com/clone-deep/-/clone-deep-4.0.1.tgz#c19fd9bdbbf85942b4fd979c84dcf7d5f07c2387" - integrity sha512-neHB9xuzh/wk0dIHweyAXv2aPGZIVk3pLMe+/RNzINf17fe0OG96QroktYAUm7SM1PBnzTabaLboqqxDyMU+SQ== - dependencies: - is-plain-object "^2.0.4" - kind-of "^6.0.2" - shallow-clone "^3.0.0" - -clone-response@1.0.2: - version "1.0.2" - resolved "https://registry.yarnpkg.com/clone-response/-/clone-response-1.0.2.tgz#d1dc973920314df67fbeb94223b4ee350239e96b" - integrity sha512-yjLXh88P599UOyPTFX0POsd7WxnbsVsGohcwzHOLspIhhpalPw1BcqED8NblyZLKcGrL8dTgMlcaZxV2jAD41Q== - dependencies: - mimic-response "^1.0.0" - -clone-response@^1.0.2: - version "1.0.3" - resolved "https://registry.yarnpkg.com/clone-response/-/clone-response-1.0.3.tgz#af2032aa47816399cf5f0a1d0db902f517abb8c3" - integrity sha512-ROoL94jJH2dUVML2Y/5PEDNaSHgeOdSDicUyS7izcF63G6sTc/FTjLub4b8Il9S8S0beOfYt0TaA5qvFK+w0wA== - dependencies: - mimic-response "^1.0.0" - -clone@^1.0.2: - version "1.0.4" - resolved "https://registry.yarnpkg.com/clone/-/clone-1.0.4.tgz#da309cc263df15994c688ca902179ca3c7cd7c7e" - integrity sha512-JQHZ2QMW6l3aH/j6xCqQThY/9OH4D/9ls34cgkUBiEeocRTU04tHfKPBsUK1PqZCUQM7GiA0IIXJSuXHI64Kbg== - -clsx@^2.0.0, clsx@^2.1.1: - version "2.1.1" - resolved "https://registry.yarnpkg.com/clsx/-/clsx-2.1.1.tgz#eed397c9fd8bd882bfb18deab7102049a2f32999" - integrity sha512-eYm0QWBtUrBWZWG0d386OGAw16Z995PiOVo2B7bjWSbHedGl5e0ZWaq65kOGgUSNesEIDkB9ISbTg/JK9dhCZA== - -cmd-shim@5.0.0, cmd-shim@^5.0.0: - version "5.0.0" - resolved "https://registry.yarnpkg.com/cmd-shim/-/cmd-shim-5.0.0.tgz#8d0aaa1a6b0708630694c4dbde070ed94c707724" - integrity sha512-qkCtZ59BidfEwHltnJwkyVZn+XQojdAySM1D1gSeh11Z4pW1Kpolkyo53L5noc0nrxmIvyFwTmJRo4xs7FFLPw== - dependencies: - mkdirp-infer-owner "^2.0.0" - -co@^4.6.0: - version "4.6.0" - resolved "https://registry.yarnpkg.com/co/-/co-4.6.0.tgz#6ea6bdf3d853ae54ccb8e47bfa0bf3f9031fb184" - integrity sha512-QVb0dM5HvG+uaxitm8wONl7jltx8dqhfU33DcqtOZcLSVIKSDDLDi7+0LbAKiyI8hD9u42m2YxXSkMGWThaecQ== - -code-point-at@^1.0.0: - version "1.1.0" - resolved "https://registry.yarnpkg.com/code-point-at/-/code-point-at-1.1.0.tgz#0d070b4d043a5bea33a2f1a40e2edb3d9a4ccf77" - integrity sha512-RpAVKQA5T63xEj6/giIbUEtZwJ4UFIc3ZtvEkiaUERylqe8xb5IvqcgOurZLahv93CLKfxcw5YI+DZcUBRyLXA== - -collect-v8-coverage@^1.0.0: - version "1.0.2" - resolved "https://registry.yarnpkg.com/collect-v8-coverage/-/collect-v8-coverage-1.0.2.tgz#c0b29bcd33bcd0779a1344c2136051e6afd3d9e9" - integrity sha512-lHl4d5/ONEbLlJvaJNtsF/Lz+WvB07u2ycqTYbdrq7UypDXailES4valYb2eWiJFxZlVmpGekfqoxQhzyFdT4Q== - -collection-visit@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/collection-visit/-/collection-visit-1.0.0.tgz#4bc0373c164bc3291b4d368c829cf1a80a59dca0" - integrity sha512-lNkKvzEeMBBjUGHZ+q6z9pSJla0KWAQPvtzhEV9+iGyQYG+pBpl7xKDhxoNSOZH2hhv0v5k0y2yAM4o4SjoSkw== - dependencies: - map-visit "^1.0.0" - object-visit "^1.0.0" - -color-convert@^1.9.0, color-convert@^1.9.3: - version "1.9.3" - resolved "https://registry.yarnpkg.com/color-convert/-/color-convert-1.9.3.tgz#bb71850690e1f136567de629d2d5471deda4c1e8" - integrity sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg== - dependencies: - color-name "1.1.3" - -color-convert@^2.0.1: - version "2.0.1" - resolved "https://registry.yarnpkg.com/color-convert/-/color-convert-2.0.1.tgz#72d3a68d598c9bdb3af2ad1e84f21d896abd4de3" - integrity sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ== - dependencies: - color-name "~1.1.4" - -color-name@1.1.3: - version "1.1.3" - resolved "https://registry.yarnpkg.com/color-name/-/color-name-1.1.3.tgz#a7d0558bd89c42f795dd42328f740831ca53bc25" - integrity sha512-72fSenhMw2HZMTVHeCA9KCmpEIbzWiQsjN+BHcBbS9vr1mtt+vJjPdksIBNUmKAW8TFUDPJK5SUU3QhE9NEXDw== - -color-name@^1.0.0, color-name@^1.1.4, color-name@~1.1.4: - version "1.1.4" - resolved "https://registry.yarnpkg.com/color-name/-/color-name-1.1.4.tgz#c2a09a87acbde69543de6f63fa3995c826c536a2" - integrity sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA== - -color-string@^1.6.0: - version "1.9.1" - resolved "https://registry.yarnpkg.com/color-string/-/color-string-1.9.1.tgz#4467f9146f036f855b764dfb5bf8582bf342c7a4" - integrity sha512-shrVawQFojnZv6xM40anx4CkoDP+fZsw/ZerEMsW/pyzsRbElpsL/DBVW7q3ExxwusdNXI3lXpuhEZkzs8p5Eg== - dependencies: - color-name "^1.0.0" - simple-swizzle "^0.2.2" - -color-support@^1.1.2, color-support@^1.1.3: - version "1.1.3" - resolved "https://registry.yarnpkg.com/color-support/-/color-support-1.1.3.tgz#93834379a1cc9a0c61f82f52f0d04322251bd5a2" - integrity sha512-qiBjkpbMLO/HL68y+lh4q0/O1MZFj2RX6X/KmMa3+gJD3z+WwI1ZzDHysvqHGS3mP6mznPckpXmw1nI9cJjyRg== - -color@^3.1.3: - version "3.2.1" - resolved "https://registry.yarnpkg.com/color/-/color-3.2.1.tgz#3544dc198caf4490c3ecc9a790b54fe9ff45e164" - integrity sha512-aBl7dZI9ENN6fUGC7mWpMTPNHmWUSNan9tuWN6ahh5ZLNk9baLJOnSMlrQkHcrfFgz2/RigjUVAjdx36VcemKA== - dependencies: - color-convert "^1.9.3" - color-string "^1.6.0" - -colord@^2.9.3: - version "2.9.3" - resolved "https://registry.yarnpkg.com/colord/-/colord-2.9.3.tgz#4f8ce919de456f1d5c1c368c307fe20f3e59fb43" - integrity sha512-jeC1axXpnb0/2nn/Y1LPuLdgXBLH7aDcHu4KEKfqw3CUhX7ZpfBSlPKyqXE6btIgEzfWtrX3/tyBCaCvXvMkOw== - -colorette@^2.0.10: - version "2.0.20" - resolved "https://registry.yarnpkg.com/colorette/-/colorette-2.0.20.tgz#9eb793e6833067f7235902fcd3b09917a000a95a" - integrity sha512-IfEDxwoWIjkeXL1eXcDiow4UbKjhLdq6/EuSVR9GMN7KVH3r9gQ83e73hsz1Nd1T3ijd5xv1wcWRYO+D6kCI2w== - -colors-option@^3.0.0: - version "3.0.0" - resolved "https://registry.yarnpkg.com/colors-option/-/colors-option-3.0.0.tgz#51f5d0d2b511a01859cdd70eaa9ed43ca4abf108" - integrity sha512-DP3FpjsiDDvnQC1OJBsdOJZPuy7r0o6sepY2T5M3L/d2nrE23O/ErFkEqyY3ngVL1ZhTj/H0pCMNObZGkEOaaQ== - dependencies: - chalk "^5.0.0" - filter-obj "^3.0.0" - is-plain-obj "^4.0.0" - jest-validate "^27.3.1" - -colors@1.4.0: - version "1.4.0" - resolved "https://registry.yarnpkg.com/colors/-/colors-1.4.0.tgz#c50491479d4c1bdaed2c9ced32cf7c7dc2360f78" - integrity sha512-a+UqTh4kgZg/SlGvfbzDHpgRu7AAQOmmqRHJnxhRZICKFUT91brVhNNt58CMWU9PsBbv3PDCZUHbVxuDiH2mtA== - -colorspace@1.1.x: - version "1.1.4" - resolved "https://registry.yarnpkg.com/colorspace/-/colorspace-1.1.4.tgz#8d442d1186152f60453bf8070cd66eb364e59243" - integrity sha512-BgvKJiuVu1igBUF2kEjRCZXol6wiiGbY5ipL/oVPwm0BL9sIpMIzM8IK7vwuxIIzOXMV3Ey5w+vxhm0rR/TN8w== - dependencies: - color "^3.1.3" - text-hex "1.0.x" - -columnify@1.6.0: - version "1.6.0" - resolved "https://registry.yarnpkg.com/columnify/-/columnify-1.6.0.tgz#6989531713c9008bb29735e61e37acf5bd553cf3" - integrity sha512-lomjuFZKfM6MSAnV9aCZC9sc0qGbmZdfygNv+nCpqVkSKdCxCklLtd16O0EILGkImHw9ZpHkAnHaB+8Zxq5W6Q== - dependencies: - strip-ansi "^6.0.1" - wcwidth "^1.0.0" - -combined-stream@^1.0.6, combined-stream@^1.0.8: - version "1.0.8" - resolved "https://registry.yarnpkg.com/combined-stream/-/combined-stream-1.0.8.tgz#c3d45a8b34fd730631a110a8a2520682b31d5a7f" - integrity sha512-FQN4MRfuJeHf7cBbBMJFXhKSDq+2kAArBlmRBvcvFE5BB1HZKXtSFASDhdlz9zOYwxh8lDdnvmMOe/+5cdoEdg== - dependencies: - delayed-stream "~1.0.0" - -commander@^10.0.1: - version "10.0.1" - resolved "https://registry.yarnpkg.com/commander/-/commander-10.0.1.tgz#881ee46b4f77d1c1dccc5823433aa39b022cbe06" - integrity sha512-y4Mg2tXshplEbSGzx7amzPwKKOCGuoSRP/CjEdwwk0FOGlUbq6lKuoyDZTNZkmxHdJtp54hdfY/JUrdL7Xfdug== - -commander@^2.20.0, commander@^2.20.3, commander@^2.3.0, commander@^2.8.1: - version "2.20.3" - resolved "https://registry.yarnpkg.com/commander/-/commander-2.20.3.tgz#fd485e84c03eb4881c20722ba48035e8531aeb33" - integrity sha512-GpVkmM8vF2vQUkj2LvZmD35JxeJOLCwJ9cUkugyk2nuhbv3+mJvpLYYt+0+USMxE+oj+ey/lJEnhZw75x/OMcQ== - -commander@^3.0.2: - version "3.0.2" - resolved "https://registry.yarnpkg.com/commander/-/commander-3.0.2.tgz#6837c3fb677ad9933d1cfba42dd14d5117d6b39e" - integrity sha512-Gar0ASD4BDyKC4hl4DwHqDrmvjoxWKZigVnAbn5H1owvm4CxCPdb0HQDehwNYMJpla5+M2tPmPARzhtYuwpHow== - -commander@^5.1.0: - version "5.1.0" - resolved "https://registry.yarnpkg.com/commander/-/commander-5.1.0.tgz#46abbd1652f8e059bddaef99bbdcb2ad9cf179ae" - integrity sha512-P0CysNDQ7rtVw4QIQtm+MRxV66vKFSvlsQvGYXZWR3qFU0jlMKHZZZgw8e+8DSah4UDKMqnknRDQz+xuQXQ/Zg== - -commander@^7.2.0: - version "7.2.0" - resolved "https://registry.yarnpkg.com/commander/-/commander-7.2.0.tgz#a36cb57d0b501ce108e4d20559a150a391d97ab7" - integrity sha512-QrWXB+ZQSVPmIWIhtEO9H+gwHaMGYiF5ChvoJ+K9ZGHG/sVsa6yiesAD1GC/x46sET00Xlwo1u49RVVVzvcSkw== - -commander@^8.3.0: - version "8.3.0" - resolved "https://registry.yarnpkg.com/commander/-/commander-8.3.0.tgz#4837ea1b2da67b9c616a67afbb0fafee567bca66" - integrity sha512-OkTL9umf+He2DZkUq8f8J9of7yL6RJKI24dVITBmNfZBmri9zYZQrKkuXiKhyfPSu8tUhnVBB1iKXevvnlR4Ww== - -commander@^9.5.0: - version "9.5.0" - resolved "https://registry.yarnpkg.com/commander/-/commander-9.5.0.tgz#bc08d1eb5cedf7ccb797a96199d41c7bc3e60d30" - integrity sha512-KRs7WVDKg86PWiuAqhDrAQnTXZKraVcCc6vFdL14qrZ/DcWwuRo7VoiYXalXO7S5GKpqYiVEwCbgFDfxNHKJBQ== - -common-ancestor-path@^1.0.1: - version "1.0.1" - resolved "https://registry.yarnpkg.com/common-ancestor-path/-/common-ancestor-path-1.0.1.tgz#4f7d2d1394d91b7abdf51871c62f71eadb0182a7" - integrity sha512-L3sHRo1pXXEqX8VU28kfgUY+YGsk09hPqZiZmLacNib6XNTCM8ubYeT7ryXQw8asB1sKgcU5lkB7ONug08aB8w== - -common-path-prefix@^3.0.0: - version "3.0.0" - resolved "https://registry.yarnpkg.com/common-path-prefix/-/common-path-prefix-3.0.0.tgz#7d007a7e07c58c4b4d5f433131a19141b29f11e0" - integrity sha512-QE33hToZseCH3jS0qN96O/bSh3kaw/h+Tq7ngyY9eWDUnTlTNUyqfqvCXioLe5Na5jFsL78ra/wuBU4iuEgd4w== - -commondir@^1.0.1: - version "1.0.1" - resolved "https://registry.yarnpkg.com/commondir/-/commondir-1.0.1.tgz#ddd800da0c66127393cca5950ea968a3aaf1253b" - integrity sha512-W9pAhw0ja1Edb5GVdIF1mjZw/ASI0AlShXM83UUGe2DVr5TdAPEA1OA8m/g8zWp9x6On7gqufY+FatDbC3MDQg== - -compare-func@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/compare-func/-/compare-func-2.0.0.tgz#fb65e75edbddfd2e568554e8b5b05fff7a51fcb3" - integrity sha512-zHig5N+tPWARooBnb0Zx1MFcdfpyJrfTJ3Y5L+IFvUm8rM74hHz66z0gw0x4tijh5CorKkKUCnW82R2vmpeCRA== - dependencies: - array-ify "^1.0.0" - dot-prop "^5.1.0" - -component-emitter@^1.2.1: - version "1.3.1" - resolved "https://registry.yarnpkg.com/component-emitter/-/component-emitter-1.3.1.tgz#ef1d5796f7d93f135ee6fb684340b26403c97d17" - integrity sha512-T0+barUSQRTUQASh8bx02dl+DhF54GtIDY13Y3m9oWTklKbb3Wv974meRpeZ3lp1JpLVECWWNHC4vaG2XHXouQ== - -compress-commons@^4.1.2: - version "4.1.2" - resolved "https://registry.yarnpkg.com/compress-commons/-/compress-commons-4.1.2.tgz#6542e59cb63e1f46a8b21b0e06f9a32e4c8b06df" - integrity sha512-D3uMHtGc/fcO1Gt1/L7i1e33VOvD4A9hfQLP+6ewd+BvG/gQ84Yh4oftEhAdjSMgBgwGL+jsppT7JYNpo6MHHg== - dependencies: - buffer-crc32 "^0.2.13" - crc32-stream "^4.0.2" - normalize-path "^3.0.0" - readable-stream "^3.6.0" - -compressible@~2.0.16: - version "2.0.18" - resolved "https://registry.yarnpkg.com/compressible/-/compressible-2.0.18.tgz#af53cca6b070d4c3c0750fbd77286a6d7cc46fba" - integrity sha512-AF3r7P5dWxL8MxyITRMlORQNaOA2IkAFaTr4k7BUumjPtRpGDTZpl0Pb1XCO6JeDCBdp126Cgs9sMxqSjgYyRg== - dependencies: - mime-db ">= 1.43.0 < 2" - -compression@1.7.4: - version "1.7.4" - resolved "https://registry.yarnpkg.com/compression/-/compression-1.7.4.tgz#95523eff170ca57c29a0ca41e6fe131f41e5bb8f" - integrity sha512-jaSIDzP9pZVS4ZfQ+TzvtiWhdpFhE2RDHz8QJkpX9SIpLq88VueF5jJw6t+6CUQcAoA6t+x89MLrWAqpfDE8iQ== - dependencies: - accepts "~1.3.5" - bytes "3.0.0" - compressible "~2.0.16" - debug "2.6.9" - on-headers "~1.0.2" - safe-buffer "5.1.2" - vary "~1.1.2" - -concat-map@0.0.1: - version "0.0.1" - resolved "https://registry.yarnpkg.com/concat-map/-/concat-map-0.0.1.tgz#d8a96bd77fd68df7793a73036a3ba0d5405d477b" - integrity sha512-/Srv4dswyQNBfohGpz9o6Yb3Gz3SrUDqBH5rTuhGR7ahtlbYKnVxw2bCFMRljaA7EXHaXZ8wsHdodFvbkhKmqg== - -concat-stream@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/concat-stream/-/concat-stream-2.0.0.tgz#414cf5af790a48c60ab9be4527d56d5e41133cb1" - integrity sha512-MWufYdFw53ccGjCA+Ol7XJYpAlW6/prSMzuPOTRnJGcGzuhLn4Scrz7qf6o8bROZ514ltazcIFJZevcfbo0x7A== - dependencies: - buffer-from "^1.0.0" - inherits "^2.0.3" - readable-stream "^3.0.2" - typedarray "^0.0.6" - -concordance@^5.0.0: - version "5.0.4" - resolved "https://registry.yarnpkg.com/concordance/-/concordance-5.0.4.tgz#9896073261adced72f88d60e4d56f8efc4bbbbd2" - integrity sha512-OAcsnTEYu1ARJqWVGwf4zh4JDfHZEaSNlNccFmt8YjB2l/n19/PF2viLINHc57vO4FKIAFl2FWASIGZZWZ2Kxw== - dependencies: - date-time "^3.1.0" - esutils "^2.0.3" - fast-diff "^1.2.0" - js-string-escape "^1.0.1" - lodash "^4.17.15" - md5-hex "^3.0.1" - semver "^7.3.2" - well-known-symbols "^2.0.0" - -config-chain@1.1.12: - version "1.1.12" - resolved "https://registry.yarnpkg.com/config-chain/-/config-chain-1.1.12.tgz#0fde8d091200eb5e808caf25fe618c02f48e4efa" - integrity sha512-a1eOIcu8+7lUInge4Rpf/n4Krkf3Dd9lqhljRzII1/Zno/kRtUWnznPO3jOKBmTEktkt3fkxisUcivoj0ebzoA== - dependencies: - ini "^1.3.4" - proto-list "~1.2.1" - -configstore@^5.0.0, configstore@^5.0.1: - version "5.0.1" - resolved "https://registry.yarnpkg.com/configstore/-/configstore-5.0.1.tgz#d365021b5df4b98cdd187d6a3b0e3f6a7cc5ed96" - integrity sha512-aMKprgk5YhBNyH25hj8wGt2+D52Sw1DRRIzqBwLp2Ya9mFmY8KPvvtvmna8SxVR9JMZ4kzMD68N22vlaRpkeFA== - dependencies: - dot-prop "^5.2.0" - graceful-fs "^4.1.2" - make-dir "^3.0.0" - unique-string "^2.0.0" - write-file-atomic "^3.0.0" - xdg-basedir "^4.0.0" - -console-control-strings@^1.0.0, console-control-strings@^1.1.0, console-control-strings@~1.1.0: - version "1.1.0" - resolved "https://registry.yarnpkg.com/console-control-strings/-/console-control-strings-1.1.0.tgz#3d7cf4464db6446ea644bf4b39507f9851008e8e" - integrity sha512-ty/fTekppD2fIwRvnZAVdeOiGd1c7YXEixbgJTNzqcxJWKQnjJ/V1bNEEE6hygpM3WjwHFUVK6HTjWSzV4a8sQ== - -constants-browserify@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/constants-browserify/-/constants-browserify-1.0.0.tgz#c20b96d8c617748aaf1c16021760cd27fcb8cb75" - integrity sha512-xFxOwqIzR/e1k1gLiWEophSCMqXcwVHIH7akf7b/vxcUeGunlj3hvZaaqxwHsTgn+IndtkQJgSztIDWeumWJDQ== - -content-disposition@0.5.2: - version "0.5.2" - resolved "https://registry.yarnpkg.com/content-disposition/-/content-disposition-0.5.2.tgz#0cf68bb9ddf5f2be7961c3a85178cb85dba78cb4" - integrity sha512-kRGRZw3bLlFISDBgwTSA1TMBFN6J6GWDeubmDE3AF+3+yXL8hTWv8r5rkLbqYXY4RjPk/EzHnClI3zQf1cFmHA== - -content-disposition@0.5.4, content-disposition@^0.5.2: - version "0.5.4" - resolved "https://registry.yarnpkg.com/content-disposition/-/content-disposition-0.5.4.tgz#8b82b4efac82512a02bb0b1dcec9d2c5e8eb5bfe" - integrity sha512-FveZTNuGw04cxlAiWbzi6zTAL/lhehaWbTtgluJh4/E95DqMwTmha3KZN1aAWA8cFIhHzMZUvLevkw5Rqk+tSQ== - dependencies: - safe-buffer "5.2.1" - -content-type@^1.0.4, content-type@~1.0.4, content-type@~1.0.5: - version "1.0.5" - resolved "https://registry.yarnpkg.com/content-type/-/content-type-1.0.5.tgz#8b773162656d1d1086784c8f23a54ce6d73d7918" - integrity sha512-nTjqfcBFEipKdXCv4YDQWCfmcLZKm81ldF0pAopTvyrFGVbcR6P/VAAd5G7N+0tTr8QqiU0tFadD6FK4NtJwOA== - -conventional-changelog-angular@5.0.12: - version "5.0.12" - resolved "https://registry.yarnpkg.com/conventional-changelog-angular/-/conventional-changelog-angular-5.0.12.tgz#c979b8b921cbfe26402eb3da5bbfda02d865a2b9" - integrity sha512-5GLsbnkR/7A89RyHLvvoExbiGbd9xKdKqDTrArnPbOqBqG/2wIosu0fHwpeIRI8Tl94MhVNBXcLJZl92ZQ5USw== - dependencies: - compare-func "^2.0.0" - q "^1.5.1" - -conventional-changelog-core@4.2.4: - version "4.2.4" - resolved "https://registry.yarnpkg.com/conventional-changelog-core/-/conventional-changelog-core-4.2.4.tgz#e50d047e8ebacf63fac3dc67bf918177001e1e9f" - integrity sha512-gDVS+zVJHE2v4SLc6B0sLsPiloR0ygU7HaDW14aNJE1v4SlqJPILPl/aJC7YdtRE4CybBf8gDwObBvKha8Xlyg== - dependencies: - add-stream "^1.0.0" - conventional-changelog-writer "^5.0.0" - conventional-commits-parser "^3.2.0" - dateformat "^3.0.0" - get-pkg-repo "^4.0.0" - git-raw-commits "^2.0.8" - git-remote-origin-url "^2.0.0" - git-semver-tags "^4.1.1" - lodash "^4.17.15" - normalize-package-data "^3.0.0" - q "^1.5.1" - read-pkg "^3.0.0" - read-pkg-up "^3.0.0" - through2 "^4.0.0" - -conventional-changelog-preset-loader@^2.3.4: - version "2.3.4" - resolved "https://registry.yarnpkg.com/conventional-changelog-preset-loader/-/conventional-changelog-preset-loader-2.3.4.tgz#14a855abbffd59027fd602581f1f34d9862ea44c" - integrity sha512-GEKRWkrSAZeTq5+YjUZOYxdHq+ci4dNwHvpaBC3+ENalzFWuCWa9EZXSuZBpkr72sMdKB+1fyDV4takK1Lf58g== - -conventional-changelog-writer@^5.0.0: - version "5.0.1" - resolved "https://registry.yarnpkg.com/conventional-changelog-writer/-/conventional-changelog-writer-5.0.1.tgz#e0757072f045fe03d91da6343c843029e702f359" - integrity sha512-5WsuKUfxW7suLblAbFnxAcrvf6r+0b7GvNaWUwUIk0bXMnENP/PEieGKVUQrjPqwPT4o3EPAASBXiY6iHooLOQ== - dependencies: - conventional-commits-filter "^2.0.7" - dateformat "^3.0.0" - handlebars "^4.7.7" - json-stringify-safe "^5.0.1" - lodash "^4.17.15" - meow "^8.0.0" - semver "^6.0.0" - split "^1.0.0" - through2 "^4.0.0" - -conventional-commits-filter@^2.0.7: - version "2.0.7" - resolved "https://registry.yarnpkg.com/conventional-commits-filter/-/conventional-commits-filter-2.0.7.tgz#f8d9b4f182fce00c9af7139da49365b136c8a0b3" - integrity sha512-ASS9SamOP4TbCClsRHxIHXRfcGCnIoQqkvAzCSbZzTFLfcTqJVugB0agRgsEELsqaeWgsXv513eS116wnlSSPA== - dependencies: - lodash.ismatch "^4.4.0" - modify-values "^1.0.0" - -conventional-commits-parser@^3.2.0: - version "3.2.4" - resolved "https://registry.yarnpkg.com/conventional-commits-parser/-/conventional-commits-parser-3.2.4.tgz#a7d3b77758a202a9b2293d2112a8d8052c740972" - integrity sha512-nK7sAtfi+QXbxHCYfhpZsfRtaitZLIA6889kFIouLvz6repszQDgxBu7wf2WbU+Dco7sAnNCJYERCwt54WPC2Q== - dependencies: - JSONStream "^1.0.4" - is-text-path "^1.0.1" - lodash "^4.17.15" - meow "^8.0.0" - split2 "^3.0.0" - through2 "^4.0.0" - -conventional-recommended-bump@6.1.0: - version "6.1.0" - resolved "https://registry.yarnpkg.com/conventional-recommended-bump/-/conventional-recommended-bump-6.1.0.tgz#cfa623285d1de554012f2ffde70d9c8a22231f55" - integrity sha512-uiApbSiNGM/kkdL9GTOLAqC4hbptObFo4wW2QRyHsKciGAfQuLU1ShZ1BIVI/+K2BE/W1AWYQMCXAsv4dyKPaw== - dependencies: - concat-stream "^2.0.0" - conventional-changelog-preset-loader "^2.3.4" - conventional-commits-filter "^2.0.7" - conventional-commits-parser "^3.2.0" - git-raw-commits "^2.0.8" - git-semver-tags "^4.1.1" - meow "^8.0.0" - q "^1.5.1" - -convert-source-map@^1.7.0: - version "1.9.0" - resolved "https://registry.yarnpkg.com/convert-source-map/-/convert-source-map-1.9.0.tgz#7faae62353fb4213366d0ca98358d22e8368b05f" - integrity sha512-ASFBup0Mz1uyiIjANan1jzLQami9z1PoYSZCiiYW2FczPbenXc45FZdBZLzOT+r6+iciuEModtmCti+hjaAk0A== - -convert-source-map@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/convert-source-map/-/convert-source-map-2.0.0.tgz#4b560f649fc4e918dd0ab75cf4961e8bc882d82a" - integrity sha512-Kvp459HrV2FEJ1CAsi1Ku+MY3kasH19TFykTz2xWmMeq6bk2NU3XXvfJ+Q61m0xktWwt+1HSYf3JZsTms3aRJg== - -cookie-signature@1.0.6: - version "1.0.6" - resolved "https://registry.yarnpkg.com/cookie-signature/-/cookie-signature-1.0.6.tgz#e303a882b342cc3ee8ca513a79999734dab3ae2c" - integrity sha512-QADzlaHc8icV8I7vbaJXJwod9HWYp8uCqf1xa4OfNu1T7JVxQIrUgOWtHdNDtPiywmFbiS12VjotIXLrKM3orQ== - -cookie@0.7.1: - version "0.7.1" - resolved "https://registry.yarnpkg.com/cookie/-/cookie-0.7.1.tgz#2f73c42142d5d5cf71310a74fc4ae61670e5dbc9" - integrity sha512-6DnInpx7SJ2AK3+CTUE/ZM0vWTUboZCegxhC2xiIydHR9jNuTAASBrfEpHhiGOZw/nX51bHt6YQl8jsGo4y/0w== - -cookie@^0.4.0: - version "0.4.2" - resolved "https://registry.yarnpkg.com/cookie/-/cookie-0.4.2.tgz#0e41f24de5ecf317947c82fc789e06a884824432" - integrity sha512-aSWTXFzaKWkvHO1Ny/s+ePFpvKsPnjc551iI41v3ny/ow6tBG5Vd+FuqGNhh1LxOmVzOlGUriIlOaokOvhaStA== - -copy-descriptor@^0.1.0: - version "0.1.1" - resolved "https://registry.yarnpkg.com/copy-descriptor/-/copy-descriptor-0.1.1.tgz#676f6eb3c39997c2ee1ac3a924fd6124748f578d" - integrity sha512-XgZ0pFcakEUlbwQEVNg3+QAis1FyTL3Qel9FYy8pSkQqoG3PNoT0bOCQtOXcOkur21r2Eq2kI+IE+gsmAEVlYw== - -copy-template-dir@^1.4.0: - version "1.4.0" - resolved "https://registry.yarnpkg.com/copy-template-dir/-/copy-template-dir-1.4.0.tgz#cb2bd62415abe963a53bb867bb24379df3998112" - integrity sha512-xkXSJhvKz4MfLbVkZ7GyCaFo4ciB3uKI/HHzkGwj1eyTH5+7RTFxW5CE0irWAZgV5oFcO9hd6+NVXAtY9hlo7Q== - dependencies: - end-of-stream "^1.1.0" - graceful-fs "^4.1.3" - maxstache "^1.0.0" - maxstache-stream "^1.0.0" - mkdirp "^0.5.1" - noop2 "^2.0.0" - pump "^1.0.0" - readdirp "^2.0.0" - run-parallel "^1.1.4" - -copyfiles@2.4.1: - version "2.4.1" - resolved "https://registry.yarnpkg.com/copyfiles/-/copyfiles-2.4.1.tgz#d2dcff60aaad1015f09d0b66e7f0f1c5cd3c5da5" - integrity sha512-fereAvAvxDrQDOXybk3Qu3dPbOoKoysFMWtkY3mv5BsL8//OSZVL5DCLYqgRfY5cWirgRzlC+WSrxp6Bo3eNZg== - dependencies: - glob "^7.0.5" - minimatch "^3.0.3" - mkdirp "^1.0.4" - noms "0.0.0" - through2 "^2.0.1" - untildify "^4.0.0" - yargs "^16.1.0" - -core-js-compat@^3.38.0, core-js-compat@^3.38.1: - version "3.38.1" - resolved "https://registry.yarnpkg.com/core-js-compat/-/core-js-compat-3.38.1.tgz#2bc7a298746ca5a7bcb9c164bcb120f2ebc09a09" - integrity sha512-JRH6gfXxGmrzF3tZ57lFx97YARxCXPaMzPo6jELZhv88pBH5VXpQ+y0znKGlFnzuaihqhLbefxSJxWJMPtfDzw== - dependencies: - browserslist "^4.23.3" - -core-js-pure@^3.23.3: - version "3.38.1" - resolved "https://registry.yarnpkg.com/core-js-pure/-/core-js-pure-3.38.1.tgz#e8534062a54b7221344884ba9b52474be495ada3" - integrity sha512-BY8Etc1FZqdw1glX0XNOq2FDwfrg/VGqoZOZCdaL+UmdaqDwQwYXkMJT4t6In+zfEfOJDcM9T0KdbBeJg8KKCQ== - -core-util-is@~1.0.0: - version "1.0.3" - resolved "https://registry.yarnpkg.com/core-util-is/-/core-util-is-1.0.3.tgz#a6042d3634c2b27e9328f837b965fac83808db85" - integrity sha512-ZQBvi1DcpJ4GDqanjucZ2Hj3wEO5pZDS89BWbkcrvdxksJorwUDDZamX9ldFkp9aw2lmBDLgkObEA4DWNJ9FYQ== - -cosmiconfig@7.0.0: - version "7.0.0" - resolved "https://registry.yarnpkg.com/cosmiconfig/-/cosmiconfig-7.0.0.tgz#ef9b44d773959cae63ddecd122de23853b60f8d3" - integrity sha512-pondGvTuVYDk++upghXJabWzL6Kxu6f26ljFw64Swq9v6sQPUL3EUlVDV56diOjpCayKihL6hVe8exIACU4XcA== - dependencies: - "@types/parse-json" "^4.0.0" - import-fresh "^3.2.1" - parse-json "^5.0.0" - path-type "^4.0.0" - yaml "^1.10.0" - -cosmiconfig@^7.0.1, cosmiconfig@^7.1.0: - version "7.1.0" - resolved "https://registry.yarnpkg.com/cosmiconfig/-/cosmiconfig-7.1.0.tgz#1443b9afa596b670082ea46cbd8f6a62b84635f6" - integrity sha512-AdmX6xUzdNASswsFtmwSt7Vj8po9IuqXm0UXz7QKPuEUmPB4XyjGfaAr2PSuELMwkRMVH1EpIkX5bTZGRB3eCA== - dependencies: - "@types/parse-json" "^4.0.0" - import-fresh "^3.2.1" - parse-json "^5.0.0" - path-type "^4.0.0" - yaml "^1.10.0" - -cp-file@^7.0.0: - version "7.0.0" - resolved "https://registry.yarnpkg.com/cp-file/-/cp-file-7.0.0.tgz#b9454cfd07fe3b974ab9ea0e5f29655791a9b8cd" - integrity sha512-0Cbj7gyvFVApzpK/uhCtQ/9kE9UnYpxMzaq5nQQC/Dh4iaj5fxp7iEFIullrYwzj8nf0qnsI1Qsx34hAeAebvw== - dependencies: - graceful-fs "^4.1.2" - make-dir "^3.0.0" - nested-error-stacks "^2.0.0" - p-event "^4.1.0" - -cp-file@^9.0.0: - version "9.1.0" - resolved "https://registry.yarnpkg.com/cp-file/-/cp-file-9.1.0.tgz#e98e30db72d57d47b5b1d444deb70d05e5684921" - integrity sha512-3scnzFj/94eb7y4wyXRWwvzLFaQp87yyfTnChIjlfYrVqp5lVO3E2hIJMeQIltUT0K2ZAB3An1qXcBmwGyvuwA== - dependencies: - graceful-fs "^4.1.2" - make-dir "^3.0.0" - nested-error-stacks "^2.0.0" - p-event "^4.1.0" - -cpy@^8.1.0: - version "8.1.2" - resolved "https://registry.yarnpkg.com/cpy/-/cpy-8.1.2.tgz#e339ea54797ad23f8e3919a5cffd37bfc3f25935" - integrity sha512-dmC4mUesv0OYH2kNFEidtf/skUwv4zePmGeepjyyJ0qTo5+8KhA1o99oIAwVVLzQMAeDJml74d6wPPKb6EZUTg== - dependencies: - arrify "^2.0.1" - cp-file "^7.0.0" - globby "^9.2.0" - has-glob "^1.0.0" - junk "^3.1.0" - nested-error-stacks "^2.1.0" - p-all "^2.1.0" - p-filter "^2.1.0" - p-map "^3.0.0" - -crc-32@^1.2.0: - version "1.2.2" - resolved "https://registry.yarnpkg.com/crc-32/-/crc-32-1.2.2.tgz#3cad35a934b8bf71f25ca524b6da51fb7eace2ff" - integrity sha512-ROmzCKrTnOwybPcJApAA6WBWij23HVfGVNKqqrZpuyZOHqK2CwHSvpGuyt/UNNvaIjEd8X5IFGp4Mh+Ie1IHJQ== - -crc32-stream@^4.0.2: - version "4.0.3" - resolved "https://registry.yarnpkg.com/crc32-stream/-/crc32-stream-4.0.3.tgz#85dd677eb78fa7cad1ba17cc506a597d41fc6f33" - integrity sha512-NT7w2JVU7DFroFdYkeq8cywxrgjPHWkdX1wjpRQXPX5Asews3tA+Ght6lddQO5Mkumffp3X7GEqku3epj2toIw== - dependencies: - crc-32 "^1.2.0" - readable-stream "^3.4.0" - -create-jest@^29.7.0: - version "29.7.0" - resolved "https://registry.yarnpkg.com/create-jest/-/create-jest-29.7.0.tgz#a355c5b3cb1e1af02ba177fe7afd7feee49a5320" - integrity sha512-Adz2bdH0Vq3F53KEMJOoftQFutWCukm6J24wbPWRO4k1kMY7gS7ds/uoJkNuV8wDCtWWnuwGcJwpWcih+zEW1Q== - dependencies: - "@jest/types" "^29.6.3" - chalk "^4.0.0" - exit "^0.1.2" - graceful-fs "^4.2.9" - jest-config "^29.7.0" - jest-util "^29.7.0" - prompts "^2.0.1" - -create-require@^1.1.0: - version "1.1.1" - resolved "https://registry.yarnpkg.com/create-require/-/create-require-1.1.1.tgz#c1d7e8f1e5f6cfc9ff65f9cd352d37348756c333" - integrity sha512-dcKFX3jn0MpIaXjisoRvexIJVEKzaq7z2rZKxf+MSr9TkdmHmsU4m2lcLojrj/FHl8mk5VxMmYA+ftRkP/3oKQ== - -cron-parser@^4.1.0: - version "4.9.0" - resolved "https://registry.yarnpkg.com/cron-parser/-/cron-parser-4.9.0.tgz#0340694af3e46a0894978c6f52a6dbb5c0f11ad5" - integrity sha512-p0SaNjrHOnQeR8/VnfGbmg9te2kfyYSQ7Sc/j/6DtPL3JQvKxmjO9TSjNFpujqV3vEYYBvNNvXSxzyksBWAx1Q== - dependencies: - luxon "^3.2.1" - -cross-env@7.0.3: - version "7.0.3" - resolved "https://registry.yarnpkg.com/cross-env/-/cross-env-7.0.3.tgz#865264b29677dc015ba8418918965dd232fc54cf" - integrity sha512-+/HKd6EgcQCJGh2PSjZuUitQBQynKor4wrFbRg4DtAgS1aWO+gU52xpH7M9ScGgXSYmAVS9bIJ8EzuaGw0oNAw== - dependencies: - cross-spawn "^7.0.1" - -cross-spawn@^5.1.0: - version "5.1.0" - resolved "https://registry.yarnpkg.com/cross-spawn/-/cross-spawn-5.1.0.tgz#e8bd0efee58fcff6f8f94510a0a554bbfa235449" - integrity sha512-pTgQJ5KC0d2hcY8eyL1IzlBPYjTkyH72XRZPnLyKus2mBfNjQs3klqbJU2VILqZryAZUt9JOb3h/mWMy23/f5A== - dependencies: - lru-cache "^4.0.1" - shebang-command "^1.2.0" - which "^1.2.9" - -cross-spawn@^6.0.5: - version "6.0.5" - resolved "https://registry.yarnpkg.com/cross-spawn/-/cross-spawn-6.0.5.tgz#4a5ec7c64dfae22c3a14124dbacdee846d80cbc4" - integrity sha512-eTVLrBSt7fjbDygz805pMnstIs2VTBNkRm0qxZd+M7A5XDdxVRWO5MxGBXZhjY4cqLYLdtrGqRf8mBPmzwSpWQ== - dependencies: - nice-try "^1.0.4" - path-key "^2.0.1" - semver "^5.5.0" - shebang-command "^1.2.0" - which "^1.2.9" - -cross-spawn@^7.0.0, cross-spawn@^7.0.1, cross-spawn@^7.0.2, cross-spawn@^7.0.3: - version "7.0.3" - resolved "https://registry.yarnpkg.com/cross-spawn/-/cross-spawn-7.0.3.tgz#f73a85b9d5d41d045551c177e2882d4ac85728a6" - integrity sha512-iRDPJKUPVEND7dHPO8rkbOnPpyDygcDFtWjpeWNCgy8WP2rXcxXL8TskReQl6OrB2G7+UJrags1q15Fudc7G6w== - dependencies: - path-key "^3.1.0" - shebang-command "^2.0.0" - which "^2.0.1" - -crypto-random-string@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/crypto-random-string/-/crypto-random-string-2.0.0.tgz#ef2a7a966ec11083388369baa02ebead229b30d5" - integrity sha512-v1plID3y9r/lPhviJ1wrXpLeyUIGAZ2SHNYTEapm7/8A9nLPoyvVp3RK/EPFqn5kEznyWgYZNsRtYYIWbuG8KA== - -css-functions-list@^3.1.0: - version "3.2.3" - resolved "https://registry.yarnpkg.com/css-functions-list/-/css-functions-list-3.2.3.tgz#95652b0c24f0f59b291a9fc386041a19d4f40dbe" - integrity sha512-IQOkD3hbR5KrN93MtcYuad6YPuTSUhntLHDuLEbFWE+ff2/XSZNdZG+LcbbIW5AXKg/WFIfYItIzVoHngHXZzA== - -css-loader@^6.7.1: - version "6.11.0" - resolved "https://registry.yarnpkg.com/css-loader/-/css-loader-6.11.0.tgz#33bae3bf6363d0a7c2cf9031c96c744ff54d85ba" - integrity sha512-CTJ+AEQJjq5NzLga5pE39qdiSV56F8ywCIsqNIRF0r7BDgWsN25aazToqAFg7ZrtA/U016xudB3ffgweORxX7g== - dependencies: - icss-utils "^5.1.0" - postcss "^8.4.33" - postcss-modules-extract-imports "^3.1.0" - postcss-modules-local-by-default "^4.0.5" - postcss-modules-scope "^3.2.0" - postcss-modules-values "^4.0.0" - postcss-value-parser "^4.2.0" - semver "^7.5.4" - -css-select@^4.1.3: - version "4.3.0" - resolved "https://registry.yarnpkg.com/css-select/-/css-select-4.3.0.tgz#db7129b2846662fd8628cfc496abb2b59e41529b" - integrity sha512-wPpOYtnsVontu2mODhA19JrqWxNsfdatRKd64kmpRbQgh1KtItko5sTnEpPdpSaJszTOhEMlF/RPz28qj4HqhQ== - dependencies: - boolbase "^1.0.0" - css-what "^6.0.1" - domhandler "^4.3.1" - domutils "^2.8.0" - nth-check "^2.0.1" - -css-select@^5.1.0: - version "5.1.0" - resolved "https://registry.yarnpkg.com/css-select/-/css-select-5.1.0.tgz#b8ebd6554c3637ccc76688804ad3f6a6fdaea8a6" - integrity sha512-nwoRF1rvRRnnCqqY7updORDsuqKzqYJ28+oSMaJMMgOauh3fvwHqMS7EZpIPqK8GL+g9mKxF1vP/ZjSeNjEVHg== - dependencies: - boolbase "^1.0.0" - css-what "^6.1.0" - domhandler "^5.0.2" - domutils "^3.0.1" - nth-check "^2.0.1" - -css-tree@^2.3.1: - version "2.3.1" - resolved "https://registry.yarnpkg.com/css-tree/-/css-tree-2.3.1.tgz#10264ce1e5442e8572fc82fbe490644ff54b5c20" - integrity sha512-6Fv1DV/TYw//QF5IzQdqsNDjx/wc8TrMBZsqjL9eW01tWb7R7k/mq+/VXfJCl7SoD5emsJop9cOByJZfs8hYIw== - dependencies: - mdn-data "2.0.30" - source-map-js "^1.0.1" - -css-tree@~2.2.0: - version "2.2.1" - resolved "https://registry.yarnpkg.com/css-tree/-/css-tree-2.2.1.tgz#36115d382d60afd271e377f9c5f67d02bd48c032" - integrity sha512-OA0mILzGc1kCOCSJerOeqDxDQ4HOh+G8NbOJFOTgOCzpw7fCBubk0fEyxp8AgOL/jvLgYA/uV0cMbe43ElF1JA== - dependencies: - mdn-data "2.0.28" - source-map-js "^1.0.1" - -css-what@^6.0.1, css-what@^6.1.0: - version "6.1.0" - resolved "https://registry.yarnpkg.com/css-what/-/css-what-6.1.0.tgz#fb5effcf76f1ddea2c81bdfaa4de44e79bac70f4" - integrity sha512-HTUrgRJ7r4dsZKU6GjmpfRK1O76h97Z8MfS1G0FozR+oF2kG6Vfe8JE6zwrkbxigziPHinCJ+gCPjA9EaBDtRw== - -css.escape@^1.5.1: - version "1.5.1" - resolved "https://registry.yarnpkg.com/css.escape/-/css.escape-1.5.1.tgz#42e27d4fa04ae32f931a4b4d4191fa9cddee97cb" - integrity sha512-YUifsXXuknHlUsmlgyY0PKzgPOr7/FjCePfHNt0jxm83wHZi44VDMQ7/fGNkjY3/jV1MC+1CmZbaHzugyeRtpg== - -cssesc@^3.0.0: - version "3.0.0" - resolved "https://registry.yarnpkg.com/cssesc/-/cssesc-3.0.0.tgz#37741919903b868565e1c09ea747445cd18983ee" - integrity sha512-/Tb/JcjK111nNScGob5MNtsntNM1aCNUDipB/TkwZFhyDrrE47SOx/18wF2bbjgc3ZzCSKW1T5nt5EbFoAz/Vg== - -csso@^5.0.5: - version "5.0.5" - resolved "https://registry.yarnpkg.com/csso/-/csso-5.0.5.tgz#f9b7fe6cc6ac0b7d90781bb16d5e9874303e2ca6" - integrity sha512-0LrrStPOdJj+SPCCrGhzryycLjwcgUSHBtxNA8aIDxf0GLsRh1cKYhB00Gd1lDOS4yGH69+SNn13+TWbVHETFQ== - dependencies: - css-tree "~2.2.0" - -cssom@^0.5.0: - version "0.5.0" - resolved "https://registry.yarnpkg.com/cssom/-/cssom-0.5.0.tgz#d254fa92cd8b6fbd83811b9fbaed34663cc17c36" - integrity sha512-iKuQcq+NdHqlAcwUY0o/HL69XQrUaQdMjmStJ8JFmUaiiQErlhrmuigkg/CU4E2J0IyUKUrMAgl36TvN67MqTw== - -cssom@~0.3.6: - version "0.3.8" - resolved "https://registry.yarnpkg.com/cssom/-/cssom-0.3.8.tgz#9f1276f5b2b463f2114d3f2c75250af8c1a36f4a" - integrity sha512-b0tGHbfegbhPJpxpiBPU2sCkigAqtM9O121le6bbOlgyV+NyGyCmVfJ6QW9eRjz8CpNfWEOYBIMIGRYkLwsIYg== - -cssstyle@^2.3.0: - version "2.3.0" - resolved "https://registry.yarnpkg.com/cssstyle/-/cssstyle-2.3.0.tgz#ff665a0ddbdc31864b09647f34163443d90b0852" - integrity sha512-AZL67abkUzIuvcHqk7c09cezpGNcxUxU4Ioi/05xHk4DQeTkWmGYftIE6ctU6AEt+Gn4n1lDStOtj7FKycP71A== - dependencies: - cssom "~0.3.6" - -csstype@*, csstype@^3.0.2: - version "3.1.3" - resolved "https://registry.yarnpkg.com/csstype/-/csstype-3.1.3.tgz#d80ff294d114fb0e6ac500fbf85b60137d7eff81" - integrity sha512-M1uQkMl8rQK/szD0LNhtqxIPLpimGm8sOBwU7lLnCpSbTyY3yeU1Vc7l4KT5zT4s/yOxHH5O7tIuuLOCnLADRw== - -cwd@^0.10.0: - version "0.10.0" - resolved "https://registry.yarnpkg.com/cwd/-/cwd-0.10.0.tgz#172400694057c22a13b0cf16162c7e4b7a7fe567" - integrity sha512-YGZxdTTL9lmLkCUTpg4j0zQ7IhRB5ZmqNBbGCl3Tg6MP/d5/6sY7L5mmTjzbc6JKgVZYiqTQTNhPFsbXNGlRaA== - dependencies: - find-pkg "^0.1.2" - fs-exists-sync "^0.1.0" - -cyclist@^1.0.1: - version "1.0.2" - resolved "https://registry.yarnpkg.com/cyclist/-/cyclist-1.0.2.tgz#673b5f233bf34d8e602b949429f8171d9121bea3" - integrity sha512-0sVXIohTfLqVIW3kb/0n6IiWF3Ifj5nm2XaSrLq2DI6fKIGa2fYAZdk917rUneaeLVpYfFcyXE2ft0fe3remsA== - -damerau-levenshtein@^1.0.8: - version "1.0.8" - resolved "https://registry.yarnpkg.com/damerau-levenshtein/-/damerau-levenshtein-1.0.8.tgz#b43d286ccbd36bc5b2f7ed41caf2d0aba1f8a6e7" - integrity sha512-sdQSFB7+llfUcQHUQO3+B8ERRj0Oa4w9POWMI/puGtuf7gFywGmkaLCElnudfTiKZV+NvHqL0ifzdrI8Ro7ESA== - -dargs@^7.0.0: - version "7.0.0" - resolved "https://registry.yarnpkg.com/dargs/-/dargs-7.0.0.tgz#04015c41de0bcb69ec84050f3d9be0caf8d6d5cc" - integrity sha512-2iy1EkLdlBzQGvbweYRFxmFath8+K7+AKB0TlhHWkNuH+TmovaMH/Wp7V7R4u7f4SnX3OgLsU9t1NI9ioDnUpg== - -data-uri-to-buffer@^4.0.0: - version "4.0.1" - resolved "https://registry.yarnpkg.com/data-uri-to-buffer/-/data-uri-to-buffer-4.0.1.tgz#d8feb2b2881e6a4f58c2e08acfd0e2834e26222e" - integrity sha512-0R9ikRb668HB7QDxT1vkpuUBtqc53YyAwMwGeUFKRojY/NWKvdZ+9UYtRfGmhqNbRkTSVpMbmyhXipFFv2cb/A== - -data-urls@^3.0.2: - version "3.0.2" - resolved "https://registry.yarnpkg.com/data-urls/-/data-urls-3.0.2.tgz#9cf24a477ae22bcef5cd5f6f0bfbc1d2d3be9143" - integrity sha512-Jy/tj3ldjZJo63sVAvg6LHt2mHvl4V6AgRAmNDtLdm7faqtsx+aJG42rsyCo9JCoRVKwPFzKlIPx3DIibwSIaQ== - dependencies: - abab "^2.0.6" - whatwg-mimetype "^3.0.0" - whatwg-url "^11.0.0" - -data-view-buffer@^1.0.1: - version "1.0.1" - resolved "https://registry.yarnpkg.com/data-view-buffer/-/data-view-buffer-1.0.1.tgz#8ea6326efec17a2e42620696e671d7d5a8bc66b2" - integrity sha512-0lht7OugA5x3iJLOWFhWK/5ehONdprk0ISXqVFn/NFrDu+cuc8iADFrGQz5BnRK7LLU3JmkbXSxaqX+/mXYtUA== - dependencies: - call-bind "^1.0.6" - es-errors "^1.3.0" - is-data-view "^1.0.1" - -data-view-byte-length@^1.0.1: - version "1.0.1" - resolved "https://registry.yarnpkg.com/data-view-byte-length/-/data-view-byte-length-1.0.1.tgz#90721ca95ff280677eb793749fce1011347669e2" - integrity sha512-4J7wRJD3ABAzr8wP+OcIcqq2dlUKp4DVflx++hs5h5ZKydWMI6/D/fAot+yh6g2tHh8fLFTvNOaVN357NvSrOQ== - dependencies: - call-bind "^1.0.7" - es-errors "^1.3.0" - is-data-view "^1.0.1" - -data-view-byte-offset@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/data-view-byte-offset/-/data-view-byte-offset-1.0.0.tgz#5e0bbfb4828ed2d1b9b400cd8a7d119bca0ff18a" - integrity sha512-t/Ygsytq+R995EJ5PZlD4Cu56sWa8InXySaViRzw9apusqsOO2bQP+SbYzAhR0pFKoB+43lYy8rWban9JSuXnA== - dependencies: - call-bind "^1.0.6" - es-errors "^1.3.0" - is-data-view "^1.0.1" - -date-fns@2.29.3: - version "2.29.3" - resolved "https://registry.yarnpkg.com/date-fns/-/date-fns-2.29.3.tgz#27402d2fc67eb442b511b70bbdf98e6411cd68a8" - integrity sha512-dDCnyH2WnnKusqvZZ6+jA1O51Ibt8ZMRNkDZdyAyK4YfbDwa/cEmuztzG5pk6hqlp9aSBPYcjOlktquahGwGeA== - -date-fns@^1.27.2: - version "1.30.1" - resolved "https://registry.yarnpkg.com/date-fns/-/date-fns-1.30.1.tgz#2e71bf0b119153dbb4cc4e88d9ea5acfb50dc05c" - integrity sha512-hBSVCvSmWC+QypYObzwGOd9wqdDpOt+0wl0KbU+R+uuZBS1jN8VsD1ss3irQDknRj5NvxiTF6oj/nDRnN/UQNw== - -date-time@^3.1.0: - version "3.1.0" - resolved "https://registry.yarnpkg.com/date-time/-/date-time-3.1.0.tgz#0d1e934d170579f481ed8df1e2b8ff70ee845e1e" - integrity sha512-uqCUKXE5q1PNBXjPqvwhwJf9SwMoAHBgWJ6DcrnS5o+W2JOiIILl0JEdVD8SGujrNS02GGxgwAg2PN2zONgtjg== - dependencies: - time-zone "^1.0.0" - -dateformat@^3.0.0: - version "3.0.3" - resolved "https://registry.yarnpkg.com/dateformat/-/dateformat-3.0.3.tgz#a6e37499a4d9a9cf85ef5872044d62901c9889ae" - integrity sha512-jyCETtSl3VMZMWeRo7iY1FL19ges1t55hMo5yaam4Jrsm5EPL89UQkoQRyiI+Yf4k8r2ZpdngkV8hr1lIdjb3Q== - -debug@2.6.9, debug@^2.2.0, debug@^2.3.3: - version "2.6.9" - resolved "https://registry.yarnpkg.com/debug/-/debug-2.6.9.tgz#5d128515df134ff327e90a4c93f4e077a536341f" - integrity sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA== - dependencies: - ms "2.0.0" - -debug@4, debug@^4.0.0, debug@^4.0.1, debug@^4.1.0, debug@^4.1.1, debug@^4.3.1, debug@^4.3.2, debug@^4.3.3, debug@^4.3.4: - version "4.3.7" - resolved "https://registry.yarnpkg.com/debug/-/debug-4.3.7.tgz#87945b4151a011d76d95a198d7111c865c360a52" - integrity sha512-Er2nc/H7RrMXZBFCEim6TCmMk02Z8vLC2Rbi1KEBggpo0fS6l0S1nnapwmIi3yW/+GOJap1Krg4w0Hg80oCqgQ== - dependencies: - ms "^2.1.3" - -debug@^3.2.6, debug@^3.2.7: - version "3.2.7" - resolved "https://registry.yarnpkg.com/debug/-/debug-3.2.7.tgz#72580b7e9145fb39b6676f9c5e5fb100b934179a" - integrity sha512-CFjzYYAi4ThfiQvizrFQevTTXHtnCqWfe7x1AhgEscTz6ZbLbfoLRLPugTQyBth6f8ZERVUSyWHFD/7Wu4t1XQ== - dependencies: - ms "^2.1.1" - -debuglog@^1.0.1: - version "1.0.1" - resolved "https://registry.yarnpkg.com/debuglog/-/debuglog-1.0.1.tgz#aa24ffb9ac3df9a2351837cfb2d279360cd78492" - integrity sha512-syBZ+rnAK3EgMsH2aYEOLUW7mZSY9Gb+0wUMCFsZvcmiz+HigA0LOcq/HoQqVuGG+EKykunc7QG2bzrponfaSw== - -decache@^4.6.0: - version "4.6.2" - resolved "https://registry.yarnpkg.com/decache/-/decache-4.6.2.tgz#c1df1325a2f36d53922e08f33380f083148199cd" - integrity sha512-2LPqkLeu8XWHU8qNCS3kcF6sCcb5zIzvWaAHYSvPfwhdd7mHuah29NssMzrTYyHN4F5oFy2ko9OBYxegtU0FEw== - dependencies: - callsite "^1.0.0" - -decamelize-keys@^1.1.0: - version "1.1.1" - resolved "https://registry.yarnpkg.com/decamelize-keys/-/decamelize-keys-1.1.1.tgz#04a2d523b2f18d80d0158a43b895d56dff8d19d8" - integrity sha512-WiPxgEirIV0/eIOMcnFBA3/IJZAZqKnwAwWyvvdi4lsr1WCN22nhdf/3db3DoZcUjTV2SqfzIwNyp6y2xs3nmg== - dependencies: - decamelize "^1.1.0" - map-obj "^1.0.0" - -decamelize@^1.1.0, decamelize@^1.2.0: - version "1.2.0" - resolved "https://registry.yarnpkg.com/decamelize/-/decamelize-1.2.0.tgz#f6534d15148269b20352e7bee26f501f9a191290" - integrity sha512-z2S+W9X73hAUUki+N+9Za2lBlun89zigOyGrsax+KUQ6wKW4ZoWpEYBkGhQjwAjjDCkWxhY0VKEhk8wzY7F5cA== - -decimal.js@^10.4.2: - version "10.4.3" - resolved "https://registry.yarnpkg.com/decimal.js/-/decimal.js-10.4.3.tgz#1044092884d245d1b7f65725fa4ad4c6f781cc23" - integrity sha512-VBBaLc1MgL5XpzgIP7ny5Z6Nx3UrRkIViUkPUdtl9aya5amy3De1gsUUSB1g3+3sExYNjCAsAznmukyxCb1GRA== - -decode-named-character-reference@^1.0.0: - version "1.0.2" - resolved "https://registry.yarnpkg.com/decode-named-character-reference/-/decode-named-character-reference-1.0.2.tgz#daabac9690874c394c81e4162a0304b35d824f0e" - integrity sha512-O8x12RzrUF8xyVcY0KJowWsmaJxQbmy0/EtnNtHRpsOcT7dFk5W598coHqBVpmWo1oQQfsCqfCmkZN5DJrZVdg== - dependencies: - character-entities "^2.0.0" - -decode-uri-component@^0.2.0: - version "0.2.2" - resolved "https://registry.yarnpkg.com/decode-uri-component/-/decode-uri-component-0.2.2.tgz#e69dbe25d37941171dd540e024c444cd5188e1e9" - integrity sha512-FqUYQ+8o158GyGTrMFJms9qh3CqTKvAqgqsTnkLI8sKu0028orqBhxNMFkFen0zGyg6epACD32pjVk58ngIErQ== - -decompress-response@^3.3.0: - version "3.3.0" - resolved "https://registry.yarnpkg.com/decompress-response/-/decompress-response-3.3.0.tgz#80a4dd323748384bfa248083622aedec982adff3" - integrity sha512-BzRPQuY1ip+qDonAOz42gRm/pg9F768C+npV/4JOsxRC2sq+Rlk+Q4ZCAsOhnIaMrgarILY+RMUIvMmmX1qAEA== - dependencies: - mimic-response "^1.0.0" - -decompress-response@^5.0.0: - version "5.0.0" - resolved "https://registry.yarnpkg.com/decompress-response/-/decompress-response-5.0.0.tgz#7849396e80e3d1eba8cb2f75ef4930f76461cb0f" - integrity sha512-TLZWWybuxWgoW7Lykv+gq9xvzOsUjQ9tF09Tj6NSTYGMTCHNXzrPnD6Hi+TgZq19PyTAGH4Ll/NIM/eTGglnMw== - dependencies: - mimic-response "^2.0.0" - -decompress-tar@^4.0.0, decompress-tar@^4.1.0, decompress-tar@^4.1.1: - version "4.1.1" - resolved "https://registry.yarnpkg.com/decompress-tar/-/decompress-tar-4.1.1.tgz#718cbd3fcb16209716e70a26b84e7ba4592e5af1" - integrity sha512-JdJMaCrGpB5fESVyxwpCx4Jdj2AagLmv3y58Qy4GE6HMVjWz1FeVQk1Ct4Kye7PftcdOo/7U7UKzYBJgqnGeUQ== - dependencies: - file-type "^5.2.0" - is-stream "^1.1.0" - tar-stream "^1.5.2" - -decompress-tarbz2@^4.0.0: - version "4.1.1" - resolved "https://registry.yarnpkg.com/decompress-tarbz2/-/decompress-tarbz2-4.1.1.tgz#3082a5b880ea4043816349f378b56c516be1a39b" - integrity sha512-s88xLzf1r81ICXLAVQVzaN6ZmX4A6U4z2nMbOwobxkLoIIfjVMBg7TeguTUXkKeXni795B6y5rnvDw7rxhAq9A== - dependencies: - decompress-tar "^4.1.0" - file-type "^6.1.0" - is-stream "^1.1.0" - seek-bzip "^1.0.5" - unbzip2-stream "^1.0.9" - -decompress-targz@^4.0.0: - version "4.1.1" - resolved "https://registry.yarnpkg.com/decompress-targz/-/decompress-targz-4.1.1.tgz#c09bc35c4d11f3de09f2d2da53e9de23e7ce1eee" - integrity sha512-4z81Znfr6chWnRDNfFNqLwPvm4db3WuZkqV+UgXQzSngG3CEKdBkw5jrv3axjjL96glyiiKjsxJG3X6WBZwX3w== - dependencies: - decompress-tar "^4.1.1" - file-type "^5.2.0" - is-stream "^1.1.0" - -decompress-unzip@^4.0.1: - version "4.0.1" - resolved "https://registry.yarnpkg.com/decompress-unzip/-/decompress-unzip-4.0.1.tgz#deaaccdfd14aeaf85578f733ae8210f9b4848f69" - integrity sha512-1fqeluvxgnn86MOh66u8FjbtJpAFv5wgCT9Iw8rcBqQcCo5tO8eiJw7NNTrvt9n4CRBVq7CstiS922oPgyGLrw== - dependencies: - file-type "^3.8.0" - get-stream "^2.2.0" - pify "^2.3.0" - yauzl "^2.4.2" - -decompress@^4.2.1: - version "4.2.1" - resolved "https://registry.yarnpkg.com/decompress/-/decompress-4.2.1.tgz#007f55cc6a62c055afa37c07eb6a4ee1b773f118" - integrity sha512-e48kc2IjU+2Zw8cTb6VZcJQ3lgVbS4uuB1TfCHbiZIP/haNXm+SVyhu+87jts5/3ROpd82GSVCoNs/z8l4ZOaQ== - dependencies: - decompress-tar "^4.0.0" - decompress-tarbz2 "^4.0.0" - decompress-targz "^4.0.0" - decompress-unzip "^4.0.1" - graceful-fs "^4.1.10" - make-dir "^1.0.0" - pify "^2.3.0" - strip-dirs "^2.0.0" - -dedent@0.7.0, dedent@^0.7.0: - version "0.7.0" - resolved "https://registry.yarnpkg.com/dedent/-/dedent-0.7.0.tgz#2495ddbaf6eb874abb0e1be9df22d2e5a544326c" - integrity sha512-Q6fKUPqnAHAyhiUgFU7BUzLiv0kd8saH9al7tnu5Q/okj6dnupxyTgFIBjVzJATdfIAm9NAsvXNzjaKa+bxVyA== - -dedent@^1.0.0: - version "1.5.3" - resolved "https://registry.yarnpkg.com/dedent/-/dedent-1.5.3.tgz#99aee19eb9bae55a67327717b6e848d0bf777e5a" - integrity sha512-NHQtfOOW68WD8lgypbLA5oT+Bt0xXJhiYvoR6SmmNXZfpzOGXwdKWmcwG8N7PwVVWV3eF/68nmD9BaJSsTBhyQ== - -deep-eql@^5.0.1: - version "5.0.2" - resolved "https://registry.yarnpkg.com/deep-eql/-/deep-eql-5.0.2.tgz#4b756d8d770a9257300825d52a2c2cff99c3a341" - integrity sha512-h5k/5U50IJJFpzfL6nO9jaaumfjO/f2NjK/oYB2Djzm4p9L+3T9qWpZqZ2hAbLPuuYq9wrU08WQyBTL5GbPk5Q== - -deep-equal@^2.0.5: - version "2.2.3" - resolved "https://registry.yarnpkg.com/deep-equal/-/deep-equal-2.2.3.tgz#af89dafb23a396c7da3e862abc0be27cf51d56e1" - integrity sha512-ZIwpnevOurS8bpT4192sqAowWM76JDKSHYzMLty3BZGSswgq6pBaH3DhCSW5xVAZICZyKdOBPjwww5wfgT/6PA== - dependencies: - array-buffer-byte-length "^1.0.0" - call-bind "^1.0.5" - es-get-iterator "^1.1.3" - get-intrinsic "^1.2.2" - is-arguments "^1.1.1" - is-array-buffer "^3.0.2" - is-date-object "^1.0.5" - is-regex "^1.1.4" - is-shared-array-buffer "^1.0.2" - isarray "^2.0.5" - object-is "^1.1.5" - object-keys "^1.1.1" - object.assign "^4.1.4" - regexp.prototype.flags "^1.5.1" - side-channel "^1.0.4" - which-boxed-primitive "^1.0.2" - which-collection "^1.0.1" - which-typed-array "^1.1.13" - -deep-extend@^0.6.0: - version "0.6.0" - resolved "https://registry.yarnpkg.com/deep-extend/-/deep-extend-0.6.0.tgz#c4fa7c95404a17a9c3e8ca7e1537312b736330ac" - integrity sha512-LOHxIOaPYdHlJRtCQfDIVZtfw/ufM8+rVj649RIHzcm/vGwQRXFt6OPqIFWsm2XEMrNIEtWR64sY1LEKD2vAOA== - -deep-is@^0.1.3: - version "0.1.4" - resolved "https://registry.yarnpkg.com/deep-is/-/deep-is-0.1.4.tgz#a6f2dce612fadd2ef1f519b73551f17e85199831" - integrity sha512-oIPzksmTg4/MriiaYGO+okXDT7ztn/w3Eptv/+gSIdMdKsJo0u4CfYNFJPy+4SKMuCqGw2wxnA+URMg3t8a/bQ== - -deepmerge@^2.1.1: - version "2.2.1" - resolved "https://registry.yarnpkg.com/deepmerge/-/deepmerge-2.2.1.tgz#5d3ff22a01c00f645405a2fbc17d0778a1801170" - integrity sha512-R9hc1Xa/NOBi9WRVUWg19rl1UB7Tt4kuPd+thNJgFZoxXsTz7ncaPaeIm+40oSGuP33DfMb4sZt1QIGiJzC4EA== - -deepmerge@^4.2.2: - version "4.3.1" - resolved "https://registry.yarnpkg.com/deepmerge/-/deepmerge-4.3.1.tgz#44b5f2147cd3b00d4b56137685966f26fd25dd4a" - integrity sha512-3sUqbMEc77XqpdNO7FRyRog+eW3ph+GYCbj+rK+uYyRMuwsVy0rMiVtPn+QJlKFvWP/1PYpapqYn0Me2knFn+A== - -default-require-extensions@^3.0.0: - version "3.0.1" - resolved "https://registry.yarnpkg.com/default-require-extensions/-/default-require-extensions-3.0.1.tgz#bfae00feeaeada68c2ae256c62540f60b80625bd" - integrity sha512-eXTJmRbm2TIt9MgWTsOH1wEuhew6XGZcMeGKCtLedIg/NCsg1iBePXkceTdK4Fii7pzmN9tGsZhKzZ4h7O/fxw== - dependencies: - strip-bom "^4.0.0" - -defaults@^1.0.3: - version "1.0.4" - resolved "https://registry.yarnpkg.com/defaults/-/defaults-1.0.4.tgz#b0b02062c1e2aa62ff5d9528f0f98baa90978d7a" - integrity sha512-eFuaLoy/Rxalv2kr+lqMlUnrDWV+3j4pljOIJgLIhI058IQfWJ7vXhyEIHu+HtC738klGALYxOKDO0bQP3tg8A== - dependencies: - clone "^1.0.2" - -defer-to-connect@^1.0.1: - version "1.1.3" - resolved "https://registry.yarnpkg.com/defer-to-connect/-/defer-to-connect-1.1.3.tgz#331ae050c08dcf789f8c83a7b81f0ed94f4ac591" - integrity sha512-0ISdNousHvZT2EiFlZeZAHBUvSxmKswVCEf8hW7KWgG4a8MVEu/3Vb6uWYozkjylyCxe0JBIiRB1jV45S70WVQ== - -defer-to-connect@^2.0.0: - version "2.0.1" - resolved "https://registry.yarnpkg.com/defer-to-connect/-/defer-to-connect-2.0.1.tgz#8016bdb4143e4632b77a3449c6236277de520587" - integrity sha512-4tvttepXG1VaYGrRibk5EwJd1t4udunSOVMdLSAL6mId1ix438oPwPZMALY41FCijukO1L0twNcGsdzS7dHgDg== - -define-data-property@^1.0.1, define-data-property@^1.1.4: - version "1.1.4" - resolved "https://registry.yarnpkg.com/define-data-property/-/define-data-property-1.1.4.tgz#894dc141bb7d3060ae4366f6a0107e68fbe48c5e" - integrity sha512-rBMvIzlpA8v6E+SJZoo++HAYqsLrkg7MSfIinMPFhmkorw7X+dOXVJQs+QT69zGkzMyfDnIMN2Wid1+NbL3T+A== - dependencies: - es-define-property "^1.0.0" - es-errors "^1.3.0" - gopd "^1.0.1" - -define-lazy-prop@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/define-lazy-prop/-/define-lazy-prop-2.0.0.tgz#3f7ae421129bcaaac9bc74905c98a0009ec9ee7f" - integrity sha512-Ds09qNh8yw3khSjiJjiUInaGX9xlqZDY7JVryGxdxV7NPeuqQfplOpQ66yJFZut3jLa5zOwkXw1g9EI2uKh4Og== - -define-properties@^1.1.3, define-properties@^1.2.0, define-properties@^1.2.1: - version "1.2.1" - resolved "https://registry.yarnpkg.com/define-properties/-/define-properties-1.2.1.tgz#10781cc616eb951a80a034bafcaa7377f6af2b6c" - integrity sha512-8QmQKqEASLd5nx0U1B1okLElbUuuttJ/AnYmRXbbbGDWh6uS208EjD4Xqq/I9wK7u0v6O08XhTWnt5XtEbR6Dg== - dependencies: - define-data-property "^1.0.1" - has-property-descriptors "^1.0.0" - object-keys "^1.1.1" - -define-property@^0.2.5: - version "0.2.5" - resolved "https://registry.yarnpkg.com/define-property/-/define-property-0.2.5.tgz#c35b1ef918ec3c990f9a5bc57be04aacec5c8116" - integrity sha512-Rr7ADjQZenceVOAKop6ALkkRAmH1A4Gx9hV/7ZujPUN2rkATqFO0JZLZInbAjpZYoJ1gUx8MRMQVkYemcbMSTA== - dependencies: - is-descriptor "^0.1.0" - -define-property@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/define-property/-/define-property-1.0.0.tgz#769ebaaf3f4a63aad3af9e8d304c9bbe79bfb0e6" - integrity sha512-cZTYKFWspt9jZsMscWo8sc/5lbPC9Q0N5nBLgb+Yd915iL3udB1uFgS3B8YCx66UVHq018DAVFoee7x+gxggeA== - dependencies: - is-descriptor "^1.0.0" - -define-property@^2.0.2: - version "2.0.2" - resolved "https://registry.yarnpkg.com/define-property/-/define-property-2.0.2.tgz#d459689e8d654ba77e02a817f8710d702cb16e9d" - integrity sha512-jwK2UV4cnPpbcG7+VRARKTZPUWowwXA8bzH5NP6ud0oeAxyYPuGZUAC7hMugpCdz4BeSZl2Dl9k66CHJ/46ZYQ== - dependencies: - is-descriptor "^1.0.2" - isobject "^3.0.1" - -del@^6.0.0: - version "6.1.1" - resolved "https://registry.yarnpkg.com/del/-/del-6.1.1.tgz#3b70314f1ec0aa325c6b14eb36b95786671edb7a" - integrity sha512-ua8BhapfP0JUJKC/zV9yHHDW/rDoDxP4Zhn3AkA6/xT6gY7jYXJiaeyBZznYVujhZZET+UgcbZiQ7sN3WqcImg== - dependencies: - globby "^11.0.1" - graceful-fs "^4.2.4" - is-glob "^4.0.1" - is-path-cwd "^2.2.0" - is-path-inside "^3.0.2" - p-map "^4.0.0" - rimraf "^3.0.2" - slash "^3.0.0" - -delayed-stream@~1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/delayed-stream/-/delayed-stream-1.0.0.tgz#df3ae199acadfb7d440aaae0b29e2272b24ec619" - integrity sha512-ZySD7Nf91aLB0RxL4KGrKHBXl7Eds1DAmEdcoVawXnLD7SDhpNgtuII2aAkg7a7QS41jxPSZ17p4VdGnMHk3MQ== - -delegates@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/delegates/-/delegates-1.0.0.tgz#84c6e159b81904fdca59a0ef44cd870d31250f9a" - integrity sha512-bd2L678uiWATM6m5Z1VzNCErI3jiGzt6HGY8OVICs40JQq/HALfbyNJmp0UDakEY4pMMaN0Ly5om/B1VI/+xfQ== - -depd@2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/depd/-/depd-2.0.0.tgz#b696163cc757560d09cf22cc8fad1571b79e76df" - integrity sha512-g7nH6P6dyDioJogAAGprGpCtVImJhpPk/roCzdb3fIh61/s/nPsfR6onyMwkCAR/OlC3yBC0lESvUoQEAssIrw== - -depd@~1.1.2: - version "1.1.2" - resolved "https://registry.yarnpkg.com/depd/-/depd-1.1.2.tgz#9bcd52e14c097763e749b274c4346ed2e560b5a9" - integrity sha512-7emPTl6Dpo6JRXOXjLRxck+FlLRX5847cLKEn00PLAgc3g2hTZZgr+e4c2v6QpSmLeFP3n5yUo7ft6avBK/5jQ== - -deprecation@^2.0.0, deprecation@^2.3.1: - version "2.3.1" - resolved "https://registry.yarnpkg.com/deprecation/-/deprecation-2.3.1.tgz#6368cbdb40abf3373b525ac87e4a260c3a700919" - integrity sha512-xmHIy4F3scKVwMsQ4WnVaS8bHOx0DmVwRywosKhaILI0ywMDWPtBSku2HNxRvF7jtwDRsoEwYQSfbxj8b7RlJQ== - -dequal@^2.0.0, dequal@^2.0.2, dequal@^2.0.3: - version "2.0.3" - resolved "https://registry.yarnpkg.com/dequal/-/dequal-2.0.3.tgz#2644214f1997d39ed0ee0ece72335490a7ac67be" - integrity sha512-0je+qPKHEMohvfRTCEo3CrPG6cAzAYgmzKyxRiYSSDkS6eGJdyVJm7WaYA5ECaAD9wLB2T4EEeymA5aFVcYXCA== - -destroy@1.2.0: - version "1.2.0" - resolved "https://registry.yarnpkg.com/destroy/-/destroy-1.2.0.tgz#4803735509ad8be552934c67df614f94e66fa015" - integrity sha512-2sJGJTaXIIaR1w4iJSNoN0hnMY7Gpc/n8D4qSCJw8QqFWXf7cuAgnEHxBpweaVcPevC2l3KpjYCx3NypQQgaJg== - -detect-indent@^5.0.0: - version "5.0.0" - resolved "https://registry.yarnpkg.com/detect-indent/-/detect-indent-5.0.0.tgz#3871cc0a6a002e8c3e5b3cf7f336264675f06b9d" - integrity sha512-rlpvsxUtM0PQvy9iZe640/IWwWYyBsTApREbA1pHOpmOUIl9MkP/U4z7vTtg4Oaojvqhxt7sdufnT0EzGaR31g== - -detect-indent@^6.0.0: - version "6.1.0" - resolved "https://registry.yarnpkg.com/detect-indent/-/detect-indent-6.1.0.tgz#592485ebbbf6b3b1ab2be175c8393d04ca0d57e6" - integrity sha512-reYkTUJAZb9gUuZ2RvVCNhVHdg62RHnJ7WJl8ftMi4diZ6NWlciOzQN88pUhSELEwflJht4oQDv0F0BMlwaYtA== - -detect-libc@^1.0.2: - version "1.0.3" - resolved "https://registry.yarnpkg.com/detect-libc/-/detect-libc-1.0.3.tgz#fa137c4bd698edf55cd5cd02ac559f91a4c4ba9b" - integrity sha512-pGjwhsmsp4kL2RTz08wcOlGN83otlqHeD/Z5T8GXZB+/YcpQ/dgo+lbU8ZsGxV0HIvqqxo9l7mqYwyYMD9bKDg== - -detect-libc@^2.0.0: - version "2.0.3" - resolved "https://registry.yarnpkg.com/detect-libc/-/detect-libc-2.0.3.tgz#f0cd503b40f9939b894697d19ad50895e30cf700" - integrity sha512-bwy0MGW55bG41VqxxypOsdSdGqLwXPI/focwgTYCFMbdUiBAxLg9CFzG08sz2aqzknwiX7Hkl0bQENjg8iLByw== - -detect-newline@^3.0.0: - version "3.1.0" - resolved "https://registry.yarnpkg.com/detect-newline/-/detect-newline-3.1.0.tgz#576f5dfc63ae1a192ff192d8ad3af6308991b651" - integrity sha512-TLz+x/vEXm/Y7P7wn1EJFNLxYpUD4TgMosxY6fAVJUnJMbupHBOncxyWUG9OpTaH9EBD7uFI5LfEgmMOc54DsA== - -detective-amd@^3.1.0: - version "3.1.2" - resolved "https://registry.yarnpkg.com/detective-amd/-/detective-amd-3.1.2.tgz#bf55eb5291c218b76d6224a3d07932ef13a9a357" - integrity sha512-jffU26dyqJ37JHR/o44La6CxtrDf3Rt9tvd2IbImJYxWKTMdBjctp37qoZ6ZcY80RHg+kzWz4bXn39e4P7cctQ== - dependencies: - ast-module-types "^3.0.0" - escodegen "^2.0.0" - get-amd-module-type "^3.0.0" - node-source-walk "^4.2.0" - -detective-amd@^4.1.0: - version "4.2.0" - resolved "https://registry.yarnpkg.com/detective-amd/-/detective-amd-4.2.0.tgz#21c43465669f06cf894eef047a27e6e72ba6bc13" - integrity sha512-RbuEJHz78A8nW7CklkqTzd8lDCN42En53dgEIsya0DilpkwslamSZDasLg8dJyxbw46OxhSQeY+C2btdSkCvQQ== - dependencies: - ast-module-types "^4.0.0" - escodegen "^2.0.0" - get-amd-module-type "^4.1.0" - node-source-walk "^5.0.1" - -detective-cjs@^3.1.1: - version "3.1.3" - resolved "https://registry.yarnpkg.com/detective-cjs/-/detective-cjs-3.1.3.tgz#50e107d67b37f459b0ec02966ceb7e20a73f268b" - integrity sha512-ljs7P0Yj9MK64B7G0eNl0ThWSYjhAaSYy+fQcpzaKalYl/UoQBOzOeLCSFEY1qEBhziZ3w7l46KG/nH+s+L7BQ== - dependencies: - ast-module-types "^3.0.0" - node-source-walk "^4.0.0" - -detective-cjs@^4.1.0: - version "4.1.0" - resolved "https://registry.yarnpkg.com/detective-cjs/-/detective-cjs-4.1.0.tgz#56b1558ca0910933c7fc47c740b957f0280ff302" - integrity sha512-QxzMwt5MfPLwS7mG30zvnmOvHLx5vyVvjsAV6gQOyuMoBR5G1DhS1eJZ4P10AlH+HSnk93mTcrg3l39+24XCtg== - dependencies: - ast-module-types "^4.0.0" - node-source-walk "^5.0.1" - -detective-es6@^2.2.1: - version "2.2.2" - resolved "https://registry.yarnpkg.com/detective-es6/-/detective-es6-2.2.2.tgz#ee5f880981d9fecae9a694007029a2f6f26d8d28" - integrity sha512-eZUKCUsbHm8xoeoCM0z6JFwvDfJ5Ww5HANo+jPR7AzkFpW9Mun3t/TqIF2jjeWa2TFbAiGaWESykf2OQp3oeMw== - dependencies: - node-source-walk "^4.0.0" - -detective-es6@^3.0.1: - version "3.0.1" - resolved "https://registry.yarnpkg.com/detective-es6/-/detective-es6-3.0.1.tgz#53a15fbb2f298c4a106d9fe7427da8a57162dde6" - integrity sha512-evPeYIEdK1jK3Oji5p0hX4sPV/1vK+o4ihcWZkMQE6voypSW/cIBiynOLxQk5KOOQbdP8oOAsYqouMTYO5l1sw== - dependencies: - node-source-walk "^5.0.0" - -detective-less@^1.0.2: - version "1.0.2" - resolved "https://registry.yarnpkg.com/detective-less/-/detective-less-1.0.2.tgz#a68af9ca5f69d74b7d0aa190218b211d83b4f7e3" - integrity sha512-Rps1xDkEEBSq3kLdsdnHZL1x2S4NGDcbrjmd4q+PykK5aJwDdP5MBgrJw1Xo+kyUHuv3JEzPqxr+Dj9ryeDRTA== - dependencies: - debug "^4.0.0" - gonzales-pe "^4.2.3" - node-source-walk "^4.0.0" - -detective-postcss@^4.0.0: - version "4.0.0" - resolved "https://registry.yarnpkg.com/detective-postcss/-/detective-postcss-4.0.0.tgz#24e69b465e5fefe7a6afd05f7e894e34595dbf51" - integrity sha512-Fwc/g9VcrowODIAeKRWZfVA/EufxYL7XfuqJQFroBKGikKX83d2G7NFw6kDlSYGG3LNQIyVa+eWv1mqre+v4+A== - dependencies: - debug "^4.1.1" - is-url "^1.2.4" - postcss "^8.1.7" - postcss-values-parser "^2.0.1" - -detective-postcss@^6.1.1: - version "6.1.3" - resolved "https://registry.yarnpkg.com/detective-postcss/-/detective-postcss-6.1.3.tgz#51a2d4419327ad85d0af071c7054c79fafca7e73" - integrity sha512-7BRVvE5pPEvk2ukUWNQ+H2XOq43xENWbH0LcdCE14mwgTBEAMoAx+Fc1rdp76SmyZ4Sp48HlV7VedUnP6GA1Tw== - dependencies: - is-url "^1.2.4" - postcss "^8.4.23" - postcss-values-parser "^6.0.2" - -detective-sass@^3.0.1: - version "3.0.2" - resolved "https://registry.yarnpkg.com/detective-sass/-/detective-sass-3.0.2.tgz#e0f35aac79a4d2f6409c284d95b8f7ecd5973afd" - integrity sha512-DNVYbaSlmti/eztFGSfBw4nZvwsTaVXEQ4NsT/uFckxhJrNRFUh24d76KzoCC3aarvpZP9m8sC2L1XbLej4F7g== - dependencies: - gonzales-pe "^4.3.0" - node-source-walk "^4.0.0" - -detective-sass@^4.1.1: - version "4.1.3" - resolved "https://registry.yarnpkg.com/detective-sass/-/detective-sass-4.1.3.tgz#6cdcc27ae8a90d15704e0ba83683048f77f10b75" - integrity sha512-xGRbwGaGte57gvEqM8B9GDiURY3El/H49vA6g9wFkxq9zalmTlTAuqWu+BsH0iwonGPruLt55tZZDEZqPc6lag== - dependencies: - gonzales-pe "^4.3.0" - node-source-walk "^5.0.1" - -detective-scss@^2.0.1: - version "2.0.2" - resolved "https://registry.yarnpkg.com/detective-scss/-/detective-scss-2.0.2.tgz#7d2a642616d44bf677963484fa8754d9558b8235" - integrity sha512-hDWnWh/l0tht/7JQltumpVea/inmkBaanJUcXRB9kEEXVwVUMuZd6z7eusQ6GcBFrfifu3pX/XPyD7StjbAiBg== - dependencies: - gonzales-pe "^4.3.0" - node-source-walk "^4.0.0" - -detective-scss@^3.0.1: - version "3.1.1" - resolved "https://registry.yarnpkg.com/detective-scss/-/detective-scss-3.1.1.tgz#b49f05cadfb0837b04e23baba292581b7c7f65e1" - integrity sha512-FWkfru1jZBhUeuBsOeGKXKAVDrzYFSQFK2o2tuG/nCCFQ0U/EcXC157MNAcR5mmj+mCeneZzlkBOFJTesDjrww== - dependencies: - gonzales-pe "^4.3.0" - node-source-walk "^5.0.1" - -detective-stylus@^1.0.0: - version "1.0.3" - resolved "https://registry.yarnpkg.com/detective-stylus/-/detective-stylus-1.0.3.tgz#20a702936c9fd7d4203fd7a903314b5dd43ac713" - integrity sha512-4/bfIU5kqjwugymoxLXXLltzQNeQfxGoLm2eIaqtnkWxqbhap9puDVpJPVDx96hnptdERzS5Cy6p9N8/08A69Q== - -detective-stylus@^3.0.0: - version "3.0.0" - resolved "https://registry.yarnpkg.com/detective-stylus/-/detective-stylus-3.0.0.tgz#c869795a7d6df7043ab6aee8b1a6f3dd66764232" - integrity sha512-1xYTzbrduExqMYmte7Qk99IRA3Aa6oV7PYzd+3yDcQXkmENvyGF/arripri6lxRDdNYEb4fZFuHtNRAXbz3iAA== - -detective-typescript@^7.0.0: - version "7.0.2" - resolved "https://registry.yarnpkg.com/detective-typescript/-/detective-typescript-7.0.2.tgz#c6e00b4c28764741ef719662250e6b014a5f3c8e" - integrity sha512-unqovnhxzvkCz3m1/W4QW4qGsvXCU06aU2BAm8tkza+xLnp9SOFnob2QsTxUv5PdnQKfDvWcv9YeOeFckWejwA== - dependencies: - "@typescript-eslint/typescript-estree" "^4.33.0" - ast-module-types "^2.7.1" - node-source-walk "^4.2.0" - typescript "^3.9.10" - -detective-typescript@^9.1.1: - version "9.1.1" - resolved "https://registry.yarnpkg.com/detective-typescript/-/detective-typescript-9.1.1.tgz#b99c0122cbb35b39de2c5f58447f1e93ac28c6d5" - integrity sha512-Uc1yVutTF0RRm1YJ3g//i1Cn2vx1kwHj15cnzQP6ff5koNzQ0idc1zAC73ryaWEulA0ElRXFTq6wOqe8vUQ3MA== - dependencies: - "@typescript-eslint/typescript-estree" "^5.55.0" - ast-module-types "^4.0.0" - node-source-walk "^5.0.1" - typescript "^4.9.5" - -devlop@^1.0.0, devlop@^1.1.0: - version "1.1.0" - resolved "https://registry.yarnpkg.com/devlop/-/devlop-1.1.0.tgz#4db7c2ca4dc6e0e834c30be70c94bbc976dc7018" - integrity sha512-RWmIqhcFf1lRYBvNmr7qTNuyCt/7/ns2jbpp1+PalgE/rDQcBT0fioSMUpJ93irlUhC5hrg4cYqe6U+0ImW0rA== - dependencies: - dequal "^2.0.0" - -dezalgo@^1.0.0: - version "1.0.4" - resolved "https://registry.yarnpkg.com/dezalgo/-/dezalgo-1.0.4.tgz#751235260469084c132157dfa857f386d4c33d81" - integrity sha512-rXSP0bf+5n0Qonsb+SVVfNfIsimO4HEtmnIpPHY8Q1UCzKlQrDMfdobr8nJOOsRgWCyMRqeSBQzmWUMq7zvVig== - dependencies: - asap "^2.0.0" - wrappy "1" - -diff-sequences@^29.6.3: - version "29.6.3" - resolved "https://registry.yarnpkg.com/diff-sequences/-/diff-sequences-29.6.3.tgz#4deaf894d11407c51efc8418012f9e70b84ea921" - integrity sha512-EjePK1srD3P08o2j4f0ExnylqRs5B9tJjcp9t1krH2qRi8CCdsYfwe9JgSLurFBWwq4uOlipzfk5fHNvwFKr8Q== - -diff@^4.0.1: - version "4.0.2" - resolved "https://registry.yarnpkg.com/diff/-/diff-4.0.2.tgz#60f3aecb89d5fae520c11aa19efc2bb982aade7d" - integrity sha512-58lmxKSA4BNyLz+HHMUzlOEpg09FV+ev6ZMe3vJihgdxzgcwZ8VoEEPmALCZG9LmqfVoNMMKpttIYTVG6uDY7A== - -diff@^5.0.0: - version "5.2.0" - resolved "https://registry.yarnpkg.com/diff/-/diff-5.2.0.tgz#26ded047cd1179b78b9537d5ef725503ce1ae531" - integrity sha512-uIFDxqpRZGZ6ThOk84hEfqWoHx2devRFvpTZcTHur85vImfaxUbTW9Ryh4CpCuDnToOP1CEtXKIgytHBPVff5A== - -diffable-html@^4.1.0: - version "4.1.0" - resolved "https://registry.yarnpkg.com/diffable-html/-/diffable-html-4.1.0.tgz#e7a2d1de187c4e23a59751b4e4c17483a058c696" - integrity sha512-++kyNek+YBLH8cLXS+iTj/Hiy2s5qkRJEJ8kgu/WHbFrVY2vz9xPFUT+fii2zGF0m1CaojDlQJjkfrCt7YWM1g== - dependencies: - htmlparser2 "^3.9.2" - -dir-glob@^2.2.2: - version "2.2.2" - resolved "https://registry.yarnpkg.com/dir-glob/-/dir-glob-2.2.2.tgz#fa09f0694153c8918b18ba0deafae94769fc50c4" - integrity sha512-f9LBi5QWzIW3I6e//uxZoLBlUt9kcp66qo0sSCxL6YZKc75R1c4MFCoe/LaZiBGmgujvQdxc5Bn3QhfyvK5Hsw== - dependencies: - path-type "^3.0.0" - -dir-glob@^3.0.1: - version "3.0.1" - resolved "https://registry.yarnpkg.com/dir-glob/-/dir-glob-3.0.1.tgz#56dbf73d992a4a93ba1584f4534063fd2e41717f" - integrity sha512-WkrWp9GR4KXfKGYzOLmTuGVi1UWFfws377n9cc55/tb6DuqyF6pcQ5AbiHEshaDpY9v6oaSr2XCDidGmMwdzIA== - dependencies: - path-type "^4.0.0" - -doctrine@^2.1.0: - version "2.1.0" - resolved "https://registry.yarnpkg.com/doctrine/-/doctrine-2.1.0.tgz#5cd01fc101621b42c4cd7f5d1a66243716d3f39d" - integrity sha512-35mSku4ZXK0vfCuHEDAwt55dg2jNajHZ1odvF+8SSr82EsZY4QmXfuWso8oEd8zRhVObSN18aM0CjSdoBX7zIw== - dependencies: - esutils "^2.0.2" - -doctrine@^3.0.0: - version "3.0.0" - resolved "https://registry.yarnpkg.com/doctrine/-/doctrine-3.0.0.tgz#addebead72a6574db783639dc87a121773973961" - integrity sha512-yS+Q5i3hBf7GBkd4KG8a7eBNNWNGLTaEwwYWUijIYM7zrlYDM0BFXHjjPWlWZ1Rg7UaddZeIDmi9jF3HmqiQ2w== - dependencies: - esutils "^2.0.2" - -dom-accessibility-api@^0.5.9: - version "0.5.16" - resolved "https://registry.yarnpkg.com/dom-accessibility-api/-/dom-accessibility-api-0.5.16.tgz#5a7429e6066eb3664d911e33fb0e45de8eb08453" - integrity sha512-X7BJ2yElsnOJ30pZF4uIIDfBEVgF4XEBxL9Bxhy6dnrm5hkzqmsWHGTiHqRiITNhMyFLyAiWndIJP7Z1NTteDg== - -dom-accessibility-api@^0.6.3: - version "0.6.3" - resolved "https://registry.yarnpkg.com/dom-accessibility-api/-/dom-accessibility-api-0.6.3.tgz#993e925cc1d73f2c662e7d75dd5a5445259a8fd8" - integrity sha512-7ZgogeTnjuHbo+ct10G9Ffp0mif17idi0IyWNVA/wcwcm7NPOD/WEHVP3n7n3MhXqxoIYm8d6MuZohYWIZ4T3w== - -dom-converter@^0.2.0: - version "0.2.0" - resolved "https://registry.yarnpkg.com/dom-converter/-/dom-converter-0.2.0.tgz#6721a9daee2e293682955b6afe416771627bb768" - integrity sha512-gd3ypIPfOMr9h5jIKq8E3sHOTCjeirnl0WK5ZdS1AW0Odt0b1PaWaHdJ4Qk4klv+YB9aJBS7mESXjFoDQPu6DA== - dependencies: - utila "~0.4" - -dom-serializer@0: - version "0.2.2" - resolved "https://registry.yarnpkg.com/dom-serializer/-/dom-serializer-0.2.2.tgz#1afb81f533717175d478655debc5e332d9f9bb51" - integrity sha512-2/xPb3ORsQ42nHYiSunXkDjPLBaEj/xTwUO4B7XCZQTRk7EBtTOPaygh10YAAh2OI1Qrp6NWfpAhzswj0ydt9g== - dependencies: - domelementtype "^2.0.1" - entities "^2.0.0" - -dom-serializer@^1.0.1: - version "1.4.1" - resolved "https://registry.yarnpkg.com/dom-serializer/-/dom-serializer-1.4.1.tgz#de5d41b1aea290215dc45a6dae8adcf1d32e2d30" - integrity sha512-VHwB3KfrcOOkelEG2ZOfxqLZdfkil8PtJi4P8N2MMXucZq2yLp75ClViUlOVwyoHEDjYU433Aq+5zWP61+RGag== - dependencies: - domelementtype "^2.0.1" - domhandler "^4.2.0" - entities "^2.0.0" - -dom-serializer@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/dom-serializer/-/dom-serializer-2.0.0.tgz#e41b802e1eedf9f6cae183ce5e622d789d7d8e53" - integrity sha512-wIkAryiqt/nV5EQKqQpo3SToSOV9J0DnbJqwK7Wv/Trc92zIAYZ4FlMu+JPFW1DfGFt81ZTCGgDEabffXeLyJg== - dependencies: - domelementtype "^2.3.0" - domhandler "^5.0.2" - entities "^4.2.0" - -domelementtype@1, domelementtype@^1.3.1: - version "1.3.1" - resolved "https://registry.yarnpkg.com/domelementtype/-/domelementtype-1.3.1.tgz#d048c44b37b0d10a7f2a3d5fee3f4333d790481f" - integrity sha512-BSKB+TSpMpFI/HOxCNr1O8aMOTZ8hT3pM3GQ0w/mWRmkhEDSFJkkyzz4XQsBV44BChwGkrDfMyjVD0eA2aFV3w== - -domelementtype@^2.0.1, domelementtype@^2.2.0, domelementtype@^2.3.0: - version "2.3.0" - resolved "https://registry.yarnpkg.com/domelementtype/-/domelementtype-2.3.0.tgz#5c45e8e869952626331d7aab326d01daf65d589d" - integrity sha512-OLETBj6w0OsagBwdXnPdN0cnMfF9opN69co+7ZrbfPGrdpPVNBUj02spi6B1N7wChLQiPn4CSH/zJvXw56gmHw== - -domexception@^4.0.0: - version "4.0.0" - resolved "https://registry.yarnpkg.com/domexception/-/domexception-4.0.0.tgz#4ad1be56ccadc86fc76d033353999a8037d03673" - integrity sha512-A2is4PLG+eeSfoTMA95/s4pvAoSo2mKtiM5jlHkAVewmiO8ISFTFKZjH7UAM1Atli/OT/7JHOrJRJiMKUZKYBw== - dependencies: - webidl-conversions "^7.0.0" - -domhandler@^2.3.0: - version "2.4.2" - resolved "https://registry.yarnpkg.com/domhandler/-/domhandler-2.4.2.tgz#8805097e933d65e85546f726d60f5eb88b44f803" - integrity sha512-JiK04h0Ht5u/80fdLMCEmV4zkNh2BcoMFBmZ/91WtYZ8qVXSKjiw7fXMgFPnHcSZgOo3XdinHvmnDUeMf5R4wA== - dependencies: - domelementtype "1" - -domhandler@^4.0.0, domhandler@^4.2.0, domhandler@^4.3.1: - version "4.3.1" - resolved "https://registry.yarnpkg.com/domhandler/-/domhandler-4.3.1.tgz#8d792033416f59d68bc03a5aa7b018c1ca89279c" - integrity sha512-GrwoxYN+uWlzO8uhUXRl0P+kHE4GtVPfYzVLcUxPL7KNdHKj66vvlhiweIHqYYXWlw+T8iLMp42Lm67ghw4WMQ== - dependencies: - domelementtype "^2.2.0" - -domhandler@^5.0.2, domhandler@^5.0.3: - version "5.0.3" - resolved "https://registry.yarnpkg.com/domhandler/-/domhandler-5.0.3.tgz#cc385f7f751f1d1fc650c21374804254538c7d31" - integrity sha512-cgwlv/1iFQiFnU96XXgROh8xTeetsnJiDsTc7TYCLFd9+/WNkIqPTxiM/8pSd8VIrhXGTf1Ny1q1hquVqDJB5w== - dependencies: - domelementtype "^2.3.0" - -domutils@^1.5.1: - version "1.7.0" - resolved "https://registry.yarnpkg.com/domutils/-/domutils-1.7.0.tgz#56ea341e834e06e6748af7a1cb25da67ea9f8c2a" - integrity sha512-Lgd2XcJ/NjEw+7tFvfKxOzCYKZsdct5lczQ2ZaQY8Djz7pfAD3Gbp8ySJWtreII/vDlMVmxwa6pHmdxIYgttDg== - dependencies: - dom-serializer "0" - domelementtype "1" - -domutils@^2.5.2, domutils@^2.8.0: - version "2.8.0" - resolved "https://registry.yarnpkg.com/domutils/-/domutils-2.8.0.tgz#4437def5db6e2d1f5d6ee859bd95ca7d02048135" - integrity sha512-w96Cjofp72M5IIhpjgobBimYEfoPjx1Vx0BSX9P30WBdZW2WIKU0T1Bd0kz2eNZ9ikjKgHbEyKx8BB6H1L3h3A== - dependencies: - dom-serializer "^1.0.1" - domelementtype "^2.2.0" - domhandler "^4.2.0" - -domutils@^3.0.1: - version "3.1.0" - resolved "https://registry.yarnpkg.com/domutils/-/domutils-3.1.0.tgz#c47f551278d3dc4b0b1ab8cbb42d751a6f0d824e" - integrity sha512-H78uMmQtI2AhgDJjWeQmHwJJ2bLPD3GMmO7Zja/ZZh84wkm+4ut+IUnUdRa8uCGX88DiVx1j6FRe1XfxEgjEZA== - dependencies: - dom-serializer "^2.0.0" - domelementtype "^2.3.0" - domhandler "^5.0.3" - -dot-case@^3.0.4: - version "3.0.4" - resolved "https://registry.yarnpkg.com/dot-case/-/dot-case-3.0.4.tgz#9b2b670d00a431667a8a75ba29cd1b98809ce751" - integrity sha512-Kv5nKlh6yRrdrGvxeJ2e5y2eRUpkUosIW4A2AS38zwSz27zu7ufDwQPi5Jhs3XAlGNetl3bmnGhQsMtkKJnj3w== - dependencies: - no-case "^3.0.4" - tslib "^2.0.3" - -dot-prop@6.0.1, dot-prop@^6.0.0: - version "6.0.1" - resolved "https://registry.yarnpkg.com/dot-prop/-/dot-prop-6.0.1.tgz#fc26b3cf142b9e59b74dbd39ed66ce620c681083" - integrity sha512-tE7ztYzXHIeyvc7N+hR3oi7FIbf/NIjVP9hmAt3yMXzrQ072/fpjGLx2GxNxGxUl5V73MEqYzioOMoVhGMJ5cA== - dependencies: - is-obj "^2.0.0" - -dot-prop@^5.1.0, dot-prop@^5.2.0: - version "5.3.0" - resolved "https://registry.yarnpkg.com/dot-prop/-/dot-prop-5.3.0.tgz#90ccce708cd9cd82cc4dc8c3ddd9abdd55b20e88" - integrity sha512-QM8q3zDe58hqUqjraQOmzZ1LIH9SWQJTlEKCH4kJ2oQvLZk7RbQXvtDM2XEq3fwkV9CCvvH4LA0AV+ogFsBM2Q== - dependencies: - is-obj "^2.0.0" - -dot-prop@^7.0.0: - version "7.2.0" - resolved "https://registry.yarnpkg.com/dot-prop/-/dot-prop-7.2.0.tgz#468172a3529779814d21a779c1ba2f6d76609809" - integrity sha512-Ol/IPXUARn9CSbkrdV4VJo7uCy1I3VuSiWCaFSg+8BdUOzF9n3jefIpcgAydvUZbTdEBZs2vEiTiS9m61ssiDA== - dependencies: - type-fest "^2.11.2" - -dotenv@^10.0.0, dotenv@~10.0.0: - version "10.0.0" - resolved "https://registry.yarnpkg.com/dotenv/-/dotenv-10.0.0.tgz#3d4227b8fb95f81096cdd2b66653fb2c7085ba81" - integrity sha512-rlBi9d8jpv9Sf1klPjNfFAuWDjKLwTIJJ/VxtoTwIR6hnZxcEOQCZg2oIL3MWBYw5GpUDKOEnND7LXTbIpQ03Q== - -dotenv@^16.3.1: - version "16.4.5" - resolved "https://registry.yarnpkg.com/dotenv/-/dotenv-16.4.5.tgz#cdd3b3b604cb327e286b4762e13502f717cb099f" - integrity sha512-ZmdL2rui+eB2YwhsWzjInR8LldtZHGDoQ1ugH85ppHKwpUHL7j7rN0Ti9NCnGiQbhaZ11FpR+7ao1dNsmduNUg== - -download@^8.0.0: - version "8.0.0" - resolved "https://registry.yarnpkg.com/download/-/download-8.0.0.tgz#afc0b309730811731aae9f5371c9f46be73e51b1" - integrity sha512-ASRY5QhDk7FK+XrQtQyvhpDKanLluEEQtWl/J7Lxuf/b+i8RYh997QeXvL85xitrmRKVlx9c7eTrcRdq2GS4eA== - dependencies: - archive-type "^4.0.0" - content-disposition "^0.5.2" - decompress "^4.2.1" - ext-name "^5.0.0" - file-type "^11.1.0" - filenamify "^3.0.0" - get-stream "^4.1.0" - got "^8.3.1" - make-dir "^2.1.0" - p-event "^2.1.0" - pify "^4.0.1" - -duplexer3@^0.1.4: - version "0.1.5" - resolved "https://registry.yarnpkg.com/duplexer3/-/duplexer3-0.1.5.tgz#0b5e4d7bad5de8901ea4440624c8e1d20099217e" - integrity sha512-1A8za6ws41LQgv9HrE/66jyC5yuSjQ3L/KOpFtoBilsAK2iA2wuS5rTt1OCzIvtS2V7nVmedsUU+DGRcjBmOYA== - -duplexer@^0.1.1: - version "0.1.2" - resolved "https://registry.yarnpkg.com/duplexer/-/duplexer-0.1.2.tgz#3abe43aef3835f8ae077d136ddce0f276b0400e6" - integrity sha512-jtD6YG370ZCIi/9GTaJKQxWTZD045+4R4hTk/x1UyoqadyJ9x9CgSi1RlVDQF8U2sxLLSnFkCaMihqljHIWgMg== - -eastasianwidth@^0.2.0: - version "0.2.0" - resolved "https://registry.yarnpkg.com/eastasianwidth/-/eastasianwidth-0.2.0.tgz#696ce2ec0aa0e6ea93a397ffcf24aa7840c827cb" - integrity sha512-I88TYZWc9XiYHRQ4/3c5rjjfgkjhLyW2luGIheGERbNQ6OY7yTybanSpDXZa8y7VUP9YmDcYa+eyq4ca7iLqWA== - -ee-first@1.1.1: - version "1.1.1" - resolved "https://registry.yarnpkg.com/ee-first/-/ee-first-1.1.1.tgz#590c61156b0ae2f4f0255732a158b266bc56b21d" - integrity sha512-WMwm9LhRUo+WUaRN+vRuETqG89IgZphVSNkdFgeb6sS/E4OrDIN7t48CAewSHXc6C8lefD8KKfr5vY61brQlow== - -ejs@^3.1.10, ejs@^3.1.7: - version "3.1.10" - resolved "https://registry.yarnpkg.com/ejs/-/ejs-3.1.10.tgz#69ab8358b14e896f80cc39e62087b88500c3ac3b" - integrity sha512-UeJmFfOrAQS8OJWPZ4qtgHyWExa088/MtK5UEyoJGFH67cDEXkZSviOiKRCZ4Xij0zxI3JECgYs3oKx+AizQBA== - dependencies: - jake "^10.8.5" - -electron-to-chromium@^1.5.28: - version "1.5.41" - resolved "https://registry.yarnpkg.com/electron-to-chromium/-/electron-to-chromium-1.5.41.tgz#eae1ba6c49a1a61d84cf8263351d3513b2bcc534" - integrity sha512-dfdv/2xNjX0P8Vzme4cfzHqnPm5xsZXwsolTYr0eyW18IUmNyG08vL+fttvinTfhKfIKdRoqkDIC9e9iWQCNYQ== - -elegant-spinner@^1.0.1: - version "1.0.1" - resolved "https://registry.yarnpkg.com/elegant-spinner/-/elegant-spinner-1.0.1.tgz#db043521c95d7e303fd8f345bedc3349cfb0729e" - integrity sha512-B+ZM+RXvRqQaAmkMlO/oSe5nMUOaUnyfGYCEHoR8wrXsZR2mA0XVibsxV1bvTwxdRWah1PkQqso2EzhILGHtEQ== - -elf-cam@^0.1.1: - version "0.1.1" - resolved "https://registry.yarnpkg.com/elf-cam/-/elf-cam-0.1.1.tgz#46883b10835ed9e417860636a870d57490ce9eda" - integrity sha512-tKSFTWOp5OwJSp6MKyQDX7umYDkvUuI8rxHXw8BuUQ63d9Trj9xLeo6SHyoTGSoZNNZVitFa+RuHHXuoAzN3Rw== - -emittery@^0.13.1: - version "0.13.1" - resolved "https://registry.yarnpkg.com/emittery/-/emittery-0.13.1.tgz#c04b8c3457490e0847ae51fced3af52d338e3dad" - integrity sha512-DeWwawk6r5yR9jFgnDKYt4sLS0LmHJJi3ZOnb5/JdbYwj3nW+FxQnHIjhBKz8YLC7oRNPVM9NQ47I3CVx34eqQ== - -emoji-regex@^8.0.0: - version "8.0.0" - resolved "https://registry.yarnpkg.com/emoji-regex/-/emoji-regex-8.0.0.tgz#e818fd69ce5ccfcb404594f842963bf53164cc37" - integrity sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A== - -emoji-regex@^9.2.2: - version "9.2.2" - resolved "https://registry.yarnpkg.com/emoji-regex/-/emoji-regex-9.2.2.tgz#840c8803b0d8047f4ff0cf963176b32d4ef3ed72" - integrity sha512-L18DaJsXSUk2+42pv8mLs5jJT2hqFkFE4j21wOmgbUqsZ2hL72NsUU785g9RXgo3s0ZNgVl42TiHp3ZtOv/Vyg== - -emojis-list@^3.0.0: - version "3.0.0" - resolved "https://registry.yarnpkg.com/emojis-list/-/emojis-list-3.0.0.tgz#5570662046ad29e2e916e71aae260abdff4f6a78" - integrity sha512-/kyM18EfinwXZbno9FyUGeFh87KC8HRQBQGildHZbEuRyWFOmv1U10o9BBp8XVZDVNNuQKyIGIu5ZYAAXJ0V2Q== - -enabled@2.0.x: - version "2.0.0" - resolved "https://registry.yarnpkg.com/enabled/-/enabled-2.0.0.tgz#f9dd92ec2d6f4bbc0d5d1e64e21d61cd4665e7c2" - integrity sha512-AKrN98kuwOzMIdAizXGI86UFBoo26CL21UM763y1h/GMSJ4/OHU9k2YlsmBpyScFo/wbLzWQJBMCW4+IO3/+OQ== - -encodeurl@~1.0.2: - version "1.0.2" - resolved "https://registry.yarnpkg.com/encodeurl/-/encodeurl-1.0.2.tgz#ad3ff4c86ec2d029322f5a02c3a9a606c95b3f59" - integrity sha512-TPJXq8JqFaVYm2CWmPvnP2Iyo4ZSM7/QKcSmuMLDObfpH5fi7RUGmd/rTDf+rut/saiDiQEeVTNgAmJEdAOx0w== - -encodeurl@~2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/encodeurl/-/encodeurl-2.0.0.tgz#7b8ea898077d7e409d3ac45474ea38eaf0857a58" - integrity sha512-Q0n9HRi4m6JuGIV1eFlmvJB7ZEVxu93IrMyiMsGC0lrMJMWzRgx6WGquyfQgZVb31vhGgXnfmPNNXmxnOkRBrg== - -encoding@^0.1.13: - version "0.1.13" - resolved "https://registry.yarnpkg.com/encoding/-/encoding-0.1.13.tgz#56574afdd791f54a8e9b2785c0582a2d26210fa9" - integrity sha512-ETBauow1T35Y/WZMkio9jiM0Z5xjHHmJ4XmjZOq1l/dXz3lr2sRn87nJy20RupqSh1F2m3HHPSp8ShIPQJrJ3A== - dependencies: - iconv-lite "^0.6.2" - -end-of-stream@^1.0.0, end-of-stream@^1.1.0, end-of-stream@^1.4.1, end-of-stream@^1.4.4: - version "1.4.4" - resolved "https://registry.yarnpkg.com/end-of-stream/-/end-of-stream-1.4.4.tgz#5ae64a5f45057baf3626ec14da0ca5e4b2431eb0" - integrity sha512-+uw1inIHVPQoaVuHzRyXd21icM+cnt4CzD5rW+NC1wjOUSTOs+Te7FOv7AhN7vS9x/oIyhLP5PR1H+phQAHu5Q== - dependencies: - once "^1.4.0" - -endent@^2.0.1: - version "2.1.0" - resolved "https://registry.yarnpkg.com/endent/-/endent-2.1.0.tgz#5aaba698fb569e5e18e69e1ff7a28ff35373cd88" - integrity sha512-r8VyPX7XL8U01Xgnb1CjZ3XV+z90cXIJ9JPE/R9SEC9vpw2P6CfsRPJmp20DppC5N7ZAMCmjYkJIa744Iyg96w== - dependencies: - dedent "^0.7.0" - fast-json-parse "^1.0.3" - objectorarray "^1.0.5" - -enhanced-resolve@^5.17.1, enhanced-resolve@^5.7.0: - version "5.17.1" - resolved "https://registry.yarnpkg.com/enhanced-resolve/-/enhanced-resolve-5.17.1.tgz#67bfbbcc2f81d511be77d686a90267ef7f898a15" - integrity sha512-LMHl3dXhTcfv8gM4kEzIUeTQ+7fpdA0l2tUf34BddXPkz2A5xJ5L/Pchd5BL6rdccM9QGvu0sWZzK1Z1t4wwyg== - dependencies: - graceful-fs "^4.2.4" - tapable "^2.2.0" - -enquirer@^2.3.0: - version "2.4.1" - resolved "https://registry.yarnpkg.com/enquirer/-/enquirer-2.4.1.tgz#93334b3fbd74fc7097b224ab4a8fb7e40bf4ae56" - integrity sha512-rRqJg/6gd538VHvR3PSrdRBb/1Vy2YfzHqzvbhGIQpDRKIa4FgV/54b5Q1xYSxOOwKvjXweS26E0Q+nAMwp2pQ== - dependencies: - ansi-colors "^4.1.1" - strip-ansi "^6.0.1" - -enquirer@~2.3.6: - version "2.3.6" - resolved "https://registry.yarnpkg.com/enquirer/-/enquirer-2.3.6.tgz#2a7fe5dd634a1e4125a975ec994ff5456dc3734d" - integrity sha512-yjNnPr315/FjS4zIsUxYguYUPP2e1NK4d7E7ZOLiyYCcbFBiTMyID+2wvm2w6+pZ/odMA7cRkjhsPbltwBOrLg== - dependencies: - ansi-colors "^4.1.1" - -entities@^1.1.1: - version "1.1.2" - resolved "https://registry.yarnpkg.com/entities/-/entities-1.1.2.tgz#bdfa735299664dfafd34529ed4f8522a275fea56" - integrity sha512-f2LZMYl1Fzu7YSBKg+RoROelpOaNrcGmE9AZubeDfrCEia483oW4MI4VyFd5VNHIgQ/7qm1I0wUHK1eJnn2y2w== - -entities@^2.0.0: - version "2.2.0" - resolved "https://registry.yarnpkg.com/entities/-/entities-2.2.0.tgz#098dc90ebb83d8dffa089d55256b351d34c4da55" - integrity sha512-p92if5Nz619I0w+akJrLZH0MX0Pb5DX39XOwQTtXSdQQOaYH03S1uIQp4mhOZtAXrxq4ViO67YTiLBo2638o9A== - -entities@^4.2.0, entities@^4.4.0, entities@^4.5.0: - version "4.5.0" - resolved "https://registry.yarnpkg.com/entities/-/entities-4.5.0.tgz#5d268ea5e7113ec74c4d033b79ea5a35a488fb48" - integrity sha512-V0hjH4dGPh9Ao5p0MoRY6BVqtwCjhz6vI5LT8AJ55H+4g9/4vbHx1I54fS0XuclLhDHArPQCiMjDxjaL8fPxhw== - -env-paths@^2.2.0: - version "2.2.1" - resolved "https://registry.yarnpkg.com/env-paths/-/env-paths-2.2.1.tgz#420399d416ce1fbe9bc0a07c62fa68d67fd0f8f2" - integrity sha512-+h1lkLKhZMTYjog1VEpJNG7NZJWcuc2DDk/qsqSTRRCOXiLjeQ1d1/udrUGhqMxUgAlwKNZ0cf2uqan5GLuS2A== - -envinfo@^7.3.1, envinfo@^7.7.4: - version "7.14.0" - resolved "https://registry.yarnpkg.com/envinfo/-/envinfo-7.14.0.tgz#26dac5db54418f2a4c1159153a0b2ae980838aae" - integrity sha512-CO40UI41xDQzhLB1hWyqUKgFhs250pNcGbyGKe1l/e4FSaI/+YE4IMG76GDt0In67WLPACIITC+sOi08x4wIvg== - -err-code@^2.0.2: - version "2.0.3" - resolved "https://registry.yarnpkg.com/err-code/-/err-code-2.0.3.tgz#23c2f3b756ffdfc608d30e27c9a941024807e7f9" - integrity sha512-2bmlRpNKBxT/CRmPOlyISQpNj+qSeYvcym/uT0Jx2bMOlKLtSy1ZmLuVxSEKKyor/N5yhvp/ZiG1oE3DEYMSFA== - -error-ex@^1.3.1, error-ex@^1.3.2: - version "1.3.2" - resolved "https://registry.yarnpkg.com/error-ex/-/error-ex-1.3.2.tgz#b4ac40648107fdcdcfae242f428bea8a14d4f1bf" - integrity sha512-7dFHNmqeFSEt2ZBsCriorKnn3Z2pj+fd9kmI6QoWw4//DL+icEBfc0U7qJCisqrTsKTjw4fNFy2pW9OqStD84g== - dependencies: - is-arrayish "^0.2.1" - -error-stack-parser@^2.0.2, error-stack-parser@^2.0.3, error-stack-parser@^2.0.6: - version "2.1.4" - resolved "https://registry.yarnpkg.com/error-stack-parser/-/error-stack-parser-2.1.4.tgz#229cb01cdbfa84440bfa91876285b94680188286" - integrity sha512-Sk5V6wVazPhq5MhpO+AUxJn5x7XSXGl1R93Vn7i+zS15KDVxQijejNCrz8340/2bgLBjR9GtEG8ZVKONDjcqGQ== - dependencies: - stackframe "^1.3.4" - -es-abstract@^1.17.5, es-abstract@^1.22.1, es-abstract@^1.22.3, es-abstract@^1.23.0, es-abstract@^1.23.1, es-abstract@^1.23.2, es-abstract@^1.23.3: - version "1.23.3" - resolved "https://registry.yarnpkg.com/es-abstract/-/es-abstract-1.23.3.tgz#8f0c5a35cd215312573c5a27c87dfd6c881a0aa0" - integrity sha512-e+HfNH61Bj1X9/jLc5v1owaLYuHdeHHSQlkhCBiTK8rBvKaULl/beGMxwrMXjpYrv4pz22BlY570vVePA2ho4A== - dependencies: - array-buffer-byte-length "^1.0.1" - arraybuffer.prototype.slice "^1.0.3" - available-typed-arrays "^1.0.7" - call-bind "^1.0.7" - data-view-buffer "^1.0.1" - data-view-byte-length "^1.0.1" - data-view-byte-offset "^1.0.0" - es-define-property "^1.0.0" - es-errors "^1.3.0" - es-object-atoms "^1.0.0" - es-set-tostringtag "^2.0.3" - es-to-primitive "^1.2.1" - function.prototype.name "^1.1.6" - get-intrinsic "^1.2.4" - get-symbol-description "^1.0.2" - globalthis "^1.0.3" - gopd "^1.0.1" - has-property-descriptors "^1.0.2" - has-proto "^1.0.3" - has-symbols "^1.0.3" - hasown "^2.0.2" - internal-slot "^1.0.7" - is-array-buffer "^3.0.4" - is-callable "^1.2.7" - is-data-view "^1.0.1" - is-negative-zero "^2.0.3" - is-regex "^1.1.4" - is-shared-array-buffer "^1.0.3" - is-string "^1.0.7" - is-typed-array "^1.1.13" - is-weakref "^1.0.2" - object-inspect "^1.13.1" - object-keys "^1.1.1" - object.assign "^4.1.5" - regexp.prototype.flags "^1.5.2" - safe-array-concat "^1.1.2" - safe-regex-test "^1.0.3" - string.prototype.trim "^1.2.9" - string.prototype.trimend "^1.0.8" - string.prototype.trimstart "^1.0.8" - typed-array-buffer "^1.0.2" - typed-array-byte-length "^1.0.1" - typed-array-byte-offset "^1.0.2" - typed-array-length "^1.0.6" - unbox-primitive "^1.0.2" - which-typed-array "^1.1.15" - -es-define-property@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/es-define-property/-/es-define-property-1.0.0.tgz#c7faefbdff8b2696cf5f46921edfb77cc4ba3845" - integrity sha512-jxayLKShrEqqzJ0eumQbVhTYQM27CfT1T35+gCgDFoL82JLsXqTJ76zv6A0YLOgEnLUMvLzsDsGIrl8NFpT2gQ== - dependencies: - get-intrinsic "^1.2.4" - -es-errors@^1.2.1, es-errors@^1.3.0: - version "1.3.0" - resolved "https://registry.yarnpkg.com/es-errors/-/es-errors-1.3.0.tgz#05f75a25dab98e4fb1dcd5e1472c0546d5057c8f" - integrity sha512-Zf5H2Kxt2xjTvbJvP2ZWLEICxA6j+hAmMzIlypy4xcBg1vKVnx89Wy0GbS+kf5cwCVFFzdCFh2XSCFNULS6csw== - -es-get-iterator@^1.1.3: - version "1.1.3" - resolved "https://registry.yarnpkg.com/es-get-iterator/-/es-get-iterator-1.1.3.tgz#3ef87523c5d464d41084b2c3c9c214f1199763d6" - integrity sha512-sPZmqHBe6JIiTfN5q2pEi//TwxmAFHwj/XEuYjTuse78i8KxaqMTTzxPoFKuzRpDpTJ+0NAbpfenkmH2rePtuw== - dependencies: - call-bind "^1.0.2" - get-intrinsic "^1.1.3" - has-symbols "^1.0.3" - is-arguments "^1.1.1" - is-map "^2.0.2" - is-set "^2.0.2" - is-string "^1.0.7" - isarray "^2.0.5" - stop-iteration-iterator "^1.0.0" - -es-iterator-helpers@^1.0.19: - version "1.1.0" - resolved "https://registry.yarnpkg.com/es-iterator-helpers/-/es-iterator-helpers-1.1.0.tgz#f6d745d342aea214fe09497e7152170dc333a7a6" - integrity sha512-/SurEfycdyssORP/E+bj4sEu1CWw4EmLDsHynHwSXQ7utgbrMRWW195pTrCjFgFCddf/UkYm3oqKPRq5i8bJbw== - dependencies: - call-bind "^1.0.7" - define-properties "^1.2.1" - es-abstract "^1.23.3" - es-errors "^1.3.0" - es-set-tostringtag "^2.0.3" - function-bind "^1.1.2" - get-intrinsic "^1.2.4" - globalthis "^1.0.4" - has-property-descriptors "^1.0.2" - has-proto "^1.0.3" - has-symbols "^1.0.3" - internal-slot "^1.0.7" - iterator.prototype "^1.1.3" - safe-array-concat "^1.1.2" - -es-module-lexer@^0.9.0: - version "0.9.3" - resolved "https://registry.yarnpkg.com/es-module-lexer/-/es-module-lexer-0.9.3.tgz#6f13db00cc38417137daf74366f535c8eb438f19" - integrity sha512-1HQ2M2sPtxwnvOvT1ZClHyQDiggdNjURWpY2we6aMKCQiUVxTmVs2UYPLIrD84sS+kMdUwfBSylbJPwNnBrnHQ== - -es-module-lexer@^1.0.0, es-module-lexer@^1.2.1, es-module-lexer@^1.5.0: - version "1.5.4" - resolved "https://registry.yarnpkg.com/es-module-lexer/-/es-module-lexer-1.5.4.tgz#a8efec3a3da991e60efa6b633a7cad6ab8d26b78" - integrity sha512-MVNK56NiMrOwitFB7cqDwq0CQutbw+0BvLshJSse0MUNU+y1FC3bUS/AQg7oUng+/wKrrki7JfmwtVHkVfPLlw== - -es-object-atoms@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/es-object-atoms/-/es-object-atoms-1.0.0.tgz#ddb55cd47ac2e240701260bc2a8e31ecb643d941" - integrity sha512-MZ4iQ6JwHOBQjahnjwaC1ZtIBH+2ohjamzAO3oaHcXYup7qxjF2fixyH+Q71voWHeOkI2q/TnJao/KfXYIZWbw== - dependencies: - es-errors "^1.3.0" - -es-set-tostringtag@^2.0.3: - version "2.0.3" - resolved "https://registry.yarnpkg.com/es-set-tostringtag/-/es-set-tostringtag-2.0.3.tgz#8bb60f0a440c2e4281962428438d58545af39777" - integrity sha512-3T8uNMC3OQTHkFUsFq8r/BwAXLHvU/9O9mE0fBc/MY5iq/8H7ncvO947LmYA6ldWw9Uh8Yhf25zu6n7nML5QWQ== - dependencies: - get-intrinsic "^1.2.4" - has-tostringtag "^1.0.2" - hasown "^2.0.1" - -es-shim-unscopables@^1.0.0, es-shim-unscopables@^1.0.2: - version "1.0.2" - resolved "https://registry.yarnpkg.com/es-shim-unscopables/-/es-shim-unscopables-1.0.2.tgz#1f6942e71ecc7835ed1c8a83006d8771a63a3763" - integrity sha512-J3yBRXCzDu4ULnQwxyToo/OjdMx6akgVC7K6few0a7F/0wLtmKKN7I73AH5T2836UuXRqN7Qg+IIUw/+YJksRw== - dependencies: - hasown "^2.0.0" - -es-to-primitive@^1.2.1: - version "1.2.1" - resolved "https://registry.yarnpkg.com/es-to-primitive/-/es-to-primitive-1.2.1.tgz#e55cd4c9cdc188bcefb03b366c736323fc5c898a" - integrity sha512-QCOllgZJtaUo9miYBcLChTUaHNjJF3PYs1VidD7AwiEj1kYxKeQTctLAezAOH5ZKRH0g2IgPn6KwB4IT8iRpvA== - dependencies: - is-callable "^1.1.4" - is-date-object "^1.0.1" - is-symbol "^1.0.2" - -es6-error@^4.0.1: - version "4.1.1" - resolved "https://registry.yarnpkg.com/es6-error/-/es6-error-4.1.1.tgz#9e3af407459deed47e9a91f9b885a84eb05c561d" - integrity sha512-Um/+FxMr9CISWh0bi5Zv0iOD+4cFh5qLeks1qhAopKVAJw3drgKbKySikp7wGhDL0HPeaja0P5ULZrxLkniUVg== - -es6-promisify@^6.0.0: - version "6.1.1" - resolved "https://registry.yarnpkg.com/es6-promisify/-/es6-promisify-6.1.1.tgz#46837651b7b06bf6fff893d03f29393668d01621" - integrity sha512-HBL8I3mIki5C1Cc9QjKUenHtnG0A5/xA8Q/AllRcfiwl2CZFXGK7ddBiCoRwAix4i2KxcQfjtIVcrVbB3vbmwg== - -esbuild-android-arm64@0.13.13: - version "0.13.13" - resolved "https://registry.yarnpkg.com/esbuild-android-arm64/-/esbuild-android-arm64-0.13.13.tgz#da07b5fb2daf7d83dcd725f7cf58a6758e6e702a" - integrity sha512-T02aneWWguJrF082jZworjU6vm8f4UQ+IH2K3HREtlqoY9voiJUwHLRL6khRlsNLzVglqgqb7a3HfGx7hAADCQ== - -esbuild-darwin-64@0.13.13: - version "0.13.13" - resolved "https://registry.yarnpkg.com/esbuild-darwin-64/-/esbuild-darwin-64-0.13.13.tgz#e94e9fd3b4b5455a2e675cd084a19a71b6904bbf" - integrity sha512-wkaiGAsN/09X9kDlkxFfbbIgR78SNjMOfUhoel3CqKBDsi9uZhw7HBNHNxTzYUK8X8LAKFpbODgcRB3b/I8gHA== - -esbuild-darwin-arm64@0.13.13: - version "0.13.13" - resolved "https://registry.yarnpkg.com/esbuild-darwin-arm64/-/esbuild-darwin-arm64-0.13.13.tgz#8c320eafbb3ba2c70d8062128c5b71503e342471" - integrity sha512-b02/nNKGSV85Gw9pUCI5B48AYjk0vFggDeom0S6QMP/cEDtjSh1WVfoIFNAaLA0MHWfue8KBwoGVsN7rBshs4g== - -esbuild-freebsd-64@0.13.13: - version "0.13.13" - resolved "https://registry.yarnpkg.com/esbuild-freebsd-64/-/esbuild-freebsd-64-0.13.13.tgz#ce0ca5b8c4c274cfebc9326f9b316834bd9dd151" - integrity sha512-ALgXYNYDzk9YPVk80A+G4vz2D22Gv4j4y25exDBGgqTcwrVQP8rf/rjwUjHoh9apP76oLbUZTmUmvCMuTI1V9A== - -esbuild-freebsd-arm64@0.13.13: - version "0.13.13" - resolved "https://registry.yarnpkg.com/esbuild-freebsd-arm64/-/esbuild-freebsd-arm64-0.13.13.tgz#463da17562fdcfdf03b3b94b28497d8d8dcc8f62" - integrity sha512-uFvkCpsZ1yqWQuonw5T1WZ4j59xP/PCvtu6I4pbLejhNo4nwjW6YalqnBvBSORq5/Ifo9S/wsIlVHzkzEwdtlw== - -esbuild-linux-32@0.13.13: - version "0.13.13" - resolved "https://registry.yarnpkg.com/esbuild-linux-32/-/esbuild-linux-32-0.13.13.tgz#2035793160da2c4be48a929e5bafb14a31789acc" - integrity sha512-yxR9BBwEPs9acVEwTrEE2JJNHYVuPQC9YGjRfbNqtyfK/vVBQYuw8JaeRFAvFs3pVJdQD0C2BNP4q9d62SCP4w== - -esbuild-linux-64@0.13.13: - version "0.13.13" - resolved "https://registry.yarnpkg.com/esbuild-linux-64/-/esbuild-linux-64-0.13.13.tgz#fbe4802a8168c6d339d0749f977b099449b56f22" - integrity sha512-kzhjlrlJ+6ESRB/n12WTGll94+y+HFeyoWsOrLo/Si0s0f+Vip4b8vlnG0GSiS6JTsWYAtGHReGczFOaETlKIw== - -esbuild-linux-arm64@0.13.13: - version "0.13.13" - resolved "https://registry.yarnpkg.com/esbuild-linux-arm64/-/esbuild-linux-arm64-0.13.13.tgz#f08d98df28d436ed4aad1529615822bb74d4d978" - integrity sha512-KMrEfnVbmmJxT3vfTnPv/AiXpBFbbyExH13BsUGy1HZRPFMi5Gev5gk8kJIZCQSRfNR17aqq8sO5Crm2KpZkng== - -esbuild-linux-arm@0.13.13: - version "0.13.13" - resolved "https://registry.yarnpkg.com/esbuild-linux-arm/-/esbuild-linux-arm-0.13.13.tgz#6f968c3a98b64e30c80b212384192d0cfcb32e7f" - integrity sha512-hXub4pcEds+U1TfvLp1maJ+GHRw7oizvzbGRdUvVDwtITtjq8qpHV5Q5hWNNn6Q+b3b2UxF03JcgnpzCw96nUQ== - -esbuild-linux-mips64le@0.13.13: - version "0.13.13" - resolved "https://registry.yarnpkg.com/esbuild-linux-mips64le/-/esbuild-linux-mips64le-0.13.13.tgz#690c78dc4725efe7d06a1431287966fbf7774c7f" - integrity sha512-cJT9O1LYljqnnqlHaS0hdG73t7hHzF3zcN0BPsjvBq+5Ad47VJun+/IG4inPhk8ta0aEDK6LdP+F9299xa483w== - -esbuild-linux-ppc64le@0.13.13: - version "0.13.13" - resolved "https://registry.yarnpkg.com/esbuild-linux-ppc64le/-/esbuild-linux-ppc64le-0.13.13.tgz#7ec9048502de46754567e734aae7aebd2df6df02" - integrity sha512-+rghW8st6/7O6QJqAjVK3eXzKkZqYAw6LgHv7yTMiJ6ASnNvghSeOcIvXFep3W2oaJc35SgSPf21Ugh0o777qQ== - -esbuild-netbsd-64@0.13.13: - version "0.13.13" - resolved "https://registry.yarnpkg.com/esbuild-netbsd-64/-/esbuild-netbsd-64-0.13.13.tgz#439bdaefffa03a8fa84324f5d83d636f548a2de3" - integrity sha512-A/B7rwmzPdzF8c3mht5TukbnNwY5qMJqes09ou0RSzA5/jm7Jwl/8z853ofujTFOLhkNHUf002EAgokzSgEMpQ== - -esbuild-openbsd-64@0.13.13: - version "0.13.13" - resolved "https://registry.yarnpkg.com/esbuild-openbsd-64/-/esbuild-openbsd-64-0.13.13.tgz#c9958e5291a00a3090c1ec482d6bcdf2d5b5d107" - integrity sha512-szwtuRA4rXKT3BbwoGpsff6G7nGxdKgUbW9LQo6nm0TVCCjDNDC/LXxT994duIW8Tyq04xZzzZSW7x7ttDiw1w== - -esbuild-register@^3.5.0: - version "3.6.0" - resolved "https://registry.yarnpkg.com/esbuild-register/-/esbuild-register-3.6.0.tgz#cf270cfa677baebbc0010ac024b823cbf723a36d" - integrity sha512-H2/S7Pm8a9CL1uhp9OvjwrBh5Pvx0H8qVOxNu8Wed9Y7qv56MPtq+GGM8RJpq6glYJn9Wspr8uw7l55uyinNeg== - dependencies: - debug "^4.3.4" - -esbuild-sunos-64@0.13.13: - version "0.13.13" - resolved "https://registry.yarnpkg.com/esbuild-sunos-64/-/esbuild-sunos-64-0.13.13.tgz#ac9ead8287379cd2f6d00bd38c5997fda9c1179e" - integrity sha512-ihyds9O48tVOYF48iaHYUK/boU5zRaLOXFS+OOL3ceD39AyHo46HVmsJLc7A2ez0AxNZCxuhu+P9OxfPfycTYQ== - -esbuild-windows-32@0.13.13: - version "0.13.13" - resolved "https://registry.yarnpkg.com/esbuild-windows-32/-/esbuild-windows-32-0.13.13.tgz#a3820fc86631ca594cb7b348514b5cc3f058cfd6" - integrity sha512-h2RTYwpG4ldGVJlbmORObmilzL8EECy8BFiF8trWE1ZPHLpECE9//J3Bi+W3eDUuv/TqUbiNpGrq4t/odbayUw== - -esbuild-windows-64@0.13.13: - version "0.13.13" - resolved "https://registry.yarnpkg.com/esbuild-windows-64/-/esbuild-windows-64-0.13.13.tgz#1da748441f228d75dff474ddb7d584b81887323c" - integrity sha512-oMrgjP4CjONvDHe7IZXHrMk3wX5Lof/IwFEIbwbhgbXGBaN2dke9PkViTiXC3zGJSGpMvATXVplEhlInJ0drHA== - -esbuild-windows-arm64@0.13.13: - version "0.13.13" - resolved "https://registry.yarnpkg.com/esbuild-windows-arm64/-/esbuild-windows-arm64-0.13.13.tgz#06dfa52a6b178a5932a9a6e2fdb240c09e6da30c" - integrity sha512-6fsDfTuTvltYB5k+QPah/x7LrI2+OLAJLE3bWLDiZI6E8wXMQU+wLqtEO/U/RvJgVY1loPs5eMpUBpVajczh1A== - -"esbuild@^0.18.0 || ^0.19.0 || ^0.20.0 || ^0.21.0 || ^0.22.0 || ^0.23.0": - version "0.23.1" - resolved "https://registry.yarnpkg.com/esbuild/-/esbuild-0.23.1.tgz#40fdc3f9265ec0beae6f59824ade1bd3d3d2dab8" - integrity sha512-VVNz/9Sa0bs5SELtn3f7qhJCDPCF5oMEl5cO9/SSinpE9hbPVvxbd572HH5AKiP7WD8INO53GgfDDhRjkylHEg== - optionalDependencies: - "@esbuild/aix-ppc64" "0.23.1" - "@esbuild/android-arm" "0.23.1" - "@esbuild/android-arm64" "0.23.1" - "@esbuild/android-x64" "0.23.1" - "@esbuild/darwin-arm64" "0.23.1" - "@esbuild/darwin-x64" "0.23.1" - "@esbuild/freebsd-arm64" "0.23.1" - "@esbuild/freebsd-x64" "0.23.1" - "@esbuild/linux-arm" "0.23.1" - "@esbuild/linux-arm64" "0.23.1" - "@esbuild/linux-ia32" "0.23.1" - "@esbuild/linux-loong64" "0.23.1" - "@esbuild/linux-mips64el" "0.23.1" - "@esbuild/linux-ppc64" "0.23.1" - "@esbuild/linux-riscv64" "0.23.1" - "@esbuild/linux-s390x" "0.23.1" - "@esbuild/linux-x64" "0.23.1" - "@esbuild/netbsd-x64" "0.23.1" - "@esbuild/openbsd-arm64" "0.23.1" - "@esbuild/openbsd-x64" "0.23.1" - "@esbuild/sunos-x64" "0.23.1" - "@esbuild/win32-arm64" "0.23.1" - "@esbuild/win32-ia32" "0.23.1" - "@esbuild/win32-x64" "0.23.1" - -escalade@^3.1.1, escalade@^3.2.0: - version "3.2.0" - resolved "https://registry.yarnpkg.com/escalade/-/escalade-3.2.0.tgz#011a3f69856ba189dffa7dc8fcce99d2a87903e5" - integrity sha512-WUj2qlxaQtO4g6Pq5c29GTcWGDyd8itL8zTlipgECz3JesAiiOKotd8JU6otB3PACgG6xkJUyVhboMS+bje/jA== - -escape-goat@^2.0.0: - version "2.1.1" - resolved "https://registry.yarnpkg.com/escape-goat/-/escape-goat-2.1.1.tgz#1b2dc77003676c457ec760b2dc68edb648188675" - integrity sha512-8/uIhbG12Csjy2JEW7D9pHbreaVaS/OpN3ycnyvElTdwM5n6GY6W6e2IPemfvGZeUMqZ9A/3GqIZMgKnBhAw/Q== - -escape-html@~1.0.3: - version "1.0.3" - resolved "https://registry.yarnpkg.com/escape-html/-/escape-html-1.0.3.tgz#0258eae4d3d0c0974de1c169188ef0051d1d1988" - integrity sha512-NiSupZ4OeuGwr68lGIeym/ksIZMJodUGOSCZ/FSnTxcrekbvqrgdUxlJOMpijaKZVjAJrWrGs/6Jy8OMuyj9ow== - -escape-string-regexp@5.0.0, escape-string-regexp@^5.0.0: - version "5.0.0" - resolved "https://registry.yarnpkg.com/escape-string-regexp/-/escape-string-regexp-5.0.0.tgz#4683126b500b61762f2dbebace1806e8be31b1c8" - integrity sha512-/veY75JbMK4j1yjvuUxuVsiS/hr/4iHs9FTT6cgTexxdE0Ly/glccBAkloH/DofkjRbZU3bnoj38mOmhkZ0lHw== - -escape-string-regexp@^1.0.0, escape-string-regexp@^1.0.2, escape-string-regexp@^1.0.5: - version "1.0.5" - resolved "https://registry.yarnpkg.com/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz#1b61c0562190a8dff6ae3bb2cf0200ca130b86d4" - integrity sha512-vbRorB5FUQWvla16U8R/qgaFIya2qGzwDrNmCZuYKrbdSUMG6I1ZCGQRefkRVhuOkIGVne7BQ35DSfo1qvJqFg== - -escape-string-regexp@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/escape-string-regexp/-/escape-string-regexp-2.0.0.tgz#a30304e99daa32e23b2fd20f51babd07cffca344" - integrity sha512-UpzcLCXolUWcNu5HtVMHYdXJjArjsF9C0aNnquZYY4uW/Vu0miy5YoWvbV345HauVvcAUnpRuhMMcqTcGOY2+w== - -escape-string-regexp@^4.0.0: - version "4.0.0" - resolved "https://registry.yarnpkg.com/escape-string-regexp/-/escape-string-regexp-4.0.0.tgz#14ba83a5d373e3d311e5afca29cf5bfad965bf34" - integrity sha512-TtpcNJ3XAzx3Gq8sWRzJaVajRs0uVxA2YAkdb1jm2YkPz4G6egUFAyA3n5vtEIZefPk5Wa4UXbKuS5fKkJWdgA== - -escodegen@^2.0.0, escodegen@^2.1.0: - version "2.1.0" - resolved "https://registry.yarnpkg.com/escodegen/-/escodegen-2.1.0.tgz#ba93bbb7a43986d29d6041f99f5262da773e2e17" - integrity sha512-2NlIDTwUWJN0mRPQOdtQBzbUHvdGY2P1VXSyU83Q3xKxM7WHX2Ql8dKq782Q9TgQUNOLEzEYu9bzLNj1q88I5w== - dependencies: - esprima "^4.0.1" - estraverse "^5.2.0" - esutils "^2.0.2" - optionalDependencies: - source-map "~0.6.1" - -eslint-import-resolver-node@^0.3.9: - version "0.3.9" - resolved "https://registry.yarnpkg.com/eslint-import-resolver-node/-/eslint-import-resolver-node-0.3.9.tgz#d4eaac52b8a2e7c3cd1903eb00f7e053356118ac" - integrity sha512-WFj2isz22JahUv+B788TlO3N6zL3nNJGU8CcZbPZvVEkBPaJdCV4vy5wyghty5ROFbCRnm132v8BScu5/1BQ8g== - dependencies: - debug "^3.2.7" - is-core-module "^2.13.0" - resolve "^1.22.4" - -eslint-mdx@^2.3.4: - version "2.3.4" - resolved "https://registry.yarnpkg.com/eslint-mdx/-/eslint-mdx-2.3.4.tgz#87a5d95d6fcb27bafd2b15092f16f5aa559e336b" - integrity sha512-u4NszEUyoGtR7Q0A4qs0OymsEQdCO6yqWlTzDa9vGWsK7aMotdnW0hqifHTkf6lEtA2vHk2xlkWHTCrhYLyRbw== - dependencies: - acorn "^8.10.0" - acorn-jsx "^5.3.2" - espree "^9.6.1" - estree-util-visit "^1.2.1" - remark-mdx "^2.3.0" - remark-parse "^10.0.2" - remark-stringify "^10.0.3" - synckit "^0.9.0" - tslib "^2.6.1" - unified "^10.1.2" - unified-engine "^10.1.0" - unist-util-visit "^4.1.2" - uvu "^0.5.6" - vfile "^5.3.7" - -eslint-module-utils@^2.12.0: - version "2.12.0" - resolved "https://registry.yarnpkg.com/eslint-module-utils/-/eslint-module-utils-2.12.0.tgz#fe4cfb948d61f49203d7b08871982b65b9af0b0b" - integrity sha512-wALZ0HFoytlyh/1+4wuZ9FJCD/leWHQzzrxJ8+rebyReSLk7LApMyd3WJaLVoN+D5+WIdJyDK1c6JnE65V4Zyg== - dependencies: - debug "^3.2.7" - -eslint-plugin-import@^2: - version "2.31.0" - resolved "https://registry.yarnpkg.com/eslint-plugin-import/-/eslint-plugin-import-2.31.0.tgz#310ce7e720ca1d9c0bb3f69adfd1c6bdd7d9e0e7" - integrity sha512-ixmkI62Rbc2/w8Vfxyh1jQRTdRTF52VxwRVHl/ykPAmqG+Nb7/kNn+byLP0LxPgI7zWA16Jt82SybJInmMia3A== - dependencies: - "@rtsao/scc" "^1.1.0" - array-includes "^3.1.8" - array.prototype.findlastindex "^1.2.5" - array.prototype.flat "^1.3.2" - array.prototype.flatmap "^1.3.2" - debug "^3.2.7" - doctrine "^2.1.0" - eslint-import-resolver-node "^0.3.9" - eslint-module-utils "^2.12.0" - hasown "^2.0.2" - is-core-module "^2.15.1" - is-glob "^4.0.3" - minimatch "^3.1.2" - object.fromentries "^2.0.8" - object.groupby "^1.0.3" - object.values "^1.2.0" - semver "^6.3.1" - string.prototype.trimend "^1.0.8" - tsconfig-paths "^3.15.0" - -eslint-plugin-jest@^27: - version "27.9.0" - resolved "https://registry.yarnpkg.com/eslint-plugin-jest/-/eslint-plugin-jest-27.9.0.tgz#7c98a33605e1d8b8442ace092b60e9919730000b" - integrity sha512-QIT7FH7fNmd9n4se7FFKHbsLKGQiw885Ds6Y/sxKgCZ6natwCsXdgPOADnYVxN2QrRweF0FZWbJ6S7Rsn7llug== - dependencies: - "@typescript-eslint/utils" "^5.10.0" - -eslint-plugin-jsx-a11y@^6: - version "6.10.0" - resolved "https://registry.yarnpkg.com/eslint-plugin-jsx-a11y/-/eslint-plugin-jsx-a11y-6.10.0.tgz#36fb9dead91cafd085ddbe3829602fb10ef28339" - integrity sha512-ySOHvXX8eSN6zz8Bywacm7CvGNhUtdjvqfQDVe6020TUK34Cywkw7m0KsCCk1Qtm9G1FayfTN1/7mMYnYO2Bhg== - dependencies: - aria-query "~5.1.3" - array-includes "^3.1.8" - array.prototype.flatmap "^1.3.2" - ast-types-flow "^0.0.8" - axe-core "^4.10.0" - axobject-query "^4.1.0" - damerau-levenshtein "^1.0.8" - emoji-regex "^9.2.2" - es-iterator-helpers "^1.0.19" - hasown "^2.0.2" - jsx-ast-utils "^3.3.5" - language-tags "^1.0.9" - minimatch "^3.1.2" - object.fromentries "^2.0.8" - safe-regex-test "^1.0.3" - string.prototype.includes "^2.0.0" - -eslint-plugin-lodash@^7: - version "7.4.0" - resolved "https://registry.yarnpkg.com/eslint-plugin-lodash/-/eslint-plugin-lodash-7.4.0.tgz#14a761547f126c92ff56789662a20a44f8bb6290" - integrity sha512-Tl83UwVXqe1OVeBRKUeWcfg6/pCW1GTRObbdnbEJgYwjxp5Q92MEWQaH9+dmzbRt6kvYU1Mp893E79nJiCSM8A== - dependencies: - lodash "^4.17.21" - -eslint-plugin-markdown@^3.0.1: - version "3.0.1" - resolved "https://registry.yarnpkg.com/eslint-plugin-markdown/-/eslint-plugin-markdown-3.0.1.tgz#fc6765bdb5f82a75e2438d7fac619602f2abc38c" - integrity sha512-8rqoc148DWdGdmYF6WSQFT3uQ6PO7zXYgeBpHAOAakX/zpq+NvFYbDA/H7PYzHajwtmaOzAwfxyl++x0g1/N9A== - dependencies: - mdast-util-from-markdown "^0.8.5" - -eslint-plugin-mdx@^2: - version "2.3.4" - resolved "https://registry.yarnpkg.com/eslint-plugin-mdx/-/eslint-plugin-mdx-2.3.4.tgz#5c136251d681721415b8f0fb27121615613449f4" - integrity sha512-kr6tgaifKL+AVGYMtdYc2VCsIjfYQXuUCKz4rK58d2DpnPFHrmgXIOC7NcMvaEld+VOEpxBSCCnjnsf4IVCQGg== - dependencies: - eslint-mdx "^2.3.4" - eslint-plugin-markdown "^3.0.1" - remark-mdx "^2.3.0" - remark-parse "^10.0.2" - remark-stringify "^10.0.3" - tslib "^2.6.1" - unified "^10.1.2" - vfile "^5.3.7" - -eslint-plugin-react-hooks@^4: - version "4.6.2" - resolved "https://registry.yarnpkg.com/eslint-plugin-react-hooks/-/eslint-plugin-react-hooks-4.6.2.tgz#c829eb06c0e6f484b3fbb85a97e57784f328c596" - integrity sha512-QzliNJq4GinDBcD8gPB5v0wh6g8q3SUi6EFF0x8N/BL9PoVs0atuGc47ozMRyOWAKdwaZ5OnbOEa3WR+dSGKuQ== - -eslint-plugin-react-query@^1: - version "1.3.0" - resolved "https://registry.yarnpkg.com/eslint-plugin-react-query/-/eslint-plugin-react-query-1.3.0.tgz#d29206a9541046efc0eb840a8d4c4cd396a518d9" - integrity sha512-Ndj124SHaB7htxR7Gw4q7PqiRUACjcrE+z0ejaHezGRi6zSEEnF9/aDPsMw0CBvTfRg6qVa6Crrjwdq6WKUF8Q== - dependencies: - "@typescript-eslint/utils" "^5.12.0" - -eslint-plugin-react@^7: - version "7.37.1" - resolved "https://registry.yarnpkg.com/eslint-plugin-react/-/eslint-plugin-react-7.37.1.tgz#56493d7d69174d0d828bc83afeffe96903fdadbd" - integrity sha512-xwTnwDqzbDRA8uJ7BMxPs/EXRB3i8ZfnOIp8BsxEQkT0nHPp+WWceqGgo6rKb9ctNi8GJLDT4Go5HAWELa/WMg== - dependencies: - array-includes "^3.1.8" - array.prototype.findlast "^1.2.5" - array.prototype.flatmap "^1.3.2" - array.prototype.tosorted "^1.1.4" - doctrine "^2.1.0" - es-iterator-helpers "^1.0.19" - estraverse "^5.3.0" - hasown "^2.0.2" - jsx-ast-utils "^2.4.1 || ^3.0.0" - minimatch "^3.1.2" - object.entries "^1.1.8" - object.fromentries "^2.0.8" - object.values "^1.2.0" - prop-types "^15.8.1" - resolve "^2.0.0-next.5" - semver "^6.3.1" - string.prototype.matchall "^4.0.11" - string.prototype.repeat "^1.0.0" - -eslint-plugin-sort-destructure-keys@2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/eslint-plugin-sort-destructure-keys/-/eslint-plugin-sort-destructure-keys-2.0.0.tgz#23d26e3db4a8fb73fcd0dfceb2de4c517e6d603f" - integrity sha512-4w1UQCa3o/YdfWaLr9jY8LfGowwjwjmwClyFLxIsToiyIdZMq3x9Ti44nDn34DtTPP7PWg96tUONKVmATKhYGQ== - dependencies: - natural-compare-lite "^1.4.0" - -eslint-plugin-sort-imports-es6-autofix@^0: - version "0.6.0" - resolved "https://registry.yarnpkg.com/eslint-plugin-sort-imports-es6-autofix/-/eslint-plugin-sort-imports-es6-autofix-0.6.0.tgz#b8cd8639d7a54cefce6b17898b102fd5ec31e52b" - integrity sha512-2NVaBGF9NN+727Fyq+jJYihdIeegjXeUUrZED9Q8FVB8MsV3YQEyXG96GVnXqWt0pmn7xfCZOZf3uKnIhBrfeQ== - -eslint-plugin-sort-keys-fix@1.1.2: - version "1.1.2" - resolved "https://registry.yarnpkg.com/eslint-plugin-sort-keys-fix/-/eslint-plugin-sort-keys-fix-1.1.2.tgz#00c8b5791612ec32162b8d7a0563e9c6eb27ec59" - integrity sha512-DNPHFGCA0/hZIsfODbeLZqaGY/+q3vgtshF85r+YWDNCQ2apd9PNs/zL6ttKm0nD1IFwvxyg3YOTI7FHl4unrw== - dependencies: - espree "^6.1.2" - esutils "^2.0.2" - natural-compare "^1.4.0" - requireindex "~1.2.0" - -eslint-plugin-storybook@^0: - version "0.9.0" - resolved "https://registry.yarnpkg.com/eslint-plugin-storybook/-/eslint-plugin-storybook-0.9.0.tgz#8f985899b957748d5780f8e6eb5d37c705976bc8" - integrity sha512-qOT/2vQBo0VqrG/BhZv8IdSsKQiyzJw+2Wqq+WFCiblI/PfxLSrGkF/buiXF+HumwfsCyBdaC94UhqhmYFmAvA== - dependencies: - "@storybook/csf" "^0.0.1" - "@typescript-eslint/utils" "^5.62.0" - requireindex "^1.2.0" - ts-dedent "^2.2.0" - -eslint-plugin-testing-library@^5: - version "5.11.1" - resolved "https://registry.yarnpkg.com/eslint-plugin-testing-library/-/eslint-plugin-testing-library-5.11.1.tgz#5b46cdae96d4a78918711c0b4792f90088e62d20" - integrity sha512-5eX9e1Kc2PqVRed3taaLnAAqPZGEX75C+M/rXzUAI3wIg/ZxzUm1OVAwfe/O+vE+6YXOLetSe9g5GKD2ecXipw== - dependencies: - "@typescript-eslint/utils" "^5.58.0" - -eslint-plugin-typescript-sort-keys@3.3.0: - version "3.3.0" - resolved "https://registry.yarnpkg.com/eslint-plugin-typescript-sort-keys/-/eslint-plugin-typescript-sort-keys-3.3.0.tgz#a3ba29e5d6b7f3e5e66ad898347fa9142d3596d1" - integrity sha512-bRW3Rc/VNdrSP9OoY5wgjjaXCOOkZKpzvl/Mk6l8Sg8CMehVIcg9K4y33l+ZcZiknpl0aR6rKusxuCJNGZWmVw== - dependencies: - "@typescript-eslint/experimental-utils" "^5.0.0" - json-schema "^0.4.0" - natural-compare-lite "^1.4.0" - -eslint-scope@5.1.1, eslint-scope@^5.1.1: - version "5.1.1" - resolved "https://registry.yarnpkg.com/eslint-scope/-/eslint-scope-5.1.1.tgz#e786e59a66cb92b3f6c1fb0d508aab174848f48c" - integrity sha512-2NxwbF/hZ0KpepYN0cNbo+FN6XoK7GaHlQhgx/hIZl6Va0bF45RQOOwhLIy8lQDbuCiadSLCBnH2CFYquit5bw== - dependencies: - esrecurse "^4.3.0" - estraverse "^4.1.1" - -eslint-scope@^7.2.2: - version "7.2.2" - resolved "https://registry.yarnpkg.com/eslint-scope/-/eslint-scope-7.2.2.tgz#deb4f92563390f32006894af62a22dba1c46423f" - integrity sha512-dOt21O7lTMhDM+X9mB4GX+DZrZtCUJPL/wlcTqxyrx5IvO0IYtILdtrQGQp+8n5S0gwSVmOf9NQrjMOgfQZlIg== - dependencies: - esrecurse "^4.3.0" - estraverse "^5.2.0" - -eslint-visitor-keys@^1.1.0: - version "1.3.0" - resolved "https://registry.yarnpkg.com/eslint-visitor-keys/-/eslint-visitor-keys-1.3.0.tgz#30ebd1ef7c2fdff01c3a4f151044af25fab0523e" - integrity sha512-6J72N8UNa462wa/KFODt/PJ3IU60SDpC3QXC1Hjc1BXXpfL2C9R5+AU7jhe0F6GREqVMh4Juu+NY7xn+6dipUQ== - -eslint-visitor-keys@^2.0.0: - version "2.1.0" - resolved "https://registry.yarnpkg.com/eslint-visitor-keys/-/eslint-visitor-keys-2.1.0.tgz#f65328259305927392c938ed44eb0a5c9b2bd303" - integrity sha512-0rSmRBzXgDzIsD6mGdJgevzgezI534Cer5L/vyMX0kHzT/jiB43jRhd9YUlMGYLQy2zprNmoT8qasCGtY+QaKw== - -eslint-visitor-keys@^3.3.0, eslint-visitor-keys@^3.4.1, eslint-visitor-keys@^3.4.3: - version "3.4.3" - resolved "https://registry.yarnpkg.com/eslint-visitor-keys/-/eslint-visitor-keys-3.4.3.tgz#0cd72fe8550e3c2eae156a96a4dddcd1c8ac5800" - integrity sha512-wpc+LXeiyiisxPlEkUzU6svyS1frIO3Mgxj1fdy7Pm8Ygzguax2N3Fa/D/ag1WqbOprdI+uY6wMUl8/a2G+iag== - -eslint@8.57.1: - version "8.57.1" - resolved "https://registry.yarnpkg.com/eslint/-/eslint-8.57.1.tgz#7df109654aba7e3bbe5c8eae533c5e461d3c6ca9" - integrity sha512-ypowyDxpVSYpkXr9WPv2PAZCtNip1Mv5KTW0SCurXv/9iOpcrH9PaqUElksqEB6pChqHGDRCFTyrZlGhnLNGiA== - dependencies: - "@eslint-community/eslint-utils" "^4.2.0" - "@eslint-community/regexpp" "^4.6.1" - "@eslint/eslintrc" "^2.1.4" - "@eslint/js" "8.57.1" - "@humanwhocodes/config-array" "^0.13.0" - "@humanwhocodes/module-importer" "^1.0.1" - "@nodelib/fs.walk" "^1.2.8" - "@ungap/structured-clone" "^1.2.0" - ajv "^6.12.4" - chalk "^4.0.0" - cross-spawn "^7.0.2" - debug "^4.3.2" - doctrine "^3.0.0" - escape-string-regexp "^4.0.0" - eslint-scope "^7.2.2" - eslint-visitor-keys "^3.4.3" - espree "^9.6.1" - esquery "^1.4.2" - esutils "^2.0.2" - fast-deep-equal "^3.1.3" - file-entry-cache "^6.0.1" - find-up "^5.0.0" - glob-parent "^6.0.2" - globals "^13.19.0" - graphemer "^1.4.0" - ignore "^5.2.0" - imurmurhash "^0.1.4" - is-glob "^4.0.0" - is-path-inside "^3.0.3" - js-yaml "^4.1.0" - json-stable-stringify-without-jsonify "^1.0.1" - levn "^0.4.1" - lodash.merge "^4.6.2" - minimatch "^3.1.2" - natural-compare "^1.4.0" - optionator "^0.9.3" - strip-ansi "^6.0.1" - text-table "^0.2.0" - -espree@^6.1.2: - version "6.2.1" - resolved "https://registry.yarnpkg.com/espree/-/espree-6.2.1.tgz#77fc72e1fd744a2052c20f38a5b575832e82734a" - integrity sha512-ysCxRQY3WaXJz9tdbWOwuWr5Y/XrPTGX9Kiz3yoUXwW0VZ4w30HTkQLaGx/+ttFjF8i+ACbArnB4ce68a9m5hw== - dependencies: - acorn "^7.1.1" - acorn-jsx "^5.2.0" - eslint-visitor-keys "^1.1.0" - -espree@^9.6.0, espree@^9.6.1: - version "9.6.1" - resolved "https://registry.yarnpkg.com/espree/-/espree-9.6.1.tgz#a2a17b8e434690a5432f2f8018ce71d331a48c6f" - integrity sha512-oruZaFkjorTpF32kDSI5/75ViwGeZginGGy2NoOSg3Q9bnwlnmDm4HLnkl0RE3n+njDXR037aY1+x58Z/zFdwQ== - dependencies: - acorn "^8.9.0" - acorn-jsx "^5.3.2" - eslint-visitor-keys "^3.4.1" - -esprima@^4.0.0, esprima@^4.0.1, esprima@~4.0.0: - version "4.0.1" - resolved "https://registry.yarnpkg.com/esprima/-/esprima-4.0.1.tgz#13b04cdb3e6c5d19df91ab6987a8695619b0aa71" - integrity sha512-eGuFFw7Upda+g4p+QHvnW0RyTX/SVeJBDM/gCtMARO0cLuT2HcEKnTPvhjV6aGeqrCB/sbNop0Kszm0jsaWU4A== - -esquery@^1.4.2: - version "1.6.0" - resolved "https://registry.yarnpkg.com/esquery/-/esquery-1.6.0.tgz#91419234f804d852a82dceec3e16cdc22cf9dae7" - integrity sha512-ca9pw9fomFcKPvFLXhBKUK90ZvGibiGOvRJNbjljY7s7uq/5YO4BOzcYtJqExdx99rF6aAcnRxHmcUHcz6sQsg== - dependencies: - estraverse "^5.1.0" - -esrecurse@^4.3.0: - version "4.3.0" - resolved "https://registry.yarnpkg.com/esrecurse/-/esrecurse-4.3.0.tgz#7ad7964d679abb28bee72cec63758b1c5d2c9921" - integrity sha512-KmfKL3b6G+RXvP8N1vr3Tq1kL/oCFgn2NYXEtqP8/L3pKapUA4G8cFVaoF3SU323CD4XypR/ffioHmkti6/Tag== - dependencies: - estraverse "^5.2.0" - -estraverse@^4.1.1: - version "4.3.0" - resolved "https://registry.yarnpkg.com/estraverse/-/estraverse-4.3.0.tgz#398ad3f3c5a24948be7725e83d11a7de28cdbd1d" - integrity sha512-39nnKffWz8xN1BU/2c79n9nB9HDzo0niYUqx6xyqUnyoAnQyyWpOTdZEeiCch8BBu515t4wp9ZmgVfVhn9EBpw== - -estraverse@^5.1.0, estraverse@^5.2.0, estraverse@^5.3.0: - version "5.3.0" - resolved "https://registry.yarnpkg.com/estraverse/-/estraverse-5.3.0.tgz#2eea5290702f26ab8fe5370370ff86c965d21123" - integrity sha512-MMdARuVEQziNTeJD8DgMqmhwR11BRQ/cBP+pLtYdSTnf3MIO8fFeiINEbX36ZdNlfU/7A9f3gUw49B3oQsvwBA== - -estree-util-is-identifier-name@^2.0.0: - version "2.1.0" - resolved "https://registry.yarnpkg.com/estree-util-is-identifier-name/-/estree-util-is-identifier-name-2.1.0.tgz#fb70a432dcb19045e77b05c8e732f1364b4b49b2" - integrity sha512-bEN9VHRyXAUOjkKVQVvArFym08BTWB0aJPppZZr0UNyAqWsLaVfAqP7hbaTJjzHifmB5ebnR8Wm7r7yGN/HonQ== - -estree-util-visit@^1.0.0, estree-util-visit@^1.2.1: - version "1.2.1" - resolved "https://registry.yarnpkg.com/estree-util-visit/-/estree-util-visit-1.2.1.tgz#8bc2bc09f25b00827294703835aabee1cc9ec69d" - integrity sha512-xbgqcrkIVbIG+lI/gzbvd9SGTJL4zqJKBFttUl5pP27KhAjtMKbX/mQXJ7qgyXpMgVy/zvpm0xoQQaGL8OloOw== - dependencies: - "@types/estree-jsx" "^1.0.0" - "@types/unist" "^2.0.0" - -estree-walker@2.0.2, estree-walker@^2.0.1: - version "2.0.2" - resolved "https://registry.yarnpkg.com/estree-walker/-/estree-walker-2.0.2.tgz#52f010178c2a4c117a7757cfe942adb7d2da4cac" - integrity sha512-Rfkk/Mp/DL7JVje3u18FxFujQlTNR2q6QfMSMB7AvCBx91NGj/ba3kCfza0f6dVDbw7YlRf/nDrn7pQrCCyQ/w== - -estree-walker@^0.6.1: - version "0.6.1" - resolved "https://registry.yarnpkg.com/estree-walker/-/estree-walker-0.6.1.tgz#53049143f40c6eb918b23671d1fe3219f3a1b362" - integrity sha512-SqmZANLWS0mnatqbSfRP5g8OXZC12Fgg1IwNtLsyHDzJizORW4khDfjPqJZsemPWBB2uqykUah5YpQ6epsqC/w== - -estree-walker@^1.0.1: - version "1.0.1" - resolved "https://registry.yarnpkg.com/estree-walker/-/estree-walker-1.0.1.tgz#31bc5d612c96b704106b477e6dd5d8aa138cb700" - integrity sha512-1fMXF3YP4pZZVozF8j/ZLfvnR8NSIljt56UhbZ5PeeDmmGHpgpdwQt7ITlGvYaQukCvuBRMLEiKiYC+oeIg4cg== - -estree-walker@^3.0.3: - version "3.0.3" - resolved "https://registry.yarnpkg.com/estree-walker/-/estree-walker-3.0.3.tgz#67c3e549ec402a487b4fc193d1953a524752340d" - integrity sha512-7RUKfXgSMMkzt6ZuXmqapOurLGPPfgj6l9uRZ7lRGolvk0y2yocc35LdcxKC5PQZdn2DMqioAQ2NoWcrTKmm6g== - dependencies: - "@types/estree" "^1.0.0" - -esutils@^2.0.2, esutils@^2.0.3: - version "2.0.3" - resolved "https://registry.yarnpkg.com/esutils/-/esutils-2.0.3.tgz#74d2eb4de0b8da1293711910d50775b9b710ef64" - integrity sha512-kVscqXk4OCp68SZ0dkgEKVi6/8ij300KBWTJq32P/dYeWTSwK41WyTxalN1eRmA5Z9UU/LX9D7FWSmV9SAYx6g== - -etag@~1.8.1: - version "1.8.1" - resolved "https://registry.yarnpkg.com/etag/-/etag-1.8.1.tgz#41ae2eeb65efa62268aebfea83ac7d79299b0887" - integrity sha512-aIL5Fx7mawVa300al2BnEE4iNvo1qETxLrPI/o05L7z6go7fCw1J6EQmbK4FmJ2AS7kgVF/KEZWufBfdClMcPg== - -event-target-shim@^5.0.0: - version "5.0.1" - resolved "https://registry.yarnpkg.com/event-target-shim/-/event-target-shim-5.0.1.tgz#5d4d3ebdf9583d63a5333ce2deb7480ab2b05789" - integrity sha512-i/2XbnSz/uxRCU6+NdVJgKWDTM427+MqYbkQzD321DuCQJUqOuJKIA0IM2+W2xtYHdKOmZ4dR6fExsd4SXL+WQ== - -eventemitter3@^4.0.0, eventemitter3@^4.0.4: - version "4.0.7" - resolved "https://registry.yarnpkg.com/eventemitter3/-/eventemitter3-4.0.7.tgz#2de9b68f6528d5644ef5c59526a1b4a07306169f" - integrity sha512-8guHBZCwKnFhYdHr2ysuRWErTwhoN2X8XELRlrRwpmfeY2jjuUN4taQMsULKUVo1K4DvZl+0pgfyoysHxvmvEw== - -events@^3.2.0, events@^3.3.0: - version "3.3.0" - resolved "https://registry.yarnpkg.com/events/-/events-3.3.0.tgz#31a95ad0a924e2d2c419a813aeb2c4e878ea7400" - integrity sha512-mQw+2fkQbALzQ7V0MY0IqdnXNOeTtP4r0lN9z7AAawCXgqea7bDii20AYrIBrFd/Hx0M2Ocz6S111CaFkUcb0Q== - -execa@5.0.0: - version "5.0.0" - resolved "https://registry.yarnpkg.com/execa/-/execa-5.0.0.tgz#4029b0007998a841fbd1032e5f4de86a3c1e3376" - integrity sha512-ov6w/2LCiuyO4RLYGdpFGjkcs0wMTgGE8PrkTHikeUy5iJekXyPIKUjifk5CsE0pt7sMCrMZ3YNqoCj6idQOnQ== - dependencies: - cross-spawn "^7.0.3" - get-stream "^6.0.0" - human-signals "^2.1.0" - is-stream "^2.0.0" - merge-stream "^2.0.0" - npm-run-path "^4.0.1" - onetime "^5.1.2" - signal-exit "^3.0.3" - strip-final-newline "^2.0.0" - -execa@^5.0.0, execa@^5.1.1: - version "5.1.1" - resolved "https://registry.yarnpkg.com/execa/-/execa-5.1.1.tgz#f80ad9cbf4298f7bd1d4c9555c21e93741c411dd" - integrity sha512-8uSpZZocAZRBAPIEINJj3Lo9HyGitllczc27Eh5YYojjMFMn8yHMDMaUHE2Jqfq05D/wucwI4JGURyXt1vchyg== - dependencies: - cross-spawn "^7.0.3" - get-stream "^6.0.0" - human-signals "^2.1.0" - is-stream "^2.0.0" - merge-stream "^2.0.0" - npm-run-path "^4.0.1" - onetime "^5.1.2" - signal-exit "^3.0.3" - strip-final-newline "^2.0.0" - -execa@^6.0.0: - version "6.1.0" - resolved "https://registry.yarnpkg.com/execa/-/execa-6.1.0.tgz#cea16dee211ff011246556388effa0818394fb20" - integrity sha512-QVWlX2e50heYJcCPG0iWtf8r0xjEYfz/OYLGDYH+IyjWezzPNxz63qNFOu0l4YftGWuizFVZHHs8PrLU5p2IDA== - dependencies: - cross-spawn "^7.0.3" - get-stream "^6.0.1" - human-signals "^3.0.1" - is-stream "^3.0.0" - merge-stream "^2.0.0" - npm-run-path "^5.1.0" - onetime "^6.0.0" - signal-exit "^3.0.7" - strip-final-newline "^3.0.0" - -exit@^0.1.2: - version "0.1.2" - resolved "https://registry.yarnpkg.com/exit/-/exit-0.1.2.tgz#0632638f8d877cc82107d30a0fff1a17cba1cd0c" - integrity sha512-Zk/eNKV2zbjpKzrsQ+n1G6poVbErQxJ0LBOJXaKZ1EViLzH+hrLu9cdXI4zw9dBQJslwBEpbQ2P1oS7nDxs6jQ== - -expand-brackets@^2.1.4: - version "2.1.4" - resolved "https://registry.yarnpkg.com/expand-brackets/-/expand-brackets-2.1.4.tgz#b77735e315ce30f6b6eff0f83b04151a22449622" - integrity sha512-w/ozOKR9Obk3qoWeY/WDi6MFta9AoMR+zud60mdnbniMcBxRuFJyDt2LdX/14A1UABeqk+Uk+LDfUpvoGKppZA== - dependencies: - debug "^2.3.3" - define-property "^0.2.5" - extend-shallow "^2.0.1" - posix-character-classes "^0.1.0" - regex-not "^1.0.0" - snapdragon "^0.8.1" - to-regex "^3.0.1" - -expand-tilde@^1.2.2: - version "1.2.2" - resolved "https://registry.yarnpkg.com/expand-tilde/-/expand-tilde-1.2.2.tgz#0b81eba897e5a3d31d1c3d102f8f01441e559449" - integrity sha512-rtmc+cjLZqnu9dSYosX9EWmSJhTwpACgJQTfj4hgg2JjOD/6SIQalZrt4a3aQeh++oNxkazcaxrhPUj6+g5G/Q== - dependencies: - os-homedir "^1.0.1" - -expect-playwright@^0.8.0: - version "0.8.0" - resolved "https://registry.yarnpkg.com/expect-playwright/-/expect-playwright-0.8.0.tgz#6d4ebe0bdbdd3c1693d880d97153b96a129ae4e8" - integrity sha512-+kn8561vHAY+dt+0gMqqj1oY+g5xWrsuGMk4QGxotT2WS545nVqqjs37z6hrYfIuucwqthzwJfCJUEYqixyljg== - -expect@^29.0.0, expect@^29.7.0: - version "29.7.0" - resolved "https://registry.yarnpkg.com/expect/-/expect-29.7.0.tgz#578874590dcb3214514084c08115d8aee61e11bc" - integrity sha512-2Zks0hf1VLFYI1kbh0I5jP3KHHyCHpkfyHBzsSXRFgl/Bg9mWYfMW8oD+PdMPlEwy5HNsR9JutYy6pMeOh61nw== - dependencies: - "@jest/expect-utils" "^29.7.0" - jest-get-type "^29.6.3" - jest-matcher-utils "^29.7.0" - jest-message-util "^29.7.0" - jest-util "^29.7.0" - -exponential-backoff@^3.1.1: - version "3.1.1" - resolved "https://registry.yarnpkg.com/exponential-backoff/-/exponential-backoff-3.1.1.tgz#64ac7526fe341ab18a39016cd22c787d01e00bf6" - integrity sha512-dX7e/LHVJ6W3DE1MHWi9S1EYzDESENfLrYohG2G++ovZrYOkm4Knwa0mc1cn84xJOR4KEU0WSchhLbd0UklbHw== - -express-logging@^1.1.1: - version "1.1.1" - resolved "https://registry.yarnpkg.com/express-logging/-/express-logging-1.1.1.tgz#62839618cbab5bb3610f1a1c1485352fe9d26c2a" - integrity sha512-1KboYwxxCG5kwkJHR5LjFDTD1Mgl8n4PIMcCuhhd/1OqaxlC68P3QKbvvAbZVUtVgtlxEdTgSUwf6yxwzRCuuA== - dependencies: - on-headers "^1.0.0" - -express@^4.17.1, express@^4.19.2: - version "4.21.1" - resolved "https://registry.yarnpkg.com/express/-/express-4.21.1.tgz#9dae5dda832f16b4eec941a4e44aa89ec481b281" - integrity sha512-YSFlK1Ee0/GC8QaO91tHcDxJiE/X4FbpAyQWkxAvG6AXCuR65YzK8ua6D9hvi/TzUfZMpc+BwuM1IPw8fmQBiQ== - dependencies: - accepts "~1.3.8" - array-flatten "1.1.1" - body-parser "1.20.3" - content-disposition "0.5.4" - content-type "~1.0.4" - cookie "0.7.1" - cookie-signature "1.0.6" - debug "2.6.9" - depd "2.0.0" - encodeurl "~2.0.0" - escape-html "~1.0.3" - etag "~1.8.1" - finalhandler "1.3.1" - fresh "0.5.2" - http-errors "2.0.0" - merge-descriptors "1.0.3" - methods "~1.1.2" - on-finished "2.4.1" - parseurl "~1.3.3" - path-to-regexp "0.1.10" - proxy-addr "~2.0.7" - qs "6.13.0" - range-parser "~1.2.1" - safe-buffer "5.2.1" - send "0.19.0" - serve-static "1.16.2" - setprototypeof "1.2.0" - statuses "2.0.1" - type-is "~1.6.18" - utils-merge "1.0.1" - vary "~1.1.2" - -ext-list@^2.0.0: - version "2.2.2" - resolved "https://registry.yarnpkg.com/ext-list/-/ext-list-2.2.2.tgz#0b98e64ed82f5acf0f2931babf69212ef52ddd37" - integrity sha512-u+SQgsubraE6zItfVA0tBuCBhfU9ogSRnsvygI7wht9TS510oLkBRXBsqopeUG/GBOIQyKZO9wjTqIu/sf5zFA== - dependencies: - mime-db "^1.28.0" - -ext-name@^5.0.0: - version "5.0.0" - resolved "https://registry.yarnpkg.com/ext-name/-/ext-name-5.0.0.tgz#70781981d183ee15d13993c8822045c506c8f0a6" - integrity sha512-yblEwXAbGv1VQDmow7s38W77hzAgJAO50ztBLMcUyUBfxv1HC+LGwtiEN+Co6LtlqT/5uwVOxsD4TNIilWhwdQ== - dependencies: - ext-list "^2.0.0" - sort-keys-length "^1.0.0" - -extend-shallow@^2.0.1: - version "2.0.1" - resolved "https://registry.yarnpkg.com/extend-shallow/-/extend-shallow-2.0.1.tgz#51af7d614ad9a9f610ea1bafbb989d6b1c56890f" - integrity sha512-zCnTtlxNoAiDc3gqY2aYAWFx7XWWiasuF2K8Me5WbN8otHKTUKBwjPtNpRs/rbUZm7KxWAaNj7P1a/p52GbVug== - dependencies: - is-extendable "^0.1.0" - -extend-shallow@^3.0.0, extend-shallow@^3.0.2: - version "3.0.2" - resolved "https://registry.yarnpkg.com/extend-shallow/-/extend-shallow-3.0.2.tgz#26a71aaf073b39fb2127172746131c2704028db8" - integrity sha512-BwY5b5Ql4+qZoefgMj2NUmx+tehVTH/Kf4k1ZEtOHNFcm2wSxMRo992l6X3TIgni2eZVTZ85xMOjF31fwZAj6Q== - dependencies: - assign-symbols "^1.0.0" - is-extendable "^1.0.1" - -extend@^3.0.0: - version "3.0.2" - resolved "https://registry.yarnpkg.com/extend/-/extend-3.0.2.tgz#f8b1136b4071fbd8eb140aff858b1019ec2915fa" - integrity sha512-fjquC59cD7CyW6urNXK0FBufkZcoiGG80wTuPujX590cB5Ttln20E2UB4S/WARVqhXffZl2LNgS+gQdPIIim/g== - -extendable-error@^0.1.5: - version "0.1.7" - resolved "https://registry.yarnpkg.com/extendable-error/-/extendable-error-0.1.7.tgz#60b9adf206264ac920058a7395685ae4670c2b96" - integrity sha512-UOiS2in6/Q0FK0R0q6UY9vYpQ21mr/Qn1KOnte7vsACuNJf514WvCCUHSRCPcgjPT2bAhNIJdlE6bVap1GKmeg== - -external-editor@^3.0.3, external-editor@^3.1.0: - version "3.1.0" - resolved "https://registry.yarnpkg.com/external-editor/-/external-editor-3.1.0.tgz#cb03f740befae03ea4d283caed2741a83f335495" - integrity sha512-hMQ4CX1p1izmuLYyZqLMO/qGNw10wSv9QDCPfzXfyFrOaCSSoRfqE1Kf1s5an66J5JZC62NewG+mK49jOCtQew== - dependencies: - chardet "^0.7.0" - iconv-lite "^0.4.24" - tmp "^0.0.33" - -extglob@^2.0.4: - version "2.0.4" - resolved "https://registry.yarnpkg.com/extglob/-/extglob-2.0.4.tgz#ad00fe4dc612a9232e8718711dc5cb5ab0285543" - integrity sha512-Nmb6QXkELsuBr24CJSkilo6UHHgbekK5UiZgfE6UHD3Eb27YC6oD+bhcT+tJ6cl8dmsgdQxnWlcry8ksBIBLpw== - dependencies: - array-unique "^0.3.2" - define-property "^1.0.0" - expand-brackets "^2.1.4" - extend-shallow "^2.0.1" - fragment-cache "^0.2.1" - regex-not "^1.0.0" - snapdragon "^0.8.1" - to-regex "^3.0.1" - -fast-deep-equal@^3.1.1, fast-deep-equal@^3.1.3: - version "3.1.3" - resolved "https://registry.yarnpkg.com/fast-deep-equal/-/fast-deep-equal-3.1.3.tgz#3a7d56b559d6cbc3eb512325244e619a65c6c525" - integrity sha512-f3qQ9oQy9j2AhBe/H9VC91wLmKBCCU/gDOnKNAYG5hswO7BLKj09Hc5HYNz9cGI++xlpDCIgDaitVs03ATR84Q== - -fast-diff@^1.2.0: - version "1.3.0" - resolved "https://registry.yarnpkg.com/fast-diff/-/fast-diff-1.3.0.tgz#ece407fa550a64d638536cd727e129c61616e0f0" - integrity sha512-VxPP4NqbUjj6MaAOafWeUn2cXWLcCtljklUtZf0Ind4XQ+QPtmA0b18zZy0jIQx+ExRVCR/ZQpBmik5lXshNsw== - -fast-equals@^3.0.1: - version "3.0.3" - resolved "https://registry.yarnpkg.com/fast-equals/-/fast-equals-3.0.3.tgz#8e6cb4e51ca1018d87dd41982ef92758b3e4197f" - integrity sha512-NCe8qxnZFARSHGztGMZOO/PC1qa5MIFB5Hp66WdzbCRAz8U8US3bx1UTgLS49efBQPcUtO9gf5oVEY8o7y/7Kg== - -fast-glob@3.2.7: - version "3.2.7" - resolved "https://registry.yarnpkg.com/fast-glob/-/fast-glob-3.2.7.tgz#fd6cb7a2d7e9aa7a7846111e85a196d6b2f766a1" - integrity sha512-rYGMRwip6lUMvYD3BTScMwT1HtAs2d71SMv66Vrxs0IekGZEjhM0pcMfjQPnknBt2zeCwQMEupiN02ZP4DiT1Q== - dependencies: - "@nodelib/fs.stat" "^2.0.2" - "@nodelib/fs.walk" "^1.2.3" - glob-parent "^5.1.2" - merge2 "^1.3.0" - micromatch "^4.0.4" - -fast-glob@^2.2.6: - version "2.2.7" - resolved "https://registry.yarnpkg.com/fast-glob/-/fast-glob-2.2.7.tgz#6953857c3afa475fff92ee6015d52da70a4cd39d" - integrity sha512-g1KuQwHOZAmOZMuBtHdxDtju+T2RT8jgCC9aANsbpdiDDTSnjgfuVsIBNKbUeJI3oKMRExcfNDtJl4OhbffMsw== - dependencies: - "@mrmlnc/readdir-enhanced" "^2.2.1" - "@nodelib/fs.stat" "^1.1.2" - glob-parent "^3.1.0" - is-glob "^4.0.0" - merge2 "^1.2.3" - micromatch "^3.1.10" - -fast-glob@^3.2.12, fast-glob@^3.2.9, fast-glob@^3.3.0, fast-glob@^3.3.2: - version "3.3.2" - resolved "https://registry.yarnpkg.com/fast-glob/-/fast-glob-3.3.2.tgz#a904501e57cfdd2ffcded45e99a54fef55e46129" - integrity sha512-oX2ruAFQwf/Orj8m737Y5adxDQO0LAB7/S5MnxCdTNDd4p6BsyIVsv9JQsATbTSq8KHRpLwIHbVlUNatxd+1Ow== - dependencies: - "@nodelib/fs.stat" "^2.0.2" - "@nodelib/fs.walk" "^1.2.3" - glob-parent "^5.1.2" - merge2 "^1.3.0" - micromatch "^4.0.4" - -fast-json-parse@^1.0.3: - version "1.0.3" - resolved "https://registry.yarnpkg.com/fast-json-parse/-/fast-json-parse-1.0.3.tgz#43e5c61ee4efa9265633046b770fb682a7577c4d" - integrity sha512-FRWsaZRWEJ1ESVNbDWmsAlqDk96gPQezzLghafp5J4GUKjbCz3OkAHuZs5TuPEtkbVQERysLp9xv6c24fBm8Aw== - -fast-json-stable-stringify@2.x, fast-json-stable-stringify@^2.0.0, fast-json-stable-stringify@^2.1.0: - version "2.1.0" - resolved "https://registry.yarnpkg.com/fast-json-stable-stringify/-/fast-json-stable-stringify-2.1.0.tgz#874bf69c6f404c2b5d99c481341399fd55892633" - integrity sha512-lhd/wF+Lk98HZoTCtlVraHtfh5XYijIjalXck7saUtuanSDyLMxnHhSXEDJqHxD7msR8D0uCmqlkwjCV8xvwHw== - -fast-levenshtein@^2.0.6: - version "2.0.6" - resolved "https://registry.yarnpkg.com/fast-levenshtein/-/fast-levenshtein-2.0.6.tgz#3d8a5c66883a16a30ca8643e851f19baa7797917" - integrity sha512-DCXu6Ifhqcks7TZKY3Hxp3y6qphY5SJZmrWMDrKcERSOXWQdMhU9Ig/PYrzyw/ul9jOIyh0N4M0tbC5hodg8dw== - -fast-safe-stringify@^2.0.7: - version "2.1.1" - resolved "https://registry.yarnpkg.com/fast-safe-stringify/-/fast-safe-stringify-2.1.1.tgz#c406a83b6e70d9e35ce3b30a81141df30aeba884" - integrity sha512-W+KJc2dmILlPplD/H4K9l9LcAHAfPtP6BY84uVLXQ6Evcz9Lcg33Y2z1IVblT6xdY54PXYVHEv+0Wpq8Io6zkA== - -fast-uri@^3.0.1: - version "3.0.3" - resolved "https://registry.yarnpkg.com/fast-uri/-/fast-uri-3.0.3.tgz#892a1c91802d5d7860de728f18608a0573142241" - integrity sha512-aLrHthzCjH5He4Z2H9YZ+v6Ujb9ocRuW6ZzkJQOrTxleEijANq4v1TsaPaVG1PZcuurEzrLcWRyYBYXD5cEiaw== - -fastest-levenshtein@^1.0.16: - version "1.0.16" - resolved "https://registry.yarnpkg.com/fastest-levenshtein/-/fastest-levenshtein-1.0.16.tgz#210e61b6ff181de91ea9b3d1b84fdedd47e034e5" - integrity sha512-eRnCtTTtGZFpQCwhJiUOuxPQWRXVKYDn0b2PeHfXL6/Zi53SLAzAHfVhVWK2AryC/WH05kGfxhFIPvTF0SXQzg== - -fastq@^1.6.0: - version "1.17.1" - resolved "https://registry.yarnpkg.com/fastq/-/fastq-1.17.1.tgz#2a523f07a4e7b1e81a42b91b8bf2254107753b47" - integrity sha512-sRVD3lWVIXWg6By68ZN7vho9a1pQcN/WBFaAAsDDFzlJjvoGx0P8z7V1t72grFJfJhu3YPZBuu25f7Kaw2jN1w== - dependencies: - reusify "^1.0.4" - -fault@^2.0.0: - version "2.0.1" - resolved "https://registry.yarnpkg.com/fault/-/fault-2.0.1.tgz#d47ca9f37ca26e4bd38374a7c500b5a384755b6c" - integrity sha512-WtySTkS4OKev5JtpHXnib4Gxiurzh5NCGvWrFaZ34m6JehfTUhKZvn9njTfw48t6JumVQOmrKqpmGcdwxnhqBQ== - dependencies: - format "^0.2.0" - -fb-watchman@^2.0.0: - version "2.0.2" - resolved "https://registry.yarnpkg.com/fb-watchman/-/fb-watchman-2.0.2.tgz#e9524ee6b5c77e9e5001af0f85f3adbb8623255c" - integrity sha512-p5161BqbuCaSnB8jIbzQHOlpgsPmK5rJVDfDKO91Axs5NC1uu3HRQm6wt9cd9/+GtQQIO53JdGXXoyDpTAsgYA== - dependencies: - bser "2.1.1" - -fd-slicer@~1.1.0: - version "1.1.0" - resolved "https://registry.yarnpkg.com/fd-slicer/-/fd-slicer-1.1.0.tgz#25c7c89cb1f9077f8891bbe61d8f390eae256f1e" - integrity sha512-cE1qsB/VwyQozZ+q1dGxR8LBYNZeofhEdUNGSMbQD3Gw2lAzX9Zb3uIU6Ebc/Fmyjo9AWWfnn0AUCHqtevs/8g== - dependencies: - pend "~1.2.0" - -fecha@^4.2.0: - version "4.2.3" - resolved "https://registry.yarnpkg.com/fecha/-/fecha-4.2.3.tgz#4d9ccdbc61e8629b259fdca67e65891448d569fd" - integrity sha512-OP2IUU6HeYKJi3i0z4A19kHMQoLVs4Hc+DPqqxI2h/DPZHTm/vjsfC6P0b4jCMy14XizLBqvndQ+UilD7707Jw== - -fetch-blob@^3.1.2, fetch-blob@^3.1.4: - version "3.2.0" - resolved "https://registry.yarnpkg.com/fetch-blob/-/fetch-blob-3.2.0.tgz#f09b8d4bbd45adc6f0c20b7e787e793e309dcce9" - integrity sha512-7yAQpD2UMJzLi1Dqv7qFYnPbaPx7ZfFK6PiIxQ4PfkGPyNyl2Ugx+a/umUonmKqjhM4DnfbMvdX6otXq83soQQ== - dependencies: - node-domexception "^1.0.0" - web-streams-polyfill "^3.0.3" - -fetch-node-website@^5.0.3: - version "5.0.3" - resolved "https://registry.yarnpkg.com/fetch-node-website/-/fetch-node-website-5.0.3.tgz#eaafe4beca7b34b80de6f703b76bcac06eb26ec9" - integrity sha512-O86T46FUWSOq4AWON39oaT8H90QFKAbmjfOVBhgaS87AFfeW00txz73KTv7QopPWtHBbGdI1S8cIT1VK1OQYLg== - dependencies: - chalk "^4.0.0" - cli-progress "^3.7.0" - figures "^3.2.0" - filter-obj "^2.0.1" - got "^10.7.0" - jest-validate "^25.3.0" - -figures@3.2.0, figures@^3.0.0, figures@^3.2.0: - version "3.2.0" - resolved "https://registry.yarnpkg.com/figures/-/figures-3.2.0.tgz#625c18bd293c604dc4a8ddb2febf0c88341746af" - integrity sha512-yaduQFRKLXYOGgEn6AZau90j3ggSOyiqXU0F9JZfeXYhNa+Jk4X+s45A2zg5jns87GAFa34BBm2kXw4XpNcbdg== - dependencies: - escape-string-regexp "^1.0.5" - -figures@^1.7.0: - version "1.7.0" - resolved "https://registry.yarnpkg.com/figures/-/figures-1.7.0.tgz#cbe1e3affcf1cd44b80cadfed28dc793a9701d2e" - integrity sha512-UxKlfCRuCBxSXU4C6t9scbDyWZ4VlaFFdojKtzJuSkuOBQ5CNFum+zZXFwHjo+CxBC1t6zlYPgHIgFjL8ggoEQ== - dependencies: - escape-string-regexp "^1.0.5" - object-assign "^4.1.0" - -figures@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/figures/-/figures-2.0.0.tgz#3ab1a2d2a62c8bfb431a0c94cb797a2fce27c962" - integrity sha512-Oa2M9atig69ZkfwiApY8F2Yy+tzMbazyvqv21R0NsSC8floSOC09BbT1ITWAdoMGQvJ/aZnR1KMwdx9tvHnTNA== - dependencies: - escape-string-regexp "^1.0.5" - -figures@^4.0.0: - version "4.0.1" - resolved "https://registry.yarnpkg.com/figures/-/figures-4.0.1.tgz#27b26609907bc888b3e3b0ef5403643f80aa2518" - integrity sha512-rElJwkA/xS04Vfg+CaZodpso7VqBknOYbzi6I76hI4X80RUjkSxO2oAyPmGbuXUppywjqndOrQDl817hDnI++w== - dependencies: - escape-string-regexp "^5.0.0" - is-unicode-supported "^1.2.0" - -file-entry-cache@^6.0.1: - version "6.0.1" - resolved "https://registry.yarnpkg.com/file-entry-cache/-/file-entry-cache-6.0.1.tgz#211b2dd9659cb0394b073e7323ac3c933d522027" - integrity sha512-7Gps/XWymbLk2QLYK4NzpMOrYjMhdIxXuIvy2QBsLE6ljuodKvdkWs/cpyJJ3CVIVpH0Oi1Hvg1ovbMzLdFBBg== - dependencies: - flat-cache "^3.0.4" - -file-size@0.0.5: - version "0.0.5" - resolved "https://registry.yarnpkg.com/file-size/-/file-size-0.0.5.tgz#057d43c3a3ed735da3f90d6052ab380f1e6d5e3b" - integrity sha512-ZW056dw8Ta1RWHVOQue3LMZe+mSOnHkcM7AN9is8JoHSIHRiLD5szwPAHM3fM7P5SGJ1bkAmCv3PvUTGoluDqA== - -file-type@^11.1.0: - version "11.1.0" - resolved "https://registry.yarnpkg.com/file-type/-/file-type-11.1.0.tgz#93780f3fed98b599755d846b99a1617a2ad063b8" - integrity sha512-rM0UO7Qm9K7TWTtA6AShI/t7H5BPjDeGVDaNyg9BjHAj3PysKy7+8C8D137R88jnR3rFJZQB/tFgydl5sN5m7g== - -file-type@^3.8.0: - version "3.9.0" - resolved "https://registry.yarnpkg.com/file-type/-/file-type-3.9.0.tgz#257a078384d1db8087bc449d107d52a52672b9e9" - integrity sha512-RLoqTXE8/vPmMuTI88DAzhMYC99I8BWv7zYP4A1puo5HIjEJ5EX48ighy4ZyKMG9EDXxBgW6e++cn7d1xuFghA== - -file-type@^4.2.0: - version "4.4.0" - resolved "https://registry.yarnpkg.com/file-type/-/file-type-4.4.0.tgz#1b600e5fca1fbdc6e80c0a70c71c8dba5f7906c5" - integrity sha512-f2UbFQEk7LXgWpi5ntcO86OeA/cC80fuDDDaX/fZ2ZGel+AF7leRQqBBW1eJNiiQkrZlAoM6P+VYP5P6bOlDEQ== - -file-type@^5.2.0: - version "5.2.0" - resolved "https://registry.yarnpkg.com/file-type/-/file-type-5.2.0.tgz#2ddbea7c73ffe36368dfae49dc338c058c2b8ad6" - integrity sha512-Iq1nJ6D2+yIO4c8HHg4fyVb8mAJieo1Oloy1mLLaB2PvezNedhBVm+QU7g0qM42aiMbRXTxKKwGD17rjKNJYVQ== - -file-type@^6.1.0: - version "6.2.0" - resolved "https://registry.yarnpkg.com/file-type/-/file-type-6.2.0.tgz#e50cd75d356ffed4e306dc4f5bcf52a79903a919" - integrity sha512-YPcTBDV+2Tm0VqjybVd32MHdlEGAtuxS3VAYsumFokDSMG+ROT5wawGlnHDoz7bfMcMDt9hxuXvXwoKUx2fkOg== - -file-uri-to-path@1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/file-uri-to-path/-/file-uri-to-path-1.0.0.tgz#553a7b8446ff6f684359c445f1e37a05dacc33dd" - integrity sha512-0Zt+s3L7Vf1biwWZ29aARiVYLx7iMGnEUl9x33fbB/j3jR81u/O2LbqK+Bm1CDSNDKVtJ/YjwY7TUd5SkeLQLw== - -filelist@^1.0.4: - version "1.0.4" - resolved "https://registry.yarnpkg.com/filelist/-/filelist-1.0.4.tgz#f78978a1e944775ff9e62e744424f215e58352b5" - integrity sha512-w1cEuf3S+DrLCQL7ET6kz+gmlJdbq9J7yXCSjK/OZCPA+qEN1WyF4ZAf0YYJa4/shHJra2t/d/r8SV4Ji+x+8Q== - dependencies: - minimatch "^5.0.1" - -filename-reserved-regex@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/filename-reserved-regex/-/filename-reserved-regex-2.0.0.tgz#abf73dfab735d045440abfea2d91f389ebbfa229" - integrity sha512-lc1bnsSr4L4Bdif8Xb/qrtokGbq5zlsms/CYH8PP+WtCkGNF65DPiQY8vG3SakEdRn8Dlnm+gW/qWKKjS5sZzQ== - -filenamify@^3.0.0: - version "3.0.0" - resolved "https://registry.yarnpkg.com/filenamify/-/filenamify-3.0.0.tgz#9603eb688179f8c5d40d828626dcbb92c3a4672c" - integrity sha512-5EFZ//MsvJgXjBAFJ+Bh2YaCTRF/VP1YOmGrgt+KJ4SFRLjI87EIdwLLuT6wQX0I4F9W41xutobzczjsOKlI/g== - dependencies: - filename-reserved-regex "^2.0.0" - strip-outer "^1.0.0" - trim-repeated "^1.0.0" - -filesize@^10.0.12: - version "10.1.6" - resolved "https://registry.yarnpkg.com/filesize/-/filesize-10.1.6.tgz#31194da825ac58689c0bce3948f33ce83aabd361" - integrity sha512-sJslQKU2uM33qH5nqewAwVB2QgR6w1aMNsYUp3aN5rMRyXEwJGmZvaWzeJFNTOXWlHQyBFCWrdj3fV/fsTOX8w== - -fill-range@^4.0.0: - version "4.0.0" - resolved "https://registry.yarnpkg.com/fill-range/-/fill-range-4.0.0.tgz#d544811d428f98eb06a63dc402d2403c328c38f7" - integrity sha512-VcpLTWqWDiTerugjj8e3+esbg+skS3M9e54UuR3iCeIDMXCLTsAH8hTSzDQU/X6/6t3eYkOKoZSef2PlU6U1XQ== - dependencies: - extend-shallow "^2.0.1" - is-number "^3.0.0" - repeat-string "^1.6.1" - to-regex-range "^2.1.0" - -fill-range@^7.1.1: - version "7.1.1" - resolved "https://registry.yarnpkg.com/fill-range/-/fill-range-7.1.1.tgz#44265d3cac07e3ea7dc247516380643754a05292" - integrity sha512-YsGpe3WHLK8ZYi4tWDg2Jy3ebRz2rXowDxnld4bkQB00cc/1Zw9AWnC0i9ztDJitivtQvaI9KaLyKrc+hBW0yg== - dependencies: - to-regex-range "^5.0.1" - -filter-obj@^2.0.1: - version "2.0.2" - resolved "https://registry.yarnpkg.com/filter-obj/-/filter-obj-2.0.2.tgz#fff662368e505d69826abb113f0f6a98f56e9d5f" - integrity sha512-lO3ttPjHZRfjMcxWKb1j1eDhTFsu4meeR3lnMcnBFhk6RuLhvEiuALu2TlfL310ph4lCYYwgF/ElIjdP739tdg== - -filter-obj@^3.0.0: - version "3.0.0" - resolved "https://registry.yarnpkg.com/filter-obj/-/filter-obj-3.0.0.tgz#dba2f9e64e921758ed9a51028ca2ed02d4cccbcf" - integrity sha512-oQZM+QmVni8MsYzcq9lgTHD/qeLqaG8XaOPOW7dzuSafVxSUlH1+1ZDefj2OD9f2XsmG5lFl2Euc9NI4jgwFWg== - -finalhandler@1.3.1: - version "1.3.1" - resolved "https://registry.yarnpkg.com/finalhandler/-/finalhandler-1.3.1.tgz#0c575f1d1d324ddd1da35ad7ece3df7d19088019" - integrity sha512-6BN9trH7bp3qvnrRyzsBz+g3lZxTNZTbVO2EV1CS0WIcDbawYVdYvGflME/9QP0h0pYlCDBCTjYa9nZzMDpyxQ== - dependencies: - debug "2.6.9" - encodeurl "~2.0.0" - escape-html "~1.0.3" - on-finished "2.4.1" - parseurl "~1.3.3" - statuses "2.0.1" - unpipe "~1.0.0" - -find-cache-dir@^3.2.0, find-cache-dir@^3.3.1: - version "3.3.2" - resolved "https://registry.yarnpkg.com/find-cache-dir/-/find-cache-dir-3.3.2.tgz#b30c5b6eff0730731aea9bbd9dbecbd80256d64b" - integrity sha512-wXZV5emFEjrridIgED11OoUKLxiYjAcqot/NJdAkOhlJ+vGzwhOAfcG5OX1jP+S0PcjEn8bdMJv+g2jwQ3Onig== - dependencies: - commondir "^1.0.1" - make-dir "^3.0.2" - pkg-dir "^4.1.0" - -find-file-up@^0.1.2: - version "0.1.3" - resolved "https://registry.yarnpkg.com/find-file-up/-/find-file-up-0.1.3.tgz#cf68091bcf9f300a40da411b37da5cce5a2fbea0" - integrity sha512-mBxmNbVyjg1LQIIpgO8hN+ybWBgDQK8qjht+EbrTCGmmPV/sc7RF1i9stPTD6bpvXZywBdrwRYxhSdJv867L6A== - dependencies: - fs-exists-sync "^0.1.0" - resolve-dir "^0.1.0" - -find-pkg@^0.1.2: - version "0.1.2" - resolved "https://registry.yarnpkg.com/find-pkg/-/find-pkg-0.1.2.tgz#1bdc22c06e36365532e2a248046854b9788da557" - integrity sha512-0rnQWcFwZr7eO0513HahrWafsc3CTFioEB7DRiEYCUM/70QXSY8f3mCST17HXLcPvEhzH/Ty/Bxd72ZZsr/yvw== - dependencies: - find-file-up "^0.1.2" - -find-process@^1.4.4: - version "1.4.7" - resolved "https://registry.yarnpkg.com/find-process/-/find-process-1.4.7.tgz#8c76962259216c381ef1099371465b5b439ea121" - integrity sha512-/U4CYp1214Xrp3u3Fqr9yNynUrr5Le4y0SsJh2lMDDSbpwYSz3M2SMWQC+wqcx79cN8PQtHQIL8KnuY9M66fdg== - dependencies: - chalk "^4.0.0" - commander "^5.1.0" - debug "^4.1.1" - -find-up@^2.0.0: - version "2.1.0" - resolved "https://registry.yarnpkg.com/find-up/-/find-up-2.1.0.tgz#45d1b7e506c717ddd482775a2b77920a3c0c57a7" - integrity sha512-NWzkk0jSJtTt08+FBFMvXoeZnOJD+jTtsRmBYbAIzJdX6l7dLgR7CTubCM5/eDdPUBvLCeVasP1brfVR/9/EZQ== - dependencies: - locate-path "^2.0.0" - -find-up@^4.0.0, find-up@^4.1.0: - version "4.1.0" - resolved "https://registry.yarnpkg.com/find-up/-/find-up-4.1.0.tgz#97afe7d6cdc0bc5928584b7c8d7b16e8a9aa5d19" - integrity sha512-PpOwAdQ/YlXQ2vj8a3h8IipDuYRi3wceVQQGYWxNINccq40Anw7BlsEXCMbt1Zt+OLA6Fq9suIpIWD0OsnISlw== - dependencies: - locate-path "^5.0.0" - path-exists "^4.0.0" - -find-up@^5.0.0: - version "5.0.0" - resolved "https://registry.yarnpkg.com/find-up/-/find-up-5.0.0.tgz#4c92819ecb7083561e4f4a240a86be5198f536fc" - integrity sha512-78/PXT1wlLLDgTzDs7sjq9hzz0vXD+zn+7wypEe4fXQxCmdmqfGsEPQxmiCSQI3ajFV91bVSsvNtrJRiW6nGng== - dependencies: - locate-path "^6.0.0" - path-exists "^4.0.0" - -find-up@^6.0.0, find-up@^6.1.0, find-up@^6.3.0: - version "6.3.0" - resolved "https://registry.yarnpkg.com/find-up/-/find-up-6.3.0.tgz#2abab3d3280b2dc7ac10199ef324c4e002c8c790" - integrity sha512-v2ZsoEuVHYy8ZIlYqwPe/39Cy+cFDzp4dXPaxNvkEuouymu+2Jbz0PxpKarJHYJTmv2HWT3O382qY8l4jMWthw== - dependencies: - locate-path "^7.1.0" - path-exists "^5.0.0" - -flat-cache@^3.0.4: - version "3.2.0" - resolved "https://registry.yarnpkg.com/flat-cache/-/flat-cache-3.2.0.tgz#2c0c2d5040c99b1632771a9d105725c0115363ee" - integrity sha512-CYcENa+FtcUKLmhhqyctpclsq7QF38pKjZHsGNiSQF5r4FtoKDWabFDl3hzaEQMvT1LHEysw5twgLvpYYb4vbw== - dependencies: - flatted "^3.2.9" - keyv "^4.5.3" - rimraf "^3.0.2" - -flat@^5.0.2: - version "5.0.2" - resolved "https://registry.yarnpkg.com/flat/-/flat-5.0.2.tgz#8ca6fe332069ffa9d324c327198c598259ceb241" - integrity sha512-b6suED+5/3rTpUBdG1gupIl8MPFCAMA0QXwmljLhvCUKcUvdE4gWky9zpuGCcXHOsz4J9wPGNWq6OKpmIzz3hQ== - -flatted@^3.2.9: - version "3.3.1" - resolved "https://registry.yarnpkg.com/flatted/-/flatted-3.3.1.tgz#21db470729a6734d4997002f439cb308987f567a" - integrity sha512-X8cqMLLie7KsNUDSdzeN8FYK9rEt4Dt67OsG/DNGnYTSDBG4uFAJFBnUeiV+zCVAvwFy56IjM9sH51jVaEhNxw== - -flatten@^1.0.2: - version "1.0.3" - resolved "https://registry.yarnpkg.com/flatten/-/flatten-1.0.3.tgz#c1283ac9f27b368abc1e36d1ff7b04501a30356b" - integrity sha512-dVsPA/UwQ8+2uoFe5GHtiBMu48dWLTdsuEd7CKGlZlD78r1TTWBvDuFaFGKCo/ZfEr95Uk56vZoX86OsHkUeIg== - -flush-write-stream@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/flush-write-stream/-/flush-write-stream-2.0.0.tgz#6f58e776154f5eefacff92a6e5a681c88ac50f7c" - integrity sha512-uXClqPxT4xW0lcdSBheb2ObVU+kuqUk3Jk64EwieirEXZx9XUrVwp/JuBfKAWaM4T5Td/VL7QLDWPXp/MvGm/g== - dependencies: - inherits "^2.0.3" - readable-stream "^3.1.1" - -fn.name@1.x.x: - version "1.1.0" - resolved "https://registry.yarnpkg.com/fn.name/-/fn.name-1.1.0.tgz#26cad8017967aea8731bc42961d04a3d5988accc" - integrity sha512-GRnmB5gPyJpAhTQdSZTSp9uaPSvl09KoYcMQtsB9rQoOmzs9dH6ffeccH+Z+cv6P68Hu5bC6JjRh4Ah/mHSNRw== - -folder-walker@^3.2.0: - version "3.2.0" - resolved "https://registry.yarnpkg.com/folder-walker/-/folder-walker-3.2.0.tgz#98e00e59773f43416a6dcf0926d4c9436f65121d" - integrity sha512-VjAQdSLsl6AkpZNyrQJfO7BXLo4chnStqb055bumZMbRUPpVuPN3a4ktsnRCmrFZjtMlYLkyXiR5rAs4WOpC4Q== - dependencies: - from2 "^2.1.0" - -follow-redirects@^1.0.0, follow-redirects@^1.15.6: - version "1.15.9" - resolved "https://registry.yarnpkg.com/follow-redirects/-/follow-redirects-1.15.9.tgz#a604fa10e443bf98ca94228d9eebcc2e8a2c8ee1" - integrity sha512-gew4GsXizNgdoRyqmyfMHyAmXsZDk6mHkSxZFCzW9gwlbtOW44CDtYavM+y+72qD/Vq2l550kMF52DT8fOLJqQ== - -for-each@^0.3.3: - version "0.3.3" - resolved "https://registry.yarnpkg.com/for-each/-/for-each-0.3.3.tgz#69b447e88a0a5d32c3e7084f3f1710034b21376e" - integrity sha512-jqYfLp7mo9vIyQf8ykW2v7A+2N4QjeCeI5+Dz9XraiO1ign81wjiH7Fb9vSOWvQfNtmSa4H2RoQTrrXivdUZmw== - dependencies: - is-callable "^1.1.3" - -for-in@^1.0.2: - version "1.0.2" - resolved "https://registry.yarnpkg.com/for-in/-/for-in-1.0.2.tgz#81068d295a8142ec0ac726c6e2200c30fb6d5e80" - integrity sha512-7EwmXrOjyL+ChxMhmG5lnW9MPt1aIeZEwKhQzoBUdTV0N3zuwWDZYVJatDvZ2OyzPUvdIAZDsCetk3coyMfcnQ== - -foreground-child@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/foreground-child/-/foreground-child-2.0.0.tgz#71b32800c9f15aa8f2f83f4a6bd9bff35d861a53" - integrity sha512-dCIq9FpEcyQyXKCkyzmlPTFNgrCzPudOe+mhvJU5zAtlBnGVy2yKxtfsxK2tQBThwq225jcvBjpw1Gr40uzZCA== - dependencies: - cross-spawn "^7.0.0" - signal-exit "^3.0.2" - -foreground-child@^3.1.0: - version "3.3.0" - resolved "https://registry.yarnpkg.com/foreground-child/-/foreground-child-3.3.0.tgz#0ac8644c06e431439f8561db8ecf29a7b5519c77" - integrity sha512-Ld2g8rrAyMYFXBhEqMz8ZAHBi4J4uS1i/CxGMDnjyFWddMXLVcDp051DZfu+t7+ab7Wv6SMqpWmyFIj5UbfFvg== - dependencies: - cross-spawn "^7.0.0" - signal-exit "^4.0.1" - -fork-ts-checker-webpack-plugin@^8.0.0: - version "8.0.0" - resolved "https://registry.yarnpkg.com/fork-ts-checker-webpack-plugin/-/fork-ts-checker-webpack-plugin-8.0.0.tgz#dae45dfe7298aa5d553e2580096ced79b6179504" - integrity sha512-mX3qW3idpueT2klaQXBzrIM/pHw+T0B/V9KHEvNrqijTq9NFnMZU6oreVxDYcf33P8a5cW+67PjodNHthGnNVg== - dependencies: - "@babel/code-frame" "^7.16.7" - chalk "^4.1.2" - chokidar "^3.5.3" - cosmiconfig "^7.0.1" - deepmerge "^4.2.2" - fs-extra "^10.0.0" - memfs "^3.4.1" - minimatch "^3.0.4" - node-abort-controller "^3.0.1" - schema-utils "^3.1.1" - semver "^7.3.5" - tapable "^2.2.1" - -form-data@^2.5.0: - version "2.5.2" - resolved "https://registry.yarnpkg.com/form-data/-/form-data-2.5.2.tgz#dc653743d1de2fcc340ceea38079daf6e9069fd2" - integrity sha512-GgwY0PS7DbXqajuGf4OYlsrIu3zgxD6Vvql43IBhm6MahqA5SK/7mwhtNj2AdH2z35YR34ujJ7BN+3fFC3jP5Q== - dependencies: - asynckit "^0.4.0" - combined-stream "^1.0.6" - mime-types "^2.1.12" - safe-buffer "^5.2.1" - -form-data@^4.0.0: - version "4.0.1" - resolved "https://registry.yarnpkg.com/form-data/-/form-data-4.0.1.tgz#ba1076daaaa5bfd7e99c1a6cb02aa0a5cff90d48" - integrity sha512-tzN8e4TX8+kkxGPK8D5u0FNmjPUjw3lwC9lSLxxoB/+GtsJG91CO8bSWy73APlgAZzZbXEYZJuxjkHH2w+Ezhw== - dependencies: - asynckit "^0.4.0" - combined-stream "^1.0.8" - mime-types "^2.1.12" - -format@^0.2.0: - version "0.2.2" - resolved "https://registry.yarnpkg.com/format/-/format-0.2.2.tgz#d6170107e9efdc4ed30c9dc39016df942b5cb58b" - integrity sha512-wzsgA6WOq+09wrU1tsJ09udeR/YZRaeArL9e1wPbFg3GG2yDnC2ldKpxs4xunpFF9DgqCqOIra3bc1HWrJ37Ww== - -formdata-polyfill@^4.0.10: - version "4.0.10" - resolved "https://registry.yarnpkg.com/formdata-polyfill/-/formdata-polyfill-4.0.10.tgz#24807c31c9d402e002ab3d8c720144ceb8848423" - integrity sha512-buewHzMvYL29jdeQTVILecSaZKnt/RJWjoZCF5OW60Z67/GmSLBkOFM7qh1PI3zFNtJbaZL5eQu1vLfazOwj4g== - dependencies: - fetch-blob "^3.1.2" - -formik@2.4.6: - version "2.4.6" - resolved "https://registry.yarnpkg.com/formik/-/formik-2.4.6.tgz#4da75ca80f1a827ab35b08fd98d5a76e928c9686" - integrity sha512-A+2EI7U7aG296q2TLGvNapDNTZp1khVt5Vk0Q/fyfSROss0V/V6+txt2aJnwEos44IxTCW/LYAi/zgWzlevj+g== - dependencies: - "@types/hoist-non-react-statics" "^3.3.1" - deepmerge "^2.1.1" - hoist-non-react-statics "^3.3.0" - lodash "^4.17.21" - lodash-es "^4.17.21" - react-fast-compare "^2.0.1" - tiny-warning "^1.0.2" - tslib "^2.0.0" - -forwarded@0.2.0: - version "0.2.0" - resolved "https://registry.yarnpkg.com/forwarded/-/forwarded-0.2.0.tgz#2269936428aad4c15c7ebe9779a84bf0b2a81811" - integrity sha512-buRG0fpBtRHSTCOASe6hD258tEubFoRLb4ZNA6NxMVHNw2gOcwHo9wyablzMzOA5z9xA9L1KNjk/Nt6MT9aYow== - -fragment-cache@^0.2.1: - version "0.2.1" - resolved "https://registry.yarnpkg.com/fragment-cache/-/fragment-cache-0.2.1.tgz#4290fad27f13e89be7f33799c6bc5a0abfff0d19" - integrity sha512-GMBAbW9antB8iZRHLoGw0b3HANt57diZYFO/HL1JGIC1MjKrdmhxvrJbupnVvpys0zsz7yBApXdQyfepKly2kA== - dependencies: - map-cache "^0.2.2" - -fresh@0.5.2: - version "0.5.2" - resolved "https://registry.yarnpkg.com/fresh/-/fresh-0.5.2.tgz#3d8cadd90d976569fa835ab1f8e4b23a105605a7" - integrity sha512-zJ2mQYM18rEFOudeV4GShTGIQ7RbzA7ozbU9I/XBpm7kqgMywgmylMwXHxZJmkVoYkna9d2pVXVXPdYTP9ej8Q== - -from2-array@^0.0.4: - version "0.0.4" - resolved "https://registry.yarnpkg.com/from2-array/-/from2-array-0.0.4.tgz#eafc16b65f6e2719bcd57fdc1869005ac1332cd6" - integrity sha512-0G0cAp7sYLobH7ALsr835x98PU/YeVF7wlwxdWbCUaea7wsa7lJfKZUAo6p2YZGZ8F94luCuqHZS3JtFER6uPg== - dependencies: - from2 "^2.0.3" - -from2@^2.0.3, from2@^2.1.0, from2@^2.1.1: - version "2.3.0" - resolved "https://registry.yarnpkg.com/from2/-/from2-2.3.0.tgz#8bfb5502bde4a4d36cfdeea007fcca21d7e382af" - integrity sha512-OMcX/4IC/uqEPVgGeyfN22LJk6AZrMkRZHxcHBMBvHScDGgwTm2GT2Wkgtocyd3JfZffjj2kYUDXXII0Fk9W0g== - dependencies: - inherits "^2.0.1" - readable-stream "^2.0.0" - -fromentries@^1.2.0: - version "1.3.2" - resolved "https://registry.yarnpkg.com/fromentries/-/fromentries-1.3.2.tgz#e4bca6808816bf8f93b52750f1127f5a6fd86e3a" - integrity sha512-cHEpEQHUg0f8XdtZCc2ZAhrHzKzT0MrFUTcvx+hfxYu7rGMDc5SKoXFh+n4YigxsHXRzc6OrCshdR1bWH6HHyg== - -fs-constants@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/fs-constants/-/fs-constants-1.0.0.tgz#6be0de9be998ce16af8afc24497b9ee9b7ccd9ad" - integrity sha512-y6OAwoSIf7FyjMIv94u+b5rdheZEjzR63GTyZJm5qh4Bi+2YgwLCcI/fPFZkL5PSixOt6ZNKm+w+Hfp/Bciwow== - -fs-exists-sync@^0.1.0: - version "0.1.0" - resolved "https://registry.yarnpkg.com/fs-exists-sync/-/fs-exists-sync-0.1.0.tgz#982d6893af918e72d08dec9e8673ff2b5a8d6add" - integrity sha512-cR/vflFyPZtrN6b38ZyWxpWdhlXrzZEBawlpBQMq7033xVY7/kg0GDMBK5jg8lDYQckdJ5x/YC88lM3C7VMsLg== - -fs-extra@9.1.0, fs-extra@^9.1.0: - version "9.1.0" - resolved "https://registry.yarnpkg.com/fs-extra/-/fs-extra-9.1.0.tgz#5954460c764a8da2094ba3554bf839e6b9a7c86d" - integrity sha512-hcg3ZmepS30/7BSFqRvoo3DOMQu7IjqxO5nCDt+zM9XWjb33Wg7ziNT+Qvqbuc3+gWpzO02JubVyk2G4Zvo1OQ== - dependencies: - at-least-node "^1.0.0" - graceful-fs "^4.2.0" - jsonfile "^6.0.1" - universalify "^2.0.0" - -fs-extra@^10.0.0: - version "10.1.0" - resolved "https://registry.yarnpkg.com/fs-extra/-/fs-extra-10.1.0.tgz#02873cfbc4084dde127eaa5f9905eef2325d1abf" - integrity sha512-oRXApq54ETRj4eMiFzGnHWGy+zo5raudjuxN0b8H7s/RU2oW0Wvsx9O0ACRN/kRq9E8Vu/ReskGB5o3ji+FzHQ== - dependencies: - graceful-fs "^4.2.0" - jsonfile "^6.0.1" - universalify "^2.0.0" - -fs-extra@^11.1.0: - version "11.2.0" - resolved "https://registry.yarnpkg.com/fs-extra/-/fs-extra-11.2.0.tgz#e70e17dfad64232287d01929399e0ea7c86b0e5b" - integrity sha512-PmDi3uwK5nFuXh7XDTlVnS17xJS7vW36is2+w3xcv8SVxiB4NyATf4ctkVY5bkSjX0Y4nbvZCq1/EjtEyr9ktw== - dependencies: - graceful-fs "^4.2.0" - jsonfile "^6.0.1" - universalify "^2.0.0" - -fs-extra@^7.0.1: - version "7.0.1" - resolved "https://registry.yarnpkg.com/fs-extra/-/fs-extra-7.0.1.tgz#4f189c44aa123b895f722804f55ea23eadc348e9" - integrity sha512-YJDaCJZEnBmcbw13fvdAM9AwNOJwOzrE4pqMqBq5nFiEqXUqHwlK4B+3pUw6JNvfSPtX05xFHtYy/1ni01eGCw== - dependencies: - graceful-fs "^4.1.2" - jsonfile "^4.0.0" - universalify "^0.1.0" - -fs-extra@^8.1.0: - version "8.1.0" - resolved "https://registry.yarnpkg.com/fs-extra/-/fs-extra-8.1.0.tgz#49d43c45a88cd9677668cb7be1b46efdb8d2e1c0" - integrity sha512-yhlQgA6mnOJUKOsRUFsgJdQCvkKhcz8tlZG5HBQfReYZy46OwLcY+Zia0mtdHsOo9y/hP+CxMN0TU9QxoOtG4g== - dependencies: - graceful-fs "^4.2.0" - jsonfile "^4.0.0" - universalify "^0.1.0" - -fs-minipass@^1.2.7: - version "1.2.7" - resolved "https://registry.yarnpkg.com/fs-minipass/-/fs-minipass-1.2.7.tgz#ccff8570841e7fe4265693da88936c55aed7f7c7" - integrity sha512-GWSSJGFy4e9GUeCcbIkED+bgAoFyj7XF1mV8rma3QW4NIqX9Kyx79N/PF61H5udOV3aY1IaMLs6pGbH71nlCTA== - dependencies: - minipass "^2.6.0" - -fs-minipass@^2.0.0, fs-minipass@^2.1.0: - version "2.1.0" - resolved "https://registry.yarnpkg.com/fs-minipass/-/fs-minipass-2.1.0.tgz#7f5036fdbf12c63c169190cbe4199c852271f9fb" - integrity sha512-V/JgOLFCS+R6Vcq0slCuaeWEdNC3ouDlJMNIsacH2VtALiu9mV4LPrHc5cDl8k5aw6J8jwgWWpiTo5RYhmIzvg== - dependencies: - minipass "^3.0.0" - -fs-monkey@^1.0.4: - version "1.0.6" - resolved "https://registry.yarnpkg.com/fs-monkey/-/fs-monkey-1.0.6.tgz#8ead082953e88d992cf3ff844faa907b26756da2" - integrity sha512-b1FMfwetIKymC0eioW7mTywihSQE4oLzQn1dB6rZB5fx/3NpNEdAWeCSMB+60/AeT0TCXsxzAlcYVEFCTAksWg== - -fs.realpath@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/fs.realpath/-/fs.realpath-1.0.0.tgz#1504ad2523158caa40db4a2787cb01411994ea4f" - integrity sha512-OO0pH2lK6a0hZnAdau5ItzHPI6pUlvI7jMVnxUQRtw4owF2wk8lOSabtGDCTP4Ggrg2MbGnWO9X8K1t4+fGMDw== - -fsevents@2.3.2: - version "2.3.2" - resolved "https://registry.yarnpkg.com/fsevents/-/fsevents-2.3.2.tgz#8a526f78b8fdf4623b709e0b975c52c24c02fd1a" - integrity sha512-xiqMQR4xAeHTuB9uWm+fFRcIOgKBMiOBP+eXiyT7jsgVCq1bkVygt00oASowB7EdtpOHaaPgKt812P9ab+DDKA== - -fsevents@^2.3.2, fsevents@~2.3.2: - version "2.3.3" - resolved "https://registry.yarnpkg.com/fsevents/-/fsevents-2.3.3.tgz#cac6407785d03675a2a5e1a5305c697b347d90d6" - integrity sha512-5xoDfX+fL7faATnagmWPpbFtwh/R77WmMMqqHGS65C3vvB0YHrgF+B1YmZ3441tMj5n63k0212XNoJwzlhffQw== - -function-bind@^1.1.2: - version "1.1.2" - resolved "https://registry.yarnpkg.com/function-bind/-/function-bind-1.1.2.tgz#2c02d864d97f3ea6c8830c464cbd11ab6eab7a1c" - integrity sha512-7XHNxH7qX9xG5mIwxkhumTox/MIRNcOgDrxWsMt2pAr23WHp6MrRlN7FBSFpCpr+oVO0F744iUgR82nJMfG2SA== - -function.prototype.name@^1.1.6: - version "1.1.6" - resolved "https://registry.yarnpkg.com/function.prototype.name/-/function.prototype.name-1.1.6.tgz#cdf315b7d90ee77a4c6ee216c3c3362da07533fd" - integrity sha512-Z5kx79swU5P27WEayXM1tBi5Ze/lbIyiNgU3qyXUOf9b2rgXYyF9Dy9Cx+IQv/Lc8WCG6L82zwUPpSS9hGehIg== - dependencies: - call-bind "^1.0.2" - define-properties "^1.2.0" - es-abstract "^1.22.1" - functions-have-names "^1.2.3" - -functions-have-names@^1.2.3: - version "1.2.3" - resolved "https://registry.yarnpkg.com/functions-have-names/-/functions-have-names-1.2.3.tgz#0404fe4ee2ba2f607f0e0ec3c80bae994133b834" - integrity sha512-xckBUXyTIqT97tq2x2AMb+g163b5JFysYk0x4qxNFwbfQkmNZoiRHb6sPzI9/QV33WeuvVYBUIiD4NzNIyqaRQ== - -fuzzy@^0.1.3: - version "0.1.3" - resolved "https://registry.yarnpkg.com/fuzzy/-/fuzzy-0.1.3.tgz#4c76ec2ff0ac1a36a9dccf9a00df8623078d4ed8" - integrity sha512-/gZffu4ykarLrCiP3Ygsa86UAo1E5vEVlvTrpkKywXSbP9Xhln3oSp9QSV57gEq3JFFpGJ4GZ+5zdEp3FcUh4w== - -gauge@^3.0.0: - version "3.0.2" - resolved "https://registry.yarnpkg.com/gauge/-/gauge-3.0.2.tgz#03bf4441c044383908bcfa0656ad91803259b395" - integrity sha512-+5J6MS/5XksCuXq++uFRsnUd7Ovu1XenbeuIuNRJxYWjgQbPuFhT14lAvsWfqfAmnwluf1OwMjz39HjfLPci0Q== - dependencies: - aproba "^1.0.3 || ^2.0.0" - color-support "^1.1.2" - console-control-strings "^1.0.0" - has-unicode "^2.0.1" - object-assign "^4.1.1" - signal-exit "^3.0.0" - string-width "^4.2.3" - strip-ansi "^6.0.1" - wide-align "^1.1.2" - -gauge@^4.0.3: - version "4.0.4" - resolved "https://registry.yarnpkg.com/gauge/-/gauge-4.0.4.tgz#52ff0652f2bbf607a989793d53b751bef2328dce" - integrity sha512-f9m+BEN5jkg6a0fZjleidjN51VE1X+mPFQ2DJ0uv1V39oCLCbsGe6yjbBnp7eK7z/+GAon99a3nHuqbuuthyPg== - dependencies: - aproba "^1.0.3 || ^2.0.0" - color-support "^1.1.3" - console-control-strings "^1.1.0" - has-unicode "^2.0.1" - signal-exit "^3.0.7" - string-width "^4.2.3" - strip-ansi "^6.0.1" - wide-align "^1.1.5" - -gauge@~2.7.3: - version "2.7.4" - resolved "https://registry.yarnpkg.com/gauge/-/gauge-2.7.4.tgz#2c03405c7538c39d7eb37b317022e325fb018bf7" - integrity sha512-14x4kjc6lkD3ltw589k0NrPD6cCNTD6CWoVUNpB85+DrtONoZn+Rug6xZU5RvSC4+TZPxA5AnBibQYAvZn41Hg== - dependencies: - aproba "^1.0.3" - console-control-strings "^1.0.0" - has-unicode "^2.0.0" - object-assign "^4.1.0" - signal-exit "^3.0.0" - string-width "^1.0.1" - strip-ansi "^3.0.1" - wide-align "^1.1.0" - -gensync@^1.0.0-beta.2: - version "1.0.0-beta.2" - resolved "https://registry.yarnpkg.com/gensync/-/gensync-1.0.0-beta.2.tgz#32a6ee76c3d7f52d46b2b1ae5d93fea8580a25e0" - integrity sha512-3hN7NaskYvMDLQY55gnW3NQ+mesEAepTqlg+VEbj7zzqEMBVNhzcGYYeqFo/TlYz6eQiFcp1HcsCZO+nGgS8zg== - -get-amd-module-type@^3.0.0: - version "3.0.2" - resolved "https://registry.yarnpkg.com/get-amd-module-type/-/get-amd-module-type-3.0.2.tgz#46550cee2b8e1fa4c3f2c8a5753c36990aa49ab0" - integrity sha512-PcuKwB8ouJnKuAPn6Hk3UtdfKoUV3zXRqVEvj8XGIXqjWfgd1j7QGdXy5Z9OdQfzVt1Sk29HVe/P+X74ccOuqw== - dependencies: - ast-module-types "^3.0.0" - node-source-walk "^4.2.2" - -get-amd-module-type@^4.1.0: - version "4.1.0" - resolved "https://registry.yarnpkg.com/get-amd-module-type/-/get-amd-module-type-4.1.0.tgz#af1396d02cd935cb6fafdc4a5282395db3422db6" - integrity sha512-0e/eK6vTGCnSfQ6eYs3wtH05KotJYIP7ZIZEueP/KlA+0dIAEs8bYFvOd/U56w1vfjhJqBagUxVMyy9Tr/cViQ== - dependencies: - ast-module-types "^4.0.0" - node-source-walk "^5.0.1" - -get-caller-file@^2.0.1, get-caller-file@^2.0.5: - version "2.0.5" - resolved "https://registry.yarnpkg.com/get-caller-file/-/get-caller-file-2.0.5.tgz#4f94412a82db32f36e3b0b9741f8a97feb031f7e" - integrity sha512-DyFP3BM/3YHTQOCUL/w0OZHR0lpKeGrxotcHWcqNEdnltqFwXVfhEBQ94eIo34AfQpo0rGki4cyIiftY06h2Fg== - -get-intrinsic@^1.1.3, get-intrinsic@^1.2.1, get-intrinsic@^1.2.2, get-intrinsic@^1.2.3, get-intrinsic@^1.2.4: - version "1.2.4" - resolved "https://registry.yarnpkg.com/get-intrinsic/-/get-intrinsic-1.2.4.tgz#e385f5a4b5227d449c3eabbad05494ef0abbeadd" - integrity sha512-5uYhsJH8VJBTv7oslg4BznJYhDoRI6waYCxMmCdnTrcCrHA/fCFKoTFz2JKKE0HdDFUF7/oQuhzumXJK7paBRQ== - dependencies: - es-errors "^1.3.0" - function-bind "^1.1.2" - has-proto "^1.0.1" - has-symbols "^1.0.3" - hasown "^2.0.0" - -get-package-type@^0.1.0: - version "0.1.0" - resolved "https://registry.yarnpkg.com/get-package-type/-/get-package-type-0.1.0.tgz#8de2d803cff44df3bc6c456e6668b36c3926e11a" - integrity sha512-pjzuKtY64GYfWizNAJ0fr9VqttZkNiK2iS430LtIHzjBEr6bX8Am2zm4sW4Ro5wjWW5cAlRL1qAMTcXbjNAO2Q== - -get-pkg-repo@^4.0.0: - version "4.2.1" - resolved "https://registry.yarnpkg.com/get-pkg-repo/-/get-pkg-repo-4.2.1.tgz#75973e1c8050c73f48190c52047c4cee3acbf385" - integrity sha512-2+QbHjFRfGB74v/pYWjd5OhU3TDIC2Gv/YKUTk/tCvAz0pkn/Mz6P3uByuBimLOcPvN2jYdScl3xGFSrx0jEcA== - dependencies: - "@hutson/parse-repository-url" "^3.0.0" - hosted-git-info "^4.0.0" - through2 "^2.0.0" - yargs "^16.2.0" - -get-port@5.1.1, get-port@^5.1.0: - version "5.1.1" - resolved "https://registry.yarnpkg.com/get-port/-/get-port-5.1.1.tgz#0469ed07563479de6efb986baf053dcd7d4e3193" - integrity sha512-g/Q1aTSDOxFpchXC4i8ZWvxA1lnPqx/JHqcpIw0/LX9T8x/GBbi6YnlN5nhaKIFkT8oFsscUKgDJYxfwfS6QsQ== - -get-stream@3.0.0, get-stream@^3.0.0: - version "3.0.0" - resolved "https://registry.yarnpkg.com/get-stream/-/get-stream-3.0.0.tgz#8e943d1358dc37555054ecbe2edb05aa174ede14" - integrity sha512-GlhdIUuVakc8SJ6kK0zAFbiGzRFzNnY4jUuEbV9UROo4Y+0Ny4fjvcZFVTeDA4odpFyOQzaw6hXukJSq/f28sQ== - -get-stream@6.0.0: - version "6.0.0" - resolved "https://registry.yarnpkg.com/get-stream/-/get-stream-6.0.0.tgz#3e0012cb6827319da2706e601a1583e8629a6718" - integrity sha512-A1B3Bh1UmL0bidM/YX2NsCOTnGJePL9rO/M+Mw3m9f2gUpfokS0hi5Eah0WSUEWZdZhIZtMjkIYS7mDfOqNHbg== - -get-stream@^2.2.0: - version "2.3.1" - resolved "https://registry.yarnpkg.com/get-stream/-/get-stream-2.3.1.tgz#5f38f93f346009666ee0150a054167f91bdd95de" - integrity sha512-AUGhbbemXxrZJRD5cDvKtQxLuYaIbNtDTK8YqupCI393Q2KSTreEsLUN3ZxAWFGiKTzL6nKuzfcIvieflUX9qA== - dependencies: - object-assign "^4.0.1" - pinkie-promise "^2.0.0" - -get-stream@^4.1.0: - version "4.1.0" - resolved "https://registry.yarnpkg.com/get-stream/-/get-stream-4.1.0.tgz#c1b255575f3dc21d59bfc79cd3d2b46b1c3a54b5" - integrity sha512-GMat4EJ5161kIy2HevLlr4luNjBgvmj413KaQA7jt4V8B4RDsfpHk7WQ9GVqfYyyx8OS/L66Kox+rJRNklLK7w== - dependencies: - pump "^3.0.0" - -get-stream@^5.0.0, get-stream@^5.1.0: - version "5.2.0" - resolved "https://registry.yarnpkg.com/get-stream/-/get-stream-5.2.0.tgz#4966a1795ee5ace65e706c4b7beb71257d6e22d3" - integrity sha512-nBF+F1rAZVCu/p7rjzgA+Yb4lfYXrpl7a6VmJrU8wF9I1CKvP/QwPNZHnOlwbTkY6dvtFIzFMSyQXbLoTQPRpA== - dependencies: - pump "^3.0.0" - -get-stream@^6.0.0, get-stream@^6.0.1: - version "6.0.1" - resolved "https://registry.yarnpkg.com/get-stream/-/get-stream-6.0.1.tgz#a262d8eef67aced57c2852ad6167526a43cbf7b7" - integrity sha512-ts6Wi+2j3jQjqi70w5AlN8DFnkSwC+MqmxEzdEALB2qXZYV3X/b1CTfgPLGJNMeAWxdPfU8FO1ms3NUfaHCPYg== - -get-symbol-description@^1.0.2: - version "1.0.2" - resolved "https://registry.yarnpkg.com/get-symbol-description/-/get-symbol-description-1.0.2.tgz#533744d5aa20aca4e079c8e5daf7fd44202821f5" - integrity sha512-g0QYk1dZBxGwk+Ngc+ltRH2IBp2f7zBkBMBJZCDerh6EhlhSR6+9irMCuT/09zD6qkarHUSn529sK/yL4S27mg== - dependencies: - call-bind "^1.0.5" - es-errors "^1.3.0" - get-intrinsic "^1.2.4" - -get-value@^2.0.3, get-value@^2.0.6: - version "2.0.6" - resolved "https://registry.yarnpkg.com/get-value/-/get-value-2.0.6.tgz#dc15ca1c672387ca76bd37ac0a395ba2042a2c28" - integrity sha512-Ln0UQDlxH1BapMu3GPtf7CuYNwRZf2gwCuPqbyG6pB8WfmFpzqcy4xtAaAMUhnNqjMKTiCPZG2oMT3YSx8U2NA== - -gh-release-fetch@^3.0.0: - version "3.0.2" - resolved "https://registry.yarnpkg.com/gh-release-fetch/-/gh-release-fetch-3.0.2.tgz#18119c47a4babb918b525cd1c0cb2de50fd96be2" - integrity sha512-xcX1uaOVDvsm+io4bvJfBFpQCLfoI3DsFay2GBMUtEnNInbNFFZqxTh7X0WIorCDtOmtos5atp2BGHAGEzmlAg== - dependencies: - "@types/download" "^8.0.0" - "@types/node-fetch" "^2.1.6" - "@types/semver" "^7.0.0" - download "^8.0.0" - node-fetch "^2.3.0" - semver "^7.0.0" - -git-raw-commits@^2.0.8: - version "2.0.11" - resolved "https://registry.yarnpkg.com/git-raw-commits/-/git-raw-commits-2.0.11.tgz#bc3576638071d18655e1cc60d7f524920008d723" - integrity sha512-VnctFhw+xfj8Va1xtfEqCUD2XDrbAPSJx+hSrE5K7fGdjZruW7XV+QOrN7LF/RJyvspRiD2I0asWsxFp0ya26A== - dependencies: - dargs "^7.0.0" - lodash "^4.17.15" - meow "^8.0.0" - split2 "^3.0.0" - through2 "^4.0.0" - -git-remote-origin-url@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/git-remote-origin-url/-/git-remote-origin-url-2.0.0.tgz#5282659dae2107145a11126112ad3216ec5fa65f" - integrity sha512-eU+GGrZgccNJcsDH5LkXR3PB9M958hxc7sbA8DFJjrv9j4L2P/eZfKhM+QD6wyzpiv+b1BpK0XrYCxkovtjSLw== - dependencies: - gitconfiglocal "^1.0.0" - pify "^2.3.0" - -git-repo-info@^2.1.0: - version "2.1.1" - resolved "https://registry.yarnpkg.com/git-repo-info/-/git-repo-info-2.1.1.tgz#220ffed8cbae74ef8a80e3052f2ccb5179aed058" - integrity sha512-8aCohiDo4jwjOwma4FmYFd3i97urZulL8XL24nIPxuE+GZnfsAyy/g2Shqx6OjUiFKUXZM+Yy+KHnOmmA3FVcg== - -git-semver-tags@^4.1.1: - version "4.1.1" - resolved "https://registry.yarnpkg.com/git-semver-tags/-/git-semver-tags-4.1.1.tgz#63191bcd809b0ec3e151ba4751c16c444e5b5780" - integrity sha512-OWyMt5zBe7xFs8vglMmhM9lRQzCWL3WjHtxNNfJTMngGym7pC1kh8sP6jevfydJ6LP3ZvGxfb6ABYgPUM0mtsA== - dependencies: - meow "^8.0.0" - semver "^6.0.0" - -git-up@^7.0.0: - version "7.0.0" - resolved "https://registry.yarnpkg.com/git-up/-/git-up-7.0.0.tgz#bace30786e36f56ea341b6f69adfd83286337467" - integrity sha512-ONdIrbBCFusq1Oy0sC71F5azx8bVkvtZtMJAsv+a6lz5YAmbNnLD6HAB4gptHZVLPR8S2/kVN6Gab7lryq5+lQ== - dependencies: - is-ssh "^1.4.0" - parse-url "^8.1.0" - -git-url-parse@13.1.0: - version "13.1.0" - resolved "https://registry.yarnpkg.com/git-url-parse/-/git-url-parse-13.1.0.tgz#07e136b5baa08d59fabdf0e33170de425adf07b4" - integrity sha512-5FvPJP/70WkIprlUZ33bm4UAaFdjcLkJLpWft1BeZKqwR0uhhNGoKwlUaPtVb4LxCSQ++erHapRak9kWGj+FCA== - dependencies: - git-up "^7.0.0" - -gitconfiglocal@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/gitconfiglocal/-/gitconfiglocal-1.0.0.tgz#41d045f3851a5ea88f03f24ca1c6178114464b9b" - integrity sha512-spLUXeTAVHxDtKsJc8FkFVgFtMdEN9qPGpL23VfSHx4fP4+Ds097IXLvymbnDH8FnmxX5Nr9bPw3A+AQ6mWEaQ== - dependencies: - ini "^1.3.2" - -gitconfiglocal@^2.1.0: - version "2.1.0" - resolved "https://registry.yarnpkg.com/gitconfiglocal/-/gitconfiglocal-2.1.0.tgz#07c28685c55cc5338b27b5acbcfe34aeb92e43d1" - integrity sha512-qoerOEliJn3z+Zyn1HW2F6eoYJqKwS6MgC9cztTLUB/xLWX8gD/6T60pKn4+t/d6tP7JlybI7Z3z+I572CR/Vg== - dependencies: - ini "^1.3.2" - -github-slugger@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/github-slugger/-/github-slugger-2.0.0.tgz#52cf2f9279a21eb6c59dd385b410f0c0adda8f1a" - integrity sha512-IaOQ9puYtjrkq7Y0Ygl9KDZnrf/aiUJYUpVf89y8kyaxbRG7Y1SrX/jaumrv81vc61+kiMempujsM3Yw7w5qcw== - -glob-parent@5.1.2, glob-parent@^5.1.2, glob-parent@~5.1.2: - version "5.1.2" - resolved "https://registry.yarnpkg.com/glob-parent/-/glob-parent-5.1.2.tgz#869832c58034fe68a4093c17dc15e8340d8401c4" - integrity sha512-AOIgSQCepiJYwP3ARnGx+5VnTu2HBYdzbGP45eLw1vr3zB3vZLeyed1sC9hnbcOc9/SrMyM5RPQrkGz4aS9Zow== - dependencies: - is-glob "^4.0.1" - -glob-parent@^3.1.0: - version "3.1.0" - resolved "https://registry.yarnpkg.com/glob-parent/-/glob-parent-3.1.0.tgz#9e6af6299d8d3bd2bd40430832bd113df906c5ae" - integrity sha512-E8Ak/2+dZY6fnzlR7+ueWvhsH1SjHr4jjss4YS/h4py44jY9MhK/VFdaZJAWDz6BbL21KeteKxFSFpq8OS5gVA== - dependencies: - is-glob "^3.1.0" - path-dirname "^1.0.0" - -glob-parent@^6.0.2: - version "6.0.2" - resolved "https://registry.yarnpkg.com/glob-parent/-/glob-parent-6.0.2.tgz#6d237d99083950c79290f24c7642a3de9a28f9e3" - integrity sha512-XxwI8EOhVQgWp6iDL+3b0r86f4d6AX6zSU55HfB4ydCEuXLXc5FcYeOu+nnGftS4TEju/11rt4KJPTMgbfmv4A== - dependencies: - is-glob "^4.0.3" - -glob-to-regexp@^0.3.0: - version "0.3.0" - resolved "https://registry.yarnpkg.com/glob-to-regexp/-/glob-to-regexp-0.3.0.tgz#8c5a1494d2066c570cc3bfe4496175acc4d502ab" - integrity sha512-Iozmtbqv0noj0uDDqoL0zNq0VBEfK2YFoMAZoxJe4cwphvLR+JskfF30QhXHOR4m3KrE6NLRYw+U9MRXvifyig== - -glob-to-regexp@^0.4.1: - version "0.4.1" - resolved "https://registry.yarnpkg.com/glob-to-regexp/-/glob-to-regexp-0.4.1.tgz#c75297087c851b9a578bd217dd59a92f59fe546e" - integrity sha512-lkX1HJXwyMcprw/5YUZc2s7DrpAiHB21/V+E1rHUrVNokkvB6bqMzT0VfV6/86ZNabt1k14YOIaT7nDvOX3Iiw== - -glob@7.1.4: - version "7.1.4" - resolved "https://registry.yarnpkg.com/glob/-/glob-7.1.4.tgz#aa608a2f6c577ad357e1ae5a5c26d9a8d1969255" - integrity sha512-hkLPepehmnKk41pUGm3sYxoFs/umurYfYJCerbXEyFIWcAzvpipAgVkBqqT9RBKMGjnq6kMuyYwha6csxbiM1A== - dependencies: - fs.realpath "^1.0.0" - inflight "^1.0.4" - inherits "2" - minimatch "^3.0.4" - once "^1.3.0" - path-is-absolute "^1.0.0" - -glob@7.1.7: - version "7.1.7" - resolved "https://registry.yarnpkg.com/glob/-/glob-7.1.7.tgz#3b193e9233f01d42d0b3f78294bbeeb418f94a90" - integrity sha512-OvD9ENzPLbegENnYP5UUfJIirTg4+XwMWGaQfQTY0JenxNvvIKP3U3/tAQSPIu/lHxXYSZmpXlUHeqAIdKzBLQ== - dependencies: - fs.realpath "^1.0.0" - inflight "^1.0.4" - inherits "2" - minimatch "^3.0.4" - once "^1.3.0" - path-is-absolute "^1.0.0" - -glob@^10.2.2: - version "10.4.5" - resolved "https://registry.yarnpkg.com/glob/-/glob-10.4.5.tgz#f4d9f0b90ffdbab09c9d77f5f29b4262517b0956" - integrity sha512-7Bv8RF0k6xjo7d4A/PxYLbUCfb6c+Vpd2/mB2yRDlew7Jb5hEXiCD9ibfO7wpk8i4sevK6DFny9h7EYbM3/sHg== - dependencies: - foreground-child "^3.1.0" - jackspeak "^3.1.2" - minimatch "^9.0.4" - minipass "^7.1.2" - package-json-from-dist "^1.0.0" - path-scurry "^1.11.1" - -glob@^11.0.0: - version "11.0.0" - resolved "https://registry.yarnpkg.com/glob/-/glob-11.0.0.tgz#6031df0d7b65eaa1ccb9b29b5ced16cea658e77e" - integrity sha512-9UiX/Bl6J2yaBbxKoEBRm4Cipxgok8kQYcOPEhScPwebu2I0HoQOuYdIO6S3hLuWoZgpDpwQZMzTFxgpkyT76g== - dependencies: - foreground-child "^3.1.0" - jackspeak "^4.0.1" - minimatch "^10.0.0" - minipass "^7.1.2" - package-json-from-dist "^1.0.0" - path-scurry "^2.0.0" - -glob@^7.0.0, glob@^7.0.5, glob@^7.1.3, glob@^7.1.4, glob@^7.1.6, glob@^7.2.3: - version "7.2.3" - resolved "https://registry.yarnpkg.com/glob/-/glob-7.2.3.tgz#b8df0fb802bbfa8e89bd1d938b4e16578ed44f2b" - integrity sha512-nFR0zLpU2YCaRxwoCJvL6UvCH2JFyFVIvwTLsIf21AuHlMskA1hhTdk+LlYJtOlYt9v6dvszD2BGRqBL+iQK9Q== - dependencies: - fs.realpath "^1.0.0" - inflight "^1.0.4" - inherits "2" - minimatch "^3.1.1" - once "^1.3.0" - path-is-absolute "^1.0.0" - -glob@^8.0.0, glob@^8.0.1, glob@^8.0.3: - version "8.1.0" - resolved "https://registry.yarnpkg.com/glob/-/glob-8.1.0.tgz#d388f656593ef708ee3e34640fdfb99a9fd1c33e" - integrity sha512-r8hpEjiQEYlF2QU0df3dS+nxxSIreXQS1qRhMJM0Q5NDdR386C7jb7Hwwod8Fgiuex+k0GFjgft18yvxm5XoCQ== - dependencies: - fs.realpath "^1.0.0" - inflight "^1.0.4" - inherits "2" - minimatch "^5.0.1" - once "^1.3.0" - -global-cache-dir@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/global-cache-dir/-/global-cache-dir-2.0.0.tgz#6912dc449279d1505753c0e3d08ef63fb3e686a1" - integrity sha512-30pvU3e8muclEhc9tt+jRMaywOS3QfNdURflJ5Zv0bohjhcVQpBe5bwRHghGSJORLOKW81/n+3iJvHRHs+/S1Q== - dependencies: - cachedir "^2.3.0" - path-exists "^4.0.0" - -global-dirs@^3.0.0: - version "3.0.1" - resolved "https://registry.yarnpkg.com/global-dirs/-/global-dirs-3.0.1.tgz#0c488971f066baceda21447aecb1a8b911d22485" - integrity sha512-NBcGGFbBA9s1VzD41QXDG+3++t9Mn5t1FpLdhESY6oKY4gYTFpX4wO3sqGUa0Srjtbfj3szX0RnemmrVRUdULA== - dependencies: - ini "2.0.0" - -global-modules@^0.2.3: - version "0.2.3" - resolved "https://registry.yarnpkg.com/global-modules/-/global-modules-0.2.3.tgz#ea5a3bed42c6d6ce995a4f8a1269b5dae223828d" - integrity sha512-JeXuCbvYzYXcwE6acL9V2bAOeSIGl4dD+iwLY9iUx2VBJJ80R18HCn+JCwHM9Oegdfya3lEkGCdaRkSyc10hDA== - dependencies: - global-prefix "^0.1.4" - is-windows "^0.2.0" - -global-modules@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/global-modules/-/global-modules-2.0.0.tgz#997605ad2345f27f51539bea26574421215c7780" - integrity sha512-NGbfmJBp9x8IxyJSd1P+otYK8vonoJactOogrVfFRIAEY1ukil8RSKDz2Yo7wh1oihl51l/r6W4epkeKJHqL8A== - dependencies: - global-prefix "^3.0.0" - -global-prefix@^0.1.4: - version "0.1.5" - resolved "https://registry.yarnpkg.com/global-prefix/-/global-prefix-0.1.5.tgz#8d3bc6b8da3ca8112a160d8d496ff0462bfef78f" - integrity sha512-gOPiyxcD9dJGCEArAhF4Hd0BAqvAe/JzERP7tYumE4yIkmIedPUVXcJFWbV3/p/ovIIvKjkrTk+f1UVkq7vvbw== - dependencies: - homedir-polyfill "^1.0.0" - ini "^1.3.4" - is-windows "^0.2.0" - which "^1.2.12" - -global-prefix@^3.0.0: - version "3.0.0" - resolved "https://registry.yarnpkg.com/global-prefix/-/global-prefix-3.0.0.tgz#fc85f73064df69f50421f47f883fe5b913ba9b97" - integrity sha512-awConJSVCHVGND6x3tmMaKcQvwXLhjdkmomy2W+Goaui8YPgYgXJZewhg3fWC+DlfqqQuWg8AwqjGTD2nAPVWg== - dependencies: - ini "^1.3.5" - kind-of "^6.0.2" - which "^1.3.1" - -globals@^11.1.0: - version "11.12.0" - resolved "https://registry.yarnpkg.com/globals/-/globals-11.12.0.tgz#ab8795338868a0babd8525758018c2a7eb95c42e" - integrity sha512-WOBp/EEGUiIsJSp7wcv/y6MO+lV9UoncWqxuFfm8eBwzWNgyfBd6Gz+IeKQ9jCmyhoH99g15M3T+QaVHFjizVA== - -globals@^13.19.0: - version "13.24.0" - resolved "https://registry.yarnpkg.com/globals/-/globals-13.24.0.tgz#8432a19d78ce0c1e833949c36adb345400bb1171" - integrity sha512-AhO5QUcj8llrbG09iWhPU2B204J1xnPeL8kQmVorSsy+Sjj1sk8gIyh6cUocGmH4L0UuhAJy+hJMRA4mgA4mFQ== - dependencies: - type-fest "^0.20.2" - -globalthis@^1.0.3, globalthis@^1.0.4: - version "1.0.4" - resolved "https://registry.yarnpkg.com/globalthis/-/globalthis-1.0.4.tgz#7430ed3a975d97bfb59bcce41f5cabbafa651236" - integrity sha512-DpLKbNU4WylpxJykQujfCcwYWiV/Jhm50Goo0wrVILAv5jOr9d+H+UR3PhSCD2rCCEIg0uc+G+muBTwD54JhDQ== - dependencies: - define-properties "^1.2.1" - gopd "^1.0.1" - -globby@11.1.0, globby@^11.0.0, globby@^11.0.1, globby@^11.0.3, globby@^11.1.0: - version "11.1.0" - resolved "https://registry.yarnpkg.com/globby/-/globby-11.1.0.tgz#bd4be98bb042f83d796f7e3811991fbe82a0d34b" - integrity sha512-jhIXaOzy1sb8IyocaruWSn1TjmnBVs8Ayhcy83rmxNJ8q2uWKCAj3CnJY+KpGSXCueAPc0i05kVvVKtP1t9S3g== - dependencies: - array-union "^2.1.0" - dir-glob "^3.0.1" - fast-glob "^3.2.9" - ignore "^5.2.0" - merge2 "^1.4.1" - slash "^3.0.0" - -globby@^13.0.0: - version "13.2.2" - resolved "https://registry.yarnpkg.com/globby/-/globby-13.2.2.tgz#63b90b1bf68619c2135475cbd4e71e66aa090592" - integrity sha512-Y1zNGV+pzQdh7H39l9zgB4PJqjRNqydvdYCDG4HFXM4XuvSaQQlEc91IU1yALL8gUTDomgBAfz3XJdmUS+oo0w== - dependencies: - dir-glob "^3.0.1" - fast-glob "^3.3.0" - ignore "^5.2.4" - merge2 "^1.4.1" - slash "^4.0.0" - -globby@^9.2.0: - version "9.2.0" - resolved "https://registry.yarnpkg.com/globby/-/globby-9.2.0.tgz#fd029a706c703d29bdd170f4b6db3a3f7a7cb63d" - integrity sha512-ollPHROa5mcxDEkwg6bPt3QbEf4pDQSNtd6JPL1YvOvAo/7/0VAm9TccUeoTmarjPw4pfUthSCqcyfNB1I3ZSg== - dependencies: - "@types/glob" "^7.1.1" - array-union "^1.0.2" - dir-glob "^2.2.2" - fast-glob "^2.2.6" - glob "^7.1.3" - ignore "^4.0.3" - pify "^4.0.1" - slash "^2.0.0" - -globjoin@^0.1.4: - version "0.1.4" - resolved "https://registry.yarnpkg.com/globjoin/-/globjoin-0.1.4.tgz#2f4494ac8919e3767c5cbb691e9f463324285d43" - integrity sha512-xYfnw62CKG8nLkZBfWbhWwDw02CHty86jfPcc2cr3ZfeuK9ysoVPPEUxf21bAD/rWAgk52SuBrLJlefNy8mvFg== - -gonzales-pe@^4.2.3, gonzales-pe@^4.3.0: - version "4.3.0" - resolved "https://registry.yarnpkg.com/gonzales-pe/-/gonzales-pe-4.3.0.tgz#fe9dec5f3c557eead09ff868c65826be54d067b3" - integrity sha512-otgSPpUmdWJ43VXyiNgEYE4luzHCL2pz4wQ0OnDluC6Eg4Ko3Vexy/SrSynglw/eR+OhkzmqFCZa/OFa/RgAOQ== - dependencies: - minimist "^1.2.5" - -gopd@^1.0.1: - version "1.0.1" - resolved "https://registry.yarnpkg.com/gopd/-/gopd-1.0.1.tgz#29ff76de69dac7489b7c0918a5788e56477c332c" - integrity sha512-d65bNlIadxvpb/A2abVdlqKqV563juRnZ1Wtk6s1sIR8uNsXR70xqIzVqxVf1eTqDunwT2MkczEeaezCKTZhwA== - dependencies: - get-intrinsic "^1.1.3" - -got@^10.0.0, got@^10.7.0: - version "10.7.0" - resolved "https://registry.yarnpkg.com/got/-/got-10.7.0.tgz#62889dbcd6cca32cd6a154cc2d0c6895121d091f" - integrity sha512-aWTDeNw9g+XqEZNcTjMMZSy7B7yE9toWOFYip7ofFTLleJhvZwUxxTxkTpKvF+p1SAA4VHmuEy7PiHTHyq8tJg== - dependencies: - "@sindresorhus/is" "^2.0.0" - "@szmarczak/http-timer" "^4.0.0" - "@types/cacheable-request" "^6.0.1" - cacheable-lookup "^2.0.0" - cacheable-request "^7.0.1" - decompress-response "^5.0.0" - duplexer3 "^0.1.4" - get-stream "^5.0.0" - lowercase-keys "^2.0.0" - mimic-response "^2.1.0" - p-cancelable "^2.0.0" - p-event "^4.0.0" - responselike "^2.0.0" - to-readable-stream "^2.0.0" - type-fest "^0.10.0" - -got@^8.3.1: - version "8.3.2" - resolved "https://registry.yarnpkg.com/got/-/got-8.3.2.tgz#1d23f64390e97f776cac52e5b936e5f514d2e937" - integrity sha512-qjUJ5U/hawxosMryILofZCkm3C84PLJS/0grRIpjAwu+Lkxxj5cxeCU25BG0/3mDSpXKTyZr8oh8wIgLaH0QCw== - dependencies: - "@sindresorhus/is" "^0.7.0" - cacheable-request "^2.1.1" - decompress-response "^3.3.0" - duplexer3 "^0.1.4" - get-stream "^3.0.0" - into-stream "^3.1.0" - is-retry-allowed "^1.1.0" - isurl "^1.0.0-alpha5" - lowercase-keys "^1.0.0" - mimic-response "^1.0.0" - p-cancelable "^0.4.0" - p-timeout "^2.0.1" - pify "^3.0.0" - safe-buffer "^5.1.1" - timed-out "^4.0.1" - url-parse-lax "^3.0.0" - url-to-options "^1.0.1" - -got@^9.6.0: - version "9.6.0" - resolved "https://registry.yarnpkg.com/got/-/got-9.6.0.tgz#edf45e7d67f99545705de1f7bbeeeb121765ed85" - integrity sha512-R7eWptXuGYxwijs0eV+v3o6+XH1IqVK8dJOEecQfTmkncw9AV4dcw/Dhxi8MdlqPthxxpZyizMzyg8RTmEsG+Q== - dependencies: - "@sindresorhus/is" "^0.14.0" - "@szmarczak/http-timer" "^1.1.2" - cacheable-request "^6.0.0" - decompress-response "^3.3.0" - duplexer3 "^0.1.4" - get-stream "^4.1.0" - lowercase-keys "^1.0.1" - mimic-response "^1.0.1" - p-cancelable "^1.0.0" - to-readable-stream "^1.0.0" - url-parse-lax "^3.0.0" - -graceful-fs@4.2.10: - version "4.2.10" - resolved "https://registry.yarnpkg.com/graceful-fs/-/graceful-fs-4.2.10.tgz#147d3a006da4ca3ce14728c7aefc287c367d7a6c" - integrity sha512-9ByhssR2fPVsNZj478qUUbKfmL0+t5BDVyjShtyZZLiK7ZDAArFFfopyOTj0M05wE2tJPisA4iTnnXl2YoPvOA== - -graceful-fs@^4.1.10, graceful-fs@^4.1.11, graceful-fs@^4.1.15, graceful-fs@^4.1.2, graceful-fs@^4.1.3, graceful-fs@^4.1.5, graceful-fs@^4.1.6, graceful-fs@^4.2.0, graceful-fs@^4.2.11, graceful-fs@^4.2.4, graceful-fs@^4.2.6, graceful-fs@^4.2.9: - version "4.2.11" - resolved "https://registry.yarnpkg.com/graceful-fs/-/graceful-fs-4.2.11.tgz#4183e4e8bf08bb6e05bbb2f7d2e0c8f712ca40e3" - integrity sha512-RbJ5/jmFcNNCcDV5o9eTnBLJ/HszWV0P73bc+Ff4nS/rJj+YaS6IGyiOL0VoBYX+l1Wrl3k63h/KrH+nhJ0XvQ== - -graphemer@^1.4.0: - version "1.4.0" - resolved "https://registry.yarnpkg.com/graphemer/-/graphemer-1.4.0.tgz#fb2f1d55e0e3a1849aeffc90c4fa0dd53a0e66c6" - integrity sha512-EtKwoO6kxCL9WO5xipiHTZlSzBm7WLT627TqC/uVRd0HKmq8NXyebnNYxDoBi7wt8eTWrUrKXCOVaFq9x1kgag== - -handlebars@^4.7.7: - version "4.7.8" - resolved "https://registry.yarnpkg.com/handlebars/-/handlebars-4.7.8.tgz#41c42c18b1be2365439188c77c6afae71c0cd9e9" - integrity sha512-vafaFqs8MZkRrSX7sFVUdo3ap/eNiLnb4IakshzvP56X5Nr1iGKAIqdX6tMlm6HcNRIkr6AxO5jFEoJzzpT8aQ== - dependencies: - minimist "^1.2.5" - neo-async "^2.6.2" - source-map "^0.6.1" - wordwrap "^1.0.0" - optionalDependencies: - uglify-js "^3.1.4" - -hard-rejection@^2.1.0: - version "2.1.0" - resolved "https://registry.yarnpkg.com/hard-rejection/-/hard-rejection-2.1.0.tgz#1c6eda5c1685c63942766d79bb40ae773cecd883" - integrity sha512-VIZB+ibDhx7ObhAe7OVtoEbuP4h/MuOTHJ+J8h/eBXotJYl0fBgR72xDFCKgIh22OJZIOVNxBMWuhAr10r8HdA== - -harmony-reflect@^1.4.6: - version "1.6.2" - resolved "https://registry.yarnpkg.com/harmony-reflect/-/harmony-reflect-1.6.2.tgz#31ecbd32e648a34d030d86adb67d4d47547fe710" - integrity sha512-HIp/n38R9kQjDEziXyDTuW3vvoxxyxjxFzXLrBr18uB47GnSt+G9D29fqrpM5ZkspMcPICud3XsBJQ4Y2URg8g== - -has-ansi@^0.1.0: - version "0.1.0" - resolved "https://registry.yarnpkg.com/has-ansi/-/has-ansi-0.1.0.tgz#84f265aae8c0e6a88a12d7022894b7568894c62e" - integrity sha512-1YsTg1fk2/6JToQhtZkArMkurq8UoWU1Qe0aR3VUHjgij4nOylSWLWAtBXoZ4/dXOmugfLGm1c+QhuD0JyedFA== - dependencies: - ansi-regex "^0.2.0" - -has-ansi@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/has-ansi/-/has-ansi-2.0.0.tgz#34f5049ce1ecdf2b0649af3ef24e45ed35416d91" - integrity sha512-C8vBJ8DwUCx19vhm7urhTuUsr4/IyP6l4VzNQDv+ryHQObW3TTTp9yB68WpYgRe2bbaGuZ/se74IqFeVnMnLZg== - dependencies: - ansi-regex "^2.0.0" - -has-bigints@^1.0.1, has-bigints@^1.0.2: - version "1.0.2" - resolved "https://registry.yarnpkg.com/has-bigints/-/has-bigints-1.0.2.tgz#0871bd3e3d51626f6ca0966668ba35d5602d6eaa" - integrity sha512-tSvCKtBr9lkF0Ex0aQiP9N+OpV4zi2r/Nee5VkRDbaqv35RLYMzbwQfFSZZH0kR+Rd6302UJZ2p/bJCEoR3VoQ== - -has-flag@^3.0.0: - version "3.0.0" - resolved "https://registry.yarnpkg.com/has-flag/-/has-flag-3.0.0.tgz#b5d454dc2199ae225699f3467e5a07f3b955bafd" - integrity sha512-sKJf1+ceQBr4SMkvQnBDNDtf4TXpVhVGateu0t918bl30FnbE2m4vNLX+VWe/dpjlb+HugGYzW7uQXH98HPEYw== - -has-flag@^4.0.0: - version "4.0.0" - resolved "https://registry.yarnpkg.com/has-flag/-/has-flag-4.0.0.tgz#944771fd9c81c81265c4d6941860da06bb59479b" - integrity sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ== - -has-glob@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/has-glob/-/has-glob-1.0.0.tgz#9aaa9eedbffb1ba3990a7b0010fb678ee0081207" - integrity sha512-D+8A457fBShSEI3tFCj65PAbT++5sKiFtdCdOam0gnfBgw9D277OERk+HM9qYJXmdVLZ/znez10SqHN0BBQ50g== - dependencies: - is-glob "^3.0.0" - -has-property-descriptors@^1.0.0, has-property-descriptors@^1.0.2: - version "1.0.2" - resolved "https://registry.yarnpkg.com/has-property-descriptors/-/has-property-descriptors-1.0.2.tgz#963ed7d071dc7bf5f084c5bfbe0d1b6222586854" - integrity sha512-55JNKuIW+vq4Ke1BjOTjM2YctQIvCT7GFzHwmfZPGo5wnrgkid0YQtnAleFSqumZm4az3n2BS+erby5ipJdgrg== - dependencies: - es-define-property "^1.0.0" - -has-proto@^1.0.1, has-proto@^1.0.3: - version "1.0.3" - resolved "https://registry.yarnpkg.com/has-proto/-/has-proto-1.0.3.tgz#b31ddfe9b0e6e9914536a6ab286426d0214f77fd" - integrity sha512-SJ1amZAJUiZS+PhsVLf5tGydlaVB8EdFpaSO4gmiUKUOxk8qzn5AIy4ZeJUmh22znIdk/uMAUT2pl3FxzVUH+Q== - -has-symbol-support-x@^1.4.1: - version "1.4.2" - resolved "https://registry.yarnpkg.com/has-symbol-support-x/-/has-symbol-support-x-1.4.2.tgz#1409f98bc00247da45da67cee0a36f282ff26455" - integrity sha512-3ToOva++HaW+eCpgqZrCfN51IPB+7bJNVT6CUATzueB5Heb8o6Nam0V3HG5dlDvZU1Gn5QLcbahiKw/XVk5JJw== - -has-symbols@^1.0.2, has-symbols@^1.0.3: - version "1.0.3" - resolved "https://registry.yarnpkg.com/has-symbols/-/has-symbols-1.0.3.tgz#bb7b2c4349251dce87b125f7bdf874aa7c8b39f8" - integrity sha512-l3LCuF6MgDNwTDKkdYGEihYjt5pRPbEg46rtlmnSPlUbgmB8LOIrKJbYYFBSbnPaJexMKtiPO8hmeRjRz2Td+A== - -has-to-string-tag-x@^1.2.0: - version "1.4.1" - resolved "https://registry.yarnpkg.com/has-to-string-tag-x/-/has-to-string-tag-x-1.4.1.tgz#a045ab383d7b4b2012a00148ab0aa5f290044d4d" - integrity sha512-vdbKfmw+3LoOYVr+mtxHaX5a96+0f3DljYd8JOqvOLsf5mw2Otda2qCDT9qRqLAhrjyQ0h7ual5nOiASpsGNFw== - dependencies: - has-symbol-support-x "^1.4.1" - -has-tostringtag@^1.0.0, has-tostringtag@^1.0.2: - version "1.0.2" - resolved "https://registry.yarnpkg.com/has-tostringtag/-/has-tostringtag-1.0.2.tgz#2cdc42d40bef2e5b4eeab7c01a73c54ce7ab5abc" - integrity sha512-NqADB8VjPFLM2V0VvHUewwwsw0ZWBaIdgo+ieHtK3hasLz4qeCRjYcqfB6AQrBggRKppKF8L52/VqdVsO47Dlw== - dependencies: - has-symbols "^1.0.3" - -has-unicode@2.0.1, has-unicode@^2.0.0, has-unicode@^2.0.1: - version "2.0.1" - resolved "https://registry.yarnpkg.com/has-unicode/-/has-unicode-2.0.1.tgz#e0e6fe6a28cf51138855e086d1691e771de2a8b9" - integrity sha512-8Rf9Y83NBReMnx0gFzA8JImQACstCYWUplepDa9xprwwtmgEZUF0h/i5xSA625zB/I37EtrswSST6OXxwaaIJQ== - -has-value@^0.3.1: - version "0.3.1" - resolved "https://registry.yarnpkg.com/has-value/-/has-value-0.3.1.tgz#7b1f58bada62ca827ec0a2078025654845995e1f" - integrity sha512-gpG936j8/MzaeID5Yif+577c17TxaDmhuyVgSwtnL/q8UUTySg8Mecb+8Cf1otgLoD7DDH75axp86ER7LFsf3Q== - dependencies: - get-value "^2.0.3" - has-values "^0.1.4" - isobject "^2.0.0" - -has-value@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/has-value/-/has-value-1.0.0.tgz#18b281da585b1c5c51def24c930ed29a0be6b177" - integrity sha512-IBXk4GTsLYdQ7Rvt+GRBrFSVEkmuOUy4re0Xjd9kJSUQpnTrWR4/y9RpfexN9vkAPMFuQoeWKwqzPozRTlasGw== - dependencies: - get-value "^2.0.6" - has-values "^1.0.0" - isobject "^3.0.0" - -has-values@^0.1.4: - version "0.1.4" - resolved "https://registry.yarnpkg.com/has-values/-/has-values-0.1.4.tgz#6d61de95d91dfca9b9a02089ad384bff8f62b771" - integrity sha512-J8S0cEdWuQbqD9//tlZxiMuMNmxB8PlEwvYwuxsTmR1G5RXUePEX/SJn7aD0GMLieuZYSwNH0cQuJGwnYunXRQ== - -has-values@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/has-values/-/has-values-1.0.0.tgz#95b0b63fec2146619a6fe57fe75628d5a39efe4f" - integrity sha512-ODYZC64uqzmtfGMEAX/FvZiRyWLpAC3vYnNunURUnkGVTS+mI0smVsWaPydRBsE3g+ok7h960jChO8mFcWlHaQ== - dependencies: - is-number "^3.0.0" - kind-of "^4.0.0" - -has-yarn@^2.1.0: - version "2.1.0" - resolved "https://registry.yarnpkg.com/has-yarn/-/has-yarn-2.1.0.tgz#137e11354a7b5bf11aa5cb649cf0c6f3ff2b2e77" - integrity sha512-UqBRqi4ju7T+TqGNdqAO0PaSVGsDGJUBQvk9eUWNGRY1CFGDzYhLWoM7JQEemnlvVcv/YEmc2wNW8BC24EnUsw== - -hasbin@^1.2.3: - version "1.2.3" - resolved "https://registry.yarnpkg.com/hasbin/-/hasbin-1.2.3.tgz#78c5926893c80215c2b568ae1fd3fcab7a2696b0" - integrity sha512-CCd8e/w2w28G8DyZvKgiHnQJ/5XXDz6qiUHnthvtag/6T5acUeN5lqq+HMoBqcmgWueWDhiCplrw0Kb1zDACRg== - dependencies: - async "~1.5" - -hasha@^5.0.0, hasha@^5.2.2: - version "5.2.2" - resolved "https://registry.yarnpkg.com/hasha/-/hasha-5.2.2.tgz#a48477989b3b327aea3c04f53096d816d97522a1" - integrity sha512-Hrp5vIK/xr5SkeN2onO32H0MgNZ0f17HRNH39WfL0SYUNOTZ5Lz1TJ8Pajo/87dYGEFlLMm7mIc/k/s6Bvz9HQ== - dependencies: - is-stream "^2.0.0" - type-fest "^0.8.0" - -hasown@^2.0.0, hasown@^2.0.1, hasown@^2.0.2: - version "2.0.2" - resolved "https://registry.yarnpkg.com/hasown/-/hasown-2.0.2.tgz#003eaf91be7adc372e84ec59dc37252cedb80003" - integrity sha512-0hJU9SCPvmMzIBdZFqNPXWa6dqh7WdH0cII9y+CyS8rG3nL48Bclra9HmKhVVUHyPWNH5Y7xDwAB7bfgSjkUMQ== - dependencies: - function-bind "^1.1.2" - -hast-util-heading-rank@^3.0.0: - version "3.0.0" - resolved "https://registry.yarnpkg.com/hast-util-heading-rank/-/hast-util-heading-rank-3.0.0.tgz#2d5c6f2807a7af5c45f74e623498dd6054d2aba8" - integrity sha512-EJKb8oMUXVHcWZTDepnr+WNbfnXKFNf9duMesmr4S8SXTJBJ9M4Yok08pu9vxdJwdlGRhVumk9mEhkEvKGifwA== - dependencies: - "@types/hast" "^3.0.0" - -hast-util-is-element@^3.0.0: - version "3.0.0" - resolved "https://registry.yarnpkg.com/hast-util-is-element/-/hast-util-is-element-3.0.0.tgz#6e31a6532c217e5b533848c7e52c9d9369ca0932" - integrity sha512-Val9mnv2IWpLbNPqc/pUem+a7Ipj2aHacCwgNfTiK0vJKl0LF+4Ba4+v1oPHFpf3bLYmreq0/l3Gud9S5OH42g== - dependencies: - "@types/hast" "^3.0.0" - -hast-util-to-string@^3.0.0: - version "3.0.1" - resolved "https://registry.yarnpkg.com/hast-util-to-string/-/hast-util-to-string-3.0.1.tgz#a4f15e682849326dd211c97129c94b0c3e76527c" - integrity sha512-XelQVTDWvqcl3axRfI0xSeoVKzyIFPwsAGSLIsKdJKQMXDYJS4WYrBNF/8J7RdhIcFI2BOHgAifggsvsxp/3+A== - dependencies: - "@types/hast" "^3.0.0" - -he@^1.2.0: - version "1.2.0" - resolved "https://registry.yarnpkg.com/he/-/he-1.2.0.tgz#84ae65fa7eafb165fddb61566ae14baf05664f0f" - integrity sha512-F/1DnUGPopORZi0ni+CvrCgHQ5FyEAHRLSApuYWMmrbSwoN2Mn/7k+Gl38gJnR7yyDZk6WLXwiGod1JOWNDKGw== - -hoist-non-react-statics@^3.3.0: - version "3.3.2" - resolved "https://registry.yarnpkg.com/hoist-non-react-statics/-/hoist-non-react-statics-3.3.2.tgz#ece0acaf71d62c2969c2ec59feff42a4b1a85b45" - integrity sha512-/gGivxi8JPKWNm/W0jSmzcMPpfpPLc3dY/6GxhX2hQ9iGj3aDfklV4ET7NjKpSinLpJ5vafa9iiGIEZg10SfBw== - dependencies: - react-is "^16.7.0" - -homedir-polyfill@^1.0.0: - version "1.0.3" - resolved "https://registry.yarnpkg.com/homedir-polyfill/-/homedir-polyfill-1.0.3.tgz#743298cef4e5af3e194161fbadcc2151d3a058e8" - integrity sha512-eSmmWE5bZTK2Nou4g0AI3zZ9rswp7GRKoKXS1BLUkvPviOqs4YTN1djQIqrXy9k5gEtdLPy86JjRwsNM9tnDcA== - dependencies: - parse-passwd "^1.0.0" - -hosted-git-info@^2.1.4: - version "2.8.9" - resolved "https://registry.yarnpkg.com/hosted-git-info/-/hosted-git-info-2.8.9.tgz#dffc0bf9a21c02209090f2aa69429e1414daf3f9" - integrity sha512-mxIDAb9Lsm6DoOJ7xH+5+X4y1LU/4Hi50L9C5sIswK3JzULS4bwk1FvjdBgvYR4bzT4tuUQiC15FE2f5HbLvYw== - -hosted-git-info@^3.0.6: - version "3.0.8" - resolved "https://registry.yarnpkg.com/hosted-git-info/-/hosted-git-info-3.0.8.tgz#6e35d4cc87af2c5f816e4cb9ce350ba87a3f370d" - integrity sha512-aXpmwoOhRBrw6X3j0h5RloK4x1OzsxMPyxqIHyNfSe2pypkVTZFpEiRoSipPEPlMrh0HW/XsjkJ5WgnCirpNUw== - dependencies: - lru-cache "^6.0.0" - -hosted-git-info@^4.0.0, hosted-git-info@^4.0.1: - version "4.1.0" - resolved "https://registry.yarnpkg.com/hosted-git-info/-/hosted-git-info-4.1.0.tgz#827b82867e9ff1c8d0c4d9d53880397d2c86d224" - integrity sha512-kyCuEOWjJqZuDbRHzL8V93NzQhwIB71oFWSyzVo+KPZI+pnQPPxucdkrOZvkLRnrf5URsQM+IJ09Dw29cRALIA== - dependencies: - lru-cache "^6.0.0" - -hosted-git-info@^5.0.0: - version "5.2.1" - resolved "https://registry.yarnpkg.com/hosted-git-info/-/hosted-git-info-5.2.1.tgz#0ba1c97178ef91f3ab30842ae63d6a272341156f" - integrity sha512-xIcQYMnhcx2Nr4JTjsFmwwnr9vldugPy9uVm0o87bjqqWMv9GaqsTeT+i99wTl0mk1uLxJtHxLb8kymqTENQsw== - dependencies: - lru-cache "^7.5.1" - -html-encoding-sniffer@^3.0.0: - version "3.0.0" - resolved "https://registry.yarnpkg.com/html-encoding-sniffer/-/html-encoding-sniffer-3.0.0.tgz#2cb1a8cf0db52414776e5b2a7a04d5dd98158de9" - integrity sha512-oWv4T4yJ52iKrufjnyZPkrN0CH3QnrUqdB6In1g5Fe1mia8GmF36gnfNySxoZtxD5+NmYw1EElVXiBk93UeskA== - dependencies: - whatwg-encoding "^2.0.0" - -html-entities@^2.1.0: - version "2.5.2" - resolved "https://registry.yarnpkg.com/html-entities/-/html-entities-2.5.2.tgz#201a3cf95d3a15be7099521620d19dfb4f65359f" - integrity sha512-K//PSRMQk4FZ78Kyau+mZurHn3FH0Vwr+H36eE0rPbeYkRRi9YxceYPhuN60UwWorxyKHhqoAJl2OFKa4BVtaA== - -html-escaper@^2.0.0: - version "2.0.2" - resolved "https://registry.yarnpkg.com/html-escaper/-/html-escaper-2.0.2.tgz#dfd60027da36a36dfcbe236262c00a5822681453" - integrity sha512-H2iMtd0I4Mt5eYiapRdIDjp+XzelXQ0tFE4JS7YFwFevXXMmOp9myNrUvCg0D6ws8iqkRPBfKHgbwig1SmlLfg== - -html-minifier-terser@^6.0.2: - version "6.1.0" - resolved "https://registry.yarnpkg.com/html-minifier-terser/-/html-minifier-terser-6.1.0.tgz#bfc818934cc07918f6b3669f5774ecdfd48f32ab" - integrity sha512-YXxSlJBZTP7RS3tWnQw74ooKa6L9b9i9QYXY21eUEvhZ3u9XLfv6OnFsQq6RxkhHygsaUMvYsZRV5rU/OVNZxw== - dependencies: - camel-case "^4.1.2" - clean-css "^5.2.2" - commander "^8.3.0" - he "^1.2.0" - param-case "^3.0.4" - relateurl "^0.2.7" - terser "^5.10.0" - -html-tags@^3.1.0, html-tags@^3.2.0: - version "3.3.1" - resolved "https://registry.yarnpkg.com/html-tags/-/html-tags-3.3.1.tgz#a04026a18c882e4bba8a01a3d39cfe465d40b5ce" - integrity sha512-ztqyC3kLto0e9WbNp0aeP+M3kTt+nbaIveGmUxAtZa+8iFgKLUOD4YKM5j+f3QD89bra7UeumolZHKuOXnTmeQ== - -html-webpack-plugin@^5.5.0: - version "5.6.2" - resolved "https://registry.yarnpkg.com/html-webpack-plugin/-/html-webpack-plugin-5.6.2.tgz#174a67c8e55aa3fa2ba94c8e8e42894bfe4978ea" - integrity sha512-q7xp/FO9RGBVoTKNItkdX1jKLscLFkgn/dLVFNYbHVbfHLBk6DYW5nsQ8kCzIWcgKP/kUBocetjvav6lD8YfCQ== - dependencies: - "@types/html-minifier-terser" "^6.0.0" - html-minifier-terser "^6.0.2" - lodash "^4.17.21" - pretty-error "^4.0.0" - tapable "^2.0.0" - -htmlparser2@^3.9.2: - version "3.10.1" - resolved "https://registry.yarnpkg.com/htmlparser2/-/htmlparser2-3.10.1.tgz#bd679dc3f59897b6a34bb10749c855bb53a9392f" - integrity sha512-IgieNijUMbkDovyoKObU1DUhm1iwNYE/fuifEoEHfd1oZKZDaONBSkal7Y01shxsM49R4XaMdGez3WnF9UfiCQ== - dependencies: - domelementtype "^1.3.1" - domhandler "^2.3.0" - domutils "^1.5.1" - entities "^1.1.1" - inherits "^2.0.1" - readable-stream "^3.1.1" - -htmlparser2@^6.1.0: - version "6.1.0" - resolved "https://registry.yarnpkg.com/htmlparser2/-/htmlparser2-6.1.0.tgz#c4d762b6c3371a05dbe65e94ae43a9f845fb8fb7" - integrity sha512-gyyPk6rgonLFEDGoeRgQNaEUvdJ4ktTmmUh/h2t7s+M8oPpIPxgNACWa+6ESR57kXstwqPiCut0V8NRpcwgU7A== - dependencies: - domelementtype "^2.0.1" - domhandler "^4.0.0" - domutils "^2.5.2" - entities "^2.0.0" - -http-cache-semantics@3.8.1: - version "3.8.1" - resolved "https://registry.yarnpkg.com/http-cache-semantics/-/http-cache-semantics-3.8.1.tgz#39b0e16add9b605bf0a9ef3d9daaf4843b4cacd2" - integrity sha512-5ai2iksyV8ZXmnZhHH4rWPoxxistEexSi5936zIQ1bnNTW5VnA85B6P/VpXiRM017IgRvb2kKo1a//y+0wSp3w== - -http-cache-semantics@^4.0.0, http-cache-semantics@^4.1.0: - version "4.1.1" - resolved "https://registry.yarnpkg.com/http-cache-semantics/-/http-cache-semantics-4.1.1.tgz#abe02fcb2985460bf0323be664436ec3476a6d5a" - integrity sha512-er295DKPVsV82j5kw1Gjt+ADA/XYHsajl82cGNQG2eyoPkvgUhX+nDIyelzhIWbbsXP39EHcI6l5tYs2FYqYXQ== - -http-errors@2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/http-errors/-/http-errors-2.0.0.tgz#b7774a1486ef73cf7667ac9ae0858c012c57b9d3" - integrity sha512-FtwrG/euBzaEjYeRqOgly7G0qviiXoJWnvEH2Z1plBdXgbyjv34pHTSb9zoeHMyDy33+DWy5Wt9Wo+TURtOYSQ== - dependencies: - depd "2.0.0" - inherits "2.0.4" - setprototypeof "1.2.0" - statuses "2.0.1" - toidentifier "1.0.1" - -http-errors@~1.8.1: - version "1.8.1" - resolved "https://registry.yarnpkg.com/http-errors/-/http-errors-1.8.1.tgz#7c3f28577cbc8a207388455dbd62295ed07bd68c" - integrity sha512-Kpk9Sm7NmI+RHhnj6OIWDI1d6fIoFAtFt9RLaTMRlg/8w49juAStsrBgp0Dp4OdxdVbRIeKhtCUvoi/RuAhO4g== - dependencies: - depd "~1.1.2" - inherits "2.0.4" - setprototypeof "1.2.0" - statuses ">= 1.5.0 < 2" - toidentifier "1.0.1" - -http-proxy-agent@^5.0.0: - version "5.0.0" - resolved "https://registry.yarnpkg.com/http-proxy-agent/-/http-proxy-agent-5.0.0.tgz#5129800203520d434f142bc78ff3c170800f2b43" - integrity sha512-n2hY8YdoRE1i7r6M0w9DIw5GgZN0G25P8zLCRQ8rjXtTU3vsNFBI/vWK/UIeE6g5MUUz6avwAPXmL6Fy9D/90w== - dependencies: - "@tootallnate/once" "2" - agent-base "6" - debug "4" - -http-proxy-middleware@^2.0.0: - version "2.0.7" - resolved "https://registry.yarnpkg.com/http-proxy-middleware/-/http-proxy-middleware-2.0.7.tgz#915f236d92ae98ef48278a95dedf17e991936ec6" - integrity sha512-fgVY8AV7qU7z/MmXJ/rxwbrtQH4jBQ9m7kp3llF0liB7glmFeVZFBepQb32T3y8n8k2+AEYuMPCpinYW+/CuRA== - dependencies: - "@types/http-proxy" "^1.17.8" - http-proxy "^1.18.1" - is-glob "^4.0.1" - is-plain-obj "^3.0.0" - micromatch "^4.0.2" - -http-proxy@^1.18.0, http-proxy@^1.18.1: - version "1.18.1" - resolved "https://registry.yarnpkg.com/http-proxy/-/http-proxy-1.18.1.tgz#401541f0534884bbf95260334e72f88ee3976549" - integrity sha512-7mz/721AbnJwIVbnaSv1Cz3Am0ZLT/UBwkC92VlxhXv/k/BBQfM2fXElQNC27BVGr0uwUpplYPQM9LnaBMR5NQ== - dependencies: - eventemitter3 "^4.0.0" - follow-redirects "^1.0.0" - requires-port "^1.0.0" - -https-proxy-agent@^5.0.0, https-proxy-agent@^5.0.1: - version "5.0.1" - resolved "https://registry.yarnpkg.com/https-proxy-agent/-/https-proxy-agent-5.0.1.tgz#c59ef224a04fe8b754f3db0063a25ea30d0005d6" - integrity sha512-dFcAjpTQFgoLMzC2VwU+C/CbS7uRL0lWmxDITmqm7C+7F0Odmj6s9l6alZc6AELXhrnggM2CeWSXHGOdX2YtwA== - dependencies: - agent-base "6" - debug "4" - -human-id@^1.0.2: - version "1.0.2" - resolved "https://registry.yarnpkg.com/human-id/-/human-id-1.0.2.tgz#e654d4b2b0d8b07e45da9f6020d8af17ec0a5df3" - integrity sha512-UNopramDEhHJD+VR+ehk8rOslwSfByxPIZyJRfV739NDhN5LF1fa1MqnzKm2lGTQRjNrjK19Q5fhkgIfjlVUKw== - -human-signals@^2.1.0: - version "2.1.0" - resolved "https://registry.yarnpkg.com/human-signals/-/human-signals-2.1.0.tgz#dc91fcba42e4d06e4abaed33b3e7a3c02f514ea0" - integrity sha512-B4FFZ6q/T2jhhksgkbEW3HBvWIfDW85snkQgawt07S7J5QXTk6BkNV+0yAeZrM5QpMAdYlocGoljn0sJ/WQkFw== - -human-signals@^3.0.1: - version "3.0.1" - resolved "https://registry.yarnpkg.com/human-signals/-/human-signals-3.0.1.tgz#c740920859dafa50e5a3222da9d3bf4bb0e5eef5" - integrity sha512-rQLskxnM/5OCldHo+wNXbpVgDn5A17CUoKX+7Sokwaknlq7CdSnphy0W39GU8dw59XiCXmFXDg4fRuckQRKewQ== - -humanize-ms@^1.2.1: - version "1.2.1" - resolved "https://registry.yarnpkg.com/humanize-ms/-/humanize-ms-1.2.1.tgz#c46e3159a293f6b896da29316d8b6fe8bb79bbed" - integrity sha512-Fl70vYtsAFb/C06PTS9dZBo7ihau+Tu/DNCk/OyHhea07S+aeMWpFFkUaXRa8fI+ScZbEI8dfSxwY7gxZ9SAVQ== - dependencies: - ms "^2.0.0" - -iconv-lite@0.4.24, iconv-lite@^0.4.24, iconv-lite@^0.4.4: - version "0.4.24" - resolved "https://registry.yarnpkg.com/iconv-lite/-/iconv-lite-0.4.24.tgz#2022b4b25fbddc21d2f524974a474aafe733908b" - integrity sha512-v3MXnZAcvnywkTUEZomIActle7RXXeedOR31wwl7VlyoXO4Qi9arvSenNQWne1TcRwhCL1HwLI21bEqdpj8/rA== - dependencies: - safer-buffer ">= 2.1.2 < 3" - -iconv-lite@0.6.3, iconv-lite@^0.6.2: - version "0.6.3" - resolved "https://registry.yarnpkg.com/iconv-lite/-/iconv-lite-0.6.3.tgz#a52f80bf38da1952eb5c681790719871a1a72501" - integrity sha512-4fCk79wshMdzMp2rH06qWrJE4iolqLhCUH+OiuIgU++RB0+94NlDL81atO7GX55uUKueo0txHNtvEyI6D7WdMw== - dependencies: - safer-buffer ">= 2.1.2 < 3.0.0" - -icss-utils@^5.0.0, icss-utils@^5.1.0: - version "5.1.0" - resolved "https://registry.yarnpkg.com/icss-utils/-/icss-utils-5.1.0.tgz#c6be6858abd013d768e98366ae47e25d5887b1ae" - integrity sha512-soFhflCVWLfRNOPU3iv5Z9VUdT44xFRbzjLsEzSr5AQmgqPMTHdU3PMT1Cf1ssx8fLNJDA1juftYl+PUcv3MqA== - -identity-obj-proxy@3.0.0: - version "3.0.0" - resolved "https://registry.yarnpkg.com/identity-obj-proxy/-/identity-obj-proxy-3.0.0.tgz#94d2bda96084453ef36fbc5aaec37e0f79f1fc14" - integrity sha512-00n6YnVHKrinT9t0d9+5yZC6UBNJANpYEQvL2LlX6Ab9lnmxzIRcEmTPuyGScvl1+jKuCICX1Z0Ab1pPKKdikA== - dependencies: - harmony-reflect "^1.4.6" - -ieee754@^1.1.13, ieee754@^1.2.1: - version "1.2.1" - resolved "https://registry.yarnpkg.com/ieee754/-/ieee754-1.2.1.tgz#8eb7a10a63fff25d15a57b001586d177d1b0d352" - integrity sha512-dcyqhDvX1C46lXZcVqCpK+FtMRQVdIMN6/Df5js2zouUsqG7I6sFxitIC+7KYK29KdXOLHdu9zL4sFnoVQnqaA== - -ignore-walk@^3.0.1: - version "3.0.4" - resolved "https://registry.yarnpkg.com/ignore-walk/-/ignore-walk-3.0.4.tgz#c9a09f69b7c7b479a5d74ac1a3c0d4236d2a6335" - integrity sha512-PY6Ii8o1jMRA1z4F2hRkH/xN59ox43DavKvD3oDpfurRlOJyAHpifIwpbdv1n4jt4ov0jSpw3kQ4GhJnpBL6WQ== - dependencies: - minimatch "^3.0.4" - -ignore-walk@^5.0.1: - version "5.0.1" - resolved "https://registry.yarnpkg.com/ignore-walk/-/ignore-walk-5.0.1.tgz#5f199e23e1288f518d90358d461387788a154776" - integrity sha512-yemi4pMf51WKT7khInJqAvsIGzoqYXblnsz0ql8tM+yi1EKYTY1evX4NAbJrLL/Aanr2HyZeluqU+Oi7MGHokw== - dependencies: - minimatch "^5.0.1" - -ignore@^4.0.3: - version "4.0.6" - resolved "https://registry.yarnpkg.com/ignore/-/ignore-4.0.6.tgz#750e3db5862087b4737ebac8207ffd1ef27b25fc" - integrity sha512-cyFDKrqc/YdcWFniJhzI42+AzS+gNwmUzOSFcRCQYwySuBBBy/KjuxWLZ/FHEH6Moq1NizMOBWyTcv8O4OZIMg== - -ignore@^5.0.0, ignore@^5.0.4, ignore@^5.2.0, ignore@^5.2.1, ignore@^5.2.4: - version "5.3.2" - resolved "https://registry.yarnpkg.com/ignore/-/ignore-5.3.2.tgz#3cd40e729f3643fd87cb04e50bf0eb722bc596f5" - integrity sha512-hsBTNUqQTDwkWtcdYI2i06Y/nUBEsNEDJKjWdigLvegy8kDuJAS8uRlpkkcQpyEXL0Z/pjDy5HBmMjRCJ2gq+g== - -import-fresh@^3.2.1: - version "3.3.0" - resolved "https://registry.yarnpkg.com/import-fresh/-/import-fresh-3.3.0.tgz#37162c25fcb9ebaa2e6e53d5b4d88ce17d9e0c2b" - integrity sha512-veYYhQa+D1QBKznvhUHxb8faxlrwUnxseDAbAp457E0wLNio2bOSKnjYDhMj+YiAq61xrMGhQk9iXVk5FzgQMw== - dependencies: - parent-module "^1.0.0" - resolve-from "^4.0.0" - -import-lazy@^2.1.0: - version "2.1.0" - resolved "https://registry.yarnpkg.com/import-lazy/-/import-lazy-2.1.0.tgz#05698e3d45c88e8d7e9d92cb0584e77f096f3e43" - integrity sha512-m7ZEHgtw69qOGw+jwxXkHlrlIPdTGkyh66zXZ1ajZbxkDBNjSY/LGbmjc7h0s2ELsUDTAhFr55TrPSSqJGPG0A== - -import-lazy@^4.0.0: - version "4.0.0" - resolved "https://registry.yarnpkg.com/import-lazy/-/import-lazy-4.0.0.tgz#e8eb627483a0a43da3c03f3e35548be5cb0cc153" - integrity sha512-rKtvo6a868b5Hu3heneU+L4yEQ4jYKLtjpnPeUdK7h0yzXGmyBTypknlkCvHFBqfX9YlorEiMM6Dnq/5atfHkw== - -import-local@^3.0.2: - version "3.2.0" - resolved "https://registry.yarnpkg.com/import-local/-/import-local-3.2.0.tgz#c3d5c745798c02a6f8b897726aba5100186ee260" - integrity sha512-2SPlun1JUPWoM6t3F0dw0FkCF/jWY8kttcY4f599GLTSjh2OCuuhdTkJQsEcZzBqbXZGKMK2OqW1oZsjtf/gQA== - dependencies: - pkg-dir "^4.2.0" - resolve-cwd "^3.0.0" - -import-meta-resolve@^2.0.0: - version "2.2.2" - resolved "https://registry.yarnpkg.com/import-meta-resolve/-/import-meta-resolve-2.2.2.tgz#75237301e72d1f0fbd74dbc6cca9324b164c2cc9" - integrity sha512-f8KcQ1D80V7RnqVm+/lirO9zkOxjGxhaTC1IPrBGd3MEfNgmNG67tSUO9gTi2F3Blr2Az6g1vocaxzkVnWl9MA== - -imurmurhash@^0.1.4: - version "0.1.4" - resolved "https://registry.yarnpkg.com/imurmurhash/-/imurmurhash-0.1.4.tgz#9218b9b2b928a238b13dc4fb6b6d576f231453ea" - integrity sha512-JmXMZ6wuvDmLiHEml9ykzqO6lwFbof0GG4IkcGaENdCRDDmMVnny7s5HsIgHCbaq0w2MyPhDqkhTUgS2LU2PHA== - -indent-string@^3.0.0: - version "3.2.0" - resolved "https://registry.yarnpkg.com/indent-string/-/indent-string-3.2.0.tgz#4a5fd6d27cc332f37e5419a504dbb837105c9289" - integrity sha512-BYqTHXTGUIvg7t1r4sJNKcbDZkL92nkXA8YtRpbjFHRHGDL/NtUeiBJMeE60kIFN/Mg8ESaWQvftaYMGJzQZCQ== - -indent-string@^4.0.0: - version "4.0.0" - resolved "https://registry.yarnpkg.com/indent-string/-/indent-string-4.0.0.tgz#624f8f4497d619b2d9768531d58f4122854d7251" - integrity sha512-EdDDZu4A2OyIK7Lr/2zG+w5jmbuk1DVBnEwREQvBzspBJkCEbRa8GxU1lghYcaGJCnRWibjDXlq779X1/y5xwg== - -indent-string@^5.0.0: - version "5.0.0" - resolved "https://registry.yarnpkg.com/indent-string/-/indent-string-5.0.0.tgz#4fd2980fccaf8622d14c64d694f4cf33c81951a5" - integrity sha512-m6FAo/spmsW2Ab2fU35JTYwtOKa2yAwXSwgjSv1TJzh4Mh7mC3lzAOVLBprb72XsTrgkEIsl7YrFNAiDiRhIGg== - -indexes-of@^1.0.1: - version "1.0.1" - resolved "https://registry.yarnpkg.com/indexes-of/-/indexes-of-1.0.1.tgz#f30f716c8e2bd346c7b67d3df3915566a7c05607" - integrity sha512-bup+4tap3Hympa+JBJUG7XuOsdNQ6fxt0MHyXMKuLBKn0OqsTfvUxkUrroEX1+B2VsSHvCjiIcZVxRtYa4nllA== - -infer-owner@^1.0.4: - version "1.0.4" - resolved "https://registry.yarnpkg.com/infer-owner/-/infer-owner-1.0.4.tgz#c4cefcaa8e51051c2a40ba2ce8a3d27295af9467" - integrity sha512-IClj+Xz94+d7irH5qRyfJonOdfTzuDaifE6ZPWfx0N0+/ATZCbuTPq2prFl526urkQd90WyUKIh1DfBQ2hMz9A== - -inflight@^1.0.4: - version "1.0.6" - resolved "https://registry.yarnpkg.com/inflight/-/inflight-1.0.6.tgz#49bd6331d7d02d0c09bc910a1075ba8165b56df9" - integrity sha512-k92I/b08q4wvFscXCLvqfsHCrjrF7yiXsQuIVvVE7N82W3+aqpzuUdBbfhWcy/FZR3/4IgflMgKLOsvPDrGCJA== - dependencies: - once "^1.3.0" - wrappy "1" - -inherits@2, inherits@2.0.4, inherits@^2.0.1, inherits@^2.0.3, inherits@^2.0.4, inherits@~2.0.1, inherits@~2.0.3: - version "2.0.4" - resolved "https://registry.yarnpkg.com/inherits/-/inherits-2.0.4.tgz#0fa2c64f932917c3433a0ded55363aae37416b7c" - integrity sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ== - -ini@2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/ini/-/ini-2.0.0.tgz#e5fd556ecdd5726be978fa1001862eacb0a94bc5" - integrity sha512-7PnF4oN3CvZF23ADhA5wRaYEQpJ8qygSkbtTXWBeXWXmEVRXK+1ITciHWwHhsjv1TmW0MgacIv6hEi5pX5NQdA== - -ini@^1.3.2, ini@^1.3.4, ini@^1.3.5, ini@~1.3.0: - version "1.3.8" - resolved "https://registry.yarnpkg.com/ini/-/ini-1.3.8.tgz#a29da425b48806f34767a4efce397269af28432c" - integrity sha512-JV/yugV2uzW5iMRSiZAyDtQd+nxtUnjeLt0acNdw98kKLrvuRVyB80tsREOE7yvGVgalhZ6RNXCmEHkUKBKxew== - -ini@^4.1.0: - version "4.1.3" - resolved "https://registry.yarnpkg.com/ini/-/ini-4.1.3.tgz#4c359675a6071a46985eb39b14e4a2c0ec98a795" - integrity sha512-X7rqawQBvfdjS10YU1y1YVreA3SsLrW9dX2CewP2EbBJM4ypVNLDkO5y04gejPwKIY9lR+7r9gn3rFPt/kmWFg== - -init-package-json@3.0.2, init-package-json@^3.0.2: - version "3.0.2" - resolved "https://registry.yarnpkg.com/init-package-json/-/init-package-json-3.0.2.tgz#f5bc9bac93f2bdc005778bc2271be642fecfcd69" - integrity sha512-YhlQPEjNFqlGdzrBfDNRLhvoSgX7iQRgSxgsNknRQ9ITXFT7UMfVMWhBTOh2Y+25lRnGrv5Xz8yZwQ3ACR6T3A== - dependencies: - npm-package-arg "^9.0.1" - promzard "^0.3.0" - read "^1.0.7" - read-package-json "^5.0.0" - semver "^7.3.5" - validate-npm-package-license "^3.0.4" - validate-npm-package-name "^4.0.0" - -inquirer-autocomplete-prompt@^1.0.1: - version "1.4.0" - resolved "https://registry.yarnpkg.com/inquirer-autocomplete-prompt/-/inquirer-autocomplete-prompt-1.4.0.tgz#e767592f747e3d5bb6336fe71fb4094352e4c317" - integrity sha512-qHgHyJmbULt4hI+kCmwX92MnSxDs/Yhdt4wPA30qnoa01OF6uTXV8yvH4hKXgdaTNmkZ9D01MHjqKYEuJN+ONw== - dependencies: - ansi-escapes "^4.3.1" - chalk "^4.0.0" - figures "^3.2.0" - run-async "^2.4.0" - rxjs "^6.6.2" - -inquirer@^6.0.0, inquirer@^6.5.1: - version "6.5.2" - resolved "https://registry.yarnpkg.com/inquirer/-/inquirer-6.5.2.tgz#ad50942375d036d327ff528c08bd5fab089928ca" - integrity sha512-cntlB5ghuB0iuO65Ovoi8ogLHiWGs/5yNrtUcKjFhSSiVeAIVpD7koaSU9RM8mpXw5YDi9RdYXGQMaOURB7ycQ== - dependencies: - ansi-escapes "^3.2.0" - chalk "^2.4.2" - cli-cursor "^2.1.0" - cli-width "^2.0.0" - external-editor "^3.0.3" - figures "^2.0.0" - lodash "^4.17.12" - mute-stream "0.0.7" - run-async "^2.2.0" - rxjs "^6.4.0" - string-width "^2.1.0" - strip-ansi "^5.1.0" - through "^2.3.6" - -inquirer@^8.2.4: - version "8.2.6" - resolved "https://registry.yarnpkg.com/inquirer/-/inquirer-8.2.6.tgz#733b74888195d8d400a67ac332011b5fae5ea562" - integrity sha512-M1WuAmb7pn9zdFRtQYk26ZBoY043Sse0wVDdk4Bppr+JOXyQYybdtvK+l9wUibhtjdjvtoiNy8tk+EgsYIUqKg== - dependencies: - ansi-escapes "^4.2.1" - chalk "^4.1.1" - cli-cursor "^3.1.0" - cli-width "^3.0.0" - external-editor "^3.0.3" - figures "^3.0.0" - lodash "^4.17.21" - mute-stream "0.0.8" - ora "^5.4.1" - run-async "^2.4.0" - rxjs "^7.5.5" - string-width "^4.1.0" - strip-ansi "^6.0.0" - through "^2.3.6" - wrap-ansi "^6.0.1" - -internal-slot@^1.0.4, internal-slot@^1.0.7: - version "1.0.7" - resolved "https://registry.yarnpkg.com/internal-slot/-/internal-slot-1.0.7.tgz#c06dcca3ed874249881007b0a5523b172a190802" - integrity sha512-NGnrKwXzSms2qUUih/ILZ5JBqNTSa1+ZmP6flaIp6KmSElgE9qdndzS3cqjrDovwFdmwsGsLdeFgB6suw+1e9g== - dependencies: - es-errors "^1.3.0" - hasown "^2.0.0" - side-channel "^1.0.4" - -interpret@^1.0.0: - version "1.4.0" - resolved "https://registry.yarnpkg.com/interpret/-/interpret-1.4.0.tgz#665ab8bc4da27a774a40584e812e3e0fa45b1a1e" - integrity sha512-agE4QfB2Lkp9uICn7BAqoscw4SZP9kTE2hxiFI3jBPmXJfdqiahTbUuKGsMoN2GtqL9AxhYioAcVvgsb1HvRbA== - -intl-messageformat@^10.1.0: - version "10.7.0" - resolved "https://registry.yarnpkg.com/intl-messageformat/-/intl-messageformat-10.7.0.tgz#66f3400e10bb423407b5ff476fcc1ead3a319ea2" - integrity sha512-2P06M9jFTqJnEQzE072VGPjbAx6ZG1YysgopAwc8ui0ajSjtwX1MeQ6bXFXIzKcNENJTizKkcJIcZ0zlpl1zSg== - dependencies: - "@formatjs/ecma402-abstract" "2.2.0" - "@formatjs/fast-memoize" "2.2.1" - "@formatjs/icu-messageformat-parser" "2.7.10" - tslib "^2.7.0" - -into-stream@^3.1.0: - version "3.1.0" - resolved "https://registry.yarnpkg.com/into-stream/-/into-stream-3.1.0.tgz#96fb0a936c12babd6ff1752a17d05616abd094c6" - integrity sha512-TcdjPibTksa1NQximqep2r17ISRiNE9fwlfbg3F8ANdvP5/yrFTew86VcO//jk4QTaMlbjypPBq76HN2zaKfZQ== - dependencies: - from2 "^2.1.1" - p-is-promise "^1.1.0" - -ip-address@^9.0.5: - version "9.0.5" - resolved "https://registry.yarnpkg.com/ip-address/-/ip-address-9.0.5.tgz#117a960819b08780c3bd1f14ef3c1cc1d3f3ea5a" - integrity sha512-zHtQzGojZXTwZTHQqra+ETKd4Sn3vgi7uBmlPoXVWZqYvuKmtI0l/VZTjqGmJY9x88GGOaZ9+G9ES8hC4T4X8g== - dependencies: - jsbn "1.1.0" - sprintf-js "^1.1.3" - -ipaddr.js@1.9.1: - version "1.9.1" - resolved "https://registry.yarnpkg.com/ipaddr.js/-/ipaddr.js-1.9.1.tgz#bff38543eeb8984825079ff3a2a8e6cbd46781b3" - integrity sha512-0KI/607xoxSToH7GjN1FfSbLoU0+btTicjsQSWQlh/hZykN8KpmMf7uYwPW3R+akZ6R/w18ZlXSHBYXiYUPO3g== - -is-absolute-url@^4.0.0: - version "4.0.1" - resolved "https://registry.yarnpkg.com/is-absolute-url/-/is-absolute-url-4.0.1.tgz#16e4d487d4fded05cfe0685e53ec86804a5e94dc" - integrity sha512-/51/TKE88Lmm7Gc4/8btclNXWS+g50wXhYJq8HWIBAGUBnoAdRu1aXeh364t/O7wXDAcTJDP8PNuNKWUDWie+A== - -is-accessor-descriptor@^1.0.1: - version "1.0.1" - resolved "https://registry.yarnpkg.com/is-accessor-descriptor/-/is-accessor-descriptor-1.0.1.tgz#3223b10628354644b86260db29b3e693f5ceedd4" - integrity sha512-YBUanLI8Yoihw923YeFUS5fs0fF2f5TSFTNiYAAzhhDscDa3lEqYuz1pDOEP5KvX94I9ey3vsqjJcLVFVU+3QA== - dependencies: - hasown "^2.0.0" - -is-alphabetical@^1.0.0: - version "1.0.4" - resolved "https://registry.yarnpkg.com/is-alphabetical/-/is-alphabetical-1.0.4.tgz#9e7d6b94916be22153745d184c298cbf986a686d" - integrity sha512-DwzsA04LQ10FHTZuL0/grVDk4rFoVH1pjAToYwBrHSxcrBIGQuXrQMtD5U1b0U2XVgKZCTLLP8u2Qxqhy3l2Vg== - -is-alphabetical@^2.0.0: - version "2.0.1" - resolved "https://registry.yarnpkg.com/is-alphabetical/-/is-alphabetical-2.0.1.tgz#01072053ea7c1036df3c7d19a6daaec7f19e789b" - integrity sha512-FWyyY60MeTNyeSRpkM2Iry0G9hpr7/9kD40mD/cGQEuilcZYS4okz8SN2Q6rLCJ8gbCt6fN+rC+6tMGS99LaxQ== - -is-alphanumerical@^1.0.0: - version "1.0.4" - resolved "https://registry.yarnpkg.com/is-alphanumerical/-/is-alphanumerical-1.0.4.tgz#7eb9a2431f855f6b1ef1a78e326df515696c4dbf" - integrity sha512-UzoZUr+XfVz3t3v4KyGEniVL9BDRoQtY7tOyrRybkVNjDFWyo1yhXNGrrBTQxp3ib9BLAWs7k2YKBQsFRkZG9A== - dependencies: - is-alphabetical "^1.0.0" - is-decimal "^1.0.0" - -is-alphanumerical@^2.0.0: - version "2.0.1" - resolved "https://registry.yarnpkg.com/is-alphanumerical/-/is-alphanumerical-2.0.1.tgz#7c03fbe96e3e931113e57f964b0a368cc2dfd875" - integrity sha512-hmbYhX/9MUMF5uh7tOXyK/n0ZvWpad5caBA17GsC6vyuCqaWliRG5K1qS9inmUhEMaOBIW7/whAnSwveW/LtZw== - dependencies: - is-alphabetical "^2.0.0" - is-decimal "^2.0.0" - -is-arguments@^1.0.4, is-arguments@^1.1.1: - version "1.1.1" - resolved "https://registry.yarnpkg.com/is-arguments/-/is-arguments-1.1.1.tgz#15b3f88fda01f2a97fec84ca761a560f123efa9b" - integrity sha512-8Q7EARjzEnKpt/PCD7e1cgUS0a6X8u5tdSiMqXhojOdoV9TsMsiO+9VLC5vAmO8N7/GmXn7yjR8qnA6bVAEzfA== - dependencies: - call-bind "^1.0.2" - has-tostringtag "^1.0.0" - -is-array-buffer@^3.0.2, is-array-buffer@^3.0.4: - version "3.0.4" - resolved "https://registry.yarnpkg.com/is-array-buffer/-/is-array-buffer-3.0.4.tgz#7a1f92b3d61edd2bc65d24f130530ea93d7fae98" - integrity sha512-wcjaerHw0ydZwfhiKbXJWLDY8A7yV7KhjQOpb83hGgGfId/aQa4TOvwyzn2PuswW2gPCYEL/nEAiSVpdOj1lXw== - dependencies: - call-bind "^1.0.2" - get-intrinsic "^1.2.1" - -is-arrayish@^0.2.1: - version "0.2.1" - resolved "https://registry.yarnpkg.com/is-arrayish/-/is-arrayish-0.2.1.tgz#77c99840527aa8ecb1a8ba697b80645a7a926a9d" - integrity sha512-zz06S8t0ozoDXMG+ube26zeCTNXcKIPJZJi8hBrF4idCLms4CG9QtK7qBl1boi5ODzFpjswb5JPmHCbMpjaYzg== - -is-arrayish@^0.3.1: - version "0.3.2" - resolved "https://registry.yarnpkg.com/is-arrayish/-/is-arrayish-0.3.2.tgz#4574a2ae56f7ab206896fb431eaeed066fdf8f03" - integrity sha512-eVRqCvVlZbuw3GrM63ovNSNAeA1K16kaR/LRY/92w0zxQ5/1YzwblUX652i4Xs9RwAGjW9d9y6X88t8OaAJfWQ== - -is-async-function@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/is-async-function/-/is-async-function-2.0.0.tgz#8e4418efd3e5d3a6ebb0164c05ef5afb69aa9646" - integrity sha512-Y1JXKrfykRJGdlDwdKlLpLyMIiWqWvuSd17TvZk68PLAOGOoF4Xyav1z0Xhoi+gCYjZVeC5SI+hYFOfvXmGRCA== - dependencies: - has-tostringtag "^1.0.0" - -is-bigint@^1.0.1: - version "1.0.4" - resolved "https://registry.yarnpkg.com/is-bigint/-/is-bigint-1.0.4.tgz#08147a1875bc2b32005d41ccd8291dffc6691df3" - integrity sha512-zB9CruMamjym81i2JZ3UMn54PKGsQzsJeo6xvN3HJJ4CAsQNB6iRutp2To77OfCNuoxspsIhzaPoO1zyCEhFOg== - dependencies: - has-bigints "^1.0.1" - -is-binary-path@~2.1.0: - version "2.1.0" - resolved "https://registry.yarnpkg.com/is-binary-path/-/is-binary-path-2.1.0.tgz#ea1f7f3b80f064236e83470f86c09c254fb45b09" - integrity sha512-ZMERYes6pDydyuGidse7OsHxtbI7WVeUEozgR/g7rd0xUimYNlvZRE/K2MgZTjWy725IfelLeVcEM97mmtRGXw== - dependencies: - binary-extensions "^2.0.0" - -is-boolean-object@^1.1.0: - version "1.1.2" - resolved "https://registry.yarnpkg.com/is-boolean-object/-/is-boolean-object-1.1.2.tgz#5c6dc200246dd9321ae4b885a114bb1f75f63719" - integrity sha512-gDYaKHJmnj4aWxyj6YHyXVpdQawtVLHU5cb+eztPGczf6cjuTdwve5ZIEfgXqH4e57An1D1AKf8CZ3kYrQRqYA== - dependencies: - call-bind "^1.0.2" - has-tostringtag "^1.0.0" - -is-buffer@^1.1.5: - version "1.1.6" - resolved "https://registry.yarnpkg.com/is-buffer/-/is-buffer-1.1.6.tgz#efaa2ea9daa0d7ab2ea13a97b2b8ad51fefbe8be" - integrity sha512-NcdALwpXkTm5Zvvbk7owOUSvVvBKDgKP5/ewfXEznmQFfs4ZRmanOeKBTjRVjka3QFoN6XJ+9F3USqfHqTaU5w== - -is-buffer@^2.0.0: - version "2.0.5" - resolved "https://registry.yarnpkg.com/is-buffer/-/is-buffer-2.0.5.tgz#ebc252e400d22ff8d77fa09888821a24a658c191" - integrity sha512-i2R6zNFDwgEHJyQUtJEk0XFi1i0dPFn/oqjK3/vPCcDeJvW5NQ83V8QbicfF1SupOaB0h8ntgBC2YiE7dfyctQ== - -is-builtin-module@^3.1.0: - version "3.2.1" - resolved "https://registry.yarnpkg.com/is-builtin-module/-/is-builtin-module-3.2.1.tgz#f03271717d8654cfcaf07ab0463faa3571581169" - integrity sha512-BSLE3HnV2syZ0FK0iMA/yUGplUeMmNz4AW5fnTunbCIqZi4vG3WjJT9FHMy5D69xmAYBHXQhJdALdpwVxV501A== - dependencies: - builtin-modules "^3.3.0" - -is-callable@^1.1.3, is-callable@^1.1.4, is-callable@^1.2.7: - version "1.2.7" - resolved "https://registry.yarnpkg.com/is-callable/-/is-callable-1.2.7.tgz#3bc2a85ea742d9e36205dcacdd72ca1fdc51b055" - integrity sha512-1BC0BVFhS/p0qtw6enp8e+8OD0UrK0oFLztSjNzhcKA3WDuJxxAPXzPuPtKkjEY9UUoEWlX/8fgKeu2S8i9JTA== - -is-ci@2.0.0, is-ci@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/is-ci/-/is-ci-2.0.0.tgz#6bc6334181810e04b5c22b3d589fdca55026404c" - integrity sha512-YfJT7rkpQB0updsdHLGWrvhBJfcfzNNawYDNIyQXJz0IViGf75O8EBPKSdvw2rF+LGCsX4FZ8tcr3b19LcZq4w== - dependencies: - ci-info "^2.0.0" - -is-core-module@^2.13.0, is-core-module@^2.15.1, is-core-module@^2.5.0, is-core-module@^2.8.1: - version "2.15.1" - resolved "https://registry.yarnpkg.com/is-core-module/-/is-core-module-2.15.1.tgz#a7363a25bee942fefab0de13bf6aa372c82dcc37" - integrity sha512-z0vtXSwucUJtANQWldhbtbt7BnL0vxiFjIdDLAatwhDYty2bad6s+rijD6Ri4YuYJubLzIJLUidCh09e1djEVQ== - dependencies: - hasown "^2.0.2" - -is-data-descriptor@^1.0.1: - version "1.0.1" - resolved "https://registry.yarnpkg.com/is-data-descriptor/-/is-data-descriptor-1.0.1.tgz#2109164426166d32ea38c405c1e0945d9e6a4eeb" - integrity sha512-bc4NlCDiCr28U4aEsQ3Qs2491gVq4V8G7MQyws968ImqjKuYtTJXrl7Vq7jsN7Ly/C3xj5KWFrY7sHNeDkAzXw== - dependencies: - hasown "^2.0.0" - -is-data-view@^1.0.1: - version "1.0.1" - resolved "https://registry.yarnpkg.com/is-data-view/-/is-data-view-1.0.1.tgz#4b4d3a511b70f3dc26d42c03ca9ca515d847759f" - integrity sha512-AHkaJrsUVW6wq6JS8y3JnM/GJF/9cf+k20+iDzlSaJrinEo5+7vRiteOSwBhHRiAyQATN1AmY4hwzxJKPmYf+w== - dependencies: - is-typed-array "^1.1.13" - -is-date-object@^1.0.1, is-date-object@^1.0.5: - version "1.0.5" - resolved "https://registry.yarnpkg.com/is-date-object/-/is-date-object-1.0.5.tgz#0841d5536e724c25597bf6ea62e1bd38298df31f" - integrity sha512-9YQaSxsAiSwcvS33MBk3wTCVnWK+HhF8VZR2jRxehM16QcVOdHqPn4VPHmRK4lSr38n9JriurInLcP90xsYNfQ== - dependencies: - has-tostringtag "^1.0.0" - -is-decimal@^1.0.0: - version "1.0.4" - resolved "https://registry.yarnpkg.com/is-decimal/-/is-decimal-1.0.4.tgz#65a3a5958a1c5b63a706e1b333d7cd9f630d3fa5" - integrity sha512-RGdriMmQQvZ2aqaQq3awNA6dCGtKpiDFcOzrTWrDAT2MiWrKQVPmxLGHl7Y2nNu6led0kEyoX0enY0qXYsv9zw== - -is-decimal@^2.0.0: - version "2.0.1" - resolved "https://registry.yarnpkg.com/is-decimal/-/is-decimal-2.0.1.tgz#9469d2dc190d0214fd87d78b78caecc0cc14eef7" - integrity sha512-AAB9hiomQs5DXWcRB1rqsxGUstbRroFOPPVAomNk/3XHR5JyEZChOyTWe2oayKnsSsr/kcGqF+z6yuH6HHpN0A== - -is-descriptor@^0.1.0: - version "0.1.7" - resolved "https://registry.yarnpkg.com/is-descriptor/-/is-descriptor-0.1.7.tgz#2727eb61fd789dcd5bdf0ed4569f551d2fe3be33" - integrity sha512-C3grZTvObeN1xud4cRWl366OMXZTj0+HGyk4hvfpx4ZHt1Pb60ANSXqCK7pdOTeUQpRzECBSTphqvD7U+l22Eg== - dependencies: - is-accessor-descriptor "^1.0.1" - is-data-descriptor "^1.0.1" - -is-descriptor@^1.0.0, is-descriptor@^1.0.2: - version "1.0.3" - resolved "https://registry.yarnpkg.com/is-descriptor/-/is-descriptor-1.0.3.tgz#92d27cb3cd311c4977a4db47df457234a13cb306" - integrity sha512-JCNNGbwWZEVaSPtS45mdtrneRWJFp07LLmykxeFV5F6oBvNF8vHSfJuJgoT472pSfk+Mf8VnlrspaFBHWM8JAw== - dependencies: - is-accessor-descriptor "^1.0.1" - is-data-descriptor "^1.0.1" - -is-docker@^2.0.0, is-docker@^2.1.1: - version "2.2.1" - resolved "https://registry.yarnpkg.com/is-docker/-/is-docker-2.2.1.tgz#33eeabe23cfe86f14bde4408a02c0cfb853acdaa" - integrity sha512-F+i2BKsFrH66iaUFc0woD8sLy8getkwTwtOBjvs56Cx4CgJDeKQeqfz8wAYiSb8JOprWhHH5p77PbmYCvvUuXQ== - -is-empty@^1.0.0: - version "1.2.0" - resolved "https://registry.yarnpkg.com/is-empty/-/is-empty-1.2.0.tgz#de9bb5b278738a05a0b09a57e1fb4d4a341a9f6b" - integrity sha512-F2FnH/otLNJv0J6wc73A5Xo7oHLNnqplYqZhUu01tD54DIPvxIRSTSLkrUB/M0nHO4vo1O9PDfN4KoTxCzLh/w== - -is-extendable@^0.1.0, is-extendable@^0.1.1: - version "0.1.1" - resolved "https://registry.yarnpkg.com/is-extendable/-/is-extendable-0.1.1.tgz#62b110e289a471418e3ec36a617d472e301dfc89" - integrity sha512-5BMULNob1vgFX6EjQw5izWDxrecWK9AM72rugNr0TFldMOi0fj6Jk+zeKIt0xGj4cEfQIJth4w3OKWOJ4f+AFw== - -is-extendable@^1.0.1: - version "1.0.1" - resolved "https://registry.yarnpkg.com/is-extendable/-/is-extendable-1.0.1.tgz#a7470f9e426733d81bd81e1155264e3a3507cab4" - integrity sha512-arnXMxT1hhoKo9k1LZdmlNyJdDDfy2v0fXjFlmok4+i8ul/6WlbVge9bhM74OpNPQPMGUToDtz+KXa1PneJxOA== - dependencies: - is-plain-object "^2.0.4" - -is-extglob@^2.1.0, is-extglob@^2.1.1: - version "2.1.1" - resolved "https://registry.yarnpkg.com/is-extglob/-/is-extglob-2.1.1.tgz#a88c02535791f02ed37c76a1b9ea9773c833f8c2" - integrity sha512-SbKbANkN603Vi4jEZv49LeVJMn4yGwsbzZworEoyEiutsN3nJYdbO36zfhGJ6QEDpOZIFkDtnq5JRxmvl3jsoQ== - -is-finalizationregistry@^1.0.2: - version "1.0.2" - resolved "https://registry.yarnpkg.com/is-finalizationregistry/-/is-finalizationregistry-1.0.2.tgz#c8749b65f17c133313e661b1289b95ad3dbd62e6" - integrity sha512-0by5vtUJs8iFQb5TYUHHPudOR+qXYIMKtiUzvLIZITZUjknFmziyBJuLhVRc+Ds0dREFlskDNJKYIdIzu/9pfw== - dependencies: - call-bind "^1.0.2" - -is-fullwidth-code-point@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/is-fullwidth-code-point/-/is-fullwidth-code-point-1.0.0.tgz#ef9e31386f031a7f0d643af82fde50c457ef00cb" - integrity sha512-1pqUqRjkhPJ9miNq9SwMfdvi6lBJcd6eFxvfaivQhaH3SgisfiuudvFntdKOmxuee/77l+FPjKrQjWvmPjWrRw== - dependencies: - number-is-nan "^1.0.0" - -is-fullwidth-code-point@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/is-fullwidth-code-point/-/is-fullwidth-code-point-2.0.0.tgz#a3b30a5c4f199183167aaab93beefae3ddfb654f" - integrity sha512-VHskAKYM8RfSFXwee5t5cbN5PZeq1Wrh6qd5bkyiXIf6UQcN6w/A0eXM9r6t8d+GYOh+o6ZhiEnb88LN/Y8m2w== - -is-fullwidth-code-point@^3.0.0: - version "3.0.0" - resolved "https://registry.yarnpkg.com/is-fullwidth-code-point/-/is-fullwidth-code-point-3.0.0.tgz#f116f8064fe90b3f7844a38997c0b75051269f1d" - integrity sha512-zymm5+u+sCsSWyD9qNaejV3DFvhCKclKdizYaJUuHA83RLjb7nSuGnddCHGv0hk+KY7BMAlsWeK4Ueg6EV6XQg== - -is-fullwidth-code-point@^4.0.0: - version "4.0.0" - resolved "https://registry.yarnpkg.com/is-fullwidth-code-point/-/is-fullwidth-code-point-4.0.0.tgz#fae3167c729e7463f8461ce512b080a49268aa88" - integrity sha512-O4L094N2/dZ7xqVdrXhh9r1KODPJpFms8B5sGdJLPy664AgvXsreZUyCQQNItZRDlYug4xStLjNp/sz3HvBowQ== - -is-generator-fn@^2.0.0: - version "2.1.0" - resolved "https://registry.yarnpkg.com/is-generator-fn/-/is-generator-fn-2.1.0.tgz#7d140adc389aaf3011a8f2a2a4cfa6faadffb118" - integrity sha512-cTIB4yPYL/Grw0EaSzASzg6bBy9gqCofvWN8okThAYIxKJZC+udlRAmGbM0XLeniEJSs8uEgHPGuHSe1XsOLSQ== - -is-generator-function@^1.0.10, is-generator-function@^1.0.7: - version "1.0.10" - resolved "https://registry.yarnpkg.com/is-generator-function/-/is-generator-function-1.0.10.tgz#f1558baf1ac17e0deea7c0415c438351ff2b3c72" - integrity sha512-jsEjy9l3yiXEQ+PsXdmBwEPcOxaXWLspKdplFUVI9vq1iZgIekeC0L167qeu86czQaxed3q/Uzuw0swL0irL8A== - dependencies: - has-tostringtag "^1.0.0" - -is-glob@^3.0.0, is-glob@^3.1.0: - version "3.1.0" - resolved "https://registry.yarnpkg.com/is-glob/-/is-glob-3.1.0.tgz#7ba5ae24217804ac70707b96922567486cc3e84a" - integrity sha512-UFpDDrPgM6qpnFNI+rh/p3bUaq9hKLZN8bMUWzxmcnZVS3omf4IPK+BrewlnWjO1WmUsMYuSjKh4UJuV4+Lqmw== - dependencies: - is-extglob "^2.1.0" - -is-glob@^4.0.0, is-glob@^4.0.1, is-glob@^4.0.3, is-glob@~4.0.1: - version "4.0.3" - resolved "https://registry.yarnpkg.com/is-glob/-/is-glob-4.0.3.tgz#64f61e42cbbb2eec2071a9dac0b28ba1e65d5084" - integrity sha512-xelSayHH36ZgE7ZWhli7pW34hNbNl8Ojv5KVmkJD4hBdD3th8Tfk9vYasLM+mXWOZhFkgZfxhLSnrwRr4elSSg== - dependencies: - is-extglob "^2.1.1" - -is-hexadecimal@^1.0.0: - version "1.0.4" - resolved "https://registry.yarnpkg.com/is-hexadecimal/-/is-hexadecimal-1.0.4.tgz#cc35c97588da4bd49a8eedd6bc4082d44dcb23a7" - integrity sha512-gyPJuv83bHMpocVYoqof5VDiZveEoGoFL8m3BXNb2VW8Xs+rz9kqO8LOQ5DH6EsuvilT1ApazU0pyl+ytbPtlw== - -is-hexadecimal@^2.0.0: - version "2.0.1" - resolved "https://registry.yarnpkg.com/is-hexadecimal/-/is-hexadecimal-2.0.1.tgz#86b5bf668fca307498d319dfc03289d781a90027" - integrity sha512-DgZQp241c8oO6cA1SbTEWiXeoxV42vlcJxgH+B3hi1AiqqKruZR3ZGF8In3fj4+/y/7rHvlOZLZtgJ/4ttYGZg== - -is-installed-globally@^0.4.0: - version "0.4.0" - resolved "https://registry.yarnpkg.com/is-installed-globally/-/is-installed-globally-0.4.0.tgz#9a0fd407949c30f86eb6959ef1b7994ed0b7b520" - integrity sha512-iwGqO3J21aaSkC7jWnHP/difazwS7SFeIqxv6wEtLU8Y5KlzFTjyqcSIT0d8s4+dDhKytsk9PJZ2BkS5eZwQRQ== - dependencies: - global-dirs "^3.0.0" - is-path-inside "^3.0.2" - -is-interactive@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/is-interactive/-/is-interactive-1.0.0.tgz#cea6e6ae5c870a7b0a0004070b7b587e0252912e" - integrity sha512-2HvIEKRoqS62guEC+qBjpvRubdX910WCMuJTZ+I9yvqKU2/12eSL549HMwtabb4oupdj2sMP50k+XJfB/8JE6w== - -is-lambda@^1.0.1: - version "1.0.1" - resolved "https://registry.yarnpkg.com/is-lambda/-/is-lambda-1.0.1.tgz#3d9877899e6a53efc0160504cde15f82e6f061d5" - integrity sha512-z7CMFGNrENq5iFB9Bqo64Xk6Y9sg+epq1myIcdHaGnbMTYOxvzsEtdYqQUylB7LxfkvgrrjP32T6Ywciio9UIQ== - -is-map@^2.0.2, is-map@^2.0.3: - version "2.0.3" - resolved "https://registry.yarnpkg.com/is-map/-/is-map-2.0.3.tgz#ede96b7fe1e270b3c4465e3a465658764926d62e" - integrity sha512-1Qed0/Hr2m+YqxnM09CjA2d/i6YZNfF6R2oRAOj36eUdS6qIV/huPJNSEpKbupewFs+ZsJlxsjjPbc0/afW6Lw== - -is-module@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/is-module/-/is-module-1.0.0.tgz#3258fb69f78c14d5b815d664336b4cffb6441591" - integrity sha512-51ypPSPCoTEIN9dy5Oy+h4pShgJmPCygKfyRCISBI+JoWT/2oJvK8QPxmwv7b/p239jXrm9M1mlQbyKJ5A152g== - -is-natural-number@^4.0.1: - version "4.0.1" - resolved "https://registry.yarnpkg.com/is-natural-number/-/is-natural-number-4.0.1.tgz#ab9d76e1db4ced51e35de0c72ebecf09f734cde8" - integrity sha512-Y4LTamMe0DDQIIAlaer9eKebAlDSV6huy+TWhJVPlzZh2o4tRP5SQWFlLn5N0To4mDD22/qdOq+veo1cSISLgQ== - -is-negative-zero@^2.0.3: - version "2.0.3" - resolved "https://registry.yarnpkg.com/is-negative-zero/-/is-negative-zero-2.0.3.tgz#ced903a027aca6381b777a5743069d7376a49747" - integrity sha512-5KoIu2Ngpyek75jXodFvnafB6DJgr3u8uuK0LEZJjrU19DrMD3EVERaR8sjz8CCGgpZvxPl9SuE1GMVPFHx1mw== - -is-npm@^5.0.0: - version "5.0.0" - resolved "https://registry.yarnpkg.com/is-npm/-/is-npm-5.0.0.tgz#43e8d65cc56e1b67f8d47262cf667099193f45a8" - integrity sha512-WW/rQLOazUq+ST/bCAVBp/2oMERWLsR7OrKyt052dNDk4DHcDE0/7QSXITlmi+VBcV13DfIbysG3tZJm5RfdBA== - -is-number-object@^1.0.4: - version "1.0.7" - resolved "https://registry.yarnpkg.com/is-number-object/-/is-number-object-1.0.7.tgz#59d50ada4c45251784e9904f5246c742f07a42fc" - integrity sha512-k1U0IRzLMo7ZlYIfzRu23Oh6MiIFasgpb9X76eqfFZAqwH44UI4KTBvBYIZ1dSL9ZzChTB9ShHfLkR4pdW5krQ== - dependencies: - has-tostringtag "^1.0.0" - -is-number@^3.0.0: - version "3.0.0" - resolved "https://registry.yarnpkg.com/is-number/-/is-number-3.0.0.tgz#24fd6201a4782cf50561c810276afc7d12d71195" - integrity sha512-4cboCqIpliH+mAvFNegjZQ4kgKc3ZUhQVr3HvWbSh5q3WH2v82ct+T2Y1hdU5Gdtorx/cLifQjqCbL7bpznLTg== - dependencies: - kind-of "^3.0.2" - -is-number@^7.0.0: - version "7.0.0" - resolved "https://registry.yarnpkg.com/is-number/-/is-number-7.0.0.tgz#7535345b896734d5f80c4d06c50955527a14f12b" - integrity sha512-41Cifkg6e8TylSpdtTpeLVMqvSBEVzTttHvERD741+pnZ8ANv0004MRL43QKPDlK9cGvNp6NZWZUBlbGXYxxng== - -is-obj@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/is-obj/-/is-obj-2.0.0.tgz#473fb05d973705e3fd9620545018ca8e22ef4982" - integrity sha512-drqDG3cbczxxEJRoOXcOjtdp1J/lyp1mNn0xaznRs8+muBhgQcrnbspox5X5fOw0HnMnbfDzvnEMEtqDEJEo8w== - -is-object@^1.0.1: - version "1.0.2" - resolved "https://registry.yarnpkg.com/is-object/-/is-object-1.0.2.tgz#a56552e1c665c9e950b4a025461da87e72f86fcf" - integrity sha512-2rRIahhZr2UWb45fIOuvZGpFtz0TyOZLf32KxBbSoUCeZR495zCKlWUKKUByk3geS2eAs7ZAABt0Y/Rx0GiQGA== - -is-observable@^1.1.0: - version "1.1.0" - resolved "https://registry.yarnpkg.com/is-observable/-/is-observable-1.1.0.tgz#b3e986c8f44de950867cab5403f5a3465005975e" - integrity sha512-NqCa4Sa2d+u7BWc6CukaObG3Fh+CU9bvixbpcXYhy2VvYS7vVGIdAgnIS5Ks3A/cqk4rebLJ9s8zBstT2aKnIA== - dependencies: - symbol-observable "^1.1.0" - -is-path-cwd@^2.2.0: - version "2.2.0" - resolved "https://registry.yarnpkg.com/is-path-cwd/-/is-path-cwd-2.2.0.tgz#67d43b82664a7b5191fd9119127eb300048a9fdb" - integrity sha512-w942bTcih8fdJPJmQHFzkS76NEP8Kzzvmw92cXsazb8intwLqPibPPdXf4ANdKV3rYMuuQYGIWtvz9JilB3NFQ== - -is-path-inside@^3.0.2, is-path-inside@^3.0.3: - version "3.0.3" - resolved "https://registry.yarnpkg.com/is-path-inside/-/is-path-inside-3.0.3.tgz#d231362e53a07ff2b0e0ea7fed049161ffd16283" - integrity sha512-Fd4gABb+ycGAmKou8eMftCupSir5lRxqf4aD/vd0cD2qc4HL07OjCeuHMr8Ro4CoMaeCKDB0/ECBOVWjTwUvPQ== - -is-plain-obj@^1.0.0, is-plain-obj@^1.1.0: - version "1.1.0" - resolved "https://registry.yarnpkg.com/is-plain-obj/-/is-plain-obj-1.1.0.tgz#71a50c8429dfca773c92a390a4a03b39fcd51d3e" - integrity sha512-yvkRyxmFKEOQ4pNXCmJG5AEQNlXJS5LaONXo5/cLdTZdWvsZ1ioJEonLGAosKlMWE8lwUy/bJzMjcw8az73+Fg== - -is-plain-obj@^2.1.0: - version "2.1.0" - resolved "https://registry.yarnpkg.com/is-plain-obj/-/is-plain-obj-2.1.0.tgz#45e42e37fccf1f40da8e5f76ee21515840c09287" - integrity sha512-YWnfyRwxL/+SsrWYfOpUtz5b3YD+nyfkHvjbcanzk8zgyO4ASD67uVMRt8k5bM4lLMDnXfriRhOpemw+NfT1eA== - -is-plain-obj@^3.0.0: - version "3.0.0" - resolved "https://registry.yarnpkg.com/is-plain-obj/-/is-plain-obj-3.0.0.tgz#af6f2ea14ac5a646183a5bbdb5baabbc156ad9d7" - integrity sha512-gwsOE28k+23GP1B6vFl1oVh/WOzmawBrKwo5Ev6wMKzPkaXaCDIQKzLnvsA42DRlbVTWorkgTKIviAKCWkfUwA== - -is-plain-obj@^4.0.0: - version "4.1.0" - resolved "https://registry.yarnpkg.com/is-plain-obj/-/is-plain-obj-4.1.0.tgz#d65025edec3657ce032fd7db63c97883eaed71f0" - integrity sha512-+Pgi+vMuUNkJyExiMBt5IlFoMyKnr5zhJ4Uspz58WOhBF5QoIZkFyNHIbBAtHwzVAgk5RtndVNsDRN61/mmDqg== - -is-plain-object@5.0.0, is-plain-object@^5.0.0: - version "5.0.0" - resolved "https://registry.yarnpkg.com/is-plain-object/-/is-plain-object-5.0.0.tgz#4427f50ab3429e9025ea7d52e9043a9ef4159344" - integrity sha512-VRSzKkbMm5jMDoKLbltAkFQ5Qr7VDiTFGXxYFXXowVj387GeGNOCsOH6Msy00SGZ3Fp84b1Naa1psqgcCIEP5Q== - -is-plain-object@^2.0.3, is-plain-object@^2.0.4: - version "2.0.4" - resolved "https://registry.yarnpkg.com/is-plain-object/-/is-plain-object-2.0.4.tgz#2c163b3fafb1b606d9d17928f05c2a1c38e07677" - integrity sha512-h5PpgXkWitc38BBMYawTYMWJHFZJVnBquFE57xFpjB8pJFiF6gZ+bU+WyI/yqXiFR5mdLsgYNaPe8uao6Uv9Og== - dependencies: - isobject "^3.0.1" - -is-port-reachable@4.0.0: - version "4.0.0" - resolved "https://registry.yarnpkg.com/is-port-reachable/-/is-port-reachable-4.0.0.tgz#dac044091ef15319c8ab2f34604d8794181f8c2d" - integrity sha512-9UoipoxYmSk6Xy7QFgRv2HDyaysmgSG75TFQs6S+3pDM7ZhKTF/bskZV+0UlABHzKjNVhPjYCLfeZUEg1wXxig== - -is-potential-custom-element-name@^1.0.1: - version "1.0.1" - resolved "https://registry.yarnpkg.com/is-potential-custom-element-name/-/is-potential-custom-element-name-1.0.1.tgz#171ed6f19e3ac554394edf78caa05784a45bebb5" - integrity sha512-bCYeRA2rVibKZd+s2625gGnGF/t7DSqDs4dP7CrLA1m7jKWz6pps0LpYLJN8Q64HtmPKJ1hrN3nzPNKFEKOUiQ== - -is-promise@^2.1.0: - version "2.2.2" - resolved "https://registry.yarnpkg.com/is-promise/-/is-promise-2.2.2.tgz#39ab959ccbf9a774cf079f7b40c7a26f763135f1" - integrity sha512-+lP4/6lKUBfQjZ2pdxThZvLUAafmZb8OAxFb8XXtiQmS35INgr85hdOGoEs124ez1FCnZJt6jau/T+alh58QFQ== - -is-reference@^1.2.1: - version "1.2.1" - resolved "https://registry.yarnpkg.com/is-reference/-/is-reference-1.2.1.tgz#8b2dac0b371f4bc994fdeaba9eb542d03002d0b7" - integrity sha512-U82MsXXiFIrjCK4otLT+o2NA2Cd2g5MLoOVXUZjIOhLurrRxpEXzI8O0KZHr3IjLvlAH1kTPYSuqer5T9ZVBKQ== - dependencies: - "@types/estree" "*" - -is-regex@^1.1.4: - version "1.1.4" - resolved "https://registry.yarnpkg.com/is-regex/-/is-regex-1.1.4.tgz#eef5663cd59fa4c0ae339505323df6854bb15958" - integrity sha512-kvRdxDsxZjhzUX07ZnLydzS1TU/TJlTUHHY4YLL87e37oUA49DfkLqgy+VjFocowy29cKvcSiu+kIv728jTTVg== - dependencies: - call-bind "^1.0.2" - has-tostringtag "^1.0.0" - -is-retry-allowed@^1.1.0: - version "1.2.0" - resolved "https://registry.yarnpkg.com/is-retry-allowed/-/is-retry-allowed-1.2.0.tgz#d778488bd0a4666a3be8a1482b9f2baafedea8b4" - integrity sha512-RUbUeKwvm3XG2VYamhJL1xFktgjvPzL0Hq8C+6yrWIswDy3BIXGqCxhxkc30N9jqK311gVU137K8Ei55/zVJRg== - -is-set@^2.0.2, is-set@^2.0.3: - version "2.0.3" - resolved "https://registry.yarnpkg.com/is-set/-/is-set-2.0.3.tgz#8ab209ea424608141372ded6e0cb200ef1d9d01d" - integrity sha512-iPAjerrse27/ygGLxw+EBR9agv9Y6uLeYVJMu+QNCoouJ1/1ri0mGrcWpfCqFZuzzx3WjtwxG098X+n4OuRkPg== - -is-shared-array-buffer@^1.0.2, is-shared-array-buffer@^1.0.3: - version "1.0.3" - resolved "https://registry.yarnpkg.com/is-shared-array-buffer/-/is-shared-array-buffer-1.0.3.tgz#1237f1cba059cdb62431d378dcc37d9680181688" - integrity sha512-nA2hv5XIhLR3uVzDDfCIknerhx8XUKnstuOERPNNIinXG7v9u+ohXF67vxm4TPTEPU6lm61ZkwP3c9PCB97rhg== - dependencies: - call-bind "^1.0.7" - -is-ssh@^1.4.0: - version "1.4.0" - resolved "https://registry.yarnpkg.com/is-ssh/-/is-ssh-1.4.0.tgz#4f8220601d2839d8fa624b3106f8e8884f01b8b2" - integrity sha512-x7+VxdxOdlV3CYpjvRLBv5Lo9OJerlYanjwFrPR9fuGPjCiNiCzFgAWpiLAohSbsnH4ZAys3SBh+hq5rJosxUQ== - dependencies: - protocols "^2.0.1" - -is-stream@2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/is-stream/-/is-stream-2.0.0.tgz#bde9c32680d6fae04129d6ac9d921ce7815f78e3" - integrity sha512-XCoy+WlUr7d1+Z8GgSuXmpuUFC9fOhRXglJMx+dwLKTkL44Cjd4W1Z5P+BQZpr+cR93aGP4S/s7Ftw6Nd/kiEw== - -is-stream@^1.1.0: - version "1.1.0" - resolved "https://registry.yarnpkg.com/is-stream/-/is-stream-1.1.0.tgz#12d4a3dd4e68e0b79ceb8dbc84173ae80d91ca44" - integrity sha512-uQPm8kcs47jx38atAcWTVxyltQYoPT68y9aWYdV6yWXSyW8mzSat0TL6CiWdZeCdF3KrAvpVtnHbTv4RN+rqdQ== - -is-stream@^2.0.0: - version "2.0.1" - resolved "https://registry.yarnpkg.com/is-stream/-/is-stream-2.0.1.tgz#fac1e3d53b97ad5a9d0ae9cef2389f5810a5c077" - integrity sha512-hFoiJiTl63nn+kstHGBtewWSKnQLpyb155KHheA1l39uvtO9nWIop1p3udqPcUd/xbF1VLMO4n7OI6p7RbngDg== - -is-stream@^3.0.0: - version "3.0.0" - resolved "https://registry.yarnpkg.com/is-stream/-/is-stream-3.0.0.tgz#e6bfd7aa6bef69f4f472ce9bb681e3e57b4319ac" - integrity sha512-LnQR4bZ9IADDRSkvpqMGvt/tEJWclzklNgSw48V5EAaAeDd6qGvN8ei6k5p0tvxSR171VmGyHuTiAOfxAbr8kA== - -is-string@^1.0.5, is-string@^1.0.7: - version "1.0.7" - resolved "https://registry.yarnpkg.com/is-string/-/is-string-1.0.7.tgz#0dd12bf2006f255bb58f695110eff7491eebc0fd" - integrity sha512-tE2UXzivje6ofPW7l23cjDOMa09gb7xlAqG6jG5ej6uPV32TlWP3NKPigtaGeHNu9fohccRYvIiZMfOOnOYUtg== - dependencies: - has-tostringtag "^1.0.0" - -is-subdir@^1.1.1: - version "1.2.0" - resolved "https://registry.yarnpkg.com/is-subdir/-/is-subdir-1.2.0.tgz#b791cd28fab5202e91a08280d51d9d7254fd20d4" - integrity sha512-2AT6j+gXe/1ueqbW6fLZJiIw3F8iXGJtt0yDrZaBhAZEG1raiTxKWU+IPqMCzQAXOUCKdA4UDMgacKH25XG2Cw== - dependencies: - better-path-resolve "1.0.0" - -is-symbol@^1.0.2, is-symbol@^1.0.3: - version "1.0.4" - resolved "https://registry.yarnpkg.com/is-symbol/-/is-symbol-1.0.4.tgz#a6dac93b635b063ca6872236de88910a57af139c" - integrity sha512-C/CPBqKWnvdcxqIARxyOh4v1UUEOCHpgDa0WYgpKDFMszcrPcffg5uhwSgPCLD2WWxmq6isisz87tzT01tuGhg== - dependencies: - has-symbols "^1.0.2" - -is-text-path@^1.0.1: - version "1.0.1" - resolved "https://registry.yarnpkg.com/is-text-path/-/is-text-path-1.0.1.tgz#4e1aa0fb51bfbcb3e92688001397202c1775b66e" - integrity sha512-xFuJpne9oFz5qDaodwmmG08e3CawH/2ZV8Qqza1Ko7Sk8POWbkRdwIoAWVhqvq0XeUzANEhKo2n0IXUGBm7A/w== - dependencies: - text-extensions "^1.0.0" - -is-typed-array@^1.1.13, is-typed-array@^1.1.3: - version "1.1.13" - resolved "https://registry.yarnpkg.com/is-typed-array/-/is-typed-array-1.1.13.tgz#d6c5ca56df62334959322d7d7dd1cca50debe229" - integrity sha512-uZ25/bUAlUY5fR4OKT4rZQEBrzQWYV9ZJYGGsUmEJ6thodVJ1HX64ePQ6Z0qPWP+m+Uq6e9UugrE38jeYsDSMw== - dependencies: - which-typed-array "^1.1.14" - -is-typedarray@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/is-typedarray/-/is-typedarray-1.0.0.tgz#e479c80858df0c1b11ddda6940f96011fcda4a9a" - integrity sha512-cyA56iCMHAh5CdzjJIa4aohJyeO1YbwLi3Jc35MmRU6poroFjIGZzUzupGiRPOjgHg9TLu43xbpwXk523fMxKA== - -is-unicode-supported@^0.1.0: - version "0.1.0" - resolved "https://registry.yarnpkg.com/is-unicode-supported/-/is-unicode-supported-0.1.0.tgz#3f26c76a809593b52bfa2ecb5710ed2779b522a7" - integrity sha512-knxG2q4UC3u8stRGyAVJCOdxFmv5DZiRcdlIaAQXAbSfJya+OhopNotLQrstBhququ4ZpuKbDc/8S6mgXgPFPw== - -is-unicode-supported@^1.2.0: - version "1.3.0" - resolved "https://registry.yarnpkg.com/is-unicode-supported/-/is-unicode-supported-1.3.0.tgz#d824984b616c292a2e198207d4a609983842f714" - integrity sha512-43r2mRvz+8JRIKnWJ+3j8JtjRKZ6GmjzfaE/qiBJnikNnYv/6bagRJ1kUhNk8R5EX/GkobD+r+sfxCPJsiKBLQ== - -is-url-superb@^4.0.0: - version "4.0.0" - resolved "https://registry.yarnpkg.com/is-url-superb/-/is-url-superb-4.0.0.tgz#b54d1d2499bb16792748ac967aa3ecb41a33a8c2" - integrity sha512-GI+WjezhPPcbM+tqE9LnmsY5qqjwHzTvjJ36wxYX5ujNXefSUJ/T17r5bqDV8yLhcgB59KTPNOc9O9cmHTPWsA== - -is-url@^1.2.4: - version "1.2.4" - resolved "https://registry.yarnpkg.com/is-url/-/is-url-1.2.4.tgz#04a4df46d28c4cff3d73d01ff06abeb318a1aa52" - integrity sha512-ITvGim8FhRiYe4IQ5uHSkj7pVaPDrCTkNd3yq3cV7iZAcJdHTUMPMEHcqSOy9xZ9qFenQCvi+2wjH9a1nXqHww== - -is-weakmap@^2.0.2: - version "2.0.2" - resolved "https://registry.yarnpkg.com/is-weakmap/-/is-weakmap-2.0.2.tgz#bf72615d649dfe5f699079c54b83e47d1ae19cfd" - integrity sha512-K5pXYOm9wqY1RgjpL3YTkF39tni1XajUIkawTLUo9EZEVUFga5gSQJF8nNS7ZwJQ02y+1YCNYcMh+HIf1ZqE+w== - -is-weakref@^1.0.2: - version "1.0.2" - resolved "https://registry.yarnpkg.com/is-weakref/-/is-weakref-1.0.2.tgz#9529f383a9338205e89765e0392efc2f100f06f2" - integrity sha512-qctsuLZmIQ0+vSSMfoVvyFe2+GSEvnmZ2ezTup1SBse9+twCCeial6EEi3Nc2KFcf6+qz2FBPnjXsk8xhKSaPQ== - dependencies: - call-bind "^1.0.2" - -is-weakset@^2.0.3: - version "2.0.3" - resolved "https://registry.yarnpkg.com/is-weakset/-/is-weakset-2.0.3.tgz#e801519df8c0c43e12ff2834eead84ec9e624007" - integrity sha512-LvIm3/KWzS9oRFHugab7d+M/GcBXuXX5xZkzPmN+NxihdQlZUQ4dWuSV1xR/sq6upL1TJEDrfBgRepHFdBtSNQ== - dependencies: - call-bind "^1.0.7" - get-intrinsic "^1.2.4" - -is-windows@^0.2.0: - version "0.2.0" - resolved "https://registry.yarnpkg.com/is-windows/-/is-windows-0.2.0.tgz#de1aa6d63ea29dd248737b69f1ff8b8002d2108c" - integrity sha512-n67eJYmXbniZB7RF4I/FTjK1s6RPOCTxhYrVYLRaCt3lF0mpWZPKr3T2LSZAqyjQsxR2qMmGYXXzK0YWwcPM1Q== - -is-windows@^1.0.0, is-windows@^1.0.2: - version "1.0.2" - resolved "https://registry.yarnpkg.com/is-windows/-/is-windows-1.0.2.tgz#d1850eb9791ecd18e6182ce12a30f396634bb19d" - integrity sha512-eXK1UInq2bPmjyX6e3VHIzMLobc4J94i4AWn+Hpq3OU5KkrRC96OAcR3PRJ/pGu6m8TRnBHP9dkXQVsT/COVIA== - -is-wsl@^1.1.0: - version "1.1.0" - resolved "https://registry.yarnpkg.com/is-wsl/-/is-wsl-1.1.0.tgz#1f16e4aa22b04d1336b66188a66af3c600c3a66d" - integrity sha512-gfygJYZ2gLTDlmbWMI0CE2MwnFzSN/2SZfkMlItC4K/JBlsWVDB0bO6XhqcY13YXE7iMcAJnzTCJjPiTeJJ0Mw== - -is-wsl@^2.2.0: - version "2.2.0" - resolved "https://registry.yarnpkg.com/is-wsl/-/is-wsl-2.2.0.tgz#74a4c76e77ca9fd3f932f290c17ea326cd157271" - integrity sha512-fKzAra0rGJUUBwGBgNkHZuToZcn+TtXHpeCgmkMJMMYx1sQDYaCSyjJBSCa2nH1DGm7s3n1oBnohoVTBaN7Lww== - dependencies: - is-docker "^2.0.0" - -is-yarn-global@^0.3.0: - version "0.3.0" - resolved "https://registry.yarnpkg.com/is-yarn-global/-/is-yarn-global-0.3.0.tgz#d502d3382590ea3004893746754c89139973e232" - integrity sha512-VjSeb/lHmkoyd8ryPVIKvOCn4D1koMqY+vqyjjUfc3xyKtP4dYOxM44sZrnqQSzSds3xyOrUTLTC9LVCVgLngw== - -isarray@0.0.1: - version "0.0.1" - resolved "https://registry.yarnpkg.com/isarray/-/isarray-0.0.1.tgz#8a18acfca9a8f4177e09abfc6038939b05d1eedf" - integrity sha512-D2S+3GLxWH+uhrNEcoh/fnmYeP8E8/zHl644d/jdA0g2uyXvy3sb0qxotE+ne0LtccHknQzWwZEzhak7oJ0COQ== - -isarray@1.0.0, isarray@~1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/isarray/-/isarray-1.0.0.tgz#bb935d48582cba168c06834957a54a3e07124f11" - integrity sha512-VLghIWNM6ELQzo7zwmcg0NmTVyWKYjvIeM83yjp0wRDTmUnrM678fQbcKBo6n2CJEF0szoG//ytg+TKla89ALQ== - -isarray@^2.0.5: - version "2.0.5" - resolved "https://registry.yarnpkg.com/isarray/-/isarray-2.0.5.tgz#8af1e4c1221244cc62459faf38940d4e644a5723" - integrity sha512-xHjhDr3cNBK0BzdUJSPXZntQUx/mwMS5Rw4A7lPJ90XGAO6ISP/ePDNuo0vhqOZU+UD5JoodwCAAoZQd3FeAKw== - -iserror@0.0.2, iserror@^0.0.2: - version "0.0.2" - resolved "https://registry.yarnpkg.com/iserror/-/iserror-0.0.2.tgz#bd53451fe2f668b9f2402c1966787aaa2c7c0bf5" - integrity sha512-oKGGrFVaWwETimP3SiWwjDeY27ovZoyZPHtxblC4hCq9fXxed/jasx+ATWFFjCVSRZng8VTMsN1nDnGo6zMBSw== - -isexe@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/isexe/-/isexe-2.0.0.tgz#e8fbf374dc556ff8947a10dcb0572d633f2cfa10" - integrity sha512-RHxMLp9lnKHGHRng9QFhRCMbYAcVpn69smSGcq3f36xjgVVWThj4qqLbTLlq7Ssj8B+fIQ1EuCEGI2lKsyQeIw== - -isobject@^2.0.0: - version "2.1.0" - resolved "https://registry.yarnpkg.com/isobject/-/isobject-2.1.0.tgz#f065561096a3f1da2ef46272f815c840d87e0c89" - integrity sha512-+OUdGJlgjOBZDfxnDjYYG6zp487z0JGNQq3cYQYg5f5hKR+syHMsaztzGeml/4kGG55CSpKSpWTY+jYGgsHLgA== - dependencies: - isarray "1.0.0" - -isobject@^3.0.0, isobject@^3.0.1: - version "3.0.1" - resolved "https://registry.yarnpkg.com/isobject/-/isobject-3.0.1.tgz#4e431e92b11a9731636aa1f9c8d1ccbcfdab78df" - integrity sha512-WhB9zCku7EGTj/HQQRz5aUQEUeoQZH2bWcltRErOpymJ4boYE6wL9Tbr23krRPSZ+C5zqNSrSw+Cc7sZZ4b7vg== - -istanbul-lib-coverage@^3.0.0, istanbul-lib-coverage@^3.2.0: - version "3.2.2" - resolved "https://registry.yarnpkg.com/istanbul-lib-coverage/-/istanbul-lib-coverage-3.2.2.tgz#2d166c4b0644d43a39f04bf6c2edd1e585f31756" - integrity sha512-O8dpsF+r0WV/8MNRKfnmrtCWhuKjxrq2w+jpzBL5UZKTi2LeVWnWOmWRxFlesJONmc+wLAGvKQZEOanko0LFTg== - -istanbul-lib-hook@^3.0.0: - version "3.0.0" - resolved "https://registry.yarnpkg.com/istanbul-lib-hook/-/istanbul-lib-hook-3.0.0.tgz#8f84c9434888cc6b1d0a9d7092a76d239ebf0cc6" - integrity sha512-Pt/uge1Q9s+5VAZ+pCo16TYMWPBIl+oaNIjgLQxcX0itS6ueeaA+pEfThZpH8WxhFgCiEb8sAJY6MdUKgiIWaQ== - dependencies: - append-transform "^2.0.0" - -istanbul-lib-instrument@^4.0.0: - version "4.0.3" - resolved "https://registry.yarnpkg.com/istanbul-lib-instrument/-/istanbul-lib-instrument-4.0.3.tgz#873c6fff897450118222774696a3f28902d77c1d" - integrity sha512-BXgQl9kf4WTCPCCpmFGoJkz/+uhvm7h7PFKUYxh7qarQd3ER33vHG//qaE8eN25l07YqZPpHXU9I09l/RD5aGQ== - dependencies: - "@babel/core" "^7.7.5" - "@istanbuljs/schema" "^0.1.2" - istanbul-lib-coverage "^3.0.0" - semver "^6.3.0" - -istanbul-lib-instrument@^5.0.4: - version "5.2.1" - resolved "https://registry.yarnpkg.com/istanbul-lib-instrument/-/istanbul-lib-instrument-5.2.1.tgz#d10c8885c2125574e1c231cacadf955675e1ce3d" - integrity sha512-pzqtp31nLv/XFOzXGuvhCb8qhjmTVo5vjVk19XE4CRlSWz0KoeJ3bw9XsA7nOp9YBf4qHjwBxkDzKcME/J29Yg== - dependencies: - "@babel/core" "^7.12.3" - "@babel/parser" "^7.14.7" - "@istanbuljs/schema" "^0.1.2" - istanbul-lib-coverage "^3.2.0" - semver "^6.3.0" - -istanbul-lib-instrument@^6.0.0: - version "6.0.3" - resolved "https://registry.yarnpkg.com/istanbul-lib-instrument/-/istanbul-lib-instrument-6.0.3.tgz#fa15401df6c15874bcb2105f773325d78c666765" - integrity sha512-Vtgk7L/R2JHyyGW07spoFlB8/lpjiOLTjMdms6AFMraYt3BaJauod/NGrfnVG/y4Ix1JEuMRPDPEj2ua+zz1/Q== - dependencies: - "@babel/core" "^7.23.9" - "@babel/parser" "^7.23.9" - "@istanbuljs/schema" "^0.1.3" - istanbul-lib-coverage "^3.2.0" - semver "^7.5.4" - -istanbul-lib-processinfo@^2.0.2: - version "2.0.3" - resolved "https://registry.yarnpkg.com/istanbul-lib-processinfo/-/istanbul-lib-processinfo-2.0.3.tgz#366d454cd0dcb7eb6e0e419378e60072c8626169" - integrity sha512-NkwHbo3E00oybX6NGJi6ar0B29vxyvNwoC7eJ4G4Yq28UfY758Hgn/heV8VRFhevPED4LXfFz0DQ8z/0kw9zMg== - dependencies: - archy "^1.0.0" - cross-spawn "^7.0.3" - istanbul-lib-coverage "^3.2.0" - p-map "^3.0.0" - rimraf "^3.0.0" - uuid "^8.3.2" - -istanbul-lib-report@^3.0.0: - version "3.0.1" - resolved "https://registry.yarnpkg.com/istanbul-lib-report/-/istanbul-lib-report-3.0.1.tgz#908305bac9a5bd175ac6a74489eafd0fc2445a7d" - integrity sha512-GCfE1mtsHGOELCU8e/Z7YWzpmybrx/+dSTfLrvY8qRmaY6zXTKWn6WQIjaAFw069icm6GVMNkgu0NzI4iPZUNw== - dependencies: - istanbul-lib-coverage "^3.0.0" - make-dir "^4.0.0" - supports-color "^7.1.0" - -istanbul-lib-source-maps@^4.0.0: - version "4.0.1" - resolved "https://registry.yarnpkg.com/istanbul-lib-source-maps/-/istanbul-lib-source-maps-4.0.1.tgz#895f3a709fcfba34c6de5a42939022f3e4358551" - integrity sha512-n3s8EwkdFIJCG3BPKBYvskgXGoy88ARzvegkitk60NxRdwltLOTaH7CUiMRXvwYorl0Q712iEjcWB+fK/MrWVw== - dependencies: - debug "^4.1.1" - istanbul-lib-coverage "^3.0.0" - source-map "^0.6.1" - -istanbul-reports@^3.0.2, istanbul-reports@^3.1.3: - version "3.1.7" - resolved "https://registry.yarnpkg.com/istanbul-reports/-/istanbul-reports-3.1.7.tgz#daed12b9e1dca518e15c056e1e537e741280fa0b" - integrity sha512-BewmUXImeuRk2YY0PVbxgKAysvhRPUQE0h5QRM++nVWyubKGV0l8qQ5op8+B2DOmwSe63Jivj0BjkPQVf8fP5g== - dependencies: - html-escaper "^2.0.0" - istanbul-lib-report "^3.0.0" - -isurl@^1.0.0-alpha5: - version "1.0.0" - resolved "https://registry.yarnpkg.com/isurl/-/isurl-1.0.0.tgz#b27f4f49f3cdaa3ea44a0a5b7f3462e6edc39d67" - integrity sha512-1P/yWsxPlDtn7QeRD+ULKQPaIaN6yF368GZ2vDfv0AL0NwpStafjWCDDdn0k8wgFMWpVAqG7oJhxHnlud42i9w== - dependencies: - has-to-string-tag-x "^1.2.0" - is-object "^1.0.1" - -iterator.prototype@^1.1.3: - version "1.1.3" - resolved "https://registry.yarnpkg.com/iterator.prototype/-/iterator.prototype-1.1.3.tgz#016c2abe0be3bbdb8319852884f60908ac62bf9c" - integrity sha512-FW5iMbeQ6rBGm/oKgzq2aW4KvAGpxPzYES8N4g4xNXUKpL1mclMvOe+76AcLDTvD+Ze+sOpVhgdAQEKF4L9iGQ== - dependencies: - define-properties "^1.2.1" - get-intrinsic "^1.2.1" - has-symbols "^1.0.3" - reflect.getprototypeof "^1.0.4" - set-function-name "^2.0.1" - -jackspeak@^3.1.2: - version "3.4.3" - resolved "https://registry.yarnpkg.com/jackspeak/-/jackspeak-3.4.3.tgz#8833a9d89ab4acde6188942bd1c53b6390ed5a8a" - integrity sha512-OGlZQpz2yfahA/Rd1Y8Cd9SIEsqvXkLVoSw/cgwhnhFMDbsQFeZYoJJ7bIZBS9BcamUW96asq/npPWugM+RQBw== - dependencies: - "@isaacs/cliui" "^8.0.2" - optionalDependencies: - "@pkgjs/parseargs" "^0.11.0" - -jackspeak@^4.0.1: - version "4.0.2" - resolved "https://registry.yarnpkg.com/jackspeak/-/jackspeak-4.0.2.tgz#11f9468a3730c6ff6f56823a820d7e3be9bef015" - integrity sha512-bZsjR/iRjl1Nk1UkjGpAzLNfQtzuijhn2g+pbZb98HQ1Gk8vM9hfbxeMBP+M2/UUdwj0RqGG3mlvk2MsAqwvEw== - dependencies: - "@isaacs/cliui" "^8.0.2" - -jake@^10.8.5: - version "10.9.2" - resolved "https://registry.yarnpkg.com/jake/-/jake-10.9.2.tgz#6ae487e6a69afec3a5e167628996b59f35ae2b7f" - integrity sha512-2P4SQ0HrLQ+fw6llpLnOaGAvN2Zu6778SJMrCUwns4fOoG9ayrTiZk3VV8sCPkVZF8ab0zksVpS8FDY5pRCNBA== - dependencies: - async "^3.2.3" - chalk "^4.0.2" - filelist "^1.0.4" - minimatch "^3.1.2" - -jest-changed-files@^29.7.0: - version "29.7.0" - resolved "https://registry.yarnpkg.com/jest-changed-files/-/jest-changed-files-29.7.0.tgz#1c06d07e77c78e1585d020424dedc10d6e17ac3a" - integrity sha512-fEArFiwf1BpQ+4bXSprcDc3/x4HSzL4al2tozwVpDFpsxALjLYdyiIK4e5Vz66GQJIbXJ82+35PtysofptNX2w== - dependencies: - execa "^5.0.0" - jest-util "^29.7.0" - p-limit "^3.1.0" - -jest-circus@^29.6.4, jest-circus@^29.7.0: - version "29.7.0" - resolved "https://registry.yarnpkg.com/jest-circus/-/jest-circus-29.7.0.tgz#b6817a45fcc835d8b16d5962d0c026473ee3668a" - integrity sha512-3E1nCMgipcTkCocFwM90XXQab9bS+GMsjdpmPrlelaxwD93Ad8iVEjX/vvHPdLPnFf+L40u+5+iutRdA1N9myw== - dependencies: - "@jest/environment" "^29.7.0" - "@jest/expect" "^29.7.0" - "@jest/test-result" "^29.7.0" - "@jest/types" "^29.6.3" - "@types/node" "*" - chalk "^4.0.0" - co "^4.6.0" - dedent "^1.0.0" - is-generator-fn "^2.0.0" - jest-each "^29.7.0" - jest-matcher-utils "^29.7.0" - jest-message-util "^29.7.0" - jest-runtime "^29.7.0" - jest-snapshot "^29.7.0" - jest-util "^29.7.0" - p-limit "^3.1.0" - pretty-format "^29.7.0" - pure-rand "^6.0.0" - slash "^3.0.0" - stack-utils "^2.0.3" - -jest-cli@^29.7.0: - version "29.7.0" - resolved "https://registry.yarnpkg.com/jest-cli/-/jest-cli-29.7.0.tgz#5592c940798e0cae677eec169264f2d839a37995" - integrity sha512-OVVobw2IubN/GSYsxETi+gOe7Ka59EFMR/twOU3Jb2GnKKeMGJB5SGUUrEz3SFVmJASUdZUzy83sLNNQ2gZslg== - dependencies: - "@jest/core" "^29.7.0" - "@jest/test-result" "^29.7.0" - "@jest/types" "^29.6.3" - chalk "^4.0.0" - create-jest "^29.7.0" - exit "^0.1.2" - import-local "^3.0.2" - jest-config "^29.7.0" - jest-util "^29.7.0" - jest-validate "^29.7.0" - yargs "^17.3.1" - -jest-config@^29.7.0: - version "29.7.0" - resolved "https://registry.yarnpkg.com/jest-config/-/jest-config-29.7.0.tgz#bcbda8806dbcc01b1e316a46bb74085a84b0245f" - integrity sha512-uXbpfeQ7R6TZBqI3/TxCU4q4ttk3u0PJeC+E0zbfSoSjq6bJ7buBPxzQPL0ifrkY4DNu4JUdk0ImlBUYi840eQ== - dependencies: - "@babel/core" "^7.11.6" - "@jest/test-sequencer" "^29.7.0" - "@jest/types" "^29.6.3" - babel-jest "^29.7.0" - chalk "^4.0.0" - ci-info "^3.2.0" - deepmerge "^4.2.2" - glob "^7.1.3" - graceful-fs "^4.2.9" - jest-circus "^29.7.0" - jest-environment-node "^29.7.0" - jest-get-type "^29.6.3" - jest-regex-util "^29.6.3" - jest-resolve "^29.7.0" - jest-runner "^29.7.0" - jest-util "^29.7.0" - jest-validate "^29.7.0" - micromatch "^4.0.4" - parse-json "^5.2.0" - pretty-format "^29.7.0" - slash "^3.0.0" - strip-json-comments "^3.1.1" - -jest-diff@^29.7.0: - version "29.7.0" - resolved "https://registry.yarnpkg.com/jest-diff/-/jest-diff-29.7.0.tgz#017934a66ebb7ecf6f205e84699be10afd70458a" - integrity sha512-LMIgiIrhigmPrs03JHpxUh2yISK3vLFPkAodPeo0+BuF7wA2FoQbkEg1u8gBYBThncu7e1oEDUfIXVuTqLRUjw== - dependencies: - chalk "^4.0.0" - diff-sequences "^29.6.3" - jest-get-type "^29.6.3" - pretty-format "^29.7.0" - -jest-docblock@^29.7.0: - version "29.7.0" - resolved "https://registry.yarnpkg.com/jest-docblock/-/jest-docblock-29.7.0.tgz#8fddb6adc3cdc955c93e2a87f61cfd350d5d119a" - integrity sha512-q617Auw3A612guyaFgsbFeYpNP5t2aoUNLwBUbc/0kD1R4t9ixDbyFTHd1nok4epoVFpr7PmeWHrhvuV3XaJ4g== - dependencies: - detect-newline "^3.0.0" - -jest-each@^29.7.0: - version "29.7.0" - resolved "https://registry.yarnpkg.com/jest-each/-/jest-each-29.7.0.tgz#162a9b3f2328bdd991beaabffbb74745e56577d1" - integrity sha512-gns+Er14+ZrEoC5fhOfYCY1LOHHr0TI+rQUHZS8Ttw2l7gl+80eHc/gFf2Ktkw0+SIACDTeWvpFcv3B04VembQ== - dependencies: - "@jest/types" "^29.6.3" - chalk "^4.0.0" - jest-get-type "^29.6.3" - jest-util "^29.7.0" - pretty-format "^29.7.0" - -jest-environment-jsdom@29.7.0: - version "29.7.0" - resolved "https://registry.yarnpkg.com/jest-environment-jsdom/-/jest-environment-jsdom-29.7.0.tgz#d206fa3551933c3fd519e5dfdb58a0f5139a837f" - integrity sha512-k9iQbsf9OyOfdzWH8HDmrRT0gSIcX+FLNW7IQq94tFX0gynPwqDTW0Ho6iMVNjGz/nb+l/vW3dWM2bbLLpkbXA== - dependencies: - "@jest/environment" "^29.7.0" - "@jest/fake-timers" "^29.7.0" - "@jest/types" "^29.6.3" - "@types/jsdom" "^20.0.0" - "@types/node" "*" - jest-mock "^29.7.0" - jest-util "^29.7.0" - jsdom "^20.0.0" - -jest-environment-node@^29.6.4, jest-environment-node@^29.7.0: - version "29.7.0" - resolved "https://registry.yarnpkg.com/jest-environment-node/-/jest-environment-node-29.7.0.tgz#0b93e111dda8ec120bc8300e6d1fb9576e164376" - integrity sha512-DOSwCRqXirTOyheM+4d5YZOrWcdu0LNZ87ewUoywbcb2XR4wKgqiG8vNeYwhjFMbEkfju7wx2GYH0P2gevGvFw== - dependencies: - "@jest/environment" "^29.7.0" - "@jest/fake-timers" "^29.7.0" - "@jest/types" "^29.6.3" - "@types/node" "*" - jest-mock "^29.7.0" - jest-util "^29.7.0" - -jest-get-type@^25.2.6: - version "25.2.6" - resolved "https://registry.yarnpkg.com/jest-get-type/-/jest-get-type-25.2.6.tgz#0b0a32fab8908b44d508be81681487dbabb8d877" - integrity sha512-DxjtyzOHjObRM+sM1knti6or+eOgcGU4xVSb2HNP1TqO4ahsT+rqZg+nyqHWJSvWgKC5cG3QjGFBqxLghiF/Ig== - -jest-get-type@^27.5.1: - version "27.5.1" - resolved "https://registry.yarnpkg.com/jest-get-type/-/jest-get-type-27.5.1.tgz#3cd613c507b0f7ace013df407a1c1cd578bcb4f1" - integrity sha512-2KY95ksYSaK7DMBWQn6dQz3kqAf3BB64y2udeG+hv4KfSOb9qwcYQstTJc1KCbsix+wLZWZYN8t7nwX3GOBLRw== - -jest-get-type@^29.6.3: - version "29.6.3" - resolved "https://registry.yarnpkg.com/jest-get-type/-/jest-get-type-29.6.3.tgz#36f499fdcea197c1045a127319c0481723908fd1" - integrity sha512-zrteXnqYxfQh7l5FHyL38jL39di8H8rHoecLH3JNxH3BwOrBsNeabdap5e0I23lD4HHI8W5VFBZqG4Eaq5LNcw== - -jest-haste-map@^29.7.0: - version "29.7.0" - resolved "https://registry.yarnpkg.com/jest-haste-map/-/jest-haste-map-29.7.0.tgz#3c2396524482f5a0506376e6c858c3bbcc17b104" - integrity sha512-fP8u2pyfqx0K1rGn1R9pyE0/KTn+G7PxktWidOBTqFPLYX0b9ksaMFkhK5vrS3DVun09pckLdlx90QthlW7AmA== - dependencies: - "@jest/types" "^29.6.3" - "@types/graceful-fs" "^4.1.3" - "@types/node" "*" - anymatch "^3.0.3" - fb-watchman "^2.0.0" - graceful-fs "^4.2.9" - jest-regex-util "^29.6.3" - jest-util "^29.7.0" - jest-worker "^29.7.0" - micromatch "^4.0.4" - walker "^1.0.8" - optionalDependencies: - fsevents "^2.3.2" - -jest-junit@^16.0.0: - version "16.0.0" - resolved "https://registry.yarnpkg.com/jest-junit/-/jest-junit-16.0.0.tgz#d838e8c561cf9fdd7eb54f63020777eee4136785" - integrity sha512-A94mmw6NfJab4Fg/BlvVOUXzXgF0XIH6EmTgJ5NDPp4xoKq0Kr7sErb+4Xs9nZvu58pJojz5RFGpqnZYJTrRfQ== - dependencies: - mkdirp "^1.0.4" - strip-ansi "^6.0.1" - uuid "^8.3.2" - xml "^1.0.1" - -jest-leak-detector@^29.7.0: - version "29.7.0" - resolved "https://registry.yarnpkg.com/jest-leak-detector/-/jest-leak-detector-29.7.0.tgz#5b7ec0dadfdfec0ca383dc9aa016d36b5ea4c728" - integrity sha512-kYA8IJcSYtST2BY9I+SMC32nDpBT3J2NvWJx8+JCuCdl/CR1I4EKUJROiP8XtCcxqgTTBGJNdbB1A8XRKbTetw== - dependencies: - jest-get-type "^29.6.3" - pretty-format "^29.7.0" - -jest-matcher-utils@^29.7.0: - version "29.7.0" - resolved "https://registry.yarnpkg.com/jest-matcher-utils/-/jest-matcher-utils-29.7.0.tgz#ae8fec79ff249fd592ce80e3ee474e83a6c44f12" - integrity sha512-sBkD+Xi9DtcChsI3L3u0+N0opgPYnCRPtGcQYrgXmR+hmt/fYfWAL0xRXYU8eWOdfuLgBe0YCW3AFtnRLagq/g== - dependencies: - chalk "^4.0.0" - jest-diff "^29.7.0" - jest-get-type "^29.6.3" - pretty-format "^29.7.0" - -jest-message-util@^29.7.0: - version "29.7.0" - resolved "https://registry.yarnpkg.com/jest-message-util/-/jest-message-util-29.7.0.tgz#8bc392e204e95dfe7564abbe72a404e28e51f7f3" - integrity sha512-GBEV4GRADeP+qtB2+6u61stea8mGcOT4mCtrYISZwfu9/ISHFJ/5zOMXYbpBE9RsS5+Gb63DW4FgmnKJ79Kf6w== - dependencies: - "@babel/code-frame" "^7.12.13" - "@jest/types" "^29.6.3" - "@types/stack-utils" "^2.0.0" - chalk "^4.0.0" - graceful-fs "^4.2.9" - micromatch "^4.0.4" - pretty-format "^29.7.0" - slash "^3.0.0" - stack-utils "^2.0.3" - -jest-mock@^29.7.0: - version "29.7.0" - resolved "https://registry.yarnpkg.com/jest-mock/-/jest-mock-29.7.0.tgz#4e836cf60e99c6fcfabe9f99d017f3fdd50a6347" - integrity sha512-ITOMZn+UkYS4ZFh83xYAOzWStloNzJFO2s8DWrE4lhtGD+AorgnbkiKERe4wQVBydIGPx059g6riW5Btp6Llnw== - dependencies: - "@jest/types" "^29.6.3" - "@types/node" "*" - jest-util "^29.7.0" - -jest-playwright-preset@^4.0.0: - version "4.0.0" - resolved "https://registry.yarnpkg.com/jest-playwright-preset/-/jest-playwright-preset-4.0.0.tgz#c3d60cf039b48209cfd2234e6c7694d7ecb1cc7f" - integrity sha512-+dGZ1X2KqtwXaabVjTGxy0a3VzYfvYsWaRcuO8vMhyclHSOpGSI1+5cmlqzzCwQ3+fv0EjkTc7I5aV9lo08dYw== - dependencies: - expect-playwright "^0.8.0" - jest-process-manager "^0.4.0" - nyc "^15.1.0" - playwright-core ">=1.2.0" - rimraf "^3.0.2" - uuid "^8.3.2" - -jest-pnp-resolver@^1.2.2: - version "1.2.3" - resolved "https://registry.yarnpkg.com/jest-pnp-resolver/-/jest-pnp-resolver-1.2.3.tgz#930b1546164d4ad5937d5540e711d4d38d4cad2e" - integrity sha512-+3NpwQEnRoIBtx4fyhblQDPgJI0H1IEIkX7ShLUjPGA7TtUTvI1oiKi3SR4oBR0hQhQR80l4WAe5RrXBwWMA8w== - -jest-process-manager@^0.4.0: - version "0.4.0" - resolved "https://registry.yarnpkg.com/jest-process-manager/-/jest-process-manager-0.4.0.tgz#fb05c8e09ad400fd038436004815653bb98f4e8b" - integrity sha512-80Y6snDyb0p8GG83pDxGI/kQzwVTkCxc7ep5FPe/F6JYdvRDhwr6RzRmPSP7SEwuLhxo80lBS/NqOdUIbHIfhw== - dependencies: - "@types/wait-on" "^5.2.0" - chalk "^4.1.0" - cwd "^0.10.0" - exit "^0.1.2" - find-process "^1.4.4" - prompts "^2.4.1" - signal-exit "^3.0.3" - spawnd "^5.0.0" - tree-kill "^1.2.2" - wait-on "^7.0.0" - -jest-regex-util@^29.0.0, jest-regex-util@^29.6.3: - version "29.6.3" - resolved "https://registry.yarnpkg.com/jest-regex-util/-/jest-regex-util-29.6.3.tgz#4a556d9c776af68e1c5f48194f4d0327d24e8a52" - integrity sha512-KJJBsRCyyLNWCNBOvZyRDnAIfUiRJ8v+hOBQYGn8gDyF3UegwiP4gwRR3/SDa42g1YbVycTidUF3rKjyLFDWbg== - -jest-resolve-dependencies@^29.7.0: - version "29.7.0" - resolved "https://registry.yarnpkg.com/jest-resolve-dependencies/-/jest-resolve-dependencies-29.7.0.tgz#1b04f2c095f37fc776ff40803dc92921b1e88428" - integrity sha512-un0zD/6qxJ+S0et7WxeI3H5XSe9lTBBR7bOHCHXkKR6luG5mwDDlIzVQ0V5cZCuoTgEdcdwzTghYkTWfubi+nA== - dependencies: - jest-regex-util "^29.6.3" - jest-snapshot "^29.7.0" - -jest-resolve@^29.7.0: - version "29.7.0" - resolved "https://registry.yarnpkg.com/jest-resolve/-/jest-resolve-29.7.0.tgz#64d6a8992dd26f635ab0c01e5eef4399c6bcbc30" - integrity sha512-IOVhZSrg+UvVAshDSDtHyFCCBUl/Q3AAJv8iZ6ZjnZ74xzvwuzLXid9IIIPgTnY62SJjfuupMKZsZQRsCvxEgA== - dependencies: - chalk "^4.0.0" - graceful-fs "^4.2.9" - jest-haste-map "^29.7.0" - jest-pnp-resolver "^1.2.2" - jest-util "^29.7.0" - jest-validate "^29.7.0" - resolve "^1.20.0" - resolve.exports "^2.0.0" - slash "^3.0.0" - -jest-runner@^29.6.4, jest-runner@^29.7.0: - version "29.7.0" - resolved "https://registry.yarnpkg.com/jest-runner/-/jest-runner-29.7.0.tgz#809af072d408a53dcfd2e849a4c976d3132f718e" - integrity sha512-fsc4N6cPCAahybGBfTRcq5wFR6fpLznMg47sY5aDpsoejOcVYFb07AHuSnR0liMcPTgBsA3ZJL6kFOjPdoNipQ== - dependencies: - "@jest/console" "^29.7.0" - "@jest/environment" "^29.7.0" - "@jest/test-result" "^29.7.0" - "@jest/transform" "^29.7.0" - "@jest/types" "^29.6.3" - "@types/node" "*" - chalk "^4.0.0" - emittery "^0.13.1" - graceful-fs "^4.2.9" - jest-docblock "^29.7.0" - jest-environment-node "^29.7.0" - jest-haste-map "^29.7.0" - jest-leak-detector "^29.7.0" - jest-message-util "^29.7.0" - jest-resolve "^29.7.0" - jest-runtime "^29.7.0" - jest-util "^29.7.0" - jest-watcher "^29.7.0" - jest-worker "^29.7.0" - p-limit "^3.1.0" - source-map-support "0.5.13" - -jest-runtime@^29.7.0: - version "29.7.0" - resolved "https://registry.yarnpkg.com/jest-runtime/-/jest-runtime-29.7.0.tgz#efecb3141cf7d3767a3a0cc8f7c9990587d3d817" - integrity sha512-gUnLjgwdGqW7B4LvOIkbKs9WGbn+QLqRQQ9juC6HndeDiezIwhDP+mhMwHWCEcfQ5RUXa6OPnFF8BJh5xegwwQ== - dependencies: - "@jest/environment" "^29.7.0" - "@jest/fake-timers" "^29.7.0" - "@jest/globals" "^29.7.0" - "@jest/source-map" "^29.6.3" - "@jest/test-result" "^29.7.0" - "@jest/transform" "^29.7.0" - "@jest/types" "^29.6.3" - "@types/node" "*" - chalk "^4.0.0" - cjs-module-lexer "^1.0.0" - collect-v8-coverage "^1.0.0" - glob "^7.1.3" - graceful-fs "^4.2.9" - jest-haste-map "^29.7.0" - jest-message-util "^29.7.0" - jest-mock "^29.7.0" - jest-regex-util "^29.6.3" - jest-resolve "^29.7.0" - jest-snapshot "^29.7.0" - jest-util "^29.7.0" - slash "^3.0.0" - strip-bom "^4.0.0" - -jest-serializer-html@^7.1.0: - version "7.1.0" - resolved "https://registry.yarnpkg.com/jest-serializer-html/-/jest-serializer-html-7.1.0.tgz#0cfea8a03b9b82bc420fd2cb969bd76713a87c08" - integrity sha512-xYL2qC7kmoYHJo8MYqJkzrl/Fdlx+fat4U1AqYg+kafqwcKPiMkOcjWHPKhueuNEgr+uemhGc+jqXYiwCyRyLA== - dependencies: - diffable-html "^4.1.0" - -jest-snapshot@^29.7.0: - version "29.7.0" - resolved "https://registry.yarnpkg.com/jest-snapshot/-/jest-snapshot-29.7.0.tgz#c2c574c3f51865da1bb329036778a69bf88a6be5" - integrity sha512-Rm0BMWtxBcioHr1/OX5YCP8Uov4riHvKPknOGs804Zg9JGZgmIBkbtlxJC/7Z4msKYVbIJtfU+tKb8xlYNfdkw== - dependencies: - "@babel/core" "^7.11.6" - "@babel/generator" "^7.7.2" - "@babel/plugin-syntax-jsx" "^7.7.2" - "@babel/plugin-syntax-typescript" "^7.7.2" - "@babel/types" "^7.3.3" - "@jest/expect-utils" "^29.7.0" - "@jest/transform" "^29.7.0" - "@jest/types" "^29.6.3" - babel-preset-current-node-syntax "^1.0.0" - chalk "^4.0.0" - expect "^29.7.0" - graceful-fs "^4.2.9" - jest-diff "^29.7.0" - jest-get-type "^29.6.3" - jest-matcher-utils "^29.7.0" - jest-message-util "^29.7.0" - jest-util "^29.7.0" - natural-compare "^1.4.0" - pretty-format "^29.7.0" - semver "^7.5.3" - -jest-util@^29.0.0, jest-util@^29.7.0: - version "29.7.0" - resolved "https://registry.yarnpkg.com/jest-util/-/jest-util-29.7.0.tgz#23c2b62bfb22be82b44de98055802ff3710fc0bc" - integrity sha512-z6EbKajIpqGKU56y5KBUgy1dt1ihhQJgWzUlZHArA/+X2ad7Cb5iF+AK1EWVL/Bo7Rz9uurpqw6SiBCefUbCGA== - dependencies: - "@jest/types" "^29.6.3" - "@types/node" "*" - chalk "^4.0.0" - ci-info "^3.2.0" - graceful-fs "^4.2.9" - picomatch "^2.2.3" - -jest-validate@^25.3.0: - version "25.5.0" - resolved "https://registry.yarnpkg.com/jest-validate/-/jest-validate-25.5.0.tgz#fb4c93f332c2e4cf70151a628e58a35e459a413a" - integrity sha512-okUFKqhZIpo3jDdtUXUZ2LxGUZJIlfdYBvZb1aczzxrlyMlqdnnws9MOxezoLGhSaFc2XYaHNReNQfj5zPIWyQ== - dependencies: - "@jest/types" "^25.5.0" - camelcase "^5.3.1" - chalk "^3.0.0" - jest-get-type "^25.2.6" - leven "^3.1.0" - pretty-format "^25.5.0" - -jest-validate@^27.3.1, jest-validate@^27.4.2: - version "27.5.1" - resolved "https://registry.yarnpkg.com/jest-validate/-/jest-validate-27.5.1.tgz#9197d54dc0bdb52260b8db40b46ae668e04df067" - integrity sha512-thkNli0LYTmOI1tDB3FI1S1RTp/Bqyd9pTarJwL87OIBFuqEb5Apv5EaApEudYg4g86e3CT6kM0RowkhtEnCBQ== - dependencies: - "@jest/types" "^27.5.1" - camelcase "^6.2.0" - chalk "^4.0.0" - jest-get-type "^27.5.1" - leven "^3.1.0" - pretty-format "^27.5.1" - -jest-validate@^29.7.0: - version "29.7.0" - resolved "https://registry.yarnpkg.com/jest-validate/-/jest-validate-29.7.0.tgz#7bf705511c64da591d46b15fce41400d52147d9c" - integrity sha512-ZB7wHqaRGVw/9hST/OuFUReG7M8vKeq0/J2egIGLdvjHCmYqGARhzXmtgi+gVeZ5uXFF219aOc3Ls2yLg27tkw== - dependencies: - "@jest/types" "^29.6.3" - camelcase "^6.2.0" - chalk "^4.0.0" - jest-get-type "^29.6.3" - leven "^3.1.0" - pretty-format "^29.7.0" - -jest-watch-typeahead@^2.0.0: - version "2.2.2" - resolved "https://registry.yarnpkg.com/jest-watch-typeahead/-/jest-watch-typeahead-2.2.2.tgz#5516d3cd006485caa5cfc9bd1de40f1f8b136abf" - integrity sha512-+QgOFW4o5Xlgd6jGS5X37i08tuuXNW8X0CV9WNFi+3n8ExCIP+E1melYhvYLjv5fE6D0yyzk74vsSO8I6GqtvQ== - dependencies: - ansi-escapes "^6.0.0" - chalk "^5.2.0" - jest-regex-util "^29.0.0" - jest-watcher "^29.0.0" - slash "^5.0.0" - string-length "^5.0.1" - strip-ansi "^7.0.1" - -jest-watcher@^29.0.0, jest-watcher@^29.7.0: - version "29.7.0" - resolved "https://registry.yarnpkg.com/jest-watcher/-/jest-watcher-29.7.0.tgz#7810d30d619c3a62093223ce6bb359ca1b28a2f2" - integrity sha512-49Fg7WXkU3Vl2h6LbLtMQ/HyB6rXSIX7SqvBLQmssRBGN9I0PNvPmAmCWSOY6SOvrjhI/F7/bGAv9RtnsPA03g== - dependencies: - "@jest/test-result" "^29.7.0" - "@jest/types" "^29.6.3" - "@types/node" "*" - ansi-escapes "^4.2.1" - chalk "^4.0.0" - emittery "^0.13.1" - jest-util "^29.7.0" - string-length "^4.0.1" - -jest-worker@^26.2.1: - version "26.6.2" - resolved "https://registry.yarnpkg.com/jest-worker/-/jest-worker-26.6.2.tgz#7f72cbc4d643c365e27b9fd775f9d0eaa9c7a8ed" - integrity sha512-KWYVV1c4i+jbMpaBC+U++4Va0cp8OisU185o73T1vo99hqi7w8tSJfUXYswwqqrjzwxa6KpRK54WhPvwf5w6PQ== - dependencies: - "@types/node" "*" - merge-stream "^2.0.0" - supports-color "^7.0.0" - -jest-worker@^27.4.5: - version "27.5.1" - resolved "https://registry.yarnpkg.com/jest-worker/-/jest-worker-27.5.1.tgz#8d146f0900e8973b106b6f73cc1e9a8cb86f8db0" - integrity sha512-7vuh85V5cdDofPyxn58nrPjBktZo0u9x1g8WtjQol+jZDaE+fhN+cIvTj11GndBnMnyfrUOG1sZQxCdjKh+DKg== - dependencies: - "@types/node" "*" - merge-stream "^2.0.0" - supports-color "^8.0.0" - -jest-worker@^29.7.0: - version "29.7.0" - resolved "https://registry.yarnpkg.com/jest-worker/-/jest-worker-29.7.0.tgz#acad073acbbaeb7262bd5389e1bcf43e10058d4a" - integrity sha512-eIz2msL/EzL9UFTFFx7jBTkeZfku0yUAyZZZmJ93H2TYEiroIx2PQjEXcwYtYl8zXCxb+PAmA2hLIt/6ZEkPHw== - dependencies: - "@types/node" "*" - jest-util "^29.7.0" - merge-stream "^2.0.0" - supports-color "^8.0.0" - -jest@29.7.0, jest@^29.6.4: - version "29.7.0" - resolved "https://registry.yarnpkg.com/jest/-/jest-29.7.0.tgz#994676fc24177f088f1c5e3737f5697204ff2613" - integrity sha512-NIy3oAFp9shda19hy4HK0HRTWKtPJmGdnvywu01nOqNC2vZg+Z+fvJDxpMQA88eb2I9EcafcdjYgsDthnYTvGw== - dependencies: - "@jest/core" "^29.7.0" - "@jest/types" "^29.6.3" - import-local "^3.0.2" - jest-cli "^29.7.0" - -joi@^17.11.0: - version "17.13.3" - resolved "https://registry.yarnpkg.com/joi/-/joi-17.13.3.tgz#0f5cc1169c999b30d344366d384b12d92558bcec" - integrity sha512-otDA4ldcIx+ZXsKHWmp0YizCweVRZG96J10b0FevjfuncLO1oX59THoAmHkNubYJ+9gWsYsp5k8v4ib6oDv1fA== - dependencies: - "@hapi/hoek" "^9.3.0" - "@hapi/topo" "^5.1.0" - "@sideway/address" "^4.1.5" - "@sideway/formula" "^3.0.1" - "@sideway/pinpoint" "^2.0.0" - -js-string-escape@^1.0.1: - version "1.0.1" - resolved "https://registry.yarnpkg.com/js-string-escape/-/js-string-escape-1.0.1.tgz#e2625badbc0d67c7533e9edc1068c587ae4137ef" - integrity sha512-Smw4xcfIQ5LVjAOuJCvN/zIodzA/BBSsluuoSykP+lUvScIi4U6RJLfwHet5cxFnCswUjISV8oAXaqaJDY3chg== - -"js-tokens@^3.0.0 || ^4.0.0", js-tokens@^4.0.0: - version "4.0.0" - resolved "https://registry.yarnpkg.com/js-tokens/-/js-tokens-4.0.0.tgz#19203fb59991df98e3a287050d4647cdeaf32499" - integrity sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ== - -js-yaml@4.1.0, js-yaml@^4.0.0, js-yaml@^4.1.0: - version "4.1.0" - resolved "https://registry.yarnpkg.com/js-yaml/-/js-yaml-4.1.0.tgz#c1fb65f8f5017901cdd2c951864ba18458a10602" - integrity sha512-wpxZs9NoxZaJESJGIZTyDEaYpl0FKSA+FB9aJiyemKhMwkxQg63h4T1KJgUGHpTqPDNRcmmYLugrRjJlBtWvRA== - dependencies: - argparse "^2.0.1" - -js-yaml@^3.10.0, js-yaml@^3.13.1, js-yaml@^3.6.1: - version "3.14.1" - resolved "https://registry.yarnpkg.com/js-yaml/-/js-yaml-3.14.1.tgz#dae812fdb3825fa306609a8717383c50c36a0537" - integrity sha512-okMH7OXXJ7YrN9Ok3/SXrnu4iX9yOk+25nqX4imS2npuvTYDmo/QEZoqwZkYaIDk3jVvBOTOIEgEhaLOynBS9g== - dependencies: - argparse "^1.0.7" - esprima "^4.0.0" - -jsbn@1.1.0: - version "1.1.0" - resolved "https://registry.yarnpkg.com/jsbn/-/jsbn-1.1.0.tgz#b01307cb29b618a1ed26ec79e911f803c4da0040" - integrity sha512-4bYVV3aAMtDTTu4+xsDYa6sy9GyJ69/amsu9sYF2zqjiEoZA5xJi3BrfX3uY+/IekIu7MwdObdbDWpoZdBv3/A== - -jsdoc-type-pratt-parser@^4.0.0: - version "4.1.0" - resolved "https://registry.yarnpkg.com/jsdoc-type-pratt-parser/-/jsdoc-type-pratt-parser-4.1.0.tgz#ff6b4a3f339c34a6c188cbf50a16087858d22113" - integrity sha512-Hicd6JK5Njt2QB6XYFS7ok9e37O8AYk3jTcppG4YVQnYjOemymvTcmc7OWsmq/Qqj5TdRFO5/x/tIPmBeRtGHg== - -jsdom@^20.0.0: - version "20.0.3" - resolved "https://registry.yarnpkg.com/jsdom/-/jsdom-20.0.3.tgz#886a41ba1d4726f67a8858028c99489fed6ad4db" - integrity sha512-SYhBvTh89tTfCD/CRdSOm13mOBa42iTaTyfyEWBdKcGdPxPtLFBXuHR8XHb33YNYaP+lLbmSvBTsnoesCNJEsQ== - dependencies: - abab "^2.0.6" - acorn "^8.8.1" - acorn-globals "^7.0.0" - cssom "^0.5.0" - cssstyle "^2.3.0" - data-urls "^3.0.2" - decimal.js "^10.4.2" - domexception "^4.0.0" - escodegen "^2.0.0" - form-data "^4.0.0" - html-encoding-sniffer "^3.0.0" - http-proxy-agent "^5.0.0" - https-proxy-agent "^5.0.1" - is-potential-custom-element-name "^1.0.1" - nwsapi "^2.2.2" - parse5 "^7.1.1" - saxes "^6.0.0" - symbol-tree "^3.2.4" - tough-cookie "^4.1.2" - w3c-xmlserializer "^4.0.0" - webidl-conversions "^7.0.0" - whatwg-encoding "^2.0.0" - whatwg-mimetype "^3.0.0" - whatwg-url "^11.0.0" - ws "^8.11.0" - xml-name-validator "^4.0.0" - -jsesc@^3.0.2, jsesc@~3.0.2: - version "3.0.2" - resolved "https://registry.yarnpkg.com/jsesc/-/jsesc-3.0.2.tgz#bb8b09a6597ba426425f2e4a07245c3d00b9343e" - integrity sha512-xKqzzWXDttJuOcawBt4KnKHHIf5oQ/Cxax+0PWFG+DFDgHNAdi+TXECADI+RYiFUMmx8792xsMbbgXj4CwnP4g== - -json-buffer@3.0.0: - version "3.0.0" - resolved "https://registry.yarnpkg.com/json-buffer/-/json-buffer-3.0.0.tgz#5b1f397afc75d677bde8bcfc0e47e1f9a3d9a898" - integrity sha512-CuUqjv0FUZIdXkHPI8MezCnFCdaTAacej1TZYulLoAg1h/PhwkdXFN4V/gzY4g+fMBCOV2xF+rp7t2XD2ns/NQ== - -json-buffer@3.0.1: - version "3.0.1" - resolved "https://registry.yarnpkg.com/json-buffer/-/json-buffer-3.0.1.tgz#9338802a30d3b6605fbe0613e094008ca8c05a13" - integrity sha512-4bV5BfR2mqfQTJm+V5tPPdf+ZpuhiIvTuAB5g8kcrXOZpTT/QwwVRWBywX1ozr6lEuPdbHxwaJlm9G6mI2sfSQ== - -json-parse-better-errors@^1.0.1: - version "1.0.2" - resolved "https://registry.yarnpkg.com/json-parse-better-errors/-/json-parse-better-errors-1.0.2.tgz#bb867cfb3450e69107c131d1c514bab3dc8bcaa9" - integrity sha512-mrqyZKfX5EhL7hvqcV6WG1yYjnjeuYDzDhhcAAUrq8Po85NBQBJP+ZDUT75qZQ98IkUoBqdkExkukOU7Ts2wrw== - -json-parse-even-better-errors@^2.3.0, json-parse-even-better-errors@^2.3.1: - version "2.3.1" - resolved "https://registry.yarnpkg.com/json-parse-even-better-errors/-/json-parse-even-better-errors-2.3.1.tgz#7c47805a94319928e05777405dc12e1f7a4ee02d" - integrity sha512-xyFwyhro/JEof6Ghe2iz2NcXoj2sloNsWr/XsERDK/oiPCfaNhl5ONfp+jQdAZRQQ0IJWNzH9zIZF7li91kh2w== - -json-parse-even-better-errors@^3.0.0: - version "3.0.2" - resolved "https://registry.yarnpkg.com/json-parse-even-better-errors/-/json-parse-even-better-errors-3.0.2.tgz#b43d35e89c0f3be6b5fbbe9dc6c82467b30c28da" - integrity sha512-fi0NG4bPjCHunUJffmLd0gxssIgkNmArMvis4iNah6Owg1MCJjWhEcDLmsK6iGkJq3tHwbDkTlce70/tmXN4cQ== - -json-schema-traverse@^0.4.1: - version "0.4.1" - resolved "https://registry.yarnpkg.com/json-schema-traverse/-/json-schema-traverse-0.4.1.tgz#69f6a87d9513ab8bb8fe63bdb0979c448e684660" - integrity sha512-xbbCH5dCYU5T8LcEhhuh7HJ88HXuW3qsI3Y0zOZFKfZEHcpWiHU/Jxzk629Brsab/mMiHQti9wMP+845RPe3Vg== - -json-schema-traverse@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/json-schema-traverse/-/json-schema-traverse-1.0.0.tgz#ae7bcb3656ab77a73ba5c49bf654f38e6b6860e2" - integrity sha512-NM8/P9n3XjXhIZn1lLhkFaACTOURQXjWhV4BA/RnOv8xvgqtqpAX9IO4mRQxSx1Rlo4tqzeqb0sOlruaOy3dug== - -json-schema@^0.4.0: - version "0.4.0" - resolved "https://registry.yarnpkg.com/json-schema/-/json-schema-0.4.0.tgz#f7de4cf6efab838ebaeb3236474cbba5a1930ab5" - integrity sha512-es94M3nTIfsEPisRafak+HDLfHXnKBhV3vU5eqPcS3flIWqcxJWgXHXiey3YrpaNsanY5ei1VoYEbOzijuq9BA== - -json-stable-stringify-without-jsonify@^1.0.1: - version "1.0.1" - resolved "https://registry.yarnpkg.com/json-stable-stringify-without-jsonify/-/json-stable-stringify-without-jsonify-1.0.1.tgz#9db7b59496ad3f3cfef30a75142d2d930ad72651" - integrity sha512-Bdboy+l7tA3OGW6FjyFHWkP5LuByj1Tk33Ljyq0axyzdk9//JSi2u3fP1QSmd1KNwq6VOKYGlAu87CisVir6Pw== - -json-stringify-nice@^1.1.4: - version "1.1.4" - resolved "https://registry.yarnpkg.com/json-stringify-nice/-/json-stringify-nice-1.1.4.tgz#2c937962b80181d3f317dd39aa323e14f5a60a67" - integrity sha512-5Z5RFW63yxReJ7vANgW6eZFGWaQvnPE3WNmZoOJrSkGju2etKA2L5rrOa1sm877TVTFt57A80BH1bArcmlLfPw== - -json-stringify-safe@^5.0.1: - version "5.0.1" - resolved "https://registry.yarnpkg.com/json-stringify-safe/-/json-stringify-safe-5.0.1.tgz#1296a2d58fd45f19a0f6ce01d65701e2c735b6eb" - integrity sha512-ZClg6AaYvamvYEE82d3Iyd3vSSIjQ+odgjaTzRuO3s7toCdFKczob2i0zCh7JE8kWn17yvAWhUVxvqGwUalsRA== - -json5@^1.0.2: - version "1.0.2" - resolved "https://registry.yarnpkg.com/json5/-/json5-1.0.2.tgz#63d98d60f21b313b77c4d6da18bfa69d80e1d593" - integrity sha512-g1MWMLBiz8FKi1e4w0UyVL3w+iJceWAFBAaBnnGKOpNa5f8TLktkbre1+s6oICydWAm+HRUGTmI+//xv2hvXYA== - dependencies: - minimist "^1.2.0" - -json5@^2.1.2, json5@^2.2.2, json5@^2.2.3: - version "2.2.3" - resolved "https://registry.yarnpkg.com/json5/-/json5-2.2.3.tgz#78cd6f1a19bdc12b73db5ad0c61efd66c1e29283" - integrity sha512-XmOWe7eyHYH14cLdVPoyg+GOH3rYX++KpzrylJwSW98t3Nk+U8XOl8FWKOgwtzdb8lXGf6zYwDUzeHMWfxasyg== - -jsonc-parser@3.2.0: - version "3.2.0" - resolved "https://registry.yarnpkg.com/jsonc-parser/-/jsonc-parser-3.2.0.tgz#31ff3f4c2b9793f89c67212627c51c6394f88e76" - integrity sha512-gfFQZrcTc8CnKXp6Y4/CBT3fTc0OVuDofpre4aEeEpSBPV5X5v4+Vmx+8snU7RLPrNHPKSgLxGo9YuQzz20o+w== - -jsonc-parser@^3.2.0: - version "3.3.1" - resolved "https://registry.yarnpkg.com/jsonc-parser/-/jsonc-parser-3.3.1.tgz#f2a524b4f7fd11e3d791e559977ad60b98b798b4" - integrity sha512-HUgH65KyejrUFPvHFPbqOY0rsFip3Bo5wb4ngvdi1EpCYWUQDC5V+Y7mZws+DLkr4M//zQJoanu1SP+87Dv1oQ== - -jsonfile@^4.0.0: - version "4.0.0" - resolved "https://registry.yarnpkg.com/jsonfile/-/jsonfile-4.0.0.tgz#8771aae0799b64076b76640fca058f9c10e33ecb" - integrity sha512-m6F1R3z8jjlf2imQHS2Qez5sjKWQzbuuhuJ/FKYFRZvPE3PuHcSMVZzfsLhGVOkfd20obL5SWEBew5ShlquNxg== - optionalDependencies: - graceful-fs "^4.1.6" - -jsonfile@^6.0.1, jsonfile@^6.1.0: - version "6.1.0" - resolved "https://registry.yarnpkg.com/jsonfile/-/jsonfile-6.1.0.tgz#bc55b2634793c679ec6403094eb13698a6ec0aae" - integrity sha512-5dgndWOriYSm5cnYaJNhalLNDKOqFwyDB/rr1E9ZsGciGvKPs8R2xYGCacuf3z6K1YKDz182fd+fY3cn3pMqXQ== - dependencies: - universalify "^2.0.0" - optionalDependencies: - graceful-fs "^4.1.6" - -jsonparse@^1.2.0, jsonparse@^1.3.1: - version "1.3.1" - resolved "https://registry.yarnpkg.com/jsonparse/-/jsonparse-1.3.1.tgz#3f4dae4a91fac315f71062f8521cc239f1366280" - integrity sha512-POQXvpdL69+CluYsillJ7SUhKvytYjW9vG/GKpnf+xP8UWgYEM/RaMzHHofbALDiKbbP1W8UEYmgGl39WkPZsg== - -"jsx-ast-utils@^2.4.1 || ^3.0.0", jsx-ast-utils@^3.3.5: - version "3.3.5" - resolved "https://registry.yarnpkg.com/jsx-ast-utils/-/jsx-ast-utils-3.3.5.tgz#4766bd05a8e2a11af222becd19e15575e52a853a" - integrity sha512-ZZow9HBI5O6EPgSJLUb8n2NKgmVWTwCvHGwFuJlMjvLFqlGG6pjirPhtdsseaLZjSibD8eegzmYpUZwoIlj2cQ== - dependencies: - array-includes "^3.1.6" - array.prototype.flat "^1.3.1" - object.assign "^4.1.4" - object.values "^1.1.6" - -junk@^3.1.0: - version "3.1.0" - resolved "https://registry.yarnpkg.com/junk/-/junk-3.1.0.tgz#31499098d902b7e98c5d9b9c80f43457a88abfa1" - integrity sha512-pBxcB3LFc8QVgdggvZWyeys+hnrNWg4OcZIU/1X59k5jQdLBlCsYGRQaz234SqoRLTCgMH00fY0xRJH+F9METQ== - -junk@^4.0.0: - version "4.0.1" - resolved "https://registry.yarnpkg.com/junk/-/junk-4.0.1.tgz#7ee31f876388c05177fe36529ee714b07b50fbed" - integrity sha512-Qush0uP+G8ZScpGMZvHUiRfI0YBWuB3gVBYlI0v0vvOJt5FLicco+IkP0a50LqTTQhmts/m6tP5SWE+USyIvcQ== - -just-diff-apply@^5.2.0: - version "5.5.0" - resolved "https://registry.yarnpkg.com/just-diff-apply/-/just-diff-apply-5.5.0.tgz#771c2ca9fa69f3d2b54e7c3f5c1dfcbcc47f9f0f" - integrity sha512-OYTthRfSh55WOItVqwpefPtNt2VdKsq5AnAK6apdtR6yCH8pr0CmSr710J0Mf+WdQy7K/OzMy7K2MgAfdQURDw== - -just-diff@^5.0.1: - version "5.2.0" - resolved "https://registry.yarnpkg.com/just-diff/-/just-diff-5.2.0.tgz#60dca55891cf24cd4a094e33504660692348a241" - integrity sha512-6ufhP9SHjb7jibNFrNxyFZ6od3g+An6Ai9mhGRvcYe8UJlH0prseN64M+6ZBBUoKYHZsitDP42gAJ8+eVWr3lw== - -jwt-decode@^3.0.0: - version "3.1.2" - resolved "https://registry.yarnpkg.com/jwt-decode/-/jwt-decode-3.1.2.tgz#3fb319f3675a2df0c2895c8f5e9fa4b67b04ed59" - integrity sha512-UfpWE/VZn0iP50d8cz9NrZLM9lSWhcJ+0Gt/nm4by88UL+J1SiKN8/5dkjMmbEzwL2CAe+67GsegCbIKtbp75A== - -keep-func-props@^4.0.0: - version "4.0.1" - resolved "https://registry.yarnpkg.com/keep-func-props/-/keep-func-props-4.0.1.tgz#3a9ab077a1bcc7f98771fd534940826d44cd5df1" - integrity sha512-87ftOIICfdww3SxR5P1veq3ThBNyRPG0JGL//oaR08v0k2yTicEIHd7s0GqSJfQvlb+ybC3GiDepOweo0LDhvw== - dependencies: - mimic-fn "^4.0.0" - -keyv@3.0.0: - version "3.0.0" - resolved "https://registry.yarnpkg.com/keyv/-/keyv-3.0.0.tgz#44923ba39e68b12a7cec7df6c3268c031f2ef373" - integrity sha512-eguHnq22OE3uVoSYG0LVWNP+4ppamWr9+zWBe1bsNcovIMy6huUJFPgy4mGwCd/rnl3vOLGW1MTlu4c57CT1xA== - dependencies: - json-buffer "3.0.0" - -keyv@^3.0.0: - version "3.1.0" - resolved "https://registry.yarnpkg.com/keyv/-/keyv-3.1.0.tgz#ecc228486f69991e49e9476485a5be1e8fc5c4d9" - integrity sha512-9ykJ/46SN/9KPM/sichzQ7OvXyGDYKGTaDlKMGCAlg2UK8KRy4jb0d8sFc+0Tt0YYnThq8X2RZgCg74RPxgcVA== - dependencies: - json-buffer "3.0.0" - -keyv@^4.0.0, keyv@^4.5.3: - version "4.5.4" - resolved "https://registry.yarnpkg.com/keyv/-/keyv-4.5.4.tgz#a879a99e29452f942439f2a405e3af8b31d4de93" - integrity sha512-oxVHkHR/EJf2CNXnWxRLW6mg7JyCCUcG0DtEGmL2ctUo1PNTin1PUil+r/+4r5MpVgC/fn1kjsx7mjSujKqIpw== - dependencies: - json-buffer "3.0.1" - -kind-of@^3.0.2, kind-of@^3.0.3, kind-of@^3.2.0: - version "3.2.2" - resolved "https://registry.yarnpkg.com/kind-of/-/kind-of-3.2.2.tgz#31ea21a734bab9bbb0f32466d893aea51e4a3c64" - integrity sha512-NOW9QQXMoZGg/oqnVNoNTTIFEIid1627WCffUBJEdMxYApq7mNE7CpzucIPc+ZQg25Phej7IJSmX3hO+oblOtQ== - dependencies: - is-buffer "^1.1.5" - -kind-of@^4.0.0: - version "4.0.0" - resolved "https://registry.yarnpkg.com/kind-of/-/kind-of-4.0.0.tgz#20813df3d712928b207378691a45066fae72dd57" - integrity sha512-24XsCxmEbRwEDbz/qz3stgin8TTzZ1ESR56OMCN0ujYg+vRutNSiOj9bHH9u85DKgXguraugV5sFuvbD4FW/hw== - dependencies: - is-buffer "^1.1.5" - -kind-of@^6.0.2, kind-of@^6.0.3: - version "6.0.3" - resolved "https://registry.yarnpkg.com/kind-of/-/kind-of-6.0.3.tgz#07c05034a6c349fa06e24fa35aa76db4580ce4dd" - integrity sha512-dcS1ul+9tmeD95T+x28/ehLgd9mENa3LsvDTtzm3vyBEO7RPptvAD+t44WVXaUjTBRcrpFeFlC8WCruUR456hw== - -kleur@^3.0.3: - version "3.0.3" - resolved "https://registry.yarnpkg.com/kleur/-/kleur-3.0.3.tgz#a79c9ecc86ee1ce3fa6206d1216c501f147fc07e" - integrity sha512-eTIzlVOSUR+JxdDFepEYcBMtZ9Qqdef+rnzWdRZuMbOywu5tO2w2N7rqjoANZ5k9vywhL6Br1VRjUIgTQx4E8w== - -kleur@^4.0.3: - version "4.1.5" - resolved "https://registry.yarnpkg.com/kleur/-/kleur-4.1.5.tgz#95106101795f7050c6c650f350c683febddb1780" - integrity sha512-o+NO+8WrRiQEE4/7nwRJhN1HWpVmJm511pBHUxPLtp0BUISzlBplORYSmTclCnJvQq2tKu/sgl3xVpkc7ZWuQQ== - -known-css-properties@^0.26.0: - version "0.26.0" - resolved "https://registry.yarnpkg.com/known-css-properties/-/known-css-properties-0.26.0.tgz#008295115abddc045a9f4ed7e2a84dc8b3a77649" - integrity sha512-5FZRzrZzNTBruuurWpvZnvP9pum+fe0HcK8z/ooo+U+Hmp4vtbyp1/QDsqmufirXy4egGzbaH/y2uCZf+6W5Kg== - -kuler@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/kuler/-/kuler-2.0.0.tgz#e2c570a3800388fb44407e851531c1d670b061b3" - integrity sha512-Xq9nH7KlWZmXAtodXDDRE7vs6DU1gTU8zYDHDiWLSip45Egwq3plLHzPn27NgvzL2r1LMPC1vdqh98sQxtqj4A== - -lambda-local@^2.0.0: - version "2.2.0" - resolved "https://registry.yarnpkg.com/lambda-local/-/lambda-local-2.2.0.tgz#733d183a4c3f2b16c6499b9ea72cec2f13278eef" - integrity sha512-bPcgpIXbHnVGfI/omZIlgucDqlf4LrsunwoKue5JdZeGybt8L6KyJz2Zu19ffuZwIwLj2NAI2ZyaqNT6/cetcg== - dependencies: - commander "^10.0.1" - dotenv "^16.3.1" - winston "^3.10.0" - -language-subtag-registry@^0.3.20: - version "0.3.23" - resolved "https://registry.yarnpkg.com/language-subtag-registry/-/language-subtag-registry-0.3.23.tgz#23529e04d9e3b74679d70142df3fd2eb6ec572e7" - integrity sha512-0K65Lea881pHotoGEa5gDlMxt3pctLi2RplBb7Ezh4rRdLEOtgi7n4EwK9lamnUCkKBqaeKRVebTq6BAxSkpXQ== - -language-tags@^1.0.9: - version "1.0.9" - resolved "https://registry.yarnpkg.com/language-tags/-/language-tags-1.0.9.tgz#1ffdcd0ec0fafb4b1be7f8b11f306ad0f9c08777" - integrity sha512-MbjN408fEndfiQXbFQ1vnd+1NoLDsnQW41410oQBXiyXDMYH5z505juWa4KUE1LqxRC7DgOgZDbKLxHIwm27hA== - dependencies: - language-subtag-registry "^0.3.20" - -latest-version@^5.1.0: - version "5.1.0" - resolved "https://registry.yarnpkg.com/latest-version/-/latest-version-5.1.0.tgz#119dfe908fe38d15dfa43ecd13fa12ec8832face" - integrity sha512-weT+r0kTkRQdCdYCNtkMwWXQTMEswKrFBkm4ckQOMVhhqhIMI1UT2hMj+1iigIhgSZm5gTmrRXBNoGUgaTY1xA== - dependencies: - package-json "^6.3.0" - -lazystream@^1.0.0: - version "1.0.1" - resolved "https://registry.yarnpkg.com/lazystream/-/lazystream-1.0.1.tgz#494c831062f1f9408251ec44db1cba29242a2638" - integrity sha512-b94GiNHQNy6JNTrt5w6zNyffMrNkXZb3KTkCZJb2V1xaEGCk093vkZ2jk3tpaeP33/OiXC+WvK9AxUebnf5nbw== - dependencies: - readable-stream "^2.0.5" - -lerna@6.5.1: - version "6.5.1" - resolved "https://registry.yarnpkg.com/lerna/-/lerna-6.5.1.tgz#eb89698e5b2891f5681f39d980f63d0519fc464f" - integrity sha512-Va1bysubwWdoWZ1ncKcoTGBXNAu/10/TwELb550TTivXmEWjCCdek4eX0BNLTEYKxu3tpV2UEeqVisUiWGn4WA== - dependencies: - "@lerna/child-process" "6.5.1" - "@lerna/create" "6.5.1" - "@npmcli/arborist" "5.3.0" - "@npmcli/run-script" "4.1.7" - "@nrwl/devkit" ">=15.5.2 < 16" - "@octokit/plugin-enterprise-rest" "6.0.1" - "@octokit/rest" "19.0.3" - byte-size "7.0.0" - chalk "4.1.0" - clone-deep "4.0.1" - cmd-shim "5.0.0" - columnify "1.6.0" - config-chain "1.1.12" - conventional-changelog-angular "5.0.12" - conventional-changelog-core "4.2.4" - conventional-recommended-bump "6.1.0" - cosmiconfig "7.0.0" - dedent "0.7.0" - dot-prop "6.0.1" - envinfo "^7.7.4" - execa "5.0.0" - fs-extra "9.1.0" - get-port "5.1.1" - get-stream "6.0.0" - git-url-parse "13.1.0" - glob-parent "5.1.2" - globby "11.1.0" - graceful-fs "4.2.10" - has-unicode "2.0.1" - import-local "^3.0.2" - init-package-json "3.0.2" - inquirer "^8.2.4" - is-ci "2.0.0" - is-stream "2.0.0" - js-yaml "^4.1.0" - libnpmaccess "6.0.3" - libnpmpublish "6.0.4" - load-json-file "6.2.0" - make-dir "3.1.0" - minimatch "3.0.5" - multimatch "5.0.0" - node-fetch "2.6.7" - npm-package-arg "8.1.1" - npm-packlist "5.1.1" - npm-registry-fetch "13.3.0" - npmlog "^6.0.2" - nx ">=15.5.2 < 16" - p-map "4.0.0" - p-map-series "2.1.0" - p-pipe "3.1.0" - p-queue "6.6.2" - p-reduce "2.1.0" - p-waterfall "2.1.1" - pacote "13.6.1" - path-exists "4.0.0" - pify "5.0.0" - read-cmd-shim "3.0.0" - read-package-json "5.0.1" - resolve-from "5.0.0" - rimraf "^3.0.2" - semver "7.3.4" - signal-exit "3.0.7" - slash "3.0.0" - ssri "9.0.1" - strong-log-transformer "2.1.0" - tar "6.1.11" - temp-dir "1.0.0" - typescript "^3 || ^4" - upath "^2.0.1" - uuid "8.3.2" - validate-npm-package-license "3.0.4" - validate-npm-package-name "4.0.0" - write-file-atomic "4.0.1" - write-pkg "4.0.0" - yargs "16.2.0" - yargs-parser "20.2.4" - -leven@^3.1.0: - version "3.1.0" - resolved "https://registry.yarnpkg.com/leven/-/leven-3.1.0.tgz#77891de834064cccba82ae7842bb6b14a13ed7f2" - integrity sha512-qsda+H8jTaUaN/x5vzW2rzc+8Rw4TAQ/4KjB46IwK5VH+IlVeeeje/EoZRpiXvIqjFgK84QffqPztGI3VBLG1A== - -levn@^0.4.1: - version "0.4.1" - resolved "https://registry.yarnpkg.com/levn/-/levn-0.4.1.tgz#ae4562c007473b932a6200d403268dd2fffc6ade" - integrity sha512-+bT2uH4E5LGE7h/n3evcS/sQlJXCpIp6ym8OWJ5eV6+67Dsql/LaaT7qJBAt2rzfoa/5QBGBhxDix1dMt2kQKQ== - dependencies: - prelude-ls "^1.2.1" - type-check "~0.4.0" - -libnpmaccess@6.0.3: - version "6.0.3" - resolved "https://registry.yarnpkg.com/libnpmaccess/-/libnpmaccess-6.0.3.tgz#473cc3e4aadb2bc713419d92e45d23b070d8cded" - integrity sha512-4tkfUZprwvih2VUZYMozL7EMKgQ5q9VW2NtRyxWtQWlkLTAWHRklcAvBN49CVqEkhUw7vTX2fNgB5LzgUucgYg== - dependencies: - aproba "^2.0.0" - minipass "^3.1.1" - npm-package-arg "^9.0.1" - npm-registry-fetch "^13.0.0" - -libnpmpublish@6.0.4: - version "6.0.4" - resolved "https://registry.yarnpkg.com/libnpmpublish/-/libnpmpublish-6.0.4.tgz#adb41ec6b0c307d6f603746a4d929dcefb8f1a0b" - integrity sha512-lvAEYW8mB8QblL6Q/PI/wMzKNvIrF7Kpujf/4fGS/32a2i3jzUXi04TNyIBcK6dQJ34IgywfaKGh+Jq4HYPFmg== - dependencies: - normalize-package-data "^4.0.0" - npm-package-arg "^9.0.1" - npm-registry-fetch "^13.0.0" - semver "^7.3.7" - ssri "^9.0.0" - -lines-and-columns@^1.1.6: - version "1.2.4" - resolved "https://registry.yarnpkg.com/lines-and-columns/-/lines-and-columns-1.2.4.tgz#eca284f75d2965079309dc0ad9255abb2ebc1632" - integrity sha512-7ylylesZQ/PV29jhEDl3Ufjo6ZX7gCqJr5F7PKrqc93v7fzSymt1BpwEU8nAUXs8qzzvqhbjhK5QZg6Mt/HkBg== - -lines-and-columns@^2.0.2, lines-and-columns@~2.0.3: - version "2.0.4" - resolved "https://registry.yarnpkg.com/lines-and-columns/-/lines-and-columns-2.0.4.tgz#d00318855905d2660d8c0822e3f5a4715855fc42" - integrity sha512-wM1+Z03eypVAVUCE7QdSqpVIvelbOakn1M0bPDoA4SGWPx3sNDVUiMo3L6To6WWGClB7VyXnhQ4Sn7gxiJbE6A== - -listr-silent-renderer@^1.1.1: - version "1.1.1" - resolved "https://registry.yarnpkg.com/listr-silent-renderer/-/listr-silent-renderer-1.1.1.tgz#924b5a3757153770bf1a8e3fbf74b8bbf3f9242e" - integrity sha512-L26cIFm7/oZeSNVhWB6faeorXhMg4HNlb/dS/7jHhr708jxlXrtrBWo4YUxZQkc6dGoxEAe6J/D3juTRBUzjtA== - -listr-update-renderer@^0.5.0: - version "0.5.0" - resolved "https://registry.yarnpkg.com/listr-update-renderer/-/listr-update-renderer-0.5.0.tgz#4ea8368548a7b8aecb7e06d8c95cb45ae2ede6a2" - integrity sha512-tKRsZpKz8GSGqoI/+caPmfrypiaq+OQCbd+CovEC24uk1h952lVj5sC7SqyFUm+OaJ5HN/a1YLt5cit2FMNsFA== - dependencies: - chalk "^1.1.3" - cli-truncate "^0.2.1" - elegant-spinner "^1.0.1" - figures "^1.7.0" - indent-string "^3.0.0" - log-symbols "^1.0.2" - log-update "^2.3.0" - strip-ansi "^3.0.1" - -listr-verbose-renderer@^0.5.0: - version "0.5.0" - resolved "https://registry.yarnpkg.com/listr-verbose-renderer/-/listr-verbose-renderer-0.5.0.tgz#f1132167535ea4c1261102b9f28dac7cba1e03db" - integrity sha512-04PDPqSlsqIOaaaGZ+41vq5FejI9auqTInicFRndCBgE3bXG8D6W1I+mWhk+1nqbHmyhla/6BUrd5OSiHwKRXw== - dependencies: - chalk "^2.4.1" - cli-cursor "^2.1.0" - date-fns "^1.27.2" - figures "^2.0.0" - -listr@^0.14.3: - version "0.14.3" - resolved "https://registry.yarnpkg.com/listr/-/listr-0.14.3.tgz#2fea909604e434be464c50bddba0d496928fa586" - integrity sha512-RmAl7su35BFd/xoMamRjpIE4j3v+L28o8CT5YhAXQJm1fD+1l9ngXY8JAQRJ+tFK2i5njvi0iRUKV09vPwA0iA== - dependencies: - "@samverschueren/stream-to-observable" "^0.3.0" - is-observable "^1.1.0" - is-promise "^2.1.0" - is-stream "^1.1.0" - listr-silent-renderer "^1.1.1" - listr-update-renderer "^0.5.0" - listr-verbose-renderer "^0.5.0" - p-map "^2.0.0" - rxjs "^6.3.3" - -load-json-file@6.2.0: - version "6.2.0" - resolved "https://registry.yarnpkg.com/load-json-file/-/load-json-file-6.2.0.tgz#5c7770b42cafa97074ca2848707c61662f4251a1" - integrity sha512-gUD/epcRms75Cw8RT1pUdHugZYM5ce64ucs2GEISABwkRsOQr0q2wm/MV2TKThycIe5e0ytRweW2RZxclogCdQ== - dependencies: - graceful-fs "^4.1.15" - parse-json "^5.0.0" - strip-bom "^4.0.0" - type-fest "^0.6.0" - -load-json-file@^4.0.0: - version "4.0.0" - resolved "https://registry.yarnpkg.com/load-json-file/-/load-json-file-4.0.0.tgz#2f5f45ab91e33216234fd53adab668eb4ec0993b" - integrity sha512-Kx8hMakjX03tiGTLAIdJ+lL0htKnXjEZN6hk/tozf/WOuYGdZBJrZ+rCJRbVCugsjB3jMLn9746NsQIf5VjBMw== - dependencies: - graceful-fs "^4.1.2" - parse-json "^4.0.0" - pify "^3.0.0" - strip-bom "^3.0.0" - -load-plugin@^5.0.0: - version "5.1.0" - resolved "https://registry.yarnpkg.com/load-plugin/-/load-plugin-5.1.0.tgz#15600f5191c742b16e058cfc908c227c13db0104" - integrity sha512-Lg1CZa1CFj2CbNaxijTL6PCbzd4qGTlZov+iH2p5Xwy/ApcZJh+i6jMN2cYePouTfjJfrNu3nXFdEw8LvbjPFQ== - dependencies: - "@npmcli/config" "^6.0.0" - import-meta-resolve "^2.0.0" - -loader-runner@^4.2.0: - version "4.3.0" - resolved "https://registry.yarnpkg.com/loader-runner/-/loader-runner-4.3.0.tgz#c1b4a163b99f614830353b16755e7149ac2314e1" - integrity sha512-3R/1M+yS3j5ou80Me59j7F9IMs4PXs3VqRrm0TU3AbKPxlmpoY1TNscJV/oGJXo8qCatFGTfDbY6W6ipGOYXfg== - -loader-utils@^2.0.4: - version "2.0.4" - resolved "https://registry.yarnpkg.com/loader-utils/-/loader-utils-2.0.4.tgz#8b5cb38b5c34a9a018ee1fc0e6a066d1dfcc528c" - integrity sha512-xXqpXoINfFhgua9xiqD8fPFHgkoq1mmmpE92WlDbm9rNRd/EbRb+Gqf908T2DMfuHjjJlksiK2RbHVOdD/MqSw== - dependencies: - big.js "^5.2.2" - emojis-list "^3.0.0" - json5 "^2.1.2" - -locate-path@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/locate-path/-/locate-path-2.0.0.tgz#2b568b265eec944c6d9c0de9c3dbbbca0354cd8e" - integrity sha512-NCI2kiDkyR7VeEKm27Kda/iQHyKJe1Bu0FlTbYp3CqJu+9IFe9bLyAjMxf5ZDDbEg+iMPzB5zYyUTSm8wVTKmA== - dependencies: - p-locate "^2.0.0" - path-exists "^3.0.0" - -locate-path@^5.0.0: - version "5.0.0" - resolved "https://registry.yarnpkg.com/locate-path/-/locate-path-5.0.0.tgz#1afba396afd676a6d42504d0a67a3a7eb9f62aa0" - integrity sha512-t7hw9pI+WvuwNJXwk5zVHpyhIqzg2qTlklJOf0mVxGSbe3Fp2VieZcduNYjaLDoy6p9uGpQEGWG87WpMKlNq8g== - dependencies: - p-locate "^4.1.0" - -locate-path@^6.0.0: - version "6.0.0" - resolved "https://registry.yarnpkg.com/locate-path/-/locate-path-6.0.0.tgz#55321eb309febbc59c4801d931a72452a681d286" - integrity sha512-iPZK6eYjbxRu3uB4/WZ3EsEIMJFMqAoopl3R+zuq0UjcAm/MO6KCweDgPfP3elTztoKP3KtnVHxTn2NHBSDVUw== - dependencies: - p-locate "^5.0.0" - -locate-path@^7.0.0, locate-path@^7.1.0: - version "7.2.0" - resolved "https://registry.yarnpkg.com/locate-path/-/locate-path-7.2.0.tgz#69cb1779bd90b35ab1e771e1f2f89a202c2a8a8a" - integrity sha512-gvVijfZvn7R+2qyPX8mAuKcFGDf6Nc61GdvGafQsHL0sBIxfKzA+usWn4GFC/bk+QdwPUD4kWFJLhElipq+0VA== - dependencies: - p-locate "^6.0.0" - -lodash-es@^4.17.21: - version "4.17.21" - resolved "https://registry.yarnpkg.com/lodash-es/-/lodash-es-4.17.21.tgz#43e626c46e6591b7750beb2b50117390c609e3ee" - integrity sha512-mKnC+QJ9pWVzv+C4/U3rRsHapFfHvQFoFB92e52xeyGMcX6/OlIl78je1u8vePzYZSkkogMPJ2yjxxsb89cxyw== - -lodash.camelcase@^4.3.0: - version "4.3.0" - resolved "https://registry.yarnpkg.com/lodash.camelcase/-/lodash.camelcase-4.3.0.tgz#b28aa6288a2b9fc651035c7711f65ab6190331a6" - integrity sha512-TwuEnCnxbc3rAvhf/LbG7tJUDzhqXyFnv3dtzLOPgCG/hODL7WFnsbwktkD7yUV0RrreP/l1PALq/YSg6VvjlA== - -lodash.debounce@^4.0.8: - version "4.0.8" - resolved "https://registry.yarnpkg.com/lodash.debounce/-/lodash.debounce-4.0.8.tgz#82d79bff30a67c4005ffd5e2515300ad9ca4d7af" - integrity sha512-FT1yDzDYEoYWhnSGnpE/4Kj1fLZkDFyqRb7fNt6FdYOSxlUWAtp42Eh6Wb0rGIv/m9Bgo7x4GhQbm5Ys4SG5ow== - -lodash.deburr@^4.1.0: - version "4.1.0" - resolved "https://registry.yarnpkg.com/lodash.deburr/-/lodash.deburr-4.1.0.tgz#ddb1bbb3ef07458c0177ba07de14422cb033ff9b" - integrity sha512-m/M1U1f3ddMCs6Hq2tAsYThTBDaAKFDX3dwDo97GEYzamXi9SqUpjWi/Rrj/gf3X2n8ktwgZrlP1z6E3v/IExQ== - -lodash.defaults@^4.2.0: - version "4.2.0" - resolved "https://registry.yarnpkg.com/lodash.defaults/-/lodash.defaults-4.2.0.tgz#d09178716ffea4dde9e5fb7b37f6f0802274580c" - integrity sha512-qjxPLHd3r5DnsdGacqOMU6pb/avJzdh9tFX2ymgoZE27BmjXrNy/y4LoaiTeAb+O3gL8AfpJGtqfX/ae2leYYQ== - -lodash.difference@^4.5.0: - version "4.5.0" - resolved "https://registry.yarnpkg.com/lodash.difference/-/lodash.difference-4.5.0.tgz#9ccb4e505d486b91651345772885a2df27fd017c" - integrity sha512-dS2j+W26TQ7taQBGN8Lbbq04ssV3emRw4NY58WErlTO29pIqS0HmoT5aJ9+TUQ1N3G+JOZSji4eugsWwGp9yPA== - -lodash.flatten@^4.4.0: - version "4.4.0" - resolved "https://registry.yarnpkg.com/lodash.flatten/-/lodash.flatten-4.4.0.tgz#f31c22225a9632d2bbf8e4addbef240aa765a61f" - integrity sha512-C5N2Z3DgnnKr0LOpv/hKCgKdb7ZZwafIrsesve6lmzvZIRZRGaZ/l6Q8+2W7NaT+ZwO3fFlSCzCzrDCFdJfZ4g== - -lodash.flattendeep@^4.4.0: - version "4.4.0" - resolved "https://registry.yarnpkg.com/lodash.flattendeep/-/lodash.flattendeep-4.4.0.tgz#fb030917f86a3134e5bc9bec0d69e0013ddfedb2" - integrity sha512-uHaJFihxmJcEX3kT4I23ABqKKalJ/zDrDg0lsFtc1h+3uw49SIJ5beyhx5ExVRti3AvKoOJngIj7xz3oylPdWQ== - -lodash.isempty@^4.4.0: - version "4.4.0" - resolved "https://registry.yarnpkg.com/lodash.isempty/-/lodash.isempty-4.4.0.tgz#6f86cbedd8be4ec987be9aaf33c9684db1b31e7e" - integrity sha512-oKMuF3xEeqDltrGMfDxAPGIVMSSRv8tbRSODbrs4KGsRRLEhrW8N8Rd4DRgB2+621hY8A8XwwrTVhXWpxFvMzg== - -lodash.ismatch@^4.4.0: - version "4.4.0" - resolved "https://registry.yarnpkg.com/lodash.ismatch/-/lodash.ismatch-4.4.0.tgz#756cb5150ca3ba6f11085a78849645f188f85f37" - integrity sha512-fPMfXjGQEV9Xsq/8MTSgUf255gawYRbjwMyDbcvDhXgV7enSZA0hynz6vMPnpAb5iONEzBHBPsT+0zes5Z301g== - -lodash.isplainobject@^4.0.6: - version "4.0.6" - resolved "https://registry.yarnpkg.com/lodash.isplainobject/-/lodash.isplainobject-4.0.6.tgz#7c526a52d89b45c45cc690b88163be0497f550cb" - integrity sha512-oSXzaWypCMHkPC3NvBEaPHf0KsA5mvPrOPgQWDsbg8n7orZ290M0BmC/jgRZ4vcJ6DTAhjrsSYgdsW/F+MFOBA== - -lodash.memoize@^4.1.2: - version "4.1.2" - resolved "https://registry.yarnpkg.com/lodash.memoize/-/lodash.memoize-4.1.2.tgz#bcc6c49a42a2840ed997f323eada5ecd182e0bfe" - integrity sha512-t7j+NzmgnQzTAYXcsHYLgimltOV1MXHtlOWf6GjL9Kj8GK5FInw5JotxvbOs+IvV1/Dzo04/fCGfLVs7aXb4Ag== - -lodash.merge@^4.6.2: - version "4.6.2" - resolved "https://registry.yarnpkg.com/lodash.merge/-/lodash.merge-4.6.2.tgz#558aa53b43b661e1925a0afdfa36a9a1085fe57a" - integrity sha512-0KpjqXRVvrYyCsX1swR/XTK0va6VQkQM6MNo7PqW77ByjAhoARA8EfrP1N4+KlKj8YS0ZUCtRT/YUuhyYDujIQ== - -lodash.startcase@^4.4.0: - version "4.4.0" - resolved "https://registry.yarnpkg.com/lodash.startcase/-/lodash.startcase-4.4.0.tgz#9436e34ed26093ed7ffae1936144350915d9add8" - integrity sha512-+WKqsK294HMSc2jEbNgpHpd0JfIBhp7rEV4aqXWqFr6AlXov+SlcgB1Fv01y2kGe3Gc8nMW7VA0SrGuSkRfIEg== - -lodash.transform@^4.6.0: - version "4.6.0" - resolved "https://registry.yarnpkg.com/lodash.transform/-/lodash.transform-4.6.0.tgz#12306422f63324aed8483d3f38332b5f670547a0" - integrity sha512-LO37ZnhmBVx0GvOU/caQuipEh4GN82TcWv3yHlebGDgOxbxiwwzW5Pcx2AcvpIv2WmvmSMoC492yQFNhy/l/UQ== - -lodash.truncate@^4.4.2: - version "4.4.2" - resolved "https://registry.yarnpkg.com/lodash.truncate/-/lodash.truncate-4.4.2.tgz#5a350da0b1113b837ecfffd5812cbe58d6eae193" - integrity sha512-jttmRe7bRse52OsWIMDLaXxWqRAmtIUccAQ3garviCqJjafXOfNMO0yMfNpdD6zbGaTU0P5Nz7e7gAT6cKmJRw== - -lodash.union@^4.6.0: - version "4.6.0" - resolved "https://registry.yarnpkg.com/lodash.union/-/lodash.union-4.6.0.tgz#48bb5088409f16f1821666641c44dd1aaae3cd88" - integrity sha512-c4pB2CdGrGdjMKYLA+XiRDO7Y0PRQbm/Gzg8qMj+QH+pFVAoTp5sBpO0odL3FjoPCGjK96p6qsP+yQoiLoOBcw== - -lodash@^4.17.12, lodash@^4.17.15, lodash@^4.17.20, lodash@^4.17.21: - version "4.17.21" - resolved "https://registry.yarnpkg.com/lodash/-/lodash-4.17.21.tgz#679591c564c3bffaae8454cf0b3df370c3d6911c" - integrity sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg== - -log-process-errors@^8.0.0: - version "8.0.0" - resolved "https://registry.yarnpkg.com/log-process-errors/-/log-process-errors-8.0.0.tgz#f88a9556e4914037ad97ceee24b148dc1b566dfd" - integrity sha512-+SNGqNC1gCMJfhwYzAHr/YgNT/ZJc+V2nCkvtPnjrENMeCe+B/jgShBW0lmWoh6uVV2edFAPc/IUOkDdsjTbTg== - dependencies: - colors-option "^3.0.0" - figures "^4.0.0" - filter-obj "^3.0.0" - jest-validate "^27.4.2" - map-obj "^5.0.0" - moize "^6.1.0" - semver "^7.3.5" - -log-symbols@^1.0.2: - version "1.0.2" - resolved "https://registry.yarnpkg.com/log-symbols/-/log-symbols-1.0.2.tgz#376ff7b58ea3086a0f09facc74617eca501e1a18" - integrity sha512-mmPrW0Fh2fxOzdBbFv4g1m6pR72haFLPJ2G5SJEELf1y+iaQrDG6cWCPjy54RHYbZAt7X+ls690Kw62AdWXBzQ== - dependencies: - chalk "^1.0.0" - -log-symbols@^4.0.0, log-symbols@^4.1.0: - version "4.1.0" - resolved "https://registry.yarnpkg.com/log-symbols/-/log-symbols-4.1.0.tgz#3fbdbb95b4683ac9fc785111e792e558d4abd503" - integrity sha512-8XPvpAA8uyhfteu8pIvQxpJZ7SYYdpUivZpGy6sFsBuKRY/7rQGavedeB8aK+Zkyq6upMFVL/9AW6vOYzfRyLg== - dependencies: - chalk "^4.1.0" - is-unicode-supported "^0.1.0" - -log-update@^2.3.0: - version "2.3.0" - resolved "https://registry.yarnpkg.com/log-update/-/log-update-2.3.0.tgz#88328fd7d1ce7938b29283746f0b1bc126b24708" - integrity sha512-vlP11XfFGyeNQlmEn9tJ66rEW1coA/79m5z6BCkudjbAGE83uhAcGYrBFwfs3AdLiLzGRusRPAbSPK9xZteCmg== - dependencies: - ansi-escapes "^3.0.0" - cli-cursor "^2.0.0" - wrap-ansi "^3.0.1" - -log-update@^5.0.0: - version "5.0.1" - resolved "https://registry.yarnpkg.com/log-update/-/log-update-5.0.1.tgz#9e928bf70cb183c1f0c9e91d9e6b7115d597ce09" - integrity sha512-5UtUDQ/6edw4ofyljDNcOVJQ4c7OjDro4h3y8e1GQL5iYElYclVHJ3zeWchylvMaKnDbDilC8irOVyexnA/Slw== - dependencies: - ansi-escapes "^5.0.0" - cli-cursor "^4.0.0" - slice-ansi "^5.0.0" - strip-ansi "^7.0.1" - wrap-ansi "^8.0.1" - -logform@^2.6.0, logform@^2.6.1: - version "2.6.1" - resolved "https://registry.yarnpkg.com/logform/-/logform-2.6.1.tgz#71403a7d8cae04b2b734147963236205db9b3df0" - integrity sha512-CdaO738xRapbKIMVn2m4F6KTj4j7ooJ8POVnebSgKo3KBz5axNXRAL7ZdRjIV6NOr2Uf4vjtRkxrFETOioCqSA== - dependencies: - "@colors/colors" "1.6.0" - "@types/triple-beam" "^1.3.2" - fecha "^4.2.0" - ms "^2.1.1" - safe-stable-stringify "^2.3.1" - triple-beam "^1.3.0" - -longest-streak@^3.0.0: - version "3.1.0" - resolved "https://registry.yarnpkg.com/longest-streak/-/longest-streak-3.1.0.tgz#62fa67cd958742a1574af9f39866364102d90cd4" - integrity sha512-9Ri+o0JYgehTaVBBDoMqIl8GXtbWg711O3srftcHhZ0dqnETqLaoIK0x17fUw9rFSlK/0NlsKe0Ahhyl5pXE2g== - -loose-envify@^1.1.0, loose-envify@^1.4.0: - version "1.4.0" - resolved "https://registry.yarnpkg.com/loose-envify/-/loose-envify-1.4.0.tgz#71ee51fa7be4caec1a63839f7e682d8132d30caf" - integrity sha512-lyuxPGr/Wfhrlem2CL/UcnUc1zcqKAImBDzukY7Y5F/yQiNdko6+fRLevlw1HgMySw7f611UIY408EtxRSoK3Q== - dependencies: - js-tokens "^3.0.0 || ^4.0.0" - -loupe@^3.1.0, loupe@^3.1.1: - version "3.1.2" - resolved "https://registry.yarnpkg.com/loupe/-/loupe-3.1.2.tgz#c86e0696804a02218f2206124c45d8b15291a240" - integrity sha512-23I4pFZHmAemUnz8WZXbYRSKYj801VDaNv9ETuMh7IrMc7VuVVSo+Z9iLE3ni30+U48iDWfi30d3twAXBYmnCg== - -lower-case@^2.0.2: - version "2.0.2" - resolved "https://registry.yarnpkg.com/lower-case/-/lower-case-2.0.2.tgz#6fa237c63dbdc4a82ca0fd882e4722dc5e634e28" - integrity sha512-7fm3l3NAF9WfN6W3JOmf5drwpVqX78JtoGJ3A6W0a6ZnldM41w2fV5D490psKFTpMds8TJse/eHLFFsNHHjHgg== - dependencies: - tslib "^2.0.3" - -lowercase-keys@1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/lowercase-keys/-/lowercase-keys-1.0.0.tgz#4e3366b39e7f5457e35f1324bdf6f88d0bfc7306" - integrity sha512-RPlX0+PHuvxVDZ7xX+EBVAp4RsVxP/TdDSN2mJYdiq1Lc4Hz7EUSjUI7RZrKKlmrIzVhf6Jo2stj7++gVarS0A== - -lowercase-keys@^1.0.0, lowercase-keys@^1.0.1: - version "1.0.1" - resolved "https://registry.yarnpkg.com/lowercase-keys/-/lowercase-keys-1.0.1.tgz#6f9e30b47084d971a7c820ff15a6c5167b74c26f" - integrity sha512-G2Lj61tXDnVFFOi8VZds+SoQjtQC3dgokKdDG2mTm1tx4m50NUHBOZSBwQQHyy0V12A0JTG4icfZQH+xPyh8VA== - -lowercase-keys@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/lowercase-keys/-/lowercase-keys-2.0.0.tgz#2603e78b7b4b0006cbca2fbcc8a3202558ac9479" - integrity sha512-tqNXrS78oMOE73NMxK4EMLQsQowWf8jKooH9g7xPavRT706R6bkQJ6DY2Te7QukaZsulxa30wQ7bk0pm4XiHmA== - -lru-cache@^10.2.0: - version "10.4.3" - resolved "https://registry.yarnpkg.com/lru-cache/-/lru-cache-10.4.3.tgz#410fc8a17b70e598013df257c2446b7f3383f119" - integrity sha512-JNAzZcXrCt42VGLuYz0zfAzDfAvJWW6AfYlDBQyDV5DClI2m5sAmK+OIO7s59XfsRsWHp02jAJrRadPRGTt6SQ== - -lru-cache@^11.0.0: - version "11.0.1" - resolved "https://registry.yarnpkg.com/lru-cache/-/lru-cache-11.0.1.tgz#3a732fbfedb82c5ba7bca6564ad3f42afcb6e147" - integrity sha512-CgeuL5uom6j/ZVrg7G/+1IXqRY8JXX4Hghfy5YE0EhoYQWvndP1kufu58cmZLNIDKnRhZrXfdS9urVWx98AipQ== - -lru-cache@^4.0.1: - version "4.1.5" - resolved "https://registry.yarnpkg.com/lru-cache/-/lru-cache-4.1.5.tgz#8bbe50ea85bed59bc9e33dcab8235ee9bcf443cd" - integrity sha512-sWZlbEP2OsHNkXrMl5GYk/jKk70MBng6UU4YI/qGDYbgf6YbP4EvmqISbXCoJiRKs+1bSpFHVgQxvJ17F2li5g== - dependencies: - pseudomap "^1.0.2" - yallist "^2.1.2" - -lru-cache@^5.1.1: - version "5.1.1" - resolved "https://registry.yarnpkg.com/lru-cache/-/lru-cache-5.1.1.tgz#1da27e6710271947695daf6848e847f01d84b920" - integrity sha512-KpNARQA3Iwv+jTA0utUVVbrh+Jlrr1Fv0e56GGzAFOXN7dk/FviaDW8LHmK52DlcH4WP2n6gI8vN1aesBFgo9w== - dependencies: - yallist "^3.0.2" - -lru-cache@^6.0.0: - version "6.0.0" - resolved "https://registry.yarnpkg.com/lru-cache/-/lru-cache-6.0.0.tgz#6d6fe6570ebd96aaf90fcad1dafa3b2566db3a94" - integrity sha512-Jo6dJ04CmSjuznwJSS3pUeWmd/H0ffTlkXXgwZi+eq1UCmqQwCh+eLsYOYCwY991i2Fah4h1BEMCx4qThGbsiA== - dependencies: - yallist "^4.0.0" - -lru-cache@^7.4.4, lru-cache@^7.5.1, lru-cache@^7.7.1: - version "7.18.3" - resolved "https://registry.yarnpkg.com/lru-cache/-/lru-cache-7.18.3.tgz#f793896e0fd0e954a59dfdd82f0773808df6aa89" - integrity sha512-jumlc0BIUrS3qJGgIkWZsyfAM7NCWiBcCDhnd+3NNM5KbBmLTgHVfWBcg6W+rLUsIpzpERPsvwUP7CckAQSOoA== - -luxon@^3.2.1: - version "3.5.0" - resolved "https://registry.yarnpkg.com/luxon/-/luxon-3.5.0.tgz#6b6f65c5cd1d61d1fd19dbf07ee87a50bf4b8e20" - integrity sha512-rh+Zjr6DNfUYR3bPwJEnuwDdqMbxZW7LOQfUN4B54+Cl+0o5zaU9RJ6bcidfDtC1cWCZXQ+nvX8bf6bAji37QQ== - -lz-string@^1.5.0: - version "1.5.0" - resolved "https://registry.yarnpkg.com/lz-string/-/lz-string-1.5.0.tgz#c1ab50f77887b712621201ba9fd4e3a6ed099941" - integrity sha512-h5bgJWpxJNswbU7qCrV0tIKQCaS3blPDrqKWx+QxzuzL1zGUzij9XCWLrSLsJPu5t+eWA/ycetzYAO5IOMcWAQ== - -macos-release@^3.1.0: - version "3.3.0" - resolved "https://registry.yarnpkg.com/macos-release/-/macos-release-3.3.0.tgz#92cb67bc66d67c3fde4a9e14f5f909afa418b072" - integrity sha512-tPJQ1HeyiU2vRruNGhZ+VleWuMQRro8iFtJxYgnS4NQe+EukKF6aGiIT+7flZhISAt2iaXBCfFGvAyif7/f8nQ== - -magic-string@^0.25.3, magic-string@^0.25.7: - version "0.25.9" - resolved "https://registry.yarnpkg.com/magic-string/-/magic-string-0.25.9.tgz#de7f9faf91ef8a1c91d02c2e5314c8277dbcdd1c" - integrity sha512-RmF0AsMzgt25qzqqLc1+MbHmhdx0ojF2Fvs4XnOqz2ZOBXzzkEwc/dJQZCYHAn7v1jbVOjAZfK8msRn4BxO4VQ== - dependencies: - sourcemap-codec "^1.4.8" - -magic-string@^0.30.5: - version "0.30.12" - resolved "https://registry.yarnpkg.com/magic-string/-/magic-string-0.30.12.tgz#9eb11c9d072b9bcb4940a5b2c2e1a217e4ee1a60" - integrity sha512-Ea8I3sQMVXr8JhN4z+H/d8zwo+tYDgHE9+5G4Wnrwhs0gaK9fXTKx0Tw5Xwsd/bCPTTZNRAdpyzvoeORe9LYpw== - dependencies: - "@jridgewell/sourcemap-codec" "^1.5.0" - -make-dir@3.1.0, make-dir@^3.0.0, make-dir@^3.0.2, make-dir@^3.1.0: - version "3.1.0" - resolved "https://registry.yarnpkg.com/make-dir/-/make-dir-3.1.0.tgz#415e967046b3a7f1d185277d84aa58203726a13f" - integrity sha512-g3FeP20LNwhALb/6Cz6Dd4F2ngze0jz7tbzrD2wAV+o9FeNHe4rL+yK2md0J/fiSf1sa1ADhXqi5+oVwOM/eGw== - dependencies: - semver "^6.0.0" - -make-dir@^1.0.0: - version "1.3.0" - resolved "https://registry.yarnpkg.com/make-dir/-/make-dir-1.3.0.tgz#79c1033b80515bd6d24ec9933e860ca75ee27f0c" - integrity sha512-2w31R7SJtieJJnQtGc7RVL2StM2vGYVfqUOvUDxH6bC6aJTxPxTF0GnIgCyu7tjockiUWAYQRbxa7vKn34s5sQ== - dependencies: - pify "^3.0.0" - -make-dir@^2.1.0: - version "2.1.0" - resolved "https://registry.yarnpkg.com/make-dir/-/make-dir-2.1.0.tgz#5f0310e18b8be898cc07009295a30ae41e91e6f5" - integrity sha512-LS9X+dc8KLxXCb8dni79fLIIUA5VyZoyjSMCwTluaXA0o27cCK0bhXkpgw+sTXVpPy/lSO57ilRixqk0vDmtRA== - dependencies: - pify "^4.0.1" - semver "^5.6.0" - -make-dir@^4.0.0: - version "4.0.0" - resolved "https://registry.yarnpkg.com/make-dir/-/make-dir-4.0.0.tgz#c3c2307a771277cd9638305f915c29ae741b614e" - integrity sha512-hXdUTZYIVOt1Ex//jAQi+wTZZpUpwBj/0QsOzqegb3rGMMeJiSEu5xLHnYfBrRV4RH2+OCSOO95Is/7x1WJ4bw== - dependencies: - semver "^7.5.3" - -make-error@^1.1.1, make-error@^1.3.6: - version "1.3.6" - resolved "https://registry.yarnpkg.com/make-error/-/make-error-1.3.6.tgz#2eb2e37ea9b67c4891f684a1394799af484cf7a2" - integrity sha512-s8UhlNe7vPKomQhC1qFelMokr/Sc3AgNbso3n74mVPA5LTZwkB9NlXf4XPamLxJE8h0gh73rM94xvwRT2CVInw== - -make-fetch-happen@^10.0.3, make-fetch-happen@^10.0.6: - version "10.2.1" - resolved "https://registry.yarnpkg.com/make-fetch-happen/-/make-fetch-happen-10.2.1.tgz#f5e3835c5e9817b617f2770870d9492d28678164" - integrity sha512-NgOPbRiaQM10DYXvN3/hhGVI2M5MtITFryzBGxHM5p4wnFxsVCbxkrBrDsk+EZ5OB4jEOT7AjDxtdF+KVEFT7w== - dependencies: - agentkeepalive "^4.2.1" - cacache "^16.1.0" - http-cache-semantics "^4.1.0" - http-proxy-agent "^5.0.0" - https-proxy-agent "^5.0.0" - is-lambda "^1.0.1" - lru-cache "^7.7.1" - minipass "^3.1.6" - minipass-collect "^1.0.2" - minipass-fetch "^2.0.3" - minipass-flush "^1.0.5" - minipass-pipeline "^1.2.4" - negotiator "^0.6.3" - promise-retry "^2.0.1" - socks-proxy-agent "^7.0.0" - ssri "^9.0.0" - -makeerror@1.0.12: - version "1.0.12" - resolved "https://registry.yarnpkg.com/makeerror/-/makeerror-1.0.12.tgz#3e5dd2079a82e812e983cc6610c4a2cb0eaa801a" - integrity sha512-JmqCvUhmt43madlpFzG4BQzG2Z3m6tvQDNKdClZnO3VbIudJYmxsT0FNJMeiB2+JTSlTQTSbU8QdesVmwJcmLg== - dependencies: - tmpl "1.0.5" - -map-cache@^0.2.2: - version "0.2.2" - resolved "https://registry.yarnpkg.com/map-cache/-/map-cache-0.2.2.tgz#c32abd0bd6525d9b051645bb4f26ac5dc98a0dbf" - integrity sha512-8y/eV9QQZCiyn1SprXSrCmqJN0yNRATe+PO8ztwqrvrbdRLA3eYJF0yaR0YayLWkMbsQSKWS9N2gPcGEc4UsZg== - -map-obj@^1.0.0: - version "1.0.1" - resolved "https://registry.yarnpkg.com/map-obj/-/map-obj-1.0.1.tgz#d933ceb9205d82bdcf4886f6742bdc2b4dea146d" - integrity sha512-7N/q3lyZ+LVCp7PzuxrJr4KMbBE2hW7BT7YNia330OFxIf4d3r5zVpicP2650l7CPN6RM9zOJRl3NGpqSiw3Eg== - -map-obj@^4.0.0: - version "4.3.0" - resolved "https://registry.yarnpkg.com/map-obj/-/map-obj-4.3.0.tgz#9304f906e93faae70880da102a9f1df0ea8bb05a" - integrity sha512-hdN1wVrZbb29eBGiGjJbeP8JbKjq1urkHJ/LIP/NY48MZ1QVXUsQBV1G1zvYFHn1XE06cwjBsOI2K3Ulnj1YXQ== - -map-obj@^5.0.0: - version "5.0.2" - resolved "https://registry.yarnpkg.com/map-obj/-/map-obj-5.0.2.tgz#174ad9f7e5e4e777a219126d9a734ff3e14a1c68" - integrity sha512-K6K2NgKnTXimT3779/4KxSvobxOtMmx1LBZ3NwRxT/MDIR3Br/fQ4Q+WCX5QxjyUR8zg5+RV9Tbf2c5pAWTD2A== - -map-or-similar@^1.5.0: - version "1.5.0" - resolved "https://registry.yarnpkg.com/map-or-similar/-/map-or-similar-1.5.0.tgz#6de2653174adfb5d9edc33c69d3e92a1b76faf08" - integrity sha512-0aF7ZmVon1igznGI4VS30yugpduQW3y3GkcgGJOp7d8x8QrizhigUxjI/m2UojsXXto+jLAH3KSz+xOJTiORjg== - -map-visit@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/map-visit/-/map-visit-1.0.0.tgz#ecdca8f13144e660f1b5bd41f12f3479d98dfb8f" - integrity sha512-4y7uGv8bd2WdM9vpQsiQNo41Ln1NvhvDRuVt0k2JZQ+ezN2uaQes7lZeZ+QQUHOLQAtDaBJ+7wCbi+ab/KFs+w== - dependencies: - object-visit "^1.0.0" - -markdown-table@^3.0.0: - version "3.0.3" - resolved "https://registry.yarnpkg.com/markdown-table/-/markdown-table-3.0.3.tgz#e6331d30e493127e031dd385488b5bd326e4a6bd" - integrity sha512-Z1NL3Tb1M9wH4XESsCDEksWoKTdlUafKc4pt0GRwjUyXaCFZ+dc3g2erqB6zm3szA2IUSi7VnPI+o/9jnxh9hw== - -markdown-to-jsx@^7.4.5: - version "7.5.0" - resolved "https://registry.yarnpkg.com/markdown-to-jsx/-/markdown-to-jsx-7.5.0.tgz#42ece0c71e842560a7d8bd9f81e7a34515c72150" - integrity sha512-RrBNcMHiFPcz/iqIj0n3wclzHXjwS7mzjBNWecKKVhNTIxQepIix6Il/wZCn2Cg5Y1ow2Qi84+eJrryFRWBEWw== - -mathml-tag-names@^2.1.3: - version "2.1.3" - resolved "https://registry.yarnpkg.com/mathml-tag-names/-/mathml-tag-names-2.1.3.tgz#4ddadd67308e780cf16a47685878ee27b736a0a3" - integrity sha512-APMBEanjybaPzUrfqU0IMU5I0AswKMH7k8OTLs0vvV4KZpExkTkY87nR/zpbuTPj+gARop7aGUbl11pnDfW6xg== - -maxstache-stream@^1.0.0: - version "1.0.4" - resolved "https://registry.yarnpkg.com/maxstache-stream/-/maxstache-stream-1.0.4.tgz#9c7f5cab7e5fdd2d90da86143b4e9631ea328040" - integrity sha512-v8qlfPN0pSp7bdSoLo1NTjG43GXGqk5W2NWFnOCq2GlmFFqebGzPCjLKSbShuqIOVorOtZSAy7O/S1OCCRONUw== - dependencies: - maxstache "^1.0.0" - pump "^1.0.0" - split2 "^1.0.0" - through2 "^2.0.0" - -maxstache@^1.0.0: - version "1.0.7" - resolved "https://registry.yarnpkg.com/maxstache/-/maxstache-1.0.7.tgz#2231d5180ba783d5ecfc31c45fedac7ae4276984" - integrity sha512-53ZBxHrZM+W//5AcRVewiLpDunHnucfdzZUGz54Fnvo4tE+J3p8EL66kBrs2UhBXvYKTWckWYYWBqJqoTcenqg== - -md5-hex@^3.0.1: - version "3.0.1" - resolved "https://registry.yarnpkg.com/md5-hex/-/md5-hex-3.0.1.tgz#be3741b510591434b2784d79e556eefc2c9a8e5c" - integrity sha512-BUiRtTtV39LIJwinWBjqVsU9xhdnz7/i889V859IBFpuqGAj6LuOvHv5XLbgZ2R7ptJoJaEcxkv88/h25T7Ciw== - dependencies: - blueimp-md5 "^2.10.0" - -mdast-util-find-and-replace@^3.0.0: - version "3.0.1" - resolved "https://registry.yarnpkg.com/mdast-util-find-and-replace/-/mdast-util-find-and-replace-3.0.1.tgz#a6fc7b62f0994e973490e45262e4bc07607b04e0" - integrity sha512-SG21kZHGC3XRTSUhtofZkBzZTJNM5ecCi0SK2IMKmSXR8vO3peL+kb1O0z7Zl83jKtutG4k5Wv/W7V3/YHvzPA== - dependencies: - "@types/mdast" "^4.0.0" - escape-string-regexp "^5.0.0" - unist-util-is "^6.0.0" - unist-util-visit-parents "^6.0.0" - -mdast-util-from-markdown@^0.8.5: - version "0.8.5" - resolved "https://registry.yarnpkg.com/mdast-util-from-markdown/-/mdast-util-from-markdown-0.8.5.tgz#d1ef2ca42bc377ecb0463a987910dae89bd9a28c" - integrity sha512-2hkTXtYYnr+NubD/g6KGBS/0mFmBcifAsI0yIWRiRo0PjVs6SSOSOdtzbp6kSGnShDN6G5aWZpKQ2lWRy27mWQ== - dependencies: - "@types/mdast" "^3.0.0" - mdast-util-to-string "^2.0.0" - micromark "~2.11.0" - parse-entities "^2.0.0" - unist-util-stringify-position "^2.0.0" - -mdast-util-from-markdown@^1.0.0, mdast-util-from-markdown@^1.1.0: - version "1.3.1" - resolved "https://registry.yarnpkg.com/mdast-util-from-markdown/-/mdast-util-from-markdown-1.3.1.tgz#9421a5a247f10d31d2faed2a30df5ec89ceafcf0" - integrity sha512-4xTO/M8c82qBcnQc1tgpNtubGUW/Y1tBQ1B0i5CtSoelOLKFYlElIr3bvgREYYO5iRqbMY1YuqZng0GVOI8Qww== - dependencies: - "@types/mdast" "^3.0.0" - "@types/unist" "^2.0.0" - decode-named-character-reference "^1.0.0" - mdast-util-to-string "^3.1.0" - micromark "^3.0.0" - micromark-util-decode-numeric-character-reference "^1.0.0" - micromark-util-decode-string "^1.0.0" - micromark-util-normalize-identifier "^1.0.0" - micromark-util-symbol "^1.0.0" - micromark-util-types "^1.0.0" - unist-util-stringify-position "^3.0.0" - uvu "^0.5.0" - -mdast-util-from-markdown@^2.0.0: - version "2.0.1" - resolved "https://registry.yarnpkg.com/mdast-util-from-markdown/-/mdast-util-from-markdown-2.0.1.tgz#32a6e8f512b416e1f51eb817fc64bd867ebcd9cc" - integrity sha512-aJEUyzZ6TzlsX2s5B4Of7lN7EQtAxvtradMMglCQDyaTFgse6CmtmdJ15ElnVRlCg1vpNyVtbem0PWzlNieZsA== - dependencies: - "@types/mdast" "^4.0.0" - "@types/unist" "^3.0.0" - decode-named-character-reference "^1.0.0" - devlop "^1.0.0" - mdast-util-to-string "^4.0.0" - micromark "^4.0.0" - micromark-util-decode-numeric-character-reference "^2.0.0" - micromark-util-decode-string "^2.0.0" - micromark-util-normalize-identifier "^2.0.0" - micromark-util-symbol "^2.0.0" - micromark-util-types "^2.0.0" - unist-util-stringify-position "^4.0.0" - -mdast-util-gfm-autolink-literal@^2.0.0: - version "2.0.1" - resolved "https://registry.yarnpkg.com/mdast-util-gfm-autolink-literal/-/mdast-util-gfm-autolink-literal-2.0.1.tgz#abd557630337bd30a6d5a4bd8252e1c2dc0875d5" - integrity sha512-5HVP2MKaP6L+G6YaxPNjuL0BPrq9orG3TsrZ9YXbA3vDw/ACI4MEsnoDpn6ZNm7GnZgtAcONJyPhOP8tNJQavQ== - dependencies: - "@types/mdast" "^4.0.0" - ccount "^2.0.0" - devlop "^1.0.0" - mdast-util-find-and-replace "^3.0.0" - micromark-util-character "^2.0.0" - -mdast-util-gfm-footnote@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/mdast-util-gfm-footnote/-/mdast-util-gfm-footnote-2.0.0.tgz#25a1753c7d16db8bfd53cd84fe50562bd1e6d6a9" - integrity sha512-5jOT2boTSVkMnQ7LTrd6n/18kqwjmuYqo7JUPe+tRCY6O7dAuTFMtTPauYYrMPpox9hlN0uOx/FL8XvEfG9/mQ== - dependencies: - "@types/mdast" "^4.0.0" - devlop "^1.1.0" - mdast-util-from-markdown "^2.0.0" - mdast-util-to-markdown "^2.0.0" - micromark-util-normalize-identifier "^2.0.0" - -mdast-util-gfm-strikethrough@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/mdast-util-gfm-strikethrough/-/mdast-util-gfm-strikethrough-2.0.0.tgz#d44ef9e8ed283ac8c1165ab0d0dfd058c2764c16" - integrity sha512-mKKb915TF+OC5ptj5bJ7WFRPdYtuHv0yTRxK2tJvi+BDqbkiG7h7u/9SI89nRAYcmap2xHQL9D+QG/6wSrTtXg== - dependencies: - "@types/mdast" "^4.0.0" - mdast-util-from-markdown "^2.0.0" - mdast-util-to-markdown "^2.0.0" - -mdast-util-gfm-table@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/mdast-util-gfm-table/-/mdast-util-gfm-table-2.0.0.tgz#7a435fb6223a72b0862b33afbd712b6dae878d38" - integrity sha512-78UEvebzz/rJIxLvE7ZtDd/vIQ0RHv+3Mh5DR96p7cS7HsBhYIICDBCu8csTNWNO6tBWfqXPWekRuj2FNOGOZg== - dependencies: - "@types/mdast" "^4.0.0" - devlop "^1.0.0" - markdown-table "^3.0.0" - mdast-util-from-markdown "^2.0.0" - mdast-util-to-markdown "^2.0.0" - -mdast-util-gfm-task-list-item@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/mdast-util-gfm-task-list-item/-/mdast-util-gfm-task-list-item-2.0.0.tgz#e68095d2f8a4303ef24094ab642e1047b991a936" - integrity sha512-IrtvNvjxC1o06taBAVJznEnkiHxLFTzgonUdy8hzFVeDun0uTjxxrRGVaNFqkU1wJR3RBPEfsxmU6jDWPofrTQ== - dependencies: - "@types/mdast" "^4.0.0" - devlop "^1.0.0" - mdast-util-from-markdown "^2.0.0" - mdast-util-to-markdown "^2.0.0" - -mdast-util-gfm@^3.0.0: - version "3.0.0" - resolved "https://registry.yarnpkg.com/mdast-util-gfm/-/mdast-util-gfm-3.0.0.tgz#3f2aecc879785c3cb6a81ff3a243dc11eca61095" - integrity sha512-dgQEX5Amaq+DuUqf26jJqSK9qgixgd6rYDHAv4aTBuA92cTknZlKpPfa86Z/s8Dj8xsAQpFfBmPUHWJBWqS4Bw== - dependencies: - mdast-util-from-markdown "^2.0.0" - mdast-util-gfm-autolink-literal "^2.0.0" - mdast-util-gfm-footnote "^2.0.0" - mdast-util-gfm-strikethrough "^2.0.0" - mdast-util-gfm-table "^2.0.0" - mdast-util-gfm-task-list-item "^2.0.0" - mdast-util-to-markdown "^2.0.0" - -mdast-util-mdx-expression@^1.0.0: - version "1.3.2" - resolved "https://registry.yarnpkg.com/mdast-util-mdx-expression/-/mdast-util-mdx-expression-1.3.2.tgz#d027789e67524d541d6de543f36d51ae2586f220" - integrity sha512-xIPmR5ReJDu/DHH1OoIT1HkuybIfRGYRywC+gJtI7qHjCJp/M9jrmBEJW22O8lskDWm562BX2W8TiAwRTb0rKA== - dependencies: - "@types/estree-jsx" "^1.0.0" - "@types/hast" "^2.0.0" - "@types/mdast" "^3.0.0" - mdast-util-from-markdown "^1.0.0" - mdast-util-to-markdown "^1.0.0" - -mdast-util-mdx-jsx@^2.0.0: - version "2.1.4" - resolved "https://registry.yarnpkg.com/mdast-util-mdx-jsx/-/mdast-util-mdx-jsx-2.1.4.tgz#7c1f07f10751a78963cfabee38017cbc8b7786d1" - integrity sha512-DtMn9CmVhVzZx3f+optVDF8yFgQVt7FghCRNdlIaS3X5Bnym3hZwPbg/XW86vdpKjlc1PVj26SpnLGeJBXD3JA== - dependencies: - "@types/estree-jsx" "^1.0.0" - "@types/hast" "^2.0.0" - "@types/mdast" "^3.0.0" - "@types/unist" "^2.0.0" - ccount "^2.0.0" - mdast-util-from-markdown "^1.1.0" - mdast-util-to-markdown "^1.3.0" - parse-entities "^4.0.0" - stringify-entities "^4.0.0" - unist-util-remove-position "^4.0.0" - unist-util-stringify-position "^3.0.0" - vfile-message "^3.0.0" - -mdast-util-mdx@^2.0.0: - version "2.0.1" - resolved "https://registry.yarnpkg.com/mdast-util-mdx/-/mdast-util-mdx-2.0.1.tgz#49b6e70819b99bb615d7223c088d295e53bb810f" - integrity sha512-38w5y+r8nyKlGvNjSEqWrhG0w5PmnRA+wnBvm+ulYCct7nsGYhFVb0lljS9bQav4psDAS1eGkP2LMVcZBi/aqw== - dependencies: - mdast-util-from-markdown "^1.0.0" - mdast-util-mdx-expression "^1.0.0" - mdast-util-mdx-jsx "^2.0.0" - mdast-util-mdxjs-esm "^1.0.0" - mdast-util-to-markdown "^1.0.0" - -mdast-util-mdxjs-esm@^1.0.0: - version "1.3.1" - resolved "https://registry.yarnpkg.com/mdast-util-mdxjs-esm/-/mdast-util-mdxjs-esm-1.3.1.tgz#645d02cd607a227b49721d146fd81796b2e2d15b" - integrity sha512-SXqglS0HrEvSdUEfoXFtcg7DRl7S2cwOXc7jkuusG472Mmjag34DUDeOJUZtl+BVnyeO1frIgVpHlNRWc2gk/w== - dependencies: - "@types/estree-jsx" "^1.0.0" - "@types/hast" "^2.0.0" - "@types/mdast" "^3.0.0" - mdast-util-from-markdown "^1.0.0" - mdast-util-to-markdown "^1.0.0" - -mdast-util-phrasing@^3.0.0: - version "3.0.1" - resolved "https://registry.yarnpkg.com/mdast-util-phrasing/-/mdast-util-phrasing-3.0.1.tgz#c7c21d0d435d7fb90956038f02e8702781f95463" - integrity sha512-WmI1gTXUBJo4/ZmSk79Wcb2HcjPJBzM1nlI/OUWA8yk2X9ik3ffNbBGsU+09BFmXaL1IBb9fiuvq6/KMiNycSg== - dependencies: - "@types/mdast" "^3.0.0" - unist-util-is "^5.0.0" - -mdast-util-phrasing@^4.0.0: - version "4.1.0" - resolved "https://registry.yarnpkg.com/mdast-util-phrasing/-/mdast-util-phrasing-4.1.0.tgz#7cc0a8dec30eaf04b7b1a9661a92adb3382aa6e3" - integrity sha512-TqICwyvJJpBwvGAMZjj4J2n0X8QWp21b9l0o7eXyVJ25YNWYbJDVIyD1bZXE6WtV6RmKJVYmQAKWa0zWOABz2w== - dependencies: - "@types/mdast" "^4.0.0" - unist-util-is "^6.0.0" - -mdast-util-to-markdown@^1.0.0, mdast-util-to-markdown@^1.3.0: - version "1.5.0" - resolved "https://registry.yarnpkg.com/mdast-util-to-markdown/-/mdast-util-to-markdown-1.5.0.tgz#c13343cb3fc98621911d33b5cd42e7d0731171c6" - integrity sha512-bbv7TPv/WC49thZPg3jXuqzuvI45IL2EVAr/KxF0BSdHsU0ceFHOmwQn6evxAh1GaoK/6GQ1wp4R4oW2+LFL/A== - dependencies: - "@types/mdast" "^3.0.0" - "@types/unist" "^2.0.0" - longest-streak "^3.0.0" - mdast-util-phrasing "^3.0.0" - mdast-util-to-string "^3.0.0" - micromark-util-decode-string "^1.0.0" - unist-util-visit "^4.0.0" - zwitch "^2.0.0" - -mdast-util-to-markdown@^2.0.0: - version "2.1.0" - resolved "https://registry.yarnpkg.com/mdast-util-to-markdown/-/mdast-util-to-markdown-2.1.0.tgz#9813f1d6e0cdaac7c244ec8c6dabfdb2102ea2b4" - integrity sha512-SR2VnIEdVNCJbP6y7kVTJgPLifdr8WEU440fQec7qHoHOUz/oJ2jmNRqdDQ3rbiStOXb2mCDGTuwsK5OPUgYlQ== - dependencies: - "@types/mdast" "^4.0.0" - "@types/unist" "^3.0.0" - longest-streak "^3.0.0" - mdast-util-phrasing "^4.0.0" - mdast-util-to-string "^4.0.0" - micromark-util-decode-string "^2.0.0" - unist-util-visit "^5.0.0" - zwitch "^2.0.0" - -mdast-util-to-string@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/mdast-util-to-string/-/mdast-util-to-string-2.0.0.tgz#b8cfe6a713e1091cb5b728fc48885a4767f8b97b" - integrity sha512-AW4DRS3QbBayY/jJmD8437V1Gombjf8RSOUCMFBuo5iHi58AGEgVCKQ+ezHkZZDpAQS75hcBMpLqjpJTjtUL7w== - -mdast-util-to-string@^3.0.0, mdast-util-to-string@^3.1.0: - version "3.2.0" - resolved "https://registry.yarnpkg.com/mdast-util-to-string/-/mdast-util-to-string-3.2.0.tgz#66f7bb6324756741c5f47a53557f0cbf16b6f789" - integrity sha512-V4Zn/ncyN1QNSqSBxTrMOLpjr+IKdHl2v3KVLoWmDPscP4r9GcCi71gjgvUV1SFSKh92AjAG4peFuBl2/YgCJg== - dependencies: - "@types/mdast" "^3.0.0" - -mdast-util-to-string@^4.0.0: - version "4.0.0" - resolved "https://registry.yarnpkg.com/mdast-util-to-string/-/mdast-util-to-string-4.0.0.tgz#7a5121475556a04e7eddeb67b264aae79d312814" - integrity sha512-0H44vDimn51F0YwvxSJSm0eCDOJTRlmN0R1yBh4HLj9wiV1Dn0QoXGbvFAWj2hSItVTlCmBF1hqKlIyUBVFLPg== - dependencies: - "@types/mdast" "^4.0.0" - -mdn-data@2.0.28: - version "2.0.28" - resolved "https://registry.yarnpkg.com/mdn-data/-/mdn-data-2.0.28.tgz#5ec48e7bef120654539069e1ae4ddc81ca490eba" - integrity sha512-aylIc7Z9y4yzHYAJNuESG3hfhC+0Ibp/MAMiaOZgNv4pmEdFyfZhhhny4MNiAfWdBQ1RQ2mfDWmM1x8SvGyp8g== - -mdn-data@2.0.30: - version "2.0.30" - resolved "https://registry.yarnpkg.com/mdn-data/-/mdn-data-2.0.30.tgz#ce4df6f80af6cfbe218ecd5c552ba13c4dfa08cc" - integrity sha512-GaqWWShW4kv/G9IEucWScBx9G1/vsFZZJUO+tD26M8J8z3Kw5RDQjaoZe03YAClgeS/SWPOcb4nkFBTEi5DUEA== - -media-typer@0.3.0: - version "0.3.0" - resolved "https://registry.yarnpkg.com/media-typer/-/media-typer-0.3.0.tgz#8710d7af0aa626f8fffa1ce00168545263255748" - integrity sha512-dq+qelQ9akHpcOl/gUVRTxVIOkAJ1wR3QAvb4RsVjS8oVoFjDGTc679wJYmUmknUF5HwMLOgb5O+a3KxfWapPQ== - -memfs@^3.4.1, memfs@^3.4.12: - version "3.6.0" - resolved "https://registry.yarnpkg.com/memfs/-/memfs-3.6.0.tgz#d7a2110f86f79dd950a8b6df6d57bc984aa185f6" - integrity sha512-EGowvkkgbMcIChjMTMkESFDbZeSh8xZ7kNSF0hAiAN4Jh6jgHCRS0Ga/+C8y6Au+oqpezRHCfPsmJ2+DwAgiwQ== - dependencies: - fs-monkey "^1.0.4" - -memoize-one@^6.0.0: - version "6.0.0" - resolved "https://registry.yarnpkg.com/memoize-one/-/memoize-one-6.0.0.tgz#b2591b871ed82948aee4727dc6abceeeac8c1045" - integrity sha512-rkpe71W0N0c0Xz6QD0eJETuWAJGnJ9afsl1srmwPrI+yBCkge5EycXXbYRyvL29zZVUWQCY7InPRCv3GDXuZNw== - -memoizerific@^1.11.3: - version "1.11.3" - resolved "https://registry.yarnpkg.com/memoizerific/-/memoizerific-1.11.3.tgz#7c87a4646444c32d75438570905f2dbd1b1a805a" - integrity sha512-/EuHYwAPdLtXwAwSZkh/Gutery6pD2KYd44oQLhAvQp/50mpyduZh8Q7PYHXTCJ+wuXxt7oij2LXyIJOOYFPog== - dependencies: - map-or-similar "^1.5.0" - -memorystream@^0.3.1: - version "0.3.1" - resolved "https://registry.yarnpkg.com/memorystream/-/memorystream-0.3.1.tgz#86d7090b30ce455d63fbae12dda51a47ddcaf9b2" - integrity sha512-S3UwM3yj5mtUSEfP41UZmt/0SCoVYUcU1rkXv+BQ5Ig8ndL4sPoJNBUJERafdPb5jjHJGuMgytgKvKIf58XNBw== - -meow@9.0.0, meow@^9.0.0: - version "9.0.0" - resolved "https://registry.yarnpkg.com/meow/-/meow-9.0.0.tgz#cd9510bc5cac9dee7d03c73ee1f9ad959f4ea364" - integrity sha512-+obSblOQmRhcyBt62furQqRAQpNyWXo8BuQ5bN7dG8wmwQ+vwHKp/rCFD4CrTP8CsDQD1sjoZ94K417XEUk8IQ== - dependencies: - "@types/minimist" "^1.2.0" - camelcase-keys "^6.2.2" - decamelize "^1.2.0" - decamelize-keys "^1.1.0" - hard-rejection "^2.1.0" - minimist-options "4.1.0" - normalize-package-data "^3.0.0" - read-pkg-up "^7.0.1" - redent "^3.0.0" - trim-newlines "^3.0.0" - type-fest "^0.18.0" - yargs-parser "^20.2.3" - -meow@^8.0.0: - version "8.1.2" - resolved "https://registry.yarnpkg.com/meow/-/meow-8.1.2.tgz#bcbe45bda0ee1729d350c03cffc8395a36c4e897" - integrity sha512-r85E3NdZ+mpYk1C6RjPFEMSE+s1iZMuHtsHAqY0DT3jZczl0diWUZ8g6oU7h0M9cD2EL+PzaYghhCLzR0ZNn5Q== - dependencies: - "@types/minimist" "^1.2.0" - camelcase-keys "^6.2.2" - decamelize-keys "^1.1.0" - hard-rejection "^2.1.0" - minimist-options "4.1.0" - normalize-package-data "^3.0.0" - read-pkg-up "^7.0.1" - redent "^3.0.0" - trim-newlines "^3.0.0" - type-fest "^0.18.0" - yargs-parser "^20.2.3" - -merge-descriptors@1.0.3: - version "1.0.3" - resolved "https://registry.yarnpkg.com/merge-descriptors/-/merge-descriptors-1.0.3.tgz#d80319a65f3c7935351e5cfdac8f9318504dbed5" - integrity sha512-gaNvAS7TZ897/rVaZ0nMtAyxNyi/pdbjbAwUpFQpN70GqnVfOiXpeUUMKRBmzXaSQ8DdTX4/0ms62r2K+hE6mQ== - -merge-options@^3.0.4: - version "3.0.4" - resolved "https://registry.yarnpkg.com/merge-options/-/merge-options-3.0.4.tgz#84709c2aa2a4b24c1981f66c179fe5565cc6dbb7" - integrity sha512-2Sug1+knBjkaMsMgf1ctR1Ujx+Ayku4EdJN4Z+C2+JzoeF7A3OZ9KM2GY0CpQS51NR61LTurMJrRKPhSs3ZRTQ== - dependencies: - is-plain-obj "^2.1.0" - -merge-stream@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/merge-stream/-/merge-stream-2.0.0.tgz#52823629a14dd00c9770fb6ad47dc6310f2c1f60" - integrity sha512-abv/qOcuPfk3URPfDzmZU1LKmuw8kT+0nIHvKrKgFrwifol/doWcdA4ZqsWQ8ENrFKkd67Mfpo/LovbIUsbt3w== - -merge2@^1.2.3, merge2@^1.3.0, merge2@^1.4.1: - version "1.4.1" - resolved "https://registry.yarnpkg.com/merge2/-/merge2-1.4.1.tgz#4368892f885e907455a6fd7dc55c0c9d404990ae" - integrity sha512-8q7VEgMJW4J8tcfVPy8g09NcQwZdbwFEqhe/WZkoIzjn/3TGDwtOCYtXGxA3O8tPzpczCCDgv+P2P5y00ZJOOg== - -methods@~1.1.2: - version "1.1.2" - resolved "https://registry.yarnpkg.com/methods/-/methods-1.1.2.tgz#5529a4d67654134edcc5266656835b0f851afcee" - integrity sha512-iclAHeNqNm68zFtnZ0e+1L2yUIdvzNoauKU4WBA3VvH/vPFieF7qfRlwUZU+DA9P9bPXIS90ulxoUoCH23sV2w== - -micro-api-client@^3.3.0: - version "3.3.0" - resolved "https://registry.yarnpkg.com/micro-api-client/-/micro-api-client-3.3.0.tgz#52dd567d322f10faffe63d19d4feeac4e4ffd215" - integrity sha512-y0y6CUB9RLVsy3kfgayU28746QrNMpSm9O/AYGNsBgOkJr/X/Jk0VLGoO8Ude7Bpa8adywzF+MzXNZRFRsNPhg== - -micro-memoize@^4.1.2: - version "4.1.2" - resolved "https://registry.yarnpkg.com/micro-memoize/-/micro-memoize-4.1.2.tgz#ce719c1ba1e41592f1cd91c64c5f41dcbf135f36" - integrity sha512-+HzcV2H+rbSJzApgkj0NdTakkC+bnyeiUxgT6/m7mjcz1CmM22KYFKp+EVj1sWe4UYcnriJr5uqHQD/gMHLD+g== - -micromark-core-commonmark@^1.0.0, micromark-core-commonmark@^1.0.1: - version "1.1.0" - resolved "https://registry.yarnpkg.com/micromark-core-commonmark/-/micromark-core-commonmark-1.1.0.tgz#1386628df59946b2d39fb2edfd10f3e8e0a75bb8" - integrity sha512-BgHO1aRbolh2hcrzL2d1La37V0Aoz73ymF8rAcKnohLy93titmv62E0gP8Hrx9PKcKrqCZ1BbLGbP3bEhoXYlw== - dependencies: - decode-named-character-reference "^1.0.0" - micromark-factory-destination "^1.0.0" - micromark-factory-label "^1.0.0" - micromark-factory-space "^1.0.0" - micromark-factory-title "^1.0.0" - micromark-factory-whitespace "^1.0.0" - micromark-util-character "^1.0.0" - micromark-util-chunked "^1.0.0" - micromark-util-classify-character "^1.0.0" - micromark-util-html-tag-name "^1.0.0" - micromark-util-normalize-identifier "^1.0.0" - micromark-util-resolve-all "^1.0.0" - micromark-util-subtokenize "^1.0.0" - micromark-util-symbol "^1.0.0" - micromark-util-types "^1.0.1" - uvu "^0.5.0" - -micromark-core-commonmark@^2.0.0: - version "2.0.1" - resolved "https://registry.yarnpkg.com/micromark-core-commonmark/-/micromark-core-commonmark-2.0.1.tgz#9a45510557d068605c6e9a80f282b2bb8581e43d" - integrity sha512-CUQyKr1e///ZODyD1U3xit6zXwy1a8q2a1S1HKtIlmgvurrEpaw/Y9y6KSIbF8P59cn/NjzHyO+Q2fAyYLQrAA== - dependencies: - decode-named-character-reference "^1.0.0" - devlop "^1.0.0" - micromark-factory-destination "^2.0.0" - micromark-factory-label "^2.0.0" - micromark-factory-space "^2.0.0" - micromark-factory-title "^2.0.0" - micromark-factory-whitespace "^2.0.0" - micromark-util-character "^2.0.0" - micromark-util-chunked "^2.0.0" - micromark-util-classify-character "^2.0.0" - micromark-util-html-tag-name "^2.0.0" - micromark-util-normalize-identifier "^2.0.0" - micromark-util-resolve-all "^2.0.0" - micromark-util-subtokenize "^2.0.0" - micromark-util-symbol "^2.0.0" - micromark-util-types "^2.0.0" - -micromark-extension-gfm-autolink-literal@^2.0.0: - version "2.1.0" - resolved "https://registry.yarnpkg.com/micromark-extension-gfm-autolink-literal/-/micromark-extension-gfm-autolink-literal-2.1.0.tgz#6286aee9686c4462c1e3552a9d505feddceeb935" - integrity sha512-oOg7knzhicgQ3t4QCjCWgTmfNhvQbDDnJeVu9v81r7NltNCVmhPy1fJRX27pISafdjL+SVc4d3l48Gb6pbRypw== - dependencies: - micromark-util-character "^2.0.0" - micromark-util-sanitize-uri "^2.0.0" - micromark-util-symbol "^2.0.0" - micromark-util-types "^2.0.0" - -micromark-extension-gfm-footnote@^2.0.0: - version "2.1.0" - resolved "https://registry.yarnpkg.com/micromark-extension-gfm-footnote/-/micromark-extension-gfm-footnote-2.1.0.tgz#4dab56d4e398b9853f6fe4efac4fc9361f3e0750" - integrity sha512-/yPhxI1ntnDNsiHtzLKYnE3vf9JZ6cAisqVDauhp4CEHxlb4uoOTxOCJ+9s51bIB8U1N1FJ1RXOKTIlD5B/gqw== - dependencies: - devlop "^1.0.0" - micromark-core-commonmark "^2.0.0" - micromark-factory-space "^2.0.0" - micromark-util-character "^2.0.0" - micromark-util-normalize-identifier "^2.0.0" - micromark-util-sanitize-uri "^2.0.0" - micromark-util-symbol "^2.0.0" - micromark-util-types "^2.0.0" - -micromark-extension-gfm-strikethrough@^2.0.0: - version "2.1.0" - resolved "https://registry.yarnpkg.com/micromark-extension-gfm-strikethrough/-/micromark-extension-gfm-strikethrough-2.1.0.tgz#86106df8b3a692b5f6a92280d3879be6be46d923" - integrity sha512-ADVjpOOkjz1hhkZLlBiYA9cR2Anf8F4HqZUO6e5eDcPQd0Txw5fxLzzxnEkSkfnD0wziSGiv7sYhk/ktvbf1uw== - dependencies: - devlop "^1.0.0" - micromark-util-chunked "^2.0.0" - micromark-util-classify-character "^2.0.0" - micromark-util-resolve-all "^2.0.0" - micromark-util-symbol "^2.0.0" - micromark-util-types "^2.0.0" - -micromark-extension-gfm-table@^2.0.0: - version "2.1.0" - resolved "https://registry.yarnpkg.com/micromark-extension-gfm-table/-/micromark-extension-gfm-table-2.1.0.tgz#5cadedfbb29fca7abf752447967003dc3b6583c9" - integrity sha512-Ub2ncQv+fwD70/l4ou27b4YzfNaCJOvyX4HxXU15m7mpYY+rjuWzsLIPZHJL253Z643RpbcP1oeIJlQ/SKW67g== - dependencies: - devlop "^1.0.0" - micromark-factory-space "^2.0.0" - micromark-util-character "^2.0.0" - micromark-util-symbol "^2.0.0" - micromark-util-types "^2.0.0" - -micromark-extension-gfm-tagfilter@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/micromark-extension-gfm-tagfilter/-/micromark-extension-gfm-tagfilter-2.0.0.tgz#f26d8a7807b5985fba13cf61465b58ca5ff7dc57" - integrity sha512-xHlTOmuCSotIA8TW1mDIM6X2O1SiX5P9IuDtqGonFhEK0qgRI4yeC6vMxEV2dgyr2TiD+2PQ10o+cOhdVAcwfg== - dependencies: - micromark-util-types "^2.0.0" - -micromark-extension-gfm-task-list-item@^2.0.0: - version "2.1.0" - resolved "https://registry.yarnpkg.com/micromark-extension-gfm-task-list-item/-/micromark-extension-gfm-task-list-item-2.1.0.tgz#bcc34d805639829990ec175c3eea12bb5b781f2c" - integrity sha512-qIBZhqxqI6fjLDYFTBIa4eivDMnP+OZqsNwmQ3xNLE4Cxwc+zfQEfbs6tzAo2Hjq+bh6q5F+Z8/cksrLFYWQQw== - dependencies: - devlop "^1.0.0" - micromark-factory-space "^2.0.0" - micromark-util-character "^2.0.0" - micromark-util-symbol "^2.0.0" - micromark-util-types "^2.0.0" - -micromark-extension-gfm@^3.0.0: - version "3.0.0" - resolved "https://registry.yarnpkg.com/micromark-extension-gfm/-/micromark-extension-gfm-3.0.0.tgz#3e13376ab95dd7a5cfd0e29560dfe999657b3c5b" - integrity sha512-vsKArQsicm7t0z2GugkCKtZehqUm31oeGBV/KVSorWSy8ZlNAv7ytjFhvaryUiCUJYqs+NoE6AFhpQvBTM6Q4w== - dependencies: - micromark-extension-gfm-autolink-literal "^2.0.0" - micromark-extension-gfm-footnote "^2.0.0" - micromark-extension-gfm-strikethrough "^2.0.0" - micromark-extension-gfm-table "^2.0.0" - micromark-extension-gfm-tagfilter "^2.0.0" - micromark-extension-gfm-task-list-item "^2.0.0" - micromark-util-combine-extensions "^2.0.0" - micromark-util-types "^2.0.0" - -micromark-extension-mdx-expression@^1.0.0: - version "1.0.8" - resolved "https://registry.yarnpkg.com/micromark-extension-mdx-expression/-/micromark-extension-mdx-expression-1.0.8.tgz#5bc1f5fd90388e8293b3ef4f7c6f06c24aff6314" - integrity sha512-zZpeQtc5wfWKdzDsHRBY003H2Smg+PUi2REhqgIhdzAa5xonhP03FcXxqFSerFiNUr5AWmHpaNPQTBVOS4lrXw== - dependencies: - "@types/estree" "^1.0.0" - micromark-factory-mdx-expression "^1.0.0" - micromark-factory-space "^1.0.0" - micromark-util-character "^1.0.0" - micromark-util-events-to-acorn "^1.0.0" - micromark-util-symbol "^1.0.0" - micromark-util-types "^1.0.0" - uvu "^0.5.0" - -micromark-extension-mdx-jsx@^1.0.0: - version "1.0.5" - resolved "https://registry.yarnpkg.com/micromark-extension-mdx-jsx/-/micromark-extension-mdx-jsx-1.0.5.tgz#e72d24b7754a30d20fb797ece11e2c4e2cae9e82" - integrity sha512-gPH+9ZdmDflbu19Xkb8+gheqEDqkSpdCEubQyxuz/Hn8DOXiXvrXeikOoBA71+e8Pfi0/UYmU3wW3H58kr7akA== - dependencies: - "@types/acorn" "^4.0.0" - "@types/estree" "^1.0.0" - estree-util-is-identifier-name "^2.0.0" - micromark-factory-mdx-expression "^1.0.0" - micromark-factory-space "^1.0.0" - micromark-util-character "^1.0.0" - micromark-util-symbol "^1.0.0" - micromark-util-types "^1.0.0" - uvu "^0.5.0" - vfile-message "^3.0.0" - -micromark-extension-mdx-md@^1.0.0: - version "1.0.1" - resolved "https://registry.yarnpkg.com/micromark-extension-mdx-md/-/micromark-extension-mdx-md-1.0.1.tgz#595d4b2f692b134080dca92c12272ab5b74c6d1a" - integrity sha512-7MSuj2S7xjOQXAjjkbjBsHkMtb+mDGVW6uI2dBL9snOBCbZmoNgDAeZ0nSn9j3T42UE/g2xVNMn18PJxZvkBEA== - dependencies: - micromark-util-types "^1.0.0" - -micromark-extension-mdxjs-esm@^1.0.0: - version "1.0.5" - resolved "https://registry.yarnpkg.com/micromark-extension-mdxjs-esm/-/micromark-extension-mdxjs-esm-1.0.5.tgz#e4f8be9c14c324a80833d8d3a227419e2b25dec1" - integrity sha512-xNRBw4aoURcyz/S69B19WnZAkWJMxHMT5hE36GtDAyhoyn/8TuAeqjFJQlwk+MKQsUD7b3l7kFX+vlfVWgcX1w== - dependencies: - "@types/estree" "^1.0.0" - micromark-core-commonmark "^1.0.0" - micromark-util-character "^1.0.0" - micromark-util-events-to-acorn "^1.0.0" - micromark-util-symbol "^1.0.0" - micromark-util-types "^1.0.0" - unist-util-position-from-estree "^1.1.0" - uvu "^0.5.0" - vfile-message "^3.0.0" - -micromark-extension-mdxjs@^1.0.0: - version "1.0.1" - resolved "https://registry.yarnpkg.com/micromark-extension-mdxjs/-/micromark-extension-mdxjs-1.0.1.tgz#f78d4671678d16395efeda85170c520ee795ded8" - integrity sha512-7YA7hF6i5eKOfFUzZ+0z6avRG52GpWR8DL+kN47y3f2KhxbBZMhmxe7auOeaTBrW2DenbbZTf1ea9tA2hDpC2Q== - dependencies: - acorn "^8.0.0" - acorn-jsx "^5.0.0" - micromark-extension-mdx-expression "^1.0.0" - micromark-extension-mdx-jsx "^1.0.0" - micromark-extension-mdx-md "^1.0.0" - micromark-extension-mdxjs-esm "^1.0.0" - micromark-util-combine-extensions "^1.0.0" - micromark-util-types "^1.0.0" - -micromark-factory-destination@^1.0.0: - version "1.1.0" - resolved "https://registry.yarnpkg.com/micromark-factory-destination/-/micromark-factory-destination-1.1.0.tgz#eb815957d83e6d44479b3df640f010edad667b9f" - integrity sha512-XaNDROBgx9SgSChd69pjiGKbV+nfHGDPVYFs5dOoDd7ZnMAE+Cuu91BCpsY8RT2NP9vo/B8pds2VQNCLiu0zhg== - dependencies: - micromark-util-character "^1.0.0" - micromark-util-symbol "^1.0.0" - micromark-util-types "^1.0.0" - -micromark-factory-destination@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/micromark-factory-destination/-/micromark-factory-destination-2.0.0.tgz#857c94debd2c873cba34e0445ab26b74f6a6ec07" - integrity sha512-j9DGrQLm/Uhl2tCzcbLhy5kXsgkHUrjJHg4fFAeoMRwJmJerT9aw4FEhIbZStWN8A3qMwOp1uzHr4UL8AInxtA== - dependencies: - micromark-util-character "^2.0.0" - micromark-util-symbol "^2.0.0" - micromark-util-types "^2.0.0" - -micromark-factory-label@^1.0.0: - version "1.1.0" - resolved "https://registry.yarnpkg.com/micromark-factory-label/-/micromark-factory-label-1.1.0.tgz#cc95d5478269085cfa2a7282b3de26eb2e2dec68" - integrity sha512-OLtyez4vZo/1NjxGhcpDSbHQ+m0IIGnT8BoPamh+7jVlzLJBH98zzuCoUeMxvM6WsNeh8wx8cKvqLiPHEACn0w== - dependencies: - micromark-util-character "^1.0.0" - micromark-util-symbol "^1.0.0" - micromark-util-types "^1.0.0" - uvu "^0.5.0" - -micromark-factory-label@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/micromark-factory-label/-/micromark-factory-label-2.0.0.tgz#17c5c2e66ce39ad6f4fc4cbf40d972f9096f726a" - integrity sha512-RR3i96ohZGde//4WSe/dJsxOX6vxIg9TimLAS3i4EhBAFx8Sm5SmqVfR8E87DPSR31nEAjZfbt91OMZWcNgdZw== - dependencies: - devlop "^1.0.0" - micromark-util-character "^2.0.0" - micromark-util-symbol "^2.0.0" - micromark-util-types "^2.0.0" - -micromark-factory-mdx-expression@^1.0.0: - version "1.0.9" - resolved "https://registry.yarnpkg.com/micromark-factory-mdx-expression/-/micromark-factory-mdx-expression-1.0.9.tgz#57ba4571b69a867a1530f34741011c71c73a4976" - integrity sha512-jGIWzSmNfdnkJq05c7b0+Wv0Kfz3NJ3N4cBjnbO4zjXIlxJr+f8lk+5ZmwFvqdAbUy2q6B5rCY//g0QAAaXDWA== - dependencies: - "@types/estree" "^1.0.0" - micromark-util-character "^1.0.0" - micromark-util-events-to-acorn "^1.0.0" - micromark-util-symbol "^1.0.0" - micromark-util-types "^1.0.0" - unist-util-position-from-estree "^1.0.0" - uvu "^0.5.0" - vfile-message "^3.0.0" - -micromark-factory-space@^1.0.0: - version "1.1.0" - resolved "https://registry.yarnpkg.com/micromark-factory-space/-/micromark-factory-space-1.1.0.tgz#c8f40b0640a0150751d3345ed885a080b0d15faf" - integrity sha512-cRzEj7c0OL4Mw2v6nwzttyOZe8XY/Z8G0rzmWQZTBi/jjwyw/U4uqKtUORXQrR5bAZZnbTI/feRV/R7hc4jQYQ== - dependencies: - micromark-util-character "^1.0.0" - micromark-util-types "^1.0.0" - -micromark-factory-space@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/micromark-factory-space/-/micromark-factory-space-2.0.0.tgz#5e7afd5929c23b96566d0e1ae018ae4fcf81d030" - integrity sha512-TKr+LIDX2pkBJXFLzpyPyljzYK3MtmllMUMODTQJIUfDGncESaqB90db9IAUcz4AZAJFdd8U9zOp9ty1458rxg== - dependencies: - micromark-util-character "^2.0.0" - micromark-util-types "^2.0.0" - -micromark-factory-title@^1.0.0: - version "1.1.0" - resolved "https://registry.yarnpkg.com/micromark-factory-title/-/micromark-factory-title-1.1.0.tgz#dd0fe951d7a0ac71bdc5ee13e5d1465ad7f50ea1" - integrity sha512-J7n9R3vMmgjDOCY8NPw55jiyaQnH5kBdV2/UXCtZIpnHH3P6nHUKaH7XXEYuWwx/xUJcawa8plLBEjMPU24HzQ== - dependencies: - micromark-factory-space "^1.0.0" - micromark-util-character "^1.0.0" - micromark-util-symbol "^1.0.0" - micromark-util-types "^1.0.0" - -micromark-factory-title@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/micromark-factory-title/-/micromark-factory-title-2.0.0.tgz#726140fc77892af524705d689e1cf06c8a83ea95" - integrity sha512-jY8CSxmpWLOxS+t8W+FG3Xigc0RDQA9bKMY/EwILvsesiRniiVMejYTE4wumNc2f4UbAa4WsHqe3J1QS1sli+A== - dependencies: - micromark-factory-space "^2.0.0" - micromark-util-character "^2.0.0" - micromark-util-symbol "^2.0.0" - micromark-util-types "^2.0.0" - -micromark-factory-whitespace@^1.0.0: - version "1.1.0" - resolved "https://registry.yarnpkg.com/micromark-factory-whitespace/-/micromark-factory-whitespace-1.1.0.tgz#798fb7489f4c8abafa7ca77eed6b5745853c9705" - integrity sha512-v2WlmiymVSp5oMg+1Q0N1Lxmt6pMhIHD457whWM7/GUlEks1hI9xj5w3zbc4uuMKXGisksZk8DzP2UyGbGqNsQ== - dependencies: - micromark-factory-space "^1.0.0" - micromark-util-character "^1.0.0" - micromark-util-symbol "^1.0.0" - micromark-util-types "^1.0.0" - -micromark-factory-whitespace@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/micromark-factory-whitespace/-/micromark-factory-whitespace-2.0.0.tgz#9e92eb0f5468083381f923d9653632b3cfb5f763" - integrity sha512-28kbwaBjc5yAI1XadbdPYHX/eDnqaUFVikLwrO7FDnKG7lpgxnvk/XGRhX/PN0mOZ+dBSZ+LgunHS+6tYQAzhA== - dependencies: - micromark-factory-space "^2.0.0" - micromark-util-character "^2.0.0" - micromark-util-symbol "^2.0.0" - micromark-util-types "^2.0.0" - -micromark-util-character@^1.0.0: - version "1.2.0" - resolved "https://registry.yarnpkg.com/micromark-util-character/-/micromark-util-character-1.2.0.tgz#4fedaa3646db249bc58caeb000eb3549a8ca5dcc" - integrity sha512-lXraTwcX3yH/vMDaFWCQJP1uIszLVebzUa3ZHdrgxr7KEU/9mL4mVgCpGbyhvNLNlauROiNUq7WN5u7ndbY6xg== - dependencies: - micromark-util-symbol "^1.0.0" - micromark-util-types "^1.0.0" - -micromark-util-character@^2.0.0: - version "2.1.0" - resolved "https://registry.yarnpkg.com/micromark-util-character/-/micromark-util-character-2.1.0.tgz#31320ace16b4644316f6bf057531689c71e2aee1" - integrity sha512-KvOVV+X1yLBfs9dCBSopq/+G1PcgT3lAK07mC4BzXi5E7ahzMAF8oIupDDJ6mievI6F+lAATkbQQlQixJfT3aQ== - dependencies: - micromark-util-symbol "^2.0.0" - micromark-util-types "^2.0.0" - -micromark-util-chunked@^1.0.0: - version "1.1.0" - resolved "https://registry.yarnpkg.com/micromark-util-chunked/-/micromark-util-chunked-1.1.0.tgz#37a24d33333c8c69a74ba12a14651fd9ea8a368b" - integrity sha512-Ye01HXpkZPNcV6FiyoW2fGZDUw4Yc7vT0E9Sad83+bEDiCJ1uXu0S3mr8WLpsz3HaG3x2q0HM6CTuPdcZcluFQ== - dependencies: - micromark-util-symbol "^1.0.0" - -micromark-util-chunked@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/micromark-util-chunked/-/micromark-util-chunked-2.0.0.tgz#e51f4db85fb203a79dbfef23fd41b2f03dc2ef89" - integrity sha512-anK8SWmNphkXdaKgz5hJvGa7l00qmcaUQoMYsBwDlSKFKjc6gjGXPDw3FNL3Nbwq5L8gE+RCbGqTw49FK5Qyvg== - dependencies: - micromark-util-symbol "^2.0.0" - -micromark-util-classify-character@^1.0.0: - version "1.1.0" - resolved "https://registry.yarnpkg.com/micromark-util-classify-character/-/micromark-util-classify-character-1.1.0.tgz#6a7f8c8838e8a120c8e3c4f2ae97a2bff9190e9d" - integrity sha512-SL0wLxtKSnklKSUplok1WQFoGhUdWYKggKUiqhX+Swala+BtptGCu5iPRc+xvzJ4PXE/hwM3FNXsfEVgoZsWbw== - dependencies: - micromark-util-character "^1.0.0" - micromark-util-symbol "^1.0.0" - micromark-util-types "^1.0.0" - -micromark-util-classify-character@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/micromark-util-classify-character/-/micromark-util-classify-character-2.0.0.tgz#8c7537c20d0750b12df31f86e976d1d951165f34" - integrity sha512-S0ze2R9GH+fu41FA7pbSqNWObo/kzwf8rN/+IGlW/4tC6oACOs8B++bh+i9bVyNnwCcuksbFwsBme5OCKXCwIw== - dependencies: - micromark-util-character "^2.0.0" - micromark-util-symbol "^2.0.0" - micromark-util-types "^2.0.0" - -micromark-util-combine-extensions@^1.0.0: - version "1.1.0" - resolved "https://registry.yarnpkg.com/micromark-util-combine-extensions/-/micromark-util-combine-extensions-1.1.0.tgz#192e2b3d6567660a85f735e54d8ea6e3952dbe84" - integrity sha512-Q20sp4mfNf9yEqDL50WwuWZHUrCO4fEyeDCnMGmG5Pr0Cz15Uo7KBs6jq+dq0EgX4DPwwrh9m0X+zPV1ypFvUA== - dependencies: - micromark-util-chunked "^1.0.0" - micromark-util-types "^1.0.0" - -micromark-util-combine-extensions@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/micromark-util-combine-extensions/-/micromark-util-combine-extensions-2.0.0.tgz#75d6ab65c58b7403616db8d6b31315013bfb7ee5" - integrity sha512-vZZio48k7ON0fVS3CUgFatWHoKbbLTK/rT7pzpJ4Bjp5JjkZeasRfrS9wsBdDJK2cJLHMckXZdzPSSr1B8a4oQ== - dependencies: - micromark-util-chunked "^2.0.0" - micromark-util-types "^2.0.0" - -micromark-util-decode-numeric-character-reference@^1.0.0: - version "1.1.0" - resolved "https://registry.yarnpkg.com/micromark-util-decode-numeric-character-reference/-/micromark-util-decode-numeric-character-reference-1.1.0.tgz#b1e6e17009b1f20bc652a521309c5f22c85eb1c6" - integrity sha512-m9V0ExGv0jB1OT21mrWcuf4QhP46pH1KkfWy9ZEezqHKAxkj4mPCy3nIH1rkbdMlChLHX531eOrymlwyZIf2iw== - dependencies: - micromark-util-symbol "^1.0.0" - -micromark-util-decode-numeric-character-reference@^2.0.0: - version "2.0.1" - resolved "https://registry.yarnpkg.com/micromark-util-decode-numeric-character-reference/-/micromark-util-decode-numeric-character-reference-2.0.1.tgz#2698bbb38f2a9ba6310e359f99fcb2b35a0d2bd5" - integrity sha512-bmkNc7z8Wn6kgjZmVHOX3SowGmVdhYS7yBpMnuMnPzDq/6xwVA604DuOXMZTO1lvq01g+Adfa0pE2UKGlxL1XQ== - dependencies: - micromark-util-symbol "^2.0.0" - -micromark-util-decode-string@^1.0.0: - version "1.1.0" - resolved "https://registry.yarnpkg.com/micromark-util-decode-string/-/micromark-util-decode-string-1.1.0.tgz#dc12b078cba7a3ff690d0203f95b5d5537f2809c" - integrity sha512-YphLGCK8gM1tG1bd54azwyrQRjCFcmgj2S2GoJDNnh4vYtnL38JS8M4gpxzOPNyHdNEpheyWXCTnnTDY3N+NVQ== - dependencies: - decode-named-character-reference "^1.0.0" - micromark-util-character "^1.0.0" - micromark-util-decode-numeric-character-reference "^1.0.0" - micromark-util-symbol "^1.0.0" - -micromark-util-decode-string@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/micromark-util-decode-string/-/micromark-util-decode-string-2.0.0.tgz#7dfa3a63c45aecaa17824e656bcdb01f9737154a" - integrity sha512-r4Sc6leeUTn3P6gk20aFMj2ntPwn6qpDZqWvYmAG6NgvFTIlj4WtrAudLi65qYoaGdXYViXYw2pkmn7QnIFasA== - dependencies: - decode-named-character-reference "^1.0.0" - micromark-util-character "^2.0.0" - micromark-util-decode-numeric-character-reference "^2.0.0" - micromark-util-symbol "^2.0.0" - -micromark-util-encode@^1.0.0: - version "1.1.0" - resolved "https://registry.yarnpkg.com/micromark-util-encode/-/micromark-util-encode-1.1.0.tgz#92e4f565fd4ccb19e0dcae1afab9a173bbeb19a5" - integrity sha512-EuEzTWSTAj9PA5GOAs992GzNh2dGQO52UvAbtSOMvXTxv3Criqb6IOzJUBCmEqrrXSblJIJBbFFv6zPxpreiJw== - -micromark-util-encode@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/micromark-util-encode/-/micromark-util-encode-2.0.0.tgz#0921ac7953dc3f1fd281e3d1932decfdb9382ab1" - integrity sha512-pS+ROfCXAGLWCOc8egcBvT0kf27GoWMqtdarNfDcjb6YLuV5cM3ioG45Ys2qOVqeqSbjaKg72vU+Wby3eddPsA== - -micromark-util-events-to-acorn@^1.0.0: - version "1.2.3" - resolved "https://registry.yarnpkg.com/micromark-util-events-to-acorn/-/micromark-util-events-to-acorn-1.2.3.tgz#a4ab157f57a380e646670e49ddee97a72b58b557" - integrity sha512-ij4X7Wuc4fED6UoLWkmo0xJQhsktfNh1J0m8g4PbIMPlx+ek/4YdW5mvbye8z/aZvAPUoxgXHrwVlXAPKMRp1w== - dependencies: - "@types/acorn" "^4.0.0" - "@types/estree" "^1.0.0" - "@types/unist" "^2.0.0" - estree-util-visit "^1.0.0" - micromark-util-symbol "^1.0.0" - micromark-util-types "^1.0.0" - uvu "^0.5.0" - vfile-message "^3.0.0" - -micromark-util-html-tag-name@^1.0.0: - version "1.2.0" - resolved "https://registry.yarnpkg.com/micromark-util-html-tag-name/-/micromark-util-html-tag-name-1.2.0.tgz#48fd7a25826f29d2f71479d3b4e83e94829b3588" - integrity sha512-VTQzcuQgFUD7yYztuQFKXT49KghjtETQ+Wv/zUjGSGBioZnkA4P1XXZPT1FHeJA6RwRXSF47yvJ1tsJdoxwO+Q== - -micromark-util-html-tag-name@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/micromark-util-html-tag-name/-/micromark-util-html-tag-name-2.0.0.tgz#ae34b01cbe063363847670284c6255bb12138ec4" - integrity sha512-xNn4Pqkj2puRhKdKTm8t1YHC/BAjx6CEwRFXntTaRf/x16aqka6ouVoutm+QdkISTlT7e2zU7U4ZdlDLJd2Mcw== - -micromark-util-normalize-identifier@^1.0.0: - version "1.1.0" - resolved "https://registry.yarnpkg.com/micromark-util-normalize-identifier/-/micromark-util-normalize-identifier-1.1.0.tgz#7a73f824eb9f10d442b4d7f120fecb9b38ebf8b7" - integrity sha512-N+w5vhqrBihhjdpM8+5Xsxy71QWqGn7HYNUvch71iV2PM7+E3uWGox1Qp90loa1ephtCxG2ftRV/Conitc6P2Q== - dependencies: - micromark-util-symbol "^1.0.0" - -micromark-util-normalize-identifier@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/micromark-util-normalize-identifier/-/micromark-util-normalize-identifier-2.0.0.tgz#91f9a4e65fe66cc80c53b35b0254ad67aa431d8b" - integrity sha512-2xhYT0sfo85FMrUPtHcPo2rrp1lwbDEEzpx7jiH2xXJLqBuy4H0GgXk5ToU8IEwoROtXuL8ND0ttVa4rNqYK3w== - dependencies: - micromark-util-symbol "^2.0.0" - -micromark-util-resolve-all@^1.0.0: - version "1.1.0" - resolved "https://registry.yarnpkg.com/micromark-util-resolve-all/-/micromark-util-resolve-all-1.1.0.tgz#4652a591ee8c8fa06714c9b54cd6c8e693671188" - integrity sha512-b/G6BTMSg+bX+xVCshPTPyAu2tmA0E4X98NSR7eIbeC6ycCqCeE7wjfDIgzEbkzdEVJXRtOG4FbEm/uGbCRouA== - dependencies: - micromark-util-types "^1.0.0" - -micromark-util-resolve-all@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/micromark-util-resolve-all/-/micromark-util-resolve-all-2.0.0.tgz#189656e7e1a53d0c86a38a652b284a252389f364" - integrity sha512-6KU6qO7DZ7GJkaCgwBNtplXCvGkJToU86ybBAUdavvgsCiG8lSSvYxr9MhwmQ+udpzywHsl4RpGJsYWG1pDOcA== - dependencies: - micromark-util-types "^2.0.0" - -micromark-util-sanitize-uri@^1.0.0: - version "1.2.0" - resolved "https://registry.yarnpkg.com/micromark-util-sanitize-uri/-/micromark-util-sanitize-uri-1.2.0.tgz#613f738e4400c6eedbc53590c67b197e30d7f90d" - integrity sha512-QO4GXv0XZfWey4pYFndLUKEAktKkG5kZTdUNaTAkzbuJxn2tNBOr+QtxR2XpWaMhbImT2dPzyLrPXLlPhph34A== - dependencies: - micromark-util-character "^1.0.0" - micromark-util-encode "^1.0.0" - micromark-util-symbol "^1.0.0" - -micromark-util-sanitize-uri@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/micromark-util-sanitize-uri/-/micromark-util-sanitize-uri-2.0.0.tgz#ec8fbf0258e9e6d8f13d9e4770f9be64342673de" - integrity sha512-WhYv5UEcZrbAtlsnPuChHUAsu/iBPOVaEVsntLBIdpibO0ddy8OzavZz3iL2xVvBZOpolujSliP65Kq0/7KIYw== - dependencies: - micromark-util-character "^2.0.0" - micromark-util-encode "^2.0.0" - micromark-util-symbol "^2.0.0" - -micromark-util-subtokenize@^1.0.0: - version "1.1.0" - resolved "https://registry.yarnpkg.com/micromark-util-subtokenize/-/micromark-util-subtokenize-1.1.0.tgz#941c74f93a93eaf687b9054aeb94642b0e92edb1" - integrity sha512-kUQHyzRoxvZO2PuLzMt2P/dwVsTiivCK8icYTeR+3WgbuPqfHgPPy7nFKbeqRivBvn/3N3GBiNC+JRTMSxEC7A== - dependencies: - micromark-util-chunked "^1.0.0" - micromark-util-symbol "^1.0.0" - micromark-util-types "^1.0.0" - uvu "^0.5.0" - -micromark-util-subtokenize@^2.0.0: - version "2.0.1" - resolved "https://registry.yarnpkg.com/micromark-util-subtokenize/-/micromark-util-subtokenize-2.0.1.tgz#76129c49ac65da6e479c09d0ec4b5f29ec6eace5" - integrity sha512-jZNtiFl/1aY73yS3UGQkutD0UbhTt68qnRpw2Pifmz5wV9h8gOVsN70v+Lq/f1rKaU/W8pxRe8y8Q9FX1AOe1Q== - dependencies: - devlop "^1.0.0" - micromark-util-chunked "^2.0.0" - micromark-util-symbol "^2.0.0" - micromark-util-types "^2.0.0" - -micromark-util-symbol@^1.0.0: - version "1.1.0" - resolved "https://registry.yarnpkg.com/micromark-util-symbol/-/micromark-util-symbol-1.1.0.tgz#813cd17837bdb912d069a12ebe3a44b6f7063142" - integrity sha512-uEjpEYY6KMs1g7QfJ2eX1SQEV+ZT4rUD3UcF6l57acZvLNK7PBZL+ty82Z1qhK1/yXIY4bdx04FKMgR0g4IAag== - -micromark-util-symbol@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/micromark-util-symbol/-/micromark-util-symbol-2.0.0.tgz#12225c8f95edf8b17254e47080ce0862d5db8044" - integrity sha512-8JZt9ElZ5kyTnO94muPxIGS8oyElRJaiJO8EzV6ZSyGQ1Is8xwl4Q45qU5UOg+bGH4AikWziz0iN4sFLWs8PGw== - -micromark-util-types@^1.0.0, micromark-util-types@^1.0.1: - version "1.1.0" - resolved "https://registry.yarnpkg.com/micromark-util-types/-/micromark-util-types-1.1.0.tgz#e6676a8cae0bb86a2171c498167971886cb7e283" - integrity sha512-ukRBgie8TIAcacscVHSiddHjO4k/q3pnedmzMQ4iwDcK0FtFCohKOlFbaOL/mPgfnPsL3C1ZyxJa4sbWrBl3jg== - -micromark-util-types@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/micromark-util-types/-/micromark-util-types-2.0.0.tgz#63b4b7ffeb35d3ecf50d1ca20e68fc7caa36d95e" - integrity sha512-oNh6S2WMHWRZrmutsRmDDfkzKtxF+bc2VxLC9dvtrDIRFln627VsFP6fLMgTryGDljgLPjkrzQSDcPrjPyDJ5w== - -micromark@^3.0.0: - version "3.2.0" - resolved "https://registry.yarnpkg.com/micromark/-/micromark-3.2.0.tgz#1af9fef3f995ea1ea4ac9c7e2f19c48fd5c006e9" - integrity sha512-uD66tJj54JLYq0De10AhWycZWGQNUvDI55xPgk2sQM5kn1JYlhbCMTtEeT27+vAhW2FBQxLlOmS3pmA7/2z4aA== - dependencies: - "@types/debug" "^4.0.0" - debug "^4.0.0" - decode-named-character-reference "^1.0.0" - micromark-core-commonmark "^1.0.1" - micromark-factory-space "^1.0.0" - micromark-util-character "^1.0.0" - micromark-util-chunked "^1.0.0" - micromark-util-combine-extensions "^1.0.0" - micromark-util-decode-numeric-character-reference "^1.0.0" - micromark-util-encode "^1.0.0" - micromark-util-normalize-identifier "^1.0.0" - micromark-util-resolve-all "^1.0.0" - micromark-util-sanitize-uri "^1.0.0" - micromark-util-subtokenize "^1.0.0" - micromark-util-symbol "^1.0.0" - micromark-util-types "^1.0.1" - uvu "^0.5.0" - -micromark@^4.0.0: - version "4.0.0" - resolved "https://registry.yarnpkg.com/micromark/-/micromark-4.0.0.tgz#84746a249ebd904d9658cfabc1e8e5f32cbc6249" - integrity sha512-o/sd0nMof8kYff+TqcDx3VSrgBTcZpSvYcAHIfHhv5VAuNmisCxjhx6YmxS8PFEpb9z5WKWKPdzf0jM23ro3RQ== - dependencies: - "@types/debug" "^4.0.0" - debug "^4.0.0" - decode-named-character-reference "^1.0.0" - devlop "^1.0.0" - micromark-core-commonmark "^2.0.0" - micromark-factory-space "^2.0.0" - micromark-util-character "^2.0.0" - micromark-util-chunked "^2.0.0" - micromark-util-combine-extensions "^2.0.0" - micromark-util-decode-numeric-character-reference "^2.0.0" - micromark-util-encode "^2.0.0" - micromark-util-normalize-identifier "^2.0.0" - micromark-util-resolve-all "^2.0.0" - micromark-util-sanitize-uri "^2.0.0" - micromark-util-subtokenize "^2.0.0" - micromark-util-symbol "^2.0.0" - micromark-util-types "^2.0.0" - -micromark@~2.11.0: - version "2.11.4" - resolved "https://registry.yarnpkg.com/micromark/-/micromark-2.11.4.tgz#d13436138eea826383e822449c9a5c50ee44665a" - integrity sha512-+WoovN/ppKolQOFIAajxi7Lu9kInbPxFuTBVEavFcL8eAfVstoc5MocPmqBeAdBOJV00uaVjegzH4+MA0DN/uA== - dependencies: - debug "^4.0.0" - parse-entities "^2.0.0" - -micromatch@^3.1.10: - version "3.1.10" - resolved "https://registry.yarnpkg.com/micromatch/-/micromatch-3.1.10.tgz#70859bc95c9840952f359a068a3fc49f9ecfac23" - integrity sha512-MWikgl9n9M3w+bpsY3He8L+w9eF9338xRl8IAO5viDizwSzziFEyUzo2xrrloB64ADbTf8uA8vRqqttDTOmccg== - dependencies: - arr-diff "^4.0.0" - array-unique "^0.3.2" - braces "^2.3.1" - define-property "^2.0.2" - extend-shallow "^3.0.2" - extglob "^2.0.4" - fragment-cache "^0.2.1" - kind-of "^6.0.2" - nanomatch "^1.2.9" - object.pick "^1.3.0" - regex-not "^1.0.0" - snapdragon "^0.8.1" - to-regex "^3.0.2" - -micromatch@^4.0.2, micromatch@^4.0.4, micromatch@^4.0.5: - version "4.0.8" - resolved "https://registry.yarnpkg.com/micromatch/-/micromatch-4.0.8.tgz#d66fa18f3a47076789320b9b1af32bd86d9fa202" - integrity sha512-PXwfBhYu0hBCPw8Dn0E+WDYb7af3dSLVWKi3HGv84IdF4TyFoC0ysxFd0Goxw7nSv4T/PzEJQxsYsEiFCKo2BA== - dependencies: - braces "^3.0.3" - picomatch "^2.3.1" - -mime-db@1.52.0: - version "1.52.0" - resolved "https://registry.yarnpkg.com/mime-db/-/mime-db-1.52.0.tgz#bbabcdc02859f4987301c856e3387ce5ec43bf70" - integrity sha512-sPU4uV7dYlvtWJxwwxHD0PuihVNiE7TyAbQ5SWxDCB9mUYvOgroQOwYQQOKPJ8CIbE+1ETVlOoK1UC2nU3gYvg== - -"mime-db@>= 1.43.0 < 2", mime-db@^1.28.0: - version "1.53.0" - resolved "https://registry.yarnpkg.com/mime-db/-/mime-db-1.53.0.tgz#3cb63cd820fc29896d9d4e8c32ab4fcd74ccb447" - integrity sha512-oHlN/w+3MQ3rba9rqFr6V/ypF10LSkdwUysQL7GkXoTgIWeV+tcXGA852TBxH+gsh8UWoyhR1hKcoMJTuWflpg== - -mime-db@~1.33.0: - version "1.33.0" - resolved "https://registry.yarnpkg.com/mime-db/-/mime-db-1.33.0.tgz#a3492050a5cb9b63450541e39d9788d2272783db" - integrity sha512-BHJ/EKruNIqJf/QahvxwQZXKygOQ256myeN/Ew+THcAa5q+PjyTTMMeNQC4DZw5AwfvelsUrA6B67NKMqXDbzQ== - -mime-types@2.1.18: - version "2.1.18" - resolved "https://registry.yarnpkg.com/mime-types/-/mime-types-2.1.18.tgz#6f323f60a83d11146f831ff11fd66e2fe5503bb8" - integrity sha512-lc/aahn+t4/SWV/qcmumYjymLsWfN3ELhpmVuUFjgsORruuZPVSwAQryq+HHGvO/SI2KVX26bx+En+zhM8g8hQ== - dependencies: - mime-db "~1.33.0" - -mime-types@^2.1.12, mime-types@^2.1.27, mime-types@^2.1.31, mime-types@~2.1.24, mime-types@~2.1.34: - version "2.1.35" - resolved "https://registry.yarnpkg.com/mime-types/-/mime-types-2.1.35.tgz#381a871b62a734450660ae3deee44813f70d959a" - integrity sha512-ZDY+bPm5zTTF+YpCrAU9nK0UgICYPT0QtT1NZWFv4s++TNkcgVaT0g6+4R2uI4MjQjzysHB1zxuWL50hzaeXiw== - dependencies: - mime-db "1.52.0" - -mime@1.6.0, mime@^1.2.11: - version "1.6.0" - resolved "https://registry.yarnpkg.com/mime/-/mime-1.6.0.tgz#32cd9e5c64553bd58d19a568af452acff04981b1" - integrity sha512-x0Vn8spI+wuJ1O6S7gnbaQg8Pxh4NNHb7KSINmEWKiPE4RKOplvijn+NkmYmmRgP68mc70j2EbeTFRsrswaQeg== - -mimic-fn@^1.0.0: - version "1.2.0" - resolved "https://registry.yarnpkg.com/mimic-fn/-/mimic-fn-1.2.0.tgz#820c86a39334640e99516928bd03fca88057d022" - integrity sha512-jf84uxzwiuiIVKiOLpfYk7N46TSy8ubTonmneY9vrpHNAnp0QBt2BxWV9dO3/j+BoVAb+a5G6YDPW3M5HOdMWQ== - -mimic-fn@^2.1.0: - version "2.1.0" - resolved "https://registry.yarnpkg.com/mimic-fn/-/mimic-fn-2.1.0.tgz#7ed2c2ccccaf84d3ffcb7a69b57711fc2083401b" - integrity sha512-OqbOk5oEQeAZ8WXWydlu9HJjz9WVdEIvamMCcXmuqUYjTknH/sqsWvhQ3vgwKFRR1HpjvNBKQ37nbJgYzGqGcg== - -mimic-fn@^4.0.0: - version "4.0.0" - resolved "https://registry.yarnpkg.com/mimic-fn/-/mimic-fn-4.0.0.tgz#60a90550d5cb0b239cca65d893b1a53b29871ecc" - integrity sha512-vqiC06CuhBTUdZH+RYl8sFrL096vA45Ok5ISO6sE/Mr1jRbGH4Csnhi8f3wKVl7x8mO4Au7Ir9D3Oyv1VYMFJw== - -mimic-response@^1.0.0, mimic-response@^1.0.1: - version "1.0.1" - resolved "https://registry.yarnpkg.com/mimic-response/-/mimic-response-1.0.1.tgz#4923538878eef42063cb8a3e3b0798781487ab1b" - integrity sha512-j5EctnkH7amfV/q5Hgmoal1g2QHFJRraOtmx0JpIqkxhBhI/lJSl1nMpQ45hVarwNETOoWEimndZ4QK0RHxuxQ== - -mimic-response@^2.0.0, mimic-response@^2.1.0: - version "2.1.0" - resolved "https://registry.yarnpkg.com/mimic-response/-/mimic-response-2.1.0.tgz#d13763d35f613d09ec37ebb30bac0469c0ee8f43" - integrity sha512-wXqjST+SLt7R009ySCglWBCFpjUygmCIfD790/kVbiGmUgfYGuB14PiTd5DwVxSV4NcYHjzMkoj5LjQZwTQLEA== - -min-indent@^1.0.0, min-indent@^1.0.1: - version "1.0.1" - resolved "https://registry.yarnpkg.com/min-indent/-/min-indent-1.0.1.tgz#a63f681673b30571fbe8bc25686ae746eefa9869" - integrity sha512-I9jwMn07Sy/IwOj3zVkVik2JTvgpaykDZEigL6Rx6N9LbMywwUSMtxET+7lVoDLLd3O3IXwJwvuuns8UB/HeAg== - -minimatch@3.0.5: - version "3.0.5" - resolved "https://registry.yarnpkg.com/minimatch/-/minimatch-3.0.5.tgz#4da8f1290ee0f0f8e83d60ca69f8f134068604a3" - integrity sha512-tUpxzX0VAzJHjLu0xUfFv1gwVp9ba3IOuRAVH2EGuRW8a5emA2FlACLqiT/lDVtS1W+TGNwqz3sWaNyLgDJWuw== - dependencies: - brace-expansion "^1.1.7" - -minimatch@3.1.2, minimatch@^3.0.3, minimatch@^3.0.4, minimatch@^3.0.5, minimatch@^3.1.1, minimatch@^3.1.2: - version "3.1.2" - resolved "https://registry.yarnpkg.com/minimatch/-/minimatch-3.1.2.tgz#19cd194bfd3e428f049a70817c038d89ab4be35b" - integrity sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw== - dependencies: - brace-expansion "^1.1.7" - -minimatch@^10.0.0: - version "10.0.1" - resolved "https://registry.yarnpkg.com/minimatch/-/minimatch-10.0.1.tgz#ce0521856b453c86e25f2c4c0d03e6ff7ddc440b" - integrity sha512-ethXTt3SGGR+95gudmqJ1eNhRO7eGEGIgYA9vnPatK4/etz2MEVDno5GMCibdMTuBMyElzIlgxMna3K94XDIDQ== - dependencies: - brace-expansion "^2.0.1" - -minimatch@^4.0.0: - version "4.2.3" - resolved "https://registry.yarnpkg.com/minimatch/-/minimatch-4.2.3.tgz#b4dcece1d674dee104bb0fb833ebb85a78cbbca6" - integrity sha512-lIUdtK5hdofgCTu3aT0sOaHsYR37viUuIc0rwnnDXImbwFRcumyLMeZaM0t0I/fgxS6s6JMfu0rLD1Wz9pv1ng== - dependencies: - brace-expansion "^1.1.7" - -minimatch@^5.0.0, minimatch@^5.0.1, minimatch@^5.1.0: - version "5.1.6" - resolved "https://registry.yarnpkg.com/minimatch/-/minimatch-5.1.6.tgz#1cfcb8cf5522ea69952cd2af95ae09477f122a96" - integrity sha512-lKwV/1brpG6mBUFHtb7NUmtABCb2WZZmm2wNiOA5hAb8VdCS4B3dtMWyvcoViccwAW/COERjXLt0zP1zXUN26g== - dependencies: - brace-expansion "^2.0.1" - -minimatch@^9.0.0, minimatch@^9.0.4: - version "9.0.5" - resolved "https://registry.yarnpkg.com/minimatch/-/minimatch-9.0.5.tgz#d74f9dd6b57d83d8e98cfb82133b03978bc929e5" - integrity sha512-G6T0ZX48xgozx7587koeX9Ys2NYy6Gmv//P89sEte9V9whIapMNF4idKxnW2QtCcLiTWlb/wfCabAtAFWhhBow== - dependencies: - brace-expansion "^2.0.1" - -minimist-options@4.1.0: - version "4.1.0" - resolved "https://registry.yarnpkg.com/minimist-options/-/minimist-options-4.1.0.tgz#c0655713c53a8a2ebd77ffa247d342c40f010619" - integrity sha512-Q4r8ghd80yhO/0j1O3B2BjweX3fiHg9cdOwjJd2J76Q135c+NDxGCqdYKQ1SKBuFfgWbAUzBfvYjPUEeNgqN1A== - dependencies: - arrify "^1.0.1" - is-plain-obj "^1.1.0" - kind-of "^6.0.3" - -minimist@^1.2.0, minimist@^1.2.5, minimist@^1.2.6, minimist@^1.2.8: - version "1.2.8" - resolved "https://registry.yarnpkg.com/minimist/-/minimist-1.2.8.tgz#c1a464e7693302e082a075cee0c057741ac4772c" - integrity sha512-2yyAR8qBkN3YuheJanUpWC5U3bb5osDywNB8RzDVlDwDHbocAJveqqj1u8+SVD7jkWT4yvsHCpWqqWqAxb0zCA== - -minipass-collect@^1.0.2: - version "1.0.2" - resolved "https://registry.yarnpkg.com/minipass-collect/-/minipass-collect-1.0.2.tgz#22b813bf745dc6edba2576b940022ad6edc8c617" - integrity sha512-6T6lH0H8OG9kITm/Jm6tdooIbogG9e0tLgpY6mphXSm/A9u8Nq1ryBG+Qspiub9LjWlBPsPS3tWQ/Botq4FdxA== - dependencies: - minipass "^3.0.0" - -minipass-fetch@^2.0.3: - version "2.1.2" - resolved "https://registry.yarnpkg.com/minipass-fetch/-/minipass-fetch-2.1.2.tgz#95560b50c472d81a3bc76f20ede80eaed76d8add" - integrity sha512-LT49Zi2/WMROHYoqGgdlQIZh8mLPZmOrN2NdJjMXxYe4nkN6FUyuPuOAOedNJDrx0IRGg9+4guZewtp8hE6TxA== - dependencies: - minipass "^3.1.6" - minipass-sized "^1.0.3" - minizlib "^2.1.2" - optionalDependencies: - encoding "^0.1.13" - -minipass-flush@^1.0.5: - version "1.0.5" - resolved "https://registry.yarnpkg.com/minipass-flush/-/minipass-flush-1.0.5.tgz#82e7135d7e89a50ffe64610a787953c4c4cbb373" - integrity sha512-JmQSYYpPUqX5Jyn1mXaRwOda1uQ8HP5KAT/oDSLCzt1BYRhQU0/hDtsB1ufZfEEzMZ9aAVmsBw8+FWsIXlClWw== - dependencies: - minipass "^3.0.0" - -minipass-json-stream@^1.0.1: - version "1.0.2" - resolved "https://registry.yarnpkg.com/minipass-json-stream/-/minipass-json-stream-1.0.2.tgz#5121616c77a11c406c3ffa77509e0b77bb267ec3" - integrity sha512-myxeeTm57lYs8pH2nxPzmEEg8DGIgW+9mv6D4JZD2pa81I/OBjeU7PtICXV6c9eRGTA5JMDsuIPUZRCyBMYNhg== - dependencies: - jsonparse "^1.3.1" - minipass "^3.0.0" - -minipass-pipeline@^1.2.4: - version "1.2.4" - resolved "https://registry.yarnpkg.com/minipass-pipeline/-/minipass-pipeline-1.2.4.tgz#68472f79711c084657c067c5c6ad93cddea8214c" - integrity sha512-xuIq7cIOt09RPRJ19gdi4b+RiNvDFYe5JH+ggNvBqGqpQXcru3PcRmOZuHBKWK1Txf9+cQ+HMVN4d6z46LZP7A== - dependencies: - minipass "^3.0.0" - -minipass-sized@^1.0.3: - version "1.0.3" - resolved "https://registry.yarnpkg.com/minipass-sized/-/minipass-sized-1.0.3.tgz#70ee5a7c5052070afacfbc22977ea79def353b70" - integrity sha512-MbkQQ2CTiBMlA2Dm/5cY+9SWFEN8pzzOXi6rlM5Xxq0Yqbda5ZQy9sU75a673FE9ZK0Zsbr6Y5iP6u9nktfg2g== - dependencies: - minipass "^3.0.0" - -minipass@^2.6.0, minipass@^2.9.0: - version "2.9.0" - resolved "https://registry.yarnpkg.com/minipass/-/minipass-2.9.0.tgz#e713762e7d3e32fed803115cf93e04bca9fcc9a6" - integrity sha512-wxfUjg9WebH+CUDX/CdbRlh5SmfZiy/hpkxaRI16Y9W56Pa75sWgd/rvFilSgrauD9NyFymP/+JFV3KwzIsJeg== - dependencies: - safe-buffer "^5.1.2" - yallist "^3.0.0" - -minipass@^3.0.0, minipass@^3.1.1, minipass@^3.1.6: - version "3.3.6" - resolved "https://registry.yarnpkg.com/minipass/-/minipass-3.3.6.tgz#7bba384db3a1520d18c9c0e5251c3444e95dd94a" - integrity sha512-DxiNidxSEK+tHG6zOIklvNOwm3hvCrbUrdtzY74U6HKTJxvIDfOUL5W5P2Ghd3DTkhhKPYGqeNUIh5qcM4YBfw== - dependencies: - yallist "^4.0.0" - -minipass@^5.0.0: - version "5.0.0" - resolved "https://registry.yarnpkg.com/minipass/-/minipass-5.0.0.tgz#3e9788ffb90b694a5d0ec94479a45b5d8738133d" - integrity sha512-3FnjYuehv9k6ovOEbyOswadCDPX1piCfhV8ncmYtHOjuPwylVWsghTLo7rabjC3Rx5xD4HDx8Wm1xnMF7S5qFQ== - -"minipass@^5.0.0 || ^6.0.2 || ^7.0.0", minipass@^7.1.2: - version "7.1.2" - resolved "https://registry.yarnpkg.com/minipass/-/minipass-7.1.2.tgz#93a9626ce5e5e66bd4db86849e7515e92340a707" - integrity sha512-qOOzS1cBTWYF4BH8fVePDBOO9iptMnGUEZwNc/cMWnTV2nVLZ7VoNWEPHkYczZA0pdoA7dl6e7FL659nX9S2aw== - -minizlib@^1.3.3: - version "1.3.3" - resolved "https://registry.yarnpkg.com/minizlib/-/minizlib-1.3.3.tgz#2290de96818a34c29551c8a8d301216bd65a861d" - integrity sha512-6ZYMOEnmVsdCeTJVE0W9ZD+pVnE8h9Hma/iOwwRDsdQoePpoX56/8B6z3P9VNwppJuBKNRuFDRNRqRWexT9G9Q== - dependencies: - minipass "^2.9.0" - -minizlib@^2.1.1, minizlib@^2.1.2: - version "2.1.2" - resolved "https://registry.yarnpkg.com/minizlib/-/minizlib-2.1.2.tgz#e90d3466ba209b932451508a11ce3d3632145931" - integrity sha512-bAxsR8BVfj60DWXHE3u30oHzfl4G7khkSuPW+qvpd7jFRHm7dLxOjUk1EHACJ/hxLY8phGJ0YhYHZo7jil7Qdg== - dependencies: - minipass "^3.0.0" - yallist "^4.0.0" - -mixin-deep@^1.2.0: - version "1.3.2" - resolved "https://registry.yarnpkg.com/mixin-deep/-/mixin-deep-1.3.2.tgz#1120b43dc359a785dce65b55b82e257ccf479566" - integrity sha512-WRoDn//mXBiJ1H40rqa3vH0toePwSsGb45iInWlTySa+Uu4k3tYUSxa2v1KqAiLtvlrSzaExqS1gtk96A9zvEA== - dependencies: - for-in "^1.0.2" - is-extendable "^1.0.1" - -mkdirp-infer-owner@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/mkdirp-infer-owner/-/mkdirp-infer-owner-2.0.0.tgz#55d3b368e7d89065c38f32fd38e638f0ab61d316" - integrity sha512-sdqtiFt3lkOaYvTXSRIUjkIdPTcxgv5+fgqYE/5qgwdw12cOrAuzzgzvVExIkH/ul1oeHN3bCLOWSG3XOqbKKw== - dependencies: - chownr "^2.0.0" - infer-owner "^1.0.4" - mkdirp "^1.0.3" - -mkdirp@^0.5.1, mkdirp@^0.5.5: - version "0.5.6" - resolved "https://registry.yarnpkg.com/mkdirp/-/mkdirp-0.5.6.tgz#7def03d2432dcae4ba1d611445c48396062255f6" - integrity sha512-FP+p8RB8OWpF3YZBCrP5gtADmtXApB5AMLn+vdyA+PyxCjrCs00mjyUozssO33cwDeT3wNGdLxJ5M//YqtHAJw== - dependencies: - minimist "^1.2.6" - -mkdirp@^1.0.3, mkdirp@^1.0.4: - version "1.0.4" - resolved "https://registry.yarnpkg.com/mkdirp/-/mkdirp-1.0.4.tgz#3eb5ed62622756d79a5f0e2a221dfebad75c2f7e" - integrity sha512-vVqVZQyf3WLx2Shd0qJ9xuvqgAyKPLAiqITEtqW0oIUjzo3PePDd6fW9iFz30ef7Ysp/oiWqbhszeGWW2T6Gzw== - -modify-values@^1.0.0: - version "1.0.1" - resolved "https://registry.yarnpkg.com/modify-values/-/modify-values-1.0.1.tgz#b3939fa605546474e3e3e3c63d64bd43b4ee6022" - integrity sha512-xV2bxeN6F7oYjZWTe/YPAy6MN2M+sL4u/Rlm2AHCIVGfo2p1yGmBHQ6vHehl4bRTZBdHu3TSkWdYgkwpYzAGSw== - -module-definition@^3.3.1: - version "3.4.0" - resolved "https://registry.yarnpkg.com/module-definition/-/module-definition-3.4.0.tgz#953a3861f65df5e43e80487df98bb35b70614c2b" - integrity sha512-XxJ88R1v458pifaSkPNLUTdSPNVGMP2SXVncVmApGO+gAfrLANiYe6JofymCzVceGOMwQE2xogxBSc8uB7XegA== - dependencies: - ast-module-types "^3.0.0" - node-source-walk "^4.0.0" - -module-definition@^4.1.0: - version "4.1.0" - resolved "https://registry.yarnpkg.com/module-definition/-/module-definition-4.1.0.tgz#148ff9348e3401867229dcbe5947f4f6d5ccd3a2" - integrity sha512-rHXi/DpMcD2qcKbPCTklDbX9lBKJrUSl971TW5l6nMpqKCIlzJqmQ8cfEF5M923h2OOLHPDVlh5pJxNyV+AJlw== - dependencies: - ast-module-types "^4.0.0" - node-source-walk "^5.0.1" - -moize@^6.0.0, moize@^6.1.0: - version "6.1.6" - resolved "https://registry.yarnpkg.com/moize/-/moize-6.1.6.tgz#ac2e723e74b951875fe2c0c3433405c2b098c3e6" - integrity sha512-vSKdIUO61iCmTqhdoIDrqyrtp87nWZUmBPniNjO0fX49wEYmyDO4lvlnFXiGcaH1JLE/s/9HbiK4LSHsbiUY6Q== - dependencies: - fast-equals "^3.0.1" - micro-memoize "^4.1.2" - -move-file@^3.0.0: - version "3.1.0" - resolved "https://registry.yarnpkg.com/move-file/-/move-file-3.1.0.tgz#ea9675d54852708242462bfe60d56b3c3854cdf7" - integrity sha512-4aE3U7CCBWgrQlQDMq8da4woBWDGHioJFiOZ8Ie6Yq2uwYQ9V2kGhTz4x3u6Wc+OU17nw0yc3rJ/lQ4jIiPe3A== - dependencies: - path-exists "^5.0.0" - -mri@^1.1.0, mri@^1.2.0: - version "1.2.0" - resolved "https://registry.yarnpkg.com/mri/-/mri-1.2.0.tgz#6721480fec2a11a4889861115a48b6cbe7cc8f0b" - integrity sha512-tzzskb3bG8LvYGFF/mDTpq3jpI6Q9wc3LEmBaghu+DdCssd1FakN7Bc0hVNmEyGq1bq3RgfkCb3cmQLpNPOroA== - -ms@2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/ms/-/ms-2.0.0.tgz#5608aeadfc00be6c2901df5f9861788de0d597c8" - integrity sha512-Tpp60P6IUJDTuOq/5Z8cdskzJujfwqfOTkrwIwj7IRISpnkJnT6SyJ4PCPnGMoFjC9ddhal5KVIYtAt97ix05A== - -ms@2.1.3, ms@^2.0.0, ms@^2.1.1, ms@^2.1.3: - version "2.1.3" - resolved "https://registry.yarnpkg.com/ms/-/ms-2.1.3.tgz#574c8138ce1d2b5861f0b44579dbadd60c6615b2" - integrity sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA== - -multimatch@5.0.0: - version "5.0.0" - resolved "https://registry.yarnpkg.com/multimatch/-/multimatch-5.0.0.tgz#932b800963cea7a31a033328fa1e0c3a1874dbe6" - integrity sha512-ypMKuglUrZUD99Tk2bUQ+xNQj43lPEfAeX2o9cTteAmShXy2VHDJpuwu1o0xqoKCt9jLVAvwyFKdLTPXKAfJyA== - dependencies: - "@types/minimatch" "^3.0.3" - array-differ "^3.0.0" - array-union "^2.1.0" - arrify "^2.0.1" - minimatch "^3.0.4" - -multiparty@^4.2.1: - version "4.2.3" - resolved "https://registry.yarnpkg.com/multiparty/-/multiparty-4.2.3.tgz#6b14981badb5ad3f0929622868751810368d4633" - integrity sha512-Ak6EUJZuhGS8hJ3c2fY6UW5MbkGUPMBEGd13djUzoY/BHqV/gTuFWtC6IuVA7A2+v3yjBS6c4or50xhzTQZImQ== - dependencies: - http-errors "~1.8.1" - safe-buffer "5.2.1" - uid-safe "2.1.5" - -mute-stream@0.0.7: - version "0.0.7" - resolved "https://registry.yarnpkg.com/mute-stream/-/mute-stream-0.0.7.tgz#3075ce93bc21b8fab43e1bc4da7e8115ed1e7bab" - integrity sha512-r65nCZhrbXXb6dXOACihYApHw2Q6pV0M3V0PSxd74N0+D8nzAdEAITq2oAjA1jVnKI+tGvEBUpqiMh0+rW6zDQ== - -mute-stream@0.0.8, mute-stream@~0.0.4: - version "0.0.8" - resolved "https://registry.yarnpkg.com/mute-stream/-/mute-stream-0.0.8.tgz#1630c42b2251ff81e2a283de96a5497ea92e5e0d" - integrity sha512-nnbWWOkoWyUsTjKrhgD0dcz22mdkSnpYqbEjIm2nhwhuxlSkpywJmBo8h0ZqJdkp73mb90SssHkN4rsRaBAfAA== - -nanoid@^3.3.7: - version "3.3.7" - resolved "https://registry.yarnpkg.com/nanoid/-/nanoid-3.3.7.tgz#d0c301a691bc8d54efa0a2226ccf3fe2fd656bd8" - integrity sha512-eSRppjcPIatRIMC1U6UngP8XFcz8MQWGQdt1MTBQ7NaAmvXDfvNxbvWV3x2y6CdEUciCSsDHDQZbhYaB8QEo2g== - -nanomatch@^1.2.9: - version "1.2.13" - resolved "https://registry.yarnpkg.com/nanomatch/-/nanomatch-1.2.13.tgz#b87a8aa4fc0de8fe6be88895b38983ff265bd119" - integrity sha512-fpoe2T0RbHwBTBUOftAfBPaDEi06ufaUai0mE6Yn1kacc3SnTErfb/h+X94VXzI64rKFHYImXSvdwGGCmwOqCA== - dependencies: - arr-diff "^4.0.0" - array-unique "^0.3.2" - define-property "^2.0.2" - extend-shallow "^3.0.2" - fragment-cache "^0.2.1" - is-windows "^1.0.2" - kind-of "^6.0.2" - object.pick "^1.3.0" - regex-not "^1.0.0" - snapdragon "^0.8.1" - to-regex "^3.0.1" - -natural-compare-lite@^1.4.0: - version "1.4.0" - resolved "https://registry.yarnpkg.com/natural-compare-lite/-/natural-compare-lite-1.4.0.tgz#17b09581988979fddafe0201e931ba933c96cbb4" - integrity sha512-Tj+HTDSJJKaZnfiuw+iaF9skdPpTo2GtEly5JHnWV/hfv2Qj/9RKsGISQtLh2ox3l5EAGw487hnBee0sIJ6v2g== - -natural-compare@^1.4.0: - version "1.4.0" - resolved "https://registry.yarnpkg.com/natural-compare/-/natural-compare-1.4.0.tgz#4abebfeed7541f2c27acfb29bdbbd15c8d5ba4f7" - integrity sha512-OWND8ei3VtNC9h7V60qff3SVobHr996CTwgxubgyQYEpg290h9J0buyECNNJexkFm5sOajh5G116RYA1c8ZMSw== - -needle@^2.2.1: - version "2.9.1" - resolved "https://registry.yarnpkg.com/needle/-/needle-2.9.1.tgz#22d1dffbe3490c2b83e301f7709b6736cd8f2684" - integrity sha512-6R9fqJ5Zcmf+uYaFgdIHmLwNldn5HbK8L5ybn7Uz+ylX/rnOsSp1AHcvQSrCaFN+qNM1wpymHqD7mVasEOlHGQ== - dependencies: - debug "^3.2.6" - iconv-lite "^0.4.4" - sax "^1.2.4" - -negotiator@0.6.3, negotiator@^0.6.3: - version "0.6.3" - resolved "https://registry.yarnpkg.com/negotiator/-/negotiator-0.6.3.tgz#58e323a72fedc0d6f9cd4d31fe49f51479590ccd" - integrity sha512-+EUsqGPLsM+j/zdChZjsnX51g4XrHFOIXwfnCVPGlQk/k5giakcKsuxCObBRu6DSm9opw/O6slWbJdghQM4bBg== - -neo-async@^2.6.2: - version "2.6.2" - resolved "https://registry.yarnpkg.com/neo-async/-/neo-async-2.6.2.tgz#b4aafb93e3aeb2d8174ca53cf163ab7d7308305f" - integrity sha512-Yd3UES5mWCSqR+qNT93S3UoYUkqAZ9lLg8a7g9rimsWmYGK8cVToA4/sF3RrshdyV3sAGMXVUmpMYOw+dLpOuw== - -nested-error-stacks@^2.0.0, nested-error-stacks@^2.1.0: - version "2.1.1" - resolved "https://registry.yarnpkg.com/nested-error-stacks/-/nested-error-stacks-2.1.1.tgz#26c8a3cee6cc05fbcf1e333cd2fc3e003326c0b5" - integrity sha512-9iN1ka/9zmX1ZvLV9ewJYEk9h7RyRRtqdK0woXcqohu8EWIerfPUjYJPg0ULy0UqP7cslmdGc8xKDJcojlKiaw== - -netlify-cli@8.6.18: - version "8.6.18" - resolved "https://registry.yarnpkg.com/netlify-cli/-/netlify-cli-8.6.18.tgz#d5dc2ef39fdd6de85b006da97bb9e4dcbfeeefa1" - integrity sha512-QKwsO3Id3opGGXIG/Qdf2YuVJ+4N8BGn4wuAANrw4keGVMcPe0hNvZwsLrm/lWlCRmgA26/QnZ5dMvMWkTS0/A== - dependencies: - "@netlify/build" "^26.1.0" - "@netlify/config" "^17.0.3" - "@netlify/framework-info" "^8.0.0" - "@netlify/local-functions-proxy" "^1.1.1" - "@netlify/plugin-edge-handlers" "^3.0.2" - "@netlify/plugins-list" "^6.2.0" - "@netlify/routing-local-proxy" "^0.34.1" - "@netlify/zip-it-and-ship-it" "5.4.0" - "@octokit/rest" "^18.0.0" - "@sindresorhus/slugify" "^1.1.0" - ansi-escapes "^5.0.0" - ansi-styles "^5.0.0" - ascii-table "0.0.9" - backoff "^2.5.0" - better-opn "^3.0.0" - boxen "^5.0.0" - chalk "^4.0.0" - chokidar "^3.0.2" - ci-info "^3.0.0" - clean-deep "^3.0.2" - commander "^8.3.0" - concordance "^5.0.0" - configstore "^5.0.0" - content-type "^1.0.4" - cookie "^0.4.0" - copy-template-dir "^1.4.0" - debug "^4.1.1" - decache "^4.6.0" - del "^6.0.0" - dot-prop "^6.0.0" - dotenv "^10.0.0" - env-paths "^2.2.0" - envinfo "^7.3.1" - execa "^5.0.0" - express "^4.17.1" - express-logging "^1.1.1" - find-up "^5.0.0" - flush-write-stream "^2.0.0" - folder-walker "^3.2.0" - from2-array "^0.0.4" - fuzzy "^0.1.3" - get-port "^5.1.0" - gh-release-fetch "^3.0.0" - git-repo-info "^2.1.0" - gitconfiglocal "^2.1.0" - hasbin "^1.2.3" - hasha "^5.2.2" - http-proxy "^1.18.0" - http-proxy-middleware "^2.0.0" - https-proxy-agent "^5.0.0" - inquirer "^6.5.1" - inquirer-autocomplete-prompt "^1.0.1" - is-docker "^2.0.0" - is-plain-obj "^3.0.0" - is-wsl "^2.2.0" - isexe "^2.0.0" - jwt-decode "^3.0.0" - lambda-local "^2.0.0" - listr "^0.14.3" - locate-path "^6.0.0" - lodash "^4.17.20" - log-symbols "^4.0.0" - log-update "^5.0.0" - memoize-one "^6.0.0" - minimist "^1.2.5" - multiparty "^4.2.1" - netlify "^10.1.1" - netlify-headers-parser "^6.0.0" - netlify-redirect-parser "^13.0.0" - netlify-redirector "^0.2.1" - node-fetch "^2.6.0" - node-version-alias "^1.0.1" - omit.js "^2.0.2" - ora "^5.0.0" - p-event "^4.2.0" - p-filter "^2.1.0" - p-map "^4.0.0" - p-wait-for "^3.0.0" - parallel-transform "^1.2.0" - parse-github-url "^1.0.2" - parse-gitignore "^1.0.1" - path-key "^3.1.1" - prettyjson "^1.2.1" - pump "^3.0.0" - raw-body "^2.4.1" - read-pkg-up "^7.0.1" - semver "^7.3.5" - source-map-support "^0.5.19" - static-server "^2.2.1" - string-similarity "^4.0.4" - strip-ansi-control-characters "^2.0.0" - tabtab "^3.0.2" - tempy "^1.0.0" - terminal-link "^2.1.1" - through2-filter "^3.0.0" - through2-map "^3.0.0" - to-readable-stream "^2.1.0" - toml "^3.0.0" - update-notifier "^5.0.0" - uuid "^8.0.0" - wait-port "^0.2.2" - winston "^3.2.1" - write-file-atomic "^3.0.0" - -netlify-headers-parser@^6.0.0, netlify-headers-parser@^6.0.2: - version "6.0.3" - resolved "https://registry.yarnpkg.com/netlify-headers-parser/-/netlify-headers-parser-6.0.3.tgz#d374a5ff0c372e073e11f4d1474a15f651c66807" - integrity sha512-N+8F4DLF4ksM8WHCYA4orLtH4fG3dgiJglZJ4NvjHHIgU1pMg5TYnpGiCtEOmJpZ6UZ7jUjIyPIoRp2NOOM47Q== - dependencies: - escape-string-regexp "^5.0.0" - is-plain-obj "^4.0.0" - map-obj "^5.0.0" - path-exists "^5.0.0" - toml "^3.0.0" - -netlify-redirect-parser@13.0.5: - version "13.0.5" - resolved "https://registry.yarnpkg.com/netlify-redirect-parser/-/netlify-redirect-parser-13.0.5.tgz#f627a303d58e2cafde2d82f7e8582f89e0ebedb2" - integrity sha512-Q5YEQu9YLItP38VzmzJRZ+dP4HTnK0i4Reczq+AC4UDGGEcf9JkyUC8f9YgCoamtMPjX3Qb+o+7lF1vYztH/UQ== - dependencies: - filter-obj "^3.0.0" - is-plain-obj "^4.0.0" - path-exists "^5.0.0" - toml "^3.0.0" - -netlify-redirect-parser@^13.0.0: - version "13.0.6" - resolved "https://registry.yarnpkg.com/netlify-redirect-parser/-/netlify-redirect-parser-13.0.6.tgz#8a036324eb33aeb51ea72c558f6b4d63f1256373" - integrity sha512-koUNm3EBjgC3IzYe5/La5DWhqZzNQceYdkla+JMb92cM0J5D7H8+ajsaW4RGI6hQA87uLdQoD8hxCijpUujbrg== - dependencies: - filter-obj "^3.0.0" - is-plain-obj "^4.0.0" - path-exists "^5.0.0" - toml "^3.0.0" - -netlify-redirector@^0.2.1: - version "0.2.1" - resolved "https://registry.yarnpkg.com/netlify-redirector/-/netlify-redirector-0.2.1.tgz#efdb761ea2c52edb3ecb5f237db0e10861f2ff0e" - integrity sha512-17vDR9p1Loanp+vd57y+b6WlKb5X+qb0LZ44oTYsKJbdonz4Md+Ybv1lzH1w1aKm5YWWXHR8LMpWyY9bjlAJKw== - -netlify@^10.1.1: - version "10.1.2" - resolved "https://registry.yarnpkg.com/netlify/-/netlify-10.1.2.tgz#11ab524f5b0344d3d304d99811eb0b0676a19427" - integrity sha512-xm9WUbnHCLmoPjMiZ3AuH3sHIsCQ7Y/u+QobbU2RzL9deR3OQaK0E7nJDFhUraybtO8n/mjOWnDwxb0GKtBwFQ== - dependencies: - "@netlify/open-api" "^2.8.0" - lodash.camelcase "^4.3.0" - micro-api-client "^3.3.0" - node-fetch "^2.6.1" - omit.js "^2.0.2" - p-wait-for "^3.2.0" - qs "^6.9.6" - -netlify@^11.0.1: - version "11.0.4" - resolved "https://registry.yarnpkg.com/netlify/-/netlify-11.0.4.tgz#f7de45a1432b90ff32e6143011121e65e12175a4" - integrity sha512-pvaFCKkc0pi4CYnM21pNTlQ79zxbnPi8saxT1aslc4zC7gG6A97iIfCQYF7bGWOQgLyaDbmv6A4AWQ7vncDjBg== - dependencies: - "@netlify/open-api" "^2.11.0" - lodash.camelcase "^4.3.0" - micro-api-client "^3.3.0" - node-fetch "^3.0.0" - omit.js "^2.0.2" - p-wait-for "^4.0.0" - qs "^6.9.6" - -nice-try@^1.0.4: - version "1.0.5" - resolved "https://registry.yarnpkg.com/nice-try/-/nice-try-1.0.5.tgz#a3378a7696ce7d223e88fc9b764bd7ef1089e366" - integrity sha512-1nh45deeb5olNY7eX82BkPO7SSxR5SSYJiPTrTdFUVYwAl8CKMA5N9PjTYkHiRjisVcxcQ1HXdLhx2qxxJzLNQ== - -no-case@^3.0.4: - version "3.0.4" - resolved "https://registry.yarnpkg.com/no-case/-/no-case-3.0.4.tgz#d361fd5c9800f558551a8369fc0dcd4662b6124d" - integrity sha512-fgAN3jGAh+RoxUGZHTSOLJIqUc2wmoBwGR4tbpNAKmmovFoWq0OdRkb0VkldReO2a2iBT/OEulG9XSUc10r3zg== - dependencies: - lower-case "^2.0.2" - tslib "^2.0.3" - -node-abort-controller@^3.0.1: - version "3.1.1" - resolved "https://registry.yarnpkg.com/node-abort-controller/-/node-abort-controller-3.1.1.tgz#a94377e964a9a37ac3976d848cb5c765833b8548" - integrity sha512-AGK2yQKIjRuqnc6VkX2Xj5d+QW8xZ87pa1UK6yA6ouUyuxfHuMP6umE5QK7UmTeOAymo+Zx1Fxiuw9rVx8taHQ== - -node-addon-api@^3.2.1: - version "3.2.1" - resolved "https://registry.yarnpkg.com/node-addon-api/-/node-addon-api-3.2.1.tgz#81325e0a2117789c0128dab65e7e38f07ceba161" - integrity sha512-mmcei9JghVNDYydghQmeDX8KoAm0FAiYyIcUt/N4nhyAipB17pllZQDOJD2fotxABnt4Mdz+dKTO7eftLg4d0A== - -node-domexception@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/node-domexception/-/node-domexception-1.0.0.tgz#6888db46a1f71c0b76b3f7555016b63fe64766e5" - integrity sha512-/jKZoMpw0F8GRwl4/eLROPA3cfcXtLApP0QzLmUT/HuPCZWyB7IY9ZrMeKw2O/nFIqPQB3PVM9aYm0F312AXDQ== - -node-fetch@2.6.7: - version "2.6.7" - resolved "https://registry.yarnpkg.com/node-fetch/-/node-fetch-2.6.7.tgz#24de9fba827e3b4ae44dc8b20256a379160052ad" - integrity sha512-ZjMPFEfVx5j+y2yF35Kzx5sF7kDzxuDj6ziH4FFbOp87zKDZNx8yExJIb05OGF4Nlt9IHFIMBkRl41VdvcNdbQ== - dependencies: - whatwg-url "^5.0.0" - -node-fetch@^2.3.0, node-fetch@^2.6.0, node-fetch@^2.6.1, node-fetch@^2.6.7: - version "2.7.0" - resolved "https://registry.yarnpkg.com/node-fetch/-/node-fetch-2.7.0.tgz#d0f0fa6e3e2dc1d27efcd8ad99d550bda94d187d" - integrity sha512-c4FRfUm/dbcWZ7U+1Wq0AwCyFL+3nt2bEw05wfxSz+DWpWsitgmSgYmy2dQdWyKC1694ELPqMs/YzUSNozLt8A== - dependencies: - whatwg-url "^5.0.0" - -node-fetch@^3.0.0: - version "3.3.2" - resolved "https://registry.yarnpkg.com/node-fetch/-/node-fetch-3.3.2.tgz#d1e889bacdf733b4ff3b2b243eb7a12866a0b78b" - integrity sha512-dRB78srN/l6gqWulah9SrxeYnxeddIG30+GOqK/9OlLVyLg3HPnr6SqOWTWOXKRwC2eGYCkZ59NNuSgvSrpgOA== - dependencies: - data-uri-to-buffer "^4.0.0" - fetch-blob "^3.1.4" - formdata-polyfill "^4.0.10" - -node-gyp-build@^4.2.2, node-gyp-build@^4.3.0: - version "4.8.2" - resolved "https://registry.yarnpkg.com/node-gyp-build/-/node-gyp-build-4.8.2.tgz#4f802b71c1ab2ca16af830e6c1ea7dd1ad9496fa" - integrity sha512-IRUxE4BVsHWXkV/SFOut4qTlagw2aM8T5/vnTsmrHJvVoKueJHRc/JaFND7QDDc61kLYUJ6qlZM3sqTSyx2dTw== - -node-gyp@^9.0.0: - version "9.4.1" - resolved "https://registry.yarnpkg.com/node-gyp/-/node-gyp-9.4.1.tgz#8a1023e0d6766ecb52764cc3a734b36ff275e185" - integrity sha512-OQkWKbjQKbGkMf/xqI1jjy3oCTgMKJac58G2+bjZb3fza6gW2YrCSdMQYaoTb70crvE//Gngr4f0AgVHmqHvBQ== - dependencies: - env-paths "^2.2.0" - exponential-backoff "^3.1.1" - glob "^7.1.4" - graceful-fs "^4.2.6" - make-fetch-happen "^10.0.3" - nopt "^6.0.0" - npmlog "^6.0.0" - rimraf "^3.0.2" - semver "^7.3.5" - tar "^6.1.2" - which "^2.0.2" - -node-int64@^0.4.0: - version "0.4.0" - resolved "https://registry.yarnpkg.com/node-int64/-/node-int64-0.4.0.tgz#87a9065cdb355d3182d8f94ce11188b825c68a3b" - integrity sha512-O5lz91xSOeoXP6DulyHfllpq+Eg00MWitZIbtPfoSEvqIHdl5gfcY6hYzDWnj0qD5tz52PI08u9qUvSVeUBeHw== - -node-pre-gyp@^0.13.0: - version "0.13.0" - resolved "https://registry.yarnpkg.com/node-pre-gyp/-/node-pre-gyp-0.13.0.tgz#df9ab7b68dd6498137717838e4f92a33fc9daa42" - integrity sha512-Md1D3xnEne8b/HGVQkZZwV27WUi1ZRuZBij24TNaZwUPU3ZAFtvT6xxJGaUVillfmMKnn5oD1HoGsp2Ftik7SQ== - dependencies: - detect-libc "^1.0.2" - mkdirp "^0.5.1" - needle "^2.2.1" - nopt "^4.0.1" - npm-packlist "^1.1.6" - npmlog "^4.0.2" - rc "^1.2.7" - rimraf "^2.6.1" - semver "^5.3.0" - tar "^4" - -node-preload@^0.2.1: - version "0.2.1" - resolved "https://registry.yarnpkg.com/node-preload/-/node-preload-0.2.1.tgz#c03043bb327f417a18fee7ab7ee57b408a144301" - integrity sha512-RM5oyBy45cLEoHqCeh+MNuFAxO0vTFBLskvQbOKnEE7YTTSN4tbN8QWDIPQ6L+WvKsB/qLEGpYe2ZZ9d4W9OIQ== - dependencies: - process-on-spawn "^1.0.0" - -node-releases@^2.0.18: - version "2.0.18" - resolved "https://registry.yarnpkg.com/node-releases/-/node-releases-2.0.18.tgz#f010e8d35e2fe8d6b2944f03f70213ecedc4ca3f" - integrity sha512-d9VeXT4SJ7ZeOqGX6R5EM022wpL+eWPooLI+5UpWn2jCT1aosUQEhQP214x33Wkwx3JQMvIm+tIoVOdodFS40g== - -node-source-walk@^4.0.0, node-source-walk@^4.2.0, node-source-walk@^4.2.2: - version "4.3.0" - resolved "https://registry.yarnpkg.com/node-source-walk/-/node-source-walk-4.3.0.tgz#8336b56cfed23ac5180fe98f1e3bb6b11fd5317c" - integrity sha512-8Q1hXew6ETzqKRAs3jjLioSxNfT1cx74ooiF8RlAONwVMcfq+UdzLC2eB5qcPldUxaE5w3ytLkrmV1TGddhZTA== - dependencies: - "@babel/parser" "^7.0.0" - -node-source-walk@^5.0.0, node-source-walk@^5.0.1: - version "5.0.2" - resolved "https://registry.yarnpkg.com/node-source-walk/-/node-source-walk-5.0.2.tgz#0eb439ce378946ce531e07a6a0073d06288396dd" - integrity sha512-Y4jr/8SRS5hzEdZ7SGuvZGwfORvNsSsNRwDXx5WisiqzsVfeftDvRgfeqWNgZvWSJbgubTRVRYBzK6UO+ErqjA== - dependencies: - "@babel/parser" "^7.21.4" - -node-version-alias@^1.0.1: - version "1.0.1" - resolved "https://registry.yarnpkg.com/node-version-alias/-/node-version-alias-1.0.1.tgz#3c77bdb4ec8c2516644f03ec73847359f94273fd" - integrity sha512-E9EhoJkpIIZyYplB298W8ZfhcojQrnKnUPcaOgJqVqICUZwPZkuj10nTzEscwdziOOj545v4tGPvNBG3ieUbSw== - dependencies: - all-node-versions "^8.0.0" - filter-obj "^2.0.1" - jest-validate "^25.3.0" - normalize-node-version "^10.0.0" - path-exists "^4.0.0" - semver "^7.3.2" - -noms@0.0.0: - version "0.0.0" - resolved "https://registry.yarnpkg.com/noms/-/noms-0.0.0.tgz#da8ebd9f3af9d6760919b27d9cdc8092a7332859" - integrity sha512-lNDU9VJaOPxUmXcLb+HQFeUgQQPtMI24Gt6hgfuMHRJgMRHMF/qZ4HJD3GDru4sSw9IQl2jPjAYnQrdIeLbwow== - dependencies: - inherits "^2.0.1" - readable-stream "~1.0.31" - -noop2@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/noop2/-/noop2-2.0.0.tgz#4b636015e9882b54783c02b412f699d8c5cd0a5b" - integrity sha512-2bu7Pfpf6uNqashWV8P7yYeutQ3XkLY9MBSYI5sOAFZxuWcW/uJfLbKj5m6SvMDT9U1Y0C+7UFG+7VSiIdXjtA== - -nopt@^4.0.1: - version "4.0.3" - resolved "https://registry.yarnpkg.com/nopt/-/nopt-4.0.3.tgz#a375cad9d02fd921278d954c2254d5aa57e15e48" - integrity sha512-CvaGwVMztSMJLOeXPrez7fyfObdZqNUK1cPAEzLHrTybIua9pMdmmPR5YwtfNftIOMv3DPUhFaxsZMNTQO20Kg== - dependencies: - abbrev "1" - osenv "^0.1.4" - -nopt@^5.0.0: - version "5.0.0" - resolved "https://registry.yarnpkg.com/nopt/-/nopt-5.0.0.tgz#530942bb58a512fccafe53fe210f13a25355dc88" - integrity sha512-Tbj67rffqceeLpcRXrT7vKAN8CwfPeIBgM7E6iBkmKLV7bEMwpGgYLGv0jACUsECaa/vuxP0IjEont6umdMgtQ== - dependencies: - abbrev "1" - -nopt@^6.0.0: - version "6.0.0" - resolved "https://registry.yarnpkg.com/nopt/-/nopt-6.0.0.tgz#245801d8ebf409c6df22ab9d95b65e1309cdb16d" - integrity sha512-ZwLpbTgdhuZUnZzjd7nb1ZV+4DoiC6/sfiVKok72ym/4Tlf+DFdlHYmT2JPmcNNWV6Pi3SDf1kT+A4r9RTuT9g== - dependencies: - abbrev "^1.0.0" - -nopt@^7.0.0: - version "7.2.1" - resolved "https://registry.yarnpkg.com/nopt/-/nopt-7.2.1.tgz#1cac0eab9b8e97c9093338446eddd40b2c8ca1e7" - integrity sha512-taM24ViiimT/XntxbPyJQzCG+p4EKOpgD3mxFwW38mGjVUrfERQOeY4EDHjdnptttfHuHQXFx+lTP08Q+mLa/w== - dependencies: - abbrev "^2.0.0" - -normalize-node-version@^10.0.0: - version "10.0.0" - resolved "https://registry.yarnpkg.com/normalize-node-version/-/normalize-node-version-10.0.0.tgz#5ec513f3eb292a8c2f0d35ba519f97f077cb80bc" - integrity sha512-/gVbS/qAnowVxr2fJy3F0MxmCvx8QdXJDl8XUE7HT3vsDeDjQfZkX9OiPahF+51Hgy93cKG1hP6uyBjQsMCvWQ== - dependencies: - all-node-versions "^8.0.0" - filter-obj "^2.0.1" - jest-validate "^25.3.0" - semver "^7.3.2" - -normalize-package-data@^2.3.2, normalize-package-data@^2.5.0: - version "2.5.0" - resolved "https://registry.yarnpkg.com/normalize-package-data/-/normalize-package-data-2.5.0.tgz#e66db1838b200c1dfc233225d12cb36520e234a8" - integrity sha512-/5CMN3T0R4XTj4DcGaexo+roZSdSFW/0AOOTROrjxzCG1wrWXEsGbRKevjlIL+ZDE4sZlJr5ED4YW0yqmkK+eA== - dependencies: - hosted-git-info "^2.1.4" - resolve "^1.10.0" - semver "2 || 3 || 4 || 5" - validate-npm-package-license "^3.0.1" - -normalize-package-data@^3.0.0, normalize-package-data@^3.0.2: - version "3.0.3" - resolved "https://registry.yarnpkg.com/normalize-package-data/-/normalize-package-data-3.0.3.tgz#dbcc3e2da59509a0983422884cd172eefdfa525e" - integrity sha512-p2W1sgqij3zMMyRC067Dg16bfzVH+w7hyegmpIvZ4JNjqtGOVAIvLmjBx3yP7YTe9vKJgkoNOPjwQGogDoMXFA== - dependencies: - hosted-git-info "^4.0.1" - is-core-module "^2.5.0" - semver "^7.3.4" - validate-npm-package-license "^3.0.1" - -normalize-package-data@^4.0.0: - version "4.0.1" - resolved "https://registry.yarnpkg.com/normalize-package-data/-/normalize-package-data-4.0.1.tgz#b46b24e0616d06cadf9d5718b29b6d445a82a62c" - integrity sha512-EBk5QKKuocMJhB3BILuKhmaPjI8vNRSpIfO9woLC6NyHVkKKdVEdAO1mrT0ZfxNR1lKwCcTkuZfmGIFdizZ8Pg== - dependencies: - hosted-git-info "^5.0.0" - is-core-module "^2.8.1" - semver "^7.3.5" - validate-npm-package-license "^3.0.4" - -normalize-path@^2.1.1: - version "2.1.1" - resolved "https://registry.yarnpkg.com/normalize-path/-/normalize-path-2.1.1.tgz#1ab28b556e198363a8c1a6f7e6fa20137fe6aed9" - integrity sha512-3pKJwH184Xo/lnH6oyP1q2pMd7HcypqqmRs91/6/i2CGtWwIKGCkOOMTm/zXbgTEWHw1uNpNi/igc3ePOYHb6w== - dependencies: - remove-trailing-separator "^1.0.1" - -normalize-path@^3.0.0, normalize-path@~3.0.0: - version "3.0.0" - resolved "https://registry.yarnpkg.com/normalize-path/-/normalize-path-3.0.0.tgz#0dcd69ff23a1c9b11fd0978316644a0388216a65" - integrity sha512-6eZs5Ls3WtCisHWp9S2GUy8dqkpGi4BVSz3GaqiE6ezub0512ESztXUwUB6C6IKbQkY2Pnb/mD4WYojCRwcwLA== - -normalize-url@2.0.1: - version "2.0.1" - resolved "https://registry.yarnpkg.com/normalize-url/-/normalize-url-2.0.1.tgz#835a9da1551fa26f70e92329069a23aa6574d7e6" - integrity sha512-D6MUW4K/VzoJ4rJ01JFKxDrtY1v9wrgzCX5f2qj/lzH1m/lW6MhUZFKerVsnyjOhOsYzI9Kqqak+10l4LvLpMw== - dependencies: - prepend-http "^2.0.0" - query-string "^5.0.1" - sort-keys "^2.0.0" - -normalize-url@^4.1.0: - version "4.5.1" - resolved "https://registry.yarnpkg.com/normalize-url/-/normalize-url-4.5.1.tgz#0dd90cf1288ee1d1313b87081c9a5932ee48518a" - integrity sha512-9UZCFRHQdNrfTpGg8+1INIg93B6zE0aXMVFkw1WFwvO4SlZywU6aLg5Of0Ap/PgcbSw4LNxvMWXMeugwMCX0AA== - -normalize-url@^6.0.1: - version "6.1.0" - resolved "https://registry.yarnpkg.com/normalize-url/-/normalize-url-6.1.0.tgz#40d0885b535deffe3f3147bec877d05fe4c5668a" - integrity sha512-DlL+XwOy3NxAQ8xuC0okPgK46iuVNAK01YN7RueYBqqFeGsBjV9XmCAzAdgt+667bCl5kPh9EqKKDwnaPG1I7A== - -npm-bundled@^1.0.1, npm-bundled@^1.1.1, npm-bundled@^1.1.2: - version "1.1.2" - resolved "https://registry.yarnpkg.com/npm-bundled/-/npm-bundled-1.1.2.tgz#944c78789bd739035b70baa2ca5cc32b8d860bc1" - integrity sha512-x5DHup0SuyQcmL3s7Rx/YQ8sbw/Hzg0rj48eN0dV7hf5cmQq5PXIeioroH3raV1QC1yh3uTYuMThvEQF3iKgGQ== - dependencies: - npm-normalize-package-bin "^1.0.1" - -npm-bundled@^2.0.0: - version "2.0.1" - resolved "https://registry.yarnpkg.com/npm-bundled/-/npm-bundled-2.0.1.tgz#94113f7eb342cd7a67de1e789f896b04d2c600f4" - integrity sha512-gZLxXdjEzE/+mOstGDqR6b0EkhJ+kM6fxM6vUuckuctuVPh80Q6pw/rSZj9s4Gex9GxWtIicO1pc8DB9KZWudw== - dependencies: - npm-normalize-package-bin "^2.0.0" - -npm-install-checks@^5.0.0: - version "5.0.0" - resolved "https://registry.yarnpkg.com/npm-install-checks/-/npm-install-checks-5.0.0.tgz#5ff27d209a4e3542b8ac6b0c1db6063506248234" - integrity sha512-65lUsMI8ztHCxFz5ckCEC44DRvEGdZX5usQFriauxHEwt7upv1FKaQEmAtU0YnOAdwuNWCmk64xYiQABNrEyLA== - dependencies: - semver "^7.1.1" - -npm-normalize-package-bin@^1.0.1: - version "1.0.1" - resolved "https://registry.yarnpkg.com/npm-normalize-package-bin/-/npm-normalize-package-bin-1.0.1.tgz#6e79a41f23fd235c0623218228da7d9c23b8f6e2" - integrity sha512-EPfafl6JL5/rU+ot6P3gRSCpPDW5VmIzX959Ob1+ySFUuuYHWHekXpwdUZcKP5C+DS4GEtdJluwBjnsNDl+fSA== - -npm-normalize-package-bin@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/npm-normalize-package-bin/-/npm-normalize-package-bin-2.0.0.tgz#9447a1adaaf89d8ad0abe24c6c84ad614a675fff" - integrity sha512-awzfKUO7v0FscrSpRoogyNm0sajikhBWpU0QMrW09AMi9n1PoKU6WaIqUzuJSQnpciZZmJ/jMZ2Egfmb/9LiWQ== - -npm-normalize-package-bin@^3.0.0: - version "3.0.1" - resolved "https://registry.yarnpkg.com/npm-normalize-package-bin/-/npm-normalize-package-bin-3.0.1.tgz#25447e32a9a7de1f51362c61a559233b89947832" - integrity sha512-dMxCf+zZ+3zeQZXKxmyuCKlIDPGuv8EF940xbkC4kQVDTtqoh6rJFO+JTKSA6/Rwi0getWmtuy4Itup0AMcaDQ== - -npm-package-arg@8.1.1: - version "8.1.1" - resolved "https://registry.yarnpkg.com/npm-package-arg/-/npm-package-arg-8.1.1.tgz#00ebf16ac395c63318e67ce66780a06db6df1b04" - integrity sha512-CsP95FhWQDwNqiYS+Q0mZ7FAEDytDZAkNxQqea6IaAFJTAY9Lhhqyl0irU/6PMc7BGfUmnsbHcqxJD7XuVM/rg== - dependencies: - hosted-git-info "^3.0.6" - semver "^7.0.0" - validate-npm-package-name "^3.0.0" - -npm-package-arg@^9.0.0, npm-package-arg@^9.0.1: - version "9.1.2" - resolved "https://registry.yarnpkg.com/npm-package-arg/-/npm-package-arg-9.1.2.tgz#fc8acecb00235f42270dda446f36926ddd9ac2bc" - integrity sha512-pzd9rLEx4TfNJkovvlBSLGhq31gGu2QDexFPWT19yCDh0JgnRhlBLNo5759N0AJmBk+kQ9Y/hXoLnlgFD+ukmg== - dependencies: - hosted-git-info "^5.0.0" - proc-log "^2.0.1" - semver "^7.3.5" - validate-npm-package-name "^4.0.0" - -npm-packlist@5.1.1: - version "5.1.1" - resolved "https://registry.yarnpkg.com/npm-packlist/-/npm-packlist-5.1.1.tgz#79bcaf22a26b6c30aa4dd66b976d69cc286800e0" - integrity sha512-UfpSvQ5YKwctmodvPPkK6Fwk603aoVsf8AEbmVKAEECrfvL8SSe1A2YIwrJ6xmTHAITKPwwZsWo7WwEbNk0kxw== - dependencies: - glob "^8.0.1" - ignore-walk "^5.0.1" - npm-bundled "^1.1.2" - npm-normalize-package-bin "^1.0.1" - -npm-packlist@^1.1.6: - version "1.4.8" - resolved "https://registry.yarnpkg.com/npm-packlist/-/npm-packlist-1.4.8.tgz#56ee6cc135b9f98ad3d51c1c95da22bbb9b2ef3e" - integrity sha512-5+AZgwru5IevF5ZdnFglB5wNlHG1AOOuw28WhUq8/8emhBmLv6jX5by4WJCh7lW0uSYZYS6DXqIsyZVIXRZU9A== - dependencies: - ignore-walk "^3.0.1" - npm-bundled "^1.0.1" - npm-normalize-package-bin "^1.0.1" - -npm-packlist@^5.1.0: - version "5.1.3" - resolved "https://registry.yarnpkg.com/npm-packlist/-/npm-packlist-5.1.3.tgz#69d253e6fd664b9058b85005905012e00e69274b" - integrity sha512-263/0NGrn32YFYi4J533qzrQ/krmmrWwhKkzwTuM4f/07ug51odoaNjUexxO4vxlzURHcmYMH1QjvHjsNDKLVg== - dependencies: - glob "^8.0.1" - ignore-walk "^5.0.1" - npm-bundled "^2.0.0" - npm-normalize-package-bin "^2.0.0" - -npm-pick-manifest@^7.0.0: - version "7.0.2" - resolved "https://registry.yarnpkg.com/npm-pick-manifest/-/npm-pick-manifest-7.0.2.tgz#1d372b4e7ea7c6712316c0e99388a73ed3496e84" - integrity sha512-gk37SyRmlIjvTfcYl6RzDbSmS9Y4TOBXfsPnoYqTHARNgWbyDiCSMLUpmALDj4jjcTZpURiEfsSHJj9k7EV4Rw== - dependencies: - npm-install-checks "^5.0.0" - npm-normalize-package-bin "^2.0.0" - npm-package-arg "^9.0.0" - semver "^7.3.5" - -npm-registry-fetch@13.3.0: - version "13.3.0" - resolved "https://registry.yarnpkg.com/npm-registry-fetch/-/npm-registry-fetch-13.3.0.tgz#0ce10fa4a699a1e70685ecf41bbfb4150d74231b" - integrity sha512-10LJQ/1+VhKrZjIuY9I/+gQTvumqqlgnsCufoXETHAPFTS3+M+Z5CFhZRDHGavmJ6rOye3UvNga88vl8n1r6gg== - dependencies: - make-fetch-happen "^10.0.6" - minipass "^3.1.6" - minipass-fetch "^2.0.3" - minipass-json-stream "^1.0.1" - minizlib "^2.1.2" - npm-package-arg "^9.0.1" - proc-log "^2.0.0" - -npm-registry-fetch@^13.0.0, npm-registry-fetch@^13.0.1: - version "13.3.1" - resolved "https://registry.yarnpkg.com/npm-registry-fetch/-/npm-registry-fetch-13.3.1.tgz#bb078b5fa6c52774116ae501ba1af2a33166af7e" - integrity sha512-eukJPi++DKRTjSBRcDZSDDsGqRK3ehbxfFUcgaRd0Yp6kRwOwh2WVn0r+8rMB4nnuzvAk6rQVzl6K5CkYOmnvw== - dependencies: - make-fetch-happen "^10.0.6" - minipass "^3.1.6" - minipass-fetch "^2.0.3" - minipass-json-stream "^1.0.1" - minizlib "^2.1.2" - npm-package-arg "^9.0.1" - proc-log "^2.0.0" - -npm-run-all@4.1.5: - version "4.1.5" - resolved "https://registry.yarnpkg.com/npm-run-all/-/npm-run-all-4.1.5.tgz#04476202a15ee0e2e214080861bff12a51d98fba" - integrity sha512-Oo82gJDAVcaMdi3nuoKFavkIHBRVqQ1qvMb+9LHk/cF4P6B2m8aP04hGf7oL6wZ9BuGwX1onlLhpuoofSyoQDQ== - dependencies: - ansi-styles "^3.2.1" - chalk "^2.4.1" - cross-spawn "^6.0.5" - memorystream "^0.3.1" - minimatch "^3.0.4" - pidtree "^0.3.0" - read-pkg "^3.0.0" - shell-quote "^1.6.1" - string.prototype.padend "^3.0.0" - -npm-run-path@^4.0.1: - version "4.0.1" - resolved "https://registry.yarnpkg.com/npm-run-path/-/npm-run-path-4.0.1.tgz#b7ecd1e5ed53da8e37a55e1c2269e0b97ed748ea" - integrity sha512-S48WzZW777zhNIrn7gxOlISNAqi9ZC/uQFnRdbeIHhZhCA6UqpkOT8T1G7BvfdgP4Er8gF4sUbaS0i7QvIfCWw== - dependencies: - path-key "^3.0.0" - -npm-run-path@^5.1.0: - version "5.3.0" - resolved "https://registry.yarnpkg.com/npm-run-path/-/npm-run-path-5.3.0.tgz#e23353d0ebb9317f174e93417e4a4d82d0249e9f" - integrity sha512-ppwTtiJZq0O/ai0z7yfudtBpWIoxM8yE6nHi1X47eFR2EWORqfbu6CnPlNsjeN683eT0qG6H/Pyf9fCcvjnnnQ== - dependencies: - path-key "^4.0.0" - -npmlog@^4.0.2: - version "4.1.2" - resolved "https://registry.yarnpkg.com/npmlog/-/npmlog-4.1.2.tgz#08a7f2a8bf734604779a9efa4ad5cc717abb954b" - integrity sha512-2uUqazuKlTaSI/dC8AzicUck7+IrEaOnN/e0jd3Xtt1KcGpwx30v50mL7oPyr/h9bL3E4aZccVwpwP+5W9Vjkg== - dependencies: - are-we-there-yet "~1.1.2" - console-control-strings "~1.1.0" - gauge "~2.7.3" - set-blocking "~2.0.0" - -npmlog@^5.0.1: - version "5.0.1" - resolved "https://registry.yarnpkg.com/npmlog/-/npmlog-5.0.1.tgz#f06678e80e29419ad67ab964e0fa69959c1eb8b0" - integrity sha512-AqZtDUWOMKs1G/8lwylVjrdYgqA4d9nu8hc+0gzRxlDb1I10+FHBGMXs6aiQHFdCUUlqH99MUMuLfzWDNDtfxw== - dependencies: - are-we-there-yet "^2.0.0" - console-control-strings "^1.1.0" - gauge "^3.0.0" - set-blocking "^2.0.0" - -npmlog@^6.0.0, npmlog@^6.0.2: - version "6.0.2" - resolved "https://registry.yarnpkg.com/npmlog/-/npmlog-6.0.2.tgz#c8166017a42f2dea92d6453168dd865186a70830" - integrity sha512-/vBvz5Jfr9dT/aFWd0FIRf+T/Q2WBsLENygUaFUqstqsycmZAP/t5BvFJTK0viFmSUxiUKTUplWy5vt+rvKIxg== - dependencies: - are-we-there-yet "^3.0.0" - console-control-strings "^1.1.0" - gauge "^4.0.3" - set-blocking "^2.0.0" - -nth-check@^2.0.1: - version "2.1.1" - resolved "https://registry.yarnpkg.com/nth-check/-/nth-check-2.1.1.tgz#c9eab428effce36cd6b92c924bdb000ef1f1ed1d" - integrity sha512-lqjrjmaOoAnWfMmBPL+XNnynZh2+swxiX3WUE0s4yEHI6m+AwrK2UZOimIRl3X/4QctVqS8AiZjFqyOGrMXb/w== - dependencies: - boolbase "^1.0.0" - -number-is-nan@^1.0.0: - version "1.0.1" - resolved "https://registry.yarnpkg.com/number-is-nan/-/number-is-nan-1.0.1.tgz#097b602b53422a522c1afb8790318336941a011d" - integrity sha512-4jbtZXNAsfZbAHiiqjLPBiCl16dES1zI4Hpzzxw61Tk+loF+sBDBKx1ICKKKwIqQ7M0mFn1TmkN7euSncWgHiQ== - -nwsapi@^2.2.2: - version "2.2.13" - resolved "https://registry.yarnpkg.com/nwsapi/-/nwsapi-2.2.13.tgz#e56b4e98960e7a040e5474536587e599c4ff4655" - integrity sha512-cTGB9ptp9dY9A5VbMSe7fQBcl/tt22Vcqdq8+eN93rblOuE0aCFu4aZ2vMwct/2t+lFnosm8RkQW1I0Omb1UtQ== - -nx@15.9.7, "nx@>=15.5.2 < 16": - version "15.9.7" - resolved "https://registry.yarnpkg.com/nx/-/nx-15.9.7.tgz#f0e713cedb8637a517d9c4795c99afec4959a1b6" - integrity sha512-1qlEeDjX9OKZEryC8i4bA+twNg+lB5RKrozlNwWx/lLJHqWPUfvUTvxh+uxlPYL9KzVReQjUuxMLFMsHNqWUrA== - dependencies: - "@nrwl/cli" "15.9.7" - "@nrwl/tao" "15.9.7" - "@parcel/watcher" "2.0.4" - "@yarnpkg/lockfile" "^1.1.0" - "@yarnpkg/parsers" "3.0.0-rc.46" - "@zkochan/js-yaml" "0.0.6" - axios "^1.0.0" - chalk "^4.1.0" - cli-cursor "3.1.0" - cli-spinners "2.6.1" - cliui "^7.0.2" - dotenv "~10.0.0" - enquirer "~2.3.6" - fast-glob "3.2.7" - figures "3.2.0" - flat "^5.0.2" - fs-extra "^11.1.0" - glob "7.1.4" - ignore "^5.0.4" - js-yaml "4.1.0" - jsonc-parser "3.2.0" - lines-and-columns "~2.0.3" - minimatch "3.0.5" - npm-run-path "^4.0.1" - open "^8.4.0" - semver "7.5.4" - string-width "^4.2.3" - strong-log-transformer "^2.1.0" - tar-stream "~2.2.0" - tmp "~0.2.1" - tsconfig-paths "^4.1.2" - tslib "^2.3.0" - v8-compile-cache "2.3.0" - yargs "^17.6.2" - yargs-parser "21.1.1" - optionalDependencies: - "@nrwl/nx-darwin-arm64" "15.9.7" - "@nrwl/nx-darwin-x64" "15.9.7" - "@nrwl/nx-linux-arm-gnueabihf" "15.9.7" - "@nrwl/nx-linux-arm64-gnu" "15.9.7" - "@nrwl/nx-linux-arm64-musl" "15.9.7" - "@nrwl/nx-linux-x64-gnu" "15.9.7" - "@nrwl/nx-linux-x64-musl" "15.9.7" - "@nrwl/nx-win32-arm64-msvc" "15.9.7" - "@nrwl/nx-win32-x64-msvc" "15.9.7" - -nyc@^15.1.0: - version "15.1.0" - resolved "https://registry.yarnpkg.com/nyc/-/nyc-15.1.0.tgz#1335dae12ddc87b6e249d5a1994ca4bdaea75f02" - integrity sha512-jMW04n9SxKdKi1ZMGhvUTHBN0EICCRkHemEoE5jm6mTYcqcdas0ATzgUgejlQUHMvpnOZqGB5Xxsv9KxJW1j8A== - dependencies: - "@istanbuljs/load-nyc-config" "^1.0.0" - "@istanbuljs/schema" "^0.1.2" - caching-transform "^4.0.0" - convert-source-map "^1.7.0" - decamelize "^1.2.0" - find-cache-dir "^3.2.0" - find-up "^4.1.0" - foreground-child "^2.0.0" - get-package-type "^0.1.0" - glob "^7.1.6" - istanbul-lib-coverage "^3.0.0" - istanbul-lib-hook "^3.0.0" - istanbul-lib-instrument "^4.0.0" - istanbul-lib-processinfo "^2.0.2" - istanbul-lib-report "^3.0.0" - istanbul-lib-source-maps "^4.0.0" - istanbul-reports "^3.0.2" - make-dir "^3.0.0" - node-preload "^0.2.1" - p-map "^3.0.0" - process-on-spawn "^1.0.0" - resolve-from "^5.0.0" - rimraf "^3.0.0" - signal-exit "^3.0.2" - spawn-wrap "^2.0.0" - test-exclude "^6.0.0" - yargs "^15.0.2" - -object-assign@^4.0.1, object-assign@^4.1.0, object-assign@^4.1.1: - version "4.1.1" - resolved "https://registry.yarnpkg.com/object-assign/-/object-assign-4.1.1.tgz#2109adc7965887cfc05cbbd442cac8bfbb360863" - integrity sha512-rJgTQnkUnH1sFw8yT6VSU3zD3sWmu6sZhIseY8VX+GRu3P6F7Fu+JNDoXfklElbLJSnc3FUQHVe4cU5hj+BcUg== - -object-copy@^0.1.0: - version "0.1.0" - resolved "https://registry.yarnpkg.com/object-copy/-/object-copy-0.1.0.tgz#7e7d858b781bd7c991a41ba975ed3812754e998c" - integrity sha512-79LYn6VAb63zgtmAteVOWo9Vdj71ZVBy3Pbse+VqxDpEP83XuujMrGqHIwAXJ5I/aM0zU7dIyIAhifVTPrNItQ== - dependencies: - copy-descriptor "^0.1.0" - define-property "^0.2.5" - kind-of "^3.0.3" - -object-inspect@^1.13.1: - version "1.13.2" - resolved "https://registry.yarnpkg.com/object-inspect/-/object-inspect-1.13.2.tgz#dea0088467fb991e67af4058147a24824a3043ff" - integrity sha512-IRZSRuzJiynemAXPYtPe5BoI/RESNYR7TYm50MC5Mqbd3Jmw5y790sErYw3V6SryFJD64b74qQQs9wn5Bg/k3g== - -object-is@^1.1.5: - version "1.1.6" - resolved "https://registry.yarnpkg.com/object-is/-/object-is-1.1.6.tgz#1a6a53aed2dd8f7e6775ff870bea58545956ab07" - integrity sha512-F8cZ+KfGlSGi09lJT7/Nd6KJZ9ygtvYC0/UYYLI9nmQKLMnydpB9yvbv9K1uSkEu7FU9vYPmVwLg328tX+ot3Q== - dependencies: - call-bind "^1.0.7" - define-properties "^1.2.1" - -object-keys@^1.1.1: - version "1.1.1" - resolved "https://registry.yarnpkg.com/object-keys/-/object-keys-1.1.1.tgz#1c47f272df277f3b1daf061677d9c82e2322c60e" - integrity sha512-NuAESUOUMrlIXOfHKzD6bpPu3tYt3xvjNdRIQ+FeT0lNb4K8WR70CaDxhuNguS2XG+GjkyMwOzsN5ZktImfhLA== - -object-visit@^1.0.0: - version "1.0.1" - resolved "https://registry.yarnpkg.com/object-visit/-/object-visit-1.0.1.tgz#f79c4493af0c5377b59fe39d395e41042dd045bb" - integrity sha512-GBaMwwAVK9qbQN3Scdo0OyvgPW7l3lnaVMj84uTOZlswkX0KpF6fyDBJhtTthf7pymztoN36/KEr1DyhF96zEA== - dependencies: - isobject "^3.0.0" - -object.assign@^4.1.4, object.assign@^4.1.5: - version "4.1.5" - resolved "https://registry.yarnpkg.com/object.assign/-/object.assign-4.1.5.tgz#3a833f9ab7fdb80fc9e8d2300c803d216d8fdbb0" - integrity sha512-byy+U7gp+FVwmyzKPYhW2h5l3crpmGsxl7X2s8y43IgxvG4g3QZ6CffDtsNQy1WsmZpQbO+ybo0AlW7TY6DcBQ== - dependencies: - call-bind "^1.0.5" - define-properties "^1.2.1" - has-symbols "^1.0.3" - object-keys "^1.1.1" - -object.entries@^1.1.8: - version "1.1.8" - resolved "https://registry.yarnpkg.com/object.entries/-/object.entries-1.1.8.tgz#bffe6f282e01f4d17807204a24f8edd823599c41" - integrity sha512-cmopxi8VwRIAw/fkijJohSfpef5PdN0pMQJN6VC/ZKvn0LIknWD8KtgY6KlQdEc4tIjcQ3HxSMmnvtzIscdaYQ== - dependencies: - call-bind "^1.0.7" - define-properties "^1.2.1" - es-object-atoms "^1.0.0" - -object.fromentries@^2.0.8: - version "2.0.8" - resolved "https://registry.yarnpkg.com/object.fromentries/-/object.fromentries-2.0.8.tgz#f7195d8a9b97bd95cbc1999ea939ecd1a2b00c65" - integrity sha512-k6E21FzySsSK5a21KRADBd/NGneRegFO5pLHfdQLpRDETUNJueLXs3WCzyQ3tFRDYgbq3KHGXfTbi2bs8WQ6rQ== - dependencies: - call-bind "^1.0.7" - define-properties "^1.2.1" - es-abstract "^1.23.2" - es-object-atoms "^1.0.0" - -object.groupby@^1.0.3: - version "1.0.3" - resolved "https://registry.yarnpkg.com/object.groupby/-/object.groupby-1.0.3.tgz#9b125c36238129f6f7b61954a1e7176148d5002e" - integrity sha512-+Lhy3TQTuzXI5hevh8sBGqbmurHbbIjAi0Z4S63nthVLmLxfbj4T54a4CfZrXIrt9iP4mVAPYMo/v99taj3wjQ== - dependencies: - call-bind "^1.0.7" - define-properties "^1.2.1" - es-abstract "^1.23.2" - -object.pick@^1.3.0: - version "1.3.0" - resolved "https://registry.yarnpkg.com/object.pick/-/object.pick-1.3.0.tgz#87a10ac4c1694bd2e1cbf53591a66141fb5dd747" - integrity sha512-tqa/UMy/CCoYmj+H5qc07qvSL9dqcs/WZENZ1JbtWBlATP+iVOe778gE6MSijnyCnORzDuX6hU+LA4SZ09YjFQ== - dependencies: - isobject "^3.0.1" - -object.values@^1.1.6, object.values@^1.2.0: - version "1.2.0" - resolved "https://registry.yarnpkg.com/object.values/-/object.values-1.2.0.tgz#65405a9d92cee68ac2d303002e0b8470a4d9ab1b" - integrity sha512-yBYjY9QX2hnRmZHAjG/f13MzmBzxzYgQhFrke06TTyKY5zSTEqkOeukBzIdVA3j3ulu8Qa3MbVFShV7T2RmGtQ== - dependencies: - call-bind "^1.0.7" - define-properties "^1.2.1" - es-object-atoms "^1.0.0" - -objectorarray@^1.0.5: - version "1.0.5" - resolved "https://registry.yarnpkg.com/objectorarray/-/objectorarray-1.0.5.tgz#2c05248bbefabd8f43ad13b41085951aac5e68a5" - integrity sha512-eJJDYkhJFFbBBAxeh8xW+weHlkI28n2ZdQV/J/DNfWfSKlGEf2xcfAbZTv3riEXHAhL9SVOTs2pRmXiSTf78xg== - -omit.js@^2.0.2: - version "2.0.2" - resolved "https://registry.yarnpkg.com/omit.js/-/omit.js-2.0.2.tgz#dd9b8436fab947a5f3ff214cb2538631e313ec2f" - integrity sha512-hJmu9D+bNB40YpL9jYebQl4lsTW6yEHRTroJzNLqQJYHm7c+NQnJGfZmIWh8S3q3KoaxV1aLhV6B3+0N0/kyJg== - -on-finished@2.4.1: - version "2.4.1" - resolved "https://registry.yarnpkg.com/on-finished/-/on-finished-2.4.1.tgz#58c8c44116e54845ad57f14ab10b03533184ac3f" - integrity sha512-oVlzkg3ENAhCk2zdv7IJwd/QUD4z2RxRwpkcGY8psCVcCYZNq4wYnVWALHM+brtuJjePWiYF/ClmuDr8Ch5+kg== - dependencies: - ee-first "1.1.1" - -on-headers@^1.0.0, on-headers@~1.0.2: - version "1.0.2" - resolved "https://registry.yarnpkg.com/on-headers/-/on-headers-1.0.2.tgz#772b0ae6aaa525c399e489adfad90c403eb3c28f" - integrity sha512-pZAE+FJLoyITytdqK0U5s+FIpjN0JP3OzFi/u8Rx+EV5/W+JTWGXG8xFzevE7AjBfDqHv/8vL8qQsIhHnqRkrA== - -once@^1.3.0, once@^1.3.1, once@^1.4.0: - version "1.4.0" - resolved "https://registry.yarnpkg.com/once/-/once-1.4.0.tgz#583b1aa775961d4b113ac17d9c50baef9dd76bd1" - integrity sha512-lNaJgI+2Q5URQBkccEKHTQOPaXdUxnZZElQTZY0MFUAuaEqe1E+Nyvgdz/aIyNi6Z9MzO5dv1H8n58/GELp3+w== - dependencies: - wrappy "1" - -one-time@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/one-time/-/one-time-1.0.0.tgz#e06bc174aed214ed58edede573b433bbf827cb45" - integrity sha512-5DXOiRKwuSEcQ/l0kGCF6Q3jcADFv5tSmRaJck/OqkVFcOzutB134KRSfF0xDrL39MNnqxbHBbUUcjZIhTgb2g== - dependencies: - fn.name "1.x.x" - -onetime@^2.0.0: - version "2.0.1" - resolved "https://registry.yarnpkg.com/onetime/-/onetime-2.0.1.tgz#067428230fd67443b2794b22bba528b6867962d4" - integrity sha512-oyyPpiMaKARvvcgip+JV+7zci5L8D1W9RZIz2l1o08AM3pfspitVWnPt3mzHcBPp12oYMTy0pqrFs/C+m3EwsQ== - dependencies: - mimic-fn "^1.0.0" - -onetime@^5.1.0, onetime@^5.1.2: - version "5.1.2" - resolved "https://registry.yarnpkg.com/onetime/-/onetime-5.1.2.tgz#d0e96ebb56b07476df1dd9c4806e5237985ca45e" - integrity sha512-kbpaSSGJTWdAY5KPVeMOKXSrPtr8C8C7wodJbcsd51jRnmD+GZu8Y0VoU6Dm5Z4vWr0Ig/1NKuWRKf7j5aaYSg== - dependencies: - mimic-fn "^2.1.0" - -onetime@^6.0.0: - version "6.0.0" - resolved "https://registry.yarnpkg.com/onetime/-/onetime-6.0.0.tgz#7c24c18ed1fd2e9bca4bd26806a33613c77d34b4" - integrity sha512-1FlR+gjXK7X+AsAHso35MnyN5KqGwJRi/31ft6x0M194ht7S+rWAvd7PHss9xSKMzE0asv1pyIHaJYq+BbacAQ== - dependencies: - mimic-fn "^4.0.0" - -open@^8.0.4, open@^8.4.0: - version "8.4.2" - resolved "https://registry.yarnpkg.com/open/-/open-8.4.2.tgz#5b5ffe2a8f793dcd2aad73e550cb87b59cb084f9" - integrity sha512-7x81NCL719oNbsq/3mh+hVrAWmFuEYUqrq/Iw3kUzH8ReypT9QQ0BLoJS7/G9k6N81XjW4qHWtjWwe/9eLy1EQ== - dependencies: - define-lazy-prop "^2.0.0" - is-docker "^2.1.1" - is-wsl "^2.2.0" - -opn@^5.2.0: - version "5.5.0" - resolved "https://registry.yarnpkg.com/opn/-/opn-5.5.0.tgz#fc7164fab56d235904c51c3b27da6758ca3b9bfc" - integrity sha512-PqHpggC9bLV0VeWcdKhkpxY+3JTzetLSqTCWL/z/tFIbI6G8JCjondXklT1JinczLz2Xib62sSp0T/gKT4KksA== - dependencies: - is-wsl "^1.1.0" - -optionator@^0.9.3: - version "0.9.4" - resolved "https://registry.yarnpkg.com/optionator/-/optionator-0.9.4.tgz#7ea1c1a5d91d764fb282139c88fe11e182a3a734" - integrity sha512-6IpQ7mKUxRcZNLIObR0hz7lxsapSSIYNZJwXPGeF0mTVqGKFIXj1DQcMoT22S3ROcLyY/rz0PWaWZ9ayWmad9g== - dependencies: - deep-is "^0.1.3" - fast-levenshtein "^2.0.6" - levn "^0.4.1" - prelude-ls "^1.2.1" - type-check "^0.4.0" - word-wrap "^1.2.5" - -ora@^5.0.0, ora@^5.4.1: - version "5.4.1" - resolved "https://registry.yarnpkg.com/ora/-/ora-5.4.1.tgz#1b2678426af4ac4a509008e5e4ac9e9959db9e18" - integrity sha512-5b6Y85tPxZZ7QytO+BQzysW31HJku27cRIlkbAXaNx+BdcVi+LlRFmVXzeF6a7JCwJpyw5c4b+YSVImQIrBpuQ== - dependencies: - bl "^4.1.0" - chalk "^4.1.0" - cli-cursor "^3.1.0" - cli-spinners "^2.5.0" - is-interactive "^1.0.0" - is-unicode-supported "^0.1.0" - log-symbols "^4.1.0" - strip-ansi "^6.0.0" - wcwidth "^1.0.1" - -os-homedir@^1.0.0, os-homedir@^1.0.1: - version "1.0.2" - resolved "https://registry.yarnpkg.com/os-homedir/-/os-homedir-1.0.2.tgz#ffbc4988336e0e833de0c168c7ef152121aa7fb3" - integrity sha512-B5JU3cabzk8c67mRRd3ECmROafjYMXbuzlwtqdM8IbS8ktlTix8aFGb2bAGKrSRIlnfKwovGUUr72JUPyOb6kQ== - -os-name@^5.0.0: - version "5.1.0" - resolved "https://registry.yarnpkg.com/os-name/-/os-name-5.1.0.tgz#4f5ab5edfa6938b590112714f1570fe79f1d957a" - integrity sha512-YEIoAnM6zFmzw3PQ201gCVCIWbXNyKObGlVvpAVvraAeOHnlYVKFssbA/riRX5R40WA6kKrZ7Dr7dWzO3nKSeQ== - dependencies: - macos-release "^3.1.0" - windows-release "^5.0.1" - -os-tmpdir@^1.0.0, os-tmpdir@~1.0.2: - version "1.0.2" - resolved "https://registry.yarnpkg.com/os-tmpdir/-/os-tmpdir-1.0.2.tgz#bbe67406c79aa85c5cfec766fe5734555dfa1274" - integrity sha512-D2FR03Vir7FIu45XBY20mTb+/ZSWB00sjU9jdQXt83gDrI4Ztz5Fs7/yy74g2N5SVQY4xY1qDr4rNddwYRVX0g== - -osenv@^0.1.4: - version "0.1.5" - resolved "https://registry.yarnpkg.com/osenv/-/osenv-0.1.5.tgz#85cdfafaeb28e8677f416e287592b5f3f49ea410" - integrity sha512-0CWcCECdMVc2Rw3U5w9ZjqX6ga6ubk1xDVKxtBQPK7wis/0F2r9T6k4ydGYhecl7YUBxBVxhL5oisPsNxAPe2g== - dependencies: - os-homedir "^1.0.0" - os-tmpdir "^1.0.0" - -outdent@^0.5.0: - version "0.5.0" - resolved "https://registry.yarnpkg.com/outdent/-/outdent-0.5.0.tgz#9e10982fdc41492bb473ad13840d22f9655be2ff" - integrity sha512-/jHxFIzoMXdqPzTaCpFzAAWhpkSjZPF4Vsn6jAfNpmbH/ymsmd7Qc6VE9BGn0L6YMj6uwpQLxCECpus4ukKS9Q== - -p-all@^2.1.0: - version "2.1.0" - resolved "https://registry.yarnpkg.com/p-all/-/p-all-2.1.0.tgz#91419be56b7dee8fe4c5db875d55e0da084244a0" - integrity sha512-HbZxz5FONzz/z2gJfk6bFca0BCiSRF8jU3yCsWOen/vR6lZjfPOu/e7L3uFzTW1i0H8TlC3vqQstEJPQL4/uLA== - dependencies: - p-map "^2.0.0" - -p-cancelable@^0.4.0: - version "0.4.1" - resolved "https://registry.yarnpkg.com/p-cancelable/-/p-cancelable-0.4.1.tgz#35f363d67d52081c8d9585e37bcceb7e0bbcb2a0" - integrity sha512-HNa1A8LvB1kie7cERyy21VNeHb2CWJJYqyyC2o3klWFfMGlFmWv2Z7sFgZH8ZiaYL95ydToKTFVXgMV/Os0bBQ== - -p-cancelable@^1.0.0: - version "1.1.0" - resolved "https://registry.yarnpkg.com/p-cancelable/-/p-cancelable-1.1.0.tgz#d078d15a3af409220c886f1d9a0ca2e441ab26cc" - integrity sha512-s73XxOZ4zpt1edZYZzvhqFa6uvQc1vwUa0K0BdtIZgQMAJj9IbebH+JkgKZc9h+B05PKHLOTl4ajG1BmNrVZlw== - -p-cancelable@^2.0.0: - version "2.1.1" - resolved "https://registry.yarnpkg.com/p-cancelable/-/p-cancelable-2.1.1.tgz#aab7fbd416582fa32a3db49859c122487c5ed2cf" - integrity sha512-BZOr3nRQHOntUjTrH8+Lh54smKHoHyur8We1V8DSMVrl5A2malOOwuJRnKRDjSnkoeBh4at6BwEnb5I7Jl31wg== - -p-event@^2.1.0: - version "2.3.1" - resolved "https://registry.yarnpkg.com/p-event/-/p-event-2.3.1.tgz#596279ef169ab2c3e0cae88c1cfbb08079993ef6" - integrity sha512-NQCqOFhbpVTMX4qMe8PF8lbGtzZ+LCiN7pcNrb/413Na7+TRoe1xkKUzuWa/YEJdGQ0FvKtj35EEbDoVPO2kbA== - dependencies: - p-timeout "^2.0.1" - -p-event@^4.0.0, p-event@^4.1.0, p-event@^4.2.0: - version "4.2.0" - resolved "https://registry.yarnpkg.com/p-event/-/p-event-4.2.0.tgz#af4b049c8acd91ae81083ebd1e6f5cae2044c1b5" - integrity sha512-KXatOjCRXXkSePPb1Nbi0p0m+gQAwdlbhi4wQKJPI1HsMQS9g+Sqp2o+QHziPr7eYJyOZet836KoHEVM1mwOrQ== - dependencies: - p-timeout "^3.1.0" - -p-event@^5.0.0: - version "5.0.1" - resolved "https://registry.yarnpkg.com/p-event/-/p-event-5.0.1.tgz#614624ec02ae7f4f13d09a721c90586184af5b0c" - integrity sha512-dd589iCQ7m1L0bmC5NLlVYfy3TbBEsMUfWx9PyAgPeIcFZ/E2yaTZ4Rz4MiBmmJShviiftHVXOqfnfzJ6kyMrQ== - dependencies: - p-timeout "^5.0.2" - -p-every@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/p-every/-/p-every-2.0.0.tgz#ad940b82b1bd1da01c307b11e1dd25fe7286181a" - integrity sha512-MCz9DqD5opPC48Zsd+BHm56O/HfhYIQQtupfDzhXoVgQdg/Ux4F8/JcdRuQ+arq7zD5fB6zP3axbH3d9Nr8dlw== - dependencies: - p-map "^2.0.0" - -p-filter@^2.1.0: - version "2.1.0" - resolved "https://registry.yarnpkg.com/p-filter/-/p-filter-2.1.0.tgz#1b1472562ae7a0f742f0f3d3d3718ea66ff9c09c" - integrity sha512-ZBxxZ5sL2HghephhpGAQdoskxplTwr7ICaehZwLIlfL6acuVgZPm8yBNuRAFBGEqtD/hmUeq9eqLg2ys9Xr/yw== - dependencies: - p-map "^2.0.0" - -p-filter@^3.0.0: - version "3.0.0" - resolved "https://registry.yarnpkg.com/p-filter/-/p-filter-3.0.0.tgz#ce50e03b24b23930e11679ab8694bd09a2d7ed35" - integrity sha512-QtoWLjXAW++uTX67HZQz1dbTpqBfiidsB6VtQUC9iR85S120+s0T5sO6s+B5MLzFcZkrEd/DGMmCjR+f2Qpxwg== - dependencies: - p-map "^5.1.0" - -p-finally@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/p-finally/-/p-finally-1.0.0.tgz#3fbcfb15b899a44123b34b6dcc18b724336a2cae" - integrity sha512-LICb2p9CB7FS+0eR1oqWnHhp0FljGLZCWBE9aix0Uye9W8LTQPwMTYVGWQWIw9RdQiDg4+epXQODwIYJtSJaow== - -p-is-promise@^1.1.0: - version "1.1.0" - resolved "https://registry.yarnpkg.com/p-is-promise/-/p-is-promise-1.1.0.tgz#9c9456989e9f6588017b0434d56097675c3da05e" - integrity sha512-zL7VE4JVS2IFSkR2GQKDSPEVxkoH43/p7oEnwpdCndKYJO0HVeRB7fA8TJwuLOTBREtK0ea8eHaxdwcpob5dmg== - -p-limit@^1.1.0: - version "1.3.0" - resolved "https://registry.yarnpkg.com/p-limit/-/p-limit-1.3.0.tgz#b86bd5f0c25690911c7590fcbfc2010d54b3ccb8" - integrity sha512-vvcXsLAJ9Dr5rQOPk7toZQZJApBl2K4J6dANSsEuh6QI41JYcsS/qhTGa9ErIUUgK3WNQoJYvylxvjqmiqEA9Q== - dependencies: - p-try "^1.0.0" - -p-limit@^2.2.0: - version "2.3.0" - resolved "https://registry.yarnpkg.com/p-limit/-/p-limit-2.3.0.tgz#3dd33c647a214fdfffd835933eb086da0dc21db1" - integrity sha512-//88mFWSJx8lxCzwdAABTJL2MyWB12+eIY7MDL2SqLmAkeKU9qxRvWuSyTjm3FUmpBEMuFfckAIqEaVGUDxb6w== - dependencies: - p-try "^2.0.0" - -p-limit@^3.0.2, p-limit@^3.1.0: - version "3.1.0" - resolved "https://registry.yarnpkg.com/p-limit/-/p-limit-3.1.0.tgz#e1daccbe78d0d1388ca18c64fea38e3e57e3706b" - integrity sha512-TYOanM3wGwNGsZN2cVTYPArw454xnXj5qmWF1bEoAc4+cU/ol7GVh7odevjp1FNHduHc3KZMcFduxU5Xc6uJRQ== - dependencies: - yocto-queue "^0.1.0" - -p-limit@^4.0.0: - version "4.0.0" - resolved "https://registry.yarnpkg.com/p-limit/-/p-limit-4.0.0.tgz#914af6544ed32bfa54670b061cafcbd04984b644" - integrity sha512-5b0R4txpzjPWVw/cXXUResoD4hb6U/x9BH08L7nw+GN1sezDzPdxeRvpc9c433fZhBan/wusjbCsqwqm4EIBIQ== - dependencies: - yocto-queue "^1.0.0" - -p-locate@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/p-locate/-/p-locate-2.0.0.tgz#20a0103b222a70c8fd39cc2e580680f3dde5ec43" - integrity sha512-nQja7m7gSKuewoVRen45CtVfODR3crN3goVQ0DDZ9N3yHxgpkuBhZqsaiotSQRrADUrne346peY7kT3TSACykg== - dependencies: - p-limit "^1.1.0" - -p-locate@^4.1.0: - version "4.1.0" - resolved "https://registry.yarnpkg.com/p-locate/-/p-locate-4.1.0.tgz#a3428bb7088b3a60292f66919278b7c297ad4f07" - integrity sha512-R79ZZ/0wAxKGu3oYMlz8jy/kbhsNrS7SKZ7PxEHBgJ5+F2mtFW2fK2cOtBh1cHYkQsbzFV7I+EoRKe6Yt0oK7A== - dependencies: - p-limit "^2.2.0" - -p-locate@^5.0.0: - version "5.0.0" - resolved "https://registry.yarnpkg.com/p-locate/-/p-locate-5.0.0.tgz#83c8315c6785005e3bd021839411c9e110e6d834" - integrity sha512-LaNjtRWUBY++zB5nE/NwcaoMylSPk+S+ZHNB1TzdbMJMny6dynpAGt7X/tl/QYq3TIeE6nxHppbo2LGymrG5Pw== - dependencies: - p-limit "^3.0.2" - -p-locate@^6.0.0: - version "6.0.0" - resolved "https://registry.yarnpkg.com/p-locate/-/p-locate-6.0.0.tgz#3da9a49d4934b901089dca3302fa65dc5a05c04f" - integrity sha512-wPrq66Llhl7/4AGC6I+cqxT07LhXvWL08LNXz1fENOw0Ap4sRZZ/gZpTTJ5jpurzzzfS2W/Ge9BY3LgLjCShcw== - dependencies: - p-limit "^4.0.0" - -p-map-series@2.1.0: - version "2.1.0" - resolved "https://registry.yarnpkg.com/p-map-series/-/p-map-series-2.1.0.tgz#7560d4c452d9da0c07e692fdbfe6e2c81a2a91f2" - integrity sha512-RpYIIK1zXSNEOdwxcfe7FdvGcs7+y5n8rifMhMNWvaxRNMPINJHF5GDeuVxWqnfrcHPSCnp7Oo5yNXHId9Av2Q== - -p-map@4.0.0, p-map@^4.0.0: - version "4.0.0" - resolved "https://registry.yarnpkg.com/p-map/-/p-map-4.0.0.tgz#bb2f95a5eda2ec168ec9274e06a747c3e2904d2b" - integrity sha512-/bjOqmgETBYB5BoEeGVea8dmvHb2m9GLy1E9W43yeyfP6QQCZGFNa+XRceJEuDB6zqr+gKpIAmlLebMpykw/MQ== - dependencies: - aggregate-error "^3.0.0" - -p-map@^2.0.0: - version "2.1.0" - resolved "https://registry.yarnpkg.com/p-map/-/p-map-2.1.0.tgz#310928feef9c9ecc65b68b17693018a665cea175" - integrity sha512-y3b8Kpd8OAN444hxfBbFfj1FY/RjtTd8tzYwhUqNYXx0fXx2iX4maP4Qr6qhIKbQXI02wTLAda4fYUbDagTUFw== - -p-map@^3.0.0: - version "3.0.0" - resolved "https://registry.yarnpkg.com/p-map/-/p-map-3.0.0.tgz#d704d9af8a2ba684e2600d9a215983d4141a979d" - integrity sha512-d3qXVTF/s+W+CdJ5A29wywV2n8CQQYahlgz2bFiA+4eVNJbHJodPZ+/gXwPGh0bOqA+j8S+6+ckmvLGPk1QpxQ== - dependencies: - aggregate-error "^3.0.0" - -p-map@^5.1.0: - version "5.5.0" - resolved "https://registry.yarnpkg.com/p-map/-/p-map-5.5.0.tgz#054ca8ca778dfa4cf3f8db6638ccb5b937266715" - integrity sha512-VFqfGDHlx87K66yZrNdI4YGtD70IRyd+zSvgks6mzHPRNkoKy+9EKP4SFC77/vTTQYmRmti7dvqC+m5jBrBAcg== - dependencies: - aggregate-error "^4.0.0" - -p-pipe@3.1.0: - version "3.1.0" - resolved "https://registry.yarnpkg.com/p-pipe/-/p-pipe-3.1.0.tgz#48b57c922aa2e1af6a6404cb7c6bf0eb9cc8e60e" - integrity sha512-08pj8ATpzMR0Y80x50yJHn37NF6vjrqHutASaX5LiH5npS9XPvrUmscd9MF5R4fuYRHOxQR1FfMIlF7AzwoPqw== - -p-queue@6.6.2: - version "6.6.2" - resolved "https://registry.yarnpkg.com/p-queue/-/p-queue-6.6.2.tgz#2068a9dcf8e67dd0ec3e7a2bcb76810faa85e426" - integrity sha512-RwFpb72c/BhQLEXIZ5K2e+AhgNVmIejGlTgiB9MzZ0e93GRvqZ7uSi0dvRF7/XIXDeNkra2fNHBxTyPDGySpjQ== - dependencies: - eventemitter3 "^4.0.4" - p-timeout "^3.2.0" - -p-reduce@2.1.0, p-reduce@^2.0.0, p-reduce@^2.1.0: - version "2.1.0" - resolved "https://registry.yarnpkg.com/p-reduce/-/p-reduce-2.1.0.tgz#09408da49507c6c274faa31f28df334bc712b64a" - integrity sha512-2USApvnsutq8uoxZBGbbWM0JIYLiEMJ9RlaN7fAzVNb9OZN0SHjjTTfIcb667XynS5Y1VhwDJVDa72TnPzAYWw== - -p-reduce@^3.0.0: - version "3.0.0" - resolved "https://registry.yarnpkg.com/p-reduce/-/p-reduce-3.0.0.tgz#f11773794792974bd1f7a14c72934248abff4160" - integrity sha512-xsrIUgI0Kn6iyDYm9StOpOeK29XM1aboGji26+QEortiFST1hGZaUQOLhtEbqHErPpGW/aSz6allwK2qcptp0Q== - -p-timeout@^2.0.1: - version "2.0.1" - resolved "https://registry.yarnpkg.com/p-timeout/-/p-timeout-2.0.1.tgz#d8dd1979595d2dc0139e1fe46b8b646cb3cdf038" - integrity sha512-88em58dDVB/KzPEx1X0N3LwFfYZPyDc4B6eF38M1rk9VTZMbxXXgjugz8mmwpS9Ox4BDZ+t6t3QP5+/gazweIA== - dependencies: - p-finally "^1.0.0" - -p-timeout@^3.0.0, p-timeout@^3.1.0, p-timeout@^3.2.0: - version "3.2.0" - resolved "https://registry.yarnpkg.com/p-timeout/-/p-timeout-3.2.0.tgz#c7e17abc971d2a7962ef83626b35d635acf23dfe" - integrity sha512-rhIwUycgwwKcP9yTOOFK/AKsAopjjCakVqLHePO3CC6Mir1Z99xT+R63jZxAT5lFZLa2inS5h+ZS2GvR99/FBg== - dependencies: - p-finally "^1.0.0" - -p-timeout@^5.0.0, p-timeout@^5.0.2: - version "5.1.0" - resolved "https://registry.yarnpkg.com/p-timeout/-/p-timeout-5.1.0.tgz#b3c691cf4415138ce2d9cfe071dba11f0fee085b" - integrity sha512-auFDyzzzGZZZdHz3BtET9VEz0SE/uMEAx7uWfGPucfzEwwe/xH0iVeZibQmANYE/hp9T2+UUZT5m+BKyrDp3Ew== - -p-try@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/p-try/-/p-try-1.0.0.tgz#cbc79cdbaf8fd4228e13f621f2b1a237c1b207b3" - integrity sha512-U1etNYuMJoIz3ZXSrrySFjsXQTWOx2/jdi86L+2pRvph/qMKL6sbcCYdH23fqsbm8TH2Gn0OybpT4eSFlCVHww== - -p-try@^2.0.0: - version "2.2.0" - resolved "https://registry.yarnpkg.com/p-try/-/p-try-2.2.0.tgz#cb2868540e313d61de58fafbe35ce9004d5540e6" - integrity sha512-R4nPAVTAU0B9D35/Gk3uJf/7XYbQcyohSKdvAxIRSNghFl4e71hVoGnBNQz9cWaXxO2I10KTC+3jMdvvoKw6dQ== - -p-wait-for@^3.0.0, p-wait-for@^3.2.0: - version "3.2.0" - resolved "https://registry.yarnpkg.com/p-wait-for/-/p-wait-for-3.2.0.tgz#640429bcabf3b0dd9f492c31539c5718cb6a3f1f" - integrity sha512-wpgERjNkLrBiFmkMEjuZJEWKKDrNfHCKA1OhyN1wg1FrLkULbviEy6py1AyJUgZ72YWFbZ38FIpnqvVqAlDUwA== - dependencies: - p-timeout "^3.0.0" - -p-wait-for@^4.0.0: - version "4.1.0" - resolved "https://registry.yarnpkg.com/p-wait-for/-/p-wait-for-4.1.0.tgz#290f126f49bbd7c84e0cedccb342cd631aaa0f16" - integrity sha512-i8nE5q++9h8oaQHWltS1Tnnv4IoMDOlqN7C0KFG2OdbK0iFJIt6CROZ8wfBM+K4Pxqfnq4C4lkkpXqTEpB5DZw== - dependencies: - p-timeout "^5.0.0" - -p-waterfall@2.1.1: - version "2.1.1" - resolved "https://registry.yarnpkg.com/p-waterfall/-/p-waterfall-2.1.1.tgz#63153a774f472ccdc4eb281cdb2967fcf158b2ee" - integrity sha512-RRTnDb2TBG/epPRI2yYXsimO0v3BXC8Yd3ogr1545IaqKK17VGhbWVeGGN+XfCm/08OK8635nH31c8bATkHuSw== - dependencies: - p-reduce "^2.0.0" - -package-hash@^4.0.0: - version "4.0.0" - resolved "https://registry.yarnpkg.com/package-hash/-/package-hash-4.0.0.tgz#3537f654665ec3cc38827387fc904c163c54f506" - integrity sha512-whdkPIooSu/bASggZ96BWVvZTRMOFxnyUG5PnTSGKoJE2gd5mbVNmR2Nj20QFzxYYgAXpoqC+AiXzl+UMRh7zQ== - dependencies: - graceful-fs "^4.1.15" - hasha "^5.0.0" - lodash.flattendeep "^4.4.0" - release-zalgo "^1.0.0" - -package-json-from-dist@^1.0.0: - version "1.0.1" - resolved "https://registry.yarnpkg.com/package-json-from-dist/-/package-json-from-dist-1.0.1.tgz#4f1471a010827a86f94cfd9b0727e36d267de505" - integrity sha512-UEZIS3/by4OC8vL3P2dTXRETpebLI2NiI5vIrjaD/5UtrkFX/tNbwjTSRAGC/+7CAo2pIcBaRgWmcBBHcsaCIw== - -package-json@^6.3.0: - version "6.5.0" - resolved "https://registry.yarnpkg.com/package-json/-/package-json-6.5.0.tgz#6feedaca35e75725876d0b0e64974697fed145b0" - integrity sha512-k3bdm2n25tkyxcjSKzB5x8kfVxlMdgsbPr0GkZcwHsLpba6cBjqCt1KlcChKEvxHIcTB1FVMuwoijZ26xex5MQ== - dependencies: - got "^9.6.0" - registry-auth-token "^4.0.0" - registry-url "^5.0.0" - semver "^6.2.0" - -package-manager-detector@^0.2.0: - version "0.2.2" - resolved "https://registry.yarnpkg.com/package-manager-detector/-/package-manager-detector-0.2.2.tgz#fbbc8afe87cdaee471ca9b89c3700236c6d2d9e5" - integrity sha512-VgXbyrSNsml4eHWIvxxG/nTL4wgybMTXCV2Un/+yEc3aDKKU6nQBZjbeP3Pl3qm9Qg92X/1ng4ffvCeD/zwHgg== - -pacote@13.6.1: - version "13.6.1" - resolved "https://registry.yarnpkg.com/pacote/-/pacote-13.6.1.tgz#ac6cbd9032b4c16e5c1e0c60138dfe44e4cc589d" - integrity sha512-L+2BI1ougAPsFjXRyBhcKmfT016NscRFLv6Pz5EiNf1CCFJFU0pSKKQwsZTyAQB+sTuUL4TyFyp6J1Ork3dOqw== - dependencies: - "@npmcli/git" "^3.0.0" - "@npmcli/installed-package-contents" "^1.0.7" - "@npmcli/promise-spawn" "^3.0.0" - "@npmcli/run-script" "^4.1.0" - cacache "^16.0.0" - chownr "^2.0.0" - fs-minipass "^2.1.0" - infer-owner "^1.0.4" - minipass "^3.1.6" - mkdirp "^1.0.4" - npm-package-arg "^9.0.0" - npm-packlist "^5.1.0" - npm-pick-manifest "^7.0.0" - npm-registry-fetch "^13.0.1" - proc-log "^2.0.0" - promise-retry "^2.0.1" - read-package-json "^5.0.0" - read-package-json-fast "^2.0.3" - rimraf "^3.0.2" - ssri "^9.0.0" - tar "^6.1.11" - -pacote@^13.0.3, pacote@^13.6.1: - version "13.6.2" - resolved "https://registry.yarnpkg.com/pacote/-/pacote-13.6.2.tgz#0d444ba3618ab3e5cd330b451c22967bbd0ca48a" - integrity sha512-Gu8fU3GsvOPkak2CkbojR7vjs3k3P9cA6uazKTHdsdV0gpCEQq2opelnEv30KRQWgVzP5Vd/5umjcedma3MKtg== - dependencies: - "@npmcli/git" "^3.0.0" - "@npmcli/installed-package-contents" "^1.0.7" - "@npmcli/promise-spawn" "^3.0.0" - "@npmcli/run-script" "^4.1.0" - cacache "^16.0.0" - chownr "^2.0.0" - fs-minipass "^2.1.0" - infer-owner "^1.0.4" - minipass "^3.1.6" - mkdirp "^1.0.4" - npm-package-arg "^9.0.0" - npm-packlist "^5.1.0" - npm-pick-manifest "^7.0.0" - npm-registry-fetch "^13.0.1" - proc-log "^2.0.0" - promise-retry "^2.0.1" - read-package-json "^5.0.0" - read-package-json-fast "^2.0.3" - rimraf "^3.0.2" - ssri "^9.0.0" - tar "^6.1.11" - -parallel-transform@^1.2.0: - version "1.2.0" - resolved "https://registry.yarnpkg.com/parallel-transform/-/parallel-transform-1.2.0.tgz#9049ca37d6cb2182c3b1d2c720be94d14a5814fc" - integrity sha512-P2vSmIu38uIlvdcU7fDkyrxj33gTUy/ABO5ZUbGowxNCopBq/OoD42bP4UmMrJoPyk4Uqf0mu3mtWBhHCZD8yg== - dependencies: - cyclist "^1.0.1" - inherits "^2.0.3" - readable-stream "^2.1.5" - -param-case@^3.0.4: - version "3.0.4" - resolved "https://registry.yarnpkg.com/param-case/-/param-case-3.0.4.tgz#7d17fe4aa12bde34d4a77d91acfb6219caad01c5" - integrity sha512-RXlj7zCYokReqWpOPH9oYivUzLYZ5vAPIfEmCTNViosC78F8F0H9y7T7gG2M39ymgutxF5gcFEsyZQSph9Bp3A== - dependencies: - dot-case "^3.0.4" - tslib "^2.0.3" - -parent-module@^1.0.0: - version "1.0.1" - resolved "https://registry.yarnpkg.com/parent-module/-/parent-module-1.0.1.tgz#691d2709e78c79fae3a156622452d00762caaaa2" - integrity sha512-GQ2EWRpQV8/o+Aw8YqtfZZPfNRWZYkbidE9k5rpl/hC3vtHHBfGm2Ifi6qWV+coDGkrUKZAxE3Lot5kcsRlh+g== - dependencies: - callsites "^3.0.0" - -parse-conflict-json@^2.0.1: - version "2.0.2" - resolved "https://registry.yarnpkg.com/parse-conflict-json/-/parse-conflict-json-2.0.2.tgz#3d05bc8ffe07d39600dc6436c6aefe382033d323" - integrity sha512-jDbRGb00TAPFsKWCpZZOT93SxVP9nONOSgES3AevqRq/CHvavEBvKAjxX9p5Y5F0RZLxH9Ufd9+RwtCsa+lFDA== - dependencies: - json-parse-even-better-errors "^2.3.1" - just-diff "^5.0.1" - just-diff-apply "^5.2.0" - -parse-entities@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/parse-entities/-/parse-entities-2.0.0.tgz#53c6eb5b9314a1f4ec99fa0fdf7ce01ecda0cbe8" - integrity sha512-kkywGpCcRYhqQIchaWqZ875wzpS/bMKhz5HnN3p7wveJTkTtyAB/AlnS0f8DFSqYW1T82t6yEAkEcB+A1I3MbQ== - dependencies: - character-entities "^1.0.0" - character-entities-legacy "^1.0.0" - character-reference-invalid "^1.0.0" - is-alphanumerical "^1.0.0" - is-decimal "^1.0.0" - is-hexadecimal "^1.0.0" - -parse-entities@^4.0.0: - version "4.0.1" - resolved "https://registry.yarnpkg.com/parse-entities/-/parse-entities-4.0.1.tgz#4e2a01111fb1c986549b944af39eeda258fc9e4e" - integrity sha512-SWzvYcSJh4d/SGLIOQfZ/CoNv6BTlI6YEQ7Nj82oDVnRpwe/Z/F1EMx42x3JAOwGBlCjeCH0BRJQbQ/opHL17w== - dependencies: - "@types/unist" "^2.0.0" - character-entities "^2.0.0" - character-entities-legacy "^3.0.0" - character-reference-invalid "^2.0.0" - decode-named-character-reference "^1.0.0" - is-alphanumerical "^2.0.0" - is-decimal "^2.0.0" - is-hexadecimal "^2.0.0" - -parse-github-url@^1.0.2: - version "1.0.3" - resolved "https://registry.yarnpkg.com/parse-github-url/-/parse-github-url-1.0.3.tgz#2ab55642c8685b63fbe2a196f5abe4ae9bd68abc" - integrity sha512-tfalY5/4SqGaV/GIGzWyHnFjlpTPTNpENR9Ea2lLldSJ8EWXMsvacWucqY3m3I4YPtas15IxTLQVQ5NSYXPrww== - -parse-gitignore@^1.0.1: - version "1.0.1" - resolved "https://registry.yarnpkg.com/parse-gitignore/-/parse-gitignore-1.0.1.tgz#8b9dc57f17b810d495c5dfa62eb07caffe7758c7" - integrity sha512-UGyowyjtx26n65kdAMWhm6/3uy5uSrpcuH7tt+QEVudiBoVS+eqHxD5kbi9oWVRwj7sCzXqwuM+rUGw7earl6A== - -parse-json@^4.0.0: - version "4.0.0" - resolved "https://registry.yarnpkg.com/parse-json/-/parse-json-4.0.0.tgz#be35f5425be1f7f6c747184f98a788cb99477ee0" - integrity sha512-aOIos8bujGN93/8Ox/jPLh7RwVnPEysynVFE+fQZyg6jKELEHwzgKdLRFHUgXJL6kylijVSBC4BvN9OmsB48Rw== - dependencies: - error-ex "^1.3.1" - json-parse-better-errors "^1.0.1" - -parse-json@^5.0.0, parse-json@^5.2.0: - version "5.2.0" - resolved "https://registry.yarnpkg.com/parse-json/-/parse-json-5.2.0.tgz#c76fc66dee54231c962b22bcc8a72cf2f99753cd" - integrity sha512-ayCKvm/phCGxOkYRSCM82iDwct8/EonSEgCSxWxD7ve6jHggsFl4fZVQBPRNgQoKiuV/odhFrGzQXZwbifC8Rg== - dependencies: - "@babel/code-frame" "^7.0.0" - error-ex "^1.3.1" - json-parse-even-better-errors "^2.3.0" - lines-and-columns "^1.1.6" - -parse-json@^6.0.0: - version "6.0.2" - resolved "https://registry.yarnpkg.com/parse-json/-/parse-json-6.0.2.tgz#6bf79c201351cc12d5d66eba48d5a097c13dc200" - integrity sha512-SA5aMiaIjXkAiBrW/yPgLgQAQg42f7K3ACO+2l/zOvtQBwX58DMUsFJXelW2fx3yMBmWOVkR6j1MGsdSbCA4UA== - dependencies: - "@babel/code-frame" "^7.16.0" - error-ex "^1.3.2" - json-parse-even-better-errors "^2.3.1" - lines-and-columns "^2.0.2" - -parse-ms@^2.1.0: - version "2.1.0" - resolved "https://registry.yarnpkg.com/parse-ms/-/parse-ms-2.1.0.tgz#348565a753d4391fa524029956b172cb7753097d" - integrity sha512-kHt7kzLoS9VBZfUsiKjv43mr91ea+U05EyKkEtqp7vNbHxmaVuEqN7XxeEVnGrMtYOAxGrDElSi96K7EgO1zCA== - -parse-passwd@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/parse-passwd/-/parse-passwd-1.0.0.tgz#6d5b934a456993b23d37f40a382d6f1666a8e5c6" - integrity sha512-1Y1A//QUXEZK7YKz+rD9WydcE1+EuPr6ZBgKecAB8tmoW6UFv0NREVJe1p+jRxtThkcbbKkfwIbWJe/IeE6m2Q== - -parse-path@^7.0.0: - version "7.0.0" - resolved "https://registry.yarnpkg.com/parse-path/-/parse-path-7.0.0.tgz#605a2d58d0a749c8594405d8cc3a2bf76d16099b" - integrity sha512-Euf9GG8WT9CdqwuWJGdf3RkUcTBArppHABkO7Lm8IzRQp0e2r/kkFnmhu4TSK30Wcu5rVAZLmfPKSBBi9tWFog== - dependencies: - protocols "^2.0.0" - -parse-url@^8.1.0: - version "8.1.0" - resolved "https://registry.yarnpkg.com/parse-url/-/parse-url-8.1.0.tgz#972e0827ed4b57fc85f0ea6b0d839f0d8a57a57d" - integrity sha512-xDvOoLU5XRrcOZvnI6b8zA6n9O9ejNk/GExuz1yBuWUGn9KA97GI6HTs6u02wKara1CeVmZhH+0TZFdWScR89w== - dependencies: - parse-path "^7.0.0" - -parse5@^7.0.0, parse5@^7.1.1: - version "7.2.0" - resolved "https://registry.yarnpkg.com/parse5/-/parse5-7.2.0.tgz#8a0591ce9b7c5e2027173ab737d4d3fc3d826fab" - integrity sha512-ZkDsAOcxsUMZ4Lz5fVciOehNcJ+Gb8gTzcA4yl3wnc273BAybYWrQ+Ks/OjCjSEpjvQkDSeZbybK9qj2VHHdGA== - dependencies: - entities "^4.5.0" - -parseurl@~1.3.3: - version "1.3.3" - resolved "https://registry.yarnpkg.com/parseurl/-/parseurl-1.3.3.tgz#9da19e7bee8d12dff0513ed5b76957793bc2e8d4" - integrity sha512-CiyeOxFT/JZyN5m0z9PfXw4SCBJ6Sygz1Dpl0wqjlhDEGGBP1GnsUVEL0p63hoG1fcj3fHynXi9NYO4nWOL+qQ== - -pascal-case@^3.1.2: - version "3.1.2" - resolved "https://registry.yarnpkg.com/pascal-case/-/pascal-case-3.1.2.tgz#b48e0ef2b98e205e7c1dae747d0b1508237660eb" - integrity sha512-uWlGT3YSnK9x3BQJaOdcZwrnV6hPpd8jFH1/ucpiLRPh/2zCVJKS19E4GvYHvaCcACn3foXZ0cLB9Wrx1KGe5g== - dependencies: - no-case "^3.0.4" - tslib "^2.0.3" - -pascalcase@^0.1.1: - version "0.1.1" - resolved "https://registry.yarnpkg.com/pascalcase/-/pascalcase-0.1.1.tgz#b363e55e8006ca6fe21784d2db22bd15d7917f14" - integrity sha512-XHXfu/yOQRy9vYOtUDVMN60OEJjW013GoObG1o+xwQTpB9eYJX/BjXMsdW13ZDPruFhYYn0AG22w0xgQMwl3Nw== - -path-browserify@^1.0.1: - version "1.0.1" - resolved "https://registry.yarnpkg.com/path-browserify/-/path-browserify-1.0.1.tgz#d98454a9c3753d5790860f16f68867b9e46be1fd" - integrity sha512-b7uo2UCUOYZcnF/3ID0lulOJi/bafxa1xPe7ZPsammBSpjSWQkjNxlt635YGS2MiR9GjvuXCtz2emr3jbsz98g== - -path-dirname@^1.0.0: - version "1.0.2" - resolved "https://registry.yarnpkg.com/path-dirname/-/path-dirname-1.0.2.tgz#cc33d24d525e099a5388c0336c6e32b9160609e0" - integrity sha512-ALzNPpyNq9AqXMBjeymIjFDAkAFH06mHJH/cSBHAgU0s4vfpBn6b2nf8tiRLvagKD8RbTpq2FKTBg7cl9l3c7Q== - -path-exists@4.0.0, path-exists@^4.0.0: - version "4.0.0" - resolved "https://registry.yarnpkg.com/path-exists/-/path-exists-4.0.0.tgz#513bdbe2d3b95d7762e8c1137efa195c6c61b5b3" - integrity sha512-ak9Qy5Q7jYb2Wwcey5Fpvg2KoAc/ZIhLSLOSBmRmygPsGwkVVt0fZa0qrtMz+m6tJTAHfZQ8FnmB4MG4LWy7/w== - -path-exists@^3.0.0: - version "3.0.0" - resolved "https://registry.yarnpkg.com/path-exists/-/path-exists-3.0.0.tgz#ce0ebeaa5f78cb18925ea7d810d7b59b010fd515" - integrity sha512-bpC7GYwiDYQ4wYLe+FA8lhRjhQCMcQGuSgGGqDkg/QerRWw9CmGRT0iSOVRSZJ29NMLZgIzqaljJ63oaL4NIJQ== - -path-exists@^5.0.0: - version "5.0.0" - resolved "https://registry.yarnpkg.com/path-exists/-/path-exists-5.0.0.tgz#a6aad9489200b21fab31e49cf09277e5116fb9e7" - integrity sha512-RjhtfwJOxzcFmNOi6ltcbcu4Iu+FL3zEj83dk4kAS+fVpTxXLO1b38RvJgT/0QwvV/L3aY9TAnyv0EOqW4GoMQ== - -path-is-absolute@^1.0.0: - version "1.0.1" - resolved "https://registry.yarnpkg.com/path-is-absolute/-/path-is-absolute-1.0.1.tgz#174b9268735534ffbc7ace6bf53a5a9e1b5c5f5f" - integrity sha512-AVbw3UJ2e9bq64vSaS9Am0fje1Pa8pbGqTTsmXfaIiMpnr5DlDhfJOuLj9Sf95ZPVDAUerDfEk88MPmPe7UCQg== - -path-is-inside@1.0.2: - version "1.0.2" - resolved "https://registry.yarnpkg.com/path-is-inside/-/path-is-inside-1.0.2.tgz#365417dede44430d1c11af61027facf074bdfc53" - integrity sha512-DUWJr3+ULp4zXmol/SZkFf3JGsS9/SIv+Y3Rt93/UjPpDpklB5f1er4O3POIbUuUJ3FXgqte2Q7SrU6zAqwk8w== - -path-key@^2.0.1: - version "2.0.1" - resolved "https://registry.yarnpkg.com/path-key/-/path-key-2.0.1.tgz#411cadb574c5a140d3a4b1910d40d80cc9f40b40" - integrity sha512-fEHGKCSmUSDPv4uoj8AlD+joPlq3peND+HRYyxFz4KPw4z926S/b8rIuFs2FYJg3BwsxJf6A9/3eIdLaYC+9Dw== - -path-key@^3.0.0, path-key@^3.1.0, path-key@^3.1.1: - version "3.1.1" - resolved "https://registry.yarnpkg.com/path-key/-/path-key-3.1.1.tgz#581f6ade658cbba65a0d3380de7753295054f375" - integrity sha512-ojmeN0qd+y0jszEtoY48r0Peq5dwMEkIlCOu6Q5f41lfkswXuKtYrhgoTpLnyIcHm24Uhqx+5Tqm2InSwLhE6Q== - -path-key@^4.0.0: - version "4.0.0" - resolved "https://registry.yarnpkg.com/path-key/-/path-key-4.0.0.tgz#295588dc3aee64154f877adb9d780b81c554bf18" - integrity sha512-haREypq7xkM7ErfgIyA0z+Bj4AGKlMSdlQE2jvJo6huWD1EdkKYV+G/T4nq0YEF2vgTT8kqMFKo1uHn950r4SQ== - -path-parse@^1.0.7: - version "1.0.7" - resolved "https://registry.yarnpkg.com/path-parse/-/path-parse-1.0.7.tgz#fbc114b60ca42b30d9daf5858e4bd68bbedb6735" - integrity sha512-LDJzPVEEEPR+y48z93A0Ed0yXb8pAByGWo/k5YYdYgpY2/2EsOsksJrq7lOHxryrVOn1ejG6oAp8ahvOIQD8sw== - -path-scurry@^1.11.1: - version "1.11.1" - resolved "https://registry.yarnpkg.com/path-scurry/-/path-scurry-1.11.1.tgz#7960a668888594a0720b12a911d1a742ab9f11d2" - integrity sha512-Xa4Nw17FS9ApQFJ9umLiJS4orGjm7ZzwUrwamcGQuHSzDyth9boKDaycYdDcZDuqYATXw4HFXgaqWTctW/v1HA== - dependencies: - lru-cache "^10.2.0" - minipass "^5.0.0 || ^6.0.2 || ^7.0.0" - -path-scurry@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/path-scurry/-/path-scurry-2.0.0.tgz#9f052289f23ad8bf9397a2a0425e7b8615c58580" - integrity sha512-ypGJsmGtdXUOeM5u93TyeIEfEhM6s+ljAhrk5vAvSx8uyY/02OvrZnA0YNGUrPXfpJMgI1ODd3nwz8Npx4O4cg== - dependencies: - lru-cache "^11.0.0" - minipass "^7.1.2" - -path-to-regexp@0.1.10: - version "0.1.10" - resolved "https://registry.yarnpkg.com/path-to-regexp/-/path-to-regexp-0.1.10.tgz#67e9108c5c0551b9e5326064387de4763c4d5f8b" - integrity sha512-7lf7qcQidTku0Gu3YDPc8DJ1q7OOucfa/BSsIwjuh56VU7katFvuM8hULfkwB3Fns/rsVF7PwPKVw1sl5KQS9w== - -path-to-regexp@3.3.0: - version "3.3.0" - resolved "https://registry.yarnpkg.com/path-to-regexp/-/path-to-regexp-3.3.0.tgz#f7f31d32e8518c2660862b644414b6d5c63a611b" - integrity sha512-qyCH421YQPS2WFDxDjftfc1ZR5WKQzVzqsp4n9M2kQhVOo/ByahFoUNJfl58kOcEGfQ//7weFTDhm+ss8Ecxgw== - -path-type@^3.0.0: - version "3.0.0" - resolved "https://registry.yarnpkg.com/path-type/-/path-type-3.0.0.tgz#cef31dc8e0a1a3bb0d105c0cd97cf3bf47f4e36f" - integrity sha512-T2ZUsdZFHgA3u4e5PfPbjd7HDDpxPnQb5jN0SrDsjNSuVXHJqtwTnWqG0B1jZrgmJ/7lj1EmVIByWt1gxGkWvg== - dependencies: - pify "^3.0.0" - -path-type@^4.0.0: - version "4.0.0" - resolved "https://registry.yarnpkg.com/path-type/-/path-type-4.0.0.tgz#84ed01c0a7ba380afe09d90a8c180dcd9d03043b" - integrity sha512-gDKb8aZMDeD/tZWs9P6+q0J9Mwkdl6xMV8TjnGP3qJVJ06bdMgkbBlLU8IdfOsIsFz2BW1rNVT3XuNEl8zPAvw== - -path-type@^5.0.0: - version "5.0.0" - resolved "https://registry.yarnpkg.com/path-type/-/path-type-5.0.0.tgz#14b01ed7aea7ddf9c7c3f46181d4d04f9c785bb8" - integrity sha512-5HviZNaZcfqP95rwpv+1HDgUamezbqdSYTyzjTvwtJSnIH+3vnbmWsItli8OFEndS984VT55M3jduxZbX351gg== - -pathval@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/pathval/-/pathval-2.0.0.tgz#7e2550b422601d4f6b8e26f1301bc8f15a741a25" - integrity sha512-vE7JKRyES09KiunauX7nd2Q9/L7lhok4smP9RZTDeD4MVs72Dp2qNFVz39Nz5a0FVEW0BJR6C0DYrq6unoziZA== - -pend@~1.2.0: - version "1.2.0" - resolved "https://registry.yarnpkg.com/pend/-/pend-1.2.0.tgz#7a57eb550a6783f9115331fcf4663d5c8e007a50" - integrity sha512-F3asv42UuXchdzt+xXqfW1OGlVBe+mxa2mqI0pg5yAHZPvFmY3Y6drSf/GQ1A86WgWEN9Kzh/WrgKa6iGcHXLg== - -picocolors@^1.0.0, picocolors@^1.1.0: - version "1.1.1" - resolved "https://registry.yarnpkg.com/picocolors/-/picocolors-1.1.1.tgz#3d321af3eab939b083c8f929a1d12cda81c26b6b" - integrity sha512-xceH2snhtb5M9liqDsmEw56le376mTZkEX/jEb/RxNFyegNul7eNslCXP9FDj/Lcu0X8KEyMceP2ntpaHrDEVA== - -picomatch@^2.0.4, picomatch@^2.2.1, picomatch@^2.2.2, picomatch@^2.2.3, picomatch@^2.3.1: - version "2.3.1" - resolved "https://registry.yarnpkg.com/picomatch/-/picomatch-2.3.1.tgz#3ba3833733646d9d3e4995946c1365a67fb07a42" - integrity sha512-JU3teHTNjmE2VCGFzuY8EXzCDVwEqB2a8fsIvwaStHhAWJEeVd1o1QD80CU6+ZdEXXSLbSsuLwJjkCBWqRQUVA== - -pidtree@^0.3.0: - version "0.3.1" - resolved "https://registry.yarnpkg.com/pidtree/-/pidtree-0.3.1.tgz#ef09ac2cc0533df1f3250ccf2c4d366b0d12114a" - integrity sha512-qQbW94hLHEqCg7nhby4yRC7G2+jYHY4Rguc2bjw7Uug4GIJuu1tvf2uHaZv5Q8zdt+WKJ6qK1FOI6amaWUo5FA== - -pify@5.0.0, pify@^5.0.0: - version "5.0.0" - resolved "https://registry.yarnpkg.com/pify/-/pify-5.0.0.tgz#1f5eca3f5e87ebec28cc6d54a0e4aaf00acc127f" - integrity sha512-eW/gHNMlxdSP6dmG6uJip6FXN0EQBwm2clYYd8Wul42Cwu/DK8HEftzsapcNdYe2MfLiIwZqsDk2RDEsTE79hA== - -pify@^2.3.0: - version "2.3.0" - resolved "https://registry.yarnpkg.com/pify/-/pify-2.3.0.tgz#ed141a6ac043a849ea588498e7dca8b15330e90c" - integrity sha512-udgsAY+fTnvv7kI7aaxbqwWNb0AHiB0qBO89PZKPkoTmGOgdbrHDKD+0B2X4uTfJ/FT1R09r9gTsjUjNJotuog== - -pify@^3.0.0: - version "3.0.0" - resolved "https://registry.yarnpkg.com/pify/-/pify-3.0.0.tgz#e5a4acd2c101fdf3d9a4d07f0dbc4db49dd28176" - integrity sha512-C3FsVNH1udSEX48gGX1xfvwTWfsYWj5U+8/uK15BGzIGrKoUpghX8hWZwa/OFnakBiiVNmBvemTJR5mcy7iPcg== - -pify@^4.0.1: - version "4.0.1" - resolved "https://registry.yarnpkg.com/pify/-/pify-4.0.1.tgz#4b2cd25c50d598735c50292224fd8c6df41e3231" - integrity sha512-uB80kBFb/tfd68bVleG9T5GGsGPjJrLAUpR5PZIrhBnIaRTQRjqdJSsIKkOP6OAIFbj7GOrcudc5pNjZ+geV2g== - -pinkie-promise@^2.0.0: - version "2.0.1" - resolved "https://registry.yarnpkg.com/pinkie-promise/-/pinkie-promise-2.0.1.tgz#2135d6dfa7a358c069ac9b178776288228450ffa" - integrity sha512-0Gni6D4UcLTbv9c57DfxDGdr41XfgUjqWZu492f0cIGr16zDU06BWP/RAEvOuo7CQ0CNjHaLlM59YJJFm3NWlw== - dependencies: - pinkie "^2.0.0" - -pinkie@^2.0.0: - version "2.0.4" - resolved "https://registry.yarnpkg.com/pinkie/-/pinkie-2.0.4.tgz#72556b80cfa0d48a974e80e77248e80ed4f7f870" - integrity sha512-MnUuEycAemtSaeFSjXKW/aroV7akBbY+Sv+RkyqFjgAe73F+MR0TBWKBRDkmfWq/HiFmdavfZ1G7h4SPZXaCSg== - -pirates@^4.0.4: - version "4.0.6" - resolved "https://registry.yarnpkg.com/pirates/-/pirates-4.0.6.tgz#3018ae32ecfcff6c29ba2267cbf21166ac1f36b9" - integrity sha512-saLsH7WeYYPiD25LDuLRRY/i+6HaPYr6G1OUlN39otzkSTxKnubR9RTxS3/Kk50s1g2JTgFwWQDQyplC5/SHZg== - -pkg-dir@^4.1.0, pkg-dir@^4.2.0: - version "4.2.0" - resolved "https://registry.yarnpkg.com/pkg-dir/-/pkg-dir-4.2.0.tgz#f099133df7ede422e81d1d8448270eeb3e4261f3" - integrity sha512-HRDzbaKjC+AOWVXxAU/x54COGeIv9eb+6CkDSQoNTt4XyWoIJvuPsXizxu/Fr23EiekbtZwmh1IcIG/l/a10GQ== - dependencies: - find-up "^4.0.0" - -pkg-dir@^5.0.0: - version "5.0.0" - resolved "https://registry.yarnpkg.com/pkg-dir/-/pkg-dir-5.0.0.tgz#a02d6aebe6ba133a928f74aec20bafdfe6b8e760" - integrity sha512-NPE8TDbzl/3YQYY7CSS228s3g2ollTFnc+Qi3tqmqJp9Vg2ovUpixcJEo2HJScN2Ez+kEaal6y70c0ehqJBJeA== - dependencies: - find-up "^5.0.0" - -pkg-dir@^6.0.0: - version "6.0.1" - resolved "https://registry.yarnpkg.com/pkg-dir/-/pkg-dir-6.0.1.tgz#8ec964cecaef98a2bdb9c164733f90a5bcd2352d" - integrity sha512-C9R+PTCKGA32HG0n5I4JMYkdLL58ZpayVuncQHQrGeKa8o26A4o2x0u6BKekHG+Au0jv5ZW7Xfq1Cj6lm9Ag4w== - dependencies: - find-up "^6.1.0" - -playwright-core@1.48.1, playwright-core@>=1.2.0: - version "1.48.1" - resolved "https://registry.yarnpkg.com/playwright-core/-/playwright-core-1.48.1.tgz#5fe28fb9a9326dae88d4608c35e819163cceeb23" - integrity sha512-Yw/t4VAFX/bBr1OzwCuOMZkY1Cnb4z/doAFSwf4huqAGWmf9eMNjmK7NiOljCdLmxeRYcGPPmcDgU0zOlzP0YA== - -playwright@^1.14.0: - version "1.48.1" - resolved "https://registry.yarnpkg.com/playwright/-/playwright-1.48.1.tgz#2a920cfbec4572c84789e757d8b044baaed49435" - integrity sha512-j8CiHW/V6HxmbntOfyB4+T/uk08tBy6ph0MpBXwuoofkSnLmlfdYNNkFTYD6ofzzlSqLA1fwH4vwvVFvJgLN0w== - dependencies: - playwright-core "1.48.1" - optionalDependencies: - fsevents "2.3.2" - -polished@^4.2.2: - version "4.3.1" - resolved "https://registry.yarnpkg.com/polished/-/polished-4.3.1.tgz#5a00ae32715609f83d89f6f31d0f0261c6170548" - integrity sha512-OBatVyC/N7SCW/FaDHrSd+vn0o5cS855TOmYi4OkdWUMSJCET/xip//ch8xGUvtr3i44X9LVyWwQlRMTN3pwSA== - dependencies: - "@babel/runtime" "^7.17.8" - -posix-character-classes@^0.1.0: - version "0.1.1" - resolved "https://registry.yarnpkg.com/posix-character-classes/-/posix-character-classes-0.1.1.tgz#01eac0fe3b5af71a2a6c02feabb8c1fef7e00eab" - integrity sha512-xTgYBc3fuo7Yt7JbiuFxSYGToMoz8fLoE6TC9Wx1P/u+LfeThMOAqmuyECnlBaaJb+u1m9hHiXUEtwW4OzfUJg== - -possible-typed-array-names@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/possible-typed-array-names/-/possible-typed-array-names-1.0.0.tgz#89bb63c6fada2c3e90adc4a647beeeb39cc7bf8f" - integrity sha512-d7Uw+eZoloe0EHDIYoe+bQ5WXnGMOpmiZFTuMWCwpjzzkL2nTjcKiAk4hh8TjnGye2TwWOk3UXucZ+3rbmBa8Q== - -postcss-media-query-parser@^0.2.3: - version "0.2.3" - resolved "https://registry.yarnpkg.com/postcss-media-query-parser/-/postcss-media-query-parser-0.2.3.tgz#27b39c6f4d94f81b1a73b8f76351c609e5cef244" - integrity sha512-3sOlxmbKcSHMjlUXQZKQ06jOswE7oVkXPxmZdoB1r5l0q6gTFTQSHxNxOrCccElbW7dxNytifNEo8qidX2Vsig== - -postcss-modules-extract-imports@^3.1.0: - version "3.1.0" - resolved "https://registry.yarnpkg.com/postcss-modules-extract-imports/-/postcss-modules-extract-imports-3.1.0.tgz#b4497cb85a9c0c4b5aabeb759bb25e8d89f15002" - integrity sha512-k3kNe0aNFQDAZGbin48pL2VNidTF0w4/eASDsxlyspobzU3wZQLOGj7L9gfRe0Jo9/4uud09DsjFNH7winGv8Q== - -postcss-modules-local-by-default@^4.0.5: - version "4.0.5" - resolved "https://registry.yarnpkg.com/postcss-modules-local-by-default/-/postcss-modules-local-by-default-4.0.5.tgz#f1b9bd757a8edf4d8556e8d0f4f894260e3df78f" - integrity sha512-6MieY7sIfTK0hYfafw1OMEG+2bg8Q1ocHCpoWLqOKj3JXlKu4G7btkmM/B7lFubYkYWmRSPLZi5chid63ZaZYw== - dependencies: - icss-utils "^5.0.0" - postcss-selector-parser "^6.0.2" - postcss-value-parser "^4.1.0" - -postcss-modules-scope@^3.2.0: - version "3.2.0" - resolved "https://registry.yarnpkg.com/postcss-modules-scope/-/postcss-modules-scope-3.2.0.tgz#a43d28289a169ce2c15c00c4e64c0858e43457d5" - integrity sha512-oq+g1ssrsZOsx9M96c5w8laRmvEu9C3adDSjI8oTcbfkrTE8hx/zfyobUoWIxaKPO8bt6S62kxpw5GqypEw1QQ== - dependencies: - postcss-selector-parser "^6.0.4" - -postcss-modules-values@^4.0.0: - version "4.0.0" - resolved "https://registry.yarnpkg.com/postcss-modules-values/-/postcss-modules-values-4.0.0.tgz#d7c5e7e68c3bb3c9b27cbf48ca0bb3ffb4602c9c" - integrity sha512-RDxHkAiEGI78gS2ofyvCsu7iycRv7oqw5xMWn9iMoR0N/7mf9D50ecQqUo5BZ9Zh2vH4bCUR/ktCqbB9m8vJjQ== - dependencies: - icss-utils "^5.0.0" - -postcss-resolve-nested-selector@^0.1.1: - version "0.1.6" - resolved "https://registry.yarnpkg.com/postcss-resolve-nested-selector/-/postcss-resolve-nested-selector-0.1.6.tgz#3d84dec809f34de020372c41b039956966896686" - integrity sha512-0sglIs9Wmkzbr8lQwEyIzlDOOC9bGmfVKcJTaxv3vMmd3uo4o4DerC3En0bnmgceeql9BfC8hRkp7cg0fjdVqw== - -postcss-safe-parser@^6.0.0: - version "6.0.0" - resolved "https://registry.yarnpkg.com/postcss-safe-parser/-/postcss-safe-parser-6.0.0.tgz#bb4c29894171a94bc5c996b9a30317ef402adaa1" - integrity sha512-FARHN8pwH+WiS2OPCxJI8FuRJpTVnn6ZNFiqAM2aeW2LwTHWWmWgIyKC6cUo0L8aeKiF/14MNvnpls6R2PBeMQ== - -postcss-selector-parser@^6.0.11, postcss-selector-parser@^6.0.2, postcss-selector-parser@^6.0.4: - version "6.1.2" - resolved "https://registry.yarnpkg.com/postcss-selector-parser/-/postcss-selector-parser-6.1.2.tgz#27ecb41fb0e3b6ba7a1ec84fff347f734c7929de" - integrity sha512-Q8qQfPiZ+THO/3ZrOrO0cJJKfpYCagtMUkXbnEfmgUjwXg6z/WBeOyS9APBBPCTSiDV+s4SwQGu8yFsiMRIudg== - dependencies: - cssesc "^3.0.0" - util-deprecate "^1.0.2" - -postcss-value-parser@^4.1.0, postcss-value-parser@^4.2.0: - version "4.2.0" - resolved "https://registry.yarnpkg.com/postcss-value-parser/-/postcss-value-parser-4.2.0.tgz#723c09920836ba6d3e5af019f92bc0971c02e514" - integrity sha512-1NNCs6uurfkVbeXG4S8JFT9t19m45ICnif8zWLd5oPSZ50QnwMfK+H3jv408d4jw/7Bttv5axS5IiHoLaVNHeQ== - -postcss-values-parser@^2.0.1: - version "2.0.1" - resolved "https://registry.yarnpkg.com/postcss-values-parser/-/postcss-values-parser-2.0.1.tgz#da8b472d901da1e205b47bdc98637b9e9e550e5f" - integrity sha512-2tLuBsA6P4rYTNKCXYG/71C7j1pU6pK503suYOmn4xYrQIzW+opD+7FAFNuGSdZC/3Qfy334QbeMu7MEb8gOxg== - dependencies: - flatten "^1.0.2" - indexes-of "^1.0.1" - uniq "^1.0.1" - -postcss-values-parser@^6.0.2: - version "6.0.2" - resolved "https://registry.yarnpkg.com/postcss-values-parser/-/postcss-values-parser-6.0.2.tgz#636edc5b86c953896f1bb0d7a7a6615df00fb76f" - integrity sha512-YLJpK0N1brcNJrs9WatuJFtHaV9q5aAOj+S4DI5S7jgHlRfm0PIbDCAFRYMQD5SHq7Fy6xsDhyutgS0QOAs0qw== - dependencies: - color-name "^1.1.4" - is-url-superb "^4.0.0" - quote-unquote "^1.0.0" - -postcss@^8.1.7, postcss@^8.4.19, postcss@^8.4.23, postcss@^8.4.33: - version "8.4.47" - resolved "https://registry.yarnpkg.com/postcss/-/postcss-8.4.47.tgz#5bf6c9a010f3e724c503bf03ef7947dcb0fea365" - integrity sha512-56rxCq7G/XfB4EkXq9Egn5GCqugWvDFjafDOThIdMBsI15iqPqR5r15TfSr1YPYeEI19YeaXMCbY6u88Y76GLQ== - dependencies: - nanoid "^3.3.7" - picocolors "^1.1.0" - source-map-js "^1.2.1" - -precinct@^8.2.0: - version "8.3.1" - resolved "https://registry.yarnpkg.com/precinct/-/precinct-8.3.1.tgz#94b99b623df144eed1ce40e0801c86078466f0dc" - integrity sha512-pVppfMWLp2wF68rwHqBIpPBYY8Kd12lDhk8LVQzOwqllifVR15qNFyod43YLyFpurKRZQKnE7E4pofAagDOm2Q== - dependencies: - commander "^2.20.3" - debug "^4.3.3" - detective-amd "^3.1.0" - detective-cjs "^3.1.1" - detective-es6 "^2.2.1" - detective-less "^1.0.2" - detective-postcss "^4.0.0" - detective-sass "^3.0.1" - detective-scss "^2.0.1" - detective-stylus "^1.0.0" - detective-typescript "^7.0.0" - module-definition "^3.3.1" - node-source-walk "^4.2.0" - -precinct@^9.0.1: - version "9.2.1" - resolved "https://registry.yarnpkg.com/precinct/-/precinct-9.2.1.tgz#db0a67abff7b0a9a3b2b1ac33d170e8a5fcac7b2" - integrity sha512-uzKHaTyiVejWW7VJtHInb9KBUq9yl9ojxXGujhjhDmPon2wgZPBKQIKR+6csGqSlUeGXAA4MEFnU6DesxZib+A== - dependencies: - "@dependents/detective-less" "^3.0.1" - commander "^9.5.0" - detective-amd "^4.1.0" - detective-cjs "^4.1.0" - detective-es6 "^3.0.1" - detective-postcss "^6.1.1" - detective-sass "^4.1.1" - detective-scss "^3.0.1" - detective-stylus "^3.0.0" - detective-typescript "^9.1.1" - module-definition "^4.1.0" - node-source-walk "^5.0.1" - -precond@0.2: - version "0.2.3" - resolved "https://registry.yarnpkg.com/precond/-/precond-0.2.3.tgz#aa9591bcaa24923f1e0f4849d240f47efc1075ac" - integrity sha512-QCYG84SgGyGzqJ/vlMsxeXd/pgL/I94ixdNFyh1PusWmTCyVfPJjZ1K1jvHtsbfnXQs2TSkEP2fR7QiMZAnKFQ== - -prelude-ls@^1.2.1: - version "1.2.1" - resolved "https://registry.yarnpkg.com/prelude-ls/-/prelude-ls-1.2.1.tgz#debc6489d7a6e6b0e7611888cec880337d316396" - integrity sha512-vkcDPrRZo1QZLbn5RLGPpg/WmIQ65qoWWhcGKf/b5eplkkarX0m9z8ppCat4mlOqUsWpyNuYgO3VRyrYHSzX5g== - -prepend-http@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/prepend-http/-/prepend-http-2.0.0.tgz#e92434bfa5ea8c19f41cdfd401d741a3c819d897" - integrity sha512-ravE6m9Atw9Z/jjttRUZ+clIXogdghyZAuWJ3qEzjT+jI/dL1ifAqhZeC5VHzQp1MSt1+jxKkFNemj/iO7tVUA== - -prettier@2.5.1: - version "2.5.1" - resolved "https://registry.yarnpkg.com/prettier/-/prettier-2.5.1.tgz#fff75fa9d519c54cf0fce328c1017d94546bc56a" - integrity sha512-vBZcPRUR5MZJwoyi3ZoyQlc1rXeEck8KgeC9AwwOn+exuxLxq5toTRDTSaVrXHxelDMHy9zlicw8u66yxoSUFg== - -prettier@^2.7.1: - version "2.8.8" - resolved "https://registry.yarnpkg.com/prettier/-/prettier-2.8.8.tgz#e8c5d7e98a4305ffe3de2e1fc4aca1a71c28b1da" - integrity sha512-tdN8qQGvNjw4CHbY+XXk0JgCXn9QiF21a55rBe5LJAU+kDyC4WQn4+awm2Xfk2lQMk5fKup9XgzTZtGkjBdP9Q== - -pretty-error@^4.0.0: - version "4.0.0" - resolved "https://registry.yarnpkg.com/pretty-error/-/pretty-error-4.0.0.tgz#90a703f46dd7234adb46d0f84823e9d1cb8f10d6" - integrity sha512-AoJ5YMAcXKYxKhuJGdcvse+Voc6v1RgnsR3nWcYU7q4t6z0Q6T86sv5Zq8VIRbOWWFpvdGE83LtdSMNd+6Y0xw== - dependencies: - lodash "^4.17.20" - renderkid "^3.0.0" - -pretty-format@^25.5.0: - version "25.5.0" - resolved "https://registry.yarnpkg.com/pretty-format/-/pretty-format-25.5.0.tgz#7873c1d774f682c34b8d48b6743a2bf2ac55791a" - integrity sha512-kbo/kq2LQ/A/is0PQwsEHM7Ca6//bGPPvU6UnsdDRSKTWxT/ru/xb88v4BJf6a69H+uTytOEsTusT9ksd/1iWQ== - dependencies: - "@jest/types" "^25.5.0" - ansi-regex "^5.0.0" - ansi-styles "^4.0.0" - react-is "^16.12.0" - -pretty-format@^27.0.2, pretty-format@^27.5.1: - version "27.5.1" - resolved "https://registry.yarnpkg.com/pretty-format/-/pretty-format-27.5.1.tgz#2181879fdea51a7a5851fb39d920faa63f01d88e" - integrity sha512-Qb1gy5OrP5+zDf2Bvnzdl3jsTf1qXVMazbvCoKhtKqVs4/YK4ozX4gKQJJVyNe+cajNPn0KoC0MC3FUmaHWEmQ== - dependencies: - ansi-regex "^5.0.1" - ansi-styles "^5.0.0" - react-is "^17.0.1" - -pretty-format@^29.0.0, pretty-format@^29.7.0: - version "29.7.0" - resolved "https://registry.yarnpkg.com/pretty-format/-/pretty-format-29.7.0.tgz#ca42c758310f365bfa71a0bda0a807160b776812" - integrity sha512-Pdlw/oPxN+aXdmM9R00JVC9WVFoCLTKJvDVLgmJ+qAffBMxsV85l/Lu7sNx4zSzPyoL2euImuEwHhOXdEgNFZQ== - dependencies: - "@jest/schemas" "^29.6.3" - ansi-styles "^5.0.0" - react-is "^18.0.0" - -pretty-ms@^7.0.0: - version "7.0.1" - resolved "https://registry.yarnpkg.com/pretty-ms/-/pretty-ms-7.0.1.tgz#7d903eaab281f7d8e03c66f867e239dc32fb73e8" - integrity sha512-973driJZvxiGOQ5ONsFhOF/DtzPMOMtgC11kCpUrPGMTgqp2q/1gwzCquocrN33is0VZ5GFHXZYMM9l6h67v2Q== - dependencies: - parse-ms "^2.1.0" - -prettyjson@^1.2.1: - version "1.2.5" - resolved "https://registry.yarnpkg.com/prettyjson/-/prettyjson-1.2.5.tgz#ef3cfffcc70505c032abc59785884b4027031835" - integrity sha512-rksPWtoZb2ZpT5OVgtmy0KHVM+Dca3iVwWY9ifwhcexfjebtgjg3wmrUt9PvJ59XIYBcknQeYHD8IAnVlh9lAw== - dependencies: - colors "1.4.0" - minimist "^1.2.0" - -prism-react-renderer@1.2.1: - version "1.2.1" - resolved "https://registry.yarnpkg.com/prism-react-renderer/-/prism-react-renderer-1.2.1.tgz#392460acf63540960e5e3caa699d851264e99b89" - integrity sha512-w23ch4f75V1Tnz8DajsYKvY5lF7H1+WvzvLUcF0paFxkTHSp42RS0H5CttdN2Q8RR3DRGZ9v5xD/h3n8C8kGmg== - -proc-log@^2.0.0, proc-log@^2.0.1: - version "2.0.1" - resolved "https://registry.yarnpkg.com/proc-log/-/proc-log-2.0.1.tgz#8f3f69a1f608de27878f91f5c688b225391cb685" - integrity sha512-Kcmo2FhfDTXdcbfDH76N7uBYHINxc/8GW7UAVuVP9I+Va3uHSerrnKV6dLooga/gh7GlgzuCCr/eoldnL1muGw== - -proc-log@^3.0.0: - version "3.0.0" - resolved "https://registry.yarnpkg.com/proc-log/-/proc-log-3.0.0.tgz#fb05ef83ccd64fd7b20bbe9c8c1070fc08338dd8" - integrity sha512-++Vn7NS4Xf9NacaU9Xq3URUuqZETPsf8L4j5/ckhaRYsfPeRyzGw+iDjFhV/Jr3uNmTvvddEJFWh5R1gRgUH8A== - -process-es6@^0.11.6: - version "0.11.6" - resolved "https://registry.yarnpkg.com/process-es6/-/process-es6-0.11.6.tgz#c6bb389f9a951f82bd4eb169600105bd2ff9c778" - integrity sha512-GYBRQtL4v3wgigq10Pv58jmTbFXlIiTbSfgnNqZLY0ldUPqy1rRxDI5fCjoCpnM6TqmHQI8ydzTBXW86OYc0gA== - -process-nextick-args@~2.0.0: - version "2.0.1" - resolved "https://registry.yarnpkg.com/process-nextick-args/-/process-nextick-args-2.0.1.tgz#7820d9b16120cc55ca9ae7792680ae7dba6d7fe2" - integrity sha512-3ouUOpQhtgrbOa17J7+uxOTpITYWaGP7/AhoR3+A+/1e9skrzelGi/dXzEYyvbxubEF6Wn2ypscTKiKJFFn1ag== - -process-on-spawn@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/process-on-spawn/-/process-on-spawn-1.0.0.tgz#95b05a23073d30a17acfdc92a440efd2baefdc93" - integrity sha512-1WsPDsUSMmZH5LeMLegqkPDrsGgsWwk1Exipy2hvB0o/F0ASzbpIctSCcZIK1ykJvtTJULEH+20WOFjMvGnCTg== - dependencies: - fromentries "^1.2.0" - -process@^0.11.10: - version "0.11.10" - resolved "https://registry.yarnpkg.com/process/-/process-0.11.10.tgz#7332300e840161bda3e69a1d1d91a7d4bc16f182" - integrity sha512-cdGef/drWFoydD1JsMzuFf8100nZl+GT+yacc2bEced5f9Rjk4z+WtFUTBu9PhOi9j/jfmBPu0mMEY4wIdAF8A== - -promise-all-reject-late@^1.0.0: - version "1.0.1" - resolved "https://registry.yarnpkg.com/promise-all-reject-late/-/promise-all-reject-late-1.0.1.tgz#f8ebf13483e5ca91ad809ccc2fcf25f26f8643c2" - integrity sha512-vuf0Lf0lOxyQREH7GDIOUMLS7kz+gs8i6B+Yi8dC68a2sychGrHTJYghMBD6k7eUcH0H5P73EckCA48xijWqXw== - -promise-call-limit@^1.0.1: - version "1.0.2" - resolved "https://registry.yarnpkg.com/promise-call-limit/-/promise-call-limit-1.0.2.tgz#f64b8dd9ef7693c9c7613e7dfe8d6d24de3031ea" - integrity sha512-1vTUnfI2hzui8AEIixbdAJlFY4LFDXqQswy/2eOlThAscXCY4It8FdVuI0fMJGAB2aWGbdQf/gv0skKYXmdrHA== - -promise-inflight@^1.0.1: - version "1.0.1" - resolved "https://registry.yarnpkg.com/promise-inflight/-/promise-inflight-1.0.1.tgz#98472870bf228132fcbdd868129bad12c3c029e3" - integrity sha512-6zWPyEOFaQBJYcGMHBKTKJ3u6TBsnMFOIZSa6ce1e/ZrrsOlnHRHbabMjLiBYKp+n44X9eUI6VUPaukCXHuG4g== - -promise-retry@^2.0.1: - version "2.0.1" - resolved "https://registry.yarnpkg.com/promise-retry/-/promise-retry-2.0.1.tgz#ff747a13620ab57ba688f5fc67855410c370da22" - integrity sha512-y+WKFlBR8BGXnsNlIHFGPZmyDf3DFMoLhaflAnyZgV6rG6xu+JwesTo2Q9R6XwYmtmwAFCkAk3e35jEdoeh/3g== - dependencies: - err-code "^2.0.2" - retry "^0.12.0" - -prompts@^2.0.1, prompts@^2.4.1: - version "2.4.2" - resolved "https://registry.yarnpkg.com/prompts/-/prompts-2.4.2.tgz#7b57e73b3a48029ad10ebd44f74b01722a4cb069" - integrity sha512-NxNv/kLguCA7p3jE8oL2aEBsrJWgAakBpgmgK6lpPWV+WuOmY6r2/zbAVnP+T8bQlA0nzHXSJSJW0Hq7ylaD2Q== - dependencies: - kleur "^3.0.3" - sisteransi "^1.0.5" - -promzard@^0.3.0: - version "0.3.0" - resolved "https://registry.yarnpkg.com/promzard/-/promzard-0.3.0.tgz#26a5d6ee8c7dee4cb12208305acfb93ba382a9ee" - integrity sha512-JZeYqd7UAcHCwI+sTOeUDYkvEU+1bQ7iE0UT1MgB/tERkAPkesW46MrpIySzODi+owTjZtiF8Ay5j9m60KmMBw== - dependencies: - read "1" - -prop-types@15.8.1, prop-types@^15.7.2, prop-types@^15.8.1: - version "15.8.1" - resolved "https://registry.yarnpkg.com/prop-types/-/prop-types-15.8.1.tgz#67d87bf1a694f48435cf332c24af10214a3140b5" - integrity sha512-oj87CgZICdulUohogVAR7AjlC0327U4el4L6eAvOqCeudMDVU0NThNaV+b9Df4dXgSP1gXMTnPdhfe/2qDH5cg== - dependencies: - loose-envify "^1.4.0" - object-assign "^4.1.1" - react-is "^16.13.1" - -proto-list@~1.2.1: - version "1.2.4" - resolved "https://registry.yarnpkg.com/proto-list/-/proto-list-1.2.4.tgz#212d5bfe1318306a420f6402b8e26ff39647a849" - integrity sha512-vtK/94akxsTMhe0/cbfpR+syPuszcuwhqVjJq26CuNDgFGj682oRBXOP5MJpv2r7JtE8MsiepGIqvvOTBwn2vA== - -protocols@^2.0.0, protocols@^2.0.1: - version "2.0.1" - resolved "https://registry.yarnpkg.com/protocols/-/protocols-2.0.1.tgz#8f155da3fc0f32644e83c5782c8e8212ccf70a86" - integrity sha512-/XJ368cyBJ7fzLMwLKv1e4vLxOju2MNAIokcr7meSaNcVbWz/CPcW22cP04mwxOErdA5mwjA8Q6w/cdAQxVn7Q== - -proxy-addr@~2.0.7: - version "2.0.7" - resolved "https://registry.yarnpkg.com/proxy-addr/-/proxy-addr-2.0.7.tgz#f19fe69ceab311eeb94b42e70e8c2070f9ba1025" - integrity sha512-llQsMLSUDUPT44jdrU/O37qlnifitDP+ZwrmmZcoSKyLKvtZxpyV0n2/bD/N4tBAAZ/gJEdZU7KMraoK1+XYAg== - dependencies: - forwarded "0.2.0" - ipaddr.js "1.9.1" - -proxy-from-env@^1.1.0: - version "1.1.0" - resolved "https://registry.yarnpkg.com/proxy-from-env/-/proxy-from-env-1.1.0.tgz#e102f16ca355424865755d2c9e8ea4f24d58c3e2" - integrity sha512-D+zkORCbA9f1tdWRK0RaCR3GPv50cMxcrz4X8k5LTSUD1Dkw47mKJEZQNunItRTkWwgtaUSo1RVFRIG9ZXiFYg== - -ps-list@^8.0.0: - version "8.1.1" - resolved "https://registry.yarnpkg.com/ps-list/-/ps-list-8.1.1.tgz#9ff1952b26a9a07fcc05270407e60544237ae581" - integrity sha512-OPS9kEJYVmiO48u/B9qneqhkMvgCxT+Tm28VCEJpheTpl8cJ0ffZRRNgS5mrQRTrX5yRTpaJ+hRDeefXYmmorQ== - -pseudomap@^1.0.2: - version "1.0.2" - resolved "https://registry.yarnpkg.com/pseudomap/-/pseudomap-1.0.2.tgz#f052a28da70e618917ef0a8ac34c1ae5a68286b3" - integrity sha512-b/YwNhb8lk1Zz2+bXXpS/LK9OisiZZ1SNsSLxN1x2OXVEhW2Ckr/7mWE5vrC1ZTiJlD9g19jWszTmJsB+oEpFQ== - -psl@^1.1.33: - version "1.9.0" - resolved "https://registry.yarnpkg.com/psl/-/psl-1.9.0.tgz#d0df2a137f00794565fcaf3b2c00cd09f8d5a5a7" - integrity sha512-E/ZsdU4HLs/68gYzgGTkMicWTLPdAftJLfJFlLUAAKZGkStNU72sZjT66SnMDVOfOWY/YAoiD7Jxa9iHvngcag== - -pump@^1.0.0: - version "1.0.3" - resolved "https://registry.yarnpkg.com/pump/-/pump-1.0.3.tgz#5dfe8311c33bbf6fc18261f9f34702c47c08a954" - integrity sha512-8k0JupWme55+9tCVE+FS5ULT3K6AbgqrGa58lTT49RpyfwwcGedHqaC5LlQNdEAumn/wFsu6aPwkuPMioy8kqw== - dependencies: - end-of-stream "^1.1.0" - once "^1.3.1" - -pump@^3.0.0: - version "3.0.2" - resolved "https://registry.yarnpkg.com/pump/-/pump-3.0.2.tgz#836f3edd6bc2ee599256c924ffe0d88573ddcbf8" - integrity sha512-tUPXtzlGM8FE3P0ZL6DVs/3P58k9nk8/jZeQCurTJylQA8qFYzHFfhBJkuqyE0FifOsQ0uKWekiZ5g8wtr28cw== - dependencies: - end-of-stream "^1.1.0" - once "^1.3.1" - -punycode@^1.4.1: - version "1.4.1" - resolved "https://registry.yarnpkg.com/punycode/-/punycode-1.4.1.tgz#c0d5a63b2718800ad8e1eb0fa5269c84dd41845e" - integrity sha512-jmYNElW7yvO7TV33CjSmvSiE2yco3bV2czu/OzDKdMNVZQWfxCblURLhf+47syQRBntjfLdd/H0egrzIG+oaFQ== - -punycode@^2.1.0, punycode@^2.1.1: - version "2.3.1" - resolved "https://registry.yarnpkg.com/punycode/-/punycode-2.3.1.tgz#027422e2faec0b25e1549c3e1bd8309b9133b6e5" - integrity sha512-vYt7UD1U9Wg6138shLtLOvdAu+8DsC/ilFtEVHcH+wydcSpNE20AfSOduf6MkRFahL5FY7X1oU7nKVZFtfq8Fg== - -pupa@^2.1.1: - version "2.1.1" - resolved "https://registry.yarnpkg.com/pupa/-/pupa-2.1.1.tgz#f5e8fd4afc2c5d97828faa523549ed8744a20d62" - integrity sha512-l1jNAspIBSFqbT+y+5FosojNpVpF94nlI+wDUpqP9enwOTfHx9f0gh5nB96vl+6yTpsJsypeNrwfzPrKuHB41A== - dependencies: - escape-goat "^2.0.0" - -pure-rand@^6.0.0: - version "6.1.0" - resolved "https://registry.yarnpkg.com/pure-rand/-/pure-rand-6.1.0.tgz#d173cf23258231976ccbdb05247c9787957604f2" - integrity sha512-bVWawvoZoBYpp6yIoQtQXHZjmz35RSVHnUOTefl8Vcjr8snTPY1wnpSPMWekcFwbxI6gtmT7rSYPFvz71ldiOA== - -q@^1.5.1: - version "1.5.1" - resolved "https://registry.yarnpkg.com/q/-/q-1.5.1.tgz#7e32f75b41381291d04611f1bf14109ac00651d7" - integrity sha512-kV/CThkXo6xyFEZUugw/+pIOywXcDbFYgSct5cT3gqlbkBE1SJdwy6UQoZvodiWF/ckQLZyDE/Bu1M6gVu5lVw== - -qs@6.13.0, qs@^6.12.3, qs@^6.9.6: - version "6.13.0" - resolved "https://registry.yarnpkg.com/qs/-/qs-6.13.0.tgz#6ca3bd58439f7e245655798997787b0d88a51906" - integrity sha512-+38qI9SOr8tfZ4QmJNplMUxqjbe7LKvvZgWdExBOmd+egZTtjLB67Gu0HRX3u/XOq7UU2Nx6nsjvS16Z9uwfpg== - dependencies: - side-channel "^1.0.6" - -query-string@^5.0.1: - version "5.1.1" - resolved "https://registry.yarnpkg.com/query-string/-/query-string-5.1.1.tgz#a78c012b71c17e05f2e3fa2319dd330682efb3cb" - integrity sha512-gjWOsm2SoGlgLEdAGt7a6slVOk9mGiXmPFMqrEhLQ68rhQuBnpfs3+EmlvqKyxnCo9/PPlF+9MtY02S1aFg+Jw== - dependencies: - decode-uri-component "^0.2.0" - object-assign "^4.1.0" - strict-uri-encode "^1.0.0" - -querystringify@^2.1.1: - version "2.2.0" - resolved "https://registry.yarnpkg.com/querystringify/-/querystringify-2.2.0.tgz#3345941b4153cb9d082d8eee4cda2016a9aef7f6" - integrity sha512-FIqgj2EUvTa7R50u0rGsyTftzjYmv/a3hO345bZNrqabNqjtgiDMgmo4mkUjd+nzU5oF3dClKqFIPUKybUyqoQ== - -queue-microtask@^1.2.2: - version "1.2.3" - resolved "https://registry.yarnpkg.com/queue-microtask/-/queue-microtask-1.2.3.tgz#4929228bbc724dfac43e0efb058caf7b6cfb6243" - integrity sha512-NuaNSa6flKT5JaSYQzJok04JzTL1CA6aGhv5rfLW3PgqA+M2ChpZQnAC8h8i4ZFkBS8X5RqkDBHA7r4hej3K9A== - -quick-lru@^4.0.1: - version "4.0.1" - resolved "https://registry.yarnpkg.com/quick-lru/-/quick-lru-4.0.1.tgz#5b8878f113a58217848c6482026c73e1ba57727f" - integrity sha512-ARhCpm70fzdcvNQfPoy49IaanKkTlRWF2JMzqhcJbhSFRZv7nPTvZJdcY7301IPmvW+/p0RgIWnQDLJxifsQ7g== - -quote-unquote@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/quote-unquote/-/quote-unquote-1.0.0.tgz#67a9a77148effeaf81a4d428404a710baaac8a0b" - integrity sha512-twwRO/ilhlG/FIgYeKGFqyHhoEhqgnKVkcmqMKi2r524gz3ZbDTcyFt38E9xjJI2vT+KbRNHVbnJ/e0I25Azwg== - -random-bytes@~1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/random-bytes/-/random-bytes-1.0.0.tgz#4f68a1dc0ae58bd3fb95848c30324db75d64360b" - integrity sha512-iv7LhNVO047HzYR3InF6pUcUsPQiHTM1Qal51DcGSuZFBil1aBBWG5eHPNek7bvILMaYJ/8RU1e8w1AMdHmLQQ== - -randombytes@^2.1.0: - version "2.1.0" - resolved "https://registry.yarnpkg.com/randombytes/-/randombytes-2.1.0.tgz#df6f84372f0270dc65cdf6291349ab7a473d4f2a" - integrity sha512-vYl3iOX+4CKUWuxGi9Ukhie6fsqXqS9FE2Zaic4tNFD2N2QQaXOMFbuKK4QmDHC0JO6B1Zp41J0LpT0oR68amQ== - dependencies: - safe-buffer "^5.1.0" - -range-parser@1.2.0: - version "1.2.0" - resolved "https://registry.yarnpkg.com/range-parser/-/range-parser-1.2.0.tgz#f49be6b487894ddc40dcc94a322f611092e00d5e" - integrity sha512-kA5WQoNVo4t9lNx2kQNFCxKeBl5IbbSNBl1M/tLkw9WCn+hxNBAW5Qh8gdhs63CJnhjJ2zQWFoqPJP2sK1AV5A== - -range-parser@^1.2.1, range-parser@~1.2.1: - version "1.2.1" - resolved "https://registry.yarnpkg.com/range-parser/-/range-parser-1.2.1.tgz#3cf37023d199e1c24d1a55b84800c2f3e6468031" - integrity sha512-Hrgsx+orqoygnmhFbKaHE6c296J+HTAQXoxEF6gNupROmmGJRoyzfG3ccAveqCBrwr/2yxQ5BVd/GTl5agOwSg== - -raw-body@2.5.2, raw-body@^2.4.1: - version "2.5.2" - resolved "https://registry.yarnpkg.com/raw-body/-/raw-body-2.5.2.tgz#99febd83b90e08975087e8f1f9419a149366b68a" - integrity sha512-8zGqypfENjCIqGhgXToC8aB2r7YrBX+AQAfIPs/Mlk+BtPTztOvTS01NRW/3Eh60J+a48lt8qsCzirQ6loCVfA== - dependencies: - bytes "3.1.2" - http-errors "2.0.0" - iconv-lite "0.4.24" - unpipe "1.0.0" - -rc@1.2.8, rc@^1.0.1, rc@^1.1.6, rc@^1.2.7, rc@^1.2.8: - version "1.2.8" - resolved "https://registry.yarnpkg.com/rc/-/rc-1.2.8.tgz#cd924bf5200a075b83c188cd6b9e211b7fc0d3ed" - integrity sha512-y3bGgqKj3QBdxLbLkomlohkvsA8gdAiUQlSBJnBhfn+BPxg4bc62d8TcBW15wavDfgexCgccckhcZvywyQYPOw== - dependencies: - deep-extend "^0.6.0" - ini "~1.3.0" - minimist "^1.2.0" - strip-json-comments "~2.0.1" - -react-aria-components@^1.2.1: - version "1.4.1" - resolved "https://registry.yarnpkg.com/react-aria-components/-/react-aria-components-1.4.1.tgz#59d110cf7608babfcb8450ea1ad3dc0b7c341bab" - integrity sha512-pDRcIByLJi4M2VxZuXrlqi7wyjCKwqAxkPPdKvf4HPupUES56FpbW72yS3syu6fxw16CSx62/3zpuNJX1UotTA== - dependencies: - "@internationalized/date" "^3.5.6" - "@internationalized/string" "^3.2.4" - "@react-aria/accordion" "3.0.0-alpha.35" - "@react-aria/collections" "3.0.0-alpha.5" - "@react-aria/color" "^3.0.1" - "@react-aria/disclosure" "3.0.0-alpha.1" - "@react-aria/dnd" "^3.7.4" - "@react-aria/focus" "^3.18.4" - "@react-aria/interactions" "^3.22.4" - "@react-aria/live-announcer" "^3.4.0" - "@react-aria/menu" "^3.15.5" - "@react-aria/toolbar" "3.0.0-beta.10" - "@react-aria/tree" "3.0.0-beta.1" - "@react-aria/utils" "^3.25.3" - "@react-aria/virtualizer" "^4.0.4" - "@react-stately/color" "^3.8.0" - "@react-stately/disclosure" "3.0.0-alpha.0" - "@react-stately/layout" "^4.0.3" - "@react-stately/menu" "^3.8.3" - "@react-stately/table" "^3.12.3" - "@react-stately/utils" "^3.10.4" - "@react-stately/virtualizer" "^4.1.0" - "@react-types/color" "^3.0.0" - "@react-types/form" "^3.7.7" - "@react-types/grid" "^3.2.9" - "@react-types/shared" "^3.25.0" - "@react-types/table" "^3.10.2" - "@swc/helpers" "^0.5.0" - client-only "^0.0.1" - react-aria "^3.35.1" - react-stately "^3.33.0" - use-sync-external-store "^1.2.0" - -react-aria@^3.35.1: - version "3.35.1" - resolved "https://registry.yarnpkg.com/react-aria/-/react-aria-3.35.1.tgz#a7ac8268bd79c9b01eeb5e7ef1852048b0f574be" - integrity sha512-MQTvt0xbcKpnceKkYUtPMbaD9IQj2BXTrwk2vP/V7ph3EVhcyJTUdy1LXCqf8oR8bXE2BERUqp7rzJ+vYy5C+w== - dependencies: - "@internationalized/string" "^3.2.4" - "@react-aria/breadcrumbs" "^3.5.18" - "@react-aria/button" "^3.10.1" - "@react-aria/calendar" "^3.5.13" - "@react-aria/checkbox" "^3.14.8" - "@react-aria/color" "^3.0.1" - "@react-aria/combobox" "^3.10.5" - "@react-aria/datepicker" "^3.11.4" - "@react-aria/dialog" "^3.5.19" - "@react-aria/dnd" "^3.7.4" - "@react-aria/focus" "^3.18.4" - "@react-aria/gridlist" "^3.9.5" - "@react-aria/i18n" "^3.12.3" - "@react-aria/interactions" "^3.22.4" - "@react-aria/label" "^3.7.12" - "@react-aria/link" "^3.7.6" - "@react-aria/listbox" "^3.13.5" - "@react-aria/menu" "^3.15.5" - "@react-aria/meter" "^3.4.17" - "@react-aria/numberfield" "^3.11.8" - "@react-aria/overlays" "^3.23.4" - "@react-aria/progress" "^3.4.17" - "@react-aria/radio" "^3.10.9" - "@react-aria/searchfield" "^3.7.10" - "@react-aria/select" "^3.14.11" - "@react-aria/selection" "^3.20.1" - "@react-aria/separator" "^3.4.3" - "@react-aria/slider" "^3.7.13" - "@react-aria/ssr" "^3.9.6" - "@react-aria/switch" "^3.6.9" - "@react-aria/table" "^3.15.5" - "@react-aria/tabs" "^3.9.7" - "@react-aria/tag" "^3.4.7" - "@react-aria/textfield" "^3.14.10" - "@react-aria/tooltip" "^3.7.9" - "@react-aria/utils" "^3.25.3" - "@react-aria/visually-hidden" "^3.8.17" - "@react-types/shared" "^3.25.0" - -react-colorful@^5.1.2: - version "5.6.1" - resolved "https://registry.yarnpkg.com/react-colorful/-/react-colorful-5.6.1.tgz#7dc2aed2d7c72fac89694e834d179e32f3da563b" - integrity sha512-1exovf0uGTGyq5mXQT0zgQ80uvj2PCwvF8zY1RN9/vbJVSjSo3fsB/4L3ObbF7u70NduSiK4xu4Y6q1MHoUGEw== - -react-confetti@^6.1.0: - version "6.1.0" - resolved "https://registry.yarnpkg.com/react-confetti/-/react-confetti-6.1.0.tgz#03dc4340d955acd10b174dbf301f374a06e29ce6" - integrity sha512-7Ypx4vz0+g8ECVxr88W9zhcQpbeujJAVqL14ZnXJ3I23mOI9/oBVTQ3dkJhUmB0D6XOtCZEM6N0Gm9PMngkORw== - dependencies: - tween-functions "^1.2.0" - -react-docgen-typescript@^2.2.2: - version "2.2.2" - resolved "https://registry.yarnpkg.com/react-docgen-typescript/-/react-docgen-typescript-2.2.2.tgz#4611055e569edc071204aadb20e1c93e1ab1659c" - integrity sha512-tvg2ZtOpOi6QDwsb3GZhOjDkkX0h8Z2gipvTg6OVMUyoYoURhEiRNePT8NZItTVCDh39JJHnLdfCOkzoLbFnTg== - -react-docgen@^7.0.0: - version "7.0.3" - resolved "https://registry.yarnpkg.com/react-docgen/-/react-docgen-7.0.3.tgz#f811b785f07b1f2023cb899b6bcf9d522b21b95d" - integrity sha512-i8aF1nyKInZnANZ4uZrH49qn1paRgBZ7wZiCNBMnenlPzEv0mRl+ShpTVEI6wZNl8sSc79xZkivtgLKQArcanQ== - dependencies: - "@babel/core" "^7.18.9" - "@babel/traverse" "^7.18.9" - "@babel/types" "^7.18.9" - "@types/babel__core" "^7.18.0" - "@types/babel__traverse" "^7.18.0" - "@types/doctrine" "^0.0.9" - "@types/resolve" "^1.20.2" - doctrine "^3.0.0" - resolve "^1.22.1" - strip-indent "^4.0.0" - -react-dom@18.3.1, "react-dom@^16.8.0 || ^17.0.0 || ^18.0.0": - version "18.3.1" - resolved "https://registry.yarnpkg.com/react-dom/-/react-dom-18.3.1.tgz#c2265d79511b57d479b3dd3fdfa51536494c5cb4" - integrity sha512-5m4nQKp+rZRb09LNH59GM4BxTh9251/ylbKIbpe7TpGxfJ+9kv6BLkLBXIjjspbgbnIBNqlI23tRnTWT0snUIw== - dependencies: - loose-envify "^1.1.0" - scheduler "^0.23.2" - -react-element-to-jsx-string@^15.0.0: - version "15.0.0" - resolved "https://registry.yarnpkg.com/react-element-to-jsx-string/-/react-element-to-jsx-string-15.0.0.tgz#1cafd5b6ad41946ffc8755e254da3fc752a01ac6" - integrity sha512-UDg4lXB6BzlobN60P8fHWVPX3Kyw8ORrTeBtClmIlGdkOOE+GYQSFvmEU5iLLpwp/6v42DINwNcwOhOLfQ//FQ== - dependencies: - "@base2/pretty-print-object" "1.0.1" - is-plain-object "5.0.0" - react-is "18.1.0" - -react-fast-compare@^2.0.1: - version "2.0.4" - resolved "https://registry.yarnpkg.com/react-fast-compare/-/react-fast-compare-2.0.4.tgz#e84b4d455b0fec113e0402c329352715196f81f9" - integrity sha512-suNP+J1VU1MWFKcyt7RtjiSWUjvidmQSlqu+eHslq+342xCbGTYmC0mEhPCOHxlW0CywylOC1u2DFAT+bv4dBw== - -react-is@18.1.0: - version "18.1.0" - resolved "https://registry.yarnpkg.com/react-is/-/react-is-18.1.0.tgz#61aaed3096d30eacf2a2127118b5b41387d32a67" - integrity sha512-Fl7FuabXsJnV5Q1qIOQwx/sagGF18kogb4gpfcG4gjLBWO0WDiiz1ko/ExayuxE7InyQkBLkxRFG5oxY6Uu3Kg== - -react-is@18.3.1, "react-is@^16.12.0 || ^17.0.0 || ^18.0.0", react-is@^18.0.0, react-is@^18.3.1: - version "18.3.1" - resolved "https://registry.yarnpkg.com/react-is/-/react-is-18.3.1.tgz#e83557dc12eae63a99e003a46388b1dcbb44db7e" - integrity sha512-/LLMVyas0ljjAtoYiPqYiL8VWXzUUdThrmU5+n20DZv+a+ClRoevUzw5JxU+Ieh5/c87ytoTBV9G1FiKfNJdmg== - -react-is@^16.12.0, react-is@^16.13.1, react-is@^16.7.0: - version "16.13.1" - resolved "https://registry.yarnpkg.com/react-is/-/react-is-16.13.1.tgz#789729a4dc36de2999dc156dd6c1d9c18cea56a4" - integrity sha512-24e6ynE2H+OKt4kqsOvNd8kBpV65zoxbA4BVsEOB3ARVWQki/DHzaUoC5KuON/BiccDaCCTZBuOcfZs70kR8bQ== - -react-is@^17.0.1: - version "17.0.2" - resolved "https://registry.yarnpkg.com/react-is/-/react-is-17.0.2.tgz#e691d4a8e9c789365655539ab372762b0efb54f0" - integrity sha512-w2GsyukL62IJnlaff/nRegPQR94C/XXamvMWmSHRJ4y7Ts/4ocGRmTHvOs8PSE6pB3dWOrD/nueuU5sduBsQ4w== - -react-shallow-renderer@^16.15.0: - version "16.15.0" - resolved "https://registry.yarnpkg.com/react-shallow-renderer/-/react-shallow-renderer-16.15.0.tgz#48fb2cf9b23d23cde96708fe5273a7d3446f4457" - integrity sha512-oScf2FqQ9LFVQgA73vr86xl2NaOIX73rh+YFqcOp68CWj56tSfgtGKrEbyhCj0rSijyG9M1CYprTh39fBi5hzA== - dependencies: - object-assign "^4.1.1" - react-is "^16.12.0 || ^17.0.0 || ^18.0.0" - -react-stately@^3.33.0: - version "3.33.0" - resolved "https://registry.yarnpkg.com/react-stately/-/react-stately-3.33.0.tgz#51bf4f7e99b177d491a8260981b987f9e98e39f2" - integrity sha512-DNPOxYAPuhuXwSuE1s1K7iSgqG2QOBUZq3bsLAd4gUUZje6Qepkhe7TzK2LWarQYAZ3gC9Xhmnz8ie1fdCo0GA== - dependencies: - "@react-stately/calendar" "^3.5.5" - "@react-stately/checkbox" "^3.6.9" - "@react-stately/collections" "^3.11.0" - "@react-stately/color" "^3.8.0" - "@react-stately/combobox" "^3.10.0" - "@react-stately/data" "^3.11.7" - "@react-stately/datepicker" "^3.10.3" - "@react-stately/dnd" "^3.4.3" - "@react-stately/form" "^3.0.6" - "@react-stately/list" "^3.11.0" - "@react-stately/menu" "^3.8.3" - "@react-stately/numberfield" "^3.9.7" - "@react-stately/overlays" "^3.6.11" - "@react-stately/radio" "^3.10.8" - "@react-stately/searchfield" "^3.5.7" - "@react-stately/select" "^3.6.8" - "@react-stately/selection" "^3.17.0" - "@react-stately/slider" "^3.5.8" - "@react-stately/table" "^3.12.3" - "@react-stately/tabs" "^3.6.10" - "@react-stately/toggle" "^3.7.8" - "@react-stately/tooltip" "^3.4.13" - "@react-stately/tree" "^3.8.5" - "@react-types/shared" "^3.25.0" - -react-test-renderer@18.3.1: - version "18.3.1" - resolved "https://registry.yarnpkg.com/react-test-renderer/-/react-test-renderer-18.3.1.tgz#e693608a1f96283400d4a3afead6893f958b80b4" - integrity sha512-KkAgygexHUkQqtvvx/otwxtuFu5cVjfzTCtjXLH9boS19/Nbtg84zS7wIQn39G8IlrhThBpQsMKkq5ZHZIYFXA== - dependencies: - react-is "^18.3.1" - react-shallow-renderer "^16.15.0" - scheduler "^0.23.2" - -react@18.3.1, "react@^16.8.0 || ^17.0.0 || ^18.0.0": - version "18.3.1" - resolved "https://registry.yarnpkg.com/react/-/react-18.3.1.tgz#49ab892009c53933625bd16b2533fc754cab2891" - integrity sha512-wS+hAgJShR0KhEvPJArfuPVN1+Hz1t0Y6n5jLrGQbkb4urgPE/0Rve+1kMB1v/oWgHgm4WIcV+i7F2pTVj+2iQ== - dependencies: - loose-envify "^1.1.0" - -read-cmd-shim@3.0.0: - version "3.0.0" - resolved "https://registry.yarnpkg.com/read-cmd-shim/-/read-cmd-shim-3.0.0.tgz#62b8c638225c61e6cc607f8f4b779f3b8238f155" - integrity sha512-KQDVjGqhZk92PPNRj9ZEXEuqg8bUobSKRw+q0YQ3TKI5xkce7bUJobL4Z/OtiEbAAv70yEpYIXp4iQ9L8oPVog== - -read-cmd-shim@^3.0.0: - version "3.0.1" - resolved "https://registry.yarnpkg.com/read-cmd-shim/-/read-cmd-shim-3.0.1.tgz#868c235ec59d1de2db69e11aec885bc095aea087" - integrity sha512-kEmDUoYf/CDy8yZbLTmhB1X9kkjf9Q80PCNsDMb7ufrGd6zZSQA1+UyjrO+pZm5K/S4OXCWJeiIt1JA8kAsa6g== - -read-package-json-fast@^2.0.2, read-package-json-fast@^2.0.3: - version "2.0.3" - resolved "https://registry.yarnpkg.com/read-package-json-fast/-/read-package-json-fast-2.0.3.tgz#323ca529630da82cb34b36cc0b996693c98c2b83" - integrity sha512-W/BKtbL+dUjTuRL2vziuYhp76s5HZ9qQhd/dKfWIZveD0O40453QNyZhC0e63lqZrAQ4jiOapVoeJ7JrszenQQ== - dependencies: - json-parse-even-better-errors "^2.3.0" - npm-normalize-package-bin "^1.0.1" - -read-package-json-fast@^3.0.0, read-package-json-fast@^3.0.2: - version "3.0.2" - resolved "https://registry.yarnpkg.com/read-package-json-fast/-/read-package-json-fast-3.0.2.tgz#394908a9725dc7a5f14e70c8e7556dff1d2b1049" - integrity sha512-0J+Msgym3vrLOUB3hzQCuZHII0xkNGCtz/HJH9xZshwv9DbDwkw1KaE3gx/e2J5rpEY5rtOy6cyhKOPrkP7FZw== - dependencies: - json-parse-even-better-errors "^3.0.0" - npm-normalize-package-bin "^3.0.0" - -read-package-json@5.0.1: - version "5.0.1" - resolved "https://registry.yarnpkg.com/read-package-json/-/read-package-json-5.0.1.tgz#1ed685d95ce258954596b13e2e0e76c7d0ab4c26" - integrity sha512-MALHuNgYWdGW3gKzuNMuYtcSSZbGQm94fAp16xt8VsYTLBjUSc55bLMKe6gzpWue0Tfi6CBgwCSdDAqutGDhMg== - dependencies: - glob "^8.0.1" - json-parse-even-better-errors "^2.3.1" - normalize-package-data "^4.0.0" - npm-normalize-package-bin "^1.0.1" - -read-package-json@^5.0.0: - version "5.0.2" - resolved "https://registry.yarnpkg.com/read-package-json/-/read-package-json-5.0.2.tgz#b8779ccfd169f523b67208a89cc912e3f663f3fa" - integrity sha512-BSzugrt4kQ/Z0krro8zhTwV1Kd79ue25IhNN/VtHFy1mG/6Tluyi+msc0UpwaoQzxSHa28mntAjIZY6kEgfR9Q== - dependencies: - glob "^8.0.1" - json-parse-even-better-errors "^2.3.1" - normalize-package-data "^4.0.0" - npm-normalize-package-bin "^2.0.0" - -read-pkg-up@^3.0.0: - version "3.0.0" - resolved "https://registry.yarnpkg.com/read-pkg-up/-/read-pkg-up-3.0.0.tgz#3ed496685dba0f8fe118d0691dc51f4a1ff96f07" - integrity sha512-YFzFrVvpC6frF1sz8psoHDBGF7fLPc+llq/8NB43oagqWkx8ar5zYtsTORtOjw9W2RHLpWP+zTWwBvf1bCmcSw== - dependencies: - find-up "^2.0.0" - read-pkg "^3.0.0" - -read-pkg-up@^7.0.1: - version "7.0.1" - resolved "https://registry.yarnpkg.com/read-pkg-up/-/read-pkg-up-7.0.1.tgz#f3a6135758459733ae2b95638056e1854e7ef507" - integrity sha512-zK0TB7Xd6JpCLmlLmufqykGE+/TlOePD6qKClNW7hHDKFh/J7/7gCWGR7joEQEW1bKq3a3yUZSObOoWLFQ4ohg== - dependencies: - find-up "^4.1.0" - read-pkg "^5.2.0" - type-fest "^0.8.1" - -read-pkg-up@^9.0.0: - version "9.1.0" - resolved "https://registry.yarnpkg.com/read-pkg-up/-/read-pkg-up-9.1.0.tgz#38ca48e0bc6c6b260464b14aad9bcd4e5b1fbdc3" - integrity sha512-vaMRR1AC1nrd5CQM0PhlRsO5oc2AAigqr7cCrZ/MW/Rsaflz4RlgzkpL4qoU/z1F6wrbd85iFv1OQj/y5RdGvg== - dependencies: - find-up "^6.3.0" - read-pkg "^7.1.0" - type-fest "^2.5.0" - -read-pkg@^3.0.0: - version "3.0.0" - resolved "https://registry.yarnpkg.com/read-pkg/-/read-pkg-3.0.0.tgz#9cbc686978fee65d16c00e2b19c237fcf6e38389" - integrity sha512-BLq/cCO9two+lBgiTYNqD6GdtK8s4NpaWrl6/rCO9w0TUS8oJl7cmToOZfRYllKTISY6nt1U7jQ53brmKqY6BA== - dependencies: - load-json-file "^4.0.0" - normalize-package-data "^2.3.2" - path-type "^3.0.0" - -read-pkg@^5.2.0: - version "5.2.0" - resolved "https://registry.yarnpkg.com/read-pkg/-/read-pkg-5.2.0.tgz#7bf295438ca5a33e56cd30e053b34ee7250c93cc" - integrity sha512-Ug69mNOpfvKDAc2Q8DRpMjjzdtrnv9HcSMX+4VsZxD1aZ6ZzrIE7rlzXBtWTyhULSMKg076AW6WR5iZpD0JiOg== - dependencies: - "@types/normalize-package-data" "^2.4.0" - normalize-package-data "^2.5.0" - parse-json "^5.0.0" - type-fest "^0.6.0" - -read-pkg@^7.1.0: - version "7.1.0" - resolved "https://registry.yarnpkg.com/read-pkg/-/read-pkg-7.1.0.tgz#438b4caed1ad656ba359b3e00fd094f3c427a43e" - integrity sha512-5iOehe+WF75IccPc30bWTbpdDQLOCc3Uu8bi3Dte3Eueij81yx1Mrufk8qBx/YAbR4uL1FdUr+7BKXDwEtisXg== - dependencies: - "@types/normalize-package-data" "^2.4.1" - normalize-package-data "^3.0.2" - parse-json "^5.2.0" - type-fest "^2.0.0" - -read-yaml-file@^1.1.0: - version "1.1.0" - resolved "https://registry.yarnpkg.com/read-yaml-file/-/read-yaml-file-1.1.0.tgz#9362bbcbdc77007cc8ea4519fe1c0b821a7ce0d8" - integrity sha512-VIMnQi/Z4HT2Fxuwg5KrY174U1VdUIASQVWXXyqtNRtxSr9IYkn1rsI6Tb6HsrHCmB7gVpNwX6JxPTHcH6IoTA== - dependencies: - graceful-fs "^4.1.5" - js-yaml "^3.6.1" - pify "^4.0.1" - strip-bom "^3.0.0" - -read@1, read@^1.0.7: - version "1.0.7" - resolved "https://registry.yarnpkg.com/read/-/read-1.0.7.tgz#b3da19bd052431a97671d44a42634adf710b40c4" - integrity sha512-rSOKNYUmaxy0om1BNjMN4ezNT6VKK+2xF4GBhc81mkH7L60i6dp8qPYrkndNLT3QPphoII3maL9PVC9XmhHwVQ== - dependencies: - mute-stream "~0.0.4" - -readable-stream@3, readable-stream@^3.0.0, readable-stream@^3.0.2, readable-stream@^3.1.1, readable-stream@^3.4.0, readable-stream@^3.6.0: - version "3.6.2" - resolved "https://registry.yarnpkg.com/readable-stream/-/readable-stream-3.6.2.tgz#56a9b36ea965c00c5a93ef31eb111a0f11056967" - integrity sha512-9u/sniCrY3D5WdsERHzHE4G2YCXqoG5FTHUiCC4SIbr6XcLZBY05ya9EKjYek9O5xOAwjGq+1JdGBAS7Q9ScoA== - dependencies: - inherits "^2.0.3" - string_decoder "^1.1.1" - util-deprecate "^1.0.1" - -readable-stream@^2.0.0, readable-stream@^2.0.2, readable-stream@^2.0.5, readable-stream@^2.0.6, readable-stream@^2.1.5, readable-stream@^2.3.0, readable-stream@^2.3.5, readable-stream@~2.3.6: - version "2.3.8" - resolved "https://registry.yarnpkg.com/readable-stream/-/readable-stream-2.3.8.tgz#91125e8042bba1b9887f49345f6277027ce8be9b" - integrity sha512-8p0AUk4XODgIewSi0l8Epjs+EVnWiK7NoDIEGU0HhE7+ZyY8D1IMY7odu5lRrFXGg71L15KG8QrPmum45RTtdA== - dependencies: - core-util-is "~1.0.0" - inherits "~2.0.3" - isarray "~1.0.0" - process-nextick-args "~2.0.0" - safe-buffer "~5.1.1" - string_decoder "~1.1.1" - util-deprecate "~1.0.1" - -readable-stream@^4.5.2: - version "4.5.2" - resolved "https://registry.yarnpkg.com/readable-stream/-/readable-stream-4.5.2.tgz#9e7fc4c45099baeed934bff6eb97ba6cf2729e09" - integrity sha512-yjavECdqeZ3GLXNgRXgeQEdz9fvDDkNKyHnbHRFtOr7/LcfgBcmct7t/ET+HaCTqfh06OzoAxrkN/IfjJBVe+g== - dependencies: - abort-controller "^3.0.0" - buffer "^6.0.3" - events "^3.3.0" - process "^0.11.10" - string_decoder "^1.3.0" - -readable-stream@~1.0.31: - version "1.0.34" - resolved "https://registry.yarnpkg.com/readable-stream/-/readable-stream-1.0.34.tgz#125820e34bc842d2f2aaafafe4c2916ee32c157c" - integrity sha512-ok1qVCJuRkNmvebYikljxJA/UEsKwLl2nI1OmaqAu4/UE+h0wKCHok4XkL/gvi39OacXvw59RJUOFUkDib2rHg== - dependencies: - core-util-is "~1.0.0" - inherits "~2.0.1" - isarray "0.0.1" - string_decoder "~0.10.x" - -readdir-glob@^1.1.2: - version "1.1.3" - resolved "https://registry.yarnpkg.com/readdir-glob/-/readdir-glob-1.1.3.tgz#c3d831f51f5e7bfa62fa2ffbe4b508c640f09584" - integrity sha512-v05I2k7xN8zXvPD9N+z/uhXPaj0sUFCe2rcWZIpBsqxfP7xXFQ0tipAd/wjj1YxWyWtUS5IDJpOG82JKt2EAVA== - dependencies: - minimatch "^5.1.0" - -readdir-scoped-modules@^1.1.0: - version "1.1.0" - resolved "https://registry.yarnpkg.com/readdir-scoped-modules/-/readdir-scoped-modules-1.1.0.tgz#8d45407b4f870a0dcaebc0e28670d18e74514309" - integrity sha512-asaikDeqAQg7JifRsZn1NJZXo9E+VwlyCfbkZhwyISinqk5zNS6266HS5kah6P0SaQKGF6SkNnZVHUzHFYxYDw== - dependencies: - debuglog "^1.0.1" - dezalgo "^1.0.0" - graceful-fs "^4.1.2" - once "^1.3.0" - -readdirp@^2.0.0: - version "2.2.1" - resolved "https://registry.yarnpkg.com/readdirp/-/readdirp-2.2.1.tgz#0e87622a3325aa33e892285caf8b4e846529a525" - integrity sha512-1JU/8q+VgFZyxwrJ+SVIOsh+KywWGpds3NTqikiKpDMZWScmAYyKIgqkO+ARvNWJfXeXR1zxz7aHF4u4CyH6vQ== - dependencies: - graceful-fs "^4.1.11" - micromatch "^3.1.10" - readable-stream "^2.0.2" - -readdirp@^3.4.0, readdirp@~3.6.0: - version "3.6.0" - resolved "https://registry.yarnpkg.com/readdirp/-/readdirp-3.6.0.tgz#74a370bd857116e245b29cc97340cd431a02a6c7" - integrity sha512-hOS089on8RduqdbhvQ5Z37A0ESjsqz6qnRcffsMU3495FuTdqSm+7bhJ29JvIOsBDEEnan5DPu9t3To9VRlMzA== - dependencies: - picomatch "^2.2.1" - -recast@^0.23.5: - version "0.23.9" - resolved "https://registry.yarnpkg.com/recast/-/recast-0.23.9.tgz#587c5d3a77c2cfcb0c18ccce6da4361528c2587b" - integrity sha512-Hx/BGIbwj+Des3+xy5uAtAbdCyqK9y9wbBcDFDYanLS9JnMqf7OeF87HQwUimE87OEc72mr6tkKUKMBBL+hF9Q== - dependencies: - ast-types "^0.16.1" - esprima "~4.0.0" - source-map "~0.6.1" - tiny-invariant "^1.3.3" - tslib "^2.0.1" - -rechoir@^0.6.2: - version "0.6.2" - resolved "https://registry.yarnpkg.com/rechoir/-/rechoir-0.6.2.tgz#85204b54dba82d5742e28c96756ef43af50e3384" - integrity sha512-HFM8rkZ+i3zrV+4LQjwQ0W+ez98pApMGM3HUrN04j3CqzPOzl9nmP15Y8YXNm8QHGv/eacOVEjqhmWpkRV0NAw== - dependencies: - resolve "^1.1.6" - -redent@^3.0.0: - version "3.0.0" - resolved "https://registry.yarnpkg.com/redent/-/redent-3.0.0.tgz#e557b7998316bb53c9f1f56fa626352c6963059f" - integrity sha512-6tDA8g98We0zd0GvVeMT9arEOnTw9qM03L9cJXaCjrip1OO764RDBLBfrB4cwzNGDj5OA5ioymC9GkizgWJDUg== - dependencies: - indent-string "^4.0.0" - strip-indent "^3.0.0" - -reflect.getprototypeof@^1.0.4: - version "1.0.6" - resolved "https://registry.yarnpkg.com/reflect.getprototypeof/-/reflect.getprototypeof-1.0.6.tgz#3ab04c32a8390b770712b7a8633972702d278859" - integrity sha512-fmfw4XgoDke3kdI6h4xcUz1dG8uaiv5q9gcEwLS4Pnth2kxT+GZ7YehS1JTMGBQmtV7Y4GFGbs2re2NqhdozUg== - dependencies: - call-bind "^1.0.7" - define-properties "^1.2.1" - es-abstract "^1.23.1" - es-errors "^1.3.0" - get-intrinsic "^1.2.4" - globalthis "^1.0.3" - which-builtin-type "^1.1.3" - -regenerate-unicode-properties@^10.2.0: - version "10.2.0" - resolved "https://registry.yarnpkg.com/regenerate-unicode-properties/-/regenerate-unicode-properties-10.2.0.tgz#626e39df8c372338ea9b8028d1f99dc3fd9c3db0" - integrity sha512-DqHn3DwbmmPVzeKj9woBadqmXxLvQoQIwu7nopMc72ztvxVmVk2SBhSnx67zuye5TP+lJsb/TBQsjLKhnDf3MA== - dependencies: - regenerate "^1.4.2" - -regenerate@^1.4.2: - version "1.4.2" - resolved "https://registry.yarnpkg.com/regenerate/-/regenerate-1.4.2.tgz#b9346d8827e8f5a32f7ba29637d398b69014848a" - integrity sha512-zrceR/XhGYU/d/opr2EKO7aRHUeiBI8qjtfHqADTwZd6Szfy16la6kqD0MIUs5z5hx6AaKa+PixpPrR289+I0A== - -regenerator-runtime@^0.14.0: - version "0.14.1" - resolved "https://registry.yarnpkg.com/regenerator-runtime/-/regenerator-runtime-0.14.1.tgz#356ade10263f685dda125100cd862c1db895327f" - integrity sha512-dYnhHh0nJoMfnkZs6GmmhFknAGRrLznOu5nc9ML+EJxGvrx6H7teuevqVqCuPcPK//3eDrrjQhehXVx9cnkGdw== - -regenerator-transform@^0.15.2: - version "0.15.2" - resolved "https://registry.yarnpkg.com/regenerator-transform/-/regenerator-transform-0.15.2.tgz#5bbae58b522098ebdf09bca2f83838929001c7a4" - integrity sha512-hfMp2BoF0qOk3uc5V20ALGDS2ddjQaLrdl7xrGXvAIow7qeWRM2VA2HuCHkUKk9slq3VwEwLNK3DFBqDfPGYtg== - dependencies: - "@babel/runtime" "^7.8.4" - -regex-not@^1.0.0, regex-not@^1.0.2: - version "1.0.2" - resolved "https://registry.yarnpkg.com/regex-not/-/regex-not-1.0.2.tgz#1f4ece27e00b0b65e0247a6810e6a85d83a5752c" - integrity sha512-J6SDjUgDxQj5NusnOtdFxDwN/+HWykR8GELwctJ7mdqhcyy1xEc4SRFHUXvxTp661YaVKAjfRLZ9cCqS6tn32A== - dependencies: - extend-shallow "^3.0.2" - safe-regex "^1.1.0" - -regexp.prototype.flags@^1.5.1, regexp.prototype.flags@^1.5.2: - version "1.5.3" - resolved "https://registry.yarnpkg.com/regexp.prototype.flags/-/regexp.prototype.flags-1.5.3.tgz#b3ae40b1d2499b8350ab2c3fe6ef3845d3a96f42" - integrity sha512-vqlC04+RQoFalODCbCumG2xIOvapzVMHwsyIGM/SIE8fRhFFsXeH8/QQ+s0T0kDAhKc4k30s73/0ydkHQz6HlQ== - dependencies: - call-bind "^1.0.7" - define-properties "^1.2.1" - es-errors "^1.3.0" - set-function-name "^2.0.2" - -regexpu-core@^6.1.1: - version "6.1.1" - resolved "https://registry.yarnpkg.com/regexpu-core/-/regexpu-core-6.1.1.tgz#b469b245594cb2d088ceebc6369dceb8c00becac" - integrity sha512-k67Nb9jvwJcJmVpw0jPttR1/zVfnKf8Km0IPatrU/zJ5XeG3+Slx0xLXs9HByJSzXzrlz5EDvN6yLNMDc2qdnw== - dependencies: - regenerate "^1.4.2" - regenerate-unicode-properties "^10.2.0" - regjsgen "^0.8.0" - regjsparser "^0.11.0" - unicode-match-property-ecmascript "^2.0.0" - unicode-match-property-value-ecmascript "^2.1.0" - -registry-auth-token@3.3.2: - version "3.3.2" - resolved "https://registry.yarnpkg.com/registry-auth-token/-/registry-auth-token-3.3.2.tgz#851fd49038eecb586911115af845260eec983f20" - integrity sha512-JL39c60XlzCVgNrO+qq68FoNb56w/m7JYvGR2jT5iR1xBrUA3Mfx5Twk5rqTThPmQKMWydGmq8oFtDlxfrmxnQ== - dependencies: - rc "^1.1.6" - safe-buffer "^5.0.1" - -registry-auth-token@^4.0.0: - version "4.2.2" - resolved "https://registry.yarnpkg.com/registry-auth-token/-/registry-auth-token-4.2.2.tgz#f02d49c3668884612ca031419491a13539e21fac" - integrity sha512-PC5ZysNb42zpFME6D/XlIgtNGdTl8bBOCw90xQLVMpzuuubJKYDWFAEuUNc+Cn8Z8724tg2SDhDRrkVEsqfDMg== - dependencies: - rc "1.2.8" - -registry-url@3.1.0: - version "3.1.0" - resolved "https://registry.yarnpkg.com/registry-url/-/registry-url-3.1.0.tgz#3d4ef870f73dde1d77f0cf9a381432444e174942" - integrity sha512-ZbgR5aZEdf4UKZVBPYIgaglBmSF2Hi94s2PcIHhRGFjKYu+chjJdYfHn4rt3hB6eCKLJ8giVIIfgMa1ehDfZKA== - dependencies: - rc "^1.0.1" - -registry-url@^5.0.0: - version "5.1.0" - resolved "https://registry.yarnpkg.com/registry-url/-/registry-url-5.1.0.tgz#e98334b50d5434b81136b44ec638d9c2009c5009" - integrity sha512-8acYXXTI0AkQv6RAOjE3vOaIXZkT9wo4LOFbBKYQEEnnMNBpKqdUrI6S4NT0KPIo/WVvJ5tE/X5LF/TQUf0ekw== - dependencies: - rc "^1.2.8" - -regjsgen@^0.8.0: - version "0.8.0" - resolved "https://registry.yarnpkg.com/regjsgen/-/regjsgen-0.8.0.tgz#df23ff26e0c5b300a6470cad160a9d090c3a37ab" - integrity sha512-RvwtGe3d7LvWiDQXeQw8p5asZUmfU1G/l6WbUXeHta7Y2PEIvBTwH6E2EfmYUK8pxcxEdEmaomqyp0vZZ7C+3Q== - -regjsparser@^0.11.0: - version "0.11.1" - resolved "https://registry.yarnpkg.com/regjsparser/-/regjsparser-0.11.1.tgz#ae55c74f646db0c8fcb922d4da635e33da405149" - integrity sha512-1DHODs4B8p/mQHU9kr+jv8+wIC9mtG4eBHxWxIq5mhjE3D5oORhCc6deRKzTjs9DcfRFmj9BHSDguZklqCGFWQ== - dependencies: - jsesc "~3.0.2" - -rehype-external-links@^3.0.0: - version "3.0.0" - resolved "https://registry.yarnpkg.com/rehype-external-links/-/rehype-external-links-3.0.0.tgz#2b28b5cda1932f83f045b6f80a3e1b15f168c6f6" - integrity sha512-yp+e5N9V3C6bwBeAC4n796kc86M4gJCdlVhiMTxIrJG5UHDMh+PJANf9heqORJbt1nrCbDwIlAZKjANIaVBbvw== - dependencies: - "@types/hast" "^3.0.0" - "@ungap/structured-clone" "^1.0.0" - hast-util-is-element "^3.0.0" - is-absolute-url "^4.0.0" - space-separated-tokens "^2.0.0" - unist-util-visit "^5.0.0" - -rehype-slug@^6.0.0: - version "6.0.0" - resolved "https://registry.yarnpkg.com/rehype-slug/-/rehype-slug-6.0.0.tgz#1d21cf7fc8a83ef874d873c15e6adaee6344eaf1" - integrity sha512-lWyvf/jwu+oS5+hL5eClVd3hNdmwM1kAC0BUvEGD19pajQMIzcNUd/k9GsfQ+FfECvX+JE+e9/btsKH0EjJT6A== - dependencies: - "@types/hast" "^3.0.0" - github-slugger "^2.0.0" - hast-util-heading-rank "^3.0.0" - hast-util-to-string "^3.0.0" - unist-util-visit "^5.0.0" - -relateurl@^0.2.7: - version "0.2.7" - resolved "https://registry.yarnpkg.com/relateurl/-/relateurl-0.2.7.tgz#54dbf377e51440aca90a4cd274600d3ff2d888a9" - integrity sha512-G08Dxvm4iDN3MLM0EsP62EDV9IuhXPR6blNz6Utcp7zyV3tr4HVNINt6MpaRWbxoOHT3Q7YN2P+jaHX8vUbgog== - -release-zalgo@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/release-zalgo/-/release-zalgo-1.0.0.tgz#09700b7e5074329739330e535c5a90fb67851730" - integrity sha512-gUAyHVHPPC5wdqX/LG4LWtRYtgjxyX78oanFNTMMyFEfOqdC54s3eE82imuWKbOeqYht2CrNf64Qb8vgmmtZGA== - dependencies: - es6-error "^4.0.1" - -remark-gfm@^4.0.0: - version "4.0.0" - resolved "https://registry.yarnpkg.com/remark-gfm/-/remark-gfm-4.0.0.tgz#aea777f0744701aa288b67d28c43565c7e8c35de" - integrity sha512-U92vJgBPkbw4Zfu/IiW2oTZLSL3Zpv+uI7My2eq8JxKgqraFdU8YUGicEJCEgSbeaG+QDFqIcwwfMTOEelPxuA== - dependencies: - "@types/mdast" "^4.0.0" - mdast-util-gfm "^3.0.0" - micromark-extension-gfm "^3.0.0" - remark-parse "^11.0.0" - remark-stringify "^11.0.0" - unified "^11.0.0" - -remark-mdx@^2.3.0: - version "2.3.0" - resolved "https://registry.yarnpkg.com/remark-mdx/-/remark-mdx-2.3.0.tgz#efe678025a8c2726681bde8bf111af4a93943db4" - integrity sha512-g53hMkpM0I98MU266IzDFMrTD980gNF3BJnkyFcmN+dD873mQeD5rdMO3Y2X+x8umQfbSE0PcoEDl7ledSA+2g== - dependencies: - mdast-util-mdx "^2.0.0" - micromark-extension-mdxjs "^1.0.0" - -remark-parse@^10.0.2: - version "10.0.2" - resolved "https://registry.yarnpkg.com/remark-parse/-/remark-parse-10.0.2.tgz#ca241fde8751c2158933f031a4e3efbaeb8bc262" - integrity sha512-3ydxgHa/ZQzG8LvC7jTXccARYDcRld3VfcgIIFs7bI6vbRSxJJmzgLEIIoYKyrfhaY+ujuWaf/PJiMZXoiCXgw== - dependencies: - "@types/mdast" "^3.0.0" - mdast-util-from-markdown "^1.0.0" - unified "^10.0.0" - -remark-parse@^11.0.0: - version "11.0.0" - resolved "https://registry.yarnpkg.com/remark-parse/-/remark-parse-11.0.0.tgz#aa60743fcb37ebf6b069204eb4da304e40db45a1" - integrity sha512-FCxlKLNGknS5ba/1lmpYijMUzX2esxW5xQqjWxw2eHFfS2MSdaHVINFmhjo+qN1WhZhNimq0dZATN9pH0IDrpA== - dependencies: - "@types/mdast" "^4.0.0" - mdast-util-from-markdown "^2.0.0" - micromark-util-types "^2.0.0" - unified "^11.0.0" - -remark-stringify@^10.0.3: - version "10.0.3" - resolved "https://registry.yarnpkg.com/remark-stringify/-/remark-stringify-10.0.3.tgz#83b43f2445c4ffbb35b606f967d121b2b6d69717" - integrity sha512-koyOzCMYoUHudypbj4XpnAKFbkddRMYZHwghnxd7ue5210WzGw6kOBwauJTRUMq16jsovXx8dYNvSSWP89kZ3A== - dependencies: - "@types/mdast" "^3.0.0" - mdast-util-to-markdown "^1.0.0" - unified "^10.0.0" - -remark-stringify@^11.0.0: - version "11.0.0" - resolved "https://registry.yarnpkg.com/remark-stringify/-/remark-stringify-11.0.0.tgz#4c5b01dd711c269df1aaae11743eb7e2e7636fd3" - integrity sha512-1OSmLd3awB/t8qdoEOMazZkNsfVTeY4fTsgzcQFdXNq8ToTN4ZGwrMnlda4K6smTFKD+GRV6O48i6Z4iKgPPpw== - dependencies: - "@types/mdast" "^4.0.0" - mdast-util-to-markdown "^2.0.0" - unified "^11.0.0" - -remove-trailing-separator@^1.0.1: - version "1.1.0" - resolved "https://registry.yarnpkg.com/remove-trailing-separator/-/remove-trailing-separator-1.1.0.tgz#c24bce2a283adad5bc3f58e0d48249b92379d8ef" - integrity sha512-/hS+Y0u3aOfIETiaiirUFwDBDzmXPvO+jAfKTitUngIPzdKc6Z0LoFjM/CK5PL4C+eKwHohlHAb6H0VFfmmUsw== - -renderkid@^3.0.0: - version "3.0.0" - resolved "https://registry.yarnpkg.com/renderkid/-/renderkid-3.0.0.tgz#5fd823e4d6951d37358ecc9a58b1f06836b6268a" - integrity sha512-q/7VIQA8lmM1hF+jn+sFSPWGlMkSAeNYcPLmDQx2zzuiDfaLrOmumR8iaUKlenFgh0XRPIUeSPlH3A+AW3Z5pg== - dependencies: - css-select "^4.1.3" - dom-converter "^0.2.0" - htmlparser2 "^6.1.0" - lodash "^4.17.21" - strip-ansi "^6.0.1" - -repeat-element@^1.1.2: - version "1.1.4" - resolved "https://registry.yarnpkg.com/repeat-element/-/repeat-element-1.1.4.tgz#be681520847ab58c7568ac75fbfad28ed42d39e9" - integrity sha512-LFiNfRcSu7KK3evMyYOuCzv3L10TW7yC1G2/+StMjK8Y6Vqd2MG7r/Qjw4ghtuCOjFvlnms/iMmLqpvW/ES/WQ== - -repeat-string@^1.6.1: - version "1.6.1" - resolved "https://registry.yarnpkg.com/repeat-string/-/repeat-string-1.6.1.tgz#8dcae470e1c88abc2d600fff4a776286da75e637" - integrity sha512-PV0dzCYDNfRi1jCDbJzpW7jNNDRuCOG/jI5ctQcGKt/clZD+YcPS3yIlWuTJMmESC8aevCFmWJy5wjAFgNqN6w== - -require-directory@^2.1.1: - version "2.1.1" - resolved "https://registry.yarnpkg.com/require-directory/-/require-directory-2.1.1.tgz#8c64ad5fd30dab1c976e2344ffe7f792a6a6df42" - integrity sha512-fGxEI7+wsG9xrvdjsrlmL22OMTTiHRwAMroiEeMgq8gzoLC/PQr7RsRDSTLUg/bZAZtF+TVIkHc6/4RIKrui+Q== - -require-from-string@^2.0.2: - version "2.0.2" - resolved "https://registry.yarnpkg.com/require-from-string/-/require-from-string-2.0.2.tgz#89a7fdd938261267318eafe14f9c32e598c36909" - integrity sha512-Xf0nWe6RseziFMu+Ap9biiUbmplq6S9/p+7w7YXP/JBHhrUDDUhwa+vANyubuqfZWTveU//DYVGsDG7RKL/vEw== - -require-main-filename@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/require-main-filename/-/require-main-filename-2.0.0.tgz#d0b329ecc7cc0f61649f62215be69af54aa8989b" - integrity sha512-NKN5kMDylKuldxYLSUfrbo5Tuzh4hd+2E8NPPX02mZtn1VuREQToYe/ZdlJy+J3uCpfaiGF05e7B8W0iXbQHmg== - -require-package-name@^2.0.1: - version "2.0.1" - resolved "https://registry.yarnpkg.com/require-package-name/-/require-package-name-2.0.1.tgz#c11e97276b65b8e2923f75dabf5fb2ef0c3841b9" - integrity sha512-uuoJ1hU/k6M0779t3VMVIYpb2VMJk05cehCaABFhXaibcbvfgR8wKiozLjVFSzJPmQMRqIcO0HMyTFqfV09V6Q== - -requireindex@^1.2.0, requireindex@~1.2.0: - version "1.2.0" - resolved "https://registry.yarnpkg.com/requireindex/-/requireindex-1.2.0.tgz#3463cdb22ee151902635aa6c9535d4de9c2ef1ef" - integrity sha512-L9jEkOi3ASd9PYit2cwRfyppc9NoABujTP8/5gFcbERmo5jUoAKovIC3fsF17pkTnGsrByysqX+Kxd2OTNI1ww== - -requires-port@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/requires-port/-/requires-port-1.0.0.tgz#925d2601d39ac485e091cf0da5c6e694dc3dcaff" - integrity sha512-KigOCHcocU3XODJxsu8i/j8T9tzT4adHiecwORRQ0ZZFcp7ahwXuRU1m+yuO90C5ZUyGeGfocHDI14M3L3yDAQ== - -resize-observer-polyfill@1.5.1: - version "1.5.1" - resolved "https://registry.yarnpkg.com/resize-observer-polyfill/-/resize-observer-polyfill-1.5.1.tgz#0e9020dd3d21024458d4ebd27e23e40269810464" - integrity sha512-LwZrotdHOo12nQuZlHEmtuXdqGoOD0OhaxopaNFxWzInpEgaLWoVuAMbTzixuosCx2nEG58ngzW3vxdWoxIgdg== - -resolve-cwd@^3.0.0: - version "3.0.0" - resolved "https://registry.yarnpkg.com/resolve-cwd/-/resolve-cwd-3.0.0.tgz#0f0075f1bb2544766cf73ba6a6e2adfebcb13f2d" - integrity sha512-OrZaX2Mb+rJCpH/6CpSqt9xFVpN++x01XnN2ie9g6P5/3xelLAkXWVADpdz1IHD/KFfEXyE6V0U01OQ3UO2rEg== - dependencies: - resolve-from "^5.0.0" - -resolve-dir@^0.1.0: - version "0.1.1" - resolved "https://registry.yarnpkg.com/resolve-dir/-/resolve-dir-0.1.1.tgz#b219259a5602fac5c5c496ad894a6e8cc430261e" - integrity sha512-QxMPqI6le2u0dCLyiGzgy92kjkkL6zO0XyvHzjdTNH3zM6e5Hz3BwG6+aEyNgiQ5Xz6PwTwgQEj3U50dByPKIA== - dependencies: - expand-tilde "^1.2.2" - global-modules "^0.2.3" - -resolve-from@5.0.0, resolve-from@^5.0.0: - version "5.0.0" - resolved "https://registry.yarnpkg.com/resolve-from/-/resolve-from-5.0.0.tgz#c35225843df8f776df21c57557bc087e9dfdfc69" - integrity sha512-qYg9KP24dD5qka9J47d0aVky0N+b4fTU89LN9iDnjB5waksiC49rvMB0PrUJQGoTmH50XPiqOvAjDfaijGxYZw== - -resolve-from@^4.0.0: - version "4.0.0" - resolved "https://registry.yarnpkg.com/resolve-from/-/resolve-from-4.0.0.tgz#4abcd852ad32dd7baabfe9b40e00a36db5f392e6" - integrity sha512-pb/MYmXstAkysRFx8piNI1tGFNQIFA3vkE3Gq4EuA1dF6gHp/+vgZqsCGJapvy8N3Q+4o7FwvquPJcnZ7RYy4g== - -resolve-url@^0.2.1: - version "0.2.1" - resolved "https://registry.yarnpkg.com/resolve-url/-/resolve-url-0.2.1.tgz#2c637fe77c893afd2a663fe21aa9080068e2052a" - integrity sha512-ZuF55hVUQaaczgOIwqWzkEcEidmlD/xl44x1UZnhOXcYuFN2S6+rcxpG+C1N3So0wvNI3DmJICUFfu2SxhBmvg== - -resolve.exports@^2.0.0: - version "2.0.2" - resolved "https://registry.yarnpkg.com/resolve.exports/-/resolve.exports-2.0.2.tgz#f8c934b8e6a13f539e38b7098e2e36134f01e800" - integrity sha512-X2UW6Nw3n/aMgDVy+0rSqgHlv39WZAlZrXCdnbyEiKm17DSqHX4MmQMaST3FbeWR5FTuRcUwYAziZajji0Y7mg== - -resolve@^1.1.6, resolve@^1.10.0, resolve@^1.14.2, resolve@^1.17.0, resolve@^1.19.0, resolve@^1.20.0, resolve@^1.22.1, resolve@^1.22.4, resolve@^1.22.8: - version "1.22.8" - resolved "https://registry.yarnpkg.com/resolve/-/resolve-1.22.8.tgz#b6c87a9f2aa06dfab52e3d70ac8cde321fa5a48d" - integrity sha512-oKWePCxqpd6FlLvGV1VU0x7bkPmmCNolxzjMf4NczoDnQcIWrAF+cPtZn5i6n+RfD2d9i0tzpKnG6Yk168yIyw== - dependencies: - is-core-module "^2.13.0" - path-parse "^1.0.7" - supports-preserve-symlinks-flag "^1.0.0" - -resolve@^2.0.0-next.1, resolve@^2.0.0-next.5: - version "2.0.0-next.5" - resolved "https://registry.yarnpkg.com/resolve/-/resolve-2.0.0-next.5.tgz#6b0ec3107e671e52b68cd068ef327173b90dc03c" - integrity sha512-U7WjGVG9sH8tvjW5SmGbQuui75FiyjAX72HX15DwBBwF9dNiQZRQAg9nnPhYy+TUnE0+VcrttuvNI8oSxZcocA== - dependencies: - is-core-module "^2.13.0" - path-parse "^1.0.7" - supports-preserve-symlinks-flag "^1.0.0" - -responselike@1.0.2, responselike@^1.0.2: - version "1.0.2" - resolved "https://registry.yarnpkg.com/responselike/-/responselike-1.0.2.tgz#918720ef3b631c5642be068f15ade5a46f4ba1e7" - integrity sha512-/Fpe5guzJk1gPqdJLJR5u7eG/gNY4nImjbRDaVWVMRhne55TCmj2i9Q+54PBRfatRC8v/rIiv9BN0pMd9OV5EQ== - dependencies: - lowercase-keys "^1.0.0" - -responselike@^2.0.0: - version "2.0.1" - resolved "https://registry.yarnpkg.com/responselike/-/responselike-2.0.1.tgz#9a0bc8fdc252f3fb1cca68b016591059ba1422bc" - integrity sha512-4gl03wn3hj1HP3yzgdI7d3lCkF95F21Pz4BPGvKHinyQzALR5CapwC8yIi0Rh58DEMQ/SguC03wFj2k0M/mHhw== - dependencies: - lowercase-keys "^2.0.0" - -restore-cursor@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/restore-cursor/-/restore-cursor-2.0.0.tgz#9f7ee287f82fd326d4fd162923d62129eee0dfaf" - integrity sha512-6IzJLuGi4+R14vwagDHX+JrXmPVtPpn4mffDJ1UdR7/Edm87fl6yi8mMBIVvFtJaNTUvjughmW4hwLhRG7gC1Q== - dependencies: - onetime "^2.0.0" - signal-exit "^3.0.2" - -restore-cursor@^3.1.0: - version "3.1.0" - resolved "https://registry.yarnpkg.com/restore-cursor/-/restore-cursor-3.1.0.tgz#39f67c54b3a7a58cea5236d95cf0034239631f7e" - integrity sha512-l+sSefzHpj5qimhFSE5a8nufZYAM3sBSVMAPtYkmC+4EH2anSGaEMXSD0izRQbu9nfyQ9y5JrVmp7E8oZrUjvA== - dependencies: - onetime "^5.1.0" - signal-exit "^3.0.2" - -restore-cursor@^4.0.0: - version "4.0.0" - resolved "https://registry.yarnpkg.com/restore-cursor/-/restore-cursor-4.0.0.tgz#519560a4318975096def6e609d44100edaa4ccb9" - integrity sha512-I9fPXU9geO9bHOt9pHHOhOkYerIMsmVaWB0rA2AI9ERh/+x/i7MV5HKBNrg+ljO5eoPVgCcnFuRjJ9uH6I/3eg== - dependencies: - onetime "^5.1.0" - signal-exit "^3.0.2" - -ret@~0.1.10: - version "0.1.15" - resolved "https://registry.yarnpkg.com/ret/-/ret-0.1.15.tgz#b8a4825d5bdb1fc3f6f53c2bc33f81388681c7bc" - integrity sha512-TTlYpa+OL+vMMNG24xSlQGEJ3B/RzEfUlLct7b5G/ytav+wPrplCpVMFuwzXbkecJrb6IYo1iFb0S9v37754mg== - -retry@^0.12.0: - version "0.12.0" - resolved "https://registry.yarnpkg.com/retry/-/retry-0.12.0.tgz#1b42a6266a21f07421d1b0b54b7dc167b01c013b" - integrity sha512-9LkiTwjUh6rT555DtE9rTX+BKByPfrMzEAtnlEtdEwr3Nkffwiihqe2bWADg+OQRjt9gl6ICdmB/ZFDCGAtSow== - -reusify@^1.0.4: - version "1.0.4" - resolved "https://registry.yarnpkg.com/reusify/-/reusify-1.0.4.tgz#90da382b1e126efc02146e90845a88db12925d76" - integrity sha512-U9nH88a3fc/ekCF1l0/UP1IosiuIjyTh7hBvXVMHYgVcfGvt897Xguj2UOLDeI5BG2m7/uwyaLVT6fbtCwTyzw== - -rfdc@^1.3.0: - version "1.4.1" - resolved "https://registry.yarnpkg.com/rfdc/-/rfdc-1.4.1.tgz#778f76c4fb731d93414e8f925fbecf64cce7f6ca" - integrity sha512-q1b3N5QkRUWUl7iyylaaj3kOpIT0N2i9MqIEQXP73GVsN9cw3fdx8X63cEmWhJGi2PPCF23Ijp7ktmd39rawIA== - -rimraf@6.0.1: - version "6.0.1" - resolved "https://registry.yarnpkg.com/rimraf/-/rimraf-6.0.1.tgz#ffb8ad8844dd60332ab15f52bc104bc3ed71ea4e" - integrity sha512-9dkvaxAsk/xNXSJzMgFqqMCuFgt2+KsOFek3TMLfo8NCPfWpBmqwyNn5Y+NX56QUYfCtsyhF3ayiboEoUmJk/A== - dependencies: - glob "^11.0.0" - package-json-from-dist "^1.0.0" - -rimraf@^2.6.1: - version "2.7.1" - resolved "https://registry.yarnpkg.com/rimraf/-/rimraf-2.7.1.tgz#35797f13a7fdadc566142c29d4f07ccad483e3ec" - integrity sha512-uWjbaKIK3T1OSVptzX7Nl6PvQ3qAGtKEtVRjRuazjfL3Bx5eI409VZSqgND+4UNnmzLVdPj9FqFJNPqBZFve4w== - dependencies: - glob "^7.1.3" - -rimraf@^3.0.0, rimraf@^3.0.2: - version "3.0.2" - resolved "https://registry.yarnpkg.com/rimraf/-/rimraf-3.0.2.tgz#f1a5402ba6220ad52cc1282bac1ae3aa49fd061a" - integrity sha512-JZkJMZkAGFFPP2YqXZXPbMlMBgsxzE8ILs4lMIX/2o0L9UBw9O/Y3o6wFw/i9YLapcUJWwqbi3kdxIPdC62TIA== - dependencies: - glob "^7.1.3" - -rollup-plugin-inject@^3.0.0: - version "3.0.2" - resolved "https://registry.yarnpkg.com/rollup-plugin-inject/-/rollup-plugin-inject-3.0.2.tgz#e4233855bfba6c0c12a312fd6649dff9a13ee9f4" - integrity sha512-ptg9PQwzs3orn4jkgXJ74bfs5vYz1NCZlSQMBUA0wKcGp5i5pA1AO3fOUEte8enhGUC+iapTCzEWw2jEFFUO/w== - dependencies: - estree-walker "^0.6.1" - magic-string "^0.25.3" - rollup-pluginutils "^2.8.1" - -rollup-plugin-node-polyfills@^0.2.1: - version "0.2.1" - resolved "https://registry.yarnpkg.com/rollup-plugin-node-polyfills/-/rollup-plugin-node-polyfills-0.2.1.tgz#53092a2744837164d5b8a28812ba5f3ff61109fd" - integrity sha512-4kCrKPTJ6sK4/gLL/U5QzVT8cxJcofO0OU74tnB19F40cmuAKSzH5/siithxlofFEjwvw1YAhPmbvGNA6jEroA== - dependencies: - rollup-plugin-inject "^3.0.0" - -rollup-plugin-terser@^7.0.2: - version "7.0.2" - resolved "https://registry.yarnpkg.com/rollup-plugin-terser/-/rollup-plugin-terser-7.0.2.tgz#e8fbba4869981b2dc35ae7e8a502d5c6c04d324d" - integrity sha512-w3iIaU4OxcF52UUXiZNsNeuXIMDvFrr+ZXK6bFZ0Q60qyVfq4uLptoS4bbq3paG3x216eQllFZX7zt6TIImguQ== - dependencies: - "@babel/code-frame" "^7.10.4" - jest-worker "^26.2.1" - serialize-javascript "^4.0.0" - terser "^5.0.0" - -rollup-pluginutils@^2.8.1, rollup-pluginutils@^2.8.2: - version "2.8.2" - resolved "https://registry.yarnpkg.com/rollup-pluginutils/-/rollup-pluginutils-2.8.2.tgz#72f2af0748b592364dbd3389e600e5a9444a351e" - integrity sha512-EEp9NhnUkwY8aif6bxgovPHMoMoNr2FulJziTndpt5H9RdwC47GSGuII9XxpSdzVGM0GWrNPHV6ie1LTNJPaLQ== - dependencies: - estree-walker "^0.6.1" - -rollup@^2.23.1: - version "2.79.2" - resolved "https://registry.yarnpkg.com/rollup/-/rollup-2.79.2.tgz#f150e4a5db4b121a21a747d762f701e5e9f49090" - integrity sha512-fS6iqSPZDs3dr/y7Od6y5nha8dW1YnbgtsyotCVvoFGKbERG++CVRFv1meyGDE1SNItQA8BrnCw7ScdAhRJ3XQ== - optionalDependencies: - fsevents "~2.3.2" - -run-async@^2.2.0, run-async@^2.4.0: - version "2.4.1" - resolved "https://registry.yarnpkg.com/run-async/-/run-async-2.4.1.tgz#8440eccf99ea3e70bd409d49aab88e10c189a455" - integrity sha512-tvVnVv01b8c1RrA6Ep7JkStj85Guv/YrMcwqYQnwjsAS2cTmmPGBBjAjpCW7RrSodNSoE2/qg9O4bceNvUuDgQ== - -run-parallel@^1.1.4, run-parallel@^1.1.9: - version "1.2.0" - resolved "https://registry.yarnpkg.com/run-parallel/-/run-parallel-1.2.0.tgz#66d1368da7bdf921eb9d95bd1a9229e7f21a43ee" - integrity sha512-5l4VyZR86LZ/lDxZTR6jqL8AFE2S0IFLMP26AbjsLVADxHdhB/c0GUsH+y39UfCi3dzz8OlQuPmnaJOMoDHQBA== - dependencies: - queue-microtask "^1.2.2" - -rxjs@^6.3.3, rxjs@^6.4.0, rxjs@^6.6.2: - version "6.6.7" - resolved "https://registry.yarnpkg.com/rxjs/-/rxjs-6.6.7.tgz#90ac018acabf491bf65044235d5863c4dab804c9" - integrity sha512-hTdwr+7yYNIT5n4AMYp85KA6yw2Va0FLa3Rguvbpa4W3I5xynaBZo41cM3XM+4Q6fRMj3sBYIR1VAmZMXYJvRQ== - dependencies: - tslib "^1.9.0" - -rxjs@^7.5.5, rxjs@^7.8.1: - version "7.8.1" - resolved "https://registry.yarnpkg.com/rxjs/-/rxjs-7.8.1.tgz#6f6f3d99ea8044291efd92e7c7fcf562c4057543" - integrity sha512-AA3TVj+0A2iuIoQkWEK/tqFjBq2j+6PO6Y0zJcvzLAFhEFIO3HL0vls9hWLncZbAAbK0mar7oZ4V079I/qPMxg== - dependencies: - tslib "^2.1.0" - -sade@^1.7.3: - version "1.8.1" - resolved "https://registry.yarnpkg.com/sade/-/sade-1.8.1.tgz#0a78e81d658d394887be57d2a409bf703a3b2701" - integrity sha512-xal3CZX1Xlo/k4ApwCFrHVACi9fBqJ7V+mwhBsuf/1IOKbBy098Fex+Wa/5QMubw09pSZ/u8EY8PWgevJsXp1A== - dependencies: - mri "^1.1.0" - -safe-array-concat@^1.1.2: - version "1.1.2" - resolved "https://registry.yarnpkg.com/safe-array-concat/-/safe-array-concat-1.1.2.tgz#81d77ee0c4e8b863635227c721278dd524c20edb" - integrity sha512-vj6RsCsWBCf19jIeHEfkRMw8DPiBb+DMXklQ/1SGDHOMlHdPUkZXFQ2YdplS23zESTijAcurb1aSgJA3AgMu1Q== - dependencies: - call-bind "^1.0.7" - get-intrinsic "^1.2.4" - has-symbols "^1.0.3" - isarray "^2.0.5" - -safe-buffer@5.1.2, safe-buffer@~5.1.0, safe-buffer@~5.1.1: - version "5.1.2" - resolved "https://registry.yarnpkg.com/safe-buffer/-/safe-buffer-5.1.2.tgz#991ec69d296e0313747d59bdfd2b745c35f8828d" - integrity sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g== - -safe-buffer@5.2.1, safe-buffer@^5.0.1, safe-buffer@^5.1.0, safe-buffer@^5.1.1, safe-buffer@^5.1.2, safe-buffer@^5.2.1, safe-buffer@~5.2.0: - version "5.2.1" - resolved "https://registry.yarnpkg.com/safe-buffer/-/safe-buffer-5.2.1.tgz#1eaf9fa9bdb1fdd4ec75f58f9cdb4e6b7827eec6" - integrity sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ== - -safe-json-stringify@^1.2.0: - version "1.2.0" - resolved "https://registry.yarnpkg.com/safe-json-stringify/-/safe-json-stringify-1.2.0.tgz#356e44bc98f1f93ce45df14bcd7c01cda86e0afd" - integrity sha512-gH8eh2nZudPQO6TytOvbxnuhYBOvDBBLW52tz5q6X58lJcd/tkmqFR+5Z9adS8aJtURSXWThWy/xJtJwixErvg== - -safe-regex-test@^1.0.3: - version "1.0.3" - resolved "https://registry.yarnpkg.com/safe-regex-test/-/safe-regex-test-1.0.3.tgz#a5b4c0f06e0ab50ea2c395c14d8371232924c377" - integrity sha512-CdASjNJPvRa7roO6Ra/gLYBTzYzzPyyBXxIMdGW3USQLyjWEls2RgW5UBTXaQVp+OrpeCK3bLem8smtmheoRuw== - dependencies: - call-bind "^1.0.6" - es-errors "^1.3.0" - is-regex "^1.1.4" - -safe-regex@^1.1.0: - version "1.1.0" - resolved "https://registry.yarnpkg.com/safe-regex/-/safe-regex-1.1.0.tgz#40a3669f3b077d1e943d44629e157dd48023bf2e" - integrity sha512-aJXcif4xnaNUzvUuC5gcb46oTS7zvg4jpMTnuqtrEPlR3vFr4pxtdTwaF1Qs3Enjn9HK+ZlwQui+a7z0SywIzg== - dependencies: - ret "~0.1.10" - -safe-stable-stringify@^2.3.1: - version "2.5.0" - resolved "https://registry.yarnpkg.com/safe-stable-stringify/-/safe-stable-stringify-2.5.0.tgz#4ca2f8e385f2831c432a719b108a3bf7af42a1dd" - integrity sha512-b3rppTKm9T+PsVCBEOUR46GWI7fdOs00VKZ1+9c1EWDaDMvjQc6tUwuFyIprgGgTcWoVHSKrU8H31ZHA2e0RHA== - -"safer-buffer@>= 2.1.2 < 3", "safer-buffer@>= 2.1.2 < 3.0.0": - version "2.1.2" - resolved "https://registry.yarnpkg.com/safer-buffer/-/safer-buffer-2.1.2.tgz#44fa161b0187b9549dd84bb91802f9bd8385cd6a" - integrity sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg== - -sax@^1.2.4: - version "1.4.1" - resolved "https://registry.yarnpkg.com/sax/-/sax-1.4.1.tgz#44cc8988377f126304d3b3fc1010c733b929ef0f" - integrity sha512-+aWOz7yVScEGoKNd4PA10LZ8sk0A/z5+nXQG5giUO5rprX9jgYsTdov9qCchZiPIZezbZH+jRut8nPodFAX4Jg== - -saxes@^6.0.0: - version "6.0.0" - resolved "https://registry.yarnpkg.com/saxes/-/saxes-6.0.0.tgz#fe5b4a4768df4f14a201b1ba6a65c1f3d9988cc5" - integrity sha512-xAg7SOnEhrm5zI3puOOKyy1OMcMlIJZYNJY7xLBwSze0UjhPLnWfj2GF2EpT0jmzaJKIWKHLsaSSajf35bcYnA== - dependencies: - xmlchars "^2.2.0" - -scheduler@^0.23.2: - version "0.23.2" - resolved "https://registry.yarnpkg.com/scheduler/-/scheduler-0.23.2.tgz#414ba64a3b282892e944cf2108ecc078d115cdc3" - integrity sha512-UOShsPwz7NrMUqhR6t0hWjFduvOzbtv7toDH1/hIrfRNIDBnnBWd0CwJTGvTpngVlmwGCdP9/Zl/tVrDqcuYzQ== - dependencies: - loose-envify "^1.1.0" - -schema-utils@^3.1.1, schema-utils@^3.2.0: - version "3.3.0" - resolved "https://registry.yarnpkg.com/schema-utils/-/schema-utils-3.3.0.tgz#f50a88877c3c01652a15b622ae9e9795df7a60fe" - integrity sha512-pN/yOAvcC+5rQ5nERGuwrjLlYvLTbCibnZ1I7B1LaiAz9BRBlE9GMgE/eqV30P7aJQUf7Ddimy/RsbYO/GrVGg== - dependencies: - "@types/json-schema" "^7.0.8" - ajv "^6.12.5" - ajv-keywords "^3.5.2" - -schema-utils@^4.0.0, schema-utils@^4.2.0: - version "4.2.0" - resolved "https://registry.yarnpkg.com/schema-utils/-/schema-utils-4.2.0.tgz#70d7c93e153a273a805801882ebd3bff20d89c8b" - integrity sha512-L0jRsrPpjdckP3oPug3/VxNKt2trR8TcabrM6FOAAlvC/9Phcmm+cuAgTlxBqdBR1WJx7Naj9WHw+aOmheSVbw== - dependencies: - "@types/json-schema" "^7.0.9" - ajv "^8.9.0" - ajv-formats "^2.1.1" - ajv-keywords "^5.1.0" - -seek-bzip@^1.0.5: - version "1.0.6" - resolved "https://registry.yarnpkg.com/seek-bzip/-/seek-bzip-1.0.6.tgz#35c4171f55a680916b52a07859ecf3b5857f21c4" - integrity sha512-e1QtP3YL5tWww8uKaOCQ18UxIT2laNBXHjV/S2WYCiK4udiv8lkG89KRIoCjUagnAmCBurjF4zEVX2ByBbnCjQ== - dependencies: - commander "^2.8.1" - -semver-diff@^3.1.1: - version "3.1.1" - resolved "https://registry.yarnpkg.com/semver-diff/-/semver-diff-3.1.1.tgz#05f77ce59f325e00e2706afd67bb506ddb1ca32b" - integrity sha512-GX0Ix/CJcHyB8c4ykpHGIAvLyOwOobtM/8d+TQkAd81/bEjgPHrfba41Vpesr7jX/t8Uh+R3EX9eAS5be+jQYg== - dependencies: - semver "^6.3.0" - -"semver@2 || 3 || 4 || 5", semver@^5.3.0, semver@^5.5.0, semver@^5.6.0: - version "5.7.2" - resolved "https://registry.yarnpkg.com/semver/-/semver-5.7.2.tgz#48d55db737c3287cd4835e17fa13feace1c41ef8" - integrity sha512-cBznnQ9KjJqU67B52RMC65CMarK2600WFnbkcaiwWq3xy/5haFJlshgnpjovMVJ+Hff49d8GEn0b87C5pDQ10g== - -semver@7.3.4: - version "7.3.4" - resolved "https://registry.yarnpkg.com/semver/-/semver-7.3.4.tgz#27aaa7d2e4ca76452f98d3add093a72c943edc97" - integrity sha512-tCfb2WLjqFAtXn4KEdxIhalnRtoKFN7nAwj0B3ZXCbQloV2tq5eDbcTmT68JJD3nRJq24/XgxtQKFIpQdtvmVw== - dependencies: - lru-cache "^6.0.0" - -semver@7.5.4: - version "7.5.4" - resolved "https://registry.yarnpkg.com/semver/-/semver-7.5.4.tgz#483986ec4ed38e1c6c48c34894a9182dbff68a6e" - integrity sha512-1bCSESV6Pv+i21Hvpxp3Dx+pSD8lIPt8uVjRrxAUt/nbswYc+tK6Y2btiULjd4+fnq15PX+nqQDC7Oft7WkwcA== - dependencies: - lru-cache "^6.0.0" - -semver@^6.0.0, semver@^6.2.0, semver@^6.3.0, semver@^6.3.1: - version "6.3.1" - resolved "https://registry.yarnpkg.com/semver/-/semver-6.3.1.tgz#556d2ef8689146e46dcea4bfdd095f3434dffcb4" - integrity sha512-BR7VvDCVHO+q2xBEWskxS6DJE1qRnb7DxzUrogb71CWoSficBxYsiAGd+Kl0mmq/MprG9yArRkyrQxTO6XjMzA== - -semver@^7.0.0, semver@^7.1.1, semver@^7.3.2, semver@^7.3.4, semver@^7.3.5, semver@^7.3.7, semver@^7.5.3, semver@^7.5.4, semver@^7.6.0, semver@^7.6.2, semver@^7.6.3: - version "7.6.3" - resolved "https://registry.yarnpkg.com/semver/-/semver-7.6.3.tgz#980f7b5550bc175fb4dc09403085627f9eb33143" - integrity sha512-oVekP1cKtI+CTDvHWYFUcMtsK/00wmAEfyqKfNdARm8u1wNVhSgaX7A8d4UuIlUI5e84iEwOhs7ZPYRmzU9U6A== - -send@0.19.0: - version "0.19.0" - resolved "https://registry.yarnpkg.com/send/-/send-0.19.0.tgz#bbc5a388c8ea6c048967049dbeac0e4a3f09d7f8" - integrity sha512-dW41u5VfLXu8SJh5bwRmyYUbAoSB3c9uQh6L8h/KtsFREPWpbX1lrljJo186Jc4nmci/sGUZ9a0a0J2zgfq2hw== - dependencies: - debug "2.6.9" - depd "2.0.0" - destroy "1.2.0" - encodeurl "~1.0.2" - escape-html "~1.0.3" - etag "~1.8.1" - fresh "0.5.2" - http-errors "2.0.0" - mime "1.6.0" - ms "2.1.3" - on-finished "2.4.1" - range-parser "~1.2.1" - statuses "2.0.1" - -serialize-javascript@^4.0.0: - version "4.0.0" - resolved "https://registry.yarnpkg.com/serialize-javascript/-/serialize-javascript-4.0.0.tgz#b525e1238489a5ecfc42afacc3fe99e666f4b1aa" - integrity sha512-GaNA54380uFefWghODBWEGisLZFj00nS5ACs6yHa9nLqlLpVLO8ChDGeKRjZnV4Nh4n0Qi7nhYZD/9fCPzEqkw== - dependencies: - randombytes "^2.1.0" - -serialize-javascript@^6.0.1: - version "6.0.2" - resolved "https://registry.yarnpkg.com/serialize-javascript/-/serialize-javascript-6.0.2.tgz#defa1e055c83bf6d59ea805d8da862254eb6a6c2" - integrity sha512-Saa1xPByTTq2gdeFZYLLo+RFE35NHZkAbqZeWNd3BpzppeVisAqpDjcp8dyf6uIvEqJRd46jemmyA4iFIeVk8g== - dependencies: - randombytes "^2.1.0" - -serve-handler@6.1.6: - version "6.1.6" - resolved "https://registry.yarnpkg.com/serve-handler/-/serve-handler-6.1.6.tgz#50803c1d3e947cd4a341d617f8209b22bd76cfa1" - integrity sha512-x5RL9Y2p5+Sh3D38Fh9i/iQ5ZK+e4xuXRd/pGbM4D13tgo/MGwbttUk8emytcr1YYzBYs+apnUngBDFYfpjPuQ== - dependencies: - bytes "3.0.0" - content-disposition "0.5.2" - mime-types "2.1.18" - minimatch "3.1.2" - path-is-inside "1.0.2" - path-to-regexp "3.3.0" - range-parser "1.2.0" - -serve-static@1.16.2: - version "1.16.2" - resolved "https://registry.yarnpkg.com/serve-static/-/serve-static-1.16.2.tgz#b6a5343da47f6bdd2673848bf45754941e803296" - integrity sha512-VqpjJZKadQB/PEbEwvFdO43Ax5dFBZ2UECszz8bQ7pi7wt//PWe1P6MN7eCnjsatYtBT6EuiClbjSWP2WrIoTw== - dependencies: - encodeurl "~2.0.0" - escape-html "~1.0.3" - parseurl "~1.3.3" - send "0.19.0" - -serve@14.2.4: - version "14.2.4" - resolved "https://registry.yarnpkg.com/serve/-/serve-14.2.4.tgz#ba4c425c3c965f496703762e808f34b913f42fb0" - integrity sha512-qy1S34PJ/fcY8gjVGszDB3EXiPSk5FKhUa7tQe0UPRddxRidc2V6cNHPNewbE1D7MAkgLuWEt3Vw56vYy73tzQ== - dependencies: - "@zeit/schemas" "2.36.0" - ajv "8.12.0" - arg "5.0.2" - boxen "7.0.0" - chalk "5.0.1" - chalk-template "0.4.0" - clipboardy "3.0.0" - compression "1.7.4" - is-port-reachable "4.0.0" - serve-handler "6.1.6" - update-check "1.5.4" - -set-blocking@^2.0.0, set-blocking@~2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/set-blocking/-/set-blocking-2.0.0.tgz#045f9782d011ae9a6803ddd382b24392b3d890f7" - integrity sha512-KiKBS8AnWGEyLzofFfmvKwpdPzqiy16LvQfK3yv/fVH7Bj13/wl3JSR1J+rfgRE9q7xUJK4qvgS8raSOeLUehw== - -set-function-length@^1.2.1: - version "1.2.2" - resolved "https://registry.yarnpkg.com/set-function-length/-/set-function-length-1.2.2.tgz#aac72314198eaed975cf77b2c3b6b880695e5449" - integrity sha512-pgRc4hJ4/sNjWCSS9AmnS40x3bNMDTknHgL5UaMBTMyJnU90EgWh1Rz+MC9eFu4BuN/UwZjKQuY/1v3rM7HMfg== - dependencies: - define-data-property "^1.1.4" - es-errors "^1.3.0" - function-bind "^1.1.2" - get-intrinsic "^1.2.4" - gopd "^1.0.1" - has-property-descriptors "^1.0.2" - -set-function-name@^2.0.1, set-function-name@^2.0.2: - version "2.0.2" - resolved "https://registry.yarnpkg.com/set-function-name/-/set-function-name-2.0.2.tgz#16a705c5a0dc2f5e638ca96d8a8cd4e1c2b90985" - integrity sha512-7PGFlmtwsEADb0WYyvCMa1t+yke6daIG4Wirafur5kcf+MhUnPms1UeR0CKQdTZD81yESwMHbtn+TR+dMviakQ== - dependencies: - define-data-property "^1.1.4" - es-errors "^1.3.0" - functions-have-names "^1.2.3" - has-property-descriptors "^1.0.2" - -set-value@^2.0.0, set-value@^2.0.1: - version "2.0.1" - resolved "https://registry.yarnpkg.com/set-value/-/set-value-2.0.1.tgz#a18d40530e6f07de4228c7defe4227af8cad005b" - integrity sha512-JxHc1weCN68wRY0fhCoXpyK55m/XPHafOmK4UWD7m2CI14GMcFypt4w/0+NV5f/ZMby2F6S2wwA7fgynh9gWSw== - dependencies: - extend-shallow "^2.0.1" - is-extendable "^0.1.1" - is-plain-object "^2.0.3" - split-string "^3.0.1" - -setprototypeof@1.2.0: - version "1.2.0" - resolved "https://registry.yarnpkg.com/setprototypeof/-/setprototypeof-1.2.0.tgz#66c9a24a73f9fc28cbe66b09fed3d33dcaf1b424" - integrity sha512-E5LDX7Wrp85Kil5bhZv46j8jOeboKq5JMmYM3gVGdGH8xFpPWXUMsNrlODCrkoxMEeNi/XZIwuRvY4XNwYMJpw== - -shallow-clone@^3.0.0: - version "3.0.1" - resolved "https://registry.yarnpkg.com/shallow-clone/-/shallow-clone-3.0.1.tgz#8f2981ad92531f55035b01fb230769a40e02efa3" - integrity sha512-/6KqX+GVUdqPuPPd2LxDDxzX6CAbjJehAAOKlNpqqUpAqPM6HeL8f+o3a+JsyGjn2lv0WY8UsTgUJjU9Ok55NA== - dependencies: - kind-of "^6.0.2" - -shebang-command@^1.2.0: - version "1.2.0" - resolved "https://registry.yarnpkg.com/shebang-command/-/shebang-command-1.2.0.tgz#44aac65b695b03398968c39f363fee5deafdf1ea" - integrity sha512-EV3L1+UQWGor21OmnvojK36mhg+TyIKDh3iFBKBohr5xeXIhNBcx8oWdgkTEEQ+BEFFYdLRuqMfd5L84N1V5Vg== - dependencies: - shebang-regex "^1.0.0" - -shebang-command@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/shebang-command/-/shebang-command-2.0.0.tgz#ccd0af4f8835fbdc265b82461aaf0c36663f34ea" - integrity sha512-kHxr2zZpYtdmrN1qDjrrX/Z1rR1kG8Dx+gkpK1G4eXmvXswmcE1hTWBWYUzlraYw1/yZp6YuDY77YtvbN0dmDA== - dependencies: - shebang-regex "^3.0.0" - -shebang-regex@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/shebang-regex/-/shebang-regex-1.0.0.tgz#da42f49740c0b42db2ca9728571cb190c98efea3" - integrity sha512-wpoSFAxys6b2a2wHZ1XpDSgD7N9iVjg29Ph9uV/uaP9Ex/KXlkTZTeddxDPSYQpgvzKLGJke2UU0AzoGCjNIvQ== - -shebang-regex@^3.0.0: - version "3.0.0" - resolved "https://registry.yarnpkg.com/shebang-regex/-/shebang-regex-3.0.0.tgz#ae16f1644d873ecad843b0307b143362d4c42172" - integrity sha512-7++dFhtcx3353uBaq8DDR4NuxBetBzC7ZQOhmTQInHEd6bSrXdiEyzCvG07Z44UYdLShWUyXt5M/yhz8ekcb1A== - -shell-quote@^1.6.1: - version "1.8.1" - resolved "https://registry.yarnpkg.com/shell-quote/-/shell-quote-1.8.1.tgz#6dbf4db75515ad5bac63b4f1894c3a154c766680" - integrity sha512-6j1W9l1iAs/4xYBI1SYOVZyFcCis9b4KCLQ8fgAGG07QvzaRLVVRQvAy85yNmmZSjYjg4MWh4gNvlPujU/5LpA== - -shelljs@0.8.5: - version "0.8.5" - resolved "https://registry.yarnpkg.com/shelljs/-/shelljs-0.8.5.tgz#de055408d8361bed66c669d2f000538ced8ee20c" - integrity sha512-TiwcRcrkhHvbrZbnRcFYMLl30Dfov3HKqzp5tO5b4pt6G/SezKcYhmDg15zXVBswHmctSAQKznqNW2LO5tTDow== - dependencies: - glob "^7.0.0" - interpret "^1.0.0" - rechoir "^0.6.2" - -side-channel@^1.0.4, side-channel@^1.0.6: - version "1.0.6" - resolved "https://registry.yarnpkg.com/side-channel/-/side-channel-1.0.6.tgz#abd25fb7cd24baf45466406b1096b7831c9215f2" - integrity sha512-fDW/EZ6Q9RiO8eFG8Hj+7u/oW+XrPTIChwCOM2+th2A6OblDtYYIpve9m+KvI9Z4C9qSEXlaGR6bTEYHReuglA== - dependencies: - call-bind "^1.0.7" - es-errors "^1.3.0" - get-intrinsic "^1.2.4" - object-inspect "^1.13.1" - -signal-exit@3.0.7, signal-exit@^3.0.0, signal-exit@^3.0.2, signal-exit@^3.0.3, signal-exit@^3.0.7: - version "3.0.7" - resolved "https://registry.yarnpkg.com/signal-exit/-/signal-exit-3.0.7.tgz#a9a1767f8af84155114eaabd73f99273c8f59ad9" - integrity sha512-wnD2ZE+l+SPC/uoS0vXeE9L1+0wuaMqKlfz9AMUo38JsyLSBWSFcHR1Rri62LZc12vLr1gb3jl7iwQhgwpAbGQ== - -signal-exit@^4.0.1: - version "4.1.0" - resolved "https://registry.yarnpkg.com/signal-exit/-/signal-exit-4.1.0.tgz#952188c1cbd546070e2dd20d0f41c0ae0530cb04" - integrity sha512-bzyZ1e88w9O1iNJbKnOlvYTrWPDl46O1bG0D3XInv+9tkPrxrN8jUUTiFlDkkmKWgn1M6CfIA13SuGqOa9Korw== - -simple-swizzle@^0.2.2: - version "0.2.2" - resolved "https://registry.yarnpkg.com/simple-swizzle/-/simple-swizzle-0.2.2.tgz#a4da6b635ffcccca33f70d17cb92592de95e557a" - integrity sha512-JA//kQgZtbuY83m+xT+tXJkmJncGMTFT+C+g2h2R9uxkYIrE2yy9sgmcLhCnw57/WSD+Eh3J97FPEDFnbXnDUg== - dependencies: - is-arrayish "^0.3.1" - -sisteransi@^1.0.5: - version "1.0.5" - resolved "https://registry.yarnpkg.com/sisteransi/-/sisteransi-1.0.5.tgz#134d681297756437cc05ca01370d3a7a571075ed" - integrity sha512-bLGGlR1QxBcynn2d5YmDX4MGjlZvy2MRBDRNHLJ8VI6l6+9FUiyTFNJ0IveOSP0bcXgVDPRcfGqA0pjaqUpfVg== - -slash@3.0.0, slash@^3.0.0: - version "3.0.0" - resolved "https://registry.yarnpkg.com/slash/-/slash-3.0.0.tgz#6539be870c165adbd5240220dbe361f1bc4d4634" - integrity sha512-g9Q1haeby36OSStwb4ntCGGGaKsaVSjQ68fBxoQcutl5fS1vuY18H3wSt3jFyFtrkx+Kz0V1G85A4MyAdDMi2Q== - -slash@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/slash/-/slash-2.0.0.tgz#de552851a1759df3a8f206535442f5ec4ddeab44" - integrity sha512-ZYKh3Wh2z1PpEXWr0MpSBZ0V6mZHAQfYevttO11c51CaWjGTaadiKZ+wVt1PbMlDV5qhMFslpZCemhwOK7C89A== - -slash@^4.0.0: - version "4.0.0" - resolved "https://registry.yarnpkg.com/slash/-/slash-4.0.0.tgz#2422372176c4c6c5addb5e2ada885af984b396a7" - integrity sha512-3dOsAHXXUkQTpOYcoAxLIorMTp4gIQr5IW3iVb7A7lFIp0VHhnynm9izx6TssdrIcVIESAlVjtnO2K8bg+Coew== - -slash@^5.0.0: - version "5.1.0" - resolved "https://registry.yarnpkg.com/slash/-/slash-5.1.0.tgz#be3adddcdf09ac38eebe8dcdc7b1a57a75b095ce" - integrity sha512-ZA6oR3T/pEyuqwMgAKT0/hAv8oAXckzbkmR0UkUosQ+Mc4RxGoJkRmwHgHufaenlyAgE1Mxgpdcrf75y6XcnDg== - -slice-ansi@0.0.4: - version "0.0.4" - resolved "https://registry.yarnpkg.com/slice-ansi/-/slice-ansi-0.0.4.tgz#edbf8903f66f7ce2f8eafd6ceed65e264c831b35" - integrity sha512-up04hB2hR92PgjpyU3y/eg91yIBILyjVY26NvvciY3EVVPjybkMszMpXQ9QAkcS3I5rtJBDLoTxxg+qvW8c7rw== - -slice-ansi@^4.0.0: - version "4.0.0" - resolved "https://registry.yarnpkg.com/slice-ansi/-/slice-ansi-4.0.0.tgz#500e8dd0fd55b05815086255b3195adf2a45fe6b" - integrity sha512-qMCMfhY040cVHT43K9BFygqYbUPFZKHOg7K73mtTWJRb8pyP3fzf4Ixd5SzdEJQ6MRUg/WBnOLxghZtKKurENQ== - dependencies: - ansi-styles "^4.0.0" - astral-regex "^2.0.0" - is-fullwidth-code-point "^3.0.0" - -slice-ansi@^5.0.0: - version "5.0.0" - resolved "https://registry.yarnpkg.com/slice-ansi/-/slice-ansi-5.0.0.tgz#b73063c57aa96f9cd881654b15294d95d285c42a" - integrity sha512-FC+lgizVPfie0kkhqUScwRu1O/lF6NOgJmlCgK+/LYxDCTk8sGelYaHDhFcDN+Sn3Cv+3VSa4Byeo+IMCzpMgQ== - dependencies: - ansi-styles "^6.0.0" - is-fullwidth-code-point "^4.0.0" - -smart-buffer@^4.2.0: - version "4.2.0" - resolved "https://registry.yarnpkg.com/smart-buffer/-/smart-buffer-4.2.0.tgz#6e1d71fa4f18c05f7d0ff216dd16a481d0e8d9ae" - integrity sha512-94hK0Hh8rPqQl2xXc3HsaBoOXKV20MToPkcXvwbISWLEs+64sBq5kFgn2kJDHb1Pry9yrP0dxrCI9RRci7RXKg== - -snapdragon-node@^2.0.1: - version "2.1.1" - resolved "https://registry.yarnpkg.com/snapdragon-node/-/snapdragon-node-2.1.1.tgz#6c175f86ff14bdb0724563e8f3c1b021a286853b" - integrity sha512-O27l4xaMYt/RSQ5TR3vpWCAB5Kb/czIcqUFOM/C4fYcLnbZUc1PkjTAMjof2pBWaSTwOUd6qUHcFGVGj7aIwnw== - dependencies: - define-property "^1.0.0" - isobject "^3.0.0" - snapdragon-util "^3.0.1" - -snapdragon-util@^3.0.1: - version "3.0.1" - resolved "https://registry.yarnpkg.com/snapdragon-util/-/snapdragon-util-3.0.1.tgz#f956479486f2acd79700693f6f7b805e45ab56e2" - integrity sha512-mbKkMdQKsjX4BAL4bRYTj21edOf8cN7XHdYUJEe+Zn99hVEYcMvKPct1IqNe7+AZPirn8BCDOQBHQZknqmKlZQ== - dependencies: - kind-of "^3.2.0" - -snapdragon@^0.8.1: - version "0.8.2" - resolved "https://registry.yarnpkg.com/snapdragon/-/snapdragon-0.8.2.tgz#64922e7c565b0e14204ba1aa7d6964278d25182d" - integrity sha512-FtyOnWN/wCHTVXOMwvSv26d+ko5vWlIDD6zoUJ7LW8vh+ZBC8QdljveRP+crNrtBwioEUWy/4dMtbBjA4ioNlg== - dependencies: - base "^0.11.1" - debug "^2.2.0" - define-property "^0.2.5" - extend-shallow "^2.0.1" - map-cache "^0.2.2" - source-map "^0.5.6" - source-map-resolve "^0.5.0" - use "^3.1.0" - -socks-proxy-agent@^7.0.0: - version "7.0.0" - resolved "https://registry.yarnpkg.com/socks-proxy-agent/-/socks-proxy-agent-7.0.0.tgz#dc069ecf34436621acb41e3efa66ca1b5fed15b6" - integrity sha512-Fgl0YPZ902wEsAyiQ+idGd1A7rSFx/ayC1CQVMw5P+EQx2V0SgpGtf6OKFhVjPflPUl9YMmEOnmfjCdMUsygww== - dependencies: - agent-base "^6.0.2" - debug "^4.3.3" - socks "^2.6.2" - -socks@^2.6.2: - version "2.8.3" - resolved "https://registry.yarnpkg.com/socks/-/socks-2.8.3.tgz#1ebd0f09c52ba95a09750afe3f3f9f724a800cb5" - integrity sha512-l5x7VUUWbjVFbafGLxPWkYsHIhEvmF85tbIeFZWc8ZPtoMyybuEhL7Jye/ooC4/d48FgOjSJXgsF/AJPYCW8Zw== - dependencies: - ip-address "^9.0.5" - smart-buffer "^4.2.0" - -sort-keys-length@^1.0.0: - version "1.0.1" - resolved "https://registry.yarnpkg.com/sort-keys-length/-/sort-keys-length-1.0.1.tgz#9cb6f4f4e9e48155a6aa0671edd336ff1479a188" - integrity sha512-GRbEOUqCxemTAk/b32F2xa8wDTs+Z1QHOkbhJDQTvv/6G3ZkbJ+frYWsTcc7cBB3Fu4wy4XlLCuNtJuMn7Gsvw== - dependencies: - sort-keys "^1.0.0" - -sort-keys@^1.0.0: - version "1.1.2" - resolved "https://registry.yarnpkg.com/sort-keys/-/sort-keys-1.1.2.tgz#441b6d4d346798f1b4e49e8920adfba0e543f9ad" - integrity sha512-vzn8aSqKgytVik0iwdBEi+zevbTYZogewTUM6dtpmGwEcdzbub/TX4bCzRhebDCRC3QzXgJsLRKB2V/Oof7HXg== - dependencies: - is-plain-obj "^1.0.0" - -sort-keys@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/sort-keys/-/sort-keys-2.0.0.tgz#658535584861ec97d730d6cf41822e1f56684128" - integrity sha512-/dPCrG1s3ePpWm6yBbxZq5Be1dXGLyLn9Z791chDC3NFrpkVbWGzkBwPN1knaciexFXgRJ7hzdnwZ4stHSDmjg== - dependencies: - is-plain-obj "^1.0.0" - -source-map-js@^1.0.1, source-map-js@^1.2.1: - version "1.2.1" - resolved "https://registry.yarnpkg.com/source-map-js/-/source-map-js-1.2.1.tgz#1ce5650fddd87abc099eda37dcff024c2667ae46" - integrity sha512-UXWMKhLOwVKb728IUtQPXxfYU+usdybtUrK/8uGE8CQMvrhOpwvzDBwj0QhSL7MQc7vIsISBG8VQ8+IDQxpfQA== - -source-map-resolve@^0.5.0: - version "0.5.3" - resolved "https://registry.yarnpkg.com/source-map-resolve/-/source-map-resolve-0.5.3.tgz#190866bece7553e1f8f267a2ee82c606b5509a1a" - integrity sha512-Htz+RnsXWk5+P2slx5Jh3Q66vhQj1Cllm0zvnaY98+NFx+Dv2CF/f5O/t8x+KaNdrdIAsruNzoh/KpialbqAnw== - dependencies: - atob "^2.1.2" - decode-uri-component "^0.2.0" - resolve-url "^0.2.1" - source-map-url "^0.4.0" - urix "^0.1.0" - -source-map-support@0.5.13: - version "0.5.13" - resolved "https://registry.yarnpkg.com/source-map-support/-/source-map-support-0.5.13.tgz#31b24a9c2e73c2de85066c0feb7d44767ed52932" - integrity sha512-SHSKFHadjVA5oR4PPqhtAVdcBWwRYVd6g6cAXnIbRiIwc2EhPrTuKUBdSLvlEKyIP3GCf89fltvcZiP9MMFA1w== - dependencies: - buffer-from "^1.0.0" - source-map "^0.6.0" - -source-map-support@^0.5.19, source-map-support@~0.5.20: - version "0.5.21" - resolved "https://registry.yarnpkg.com/source-map-support/-/source-map-support-0.5.21.tgz#04fe7c7f9e1ed2d662233c28cb2b35b9f63f6e4f" - integrity sha512-uBHU3L3czsIyYXKX88fdrGovxdSCoTGDRZ6SYXtSRxLZUzHg5P/66Ht6uoUlHu9EZod+inXhKo3qQgwXUT/y1w== - dependencies: - buffer-from "^1.0.0" - source-map "^0.6.0" - -source-map-url@^0.4.0: - version "0.4.1" - resolved "https://registry.yarnpkg.com/source-map-url/-/source-map-url-0.4.1.tgz#0af66605a745a5a2f91cf1bbf8a7afbc283dec56" - integrity sha512-cPiFOTLUKvJFIg4SKVScy4ilPPW6rFgMgfuZJPNoDuMs3nC1HbMUycBoJw77xFIp6z1UJQJOfx6C9GMH80DiTw== - -source-map@^0.5.6: - version "0.5.7" - resolved "https://registry.yarnpkg.com/source-map/-/source-map-0.5.7.tgz#8a039d2d1021d22d1ea14c80d8ea468ba2ef3fcc" - integrity sha512-LbrmJOMUSdEVxIKvdcJzQC+nQhe8FUZQTXQy6+I75skNgn3OoQ0DZA8YnFa7gp8tqtL3KPf1kmo0R5DoApeSGQ== - -source-map@^0.6.0, source-map@^0.6.1, source-map@~0.6.0, source-map@~0.6.1: - version "0.6.1" - resolved "https://registry.yarnpkg.com/source-map/-/source-map-0.6.1.tgz#74722af32e9614e9c287a8d0bbde48b5e2f1a263" - integrity sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g== - -source-map@^0.7.3: - version "0.7.4" - resolved "https://registry.yarnpkg.com/source-map/-/source-map-0.7.4.tgz#a9bbe705c9d8846f4e08ff6765acf0f1b0898656" - integrity sha512-l3BikUxvPOcn5E74dZiq5BGsTb5yEwhaTSzccU6t4sDOH8NWJCstKO5QT2CvtFoK6F0saL7p9xHAqHOlCPJygA== - -sourcemap-codec@^1.4.8: - version "1.4.8" - resolved "https://registry.yarnpkg.com/sourcemap-codec/-/sourcemap-codec-1.4.8.tgz#ea804bd94857402e6992d05a38ef1ae35a9ab4c4" - integrity sha512-9NykojV5Uih4lgo5So5dtw+f0JgJX30KCNI8gwhz2J9A15wD0Ml6tjHKwf6fTSa6fAdVBdZeNOs9eJ71qCk8vA== - -space-separated-tokens@^2.0.0: - version "2.0.2" - resolved "https://registry.yarnpkg.com/space-separated-tokens/-/space-separated-tokens-2.0.2.tgz#1ecd9d2350a3844572c3f4a312bceb018348859f" - integrity sha512-PEGlAwrG8yXGXRjW32fGbg66JAlOAwbObuqVoJpv/mRgoWDQfgH1wDPvtzWyUSNAXBGSk8h755YDbbcEy3SH2Q== - -spawn-wrap@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/spawn-wrap/-/spawn-wrap-2.0.0.tgz#103685b8b8f9b79771318827aa78650a610d457e" - integrity sha512-EeajNjfN9zMnULLwhZZQU3GWBoFNkbngTUPfaawT4RkMiviTxcX0qfhVbGey39mfctfDHkWtuecgQ8NJcyQWHg== - dependencies: - foreground-child "^2.0.0" - is-windows "^1.0.2" - make-dir "^3.0.0" - rimraf "^3.0.0" - signal-exit "^3.0.2" - which "^2.0.1" - -spawnd@^5.0.0: - version "5.0.0" - resolved "https://registry.yarnpkg.com/spawnd/-/spawnd-5.0.0.tgz#ea72200bdc468998e84e1c3e7b914ce85fc1c32c" - integrity sha512-28+AJr82moMVWolQvlAIv3JcYDkjkFTEmfDc503wxrF5l2rQ3dFz6DpbXp3kD4zmgGGldfM4xM4v1sFj/ZaIOA== - dependencies: - exit "^0.1.2" - signal-exit "^3.0.3" - tree-kill "^1.2.2" - wait-port "^0.2.9" - -spawndamnit@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/spawndamnit/-/spawndamnit-2.0.0.tgz#9f762ac5c3476abb994b42ad592b5ad22bb4b0ad" - integrity sha512-j4JKEcncSjFlqIwU5L/rp2N5SIPsdxaRsIv678+TZxZ0SRDJTm8JrxJMjE/XuiEZNEir3S8l0Fa3Ke339WI4qA== - dependencies: - cross-spawn "^5.1.0" - signal-exit "^3.0.2" - -spdx-correct@^3.0.0: - version "3.2.0" - resolved "https://registry.yarnpkg.com/spdx-correct/-/spdx-correct-3.2.0.tgz#4f5ab0668f0059e34f9c00dce331784a12de4e9c" - integrity sha512-kN9dJbvnySHULIluDHy32WHRUu3Og7B9sbY7tsFLctQkIqnMh3hErYgdMjTYuqmcXX+lK5T1lnUt3G7zNswmZA== - dependencies: - spdx-expression-parse "^3.0.0" - spdx-license-ids "^3.0.0" - -spdx-exceptions@^2.1.0: - version "2.5.0" - resolved "https://registry.yarnpkg.com/spdx-exceptions/-/spdx-exceptions-2.5.0.tgz#5d607d27fc806f66d7b64a766650fa890f04ed66" - integrity sha512-PiU42r+xO4UbUS1buo3LPJkjlO7430Xn5SVAhdpzzsPHsjbYVflnnFdATgabnLude+Cqu25p6N+g2lw/PFsa4w== - -spdx-expression-parse@^3.0.0: - version "3.0.1" - resolved "https://registry.yarnpkg.com/spdx-expression-parse/-/spdx-expression-parse-3.0.1.tgz#cf70f50482eefdc98e3ce0a6833e4a53ceeba679" - integrity sha512-cbqHunsQWnJNE6KhVSMsMeH5H/L9EpymbzqTQ3uLwNCLZ1Q481oWaofqH7nO6V07xlXwY6PhQdQ2IedWx/ZK4Q== - dependencies: - spdx-exceptions "^2.1.0" - spdx-license-ids "^3.0.0" - -spdx-license-ids@^3.0.0: - version "3.0.20" - resolved "https://registry.yarnpkg.com/spdx-license-ids/-/spdx-license-ids-3.0.20.tgz#e44ed19ed318dd1e5888f93325cee800f0f51b89" - integrity sha512-jg25NiDV/1fLtSgEgyvVyDunvaNHbuwF9lfNV17gSmPFAlYzdfNBlLtLzXTevwkPj7DhGbmN9VnmJIgLnhvaBw== - -split-string@^3.0.1, split-string@^3.0.2: - version "3.1.0" - resolved "https://registry.yarnpkg.com/split-string/-/split-string-3.1.0.tgz#7cb09dda3a86585705c64b39a6466038682e8fe2" - integrity sha512-NzNVhJDYpwceVVii8/Hu6DKfD2G+NrQHlS/V/qgv763EYudVwEcMQNxd2lh+0VrUByXN/oJkl5grOhYWvQUYiw== - dependencies: - extend-shallow "^3.0.0" - -split2@^1.0.0: - version "1.1.1" - resolved "https://registry.yarnpkg.com/split2/-/split2-1.1.1.tgz#162d9b18865f02ab2f2ad9585522db9b54c481f9" - integrity sha512-cfurE2q8LamExY+lJ9Ex3ZfBwqAPduzOKVscPDXNCLLMvyaeD3DTz1yk7fVIs6Chco+12XeD0BB6HEoYzPYbXA== - dependencies: - through2 "~2.0.0" - -split2@^3.0.0: - version "3.2.2" - resolved "https://registry.yarnpkg.com/split2/-/split2-3.2.2.tgz#bf2cf2a37d838312c249c89206fd7a17dd12365f" - integrity sha512-9NThjpgZnifTkJpzTZ7Eue85S49QwpNhZTq6GRJwObb6jnLFNGB7Qm73V5HewTROPyxD0C29xqmaI68bQtV+hg== - dependencies: - readable-stream "^3.0.0" - -split@^1.0.0: - version "1.0.1" - resolved "https://registry.yarnpkg.com/split/-/split-1.0.1.tgz#605bd9be303aa59fb35f9229fbea0ddec9ea07d9" - integrity sha512-mTyOoPbrivtXnwnIxZRFYRrPNtEFKlpB2fvjSnCQUiAA6qAZzqwna5envK4uk6OIeP17CsdF3rSBGYVBsU0Tkg== - dependencies: - through "2" - -sprintf-js@^1.1.3: - version "1.1.3" - resolved "https://registry.yarnpkg.com/sprintf-js/-/sprintf-js-1.1.3.tgz#4914b903a2f8b685d17fdf78a70e917e872e444a" - integrity sha512-Oo+0REFV59/rz3gfJNKQiBlwfHaSESl1pcGyABQsnnIfWOFt6JNj5gCog2U6MLZ//IGYD+nA8nI+mTShREReaA== - -sprintf-js@~1.0.2: - version "1.0.3" - resolved "https://registry.yarnpkg.com/sprintf-js/-/sprintf-js-1.0.3.tgz#04e6926f662895354f3dd015203633b857297e2c" - integrity sha512-D9cPgkvLlV3t3IzL0D0YLvGA9Ahk4PcvVwUbN0dSGr1aP0Nrt4AEnTUbuGvquEC0mA64Gqt1fzirlRs5ibXx8g== - -ssri@9.0.1, ssri@^9.0.0: - version "9.0.1" - resolved "https://registry.yarnpkg.com/ssri/-/ssri-9.0.1.tgz#544d4c357a8d7b71a19700074b6883fcb4eae057" - integrity sha512-o57Wcn66jMQvfHG1FlYbWeZWW/dHZhJXjpIcTfXldXEk5nz5lStPo3mK0OJQfGR3RbZUlbISexbljkJzuEj/8Q== - dependencies: - minipass "^3.1.1" - -stack-generator@^2.0.3: - version "2.0.10" - resolved "https://registry.yarnpkg.com/stack-generator/-/stack-generator-2.0.10.tgz#8ae171e985ed62287d4f1ed55a1633b3fb53bb4d" - integrity sha512-mwnua/hkqM6pF4k8SnmZ2zfETsRUpWXREfA/goT8SLCV4iOFa4bzOX2nDipWAZFPTjLvQB82f5yaodMVhK0yJQ== - dependencies: - stackframe "^1.3.4" - -stack-trace@0.0.x: - version "0.0.10" - resolved "https://registry.yarnpkg.com/stack-trace/-/stack-trace-0.0.10.tgz#547c70b347e8d32b4e108ea1a2a159e5fdde19c0" - integrity sha512-KGzahc7puUKkzyMt+IqAep+TVNbKP+k2Lmwhub39m1AsTSkaDutx56aDCo+HLDzf/D26BIHTJWNiTG1KAJiQCg== - -stack-utils@^2.0.3: - version "2.0.6" - resolved "https://registry.yarnpkg.com/stack-utils/-/stack-utils-2.0.6.tgz#aaf0748169c02fc33c8232abccf933f54a1cc34f" - integrity sha512-XlkWvfIm6RmsWtNJx+uqtKLS8eqFbxUg0ZzLXqY0caEy9l7hruX8IpiDnjsLavoBgqCCR71TqWO8MaXYheJ3RQ== - dependencies: - escape-string-regexp "^2.0.0" - -stackframe@^1.3.4: - version "1.3.4" - resolved "https://registry.yarnpkg.com/stackframe/-/stackframe-1.3.4.tgz#b881a004c8c149a5e8efef37d51b16e412943310" - integrity sha512-oeVtt7eWQS+Na6F//S4kJ2K2VbRlS9D43mAlMyVpVWovy9o+jfgH8O9agzANzaiLjclA0oYzUXEM4PurhSUChw== - -static-extend@^0.1.1: - version "0.1.2" - resolved "https://registry.yarnpkg.com/static-extend/-/static-extend-0.1.2.tgz#60809c39cbff55337226fd5e0b520f341f1fb5c6" - integrity sha512-72E9+uLc27Mt718pMHt9VMNiAL4LMsmDbBva8mxWUCkT07fSzEGMYUCk0XWY6lp0j6RBAG4cJ3mWuZv2OE3s0g== - dependencies: - define-property "^0.2.5" - object-copy "^0.1.0" - -static-server@^2.2.1: - version "2.2.1" - resolved "https://registry.yarnpkg.com/static-server/-/static-server-2.2.1.tgz#49e3cae2a001736b0ee9e95d21d3d843fc95efaa" - integrity sha512-j5eeW6higxYNmXMIT8iHjsdiViTpQDthg7o+SHsRtqdbxscdHqBHXwrXjHC8hL3F0Tsu34ApUpDkwzMBPBsrLw== - dependencies: - chalk "^0.5.1" - commander "^2.3.0" - file-size "0.0.5" - mime "^1.2.11" - opn "^5.2.0" - -statsd-client@0.4.7: - version "0.4.7" - resolved "https://registry.yarnpkg.com/statsd-client/-/statsd-client-0.4.7.tgz#a423894bd80bd27524c992001511530ef16933d1" - integrity sha512-+sGCE6FednJ/vI7vywErOg/mhVqmf6Zlktz7cdGRnF/cQWXD9ifMgtqU1CIIXmhSwm11SCk4zDN+bwNCvIR/Kg== - -statuses@2.0.1: - version "2.0.1" - resolved "https://registry.yarnpkg.com/statuses/-/statuses-2.0.1.tgz#55cb000ccf1d48728bd23c685a063998cf1a1b63" - integrity sha512-RwNA9Z/7PrK06rYLIzFMlaF+l73iwpzsqRIFgbMLbTcLD6cOao82TaWefPXQvB2fOC4AjuYSEndS7N/mTCbkdQ== - -"statuses@>= 1.5.0 < 2": - version "1.5.0" - resolved "https://registry.yarnpkg.com/statuses/-/statuses-1.5.0.tgz#161c7dac177659fd9811f43771fa99381478628c" - integrity sha512-OpZ3zP+jT1PI7I8nemJX4AKmAX070ZkYPVWV/AaKTJl+tXCTGyVdC1a4SL8RUQYEwk/f34ZX8UTykN68FwrqAA== - -stop-iteration-iterator@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/stop-iteration-iterator/-/stop-iteration-iterator-1.0.0.tgz#6a60be0b4ee757d1ed5254858ec66b10c49285e4" - integrity sha512-iCGQj+0l0HOdZ2AEeBADlsRC+vsnDsZsbdSiH1yNSjcfKM7fdpCMfqAL/dwF5BLiw/XhRft/Wax6zQbhq2BcjQ== - dependencies: - internal-slot "^1.0.4" - -storybook@8.3.6: - version "8.3.6" - resolved "https://registry.yarnpkg.com/storybook/-/storybook-8.3.6.tgz#c5e733504fac26c1a31c527a645c04ec7da4222f" - integrity sha512-9GVbtej6ZzPRUM7KRQ7848506FfHrUiJGqPuIQdoSJd09EmuEoLjmLAgEOmrHBQKgGYMaM7Vh9GsTLim6vwZTQ== - dependencies: - "@storybook/core" "8.3.6" - -strict-uri-encode@^1.0.0: - version "1.1.0" - resolved "https://registry.yarnpkg.com/strict-uri-encode/-/strict-uri-encode-1.1.0.tgz#279b225df1d582b1f54e65addd4352e18faa0713" - integrity sha512-R3f198pcvnB+5IpnBlRkphuE9n46WyVl8I39W/ZUTZLz4nqSP/oLYUrcnJrw462Ds8he4YKMov2efsTIw1BDGQ== - -string-length@^4.0.1: - version "4.0.2" - resolved "https://registry.yarnpkg.com/string-length/-/string-length-4.0.2.tgz#a8a8dc7bd5c1a82b9b3c8b87e125f66871b6e57a" - integrity sha512-+l6rNN5fYHNhZZy41RXsYptCjA2Igmq4EG7kZAYFQI1E1VTXarr6ZPXBg6eq7Y6eK4FEhY6AJlyuFIb/v/S0VQ== - dependencies: - char-regex "^1.0.2" - strip-ansi "^6.0.0" - -string-length@^5.0.1: - version "5.0.1" - resolved "https://registry.yarnpkg.com/string-length/-/string-length-5.0.1.tgz#3d647f497b6e8e8d41e422f7e0b23bc536c8381e" - integrity sha512-9Ep08KAMUn0OadnVaBuRdE2l615CQ508kr0XMadjClfYpdCyvrbFp6Taebo8yyxokQ4viUd/xPPUA4FGgUa0ow== - dependencies: - char-regex "^2.0.0" - strip-ansi "^7.0.1" - -string-similarity@^4.0.4: - version "4.0.4" - resolved "https://registry.yarnpkg.com/string-similarity/-/string-similarity-4.0.4.tgz#42d01ab0b34660ea8a018da8f56a3309bb8b2a5b" - integrity sha512-/q/8Q4Bl4ZKAPjj8WerIBJWALKkaPRfrvhfF8k/B23i4nzrlRj2/go1m90In7nG/3XDSbOo0+pu6RvCTM9RGMQ== - -"string-width-cjs@npm:string-width@^4.2.0", "string-width@^1.0.2 || 2 || 3 || 4", string-width@^4.0.0, string-width@^4.1.0, string-width@^4.2.0, string-width@^4.2.2, string-width@^4.2.3: - version "4.2.3" - resolved "https://registry.yarnpkg.com/string-width/-/string-width-4.2.3.tgz#269c7117d27b05ad2e536830a8ec895ef9c6d010" - integrity sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g== - dependencies: - emoji-regex "^8.0.0" - is-fullwidth-code-point "^3.0.0" - strip-ansi "^6.0.1" - -string-width@^1.0.1: - version "1.0.2" - resolved "https://registry.yarnpkg.com/string-width/-/string-width-1.0.2.tgz#118bdf5b8cdc51a2a7e70d211e07e2b0b9b107d3" - integrity sha512-0XsVpQLnVCXHJfyEs8tC0zpTVIr5PKKsQtkT29IwupnPTjtPmQ3xT/4yCREF9hYkV/3M3kzcUTSAZT6a6h81tw== - dependencies: - code-point-at "^1.0.0" - is-fullwidth-code-point "^1.0.0" - strip-ansi "^3.0.0" - -string-width@^2.1.0, string-width@^2.1.1: - version "2.1.1" - resolved "https://registry.yarnpkg.com/string-width/-/string-width-2.1.1.tgz#ab93f27a8dc13d28cac815c462143a6d9012ae9e" - integrity sha512-nOqH59deCq9SRHlxq1Aw85Jnt4w6KvLKqWVik6oA9ZklXLNIOlqg4F2yrT1MVaTjAqvVwdfeZ7w7aCvJD7ugkw== - dependencies: - is-fullwidth-code-point "^2.0.0" - strip-ansi "^4.0.0" - -string-width@^5.0.0, string-width@^5.0.1, string-width@^5.1.2: - version "5.1.2" - resolved "https://registry.yarnpkg.com/string-width/-/string-width-5.1.2.tgz#14f8daec6d81e7221d2a357e668cab73bdbca794" - integrity sha512-HnLOCR3vjcY8beoNLtcjZ5/nxn2afmME6lhrDrebokqMap+XbeW8n9TXpPDOqdGK5qcI3oT0GKTW6wC7EMiVqA== - dependencies: - eastasianwidth "^0.2.0" - emoji-regex "^9.2.2" - strip-ansi "^7.0.1" - -string.prototype.includes@^2.0.0: - version "2.0.1" - resolved "https://registry.yarnpkg.com/string.prototype.includes/-/string.prototype.includes-2.0.1.tgz#eceef21283640761a81dbe16d6c7171a4edf7d92" - integrity sha512-o7+c9bW6zpAdJHTtujeePODAhkuicdAryFsfVKwA+wGw89wJ4GTY484WTucM9hLtDEOpOvI+aHnzqnC5lHp4Rg== - dependencies: - call-bind "^1.0.7" - define-properties "^1.2.1" - es-abstract "^1.23.3" - -string.prototype.matchall@^4.0.11: - version "4.0.11" - resolved "https://registry.yarnpkg.com/string.prototype.matchall/-/string.prototype.matchall-4.0.11.tgz#1092a72c59268d2abaad76582dccc687c0297e0a" - integrity sha512-NUdh0aDavY2og7IbBPenWqR9exH+E26Sv8e0/eTe1tltDGZL+GtBkDAnnyBtmekfK6/Dq3MkcGtzXFEd1LQrtg== - dependencies: - call-bind "^1.0.7" - define-properties "^1.2.1" - es-abstract "^1.23.2" - es-errors "^1.3.0" - es-object-atoms "^1.0.0" - get-intrinsic "^1.2.4" - gopd "^1.0.1" - has-symbols "^1.0.3" - internal-slot "^1.0.7" - regexp.prototype.flags "^1.5.2" - set-function-name "^2.0.2" - side-channel "^1.0.6" - -string.prototype.padend@^3.0.0: - version "3.1.6" - resolved "https://registry.yarnpkg.com/string.prototype.padend/-/string.prototype.padend-3.1.6.tgz#ba79cf8992609a91c872daa47c6bb144ee7f62a5" - integrity sha512-XZpspuSB7vJWhvJc9DLSlrXl1mcA2BdoY5jjnS135ydXqLoqhs96JjDtCkjJEQHvfqZIp9hBuBMgI589peyx9Q== - dependencies: - call-bind "^1.0.7" - define-properties "^1.2.1" - es-abstract "^1.23.2" - es-object-atoms "^1.0.0" - -string.prototype.repeat@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/string.prototype.repeat/-/string.prototype.repeat-1.0.0.tgz#e90872ee0308b29435aa26275f6e1b762daee01a" - integrity sha512-0u/TldDbKD8bFCQ/4f5+mNRrXwZ8hg2w7ZR8wa16e8z9XpePWl3eGEcUD0OXpEH/VJH/2G3gjUtR3ZOiBe2S/w== - dependencies: - define-properties "^1.1.3" - es-abstract "^1.17.5" - -string.prototype.trim@^1.2.9: - version "1.2.9" - resolved "https://registry.yarnpkg.com/string.prototype.trim/-/string.prototype.trim-1.2.9.tgz#b6fa326d72d2c78b6df02f7759c73f8f6274faa4" - integrity sha512-klHuCNxiMZ8MlsOihJhJEBJAiMVqU3Z2nEXWfWnIqjN0gEFS9J9+IxKozWWtQGcgoa1WUZzLjKPTr4ZHNFTFxw== - dependencies: - call-bind "^1.0.7" - define-properties "^1.2.1" - es-abstract "^1.23.0" - es-object-atoms "^1.0.0" - -string.prototype.trimend@^1.0.8: - version "1.0.8" - resolved "https://registry.yarnpkg.com/string.prototype.trimend/-/string.prototype.trimend-1.0.8.tgz#3651b8513719e8a9f48de7f2f77640b26652b229" - integrity sha512-p73uL5VCHCO2BZZ6krwwQE3kCzM7NKmis8S//xEC6fQonchbum4eP6kR4DLEjQFO3Wnj3Fuo8NM0kOSjVdHjZQ== - dependencies: - call-bind "^1.0.7" - define-properties "^1.2.1" - es-object-atoms "^1.0.0" - -string.prototype.trimstart@^1.0.8: - version "1.0.8" - resolved "https://registry.yarnpkg.com/string.prototype.trimstart/-/string.prototype.trimstart-1.0.8.tgz#7ee834dda8c7c17eff3118472bb35bfedaa34dde" - integrity sha512-UXSH262CSZY1tfu3G3Secr6uGLCFVPMhIqHjlgCUtCCcgihYc/xKs9djMTMUOb2j1mVSeU8EU6NWc/iQKU6Gfg== - dependencies: - call-bind "^1.0.7" - define-properties "^1.2.1" - es-object-atoms "^1.0.0" - -string_decoder@^1.1.1, string_decoder@^1.3.0: - version "1.3.0" - resolved "https://registry.yarnpkg.com/string_decoder/-/string_decoder-1.3.0.tgz#42f114594a46cf1a8e30b0a84f56c78c3edac21e" - integrity sha512-hkRX8U1WjJFd8LsDJ2yQ/wWWxaopEsABU1XfkM8A+j0+85JAGppt16cr1Whg6KIbb4okU6Mql6BOj+uup/wKeA== - dependencies: - safe-buffer "~5.2.0" - -string_decoder@~0.10.x: - version "0.10.31" - resolved "https://registry.yarnpkg.com/string_decoder/-/string_decoder-0.10.31.tgz#62e203bc41766c6c28c9fc84301dab1c5310fa94" - integrity sha512-ev2QzSzWPYmy9GuqfIVildA4OdcGLeFZQrq5ys6RtiuF+RQQiZWr8TZNyAcuVXyQRYfEO+MsoB/1BuQVhOJuoQ== - -string_decoder@~1.1.1: - version "1.1.1" - resolved "https://registry.yarnpkg.com/string_decoder/-/string_decoder-1.1.1.tgz#9cf1611ba62685d7030ae9e4ba34149c3af03fc8" - integrity sha512-n/ShnvDi6FHbbVfviro+WojiFzv+s8MPMHBczVePfUpDJLwoLT0ht1l4YwBCbi8pJAveEEdnkHyPyTP/mzRfwg== - dependencies: - safe-buffer "~5.1.0" - -stringify-entities@^4.0.0: - version "4.0.4" - resolved "https://registry.yarnpkg.com/stringify-entities/-/stringify-entities-4.0.4.tgz#b3b79ef5f277cc4ac73caeb0236c5ba939b3a4f3" - integrity sha512-IwfBptatlO+QCJUo19AqvrPNqlVMpW9YEL2LIVY+Rpv2qsjCGxaDLNRgeGsQWJhfItebuJhsGSLjaBbNSQ+ieg== - dependencies: - character-entities-html4 "^2.0.0" - character-entities-legacy "^3.0.0" - -"strip-ansi-cjs@npm:strip-ansi@^6.0.1", strip-ansi@^6.0.0, strip-ansi@^6.0.1: - version "6.0.1" - resolved "https://registry.yarnpkg.com/strip-ansi/-/strip-ansi-6.0.1.tgz#9e26c63d30f53443e9489495b2105d37b67a85d9" - integrity sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A== - dependencies: - ansi-regex "^5.0.1" - -strip-ansi-control-characters@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/strip-ansi-control-characters/-/strip-ansi-control-characters-2.0.0.tgz#8875b5ba3a859a0a44f94e1cf7d3eda8980997b9" - integrity sha512-Q0/k5orrVGeaOlIOUn1gybGU0IcAbgHQT1faLo5hik4DqClKVSaka5xOhNNoRgtfztHVxCYxi7j71mrWom0bIw== - -strip-ansi@^0.3.0: - version "0.3.0" - resolved "https://registry.yarnpkg.com/strip-ansi/-/strip-ansi-0.3.0.tgz#25f48ea22ca79187f3174a4db8759347bb126220" - integrity sha512-DerhZL7j6i6/nEnVG0qViKXI0OKouvvpsAiaj7c+LfqZZZxdwZtv8+UiA/w4VUJpT8UzX0pR1dcHOii1GbmruQ== - dependencies: - ansi-regex "^0.2.1" - -strip-ansi@^3.0.0, strip-ansi@^3.0.1: - version "3.0.1" - resolved "https://registry.yarnpkg.com/strip-ansi/-/strip-ansi-3.0.1.tgz#6a385fb8853d952d5ff05d0e8aaf94278dc63dcf" - integrity sha512-VhumSSbBqDTP8p2ZLKj40UjBCV4+v8bUSEpUb4KjRgWk9pbqGF4REFj6KEagidb2f/M6AzC0EmFyDNGaw9OCzg== - dependencies: - ansi-regex "^2.0.0" - -strip-ansi@^4.0.0: - version "4.0.0" - resolved "https://registry.yarnpkg.com/strip-ansi/-/strip-ansi-4.0.0.tgz#a8479022eb1ac368a871389b635262c505ee368f" - integrity sha512-4XaJ2zQdCzROZDivEVIDPkcQn8LMFSa8kj8Gxb/Lnwzv9A8VctNZ+lfivC/sV3ivW8ElJTERXZoPBRrZKkNKow== - dependencies: - ansi-regex "^3.0.0" - -strip-ansi@^5.1.0: - version "5.2.0" - resolved "https://registry.yarnpkg.com/strip-ansi/-/strip-ansi-5.2.0.tgz#8c9a536feb6afc962bdfa5b104a5091c1ad9c0ae" - integrity sha512-DuRs1gKbBqsMKIZlrffwlug8MHkcnpjs5VPmL1PAh+mA30U0DTotfDZ0d2UUsXpPmPmMMJ6W773MaA3J+lbiWA== - dependencies: - ansi-regex "^4.1.0" - -strip-ansi@^7.0.0, strip-ansi@^7.0.1, strip-ansi@^7.1.0: - version "7.1.0" - resolved "https://registry.yarnpkg.com/strip-ansi/-/strip-ansi-7.1.0.tgz#d5b6568ca689d8561370b0707685d22434faff45" - integrity sha512-iq6eVVI64nQQTRYq2KtEg2d2uU7LElhTJwsH4YzIHZshxlgZms/wIc4VoDQTlG/IvVIrBKG06CrZnp0qv7hkcQ== - dependencies: - ansi-regex "^6.0.1" - -strip-bom@^3.0.0: - version "3.0.0" - resolved "https://registry.yarnpkg.com/strip-bom/-/strip-bom-3.0.0.tgz#2334c18e9c759f7bdd56fdef7e9ae3d588e68ed3" - integrity sha512-vavAMRXOgBVNF6nyEEmL3DBK19iRpDcoIwW+swQ+CbGiu7lju6t+JklA1MHweoWtadgt4ISVUsXLyDq34ddcwA== - -strip-bom@^4.0.0: - version "4.0.0" - resolved "https://registry.yarnpkg.com/strip-bom/-/strip-bom-4.0.0.tgz#9c3505c1db45bcedca3d9cf7a16f5c5aa3901878" - integrity sha512-3xurFv5tEgii33Zi8Jtp55wEIILR9eh34FAW00PZf+JnSsTmV/ioewSgQl97JHvgjoRGwPShsWm+IdrxB35d0w== - -strip-dirs@^2.0.0: - version "2.1.0" - resolved "https://registry.yarnpkg.com/strip-dirs/-/strip-dirs-2.1.0.tgz#4987736264fc344cf20f6c34aca9d13d1d4ed6c5" - integrity sha512-JOCxOeKLm2CAS73y/U4ZeZPTkE+gNVCzKt7Eox84Iej1LT/2pTWYpZKJuxwQpvX1LiZb1xokNR7RLfuBAa7T3g== - dependencies: - is-natural-number "^4.0.1" - -strip-final-newline@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/strip-final-newline/-/strip-final-newline-2.0.0.tgz#89b852fb2fcbe936f6f4b3187afb0a12c1ab58ad" - integrity sha512-BrpvfNAE3dcvq7ll3xVumzjKjZQ5tI1sEUIKr3Uoks0XUl45St3FlatVqef9prk4jRDzhW6WZg+3bk93y6pLjA== - -strip-final-newline@^3.0.0: - version "3.0.0" - resolved "https://registry.yarnpkg.com/strip-final-newline/-/strip-final-newline-3.0.0.tgz#52894c313fbff318835280aed60ff71ebf12b8fd" - integrity sha512-dOESqjYr96iWYylGObzd39EuNTa5VJxyvVAEm5Jnh7KGo75V43Hk1odPQkNDyXNmUR6k+gEiDVXnjB8HJ3crXw== - -strip-indent@^3.0.0: - version "3.0.0" - resolved "https://registry.yarnpkg.com/strip-indent/-/strip-indent-3.0.0.tgz#c32e1cee940b6b3432c771bc2c54bcce73cd3001" - integrity sha512-laJTa3Jb+VQpaC6DseHhF7dXVqHTfJPCRDaEbid/drOhgitgYku/letMUqOXFoWV0zIIUbjpdH2t+tYj4bQMRQ== - dependencies: - min-indent "^1.0.0" - -strip-indent@^4.0.0: - version "4.0.0" - resolved "https://registry.yarnpkg.com/strip-indent/-/strip-indent-4.0.0.tgz#b41379433dd06f5eae805e21d631e07ee670d853" - integrity sha512-mnVSV2l+Zv6BLpSD/8V87CW/y9EmmbYzGCIavsnsI6/nwn26DwffM/yztm30Z/I2DY9wdS3vXVCMnHDgZaVNoA== - dependencies: - min-indent "^1.0.1" - -strip-json-comments@^3.1.1: - version "3.1.1" - resolved "https://registry.yarnpkg.com/strip-json-comments/-/strip-json-comments-3.1.1.tgz#31f1281b3832630434831c310c01cccda8cbe006" - integrity sha512-6fPc+R4ihwqP6N/aIv2f1gMH8lOVtWQHoqC4yK6oSDVVocumAsfCqjkXnqiYMhmMwS/mEHLp7Vehlt3ql6lEig== - -strip-json-comments@~2.0.1: - version "2.0.1" - resolved "https://registry.yarnpkg.com/strip-json-comments/-/strip-json-comments-2.0.1.tgz#3c531942e908c2697c0ec344858c286c7ca0a60a" - integrity sha512-4gB8na07fecVVkOI6Rs4e7T6NOTki5EmL7TUduTs6bu3EdnSycntVJ4re8kgZA+wx9IueI2Y11bfbgwtzuE0KQ== - -strip-outer@^1.0.0: - version "1.0.1" - resolved "https://registry.yarnpkg.com/strip-outer/-/strip-outer-1.0.1.tgz#b2fd2abf6604b9d1e6013057195df836b8a9d631" - integrity sha512-k55yxKHwaXnpYGsOzg4Vl8+tDrWylxDEpknGjhTiZB8dFRU5rTo9CAzeycivxV3s+zlTKwrs6WxMxR95n26kwg== - dependencies: - escape-string-regexp "^1.0.2" - -strong-log-transformer@2.1.0, strong-log-transformer@^2.1.0: - version "2.1.0" - resolved "https://registry.yarnpkg.com/strong-log-transformer/-/strong-log-transformer-2.1.0.tgz#0f5ed78d325e0421ac6f90f7f10e691d6ae3ae10" - integrity sha512-B3Hgul+z0L9a236FAUC9iZsL+nVHgoCJnqCbN588DjYxvGXaXaaFbfmQ/JhvKjZwsOukuR72XbHv71Qkug0HxA== - dependencies: - duplexer "^0.1.1" - minimist "^1.2.0" - through "^2.3.4" - -style-loader@^3.3.1: - version "3.3.4" - resolved "https://registry.yarnpkg.com/style-loader/-/style-loader-3.3.4.tgz#f30f786c36db03a45cbd55b6a70d930c479090e7" - integrity sha512-0WqXzrsMTyb8yjZJHDqwmnwRJvhALK9LfRtRc6B4UTWe8AijYLZYZ9thuJTZc2VfQWINADW/j+LiJnfy2RoC1w== - -style-search@^0.1.0: - version "0.1.0" - resolved "https://registry.yarnpkg.com/style-search/-/style-search-0.1.0.tgz#7958c793e47e32e07d2b5cafe5c0bf8e12e77902" - integrity sha512-Dj1Okke1C3uKKwQcetra4jSuk0DqbzbYtXipzFlFMZtowbF1x7BKJwB9AayVMyFARvU8EDrZdcax4At/452cAg== - -stylelint-config-recommended@^9: - version "9.0.0" - resolved "https://registry.yarnpkg.com/stylelint-config-recommended/-/stylelint-config-recommended-9.0.0.tgz#1c9e07536a8cd875405f8ecef7314916d94e7e40" - integrity sha512-9YQSrJq4NvvRuTbzDsWX3rrFOzOlYBmZP+o513BJN/yfEmGSr0AxdvrWs0P/ilSpVV/wisamAHu5XSk8Rcf4CQ== - -stylelint@14.16.1: - version "14.16.1" - resolved "https://registry.yarnpkg.com/stylelint/-/stylelint-14.16.1.tgz#b911063530619a1bbe44c2b875fd8181ebdc742d" - integrity sha512-ErlzR/T3hhbV+a925/gbfc3f3Fep9/bnspMiJPorfGEmcBbXdS+oo6LrVtoUZ/w9fqD6o6k7PtUlCOsCRdjX/A== - dependencies: - "@csstools/selector-specificity" "^2.0.2" - balanced-match "^2.0.0" - colord "^2.9.3" - cosmiconfig "^7.1.0" - css-functions-list "^3.1.0" - debug "^4.3.4" - fast-glob "^3.2.12" - fastest-levenshtein "^1.0.16" - file-entry-cache "^6.0.1" - global-modules "^2.0.0" - globby "^11.1.0" - globjoin "^0.1.4" - html-tags "^3.2.0" - ignore "^5.2.1" - import-lazy "^4.0.0" - imurmurhash "^0.1.4" - is-plain-object "^5.0.0" - known-css-properties "^0.26.0" - mathml-tag-names "^2.1.3" - meow "^9.0.0" - micromatch "^4.0.5" - normalize-path "^3.0.0" - picocolors "^1.0.0" - postcss "^8.4.19" - postcss-media-query-parser "^0.2.3" - postcss-resolve-nested-selector "^0.1.1" - postcss-safe-parser "^6.0.0" - postcss-selector-parser "^6.0.11" - postcss-value-parser "^4.2.0" - resolve-from "^5.0.0" - string-width "^4.2.3" - strip-ansi "^6.0.1" - style-search "^0.1.0" - supports-hyperlinks "^2.3.0" - svg-tags "^1.0.0" - table "^6.8.1" - v8-compile-cache "^2.3.0" - write-file-atomic "^4.0.2" - -supports-color@^0.2.0: - version "0.2.0" - resolved "https://registry.yarnpkg.com/supports-color/-/supports-color-0.2.0.tgz#d92de2694eb3f67323973d7ae3d8b55b4c22190a" - integrity sha512-tdCZ28MnM7k7cJDJc7Eq80A9CsRFAAOZUy41npOZCs++qSjfIy7o5Rh46CBk+Dk5FbKJ33X3Tqg4YrV07N5RaA== - -supports-color@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/supports-color/-/supports-color-2.0.0.tgz#535d045ce6b6363fa40117084629995e9df324c7" - integrity sha512-KKNVtd6pCYgPIKU4cp2733HWYCpplQhddZLBUryaAHou723x+FRzQ5Df824Fj+IyyuiQTRoub4SnIFfIcrp70g== - -supports-color@^5.3.0: - version "5.5.0" - resolved "https://registry.yarnpkg.com/supports-color/-/supports-color-5.5.0.tgz#e2e69a44ac8772f78a1ec0b35b689df6530efc8f" - integrity sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow== - dependencies: - has-flag "^3.0.0" - -supports-color@^7.0.0, supports-color@^7.1.0: - version "7.2.0" - resolved "https://registry.yarnpkg.com/supports-color/-/supports-color-7.2.0.tgz#1b7dcdcb32b8138801b3e478ba6a51caa89648da" - integrity sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw== - dependencies: - has-flag "^4.0.0" - -supports-color@^8.0.0: - version "8.1.1" - resolved "https://registry.yarnpkg.com/supports-color/-/supports-color-8.1.1.tgz#cd6fc17e28500cff56c1b86c0a7fd4a54a73005c" - integrity sha512-MpUEN2OodtUzxvKQl72cUF7RQ5EiHsGvSsVG0ia9c5RbWGL2CI4C7EpPS8UTBIplnlzZiNuV56w+FuNxy3ty2Q== - dependencies: - has-flag "^4.0.0" - -supports-color@^9.0.0: - version "9.4.0" - resolved "https://registry.yarnpkg.com/supports-color/-/supports-color-9.4.0.tgz#17bfcf686288f531db3dea3215510621ccb55954" - integrity sha512-VL+lNrEoIXww1coLPOmiEmK/0sGigko5COxI09KzHc2VJXJsQ37UaQ+8quuxjDeA7+KnLGTWRyOXSLLR2Wb4jw== - -supports-hyperlinks@^2.0.0, supports-hyperlinks@^2.3.0: - version "2.3.0" - resolved "https://registry.yarnpkg.com/supports-hyperlinks/-/supports-hyperlinks-2.3.0.tgz#3943544347c1ff90b15effb03fc14ae45ec10624" - integrity sha512-RpsAZlpWcDwOPQA22aCH4J0t7L8JmAvsCxfOSEwm7cQs3LshN36QaTkwd70DnBOXDWGssw2eUoc8CaRWT0XunA== - dependencies: - has-flag "^4.0.0" - supports-color "^7.0.0" - -supports-preserve-symlinks-flag@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/supports-preserve-symlinks-flag/-/supports-preserve-symlinks-flag-1.0.0.tgz#6eda4bd344a3c94aea376d4cc31bc77311039e09" - integrity sha512-ot0WnXS9fgdkgIcePe6RHNk1WA8+muPa6cSjeR3V8K27q9BB1rTE3R1p7Hv0z1ZyAc8s6Vvv8DIyWf681MAt0w== - -svg-parser@^2.0.4: - version "2.0.4" - resolved "https://registry.yarnpkg.com/svg-parser/-/svg-parser-2.0.4.tgz#fdc2e29e13951736140b76cb122c8ee6630eb6b5" - integrity sha512-e4hG1hRwoOdRb37cIMSgzNsxyzKfayW6VOflrwvR+/bzrkyxY/31WkbgnQpgtrNp1SdpJvpUAGTa/ZoiPNDuRQ== - -svg-tags@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/svg-tags/-/svg-tags-1.0.0.tgz#58f71cee3bd519b59d4b2a843b6c7de64ac04764" - integrity sha512-ovssysQTa+luh7A5Weu3Rta6FJlFBBbInjOh722LIt6klpU2/HtdUbszju/G4devcvk8PGt7FCLv5wftu3THUA== - -svgo@3.3.2: - version "3.3.2" - resolved "https://registry.yarnpkg.com/svgo/-/svgo-3.3.2.tgz#ad58002652dffbb5986fc9716afe52d869ecbda8" - integrity sha512-OoohrmuUlBs8B8o6MB2Aevn+pRIH9zDALSR+6hhqVfa6fRwG/Qw9VUMSMW9VNg2CFc/MTIfabtdOVl9ODIJjpw== - dependencies: - "@trysound/sax" "0.2.0" - commander "^7.2.0" - css-select "^5.1.0" - css-tree "^2.3.1" - css-what "^6.1.0" - csso "^5.0.5" - picocolors "^1.0.0" - -swc-loader@^0.2.3: - version "0.2.6" - resolved "https://registry.yarnpkg.com/swc-loader/-/swc-loader-0.2.6.tgz#bf0cba8eeff34bb19620ead81d1277fefaec6bc8" - integrity sha512-9Zi9UP2YmDpgmQVbyOPJClY0dwf58JDyDMQ7uRc4krmc72twNI2fvlBWHLqVekBpPc7h5NJkGVT1zNDxFrqhvg== - dependencies: - "@swc/counter" "^0.1.3" - -symbol-observable@^1.1.0: - version "1.2.0" - resolved "https://registry.yarnpkg.com/symbol-observable/-/symbol-observable-1.2.0.tgz#c22688aed4eab3cdc2dfeacbb561660560a00804" - integrity sha512-e900nM8RRtGhlV36KGEU9k65K3mPb1WV70OdjfxlG2EAuM1noi/E/BaW/uMhL7bPEssK8QV57vN3esixjUvcXQ== - -symbol-tree@^3.2.4: - version "3.2.4" - resolved "https://registry.yarnpkg.com/symbol-tree/-/symbol-tree-3.2.4.tgz#430637d248ba77e078883951fb9aa0eed7c63fa2" - integrity sha512-9QNk5KwDF+Bvz+PyObkmSYjI5ksVUYtjW7AU22r2NKcfLJcXp96hkDWU3+XndOsUb+AQ9QhfzfCT2O+CNWT5Tw== - -synckit@^0.9.0: - version "0.9.2" - resolved "https://registry.yarnpkg.com/synckit/-/synckit-0.9.2.tgz#a3a935eca7922d48b9e7d6c61822ee6c3ae4ec62" - integrity sha512-vrozgXDQwYO72vHjUb/HnFbQx1exDjoKzqx23aXEg2a9VIg2TSFZ8FmeZpTjUCFMYw7mpX4BE2SFu8wI7asYsw== - dependencies: - "@pkgr/core" "^0.1.0" - tslib "^2.6.2" - -table@^6.8.1: - version "6.8.2" - resolved "https://registry.yarnpkg.com/table/-/table-6.8.2.tgz#c5504ccf201213fa227248bdc8c5569716ac6c58" - integrity sha512-w2sfv80nrAh2VCbqR5AK27wswXhqcck2AhfnNW76beQXskGZ1V12GwS//yYVa3d3fcvAip2OUnbDAjW2k3v9fA== - dependencies: - ajv "^8.0.1" - lodash.truncate "^4.4.2" - slice-ansi "^4.0.0" - string-width "^4.2.3" - strip-ansi "^6.0.1" - -tabtab@^3.0.2: - version "3.0.2" - resolved "https://registry.yarnpkg.com/tabtab/-/tabtab-3.0.2.tgz#a2cea0f1035f88d145d7da77eaabbd3fe03e1ec9" - integrity sha512-jANKmUe0sIQc/zTALTBy186PoM/k6aPrh3A7p6AaAfF6WPSbTx1JYeGIGH162btpH+mmVEXln+UxwViZHO2Jhg== - dependencies: - debug "^4.0.1" - es6-promisify "^6.0.0" - inquirer "^6.0.0" - minimist "^1.2.0" - mkdirp "^0.5.1" - untildify "^3.0.3" - -tapable@^2.0.0, tapable@^2.1.1, tapable@^2.2.0, tapable@^2.2.1: - version "2.2.1" - resolved "https://registry.yarnpkg.com/tapable/-/tapable-2.2.1.tgz#1967a73ef4060a82f12ab96af86d52fdb76eeca0" - integrity sha512-GNzQvQTOIP6RyTfE2Qxb8ZVlNmw0n88vp1szwWRimP02mnTsx3Wtn5qRdqY9w2XduFNUgvOwhNnQsjwCp+kqaQ== - -tar-stream@^1.5.2: - version "1.6.2" - resolved "https://registry.yarnpkg.com/tar-stream/-/tar-stream-1.6.2.tgz#8ea55dab37972253d9a9af90fdcd559ae435c555" - integrity sha512-rzS0heiNf8Xn7/mpdSVVSMAWAoy9bfb1WOTYC78Z0UQKeKa/CWS8FOq0lKGNa8DWKAn9gxjCvMLYc5PGXYlK2A== - dependencies: - bl "^1.0.0" - buffer-alloc "^1.2.0" - end-of-stream "^1.0.0" - fs-constants "^1.0.0" - readable-stream "^2.3.0" - to-buffer "^1.1.1" - xtend "^4.0.0" - -tar-stream@^2.2.0, tar-stream@~2.2.0: - version "2.2.0" - resolved "https://registry.yarnpkg.com/tar-stream/-/tar-stream-2.2.0.tgz#acad84c284136b060dc3faa64474aa9aebd77287" - integrity sha512-ujeqbceABgwMZxEJnk2HDY2DlnUZ+9oEcb1KzTVfYHio0UE6dG71n60d8D2I4qNvleWrrXpmjpt7vZeF1LnMZQ== - dependencies: - bl "^4.0.3" - end-of-stream "^1.4.1" - fs-constants "^1.0.0" - inherits "^2.0.3" - readable-stream "^3.1.1" - -tar@6.1.11: - version "6.1.11" - resolved "https://registry.yarnpkg.com/tar/-/tar-6.1.11.tgz#6760a38f003afa1b2ffd0ffe9e9abbd0eab3d621" - integrity sha512-an/KZQzQUkZCkuoAA64hM92X0Urb6VpRhAFllDzz44U2mcD5scmT3zBc4VgVpkugF580+DQn8eAFSyoQt0tznA== - dependencies: - chownr "^2.0.0" - fs-minipass "^2.0.0" - minipass "^3.0.0" - minizlib "^2.1.1" - mkdirp "^1.0.3" - yallist "^4.0.0" - -tar@^4: - version "4.4.19" - resolved "https://registry.yarnpkg.com/tar/-/tar-4.4.19.tgz#2e4d7263df26f2b914dee10c825ab132123742f3" - integrity sha512-a20gEsvHnWe0ygBY8JbxoM4w3SJdhc7ZAuxkLqh+nvNQN2IOt0B5lLgM490X5Hl8FF0dl0tOf2ewFYAlIFgzVA== - dependencies: - chownr "^1.1.4" - fs-minipass "^1.2.7" - minipass "^2.9.0" - minizlib "^1.3.3" - mkdirp "^0.5.5" - safe-buffer "^5.2.1" - yallist "^3.1.1" - -tar@^6.1.11, tar@^6.1.2: - version "6.2.1" - resolved "https://registry.yarnpkg.com/tar/-/tar-6.2.1.tgz#717549c541bc3c2af15751bea94b1dd068d4b03a" - integrity sha512-DZ4yORTwrbTj/7MZYq2w+/ZFdI6OZ/f9SFHR+71gIVUZhOQPHzVCLpvRnPgyaMpfWxxk/4ONva3GQSyNIKRv6A== - dependencies: - chownr "^2.0.0" - fs-minipass "^2.0.0" - minipass "^5.0.0" - minizlib "^2.1.1" - mkdirp "^1.0.3" - yallist "^4.0.0" - -telejson@^7.2.0: - version "7.2.0" - resolved "https://registry.yarnpkg.com/telejson/-/telejson-7.2.0.tgz#3994f6c9a8f8d7f2dba9be2c7c5bbb447e876f32" - integrity sha512-1QTEcJkJEhc8OnStBx/ILRu5J2p0GjvWsBx56bmZRqnrkdBMUe+nX92jxV+p3dB4CP6PZCdJMQJwCggkNBMzkQ== - dependencies: - memoizerific "^1.11.3" - -temp-dir@1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/temp-dir/-/temp-dir-1.0.0.tgz#0a7c0ea26d3a39afa7e0ebea9c1fc0bc4daa011d" - integrity sha512-xZFXEGbG7SNC3itwBzI3RYjq/cEhBkx2hJuKGIUOcEULmkQExXiHat2z/qkISYsuR+IKumhEfKKbV5qXmhICFQ== - -temp-dir@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/temp-dir/-/temp-dir-2.0.0.tgz#bde92b05bdfeb1516e804c9c00ad45177f31321e" - integrity sha512-aoBAniQmmwtcKp/7BzsH8Cxzv8OL736p7v1ihGb5e9DJ9kTwGWHrQrVB5+lfVDzfGrdRzXch+ig7LHaY1JTOrg== - -tempy@^1.0.0: - version "1.0.1" - resolved "https://registry.yarnpkg.com/tempy/-/tempy-1.0.1.tgz#30fe901fd869cfb36ee2bd999805aa72fbb035de" - integrity sha512-biM9brNqxSc04Ee71hzFbryD11nX7VPhQQY32AdDmjFvodsRFz/3ufeoTZ6uYkRFfGo188tENcASNs3vTdsM0w== - dependencies: - del "^6.0.0" - is-stream "^2.0.0" - temp-dir "^2.0.0" - type-fest "^0.16.0" - unique-string "^2.0.0" - -term-size@^2.1.0: - version "2.2.1" - resolved "https://registry.yarnpkg.com/term-size/-/term-size-2.2.1.tgz#2a6a54840432c2fb6320fea0f415531e90189f54" - integrity sha512-wK0Ri4fOGjv/XPy8SBHZChl8CM7uMc5VML7SqiQ0zG7+J5Vr+RMQDoHa2CNT6KHUnTGIXH34UDMkPzAUyapBZg== - -terminal-link@^2.1.1: - version "2.1.1" - resolved "https://registry.yarnpkg.com/terminal-link/-/terminal-link-2.1.1.tgz#14a64a27ab3c0df933ea546fba55f2d078edc994" - integrity sha512-un0FmiRUQNr5PJqy9kP7c40F5BOfpGlYTrxonDChEZB7pzZxRNp/bt+ymiy9/npwXya9KH99nJ/GXFIiUkYGFQ== - dependencies: - ansi-escapes "^4.2.1" - supports-hyperlinks "^2.0.0" - -terser-webpack-plugin@^5.3.1, terser-webpack-plugin@^5.3.10: - version "5.3.10" - resolved "https://registry.yarnpkg.com/terser-webpack-plugin/-/terser-webpack-plugin-5.3.10.tgz#904f4c9193c6fd2a03f693a2150c62a92f40d199" - integrity sha512-BKFPWlPDndPs+NGGCr1U59t0XScL5317Y0UReNrHaw9/FwhPENlq6bfgs+4yPfyP51vqC1bQ4rp1EfXW5ZSH9w== - dependencies: - "@jridgewell/trace-mapping" "^0.3.20" - jest-worker "^27.4.5" - schema-utils "^3.1.1" - serialize-javascript "^6.0.1" - terser "^5.26.0" - -terser@^5.0.0, terser@^5.10.0, terser@^5.26.0: - version "5.36.0" - resolved "https://registry.yarnpkg.com/terser/-/terser-5.36.0.tgz#8b0dbed459ac40ff7b4c9fd5a3a2029de105180e" - integrity sha512-IYV9eNMuFAV4THUspIRXkLakHnV6XO7FEdtKjf/mDyrnqUg9LnlOn6/RwRvM9SZjR4GUq8Nk8zj67FzVARr74w== - dependencies: - "@jridgewell/source-map" "^0.3.3" - acorn "^8.8.2" - commander "^2.20.0" - source-map-support "~0.5.20" - -test-exclude@^6.0.0: - version "6.0.0" - resolved "https://registry.yarnpkg.com/test-exclude/-/test-exclude-6.0.0.tgz#04a8698661d805ea6fa293b6cb9e63ac044ef15e" - integrity sha512-cAGWPIyOHU6zlmg88jwm7VRyXnMN7iV68OGAbYDk/Mh/xC/pzVPlQtY6ngoIH/5/tciuhGfvESU8GrHrcxD56w== - dependencies: - "@istanbuljs/schema" "^0.1.2" - glob "^7.1.4" - minimatch "^3.0.4" - -text-extensions@^1.0.0: - version "1.9.0" - resolved "https://registry.yarnpkg.com/text-extensions/-/text-extensions-1.9.0.tgz#1853e45fee39c945ce6f6c36b2d659b5aabc2a26" - integrity sha512-wiBrwC1EhBelW12Zy26JeOUkQ5mRu+5o8rpsJk5+2t+Y5vE7e842qtZDQ2g1NpX/29HdyFeJ4nSIhI47ENSxlQ== - -text-hex@1.0.x: - version "1.0.0" - resolved "https://registry.yarnpkg.com/text-hex/-/text-hex-1.0.0.tgz#69dc9c1b17446ee79a92bf5b884bb4b9127506f5" - integrity sha512-uuVGNWzgJ4yhRaNSiubPY7OjISw4sw4E5Uv0wbjp+OzcbmVU/rsT8ujgcXJhn9ypzsgr5vlzpPqP+MBBKcGvbg== - -text-mask-core@5.1.2: - version "5.1.2" - resolved "https://registry.yarnpkg.com/text-mask-core/-/text-mask-core-5.1.2.tgz#80dd5ebe04825757e46619e691407a9f8b3c1b6f" - integrity sha512-VfkCMdmRRZqXgQZFlDMiavm3hzsMzBM23CxHZsaeAYg66ZhXCNJWrFmnJwNy8KF9f74YvAUAuQenxsMCfuvhUw== - -text-table@^0.2.0: - version "0.2.0" - resolved "https://registry.yarnpkg.com/text-table/-/text-table-0.2.0.tgz#7f5ee823ae805207c00af2df4a84ec3fcfa570b4" - integrity sha512-N+8UisAXDGk8PFXP4HAzVR9nbfmVJ3zYLAWiTIoqC5v5isinhr+r5uaO8+7r3BMfuNIufIsA7RdpVgacC2cSpw== - -through2-filter@^3.0.0: - version "3.1.0" - resolved "https://registry.yarnpkg.com/through2-filter/-/through2-filter-3.1.0.tgz#4a1b45d2b76b3ac93ec137951e372c268efc1a4e" - integrity sha512-VhZsTsfrIJjyUi6GeecnwcOJlmoqgIdGFDjqnV5ape+F1DN8GejfPO66XyIhoinxmxGImiUTrq9RwpTN5yszGA== - dependencies: - through2 "^4.0.2" - -through2-map@^3.0.0: - version "3.1.0" - resolved "https://registry.yarnpkg.com/through2-map/-/through2-map-3.1.0.tgz#af8905db16593dc39f9b7db44326dded0f739c3c" - integrity sha512-DLIkZZJEeuxna8sh3CAi6q9i6CzmDxjUFM4snoMCGXdR+yybspuNgalZJ9DthcDU9jqnbpq3PQs22a5Q7km0/Q== - dependencies: - through2 "^4.0.2" - -through2@^2.0.0, through2@^2.0.1, through2@~2.0.0: - version "2.0.5" - resolved "https://registry.yarnpkg.com/through2/-/through2-2.0.5.tgz#01c1e39eb31d07cb7d03a96a70823260b23132cd" - integrity sha512-/mrRod8xqpA+IHSLyGCQ2s8SPHiCDEeQJSep1jqLYeEUClOFG2Qsh+4FU6G9VeqpZnGW/Su8LQGc4YKni5rYSQ== - dependencies: - readable-stream "~2.3.6" - xtend "~4.0.1" - -through2@^4.0.0, through2@^4.0.2: - version "4.0.2" - resolved "https://registry.yarnpkg.com/through2/-/through2-4.0.2.tgz#a7ce3ac2a7a8b0b966c80e7c49f0484c3b239764" - integrity sha512-iOqSav00cVxEEICeD7TjLB1sueEL+81Wpzp2bY17uZjZN0pWZPuo4suZ/61VujxmqSGFfgOcNuTZ85QJwNZQpw== - dependencies: - readable-stream "3" - -through@2, "through@>=2.2.7 <3", through@^2.3.4, through@^2.3.6, through@^2.3.8: - version "2.3.8" - resolved "https://registry.yarnpkg.com/through/-/through-2.3.8.tgz#0dd4c9ffaabc357960b1b724115d7e0e86a2e1f5" - integrity sha512-w89qg7PI8wAdvX60bMDP+bFoD5Dvhm9oLheFp5O4a2QF0cSBGsBX4qZmadPMvVqlLJBBci+WqGGOAPvcDeNSVg== - -time-zone@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/time-zone/-/time-zone-1.0.0.tgz#99c5bf55958966af6d06d83bdf3800dc82faec5d" - integrity sha512-TIsDdtKo6+XrPtiTm1ssmMngN1sAhyKnTO2kunQWqNPWIVvCm15Wmw4SWInwTVgJ5u/Tr04+8Ei9TNcw4x4ONA== - -timed-out@^4.0.1: - version "4.0.1" - resolved "https://registry.yarnpkg.com/timed-out/-/timed-out-4.0.1.tgz#f32eacac5a175bea25d7fab565ab3ed8741ef56f" - integrity sha512-G7r3AhovYtr5YKOWQkta8RKAPb+J9IsO4uVmzjl8AZwfhs8UcUwTiD6gcJYSgOtzyjvQKrKYn41syHbUWMkafA== - -tiny-invariant@^1.3.1, tiny-invariant@^1.3.3: - version "1.3.3" - resolved "https://registry.yarnpkg.com/tiny-invariant/-/tiny-invariant-1.3.3.tgz#46680b7a873a0d5d10005995eb90a70d74d60127" - integrity sha512-+FbBPE1o9QAYvviau/qC5SE3caw21q3xkvWKBtja5vgqOWIHHJ3ioaq1VPfn/Szqctz2bU/oYeKd9/z5BL+PVg== - -tiny-warning@^1.0.2: - version "1.0.3" - resolved "https://registry.yarnpkg.com/tiny-warning/-/tiny-warning-1.0.3.tgz#94a30db453df4c643d0fd566060d60a875d84754" - integrity sha512-lBN9zLN/oAf68o3zNXYrdCt1kP8WsiGW8Oo2ka41b2IM5JL/S1CTyX1rW0mb/zSuJun0ZUrDxx4sqvYS2FWzPA== - -tinyrainbow@^1.2.0: - version "1.2.0" - resolved "https://registry.yarnpkg.com/tinyrainbow/-/tinyrainbow-1.2.0.tgz#5c57d2fc0fb3d1afd78465c33ca885d04f02abb5" - integrity sha512-weEDEq7Z5eTHPDh4xjX789+fHfF+P8boiFB+0vbWzpbnbsEr/GRaohi/uMKxg8RZMXnl1ItAi/IUHWMsjDV7kQ== - -tinyspy@^3.0.0: - version "3.0.2" - resolved "https://registry.yarnpkg.com/tinyspy/-/tinyspy-3.0.2.tgz#86dd3cf3d737b15adcf17d7887c84a75201df20a" - integrity sha512-n1cw8k1k0x4pgA2+9XrOkFydTerNcJ1zWCO5Nn9scWHTD+5tp8dghT2x1uduQePZTZgd3Tupf+x9BxJjeJi77Q== - -tmp-promise@^3.0.2: - version "3.0.3" - resolved "https://registry.yarnpkg.com/tmp-promise/-/tmp-promise-3.0.3.tgz#60a1a1cc98c988674fcbfd23b6e3367bdeac4ce7" - integrity sha512-RwM7MoPojPxsOBYnyd2hy0bxtIlVrihNs9pj5SUvY8Zz1sQcQG2tG1hSr8PDxfgEB8RNKDhqbIlroIarSNDNsQ== - dependencies: - tmp "^0.2.0" - -tmp@^0.0.33: - version "0.0.33" - resolved "https://registry.yarnpkg.com/tmp/-/tmp-0.0.33.tgz#6d34335889768d21b2bcda0aa277ced3b1bfadf9" - integrity sha512-jRCJlojKnZ3addtTOjdIqoRuPEKBvNXcGYqzO6zWZX8KfKEpnGY5jfggJQ3EjKuu8D4bJRr0y+cYJFmYbImXGw== - dependencies: - os-tmpdir "~1.0.2" - -tmp@^0.2.0, tmp@~0.2.1: - version "0.2.3" - resolved "https://registry.yarnpkg.com/tmp/-/tmp-0.2.3.tgz#eb783cc22bc1e8bebd0671476d46ea4eb32a79ae" - integrity sha512-nZD7m9iCPC5g0pYmcaxogYKggSfLsdxl8of3Q/oIbqCqLLIO9IAF0GWjX1z9NZRHPiXv8Wex4yDCaZsgEw0Y8w== - -tmpl@1.0.5: - version "1.0.5" - resolved "https://registry.yarnpkg.com/tmpl/-/tmpl-1.0.5.tgz#8683e0b902bb9c20c4f726e3c0b69f36518c07cc" - integrity sha512-3f0uOEAQwIqGuWW2MVzYg8fV/QNnc/IpuJNG837rLuczAaLVHslWHZQj4IGiEl5Hs3kkbhwL9Ab7Hrsmuj+Smw== - -to-buffer@^1.1.1: - version "1.1.1" - resolved "https://registry.yarnpkg.com/to-buffer/-/to-buffer-1.1.1.tgz#493bd48f62d7c43fcded313a03dcadb2e1213a80" - integrity sha512-lx9B5iv7msuFYE3dytT+KE5tap+rNYw+K4jVkb9R/asAb+pbBSM17jtunHplhBe6RRJdZx3Pn2Jph24O32mOVg== - -to-fast-properties@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/to-fast-properties/-/to-fast-properties-2.0.0.tgz#dc5e698cbd079265bc73e0377681a4e4e83f616e" - integrity sha512-/OaKK0xYrs3DmxRYqL/yDc+FxFUVYhDlXMhRmv3z915w2HF1tnN1omB354j8VUGO/hbRzyD6Y3sA7v7GS/ceog== - -to-object-path@^0.3.0: - version "0.3.0" - resolved "https://registry.yarnpkg.com/to-object-path/-/to-object-path-0.3.0.tgz#297588b7b0e7e0ac08e04e672f85c1f4999e17af" - integrity sha512-9mWHdnGRuh3onocaHzukyvCZhzvr6tiflAy/JRFXcJX0TjgfWA9pk9t8CMbzmBE4Jfw58pXbkngtBtqYxzNEyg== - dependencies: - kind-of "^3.0.2" - -to-readable-stream@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/to-readable-stream/-/to-readable-stream-1.0.0.tgz#ce0aa0c2f3df6adf852efb404a783e77c0475771" - integrity sha512-Iq25XBt6zD5npPhlLVXGFN3/gyR2/qODcKNNyTMd4vbm39HUaOiAM4PMq0eMVC/Tkxz+Zjdsc55g9yyz+Yq00Q== - -to-readable-stream@^2.0.0, to-readable-stream@^2.1.0: - version "2.1.0" - resolved "https://registry.yarnpkg.com/to-readable-stream/-/to-readable-stream-2.1.0.tgz#82880316121bea662cdc226adb30addb50cb06e8" - integrity sha512-o3Qa6DGg1CEXshSdvWNX2sN4QHqg03SPq7U6jPXRahlQdl5dK8oXjkU/2/sGrnOZKeGV1zLSO8qPwyKklPPE7w== - -to-regex-range@^2.1.0: - version "2.1.1" - resolved "https://registry.yarnpkg.com/to-regex-range/-/to-regex-range-2.1.1.tgz#7c80c17b9dfebe599e27367e0d4dd5590141db38" - integrity sha512-ZZWNfCjUokXXDGXFpZehJIkZqq91BcULFq/Pi7M5i4JnxXdhMKAK682z8bCW3o8Hj1wuuzoKcW3DfVzaP6VuNg== - dependencies: - is-number "^3.0.0" - repeat-string "^1.6.1" - -to-regex-range@^5.0.1: - version "5.0.1" - resolved "https://registry.yarnpkg.com/to-regex-range/-/to-regex-range-5.0.1.tgz#1648c44aae7c8d988a326018ed72f5b4dd0392e4" - integrity sha512-65P7iz6X5yEr1cwcgvQxbbIw7Uk3gOy5dIdtZ4rDveLqhrdJP+Li/Hx6tyK0NEb+2GCyneCMJiGqrADCSNk8sQ== - dependencies: - is-number "^7.0.0" - -to-regex@^3.0.1, to-regex@^3.0.2: - version "3.0.2" - resolved "https://registry.yarnpkg.com/to-regex/-/to-regex-3.0.2.tgz#13cfdd9b336552f30b51f33a8ae1b42a7a7599ce" - integrity sha512-FWtleNAtZ/Ki2qtqej2CXTOayOH9bHDQF+Q48VpWyDXjbYxA4Yz8iDB31zXOBUlOHHKidDbqGVrTUvQMPmBGBw== - dependencies: - define-property "^2.0.2" - extend-shallow "^3.0.2" - regex-not "^1.0.2" - safe-regex "^1.1.0" - -to-vfile@^7.0.0: - version "7.2.4" - resolved "https://registry.yarnpkg.com/to-vfile/-/to-vfile-7.2.4.tgz#b97ecfcc15905ffe020bc975879053928b671378" - integrity sha512-2eQ+rJ2qGbyw3senPI0qjuM7aut8IYXK6AEoOWb+fJx/mQYzviTckm1wDjq91QYHAPBTYzmdJXxMFA6Mk14mdw== - dependencies: - is-buffer "^2.0.0" - vfile "^5.1.0" - -toidentifier@1.0.1: - version "1.0.1" - resolved "https://registry.yarnpkg.com/toidentifier/-/toidentifier-1.0.1.tgz#3be34321a88a820ed1bd80dfaa33e479fbb8dd35" - integrity sha512-o5sSPKEkg/DIQNmH43V0/uerLrpzVedkUh8tGNvaeXpfpuwjKenlSox/2O/BTlZUtEe+JG7s5YhEz608PlAHRA== - -toml@^3.0.0: - version "3.0.0" - resolved "https://registry.yarnpkg.com/toml/-/toml-3.0.0.tgz#342160f1af1904ec9d204d03a5d61222d762c5ee" - integrity sha512-y/mWCZinnvxjTKYhJ+pYxwD0mRLVvOtdS2Awbgxln6iEnt4rk0yBxeSBHkGJcPucRiG0e55mwWp+g/05rsrd6w== - -tomlify-j0.4@^3.0.0: - version "3.0.0" - resolved "https://registry.yarnpkg.com/tomlify-j0.4/-/tomlify-j0.4-3.0.0.tgz#99414d45268c3a3b8bf38be82145b7bba34b7473" - integrity sha512-2Ulkc8T7mXJ2l0W476YC/A209PR38Nw8PuaCNtk9uI3t1zzFdGQeWYGQvmj2PZkVvRC/Yoi4xQKMRnWc/N29tQ== - -tough-cookie@^4.1.2: - version "4.1.4" - resolved "https://registry.yarnpkg.com/tough-cookie/-/tough-cookie-4.1.4.tgz#945f1461b45b5a8c76821c33ea49c3ac192c1b36" - integrity sha512-Loo5UUvLD9ScZ6jh8beX1T6sO1w2/MpCRpEP7V280GKMVUQ0Jzar2U3UJPsrdbziLEMMhu3Ujnq//rhiFuIeag== - dependencies: - psl "^1.1.33" - punycode "^2.1.1" - universalify "^0.2.0" - url-parse "^1.5.3" - -tr46@^3.0.0: - version "3.0.0" - resolved "https://registry.yarnpkg.com/tr46/-/tr46-3.0.0.tgz#555c4e297a950617e8eeddef633c87d4d9d6cbf9" - integrity sha512-l7FvfAHlcmulp8kr+flpQZmVwtu7nfRV7NZujtN0OqES8EL4O4e0qqzL0DC5gAvx/ZC/9lk6rhcUwYvkBnBnYA== - dependencies: - punycode "^2.1.1" - -tr46@~0.0.3: - version "0.0.3" - resolved "https://registry.yarnpkg.com/tr46/-/tr46-0.0.3.tgz#8184fd347dac9cdc185992f3a6622e14b9d9ab6a" - integrity sha512-N3WMsuqV66lT30CrXNbEjx4GEwlow3v6rr4mCcv6prnfwhS01rkgyFdjPNBYd9br7LpXV1+Emh01fHnq2Gdgrw== - -tree-kill@^1.2.2: - version "1.2.2" - resolved "https://registry.yarnpkg.com/tree-kill/-/tree-kill-1.2.2.tgz#4ca09a9092c88b73a7cdc5e8a01b507b0790a0cc" - integrity sha512-L0Orpi8qGpRG//Nd+H90vFB+3iHnue1zSSGmNOOCh1GLJ7rUKVwV2HvijphGQS2UmhUZewS9VgvxYIdgr+fG1A== - -treeverse@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/treeverse/-/treeverse-2.0.0.tgz#036dcef04bc3fd79a9b79a68d4da03e882d8a9ca" - integrity sha512-N5gJCkLu1aXccpOTtqV6ddSEi6ZmGkh3hjmbu1IjcavJK4qyOVQmi0myQKM7z5jVGmD68SJoliaVrMmVObhj6A== - -trim-newlines@^3.0.0: - version "3.0.1" - resolved "https://registry.yarnpkg.com/trim-newlines/-/trim-newlines-3.0.1.tgz#260a5d962d8b752425b32f3a7db0dcacd176c144" - integrity sha512-c1PTsA3tYrIsLGkJkzHF+w9F2EyxfXGo4UyJc4pFL++FMjnq0HJS69T3M7d//gKrFKwy429bouPescbjecU+Zw== - -trim-repeated@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/trim-repeated/-/trim-repeated-1.0.0.tgz#e3646a2ea4e891312bf7eace6cfb05380bc01c21" - integrity sha512-pkonvlKk8/ZuR0D5tLW8ljt5I8kmxp2XKymhepUeOdCEfKpZaktSArkLHZt76OB1ZvO9bssUsDty4SWhLvZpLg== - dependencies: - escape-string-regexp "^1.0.2" - -triple-beam@^1.3.0: - version "1.4.1" - resolved "https://registry.yarnpkg.com/triple-beam/-/triple-beam-1.4.1.tgz#6fde70271dc6e5d73ca0c3b24e2d92afb7441984" - integrity sha512-aZbgViZrg1QNcG+LULa7nhZpJTZSLm/mXnHXnbAbjmN5aSa0y7V+wvv6+4WaBtpISJzThKy+PIPxc1Nq1EJ9mg== - -trough@^2.0.0: - version "2.2.0" - resolved "https://registry.yarnpkg.com/trough/-/trough-2.2.0.tgz#94a60bd6bd375c152c1df911a4b11d5b0256f50f" - integrity sha512-tmMpK00BjZiUyVyvrBK7knerNgmgvcV/KLVyuma/SC+TQN167GrMRciANTz09+k3zW8L8t60jWO1GpfkZdjTaw== - -ts-api-utils@^1.3.0: - version "1.3.0" - resolved "https://registry.yarnpkg.com/ts-api-utils/-/ts-api-utils-1.3.0.tgz#4b490e27129f1e8e686b45cc4ab63714dc60eea1" - integrity sha512-UQMIo7pb8WRomKR1/+MFVLTroIvDVtMX3K6OUir8ynLyzB8Jeriont2bTAtmNPa1ekAgN7YPDyf6V+ygrdU+eQ== - -ts-dedent@^2.0.0, ts-dedent@^2.2.0: - version "2.2.0" - resolved "https://registry.yarnpkg.com/ts-dedent/-/ts-dedent-2.2.0.tgz#39e4bd297cd036292ae2394eb3412be63f563bb5" - integrity sha512-q5W7tVM71e2xjHZTlgfTDoPF/SmqKG5hddq9SzR49CH2hayqRKJtQ4mtRlSxKaJlR/+9rEM+mnBHf7I2/BQcpQ== - -ts-jest@29.2.5: - version "29.2.5" - resolved "https://registry.yarnpkg.com/ts-jest/-/ts-jest-29.2.5.tgz#591a3c108e1f5ebd013d3152142cb5472b399d63" - integrity sha512-KD8zB2aAZrcKIdGk4OwpJggeLcH1FgrICqDSROWqlnJXGCXK4Mn6FcdK2B6670Xr73lHMG1kHw8R87A0ecZ+vA== - dependencies: - bs-logger "^0.2.6" - ejs "^3.1.10" - fast-json-stable-stringify "^2.1.0" - jest-util "^29.0.0" - json5 "^2.2.3" - lodash.memoize "^4.1.2" - make-error "^1.3.6" - semver "^7.6.3" - yargs-parser "^21.1.1" - -ts-node@10.4.0: - version "10.4.0" - resolved "https://registry.yarnpkg.com/ts-node/-/ts-node-10.4.0.tgz#680f88945885f4e6cf450e7f0d6223dd404895f7" - integrity sha512-g0FlPvvCXSIO1JDF6S232P5jPYqBkRL9qly81ZgAOSU7rwI0stphCgd2kLiCrU9DjQCrJMWEqcNSjQL02s6d8A== - dependencies: - "@cspotcode/source-map-support" "0.7.0" - "@tsconfig/node10" "^1.0.7" - "@tsconfig/node12" "^1.0.7" - "@tsconfig/node14" "^1.0.0" - "@tsconfig/node16" "^1.0.2" - acorn "^8.4.1" - acorn-walk "^8.1.1" - arg "^4.1.0" - create-require "^1.1.0" - diff "^4.0.1" - make-error "^1.1.1" - yn "3.1.1" - -tsconfig-paths-webpack-plugin@4.1.0: - version "4.1.0" - resolved "https://registry.yarnpkg.com/tsconfig-paths-webpack-plugin/-/tsconfig-paths-webpack-plugin-4.1.0.tgz#3c6892c5e7319c146eee1e7302ed9e6f2be4f763" - integrity sha512-xWFISjviPydmtmgeUAuXp4N1fky+VCtfhOkDUFIv5ea7p4wuTomI4QTrXvFBX2S4jZsmyTSrStQl+E+4w+RzxA== - dependencies: - chalk "^4.1.0" - enhanced-resolve "^5.7.0" - tsconfig-paths "^4.1.2" - -tsconfig-paths@^3.15.0: - version "3.15.0" - resolved "https://registry.yarnpkg.com/tsconfig-paths/-/tsconfig-paths-3.15.0.tgz#5299ec605e55b1abb23ec939ef15edaf483070d4" - integrity sha512-2Ac2RgzDe/cn48GvOe3M+o82pEFewD3UPbyoUHHdKasHwJKjds4fLXWf/Ux5kATBKN20oaFGu+jbElp1pos0mg== - dependencies: - "@types/json5" "^0.0.29" - json5 "^1.0.2" - minimist "^1.2.6" - strip-bom "^3.0.0" - -tsconfig-paths@^4.1.2, tsconfig-paths@^4.2.0: - version "4.2.0" - resolved "https://registry.yarnpkg.com/tsconfig-paths/-/tsconfig-paths-4.2.0.tgz#ef78e19039133446d244beac0fd6a1632e2d107c" - integrity sha512-NoZ4roiN7LnbKn9QqE1amc9DJfzvZXxF4xDavcOWt1BPkdx+m+0gJuPM+S0vCe7zTJMYUP0R8pO2XMr+Y8oLIg== - dependencies: - json5 "^2.2.2" - minimist "^1.2.6" - strip-bom "^3.0.0" - -tslib@^1.8.1, tslib@^1.9.0: - version "1.14.1" - resolved "https://registry.yarnpkg.com/tslib/-/tslib-1.14.1.tgz#cf2d38bdc34a134bcaf1091c41f6619e2f672d00" - integrity sha512-Xni35NKzjgMrwevysHTCArtLDpPvye8zV/0E4EyYn43P7/7qvQwPh9BGkHewbMulVntbigmcT7rdX3BNo9wRJg== - -tslib@^2.0.0, tslib@^2.0.1, tslib@^2.0.3, tslib@^2.1.0, tslib@^2.3.0, tslib@^2.4.0, tslib@^2.6.1, tslib@^2.6.2, tslib@^2.7.0: - version "2.8.0" - resolved "https://registry.yarnpkg.com/tslib/-/tslib-2.8.0.tgz#d124c86c3c05a40a91e6fdea4021bd31d377971b" - integrity sha512-jWVzBLplnCmoaTr13V9dYbiQ99wvZRd0vNWaDRg+aVYRcjDF3nDksxFDE/+fkXnKhpnUUkmx5pK/v8mCtLVqZA== - -tsutils@^3.21.0: - version "3.21.0" - resolved "https://registry.yarnpkg.com/tsutils/-/tsutils-3.21.0.tgz#b48717d394cea6c1e096983eed58e9d61715b623" - integrity sha512-mHKK3iUXL+3UF6xL5k0PEhKRUBKPBCv/+RkEOpjRWxxx27KKRBmmA60A9pgOUvMi8GKhRMPEmjBRPzs2W7O1OA== - dependencies: - tslib "^1.8.1" - -tween-functions@^1.2.0: - version "1.2.0" - resolved "https://registry.yarnpkg.com/tween-functions/-/tween-functions-1.2.0.tgz#1ae3a50e7c60bb3def774eac707acbca73bbc3ff" - integrity sha512-PZBtLYcCLtEcjL14Fzb1gSxPBeL7nWvGhO5ZFPGqziCcr8uvHp0NDmdjBchp6KHL+tExcg0m3NISmKxhU394dA== - -type-check@^0.4.0, type-check@~0.4.0: - version "0.4.0" - resolved "https://registry.yarnpkg.com/type-check/-/type-check-0.4.0.tgz#07b8203bfa7056c0657050e3ccd2c37730bab8f1" - integrity sha512-XleUoc9uwGXqjWwXaUTZAmzMcFZ5858QA2vvx1Ur5xIcixXIP+8LnFDgRplU30us6teqdlskFfu+ae4K79Ooew== - dependencies: - prelude-ls "^1.2.1" - -type-detect@4.0.8: - version "4.0.8" - resolved "https://registry.yarnpkg.com/type-detect/-/type-detect-4.0.8.tgz#7646fb5f18871cfbb7749e69bd39a6388eb7450c" - integrity sha512-0fr/mIH1dlO+x7TlcMy+bIDqKPsw/70tVyeHW787goQjhmqaZe10uwLujubK9q9Lg6Fiho1KUKDYz0Z7k7g5/g== - -type-fest@^0.10.0: - version "0.10.0" - resolved "https://registry.yarnpkg.com/type-fest/-/type-fest-0.10.0.tgz#7f06b2b9fbfc581068d1341ffabd0349ceafc642" - integrity sha512-EUV9jo4sffrwlg8s0zDhP0T2WD3pru5Xi0+HTE3zTUmBaZNhfkite9PdSJwdXLwPVW0jnAHT56pZHIOYckPEiw== - -type-fest@^0.16.0: - version "0.16.0" - resolved "https://registry.yarnpkg.com/type-fest/-/type-fest-0.16.0.tgz#3240b891a78b0deae910dbeb86553e552a148860" - integrity sha512-eaBzG6MxNzEn9kiwvtre90cXaNLkmadMWa1zQMs3XORCXNbsH/OewwbxC5ia9dCxIxnTAsSxXJaa/p5y8DlvJg== - -type-fest@^0.18.0: - version "0.18.1" - resolved "https://registry.yarnpkg.com/type-fest/-/type-fest-0.18.1.tgz#db4bc151a4a2cf4eebf9add5db75508db6cc841f" - integrity sha512-OIAYXk8+ISY+qTOwkHtKqzAuxchoMiD9Udx+FSGQDuiRR+PJKJHc2NJAXlbhkGwTt/4/nKZxELY1w3ReWOL8mw== - -type-fest@^0.20.2: - version "0.20.2" - resolved "https://registry.yarnpkg.com/type-fest/-/type-fest-0.20.2.tgz#1bf207f4b28f91583666cb5fbd327887301cd5f4" - integrity sha512-Ne+eE4r0/iWnpAxD852z3A+N0Bt5RN//NjJwRd2VFHEmrywxf5vsZlh4R6lixl6B+wz/8d+maTSAkN1FIkI3LQ== - -type-fest@^0.21.3: - version "0.21.3" - resolved "https://registry.yarnpkg.com/type-fest/-/type-fest-0.21.3.tgz#d260a24b0198436e133fa26a524a6d65fa3b2e37" - integrity sha512-t0rzBq87m3fVcduHDUFhKmyyX+9eo6WQjZvf51Ea/M0Q7+T374Jp1aUiyUl0GKxp8M/OETVHSDvmkyPgvX+X2w== - -type-fest@^0.4.1: - version "0.4.1" - resolved "https://registry.yarnpkg.com/type-fest/-/type-fest-0.4.1.tgz#8bdf77743385d8a4f13ba95f610f5ccd68c728f8" - integrity sha512-IwzA/LSfD2vC1/YDYMv/zHP4rDF1usCwllsDpbolT3D4fUepIO7f9K70jjmUewU/LmGUKJcwcVtDCpnKk4BPMw== - -type-fest@^0.6.0: - version "0.6.0" - resolved "https://registry.yarnpkg.com/type-fest/-/type-fest-0.6.0.tgz#8d2a2370d3df886eb5c90ada1c5bf6188acf838b" - integrity sha512-q+MB8nYR1KDLrgr4G5yemftpMC7/QLqVndBmEEdqzmNj5dcFOO4Oo8qlwZE3ULT3+Zim1F8Kq4cBnikNhlCMlg== - -type-fest@^0.8.0, type-fest@^0.8.1: - version "0.8.1" - resolved "https://registry.yarnpkg.com/type-fest/-/type-fest-0.8.1.tgz#09e249ebde851d3b1e48d27c105444667f17b83d" - integrity sha512-4dbzIzqvjtgiM5rw1k5rEHtBANKmdudhGyBEajN01fEyhaAIhsoKNy6y7+IN93IfpFtwY9iqi7kD+xwKhQsNJA== - -type-fest@^1.0.2: - version "1.4.0" - resolved "https://registry.yarnpkg.com/type-fest/-/type-fest-1.4.0.tgz#e9fb813fe3bf1744ec359d55d1affefa76f14be1" - integrity sha512-yGSza74xk0UG8k+pLh5oeoYirvIiWo5t0/o3zHHAO2tRDiZcxWP7fywNlXhqb6/r6sWvwi+RsyQMWhVLe4BVuA== - -type-fest@^2.0.0, type-fest@^2.11.2, type-fest@^2.13.0, type-fest@^2.19.0, type-fest@^2.5.0, type-fest@~2.19: - version "2.19.0" - resolved "https://registry.yarnpkg.com/type-fest/-/type-fest-2.19.0.tgz#88068015bb33036a598b952e55e9311a60fd3a9b" - integrity sha512-RAH822pAdBgcNMAfWnCBU3CFZcfZ/i1eZjwFU/dsLKumyuuP3niueg2UAukXYF0E2AAoc82ZSSf9J0WQBinzHA== - -type-is@~1.6.18: - version "1.6.18" - resolved "https://registry.yarnpkg.com/type-is/-/type-is-1.6.18.tgz#4e552cd05df09467dcbc4ef739de89f2cf37c131" - integrity sha512-TkRKr9sUTxEH8MdfuCSP7VizJyzRNMjj2J2do2Jr3Kym598JVdEksuzPQCnlFPW4ky9Q+iA+ma9BGm06XQBy8g== - dependencies: - media-typer "0.3.0" - mime-types "~2.1.24" - -typed-array-buffer@^1.0.2: - version "1.0.2" - resolved "https://registry.yarnpkg.com/typed-array-buffer/-/typed-array-buffer-1.0.2.tgz#1867c5d83b20fcb5ccf32649e5e2fc7424474ff3" - integrity sha512-gEymJYKZtKXzzBzM4jqa9w6Q1Jjm7x2d+sh19AdsD4wqnMPDYyvwpsIc2Q/835kHuo3BEQ7CjelGhfTsoBb2MQ== - dependencies: - call-bind "^1.0.7" - es-errors "^1.3.0" - is-typed-array "^1.1.13" - -typed-array-byte-length@^1.0.1: - version "1.0.1" - resolved "https://registry.yarnpkg.com/typed-array-byte-length/-/typed-array-byte-length-1.0.1.tgz#d92972d3cff99a3fa2e765a28fcdc0f1d89dec67" - integrity sha512-3iMJ9q0ao7WE9tWcaYKIptkNBuOIcZCCT0d4MRvuuH88fEoEH62IuQe0OtraD3ebQEoTRk8XCBoknUNc1Y67pw== - dependencies: - call-bind "^1.0.7" - for-each "^0.3.3" - gopd "^1.0.1" - has-proto "^1.0.3" - is-typed-array "^1.1.13" - -typed-array-byte-offset@^1.0.2: - version "1.0.2" - resolved "https://registry.yarnpkg.com/typed-array-byte-offset/-/typed-array-byte-offset-1.0.2.tgz#f9ec1acb9259f395093e4567eb3c28a580d02063" - integrity sha512-Ous0vodHa56FviZucS2E63zkgtgrACj7omjwd/8lTEMEPFFyjfixMZ1ZXenpgCFBBt4EC1J2XsyVS2gkG0eTFA== - dependencies: - available-typed-arrays "^1.0.7" - call-bind "^1.0.7" - for-each "^0.3.3" - gopd "^1.0.1" - has-proto "^1.0.3" - is-typed-array "^1.1.13" - -typed-array-length@^1.0.6: - version "1.0.6" - resolved "https://registry.yarnpkg.com/typed-array-length/-/typed-array-length-1.0.6.tgz#57155207c76e64a3457482dfdc1c9d1d3c4c73a3" - integrity sha512-/OxDN6OtAk5KBpGb28T+HZc2M+ADtvRxXrKKbUwtsLgdoxgX13hyy7ek6bFRl5+aBs2yZzB0c4CnQfAtVypW/g== - dependencies: - call-bind "^1.0.7" - for-each "^0.3.3" - gopd "^1.0.1" - has-proto "^1.0.3" - is-typed-array "^1.1.13" - possible-typed-array-names "^1.0.0" - -typedarray-to-buffer@^3.1.5: - version "3.1.5" - resolved "https://registry.yarnpkg.com/typedarray-to-buffer/-/typedarray-to-buffer-3.1.5.tgz#a97ee7a9ff42691b9f783ff1bc5112fe3fca9080" - integrity sha512-zdu8XMNEDepKKR+XYOXAVPtWui0ly0NtohUscw+UmaHiAWT8hrV1rr//H6V+0DvJ3OQ19S979M0laLfX8rm82Q== - dependencies: - is-typedarray "^1.0.0" - -typedarray@^0.0.6: - version "0.0.6" - resolved "https://registry.yarnpkg.com/typedarray/-/typedarray-0.0.6.tgz#867ac74e3864187b1d3d47d996a78ec5c8830777" - integrity sha512-/aCDEGatGvZ2BIk+HmLf4ifCJFwvKFNb9/JeZPMulfgFracn9QFcAf5GO8B/mweUjSoblS5In0cWhqpfs/5PQA== - -typescript@5.5.4: - version "5.5.4" - resolved "https://registry.yarnpkg.com/typescript/-/typescript-5.5.4.tgz#d9852d6c82bad2d2eda4fd74a5762a8f5909e9ba" - integrity sha512-Mtq29sKDAEYP7aljRgtPOpTvOfbwRWlS6dPRzwjdE+C0R4brX/GUyhHSecbHMFLNBLcJIPt9nl9yG5TZ1weH+Q== - -"typescript@^3 || ^4", typescript@^4.4.3, typescript@^4.5.4, typescript@^4.9.5: - version "4.9.5" - resolved "https://registry.yarnpkg.com/typescript/-/typescript-4.9.5.tgz#095979f9bcc0d09da324d58d03ce8f8374cbe65a" - integrity sha512-1FXk9E2Hm+QzZQ7z+McJiHL4NW1F2EzMu9Nq9i3zAaGqibafqYwCVU6WyWAuyQRRzOlxou8xZSyXLEN8oKj24g== - -typescript@^3.9.10: - version "3.9.10" - resolved "https://registry.yarnpkg.com/typescript/-/typescript-3.9.10.tgz#70f3910ac7a51ed6bef79da7800690b19bf778b8" - integrity sha512-w6fIxVE/H1PkLKcCPsFqKE7Kv7QUwhU8qQY2MueZXWx5cPZdwFupLgKK3vntcK98BtNHZtAF4LA/yl2a7k8R6Q== - -uglify-js@^3.1.4: - version "3.19.3" - resolved "https://registry.yarnpkg.com/uglify-js/-/uglify-js-3.19.3.tgz#82315e9bbc6f2b25888858acd1fff8441035b77f" - integrity sha512-v3Xu+yuwBXisp6QYTcH4UbH+xYJXqnq2m/LtQVWKWzYc1iehYnLixoQDN9FH6/j9/oybfd6W9Ghwkl8+UMKTKQ== - -uid-safe@2.1.5: - version "2.1.5" - resolved "https://registry.yarnpkg.com/uid-safe/-/uid-safe-2.1.5.tgz#2b3d5c7240e8fc2e58f8aa269e5ee49c0857bd3a" - integrity sha512-KPHm4VL5dDXKz01UuEd88Df+KzynaohSL9fBh096KWAxSKZQDI2uBrVqtvRM4rwrIrRRKsdLNML/lnaaVSRioA== - dependencies: - random-bytes "~1.0.0" - -unbox-primitive@^1.0.2: - version "1.0.2" - resolved "https://registry.yarnpkg.com/unbox-primitive/-/unbox-primitive-1.0.2.tgz#29032021057d5e6cdbd08c5129c226dff8ed6f9e" - integrity sha512-61pPlCD9h51VoreyJ0BReideM3MDKMKnh6+V9L08331ipq6Q8OFXZYiqP6n/tbHx4s5I9uRhcye6BrbkizkBDw== - dependencies: - call-bind "^1.0.2" - has-bigints "^1.0.2" - has-symbols "^1.0.3" - which-boxed-primitive "^1.0.2" - -unbzip2-stream@^1.0.9: - version "1.4.3" - resolved "https://registry.yarnpkg.com/unbzip2-stream/-/unbzip2-stream-1.4.3.tgz#b0da04c4371311df771cdc215e87f2130991ace7" - integrity sha512-mlExGW4w71ebDJviH16lQLtZS32VKqsSfk80GCfUlwT/4/hNRFsoscrF/c++9xinkMzECL1uL9DDwXqFWkruPg== - dependencies: - buffer "^5.2.1" - through "^2.3.8" - -undici-types@~5.26.4: - version "5.26.5" - resolved "https://registry.yarnpkg.com/undici-types/-/undici-types-5.26.5.tgz#bcd539893d00b56e964fd2657a4866b221a65617" - integrity sha512-JlCMO+ehdEIKqlFxk6IfVoAUVmgz7cU7zD/h9XZ0qzeosSHmUJVOzSQvvYSYWXkFXC+IfLKSIffhv0sVZup6pA== - -undici-types@~6.19.2: - version "6.19.8" - resolved "https://registry.yarnpkg.com/undici-types/-/undici-types-6.19.8.tgz#35111c9d1437ab83a7cdc0abae2f26d88eda0a02" - integrity sha512-ve2KP6f/JnbPBFyobGHuerC9g1FYGn/F8n1LWTwNxCEzd6IfqTwUQcNXgEtmmQ6DlRrC1hrSrBnCZPokRrDHjw== - -unicode-canonical-property-names-ecmascript@^2.0.0: - version "2.0.1" - resolved "https://registry.yarnpkg.com/unicode-canonical-property-names-ecmascript/-/unicode-canonical-property-names-ecmascript-2.0.1.tgz#cb3173fe47ca743e228216e4a3ddc4c84d628cc2" - integrity sha512-dA8WbNeb2a6oQzAQ55YlT5vQAWGV9WXOsi3SskE3bcCdM0P4SDd+24zS/OCacdRq5BkdsRj9q3Pg6YyQoxIGqg== - -unicode-match-property-ecmascript@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/unicode-match-property-ecmascript/-/unicode-match-property-ecmascript-2.0.0.tgz#54fd16e0ecb167cf04cf1f756bdcc92eba7976c3" - integrity sha512-5kaZCrbp5mmbz5ulBkDkbY0SsPOjKqVS35VpL9ulMPfSl0J0Xsm+9Evphv9CoIZFwre7aJoa94AY6seMKGVN5Q== - dependencies: - unicode-canonical-property-names-ecmascript "^2.0.0" - unicode-property-aliases-ecmascript "^2.0.0" - -unicode-match-property-value-ecmascript@^2.1.0: - version "2.2.0" - resolved "https://registry.yarnpkg.com/unicode-match-property-value-ecmascript/-/unicode-match-property-value-ecmascript-2.2.0.tgz#a0401aee72714598f739b68b104e4fe3a0cb3c71" - integrity sha512-4IehN3V/+kkr5YeSSDDQG8QLqO26XpL2XP3GQtqwlT/QYSECAwFztxVHjlbh0+gjJ3XmNLS0zDsbgs9jWKExLg== - -unicode-property-aliases-ecmascript@^2.0.0: - version "2.1.0" - resolved "https://registry.yarnpkg.com/unicode-property-aliases-ecmascript/-/unicode-property-aliases-ecmascript-2.1.0.tgz#43d41e3be698bd493ef911077c9b131f827e8ccd" - integrity sha512-6t3foTQI9qne+OZoVQB/8x8rk2k1eVy1gRXhV3oFQ5T6R1dqQ1xtin3XqSlx3+ATBkliTaR/hHyJBm+LVPNM8w== - -unified-engine@^10.1.0: - version "10.1.0" - resolved "https://registry.yarnpkg.com/unified-engine/-/unified-engine-10.1.0.tgz#6899f00d1f53ee9af94f7abd0ec21242aae3f56c" - integrity sha512-5+JDIs4hqKfHnJcVCxTid1yBoI/++FfF/1PFdSMpaftZZZY+qg2JFruRbf7PaIwa9KgLotXQV3gSjtY0IdcFGQ== - dependencies: - "@types/concat-stream" "^2.0.0" - "@types/debug" "^4.0.0" - "@types/is-empty" "^1.0.0" - "@types/node" "^18.0.0" - "@types/unist" "^2.0.0" - concat-stream "^2.0.0" - debug "^4.0.0" - fault "^2.0.0" - glob "^8.0.0" - ignore "^5.0.0" - is-buffer "^2.0.0" - is-empty "^1.0.0" - is-plain-obj "^4.0.0" - load-plugin "^5.0.0" - parse-json "^6.0.0" - to-vfile "^7.0.0" - trough "^2.0.0" - unist-util-inspect "^7.0.0" - vfile-message "^3.0.0" - vfile-reporter "^7.0.0" - vfile-statistics "^2.0.0" - yaml "^2.0.0" - -unified@^10.0.0, unified@^10.1.2: - version "10.1.2" - resolved "https://registry.yarnpkg.com/unified/-/unified-10.1.2.tgz#b1d64e55dafe1f0b98bb6c719881103ecf6c86df" - integrity sha512-pUSWAi/RAnVy1Pif2kAoeWNBa3JVrx0MId2LASj8G+7AiHWoKZNTomq6LG326T68U7/e263X6fTdcXIy7XnF7Q== - dependencies: - "@types/unist" "^2.0.0" - bail "^2.0.0" - extend "^3.0.0" - is-buffer "^2.0.0" - is-plain-obj "^4.0.0" - trough "^2.0.0" - vfile "^5.0.0" - -unified@^11.0.0: - version "11.0.5" - resolved "https://registry.yarnpkg.com/unified/-/unified-11.0.5.tgz#f66677610a5c0a9ee90cab2b8d4d66037026d9e1" - integrity sha512-xKvGhPWw3k84Qjh8bI3ZeJjqnyadK+GEFtazSfZv/rKeTkTjOJho6mFqh2SM96iIcZokxiOpg78GazTSg8+KHA== - dependencies: - "@types/unist" "^3.0.0" - bail "^2.0.0" - devlop "^1.0.0" - extend "^3.0.0" - is-plain-obj "^4.0.0" - trough "^2.0.0" - vfile "^6.0.0" - -union-value@^1.0.0: - version "1.0.1" - resolved "https://registry.yarnpkg.com/union-value/-/union-value-1.0.1.tgz#0b6fe7b835aecda61c6ea4d4f02c14221e109847" - integrity sha512-tJfXmxMeWYnczCVs7XAEvIV7ieppALdyepWMkHkwciRpZraG/xwT+s2JN8+pr1+8jCRf80FFzvr+MpQeeoF4Xg== - dependencies: - arr-union "^3.1.0" - get-value "^2.0.6" - is-extendable "^0.1.1" - set-value "^2.0.1" - -uniq@^1.0.1: - version "1.0.1" - resolved "https://registry.yarnpkg.com/uniq/-/uniq-1.0.1.tgz#b31c5ae8254844a3a8281541ce2b04b865a734ff" - integrity sha512-Gw+zz50YNKPDKXs+9d+aKAjVwpjNwqzvNpLigIruT4HA9lMZNdMqs9x07kKHB/L9WRzqp4+DlTU5s4wG2esdoA== - -unique-filename@^2.0.0: - version "2.0.1" - resolved "https://registry.yarnpkg.com/unique-filename/-/unique-filename-2.0.1.tgz#e785f8675a9a7589e0ac77e0b5c34d2eaeac6da2" - integrity sha512-ODWHtkkdx3IAR+veKxFV+VBkUMcN+FaqzUUd7IZzt+0zhDZFPFxhlqwPF3YQvMHx1TD0tdgYl+kuPnJ8E6ql7A== - dependencies: - unique-slug "^3.0.0" - -unique-slug@^3.0.0: - version "3.0.0" - resolved "https://registry.yarnpkg.com/unique-slug/-/unique-slug-3.0.0.tgz#6d347cf57c8a7a7a6044aabd0e2d74e4d76dc7c9" - integrity sha512-8EyMynh679x/0gqE9fT9oilG+qEt+ibFyqjuVTsZn1+CMxH+XLlpvr2UZx4nVcCwTpx81nICr2JQFkM+HPLq4w== - dependencies: - imurmurhash "^0.1.4" - -unique-string@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/unique-string/-/unique-string-2.0.0.tgz#39c6451f81afb2749de2b233e3f7c5e8843bd89d" - integrity sha512-uNaeirEPvpZWSgzwsPGtU2zVSTrn/8L5q/IexZmH0eH6SA73CmAA5U4GwORTxQAZs95TAXLNqeLoPPNO5gZfWg== - dependencies: - crypto-random-string "^2.0.0" - -unist-util-inspect@^7.0.0: - version "7.0.2" - resolved "https://registry.yarnpkg.com/unist-util-inspect/-/unist-util-inspect-7.0.2.tgz#858e4f02ee4053f7c6ada8bc81662901a0ee1893" - integrity sha512-Op0XnmHUl6C2zo/yJCwhXQSm/SmW22eDZdWP2qdf4WpGrgO1ZxFodq+5zFyeRGasFjJotAnLgfuD1jkcKqiH1Q== - dependencies: - "@types/unist" "^2.0.0" - -unist-util-is@^5.0.0: - version "5.2.1" - resolved "https://registry.yarnpkg.com/unist-util-is/-/unist-util-is-5.2.1.tgz#b74960e145c18dcb6226bc57933597f5486deae9" - integrity sha512-u9njyyfEh43npf1M+yGKDGVPbY/JWEemg5nH05ncKPfi+kBbKBJoTdsogMu33uhytuLlv9y0O7GH7fEdwLdLQw== - dependencies: - "@types/unist" "^2.0.0" - -unist-util-is@^6.0.0: - version "6.0.0" - resolved "https://registry.yarnpkg.com/unist-util-is/-/unist-util-is-6.0.0.tgz#b775956486aff107a9ded971d996c173374be424" - integrity sha512-2qCTHimwdxLfz+YzdGfkqNlH0tLi9xjTnHddPmJwtIG9MGsdbutfTc4P+haPD7l7Cjxf/WZj+we5qfVPvvxfYw== - dependencies: - "@types/unist" "^3.0.0" - -unist-util-position-from-estree@^1.0.0, unist-util-position-from-estree@^1.1.0: - version "1.1.2" - resolved "https://registry.yarnpkg.com/unist-util-position-from-estree/-/unist-util-position-from-estree-1.1.2.tgz#8ac2480027229de76512079e377afbcabcfcce22" - integrity sha512-poZa0eXpS+/XpoQwGwl79UUdea4ol2ZuCYguVaJS4qzIOMDzbqz8a3erUCOmubSZkaOuGamb3tX790iwOIROww== - dependencies: - "@types/unist" "^2.0.0" - -unist-util-remove-position@^4.0.0: - version "4.0.2" - resolved "https://registry.yarnpkg.com/unist-util-remove-position/-/unist-util-remove-position-4.0.2.tgz#a89be6ea72e23b1a402350832b02a91f6a9afe51" - integrity sha512-TkBb0HABNmxzAcfLf4qsIbFbaPDvMO6wa3b3j4VcEzFVaw1LBKwnW4/sRJ/atSLSzoIg41JWEdnE7N6DIhGDGQ== - dependencies: - "@types/unist" "^2.0.0" - unist-util-visit "^4.0.0" - -unist-util-stringify-position@^2.0.0: - version "2.0.3" - resolved "https://registry.yarnpkg.com/unist-util-stringify-position/-/unist-util-stringify-position-2.0.3.tgz#cce3bfa1cdf85ba7375d1d5b17bdc4cada9bd9da" - integrity sha512-3faScn5I+hy9VleOq/qNbAd6pAx7iH5jYBMS9I1HgQVijz/4mv5Bvw5iw1sC/90CODiKo81G/ps8AJrISn687g== - dependencies: - "@types/unist" "^2.0.2" - -unist-util-stringify-position@^3.0.0: - version "3.0.3" - resolved "https://registry.yarnpkg.com/unist-util-stringify-position/-/unist-util-stringify-position-3.0.3.tgz#03ad3348210c2d930772d64b489580c13a7db39d" - integrity sha512-k5GzIBZ/QatR8N5X2y+drfpWG8IDBzdnVj6OInRNWm1oXrzydiaAT2OQiA8DPRRZyAKb9b6I2a6PxYklZD0gKg== - dependencies: - "@types/unist" "^2.0.0" - -unist-util-stringify-position@^4.0.0: - version "4.0.0" - resolved "https://registry.yarnpkg.com/unist-util-stringify-position/-/unist-util-stringify-position-4.0.0.tgz#449c6e21a880e0855bf5aabadeb3a740314abac2" - integrity sha512-0ASV06AAoKCDkS2+xw5RXJywruurpbC4JZSm7nr7MOt1ojAzvyyaO+UxZf18j8FCF6kmzCZKcAgN/yu2gm2XgQ== - dependencies: - "@types/unist" "^3.0.0" - -unist-util-visit-parents@^5.1.1: - version "5.1.3" - resolved "https://registry.yarnpkg.com/unist-util-visit-parents/-/unist-util-visit-parents-5.1.3.tgz#b4520811b0ca34285633785045df7a8d6776cfeb" - integrity sha512-x6+y8g7wWMyQhL1iZfhIPhDAs7Xwbn9nRosDXl7qoPTSCy0yNxnKc+hWokFifWQIDGi154rdUqKvbCa4+1kLhg== - dependencies: - "@types/unist" "^2.0.0" - unist-util-is "^5.0.0" - -unist-util-visit-parents@^6.0.0: - version "6.0.1" - resolved "https://registry.yarnpkg.com/unist-util-visit-parents/-/unist-util-visit-parents-6.0.1.tgz#4d5f85755c3b8f0dc69e21eca5d6d82d22162815" - integrity sha512-L/PqWzfTP9lzzEa6CKs0k2nARxTdZduw3zyh8d2NVBnsyvHjSX4TWse388YrrQKbvI8w20fGjGlhgT96WwKykw== - dependencies: - "@types/unist" "^3.0.0" - unist-util-is "^6.0.0" - -unist-util-visit@^4.0.0, unist-util-visit@^4.1.2: - version "4.1.2" - resolved "https://registry.yarnpkg.com/unist-util-visit/-/unist-util-visit-4.1.2.tgz#125a42d1eb876283715a3cb5cceaa531828c72e2" - integrity sha512-MSd8OUGISqHdVvfY9TPhyK2VdUrPgxkUtWSuMHF6XAAFuL4LokseigBnZtPnJMu+FbynTkFNnFlyjxpVKujMRg== - dependencies: - "@types/unist" "^2.0.0" - unist-util-is "^5.0.0" - unist-util-visit-parents "^5.1.1" - -unist-util-visit@^5.0.0: - version "5.0.0" - resolved "https://registry.yarnpkg.com/unist-util-visit/-/unist-util-visit-5.0.0.tgz#a7de1f31f72ffd3519ea71814cccf5fd6a9217d6" - integrity sha512-MR04uvD+07cwl/yhVuVWAtw+3GOR/knlL55Nd/wAdblk27GCVt3lqpTivy/tkJcZoNPzTwS1Y+KMojlLDhoTzg== - dependencies: - "@types/unist" "^3.0.0" - unist-util-is "^6.0.0" - unist-util-visit-parents "^6.0.0" - -universal-user-agent@^6.0.0: - version "6.0.1" - resolved "https://registry.yarnpkg.com/universal-user-agent/-/universal-user-agent-6.0.1.tgz#15f20f55da3c930c57bddbf1734c6654d5fd35aa" - integrity sha512-yCzhz6FN2wU1NiiQRogkTQszlQSlpWaw8SvVegAc+bDxbzHgh1vX8uIe8OYyMH6DwH+sdTJsgMl36+mSMdRJIQ== - -universalify@^0.1.0: - version "0.1.2" - resolved "https://registry.yarnpkg.com/universalify/-/universalify-0.1.2.tgz#b646f69be3942dabcecc9d6639c80dc105efaa66" - integrity sha512-rBJeI5CXAlmy1pV+617WB9J63U6XcazHHF2f2dbJix4XzpUF0RS3Zbj0FGIOCAva5P/d/GBOYaACQ1w+0azUkg== - -universalify@^0.2.0: - version "0.2.0" - resolved "https://registry.yarnpkg.com/universalify/-/universalify-0.2.0.tgz#6451760566fa857534745ab1dde952d1b1761be0" - integrity sha512-CJ1QgKmNg3CwvAv/kOFmtnEN05f0D/cn9QntgNOQlQF9dgvVTHj3t+8JPdjqawCHk7V/KA+fbUqzZ9XWhcqPUg== - -universalify@^2.0.0: - version "2.0.1" - resolved "https://registry.yarnpkg.com/universalify/-/universalify-2.0.1.tgz#168efc2180964e6386d061e094df61afe239b18d" - integrity sha512-gptHNQghINnc/vTGIk0SOFGFNXw7JVrlRUtConJRlvaw6DuX0wO5Jeko9sWrMBhh+PsYAZ7oXAiOnf/UKogyiw== - -unixify@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/unixify/-/unixify-1.0.0.tgz#3a641c8c2ffbce4da683a5c70f03a462940c2090" - integrity sha512-6bc58dPYhCMHHuwxldQxO3RRNZ4eCogZ/st++0+fcC1nr0jiGUtAdBJ2qzmLQWSxbtz42pWt4QQMiZ9HvZf5cg== - dependencies: - normalize-path "^2.1.1" - -unpipe@1.0.0, unpipe@~1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/unpipe/-/unpipe-1.0.0.tgz#b2bf4ee8514aae6165b4817829d21b2ef49904ec" - integrity sha512-pjy2bYhSsufwWlKwPc+l3cN7+wuJlK6uz0YdJEOlQDbl6jo/YlPi4mb8agUkVC8BF7V8NuzeyPNqRksA3hztKQ== - -unplugin@^1.3.1: - version "1.14.1" - resolved "https://registry.yarnpkg.com/unplugin/-/unplugin-1.14.1.tgz#c76d6155a661e43e6a897bce6b767a1ecc344c1a" - integrity sha512-lBlHbfSFPToDYp9pjXlUEFVxYLaue9f9T1HC+4OHlmj+HnMDdz9oZY+erXfoCe/5V/7gKUSY2jpXPb9S7f0f/w== - dependencies: - acorn "^8.12.1" - webpack-virtual-modules "^0.6.2" - -unset-value@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/unset-value/-/unset-value-1.0.0.tgz#8376873f7d2335179ffb1e6fc3a8ed0dfc8ab559" - integrity sha512-PcA2tsuGSF9cnySLHTLSh2qrQiJ70mn+r+Glzxv2TWZblxsxCC52BDlZoPCsz7STd9pN7EZetkWZBAvk4cgZdQ== - dependencies: - has-value "^0.3.1" - isobject "^3.0.0" - -untildify@^3.0.3: - version "3.0.3" - resolved "https://registry.yarnpkg.com/untildify/-/untildify-3.0.3.tgz#1e7b42b140bcfd922b22e70ca1265bfe3634c7c9" - integrity sha512-iSk/J8efr8uPT/Z4eSUywnqyrQU7DSdMfdqK4iWEaUVVmcP5JcnpRqmVMwcwcnmI1ATFNgC5V90u09tBynNFKA== - -untildify@^4.0.0: - version "4.0.0" - resolved "https://registry.yarnpkg.com/untildify/-/untildify-4.0.0.tgz#2bc947b953652487e4600949fb091e3ae8cd919b" - integrity sha512-KK8xQ1mkzZeg9inewmFVDNkg3l5LUhoq9kN6iWYB/CC9YMG8HA+c1Q8HwDe6dEX7kErrEVNVBO3fWsVq5iDgtw== - -upath@^2.0.1: - version "2.0.1" - resolved "https://registry.yarnpkg.com/upath/-/upath-2.0.1.tgz#50c73dea68d6f6b990f51d279ce6081665d61a8b" - integrity sha512-1uEe95xksV1O0CYKXo8vQvN1JEbtJp7lb7C5U9HMsIp6IVwntkH/oNUzyVNQSd4S1sYk2FpSSW44FqMc8qee5w== - -update-browserslist-db@^1.1.0: - version "1.1.1" - resolved "https://registry.yarnpkg.com/update-browserslist-db/-/update-browserslist-db-1.1.1.tgz#80846fba1d79e82547fb661f8d141e0945755fe5" - integrity sha512-R8UzCaa9Az+38REPiJ1tXlImTJXlVfgHZsglwBD/k6nj76ctsH1E3q4doGrukiLQd3sGQYu56r5+lo5r94l29A== - dependencies: - escalade "^3.2.0" - picocolors "^1.1.0" - -update-check@1.5.4: - version "1.5.4" - resolved "https://registry.yarnpkg.com/update-check/-/update-check-1.5.4.tgz#5b508e259558f1ad7dbc8b4b0457d4c9d28c8743" - integrity sha512-5YHsflzHP4t1G+8WGPlvKbJEbAJGCgw+Em+dGR1KmBUbr1J36SJBqlHLjR7oob7sco5hWHGQVcr9B2poIVDDTQ== - dependencies: - registry-auth-token "3.3.2" - registry-url "3.1.0" - -update-notifier@^5.0.0: - version "5.1.0" - resolved "https://registry.yarnpkg.com/update-notifier/-/update-notifier-5.1.0.tgz#4ab0d7c7f36a231dd7316cf7729313f0214d9ad9" - integrity sha512-ItnICHbeMh9GqUy31hFPrD1kcuZ3rpxDZbf4KUDavXwS0bW5m7SLbDQpGX3UYr072cbrF5hFUs3r5tUsPwjfHw== - dependencies: - boxen "^5.0.0" - chalk "^4.1.0" - configstore "^5.0.1" - has-yarn "^2.1.0" - import-lazy "^2.1.0" - is-ci "^2.0.0" - is-installed-globally "^0.4.0" - is-npm "^5.0.0" - is-yarn-global "^0.3.0" - latest-version "^5.1.0" - pupa "^2.1.1" - semver "^7.3.4" - semver-diff "^3.1.1" - xdg-basedir "^4.0.0" - -uri-js@^4.2.2: - version "4.4.1" - resolved "https://registry.yarnpkg.com/uri-js/-/uri-js-4.4.1.tgz#9b1a52595225859e55f669d928f88c6c57f2a77e" - integrity sha512-7rKUyy33Q1yc98pQ1DAmLtwX109F7TIfWlW1Ydo8Wl1ii1SeHieeh0HHfPeL2fMXK6z0s8ecKs9frCuLJvndBg== - dependencies: - punycode "^2.1.0" - -urix@^0.1.0: - version "0.1.0" - resolved "https://registry.yarnpkg.com/urix/-/urix-0.1.0.tgz#da937f7a62e21fec1fd18d49b35c2935067a6c72" - integrity sha512-Am1ousAhSLBeB9cG/7k7r2R0zj50uDRlZHPGbazid5s9rlF1F/QKYObEKSIunSjIOkJZqwRRLpvewjEkM7pSqg== - -url-parse-lax@^3.0.0: - version "3.0.0" - resolved "https://registry.yarnpkg.com/url-parse-lax/-/url-parse-lax-3.0.0.tgz#16b5cafc07dbe3676c1b1999177823d6503acb0c" - integrity sha512-NjFKA0DidqPa5ciFcSrXnAltTtzz84ogy+NebPvfEgAck0+TNg4UJ4IN+fB7zRZfbgUf0syOo9MDxFkDSMuFaQ== - dependencies: - prepend-http "^2.0.0" - -url-parse@^1.5.3: - version "1.5.10" - resolved "https://registry.yarnpkg.com/url-parse/-/url-parse-1.5.10.tgz#9d3c2f736c1d75dd3bd2be507dcc111f1e2ea9c1" - integrity sha512-WypcfiRhfeUP9vvF0j6rw0J3hrWrw6iZv3+22h6iRMJ/8z1Tj6XfLP4DsUix5MhMPnXpiHDoKyoZ/bdCkwBCiQ== - dependencies: - querystringify "^2.1.1" - requires-port "^1.0.0" - -url-to-options@^1.0.1: - version "1.0.1" - resolved "https://registry.yarnpkg.com/url-to-options/-/url-to-options-1.0.1.tgz#1505a03a289a48cbd7a434efbaeec5055f5633a9" - integrity sha512-0kQLIzG4fdk/G5NONku64rSH/x32NOA39LVQqlK8Le6lvTF6GGRJpqaQFGgU+CLwySIqBSMdwYM0sYcW9f6P4A== - -url@^0.11.0: - version "0.11.4" - resolved "https://registry.yarnpkg.com/url/-/url-0.11.4.tgz#adca77b3562d56b72746e76b330b7f27b6721f3c" - integrity sha512-oCwdVC7mTuWiPyjLUz/COz5TLk6wgp0RCsN+wHZ2Ekneac9w8uuV0njcbbie2ME+Vs+d6duwmYuR3HgQXs1fOg== - dependencies: - punycode "^1.4.1" - qs "^6.12.3" - -use-debounce@10.0.4: - version "10.0.4" - resolved "https://registry.yarnpkg.com/use-debounce/-/use-debounce-10.0.4.tgz#2135be498ad855416c4495cfd8e0e130bd33bb24" - integrity sha512-6Cf7Yr7Wk7Kdv77nnJMf6de4HuDE4dTxKij+RqE9rufDsI6zsbjyAxcH5y2ueJCQAnfgKbzXbZHYlkFwmBlWkw== - -use-sync-external-store@^1.2.0: - version "1.2.2" - resolved "https://registry.yarnpkg.com/use-sync-external-store/-/use-sync-external-store-1.2.2.tgz#c3b6390f3a30eba13200d2302dcdf1e7b57b2ef9" - integrity sha512-PElTlVMwpblvbNqQ82d2n6RjStvdSoNe9FG28kNfz3WiXilJm4DdNkEzRhCZuIDwY8U08WVihhGR5iRqAwfDiw== - -use@^3.1.0: - version "3.1.1" - resolved "https://registry.yarnpkg.com/use/-/use-3.1.1.tgz#d50c8cac79a19fbc20f2911f56eb973f4e10070f" - integrity sha512-cwESVXlO3url9YWlFW/TA9cshCEhtu7IKJ/p5soJ/gGpj7vbvFrAY/eIioQ6Dw23KjZhYgiIo8HOs1nQ2vr/oQ== - -util-deprecate@^1.0.1, util-deprecate@^1.0.2, util-deprecate@~1.0.1: - version "1.0.2" - resolved "https://registry.yarnpkg.com/util-deprecate/-/util-deprecate-1.0.2.tgz#450d4dc9fa70de732762fbd2d4a28981419a0ccf" - integrity sha512-EPD5q1uXyFxJpCrLnCc1nHnq3gOa6DZBocAIiI2TaSCA7VCJ1UJDMagCzIkXNsUYfD1daK//LTEQ8xiIbrHtcw== - -util@^0.12.4, util@^0.12.5: - version "0.12.5" - resolved "https://registry.yarnpkg.com/util/-/util-0.12.5.tgz#5f17a6059b73db61a875668781a1c2b136bd6fbc" - integrity sha512-kZf/K6hEIrWHI6XqOFUiiMa+79wE/D8Q+NCNAWclkyg3b4d2k7s0QGepNjiABc+aR3N1PAyHL7p6UcLY6LmrnA== - dependencies: - inherits "^2.0.3" - is-arguments "^1.0.4" - is-generator-function "^1.0.7" - is-typed-array "^1.1.3" - which-typed-array "^1.1.2" - -utila@~0.4: - version "0.4.0" - resolved "https://registry.yarnpkg.com/utila/-/utila-0.4.0.tgz#8a16a05d445657a3aea5eecc5b12a4fa5379772c" - integrity sha512-Z0DbgELS9/L/75wZbro8xAnT50pBVFQZ+hUEueGDU5FN51YSCYM+jdxsfCiHjwNP/4LCDD0i/graKpeBnOXKRA== - -utils-merge@1.0.1: - version "1.0.1" - resolved "https://registry.yarnpkg.com/utils-merge/-/utils-merge-1.0.1.tgz#9f95710f50a267947b2ccc124741c1028427e713" - integrity sha512-pMZTvIkT1d+TFGvDOqodOclx0QWkkgi6Tdoa8gC8ffGAAqz9pzPTZWAybbsHHoED/ztMtkv/VoYTYyShUn81hA== - -uuid@8.3.2, uuid@^8.0.0, uuid@^8.3.2: - version "8.3.2" - resolved "https://registry.yarnpkg.com/uuid/-/uuid-8.3.2.tgz#80d5b5ced271bb9af6c445f21a1a04c606cefbe2" - integrity sha512-+NYs2QeMWy+GWFOEm9xnn6HCDp0l7QBD7ml8zLUmJ+93Q5NF0NocErnwkTkXVFNiX3/fpC6afS8Dhb/gz7R7eg== - -uuid@^9.0.0: - version "9.0.1" - resolved "https://registry.yarnpkg.com/uuid/-/uuid-9.0.1.tgz#e188d4c8853cc722220392c424cd637f32293f30" - integrity sha512-b+1eJOlsR9K8HJpow9Ok3fiWOWSIcIzXodvv0rQjVoOVNpWMpxf1wZNpt4y9h10odCNrqnYp1OBzRktckBe3sA== - -uvu@^0.5.0, uvu@^0.5.6: - version "0.5.6" - resolved "https://registry.yarnpkg.com/uvu/-/uvu-0.5.6.tgz#2754ca20bcb0bb59b64e9985e84d2e81058502df" - integrity sha512-+g8ENReyr8YsOc6fv/NVJs2vFdHBnBNdfE49rshrTzDWOlUx4Gq7KOS2GD8eqhy2j+Ejq29+SbKH8yjkAqXqoA== - dependencies: - dequal "^2.0.0" - diff "^5.0.0" - kleur "^4.0.3" - sade "^1.7.3" - -v8-compile-cache@2.3.0: - version "2.3.0" - resolved "https://registry.yarnpkg.com/v8-compile-cache/-/v8-compile-cache-2.3.0.tgz#2de19618c66dc247dcfb6f99338035d8245a2cee" - integrity sha512-l8lCEmLcLYZh4nbunNZvQCJc5pv7+RCwa8q/LdUx8u7lsWvPDKmpodJAJNwkAhJC//dFY48KuIEmjtd4RViDrA== - -v8-compile-cache@^2.3.0: - version "2.4.0" - resolved "https://registry.yarnpkg.com/v8-compile-cache/-/v8-compile-cache-2.4.0.tgz#cdada8bec61e15865f05d097c5f4fd30e94dc128" - integrity sha512-ocyWc3bAHBB/guyqJQVI5o4BZkPhznPYUG2ea80Gond/BgNWpap8TOmLSeeQG7bnh2KMISxskdADG59j7zruhw== - -v8-to-istanbul@^9.0.1: - version "9.3.0" - resolved "https://registry.yarnpkg.com/v8-to-istanbul/-/v8-to-istanbul-9.3.0.tgz#b9572abfa62bd556c16d75fdebc1a411d5ff3175" - integrity sha512-kiGUalWN+rgBJ/1OHZsBtU4rXZOfj/7rKQxULKlIzwzQSvMJUUNgPwJEEh7gU6xEVxC0ahoOBvN2YI8GH6FNgA== - dependencies: - "@jridgewell/trace-mapping" "^0.3.12" - "@types/istanbul-lib-coverage" "^2.0.1" - convert-source-map "^2.0.0" - -validate-npm-package-license@3.0.4, validate-npm-package-license@^3.0.1, validate-npm-package-license@^3.0.4: - version "3.0.4" - resolved "https://registry.yarnpkg.com/validate-npm-package-license/-/validate-npm-package-license-3.0.4.tgz#fc91f6b9c7ba15c857f4cb2c5defeec39d4f410a" - integrity sha512-DpKm2Ui/xN7/HQKCtpZxoRWBhZ9Z0kqtygG8XCgNQ8ZlDnxuQmWhj566j8fN4Cu3/JmbhsDo7fcAJq4s9h27Ew== - dependencies: - spdx-correct "^3.0.0" - spdx-expression-parse "^3.0.0" - -validate-npm-package-name@4.0.0, validate-npm-package-name@^4.0.0: - version "4.0.0" - resolved "https://registry.yarnpkg.com/validate-npm-package-name/-/validate-npm-package-name-4.0.0.tgz#fe8f1c50ac20afdb86f177da85b3600f0ac0d747" - integrity sha512-mzR0L8ZDktZjpX4OB46KT+56MAhl4EIazWP/+G/HPGuvfdaqg4YsCdtOm6U9+LOFyYDoh4dpnpxZRB9MQQns5Q== - dependencies: - builtins "^5.0.0" - -validate-npm-package-name@^3.0.0: - version "3.0.0" - resolved "https://registry.yarnpkg.com/validate-npm-package-name/-/validate-npm-package-name-3.0.0.tgz#5fa912d81eb7d0c74afc140de7317f0ca7df437e" - integrity sha512-M6w37eVCMMouJ9V/sdPGnC5H4uDr73/+xdq0FBLO3TFFX1+7wiUY6Es328NN+y43tmY+doUdN9g9J21vqB7iLw== - dependencies: - builtins "^1.0.3" - -vary@~1.1.2: - version "1.1.2" - resolved "https://registry.yarnpkg.com/vary/-/vary-1.1.2.tgz#2299f02c6ded30d4a5961b0b9f74524a18f634fc" - integrity sha512-BNGbWLfd0eUPabhkXUVm0j8uuvREyTh5ovRa/dyow/BqAbZJyC+5fU+IzQOzmAKzYqYRAISoRhdQr3eIZ/PXqg== - -vfile-message@^3.0.0: - version "3.1.4" - resolved "https://registry.yarnpkg.com/vfile-message/-/vfile-message-3.1.4.tgz#15a50816ae7d7c2d1fa87090a7f9f96612b59dea" - integrity sha512-fa0Z6P8HUrQN4BZaX05SIVXic+7kE3b05PWAtPuYP9QLHsLKYR7/AlLW3NtOrpXRLeawpDLMsVkmk5DG0NXgWw== - dependencies: - "@types/unist" "^2.0.0" - unist-util-stringify-position "^3.0.0" - -vfile-message@^4.0.0: - version "4.0.2" - resolved "https://registry.yarnpkg.com/vfile-message/-/vfile-message-4.0.2.tgz#c883c9f677c72c166362fd635f21fc165a7d1181" - integrity sha512-jRDZ1IMLttGj41KcZvlrYAaI3CfqpLpfpf+Mfig13viT6NKvRzWZ+lXz0Y5D60w6uJIBAOGq9mSHf0gktF0duw== - dependencies: - "@types/unist" "^3.0.0" - unist-util-stringify-position "^4.0.0" - -vfile-reporter@^7.0.0: - version "7.0.5" - resolved "https://registry.yarnpkg.com/vfile-reporter/-/vfile-reporter-7.0.5.tgz#a0cbf3922c08ad428d6db1161ec64a53b5725785" - integrity sha512-NdWWXkv6gcd7AZMvDomlQbK3MqFWL1RlGzMn++/O2TI+68+nqxCPTvLugdOtfSzXmjh+xUyhp07HhlrbJjT+mw== - dependencies: - "@types/supports-color" "^8.0.0" - string-width "^5.0.0" - supports-color "^9.0.0" - unist-util-stringify-position "^3.0.0" - vfile "^5.0.0" - vfile-message "^3.0.0" - vfile-sort "^3.0.0" - vfile-statistics "^2.0.0" - -vfile-sort@^3.0.0: - version "3.0.1" - resolved "https://registry.yarnpkg.com/vfile-sort/-/vfile-sort-3.0.1.tgz#4b06ec63e2946749b0bb514e736554cd75e441a2" - integrity sha512-1os1733XY6y0D5x0ugqSeaVJm9lYgj0j5qdcZQFyxlZOSy1jYarL77lLyb5gK4Wqr1d5OxmuyflSO3zKyFnTFw== - dependencies: - vfile "^5.0.0" - vfile-message "^3.0.0" - -vfile-statistics@^2.0.0: - version "2.0.1" - resolved "https://registry.yarnpkg.com/vfile-statistics/-/vfile-statistics-2.0.1.tgz#2e1adae1cd3a45c1ed4f2a24bd103c3d71e4bce3" - integrity sha512-W6dkECZmP32EG/l+dp2jCLdYzmnDBIw6jwiLZSER81oR5AHRcVqL+k3Z+pfH1R73le6ayDkJRMk0sutj1bMVeg== - dependencies: - vfile "^5.0.0" - vfile-message "^3.0.0" - -vfile@^5.0.0, vfile@^5.1.0, vfile@^5.3.7: - version "5.3.7" - resolved "https://registry.yarnpkg.com/vfile/-/vfile-5.3.7.tgz#de0677e6683e3380fafc46544cfe603118826ab7" - integrity sha512-r7qlzkgErKjobAmyNIkkSpizsFPYiUPuJb5pNW1RB4JcYVZhs4lIbVqk8XPk033CV/1z8ss5pkax8SuhGpcG8g== - dependencies: - "@types/unist" "^2.0.0" - is-buffer "^2.0.0" - unist-util-stringify-position "^3.0.0" - vfile-message "^3.0.0" - -vfile@^6.0.0: - version "6.0.3" - resolved "https://registry.yarnpkg.com/vfile/-/vfile-6.0.3.tgz#3652ab1c496531852bf55a6bac57af981ebc38ab" - integrity sha512-KzIbH/9tXat2u30jf+smMwFCsno4wHVdNmzFyL+T/L3UGqqk6JKfVqOFOZEpZSHADH1k40ab6NUIXZq422ov3Q== - dependencies: - "@types/unist" "^3.0.0" - vfile-message "^4.0.0" - -w3c-xmlserializer@^4.0.0: - version "4.0.0" - resolved "https://registry.yarnpkg.com/w3c-xmlserializer/-/w3c-xmlserializer-4.0.0.tgz#aebdc84920d806222936e3cdce408e32488a3073" - integrity sha512-d+BFHzbiCx6zGfz0HyQ6Rg69w9k19nviJspaj4yNscGjrHu94sVP+aRm75yEbCh+r2/yR+7q6hux9LVtbuTGBw== - dependencies: - xml-name-validator "^4.0.0" - -wait-on@^7.0.0: - version "7.2.0" - resolved "https://registry.yarnpkg.com/wait-on/-/wait-on-7.2.0.tgz#d76b20ed3fc1e2bebc051fae5c1ff93be7892928" - integrity sha512-wCQcHkRazgjG5XoAq9jbTMLpNIjoSlZslrJ2+N9MxDsGEv1HnFoVjOCexL0ESva7Y9cu350j+DWADdk54s4AFQ== - dependencies: - axios "^1.6.1" - joi "^17.11.0" - lodash "^4.17.21" - minimist "^1.2.8" - rxjs "^7.8.1" - -wait-port@^0.2.2, wait-port@^0.2.9: - version "0.2.14" - resolved "https://registry.yarnpkg.com/wait-port/-/wait-port-0.2.14.tgz#6df40629be2c95aa4073ceb895abef7d872b28c6" - integrity sha512-kIzjWcr6ykl7WFbZd0TMae8xovwqcqbx6FM9l+7agOgUByhzdjfzZBPK2CPufldTOMxbUivss//Sh9MFawmPRQ== - dependencies: - chalk "^2.4.2" - commander "^3.0.2" - debug "^4.1.1" - -walk-up-path@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/walk-up-path/-/walk-up-path-1.0.0.tgz#d4745e893dd5fd0dbb58dd0a4c6a33d9c9fec53e" - integrity sha512-hwj/qMDUEjCU5h0xr90KGCf0tg0/LgJbmOWgrWKYlcJZM7XvquvUJZ0G/HMGr7F7OQMOUuPHWP9JpriinkAlkg== - -walk-up-path@^3.0.1: - version "3.0.1" - resolved "https://registry.yarnpkg.com/walk-up-path/-/walk-up-path-3.0.1.tgz#c8d78d5375b4966c717eb17ada73dbd41490e886" - integrity sha512-9YlCL/ynK3CTlrSRrDxZvUauLzAswPCrsaCgilqFevUYpeEW0/3ScEjaa3kbW/T0ghhkEr7mv+fpjqn1Y1YuTA== - -walker@^1.0.8: - version "1.0.8" - resolved "https://registry.yarnpkg.com/walker/-/walker-1.0.8.tgz#bd498db477afe573dc04185f011d3ab8a8d7653f" - integrity sha512-ts/8E8l5b7kY0vlWLewOkDXMmPdLcVV4GmOQLyxuSswIJsweeFZtAsMF7k1Nszz+TYBQrlYRmzOnr398y1JemQ== - dependencies: - makeerror "1.0.12" - -watchpack@^2.4.1: - version "2.4.2" - resolved "https://registry.yarnpkg.com/watchpack/-/watchpack-2.4.2.tgz#2feeaed67412e7c33184e5a79ca738fbd38564da" - integrity sha512-TnbFSbcOCcDgjZ4piURLCbJ3nJhznVh9kw6F6iokjiFPl8ONxe9A6nMDVXDiNbrSfLILs6vB07F7wLBrwPYzJw== - dependencies: - glob-to-regexp "^0.4.1" - graceful-fs "^4.1.2" - -wcwidth@^1.0.0, wcwidth@^1.0.1: - version "1.0.1" - resolved "https://registry.yarnpkg.com/wcwidth/-/wcwidth-1.0.1.tgz#f0b0dcf915bc5ff1528afadb2c0e17b532da2fe8" - integrity sha512-XHPEwS0q6TaxcvG85+8EYkbiCux2XtWG2mkc47Ng2A77BQu9+DqIOJldST4HgPkuea7dvKSj5VgX3P1d4rW8Tg== - dependencies: - defaults "^1.0.3" - -web-streams-polyfill@^3.0.3: - version "3.3.3" - resolved "https://registry.yarnpkg.com/web-streams-polyfill/-/web-streams-polyfill-3.3.3.tgz#2073b91a2fdb1fbfbd401e7de0ac9f8214cecb4b" - integrity sha512-d2JWLCivmZYTSIoge9MsgFCZrt571BikcWGYkjC1khllbTeDlGqZ2D8vD8E/lJa8WGWbb7Plm8/XJYV7IJHZZw== - -webidl-conversions@^3.0.0: - version "3.0.1" - resolved "https://registry.yarnpkg.com/webidl-conversions/-/webidl-conversions-3.0.1.tgz#24534275e2a7bc6be7bc86611cc16ae0a5654871" - integrity sha512-2JAn3z8AR6rjK8Sm8orRC0h/bcl/DqL7tRPdGZ4I1CjdF+EaMLmYxBHyXuKL849eucPFhvBoxMsflfOb8kxaeQ== - -webidl-conversions@^7.0.0: - version "7.0.0" - resolved "https://registry.yarnpkg.com/webidl-conversions/-/webidl-conversions-7.0.0.tgz#256b4e1882be7debbf01d05f0aa2039778ea080a" - integrity sha512-VwddBukDzu71offAQR975unBIGqfKZpM+8ZX6ySk8nYhVoo5CYaZyzt3YBvYtRtO+aoGlqxPg/B87NGVZ/fu6g== - -webpack-dev-middleware@^6.1.2: - version "6.1.3" - resolved "https://registry.yarnpkg.com/webpack-dev-middleware/-/webpack-dev-middleware-6.1.3.tgz#79f4103f8c898564c9e96c3a9c2422de50f249bc" - integrity sha512-A4ChP0Qj8oGociTs6UdlRUGANIGrCDL3y+pmQMc+dSsraXHCatFpmMey4mYELA+juqwUqwQsUgJJISXl1KWmiw== - dependencies: - colorette "^2.0.10" - memfs "^3.4.12" - mime-types "^2.1.31" - range-parser "^1.2.1" - schema-utils "^4.0.0" - -webpack-hot-middleware@^2.25.1: - version "2.26.1" - resolved "https://registry.yarnpkg.com/webpack-hot-middleware/-/webpack-hot-middleware-2.26.1.tgz#87214f1e3f9f3acab9271fef9e6ed7b637d719c0" - integrity sha512-khZGfAeJx6I8K9zKohEWWYN6KDlVw2DHownoe+6Vtwj1LP9WFgegXnVMSkZ/dBEBtXFwrkkydsaPFlB7f8wU2A== - dependencies: - ansi-html-community "0.0.8" - html-entities "^2.1.0" - strip-ansi "^6.0.0" - -webpack-sources@^3.2.3: - version "3.2.3" - resolved "https://registry.yarnpkg.com/webpack-sources/-/webpack-sources-3.2.3.tgz#2d4daab8451fd4b240cc27055ff6a0c2ccea0cde" - integrity sha512-/DyMEOrDgLKKIG0fmvtz+4dUX/3Ghozwgm6iPp8KRhvn+eQf9+Q7GWxVNMk3+uCPWfdXYC4ExGBckIXdFEfH1w== - -webpack-virtual-modules@^0.6.0, webpack-virtual-modules@^0.6.2: - version "0.6.2" - resolved "https://registry.yarnpkg.com/webpack-virtual-modules/-/webpack-virtual-modules-0.6.2.tgz#057faa9065c8acf48f24cb57ac0e77739ab9a7e8" - integrity sha512-66/V2i5hQanC51vBQKPH4aI8NMAcBW59FVBs+rC7eGHupMyfn34q7rZIE+ETlJ+XTevqfUhVVBgSUNSW2flEUQ== - -webpack@5: - version "5.95.0" - resolved "https://registry.yarnpkg.com/webpack/-/webpack-5.95.0.tgz#8fd8c454fa60dad186fbe36c400a55848307b4c0" - integrity sha512-2t3XstrKULz41MNMBF+cJ97TyHdyQ8HCt//pqErqDvNjU9YQBnZxIHa11VXsi7F3mb5/aO2tuDxdeTPdU7xu9Q== - dependencies: - "@types/estree" "^1.0.5" - "@webassemblyjs/ast" "^1.12.1" - "@webassemblyjs/wasm-edit" "^1.12.1" - "@webassemblyjs/wasm-parser" "^1.12.1" - acorn "^8.7.1" - acorn-import-attributes "^1.9.5" - browserslist "^4.21.10" - chrome-trace-event "^1.0.2" - enhanced-resolve "^5.17.1" - es-module-lexer "^1.2.1" - eslint-scope "5.1.1" - events "^3.2.0" - glob-to-regexp "^0.4.1" - graceful-fs "^4.2.11" - json-parse-even-better-errors "^2.3.1" - loader-runner "^4.2.0" - mime-types "^2.1.27" - neo-async "^2.6.2" - schema-utils "^3.2.0" - tapable "^2.1.1" - terser-webpack-plugin "^5.3.10" - watchpack "^2.4.1" - webpack-sources "^3.2.3" - -well-known-symbols@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/well-known-symbols/-/well-known-symbols-2.0.0.tgz#e9c7c07dbd132b7b84212c8174391ec1f9871ba5" - integrity sha512-ZMjC3ho+KXo0BfJb7JgtQ5IBuvnShdlACNkKkdsqBmYw3bPAaJfPeYUo6tLUaT5tG/Gkh7xkpBhKRQ9e7pyg9Q== - -whatwg-encoding@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/whatwg-encoding/-/whatwg-encoding-2.0.0.tgz#e7635f597fd87020858626805a2729fa7698ac53" - integrity sha512-p41ogyeMUrw3jWclHWTQg1k05DSVXPLcVxRTYsXUk+ZooOCZLcoYgPZ/HL/D/N+uQPOtcp1me1WhBEaX02mhWg== - dependencies: - iconv-lite "0.6.3" - -whatwg-mimetype@^3.0.0: - version "3.0.0" - resolved "https://registry.yarnpkg.com/whatwg-mimetype/-/whatwg-mimetype-3.0.0.tgz#5fa1a7623867ff1af6ca3dc72ad6b8a4208beba7" - integrity sha512-nt+N2dzIutVRxARx1nghPKGv1xHikU7HKdfafKkLNLindmPU/ch3U31NOCGGA/dmPcmb1VlofO0vnKAcsm0o/Q== - -whatwg-url@^11.0.0: - version "11.0.0" - resolved "https://registry.yarnpkg.com/whatwg-url/-/whatwg-url-11.0.0.tgz#0a849eebb5faf2119b901bb76fd795c2848d4018" - integrity sha512-RKT8HExMpoYx4igMiVMY83lN6UeITKJlBQ+vR/8ZJ8OCdSiN3RwCq+9gH0+Xzj0+5IrM6i4j/6LuvzbZIQgEcQ== - dependencies: - tr46 "^3.0.0" - webidl-conversions "^7.0.0" - -whatwg-url@^5.0.0: - version "5.0.0" - resolved "https://registry.yarnpkg.com/whatwg-url/-/whatwg-url-5.0.0.tgz#966454e8765462e37644d3626f6742ce8b70965d" - integrity sha512-saE57nupxk6v3HY35+jzBwYa0rKSy0XR8JSxZPwgLr7ys0IBzhGviA1/TUGJLmSVqs8pb9AnvICXEuOHLprYTw== - dependencies: - tr46 "~0.0.3" - webidl-conversions "^3.0.0" - -which-boxed-primitive@^1.0.2: - version "1.0.2" - resolved "https://registry.yarnpkg.com/which-boxed-primitive/-/which-boxed-primitive-1.0.2.tgz#13757bc89b209b049fe5d86430e21cf40a89a8e6" - integrity sha512-bwZdv0AKLpplFY2KZRX6TvyuN7ojjr7lwkg6ml0roIy9YeuSr7JS372qlNW18UQYzgYK9ziGcerWqZOmEn9VNg== - dependencies: - is-bigint "^1.0.1" - is-boolean-object "^1.1.0" - is-number-object "^1.0.4" - is-string "^1.0.5" - is-symbol "^1.0.3" - -which-builtin-type@^1.1.3: - version "1.1.4" - resolved "https://registry.yarnpkg.com/which-builtin-type/-/which-builtin-type-1.1.4.tgz#592796260602fc3514a1b5ee7fa29319b72380c3" - integrity sha512-bppkmBSsHFmIMSl8BO9TbsyzsvGjVoppt8xUiGzwiu/bhDCGxnpOKCxgqj6GuyHE0mINMDecBFPlOm2hzY084w== - dependencies: - function.prototype.name "^1.1.6" - has-tostringtag "^1.0.2" - is-async-function "^2.0.0" - is-date-object "^1.0.5" - is-finalizationregistry "^1.0.2" - is-generator-function "^1.0.10" - is-regex "^1.1.4" - is-weakref "^1.0.2" - isarray "^2.0.5" - which-boxed-primitive "^1.0.2" - which-collection "^1.0.2" - which-typed-array "^1.1.15" - -which-collection@^1.0.1, which-collection@^1.0.2: - version "1.0.2" - resolved "https://registry.yarnpkg.com/which-collection/-/which-collection-1.0.2.tgz#627ef76243920a107e7ce8e96191debe4b16c2a0" - integrity sha512-K4jVyjnBdgvc86Y6BkaLZEN933SwYOuBFkdmBu9ZfkcAbdVbpITnDmjvZ/aQjRXQrv5EPkTnD1s39GiiqbngCw== - dependencies: - is-map "^2.0.3" - is-set "^2.0.3" - is-weakmap "^2.0.2" - is-weakset "^2.0.3" - -which-module@^2.0.0: - version "2.0.1" - resolved "https://registry.yarnpkg.com/which-module/-/which-module-2.0.1.tgz#776b1fe35d90aebe99e8ac15eb24093389a4a409" - integrity sha512-iBdZ57RDvnOR9AGBhML2vFZf7h8vmBjhoaZqODJBFWHVtKkDmKuHai3cx5PgVMrX5YDNp27AofYbAwctSS+vhQ== - -which-typed-array@^1.1.13, which-typed-array@^1.1.14, which-typed-array@^1.1.15, which-typed-array@^1.1.2: - version "1.1.15" - resolved "https://registry.yarnpkg.com/which-typed-array/-/which-typed-array-1.1.15.tgz#264859e9b11a649b388bfaaf4f767df1f779b38d" - integrity sha512-oV0jmFtUky6CXfkqehVvBP/LSWJ2sy4vWMioiENyJLePrBO/yKyV9OyJySfAKosh+RYkIl5zJCNZ8/4JncrpdA== - dependencies: - available-typed-arrays "^1.0.7" - call-bind "^1.0.7" - for-each "^0.3.3" - gopd "^1.0.1" - has-tostringtag "^1.0.2" - -which@^1.2.12, which@^1.2.9, which@^1.3.1: - version "1.3.1" - resolved "https://registry.yarnpkg.com/which/-/which-1.3.1.tgz#a45043d54f5805316da8d62f9f50918d3da70b0a" - integrity sha512-HxJdYWq1MTIQbJ3nw0cqssHoTNU267KlrDuGZ1WYlxDStUtKUhOaJmh112/TZmHxxUfuJqPXSOm7tDyas0OSIQ== - dependencies: - isexe "^2.0.0" - -which@^2.0.1, which@^2.0.2: - version "2.0.2" - resolved "https://registry.yarnpkg.com/which/-/which-2.0.2.tgz#7c6a8dd0a636a0327e10b59c9286eee93f3f51b1" - integrity sha512-BLI3Tl1TW3Pvl70l3yq3Y64i+awpwXqsGBYWkkqMtnbXgrMD+yj7rhW0kuEDxzJaYXGjEW5ogapKNMEKNMjibA== - dependencies: - isexe "^2.0.0" - -wide-align@^1.1.0, wide-align@^1.1.2, wide-align@^1.1.5: - version "1.1.5" - resolved "https://registry.yarnpkg.com/wide-align/-/wide-align-1.1.5.tgz#df1d4c206854369ecf3c9a4898f1b23fbd9d15d3" - integrity sha512-eDMORYaPNZ4sQIuuYPDHdQvf4gyCF9rEEV/yPxGfwPkRodwEgiMUUXTx/dex+Me0wxx53S+NgUHaP7y3MGlDmg== - dependencies: - string-width "^1.0.2 || 2 || 3 || 4" - -widest-line@^3.1.0: - version "3.1.0" - resolved "https://registry.yarnpkg.com/widest-line/-/widest-line-3.1.0.tgz#8292333bbf66cb45ff0de1603b136b7ae1496eca" - integrity sha512-NsmoXalsWVDMGupxZ5R08ka9flZjjiLvHVAWYOKtiKM8ujtZWr9cRffak+uSE48+Ob8ObalXpwyeUiyDD6QFgg== - dependencies: - string-width "^4.0.0" - -widest-line@^4.0.1: - version "4.0.1" - resolved "https://registry.yarnpkg.com/widest-line/-/widest-line-4.0.1.tgz#a0fc673aaba1ea6f0a0d35b3c2795c9a9cc2ebf2" - integrity sha512-o0cyEG0e8GPzT4iGHphIOh0cJOV8fivsXxddQasHPHfoZf1ZexrfeA21w2NaEN1RHE+fXlfISmOE8R9N3u3Qig== - dependencies: - string-width "^5.0.1" - -windows-release@^5.0.1: - version "5.1.1" - resolved "https://registry.yarnpkg.com/windows-release/-/windows-release-5.1.1.tgz#7ac7019f9baeaea6c00ec889b11824f46c12ee8d" - integrity sha512-NMD00arvqcq2nwqc5Q6KtrSRHK+fVD31erE5FEMahAw5PmVCgD7MUXodq3pdZSUkqA9Cda2iWx6s1XYwiJWRmw== - dependencies: - execa "^5.1.1" - -winston-transport@^4.7.0: - version "4.8.0" - resolved "https://registry.yarnpkg.com/winston-transport/-/winston-transport-4.8.0.tgz#a15080deaeb80338455ac52c863418c74fcf38ea" - integrity sha512-qxSTKswC6llEMZKgCQdaWgDuMJQnhuvF5f2Nk3SNXc4byfQ+voo2mX1Px9dkNOuR8p0KAjfPG29PuYUSIb+vSA== - dependencies: - logform "^2.6.1" - readable-stream "^4.5.2" - triple-beam "^1.3.0" - -winston@^3.10.0, winston@^3.2.1: - version "3.15.0" - resolved "https://registry.yarnpkg.com/winston/-/winston-3.15.0.tgz#4df7b70be091bc1a38a4f45b969fa79589b73ff5" - integrity sha512-RhruH2Cj0bV0WgNL+lOfoUBI4DVfdUNjVnJGVovWZmrcKtrFTTRzgXYK2O9cymSGjrERCtaAeHwMNnUWXlwZow== - dependencies: - "@colors/colors" "^1.6.0" - "@dabh/diagnostics" "^2.0.2" - async "^3.2.3" - is-stream "^2.0.0" - logform "^2.6.0" - one-time "^1.0.0" - readable-stream "^3.4.0" - safe-stable-stringify "^2.3.1" - stack-trace "0.0.x" - triple-beam "^1.3.0" - winston-transport "^4.7.0" - -word-wrap@^1.2.5: - version "1.2.5" - resolved "https://registry.yarnpkg.com/word-wrap/-/word-wrap-1.2.5.tgz#d2c45c6dd4fbce621a66f136cbe328afd0410b34" - integrity sha512-BN22B5eaMMI9UMtjrGd5g5eCYPpCPDUy0FJXbYsaT5zYxjFOckS53SQDE3pWkVoWpHXVb3BrYcEN4Twa55B5cA== - -wordwrap@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/wordwrap/-/wordwrap-1.0.0.tgz#27584810891456a4171c8d0226441ade90cbcaeb" - integrity sha512-gvVzJFlPycKc5dZN4yPkP8w7Dc37BtP1yczEneOb4uq34pXZcvrtRTmWV8W+Ume+XCxKgbjM+nevkyFPMybd4Q== - -"wrap-ansi-cjs@npm:wrap-ansi@^7.0.0", wrap-ansi@^7.0.0: - version "7.0.0" - resolved "https://registry.yarnpkg.com/wrap-ansi/-/wrap-ansi-7.0.0.tgz#67e145cff510a6a6984bdf1152911d69d2eb9e43" - integrity sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q== - dependencies: - ansi-styles "^4.0.0" - string-width "^4.1.0" - strip-ansi "^6.0.0" - -wrap-ansi@^3.0.1: - version "3.0.1" - resolved "https://registry.yarnpkg.com/wrap-ansi/-/wrap-ansi-3.0.1.tgz#288a04d87eda5c286e060dfe8f135ce8d007f8ba" - integrity sha512-iXR3tDXpbnTpzjKSylUJRkLuOrEC7hwEB221cgn6wtF8wpmz28puFXAEfPT5zrjM3wahygB//VuWEr1vTkDcNQ== - dependencies: - string-width "^2.1.1" - strip-ansi "^4.0.0" - -wrap-ansi@^6.0.1, wrap-ansi@^6.2.0: - version "6.2.0" - resolved "https://registry.yarnpkg.com/wrap-ansi/-/wrap-ansi-6.2.0.tgz#e9393ba07102e6c91a3b221478f0257cd2856e53" - integrity sha512-r6lPcBGxZXlIcymEu7InxDMhdW0KDxpLgoFLcguasxCaJ/SOIZwINatK9KY/tf+ZrlywOKU0UDj3ATXUBfxJXA== - dependencies: - ansi-styles "^4.0.0" - string-width "^4.1.0" - strip-ansi "^6.0.0" - -wrap-ansi@^8.0.1, wrap-ansi@^8.1.0: - version "8.1.0" - resolved "https://registry.yarnpkg.com/wrap-ansi/-/wrap-ansi-8.1.0.tgz#56dc22368ee570face1b49819975d9b9a5ead214" - integrity sha512-si7QWI6zUMq56bESFvagtmzMdGOtoxfR+Sez11Mobfc7tm+VkUckk9bW2UeffTGVUbOksxmSw0AA2gs8g71NCQ== - dependencies: - ansi-styles "^6.1.0" - string-width "^5.0.1" - strip-ansi "^7.0.1" - -wrappy@1: - version "1.0.2" - resolved "https://registry.yarnpkg.com/wrappy/-/wrappy-1.0.2.tgz#b5243d8f3ec1aa35f1364605bc0d1036e30ab69f" - integrity sha512-l4Sp/DRseor9wL6EvV2+TuQn63dMkPjZ/sp9XkghTEbV9KlPS1xUsZ3u7/IQO4wxtcFB4bgpQPRcR3QCvezPcQ== - -write-file-atomic@4.0.1: - version "4.0.1" - resolved "https://registry.yarnpkg.com/write-file-atomic/-/write-file-atomic-4.0.1.tgz#9faa33a964c1c85ff6f849b80b42a88c2c537c8f" - integrity sha512-nSKUxgAbyioruk6hU87QzVbY279oYT6uiwgDoujth2ju4mJ+TZau7SQBhtbTmUyuNYTuXnSyRn66FV0+eCgcrQ== - dependencies: - imurmurhash "^0.1.4" - signal-exit "^3.0.7" - -write-file-atomic@^2.4.2: - version "2.4.3" - resolved "https://registry.yarnpkg.com/write-file-atomic/-/write-file-atomic-2.4.3.tgz#1fd2e9ae1df3e75b8d8c367443c692d4ca81f481" - integrity sha512-GaETH5wwsX+GcnzhPgKcKjJ6M2Cq3/iZp1WyY/X1CSqrW+jVNM9Y7D8EC2sM4ZG/V8wZlSniJnCKWPmBYAucRQ== - dependencies: - graceful-fs "^4.1.11" - imurmurhash "^0.1.4" - signal-exit "^3.0.2" - -write-file-atomic@^3.0.0, write-file-atomic@^3.0.3: - version "3.0.3" - resolved "https://registry.yarnpkg.com/write-file-atomic/-/write-file-atomic-3.0.3.tgz#56bd5c5a5c70481cd19c571bd39ab965a5de56e8" - integrity sha512-AvHcyZ5JnSfq3ioSyjrBkH9yW4m7Ayk8/9My/DD9onKeu/94fwrMocemO2QAJFAlnnDN+ZDS+ZjAR5ua1/PV/Q== - dependencies: - imurmurhash "^0.1.4" - is-typedarray "^1.0.0" - signal-exit "^3.0.2" - typedarray-to-buffer "^3.1.5" - -write-file-atomic@^4.0.0, write-file-atomic@^4.0.2: - version "4.0.2" - resolved "https://registry.yarnpkg.com/write-file-atomic/-/write-file-atomic-4.0.2.tgz#a9df01ae5b77858a027fd2e80768ee433555fcfd" - integrity sha512-7KxauUdBmSdWnmpaGFg+ppNjKF8uNLry8LyzjauQDOVONfFLNKrKvQOxZ/VuTIcS/gge/YNahf5RIIQWTSarlg== - dependencies: - imurmurhash "^0.1.4" - signal-exit "^3.0.7" - -write-json-file@^3.2.0: - version "3.2.0" - resolved "https://registry.yarnpkg.com/write-json-file/-/write-json-file-3.2.0.tgz#65bbdc9ecd8a1458e15952770ccbadfcff5fe62a" - integrity sha512-3xZqT7Byc2uORAatYiP3DHUUAVEkNOswEWNs9H5KXiicRTvzYzYqKjYc4G7p+8pltvAw641lVByKVtMpf+4sYQ== - dependencies: - detect-indent "^5.0.0" - graceful-fs "^4.1.15" - make-dir "^2.1.0" - pify "^4.0.1" - sort-keys "^2.0.0" - write-file-atomic "^2.4.2" - -write-pkg@4.0.0: - version "4.0.0" - resolved "https://registry.yarnpkg.com/write-pkg/-/write-pkg-4.0.0.tgz#675cc04ef6c11faacbbc7771b24c0abbf2a20039" - integrity sha512-v2UQ+50TNf2rNHJ8NyWttfm/EJUBWMJcx6ZTYZr6Qp52uuegWw/lBkCtCbnYZEmPRNL61m+u67dAmGxo+HTULA== - dependencies: - sort-keys "^2.0.0" - type-fest "^0.4.1" - write-json-file "^3.2.0" - -ws@^8.11.0, ws@^8.2.3: - version "8.18.0" - resolved "https://registry.yarnpkg.com/ws/-/ws-8.18.0.tgz#0d7505a6eafe2b0e712d232b42279f53bc289bbc" - integrity sha512-8VbfWfHLbbwu3+N6OKsOMpBdT4kXPDDB9cJk2bJ6mh9ucxdlnNvH1e+roYkKmN9Nxw2yjz7VzeO9oOz2zJ04Pw== - -xdg-basedir@^4.0.0: - version "4.0.0" - resolved "https://registry.yarnpkg.com/xdg-basedir/-/xdg-basedir-4.0.0.tgz#4bc8d9984403696225ef83a1573cbbcb4e79db13" - integrity sha512-PSNhEJDejZYV7h50BohL09Er9VaIefr2LMAf3OEmpCkjOi34eYyQYAXUTjEQtZJTKcF0E2UKTh+osDLsgNim9Q== - -xml-name-validator@^4.0.0: - version "4.0.0" - resolved "https://registry.yarnpkg.com/xml-name-validator/-/xml-name-validator-4.0.0.tgz#79a006e2e63149a8600f15430f0a4725d1524835" - integrity sha512-ICP2e+jsHvAj2E2lIHxa5tjXRlKDJo4IdvPvCXbXQGdzSfmSpNVyIKMvoZHjDY9DP0zV17iI85o90vRFXNccRw== - -xml@^1.0.1: - version "1.0.1" - resolved "https://registry.yarnpkg.com/xml/-/xml-1.0.1.tgz#78ba72020029c5bc87b8a81a3cfcd74b4a2fc1e5" - integrity sha512-huCv9IH9Tcf95zuYCsQraZtWnJvBtLVE0QHMOs8bWyZAFZNDcYjsPq1nEx8jKA9y+Beo9v+7OBPRisQTjinQMw== - -xmlchars@^2.2.0: - version "2.2.0" - resolved "https://registry.yarnpkg.com/xmlchars/-/xmlchars-2.2.0.tgz#060fe1bcb7f9c76fe2a17db86a9bc3ab894210cb" - integrity sha512-JZnDKK8B0RCDw84FNdDAIpZK+JuJw+s7Lz8nksI7SIuU3UXJJslUthsi+uWBUYOwPFwW7W7PRLRfUKpxjtjFCw== - -xtend@^4.0.0, xtend@~4.0.1: - version "4.0.2" - resolved "https://registry.yarnpkg.com/xtend/-/xtend-4.0.2.tgz#bb72779f5fa465186b1f438f674fa347fdb5db54" - integrity sha512-LKYU1iAXJXUgAXn9URjiu+MWhyUXHsvfp7mcuYm9dSUKK0/CjtrUwFAxD82/mCWbtLsGjFIad0wIsod4zrTAEQ== - -y18n@^4.0.0: - version "4.0.3" - resolved "https://registry.yarnpkg.com/y18n/-/y18n-4.0.3.tgz#b5f259c82cd6e336921efd7bfd8bf560de9eeedf" - integrity sha512-JKhqTOwSrqNA1NY5lSztJ1GrBiUodLMmIZuLiDaMRJ+itFd+ABVE8XBjOvIWL+rSqNDC74LCSFmlb/U4UZ4hJQ== - -y18n@^5.0.5: - version "5.0.8" - resolved "https://registry.yarnpkg.com/y18n/-/y18n-5.0.8.tgz#7f4934d0f7ca8c56f95314939ddcd2dd91ce1d55" - integrity sha512-0pfFzegeDWJHJIAmTLRP2DwHjdF5s7jo9tuztdQxAhINCdvS+3nGINqPd00AphqJR/0LhANUS6/+7SCb98YOfA== - -yallist@^2.1.2: - version "2.1.2" - resolved "https://registry.yarnpkg.com/yallist/-/yallist-2.1.2.tgz#1c11f9218f076089a47dd512f93c6699a6a81d52" - integrity sha512-ncTzHV7NvsQZkYe1DW7cbDLm0YpzHmZF5r/iyP3ZnQtMiJ+pjzisCiMNI+Sj+xQF5pXhSHxSB3uDbsBTzY/c2A== - -yallist@^3.0.0, yallist@^3.0.2, yallist@^3.1.1: - version "3.1.1" - resolved "https://registry.yarnpkg.com/yallist/-/yallist-3.1.1.tgz#dbb7daf9bfd8bac9ab45ebf602b8cbad0d5d08fd" - integrity sha512-a4UGQaWPH59mOXUYnAG2ewncQS4i4F43Tv3JoAM+s2VDAmS9NsK8GpDMLrCHPksFT7h3K6TOoUNn2pb7RoXx4g== - -yallist@^4.0.0: - version "4.0.0" - resolved "https://registry.yarnpkg.com/yallist/-/yallist-4.0.0.tgz#9bb92790d9c0effec63be73519e11a35019a3a72" - integrity sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A== - -yaml@^1.10.0: - version "1.10.2" - resolved "https://registry.yarnpkg.com/yaml/-/yaml-1.10.2.tgz#2301c5ffbf12b467de8da2333a459e29e7920e4b" - integrity sha512-r3vXyErRCYJ7wg28yvBY5VSoAF8ZvlcW9/BwUzEtUsjvX/DKs24dIkuwjtuprwJJHsbyUbLApepYTR1BN4uHrg== - -yaml@^2.0.0: - version "2.6.0" - resolved "https://registry.yarnpkg.com/yaml/-/yaml-2.6.0.tgz#14059ad9d0b1680d0f04d3a60fe00f3a857303c3" - integrity sha512-a6ae//JvKDEra2kdi1qzCyrJW/WZCgFi8ydDV+eXExl95t+5R+ijnqHJbz9tmMh8FUjx3iv2fCQ4dclAQlO2UQ== - -yargs-parser@20.2.4: - version "20.2.4" - resolved "https://registry.yarnpkg.com/yargs-parser/-/yargs-parser-20.2.4.tgz#b42890f14566796f85ae8e3a25290d205f154a54" - integrity sha512-WOkpgNhPTlE73h4VFAFsOnomJVaovO8VqLDzy5saChRBFQFBoMYirowyW+Q9HB4HFF4Z7VZTiG3iSzJJA29yRA== - -yargs-parser@21.1.1, yargs-parser@^21.1.1: - version "21.1.1" - resolved "https://registry.yarnpkg.com/yargs-parser/-/yargs-parser-21.1.1.tgz#9096bceebf990d21bb31fa9516e0ede294a77d35" - integrity sha512-tVpsJW7DdjecAiFpbIB1e3qxIQsE6NoPc5/eTdrbbIC4h0LVsWhnoa3g+m2HclBIujHzsxZ4VJVA+GUuc2/LBw== - -yargs-parser@^18.1.2: - version "18.1.3" - resolved "https://registry.yarnpkg.com/yargs-parser/-/yargs-parser-18.1.3.tgz#be68c4975c6b2abf469236b0c870362fab09a7b0" - integrity sha512-o50j0JeToy/4K6OZcaQmW6lyXXKhq7csREXcDwk2omFPJEwUNOVtJKvmDr9EI1fAJZUyZcRF7kxGBWmRXudrCQ== - dependencies: - camelcase "^5.0.0" - decamelize "^1.2.0" - -yargs-parser@^20.2.2, yargs-parser@^20.2.3: - version "20.2.9" - resolved "https://registry.yarnpkg.com/yargs-parser/-/yargs-parser-20.2.9.tgz#2eb7dc3b0289718fc295f362753845c41a0c94ee" - integrity sha512-y11nGElTIV+CT3Zv9t7VKl+Q3hTQoT9a1Qzezhhl6Rp21gJ/IVTW7Z3y9EWXhuUBC2Shnf+DX0antecpAwSP8w== - -yargs@16.2.0, yargs@^16.0.0, yargs@^16.1.0, yargs@^16.2.0: - version "16.2.0" - resolved "https://registry.yarnpkg.com/yargs/-/yargs-16.2.0.tgz#1c82bf0f6b6a66eafce7ef30e376f49a12477f66" - integrity sha512-D1mvvtDG0L5ft/jGWkLpG1+m0eQxOfaBvTNELraWj22wSVUMWxZUvYgJYcKh6jGGIkJFhH4IZPQhR4TKpc8mBw== - dependencies: - cliui "^7.0.2" - escalade "^3.1.1" - get-caller-file "^2.0.5" - require-directory "^2.1.1" - string-width "^4.2.0" - y18n "^5.0.5" - yargs-parser "^20.2.2" - -yargs@^15.0.2: - version "15.4.1" - resolved "https://registry.yarnpkg.com/yargs/-/yargs-15.4.1.tgz#0d87a16de01aee9d8bec2bfbf74f67851730f4f8" - integrity sha512-aePbxDmcYW++PaqBsJ+HYUFwCdv4LVvdnhBy78E57PIor8/OVvhMrADFFEDh8DHDFRv/O9i3lPhsENjO7QX0+A== - dependencies: - cliui "^6.0.0" - decamelize "^1.2.0" - find-up "^4.1.0" - get-caller-file "^2.0.1" - require-directory "^2.1.1" - require-main-filename "^2.0.0" - set-blocking "^2.0.0" - string-width "^4.2.0" - which-module "^2.0.0" - y18n "^4.0.0" - yargs-parser "^18.1.2" - -yargs@^17.0.0, yargs@^17.3.1, yargs@^17.6.2: - version "17.7.2" - resolved "https://registry.yarnpkg.com/yargs/-/yargs-17.7.2.tgz#991df39aca675a192b816e1e0363f9d75d2aa269" - integrity sha512-7dSzzRQ++CKnNI/krKnYRV7JKKPUXMEh61soaHKg9mrWEhzFWhFnxPxGl+69cD1Ou63C13NUPCnmIcrvqCuM6w== - dependencies: - cliui "^8.0.1" - escalade "^3.1.1" - get-caller-file "^2.0.5" - require-directory "^2.1.1" - string-width "^4.2.3" - y18n "^5.0.5" - yargs-parser "^21.1.1" - -yauzl@^2.4.2: - version "2.10.0" - resolved "https://registry.yarnpkg.com/yauzl/-/yauzl-2.10.0.tgz#c7eb17c93e112cb1086fa6d8e51fb0667b79a5f9" - integrity sha512-p4a9I6X6nu6IhoGmBqAcbJy1mlC4j27vEPZX9F4L4/vZT3Lyq1VkFHw/V/PUcB9Buo+DG3iHkT0x3Qya58zc3g== - dependencies: - buffer-crc32 "~0.2.3" - fd-slicer "~1.1.0" - -yn@3.1.1: - version "3.1.1" - resolved "https://registry.yarnpkg.com/yn/-/yn-3.1.1.tgz#1e87401a09d767c1d5eab26a6e4c185182d2eb50" - integrity sha512-Ux4ygGWsu2c7isFWe8Yu1YluJmqVhxqK2cLXNQA5AcC3QfbGNpM7fu0Y8b/z16pXLnFxZYvWhd3fhBY9DLmC6Q== - -yocto-queue@^0.1.0: - version "0.1.0" - resolved "https://registry.yarnpkg.com/yocto-queue/-/yocto-queue-0.1.0.tgz#0294eb3dee05028d31ee1a5fa2c556a6aaf10a1b" - integrity sha512-rVksvsnNCdJ/ohGc6xgPwyN8eheCxsiLM8mxuE/t/mOVqJewPuO1miLpTHQiRgTKCLexL4MeAFVagts7HmNZ2Q== - -yocto-queue@^1.0.0: - version "1.1.1" - resolved "https://registry.yarnpkg.com/yocto-queue/-/yocto-queue-1.1.1.tgz#fef65ce3ac9f8a32ceac5a634f74e17e5b232110" - integrity sha512-b4JR1PFR10y1mKjhHY9LaGo6tmrgjit7hxVIeAmyMw3jegXR4dhYqLaQF5zMXZxY7tLpMyJeLjr1C4rLmkVe8g== - -zip-stream@^4.1.0: - version "4.1.1" - resolved "https://registry.yarnpkg.com/zip-stream/-/zip-stream-4.1.1.tgz#1337fe974dbaffd2fa9a1ba09662a66932bd7135" - integrity sha512-9qv4rlDiopXg4E69k+vMHjNN63YFMe9sZMrdlvKnCjlCRWeCBswPPMPUfx+ipsAWq1LXHe70RcbaHdJJpS6hyQ== - dependencies: - archiver-utils "^3.0.4" - compress-commons "^4.1.2" - readable-stream "^3.6.0" - -zwitch@^2.0.0: - version "2.0.4" - resolved "https://registry.yarnpkg.com/zwitch/-/zwitch-2.0.4.tgz#c827d4b0acb76fc3e685a4c6ec2902d51070e9d7" - integrity sha512-bXE4cR/kVZhKZX/RjPEflHaKVhUVl85noU3v6b8apfQEc1x4A+zBxjZ4lN8LqGd6WZ3dl98pY4o717VFmoPp+A== From 8e6a2f0a8a509a5d92afca073684cf8037360536 Mon Sep 17 00:00:00 2001 From: Francis Thibault <francis.thibault@gsoft.com> Date: Mon, 4 Nov 2024 16:49:17 -0500 Subject: [PATCH 56/95] removed unnecessary sample --- .../tooltip/docs/ControlledTooltip.sample.jsx | 18 ------------------ 1 file changed, 18 deletions(-) delete mode 100644 packages/components/src/tooltip/docs/ControlledTooltip.sample.jsx diff --git a/packages/components/src/tooltip/docs/ControlledTooltip.sample.jsx b/packages/components/src/tooltip/docs/ControlledTooltip.sample.jsx deleted file mode 100644 index d12d53d54..000000000 --- a/packages/components/src/tooltip/docs/ControlledTooltip.sample.jsx +++ /dev/null @@ -1,18 +0,0 @@ -() => { - const [isOpen, setIsOpen] = useState(false); - - const handleOpenChange = useCallback((event, newValue) => { - setIsOpen(newValue); - console.log(newValue); - }, [setIsOpen]); - - return ( - <TooltipTrigger - open={isOpen} - onOpenChange={handleOpenChange} - > - <Button variant="secondary">Trigger</Button> - <Tooltip>Earth is a small town with many neighborhoods in a very big universe.</Tooltip> - </TooltipTrigger> - ); -}; From 0f07cf87df0969f296873ca4b0259b1086adc80c Mon Sep 17 00:00:00 2001 From: Francis Thibault <francis.thibault@gsoft.com> Date: Mon, 4 Nov 2024 16:59:07 -0500 Subject: [PATCH 57/95] removed unnecessary sample --- .../src/checkbox/docs/Checkbox.stories.mdx | 230 ------------------ 1 file changed, 230 deletions(-) delete mode 100644 packages/components/src/checkbox/docs/Checkbox.stories.mdx diff --git a/packages/components/src/checkbox/docs/Checkbox.stories.mdx b/packages/components/src/checkbox/docs/Checkbox.stories.mdx deleted file mode 100644 index 785b81182..000000000 --- a/packages/components/src/checkbox/docs/Checkbox.stories.mdx +++ /dev/null @@ -1,230 +0,0 @@ -import { ArgsTable, Meta, Story } from "@storybook/addon-docs"; -import { Checkbox, CheckboxGroup, InnerCheckbox, InnerCheckboxGroup } from "@components/checkbox"; -import { ComponentInfo, Preview, Tagline } from "@stories/components"; -import { Counter } from "@components/counter"; -import { SparklesIcon } from "@hopper-ui/icons"; -import { Inline } from "@components/layout"; -import { Text } from "@components/typography"; - -<Meta - title="Components/Checkbox" - id="checkbox" -/> - -# Checkbox - -<Tagline>A checkbox allows the user to toggle between 2 or 3 (indeterminate) choices.</Tagline> - -<ComponentInfo - usage={"import { Checkbox, CheckboxGroup } from \"@workleap/orbiter-ui\";"} - ariaPath="checkbox" - githubPath="/packages/components/src/checkbox/src" -/> - -## Usage - -### Default - -A default checkbox. - -<Preview> - <Story name="default"> - <Checkbox>Milky Way</Checkbox> - </Story> -</Preview> - -### No label - -A checkbox can be rendered without a label. - -<Preview> - <Story name="no label"> - <Checkbox aria-label="Milky Way" /> - </Story> -</Preview> - -### Checked - -A checkbox can be checked. - -<Preview> - <Story name="checked"> - <Checkbox defaultChecked>Milky Way</Checkbox> - </Story> -</Preview> - -### Indeterminate - -A checkbox can be indeterminate. - -<Preview> - <Story name="indeterminate"> - <Checkbox defaultIndeterminate>Milky Way</Checkbox> - </Story> -</Preview> - -### Disabled - -A checkbox can be disabled. - -<Preview> - <Story name="disabled"> - <Checkbox disabled>Milky Way</Checkbox> - </Story> -</Preview> - -### Icon - -A checkbox can have [icons](?path=/docs/icon-gallery--page) after his label. - -<Preview> - <Story name="icon"> - <Checkbox> - <Text>Milky Way</Text> -hopper-ui<SparklesIcon /> - </Checkbox> - </Story> -</Preview> - -### Counter - -A checkbox can have a [counter](?path=/docs/counter--default-story) after his label. - -<Preview> - <Story name="counter"> - <Checkbox> - <Text>Andromeda</Text> - <Counter>6</Counter> - </Checkbox> - </Story> -</Preview> - -### Size - -A checkbox can vary in size. - -<Preview> - <Story name="size"> - <Inline alignY="center"> - <Checkbox size="sm">Milky Way</Checkbox> - <Checkbox>Milky Way</Checkbox> - </Inline> - </Story> -</Preview> - -### Reverse - -A checkbox checkmark can be to the left or to the right of his label. - -<Preview> - <Story name="reverse"> - <Checkbox reverse> - <Text>Milky Way</Text> -hopper-ui<SparklesIcon /> - <Counter variant="divider">6</Counter> - </Checkbox> - </Story> -</Preview> - -### Validation - -A checkbox can display a validation state to communicate to the user whether the current value is valid or invalid. - -Implement your own validation logic in your app and pass either `"valid"` or `"invalid"` to the input via the `validationState` prop. - -The example below illustrates how one would validate if the user has checked the checkbox. - -<Preview filePath="/checkbox/docs/CheckedValidation" /> - -### Controlled - -A checkbox can handle `checked` state in controlled mode. - -<Preview filePath="/checkbox/docs/ControlledCheckbox" /> - -## Checkbox group - -Related checkboxes can be group together. - -<Preview> - <Story name="checkbox group"> - <CheckboxGroup> - <Checkbox value="milky-way">Milky Way</Checkbox> - <Checkbox value="andromeda">Andromeda</Checkbox> - <Checkbox value="medusa">Medusa</Checkbox> - </CheckboxGroup> - </Story> -</Preview> - -### Orientation - -A checkbox group can render his elements vertically. - -<Preview> - <Story name="checkbox group orientation"> - <CheckboxGroup orientation="vertical"> - <Checkbox value="milky-way" >Milky Way</Checkbox> - <Checkbox value="andromeda">Andromeda</Checkbox> - <Checkbox value="medusa">Medusa</Checkbox> - </CheckboxGroup> - </Story> -</Preview> - -### Reverse - -A checkbox group elements can be reversed. - -<Preview> - <Story name="checkbox group reverse"> - <CheckboxGroup reverse> - <Checkbox value="milky-way" >Milky Way</Checkbox> - <Checkbox value="andromeda">Andromeda</Checkbox> - <Checkbox value="medusa">Medusa</Checkbox> - </CheckboxGroup> - </Story> -</Preview> - -### Validation - -A checkbox group can display a validation state to communicate to the user whether the current value is valid or invalid. - -Implement your own validation logic in your app and pass either `"valid"` or `"invalid"` to the input via the `validationState` prop. - -The example below illustrates how one would validate if the user has checked all the checkbox. - -<Preview filePath="/checkbox/docs/AllCheckedValidation" /> - -### Custom components - -Any component implementing the `CheckableContext` can behave like a checkbox group. This is usually done by using the `useCheckableProps` hook. - -<Preview filePath="/checkbox/docs/CustomGroup" /> - -### Controlled - -A checkbox group can handle `value` state in controlled mode. - -<Preview filePath="/checkbox/docs/ControlledCheckboxGroup" /> - -## API - -### Checkbox - -<ComponentInfo - usage={"import { Checkbox } from \"@workleap/orbiter-ui\";"} - slots={["label", "icon", "counter"]} - inherits={[InnerCheckbox.defaultElement, "styled-component"]} - compact -/> - -<ArgsTable of={InnerCheckbox} sort="alpha" /> - -### CheckboxGroup - -<ComponentInfo - usage={"import { CheckboxGroup } from \"@workleap/orbiter-ui\";"} - inherits={[InnerCheckboxGroup.defaultElement, "styled-component"]} - compact -/> - -<ArgsTable of={InnerCheckboxGroup} sort="alpha" /> From abb5f8a2d5dcd7a2e3c5a6c08146dcfdedab959c Mon Sep 17 00:00:00 2001 From: Francis Thibault <francis.thibault@gsoft.com> Date: Mon, 4 Nov 2024 18:51:08 -0500 Subject: [PATCH 58/95] added checkboxgroup --- .../docs/AllCheckedValidation.sample.jsx | 22 -- .../components/src/checkbox/docs/Checkbox.mdx | 152 +++++++++++ .../src/checkbox/docs/Checkbox.stories.tsx | 249 ++++++++++++++++++ .../docs/CheckedValidation.sample.jsx | 20 -- .../docs/ControlledCheckbox.sample.jsx | 17 -- .../docs/ControlledCheckboxGroup.sample.jsx | 19 -- .../src/checkbox/docs/CustomGroup.sample.jsx | 37 --- 7 files changed, 401 insertions(+), 115 deletions(-) delete mode 100644 packages/components/src/checkbox/docs/AllCheckedValidation.sample.jsx create mode 100644 packages/components/src/checkbox/docs/Checkbox.mdx create mode 100644 packages/components/src/checkbox/docs/Checkbox.stories.tsx delete mode 100644 packages/components/src/checkbox/docs/CheckedValidation.sample.jsx delete mode 100644 packages/components/src/checkbox/docs/ControlledCheckbox.sample.jsx delete mode 100644 packages/components/src/checkbox/docs/ControlledCheckboxGroup.sample.jsx delete mode 100644 packages/components/src/checkbox/docs/CustomGroup.sample.jsx diff --git a/packages/components/src/checkbox/docs/AllCheckedValidation.sample.jsx b/packages/components/src/checkbox/docs/AllCheckedValidation.sample.jsx deleted file mode 100644 index 2afc36a89..000000000 --- a/packages/components/src/checkbox/docs/AllCheckedValidation.sample.jsx +++ /dev/null @@ -1,22 +0,0 @@ -() => { - const [value, setValue] = useState([]); - - const isValid = ["milky-way", "andromeda", "medusa"].every(x => value.includes(x)); - - const handleChange = useCallback((event, newValue) => { - setValue(newValue); - console.log(newValue); - }, [setValue]); - - return ( - <CheckboxGroup - validationState={isValid ? "valid" : "invalid"} - value={value} - onChange={handleChange} - > - <Checkbox value="milky-way">Milky Way</Checkbox> - <Checkbox value="andromeda">Andromeda</Checkbox> - <Checkbox value="medusa">Medusa</Checkbox> - </CheckboxGroup> - ); -}; diff --git a/packages/components/src/checkbox/docs/Checkbox.mdx b/packages/components/src/checkbox/docs/Checkbox.mdx new file mode 100644 index 000000000..743f66427 --- /dev/null +++ b/packages/components/src/checkbox/docs/Checkbox.mdx @@ -0,0 +1,152 @@ +import { ArgTypes, Meta, Canvas } from "@storybook/addon-docs"; +import { InnerCheckbox, InnerCheckboxGroup } from "@components/checkbox"; +import { ComponentInfo, Preview, Tagline } from "@stories/components"; + +import * as CheckboxStories from "./Checkbox.stories.tsx" + +<Meta of={CheckboxStories}/> + +# Checkbox + +<Tagline>A checkbox allows the user to toggle between 2 or 3 (indeterminate) choices.</Tagline> + +<ComponentInfo + usage={"import { Checkbox, CheckboxGroup } from \"@workleap/orbiter-ui\";"} + ariaPath="checkbox" + githubPath="/packages/components/src/checkbox/src" +/> + +## Usage + +### Default + +A default checkbox. + +<Canvas of={CheckboxStories.Default} /> + +### No label + +A checkbox can be rendered without a label. + +<Canvas of={CheckboxStories.NoLabel} /> + +### Checked + +A checkbox can be checked. + +<Canvas of={CheckboxStories.Checked} /> + +### Indeterminate + +A checkbox can be indeterminate. + +<Canvas of={CheckboxStories.Indeterminate} /> + +### Disabled + +A checkbox can be disabled. + +<Canvas of={CheckboxStories.Disabled} /> + +### Icon + +A checkbox can have [icons](?path=/docs/icon-gallery--page) after his label. + +<Canvas of={CheckboxStories.Icon} /> + +### Counter + +A checkbox can have a [counter](?path=/docs/counter--default-story) after his label. + +<Canvas of={CheckboxStories.CounterStory} /> + +### Size + +A checkbox can vary in size. + +<Canvas of={CheckboxStories.Size} /> + +### Reverse + +A checkbox checkmark can be to the left or to the right of his label. + +<Canvas of={CheckboxStories.Reverse} /> + +### Validation + +A checkbox can display a validation state to communicate to the user whether the current value is valid or invalid. + +Implement your own validation logic in your app and pass either `"valid"` or `"invalid"` to the input via the `validationState` prop. + +The example below illustrates how one would validate if the user has checked the checkbox. + +<Canvas of={CheckboxStories.CheckedValidation} /> + +### Controlled + +A checkbox can handle `checked` state in controlled mode. + +<Canvas of={CheckboxStories.Controlled} /> + +## Checkbox group + +Related checkboxes can be group together. + +<Canvas of={CheckboxStories.CheckboxGroupStory} /> + +### Orientation + +A checkbox group can render his elements vertically. + +<Canvas of={CheckboxStories.Orientation} /> + +### Reverse + +A checkbox group elements can be reversed. + +<Canvas of={CheckboxStories.ReverseStory} /> + +### Validation + +A checkbox group can display a validation state to communicate to the user whether the current value is valid or invalid. + +Implement your own validation logic in your app and pass either `"valid"` or `"invalid"` to the input via the `validationState` prop. + +The example below illustrates how one would validate if the user has checked all the checkbox. + +<Canvas of={CheckboxStories.AllCheckedValidation} /> + +### Custom components + +Any component implementing the `CheckableContext` can behave like a checkbox group. This is usually done by using the `useCheckableProps` hook. + +<Canvas of={CheckboxStories.CustomGroup} /> + +### Controlled + +A checkbox group can handle `value` state in controlled mode. + +<Canvas of={CheckboxStories.ControlledCheckboxGroup} /> + +## API + +### Checkbox + +<ComponentInfo + usage={"import { Checkbox } from \"@workleap/orbiter-ui\";"} + slots={["label", "icon", "counter"]} + inherits={[InnerCheckbox.defaultElement, "styled-component"]} + compact +/> + +<ArgTypes of={InnerCheckbox} sort="alpha" /> + +### CheckboxGroup + +<ComponentInfo + usage={"import { CheckboxGroup } from \"@workleap/orbiter-ui\";"} + inherits={[InnerCheckboxGroup.defaultElement, "styled-component"]} + compact +/> + +<ArgTypes of={InnerCheckboxGroup} sort="alpha" /> diff --git a/packages/components/src/checkbox/docs/Checkbox.stories.tsx b/packages/components/src/checkbox/docs/Checkbox.stories.tsx new file mode 100644 index 000000000..b4450e1f9 --- /dev/null +++ b/packages/components/src/checkbox/docs/Checkbox.stories.tsx @@ -0,0 +1,249 @@ +import { Checkbox, CheckboxGroup, useCheckableProps } from "@components/checkbox"; +import { Counter } from "@components/counter"; +import { SparklesIcon } from "@hopper-ui/icons"; +import { Inline } from "@components/layout"; +import { Text } from "@components/typography"; +import { Tag } from "@components/tag"; +import { as } from "@components/shared"; +import { useCallback, useState } from "react"; + +import { Meta, StoryObj } from "@storybook/react"; + +const meta = { + title: "Components/Checkbox", + component: Checkbox, + id: "checkbox" +} as Meta<typeof Checkbox>; + +export default meta; + +type CheckboxStory = StoryObj<typeof meta>; + +export const Default: CheckboxStory = { + render: () => ( + <Checkbox>Milky Way</Checkbox> + ) +}; + +export const Label: CheckboxStory = { + render: () => ( + <Checkbox aria-label="Milky Way" /> + ) +}; + +export const Checked: CheckboxStory = { + render: () => ( + <Checkbox defaultChecked>Milky Way</Checkbox> + ) +}; + +export const Indeterminate: CheckboxStory = { + render: () => ( + <Checkbox defaultIndeterminate>Milky Way</Checkbox> + ) +}; + +export const Disabled: CheckboxStory = { + render: () => ( + <Checkbox disabled>Milky Way</Checkbox> + ) +}; + +export const Icon: CheckboxStory = { + render: () => ( + <Checkbox> + <Text>Milky Way</Text> + <SparklesIcon /> + </Checkbox> + ) +}; + +export const CounterStory: CheckboxStory = { + render: () => ( + <Checkbox> + <Text>Andromeda</Text> + <Counter>6</Counter> + </Checkbox> + ) +}; + +export const Size: CheckboxStory = { + render: () => ( + <Inline alignY="center"> + <Checkbox size="sm">Milky Way</Checkbox> + <Checkbox>Milky Way</Checkbox> + </Inline> + ) +}; + +export const Reverse: CheckboxStory = { + render: () => ( + <Checkbox reverse> + <Text>Milky Way</Text> + <SparklesIcon /> + <Counter variant="divider">6</Counter> + </Checkbox> + ) +}; + +/* eslint-disable react-hooks/rules-of-hooks */ +export const CheckedValidation: CheckboxStory = { + render: () => { + const [isChecked, setIsChecked] = useState(false); + + const isValid = isChecked; + + const handleChange = useCallback(() => { + setIsChecked(x => !x); + console.log(!isChecked); + }, [isChecked, setIsChecked]); + + return ( + <Checkbox + checked={isChecked} + onChange={handleChange} + validationState={isValid ? "valid" : "invalid"} + > + Milky Way + </Checkbox> + ); + } +}; + +/* eslint-disable react-hooks/rules-of-hooks */ +export const Controlled: CheckboxStory = { + render: () => { + const [isChecked, setIsChecked] = useState(false); + + const handleChange = useCallback(() => { + setIsChecked(x => !x); + console.log(!isChecked); + }, [isChecked, setIsChecked]); + + return ( + <Checkbox + checked={isChecked} + onChange={handleChange} + > + {isChecked ? "On" : "Off"} + </Checkbox> + ); + } +}; + +export const CheckboxGroupStory: CheckboxStory = { + render: () => ( + <CheckboxGroup> + <Checkbox value="milky-way">Milky Way</Checkbox> + <Checkbox value="andromeda">Andromeda</Checkbox> + <Checkbox value="medusa">Medusa</Checkbox> + </CheckboxGroup> + ) +}; + +export const Orentation: CheckboxStory = { + render: () => ( + <CheckboxGroup orientation="vertical"> + <Checkbox value="milky-way" >Milky Way</Checkbox> + <Checkbox value="andromeda">Andromeda</Checkbox> + <Checkbox value="medusa">Medusa</Checkbox> + </CheckboxGroup> + ) +}; + +export const ReverseStory: CheckboxStory = { + render: () => ( + <CheckboxGroup reverse> + <Checkbox value="milky-way" >Milky Way</Checkbox> + <Checkbox value="andromeda">Andromeda</Checkbox> + <Checkbox value="medusa">Medusa</Checkbox> + </CheckboxGroup> + ) +}; + +export const AllCheckedValidation: CheckboxStory = { + render: () => { + const [value, setValue] = useState([]); + + const isValid = ["milky-way", "andromeda", "medusa"].every(x => value.includes(x)); + + const handleChange = useCallback((event, newValue) => { + setValue(newValue); + console.log(newValue); + }, [setValue]); + + return ( + <CheckboxGroup + onChange={handleChange} + validationState={isValid ? "valid" : "invalid"} + value={value} + > + <Checkbox value="milky-way">Milky Way</Checkbox> + <Checkbox value="andromeda">Andromeda</Checkbox> + <Checkbox value="medusa">Medusa</Checkbox> + </CheckboxGroup> + ); + } +}; + +export const ControlledCheckboxGroup: CheckboxStory = { + render: () => { + const [value, setValue] = useState([]); + + const handleChange = useCallback((event, newValue) => { + setValue(newValue); + console.log(newValue); + }, [setValue]); + + return ( + <CheckboxGroup + onChange={handleChange} + value={value} + > + <Checkbox value="milky-way">Milky Way</Checkbox> + <Checkbox value="andromeda">Andromeda</Checkbox> + <Checkbox value="medusa">Medusa</Checkbox> + </CheckboxGroup> + ); + } +}; + +export const CustomGroup: CheckboxStory = { + render: () => { + const TagButton = as(Tag, "button"); + + function CustomComponent({ + value, + children, + ...rest + }) { + const [{ checked: isChecked, onCheck, ...checkableProps }] = useCheckableProps({ value }); + + const handleCheck = useCallback(event => { + onCheck(event, value); + }, [value, onCheck]); + + return ( + <TagButton + {...rest} + {...checkableProps} + aria-checked={isChecked} + backgroundColor={isChecked ? "primary" : "warning-weak"} + color={isChecked ? "white" : undefined} + onClick={handleCheck} + value={value} + > + {children} + </TagButton> + ); + } + + return ( + <CheckboxGroup gap={80}> + <CustomComponent value="milky-way">Milky Way</CustomComponent> + <CustomComponent value="andromeda">Andromeda</CustomComponent> + <CustomComponent value="medusa">Medusa</CustomComponent> + </CheckboxGroup> + ); + } +}; diff --git a/packages/components/src/checkbox/docs/CheckedValidation.sample.jsx b/packages/components/src/checkbox/docs/CheckedValidation.sample.jsx deleted file mode 100644 index 99357329b..000000000 --- a/packages/components/src/checkbox/docs/CheckedValidation.sample.jsx +++ /dev/null @@ -1,20 +0,0 @@ -() => { - const [isChecked, setIsChecked] = useState(false); - - const isValid = isChecked; - - const handleChange = useCallback(() => { - setIsChecked(x => !x); - console.log(!isChecked); - }, [isChecked, setIsChecked]); - - return ( - <Checkbox - validationState={isValid ? "valid" : "invalid"} - checked={isChecked} - onChange={handleChange} - > - Milky Way - </Checkbox> - ); -}; diff --git a/packages/components/src/checkbox/docs/ControlledCheckbox.sample.jsx b/packages/components/src/checkbox/docs/ControlledCheckbox.sample.jsx deleted file mode 100644 index 57d8c7d86..000000000 --- a/packages/components/src/checkbox/docs/ControlledCheckbox.sample.jsx +++ /dev/null @@ -1,17 +0,0 @@ -() => { - const [isChecked, setIsChecked] = useState(false); - - const handleChange = useCallback(() => { - setIsChecked(x => !x); - console.log(!isChecked); - }, [isChecked, setIsChecked]); - - return ( - <Checkbox - checked={isChecked} - onChange={handleChange} - > - {isChecked ? "On" : "Off"} - </Checkbox> - ); -}; diff --git a/packages/components/src/checkbox/docs/ControlledCheckboxGroup.sample.jsx b/packages/components/src/checkbox/docs/ControlledCheckboxGroup.sample.jsx deleted file mode 100644 index 8b45dabf3..000000000 --- a/packages/components/src/checkbox/docs/ControlledCheckboxGroup.sample.jsx +++ /dev/null @@ -1,19 +0,0 @@ -() => { - const [value, setValue] = useState([]); - - const handleChange = useCallback((event, newValue) => { - setValue(newValue); - console.log(newValue); - }, [setValue]); - - return ( - <CheckboxGroup - value={value} - onChange={handleChange} - > - <Checkbox value="milky-way">Milky Way</Checkbox> - <Checkbox value="andromeda">Andromeda</Checkbox> - <Checkbox value="medusa">Medusa</Checkbox> - </CheckboxGroup> - ); -}; diff --git a/packages/components/src/checkbox/docs/CustomGroup.sample.jsx b/packages/components/src/checkbox/docs/CustomGroup.sample.jsx deleted file mode 100644 index d418ce554..000000000 --- a/packages/components/src/checkbox/docs/CustomGroup.sample.jsx +++ /dev/null @@ -1,37 +0,0 @@ -const TagButton = as(Tag, "button"); - -function CustomComponent({ - value, - children, - ...rest -}) { - const [{ checked: isChecked, onCheck, ...checkableProps }] = useCheckableProps({ value }); - - const handleCheck = useCallback(event => { - onCheck(event, value); - }, [value, onCheck]); - - return ( - <TagButton - {...rest} - {...checkableProps} - value={value} - onClick={handleCheck} - color={isChecked ? "white" : undefined} - backgroundColor={isChecked ? "primary" : "warning-weak"} - aria-checked={isChecked} - > - {children} - </TagButton> - ); -} - -render(() => { - return ( - <CheckboxGroup gap={80}> - <CustomComponent value="milky-way">Milky Way</CustomComponent> - <CustomComponent value="andromeda">Andromeda</CustomComponent> - <CustomComponent value="medusa">Medusa</CustomComponent> - </CheckboxGroup> - ); -}); From 0fbcafcd92ea32a87e1370e3719affc9ccc4a92e Mon Sep 17 00:00:00 2001 From: Francis Thibault <francis.thibault@gsoft.com> Date: Mon, 4 Nov 2024 19:58:58 -0500 Subject: [PATCH 59/95] checkbox fixes --- packages/components/src/checkbox/docs/Checkbox.mdx | 4 ++-- packages/components/src/checkbox/docs/Checkbox.stories.tsx | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/packages/components/src/checkbox/docs/Checkbox.mdx b/packages/components/src/checkbox/docs/Checkbox.mdx index 743f66427..a47176e00 100644 --- a/packages/components/src/checkbox/docs/Checkbox.mdx +++ b/packages/components/src/checkbox/docs/Checkbox.mdx @@ -4,7 +4,7 @@ import { ComponentInfo, Preview, Tagline } from "@stories/components"; import * as CheckboxStories from "./Checkbox.stories.tsx" -<Meta of={CheckboxStories}/> +<Meta of={CheckboxStories} /> # Checkbox @@ -70,7 +70,7 @@ A checkbox can vary in size. A checkbox checkmark can be to the left or to the right of his label. -<Canvas of={CheckboxStories.Reverse} /> +<Canvas of={CheckboxStories.ReverseStory} /> ### Validation diff --git a/packages/components/src/checkbox/docs/Checkbox.stories.tsx b/packages/components/src/checkbox/docs/Checkbox.stories.tsx index b4450e1f9..973ec5b5b 100644 --- a/packages/components/src/checkbox/docs/Checkbox.stories.tsx +++ b/packages/components/src/checkbox/docs/Checkbox.stories.tsx @@ -25,7 +25,7 @@ export const Default: CheckboxStory = { ) }; -export const Label: CheckboxStory = { +export const NoLabel: CheckboxStory = { render: () => ( <Checkbox aria-label="Milky Way" /> ) @@ -141,7 +141,7 @@ export const CheckboxGroupStory: CheckboxStory = { ) }; -export const Orentation: CheckboxStory = { +export const Orientation: CheckboxStory = { render: () => ( <CheckboxGroup orientation="vertical"> <Checkbox value="milky-way" >Milky Way</Checkbox> From 19757eb31d6726ae4124e218739b3b3c7277a5b3 Mon Sep 17 00:00:00 2001 From: Francis Thibault <francis.thibault@gsoft.com> Date: Mon, 4 Nov 2024 22:24:04 -0500 Subject: [PATCH 60/95] added toolbar / nunberInput --- .../docs/ControlledNumberInput.sample.jsx | 16 -- .../src/number-input/docs/NumberInput.mdx | 92 ++++++++++ .../number-input/docs/NumberInput.stories.mdx | 130 -------------- .../number-input/docs/NumberInput.stories.tsx | 124 +++++++++++++ .../docs/RequiredAgeValidation.sample.jsx | 32 ---- .../toolbar/docs/CustomComponent.sample.jsx | 25 --- .../components/src/toolbar/docs/Toolbar.mdx | 73 ++++++++ .../src/toolbar/docs/Toolbar.stories.mdx | 169 ------------------ .../src/toolbar/docs/Toolbar.stories.tsx | 149 +++++++++++++++ 9 files changed, 438 insertions(+), 372 deletions(-) delete mode 100644 packages/components/src/number-input/docs/ControlledNumberInput.sample.jsx create mode 100644 packages/components/src/number-input/docs/NumberInput.mdx delete mode 100644 packages/components/src/number-input/docs/NumberInput.stories.mdx create mode 100644 packages/components/src/number-input/docs/NumberInput.stories.tsx delete mode 100644 packages/components/src/number-input/docs/RequiredAgeValidation.sample.jsx delete mode 100644 packages/components/src/toolbar/docs/CustomComponent.sample.jsx create mode 100644 packages/components/src/toolbar/docs/Toolbar.mdx delete mode 100644 packages/components/src/toolbar/docs/Toolbar.stories.mdx create mode 100644 packages/components/src/toolbar/docs/Toolbar.stories.tsx diff --git a/packages/components/src/number-input/docs/ControlledNumberInput.sample.jsx b/packages/components/src/number-input/docs/ControlledNumberInput.sample.jsx deleted file mode 100644 index f4a9d7fe1..000000000 --- a/packages/components/src/number-input/docs/ControlledNumberInput.sample.jsx +++ /dev/null @@ -1,16 +0,0 @@ -() => { - const [value, setValue] = useState(null); - - const handleValueChange = useCallback((event, newValue) => { - setValue(newValue); - console.log(newValue); - }, [setValue]); - - return ( - <NumberInput - value={value} - onValueChange={handleValueChange} - placeholder="Where to?" - /> - ); -}; diff --git a/packages/components/src/number-input/docs/NumberInput.mdx b/packages/components/src/number-input/docs/NumberInput.mdx new file mode 100644 index 000000000..48c09573b --- /dev/null +++ b/packages/components/src/number-input/docs/NumberInput.mdx @@ -0,0 +1,92 @@ +import { ArgTypes, Meta, Canvas } from "@storybook/addon-docs"; +import { ComponentInfo, Tagline } from "@stories/components"; +import { InnerNumberInput } from "@components/number-input"; + +import * as NumberInputStories from "./NumberInput.stories.tsx"; + +<Meta of={NumberInputStories} /> + +# NumberInput + +<Tagline>A number input is used to let the user enter a numeric value.</Tagline> + +<ComponentInfo + usage={"import { NumberInput } from \"@workleap/orbiter-ui\";"} + githubPath="/packages/components/src/number-input/src" +/> + +## Usage + +### Default + +A default number input. + +<Canvas of={NumberInputStories.Default} /> + +### Value + +A number input can have a value. + +<Canvas of={NumberInputStories.Value} /> + +### Min / Max + +A number input value can be forced between min & max boundaries. + +<Canvas of={NumberInputStories.MinMax} /> + +### Icon + +A number input can have an [icon](?path=/docs/icon-gallery--page). + +<Canvas of={NumberInputStories.Icon} /> + +### Disabled + +A number input can be disabled. + +<Canvas of={NumberInputStories.Disabled} /> + +### Readonly + +A number input can be readonly. + +<Canvas of={NumberInputStories.ReadOnly} /> + +### Loading + +A number input can show that it is currently loading data. + +<Canvas of={NumberInputStories.Loading} /> + +### Fluid + +A number input can take the width of its container. + +<Canvas of={NumberInputStories.Fluid} /> + +### Validation + +A number input can display a validation state to communicate to the user whether the current value is valid or invalid. Implement your own validation logic in your app and pass either `"valid"` or `"invalid"` to the input via the `validationState` prop. + +The example below illustrates how one would validate a required age value. + +<Canvas of={NumberInputStories.RequiredAgeValidation} /> + +### Controlled + +A number input `value` can be handled in controlled mode. + +<Canvas of={NumberInputStories.Controlled} /> + +## API + +### NumberInput + +<ComponentInfo + usage={"import { NumberInput } from \"@workleap/orbiter-ui\";"} + inherits={[InnerNumberInput.defaultElement, "styled-component"]} + compact +/> + +<ArgTypes of={InnerNumberInput} sort="alpha" /> diff --git a/packages/components/src/number-input/docs/NumberInput.stories.mdx b/packages/components/src/number-input/docs/NumberInput.stories.mdx deleted file mode 100644 index 2243abb15..000000000 --- a/packages/components/src/number-input/docs/NumberInput.stories.mdx +++ /dev/null @@ -1,130 +0,0 @@ -import { ArgsTable, Meta, Story } from "@storybook/addon-docs"; -import { ComponentInfo, Preview, Tagline } from "@stories/components"; -import { EditIcon } from "@hopper-ui/icons"; -import { Inline } from "@components/layout"; -import { InnerNumberInput, NumberInput } from "@components/number-input"; - -<Meta - title="Components/NumberInput" - id="number-input" -/> - -# NumberInput - -<Tagline>A number input is used to let the user enter a numeric value.</Tagline> - -<ComponentInfo - usage={"import { NumberInput } from \"@workleap/orbiter-ui\";"} - githubPath="/packages/components/src/number-input/src" -/> - -## Usage - -### Default - -A default number input. - -<Preview> - <Story name="default"> - <NumberInput placeholder="Age" /> - </Story> -</Preview> - -### Value - -A number input can have a value. - -<Preview> - <Story name="value"> - <Inline> - <NumberInput defaultValue={18} placeholder="Age" /> - <NumberInput defaultValue={155.75} step={0.1} placeholder="Weight" /> - </Inline> - </Story> -</Preview> - -### Min / Max - -A number input value can be forced between min & max boundaries. - -<Preview> - <Story name="min / max"> - <NumberInput min={15} max={30} defaultValue={18} placeholder="Age" /> - </Story> -</Preview> - -### Icon - -A number input can have an [icon](?path=/docs/icon-gallery--page). - -<Preview> - <Story name="icon"> - <NumberInput icon={ <EditIcon /> } placeholder="Age" /> - </Story> -</Preview> - -### Disabled - -A number input can be disabled. - -<Preview> - <Story name="disabled"> - <NumberInput disabled placeholder="Age" /> - </Story> -</Preview> - -### Readonly - -A number input can be readonly. - -<Preview> - <Story name="readonly"> - <NumberInput readOnly defaultValue={18} placeholder="Age" /> - </Story> -</Preview> - -### Loading - -A number input can show that it is currently loading data. - -<Preview> - <Story name="loading"> - <NumberInput loading placeholder="Age" /> - </Story> -</Preview> - -### Fluid - -A number input can take the width of its container. - -<Preview> - <Story name="fluid"> - <NumberInput fluid placeholder="Age" /> - </Story> -</Preview> - -### Validation - -A number input can display a validation state to communicate to the user whether the current value is valid or invalid. Implement your own validation logic in your app and pass either `"valid"` or `"invalid"` to the input via the `validationState` prop. - -The example below illustrates how one would validate a required age value. - -<Preview filePath="/number-input/docs/RequiredAgeValidation" /> - -### Controlled - -A number input `value` can be handled in controlled mode. - -<Preview filePath="/number-input/docs/ControlledNumberInput" /> - -## API - -### NumberInput - -<ComponentInfo - usage={"import { NumberInput } from \"@workleap/orbiter-ui\";"} - inherits={[InnerNumberInput.defaultElement, "styled-component"]} - compact -/> - -<ArgsTable of={InnerNumberInput} sort="alpha" /> diff --git a/packages/components/src/number-input/docs/NumberInput.stories.tsx b/packages/components/src/number-input/docs/NumberInput.stories.tsx new file mode 100644 index 000000000..cd8a10840 --- /dev/null +++ b/packages/components/src/number-input/docs/NumberInput.stories.tsx @@ -0,0 +1,124 @@ +import { EditIcon } from "@hopper-ui/icons"; +import { Button } from "@components/button"; +import { Inline } from "@components/layout"; +import { NumberInput } from "@components/number-input"; +import { isNil } from "@components/shared"; +import { useCallback, useMemo, useState } from "react"; + +import { Meta, StoryObj } from "@storybook/react"; + +const meta = { + title: "Components/NumberInput", + component: NumberInput, + id: "number-input" +} as Meta<typeof NumberInput>; + +export default meta; + +type NumberInputStory = StoryObj<typeof meta>; + +export const Default: NumberInputStory = { + render: () => ( + <NumberInput placeholder="Age" /> + ) +}; + +export const Value: NumberInputStory = { + render: () => ( + <Inline> + <NumberInput defaultValue={18} placeholder="Age" /> + <NumberInput defaultValue={155.75} placeholder="Weight" step={0.1} /> + </Inline> + ) +}; + +export const MinMax: NumberInputStory = { + render: () => ( + <NumberInput defaultValue={18} max={30} min={15} placeholder="Age" /> + ) +}; + +export const Icon: NumberInputStory = { + render: () => ( + <NumberInput icon={<EditIcon />} placeholder="Age" /> + ) +}; + +export const Disabled: NumberInputStory = { + render: () => ( + <NumberInput disabled placeholder="Age" /> + ) +}; + +export const ReadOnly: NumberInputStory = { + render: () => ( + <NumberInput defaultValue={18} placeholder="Age" readOnly /> + ) +}; + +export const Loading: NumberInputStory = { + render: () => ( + <NumberInput loading placeholder="Age" /> + ) +}; + +export const Fluid: NumberInputStory = { + render: () => ( + <NumberInput fluid placeholder="Age" /> + ) +}; + +/* eslint-disable react-hooks/rules-of-hooks */ +export const RequiredAgeValidation: NumberInputStory = { + render: () => { + const [value, setValue] = useState(18); + + const handleValueChange = useCallback((event, newValue) => { + setValue(newValue); + console.log(newValue); + }, [setValue]); + + const handleClearClick = useCallback(() => { + setValue(null); + }, [setValue]); + + const isValid = useMemo(() => !isNil(value), [value]); + + return ( + <Inline alignY="center"> + <NumberInput + min={1} + onValueChange={handleValueChange} + placeholder="Age" + validationState={isValid ? "valid" : "invalid"} + value={value} + /> + <Button + onClick={handleClearClick} + variant="tertiary" + > + Clear + </Button> + </Inline> + ); + } +}; + +export const Controlled: NumberInputStory = { + render: () => { + const [value, setValue] = useState(null); + + const handleValueChange = useCallback((event, newValue) => { + setValue(newValue); + console.log(newValue); + }, [setValue]); + + return ( + <NumberInput + onValueChange={handleValueChange} + placeholder="Where to?" + value={value} + /> + ); + } +}; diff --git a/packages/components/src/number-input/docs/RequiredAgeValidation.sample.jsx b/packages/components/src/number-input/docs/RequiredAgeValidation.sample.jsx deleted file mode 100644 index d6332b9d5..000000000 --- a/packages/components/src/number-input/docs/RequiredAgeValidation.sample.jsx +++ /dev/null @@ -1,32 +0,0 @@ -() => { - const [value, setValue] = useState(18); - - const handleValueChange = useCallback((event, newValue) => { - setValue(newValue); - console.log(newValue); - }, [setValue]); - - const handleClearClick = useCallback(() => { - setValue(null); - }, [setValue]); - - const isValid = useMemo(() => !isNil(value), [value]); - - return ( - <Inline alignY="center"> - <NumberInput - validationState={isValid ? "valid" : "invalid"} - value={value} - min={1} - placeholder="Age" - onValueChange={handleValueChange} - /> - <Button - variant="tertiary" - onClick={handleClearClick} - > - Clear - </Button> - </Inline> - ); -}; diff --git a/packages/components/src/toolbar/docs/CustomComponent.sample.jsx b/packages/components/src/toolbar/docs/CustomComponent.sample.jsx deleted file mode 100644 index 96d5ec6ec..000000000 --- a/packages/components/src/toolbar/docs/CustomComponent.sample.jsx +++ /dev/null @@ -1,25 +0,0 @@ -function CustomComponent(props) { - const [toolbarProps] = useToolbarProps(); - - return ( - <HtmlInput - {...props} - {...omitProps(toolbarProps, ["orientation"])} - border="neutral" - type="text" - /> - ); -} - -render(() => { - return ( - <Toolbar> - <CustomComponent /> - <RadioGroup> - <Radio value="mars">Mars</Radio> - <Radio value="jupiter">Jupiter</Radio> - <Radio value="pluton">Pluton</Radio> - </RadioGroup> - </Toolbar> - ); -}); diff --git a/packages/components/src/toolbar/docs/Toolbar.mdx b/packages/components/src/toolbar/docs/Toolbar.mdx new file mode 100644 index 000000000..7d64731b1 --- /dev/null +++ b/packages/components/src/toolbar/docs/Toolbar.mdx @@ -0,0 +1,73 @@ +import { ArgTypes, Meta, Canvas } from "@storybook/addon-docs"; +import { ComponentInfo, Tagline } from "@stories/components"; +import { InnerToolbar } from "@components/toolbar"; + +import * as ToolbarStories from "./Toolbar.stories.tsx"; + +<Meta of={ToolbarStories}/> + +# Toolbar + +<Tagline>A toolbar is a container for grouping a set of controls, such as buttons, menubuttons, or checkboxes.</Tagline> + +<ComponentInfo + usage={"import { Toolbar, ToolbarContext, useToolbarContext, useToolbarProps, ClearToolbar } from \"@workleap/orbiter-ui\";"} + ariaPath="toolbar" + githubPath="/packages/components/src/toolbar/src" +/> + +## Usage + +### Default + +A default toolbar. + +<Canvas of={ToolbarStories.Default} /> + +### Disabled + +A toolbar can have a few disabled controls. + +<Canvas of={ToolbarStories.Disabled} /> + +Or disabled all the controls. + +<Canvas of={ToolbarStories.DisabledToolbar} /> + +### Gap + +The gap between a toolbar controls is configurable. + +<Canvas of={ToolbarStories.Gap} /> + +### Orientation + +A toolbar can change his orientation to `vertical` to render his controls horizontally. + +<Canvas of={ToolbarStories.Orientation} /> + +### Wrapped + +Toolbar controls can wrap on multiple lines. + +<Canvas of={ToolbarStories.Wrap} /> + +### Custom components + +Any component can be added to a toolbar. However to benefit from the toolbar behaviors, a component must implement the `ToolbarContext`. This is done by using the `useToolbarProps` hook. + +<Canvas of={ToolbarStories.CustomComponentStory} /> + +## API + +### Toolbar + +<ComponentInfo + usage={"import { Toolbar } from \"@workleap/orbiter-ui\";"} + inherits={[InnerToolbar.defaultElement, "styled-component"]} + compact +/> + +<ArgTypes of={InnerToolbar} sort="alpha" /> + + diff --git a/packages/components/src/toolbar/docs/Toolbar.stories.mdx b/packages/components/src/toolbar/docs/Toolbar.stories.mdx deleted file mode 100644 index 632658c4f..000000000 --- a/packages/components/src/toolbar/docs/Toolbar.stories.mdx +++ /dev/null @@ -1,169 +0,0 @@ -import { ArgsTable, Meta, Story } from "@storybook/addon-docs"; -import { CheckboxGroup } from "@components/checkbox"; -import { ComponentInfo, Preview, Tagline } from "@stories/components"; -import { Div } from "@components/html"; -import { InnerToolbar, Toolbar } from "@components/toolbar"; -import { Radio, RadioGroup } from "@components/radio"; -import { TextInput } from "@components/text-input"; -import { ToggleButton } from "@components/button"; - -<Meta - title="Components/Toolbar" - id="toolbar" -/> - -# Toolbar - -<Tagline>A toolbar is a container for grouping a set of controls, such as buttons, menubuttons, or checkboxes.</Tagline> - -<ComponentInfo - usage={"import { Toolbar, ToolbarContext, useToolbarContext, useToolbarProps, ClearToolbar } from \"@workleap/orbiter-ui\";"} - ariaPath="toolbar" - githubPath="/packages/components/src/toolbar/src" -/> - -## Usage - -### Default - -A default toolbar. - -<Preview> - <Story name="default"> - <Toolbar> - <TextInput placeholder="Destination" /> - <RadioGroup> - <Radio value="roscosmos">Roscosmos</Radio> - <Radio value="nasa">NASA</Radio> - </RadioGroup> - <CheckboxGroup> - <ToggleButton variant="secondary" value="round-trip">Round trip</ToggleButton> - <ToggleButton variant="secondary" value="one-way">One way</ToggleButton> - </CheckboxGroup> - </Toolbar> - </Story> -</Preview> - -### Disabled - -A toolbar can have a few disabled controls. - -<Preview> - <Story name="disabled control"> - <Toolbar> - <TextInput placeholder="Destination" /> - <RadioGroup disabled> - <Radio value="roscosmos">Roscosmos</Radio> - <Radio value="nasa">NASA</Radio> - </RadioGroup> - <CheckboxGroup> - <ToggleButton variant="secondary" value="round-trip">Round trip</ToggleButton> - <ToggleButton variant="secondary" value="one-way">One way</ToggleButton> - </CheckboxGroup> - </Toolbar> - </Story> -</Preview> - -Or disabled all the controls. - -<Preview> - <Story name="disabled toolbar"> - <Toolbar disabled> - <TextInput placeholder="Destination" /> - <RadioGroup> - <Radio value="roscosmos">Roscosmos</Radio> - <Radio value="nasa">NASA</Radio> - </RadioGroup> - <CheckboxGroup> - <ToggleButton variant="secondary" value="round-trip">Round trip</ToggleButton> - <ToggleButton variant="secondary" value="one-way">One way</ToggleButton> - </CheckboxGroup> - </Toolbar> - </Story> -</Preview> - -### Gap - -The gap between a toolbar controls is configurable. - -<Preview> - <Story name="gap"> - <Toolbar gap={9}> - <TextInput placeholder="Destination" /> - <RadioGroup> - <Radio value="roscosmos">Roscosmos</Radio> - <Radio value="nasa">NASA</Radio> - </RadioGroup> - <CheckboxGroup> - <ToggleButton variant="secondary" value="round-trip">Round trip</ToggleButton> - <ToggleButton variant="secondary" value="one-way">One way</ToggleButton> - </CheckboxGroup> - </Toolbar> - </Story> -</Preview> - -### Orientation - -A toolbar can change his orientation to `vertical` to render his controls horizontally. - -<Preview> - <Story name="orientation"> - <Toolbar orientation="vertical"> - <TextInput placeholder="Destination" /> - <RadioGroup> - <Radio value="roscosmos">Roscosmos</Radio> - <Radio value="nasa">NASA</Radio> - </RadioGroup> - <CheckboxGroup> - <ToggleButton variant="secondary" value="round-trip">Round trip</ToggleButton> - <ToggleButton variant="secondary" value="one-way">One way</ToggleButton> - </CheckboxGroup> - </Toolbar> - </Story> -</Preview> - -### Wrapped - -Toolbar controls can wrap on multiple lines. - -<Preview> - <Story name="wrap"> - <Div width={{ - base: "200px", - sm: "700px" - }} - > - <Toolbar wrap> - <TextInput placeholder="Destination" /> - <RadioGroup> - <Radio value="roscosmos">Roscosmos</Radio> - <Radio value="nasa">NASA</Radio> - </RadioGroup> - <CheckboxGroup> - <ToggleButton variant="secondary" value="round-trip">Round trip</ToggleButton> - <ToggleButton variant="secondary" value="one-way">One way</ToggleButton> - </CheckboxGroup> - </Toolbar> - </Div> - </Story> -</Preview> - -### Custom components - -Any component can be added to a toolbar. However to benefit from the toolbar behaviors, a component must implement the `ToolbarContext`. This is done by using the `useToolbarProps` hook. - -<Preview filePath="/toolbar/docs/CustomComponent" /> - -## API - -### Toolbar - -<ComponentInfo - usage={"import { Toolbar } from \"@workleap/orbiter-ui\";"} - inherits={[InnerToolbar.defaultElement, "styled-component"]} - compact -/> - -<ArgsTable of={InnerToolbar} sort="alpha" /> - - diff --git a/packages/components/src/toolbar/docs/Toolbar.stories.tsx b/packages/components/src/toolbar/docs/Toolbar.stories.tsx new file mode 100644 index 000000000..259bf6395 --- /dev/null +++ b/packages/components/src/toolbar/docs/Toolbar.stories.tsx @@ -0,0 +1,149 @@ +import { CheckboxGroup } from "@components/checkbox"; +import { Div, HtmlInput } from "@components/html"; +import { Toolbar, useToolbarProps } from "@components/toolbar"; +import { Radio, RadioGroup } from "@components/radio"; +import { TextInput } from "@components/text-input"; +import { ToggleButton } from "@components/button"; +import { omitProps } from "@components/shared"; + +import { Meta, StoryObj } from "@storybook/react"; + +const meta = { + title: "Components/Toolbar", + component: Toolbar, + id: "toolbar" +} as Meta<typeof Toolbar>; + +export default meta; + +type ToolbarStory = StoryObj<typeof meta>; + +export const Default: ToolbarStory = { + render: () => ( + <Toolbar> + <TextInput placeholder="Destination" /> + <RadioGroup> + <Radio value="roscosmos">Roscosmos</Radio> + <Radio value="nasa">NASA</Radio> + </RadioGroup> + <CheckboxGroup> + <ToggleButton value="round-trip" variant="secondary">Round trip</ToggleButton> + <ToggleButton value="one-way" variant="secondary">One way</ToggleButton> + </CheckboxGroup> + </Toolbar> + ) +}; + +export const Disabled: ToolbarStory = { + render: () => ( + <Toolbar> + <TextInput placeholder="Destination" /> + <RadioGroup disabled> + <Radio value="roscosmos">Roscosmos</Radio> + <Radio value="nasa">NASA</Radio> + </RadioGroup> + <CheckboxGroup> + <ToggleButton value="round-trip" variant="secondary">Round trip</ToggleButton> + <ToggleButton value="one-way" variant="secondary">One way</ToggleButton> + </CheckboxGroup> + </Toolbar> + ) +}; + +export const DisabledToolbar: ToolbarStory = { + render: () => ( + <Toolbar disabled> + <TextInput placeholder="Destination" /> + <RadioGroup> + <Radio value="roscosmos">Roscosmos</Radio> + <Radio value="nasa">NASA</Radio> + </RadioGroup> + <CheckboxGroup> + <ToggleButton value="round-trip" variant="secondary">Round trip</ToggleButton> + <ToggleButton value="one-way" variant="secondary">One way</ToggleButton> + </CheckboxGroup> + </Toolbar> + ) +}; + +export const Gap: ToolbarStory = { + render: () => ( + <Toolbar gap={9}> + <TextInput placeholder="Destination" /> + <RadioGroup> + <Radio value="roscosmos">Roscosmos</Radio> + <Radio value="nasa">NASA</Radio> + </RadioGroup> + <CheckboxGroup> + <ToggleButton value="round-trip" variant="secondary">Round trip</ToggleButton> + <ToggleButton value="one-way" variant="secondary">One way</ToggleButton> + </CheckboxGroup> + </Toolbar> + ) +}; + +export const Orientation: ToolbarStory = { + render: () => ( + <Toolbar orientation="vertical"> + <TextInput placeholder="Destination" /> + <RadioGroup> + <Radio value="roscosmos">Roscosmos</Radio> + <Radio value="nasa">NASA</Radio> + </RadioGroup> + <CheckboxGroup> + <ToggleButton value="round-trip" variant="secondary">Round trip</ToggleButton> + <ToggleButton value="one-way" variant="secondary">One way</ToggleButton> + </CheckboxGroup> + </Toolbar> + ) +}; + +export const Wrap: ToolbarStory = { + render: () => ( + <Div width={{ + base: "200px", + sm: "700px" + }} + > + <Toolbar wrap> + <TextInput placeholder="Destination" /> + <RadioGroup> + <Radio value="roscosmos">Roscosmos</Radio> + <Radio value="nasa">NASA</Radio> + </RadioGroup> + <CheckboxGroup> + <ToggleButton value="round-trip" variant="secondary">Round trip</ToggleButton> + <ToggleButton value="one-way" variant="secondary">One way</ToggleButton> + </CheckboxGroup> + </Toolbar> + </Div> + ) +}; + +export const CustomComponentStory: ToolbarStory = { + render: () => { + function CustomComponent(props) { + const [toolbarProps] = useToolbarProps(); + + return ( + <HtmlInput + {...props} + {...omitProps(toolbarProps, ["orientation"])} + border="neutral" + type="text" + /> + ); + } + + return ( + <Toolbar> + <CustomComponent /> + <RadioGroup> + <Radio value="mars">Mars</Radio> + <Radio value="jupiter">Jupiter</Radio> + <Radio value="pluton">Pluton</Radio> + </RadioGroup> + </Toolbar> + ); + } +}; From 67680aff9c2b53f5e5676945b70ad3840db1529c Mon Sep 17 00:00:00 2001 From: Victor Trinh <victor.trinh@gsoft.com> Date: Mon, 4 Nov 2024 15:59:03 -0500 Subject: [PATCH 61/95] Divider/Listbox --- .../components/src/divider/docs/Divider.mdx | 51 +++ .../src/divider/docs/Divider.stories.mdx | 81 ----- .../src/divider/docs/Divider.stories.tsx | 48 +++ .../listbox/docs/ControlledListbox.sample.jsx | 24 -- .../components/src/listbox/docs/Listbox.mdx | 167 +++++++++ ...istbox.stories.mdx => Listbox.stories.tsx} | 316 +++++++----------- .../listbox/docs/ListboxContext.sample.jsx | 24 -- 7 files changed, 387 insertions(+), 324 deletions(-) create mode 100644 packages/components/src/divider/docs/Divider.mdx delete mode 100644 packages/components/src/divider/docs/Divider.stories.mdx create mode 100644 packages/components/src/divider/docs/Divider.stories.tsx delete mode 100644 packages/components/src/listbox/docs/ControlledListbox.sample.jsx create mode 100644 packages/components/src/listbox/docs/Listbox.mdx rename packages/components/src/listbox/docs/{Listbox.stories.mdx => Listbox.stories.tsx} (58%) delete mode 100644 packages/components/src/listbox/docs/ListboxContext.sample.jsx diff --git a/packages/components/src/divider/docs/Divider.mdx b/packages/components/src/divider/docs/Divider.mdx new file mode 100644 index 000000000..d5f923138 --- /dev/null +++ b/packages/components/src/divider/docs/Divider.mdx @@ -0,0 +1,51 @@ +import { ArgTypes, Canvas, Meta } from "@storybook/addon-docs"; +import { ComponentInfo, Tagline } from "@stories/components"; +import { InnerDivider } from "@components/divider"; +import * as DividerStories from "./Divider.stories.tsx"; + +<Meta of={DividerStories} /> + +# Divider + +<Tagline>A divider to separates and distinguishes sections of content or groups of menu items.</Tagline> + +<ComponentInfo + usage={"import { Divider } from \"@workleap/orbiter-ui\";"} + githubPath="/packages/components/src/divider/src" +/> + +## Usage + +### Default + +By default a divider render horizontally which takes the width of it's container. + +<Canvas of={DividerStories.Horizontal} /> + +### Vertical + +A divider can change his orientation to vertical. + +<Canvas of={DividerStories.Vertical} /> + +### Labelled + +A divider can have a label when it's render horizontally: + +<Canvas of={DividerStories.LabelledHorizontally} /> + +Or vertically: + +<Canvas of={DividerStories.LabelledVertically} /> + +## API + +### Divider + +<ComponentInfo + usage={"import { Divider } from \"@workleap/orbiter-ui\";"} + inherits={[InnerDivider.defaultElement, "styled-component"]} + compact +/> + +<ArgTypes of={InnerDivider} sort="alpha" /> diff --git a/packages/components/src/divider/docs/Divider.stories.mdx b/packages/components/src/divider/docs/Divider.stories.mdx deleted file mode 100644 index f875c7611..000000000 --- a/packages/components/src/divider/docs/Divider.stories.mdx +++ /dev/null @@ -1,81 +0,0 @@ -import { ArgsTable, Meta, Story } from "@storybook/addon-docs"; -import { ComponentInfo, Preview, Tagline } from "@stories/components"; -import { Div } from "@components/html"; -import { Divider, InnerDivider } from "@components/divider"; -import { Dot } from "@components/dot"; -import { Flex } from "@components/layout"; -import { TextLink } from "@components/link"; - -<Meta - title="Components/Divider" - id="divider" -/> - -# Divider - -<Tagline>A divider to separates and distinguishes sections of content or groups of menu items.</Tagline> - -<ComponentInfo - usage={"import { Divider } from \"@workleap/orbiter-ui\";"} - githubPath="/packages/components/src/divider/src" -/> - -## Usage - -### Default - -By default a divider render horizontally which takes the width of it's container. - -<Preview> - <Story name="horizontal"> - <Divider /> - </Story> -</Preview> - -### Vertical - -A divider can change his orientation to vertical. - -<Preview> - <Story name="vertical"> - <Flex> - <Dot color="--o-ui-moss-600">Starlink operational</Dot> - <Divider orientation="vertical" /> - <TextLink href="#">Manage</TextLink> - <Divider orientation="vertical" /> - <TextLink href="#">View logs</TextLink> - </Flex> - </Story> -</Preview> - -### Labelled - -A divider can have a label when it's render horizontally: - -<Preview> - <Story name="labelled horizontally"> - <Divider>Last 30 days</Divider> - </Story> -</Preview> - -Or vertically: - -<Preview> - <Story name="labelled vertically"> - <Div height="150px"> - <Divider orientation="vertical">Last 30 days</Divider> - </Div> - </Story> -</Preview> - -## API - -### Divider - -<ComponentInfo - usage={"import { Divider } from \"@workleap/orbiter-ui\";"} - inherits={[InnerDivider.defaultElement, "styled-component"]} - compact -/> - -<ArgsTable of={InnerDivider} sort="alpha" /> diff --git a/packages/components/src/divider/docs/Divider.stories.tsx b/packages/components/src/divider/docs/Divider.stories.tsx new file mode 100644 index 000000000..6a2979e78 --- /dev/null +++ b/packages/components/src/divider/docs/Divider.stories.tsx @@ -0,0 +1,48 @@ +import { Meta, StoryObj } from "@storybook/react"; +import { Div } from "@components/html"; +import { Divider } from "@components/divider"; +import { Dot } from "@components/dot"; +import { Flex } from "@components/layout"; +import { TextLink } from "@components/link"; + +const meta = { + title: "Components/Divider", + component: Divider, + id: "divider" +} as Meta<typeof Divider>; + +export default meta; + +type Story = StoryObj<typeof Divider>; + +export const Horizontal: Story = { + render: () => ( + <Divider /> + ) +}; + +export const Vertical: Story = { + render: () => ( + <Flex> + <Dot color="--o-ui-moss-600">Starlink operational</Dot> + <Divider orientation="vertical" /> + <TextLink href="#">Manage</TextLink> + <Divider orientation="vertical" /> + <TextLink href="#">View logs</TextLink> + </Flex> + ) +}; + +export const LabelledHorizontally: Story = { + render: () => ( + <Divider>Last 30 days</Divider> + ) +}; + +export const LabelledVertically: Story = { + render: () => ( + <Div height="150px"> + <Divider orientation="vertical">Last 30 days</Divider> + </Div> + ) +}; diff --git a/packages/components/src/listbox/docs/ControlledListbox.sample.jsx b/packages/components/src/listbox/docs/ControlledListbox.sample.jsx deleted file mode 100644 index 35745aff3..000000000 --- a/packages/components/src/listbox/docs/ControlledListbox.sample.jsx +++ /dev/null @@ -1,24 +0,0 @@ -() => { - const [selectedKeys, setSelectedKeys] = useState([]); - - const handleSelectionChange = useCallback((event, newKeys) => { - setSelectedKeys(newKeys); - console.log(newKeys); - }, [setSelectedKeys]); - - return ( - <Listbox - selectedKeys={selectedKeys} - aria-label="Planets" - onSelectionChange={handleSelectionChange} - > - <Item key="earth">Earth</Item> - <Item key="jupiter">Jupiter</Item> - <Item key="mars">Mars</Item> - <Item key="mercury">Mercury</Item> - <Item key="neptune">Neptune</Item> - <Item key="saturn">Saturn</Item> - <Item key="uranus">Uranus</Item> - </Listbox> - ); -}; diff --git a/packages/components/src/listbox/docs/Listbox.mdx b/packages/components/src/listbox/docs/Listbox.mdx new file mode 100644 index 000000000..2a7b7161b --- /dev/null +++ b/packages/components/src/listbox/docs/Listbox.mdx @@ -0,0 +1,167 @@ +import { ArgTypes, Canvas, Meta } from "@storybook/addon-docs"; +import { ComponentInfo, Preview, Tagline } from "@stories/components"; +import { InnerItem, InnerSection } from "@components/collection"; +import { InnerListbox, InnerListboxOption, InnerListboxSection } from "@components/listbox"; +import * as ListboxStories from "./Listbox.stories.tsx"; + +<Meta of={ListboxStories} /> + +# Listbox + +<Tagline>A listbox presents a list of options and allows a user to select one or more of them</Tagline> + +<ComponentInfo + usage={"import { Listbox, Item, Section, ListboxContext, useListboxContext } from \"@workleap/orbiter-ui\";"} + ariaPath="listbox" + githubPath="/packages/components/src/listbox/src" +/> + +## Guidelines + +### Accessibility + +- A listbox should have an [`aria-label`](https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Attributes/aria-label) property describing the content of the list. + +## Usage + +### Default + +A default listbox. + +<Canvas of={ListboxStories.Default} /> + +### Selection mode + +A listbox support `single` and `multiple` selection mode. + +<Canvas of={ListboxStories.Selection} /> + +### Sections + +A listbox items can be group by sections. + +<Canvas of={ListboxStories.Sections} /> + +### Item icon + +A listbox item can have [icons](?path=/docs/icon-gallery--page). + +<Canvas of={ListboxStories.ItemIcon} /> + +### Item end icon + +A listbox item can have *non standard* end [icons](?path=/docs/icon-gallery--page) can be provided to handle special cases like displaying a list of icons. + +However, think twice before adding *end* icons, *start* icons should be your go to. + +<Canvas of={ListboxStories.ItemEndIcon} /> + +### Item description + +A listbox item can have a **single line** description. + +<Canvas of={ListboxStories.ItemDescription} /> + +A description can be paired with an [icon](?path=/docs/icon-gallery--page). + +<Canvas of={ListboxStories.ItemDescriptionIcon} /> + +A description can also be paired with an [avatar](?path=/docs/avatar--default-story). + +<Canvas of={ListboxStories.ItemDescriptionAvatar} /> + +### Item tooltip + +A listbox item can have a basic tooltip. + +<Canvas of={ListboxStories.ItemTooltip} /> + +### Array map + +A listbox items can be rendered with an array map. + +<Canvas of={ListboxStories.ArrayMap} /> + +### Listbox context + +The `selectedKeys` state can be retrieved from `useListboxContext`. + +<Canvas of={ListboxStories.ListboxContext} /> + +### Disabled item + +A listbox item can be disabled. + +<Canvas of={ListboxStories.DisabledItem} /> + +### Fluid + +A listbox can take the width of it's container. + +<Canvas of={ListboxStories.Fluid} /> + +### Validation + +A listbox can display a validation state to communicate to the user whether the current value is valid or invalid. Implement your own validation logic in your app and pass either `"valid"` or `"invalid"` to the listbox via the `validationState` prop. + +<Canvas of={ListboxStories.Validation} /> + +### Controlled + +The `selectedKeys` state can be handled in controlled mode. + +<Canvas of={ListboxStories.Controlled} /> + +## API + +### Listbox + +<ComponentInfo + usage={"import { Listbox } from \"@workleap/orbiter-ui\";"} + inherits={[InnerListbox.defaultElement, "styled-component"]} + compact +/> + +<ArgTypes of={InnerListbox} sort="alpha" /> + +### Item + +<ComponentInfo + usage={"import { Item } from \"@workleap/orbiter-ui\";"} + slots={["icon", "avatar", "text", "description", "end-icon"]} + inherits={[InnerItem.defaultElement, "styled-component"]} + compact +/> + +<ArgTypes of={InnerItem} sort="alpha" /> + +### Section + +<ComponentInfo + usage={"import { Section } from \"@workleap/orbiter-ui\";"} + inherits={[InnerSection.defaultElement, "styled-component"]} + compact +/> + +<ArgTypes of={InnerSection} sort="alpha" /> + +### ListboxOption + +<ComponentInfo + usage={"import { ListboxOption } from \"@workleap/orbiter-ui\";"} + slots={["icon", "avatar", "text", "description", "end-icon"]} + inherits={[InnerListboxOption.defaultElement, "styled-component"]} + compact +/> + +<ArgTypes of={InnerListboxOption} sort="alpha" /> + +### ListboxSection + +<ComponentInfo + usage={"import { ListboxSection } from \"@workleap/orbiter-ui\";"} + inherits={[InnerListboxSection.defaultElement, "styled-component"]} + compact +/> + +<ArgTypes of={InnerListboxSection} sort="alpha" /> diff --git a/packages/components/src/listbox/docs/Listbox.stories.mdx b/packages/components/src/listbox/docs/Listbox.stories.tsx similarity index 58% rename from packages/components/src/listbox/docs/Listbox.stories.mdx rename to packages/components/src/listbox/docs/Listbox.stories.tsx index b5e9609b7..e51991378 100644 --- a/packages/components/src/listbox/docs/Listbox.stories.mdx +++ b/packages/components/src/listbox/docs/Listbox.stories.tsx @@ -1,43 +1,27 @@ -import { ArgsTable, Meta, Story } from "@storybook/addon-docs"; +/* eslint-disable react-hooks/rules-of-hooks */ +import { Meta, StoryObj } from "@storybook/react"; import { Avatar } from "@components/avatar"; -import { ComponentInfo, Preview, Tagline } from "@stories/components"; import { IconList } from "@components/icons"; import { CatIcon, RocketIcon, SparklesIcon } from "@hopper-ui/icons"; import { Inline } from "@components/layout"; -import { InnerItem, InnerSection, Item, Section } from "@components/collection"; -import { InnerListbox, InnerListboxOption, InnerListboxSection, Listbox } from "@components/listbox"; +import { Item, Section } from "@components/collection"; +import { Listbox, ListboxOption, useListboxContext } from "@components/listbox"; import { Text } from "@components/typography"; import { Tooltip, TooltipTrigger } from "@components/tooltip"; +import { useState, useCallback } from "react"; -<Meta - title="Components/Listbox" - id="listbox" -/> +const meta = { + title: "Components/Listbox", + component: Listbox, + id: "listbox" +} as Meta<typeof Listbox>; -# Listbox +export default meta; -<Tagline>A listbox presents a list of options and allows a user to select one or more of them</Tagline> +type Story = StoryObj<typeof Listbox>; -<ComponentInfo - usage={"import { Listbox, Item, Section, ListboxContext, useListboxContext } from \"@workleap/orbiter-ui\";"} - ariaPath="listbox" - githubPath="/packages/components/src/listbox/src" -/> - -## Guidelines - -### Accessibility - -- A listbox should have an [`aria-label`](https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Attributes/aria-label) property describing the content of the list. - -## Usage - -### Default - -A default listbox. - -<Preview> - <Story name="default"> +export const Default: Story = { + render: () => ( <Listbox aria-label="Planets"> <Item key="earth">Earth</Item> <Item key="jupiter">Jupiter</Item> @@ -47,15 +31,11 @@ A default listbox. <Item key="saturn">Saturn</Item> <Item key="uranus">Uranus</Item> </Listbox> - </Story> -</Preview> - -### Selection mode + ) +}; -A listbox support `single` and `multiple` selection mode. - -<Preview> - <Story name="selection"> +export const Selection: Story = { + render: () => ( <Inline gap={480}> <Listbox aria-label="Planets"> <Item key="earth">Earth</Item> @@ -66,7 +46,7 @@ A listbox support `single` and `multiple` selection mode. <Item key="saturn">Saturn</Item> <Item key="uranus">Uranus</Item> </Listbox> - <Listbox selectionMode="multiple" aria-label="Planets"> + <Listbox aria-label="Planets" selectionMode="multiple"> <Item key="earth">Earth</Item> <Item key="jupiter">Jupiter</Item> <Item key="mars">Mars</Item> @@ -76,15 +56,11 @@ A listbox support `single` and `multiple` selection mode. <Item key="uranus">Uranus</Item> </Listbox> </Inline> - </Story> -</Preview> - -### Sections + ) +}; -A listbox items can be group by sections. - -<Preview> - <Story name="sections"> +export const Sections: Story = { + render: () => ( <Listbox aria-label="Planets"> <Section title="Visited"> <Item key="earth">Earth</Item> @@ -98,15 +74,11 @@ A listbox items can be group by sections. <Item key="uranus">Uranus</Item> </Section> </Listbox> - </Story> -</Preview> - -### Item icon + ) +}; -A listbox item can have [icons](?path=/docs/icon-gallery--page). - -<Preview> - <Story name="item icon"> +export const ItemIcon: Story = { + render: () => ( <Listbox aria-label="Planets"> <Item key="earth"> <SparklesIcon /> @@ -121,17 +93,11 @@ A listbox item can have [icons](?path=/docs/icon-gallery--page). <Text>Mars</Text> </Item> </Listbox> - </Story> -</Preview> - -### Item end icon - -A listbox item can have *non standard* end [icons](?path=/docs/icon-gallery--page) can be provided to handle special cases like displaying a list of icons. - -However, think twice before adding *end* icons, *start* icons should be your go to. + ) +}; -<Preview> - <Story name="item end icon"> +export const ItemEndIcon: Story = { + render: () => ( <Listbox aria-label="Planets"> <Item key="earth"> <Text>Earth</Text> @@ -154,15 +120,11 @@ However, think twice before adding *end* icons, *start* icons should be your go </IconList> </Item> </Listbox> - </Story> -</Preview> + ) +}; -### Item description - -A listbox item can have a **single line** description. - -<Preview> - <Story name="item description"> +export const ItemDescription: Story = { + render: () => ( <Listbox aria-label="Planets"> <Item key="earth"> <Text>Earth</Text> @@ -177,13 +139,11 @@ A listbox item can have a **single line** description. <Text slot="description">See you in 2026</Text> </Item> </Listbox> - </Story> -</Preview> + ) +}; -A description can be paired with an [icon](?path=/docs/icon-gallery--page). - -<Preview> - <Story name="item description + icon"> +export const ItemDescriptionIcon: Story = { + render: () => ( <Listbox aria-label="Planets"> <Item key="earth"> <SparklesIcon /> @@ -201,13 +161,11 @@ A description can be paired with an [icon](?path=/docs/icon-gallery--page). <Text slot="description">See you in 2026</Text> </Item> </Listbox> - </Story> -</Preview> - -A description can also be paired with an [avatar](?path=/docs/avatar--default-story). + ) +}; -<Preview> - <Story name="item description + avatar"> +export const ItemDescriptionAvatar: Story = { + render: () => ( <Listbox aria-label="Planets"> <Item key="earth"> <Avatar name="Earth" /> @@ -225,15 +183,11 @@ A description can also be paired with an [avatar](?path=/docs/avatar--default-st <Text slot="description">See you in 2026</Text> </Item> </Listbox> - </Story> -</Preview> + ) +}; -### Item tooltip - -A listbox item can have a basic tooltip. - -<Preview> - <Story name="item tooltip"> +export const ItemTooltip: Story = { + render: () => ( <Listbox aria-label="Planets"> <TooltipTrigger> <Item key="earth">Earth</Item> @@ -248,35 +202,48 @@ A listbox item can have a basic tooltip. <Tooltip>See you in 2026</Tooltip> </TooltipTrigger> </Listbox> - </Story> -</Preview> - -### Array map - -A listbox items can be rendered with an array map. + ) +}; -<Preview> - <Story name="array map"> +export const ArrayMap: Story = { + render: () => ( <Listbox aria-label="Planets"> {["Earth", "Jupiter", "Mars"].map(x => ( <Item key={x.toLowerCase()}>{x}</Item> ))} </Listbox> - </Story> -</Preview> - -### Listbox context - -The `selectedKeys` state can be retrieved from `useListboxContext`. - -<Preview filePath="/listbox/docs/ListboxContext" /> - -### Disabled item - -A listbox item can be disabled. + ) +}; + +export const ListboxContext: Story = { + render: () => { + function CustomOption({ item, children, ...rest }) { + const { selectedKeys } = useListboxContext(); + const { key } = item; + + return ( + <ListboxOption + {...rest} + color={selectedKeys.includes(key) ? "primary" : undefined} + item={item} + > + {children} + </ListboxOption> + ); + } + + return ( + <Listbox aria-label="Planets"> + {["Earth", "Jupiter", "Mars", "Mercury", "Neptune", "Saturn", "Uranus"].map(x => ( + <CustomOption item={x} key={x.toLowerCase()}>{x}</CustomOption> + ))} + </Listbox> + ); + } +}; -<Preview> - <Story name="disabled item"> +export const DisabledItem: Story = { + render: () => ( <Listbox aria-label="Planets"> <Item disabled key="earth">Earth</Item> <Item key="jupiter">Jupiter</Item> @@ -286,16 +253,12 @@ A listbox item can be disabled. <Item key="saturn">Saturn</Item> <Item key="uranus">Uranus</Item> </Listbox> - </Story> -</Preview> + ) +}; -### Fluid - -A listbox can take the width of it's container. - -<Preview> - <Story name="fluid"> - <Listbox fluid aria-label="Planets"> +export const Fluid: Story = { + render: () => ( + <Listbox aria-label="Planets" fluid> <Item key="earth">Earth</Item> <Item key="jupiter">Jupiter</Item> <Item key="mars">Mars</Item> @@ -304,16 +267,12 @@ A listbox can take the width of it's container. <Item key="saturn">Saturn</Item> <Item key="uranus">Uranus</Item> </Listbox> - </Story> -</Preview> - -### Validation - -A listbox can display a validation state to communicate to the user whether the current value is valid or invalid. Implement your own validation logic in your app and pass either `"valid"` or `"invalid"` to the listbox via the `validationState` prop. + ) +}; -<Preview> - <Story name="validation"> - <Listbox validationState="invalid" defaultSelectedKeys={["mars"]} aria-label="Planets"> +export const Validation: Story = { + render: () => ( + <Listbox aria-label="Planets" defaultSelectedKeys={["mars"]} validationState="invalid"> <Item key="earth">Earth</Item> <Item key="jupiter">Jupiter</Item> <Item key="mars">Mars</Item> @@ -322,65 +281,32 @@ A listbox can display a validation state to communicate to the user whether the <Item key="saturn">Saturn</Item> <Item key="uranus">Uranus</Item> </Listbox> - </Story> -</Preview> - -### Controlled - -The `selectedKeys` state can be handled in controlled mode. - -<Preview filePath="/listbox/docs/ControlledListbox" /> - -## API - -### Listbox - -<ComponentInfo - usage={"import { Listbox } from \"@workleap/orbiter-ui\";"} - inherits={[InnerListbox.defaultElement, "styled-component"]} - compact -/> - -<ArgsTable of={InnerListbox} sort="alpha" /> - -### Item - -<ComponentInfo - usage={"import { Item } from \"@workleap/orbiter-ui\";"} - slots={["icon", "avatar", "text", "description", "end-icon"]} - inherits={[InnerItem.defaultElement, "styled-component"]} - compact -/> - -<ArgsTable of={InnerItem} sort="alpha" /> - -### Section - -<ComponentInfo - usage={"import { Section } from \"@workleap/orbiter-ui\";"} - inherits={[InnerSection.defaultElement, "styled-component"]} - compact -/> - -<ArgsTable of={InnerSection} sort="alpha" /> - -### ListboxOption - -<ComponentInfo - usage={"import { ListboxOption } from \"@workleap/orbiter-ui\";"} - slots={["icon", "avatar", "text", "description", "end-icon"]} - inherits={[InnerListboxOption.defaultElement, "styled-component"]} - compact -/> - -<ArgsTable of={InnerListboxOption} sort="alpha" /> - -### ListboxSection - -<ComponentInfo - usage={"import { ListboxSection } from \"@workleap/orbiter-ui\";"} - inherits={[InnerListboxSection.defaultElement, "styled-component"]} - compact -/> - -<ArgsTable of={InnerListboxSection} sort="alpha" /> + ) +}; + +export const Controlled: Story = { + render: () => { + const [selectedKeys, setSelectedKeys] = useState([]); + + const handleSelectionChange = useCallback((event, newKeys) => { + setSelectedKeys(newKeys); + console.log(newKeys); + }, [setSelectedKeys]); + + return ( + <Listbox + aria-label="Planets" + onSelectionChange={handleSelectionChange} + selectedKeys={selectedKeys} + > + <Item key="earth">Earth</Item> + <Item key="jupiter">Jupiter</Item> + <Item key="mars">Mars</Item> + <Item key="mercury">Mercury</Item> + <Item key="neptune">Neptune</Item> + <Item key="saturn">Saturn</Item> + <Item key="uranus">Uranus</Item> + </Listbox> + ); + } +}; diff --git a/packages/components/src/listbox/docs/ListboxContext.sample.jsx b/packages/components/src/listbox/docs/ListboxContext.sample.jsx deleted file mode 100644 index 63486f85e..000000000 --- a/packages/components/src/listbox/docs/ListboxContext.sample.jsx +++ /dev/null @@ -1,24 +0,0 @@ -function CustomOption({ item, children, ...rest }) { - const { selectedKeys } = useListboxContext(); - const { key } = item; - - return ( - <ListboxOption - {...rest} - item={item} - color={selectedKeys.includes(key) ? "primary" : undefined} - > - {children} - </ListboxOption> - ); -} - -render(() => { - return ( - <Listbox aria-label="Planets"> - {["Earth", "Jupiter", "Mars", "Mercury", "Neptune", "Saturn", "Uranus"].map(x => ( - <CustomOption key={x.toLowerCase()}>{x}</CustomOption> - ))} - </Listbox> - ); -}); From 201ea64b6dfac3283de390c77239c3829df2df91 Mon Sep 17 00:00:00 2001 From: Victor Trinh <victor.trinh@gsoft.com> Date: Tue, 5 Nov 2024 09:26:30 -0500 Subject: [PATCH 62/95] Illustration --- .../src/illustration/docs/Illustration.mdx | 48 +++++++++++++ .../docs/Illustration.stories.mdx | 70 ------------------- .../docs/Illustration.stories.tsx | 40 +++++++++++ 3 files changed, 88 insertions(+), 70 deletions(-) create mode 100644 packages/components/src/illustration/docs/Illustration.mdx delete mode 100644 packages/components/src/illustration/docs/Illustration.stories.mdx create mode 100644 packages/components/src/illustration/docs/Illustration.stories.tsx diff --git a/packages/components/src/illustration/docs/Illustration.mdx b/packages/components/src/illustration/docs/Illustration.mdx new file mode 100644 index 000000000..f22a24360 --- /dev/null +++ b/packages/components/src/illustration/docs/Illustration.mdx @@ -0,0 +1,48 @@ +import { ArgTypes, Canvas, Meta } from "@storybook/addon-docs"; +import { ComponentInfo, Tagline } from "@stories/components"; +import { InnerIllustration } from "@components/illustration"; +import * as IllustrationStories from "./Illustration.stories.tsx"; + +<Meta of={IllustrationStories} /> + +# Illustration + +<Tagline>An illustration compose an image with a background color. Use an illustration as an hero in a modal.</Tagline> + +<ComponentInfo + usage={"import { Illustration } from \"@workleap/orbiter-ui\";"} + githubPath="/packages/components/src/illustration/src" +/> + +## Usage + +### Default + +An illustration renders horizontally by default. + +<Canvas of={IllustrationStories.Default} /> + +### Vertical + +An illustration can render vertically. + +<Canvas of={IllustrationStories.Vertical} /> + +### Shape + +An illustration can have a `rounded` shape. + +<Canvas of={IllustrationStories.Shape} /> + +## API + +### Illustration + +<ComponentInfo + usage={"import { Illustration } from \"@workleap/orbiter-ui\";"} + slots={["image"]} + inherits={[InnerIllustration.defaultElement, "styled-component"]} + compact +/> + +<ArgTypes of={InnerIllustration} sort="alpha" /> diff --git a/packages/components/src/illustration/docs/Illustration.stories.mdx b/packages/components/src/illustration/docs/Illustration.stories.mdx deleted file mode 100644 index c3bf029fe..000000000 --- a/packages/components/src/illustration/docs/Illustration.stories.mdx +++ /dev/null @@ -1,70 +0,0 @@ -import { ArgsTable, Meta, Story } from "@storybook/addon-docs"; -import { ComponentInfo, Preview, Tagline } from "@stories/components"; -import { Illustration, InnerIllustration } from "@components/illustration"; -import { Image } from "@components/image"; -import { Planet } from "./assets"; - -<Meta - title="Components/Illustration" - id="illustration" -/> - -# Illustration - -<Tagline>An illustration compose an image with a background color. Use an illustration as an hero in a modal.</Tagline> - -<ComponentInfo - usage={"import { Illustration } from \"@workleap/orbiter-ui\";"} - githubPath="/packages/components/src/illustration/src" -/> - -## Usage - -### Default - -An illustration renders horizontally by default. - -<Preview scope={{ Planet }}> - <Story name="default"> - <Illustration backgroundColor="primary-weak" height="12rem" padding={160}> - <Image src={Planet} stroke="primary" /> - </Illustration> - </Story> -</Preview> - -### Vertical - -An illustration can render vertically. - -<Preview scope={{ Planet }} height="30rem"> - <Story name="vertical"> - <Illustration orientation="vertical" backgroundColor="primary-weak" width="12rem" padding={160}> - <Image src={Planet} alt="Planet over another planet" /> - </Illustration> - </Story> -</Preview> - -### Shape - -An illustration can have a `rounded` shape. - -<Preview scope={{ Planet }}> - <Story name="shape"> - <Illustration shape="rounded" backgroundColor="primary-weak"> - <Image src={Planet} alt="Planet over another planet" /> - </Illustration> - </Story> -</Preview> - -## API - -### Illustration - -<ComponentInfo - usage={"import { Illustration } from \"@workleap/orbiter-ui\";"} - slots={["image"]} - inherits={[InnerIllustration.defaultElement, "styled-component"]} - compact -/> - -<ArgsTable of={InnerIllustration} sort="alpha" /> diff --git a/packages/components/src/illustration/docs/Illustration.stories.tsx b/packages/components/src/illustration/docs/Illustration.stories.tsx new file mode 100644 index 000000000..ded067bdf --- /dev/null +++ b/packages/components/src/illustration/docs/Illustration.stories.tsx @@ -0,0 +1,40 @@ +import { Meta, StoryObj } from "@storybook/react"; +import { Illustration } from "@components/illustration"; +import { Image } from "@components/image"; +import { Planet } from "./assets"; + +const meta = { + title: "Components/Illustration", + component: Illustration, + id: "illustration" +} as Meta<typeof Illustration>; + +export default meta; + +type Story = StoryObj<typeof Illustration>; + +export const Default: Story = { + render: () => ( + <Illustration backgroundColor="primary-weak" height="12rem" padding={160}> + <Image alt="planet" src={Planet} stroke="primary" /> + </Illustration> + ) +}; + +export const Vertical: Story = { + render: () => ( + <div style={{ height: "30rem" }}> + <Illustration backgroundColor="primary-weak" orientation="vertical" padding={160} width="12rem"> + <Image alt="Planet over another planet" src={Planet} /> + </Illustration> + </div> + ) +}; + +export const Shape: Story = { + render: () => ( + <Illustration backgroundColor="primary-weak" shape="rounded"> + <Image alt="Planet over another planet" src={Planet} /> + </Illustration> + ) +}; From 23e73baf6196d8f7b001e9152ab78b35fb88a4b6 Mon Sep 17 00:00:00 2001 From: Victor Trinh <victor.trinh@gsoft.com> Date: Tue, 5 Nov 2024 09:42:48 -0500 Subject: [PATCH 63/95] ThemeProvider --- ...Provider.stories.mdx => ThemeProvider.mdx} | 16 +++++--------- .../styling/docs/ThemeProvider.stories.tsx | 21 +++++++++++++++++++ 2 files changed, 26 insertions(+), 11 deletions(-) rename packages/components/src/styling/docs/{theme-provider/ThemeProvider.stories.mdx => ThemeProvider.mdx} (73%) create mode 100644 packages/components/src/styling/docs/ThemeProvider.stories.tsx diff --git a/packages/components/src/styling/docs/theme-provider/ThemeProvider.stories.mdx b/packages/components/src/styling/docs/ThemeProvider.mdx similarity index 73% rename from packages/components/src/styling/docs/theme-provider/ThemeProvider.stories.mdx rename to packages/components/src/styling/docs/ThemeProvider.mdx index 94e8ddac0..0b2716699 100644 --- a/packages/components/src/styling/docs/theme-provider/ThemeProvider.stories.mdx +++ b/packages/components/src/styling/docs/ThemeProvider.mdx @@ -1,11 +1,9 @@ -import { ArgsTable, Meta } from "@storybook/addon-docs"; +import { ArgTypes, Canvas, Meta } from "@storybook/addon-docs"; import { ComponentInfo, Tagline } from "@stories/components"; import { ThemeProvider, InnerThemeProvider } from "@components/styling" +import * as ThemeProviderStories from "./ThemeProvider.stories.tsx"; -<Meta - title="Components/ThemeProvider" - id="theme-provider" -/> +<Meta of={ThemeProviderStories} /> # ThemeProvider @@ -20,11 +18,7 @@ import { ThemeProvider, InnerThemeProvider } from "@components/styling" Orbiter components rely on the `ThemeProvider` to define the [color scheme](?path=/docs/color-schemes--page) they need to render accurately. We recommended you declare a theme provider at the root of your application but if you prefer, you can declare them as needed instead. -```jsx -<ThemeProvider colorScheme="system" defaultColorScheme="light"> - <Button variant="secondary">Cutoff</Button> -</ThemeProvider> -``` +<Canvas of={ThemeProviderStories.Example} /> ## API @@ -36,4 +30,4 @@ Orbiter components rely on the `ThemeProvider` to define the [color scheme](?pat compact /> -<ArgsTable of={InnerThemeProvider} sort="alpha" /> +<ArgTypes of={InnerThemeProvider} sort="alpha" /> diff --git a/packages/components/src/styling/docs/ThemeProvider.stories.tsx b/packages/components/src/styling/docs/ThemeProvider.stories.tsx new file mode 100644 index 000000000..7cae0dcdc --- /dev/null +++ b/packages/components/src/styling/docs/ThemeProvider.stories.tsx @@ -0,0 +1,21 @@ +import { Meta, StoryObj } from "@storybook/react"; +import { ThemeProvider } from "@components/styling"; +import { Button } from "@components"; + +const meta = { + title: "Components/ThemeProvider", + component: ThemeProvider, + id: "theme-provider" +} as Meta<typeof ThemeProvider>; + +export default meta; + +type Story = StoryObj<typeof ThemeProvider>; + +export const Example: Story = { + render: () => ( + <ThemeProvider colorScheme="system" defaultColorScheme="light"> + <Button variant="secondary">Cutoff</Button> + </ThemeProvider> + ) +}; From 3bf9d1c8761945a5d67405692690d5cf6d42db01 Mon Sep 17 00:00:00 2001 From: Francis Thibault <francis.thibault@gsoft.com> Date: Tue, 5 Nov 2024 11:57:29 -0500 Subject: [PATCH 64/95] added dateInput and dateRangeInput --- .../docs/ControlledDateInput.sample.jsx | 15 -- .../docs/ControlledDateRangeInput.sample.jsx | 18 --- .../src/date-input/docs/DateInput.mdx | 87 +++++++++++ .../src/date-input/docs/DateInput.stories.mdx | 132 ---------------- .../src/date-input/docs/DateInput.stories.tsx | 111 ++++++++++++++ .../src/date-input/docs/DateRangeInput.mdx | 92 +++++++++++ .../docs/DateRangeInput.stories.mdx | 143 ------------------ .../docs/DateRangeInput.stories.tsx | 125 +++++++++++++++ .../docs/DateRangeValidation.sample.jsx | 20 --- .../date-input/docs/DateValidation.sample.jsx | 16 -- .../number-input/docs/NumberInput.stories.tsx | 2 +- 11 files changed, 416 insertions(+), 345 deletions(-) delete mode 100644 packages/components/src/date-input/docs/ControlledDateInput.sample.jsx delete mode 100644 packages/components/src/date-input/docs/ControlledDateRangeInput.sample.jsx create mode 100644 packages/components/src/date-input/docs/DateInput.mdx delete mode 100644 packages/components/src/date-input/docs/DateInput.stories.mdx create mode 100644 packages/components/src/date-input/docs/DateInput.stories.tsx create mode 100644 packages/components/src/date-input/docs/DateRangeInput.mdx delete mode 100644 packages/components/src/date-input/docs/DateRangeInput.stories.mdx create mode 100644 packages/components/src/date-input/docs/DateRangeInput.stories.tsx delete mode 100644 packages/components/src/date-input/docs/DateRangeValidation.sample.jsx delete mode 100644 packages/components/src/date-input/docs/DateValidation.sample.jsx diff --git a/packages/components/src/date-input/docs/ControlledDateInput.sample.jsx b/packages/components/src/date-input/docs/ControlledDateInput.sample.jsx deleted file mode 100644 index c1a0d5087..000000000 --- a/packages/components/src/date-input/docs/ControlledDateInput.sample.jsx +++ /dev/null @@ -1,15 +0,0 @@ -() => { - const [date, setDate] = useState(null); - - const handleDateChange = useCallback((event, newDate) => { - setDate(newDate); - console.log(newDate); - }, [setDate]); - - return ( - <DateInput - value={date} - onDateChange={handleDateChange} - /> - ); -}; diff --git a/packages/components/src/date-input/docs/ControlledDateRangeInput.sample.jsx b/packages/components/src/date-input/docs/ControlledDateRangeInput.sample.jsx deleted file mode 100644 index 382d685a9..000000000 --- a/packages/components/src/date-input/docs/ControlledDateRangeInput.sample.jsx +++ /dev/null @@ -1,18 +0,0 @@ -() => { - const [startDate, setStartDate] = useState(null); - const [endDate, setEndDate] = useState(null); - - const handleDatesChange = useCallback((event, newStartDate, newEndDate) => { - setStartDate(newStartDate); - setEndDate(newEndDate); - console.log(newStartDate, newEndDate); - }, [setStartDate, setEndDate]); - - return ( - <DateRangeInput - startDate={startDate} - endDate={endDate} - onDatesChange={handleDatesChange} - /> - ); -}; diff --git a/packages/components/src/date-input/docs/DateInput.mdx b/packages/components/src/date-input/docs/DateInput.mdx new file mode 100644 index 000000000..6ff12a1f1 --- /dev/null +++ b/packages/components/src/date-input/docs/DateInput.mdx @@ -0,0 +1,87 @@ +import { ArgTypes, Meta, Canvas } from "@storybook/addon-docs"; +import { ComponentInfo, Tagline } from "@stories/components"; +import { InnerDateInput } from "@components/date-input"; + +import * as DateInputStories from "./DateInput.stories.tsx"; + +<Meta of={DateInputStories} /> + +# DateInput + +<Tagline>An input to enter a single date value.</Tagline> + +<ComponentInfo + usage={"import { DateInput } from \"@workleap/orbiter-ui\";"} + githubPath="/packages/components/src/date-input/src" +/> + +## Usage + +> The [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/Date) constructor `monthIndex` argument is 0 based. Therefore, for `01/01/2021` you must write `new Date(2021, 0, 1)`. + +### Default + +A default date input. + +<Canvas of={DateInputStories.Default} /> + +### Value + +A date input can have a value. + +<Canvas of={DateInputStories.Value} /> + +### Presets + +A date input can offer a predefined set of frequently used dates: + +<Canvas of={DateInputStories.Presets} /> + +By default, presets are displayed as *compact* but they could also be displayed as *expanded*: + +<Canvas of={DateInputStories.ExpandedPresets} /> + +### Disabled + +A date input can be disabled. + +<Canvas of={DateInputStories.Disabled} /> + +### Readonly + +A date input can be readonly. + +<Canvas of={DateInputStories.ReadOnly} /> + +### Fluid + +A date input can take the width of its container. + +<Canvas of={DateInputStories.Fluid} /> + +### Validation + +A date input can display a validation state to communicate to the user whether the current value is valid or invalid. Implement your own validation logic in your app and pass either `"valid"` or `"invalid"` to the input via the `validationState` prop. + +The example below illustrates how one would validate if the date is greater than *05/01/1970*. + +<Canvas of={DateInputStories.DateValidation} /> + +### Controlled + +A date input `value` can be handled in controlled mode. + +<Canvas of={DateInputStories.Controlled} /> + +## API + +### DateInput + +<ComponentInfo + usage={"import { DateInput } from \"@workleap/orbiter-ui\";"} + inherits={[InnerDateInput.defaultElement, "styled-component"]} + compact +/> + +<ArgTypes of={InnerDateInput} sort="alpha" /> + diff --git a/packages/components/src/date-input/docs/DateInput.stories.mdx b/packages/components/src/date-input/docs/DateInput.stories.mdx deleted file mode 100644 index 340583674..000000000 --- a/packages/components/src/date-input/docs/DateInput.stories.mdx +++ /dev/null @@ -1,132 +0,0 @@ -import { ArgsTable, Meta, Story } from "@storybook/addon-docs"; -import { ComponentInfo, Preview, Tagline } from "@stories/components"; -import { DateInput, InnerDateInput } from "@components/date-input"; -import { subMonths, subWeeks } from "date-fns"; - -<Meta - title="Components/DateInput" - id="date-input" -/> - -# DateInput - -<Tagline>An input to enter a single date value.</Tagline> - -<ComponentInfo - usage={"import { DateInput } from \"@workleap/orbiter-ui\";"} - githubPath="/packages/components/src/date-input/src" -/> - -## Usage - -> The [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/Date) constructor `monthIndex` argument is 0 based. Therefore, for `01/01/2021` you must write `new Date(2021, 0, 1)`. - -### Default - -A default date input. - -<Preview> - <Story name="default"> - <DateInput /> - </Story> -</Preview> - -### Value - -A date input can have a value. - -<Preview> - <Story name="value"> - <DateInput defaultValue={new Date(1970, 0, 5)} /> - </Story> -</Preview> - -### Presets - -A date input can offer a predefined set of frequently used dates: - -<Preview scope={{ subMonths, subWeeks }}> - <Story name="presets"> - <DateInput - presets={[ - { text: "Last week", date: subWeeks(new Date(), 1) }, - { text: "Last month", date: subMonths(new Date(), 1) }, - { text: "Last 3 months", date: subMonths(new Date(), 3) }, - { text: "Last 6 months", date: subMonths(new Date(), 6) } - ]} - /> - </Story> -</Preview> - -By default, presets are displayed as *compact* but they could also be displayed as *expanded*: - -<Preview scope={{ subMonths, subWeeks }}> - <Story name="expanded presets"> - <DateInput - presetsVariant="expanded" - presets={[ - { text: "7 D", date: subWeeks(new Date(), 1) }, - { text: "1 M", date: subMonths(new Date(), 1) }, - { text: "3 M", date: subMonths(new Date(), 3) }, - { text: "6 M", date: subMonths(new Date(), 6) } - ]} - /> - </Story> -</Preview> - -### Disabled - -A date input can be disabled. - -<Preview> - <Story name="disabled"> - <DateInput disabled /> - </Story> -</Preview> - -### Readonly - -A date input can be readonly. - -<Preview> - <Story name="readonly"> - <DateInput readOnly /> - </Story> -</Preview> - -### Fluid - -A date input can take the width of its container. - -<Preview> - <Story name="fluid"> - <DateInput fluid /> - </Story> -</Preview> - -### Validation - -A date input can display a validation state to communicate to the user whether the current value is valid or invalid. Implement your own validation logic in your app and pass either `"valid"` or `"invalid"` to the input via the `validationState` prop. - -The example below illustrates how one would validate if the date is greater than *05/01/1970*. - -<Preview filePath="/date-input/docs/DateValidation" /> - -### Controlled - -A date input `value` can be handled in controlled mode. - -<Preview filePath="/date-input/docs/ControlledDateInput" /> - -## API - -### DateInput - -<ComponentInfo - usage={"import { DateInput } from \"@workleap/orbiter-ui\";"} - inherits={[InnerDateInput.defaultElement, "styled-component"]} - compact -/> - -<ArgsTable of={InnerDateInput} sort="alpha" /> - diff --git a/packages/components/src/date-input/docs/DateInput.stories.tsx b/packages/components/src/date-input/docs/DateInput.stories.tsx new file mode 100644 index 000000000..3c529a67b --- /dev/null +++ b/packages/components/src/date-input/docs/DateInput.stories.tsx @@ -0,0 +1,111 @@ +import { DateInput } from "@components/date-input"; +import { subMonths, subWeeks } from "date-fns"; +import { useCallback, useMemo, useState } from "react"; + +import { Meta, StoryObj } from "@storybook/react"; + +const meta = { + title: "Components/DateInput", + component: DateInput, + id: "date-input" +} as Meta<typeof DateInput>; + +export default meta; + +type DateInputStory = StoryObj<typeof meta>; + +export const Default: DateInputStory = { + render: () => ( + <DateInput /> + ) +}; + +export const Value: DateInputStory = { + render: () => ( + <DateInput defaultValue={new Date(1970, 0, 5)} /> + ) +}; + +export const Presets: DateInputStory = { + render: () => ( + <DateInput + presets={[ + { text: "Last week", date: subWeeks(new Date(), 1) }, + { text: "Last month", date: subMonths(new Date(), 1) }, + { text: "Last 3 months", date: subMonths(new Date(), 3) }, + { text: "Last 6 months", date: subMonths(new Date(), 6) } + ]} + /> + ) +}; + +export const ExpandedPresets: DateInputStory = { + render: () => ( + <DateInput + presets={[ + { text: "7 D", date: subWeeks(new Date(), 1) }, + { text: "1 M", date: subMonths(new Date(), 1) }, + { text: "3 M", date: subMonths(new Date(), 3) }, + { text: "6 M", date: subMonths(new Date(), 6) } + ]} + presetsVariant="expanded" + /> + ) +}; + +export const Disabled: DateInputStory = { + render: () => ( + <DateInput disabled /> + ) +}; + +export const ReadOnly: DateInputStory = { + render: () => ( + <DateInput readOnly /> + ) +}; + +export const Fluid: DateInputStory = { + render: () => ( + <DateInput fluid /> + ) +}; + +/* eslint-disable react-hooks/rules-of-hooks */ +export const DateValidation: DateInputStory = { + render: () => { + const [value, setValue] = useState(null); + + const isValid = useMemo(() => !value || value > new Date(1970, 0, 5), [value]); + + return ( + <DateInput + onDateChange={(event, newDate) => { + setValue(newDate); + console.log(newDate); + }} + validationState={isValid ? "valid" : "invalid"} + value={value} + /> + ); + } +}; + +/* eslint-disable react-hooks/rules-of-hooks */ +export const Controlled: DateInputStory = { + render: () => { + const [date, setDate] = useState(null); + + const handleDateChange = useCallback((event, newDate) => { + setDate(newDate); + console.log(newDate); + }, [setDate]); + + return ( + <DateInput + onDateChange={handleDateChange} + value={date} + /> + ); + } +}; diff --git a/packages/components/src/date-input/docs/DateRangeInput.mdx b/packages/components/src/date-input/docs/DateRangeInput.mdx new file mode 100644 index 000000000..5f6683793 --- /dev/null +++ b/packages/components/src/date-input/docs/DateRangeInput.mdx @@ -0,0 +1,92 @@ +import { ArgTypes, Meta, Canvas } from "@storybook/addon-docs"; +import { ComponentInfo, Tagline } from "@stories/components"; +import { InnerDateRangeInput } from "@components/date-input"; + +import * as DateRangeInputStories from "./DateRangeInput.stories.tsx"; + +<Meta of={DateRangeInputStories} /> + +# DateRangeInput + +<Tagline>An specialized input to enter a range of dates.</Tagline> + +<ComponentInfo + usage={"import { DateRangeInput } from \"@workleap/orbiter-ui\";"} + githubPath="/packages/components/src/date-input/src" +/> + +## Usage + +### Default + +A default date range input. + +<Canvas of={DateRangeInputStories.Default} /> + +### Value + +A date range input can have values. + +<Canvas of={DateRangeInputStories.Value} /> + +### Presets + +A date range input can offer a predefined set of frequently used ranges: + +<Canvas of={DateRangeInputStories.Presets} /> + +By default, presets are displayed as *compact* but they could also be displayed as *expanded*: + +<Canvas of={DateRangeInputStories.ExpandedPresets} /> + +### Disabled + +A date range input can be disabled. + +<Canvas of={DateRangeInputStories.Disabled} /> + +### Readonly + +A date range input can be readonly. + +<Canvas of={DateRangeInputStories.ReadOnly} /> + +### Fluid + +A date range input can take the width of its container. + +<Canvas of={DateRangeInputStories.Fluid} /> + +### Validation + +A date range input can display a validation state to communicate to the user whether the current value is valid or invalid. Implement your own validation logic in your app and pass either `"valid"` or `"invalid"` to the input via the `validationState` prop. + +The example below illustrates how one would validate if the date is between *05/01/1970* and *05/01/2021*. + +<Canvas of={DateRangeInputStories.DateRangeValidation} /> + +### Form + +A date range input can be used in a form by providing a `name` prop. When doing so, the `name` attribute of each inputs will be prefixed by the specified `name` prop and will respectively be suffixed by `"-start-date"` and `"-end-date"`. + +For example, if the provided `name` prop is "filter" the start date input `name` attribute will be `"filter-start-date"` and the end date input `name` attribute will be `"filter-end-date"`. + +<Canvas of={DateRangeInputStories.Form} /> + +### Controlled + +A date range input `startDate` and `endDate` can be handled in controlled mode. + +<Canvas of={DateRangeInputStories.Controlled} /> + +## API + +### DateRangeInput + +<ComponentInfo + usage={"import { DateRangeInput } from \"@workleap/orbiter-ui\";"} + inherits={[InnerDateRangeInput.defaultElement, "styled-component"]} + compact +/> + +<ArgTypes of={InnerDateRangeInput} sort="alpha" /> diff --git a/packages/components/src/date-input/docs/DateRangeInput.stories.mdx b/packages/components/src/date-input/docs/DateRangeInput.stories.mdx deleted file mode 100644 index 28abdb221..000000000 --- a/packages/components/src/date-input/docs/DateRangeInput.stories.mdx +++ /dev/null @@ -1,143 +0,0 @@ -import { ArgsTable, Meta, Story } from "@storybook/addon-docs"; -import { ComponentInfo, Preview, Tagline } from "@stories/components"; -import { DateRangeInput, InnerDateRangeInput } from "@components/date-input"; -import { subMonths, subWeeks } from "date-fns"; - -<Meta - title="Components/DateRangeInput" - id="date-range-input" -/> - -# DateRangeInput - -<Tagline>An specialized input to enter a range of dates.</Tagline> - -<ComponentInfo - usage={"import { DateRangeInput } from \"@workleap/orbiter-ui\";"} - githubPath="/packages/components/src/date-input/src" -/> - -## Usage - -### Default - -A default date range input. - -<Preview> - <Story name="default"> - <DateRangeInput /> - </Story> -</Preview> - -### Value - -A date range input can have values. - -<Preview> - <Story name="value"> - <DateRangeInput defaultStartDate={new Date(1970, 0, 5)} defaultEndDate={new Date(2021, 0, 5)} /> - </Story> -</Preview> - -### Presets - -A date range input can offer a predefined set of frequently used ranges: - -<Preview scope={{ subMonths, subWeeks }}> - <Story name="presets"> - <DateRangeInput - presets={[ - { text: "Last week", startDate: subWeeks(new Date(), 1), endDate: new Date() }, - { text: "Last month", startDate: subMonths(new Date(), 1), endDate: new Date() }, - { text: "Last 3 months", startDate: subMonths(new Date(), 3), endDate: new Date() }, - { text: "Last 6 months", startDate: subMonths(new Date(), 6), endDate: new Date() } - ]} - /> - </Story> -</Preview> - -By default, presets are displayed as *compact* but they could also be displayed as *expanded*: - -<Preview scope={{ subMonths, subWeeks }}> - <Story name="expanded presets"> - <DateRangeInput - presetsVariant="expanded" - presets={[ - { text: "7 D", startDate: subWeeks(new Date(), 1), endDate: new Date() }, - { text: "1 M", startDate: subMonths(new Date(), 1), endDate: new Date() }, - { text: "3 M", startDate: subMonths(new Date(), 3), endDate: new Date() }, - { text: "1 Y", startDate: subMonths(new Date(), 6), endDate: new Date() } - ]} - /> - </Story> -</Preview> - -### Disabled - -A date range input can be disabled. - -<Preview> - <Story name="disabled"> - <DateRangeInput disabled /> - </Story> -</Preview> - -### Readonly - -A date range input can be readonly. - -<Preview> - <Story name="readonly"> - <DateRangeInput readOnly /> - </Story> -</Preview> - -### Fluid - -A date range input can take the width of its container. - -<Preview> - <Story name="fluid"> - <DateRangeInput fluid /> - </Story> -</Preview> - -### Validation - -A date range input can display a validation state to communicate to the user whether the current value is valid or invalid. Implement your own validation logic in your app and pass either `"valid"` or `"invalid"` to the input via the `validationState` prop. - -The example below illustrates how one would validate if the date is between *05/01/1970* and *05/01/2021*. - -<Preview filePath="/date-input/docs/DateRangeValidation" /> - -### Form - -A date range input can be used in a form by providing a `name` prop. When doing so, the `name` attribute of each inputs will be prefixed by the specified `name` prop and will respectively be suffixed by `"-start-date"` and `"-end-date"`. - -For example, if the provided `name` prop is "filter" the start date input `name` attribute will be `"filter-start-date"` and the end date input `name` attribute will be `"filter-end-date"`. - -<Preview> - <Story name="form"> - <form> - <DateRangeInput name="filter" /> - </form> - </Story> -</Preview> - -### Controlled - -A date range input `startDate` and `endDate` can be handled in controlled mode. - -<Preview filePath="/date-input/docs/ControlledDateRangeInput" /> - -## API - -### DateRangeInput - -<ComponentInfo - usage={"import { DateRangeInput } from \"@workleap/orbiter-ui\";"} - inherits={[InnerDateRangeInput.defaultElement, "styled-component"]} - compact -/> - -<ArgsTable of={InnerDateRangeInput} sort="alpha" /> diff --git a/packages/components/src/date-input/docs/DateRangeInput.stories.tsx b/packages/components/src/date-input/docs/DateRangeInput.stories.tsx new file mode 100644 index 000000000..af4e842d3 --- /dev/null +++ b/packages/components/src/date-input/docs/DateRangeInput.stories.tsx @@ -0,0 +1,125 @@ +import { DateRangeInput } from "@components/date-input"; +import { subMonths, subWeeks } from "date-fns"; +import { useCallback, useMemo, useState } from "react"; + +import { Meta, StoryObj } from "@storybook/react"; + +const meta = { + title: "Components/DateRangeInput", + component: DateRangeInput, + id: "date-range-input" +} as Meta<typeof DateRangeInput>; + +export default meta; + +type DateRangeInputStory = StoryObj<typeof meta>; + +export const Default: DateRangeInputStory = { + render: () => ( + <DateRangeInput /> + ) +}; + +export const Value: DateRangeInputStory = { + render: () => ( + <DateRangeInput defaultEndDate={new Date(2021, 0, 5)} defaultStartDate={new Date(1970, 0, 5)} /> + ) +}; + +export const Presets: DateRangeInputStory = { + render: () => ( + <DateRangeInput + presets={[ + { text: "Last week", startDate: subWeeks(new Date(), 1), endDate: new Date() }, + { text: "Last month", startDate: subMonths(new Date(), 1), endDate: new Date() }, + { text: "Last 3 months", startDate: subMonths(new Date(), 3), endDate: new Date() }, + { text: "Last 6 months", startDate: subMonths(new Date(), 6), endDate: new Date() } + ]} + /> + ) +}; + +export const ExpandedPresets: DateRangeInputStory = { + render: () => ( + <DateRangeInput + presets={[ + { text: "7 D", startDate: subWeeks(new Date(), 1), endDate: new Date() }, + { text: "1 M", startDate: subMonths(new Date(), 1), endDate: new Date() }, + { text: "3 M", startDate: subMonths(new Date(), 3), endDate: new Date() }, + { text: "1 Y", startDate: subMonths(new Date(), 6), endDate: new Date() } + ]} + presetsVariant="expanded" + /> + ) +}; + +export const Disabled: DateRangeInputStory = { + render: () => ( + <DateRangeInput disabled /> + ) +}; + +export const ReadOnly: DateRangeInputStory = { + render: () => ( + <DateRangeInput readOnly /> + ) +}; + +export const Fluid: DateRangeInputStory = { + render: () => ( + <DateRangeInput fluid /> + ) +}; + +/* eslint-disable react-hooks/rules-of-hooks */ +export const DateRangeValidation: DateRangeInputStory = { + render: () => { + const [startDate, setStartDate] = useState(null); + const [endDate, setEndDate] = useState(null); + + const isValid = useMemo(() => (!startDate || startDate >= new Date(1970, 0, 5)) && (!endDate || endDate <= new Date(2021, 0, 5)), [startDate, endDate]); + + return ( + <DateRangeInput + endDate={endDate} + onDatesChange={(event, newStartDate, newEndDate) => { + setStartDate(newStartDate); + setEndDate(newEndDate); + + console.log(newStartDate, newEndDate); + }} + startDate={startDate} + validationState={isValid ? "valid" : "invalid"} + /> + ); + } +}; + +export const Form: DateRangeInputStory = { + render: () => ( + <form> + <DateRangeInput name="filter" /> + </form> + ) +}; + +export const Condrolled: DateRangeInputStory = { + render: () => { + const [startDate, setStartDate] = useState(null); + const [endDate, setEndDate] = useState(null); + + const handleDatesChange = useCallback((event, newStartDate, newEndDate) => { + setStartDate(newStartDate); + setEndDate(newEndDate); + console.log(newStartDate, newEndDate); + }, [setStartDate, setEndDate]); + + return ( + <DateRangeInput + endDate={endDate} + onDatesChange={handleDatesChange} + startDate={startDate} + /> + ); + } +}; diff --git a/packages/components/src/date-input/docs/DateRangeValidation.sample.jsx b/packages/components/src/date-input/docs/DateRangeValidation.sample.jsx deleted file mode 100644 index 5d3727441..000000000 --- a/packages/components/src/date-input/docs/DateRangeValidation.sample.jsx +++ /dev/null @@ -1,20 +0,0 @@ -() => { - const [startDate, setStartDate] = useState(null); - const [endDate, setEndDate] = useState(null); - - const isValid = useMemo(() => (!startDate || startDate >= new Date(1970, 0, 5)) && (!endDate || endDate <= new Date(2021, 0, 5)), [startDate, endDate]); - - return ( - <DateRangeInput - validationState={isValid ? "valid" : "invalid"} - startDate={startDate} - endDate={endDate} - onDatesChange={(event, newStartDate, newEndDate) => { - setStartDate(newStartDate); - setEndDate(newEndDate); - - console.log(newStartDate, newEndDate); - }} - /> - ); -}; diff --git a/packages/components/src/date-input/docs/DateValidation.sample.jsx b/packages/components/src/date-input/docs/DateValidation.sample.jsx deleted file mode 100644 index 147d10e00..000000000 --- a/packages/components/src/date-input/docs/DateValidation.sample.jsx +++ /dev/null @@ -1,16 +0,0 @@ -() => { - const [value, setValue] = useState(null); - - const isValid = useMemo(() => !value || value > new Date(1970, 0, 5), [value]); - - return ( - <DateInput - validationState={isValid ? "valid" : "invalid"} - value={value} - onDateChange={(event, newDate) => { - setValue(newDate); - console.log(newDate); - }} - /> - ); -}; diff --git a/packages/components/src/number-input/docs/NumberInput.stories.tsx b/packages/components/src/number-input/docs/NumberInput.stories.tsx index cd8a10840..f490e4991 100644 --- a/packages/components/src/number-input/docs/NumberInput.stories.tsx +++ b/packages/components/src/number-input/docs/NumberInput.stories.tsx @@ -71,7 +71,7 @@ export const Fluid: NumberInputStory = { /* eslint-disable react-hooks/rules-of-hooks */ export const RequiredAgeValidation: NumberInputStory = { render: () => { - const [value, setValue] = useState(18); + const [value, setValue] = useState<number | null>(18); const handleValueChange = useCallback((event, newValue) => { setValue(newValue); From 4cb5fe973dd0d17a3e26961c3758f4c33278e643 Mon Sep 17 00:00:00 2001 From: Alexandre Asselin <alexandre.asselin@gsoft.com> Date: Tue, 5 Nov 2024 12:31:09 -0500 Subject: [PATCH 65/95] fix build --- package.json | 7 +- packages/bundle/package.json | 7 +- packages/components/package.json | 2 +- packages/components/tsconfig.build.json | 3 +- pnpm-lock.yaml | 2070 +++++++++++------------ 5 files changed, 995 insertions(+), 1094 deletions(-) diff --git a/package.json b/package.json index 669238f3a..e296dc3ef 100644 --- a/package.json +++ b/package.json @@ -7,7 +7,7 @@ "scripts": { "preinstall": "npx only-allow pnpm", "start": "pnpm run start:pkg & pnpm run start:sb", - "start:pkg": "pnpm -r run start --parallel", + "start:pkg": "pnpm -r --parallel run start", "start:sb": "storybook dev -p 9009", "start-sb-chroma": "cross-env STORYBOOK_IS_CHROMATIC=true pnpm start:sb", "start-sb-docs": "cross-env STORYBOOK_IS_DOCS_SITE=true storybook dev -p 9010 --docs", @@ -20,9 +20,9 @@ "build-netlify-sb": "pnpm i && pnpm build && pnpm build-sb", "build-netlify-docs": "pnpm i && pnpm build && pnpm build-sb-docs", "clean": "pnpm run \"/^clean:.*/\"", - "clean:pkg": "pnpm run -r clean --parallel", + "clean:pkg": "pnpm run --parallel -r clean", "clean:sb": "rimraf storybook-static", - "reset": "pnpm clean && rimraf node_modules pnpm-lock.yaml", + "reset": "pnpm clean && pnpm dlx rimraf node_modules pnpm-lock.yaml", "lint": "pnpm run \"/^lint:.*/\"", "lint:eslint": "eslint --ext .js,.jsx,.ts,.tsx,.mdx . --cache --cache-location node_modules/.cache/.eslintcache", "lint:style": "stylelint \"**/*.css\" --allow-empty-input --cache", @@ -98,7 +98,6 @@ "react-dom": "18.3.1", "react-test-renderer": "18.3.1", "resize-observer-polyfill": "1.5.1", - "rimraf": "6.0.1", "serve": "14.2.4", "shelljs": "0.8.5", "storybook": "8.3.6", diff --git a/packages/bundle/package.json b/packages/bundle/package.json index d83c0236f..2852293b7 100644 --- a/packages/bundle/package.json +++ b/packages/bundle/package.json @@ -27,15 +27,14 @@ "build": "pnpm build:js & pnpm copy-files", "build:js": "tsc --build ./tsconfig.build.json", "copy-files": "copyfiles -u 1 \"src/**/*.css\" dist", - "clean": "rimraf dist tsconfig.build.tsbuildinfo" + "clean": "pnpm dlx rimraf dist tsconfig.build.tsbuildinfo" }, "peerDependencies": { "react": "*", "react-dom": "*" }, "dependencies": { - "@orbit-ui/transition-components": "5.5.0", - "@orbit-ui/transition-css": "2.4.0", - "@orbit-ui/transition-icons": "2.0.0" + "@orbit-ui/transition-components": "workspace:*", + "@orbit-ui/transition-css": "workspace:*" } } diff --git a/packages/components/package.json b/packages/components/package.json index 4dbf4735d..f18b75e5e 100644 --- a/packages/components/package.json +++ b/packages/components/package.json @@ -27,7 +27,7 @@ "build": "pnpm build:js & pnpm copy-files", "build:js": "tsc --build ./tsconfig.build.json", "copy-files": "copyfiles -u 1 \"src/**/*.css\" dist", - "clean": "rimraf dist tsconfig.build.tsbuildinfo" + "clean": "pnpm dlx rimraf dist tsconfig.build.tsbuildinfo" }, "peerDependencies": { "@hopper-ui/components": "*", diff --git a/packages/components/tsconfig.build.json b/packages/components/tsconfig.build.json index e5c77a493..494126d59 100644 --- a/packages/components/tsconfig.build.json +++ b/packages/components/tsconfig.build.json @@ -10,6 +10,7 @@ "../../@types/*" ], "exclude": [ - "**/tests/*" + "**/tests/*", + "**/docs/*", ] } diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index ed296bd78..b566425a8 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -19,10 +19,10 @@ importers: version: 2.8.4(@hopper-ui/styled-system@2.4.1(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(react-aria-components@1.4.1(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(react-dom@18.3.1(react@18.3.1))(react@18.3.1) '@pmmmwh/react-refresh-webpack-plugin': specifier: 0.5.15 - version: 0.5.15(react-refresh@0.14.2)(type-fest@2.19.0)(webpack-hot-middleware@2.26.1)(webpack@5.95.0(@swc/core@1.7.39(@swc/helpers@0.5.13))(esbuild@0.23.1)) + version: 0.5.15(react-refresh@0.14.2)(type-fest@2.19.0)(webpack-hot-middleware@2.26.1)(webpack@5.96.1(@swc/core@1.8.0(@swc/helpers@0.5.13))(esbuild@0.23.1)) '@sharegate/eslint-plugin': specifier: 3.2.0 - version: 3.2.0(@typescript-eslint/parser@8.10.0(eslint@8.57.1)(typescript@5.5.4))(eslint@8.57.1)(jest@29.7.0(@types/node@16.18.114)(ts-node@10.4.0(@swc/core@1.7.39(@swc/helpers@0.5.13))(@types/node@16.18.114)(typescript@5.5.4)))(typescript@5.5.4) + version: 3.2.0(@typescript-eslint/parser@8.10.0(eslint@8.57.1)(typescript@5.5.4))(eslint@8.57.1)(jest@29.7.0(@types/node@16.18.119)(ts-node@10.4.0(@swc/core@1.8.0(@swc/helpers@0.5.13))(@types/node@16.18.119)(typescript@5.5.4)))(typescript@5.5.4) '@sharegate/stylelint-plugin': specifier: 1.0.1 version: 1.0.1(stylelint@14.16.1) @@ -46,7 +46,7 @@ importers: version: 8.3.6(storybook@8.3.6) '@storybook/addon-webpack5-compiler-swc': specifier: 1.0.5 - version: 1.0.5(@swc/helpers@0.5.13)(webpack@5.95.0(@swc/core@1.7.39(@swc/helpers@0.5.13))(esbuild@0.23.1)) + version: 1.0.5(@swc/helpers@0.5.13)(webpack@5.96.1(@swc/core@1.8.0(@swc/helpers@0.5.13))(esbuild@0.23.1)) '@storybook/blocks': specifier: 8.3.6 version: 8.3.6(react-dom@18.3.1(react@18.3.1))(react@18.3.1)(storybook@8.3.6) @@ -55,13 +55,13 @@ importers: version: 8.3.6(@storybook/test@8.3.6(storybook@8.3.6))(react-dom@18.3.1(react@18.3.1))(react@18.3.1)(storybook@8.3.6)(typescript@5.5.4) '@storybook/react-webpack5': specifier: 8.3.6 - version: 8.3.6(@storybook/test@8.3.6(storybook@8.3.6))(@swc/core@1.7.39(@swc/helpers@0.5.13))(esbuild@0.23.1)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)(storybook@8.3.6)(typescript@5.5.4) + version: 8.3.6(@storybook/test@8.3.6(storybook@8.3.6))(@swc/core@1.8.0(@swc/helpers@0.5.13))(esbuild@0.23.1)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)(storybook@8.3.6)(typescript@5.5.4) '@storybook/test': specifier: 8.3.6 version: 8.3.6(storybook@8.3.6) '@storybook/test-runner': specifier: 0.19.1 - version: 0.19.1(@swc/helpers@0.5.13)(@types/node@16.18.114)(storybook@8.3.6)(ts-node@10.4.0(@swc/core@1.7.39(@swc/helpers@0.5.13))(@types/node@16.18.114)(typescript@5.5.4)) + version: 0.19.1(@swc/helpers@0.5.13)(@types/node@16.18.119)(storybook@8.3.6)(ts-node@10.4.0(@swc/core@1.8.0(@swc/helpers@0.5.13))(@types/node@16.18.119)(typescript@5.5.4)) '@storybook/types': specifier: 8.3.6 version: 8.3.6(storybook@8.3.6) @@ -100,7 +100,7 @@ importers: version: 8.10.0(eslint@8.57.1)(typescript@5.5.4) '@workleap/swc-configs': specifier: 2.2.3 - version: 2.2.3(@swc/core@1.7.39(@swc/helpers@0.5.13))(@swc/helpers@0.5.13)(@swc/jest@0.2.36(@swc/core@1.7.39(@swc/helpers@0.5.13)))(browserslist@4.24.0) + version: 2.2.3(@swc/core@1.8.0(@swc/helpers@0.5.13))(@swc/helpers@0.5.13)(@swc/jest@0.2.37(@swc/core@1.8.0(@swc/helpers@0.5.13)))(browserslist@4.24.0) browserslist: specifier: 4.24.0 version: 4.24.0 @@ -142,7 +142,7 @@ importers: version: 3.0.0 jest: specifier: 29.7.0 - version: 29.7.0(@types/node@16.18.114)(ts-node@10.4.0(@swc/core@1.7.39(@swc/helpers@0.5.13))(@types/node@16.18.114)(typescript@5.5.4)) + version: 29.7.0(@types/node@16.18.119)(ts-node@10.4.0(@swc/core@1.8.0(@swc/helpers@0.5.13))(@types/node@16.18.119)(typescript@5.5.4)) jest-environment-jsdom: specifier: 29.7.0 version: 29.7.0 @@ -151,7 +151,7 @@ importers: version: 9.0.0 netlify-cli: specifier: 8.6.18 - version: 8.6.18(@swc/core@1.7.39(@swc/helpers@0.5.13))(@types/babel__core@7.20.5)(@types/express@4.17.21)(encoding@0.1.13) + version: 8.6.18(@swc/core@1.8.0(@swc/helpers@0.5.13))(@types/babel__core@7.20.5)(@types/express@4.17.21) prettier: specifier: 2.5.1 version: 2.5.1 @@ -170,9 +170,6 @@ importers: resize-observer-polyfill: specifier: 1.5.1 version: 1.5.1 - rimraf: - specifier: 6.0.1 - version: 6.0.1 serve: specifier: 14.2.4 version: 14.2.4 @@ -190,7 +187,7 @@ importers: version: 3.3.2 ts-jest: specifier: 29.2.5 - version: 29.2.5(@babel/core@7.25.9)(@jest/transform@29.7.0)(@jest/types@29.6.3)(babel-jest@29.7.0(@babel/core@7.25.9))(esbuild@0.23.1)(jest@29.7.0(@types/node@16.18.114)(ts-node@10.4.0(@swc/core@1.7.39(@swc/helpers@0.5.13))(@types/node@16.18.114)(typescript@5.5.4)))(typescript@5.5.4) + version: 29.2.5(@babel/core@7.26.0)(@jest/transform@29.7.0)(@jest/types@29.6.3)(babel-jest@29.7.0(@babel/core@7.26.0))(esbuild@0.23.1)(jest@29.7.0(@types/node@16.18.119)(ts-node@10.4.0(@swc/core@1.8.0(@swc/helpers@0.5.13))(@types/node@16.18.119)(typescript@5.5.4)))(typescript@5.5.4) tsconfig-paths-webpack-plugin: specifier: 4.1.0 version: 4.1.0 @@ -201,14 +198,11 @@ importers: packages/bundle: dependencies: '@orbit-ui/transition-components': - specifier: 5.5.0 - version: 5.5.0(@hopper-ui/components@1.3.27(@hopper-ui/styled-system@2.4.1(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(react-aria-components@1.4.1(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(react-aria@3.35.1(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(@hopper-ui/styled-system@2.4.1(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(react-aria-components@1.4.1(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + specifier: workspace:* + version: link:../components '@orbit-ui/transition-css': - specifier: 2.4.0 - version: 2.4.0 - '@orbit-ui/transition-icons': - specifier: 2.0.0 - version: 2.0.0 + specifier: workspace:* + version: link:../css react: specifier: '*' version: 18.3.1 @@ -242,7 +236,7 @@ importers: devDependencies: '@hopper-ui/components': specifier: ^1.3.20 - version: 1.3.27(@hopper-ui/styled-system@2.4.1(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(react-aria-components@1.4.1(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(react-aria@3.35.1(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + version: 1.3.31(@hopper-ui/styled-system@2.4.1(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(react-aria-components@1.4.1(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(react-aria@3.35.1(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(react-dom@18.3.1(react@18.3.1))(react@18.3.1) '@hopper-ui/styled-system': specifier: ^2.4.0 version: 2.4.1(react-dom@18.3.1(react@18.3.1))(react@18.3.1) @@ -265,20 +259,20 @@ packages: resolution: {integrity: sha512-30iZtAPgz+LTIYoeivqYo853f02jBYSd5uGnGpkFV0M3xOt9aN73erkgYAmZU43x4VfqcnLxW9Kpg3R5LC4YYw==} engines: {node: '>=6.0.0'} - '@babel/code-frame@7.25.9': - resolution: {integrity: sha512-z88xeGxnzehn2sqZ8UdGQEvYErF1odv2CftxInpSYJt6uHuPe9YjahKZITGs3l5LeI9d2ROG+obuDAoSlqbNfQ==} + '@babel/code-frame@7.26.2': + resolution: {integrity: sha512-RJlIHRueQgwWitWgF8OdFYGZX328Ax5BCemNGlqHfplnRT9ESi8JkFlvaVYbS+UubVY6dpv87Fs2u5M29iNFVQ==} engines: {node: '>=6.9.0'} - '@babel/compat-data@7.25.9': - resolution: {integrity: sha512-yD+hEuJ/+wAJ4Ox2/rpNv5HIuPG82x3ZlQvYVn8iYCprdxzE7P1udpGF1jyjQVBU4dgznN+k2h103vxZ7NdPyw==} + '@babel/compat-data@7.26.2': + resolution: {integrity: sha512-Z0WgzSEa+aUcdiJuCIqgujCshpMWgUpgOxXotrYPSA53hA3qopNaqcJpyr0hVb1FeWdnqFA35/fUtXgBK8srQg==} engines: {node: '>=6.9.0'} - '@babel/core@7.25.9': - resolution: {integrity: sha512-WYvQviPw+Qyib0v92AwNIrdLISTp7RfDkM7bPqBvpbnhY4wq8HvHBZREVdYDXk98C8BkOIVnHAY3yvj7AVISxQ==} + '@babel/core@7.26.0': + resolution: {integrity: sha512-i1SLeK+DzNnQ3LL/CswPCa/E5u4lh1k6IAEphON8F+cXt0t9euTshDru0q7/IqMa1PMPz5RnHuHscF8/ZJsStg==} engines: {node: '>=6.9.0'} - '@babel/generator@7.25.9': - resolution: {integrity: sha512-omlUGkr5EaoIJrhLf9CJ0TvjBRpd9+AXRG//0GEQ9THSo8wPiTlbpy1/Ow8ZTrbXpjd9FHXfbFQx32I04ht0FA==} + '@babel/generator@7.26.2': + resolution: {integrity: sha512-zevQbhbau95nkoxSq3f/DC/SC+EEOUZd3DYqfSkMhY2/wfSeaHV1Ew4vk8e+x8lja31IbyuUa2uQ3JONqKbysw==} engines: {node: '>=6.9.0'} '@babel/helper-annotate-as-pure@7.25.9': @@ -318,8 +312,8 @@ packages: resolution: {integrity: sha512-tnUA4RsrmflIM6W6RFTLFSXITtl0wKjgpnLgXyowocVPrbYrLUXSBXDgTs8BlbmIzIdlBySRQjINYs2BAkiLtw==} engines: {node: '>=6.9.0'} - '@babel/helper-module-transforms@7.25.9': - resolution: {integrity: sha512-TvLZY/F3+GvdRYFZFyxMvnsKi+4oJdgZzU3BoGN9Uc2d9C6zfNwJcKKhjqLAhK8i46mv93jsO74fDh3ih6rpHA==} + '@babel/helper-module-transforms@7.26.0': + resolution: {integrity: sha512-xO+xu6B5K2czEnQye6BHA7DolFFmS3LB7stHZFaOLb1pAwO1HWLS8fXA+eh0A2yIvltPVmx3eNNDBJA2SLHXFw==} engines: {node: '>=6.9.0'} peerDependencies: '@babel/core': ^7.0.0 @@ -368,12 +362,8 @@ packages: resolution: {integrity: sha512-ETzz9UTjQSTmw39GboatdymDq4XIQbR8ySgVrylRhPOFpsd+JrKHIuF0de7GCWmem+T4uC5z7EZguod7Wj4A4g==} engines: {node: '>=6.9.0'} - '@babel/helpers@7.25.9': - resolution: {integrity: sha512-oKWp3+usOJSzDZOucZUAMayhPz/xVjzymyDzUN8dk0Wd3RWMlGLXi07UCQ/CgQVb8LvXx3XBajJH4XGgkt7H7g==} - engines: {node: '>=6.9.0'} - - '@babel/highlight@7.25.9': - resolution: {integrity: sha512-llL88JShoCsth8fF8R4SJnIn+WLvR6ccFxu1H3FlMhDontdcmZWf2HgIZ7AIqV3Xcck1idlohrN4EUBQz6klbw==} + '@babel/helpers@7.26.0': + resolution: {integrity: sha512-tbhNuIxNcVb21pInl3ZSjksLCvgdZy9KwJ8brv993QtIVKJBBkYXz4q4ZbAv31GdnC+R90np23L5FbEBlthAEw==} engines: {node: '>=6.9.0'} '@babel/parser@7.16.8': @@ -381,8 +371,8 @@ packages: engines: {node: '>=6.0.0'} hasBin: true - '@babel/parser@7.25.9': - resolution: {integrity: sha512-aI3jjAAO1fh7vY/pBGsn1i9LDbRP43+asrRlkPuTXW5yHXtd1NgTEMudbBoDDxrf1daEEfPJqR+JBMakzrR4Dg==} + '@babel/parser@7.26.2': + resolution: {integrity: sha512-DWMCZH9WA4Maitz2q21SRKHo9QXZxkDsbNZoVD62gusNtNBBqDg9i7uOhASfTfIGNzW+O+r7+jAlM8dwphcJKQ==} engines: {node: '>=6.0.0'} hasBin: true @@ -443,14 +433,14 @@ packages: peerDependencies: '@babel/core': ^7.0.0-0 - '@babel/plugin-syntax-import-assertions@7.25.9': - resolution: {integrity: sha512-4GHX5uzr5QMOOuzV0an9MFju4hKlm0OyePl/lHhcsTVae5t/IKVHnb8W67Vr6FuLlk5lPqLB7n7O+K5R46emYg==} + '@babel/plugin-syntax-import-assertions@7.26.0': + resolution: {integrity: sha512-QCWT5Hh830hK5EQa7XzuqIkQU9tT/whqbDz7kuaZMHFl1inRRg7JnuAEOQ0Ur0QUl0NufCk1msK2BeY79Aj/eg==} engines: {node: '>=6.9.0'} peerDependencies: '@babel/core': ^7.0.0-0 - '@babel/plugin-syntax-import-attributes@7.25.9': - resolution: {integrity: sha512-u3EN9ub8LyYvgTnrgp8gboElouayiwPdnM7x5tcnW3iSt09/lQYPwMNK40I9IUxo7QOZhAsPHCmmuO7EPdruqg==} + '@babel/plugin-syntax-import-attributes@7.26.0': + resolution: {integrity: sha512-e2dttdsJ1ZTpi3B9UYGLw41hifAubg19AtCu/2I/F1QNVclOBr1dYpTdmdyZ84Xiz43BS/tCUkMAZNLv12Pi+A==} engines: {node: '>=6.9.0'} peerDependencies: '@babel/core': ^7.0.0-0 @@ -561,8 +551,8 @@ packages: peerDependencies: '@babel/core': ^7.0.0-0 - '@babel/plugin-transform-class-static-block@7.25.9': - resolution: {integrity: sha512-UIf+72C7YJ+PJ685/PpATbCz00XqiFEzHX5iysRwfvNT0Ko+FaXSvRgLytFSp8xUItrG9pFM/KoBBZDrY/cYyg==} + '@babel/plugin-transform-class-static-block@7.26.0': + resolution: {integrity: sha512-6J2APTs7BDDm+UMqP1useWqhcRAXo0WIoVj26N7kPFB6S73Lgvyka4KTZYIxtgYXiN5HTyRObA72N2iu628iTQ==} engines: {node: '>=6.9.0'} peerDependencies: '@babel/core': ^7.12.0 @@ -759,6 +749,12 @@ packages: peerDependencies: '@babel/core': ^7.0.0-0 + '@babel/plugin-transform-regexp-modifiers@7.26.0': + resolution: {integrity: sha512-vN6saax7lrA2yA/Pak3sCxuD6F5InBjn9IcrIKQPjpsLvuHYLVroTxjdlVRHjjBWxKOqIwpTXDkOssYT4BFdRw==} + engines: {node: '>=6.9.0'} + peerDependencies: + '@babel/core': ^7.0.0 + '@babel/plugin-transform-reserved-words@7.25.9': resolution: {integrity: sha512-7DL7DKYjn5Su++4RXu8puKZm2XBPHyjWLUidaPEkCUBbE7IPcsrkRHggAOOKydH1dASWdcUBxrkOGNxUv5P3Jg==} engines: {node: '>=6.9.0'} @@ -819,8 +815,8 @@ packages: peerDependencies: '@babel/core': ^7.0.0 - '@babel/preset-env@7.25.9': - resolution: {integrity: sha512-XqDEt+hfsQukahSX9JOBDHhpUHDhj2zGSxoqWQFCMajOSBnbhBdgON/bU/5PkBA1yX5tqW6tTzuIPVsZTQ7h5Q==} + '@babel/preset-env@7.26.0': + resolution: {integrity: sha512-H84Fxq0CQJNdPFT2DrfnylZ3cf5K43rGfWK4LJGPpjKHiZlk0/RzwEus3PDDZZg+/Er7lCA03MVacueUuXdzfw==} engines: {node: '>=6.9.0'} peerDependencies: '@babel/core': ^7.0.0-0 @@ -830,8 +826,8 @@ packages: peerDependencies: '@babel/core': ^7.0.0-0 || ^8.0.0-0 <8.0.0 - '@babel/runtime@7.25.9': - resolution: {integrity: sha512-4zpTHZ9Cm6L9L+uIqghQX8ZXg8HKFcjYO3qHoO8zTmRm6HQUJ8SSJ+KRvbMBZn0EGVlT4DRYeQ/6hjlyXBh+Kg==} + '@babel/runtime@7.26.0': + resolution: {integrity: sha512-FDSOghenHTiToteC/QRlv2q3DhPZ/oOXTBoirfWNx1Cx3TMVcGWQtMMmQcSvb/JjpNeGzx8Pq/b4fKEJuWm1sw==} engines: {node: '>=6.9.0'} '@babel/template@7.25.9': @@ -842,8 +838,8 @@ packages: resolution: {integrity: sha512-ZCuvfwOwlz/bawvAuvcj8rrithP2/N55Tzz342AkTvq4qaWbGfmCk/tKhNaV2cthijKrPAA8SRJV5WWe7IBMJw==} engines: {node: '>=6.9.0'} - '@babel/types@7.25.9': - resolution: {integrity: sha512-OwS2CM5KocvQ/k7dFJa8i5bNGJP0hXWfVCfDkqRFP1IreH1JDC7wG6eCYCi0+McbfT8OR/kNqsI0UU0xP9H6PQ==} + '@babel/types@7.26.0': + resolution: {integrity: sha512-Z/yiTPj+lDVnF7lWeKCIJzaIkI0vYO87dMpZ4bg4TDrFe4XXLFWL1TbXU27gBP3QccxV9mZICCrnjnYlJjXHOA==} engines: {node: '>=6.9.0'} '@base2/pretty-print-object@1.0.1': @@ -1098,14 +1094,14 @@ packages: cpu: [x64] os: [win32] - '@eslint-community/eslint-utils@4.4.0': - resolution: {integrity: sha512-1/sA4dwrzBAyeUoQ6oxahHKmrZvsnLCg4RfxW3ZFGGmQkSNQPFNLV9CUEFQP1x9EYXHTo5p6xdhZM1Ne9p/AfA==} + '@eslint-community/eslint-utils@4.4.1': + resolution: {integrity: sha512-s3O3waFUrMV8P/XaF/+ZTp1X9XBZW1a4B97ZnjQF2KYWaFD2A8KyFBsrsfSjEmjn3RGWAIuvlneuZm3CUK3jbA==} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} peerDependencies: eslint: ^6.0.0 || ^7.0.0 || >=8.0.0 - '@eslint-community/regexpp@4.11.1': - resolution: {integrity: sha512-m4DVN9ZqskZoLU5GlWZadwDnYo3vAEydiUayB9widCl9ffWx2IvPnp6n3on5rJmziJSw9Bv+Z3ChDVdMwXCY8Q==} + '@eslint-community/regexpp@4.12.1': + resolution: {integrity: sha512-CCZCDJuduB9OUkFkY2IgppNZMi2lBQgD2qzwXkEia16cge2pijY/aXi96CJMquDMn3nJdlPV1A5KrJEXwfLNzQ==} engines: {node: ^12.0.0 || ^14.0.0 || >=16.0.0} '@eslint/eslintrc@2.1.4': @@ -1116,20 +1112,20 @@ packages: resolution: {integrity: sha512-d9zaMRSTIKDLhctzH12MtXvJKSSUhaHcjV+2Z+GK+EEY7XKpP5yR4x+N3TAcHTcu963nIr+TMcCb4DBCYX1z6Q==} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} - '@formatjs/ecma402-abstract@2.2.0': - resolution: {integrity: sha512-IpM+ev1E4QLtstniOE29W1rqH9eTdx5hQdNL8pzrflMj/gogfaoONZqL83LUeQScHAvyMbpqP5C9MzNf+fFwhQ==} + '@formatjs/ecma402-abstract@2.2.3': + resolution: {integrity: sha512-aElGmleuReGnk2wtYOzYFmNWYoiWWmf1pPPCYg0oiIQSJj0mjc4eUfzUXaSOJ4S8WzI/cLqnCTWjqz904FT2OQ==} - '@formatjs/fast-memoize@2.2.1': - resolution: {integrity: sha512-XS2RcOSyWxmUB7BUjj3mlPH0exsUzlf6QfhhijgI941WaJhVxXQ6mEWkdUFIdnKi3TuTYxRdelsgv3mjieIGIA==} + '@formatjs/fast-memoize@2.2.3': + resolution: {integrity: sha512-3jeJ+HyOfu8osl3GNSL4vVHUuWFXR03Iz9jjgI7RwjG6ysu/Ymdr0JRCPHfF5yGbTE6JCrd63EpvX1/WybYRbA==} - '@formatjs/icu-messageformat-parser@2.8.0': - resolution: {integrity: sha512-r2un3fmF9oJv3mOkH+wwQZ037VpqmdfahbcCZ9Lh+p6Sx+sNsonI7Zcr6jNMm1s+Si7ejQORS4Ezlh05mMPAXA==} + '@formatjs/icu-messageformat-parser@2.9.3': + resolution: {integrity: sha512-9L99QsH14XjOCIp4TmbT8wxuffJxGK8uLNO1zNhLtcZaVXvv626N0s4A2qgRCKG3dfYWx9psvGlFmvyVBa6u/w==} - '@formatjs/icu-skeleton-parser@1.8.4': - resolution: {integrity: sha512-LMQ1+Wk1QSzU4zpd5aSu7+w5oeYhupRwZnMQckLPRYhSjf2/8JWQ882BauY9NyHxs5igpuQIXZDgfkaH3PoATg==} + '@formatjs/icu-skeleton-parser@1.8.7': + resolution: {integrity: sha512-fI+6SmS2g7h3srfAKSWa5dwreU5zNEfon2uFo99OToiLF6yxGE+WikvFSbsvMAYkscucvVmTYNlWlaDPp0n5HA==} - '@formatjs/intl-localematcher@0.5.5': - resolution: {integrity: sha512-t5tOGMgZ/i5+ALl2/offNqAQq/lfUnKLEw0mXQI4N4bqpedhrSE+fyKLpwnd22sK0dif6AV+ufQcTsKShB9J1g==} + '@formatjs/intl-localematcher@0.5.7': + resolution: {integrity: sha512-GGFtfHGQVFe/niOZp24Kal5b2i36eE2bNL0xi9Sg/yd0TR8aLjcteApZdHmismP5QQax1cMnZM9yWySUUjJteA==} '@hapi/hoek@9.3.0': resolution: {integrity: sha512-/c6rf4UJlmHlC9b5BaNvzAcFv7HZ2QHaV0D4/HNlBdvFnvQq8RI4kYdhyPCl7Xj+oWvTWQ8ujhqS53LIgAe6KQ==} @@ -1137,8 +1133,8 @@ packages: '@hapi/topo@5.1.0': resolution: {integrity: sha512-foQZKJig7Ob0BMAYBfcJk8d77QtOe7Wo4ox7ff1lQYoNNAb6jwcY1ncdoy2e9wQZzvNy7ODZCYJkK8kzmcAnAg==} - '@hopper-ui/components@1.3.27': - resolution: {integrity: sha512-uuG7VErAfF2RYqQ3QDVR/6k/Hz5WkRhVnJJhTUuF6yVj93u9nCTO8nKT18GoceqAdy/xvCj8ihtq5RvyKyDqFA==} + '@hopper-ui/components@1.3.31': + resolution: {integrity: sha512-gNBgRecJUuRmI5D3Cc7Em/J8DFoqRbbdAvKM8BTkaUJokmsSQarmOz9KW19dR3cGmlNpUYz2UgN+QEmLs+uubQ==} peerDependencies: '@hopper-ui/styled-system': ^2.4 react: ^18 @@ -1684,21 +1680,6 @@ packages: '@octokit/types@6.41.0': resolution: {integrity: sha512-eJ2jbzjdijiL3B4PrSQaSjuF2sPEQPVCPzBvTHJD9Nz+9dw2SGH4K4xeQJ77YfTq5bRQ+bD8wT11JbeDPmxmGg==} - '@orbit-ui/transition-components@5.5.0': - resolution: {integrity: sha512-BQHJkBp88+gTXTofm7mer+w5muOBbvj3iLfmLytfUrEyAltHzYmYaTtczg5CKjyipGX6a9NzidYQoTZZmq+6Og==} - peerDependencies: - '@hopper-ui/components': '*' - '@hopper-ui/styled-system': '*' - react: ^18.0.0 - react-aria-components: '*' - react-dom: ^18.0.0 - - '@orbit-ui/transition-css@2.4.0': - resolution: {integrity: sha512-mlORmahzYR+B+sBRSjs7zzRlk+84gWOKsAo4dTdrfFK6gtuaKxkiSaft0AoIcxxhP0nvLFznQZf3+RLRKa44eA==} - - '@orbit-ui/transition-icons@2.0.0': - resolution: {integrity: sha512-KohAgfaEs/iQoyMdJouJoUZ7roZ4UFuPeCYYIZ1cJgSUBMcXLV3sBEdzeJfY39ZHVYmOpb3anIWvXiFbgBXOHA==} - '@pkgjs/parseargs@0.11.0': resolution: {integrity: sha512-+1VkjdD0QBLPodGrJUeqarH8VAIvQODIbwh9XpP5Syisf7YoQgsJKPNFoqqLQlu+VQ/tVSshMR6loPMn8U+dPg==} engines: {node: '>=14'} @@ -1733,9 +1714,6 @@ packages: webpack-plugin-serve: optional: true - '@popperjs/core@2.11.2': - resolution: {integrity: sha512-92FRmppjjqz29VMJ2dn+xdyXZBrMlE42AV6Kq6BwjWV7CNUW1hs2FtxSNLQE+gJhaZ6AAmYuO9y8dshhcBl7vA==} - '@popperjs/core@2.11.8': resolution: {integrity: sha512-P1st0aksCrn9sGZhp8GMYwBnQsbvAWsZAX44oXNNvLHGqAOcoVxmjZiohstwQ7SqKnbR47akdNi+uleWD8+g6A==} @@ -2502,15 +2480,15 @@ packages: typescript: optional: true - '@storybook/components@8.3.6': - resolution: {integrity: sha512-TXuoGZY7X3iixF45lXkYOFk8k2q9OHcqHyHyem1gATLLQXgyOvDgzm+VB7uKBNzssRQPEE+La70nfG8bq/viRw==} + '@storybook/components@8.4.2': + resolution: {integrity: sha512-+W59oF7D73LAxLNmCfFrfs98cH9pyNHK9HlJoO5/lKbK4IdWhhOoqUR/AJ3ueksoLuetFat4DxyE8SN1H4Bvrg==} peerDependencies: - storybook: ^8.3.6 + storybook: ^8.2.0 || ^8.3.0-0 || ^8.4.0-0 || ^8.5.0-0 || ^8.6.0-0 - '@storybook/core-common@8.3.6': - resolution: {integrity: sha512-67GHzjuYIvIfD/sqOuTeY1PmOdXZ2Hv9iTCc5xTMJCVBW0XN2Uqqy0ORP111x4EQblBPmnuNAfyYHoWrRxvTxg==} + '@storybook/core-common@8.4.2': + resolution: {integrity: sha512-om+tWPdCDuL9zSioxE1EGaZw5c8yRjQTfaVBpWCxbGOMgbbFJXOcJ9oXwmVEQSbxEPY7RUmCXcVpO3N+N+xDKA==} peerDependencies: - storybook: ^8.3.6 + storybook: ^8.2.0 || ^8.3.0-0 || ^8.4.0-0 || ^8.5.0-0 || ^8.6.0-0 '@storybook/core-webpack@8.3.6': resolution: {integrity: sha512-ks306CFKD7FePQzRYyTjddiLsSriceblzv4rI+IjVtftkJvcEbxub2yWkV27kPP/e9kSd4Li3M34bX5mkiwkZA==} @@ -2525,10 +2503,10 @@ packages: peerDependencies: storybook: ^8.3.6 - '@storybook/csf-tools@8.3.6': - resolution: {integrity: sha512-92D+GUXdmx5eDYcuQ2ajYSUINQngSjB345//43Tx+Xn30eS4flRBmgPsbSPN8IvSBSQlsUU/w8+MFKBK1qGnUw==} + '@storybook/csf-tools@8.4.2': + resolution: {integrity: sha512-zBIwzc3Anj2jW5dE900dLOMDJrMb1tz3Hcea9rsB/zJKOhyAKz2H0wEsoC97sge7ga90FJAHDM6Q0UBVnBRWcQ==} peerDependencies: - storybook: ^8.3.6 + storybook: ^8.2.0 || ^8.3.0-0 || ^8.4.0-0 || ^8.5.0-0 || ^8.6.0-0 '@storybook/csf@0.1.11': resolution: {integrity: sha512-dHYFQH3mA+EtnCkHXzicbLgsvzYjcDJ1JWsogbItZogkPHgSJM/Wr71uMkcvw8v9mmCyP4NpXJuu6bPoVsOnzg==} @@ -2548,10 +2526,10 @@ packages: peerDependencies: storybook: ^8.3.6 - '@storybook/manager-api@8.3.6': - resolution: {integrity: sha512-Xt5VFZcL+G/9uzaHjzWFhxRNrP+4rPhSRKEvCZorAbC9+Hv+ZDs1JSZS5wMb4WKpXBZ0rwDVOLwngqbVtfRHuQ==} + '@storybook/manager-api@8.4.2': + resolution: {integrity: sha512-rhPc4cgQDKDH8NUyRh/ZaJW7QIhR/PO5MNX4xc+vz71sM2nO7ONA/FrgLtCuu4SULdwilEPvGefYvLK0dE+Caw==} peerDependencies: - storybook: ^8.3.6 + storybook: ^8.2.0 || ^8.3.0-0 || ^8.4.0-0 || ^8.5.0-0 || ^8.6.0-0 '@storybook/preset-react-webpack@8.3.6': resolution: {integrity: sha512-Ar0vhJITXa4xsXT3RdgYZ2mhXxE3jfUisQzsITey5a2RVgnSBIENggmRZ/6j1oVgEXFthbarNEsebGiA+2vDZg==} @@ -2565,10 +2543,10 @@ packages: typescript: optional: true - '@storybook/preview-api@8.3.6': - resolution: {integrity: sha512-/Wxvb7wbI2O2iH63arRQQyyojA630vibdshkFjuC/u1nYdptEV1jkxa0OYmbZbKCn4/ze6uH4hfsKOpDPV9SWg==} + '@storybook/preview-api@8.4.2': + resolution: {integrity: sha512-5X/xvIvDPaWJKUBCo5zVeBbbjkhnwcI2KPkuOgrHVRRhuQ5WqD0RYxVtOOFNyQXme7g0nNl5RFNgvT7qv9qGeg==} peerDependencies: - storybook: ^8.3.6 + storybook: ^8.2.0 || ^8.3.0-0 || ^8.4.0-0 || ^8.5.0-0 || ^8.6.0-0 '@storybook/react-docgen-typescript-plugin@1.0.6--canary.9.0c3f3b7.0': resolution: {integrity: sha512-KUqXC3oa9JuQ0kZJLBhVdS4lOneKTOopnNBK4tUAgoxWQ3u/IjzdueZjFr7gyBrXMoU6duutk3RQR9u8ZpYJ4Q==} @@ -2620,10 +2598,10 @@ packages: peerDependencies: storybook: ^8.3.6 - '@storybook/theming@8.3.6': - resolution: {integrity: sha512-LQjUk6GXRW9ELkoBKuqzQKFUW+ajfGPfVELcfs3/VQX61VhthJ4olov4bGPc04wsmmFMgN/qODxT485IwOHfPQ==} + '@storybook/theming@8.4.2': + resolution: {integrity: sha512-9j4fnu5LcV+qSs1rdwf61Bt14lms0T1LOZkHxGNcS1c1oH+cPS+sxECh2lxtni+mvOAHUlBs9pKhVZzRPdWpvg==} peerDependencies: - storybook: ^8.3.6 + storybook: ^8.2.0 || ^8.3.0-0 || ^8.4.0-0 || ^8.5.0-0 || ^8.6.0-0 '@storybook/types@8.3.6': resolution: {integrity: sha512-EY+bjIxxmKkFrL7CyDQb3EXbmy0+Y9OieaPrNNM7QXTfGgp81lXhfqMX3HLMMjplk+rcxVJLyzXSBx0nIn91fQ==} @@ -2698,68 +2676,68 @@ packages: peerDependencies: '@svgr/core': ^6.0.0 - '@swc/core-darwin-arm64@1.7.39': - resolution: {integrity: sha512-o2nbEL6scMBMCTvY9OnbyVXtepLuNbdblV9oNJEFia5v5eGj9WMrnRQiylH3Wp/G2NYkW7V1/ZVW+kfvIeYe9A==} + '@swc/core-darwin-arm64@1.8.0': + resolution: {integrity: sha512-TIus1/SE/Ud4g84hCnchcagu+LfyndSDy5r5qf64nflojejDidPU9Fp1InzQhQpEgIpntnZID/KFCP5rQnvsIw==} engines: {node: '>=10'} cpu: [arm64] os: [darwin] - '@swc/core-darwin-x64@1.7.39': - resolution: {integrity: sha512-qMlv3XPgtPi/Fe11VhiPDHSLiYYk2dFYl747oGsHZPq+6tIdDQjIhijXPcsUHIXYDyG7lNpODPL8cP/X1sc9MA==} + '@swc/core-darwin-x64@1.8.0': + resolution: {integrity: sha512-yCb1FHCX/HUmNRGB1X3CFJ1WPKXMosZVUe3K2TrosCGvytwgaLoW5FS0bZg5Qv6cEUERQBg75cJnOUPwLLRCVg==} engines: {node: '>=10'} cpu: [x64] os: [darwin] - '@swc/core-linux-arm-gnueabihf@1.7.39': - resolution: {integrity: sha512-NP+JIkBs1ZKnpa3Lk2W1kBJMwHfNOxCUJXuTa2ckjFsuZ8OUu2gwdeLFkTHbR43dxGwH5UzSmuGocXeMowra/Q==} + '@swc/core-linux-arm-gnueabihf@1.8.0': + resolution: {integrity: sha512-6TdjVdiLaSW+eGiHKEojMDlx673nowrPHa6nM6toWgRzy8tIZgjPOguVKJDoMnoHuvO7SkOLCUiMRw0rTskypA==} engines: {node: '>=10'} cpu: [arm] os: [linux] - '@swc/core-linux-arm64-gnu@1.7.39': - resolution: {integrity: sha512-cPc+/HehyHyHcvAsk3ML/9wYcpWVIWax3YBaA+ScecJpSE04l/oBHPfdqKUPslqZ+Gcw0OWnIBGJT/fBZW2ayw==} + '@swc/core-linux-arm64-gnu@1.8.0': + resolution: {integrity: sha512-TU2YcTornnyZiJUabRuk7Xtvzaep11FwK77IkFomjN9/Os5s25B8ea652c2fAQMe9RsM84FPVmX303ohxavjKQ==} engines: {node: '>=10'} cpu: [arm64] os: [linux] - '@swc/core-linux-arm64-musl@1.7.39': - resolution: {integrity: sha512-8RxgBC6ubFem66bk9XJ0vclu3exJ6eD7x7CwDhp5AD/tulZslTYXM7oNPjEtje3xxabXuj/bEUMNvHZhQRFdqA==} + '@swc/core-linux-arm64-musl@1.8.0': + resolution: {integrity: sha512-2CdPTEKxx2hJIj/B0fn8L8k2coo/FDS95smzXyi2bov5FcrP6Ohboq8roFBYgj38fkHusXjY8qt+cCH7yXWAdg==} engines: {node: '>=10'} cpu: [arm64] os: [linux] - '@swc/core-linux-x64-gnu@1.7.39': - resolution: {integrity: sha512-3gtCPEJuXLQEolo9xsXtuPDocmXQx12vewEyFFSMSjOfakuPOBmOQMa0sVL8Wwius8C1eZVeD1fgk0omMqeC+Q==} + '@swc/core-linux-x64-gnu@1.8.0': + resolution: {integrity: sha512-14StQBifCs/AMsySdU95OmwNJr9LOVqo6rcTFt2b7XaWpe/AyeuMJFxcndLgUewksJHpfepzCTwNdbcYmuNo6A==} engines: {node: '>=10'} cpu: [x64] os: [linux] - '@swc/core-linux-x64-musl@1.7.39': - resolution: {integrity: sha512-mg39pW5x/eqqpZDdtjZJxrUvQNSvJF4O8wCl37fbuFUqOtXs4TxsjZ0aolt876HXxxhsQl7rS+N4KioEMSgTZw==} + '@swc/core-linux-x64-musl@1.8.0': + resolution: {integrity: sha512-qemJnAQlYqKCfWNqVv5SG8uGvw8JotwU86cuFUkq35oTB+dsSFM3b83+B1giGTKKFOh2nfWT7bvPXTKk+aUjew==} engines: {node: '>=10'} cpu: [x64] os: [linux] - '@swc/core-win32-arm64-msvc@1.7.39': - resolution: {integrity: sha512-NZwuS0mNJowH3e9bMttr7B1fB8bW5svW/yyySigv9qmV5VcQRNz1kMlCvrCLYRsa93JnARuiaBI6FazSeG8mpA==} + '@swc/core-win32-arm64-msvc@1.8.0': + resolution: {integrity: sha512-fXt5vZbnrVdXZzGj2qRnZtY3uh+NtLCaFjS2uD9w8ssdbjhbDZYlJCj2JINOjv35ttEfAD2goiYmVa5P/Ypl+g==} engines: {node: '>=10'} cpu: [arm64] os: [win32] - '@swc/core-win32-ia32-msvc@1.7.39': - resolution: {integrity: sha512-qFmvv5UExbJPXhhvCVDBnjK5Duqxr048dlVB6ZCgGzbRxuarOlawCzzLK4N172230pzlAWGLgn9CWl3+N6zfHA==} + '@swc/core-win32-ia32-msvc@1.8.0': + resolution: {integrity: sha512-W4FA2vSJ+bGYiTj6gspxghSdKQNLfLMo65AH07u797x7I+YJj8amnFY/fQRlroDv5Dez/FHTv14oPlTlNFUpIw==} engines: {node: '>=10'} cpu: [ia32] os: [win32] - '@swc/core-win32-x64-msvc@1.7.39': - resolution: {integrity: sha512-o+5IMqgOtj9+BEOp16atTfBgCogVak9svhBpwsbcJQp67bQbxGYhAPPDW/hZ2rpSSF7UdzbY9wudoX9G4trcuQ==} + '@swc/core-win32-x64-msvc@1.8.0': + resolution: {integrity: sha512-Il4y8XwKDV0Bnk0IpA00kGcSQC6I9XOIinW5egTutnwIDfDE+qsD0j+0isW5H76GetY3/Ze0lVxeOXLAUgpegA==} engines: {node: '>=10'} cpu: [x64] os: [win32] - '@swc/core@1.7.39': - resolution: {integrity: sha512-jns6VFeOT49uoTKLWIEfiQqJAlyqldNAt80kAr8f7a5YjX0zgnG3RBiLMpksx4Ka4SlK4O6TJ/lumIM3Trp82g==} + '@swc/core@1.8.0': + resolution: {integrity: sha512-EF8C5lp1RKMp3426tAKwQyVbg4Zcn/2FDax3cz8EcOXYQJM/ctB687IvBm9Ciej1wMcQ/dMRg+OB4Xl8BGLBoA==} engines: {node: '>=10'} peerDependencies: '@swc/helpers': '*' @@ -2773,14 +2751,14 @@ packages: '@swc/helpers@0.5.13': resolution: {integrity: sha512-UoKGxQ3r5kYI9dALKJapMmuK+1zWM/H17Z1+iwnNmzcJRnfFuevZs375TA5rW31pu4BS4NoSy1fRsexDXfWn5w==} - '@swc/jest@0.2.36': - resolution: {integrity: sha512-8X80dp81ugxs4a11z1ka43FPhP+/e+mJNXJSxiNYk8gIX/jPBtY4gQTrKu/KIoco8bzKuPI5lUxjfLiGsfvnlw==} + '@swc/jest@0.2.37': + resolution: {integrity: sha512-CR2BHhmXKGxTiFr21DYPRHQunLkX3mNIFGFkxBGji6r9uyIR5zftTOVYj1e0sFNMV2H7mf/+vpaglqaryBtqfQ==} engines: {npm: '>= 7.0.0'} peerDependencies: '@swc/core': '*' - '@swc/types@0.1.13': - resolution: {integrity: sha512-JL7eeCk6zWCbiYQg2xQSdLXQJl8Qoc9rXmG2cEKvHe3CKwMHwHGpfOb8frzNLmbycOo6I51qxnLnn9ESf4I20Q==} + '@swc/types@0.1.14': + resolution: {integrity: sha512-PbSmTiYCN+GMrvfjrMo9bdY+f2COnwbdnoMw7rqU/PI5jXpKjxOGZ0qqZCImxnT81NkNsKnmEpvu+hRXLBeCJg==} '@szmarczak/http-timer@1.1.2': resolution: {integrity: sha512-XIB2XbzHTN6ieIjfIMV9hlVcfPU26s2vafYWQcZHWXHOxiaRZYEDKEwdl129Zyg50+foYV2jCgtrqSA6qNuNSA==} @@ -2888,6 +2866,12 @@ packages: '@types/escodegen@0.0.6': resolution: {integrity: sha512-AjwI4MvWx3HAOaZqYsjKWyEObT9lcVV0Y0V8nXo6cXzN8ZiMxVhf6F3d/UNvXVGKrEzL/Dluc5p+y9GkzlTWig==} + '@types/eslint-scope@3.7.7': + resolution: {integrity: sha512-MzMFlSLBqNF2gcHWO0G1vP/YQyfvrxZ0bF+u7mzUdZ1/xK4A4sru+nraZz5i3iEIk1l1uyicaDVTB4QbbEkAYg==} + + '@types/eslint@9.6.1': + resolution: {integrity: sha512-FXx2pKgId/WyYo2jXw63kk7/+TY7u7AziEJxJAnSFzHlqTAS3Ync6SvgYAN/k4/PQpnnVuzoMuVnByKK2qp0ag==} + '@types/estree-jsx@1.0.5': resolution: {integrity: sha512-52CcUVNFyfb1A2ALocQw/Dd1BQFNmSdkuC3BkZ6iqhdMfQz7JWOFRuJFloOzjk+6WijU56m9oKXFAXc7o3Towg==} @@ -2966,8 +2950,8 @@ packages: '@types/keyv@3.1.4': resolution: {integrity: sha512-BQ5aZNSCpj7D6K2ksrRCTmKRLEpnPvWDiLPfoGyhZ++8YtiK9d/3DBKPJgry359X/P1PfruyYwvnvwFjuEiEIg==} - '@types/lodash@4.17.12': - resolution: {integrity: sha512-sviUmCE8AYdaF/KIHLDJBQgeYzPBI0vf/17NaYehBJfYD1j6/L95Slh07NlyK2iNyBNaEkb3En2jRt+a8y3xZQ==} + '@types/lodash@4.17.13': + resolution: {integrity: sha512-lfx+dftrEZcdBPczf9d0Qv0x+j/rfNCMuC6OcfXmO8gkfeNAY88PgKUbvG56whcN23gc27yenwF6oJZXGFpYxg==} '@types/mdast@3.0.15': resolution: {integrity: sha512-LnwD+mUEfxWMa1QpDraczIn6k0Ee3SMicuYSSzS6ZYl2gKS09EClnJYGd8Du6rfc5r/GZEk5o1mRb8TaTj03sQ==} @@ -2996,14 +2980,14 @@ packages: '@types/node@12.20.55': resolution: {integrity: sha512-J8xLz7q2OFulZ2cyGTLE1TbbZcjpno7FaN6zdJNrgAdrJ+DZzh/uFR6YrTb4C+nXakvud8Q4+rbhoIWlYQbUFQ==} - '@types/node@16.18.114': - resolution: {integrity: sha512-7oAtnxrgkMNzyzT443UDWwzkmYew81F1ZSPm3/lsITJfW/WludaSOpegTvUG+UdapcbrtWOtY/E4LyTkhPGJ5Q==} + '@types/node@16.18.119': + resolution: {integrity: sha512-ia7V9a2FnhUFfetng4/sRPBMTwHZUkPFY736rb1cg9AgG7MZdR97q7/nLR9om+sq5f1la9C857E0l/nrI0RiFQ==} - '@types/node@18.19.58': - resolution: {integrity: sha512-2ryJttbOAWCYuZMdk4rmZZ6oqE+GSL5LxbaTVe4PCs0FUrHObZZAQL4ihMw9/cH1Pn8lSQ9TXVhsM4LrnfZ0aA==} + '@types/node@18.19.64': + resolution: {integrity: sha512-955mDqvO2vFf/oL7V3WiUtiz+BugyX8uVbaT2H8oj3+8dRyH2FLiNdowe7eNqRM7IOIZvzDH76EoAT+gwm6aIQ==} - '@types/node@22.7.8': - resolution: {integrity: sha512-a922jJy31vqR5sk+kAdIENJjHblqcZ4RmERviFsER4WJcEONqxKcjNOlk0q7OUfrF5sddT+vng070cdfMlrPLg==} + '@types/node@22.9.0': + resolution: {integrity: sha512-vuyHg81vvWA1Z1ELfvLko2c8f34gyA0zaic0+Rllc5lbCnbSyuvb2Oxpm6TAUAC/2xZN3QGqxBNggD1nNR2AfQ==} '@types/normalize-package-data@2.4.4': resolution: {integrity: sha512-37i+OaWTh9qeK4LSHPsyRC7NahnGotNuZvjLSgcPzblpHB3rrCJxAOgI5gCdKm7coonsaX1Of0ILiTcnZjbfxA==} @@ -3121,8 +3105,8 @@ packages: resolution: {integrity: sha512-AgCaEjhfql9MDKjMUxWvH7HjLeBqMCBfIaBbzzIcBbQPZE7CPh1m6FF+L75NUMJFMLYhCywJXIDEMa3//1A0dw==} engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} - '@typescript-eslint/scope-manager@8.11.0': - resolution: {integrity: sha512-Uholz7tWhXmA4r6epo+vaeV7yjdKy5QFCERMjs1kMVsLRKIrSdM6o21W2He9ftp5PP6aWOVpD5zvrvuHZC0bMQ==} + '@typescript-eslint/scope-manager@8.13.0': + resolution: {integrity: sha512-XsGWww0odcUT0gJoBZ1DeulY1+jkaHUciUq4jKNv4cpInbvvrtDoyBH9rE/n2V29wQJPk8iCH1wipra9BhmiMA==} engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} '@typescript-eslint/type-utils@5.62.0': @@ -3147,8 +3131,8 @@ packages: resolution: {integrity: sha512-k/E48uzsfJCRRbGLapdZgrX52csmWJ2rcowwPvOZ8lwPUv3xW6CcFeJAXgx4uJm+Ge4+a4tFOkdYvSpxhRhg1w==} engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} - '@typescript-eslint/types@8.11.0': - resolution: {integrity: sha512-tn6sNMHf6EBAYMvmPUaKaVeYvhUsrE6x+bXQTxjQRp360h1giATU0WvgeEys1spbvb5R+VpNOZ+XJmjD8wOUHw==} + '@typescript-eslint/types@8.13.0': + resolution: {integrity: sha512-4cyFErJetFLckcThRUFdReWJjVsPCqyBlJTi6IDEpc1GWCIIZRFxVppjWLIMcQhNGhdWJJRYFHpHoDWvMlDzng==} engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} '@typescript-eslint/typescript-estree@4.33.0': @@ -3178,8 +3162,8 @@ packages: typescript: optional: true - '@typescript-eslint/typescript-estree@8.11.0': - resolution: {integrity: sha512-yHC3s1z1RCHoCz5t06gf7jH24rr3vns08XXhfEqzYpd6Hll3z/3g23JRi0jM8A47UFKNc3u/y5KIMx8Ynbjohg==} + '@typescript-eslint/typescript-estree@8.13.0': + resolution: {integrity: sha512-v7SCIGmVsRK2Cy/LTLGN22uea6SaUIlpBcO/gnMGT/7zPtxp90bphcGf4fyrCQl3ZtiBKqVTG32hb668oIYy1g==} engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} peerDependencies: typescript: '*' @@ -3193,8 +3177,8 @@ packages: peerDependencies: eslint: ^6.0.0 || ^7.0.0 || ^8.0.0 - '@typescript-eslint/utils@8.11.0': - resolution: {integrity: sha512-CYiX6WZcbXNJV7UNB4PLDIBtSdRmRI/nb0FMyqHPTQD1rMjA0foPLaPUV39C/MxkTd/QKSeX+Gb34PPsDVC35g==} + '@typescript-eslint/utils@8.13.0': + resolution: {integrity: sha512-A1EeYOND6Uv250nybnLZapeXpYMl8tkzYUxqmoKAWnI4sei3ihf2XdZVd+vVOmHGcp3t+P7yRrNsyyiXTvShFQ==} engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} peerDependencies: eslint: ^8.57.0 || ^9.0.0 @@ -3211,8 +3195,8 @@ packages: resolution: {integrity: sha512-k8nekgqwr7FadWk548Lfph6V3r9OVqjzAIVskE7orMZR23cGJjAOVazsZSJW+ElyjfTM4wx/1g88Mi70DDtG9A==} engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} - '@typescript-eslint/visitor-keys@8.11.0': - resolution: {integrity: sha512-EaewX6lxSjRJnc+99+dqzTeoDZUfyrA52d2/HRrkI830kgovWsmIiTfmr0NZorzqic7ga+1bS60lRBUgR3n/Bw==} + '@typescript-eslint/visitor-keys@8.13.0': + resolution: {integrity: sha512-7N/+lztJqH4Mrf0lb10R/CbI1EaAMMGyF5y0oJvFoAhafwgiRA7TXyd8TFn8FC8k5y2dTsYogg238qavRGNnlw==} engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} '@ungap/structured-clone@1.2.0': @@ -3233,8 +3217,8 @@ packages: '@vitest/pretty-format@2.0.5': resolution: {integrity: sha512-h8k+1oWHfwTkyTkb9egzwNMfJAEx4veaPSnMeKbVSjp4euqGSbQlm5+6VHwTr7u4FJslVVsUG5nopCaAYdOmSQ==} - '@vitest/pretty-format@2.1.3': - resolution: {integrity: sha512-XH1XdtoLZCpqV59KRbPrIhFCOO0hErxrQCMcvnQete3Vibb9UeIOX02uFPfVn3Z9ZXsq78etlfyhnkmIZSzIwQ==} + '@vitest/pretty-format@2.1.4': + resolution: {integrity: sha512-L95zIAkEuTDbUX1IsjRl+vyBSLh3PwLLgKpghl37aCK9Jvw0iP+wKwIFhfjdUtA2myLgjrG6VU6JCFLv8q/3Ww==} '@vitest/spy@2.0.5': resolution: {integrity: sha512-c/jdthAhvJdpfVuaexSrnawxZz6pywlTPe84LUB2m/4t3rl2fTo9NFGBG4oWgaD+FTgDDV8hJ/nibT7IfH3JfA==} @@ -3242,8 +3226,8 @@ packages: '@vitest/utils@2.0.5': resolution: {integrity: sha512-d8HKbqIcya+GR67mkZbrzhS5kKhtp8dQLcmRZLGTscGVg7yImT82cIrhtn2L8+VujWcy6KZweApgNmPsTAO/UQ==} - '@vitest/utils@2.1.3': - resolution: {integrity: sha512-xpiVfDSg1RrYT0tX6czgerkpcKFmFOF/gCr30+Mve5V2kewCy4Prn1/NDMSRwaSmT7PRaOF83wu+bEtsY1wrvA==} + '@vitest/utils@2.1.4': + resolution: {integrity: sha512-MXDnZn0Awl2S86PSNIim5PWXgIAx8CIkzu35mBdSApUip6RFOGXBCf3YFyeEu8n1IHk4bWD46DeYFu9mQlFIRg==} '@webassemblyjs/ast@1.12.1': resolution: {integrity: sha512-EKfMUOPRRUTy5UII4qJDGPpqfwjOmZ5jeGFwid9mnoqIFK+e0vqoi1qH56JpmZSzEL53jKnNzScdmftJyG5xWg==} @@ -3334,11 +3318,6 @@ packages: acorn-globals@7.0.1: resolution: {integrity: sha512-umOSDSDrfHbTNPuNpC2NSnnA3LUrqpevPb4T9jRx4MagXNS0rs+gwiTcAvqCRmsD6utzsrzNt+ebm00SNWiC3Q==} - acorn-import-attributes@1.9.5: - resolution: {integrity: sha512-n02Vykv5uA3eHGM/Z2dQrcD56kL8TyDb2p1+0P83PClMnC/nc+anbQRhIOWnSq4Ke/KvDPrY3C9hDtC/A3eHnQ==} - peerDependencies: - acorn: ^8 - acorn-jsx@5.3.2: resolution: {integrity: sha512-rq9s+JNhf0IChjtDXxllJ7g41oZk5SlXtp0LHwyA5cejwn7vKmKp4pPri6YEePv2PU65sAsegbXtIinmDFDXgQ==} peerDependencies: @@ -3357,8 +3336,8 @@ packages: engines: {node: '>=0.4.0'} hasBin: true - acorn@8.13.0: - resolution: {integrity: sha512-8zSiw54Oxrdym50NlZ9sUusyO1Z1ZchgRLWRaK6c86XJFClyCgFKetdowBg5bKxyp/u+CDBJG4Mpp0m3HLZl9w==} + acorn@8.14.0: + resolution: {integrity: sha512-cl669nCJTZBsL97OF4kUQm5g5hC2uihk0NxY3WENAC0TYdILVkAyHymAntgxGkl7K+t0cXIrH5siy5S4XkFycA==} engines: {node: '>=0.4.0'} hasBin: true @@ -3687,8 +3666,8 @@ packages: resolution: {integrity: sha512-wvUjBtSGN7+7SjNpq/9M2Tg350UZD3q62IFZLbRAR1bSMlCo1ZaeW+BJ+D090e4hIIZLBcTDWe4Mh4jvUDajzQ==} engines: {node: '>= 0.4'} - axe-core@4.10.1: - resolution: {integrity: sha512-qPC9o+kD8Tir0lzNGLeghbOrWMr3ZJpaRlCIb6Uobt/7N4FiEDvqUMnxzCHRHmg8vOg14kr5gVNyScRmbMaJ9g==} + axe-core@4.10.2: + resolution: {integrity: sha512-RE3mdQ7P3FRSe7eqCWoeQ/Z9QXrtniSjp1wUjt5nRC3WIpz5rSCve6o3fsZ2aCpJtrZjSZgjwXAoTO5k4tEI0w==} engines: {node: '>=4'} axios@1.7.7: @@ -3825,6 +3804,11 @@ packages: engines: {node: ^6 || ^7 || ^8 || ^9 || ^10 || ^11 || ^12 || >=13.7} hasBin: true + browserslist@4.24.2: + resolution: {integrity: sha512-ZIc+Q62revdMcqC6aChtW4jz3My3klmCO1fEmINZY/8J3EpBg5/A/D0AKmBveUh6pgoeycoMkVMko84tuYS+Gg==} + engines: {node: ^6 || ^7 || ^8 || ^9 || ^10 || ^11 || ^12 || >=13.7} + hasBin: true + bs-logger@0.2.6: resolution: {integrity: sha512-pd8DCoxmbgc7hyPKOvxtqNcjYoOsABPQdcCUjGp3d42VR2CX1ORhk2A87oqqu5R1kk+76nsxZupkmyd+MVtCog==} engines: {node: '>= 6'} @@ -3935,8 +3919,8 @@ packages: resolution: {integrity: sha512-xlx1yCK2Oc1APsPXDL2LdlNP6+uu8OCDdhOBSVT279M/S+y75O30C2VuD8T2ogdePBBl7PfPF4504tnLgX3zfw==} engines: {node: '>=14.16'} - caniuse-lite@1.0.30001669: - resolution: {integrity: sha512-DlWzFDJqstqtIVx1zeSpIMLjunf5SmwOw0N2Ck/QSQdS8PLS4+9HrLaYei4w8BIAL7IB/UEDu889d8vhCTPA0w==} + caniuse-lite@1.0.30001677: + resolution: {integrity: sha512-fmfjsOlJUpMWu+mAAtZZZHz7UEwsUxIIvu1TJfO1HqFQvB/B+ii0xr9B5HpbZY/mC4XZ8SvjHJqtAY6pDPQEog==} case-sensitive-paths-webpack-plugin@2.4.0: resolution: {integrity: sha512-roIFONhcxog0JSSWbvVAh3OocukmSgpqOH6YpMkCvav/ySIV3JKg4Dc8vYtQjYi/UxpNE36r/9v+VqTQqgkYmw==} @@ -3945,8 +3929,8 @@ packages: ccount@2.0.1: resolution: {integrity: sha512-eyrF0jiFpY+3drT6383f1qhkbGsLSifNAjA61IUjZjmLCWjItY6LB9ft9YhoDgwfmclB2zhu51Lc7+95b8NRAg==} - chai@5.1.1: - resolution: {integrity: sha512-pT1ZgP8rPNqUgieVaEY+ryQr6Q4HXNg8Ei9UnLUrjN4IA7dvQC5JB+/kxVcPNDHyBcc/26CXPkbNzq3qwrOEKA==} + chai@5.1.2: + resolution: {integrity: sha512-aGtmf24DW6MLHHG5gCx4zaI3uBq3KRtxeVs0DjFH6Z0rDNbsvTxFASFvdj79pxjxZ8/5u3PIiN3IwEIQkiiuPw==} engines: {node: '>=12'} chalk-template@0.4.0: @@ -4028,8 +4012,8 @@ packages: resolution: {integrity: sha512-bIomtDF5KGpdogkLd9VspvFzk9KfpyyGlS8YFVZl7TGPBHL5snIOnxeshwVgPteQ9b4Eydl+pVbIyE1DcvCWgQ==} engines: {node: '>=10'} - chromatic@11.14.0: - resolution: {integrity: sha512-qt7xXpdrwssBtXWv30aW46HAK10bF4Ep7SMjtMQhD61Fg4IS9aImT0WFeig7utpXYHOx0eSysjwhz0cgYz9SDg==} + chromatic@11.16.5: + resolution: {integrity: sha512-wUEKXyu3GYmUg6Jq13uyRE9iC8ph5gbfDHdyHH0vQathkGQrcjHHdoxI/GXKIjU6d+xupLon8sxRV9NuZKTWbA==} hasBin: true peerDependencies: '@chromatic-com/cypress': ^0.*.* || ^1.0.0 @@ -4315,11 +4299,11 @@ packages: resolution: {integrity: sha512-fereAvAvxDrQDOXybk3Qu3dPbOoKoysFMWtkY3mv5BsL8//OSZVL5DCLYqgRfY5cWirgRzlC+WSrxp6Bo3eNZg==} hasBin: true - core-js-compat@3.38.1: - resolution: {integrity: sha512-JRH6gfXxGmrzF3tZ57lFx97YARxCXPaMzPo6jELZhv88pBH5VXpQ+y0znKGlFnzuaihqhLbefxSJxWJMPtfDzw==} + core-js-compat@3.39.0: + resolution: {integrity: sha512-VgEUx3VwlExr5no0tXlBt+silBvhTryPwCXRI2Id1PN8WTKu7MreethvddqOubrYxkFdv/RnYrqlv1sFNAUelw==} - core-js-pure@3.38.1: - resolution: {integrity: sha512-BY8Etc1FZqdw1glX0XNOq2FDwfrg/VGqoZOZCdaL+UmdaqDwQwYXkMJT4t6In+zfEfOJDcM9T0KdbBeJg8KKCQ==} + core-js-pure@3.39.0: + resolution: {integrity: sha512-7fEcWwKI4rJinnK+wLTezeg2smbFFdSBP6E2kQZNbnzM2s1rpKQ6aaRteZSSg7FLU3P0HGGVo/gbpfanU36urg==} core-util-is@1.0.3: resolution: {integrity: sha512-ZQBvi1DcpJ4GDqanjucZ2Hj3wEO5pZDS89BWbkcrvdxksJorwUDDZamX9ldFkp9aw2lmBDLgkObEA4DWNJ9FYQ==} @@ -4859,8 +4843,8 @@ packages: engines: {node: '>=0.10.0'} hasBin: true - electron-to-chromium@1.5.42: - resolution: {integrity: sha512-gIfKavKDw1mhvic9nbzA5lZw8QSHpdMwLwXc0cWidQz9B15pDoDdDH4boIatuFfeoCatb3a/NGL6CYRVFxGZ9g==} + electron-to-chromium@1.5.51: + resolution: {integrity: sha512-kKeWV57KSS8jH4alKt/jKnvHPmJgBxXzGUSbMd4eQF+iOsVPl7bz2KUmu6eo80eMP8wVioTfTyTzdMgM15WXNg==} elegant-spinner@1.0.1: resolution: {integrity: sha512-B+ZM+RXvRqQaAmkMlO/oSe5nMUOaUnyfGYCEHoR8wrXsZR2mA0XVibsxV1bvTwxdRWah1PkQqso2EzhILGHtEQ==} @@ -4894,9 +4878,6 @@ packages: resolution: {integrity: sha512-Q0n9HRi4m6JuGIV1eFlmvJB7ZEVxu93IrMyiMsGC0lrMJMWzRgx6WGquyfQgZVb31vhGgXnfmPNNXmxnOkRBrg==} engines: {node: '>= 0.8'} - encoding@0.1.13: - resolution: {integrity: sha512-ETBauow1T35Y/WZMkio9jiM0Z5xjHHmJ4XmjZOq1l/dXz3lr2sRn87nJy20RupqSh1F2m3HHPSp8ShIPQJrJ3A==} - end-of-stream@1.4.4: resolution: {integrity: sha512-+uw1inIHVPQoaVuHzRyXd21icM+cnt4CzD5rW+NC1wjOUSTOs+Te7FOv7AhN7vS9x/oIyhLP5PR1H+phQAHu5Q==} @@ -4948,8 +4929,8 @@ packages: resolution: {integrity: sha512-Zf5H2Kxt2xjTvbJvP2ZWLEICxA6j+hAmMzIlypy4xcBg1vKVnx89Wy0GbS+kf5cwCVFFzdCFh2XSCFNULS6csw==} engines: {node: '>= 0.4'} - es-iterator-helpers@1.1.0: - resolution: {integrity: sha512-/SurEfycdyssORP/E+bj4sEu1CWw4EmLDsHynHwSXQ7utgbrMRWW195pTrCjFgFCddf/UkYm3oqKPRq5i8bJbw==} + es-iterator-helpers@1.2.0: + resolution: {integrity: sha512-tpxqxncxnpw3c93u8n3VOzACmRFoVmWJqbWXvX/JfKbkhBw1oslgPrUfeSt2psuqyEJFD6N/9lg5i7bsKpoq+Q==} engines: {node: '>= 0.4'} es-module-lexer@0.9.3: @@ -5159,8 +5140,8 @@ packages: jest: optional: true - eslint-plugin-jsx-a11y@6.10.1: - resolution: {integrity: sha512-zHByM9WTUMnfsDTafGXRiqxp6lFtNoSOWBY6FonVRn3A+BUwN1L/tdBXT40BcBJi0cZjOGTXZ0eD/rTG9fEJ0g==} + eslint-plugin-jsx-a11y@6.10.2: + resolution: {integrity: sha512-scB3nz4WmG75pV8+3eRUQOHZlNSUhFNq37xnpgRkCCELU3XMvXAxLk1eqWWyE22Ki4Q01Fnsw9BA3cJHDPgn2Q==} engines: {node: '>=4.0'} peerDependencies: eslint: ^3 || ^4 || ^5 || ^6 || ^7 || ^8 || ^9 @@ -5195,8 +5176,8 @@ packages: peerDependencies: eslint: '>=7.30' - eslint-plugin-react@7.37.1: - resolution: {integrity: sha512-xwTnwDqzbDRA8uJ7BMxPs/EXRB3i8ZfnOIp8BsxEQkT0nHPp+WWceqGgo6rKb9ctNi8GJLDT4Go5HAWELa/WMg==} + eslint-plugin-react@7.37.2: + resolution: {integrity: sha512-EsTAnj9fLVr/GZleBLFbj/sSuXeWmp1eXIN60ceYnZveqEaUCyW4X+Vh4WTdUhCkW4xutXYqTXCUSyqD4rB75w==} engines: {node: '>=4'} peerDependencies: eslint: ^3 || ^4 || ^5 || ^6 || ^7 || ^8 || ^9.7 @@ -5216,8 +5197,8 @@ packages: resolution: {integrity: sha512-DNPHFGCA0/hZIsfODbeLZqaGY/+q3vgtshF85r+YWDNCQ2apd9PNs/zL6ttKm0nD1IFwvxyg3YOTI7FHl4unrw==} engines: {node: '>=0.10.0'} - eslint-plugin-storybook@0.10.1: - resolution: {integrity: sha512-YpxkdqyiKpMIrRquuvBaCinsqmZJ86JvXRX/gtRa4Qctpk0ipFt2cWqEjkB1HHWWG0DVRXlUBKHjRogC2Ig1fg==} + eslint-plugin-storybook@0.11.0: + resolution: {integrity: sha512-MvPJgF+ORwgK04a1CY5itO4pwdAOFIRqczlNEHL62+4Ocvj1d61GWRqIdeX1BNCKno6fdPC6TksUHCZMGsq26g==} engines: {node: '>= 18'} peerDependencies: eslint: '>=6' @@ -5259,6 +5240,7 @@ packages: eslint@8.57.1: resolution: {integrity: sha512-ypowyDxpVSYpkXr9WPv2PAZCtNip1Mv5KTW0SCurXv/9iOpcrH9PaqUElksqEB6pChqHGDRCFTyrZlGhnLNGiA==} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} + deprecated: This version is no longer supported. Please see https://eslint.org/version-support for other options. hasBin: true espree@6.2.1: @@ -5813,11 +5795,6 @@ packages: resolution: {integrity: sha512-7Bv8RF0k6xjo7d4A/PxYLbUCfb6c+Vpd2/mB2yRDlew7Jb5hEXiCD9ibfO7wpk8i4sevK6DFny9h7EYbM3/sHg==} hasBin: true - glob@11.0.0: - resolution: {integrity: sha512-9UiX/Bl6J2yaBbxKoEBRm4Cipxgok8kQYcOPEhScPwebu2I0HoQOuYdIO6S3hLuWoZgpDpwQZMzTFxgpkyT76g==} - engines: {node: 20 || >=22} - hasBin: true - glob@7.1.7: resolution: {integrity: sha512-OvD9ENzPLbegENnYP5UUfJIirTg4+XwMWGaQfQTY0JenxNvvIKP3U3/tAQSPIu/lHxXYSZmpXlUHeqAIdKzBLQ==} deprecated: Glob versions prior to v9 are no longer supported @@ -6041,8 +6018,8 @@ packages: resolution: {integrity: sha512-ztqyC3kLto0e9WbNp0aeP+M3kTt+nbaIveGmUxAtZa+8iFgKLUOD4YKM5j+f3QD89bra7UeumolZHKuOXnTmeQ==} engines: {node: '>=8'} - html-webpack-plugin@5.6.2: - resolution: {integrity: sha512-q7xp/FO9RGBVoTKNItkdX1jKLscLFkgn/dLVFNYbHVbfHLBk6DYW5nsQ8kCzIWcgKP/kUBocetjvav6lD8YfCQ==} + html-webpack-plugin@5.6.3: + resolution: {integrity: sha512-QSf1yjtSAsmf7rYBV7XX86uua4W/vkhIt0xNXKbsi2foEeW7vjJQz4bhnpL3xH+l1ryl1680uNv968Z+X6jSYg==} engines: {node: '>=10.13.0'} peerDependencies: '@rspack/core': 0.x || 1.x @@ -6212,8 +6189,8 @@ packages: resolution: {integrity: sha512-agE4QfB2Lkp9uICn7BAqoscw4SZP9kTE2hxiFI3jBPmXJfdqiahTbUuKGsMoN2GtqL9AxhYioAcVvgsb1HvRbA==} engines: {node: '>= 0.10'} - intl-messageformat@10.7.1: - resolution: {integrity: sha512-xQuJW2WcyzNJZWUu5xTVPOmNSA1Sowuu/NKFdUid5Fxx/Yl6/s4DefTU/y7zy+irZLDmFGmTLtnM8FqpN05wlA==} + intl-messageformat@10.7.6: + resolution: {integrity: sha512-IsMU/hqyy3FJwNJ0hxDfY2heJ7MteSuFvcnCebxRp67di4Fhx1gKKE+qS0bBwUF8yXkX9SsPUhLeX/B6h5SKUA==} into-stream@3.1.0: resolution: {integrity: sha512-TcdjPibTksa1NQximqep2r17ISRiNE9fwlfbg3F8ANdvP5/yrFTew86VcO//jk4QTaMlbjypPBq76HN2zaKfZQ==} @@ -6638,10 +6615,6 @@ packages: jackspeak@3.4.3: resolution: {integrity: sha512-OGlZQpz2yfahA/Rd1Y8Cd9SIEsqvXkLVoSw/cgwhnhFMDbsQFeZYoJJ7bIZBS9BcamUW96asq/npPWugM+RQBw==} - jackspeak@4.0.2: - resolution: {integrity: sha512-bZsjR/iRjl1Nk1UkjGpAzLNfQtzuijhn2g+pbZb98HQ1Gk8vM9hfbxeMBP+M2/UUdwj0RqGG3mlvk2MsAqwvEw==} - engines: {node: 20 || >=22} - jake@10.9.2: resolution: {integrity: sha512-2P4SQ0HrLQ+fw6llpLnOaGAvN2Zu6778SJMrCUwns4fOoG9ayrTiZk3VV8sCPkVZF8ab0zksVpS8FDY5pRCNBA==} engines: {node: '>=10'} @@ -7145,10 +7118,6 @@ packages: lru-cache@10.4.3: resolution: {integrity: sha512-JNAzZcXrCt42VGLuYz0zfAzDfAvJWW6AfYlDBQyDV5DClI2m5sAmK+OIO7s59XfsRsWHp02jAJrRadPRGTt6SQ==} - lru-cache@11.0.1: - resolution: {integrity: sha512-CgeuL5uom6j/ZVrg7G/+1IXqRY8JXX4Hghfy5YE0EhoYQWvndP1kufu58cmZLNIDKnRhZrXfdS9urVWx98AipQ==} - engines: {node: 20 || >=22} - lru-cache@4.1.5: resolution: {integrity: sha512-sWZlbEP2OsHNkXrMl5GYk/jKk70MBng6UU4YI/qGDYbgf6YbP4EvmqISbXCoJiRKs+1bSpFHVgQxvJ17F2li5g==} @@ -7253,8 +7222,8 @@ packages: mdast-util-from-markdown@1.3.1: resolution: {integrity: sha512-4xTO/M8c82qBcnQc1tgpNtubGUW/Y1tBQ1B0i5CtSoelOLKFYlElIr3bvgREYYO5iRqbMY1YuqZng0GVOI8Qww==} - mdast-util-from-markdown@2.0.1: - resolution: {integrity: sha512-aJEUyzZ6TzlsX2s5B4Of7lN7EQtAxvtradMMglCQDyaTFgse6CmtmdJ15ElnVRlCg1vpNyVtbem0PWzlNieZsA==} + mdast-util-from-markdown@2.0.2: + resolution: {integrity: sha512-uZhTV/8NBuw0WHkPTrCqDOl0zVe1BIng5ZtHoDk49ME1qqcjYmmLmOf0gELgcRMxN4w2iuIeVso5/6QymSrgmA==} mdast-util-gfm-autolink-literal@2.0.1: resolution: {integrity: sha512-5HVP2MKaP6L+G6YaxPNjuL0BPrq9orG3TsrZ9YXbA3vDw/ACI4MEsnoDpn6ZNm7GnZgtAcONJyPhOP8tNJQavQ==} @@ -7295,8 +7264,8 @@ packages: mdast-util-to-markdown@1.5.0: resolution: {integrity: sha512-bbv7TPv/WC49thZPg3jXuqzuvI45IL2EVAr/KxF0BSdHsU0ceFHOmwQn6evxAh1GaoK/6GQ1wp4R4oW2+LFL/A==} - mdast-util-to-markdown@2.1.0: - resolution: {integrity: sha512-SR2VnIEdVNCJbP6y7kVTJgPLifdr8WEU440fQec7qHoHOUz/oJ2jmNRqdDQ3rbiStOXb2mCDGTuwsK5OPUgYlQ==} + mdast-util-to-markdown@2.1.2: + resolution: {integrity: sha512-xj68wMTvGXVOKonmog6LwyJKrYXZPvlwabaryTjLh9LuvovB/KAH+kvi8Gjj+7rJjsFi23nkUxRQv1KqSroMqA==} mdast-util-to-string@2.0.0: resolution: {integrity: sha512-AW4DRS3QbBayY/jJmD8437V1Gombjf8RSOUCMFBuo5iHi58AGEgVCKQ+ezHkZZDpAQS75hcBMpLqjpJTjtUL7w==} @@ -7583,10 +7552,6 @@ packages: resolution: {integrity: sha512-I9jwMn07Sy/IwOj3zVkVik2JTvgpaykDZEigL6Rx6N9LbMywwUSMtxET+7lVoDLLd3O3IXwJwvuuns8UB/HeAg==} engines: {node: '>=4'} - minimatch@10.0.1: - resolution: {integrity: sha512-ethXTt3SGGR+95gudmqJ1eNhRO7eGEGIgYA9vnPatK4/etz2MEVDno5GMCibdMTuBMyElzIlgxMna3K94XDIDQ==} - engines: {node: 20 || >=22} - minimatch@3.1.2: resolution: {integrity: sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==} @@ -8167,8 +8132,8 @@ packages: resolution: {integrity: sha512-1Y1A//QUXEZK7YKz+rD9WydcE1+EuPr6ZBgKecAB8tmoW6UFv0NREVJe1p+jRxtThkcbbKkfwIbWJe/IeE6m2Q==} engines: {node: '>=0.10.0'} - parse5@7.2.0: - resolution: {integrity: sha512-ZkDsAOcxsUMZ4Lz5fVciOehNcJ+Gb8gTzcA4yl3wnc273BAybYWrQ+Ks/OjCjSEpjvQkDSeZbybK9qj2VHHdGA==} + parse5@7.2.1: + resolution: {integrity: sha512-BuBYQYlv1ckiPdQi/ohiivi9Sagc9JG+Ozs0r7b/0iK3sKmrb0b9FdWdBbOdx6hBCM/F9Ir82ofnBhtZOjCRPQ==} parseurl@1.3.3: resolution: {integrity: sha512-CiyeOxFT/JZyN5m0z9PfXw4SCBJ6Sygz1Dpl0wqjlhDEGGBP1GnsUVEL0p63hoG1fcj3fHynXi9NYO4nWOL+qQ==} @@ -8217,10 +8182,6 @@ packages: resolution: {integrity: sha512-Xa4Nw17FS9ApQFJ9umLiJS4orGjm7ZzwUrwamcGQuHSzDyth9boKDaycYdDcZDuqYATXw4HFXgaqWTctW/v1HA==} engines: {node: '>=16 || 14 >=14.18'} - path-scurry@2.0.0: - resolution: {integrity: sha512-ypGJsmGtdXUOeM5u93TyeIEfEhM6s+ljAhrk5vAvSx8uyY/02OvrZnA0YNGUrPXfpJMgI1ODd3nwz8Npx4O4cg==} - engines: {node: 20 || >=22} - path-to-regexp@0.1.10: resolution: {integrity: sha512-7lf7qcQidTku0Gu3YDPc8DJ1q7OOucfa/BSsIwjuh56VU7katFvuM8hULfkwB3Fns/rsVF7PwPKVw1sl5KQS9w==} @@ -8289,13 +8250,13 @@ packages: resolution: {integrity: sha512-C9R+PTCKGA32HG0n5I4JMYkdLL58ZpayVuncQHQrGeKa8o26A4o2x0u6BKekHG+Au0jv5ZW7Xfq1Cj6lm9Ag4w==} engines: {node: ^12.20.0 || ^14.13.1 || >=16.0.0} - playwright-core@1.48.1: - resolution: {integrity: sha512-Yw/t4VAFX/bBr1OzwCuOMZkY1Cnb4z/doAFSwf4huqAGWmf9eMNjmK7NiOljCdLmxeRYcGPPmcDgU0zOlzP0YA==} + playwright-core@1.48.2: + resolution: {integrity: sha512-sjjw+qrLFlriJo64du+EK0kJgZzoQPsabGF4lBvsid+3CNIZIYLgnMj9V6JY5VhM2Peh20DJWIVpVljLLnlawA==} engines: {node: '>=18'} hasBin: true - playwright@1.48.1: - resolution: {integrity: sha512-j8CiHW/V6HxmbntOfyB4+T/uk08tBy6ph0MpBXwuoofkSnLmlfdYNNkFTYD6ofzzlSqLA1fwH4vwvVFvJgLN0w==} + playwright@1.48.2: + resolution: {integrity: sha512-NjYvYgp4BPmiwfe31j4gHLa3J7bD2WiBz8Lk2RoSsmX38SVIARZ18VYjxLjAcDsAhA+F4iSEXTSGgjua0rrlgQ==} engines: {node: '>=18'} hasBin: true @@ -8728,8 +8689,8 @@ packages: regjsgen@0.8.0: resolution: {integrity: sha512-RvwtGe3d7LvWiDQXeQw8p5asZUmfU1G/l6WbUXeHta7Y2PEIvBTwH6E2EfmYUK8pxcxEdEmaomqyp0vZZ7C+3Q==} - regjsparser@0.11.1: - resolution: {integrity: sha512-1DHODs4B8p/mQHU9kr+jv8+wIC9mtG4eBHxWxIq5mhjE3D5oORhCc6deRKzTjs9DcfRFmj9BHSDguZklqCGFWQ==} + regjsparser@0.11.2: + resolution: {integrity: sha512-3OGZZ4HoLJkkAZx/48mTXJNlmqTGOzc0o9OWQPuWpkOlXXPbyN6OafCcoXUnBqE2D3f/T5L+pWc1kdEmnfnRsA==} hasBin: true rehype-external-links@3.0.0: @@ -8873,11 +8834,6 @@ packages: deprecated: Rimraf versions prior to v4 are no longer supported hasBin: true - rimraf@6.0.1: - resolution: {integrity: sha512-9dkvaxAsk/xNXSJzMgFqqMCuFgt2+KsOFek3TMLfo8NCPfWpBmqwyNn5Y+NX56QUYfCtsyhF3ayiboEoUmJk/A==} - engines: {node: 20 || >=22} - hasBin: true - rollup-plugin-inject@3.0.2: resolution: {integrity: sha512-ptg9PQwzs3orn4jkgXJ74bfs5vYz1NCZlSQMBUA0wKcGp5i5pA1AO3fOUEte8enhGUC+iapTCzEWw2jEFFUO/w==} deprecated: This package has been deprecated and is no longer maintained. Please use @rollup/plugin-inject. @@ -8978,11 +8934,6 @@ packages: resolution: {integrity: sha512-BR7VvDCVHO+q2xBEWskxS6DJE1qRnb7DxzUrogb71CWoSficBxYsiAGd+Kl0mmq/MprG9yArRkyrQxTO6XjMzA==} hasBin: true - semver@7.3.4: - resolution: {integrity: sha512-tCfb2WLjqFAtXn4KEdxIhalnRtoKFN7nAwj0B3ZXCbQloV2tq5eDbcTmT68JJD3nRJq24/XgxtQKFIpQdtvmVw==} - engines: {node: '>=10'} - hasBin: true - semver@7.6.3: resolution: {integrity: sha512-oVekP1cKtI+CTDvHWYFUcMtsK/00wmAEfyqKfNdARm8u1wNVhSgaX7A8d4UuIlUI5e84iEwOhs7ZPYRmzU9U6A==} engines: {node: '>=10'} @@ -9636,8 +9587,8 @@ packages: trough@2.2.0: resolution: {integrity: sha512-tmMpK00BjZiUyVyvrBK7knerNgmgvcV/KLVyuma/SC+TQN167GrMRciANTz09+k3zW8L8t60jWO1GpfkZdjTaw==} - ts-api-utils@1.3.0: - resolution: {integrity: sha512-UQMIo7pb8WRomKR1/+MFVLTroIvDVtMX3K6OUir8ynLyzB8Jeriont2bTAtmNPa1ekAgN7YPDyf6V+ygrdU+eQ==} + ts-api-utils@1.4.0: + resolution: {integrity: sha512-032cPxaEKwM+GT3vA5JXNzIaizx388rhsSW79vGRNGXfRRAdEAn2mvk36PvK5HnOchyWZ7afLEXqYCvPCrzuzQ==} engines: {node: '>=16'} peerDependencies: typescript: '>=4.2.0' @@ -9698,8 +9649,8 @@ packages: tslib@1.14.1: resolution: {integrity: sha512-Xni35NKzjgMrwevysHTCArtLDpPvye8zV/0E4EyYn43P7/7qvQwPh9BGkHewbMulVntbigmcT7rdX3BNo9wRJg==} - tslib@2.8.0: - resolution: {integrity: sha512-jWVzBLplnCmoaTr13V9dYbiQ99wvZRd0vNWaDRg+aVYRcjDF3nDksxFDE/+fkXnKhpnUUkmx5pK/v8mCtLVqZA==} + tslib@2.8.1: + resolution: {integrity: sha512-oJFu94HQb+KVduSUQL7wnpmqnfmLsOA/nAh6b6EH0wCEoK0/mPeXU6c3wKDV83MkOuHPRHtSXKKU99IBazS/2w==} tsutils@3.21.0: resolution: {integrity: sha512-mHKK3iUXL+3UF6xL5k0PEhKRUBKPBCv/+RkEOpjRWxxx27KKRBmmA60A9pgOUvMi8GKhRMPEmjBRPzs2W7O1OA==} @@ -9906,8 +9857,8 @@ packages: resolution: {integrity: sha512-pjy2bYhSsufwWlKwPc+l3cN7+wuJlK6uz0YdJEOlQDbl6jo/YlPi4mb8agUkVC8BF7V8NuzeyPNqRksA3hztKQ==} engines: {node: '>= 0.8'} - unplugin@1.14.1: - resolution: {integrity: sha512-lBlHbfSFPToDYp9pjXlUEFVxYLaue9f9T1HC+4OHlmj+HnMDdz9oZY+erXfoCe/5V/7gKUSY2jpXPb9S7f0f/w==} + unplugin@1.15.0: + resolution: {integrity: sha512-jTPIs63W+DUEDW207ztbaoO7cQ4p5aVaB823LSlxpsFEU3Mykwxf3ZGC/wzxFJeZlASZYgVrWeo7LgOrqJZ8RA==} engines: {node: '>=14.0.0'} peerDependencies: webpack-sources: ^3 @@ -9968,12 +9919,6 @@ packages: peerDependencies: react: '*' - use-debounce@7.0.1: - resolution: {integrity: sha512-fOrzIw2wstbAJuv8PC9Vg4XgwyTLEOdq4y/Z3IhVl8DAE4svRcgyEUvrEXu+BMNgMoc3YND6qLT61kkgEKXh7Q==} - engines: {node: '>= 10.0.0'} - peerDependencies: - react: '>=16.8.0' - use-sync-external-store@1.2.2: resolution: {integrity: sha512-PElTlVMwpblvbNqQ82d2n6RjStvdSoNe9FG28kNfz3WiXilJm4DdNkEzRhCZuIDwY8U08WVihhGR5iRqAwfDiw==} peerDependencies: @@ -10105,8 +10050,8 @@ packages: webpack-virtual-modules@0.6.2: resolution: {integrity: sha512-66/V2i5hQanC51vBQKPH4aI8NMAcBW59FVBs+rC7eGHupMyfn34q7rZIE+ETlJ+XTevqfUhVVBgSUNSW2flEUQ==} - webpack@5.95.0: - resolution: {integrity: sha512-2t3XstrKULz41MNMBF+cJ97TyHdyQ8HCt//pqErqDvNjU9YQBnZxIHa11VXsi7F3mb5/aO2tuDxdeTPdU7xu9Q==} + webpack@5.96.1: + resolution: {integrity: sha512-l2LlBSvVZGhL4ZrPwyr8+37AunkcYj5qh8o6u2/2rzoPc8gxFJkLj1WxNgooi9pnoc06jh0BjuXnamM4qlujZA==} engines: {node: '>=10.13.0'} hasBin: true peerDependencies: @@ -10180,8 +10125,8 @@ packages: resolution: {integrity: sha512-qxSTKswC6llEMZKgCQdaWgDuMJQnhuvF5f2Nk3SNXc4byfQ+voo2mX1Px9dkNOuR8p0KAjfPG29PuYUSIb+vSA==} engines: {node: '>= 12.0.0'} - winston@3.15.0: - resolution: {integrity: sha512-RhruH2Cj0bV0WgNL+lOfoUBI4DVfdUNjVnJGVovWZmrcKtrFTTRzgXYK2O9cymSGjrERCtaAeHwMNnUWXlwZow==} + winston@3.16.0: + resolution: {integrity: sha512-xz7+cyGN5M+4CmmD4Npq1/4T+UZaz7HaeTlAruFUTjk79CNMq+P6H30vlE4z0qfqJ01VHYQwd7OZo03nYm/+lg==} engines: {node: '>= 12.0.0'} word-wrap@1.2.5: @@ -10324,25 +10269,26 @@ snapshots: '@jridgewell/gen-mapping': 0.3.5 '@jridgewell/trace-mapping': 0.3.25 - '@babel/code-frame@7.25.9': + '@babel/code-frame@7.26.2': dependencies: - '@babel/highlight': 7.25.9 + '@babel/helper-validator-identifier': 7.25.9 + js-tokens: 4.0.0 picocolors: 1.1.1 - '@babel/compat-data@7.25.9': {} + '@babel/compat-data@7.26.2': {} - '@babel/core@7.25.9(supports-color@9.4.0)': + '@babel/core@7.26.0(supports-color@9.4.0)': dependencies: '@ampproject/remapping': 2.3.0 - '@babel/code-frame': 7.25.9 - '@babel/generator': 7.25.9 + '@babel/code-frame': 7.26.2 + '@babel/generator': 7.26.2 '@babel/helper-compilation-targets': 7.25.9 - '@babel/helper-module-transforms': 7.25.9(@babel/core@7.25.9)(supports-color@9.4.0) - '@babel/helpers': 7.25.9 - '@babel/parser': 7.25.9 + '@babel/helper-module-transforms': 7.26.0(@babel/core@7.26.0)(supports-color@9.4.0) + '@babel/helpers': 7.26.0 + '@babel/parser': 7.26.2 '@babel/template': 7.25.9 '@babel/traverse': 7.25.9(supports-color@9.4.0) - '@babel/types': 7.25.9 + '@babel/types': 7.26.0 convert-source-map: 2.0.0 debug: 4.3.7(supports-color@9.4.0) gensync: 1.0.0-beta.2 @@ -10351,55 +10297,56 @@ snapshots: transitivePeerDependencies: - supports-color - '@babel/generator@7.25.9': + '@babel/generator@7.26.2': dependencies: - '@babel/types': 7.25.9 + '@babel/parser': 7.26.2 + '@babel/types': 7.26.0 '@jridgewell/gen-mapping': 0.3.5 '@jridgewell/trace-mapping': 0.3.25 jsesc: 3.0.2 '@babel/helper-annotate-as-pure@7.25.9': dependencies: - '@babel/types': 7.25.9 + '@babel/types': 7.26.0 '@babel/helper-builder-binary-assignment-operator-visitor@7.25.9(supports-color@9.4.0)': dependencies: '@babel/traverse': 7.25.9(supports-color@9.4.0) - '@babel/types': 7.25.9 + '@babel/types': 7.26.0 transitivePeerDependencies: - supports-color '@babel/helper-compilation-targets@7.25.9': dependencies: - '@babel/compat-data': 7.25.9 + '@babel/compat-data': 7.26.2 '@babel/helper-validator-option': 7.25.9 browserslist: 4.24.0 lru-cache: 5.1.1 semver: 6.3.1 - '@babel/helper-create-class-features-plugin@7.25.9(@babel/core@7.25.9)(supports-color@9.4.0)': + '@babel/helper-create-class-features-plugin@7.25.9(@babel/core@7.26.0)(supports-color@9.4.0)': dependencies: - '@babel/core': 7.25.9(supports-color@9.4.0) + '@babel/core': 7.26.0(supports-color@9.4.0) '@babel/helper-annotate-as-pure': 7.25.9 '@babel/helper-member-expression-to-functions': 7.25.9(supports-color@9.4.0) '@babel/helper-optimise-call-expression': 7.25.9 - '@babel/helper-replace-supers': 7.25.9(@babel/core@7.25.9)(supports-color@9.4.0) + '@babel/helper-replace-supers': 7.25.9(@babel/core@7.26.0)(supports-color@9.4.0) '@babel/helper-skip-transparent-expression-wrappers': 7.25.9(supports-color@9.4.0) '@babel/traverse': 7.25.9(supports-color@9.4.0) semver: 6.3.1 transitivePeerDependencies: - supports-color - '@babel/helper-create-regexp-features-plugin@7.25.9(@babel/core@7.25.9)': + '@babel/helper-create-regexp-features-plugin@7.25.9(@babel/core@7.26.0)': dependencies: - '@babel/core': 7.25.9(supports-color@9.4.0) + '@babel/core': 7.26.0(supports-color@9.4.0) '@babel/helper-annotate-as-pure': 7.25.9 regexpu-core: 6.1.1 semver: 6.3.1 - '@babel/helper-define-polyfill-provider@0.6.2(@babel/core@7.25.9)(supports-color@9.4.0)': + '@babel/helper-define-polyfill-provider@0.6.2(@babel/core@7.26.0)(supports-color@9.4.0)': dependencies: - '@babel/core': 7.25.9(supports-color@9.4.0) + '@babel/core': 7.26.0(supports-color@9.4.0) '@babel/helper-compilation-targets': 7.25.9 '@babel/helper-plugin-utils': 7.25.9 debug: 4.3.7(supports-color@9.4.0) @@ -10411,22 +10358,21 @@ snapshots: '@babel/helper-member-expression-to-functions@7.25.9(supports-color@9.4.0)': dependencies: '@babel/traverse': 7.25.9(supports-color@9.4.0) - '@babel/types': 7.25.9 + '@babel/types': 7.26.0 transitivePeerDependencies: - supports-color '@babel/helper-module-imports@7.25.9(supports-color@9.4.0)': dependencies: '@babel/traverse': 7.25.9(supports-color@9.4.0) - '@babel/types': 7.25.9 + '@babel/types': 7.26.0 transitivePeerDependencies: - supports-color - '@babel/helper-module-transforms@7.25.9(@babel/core@7.25.9)(supports-color@9.4.0)': + '@babel/helper-module-transforms@7.26.0(@babel/core@7.26.0)(supports-color@9.4.0)': dependencies: - '@babel/core': 7.25.9(supports-color@9.4.0) + '@babel/core': 7.26.0(supports-color@9.4.0) '@babel/helper-module-imports': 7.25.9(supports-color@9.4.0) - '@babel/helper-simple-access': 7.25.9(supports-color@9.4.0) '@babel/helper-validator-identifier': 7.25.9 '@babel/traverse': 7.25.9(supports-color@9.4.0) transitivePeerDependencies: @@ -10434,22 +10380,22 @@ snapshots: '@babel/helper-optimise-call-expression@7.25.9': dependencies: - '@babel/types': 7.25.9 + '@babel/types': 7.26.0 '@babel/helper-plugin-utils@7.25.9': {} - '@babel/helper-remap-async-to-generator@7.25.9(@babel/core@7.25.9)(supports-color@9.4.0)': + '@babel/helper-remap-async-to-generator@7.25.9(@babel/core@7.26.0)(supports-color@9.4.0)': dependencies: - '@babel/core': 7.25.9(supports-color@9.4.0) + '@babel/core': 7.26.0(supports-color@9.4.0) '@babel/helper-annotate-as-pure': 7.25.9 '@babel/helper-wrap-function': 7.25.9(supports-color@9.4.0) '@babel/traverse': 7.25.9(supports-color@9.4.0) transitivePeerDependencies: - supports-color - '@babel/helper-replace-supers@7.25.9(@babel/core@7.25.9)(supports-color@9.4.0)': + '@babel/helper-replace-supers@7.25.9(@babel/core@7.26.0)(supports-color@9.4.0)': dependencies: - '@babel/core': 7.25.9(supports-color@9.4.0) + '@babel/core': 7.26.0(supports-color@9.4.0) '@babel/helper-member-expression-to-functions': 7.25.9(supports-color@9.4.0) '@babel/helper-optimise-call-expression': 7.25.9 '@babel/traverse': 7.25.9(supports-color@9.4.0) @@ -10459,14 +10405,14 @@ snapshots: '@babel/helper-simple-access@7.25.9(supports-color@9.4.0)': dependencies: '@babel/traverse': 7.25.9(supports-color@9.4.0) - '@babel/types': 7.25.9 + '@babel/types': 7.26.0 transitivePeerDependencies: - supports-color '@babel/helper-skip-transparent-expression-wrappers@7.25.9(supports-color@9.4.0)': dependencies: '@babel/traverse': 7.25.9(supports-color@9.4.0) - '@babel/types': 7.25.9 + '@babel/types': 7.26.0 transitivePeerDependencies: - supports-color @@ -10480,586 +10426,586 @@ snapshots: dependencies: '@babel/template': 7.25.9 '@babel/traverse': 7.25.9(supports-color@9.4.0) - '@babel/types': 7.25.9 + '@babel/types': 7.26.0 transitivePeerDependencies: - supports-color - '@babel/helpers@7.25.9': + '@babel/helpers@7.26.0': dependencies: '@babel/template': 7.25.9 - '@babel/types': 7.25.9 - - '@babel/highlight@7.25.9': - dependencies: - '@babel/helper-validator-identifier': 7.25.9 - chalk: 2.4.2 - js-tokens: 4.0.0 - picocolors: 1.1.1 + '@babel/types': 7.26.0 '@babel/parser@7.16.8': dependencies: - '@babel/types': 7.25.9 + '@babel/types': 7.26.0 - '@babel/parser@7.25.9': + '@babel/parser@7.26.2': dependencies: - '@babel/types': 7.25.9 + '@babel/types': 7.26.0 - '@babel/plugin-bugfix-firefox-class-in-computed-class-key@7.25.9(@babel/core@7.25.9)(supports-color@9.4.0)': + '@babel/plugin-bugfix-firefox-class-in-computed-class-key@7.25.9(@babel/core@7.26.0)(supports-color@9.4.0)': dependencies: - '@babel/core': 7.25.9(supports-color@9.4.0) + '@babel/core': 7.26.0(supports-color@9.4.0) '@babel/helper-plugin-utils': 7.25.9 '@babel/traverse': 7.25.9(supports-color@9.4.0) transitivePeerDependencies: - supports-color - '@babel/plugin-bugfix-safari-class-field-initializer-scope@7.25.9(@babel/core@7.25.9)': + '@babel/plugin-bugfix-safari-class-field-initializer-scope@7.25.9(@babel/core@7.26.0)': dependencies: - '@babel/core': 7.25.9(supports-color@9.4.0) + '@babel/core': 7.26.0(supports-color@9.4.0) '@babel/helper-plugin-utils': 7.25.9 - '@babel/plugin-bugfix-safari-id-destructuring-collision-in-function-expression@7.25.9(@babel/core@7.25.9)': + '@babel/plugin-bugfix-safari-id-destructuring-collision-in-function-expression@7.25.9(@babel/core@7.26.0)': dependencies: - '@babel/core': 7.25.9(supports-color@9.4.0) + '@babel/core': 7.26.0(supports-color@9.4.0) '@babel/helper-plugin-utils': 7.25.9 - '@babel/plugin-bugfix-v8-spread-parameters-in-optional-chaining@7.25.9(@babel/core@7.25.9)(supports-color@9.4.0)': + '@babel/plugin-bugfix-v8-spread-parameters-in-optional-chaining@7.25.9(@babel/core@7.26.0)(supports-color@9.4.0)': dependencies: - '@babel/core': 7.25.9(supports-color@9.4.0) + '@babel/core': 7.26.0(supports-color@9.4.0) '@babel/helper-plugin-utils': 7.25.9 '@babel/helper-skip-transparent-expression-wrappers': 7.25.9(supports-color@9.4.0) - '@babel/plugin-transform-optional-chaining': 7.25.9(@babel/core@7.25.9)(supports-color@9.4.0) + '@babel/plugin-transform-optional-chaining': 7.25.9(@babel/core@7.26.0)(supports-color@9.4.0) transitivePeerDependencies: - supports-color - '@babel/plugin-bugfix-v8-static-class-fields-redefine-readonly@7.25.9(@babel/core@7.25.9)(supports-color@9.4.0)': + '@babel/plugin-bugfix-v8-static-class-fields-redefine-readonly@7.25.9(@babel/core@7.26.0)(supports-color@9.4.0)': dependencies: - '@babel/core': 7.25.9(supports-color@9.4.0) + '@babel/core': 7.26.0(supports-color@9.4.0) '@babel/helper-plugin-utils': 7.25.9 '@babel/traverse': 7.25.9(supports-color@9.4.0) transitivePeerDependencies: - supports-color - '@babel/plugin-proposal-private-property-in-object@7.21.0-placeholder-for-preset-env.2(@babel/core@7.25.9)': + '@babel/plugin-proposal-private-property-in-object@7.21.0-placeholder-for-preset-env.2(@babel/core@7.26.0)': dependencies: - '@babel/core': 7.25.9(supports-color@9.4.0) + '@babel/core': 7.26.0(supports-color@9.4.0) - '@babel/plugin-syntax-async-generators@7.8.4(@babel/core@7.25.9)': + '@babel/plugin-syntax-async-generators@7.8.4(@babel/core@7.26.0)': dependencies: - '@babel/core': 7.25.9(supports-color@9.4.0) + '@babel/core': 7.26.0(supports-color@9.4.0) '@babel/helper-plugin-utils': 7.25.9 - '@babel/plugin-syntax-bigint@7.8.3(@babel/core@7.25.9)': + '@babel/plugin-syntax-bigint@7.8.3(@babel/core@7.26.0)': dependencies: - '@babel/core': 7.25.9(supports-color@9.4.0) + '@babel/core': 7.26.0(supports-color@9.4.0) '@babel/helper-plugin-utils': 7.25.9 - '@babel/plugin-syntax-class-properties@7.12.13(@babel/core@7.25.9)': + '@babel/plugin-syntax-class-properties@7.12.13(@babel/core@7.26.0)': dependencies: - '@babel/core': 7.25.9(supports-color@9.4.0) + '@babel/core': 7.26.0(supports-color@9.4.0) '@babel/helper-plugin-utils': 7.25.9 - '@babel/plugin-syntax-class-static-block@7.14.5(@babel/core@7.25.9)': + '@babel/plugin-syntax-class-static-block@7.14.5(@babel/core@7.26.0)': dependencies: - '@babel/core': 7.25.9(supports-color@9.4.0) + '@babel/core': 7.26.0(supports-color@9.4.0) '@babel/helper-plugin-utils': 7.25.9 - '@babel/plugin-syntax-import-assertions@7.25.9(@babel/core@7.25.9)': + '@babel/plugin-syntax-import-assertions@7.26.0(@babel/core@7.26.0)': dependencies: - '@babel/core': 7.25.9(supports-color@9.4.0) + '@babel/core': 7.26.0(supports-color@9.4.0) '@babel/helper-plugin-utils': 7.25.9 - '@babel/plugin-syntax-import-attributes@7.25.9(@babel/core@7.25.9)': + '@babel/plugin-syntax-import-attributes@7.26.0(@babel/core@7.26.0)': dependencies: - '@babel/core': 7.25.9(supports-color@9.4.0) + '@babel/core': 7.26.0(supports-color@9.4.0) '@babel/helper-plugin-utils': 7.25.9 - '@babel/plugin-syntax-import-meta@7.10.4(@babel/core@7.25.9)': + '@babel/plugin-syntax-import-meta@7.10.4(@babel/core@7.26.0)': dependencies: - '@babel/core': 7.25.9(supports-color@9.4.0) + '@babel/core': 7.26.0(supports-color@9.4.0) '@babel/helper-plugin-utils': 7.25.9 - '@babel/plugin-syntax-json-strings@7.8.3(@babel/core@7.25.9)': + '@babel/plugin-syntax-json-strings@7.8.3(@babel/core@7.26.0)': dependencies: - '@babel/core': 7.25.9(supports-color@9.4.0) + '@babel/core': 7.26.0(supports-color@9.4.0) '@babel/helper-plugin-utils': 7.25.9 - '@babel/plugin-syntax-jsx@7.25.9(@babel/core@7.25.9)': + '@babel/plugin-syntax-jsx@7.25.9(@babel/core@7.26.0)': dependencies: - '@babel/core': 7.25.9(supports-color@9.4.0) + '@babel/core': 7.26.0(supports-color@9.4.0) '@babel/helper-plugin-utils': 7.25.9 - '@babel/plugin-syntax-logical-assignment-operators@7.10.4(@babel/core@7.25.9)': + '@babel/plugin-syntax-logical-assignment-operators@7.10.4(@babel/core@7.26.0)': dependencies: - '@babel/core': 7.25.9(supports-color@9.4.0) + '@babel/core': 7.26.0(supports-color@9.4.0) '@babel/helper-plugin-utils': 7.25.9 - '@babel/plugin-syntax-nullish-coalescing-operator@7.8.3(@babel/core@7.25.9)': + '@babel/plugin-syntax-nullish-coalescing-operator@7.8.3(@babel/core@7.26.0)': dependencies: - '@babel/core': 7.25.9(supports-color@9.4.0) + '@babel/core': 7.26.0(supports-color@9.4.0) '@babel/helper-plugin-utils': 7.25.9 - '@babel/plugin-syntax-numeric-separator@7.10.4(@babel/core@7.25.9)': + '@babel/plugin-syntax-numeric-separator@7.10.4(@babel/core@7.26.0)': dependencies: - '@babel/core': 7.25.9(supports-color@9.4.0) + '@babel/core': 7.26.0(supports-color@9.4.0) '@babel/helper-plugin-utils': 7.25.9 - '@babel/plugin-syntax-object-rest-spread@7.8.3(@babel/core@7.25.9)': + '@babel/plugin-syntax-object-rest-spread@7.8.3(@babel/core@7.26.0)': dependencies: - '@babel/core': 7.25.9(supports-color@9.4.0) + '@babel/core': 7.26.0(supports-color@9.4.0) '@babel/helper-plugin-utils': 7.25.9 - '@babel/plugin-syntax-optional-catch-binding@7.8.3(@babel/core@7.25.9)': + '@babel/plugin-syntax-optional-catch-binding@7.8.3(@babel/core@7.26.0)': dependencies: - '@babel/core': 7.25.9(supports-color@9.4.0) + '@babel/core': 7.26.0(supports-color@9.4.0) '@babel/helper-plugin-utils': 7.25.9 - '@babel/plugin-syntax-optional-chaining@7.8.3(@babel/core@7.25.9)': + '@babel/plugin-syntax-optional-chaining@7.8.3(@babel/core@7.26.0)': dependencies: - '@babel/core': 7.25.9(supports-color@9.4.0) + '@babel/core': 7.26.0(supports-color@9.4.0) '@babel/helper-plugin-utils': 7.25.9 - '@babel/plugin-syntax-private-property-in-object@7.14.5(@babel/core@7.25.9)': + '@babel/plugin-syntax-private-property-in-object@7.14.5(@babel/core@7.26.0)': dependencies: - '@babel/core': 7.25.9(supports-color@9.4.0) + '@babel/core': 7.26.0(supports-color@9.4.0) '@babel/helper-plugin-utils': 7.25.9 - '@babel/plugin-syntax-top-level-await@7.14.5(@babel/core@7.25.9)': + '@babel/plugin-syntax-top-level-await@7.14.5(@babel/core@7.26.0)': dependencies: - '@babel/core': 7.25.9(supports-color@9.4.0) + '@babel/core': 7.26.0(supports-color@9.4.0) '@babel/helper-plugin-utils': 7.25.9 - '@babel/plugin-syntax-typescript@7.25.9(@babel/core@7.25.9)': + '@babel/plugin-syntax-typescript@7.25.9(@babel/core@7.26.0)': dependencies: - '@babel/core': 7.25.9(supports-color@9.4.0) + '@babel/core': 7.26.0(supports-color@9.4.0) '@babel/helper-plugin-utils': 7.25.9 - '@babel/plugin-syntax-unicode-sets-regex@7.18.6(@babel/core@7.25.9)': + '@babel/plugin-syntax-unicode-sets-regex@7.18.6(@babel/core@7.26.0)': dependencies: - '@babel/core': 7.25.9(supports-color@9.4.0) - '@babel/helper-create-regexp-features-plugin': 7.25.9(@babel/core@7.25.9) + '@babel/core': 7.26.0(supports-color@9.4.0) + '@babel/helper-create-regexp-features-plugin': 7.25.9(@babel/core@7.26.0) '@babel/helper-plugin-utils': 7.25.9 - '@babel/plugin-transform-arrow-functions@7.25.9(@babel/core@7.25.9)': + '@babel/plugin-transform-arrow-functions@7.25.9(@babel/core@7.26.0)': dependencies: - '@babel/core': 7.25.9(supports-color@9.4.0) + '@babel/core': 7.26.0(supports-color@9.4.0) '@babel/helper-plugin-utils': 7.25.9 - '@babel/plugin-transform-async-generator-functions@7.25.9(@babel/core@7.25.9)(supports-color@9.4.0)': + '@babel/plugin-transform-async-generator-functions@7.25.9(@babel/core@7.26.0)(supports-color@9.4.0)': dependencies: - '@babel/core': 7.25.9(supports-color@9.4.0) + '@babel/core': 7.26.0(supports-color@9.4.0) '@babel/helper-plugin-utils': 7.25.9 - '@babel/helper-remap-async-to-generator': 7.25.9(@babel/core@7.25.9)(supports-color@9.4.0) + '@babel/helper-remap-async-to-generator': 7.25.9(@babel/core@7.26.0)(supports-color@9.4.0) '@babel/traverse': 7.25.9(supports-color@9.4.0) transitivePeerDependencies: - supports-color - '@babel/plugin-transform-async-to-generator@7.25.9(@babel/core@7.25.9)(supports-color@9.4.0)': + '@babel/plugin-transform-async-to-generator@7.25.9(@babel/core@7.26.0)(supports-color@9.4.0)': dependencies: - '@babel/core': 7.25.9(supports-color@9.4.0) + '@babel/core': 7.26.0(supports-color@9.4.0) '@babel/helper-module-imports': 7.25.9(supports-color@9.4.0) '@babel/helper-plugin-utils': 7.25.9 - '@babel/helper-remap-async-to-generator': 7.25.9(@babel/core@7.25.9)(supports-color@9.4.0) + '@babel/helper-remap-async-to-generator': 7.25.9(@babel/core@7.26.0)(supports-color@9.4.0) transitivePeerDependencies: - supports-color - '@babel/plugin-transform-block-scoped-functions@7.25.9(@babel/core@7.25.9)': + '@babel/plugin-transform-block-scoped-functions@7.25.9(@babel/core@7.26.0)': dependencies: - '@babel/core': 7.25.9(supports-color@9.4.0) + '@babel/core': 7.26.0(supports-color@9.4.0) '@babel/helper-plugin-utils': 7.25.9 - '@babel/plugin-transform-block-scoping@7.25.9(@babel/core@7.25.9)': + '@babel/plugin-transform-block-scoping@7.25.9(@babel/core@7.26.0)': dependencies: - '@babel/core': 7.25.9(supports-color@9.4.0) + '@babel/core': 7.26.0(supports-color@9.4.0) '@babel/helper-plugin-utils': 7.25.9 - '@babel/plugin-transform-class-properties@7.25.9(@babel/core@7.25.9)(supports-color@9.4.0)': + '@babel/plugin-transform-class-properties@7.25.9(@babel/core@7.26.0)(supports-color@9.4.0)': dependencies: - '@babel/core': 7.25.9(supports-color@9.4.0) - '@babel/helper-create-class-features-plugin': 7.25.9(@babel/core@7.25.9)(supports-color@9.4.0) + '@babel/core': 7.26.0(supports-color@9.4.0) + '@babel/helper-create-class-features-plugin': 7.25.9(@babel/core@7.26.0)(supports-color@9.4.0) '@babel/helper-plugin-utils': 7.25.9 transitivePeerDependencies: - supports-color - '@babel/plugin-transform-class-static-block@7.25.9(@babel/core@7.25.9)(supports-color@9.4.0)': + '@babel/plugin-transform-class-static-block@7.26.0(@babel/core@7.26.0)(supports-color@9.4.0)': dependencies: - '@babel/core': 7.25.9(supports-color@9.4.0) - '@babel/helper-create-class-features-plugin': 7.25.9(@babel/core@7.25.9)(supports-color@9.4.0) + '@babel/core': 7.26.0(supports-color@9.4.0) + '@babel/helper-create-class-features-plugin': 7.25.9(@babel/core@7.26.0)(supports-color@9.4.0) '@babel/helper-plugin-utils': 7.25.9 transitivePeerDependencies: - supports-color - '@babel/plugin-transform-classes@7.25.9(@babel/core@7.25.9)(supports-color@9.4.0)': + '@babel/plugin-transform-classes@7.25.9(@babel/core@7.26.0)(supports-color@9.4.0)': dependencies: - '@babel/core': 7.25.9(supports-color@9.4.0) + '@babel/core': 7.26.0(supports-color@9.4.0) '@babel/helper-annotate-as-pure': 7.25.9 '@babel/helper-compilation-targets': 7.25.9 '@babel/helper-plugin-utils': 7.25.9 - '@babel/helper-replace-supers': 7.25.9(@babel/core@7.25.9)(supports-color@9.4.0) + '@babel/helper-replace-supers': 7.25.9(@babel/core@7.26.0)(supports-color@9.4.0) '@babel/traverse': 7.25.9(supports-color@9.4.0) globals: 11.12.0 transitivePeerDependencies: - supports-color - '@babel/plugin-transform-computed-properties@7.25.9(@babel/core@7.25.9)': + '@babel/plugin-transform-computed-properties@7.25.9(@babel/core@7.26.0)': dependencies: - '@babel/core': 7.25.9(supports-color@9.4.0) + '@babel/core': 7.26.0(supports-color@9.4.0) '@babel/helper-plugin-utils': 7.25.9 '@babel/template': 7.25.9 - '@babel/plugin-transform-destructuring@7.25.9(@babel/core@7.25.9)': + '@babel/plugin-transform-destructuring@7.25.9(@babel/core@7.26.0)': dependencies: - '@babel/core': 7.25.9(supports-color@9.4.0) + '@babel/core': 7.26.0(supports-color@9.4.0) '@babel/helper-plugin-utils': 7.25.9 - '@babel/plugin-transform-dotall-regex@7.25.9(@babel/core@7.25.9)': + '@babel/plugin-transform-dotall-regex@7.25.9(@babel/core@7.26.0)': dependencies: - '@babel/core': 7.25.9(supports-color@9.4.0) - '@babel/helper-create-regexp-features-plugin': 7.25.9(@babel/core@7.25.9) + '@babel/core': 7.26.0(supports-color@9.4.0) + '@babel/helper-create-regexp-features-plugin': 7.25.9(@babel/core@7.26.0) '@babel/helper-plugin-utils': 7.25.9 - '@babel/plugin-transform-duplicate-keys@7.25.9(@babel/core@7.25.9)': + '@babel/plugin-transform-duplicate-keys@7.25.9(@babel/core@7.26.0)': dependencies: - '@babel/core': 7.25.9(supports-color@9.4.0) + '@babel/core': 7.26.0(supports-color@9.4.0) '@babel/helper-plugin-utils': 7.25.9 - '@babel/plugin-transform-duplicate-named-capturing-groups-regex@7.25.9(@babel/core@7.25.9)': + '@babel/plugin-transform-duplicate-named-capturing-groups-regex@7.25.9(@babel/core@7.26.0)': dependencies: - '@babel/core': 7.25.9(supports-color@9.4.0) - '@babel/helper-create-regexp-features-plugin': 7.25.9(@babel/core@7.25.9) + '@babel/core': 7.26.0(supports-color@9.4.0) + '@babel/helper-create-regexp-features-plugin': 7.25.9(@babel/core@7.26.0) '@babel/helper-plugin-utils': 7.25.9 - '@babel/plugin-transform-dynamic-import@7.25.9(@babel/core@7.25.9)': + '@babel/plugin-transform-dynamic-import@7.25.9(@babel/core@7.26.0)': dependencies: - '@babel/core': 7.25.9(supports-color@9.4.0) + '@babel/core': 7.26.0(supports-color@9.4.0) '@babel/helper-plugin-utils': 7.25.9 - '@babel/plugin-transform-exponentiation-operator@7.25.9(@babel/core@7.25.9)(supports-color@9.4.0)': + '@babel/plugin-transform-exponentiation-operator@7.25.9(@babel/core@7.26.0)(supports-color@9.4.0)': dependencies: - '@babel/core': 7.25.9(supports-color@9.4.0) + '@babel/core': 7.26.0(supports-color@9.4.0) '@babel/helper-builder-binary-assignment-operator-visitor': 7.25.9(supports-color@9.4.0) '@babel/helper-plugin-utils': 7.25.9 transitivePeerDependencies: - supports-color - '@babel/plugin-transform-export-namespace-from@7.25.9(@babel/core@7.25.9)': + '@babel/plugin-transform-export-namespace-from@7.25.9(@babel/core@7.26.0)': dependencies: - '@babel/core': 7.25.9(supports-color@9.4.0) + '@babel/core': 7.26.0(supports-color@9.4.0) '@babel/helper-plugin-utils': 7.25.9 - '@babel/plugin-transform-for-of@7.25.9(@babel/core@7.25.9)(supports-color@9.4.0)': + '@babel/plugin-transform-for-of@7.25.9(@babel/core@7.26.0)(supports-color@9.4.0)': dependencies: - '@babel/core': 7.25.9(supports-color@9.4.0) + '@babel/core': 7.26.0(supports-color@9.4.0) '@babel/helper-plugin-utils': 7.25.9 '@babel/helper-skip-transparent-expression-wrappers': 7.25.9(supports-color@9.4.0) transitivePeerDependencies: - supports-color - '@babel/plugin-transform-function-name@7.25.9(@babel/core@7.25.9)(supports-color@9.4.0)': + '@babel/plugin-transform-function-name@7.25.9(@babel/core@7.26.0)(supports-color@9.4.0)': dependencies: - '@babel/core': 7.25.9(supports-color@9.4.0) + '@babel/core': 7.26.0(supports-color@9.4.0) '@babel/helper-compilation-targets': 7.25.9 '@babel/helper-plugin-utils': 7.25.9 '@babel/traverse': 7.25.9(supports-color@9.4.0) transitivePeerDependencies: - supports-color - '@babel/plugin-transform-json-strings@7.25.9(@babel/core@7.25.9)': + '@babel/plugin-transform-json-strings@7.25.9(@babel/core@7.26.0)': dependencies: - '@babel/core': 7.25.9(supports-color@9.4.0) + '@babel/core': 7.26.0(supports-color@9.4.0) '@babel/helper-plugin-utils': 7.25.9 - '@babel/plugin-transform-literals@7.25.9(@babel/core@7.25.9)': + '@babel/plugin-transform-literals@7.25.9(@babel/core@7.26.0)': dependencies: - '@babel/core': 7.25.9(supports-color@9.4.0) + '@babel/core': 7.26.0(supports-color@9.4.0) '@babel/helper-plugin-utils': 7.25.9 - '@babel/plugin-transform-logical-assignment-operators@7.25.9(@babel/core@7.25.9)': + '@babel/plugin-transform-logical-assignment-operators@7.25.9(@babel/core@7.26.0)': dependencies: - '@babel/core': 7.25.9(supports-color@9.4.0) + '@babel/core': 7.26.0(supports-color@9.4.0) '@babel/helper-plugin-utils': 7.25.9 - '@babel/plugin-transform-member-expression-literals@7.25.9(@babel/core@7.25.9)': + '@babel/plugin-transform-member-expression-literals@7.25.9(@babel/core@7.26.0)': dependencies: - '@babel/core': 7.25.9(supports-color@9.4.0) + '@babel/core': 7.26.0(supports-color@9.4.0) '@babel/helper-plugin-utils': 7.25.9 - '@babel/plugin-transform-modules-amd@7.25.9(@babel/core@7.25.9)(supports-color@9.4.0)': + '@babel/plugin-transform-modules-amd@7.25.9(@babel/core@7.26.0)(supports-color@9.4.0)': dependencies: - '@babel/core': 7.25.9(supports-color@9.4.0) - '@babel/helper-module-transforms': 7.25.9(@babel/core@7.25.9)(supports-color@9.4.0) + '@babel/core': 7.26.0(supports-color@9.4.0) + '@babel/helper-module-transforms': 7.26.0(@babel/core@7.26.0)(supports-color@9.4.0) '@babel/helper-plugin-utils': 7.25.9 transitivePeerDependencies: - supports-color - '@babel/plugin-transform-modules-commonjs@7.25.9(@babel/core@7.25.9)(supports-color@9.4.0)': + '@babel/plugin-transform-modules-commonjs@7.25.9(@babel/core@7.26.0)(supports-color@9.4.0)': dependencies: - '@babel/core': 7.25.9(supports-color@9.4.0) - '@babel/helper-module-transforms': 7.25.9(@babel/core@7.25.9)(supports-color@9.4.0) + '@babel/core': 7.26.0(supports-color@9.4.0) + '@babel/helper-module-transforms': 7.26.0(@babel/core@7.26.0)(supports-color@9.4.0) '@babel/helper-plugin-utils': 7.25.9 '@babel/helper-simple-access': 7.25.9(supports-color@9.4.0) transitivePeerDependencies: - supports-color - '@babel/plugin-transform-modules-systemjs@7.25.9(@babel/core@7.25.9)(supports-color@9.4.0)': + '@babel/plugin-transform-modules-systemjs@7.25.9(@babel/core@7.26.0)(supports-color@9.4.0)': dependencies: - '@babel/core': 7.25.9(supports-color@9.4.0) - '@babel/helper-module-transforms': 7.25.9(@babel/core@7.25.9)(supports-color@9.4.0) + '@babel/core': 7.26.0(supports-color@9.4.0) + '@babel/helper-module-transforms': 7.26.0(@babel/core@7.26.0)(supports-color@9.4.0) '@babel/helper-plugin-utils': 7.25.9 '@babel/helper-validator-identifier': 7.25.9 '@babel/traverse': 7.25.9(supports-color@9.4.0) transitivePeerDependencies: - supports-color - '@babel/plugin-transform-modules-umd@7.25.9(@babel/core@7.25.9)(supports-color@9.4.0)': + '@babel/plugin-transform-modules-umd@7.25.9(@babel/core@7.26.0)(supports-color@9.4.0)': dependencies: - '@babel/core': 7.25.9(supports-color@9.4.0) - '@babel/helper-module-transforms': 7.25.9(@babel/core@7.25.9)(supports-color@9.4.0) + '@babel/core': 7.26.0(supports-color@9.4.0) + '@babel/helper-module-transforms': 7.26.0(@babel/core@7.26.0)(supports-color@9.4.0) '@babel/helper-plugin-utils': 7.25.9 transitivePeerDependencies: - supports-color - '@babel/plugin-transform-named-capturing-groups-regex@7.25.9(@babel/core@7.25.9)': + '@babel/plugin-transform-named-capturing-groups-regex@7.25.9(@babel/core@7.26.0)': dependencies: - '@babel/core': 7.25.9(supports-color@9.4.0) - '@babel/helper-create-regexp-features-plugin': 7.25.9(@babel/core@7.25.9) + '@babel/core': 7.26.0(supports-color@9.4.0) + '@babel/helper-create-regexp-features-plugin': 7.25.9(@babel/core@7.26.0) '@babel/helper-plugin-utils': 7.25.9 - '@babel/plugin-transform-new-target@7.25.9(@babel/core@7.25.9)': + '@babel/plugin-transform-new-target@7.25.9(@babel/core@7.26.0)': dependencies: - '@babel/core': 7.25.9(supports-color@9.4.0) + '@babel/core': 7.26.0(supports-color@9.4.0) '@babel/helper-plugin-utils': 7.25.9 - '@babel/plugin-transform-nullish-coalescing-operator@7.25.9(@babel/core@7.25.9)': + '@babel/plugin-transform-nullish-coalescing-operator@7.25.9(@babel/core@7.26.0)': dependencies: - '@babel/core': 7.25.9(supports-color@9.4.0) + '@babel/core': 7.26.0(supports-color@9.4.0) '@babel/helper-plugin-utils': 7.25.9 - '@babel/plugin-transform-numeric-separator@7.25.9(@babel/core@7.25.9)': + '@babel/plugin-transform-numeric-separator@7.25.9(@babel/core@7.26.0)': dependencies: - '@babel/core': 7.25.9(supports-color@9.4.0) + '@babel/core': 7.26.0(supports-color@9.4.0) '@babel/helper-plugin-utils': 7.25.9 - '@babel/plugin-transform-object-rest-spread@7.25.9(@babel/core@7.25.9)': + '@babel/plugin-transform-object-rest-spread@7.25.9(@babel/core@7.26.0)': dependencies: - '@babel/core': 7.25.9(supports-color@9.4.0) + '@babel/core': 7.26.0(supports-color@9.4.0) '@babel/helper-compilation-targets': 7.25.9 '@babel/helper-plugin-utils': 7.25.9 - '@babel/plugin-transform-parameters': 7.25.9(@babel/core@7.25.9) + '@babel/plugin-transform-parameters': 7.25.9(@babel/core@7.26.0) - '@babel/plugin-transform-object-super@7.25.9(@babel/core@7.25.9)(supports-color@9.4.0)': + '@babel/plugin-transform-object-super@7.25.9(@babel/core@7.26.0)(supports-color@9.4.0)': dependencies: - '@babel/core': 7.25.9(supports-color@9.4.0) + '@babel/core': 7.26.0(supports-color@9.4.0) '@babel/helper-plugin-utils': 7.25.9 - '@babel/helper-replace-supers': 7.25.9(@babel/core@7.25.9)(supports-color@9.4.0) + '@babel/helper-replace-supers': 7.25.9(@babel/core@7.26.0)(supports-color@9.4.0) transitivePeerDependencies: - supports-color - '@babel/plugin-transform-optional-catch-binding@7.25.9(@babel/core@7.25.9)': + '@babel/plugin-transform-optional-catch-binding@7.25.9(@babel/core@7.26.0)': dependencies: - '@babel/core': 7.25.9(supports-color@9.4.0) + '@babel/core': 7.26.0(supports-color@9.4.0) '@babel/helper-plugin-utils': 7.25.9 - '@babel/plugin-transform-optional-chaining@7.25.9(@babel/core@7.25.9)(supports-color@9.4.0)': + '@babel/plugin-transform-optional-chaining@7.25.9(@babel/core@7.26.0)(supports-color@9.4.0)': dependencies: - '@babel/core': 7.25.9(supports-color@9.4.0) + '@babel/core': 7.26.0(supports-color@9.4.0) '@babel/helper-plugin-utils': 7.25.9 '@babel/helper-skip-transparent-expression-wrappers': 7.25.9(supports-color@9.4.0) transitivePeerDependencies: - supports-color - '@babel/plugin-transform-parameters@7.25.9(@babel/core@7.25.9)': + '@babel/plugin-transform-parameters@7.25.9(@babel/core@7.26.0)': dependencies: - '@babel/core': 7.25.9(supports-color@9.4.0) + '@babel/core': 7.26.0(supports-color@9.4.0) '@babel/helper-plugin-utils': 7.25.9 - '@babel/plugin-transform-private-methods@7.25.9(@babel/core@7.25.9)(supports-color@9.4.0)': + '@babel/plugin-transform-private-methods@7.25.9(@babel/core@7.26.0)(supports-color@9.4.0)': dependencies: - '@babel/core': 7.25.9(supports-color@9.4.0) - '@babel/helper-create-class-features-plugin': 7.25.9(@babel/core@7.25.9)(supports-color@9.4.0) + '@babel/core': 7.26.0(supports-color@9.4.0) + '@babel/helper-create-class-features-plugin': 7.25.9(@babel/core@7.26.0)(supports-color@9.4.0) '@babel/helper-plugin-utils': 7.25.9 transitivePeerDependencies: - supports-color - '@babel/plugin-transform-private-property-in-object@7.25.9(@babel/core@7.25.9)(supports-color@9.4.0)': + '@babel/plugin-transform-private-property-in-object@7.25.9(@babel/core@7.26.0)(supports-color@9.4.0)': dependencies: - '@babel/core': 7.25.9(supports-color@9.4.0) + '@babel/core': 7.26.0(supports-color@9.4.0) '@babel/helper-annotate-as-pure': 7.25.9 - '@babel/helper-create-class-features-plugin': 7.25.9(@babel/core@7.25.9)(supports-color@9.4.0) + '@babel/helper-create-class-features-plugin': 7.25.9(@babel/core@7.26.0)(supports-color@9.4.0) '@babel/helper-plugin-utils': 7.25.9 transitivePeerDependencies: - supports-color - '@babel/plugin-transform-property-literals@7.25.9(@babel/core@7.25.9)': + '@babel/plugin-transform-property-literals@7.25.9(@babel/core@7.26.0)': dependencies: - '@babel/core': 7.25.9(supports-color@9.4.0) + '@babel/core': 7.26.0(supports-color@9.4.0) '@babel/helper-plugin-utils': 7.25.9 - '@babel/plugin-transform-regenerator@7.25.9(@babel/core@7.25.9)': + '@babel/plugin-transform-regenerator@7.25.9(@babel/core@7.26.0)': dependencies: - '@babel/core': 7.25.9(supports-color@9.4.0) + '@babel/core': 7.26.0(supports-color@9.4.0) '@babel/helper-plugin-utils': 7.25.9 regenerator-transform: 0.15.2 - '@babel/plugin-transform-reserved-words@7.25.9(@babel/core@7.25.9)': + '@babel/plugin-transform-regexp-modifiers@7.26.0(@babel/core@7.26.0)': dependencies: - '@babel/core': 7.25.9(supports-color@9.4.0) + '@babel/core': 7.26.0(supports-color@9.4.0) + '@babel/helper-create-regexp-features-plugin': 7.25.9(@babel/core@7.26.0) '@babel/helper-plugin-utils': 7.25.9 - '@babel/plugin-transform-shorthand-properties@7.25.9(@babel/core@7.25.9)': + '@babel/plugin-transform-reserved-words@7.25.9(@babel/core@7.26.0)': dependencies: - '@babel/core': 7.25.9(supports-color@9.4.0) + '@babel/core': 7.26.0(supports-color@9.4.0) '@babel/helper-plugin-utils': 7.25.9 - '@babel/plugin-transform-spread@7.25.9(@babel/core@7.25.9)(supports-color@9.4.0)': + '@babel/plugin-transform-shorthand-properties@7.25.9(@babel/core@7.26.0)': dependencies: - '@babel/core': 7.25.9(supports-color@9.4.0) + '@babel/core': 7.26.0(supports-color@9.4.0) + '@babel/helper-plugin-utils': 7.25.9 + + '@babel/plugin-transform-spread@7.25.9(@babel/core@7.26.0)(supports-color@9.4.0)': + dependencies: + '@babel/core': 7.26.0(supports-color@9.4.0) '@babel/helper-plugin-utils': 7.25.9 '@babel/helper-skip-transparent-expression-wrappers': 7.25.9(supports-color@9.4.0) transitivePeerDependencies: - supports-color - '@babel/plugin-transform-sticky-regex@7.25.9(@babel/core@7.25.9)': + '@babel/plugin-transform-sticky-regex@7.25.9(@babel/core@7.26.0)': dependencies: - '@babel/core': 7.25.9(supports-color@9.4.0) + '@babel/core': 7.26.0(supports-color@9.4.0) '@babel/helper-plugin-utils': 7.25.9 - '@babel/plugin-transform-template-literals@7.25.9(@babel/core@7.25.9)': + '@babel/plugin-transform-template-literals@7.25.9(@babel/core@7.26.0)': dependencies: - '@babel/core': 7.25.9(supports-color@9.4.0) + '@babel/core': 7.26.0(supports-color@9.4.0) '@babel/helper-plugin-utils': 7.25.9 - '@babel/plugin-transform-typeof-symbol@7.25.9(@babel/core@7.25.9)': + '@babel/plugin-transform-typeof-symbol@7.25.9(@babel/core@7.26.0)': dependencies: - '@babel/core': 7.25.9(supports-color@9.4.0) + '@babel/core': 7.26.0(supports-color@9.4.0) '@babel/helper-plugin-utils': 7.25.9 - '@babel/plugin-transform-unicode-escapes@7.25.9(@babel/core@7.25.9)': + '@babel/plugin-transform-unicode-escapes@7.25.9(@babel/core@7.26.0)': dependencies: - '@babel/core': 7.25.9(supports-color@9.4.0) + '@babel/core': 7.26.0(supports-color@9.4.0) '@babel/helper-plugin-utils': 7.25.9 - '@babel/plugin-transform-unicode-property-regex@7.25.9(@babel/core@7.25.9)': + '@babel/plugin-transform-unicode-property-regex@7.25.9(@babel/core@7.26.0)': dependencies: - '@babel/core': 7.25.9(supports-color@9.4.0) - '@babel/helper-create-regexp-features-plugin': 7.25.9(@babel/core@7.25.9) + '@babel/core': 7.26.0(supports-color@9.4.0) + '@babel/helper-create-regexp-features-plugin': 7.25.9(@babel/core@7.26.0) '@babel/helper-plugin-utils': 7.25.9 - '@babel/plugin-transform-unicode-regex@7.25.9(@babel/core@7.25.9)': + '@babel/plugin-transform-unicode-regex@7.25.9(@babel/core@7.26.0)': dependencies: - '@babel/core': 7.25.9(supports-color@9.4.0) - '@babel/helper-create-regexp-features-plugin': 7.25.9(@babel/core@7.25.9) + '@babel/core': 7.26.0(supports-color@9.4.0) + '@babel/helper-create-regexp-features-plugin': 7.25.9(@babel/core@7.26.0) '@babel/helper-plugin-utils': 7.25.9 - '@babel/plugin-transform-unicode-sets-regex@7.25.9(@babel/core@7.25.9)': + '@babel/plugin-transform-unicode-sets-regex@7.25.9(@babel/core@7.26.0)': dependencies: - '@babel/core': 7.25.9(supports-color@9.4.0) - '@babel/helper-create-regexp-features-plugin': 7.25.9(@babel/core@7.25.9) + '@babel/core': 7.26.0(supports-color@9.4.0) + '@babel/helper-create-regexp-features-plugin': 7.25.9(@babel/core@7.26.0) '@babel/helper-plugin-utils': 7.25.9 - '@babel/preset-env@7.25.9(@babel/core@7.25.9)(supports-color@9.4.0)': + '@babel/preset-env@7.26.0(@babel/core@7.26.0)(supports-color@9.4.0)': dependencies: - '@babel/compat-data': 7.25.9 - '@babel/core': 7.25.9(supports-color@9.4.0) + '@babel/compat-data': 7.26.2 + '@babel/core': 7.26.0(supports-color@9.4.0) '@babel/helper-compilation-targets': 7.25.9 '@babel/helper-plugin-utils': 7.25.9 '@babel/helper-validator-option': 7.25.9 - '@babel/plugin-bugfix-firefox-class-in-computed-class-key': 7.25.9(@babel/core@7.25.9)(supports-color@9.4.0) - '@babel/plugin-bugfix-safari-class-field-initializer-scope': 7.25.9(@babel/core@7.25.9) - '@babel/plugin-bugfix-safari-id-destructuring-collision-in-function-expression': 7.25.9(@babel/core@7.25.9) - '@babel/plugin-bugfix-v8-spread-parameters-in-optional-chaining': 7.25.9(@babel/core@7.25.9)(supports-color@9.4.0) - '@babel/plugin-bugfix-v8-static-class-fields-redefine-readonly': 7.25.9(@babel/core@7.25.9)(supports-color@9.4.0) - '@babel/plugin-proposal-private-property-in-object': 7.21.0-placeholder-for-preset-env.2(@babel/core@7.25.9) - '@babel/plugin-syntax-import-assertions': 7.25.9(@babel/core@7.25.9) - '@babel/plugin-syntax-import-attributes': 7.25.9(@babel/core@7.25.9) - '@babel/plugin-syntax-unicode-sets-regex': 7.18.6(@babel/core@7.25.9) - '@babel/plugin-transform-arrow-functions': 7.25.9(@babel/core@7.25.9) - '@babel/plugin-transform-async-generator-functions': 7.25.9(@babel/core@7.25.9)(supports-color@9.4.0) - '@babel/plugin-transform-async-to-generator': 7.25.9(@babel/core@7.25.9)(supports-color@9.4.0) - '@babel/plugin-transform-block-scoped-functions': 7.25.9(@babel/core@7.25.9) - '@babel/plugin-transform-block-scoping': 7.25.9(@babel/core@7.25.9) - '@babel/plugin-transform-class-properties': 7.25.9(@babel/core@7.25.9)(supports-color@9.4.0) - '@babel/plugin-transform-class-static-block': 7.25.9(@babel/core@7.25.9)(supports-color@9.4.0) - '@babel/plugin-transform-classes': 7.25.9(@babel/core@7.25.9)(supports-color@9.4.0) - '@babel/plugin-transform-computed-properties': 7.25.9(@babel/core@7.25.9) - '@babel/plugin-transform-destructuring': 7.25.9(@babel/core@7.25.9) - '@babel/plugin-transform-dotall-regex': 7.25.9(@babel/core@7.25.9) - '@babel/plugin-transform-duplicate-keys': 7.25.9(@babel/core@7.25.9) - '@babel/plugin-transform-duplicate-named-capturing-groups-regex': 7.25.9(@babel/core@7.25.9) - '@babel/plugin-transform-dynamic-import': 7.25.9(@babel/core@7.25.9) - '@babel/plugin-transform-exponentiation-operator': 7.25.9(@babel/core@7.25.9)(supports-color@9.4.0) - '@babel/plugin-transform-export-namespace-from': 7.25.9(@babel/core@7.25.9) - '@babel/plugin-transform-for-of': 7.25.9(@babel/core@7.25.9)(supports-color@9.4.0) - '@babel/plugin-transform-function-name': 7.25.9(@babel/core@7.25.9)(supports-color@9.4.0) - '@babel/plugin-transform-json-strings': 7.25.9(@babel/core@7.25.9) - '@babel/plugin-transform-literals': 7.25.9(@babel/core@7.25.9) - '@babel/plugin-transform-logical-assignment-operators': 7.25.9(@babel/core@7.25.9) - '@babel/plugin-transform-member-expression-literals': 7.25.9(@babel/core@7.25.9) - '@babel/plugin-transform-modules-amd': 7.25.9(@babel/core@7.25.9)(supports-color@9.4.0) - '@babel/plugin-transform-modules-commonjs': 7.25.9(@babel/core@7.25.9)(supports-color@9.4.0) - '@babel/plugin-transform-modules-systemjs': 7.25.9(@babel/core@7.25.9)(supports-color@9.4.0) - '@babel/plugin-transform-modules-umd': 7.25.9(@babel/core@7.25.9)(supports-color@9.4.0) - '@babel/plugin-transform-named-capturing-groups-regex': 7.25.9(@babel/core@7.25.9) - '@babel/plugin-transform-new-target': 7.25.9(@babel/core@7.25.9) - '@babel/plugin-transform-nullish-coalescing-operator': 7.25.9(@babel/core@7.25.9) - '@babel/plugin-transform-numeric-separator': 7.25.9(@babel/core@7.25.9) - '@babel/plugin-transform-object-rest-spread': 7.25.9(@babel/core@7.25.9) - '@babel/plugin-transform-object-super': 7.25.9(@babel/core@7.25.9)(supports-color@9.4.0) - '@babel/plugin-transform-optional-catch-binding': 7.25.9(@babel/core@7.25.9) - '@babel/plugin-transform-optional-chaining': 7.25.9(@babel/core@7.25.9)(supports-color@9.4.0) - '@babel/plugin-transform-parameters': 7.25.9(@babel/core@7.25.9) - '@babel/plugin-transform-private-methods': 7.25.9(@babel/core@7.25.9)(supports-color@9.4.0) - '@babel/plugin-transform-private-property-in-object': 7.25.9(@babel/core@7.25.9)(supports-color@9.4.0) - '@babel/plugin-transform-property-literals': 7.25.9(@babel/core@7.25.9) - '@babel/plugin-transform-regenerator': 7.25.9(@babel/core@7.25.9) - '@babel/plugin-transform-reserved-words': 7.25.9(@babel/core@7.25.9) - '@babel/plugin-transform-shorthand-properties': 7.25.9(@babel/core@7.25.9) - '@babel/plugin-transform-spread': 7.25.9(@babel/core@7.25.9)(supports-color@9.4.0) - '@babel/plugin-transform-sticky-regex': 7.25.9(@babel/core@7.25.9) - '@babel/plugin-transform-template-literals': 7.25.9(@babel/core@7.25.9) - '@babel/plugin-transform-typeof-symbol': 7.25.9(@babel/core@7.25.9) - '@babel/plugin-transform-unicode-escapes': 7.25.9(@babel/core@7.25.9) - '@babel/plugin-transform-unicode-property-regex': 7.25.9(@babel/core@7.25.9) - '@babel/plugin-transform-unicode-regex': 7.25.9(@babel/core@7.25.9) - '@babel/plugin-transform-unicode-sets-regex': 7.25.9(@babel/core@7.25.9) - '@babel/preset-modules': 0.1.6-no-external-plugins(@babel/core@7.25.9) - babel-plugin-polyfill-corejs2: 0.4.11(@babel/core@7.25.9)(supports-color@9.4.0) - babel-plugin-polyfill-corejs3: 0.10.6(@babel/core@7.25.9)(supports-color@9.4.0) - babel-plugin-polyfill-regenerator: 0.6.2(@babel/core@7.25.9)(supports-color@9.4.0) - core-js-compat: 3.38.1 + '@babel/plugin-bugfix-firefox-class-in-computed-class-key': 7.25.9(@babel/core@7.26.0)(supports-color@9.4.0) + '@babel/plugin-bugfix-safari-class-field-initializer-scope': 7.25.9(@babel/core@7.26.0) + '@babel/plugin-bugfix-safari-id-destructuring-collision-in-function-expression': 7.25.9(@babel/core@7.26.0) + '@babel/plugin-bugfix-v8-spread-parameters-in-optional-chaining': 7.25.9(@babel/core@7.26.0)(supports-color@9.4.0) + '@babel/plugin-bugfix-v8-static-class-fields-redefine-readonly': 7.25.9(@babel/core@7.26.0)(supports-color@9.4.0) + '@babel/plugin-proposal-private-property-in-object': 7.21.0-placeholder-for-preset-env.2(@babel/core@7.26.0) + '@babel/plugin-syntax-import-assertions': 7.26.0(@babel/core@7.26.0) + '@babel/plugin-syntax-import-attributes': 7.26.0(@babel/core@7.26.0) + '@babel/plugin-syntax-unicode-sets-regex': 7.18.6(@babel/core@7.26.0) + '@babel/plugin-transform-arrow-functions': 7.25.9(@babel/core@7.26.0) + '@babel/plugin-transform-async-generator-functions': 7.25.9(@babel/core@7.26.0)(supports-color@9.4.0) + '@babel/plugin-transform-async-to-generator': 7.25.9(@babel/core@7.26.0)(supports-color@9.4.0) + '@babel/plugin-transform-block-scoped-functions': 7.25.9(@babel/core@7.26.0) + '@babel/plugin-transform-block-scoping': 7.25.9(@babel/core@7.26.0) + '@babel/plugin-transform-class-properties': 7.25.9(@babel/core@7.26.0)(supports-color@9.4.0) + '@babel/plugin-transform-class-static-block': 7.26.0(@babel/core@7.26.0)(supports-color@9.4.0) + '@babel/plugin-transform-classes': 7.25.9(@babel/core@7.26.0)(supports-color@9.4.0) + '@babel/plugin-transform-computed-properties': 7.25.9(@babel/core@7.26.0) + '@babel/plugin-transform-destructuring': 7.25.9(@babel/core@7.26.0) + '@babel/plugin-transform-dotall-regex': 7.25.9(@babel/core@7.26.0) + '@babel/plugin-transform-duplicate-keys': 7.25.9(@babel/core@7.26.0) + '@babel/plugin-transform-duplicate-named-capturing-groups-regex': 7.25.9(@babel/core@7.26.0) + '@babel/plugin-transform-dynamic-import': 7.25.9(@babel/core@7.26.0) + '@babel/plugin-transform-exponentiation-operator': 7.25.9(@babel/core@7.26.0)(supports-color@9.4.0) + '@babel/plugin-transform-export-namespace-from': 7.25.9(@babel/core@7.26.0) + '@babel/plugin-transform-for-of': 7.25.9(@babel/core@7.26.0)(supports-color@9.4.0) + '@babel/plugin-transform-function-name': 7.25.9(@babel/core@7.26.0)(supports-color@9.4.0) + '@babel/plugin-transform-json-strings': 7.25.9(@babel/core@7.26.0) + '@babel/plugin-transform-literals': 7.25.9(@babel/core@7.26.0) + '@babel/plugin-transform-logical-assignment-operators': 7.25.9(@babel/core@7.26.0) + '@babel/plugin-transform-member-expression-literals': 7.25.9(@babel/core@7.26.0) + '@babel/plugin-transform-modules-amd': 7.25.9(@babel/core@7.26.0)(supports-color@9.4.0) + '@babel/plugin-transform-modules-commonjs': 7.25.9(@babel/core@7.26.0)(supports-color@9.4.0) + '@babel/plugin-transform-modules-systemjs': 7.25.9(@babel/core@7.26.0)(supports-color@9.4.0) + '@babel/plugin-transform-modules-umd': 7.25.9(@babel/core@7.26.0)(supports-color@9.4.0) + '@babel/plugin-transform-named-capturing-groups-regex': 7.25.9(@babel/core@7.26.0) + '@babel/plugin-transform-new-target': 7.25.9(@babel/core@7.26.0) + '@babel/plugin-transform-nullish-coalescing-operator': 7.25.9(@babel/core@7.26.0) + '@babel/plugin-transform-numeric-separator': 7.25.9(@babel/core@7.26.0) + '@babel/plugin-transform-object-rest-spread': 7.25.9(@babel/core@7.26.0) + '@babel/plugin-transform-object-super': 7.25.9(@babel/core@7.26.0)(supports-color@9.4.0) + '@babel/plugin-transform-optional-catch-binding': 7.25.9(@babel/core@7.26.0) + '@babel/plugin-transform-optional-chaining': 7.25.9(@babel/core@7.26.0)(supports-color@9.4.0) + '@babel/plugin-transform-parameters': 7.25.9(@babel/core@7.26.0) + '@babel/plugin-transform-private-methods': 7.25.9(@babel/core@7.26.0)(supports-color@9.4.0) + '@babel/plugin-transform-private-property-in-object': 7.25.9(@babel/core@7.26.0)(supports-color@9.4.0) + '@babel/plugin-transform-property-literals': 7.25.9(@babel/core@7.26.0) + '@babel/plugin-transform-regenerator': 7.25.9(@babel/core@7.26.0) + '@babel/plugin-transform-regexp-modifiers': 7.26.0(@babel/core@7.26.0) + '@babel/plugin-transform-reserved-words': 7.25.9(@babel/core@7.26.0) + '@babel/plugin-transform-shorthand-properties': 7.25.9(@babel/core@7.26.0) + '@babel/plugin-transform-spread': 7.25.9(@babel/core@7.26.0)(supports-color@9.4.0) + '@babel/plugin-transform-sticky-regex': 7.25.9(@babel/core@7.26.0) + '@babel/plugin-transform-template-literals': 7.25.9(@babel/core@7.26.0) + '@babel/plugin-transform-typeof-symbol': 7.25.9(@babel/core@7.26.0) + '@babel/plugin-transform-unicode-escapes': 7.25.9(@babel/core@7.26.0) + '@babel/plugin-transform-unicode-property-regex': 7.25.9(@babel/core@7.26.0) + '@babel/plugin-transform-unicode-regex': 7.25.9(@babel/core@7.26.0) + '@babel/plugin-transform-unicode-sets-regex': 7.25.9(@babel/core@7.26.0) + '@babel/preset-modules': 0.1.6-no-external-plugins(@babel/core@7.26.0) + babel-plugin-polyfill-corejs2: 0.4.11(@babel/core@7.26.0)(supports-color@9.4.0) + babel-plugin-polyfill-corejs3: 0.10.6(@babel/core@7.26.0)(supports-color@9.4.0) + babel-plugin-polyfill-regenerator: 0.6.2(@babel/core@7.26.0)(supports-color@9.4.0) + core-js-compat: 3.39.0 semver: 6.3.1 transitivePeerDependencies: - supports-color - '@babel/preset-modules@0.1.6-no-external-plugins(@babel/core@7.25.9)': + '@babel/preset-modules@0.1.6-no-external-plugins(@babel/core@7.26.0)': dependencies: - '@babel/core': 7.25.9(supports-color@9.4.0) + '@babel/core': 7.26.0(supports-color@9.4.0) '@babel/helper-plugin-utils': 7.25.9 - '@babel/types': 7.25.9 + '@babel/types': 7.26.0 esutils: 2.0.3 - '@babel/runtime@7.25.9': + '@babel/runtime@7.26.0': dependencies: regenerator-runtime: 0.14.1 '@babel/template@7.25.9': dependencies: - '@babel/code-frame': 7.25.9 - '@babel/parser': 7.25.9 - '@babel/types': 7.25.9 + '@babel/code-frame': 7.26.2 + '@babel/parser': 7.26.2 + '@babel/types': 7.26.0 '@babel/traverse@7.25.9(supports-color@9.4.0)': dependencies: - '@babel/code-frame': 7.25.9 - '@babel/generator': 7.25.9 - '@babel/parser': 7.25.9 + '@babel/code-frame': 7.26.2 + '@babel/generator': 7.26.2 + '@babel/parser': 7.26.2 '@babel/template': 7.25.9 - '@babel/types': 7.25.9 + '@babel/types': 7.26.0 debug: 4.3.7(supports-color@9.4.0) globals: 11.12.0 transitivePeerDependencies: - supports-color - '@babel/types@7.25.9': + '@babel/types@7.26.0': dependencies: '@babel/helper-string-parser': 7.25.9 '@babel/helper-validator-identifier': 7.25.9 @@ -11242,7 +11188,7 @@ snapshots: '@chromatic-com/storybook@2.0.2(react@18.3.1)': dependencies: - chromatic: 11.14.0 + chromatic: 11.16.5 filesize: 10.1.6 jsonfile: 6.1.0 react-confetti: 6.1.0(react@18.3.1) @@ -11347,12 +11293,12 @@ snapshots: '@esbuild/win32-x64@0.23.1': optional: true - '@eslint-community/eslint-utils@4.4.0(eslint@8.57.1)': + '@eslint-community/eslint-utils@4.4.1(eslint@8.57.1)': dependencies: eslint: 8.57.1 eslint-visitor-keys: 3.4.3 - '@eslint-community/regexpp@4.11.1': {} + '@eslint-community/regexpp@4.12.1': {} '@eslint/eslintrc@2.1.4': dependencies: @@ -11370,30 +11316,30 @@ snapshots: '@eslint/js@8.57.1': {} - '@formatjs/ecma402-abstract@2.2.0': + '@formatjs/ecma402-abstract@2.2.3': dependencies: - '@formatjs/fast-memoize': 2.2.1 - '@formatjs/intl-localematcher': 0.5.5 - tslib: 2.8.0 + '@formatjs/fast-memoize': 2.2.3 + '@formatjs/intl-localematcher': 0.5.7 + tslib: 2.8.1 - '@formatjs/fast-memoize@2.2.1': + '@formatjs/fast-memoize@2.2.3': dependencies: - tslib: 2.8.0 + tslib: 2.8.1 - '@formatjs/icu-messageformat-parser@2.8.0': + '@formatjs/icu-messageformat-parser@2.9.3': dependencies: - '@formatjs/ecma402-abstract': 2.2.0 - '@formatjs/icu-skeleton-parser': 1.8.4 - tslib: 2.8.0 + '@formatjs/ecma402-abstract': 2.2.3 + '@formatjs/icu-skeleton-parser': 1.8.7 + tslib: 2.8.1 - '@formatjs/icu-skeleton-parser@1.8.4': + '@formatjs/icu-skeleton-parser@1.8.7': dependencies: - '@formatjs/ecma402-abstract': 2.2.0 - tslib: 2.8.0 + '@formatjs/ecma402-abstract': 2.2.3 + tslib: 2.8.1 - '@formatjs/intl-localematcher@0.5.5': + '@formatjs/intl-localematcher@0.5.7': dependencies: - tslib: 2.8.0 + tslib: 2.8.1 '@hapi/hoek@9.3.0': {} @@ -11401,11 +11347,12 @@ snapshots: dependencies: '@hapi/hoek': 9.3.0 - '@hopper-ui/components@1.3.27(@hopper-ui/styled-system@2.4.1(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(react-aria-components@1.4.1(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(react-aria@3.35.1(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(react-dom@18.3.1(react@18.3.1))(react@18.3.1)': + '@hopper-ui/components@1.3.31(@hopper-ui/styled-system@2.4.1(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(react-aria-components@1.4.1(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(react-aria@3.35.1(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(react-dom@18.3.1(react@18.3.1))(react@18.3.1)': dependencies: '@hopper-ui/icons': 2.8.4(@hopper-ui/styled-system@2.4.1(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(react-aria-components@1.4.1(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(react-dom@18.3.1(react@18.3.1))(react@18.3.1) '@hopper-ui/styled-system': 2.4.1(react-dom@18.3.1(react@18.3.1))(react@18.3.1) '@react-aria/utils': 3.25.3(react@18.3.1) + '@react-stately/data': 3.11.7(react@18.3.1) '@react-stately/utils': 3.10.4(react@18.3.1) '@react-types/shared': 3.25.0(react@18.3.1) clsx: 2.1.1 @@ -11451,7 +11398,7 @@ snapshots: '@internationalized/message@3.1.5': dependencies: '@swc/helpers': 0.5.13 - intl-messageformat: 10.7.1 + intl-messageformat: 10.7.6 '@internationalized/number@3.5.4': dependencies: @@ -11483,27 +11430,27 @@ snapshots: '@jest/console@29.7.0': dependencies: '@jest/types': 29.6.3 - '@types/node': 22.7.8 + '@types/node': 22.9.0 chalk: 4.1.2 jest-message-util: 29.7.0 jest-util: 29.7.0 slash: 3.0.0 - '@jest/core@29.7.0(ts-node@10.4.0(@swc/core@1.7.39(@swc/helpers@0.5.13))(@types/node@16.18.114)(typescript@5.5.4))': + '@jest/core@29.7.0(ts-node@10.4.0(@swc/core@1.8.0(@swc/helpers@0.5.13))(@types/node@16.18.119)(typescript@5.5.4))': dependencies: '@jest/console': 29.7.0 '@jest/reporters': 29.7.0 '@jest/test-result': 29.7.0 '@jest/transform': 29.7.0 '@jest/types': 29.6.3 - '@types/node': 22.7.8 + '@types/node': 22.9.0 ansi-escapes: 4.3.2 chalk: 4.1.2 ci-info: 3.9.0 exit: 0.1.2 graceful-fs: 4.2.11 jest-changed-files: 29.7.0 - jest-config: 29.7.0(@types/node@22.7.8)(ts-node@10.4.0(@swc/core@1.7.39(@swc/helpers@0.5.13))(@types/node@16.18.114)(typescript@5.5.4)) + jest-config: 29.7.0(@types/node@22.9.0)(ts-node@10.4.0(@swc/core@1.8.0(@swc/helpers@0.5.13))(@types/node@16.18.119)(typescript@5.5.4)) jest-haste-map: 29.7.0 jest-message-util: 29.7.0 jest-regex-util: 29.6.3 @@ -11532,7 +11479,7 @@ snapshots: dependencies: '@jest/fake-timers': 29.7.0 '@jest/types': 29.6.3 - '@types/node': 22.7.8 + '@types/node': 22.9.0 jest-mock: 29.7.0 '@jest/expect-utils@29.7.0': @@ -11550,7 +11497,7 @@ snapshots: dependencies: '@jest/types': 29.6.3 '@sinonjs/fake-timers': 10.3.0 - '@types/node': 22.7.8 + '@types/node': 22.9.0 jest-message-util: 29.7.0 jest-mock: 29.7.0 jest-util: 29.7.0 @@ -11572,7 +11519,7 @@ snapshots: '@jest/transform': 29.7.0 '@jest/types': 29.6.3 '@jridgewell/trace-mapping': 0.3.25 - '@types/node': 22.7.8 + '@types/node': 22.9.0 chalk: 4.1.2 collect-v8-coverage: 1.0.2 exit: 0.1.2 @@ -11619,7 +11566,7 @@ snapshots: '@jest/transform@29.7.0': dependencies: - '@babel/core': 7.25.9(supports-color@9.4.0) + '@babel/core': 7.26.0(supports-color@9.4.0) '@jest/types': 29.6.3 '@jridgewell/trace-mapping': 0.3.25 babel-plugin-istanbul: 6.1.1 @@ -11648,7 +11595,7 @@ snapshots: dependencies: '@types/istanbul-lib-coverage': 2.0.6 '@types/istanbul-reports': 3.0.4 - '@types/node': 16.18.114 + '@types/node': 16.18.119 '@types/yargs': 16.0.9 chalk: 4.1.2 @@ -11657,7 +11604,7 @@ snapshots: '@jest/schemas': 29.6.3 '@types/istanbul-lib-coverage': 2.0.6 '@types/istanbul-reports': 3.0.4 - '@types/node': 22.7.8 + '@types/node': 22.9.0 '@types/yargs': 17.0.33 chalk: 4.1.2 @@ -11685,26 +11632,26 @@ snapshots: '@manypkg/find-root@1.1.0': dependencies: - '@babel/runtime': 7.25.9 + '@babel/runtime': 7.26.0 '@types/node': 12.20.55 find-up: 4.1.0 fs-extra: 8.1.0 '@manypkg/get-packages@1.1.3': dependencies: - '@babel/runtime': 7.25.9 + '@babel/runtime': 7.26.0 '@changesets/types': 4.1.0 '@manypkg/find-root': 1.1.0 fs-extra: 8.1.0 globby: 11.1.0 read-yaml-file: 1.1.0 - '@mapbox/node-pre-gyp@1.0.11(encoding@0.1.13)(supports-color@9.4.0)': + '@mapbox/node-pre-gyp@1.0.11(supports-color@9.4.0)': dependencies: detect-libc: 2.0.3 https-proxy-agent: 5.0.1(supports-color@9.4.0) make-dir: 3.1.0 - node-fetch: 2.7.0(encoding@0.1.13) + node-fetch: 2.7.0 nopt: 5.0.0 npmlog: 5.0.1 rimraf: 3.0.2 @@ -11727,19 +11674,19 @@ snapshots: '@netlify/binary-info@1.0.0': {} - '@netlify/build@26.5.3(@swc/core@1.7.39(@swc/helpers@0.5.13))(@types/babel__core@7.20.5)(encoding@0.1.13)': + '@netlify/build@26.5.3(@swc/core@1.8.0(@swc/helpers@0.5.13))(@types/babel__core@7.20.5)': dependencies: '@bugsnag/js': 7.25.0 '@netlify/cache-utils': 4.1.6(supports-color@9.4.0) '@netlify/config': 17.0.20 - '@netlify/functions-utils': 4.2.11(encoding@0.1.13)(supports-color@9.4.0) + '@netlify/functions-utils': 4.2.11(supports-color@9.4.0) '@netlify/git-utils': 4.1.4 '@netlify/plugin-edge-handlers': 3.0.8(@types/babel__core@7.20.5)(supports-color@9.4.0) '@netlify/plugins-list': 6.80.0 '@netlify/run-utils': 4.0.2 - '@netlify/zip-it-and-ship-it': 5.9.0(encoding@0.1.13)(supports-color@9.4.0) + '@netlify/zip-it-and-ship-it': 5.9.0(supports-color@9.4.0) '@sindresorhus/slugify': 2.2.1 - '@types/node': 16.18.114 + '@types/node': 16.18.119 ansi-escapes: 5.0.0 chalk: 5.3.0 clean-stack: 4.2.0 @@ -11777,7 +11724,7 @@ snapshots: strip-ansi: 7.1.0 supports-color: 9.4.0 tmp-promise: 3.0.3 - ts-node: 10.4.0(@swc/core@1.7.39(@swc/helpers@0.5.13))(@types/node@16.18.114)(typescript@4.9.5) + ts-node: 10.4.0(@swc/core@1.8.0(@swc/helpers@0.5.13))(@types/node@16.18.119)(typescript@4.9.5) typescript: 4.9.5 update-notifier: 5.1.0 uuid: 8.3.2 @@ -11945,9 +11892,9 @@ snapshots: read-pkg-up: 7.0.1 semver: 7.6.3 - '@netlify/functions-utils@4.2.11(encoding@0.1.13)(supports-color@9.4.0)': + '@netlify/functions-utils@4.2.11(supports-color@9.4.0)': dependencies: - '@netlify/zip-it-and-ship-it': 7.1.3(encoding@0.1.13)(supports-color@9.4.0) + '@netlify/zip-it-and-ship-it': 7.1.3(supports-color@9.4.0) cpy: 8.1.2(supports-color@9.4.0) path-exists: 5.0.0 transitivePeerDependencies: @@ -12017,9 +11964,9 @@ snapshots: '@netlify/plugin-edge-handlers@3.0.8(@types/babel__core@7.20.5)(supports-color@9.4.0)': dependencies: - '@babel/core': 7.25.9(supports-color@9.4.0) - '@babel/preset-env': 7.25.9(@babel/core@7.25.9)(supports-color@9.4.0) - '@rollup/plugin-babel': 5.3.1(@babel/core@7.25.9)(@types/babel__core@7.20.5)(rollup@2.79.2)(supports-color@9.4.0) + '@babel/core': 7.26.0(supports-color@9.4.0) + '@babel/preset-env': 7.26.0(@babel/core@7.26.0)(supports-color@9.4.0) + '@rollup/plugin-babel': 5.3.1(@babel/core@7.26.0)(@types/babel__core@7.20.5)(rollup@2.79.2)(supports-color@9.4.0) '@rollup/plugin-commonjs': 21.1.0(rollup@2.79.2) '@rollup/plugin-inject': 4.0.4(rollup@2.79.2) '@rollup/plugin-json': 4.1.0(rollup@2.79.2) @@ -12061,11 +12008,11 @@ snapshots: dependencies: execa: 6.1.0 - '@netlify/zip-it-and-ship-it@5.4.0(encoding@0.1.13)': + '@netlify/zip-it-and-ship-it@5.4.0': dependencies: - '@babel/parser': 7.25.9 + '@babel/parser': 7.26.2 '@netlify/esbuild': 0.13.13 - '@vercel/nft': 0.17.5(encoding@0.1.13)(supports-color@9.4.0) + '@vercel/nft': 0.17.5(supports-color@9.4.0) archiver: 5.3.2 common-path-prefix: 3.0.0 cp-file: 9.1.0 @@ -12100,11 +12047,11 @@ snapshots: - encoding - supports-color - '@netlify/zip-it-and-ship-it@5.9.0(encoding@0.1.13)(supports-color@9.4.0)': + '@netlify/zip-it-and-ship-it@5.9.0(supports-color@9.4.0)': dependencies: '@babel/parser': 7.16.8 '@netlify/esbuild': 0.13.6 - '@vercel/nft': 0.17.5(encoding@0.1.13)(supports-color@9.4.0) + '@vercel/nft': 0.17.5(supports-color@9.4.0) archiver: 5.3.2 common-path-prefix: 3.0.0 cp-file: 9.1.0 @@ -12137,12 +12084,12 @@ snapshots: - encoding - supports-color - '@netlify/zip-it-and-ship-it@7.1.3(encoding@0.1.13)(supports-color@9.4.0)': + '@netlify/zip-it-and-ship-it@7.1.3(supports-color@9.4.0)': dependencies: '@babel/parser': 7.16.8 '@netlify/binary-info': 1.0.0 '@netlify/esbuild': 0.14.39 - '@vercel/nft': 0.22.6(encoding@0.1.13)(supports-color@9.4.0) + '@vercel/nft': 0.22.6(supports-color@9.4.0) archiver: 5.3.2 common-path-prefix: 3.0.0 cp-file: 9.1.0 @@ -12217,11 +12164,11 @@ snapshots: dependencies: '@octokit/types': 6.41.0 - '@octokit/core@3.6.0(encoding@0.1.13)': + '@octokit/core@3.6.0': dependencies: '@octokit/auth-token': 2.5.0 - '@octokit/graphql': 4.8.0(encoding@0.1.13) - '@octokit/request': 5.6.3(encoding@0.1.13) + '@octokit/graphql': 4.8.0 + '@octokit/request': 5.6.3 '@octokit/request-error': 2.1.0 '@octokit/types': 6.41.0 before-after-hook: 2.2.3 @@ -12235,9 +12182,9 @@ snapshots: is-plain-object: 5.0.0 universal-user-agent: 6.0.1 - '@octokit/graphql@4.8.0(encoding@0.1.13)': + '@octokit/graphql@4.8.0': dependencies: - '@octokit/request': 5.6.3(encoding@0.1.13) + '@octokit/request': 5.6.3 '@octokit/types': 6.41.0 universal-user-agent: 6.0.1 transitivePeerDependencies: @@ -12245,18 +12192,18 @@ snapshots: '@octokit/openapi-types@12.11.0': {} - '@octokit/plugin-paginate-rest@2.21.3(@octokit/core@3.6.0(encoding@0.1.13))': + '@octokit/plugin-paginate-rest@2.21.3(@octokit/core@3.6.0)': dependencies: - '@octokit/core': 3.6.0(encoding@0.1.13) + '@octokit/core': 3.6.0 '@octokit/types': 6.41.0 - '@octokit/plugin-request-log@1.0.4(@octokit/core@3.6.0(encoding@0.1.13))': + '@octokit/plugin-request-log@1.0.4(@octokit/core@3.6.0)': dependencies: - '@octokit/core': 3.6.0(encoding@0.1.13) + '@octokit/core': 3.6.0 - '@octokit/plugin-rest-endpoint-methods@5.16.2(@octokit/core@3.6.0(encoding@0.1.13))': + '@octokit/plugin-rest-endpoint-methods@5.16.2(@octokit/core@3.6.0)': dependencies: - '@octokit/core': 3.6.0(encoding@0.1.13) + '@octokit/core': 3.6.0 '@octokit/types': 6.41.0 deprecation: 2.3.1 @@ -12266,23 +12213,23 @@ snapshots: deprecation: 2.3.1 once: 1.4.0 - '@octokit/request@5.6.3(encoding@0.1.13)': + '@octokit/request@5.6.3': dependencies: '@octokit/endpoint': 6.0.12 '@octokit/request-error': 2.1.0 '@octokit/types': 6.41.0 is-plain-object: 5.0.0 - node-fetch: 2.7.0(encoding@0.1.13) + node-fetch: 2.7.0 universal-user-agent: 6.0.1 transitivePeerDependencies: - encoding - '@octokit/rest@18.12.0(encoding@0.1.13)': + '@octokit/rest@18.12.0': dependencies: - '@octokit/core': 3.6.0(encoding@0.1.13) - '@octokit/plugin-paginate-rest': 2.21.3(@octokit/core@3.6.0(encoding@0.1.13)) - '@octokit/plugin-request-log': 1.0.4(@octokit/core@3.6.0(encoding@0.1.13)) - '@octokit/plugin-rest-endpoint-methods': 5.16.2(@octokit/core@3.6.0(encoding@0.1.13)) + '@octokit/core': 3.6.0 + '@octokit/plugin-paginate-rest': 2.21.3(@octokit/core@3.6.0) + '@octokit/plugin-request-log': 1.0.4(@octokit/core@3.6.0) + '@octokit/plugin-rest-endpoint-methods': 5.16.2(@octokit/core@3.6.0) transitivePeerDependencies: - encoding @@ -12290,47 +12237,26 @@ snapshots: dependencies: '@octokit/openapi-types': 12.11.0 - '@orbit-ui/transition-components@5.5.0(@hopper-ui/components@1.3.27(@hopper-ui/styled-system@2.4.1(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(react-aria-components@1.4.1(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(react-aria@3.35.1(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(@hopper-ui/styled-system@2.4.1(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(react-aria-components@1.4.1(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(react-dom@18.3.1(react@18.3.1))(react@18.3.1)': - dependencies: - '@hopper-ui/components': 1.3.27(@hopper-ui/styled-system@2.4.1(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(react-aria-components@1.4.1(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(react-aria@3.35.1(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(react-dom@18.3.1(react@18.3.1))(react@18.3.1) - '@hopper-ui/icons': 2.8.4(@hopper-ui/styled-system@2.4.1(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(react-aria-components@1.4.1(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(react-dom@18.3.1(react@18.3.1))(react@18.3.1) - '@hopper-ui/styled-system': 2.4.1(react-dom@18.3.1(react@18.3.1))(react@18.3.1) - '@popperjs/core': 2.11.2 - react: 18.3.1 - react-aria-components: 1.4.1(react-dom@18.3.1(react@18.3.1))(react@18.3.1) - react-dom: 18.3.1(react@18.3.1) - react-is: 17.0.2 - text-mask-core: 5.1.2 - use-debounce: 7.0.1(react@18.3.1) - - '@orbit-ui/transition-css@2.4.0': - dependencies: - '@hopper-ui/tokens': 4.4.1 - - '@orbit-ui/transition-icons@2.0.0': {} - '@pkgjs/parseargs@0.11.0': optional: true '@pkgr/core@0.1.1': {} - '@pmmmwh/react-refresh-webpack-plugin@0.5.15(react-refresh@0.14.2)(type-fest@2.19.0)(webpack-hot-middleware@2.26.1)(webpack@5.95.0(@swc/core@1.7.39(@swc/helpers@0.5.13))(esbuild@0.23.1))': + '@pmmmwh/react-refresh-webpack-plugin@0.5.15(react-refresh@0.14.2)(type-fest@2.19.0)(webpack-hot-middleware@2.26.1)(webpack@5.96.1(@swc/core@1.8.0(@swc/helpers@0.5.13))(esbuild@0.23.1))': dependencies: ansi-html: 0.0.9 - core-js-pure: 3.38.1 + core-js-pure: 3.39.0 error-stack-parser: 2.1.4 html-entities: 2.5.2 loader-utils: 2.0.4 react-refresh: 0.14.2 schema-utils: 4.2.0 source-map: 0.7.4 - webpack: 5.95.0(@swc/core@1.7.39(@swc/helpers@0.5.13))(esbuild@0.23.1) + webpack: 5.96.1(@swc/core@1.8.0(@swc/helpers@0.5.13))(esbuild@0.23.1) optionalDependencies: type-fest: 2.19.0 webpack-hot-middleware: 2.26.1 - '@popperjs/core@2.11.2': {} - '@popperjs/core@2.11.8': {} '@react-aria/accordion@3.0.0-alpha.35(react-dom@18.3.1(react@18.3.1))(react@18.3.1)': @@ -13312,9 +13238,9 @@ snapshots: '@react-types/shared': 3.25.0(react@18.3.1) react: 18.3.1 - '@rollup/plugin-babel@5.3.1(@babel/core@7.25.9)(@types/babel__core@7.20.5)(rollup@2.79.2)(supports-color@9.4.0)': + '@rollup/plugin-babel@5.3.1(@babel/core@7.26.0)(@types/babel__core@7.20.5)(rollup@2.79.2)(supports-color@9.4.0)': dependencies: - '@babel/core': 7.25.9(supports-color@9.4.0) + '@babel/core': 7.26.0(supports-color@9.4.0) '@babel/helper-module-imports': 7.25.9(supports-color@9.4.0) '@rollup/pluginutils': 3.1.0(rollup@2.79.2) rollup: 2.79.2 @@ -13378,21 +13304,21 @@ snapshots: transitivePeerDependencies: - zenObservable - '@sharegate/eslint-plugin@3.2.0(@typescript-eslint/parser@8.10.0(eslint@8.57.1)(typescript@5.5.4))(eslint@8.57.1)(jest@29.7.0(@types/node@16.18.114)(ts-node@10.4.0(@swc/core@1.7.39(@swc/helpers@0.5.13))(@types/node@16.18.114)(typescript@5.5.4)))(typescript@5.5.4)': + '@sharegate/eslint-plugin@3.2.0(@typescript-eslint/parser@8.10.0(eslint@8.57.1)(typescript@5.5.4))(eslint@8.57.1)(jest@29.7.0(@types/node@16.18.119)(ts-node@10.4.0(@swc/core@1.8.0(@swc/helpers@0.5.13))(@types/node@16.18.119)(typescript@5.5.4)))(typescript@5.5.4)': dependencies: '@next/eslint-plugin-next': 13.5.7 '@typescript-eslint/eslint-plugin': 5.62.0(@typescript-eslint/parser@8.10.0(eslint@8.57.1)(typescript@5.5.4))(eslint@8.57.1)(typescript@5.5.4) eslint: 8.57.1 eslint-plugin-import: 2.31.0(@typescript-eslint/parser@8.10.0(eslint@8.57.1)(typescript@5.5.4))(eslint@8.57.1) - eslint-plugin-jest: 27.9.0(@typescript-eslint/eslint-plugin@5.62.0(@typescript-eslint/parser@8.10.0(eslint@8.57.1)(typescript@5.5.4))(eslint@8.57.1)(typescript@5.5.4))(eslint@8.57.1)(jest@29.7.0(@types/node@16.18.114)(ts-node@10.4.0(@swc/core@1.7.39(@swc/helpers@0.5.13))(@types/node@16.18.114)(typescript@5.5.4)))(typescript@5.5.4) - eslint-plugin-jsx-a11y: 6.10.1(eslint@8.57.1) + eslint-plugin-jest: 27.9.0(@typescript-eslint/eslint-plugin@5.62.0(@typescript-eslint/parser@8.10.0(eslint@8.57.1)(typescript@5.5.4))(eslint@8.57.1)(typescript@5.5.4))(eslint@8.57.1)(jest@29.7.0(@types/node@16.18.119)(ts-node@10.4.0(@swc/core@1.8.0(@swc/helpers@0.5.13))(@types/node@16.18.119)(typescript@5.5.4)))(typescript@5.5.4) + eslint-plugin-jsx-a11y: 6.10.2(eslint@8.57.1) eslint-plugin-lodash: 7.4.0(eslint@8.57.1) eslint-plugin-mdx: 2.3.4(eslint@8.57.1) - eslint-plugin-react: 7.37.1(eslint@8.57.1) + eslint-plugin-react: 7.37.2(eslint@8.57.1) eslint-plugin-react-hooks: 4.6.2(eslint@8.57.1) eslint-plugin-react-query: 1.3.0(eslint@8.57.1)(typescript@5.5.4) eslint-plugin-sort-imports-es6-autofix: 0.6.0(eslint@8.57.1) - eslint-plugin-storybook: 0.10.1(eslint@8.57.1)(typescript@5.5.4) + eslint-plugin-storybook: 0.11.0(eslint@8.57.1)(typescript@5.5.4) eslint-plugin-testing-library: 5.11.1(eslint@8.57.1)(typescript@5.5.4) optionalDependencies: '@typescript-eslint/parser': 8.10.0(eslint@8.57.1)(typescript@5.5.4) @@ -13456,7 +13382,7 @@ snapshots: '@storybook/addon-a11y@8.3.6(storybook@8.3.6)': dependencies: '@storybook/addon-highlight': 8.3.6(storybook@8.3.6) - axe-core: 4.10.1 + axe-core: 4.10.2 storybook: 8.3.6 '@storybook/addon-actions@8.3.6(storybook@8.3.6)': @@ -13569,10 +13495,10 @@ snapshots: memoizerific: 1.11.3 storybook: 8.3.6 - '@storybook/addon-webpack5-compiler-swc@1.0.5(@swc/helpers@0.5.13)(webpack@5.95.0(@swc/core@1.7.39(@swc/helpers@0.5.13))(esbuild@0.23.1))': + '@storybook/addon-webpack5-compiler-swc@1.0.5(@swc/helpers@0.5.13)(webpack@5.96.1(@swc/core@1.8.0(@swc/helpers@0.5.13))(esbuild@0.23.1))': dependencies: - '@swc/core': 1.7.39(@swc/helpers@0.5.13) - swc-loader: 0.2.6(@swc/core@1.7.39(@swc/helpers@0.5.13))(webpack@5.95.0(@swc/core@1.7.39(@swc/helpers@0.5.13))(esbuild@0.23.1)) + '@swc/core': 1.8.0(@swc/helpers@0.5.13) + swc-loader: 0.2.6(@swc/core@1.8.0(@swc/helpers@0.5.13))(webpack@5.96.1(@swc/core@1.8.0(@swc/helpers@0.5.13))(esbuild@0.23.1)) transitivePeerDependencies: - '@swc/helpers' - webpack @@ -13582,7 +13508,7 @@ snapshots: '@storybook/csf': 0.1.11 '@storybook/global': 5.0.0 '@storybook/icons': 1.2.12(react-dom@18.3.1(react@18.3.1))(react@18.3.1) - '@types/lodash': 4.17.12 + '@types/lodash': 4.17.13 color-convert: 2.0.1 dequal: 2.0.3 lodash: 4.17.21 @@ -13598,34 +13524,34 @@ snapshots: react: 18.3.1 react-dom: 18.3.1(react@18.3.1) - '@storybook/builder-webpack5@8.3.6(@swc/core@1.7.39(@swc/helpers@0.5.13))(esbuild@0.23.1)(storybook@8.3.6)(typescript@5.5.4)': + '@storybook/builder-webpack5@8.3.6(@swc/core@1.8.0(@swc/helpers@0.5.13))(esbuild@0.23.1)(storybook@8.3.6)(typescript@5.5.4)': dependencies: '@storybook/core-webpack': 8.3.6(storybook@8.3.6) - '@types/node': 22.7.8 + '@types/node': 22.9.0 '@types/semver': 7.5.8 browser-assert: 1.2.1 case-sensitive-paths-webpack-plugin: 2.4.0 cjs-module-lexer: 1.4.1 constants-browserify: 1.0.0 - css-loader: 6.11.0(webpack@5.95.0(@swc/core@1.7.39(@swc/helpers@0.5.13))(esbuild@0.23.1)) + css-loader: 6.11.0(webpack@5.96.1(@swc/core@1.8.0(@swc/helpers@0.5.13))(esbuild@0.23.1)) es-module-lexer: 1.5.4 express: 4.21.1 - fork-ts-checker-webpack-plugin: 8.0.0(typescript@5.5.4)(webpack@5.95.0(@swc/core@1.7.39(@swc/helpers@0.5.13))(esbuild@0.23.1)) + fork-ts-checker-webpack-plugin: 8.0.0(typescript@5.5.4)(webpack@5.96.1(@swc/core@1.8.0(@swc/helpers@0.5.13))(esbuild@0.23.1)) fs-extra: 11.2.0 - html-webpack-plugin: 5.6.2(webpack@5.95.0(@swc/core@1.7.39(@swc/helpers@0.5.13))(esbuild@0.23.1)) + html-webpack-plugin: 5.6.3(webpack@5.96.1(@swc/core@1.8.0(@swc/helpers@0.5.13))(esbuild@0.23.1)) magic-string: 0.30.12 path-browserify: 1.0.1 process: 0.11.10 semver: 7.6.3 storybook: 8.3.6 - style-loader: 3.3.4(webpack@5.95.0(@swc/core@1.7.39(@swc/helpers@0.5.13))(esbuild@0.23.1)) - terser-webpack-plugin: 5.3.10(@swc/core@1.7.39(@swc/helpers@0.5.13))(esbuild@0.23.1)(webpack@5.95.0(@swc/core@1.7.39(@swc/helpers@0.5.13))(esbuild@0.23.1)) + style-loader: 3.3.4(webpack@5.96.1(@swc/core@1.8.0(@swc/helpers@0.5.13))(esbuild@0.23.1)) + terser-webpack-plugin: 5.3.10(@swc/core@1.8.0(@swc/helpers@0.5.13))(esbuild@0.23.1)(webpack@5.96.1(@swc/core@1.8.0(@swc/helpers@0.5.13))(esbuild@0.23.1)) ts-dedent: 2.2.0 url: 0.11.4 util: 0.12.5 util-deprecate: 1.0.2 - webpack: 5.95.0(@swc/core@1.7.39(@swc/helpers@0.5.13))(esbuild@0.23.1) - webpack-dev-middleware: 6.1.3(webpack@5.95.0(@swc/core@1.7.39(@swc/helpers@0.5.13))(esbuild@0.23.1)) + webpack: 5.96.1(@swc/core@1.8.0(@swc/helpers@0.5.13))(esbuild@0.23.1) + webpack-dev-middleware: 6.1.3(webpack@5.96.1(@swc/core@1.8.0(@swc/helpers@0.5.13))(esbuild@0.23.1)) webpack-hot-middleware: 2.26.1 webpack-virtual-modules: 0.6.2 optionalDependencies: @@ -13638,17 +13564,17 @@ snapshots: - uglify-js - webpack-cli - '@storybook/components@8.3.6(storybook@8.3.6)': + '@storybook/components@8.4.2(storybook@8.3.6)': dependencies: storybook: 8.3.6 - '@storybook/core-common@8.3.6(storybook@8.3.6)': + '@storybook/core-common@8.4.2(storybook@8.3.6)': dependencies: storybook: 8.3.6 '@storybook/core-webpack@8.3.6(storybook@8.3.6)': dependencies: - '@types/node': 22.7.8 + '@types/node': 22.9.0 storybook: 8.3.6 ts-dedent: 2.2.0 @@ -13675,11 +13601,11 @@ snapshots: '@storybook/csf-plugin@8.3.6(storybook@8.3.6)(webpack-sources@3.2.3)': dependencies: storybook: 8.3.6 - unplugin: 1.14.1(webpack-sources@3.2.3) + unplugin: 1.15.0(webpack-sources@3.2.3) transitivePeerDependencies: - webpack-sources - '@storybook/csf-tools@8.3.6(storybook@8.3.6)': + '@storybook/csf-tools@8.4.2(storybook@8.3.6)': dependencies: storybook: 8.3.6 @@ -13697,20 +13623,20 @@ snapshots: '@storybook/instrumenter@8.3.6(storybook@8.3.6)': dependencies: '@storybook/global': 5.0.0 - '@vitest/utils': 2.1.3 + '@vitest/utils': 2.1.4 storybook: 8.3.6 util: 0.12.5 - '@storybook/manager-api@8.3.6(storybook@8.3.6)': + '@storybook/manager-api@8.4.2(storybook@8.3.6)': dependencies: storybook: 8.3.6 - '@storybook/preset-react-webpack@8.3.6(@storybook/test@8.3.6(storybook@8.3.6))(@swc/core@1.7.39(@swc/helpers@0.5.13))(esbuild@0.23.1)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)(storybook@8.3.6)(typescript@5.5.4)': + '@storybook/preset-react-webpack@8.3.6(@storybook/test@8.3.6(storybook@8.3.6))(@swc/core@1.8.0(@swc/helpers@0.5.13))(esbuild@0.23.1)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)(storybook@8.3.6)(typescript@5.5.4)': dependencies: '@storybook/core-webpack': 8.3.6(storybook@8.3.6) '@storybook/react': 8.3.6(@storybook/test@8.3.6(storybook@8.3.6))(react-dom@18.3.1(react@18.3.1))(react@18.3.1)(storybook@8.3.6)(typescript@5.5.4) - '@storybook/react-docgen-typescript-plugin': 1.0.6--canary.9.0c3f3b7.0(typescript@5.5.4)(webpack@5.95.0(@swc/core@1.7.39(@swc/helpers@0.5.13))(esbuild@0.23.1)) - '@types/node': 22.7.8 + '@storybook/react-docgen-typescript-plugin': 1.0.6--canary.9.0c3f3b7.0(typescript@5.5.4)(webpack@5.96.1(@swc/core@1.8.0(@swc/helpers@0.5.13))(esbuild@0.23.1)) + '@types/node': 22.9.0 '@types/semver': 7.5.8 find-up: 5.0.0 fs-extra: 11.2.0 @@ -13722,7 +13648,7 @@ snapshots: semver: 7.6.3 storybook: 8.3.6 tsconfig-paths: 4.2.0 - webpack: 5.95.0(@swc/core@1.7.39(@swc/helpers@0.5.13))(esbuild@0.23.1) + webpack: 5.96.1(@swc/core@1.8.0(@swc/helpers@0.5.13))(esbuild@0.23.1) optionalDependencies: typescript: 5.5.4 transitivePeerDependencies: @@ -13733,11 +13659,11 @@ snapshots: - uglify-js - webpack-cli - '@storybook/preview-api@8.3.6(storybook@8.3.6)': + '@storybook/preview-api@8.4.2(storybook@8.3.6)': dependencies: storybook: 8.3.6 - '@storybook/react-docgen-typescript-plugin@1.0.6--canary.9.0c3f3b7.0(typescript@5.5.4)(webpack@5.95.0(@swc/core@1.7.39(@swc/helpers@0.5.13))(esbuild@0.23.1))': + '@storybook/react-docgen-typescript-plugin@1.0.6--canary.9.0c3f3b7.0(typescript@5.5.4)(webpack@5.96.1(@swc/core@1.8.0(@swc/helpers@0.5.13))(esbuild@0.23.1))': dependencies: debug: 4.3.7(supports-color@9.4.0) endent: 2.1.0 @@ -13745,9 +13671,9 @@ snapshots: flat-cache: 3.2.0 micromatch: 4.0.8 react-docgen-typescript: 2.2.2(typescript@5.5.4) - tslib: 2.8.0 + tslib: 2.8.1 typescript: 5.5.4 - webpack: 5.95.0(@swc/core@1.7.39(@swc/helpers@0.5.13))(esbuild@0.23.1) + webpack: 5.96.1(@swc/core@1.8.0(@swc/helpers@0.5.13))(esbuild@0.23.1) transitivePeerDependencies: - supports-color @@ -13757,12 +13683,12 @@ snapshots: react-dom: 18.3.1(react@18.3.1) storybook: 8.3.6 - '@storybook/react-webpack5@8.3.6(@storybook/test@8.3.6(storybook@8.3.6))(@swc/core@1.7.39(@swc/helpers@0.5.13))(esbuild@0.23.1)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)(storybook@8.3.6)(typescript@5.5.4)': + '@storybook/react-webpack5@8.3.6(@storybook/test@8.3.6(storybook@8.3.6))(@swc/core@1.8.0(@swc/helpers@0.5.13))(esbuild@0.23.1)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)(storybook@8.3.6)(typescript@5.5.4)': dependencies: - '@storybook/builder-webpack5': 8.3.6(@swc/core@1.7.39(@swc/helpers@0.5.13))(esbuild@0.23.1)(storybook@8.3.6)(typescript@5.5.4) - '@storybook/preset-react-webpack': 8.3.6(@storybook/test@8.3.6(storybook@8.3.6))(@swc/core@1.7.39(@swc/helpers@0.5.13))(esbuild@0.23.1)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)(storybook@8.3.6)(typescript@5.5.4) + '@storybook/builder-webpack5': 8.3.6(@swc/core@1.8.0(@swc/helpers@0.5.13))(esbuild@0.23.1)(storybook@8.3.6)(typescript@5.5.4) + '@storybook/preset-react-webpack': 8.3.6(@storybook/test@8.3.6(storybook@8.3.6))(@swc/core@1.8.0(@swc/helpers@0.5.13))(esbuild@0.23.1)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)(storybook@8.3.6)(typescript@5.5.4) '@storybook/react': 8.3.6(@storybook/test@8.3.6(storybook@8.3.6))(react-dom@18.3.1(react@18.3.1))(react@18.3.1)(storybook@8.3.6)(typescript@5.5.4) - '@types/node': 22.7.8 + '@types/node': 22.9.0 react: 18.3.1 react-dom: 18.3.1(react@18.3.1) storybook: 8.3.6 @@ -13779,15 +13705,15 @@ snapshots: '@storybook/react@8.3.6(@storybook/test@8.3.6(storybook@8.3.6))(react-dom@18.3.1(react@18.3.1))(react@18.3.1)(storybook@8.3.6)(typescript@5.5.4)': dependencies: - '@storybook/components': 8.3.6(storybook@8.3.6) + '@storybook/components': 8.4.2(storybook@8.3.6) '@storybook/global': 5.0.0 - '@storybook/manager-api': 8.3.6(storybook@8.3.6) - '@storybook/preview-api': 8.3.6(storybook@8.3.6) + '@storybook/manager-api': 8.4.2(storybook@8.3.6) + '@storybook/preview-api': 8.4.2(storybook@8.3.6) '@storybook/react-dom-shim': 8.3.6(react-dom@18.3.1(react@18.3.1))(react@18.3.1)(storybook@8.3.6) - '@storybook/theming': 8.3.6(storybook@8.3.6) + '@storybook/theming': 8.4.2(storybook@8.3.6) '@types/escodegen': 0.0.6 '@types/estree': 0.0.51 - '@types/node': 22.7.8 + '@types/node': 22.9.0 acorn: 7.4.1 acorn-jsx: 5.3.2(acorn@7.4.1) acorn-walk: 7.2.0 @@ -13806,30 +13732,30 @@ snapshots: '@storybook/test': 8.3.6(storybook@8.3.6) typescript: 5.5.4 - '@storybook/test-runner@0.19.1(@swc/helpers@0.5.13)(@types/node@16.18.114)(storybook@8.3.6)(ts-node@10.4.0(@swc/core@1.7.39(@swc/helpers@0.5.13))(@types/node@16.18.114)(typescript@5.5.4))': + '@storybook/test-runner@0.19.1(@swc/helpers@0.5.13)(@types/node@16.18.119)(storybook@8.3.6)(ts-node@10.4.0(@swc/core@1.8.0(@swc/helpers@0.5.13))(@types/node@16.18.119)(typescript@5.5.4))': dependencies: - '@babel/core': 7.25.9(supports-color@9.4.0) - '@babel/generator': 7.25.9 + '@babel/core': 7.26.0(supports-color@9.4.0) + '@babel/generator': 7.26.2 '@babel/template': 7.25.9 - '@babel/types': 7.25.9 + '@babel/types': 7.26.0 '@jest/types': 29.6.3 - '@storybook/core-common': 8.3.6(storybook@8.3.6) + '@storybook/core-common': 8.4.2(storybook@8.3.6) '@storybook/csf': 0.1.11 - '@storybook/csf-tools': 8.3.6(storybook@8.3.6) - '@storybook/preview-api': 8.3.6(storybook@8.3.6) - '@swc/core': 1.7.39(@swc/helpers@0.5.13) - '@swc/jest': 0.2.36(@swc/core@1.7.39(@swc/helpers@0.5.13)) + '@storybook/csf-tools': 8.4.2(storybook@8.3.6) + '@storybook/preview-api': 8.4.2(storybook@8.3.6) + '@swc/core': 1.8.0(@swc/helpers@0.5.13) + '@swc/jest': 0.2.37(@swc/core@1.8.0(@swc/helpers@0.5.13)) expect-playwright: 0.8.0 - jest: 29.7.0(@types/node@16.18.114)(ts-node@10.4.0(@swc/core@1.7.39(@swc/helpers@0.5.13))(@types/node@16.18.114)(typescript@5.5.4)) + jest: 29.7.0(@types/node@16.18.119)(ts-node@10.4.0(@swc/core@1.8.0(@swc/helpers@0.5.13))(@types/node@16.18.119)(typescript@5.5.4)) jest-circus: 29.7.0 jest-environment-node: 29.7.0 jest-junit: 16.0.0 - jest-playwright-preset: 4.0.0(jest-circus@29.7.0)(jest-environment-node@29.7.0)(jest-runner@29.7.0)(jest@29.7.0(@types/node@16.18.114)(ts-node@10.4.0(@swc/core@1.7.39(@swc/helpers@0.5.13))(@types/node@16.18.114)(typescript@5.5.4))) + jest-playwright-preset: 4.0.0(jest-circus@29.7.0)(jest-environment-node@29.7.0)(jest-runner@29.7.0)(jest@29.7.0(@types/node@16.18.119)(ts-node@10.4.0(@swc/core@1.8.0(@swc/helpers@0.5.13))(@types/node@16.18.119)(typescript@5.5.4))) jest-runner: 29.7.0 jest-serializer-html: 7.1.0 - jest-watch-typeahead: 2.2.2(jest@29.7.0(@types/node@16.18.114)(ts-node@10.4.0(@swc/core@1.7.39(@swc/helpers@0.5.13))(@types/node@16.18.114)(typescript@5.5.4))) + jest-watch-typeahead: 2.2.2(jest@29.7.0(@types/node@16.18.119)(ts-node@10.4.0(@swc/core@1.8.0(@swc/helpers@0.5.13))(@types/node@16.18.119)(typescript@5.5.4))) nyc: 15.1.0 - playwright: 1.48.1 + playwright: 1.48.2 transitivePeerDependencies: - '@swc/helpers' - '@types/node' @@ -13853,7 +13779,7 @@ snapshots: storybook: 8.3.6 util: 0.12.5 - '@storybook/theming@8.3.6(storybook@8.3.6)': + '@storybook/theming@8.4.2(storybook@8.3.6)': dependencies: storybook: 8.3.6 @@ -13861,54 +13787,54 @@ snapshots: dependencies: storybook: 8.3.6 - '@svgr/babel-plugin-add-jsx-attribute@6.5.1(@babel/core@7.25.9)': + '@svgr/babel-plugin-add-jsx-attribute@6.5.1(@babel/core@7.26.0)': dependencies: - '@babel/core': 7.25.9(supports-color@9.4.0) + '@babel/core': 7.26.0(supports-color@9.4.0) - '@svgr/babel-plugin-remove-jsx-attribute@8.0.0(@babel/core@7.25.9)': + '@svgr/babel-plugin-remove-jsx-attribute@8.0.0(@babel/core@7.26.0)': dependencies: - '@babel/core': 7.25.9(supports-color@9.4.0) + '@babel/core': 7.26.0(supports-color@9.4.0) - '@svgr/babel-plugin-remove-jsx-empty-expression@8.0.0(@babel/core@7.25.9)': + '@svgr/babel-plugin-remove-jsx-empty-expression@8.0.0(@babel/core@7.26.0)': dependencies: - '@babel/core': 7.25.9(supports-color@9.4.0) + '@babel/core': 7.26.0(supports-color@9.4.0) - '@svgr/babel-plugin-replace-jsx-attribute-value@6.5.1(@babel/core@7.25.9)': + '@svgr/babel-plugin-replace-jsx-attribute-value@6.5.1(@babel/core@7.26.0)': dependencies: - '@babel/core': 7.25.9(supports-color@9.4.0) + '@babel/core': 7.26.0(supports-color@9.4.0) - '@svgr/babel-plugin-svg-dynamic-title@6.5.1(@babel/core@7.25.9)': + '@svgr/babel-plugin-svg-dynamic-title@6.5.1(@babel/core@7.26.0)': dependencies: - '@babel/core': 7.25.9(supports-color@9.4.0) + '@babel/core': 7.26.0(supports-color@9.4.0) - '@svgr/babel-plugin-svg-em-dimensions@6.5.1(@babel/core@7.25.9)': + '@svgr/babel-plugin-svg-em-dimensions@6.5.1(@babel/core@7.26.0)': dependencies: - '@babel/core': 7.25.9(supports-color@9.4.0) + '@babel/core': 7.26.0(supports-color@9.4.0) - '@svgr/babel-plugin-transform-react-native-svg@6.5.1(@babel/core@7.25.9)': + '@svgr/babel-plugin-transform-react-native-svg@6.5.1(@babel/core@7.26.0)': dependencies: - '@babel/core': 7.25.9(supports-color@9.4.0) + '@babel/core': 7.26.0(supports-color@9.4.0) - '@svgr/babel-plugin-transform-svg-component@6.5.1(@babel/core@7.25.9)': + '@svgr/babel-plugin-transform-svg-component@6.5.1(@babel/core@7.26.0)': dependencies: - '@babel/core': 7.25.9(supports-color@9.4.0) + '@babel/core': 7.26.0(supports-color@9.4.0) - '@svgr/babel-preset@6.5.1(@babel/core@7.25.9)': + '@svgr/babel-preset@6.5.1(@babel/core@7.26.0)': dependencies: - '@babel/core': 7.25.9(supports-color@9.4.0) - '@svgr/babel-plugin-add-jsx-attribute': 6.5.1(@babel/core@7.25.9) - '@svgr/babel-plugin-remove-jsx-attribute': 8.0.0(@babel/core@7.25.9) - '@svgr/babel-plugin-remove-jsx-empty-expression': 8.0.0(@babel/core@7.25.9) - '@svgr/babel-plugin-replace-jsx-attribute-value': 6.5.1(@babel/core@7.25.9) - '@svgr/babel-plugin-svg-dynamic-title': 6.5.1(@babel/core@7.25.9) - '@svgr/babel-plugin-svg-em-dimensions': 6.5.1(@babel/core@7.25.9) - '@svgr/babel-plugin-transform-react-native-svg': 6.5.1(@babel/core@7.25.9) - '@svgr/babel-plugin-transform-svg-component': 6.5.1(@babel/core@7.25.9) + '@babel/core': 7.26.0(supports-color@9.4.0) + '@svgr/babel-plugin-add-jsx-attribute': 6.5.1(@babel/core@7.26.0) + '@svgr/babel-plugin-remove-jsx-attribute': 8.0.0(@babel/core@7.26.0) + '@svgr/babel-plugin-remove-jsx-empty-expression': 8.0.0(@babel/core@7.26.0) + '@svgr/babel-plugin-replace-jsx-attribute-value': 6.5.1(@babel/core@7.26.0) + '@svgr/babel-plugin-svg-dynamic-title': 6.5.1(@babel/core@7.26.0) + '@svgr/babel-plugin-svg-em-dimensions': 6.5.1(@babel/core@7.26.0) + '@svgr/babel-plugin-transform-react-native-svg': 6.5.1(@babel/core@7.26.0) + '@svgr/babel-plugin-transform-svg-component': 6.5.1(@babel/core@7.26.0) '@svgr/core@6.5.1': dependencies: - '@babel/core': 7.25.9(supports-color@9.4.0) - '@svgr/babel-preset': 6.5.1(@babel/core@7.25.9) + '@babel/core': 7.26.0(supports-color@9.4.0) + '@svgr/babel-preset': 6.5.1(@babel/core@7.26.0) '@svgr/plugin-jsx': 6.5.1(@svgr/core@6.5.1) camelcase: 6.3.0 cosmiconfig: 7.1.0 @@ -13917,80 +13843,80 @@ snapshots: '@svgr/hast-util-to-babel-ast@6.5.1': dependencies: - '@babel/types': 7.25.9 + '@babel/types': 7.26.0 entities: 4.5.0 '@svgr/plugin-jsx@6.5.1(@svgr/core@6.5.1)': dependencies: - '@babel/core': 7.25.9(supports-color@9.4.0) - '@svgr/babel-preset': 6.5.1(@babel/core@7.25.9) + '@babel/core': 7.26.0(supports-color@9.4.0) + '@svgr/babel-preset': 6.5.1(@babel/core@7.26.0) '@svgr/core': 6.5.1 '@svgr/hast-util-to-babel-ast': 6.5.1 svg-parser: 2.0.4 transitivePeerDependencies: - supports-color - '@swc/core-darwin-arm64@1.7.39': + '@swc/core-darwin-arm64@1.8.0': optional: true - '@swc/core-darwin-x64@1.7.39': + '@swc/core-darwin-x64@1.8.0': optional: true - '@swc/core-linux-arm-gnueabihf@1.7.39': + '@swc/core-linux-arm-gnueabihf@1.8.0': optional: true - '@swc/core-linux-arm64-gnu@1.7.39': + '@swc/core-linux-arm64-gnu@1.8.0': optional: true - '@swc/core-linux-arm64-musl@1.7.39': + '@swc/core-linux-arm64-musl@1.8.0': optional: true - '@swc/core-linux-x64-gnu@1.7.39': + '@swc/core-linux-x64-gnu@1.8.0': optional: true - '@swc/core-linux-x64-musl@1.7.39': + '@swc/core-linux-x64-musl@1.8.0': optional: true - '@swc/core-win32-arm64-msvc@1.7.39': + '@swc/core-win32-arm64-msvc@1.8.0': optional: true - '@swc/core-win32-ia32-msvc@1.7.39': + '@swc/core-win32-ia32-msvc@1.8.0': optional: true - '@swc/core-win32-x64-msvc@1.7.39': + '@swc/core-win32-x64-msvc@1.8.0': optional: true - '@swc/core@1.7.39(@swc/helpers@0.5.13)': + '@swc/core@1.8.0(@swc/helpers@0.5.13)': dependencies: '@swc/counter': 0.1.3 - '@swc/types': 0.1.13 + '@swc/types': 0.1.14 optionalDependencies: - '@swc/core-darwin-arm64': 1.7.39 - '@swc/core-darwin-x64': 1.7.39 - '@swc/core-linux-arm-gnueabihf': 1.7.39 - '@swc/core-linux-arm64-gnu': 1.7.39 - '@swc/core-linux-arm64-musl': 1.7.39 - '@swc/core-linux-x64-gnu': 1.7.39 - '@swc/core-linux-x64-musl': 1.7.39 - '@swc/core-win32-arm64-msvc': 1.7.39 - '@swc/core-win32-ia32-msvc': 1.7.39 - '@swc/core-win32-x64-msvc': 1.7.39 + '@swc/core-darwin-arm64': 1.8.0 + '@swc/core-darwin-x64': 1.8.0 + '@swc/core-linux-arm-gnueabihf': 1.8.0 + '@swc/core-linux-arm64-gnu': 1.8.0 + '@swc/core-linux-arm64-musl': 1.8.0 + '@swc/core-linux-x64-gnu': 1.8.0 + '@swc/core-linux-x64-musl': 1.8.0 + '@swc/core-win32-arm64-msvc': 1.8.0 + '@swc/core-win32-ia32-msvc': 1.8.0 + '@swc/core-win32-x64-msvc': 1.8.0 '@swc/helpers': 0.5.13 '@swc/counter@0.1.3': {} '@swc/helpers@0.5.13': dependencies: - tslib: 2.8.0 + tslib: 2.8.1 - '@swc/jest@0.2.36(@swc/core@1.7.39(@swc/helpers@0.5.13))': + '@swc/jest@0.2.37(@swc/core@1.8.0(@swc/helpers@0.5.13))': dependencies: '@jest/create-cache-key-function': 29.7.0 - '@swc/core': 1.7.39(@swc/helpers@0.5.13) + '@swc/core': 1.8.0(@swc/helpers@0.5.13) '@swc/counter': 0.1.3 jsonc-parser: 3.3.1 - '@swc/types@0.1.13': + '@swc/types@0.1.14': dependencies: '@swc/counter': 0.1.3 @@ -14004,8 +13930,8 @@ snapshots: '@testing-library/dom@10.4.0': dependencies: - '@babel/code-frame': 7.25.9 - '@babel/runtime': 7.25.9 + '@babel/code-frame': 7.26.2 + '@babel/runtime': 7.26.0 '@types/aria-query': 5.0.4 aria-query: 5.3.0 chalk: 4.1.2 @@ -14035,7 +13961,7 @@ snapshots: '@testing-library/react@16.0.1(@testing-library/dom@10.4.0)(@types/react-dom@18.3.1)(@types/react@18.3.11)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)': dependencies: - '@babel/runtime': 7.25.9 + '@babel/runtime': 7.26.0 '@testing-library/dom': 10.4.0 react: 18.3.1 react-dom: 18.3.1(react@18.3.1) @@ -14067,44 +13993,44 @@ snapshots: '@types/babel__core@7.20.5': dependencies: - '@babel/parser': 7.25.9 - '@babel/types': 7.25.9 + '@babel/parser': 7.26.2 + '@babel/types': 7.26.0 '@types/babel__generator': 7.6.8 '@types/babel__template': 7.4.4 '@types/babel__traverse': 7.20.6 '@types/babel__generator@7.6.8': dependencies: - '@babel/types': 7.25.9 + '@babel/types': 7.26.0 '@types/babel__template@7.4.4': dependencies: - '@babel/parser': 7.25.9 - '@babel/types': 7.25.9 + '@babel/parser': 7.26.2 + '@babel/types': 7.26.0 '@types/babel__traverse@7.20.6': dependencies: - '@babel/types': 7.25.9 + '@babel/types': 7.26.0 '@types/body-parser@1.19.5': dependencies: '@types/connect': 3.4.38 - '@types/node': 22.7.8 + '@types/node': 22.9.0 '@types/cacheable-request@6.0.3': dependencies: '@types/http-cache-semantics': 4.0.4 '@types/keyv': 3.1.4 - '@types/node': 16.18.114 + '@types/node': 16.18.119 '@types/responselike': 1.0.3 '@types/concat-stream@2.0.3': dependencies: - '@types/node': 18.19.58 + '@types/node': 18.19.64 '@types/connect@3.4.38': dependencies: - '@types/node': 22.7.8 + '@types/node': 22.9.0 '@types/debug@4.1.12': dependencies: @@ -14112,7 +14038,7 @@ snapshots: '@types/decompress@4.2.7': dependencies: - '@types/node': 22.7.8 + '@types/node': 22.9.0 '@types/doctrine@0.0.9': {} @@ -14120,10 +14046,20 @@ snapshots: dependencies: '@types/decompress': 4.2.7 '@types/got': 9.6.12 - '@types/node': 22.7.8 + '@types/node': 22.9.0 '@types/escodegen@0.0.6': {} + '@types/eslint-scope@3.7.7': + dependencies: + '@types/eslint': 9.6.1 + '@types/estree': 1.0.6 + + '@types/eslint@9.6.1': + dependencies: + '@types/estree': 1.0.6 + '@types/json-schema': 7.0.15 + '@types/estree-jsx@1.0.5': dependencies: '@types/estree': 1.0.6 @@ -14136,7 +14072,7 @@ snapshots: '@types/express-serve-static-core@4.19.6': dependencies: - '@types/node': 22.7.8 + '@types/node': 22.9.0 '@types/qs': 6.9.16 '@types/range-parser': 1.2.7 '@types/send': 0.17.4 @@ -14151,17 +14087,17 @@ snapshots: '@types/glob@7.2.0': dependencies: '@types/minimatch': 5.1.2 - '@types/node': 16.18.114 + '@types/node': 16.18.119 '@types/got@9.6.12': dependencies: - '@types/node': 22.7.8 + '@types/node': 22.9.0 '@types/tough-cookie': 4.0.5 form-data: 2.5.2 '@types/graceful-fs@4.1.9': dependencies: - '@types/node': 22.7.8 + '@types/node': 22.9.0 '@types/hast@2.3.10': dependencies: @@ -14184,7 +14120,7 @@ snapshots: '@types/http-proxy@1.17.15': dependencies: - '@types/node': 22.7.8 + '@types/node': 22.9.0 '@types/is-empty@1.2.3': {} @@ -14210,9 +14146,9 @@ snapshots: '@types/jsdom@20.0.1': dependencies: - '@types/node': 22.7.8 + '@types/node': 22.9.0 '@types/tough-cookie': 4.0.5 - parse5: 7.2.0 + parse5: 7.2.1 '@types/json-schema@7.0.15': {} @@ -14220,9 +14156,9 @@ snapshots: '@types/keyv@3.1.4': dependencies: - '@types/node': 16.18.114 + '@types/node': 16.18.119 - '@types/lodash@4.17.12': {} + '@types/lodash@4.17.13': {} '@types/mdast@3.0.15': dependencies: @@ -14244,18 +14180,18 @@ snapshots: '@types/node-fetch@2.6.11': dependencies: - '@types/node': 22.7.8 + '@types/node': 22.9.0 form-data: 4.0.1 '@types/node@12.20.55': {} - '@types/node@16.18.114': {} + '@types/node@16.18.119': {} - '@types/node@18.19.58': + '@types/node@18.19.64': dependencies: undici-types: 5.26.5 - '@types/node@22.7.8': + '@types/node@22.9.0': dependencies: undici-types: 6.19.8 @@ -14286,25 +14222,25 @@ snapshots: '@types/resolve@1.17.1': dependencies: - '@types/node': 22.7.8 + '@types/node': 22.9.0 '@types/resolve@1.20.6': {} '@types/responselike@1.0.3': dependencies: - '@types/node': 16.18.114 + '@types/node': 16.18.119 '@types/semver@7.5.8': {} '@types/send@0.17.4': dependencies: '@types/mime': 1.3.5 - '@types/node': 22.7.8 + '@types/node': 22.9.0 '@types/serve-static@1.15.7': dependencies: '@types/http-errors': 2.0.4 - '@types/node': 22.7.8 + '@types/node': 22.9.0 '@types/send': 0.17.4 '@types/stack-utils@2.0.3': {} @@ -14323,7 +14259,7 @@ snapshots: '@types/wait-on@5.3.4': dependencies: - '@types/node': 22.7.8 + '@types/node': 22.9.0 '@types/yargs-parser@21.0.3': {} @@ -14341,7 +14277,7 @@ snapshots: '@typescript-eslint/eslint-plugin@5.62.0(@typescript-eslint/parser@8.10.0(eslint@8.57.1)(typescript@5.5.4))(eslint@8.57.1)(typescript@5.5.4)': dependencies: - '@eslint-community/regexpp': 4.11.1 + '@eslint-community/regexpp': 4.12.1 '@typescript-eslint/parser': 8.10.0(eslint@8.57.1)(typescript@5.5.4) '@typescript-eslint/scope-manager': 5.62.0 '@typescript-eslint/type-utils': 5.62.0(eslint@8.57.1)(typescript@5.5.4) @@ -14389,10 +14325,10 @@ snapshots: '@typescript-eslint/types': 8.10.0 '@typescript-eslint/visitor-keys': 8.10.0 - '@typescript-eslint/scope-manager@8.11.0': + '@typescript-eslint/scope-manager@8.13.0': dependencies: - '@typescript-eslint/types': 8.11.0 - '@typescript-eslint/visitor-keys': 8.11.0 + '@typescript-eslint/types': 8.13.0 + '@typescript-eslint/visitor-keys': 8.13.0 '@typescript-eslint/type-utils@5.62.0(eslint@8.57.1)(typescript@5.5.4)': dependencies: @@ -14412,7 +14348,7 @@ snapshots: '@typescript-eslint/types@8.10.0': {} - '@typescript-eslint/types@8.11.0': {} + '@typescript-eslint/types@8.13.0': {} '@typescript-eslint/typescript-estree@4.33.0(supports-color@9.4.0)(typescript@3.9.10)': dependencies: @@ -14465,22 +14401,22 @@ snapshots: is-glob: 4.0.3 minimatch: 9.0.5 semver: 7.6.3 - ts-api-utils: 1.3.0(typescript@5.5.4) + ts-api-utils: 1.4.0(typescript@5.5.4) optionalDependencies: typescript: 5.5.4 transitivePeerDependencies: - supports-color - '@typescript-eslint/typescript-estree@8.11.0(typescript@5.5.4)': + '@typescript-eslint/typescript-estree@8.13.0(typescript@5.5.4)': dependencies: - '@typescript-eslint/types': 8.11.0 - '@typescript-eslint/visitor-keys': 8.11.0 + '@typescript-eslint/types': 8.13.0 + '@typescript-eslint/visitor-keys': 8.13.0 debug: 4.3.7(supports-color@9.4.0) fast-glob: 3.3.2 is-glob: 4.0.3 minimatch: 9.0.5 semver: 7.6.3 - ts-api-utils: 1.3.0(typescript@5.5.4) + ts-api-utils: 1.4.0(typescript@5.5.4) optionalDependencies: typescript: 5.5.4 transitivePeerDependencies: @@ -14488,7 +14424,7 @@ snapshots: '@typescript-eslint/utils@5.62.0(eslint@8.57.1)(typescript@5.5.4)': dependencies: - '@eslint-community/eslint-utils': 4.4.0(eslint@8.57.1) + '@eslint-community/eslint-utils': 4.4.1(eslint@8.57.1) '@types/json-schema': 7.0.15 '@types/semver': 7.5.8 '@typescript-eslint/scope-manager': 5.62.0 @@ -14501,12 +14437,12 @@ snapshots: - supports-color - typescript - '@typescript-eslint/utils@8.11.0(eslint@8.57.1)(typescript@5.5.4)': + '@typescript-eslint/utils@8.13.0(eslint@8.57.1)(typescript@5.5.4)': dependencies: - '@eslint-community/eslint-utils': 4.4.0(eslint@8.57.1) - '@typescript-eslint/scope-manager': 8.11.0 - '@typescript-eslint/types': 8.11.0 - '@typescript-eslint/typescript-estree': 8.11.0(typescript@5.5.4) + '@eslint-community/eslint-utils': 4.4.1(eslint@8.57.1) + '@typescript-eslint/scope-manager': 8.13.0 + '@typescript-eslint/types': 8.13.0 + '@typescript-eslint/typescript-estree': 8.13.0(typescript@5.5.4) eslint: 8.57.1 transitivePeerDependencies: - supports-color @@ -14527,17 +14463,17 @@ snapshots: '@typescript-eslint/types': 8.10.0 eslint-visitor-keys: 3.4.3 - '@typescript-eslint/visitor-keys@8.11.0': + '@typescript-eslint/visitor-keys@8.13.0': dependencies: - '@typescript-eslint/types': 8.11.0 + '@typescript-eslint/types': 8.13.0 eslint-visitor-keys: 3.4.3 '@ungap/structured-clone@1.2.0': {} - '@vercel/nft@0.17.5(encoding@0.1.13)(supports-color@9.4.0)': + '@vercel/nft@0.17.5(supports-color@9.4.0)': dependencies: - '@mapbox/node-pre-gyp': 1.0.11(encoding@0.1.13)(supports-color@9.4.0) - acorn: 8.13.0 + '@mapbox/node-pre-gyp': 1.0.11(supports-color@9.4.0) + acorn: 8.14.0 bindings: 1.5.0 estree-walker: 2.0.2 glob: 7.2.3 @@ -14551,11 +14487,11 @@ snapshots: - encoding - supports-color - '@vercel/nft@0.22.6(encoding@0.1.13)(supports-color@9.4.0)': + '@vercel/nft@0.22.6(supports-color@9.4.0)': dependencies: - '@mapbox/node-pre-gyp': 1.0.11(encoding@0.1.13)(supports-color@9.4.0) + '@mapbox/node-pre-gyp': 1.0.11(supports-color@9.4.0) '@rollup/pluginutils': 4.2.1 - acorn: 8.13.0 + acorn: 8.14.0 async-sema: 3.1.1 bindings: 1.5.0 estree-walker: 2.0.2 @@ -14572,14 +14508,14 @@ snapshots: dependencies: '@vitest/spy': 2.0.5 '@vitest/utils': 2.0.5 - chai: 5.1.1 + chai: 5.1.2 tinyrainbow: 1.2.0 '@vitest/pretty-format@2.0.5': dependencies: tinyrainbow: 1.2.0 - '@vitest/pretty-format@2.1.3': + '@vitest/pretty-format@2.1.4': dependencies: tinyrainbow: 1.2.0 @@ -14594,9 +14530,9 @@ snapshots: loupe: 3.1.2 tinyrainbow: 1.2.0 - '@vitest/utils@2.1.3': + '@vitest/utils@2.1.4': dependencies: - '@vitest/pretty-format': 2.1.3 + '@vitest/pretty-format': 2.1.4 loupe: 3.1.2 tinyrainbow: 1.2.0 @@ -14676,12 +14612,12 @@ snapshots: '@webassemblyjs/ast': 1.12.1 '@xtuc/long': 4.2.2 - '@workleap/swc-configs@2.2.3(@swc/core@1.7.39(@swc/helpers@0.5.13))(@swc/helpers@0.5.13)(@swc/jest@0.2.36(@swc/core@1.7.39(@swc/helpers@0.5.13)))(browserslist@4.24.0)': + '@workleap/swc-configs@2.2.3(@swc/core@1.8.0(@swc/helpers@0.5.13))(@swc/helpers@0.5.13)(@swc/jest@0.2.37(@swc/core@1.8.0(@swc/helpers@0.5.13)))(browserslist@4.24.0)': dependencies: - '@swc/core': 1.7.39(@swc/helpers@0.5.13) + '@swc/core': 1.8.0(@swc/helpers@0.5.13) '@swc/helpers': 0.5.13 optionalDependencies: - '@swc/jest': 0.2.36(@swc/core@1.7.39(@swc/helpers@0.5.13)) + '@swc/jest': 0.2.37(@swc/core@1.8.0(@swc/helpers@0.5.13)) browserslist: 4.24.0 '@xtuc/ieee754@1.2.0': {} @@ -14707,30 +14643,26 @@ snapshots: acorn-globals@7.0.1: dependencies: - acorn: 8.13.0 + acorn: 8.14.0 acorn-walk: 8.3.4 - acorn-import-attributes@1.9.5(acorn@8.13.0): - dependencies: - acorn: 8.13.0 - acorn-jsx@5.3.2(acorn@7.4.1): dependencies: acorn: 7.4.1 - acorn-jsx@5.3.2(acorn@8.13.0): + acorn-jsx@5.3.2(acorn@8.14.0): dependencies: - acorn: 8.13.0 + acorn: 8.14.0 acorn-walk@7.2.0: {} acorn-walk@8.3.4: dependencies: - acorn: 8.13.0 + acorn: 8.14.0 acorn@7.4.1: {} - acorn@8.13.0: {} + acorn@8.14.0: {} agent-base@6.0.2(supports-color@9.4.0): dependencies: @@ -15033,7 +14965,7 @@ snapshots: ast-types@0.16.1: dependencies: - tslib: 2.8.0 + tslib: 2.8.1 astral-regex@2.0.0: {} @@ -15051,7 +14983,7 @@ snapshots: dependencies: possible-typed-array-names: 1.0.0 - axe-core@4.10.1: {} + axe-core@4.10.2: {} axios@1.7.7: dependencies: @@ -15063,13 +14995,13 @@ snapshots: axobject-query@4.1.0: {} - babel-jest@29.7.0(@babel/core@7.25.9): + babel-jest@29.7.0(@babel/core@7.26.0): dependencies: - '@babel/core': 7.25.9(supports-color@9.4.0) + '@babel/core': 7.26.0(supports-color@9.4.0) '@jest/transform': 29.7.0 '@types/babel__core': 7.20.5 babel-plugin-istanbul: 6.1.1 - babel-preset-jest: 29.6.3(@babel/core@7.25.9) + babel-preset-jest: 29.6.3(@babel/core@7.26.0) chalk: 4.1.2 graceful-fs: 4.2.11 slash: 3.0.0 @@ -15089,58 +15021,58 @@ snapshots: babel-plugin-jest-hoist@29.6.3: dependencies: '@babel/template': 7.25.9 - '@babel/types': 7.25.9 + '@babel/types': 7.26.0 '@types/babel__core': 7.20.5 '@types/babel__traverse': 7.20.6 - babel-plugin-polyfill-corejs2@0.4.11(@babel/core@7.25.9)(supports-color@9.4.0): + babel-plugin-polyfill-corejs2@0.4.11(@babel/core@7.26.0)(supports-color@9.4.0): dependencies: - '@babel/compat-data': 7.25.9 - '@babel/core': 7.25.9(supports-color@9.4.0) - '@babel/helper-define-polyfill-provider': 0.6.2(@babel/core@7.25.9)(supports-color@9.4.0) + '@babel/compat-data': 7.26.2 + '@babel/core': 7.26.0(supports-color@9.4.0) + '@babel/helper-define-polyfill-provider': 0.6.2(@babel/core@7.26.0)(supports-color@9.4.0) semver: 6.3.1 transitivePeerDependencies: - supports-color - babel-plugin-polyfill-corejs3@0.10.6(@babel/core@7.25.9)(supports-color@9.4.0): + babel-plugin-polyfill-corejs3@0.10.6(@babel/core@7.26.0)(supports-color@9.4.0): dependencies: - '@babel/core': 7.25.9(supports-color@9.4.0) - '@babel/helper-define-polyfill-provider': 0.6.2(@babel/core@7.25.9)(supports-color@9.4.0) - core-js-compat: 3.38.1 + '@babel/core': 7.26.0(supports-color@9.4.0) + '@babel/helper-define-polyfill-provider': 0.6.2(@babel/core@7.26.0)(supports-color@9.4.0) + core-js-compat: 3.39.0 transitivePeerDependencies: - supports-color - babel-plugin-polyfill-regenerator@0.6.2(@babel/core@7.25.9)(supports-color@9.4.0): + babel-plugin-polyfill-regenerator@0.6.2(@babel/core@7.26.0)(supports-color@9.4.0): dependencies: - '@babel/core': 7.25.9(supports-color@9.4.0) - '@babel/helper-define-polyfill-provider': 0.6.2(@babel/core@7.25.9)(supports-color@9.4.0) + '@babel/core': 7.26.0(supports-color@9.4.0) + '@babel/helper-define-polyfill-provider': 0.6.2(@babel/core@7.26.0)(supports-color@9.4.0) transitivePeerDependencies: - supports-color - babel-preset-current-node-syntax@1.1.0(@babel/core@7.25.9): - dependencies: - '@babel/core': 7.25.9(supports-color@9.4.0) - '@babel/plugin-syntax-async-generators': 7.8.4(@babel/core@7.25.9) - '@babel/plugin-syntax-bigint': 7.8.3(@babel/core@7.25.9) - '@babel/plugin-syntax-class-properties': 7.12.13(@babel/core@7.25.9) - '@babel/plugin-syntax-class-static-block': 7.14.5(@babel/core@7.25.9) - '@babel/plugin-syntax-import-attributes': 7.25.9(@babel/core@7.25.9) - '@babel/plugin-syntax-import-meta': 7.10.4(@babel/core@7.25.9) - '@babel/plugin-syntax-json-strings': 7.8.3(@babel/core@7.25.9) - '@babel/plugin-syntax-logical-assignment-operators': 7.10.4(@babel/core@7.25.9) - '@babel/plugin-syntax-nullish-coalescing-operator': 7.8.3(@babel/core@7.25.9) - '@babel/plugin-syntax-numeric-separator': 7.10.4(@babel/core@7.25.9) - '@babel/plugin-syntax-object-rest-spread': 7.8.3(@babel/core@7.25.9) - '@babel/plugin-syntax-optional-catch-binding': 7.8.3(@babel/core@7.25.9) - '@babel/plugin-syntax-optional-chaining': 7.8.3(@babel/core@7.25.9) - '@babel/plugin-syntax-private-property-in-object': 7.14.5(@babel/core@7.25.9) - '@babel/plugin-syntax-top-level-await': 7.14.5(@babel/core@7.25.9) - - babel-preset-jest@29.6.3(@babel/core@7.25.9): - dependencies: - '@babel/core': 7.25.9(supports-color@9.4.0) + babel-preset-current-node-syntax@1.1.0(@babel/core@7.26.0): + dependencies: + '@babel/core': 7.26.0(supports-color@9.4.0) + '@babel/plugin-syntax-async-generators': 7.8.4(@babel/core@7.26.0) + '@babel/plugin-syntax-bigint': 7.8.3(@babel/core@7.26.0) + '@babel/plugin-syntax-class-properties': 7.12.13(@babel/core@7.26.0) + '@babel/plugin-syntax-class-static-block': 7.14.5(@babel/core@7.26.0) + '@babel/plugin-syntax-import-attributes': 7.26.0(@babel/core@7.26.0) + '@babel/plugin-syntax-import-meta': 7.10.4(@babel/core@7.26.0) + '@babel/plugin-syntax-json-strings': 7.8.3(@babel/core@7.26.0) + '@babel/plugin-syntax-logical-assignment-operators': 7.10.4(@babel/core@7.26.0) + '@babel/plugin-syntax-nullish-coalescing-operator': 7.8.3(@babel/core@7.26.0) + '@babel/plugin-syntax-numeric-separator': 7.10.4(@babel/core@7.26.0) + '@babel/plugin-syntax-object-rest-spread': 7.8.3(@babel/core@7.26.0) + '@babel/plugin-syntax-optional-catch-binding': 7.8.3(@babel/core@7.26.0) + '@babel/plugin-syntax-optional-chaining': 7.8.3(@babel/core@7.26.0) + '@babel/plugin-syntax-private-property-in-object': 7.14.5(@babel/core@7.26.0) + '@babel/plugin-syntax-top-level-await': 7.14.5(@babel/core@7.26.0) + + babel-preset-jest@29.6.3(@babel/core@7.26.0): + dependencies: + '@babel/core': 7.26.0(supports-color@9.4.0) babel-plugin-jest-hoist: 29.6.3 - babel-preset-current-node-syntax: 1.1.0(@babel/core@7.25.9) + babel-preset-current-node-syntax: 1.1.0(@babel/core@7.26.0) backoff@2.5.0: dependencies: @@ -15268,11 +15200,18 @@ snapshots: browserslist@4.24.0: dependencies: - caniuse-lite: 1.0.30001669 - electron-to-chromium: 1.5.42 + caniuse-lite: 1.0.30001677 + electron-to-chromium: 1.5.51 node-releases: 2.0.18 update-browserslist-db: 1.1.1(browserslist@4.24.0) + browserslist@4.24.2: + dependencies: + caniuse-lite: 1.0.30001677 + electron-to-chromium: 1.5.51 + node-releases: 2.0.18 + update-browserslist-db: 1.1.1(browserslist@4.24.2) + bs-logger@0.2.6: dependencies: fast-json-stable-stringify: 2.1.0 @@ -15310,7 +15249,7 @@ snapshots: builtins@5.1.0: dependencies: - semver: 7.3.4 + semver: 7.6.3 byline@5.0.0: {} @@ -15391,7 +15330,7 @@ snapshots: camel-case@4.1.2: dependencies: pascal-case: 3.1.2 - tslib: 2.8.0 + tslib: 2.8.1 camelcase-keys@6.2.2: dependencies: @@ -15405,13 +15344,13 @@ snapshots: camelcase@7.0.1: {} - caniuse-lite@1.0.30001669: {} + caniuse-lite@1.0.30001677: {} case-sensitive-paths-webpack-plugin@2.4.0: {} ccount@2.0.1: {} - chai@5.1.1: + chai@5.1.2: dependencies: assertion-error: 2.0.1 check-error: 2.1.1 @@ -15497,7 +15436,7 @@ snapshots: chownr@2.0.0: {} - chromatic@11.14.0: {} + chromatic@11.16.5: {} chromatic@6.3.4: {} @@ -15778,11 +15717,11 @@ snapshots: untildify: 4.0.0 yargs: 16.2.0 - core-js-compat@3.38.1: + core-js-compat@3.39.0: dependencies: - browserslist: 4.24.0 + browserslist: 4.24.2 - core-js-pure@3.38.1: {} + core-js-pure@3.39.0: {} core-util-is@1.0.3: {} @@ -15829,13 +15768,13 @@ snapshots: crc-32: 1.2.2 readable-stream: 3.6.2 - create-jest@29.7.0(@types/node@16.18.114)(ts-node@10.4.0(@swc/core@1.7.39(@swc/helpers@0.5.13))(@types/node@16.18.114)(typescript@5.5.4)): + create-jest@29.7.0(@types/node@16.18.119)(ts-node@10.4.0(@swc/core@1.8.0(@swc/helpers@0.5.13))(@types/node@16.18.119)(typescript@5.5.4)): dependencies: '@jest/types': 29.6.3 chalk: 4.1.2 exit: 0.1.2 graceful-fs: 4.2.11 - jest-config: 29.7.0(@types/node@16.18.114)(ts-node@10.4.0(@swc/core@1.7.39(@swc/helpers@0.5.13))(@types/node@16.18.114)(typescript@5.5.4)) + jest-config: 29.7.0(@types/node@16.18.119)(ts-node@10.4.0(@swc/core@1.8.0(@swc/helpers@0.5.13))(@types/node@16.18.119)(typescript@5.5.4)) jest-util: 29.7.0 prompts: 2.4.2 transitivePeerDependencies: @@ -15870,7 +15809,7 @@ snapshots: css-functions-list@3.2.3: {} - css-loader@6.11.0(webpack@5.95.0(@swc/core@1.7.39(@swc/helpers@0.5.13))(esbuild@0.23.1)): + css-loader@6.11.0(webpack@5.96.1(@swc/core@1.8.0(@swc/helpers@0.5.13))(esbuild@0.23.1)): dependencies: icss-utils: 5.1.0(postcss@8.4.47) postcss: 8.4.47 @@ -15881,7 +15820,7 @@ snapshots: postcss-value-parser: 4.2.0 semver: 7.6.3 optionalDependencies: - webpack: 5.95.0(@swc/core@1.7.39(@swc/helpers@0.5.13))(esbuild@0.23.1) + webpack: 5.96.1(@swc/core@1.8.0(@swc/helpers@0.5.13))(esbuild@0.23.1) css-select@4.3.0: dependencies: @@ -16333,7 +16272,7 @@ snapshots: dot-case@3.0.4: dependencies: no-case: 3.0.4 - tslib: 2.8.0 + tslib: 2.8.1 dot-prop@5.3.0: dependencies: @@ -16375,7 +16314,7 @@ snapshots: dependencies: jake: 10.9.2 - electron-to-chromium@1.5.42: {} + electron-to-chromium@1.5.51: {} elegant-spinner@1.0.1: {} @@ -16395,11 +16334,6 @@ snapshots: encodeurl@2.0.0: {} - encoding@0.1.13: - dependencies: - iconv-lite: 0.6.3 - optional: true - end-of-stream@1.4.4: dependencies: once: 1.4.0 @@ -16493,7 +16427,7 @@ snapshots: es-errors@1.3.0: {} - es-iterator-helpers@1.1.0: + es-iterator-helpers@1.2.0: dependencies: call-bind: 1.0.7 define-properties: 1.2.1 @@ -16503,6 +16437,7 @@ snapshots: function-bind: 1.1.2 get-intrinsic: 1.2.4 globalthis: 1.0.4 + gopd: 1.0.1 has-property-descriptors: 1.0.2 has-proto: 1.0.3 has-symbols: 1.0.3 @@ -16655,8 +16590,8 @@ snapshots: eslint-mdx@2.3.4(eslint@8.57.1): dependencies: - acorn: 8.13.0 - acorn-jsx: 5.3.2(acorn@8.13.0) + acorn: 8.14.0 + acorn-jsx: 5.3.2(acorn@8.14.0) eslint: 8.57.1 espree: 9.6.1 estree-util-visit: 1.2.1 @@ -16664,7 +16599,7 @@ snapshots: remark-parse: 10.0.2 remark-stringify: 10.0.3 synckit: 0.9.2 - tslib: 2.8.0 + tslib: 2.8.1 unified: 10.1.2 unified-engine: 10.1.0 unist-util-visit: 4.1.2 @@ -16712,28 +16647,27 @@ snapshots: - eslint-import-resolver-webpack - supports-color - eslint-plugin-jest@27.9.0(@typescript-eslint/eslint-plugin@5.62.0(@typescript-eslint/parser@8.10.0(eslint@8.57.1)(typescript@5.5.4))(eslint@8.57.1)(typescript@5.5.4))(eslint@8.57.1)(jest@29.7.0(@types/node@16.18.114)(ts-node@10.4.0(@swc/core@1.7.39(@swc/helpers@0.5.13))(@types/node@16.18.114)(typescript@5.5.4)))(typescript@5.5.4): + eslint-plugin-jest@27.9.0(@typescript-eslint/eslint-plugin@5.62.0(@typescript-eslint/parser@8.10.0(eslint@8.57.1)(typescript@5.5.4))(eslint@8.57.1)(typescript@5.5.4))(eslint@8.57.1)(jest@29.7.0(@types/node@16.18.119)(ts-node@10.4.0(@swc/core@1.8.0(@swc/helpers@0.5.13))(@types/node@16.18.119)(typescript@5.5.4)))(typescript@5.5.4): dependencies: '@typescript-eslint/utils': 5.62.0(eslint@8.57.1)(typescript@5.5.4) eslint: 8.57.1 optionalDependencies: '@typescript-eslint/eslint-plugin': 5.62.0(@typescript-eslint/parser@8.10.0(eslint@8.57.1)(typescript@5.5.4))(eslint@8.57.1)(typescript@5.5.4) - jest: 29.7.0(@types/node@16.18.114)(ts-node@10.4.0(@swc/core@1.7.39(@swc/helpers@0.5.13))(@types/node@16.18.114)(typescript@5.5.4)) + jest: 29.7.0(@types/node@16.18.119)(ts-node@10.4.0(@swc/core@1.8.0(@swc/helpers@0.5.13))(@types/node@16.18.119)(typescript@5.5.4)) transitivePeerDependencies: - supports-color - typescript - eslint-plugin-jsx-a11y@6.10.1(eslint@8.57.1): + eslint-plugin-jsx-a11y@6.10.2(eslint@8.57.1): dependencies: aria-query: 5.3.2 array-includes: 3.1.8 array.prototype.flatmap: 1.3.2 ast-types-flow: 0.0.8 - axe-core: 4.10.1 + axe-core: 4.10.2 axobject-query: 4.1.0 damerau-levenshtein: 1.0.8 emoji-regex: 9.2.2 - es-iterator-helpers: 1.1.0 eslint: 8.57.1 hasown: 2.0.2 jsx-ast-utils: 3.3.5 @@ -16763,7 +16697,7 @@ snapshots: remark-mdx: 2.3.0 remark-parse: 10.0.2 remark-stringify: 10.0.3 - tslib: 2.8.0 + tslib: 2.8.1 unified: 10.1.2 vfile: 5.3.7 transitivePeerDependencies: @@ -16781,14 +16715,14 @@ snapshots: - supports-color - typescript - eslint-plugin-react@7.37.1(eslint@8.57.1): + eslint-plugin-react@7.37.2(eslint@8.57.1): dependencies: array-includes: 3.1.8 array.prototype.findlast: 1.2.5 array.prototype.flatmap: 1.3.2 array.prototype.tosorted: 1.1.4 doctrine: 2.1.0 - es-iterator-helpers: 1.1.0 + es-iterator-helpers: 1.2.0 eslint: 8.57.1 estraverse: 5.3.0 hasown: 2.0.2 @@ -16819,10 +16753,10 @@ snapshots: natural-compare: 1.4.0 requireindex: 1.2.0 - eslint-plugin-storybook@0.10.1(eslint@8.57.1)(typescript@5.5.4): + eslint-plugin-storybook@0.11.0(eslint@8.57.1)(typescript@5.5.4): dependencies: '@storybook/csf': 0.1.11 - '@typescript-eslint/utils': 8.11.0(eslint@8.57.1)(typescript@5.5.4) + '@typescript-eslint/utils': 8.13.0(eslint@8.57.1)(typescript@5.5.4) eslint: 8.57.1 ts-dedent: 2.2.0 transitivePeerDependencies: @@ -16866,8 +16800,8 @@ snapshots: eslint@8.57.1: dependencies: - '@eslint-community/eslint-utils': 4.4.0(eslint@8.57.1) - '@eslint-community/regexpp': 4.11.1 + '@eslint-community/eslint-utils': 4.4.1(eslint@8.57.1) + '@eslint-community/regexpp': 4.12.1 '@eslint/eslintrc': 2.1.4 '@eslint/js': 8.57.1 '@humanwhocodes/config-array': 0.13.0 @@ -16915,8 +16849,8 @@ snapshots: espree@9.6.1: dependencies: - acorn: 8.13.0 - acorn-jsx: 5.3.2(acorn@8.13.0) + acorn: 8.14.0 + acorn-jsx: 5.3.2(acorn@8.14.0) eslint-visitor-keys: 3.4.3 esprima@4.0.1: {} @@ -17318,9 +17252,9 @@ snapshots: cross-spawn: 7.0.3 signal-exit: 4.1.0 - fork-ts-checker-webpack-plugin@8.0.0(typescript@5.5.4)(webpack@5.95.0(@swc/core@1.7.39(@swc/helpers@0.5.13))(esbuild@0.23.1)): + fork-ts-checker-webpack-plugin@8.0.0(typescript@5.5.4)(webpack@5.96.1(@swc/core@1.8.0(@swc/helpers@0.5.13))(esbuild@0.23.1)): dependencies: - '@babel/code-frame': 7.25.9 + '@babel/code-frame': 7.26.2 chalk: 4.1.2 chokidar: 3.6.0 cosmiconfig: 7.1.0 @@ -17333,7 +17267,7 @@ snapshots: semver: 7.6.3 tapable: 2.2.1 typescript: 5.5.4 - webpack: 5.95.0(@swc/core@1.7.39(@swc/helpers@0.5.13))(esbuild@0.23.1) + webpack: 5.96.1(@swc/core@1.8.0(@swc/helpers@0.5.13))(esbuild@0.23.1) form-data@2.5.2: dependencies: @@ -17364,7 +17298,7 @@ snapshots: react: 18.3.1 react-fast-compare: 2.0.4 tiny-warning: 1.0.3 - tslib: 2.8.0 + tslib: 2.8.1 forwarded@0.2.0: {} @@ -17518,13 +17452,13 @@ snapshots: get-value@2.0.6: {} - gh-release-fetch@3.0.2(encoding@0.1.13): + gh-release-fetch@3.0.2: dependencies: '@types/download': 8.0.5 '@types/node-fetch': 2.6.11 '@types/semver': 7.5.8 download: 8.0.0 - node-fetch: 2.7.0(encoding@0.1.13) + node-fetch: 2.7.0 semver: 7.6.3 transitivePeerDependencies: - encoding @@ -17563,15 +17497,6 @@ snapshots: package-json-from-dist: 1.0.1 path-scurry: 1.11.1 - glob@11.0.0: - dependencies: - foreground-child: 3.3.0 - jackspeak: 4.0.2 - minimatch: 10.0.1 - minipass: 7.1.2 - package-json-from-dist: 1.0.1 - path-scurry: 2.0.0 - glob@7.1.7: dependencies: fs.realpath: 1.0.0 @@ -17866,7 +17791,7 @@ snapshots: html-tags@3.3.1: {} - html-webpack-plugin@5.6.2(webpack@5.95.0(@swc/core@1.7.39(@swc/helpers@0.5.13))(esbuild@0.23.1)): + html-webpack-plugin@5.6.3(webpack@5.96.1(@swc/core@1.8.0(@swc/helpers@0.5.13))(esbuild@0.23.1)): dependencies: '@types/html-minifier-terser': 6.1.0 html-minifier-terser: 6.1.0 @@ -17874,7 +17799,7 @@ snapshots: pretty-error: 4.0.0 tapable: 2.2.1 optionalDependencies: - webpack: 5.95.0(@swc/core@1.7.39(@swc/helpers@0.5.13))(esbuild@0.23.1) + webpack: 5.96.1(@swc/core@1.8.0(@swc/helpers@0.5.13))(esbuild@0.23.1) htmlparser2@3.10.1: dependencies: @@ -18051,12 +17976,12 @@ snapshots: interpret@1.4.0: {} - intl-messageformat@10.7.1: + intl-messageformat@10.7.6: dependencies: - '@formatjs/ecma402-abstract': 2.2.0 - '@formatjs/fast-memoize': 2.2.1 - '@formatjs/icu-messageformat-parser': 2.8.0 - tslib: 2.8.0 + '@formatjs/ecma402-abstract': 2.2.3 + '@formatjs/fast-memoize': 2.2.3 + '@formatjs/icu-messageformat-parser': 2.9.3 + tslib: 2.8.1 into-stream@3.1.0: dependencies: @@ -18359,7 +18284,7 @@ snapshots: istanbul-lib-instrument@4.0.3: dependencies: - '@babel/core': 7.25.9(supports-color@9.4.0) + '@babel/core': 7.26.0(supports-color@9.4.0) '@istanbuljs/schema': 0.1.3 istanbul-lib-coverage: 3.2.2 semver: 6.3.1 @@ -18368,8 +18293,8 @@ snapshots: istanbul-lib-instrument@5.2.1: dependencies: - '@babel/core': 7.25.9(supports-color@9.4.0) - '@babel/parser': 7.25.9 + '@babel/core': 7.26.0(supports-color@9.4.0) + '@babel/parser': 7.26.2 '@istanbuljs/schema': 0.1.3 istanbul-lib-coverage: 3.2.2 semver: 6.3.1 @@ -18378,8 +18303,8 @@ snapshots: istanbul-lib-instrument@6.0.3: dependencies: - '@babel/core': 7.25.9(supports-color@9.4.0) - '@babel/parser': 7.25.9 + '@babel/core': 7.26.0(supports-color@9.4.0) + '@babel/parser': 7.26.2 '@istanbuljs/schema': 0.1.3 istanbul-lib-coverage: 3.2.2 semver: 7.6.3 @@ -18433,10 +18358,6 @@ snapshots: optionalDependencies: '@pkgjs/parseargs': 0.11.0 - jackspeak@4.0.2: - dependencies: - '@isaacs/cliui': 8.0.2 - jake@10.9.2: dependencies: async: 3.2.6 @@ -18456,7 +18377,7 @@ snapshots: '@jest/expect': 29.7.0 '@jest/test-result': 29.7.0 '@jest/types': 29.6.3 - '@types/node': 22.7.8 + '@types/node': 22.9.0 chalk: 4.1.2 co: 4.6.0 dedent: 1.5.3 @@ -18476,16 +18397,16 @@ snapshots: - babel-plugin-macros - supports-color - jest-cli@29.7.0(@types/node@16.18.114)(ts-node@10.4.0(@swc/core@1.7.39(@swc/helpers@0.5.13))(@types/node@16.18.114)(typescript@5.5.4)): + jest-cli@29.7.0(@types/node@16.18.119)(ts-node@10.4.0(@swc/core@1.8.0(@swc/helpers@0.5.13))(@types/node@16.18.119)(typescript@5.5.4)): dependencies: - '@jest/core': 29.7.0(ts-node@10.4.0(@swc/core@1.7.39(@swc/helpers@0.5.13))(@types/node@16.18.114)(typescript@5.5.4)) + '@jest/core': 29.7.0(ts-node@10.4.0(@swc/core@1.8.0(@swc/helpers@0.5.13))(@types/node@16.18.119)(typescript@5.5.4)) '@jest/test-result': 29.7.0 '@jest/types': 29.6.3 chalk: 4.1.2 - create-jest: 29.7.0(@types/node@16.18.114)(ts-node@10.4.0(@swc/core@1.7.39(@swc/helpers@0.5.13))(@types/node@16.18.114)(typescript@5.5.4)) + create-jest: 29.7.0(@types/node@16.18.119)(ts-node@10.4.0(@swc/core@1.8.0(@swc/helpers@0.5.13))(@types/node@16.18.119)(typescript@5.5.4)) exit: 0.1.2 import-local: 3.2.0 - jest-config: 29.7.0(@types/node@16.18.114)(ts-node@10.4.0(@swc/core@1.7.39(@swc/helpers@0.5.13))(@types/node@16.18.114)(typescript@5.5.4)) + jest-config: 29.7.0(@types/node@16.18.119)(ts-node@10.4.0(@swc/core@1.8.0(@swc/helpers@0.5.13))(@types/node@16.18.119)(typescript@5.5.4)) jest-util: 29.7.0 jest-validate: 29.7.0 yargs: 17.7.2 @@ -18495,12 +18416,12 @@ snapshots: - supports-color - ts-node - jest-config@29.7.0(@types/node@16.18.114)(ts-node@10.4.0(@swc/core@1.7.39(@swc/helpers@0.5.13))(@types/node@16.18.114)(typescript@5.5.4)): + jest-config@29.7.0(@types/node@16.18.119)(ts-node@10.4.0(@swc/core@1.8.0(@swc/helpers@0.5.13))(@types/node@16.18.119)(typescript@5.5.4)): dependencies: - '@babel/core': 7.25.9(supports-color@9.4.0) + '@babel/core': 7.26.0(supports-color@9.4.0) '@jest/test-sequencer': 29.7.0 '@jest/types': 29.6.3 - babel-jest: 29.7.0(@babel/core@7.25.9) + babel-jest: 29.7.0(@babel/core@7.26.0) chalk: 4.1.2 ci-info: 3.9.0 deepmerge: 4.3.1 @@ -18520,18 +18441,18 @@ snapshots: slash: 3.0.0 strip-json-comments: 3.1.1 optionalDependencies: - '@types/node': 16.18.114 - ts-node: 10.4.0(@swc/core@1.7.39(@swc/helpers@0.5.13))(@types/node@16.18.114)(typescript@5.5.4) + '@types/node': 16.18.119 + ts-node: 10.4.0(@swc/core@1.8.0(@swc/helpers@0.5.13))(@types/node@16.18.119)(typescript@5.5.4) transitivePeerDependencies: - babel-plugin-macros - supports-color - jest-config@29.7.0(@types/node@22.7.8)(ts-node@10.4.0(@swc/core@1.7.39(@swc/helpers@0.5.13))(@types/node@16.18.114)(typescript@5.5.4)): + jest-config@29.7.0(@types/node@22.9.0)(ts-node@10.4.0(@swc/core@1.8.0(@swc/helpers@0.5.13))(@types/node@16.18.119)(typescript@5.5.4)): dependencies: - '@babel/core': 7.25.9(supports-color@9.4.0) + '@babel/core': 7.26.0(supports-color@9.4.0) '@jest/test-sequencer': 29.7.0 '@jest/types': 29.6.3 - babel-jest: 29.7.0(@babel/core@7.25.9) + babel-jest: 29.7.0(@babel/core@7.26.0) chalk: 4.1.2 ci-info: 3.9.0 deepmerge: 4.3.1 @@ -18551,8 +18472,8 @@ snapshots: slash: 3.0.0 strip-json-comments: 3.1.1 optionalDependencies: - '@types/node': 22.7.8 - ts-node: 10.4.0(@swc/core@1.7.39(@swc/helpers@0.5.13))(@types/node@16.18.114)(typescript@5.5.4) + '@types/node': 22.9.0 + ts-node: 10.4.0(@swc/core@1.8.0(@swc/helpers@0.5.13))(@types/node@16.18.119)(typescript@5.5.4) transitivePeerDependencies: - babel-plugin-macros - supports-color @@ -18582,7 +18503,7 @@ snapshots: '@jest/fake-timers': 29.7.0 '@jest/types': 29.6.3 '@types/jsdom': 20.0.1 - '@types/node': 22.7.8 + '@types/node': 22.9.0 jest-mock: 29.7.0 jest-util: 29.7.0 jsdom: 20.0.3 @@ -18596,7 +18517,7 @@ snapshots: '@jest/environment': 29.7.0 '@jest/fake-timers': 29.7.0 '@jest/types': 29.6.3 - '@types/node': 22.7.8 + '@types/node': 22.9.0 jest-mock: 29.7.0 jest-util: 29.7.0 @@ -18610,7 +18531,7 @@ snapshots: dependencies: '@jest/types': 29.6.3 '@types/graceful-fs': 4.1.9 - '@types/node': 22.7.8 + '@types/node': 22.9.0 anymatch: 3.1.3 fb-watchman: 2.0.2 graceful-fs: 4.2.11 @@ -18643,7 +18564,7 @@ snapshots: jest-message-util@29.7.0: dependencies: - '@babel/code-frame': 7.25.9 + '@babel/code-frame': 7.26.2 '@jest/types': 29.6.3 '@types/stack-utils': 2.0.3 chalk: 4.1.2 @@ -18656,19 +18577,19 @@ snapshots: jest-mock@29.7.0: dependencies: '@jest/types': 29.6.3 - '@types/node': 22.7.8 + '@types/node': 22.9.0 jest-util: 29.7.0 - jest-playwright-preset@4.0.0(jest-circus@29.7.0)(jest-environment-node@29.7.0)(jest-runner@29.7.0)(jest@29.7.0(@types/node@16.18.114)(ts-node@10.4.0(@swc/core@1.7.39(@swc/helpers@0.5.13))(@types/node@16.18.114)(typescript@5.5.4))): + jest-playwright-preset@4.0.0(jest-circus@29.7.0)(jest-environment-node@29.7.0)(jest-runner@29.7.0)(jest@29.7.0(@types/node@16.18.119)(ts-node@10.4.0(@swc/core@1.8.0(@swc/helpers@0.5.13))(@types/node@16.18.119)(typescript@5.5.4))): dependencies: expect-playwright: 0.8.0 - jest: 29.7.0(@types/node@16.18.114)(ts-node@10.4.0(@swc/core@1.7.39(@swc/helpers@0.5.13))(@types/node@16.18.114)(typescript@5.5.4)) + jest: 29.7.0(@types/node@16.18.119)(ts-node@10.4.0(@swc/core@1.8.0(@swc/helpers@0.5.13))(@types/node@16.18.119)(typescript@5.5.4)) jest-circus: 29.7.0 jest-environment-node: 29.7.0 jest-process-manager: 0.4.0 jest-runner: 29.7.0 nyc: 15.1.0 - playwright-core: 1.48.1 + playwright-core: 1.48.2 rimraf: 3.0.2 uuid: 8.3.2 transitivePeerDependencies: @@ -18723,7 +18644,7 @@ snapshots: '@jest/test-result': 29.7.0 '@jest/transform': 29.7.0 '@jest/types': 29.6.3 - '@types/node': 22.7.8 + '@types/node': 22.9.0 chalk: 4.1.2 emittery: 0.13.1 graceful-fs: 4.2.11 @@ -18751,7 +18672,7 @@ snapshots: '@jest/test-result': 29.7.0 '@jest/transform': 29.7.0 '@jest/types': 29.6.3 - '@types/node': 22.7.8 + '@types/node': 22.9.0 chalk: 4.1.2 cjs-module-lexer: 1.4.1 collect-v8-coverage: 1.0.2 @@ -18775,15 +18696,15 @@ snapshots: jest-snapshot@29.7.0: dependencies: - '@babel/core': 7.25.9(supports-color@9.4.0) - '@babel/generator': 7.25.9 - '@babel/plugin-syntax-jsx': 7.25.9(@babel/core@7.25.9) - '@babel/plugin-syntax-typescript': 7.25.9(@babel/core@7.25.9) - '@babel/types': 7.25.9 + '@babel/core': 7.26.0(supports-color@9.4.0) + '@babel/generator': 7.26.2 + '@babel/plugin-syntax-jsx': 7.25.9(@babel/core@7.26.0) + '@babel/plugin-syntax-typescript': 7.25.9(@babel/core@7.26.0) + '@babel/types': 7.26.0 '@jest/expect-utils': 29.7.0 '@jest/transform': 29.7.0 '@jest/types': 29.6.3 - babel-preset-current-node-syntax: 1.1.0(@babel/core@7.25.9) + babel-preset-current-node-syntax: 1.1.0(@babel/core@7.26.0) chalk: 4.1.2 expect: 29.7.0 graceful-fs: 4.2.11 @@ -18801,7 +18722,7 @@ snapshots: jest-util@29.7.0: dependencies: '@jest/types': 29.6.3 - '@types/node': 22.7.8 + '@types/node': 22.9.0 chalk: 4.1.2 ci-info: 3.9.0 graceful-fs: 4.2.11 @@ -18834,11 +18755,11 @@ snapshots: leven: 3.1.0 pretty-format: 29.7.0 - jest-watch-typeahead@2.2.2(jest@29.7.0(@types/node@16.18.114)(ts-node@10.4.0(@swc/core@1.7.39(@swc/helpers@0.5.13))(@types/node@16.18.114)(typescript@5.5.4))): + jest-watch-typeahead@2.2.2(jest@29.7.0(@types/node@16.18.119)(ts-node@10.4.0(@swc/core@1.8.0(@swc/helpers@0.5.13))(@types/node@16.18.119)(typescript@5.5.4))): dependencies: ansi-escapes: 6.2.1 chalk: 5.3.0 - jest: 29.7.0(@types/node@16.18.114)(ts-node@10.4.0(@swc/core@1.7.39(@swc/helpers@0.5.13))(@types/node@16.18.114)(typescript@5.5.4)) + jest: 29.7.0(@types/node@16.18.119)(ts-node@10.4.0(@swc/core@1.8.0(@swc/helpers@0.5.13))(@types/node@16.18.119)(typescript@5.5.4)) jest-regex-util: 29.6.3 jest-watcher: 29.7.0 slash: 5.1.0 @@ -18849,7 +18770,7 @@ snapshots: dependencies: '@jest/test-result': 29.7.0 '@jest/types': 29.6.3 - '@types/node': 22.7.8 + '@types/node': 22.9.0 ansi-escapes: 4.3.2 chalk: 4.1.2 emittery: 0.13.1 @@ -18858,29 +18779,29 @@ snapshots: jest-worker@26.6.2: dependencies: - '@types/node': 22.7.8 + '@types/node': 22.9.0 merge-stream: 2.0.0 supports-color: 7.2.0 jest-worker@27.5.1: dependencies: - '@types/node': 22.7.8 + '@types/node': 22.9.0 merge-stream: 2.0.0 supports-color: 8.1.1 jest-worker@29.7.0: dependencies: - '@types/node': 22.7.8 + '@types/node': 22.9.0 jest-util: 29.7.0 merge-stream: 2.0.0 supports-color: 8.1.1 - jest@29.7.0(@types/node@16.18.114)(ts-node@10.4.0(@swc/core@1.7.39(@swc/helpers@0.5.13))(@types/node@16.18.114)(typescript@5.5.4)): + jest@29.7.0(@types/node@16.18.119)(ts-node@10.4.0(@swc/core@1.8.0(@swc/helpers@0.5.13))(@types/node@16.18.119)(typescript@5.5.4)): dependencies: - '@jest/core': 29.7.0(ts-node@10.4.0(@swc/core@1.7.39(@swc/helpers@0.5.13))(@types/node@16.18.114)(typescript@5.5.4)) + '@jest/core': 29.7.0(ts-node@10.4.0(@swc/core@1.8.0(@swc/helpers@0.5.13))(@types/node@16.18.119)(typescript@5.5.4)) '@jest/types': 29.6.3 import-local: 3.2.0 - jest-cli: 29.7.0(@types/node@16.18.114)(ts-node@10.4.0(@swc/core@1.7.39(@swc/helpers@0.5.13))(@types/node@16.18.114)(typescript@5.5.4)) + jest-cli: 29.7.0(@types/node@16.18.119)(ts-node@10.4.0(@swc/core@1.8.0(@swc/helpers@0.5.13))(@types/node@16.18.119)(typescript@5.5.4)) transitivePeerDependencies: - '@types/node' - babel-plugin-macros @@ -18913,7 +18834,7 @@ snapshots: jsdom@20.0.3: dependencies: abab: 2.0.6 - acorn: 8.13.0 + acorn: 8.14.0 acorn-globals: 7.0.1 cssom: 0.5.0 cssstyle: 2.3.0 @@ -18927,7 +18848,7 @@ snapshots: https-proxy-agent: 5.0.1(supports-color@9.4.0) is-potential-custom-element-name: 1.0.1 nwsapi: 2.2.13 - parse5: 7.2.0 + parse5: 7.2.1 saxes: 6.0.0 symbol-tree: 3.2.4 tough-cookie: 4.1.4 @@ -19030,7 +18951,7 @@ snapshots: dependencies: commander: 10.0.1 dotenv: 16.4.5 - winston: 3.15.0 + winston: 3.16.0 language-subtag-registry@0.3.23: {} @@ -19204,7 +19125,7 @@ snapshots: lower-case@2.0.2: dependencies: - tslib: 2.8.0 + tslib: 2.8.1 lowercase-keys@1.0.0: {} @@ -19214,8 +19135,6 @@ snapshots: lru-cache@10.4.3: {} - lru-cache@11.0.1: {} - lru-cache@4.1.5: dependencies: pseudomap: 1.0.2 @@ -19335,7 +19254,7 @@ snapshots: transitivePeerDependencies: - supports-color - mdast-util-from-markdown@2.0.1: + mdast-util-from-markdown@2.0.2: dependencies: '@types/mdast': 4.0.4 '@types/unist': 3.0.3 @@ -19364,8 +19283,8 @@ snapshots: dependencies: '@types/mdast': 4.0.4 devlop: 1.1.0 - mdast-util-from-markdown: 2.0.1 - mdast-util-to-markdown: 2.1.0 + mdast-util-from-markdown: 2.0.2 + mdast-util-to-markdown: 2.1.2 micromark-util-normalize-identifier: 2.0.0 transitivePeerDependencies: - supports-color @@ -19373,8 +19292,8 @@ snapshots: mdast-util-gfm-strikethrough@2.0.0: dependencies: '@types/mdast': 4.0.4 - mdast-util-from-markdown: 2.0.1 - mdast-util-to-markdown: 2.1.0 + mdast-util-from-markdown: 2.0.2 + mdast-util-to-markdown: 2.1.2 transitivePeerDependencies: - supports-color @@ -19383,8 +19302,8 @@ snapshots: '@types/mdast': 4.0.4 devlop: 1.1.0 markdown-table: 3.0.4 - mdast-util-from-markdown: 2.0.1 - mdast-util-to-markdown: 2.1.0 + mdast-util-from-markdown: 2.0.2 + mdast-util-to-markdown: 2.1.2 transitivePeerDependencies: - supports-color @@ -19392,20 +19311,20 @@ snapshots: dependencies: '@types/mdast': 4.0.4 devlop: 1.1.0 - mdast-util-from-markdown: 2.0.1 - mdast-util-to-markdown: 2.1.0 + mdast-util-from-markdown: 2.0.2 + mdast-util-to-markdown: 2.1.2 transitivePeerDependencies: - supports-color mdast-util-gfm@3.0.0: dependencies: - mdast-util-from-markdown: 2.0.1 + mdast-util-from-markdown: 2.0.2 mdast-util-gfm-autolink-literal: 2.0.1 mdast-util-gfm-footnote: 2.0.0 mdast-util-gfm-strikethrough: 2.0.0 mdast-util-gfm-table: 2.0.0 mdast-util-gfm-task-list-item: 2.0.0 - mdast-util-to-markdown: 2.1.0 + mdast-util-to-markdown: 2.1.2 transitivePeerDependencies: - supports-color @@ -19477,13 +19396,14 @@ snapshots: unist-util-visit: 4.1.2 zwitch: 2.0.4 - mdast-util-to-markdown@2.1.0: + mdast-util-to-markdown@2.1.2: dependencies: '@types/mdast': 4.0.4 '@types/unist': 3.0.3 longest-streak: 3.1.0 mdast-util-phrasing: 4.1.0 mdast-util-to-string: 4.0.0 + micromark-util-classify-character: 2.0.0 micromark-util-decode-string: 2.0.0 unist-util-visit: 5.0.0 zwitch: 2.0.4 @@ -19683,8 +19603,8 @@ snapshots: micromark-extension-mdxjs@1.0.1: dependencies: - acorn: 8.13.0 - acorn-jsx: 5.3.2(acorn@8.13.0) + acorn: 8.14.0 + acorn-jsx: 5.3.2(acorn@8.14.0) micromark-extension-mdx-expression: 1.0.8 micromark-extension-mdx-jsx: 1.0.5 micromark-extension-mdx-md: 1.0.1 @@ -20000,10 +19920,6 @@ snapshots: min-indent@1.0.1: {} - minimatch@10.0.1: - dependencies: - brace-expansion: 2.0.1 - minimatch@3.1.2: dependencies: brace-expansion: 1.1.11 @@ -20130,17 +20046,17 @@ snapshots: nested-error-stacks@2.1.1: {} - netlify-cli@8.6.18(@swc/core@1.7.39(@swc/helpers@0.5.13))(@types/babel__core@7.20.5)(@types/express@4.17.21)(encoding@0.1.13): + netlify-cli@8.6.18(@swc/core@1.8.0(@swc/helpers@0.5.13))(@types/babel__core@7.20.5)(@types/express@4.17.21): dependencies: - '@netlify/build': 26.5.3(@swc/core@1.7.39(@swc/helpers@0.5.13))(@types/babel__core@7.20.5)(encoding@0.1.13) + '@netlify/build': 26.5.3(@swc/core@1.8.0(@swc/helpers@0.5.13))(@types/babel__core@7.20.5) '@netlify/config': 17.0.20 '@netlify/framework-info': 8.0.2 '@netlify/local-functions-proxy': 1.1.1 '@netlify/plugin-edge-handlers': 3.0.8(@types/babel__core@7.20.5)(supports-color@9.4.0) '@netlify/plugins-list': 6.80.0 '@netlify/routing-local-proxy': 0.34.1 - '@netlify/zip-it-and-ship-it': 5.4.0(encoding@0.1.13) - '@octokit/rest': 18.12.0(encoding@0.1.13) + '@netlify/zip-it-and-ship-it': 5.4.0 + '@octokit/rest': 18.12.0 '@sindresorhus/slugify': 1.1.2 ansi-escapes: 5.0.0 ansi-styles: 5.2.0 @@ -20174,7 +20090,7 @@ snapshots: from2-array: 0.0.4 fuzzy: 0.1.3 get-port: 5.1.1 - gh-release-fetch: 3.0.2(encoding@0.1.13) + gh-release-fetch: 3.0.2 git-repo-info: 2.1.1 gitconfiglocal: 2.1.0 hasbin: 1.2.3 @@ -20198,11 +20114,11 @@ snapshots: memoize-one: 6.0.0 minimist: 1.2.8 multiparty: 4.2.3 - netlify: 10.1.2(encoding@0.1.13) + netlify: 10.1.2 netlify-headers-parser: 6.0.3 netlify-redirect-parser: 13.0.6 netlify-redirector: 0.2.1 - node-fetch: 2.7.0(encoding@0.1.13) + node-fetch: 2.7.0 node-version-alias: 1.0.1 omit.js: 2.0.2 ora: 5.4.1 @@ -20233,7 +20149,7 @@ snapshots: update-notifier: 5.1.0 uuid: 8.3.2 wait-port: 0.2.14 - winston: 3.15.0 + winston: 3.16.0 write-file-atomic: 3.0.3 transitivePeerDependencies: - '@swc/core' @@ -20269,12 +20185,12 @@ snapshots: netlify-redirector@0.2.1: {} - netlify@10.1.2(encoding@0.1.13): + netlify@10.1.2: dependencies: '@netlify/open-api': 2.34.0 lodash.camelcase: 4.3.0 micro-api-client: 3.3.0 - node-fetch: 2.7.0(encoding@0.1.13) + node-fetch: 2.7.0 omit.js: 2.0.2 p-wait-for: 3.2.0 qs: 6.13.0 @@ -20294,17 +20210,15 @@ snapshots: no-case@3.0.4: dependencies: lower-case: 2.0.2 - tslib: 2.8.0 + tslib: 2.8.1 node-abort-controller@3.1.1: {} node-domexception@1.0.0: {} - node-fetch@2.7.0(encoding@0.1.13): + node-fetch@2.7.0: dependencies: whatwg-url: 5.0.0 - optionalDependencies: - encoding: 0.1.13 node-fetch@3.3.2: dependencies: @@ -20339,11 +20253,11 @@ snapshots: node-source-walk@4.3.0: dependencies: - '@babel/parser': 7.25.9 + '@babel/parser': 7.26.2 node-source-walk@5.0.2: dependencies: - '@babel/parser': 7.25.9 + '@babel/parser': 7.26.2 node-version-alias@1.0.1: dependencies: @@ -20741,7 +20655,7 @@ snapshots: param-case@3.0.4: dependencies: dot-case: 3.0.4 - tslib: 2.8.0 + tslib: 2.8.1 parent-module@1.0.1: dependencies: @@ -20773,14 +20687,14 @@ snapshots: parse-json@5.2.0: dependencies: - '@babel/code-frame': 7.25.9 + '@babel/code-frame': 7.26.2 error-ex: 1.3.2 json-parse-even-better-errors: 2.3.1 lines-and-columns: 1.2.4 parse-json@6.0.2: dependencies: - '@babel/code-frame': 7.25.9 + '@babel/code-frame': 7.26.2 error-ex: 1.3.2 json-parse-even-better-errors: 2.3.1 lines-and-columns: 2.0.4 @@ -20789,7 +20703,7 @@ snapshots: parse-passwd@1.0.0: {} - parse5@7.2.0: + parse5@7.2.1: dependencies: entities: 4.5.0 @@ -20798,7 +20712,7 @@ snapshots: pascal-case@3.1.2: dependencies: no-case: 3.0.4 - tslib: 2.8.0 + tslib: 2.8.1 pascalcase@0.1.1: {} @@ -20825,11 +20739,6 @@ snapshots: lru-cache: 10.4.3 minipass: 7.1.2 - path-scurry@2.0.0: - dependencies: - lru-cache: 11.0.1 - minipass: 7.1.2 - path-to-regexp@0.1.10: {} path-to-regexp@3.3.0: {} @@ -20876,17 +20785,17 @@ snapshots: dependencies: find-up: 6.3.0 - playwright-core@1.48.1: {} + playwright-core@1.48.2: {} - playwright@1.48.1: + playwright@1.48.2: dependencies: - playwright-core: 1.48.1 + playwright-core: 1.48.2 optionalDependencies: fsevents: 2.3.2 polished@4.3.1: dependencies: - '@babel/runtime': 7.25.9 + '@babel/runtime': 7.26.0 posix-character-classes@0.1.1: {} @@ -21223,9 +21132,9 @@ snapshots: react-docgen@7.1.0: dependencies: - '@babel/core': 7.25.9(supports-color@9.4.0) + '@babel/core': 7.26.0(supports-color@9.4.0) '@babel/traverse': 7.25.9(supports-color@9.4.0) - '@babel/types': 7.25.9 + '@babel/types': 7.26.0 '@types/babel__core': 7.20.5 '@types/babel__traverse': 7.20.6 '@types/doctrine': 0.0.9 @@ -21403,7 +21312,7 @@ snapshots: esprima: 4.0.1 source-map: 0.6.1 tiny-invariant: 1.3.3 - tslib: 2.8.0 + tslib: 2.8.1 rechoir@0.6.2: dependencies: @@ -21434,7 +21343,7 @@ snapshots: regenerator-transform@0.15.2: dependencies: - '@babel/runtime': 7.25.9 + '@babel/runtime': 7.26.0 regex-not@1.0.2: dependencies: @@ -21453,7 +21362,7 @@ snapshots: regenerate: 1.4.2 regenerate-unicode-properties: 10.2.0 regjsgen: 0.8.0 - regjsparser: 0.11.1 + regjsparser: 0.11.2 unicode-match-property-ecmascript: 2.0.0 unicode-match-property-value-ecmascript: 2.2.0 @@ -21476,7 +21385,7 @@ snapshots: regjsgen@0.8.0: {} - regjsparser@0.11.1: + regjsparser@0.11.2: dependencies: jsesc: 3.0.2 @@ -21532,7 +21441,7 @@ snapshots: remark-parse@11.0.0: dependencies: '@types/mdast': 4.0.4 - mdast-util-from-markdown: 2.0.1 + mdast-util-from-markdown: 2.0.2 micromark-util-types: 2.0.0 unified: 11.0.5 transitivePeerDependencies: @@ -21547,7 +21456,7 @@ snapshots: remark-stringify@11.0.0: dependencies: '@types/mdast': 4.0.4 - mdast-util-to-markdown: 2.1.0 + mdast-util-to-markdown: 2.1.2 unified: 11.0.5 remove-trailing-separator@1.1.0: {} @@ -21644,11 +21553,6 @@ snapshots: dependencies: glob: 7.2.3 - rimraf@6.0.1: - dependencies: - glob: 11.0.0 - package-json-from-dist: 1.0.1 - rollup-plugin-inject@3.0.2: dependencies: estree-walker: 0.6.1 @@ -21661,7 +21565,7 @@ snapshots: rollup-plugin-terser@7.0.2(rollup@2.79.2): dependencies: - '@babel/code-frame': 7.25.9 + '@babel/code-frame': 7.26.2 jest-worker: 26.6.2 rollup: 2.79.2 serialize-javascript: 4.0.0 @@ -21687,7 +21591,7 @@ snapshots: rxjs@7.8.1: dependencies: - tslib: 2.8.0 + tslib: 2.8.1 sade@1.8.1: dependencies: @@ -21755,10 +21659,6 @@ snapshots: semver@6.3.1: {} - semver@7.3.4: - dependencies: - lru-cache: 6.0.0 - semver@7.6.3: {} send@0.19.0: @@ -22209,9 +22109,9 @@ snapshots: dependencies: escape-string-regexp: 1.0.5 - style-loader@3.3.4(webpack@5.95.0(@swc/core@1.7.39(@swc/helpers@0.5.13))(esbuild@0.23.1)): + style-loader@3.3.4(webpack@5.96.1(@swc/core@1.8.0(@swc/helpers@0.5.13))(esbuild@0.23.1)): dependencies: - webpack: 5.95.0(@swc/core@1.7.39(@swc/helpers@0.5.13))(esbuild@0.23.1) + webpack: 5.96.1(@swc/core@1.8.0(@swc/helpers@0.5.13))(esbuild@0.23.1) style-search@0.1.0: {} @@ -22301,11 +22201,11 @@ snapshots: csso: 5.0.5 picocolors: 1.1.1 - swc-loader@0.2.6(@swc/core@1.7.39(@swc/helpers@0.5.13))(webpack@5.95.0(@swc/core@1.7.39(@swc/helpers@0.5.13))(esbuild@0.23.1)): + swc-loader@0.2.6(@swc/core@1.8.0(@swc/helpers@0.5.13))(webpack@5.96.1(@swc/core@1.8.0(@swc/helpers@0.5.13))(esbuild@0.23.1)): dependencies: - '@swc/core': 1.7.39(@swc/helpers@0.5.13) + '@swc/core': 1.8.0(@swc/helpers@0.5.13) '@swc/counter': 0.1.3 - webpack: 5.95.0(@swc/core@1.7.39(@swc/helpers@0.5.13))(esbuild@0.23.1) + webpack: 5.96.1(@swc/core@1.8.0(@swc/helpers@0.5.13))(esbuild@0.23.1) symbol-observable@1.2.0: {} @@ -22314,7 +22214,7 @@ snapshots: synckit@0.9.2: dependencies: '@pkgr/core': 0.1.1 - tslib: 2.8.0 + tslib: 2.8.1 table@6.8.2: dependencies: @@ -22395,22 +22295,22 @@ snapshots: ansi-escapes: 4.3.2 supports-hyperlinks: 2.3.0 - terser-webpack-plugin@5.3.10(@swc/core@1.7.39(@swc/helpers@0.5.13))(esbuild@0.23.1)(webpack@5.95.0(@swc/core@1.7.39(@swc/helpers@0.5.13))(esbuild@0.23.1)): + terser-webpack-plugin@5.3.10(@swc/core@1.8.0(@swc/helpers@0.5.13))(esbuild@0.23.1)(webpack@5.96.1(@swc/core@1.8.0(@swc/helpers@0.5.13))(esbuild@0.23.1)): dependencies: '@jridgewell/trace-mapping': 0.3.25 jest-worker: 27.5.1 schema-utils: 3.3.0 serialize-javascript: 6.0.2 terser: 5.36.0 - webpack: 5.95.0(@swc/core@1.7.39(@swc/helpers@0.5.13))(esbuild@0.23.1) + webpack: 5.96.1(@swc/core@1.8.0(@swc/helpers@0.5.13))(esbuild@0.23.1) optionalDependencies: - '@swc/core': 1.7.39(@swc/helpers@0.5.13) + '@swc/core': 1.8.0(@swc/helpers@0.5.13) esbuild: 0.23.1 terser@5.36.0: dependencies: '@jridgewell/source-map': 0.3.6 - acorn: 8.13.0 + acorn: 8.14.0 commander: 2.20.3 source-map-support: 0.5.21 @@ -22529,18 +22429,18 @@ snapshots: trough@2.2.0: {} - ts-api-utils@1.3.0(typescript@5.5.4): + ts-api-utils@1.4.0(typescript@5.5.4): dependencies: typescript: 5.5.4 ts-dedent@2.2.0: {} - ts-jest@29.2.5(@babel/core@7.25.9)(@jest/transform@29.7.0)(@jest/types@29.6.3)(babel-jest@29.7.0(@babel/core@7.25.9))(esbuild@0.23.1)(jest@29.7.0(@types/node@16.18.114)(ts-node@10.4.0(@swc/core@1.7.39(@swc/helpers@0.5.13))(@types/node@16.18.114)(typescript@5.5.4)))(typescript@5.5.4): + ts-jest@29.2.5(@babel/core@7.26.0)(@jest/transform@29.7.0)(@jest/types@29.6.3)(babel-jest@29.7.0(@babel/core@7.26.0))(esbuild@0.23.1)(jest@29.7.0(@types/node@16.18.119)(ts-node@10.4.0(@swc/core@1.8.0(@swc/helpers@0.5.13))(@types/node@16.18.119)(typescript@5.5.4)))(typescript@5.5.4): dependencies: bs-logger: 0.2.6 ejs: 3.1.10 fast-json-stable-stringify: 2.1.0 - jest: 29.7.0(@types/node@16.18.114)(ts-node@10.4.0(@swc/core@1.7.39(@swc/helpers@0.5.13))(@types/node@16.18.114)(typescript@5.5.4)) + jest: 29.7.0(@types/node@16.18.119)(ts-node@10.4.0(@swc/core@1.8.0(@swc/helpers@0.5.13))(@types/node@16.18.119)(typescript@5.5.4)) jest-util: 29.7.0 json5: 2.2.3 lodash.memoize: 4.1.2 @@ -22549,21 +22449,21 @@ snapshots: typescript: 5.5.4 yargs-parser: 21.1.1 optionalDependencies: - '@babel/core': 7.25.9(supports-color@9.4.0) + '@babel/core': 7.26.0(supports-color@9.4.0) '@jest/transform': 29.7.0 '@jest/types': 29.6.3 - babel-jest: 29.7.0(@babel/core@7.25.9) + babel-jest: 29.7.0(@babel/core@7.26.0) esbuild: 0.23.1 - ts-node@10.4.0(@swc/core@1.7.39(@swc/helpers@0.5.13))(@types/node@16.18.114)(typescript@4.9.5): + ts-node@10.4.0(@swc/core@1.8.0(@swc/helpers@0.5.13))(@types/node@16.18.119)(typescript@4.9.5): dependencies: '@cspotcode/source-map-support': 0.7.0 '@tsconfig/node10': 1.0.11 '@tsconfig/node12': 1.0.11 '@tsconfig/node14': 1.0.3 '@tsconfig/node16': 1.0.4 - '@types/node': 16.18.114 - acorn: 8.13.0 + '@types/node': 16.18.119 + acorn: 8.14.0 acorn-walk: 8.3.4 arg: 4.1.3 create-require: 1.1.1 @@ -22572,17 +22472,17 @@ snapshots: typescript: 4.9.5 yn: 3.1.1 optionalDependencies: - '@swc/core': 1.7.39(@swc/helpers@0.5.13) + '@swc/core': 1.8.0(@swc/helpers@0.5.13) - ts-node@10.4.0(@swc/core@1.7.39(@swc/helpers@0.5.13))(@types/node@16.18.114)(typescript@5.5.4): + ts-node@10.4.0(@swc/core@1.8.0(@swc/helpers@0.5.13))(@types/node@16.18.119)(typescript@5.5.4): dependencies: '@cspotcode/source-map-support': 0.7.0 '@tsconfig/node10': 1.0.11 '@tsconfig/node12': 1.0.11 '@tsconfig/node14': 1.0.3 '@tsconfig/node16': 1.0.4 - '@types/node': 16.18.114 - acorn: 8.13.0 + '@types/node': 16.18.119 + acorn: 8.14.0 acorn-walk: 8.3.4 arg: 4.1.3 create-require: 1.1.1 @@ -22591,7 +22491,7 @@ snapshots: typescript: 5.5.4 yn: 3.1.1 optionalDependencies: - '@swc/core': 1.7.39(@swc/helpers@0.5.13) + '@swc/core': 1.8.0(@swc/helpers@0.5.13) optional: true tsconfig-paths-webpack-plugin@4.1.0: @@ -22615,7 +22515,7 @@ snapshots: tslib@1.14.1: {} - tslib@2.8.0: {} + tslib@2.8.1: {} tsutils@3.21.0(typescript@3.9.10): dependencies: @@ -22743,7 +22643,7 @@ snapshots: '@types/concat-stream': 2.0.3 '@types/debug': 4.1.12 '@types/is-empty': 1.2.3 - '@types/node': 18.19.58 + '@types/node': 18.19.64 '@types/unist': 2.0.11 concat-stream: 2.0.0 debug: 4.3.7(supports-color@9.4.0) @@ -22867,9 +22767,9 @@ snapshots: unpipe@1.0.0: {} - unplugin@1.14.1(webpack-sources@3.2.3): + unplugin@1.15.0(webpack-sources@3.2.3): dependencies: - acorn: 8.13.0 + acorn: 8.14.0 webpack-virtual-modules: 0.6.2 optionalDependencies: webpack-sources: 3.2.3 @@ -22889,6 +22789,12 @@ snapshots: escalade: 3.2.0 picocolors: 1.1.1 + update-browserslist-db@1.1.1(browserslist@4.24.2): + dependencies: + browserslist: 4.24.2 + escalade: 3.2.0 + picocolors: 1.1.1 + update-check@1.5.4: dependencies: registry-auth-token: 3.3.2 @@ -22937,10 +22843,6 @@ snapshots: dependencies: react: 18.3.1 - use-debounce@7.0.1(react@18.3.1): - dependencies: - react: 18.3.1 - use-sync-external-store@1.2.2(react@18.3.1): dependencies: react: 18.3.1 @@ -23077,7 +22979,7 @@ snapshots: webidl-conversions@7.0.0: {} - webpack-dev-middleware@6.1.3(webpack@5.95.0(@swc/core@1.7.39(@swc/helpers@0.5.13))(esbuild@0.23.1)): + webpack-dev-middleware@6.1.3(webpack@5.96.1(@swc/core@1.8.0(@swc/helpers@0.5.13))(esbuild@0.23.1)): dependencies: colorette: 2.0.20 memfs: 3.5.3 @@ -23085,7 +22987,7 @@ snapshots: range-parser: 1.2.1 schema-utils: 4.2.0 optionalDependencies: - webpack: 5.95.0(@swc/core@1.7.39(@swc/helpers@0.5.13))(esbuild@0.23.1) + webpack: 5.96.1(@swc/core@1.8.0(@swc/helpers@0.5.13))(esbuild@0.23.1) webpack-hot-middleware@2.26.1: dependencies: @@ -23097,14 +22999,14 @@ snapshots: webpack-virtual-modules@0.6.2: {} - webpack@5.95.0(@swc/core@1.7.39(@swc/helpers@0.5.13))(esbuild@0.23.1): + webpack@5.96.1(@swc/core@1.8.0(@swc/helpers@0.5.13))(esbuild@0.23.1): dependencies: + '@types/eslint-scope': 3.7.7 '@types/estree': 1.0.6 '@webassemblyjs/ast': 1.12.1 '@webassemblyjs/wasm-edit': 1.12.1 '@webassemblyjs/wasm-parser': 1.12.1 - acorn: 8.13.0 - acorn-import-attributes: 1.9.5(acorn@8.13.0) + acorn: 8.14.0 browserslist: 4.24.0 chrome-trace-event: 1.0.4 enhanced-resolve: 5.17.1 @@ -23119,7 +23021,7 @@ snapshots: neo-async: 2.6.2 schema-utils: 3.3.0 tapable: 2.2.1 - terser-webpack-plugin: 5.3.10(@swc/core@1.7.39(@swc/helpers@0.5.13))(esbuild@0.23.1)(webpack@5.95.0(@swc/core@1.7.39(@swc/helpers@0.5.13))(esbuild@0.23.1)) + terser-webpack-plugin: 5.3.10(@swc/core@1.8.0(@swc/helpers@0.5.13))(esbuild@0.23.1)(webpack@5.96.1(@swc/core@1.8.0(@swc/helpers@0.5.13))(esbuild@0.23.1)) watchpack: 2.4.2 webpack-sources: 3.2.3 transitivePeerDependencies: @@ -23195,7 +23097,7 @@ snapshots: wide-align@1.1.5: dependencies: - string-width: 4.2.3 + string-width: 1.0.2 widest-line@3.1.0: dependencies: @@ -23215,7 +23117,7 @@ snapshots: readable-stream: 4.5.2 triple-beam: 1.4.1 - winston@3.15.0: + winston@3.16.0: dependencies: '@colors/colors': 1.6.0 '@dabh/diagnostics': 2.0.3 From 07af6149b34ada6123bbcb79dd1acee1c98ac857 Mon Sep 17 00:00:00 2001 From: Alexandre Asselin <alexandre.asselin@gsoft.com> Date: Tue, 5 Nov 2024 12:31:23 -0500 Subject: [PATCH 66/95] fix source --- docs/features/As.mdx | 8 ++++---- docs/features/ResponsiveStyles.mdx | 4 ++-- docs/features/Slots.mdx | 20 ++++++++++---------- docs/features/color-schemes/ColorSchemes.mdx | 6 +++--- docs/features/tokens/Tokens.mdx | 6 +++--- 5 files changed, 22 insertions(+), 22 deletions(-) diff --git a/docs/features/As.mdx b/docs/features/As.mdx index 3f9b081a5..dcff55308 100644 --- a/docs/features/As.mdx +++ b/docs/features/As.mdx @@ -13,24 +13,24 @@ This function allows you to change the *underlying element type* of a component To specify a new underlying type: -<Source dark code={` +<Source dark language="tsx" code={` import { as, TextLink } from "@workleap/orbiter-ui"; const TextLinkAsButton = as(TextLink, "button"); <TextLinkAsButton onClick={() => window.location.href = "/home"}>Home</TextLinkAsButton> -`} language="tsx" /> +`} /> To integrate with a third party: -<Source dark code={` +<Source dark language="tsx" code={` import { as, TextLink } from "@workleap/orbiter-ui"; import { Link as ReactRouterLink } from "react-router-dom"; const RouterTextLink = as(TextLink, ReactRouterLink, { normalizeStyles: true }); <RouterTextLink to="/home">Home</RouterTextLink> -`} language="tsx" /> +`} /> ## How it works diff --git a/docs/features/ResponsiveStyles.mdx b/docs/features/ResponsiveStyles.mdx index 14e2ad0c7..9aa6cb84e 100644 --- a/docs/features/ResponsiveStyles.mdx +++ b/docs/features/ResponsiveStyles.mdx @@ -25,11 +25,11 @@ Not all breakpoints must be explicitly defined. In the following example, `base` To resolve a responsive value within a React component, Orbiter provides the `useResponsiveValue` hook. -<Source dark code={` +<Source dark language="tsx" code={` import { useResponsiveValue } from "@workleap/orbiter-ui"; const fluidValue = useResponsiveValue({ base: true, lg: false }); -`} language="tsx" /> +`} /> ## Breakpoints diff --git a/docs/features/Slots.mdx b/docs/features/Slots.mdx index 30a5c04a3..3b3d4e8e5 100644 --- a/docs/features/Slots.mdx +++ b/docs/features/Slots.mdx @@ -15,12 +15,12 @@ In Orbiter, component placeholders are fulfilled through his children and slots In the following example, the `<Text>` component *implicitly* fulfill the `text` slot of the button and the `<LightbulbIcon>` component *explicitly* fulfill the `end-icon` slot of the button. -<Source dark code={` +<Source dark language="tsx" code={` <Button variant="secondary"> <Text>Cutoff</Text> <LightbulbIcon slot="end-icon" /> </Button> -`} language="tsx" /> +`} /> To identify which slots placeholders are available for a component, refer to the [API section of a component](?path=/docs/button--default-story#button-1). @@ -30,45 +30,45 @@ Some of Orbiter components which are considered *slotables* are defined to autom For example, an `<Icon>` component will implicitly fulfill the `icon` slot of a `<Button>` when defined as his child. -<Source dark code={` +<Source dark language="tsx" code={` <Button variant="secondary"> <LightbulbIcon /> <Text>Cutoff</Text> </Button> -`} language="tsx" /> +`} /> An implicit slot can be defined on a custom component by using the `slot` function. -<Source dark code={` +<Source dark language="tsx" code={` import { slot } from "@workleap/orbiter-ui"; export const MyComponent = slot("name-of-the-slot-to-fulfill-by-default", () => ( <Div>A custom component</Div> )); -`} language="tsx" /> +`} /> ### Explicit slots Sometimes, we want to force a component into a specific placeholder of a component. To do so, an *explicit* slot can be specified on a child component with the `slot` prop. *Explicit slots will have precedence over implicit slots*. -<Source dark code={` +<Source dark language="tsx" code={` <Button variant="secondary"> <Text>Cutoff</Text> <LightbulbIcon slot="end-icon" /> </Button> -`} language="tsx" /> +`} /> For native HTML elements, instead of specifying an explicit slot directly on the native element, we recommend using [Orbiter HTML elements](?path=/docs/html-anchor--example). -<Source dark code={` +<Source dark language="tsx" code={` <Card> <H1>SpaceX delays launch of South Korean military satellite</H1> <Div slot="content">SpaceX postponed the upcoming launch of a South Korean military satellite Monday (July 13), due to hardware issues with the Falcon 9 rocket.</Div> <Div slot="footer">Copyright @2021</Div> </Card> -`} language="tsx" /> +`} /> ## Other resources diff --git a/docs/features/color-schemes/ColorSchemes.mdx b/docs/features/color-schemes/ColorSchemes.mdx index 8743d6e78..c1aa87c0a 100644 --- a/docs/features/color-schemes/ColorSchemes.mdx +++ b/docs/features/color-schemes/ColorSchemes.mdx @@ -11,11 +11,11 @@ Orbiter supports by default a *light* and a *dark* color scheme for all componen A color scheme can either be enforced by providing a specific `light` or `dark` value to a [theme provider](?path=/story/theme-provider--default-story): -<Source dark of={ColorSchemesStories.Apply} language="tsx" /> +<Source dark language="tsx" of={ColorSchemesStories.Apply} /> or be selected according to the [user's operating system setting](https://developer.mozilla.org/en-US/docs/Web/CSS/@media/prefers-color-scheme) by providing the `system` value: -<Source dark of={ColorSchemesStories.ApplySystem} language="tsx" /> +<Source dark language="tsx" of={ColorSchemesStories.ApplySystem} /> > When the `system` value is provided, an additional *fallback* color scheme must be specified to `defaultColorScheme` in case the theme provider is not able to access the user setting. @@ -35,4 +35,4 @@ Some features requires the usage of custom colors. Those colors aren't like Orbi To help with that, Orbiter offer the `useColorSchemeValue` hook which will return the value matching the current color scheme of the closest [theme provider](?path=/story/theme-provider--default-story). -<Source dark of={ColorSchemesStories.UseColorSchemeValueStory} language="tsx" /> +<Source dark language="tsx" of={ColorSchemesStories.UseColorSchemeValueStory} /> diff --git a/docs/features/tokens/Tokens.mdx b/docs/features/tokens/Tokens.mdx index d2a234c2f..d618a5557 100644 --- a/docs/features/tokens/Tokens.mdx +++ b/docs/features/tokens/Tokens.mdx @@ -30,15 +30,15 @@ Tokens are Orbiter's reusable values to provide a common language between develo Tokens can be used as [style props](/docs/style-props--page) values: -<Source dark of={TokensStories.Usage} /> +<Source dark language="tsx" of={TokensStories.Usage} /> Or `CSS` variables: -<Source dark code={` +<Source dark language="css" code={` .item { background-color: var(--hop-neutral-surface-weak); } -`} language="css" /> +`} /> ## Aliased tokens From b19762e3da65160e5b167bbd65f5406fc7df6b78 Mon Sep 17 00:00:00 2001 From: Alexandre Asselin <alexandre.asselin@gsoft.com> Date: Tue, 5 Nov 2024 13:41:18 -0500 Subject: [PATCH 67/95] fix part of the linting --- .github/workflows/ci.yml | 2 + .storybook/components/index.ts | 2 - .../PackageInstallationSnippet.tsx | 37 -------------- .../package-installation-snippet/index.ts | 1 - .storybook/components/preview/Preview.css | 50 ------------------- .storybook/components/preview/Preview.tsx | 22 -------- .storybook/components/preview/index.ts | 1 - .storybook/components/preview/scopes.ts | 37 -------------- .../storybook-addon/withHopperProvider.tsx | 2 +- docs/features/tokens/Tokens.stories.tsx | 2 - package.json | 1 + .../AccordionBordered-hopper.stories.tsx | 10 +++- .../chromatic/AccordionBordered.stories.tsx | 10 +++- .../AccordionBorderless-hopper.stories.tsx | 10 +++- .../chromatic/AccordionBorderless.stories.tsx | 10 +++- .../src/alert/docs/Alert.stories.tsx | 2 +- .../docs/Autocomplete.stories.tsx | 8 +-- packages/components/src/badge/docs/Circle.tsx | 2 +- packages/components/src/badge/docs/Square.tsx | 2 +- .../ButtonAsLinkNegative.stories.tsx | 3 +- .../chromatic/ButtonAsLinkPrimary.stories.tsx | 3 +- .../ButtonAsLinkSecondary.stories.tsx | 3 +- .../ButtonAsLinkTertiary.stories.tsx | 3 +- .../chromatic/ButtonAsLinkUpsell.stories.tsx | 3 +- ...IconButtonAsLinkPrimary-hopper.stories.tsx | 4 +- ...onButtonAsLinkSecondary-hopper.stories.tsx | 4 +- ...conButtonAsLinkTertiary-hopper.stories.tsx | 4 +- .../IconButtonAsLinkTertiary.stories.tsx | 4 +- .../IconButtonAsLinkUpsell-hopper.stories.tsx | 4 +- .../IconButtonNegative-hopper.stories.tsx | 4 +- .../chromatic/IconButtonNegative.stories.tsx | 4 +- .../IconButtonPrimary-hopper.stories.tsx | 4 +- .../chromatic/IconButtonPrimary.stories.tsx | 4 +- .../IconButtonSecondary-hopper.stories.tsx | 4 +- .../chromatic/IconButtonSecondary.stories.tsx | 4 +- .../IconButtonTertiary-hopper.stories.tsx | 4 +- .../chromatic/IconButtonTertiary.stories.tsx | 4 +- .../IconButtonUpsell-hopper.stories.tsx | 4 +- .../chromatic/IconButtonUpsell.stories.tsx | 4 +- .../ToggleButtonPrimary-hopper.stories.tsx | 1 + .../chromatic/ToggleButtonPrimary.stories.tsx | 2 +- .../ToggleButtonSecondary-hopper.stories.tsx | 1 + .../ToggleButtonSecondary.stories.tsx | 1 + .../CardHorizontal-hopper.stories.tsx | 12 ++--- .../chromatic/CardVertical-hopper.stories.tsx | 12 ++--- .../src/checkbox/docs/Checkbox.stories.tsx | 4 +- .../disclosure/docs/Disclosure.stories.tsx | 2 + .../components/src/form/docs/Form.stories.tsx | 1 + .../src/illustration/docs/assets/index.tsx | 3 +- .../illustration/docs/assets/no-results.svg | 25 ---------- .../link/tests/chromatic/TextLink.stories.tsx | 1 + .../components/src/menu/docs/Menu.stories.tsx | 7 +-- .../src/popover/docs/Popover.stories.tsx | 2 +- .../src/radio/docs/Radio.stories.tsx | 2 +- .../RadioUnchecked-hopper.stories.tsx | 6 +-- .../components/src/tabs/docs/Tabs.stories.tsx | 3 +- .../tests/chromatic/Tabs-hopper.stories.tsx | 2 +- .../chromatic/TagOutline-hopper.stories.tsx | 28 ++++++----- .../tests/chromatic/TagOutline.stories.tsx | 33 ++++++------ .../chromatic/TagSolid-hopper.stories.tsx | 28 ++++++----- .../tag/tests/chromatic/TagSolid.stories.tsx | 34 +++++++------ .../src/text-area/docs/TextArea.stories.tsx | 2 +- .../components/src/tile/docs/Tile.stories.tsx | 12 ++--- .../src/tooltip/docs/Tooltip.stories.tsx | 2 +- 64 files changed, 196 insertions(+), 316 deletions(-) delete mode 100644 .storybook/components/package-installation-snippet/PackageInstallationSnippet.tsx delete mode 100644 .storybook/components/package-installation-snippet/index.ts delete mode 100644 .storybook/components/preview/Preview.css delete mode 100644 .storybook/components/preview/Preview.tsx delete mode 100644 .storybook/components/preview/index.ts delete mode 100644 .storybook/components/preview/scopes.ts delete mode 100644 packages/components/src/illustration/docs/assets/no-results.svg diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index f260f4a40..6c68514cb 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -86,6 +86,8 @@ jobs: run: | corepack enable pnpm install --frozen-lockfile + - name: Typecheck + run: pnpm run lint-ci-eslint - name: Build Packages run: pnpm run build - name: Run Jest diff --git a/.storybook/components/index.ts b/.storybook/components/index.ts index 9178433d1..4374d253e 100644 --- a/.storybook/components/index.ts +++ b/.storybook/components/index.ts @@ -7,6 +7,4 @@ export * from "./tagline"; export * from "./component-info"; export * from "./snippet"; export * from "./themed-snippet"; -export * from "./package-installation-snippet"; -export * from "./preview"; export * from "./banner"; diff --git a/.storybook/components/package-installation-snippet/PackageInstallationSnippet.tsx b/.storybook/components/package-installation-snippet/PackageInstallationSnippet.tsx deleted file mode 100644 index 655ff6dc7..000000000 --- a/.storybook/components/package-installation-snippet/PackageInstallationSnippet.tsx +++ /dev/null @@ -1,37 +0,0 @@ -import { Snippet, SnippetProps } from "@stories/components"; -import { isNil } from "@components/shared"; -import { useState } from "react"; - - -interface PackageInstallationSnippetProps extends SnippetProps { - packageName: string; - workspaceFolder?: "packages" | "tooling"; -} - -export function PackageInstallationSnippet({ packageName, workspaceFolder = "packages", ...rest }: PackageInstallationSnippetProps) { - // const [dependencies, setDependencies] = useState<string>(); - - // if (isNil(dependencies)) { - // import(/* webpackMode: "eager" */ `@root/${workspaceFolder}/${packageName}/package.json`) - // .then(module => { - // const json = module.default; - // const peerDependencies = !isNil(json.peerDependencies) ? Object.keys(json.peerDependencies).filter(x => x !== "react" && x !== "react-dom") : []; - - // setDependencies([json.name, ...peerDependencies].join(" ")); - // }); - - // return null; - // } - - // return ( - // <Snippet - // {...rest} - // language="bash" - // code={`npm install ${dependencies}`} - // /> - // ); - - return ( - <div>Test</div> - ) -} diff --git a/.storybook/components/package-installation-snippet/index.ts b/.storybook/components/package-installation-snippet/index.ts deleted file mode 100644 index 0741620c1..000000000 --- a/.storybook/components/package-installation-snippet/index.ts +++ /dev/null @@ -1 +0,0 @@ -export * from "./PackageInstallationSnippet"; diff --git a/.storybook/components/preview/Preview.css b/.storybook/components/preview/Preview.css deleted file mode 100644 index a42e7eb76..000000000 --- a/.storybook/components/preview/Preview.css +++ /dev/null @@ -1,50 +0,0 @@ -/* PREVIEW */ -.o-ui-sb-preview { - margin: var(--hop-space-stack-xl) 0; - border-radius: var(--hop-shape-roudned-md); - box-shadow: var(--hop-elevation-raised); -} - -/* STORY */ -.o-ui-sb-preview-story { - padding: var(--hop-space-inset-xl) var(--hop-space-inset-lg); -} - -/* SOURCE */ -.o-ui-sb-preview-source { - position: relative; -} - -/* SOURCE | EDITABLE LABEL */ -.o-ui-sb-preview-editable-label { - position: absolute; - top: 3px; - left: 50%; - transform: translateX(-50%); - color: var(--hop-neutral-text-strong); - z-index: 1; - font-size: 0.625rem; - font-weight: 550; - letter-spacing: 0.025em; - text-transform: uppercase; -} - -/* SOURCE | EDITOR */ -.o-ui-sb-preview-editor { - font-size: 15px; - overflow-x: auto; -} - -.o-ui-sb-preview-editor .npm__react-simple-code-editor__textarea, -.o-ui-sb-preview-editor pre { - padding: var(--hop-space-inset-lg) !important; -} - -/* SOURCE | ERROR */ -.o-ui-sb-preview-error { - background-color: var(--hop-danger-surface-weak); - color: var(--hop-neutral-text); - font-size: 15px; - padding: var(--hop-space-inset-md) var(--hop-space-inset-lg); - margin: 0; -} diff --git a/.storybook/components/preview/Preview.tsx b/.storybook/components/preview/Preview.tsx deleted file mode 100644 index f3ef6fd7f..000000000 --- a/.storybook/components/preview/Preview.tsx +++ /dev/null @@ -1,22 +0,0 @@ -import "./Preview.css"; -export interface PreviewProps { - filePath?: string; - language?: string; - scope?: string; - features?: boolean; - mdxSource?: string; - children?: any; -} - -export function Preview({ - filePath, - mdxSource, - language, - scope, - children, - ...rest -}: PreviewProps) { - return ( - <div>Preview unavailable</div> - ) -} diff --git a/.storybook/components/preview/index.ts b/.storybook/components/preview/index.ts deleted file mode 100644 index 975657923..000000000 --- a/.storybook/components/preview/index.ts +++ /dev/null @@ -1 +0,0 @@ -export * from "./Preview"; diff --git a/.storybook/components/preview/scopes.ts b/.storybook/components/preview/scopes.ts deleted file mode 100644 index f7cffde6d..000000000 --- a/.storybook/components/preview/scopes.ts +++ /dev/null @@ -1,37 +0,0 @@ -import * as OrbiterComponents from "@components"; -import * as HopperIcons from "@hopper-ui/icons"; -import { CheckeredBackground } from "@stories/components"; -import { forwardRef, useCallback, useContext, useDebugValue, useEffect, useImperativeHandle, useLayoutEffect, useMemo, useReducer, useRef, useState } from "react"; -import { useFormik } from "formik"; -import cx from "classnames"; - -const React = { - useState, - useEffect, - useContext, - useReducer, - useCallback, - useMemo, - useRef, - useImperativeHandle, - useLayoutEffect, - useDebugValue, - forwardRef -}; - -const DocsComponents = { - CheckeredBackground -}; - -const ThirdParties = { - cx, - useFormik -}; - -export const KnownScope = { - ...OrbiterComponents, - ...HopperIcons, - ...React, - ...DocsComponents, - ...ThirdParties -}; diff --git a/.storybook/storybook-addon/withHopperProvider.tsx b/.storybook/storybook-addon/withHopperProvider.tsx index f9827c1c5..38232ecf3 100644 --- a/.storybook/storybook-addon/withHopperProvider.tsx +++ b/.storybook/storybook-addon/withHopperProvider.tsx @@ -40,7 +40,7 @@ export const withHopperProvider = makeDecorator({ const isDocStory = context.viewMode === "docs"; const colorSchemes: ColorScheme[] = options.colorSchemes || (isDocStory && context.globals.theme ? [context.globals.theme] : ColorSchemes); - const locale: string = options.locale || (isDocStory && context.globals.locale ? context.globals.locale : "en-US"); + // const locale: string = options.locale || (isDocStory && context.globals.locale ? context.globals.locale : "en-US"); const disabled = options.disabled || false; if (disabled) { diff --git a/docs/features/tokens/Tokens.stories.tsx b/docs/features/tokens/Tokens.stories.tsx index d98d9964c..2799e62b3 100644 --- a/docs/features/tokens/Tokens.stories.tsx +++ b/docs/features/tokens/Tokens.stories.tsx @@ -1,8 +1,6 @@ /* eslint-disable react-hooks/rules-of-hooks */ import { Meta, StoryObj } from "@storybook/react"; import { Div, ThemeProvider } from "@components"; -import { TokenTable } from "./TokenTable"; -import { BackgroundColors } from "./Tokens"; const meta = { title: "Features/Tokens", diff --git a/package.json b/package.json index e296dc3ef..2556e9eba 100644 --- a/package.json +++ b/package.json @@ -29,6 +29,7 @@ "lint:typecheck": "tsc", "lint-ci-eslint": "eslint --ext .js,.jsx,.ts,.tsx,.mdx . --max-warnings=0", "lint-ci-style": "stylelint \"**/*.css\" --allow-empty-input", + "lint-ci-typecheck": "tsc", "list-outdated-deps": "pnpm outdated -r --format list", "update-outdated-deps": "pnpm update -r --latest \"!eslint\"", "test": "jest", diff --git a/packages/components/src/accordion/tests/chromatic/AccordionBordered-hopper.stories.tsx b/packages/components/src/accordion/tests/chromatic/AccordionBordered-hopper.stories.tsx index fd79d7852..b2a3e5008 100644 --- a/packages/components/src/accordion/tests/chromatic/AccordionBordered-hopper.stories.tsx +++ b/packages/components/src/accordion/tests/chromatic/AccordionBordered-hopper.stories.tsx @@ -1,4 +1,4 @@ -import { Accordion, AccordionHeader, useAccordionContext } from "@components/accordion"; +import { Accordion, AccordionHeader, useAccordionContext, type AccordionHeaderProps } from "@components/accordion"; import { Content } from "@components/placeholders"; import { H3, H1, Text } from "@components/typography"; import { Stack } from "@components/layout"; @@ -282,7 +282,13 @@ export const DynamicItems: AccordionStory = { ) }; -const ActiveHeader = ({ header, children, ...rest }) => { +interface ActiveHeaderProps extends Omit<AccordionHeaderProps, "headingType"> { + header?: { + key:string; + }; +} + +const ActiveHeader = ({ header, children, ...rest }: ActiveHeaderProps) => { const { expandedKeys } = useAccordionContext(); const { key } = header; diff --git a/packages/components/src/accordion/tests/chromatic/AccordionBordered.stories.tsx b/packages/components/src/accordion/tests/chromatic/AccordionBordered.stories.tsx index 947077fc8..44c4c74a2 100644 --- a/packages/components/src/accordion/tests/chromatic/AccordionBordered.stories.tsx +++ b/packages/components/src/accordion/tests/chromatic/AccordionBordered.stories.tsx @@ -1,4 +1,4 @@ -import { Accordion, AccordionHeader, useAccordionContext } from "@components/accordion"; +import { Accordion, AccordionHeader, useAccordionContext, type AccordionHeaderProps } from "@components/accordion"; import { Content } from "@components/placeholders"; import { H3, H1, Text } from "@components/typography"; import { Stack } from "@components/layout"; @@ -282,7 +282,13 @@ export const DynamicItems: AccordionStory = { ) }; -const ActiveHeader = ({ header, children, ...rest }) => { +interface ActiveHeaderProps extends Omit<AccordionHeaderProps, "headingType"> { + header?: { + key:string; + }; +} + +const ActiveHeader = ({ header, children, ...rest }: ActiveHeaderProps) => { const { expandedKeys } = useAccordionContext(); const { key } = header; diff --git a/packages/components/src/accordion/tests/chromatic/AccordionBorderless-hopper.stories.tsx b/packages/components/src/accordion/tests/chromatic/AccordionBorderless-hopper.stories.tsx index 0d8b868cb..aef588f7b 100644 --- a/packages/components/src/accordion/tests/chromatic/AccordionBorderless-hopper.stories.tsx +++ b/packages/components/src/accordion/tests/chromatic/AccordionBorderless-hopper.stories.tsx @@ -1,4 +1,4 @@ -import { Accordion, AccordionHeader, useAccordionContext } from "@components/accordion"; +import { Accordion, AccordionHeader, useAccordionContext, type AccordionHeaderProps } from "@components/accordion"; import { Content } from "@components/placeholders"; import { H3, H1, Text } from "@components/typography"; import { Stack } from "@components/layout"; @@ -283,7 +283,13 @@ export const DynamicItems: AccordionStory = { ) }; -const ActiveHeader = ({ header, children, ...rest }) => { +interface ActiveHeaderProps extends Omit<AccordionHeaderProps, "headingType"> { + header?: { + key:string; + }; +} + +const ActiveHeader = ({ header, children, ...rest }: ActiveHeaderProps) => { const { expandedKeys } = useAccordionContext(); const { key } = header; diff --git a/packages/components/src/accordion/tests/chromatic/AccordionBorderless.stories.tsx b/packages/components/src/accordion/tests/chromatic/AccordionBorderless.stories.tsx index 07b90edf5..79a54d6a7 100644 --- a/packages/components/src/accordion/tests/chromatic/AccordionBorderless.stories.tsx +++ b/packages/components/src/accordion/tests/chromatic/AccordionBorderless.stories.tsx @@ -1,4 +1,4 @@ -import { Accordion, AccordionHeader, useAccordionContext } from "@components/accordion"; +import { Accordion, AccordionHeader, useAccordionContext, type AccordionHeaderProps } from "@components/accordion"; import { Content } from "@components/placeholders"; import { H3, H1, Text } from "@components/typography"; import { Stack } from "@components/layout"; @@ -283,7 +283,13 @@ export const DynamicItems: AccordionStory = { ) }; -const ActiveHeader = ({ header, children, ...rest }) => { +interface ActiveHeaderProps extends Omit<AccordionHeaderProps, "headingType"> { + header?: { + key:string; + }; +} + +const ActiveHeader = ({ header, children, ...rest }: ActiveHeaderProps) => { const { expandedKeys } = useAccordionContext(); const { key } = header; diff --git a/packages/components/src/alert/docs/Alert.stories.tsx b/packages/components/src/alert/docs/Alert.stories.tsx index e89765434..42ef38466 100644 --- a/packages/components/src/alert/docs/Alert.stories.tsx +++ b/packages/components/src/alert/docs/Alert.stories.tsx @@ -1,4 +1,4 @@ -import { Alert } from "@components/alert"; +import { Alert, AlertTrigger } from "@components/alert"; import { Button } from "@components/button"; import { Content } from "@components/placeholders"; import { Heading } from "@components/typography"; diff --git a/packages/components/src/autocomplete/docs/Autocomplete.stories.tsx b/packages/components/src/autocomplete/docs/Autocomplete.stories.tsx index 46f2b521d..81628339f 100644 --- a/packages/components/src/autocomplete/docs/Autocomplete.stories.tsx +++ b/packages/components/src/autocomplete/docs/Autocomplete.stories.tsx @@ -6,7 +6,7 @@ import { IconList } from "@components/icons"; import { CatIcon, RocketIcon, SearchIcon, SparklesIcon } from "@hopper-ui/icons"; import { Item, Section, useAsyncSearch } from "@components/collection"; import { Text } from "@components/typography"; -import { useCallback, useState } from "react"; +import { useCallback, useMemo, useState } from "react"; import { isNil } from "@components/shared"; import { Inline } from "@components/layout"; @@ -333,7 +333,7 @@ export const RemoteItems: Story = { export const CustomSearch: Story = { render: () => { - const planets = [ + const planets = useMemo(() => ([ { key: "earth", value: "Earth", canShow: true }, { key: "jupiter", value: "Jupiter", canShow: true }, { key: "mars", value: "Mars", canShow: true }, @@ -341,13 +341,13 @@ export const CustomSearch: Story = { { key: "neptune", value: "Neptune", canShow: false }, { key: "saturn", value: "Saturn", canShow: false }, { key: "uranus", value: "Uranus", canShow: false } - ]; + ]), []); const [selectedPlanets, setSelectedPlanets] = useState(planets); const handleSearch = useCallback((event, query) => { setSelectedPlanets(planets.filter(x => x.value.toLowerCase().startsWith(query.toLowerCase()) && x.canShow)); - }, [setSelectedPlanets]); + }, [setSelectedPlanets, planets]); return ( <Autocomplete diff --git a/packages/components/src/badge/docs/Circle.tsx b/packages/components/src/badge/docs/Circle.tsx index c7dbee6ed..382e02684 100644 --- a/packages/components/src/badge/docs/Circle.tsx +++ b/packages/components/src/badge/docs/Circle.tsx @@ -1,5 +1,5 @@ import { Div } from "@components/html"; export function Circle() { - return <Div backgroundColor="sapphire-200" borderRadius="100%" width="45px" height="45px" />; + return <Div backgroundColor="sapphire-200" borderRadius="100%" height="45px" width="45px" />; } diff --git a/packages/components/src/badge/docs/Square.tsx b/packages/components/src/badge/docs/Square.tsx index 71e59a1d7..468e12a96 100644 --- a/packages/components/src/badge/docs/Square.tsx +++ b/packages/components/src/badge/docs/Square.tsx @@ -1,5 +1,5 @@ import { Div } from "@components/html"; export function Square() { - return <Div backgroundColor="sapphire-200" width="45px" height="45px" />; + return <Div backgroundColor="sapphire-200" height="45px" width="45px" />; } diff --git a/packages/components/src/button/tests/chromatic/ButtonAsLinkNegative.stories.tsx b/packages/components/src/button/tests/chromatic/ButtonAsLinkNegative.stories.tsx index c7ab11250..309f58157 100644 --- a/packages/components/src/button/tests/chromatic/ButtonAsLinkNegative.stories.tsx +++ b/packages/components/src/button/tests/chromatic/ButtonAsLinkNegative.stories.tsx @@ -6,6 +6,7 @@ import { StartOverIcon } from "@hopper-ui/icons"; import { Text } from "@components/typography"; import { Meta, StoryObj } from "@storybook/react"; +import { Counter } from "@components/counter"; const meta = { title: "Chromatic/ButtonAsLink/negative", @@ -160,7 +161,7 @@ export const EndIcon: ButtonAsLinkStory = { ) }; -export const Counter: ButtonAsLinkStory = { +export const CounterStory: ButtonAsLinkStory = { name: "counter", render: () => ( <Stack> diff --git a/packages/components/src/button/tests/chromatic/ButtonAsLinkPrimary.stories.tsx b/packages/components/src/button/tests/chromatic/ButtonAsLinkPrimary.stories.tsx index 3635553e9..f7c75e7d5 100644 --- a/packages/components/src/button/tests/chromatic/ButtonAsLinkPrimary.stories.tsx +++ b/packages/components/src/button/tests/chromatic/ButtonAsLinkPrimary.stories.tsx @@ -6,6 +6,7 @@ import { StartOverIcon } from "@hopper-ui/icons"; import { Text } from "@components/typography"; import { Meta, StoryObj } from "@storybook/react"; +import { Counter } from "@components/counter"; const meta = { title: "Chromatic/ButtonAsLink/primary", @@ -160,7 +161,7 @@ export const EndIcon: ButtonAsLinkStory = { ) }; -export const Counter: ButtonAsLinkStory = { +export const CounterStory: ButtonAsLinkStory = { name: "counter", render: () => ( <Stack> diff --git a/packages/components/src/button/tests/chromatic/ButtonAsLinkSecondary.stories.tsx b/packages/components/src/button/tests/chromatic/ButtonAsLinkSecondary.stories.tsx index 1c593d58d..5ef33bd66 100644 --- a/packages/components/src/button/tests/chromatic/ButtonAsLinkSecondary.stories.tsx +++ b/packages/components/src/button/tests/chromatic/ButtonAsLinkSecondary.stories.tsx @@ -6,6 +6,7 @@ import { StartOverIcon } from "@hopper-ui/icons"; import { Text } from "@components/typography"; import { Meta, StoryObj } from "@storybook/react"; +import { Counter } from "@components/counter"; const meta = { title: "Chromatic/ButtonAsLink/secondary", @@ -160,7 +161,7 @@ export const EndIcon: ButtonAsLinkStory = { ) }; -export const Counter: ButtonAsLinkStory = { +export const CounterStory: ButtonAsLinkStory = { name: "counter", render: () => ( <Stack> diff --git a/packages/components/src/button/tests/chromatic/ButtonAsLinkTertiary.stories.tsx b/packages/components/src/button/tests/chromatic/ButtonAsLinkTertiary.stories.tsx index 07d0c9185..64c27f647 100644 --- a/packages/components/src/button/tests/chromatic/ButtonAsLinkTertiary.stories.tsx +++ b/packages/components/src/button/tests/chromatic/ButtonAsLinkTertiary.stories.tsx @@ -6,6 +6,7 @@ import { StartOverIcon } from "@hopper-ui/icons"; import { Text } from "@components/typography"; import { Meta, StoryObj } from "@storybook/react"; +import { Counter } from "@components/counter"; const meta = { title: "Chromatic/ButtonAsLink/tertiary", @@ -160,7 +161,7 @@ export const EndIcon: ButtonAsLinkStory = { ) }; -export const Counter: ButtonAsLinkStory = { +export const CounterStory: ButtonAsLinkStory = { name: "counter", render: () => ( <Stack> diff --git a/packages/components/src/button/tests/chromatic/ButtonAsLinkUpsell.stories.tsx b/packages/components/src/button/tests/chromatic/ButtonAsLinkUpsell.stories.tsx index 5dbac99da..3e51507b7 100644 --- a/packages/components/src/button/tests/chromatic/ButtonAsLinkUpsell.stories.tsx +++ b/packages/components/src/button/tests/chromatic/ButtonAsLinkUpsell.stories.tsx @@ -6,6 +6,7 @@ import { StartOverIcon } from "@hopper-ui/icons"; import { Text } from "@components/typography"; import { Meta, StoryObj } from "@storybook/react"; +import { Counter } from "@components/counter"; const meta = { title: "Chromatic/ButtonAsLink/upsell", @@ -160,7 +161,7 @@ export const EndIcon: ButtonAsLinkStory = { ) }; -export const Counter: ButtonAsLinkStory = { +export const CounterStory: ButtonAsLinkStory = { name: "counter", render: () => ( <Stack> diff --git a/packages/components/src/button/tests/chromatic/IconButtonAsLinkPrimary-hopper.stories.tsx b/packages/components/src/button/tests/chromatic/IconButtonAsLinkPrimary-hopper.stories.tsx index 9455b4e7b..db7b3e364 100644 --- a/packages/components/src/button/tests/chromatic/IconButtonAsLinkPrimary-hopper.stories.tsx +++ b/packages/components/src/button/tests/chromatic/IconButtonAsLinkPrimary-hopper.stories.tsx @@ -55,7 +55,7 @@ export const Default: IconButtonAsLinkStory = { ) }; -export const States: IconButtonStory = { +export const States: IconButtonAsLinkStory = { name: "states", render: () => ( <Inline gap="4.5rem"> @@ -205,7 +205,7 @@ export const States: IconButtonStory = { ) }; -export const Zoom: IconButtonStory = { +export const Zoom: IconButtonAsLinkStory = { name: "zoom", render: () => ( <Inline> diff --git a/packages/components/src/button/tests/chromatic/IconButtonAsLinkSecondary-hopper.stories.tsx b/packages/components/src/button/tests/chromatic/IconButtonAsLinkSecondary-hopper.stories.tsx index c8a86d56e..c1ffd3cd6 100644 --- a/packages/components/src/button/tests/chromatic/IconButtonAsLinkSecondary-hopper.stories.tsx +++ b/packages/components/src/button/tests/chromatic/IconButtonAsLinkSecondary-hopper.stories.tsx @@ -55,7 +55,7 @@ export const Default: IconButtonAsLinkStory = { ) }; -export const States: IconButtonStory = { +export const States: IconButtonAsLinkStory = { name: "states", render: () => ( <Inline gap="4.5rem"> @@ -205,7 +205,7 @@ export const States: IconButtonStory = { ) }; -export const Zoom: IconButtonStory = { +export const Zoom: IconButtonAsLinkStory = { name: "zoom", render: () => ( <Inline> diff --git a/packages/components/src/button/tests/chromatic/IconButtonAsLinkTertiary-hopper.stories.tsx b/packages/components/src/button/tests/chromatic/IconButtonAsLinkTertiary-hopper.stories.tsx index f312fd280..3762d3c30 100644 --- a/packages/components/src/button/tests/chromatic/IconButtonAsLinkTertiary-hopper.stories.tsx +++ b/packages/components/src/button/tests/chromatic/IconButtonAsLinkTertiary-hopper.stories.tsx @@ -55,7 +55,7 @@ export const Default: IconButtonAsLinkStory = { ) }; -export const States: IconButtonStory = { +export const States: IconButtonAsLinkStory = { name: "states", render: () => ( <Inline gap="4.5rem"> @@ -205,7 +205,7 @@ export const States: IconButtonStory = { ) }; -export const Zoom: IconButtonStory = { +export const Zoom: IconButtonAsLinkStory = { name: "zoom", render: () => ( <Inline> diff --git a/packages/components/src/button/tests/chromatic/IconButtonAsLinkTertiary.stories.tsx b/packages/components/src/button/tests/chromatic/IconButtonAsLinkTertiary.stories.tsx index 558a05e2a..ac6191ef8 100644 --- a/packages/components/src/button/tests/chromatic/IconButtonAsLinkTertiary.stories.tsx +++ b/packages/components/src/button/tests/chromatic/IconButtonAsLinkTertiary.stories.tsx @@ -55,7 +55,7 @@ export const Default: IconButtonAsLinkStory = { ) }; -export const States: IconButtonStory = { +export const States: IconButtonAsLinkStory = { name: "states", render: () => ( <Inline gap="4.5rem"> @@ -205,7 +205,7 @@ export const States: IconButtonStory = { ) }; -export const Zoom: IconButtonStory = { +export const Zoom: IconButtonAsLinkStory = { name: "zoom", render: () => ( <Inline> diff --git a/packages/components/src/button/tests/chromatic/IconButtonAsLinkUpsell-hopper.stories.tsx b/packages/components/src/button/tests/chromatic/IconButtonAsLinkUpsell-hopper.stories.tsx index 3689d6893..aa003a5cb 100644 --- a/packages/components/src/button/tests/chromatic/IconButtonAsLinkUpsell-hopper.stories.tsx +++ b/packages/components/src/button/tests/chromatic/IconButtonAsLinkUpsell-hopper.stories.tsx @@ -55,7 +55,7 @@ export const Default: IconButtonAsLinkStory = { ) }; -export const States: IconButtonStory = { +export const States: IconButtonAsLinkStory = { name: "states", render: () => ( <Inline gap="4.5rem"> @@ -205,7 +205,7 @@ export const States: IconButtonStory = { ) }; -export const Zoom: IconButtonStory = { +export const Zoom: IconButtonAsLinkStory = { name: "zoom", render: () => ( <Inline> diff --git a/packages/components/src/button/tests/chromatic/IconButtonNegative-hopper.stories.tsx b/packages/components/src/button/tests/chromatic/IconButtonNegative-hopper.stories.tsx index 74b3c839a..3722ed9ef 100644 --- a/packages/components/src/button/tests/chromatic/IconButtonNegative-hopper.stories.tsx +++ b/packages/components/src/button/tests/chromatic/IconButtonNegative-hopper.stories.tsx @@ -210,12 +210,12 @@ export const Zoom: IconButtonStory = { render: () => ( <Inline> <Div className="zoom-in"> - <IconButton variant="negative"> + <IconButton variant="negative" aria-label="add"> <AddIcon /> </IconButton> </Div> <Div className="zoom-out"> - <IconButton variant="negative"> + <IconButton variant="negative" aria-label="add"> <AddIcon /> </IconButton> </Div> diff --git a/packages/components/src/button/tests/chromatic/IconButtonNegative.stories.tsx b/packages/components/src/button/tests/chromatic/IconButtonNegative.stories.tsx index 6fa043dfa..ccffc6972 100644 --- a/packages/components/src/button/tests/chromatic/IconButtonNegative.stories.tsx +++ b/packages/components/src/button/tests/chromatic/IconButtonNegative.stories.tsx @@ -210,12 +210,12 @@ export const Zoom: IconButtonStory = { render: () => ( <Inline> <Div className="zoom-in"> - <IconButton variant="negative"> + <IconButton variant="negative" aria-label="add"> <AddIcon /> </IconButton> </Div> <Div className="zoom-out"> - <IconButton variant="negative"> + <IconButton variant="negative" aria-label="add"> <AddIcon /> </IconButton> </Div> diff --git a/packages/components/src/button/tests/chromatic/IconButtonPrimary-hopper.stories.tsx b/packages/components/src/button/tests/chromatic/IconButtonPrimary-hopper.stories.tsx index ef8f9886e..486110868 100644 --- a/packages/components/src/button/tests/chromatic/IconButtonPrimary-hopper.stories.tsx +++ b/packages/components/src/button/tests/chromatic/IconButtonPrimary-hopper.stories.tsx @@ -210,12 +210,12 @@ export const Zoom: IconButtonStory = { render: () => ( <Inline> <Div className="zoom-in"> - <IconButton variant="primary"> + <IconButton variant="primary" aria-label="add"> <AddIcon /> </IconButton> </Div> <Div className="zoom-out"> - <IconButton variant="primary"> + <IconButton variant="primary" aria-label="add"> <AddIcon /> </IconButton> </Div> diff --git a/packages/components/src/button/tests/chromatic/IconButtonPrimary.stories.tsx b/packages/components/src/button/tests/chromatic/IconButtonPrimary.stories.tsx index 5d03d6314..fa5497011 100644 --- a/packages/components/src/button/tests/chromatic/IconButtonPrimary.stories.tsx +++ b/packages/components/src/button/tests/chromatic/IconButtonPrimary.stories.tsx @@ -210,12 +210,12 @@ export const Zoom: IconButtonStory = { render: () => ( <Inline> <Div className="zoom-in"> - <IconButton variant="primary"> + <IconButton variant="primary" aria-label="add"> <AddIcon /> </IconButton> </Div> <Div className="zoom-out"> - <IconButton variant="primary"> + <IconButton variant="primary" aria-label="add"> <AddIcon /> </IconButton> </Div> diff --git a/packages/components/src/button/tests/chromatic/IconButtonSecondary-hopper.stories.tsx b/packages/components/src/button/tests/chromatic/IconButtonSecondary-hopper.stories.tsx index 9c27b8a0c..94d7fbf50 100644 --- a/packages/components/src/button/tests/chromatic/IconButtonSecondary-hopper.stories.tsx +++ b/packages/components/src/button/tests/chromatic/IconButtonSecondary-hopper.stories.tsx @@ -210,12 +210,12 @@ export const Zoom: IconButtonStory = { render: () => ( <Inline> <Div className="zoom-in"> - <IconButton variant="secondary"> + <IconButton variant="secondary" aria-label="add"> <AddIcon /> </IconButton> </Div> <Div className="zoom-out"> - <IconButton variant="secondary"> + <IconButton variant="secondary" aria-label="add"> <AddIcon /> </IconButton> </Div> diff --git a/packages/components/src/button/tests/chromatic/IconButtonSecondary.stories.tsx b/packages/components/src/button/tests/chromatic/IconButtonSecondary.stories.tsx index 55ad9c751..5b864e642 100644 --- a/packages/components/src/button/tests/chromatic/IconButtonSecondary.stories.tsx +++ b/packages/components/src/button/tests/chromatic/IconButtonSecondary.stories.tsx @@ -210,12 +210,12 @@ export const Zoom: IconButtonStory = { render: () => ( <Inline> <Div className="zoom-in"> - <IconButton variant="secondary"> + <IconButton variant="secondary" aria-label="add"> <AddIcon /> </IconButton> </Div> <Div className="zoom-out"> - <IconButton variant="secondary"> + <IconButton variant="secondary" aria-label="add"> <AddIcon /> </IconButton> </Div> diff --git a/packages/components/src/button/tests/chromatic/IconButtonTertiary-hopper.stories.tsx b/packages/components/src/button/tests/chromatic/IconButtonTertiary-hopper.stories.tsx index 8c6661dda..7194a5b7e 100644 --- a/packages/components/src/button/tests/chromatic/IconButtonTertiary-hopper.stories.tsx +++ b/packages/components/src/button/tests/chromatic/IconButtonTertiary-hopper.stories.tsx @@ -210,12 +210,12 @@ export const Zoom: IconButtonStory = { render: () => ( <Inline> <Div className="zoom-in"> - <IconButton variant="tertiary"> + <IconButton variant="tertiary" aria-label="add"> <AddIcon /> </IconButton> </Div> <Div className="zoom-out"> - <IconButton variant="tertiary"> + <IconButton variant="tertiary" aria-label="add"> <AddIcon /> </IconButton> </Div> diff --git a/packages/components/src/button/tests/chromatic/IconButtonTertiary.stories.tsx b/packages/components/src/button/tests/chromatic/IconButtonTertiary.stories.tsx index f23181cde..617898502 100644 --- a/packages/components/src/button/tests/chromatic/IconButtonTertiary.stories.tsx +++ b/packages/components/src/button/tests/chromatic/IconButtonTertiary.stories.tsx @@ -210,12 +210,12 @@ export const Zoom: IconButtonStory = { render: () => ( <Inline> <Div className="zoom-in"> - <IconButton variant="tertiary"> + <IconButton variant="tertiary" aria-label="add"> <AddIcon /> </IconButton> </Div> <Div className="zoom-out"> - <IconButton variant="tertiary"> + <IconButton variant="tertiary" aria-label="add"> <AddIcon /> </IconButton> </Div> diff --git a/packages/components/src/button/tests/chromatic/IconButtonUpsell-hopper.stories.tsx b/packages/components/src/button/tests/chromatic/IconButtonUpsell-hopper.stories.tsx index d26b1b7b3..72c35cd21 100644 --- a/packages/components/src/button/tests/chromatic/IconButtonUpsell-hopper.stories.tsx +++ b/packages/components/src/button/tests/chromatic/IconButtonUpsell-hopper.stories.tsx @@ -210,12 +210,12 @@ export const Zoom: IconButtonStory = { render: () => ( <Inline> <Div className="zoom-in"> - <IconButton variant="upsell"> + <IconButton variant="upsell" aria-label="add"> <AddIcon /> </IconButton> </Div> <Div className="zoom-out"> - <IconButton variant="upsell"> + <IconButton variant="upsell" aria-label="add"> <AddIcon /> </IconButton> </Div> diff --git a/packages/components/src/button/tests/chromatic/IconButtonUpsell.stories.tsx b/packages/components/src/button/tests/chromatic/IconButtonUpsell.stories.tsx index db72d242d..90f6de9ac 100644 --- a/packages/components/src/button/tests/chromatic/IconButtonUpsell.stories.tsx +++ b/packages/components/src/button/tests/chromatic/IconButtonUpsell.stories.tsx @@ -210,12 +210,12 @@ export const Zoom: IconButtonStory = { render: () => ( <Inline> <Div className="zoom-in"> - <IconButton variant="upsell"> + <IconButton variant="upsell" aria-label="add"> <AddIcon /> </IconButton> </Div> <Div className="zoom-out"> - <IconButton variant="upsell"> + <IconButton variant="upsell" aria-label="add"> <AddIcon /> </IconButton> </Div> diff --git a/packages/components/src/button/tests/chromatic/ToggleButtonPrimary-hopper.stories.tsx b/packages/components/src/button/tests/chromatic/ToggleButtonPrimary-hopper.stories.tsx index ffff81b8f..1be9da9c2 100644 --- a/packages/components/src/button/tests/chromatic/ToggleButtonPrimary-hopper.stories.tsx +++ b/packages/components/src/button/tests/chromatic/ToggleButtonPrimary-hopper.stories.tsx @@ -4,6 +4,7 @@ import { Div } from "@components/html"; import { LightbulbIcon } from "@hopper-ui/icons"; import { Meta, StoryObj } from "@storybook/react"; +import { Text } from "@components/typography"; const meta = { title: "Chromatic/ToggleButton-hopper/primary", diff --git a/packages/components/src/button/tests/chromatic/ToggleButtonPrimary.stories.tsx b/packages/components/src/button/tests/chromatic/ToggleButtonPrimary.stories.tsx index 4ecad77df..aeb4c060f 100644 --- a/packages/components/src/button/tests/chromatic/ToggleButtonPrimary.stories.tsx +++ b/packages/components/src/button/tests/chromatic/ToggleButtonPrimary.stories.tsx @@ -2,8 +2,8 @@ import { Inline, Stack } from "@components/layout"; import { ToggleButton } from "@components/button"; import { LightbulbIcon } from "@hopper-ui/icons"; import { Div } from "@components/html"; - import { Meta, StoryObj } from "@storybook/react"; +import { Text } from "@components/typography"; const meta = { title: "Chromatic/ToggleButton/primary", diff --git a/packages/components/src/button/tests/chromatic/ToggleButtonSecondary-hopper.stories.tsx b/packages/components/src/button/tests/chromatic/ToggleButtonSecondary-hopper.stories.tsx index 19e57755c..11202b48d 100644 --- a/packages/components/src/button/tests/chromatic/ToggleButtonSecondary-hopper.stories.tsx +++ b/packages/components/src/button/tests/chromatic/ToggleButtonSecondary-hopper.stories.tsx @@ -4,6 +4,7 @@ import { LightbulbIcon } from "@hopper-ui/icons"; import { Div } from "@components/html"; import { Meta, StoryObj } from "@storybook/react"; +import { Text } from "@components/typography"; const meta = { title: "Chromatic/ToggleButton-hopper/secondary", diff --git a/packages/components/src/button/tests/chromatic/ToggleButtonSecondary.stories.tsx b/packages/components/src/button/tests/chromatic/ToggleButtonSecondary.stories.tsx index cc3f01b40..e1d2f2bb9 100644 --- a/packages/components/src/button/tests/chromatic/ToggleButtonSecondary.stories.tsx +++ b/packages/components/src/button/tests/chromatic/ToggleButtonSecondary.stories.tsx @@ -4,6 +4,7 @@ import { LightbulbIcon } from "@hopper-ui/icons"; import { Div } from "@components/html"; import { Meta, StoryObj } from "@storybook/react"; +import { Text } from "@components/typography"; const meta = { title: "Chromatic/ToggleButton/secondary", diff --git a/packages/components/src/card/tests/chromatic/CardHorizontal-hopper.stories.tsx b/packages/components/src/card/tests/chromatic/CardHorizontal-hopper.stories.tsx index 5ab974e23..b0cb7dc8f 100644 --- a/packages/components/src/card/tests/chromatic/CardHorizontal-hopper.stories.tsx +++ b/packages/components/src/card/tests/chromatic/CardHorizontal-hopper.stories.tsx @@ -322,7 +322,7 @@ export const RichContent: CardStory = { <Heading>Nasa</Heading> <Content> <Paragraph> - <Link href="https://www.nasa.gov" external>The National Aeronautics and Space Administration</Link> + <Link href="https://www.nasa.gov" isExternal>The National Aeronautics and Space Administration</Link> </Paragraph> <UL> <LI>Space Shuttle program</LI> @@ -334,7 +334,7 @@ export const RichContent: CardStory = { <Heading>Nasa</Heading> <Content> <Paragraph> - <Link href="https://www.nasa.gov" external>The National Aeronautics and Space Administration</Link> + <Link href="https://www.nasa.gov" isExternal>The National Aeronautics and Space Administration</Link> </Paragraph> <UL> <LI>Space Shuttle program</LI> @@ -346,7 +346,7 @@ export const RichContent: CardStory = { <Heading>Nasa</Heading> <Content> <Paragraph> - <Link href="https://www.nasa.gov" external>The National Aeronautics and Space Administration</Link> + <Link href="https://www.nasa.gov" isExternal>The National Aeronautics and Space Administration</Link> </Paragraph> <UL> <LI>Space Shuttle program</LI> @@ -360,7 +360,7 @@ export const RichContent: CardStory = { <Heading>Nasa</Heading> <Content> <Paragraph> - <Link href="https://www.nasa.gov" external>The National Aeronautics and Space Administration</Link> + <Link href="https://www.nasa.gov" isExternal>The National Aeronautics and Space Administration</Link> </Paragraph> <UL> <LI>Space Shuttle program</LI> @@ -372,7 +372,7 @@ export const RichContent: CardStory = { <Heading>Nasa</Heading> <Content> <Paragraph> - <Link href="https://www.nasa.gov" external>The National Aeronautics and Space Administration</Link> + <Link href="https://www.nasa.gov" isExternal>The National Aeronautics and Space Administration</Link> </Paragraph> <UL> <LI>Space Shuttle program</LI> @@ -385,7 +385,7 @@ export const RichContent: CardStory = { <Heading>Nasa</Heading> <Content> <Paragraph> - <Link href="https://www.nasa.gov" external>The National Aeronautics and Space Administration</Link> + <Link href="https://www.nasa.gov" isExternal>The National Aeronautics and Space Administration</Link> </Paragraph> <UL> <LI>Space Shuttle program</LI> diff --git a/packages/components/src/card/tests/chromatic/CardVertical-hopper.stories.tsx b/packages/components/src/card/tests/chromatic/CardVertical-hopper.stories.tsx index 78c42affa..84337804d 100644 --- a/packages/components/src/card/tests/chromatic/CardVertical-hopper.stories.tsx +++ b/packages/components/src/card/tests/chromatic/CardVertical-hopper.stories.tsx @@ -323,7 +323,7 @@ export const RichContent: CardStory = { <Heading>Nasa</Heading> <Content> <Paragraph> - <Link href="https://www.nasa.gov" external>The National Aeronautics and Space Administration</Link> + <Link href="https://www.nasa.gov" isExternal>The National Aeronautics and Space Administration</Link> </Paragraph> <UL> <LI>Space Shuttle program</LI> @@ -335,7 +335,7 @@ export const RichContent: CardStory = { <Heading>Nasa</Heading> <Content> <Paragraph> - <Link href="https://www.nasa.gov" external>The National Aeronautics and Space Administration</Link> + <Link href="https://www.nasa.gov" isExternal>The National Aeronautics and Space Administration</Link> </Paragraph> <UL> <LI>Space Shuttle program</LI> @@ -347,7 +347,7 @@ export const RichContent: CardStory = { <Heading>Nasa</Heading> <Content> <Paragraph> - <Link href="https://www.nasa.gov" external>The National Aeronautics and Space Administration</Link> + <Link href="https://www.nasa.gov" isExternal>The National Aeronautics and Space Administration</Link> </Paragraph> <UL> <LI>Space Shuttle program</LI> @@ -361,7 +361,7 @@ export const RichContent: CardStory = { <Heading>Nasa</Heading> <Content> <Paragraph> - <Link href="https://www.nasa.gov" external>The National Aeronautics and Space Administration</Link> + <Link href="https://www.nasa.gov" isExternal>The National Aeronautics and Space Administration</Link> </Paragraph> <UL> <LI>Space Shuttle program</LI> @@ -373,7 +373,7 @@ export const RichContent: CardStory = { <Heading>Nasa</Heading> <Content> <Paragraph> - <Link href="https://www.nasa.gov" external>The National Aeronautics and Space Administration</Link> + <Link href="https://www.nasa.gov" isExternal>The National Aeronautics and Space Administration</Link> </Paragraph> <UL> <LI>Space Shuttle program</LI> @@ -386,7 +386,7 @@ export const RichContent: CardStory = { <Heading>Nasa</Heading> <Content> <Paragraph> - <Link href="https://www.nasa.gov" external>The National Aeronautics and Space Administration</Link> + <Link href="https://www.nasa.gov" isExternal>The National Aeronautics and Space Administration</Link> </Paragraph> <UL> <LI>Space Shuttle program</LI> diff --git a/packages/components/src/checkbox/docs/Checkbox.stories.tsx b/packages/components/src/checkbox/docs/Checkbox.stories.tsx index 973ec5b5b..7230f795a 100644 --- a/packages/components/src/checkbox/docs/Checkbox.stories.tsx +++ b/packages/components/src/checkbox/docs/Checkbox.stories.tsx @@ -1,10 +1,10 @@ -import { Checkbox, CheckboxGroup, useCheckableProps } from "@components/checkbox"; +import { Checkbox, CheckboxGroup } from "@components/checkbox"; import { Counter } from "@components/counter"; import { SparklesIcon } from "@hopper-ui/icons"; import { Inline } from "@components/layout"; import { Text } from "@components/typography"; import { Tag } from "@components/tag"; -import { as } from "@components/shared"; +import { as, useCheckableProps } from "@components/shared"; import { useCallback, useState } from "react"; import { Meta, StoryObj } from "@storybook/react"; diff --git a/packages/components/src/disclosure/docs/Disclosure.stories.tsx b/packages/components/src/disclosure/docs/Disclosure.stories.tsx index 527dd74fb..218ece008 100644 --- a/packages/components/src/disclosure/docs/Disclosure.stories.tsx +++ b/packages/components/src/disclosure/docs/Disclosure.stories.tsx @@ -5,6 +5,8 @@ import { Text } from "@components/typography"; import { useCallback, useState } from "react"; import { Meta, StoryObj } from "@storybook/react"; +import { TextLinkAsButton } from "@components/link"; +import { AngleDownIcon } from "@hopper-ui/icons"; const meta = { title: "Components/Disclosure", diff --git a/packages/components/src/form/docs/Form.stories.tsx b/packages/components/src/form/docs/Form.stories.tsx index 63ec87ffc..03d3c9f53 100644 --- a/packages/components/src/form/docs/Form.stories.tsx +++ b/packages/components/src/form/docs/Form.stories.tsx @@ -247,6 +247,7 @@ export const ButtonAlignment: Story = { export const Formik: Story = { render: () => { + // eslint-disable-next-line react-hooks/rules-of-hooks const formik = useFormik({ initialValues: { firstName: "", diff --git a/packages/components/src/illustration/docs/assets/index.tsx b/packages/components/src/illustration/docs/assets/index.tsx index 477a274f4..45ec118e1 100644 --- a/packages/components/src/illustration/docs/assets/index.tsx +++ b/packages/components/src/illustration/docs/assets/index.tsx @@ -1,4 +1,3 @@ -import NoResults from "./no-results.svg"; import Planet from "./planet.png"; -export { NoResults, Planet }; +export { Planet }; diff --git a/packages/components/src/illustration/docs/assets/no-results.svg b/packages/components/src/illustration/docs/assets/no-results.svg deleted file mode 100644 index 39bcfee86..000000000 --- a/packages/components/src/illustration/docs/assets/no-results.svg +++ /dev/null @@ -1,25 +0,0 @@ -<svg width="361" height="163" viewBox="0 0 361 163" fill="none" xmlns="http://www.w3.org/2000/svg"> -<path d="M232.254 19.5795C236.185 22.1832 240.142 24.8126 244.073 27.4163C241.367 25.655 237.87 25.1444 234.755 26.0634C231.641 26.9824 228.986 29.3054 227.659 32.2665C233.173 29.5862 236.389 23.8425 239.299 18.4563C236.874 22.9746 237.436 28.9735 234.474 33.4153C234.015 28.7438 233.607 24.1233 232.254 19.5795Z" stroke-width="1.67816" stroke-miterlimit="10" stroke-linecap="round" stroke-linejoin="round"/> -<path d="M91.5981 71.8083C91.4449 70.2511 91.3173 68.694 91.1641 67.1368C92.5426 67.9026 93.9466 68.694 95.3251 69.4598C93.1042 69.4853 90.9089 69.5364 88.688 69.5619C90.143 70.1746 91.981 68.6174 91.5981 67.0858C91.2662 69.2556 90.9344 71.4254 90.6025 73.5952C90.9854 72.8549 91.3683 72.1402 91.7513 71.3999" stroke-width="2.55273" stroke-miterlimit="10" stroke-linecap="round" stroke-linejoin="round"/> -<path d="M264.265 69.0003C264.75 67.0858 265.261 65.1457 265.746 63.2311C266.409 64.3033 267.048 65.3754 267.711 66.4221C266.588 66.2689 265.465 66.1413 264.316 65.9881C266.665 65.937 268.988 64.9925 270.672 63.3332C268.911 64.7117 267.15 66.0902 265.414 67.4942" stroke-width="2.55273" stroke-miterlimit="10" stroke-linecap="round" stroke-linejoin="round"/> -<path d="M1.97192 131.695C2.45694 129.781 2.96749 127.841 3.45251 125.926C4.11622 126.998 4.7544 128.07 5.41811 129.117C4.29491 128.964 3.17171 128.836 2.02298 128.683C4.37149 128.632 6.69447 127.688 8.37928 126.028C6.64342 127.432 4.88204 128.811 3.12065 130.189" stroke-width="2.55273" stroke-miterlimit="10" stroke-linecap="round" stroke-linejoin="round"/> -<path d="M107.374 161.205C106.864 159.29 106.353 157.376 105.843 155.461C108.115 154.695 110.795 155.461 112.327 157.299C108.855 157.07 105.383 156.84 101.911 156.636C103.851 156.355 105.638 155.206 106.685 153.572C106.583 155.793 106.481 158.014 106.379 160.26" stroke-width="2.55273" stroke-miterlimit="10" stroke-linecap="round" stroke-linejoin="round"/> -<path d="M210.147 132.282C211.653 130.393 212.649 128.07 212.98 125.671C214.231 126.922 215.048 128.581 215.329 130.317C213.185 129.679 211.04 129.015 208.922 128.377C211.679 127.254 214.461 126.105 217.218 124.982C214.512 126.028 212.087 127.815 210.275 130.113" stroke-width="2.55273" stroke-miterlimit="10" stroke-linecap="round" stroke-linejoin="round"/> -<path d="M26.4017 67.8771C26.6315 64.6607 28.546 61.6229 31.303 59.9892C32.4517 62.7716 33.6259 65.5541 34.7747 68.3111C30.9711 67.0092 27.2952 65.2988 23.8745 63.2056C28.5205 61.8527 33.3451 61.1634 38.1953 61.1889C33.9323 62.8993 29.899 65.2223 26.2996 68.0558C26.9633 68.7961 27.9334 69.2556 28.9289 69.2556" stroke-width="2.55273" stroke-miterlimit="10" stroke-linecap="round" stroke-linejoin="round"/> -<path d="M297.986 136.903C298.956 135.754 299.926 134.605 300.896 133.457C301.152 134.605 301.79 135.652 302.709 136.392C301.484 134.095 298.956 132.538 296.353 132.512C299.773 131.925 303.194 131.312 306.615 130.725C303.041 132.538 299.646 134.733 296.531 137.26C297.45 137.209 298.369 137.184 299.288 137.133" stroke-width="2.55273" stroke-miterlimit="10" stroke-linecap="round" stroke-linejoin="round"/> -<path d="M153.17 5.66709C153.528 4.54388 153.962 3.3441 154.983 2.7825C156.004 2.2209 157.663 2.96119 157.459 4.08439C156.131 3.67596 154.829 3.29305 153.502 2.88461C155.672 2.34854 157.816 1.81246 159.986 1.25086C156.897 2.06774 154.064 3.77807 151.894 6.10105" stroke-width="2.55273" stroke-miterlimit="10" stroke-linecap="round" stroke-linejoin="round"/> -<path d="M180.05 77.2456C174.97 79.0325 169.508 80.8705 164.274 79.5431C159.041 78.2157 154.625 72.3444 156.897 67.4687C158.352 64.3288 161.875 62.7716 165.219 61.8527C172.877 59.7849 181.122 59.9126 188.704 62.1845C195.75 64.3033 203.102 69.8427 202.489 77.169C202.131 81.3555 199.119 84.9549 195.494 87.0226C191.844 89.0903 187.632 89.8561 183.471 90.3922C171.601 91.8728 159.195 91.5664 148.243 86.7673C141.632 83.8827 134.101 77.2967 136.705 70.5575C143.623 52.5862 174.741 47.8126 193.81 50.7483C207.62 52.867 225.463 62.644 223.83 76.3266C222.911 83.9082 212.317 93.4299 205.373 96.6208C186.79 105.172 169.839 107.419 149.494 105.479C143.802 104.943 138.083 103.666 133.157 100.782C128.23 97.8972 124.12 93.2768 122.767 87.7373C120.291 77.5264 127.285 67.6729 133.871 59.4786" stroke-width="2.55273" stroke-miterlimit="10" stroke-linecap="round" stroke-linejoin="round"/> -<path d="M326.22 42.6561C327.547 42.7838 328.696 41.6861 329.998 41.3798C331.887 40.9203 333.725 42.1456 335.614 42.6306C337.682 43.1667 339.877 42.8348 341.996 43.1156C346.233 43.6517 349.884 46.5618 352.283 50.0846C354.683 53.6074 356.036 57.7428 357.363 61.8016C358.921 66.6007 360.401 72.1657 357.67 76.4288C356.853 77.7051 355.704 78.7517 355.066 80.1047C353.713 82.9382 354.734 86.6141 352.871 89.1413C350.573 92.2557 345.799 91.3878 342.021 92.2302C337.503 93.2257 333.827 97.0038 329.232 97.3611C323.693 97.7951 319.098 93.2512 313.788 91.7196C312.41 91.3112 310.878 91.0814 309.857 90.0859C308.913 89.1669 308.581 87.7884 308.07 86.5631C306.896 83.7551 304.573 81.4321 304.088 78.4454C303.271 73.4165 306.743 67.9537 307.789 63.1546C308.555 59.6828 308.198 56.2111 308.657 52.7394C309.091 49.6761 310.112 47.634 312.767 45.8981C313.865 45.1323 326.22 39.8992 326.22 42.6561Z" stroke-width="1.77491" stroke-miterlimit="10" stroke-linecap="round" stroke-linejoin="round"/> -<path d="M343.834 50.3399C343.553 52.7139 346.157 54.9092 348.454 54.2711C348.275 53.7605 347.612 53.5052 347.127 53.735" stroke-width="1.77491" stroke-miterlimit="10" stroke-linecap="round" stroke-linejoin="round"/> -<path d="M324.127 50.0335C326.628 49.5996 329.309 51.1057 330.228 53.4797C329.972 53.301 329.717 53.1479 329.462 52.9692" stroke-width="1.77491" stroke-miterlimit="10" stroke-linecap="round" stroke-linejoin="round"/> -<path d="M336.125 60.2955C337.018 61.1124 338.218 61.6229 339.443 61.674" stroke-width="1.77491" stroke-miterlimit="10" stroke-linecap="round" stroke-linejoin="round"/> -<path d="M324.995 78.1901C326.118 81.4066 326.169 85.0059 325.148 88.2479C324.816 88.2479 324.484 87.9416 324.484 87.6097" stroke-width="1.77491" stroke-miterlimit="10" stroke-linecap="round" stroke-linejoin="round"/> -<path d="M310.853 75.0503C311.567 76.8117 314.069 77.552 315.626 76.4543C316.469 75.8416 317.005 74.6929 316.596 73.7229C316.188 72.7528 314.707 72.3699 314.069 73.1868" stroke-width="1.77491" stroke-miterlimit="10" stroke-linecap="round" stroke-linejoin="round"/> -<path d="M336.814 73.6463C336.278 73.7994 336.252 74.6418 336.661 74.9992C337.069 75.3821 337.682 75.4077 338.243 75.3821C338.779 75.3566 339.392 75.28 339.698 74.8461C340.03 74.4121 339.698 73.5952 339.162 73.7484" stroke-width="1.77491" stroke-miterlimit="10" stroke-linecap="round" stroke-linejoin="round"/> -<path d="M350.726 74.4632C349.399 74.7695 348.378 76.0969 348.429 77.4498C349.68 77.6796 351.033 77.8838 352.105 77.2456C353.202 76.6074 353.56 74.744 352.437 74.1568" stroke-width="1.77491" stroke-miterlimit="10" stroke-linecap="round" stroke-linejoin="round"/> -<path d="M60.174 10.7725C58.9998 11.3341 57.7489 11.9468 57.0852 13.07C56.6768 13.7592 56.5236 14.5761 56.3704 15.3674C56.0131 17.282 55.6557 19.1965 55.2983 21.0856C55.0175 22.5151 54.7622 24.0212 55.1707 25.4252C55.6302 27.0079 56.8555 28.2332 58.0297 29.4075C59.8677 31.1944 61.7057 32.9813 63.5436 34.7682C65.2795 36.453 67.2961 38.2654 69.7467 38.2399C71.2784 38.2144 72.7079 37.4486 74.0609 36.7083C76.1286 35.5595 78.2218 34.3598 79.7534 32.5728C81.2851 30.7859 82.153 28.2077 81.3106 25.9868C83.4549 25.6039 85.1652 23.9191 86.1353 21.979C87.1053 20.0389 87.4372 17.8436 87.7435 15.6993C88.0243 13.8869 88.2796 11.9468 87.5903 10.2365C87.1819 9.21537 86.4927 8.34744 85.7268 7.58162C77.0731 -1.14872 68.7257 6.71369 60.174 10.7725Z" stroke-width="1.77491" stroke-miterlimit="10" stroke-linecap="round" stroke-linejoin="round"/> -<path d="M69.1597 13.5295C70.2318 15.4696 73.2951 15.8525 74.8012 14.2442C75.0309 13.989 75.2352 13.5805 75.031 13.3253C74.8012 13.07 74.3162 13.6061 74.648 13.6826" stroke-width="1.77491" stroke-miterlimit="10" stroke-linecap="round" stroke-linejoin="round"/> -<path d="M60.7865 21.2643C59.9952 21.494 60.0207 22.7448 60.6844 23.2299C61.3481 23.7149 62.2671 23.6128 63.0585 23.4085C63.0585 22.4896 63.0585 21.5961 63.0585 20.6771C62.2926 20.4219 61.3737 20.575 60.7355 21.0856" stroke-width="1.77491" stroke-miterlimit="10" stroke-linecap="round" stroke-linejoin="round"/> -<path d="M69.5682 30.0967C69.2618 28.6416 70.1042 27.059 71.4827 26.4974C71.8401 26.3442 72.2485 26.2421 72.4017 25.8847C72.5549 25.5528 72.0954 25.0423 71.8401 25.3486" stroke-width="1.77491" stroke-miterlimit="10" stroke-linecap="round" stroke-linejoin="round"/> -<path d="M81.3107 14.4229C80.2385 14.5761 79.9577 16.2354 80.7746 16.9501C81.5915 17.6649 82.9189 17.4096 83.7358 16.6949C83.2252 16.4396 82.7147 16.1588 82.2297 15.9035" stroke-width="1.77491" stroke-miterlimit="10" stroke-linecap="round" stroke-linejoin="round"/> -</svg> diff --git a/packages/components/src/link/tests/chromatic/TextLink.stories.tsx b/packages/components/src/link/tests/chromatic/TextLink.stories.tsx index dda1569e6..e46502e10 100644 --- a/packages/components/src/link/tests/chromatic/TextLink.stories.tsx +++ b/packages/components/src/link/tests/chromatic/TextLink.stories.tsx @@ -4,6 +4,7 @@ import { Div } from "@components/html"; import { InfoIcon, ArrowRightIcon } from "@hopper-ui/icons"; import { Meta, StoryObj } from "@storybook/react"; +import { Text } from "@components/typography"; const meta = { title: "Chromatic/TextLink", diff --git a/packages/components/src/menu/docs/Menu.stories.tsx b/packages/components/src/menu/docs/Menu.stories.tsx index 23e513635..6469c8616 100644 --- a/packages/components/src/menu/docs/Menu.stories.tsx +++ b/packages/components/src/menu/docs/Menu.stories.tsx @@ -1,7 +1,7 @@ import { Menu, MenuTrigger, useMenuTriggerContext } from "@components/menu"; import { Button, IconButton } from "@components/button"; import { IconList } from "@components/icons"; -import { Content, Item, Section } from "@components/collection"; +import { Item, Section } from "@components/collection"; import { Divider } from "@components/divider"; import { DisclosureArrow } from "@components/disclosure"; import { TooltipTrigger, Tooltip } from "@components/tooltip"; @@ -13,6 +13,7 @@ import { CatIcon, KebabIcon, RocketIcon, SparklesIcon } from "@hopper-ui/icons"; import { useCallback, useState, forwardRef } from "react"; import { Meta, StoryObj } from "@storybook/react"; +import { Content } from "@components/placeholders"; const meta = { title: "Components/Menu", @@ -339,7 +340,7 @@ export const ModalStory: MenuStory = { render: () => { const [isOpen, setIsOpen] = useState(false); - const handleSelectionChange = useCallback((event, keys) => { + const handleSelectionChange = useCallback(() => { setIsOpen(true); }, [setIsOpen]); @@ -409,7 +410,7 @@ export const Selection: MenuStory = { /* eslint-disable react-hooks/rules-of-hooks */ export const CustomTriggerStory: MenuStory = { render: () => { - const CustomTrigger = forwardRef((props, ref) => { + const CustomTrigger = forwardRef<HTMLButtonElement>((props, ref) => { const { isOpen } = useMenuTriggerContext(); return ( diff --git a/packages/components/src/popover/docs/Popover.stories.tsx b/packages/components/src/popover/docs/Popover.stories.tsx index e3352aeb5..2171b42be 100644 --- a/packages/components/src/popover/docs/Popover.stories.tsx +++ b/packages/components/src/popover/docs/Popover.stories.tsx @@ -85,7 +85,7 @@ export const Position: PopoverStory = { export const Context: PopoverStory = { render: () => { - const HighlightedTrigger = forwardRef(({ ...rest }, ref) => { + const HighlightedTrigger = forwardRef<HTMLButtonElement>(({ ...rest }, ref) => { const { isOpen } = usePopoverTriggerContext(); return ( diff --git a/packages/components/src/radio/docs/Radio.stories.tsx b/packages/components/src/radio/docs/Radio.stories.tsx index bab00f14a..67c69b185 100644 --- a/packages/components/src/radio/docs/Radio.stories.tsx +++ b/packages/components/src/radio/docs/Radio.stories.tsx @@ -13,7 +13,7 @@ const meta = { title: "Components/RadioGroup", component: RadioGroup, id: "radio-group" -} as Meta<typeof Radio>; +} as Meta<typeof RadioGroup>; export default meta; diff --git a/packages/components/src/radio/tests/chromatic/RadioUnchecked-hopper.stories.tsx b/packages/components/src/radio/tests/chromatic/RadioUnchecked-hopper.stories.tsx index 23f79f8f5..98ab41f89 100644 --- a/packages/components/src/radio/tests/chromatic/RadioUnchecked-hopper.stories.tsx +++ b/packages/components/src/radio/tests/chromatic/RadioUnchecked-hopper.stories.tsx @@ -204,10 +204,10 @@ export const Overflow: RadioStory = { name: "overflow", render: () => ( <Stack> - <Flex alignItems="end" maxWidth="16rem"> + <Flex alignItems="end" UNSAFE_maxWidth="16rem"> <Radio value="any">PA-99-N2 event and possible exoplanet in galaxy</Radio> </Flex> - <Flex alignItems="end" maxWidth="16rem"> + <Flex alignItems="end" UNSAFE_maxWidth="16rem"> <Radio value="any"> <Text>PA-99-N2 event and possible exoplanet in galaxy</Text> <IconList> @@ -215,7 +215,7 @@ export const Overflow: RadioStory = { </IconList> </Radio> </Flex> - <Flex alignItems="end" maxWidth="16rem"> + <Flex alignItems="end" UNSAFE_maxWidth="16rem"> <Radio value="any"> <Text>PA-99-N2 event and possible exoplanet in galaxy</Text> <Counter>60</Counter> diff --git a/packages/components/src/tabs/docs/Tabs.stories.tsx b/packages/components/src/tabs/docs/Tabs.stories.tsx index 8c8142421..df642c98f 100644 --- a/packages/components/src/tabs/docs/Tabs.stories.tsx +++ b/packages/components/src/tabs/docs/Tabs.stories.tsx @@ -1,5 +1,6 @@ import { Tabs, useTabsContext } from "@components/tabs"; -import { Item, Content, Header } from "@components/placeholders"; +import { Content, Header } from "@components/placeholders"; +import { Item } from "@components/collection"; import { Div } from "@components/html"; import { Lozenge } from "@components/lozenge"; import { SparklesIcon } from "@hopper-ui/icons"; diff --git a/packages/components/src/tabs/tests/chromatic/Tabs-hopper.stories.tsx b/packages/components/src/tabs/tests/chromatic/Tabs-hopper.stories.tsx index 7eb865902..e68d7c565 100644 --- a/packages/components/src/tabs/tests/chromatic/Tabs-hopper.stories.tsx +++ b/packages/components/src/tabs/tests/chromatic/Tabs-hopper.stories.tsx @@ -44,7 +44,7 @@ const ActiveHeader = ({ tab, children, onSelect, ...rest }) => { const ColoredHeader = ({ children, tab, onSelect, ...rest }) => { return ( <Tab onSelect={onSelect} tab={tab} {...rest} > - <Text color="red">{children}</Text> + <Text UNSAFE_color="red">{children}</Text> </Tab> ); }; diff --git a/packages/components/src/tag/tests/chromatic/TagOutline-hopper.stories.tsx b/packages/components/src/tag/tests/chromatic/TagOutline-hopper.stories.tsx index 5f6f3edfd..066c9124d 100644 --- a/packages/components/src/tag/tests/chromatic/TagOutline-hopper.stories.tsx +++ b/packages/components/src/tag/tests/chromatic/TagOutline-hopper.stories.tsx @@ -8,6 +8,7 @@ import { Field, Label } from "@components/field"; import { Avatar, IconList, Text } from "@hopper-ui/components"; import { Meta, StoryObj } from "@storybook/react"; +import { as } from "@components/shared"; const meta = { title: "Chromatic/Tag-hopper/outline", @@ -330,22 +331,25 @@ export const Zoom: TagStory = { </Inline> ) }; + +const TagAsLink = as(Tag, "a"); + export const AsLink: TagStory = { name: "as link", render: () => ( <Inline> - <Tag as="a" variant="outline" href="#">Falcon 9</Tag> - <Tag as="a" variant="outline" href="#" validationState="invalid">Falcon 9</Tag> - <Tag as="a" active variant="outline" href="#">Falcon 9</Tag> - <Tag as="a" active variant="outline" href="#" validationState="invalid">Falcon 9</Tag> - <Tag as="a" focus variant="outline" href="#">Falcon 9</Tag> - <Tag as="a" focus variant="outline" href="#" validationState="invalid">Falcon 9</Tag> - <Tag as="a" hover variant="outline" href="#">Falcon 9</Tag> - <Tag as="a" hover variant="outline" href="#" validationState="invalid">Falcon 9</Tag> - <Tag as="a" focus hover variant="outline" href="#">Falcon 9</Tag> - <Tag as="a" focus hover variant="outline" href="#" validationState="invalid">Falcon 9</Tag> - <Tag as="a" disabled variant="outline" href="#">Falcon 9</Tag> - <Tag as="a" disabled variant="outline" href="#" validationState="invalid">Falcon 9</Tag> + <TagAsLink variant="outline" href="#">Falcon 9</TagAsLink> + <TagAsLink variant="outline" href="#" validationState="invalid">Falcon 9</TagAsLink> + <TagAsLink active variant="outline" href="#">Falcon 9</TagAsLink> + <TagAsLink active variant="outline" href="#" validationState="invalid">Falcon 9</TagAsLink> + <TagAsLink focus variant="outline" href="#">Falcon 9</TagAsLink> + <TagAsLink focus variant="outline" href="#" validationState="invalid">Falcon 9</TagAsLink> + <TagAsLink hover variant="outline" href="#">Falcon 9</TagAsLink> + <TagAsLink hover variant="outline" href="#" validationState="invalid">Falcon 9</TagAsLink> + <TagAsLink focus hover variant="outline" href="#">Falcon 9</TagAsLink> + <TagAsLink focus hover variant="outline" href="#" validationState="invalid">Falcon 9</TagAsLink> + <TagAsLink disabled variant="outline" href="#">Falcon 9</TagAsLink> + <TagAsLink disabled variant="outline" href="#" validationState="invalid">Falcon 9</TagAsLink> </Inline> ) }; diff --git a/packages/components/src/tag/tests/chromatic/TagOutline.stories.tsx b/packages/components/src/tag/tests/chromatic/TagOutline.stories.tsx index 8cd95478e..a54a8e099 100644 --- a/packages/components/src/tag/tests/chromatic/TagOutline.stories.tsx +++ b/packages/components/src/tag/tests/chromatic/TagOutline.stories.tsx @@ -8,6 +8,9 @@ import { Dot } from "@components/dot"; import { Field, Label } from "@components/field"; import { Meta, StoryObj } from "@storybook/react"; +import { Avatar } from "@components/avatar"; +import { Counter } from "@components/counter"; +import { as } from "@components/shared"; const meta = { title: "Chromatic/Tag/outline", @@ -151,7 +154,7 @@ export const DotStory: TagStory = { ) }; -export const Avatar: TagStory = { +export const AvatarStory: TagStory = { name: "avatar", render: () => ( <Stack> @@ -243,7 +246,7 @@ export const Alignment: TagStory = { ) }; -export const Counter: TagStory = { +export const CounterStory: TagStory = { name: "counter", render: () => ( <Stack> @@ -337,22 +340,24 @@ export const Zoom: TagStory = { ) }; +const TagAsLink = as(Tag, "a"); + export const AsLink: TagStory = { name: "as link", render: () => ( <Inline> - <Tag as="a" variant="outline" href="#">Falcon 9</Tag> - <Tag as="a" variant="outline" href="#" validationState="invalid">Falcon 9</Tag> - <Tag as="a" active variant="outline" href="#">Falcon 9</Tag> - <Tag as="a" active variant="outline" href="#" validationState="invalid">Falcon 9</Tag> - <Tag as="a" focus variant="outline" href="#">Falcon 9</Tag> - <Tag as="a" focus variant="outline" href="#" validationState="invalid">Falcon 9</Tag> - <Tag as="a" hover variant="outline" href="#">Falcon 9</Tag> - <Tag as="a" hover variant="outline" href="#" validationState="invalid">Falcon 9</Tag> - <Tag as="a" focus hover variant="outline" href="#">Falcon 9</Tag> - <Tag as="a" focus hover variant="outline" href="#" validationState="invalid">Falcon 9</Tag> - <Tag as="a" disabled variant="outline" href="#">Falcon 9</Tag> - <Tag as="a" disabled variant="outline" href="#" validationState="invalid">Falcon 9</Tag> + <TagAsLink variant="outline" href="#">Falcon 9</TagAsLink> + <TagAsLink variant="outline" href="#" validationState="invalid">Falcon 9</TagAsLink> + <TagAsLink active variant="outline" href="#">Falcon 9</TagAsLink> + <TagAsLink active variant="outline" href="#" validationState="invalid">Falcon 9</TagAsLink> + <TagAsLink focus variant="outline" href="#">Falcon 9</TagAsLink> + <TagAsLink focus variant="outline" href="#" validationState="invalid">Falcon 9</TagAsLink> + <TagAsLink hover variant="outline" href="#">Falcon 9</TagAsLink> + <TagAsLink hover variant="outline" href="#" validationState="invalid">Falcon 9</TagAsLink> + <TagAsLink focus hover variant="outline" href="#">Falcon 9</TagAsLink> + <TagAsLink focus hover variant="outline" href="#" validationState="invalid">Falcon 9</TagAsLink> + <TagAsLink disabled variant="outline" href="#">Falcon 9</TagAsLink> + <TagAsLink disabled variant="outline" href="#" validationState="invalid">Falcon 9</TagAsLink> </Inline> ) }; diff --git a/packages/components/src/tag/tests/chromatic/TagSolid-hopper.stories.tsx b/packages/components/src/tag/tests/chromatic/TagSolid-hopper.stories.tsx index bfced6900..646cc61cb 100644 --- a/packages/components/src/tag/tests/chromatic/TagSolid-hopper.stories.tsx +++ b/packages/components/src/tag/tests/chromatic/TagSolid-hopper.stories.tsx @@ -8,6 +8,7 @@ import { Field, Label } from "@components/field"; import { Avatar, IconList, Text } from "@hopper-ui/components"; import { Meta, StoryObj } from "@storybook/react"; +import { as } from "@components/shared"; const meta = { title: "Chromatic/Tag-hopper/solid", @@ -330,22 +331,25 @@ export const Zoom: TagStory = { </Inline> ) }; + +const TagAsLink = as(Tag, "a"); + export const AsLink: TagStory = { name: "as link", render: () => ( <Inline> - <Tag as="a" variant="solid" href="#">Falcon 9</Tag> - <Tag as="a" variant="solid" href="#" validationState="invalid">Falcon 9</Tag> - <Tag as="a" active variant="solid" href="#">Falcon 9</Tag> - <Tag as="a" active variant="solid" href="#" validationState="invalid">Falcon 9</Tag> - <Tag as="a" focus variant="solid" href="#">Falcon 9</Tag> - <Tag as="a" focus variant="solid" href="#" validationState="invalid">Falcon 9</Tag> - <Tag as="a" hover variant="solid" href="#">Falcon 9</Tag> - <Tag as="a" hover variant="solid" href="#" validationState="invalid">Falcon 9</Tag> - <Tag as="a" focus hover variant="solid" href="#">Falcon 9</Tag> - <Tag as="a" focus hover variant="solid" href="#" validationState="invalid">Falcon 9</Tag> - <Tag as="a" disabled variant="solid" href="#">Falcon 9</Tag> - <Tag as="a" disabled variant="solid" href="#" validationState="invalid">Falcon 9</Tag> + <TagAsLink variant="solid" href="#">Falcon 9</TagAsLink> + <TagAsLink variant="solid" href="#" validationState="invalid">Falcon 9</TagAsLink> + <TagAsLink active variant="solid" href="#">Falcon 9</TagAsLink> + <TagAsLink active variant="solid" href="#" validationState="invalid">Falcon 9</TagAsLink> + <TagAsLink focus variant="solid" href="#">Falcon 9</TagAsLink> + <TagAsLink focus variant="solid" href="#" validationState="invalid">Falcon 9</TagAsLink> + <TagAsLink hover variant="solid" href="#">Falcon 9</TagAsLink> + <TagAsLink hover variant="solid" href="#" validationState="invalid">Falcon 9</TagAsLink> + <TagAsLink focus hover variant="solid" href="#">Falcon 9</TagAsLink> + <TagAsLink focus hover variant="solid" href="#" validationState="invalid">Falcon 9</TagAsLink> + <TagAsLink disabled variant="solid" href="#">Falcon 9</TagAsLink> + <TagAsLink disabled variant="solid" href="#" validationState="invalid">Falcon 9</TagAsLink> </Inline> ) }; diff --git a/packages/components/src/tag/tests/chromatic/TagSolid.stories.tsx b/packages/components/src/tag/tests/chromatic/TagSolid.stories.tsx index 759e066a0..77de03258 100644 --- a/packages/components/src/tag/tests/chromatic/TagSolid.stories.tsx +++ b/packages/components/src/tag/tests/chromatic/TagSolid.stories.tsx @@ -6,8 +6,10 @@ import { SparklesIcon } from "@hopper-ui/icons"; import { Text } from "@components/typography"; import { Dot } from "@components/dot"; import { Field, Label } from "@components/field"; - import { Meta, StoryObj } from "@storybook/react"; +import { as } from "@components/shared"; +import { Counter } from "@components/counter"; +import { Avatar } from "@components/avatar"; const meta = { title: "Chromatic/Tag/solid", @@ -151,7 +153,7 @@ export const DotStory: TagStory = { ) }; -export const Avatar: TagStory = { +export const AvatarStory: TagStory = { name: "avatar", render: () => ( <Stack> @@ -243,7 +245,7 @@ export const Alignment: TagStory = { ) }; -export const Counter: TagStory = { +export const CounterStory: TagStory = { name: "counter", render: () => ( <Stack> @@ -337,22 +339,24 @@ export const Zoom: TagStory = { ) }; +const TagAsLink = as(Tag, "a"); + export const AsLink: TagStory = { name: "as link", render: () => ( <Inline> - <Tag as="a" variant="solid" href="#">Falcon 9</Tag> - <Tag as="a" variant="solid" href="#" validationState="invalid">Falcon 9</Tag> - <Tag as="a" active variant="solid" href="#">Falcon 9</Tag> - <Tag as="a" active variant="solid" href="#" validationState="invalid">Falcon 9</Tag> - <Tag as="a" focus variant="solid" href="#">Falcon 9</Tag> - <Tag as="a" focus variant="solid" href="#" validationState="invalid">Falcon 9</Tag> - <Tag as="a" hover variant="solid" href="#">Falcon 9</Tag> - <Tag as="a" hover variant="solid" href="#" validationState="invalid">Falcon 9</Tag> - <Tag as="a" focus hover variant="solid" href="#">Falcon 9</Tag> - <Tag as="a" focus hover variant="solid" href="#" validationState="invalid">Falcon 9</Tag> - <Tag as="a" disabled variant="solid" href="#">Falcon 9</Tag> - <Tag as="a" disabled variant="solid" href="#" validationState="invalid">Falcon 9</Tag> + <TagAsLink variant="solid" href="#">Falcon 9</TagAsLink> + <TagAsLink variant="solid" href="#" validationState="invalid">Falcon 9</TagAsLink> + <TagAsLink active variant="solid" href="#">Falcon 9</TagAsLink> + <TagAsLink active variant="solid" href="#" validationState="invalid">Falcon 9</TagAsLink> + <TagAsLink focus variant="solid" href="#">Falcon 9</TagAsLink> + <TagAsLink focus variant="solid" href="#" validationState="invalid">Falcon 9</TagAsLink> + <TagAsLink hover variant="solid" href="#">Falcon 9</TagAsLink> + <TagAsLink hover variant="solid" href="#" validationState="invalid">Falcon 9</TagAsLink> + <TagAsLink focus hover variant="solid" href="#">Falcon 9</TagAsLink> + <TagAsLink focus hover variant="solid" href="#" validationState="invalid">Falcon 9</TagAsLink> + <TagAsLink disabled variant="solid" href="#">Falcon 9</TagAsLink> + <TagAsLink disabled variant="solid" href="#" validationState="invalid">Falcon 9</TagAsLink> </Inline> ) }; diff --git a/packages/components/src/text-area/docs/TextArea.stories.tsx b/packages/components/src/text-area/docs/TextArea.stories.tsx index f8ed86a95..7fe1f27ff 100644 --- a/packages/components/src/text-area/docs/TextArea.stories.tsx +++ b/packages/components/src/text-area/docs/TextArea.stories.tsx @@ -33,7 +33,7 @@ export const MaxRows: TextAreaStory = { export const ReadOnly: TextAreaStory = { render: () => ( - <TextArea placeholder="Why should you go to space?" readonly /> + <TextArea placeholder="Why should you go to space?" readOnly /> ) }; diff --git a/packages/components/src/tile/docs/Tile.stories.tsx b/packages/components/src/tile/docs/Tile.stories.tsx index 8c0f4c115..e81e0427c 100644 --- a/packages/components/src/tile/docs/Tile.stories.tsx +++ b/packages/components/src/tile/docs/Tile.stories.tsx @@ -202,9 +202,9 @@ export const TileGroupMultipleSelection: TileStory = { export const TileGroupRowSize: TileStory = { render: () => ( <TileGroup rowSize={{ - base: "1", - md: "2", - lg: "3" + base: 1, + md: 2, + lg: 3 }} > <TileLink href="https://www.virgingalactic.com"> @@ -256,9 +256,9 @@ export const TileGroupControlled: TileStory = { <TileGroup onChange={handleChange} rowSize={{ - base: "1", - md: "2", - lg: "3" + base: 1, + md: 2, + lg: 3 }} selectionMode="multiple" value={value} diff --git a/packages/components/src/tooltip/docs/Tooltip.stories.tsx b/packages/components/src/tooltip/docs/Tooltip.stories.tsx index 668131354..38dbf469d 100644 --- a/packages/components/src/tooltip/docs/Tooltip.stories.tsx +++ b/packages/components/src/tooltip/docs/Tooltip.stories.tsx @@ -58,7 +58,7 @@ export const Disabled: TooltipStory = { export const CustomTriggerStory: TooltipStory = { render: () => { - const CustomTrigger = forwardRef((props, ref) => { + const CustomTrigger = forwardRef<HTMLButtonElement>((props, ref) => { const { isOpen } = useTooltipTriggerContext(); return ( From a5cce071db73bc518bffcc53755a164f935a3d36 Mon Sep 17 00:00:00 2001 From: Alexandre Asselin <alexandre.asselin@gsoft.com> Date: Tue, 5 Nov 2024 14:53:59 -0500 Subject: [PATCH 68/95] fix a couple of errors --- .../src/radio/docs/Radio.stories.tsx | 2 +- .../tests/chromatic/Tabs-hopper.stories.tsx | 19 ++++++++--- .../src/tabs/tests/chromatic/Tabs.stories.tsx | 17 +++++++--- .../src/text-area/docs/TextArea.stories.tsx | 32 +++++++++++-------- .../src/toolbar/docs/Toolbar.stories.tsx | 2 +- 5 files changed, 49 insertions(+), 23 deletions(-) diff --git a/packages/components/src/radio/docs/Radio.stories.tsx b/packages/components/src/radio/docs/Radio.stories.tsx index 67c69b185..918ae845d 100644 --- a/packages/components/src/radio/docs/Radio.stories.tsx +++ b/packages/components/src/radio/docs/Radio.stories.tsx @@ -90,7 +90,7 @@ export const CounterStory: RadioGroupStory = { export const Size: RadioGroupStory = { render: () => ( - <Inline alignY="start" gap={50}> + <Inline alignY="start" gap="inline-md"> <RadioGroup defaultValue="jupiter" size="md"> <Radio value="mars">Mars</Radio> <Radio value="jupiter">Jupiter</Radio> diff --git a/packages/components/src/tabs/tests/chromatic/Tabs-hopper.stories.tsx b/packages/components/src/tabs/tests/chromatic/Tabs-hopper.stories.tsx index e68d7c565..467a1184d 100644 --- a/packages/components/src/tabs/tests/chromatic/Tabs-hopper.stories.tsx +++ b/packages/components/src/tabs/tests/chromatic/Tabs-hopper.stories.tsx @@ -1,6 +1,6 @@ import { SparklesIcon, DismissIcon } from "@hopper-ui/icons"; import { Content, Header } from "@components/placeholders"; -import { Tab, TabPanel, Tabs, useTabsContext } from "@components/tabs"; +import { Tab, TabPanel, Tabs, useTabsContext, type TabPanelProps, type TabProps } from "@components/tabs"; import { Div } from "@components/html"; import { Item } from "@components/collection"; @@ -23,8 +23,14 @@ export default meta; type TabsStory = StoryObj<typeof meta>; + +interface ActiveHeaderProps extends Omit<TabProps, "tab" | "onSelect"> { + tab?: TabProps["tab"]; + onSelect?: TabProps["onSelect"]; +} + // set tab optional since its provided automatically by the parent component, and client code do not need to provide it -const ActiveHeader = ({ tab, children, onSelect, ...rest }) => { +const ActiveHeader = ({ tab, children, onSelect, ...rest }: ActiveHeaderProps) => { const { selectedKey } = useTabsContext(); const { key } = tab; @@ -40,8 +46,9 @@ const ActiveHeader = ({ tab, children, onSelect, ...rest }) => { ); }; + // set tab optional since its provided automatically by the parent component, and client code do not need to provide it -const ColoredHeader = ({ children, tab, onSelect, ...rest }) => { +const ColoredHeader = ({ children, tab, onSelect, ...rest }: ActiveHeaderProps) => { return ( <Tab onSelect={onSelect} tab={tab} {...rest} > <Text UNSAFE_color="red">{children}</Text> @@ -49,8 +56,12 @@ const ColoredHeader = ({ children, tab, onSelect, ...rest }) => { ); }; +interface ColoredContentProps extends Omit<TabPanelProps, "panel"> { + panel?: TabPanelProps["panel"]; +} + // set tab optional since its provided automatically by the parent component, and client code do not need to provide it -const ColoredContent = ({ panel, children, ...rest }) => { +const ColoredContent = ({ panel, children, ...rest }: ColoredContentProps) => { const { selectedKey } = useTabsContext(); const { key } = panel; diff --git a/packages/components/src/tabs/tests/chromatic/Tabs.stories.tsx b/packages/components/src/tabs/tests/chromatic/Tabs.stories.tsx index afcfe0673..a27d5c74a 100644 --- a/packages/components/src/tabs/tests/chromatic/Tabs.stories.tsx +++ b/packages/components/src/tabs/tests/chromatic/Tabs.stories.tsx @@ -1,7 +1,7 @@ import { SparklesIcon, DismissIcon } from "@hopper-ui/icons"; import { Content, Header } from "@components/placeholders"; import { Inline, Stack } from "@components/layout"; -import { Tab, TabPanel, Tabs, useTabsContext } from "@components/tabs"; +import { Tab, TabPanel, Tabs, useTabsContext, type TabPanelProps, type TabProps } from "@components/tabs"; import { Div } from "@components/html"; import { Item } from "@components/collection"; @@ -23,8 +23,13 @@ export default meta; type TabsStory = StoryObj<typeof meta>; +interface ActiveHeaderProps extends Omit<TabProps,"tab" | "onSelect"> { + tab?: TabProps["tab"]; + onSelect?: TabProps["onSelect"]; +} + // set tab optional since its provided automatically by the parent component, and client code do not need to provide it -const ActiveHeader = ({ tab, children, onSelect, ...rest }) => { +const ActiveHeader = ({ tab, children, onSelect, ...rest }: ActiveHeaderProps) => { const { selectedKey } = useTabsContext(); const { key } = tab; @@ -41,7 +46,7 @@ const ActiveHeader = ({ tab, children, onSelect, ...rest }) => { }; // set tab optional since its provided automatically by the parent component, and client code do not need to provide it -const ColoredHeader = ({ children, tab, onSelect, ...rest }) => { +const ColoredHeader = ({ children, tab, onSelect, ...rest }: ActiveHeaderProps) => { return ( <Tab onSelect={onSelect} tab={tab} {...rest} > <Text color="red">{children}</Text> @@ -50,7 +55,11 @@ const ColoredHeader = ({ children, tab, onSelect, ...rest }) => { }; // set tab optional since its provided automatically by the parent component, and client code do not need to provide it -const ColoredContent = ({ panel, children, ...rest }) => { +interface ColoredContentProps extends Omit<TabPanelProps, "panel"> { + panel? : TabPanelProps["panel"]; +} + +const ColoredContent = ({ panel, children, ...rest }: ColoredContentProps) => { const { selectedKey } = useTabsContext(); const { key } = panel; diff --git a/packages/components/src/text-area/docs/TextArea.stories.tsx b/packages/components/src/text-area/docs/TextArea.stories.tsx index 7fe1f27ff..f2ed4867a 100644 --- a/packages/components/src/text-area/docs/TextArea.stories.tsx +++ b/packages/components/src/text-area/docs/TextArea.stories.tsx @@ -1,7 +1,8 @@ import { TextArea } from "@components/text-area"; -import { useCallback, useState, useMemo } from "react"; +import { useCallback, useState } from "react"; import { Meta, StoryObj } from "@storybook/react"; +import { ErrorMessage, Field, HelpMessage } from "@components/field"; const meta = { title: "Components/TextArea", @@ -68,21 +69,26 @@ export const LengthValidation: TextAreaStory = { const [value, setValue] = useState(""); - const handleValueChange = useCallback(event => { - setValue(event.target.value); - console.log(event.target.value); - }, [setValue]); + const handleValueChange = useCallback( + event => { + setValue(event.target.value); + console.log(event.target.value); + }, + [setValue] + ); - const isValid = useMemo(() => value.length <= MaxValue, [value]); + const isValid = value.length <= MaxValue; return ( - <TextArea - help={`${MaxValue - value.length} characters left.`} - onValueChange={handleValueChange} - placeholder={`Why should you go to space? (max ${MaxValue} characters)`} - validationState={isValid ? "valid" : "invalid"} - value={value} - /> + <Field validationState={isValid ? undefined : "invalid"}> + <TextArea + value={value} + placeholder={`Why should you go to space? (max ${MaxValue} characters)`} + onValueChange={handleValueChange} + /> + <HelpMessage>{`${MaxValue - value.length} characters left.`}</HelpMessage> + <ErrorMessage>Maximum characters exceeded</ErrorMessage> + </Field> ); } }; diff --git a/packages/components/src/toolbar/docs/Toolbar.stories.tsx b/packages/components/src/toolbar/docs/Toolbar.stories.tsx index 259bf6395..6e6dce520 100644 --- a/packages/components/src/toolbar/docs/Toolbar.stories.tsx +++ b/packages/components/src/toolbar/docs/Toolbar.stories.tsx @@ -68,7 +68,7 @@ export const DisabledToolbar: ToolbarStory = { export const Gap: ToolbarStory = { render: () => ( - <Toolbar gap={9}> + <Toolbar gap="inline-md"> <TextInput placeholder="Destination" /> <RadioGroup> <Radio value="roscosmos">Roscosmos</Radio> From acda07d88217e27d76960e1febacc5bb38471f00 Mon Sep 17 00:00:00 2001 From: Alexandre Asselin <alexandre.asselin@gsoft.com> Date: Tue, 5 Nov 2024 14:55:48 -0500 Subject: [PATCH 69/95] fix fit property --- .../components/src/card/tests/chromatic/Card-hopper.stories.tsx | 2 +- packages/components/src/card/tests/chromatic/Card.stories.tsx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/components/src/card/tests/chromatic/Card-hopper.stories.tsx b/packages/components/src/card/tests/chromatic/Card-hopper.stories.tsx index a6d6d15ae..a86ea7c25 100644 --- a/packages/components/src/card/tests/chromatic/Card-hopper.stories.tsx +++ b/packages/components/src/card/tests/chromatic/Card-hopper.stories.tsx @@ -91,7 +91,7 @@ export const VerticalAndImage: CardStory = { <Content>The National Aeronautics and Space Administration</Content> </Card> <Card fluid orientation="vertical"> - <Image src={ApolloBanner} alt="Appolo 11" fit="cover" height="200px" /> + <Image src={ApolloBanner} alt="Appolo 11" objectFit="cover" height="200px" /> <Heading>Nasa</Heading> <Content>The National Aeronautics and Space Administration</Content> </Card> diff --git a/packages/components/src/card/tests/chromatic/Card.stories.tsx b/packages/components/src/card/tests/chromatic/Card.stories.tsx index f55544cf9..da13a7f74 100644 --- a/packages/components/src/card/tests/chromatic/Card.stories.tsx +++ b/packages/components/src/card/tests/chromatic/Card.stories.tsx @@ -91,7 +91,7 @@ export const VerticalAndImage: CardStory = { <Content>The National Aeronautics and Space Administration</Content> </Card> <Card fluid orientation="vertical"> - <Image src={ApolloBanner} alt="Appolo 11" fit="cover" height="200px" /> + <Image src={ApolloBanner} alt="Appolo 11" objectFit="cover" height="200px" /> <Heading>Nasa</Heading> <Content>The National Aeronautics and Space Administration</Content> </Card> From 06101b10d95666c08e13a7011fdd48e8dc3cb2ad Mon Sep 17 00:00:00 2001 From: Alexandre Asselin <alexandre.asselin@gsoft.com> Date: Tue, 5 Nov 2024 15:09:40 -0500 Subject: [PATCH 70/95] update select issues --- .../src/select/tests/chromatic/Select.stories.tsx | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/packages/components/src/select/tests/chromatic/Select.stories.tsx b/packages/components/src/select/tests/chromatic/Select.stories.tsx index 0bd4d8c56..82019b3ad 100644 --- a/packages/components/src/select/tests/chromatic/Select.stories.tsx +++ b/packages/components/src/select/tests/chromatic/Select.stories.tsx @@ -1,5 +1,5 @@ import { Inline, Stack } from "@components/layout"; -import { Select, useSelect } from "@components/select"; +import { Select, useSelect, type SelectProps } from "@components/select"; import { Button } from "@components/button"; import { Div } from "@components/html"; @@ -91,13 +91,15 @@ export const Styling: SelectStory = { ) }; + + function CustomSelect({ open, placeholder, "aria-label": ariaLabel, children, ...rest -}) { +}: SelectProps) { const { selectedItem, triggerProps, overlayProps, listboxProps } = useSelect(children, { open, ariaLabel @@ -110,7 +112,7 @@ function CustomSelect({ {...triggerProps} variant="secondary" > - {selectedItem?.content ?? placeholder} + {selectedItem?.text ?? placeholder} </Button> <Overlay {...overlayProps}> <Listbox {...listboxProps} /> From 7cda2a6a848b6bc31d94313fec7759d13d5d4a80 Mon Sep 17 00:00:00 2001 From: Alexandre Asselin <alexandre.asselin@gsoft.com> Date: Tue, 5 Nov 2024 15:13:09 -0500 Subject: [PATCH 71/95] fix doc example --- packages/components/src/tabs/docs/Tabs.stories.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/components/src/tabs/docs/Tabs.stories.tsx b/packages/components/src/tabs/docs/Tabs.stories.tsx index df642c98f..b7c86b5e2 100644 --- a/packages/components/src/tabs/docs/Tabs.stories.tsx +++ b/packages/components/src/tabs/docs/Tabs.stories.tsx @@ -344,7 +344,7 @@ export const Async: TabStory = { return ( <Div {...rest}> {isNil(text) ? ( - <Div padding={10} position="relative"> + <Div padding="inline-md" position="relative"> <Div className="o-ui-sb-loading"></Div> </Div> ) : text} From 275fb0036ef296ddd4c927a01033b1aad924c7ac Mon Sep 17 00:00:00 2001 From: Alexandre Asselin <alexandre.asselin@gsoft.com> Date: Tue, 5 Nov 2024 15:13:12 -0500 Subject: [PATCH 72/95] woops --- packages/components/src/tabs/docs/Tabs.stories.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/components/src/tabs/docs/Tabs.stories.tsx b/packages/components/src/tabs/docs/Tabs.stories.tsx index b7c86b5e2..66816c62b 100644 --- a/packages/components/src/tabs/docs/Tabs.stories.tsx +++ b/packages/components/src/tabs/docs/Tabs.stories.tsx @@ -344,7 +344,7 @@ export const Async: TabStory = { return ( <Div {...rest}> {isNil(text) ? ( - <Div padding="inline-md" position="relative"> + <Div padding="inset-md" position="relative"> <Div className="o-ui-sb-loading"></Div> </Div> ) : text} From f4b14532a54b474eb6da7af06e235bb37c2e26fa Mon Sep 17 00:00:00 2001 From: Francis Thibault <francis.thibault@gsoft.com> Date: Tue, 5 Nov 2024 16:55:46 -0500 Subject: [PATCH 73/95] lint --- package.json | 2 +- .../CheckboxChecked-hopper.stories.tsx | 6 +- .../CheckboxIndeterminate-hopper.stories.tsx | 6 +- .../CheckboxUnchecked-hopper.stories.tsx | 6 +- .../link/tests/chromatic/LinkCard.stories.tsx | 72 +++++++++---------- 5 files changed, 46 insertions(+), 46 deletions(-) diff --git a/package.json b/package.json index 2556e9eba..d78e8082e 100644 --- a/package.json +++ b/package.json @@ -26,7 +26,7 @@ "lint": "pnpm run \"/^lint:.*/\"", "lint:eslint": "eslint --ext .js,.jsx,.ts,.tsx,.mdx . --cache --cache-location node_modules/.cache/.eslintcache", "lint:style": "stylelint \"**/*.css\" --allow-empty-input --cache", - "lint:typecheck": "tsc", + "lint:typecheck": "cross-env NODE_OPTIONS=--max-old-space-size=8192 tsc", "lint-ci-eslint": "eslint --ext .js,.jsx,.ts,.tsx,.mdx . --max-warnings=0", "lint-ci-style": "stylelint \"**/*.css\" --allow-empty-input", "lint-ci-typecheck": "tsc", diff --git a/packages/components/src/checkbox/tests/chromatic/CheckboxChecked-hopper.stories.tsx b/packages/components/src/checkbox/tests/chromatic/CheckboxChecked-hopper.stories.tsx index c89b095a8..ad89aa3c8 100644 --- a/packages/components/src/checkbox/tests/chromatic/CheckboxChecked-hopper.stories.tsx +++ b/packages/components/src/checkbox/tests/chromatic/CheckboxChecked-hopper.stories.tsx @@ -248,10 +248,10 @@ export const Overflow: CheckboxStory = { name: "overflow", render: () => ( <Stack> - <Flex alignItems="end" maxWidth={320}> + <Flex alignItems="end" UNSAFE_maxWidth={320}> <Checkbox defaultChecked>PA-99-N2 event and possible exoplanet in galaxy</Checkbox> </Flex> - <Flex alignItems="end" maxWidth={320}> + <Flex alignItems="end" UNSAFE_maxWidth={320}> <Checkbox defaultChecked> <Text>PA-99-N2 event and possible exoplanet in galaxy</Text> <IconList> @@ -259,7 +259,7 @@ export const Overflow: CheckboxStory = { </IconList> </Checkbox> </Flex> - <Flex alignItems="end" maxWidth={320}> + <Flex alignItems="end" UNSAFE_maxWidth={320}> <Checkbox defaultChecked> <Text>PA-99-N2 event and possible exoplanet in galaxy</Text> <Counter>60</Counter> diff --git a/packages/components/src/checkbox/tests/chromatic/CheckboxIndeterminate-hopper.stories.tsx b/packages/components/src/checkbox/tests/chromatic/CheckboxIndeterminate-hopper.stories.tsx index 2e98a8419..56a1bf548 100644 --- a/packages/components/src/checkbox/tests/chromatic/CheckboxIndeterminate-hopper.stories.tsx +++ b/packages/components/src/checkbox/tests/chromatic/CheckboxIndeterminate-hopper.stories.tsx @@ -248,10 +248,10 @@ export const Overflow: CheckboxStory = { name: "overflow", render: () => ( <Stack> - <Flex alignItems="end" maxWidth={320}> + <Flex alignItems="end" UNSAFE_maxWidth={320}> <Checkbox indeterminate>PA-99-N2 event and possible exoplanet in galaxy</Checkbox> </Flex> - <Flex alignItems="end" maxWidth={320}> + <Flex alignItems="end" UNSAFE_maxWidth={320}> <Checkbox indeterminate> <Text>PA-99-N2 event and possible exoplanet in galaxy</Text> <IconList> @@ -259,7 +259,7 @@ export const Overflow: CheckboxStory = { </IconList> </Checkbox> </Flex> - <Flex alignItems="end" maxWidth={320}> + <Flex alignItems="end" UNSAFE_maxWidth={320}> <Checkbox indeterminate> <Text>PA-99-N2 event and possible exoplanet in galaxy</Text> <Counter>60</Counter> diff --git a/packages/components/src/checkbox/tests/chromatic/CheckboxUnchecked-hopper.stories.tsx b/packages/components/src/checkbox/tests/chromatic/CheckboxUnchecked-hopper.stories.tsx index 4fe53a355..a4352cf8c 100644 --- a/packages/components/src/checkbox/tests/chromatic/CheckboxUnchecked-hopper.stories.tsx +++ b/packages/components/src/checkbox/tests/chromatic/CheckboxUnchecked-hopper.stories.tsx @@ -248,10 +248,10 @@ export const Overflow: CheckboxStory = { name: "overflow", render: () => ( <Stack> - <Flex alignItems="end" maxWidth={320}> + <Flex alignItems="end" UNSAFE_maxWidth={320}> <Checkbox>PA-99-N2 event and possible exoplanet in galaxy</Checkbox> </Flex> - <Flex alignItems="end" maxWidth={320}> + <Flex alignItems="end" UNSAFE_maxWidth={320}> <Checkbox> <Text>PA-99-N2 event and possible exoplanet in galaxy</Text> <IconList> @@ -259,7 +259,7 @@ export const Overflow: CheckboxStory = { </IconList> </Checkbox> </Flex> - <Flex alignItems="end" maxWidth={320}> + <Flex alignItems="end" UNSAFE_maxWidth={320}> <Checkbox> <Text>PA-99-N2 event and possible exoplanet in galaxy</Text> <Counter>60</Counter> diff --git a/packages/components/src/link/tests/chromatic/LinkCard.stories.tsx b/packages/components/src/link/tests/chromatic/LinkCard.stories.tsx index a220c3ffc..1f824371d 100644 --- a/packages/components/src/link/tests/chromatic/LinkCard.stories.tsx +++ b/packages/components/src/link/tests/chromatic/LinkCard.stories.tsx @@ -21,9 +21,9 @@ type LinkStory = StoryObj<typeof meta>; export const Default: LinkStory = { name: "default", render: () => ( - <Card> - <Link href="#" /> - </Card> + <Link href="#"> + <Card /> + </Link> ) }; @@ -31,18 +31,18 @@ export const States: LinkStory = { name: "states", render: () => ( <Inline wrap> - <Card> - <Link active href="#" /> - </Card> - <Card> - <Link focus href="#" /> - </Card> - <Card> - <Link hover href="#" /> - </Card> - <Card> - <Link focus hover href="#" /> - </Card> + <Link active href="#"> + <Card /> + </Link> + <Link focus href="#"> + <Card /> + </Link> + <Link hover href="#"> + <Card /> + </Link> + <Link focus hover href="#"> + <Card /> + </Link> </Inline> ) }; @@ -51,21 +51,21 @@ export const DisabledStates: LinkStory = { name: "disabled states", render: () => ( <Inline wrap> - <Card> - <Link disabled href="#" /> - </Card> - <Card> - <Link disabled active href="#" /> - </Card> - <Card> - <Link disabled focus href="#" /> - </Card> - <Card> - <Link disabled hover href="#" /> - </Card> - <Card> - <Link disabled focus hover href="#" /> - </Card> + <Link disabled href="#"> + <Card /> + </Link> + <Link disabled active href="#"> + <Card /> + </Link> + <Link disabled focus href="#"> + <Card /> + </Link> + <Link disabled hover href="#"> + <Card /> + </Link> + <Link disabled focus hover href="#"> + <Card /> + </Link> </Inline> ) }; @@ -73,17 +73,17 @@ export const DisabledStates: LinkStory = { export const External: LinkStory = { name: "external", render: () => ( - <Card> - <Link external href="https://www.space.com/spacex-delays-south-korea-military-satellite-launch.html" /> - </Card> + <Link external href="https://www.space.com/spacex-delays-south-korea-military-satellite-launch.html"> + <Card /> + </Link> ) }; export const NewTab: LinkStory = { name: "new tab", render: () => ( - <Card> - <Link target="_blank" href="#" /> - </Card> + <Link target="_blank" href="#"> + <Card /> + </Link> ) }; From 6aa07cb74fd908cba6f9902e123580cadc8791d7 Mon Sep 17 00:00:00 2001 From: Francis Thibault <francis.thibault@gsoft.com> Date: Tue, 5 Nov 2024 17:05:11 -0500 Subject: [PATCH 74/95] fixed typing issue --- .../src/card/tests/chromatic/Card-hopper.stories.tsx | 4 ++-- .../tests/chromatic/CheckboxChecked-hopper.stories.tsx | 6 +++--- .../chromatic/CheckboxIndeterminate-hopper.stories.tsx | 6 +++--- .../tests/chromatic/CheckboxUnchecked-hopper.stories.tsx | 6 +++--- 4 files changed, 11 insertions(+), 11 deletions(-) diff --git a/packages/components/src/card/tests/chromatic/Card-hopper.stories.tsx b/packages/components/src/card/tests/chromatic/Card-hopper.stories.tsx index a86ea7c25..241f03673 100644 --- a/packages/components/src/card/tests/chromatic/Card-hopper.stories.tsx +++ b/packages/components/src/card/tests/chromatic/Card-hopper.stories.tsx @@ -133,7 +133,7 @@ export const FlexLayout: CardStory = { name: "flex layout", render: () => ( <Stack> - <Flex gap={160}> + <Flex gap="core_160"> <Card> <Image src={ApolloBanner} alt="Appolo 11 Banner" /> <Heading>Nasa</Heading> @@ -149,7 +149,7 @@ export const FlexLayout: CardStory = { <Content>The National Aeronautics and Space Administration</Content> </Card> </Flex> - <Flex gap={160}> + <Flex gap="core_160"> <Card fluid> <Image src={ApolloBanner} alt="Appolo 11 Banner" /> <Heading>Nasa</Heading> diff --git a/packages/components/src/checkbox/tests/chromatic/CheckboxChecked-hopper.stories.tsx b/packages/components/src/checkbox/tests/chromatic/CheckboxChecked-hopper.stories.tsx index ad89aa3c8..cf36f3b36 100644 --- a/packages/components/src/checkbox/tests/chromatic/CheckboxChecked-hopper.stories.tsx +++ b/packages/components/src/checkbox/tests/chromatic/CheckboxChecked-hopper.stories.tsx @@ -248,10 +248,10 @@ export const Overflow: CheckboxStory = { name: "overflow", render: () => ( <Stack> - <Flex alignItems="end" UNSAFE_maxWidth={320}> + <Flex alignItems="end" UNSAFE_maxWidth="320px"> <Checkbox defaultChecked>PA-99-N2 event and possible exoplanet in galaxy</Checkbox> </Flex> - <Flex alignItems="end" UNSAFE_maxWidth={320}> + <Flex alignItems="end" UNSAFE_maxWidth="320px"> <Checkbox defaultChecked> <Text>PA-99-N2 event and possible exoplanet in galaxy</Text> <IconList> @@ -259,7 +259,7 @@ export const Overflow: CheckboxStory = { </IconList> </Checkbox> </Flex> - <Flex alignItems="end" UNSAFE_maxWidth={320}> + <Flex alignItems="end" UNSAFE_maxWidth="320px"> <Checkbox defaultChecked> <Text>PA-99-N2 event and possible exoplanet in galaxy</Text> <Counter>60</Counter> diff --git a/packages/components/src/checkbox/tests/chromatic/CheckboxIndeterminate-hopper.stories.tsx b/packages/components/src/checkbox/tests/chromatic/CheckboxIndeterminate-hopper.stories.tsx index 56a1bf548..18553753b 100644 --- a/packages/components/src/checkbox/tests/chromatic/CheckboxIndeterminate-hopper.stories.tsx +++ b/packages/components/src/checkbox/tests/chromatic/CheckboxIndeterminate-hopper.stories.tsx @@ -248,10 +248,10 @@ export const Overflow: CheckboxStory = { name: "overflow", render: () => ( <Stack> - <Flex alignItems="end" UNSAFE_maxWidth={320}> + <Flex alignItems="end" UNSAFE_maxWidth="320px"> <Checkbox indeterminate>PA-99-N2 event and possible exoplanet in galaxy</Checkbox> </Flex> - <Flex alignItems="end" UNSAFE_maxWidth={320}> + <Flex alignItems="end" UNSAFE_maxWidth="320px"> <Checkbox indeterminate> <Text>PA-99-N2 event and possible exoplanet in galaxy</Text> <IconList> @@ -259,7 +259,7 @@ export const Overflow: CheckboxStory = { </IconList> </Checkbox> </Flex> - <Flex alignItems="end" UNSAFE_maxWidth={320}> + <Flex alignItems="end" UNSAFE_maxWidth="320px"> <Checkbox indeterminate> <Text>PA-99-N2 event and possible exoplanet in galaxy</Text> <Counter>60</Counter> diff --git a/packages/components/src/checkbox/tests/chromatic/CheckboxUnchecked-hopper.stories.tsx b/packages/components/src/checkbox/tests/chromatic/CheckboxUnchecked-hopper.stories.tsx index a4352cf8c..59968db79 100644 --- a/packages/components/src/checkbox/tests/chromatic/CheckboxUnchecked-hopper.stories.tsx +++ b/packages/components/src/checkbox/tests/chromatic/CheckboxUnchecked-hopper.stories.tsx @@ -248,10 +248,10 @@ export const Overflow: CheckboxStory = { name: "overflow", render: () => ( <Stack> - <Flex alignItems="end" UNSAFE_maxWidth={320}> + <Flex alignItems="end" UNSAFE_maxWidth="320px"> <Checkbox>PA-99-N2 event and possible exoplanet in galaxy</Checkbox> </Flex> - <Flex alignItems="end" UNSAFE_maxWidth={320}> + <Flex alignItems="end" UNSAFE_maxWidth="320px"> <Checkbox> <Text>PA-99-N2 event and possible exoplanet in galaxy</Text> <IconList> @@ -259,7 +259,7 @@ export const Overflow: CheckboxStory = { </IconList> </Checkbox> </Flex> - <Flex alignItems="end" UNSAFE_maxWidth={320}> + <Flex alignItems="end" UNSAFE_maxWidth="320px"> <Checkbox> <Text>PA-99-N2 event and possible exoplanet in galaxy</Text> <Counter>60</Counter> From b3ea4a9090c0560c8d83943c46ade9c224f411cb Mon Sep 17 00:00:00 2001 From: Alexandre Asselin <alexandre.asselin@gsoft.com> Date: Wed, 6 Nov 2024 13:42:33 -0500 Subject: [PATCH 75/95] fix linting --- .../components/src/select/tests/chromatic/Select.stories.tsx | 2 -- packages/components/src/tabs/tests/chromatic/Tabs.stories.tsx | 2 +- packages/components/src/text-area/docs/TextArea.stories.tsx | 4 ++-- 3 files changed, 3 insertions(+), 5 deletions(-) diff --git a/packages/components/src/select/tests/chromatic/Select.stories.tsx b/packages/components/src/select/tests/chromatic/Select.stories.tsx index 82019b3ad..cb3d1862a 100644 --- a/packages/components/src/select/tests/chromatic/Select.stories.tsx +++ b/packages/components/src/select/tests/chromatic/Select.stories.tsx @@ -91,8 +91,6 @@ export const Styling: SelectStory = { ) }; - - function CustomSelect({ open, placeholder, diff --git a/packages/components/src/tabs/tests/chromatic/Tabs.stories.tsx b/packages/components/src/tabs/tests/chromatic/Tabs.stories.tsx index a27d5c74a..3b7125bd1 100644 --- a/packages/components/src/tabs/tests/chromatic/Tabs.stories.tsx +++ b/packages/components/src/tabs/tests/chromatic/Tabs.stories.tsx @@ -23,7 +23,7 @@ export default meta; type TabsStory = StoryObj<typeof meta>; -interface ActiveHeaderProps extends Omit<TabProps,"tab" | "onSelect"> { +interface ActiveHeaderProps extends Omit<TabProps, "tab" | "onSelect"> { tab?: TabProps["tab"]; onSelect?: TabProps["onSelect"]; } diff --git a/packages/components/src/text-area/docs/TextArea.stories.tsx b/packages/components/src/text-area/docs/TextArea.stories.tsx index f2ed4867a..50146aa78 100644 --- a/packages/components/src/text-area/docs/TextArea.stories.tsx +++ b/packages/components/src/text-area/docs/TextArea.stories.tsx @@ -82,9 +82,9 @@ export const LengthValidation: TextAreaStory = { return ( <Field validationState={isValid ? undefined : "invalid"}> <TextArea - value={value} - placeholder={`Why should you go to space? (max ${MaxValue} characters)`} onValueChange={handleValueChange} + placeholder={`Why should you go to space? (max ${MaxValue} characters)`} + value={value} /> <HelpMessage>{`${MaxValue - value.length} characters left.`}</HelpMessage> <ErrorMessage>Maximum characters exceeded</ErrorMessage> From 8905b7351cc3bb913d6d3db36a9451d523d6d82f Mon Sep 17 00:00:00 2001 From: Alexandre Asselin <alexandre.asselin@gsoft.com> Date: Wed, 6 Nov 2024 16:21:28 -0500 Subject: [PATCH 76/95] fix prop table --- .storybook/main.ts | 19 +++++++++++++++---- .../src/button/src/useToggleButton.ts | 2 +- 2 files changed, 16 insertions(+), 5 deletions(-) diff --git a/.storybook/main.ts b/.storybook/main.ts index b67628bcb..ad4b76c22 100644 --- a/.storybook/main.ts +++ b/.storybook/main.ts @@ -55,10 +55,21 @@ const storybookConfig: StorybookConfig = { reactDocgen: "react-docgen-typescript", reactDocgenTypescriptOptions: { skipChildrenPropWithoutDoc: false, - // shouldExtractLiteralValuesFromEnum: true, - // shouldExtractValuesFromUnion: true, - // 👇 Default prop filter, which excludes props from node_modules - propFilter: prop => (prop.parent ? !/node_modules/.test(prop.parent.fileName) : true) + shouldExtractLiteralValuesFromEnum: true, + shouldExtractValuesFromUnion: true, + shouldRemoveUndefinedFromOptional: true, + exclude: ["node_modules"], + propFilter: (prop, component) => { + if (prop.parent && /node_modules/.test(prop.parent.fileName)) { + return false; + } + + if (component && component.name && !component.name.startsWith("Inner")) { + return false; + } + + return true; + } } }, docs: { diff --git a/packages/components/src/button/src/useToggleButton.ts b/packages/components/src/button/src/useToggleButton.ts index a3667be26..438a066d7 100644 --- a/packages/components/src/button/src/useToggleButton.ts +++ b/packages/components/src/button/src/useToggleButton.ts @@ -2,7 +2,7 @@ import { ButtonVariant } from "./useButton"; import { FormEvent, ForwardedRef, MouseEvent } from "react"; import { isNil, useControllableState, useEventCallback } from "../../shared"; -export type ToggleButtonVariant = Omit<ButtonVariant, "negative">; +export type ToggleButtonVariant = Exclude<ButtonVariant, "negative">; export interface UseToggleButtonProps { active?: boolean; From 9562f14d33294e243fddd36fb36ac0f547d42d63 Mon Sep 17 00:00:00 2001 From: Alexandre Asselin <alexandre.asselin@gsoft.com> Date: Wed, 6 Nov 2024 17:13:43 -0500 Subject: [PATCH 77/95] fix eslint/stylelint + update to esm --- .eslintrc.js | 86 - .eslintrc.json | 34 + .../storybook-addon/withHopperProvider.tsx | 2 +- .storybook/styles/index.ts | 2 +- .stylelintrc.js | 30 +- package.json | 11 +- packages/bundle/package.json | 1 + packages/components/.eslintrc.js | 31 - packages/components/.eslintrc.json | 41 + packages/components/package.json | 1 + .../src/button/src/useDisableClick.tsx | 2 +- .../date-input/tests/jest/DateInput.test.tsx | 1 + .../tests/jest/DateRangeInput.test.tsx | 1 + .../shared/tests/jest/useFocusScope.test.tsx | 1 + .../src/styling/src/theming/ThemeProvider.tsx | 2 +- packages/components/src/switch/src/Switch.tsx | 2 +- packages/css/package.json | 1 + pnpm-lock.yaml | 1686 +++++++++-------- tsconfig.build.json | 2 +- 19 files changed, 971 insertions(+), 966 deletions(-) delete mode 100644 .eslintrc.js create mode 100644 .eslintrc.json delete mode 100644 packages/components/.eslintrc.js create mode 100644 packages/components/.eslintrc.json diff --git a/.eslintrc.js b/.eslintrc.js deleted file mode 100644 index 400bf4db2..000000000 --- a/.eslintrc.js +++ /dev/null @@ -1,86 +0,0 @@ -module.exports = { - root: true, - rules: { - "linebreak-style": ["warn", "unix"] - }, - overrides: - [ - { - files: ["*.js", "*.jsx", "*.ts", "*.tsx"], - parser: "@typescript-eslint/parser", // we use the typescript parser for js files as well - env: { - commonjs: true, - node: true, - es6: true - }, - extends: [ - "plugin:@sharegate/core", - "plugin:@sharegate/react", - "plugin:@sharegate/jest", - "plugin:@sharegate/typescript", - "plugin:@sharegate/testing-library", - "plugin:@sharegate/storybook" - ], - rules: { - - } - }, - { - files: ["*.chroma.jsx"], - extends: [ - ], - rules:{ - "storybook/default-exports": "off" // Those stories do not support CSF yet - } - }, - { - files: ["*.stories.tsx"], - extends: [ - "plugin:@sharegate/storybook-csf" - ], - rules:{ - "storybook/no-title-property-in-meta": "off", // this should be turned off in the main config - "@typescript-eslint/no-empty-function" : "off" // empty function in examples is fine - } - }, - { - files: ["*.ts", "*.tsx"], - rules: { - "react/no-unused-prop-types": "off", // Issue with typescript - "@typescript-eslint/no-explicit-any": "off", // we use any a lot in orbiter - "@typescript-eslint/ban-ts-comment": "off" - } - }, - { - files: ["*.sample.jsx"], - rules: { - "no-unused-expressions": "off", - "no-unused-vars": "off", - "no-undef": "off", - "react/jsx-no-undef": "off" - } - }, - { - // react inside mdx is no longer linted. But it's been disabled for a while so it's ok for now. - // we should take a look at it later - extends: [ - "plugin:@sharegate/mdx" - ], - files: ["*.mdx"], - parserOptions: { - "ecmaVersion": 6, - "sourceType": "module", - "ecmaFeatures": { - "modules": true, - jsx: true - } - }, - globals: { - "props": true - }, - rules:{ - "react/jsx-no-undef": "off" - } - } - ] -}; diff --git a/.eslintrc.json b/.eslintrc.json new file mode 100644 index 000000000..e2a85644a --- /dev/null +++ b/.eslintrc.json @@ -0,0 +1,34 @@ +{ + "$schema": "https://json.schemastore.org/eslintrc", + "root": true, + "extends": ["plugin:@workleap/react-library"], + "rules": { + "no-console": ["warn", { "allow": ["warn", "error"] }], + "react/destructuring-assignment": "off", + "no-param-reassign": "off", + + // New Workleap rules that we don't want to enforce yet + "@typescript-eslint/consistent-type-imports": "off", + "@typescript-eslint/no-explicit-any": "off", + "@typescript-eslint/ban-ts-comment": "off", + "react/no-unused-prop-types": "off" + + }, + "overrides": [ + { + "files": ["*.mdx"], + "rules":{ + "react/jsx-no-undef": "off" + } + }, + { + "files": [ + ".storybook/*", + "**/scripts/*.js" + ], + "rules":{ + "no-console": "off" + } + } + ] +} diff --git a/.storybook/storybook-addon/withHopperProvider.tsx b/.storybook/storybook-addon/withHopperProvider.tsx index 38232ecf3..d7c6ee61b 100644 --- a/.storybook/storybook-addon/withHopperProvider.tsx +++ b/.storybook/storybook-addon/withHopperProvider.tsx @@ -1,4 +1,4 @@ -import { type ColorScheme } from "@hopper-ui/components"; +import { ColorScheme } from "@hopper-ui/components"; import { makeDecorator } from "@storybook/preview-api"; import { ThemeProvider } from "../../packages/components/src/styling"; diff --git a/.storybook/styles/index.ts b/.storybook/styles/index.ts index af42f3745..8063d8790 100644 --- a/.storybook/styles/index.ts +++ b/.storybook/styles/index.ts @@ -1,3 +1,3 @@ import "./app.css"; -import "./docs.css"; +// import "./docs.css"; import "./stories.css"; diff --git a/.stylelintrc.js b/.stylelintrc.js index 5c68e19fc..e05a5a14b 100644 --- a/.stylelintrc.js +++ b/.stylelintrc.js @@ -1,7 +1,31 @@ /** @type {import('stylelint').Config} */ -module.exports = { - extends: "@sharegate/stylelint-plugin", +const config = { + extends: "@workleap/stylelint-configs", rules: { - "linebreaks": "unix", + // Disable all the new workleap rules for now. We will enable them one by one as needed. + // We are now on the workleap config, even if we haven't fixed all the rules yet + "custom-property-pattern": null, + "custom-property-pattern": null, + "number-max-precision": null, + "selector-not-notation": null, + "declaration-block-no-redundant-longhand-properties": null, + "custom-property-pattern": null, + "import-notation": null, + "declaration-empty-line-before": null, + "unit-allowed-list": null, + "color-function-notation": null, + "alpha-value-notation": null, + "comment-empty-line-before": null, + "selector-pseudo-element-colon-notation": null, + "value-keyword-case": null, + "custom-property-empty-line-before": null, + "property-no-vendor-prefix": null, + "rule-empty-line-before": null, + "media-feature-range-notation": null, + "hue-degree-notation": null, + "font-family-name-quotes": null, + "at-rule-empty-line-before": null, } }; + +export default config; diff --git a/package.json b/package.json index d78e8082e..d62dd8cda 100644 --- a/package.json +++ b/package.json @@ -3,6 +3,7 @@ "version": "0.0.0", "private": true, "repository": "https://github.com/gsoft-inc/wl-orbiter.git", + "type": "module", "license": "Apache-2.0", "scripts": { "preinstall": "npx only-allow pnpm", @@ -49,9 +50,9 @@ "@chromatic-com/storybook": "2.0.2", "@hopper-ui/icons": "2.8.4", "@pmmmwh/react-refresh-webpack-plugin": "0.5.15", - "@sharegate/eslint-plugin": "3.2.0", - "@sharegate/stylelint-plugin": "1.0.1", - "@sharegate/typescript-config": "1.1.1", + "@workleap/eslint-plugin": "3.2.2", + "@workleap/stylelint-configs": "2.0.3", + "@workleap/typescript-configs": "3.0.2", "@storybook/addon-a11y": "8.3.6", "@storybook/addon-essentials": "8.3.6", "@storybook/addon-interactions": "8.3.6", @@ -93,7 +94,7 @@ "jest-environment-jsdom": "29.7.0", "meow": "9.0.0", "netlify-cli": "8.6.18", - "prettier": "2.5.1", + "prettier": "3.3.3", "prism-react-renderer": "1.2.1", "react": "18.3.1", "react-dom": "18.3.1", @@ -102,7 +103,7 @@ "serve": "14.2.4", "shelljs": "0.8.5", "storybook": "8.3.6", - "stylelint": "14.16.1", + "stylelint": "^16.10.0", "svgo": "3.3.2", "ts-jest": "29.2.5", "tsconfig-paths-webpack-plugin": "4.1.0", diff --git a/packages/bundle/package.json b/packages/bundle/package.json index 2852293b7..ee9592cde 100644 --- a/packages/bundle/package.json +++ b/packages/bundle/package.json @@ -7,6 +7,7 @@ "url": "git+https://github.com/gsoft-inc/wl-orbiter.git", "directory": "packages/bundle" }, + "type": "module", "author": "Groupe ShareGate inc.", "license": "Apache-2.0", "main": "dist/index.js", diff --git a/packages/components/.eslintrc.js b/packages/components/.eslintrc.js deleted file mode 100644 index dde579280..000000000 --- a/packages/components/.eslintrc.js +++ /dev/null @@ -1,31 +0,0 @@ -module.exports = { - overrides: [ - { - files: ["*.chroma.jsx", "*.stories.tsx"], - rules: { - "max-len": "off" - } - }, - { - files: ["*.ts?(x)"], - rules: { - "react/jsx-sort-props": "warn" - } - }, - { - files: ["**/src/*.ts?(x)"], - plugins: ["sort-destructure-keys", "sort-keys-fix", "typescript-sort-keys"], - rules: { - "sort-keys-fix/sort-keys-fix": ["warn", "asc", { natural: true }], - "sort-destructure-keys/sort-destructure-keys": "warn", - "typescript-sort-keys/interface": ["warn", "asc", { natural: true }] - } - }, - { - files: ["**/tests/**/*.ts?(x)"], - rules: { - "react/jsx-sort-props": "off" - } - } - ] -}; diff --git a/packages/components/.eslintrc.json b/packages/components/.eslintrc.json new file mode 100644 index 000000000..b417f65bf --- /dev/null +++ b/packages/components/.eslintrc.json @@ -0,0 +1,41 @@ +{ + "$schema": "https://json.schemastore.org/eslintrc", + "overrides": [ + { + "files": ["*.chroma.jsx", "*.stories.tsx"], + "rules": { + "max-len": "off" + } + }, + { + "files": ["*.ts?(x)"], + "rules": { + "react/jsx-sort-props": "warn" + } + }, + { + "files": ["**/src/*.ts?(x)"], + "plugins": ["sort-destructure-keys", "sort-keys-fix", "typescript-sort-keys"], + "rules": { + "sort-keys-fix/sort-keys-fix": ["warn", "asc", { "natural": true }], + "sort-destructure-keys/sort-destructure-keys": "warn", + "typescript-sort-keys/interface": ["warn", "asc", { "natural": true }] + } + }, + { + "files": ["**/tests/**/*.ts?(x)"], + "rules": { + "react/jsx-sort-props": "off" + } + }, + { + "files": [ + "**/docs/**/*.ts?(x)", + "**/scripts/*.js" + ], + "rules": { + "no-console": "off" + } + } + ] +} diff --git a/packages/components/package.json b/packages/components/package.json index f18b75e5e..8add73ca6 100644 --- a/packages/components/package.json +++ b/packages/components/package.json @@ -7,6 +7,7 @@ "url": "git+https://github.com/gsoft-inc/wl-orbiter.git", "directory": "packages/components" }, + "type": "module", "author": "Groupe Sharegate inc.", "license": "Apache-2.0", "main": "dist/index.js", diff --git a/packages/components/src/button/src/useDisableClick.tsx b/packages/components/src/button/src/useDisableClick.tsx index d2cabe0d2..3efaf5c9a 100644 --- a/packages/components/src/button/src/useDisableClick.tsx +++ b/packages/components/src/button/src/useDisableClick.tsx @@ -12,7 +12,7 @@ export function useDisableClick<T = Element>(disabled: boolean, handleClick: Mou event.stopPropagation(); } }, - [disabled], + [disabled] ); if (!disabled) { diff --git a/packages/components/src/date-input/tests/jest/DateInput.test.tsx b/packages/components/src/date-input/tests/jest/DateInput.test.tsx index 00d2ec132..134e632cb 100644 --- a/packages/components/src/date-input/tests/jest/DateInput.test.tsx +++ b/packages/components/src/date-input/tests/jest/DateInput.test.tsx @@ -15,6 +15,7 @@ function type(element: HTMLElement, text: string) { function backspace(element: HTMLElement, times = 1) { const promises: Promise<void>[] = []; for (let x = 0; x < times; x += 1) { + // eslint-disable-next-line testing-library/await-async-events promises.push(userEvent.type(element, "{backspace}")); } diff --git a/packages/components/src/date-input/tests/jest/DateRangeInput.test.tsx b/packages/components/src/date-input/tests/jest/DateRangeInput.test.tsx index 58ac2349e..c5905aa1a 100644 --- a/packages/components/src/date-input/tests/jest/DateRangeInput.test.tsx +++ b/packages/components/src/date-input/tests/jest/DateRangeInput.test.tsx @@ -17,6 +17,7 @@ function type(element: HTMLElement, text: string) { function backspace(element: HTMLElement, times = 1) { const promises: Promise<void>[] = []; for (let x = 0; x < times; x += 1) { + // eslint-disable-next-line testing-library/await-async-events promises.push(userEvent.type(element, "{backspace}")); } diff --git a/packages/components/src/shared/tests/jest/useFocusScope.test.tsx b/packages/components/src/shared/tests/jest/useFocusScope.test.tsx index 2bd2ade0e..ef984ad89 100644 --- a/packages/components/src/shared/tests/jest/useFocusScope.test.tsx +++ b/packages/components/src/shared/tests/jest/useFocusScope.test.tsx @@ -152,6 +152,7 @@ test("when the root element is focusable, the scope includes the root element", const textInputRef = createRef<HTMLInputElement>(); render( + // eslint-disable-next-line jsx-a11y/tabindex-no-positive <Container tabIndex={1} ref={rootRef} onInitialScope={scope => { focusScope = scope; }}> <Div>Decoy 1</Div> <Button ref={buttonRef}>Button</Button> diff --git a/packages/components/src/styling/src/theming/ThemeProvider.tsx b/packages/components/src/styling/src/theming/ThemeProvider.tsx index a29ae0e19..4784efeb2 100644 --- a/packages/components/src/styling/src/theming/ThemeProvider.tsx +++ b/packages/components/src/styling/src/theming/ThemeProvider.tsx @@ -62,7 +62,7 @@ export function InnerThemeProvider(props: InnerThemeProviderProps) { "o-ui", `o-ui-${computedColorScheme}`, "o-ui-orbiter", - `o-ui-orbiter-${computedColorScheme}`, + `o-ui-orbiter-${computedColorScheme}` ) } )} diff --git a/packages/components/src/switch/src/Switch.tsx b/packages/components/src/switch/src/Switch.tsx index 14ea5256d..903b7b9ac 100644 --- a/packages/components/src/switch/src/Switch.tsx +++ b/packages/components/src/switch/src/Switch.tsx @@ -86,7 +86,7 @@ export function InnerSwitch(props: InnerSwitchProps) { } = mergeProps( props, omitProps(toolbarProps, ["orientation"]), - omitProps(fieldProps, ["fluid"]), + omitProps(fieldProps, ["fluid"]) ); if (isNil(children) && isNil(ariaLabel) && isNil(ariaLabelledBy)) { diff --git a/packages/css/package.json b/packages/css/package.json index 3224e0c4e..50cf922d1 100644 --- a/packages/css/package.json +++ b/packages/css/package.json @@ -7,6 +7,7 @@ "url": "git+https://github.com/gsoft-inc/wl-orbiter.git", "directory": "packages/css" }, + "type": "module", "author": "Groupe ShareGate inc.", "license": "Apache-2.0", "main": "src/index.css", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index b566425a8..5dc166e01 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -19,16 +19,7 @@ importers: version: 2.8.4(@hopper-ui/styled-system@2.4.1(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(react-aria-components@1.4.1(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(react-dom@18.3.1(react@18.3.1))(react@18.3.1) '@pmmmwh/react-refresh-webpack-plugin': specifier: 0.5.15 - version: 0.5.15(react-refresh@0.14.2)(type-fest@2.19.0)(webpack-hot-middleware@2.26.1)(webpack@5.96.1(@swc/core@1.8.0(@swc/helpers@0.5.13))(esbuild@0.23.1)) - '@sharegate/eslint-plugin': - specifier: 3.2.0 - version: 3.2.0(@typescript-eslint/parser@8.10.0(eslint@8.57.1)(typescript@5.5.4))(eslint@8.57.1)(jest@29.7.0(@types/node@16.18.119)(ts-node@10.4.0(@swc/core@1.8.0(@swc/helpers@0.5.13))(@types/node@16.18.119)(typescript@5.5.4)))(typescript@5.5.4) - '@sharegate/stylelint-plugin': - specifier: 1.0.1 - version: 1.0.1(stylelint@14.16.1) - '@sharegate/typescript-config': - specifier: 1.1.1 - version: 1.1.1 + version: 0.5.15(react-refresh@0.14.2)(type-fest@3.13.1)(webpack-hot-middleware@2.26.1)(webpack@5.96.1(@swc/core@1.8.0(@swc/helpers@0.5.13))(esbuild@0.23.1)) '@storybook/addon-a11y': specifier: 8.3.6 version: 8.3.6(storybook@8.3.6) @@ -98,9 +89,18 @@ importers: '@typescript-eslint/parser': specifier: 8.10.0 version: 8.10.0(eslint@8.57.1)(typescript@5.5.4) + '@workleap/eslint-plugin': + specifier: 3.2.2 + version: 3.2.2(@typescript-eslint/parser@8.10.0(eslint@8.57.1)(typescript@5.5.4))(eslint@8.57.1)(jest@29.7.0(@types/node@16.18.119)(ts-node@10.4.0(@swc/core@1.8.0(@swc/helpers@0.5.13))(@types/node@16.18.119)(typescript@5.5.4)))(typescript@5.5.4) + '@workleap/stylelint-configs': + specifier: 2.0.3 + version: 2.0.3(prettier@3.3.3)(stylelint@16.10.0(typescript@5.5.4)) '@workleap/swc-configs': specifier: 2.2.3 version: 2.2.3(@swc/core@1.8.0(@swc/helpers@0.5.13))(@swc/helpers@0.5.13)(@swc/jest@0.2.37(@swc/core@1.8.0(@swc/helpers@0.5.13)))(browserslist@4.24.0) + '@workleap/typescript-configs': + specifier: 3.0.2 + version: 3.0.2(typescript@5.5.4) browserslist: specifier: 4.24.0 version: 4.24.0 @@ -153,8 +153,8 @@ importers: specifier: 8.6.18 version: 8.6.18(@swc/core@1.8.0(@swc/helpers@0.5.13))(@types/babel__core@7.20.5)(@types/express@4.17.21) prettier: - specifier: 2.5.1 - version: 2.5.1 + specifier: 3.3.3 + version: 3.3.3 prism-react-renderer: specifier: 1.2.1 version: 1.2.1(react@18.3.1) @@ -180,8 +180,8 @@ importers: specifier: 8.3.6 version: 8.3.6 stylelint: - specifier: 14.16.1 - version: 14.16.1 + specifier: ^16.10.0 + version: 16.10.0(typescript@5.5.4) svgo: specifier: 3.3.2 version: 3.3.2 @@ -937,11 +937,28 @@ packages: resolution: {integrity: sha512-X4xqRHqN8ACt2aHVe51OxeA2HjbcL4MqFqXkrmQszJ1NOUuUu5u6Vqx/0lZSVNku7velL5FC/s5uEAj1lsBMhA==} engines: {node: '>=12'} - '@csstools/selector-specificity@2.2.0': - resolution: {integrity: sha512-+OJ9konv95ClSTOJCmMZqpd5+YGsB2S+x6w3E1oaM8UuR5j8nTNHYSz8c9BEPGDOCMQYIEEGlVPj/VY64iTbGw==} - engines: {node: ^14 || ^16 || >=18} + '@csstools/css-parser-algorithms@3.0.4': + resolution: {integrity: sha512-Up7rBoV77rv29d3uKHUIVubz1BTcgyUK72IvCQAbfbMv584xHcGKCKbWh7i8hPrRJ7qU4Y8IO3IY9m+iTB7P3A==} + engines: {node: '>=18'} + peerDependencies: + '@csstools/css-tokenizer': ^3.0.3 + + '@csstools/css-tokenizer@3.0.3': + resolution: {integrity: sha512-UJnjoFsmxfKUdNYdWgOB0mWUypuLvAfQPH1+pyvRJs6euowbFkFC6P13w1l8mJyi3vxYMxc9kld5jZEGRQs6bw==} + engines: {node: '>=18'} + + '@csstools/media-query-list-parser@3.0.1': + resolution: {integrity: sha512-HNo8gGD02kHmcbX6PvCoUuOQvn4szyB9ca63vZHKX5A81QytgDG4oxG4IaEfHTlEZSZ6MjPEMWIVU+zF2PZcgw==} + engines: {node: '>=18'} + peerDependencies: + '@csstools/css-parser-algorithms': ^3.0.1 + '@csstools/css-tokenizer': ^3.0.1 + + '@csstools/selector-specificity@4.0.0': + resolution: {integrity: sha512-189nelqtPd8++phaHNwYovKZI0FOzH1vQEE3QhHHkNIGrg5fSs9CbYP3RvfEH5geztnIA9Jwq91wyOIwAW5JIQ==} + engines: {node: '>=18'} peerDependencies: - postcss-selector-parser: ^6.0.10 + postcss-selector-parser: ^6.1.0 '@dabh/diagnostics@2.0.3': resolution: {integrity: sha512-hrlQOIi7hAfzsMqlGSFyVucrx38O+j6wiGOf//H2ecvIEqYN4ADBSS2iLMh5UFyDunCNniUIPk/q3riFv45xRA==} @@ -950,6 +967,9 @@ packages: resolution: {integrity: sha512-1YUvQ+e0eeTWAHoN8Uz2x2U37jZs6IGutiIE5LXId7cxfUGhtZjzxE06FdUiuiRrW+UE0vNCdSNPH2lY4dQCOQ==} engines: {node: '>=12'} + '@dual-bundle/import-meta-resolve@4.1.0': + resolution: {integrity: sha512-+nxncfwHM5SgAtrVzgpzJOI1ol0PkumhVo469KCf9lUi21IGcY90G98VuHm9VRrUypmAzawAHO9bs6hqeADaVg==} + '@esbuild/aix-ppc64@0.23.1': resolution: {integrity: sha512-6VhYk1diRqrhBAqpJEdjASR/+WVRtfjpqKuNw11cLiaWpAT/Uu+nokB+UJnevzy/P9C/ty6AOe0dwueMrGh/iQ==} engines: {node: '>=18'} @@ -1607,9 +1627,6 @@ packages: engines: {node: ^12.20.0 || ^14.14.0 || >=16.0.0} hasBin: true - '@next/eslint-plugin-next@13.5.7': - resolution: {integrity: sha512-c4vuEOOXeib4js5gDq+zFqAAdRGXX6T0d+zFETiQkRwy7vyj5lBov1dW0Z09nDst2lvxo7VEcKrQMUBH5Vgx7Q==} - '@nodelib/fs.scandir@2.1.5': resolution: {integrity: sha512-vq24Bq3ym5HEQm2NKCr3yXDwjc7vTsEThRDnkp2DK9p1uqLR+DHurm/NOTo0KG7HYHU7eppKZj3MyqYuMBf62g==} engines: {node: '>= 8'} @@ -1626,9 +1643,13 @@ packages: resolution: {integrity: sha512-oGB+UxlgWcgQkgwo8GcEGwemoTFt3FIO9ababBmaGwXIoBKZ+GTy0pP185beGg7Llih/NSHSV2XAs1lnznocSg==} engines: {node: '>= 8'} - '@npmcli/config@6.4.1': - resolution: {integrity: sha512-uSz+elSGzjCMANWa5IlbGczLYPkNI/LeR+cHrgaTqTrTSh9RHhOFA4daD2eRUz6lMtOW+Fnsb+qv7V2Zz8ML0g==} - engines: {node: ^14.17.0 || ^16.13.0 || >=18.0.0} + '@npmcli/config@8.3.4': + resolution: {integrity: sha512-01rtHedemDNhUXdicU7s+QYz/3JyV5Naj84cvdXGH4mgCdL+agmSYaLF4LUG4vMCLzhBO8YtS0gPpH1FGvbgAw==} + engines: {node: ^16.14.0 || >=18.0.0} + + '@npmcli/git@5.0.8': + resolution: {integrity: sha512-liASfw5cqhjNW9UFd+ruwwdEf/lbOAQjLL2XY2dFW/bkJheXDYZgOyul/4gVvEV4BWkTXjYGmDqMw9uegdbJNQ==} + engines: {node: ^16.14.0 || >=18.0.0} '@npmcli/map-workspaces@3.0.6': resolution: {integrity: sha512-tkYs0OYnzQm6iIRdfy+LcLBjcKuQCeE5YLb8KnrIlutJfheNaPvPpgoFEyEFgbjzl5PLZ3IA/BWAwRU0eHuQDA==} @@ -1638,6 +1659,14 @@ packages: resolution: {integrity: sha512-pwK+BfEBZJbKdNYpHHRTNBwBoqrN/iIMO0AiGvYsp3Hoaq0WbgGSWQR6SCldZovoDpY3yje5lkFUe6gsDgJ2vg==} engines: {node: ^14.17.0 || ^16.13.0 || >=18.0.0} + '@npmcli/package-json@5.2.1': + resolution: {integrity: sha512-f7zYC6kQautXHvNbLEWgD/uGu1+xCn9izgqBfgItWSx22U0ZDekxN08A1vM8cTxj/cRVe0Q94Ode+tdoYmIOOQ==} + engines: {node: ^16.14.0 || >=18.0.0} + + '@npmcli/promise-spawn@7.0.2': + resolution: {integrity: sha512-xhfYPXoV5Dy4UkY0D+v2KkwvnDfiA/8Mt3sWCGI/hM03NsYIH8ZaG6QzS9x7pje5vHZBZJ2v6VRFVTWACnqcmQ==} + engines: {node: ^16.14.0 || >=18.0.0} + '@octokit/auth-token@2.5.0': resolution: {integrity: sha512-r5FVUJCOLl19AxiuZD2VRZ/ORjp/4IN98Of6YJoJOkY75CIBuYfmiNHGrDwXr+aLGG55igl9QrxX3hbiXlLb+g==} @@ -2315,26 +2344,6 @@ packages: zen-observable: optional: true - '@sharegate/eslint-plugin@3.2.0': - resolution: {integrity: sha512-aj7BfCtUBFbzllOnOv8Uj0CAKqm571/eYQcLWmfYR75K1y9ETY+b2p03Rmxm6RIv0gyos8rT9ysmgG4UKBSYgw==} - peerDependencies: - '@typescript-eslint/parser': ^5 - eslint: ^7 || ^8 - typescript: ^4 || ^5 - peerDependenciesMeta: - '@typescript-eslint/parser': - optional: true - typescript: - optional: true - - '@sharegate/stylelint-plugin@1.0.1': - resolution: {integrity: sha512-qJxZz/hkGjpho2WlCOM1djjCOEiR0lYk6SOQJDQnJ1dgnkmRYkD0e1VVoHeQlZvAe8RvrgWN7mpvdg6uRfRkww==} - peerDependencies: - stylelint: '>=14.10.0' - - '@sharegate/typescript-config@1.1.1': - resolution: {integrity: sha512-GhgJWeUun3ERqV7y+ql7QbpyfTN7uhEGchwNX287bs3xDEBg7peXoQKmI5t9tbSbOw7D0XZP6n+CAoVlUVYw5g==} - '@sideway/address@4.1.5': resolution: {integrity: sha512-IqO/DUQHUkPeixNQ8n0JA6102hT9CmaljNTPmQ1u8MEhBo/R4Q8eKLN/vGZxuebwOroDB4cbpjheD4+/sKFK4Q==} @@ -2508,6 +2517,9 @@ packages: peerDependencies: storybook: ^8.2.0 || ^8.3.0-0 || ^8.4.0-0 || ^8.5.0-0 || ^8.6.0-0 + '@storybook/csf@0.0.1': + resolution: {integrity: sha512-USTLkZze5gkel8MYCujSRBVIrUQ3YPBrLOx7GNk/0wttvVtlzWXAq9eLbQ4p/NicGxP+3T7KPEMVV//g+yubpw==} + '@storybook/csf@0.1.11': resolution: {integrity: sha512-dHYFQH3mA+EtnCkHXzicbLgsvzYjcDJ1JWsogbItZogkPHgSJM/Wr71uMkcvw8v9mmCyP4NpXJuu6bPoVsOnzg==} @@ -2899,9 +2911,6 @@ packages: '@types/graceful-fs@4.1.9': resolution: {integrity: sha512-olP3sd1qOEe5dXTSaFvQG+02VdRXcdytWLAZsAq1PecU8uqQAhkrnbli7DagjtXKW/Bl7YJbUsa8MPcuc8LHEQ==} - '@types/hast@2.3.10': - resolution: {integrity: sha512-McWspRw8xx8J9HurkVBfYj0xKoE25tOFlHGdx4MJ5xORQrMGZNqJhVQWaIbm6Oyla5kYOXtDiopzKRJzEOkwJw==} - '@types/hast@3.0.4': resolution: {integrity: sha512-WPs+bbQw5aCj+x6laNGWLH3wviHtoCv/P3+otBhbOhJgG8qtpdAMlTCxLtsTWA7LH1Oh/bFCHsBn0TPS5m30EQ==} @@ -2983,9 +2992,6 @@ packages: '@types/node@16.18.119': resolution: {integrity: sha512-ia7V9a2FnhUFfetng4/sRPBMTwHZUkPFY736rb1cg9AgG7MZdR97q7/nLR9om+sq5f1la9C857E0l/nrI0RiFQ==} - '@types/node@18.19.64': - resolution: {integrity: sha512-955mDqvO2vFf/oL7V3WiUtiz+BugyX8uVbaT2H8oj3+8dRyH2FLiNdowe7eNqRM7IOIZvzDH76EoAT+gwm6aIQ==} - '@types/node@22.9.0': resolution: {integrity: sha512-vuyHg81vvWA1Z1ELfvLko2c8f34gyA0zaic0+Rllc5lbCnbSyuvb2Oxpm6TAUAC/2xZN3QGqxBNggD1nNR2AfQ==} @@ -3070,12 +3076,12 @@ packages: '@types/yargs@17.0.33': resolution: {integrity: sha512-WpxBCKWPLr4xSsHgz511rFJAM+wS28w2zEO1QDNY5zM/S8ok70NNfztH0xwhqKyaK0OHCbN98LDAZuy1ctxDkA==} - '@typescript-eslint/eslint-plugin@5.62.0': - resolution: {integrity: sha512-TiZzBSJja/LbhNPvk6yc0JrX9XqhQ0hdh6M2svYfsHGejaKFIAGd9MQ+ERIMzLGlN/kZoYIgdxFV0PuljTKXag==} - engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} + '@typescript-eslint/eslint-plugin@7.18.0': + resolution: {integrity: sha512-94EQTWZ40mzBc42ATNIBimBEDltSJ9RQHCC8vc/PDbxi4k8dVwUAv4o98dk50M1zB+JGFxp43FP7f8+FP8R6Sw==} + engines: {node: ^18.18.0 || >=20.0.0} peerDependencies: - '@typescript-eslint/parser': ^5.0.0 - eslint: ^6.0.0 || ^7.0.0 || ^8.0.0 + '@typescript-eslint/parser': ^7.0.0 + eslint: ^8.56.0 typescript: '*' peerDependenciesMeta: typescript: @@ -3101,19 +3107,19 @@ packages: resolution: {integrity: sha512-VXuvVvZeQCQb5Zgf4HAxc04q5j+WrNAtNh9OwCsCgpKqESMTu3tF/jhZ3xG6T4NZwWl65Bg8KuS2uEvhSfLl0w==} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} + '@typescript-eslint/scope-manager@7.18.0': + resolution: {integrity: sha512-jjhdIE/FPF2B7Z1uzc6i3oWKbGcHb87Qw7AWj6jmEqNOfDFbJWtjt/XfwCpvNkpGWlcJaog5vTR+VV8+w9JflA==} + engines: {node: ^18.18.0 || >=20.0.0} + '@typescript-eslint/scope-manager@8.10.0': resolution: {integrity: sha512-AgCaEjhfql9MDKjMUxWvH7HjLeBqMCBfIaBbzzIcBbQPZE7CPh1m6FF+L75NUMJFMLYhCywJXIDEMa3//1A0dw==} engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} - '@typescript-eslint/scope-manager@8.13.0': - resolution: {integrity: sha512-XsGWww0odcUT0gJoBZ1DeulY1+jkaHUciUq4jKNv4cpInbvvrtDoyBH9rE/n2V29wQJPk8iCH1wipra9BhmiMA==} - engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} - - '@typescript-eslint/type-utils@5.62.0': - resolution: {integrity: sha512-xsSQreu+VnfbqQpW5vnCJdq1Z3Q0U31qiWmRhr98ONQmcp/yhiPJFPq8MXiJVLiksmOKSjIldZzkebzHuCGzew==} - engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} + '@typescript-eslint/type-utils@7.18.0': + resolution: {integrity: sha512-XL0FJXuCLaDuX2sYqZUUSOJ2sG5/i1AAze+axqmLnSkNEVMVYLF+cbwlB2w8D1tinFuSikHmFta+P+HOofrLeA==} + engines: {node: ^18.18.0 || >=20.0.0} peerDependencies: - eslint: '*' + eslint: ^8.56.0 typescript: '*' peerDependenciesMeta: typescript: @@ -3127,14 +3133,14 @@ packages: resolution: {integrity: sha512-87NVngcbVXUahrRTqIK27gD2t5Cu1yuCXxbLcFtCzZGlfyVWWh8mLHkoxzjsB6DDNnvdL+fW8MiwPEJyGJQDgQ==} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} + '@typescript-eslint/types@7.18.0': + resolution: {integrity: sha512-iZqi+Ds1y4EDYUtlOOC+aUmxnE9xS/yCigkjA7XpTKV6nCBd3Hp/PRGGmdwnfkV2ThMyYldP1wRpm/id99spTQ==} + engines: {node: ^18.18.0 || >=20.0.0} + '@typescript-eslint/types@8.10.0': resolution: {integrity: sha512-k/E48uzsfJCRRbGLapdZgrX52csmWJ2rcowwPvOZ8lwPUv3xW6CcFeJAXgx4uJm+Ge4+a4tFOkdYvSpxhRhg1w==} engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} - '@typescript-eslint/types@8.13.0': - resolution: {integrity: sha512-4cyFErJetFLckcThRUFdReWJjVsPCqyBlJTi6IDEpc1GWCIIZRFxVppjWLIMcQhNGhdWJJRYFHpHoDWvMlDzng==} - engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} - '@typescript-eslint/typescript-estree@4.33.0': resolution: {integrity: sha512-rkWRY1MPFzjwnEVHsxGemDzqqddw2QbTJlICPD9p9I9LfsO8fdmfQPOX3uKfUaGRDFJbfrtm/sXhVXN4E+bzCA==} engines: {node: ^10.12.0 || >=12.0.0} @@ -3153,17 +3159,17 @@ packages: typescript: optional: true - '@typescript-eslint/typescript-estree@8.10.0': - resolution: {integrity: sha512-3OE0nlcOHaMvQ8Xu5gAfME3/tWVDpb/HxtpUZ1WeOAksZ/h/gwrBzCklaGzwZT97/lBbbxJ16dMA98JMEngW4w==} - engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} + '@typescript-eslint/typescript-estree@7.18.0': + resolution: {integrity: sha512-aP1v/BSPnnyhMHts8cf1qQ6Q1IFwwRvAQGRvBFkWlo3/lH29OXA3Pts+c10nxRxIBrDnoMqzhgdwVe5f2D6OzA==} + engines: {node: ^18.18.0 || >=20.0.0} peerDependencies: typescript: '*' peerDependenciesMeta: typescript: optional: true - '@typescript-eslint/typescript-estree@8.13.0': - resolution: {integrity: sha512-v7SCIGmVsRK2Cy/LTLGN22uea6SaUIlpBcO/gnMGT/7zPtxp90bphcGf4fyrCQl3ZtiBKqVTG32hb668oIYy1g==} + '@typescript-eslint/typescript-estree@8.10.0': + resolution: {integrity: sha512-3OE0nlcOHaMvQ8Xu5gAfME3/tWVDpb/HxtpUZ1WeOAksZ/h/gwrBzCklaGzwZT97/lBbbxJ16dMA98JMEngW4w==} engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} peerDependencies: typescript: '*' @@ -3177,11 +3183,11 @@ packages: peerDependencies: eslint: ^6.0.0 || ^7.0.0 || ^8.0.0 - '@typescript-eslint/utils@8.13.0': - resolution: {integrity: sha512-A1EeYOND6Uv250nybnLZapeXpYMl8tkzYUxqmoKAWnI4sei3ihf2XdZVd+vVOmHGcp3t+P7yRrNsyyiXTvShFQ==} - engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} + '@typescript-eslint/utils@7.18.0': + resolution: {integrity: sha512-kK0/rNa2j74XuHVcoCZxdFBMF+aq/vH83CXAOHieC+2Gis4mF8jJXT5eAfyD3K0sAxtPuwxaIOIOvhwzVDt/kw==} + engines: {node: ^18.18.0 || >=20.0.0} peerDependencies: - eslint: ^8.57.0 || ^9.0.0 + eslint: ^8.56.0 '@typescript-eslint/visitor-keys@4.33.0': resolution: {integrity: sha512-uqi/2aSz9g2ftcHWf8uLPJA70rUv6yuMW5Bohw+bwcuzaxQIHaKFZCKGoGXIrc9vkTJ3+0txM73K0Hq3d5wgIg==} @@ -3191,14 +3197,14 @@ packages: resolution: {integrity: sha512-07ny+LHRzQXepkGg6w0mFY41fVUNBrL2Roj/++7V1txKugfjm/Ci/qSND03r2RhlJhJYMcTn9AhhSSqQp0Ysyw==} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} + '@typescript-eslint/visitor-keys@7.18.0': + resolution: {integrity: sha512-cDF0/Gf81QpY3xYyJKDV14Zwdmid5+uuENhjH2EqFaF0ni+yAyq/LzMaIJdhNJXZI7uLzwIlA+V7oWoyn6Curg==} + engines: {node: ^18.18.0 || >=20.0.0} + '@typescript-eslint/visitor-keys@8.10.0': resolution: {integrity: sha512-k8nekgqwr7FadWk548Lfph6V3r9OVqjzAIVskE7orMZR23cGJjAOVazsZSJW+ElyjfTM4wx/1g88Mi70DDtG9A==} engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} - '@typescript-eslint/visitor-keys@8.13.0': - resolution: {integrity: sha512-7N/+lztJqH4Mrf0lb10R/CbI1EaAMMGyF5y0oJvFoAhafwgiRA7TXyd8TFn8FC8k5y2dTsYogg238qavRGNnlw==} - engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} - '@ungap/structured-clone@1.2.0': resolution: {integrity: sha512-zuVdFrMJiuCDQUMCzQaD6KL28MjnqqN8XnAqiEq9PNm/hCPTSGfrXCOfwj1ow4LFb/tNymJPwsNbVePc1xFqrQ==} @@ -3274,6 +3280,31 @@ packages: '@webassemblyjs/wast-printer@1.12.1': resolution: {integrity: sha512-+X4WAlOisVWQMikjbcvY2e0rwPsKQ9F688lksZhBcPycBBuii3O7m8FACbDMWDojpAqvjIncrG8J0XHKyQfVeA==} + '@workleap/eslint-plugin@3.2.2': + resolution: {integrity: sha512-yI58Fb5EX/eIuHaUKwxAEXo4ssNbUcIDD6JX6DbFXPEZiA4nnYTiDxRgaAGR+h5EnHMuas4tpPx0bg6S2B4x9g==} + peerDependencies: + '@typescript-eslint/parser': '*' + eslint: '*' + typescript: '*' + peerDependenciesMeta: + '@typescript-eslint/parser': + optional: true + eslint: + optional: true + typescript: + optional: true + + '@workleap/stylelint-configs@2.0.3': + resolution: {integrity: sha512-623pddxhr7aXVyqvps7z+zWmRWjn4KmCxAaYLgc/FgEsjbrN8GDq5UgtXMtpx5RQSDYSrHYceHG0ZR5iFgIokA==} + peerDependencies: + prettier: '>=2.0.0' + stylelint: '>=15' + peerDependenciesMeta: + prettier: + optional: true + stylelint: + optional: true + '@workleap/swc-configs@2.2.3': resolution: {integrity: sha512-zrDsorHKxZY4/DlahkWucNm7kH9xAWxsq0WAWAKcCeFiYUX2TqZT+FNKn3Rl2a//MJgEQJlcYD0VaUIZP3J17A==} peerDependencies: @@ -3287,6 +3318,11 @@ packages: browserslist: optional: true + '@workleap/typescript-configs@3.0.2': + resolution: {integrity: sha512-H2FE1RoOcjYUhzMjpMm48qE7xf015nJBBYTwGH+t7VXzDcJBFcwU2jXztLG6ibMW+wIe0nI06MFOdjMLE099+Q==} + peerDependencies: + typescript: '*' + '@xtuc/ieee754@1.2.0': resolution: {integrity: sha512-DX8nKgqcGwsc0eJSqYt5lwP4DH5FlHnmuWWBRy7X0NcaGR0ZtuyeESgMwTYVEtxmsNGY+qit4QYT/MIYTOTPeA==} @@ -4312,6 +4348,15 @@ packages: resolution: {integrity: sha512-AdmX6xUzdNASswsFtmwSt7Vj8po9IuqXm0UXz7QKPuEUmPB4XyjGfaAr2PSuELMwkRMVH1EpIkX5bTZGRB3eCA==} engines: {node: '>=10'} + cosmiconfig@9.0.0: + resolution: {integrity: sha512-itvL5h8RETACmOTFc4UfIyB2RfEHi71Ax6E/PivVxq9NseKbOWpeyHEOIbmAw1rs8Ak0VursQNww7lf7YtUwzg==} + engines: {node: '>=14'} + peerDependencies: + typescript: '>=4.9.5' + peerDependenciesMeta: + typescript: + optional: true + cp-file@7.0.0: resolution: {integrity: sha512-0Cbj7gyvFVApzpK/uhCtQ/9kE9UnYpxMzaq5nQQC/Dh4iaj5fxp7iEFIullrYwzj8nf0qnsI1Qsx34hAeAebvw==} engines: {node: '>=8'} @@ -4391,6 +4436,10 @@ packages: resolution: {integrity: sha512-6Fv1DV/TYw//QF5IzQdqsNDjx/wc8TrMBZsqjL9eW01tWb7R7k/mq+/VXfJCl7SoD5emsJop9cOByJZfs8hYIw==} engines: {node: ^10 || ^12.20.0 || ^14.13.0 || >=15.0.0} + css-tree@3.0.1: + resolution: {integrity: sha512-8Fxxv+tGhORlshCdCwnNJytvlvq46sOLSYEx2ZIGurahWvMucSRnyjPA3AmrMq4VPRYbHVpWj5VkiVasrM2H4Q==} + engines: {node: ^10 || ^12.20.0 || ^14.13.0 || >=15.0.0} + css-what@6.1.0: resolution: {integrity: sha512-HTUrgRJ7r4dsZKU6GjmpfRK1O76h97Z8MfS1G0FozR+oF2kG6Vfe8JE6zwrkbxigziPHinCJ+gCPjA9EaBDtRw==} engines: {node: '>= 6'} @@ -4857,6 +4906,9 @@ packages: resolution: {integrity: sha512-DeWwawk6r5yR9jFgnDKYt4sLS0LmHJJi3ZOnb5/JdbYwj3nW+FxQnHIjhBKz8YLC7oRNPVM9NQ47I3CVx34eqQ==} engines: {node: '>=12'} + emoji-regex@10.4.0: + resolution: {integrity: sha512-EC+0oUMY1Rqm4O6LLrgjtYDvcVYTy7chDnM4Q7030tP4Kwj3u/pR6gP9ygnp2CJMK5Gq+9Q2oqmrFJAz01DXjw==} + emoji-regex@8.0.0: resolution: {integrity: sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==} @@ -4911,6 +4963,9 @@ packages: engines: {node: '>=4'} hasBin: true + err-code@2.0.3: + resolution: {integrity: sha512-2bmlRpNKBxT/CRmPOlyISQpNj+qSeYvcym/uT0Jx2bMOlKLtSy1ZmLuVxSEKKyor/N5yhvp/ZiG1oE3DEYMSFA==} + error-ex@1.3.2: resolution: {integrity: sha512-7dFHNmqeFSEt2ZBsCriorKnn3Z2pj+fd9kmI6QoWw4//DL+icEBfc0U7qJCisqrTsKTjw4fNFy2pW9OqStD84g==} @@ -5087,12 +5142,18 @@ packages: engines: {node: '>=6.0'} hasBin: true + eslint-compat-utils@0.5.1: + resolution: {integrity: sha512-3z3vFexKIEnjHE3zCMRo6fn/e44U7T1khUjg+Hp0ZQMCigh28rALD0nPFBcGZuiLC5rLZa2ubQHDRln09JfU2Q==} + engines: {node: '>=12'} + peerDependencies: + eslint: '>=6.0.0' + eslint-import-resolver-node@0.3.9: resolution: {integrity: sha512-WFj2isz22JahUv+B788TlO3N6zL3nNJGU8CcZbPZvVEkBPaJdCV4vy5wyghty5ROFbCRnm132v8BScu5/1BQ8g==} - eslint-mdx@2.3.4: - resolution: {integrity: sha512-u4NszEUyoGtR7Q0A4qs0OymsEQdCO6yqWlTzDa9vGWsK7aMotdnW0hqifHTkf6lEtA2vHk2xlkWHTCrhYLyRbw==} - engines: {node: ^12.20.0 || ^14.18.0 || >=16.0.0} + eslint-mdx@3.1.5: + resolution: {integrity: sha512-ynztX0k7CQ3iDL7fDEIeg3g0O/d6QPv7IBI9fdYLhXp5fAp0fi8X22xF/D3+Pk0f90R27uwqa1clHpay6t0l8Q==} + engines: {node: '>=18.0.0'} peerDependencies: eslint: '>=8.0.0' @@ -5146,23 +5207,24 @@ packages: peerDependencies: eslint: ^3 || ^4 || ^5 || ^6 || ^7 || ^8 || ^9 - eslint-plugin-lodash@7.4.0: - resolution: {integrity: sha512-Tl83UwVXqe1OVeBRKUeWcfg6/pCW1GTRObbdnbEJgYwjxp5Q92MEWQaH9+dmzbRt6kvYU1Mp893E79nJiCSM8A==} - engines: {node: '>=10'} - peerDependencies: - eslint: '>=2' - eslint-plugin-markdown@3.0.1: resolution: {integrity: sha512-8rqoc148DWdGdmYF6WSQFT3uQ6PO7zXYgeBpHAOAakX/zpq+NvFYbDA/H7PYzHajwtmaOzAwfxyl++x0g1/N9A==} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} peerDependencies: eslint: ^6.0.0 || ^7.0.0 || ^8.0.0 - eslint-plugin-mdx@2.3.4: - resolution: {integrity: sha512-kr6tgaifKL+AVGYMtdYc2VCsIjfYQXuUCKz4rK58d2DpnPFHrmgXIOC7NcMvaEld+VOEpxBSCCnjnsf4IVCQGg==} - engines: {node: ^12.20.0 || ^14.18.0 || >=16.0.0} + eslint-plugin-mdx@3.1.5: + resolution: {integrity: sha512-lUE7tP7IrIRHU3gTtASDe5u4YM2SvQveYVJfuo82yn3MLh/B/v05FNySURCK4aIxIYF1QYo3IRemQG/lyQzpAg==} + engines: {node: '>=18.0.0'} + peerDependencies: + eslint: '>=8.0.0' + + eslint-plugin-package-json@0.10.4: + resolution: {integrity: sha512-dape6w9G7hCXDkoVWoPwrQjUK0V6636qAgUPewduXLH9RdEw/y4XGqCyvD5KujlMBQuagadMkxuGNluW0GC4vQ==} + engines: {node: '>=18'} peerDependencies: eslint: '>=8.0.0' + jsonc-eslint-parser: ^2.0.0 eslint-plugin-react-hooks@4.6.2: resolution: {integrity: sha512-QzliNJq4GinDBcD8gPB5v0wh6g8q3SUi6EFF0x8N/BL9PoVs0atuGc47ozMRyOWAKdwaZ5OnbOEa3WR+dSGKuQ==} @@ -5170,12 +5232,6 @@ packages: peerDependencies: eslint: ^3.0.0 || ^4.0.0 || ^5.0.0 || ^6.0.0 || ^7.0.0 || ^8.0.0-0 - eslint-plugin-react-query@1.3.0: - resolution: {integrity: sha512-Ndj124SHaB7htxR7Gw4q7PqiRUACjcrE+z0ejaHezGRi6zSEEnF9/aDPsMw0CBvTfRg6qVa6Crrjwdq6WKUF8Q==} - engines: {node: '>=12'} - peerDependencies: - eslint: '>=7.30' - eslint-plugin-react@7.37.2: resolution: {integrity: sha512-EsTAnj9fLVr/GZleBLFbj/sSuXeWmp1eXIN60ceYnZveqEaUCyW4X+Vh4WTdUhCkW4xutXYqTXCUSyqD4rB75w==} engines: {node: '>=4'} @@ -5188,26 +5244,21 @@ packages: peerDependencies: eslint: 5 - 9 - eslint-plugin-sort-imports-es6-autofix@0.6.0: - resolution: {integrity: sha512-2NVaBGF9NN+727Fyq+jJYihdIeegjXeUUrZED9Q8FVB8MsV3YQEyXG96GVnXqWt0pmn7xfCZOZf3uKnIhBrfeQ==} - peerDependencies: - eslint: '>=7.7.0' - eslint-plugin-sort-keys-fix@1.1.2: resolution: {integrity: sha512-DNPHFGCA0/hZIsfODbeLZqaGY/+q3vgtshF85r+YWDNCQ2apd9PNs/zL6ttKm0nD1IFwvxyg3YOTI7FHl4unrw==} engines: {node: '>=0.10.0'} - eslint-plugin-storybook@0.11.0: - resolution: {integrity: sha512-MvPJgF+ORwgK04a1CY5itO4pwdAOFIRqczlNEHL62+4Ocvj1d61GWRqIdeX1BNCKno6fdPC6TksUHCZMGsq26g==} + eslint-plugin-storybook@0.8.0: + resolution: {integrity: sha512-CZeVO5EzmPY7qghO2t64oaFM+8FTaD4uzOEjHKp516exyTKo+skKAL9GI3QALS2BXhyALJjNtwbmr1XinGE8bA==} engines: {node: '>= 18'} peerDependencies: eslint: '>=6' - eslint-plugin-testing-library@5.11.1: - resolution: {integrity: sha512-5eX9e1Kc2PqVRed3taaLnAAqPZGEX75C+M/rXzUAI3wIg/ZxzUm1OVAwfe/O+vE+6YXOLetSe9g5GKD2ecXipw==} + eslint-plugin-testing-library@6.4.0: + resolution: {integrity: sha512-yeWF+YgCgvNyPNI9UKnG0FjeE2sk93N/3lsKqcmR8dSfeXJwFT5irnWo7NjLf152HkRzfoFjh3LsBUrhvFz4eA==} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0, npm: '>=6'} peerDependencies: - eslint: ^7.5.0 || ^8.0.0 + eslint: ^7.5.0 || ^8.0.0 || ^9.0.0 eslint-plugin-typescript-sort-keys@3.3.0: resolution: {integrity: sha512-bRW3Rc/VNdrSP9OoY5wgjjaXCOOkZKpzvl/Mk6l8Sg8CMehVIcg9K4y33l+ZcZiknpl0aR6rKusxuCJNGZWmVw==} @@ -5217,6 +5268,12 @@ packages: eslint: ^7 || ^8 typescript: ^3 || ^4 || ^5 + eslint-plugin-yml@1.15.0: + resolution: {integrity: sha512-leC8APYVOsKyWUlvRwVhewytK5wS70BfMqIaUplFstRfzCoVp0YoEroV4cUEvQrBj93tQ3M9LcjO/ewr6D4kjA==} + engines: {node: ^14.17.0 || >=16.0.0} + peerDependencies: + eslint: '>=6.0.0' + eslint-scope@5.1.1: resolution: {integrity: sha512-2NxwbF/hZ0KpepYN0cNbo+FN6XoK7GaHlQhgx/hIZl6Va0bF45RQOOwhLIy8lQDbuCiadSLCBnH2CFYquit5bw==} engines: {node: '>=8.0.0'} @@ -5272,11 +5329,11 @@ packages: resolution: {integrity: sha512-MMdARuVEQziNTeJD8DgMqmhwR11BRQ/cBP+pLtYdSTnf3MIO8fFeiINEbX36ZdNlfU/7A9f3gUw49B3oQsvwBA==} engines: {node: '>=4.0'} - estree-util-is-identifier-name@2.1.0: - resolution: {integrity: sha512-bEN9VHRyXAUOjkKVQVvArFym08BTWB0aJPppZZr0UNyAqWsLaVfAqP7hbaTJjzHifmB5ebnR8Wm7r7yGN/HonQ==} + estree-util-is-identifier-name@3.0.0: + resolution: {integrity: sha512-hFtqIDZTIUZ9BXLb8y4pYGyk6+wekIivNVTcmvk8NoOh+VeRn5y6cEHzbURrWbfp1fIqdVipilzj+lfaadNZmg==} - estree-util-visit@1.2.1: - resolution: {integrity: sha512-xbgqcrkIVbIG+lI/gzbvd9SGTJL4zqJKBFttUl5pP27KhAjtMKbX/mQXJ7qgyXpMgVy/zvpm0xoQQaGL8OloOw==} + estree-util-visit@2.0.0: + resolution: {integrity: sha512-m5KgiH85xAhhW8Wta0vShLcUvOsh3LLPI2YVwcbio1l7E09NTLL1EyMZFM1OyWowoH0skScNbhOPl4kcBgzTww==} estree-walker@0.6.1: resolution: {integrity: sha512-SqmZANLWS0mnatqbSfRP5g8OXZC12Fgg1IwNtLsyHDzJizORW4khDfjPqJZsemPWBB2uqykUah5YpQ6epsqC/w==} @@ -5413,9 +5470,6 @@ packages: fastq@1.17.1: resolution: {integrity: sha512-sRVD3lWVIXWg6By68ZN7vho9a1pQcN/WBFaAAsDDFzlJjvoGx0P8z7V1t72grFJfJhu3YPZBuu25f7Kaw2jN1w==} - fault@2.0.1: - resolution: {integrity: sha512-WtySTkS4OKev5JtpHXnib4Gxiurzh5NCGvWrFaZ34m6JehfTUhKZvn9njTfw48t6JumVQOmrKqpmGcdwxnhqBQ==} - fb-watchman@2.0.2: resolution: {integrity: sha512-p5161BqbuCaSnB8jIbzQHOlpgsPmK5rJVDfDKO91Axs5NC1uu3HRQm6wt9cd9/+GtQQIO53JdGXXoyDpTAsgYA==} @@ -5453,6 +5507,10 @@ packages: resolution: {integrity: sha512-7Gps/XWymbLk2QLYK4NzpMOrYjMhdIxXuIvy2QBsLE6ljuodKvdkWs/cpyJJ3CVIVpH0Oi1Hvg1ovbMzLdFBBg==} engines: {node: ^10.12.0 || >=12.0.0} + file-entry-cache@9.1.0: + resolution: {integrity: sha512-/pqPFG+FdxWQj+/WSuzXSDaNzxgTLr/OrR1QuqfEZzDakpdYE70PwUxL7BPUa8hpjbvY1+qvCl8k+8Tq34xJgg==} + engines: {node: '>=18'} + file-size@0.0.5: resolution: {integrity: sha512-ZW056dw8Ta1RWHVOQue3LMZe+mSOnHkcM7AN9is8JoHSIHRiLD5szwPAHM3fM7P5SGJ1bkAmCv3PvUTGoluDqA==} @@ -5546,6 +5604,10 @@ packages: resolution: {integrity: sha512-CYcENa+FtcUKLmhhqyctpclsq7QF38pKjZHsGNiSQF5r4FtoKDWabFDl3hzaEQMvT1LHEysw5twgLvpYYb4vbw==} engines: {node: ^10.12.0 || >=12.0.0} + flat-cache@5.0.0: + resolution: {integrity: sha512-JrqFmyUl2PnPi1OvLyTVHnQvwQ0S+e6lGSwu8OkAZlSaNIZciTY2H/cOOROxsBA1m/LZNHDsqAgDZt6akWcjsQ==} + engines: {node: '>=18'} + flatted@3.3.1: resolution: {integrity: sha512-X8cqMLLie7KsNUDSdzeN8FYK9rEt4Dt67OsG/DNGnYTSDBG4uFAJFBnUeiV+zCVAvwFy56IjM9sH51jVaEhNxw==} @@ -5601,10 +5663,6 @@ packages: resolution: {integrity: sha512-tzN8e4TX8+kkxGPK8D5u0FNmjPUjw3lwC9lSLxxoB/+GtsJG91CO8bSWy73APlgAZzZbXEYZJuxjkHH2w+Ezhw==} engines: {node: '>= 6'} - format@0.2.2: - resolution: {integrity: sha512-wzsgA6WOq+09wrU1tsJ09udeR/YZRaeArL9e1wPbFg3GG2yDnC2ldKpxs4xunpFF9DgqCqOIra3bc1HWrJ37Ww==} - engines: {node: '>=0.4.x'} - formdata-polyfill@4.0.10: resolution: {integrity: sha512-buewHzMvYL29jdeQTVILecSaZKnt/RJWjoZCF5OW60Z67/GmSLBkOFM7qh1PI3zFNtJbaZL5eQu1vLfazOwj4g==} engines: {node: '>=12.20.0'} @@ -5764,6 +5822,9 @@ packages: resolution: {integrity: sha512-xcX1uaOVDvsm+io4bvJfBFpQCLfoI3DsFay2GBMUtEnNInbNFFZqxTh7X0WIorCDtOmtos5atp2BGHAGEzmlAg==} engines: {node: ^12.20.0 || ^14.14.0 || >=16.0.0} + git-hooks-list@1.0.3: + resolution: {integrity: sha512-Y7wLWcrLUXwk2noSka166byGCvhMtDRpgHdzCno1UQv/n/Hegp++a2xBWJL1lJarnKD3SWaljD+0z1ztqxuKyQ==} + git-repo-info@2.1.1: resolution: {integrity: sha512-8aCohiDo4jwjOwma4FmYFd3i97urZulL8XL24nIPxuE+GZnfsAyy/g2Shqx6OjUiFKUXZM+Yy+KHnOmmA3FVcg==} engines: {node: '>= 4.0'} @@ -5795,10 +5856,6 @@ packages: resolution: {integrity: sha512-7Bv8RF0k6xjo7d4A/PxYLbUCfb6c+Vpd2/mB2yRDlew7Jb5hEXiCD9ibfO7wpk8i4sevK6DFny9h7EYbM3/sHg==} hasBin: true - glob@7.1.7: - resolution: {integrity: sha512-OvD9ENzPLbegENnYP5UUfJIirTg4+XwMWGaQfQTY0JenxNvvIKP3U3/tAQSPIu/lHxXYSZmpXlUHeqAIdKzBLQ==} - deprecated: Glob versions prior to v9 are no longer supported - glob@7.2.3: resolution: {integrity: sha512-nFR0zLpU2YCaRxwoCJvL6UvCH2JFyFVIvwTLsIf21AuHlMskA1hhTdk+LlYJtOlYt9v6dvszD2BGRqBL+iQK9Q==} deprecated: Glob versions prior to v9 are no longer supported @@ -5844,6 +5901,10 @@ packages: resolution: {integrity: sha512-DpLKbNU4WylpxJykQujfCcwYWiV/Jhm50Goo0wrVILAv5jOr9d+H+UR3PhSCD2rCCEIg0uc+G+muBTwD54JhDQ==} engines: {node: '>= 0.4'} + globby@10.0.0: + resolution: {integrity: sha512-3LifW9M4joGZasyYPz2A1U74zbC/45fvpXUvO/9KbSa+VV0aGZarWkfdgKyR9sExNP0t0x0ss/UMJpNpcaTspw==} + engines: {node: '>=8'} + globby@11.1.0: resolution: {integrity: sha512-jhIXaOzy1sb8IyocaruWSn1TjmnBVs8Ayhcy83rmxNJ8q2uWKCAj3CnJY+KpGSXCueAPc0i05kVvVKtP1t9S3g==} engines: {node: '>=10'} @@ -5999,6 +6060,10 @@ packages: resolution: {integrity: sha512-kyCuEOWjJqZuDbRHzL8V93NzQhwIB71oFWSyzVo+KPZI+pnQPPxucdkrOZvkLRnrf5URsQM+IJ09Dw29cRALIA==} engines: {node: '>=10'} + hosted-git-info@7.0.2: + resolution: {integrity: sha512-puUZAUKT5m8Zzvs72XWy3HtvVbTWljRE66cP60bxJzAqf2DgICo7lYTY2IHUmLnNpjYvw5bvmoHvPc0QO2a62w==} + engines: {node: ^16.14.0 || >=18.0.0} + html-encoding-sniffer@3.0.0: resolution: {integrity: sha512-oWv4T4yJ52iKrufjnyZPkrN0CH3QnrUqdB6In1g5Fe1mia8GmF36gnfNySxoZtxD5+NmYw1EElVXiBk93UeskA==} engines: {node: '>=12'} @@ -6114,6 +6179,10 @@ packages: resolution: {integrity: sha512-hsBTNUqQTDwkWtcdYI2i06Y/nUBEsNEDJKjWdigLvegy8kDuJAS8uRlpkkcQpyEXL0Z/pjDy5HBmMjRCJ2gq+g==} engines: {node: '>= 4'} + ignore@6.0.2: + resolution: {integrity: sha512-InwqeHHN2XpumIkMvpl/DCJVrAHgCsG5+cn1XlnLWGwtZBm8QJfSusItfrwx81CTp5agNZqpKU2J/ccC5nGT4A==} + engines: {node: '>= 4'} + import-fresh@3.3.0: resolution: {integrity: sha512-veYYhQa+D1QBKznvhUHxb8faxlrwUnxseDAbAp457E0wLNio2bOSKnjYDhMj+YiAq61xrMGhQk9iXVk5FzgQMw==} engines: {node: '>=6'} @@ -6122,17 +6191,13 @@ packages: resolution: {integrity: sha512-m7ZEHgtw69qOGw+jwxXkHlrlIPdTGkyh66zXZ1ajZbxkDBNjSY/LGbmjc7h0s2ELsUDTAhFr55TrPSSqJGPG0A==} engines: {node: '>=4'} - import-lazy@4.0.0: - resolution: {integrity: sha512-rKtvo6a868b5Hu3heneU+L4yEQ4jYKLtjpnPeUdK7h0yzXGmyBTypknlkCvHFBqfX9YlorEiMM6Dnq/5atfHkw==} - engines: {node: '>=8'} - import-local@3.2.0: resolution: {integrity: sha512-2SPlun1JUPWoM6t3F0dw0FkCF/jWY8kttcY4f599GLTSjh2OCuuhdTkJQsEcZzBqbXZGKMK2OqW1oZsjtf/gQA==} engines: {node: '>=8'} hasBin: true - import-meta-resolve@2.2.2: - resolution: {integrity: sha512-f8KcQ1D80V7RnqVm+/lirO9zkOxjGxhaTC1IPrBGd3MEfNgmNG67tSUO9gTi2F3Blr2Az6g1vocaxzkVnWl9MA==} + import-meta-resolve@4.1.0: + resolution: {integrity: sha512-I6fiaX09Xivtk+THaMfAwnA3MVA5Big1WHF1Dfx9hFuvNIWpXnorlkzhcQf6ehrqQiiZECRt1poOAkPmer3ruw==} imurmurhash@0.1.4: resolution: {integrity: sha512-JmXMZ6wuvDmLiHEml9ykzqO6lwFbof0GG4IkcGaENdCRDDmMVnny7s5HsIgHCbaq0w2MyPhDqkhTUgS2LU2PHA==} @@ -6252,10 +6317,6 @@ packages: is-buffer@1.1.6: resolution: {integrity: sha512-NcdALwpXkTm5Zvvbk7owOUSvVvBKDgKP5/ewfXEznmQFfs4ZRmanOeKBTjRVjka3QFoN6XJ+9F3USqfHqTaU5w==} - is-buffer@2.0.5: - resolution: {integrity: sha512-i2R6zNFDwgEHJyQUtJEk0XFi1i0dPFn/oqjK3/vPCcDeJvW5NQ83V8QbicfF1SupOaB0h8ntgBC2YiE7dfyctQ==} - engines: {node: '>=4'} - is-builtin-module@3.2.1: resolution: {integrity: sha512-BSLE3HnV2syZ0FK0iMA/yUGplUeMmNz4AW5fnTunbCIqZi4vG3WjJT9FHMy5D69xmAYBHXQhJdALdpwVxV501A==} engines: {node: '>=6'} @@ -6560,6 +6621,10 @@ packages: isexe@2.0.0: resolution: {integrity: sha512-RHxMLp9lnKHGHRng9QFhRCMbYAcVpn69smSGcq3f36xjgVVWThj4qqLbTLlq7Ssj8B+fIQ1EuCEGI2lKsyQeIw==} + isexe@3.1.1: + resolution: {integrity: sha512-LpB/54B+/2J5hqQ7imZHfdU31OlgQqx7ZicVlkm9kzg9/w8GKLEcFfJl/t7DCEDueOyBAD6zCCwTO6Fzs0NoEQ==} + engines: {node: '>=16'} + isobject@2.1.0: resolution: {integrity: sha512-+OUdGJlgjOBZDfxnDjYYG6zp487z0JGNQq3cYQYg5f5hKR+syHMsaztzGeml/4kGG55CSpKSpWTY+jYGgsHLgA==} engines: {node: '>=0.10.0'} @@ -6876,6 +6941,10 @@ packages: engines: {node: '>=6'} hasBin: true + jsonc-eslint-parser@2.4.0: + resolution: {integrity: sha512-WYDyuc/uFcGp6YtM2H0uKmUwieOuzeE/5YocFJLnLfclZ4inf3mRn8ZVy1s7Hxji7Jxm6Ss8gqpexD/GlKoGgg==} + engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} + jsonc-parser@3.3.1: resolution: {integrity: sha512-HUgH65KyejrUFPvHFPbqOY0rsFip3Bo5wb4ngvdi1EpCYWUQDC5V+Y7mZws+DLkr4M//zQJoanu1SP+87Dv1oQ==} @@ -6933,8 +7002,8 @@ packages: resolution: {integrity: sha512-o+NO+8WrRiQEE4/7nwRJhN1HWpVmJm511pBHUxPLtp0BUISzlBplORYSmTclCnJvQq2tKu/sgl3xVpkc7ZWuQQ==} engines: {node: '>=6'} - known-css-properties@0.26.0: - resolution: {integrity: sha512-5FZRzrZzNTBruuurWpvZnvP9pum+fe0HcK8z/ooo+U+Hmp4vtbyp1/QDsqmufirXy4egGzbaH/y2uCZf+6W5Kg==} + known-css-properties@0.34.0: + resolution: {integrity: sha512-tBECoUqNFbyAY4RrbqsBQqDFpGXAEbdD5QKr8kACx3+rnArmuuR22nKQWKazvp07N9yjTyDZaw/20UIH8tL9DQ==} kuler@2.0.0: resolution: {integrity: sha512-Xq9nH7KlWZmXAtodXDDRE7vs6DU1gTU8zYDHDiWLSip45Egwq3plLHzPn27NgvzL2r1LMPC1vdqh98sQxtqj4A==} @@ -6992,8 +7061,8 @@ packages: resolution: {integrity: sha512-RmAl7su35BFd/xoMamRjpIE4j3v+L28o8CT5YhAXQJm1fD+1l9ngXY8JAQRJ+tFK2i5njvi0iRUKV09vPwA0iA==} engines: {node: '>=6'} - load-plugin@5.1.0: - resolution: {integrity: sha512-Lg1CZa1CFj2CbNaxijTL6PCbzd4qGTlZov+iH2p5Xwy/ApcZJh+i6jMN2cYePouTfjJfrNu3nXFdEw8LvbjPFQ==} + load-plugin@6.0.3: + resolution: {integrity: sha512-kc0X2FEUZr145odl68frm+lMJuQ23+rTXYmR6TImqPtbpmXC4vVXbWKDQ9IzndA0HfyQamWfKLhzsqGSTxE63w==} loader-runner@4.3.0: resolution: {integrity: sha512-3R/1M+yS3j5ou80Me59j7F9IMs4PXs3VqRrm0TU3AbKPxlmpoY1TNscJV/oGJXo8qCatFGTfDbY6W6ipGOYXfg==} @@ -7219,9 +7288,6 @@ packages: mdast-util-from-markdown@0.8.5: resolution: {integrity: sha512-2hkTXtYYnr+NubD/g6KGBS/0mFmBcifAsI0yIWRiRo0PjVs6SSOSOdtzbp6kSGnShDN6G5aWZpKQ2lWRy27mWQ==} - mdast-util-from-markdown@1.3.1: - resolution: {integrity: sha512-4xTO/M8c82qBcnQc1tgpNtubGUW/Y1tBQ1B0i5CtSoelOLKFYlElIr3bvgREYYO5iRqbMY1YuqZng0GVOI8Qww==} - mdast-util-from-markdown@2.0.2: resolution: {integrity: sha512-uZhTV/8NBuw0WHkPTrCqDOl0zVe1BIng5ZtHoDk49ME1qqcjYmmLmOf0gELgcRMxN4w2iuIeVso5/6QymSrgmA==} @@ -7243,36 +7309,27 @@ packages: mdast-util-gfm@3.0.0: resolution: {integrity: sha512-dgQEX5Amaq+DuUqf26jJqSK9qgixgd6rYDHAv4aTBuA92cTknZlKpPfa86Z/s8Dj8xsAQpFfBmPUHWJBWqS4Bw==} - mdast-util-mdx-expression@1.3.2: - resolution: {integrity: sha512-xIPmR5ReJDu/DHH1OoIT1HkuybIfRGYRywC+gJtI7qHjCJp/M9jrmBEJW22O8lskDWm562BX2W8TiAwRTb0rKA==} - - mdast-util-mdx-jsx@2.1.4: - resolution: {integrity: sha512-DtMn9CmVhVzZx3f+optVDF8yFgQVt7FghCRNdlIaS3X5Bnym3hZwPbg/XW86vdpKjlc1PVj26SpnLGeJBXD3JA==} + mdast-util-mdx-expression@2.0.1: + resolution: {integrity: sha512-J6f+9hUp+ldTZqKRSg7Vw5V6MqjATc+3E4gf3CFNcuZNWD8XdyI6zQ8GqH7f8169MM6P7hMBRDVGnn7oHB9kXQ==} - mdast-util-mdx@2.0.1: - resolution: {integrity: sha512-38w5y+r8nyKlGvNjSEqWrhG0w5PmnRA+wnBvm+ulYCct7nsGYhFVb0lljS9bQav4psDAS1eGkP2LMVcZBi/aqw==} + mdast-util-mdx-jsx@3.1.3: + resolution: {integrity: sha512-bfOjvNt+1AcbPLTFMFWY149nJz0OjmewJs3LQQ5pIyVGxP4CdOqNVJL6kTaM5c68p8q82Xv3nCyFfUnuEcH3UQ==} - mdast-util-mdxjs-esm@1.3.1: - resolution: {integrity: sha512-SXqglS0HrEvSdUEfoXFtcg7DRl7S2cwOXc7jkuusG472Mmjag34DUDeOJUZtl+BVnyeO1frIgVpHlNRWc2gk/w==} + mdast-util-mdx@3.0.0: + resolution: {integrity: sha512-JfbYLAW7XnYTTbUsmpu0kdBUVe+yKVJZBItEjwyYJiDJuZ9w4eeaqks4HQO+R7objWgS2ymV60GYpI14Ug554w==} - mdast-util-phrasing@3.0.1: - resolution: {integrity: sha512-WmI1gTXUBJo4/ZmSk79Wcb2HcjPJBzM1nlI/OUWA8yk2X9ik3ffNbBGsU+09BFmXaL1IBb9fiuvq6/KMiNycSg==} + mdast-util-mdxjs-esm@2.0.1: + resolution: {integrity: sha512-EcmOpxsZ96CvlP03NghtH1EsLtr0n9Tm4lPUJUBccV9RwUOneqSycg19n5HGzCf+10LozMRSObtVr3ee1WoHtg==} mdast-util-phrasing@4.1.0: resolution: {integrity: sha512-TqICwyvJJpBwvGAMZjj4J2n0X8QWp21b9l0o7eXyVJ25YNWYbJDVIyD1bZXE6WtV6RmKJVYmQAKWa0zWOABz2w==} - mdast-util-to-markdown@1.5.0: - resolution: {integrity: sha512-bbv7TPv/WC49thZPg3jXuqzuvI45IL2EVAr/KxF0BSdHsU0ceFHOmwQn6evxAh1GaoK/6GQ1wp4R4oW2+LFL/A==} - mdast-util-to-markdown@2.1.2: resolution: {integrity: sha512-xj68wMTvGXVOKonmog6LwyJKrYXZPvlwabaryTjLh9LuvovB/KAH+kvi8Gjj+7rJjsFi23nkUxRQv1KqSroMqA==} mdast-util-to-string@2.0.0: resolution: {integrity: sha512-AW4DRS3QbBayY/jJmD8437V1Gombjf8RSOUCMFBuo5iHi58AGEgVCKQ+ezHkZZDpAQS75hcBMpLqjpJTjtUL7w==} - mdast-util-to-string@3.2.0: - resolution: {integrity: sha512-V4Zn/ncyN1QNSqSBxTrMOLpjr+IKdHl2v3KVLoWmDPscP4r9GcCi71gjgvUV1SFSKh92AjAG4peFuBl2/YgCJg==} - mdast-util-to-string@4.0.0: resolution: {integrity: sha512-0H44vDimn51F0YwvxSJSm0eCDOJTRlmN0R1yBh4HLj9wiV1Dn0QoXGbvFAWj2hSItVTlCmBF1hqKlIyUBVFLPg==} @@ -7282,6 +7339,9 @@ packages: mdn-data@2.0.30: resolution: {integrity: sha512-GaqWWShW4kv/G9IEucWScBx9G1/vsFZZJUO+tD26M8J8z3Kw5RDQjaoZe03YAClgeS/SWPOcb4nkFBTEi5DUEA==} + mdn-data@2.12.1: + resolution: {integrity: sha512-rsfnCbOHjqrhWxwt5/wtSLzpoKTzW7OXdT5lLOIH1OTYhWu9rRJveGq0sKvDZODABH7RX+uoR+DYcpFnq4Tf6Q==} + media-typer@0.3.0: resolution: {integrity: sha512-dq+qelQ9akHpcOl/gUVRTxVIOkAJ1wR3QAvb4RsVjS8oVoFjDGTc679wJYmUmknUF5HwMLOgb5O+a3KxfWapPQ==} engines: {node: '>= 0.6'} @@ -7296,6 +7356,10 @@ packages: memoizerific@1.11.3: resolution: {integrity: sha512-/EuHYwAPdLtXwAwSZkh/Gutery6pD2KYd44oQLhAvQp/50mpyduZh8Q7PYHXTCJ+wuXxt7oij2LXyIJOOYFPog==} + meow@13.2.0: + resolution: {integrity: sha512-pxQJQzB6djGPXh08dacEloMFopsOqGVRKFPYvPOt9XDZ1HasbgDZA74CJGreSU4G3Ak7EFJGoiH2auq+yXISgA==} + engines: {node: '>=18'} + meow@9.0.0: resolution: {integrity: sha512-+obSblOQmRhcyBt62furQqRAQpNyWXo8BuQ5bN7dG8wmwQ+vwHKp/rCFD4CrTP8CsDQD1sjoZ94K417XEUk8IQ==} engines: {node: '>=10'} @@ -7324,9 +7388,6 @@ packages: micro-memoize@4.1.2: resolution: {integrity: sha512-+HzcV2H+rbSJzApgkj0NdTakkC+bnyeiUxgT6/m7mjcz1CmM22KYFKp+EVj1sWe4UYcnriJr5uqHQD/gMHLD+g==} - micromark-core-commonmark@1.1.0: - resolution: {integrity: sha512-BgHO1aRbolh2hcrzL2d1La37V0Aoz73ymF8rAcKnohLy93titmv62E0gP8Hrx9PKcKrqCZ1BbLGbP3bEhoXYlw==} - micromark-core-commonmark@2.0.1: resolution: {integrity: sha512-CUQyKr1e///ZODyD1U3xit6zXwy1a8q2a1S1HKtIlmgvurrEpaw/Y9y6KSIbF8P59cn/NjzHyO+Q2fAyYLQrAA==} @@ -7351,147 +7412,87 @@ packages: micromark-extension-gfm@3.0.0: resolution: {integrity: sha512-vsKArQsicm7t0z2GugkCKtZehqUm31oeGBV/KVSorWSy8ZlNAv7ytjFhvaryUiCUJYqs+NoE6AFhpQvBTM6Q4w==} - micromark-extension-mdx-expression@1.0.8: - resolution: {integrity: sha512-zZpeQtc5wfWKdzDsHRBY003H2Smg+PUi2REhqgIhdzAa5xonhP03FcXxqFSerFiNUr5AWmHpaNPQTBVOS4lrXw==} + micromark-extension-mdx-expression@3.0.0: + resolution: {integrity: sha512-sI0nwhUDz97xyzqJAbHQhp5TfaxEvZZZ2JDqUo+7NvyIYG6BZ5CPPqj2ogUoPJlmXHBnyZUzISg9+oUmU6tUjQ==} - micromark-extension-mdx-jsx@1.0.5: - resolution: {integrity: sha512-gPH+9ZdmDflbu19Xkb8+gheqEDqkSpdCEubQyxuz/Hn8DOXiXvrXeikOoBA71+e8Pfi0/UYmU3wW3H58kr7akA==} + micromark-extension-mdx-jsx@3.0.1: + resolution: {integrity: sha512-vNuFb9czP8QCtAQcEJn0UJQJZA8Dk6DXKBqx+bg/w0WGuSxDxNr7hErW89tHUY31dUW4NqEOWwmEUNhjTFmHkg==} - micromark-extension-mdx-md@1.0.1: - resolution: {integrity: sha512-7MSuj2S7xjOQXAjjkbjBsHkMtb+mDGVW6uI2dBL9snOBCbZmoNgDAeZ0nSn9j3T42UE/g2xVNMn18PJxZvkBEA==} + micromark-extension-mdx-md@2.0.0: + resolution: {integrity: sha512-EpAiszsB3blw4Rpba7xTOUptcFeBFi+6PY8VnJ2hhimH+vCQDirWgsMpz7w1XcZE7LVrSAUGb9VJpG9ghlYvYQ==} - micromark-extension-mdxjs-esm@1.0.5: - resolution: {integrity: sha512-xNRBw4aoURcyz/S69B19WnZAkWJMxHMT5hE36GtDAyhoyn/8TuAeqjFJQlwk+MKQsUD7b3l7kFX+vlfVWgcX1w==} + micromark-extension-mdxjs-esm@3.0.0: + resolution: {integrity: sha512-DJFl4ZqkErRpq/dAPyeWp15tGrcrrJho1hKK5uBS70BCtfrIFg81sqcTVu3Ta+KD1Tk5vAtBNElWxtAa+m8K9A==} - micromark-extension-mdxjs@1.0.1: - resolution: {integrity: sha512-7YA7hF6i5eKOfFUzZ+0z6avRG52GpWR8DL+kN47y3f2KhxbBZMhmxe7auOeaTBrW2DenbbZTf1ea9tA2hDpC2Q==} - - micromark-factory-destination@1.1.0: - resolution: {integrity: sha512-XaNDROBgx9SgSChd69pjiGKbV+nfHGDPVYFs5dOoDd7ZnMAE+Cuu91BCpsY8RT2NP9vo/B8pds2VQNCLiu0zhg==} + micromark-extension-mdxjs@3.0.0: + resolution: {integrity: sha512-A873fJfhnJ2siZyUrJ31l34Uqwy4xIFmvPY1oj+Ean5PHcPBYzEsvqvWGaWcfEIr11O5Dlw3p2y0tZWpKHDejQ==} micromark-factory-destination@2.0.0: resolution: {integrity: sha512-j9DGrQLm/Uhl2tCzcbLhy5kXsgkHUrjJHg4fFAeoMRwJmJerT9aw4FEhIbZStWN8A3qMwOp1uzHr4UL8AInxtA==} - micromark-factory-label@1.1.0: - resolution: {integrity: sha512-OLtyez4vZo/1NjxGhcpDSbHQ+m0IIGnT8BoPamh+7jVlzLJBH98zzuCoUeMxvM6WsNeh8wx8cKvqLiPHEACn0w==} - micromark-factory-label@2.0.0: resolution: {integrity: sha512-RR3i96ohZGde//4WSe/dJsxOX6vxIg9TimLAS3i4EhBAFx8Sm5SmqVfR8E87DPSR31nEAjZfbt91OMZWcNgdZw==} - micromark-factory-mdx-expression@1.0.9: - resolution: {integrity: sha512-jGIWzSmNfdnkJq05c7b0+Wv0Kfz3NJ3N4cBjnbO4zjXIlxJr+f8lk+5ZmwFvqdAbUy2q6B5rCY//g0QAAaXDWA==} - - micromark-factory-space@1.1.0: - resolution: {integrity: sha512-cRzEj7c0OL4Mw2v6nwzttyOZe8XY/Z8G0rzmWQZTBi/jjwyw/U4uqKtUORXQrR5bAZZnbTI/feRV/R7hc4jQYQ==} + micromark-factory-mdx-expression@2.0.2: + resolution: {integrity: sha512-5E5I2pFzJyg2CtemqAbcyCktpHXuJbABnsb32wX2U8IQKhhVFBqkcZR5LRm1WVoFqa4kTueZK4abep7wdo9nrw==} micromark-factory-space@2.0.0: resolution: {integrity: sha512-TKr+LIDX2pkBJXFLzpyPyljzYK3MtmllMUMODTQJIUfDGncESaqB90db9IAUcz4AZAJFdd8U9zOp9ty1458rxg==} - micromark-factory-title@1.1.0: - resolution: {integrity: sha512-J7n9R3vMmgjDOCY8NPw55jiyaQnH5kBdV2/UXCtZIpnHH3P6nHUKaH7XXEYuWwx/xUJcawa8plLBEjMPU24HzQ==} - micromark-factory-title@2.0.0: resolution: {integrity: sha512-jY8CSxmpWLOxS+t8W+FG3Xigc0RDQA9bKMY/EwILvsesiRniiVMejYTE4wumNc2f4UbAa4WsHqe3J1QS1sli+A==} - micromark-factory-whitespace@1.1.0: - resolution: {integrity: sha512-v2WlmiymVSp5oMg+1Q0N1Lxmt6pMhIHD457whWM7/GUlEks1hI9xj5w3zbc4uuMKXGisksZk8DzP2UyGbGqNsQ==} - micromark-factory-whitespace@2.0.0: resolution: {integrity: sha512-28kbwaBjc5yAI1XadbdPYHX/eDnqaUFVikLwrO7FDnKG7lpgxnvk/XGRhX/PN0mOZ+dBSZ+LgunHS+6tYQAzhA==} - micromark-util-character@1.2.0: - resolution: {integrity: sha512-lXraTwcX3yH/vMDaFWCQJP1uIszLVebzUa3ZHdrgxr7KEU/9mL4mVgCpGbyhvNLNlauROiNUq7WN5u7ndbY6xg==} - micromark-util-character@2.1.0: resolution: {integrity: sha512-KvOVV+X1yLBfs9dCBSopq/+G1PcgT3lAK07mC4BzXi5E7ahzMAF8oIupDDJ6mievI6F+lAATkbQQlQixJfT3aQ==} - micromark-util-chunked@1.1.0: - resolution: {integrity: sha512-Ye01HXpkZPNcV6FiyoW2fGZDUw4Yc7vT0E9Sad83+bEDiCJ1uXu0S3mr8WLpsz3HaG3x2q0HM6CTuPdcZcluFQ==} - micromark-util-chunked@2.0.0: resolution: {integrity: sha512-anK8SWmNphkXdaKgz5hJvGa7l00qmcaUQoMYsBwDlSKFKjc6gjGXPDw3FNL3Nbwq5L8gE+RCbGqTw49FK5Qyvg==} - micromark-util-classify-character@1.1.0: - resolution: {integrity: sha512-SL0wLxtKSnklKSUplok1WQFoGhUdWYKggKUiqhX+Swala+BtptGCu5iPRc+xvzJ4PXE/hwM3FNXsfEVgoZsWbw==} - micromark-util-classify-character@2.0.0: resolution: {integrity: sha512-S0ze2R9GH+fu41FA7pbSqNWObo/kzwf8rN/+IGlW/4tC6oACOs8B++bh+i9bVyNnwCcuksbFwsBme5OCKXCwIw==} - micromark-util-combine-extensions@1.1.0: - resolution: {integrity: sha512-Q20sp4mfNf9yEqDL50WwuWZHUrCO4fEyeDCnMGmG5Pr0Cz15Uo7KBs6jq+dq0EgX4DPwwrh9m0X+zPV1ypFvUA==} - micromark-util-combine-extensions@2.0.0: resolution: {integrity: sha512-vZZio48k7ON0fVS3CUgFatWHoKbbLTK/rT7pzpJ4Bjp5JjkZeasRfrS9wsBdDJK2cJLHMckXZdzPSSr1B8a4oQ==} - micromark-util-decode-numeric-character-reference@1.1.0: - resolution: {integrity: sha512-m9V0ExGv0jB1OT21mrWcuf4QhP46pH1KkfWy9ZEezqHKAxkj4mPCy3nIH1rkbdMlChLHX531eOrymlwyZIf2iw==} - micromark-util-decode-numeric-character-reference@2.0.1: resolution: {integrity: sha512-bmkNc7z8Wn6kgjZmVHOX3SowGmVdhYS7yBpMnuMnPzDq/6xwVA604DuOXMZTO1lvq01g+Adfa0pE2UKGlxL1XQ==} - micromark-util-decode-string@1.1.0: - resolution: {integrity: sha512-YphLGCK8gM1tG1bd54azwyrQRjCFcmgj2S2GoJDNnh4vYtnL38JS8M4gpxzOPNyHdNEpheyWXCTnnTDY3N+NVQ==} - micromark-util-decode-string@2.0.0: resolution: {integrity: sha512-r4Sc6leeUTn3P6gk20aFMj2ntPwn6qpDZqWvYmAG6NgvFTIlj4WtrAudLi65qYoaGdXYViXYw2pkmn7QnIFasA==} - micromark-util-encode@1.1.0: - resolution: {integrity: sha512-EuEzTWSTAj9PA5GOAs992GzNh2dGQO52UvAbtSOMvXTxv3Criqb6IOzJUBCmEqrrXSblJIJBbFFv6zPxpreiJw==} - micromark-util-encode@2.0.0: resolution: {integrity: sha512-pS+ROfCXAGLWCOc8egcBvT0kf27GoWMqtdarNfDcjb6YLuV5cM3ioG45Ys2qOVqeqSbjaKg72vU+Wby3eddPsA==} - micromark-util-events-to-acorn@1.2.3: - resolution: {integrity: sha512-ij4X7Wuc4fED6UoLWkmo0xJQhsktfNh1J0m8g4PbIMPlx+ek/4YdW5mvbye8z/aZvAPUoxgXHrwVlXAPKMRp1w==} - - micromark-util-html-tag-name@1.2.0: - resolution: {integrity: sha512-VTQzcuQgFUD7yYztuQFKXT49KghjtETQ+Wv/zUjGSGBioZnkA4P1XXZPT1FHeJA6RwRXSF47yvJ1tsJdoxwO+Q==} + micromark-util-events-to-acorn@2.0.2: + resolution: {integrity: sha512-Fk+xmBrOv9QZnEDguL9OI9/NQQp6Hz4FuQ4YmCb/5V7+9eAh1s6AYSvL20kHkD67YIg7EpE54TiSlcsf3vyZgA==} micromark-util-html-tag-name@2.0.0: resolution: {integrity: sha512-xNn4Pqkj2puRhKdKTm8t1YHC/BAjx6CEwRFXntTaRf/x16aqka6ouVoutm+QdkISTlT7e2zU7U4ZdlDLJd2Mcw==} - micromark-util-normalize-identifier@1.1.0: - resolution: {integrity: sha512-N+w5vhqrBihhjdpM8+5Xsxy71QWqGn7HYNUvch71iV2PM7+E3uWGox1Qp90loa1ephtCxG2ftRV/Conitc6P2Q==} - micromark-util-normalize-identifier@2.0.0: resolution: {integrity: sha512-2xhYT0sfo85FMrUPtHcPo2rrp1lwbDEEzpx7jiH2xXJLqBuy4H0GgXk5ToU8IEwoROtXuL8ND0ttVa4rNqYK3w==} - micromark-util-resolve-all@1.1.0: - resolution: {integrity: sha512-b/G6BTMSg+bX+xVCshPTPyAu2tmA0E4X98NSR7eIbeC6ycCqCeE7wjfDIgzEbkzdEVJXRtOG4FbEm/uGbCRouA==} - micromark-util-resolve-all@2.0.0: resolution: {integrity: sha512-6KU6qO7DZ7GJkaCgwBNtplXCvGkJToU86ybBAUdavvgsCiG8lSSvYxr9MhwmQ+udpzywHsl4RpGJsYWG1pDOcA==} - micromark-util-sanitize-uri@1.2.0: - resolution: {integrity: sha512-QO4GXv0XZfWey4pYFndLUKEAktKkG5kZTdUNaTAkzbuJxn2tNBOr+QtxR2XpWaMhbImT2dPzyLrPXLlPhph34A==} - micromark-util-sanitize-uri@2.0.0: resolution: {integrity: sha512-WhYv5UEcZrbAtlsnPuChHUAsu/iBPOVaEVsntLBIdpibO0ddy8OzavZz3iL2xVvBZOpolujSliP65Kq0/7KIYw==} - micromark-util-subtokenize@1.1.0: - resolution: {integrity: sha512-kUQHyzRoxvZO2PuLzMt2P/dwVsTiivCK8icYTeR+3WgbuPqfHgPPy7nFKbeqRivBvn/3N3GBiNC+JRTMSxEC7A==} - micromark-util-subtokenize@2.0.1: resolution: {integrity: sha512-jZNtiFl/1aY73yS3UGQkutD0UbhTt68qnRpw2Pifmz5wV9h8gOVsN70v+Lq/f1rKaU/W8pxRe8y8Q9FX1AOe1Q==} - micromark-util-symbol@1.1.0: - resolution: {integrity: sha512-uEjpEYY6KMs1g7QfJ2eX1SQEV+ZT4rUD3UcF6l57acZvLNK7PBZL+ty82Z1qhK1/yXIY4bdx04FKMgR0g4IAag==} - micromark-util-symbol@2.0.0: resolution: {integrity: sha512-8JZt9ElZ5kyTnO94muPxIGS8oyElRJaiJO8EzV6ZSyGQ1Is8xwl4Q45qU5UOg+bGH4AikWziz0iN4sFLWs8PGw==} - micromark-util-types@1.1.0: - resolution: {integrity: sha512-ukRBgie8TIAcacscVHSiddHjO4k/q3pnedmzMQ4iwDcK0FtFCohKOlFbaOL/mPgfnPsL3C1ZyxJa4sbWrBl3jg==} - micromark-util-types@2.0.0: resolution: {integrity: sha512-oNh6S2WMHWRZrmutsRmDDfkzKtxF+bc2VxLC9dvtrDIRFln627VsFP6fLMgTryGDljgLPjkrzQSDcPrjPyDJ5w==} micromark@2.11.4: resolution: {integrity: sha512-+WoovN/ppKolQOFIAajxi7Lu9kInbPxFuTBVEavFcL8eAfVstoc5MocPmqBeAdBOJV00uaVjegzH4+MA0DN/uA==} - micromark@3.2.0: - resolution: {integrity: sha512-uD66tJj54JLYq0De10AhWycZWGQNUvDI55xPgk2sQM5kn1JYlhbCMTtEeT27+vAhW2FBQxLlOmS3pmA7/2z4aA==} - micromark@4.0.0: resolution: {integrity: sha512-o/sd0nMof8kYff+TqcDx3VSrgBTcZpSvYcAHIfHhv5VAuNmisCxjhx6YmxS8PFEpb9z5WKWKPdzf0jM23ro3RQ==} @@ -7571,6 +7572,9 @@ packages: resolution: {integrity: sha512-Q4r8ghd80yhO/0j1O3B2BjweX3fiHg9cdOwjJd2J76Q135c+NDxGCqdYKQ1SKBuFfgWbAUzBfvYjPUEeNgqN1A==} engines: {node: '>= 6'} + minimist@0.0.10: + resolution: {integrity: sha512-iotkTvxc+TwOm5Ieim8VnSNvCDjCK9S8G3scJ50ZthspSxa7jx50jkhYduuAtAjvfDUwSgOwf8+If99AlOEhyw==} + minimist@1.2.8: resolution: {integrity: sha512-2yyAR8qBkN3YuheJanUpWC5U3bb5osDywNB8RzDVlDwDHbocAJveqqj1u8+SVD7jkWT4yvsHCpWqqWqAxb0zCA==} @@ -7786,6 +7790,10 @@ packages: resolution: {integrity: sha512-p2W1sgqij3zMMyRC067Dg16bfzVH+w7hyegmpIvZ4JNjqtGOVAIvLmjBx3yP7YTe9vKJgkoNOPjwQGogDoMXFA==} engines: {node: '>=10'} + normalize-package-data@6.0.2: + resolution: {integrity: sha512-V6gygoYb/5EmNI+MEGrWkC+e6+Rr7mTmfHrxDbLzxQogBkgzo76rkok0Am6thgSF7Mv2nLOajAJj5vDJZEFn7g==} + engines: {node: ^16.14.0 || >=18.0.0} + normalize-path@2.1.1: resolution: {integrity: sha512-3pKJwH184Xo/lnH6oyP1q2pMd7HcypqqmRs91/6/i2CGtWwIKGCkOOMTm/zXbgTEWHw1uNpNi/igc3ePOYHb6w==} engines: {node: '>=0.10.0'} @@ -7809,6 +7817,10 @@ packages: npm-bundled@1.1.2: resolution: {integrity: sha512-x5DHup0SuyQcmL3s7Rx/YQ8sbw/Hzg0rj48eN0dV7hf5cmQq5PXIeioroH3raV1QC1yh3uTYuMThvEQF3iKgGQ==} + npm-install-checks@6.3.0: + resolution: {integrity: sha512-W29RiK/xtpCGqn6f3ixfRYGk+zRyr+Ew9F2E20BfXxT5/euLdA/Nm7fO7OeTGuAmTs30cpgInyJ0cYe708YTZw==} + engines: {node: ^14.17.0 || ^16.13.0 || >=18.0.0} + npm-normalize-package-bin@1.0.1: resolution: {integrity: sha512-EPfafl6JL5/rU+ot6P3gRSCpPDW5VmIzX959Ob1+ySFUuuYHWHekXpwdUZcKP5C+DS4GEtdJluwBjnsNDl+fSA==} @@ -7816,9 +7828,17 @@ packages: resolution: {integrity: sha512-dMxCf+zZ+3zeQZXKxmyuCKlIDPGuv8EF940xbkC4kQVDTtqoh6rJFO+JTKSA6/Rwi0getWmtuy4Itup0AMcaDQ==} engines: {node: ^14.17.0 || ^16.13.0 || >=18.0.0} + npm-package-arg@11.0.3: + resolution: {integrity: sha512-sHGJy8sOC1YraBywpzQlIKBE4pBbGbiF95U6Auspzyem956E0+FtDtsx1ZxlOJkQCZ1AFXAY/yuvtFYrOxF+Bw==} + engines: {node: ^16.14.0 || >=18.0.0} + npm-packlist@1.4.8: resolution: {integrity: sha512-5+AZgwru5IevF5ZdnFglB5wNlHG1AOOuw28WhUq8/8emhBmLv6jX5by4WJCh7lW0uSYZYS6DXqIsyZVIXRZU9A==} + npm-pick-manifest@9.1.0: + resolution: {integrity: sha512-nkc+3pIIhqHVQr085X9d2JzPzLyjzQS96zbruppqC9aZRm/x8xx6xhI98gHtsfELP2bE+loHq8ZaHFHhe+NauA==} + engines: {node: ^16.14.0 || >=18.0.0} + npm-run-path@4.0.1: resolution: {integrity: sha512-S48WzZW777zhNIrn7gxOlISNAqi9ZC/uQFnRdbeIHhZhCA6UqpkOT8T1G7BvfdgP4Er8gF4sUbaS0i7QvIfCWw==} engines: {node: '>=8'} @@ -7934,6 +7954,9 @@ packages: resolution: {integrity: sha512-PqHpggC9bLV0VeWcdKhkpxY+3JTzetLSqTCWL/z/tFIbI6G8JCjondXklT1JinczLz2Xib62sSp0T/gKT4KksA==} engines: {node: '>=4'} + optimist@0.6.1: + resolution: {integrity: sha512-snN4O4TkigujZphWLN0E//nQmm7790RYaE53DdL7ZYwee2D8DDo9/EyYiKUfN3rneWUjhJnueija3G9I2i0h3g==} + optionator@0.9.4: resolution: {integrity: sha512-6IpQ7mKUxRcZNLIObR0hz7lxsapSSIYNZJwXPGeF0mTVqGKFIXj1DQcMoT22S3ROcLyY/rz0PWaWZ9ayWmad9g==} engines: {node: '>= 0.8.0'} @@ -8084,6 +8107,10 @@ packages: package-json-from-dist@1.0.1: resolution: {integrity: sha512-UEZIS3/by4OC8vL3P2dTXRETpebLI2NiI5vIrjaD/5UtrkFX/tNbwjTSRAGC/+7CAo2pIcBaRgWmcBBHcsaCIw==} + package-json-validator@0.6.8: + resolution: {integrity: sha512-fW+v2yRdvb0bfi+wE/rKxbTy2J8dTt4USDL+626+acJJf1ZKMkxb9qptKNjXEDJtNdE0pHl2SzBllWBDpSUFig==} + engines: {node: '>=18'} + package-json@6.5.0: resolution: {integrity: sha512-k3bdm2n25tkyxcjSKzB5x8kfVxlMdgsbPr0GkZcwHsLpba6cBjqCt1KlcChKEvxHIcTB1FVMuwoijZ26xex5MQ==} engines: {node: '>=8'} @@ -8120,9 +8147,9 @@ packages: resolution: {integrity: sha512-ayCKvm/phCGxOkYRSCM82iDwct8/EonSEgCSxWxD7ve6jHggsFl4fZVQBPRNgQoKiuV/odhFrGzQXZwbifC8Rg==} engines: {node: '>=8'} - parse-json@6.0.2: - resolution: {integrity: sha512-SA5aMiaIjXkAiBrW/yPgLgQAQg42f7K3ACO+2l/zOvtQBwX58DMUsFJXelW2fx3yMBmWOVkR6j1MGsdSbCA4UA==} - engines: {node: ^12.20.0 || ^14.13.1 || >=16.0.0} + parse-json@7.1.1: + resolution: {integrity: sha512-SgOTCX/EZXtZxBE5eJ97P4yGM5n37BwRU+YMsH4vNzFqJV/oWFXXCmwFlgWUM4PrakybVOueJJ6pwHqSVhTFDw==} + engines: {node: '>=16'} parse-ms@2.1.0: resolution: {integrity: sha512-kHt7kzLoS9VBZfUsiKjv43mr91ea+U05EyKkEtqp7vNbHxmaVuEqN7XxeEVnGrMtYOAxGrDElSi96K7EgO1zCA==} @@ -8272,9 +8299,6 @@ packages: resolution: {integrity: sha512-d7Uw+eZoloe0EHDIYoe+bQ5WXnGMOpmiZFTuMWCwpjzzkL2nTjcKiAk4hh8TjnGye2TwWOk3UXucZ+3rbmBa8Q==} engines: {node: '>= 0.4'} - postcss-media-query-parser@0.2.3: - resolution: {integrity: sha512-3sOlxmbKcSHMjlUXQZKQ06jOswE7oVkXPxmZdoB1r5l0q6gTFTQSHxNxOrCccElbW7dxNytifNEo8qidX2Vsig==} - postcss-modules-extract-imports@3.1.0: resolution: {integrity: sha512-k3kNe0aNFQDAZGbin48pL2VNidTF0w4/eASDsxlyspobzU3wZQLOGj7L9gfRe0Jo9/4uud09DsjFNH7winGv8Q==} engines: {node: ^10 || ^12 || >= 14} @@ -8302,11 +8326,11 @@ packages: postcss-resolve-nested-selector@0.1.6: resolution: {integrity: sha512-0sglIs9Wmkzbr8lQwEyIzlDOOC9bGmfVKcJTaxv3vMmd3uo4o4DerC3En0bnmgceeql9BfC8hRkp7cg0fjdVqw==} - postcss-safe-parser@6.0.0: - resolution: {integrity: sha512-FARHN8pwH+WiS2OPCxJI8FuRJpTVnn6ZNFiqAM2aeW2LwTHWWmWgIyKC6cUo0L8aeKiF/14MNvnpls6R2PBeMQ==} - engines: {node: '>=12.0'} + postcss-safe-parser@7.0.1: + resolution: {integrity: sha512-0AioNCJZ2DPYz5ABT6bddIqlhgwhpHZ/l65YAYo0BCIn0xiDpsnTHz0gnoTGk0OXZW0JRs+cDwL8u/teRdz+8A==} + engines: {node: '>=18.0'} peerDependencies: - postcss: ^8.3.3 + postcss: ^8.4.31 postcss-selector-parser@6.1.2: resolution: {integrity: sha512-Q8qQfPiZ+THO/3ZrOrO0cJJKfpYCagtMUkXbnEfmgUjwXg6z/WBeOyS9APBBPCTSiDV+s4SwQGu8yFsiMRIudg==} @@ -8351,16 +8375,20 @@ packages: resolution: {integrity: sha512-ravE6m9Atw9Z/jjttRUZ+clIXogdghyZAuWJ3qEzjT+jI/dL1ifAqhZeC5VHzQp1MSt1+jxKkFNemj/iO7tVUA==} engines: {node: '>=4'} - prettier@2.5.1: - resolution: {integrity: sha512-vBZcPRUR5MZJwoyi3ZoyQlc1rXeEck8KgeC9AwwOn+exuxLxq5toTRDTSaVrXHxelDMHy9zlicw8u66yxoSUFg==} - engines: {node: '>=10.13.0'} - hasBin: true + prettier-linter-helpers@1.0.0: + resolution: {integrity: sha512-GbK2cP9nraSSUF9N2XwUwqfzlAFlMNYYl+ShE/V+H8a9uNl/oUqB1w2EL54Jh0OlyRSd8RfWYJ3coVS4TROP2w==} + engines: {node: '>=6.0.0'} prettier@2.8.8: resolution: {integrity: sha512-tdN8qQGvNjw4CHbY+XXk0JgCXn9QiF21a55rBe5LJAU+kDyC4WQn4+awm2Xfk2lQMk5fKup9XgzTZtGkjBdP9Q==} engines: {node: '>=10.13.0'} hasBin: true + prettier@3.3.3: + resolution: {integrity: sha512-i2tDNA0O5IrMO757lfrdQZCc2jPNDVntV0m/+4whiDfWaTKfMNgR7Qz0NAeGz/nRqF4m5/6CLzbP4/liHt12Ew==} + engines: {node: '>=14'} + hasBin: true + pretty-error@4.0.0: resolution: {integrity: sha512-AoJ5YMAcXKYxKhuJGdcvse+Voc6v1RgnsR3nWcYU7q4t6z0Q6T86sv5Zq8VIRbOWWFpvdGE83LtdSMNd+6Y0xw==} @@ -8389,8 +8417,8 @@ packages: peerDependencies: react: '>=0.14.9' - proc-log@3.0.0: - resolution: {integrity: sha512-++Vn7NS4Xf9NacaU9Xq3URUuqZETPsf8L4j5/ckhaRYsfPeRyzGw+iDjFhV/Jr3uNmTvvddEJFWh5R1gRgUH8A==} + proc-log@4.2.0: + resolution: {integrity: sha512-g8+OnU/L2v+wyiVK+D5fA34J7EH8jZ8DDlvwhRCMxmMj7UCBvxiO1mGeN+36JXIKF4zevU4kRBd8lVgG9vLelA==} engines: {node: ^14.17.0 || ^16.13.0 || >=18.0.0} process-es6@0.11.6: @@ -8407,6 +8435,18 @@ packages: resolution: {integrity: sha512-cdGef/drWFoydD1JsMzuFf8100nZl+GT+yacc2bEced5f9Rjk4z+WtFUTBu9PhOi9j/jfmBPu0mMEY4wIdAF8A==} engines: {node: '>= 0.6.0'} + promise-inflight@1.0.1: + resolution: {integrity: sha512-6zWPyEOFaQBJYcGMHBKTKJ3u6TBsnMFOIZSa6ce1e/ZrrsOlnHRHbabMjLiBYKp+n44X9eUI6VUPaukCXHuG4g==} + peerDependencies: + bluebird: '*' + peerDependenciesMeta: + bluebird: + optional: true + + promise-retry@2.0.1: + resolution: {integrity: sha512-y+WKFlBR8BGXnsNlIHFGPZmyDf3DFMoLhaflAnyZgV6rG6xu+JwesTo2Q9R6XwYmtmwAFCkAk3e35jEdoeh/3g==} + engines: {node: '>=10'} + prompts@2.4.2: resolution: {integrity: sha512-NxNv/kLguCA7p3jE8oL2aEBsrJWgAakBpgmgK6lpPWV+WuOmY6r2/zbAVnP+T8bQlA0nzHXSJSJW0Hq7ylaD2Q==} engines: {node: '>= 6'} @@ -8710,18 +8750,12 @@ packages: remark-gfm@4.0.0: resolution: {integrity: sha512-U92vJgBPkbw4Zfu/IiW2oTZLSL3Zpv+uI7My2eq8JxKgqraFdU8YUGicEJCEgSbeaG+QDFqIcwwfMTOEelPxuA==} - remark-mdx@2.3.0: - resolution: {integrity: sha512-g53hMkpM0I98MU266IzDFMrTD980gNF3BJnkyFcmN+dD873mQeD5rdMO3Y2X+x8umQfbSE0PcoEDl7ledSA+2g==} - - remark-parse@10.0.2: - resolution: {integrity: sha512-3ydxgHa/ZQzG8LvC7jTXccARYDcRld3VfcgIIFs7bI6vbRSxJJmzgLEIIoYKyrfhaY+ujuWaf/PJiMZXoiCXgw==} + remark-mdx@3.1.0: + resolution: {integrity: sha512-Ngl/H3YXyBV9RcRNdlYsZujAmhsxwzxpDzpDEhFBVAGthS4GDgnctpDjgFl/ULx5UEDzqtW1cyBSNKqYYrqLBA==} remark-parse@11.0.0: resolution: {integrity: sha512-FCxlKLNGknS5ba/1lmpYijMUzX2esxW5xQqjWxw2eHFfS2MSdaHVINFmhjo+qN1WhZhNimq0dZATN9pH0IDrpA==} - remark-stringify@10.0.3: - resolution: {integrity: sha512-koyOzCMYoUHudypbj4XpnAKFbkddRMYZHwghnxd7ue5210WzGw6kOBwauJTRUMq16jsovXx8dYNvSSWP89kZ3A==} - remark-stringify@11.0.0: resolution: {integrity: sha512-1OSmLd3awB/t8qdoEOMazZkNsfVTeY4fTsgzcQFdXNq8ToTN4ZGwrMnlda4K6smTFKD+GRV6O48i6Z4iKgPPpw==} @@ -8817,6 +8851,10 @@ packages: resolution: {integrity: sha512-TTlYpa+OL+vMMNG24xSlQGEJ3B/RzEfUlLct7b5G/ytav+wPrplCpVMFuwzXbkecJrb6IYo1iFb0S9v37754mg==} engines: {node: '>=0.12'} + retry@0.12.0: + resolution: {integrity: sha512-9LkiTwjUh6rT555DtE9rTX+BKByPfrMzEAtnlEtdEwr3Nkffwiihqe2bWADg+OQRjt9gl6ICdmB/ZFDCGAtSow==} + engines: {node: '>= 4'} + reusify@1.0.4: resolution: {integrity: sha512-U9nH88a3fc/ekCF1l0/UP1IosiuIjyTh7hBvXVMHYgVcfGvt897Xguj2UOLDeI5BG2m7/uwyaLVT6fbtCwTyzw==} engines: {iojs: '>=1.0.0', node: '>=0.10.0'} @@ -9069,6 +9107,13 @@ packages: resolution: {integrity: sha512-/dPCrG1s3ePpWm6yBbxZq5Be1dXGLyLn9Z791chDC3NFrpkVbWGzkBwPN1knaciexFXgRJ7hzdnwZ4stHSDmjg==} engines: {node: '>=4'} + sort-object-keys@1.1.3: + resolution: {integrity: sha512-855pvK+VkU7PaKYPc+Jjnmt4EzejQHyhhF33q31qG8x7maDzkeFhAAThdCYay11CISO+qAMwjOBP+fPZe0IPyg==} + + sort-package-json@1.57.0: + resolution: {integrity: sha512-FYsjYn2dHTRb41wqnv+uEqCUvBpK3jZcTp9rbz2qDTmel7Pmdtf+i2rLaaPMRZeSVM60V3Se31GyWFpmKs4Q5Q==} + hasBin: true + source-map-js@1.2.1: resolution: {integrity: sha512-UXWMKhLOwVKb728IUtQPXxfYU+usdybtUrK/8uGE8CQMvrhOpwvzDBwj0QhSL7MQc7vIsISBG8VQ8+IDQxpfQA==} engines: {node: '>=0.10.0'} @@ -9208,6 +9253,10 @@ packages: resolution: {integrity: sha512-HnLOCR3vjcY8beoNLtcjZ5/nxn2afmME6lhrDrebokqMap+XbeW8n9TXpPDOqdGK5qcI3oT0GKTW6wC7EMiVqA==} engines: {node: '>=12'} + string-width@6.1.0: + resolution: {integrity: sha512-k01swCJAgQmuADB0YIc+7TuatfNvTBVOoaUWJjTB9R4VJzR5vNWzf5t42ESVZFPS8xTySF7CAdV4t/aaIm3UnQ==} + engines: {node: '>=16'} + string.prototype.includes@2.0.1: resolution: {integrity: sha512-o7+c9bW6zpAdJHTtujeePODAhkuicdAryFsfVKwA+wGw89wJ4GTY484WTucM9hLtDEOpOvI+aHnzqnC5lHp4Rg==} engines: {node: '>= 0.4'} @@ -9315,17 +9364,28 @@ packages: peerDependencies: webpack: ^5.0.0 - style-search@0.1.0: - resolution: {integrity: sha512-Dj1Okke1C3uKKwQcetra4jSuk0DqbzbYtXipzFlFMZtowbF1x7BKJwB9AayVMyFARvU8EDrZdcax4At/452cAg==} + stylelint-config-recommended@14.0.1: + resolution: {integrity: sha512-bLvc1WOz/14aPImu/cufKAZYfXs/A/owZfSMZ4N+16WGXLoX5lOir53M6odBxvhgmgdxCVnNySJmZKx73T93cg==} + engines: {node: '>=18.12.0'} + peerDependencies: + stylelint: ^16.1.0 - stylelint-config-recommended@9.0.0: - resolution: {integrity: sha512-9YQSrJq4NvvRuTbzDsWX3rrFOzOlYBmZP+o513BJN/yfEmGSr0AxdvrWs0P/ilSpVV/wisamAHu5XSk8Rcf4CQ==} + stylelint-config-standard@36.0.1: + resolution: {integrity: sha512-8aX8mTzJ6cuO8mmD5yon61CWuIM4UD8Q5aBcWKGSf6kg+EC3uhB+iOywpTK4ca6ZL7B49en8yanOFtUW0qNzyw==} + engines: {node: '>=18.12.0'} peerDependencies: - stylelint: ^14.10.0 + stylelint: ^16.1.0 - stylelint@14.16.1: - resolution: {integrity: sha512-ErlzR/T3hhbV+a925/gbfc3f3Fep9/bnspMiJPorfGEmcBbXdS+oo6LrVtoUZ/w9fqD6o6k7PtUlCOsCRdjX/A==} - engines: {node: ^12.20.0 || ^14.13.1 || >=16.0.0} + stylelint-prettier@5.0.2: + resolution: {integrity: sha512-qJ+BN+1T2ZcKz9WIrv0x+eFGHzSUnXfXd5gL///T6XoJvr3D8/ztzz2fhtmXef7Vb8P33zBXmLTTveByr0nwBw==} + engines: {node: '>=18.12.0'} + peerDependencies: + prettier: '>=3.0.0' + stylelint: '>=16.0.0' + + stylelint@16.10.0: + resolution: {integrity: sha512-z/8X2rZ52dt2c0stVwI9QL2AFJhLhbPkyfpDFcizs200V/g7v+UYY6SNcB9hKOLcDDX/yGLDsY/pX08sLkz9xQ==} + engines: {node: '>=18.12.0'} hasBin: true supports-color@0.2.0: @@ -9357,6 +9417,10 @@ packages: resolution: {integrity: sha512-RpsAZlpWcDwOPQA22aCH4J0t7L8JmAvsCxfOSEwm7cQs3LshN36QaTkwd70DnBOXDWGssw2eUoc8CaRWT0XunA==} engines: {node: '>=8'} + supports-hyperlinks@3.1.0: + resolution: {integrity: sha512-2rn0BZ+/f7puLOHZm1HOJfwBggfaHXUpPUSSG/SWM4TWp5KCfmNYwnC3hruy2rZlMnmWZ+QAGpZfchu3f3695A==} + engines: {node: '>=14.18'} + supports-preserve-symlinks-flag@1.0.0: resolution: {integrity: sha512-ot0WnXS9fgdkgIcePe6RHNk1WA8+muPa6cSjeR3V8K27q9BB1rTE3R1p7Hv0z1ZyAc8s6Vvv8DIyWf681MAt0w==} engines: {node: '>= 0.4'} @@ -9544,9 +9608,6 @@ packages: resolution: {integrity: sha512-FWtleNAtZ/Ki2qtqej2CXTOayOH9bHDQF+Q48VpWyDXjbYxA4Yz8iDB31zXOBUlOHHKidDbqGVrTUvQMPmBGBw==} engines: {node: '>=0.10.0'} - to-vfile@7.2.4: - resolution: {integrity: sha512-2eQ+rJ2qGbyw3senPI0qjuM7aut8IYXK6AEoOWb+fJx/mQYzviTckm1wDjq91QYHAPBTYzmdJXxMFA6Mk14mdw==} - toidentifier@1.0.1: resolution: {integrity: sha512-o5sSPKEkg/DIQNmH43V0/uerLrpzVedkUh8tGNvaeXpfpuwjKenlSox/2O/BTlZUtEe+JG7s5YhEz608PlAHRA==} engines: {node: '>=0.6'} @@ -9705,6 +9766,10 @@ packages: resolution: {integrity: sha512-RAH822pAdBgcNMAfWnCBU3CFZcfZ/i1eZjwFU/dsLKumyuuP3niueg2UAukXYF0E2AAoc82ZSSf9J0WQBinzHA==} engines: {node: '>=12.20'} + type-fest@3.13.1: + resolution: {integrity: sha512-tLq3bSNx+xSpwvAJnzrK0Ep5CLNWjvFTOp71URMaAEWBfRb9nnJiBoUe0tF8bI4ZFO3omgBR6NvnbzVUT3Ly4g==} + engines: {node: '>=14.16'} + type-is@1.6.18: resolution: {integrity: sha512-TkRKr9sUTxEH8MdfuCSP7VizJyzRNMjj2J2do2Jr3Kym598JVdEksuzPQCnlFPW4ky9Q+iA+ma9BGm06XQBy8g==} engines: {node: '>= 0.6'} @@ -9756,9 +9821,6 @@ packages: unbzip2-stream@1.4.3: resolution: {integrity: sha512-mlExGW4w71ebDJviH16lQLtZS32VKqsSfk80GCfUlwT/4/hNRFsoscrF/c++9xinkMzECL1uL9DDwXqFWkruPg==} - undici-types@5.26.5: - resolution: {integrity: sha512-JlCMO+ehdEIKqlFxk6IfVoAUVmgz7cU7zD/h9XZ0qzeosSHmUJVOzSQvvYSYWXkFXC+IfLKSIffhv0sVZup6pA==} - undici-types@6.19.8: resolution: {integrity: sha512-ve2KP6f/JnbPBFyobGHuerC9g1FYGn/F8n1LWTwNxCEzd6IfqTwUQcNXgEtmmQ6DlRrC1hrSrBnCZPokRrDHjw==} @@ -9778,11 +9840,8 @@ packages: resolution: {integrity: sha512-6t3foTQI9qne+OZoVQB/8x8rk2k1eVy1gRXhV3oFQ5T6R1dqQ1xtin3XqSlx3+ATBkliTaR/hHyJBm+LVPNM8w==} engines: {node: '>=4'} - unified-engine@10.1.0: - resolution: {integrity: sha512-5+JDIs4hqKfHnJcVCxTid1yBoI/++FfF/1PFdSMpaftZZZY+qg2JFruRbf7PaIwa9KgLotXQV3gSjtY0IdcFGQ==} - - unified@10.1.2: - resolution: {integrity: sha512-pUSWAi/RAnVy1Pif2kAoeWNBa3JVrx0MId2LASj8G+7AiHWoKZNTomq6LG326T68U7/e263X6fTdcXIy7XnF7Q==} + unified-engine@11.2.2: + resolution: {integrity: sha512-15g/gWE7qQl9tQ3nAEbMd5h9HV1EACtFs6N9xaRBZICoCwnNGbal1kOs++ICf4aiTdItZxU2s/kYWhW7htlqJg==} unified@11.0.5: resolution: {integrity: sha512-xKvGhPWw3k84Qjh8bI3ZeJjqnyadK+GEFtazSfZv/rKeTkTjOJho6mFqh2SM96iIcZokxiOpg78GazTSg8+KHA==} @@ -9798,39 +9857,24 @@ packages: resolution: {integrity: sha512-uNaeirEPvpZWSgzwsPGtU2zVSTrn/8L5q/IexZmH0eH6SA73CmAA5U4GwORTxQAZs95TAXLNqeLoPPNO5gZfWg==} engines: {node: '>=8'} - unist-util-inspect@7.0.2: - resolution: {integrity: sha512-Op0XnmHUl6C2zo/yJCwhXQSm/SmW22eDZdWP2qdf4WpGrgO1ZxFodq+5zFyeRGasFjJotAnLgfuD1jkcKqiH1Q==} - - unist-util-is@5.2.1: - resolution: {integrity: sha512-u9njyyfEh43npf1M+yGKDGVPbY/JWEemg5nH05ncKPfi+kBbKBJoTdsogMu33uhytuLlv9y0O7GH7fEdwLdLQw==} + unist-util-inspect@8.1.0: + resolution: {integrity: sha512-mOlg8Mp33pR0eeFpo5d2902ojqFFOKMMG2hF8bmH7ZlhnmjFgh0NI3/ZDwdaBJNbvrS7LZFVrBVtIE9KZ9s7vQ==} unist-util-is@6.0.0: resolution: {integrity: sha512-2qCTHimwdxLfz+YzdGfkqNlH0tLi9xjTnHddPmJwtIG9MGsdbutfTc4P+haPD7l7Cjxf/WZj+we5qfVPvvxfYw==} - unist-util-position-from-estree@1.1.2: - resolution: {integrity: sha512-poZa0eXpS+/XpoQwGwl79UUdea4ol2ZuCYguVaJS4qzIOMDzbqz8a3erUCOmubSZkaOuGamb3tX790iwOIROww==} - - unist-util-remove-position@4.0.2: - resolution: {integrity: sha512-TkBb0HABNmxzAcfLf4qsIbFbaPDvMO6wa3b3j4VcEzFVaw1LBKwnW4/sRJ/atSLSzoIg41JWEdnE7N6DIhGDGQ==} + unist-util-position-from-estree@2.0.0: + resolution: {integrity: sha512-KaFVRjoqLyF6YXCbVLNad/eS4+OfPQQn2yOd7zF/h5T/CSL2v8NpN6a5TPvtbXthAGw5nG+PuTtq+DdIZr+cRQ==} unist-util-stringify-position@2.0.3: resolution: {integrity: sha512-3faScn5I+hy9VleOq/qNbAd6pAx7iH5jYBMS9I1HgQVijz/4mv5Bvw5iw1sC/90CODiKo81G/ps8AJrISn687g==} - unist-util-stringify-position@3.0.3: - resolution: {integrity: sha512-k5GzIBZ/QatR8N5X2y+drfpWG8IDBzdnVj6OInRNWm1oXrzydiaAT2OQiA8DPRRZyAKb9b6I2a6PxYklZD0gKg==} - unist-util-stringify-position@4.0.0: resolution: {integrity: sha512-0ASV06AAoKCDkS2+xw5RXJywruurpbC4JZSm7nr7MOt1ojAzvyyaO+UxZf18j8FCF6kmzCZKcAgN/yu2gm2XgQ==} - unist-util-visit-parents@5.1.3: - resolution: {integrity: sha512-x6+y8g7wWMyQhL1iZfhIPhDAs7Xwbn9nRosDXl7qoPTSCy0yNxnKc+hWokFifWQIDGi154rdUqKvbCa4+1kLhg==} - unist-util-visit-parents@6.0.1: resolution: {integrity: sha512-L/PqWzfTP9lzzEa6CKs0k2nARxTdZduw3zyh8d2NVBnsyvHjSX4TWse388YrrQKbvI8w20fGjGlhgT96WwKykw==} - unist-util-visit@4.1.2: - resolution: {integrity: sha512-MSd8OUGISqHdVvfY9TPhyK2VdUrPgxkUtWSuMHF6XAAFuL4LokseigBnZtPnJMu+FbynTkFNnFlyjxpVKujMRg==} - unist-util-visit@5.0.0: resolution: {integrity: sha512-MR04uvD+07cwl/yhVuVWAtw+3GOR/knlL55Nd/wAdblk27GCVt3lqpTivy/tkJcZoNPzTwS1Y+KMojlLDhoTzg==} @@ -9954,9 +9998,6 @@ packages: engines: {node: '>=8'} hasBin: true - v8-compile-cache@2.4.0: - resolution: {integrity: sha512-ocyWc3bAHBB/guyqJQVI5o4BZkPhznPYUG2ea80Gond/BgNWpap8TOmLSeeQG7bnh2KMISxskdADG59j7zruhw==} - v8-to-istanbul@9.3.0: resolution: {integrity: sha512-kiGUalWN+rgBJ/1OHZsBtU4rXZOfj/7rKQxULKlIzwzQSvMJUUNgPwJEEh7gU6xEVxC0ahoOBvN2YI8GH6FNgA==} engines: {node: '>=10.12.0'} @@ -9968,27 +10009,25 @@ packages: resolution: {integrity: sha512-mzR0L8ZDktZjpX4OB46KT+56MAhl4EIazWP/+G/HPGuvfdaqg4YsCdtOm6U9+LOFyYDoh4dpnpxZRB9MQQns5Q==} engines: {node: ^12.13.0 || ^14.15.0 || >=16.0.0} + validate-npm-package-name@5.0.1: + resolution: {integrity: sha512-OljLrQ9SQdOUqTaQxqL5dEfZWrXExyyWsozYlAWFawPVNuD83igl7uJD2RTkNMbniIYgt8l81eCJGIdQF7avLQ==} + engines: {node: ^14.17.0 || ^16.13.0 || >=18.0.0} + vary@1.1.2: resolution: {integrity: sha512-BNGbWLfd0eUPabhkXUVm0j8uuvREyTh5ovRa/dyow/BqAbZJyC+5fU+IzQOzmAKzYqYRAISoRhdQr3eIZ/PXqg==} engines: {node: '>= 0.8'} - vfile-message@3.1.4: - resolution: {integrity: sha512-fa0Z6P8HUrQN4BZaX05SIVXic+7kE3b05PWAtPuYP9QLHsLKYR7/AlLW3NtOrpXRLeawpDLMsVkmk5DG0NXgWw==} - vfile-message@4.0.2: resolution: {integrity: sha512-jRDZ1IMLttGj41KcZvlrYAaI3CfqpLpfpf+Mfig13viT6NKvRzWZ+lXz0Y5D60w6uJIBAOGq9mSHf0gktF0duw==} - vfile-reporter@7.0.5: - resolution: {integrity: sha512-NdWWXkv6gcd7AZMvDomlQbK3MqFWL1RlGzMn++/O2TI+68+nqxCPTvLugdOtfSzXmjh+xUyhp07HhlrbJjT+mw==} - - vfile-sort@3.0.1: - resolution: {integrity: sha512-1os1733XY6y0D5x0ugqSeaVJm9lYgj0j5qdcZQFyxlZOSy1jYarL77lLyb5gK4Wqr1d5OxmuyflSO3zKyFnTFw==} + vfile-reporter@8.1.1: + resolution: {integrity: sha512-qxRZcnFSQt6pWKn3PAk81yLK2rO2i7CDXpy8v8ZquiEOMLSnPw6BMSi9Y1sUCwGGl7a9b3CJT1CKpnRF7pp66g==} - vfile-statistics@2.0.1: - resolution: {integrity: sha512-W6dkECZmP32EG/l+dp2jCLdYzmnDBIw6jwiLZSER81oR5AHRcVqL+k3Z+pfH1R73le6ayDkJRMk0sutj1bMVeg==} + vfile-sort@4.0.0: + resolution: {integrity: sha512-lffPI1JrbHDTToJwcq0rl6rBmkjQmMuXkAxsZPRS9DXbaJQvc642eCg6EGxcX2i1L+esbuhq+2l9tBll5v8AeQ==} - vfile@5.3.7: - resolution: {integrity: sha512-r7qlzkgErKjobAmyNIkkSpizsFPYiUPuJb5pNW1RB4JcYVZhs4lIbVqk8XPk033CV/1z8ss5pkax8SuhGpcG8g==} + vfile-statistics@3.0.0: + resolution: {integrity: sha512-/qlwqwWBWFOmpXujL/20P+Iuydil0rZZNglR+VNm6J0gpLHwuVM5s7g2TfVoswbXjZ4HuIhLMySEyIw5i7/D8w==} vfile@6.0.3: resolution: {integrity: sha512-KzIbH/9tXat2u30jf+smMwFCsno4wHVdNmzFyL+T/L3UGqqk6JKfVqOFOZEpZSHADH1k40ab6NUIXZq422ov3Q==} @@ -10106,6 +10145,11 @@ packages: engines: {node: '>= 8'} hasBin: true + which@4.0.0: + resolution: {integrity: sha512-GlaYyEb07DPxYCKhKzplCWBJtvxZcZMrL+4UkrTSJHHPyZU4mYYTv3qaOe77H7EODLSSopAUFAc6W8U4yqvscg==} + engines: {node: ^16.13.0 || >=18.0.0} + hasBin: true + wide-align@1.1.5: resolution: {integrity: sha512-eDMORYaPNZ4sQIuuYPDHdQvf4gyCF9rEEV/yPxGfwPkRodwEgiMUUXTx/dex+Me0wxx53S+NgUHaP7y3MGlDmg==} @@ -10133,6 +10177,10 @@ packages: resolution: {integrity: sha512-BN22B5eaMMI9UMtjrGd5g5eCYPpCPDUy0FJXbYsaT5zYxjFOckS53SQDE3pWkVoWpHXVb3BrYcEN4Twa55B5cA==} engines: {node: '>=0.10.0'} + wordwrap@0.0.3: + resolution: {integrity: sha512-1tMA907+V4QmxV7dbRvb4/8MaRALK6q9Abid3ndMYnbyo8piisCmeONVqVSXqQA3KaP4SLt5b7ud6E2sqP8TFw==} + engines: {node: '>=0.4.0'} + wrap-ansi@3.0.1: resolution: {integrity: sha512-iXR3tDXpbnTpzjKSylUJRkLuOrEC7hwEB221cgn6wtF8wpmz28puFXAEfPT5zrjM3wahygB//VuWEr1vTkDcNQ==} engines: {node: '>=4'} @@ -10159,6 +10207,10 @@ packages: resolution: {integrity: sha512-7KxauUdBmSdWnmpaGFg+ppNjKF8uNLry8LyzjauQDOVONfFLNKrKvQOxZ/VuTIcS/gge/YNahf5RIIQWTSarlg==} engines: {node: ^12.13.0 || ^14.15.0 || >=16.0.0} + write-file-atomic@5.0.1: + resolution: {integrity: sha512-+QU2zd6OTD8XWIJCbffaiQeH9U73qIqafo1x6V1snCWYGJf6cVE0cDR4D8xRzcEnfI21IFrUPzPGtcPf8AC+Rw==} + engines: {node: ^14.17.0 || ^16.13.0 || >=18.0.0} + ws@8.18.0: resolution: {integrity: sha512-8VbfWfHLbbwu3+N6OKsOMpBdT4kXPDDB9cJk2bJ6mh9ucxdlnNvH1e+roYkKmN9Nxw2yjz7VzeO9oOz2zJ04Pw==} engines: {node: '>=10.0.0'} @@ -10205,6 +10257,10 @@ packages: yallist@4.0.0: resolution: {integrity: sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==} + yaml-eslint-parser@1.2.3: + resolution: {integrity: sha512-4wZWvE398hCP7O8n3nXKu/vdq1HcH01ixYlCREaJL5NUMwQ0g3MaGFUBNSlmBtKmhbtVG/Cm6lyYmSVTEVil8A==} + engines: {node: ^14.17.0 || >=16.0.0} + yaml@1.10.2: resolution: {integrity: sha512-r3vXyErRCYJ7wg28yvBY5VSoAF8ZvlcW9/BwUzEtUsjvX/DKs24dIkuwjtuprwJJHsbyUbLApepYTR1BN4uHrg==} engines: {node: '>= 6'} @@ -11206,7 +11262,18 @@ snapshots: dependencies: '@cspotcode/source-map-consumer': 0.8.0 - '@csstools/selector-specificity@2.2.0(postcss-selector-parser@6.1.2)': + '@csstools/css-parser-algorithms@3.0.4(@csstools/css-tokenizer@3.0.3)': + dependencies: + '@csstools/css-tokenizer': 3.0.3 + + '@csstools/css-tokenizer@3.0.3': {} + + '@csstools/media-query-list-parser@3.0.1(@csstools/css-parser-algorithms@3.0.4(@csstools/css-tokenizer@3.0.3))(@csstools/css-tokenizer@3.0.3)': + dependencies: + '@csstools/css-parser-algorithms': 3.0.4(@csstools/css-tokenizer@3.0.3) + '@csstools/css-tokenizer': 3.0.3 + + '@csstools/selector-specificity@4.0.0(postcss-selector-parser@6.1.2)': dependencies: postcss-selector-parser: 6.1.2 @@ -11221,6 +11288,8 @@ snapshots: gonzales-pe: 4.3.0 node-source-walk: 5.0.2 + '@dual-bundle/import-meta-resolve@4.1.0': {} + '@esbuild/aix-ppc64@0.23.1': optional: true @@ -12122,10 +12191,6 @@ snapshots: - encoding - supports-color - '@next/eslint-plugin-next@13.5.7': - dependencies: - glob: 7.1.7 - '@nodelib/fs.scandir@2.1.5': dependencies: '@nodelib/fs.stat': 2.0.5 @@ -12140,16 +12205,32 @@ snapshots: '@nodelib/fs.scandir': 2.1.5 fastq: 1.17.1 - '@npmcli/config@6.4.1': + '@npmcli/config@8.3.4': dependencies: '@npmcli/map-workspaces': 3.0.6 + '@npmcli/package-json': 5.2.1 ci-info: 4.0.0 ini: 4.1.3 nopt: 7.2.1 - proc-log: 3.0.0 - read-package-json-fast: 3.0.2 + proc-log: 4.2.0 semver: 7.6.3 walk-up-path: 3.0.1 + transitivePeerDependencies: + - bluebird + + '@npmcli/git@5.0.8': + dependencies: + '@npmcli/promise-spawn': 7.0.2 + ini: 4.1.3 + lru-cache: 10.4.3 + npm-pick-manifest: 9.1.0 + proc-log: 4.2.0 + promise-inflight: 1.0.1 + promise-retry: 2.0.1 + semver: 7.6.3 + which: 4.0.0 + transitivePeerDependencies: + - bluebird '@npmcli/map-workspaces@3.0.6': dependencies: @@ -12160,6 +12241,22 @@ snapshots: '@npmcli/name-from-folder@2.0.0': {} + '@npmcli/package-json@5.2.1': + dependencies: + '@npmcli/git': 5.0.8 + glob: 10.4.5 + hosted-git-info: 7.0.2 + json-parse-even-better-errors: 3.0.2 + normalize-package-data: 6.0.2 + proc-log: 4.2.0 + semver: 7.6.3 + transitivePeerDependencies: + - bluebird + + '@npmcli/promise-spawn@7.0.2': + dependencies: + which: 4.0.0 + '@octokit/auth-token@2.5.0': dependencies: '@octokit/types': 6.41.0 @@ -12242,7 +12339,7 @@ snapshots: '@pkgr/core@0.1.1': {} - '@pmmmwh/react-refresh-webpack-plugin@0.5.15(react-refresh@0.14.2)(type-fest@2.19.0)(webpack-hot-middleware@2.26.1)(webpack@5.96.1(@swc/core@1.8.0(@swc/helpers@0.5.13))(esbuild@0.23.1))': + '@pmmmwh/react-refresh-webpack-plugin@0.5.15(react-refresh@0.14.2)(type-fest@3.13.1)(webpack-hot-middleware@2.26.1)(webpack@5.96.1(@swc/core@1.8.0(@swc/helpers@0.5.13))(esbuild@0.23.1))': dependencies: ansi-html: 0.0.9 core-js-pure: 3.39.0 @@ -12254,7 +12351,7 @@ snapshots: source-map: 0.7.4 webpack: 5.96.1(@swc/core@1.8.0(@swc/helpers@0.5.13))(esbuild@0.23.1) optionalDependencies: - type-fest: 2.19.0 + type-fest: 3.13.1 webpack-hot-middleware: 2.26.1 '@popperjs/core@2.11.8': {} @@ -13304,38 +13401,6 @@ snapshots: transitivePeerDependencies: - zenObservable - '@sharegate/eslint-plugin@3.2.0(@typescript-eslint/parser@8.10.0(eslint@8.57.1)(typescript@5.5.4))(eslint@8.57.1)(jest@29.7.0(@types/node@16.18.119)(ts-node@10.4.0(@swc/core@1.8.0(@swc/helpers@0.5.13))(@types/node@16.18.119)(typescript@5.5.4)))(typescript@5.5.4)': - dependencies: - '@next/eslint-plugin-next': 13.5.7 - '@typescript-eslint/eslint-plugin': 5.62.0(@typescript-eslint/parser@8.10.0(eslint@8.57.1)(typescript@5.5.4))(eslint@8.57.1)(typescript@5.5.4) - eslint: 8.57.1 - eslint-plugin-import: 2.31.0(@typescript-eslint/parser@8.10.0(eslint@8.57.1)(typescript@5.5.4))(eslint@8.57.1) - eslint-plugin-jest: 27.9.0(@typescript-eslint/eslint-plugin@5.62.0(@typescript-eslint/parser@8.10.0(eslint@8.57.1)(typescript@5.5.4))(eslint@8.57.1)(typescript@5.5.4))(eslint@8.57.1)(jest@29.7.0(@types/node@16.18.119)(ts-node@10.4.0(@swc/core@1.8.0(@swc/helpers@0.5.13))(@types/node@16.18.119)(typescript@5.5.4)))(typescript@5.5.4) - eslint-plugin-jsx-a11y: 6.10.2(eslint@8.57.1) - eslint-plugin-lodash: 7.4.0(eslint@8.57.1) - eslint-plugin-mdx: 2.3.4(eslint@8.57.1) - eslint-plugin-react: 7.37.2(eslint@8.57.1) - eslint-plugin-react-hooks: 4.6.2(eslint@8.57.1) - eslint-plugin-react-query: 1.3.0(eslint@8.57.1)(typescript@5.5.4) - eslint-plugin-sort-imports-es6-autofix: 0.6.0(eslint@8.57.1) - eslint-plugin-storybook: 0.11.0(eslint@8.57.1)(typescript@5.5.4) - eslint-plugin-testing-library: 5.11.1(eslint@8.57.1)(typescript@5.5.4) - optionalDependencies: - '@typescript-eslint/parser': 8.10.0(eslint@8.57.1)(typescript@5.5.4) - typescript: 5.5.4 - transitivePeerDependencies: - - eslint-import-resolver-typescript - - eslint-import-resolver-webpack - - jest - - supports-color - - '@sharegate/stylelint-plugin@1.0.1(stylelint@14.16.1)': - dependencies: - stylelint: 14.16.1 - stylelint-config-recommended: 9.0.0(stylelint@14.16.1) - - '@sharegate/typescript-config@1.1.1': {} - '@sideway/address@4.1.5': dependencies: '@hapi/hoek': 9.3.0 @@ -13609,6 +13674,10 @@ snapshots: dependencies: storybook: 8.3.6 + '@storybook/csf@0.0.1': + dependencies: + lodash: 4.17.21 + '@storybook/csf@0.1.11': dependencies: type-fest: 2.19.0 @@ -14026,7 +14095,7 @@ snapshots: '@types/concat-stream@2.0.3': dependencies: - '@types/node': 18.19.64 + '@types/node': 22.9.0 '@types/connect@3.4.38': dependencies: @@ -14087,7 +14156,7 @@ snapshots: '@types/glob@7.2.0': dependencies: '@types/minimatch': 5.1.2 - '@types/node': 16.18.119 + '@types/node': 22.9.0 '@types/got@9.6.12': dependencies: @@ -14099,10 +14168,6 @@ snapshots: dependencies: '@types/node': 22.9.0 - '@types/hast@2.3.10': - dependencies: - '@types/unist': 2.0.11 - '@types/hast@3.0.4': dependencies: '@types/unist': 3.0.3 @@ -14187,10 +14252,6 @@ snapshots: '@types/node@16.18.119': {} - '@types/node@18.19.64': - dependencies: - undici-types: 5.26.5 - '@types/node@22.9.0': dependencies: undici-types: 6.19.8 @@ -14275,20 +14336,19 @@ snapshots: dependencies: '@types/yargs-parser': 21.0.3 - '@typescript-eslint/eslint-plugin@5.62.0(@typescript-eslint/parser@8.10.0(eslint@8.57.1)(typescript@5.5.4))(eslint@8.57.1)(typescript@5.5.4)': + '@typescript-eslint/eslint-plugin@7.18.0(@typescript-eslint/parser@8.10.0(eslint@8.57.1)(typescript@5.5.4))(eslint@8.57.1)(typescript@5.5.4)': dependencies: '@eslint-community/regexpp': 4.12.1 '@typescript-eslint/parser': 8.10.0(eslint@8.57.1)(typescript@5.5.4) - '@typescript-eslint/scope-manager': 5.62.0 - '@typescript-eslint/type-utils': 5.62.0(eslint@8.57.1)(typescript@5.5.4) - '@typescript-eslint/utils': 5.62.0(eslint@8.57.1)(typescript@5.5.4) - debug: 4.3.7(supports-color@9.4.0) + '@typescript-eslint/scope-manager': 7.18.0 + '@typescript-eslint/type-utils': 7.18.0(eslint@8.57.1)(typescript@5.5.4) + '@typescript-eslint/utils': 7.18.0(eslint@8.57.1)(typescript@5.5.4) + '@typescript-eslint/visitor-keys': 7.18.0 eslint: 8.57.1 graphemer: 1.4.0 ignore: 5.3.2 - natural-compare-lite: 1.4.0 - semver: 7.6.3 - tsutils: 3.21.0(typescript@5.5.4) + natural-compare: 1.4.0 + ts-api-utils: 1.4.0(typescript@5.5.4) optionalDependencies: typescript: 5.5.4 transitivePeerDependencies: @@ -14320,23 +14380,23 @@ snapshots: '@typescript-eslint/types': 5.62.0 '@typescript-eslint/visitor-keys': 5.62.0 + '@typescript-eslint/scope-manager@7.18.0': + dependencies: + '@typescript-eslint/types': 7.18.0 + '@typescript-eslint/visitor-keys': 7.18.0 + '@typescript-eslint/scope-manager@8.10.0': dependencies: '@typescript-eslint/types': 8.10.0 '@typescript-eslint/visitor-keys': 8.10.0 - '@typescript-eslint/scope-manager@8.13.0': + '@typescript-eslint/type-utils@7.18.0(eslint@8.57.1)(typescript@5.5.4)': dependencies: - '@typescript-eslint/types': 8.13.0 - '@typescript-eslint/visitor-keys': 8.13.0 - - '@typescript-eslint/type-utils@5.62.0(eslint@8.57.1)(typescript@5.5.4)': - dependencies: - '@typescript-eslint/typescript-estree': 5.62.0(typescript@5.5.4) - '@typescript-eslint/utils': 5.62.0(eslint@8.57.1)(typescript@5.5.4) + '@typescript-eslint/typescript-estree': 7.18.0(typescript@5.5.4) + '@typescript-eslint/utils': 7.18.0(eslint@8.57.1)(typescript@5.5.4) debug: 4.3.7(supports-color@9.4.0) eslint: 8.57.1 - tsutils: 3.21.0(typescript@5.5.4) + ts-api-utils: 1.4.0(typescript@5.5.4) optionalDependencies: typescript: 5.5.4 transitivePeerDependencies: @@ -14346,9 +14406,9 @@ snapshots: '@typescript-eslint/types@5.62.0': {} - '@typescript-eslint/types@8.10.0': {} + '@typescript-eslint/types@7.18.0': {} - '@typescript-eslint/types@8.13.0': {} + '@typescript-eslint/types@8.10.0': {} '@typescript-eslint/typescript-estree@4.33.0(supports-color@9.4.0)(typescript@3.9.10)': dependencies: @@ -14392,12 +14452,12 @@ snapshots: transitivePeerDependencies: - supports-color - '@typescript-eslint/typescript-estree@8.10.0(typescript@5.5.4)': + '@typescript-eslint/typescript-estree@7.18.0(typescript@5.5.4)': dependencies: - '@typescript-eslint/types': 8.10.0 - '@typescript-eslint/visitor-keys': 8.10.0 + '@typescript-eslint/types': 7.18.0 + '@typescript-eslint/visitor-keys': 7.18.0 debug: 4.3.7(supports-color@9.4.0) - fast-glob: 3.3.2 + globby: 11.1.0 is-glob: 4.0.3 minimatch: 9.0.5 semver: 7.6.3 @@ -14407,10 +14467,10 @@ snapshots: transitivePeerDependencies: - supports-color - '@typescript-eslint/typescript-estree@8.13.0(typescript@5.5.4)': + '@typescript-eslint/typescript-estree@8.10.0(typescript@5.5.4)': dependencies: - '@typescript-eslint/types': 8.13.0 - '@typescript-eslint/visitor-keys': 8.13.0 + '@typescript-eslint/types': 8.10.0 + '@typescript-eslint/visitor-keys': 8.10.0 debug: 4.3.7(supports-color@9.4.0) fast-glob: 3.3.2 is-glob: 4.0.3 @@ -14437,12 +14497,12 @@ snapshots: - supports-color - typescript - '@typescript-eslint/utils@8.13.0(eslint@8.57.1)(typescript@5.5.4)': + '@typescript-eslint/utils@7.18.0(eslint@8.57.1)(typescript@5.5.4)': dependencies: '@eslint-community/eslint-utils': 4.4.1(eslint@8.57.1) - '@typescript-eslint/scope-manager': 8.13.0 - '@typescript-eslint/types': 8.13.0 - '@typescript-eslint/typescript-estree': 8.13.0(typescript@5.5.4) + '@typescript-eslint/scope-manager': 7.18.0 + '@typescript-eslint/types': 7.18.0 + '@typescript-eslint/typescript-estree': 7.18.0(typescript@5.5.4) eslint: 8.57.1 transitivePeerDependencies: - supports-color @@ -14458,14 +14518,14 @@ snapshots: '@typescript-eslint/types': 5.62.0 eslint-visitor-keys: 3.4.3 - '@typescript-eslint/visitor-keys@8.10.0': + '@typescript-eslint/visitor-keys@7.18.0': dependencies: - '@typescript-eslint/types': 8.10.0 + '@typescript-eslint/types': 7.18.0 eslint-visitor-keys: 3.4.3 - '@typescript-eslint/visitor-keys@8.13.0': + '@typescript-eslint/visitor-keys@8.10.0': dependencies: - '@typescript-eslint/types': 8.13.0 + '@typescript-eslint/types': 8.10.0 eslint-visitor-keys: 3.4.3 '@ungap/structured-clone@1.2.0': {} @@ -14612,6 +14672,40 @@ snapshots: '@webassemblyjs/ast': 1.12.1 '@xtuc/long': 4.2.2 + '@workleap/eslint-plugin@3.2.2(@typescript-eslint/parser@8.10.0(eslint@8.57.1)(typescript@5.5.4))(eslint@8.57.1)(jest@29.7.0(@types/node@16.18.119)(ts-node@10.4.0(@swc/core@1.8.0(@swc/helpers@0.5.13))(@types/node@16.18.119)(typescript@5.5.4)))(typescript@5.5.4)': + dependencies: + '@typescript-eslint/eslint-plugin': 7.18.0(@typescript-eslint/parser@8.10.0(eslint@8.57.1)(typescript@5.5.4))(eslint@8.57.1)(typescript@5.5.4) + eslint-plugin-import: 2.31.0(@typescript-eslint/parser@8.10.0(eslint@8.57.1)(typescript@5.5.4))(eslint@8.57.1) + eslint-plugin-jest: 27.9.0(@typescript-eslint/eslint-plugin@7.18.0(@typescript-eslint/parser@8.10.0(eslint@8.57.1)(typescript@5.5.4))(eslint@8.57.1)(typescript@5.5.4))(eslint@8.57.1)(jest@29.7.0(@types/node@16.18.119)(ts-node@10.4.0(@swc/core@1.8.0(@swc/helpers@0.5.13))(@types/node@16.18.119)(typescript@5.5.4)))(typescript@5.5.4) + eslint-plugin-jsx-a11y: 6.10.2(eslint@8.57.1) + eslint-plugin-mdx: 3.1.5(eslint@8.57.1) + eslint-plugin-package-json: 0.10.4(eslint@8.57.1)(jsonc-eslint-parser@2.4.0) + eslint-plugin-react: 7.37.2(eslint@8.57.1) + eslint-plugin-react-hooks: 4.6.2(eslint@8.57.1) + eslint-plugin-storybook: 0.8.0(eslint@8.57.1)(typescript@5.5.4) + eslint-plugin-testing-library: 6.4.0(eslint@8.57.1)(typescript@5.5.4) + eslint-plugin-yml: 1.15.0(eslint@8.57.1) + jsonc-eslint-parser: 2.4.0 + yaml-eslint-parser: 1.2.3 + optionalDependencies: + '@typescript-eslint/parser': 8.10.0(eslint@8.57.1)(typescript@5.5.4) + eslint: 8.57.1 + typescript: 5.5.4 + transitivePeerDependencies: + - bluebird + - eslint-import-resolver-typescript + - eslint-import-resolver-webpack + - jest + - supports-color + + '@workleap/stylelint-configs@2.0.3(prettier@3.3.3)(stylelint@16.10.0(typescript@5.5.4))': + dependencies: + stylelint-config-standard: 36.0.1(stylelint@16.10.0(typescript@5.5.4)) + stylelint-prettier: 5.0.2(prettier@3.3.3)(stylelint@16.10.0(typescript@5.5.4)) + optionalDependencies: + prettier: 3.3.3 + stylelint: 16.10.0(typescript@5.5.4) + '@workleap/swc-configs@2.2.3(@swc/core@1.8.0(@swc/helpers@0.5.13))(@swc/helpers@0.5.13)(@swc/jest@0.2.37(@swc/core@1.8.0(@swc/helpers@0.5.13)))(browserslist@4.24.0)': dependencies: '@swc/core': 1.8.0(@swc/helpers@0.5.13) @@ -14620,6 +14714,10 @@ snapshots: '@swc/jest': 0.2.37(@swc/core@1.8.0(@swc/helpers@0.5.13)) browserslist: 4.24.0 + '@workleap/typescript-configs@3.0.2(typescript@5.5.4)': + dependencies: + typescript: 5.5.4 + '@xtuc/ieee754@1.2.0': {} '@xtuc/long@4.2.2': {} @@ -15733,6 +15831,15 @@ snapshots: path-type: 4.0.0 yaml: 1.10.2 + cosmiconfig@9.0.0(typescript@5.5.4): + dependencies: + env-paths: 2.2.1 + import-fresh: 3.3.0 + js-yaml: 4.1.0 + parse-json: 5.2.0 + optionalDependencies: + typescript: 5.5.4 + cp-file@7.0.0: dependencies: graceful-fs: 4.2.11 @@ -15848,6 +15955,11 @@ snapshots: mdn-data: 2.0.30 source-map-js: 1.2.1 + css-tree@3.0.1: + dependencies: + mdn-data: 2.12.1 + source-map-js: 1.2.1 + css-what@6.1.0: {} css.escape@1.5.1: {} @@ -16322,6 +16434,8 @@ snapshots: emittery@0.13.1: {} + emoji-regex@10.4.0: {} + emoji-regex@8.0.0: {} emoji-regex@9.2.2: {} @@ -16364,6 +16478,8 @@ snapshots: envinfo@7.14.0: {} + err-code@2.0.3: {} + error-ex@1.3.2: dependencies: is-arrayish: 0.2.1 @@ -16580,6 +16696,11 @@ snapshots: optionalDependencies: source-map: 0.6.1 + eslint-compat-utils@0.5.1(eslint@8.57.1): + dependencies: + eslint: 8.57.1 + semver: 7.6.3 + eslint-import-resolver-node@0.3.9: dependencies: debug: 3.2.7(supports-color@9.4.0) @@ -16588,24 +16709,25 @@ snapshots: transitivePeerDependencies: - supports-color - eslint-mdx@2.3.4(eslint@8.57.1): + eslint-mdx@3.1.5(eslint@8.57.1): dependencies: acorn: 8.14.0 acorn-jsx: 5.3.2(acorn@8.14.0) eslint: 8.57.1 espree: 9.6.1 - estree-util-visit: 1.2.1 - remark-mdx: 2.3.0 - remark-parse: 10.0.2 - remark-stringify: 10.0.3 + estree-util-visit: 2.0.0 + remark-mdx: 3.1.0 + remark-parse: 11.0.0 + remark-stringify: 11.0.0 synckit: 0.9.2 tslib: 2.8.1 - unified: 10.1.2 - unified-engine: 10.1.0 - unist-util-visit: 4.1.2 + unified: 11.0.5 + unified-engine: 11.2.2 + unist-util-visit: 5.0.0 uvu: 0.5.6 - vfile: 5.3.7 + vfile: 6.0.3 transitivePeerDependencies: + - bluebird - supports-color eslint-module-utils@2.12.0(@typescript-eslint/parser@8.10.0(eslint@8.57.1)(typescript@5.5.4))(eslint-import-resolver-node@0.3.9)(eslint@8.57.1): @@ -16647,12 +16769,12 @@ snapshots: - eslint-import-resolver-webpack - supports-color - eslint-plugin-jest@27.9.0(@typescript-eslint/eslint-plugin@5.62.0(@typescript-eslint/parser@8.10.0(eslint@8.57.1)(typescript@5.5.4))(eslint@8.57.1)(typescript@5.5.4))(eslint@8.57.1)(jest@29.7.0(@types/node@16.18.119)(ts-node@10.4.0(@swc/core@1.8.0(@swc/helpers@0.5.13))(@types/node@16.18.119)(typescript@5.5.4)))(typescript@5.5.4): + eslint-plugin-jest@27.9.0(@typescript-eslint/eslint-plugin@7.18.0(@typescript-eslint/parser@8.10.0(eslint@8.57.1)(typescript@5.5.4))(eslint@8.57.1)(typescript@5.5.4))(eslint@8.57.1)(jest@29.7.0(@types/node@16.18.119)(ts-node@10.4.0(@swc/core@1.8.0(@swc/helpers@0.5.13))(@types/node@16.18.119)(typescript@5.5.4)))(typescript@5.5.4): dependencies: '@typescript-eslint/utils': 5.62.0(eslint@8.57.1)(typescript@5.5.4) eslint: 8.57.1 optionalDependencies: - '@typescript-eslint/eslint-plugin': 5.62.0(@typescript-eslint/parser@8.10.0(eslint@8.57.1)(typescript@5.5.4))(eslint@8.57.1)(typescript@5.5.4) + '@typescript-eslint/eslint-plugin': 7.18.0(@typescript-eslint/parser@8.10.0(eslint@8.57.1)(typescript@5.5.4))(eslint@8.57.1)(typescript@5.5.4) jest: 29.7.0(@types/node@16.18.119)(ts-node@10.4.0(@swc/core@1.8.0(@swc/helpers@0.5.13))(@types/node@16.18.119)(typescript@5.5.4)) transitivePeerDependencies: - supports-color @@ -16677,11 +16799,6 @@ snapshots: safe-regex-test: 1.0.3 string.prototype.includes: 2.0.1 - eslint-plugin-lodash@7.4.0(eslint@8.57.1): - dependencies: - eslint: 8.57.1 - lodash: 4.17.21 - eslint-plugin-markdown@3.0.1(eslint@8.57.1): dependencies: eslint: 8.57.1 @@ -16689,31 +16806,33 @@ snapshots: transitivePeerDependencies: - supports-color - eslint-plugin-mdx@2.3.4(eslint@8.57.1): + eslint-plugin-mdx@3.1.5(eslint@8.57.1): dependencies: eslint: 8.57.1 - eslint-mdx: 2.3.4(eslint@8.57.1) + eslint-mdx: 3.1.5(eslint@8.57.1) eslint-plugin-markdown: 3.0.1(eslint@8.57.1) - remark-mdx: 2.3.0 - remark-parse: 10.0.2 - remark-stringify: 10.0.3 + remark-mdx: 3.1.0 + remark-parse: 11.0.0 + remark-stringify: 11.0.0 tslib: 2.8.1 - unified: 10.1.2 - vfile: 5.3.7 + unified: 11.0.5 + vfile: 6.0.3 transitivePeerDependencies: + - bluebird - supports-color - eslint-plugin-react-hooks@4.6.2(eslint@8.57.1): + eslint-plugin-package-json@0.10.4(eslint@8.57.1)(jsonc-eslint-parser@2.4.0): dependencies: eslint: 8.57.1 + jsonc-eslint-parser: 2.4.0 + package-json-validator: 0.6.8 + semver: 7.6.3 + sort-package-json: 1.57.0 + validate-npm-package-name: 5.0.1 - eslint-plugin-react-query@1.3.0(eslint@8.57.1)(typescript@5.5.4): + eslint-plugin-react-hooks@4.6.2(eslint@8.57.1): dependencies: - '@typescript-eslint/utils': 5.62.0(eslint@8.57.1)(typescript@5.5.4) eslint: 8.57.1 - transitivePeerDependencies: - - supports-color - - typescript eslint-plugin-react@7.37.2(eslint@8.57.1): dependencies: @@ -16742,10 +16861,6 @@ snapshots: eslint: 8.57.1 natural-compare-lite: 1.4.0 - eslint-plugin-sort-imports-es6-autofix@0.6.0(eslint@8.57.1): - dependencies: - eslint: 8.57.1 - eslint-plugin-sort-keys-fix@1.1.2: dependencies: espree: 6.2.1 @@ -16753,17 +16868,18 @@ snapshots: natural-compare: 1.4.0 requireindex: 1.2.0 - eslint-plugin-storybook@0.11.0(eslint@8.57.1)(typescript@5.5.4): + eslint-plugin-storybook@0.8.0(eslint@8.57.1)(typescript@5.5.4): dependencies: - '@storybook/csf': 0.1.11 - '@typescript-eslint/utils': 8.13.0(eslint@8.57.1)(typescript@5.5.4) + '@storybook/csf': 0.0.1 + '@typescript-eslint/utils': 5.62.0(eslint@8.57.1)(typescript@5.5.4) eslint: 8.57.1 + requireindex: 1.2.0 ts-dedent: 2.2.0 transitivePeerDependencies: - supports-color - typescript - eslint-plugin-testing-library@5.11.1(eslint@8.57.1)(typescript@5.5.4): + eslint-plugin-testing-library@6.4.0(eslint@8.57.1)(typescript@5.5.4): dependencies: '@typescript-eslint/utils': 5.62.0(eslint@8.57.1)(typescript@5.5.4) eslint: 8.57.1 @@ -16782,6 +16898,17 @@ snapshots: transitivePeerDependencies: - supports-color + eslint-plugin-yml@1.15.0(eslint@8.57.1): + dependencies: + debug: 4.3.7(supports-color@9.4.0) + eslint: 8.57.1 + eslint-compat-utils: 0.5.1(eslint@8.57.1) + lodash: 4.17.21 + natural-compare: 1.4.0 + yaml-eslint-parser: 1.2.3 + transitivePeerDependencies: + - supports-color + eslint-scope@5.1.1: dependencies: esrecurse: 4.3.0 @@ -16867,12 +16994,12 @@ snapshots: estraverse@5.3.0: {} - estree-util-is-identifier-name@2.1.0: {} + estree-util-is-identifier-name@3.0.0: {} - estree-util-visit@1.2.1: + estree-util-visit@2.0.0: dependencies: '@types/estree-jsx': 1.0.5 - '@types/unist': 2.0.11 + '@types/unist': 3.0.3 estree-walker@0.6.1: {} @@ -17068,10 +17195,6 @@ snapshots: dependencies: reusify: 1.0.4 - fault@2.0.1: - dependencies: - format: 0.2.2 - fb-watchman@2.0.2: dependencies: bser: 2.1.1 @@ -17118,6 +17241,10 @@ snapshots: dependencies: flat-cache: 3.2.0 + file-entry-cache@9.1.0: + dependencies: + flat-cache: 5.0.0 + file-size@0.0.5: {} file-type@11.1.0: {} @@ -17217,6 +17344,11 @@ snapshots: keyv: 4.5.4 rimraf: 3.0.2 + flat-cache@5.0.0: + dependencies: + flatted: 3.3.1 + keyv: 4.5.4 + flatted@3.3.1: {} flatten@1.0.3: {} @@ -17282,8 +17414,6 @@ snapshots: combined-stream: 1.0.8 mime-types: 2.1.35 - format@0.2.2: {} - formdata-polyfill@4.0.10: dependencies: fetch-blob: 3.2.0 @@ -17463,6 +17593,8 @@ snapshots: transitivePeerDependencies: - encoding + git-hooks-list@1.0.3: {} + git-repo-info@2.1.1: {} gitconfiglocal@2.1.0: @@ -17497,15 +17629,6 @@ snapshots: package-json-from-dist: 1.0.1 path-scurry: 1.11.1 - glob@7.1.7: - dependencies: - fs.realpath: 1.0.0 - inflight: 1.0.6 - inherits: 2.0.4 - minimatch: 3.1.2 - once: 1.4.0 - path-is-absolute: 1.0.1 - glob@7.2.3: dependencies: fs.realpath: 1.0.0 @@ -17565,6 +17688,17 @@ snapshots: define-properties: 1.2.1 gopd: 1.0.1 + globby@10.0.0: + dependencies: + '@types/glob': 7.2.0 + array-union: 2.1.0 + dir-glob: 3.0.1 + fast-glob: 3.3.2 + glob: 7.2.3 + ignore: 5.3.2 + merge2: 1.4.1 + slash: 3.0.0 + globby@11.1.0: dependencies: array-union: 2.1.0 @@ -17771,6 +17905,10 @@ snapshots: dependencies: lru-cache: 6.0.0 + hosted-git-info@7.0.2: + dependencies: + lru-cache: 10.4.3 + html-encoding-sniffer@3.0.0: dependencies: whatwg-encoding: 2.0.0 @@ -17904,6 +18042,8 @@ snapshots: ignore@5.3.2: {} + ignore@6.0.2: {} + import-fresh@3.3.0: dependencies: parent-module: 1.0.1 @@ -17911,14 +18051,12 @@ snapshots: import-lazy@2.1.0: {} - import-lazy@4.0.0: {} - import-local@3.2.0: dependencies: pkg-dir: 4.2.0 resolve-cwd: 3.0.0 - import-meta-resolve@2.2.2: {} + import-meta-resolve@4.1.0: {} imurmurhash@0.1.4: {} @@ -18043,8 +18181,6 @@ snapshots: is-buffer@1.1.6: {} - is-buffer@2.0.5: {} - is-builtin-module@3.2.1: dependencies: builtin-modules: 3.3.0 @@ -18270,6 +18406,8 @@ snapshots: isexe@2.0.0: {} + isexe@3.1.1: {} + isobject@2.1.0: dependencies: isarray: 1.0.0 @@ -18888,6 +19026,13 @@ snapshots: json5@2.2.3: {} + jsonc-eslint-parser@2.4.0: + dependencies: + acorn: 8.14.0 + eslint-visitor-keys: 3.4.3 + espree: 9.6.1 + semver: 7.6.3 + jsonc-parser@3.3.1: {} jsonfile@4.0.0: @@ -18943,7 +19088,7 @@ snapshots: kleur@4.1.5: {} - known-css-properties@0.26.0: {} + known-css-properties@0.34.0: {} kuler@2.0.0: {} @@ -19014,10 +19159,12 @@ snapshots: - zen-observable - zenObservable - load-plugin@5.1.0: + load-plugin@6.0.3: dependencies: - '@npmcli/config': 6.4.1 - import-meta-resolve: 2.2.2 + '@npmcli/config': 8.3.4 + import-meta-resolve: 4.1.0 + transitivePeerDependencies: + - bluebird loader-runner@4.3.0: {} @@ -19237,23 +19384,6 @@ snapshots: transitivePeerDependencies: - supports-color - mdast-util-from-markdown@1.3.1: - dependencies: - '@types/mdast': 3.0.15 - '@types/unist': 2.0.11 - decode-named-character-reference: 1.0.2 - mdast-util-to-string: 3.2.0 - micromark: 3.2.0 - micromark-util-decode-numeric-character-reference: 1.1.0 - micromark-util-decode-string: 1.1.0 - micromark-util-normalize-identifier: 1.1.0 - micromark-util-symbol: 1.1.0 - micromark-util-types: 1.1.0 - unist-util-stringify-position: 3.0.3 - uvu: 0.5.6 - transitivePeerDependencies: - - supports-color - mdast-util-from-markdown@2.0.2: dependencies: '@types/mdast': 4.0.4 @@ -19328,74 +19458,60 @@ snapshots: transitivePeerDependencies: - supports-color - mdast-util-mdx-expression@1.3.2: + mdast-util-mdx-expression@2.0.1: dependencies: '@types/estree-jsx': 1.0.5 - '@types/hast': 2.3.10 - '@types/mdast': 3.0.15 - mdast-util-from-markdown: 1.3.1 - mdast-util-to-markdown: 1.5.0 + '@types/hast': 3.0.4 + '@types/mdast': 4.0.4 + devlop: 1.1.0 + mdast-util-from-markdown: 2.0.2 + mdast-util-to-markdown: 2.1.2 transitivePeerDependencies: - supports-color - mdast-util-mdx-jsx@2.1.4: + mdast-util-mdx-jsx@3.1.3: dependencies: '@types/estree-jsx': 1.0.5 - '@types/hast': 2.3.10 - '@types/mdast': 3.0.15 - '@types/unist': 2.0.11 + '@types/hast': 3.0.4 + '@types/mdast': 4.0.4 + '@types/unist': 3.0.3 ccount: 2.0.1 - mdast-util-from-markdown: 1.3.1 - mdast-util-to-markdown: 1.5.0 + devlop: 1.1.0 + mdast-util-from-markdown: 2.0.2 + mdast-util-to-markdown: 2.1.2 parse-entities: 4.0.1 stringify-entities: 4.0.4 - unist-util-remove-position: 4.0.2 - unist-util-stringify-position: 3.0.3 - vfile-message: 3.1.4 + unist-util-stringify-position: 4.0.0 + vfile-message: 4.0.2 transitivePeerDependencies: - supports-color - mdast-util-mdx@2.0.1: + mdast-util-mdx@3.0.0: dependencies: - mdast-util-from-markdown: 1.3.1 - mdast-util-mdx-expression: 1.3.2 - mdast-util-mdx-jsx: 2.1.4 - mdast-util-mdxjs-esm: 1.3.1 - mdast-util-to-markdown: 1.5.0 + mdast-util-from-markdown: 2.0.2 + mdast-util-mdx-expression: 2.0.1 + mdast-util-mdx-jsx: 3.1.3 + mdast-util-mdxjs-esm: 2.0.1 + mdast-util-to-markdown: 2.1.2 transitivePeerDependencies: - supports-color - mdast-util-mdxjs-esm@1.3.1: + mdast-util-mdxjs-esm@2.0.1: dependencies: '@types/estree-jsx': 1.0.5 - '@types/hast': 2.3.10 - '@types/mdast': 3.0.15 - mdast-util-from-markdown: 1.3.1 - mdast-util-to-markdown: 1.5.0 + '@types/hast': 3.0.4 + '@types/mdast': 4.0.4 + devlop: 1.1.0 + mdast-util-from-markdown: 2.0.2 + mdast-util-to-markdown: 2.1.2 transitivePeerDependencies: - supports-color - mdast-util-phrasing@3.0.1: - dependencies: - '@types/mdast': 3.0.15 - unist-util-is: 5.2.1 - mdast-util-phrasing@4.1.0: dependencies: '@types/mdast': 4.0.4 unist-util-is: 6.0.0 - mdast-util-to-markdown@1.5.0: - dependencies: - '@types/mdast': 3.0.15 - '@types/unist': 2.0.11 - longest-streak: 3.1.0 - mdast-util-phrasing: 3.0.1 - mdast-util-to-string: 3.2.0 - micromark-util-decode-string: 1.1.0 - unist-util-visit: 4.1.2 - zwitch: 2.0.4 - mdast-util-to-markdown@2.1.2: dependencies: '@types/mdast': 4.0.4 @@ -19410,10 +19526,6 @@ snapshots: mdast-util-to-string@2.0.0: {} - mdast-util-to-string@3.2.0: - dependencies: - '@types/mdast': 3.0.15 - mdast-util-to-string@4.0.0: dependencies: '@types/mdast': 4.0.4 @@ -19422,6 +19534,8 @@ snapshots: mdn-data@2.0.30: {} + mdn-data@2.12.1: {} + media-typer@0.3.0: {} memfs@3.5.3: @@ -19434,6 +19548,8 @@ snapshots: dependencies: map-or-similar: 1.5.0 + meow@13.2.0: {} + meow@9.0.0: dependencies: '@types/minimist': 1.2.5 @@ -19465,25 +19581,6 @@ snapshots: micro-memoize@4.1.2: {} - micromark-core-commonmark@1.1.0: - dependencies: - decode-named-character-reference: 1.0.2 - micromark-factory-destination: 1.1.0 - micromark-factory-label: 1.1.0 - micromark-factory-space: 1.1.0 - micromark-factory-title: 1.1.0 - micromark-factory-whitespace: 1.1.0 - micromark-util-character: 1.2.0 - micromark-util-chunked: 1.1.0 - micromark-util-classify-character: 1.1.0 - micromark-util-html-tag-name: 1.2.0 - micromark-util-normalize-identifier: 1.1.0 - micromark-util-resolve-all: 1.1.0 - micromark-util-subtokenize: 1.1.0 - micromark-util-symbol: 1.1.0 - micromark-util-types: 1.1.0 - uvu: 0.5.6 - micromark-core-commonmark@2.0.1: dependencies: decode-named-character-reference: 1.0.2 @@ -19561,62 +19658,57 @@ snapshots: micromark-util-combine-extensions: 2.0.0 micromark-util-types: 2.0.0 - micromark-extension-mdx-expression@1.0.8: + micromark-extension-mdx-expression@3.0.0: dependencies: '@types/estree': 1.0.6 - micromark-factory-mdx-expression: 1.0.9 - micromark-factory-space: 1.1.0 - micromark-util-character: 1.2.0 - micromark-util-events-to-acorn: 1.2.3 - micromark-util-symbol: 1.1.0 - micromark-util-types: 1.1.0 - uvu: 0.5.6 + devlop: 1.1.0 + micromark-factory-mdx-expression: 2.0.2 + micromark-factory-space: 2.0.0 + micromark-util-character: 2.1.0 + micromark-util-events-to-acorn: 2.0.2 + micromark-util-symbol: 2.0.0 + micromark-util-types: 2.0.0 - micromark-extension-mdx-jsx@1.0.5: + micromark-extension-mdx-jsx@3.0.1: dependencies: '@types/acorn': 4.0.6 '@types/estree': 1.0.6 - estree-util-is-identifier-name: 2.1.0 - micromark-factory-mdx-expression: 1.0.9 - micromark-factory-space: 1.1.0 - micromark-util-character: 1.2.0 - micromark-util-symbol: 1.1.0 - micromark-util-types: 1.1.0 - uvu: 0.5.6 - vfile-message: 3.1.4 + devlop: 1.1.0 + estree-util-is-identifier-name: 3.0.0 + micromark-factory-mdx-expression: 2.0.2 + micromark-factory-space: 2.0.0 + micromark-util-character: 2.1.0 + micromark-util-events-to-acorn: 2.0.2 + micromark-util-symbol: 2.0.0 + micromark-util-types: 2.0.0 + vfile-message: 4.0.2 - micromark-extension-mdx-md@1.0.1: + micromark-extension-mdx-md@2.0.0: dependencies: - micromark-util-types: 1.1.0 + micromark-util-types: 2.0.0 - micromark-extension-mdxjs-esm@1.0.5: + micromark-extension-mdxjs-esm@3.0.0: dependencies: '@types/estree': 1.0.6 - micromark-core-commonmark: 1.1.0 - micromark-util-character: 1.2.0 - micromark-util-events-to-acorn: 1.2.3 - micromark-util-symbol: 1.1.0 - micromark-util-types: 1.1.0 - unist-util-position-from-estree: 1.1.2 - uvu: 0.5.6 - vfile-message: 3.1.4 + devlop: 1.1.0 + micromark-core-commonmark: 2.0.1 + micromark-util-character: 2.1.0 + micromark-util-events-to-acorn: 2.0.2 + micromark-util-symbol: 2.0.0 + micromark-util-types: 2.0.0 + unist-util-position-from-estree: 2.0.0 + vfile-message: 4.0.2 - micromark-extension-mdxjs@1.0.1: + micromark-extension-mdxjs@3.0.0: dependencies: acorn: 8.14.0 acorn-jsx: 5.3.2(acorn@8.14.0) - micromark-extension-mdx-expression: 1.0.8 - micromark-extension-mdx-jsx: 1.0.5 - micromark-extension-mdx-md: 1.0.1 - micromark-extension-mdxjs-esm: 1.0.5 - micromark-util-combine-extensions: 1.1.0 - micromark-util-types: 1.1.0 - - micromark-factory-destination@1.1.0: - dependencies: - micromark-util-character: 1.2.0 - micromark-util-symbol: 1.1.0 - micromark-util-types: 1.1.0 + micromark-extension-mdx-expression: 3.0.0 + micromark-extension-mdx-jsx: 3.0.1 + micromark-extension-mdx-md: 2.0.0 + micromark-extension-mdxjs-esm: 3.0.0 + micromark-util-combine-extensions: 2.0.0 + micromark-util-types: 2.0.0 micromark-factory-destination@2.0.0: dependencies: @@ -19624,13 +19716,6 @@ snapshots: micromark-util-symbol: 2.0.0 micromark-util-types: 2.0.0 - micromark-factory-label@1.1.0: - dependencies: - micromark-util-character: 1.2.0 - micromark-util-symbol: 1.1.0 - micromark-util-types: 1.1.0 - uvu: 0.5.6 - micromark-factory-label@2.0.0: dependencies: devlop: 1.1.0 @@ -19638,34 +19723,23 @@ snapshots: micromark-util-symbol: 2.0.0 micromark-util-types: 2.0.0 - micromark-factory-mdx-expression@1.0.9: + micromark-factory-mdx-expression@2.0.2: dependencies: '@types/estree': 1.0.6 - micromark-util-character: 1.2.0 - micromark-util-events-to-acorn: 1.2.3 - micromark-util-symbol: 1.1.0 - micromark-util-types: 1.1.0 - unist-util-position-from-estree: 1.1.2 - uvu: 0.5.6 - vfile-message: 3.1.4 - - micromark-factory-space@1.1.0: - dependencies: - micromark-util-character: 1.2.0 - micromark-util-types: 1.1.0 + devlop: 1.1.0 + micromark-factory-space: 2.0.0 + micromark-util-character: 2.1.0 + micromark-util-events-to-acorn: 2.0.2 + micromark-util-symbol: 2.0.0 + micromark-util-types: 2.0.0 + unist-util-position-from-estree: 2.0.0 + vfile-message: 4.0.2 micromark-factory-space@2.0.0: dependencies: micromark-util-character: 2.1.0 micromark-util-types: 2.0.0 - micromark-factory-title@1.1.0: - dependencies: - micromark-factory-space: 1.1.0 - micromark-util-character: 1.2.0 - micromark-util-symbol: 1.1.0 - micromark-util-types: 1.1.0 - micromark-factory-title@2.0.0: dependencies: micromark-factory-space: 2.0.0 @@ -19673,13 +19747,6 @@ snapshots: micromark-util-symbol: 2.0.0 micromark-util-types: 2.0.0 - micromark-factory-whitespace@1.1.0: - dependencies: - micromark-factory-space: 1.1.0 - micromark-util-character: 1.2.0 - micromark-util-symbol: 1.1.0 - micromark-util-types: 1.1.0 - micromark-factory-whitespace@2.0.0: dependencies: micromark-factory-space: 2.0.0 @@ -19687,61 +19754,30 @@ snapshots: micromark-util-symbol: 2.0.0 micromark-util-types: 2.0.0 - micromark-util-character@1.2.0: - dependencies: - micromark-util-symbol: 1.1.0 - micromark-util-types: 1.1.0 - micromark-util-character@2.1.0: dependencies: micromark-util-symbol: 2.0.0 micromark-util-types: 2.0.0 - micromark-util-chunked@1.1.0: - dependencies: - micromark-util-symbol: 1.1.0 - micromark-util-chunked@2.0.0: dependencies: micromark-util-symbol: 2.0.0 - micromark-util-classify-character@1.1.0: - dependencies: - micromark-util-character: 1.2.0 - micromark-util-symbol: 1.1.0 - micromark-util-types: 1.1.0 - micromark-util-classify-character@2.0.0: dependencies: micromark-util-character: 2.1.0 micromark-util-symbol: 2.0.0 micromark-util-types: 2.0.0 - micromark-util-combine-extensions@1.1.0: - dependencies: - micromark-util-chunked: 1.1.0 - micromark-util-types: 1.1.0 - micromark-util-combine-extensions@2.0.0: dependencies: micromark-util-chunked: 2.0.0 micromark-util-types: 2.0.0 - micromark-util-decode-numeric-character-reference@1.1.0: - dependencies: - micromark-util-symbol: 1.1.0 - micromark-util-decode-numeric-character-reference@2.0.1: dependencies: micromark-util-symbol: 2.0.0 - micromark-util-decode-string@1.1.0: - dependencies: - decode-named-character-reference: 1.0.2 - micromark-util-character: 1.2.0 - micromark-util-decode-numeric-character-reference: 1.1.0 - micromark-util-symbol: 1.1.0 - micromark-util-decode-string@2.0.0: dependencies: decode-named-character-reference: 1.0.2 @@ -19749,60 +19785,35 @@ snapshots: micromark-util-decode-numeric-character-reference: 2.0.1 micromark-util-symbol: 2.0.0 - micromark-util-encode@1.1.0: {} - micromark-util-encode@2.0.0: {} - micromark-util-events-to-acorn@1.2.3: + micromark-util-events-to-acorn@2.0.2: dependencies: '@types/acorn': 4.0.6 '@types/estree': 1.0.6 - '@types/unist': 2.0.11 - estree-util-visit: 1.2.1 - micromark-util-symbol: 1.1.0 - micromark-util-types: 1.1.0 - uvu: 0.5.6 - vfile-message: 3.1.4 - - micromark-util-html-tag-name@1.2.0: {} + '@types/unist': 3.0.3 + devlop: 1.1.0 + estree-util-visit: 2.0.0 + micromark-util-symbol: 2.0.0 + micromark-util-types: 2.0.0 + vfile-message: 4.0.2 micromark-util-html-tag-name@2.0.0: {} - micromark-util-normalize-identifier@1.1.0: - dependencies: - micromark-util-symbol: 1.1.0 - micromark-util-normalize-identifier@2.0.0: dependencies: micromark-util-symbol: 2.0.0 - micromark-util-resolve-all@1.1.0: - dependencies: - micromark-util-types: 1.1.0 - micromark-util-resolve-all@2.0.0: dependencies: micromark-util-types: 2.0.0 - micromark-util-sanitize-uri@1.2.0: - dependencies: - micromark-util-character: 1.2.0 - micromark-util-encode: 1.1.0 - micromark-util-symbol: 1.1.0 - micromark-util-sanitize-uri@2.0.0: dependencies: micromark-util-character: 2.1.0 micromark-util-encode: 2.0.0 micromark-util-symbol: 2.0.0 - micromark-util-subtokenize@1.1.0: - dependencies: - micromark-util-chunked: 1.1.0 - micromark-util-symbol: 1.1.0 - micromark-util-types: 1.1.0 - uvu: 0.5.6 - micromark-util-subtokenize@2.0.1: dependencies: devlop: 1.1.0 @@ -19810,12 +19821,8 @@ snapshots: micromark-util-symbol: 2.0.0 micromark-util-types: 2.0.0 - micromark-util-symbol@1.1.0: {} - micromark-util-symbol@2.0.0: {} - micromark-util-types@1.1.0: {} - micromark-util-types@2.0.0: {} micromark@2.11.4: @@ -19825,28 +19832,6 @@ snapshots: transitivePeerDependencies: - supports-color - micromark@3.2.0: - dependencies: - '@types/debug': 4.1.12 - debug: 4.3.7(supports-color@9.4.0) - decode-named-character-reference: 1.0.2 - micromark-core-commonmark: 1.1.0 - micromark-factory-space: 1.1.0 - micromark-util-character: 1.2.0 - micromark-util-chunked: 1.1.0 - micromark-util-combine-extensions: 1.1.0 - micromark-util-decode-numeric-character-reference: 1.1.0 - micromark-util-encode: 1.1.0 - micromark-util-normalize-identifier: 1.1.0 - micromark-util-resolve-all: 1.1.0 - micromark-util-sanitize-uri: 1.2.0 - micromark-util-subtokenize: 1.1.0 - micromark-util-symbol: 1.1.0 - micromark-util-types: 1.1.0 - uvu: 0.5.6 - transitivePeerDependencies: - - supports-color - micromark@4.0.0: dependencies: '@types/debug': 4.1.12 @@ -19942,6 +19927,8 @@ snapshots: is-plain-obj: 1.1.0 kind-of: 6.0.3 + minimist@0.0.10: {} + minimist@1.2.8: {} minipass@2.9.0: @@ -20309,6 +20296,12 @@ snapshots: semver: 7.6.3 validate-npm-package-license: 3.0.4 + normalize-package-data@6.0.2: + dependencies: + hosted-git-info: 7.0.2 + semver: 7.6.3 + validate-npm-package-license: 3.0.4 + normalize-path@2.1.1: dependencies: remove-trailing-separator: 1.1.0 @@ -20329,16 +20322,34 @@ snapshots: dependencies: npm-normalize-package-bin: 1.0.1 + npm-install-checks@6.3.0: + dependencies: + semver: 7.6.3 + npm-normalize-package-bin@1.0.1: {} npm-normalize-package-bin@3.0.1: {} + npm-package-arg@11.0.3: + dependencies: + hosted-git-info: 7.0.2 + proc-log: 4.2.0 + semver: 7.6.3 + validate-npm-package-name: 5.0.1 + npm-packlist@1.4.8: dependencies: ignore-walk: 3.0.4 npm-bundled: 1.1.2 npm-normalize-package-bin: 1.0.1 + npm-pick-manifest@9.1.0: + dependencies: + npm-install-checks: 6.3.0 + npm-normalize-package-bin: 3.0.1 + npm-package-arg: 11.0.3 + semver: 7.6.3 + npm-run-path@4.0.1: dependencies: path-key: 3.1.1 @@ -20493,6 +20504,11 @@ snapshots: dependencies: is-wsl: 1.1.0 + optimist@0.6.1: + dependencies: + minimist: 0.0.10 + wordwrap: 0.0.3 + optionator@0.9.4: dependencies: deep-is: 0.1.4 @@ -20637,6 +20653,10 @@ snapshots: package-json-from-dist@1.0.1: {} + package-json-validator@0.6.8: + dependencies: + optimist: 0.6.1 + package-json@6.5.0: dependencies: got: 9.6.0 @@ -20692,12 +20712,13 @@ snapshots: json-parse-even-better-errors: 2.3.1 lines-and-columns: 1.2.4 - parse-json@6.0.2: + parse-json@7.1.1: dependencies: '@babel/code-frame': 7.26.2 error-ex: 1.3.2 - json-parse-even-better-errors: 2.3.1 + json-parse-even-better-errors: 3.0.2 lines-and-columns: 2.0.4 + type-fest: 3.13.1 parse-ms@2.1.0: {} @@ -20801,8 +20822,6 @@ snapshots: possible-typed-array-names@1.0.0: {} - postcss-media-query-parser@0.2.3: {} - postcss-modules-extract-imports@3.1.0(postcss@8.4.47): dependencies: postcss: 8.4.47 @@ -20826,7 +20845,7 @@ snapshots: postcss-resolve-nested-selector@0.1.6: {} - postcss-safe-parser@6.0.0(postcss@8.4.47): + postcss-safe-parser@7.0.1(postcss@8.4.47): dependencies: postcss: 8.4.47 @@ -20897,10 +20916,14 @@ snapshots: prepend-http@2.0.0: {} - prettier@2.5.1: {} + prettier-linter-helpers@1.0.0: + dependencies: + fast-diff: 1.3.0 prettier@2.8.8: {} + prettier@3.3.3: {} + pretty-error@4.0.0: dependencies: lodash: 4.17.21 @@ -20938,7 +20961,7 @@ snapshots: dependencies: react: 18.3.1 - proc-log@3.0.0: {} + proc-log@4.2.0: {} process-es6@0.11.6: {} @@ -20950,6 +20973,13 @@ snapshots: process@0.11.10: {} + promise-inflight@1.0.1: {} + + promise-retry@2.0.1: + dependencies: + err-code: 2.0.3 + retry: 0.12.0 + prompts@2.4.2: dependencies: kleur: 3.0.3 @@ -21423,18 +21453,10 @@ snapshots: transitivePeerDependencies: - supports-color - remark-mdx@2.3.0: + remark-mdx@3.1.0: dependencies: - mdast-util-mdx: 2.0.1 - micromark-extension-mdxjs: 1.0.1 - transitivePeerDependencies: - - supports-color - - remark-parse@10.0.2: - dependencies: - '@types/mdast': 3.0.15 - mdast-util-from-markdown: 1.3.1 - unified: 10.1.2 + mdast-util-mdx: 3.0.0 + micromark-extension-mdxjs: 3.0.0 transitivePeerDependencies: - supports-color @@ -21447,12 +21469,6 @@ snapshots: transitivePeerDependencies: - supports-color - remark-stringify@10.0.3: - dependencies: - '@types/mdast': 3.0.15 - mdast-util-to-markdown: 1.5.0 - unified: 10.1.2 - remark-stringify@11.0.0: dependencies: '@types/mdast': 4.0.4 @@ -21541,6 +21557,8 @@ snapshots: ret@0.1.15: {} + retry@0.12.0: {} + reusify@1.0.4: {} rfdc@1.4.1: {} @@ -21840,6 +21858,17 @@ snapshots: dependencies: is-plain-obj: 1.1.0 + sort-object-keys@1.1.3: {} + + sort-package-json@1.57.0: + dependencies: + detect-indent: 6.1.0 + detect-newline: 3.1.0 + git-hooks-list: 1.0.3 + globby: 10.0.0 + is-plain-obj: 2.1.0 + sort-object-keys: 1.1.3 + source-map-js@1.2.1: {} source-map-resolve@0.5.3: @@ -21995,6 +22024,12 @@ snapshots: emoji-regex: 9.2.2 strip-ansi: 7.1.0 + string-width@6.1.0: + dependencies: + eastasianwidth: 0.2.0 + emoji-regex: 10.4.0 + strip-ansi: 7.1.0 + string.prototype.includes@2.0.1: dependencies: call-bind: 1.0.7 @@ -22113,54 +22148,64 @@ snapshots: dependencies: webpack: 5.96.1(@swc/core@1.8.0(@swc/helpers@0.5.13))(esbuild@0.23.1) - style-search@0.1.0: {} + stylelint-config-recommended@14.0.1(stylelint@16.10.0(typescript@5.5.4)): + dependencies: + stylelint: 16.10.0(typescript@5.5.4) + + stylelint-config-standard@36.0.1(stylelint@16.10.0(typescript@5.5.4)): + dependencies: + stylelint: 16.10.0(typescript@5.5.4) + stylelint-config-recommended: 14.0.1(stylelint@16.10.0(typescript@5.5.4)) - stylelint-config-recommended@9.0.0(stylelint@14.16.1): + stylelint-prettier@5.0.2(prettier@3.3.3)(stylelint@16.10.0(typescript@5.5.4)): dependencies: - stylelint: 14.16.1 + prettier: 3.3.3 + prettier-linter-helpers: 1.0.0 + stylelint: 16.10.0(typescript@5.5.4) - stylelint@14.16.1: + stylelint@16.10.0(typescript@5.5.4): dependencies: - '@csstools/selector-specificity': 2.2.0(postcss-selector-parser@6.1.2) + '@csstools/css-parser-algorithms': 3.0.4(@csstools/css-tokenizer@3.0.3) + '@csstools/css-tokenizer': 3.0.3 + '@csstools/media-query-list-parser': 3.0.1(@csstools/css-parser-algorithms@3.0.4(@csstools/css-tokenizer@3.0.3))(@csstools/css-tokenizer@3.0.3) + '@csstools/selector-specificity': 4.0.0(postcss-selector-parser@6.1.2) + '@dual-bundle/import-meta-resolve': 4.1.0 balanced-match: 2.0.0 colord: 2.9.3 - cosmiconfig: 7.1.0 + cosmiconfig: 9.0.0(typescript@5.5.4) css-functions-list: 3.2.3 + css-tree: 3.0.1 debug: 4.3.7(supports-color@9.4.0) fast-glob: 3.3.2 fastest-levenshtein: 1.0.16 - file-entry-cache: 6.0.1 + file-entry-cache: 9.1.0 global-modules: 2.0.0 globby: 11.1.0 globjoin: 0.1.4 html-tags: 3.3.1 - ignore: 5.3.2 - import-lazy: 4.0.0 + ignore: 6.0.2 imurmurhash: 0.1.4 is-plain-object: 5.0.0 - known-css-properties: 0.26.0 + known-css-properties: 0.34.0 mathml-tag-names: 2.1.3 - meow: 9.0.0 + meow: 13.2.0 micromatch: 4.0.8 normalize-path: 3.0.0 picocolors: 1.1.1 postcss: 8.4.47 - postcss-media-query-parser: 0.2.3 postcss-resolve-nested-selector: 0.1.6 - postcss-safe-parser: 6.0.0(postcss@8.4.47) + postcss-safe-parser: 7.0.1(postcss@8.4.47) postcss-selector-parser: 6.1.2 postcss-value-parser: 4.2.0 resolve-from: 5.0.0 string-width: 4.2.3 - strip-ansi: 6.0.1 - style-search: 0.1.0 - supports-hyperlinks: 2.3.0 + supports-hyperlinks: 3.1.0 svg-tags: 1.0.0 table: 6.8.2 - v8-compile-cache: 2.4.0 - write-file-atomic: 4.0.2 + write-file-atomic: 5.0.1 transitivePeerDependencies: - supports-color + - typescript supports-color@0.2.0: {} @@ -22185,6 +22230,11 @@ snapshots: has-flag: 4.0.0 supports-color: 7.2.0 + supports-hyperlinks@3.1.0: + dependencies: + has-flag: 4.0.0 + supports-color: 7.2.0 + supports-preserve-symlinks-flag@1.0.0: {} svg-parser@2.0.4: {} @@ -22393,11 +22443,6 @@ snapshots: regex-not: 1.0.2 safe-regex: 1.1.0 - to-vfile@7.2.4: - dependencies: - is-buffer: 2.0.5 - vfile: 5.3.7 - toidentifier@1.0.1: {} toml@3.0.0: {} @@ -22558,6 +22603,8 @@ snapshots: type-fest@2.19.0: {} + type-fest@3.13.1: {} + type-is@1.6.18: dependencies: media-typer: 0.3.0 @@ -22623,8 +22670,6 @@ snapshots: buffer: 5.7.1 through: 2.3.8 - undici-types@5.26.5: {} - undici-types@6.19.8: {} unicode-canonical-property-names-ecmascript@2.0.1: {} @@ -22638,43 +22683,33 @@ snapshots: unicode-property-aliases-ecmascript@2.1.0: {} - unified-engine@10.1.0: + unified-engine@11.2.2: dependencies: '@types/concat-stream': 2.0.3 '@types/debug': 4.1.12 '@types/is-empty': 1.2.3 - '@types/node': 18.19.64 - '@types/unist': 2.0.11 + '@types/node': 22.9.0 + '@types/unist': 3.0.3 concat-stream: 2.0.0 debug: 4.3.7(supports-color@9.4.0) - fault: 2.0.1 - glob: 8.1.0 - ignore: 5.3.2 - is-buffer: 2.0.5 + extend: 3.0.2 + glob: 10.4.5 + ignore: 6.0.2 is-empty: 1.2.0 is-plain-obj: 4.1.0 - load-plugin: 5.1.0 - parse-json: 6.0.2 - to-vfile: 7.2.4 + load-plugin: 6.0.3 + parse-json: 7.1.1 trough: 2.2.0 - unist-util-inspect: 7.0.2 - vfile-message: 3.1.4 - vfile-reporter: 7.0.5 - vfile-statistics: 2.0.1 + unist-util-inspect: 8.1.0 + vfile: 6.0.3 + vfile-message: 4.0.2 + vfile-reporter: 8.1.1 + vfile-statistics: 3.0.0 yaml: 2.6.0 transitivePeerDependencies: + - bluebird - supports-color - unified@10.1.2: - dependencies: - '@types/unist': 2.0.11 - bail: 2.0.2 - extend: 3.0.2 - is-buffer: 2.0.5 - is-plain-obj: 4.1.0 - trough: 2.2.0 - vfile: 5.3.7 - unified@11.0.5: dependencies: '@types/unist': 3.0.3 @@ -22698,55 +22733,31 @@ snapshots: dependencies: crypto-random-string: 2.0.0 - unist-util-inspect@7.0.2: + unist-util-inspect@8.1.0: dependencies: - '@types/unist': 2.0.11 - - unist-util-is@5.2.1: - dependencies: - '@types/unist': 2.0.11 + '@types/unist': 3.0.3 unist-util-is@6.0.0: dependencies: '@types/unist': 3.0.3 - unist-util-position-from-estree@1.1.2: - dependencies: - '@types/unist': 2.0.11 - - unist-util-remove-position@4.0.2: + unist-util-position-from-estree@2.0.0: dependencies: - '@types/unist': 2.0.11 - unist-util-visit: 4.1.2 + '@types/unist': 3.0.3 unist-util-stringify-position@2.0.3: dependencies: '@types/unist': 2.0.11 - unist-util-stringify-position@3.0.3: - dependencies: - '@types/unist': 2.0.11 - unist-util-stringify-position@4.0.0: dependencies: '@types/unist': 3.0.3 - unist-util-visit-parents@5.1.3: - dependencies: - '@types/unist': 2.0.11 - unist-util-is: 5.2.1 - unist-util-visit-parents@6.0.1: dependencies: '@types/unist': 3.0.3 unist-util-is: 6.0.0 - unist-util-visit@4.1.2: - dependencies: - '@types/unist': 2.0.11 - unist-util-is: 5.2.1 - unist-util-visit-parents: 5.1.3 - unist-util-visit@5.0.0: dependencies: '@types/unist': 3.0.3 @@ -22874,8 +22885,6 @@ snapshots: kleur: 4.1.5 sade: 1.8.1 - v8-compile-cache@2.4.0: {} - v8-to-istanbul@9.3.0: dependencies: '@jridgewell/trace-mapping': 0.3.25 @@ -22891,45 +22900,35 @@ snapshots: dependencies: builtins: 5.1.0 - vary@1.1.2: {} + validate-npm-package-name@5.0.1: {} - vfile-message@3.1.4: - dependencies: - '@types/unist': 2.0.11 - unist-util-stringify-position: 3.0.3 + vary@1.1.2: {} vfile-message@4.0.2: dependencies: '@types/unist': 3.0.3 unist-util-stringify-position: 4.0.0 - vfile-reporter@7.0.5: + vfile-reporter@8.1.1: dependencies: '@types/supports-color': 8.1.3 - string-width: 5.1.2 + string-width: 6.1.0 supports-color: 9.4.0 - unist-util-stringify-position: 3.0.3 - vfile: 5.3.7 - vfile-message: 3.1.4 - vfile-sort: 3.0.1 - vfile-statistics: 2.0.1 - - vfile-sort@3.0.1: - dependencies: - vfile: 5.3.7 - vfile-message: 3.1.4 + unist-util-stringify-position: 4.0.0 + vfile: 6.0.3 + vfile-message: 4.0.2 + vfile-sort: 4.0.0 + vfile-statistics: 3.0.0 - vfile-statistics@2.0.1: + vfile-sort@4.0.0: dependencies: - vfile: 5.3.7 - vfile-message: 3.1.4 + vfile: 6.0.3 + vfile-message: 4.0.2 - vfile@5.3.7: + vfile-statistics@3.0.0: dependencies: - '@types/unist': 2.0.11 - is-buffer: 2.0.5 - unist-util-stringify-position: 3.0.3 - vfile-message: 3.1.4 + vfile: 6.0.3 + vfile-message: 4.0.2 vfile@6.0.3: dependencies: @@ -23095,9 +23094,13 @@ snapshots: dependencies: isexe: 2.0.0 + which@4.0.0: + dependencies: + isexe: 3.1.1 + wide-align@1.1.5: dependencies: - string-width: 1.0.2 + string-width: 4.2.3 widest-line@3.1.0: dependencies: @@ -23133,6 +23136,8 @@ snapshots: word-wrap@1.2.5: {} + wordwrap@0.0.3: {} + wrap-ansi@3.0.1: dependencies: string-width: 2.1.1 @@ -23170,6 +23175,11 @@ snapshots: imurmurhash: 0.1.4 signal-exit: 3.0.7 + write-file-atomic@5.0.1: + dependencies: + imurmurhash: 0.1.4 + signal-exit: 4.1.0 + ws@8.18.0: {} xdg-basedir@4.0.0: {} @@ -23192,6 +23202,12 @@ snapshots: yallist@4.0.0: {} + yaml-eslint-parser@1.2.3: + dependencies: + eslint-visitor-keys: 3.4.3 + lodash: 4.17.21 + yaml: 2.6.0 + yaml@1.10.2: {} yaml@2.6.0: {} diff --git a/tsconfig.build.json b/tsconfig.build.json index 127130e67..2de80af9e 100644 --- a/tsconfig.build.json +++ b/tsconfig.build.json @@ -1,6 +1,6 @@ { "$schema": "https://json.schemastore.org/tsconfig", - "extends": "@sharegate/typescript-config/react-library.json", + "extends": "@workleap/typescript-configs/library.json", "compilerOptions": { "strict": false, "noFallthroughCasesInSwitch": false From a6f3057afdfe1df85d193e01ebb1056b474e95c2 Mon Sep 17 00:00:00 2001 From: Alexandre Asselin <alexandre.asselin@gsoft.com> Date: Thu, 7 Nov 2024 09:54:12 -0500 Subject: [PATCH 78/95] Fix all import paths extensions except paths such as component/* --- .storybook/components/banner/index.ts | 2 +- .../components/checkered-background/index.ts | 2 +- .storybook/components/component-info/index.ts | 2 +- .storybook/components/external-link/index.ts | 2 +- .storybook/components/github-link/index.ts | 4 +- .storybook/components/index.ts | 20 ++-- .storybook/components/link/index.ts | 2 +- .storybook/components/snippet/index.ts | 2 +- .storybook/components/table/index.ts | 2 +- .storybook/components/tagline/index.ts | 2 +- .storybook/components/themed-snippet/index.ts | 2 +- .storybook/decorators/index.ts | 8 +- .storybook/mdx/highlight/index.ts | 2 +- .storybook/mdx/index.ts | 2 +- .storybook/storybook-addon/index.ts | 6 +- packages/bundle/tsconfig.build.json | 2 +- packages/components/src/accordion/index.ts | 2 +- .../components/src/accordion/src/index.ts | 8 +- packages/components/src/alert/index.ts | 2 +- packages/components/src/alert/src/index.ts | 4 +- packages/components/src/autocomplete/index.ts | 2 +- .../components/src/autocomplete/src/index.ts | 4 +- packages/components/src/avatar/index.ts | 2 +- packages/components/src/avatar/src/index.ts | 8 +- packages/components/src/badge/index.ts | 2 +- packages/components/src/badge/src/index.ts | 2 +- packages/components/src/box/index.ts | 2 +- packages/components/src/box/src/index.ts | 2 +- packages/components/src/button/index.ts | 2 +- packages/components/src/button/src/index.ts | 16 +-- packages/components/src/card/index.ts | 2 +- packages/components/src/card/src/index.ts | 2 +- packages/components/src/checkbox/index.ts | 2 +- packages/components/src/checkbox/src/index.ts | 6 +- packages/components/src/collection/index.ts | 2 +- .../components/src/collection/src/index.ts | 18 +-- packages/components/src/counter/index.ts | 2 +- packages/components/src/counter/src/index.ts | 2 +- packages/components/src/date-input/index.ts | 2 +- .../components/src/date-input/src/index.ts | 4 +- packages/components/src/dialog/index.ts | 2 +- packages/components/src/dialog/src/index.ts | 6 +- packages/components/src/disclosure/index.ts | 2 +- .../components/src/disclosure/src/index.ts | 6 +- packages/components/src/divider/index.ts | 2 +- packages/components/src/divider/src/index.ts | 2 +- packages/components/src/dot/index.ts | 2 +- packages/components/src/dot/src/index.ts | 2 +- packages/components/src/field/index.ts | 2 +- packages/components/src/field/src/index.ts | 14 +-- packages/components/src/form/index.ts | 2 +- packages/components/src/form/src/index.ts | 10 +- packages/components/src/group/index.ts | 2 +- packages/components/src/group/src/index.ts | 2 +- packages/components/src/html/index.ts | 2 +- packages/components/src/icons/src/index.ts | 2 +- .../src/illustrated-message/index.ts | 2 +- .../src/illustrated-message/src/index.ts | 2 +- packages/components/src/illustration/index.ts | 2 +- .../components/src/illustration/src/index.ts | 2 +- .../components/src/image/docs/assets/index.ts | 2 +- packages/components/src/image/index.ts | 2 +- packages/components/src/image/src/index.ts | 6 +- packages/components/src/index.ts | 106 +++++++++--------- packages/components/src/input-group/index.ts | 2 +- .../components/src/input-group/src/index.ts | 6 +- packages/components/src/input/index.ts | 2 +- packages/components/src/input/src/index.ts | 12 +- packages/components/src/layout/index.ts | 2 +- packages/components/src/layout/src/index.ts | 8 +- packages/components/src/link/index.ts | 2 +- packages/components/src/link/src/index.ts | 8 +- packages/components/src/listbox/index.ts | 2 +- packages/components/src/listbox/src/index.ts | 8 +- packages/components/src/loader/index.ts | 2 +- packages/components/src/loader/src/index.ts | 2 +- packages/components/src/lozenge/index.ts | 2 +- packages/components/src/lozenge/src/index.ts | 2 +- packages/components/src/menu/index.ts | 2 +- packages/components/src/menu/src/index.ts | 12 +- packages/components/src/modal/index.ts | 2 +- packages/components/src/modal/src/index.ts | 6 +- packages/components/src/number-input/index.ts | 2 +- .../components/src/number-input/src/index.ts | 2 +- packages/components/src/overlay/index.ts | 2 +- packages/components/src/overlay/src/index.ts | 32 +++--- packages/components/src/placeholders/index.ts | 2 +- .../components/src/placeholders/src/index.ts | 6 +- packages/components/src/popover/index.ts | 2 +- packages/components/src/popover/src/index.ts | 6 +- packages/components/src/radio/index.ts | 2 +- packages/components/src/radio/src/index.ts | 4 +- packages/components/src/select/index.ts | 2 +- packages/components/src/select/src/index.ts | 6 +- packages/components/src/shared/index.ts | 2 +- packages/components/src/shared/src/index.ts | 78 ++++++------- packages/components/src/spinner/index.ts | 2 +- packages/components/src/spinner/src/index.ts | 2 +- packages/components/src/styling/index.ts | 2 +- packages/components/src/styling/src/index.ts | 18 +-- .../src/styling/src/styled-system/index.ts | 8 +- .../src/styling/src/theming/index.ts | 4 +- packages/components/src/switch/index.ts | 2 +- packages/components/src/switch/src/index.ts | 2 +- packages/components/src/tabs/index.ts | 2 +- packages/components/src/tabs/src/index.ts | 12 +- packages/components/src/tag/index.ts | 2 +- packages/components/src/tag/src/index.ts | 4 +- packages/components/src/text-area/index.ts | 2 +- .../components/src/text-area/src/index.ts | 2 +- packages/components/src/text-input/index.ts | 2 +- .../components/src/text-input/src/index.ts | 6 +- packages/components/src/tile/index.ts | 2 +- packages/components/src/tile/src/index.ts | 8 +- packages/components/src/toolbar/index.ts | 2 +- packages/components/src/toolbar/src/index.ts | 4 +- packages/components/src/tooltip/index.ts | 2 +- packages/components/src/tooltip/src/index.ts | 6 +- packages/components/src/transition/index.ts | 2 +- .../components/src/transition/src/index.ts | 2 +- packages/components/src/typography/index.ts | 2 +- .../components/src/typography/src/index.ts | 6 +- .../components/src/visually-hidden/index.ts | 2 +- .../src/visually-hidden/src/index.ts | 2 +- tooling/test-utils/index.ts | 6 +- tsconfig.json | 13 +-- 126 files changed, 353 insertions(+), 354 deletions(-) diff --git a/.storybook/components/banner/index.ts b/.storybook/components/banner/index.ts index 630d3e35f..94b57987f 100644 --- a/.storybook/components/banner/index.ts +++ b/.storybook/components/banner/index.ts @@ -1 +1 @@ -export * from "./Banner"; +export * from "./Banner.tsx"; diff --git a/.storybook/components/checkered-background/index.ts b/.storybook/components/checkered-background/index.ts index a32cc49d1..9f81aea88 100644 --- a/.storybook/components/checkered-background/index.ts +++ b/.storybook/components/checkered-background/index.ts @@ -1 +1 @@ -export * from "./CheckeredBackground"; +export * from "./CheckeredBackground.tsx"; diff --git a/.storybook/components/component-info/index.ts b/.storybook/components/component-info/index.ts index 99e79df05..7bd8e2eb3 100644 --- a/.storybook/components/component-info/index.ts +++ b/.storybook/components/component-info/index.ts @@ -1 +1 @@ -export * from "./ComponentInfo"; +export * from "./ComponentInfo.tsx"; diff --git a/.storybook/components/external-link/index.ts b/.storybook/components/external-link/index.ts index 7c091aa42..f0d174db2 100644 --- a/.storybook/components/external-link/index.ts +++ b/.storybook/components/external-link/index.ts @@ -1 +1 @@ -export * from "./ExternalLink"; +export * from "./ExternalLink.tsx"; diff --git a/.storybook/components/github-link/index.ts b/.storybook/components/github-link/index.ts index 9ab0aacb9..aca080018 100644 --- a/.storybook/components/github-link/index.ts +++ b/.storybook/components/github-link/index.ts @@ -1,2 +1,2 @@ -export * from "./GithubLink"; -export * from "./getGithubUrl"; +export * from "./GithubLink.tsx"; +export * from "./getGithubUrl.ts"; diff --git a/.storybook/components/index.ts b/.storybook/components/index.ts index 4374d253e..d3d297a99 100644 --- a/.storybook/components/index.ts +++ b/.storybook/components/index.ts @@ -1,10 +1,10 @@ -export * from "./checkered-background"; -export * from "./external-link"; -export * from "./github-link"; -export * from "./link"; -export * from "./table"; -export * from "./tagline"; -export * from "./component-info"; -export * from "./snippet"; -export * from "./themed-snippet"; -export * from "./banner"; +export * from "./checkered-background/index.ts"; +export * from "./external-link/index.ts"; +export * from "./github-link/index.ts"; +export * from "./link/index.ts"; +export * from "./table/index.ts"; +export * from "./tagline/index.ts"; +export * from "./component-info/index.ts"; +export * from "./snippet/index.ts"; +export * from "./themed-snippet/index.ts"; +export * from "./banner/index.ts"; diff --git a/.storybook/components/link/index.ts b/.storybook/components/link/index.ts index 3b40a46d8..aa093e9b1 100644 --- a/.storybook/components/link/index.ts +++ b/.storybook/components/link/index.ts @@ -1 +1 @@ -export * from "./Link"; +export * from "./Link.tsx"; diff --git a/.storybook/components/snippet/index.ts b/.storybook/components/snippet/index.ts index b6cffffeb..e93908dfd 100644 --- a/.storybook/components/snippet/index.ts +++ b/.storybook/components/snippet/index.ts @@ -1 +1 @@ -export * from "./useFormattedCode"; +export * from "./useFormattedCode.ts"; diff --git a/.storybook/components/table/index.ts b/.storybook/components/table/index.ts index e40efa476..bc32f6b68 100644 --- a/.storybook/components/table/index.ts +++ b/.storybook/components/table/index.ts @@ -1 +1 @@ -export * from "./Table"; +export * from "./Table.tsx"; diff --git a/.storybook/components/tagline/index.ts b/.storybook/components/tagline/index.ts index e2fb0119b..5e8bb0f42 100644 --- a/.storybook/components/tagline/index.ts +++ b/.storybook/components/tagline/index.ts @@ -1 +1 @@ -export * from "./Tagline"; +export * from "./Tagline.tsx"; diff --git a/.storybook/components/themed-snippet/index.ts b/.storybook/components/themed-snippet/index.ts index 69429454f..cc62e4ea1 100644 --- a/.storybook/components/themed-snippet/index.ts +++ b/.storybook/components/themed-snippet/index.ts @@ -1 +1 @@ -export * from "./useThemedSnippet"; +export * from "./useThemedSnippet.ts"; diff --git a/.storybook/decorators/index.ts b/.storybook/decorators/index.ts index 82a96af0c..e405d2a3c 100644 --- a/.storybook/decorators/index.ts +++ b/.storybook/decorators/index.ts @@ -1,4 +1,4 @@ -export * from "./withCenteredCanvas"; -export * from "./withBackgroundMatchingColorScheme"; -export * from "./withThemeProvider"; -export * from "./withDocsContainer"; +export * from "./withCenteredCanvas.tsx"; +export * from "./withBackgroundMatchingColorScheme.tsx"; +export * from "./withThemeProvider.tsx"; +export * from "./withDocsContainer.tsx"; diff --git a/.storybook/mdx/highlight/index.ts b/.storybook/mdx/highlight/index.ts index 856836226..17829a9a6 100644 --- a/.storybook/mdx/highlight/index.ts +++ b/.storybook/mdx/highlight/index.ts @@ -1 +1 @@ -export * from "./Highlight"; +export * from "./Highlight.tsx"; diff --git a/.storybook/mdx/index.ts b/.storybook/mdx/index.ts index d90b37cc0..f0a73057f 100644 --- a/.storybook/mdx/index.ts +++ b/.storybook/mdx/index.ts @@ -1 +1 @@ -export * from "./highlight"; +export * from "./highlight/index.ts"; diff --git a/.storybook/storybook-addon/index.ts b/.storybook/storybook-addon/index.ts index ee10d0ce7..823ce222d 100644 --- a/.storybook/storybook-addon/index.ts +++ b/.storybook/storybook-addon/index.ts @@ -1,4 +1,4 @@ -export * from "./withHopperProvider"; -export * from "./viewports"; -export * from "./a11y"; +export * from "./withHopperProvider.tsx"; +export * from "./viewports.ts"; +export * from "./a11y.ts"; diff --git a/packages/bundle/tsconfig.build.json b/packages/bundle/tsconfig.build.json index dcfc2f346..7f7c4512e 100644 --- a/packages/bundle/tsconfig.build.json +++ b/packages/bundle/tsconfig.build.json @@ -6,7 +6,7 @@ "outDir": "./dist", "baseUrl": ".", "paths": { - "@orbit-ui/transition-components": ["../components/src"], + "@orbit-ui/transition-components": ["../components/src/index.ts"], } }, "include": [ diff --git a/packages/components/src/accordion/index.ts b/packages/components/src/accordion/index.ts index 3bd16e178..401c73ac2 100644 --- a/packages/components/src/accordion/index.ts +++ b/packages/components/src/accordion/index.ts @@ -1 +1 @@ -export * from "./src"; +export * from "./src/index.ts"; diff --git a/packages/components/src/accordion/src/index.ts b/packages/components/src/accordion/src/index.ts index 0128db6e8..abcabcc0c 100644 --- a/packages/components/src/accordion/src/index.ts +++ b/packages/components/src/accordion/src/index.ts @@ -1,4 +1,4 @@ -export * from "./Accordion"; -export * from "./AccordionHeader"; -export * from "./AccordionPanel"; -export * from "./AccordionContext"; +export * from "./Accordion.tsx"; +export * from "./AccordionHeader.tsx"; +export * from "./AccordionPanel.tsx"; +export * from "./AccordionContext.tsx"; diff --git a/packages/components/src/alert/index.ts b/packages/components/src/alert/index.ts index 3bd16e178..401c73ac2 100644 --- a/packages/components/src/alert/index.ts +++ b/packages/components/src/alert/index.ts @@ -1 +1 @@ -export * from "./src"; +export * from "./src/index.ts"; diff --git a/packages/components/src/alert/src/index.ts b/packages/components/src/alert/src/index.ts index cafc2c154..6078fbe5f 100644 --- a/packages/components/src/alert/src/index.ts +++ b/packages/components/src/alert/src/index.ts @@ -1,2 +1,2 @@ -export * from "./Alert"; -export * from "./AlertTrigger"; +export * from "./Alert.tsx"; +export * from "./AlertTrigger.tsx"; diff --git a/packages/components/src/autocomplete/index.ts b/packages/components/src/autocomplete/index.ts index 3bd16e178..401c73ac2 100644 --- a/packages/components/src/autocomplete/index.ts +++ b/packages/components/src/autocomplete/index.ts @@ -1 +1 @@ -export * from "./src"; +export * from "./src/index.ts"; diff --git a/packages/components/src/autocomplete/src/index.ts b/packages/components/src/autocomplete/src/index.ts index c9a74959b..1ac0eae22 100644 --- a/packages/components/src/autocomplete/src/index.ts +++ b/packages/components/src/autocomplete/src/index.ts @@ -1,2 +1,2 @@ -export * from "./Autocomplete"; -export * from "./HiddenAutocomplete"; +export * from "./Autocomplete.tsx"; +export * from "./HiddenAutocomplete.tsx"; diff --git a/packages/components/src/avatar/index.ts b/packages/components/src/avatar/index.ts index 3bd16e178..401c73ac2 100644 --- a/packages/components/src/avatar/index.ts +++ b/packages/components/src/avatar/index.ts @@ -1 +1 @@ -export * from "./src"; +export * from "./src/index.ts"; diff --git a/packages/components/src/avatar/src/index.ts b/packages/components/src/avatar/src/index.ts index c5b84b7e6..b8ccd3d27 100644 --- a/packages/components/src/avatar/src/index.ts +++ b/packages/components/src/avatar/src/index.ts @@ -1,4 +1,4 @@ -export * from "./Avatar"; -export * from "./AvatarGroup"; -export * from "./DeletedAvatar"; -export * from "./AnonymousAvatar"; +export * from "./Avatar.tsx"; +export * from "./AvatarGroup.tsx"; +export * from "./DeletedAvatar.tsx"; +export * from "./AnonymousAvatar.tsx"; diff --git a/packages/components/src/badge/index.ts b/packages/components/src/badge/index.ts index 3bd16e178..401c73ac2 100644 --- a/packages/components/src/badge/index.ts +++ b/packages/components/src/badge/index.ts @@ -1 +1 @@ -export * from "./src"; +export * from "./src/index.ts"; diff --git a/packages/components/src/badge/src/index.ts b/packages/components/src/badge/src/index.ts index ae21190ba..b63eb51b1 100644 --- a/packages/components/src/badge/src/index.ts +++ b/packages/components/src/badge/src/index.ts @@ -1 +1 @@ -export * from "./Badge"; +export * from "./Badge.tsx"; diff --git a/packages/components/src/box/index.ts b/packages/components/src/box/index.ts index 3bd16e178..401c73ac2 100644 --- a/packages/components/src/box/index.ts +++ b/packages/components/src/box/index.ts @@ -1 +1 @@ -export * from "./src"; +export * from "./src/index.ts"; diff --git a/packages/components/src/box/src/index.ts b/packages/components/src/box/src/index.ts index 2a063cc17..76e7cc19d 100644 --- a/packages/components/src/box/src/index.ts +++ b/packages/components/src/box/src/index.ts @@ -1 +1 @@ -export * from "./Box"; +export * from "./Box.tsx"; diff --git a/packages/components/src/button/index.ts b/packages/components/src/button/index.ts index 3bd16e178..401c73ac2 100644 --- a/packages/components/src/button/index.ts +++ b/packages/components/src/button/index.ts @@ -1 +1 @@ -export * from "./src"; +export * from "./src/index.ts"; diff --git a/packages/components/src/button/src/index.ts b/packages/components/src/button/src/index.ts index aed9062b5..bbf68fa83 100644 --- a/packages/components/src/button/src/index.ts +++ b/packages/components/src/button/src/index.ts @@ -1,8 +1,8 @@ -export * from "./Button"; -export * from "./IconButton"; -export * from "./ButtonGroup"; -export * from "./ToggleButton"; -export * from "./ToggleIconButton"; -export * from "./CrossButton"; -export type { ButtonVariant } from "./useButton"; -export type { ToggleButtonVariant } from "./useToggleButton"; +export * from "./Button.tsx"; +export * from "./IconButton.tsx"; +export * from "./ButtonGroup.tsx"; +export * from "./ToggleButton.tsx"; +export * from "./ToggleIconButton.tsx"; +export * from "./CrossButton.tsx"; +export type { ButtonVariant } from "./useButton.ts"; +export type { ToggleButtonVariant } from "./useToggleButton.ts"; diff --git a/packages/components/src/card/index.ts b/packages/components/src/card/index.ts index 3bd16e178..401c73ac2 100644 --- a/packages/components/src/card/index.ts +++ b/packages/components/src/card/index.ts @@ -1 +1 @@ -export * from "./src"; +export * from "./src/index.ts"; diff --git a/packages/components/src/card/src/index.ts b/packages/components/src/card/src/index.ts index 24d321246..d8262b271 100644 --- a/packages/components/src/card/src/index.ts +++ b/packages/components/src/card/src/index.ts @@ -1 +1 @@ -export * from "./Card"; +export * from "./Card.tsx"; diff --git a/packages/components/src/checkbox/index.ts b/packages/components/src/checkbox/index.ts index 3bd16e178..401c73ac2 100644 --- a/packages/components/src/checkbox/index.ts +++ b/packages/components/src/checkbox/index.ts @@ -1 +1 @@ -export * from "./src"; +export * from "./src/index.ts"; diff --git a/packages/components/src/checkbox/src/index.ts b/packages/components/src/checkbox/src/index.ts index c0e88f5c7..da8983b83 100644 --- a/packages/components/src/checkbox/src/index.ts +++ b/packages/components/src/checkbox/src/index.ts @@ -1,3 +1,3 @@ -export * from "./Checkbox"; -export * from "./CheckboxGroup"; -export * from "./useCheckbox"; +export * from "./Checkbox.tsx"; +export * from "./CheckboxGroup.tsx"; +export * from "./useCheckbox.ts"; diff --git a/packages/components/src/collection/index.ts b/packages/components/src/collection/index.ts index 3bd16e178..401c73ac2 100644 --- a/packages/components/src/collection/index.ts +++ b/packages/components/src/collection/index.ts @@ -1 +1 @@ -export * from "./src"; +export * from "./src/index.ts"; diff --git a/packages/components/src/collection/src/index.ts b/packages/components/src/collection/src/index.ts index 6c0d94d0f..525caf9fe 100644 --- a/packages/components/src/collection/src/index.ts +++ b/packages/components/src/collection/src/index.ts @@ -1,9 +1,9 @@ -export * from "./useCollection"; -export * from "./useOnlyCollectionItems"; -export * from "./useCollectionSearch"; -export * from "./useAsyncSearch"; -export * from "./useScrollableCollection"; -export * from "./getItemText"; -export * from "./reduceCollection"; -export * from "./Item"; -export * from "./Section"; +export * from "./useCollection.ts"; +export * from "./useOnlyCollectionItems.ts"; +export * from "./useCollectionSearch.ts"; +export * from "./useAsyncSearch.ts"; +export * from "./useScrollableCollection.ts"; +export * from "./getItemText.tsx"; +export * from "./reduceCollection.ts"; +export * from "./Item.tsx"; +export * from "./Section.tsx"; diff --git a/packages/components/src/counter/index.ts b/packages/components/src/counter/index.ts index 3bd16e178..401c73ac2 100644 --- a/packages/components/src/counter/index.ts +++ b/packages/components/src/counter/index.ts @@ -1 +1 @@ -export * from "./src"; +export * from "./src/index.ts"; diff --git a/packages/components/src/counter/src/index.ts b/packages/components/src/counter/src/index.ts index f32fe91f8..b89c7437a 100644 --- a/packages/components/src/counter/src/index.ts +++ b/packages/components/src/counter/src/index.ts @@ -1 +1 @@ -export * from "./Counter"; +export * from "./Counter.tsx"; diff --git a/packages/components/src/date-input/index.ts b/packages/components/src/date-input/index.ts index 3bd16e178..401c73ac2 100644 --- a/packages/components/src/date-input/index.ts +++ b/packages/components/src/date-input/index.ts @@ -1 +1 @@ -export * from "./src"; +export * from "./src/index.ts"; diff --git a/packages/components/src/date-input/src/index.ts b/packages/components/src/date-input/src/index.ts index ac3a20ab2..92a59f9e0 100644 --- a/packages/components/src/date-input/src/index.ts +++ b/packages/components/src/date-input/src/index.ts @@ -1,2 +1,2 @@ -export * from "./DateInput"; -export * from "./DateRangeInput"; +export * from "./DateInput.tsx"; +export * from "./DateRangeInput.tsx"; diff --git a/packages/components/src/dialog/index.ts b/packages/components/src/dialog/index.ts index 3bd16e178..401c73ac2 100644 --- a/packages/components/src/dialog/index.ts +++ b/packages/components/src/dialog/index.ts @@ -1 +1 @@ -export * from "./src"; +export * from "./src/index.ts"; diff --git a/packages/components/src/dialog/src/index.ts b/packages/components/src/dialog/src/index.ts index f0628798f..fbd2181b0 100644 --- a/packages/components/src/dialog/src/index.ts +++ b/packages/components/src/dialog/src/index.ts @@ -1,3 +1,3 @@ -export * from "./Dialog"; -export * from "./DialogTrigger"; -export * from "./DialogTriggerContext"; +export * from "./Dialog.tsx"; +export * from "./DialogTrigger.tsx"; +export * from "./DialogTriggerContext.ts"; diff --git a/packages/components/src/disclosure/index.ts b/packages/components/src/disclosure/index.ts index 3bd16e178..401c73ac2 100644 --- a/packages/components/src/disclosure/index.ts +++ b/packages/components/src/disclosure/index.ts @@ -1 +1 @@ -export * from "./src"; +export * from "./src/index.ts"; diff --git a/packages/components/src/disclosure/src/index.ts b/packages/components/src/disclosure/src/index.ts index f9629679f..5191b9280 100644 --- a/packages/components/src/disclosure/src/index.ts +++ b/packages/components/src/disclosure/src/index.ts @@ -1,3 +1,3 @@ -export * from "./Disclosure"; -export * from "./DisclosureArrow"; -export * from "./DisclosureContext"; +export * from "./Disclosure.tsx"; +export * from "./DisclosureArrow.tsx"; +export * from "./DisclosureContext.ts"; diff --git a/packages/components/src/divider/index.ts b/packages/components/src/divider/index.ts index 3bd16e178..401c73ac2 100644 --- a/packages/components/src/divider/index.ts +++ b/packages/components/src/divider/index.ts @@ -1 +1 @@ -export * from "./src"; +export * from "./src/index.ts"; diff --git a/packages/components/src/divider/src/index.ts b/packages/components/src/divider/src/index.ts index dde73a62c..b895149fe 100644 --- a/packages/components/src/divider/src/index.ts +++ b/packages/components/src/divider/src/index.ts @@ -1 +1 @@ -export * from "./Divider"; +export * from "./Divider.tsx"; diff --git a/packages/components/src/dot/index.ts b/packages/components/src/dot/index.ts index 3bd16e178..401c73ac2 100644 --- a/packages/components/src/dot/index.ts +++ b/packages/components/src/dot/index.ts @@ -1 +1 @@ -export * from "./src"; +export * from "./src/index.ts"; diff --git a/packages/components/src/dot/src/index.ts b/packages/components/src/dot/src/index.ts index bec96f934..fd00b0753 100644 --- a/packages/components/src/dot/src/index.ts +++ b/packages/components/src/dot/src/index.ts @@ -1 +1 @@ -export * from "./Dot"; +export * from "./Dot.tsx"; diff --git a/packages/components/src/field/index.ts b/packages/components/src/field/index.ts index 3bd16e178..401c73ac2 100644 --- a/packages/components/src/field/index.ts +++ b/packages/components/src/field/index.ts @@ -1 +1 @@ -export * from "./src"; +export * from "./src/index.ts"; diff --git a/packages/components/src/field/src/index.ts b/packages/components/src/field/src/index.ts index 95cbed22d..cc529520a 100644 --- a/packages/components/src/field/src/index.ts +++ b/packages/components/src/field/src/index.ts @@ -1,7 +1,7 @@ -export * from "./Field"; -export * from "./GroupField"; -export * from "./Label"; -export * from "./HelpMessage"; -export * from "./ErrorMessage"; -export * from "./ValidMessage"; -export * from "./FieldContext"; +export * from "./Field.tsx"; +export * from "./GroupField.tsx"; +export * from "./Label.tsx"; +export * from "./HelpMessage.tsx"; +export * from "./ErrorMessage.tsx"; +export * from "./ValidMessage.tsx"; +export * from "./FieldContext.tsx"; diff --git a/packages/components/src/form/index.ts b/packages/components/src/form/index.ts index 3bd16e178..401c73ac2 100644 --- a/packages/components/src/form/index.ts +++ b/packages/components/src/form/index.ts @@ -1 +1 @@ -export * from "./src"; +export * from "./src/index.ts"; diff --git a/packages/components/src/form/src/index.ts b/packages/components/src/form/src/index.ts index 5c785aa9f..d3c6ed763 100644 --- a/packages/components/src/form/src/index.ts +++ b/packages/components/src/form/src/index.ts @@ -1,5 +1,5 @@ -export * from "./Form"; -export * from "./FormContext"; -export * from "./Fieldset"; -export * from "./useFormField"; -export * from "./useFormButton"; +export * from "./Form.tsx"; +export * from "./FormContext.ts"; +export * from "./Fieldset.tsx"; +export * from "./useFormField.ts"; +export * from "./useFormButton.ts"; diff --git a/packages/components/src/group/index.ts b/packages/components/src/group/index.ts index 3bd16e178..401c73ac2 100644 --- a/packages/components/src/group/index.ts +++ b/packages/components/src/group/index.ts @@ -1 +1 @@ -export * from "./src"; +export * from "./src/index.ts"; diff --git a/packages/components/src/group/src/index.ts b/packages/components/src/group/src/index.ts index f18178814..24dc312ab 100644 --- a/packages/components/src/group/src/index.ts +++ b/packages/components/src/group/src/index.ts @@ -1 +1 @@ -export * from "./Group"; +export * from "./Group.tsx"; diff --git a/packages/components/src/html/index.ts b/packages/components/src/html/index.ts index 3bd16e178..401c73ac2 100644 --- a/packages/components/src/html/index.ts +++ b/packages/components/src/html/index.ts @@ -1 +1 @@ -export * from "./src"; +export * from "./src/index.ts"; diff --git a/packages/components/src/icons/src/index.ts b/packages/components/src/icons/src/index.ts index bb47d675e..bad952d02 100644 --- a/packages/components/src/icons/src/index.ts +++ b/packages/components/src/icons/src/index.ts @@ -1 +1 @@ -export * from "./IconList"; +export * from "./IconList.tsx"; diff --git a/packages/components/src/illustrated-message/index.ts b/packages/components/src/illustrated-message/index.ts index 3bd16e178..401c73ac2 100644 --- a/packages/components/src/illustrated-message/index.ts +++ b/packages/components/src/illustrated-message/index.ts @@ -1 +1 @@ -export * from "./src"; +export * from "./src/index.ts"; diff --git a/packages/components/src/illustrated-message/src/index.ts b/packages/components/src/illustrated-message/src/index.ts index 9a2a42ad8..1cd682f85 100644 --- a/packages/components/src/illustrated-message/src/index.ts +++ b/packages/components/src/illustrated-message/src/index.ts @@ -1 +1 @@ -export * from "./IllustratedMessage"; +export * from "./IllustratedMessage.tsx"; diff --git a/packages/components/src/illustration/index.ts b/packages/components/src/illustration/index.ts index 3bd16e178..401c73ac2 100644 --- a/packages/components/src/illustration/index.ts +++ b/packages/components/src/illustration/index.ts @@ -1 +1 @@ -export * from "./src"; +export * from "./src/index.ts"; diff --git a/packages/components/src/illustration/src/index.ts b/packages/components/src/illustration/src/index.ts index 48465a7db..fb6c81d7b 100644 --- a/packages/components/src/illustration/src/index.ts +++ b/packages/components/src/illustration/src/index.ts @@ -1 +1 @@ -export * from "./Illustration"; +export * from "./Illustration.tsx"; diff --git a/packages/components/src/image/docs/assets/index.ts b/packages/components/src/image/docs/assets/index.ts index 2eb966f56..5e2ada8dd 100644 --- a/packages/components/src/image/docs/assets/index.ts +++ b/packages/components/src/image/docs/assets/index.ts @@ -1,4 +1,4 @@ -import { ReactComponent as NoResults } from "./NoResults"; +import { ReactComponent as NoResults } from "./NoResults.tsx"; import GalaxyImage from "./galaxy.png"; import GalaxyImage2x from "./galaxy@2x.png"; import GalaxyImageLg from "./galaxy-lg.png"; diff --git a/packages/components/src/image/index.ts b/packages/components/src/image/index.ts index 3bd16e178..401c73ac2 100644 --- a/packages/components/src/image/index.ts +++ b/packages/components/src/image/index.ts @@ -1 +1 @@ -export * from "./src"; +export * from "./src/index.ts"; diff --git a/packages/components/src/image/src/index.ts b/packages/components/src/image/src/index.ts index d2ad0b2ab..df61fd6fc 100644 --- a/packages/components/src/image/src/index.ts +++ b/packages/components/src/image/src/index.ts @@ -1,3 +1,3 @@ -export * from "./Image"; -export * from "./AsyncImage"; -export * from "./SvgImage"; +export * from "./Image.tsx"; +export * from "./AsyncImage.tsx"; +export * from "./SvgImage.tsx"; diff --git a/packages/components/src/index.ts b/packages/components/src/index.ts index df457dc96..0a398f6b3 100644 --- a/packages/components/src/index.ts +++ b/packages/components/src/index.ts @@ -1,53 +1,53 @@ -export * from "./accordion"; -export * from "./alert"; -export * from "./autocomplete"; -export * from "./avatar"; -export * from "./badge"; -export * from "./box"; -export * from "./button"; -export * from "./card"; -export * from "./checkbox"; -export * from "./collection"; -export * from "./counter"; -export * from "./date-input"; -export * from "./dialog"; -export * from "./disclosure"; -export * from "./divider"; -export * from "./dot"; -export * from "./field"; -export * from "./form"; -export * from "./group"; -export * from "./html"; -export * from "./icons"; -export * from "./illustrated-message"; -export * from "./illustration"; -export * from "./image"; -export * from "./input"; -export * from "./input-group"; -export * from "./layout"; -export * from "./link"; -export * from "./listbox"; -export * from "./loader"; -export * from "./lozenge"; -export * from "./menu"; -export * from "./modal"; -export * from "./number-input"; -export * from "./overlay"; -export * from "./placeholders"; -export * from "./popover"; -export * from "./radio"; -export * from "./select"; -export * from "./shared"; -export * from "./spinner"; -export * from "./styling"; -export * from "./switch"; -export * from "./tabs"; -export * from "./tag"; -export * from "./text-area"; -export * from "./text-input"; -export * from "./tile"; -export * from "./toolbar"; -export * from "./tooltip"; -export * from "./typography"; -export * from "./transition"; -export * from "./visually-hidden"; +export * from "./accordion/index.ts"; +export * from "./alert/index.ts"; +export * from "./autocomplete/index.ts"; +export * from "./avatar/index.ts"; +export * from "./badge/index.ts"; +export * from "./box/index.ts"; +export * from "./button/index.ts"; +export * from "./card/index.ts"; +export * from "./checkbox/index.ts"; +export * from "./collection/index.ts"; +export * from "./counter/index.ts"; +export * from "./date-input/index.ts"; +export * from "./dialog/index.ts"; +export * from "./disclosure/index.ts"; +export * from "./divider/index.ts"; +export * from "./dot/index.ts"; +export * from "./field/index.ts"; +export * from "./form/index.ts"; +export * from "./group/index.ts"; +export * from "./html/index.ts"; +export * from "./icons/index.ts"; +export * from "./illustrated-message/index.ts"; +export * from "./illustration/index.ts"; +export * from "./image/index.ts"; +export * from "./input/index.ts"; +export * from "./input-group/index.ts"; +export * from "./layout/index.ts"; +export * from "./link/index.ts"; +export * from "./listbox/index.ts"; +export * from "./loader/index.ts"; +export * from "./lozenge/index.ts"; +export * from "./menu/index.ts"; +export * from "./modal/index.ts"; +export * from "./number-input/index.ts"; +export * from "./overlay/index.ts"; +export * from "./placeholders/index.ts"; +export * from "./popover/index.ts"; +export * from "./radio/index.ts"; +export * from "./select/index.ts"; +export * from "./shared/index.ts"; +export * from "./spinner/index.ts"; +export * from "./styling/index.ts"; +export * from "./switch/index.ts"; +export * from "./tabs/index.ts"; +export * from "./tag/index.ts"; +export * from "./text-area/index.ts"; +export * from "./text-input/index.ts"; +export * from "./tile/index.ts"; +export * from "./toolbar/index.ts"; +export * from "./tooltip/index.ts"; +export * from "./typography/index.ts"; +export * from "./transition/index.ts"; +export * from "./visually-hidden/index.ts"; diff --git a/packages/components/src/input-group/index.ts b/packages/components/src/input-group/index.ts index 3bd16e178..401c73ac2 100644 --- a/packages/components/src/input-group/index.ts +++ b/packages/components/src/input-group/index.ts @@ -1 +1 @@ -export * from "./src"; +export * from "./src/index.ts"; diff --git a/packages/components/src/input-group/src/index.ts b/packages/components/src/input-group/src/index.ts index 908185781..abec402ec 100644 --- a/packages/components/src/input-group/src/index.ts +++ b/packages/components/src/input-group/src/index.ts @@ -1,3 +1,3 @@ -export * from "./InputGroup"; -export * from "./InputGroupContext"; -export * from "./TextAddon"; +export * from "./InputGroup.tsx"; +export * from "./InputGroupContext.tsx"; +export * from "./TextAddon.tsx"; diff --git a/packages/components/src/input/index.ts b/packages/components/src/input/index.ts index 3bd16e178..401c73ac2 100644 --- a/packages/components/src/input/index.ts +++ b/packages/components/src/input/index.ts @@ -1 +1 @@ -export * from "./src"; +export * from "./src/index.ts"; diff --git a/packages/components/src/input/src/index.ts b/packages/components/src/input/src/index.ts index 3fce2dd9c..f4ece39cf 100644 --- a/packages/components/src/input/src/index.ts +++ b/packages/components/src/input/src/index.ts @@ -1,7 +1,7 @@ -export * from "./useGroupInput"; -export * from "./useInput"; -export * from "./useInputContent"; -export * from "./useInputHasFocus"; -export * from "./adaptInputStylingProps"; -export * from "./types"; +export * from "./useGroupInput.ts"; +export * from "./useInput.ts"; +export * from "./useInputContent.tsx"; +export * from "./useInputHasFocus.ts"; +export * from "./adaptInputStylingProps.ts"; +export * from "./types.ts"; diff --git a/packages/components/src/layout/index.ts b/packages/components/src/layout/index.ts index 3bd16e178..401c73ac2 100644 --- a/packages/components/src/layout/index.ts +++ b/packages/components/src/layout/index.ts @@ -1 +1 @@ -export * from "./src"; +export * from "./src/index.ts"; diff --git a/packages/components/src/layout/src/index.ts b/packages/components/src/layout/src/index.ts index 2b80d53a7..cefd1651d 100644 --- a/packages/components/src/layout/src/index.ts +++ b/packages/components/src/layout/src/index.ts @@ -1,4 +1,4 @@ -export * from "./Flex"; -export * from "./Inline"; -export * from "./Stack"; -export * from "./Grid"; +export * from "./Flex.tsx"; +export * from "./Inline.tsx"; +export * from "./Stack.tsx"; +export * from "./Grid.tsx"; diff --git a/packages/components/src/link/index.ts b/packages/components/src/link/index.ts index 3bd16e178..401c73ac2 100644 --- a/packages/components/src/link/index.ts +++ b/packages/components/src/link/index.ts @@ -1 +1 @@ -export * from "./src"; +export * from "./src/index.ts"; diff --git a/packages/components/src/link/src/index.ts b/packages/components/src/link/src/index.ts index e13343280..591ddaa2b 100644 --- a/packages/components/src/link/src/index.ts +++ b/packages/components/src/link/src/index.ts @@ -1,4 +1,4 @@ -export * from "./Link"; -export * from "./TextLink"; -export * from "./IconLink"; -export type { LinkVariant } from "./useLink"; +export * from "./Link.tsx"; +export * from "./TextLink.tsx"; +export * from "./IconLink.tsx"; +export type { LinkVariant } from "./useLink.ts"; diff --git a/packages/components/src/listbox/index.ts b/packages/components/src/listbox/index.ts index 3bd16e178..401c73ac2 100644 --- a/packages/components/src/listbox/index.ts +++ b/packages/components/src/listbox/index.ts @@ -1 +1 @@ -export * from "./src"; +export * from "./src/index.ts"; diff --git a/packages/components/src/listbox/src/index.ts b/packages/components/src/listbox/src/index.ts index bc3b99bfa..953d0775c 100644 --- a/packages/components/src/listbox/src/index.ts +++ b/packages/components/src/listbox/src/index.ts @@ -1,4 +1,4 @@ -export * from "./Listbox"; -export * from "./ListboxSection"; -export * from "./ListboxOption"; -export * from "./ListboxContext"; +export * from "./Listbox.tsx"; +export * from "./ListboxSection.tsx"; +export * from "./ListboxOption.tsx"; +export * from "./ListboxContext.ts"; diff --git a/packages/components/src/loader/index.ts b/packages/components/src/loader/index.ts index 3bd16e178..401c73ac2 100644 --- a/packages/components/src/loader/index.ts +++ b/packages/components/src/loader/index.ts @@ -1 +1 @@ -export * from "./src"; +export * from "./src/index.ts"; diff --git a/packages/components/src/loader/src/index.ts b/packages/components/src/loader/src/index.ts index f9f5a2b49..180296311 100644 --- a/packages/components/src/loader/src/index.ts +++ b/packages/components/src/loader/src/index.ts @@ -1 +1 @@ -export * from "./Loader"; +export * from "./Loader.tsx"; diff --git a/packages/components/src/lozenge/index.ts b/packages/components/src/lozenge/index.ts index 3bd16e178..401c73ac2 100644 --- a/packages/components/src/lozenge/index.ts +++ b/packages/components/src/lozenge/index.ts @@ -1 +1 @@ -export * from "./src"; +export * from "./src/index.ts"; diff --git a/packages/components/src/lozenge/src/index.ts b/packages/components/src/lozenge/src/index.ts index dc3add90d..a8bbd98ea 100644 --- a/packages/components/src/lozenge/src/index.ts +++ b/packages/components/src/lozenge/src/index.ts @@ -1 +1 @@ -export * from "./Lozenge"; +export * from "./Lozenge.tsx"; diff --git a/packages/components/src/menu/index.ts b/packages/components/src/menu/index.ts index 3bd16e178..401c73ac2 100644 --- a/packages/components/src/menu/index.ts +++ b/packages/components/src/menu/index.ts @@ -1 +1 @@ -export * from "./src"; +export * from "./src/index.ts"; diff --git a/packages/components/src/menu/src/index.ts b/packages/components/src/menu/src/index.ts index c434dbfd9..3c0d87346 100644 --- a/packages/components/src/menu/src/index.ts +++ b/packages/components/src/menu/src/index.ts @@ -1,6 +1,6 @@ -export * from "./Menu"; -export * from "./MenuItem"; -export * from "./MenuSection"; -export * from "./MenuContext"; -export * from "./MenuTrigger"; -export * from "./MenuTriggerContext"; +export * from "./Menu.tsx"; +export * from "./MenuItem.tsx"; +export * from "./MenuSection.tsx"; +export * from "./MenuContext.ts"; +export * from "./MenuTrigger.tsx"; +export * from "./MenuTriggerContext.ts"; diff --git a/packages/components/src/modal/index.ts b/packages/components/src/modal/index.ts index 3bd16e178..401c73ac2 100644 --- a/packages/components/src/modal/index.ts +++ b/packages/components/src/modal/index.ts @@ -1 +1 @@ -export * from "./src"; +export * from "./src/index.ts"; diff --git a/packages/components/src/modal/src/index.ts b/packages/components/src/modal/src/index.ts index b3b76f7d0..0e1b68bc6 100644 --- a/packages/components/src/modal/src/index.ts +++ b/packages/components/src/modal/src/index.ts @@ -1,3 +1,3 @@ -export * from "./Modal"; -export * from "./ModalTrigger"; -export * from "./useModalTriggerContext"; +export * from "./Modal.tsx"; +export * from "./ModalTrigger.tsx"; +export * from "./useModalTriggerContext.ts"; diff --git a/packages/components/src/number-input/index.ts b/packages/components/src/number-input/index.ts index 3bd16e178..401c73ac2 100644 --- a/packages/components/src/number-input/index.ts +++ b/packages/components/src/number-input/index.ts @@ -1 +1 @@ -export * from "./src"; +export * from "./src/index.ts"; diff --git a/packages/components/src/number-input/src/index.ts b/packages/components/src/number-input/src/index.ts index 967c67e42..ca9a546f2 100644 --- a/packages/components/src/number-input/src/index.ts +++ b/packages/components/src/number-input/src/index.ts @@ -1 +1 @@ -export * from "./NumberInput"; +export * from "./NumberInput.tsx"; diff --git a/packages/components/src/overlay/index.ts b/packages/components/src/overlay/index.ts index 3bd16e178..401c73ac2 100644 --- a/packages/components/src/overlay/index.ts +++ b/packages/components/src/overlay/index.ts @@ -1 +1 @@ -export * from "./src"; +export * from "./src/index.ts"; diff --git a/packages/components/src/overlay/src/index.ts b/packages/components/src/overlay/src/index.ts index 81430b064..a7848ce89 100644 --- a/packages/components/src/overlay/src/index.ts +++ b/packages/components/src/overlay/src/index.ts @@ -1,16 +1,16 @@ -export * from "./Overlay"; -export * from "./OverlayArrow"; -export * from "./Underlay"; -export * from "./useOverlayTrigger"; -export * from "./useOverlayPosition"; -export * from "./useOverlayLightDismiss"; -export * from "./useOverlayFocusRing"; -export * from "./useRestoreFocus"; -export * from "./useTrapFocus"; -export * from "./usePopup"; -export * from "./usePopupAriaProps"; -export * from "./usePopupLightDismiss"; -export * from "./useTriggerWidth"; -export * from "./isTargetParent"; -export * from "./isDevtoolsBlurEvent"; -export * from "./isElementInViewport"; +export * from "./Overlay.tsx"; +export * from "./OverlayArrow.tsx"; +export * from "./Underlay.tsx"; +export * from "./useOverlayTrigger.ts"; +export * from "./useOverlayPosition.ts"; +export * from "./useOverlayLightDismiss.ts"; +export * from "./useOverlayFocusRing.ts"; +export * from "./useRestoreFocus.ts"; +export * from "./useTrapFocus.ts"; +export * from "./usePopup.ts"; +export * from "./usePopupAriaProps.ts"; +export * from "./usePopupLightDismiss.ts"; +export * from "./useTriggerWidth.ts"; +export * from "./isTargetParent.ts"; +export * from "./isDevtoolsBlurEvent.ts"; +export * from "./isElementInViewport.ts"; diff --git a/packages/components/src/placeholders/index.ts b/packages/components/src/placeholders/index.ts index 3bd16e178..401c73ac2 100644 --- a/packages/components/src/placeholders/index.ts +++ b/packages/components/src/placeholders/index.ts @@ -1 +1 @@ -export * from "./src"; +export * from "./src/index.ts"; diff --git a/packages/components/src/placeholders/src/index.ts b/packages/components/src/placeholders/src/index.ts index 15840d47e..86d37ac87 100644 --- a/packages/components/src/placeholders/src/index.ts +++ b/packages/components/src/placeholders/src/index.ts @@ -1,3 +1,3 @@ -export * from "./Content"; -export * from "./Header"; -export * from "./Footer"; +export * from "./Content.tsx"; +export * from "./Header.tsx"; +export * from "./Footer.tsx"; diff --git a/packages/components/src/popover/index.ts b/packages/components/src/popover/index.ts index 3bd16e178..401c73ac2 100644 --- a/packages/components/src/popover/index.ts +++ b/packages/components/src/popover/index.ts @@ -1 +1 @@ -export * from "./src"; +export * from "./src/index.ts"; diff --git a/packages/components/src/popover/src/index.ts b/packages/components/src/popover/src/index.ts index 5c7f40269..959346c87 100644 --- a/packages/components/src/popover/src/index.ts +++ b/packages/components/src/popover/src/index.ts @@ -1,3 +1,3 @@ -export * from "./Popover"; -export * from "./PopoverTrigger"; -export * from "./PopoverTriggerContext"; +export * from "./Popover.tsx"; +export * from "./PopoverTrigger.tsx"; +export * from "./PopoverTriggerContext.ts"; diff --git a/packages/components/src/radio/index.ts b/packages/components/src/radio/index.ts index 3bd16e178..401c73ac2 100644 --- a/packages/components/src/radio/index.ts +++ b/packages/components/src/radio/index.ts @@ -1 +1 @@ -export * from "./src"; +export * from "./src/index.ts"; diff --git a/packages/components/src/radio/src/index.ts b/packages/components/src/radio/src/index.ts index 200c3ffc6..0da13d8a1 100644 --- a/packages/components/src/radio/src/index.ts +++ b/packages/components/src/radio/src/index.ts @@ -1,2 +1,2 @@ -export * from "./Radio"; -export * from "./RadioGroup"; +export * from "./Radio.tsx"; +export * from "./RadioGroup.tsx"; diff --git a/packages/components/src/select/index.ts b/packages/components/src/select/index.ts index 3bd16e178..401c73ac2 100644 --- a/packages/components/src/select/index.ts +++ b/packages/components/src/select/index.ts @@ -1 +1 @@ -export * from "./src"; +export * from "./src/index.ts"; diff --git a/packages/components/src/select/src/index.ts b/packages/components/src/select/src/index.ts index aae5d7730..4273dae82 100644 --- a/packages/components/src/select/src/index.ts +++ b/packages/components/src/select/src/index.ts @@ -1,3 +1,3 @@ -export * from "./Select"; -export * from "./HiddenSelect"; -export * from "./useSelect"; +export * from "./Select.tsx"; +export * from "./HiddenSelect.tsx"; +export * from "./useSelect.tsx"; diff --git a/packages/components/src/shared/index.ts b/packages/components/src/shared/index.ts index 3bd16e178..401c73ac2 100644 --- a/packages/components/src/shared/index.ts +++ b/packages/components/src/shared/index.ts @@ -1 +1 @@ -export * from "./src"; +export * from "./src/index.ts"; diff --git a/packages/components/src/shared/src/index.ts b/packages/components/src/shared/src/index.ts index fd21e1b4c..f6a07282f 100644 --- a/packages/components/src/shared/src/index.ts +++ b/packages/components/src/shared/src/index.ts @@ -1,48 +1,48 @@ // Constants -export * from "./keys"; -export * from "./focusTarget"; +export * from "./keys.ts"; +export * from "./focusTarget.ts"; // Utils -export * from "./assertions"; -export * from "./size"; -export * from "./mergeProps"; -export * from "./mergeClasses"; -export * from "./cssModule"; -export * from "./augmentElement"; -export * from "./omitProps"; -export * from "./arrayify"; -export * from "./resolveChildren"; -export * from "./focusableTreeWalker"; -export * from "./as"; -export * from "./dom"; +export * from "./assertions.ts"; +export * from "./size.ts"; +export * from "./mergeProps.ts"; +export * from "./mergeClasses.ts"; +export * from "./cssModule.ts"; +export * from "./augmentElement.tsx"; +export * from "./omitProps.ts"; +export * from "./arrayify.ts"; +export * from "./resolveChildren.ts"; +export * from "./focusableTreeWalker.ts"; +export * from "./as.tsx"; +export * from "./dom.ts"; // Hooks -export * from "./useMergedRefs"; -export * from "./useFocusScope"; -export * from "./useFocusManager"; -export * from "./useAutoFocus"; -export * from "./useRovingFocus"; -export * from "./useEventListener"; -export * from "./useCommittedRef"; -export * from "./useEventCallback"; -export * from "./useChainedEventCallback"; -export * from "./useControllableState"; -export * from "./useForwardInputApi"; -export * from "./useId"; -export * from "./useKeyboardNavigation"; -export * from "./useHasChild"; -export * from "./useIsInitialRender"; -export * from "./useDisposables"; -export * from "./useForceRender"; -export * from "./useResizeObserver"; -export * from "./useRefState"; -export * from "./useFocusWithin"; -export * from "./useIsomorphicLayoutEffect"; +export * from "./useMergedRefs.ts"; +export * from "./useFocusScope.ts"; +export * from "./useFocusManager.ts"; +export * from "./useAutoFocus.ts"; +export * from "./useRovingFocus.ts"; +export * from "./useEventListener.ts"; +export * from "./useCommittedRef.ts"; +export * from "./useEventCallback.ts"; +export * from "./useChainedEventCallback.ts"; +export * from "./useControllableState.ts"; +export * from "./useForwardInputApi.ts"; +export * from "./useId.ts"; +export * from "./useKeyboardNavigation.ts"; +export * from "./useHasChild.ts"; +export * from "./useIsInitialRender.ts"; +export * from "./useDisposables.ts"; +export * from "./useForceRender.ts"; +export * from "./useResizeObserver.ts"; +export * from "./useRefState.ts"; +export * from "./useFocusWithin.ts"; +export * from "./useIsomorphicLayoutEffect.tsx"; // Features -export * from "./slots"; -export * from "./CheckableContext"; +export * from "./slots.tsx"; +export * from "./CheckableContext.ts"; // Types -export * from "./types"; -export * from "./type-fest"; +export * from "./types.ts"; +export * from "./type-fest.ts"; diff --git a/packages/components/src/spinner/index.ts b/packages/components/src/spinner/index.ts index 3bd16e178..401c73ac2 100644 --- a/packages/components/src/spinner/index.ts +++ b/packages/components/src/spinner/index.ts @@ -1 +1 @@ -export * from "./src"; +export * from "./src/index.ts"; diff --git a/packages/components/src/spinner/src/index.ts b/packages/components/src/spinner/src/index.ts index 2f83b9698..739c47c83 100644 --- a/packages/components/src/spinner/src/index.ts +++ b/packages/components/src/spinner/src/index.ts @@ -1 +1 @@ -export * from "./Spinner"; +export * from "./Spinner.tsx"; diff --git a/packages/components/src/styling/index.ts b/packages/components/src/styling/index.ts index 3bd16e178..401c73ac2 100644 --- a/packages/components/src/styling/index.ts +++ b/packages/components/src/styling/index.ts @@ -1 +1 @@ -export * from "./src"; +export * from "./src/index.ts"; diff --git a/packages/components/src/styling/src/index.ts b/packages/components/src/styling/src/index.ts index 27ad79439..49684b881 100644 --- a/packages/components/src/styling/src/index.ts +++ b/packages/components/src/styling/src/index.ts @@ -1,10 +1,10 @@ -export * from "./BreakpointProvider"; -export * from "./ColorSchemeContext"; -export * from "./styled-system"; -export * from "./StyleContext"; -export * from "./theming"; -export * from "./useColorScheme"; -export * from "./useColorSchemeValue"; -export * from "./useMediaQuery"; -export * from "./useResponsiveValue"; +export * from "./BreakpointProvider.tsx"; +export * from "./ColorSchemeContext.ts"; +export * from "./styled-system/index.ts"; +export * from "./StyleContext.ts"; +export * from "./theming/index.ts"; +export * from "./useColorScheme.ts"; +export * from "./useColorSchemeValue.ts"; +export * from "./useMediaQuery.ts"; +export * from "./useResponsiveValue.tsx"; diff --git a/packages/components/src/styling/src/styled-system/index.ts b/packages/components/src/styling/src/styled-system/index.ts index 3920fae43..0aa4d5753 100644 --- a/packages/components/src/styling/src/styled-system/index.ts +++ b/packages/components/src/styling/src/styled-system/index.ts @@ -1,4 +1,4 @@ -export * from "./useStyledSystem"; -export * from "./StylingContext"; -export * from "./props-handler"; -export * from "./theme-vars-utils"; +export * from "./useStyledSystem.ts"; +export * from "./StylingContext.ts"; +export * from "./props-handler.ts"; +export * from "./theme-vars-utils.ts"; diff --git a/packages/components/src/styling/src/theming/index.ts b/packages/components/src/styling/src/theming/index.ts index d63fb5014..eb58adc5e 100644 --- a/packages/components/src/styling/src/theming/index.ts +++ b/packages/components/src/styling/src/theming/index.ts @@ -1,2 +1,2 @@ -export * from "./ThemeProvider"; -export * from "./useThemeComputedStyle"; +export * from "./ThemeProvider.tsx"; +export * from "./useThemeComputedStyle.ts"; diff --git a/packages/components/src/switch/index.ts b/packages/components/src/switch/index.ts index 3bd16e178..401c73ac2 100644 --- a/packages/components/src/switch/index.ts +++ b/packages/components/src/switch/index.ts @@ -1 +1 @@ -export * from "./src"; +export * from "./src/index.ts"; diff --git a/packages/components/src/switch/src/index.ts b/packages/components/src/switch/src/index.ts index 3b82ff052..64ca0fe91 100644 --- a/packages/components/src/switch/src/index.ts +++ b/packages/components/src/switch/src/index.ts @@ -1 +1 @@ -export * from "./Switch"; +export * from "./Switch.tsx"; diff --git a/packages/components/src/tabs/index.ts b/packages/components/src/tabs/index.ts index 3bd16e178..401c73ac2 100644 --- a/packages/components/src/tabs/index.ts +++ b/packages/components/src/tabs/index.ts @@ -1 +1 @@ -export * from "./src"; +export * from "./src/index.ts"; diff --git a/packages/components/src/tabs/src/index.ts b/packages/components/src/tabs/src/index.ts index 34d5a01dc..35951f405 100644 --- a/packages/components/src/tabs/src/index.ts +++ b/packages/components/src/tabs/src/index.ts @@ -1,6 +1,6 @@ -export * from "./Tabs"; -export * from "./Tab"; -export * from "./TabList"; -export * from "./TabPanels"; -export * from "./TabPanel"; -export * from "./TabsContext"; +export * from "./Tabs.tsx"; +export * from "./Tab.tsx"; +export * from "./TabList.tsx"; +export * from "./TabPanel.tsx"; +export * from "./TabPanel.tsx"; +export * from "./TabsContext.ts"; diff --git a/packages/components/src/tag/index.ts b/packages/components/src/tag/index.ts index 3bd16e178..401c73ac2 100644 --- a/packages/components/src/tag/index.ts +++ b/packages/components/src/tag/index.ts @@ -1 +1 @@ -export * from "./src"; +export * from "./src/index.ts"; diff --git a/packages/components/src/tag/src/index.ts b/packages/components/src/tag/src/index.ts index f7efb4005..156f405e3 100644 --- a/packages/components/src/tag/src/index.ts +++ b/packages/components/src/tag/src/index.ts @@ -1,2 +1,2 @@ -export * from "./Tag"; -export * from "./TagList"; +export * from "./Tag.tsx"; +export * from "./TagList.tsx"; diff --git a/packages/components/src/text-area/index.ts b/packages/components/src/text-area/index.ts index 3bd16e178..401c73ac2 100644 --- a/packages/components/src/text-area/index.ts +++ b/packages/components/src/text-area/index.ts @@ -1 +1 @@ -export * from "./src"; +export * from "./src/index.ts"; diff --git a/packages/components/src/text-area/src/index.ts b/packages/components/src/text-area/src/index.ts index cc37a6a03..860e105e0 100644 --- a/packages/components/src/text-area/src/index.ts +++ b/packages/components/src/text-area/src/index.ts @@ -1 +1 @@ -export * from "./TextArea"; +export * from "./TextArea.tsx"; diff --git a/packages/components/src/text-input/index.ts b/packages/components/src/text-input/index.ts index 3bd16e178..401c73ac2 100644 --- a/packages/components/src/text-input/index.ts +++ b/packages/components/src/text-input/index.ts @@ -1 +1 @@ -export * from "./src"; +export * from "./src/index.ts"; diff --git a/packages/components/src/text-input/src/index.ts b/packages/components/src/text-input/src/index.ts index 969818e33..b3de00a70 100644 --- a/packages/components/src/text-input/src/index.ts +++ b/packages/components/src/text-input/src/index.ts @@ -1,3 +1,3 @@ -export * from "./TextInput"; -export * from "./PasswordInput"; -export * from "./SearchInput"; +export * from "./TextInput.tsx"; +export * from "./PasswordInput.tsx"; +export * from "./SearchInput.tsx"; diff --git a/packages/components/src/tile/index.ts b/packages/components/src/tile/index.ts index 3bd16e178..401c73ac2 100644 --- a/packages/components/src/tile/index.ts +++ b/packages/components/src/tile/index.ts @@ -1 +1 @@ -export * from "./src"; +export * from "./src/index.ts"; diff --git a/packages/components/src/tile/src/index.ts b/packages/components/src/tile/src/index.ts index 5ae5bfc40..3e8cf8a27 100644 --- a/packages/components/src/tile/src/index.ts +++ b/packages/components/src/tile/src/index.ts @@ -1,4 +1,4 @@ -export * from "./Tile"; -export * from "./TileLink"; -export * from "./TileGroup"; -export type { TileOrientation } from "./useTile"; +export * from "./Tile.tsx"; +export * from "./TileLink.tsx"; +export * from "./TileGroup.tsx"; +export type { TileOrientation } from "./useTile.tsx"; diff --git a/packages/components/src/toolbar/index.ts b/packages/components/src/toolbar/index.ts index 3bd16e178..401c73ac2 100644 --- a/packages/components/src/toolbar/index.ts +++ b/packages/components/src/toolbar/index.ts @@ -1 +1 @@ -export * from "./src"; +export * from "./src/index.ts"; diff --git a/packages/components/src/toolbar/src/index.ts b/packages/components/src/toolbar/src/index.ts index dc8964003..dff5821bb 100644 --- a/packages/components/src/toolbar/src/index.ts +++ b/packages/components/src/toolbar/src/index.ts @@ -1,2 +1,2 @@ -export * from "./Toolbar"; -export * from "./ToolbarContext"; +export * from "./Toolbar.tsx"; +export * from "./ToolbarContext.tsx"; diff --git a/packages/components/src/tooltip/index.ts b/packages/components/src/tooltip/index.ts index 3bd16e178..401c73ac2 100644 --- a/packages/components/src/tooltip/index.ts +++ b/packages/components/src/tooltip/index.ts @@ -1 +1 @@ -export * from "./src"; +export * from "./src/index.ts"; diff --git a/packages/components/src/tooltip/src/index.ts b/packages/components/src/tooltip/src/index.ts index 0f1b3e962..749bd8eca 100644 --- a/packages/components/src/tooltip/src/index.ts +++ b/packages/components/src/tooltip/src/index.ts @@ -1,3 +1,3 @@ -export * from "./Tooltip"; -export * from "./TooltipTrigger"; -export * from "./TooltipTriggerContext"; +export * from "./Tooltip.tsx"; +export * from "./TooltipTrigger.tsx"; +export * from "./TooltipTriggerContext.ts"; diff --git a/packages/components/src/transition/index.ts b/packages/components/src/transition/index.ts index 3bd16e178..401c73ac2 100644 --- a/packages/components/src/transition/index.ts +++ b/packages/components/src/transition/index.ts @@ -1 +1 @@ -export * from "./src"; +export * from "./src/index.ts"; diff --git a/packages/components/src/transition/src/index.ts b/packages/components/src/transition/src/index.ts index 1b50a861f..69ffd3a1a 100644 --- a/packages/components/src/transition/src/index.ts +++ b/packages/components/src/transition/src/index.ts @@ -1 +1 @@ -export * from "./Transition"; +export * from "./Transition.tsx"; diff --git a/packages/components/src/typography/index.ts b/packages/components/src/typography/index.ts index 3bd16e178..401c73ac2 100644 --- a/packages/components/src/typography/index.ts +++ b/packages/components/src/typography/index.ts @@ -1 +1 @@ -export * from "./src"; +export * from "./src/index.ts"; diff --git a/packages/components/src/typography/src/index.ts b/packages/components/src/typography/src/index.ts index 7915a79ba..58cf559bf 100644 --- a/packages/components/src/typography/src/index.ts +++ b/packages/components/src/typography/src/index.ts @@ -1,3 +1,3 @@ -export * from "./Heading"; -export * from "./Text"; -export * from "./Paragraph"; +export * from "./Heading.tsx"; +export * from "./Text.tsx"; +export * from "./Paragraph.tsx"; diff --git a/packages/components/src/visually-hidden/index.ts b/packages/components/src/visually-hidden/index.ts index 3bd16e178..401c73ac2 100644 --- a/packages/components/src/visually-hidden/index.ts +++ b/packages/components/src/visually-hidden/index.ts @@ -1 +1 @@ -export * from "./src"; +export * from "./src/index.ts"; diff --git a/packages/components/src/visually-hidden/src/index.ts b/packages/components/src/visually-hidden/src/index.ts index 7c8350e60..66e8c41bd 100644 --- a/packages/components/src/visually-hidden/src/index.ts +++ b/packages/components/src/visually-hidden/src/index.ts @@ -1 +1 @@ -export * from "./VisuallyHidden"; +export * from "./VisuallyHidden.tsx"; diff --git a/tooling/test-utils/index.ts b/tooling/test-utils/index.ts index 00852d62b..407bd2ea6 100644 --- a/tooling/test-utils/index.ts +++ b/tooling/test-utils/index.ts @@ -1,3 +1,3 @@ -export * from "./errorHandling"; -export * from "./renderWithTheme"; -export * from "./expect-assignable"; +export * from "./errorHandling.tsx"; +export * from "./renderWithTheme.tsx"; +export * from "./expect-assignable.ts"; diff --git a/tsconfig.json b/tsconfig.json index a085e2ecb..36ba9c119 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -6,15 +6,14 @@ "noEmit": true, "allowJs": true, "paths": { - "@test-utils": ["tooling/test-utils"], - "@components": ["packages/components/src"], + "@test-utils": ["tooling/test-utils/index.ts"], + "@components": ["packages/components/src/index.ts"], "@components/*": ["packages/components/src/*"], - "@orbit-ui/transition-components": ["packages/components/src"], - "@workleap/orbiter-ui": ["packages/bundle/src"], - "@stories/components": [".storybook/components"], - "@root": ["./"], + "@orbit-ui/transition-components": ["packages/components/src/idnex.ts"], + "@workleap/orbiter-ui": ["packages/bundle/src/index.ts"], + "@stories/components": [".storybook/components/index.ts"], "@css/*": ["packages/css/src/*"], - "@stories/mdx": [".storybook/mdx"] + "@stories/mdx": [".storybook/mdx/index.ts"] } } } From 59ba18f7a2a682560ad92e05653a9d4c637a99de Mon Sep 17 00:00:00 2001 From: Alexandre Asselin <alexandre.asselin@gsoft.com> Date: Thu, 7 Nov 2024 10:10:04 -0500 Subject: [PATCH 79/95] fix @components import + fix html import path --- .storybook/components/banner/Banner.tsx | 4 +-- .../CheckeredBackground.tsx | 4 +-- .../component-info/ComponentInfo.tsx | 4 +-- .../components/github-link/GithubLink.tsx | 6 ++-- .../components/snippet/useFormattedCode.ts | 2 +- .storybook/components/table/Table.tsx | 2 +- .../themed-snippet/useThemedSnippet.ts | 2 +- .../withBackgroundMatchingColorScheme.tsx | 2 +- .storybook/decorators/withCenteredCanvas.tsx | 4 +-- .storybook/decorators/withDocsContainer.tsx | 2 +- .storybook/decorators/withThemeProvider.tsx | 2 +- .storybook/main.ts | 2 +- .storybook/mdx/highlight/Highlight.tsx | 2 +- .storybook/preview.tsx | 6 ++-- .../storybook-addon/withHopperProvider.tsx | 4 +-- docs/features/style-props/StyleProps.mdx | 6 ++-- docs/features/tokens/ColorPaletteTable.tsx | 2 +- docs/features/tokens/TokenTable.tsx | 8 +++--- docs/features/tokens/Tokens.tsx | 2 +- .../src/accordion/docs/Accordion.mdx | 8 +++--- .../src/accordion/docs/Accordion.stories.tsx | 8 +++--- .../src/accordion/src/Accordion.tsx | 10 +++---- .../src/accordion/src/AccordionHeader.tsx | 8 +++--- .../src/accordion/src/AccordionItem.tsx | 6 ++-- .../src/accordion/src/AccordionPanel.tsx | 4 +-- .../src/accordion/src/useAccordionItems.ts | 4 +-- .../chromatic/Accordion-hopper.stories.tsx | 10 +++---- .../tests/chromatic/Accordion.stories.tsx | 10 +++---- .../AccordionBordered-hopper.stories.tsx | 16 +++++------ .../chromatic/AccordionBordered.stories.tsx | 16 +++++------ .../AccordionBorderless-hopper.stories.tsx | 16 +++++------ .../chromatic/AccordionBorderless.stories.tsx | 16 +++++------ .../tests/jest/Accordion.ssr.test.tsx | 8 +++--- .../accordion/tests/jest/Accordion.test.tsx | 10 +++---- packages/components/src/alert/docs/Alert.mdx | 6 ++-- .../src/alert/docs/Alert.stories.tsx | 8 +++--- packages/components/src/alert/src/Alert.tsx | 6 ++-- .../components/src/alert/src/AlertTrigger.tsx | 4 +-- .../tests/chromatic/Alert-hopper.stories.tsx | 4 +-- .../alert/tests/chromatic/Alert.stories.tsx | 6 ++-- .../AlertConfirmation-hopper.stories.tsx | 6 ++-- .../chromatic/AlertConfirmation.stories.tsx | 8 +++--- .../chromatic/AlertDestruction.stories.tsx | 8 +++--- .../AlertDestructive-hopper.stories.tsx | 6 ++-- .../chromatic/AlertTrigger-hopper.stories.tsx | 4 +-- .../tests/chromatic/AlertTrigger.stories.tsx | 8 +++--- .../src/alert/tests/jest/Alert.test.tsx | 6 ++-- .../tests/jest/AlertTrigger.ssr.test.tsx | 8 +++--- .../alert/tests/jest/AlertTrigger.test.tsx | 8 +++--- .../src/autocomplete/docs/Autocomplete.mdx | 4 +-- .../docs/Autocomplete.stories.tsx | 14 +++++----- .../src/autocomplete/src/Autocomplete.tsx | 22 +++++++-------- .../autocomplete/src/HiddenAutocomplete.tsx | 6 ++-- .../src/autocomplete/src/useDeferredValue.ts | 2 +- .../chromatic/Autocomplete-hopper.stories.tsx | 8 +++--- .../tests/chromatic/Autocomplete.stories.tsx | 8 +++--- .../tests/jest/Autocomplete.ssr.test.tsx | 4 +-- .../tests/jest/Autocomplete.test.tsx | 12 ++++---- .../components/src/avatar/docs/Avatar.mdx | 2 +- .../src/avatar/docs/Avatar.stories.tsx | 4 +-- .../src/avatar/src/AnonymousAvatar.tsx | 6 ++-- packages/components/src/avatar/src/Avatar.tsx | 12 ++++---- .../components/src/avatar/src/AvatarGroup.tsx | 10 +++---- .../src/avatar/src/DeletedAvatar.tsx | 6 ++-- .../chromatic/AnonymousAvatar.stories.tsx | 6 ++-- .../avatar/tests/chromatic/Avatar.stories.tsx | 6 ++-- .../tests/chromatic/AvatarGroup.stories.tsx | 6 ++-- .../tests/chromatic/DeletedAvatar.stories.tsx | 6 ++-- .../tests/jest/AnonymousAvatar.test.tsx | 2 +- .../src/avatar/tests/jest/Avatar.test.tsx | 2 +- .../tests/jest/AvatarGroup.ssr.test.tsx | 2 +- .../avatar/tests/jest/AvatarGroup.test.tsx | 2 +- .../avatar/tests/jest/DeletedAvatar.test.tsx | 2 +- .../tests/typescript/AnonymousAvatar.test.tsx | 2 +- .../avatar/tests/typescript/Avatar.test.tsx | 2 +- .../tests/typescript/DeletedAvatar.test.tsx | 2 +- packages/components/src/badge/docs/Badge.mdx | 2 +- .../src/badge/docs/Badge.stories.tsx | 6 ++-- packages/components/src/badge/docs/Circle.tsx | 2 +- packages/components/src/badge/docs/Square.tsx | 2 +- packages/components/src/badge/src/Badge.tsx | 6 ++-- .../tests/chromatic/BadgeCount.stories.tsx | 8 +++--- .../tests/chromatic/BadgeDot.stories.tsx | 4 +-- .../tests/chromatic/BadgeIcon.stories.tsx | 4 +-- .../src/badge/tests/chromatic/BadgeUtils.tsx | 4 +-- .../src/badge/tests/jest/Badge.ssr.test.tsx | 6 ++-- .../src/badge/tests/jest/Badge.test.tsx | 6 ++-- packages/components/src/box/docs/Box.mdx | 2 +- .../components/src/box/docs/Box.stories.tsx | 2 +- packages/components/src/box/src/Box.tsx | 6 ++-- .../tests/chromatic/Box-hopper.stories.tsx | 4 +-- .../src/box/tests/chromatic/Box.stories.tsx | 4 +-- .../src/box/tests/jest/Box.ssr.test.tsx | 2 +- .../src/box/tests/jest/Box.test.tsx | 2 +- .../components/src/button/docs/Button.mdx | 2 +- .../src/button/docs/Button.stories.tsx | 10 +++---- .../src/button/docs/CrossButton.mdx | 2 +- .../src/button/docs/CrossButton.stories.tsx | 4 +-- packages/components/src/button/src/Button.tsx | 16 +++++------ .../components/src/button/src/ButtonGroup.tsx | 8 +++--- .../components/src/button/src/CrossButton.tsx | 2 +- .../components/src/button/src/IconButton.tsx | 12 ++++---- .../src/button/src/ToggleButton.tsx | 2 +- .../src/button/src/ToggleIconButton.tsx | 2 +- .../components/src/button/src/useButton.ts | 4 +-- .../src/button/src/useToggleButton.ts | 2 +- .../tests/chromatic/Button-hopper.stories.tsx | 4 +-- .../button/tests/chromatic/Button.stories.tsx | 4 +-- .../chromatic/ButtonAsLink-hopper.stories.tsx | 4 +-- .../tests/chromatic/ButtonAsLink.stories.tsx | 4 +-- .../ButtonAsLinkNegative-hopper.stories.tsx | 8 +++--- .../ButtonAsLinkNegative.stories.tsx | 12 ++++---- .../ButtonAsLinkPrimary-hopper.stories.tsx | 8 +++--- .../chromatic/ButtonAsLinkPrimary.stories.tsx | 12 ++++---- .../ButtonAsLinkSecondary-hopper.stories.tsx | 8 +++--- .../ButtonAsLinkSecondary.stories.tsx | 12 ++++---- .../ButtonAsLinkTertiary-hopper.stories.tsx | 8 +++--- .../ButtonAsLinkTertiary.stories.tsx | 12 ++++---- .../ButtonAsLinkUpsell-hopper.stories.tsx | 8 +++--- .../chromatic/ButtonAsLinkUpsell.stories.tsx | 12 ++++---- .../chromatic/ButtonGroup-hopper.stories.tsx | 8 +++--- .../tests/chromatic/ButtonGroup.stories.tsx | 8 +++--- .../ButtonGroupVertical-hopper.stories.tsx | 8 +++--- .../chromatic/ButtonGroupVertical.stories.tsx | 8 +++--- .../ButtonNegative-hopper.stories.tsx | 8 +++--- .../chromatic/ButtonNegative.stories.tsx | 12 ++++---- .../ButtonPrimary-hopper.stories.tsx | 8 +++--- .../tests/chromatic/ButtonPrimary.stories.tsx | 12 ++++---- .../ButtonSecondary-hopper.stories.tsx | 8 +++--- .../chromatic/ButtonSecondary.stories.tsx | 12 ++++---- .../ButtonSecondaryInherit-hopper.stories.tsx | 8 +++--- .../ButtonSecondaryInherit.stories.tsx | 12 ++++---- .../ButtonTertiary-hopper.stories.tsx | 8 +++--- .../chromatic/ButtonTertiary.stories.tsx | 12 ++++---- .../ButtonTertiaryInherit-hopper.stories.tsx | 8 +++--- .../ButtonTertiaryInherit.stories.tsx | 12 ++++---- .../chromatic/ButtonUpsell-hopper.stories.tsx | 8 +++--- .../tests/chromatic/ButtonUpsell.stories.tsx | 12 ++++---- .../chromatic/CrossButton-hopper.stories.tsx | 4 +-- .../tests/chromatic/CrossButton.stories.tsx | 4 +-- .../chromatic/IconButton-hopper.stories.tsx | 4 +-- .../tests/chromatic/IconButton.stories.tsx | 4 +-- .../IconButtonAsLink-hopper.stories.tsx | 4 +-- .../chromatic/IconButtonAsLink.stories.tsx | 4 +-- ...conButtonAsLinkNegative-hopper.stories.tsx | 6 ++-- .../IconButtonAsLinkNegative.stories.tsx | 6 ++-- ...IconButtonAsLinkPrimary-hopper.stories.tsx | 6 ++-- .../IconButtonAsLinkPrimary.stories.tsx | 6 ++-- ...onButtonAsLinkSecondary-hopper.stories.tsx | 6 ++-- .../IconButtonAsLinkSecondary.stories.tsx | 6 ++-- ...conButtonAsLinkTertiary-hopper.stories.tsx | 6 ++-- .../IconButtonAsLinkTertiary.stories.tsx | 6 ++-- .../IconButtonAsLinkUpsell-hopper.stories.tsx | 6 ++-- .../IconButtonAsLinkUpsell.stories.tsx | 6 ++-- .../IconButtonNegative-hopper.stories.tsx | 6 ++-- .../chromatic/IconButtonNegative.stories.tsx | 6 ++-- .../IconButtonPrimary-hopper.stories.tsx | 6 ++-- .../chromatic/IconButtonPrimary.stories.tsx | 6 ++-- .../IconButtonSecondary-hopper.stories.tsx | 6 ++-- .../chromatic/IconButtonSecondary.stories.tsx | 6 ++-- .../IconButtonTertiary-hopper.stories.tsx | 6 ++-- .../chromatic/IconButtonTertiary.stories.tsx | 6 ++-- .../IconButtonUpsell-hopper.stories.tsx | 6 ++-- .../chromatic/IconButtonUpsell.stories.tsx | 6 ++-- .../chromatic/ToggleButton-hopper.stories.tsx | 4 +-- .../tests/chromatic/ToggleButton.stories.tsx | 4 +-- .../ToggleButtonPrimary-hopper.stories.tsx | 8 +++--- .../chromatic/ToggleButtonPrimary.stories.tsx | 8 +++--- .../ToggleButtonSecondary-hopper.stories.tsx | 8 +++--- .../ToggleButtonSecondary.stories.tsx | 8 +++--- .../ToggleIconButton-hopper.stories.tsx | 4 +-- .../chromatic/ToggleIconButton.stories.tsx | 4 +-- ...ToggleIconButtonPrimary-hopper.stories.tsx | 6 ++-- .../ToggleIconButtonPrimary.stories.tsx | 6 ++-- ...ggleIconButtonSecondary-hopper.stories.tsx | 6 ++-- .../ToggleIconButtonSecondary.stories.tsx | 6 ++-- .../src/button/tests/jest/Button.ssr.test.tsx | 2 +- .../src/button/tests/jest/Button.test.tsx | 2 +- .../button/tests/jest/ButtonGroup.test.tsx | 2 +- .../button/tests/jest/CrossButton.test.tsx | 2 +- .../src/button/tests/jest/IconButton.test.tsx | 2 +- .../button/tests/jest/ToggleButton.test.tsx | 2 +- .../tests/jest/ToggleIconButton.test.tsx | 2 +- packages/components/src/card/docs/Card.mdx | 6 ++-- .../components/src/card/docs/Card.stories.tsx | 18 ++++++------ packages/components/src/card/src/Card.tsx | 8 +++--- .../tests/chromatic/Card-hopper.stories.tsx | 12 ++++---- .../src/card/tests/chromatic/Card.stories.tsx | 14 +++++----- .../CardHorizontal-hopper.stories.tsx | 18 ++++++------ .../chromatic/CardHorizontal.stories.tsx | 24 ++++++++-------- .../chromatic/CardVertical-hopper.stories.tsx | 18 ++++++------ .../tests/chromatic/CardVertical.stories.tsx | 24 ++++++++-------- .../src/card/tests/jest/Card.ssr.test.tsx | 6 ++-- .../src/card/tests/jest/Card.test.tsx | 6 ++-- .../components/src/checkbox/docs/Checkbox.mdx | 2 +- .../src/checkbox/docs/Checkbox.stories.tsx | 12 ++++---- .../components/src/checkbox/src/Checkbox.tsx | 18 ++++++------ .../src/checkbox/src/CheckboxGroup.tsx | 12 ++++---- .../src/checkbox/src/useCheckbox.ts | 4 +-- .../chromatic/Checkbox-hopper.stories.tsx | 4 +-- .../tests/chromatic/Checkbox.stories.tsx | 4 +-- .../CheckboxChecked-hopper.stories.tsx | 8 +++--- .../chromatic/CheckboxChecked.stories.tsx | 12 ++++---- .../tests/chromatic/CheckboxGroup.stories.tsx | 12 ++++---- .../CheckboxGroupVertical.stories.tsx | 6 ++-- .../CheckboxIndeterminate-hopper.stories.tsx | 8 +++--- .../CheckboxIndeterminate.stories.tsx | 12 ++++---- .../CheckboxUnchecked-hopper.stories.tsx | 8 +++--- .../chromatic/CheckboxUnchecked.stories.tsx | 12 ++++---- .../src/checkbox/tests/jest/Checkbox.test.tsx | 2 +- .../tests/jest/CheckboxGroup.ssr.test.tsx | 2 +- .../tests/jest/CheckboxGroup.test.tsx | 4 +-- .../components/src/collection/src/Item.tsx | 2 +- .../components/src/collection/src/Section.tsx | 2 +- .../src/collection/src/getItemText.tsx | 2 +- .../src/collection/src/useAsyncSearch.ts | 2 +- .../src/collection/src/useCollection.ts | 8 +++--- .../src/collection/src/useCollectionSearch.ts | 2 +- .../collection/src/useScrollableCollection.ts | 2 +- .../components/src/counter/docs/Counter.mdx | 2 +- .../src/counter/docs/Counter.stories.tsx | 8 +++--- .../components/src/counter/src/Counter.tsx | 8 +++--- .../tests/chromatic/Counter.stories.tsx | 8 +++--- .../counter/tests/jest/Counter.ssr.test.tsx | 2 +- .../src/counter/tests/jest/Counter.test.tsx | 2 +- .../src/date-input/docs/DateInput.mdx | 2 +- .../src/date-input/docs/DateInput.stories.tsx | 2 +- .../src/date-input/docs/DateRangeInput.mdx | 2 +- .../docs/DateRangeInput.stories.tsx | 2 +- .../src/date-input/src/ButtonPresets.tsx | 6 ++-- .../src/date-input/src/DateInput.tsx | 12 ++++---- .../src/date-input/src/DateRangeInput.tsx | 20 ++++++------- .../src/date-input/src/MenuPresets.tsx | 10 +++---- .../src/date-input/src/dateUtils.ts | 2 +- .../src/date-input/src/useDateInput.ts | 2 +- .../src/date-input/src/useMaskedInput.ts | 2 +- .../chromatic/DateInput-hopper.stories.tsx | 6 ++-- .../tests/chromatic/DateInput.stories.tsx | 6 ++-- .../DateInputCompact-hopper.stories.tsx | 6 ++-- .../chromatic/DateInputCompact.stories.tsx | 6 ++-- .../DateInputExpanded-hopper.stories.tsx | 6 ++-- .../chromatic/DateInputExpanded.stories.tsx | 6 ++-- .../DateRangeInput-hopper.stories.tsx | 6 ++-- .../chromatic/DateRangeInput.stories.tsx | 6 ++-- .../DateRangeInputCompact-hopper.stories.tsx | 6 ++-- .../DateRangeInputCompact.stories.tsx | 6 ++-- .../DateRangeInputExpanded-hopper.stories.tsx | 6 ++-- .../DateRangeInputExpanded.stories.tsx | 6 ++-- .../tests/jest/DateInput.ssr.test.tsx | 2 +- .../date-input/tests/jest/DateInput.test.tsx | 4 +-- .../tests/jest/DateRangeInput.ssr.test.tsx | 2 +- .../tests/jest/DateRangeInput.test.tsx | 8 +++--- packages/components/src/dialog/src/Dialog.tsx | 14 +++++----- .../src/dialog/src/DialogTrigger.tsx | 4 +-- .../tests/chromatic/Dialog-hopper.stories.tsx | 12 ++++---- .../dialog/tests/chromatic/Dialog.stories.tsx | 16 +++++------ .../DialogTrigger-hopper.stories.tsx | 6 ++-- .../tests/chromatic/DialogTrigger.stories.tsx | 8 +++--- .../src/dialog/tests/jest/Dialog.test.tsx | 10 +++---- .../tests/jest/DialogTrigger.ssr.test.tsx | 8 +++--- .../dialog/tests/jest/DialogTrigger.test.tsx | 18 ++++++------ .../src/disclosure/docs/Disclosure.mdx | 4 +-- .../disclosure/docs/Disclosure.stories.tsx | 10 +++---- .../src/disclosure/docs/DisclosureArrow.mdx | 2 +- .../docs/DisclosureArrow.stories.tsx | 10 +++---- .../src/disclosure/src/Disclosure.tsx | 4 +-- .../src/disclosure/src/DisclosureArrow.tsx | 4 +-- .../disclosure/src/useSlidingTransition.ts | 2 +- .../tests/chromatic/Disclosure.stories.tsx | 10 +++---- .../chromatic/DisclosureArrow.stories.tsx | 4 +-- .../tests/jest/Disclosure.ssr.test.tsx | 6 ++-- .../disclosure/tests/jest/Disclosure.test.tsx | 8 +++--- .../tests/jest/DisclosureArrow.test.tsx | 2 +- .../components/src/divider/docs/Divider.mdx | 2 +- .../src/divider/docs/Divider.stories.tsx | 10 +++---- .../components/src/divider/src/Divider.tsx | 8 +++--- .../tests/chromatic/Divider.stories.tsx | 8 +++--- .../chromatic/DividerVertical.stories.tsx | 12 ++++---- .../divider/tests/jest/Divider.ssr.test.tsx | 2 +- .../src/divider/tests/jest/Divider.test.tsx | 2 +- packages/components/src/dot/docs/Dot.mdx | 4 +-- .../components/src/dot/docs/Dot.stories.tsx | 4 +-- packages/components/src/dot/src/Dot.tsx | 8 +++--- .../src/dot/tests/chromatic/Dot.stories.tsx | 6 ++-- .../src/dot/tests/jest/Dot.ssr.test.tsx | 2 +- .../src/dot/tests/jest/Dot.test.tsx | 2 +- packages/components/src/field/docs/Field.mdx | 2 +- .../src/field/docs/Field.stories.tsx | 10 +++---- .../components/src/field/src/ErrorMessage.tsx | 2 +- packages/components/src/field/src/Field.tsx | 12 ++++---- .../components/src/field/src/FieldContext.tsx | 4 +-- .../components/src/field/src/FieldMessage.tsx | 6 ++-- .../components/src/field/src/GroupField.tsx | 12 ++++---- .../components/src/field/src/HelpMessage.tsx | 2 +- packages/components/src/field/src/Label.tsx | 4 +-- .../components/src/field/src/ValidMessage.tsx | 2 +- packages/components/src/field/src/useField.ts | 4 +-- .../components/src/field/src/useGroupField.ts | 4 +-- .../field/tests/chromatic/Field.stories.tsx | 28 +++++++++---------- .../tests/chromatic/FieldMessage.stories.tsx | 10 +++---- .../tests/chromatic/GroupField.stories.tsx | 12 ++++---- .../field/tests/chromatic/Label.stories.tsx | 8 +++--- .../src/field/tests/jest/Field.ssr.test.tsx | 4 +-- .../src/field/tests/jest/Field.test.tsx | 4 +-- .../tests/jest/FieldMessage.ssr.test.tsx | 2 +- .../field/tests/jest/FieldMessage.test.tsx | 2 +- .../field/tests/jest/GroupField.ssr.test.tsx | 4 +-- .../src/field/tests/jest/GroupField.test.tsx | 4 +-- .../src/field/tests/jest/Label.ssr.test.tsx | 2 +- .../src/field/tests/jest/Label.test.tsx | 2 +- packages/components/src/form/docs/Form.mdx | 2 +- .../components/src/form/docs/Form.stories.tsx | 12 ++++---- packages/components/src/form/src/Fieldset.tsx | 4 +-- packages/components/src/form/src/Form.tsx | 6 ++-- .../components/src/form/src/FormContext.ts | 2 +- .../components/src/form/src/useFormButton.ts | 2 +- .../form/tests/chromatic/Fieldset.stories.tsx | 12 ++++---- .../src/form/tests/chromatic/Form.stories.tsx | 20 ++++++------- .../chromatic/FormFlexInline.stories.tsx | 16 +++++------ .../chromatic/FormGridInline.stories.tsx | 14 +++++----- .../src/form/tests/jest/Fieldset.ssr.test.tsx | 6 ++-- .../src/form/tests/jest/Fieldset.test.tsx | 6 ++-- .../src/form/tests/jest/Form.ssr.test.tsx | 2 +- .../src/form/tests/jest/Form.test.tsx | 2 +- packages/components/src/group/src/Group.tsx | 6 ++-- .../src/html/docs/address.stories.tsx | 4 +-- .../src/html/docs/anchor.stories.tsx | 2 +- .../src/html/docs/article.stories.tsx | 4 +-- .../src/html/docs/aside.stories.tsx | 4 +-- .../src/html/docs/button.stories.tsx | 2 +- .../components/src/html/docs/div.stories.tsx | 2 +- .../src/html/docs/footer.stories.tsx | 4 +-- .../src/html/docs/header.stories.tsx | 4 +-- .../components/src/html/docs/img.stories.tsx | 2 +- .../src/html/docs/input.stories.tsx | 2 +- .../components/src/html/docs/list.stories.tsx | 2 +- .../components/src/html/docs/main.stories.tsx | 4 +-- .../components/src/html/docs/nav.stories.tsx | 4 +-- .../src/html/docs/section.stories.tsx | 4 +-- .../components/src/html/docs/span.stories.tsx | 2 +- .../src/html/docs/table.stories.tsx | 2 +- packages/components/src/html/src/html.tsx | 2 +- .../components/src/html/src/htmlElement.tsx | 4 +-- packages/components/src/html/src/index.tsx | 2 +- .../src/html/tests/chromatic/html.stories.tsx | 6 ++-- .../src/html/tests/jest/html.test.tsx | 2 +- .../src/html/tests/typescript/html.tsx | 2 +- .../components/src/icons/src/IconList.tsx | 4 +-- .../tests/chromatic/IconList.stories.tsx | 4 +-- .../icons/tests/jest/IconList.ssr.test.tsx | 2 +- .../src/icons/tests/jest/IconList.test.tsx | 2 +- .../docs/IllustratedMessage.mdx | 2 +- .../docs/IllustratedMessage.stories.tsx | 8 +++--- .../src/IllustratedMessage.tsx | 10 +++---- .../IllustratedMessage-hopper.stories.tsx | 12 ++++---- .../chromatic/IllustratedMessage.stories.tsx | 14 +++++----- .../jest/IllustratedMessage.ssr.test.tsx | 4 +-- .../tests/jest/IllustratedMessage.test.tsx | 4 +-- .../src/illustration/docs/Illustration.mdx | 2 +- .../docs/Illustration.stories.tsx | 4 +-- .../src/illustration/src/Illustration.tsx | 6 ++-- .../tests/chromatic/Illustration.stories.tsx | 10 +++---- .../tests/jest/Illustration.ssr.test.tsx | 4 +-- .../tests/jest/Illustration.test.tsx | 4 +-- packages/components/src/image/docs/Image.mdx | 2 +- .../src/image/docs/Image.stories.tsx | 4 +-- .../components/src/image/src/AsyncImage.tsx | 4 +-- packages/components/src/image/src/Image.tsx | 6 ++-- .../components/src/image/src/SvgImage.tsx | 6 ++-- .../image/tests/chromatic/Image.stories.tsx | 6 ++-- .../tests/chromatic/SvgImage.stories.tsx | 4 +-- .../src/image/tests/jest/Image.ssr.test.tsx | 2 +- .../src/image/tests/jest/Image.test.tsx | 2 +- .../image/tests/jest/SvgImage.ssr.test.tsx | 2 +- .../src/image/tests/jest/SvgImage.test.tsx | 2 +- .../src/input-group/docs/InputGroup.mdx | 2 +- .../input-group/docs/InputGroup.stories.tsx | 18 ++++++------ .../src/input-group/src/InputGroup.tsx | 10 +++---- .../src/input-group/src/InputGroupContext.tsx | 6 ++-- .../src/input-group/src/TextAddon.tsx | 6 ++-- .../tests/chromatic/InputGroup.stories.tsx | 26 ++++++++--------- .../tests/jest/InputGroup.ssr.test.tsx | 8 +++--- .../tests/jest/InputGroup.test.tsx | 8 +++--- .../tests/jest/TextAddon.ssr.test.tsx | 2 +- .../input-group/tests/jest/TextAddon.test.tsx | 2 +- .../src/input/src/adaptInputStylingProps.ts | 4 +-- packages/components/src/input/src/types.ts | 4 +-- .../components/src/input/src/useGroupInput.ts | 10 +++---- packages/components/src/input/src/useInput.ts | 2 +- .../src/input/src/useInputContent.tsx | 6 ++-- .../src/input/src/useInputHasFocus.ts | 2 +- .../tests/jest/adaptInputStylingProps.test.ts | 2 +- .../typescript/adaptInputStylingProps.test.ts | 4 +-- packages/components/src/layout/docs/Flex.mdx | 2 +- .../src/layout/docs/Flex.stories.tsx | 4 +-- packages/components/src/layout/docs/Grid.mdx | 2 +- .../src/layout/docs/Grid.stories.tsx | 4 +-- packages/components/src/layout/src/Flex.tsx | 8 +++--- packages/components/src/layout/src/Grid.tsx | 8 +++--- packages/components/src/layout/src/Inline.tsx | 4 +-- packages/components/src/layout/src/Stack.tsx | 4 +-- .../layout/tests/chromatic/Flex.stories.tsx | 4 +-- .../tests/chromatic/FlexColumn.stories.tsx | 4 +-- .../tests/chromatic/FlexRow.stories.tsx | 4 +-- .../layout/tests/chromatic/Grid.stories.tsx | 4 +-- .../layout/tests/chromatic/Inline.stories.tsx | 4 +-- .../layout/tests/chromatic/Stack.stories.tsx | 4 +-- .../src/layout/tests/jest/Flex.ssr.test.tsx | 4 +-- .../src/layout/tests/jest/Flex.test.tsx | 4 +-- .../src/layout/tests/jest/Grid.ssr.test.tsx | 4 +-- .../src/layout/tests/jest/Grid.test.tsx | 4 +-- .../src/layout/tests/jest/Inline.ssr.test.tsx | 4 +-- .../src/layout/tests/jest/Inline.test.tsx | 4 +-- .../src/layout/tests/jest/Stack.ssr.test.tsx | 4 +-- .../src/layout/tests/jest/Stack.test.tsx | 4 +-- packages/components/src/link/docs/Link.mdx | 2 +- .../components/src/link/docs/Link.stories.tsx | 8 +++--- .../components/src/link/docs/RouterLink.tsx | 2 +- packages/components/src/link/src/IconLink.tsx | 6 ++-- packages/components/src/link/src/Link.tsx | 6 ++-- .../src/link/src/NewTabIndicator.tsx | 4 +-- packages/components/src/link/src/TextLink.tsx | 10 +++---- packages/components/src/link/src/useLink.ts | 2 +- .../src/link/tests/chromatic/Card.tsx | 4 +-- .../chromatic/IconLinButtonk.stories.tsx | 6 ++-- .../link/tests/chromatic/IconLink.stories.tsx | 6 ++-- .../src/link/tests/chromatic/LaunchImage.tsx | 2 +- .../src/link/tests/chromatic/Link.stories.tsx | 4 +-- .../link/tests/chromatic/LinkCard.stories.tsx | 4 +-- .../tests/chromatic/LinkImage.stories.tsx | 6 ++-- .../link/tests/chromatic/TextLink.stories.tsx | 8 +++--- .../chromatic/TextLinkButton.stories.tsx | 8 +++--- .../src/link/tests/jest/IconLink.ssr.test.tsx | 2 +- .../src/link/tests/jest/IconLink.test.tsx | 2 +- .../src/link/tests/jest/Link.ssr.test.tsx | 2 +- .../src/link/tests/jest/Link.test.tsx | 2 +- .../src/link/tests/jest/TextLink.ssr.test.tsx | 2 +- .../src/link/tests/jest/TextLink.test.tsx | 2 +- .../components/src/listbox/docs/Listbox.mdx | 4 +-- .../src/listbox/docs/Listbox.stories.tsx | 14 +++++----- .../components/src/listbox/src/Listbox.tsx | 10 +++---- .../src/listbox/src/ListboxContext.ts | 2 +- .../src/listbox/src/ListboxOption.tsx | 10 +++---- .../src/listbox/src/ListboxSection.tsx | 4 +-- .../chromatic/Listbox-hopper.stories.tsx | 10 +++---- .../tests/chromatic/Listbox.stories.tsx | 14 +++++----- .../listbox/tests/jest/Listbox.ssr.test.tsx | 4 +-- .../src/listbox/tests/jest/Listbox.test.tsx | 8 +++--- .../components/src/loader/docs/Loader.mdx | 4 +-- .../src/loader/docs/Loader.stories.tsx | 4 +-- packages/components/src/loader/src/Loader.tsx | 6 ++-- .../loader/tests/chromatic/Loader.stories.tsx | 4 +-- .../src/loader/tests/jest/Loader.ssr.test.tsx | 2 +- .../src/loader/tests/jest/Loader.test.tsx | 2 +- .../components/src/lozenge/docs/Lozenge.mdx | 6 ++-- .../src/lozenge/docs/Lozenge.stories.tsx | 6 ++-- .../components/src/lozenge/src/Lozenge.tsx | 8 +++--- .../tests/chromatic/Lozenge.stories.tsx | 10 +++---- .../lozenge/tests/jest/Lozenge.ssr.test.tsx | 2 +- .../src/lozenge/tests/jest/Lozenge.test.tsx | 2 +- packages/components/src/menu/docs/Menu.mdx | 6 ++-- .../components/src/menu/docs/Menu.stories.tsx | 24 ++++++++-------- packages/components/src/menu/src/Menu.tsx | 10 +++---- packages/components/src/menu/src/MenuItem.tsx | 10 +++---- .../components/src/menu/src/MenuSection.tsx | 6 ++-- .../components/src/menu/src/MenuTrigger.tsx | 8 +++--- .../tests/chromatic/Menu-hopper.stories.tsx | 10 +++---- .../src/menu/tests/chromatic/Menu.stories.tsx | 16 +++++------ .../chromatic/MenuTrigger-hopper.stories.tsx | 12 ++++---- .../tests/chromatic/MenuTrigger.stories.tsx | 14 +++++----- .../src/menu/tests/jest/Menu.test.tsx | 10 +++---- .../menu/tests/jest/MenuTrigger.ssr.test.tsx | 6 ++-- .../src/menu/tests/jest/MenuTrigger.test.tsx | 10 +++---- packages/components/src/modal/docs/Modal.mdx | 4 +-- .../src/modal/docs/Modal.stories.tsx | 18 ++++++------ packages/components/src/modal/src/Modal.tsx | 10 +++---- .../components/src/modal/src/ModalTrigger.tsx | 4 +-- .../src/modal/src/useModalTriggerContext.ts | 2 +- .../tests/chromatic/Modal-hopper.stories.tsx | 14 +++++----- .../modal/tests/chromatic/Modal.stories.tsx | 16 +++++------ .../chromatic/ModalTrigger-hopper.stories.tsx | 6 ++-- .../tests/chromatic/ModalTrigger.stories.tsx | 8 +++--- .../src/modal/tests/jest/Modal.test.tsx | 6 ++-- .../tests/jest/ModalTrigger.ssr.test.tsx | 8 +++--- .../modal/tests/jest/ModalTrigger.test.tsx | 8 +++--- .../src/number-input/docs/NumberInput.mdx | 2 +- .../number-input/docs/NumberInput.stories.tsx | 8 +++--- .../src/number-input/src/NumberInput.tsx | 16 +++++------ .../tests/chromatic/NumberInput.stories.tsx | 6 ++-- .../tests/jest/NumberInput.ssr.test.tsx | 2 +- .../tests/jest/NumberInput.test.tsx | 4 +-- .../components/src/overlay/docs/Overlay.mdx | 2 +- .../components/src/overlay/src/Overlay.tsx | 6 ++-- .../src/overlay/src/OverlayArrow.tsx | 4 +-- .../components/src/overlay/src/Underlay.tsx | 4 +-- .../src/overlay/src/isDevtoolsBlurEvent.ts | 2 +- .../src/overlay/src/useInteractOutside.ts | 2 +- .../src/overlay/src/useOverlayFocusRing.ts | 2 +- .../src/overlay/src/useOverlayLightDismiss.ts | 2 +- .../src/overlay/src/useOverlayPosition.ts | 4 +-- .../src/overlay/src/useOverlayTrigger.ts | 2 +- .../components/src/overlay/src/usePopup.ts | 4 +-- .../src/overlay/src/usePopupAriaProps.ts | 2 +- .../src/overlay/src/usePopupLightDismiss.ts | 2 +- .../src/overlay/src/useRestoreFocus.ts | 2 +- .../src/overlay/src/useTrapFocus.ts | 2 +- .../src/overlay/src/useTriggerWidth.ts | 2 +- .../tests/chromatic/Overlay.stories.tsx | 8 +++--- .../tests/chromatic/Underlay.stories.tsx | 2 +- .../jest/useOverlayLightDismiss.test.tsx | 6 ++-- .../tests/jest/useOverlayTrigger.test.tsx | 4 +-- .../src/overlay/tests/jest/usePopup.test.tsx | 8 +++--- .../overlay/tests/jest/useTrapFocus.test.tsx | 8 +++--- .../src/placeholders/docs/Content.mdx | 2 +- .../src/placeholders/docs/Content.stories.tsx | 2 +- .../src/placeholders/docs/Footer.mdx | 2 +- .../src/placeholders/docs/Footer.stories.tsx | 2 +- .../src/placeholders/docs/Header.mdx | 2 +- .../src/placeholders/docs/Header.stories.tsx | 2 +- .../src/placeholders/src/Content.tsx | 4 +-- .../src/placeholders/src/Footer.tsx | 4 +-- .../src/placeholders/src/Header.tsx | 4 +-- .../components/src/popover/docs/Popover.mdx | 6 ++-- .../src/popover/docs/Popover.stories.tsx | 8 +++--- .../components/src/popover/src/Popover.tsx | 8 +++--- .../src/popover/src/PopoverTrigger.tsx | 6 ++-- .../chromatic/Popover-hopper.stories.tsx | 8 +++--- .../tests/chromatic/Popover.stories.tsx | 22 +++++++-------- .../PopoverTrigger-hopper.stories.tsx | 4 +-- .../chromatic/PopoverTrigger.stories.tsx | 8 +++--- .../src/popover/tests/jest/Popover.test.tsx | 12 ++++---- .../tests/jest/PopoverTrigger.ssr.test.tsx | 8 +++--- .../tests/jest/PopoverTrigger.test.tsx | 12 ++++---- packages/components/src/radio/docs/Radio.mdx | 2 +- .../src/radio/docs/Radio.stories.tsx | 12 ++++---- packages/components/src/radio/src/Radio.tsx | 16 +++++------ .../components/src/radio/src/RadioGroup.tsx | 12 ++++---- .../tests/chromatic/Radio-hopper.stories.tsx | 4 +-- .../radio/tests/chromatic/Radio.stories.tsx | 4 +-- .../chromatic/RadioChecked-hopper.stories.tsx | 12 ++++---- .../tests/chromatic/RadioChecked.stories.tsx | 12 ++++---- .../tests/chromatic/RadioGroup.stories.tsx | 18 ++++++------ .../RadioGroupHorizontal.stories.tsx | 6 ++-- .../RadioUnchecked-hopper.stories.tsx | 8 +++--- .../chromatic/RadioUnchecked.stories.tsx | 12 ++++---- .../src/radio/tests/jest/Radio.test.tsx | 2 +- .../radio/tests/jest/RadioGroup.ssr.test.tsx | 2 +- .../src/radio/tests/jest/RadioGroup.test.tsx | 6 ++-- .../components/src/select/docs/Select.mdx | 4 +-- .../src/select/docs/Select.stories.tsx | 22 +++++++-------- .../src/select/src/HiddenSelect.tsx | 6 ++-- packages/components/src/select/src/Select.tsx | 22 +++++++-------- .../components/src/select/src/useSelect.tsx | 10 +++---- .../select/tests/chromatic/Select.stories.tsx | 14 +++++----- .../tests/chromatic/SelectGhost.stories.tsx | 10 +++---- .../tests/chromatic/SelectOutline.stories.tsx | 10 +++---- .../src/select/tests/jest/Select.ssr.test.tsx | 4 +-- .../src/select/tests/jest/Select.test.tsx | 12 ++++---- packages/components/src/shared/src/types.ts | 2 +- .../shared/tests/chromatic/Slots.stories.tsx | 6 ++-- .../src/shared/tests/jest/as.test.tsx | 6 ++-- .../shared/tests/jest/augmentElement.test.tsx | 4 +-- .../tests/jest/createChainedFunction.test.ts | 2 +- .../jest/createFocusableTreeWalker.test.ts | 2 +- .../shared/tests/jest/focusManager.test.ts | 2 +- .../tests/jest/focusScopeIterator.test.ts | 2 +- .../shared/tests/jest/mergeClasses.test.ts | 2 +- .../src/shared/tests/jest/mergeProps.test.ts | 2 +- .../src/shared/tests/jest/mergeRefs.test.ts | 2 +- .../tests/jest/useCombinedRefs.test.tsx | 2 +- .../tests/jest/useControllableState.test.tsx | 2 +- .../tests/jest/useEventListener.test.tsx | 2 +- .../shared/tests/jest/useFocusScope.test.tsx | 14 +++++----- .../shared/tests/jest/useFocusWithin.test.tsx | 4 +-- .../src/shared/tests/jest/useId.ssr.test.tsx | 2 +- .../tests/jest/useKeyedRovingFocus.test.tsx | 6 ++-- .../shared/tests/jest/useRawSlots.test.tsx | 4 +-- .../shared/tests/jest/useRovingFocus.test.tsx | 6 ++-- .../src/shared/tests/jest/useSlots.test.tsx | 4 +-- .../shared/tests/typescript/arrayify.test.ts | 2 +- .../src/shared/tests/typescript/as.test.tsx | 6 ++-- .../tests/typescript/mergeProps.test.ts | 2 +- .../shared/tests/typescript/omitProps.test.ts | 2 +- .../shared/tests/typescript/slots.test.tsx | 2 +- .../src/shared/tests/typescript/types.test.ts | 2 +- .../components/src/spinner/docs/Spinner.mdx | 2 +- .../src/spinner/docs/Spinner.stories.tsx | 6 ++-- .../components/src/spinner/src/Spinner.tsx | 8 +++--- .../tests/chromatic/Spinner.stories.tsx | 4 +-- .../spinner/tests/jest/Spinner.ssr.test.tsx | 2 +- .../src/spinner/tests/jest/Spinner.test.tsx | 2 +- .../styling/docs/ThemeProvider.stories.tsx | 2 +- .../src/styling/src/BreakpointProvider.tsx | 2 +- .../src/styling/src/StyleContext.ts | 2 +- .../src/styling/src/useColorScheme.ts | 2 +- .../src/styling/src/useResponsiveValue.tsx | 2 +- .../ThemeProvider-hopper.stories.tsx | 6 ++-- .../tests/chromatic/ThemeProvider.stories.tsx | 6 ++-- .../chromatic/sharegate-hopper.stories.tsx | 6 ++-- .../tests/chromatic/sharegate.stories.tsx | 6 ++-- .../useStyledSystem-hopper.stories.tsx | 2 +- .../chromatic/useStyledSystem.stories.tsx | 2 +- .../tests/jest/parseResponsiveValue.test.tsx | 2 +- .../tests/jest/useColorSchemeValue.test.tsx | 2 +- .../tests/jest/useStyledSystem.test.tsx | 2 +- .../tests/typescript/useStyledSystem.test.tsx | 2 +- .../components/src/switch/docs/Switch.mdx | 2 +- .../src/switch/docs/Switch.stories.tsx | 8 +++--- packages/components/src/switch/src/Switch.tsx | 20 ++++++------- .../tests/chromatic/Switch-hopper.stories.tsx | 4 +-- .../switch/tests/chromatic/Switch.stories.tsx | 4 +-- .../SwitchChecked-hopper.stories.tsx | 8 +++--- .../tests/chromatic/SwitchChecked.stories.tsx | 12 ++++---- .../SwitchUnchecked-hopper.stories.tsx | 8 +++--- .../chromatic/SwitchUnchecked.stories.tsx | 12 ++++---- .../src/switch/tests/jest/Switch.ssr.test.tsx | 2 +- .../src/switch/tests/jest/Switch.test.tsx | 2 +- packages/components/src/tabs/docs/Tabs.mdx | 6 ++-- .../components/src/tabs/docs/Tabs.stories.tsx | 14 +++++----- packages/components/src/tabs/src/Tab.tsx | 6 ++-- packages/components/src/tabs/src/TabList.tsx | 8 +++--- packages/components/src/tabs/src/TabPanel.tsx | 4 +-- .../components/src/tabs/src/TabPanels.tsx | 4 +-- packages/components/src/tabs/src/Tabs.tsx | 6 ++-- .../src/tabs/src/useCollapsibleTabs.ts | 2 +- .../components/src/tabs/src/useTabsItems.ts | 4 +-- .../tests/chromatic/Tabs-hopper.stories.tsx | 10 +++---- .../src/tabs/tests/chromatic/Tabs.stories.tsx | 12 ++++---- .../chromatic/TabsHeading-hopper.stories.tsx | 10 +++---- .../tests/chromatic/TabsHeading.stories.tsx | 14 +++++----- .../chromatic/TabsInCard-hopper.stories.tsx | 10 +++---- .../tests/chromatic/TabsInCard.stories.tsx | 14 +++++----- .../TabsStandalone-hopper.stories.tsx | 10 +++---- .../chromatic/TabsStandalone.stories.tsx | 14 +++++----- .../chromatic/TabsVertical-hopper.stories.tsx | 8 +++--- .../tests/chromatic/TabsVertical.stories.tsx | 12 ++++---- .../src/tabs/tests/jest/Tabs.ssr.test.tsx | 6 ++-- .../src/tabs/tests/jest/Tabs.test.tsx | 8 +++--- packages/components/src/tag/docs/Tag.mdx | 2 +- .../components/src/tag/docs/Tag.stories.tsx | 22 +++++++-------- packages/components/src/tag/src/Tag.tsx | 14 +++++----- packages/components/src/tag/src/TagList.tsx | 10 +++---- .../tests/chromatic/Tag-hopper.stories.tsx | 4 +-- .../src/tag/tests/chromatic/Tag.stories.tsx | 4 +-- .../chromatic/TagList-hopper.stories.tsx | 12 ++++---- .../tag/tests/chromatic/TagList.stories.tsx | 14 +++++----- .../chromatic/TagOutline-hopper.stories.tsx | 14 +++++----- .../tests/chromatic/TagOutline.stories.tsx | 20 ++++++------- .../chromatic/TagSolid-hopper.stories.tsx | 14 +++++----- .../tag/tests/chromatic/TagSolid.stories.tsx | 20 ++++++------- .../src/tag/tests/jest/Tag.ssr.test.tsx | 2 +- .../src/tag/tests/jest/Tag.test.tsx | 2 +- .../src/text-area/docs/TextArea.mdx | 2 +- .../src/text-area/docs/TextArea.stories.tsx | 4 +-- .../components/src/text-area/src/TextArea.tsx | 10 +++---- .../chromatic/TextArea-hopper.stories.tsx | 8 +++--- .../tests/chromatic/TextArea.stories.tsx | 8 +++--- .../tests/jest/TextArea.ssr.test.tsx | 2 +- .../text-area/tests/jest/TextArea.test.tsx | 4 +-- .../src/text-input/docs/TextInput.mdx | 2 +- .../src/text-input/docs/TextInput.stories.tsx | 6 ++-- .../src/text-input/src/PasswordInput.tsx | 8 +++--- .../src/text-input/src/SearchInput.tsx | 8 +++--- .../src/text-input/src/TextInput.tsx | 14 +++++----- .../PasswordInput-hopper.stories.tsx | 6 ++-- .../tests/chromatic/PasswordInput.stories.tsx | 6 ++-- .../chromatic/SearchInput-hopper.stories.tsx | 6 ++-- .../tests/chromatic/SearchInput.stories.tsx | 6 ++-- .../chromatic/TextInput-hopper.stories.tsx | 8 +++--- .../tests/chromatic/TextInput.stories.tsx | 8 +++--- .../tests/jest/PasswordInput.ssr.test.tsx | 2 +- .../tests/jest/PasswordInput.test.tsx | 2 +- .../tests/jest/SearchInput.ssr.test.tsx | 2 +- .../tests/jest/SearchInput.test.tsx | 4 +-- .../tests/jest/TextInput.ssr.test.tsx | 2 +- .../text-input/tests/jest/TextInput.test.tsx | 4 +-- packages/components/src/tile/docs/Tile.mdx | 6 ++-- .../components/src/tile/docs/Tile.stories.tsx | 14 +++++----- packages/components/src/tile/src/Tile.tsx | 6 ++-- .../components/src/tile/src/TileGroup.tsx | 10 +++---- packages/components/src/tile/src/TileLink.tsx | 6 ++-- packages/components/src/tile/src/useTile.tsx | 6 ++-- .../src/tile/tests/chromatic/Tile.stories.tsx | 12 ++++---- .../tests/chromatic/TileGroup.stories.tsx | 10 +++---- .../chromatic/TileHorizontal.stories.tsx | 14 +++++----- .../chromatic/TileLinkHorizontal.stories.tsx | 14 +++++----- .../chromatic/TileLinkVertical.stories.tsx | 14 +++++----- .../tests/chromatic/TileVertical.stories.tsx | 14 +++++----- .../src/tile/tests/jest/Tile.ssr.test.tsx | 6 ++-- .../src/tile/tests/jest/Tile.test.tsx | 8 +++--- .../tile/tests/jest/TileGroup.ssr.test.tsx | 6 ++-- .../src/tile/tests/jest/TileGroup.test.tsx | 6 ++-- .../src/tile/tests/jest/TileLink.ssr.test.tsx | 6 ++-- .../src/tile/tests/jest/TileLink.test.tsx | 6 ++-- .../components/src/toolbar/docs/Toolbar.mdx | 2 +- .../src/toolbar/docs/Toolbar.stories.tsx | 14 +++++----- .../components/src/toolbar/src/Toolbar.tsx | 6 ++-- .../src/toolbar/src/ToolbarContext.tsx | 4 +-- .../chromatic/Toolbar-hopper.stories.tsx | 20 ++++++------- .../tests/chromatic/Toolbar.stories.tsx | 20 ++++++------- .../ToolbarVertical-hopper.stories.tsx | 12 ++++---- .../chromatic/ToolbarVertical.stories.tsx | 12 ++++---- .../toolbar/tests/jest/Toolbar.ssr.test.tsx | 4 +-- .../src/toolbar/tests/jest/Toolbar.test.tsx | 6 ++-- .../components/src/tooltip/docs/Tooltip.mdx | 2 +- .../src/tooltip/docs/Tooltip.stories.tsx | 6 ++-- .../components/src/tooltip/src/Tooltip.tsx | 4 +-- .../src/tooltip/src/TooltipTrigger.tsx | 8 +++--- .../chromatic/Tooltip-hopper.stories.tsx | 8 +++--- .../tests/chromatic/Tooltip.stories.tsx | 8 +++--- .../src/tooltip/tests/jest/Tooltip.test.tsx | 2 +- .../tests/jest/TooltipTrigger.ssr.test.tsx | 4 +-- .../tests/jest/TooltipTrigger.test.tsx | 6 ++-- .../src/transition/docs/Transition.mdx | 2 +- .../transition/docs/Transition.stories.tsx | 8 +++--- .../src/transition/src/Transition.tsx | 4 +-- .../tests/jest/Transition.ssr.test.tsx | 2 +- .../transition/tests/jest/Transition.test.tsx | 2 +- .../src/typography/docs/Heading.mdx | 2 +- .../src/typography/docs/Heading.stories.tsx | 2 +- .../src/typography/docs/Paragraph.mdx | 2 +- .../src/typography/docs/Paragraph.stories.tsx | 2 +- .../components/src/typography/docs/Text.mdx | 2 +- .../src/typography/docs/Text.stories.tsx | 4 +-- .../components/src/typography/src/Heading.tsx | 6 ++-- .../src/typography/src/Paragraph.tsx | 6 ++-- .../components/src/typography/src/Text.tsx | 6 ++-- .../tests/chromatic/Heading.stories.tsx | 2 +- .../tests/chromatic/Paragraph.stories.tsx | 4 +-- .../tests/chromatic/Text.stories.tsx | 6 ++-- .../tests/jest/Heading.ssr.test.tsx | 2 +- .../typography/tests/jest/Heading.test.tsx | 2 +- .../tests/jest/Paragraph.ssr.test.tsx | 2 +- .../typography/tests/jest/Paragraph.test.tsx | 2 +- .../typography/tests/jest/Text.ssr.test.tsx | 2 +- .../src/typography/tests/jest/Text.test.tsx | 2 +- .../visually-hidden/src/VisuallyHidden.tsx | 4 +-- tooling/test-utils/renderWithTheme.tsx | 2 +- 738 files changed, 2302 insertions(+), 2302 deletions(-) diff --git a/.storybook/components/banner/Banner.tsx b/.storybook/components/banner/Banner.tsx index 069dfca5a..4f11420cd 100644 --- a/.storybook/components/banner/Banner.tsx +++ b/.storybook/components/banner/Banner.tsx @@ -1,7 +1,7 @@ import "./Banner.css"; -import { Div, DivProps } from "@components/html"; -import { mergeProps } from "@components/shared"; +import { Div, DivProps } from "@components/html/index.ts"; +import { mergeProps } from "@components/shared/index.ts"; export function Banner({ children, ...rest }: DivProps) { return ( diff --git a/.storybook/components/checkered-background/CheckeredBackground.tsx b/.storybook/components/checkered-background/CheckeredBackground.tsx index 5464778b6..fc20ab720 100644 --- a/.storybook/components/checkered-background/CheckeredBackground.tsx +++ b/.storybook/components/checkered-background/CheckeredBackground.tsx @@ -1,7 +1,7 @@ import "./CheckeredBackground.css"; -import { Div, DivProps } from "@components/html"; -import { mergeProps } from "@components/shared"; +import { Div, DivProps } from "@components/html/index.ts"; +import { mergeProps } from "@components/shared/index.ts"; export function CheckeredBackground({ children, ...rest }: DivProps) { return ( diff --git a/.storybook/components/component-info/ComponentInfo.tsx b/.storybook/components/component-info/ComponentInfo.tsx index 30e8a92fd..afbb6b565 100644 --- a/.storybook/components/component-info/ComponentInfo.tsx +++ b/.storybook/components/component-info/ComponentInfo.tsx @@ -1,8 +1,8 @@ import "./ComponentInfo.css"; import { ExternalLink, GithubLink, Link, useThemedSnippet } from "@stories/components"; -import { cssModule, mergeClasses } from "@components/shared"; -import { Div } from "@components/html"; +import { cssModule, mergeClasses } from "@components/shared/index.ts"; +import { Div } from "@components/html/index.ts"; import { ComponentProps } from "react"; const ExtendLinks = { diff --git a/.storybook/components/github-link/GithubLink.tsx b/.storybook/components/github-link/GithubLink.tsx index 94e5be235..e6cd9b4f7 100644 --- a/.storybook/components/github-link/GithubLink.tsx +++ b/.storybook/components/github-link/GithubLink.tsx @@ -1,7 +1,7 @@ import { ExternalLink, ExternalLinkProps } from "@stories/components"; -import { Flex } from "@components/layout"; -import { Img } from "@components/html"; -import { getGithubUrl } from "./getGithubUrl"; +import { Flex } from "@components/layout/index.ts"; +import { Img } from "@components/html/index.ts"; +import { getGithubUrl } from "./getGithubUrl.ts"; import GithubLogo from "./assets/logo-github-32.png"; interface GithubLinkProps extends Omit<ExternalLinkProps, "href"> { diff --git a/.storybook/components/snippet/useFormattedCode.ts b/.storybook/components/snippet/useFormattedCode.ts index 745284d54..4f85ed70a 100644 --- a/.storybook/components/snippet/useFormattedCode.ts +++ b/.storybook/components/snippet/useFormattedCode.ts @@ -1,4 +1,4 @@ -import { isNil } from "@components/shared"; +import { isNil } from "@components/shared/index.ts"; import { useMemo } from "react"; import prettier from "prettier/standalone"; import prettierBabel from "prettier/parser-babel"; diff --git a/.storybook/components/table/Table.tsx b/.storybook/components/table/Table.tsx index e1b90af48..a9ef1bdc3 100644 --- a/.storybook/components/table/Table.tsx +++ b/.storybook/components/table/Table.tsx @@ -1,5 +1,5 @@ /* eslint-disable react/no-array-index-key */ -import { isPlainObject, isString, mergeClasses } from "@components/shared"; +import { isPlainObject, isString, mergeClasses } from "@components/shared/index.ts"; import { isElement } from "react-is"; import { ComponentProps } from "react"; diff --git a/.storybook/components/themed-snippet/useThemedSnippet.ts b/.storybook/components/themed-snippet/useThemedSnippet.ts index 89159c95e..a847e4fe9 100644 --- a/.storybook/components/themed-snippet/useThemedSnippet.ts +++ b/.storybook/components/themed-snippet/useThemedSnippet.ts @@ -1,5 +1,5 @@ import { DocsContext } from "@storybook/addon-docs"; -import { isNil, isString } from "@components/shared"; +import { isNil, isString } from "@components/shared/index.ts"; import { useContext, useMemo } from "react"; export function useThemedSnippet(snippets: string | Record<string, string>) { diff --git a/.storybook/decorators/withBackgroundMatchingColorScheme.tsx b/.storybook/decorators/withBackgroundMatchingColorScheme.tsx index 078905521..d47698822 100644 --- a/.storybook/decorators/withBackgroundMatchingColorScheme.tsx +++ b/.storybook/decorators/withBackgroundMatchingColorScheme.tsx @@ -1,4 +1,4 @@ -import { isNil } from "@components/shared"; +import { isNil } from "@components/shared/index.ts"; import { useEffect } from "react"; const StyleElementId = "story-background-color"; diff --git a/.storybook/decorators/withCenteredCanvas.tsx b/.storybook/decorators/withCenteredCanvas.tsx index cf4466ae7..4be7c7066 100644 --- a/.storybook/decorators/withCenteredCanvas.tsx +++ b/.storybook/decorators/withCenteredCanvas.tsx @@ -1,5 +1,5 @@ -import { Div } from "@components/html"; -import { Flex } from "@components/layout"; +import { Div } from "@components/html/index.ts"; +import { Flex } from "@components/layout/index.ts"; import { isChromatic } from "../env"; export function withCenteredCanvas(story, context) { diff --git a/.storybook/decorators/withDocsContainer.tsx b/.storybook/decorators/withDocsContainer.tsx index a71f27a54..4c64fd606 100644 --- a/.storybook/decorators/withDocsContainer.tsx +++ b/.storybook/decorators/withDocsContainer.tsx @@ -1,4 +1,4 @@ -import { ThemeProvider } from "@components/styling"; +import { ThemeProvider } from "@components/styling/index.ts"; import { DocsContainer } from "@storybook/blocks"; diff --git a/.storybook/decorators/withThemeProvider.tsx b/.storybook/decorators/withThemeProvider.tsx index 0ea7cfb1d..5be08b3f4 100644 --- a/.storybook/decorators/withThemeProvider.tsx +++ b/.storybook/decorators/withThemeProvider.tsx @@ -1,4 +1,4 @@ -import { ThemeProvider } from "@components/styling"; +import { ThemeProvider } from "@components/styling/index.ts"; import { isChromatic } from "../env"; import { useEffect, useState, ReactNode } from "react"; diff --git a/.storybook/main.ts b/.storybook/main.ts index ad4b76c22..edc31ad6a 100644 --- a/.storybook/main.ts +++ b/.storybook/main.ts @@ -2,7 +2,7 @@ import type { StorybookConfig } from "@storybook/react-webpack5"; import { TsconfigPathsPlugin } from "tsconfig-paths-webpack-plugin"; -import { includeDocs, includeChromatic } from "./env"; +import { includeDocs, includeChromatic } from "./env.ts"; // We sometimes need to disable the lazyCompilation to properly run the test runner on stories const isLazyCompilation = !(process.env.STORYBOOK_NO_LAZY === "true"); diff --git a/.storybook/mdx/highlight/Highlight.tsx b/.storybook/mdx/highlight/Highlight.tsx index e9ced2f5d..ac3196fc1 100644 --- a/.storybook/mdx/highlight/Highlight.tsx +++ b/.storybook/mdx/highlight/Highlight.tsx @@ -1,4 +1,4 @@ -import { Div, DivProps } from "@components/html"; +import { Div, DivProps } from "@components/html/index.ts"; import "./highlight.css"; export function Highlight({ children, ...rest }: Omit<DivProps, "className">) { diff --git a/.storybook/preview.tsx b/.storybook/preview.tsx index 2f4b041a7..32ec89b4f 100644 --- a/.storybook/preview.tsx +++ b/.storybook/preview.tsx @@ -1,8 +1,8 @@ // import { viewport, withHopperProvider } from "./storybook-addon/index"; import { viewport } from "./storybook-addon/index"; -import { withBackgroundMatchingColorScheme, withCenteredCanvas, ThemedDocsContainer, withThemeProvider } from "./decorators"; +import { withBackgroundMatchingColorScheme, withCenteredCanvas, ThemedDocsContainer, withThemeProvider } from "./decorators/index.ts"; import "./stories.css"; -import { isChromatic } from "./env"; +import { isChromatic } from "./env.ts"; import { Themes } from "./styles/themes"; import { formatCode } from "./components/snippet/useFormattedCode"; import type { Preview } from "@storybook/react"; @@ -10,7 +10,7 @@ import type { Preview } from "@storybook/react"; import "@components/index.css"; import "./styles"; import "@hopper-ui/tokens/fonts.css"; -import { Highlight } from "./mdx"; +import { Highlight } from "./mdx/index.ts"; if (!isChromatic) { // Custom font makes chromatic inconsistent and cause "false positive". View https://www.chromatic.com/docs/resource-loading#loading-custom-fonts. diff --git a/.storybook/storybook-addon/withHopperProvider.tsx b/.storybook/storybook-addon/withHopperProvider.tsx index d7c6ee61b..d1ccc0657 100644 --- a/.storybook/storybook-addon/withHopperProvider.tsx +++ b/.storybook/storybook-addon/withHopperProvider.tsx @@ -1,8 +1,8 @@ import { ColorScheme } from "@hopper-ui/components"; import { makeDecorator } from "@storybook/preview-api"; -import { ThemeProvider } from "../../packages/components/src/styling"; +import { ThemeProvider } from "../../packages/components/src/styling/index.ts"; -import { DisableAnimations } from "./DisableAnimations"; +import { DisableAnimations } from "./DisableAnimations.tsx"; import "./disableAnimations.css"; const AddonName = "hopper"; diff --git a/docs/features/style-props/StyleProps.mdx b/docs/features/style-props/StyleProps.mdx index 7ef5a8eaa..29d16cea5 100644 --- a/docs/features/style-props/StyleProps.mdx +++ b/docs/features/style-props/StyleProps.mdx @@ -1,8 +1,8 @@ import { Table } from "@stories/components"; import { Meta, Canvas, Source } from "@storybook/addon-docs"; -import { Div } from "@components/html"; -import { Paragraph } from "@components/typography"; -import { PropsReferenceTable } from "./PropsReferenceTable"; +import { Div } from "@components/html/index.ts"; +import { Paragraph } from "@components/typography/index.ts"; +import { PropsReferenceTable } from "./PropsReferenceTable.tsx"; import * as StylePropsStories from "./StyleProps.stories"; <Meta of={StylePropsStories} /> diff --git a/docs/features/tokens/ColorPaletteTable.tsx b/docs/features/tokens/ColorPaletteTable.tsx index 0e7042696..19b0e9f83 100644 --- a/docs/features/tokens/ColorPaletteTable.tsx +++ b/docs/features/tokens/ColorPaletteTable.tsx @@ -1,4 +1,4 @@ -import { Div } from "@components/html"; +import { Div } from "@components/html/index.ts"; import { Table } from "@stories/components"; function toRowValues({ value, variable, color }: Color) { diff --git a/docs/features/tokens/TokenTable.tsx b/docs/features/tokens/TokenTable.tsx index 555dfca99..d7e000331 100644 --- a/docs/features/tokens/TokenTable.tsx +++ b/docs/features/tokens/TokenTable.tsx @@ -1,10 +1,10 @@ -import { ThemeProvider, ThemeComputedStyle, type FontWeightProp, type PaddingProp, type ColorSchemeOrSystem } from "@components/styling"; -import { Div, Span } from "@components/html"; -import { Flex } from "@components/layout"; +import { ThemeProvider, ThemeComputedStyle, type FontWeightProp, type PaddingProp, type ColorSchemeOrSystem } from "@components/styling/index.ts"; +import { Div, Span } from "@components/html/index.ts"; +import { Flex } from "@components/layout/index.ts"; import { DocsContext } from "@storybook/addon-docs"; import { InfoIcon, type CreatedIconProps } from "@hopper-ui/icons"; import { Table } from "@stories/components"; -import { Text } from "@components/typography"; +import { Text } from "@components/typography/index.ts"; import { useEffect, useContext, useRef, useState, type ReactNode } from "react"; function toRowValues({ token, variable, itemRenderer }, docsContext, themeComputedStyle) { diff --git a/docs/features/tokens/Tokens.tsx b/docs/features/tokens/Tokens.tsx index d98205d96..100d540ed 100644 --- a/docs/features/tokens/Tokens.tsx +++ b/docs/features/tokens/Tokens.tsx @@ -44,7 +44,7 @@ import { ComplexMarginMapping, SemanticComplexMarginSpace, SizingMapping -} from "@components/styling"; +} from "@components/styling/index.ts"; function toTokenValue(key, value) { return { diff --git a/packages/components/src/accordion/docs/Accordion.mdx b/packages/components/src/accordion/docs/Accordion.mdx index 8ba1e3bf0..28d7613a2 100644 --- a/packages/components/src/accordion/docs/Accordion.mdx +++ b/packages/components/src/accordion/docs/Accordion.mdx @@ -1,10 +1,10 @@ -import { Accordion, InnerAccordion, InnerAccordionHeader, InnerAccordionPanel } from "@components/accordion"; +import { Accordion, InnerAccordion, InnerAccordionHeader, InnerAccordionPanel } from "@components/accordion/index.ts"; import { Source, ArgTypes, Meta, Story, Canvas, SourceType } from "@storybook/addon-docs"; import { ComponentInfo, Tagline } from "@stories/components"; -import { Content, InnerContent } from "@components/placeholders"; -import { H3, Text } from "@components/typography"; +import { Content, InnerContent } from "@components/placeholders/index.ts"; +import { H3, Text } from "@components/typography/index.ts"; import { SparklesIcon } from "@hopper-ui/icons"; -import { InnerItem, Item } from "@components/collection"; +import { InnerItem, Item } from "@components/collection/index.ts"; import * as AccordionStories from "./Accordion.stories.tsx"; <Meta of={AccordionStories} /> diff --git a/packages/components/src/accordion/docs/Accordion.stories.tsx b/packages/components/src/accordion/docs/Accordion.stories.tsx index 168b977f5..7ff54da8b 100644 --- a/packages/components/src/accordion/docs/Accordion.stories.tsx +++ b/packages/components/src/accordion/docs/Accordion.stories.tsx @@ -1,7 +1,7 @@ -import { H3, Text } from "@components/typography"; -import { Accordion, AccordionHeader, useAccordionContext, type AccordionHeaderProps } from "@components/accordion"; -import { Content } from "@components/placeholders"; -import { Item } from "@components/collection"; +import { H3, Text } from "@components/typography/index.ts"; +import { Accordion, AccordionHeader, useAccordionContext, type AccordionHeaderProps } from "@components/accordion/index.ts"; +import { Content } from "@components/placeholders/index.ts"; +import { Item } from "@components/collection/index.ts"; import { Meta, StoryObj } from "@storybook/react"; import { SparklesIcon } from "@hopper-ui/icons"; import { useCallback, useState, type SyntheticEvent } from "react"; diff --git a/packages/components/src/accordion/src/Accordion.tsx b/packages/components/src/accordion/src/Accordion.tsx index 2a5f14f92..98d9b2e06 100644 --- a/packages/components/src/accordion/src/Accordion.tsx +++ b/packages/components/src/accordion/src/Accordion.tsx @@ -1,6 +1,6 @@ -import { AccordionContext } from "./AccordionContext"; -import { AccordionItem } from "./AccordionItem"; -import { Box } from "../../box"; +import { AccordionContext } from "./AccordionContext.tsx"; +import { AccordionItem } from "./AccordionItem.tsx"; +import { Box } from "../../box/index.ts"; import { ComponentProps, ReactNode, SyntheticEvent, forwardRef } from "react"; import { InternalProps, @@ -19,8 +19,8 @@ import { useId, useKeyboardNavigation, useMergedRefs -} from "../../shared"; -import { useAccordionItems } from "./useAccordionItems"; +} from "../../shared/index.ts"; +import { useAccordionItems } from "./useAccordionItems.ts"; const DefaultElement = "div"; diff --git a/packages/components/src/accordion/src/AccordionHeader.tsx b/packages/components/src/accordion/src/AccordionHeader.tsx index 1fa067320..633de1d2b 100644 --- a/packages/components/src/accordion/src/AccordionHeader.tsx +++ b/packages/components/src/accordion/src/AccordionHeader.tsx @@ -1,8 +1,8 @@ import { ComponentProps, ElementType, ReactNode, forwardRef, useMemo } from "react"; -import { DisclosureArrow } from "../../disclosure"; -import { Div, HtmlButton } from "../../html"; -import { H3, HeadingProps, Text } from "../../typography"; -import { InteractionProps, InternalProps, OmitInternalProps, StyledComponentProps, cssModule, mergeProps, omitProps, useSlots } from "../../shared"; +import { DisclosureArrow } from "../../disclosure/index.ts" +import { Div, HtmlButton } from "../../html/index.ts" +import { H3, HeadingProps, Text } from "../../typography/index.ts" +import { InteractionProps, InternalProps, OmitInternalProps, StyledComponentProps, cssModule, mergeProps, omitProps, useSlots } from "../../shared/index.ts" const DefaultElement = "button"; diff --git a/packages/components/src/accordion/src/AccordionItem.tsx b/packages/components/src/accordion/src/AccordionItem.tsx index dc4fc817e..310ed7aab 100644 --- a/packages/components/src/accordion/src/AccordionItem.tsx +++ b/packages/components/src/accordion/src/AccordionItem.tsx @@ -2,9 +2,9 @@ import { AccordionBuilderHeader, AccordionBuilderPanel } from "./useAccordionIte import { AccordionHeader } from "./AccordionHeader"; import { AccordionPanel } from "./AccordionPanel"; import { ComponentProps, ElementType, SyntheticEvent, forwardRef } from "react"; -import { Disclosure } from "../../disclosure"; -import { H1, H2, H3, H4, H5, H6 } from "../../typography"; -import { InternalProps, OmitInternalProps, StyledComponentProps, mergeProps, useEventCallback } from "../../shared"; +import { Disclosure } from "../../disclosure/index.ts" +import { H1, H2, H3, H4, H5, H6 } from "../../typography/index.ts" +import { InternalProps, OmitInternalProps, StyledComponentProps, mergeProps, useEventCallback } from "../../shared/index.ts" import { useAccordionContext } from "./AccordionContext"; const DefaultElement = "div"; diff --git a/packages/components/src/accordion/src/AccordionPanel.tsx b/packages/components/src/accordion/src/AccordionPanel.tsx index d535b470e..d0d1132de 100644 --- a/packages/components/src/accordion/src/AccordionPanel.tsx +++ b/packages/components/src/accordion/src/AccordionPanel.tsx @@ -1,6 +1,6 @@ -import { Box } from "../../box"; +import { Box } from "../../box/index.ts" import { ComponentProps, ReactNode, forwardRef } from "react"; -import { InternalProps, OmitInternalProps, StyledComponentProps, mergeProps, omitProps } from "../../shared"; +import { InternalProps, OmitInternalProps, StyledComponentProps, mergeProps, omitProps } from "../../shared/index.ts" const DefaultElement = "div"; diff --git a/packages/components/src/accordion/src/useAccordionItems.ts b/packages/components/src/accordion/src/useAccordionItems.ts index a4d960838..500832160 100644 --- a/packages/components/src/accordion/src/useAccordionItems.ts +++ b/packages/components/src/accordion/src/useAccordionItems.ts @@ -1,6 +1,6 @@ import { Children, ReactElement, ReactNode, Ref, RefAttributes, useMemo } from "react"; -import { Content, Header } from "../../placeholders"; -import { isNil, mergeProps } from "../../shared"; +import { Content, Header } from "../../placeholders/index.ts" +import { isNil, mergeProps } from "../../shared/index.ts" export interface AccordionBuilderItem { header: AccordionBuilderHeader; diff --git a/packages/components/src/accordion/tests/chromatic/Accordion-hopper.stories.tsx b/packages/components/src/accordion/tests/chromatic/Accordion-hopper.stories.tsx index b6f0f9051..78458db1e 100644 --- a/packages/components/src/accordion/tests/chromatic/Accordion-hopper.stories.tsx +++ b/packages/components/src/accordion/tests/chromatic/Accordion-hopper.stories.tsx @@ -1,8 +1,8 @@ -import { Accordion } from "@components/accordion"; -import { Content } from "@components/placeholders"; -import { H3 } from "@components/typography"; -import { Inline } from "@components/layout"; -import { Item } from "@components/collection"; +import { Accordion } from "@components/accordion/index.ts"; +import { Content } from "@components/placeholders/index.ts"; +import { H3 } from "@components/typography/index.ts"; +import { Inline } from "@components/layout/index.ts"; +import { Item } from "@components/collection/index.ts"; import { Meta, StoryObj } from "@storybook/react"; diff --git a/packages/components/src/accordion/tests/chromatic/Accordion.stories.tsx b/packages/components/src/accordion/tests/chromatic/Accordion.stories.tsx index 04dbcfb69..e0075a1b9 100644 --- a/packages/components/src/accordion/tests/chromatic/Accordion.stories.tsx +++ b/packages/components/src/accordion/tests/chromatic/Accordion.stories.tsx @@ -1,8 +1,8 @@ -import { Accordion } from "@components/accordion"; -import { Content } from "@components/placeholders"; -import { H3 } from "@components/typography"; -import { Inline } from "@components/layout"; -import { Item } from "@components/collection"; +import { Accordion } from "@components/accordion/index.ts"; +import { Content } from "@components/placeholders/index.ts"; +import { H3 } from "@components/typography/index.ts"; +import { Inline } from "@components/layout/index.ts"; +import { Item } from "@components/collection/index.ts"; import { Meta, StoryObj } from "@storybook/react"; diff --git a/packages/components/src/accordion/tests/chromatic/AccordionBordered-hopper.stories.tsx b/packages/components/src/accordion/tests/chromatic/AccordionBordered-hopper.stories.tsx index b2a3e5008..b93447304 100644 --- a/packages/components/src/accordion/tests/chromatic/AccordionBordered-hopper.stories.tsx +++ b/packages/components/src/accordion/tests/chromatic/AccordionBordered-hopper.stories.tsx @@ -1,12 +1,12 @@ -import { Accordion, AccordionHeader, useAccordionContext, type AccordionHeaderProps } from "@components/accordion"; -import { Content } from "@components/placeholders"; -import { H3, H1, Text } from "@components/typography"; -import { Stack } from "@components/layout"; -import { Item } from "@components/collection"; -import { Counter } from "@components/counter"; -import { Div } from "@components/html"; +import { Accordion, AccordionHeader, useAccordionContext, type AccordionHeaderProps } from "@components/accordion/index.ts"; +import { Content } from "@components/placeholders/index.ts"; +import { H3, H1, Text } from "@components/typography/index.ts"; +import { Stack } from "@components/layout/index.ts"; +import { Item } from "@components/collection/index.ts"; +import { Counter } from "@components/counter/index.ts"; +import { Div } from "@components/html/index.ts"; import { InfoIcon } from "@hopper-ui/icons"; -import { mergeProps } from "@components/shared"; +import { mergeProps } from "@components/shared/index.ts"; import { Meta, StoryObj } from "@storybook/react"; diff --git a/packages/components/src/accordion/tests/chromatic/AccordionBordered.stories.tsx b/packages/components/src/accordion/tests/chromatic/AccordionBordered.stories.tsx index 44c4c74a2..4979ffd76 100644 --- a/packages/components/src/accordion/tests/chromatic/AccordionBordered.stories.tsx +++ b/packages/components/src/accordion/tests/chromatic/AccordionBordered.stories.tsx @@ -1,12 +1,12 @@ -import { Accordion, AccordionHeader, useAccordionContext, type AccordionHeaderProps } from "@components/accordion"; -import { Content } from "@components/placeholders"; -import { H3, H1, Text } from "@components/typography"; -import { Stack } from "@components/layout"; -import { Item } from "@components/collection"; -import { Counter } from "@components/counter"; -import { Div } from "@components/html"; +import { Accordion, AccordionHeader, useAccordionContext, type AccordionHeaderProps } from "@components/accordion/index.ts"; +import { Content } from "@components/placeholders/index.ts"; +import { H3, H1, Text } from "@components/typography/index.ts"; +import { Stack } from "@components/layout/index.ts"; +import { Item } from "@components/collection/index.ts"; +import { Counter } from "@components/counter/index.ts"; +import { Div } from "@components/html/index.ts"; import { InfoIcon } from "@hopper-ui/icons"; -import { mergeProps } from "@components/shared"; +import { mergeProps } from "@components/shared/index.ts"; import { Meta, StoryObj } from "@storybook/react"; diff --git a/packages/components/src/accordion/tests/chromatic/AccordionBorderless-hopper.stories.tsx b/packages/components/src/accordion/tests/chromatic/AccordionBorderless-hopper.stories.tsx index aef588f7b..da96f54c7 100644 --- a/packages/components/src/accordion/tests/chromatic/AccordionBorderless-hopper.stories.tsx +++ b/packages/components/src/accordion/tests/chromatic/AccordionBorderless-hopper.stories.tsx @@ -1,12 +1,12 @@ -import { Accordion, AccordionHeader, useAccordionContext, type AccordionHeaderProps } from "@components/accordion"; -import { Content } from "@components/placeholders"; -import { H3, H1, Text } from "@components/typography"; -import { Stack } from "@components/layout"; -import { Item } from "@components/collection"; -import { Counter } from "@components/counter"; -import { Div } from "@components/html"; +import { Accordion, AccordionHeader, useAccordionContext, type AccordionHeaderProps } from "@components/accordion/index.ts"; +import { Content } from "@components/placeholders/index.ts"; +import { H3, H1, Text } from "@components/typography/index.ts"; +import { Stack } from "@components/layout/index.ts"; +import { Item } from "@components/collection/index.ts"; +import { Counter } from "@components/counter/index.ts"; +import { Div } from "@components/html/index.ts"; import { InfoIcon } from "@hopper-ui/icons"; -import { mergeProps } from "@components/shared"; +import { mergeProps } from "@components/shared/index.ts"; import { Meta, StoryObj } from "@storybook/react"; diff --git a/packages/components/src/accordion/tests/chromatic/AccordionBorderless.stories.tsx b/packages/components/src/accordion/tests/chromatic/AccordionBorderless.stories.tsx index 79a54d6a7..664398ef0 100644 --- a/packages/components/src/accordion/tests/chromatic/AccordionBorderless.stories.tsx +++ b/packages/components/src/accordion/tests/chromatic/AccordionBorderless.stories.tsx @@ -1,12 +1,12 @@ -import { Accordion, AccordionHeader, useAccordionContext, type AccordionHeaderProps } from "@components/accordion"; -import { Content } from "@components/placeholders"; -import { H3, H1, Text } from "@components/typography"; -import { Stack } from "@components/layout"; -import { Item } from "@components/collection"; -import { Counter } from "@components/counter"; -import { Div } from "@components/html"; +import { Accordion, AccordionHeader, useAccordionContext, type AccordionHeaderProps } from "@components/accordion/index.ts"; +import { Content } from "@components/placeholders/index.ts"; +import { H3, H1, Text } from "@components/typography/index.ts"; +import { Stack } from "@components/layout/index.ts"; +import { Item } from "@components/collection/index.ts"; +import { Counter } from "@components/counter/index.ts"; +import { Div } from "@components/html/index.ts"; import { InfoIcon } from "@hopper-ui/icons"; -import { mergeProps } from "@components/shared"; +import { mergeProps } from "@components/shared/index.ts"; import { Meta, StoryObj } from "@storybook/react"; diff --git a/packages/components/src/accordion/tests/jest/Accordion.ssr.test.tsx b/packages/components/src/accordion/tests/jest/Accordion.ssr.test.tsx index 6aea7f32e..a8a3c6a31 100644 --- a/packages/components/src/accordion/tests/jest/Accordion.ssr.test.tsx +++ b/packages/components/src/accordion/tests/jest/Accordion.ssr.test.tsx @@ -1,10 +1,10 @@ /** * @jest-environment node */ -import { Accordion } from "@components/accordion"; -import { Content } from "@components/placeholders"; -import { H3 } from "@components/typography"; -import { Item } from "@components/collection"; +import { Accordion } from "@components/accordion/index.ts"; +import { Content } from "@components/placeholders/index.ts"; +import { H3 } from "@components/typography/index.ts"; +import { Item } from "@components/collection/index.ts"; import { renderToString } from "react-dom/server"; import { throwOnConsoleLogs } from "@test-utils"; diff --git a/packages/components/src/accordion/tests/jest/Accordion.test.tsx b/packages/components/src/accordion/tests/jest/Accordion.test.tsx index 1888547ff..d8c8ddcc9 100644 --- a/packages/components/src/accordion/tests/jest/Accordion.test.tsx +++ b/packages/components/src/accordion/tests/jest/Accordion.test.tsx @@ -1,9 +1,9 @@ import { act, fireEvent, screen, waitFor, renderWithTheme } from "@test-utils"; -import { Accordion } from "@components/accordion"; -import { Content } from "@components/placeholders"; -import { H3 } from "@components/typography"; -import { Item } from "@components/collection"; -import { Keys } from "@components/shared"; +import { Accordion } from "@components/accordion/index.ts"; +import { Content } from "@components/placeholders/index.ts"; +import { H3 } from "@components/typography/index.ts"; +import { Item } from "@components/collection/index.ts"; +import { Keys } from "@components/shared/index.ts"; import { createRef } from "react"; // ***** Behaviors ***** diff --git a/packages/components/src/alert/docs/Alert.mdx b/packages/components/src/alert/docs/Alert.mdx index 42347ba18..28241d308 100644 --- a/packages/components/src/alert/docs/Alert.mdx +++ b/packages/components/src/alert/docs/Alert.mdx @@ -1,8 +1,8 @@ -import { Alert, AlertTrigger, InnerAlert } from "@components/alert"; +import { Alert, AlertTrigger, InnerAlert } from "@components/alert/index.ts"; import { ArgTypes, Meta, Canvas } from "@storybook/addon-docs"; import { ComponentInfo, Tagline } from "@stories/components"; -import { InnerContent } from "@components/placeholders"; -import { InnerHeading } from "@components/typography"; +import { InnerContent } from "@components/placeholders/index.ts"; +import { InnerHeading } from "@components/typography/index.ts"; import * as AlertStories from "./Alert.stories.tsx"; diff --git a/packages/components/src/alert/docs/Alert.stories.tsx b/packages/components/src/alert/docs/Alert.stories.tsx index 42ef38466..32c0ac0d6 100644 --- a/packages/components/src/alert/docs/Alert.stories.tsx +++ b/packages/components/src/alert/docs/Alert.stories.tsx @@ -1,7 +1,7 @@ -import { Alert, AlertTrigger } from "@components/alert"; -import { Button } from "@components/button"; -import { Content } from "@components/placeholders"; -import { Heading } from "@components/typography"; +import { Alert, AlertTrigger } from "@components/alert/index.ts"; +import { Button } from "@components/button/index.ts"; +import { Content } from "@components/placeholders/index.ts"; +import { Heading } from "@components/typography/index.ts"; import { useCallback, useState } from "react"; import { Meta, StoryObj } from "@storybook/react"; diff --git a/packages/components/src/alert/src/Alert.tsx b/packages/components/src/alert/src/Alert.tsx index 88d779baa..c3b33d3a9 100644 --- a/packages/components/src/alert/src/Alert.tsx +++ b/packages/components/src/alert/src/Alert.tsx @@ -1,7 +1,7 @@ -import { AbstractDialogProps, Dialog, useDialogTriggerContext } from "../../dialog"; -import { Button, ButtonGroup } from "../../button"; +import { AbstractDialogProps, Dialog, useDialogTriggerContext } from "../../dialog/index.ts" +import { Button, ButtonGroup } from "../../button/index.ts" import { ComponentProps, MouseEvent, forwardRef, useMemo } from "react"; -import { OmitInternalProps, isNil, isNilOrEmpty, mergeProps, useChainedEventCallback, useSlots } from "../../shared"; +import { OmitInternalProps, isNil, isNilOrEmpty, mergeProps, useChainedEventCallback, useSlots } from "../../shared/index.ts" const DefaultElement = "section"; diff --git a/packages/components/src/alert/src/AlertTrigger.tsx b/packages/components/src/alert/src/AlertTrigger.tsx index 39f7eb0c9..1e94258f5 100644 --- a/packages/components/src/alert/src/AlertTrigger.tsx +++ b/packages/components/src/alert/src/AlertTrigger.tsx @@ -1,6 +1,6 @@ import { ComponentProps, forwardRef } from "react"; -import { DialogTrigger, InnerDialogTrigger, InnerDialogTriggerProps } from "../../dialog"; -import { OmitInternalProps } from "../../shared"; +import { DialogTrigger, InnerDialogTrigger, InnerDialogTriggerProps } from "../../dialog/index.ts" +import { OmitInternalProps } from "../../shared/index.ts" export type InnerAlertTriggerProps = Omit<InnerDialogTriggerProps, "dismissable">; diff --git a/packages/components/src/alert/tests/chromatic/Alert-hopper.stories.tsx b/packages/components/src/alert/tests/chromatic/Alert-hopper.stories.tsx index 6b9bf3e90..531560a80 100644 --- a/packages/components/src/alert/tests/chromatic/Alert-hopper.stories.tsx +++ b/packages/components/src/alert/tests/chromatic/Alert-hopper.stories.tsx @@ -1,5 +1,5 @@ -import { Alert } from "@components/alert"; -import { Content } from "@components/placeholders"; +import { Alert } from "@components/alert/index.ts"; +import { Content } from "@components/placeholders/index.ts"; import { Heading } from "@hopper-ui/components"; import { Meta, StoryObj } from "@storybook/react"; diff --git a/packages/components/src/alert/tests/chromatic/Alert.stories.tsx b/packages/components/src/alert/tests/chromatic/Alert.stories.tsx index 001d5d487..9db83c1b6 100644 --- a/packages/components/src/alert/tests/chromatic/Alert.stories.tsx +++ b/packages/components/src/alert/tests/chromatic/Alert.stories.tsx @@ -1,6 +1,6 @@ -import { Alert } from "@components/alert"; -import { Content } from "@components/placeholders"; -import { Heading } from "@components/typography"; +import { Alert } from "@components/alert/index.ts"; +import { Content } from "@components/placeholders/index.ts"; +import { Heading } from "@components/typography/index.ts"; import { Meta, StoryObj } from "@storybook/react"; const meta = { diff --git a/packages/components/src/alert/tests/chromatic/AlertConfirmation-hopper.stories.tsx b/packages/components/src/alert/tests/chromatic/AlertConfirmation-hopper.stories.tsx index 10bb44ee3..213e46cca 100644 --- a/packages/components/src/alert/tests/chromatic/AlertConfirmation-hopper.stories.tsx +++ b/packages/components/src/alert/tests/chromatic/AlertConfirmation-hopper.stories.tsx @@ -1,7 +1,7 @@ -import { Alert } from "@components/alert"; -import { Content } from "@components/placeholders"; +import { Alert } from "@components/alert/index.ts"; +import { Content } from "@components/placeholders/index.ts"; import { Heading } from "@hopper-ui/components"; -import { Div } from "@components/html"; +import { Div } from "@components/html/index.ts"; import { Meta, StoryObj } from "@storybook/react"; diff --git a/packages/components/src/alert/tests/chromatic/AlertConfirmation.stories.tsx b/packages/components/src/alert/tests/chromatic/AlertConfirmation.stories.tsx index 1889cbf72..6b6bd410a 100644 --- a/packages/components/src/alert/tests/chromatic/AlertConfirmation.stories.tsx +++ b/packages/components/src/alert/tests/chromatic/AlertConfirmation.stories.tsx @@ -1,7 +1,7 @@ -import { Alert } from "@components/alert"; -import { Content } from "@components/placeholders"; -import { Heading } from "@components/typography"; -import { Div } from "@components/html"; +import { Alert } from "@components/alert/index.ts"; +import { Content } from "@components/placeholders/index.ts"; +import { Heading } from "@components/typography/index.ts"; +import { Div } from "@components/html/index.ts"; import { Meta, StoryObj } from "@storybook/react"; diff --git a/packages/components/src/alert/tests/chromatic/AlertDestruction.stories.tsx b/packages/components/src/alert/tests/chromatic/AlertDestruction.stories.tsx index 1a08e9be2..80eb458b0 100644 --- a/packages/components/src/alert/tests/chromatic/AlertDestruction.stories.tsx +++ b/packages/components/src/alert/tests/chromatic/AlertDestruction.stories.tsx @@ -1,8 +1,8 @@ -import { Alert } from "@components/alert"; -import { Content } from "@components/placeholders"; -import { Heading } from "@components/typography"; +import { Alert } from "@components/alert/index.ts"; +import { Content } from "@components/placeholders/index.ts"; +import { Heading } from "@components/typography/index.ts"; import { Meta, StoryObj } from "@storybook/react"; -import { Div } from "@components/html"; +import { Div } from "@components/html/index.ts"; const meta = { title: "Chromatic/Alert/destructive", diff --git a/packages/components/src/alert/tests/chromatic/AlertDestructive-hopper.stories.tsx b/packages/components/src/alert/tests/chromatic/AlertDestructive-hopper.stories.tsx index 2879397a3..998b85591 100644 --- a/packages/components/src/alert/tests/chromatic/AlertDestructive-hopper.stories.tsx +++ b/packages/components/src/alert/tests/chromatic/AlertDestructive-hopper.stories.tsx @@ -1,7 +1,7 @@ -import { Alert } from "@components/alert"; -import { Content } from "@components/placeholders"; +import { Alert } from "@components/alert/index.ts"; +import { Content } from "@components/placeholders/index.ts"; import { Heading } from "@hopper-ui/components"; -import { Div } from "@components/html"; +import { Div } from "@components/html/index.ts"; import { Meta, StoryObj } from "@storybook/react"; diff --git a/packages/components/src/alert/tests/chromatic/AlertTrigger-hopper.stories.tsx b/packages/components/src/alert/tests/chromatic/AlertTrigger-hopper.stories.tsx index 5014f90fd..802740e1d 100644 --- a/packages/components/src/alert/tests/chromatic/AlertTrigger-hopper.stories.tsx +++ b/packages/components/src/alert/tests/chromatic/AlertTrigger-hopper.stories.tsx @@ -1,5 +1,5 @@ -import { Content } from "@components/placeholders"; -import { Alert, AlertTrigger } from "@components/alert"; +import { Content } from "@components/placeholders/index.ts"; +import { Alert, AlertTrigger } from "@components/alert/index.ts"; import { Button, Heading } from "@hopper-ui/components"; import { Meta, StoryObj } from "@storybook/react"; diff --git a/packages/components/src/alert/tests/chromatic/AlertTrigger.stories.tsx b/packages/components/src/alert/tests/chromatic/AlertTrigger.stories.tsx index 9c973c21d..50e3df62f 100644 --- a/packages/components/src/alert/tests/chromatic/AlertTrigger.stories.tsx +++ b/packages/components/src/alert/tests/chromatic/AlertTrigger.stories.tsx @@ -1,7 +1,7 @@ -import { Alert, AlertTrigger } from "@components/alert"; -import { Button } from "@components/button"; -import { Content } from "@components/placeholders"; -import { Heading } from "@components/typography"; +import { Alert, AlertTrigger } from "@components/alert/index.ts"; +import { Button } from "@components/button/index.ts"; +import { Content } from "@components/placeholders/index.ts"; +import { Heading } from "@components/typography/index.ts"; import { Meta, StoryObj } from "@storybook/react"; const meta = { diff --git a/packages/components/src/alert/tests/jest/Alert.test.tsx b/packages/components/src/alert/tests/jest/Alert.test.tsx index 2c0a5f92b..ab47700b2 100644 --- a/packages/components/src/alert/tests/jest/Alert.test.tsx +++ b/packages/components/src/alert/tests/jest/Alert.test.tsx @@ -1,6 +1,6 @@ -import { Alert } from "@components/alert"; -import { Content } from "@components/placeholders"; -import { Heading } from "@components/typography"; +import { Alert } from "@components/alert/index.ts"; +import { Content } from "@components/placeholders/index.ts"; +import { Heading } from "@components/typography/index.ts"; import { createRef } from "react"; import { renderWithTheme, screen, waitFor } from "@test-utils"; diff --git a/packages/components/src/alert/tests/jest/AlertTrigger.ssr.test.tsx b/packages/components/src/alert/tests/jest/AlertTrigger.ssr.test.tsx index 3b60d3397..59d22995b 100644 --- a/packages/components/src/alert/tests/jest/AlertTrigger.ssr.test.tsx +++ b/packages/components/src/alert/tests/jest/AlertTrigger.ssr.test.tsx @@ -1,10 +1,10 @@ /** * @jest-environment node */ -import { Alert, AlertTrigger } from "@components/alert"; -import { Button } from "@components/button"; -import { Content } from "@components/placeholders"; -import { Heading } from "@components/typography"; +import { Alert, AlertTrigger } from "@components/alert/index.ts"; +import { Button } from "@components/button/index.ts"; +import { Content } from "@components/placeholders/index.ts"; +import { Heading } from "@components/typography/index.ts"; import { renderToString } from "react-dom/server"; import { throwOnConsoleLogs } from "@test-utils"; diff --git a/packages/components/src/alert/tests/jest/AlertTrigger.test.tsx b/packages/components/src/alert/tests/jest/AlertTrigger.test.tsx index 7d7a3be5d..dc81d3f0f 100644 --- a/packages/components/src/alert/tests/jest/AlertTrigger.test.tsx +++ b/packages/components/src/alert/tests/jest/AlertTrigger.test.tsx @@ -1,7 +1,7 @@ -import { Alert, AlertTrigger } from "@components/alert"; -import { Button } from "@components/button"; -import { Content } from "@components/placeholders"; -import { Heading } from "@components/typography"; +import { Alert, AlertTrigger } from "@components/alert/index.ts"; +import { Button } from "@components/button/index.ts"; +import { Content } from "@components/placeholders/index.ts"; +import { Heading } from "@components/typography/index.ts"; import { createRef } from "react"; import { renderWithTheme, screen, waitFor } from "@test-utils"; import userEvent from "@testing-library/user-event"; diff --git a/packages/components/src/autocomplete/docs/Autocomplete.mdx b/packages/components/src/autocomplete/docs/Autocomplete.mdx index 083310f5f..982a416ab 100644 --- a/packages/components/src/autocomplete/docs/Autocomplete.mdx +++ b/packages/components/src/autocomplete/docs/Autocomplete.mdx @@ -1,7 +1,7 @@ import { ArgTypes, Canvas, Meta } from "@storybook/addon-docs"; -import { InnerAutocomplete } from "@components/autocomplete"; +import { InnerAutocomplete } from "@components/autocomplete/index.ts"; import { ComponentInfo, Preview, Tagline } from "@stories/components"; -import { InnerItem, InnerSection } from "@components/collection"; +import { InnerItem, InnerSection } from "@components/collection/index.ts"; import * as AutocompleteStories from "./Autocomplete.stories.tsx"; <Meta of={AutocompleteStories} /> diff --git a/packages/components/src/autocomplete/docs/Autocomplete.stories.tsx b/packages/components/src/autocomplete/docs/Autocomplete.stories.tsx index 81628339f..b5dc10932 100644 --- a/packages/components/src/autocomplete/docs/Autocomplete.stories.tsx +++ b/packages/components/src/autocomplete/docs/Autocomplete.stories.tsx @@ -1,14 +1,14 @@ /* eslint-disable react-hooks/rules-of-hooks */ import { Meta, StoryObj } from "@storybook/react"; -import { Autocomplete } from "@components/autocomplete"; -import { Avatar } from "@components/avatar"; -import { IconList } from "@components/icons"; +import { Autocomplete } from "@components/autocomplete/index.ts"; +import { Avatar } from "@components/avatar/index.ts"; +import { IconList } from "@components/icons/index.ts"; import { CatIcon, RocketIcon, SearchIcon, SparklesIcon } from "@hopper-ui/icons"; -import { Item, Section, useAsyncSearch } from "@components/collection"; -import { Text } from "@components/typography"; +import { Item, Section, useAsyncSearch } from "@components/collection/index.ts"; +import { Text } from "@components/typography/index.ts"; import { useCallback, useMemo, useState } from "react"; -import { isNil } from "@components/shared"; -import { Inline } from "@components/layout"; +import { isNil } from "@components/shared/index.ts"; +import { Inline } from "@components/layout/index.ts"; const meta = { title: "Components/Autocomplete", diff --git a/packages/components/src/autocomplete/src/Autocomplete.tsx b/packages/components/src/autocomplete/src/Autocomplete.tsx index a71259324..96e23438e 100644 --- a/packages/components/src/autocomplete/src/Autocomplete.tsx +++ b/packages/components/src/autocomplete/src/Autocomplete.tsx @@ -1,4 +1,4 @@ -import { Box, BoxProps } from "../../box"; +import { Box, BoxProps } from "../../box/index.ts" import { forwardRef, useCallback, useRef, useState, ChangeEvent, ComponentProps, FocusEvent, KeyboardEvent, ReactElement, ReactNode, SyntheticEvent } from "react"; import { Keys, @@ -13,19 +13,19 @@ import { useId, useMergedRefs, useRefState -} from "../../shared"; -import { Listbox, ListboxElement, OptionKeyProp } from "../../listbox"; -import { Overlay, OverlayProps, PopupPosition, PopupProps, isDevToolsBlurEvent, isTargetParent, usePopup, useTriggerWidth } from "../../overlay"; -import { ResponsiveProp, WidthProp } from "../../styling"; -import { UseFieldInputPropsReturn, useFieldInputProps } from "../../field"; -import { getItemText, useCollectionSearch, useOnlyCollectionItems } from "../../collection"; - -import { AbstractInputProps } from "../../input"; +} from "../../shared/index.ts" +import { Listbox, ListboxElement, OptionKeyProp } from "../../listbox/index.ts" +import { Overlay, OverlayProps, PopupPosition, PopupProps, isDevToolsBlurEvent, isTargetParent, usePopup, useTriggerWidth } from "../../overlay/index.ts" +import { ResponsiveProp, WidthProp } from "../../styling/index.ts" +import { UseFieldInputPropsReturn, useFieldInputProps } from "../../field/index.ts" +import { getItemText, useCollectionSearch, useOnlyCollectionItems } from "../../collection/index.ts" + +import { AbstractInputProps } from "../../input/index.ts" import { HiddenAutocomplete } from "./HiddenAutocomplete"; -import { SearchInput } from "../../text-input"; +import { SearchInput } from "../../text-input/index.ts" import { useDebouncedCallback } from "./useDebouncedCallback"; import { useDeferredValue } from "./useDeferredValue"; -import { useInputGroupTextInputProps } from "../../input-group"; +import { useInputGroupTextInputProps } from "../../input-group/index.ts" const DefaultElement = "input"; diff --git a/packages/components/src/autocomplete/src/HiddenAutocomplete.tsx b/packages/components/src/autocomplete/src/HiddenAutocomplete.tsx index 8a977dc32..f943faa4f 100644 --- a/packages/components/src/autocomplete/src/HiddenAutocomplete.tsx +++ b/packages/components/src/autocomplete/src/HiddenAutocomplete.tsx @@ -1,7 +1,7 @@ -import { HtmlInput } from "../../html"; +import { HtmlInput } from "../../html/index.ts" import { Ref } from "react"; -import { StyledComponentProps, isNil, mergeProps } from "../../shared"; -import { ValidationState } from "../../input"; +import { StyledComponentProps, isNil, mergeProps } from "../../shared/index.ts" +import { ValidationState } from "../../input/index.ts" export interface HiddenAutocompleteProps extends Omit<StyledComponentProps<"input">, "ref"> { /** diff --git a/packages/components/src/autocomplete/src/useDeferredValue.ts b/packages/components/src/autocomplete/src/useDeferredValue.ts index 9a9c7d9b0..e8382fe36 100644 --- a/packages/components/src/autocomplete/src/useDeferredValue.ts +++ b/packages/components/src/autocomplete/src/useDeferredValue.ts @@ -1,6 +1,6 @@ import { useEffect, useState } from "react"; -import { useDisposables } from "../../shared"; +import { useDisposables } from "../../shared/index.ts" export function useDeferredValue<T>(value: T, delay?: number, defaultValue?: T) { const [deferredValue, setDeferredValue] = useState(defaultValue); diff --git a/packages/components/src/autocomplete/tests/chromatic/Autocomplete-hopper.stories.tsx b/packages/components/src/autocomplete/tests/chromatic/Autocomplete-hopper.stories.tsx index 13c940569..a921ac5dc 100644 --- a/packages/components/src/autocomplete/tests/chromatic/Autocomplete-hopper.stories.tsx +++ b/packages/components/src/autocomplete/tests/chromatic/Autocomplete-hopper.stories.tsx @@ -1,8 +1,8 @@ -import { Autocomplete } from "@components/autocomplete"; -import { Div } from "@components/html"; -import { Inline, Stack } from "@components/layout"; +import { Autocomplete } from "@components/autocomplete/index.ts"; +import { Div } from "@components/html/index.ts"; +import { Inline, Stack } from "@components/layout/index.ts"; import { TeamIcon } from "@hopper-ui/icons"; -import { Item } from "@components/collection"; +import { Item } from "@components/collection/index.ts"; import { Meta, StoryObj } from "@storybook/react"; const meta = { diff --git a/packages/components/src/autocomplete/tests/chromatic/Autocomplete.stories.tsx b/packages/components/src/autocomplete/tests/chromatic/Autocomplete.stories.tsx index 453d6d509..98938134f 100644 --- a/packages/components/src/autocomplete/tests/chromatic/Autocomplete.stories.tsx +++ b/packages/components/src/autocomplete/tests/chromatic/Autocomplete.stories.tsx @@ -1,8 +1,8 @@ -import { Autocomplete } from "@components/autocomplete"; -import { Div } from "@components/html"; +import { Autocomplete } from "@components/autocomplete/index.ts"; +import { Div } from "@components/html/index.ts"; import { TeamIcon } from "@hopper-ui/icons"; -import { Inline, Stack } from "@components/layout"; -import { Item } from "@components/collection"; +import { Inline, Stack } from "@components/layout/index.ts"; +import { Item } from "@components/collection/index.ts"; import { Meta, StoryObj } from "@storybook/react"; const meta = { diff --git a/packages/components/src/autocomplete/tests/jest/Autocomplete.ssr.test.tsx b/packages/components/src/autocomplete/tests/jest/Autocomplete.ssr.test.tsx index c0535a56f..4c238b76d 100644 --- a/packages/components/src/autocomplete/tests/jest/Autocomplete.ssr.test.tsx +++ b/packages/components/src/autocomplete/tests/jest/Autocomplete.ssr.test.tsx @@ -1,8 +1,8 @@ /** * @jest-environment node */ -import { Autocomplete } from "@components/autocomplete"; -import { Item } from "@components/collection"; +import { Autocomplete } from "@components/autocomplete/index.ts"; +import { Item } from "@components/collection/index.ts"; import { renderToString } from "react-dom/server"; import { throwOnConsoleLogs } from "@test-utils"; diff --git a/packages/components/src/autocomplete/tests/jest/Autocomplete.test.tsx b/packages/components/src/autocomplete/tests/jest/Autocomplete.test.tsx index f9a0c1b6d..8e5d0255c 100644 --- a/packages/components/src/autocomplete/tests/jest/Autocomplete.test.tsx +++ b/packages/components/src/autocomplete/tests/jest/Autocomplete.test.tsx @@ -1,11 +1,11 @@ -import { Field, Label } from "@components/field"; +import { Field, Label } from "@components/field/index.ts"; import { act, fireEvent, screen, waitFor, renderWithTheme } from "@test-utils"; -import { Autocomplete } from "@components/autocomplete"; -import { Button } from "@components/button"; -import { Item } from "@components/collection"; -import { Keys } from "@components/shared"; -import { Transition } from "@components/transition"; +import { Autocomplete } from "@components/autocomplete/index.ts"; +import { Button } from "@components/button/index.ts"; +import { Item } from "@components/collection/index.ts"; +import { Keys } from "@components/shared/index.ts"; +import { Transition } from "@components/transition/index.ts"; import { createRef } from "react"; import userEvent from "@testing-library/user-event"; diff --git a/packages/components/src/avatar/docs/Avatar.mdx b/packages/components/src/avatar/docs/Avatar.mdx index 4d323a5ac..645f21ceb 100644 --- a/packages/components/src/avatar/docs/Avatar.mdx +++ b/packages/components/src/avatar/docs/Avatar.mdx @@ -1,5 +1,5 @@ import { ArgTypes, Canvas, Meta } from "@storybook/addon-docs"; -import { InnerAvatar, InnerAvatarGroup, InnerDeletedAvatar, InnerAnonymousAvatar } from "@components/avatar"; +import { InnerAvatar, InnerAvatarGroup, InnerDeletedAvatar, InnerAnonymousAvatar } from "@components/avatar/index.ts"; import { ComponentInfo, Preview, Tagline } from "@stories/components"; import * as AvatarStories from "./Avatar.stories.tsx"; diff --git a/packages/components/src/avatar/docs/Avatar.stories.tsx b/packages/components/src/avatar/docs/Avatar.stories.tsx index 40af81a2c..d8074be7d 100644 --- a/packages/components/src/avatar/docs/Avatar.stories.tsx +++ b/packages/components/src/avatar/docs/Avatar.stories.tsx @@ -1,7 +1,7 @@ import { Meta, StoryObj } from "@storybook/react"; -import { Avatar, AvatarGroup, AnonymousAvatar, DeletedAvatar } from "@components/avatar"; +import { Avatar, AvatarGroup, AnonymousAvatar, DeletedAvatar } from "@components/avatar/index.ts"; import { ChrisHadfield } from "./assets"; -import { Inline } from "@components/layout"; +import { Inline } from "@components/layout/index.ts"; const meta = { title: "Components/Avatar", diff --git a/packages/components/src/avatar/src/AnonymousAvatar.tsx b/packages/components/src/avatar/src/AnonymousAvatar.tsx index cf1844888..255d18954 100644 --- a/packages/components/src/avatar/src/AnonymousAvatar.tsx +++ b/packages/components/src/avatar/src/AnonymousAvatar.tsx @@ -1,4 +1,4 @@ -import { Box } from "../../box"; +import { Box } from "../../box/index.ts" import { ComponentProps, forwardRef } from "react"; import { InternalProps, @@ -9,8 +9,8 @@ import { mergeProps, normalizeSize, slot -} from "../../shared"; -import { ResponsiveProp, useResponsiveValue } from "../../styling"; +} from "../../shared/index.ts" +import { ResponsiveProp, useResponsiveValue } from "../../styling/index.ts" import { AnonymousIcon } from "./svgs"; const DefaultElement = "div"; diff --git a/packages/components/src/avatar/src/Avatar.tsx b/packages/components/src/avatar/src/Avatar.tsx index 07881bc47..e34b1ff0e 100644 --- a/packages/components/src/avatar/src/Avatar.tsx +++ b/packages/components/src/avatar/src/Avatar.tsx @@ -1,7 +1,7 @@ -import { AsyncImage } from "../../image"; -import { Box } from "../../box"; +import { AsyncImage } from "../../image/index.ts" +import { Box } from "../../box/index.ts" import { ComponentProps, forwardRef, useMemo } from "react"; -import { Img } from "../../html"; +import { Img } from "../../html/index.ts" import { InternalProps, OmitInternalProps, @@ -16,9 +16,9 @@ import { normalizeSize, omitProps, slot -} from "../../shared"; -import { ResponsiveProp, useResponsiveValue } from "../../styling"; -import { Text } from "../../typography"; +} from "../../shared/index.ts" +import { ResponsiveProp, useResponsiveValue } from "../../styling/index.ts" +import { Text } from "../../typography/index.ts" const DefaultElement = "div"; diff --git a/packages/components/src/avatar/src/AvatarGroup.tsx b/packages/components/src/avatar/src/AvatarGroup.tsx index a20cb4ac9..846a9c258 100644 --- a/packages/components/src/avatar/src/AvatarGroup.tsx +++ b/packages/components/src/avatar/src/AvatarGroup.tsx @@ -1,10 +1,10 @@ -import { AbstractGroupProps, Group } from "../../group"; +import { AbstractGroupProps, Group } from "../../group/index.ts" import { AvatarText } from "./Avatar"; -import { Box } from "../../box"; +import { Box } from "../../box/index.ts" import { Children, ComponentProps, ReactElement, forwardRef } from "react"; -import { OmitInternalProps, augmentElement, cssModule, isNil, mergeClasses, mergeProps, normalizeSize } from "../../shared"; -import { ResponsiveProp, useResponsiveValue } from "../../styling"; -import { Tooltip, TooltipTrigger } from "../../tooltip"; +import { OmitInternalProps, augmentElement, cssModule, isNil, mergeClasses, mergeProps, normalizeSize } from "../../shared/index.ts" +import { ResponsiveProp, useResponsiveValue } from "../../styling/index.ts" +import { Tooltip, TooltipTrigger } from "../../tooltip/index.ts" const DefaultElement = "div"; diff --git a/packages/components/src/avatar/src/DeletedAvatar.tsx b/packages/components/src/avatar/src/DeletedAvatar.tsx index a6778d6f2..029369021 100644 --- a/packages/components/src/avatar/src/DeletedAvatar.tsx +++ b/packages/components/src/avatar/src/DeletedAvatar.tsx @@ -1,4 +1,4 @@ -import { Box } from "../../box"; +import { Box } from "../../box/index.ts" import { ComponentProps, forwardRef } from "react"; import { InternalProps, @@ -9,8 +9,8 @@ import { mergeProps, normalizeSize, slot -} from "../../shared"; -import { ResponsiveProp, useResponsiveValue } from "../../styling"; +} from "../../shared/index.ts" +import { ResponsiveProp, useResponsiveValue } from "../../styling/index.ts" import { DeletedIcon } from "./svgs"; const DefaultElement = "div"; diff --git a/packages/components/src/avatar/tests/chromatic/AnonymousAvatar.stories.tsx b/packages/components/src/avatar/tests/chromatic/AnonymousAvatar.stories.tsx index 1ad30b6ec..563054262 100644 --- a/packages/components/src/avatar/tests/chromatic/AnonymousAvatar.stories.tsx +++ b/packages/components/src/avatar/tests/chromatic/AnonymousAvatar.stories.tsx @@ -1,6 +1,6 @@ -import { AnonymousAvatar } from "@components/avatar"; -import { Div } from "@components/html"; -import { Inline, Stack } from "@components/layout"; +import { AnonymousAvatar } from "@components/avatar/index.ts"; +import { Div } from "@components/html/index.ts"; +import { Inline, Stack } from "@components/layout/index.ts"; import { Meta, StoryObj } from "@storybook/react"; const meta = { diff --git a/packages/components/src/avatar/tests/chromatic/Avatar.stories.tsx b/packages/components/src/avatar/tests/chromatic/Avatar.stories.tsx index afa2aec0d..cfd9987af 100644 --- a/packages/components/src/avatar/tests/chromatic/Avatar.stories.tsx +++ b/packages/components/src/avatar/tests/chromatic/Avatar.stories.tsx @@ -1,6 +1,6 @@ -import { Avatar } from "@components/avatar"; -import { Div } from "@components/html"; -import { Inline, Stack } from "@components/layout"; +import { Avatar } from "@components/avatar/index.ts"; +import { Div } from "@components/html/index.ts"; +import { Inline, Stack } from "@components/layout/index.ts"; import { Meta, StoryObj } from "@storybook/react"; import { Astronaut, Person } from "./assets"; diff --git a/packages/components/src/avatar/tests/chromatic/AvatarGroup.stories.tsx b/packages/components/src/avatar/tests/chromatic/AvatarGroup.stories.tsx index 23a7d694b..fd7edaef2 100644 --- a/packages/components/src/avatar/tests/chromatic/AvatarGroup.stories.tsx +++ b/packages/components/src/avatar/tests/chromatic/AvatarGroup.stories.tsx @@ -1,6 +1,6 @@ -import { Avatar, AvatarGroup } from "@components/avatar"; -import { Div } from "@components/html"; -import { Inline, Stack } from "@components/layout"; +import { Avatar, AvatarGroup } from "@components/avatar/index.ts"; +import { Div } from "@components/html/index.ts"; +import { Inline, Stack } from "@components/layout/index.ts"; import { Meta, StoryObj } from "@storybook/react"; import { screen, userEvent } from "@storybook/test"; diff --git a/packages/components/src/avatar/tests/chromatic/DeletedAvatar.stories.tsx b/packages/components/src/avatar/tests/chromatic/DeletedAvatar.stories.tsx index 93c3db68d..4bcfadc23 100644 --- a/packages/components/src/avatar/tests/chromatic/DeletedAvatar.stories.tsx +++ b/packages/components/src/avatar/tests/chromatic/DeletedAvatar.stories.tsx @@ -1,6 +1,6 @@ -import { DeletedAvatar } from "@components/avatar"; -import { Div } from "@components/html"; -import { Inline, Stack } from "@components/layout"; +import { DeletedAvatar } from "@components/avatar/index.ts"; +import { Div } from "@components/html/index.ts"; +import { Inline, Stack } from "@components/layout/index.ts"; import { Meta, StoryObj } from "@storybook/react"; const meta = { diff --git a/packages/components/src/avatar/tests/jest/AnonymousAvatar.test.tsx b/packages/components/src/avatar/tests/jest/AnonymousAvatar.test.tsx index 8e81eba79..5e5fe4751 100644 --- a/packages/components/src/avatar/tests/jest/AnonymousAvatar.test.tsx +++ b/packages/components/src/avatar/tests/jest/AnonymousAvatar.test.tsx @@ -1,4 +1,4 @@ -import { AnonymousAvatar } from "@components/avatar"; +import { AnonymousAvatar } from "@components/avatar/index.ts"; import { createRef } from "react"; import { renderWithTheme, screen, waitFor } from "@test-utils"; diff --git a/packages/components/src/avatar/tests/jest/Avatar.test.tsx b/packages/components/src/avatar/tests/jest/Avatar.test.tsx index 88ed4dfd6..2e4575a7f 100644 --- a/packages/components/src/avatar/tests/jest/Avatar.test.tsx +++ b/packages/components/src/avatar/tests/jest/Avatar.test.tsx @@ -1,4 +1,4 @@ -import { Avatar } from "@components/avatar"; +import { Avatar } from "@components/avatar/index.ts"; import { createRef } from "react"; import { renderWithTheme, screen, waitFor } from "@test-utils"; diff --git a/packages/components/src/avatar/tests/jest/AvatarGroup.ssr.test.tsx b/packages/components/src/avatar/tests/jest/AvatarGroup.ssr.test.tsx index 119b6a5a4..586c9ae6e 100644 --- a/packages/components/src/avatar/tests/jest/AvatarGroup.ssr.test.tsx +++ b/packages/components/src/avatar/tests/jest/AvatarGroup.ssr.test.tsx @@ -1,7 +1,7 @@ /** * @jest-environment node */ -import { Avatar, AvatarGroup } from "@components/avatar"; +import { Avatar, AvatarGroup } from "@components/avatar/index.ts"; import { renderToString } from "react-dom/server"; import { throwOnConsoleLogs } from "@test-utils"; diff --git a/packages/components/src/avatar/tests/jest/AvatarGroup.test.tsx b/packages/components/src/avatar/tests/jest/AvatarGroup.test.tsx index 7d196c4f6..550f498b2 100644 --- a/packages/components/src/avatar/tests/jest/AvatarGroup.test.tsx +++ b/packages/components/src/avatar/tests/jest/AvatarGroup.test.tsx @@ -1,4 +1,4 @@ -import { Avatar, AvatarGroup } from "@components/avatar"; +import { Avatar, AvatarGroup } from "@components/avatar/index.ts"; import { createRef } from "react"; import { renderWithTheme, waitFor } from "@test-utils"; diff --git a/packages/components/src/avatar/tests/jest/DeletedAvatar.test.tsx b/packages/components/src/avatar/tests/jest/DeletedAvatar.test.tsx index 40557ce05..fb45450df 100644 --- a/packages/components/src/avatar/tests/jest/DeletedAvatar.test.tsx +++ b/packages/components/src/avatar/tests/jest/DeletedAvatar.test.tsx @@ -1,4 +1,4 @@ -import { DeletedAvatar } from "@components/avatar"; +import { DeletedAvatar } from "@components/avatar/index.ts"; import { createRef } from "react"; import { renderWithTheme, screen, waitFor } from "@test-utils"; diff --git a/packages/components/src/avatar/tests/typescript/AnonymousAvatar.test.tsx b/packages/components/src/avatar/tests/typescript/AnonymousAvatar.test.tsx index b6cd1396f..1eddab9b4 100644 --- a/packages/components/src/avatar/tests/typescript/AnonymousAvatar.test.tsx +++ b/packages/components/src/avatar/tests/typescript/AnonymousAvatar.test.tsx @@ -1,4 +1,4 @@ -import { AnonymousAvatarProps } from "@components/avatar"; +import { AnonymousAvatarProps } from "@components/avatar/index.ts"; import { expectAssignable } from "@test-utils"; expectAssignable<AnonymousAvatarProps>({ "aria-label": "Elon Musk" }); diff --git a/packages/components/src/avatar/tests/typescript/Avatar.test.tsx b/packages/components/src/avatar/tests/typescript/Avatar.test.tsx index 1b7d3c64a..d10012c59 100644 --- a/packages/components/src/avatar/tests/typescript/Avatar.test.tsx +++ b/packages/components/src/avatar/tests/typescript/Avatar.test.tsx @@ -1,4 +1,4 @@ -import { AvatarProps } from "@components/avatar"; +import { AvatarProps } from "@components/avatar/index.ts"; import { LaunchImage } from "./assets"; import { expectAssignable } from "@test-utils"; diff --git a/packages/components/src/avatar/tests/typescript/DeletedAvatar.test.tsx b/packages/components/src/avatar/tests/typescript/DeletedAvatar.test.tsx index d8f39f138..eef1e1a91 100644 --- a/packages/components/src/avatar/tests/typescript/DeletedAvatar.test.tsx +++ b/packages/components/src/avatar/tests/typescript/DeletedAvatar.test.tsx @@ -1,4 +1,4 @@ -import { DeletedAvatarProps } from "@components/avatar"; +import { DeletedAvatarProps } from "@components/avatar/index.ts"; import { expectAssignable } from "@test-utils"; expectAssignable<DeletedAvatarProps>({ "aria-label": "Elon Musk" }); diff --git a/packages/components/src/badge/docs/Badge.mdx b/packages/components/src/badge/docs/Badge.mdx index 1491983eb..500f2c74c 100644 --- a/packages/components/src/badge/docs/Badge.mdx +++ b/packages/components/src/badge/docs/Badge.mdx @@ -1,5 +1,5 @@ import { ArgTypes, Meta, Canvas } from "@storybook/addon-docs"; -import { InnerBadge } from "@components/badge"; +import { InnerBadge } from "@components/badge/index.ts"; import { ComponentInfo, Tagline } from "@stories/components"; import * as BadgeStories from "./Badge.stories.tsx"; diff --git a/packages/components/src/badge/docs/Badge.stories.tsx b/packages/components/src/badge/docs/Badge.stories.tsx index 3bd4b1091..d8e5b4d1f 100644 --- a/packages/components/src/badge/docs/Badge.stories.tsx +++ b/packages/components/src/badge/docs/Badge.stories.tsx @@ -1,9 +1,9 @@ -import { Badge } from "@components/badge"; +import { Badge } from "@components/badge/index.ts"; import { Circle } from "./Circle"; import { SparklesIcon } from "@hopper-ui/icons"; -import { Inline } from "@components/layout"; +import { Inline } from "@components/layout/index.ts"; import { Square } from "./Square"; -import { Text } from "@components/typography"; +import { Text } from "@components/typography/index.ts"; import { Meta, StoryObj } from "@storybook/react"; diff --git a/packages/components/src/badge/docs/Circle.tsx b/packages/components/src/badge/docs/Circle.tsx index 382e02684..8cd41a6b9 100644 --- a/packages/components/src/badge/docs/Circle.tsx +++ b/packages/components/src/badge/docs/Circle.tsx @@ -1,4 +1,4 @@ -import { Div } from "@components/html"; +import { Div } from "@components/html/index.ts"; export function Circle() { return <Div backgroundColor="sapphire-200" borderRadius="100%" height="45px" width="45px" />; diff --git a/packages/components/src/badge/docs/Square.tsx b/packages/components/src/badge/docs/Square.tsx index 468e12a96..b227082a2 100644 --- a/packages/components/src/badge/docs/Square.tsx +++ b/packages/components/src/badge/docs/Square.tsx @@ -1,4 +1,4 @@ -import { Div } from "@components/html"; +import { Div } from "@components/html/index.ts"; export function Square() { return <Div backgroundColor="sapphire-200" height="45px" width="45px" />; diff --git a/packages/components/src/badge/src/Badge.tsx b/packages/components/src/badge/src/Badge.tsx index 79a91a425..52bba8ee3 100644 --- a/packages/components/src/badge/src/Badge.tsx +++ b/packages/components/src/badge/src/Badge.tsx @@ -1,8 +1,8 @@ -import { Box, BoxProps } from "../../box"; +import { Box, BoxProps } from "../../box/index.ts" import { Children, ComponentProps, ReactNode, forwardRef } from "react"; -import { InternalProps, OmitInternalProps, StyledComponentProps, cssModule, mergeProps } from "../../shared"; +import { InternalProps, OmitInternalProps, StyledComponentProps, cssModule, mergeProps } from "../../shared/index.ts" -import { StyleProvider } from "../../styling"; +import { StyleProvider } from "../../styling/index.ts" const DefaultElement = "div"; diff --git a/packages/components/src/badge/tests/chromatic/BadgeCount.stories.tsx b/packages/components/src/badge/tests/chromatic/BadgeCount.stories.tsx index a13fb16b1..758b302fd 100644 --- a/packages/components/src/badge/tests/chromatic/BadgeCount.stories.tsx +++ b/packages/components/src/badge/tests/chromatic/BadgeCount.stories.tsx @@ -1,8 +1,8 @@ -import { Badge } from "@components/badge"; -import { Div } from "@components/html"; -import { Inline } from "@components/layout"; +import { Badge } from "@components/badge/index.ts"; +import { Div } from "@components/html/index.ts"; +import { Inline } from "@components/layout/index.ts"; import { CircleBadge, IconBadge, SquareBadge } from "./BadgeUtils"; -import { Text } from "@components/typography"; +import { Text } from "@components/typography/index.ts"; import { Meta, StoryObj } from "@storybook/react"; const meta = { diff --git a/packages/components/src/badge/tests/chromatic/BadgeDot.stories.tsx b/packages/components/src/badge/tests/chromatic/BadgeDot.stories.tsx index 9994284c9..029a4b40e 100644 --- a/packages/components/src/badge/tests/chromatic/BadgeDot.stories.tsx +++ b/packages/components/src/badge/tests/chromatic/BadgeDot.stories.tsx @@ -1,6 +1,6 @@ -import { Badge } from "@components/badge"; +import { Badge } from "@components/badge/index.ts"; import { CircleBadge, IconBadge, SquareBadge, TextBadge } from "./BadgeUtils"; -import { Inline } from "@components/layout"; +import { Inline } from "@components/layout/index.ts"; import { Meta, StoryObj } from "@storybook/react"; const meta = { diff --git a/packages/components/src/badge/tests/chromatic/BadgeIcon.stories.tsx b/packages/components/src/badge/tests/chromatic/BadgeIcon.stories.tsx index e16b52296..ac869a6a8 100644 --- a/packages/components/src/badge/tests/chromatic/BadgeIcon.stories.tsx +++ b/packages/components/src/badge/tests/chromatic/BadgeIcon.stories.tsx @@ -1,7 +1,7 @@ import { SparklesIcon } from "@hopper-ui/icons"; -import { Badge } from "@components/badge"; +import { Badge } from "@components/badge/index.ts"; import { CircleBadge, IconBadge, SquareBadge, TextBadge } from "./BadgeUtils"; -import { Inline } from "@components/layout"; +import { Inline } from "@components/layout/index.ts"; import { Meta, StoryObj } from "@storybook/react"; const meta = { diff --git a/packages/components/src/badge/tests/chromatic/BadgeUtils.tsx b/packages/components/src/badge/tests/chromatic/BadgeUtils.tsx index 6620545ce..68687021b 100644 --- a/packages/components/src/badge/tests/chromatic/BadgeUtils.tsx +++ b/packages/components/src/badge/tests/chromatic/BadgeUtils.tsx @@ -1,5 +1,5 @@ -import { Badge, BadgeProps } from "@components/badge"; -import { Div } from "@components/html"; +import { Badge, BadgeProps } from "@components/badge/index.ts"; +import { Div } from "@components/html/index.ts"; import { MailIcon } from "@hopper-ui/icons"; import { PropsWithChildren } from "react"; diff --git a/packages/components/src/badge/tests/jest/Badge.ssr.test.tsx b/packages/components/src/badge/tests/jest/Badge.ssr.test.tsx index bb3ecb6c6..acd1dab56 100644 --- a/packages/components/src/badge/tests/jest/Badge.ssr.test.tsx +++ b/packages/components/src/badge/tests/jest/Badge.ssr.test.tsx @@ -1,9 +1,9 @@ /** * @jest-environment node */ -import { Badge, BadgeProps } from "@components/badge"; -import { Div } from "@components/html"; -import { Text } from "@components/typography"; +import { Badge, BadgeProps } from "@components/badge/index.ts"; +import { Div } from "@components/html/index.ts"; +import { Text } from "@components/typography/index.ts"; import { forwardRef } from "react"; import { renderToString } from "react-dom/server"; import { throwOnConsoleLogs } from "@test-utils"; diff --git a/packages/components/src/badge/tests/jest/Badge.test.tsx b/packages/components/src/badge/tests/jest/Badge.test.tsx index ee2aa11ce..655217c87 100644 --- a/packages/components/src/badge/tests/jest/Badge.test.tsx +++ b/packages/components/src/badge/tests/jest/Badge.test.tsx @@ -1,6 +1,6 @@ -import { Badge, BadgeProps } from "@components/badge"; -import { Div } from "@components/html"; -import { Text } from "@components/typography"; +import { Badge, BadgeProps } from "@components/badge/index.ts"; +import { Div } from "@components/html/index.ts"; +import { Text } from "@components/typography/index.ts"; import { forwardRef, createRef } from "react"; import { renderWithTheme, waitFor } from "@test-utils"; diff --git a/packages/components/src/box/docs/Box.mdx b/packages/components/src/box/docs/Box.mdx index ee0672112..1cf4e242e 100644 --- a/packages/components/src/box/docs/Box.mdx +++ b/packages/components/src/box/docs/Box.mdx @@ -1,6 +1,6 @@ import { ArgTypes, Canvas, Meta } from "@storybook/addon-docs"; import { ComponentInfo, Tagline } from "@stories/components"; -import { InnerBox } from "@components/box"; +import { InnerBox } from "@components/box/index.ts"; import * as BoxStories from "./Box.stories.tsx"; <Meta of={BoxStories} /> diff --git a/packages/components/src/box/docs/Box.stories.tsx b/packages/components/src/box/docs/Box.stories.tsx index 391ecf44e..654287423 100644 --- a/packages/components/src/box/docs/Box.stories.tsx +++ b/packages/components/src/box/docs/Box.stories.tsx @@ -1,5 +1,5 @@ import { Meta, StoryObj } from "@storybook/react"; -import { Box } from "@components/box"; +import { Box } from "@components/box/index.ts"; const meta = { title: "Components/Box", diff --git a/packages/components/src/box/src/Box.tsx b/packages/components/src/box/src/Box.tsx index 3a68f2f1b..f2d84cc3f 100644 --- a/packages/components/src/box/src/Box.tsx +++ b/packages/components/src/box/src/Box.tsx @@ -1,7 +1,7 @@ import { ComponentProps, ReactNode, forwardRef } from "react"; -import { InternalProps, OmitInternalProps, SlotProps, StyledHtmlAttributes, omitProps } from "../../shared"; -import { getHtmlElementType } from "../../html"; -import { useStyledSystem } from "../../styling"; +import { InternalProps, OmitInternalProps, SlotProps, StyledHtmlAttributes, omitProps } from "../../shared/index.ts" +import { getHtmlElementType } from "../../html/index.ts" +import { useStyledSystem } from "../../styling/index.ts" const DefaultElement = "div"; diff --git a/packages/components/src/box/tests/chromatic/Box-hopper.stories.tsx b/packages/components/src/box/tests/chromatic/Box-hopper.stories.tsx index 9f5cf4bb7..6ed70db3c 100644 --- a/packages/components/src/box/tests/chromatic/Box-hopper.stories.tsx +++ b/packages/components/src/box/tests/chromatic/Box-hopper.stories.tsx @@ -1,5 +1,5 @@ -import { Box } from "@components/box"; -import { Inline } from "@components/layout"; +import { Box } from "@components/box/index.ts"; +import { Inline } from "@components/layout/index.ts"; import { Meta, StoryObj } from "@storybook/react"; const meta = { diff --git a/packages/components/src/box/tests/chromatic/Box.stories.tsx b/packages/components/src/box/tests/chromatic/Box.stories.tsx index fc6c72970..73c51ea9d 100644 --- a/packages/components/src/box/tests/chromatic/Box.stories.tsx +++ b/packages/components/src/box/tests/chromatic/Box.stories.tsx @@ -1,5 +1,5 @@ -import { Box } from "@components/box"; -import { Inline } from "@components/layout"; +import { Box } from "@components/box/index.ts"; +import { Inline } from "@components/layout/index.ts"; import { Meta, StoryObj } from "@storybook/react"; const meta = { diff --git a/packages/components/src/box/tests/jest/Box.ssr.test.tsx b/packages/components/src/box/tests/jest/Box.ssr.test.tsx index a347c5dba..d738e5682 100644 --- a/packages/components/src/box/tests/jest/Box.ssr.test.tsx +++ b/packages/components/src/box/tests/jest/Box.ssr.test.tsx @@ -1,7 +1,7 @@ /** * @jest-environment node */ -import { Box } from "@components/box"; +import { Box } from "@components/box/index.ts"; import { renderToString } from "react-dom/server"; import { throwOnConsoleLogs } from "@test-utils"; diff --git a/packages/components/src/box/tests/jest/Box.test.tsx b/packages/components/src/box/tests/jest/Box.test.tsx index 97f99dc60..918fd5d90 100644 --- a/packages/components/src/box/tests/jest/Box.test.tsx +++ b/packages/components/src/box/tests/jest/Box.test.tsx @@ -1,4 +1,4 @@ -import { Box } from "@components/box"; +import { Box } from "@components/box/index.ts"; import { createRef } from "react"; import { renderWithTheme, waitFor } from "@test-utils"; diff --git a/packages/components/src/button/docs/Button.mdx b/packages/components/src/button/docs/Button.mdx index 7af06704d..0f6db86b9 100644 --- a/packages/components/src/button/docs/Button.mdx +++ b/packages/components/src/button/docs/Button.mdx @@ -6,7 +6,7 @@ import { InnerIconButton, InnerToggleButton, InnerToggleIconButton -} from "@components/button"; +} from "@components/button/index.ts"; import { ComponentInfo, Preview, Tagline } from "@stories/components"; import * as ButtonStories from "./Button.stories.tsx"; diff --git a/packages/components/src/button/docs/Button.stories.tsx b/packages/components/src/button/docs/Button.stories.tsx index 5dc8b73c4..829ed0086 100644 --- a/packages/components/src/button/docs/Button.stories.tsx +++ b/packages/components/src/button/docs/Button.stories.tsx @@ -9,11 +9,11 @@ import { IconButtonAsLink, ToggleButton, ToggleIconButton -} from "@components/button"; -import { Counter } from "@components/counter"; -import { Inline } from "@components/layout"; -import { RadioGroup } from "@components/radio"; -import { Text } from "@components/typography"; +} from "@components/button/index.ts"; +import { Counter } from "@components/counter/index.ts"; +import { Inline } from "@components/layout/index.ts"; +import { RadioGroup } from "@components/radio/index.ts"; +import { Text } from "@components/typography/index.ts"; import { useCallback, useState } from "react"; const meta = { diff --git a/packages/components/src/button/docs/CrossButton.mdx b/packages/components/src/button/docs/CrossButton.mdx index 148d3a8e1..43bcd125c 100644 --- a/packages/components/src/button/docs/CrossButton.mdx +++ b/packages/components/src/button/docs/CrossButton.mdx @@ -1,6 +1,6 @@ import { ArgTypes, Meta, Canvas } from "@storybook/addon-docs"; import { ComponentInfo, Tagline } from "@stories/components"; -import { InnerCrossButton } from "@components/button"; +import { InnerCrossButton } from "@components/button/index.ts"; import * as CrossButtonStories from "./CrossButton.stories.tsx"; diff --git a/packages/components/src/button/docs/CrossButton.stories.tsx b/packages/components/src/button/docs/CrossButton.stories.tsx index 3c4f3f7bc..4df228dee 100644 --- a/packages/components/src/button/docs/CrossButton.stories.tsx +++ b/packages/components/src/button/docs/CrossButton.stories.tsx @@ -1,5 +1,5 @@ -import { CrossButton } from "@components/button"; -import { Inline } from "@components/layout"; +import { CrossButton } from "@components/button/index.ts"; +import { Inline } from "@components/layout/index.ts"; import { Meta, StoryObj } from "@storybook/react"; diff --git a/packages/components/src/button/src/Button.tsx b/packages/components/src/button/src/Button.tsx index 10efd9c4d..bd74188c4 100644 --- a/packages/components/src/button/src/Button.tsx +++ b/packages/components/src/button/src/Button.tsx @@ -1,4 +1,4 @@ -import { Box } from "../../box"; +import { Box } from "../../box/index.ts" import { ButtonVariant, useButton } from "./useButton"; import { ComponentProps, ElementType, ReactNode, forwardRef, useMemo } from "react"; import { @@ -14,13 +14,13 @@ import { omitProps, slot, useSlots -} from "../../shared"; -import { ResponsiveProp, useResponsiveValue, useStyleProps } from "../../styling"; -import { Text } from "../../typography"; -import { useFormButton } from "../../form"; -import { useInputGroupButtonAddonProps } from "../../input-group"; -import { useToolbarProps } from "../../toolbar"; -import { Spinner } from "../../spinner"; +} from "../../shared/index.ts" +import { ResponsiveProp, useResponsiveValue, useStyleProps } from "../../styling/index.ts" +import { Text } from "../../typography/index.ts" +import { useFormButton } from "../../form/index.ts" +import { useInputGroupButtonAddonProps } from "../../input-group/index.ts" +import { useToolbarProps } from "../../toolbar/index.ts" +import { Spinner } from "../../spinner/index.ts" export type AbstractButtonProps<T extends ElementType> = InternalProps & InteractionProps & Omit<StyledComponentProps<T>, "autoFocus"> & { /** diff --git a/packages/components/src/button/src/ButtonGroup.tsx b/packages/components/src/button/src/ButtonGroup.tsx index eecc5451c..800811299 100644 --- a/packages/components/src/button/src/ButtonGroup.tsx +++ b/packages/components/src/button/src/ButtonGroup.tsx @@ -1,8 +1,8 @@ -import { AbstractGroupProps, Group } from "../../group"; +import { AbstractGroupProps, Group } from "../../group/index.ts" import { Children, ComponentProps, ReactElement, forwardRef } from "react"; -import { OmitInternalProps, SlotProps, augmentElement, cssModule, mergeProps, normalizeSize, omitProps, slot } from "../../shared"; -import { ResponsiveProp, useResponsiveValue } from "../../styling"; -import { useFieldInputProps } from "../../field"; +import { OmitInternalProps, SlotProps, augmentElement, cssModule, mergeProps, normalizeSize, omitProps, slot } from "../../shared/index.ts" +import { ResponsiveProp, useResponsiveValue } from "../../styling/index.ts" +import { useFieldInputProps } from "../../field/index.ts" const DefaultElement = "div"; diff --git a/packages/components/src/button/src/CrossButton.tsx b/packages/components/src/button/src/CrossButton.tsx index f8bfec188..7b9a88c02 100644 --- a/packages/components/src/button/src/CrossButton.tsx +++ b/packages/components/src/button/src/CrossButton.tsx @@ -1,7 +1,7 @@ import { AbstractIconButtonProps, IconButton, InnerIconButton } from "./IconButton"; import { ComponentProps, forwardRef } from "react"; import { DismissIcon } from "@hopper-ui/icons"; -import { OmitInternalProps, mergeClasses, slot } from "../../shared"; +import { OmitInternalProps, mergeClasses, slot } from "../../shared/index.ts" export type InnerCrossButtonProps = Omit<AbstractIconButtonProps<"button">, "fluid" | "loading" | "onChange" | "type" | "variant">; diff --git a/packages/components/src/button/src/IconButton.tsx b/packages/components/src/button/src/IconButton.tsx index 15ed5abea..0be98a192 100644 --- a/packages/components/src/button/src/IconButton.tsx +++ b/packages/components/src/button/src/IconButton.tsx @@ -1,7 +1,7 @@ -import { Box } from "../../box"; +import { Box } from "../../box/index.ts" import { ButtonVariant, useButton } from "./useButton"; import { Children, ComponentProps, ElementType, ReactElement, ReactNode, forwardRef } from "react"; -import { Spinner } from "../../spinner"; +import { Spinner } from "../../spinner/index.ts" import { InteractionProps, @@ -16,10 +16,10 @@ import { mergeProps, omitProps, slot -} from "../../shared"; -import { ResponsiveProp, useResponsiveValue } from "../../styling"; -import { useInputGroupButtonAddonProps } from "../../input-group"; -import { useToolbarProps } from "../../toolbar"; +} from "../../shared/index.ts" +import { ResponsiveProp, useResponsiveValue } from "../../styling/index.ts" +import { useInputGroupButtonAddonProps } from "../../input-group/index.ts" +import { useToolbarProps } from "../../toolbar/index.ts" export type AbstractIconButtonProps<T extends ElementType> = InternalProps & InteractionProps & Omit<StyledComponentProps<T>, "autoFocus"> & { /** diff --git a/packages/components/src/button/src/ToggleButton.tsx b/packages/components/src/button/src/ToggleButton.tsx index 58c567abb..1e06437c3 100644 --- a/packages/components/src/button/src/ToggleButton.tsx +++ b/packages/components/src/button/src/ToggleButton.tsx @@ -1,6 +1,6 @@ import { AbstractButtonProps, Button } from "./Button"; import { ComponentProps, ReactNode, SyntheticEvent, forwardRef } from "react"; -import { OmitInternalProps, mergeProps, resolveChildren, useCheckableProps } from "../../shared"; +import { OmitInternalProps, mergeProps, resolveChildren, useCheckableProps } from "../../shared/index.ts" import { ToggleButtonVariant, useToggleButton } from "./useToggleButton"; const DefaultElement = "button"; diff --git a/packages/components/src/button/src/ToggleIconButton.tsx b/packages/components/src/button/src/ToggleIconButton.tsx index 88b459496..7ad9348f5 100644 --- a/packages/components/src/button/src/ToggleIconButton.tsx +++ b/packages/components/src/button/src/ToggleIconButton.tsx @@ -1,6 +1,6 @@ import { AbstractIconButtonProps, IconButton } from "./IconButton"; import { ComponentProps, ReactElement, ReactNode, SyntheticEvent, forwardRef } from "react"; -import { OmitInternalProps, mergeProps, resolveChildren, useCheckableProps } from "../../shared"; +import { OmitInternalProps, mergeProps, resolveChildren, useCheckableProps } from "../../shared/index.ts" import { ToggleButtonVariant, useToggleButton } from "./useToggleButton"; const DefaultElement = "button"; diff --git a/packages/components/src/button/src/useButton.ts b/packages/components/src/button/src/useButton.ts index 9b4547c4a..ae1253023 100644 --- a/packages/components/src/button/src/useButton.ts +++ b/packages/components/src/button/src/useButton.ts @@ -1,6 +1,6 @@ import { AriaAttributes, MouseEventHandler } from "react"; -import { HtmlButton } from "../../html"; -import { InteractionProps, InternalProps, MergedRef, Size, cssModule, isNumber, mergeClasses, normalizeSize, useAutoFocus, useMergedRefs } from "../../shared"; +import { HtmlButton } from "../../html/index.ts" +import { InteractionProps, InternalProps, MergedRef, Size, cssModule, isNumber, mergeClasses, normalizeSize, useAutoFocus, useMergedRefs } from "../../shared/index.ts" import { useDisableClick } from "./useDisableClick"; export type ButtonVariant = "primary" | "secondary" | "tertiary" | "negative" | "upsell"; diff --git a/packages/components/src/button/src/useToggleButton.ts b/packages/components/src/button/src/useToggleButton.ts index 438a066d7..db3158abb 100644 --- a/packages/components/src/button/src/useToggleButton.ts +++ b/packages/components/src/button/src/useToggleButton.ts @@ -1,6 +1,6 @@ import { ButtonVariant } from "./useButton"; import { FormEvent, ForwardedRef, MouseEvent } from "react"; -import { isNil, useControllableState, useEventCallback } from "../../shared"; +import { isNil, useControllableState, useEventCallback } from "../../shared/index.ts" export type ToggleButtonVariant = Exclude<ButtonVariant, "negative">; diff --git a/packages/components/src/button/tests/chromatic/Button-hopper.stories.tsx b/packages/components/src/button/tests/chromatic/Button-hopper.stories.tsx index 7fc8bbcf2..ca1f2236d 100644 --- a/packages/components/src/button/tests/chromatic/Button-hopper.stories.tsx +++ b/packages/components/src/button/tests/chromatic/Button-hopper.stories.tsx @@ -1,5 +1,5 @@ -import { Button } from "@components/button"; -import { Inline } from "@components/layout"; +import { Button } from "@components/button/index.ts"; +import { Inline } from "@components/layout/index.ts"; import { Meta, StoryObj } from "@storybook/react"; diff --git a/packages/components/src/button/tests/chromatic/Button.stories.tsx b/packages/components/src/button/tests/chromatic/Button.stories.tsx index 6cadaf53d..5b3eb9968 100644 --- a/packages/components/src/button/tests/chromatic/Button.stories.tsx +++ b/packages/components/src/button/tests/chromatic/Button.stories.tsx @@ -1,5 +1,5 @@ -import { Button } from "@components/button"; -import { Inline } from "@components/layout"; +import { Button } from "@components/button/index.ts"; +import { Inline } from "@components/layout/index.ts"; import { Meta, StoryObj } from "@storybook/react"; diff --git a/packages/components/src/button/tests/chromatic/ButtonAsLink-hopper.stories.tsx b/packages/components/src/button/tests/chromatic/ButtonAsLink-hopper.stories.tsx index a91bab759..0086646c3 100644 --- a/packages/components/src/button/tests/chromatic/ButtonAsLink-hopper.stories.tsx +++ b/packages/components/src/button/tests/chromatic/ButtonAsLink-hopper.stories.tsx @@ -1,5 +1,5 @@ -import { ButtonAsLink } from "@components/button"; -import { Inline } from "@components/layout"; +import { ButtonAsLink } from "@components/button/index.ts"; +import { Inline } from "@components/layout/index.ts"; import { Meta, StoryObj } from "@storybook/react"; diff --git a/packages/components/src/button/tests/chromatic/ButtonAsLink.stories.tsx b/packages/components/src/button/tests/chromatic/ButtonAsLink.stories.tsx index 6aa989aec..85938705a 100644 --- a/packages/components/src/button/tests/chromatic/ButtonAsLink.stories.tsx +++ b/packages/components/src/button/tests/chromatic/ButtonAsLink.stories.tsx @@ -1,5 +1,5 @@ -import { ButtonAsLink } from "@components/button"; -import { Inline } from "@components/layout"; +import { ButtonAsLink } from "@components/button/index.ts"; +import { Inline } from "@components/layout/index.ts"; import { Meta, StoryObj } from "@storybook/react"; diff --git a/packages/components/src/button/tests/chromatic/ButtonAsLinkNegative-hopper.stories.tsx b/packages/components/src/button/tests/chromatic/ButtonAsLinkNegative-hopper.stories.tsx index 2cea3cbf9..b2b98762f 100644 --- a/packages/components/src/button/tests/chromatic/ButtonAsLinkNegative-hopper.stories.tsx +++ b/packages/components/src/button/tests/chromatic/ButtonAsLinkNegative-hopper.stories.tsx @@ -1,7 +1,7 @@ -import { ButtonAsLink } from "@components/button"; -import { Counter } from "@components/counter"; -import { Div } from "@components/html"; -import { Inline, Stack } from "@components/layout"; +import { ButtonAsLink } from "@components/button/index.ts"; +import { Counter } from "@components/counter/index.ts"; +import { Div } from "@components/html/index.ts"; +import { Inline, Stack } from "@components/layout/index.ts"; import { IconList, Text } from "@hopper-ui/components"; import { StartOverIcon } from "@hopper-ui/icons"; diff --git a/packages/components/src/button/tests/chromatic/ButtonAsLinkNegative.stories.tsx b/packages/components/src/button/tests/chromatic/ButtonAsLinkNegative.stories.tsx index 309f58157..7762768c9 100644 --- a/packages/components/src/button/tests/chromatic/ButtonAsLinkNegative.stories.tsx +++ b/packages/components/src/button/tests/chromatic/ButtonAsLinkNegative.stories.tsx @@ -1,12 +1,12 @@ -import { ButtonAsLink } from "@components/button"; -import { Inline, Stack } from "@components/layout"; -import { Div } from "@components/html"; -import { IconList } from "@components/icons"; +import { ButtonAsLink } from "@components/button/index.ts"; +import { Inline, Stack } from "@components/layout/index.ts"; +import { Div } from "@components/html/index.ts"; +import { IconList } from "@components/icons/index.ts"; import { StartOverIcon } from "@hopper-ui/icons"; -import { Text } from "@components/typography"; +import { Text } from "@components/typography/index.ts"; import { Meta, StoryObj } from "@storybook/react"; -import { Counter } from "@components/counter"; +import { Counter } from "@components/counter/index.ts"; const meta = { title: "Chromatic/ButtonAsLink/negative", diff --git a/packages/components/src/button/tests/chromatic/ButtonAsLinkPrimary-hopper.stories.tsx b/packages/components/src/button/tests/chromatic/ButtonAsLinkPrimary-hopper.stories.tsx index c6edc547a..f14c7af99 100644 --- a/packages/components/src/button/tests/chromatic/ButtonAsLinkPrimary-hopper.stories.tsx +++ b/packages/components/src/button/tests/chromatic/ButtonAsLinkPrimary-hopper.stories.tsx @@ -1,7 +1,7 @@ -import { ButtonAsLink } from "@components/button"; -import { Counter } from "@components/counter"; -import { Div } from "@components/html"; -import { Inline, Stack } from "@components/layout"; +import { ButtonAsLink } from "@components/button/index.ts"; +import { Counter } from "@components/counter/index.ts"; +import { Div } from "@components/html/index.ts"; +import { Inline, Stack } from "@components/layout/index.ts"; import { IconList, Text } from "@hopper-ui/components"; import { StartOverIcon } from "@hopper-ui/icons"; diff --git a/packages/components/src/button/tests/chromatic/ButtonAsLinkPrimary.stories.tsx b/packages/components/src/button/tests/chromatic/ButtonAsLinkPrimary.stories.tsx index f7c75e7d5..1d6a89af6 100644 --- a/packages/components/src/button/tests/chromatic/ButtonAsLinkPrimary.stories.tsx +++ b/packages/components/src/button/tests/chromatic/ButtonAsLinkPrimary.stories.tsx @@ -1,12 +1,12 @@ -import { ButtonAsLink } from "@components/button"; -import { Inline, Stack } from "@components/layout"; -import { Div } from "@components/html"; -import { IconList } from "@components/icons"; +import { ButtonAsLink } from "@components/button/index.ts"; +import { Inline, Stack } from "@components/layout/index.ts"; +import { Div } from "@components/html/index.ts"; +import { IconList } from "@components/icons/index.ts"; import { StartOverIcon } from "@hopper-ui/icons"; -import { Text } from "@components/typography"; +import { Text } from "@components/typography/index.ts"; import { Meta, StoryObj } from "@storybook/react"; -import { Counter } from "@components/counter"; +import { Counter } from "@components/counter/index.ts"; const meta = { title: "Chromatic/ButtonAsLink/primary", diff --git a/packages/components/src/button/tests/chromatic/ButtonAsLinkSecondary-hopper.stories.tsx b/packages/components/src/button/tests/chromatic/ButtonAsLinkSecondary-hopper.stories.tsx index e8cb23933..49d1ab4ac 100644 --- a/packages/components/src/button/tests/chromatic/ButtonAsLinkSecondary-hopper.stories.tsx +++ b/packages/components/src/button/tests/chromatic/ButtonAsLinkSecondary-hopper.stories.tsx @@ -1,7 +1,7 @@ -import { ButtonAsLink } from "@components/button"; -import { Counter } from "@components/counter"; -import { Div } from "@components/html"; -import { Inline, Stack } from "@components/layout"; +import { ButtonAsLink } from "@components/button/index.ts"; +import { Counter } from "@components/counter/index.ts"; +import { Div } from "@components/html/index.ts"; +import { Inline, Stack } from "@components/layout/index.ts"; import { IconList, Text } from "@hopper-ui/components"; import { StartOverIcon } from "@hopper-ui/icons"; diff --git a/packages/components/src/button/tests/chromatic/ButtonAsLinkSecondary.stories.tsx b/packages/components/src/button/tests/chromatic/ButtonAsLinkSecondary.stories.tsx index 5ef33bd66..6b39e3efc 100644 --- a/packages/components/src/button/tests/chromatic/ButtonAsLinkSecondary.stories.tsx +++ b/packages/components/src/button/tests/chromatic/ButtonAsLinkSecondary.stories.tsx @@ -1,12 +1,12 @@ -import { ButtonAsLink } from "@components/button"; -import { Inline, Stack } from "@components/layout"; -import { Div } from "@components/html"; -import { IconList } from "@components/icons"; +import { ButtonAsLink } from "@components/button/index.ts"; +import { Inline, Stack } from "@components/layout/index.ts"; +import { Div } from "@components/html/index.ts"; +import { IconList } from "@components/icons/index.ts"; import { StartOverIcon } from "@hopper-ui/icons"; -import { Text } from "@components/typography"; +import { Text } from "@components/typography/index.ts"; import { Meta, StoryObj } from "@storybook/react"; -import { Counter } from "@components/counter"; +import { Counter } from "@components/counter/index.ts"; const meta = { title: "Chromatic/ButtonAsLink/secondary", diff --git a/packages/components/src/button/tests/chromatic/ButtonAsLinkTertiary-hopper.stories.tsx b/packages/components/src/button/tests/chromatic/ButtonAsLinkTertiary-hopper.stories.tsx index be3f61f26..d102f4437 100644 --- a/packages/components/src/button/tests/chromatic/ButtonAsLinkTertiary-hopper.stories.tsx +++ b/packages/components/src/button/tests/chromatic/ButtonAsLinkTertiary-hopper.stories.tsx @@ -1,7 +1,7 @@ -import { ButtonAsLink } from "@components/button"; -import { Counter } from "@components/counter"; -import { Div } from "@components/html"; -import { Inline, Stack } from "@components/layout"; +import { ButtonAsLink } from "@components/button/index.ts"; +import { Counter } from "@components/counter/index.ts"; +import { Div } from "@components/html/index.ts"; +import { Inline, Stack } from "@components/layout/index.ts"; import { IconList, Text } from "@hopper-ui/components"; import { StartOverIcon } from "@hopper-ui/icons"; diff --git a/packages/components/src/button/tests/chromatic/ButtonAsLinkTertiary.stories.tsx b/packages/components/src/button/tests/chromatic/ButtonAsLinkTertiary.stories.tsx index 64c27f647..2ee9e5c3b 100644 --- a/packages/components/src/button/tests/chromatic/ButtonAsLinkTertiary.stories.tsx +++ b/packages/components/src/button/tests/chromatic/ButtonAsLinkTertiary.stories.tsx @@ -1,12 +1,12 @@ -import { ButtonAsLink } from "@components/button"; -import { Inline, Stack } from "@components/layout"; -import { Div } from "@components/html"; -import { IconList } from "@components/icons"; +import { ButtonAsLink } from "@components/button/index.ts"; +import { Inline, Stack } from "@components/layout/index.ts"; +import { Div } from "@components/html/index.ts"; +import { IconList } from "@components/icons/index.ts"; import { StartOverIcon } from "@hopper-ui/icons"; -import { Text } from "@components/typography"; +import { Text } from "@components/typography/index.ts"; import { Meta, StoryObj } from "@storybook/react"; -import { Counter } from "@components/counter"; +import { Counter } from "@components/counter/index.ts"; const meta = { title: "Chromatic/ButtonAsLink/tertiary", diff --git a/packages/components/src/button/tests/chromatic/ButtonAsLinkUpsell-hopper.stories.tsx b/packages/components/src/button/tests/chromatic/ButtonAsLinkUpsell-hopper.stories.tsx index 50764d2b7..847995ac6 100644 --- a/packages/components/src/button/tests/chromatic/ButtonAsLinkUpsell-hopper.stories.tsx +++ b/packages/components/src/button/tests/chromatic/ButtonAsLinkUpsell-hopper.stories.tsx @@ -1,7 +1,7 @@ -import { ButtonAsLink } from "@components/button"; -import { Counter } from "@components/counter"; -import { Div } from "@components/html"; -import { Inline, Stack } from "@components/layout"; +import { ButtonAsLink } from "@components/button/index.ts"; +import { Counter } from "@components/counter/index.ts"; +import { Div } from "@components/html/index.ts"; +import { Inline, Stack } from "@components/layout/index.ts"; import { IconList, Text } from "@hopper-ui/components"; import { StartOverIcon } from "@hopper-ui/icons"; diff --git a/packages/components/src/button/tests/chromatic/ButtonAsLinkUpsell.stories.tsx b/packages/components/src/button/tests/chromatic/ButtonAsLinkUpsell.stories.tsx index 3e51507b7..9780c0fe5 100644 --- a/packages/components/src/button/tests/chromatic/ButtonAsLinkUpsell.stories.tsx +++ b/packages/components/src/button/tests/chromatic/ButtonAsLinkUpsell.stories.tsx @@ -1,12 +1,12 @@ -import { ButtonAsLink } from "@components/button"; -import { Inline, Stack } from "@components/layout"; -import { Div } from "@components/html"; -import { IconList } from "@components/icons"; +import { ButtonAsLink } from "@components/button/index.ts"; +import { Inline, Stack } from "@components/layout/index.ts"; +import { Div } from "@components/html/index.ts"; +import { IconList } from "@components/icons/index.ts"; import { StartOverIcon } from "@hopper-ui/icons"; -import { Text } from "@components/typography"; +import { Text } from "@components/typography/index.ts"; import { Meta, StoryObj } from "@storybook/react"; -import { Counter } from "@components/counter"; +import { Counter } from "@components/counter/index.ts"; const meta = { title: "Chromatic/ButtonAsLink/upsell", diff --git a/packages/components/src/button/tests/chromatic/ButtonGroup-hopper.stories.tsx b/packages/components/src/button/tests/chromatic/ButtonGroup-hopper.stories.tsx index 25a537758..49c14219c 100644 --- a/packages/components/src/button/tests/chromatic/ButtonGroup-hopper.stories.tsx +++ b/packages/components/src/button/tests/chromatic/ButtonGroup-hopper.stories.tsx @@ -1,8 +1,8 @@ import { AddIcon } from "@hopper-ui/icons"; -import { Button, ButtonGroup, IconButton } from "@components/button"; -import { Div } from "@components/html"; -import { Inline, Stack } from "@components/layout"; -import { TextLinkAsButton } from "@components/link"; +import { Button, ButtonGroup, IconButton } from "@components/button/index.ts"; +import { Div } from "@components/html/index.ts"; +import { Inline, Stack } from "@components/layout/index.ts"; +import { TextLinkAsButton } from "@components/link/index.ts"; import { Meta, StoryObj } from "@storybook/react"; const meta = { diff --git a/packages/components/src/button/tests/chromatic/ButtonGroup.stories.tsx b/packages/components/src/button/tests/chromatic/ButtonGroup.stories.tsx index 099847354..668be2229 100644 --- a/packages/components/src/button/tests/chromatic/ButtonGroup.stories.tsx +++ b/packages/components/src/button/tests/chromatic/ButtonGroup.stories.tsx @@ -1,8 +1,8 @@ import { AddIcon } from "@hopper-ui/icons"; -import { Button, ButtonGroup, IconButton } from "@components/button"; -import { Div } from "@components/html"; -import { Inline, Stack } from "@components/layout"; -import { TextLinkAsButton } from "@components/link"; +import { Button, ButtonGroup, IconButton } from "@components/button/index.ts"; +import { Div } from "@components/html/index.ts"; +import { Inline, Stack } from "@components/layout/index.ts"; +import { TextLinkAsButton } from "@components/link/index.ts"; import { Meta, StoryObj } from "@storybook/react"; const meta = { diff --git a/packages/components/src/button/tests/chromatic/ButtonGroupVertical-hopper.stories.tsx b/packages/components/src/button/tests/chromatic/ButtonGroupVertical-hopper.stories.tsx index de53a9f3e..2201452c0 100644 --- a/packages/components/src/button/tests/chromatic/ButtonGroupVertical-hopper.stories.tsx +++ b/packages/components/src/button/tests/chromatic/ButtonGroupVertical-hopper.stories.tsx @@ -1,7 +1,7 @@ -import { Button, ButtonGroup } from "@components/button"; -import { Div } from "@components/html"; -import { Inline, Stack } from "@components/layout"; -import { TextLinkAsButton } from "@components/link"; +import { Button, ButtonGroup } from "@components/button/index.ts"; +import { Div } from "@components/html/index.ts"; +import { Inline, Stack } from "@components/layout/index.ts"; +import { TextLinkAsButton } from "@components/link/index.ts"; import { Meta, StoryObj } from "@storybook/react"; const meta = { diff --git a/packages/components/src/button/tests/chromatic/ButtonGroupVertical.stories.tsx b/packages/components/src/button/tests/chromatic/ButtonGroupVertical.stories.tsx index ea4cdfd09..11ad855e3 100644 --- a/packages/components/src/button/tests/chromatic/ButtonGroupVertical.stories.tsx +++ b/packages/components/src/button/tests/chromatic/ButtonGroupVertical.stories.tsx @@ -1,7 +1,7 @@ -import { Button, ButtonGroup } from "@components/button"; -import { Div } from "@components/html"; -import { Inline, Stack } from "@components/layout"; -import { TextLinkAsButton } from "@components/link"; +import { Button, ButtonGroup } from "@components/button/index.ts"; +import { Div } from "@components/html/index.ts"; +import { Inline, Stack } from "@components/layout/index.ts"; +import { TextLinkAsButton } from "@components/link/index.ts"; import { Meta, StoryObj } from "@storybook/react"; const meta = { diff --git a/packages/components/src/button/tests/chromatic/ButtonNegative-hopper.stories.tsx b/packages/components/src/button/tests/chromatic/ButtonNegative-hopper.stories.tsx index f07fe421c..0ce0c8e40 100644 --- a/packages/components/src/button/tests/chromatic/ButtonNegative-hopper.stories.tsx +++ b/packages/components/src/button/tests/chromatic/ButtonNegative-hopper.stories.tsx @@ -1,7 +1,7 @@ -import { Button } from "@components/button"; -import { Counter } from "@components/counter"; -import { Div } from "@components/html"; -import { Inline, Stack } from "@components/layout"; +import { Button } from "@components/button/index.ts"; +import { Counter } from "@components/counter/index.ts"; +import { Div } from "@components/html/index.ts"; +import { Inline, Stack } from "@components/layout/index.ts"; import { IconList, Text } from "@hopper-ui/components"; import { StartOverIcon } from "@hopper-ui/icons"; diff --git a/packages/components/src/button/tests/chromatic/ButtonNegative.stories.tsx b/packages/components/src/button/tests/chromatic/ButtonNegative.stories.tsx index 054a1a3bc..678627a7f 100644 --- a/packages/components/src/button/tests/chromatic/ButtonNegative.stories.tsx +++ b/packages/components/src/button/tests/chromatic/ButtonNegative.stories.tsx @@ -1,10 +1,10 @@ -import { Button } from "@components/button"; -import { Counter } from "@components/counter"; -import { Div } from "@components/html"; -import { IconList } from "@components/icons"; +import { Button } from "@components/button/index.ts"; +import { Counter } from "@components/counter/index.ts"; +import { Div } from "@components/html/index.ts"; +import { IconList } from "@components/icons/index.ts"; import { StartOverIcon } from "@hopper-ui/icons"; -import { Inline, Stack } from "@components/layout"; -import { Text } from "@components/typography"; +import { Inline, Stack } from "@components/layout/index.ts"; +import { Text } from "@components/typography/index.ts"; import { Meta, StoryObj } from "@storybook/react"; diff --git a/packages/components/src/button/tests/chromatic/ButtonPrimary-hopper.stories.tsx b/packages/components/src/button/tests/chromatic/ButtonPrimary-hopper.stories.tsx index 2aa2ffcd7..628b8d80b 100644 --- a/packages/components/src/button/tests/chromatic/ButtonPrimary-hopper.stories.tsx +++ b/packages/components/src/button/tests/chromatic/ButtonPrimary-hopper.stories.tsx @@ -1,7 +1,7 @@ -import { Button } from "@components/button"; -import { Counter } from "@components/counter"; -import { Div } from "@components/html"; -import { Inline, Stack } from "@components/layout"; +import { Button } from "@components/button/index.ts"; +import { Counter } from "@components/counter/index.ts"; +import { Div } from "@components/html/index.ts"; +import { Inline, Stack } from "@components/layout/index.ts"; import { IconList, Text } from "@hopper-ui/components"; import { StartOverIcon } from "@hopper-ui/icons"; diff --git a/packages/components/src/button/tests/chromatic/ButtonPrimary.stories.tsx b/packages/components/src/button/tests/chromatic/ButtonPrimary.stories.tsx index 8eebc9c46..d1c233c68 100644 --- a/packages/components/src/button/tests/chromatic/ButtonPrimary.stories.tsx +++ b/packages/components/src/button/tests/chromatic/ButtonPrimary.stories.tsx @@ -1,10 +1,10 @@ -import { Button } from "@components/button"; -import { Counter } from "@components/counter"; -import { Div } from "@components/html"; -import { IconList } from "@components/icons"; +import { Button } from "@components/button/index.ts"; +import { Counter } from "@components/counter/index.ts"; +import { Div } from "@components/html/index.ts"; +import { IconList } from "@components/icons/index.ts"; import { StartOverIcon } from "@hopper-ui/icons"; -import { Inline, Stack } from "@components/layout"; -import { Text } from "@components/typography"; +import { Inline, Stack } from "@components/layout/index.ts"; +import { Text } from "@components/typography/index.ts"; import { Meta, StoryObj } from "@storybook/react"; diff --git a/packages/components/src/button/tests/chromatic/ButtonSecondary-hopper.stories.tsx b/packages/components/src/button/tests/chromatic/ButtonSecondary-hopper.stories.tsx index d873158f7..b57dca970 100644 --- a/packages/components/src/button/tests/chromatic/ButtonSecondary-hopper.stories.tsx +++ b/packages/components/src/button/tests/chromatic/ButtonSecondary-hopper.stories.tsx @@ -1,7 +1,7 @@ -import { Button } from "@components/button"; -import { Counter } from "@components/counter"; -import { Div } from "@components/html"; -import { Inline, Stack } from "@components/layout"; +import { Button } from "@components/button/index.ts"; +import { Counter } from "@components/counter/index.ts"; +import { Div } from "@components/html/index.ts"; +import { Inline, Stack } from "@components/layout/index.ts"; import { IconList, Text } from "@hopper-ui/components"; import { StartOverIcon } from "@hopper-ui/icons"; diff --git a/packages/components/src/button/tests/chromatic/ButtonSecondary.stories.tsx b/packages/components/src/button/tests/chromatic/ButtonSecondary.stories.tsx index 7f1793665..baad66fc4 100644 --- a/packages/components/src/button/tests/chromatic/ButtonSecondary.stories.tsx +++ b/packages/components/src/button/tests/chromatic/ButtonSecondary.stories.tsx @@ -1,10 +1,10 @@ -import { Button } from "@components/button"; -import { Counter } from "@components/counter"; -import { Div } from "@components/html"; -import { IconList } from "@components/icons"; +import { Button } from "@components/button/index.ts"; +import { Counter } from "@components/counter/index.ts"; +import { Div } from "@components/html/index.ts"; +import { IconList } from "@components/icons/index.ts"; import { StartOverIcon } from "@hopper-ui/icons"; -import { Inline, Stack } from "@components/layout"; -import { Text } from "@components/typography"; +import { Inline, Stack } from "@components/layout/index.ts"; +import { Text } from "@components/typography/index.ts"; import { Meta, StoryObj } from "@storybook/react"; diff --git a/packages/components/src/button/tests/chromatic/ButtonSecondaryInherit-hopper.stories.tsx b/packages/components/src/button/tests/chromatic/ButtonSecondaryInherit-hopper.stories.tsx index 4b2866d43..7352f820b 100644 --- a/packages/components/src/button/tests/chromatic/ButtonSecondaryInherit-hopper.stories.tsx +++ b/packages/components/src/button/tests/chromatic/ButtonSecondaryInherit-hopper.stories.tsx @@ -1,7 +1,7 @@ -import { Button } from "@components/button"; -import { Counter } from "@components/counter"; -import { Div } from "@components/html"; -import { Inline, Stack } from "@components/layout"; +import { Button } from "@components/button/index.ts"; +import { Counter } from "@components/counter/index.ts"; +import { Div } from "@components/html/index.ts"; +import { Inline, Stack } from "@components/layout/index.ts"; import { IconList, Text } from "@hopper-ui/components"; import { StartOverIcon } from "@hopper-ui/icons"; diff --git a/packages/components/src/button/tests/chromatic/ButtonSecondaryInherit.stories.tsx b/packages/components/src/button/tests/chromatic/ButtonSecondaryInherit.stories.tsx index dce9ea85b..fb96c3fd5 100644 --- a/packages/components/src/button/tests/chromatic/ButtonSecondaryInherit.stories.tsx +++ b/packages/components/src/button/tests/chromatic/ButtonSecondaryInherit.stories.tsx @@ -1,10 +1,10 @@ -import { Button } from "@components/button"; -import { Counter } from "@components/counter"; -import { Div } from "@components/html"; -import { IconList } from "@components/icons"; +import { Button } from "@components/button/index.ts"; +import { Counter } from "@components/counter/index.ts"; +import { Div } from "@components/html/index.ts"; +import { IconList } from "@components/icons/index.ts"; import { StartOverIcon } from "@hopper-ui/icons"; -import { Inline, Stack } from "@components/layout"; -import { Text } from "@components/typography"; +import { Inline, Stack } from "@components/layout/index.ts"; +import { Text } from "@components/typography/index.ts"; import { Meta, StoryObj } from "@storybook/react"; diff --git a/packages/components/src/button/tests/chromatic/ButtonTertiary-hopper.stories.tsx b/packages/components/src/button/tests/chromatic/ButtonTertiary-hopper.stories.tsx index 6d6132261..1c49c43b1 100644 --- a/packages/components/src/button/tests/chromatic/ButtonTertiary-hopper.stories.tsx +++ b/packages/components/src/button/tests/chromatic/ButtonTertiary-hopper.stories.tsx @@ -1,7 +1,7 @@ -import { Button } from "@components/button"; -import { Counter } from "@components/counter"; -import { Div } from "@components/html"; -import { Inline, Stack } from "@components/layout"; +import { Button } from "@components/button/index.ts"; +import { Counter } from "@components/counter/index.ts"; +import { Div } from "@components/html/index.ts"; +import { Inline, Stack } from "@components/layout/index.ts"; import { IconList, Text } from "@hopper-ui/components"; import { StartOverIcon } from "@hopper-ui/icons"; diff --git a/packages/components/src/button/tests/chromatic/ButtonTertiary.stories.tsx b/packages/components/src/button/tests/chromatic/ButtonTertiary.stories.tsx index 66058e9c3..bd2f837a7 100644 --- a/packages/components/src/button/tests/chromatic/ButtonTertiary.stories.tsx +++ b/packages/components/src/button/tests/chromatic/ButtonTertiary.stories.tsx @@ -1,10 +1,10 @@ -import { Button } from "@components/button"; -import { Counter } from "@components/counter"; -import { Div } from "@components/html"; -import { IconList } from "@components/icons"; +import { Button } from "@components/button/index.ts"; +import { Counter } from "@components/counter/index.ts"; +import { Div } from "@components/html/index.ts"; +import { IconList } from "@components/icons/index.ts"; import { StartOverIcon } from "@hopper-ui/icons"; -import { Inline, Stack } from "@components/layout"; -import { Text } from "@components/typography"; +import { Inline, Stack } from "@components/layout/index.ts"; +import { Text } from "@components/typography/index.ts"; import { Meta, StoryObj } from "@storybook/react"; diff --git a/packages/components/src/button/tests/chromatic/ButtonTertiaryInherit-hopper.stories.tsx b/packages/components/src/button/tests/chromatic/ButtonTertiaryInherit-hopper.stories.tsx index fd53b0d6c..86416c2c4 100644 --- a/packages/components/src/button/tests/chromatic/ButtonTertiaryInherit-hopper.stories.tsx +++ b/packages/components/src/button/tests/chromatic/ButtonTertiaryInherit-hopper.stories.tsx @@ -1,7 +1,7 @@ -import { Button } from "@components/button"; -import { Counter } from "@components/counter"; -import { Div } from "@components/html"; -import { Inline, Stack } from "@components/layout"; +import { Button } from "@components/button/index.ts"; +import { Counter } from "@components/counter/index.ts"; +import { Div } from "@components/html/index.ts"; +import { Inline, Stack } from "@components/layout/index.ts"; import { IconList, Text } from "@hopper-ui/components"; import { StartOverIcon } from "@hopper-ui/icons"; diff --git a/packages/components/src/button/tests/chromatic/ButtonTertiaryInherit.stories.tsx b/packages/components/src/button/tests/chromatic/ButtonTertiaryInherit.stories.tsx index 602b9a591..b0b8c800e 100644 --- a/packages/components/src/button/tests/chromatic/ButtonTertiaryInherit.stories.tsx +++ b/packages/components/src/button/tests/chromatic/ButtonTertiaryInherit.stories.tsx @@ -1,10 +1,10 @@ -import { Button } from "@components/button"; -import { Counter } from "@components/counter"; -import { Div } from "@components/html"; -import { IconList } from "@components/icons"; +import { Button } from "@components/button/index.ts"; +import { Counter } from "@components/counter/index.ts"; +import { Div } from "@components/html/index.ts"; +import { IconList } from "@components/icons/index.ts"; import { StartOverIcon } from "@hopper-ui/icons"; -import { Inline, Stack } from "@components/layout"; -import { Text } from "@components/typography"; +import { Inline, Stack } from "@components/layout/index.ts"; +import { Text } from "@components/typography/index.ts"; import { Meta, StoryObj } from "@storybook/react"; diff --git a/packages/components/src/button/tests/chromatic/ButtonUpsell-hopper.stories.tsx b/packages/components/src/button/tests/chromatic/ButtonUpsell-hopper.stories.tsx index e0f7bc0e2..e534640f4 100644 --- a/packages/components/src/button/tests/chromatic/ButtonUpsell-hopper.stories.tsx +++ b/packages/components/src/button/tests/chromatic/ButtonUpsell-hopper.stories.tsx @@ -1,7 +1,7 @@ -import { Button } from "@components/button"; -import { Counter } from "@components/counter"; -import { Div } from "@components/html"; -import { Inline, Stack } from "@components/layout"; +import { Button } from "@components/button/index.ts"; +import { Counter } from "@components/counter/index.ts"; +import { Div } from "@components/html/index.ts"; +import { Inline, Stack } from "@components/layout/index.ts"; import { IconList, Text } from "@hopper-ui/components"; import { StartOverIcon } from "@hopper-ui/icons"; diff --git a/packages/components/src/button/tests/chromatic/ButtonUpsell.stories.tsx b/packages/components/src/button/tests/chromatic/ButtonUpsell.stories.tsx index 1b05b38e2..da4f2d388 100644 --- a/packages/components/src/button/tests/chromatic/ButtonUpsell.stories.tsx +++ b/packages/components/src/button/tests/chromatic/ButtonUpsell.stories.tsx @@ -1,10 +1,10 @@ -import { Button } from "@components/button"; -import { Counter } from "@components/counter"; -import { Div } from "@components/html"; -import { IconList } from "@components/icons"; +import { Button } from "@components/button/index.ts"; +import { Counter } from "@components/counter/index.ts"; +import { Div } from "@components/html/index.ts"; +import { IconList } from "@components/icons/index.ts"; import { StartOverIcon } from "@hopper-ui/icons"; -import { Inline, Stack } from "@components/layout"; -import { Text } from "@components/typography"; +import { Inline, Stack } from "@components/layout/index.ts"; +import { Text } from "@components/typography/index.ts"; import { Meta, StoryObj } from "@storybook/react"; diff --git a/packages/components/src/button/tests/chromatic/CrossButton-hopper.stories.tsx b/packages/components/src/button/tests/chromatic/CrossButton-hopper.stories.tsx index f4288bf66..682056c5b 100644 --- a/packages/components/src/button/tests/chromatic/CrossButton-hopper.stories.tsx +++ b/packages/components/src/button/tests/chromatic/CrossButton-hopper.stories.tsx @@ -1,5 +1,5 @@ -import { CrossButton } from "@components/button"; -import { Inline } from "@components/layout"; +import { CrossButton } from "@components/button/index.ts"; +import { Inline } from "@components/layout/index.ts"; import { Meta, StoryObj } from "@storybook/react"; const meta = { diff --git a/packages/components/src/button/tests/chromatic/CrossButton.stories.tsx b/packages/components/src/button/tests/chromatic/CrossButton.stories.tsx index 0c2b1a60b..fbe247454 100644 --- a/packages/components/src/button/tests/chromatic/CrossButton.stories.tsx +++ b/packages/components/src/button/tests/chromatic/CrossButton.stories.tsx @@ -1,5 +1,5 @@ -import { CrossButton } from "@components/button"; -import { Inline } from "@components/layout"; +import { CrossButton } from "@components/button/index.ts"; +import { Inline } from "@components/layout/index.ts"; import { Meta, StoryObj } from "@storybook/react"; const meta = { diff --git a/packages/components/src/button/tests/chromatic/IconButton-hopper.stories.tsx b/packages/components/src/button/tests/chromatic/IconButton-hopper.stories.tsx index dd81bfe9b..b94b18efd 100644 --- a/packages/components/src/button/tests/chromatic/IconButton-hopper.stories.tsx +++ b/packages/components/src/button/tests/chromatic/IconButton-hopper.stories.tsx @@ -1,6 +1,6 @@ import { AddIcon } from "@hopper-ui/icons"; -import { IconButton } from "@components/button"; -import { Inline } from "@components/layout"; +import { IconButton } from "@components/button/index.ts"; +import { Inline } from "@components/layout/index.ts"; import { Meta, StoryObj } from "@storybook/react"; const meta = { diff --git a/packages/components/src/button/tests/chromatic/IconButton.stories.tsx b/packages/components/src/button/tests/chromatic/IconButton.stories.tsx index c10088564..efe89ae3c 100644 --- a/packages/components/src/button/tests/chromatic/IconButton.stories.tsx +++ b/packages/components/src/button/tests/chromatic/IconButton.stories.tsx @@ -1,6 +1,6 @@ import { AddIcon } from "@hopper-ui/icons"; -import { IconButton } from "@components/button"; -import { Inline } from "@components/layout"; +import { IconButton } from "@components/button/index.ts"; +import { Inline } from "@components/layout/index.ts"; import { Meta, StoryObj } from "@storybook/react"; const meta = { diff --git a/packages/components/src/button/tests/chromatic/IconButtonAsLink-hopper.stories.tsx b/packages/components/src/button/tests/chromatic/IconButtonAsLink-hopper.stories.tsx index 70fbb4701..9aea8a645 100644 --- a/packages/components/src/button/tests/chromatic/IconButtonAsLink-hopper.stories.tsx +++ b/packages/components/src/button/tests/chromatic/IconButtonAsLink-hopper.stories.tsx @@ -1,6 +1,6 @@ import { AddIcon } from "@hopper-ui/icons"; -import { IconButtonAsLink } from "@components/button"; -import { Inline } from "@components/layout"; +import { IconButtonAsLink } from "@components/button/index.ts"; +import { Inline } from "@components/layout/index.ts"; import { Meta, StoryObj } from "@storybook/react"; const meta = { diff --git a/packages/components/src/button/tests/chromatic/IconButtonAsLink.stories.tsx b/packages/components/src/button/tests/chromatic/IconButtonAsLink.stories.tsx index a7de17314..2c1e2e979 100644 --- a/packages/components/src/button/tests/chromatic/IconButtonAsLink.stories.tsx +++ b/packages/components/src/button/tests/chromatic/IconButtonAsLink.stories.tsx @@ -1,6 +1,6 @@ import { AddIcon } from "@hopper-ui/icons"; -import { IconButtonAsLink } from "@components/button"; -import { Inline } from "@components/layout"; +import { IconButtonAsLink } from "@components/button/index.ts"; +import { Inline } from "@components/layout/index.ts"; import { Meta, StoryObj } from "@storybook/react"; const meta = { diff --git a/packages/components/src/button/tests/chromatic/IconButtonAsLinkNegative-hopper.stories.tsx b/packages/components/src/button/tests/chromatic/IconButtonAsLinkNegative-hopper.stories.tsx index 28dc8b474..8274cd5a3 100644 --- a/packages/components/src/button/tests/chromatic/IconButtonAsLinkNegative-hopper.stories.tsx +++ b/packages/components/src/button/tests/chromatic/IconButtonAsLinkNegative-hopper.stories.tsx @@ -1,7 +1,7 @@ import { AddIcon } from "@hopper-ui/icons"; -import { IconButtonAsLink } from "@components/button"; -import { Inline, Stack } from "@components/layout"; -import { Div } from "@components/html"; +import { IconButtonAsLink } from "@components/button/index.ts"; +import { Inline, Stack } from "@components/layout/index.ts"; +import { Div } from "@components/html/index.ts"; import { Meta, StoryObj } from "@storybook/react"; diff --git a/packages/components/src/button/tests/chromatic/IconButtonAsLinkNegative.stories.tsx b/packages/components/src/button/tests/chromatic/IconButtonAsLinkNegative.stories.tsx index 6f92ca9ef..f4dd0f92c 100644 --- a/packages/components/src/button/tests/chromatic/IconButtonAsLinkNegative.stories.tsx +++ b/packages/components/src/button/tests/chromatic/IconButtonAsLinkNegative.stories.tsx @@ -1,7 +1,7 @@ import { AddIcon } from "@hopper-ui/icons"; -import { IconButtonAsLink } from "@components/button"; -import { Inline, Stack } from "@components/layout"; -import { Div } from "@components/html"; +import { IconButtonAsLink } from "@components/button/index.ts"; +import { Inline, Stack } from "@components/layout/index.ts"; +import { Div } from "@components/html/index.ts"; import { Meta, StoryObj } from "@storybook/react"; diff --git a/packages/components/src/button/tests/chromatic/IconButtonAsLinkPrimary-hopper.stories.tsx b/packages/components/src/button/tests/chromatic/IconButtonAsLinkPrimary-hopper.stories.tsx index db7b3e364..8bf119a2b 100644 --- a/packages/components/src/button/tests/chromatic/IconButtonAsLinkPrimary-hopper.stories.tsx +++ b/packages/components/src/button/tests/chromatic/IconButtonAsLinkPrimary-hopper.stories.tsx @@ -1,7 +1,7 @@ import { AddIcon } from "@hopper-ui/icons"; -import { IconButtonAsLink } from "@components/button"; -import { Inline, Stack } from "@components/layout"; -import { Div } from "@components/html"; +import { IconButtonAsLink } from "@components/button/index.ts"; +import { Inline, Stack } from "@components/layout/index.ts"; +import { Div } from "@components/html/index.ts"; import { Meta, StoryObj } from "@storybook/react"; diff --git a/packages/components/src/button/tests/chromatic/IconButtonAsLinkPrimary.stories.tsx b/packages/components/src/button/tests/chromatic/IconButtonAsLinkPrimary.stories.tsx index 321f88c7a..1b4d27da2 100644 --- a/packages/components/src/button/tests/chromatic/IconButtonAsLinkPrimary.stories.tsx +++ b/packages/components/src/button/tests/chromatic/IconButtonAsLinkPrimary.stories.tsx @@ -1,7 +1,7 @@ import { AddIcon } from "@hopper-ui/icons"; -import { IconButtonAsLink } from "@components/button"; -import { Inline, Stack } from "@components/layout"; -import { Div } from "@components/html"; +import { IconButtonAsLink } from "@components/button/index.ts"; +import { Inline, Stack } from "@components/layout/index.ts"; +import { Div } from "@components/html/index.ts"; import { Meta, StoryObj } from "@storybook/react"; diff --git a/packages/components/src/button/tests/chromatic/IconButtonAsLinkSecondary-hopper.stories.tsx b/packages/components/src/button/tests/chromatic/IconButtonAsLinkSecondary-hopper.stories.tsx index c1ffd3cd6..0647cf19a 100644 --- a/packages/components/src/button/tests/chromatic/IconButtonAsLinkSecondary-hopper.stories.tsx +++ b/packages/components/src/button/tests/chromatic/IconButtonAsLinkSecondary-hopper.stories.tsx @@ -1,7 +1,7 @@ import { AddIcon } from "@hopper-ui/icons"; -import { IconButtonAsLink } from "@components/button"; -import { Inline, Stack } from "@components/layout"; -import { Div } from "@components/html"; +import { IconButtonAsLink } from "@components/button/index.ts"; +import { Inline, Stack } from "@components/layout/index.ts"; +import { Div } from "@components/html/index.ts"; import { Meta, StoryObj } from "@storybook/react"; diff --git a/packages/components/src/button/tests/chromatic/IconButtonAsLinkSecondary.stories.tsx b/packages/components/src/button/tests/chromatic/IconButtonAsLinkSecondary.stories.tsx index 980022ce4..830aa8d6d 100644 --- a/packages/components/src/button/tests/chromatic/IconButtonAsLinkSecondary.stories.tsx +++ b/packages/components/src/button/tests/chromatic/IconButtonAsLinkSecondary.stories.tsx @@ -1,7 +1,7 @@ import { AddIcon } from "@hopper-ui/icons"; -import { IconButtonAsLink } from "@components/button"; -import { Inline, Stack } from "@components/layout"; -import { Div } from "@components/html"; +import { IconButtonAsLink } from "@components/button/index.ts"; +import { Inline, Stack } from "@components/layout/index.ts"; +import { Div } from "@components/html/index.ts"; import { Meta, StoryObj } from "@storybook/react"; diff --git a/packages/components/src/button/tests/chromatic/IconButtonAsLinkTertiary-hopper.stories.tsx b/packages/components/src/button/tests/chromatic/IconButtonAsLinkTertiary-hopper.stories.tsx index 3762d3c30..57f06c97b 100644 --- a/packages/components/src/button/tests/chromatic/IconButtonAsLinkTertiary-hopper.stories.tsx +++ b/packages/components/src/button/tests/chromatic/IconButtonAsLinkTertiary-hopper.stories.tsx @@ -1,7 +1,7 @@ import { AddIcon } from "@hopper-ui/icons"; -import { IconButtonAsLink } from "@components/button"; -import { Inline, Stack } from "@components/layout"; -import { Div } from "@components/html"; +import { IconButtonAsLink } from "@components/button/index.ts"; +import { Inline, Stack } from "@components/layout/index.ts"; +import { Div } from "@components/html/index.ts"; import { Meta, StoryObj } from "@storybook/react"; diff --git a/packages/components/src/button/tests/chromatic/IconButtonAsLinkTertiary.stories.tsx b/packages/components/src/button/tests/chromatic/IconButtonAsLinkTertiary.stories.tsx index ac6191ef8..e42f61545 100644 --- a/packages/components/src/button/tests/chromatic/IconButtonAsLinkTertiary.stories.tsx +++ b/packages/components/src/button/tests/chromatic/IconButtonAsLinkTertiary.stories.tsx @@ -1,7 +1,7 @@ import { AddIcon } from "@hopper-ui/icons"; -import { IconButtonAsLink } from "@components/button"; -import { Inline, Stack } from "@components/layout"; -import { Div } from "@components/html"; +import { IconButtonAsLink } from "@components/button/index.ts"; +import { Inline, Stack } from "@components/layout/index.ts"; +import { Div } from "@components/html/index.ts"; import { Meta, StoryObj } from "@storybook/react"; diff --git a/packages/components/src/button/tests/chromatic/IconButtonAsLinkUpsell-hopper.stories.tsx b/packages/components/src/button/tests/chromatic/IconButtonAsLinkUpsell-hopper.stories.tsx index aa003a5cb..0a78cd581 100644 --- a/packages/components/src/button/tests/chromatic/IconButtonAsLinkUpsell-hopper.stories.tsx +++ b/packages/components/src/button/tests/chromatic/IconButtonAsLinkUpsell-hopper.stories.tsx @@ -1,7 +1,7 @@ import { AddIcon } from "@hopper-ui/icons"; -import { IconButtonAsLink } from "@components/button"; -import { Inline, Stack } from "@components/layout"; -import { Div } from "@components/html"; +import { IconButtonAsLink } from "@components/button/index.ts"; +import { Inline, Stack } from "@components/layout/index.ts"; +import { Div } from "@components/html/index.ts"; import { Meta, StoryObj } from "@storybook/react"; diff --git a/packages/components/src/button/tests/chromatic/IconButtonAsLinkUpsell.stories.tsx b/packages/components/src/button/tests/chromatic/IconButtonAsLinkUpsell.stories.tsx index 19770726b..00da1ec2c 100644 --- a/packages/components/src/button/tests/chromatic/IconButtonAsLinkUpsell.stories.tsx +++ b/packages/components/src/button/tests/chromatic/IconButtonAsLinkUpsell.stories.tsx @@ -1,7 +1,7 @@ import { AddIcon } from "@hopper-ui/icons"; -import { IconButtonAsLink } from "@components/button"; -import { Inline, Stack } from "@components/layout"; -import { Div } from "@components/html"; +import { IconButtonAsLink } from "@components/button/index.ts"; +import { Inline, Stack } from "@components/layout/index.ts"; +import { Div } from "@components/html/index.ts"; import { Meta, StoryObj } from "@storybook/react"; diff --git a/packages/components/src/button/tests/chromatic/IconButtonNegative-hopper.stories.tsx b/packages/components/src/button/tests/chromatic/IconButtonNegative-hopper.stories.tsx index 3722ed9ef..79af7f4b8 100644 --- a/packages/components/src/button/tests/chromatic/IconButtonNegative-hopper.stories.tsx +++ b/packages/components/src/button/tests/chromatic/IconButtonNegative-hopper.stories.tsx @@ -1,7 +1,7 @@ import { AddIcon } from "@hopper-ui/icons"; -import { IconButton } from "@components/button"; -import { Inline, Stack } from "@components/layout"; -import { Div } from "@components/html"; +import { IconButton } from "@components/button/index.ts"; +import { Inline, Stack } from "@components/layout/index.ts"; +import { Div } from "@components/html/index.ts"; import { Meta, StoryObj } from "@storybook/react"; diff --git a/packages/components/src/button/tests/chromatic/IconButtonNegative.stories.tsx b/packages/components/src/button/tests/chromatic/IconButtonNegative.stories.tsx index ccffc6972..ad22cc9d4 100644 --- a/packages/components/src/button/tests/chromatic/IconButtonNegative.stories.tsx +++ b/packages/components/src/button/tests/chromatic/IconButtonNegative.stories.tsx @@ -1,7 +1,7 @@ import { AddIcon } from "@hopper-ui/icons"; -import { IconButton } from "@components/button"; -import { Inline, Stack } from "@components/layout"; -import { Div } from "@components/html"; +import { IconButton } from "@components/button/index.ts"; +import { Inline, Stack } from "@components/layout/index.ts"; +import { Div } from "@components/html/index.ts"; import { Meta, StoryObj } from "@storybook/react"; diff --git a/packages/components/src/button/tests/chromatic/IconButtonPrimary-hopper.stories.tsx b/packages/components/src/button/tests/chromatic/IconButtonPrimary-hopper.stories.tsx index 486110868..890967f28 100644 --- a/packages/components/src/button/tests/chromatic/IconButtonPrimary-hopper.stories.tsx +++ b/packages/components/src/button/tests/chromatic/IconButtonPrimary-hopper.stories.tsx @@ -1,7 +1,7 @@ import { AddIcon } from "@hopper-ui/icons"; -import { IconButton } from "@components/button"; -import { Inline, Stack } from "@components/layout"; -import { Div } from "@components/html"; +import { IconButton } from "@components/button/index.ts"; +import { Inline, Stack } from "@components/layout/index.ts"; +import { Div } from "@components/html/index.ts"; import { Meta, StoryObj } from "@storybook/react"; diff --git a/packages/components/src/button/tests/chromatic/IconButtonPrimary.stories.tsx b/packages/components/src/button/tests/chromatic/IconButtonPrimary.stories.tsx index fa5497011..9e1d832f2 100644 --- a/packages/components/src/button/tests/chromatic/IconButtonPrimary.stories.tsx +++ b/packages/components/src/button/tests/chromatic/IconButtonPrimary.stories.tsx @@ -1,7 +1,7 @@ import { AddIcon } from "@hopper-ui/icons"; -import { IconButton } from "@components/button"; -import { Inline, Stack } from "@components/layout"; -import { Div } from "@components/html"; +import { IconButton } from "@components/button/index.ts"; +import { Inline, Stack } from "@components/layout/index.ts"; +import { Div } from "@components/html/index.ts"; import { Meta, StoryObj } from "@storybook/react"; diff --git a/packages/components/src/button/tests/chromatic/IconButtonSecondary-hopper.stories.tsx b/packages/components/src/button/tests/chromatic/IconButtonSecondary-hopper.stories.tsx index 94d7fbf50..06aee19b8 100644 --- a/packages/components/src/button/tests/chromatic/IconButtonSecondary-hopper.stories.tsx +++ b/packages/components/src/button/tests/chromatic/IconButtonSecondary-hopper.stories.tsx @@ -1,7 +1,7 @@ import { AddIcon } from "@hopper-ui/icons"; -import { IconButton } from "@components/button"; -import { Inline, Stack } from "@components/layout"; -import { Div } from "@components/html"; +import { IconButton } from "@components/button/index.ts"; +import { Inline, Stack } from "@components/layout/index.ts"; +import { Div } from "@components/html/index.ts"; import { Meta, StoryObj } from "@storybook/react"; diff --git a/packages/components/src/button/tests/chromatic/IconButtonSecondary.stories.tsx b/packages/components/src/button/tests/chromatic/IconButtonSecondary.stories.tsx index 5b864e642..e4966e299 100644 --- a/packages/components/src/button/tests/chromatic/IconButtonSecondary.stories.tsx +++ b/packages/components/src/button/tests/chromatic/IconButtonSecondary.stories.tsx @@ -1,7 +1,7 @@ import { AddIcon } from "@hopper-ui/icons"; -import { IconButton } from "@components/button"; -import { Inline, Stack } from "@components/layout"; -import { Div } from "@components/html"; +import { IconButton } from "@components/button/index.ts"; +import { Inline, Stack } from "@components/layout/index.ts"; +import { Div } from "@components/html/index.ts"; import { Meta, StoryObj } from "@storybook/react"; diff --git a/packages/components/src/button/tests/chromatic/IconButtonTertiary-hopper.stories.tsx b/packages/components/src/button/tests/chromatic/IconButtonTertiary-hopper.stories.tsx index 7194a5b7e..04652ba7b 100644 --- a/packages/components/src/button/tests/chromatic/IconButtonTertiary-hopper.stories.tsx +++ b/packages/components/src/button/tests/chromatic/IconButtonTertiary-hopper.stories.tsx @@ -1,7 +1,7 @@ import { AddIcon } from "@hopper-ui/icons"; -import { IconButton } from "@components/button"; -import { Inline, Stack } from "@components/layout"; -import { Div } from "@components/html"; +import { IconButton } from "@components/button/index.ts"; +import { Inline, Stack } from "@components/layout/index.ts"; +import { Div } from "@components/html/index.ts"; import { Meta, StoryObj } from "@storybook/react"; diff --git a/packages/components/src/button/tests/chromatic/IconButtonTertiary.stories.tsx b/packages/components/src/button/tests/chromatic/IconButtonTertiary.stories.tsx index 617898502..ed6a68d0a 100644 --- a/packages/components/src/button/tests/chromatic/IconButtonTertiary.stories.tsx +++ b/packages/components/src/button/tests/chromatic/IconButtonTertiary.stories.tsx @@ -1,7 +1,7 @@ import { AddIcon } from "@hopper-ui/icons"; -import { IconButton } from "@components/button"; -import { Inline, Stack } from "@components/layout"; -import { Div } from "@components/html"; +import { IconButton } from "@components/button/index.ts"; +import { Inline, Stack } from "@components/layout/index.ts"; +import { Div } from "@components/html/index.ts"; import { Meta, StoryObj } from "@storybook/react"; diff --git a/packages/components/src/button/tests/chromatic/IconButtonUpsell-hopper.stories.tsx b/packages/components/src/button/tests/chromatic/IconButtonUpsell-hopper.stories.tsx index 72c35cd21..354e106c6 100644 --- a/packages/components/src/button/tests/chromatic/IconButtonUpsell-hopper.stories.tsx +++ b/packages/components/src/button/tests/chromatic/IconButtonUpsell-hopper.stories.tsx @@ -1,7 +1,7 @@ import { AddIcon } from "@hopper-ui/icons"; -import { IconButton } from "@components/button"; -import { Inline, Stack } from "@components/layout"; -import { Div } from "@components/html"; +import { IconButton } from "@components/button/index.ts"; +import { Inline, Stack } from "@components/layout/index.ts"; +import { Div } from "@components/html/index.ts"; import { Meta, StoryObj } from "@storybook/react"; diff --git a/packages/components/src/button/tests/chromatic/IconButtonUpsell.stories.tsx b/packages/components/src/button/tests/chromatic/IconButtonUpsell.stories.tsx index 90f6de9ac..d9f158614 100644 --- a/packages/components/src/button/tests/chromatic/IconButtonUpsell.stories.tsx +++ b/packages/components/src/button/tests/chromatic/IconButtonUpsell.stories.tsx @@ -1,7 +1,7 @@ import { AddIcon } from "@hopper-ui/icons"; -import { IconButton } from "@components/button"; -import { Inline, Stack } from "@components/layout"; -import { Div } from "@components/html"; +import { IconButton } from "@components/button/index.ts"; +import { Inline, Stack } from "@components/layout/index.ts"; +import { Div } from "@components/html/index.ts"; import { Meta, StoryObj } from "@storybook/react"; diff --git a/packages/components/src/button/tests/chromatic/ToggleButton-hopper.stories.tsx b/packages/components/src/button/tests/chromatic/ToggleButton-hopper.stories.tsx index 59ade569f..07632e76f 100644 --- a/packages/components/src/button/tests/chromatic/ToggleButton-hopper.stories.tsx +++ b/packages/components/src/button/tests/chromatic/ToggleButton-hopper.stories.tsx @@ -1,5 +1,5 @@ -import { Inline } from "@components/layout"; -import { ToggleButton } from "@components/button"; +import { Inline } from "@components/layout/index.ts"; +import { ToggleButton } from "@components/button/index.ts"; import { Meta, StoryObj } from "@storybook/react"; const meta = { diff --git a/packages/components/src/button/tests/chromatic/ToggleButton.stories.tsx b/packages/components/src/button/tests/chromatic/ToggleButton.stories.tsx index 2aa1fdf8f..18398014e 100644 --- a/packages/components/src/button/tests/chromatic/ToggleButton.stories.tsx +++ b/packages/components/src/button/tests/chromatic/ToggleButton.stories.tsx @@ -1,5 +1,5 @@ -import { Inline } from "@components/layout"; -import { ToggleButton } from "@components/button"; +import { Inline } from "@components/layout/index.ts"; +import { ToggleButton } from "@components/button/index.ts"; import { Meta, StoryObj } from "@storybook/react"; const meta = { diff --git a/packages/components/src/button/tests/chromatic/ToggleButtonPrimary-hopper.stories.tsx b/packages/components/src/button/tests/chromatic/ToggleButtonPrimary-hopper.stories.tsx index 1be9da9c2..fedf41176 100644 --- a/packages/components/src/button/tests/chromatic/ToggleButtonPrimary-hopper.stories.tsx +++ b/packages/components/src/button/tests/chromatic/ToggleButtonPrimary-hopper.stories.tsx @@ -1,10 +1,10 @@ -import { Inline, Stack } from "@components/layout"; -import { ToggleButton } from "@components/button"; -import { Div } from "@components/html"; +import { Inline, Stack } from "@components/layout/index.ts"; +import { ToggleButton } from "@components/button/index.ts"; +import { Div } from "@components/html/index.ts"; import { LightbulbIcon } from "@hopper-ui/icons"; import { Meta, StoryObj } from "@storybook/react"; -import { Text } from "@components/typography"; +import { Text } from "@components/typography/index.ts"; const meta = { title: "Chromatic/ToggleButton-hopper/primary", diff --git a/packages/components/src/button/tests/chromatic/ToggleButtonPrimary.stories.tsx b/packages/components/src/button/tests/chromatic/ToggleButtonPrimary.stories.tsx index aeb4c060f..91d205d52 100644 --- a/packages/components/src/button/tests/chromatic/ToggleButtonPrimary.stories.tsx +++ b/packages/components/src/button/tests/chromatic/ToggleButtonPrimary.stories.tsx @@ -1,9 +1,9 @@ -import { Inline, Stack } from "@components/layout"; -import { ToggleButton } from "@components/button"; +import { Inline, Stack } from "@components/layout/index.ts"; +import { ToggleButton } from "@components/button/index.ts"; import { LightbulbIcon } from "@hopper-ui/icons"; -import { Div } from "@components/html"; +import { Div } from "@components/html/index.ts"; import { Meta, StoryObj } from "@storybook/react"; -import { Text } from "@components/typography"; +import { Text } from "@components/typography/index.ts"; const meta = { title: "Chromatic/ToggleButton/primary", diff --git a/packages/components/src/button/tests/chromatic/ToggleButtonSecondary-hopper.stories.tsx b/packages/components/src/button/tests/chromatic/ToggleButtonSecondary-hopper.stories.tsx index 11202b48d..7e313c15f 100644 --- a/packages/components/src/button/tests/chromatic/ToggleButtonSecondary-hopper.stories.tsx +++ b/packages/components/src/button/tests/chromatic/ToggleButtonSecondary-hopper.stories.tsx @@ -1,10 +1,10 @@ -import { Inline, Stack } from "@components/layout"; -import { ToggleButton } from "@components/button"; +import { Inline, Stack } from "@components/layout/index.ts"; +import { ToggleButton } from "@components/button/index.ts"; import { LightbulbIcon } from "@hopper-ui/icons"; -import { Div } from "@components/html"; +import { Div } from "@components/html/index.ts"; import { Meta, StoryObj } from "@storybook/react"; -import { Text } from "@components/typography"; +import { Text } from "@components/typography/index.ts"; const meta = { title: "Chromatic/ToggleButton-hopper/secondary", diff --git a/packages/components/src/button/tests/chromatic/ToggleButtonSecondary.stories.tsx b/packages/components/src/button/tests/chromatic/ToggleButtonSecondary.stories.tsx index e1d2f2bb9..8dadb2956 100644 --- a/packages/components/src/button/tests/chromatic/ToggleButtonSecondary.stories.tsx +++ b/packages/components/src/button/tests/chromatic/ToggleButtonSecondary.stories.tsx @@ -1,10 +1,10 @@ -import { Inline, Stack } from "@components/layout"; -import { ToggleButton } from "@components/button"; +import { Inline, Stack } from "@components/layout/index.ts"; +import { ToggleButton } from "@components/button/index.ts"; import { LightbulbIcon } from "@hopper-ui/icons"; -import { Div } from "@components/html"; +import { Div } from "@components/html/index.ts"; import { Meta, StoryObj } from "@storybook/react"; -import { Text } from "@components/typography"; +import { Text } from "@components/typography/index.ts"; const meta = { title: "Chromatic/ToggleButton/secondary", diff --git a/packages/components/src/button/tests/chromatic/ToggleIconButton-hopper.stories.tsx b/packages/components/src/button/tests/chromatic/ToggleIconButton-hopper.stories.tsx index 65e87e1cd..12f0d9890 100644 --- a/packages/components/src/button/tests/chromatic/ToggleIconButton-hopper.stories.tsx +++ b/packages/components/src/button/tests/chromatic/ToggleIconButton-hopper.stories.tsx @@ -1,6 +1,6 @@ import { CheckmarkIcon } from "@hopper-ui/icons"; -import { Inline } from "@components/layout"; -import { ToggleIconButton } from "@components/button"; +import { Inline } from "@components/layout/index.ts"; +import { ToggleIconButton } from "@components/button/index.ts"; import { Meta, StoryObj } from "@storybook/react"; diff --git a/packages/components/src/button/tests/chromatic/ToggleIconButton.stories.tsx b/packages/components/src/button/tests/chromatic/ToggleIconButton.stories.tsx index b88e9066b..287932d06 100644 --- a/packages/components/src/button/tests/chromatic/ToggleIconButton.stories.tsx +++ b/packages/components/src/button/tests/chromatic/ToggleIconButton.stories.tsx @@ -1,6 +1,6 @@ import { CheckmarkIcon } from "@hopper-ui/icons"; -import { Inline } from "@components/layout"; -import { ToggleIconButton } from "@components/button"; +import { Inline } from "@components/layout/index.ts"; +import { ToggleIconButton } from "@components/button/index.ts"; import { Meta, StoryObj } from "@storybook/react"; diff --git a/packages/components/src/button/tests/chromatic/ToggleIconButtonPrimary-hopper.stories.tsx b/packages/components/src/button/tests/chromatic/ToggleIconButtonPrimary-hopper.stories.tsx index 1b559e427..08b71db6e 100644 --- a/packages/components/src/button/tests/chromatic/ToggleIconButtonPrimary-hopper.stories.tsx +++ b/packages/components/src/button/tests/chromatic/ToggleIconButtonPrimary-hopper.stories.tsx @@ -1,7 +1,7 @@ import { CheckmarkIcon } from "@hopper-ui/icons"; -import { Inline, Stack } from "@components/layout"; -import { ToggleIconButton } from "@components/button"; -import { Div } from "@components/html"; +import { Inline, Stack } from "@components/layout/index.ts"; +import { ToggleIconButton } from "@components/button/index.ts"; +import { Div } from "@components/html/index.ts"; import { Meta, StoryObj } from "@storybook/react"; diff --git a/packages/components/src/button/tests/chromatic/ToggleIconButtonPrimary.stories.tsx b/packages/components/src/button/tests/chromatic/ToggleIconButtonPrimary.stories.tsx index ae3f8f7fd..bf9e4686c 100644 --- a/packages/components/src/button/tests/chromatic/ToggleIconButtonPrimary.stories.tsx +++ b/packages/components/src/button/tests/chromatic/ToggleIconButtonPrimary.stories.tsx @@ -1,7 +1,7 @@ import { CheckmarkIcon } from "@hopper-ui/icons"; -import { Inline, Stack } from "@components/layout"; -import { ToggleIconButton } from "@components/button"; -import { Div } from "@components/html"; +import { Inline, Stack } from "@components/layout/index.ts"; +import { ToggleIconButton } from "@components/button/index.ts"; +import { Div } from "@components/html/index.ts"; import { Meta, StoryObj } from "@storybook/react"; diff --git a/packages/components/src/button/tests/chromatic/ToggleIconButtonSecondary-hopper.stories.tsx b/packages/components/src/button/tests/chromatic/ToggleIconButtonSecondary-hopper.stories.tsx index ceb0cff45..329cc4728 100644 --- a/packages/components/src/button/tests/chromatic/ToggleIconButtonSecondary-hopper.stories.tsx +++ b/packages/components/src/button/tests/chromatic/ToggleIconButtonSecondary-hopper.stories.tsx @@ -1,7 +1,7 @@ import { CheckmarkIcon } from "@hopper-ui/icons"; -import { Inline, Stack } from "@components/layout"; -import { ToggleIconButton } from "@components/button"; -import { Div } from "@components/html"; +import { Inline, Stack } from "@components/layout/index.ts"; +import { ToggleIconButton } from "@components/button/index.ts"; +import { Div } from "@components/html/index.ts"; import { Meta, StoryObj } from "@storybook/react"; diff --git a/packages/components/src/button/tests/chromatic/ToggleIconButtonSecondary.stories.tsx b/packages/components/src/button/tests/chromatic/ToggleIconButtonSecondary.stories.tsx index a99e31c9e..2748239ce 100644 --- a/packages/components/src/button/tests/chromatic/ToggleIconButtonSecondary.stories.tsx +++ b/packages/components/src/button/tests/chromatic/ToggleIconButtonSecondary.stories.tsx @@ -1,7 +1,7 @@ import { CheckmarkIcon } from "@hopper-ui/icons"; -import { Inline, Stack } from "@components/layout"; -import { ToggleIconButton } from "@components/button"; -import { Div } from "@components/html"; +import { Inline, Stack } from "@components/layout/index.ts"; +import { ToggleIconButton } from "@components/button/index.ts"; +import { Div } from "@components/html/index.ts"; import { Meta, StoryObj } from "@storybook/react"; diff --git a/packages/components/src/button/tests/jest/Button.ssr.test.tsx b/packages/components/src/button/tests/jest/Button.ssr.test.tsx index 0ee8fa561..3b95bf766 100644 --- a/packages/components/src/button/tests/jest/Button.ssr.test.tsx +++ b/packages/components/src/button/tests/jest/Button.ssr.test.tsx @@ -1,7 +1,7 @@ /** * @jest-environment node */ -import { Button } from "@components/button"; +import { Button } from "@components/button/index.ts"; import { renderToString } from "react-dom/server"; import { throwOnConsoleLogs } from "@test-utils"; diff --git a/packages/components/src/button/tests/jest/Button.test.tsx b/packages/components/src/button/tests/jest/Button.test.tsx index 6851bce62..7bd2118a3 100644 --- a/packages/components/src/button/tests/jest/Button.test.tsx +++ b/packages/components/src/button/tests/jest/Button.test.tsx @@ -1,5 +1,5 @@ import { act, screen, waitFor, renderWithTheme } from "@test-utils"; -import { Button } from "@components/button"; +import { Button } from "@components/button/index.ts"; import { createRef } from "react"; import userEvent from "@testing-library/user-event"; diff --git a/packages/components/src/button/tests/jest/ButtonGroup.test.tsx b/packages/components/src/button/tests/jest/ButtonGroup.test.tsx index 426feaa60..a8692305f 100644 --- a/packages/components/src/button/tests/jest/ButtonGroup.test.tsx +++ b/packages/components/src/button/tests/jest/ButtonGroup.test.tsx @@ -1,4 +1,4 @@ -import { Button, ButtonGroup, ButtonGroupProps } from "@components/button"; +import { Button, ButtonGroup, ButtonGroupProps } from "@components/button/index.ts"; import { createRef, forwardRef } from "react"; import { renderWithTheme, waitFor } from "@test-utils"; diff --git a/packages/components/src/button/tests/jest/CrossButton.test.tsx b/packages/components/src/button/tests/jest/CrossButton.test.tsx index 1a0622d84..cf9cbc763 100644 --- a/packages/components/src/button/tests/jest/CrossButton.test.tsx +++ b/packages/components/src/button/tests/jest/CrossButton.test.tsx @@ -1,4 +1,4 @@ -import { CrossButton } from "@components/button"; +import { CrossButton } from "@components/button/index.ts"; import { act, waitFor, renderWithTheme } from "@test-utils"; import { createRef } from "react"; diff --git a/packages/components/src/button/tests/jest/IconButton.test.tsx b/packages/components/src/button/tests/jest/IconButton.test.tsx index 538fdb6c4..b3fd9e6e3 100644 --- a/packages/components/src/button/tests/jest/IconButton.test.tsx +++ b/packages/components/src/button/tests/jest/IconButton.test.tsx @@ -1,6 +1,6 @@ import { act, screen, waitFor, renderWithTheme } from "@test-utils"; import { AddIcon } from "@hopper-ui/icons"; -import { IconButton } from "@components/button"; +import { IconButton } from "@components/button/index.ts"; import { createRef } from "react"; import userEvent from "@testing-library/user-event"; diff --git a/packages/components/src/button/tests/jest/ToggleButton.test.tsx b/packages/components/src/button/tests/jest/ToggleButton.test.tsx index 33323c724..c6e7383cc 100644 --- a/packages/components/src/button/tests/jest/ToggleButton.test.tsx +++ b/packages/components/src/button/tests/jest/ToggleButton.test.tsx @@ -1,5 +1,5 @@ import { screen, waitFor, renderWithTheme } from "@test-utils"; -import { ToggleButton } from "@components/button"; +import { ToggleButton } from "@components/button/index.ts"; import { createRef } from "react"; import userEvent from "@testing-library/user-event"; diff --git a/packages/components/src/button/tests/jest/ToggleIconButton.test.tsx b/packages/components/src/button/tests/jest/ToggleIconButton.test.tsx index 567582fce..38d83783a 100644 --- a/packages/components/src/button/tests/jest/ToggleIconButton.test.tsx +++ b/packages/components/src/button/tests/jest/ToggleIconButton.test.tsx @@ -1,5 +1,5 @@ import { AddIcon } from "@hopper-ui/icons"; -import { ToggleIconButton } from "@components/button"; +import { ToggleIconButton } from "@components/button/index.ts"; import { screen, waitFor, renderWithTheme } from "@test-utils"; import { createRef } from "react"; import userEvent from "@testing-library/user-event"; diff --git a/packages/components/src/card/docs/Card.mdx b/packages/components/src/card/docs/Card.mdx index b5f83ac78..3a62a0ae2 100644 --- a/packages/components/src/card/docs/Card.mdx +++ b/packages/components/src/card/docs/Card.mdx @@ -1,8 +1,8 @@ import { ArgTypes, Canvas, Meta } from "@storybook/addon-docs"; -import { InnerCard } from "@components/card"; +import { InnerCard } from "@components/card/index.ts"; import { ComponentInfo, Tagline } from "@stories/components"; -import { InnerContent, InnerHeader } from "@components/placeholders"; -import { InnerHeading } from "@components/typography"; +import { InnerContent, InnerHeader } from "@components/placeholders/index.ts"; +import { InnerHeading } from "@components/typography/index.ts"; import * as CardStories from "./Card.stories.tsx"; <Meta of={CardStories} /> diff --git a/packages/components/src/card/docs/Card.stories.tsx b/packages/components/src/card/docs/Card.stories.tsx index efcdbea1b..f7c249dde 100644 --- a/packages/components/src/card/docs/Card.stories.tsx +++ b/packages/components/src/card/docs/Card.stories.tsx @@ -1,13 +1,13 @@ -import { Button, ButtonGroup } from "@components/button"; -import { Card } from "@components/card"; -import { Content, Header } from "@components/placeholders"; -import { Heading, Paragraph } from "@components/typography"; -import { Illustration } from "@components/illustration"; -import { Image } from "@components/image"; -import { Inline, Stack } from "@components/layout"; -import { Item } from "@components/collection"; +import { Button, ButtonGroup } from "@components/button/index.ts"; +import { Card } from "@components/card/index.ts"; +import { Content, Header } from "@components/placeholders/index.ts"; +import { Heading, Paragraph } from "@components/typography/index.ts"; +import { Illustration } from "@components/illustration/index.ts"; +import { Image } from "@components/image/index.ts"; +import { Inline, Stack } from "@components/layout/index.ts"; +import { Item } from "@components/collection/index.ts"; import { Planet, SpaceLandscape } from "./assets"; -import { Tabs } from "@components/tabs"; +import { Tabs } from "@components/tabs/index.ts"; import { Meta, StoryObj } from "@storybook/react"; const meta = { diff --git a/packages/components/src/card/src/Card.tsx b/packages/components/src/card/src/Card.tsx index d8525c55d..b137bbd20 100644 --- a/packages/components/src/card/src/Card.tsx +++ b/packages/components/src/card/src/Card.tsx @@ -1,8 +1,8 @@ -import { Box } from "../../box"; +import { Box } from "../../box/index.ts" import { ComponentProps, ReactNode, cloneElement, forwardRef, useMemo } from "react"; -import { InternalProps, OmitInternalProps, SlotProps, StyledComponentProps, cssModule, isNil, isString, mergeProps, normalizeSize, slot, useSlots } from "../../shared"; -import { ResponsiveProp, useResponsiveValue } from "../../styling"; -import { Text } from "../../typography"; +import { InternalProps, OmitInternalProps, SlotProps, StyledComponentProps, cssModule, isNil, isString, mergeProps, normalizeSize, slot, useSlots } from "../../shared/index.ts" +import { ResponsiveProp, useResponsiveValue } from "../../styling/index.ts" +import { Text } from "../../typography/index.ts" const DefaultElement = "section"; diff --git a/packages/components/src/card/tests/chromatic/Card-hopper.stories.tsx b/packages/components/src/card/tests/chromatic/Card-hopper.stories.tsx index 241f03673..3f9bc7fc4 100644 --- a/packages/components/src/card/tests/chromatic/Card-hopper.stories.tsx +++ b/packages/components/src/card/tests/chromatic/Card-hopper.stories.tsx @@ -1,11 +1,11 @@ import { ApolloBanner, ApolloPoster } from "./assets"; -import { Box } from "@components/box"; -import { Card } from "@components/card"; -import { Div } from "@components/html"; -import { Inline, Stack } from "@components/layout"; -import { Content } from "@components/placeholders"; +import { Box } from "@components/box/index.ts"; +import { Card } from "@components/card/index.ts"; +import { Div } from "@components/html/index.ts"; +import { Inline, Stack } from "@components/layout/index.ts"; +import { Content } from "@components/placeholders/index.ts"; import { Flex, Heading } from "@hopper-ui/components"; -import { Image } from "@components/image"; +import { Image } from "@components/image/index.ts"; import { Meta, StoryObj } from "@storybook/react"; diff --git a/packages/components/src/card/tests/chromatic/Card.stories.tsx b/packages/components/src/card/tests/chromatic/Card.stories.tsx index da13a7f74..16d1659b1 100644 --- a/packages/components/src/card/tests/chromatic/Card.stories.tsx +++ b/packages/components/src/card/tests/chromatic/Card.stories.tsx @@ -1,11 +1,11 @@ import { ApolloBanner, ApolloPoster } from "./assets"; -import { Box } from "@components/box"; -import { Card } from "@components/card"; -import { Content } from "@components/placeholders"; -import { Div } from "@components/html"; -import { Flex, Inline, Stack } from "@components/layout"; -import { Heading } from "@components/typography"; -import { Image } from "@components/image"; +import { Box } from "@components/box/index.ts"; +import { Card } from "@components/card/index.ts"; +import { Content } from "@components/placeholders/index.ts"; +import { Div } from "@components/html/index.ts"; +import { Flex, Inline, Stack } from "@components/layout/index.ts"; +import { Heading } from "@components/typography/index.ts"; +import { Image } from "@components/image/index.ts"; import { Meta, StoryObj } from "@storybook/react"; diff --git a/packages/components/src/card/tests/chromatic/CardHorizontal-hopper.stories.tsx b/packages/components/src/card/tests/chromatic/CardHorizontal-hopper.stories.tsx index b0cb7dc8f..9aab6cd12 100644 --- a/packages/components/src/card/tests/chromatic/CardHorizontal-hopper.stories.tsx +++ b/packages/components/src/card/tests/chromatic/CardHorizontal-hopper.stories.tsx @@ -1,14 +1,14 @@ -import { Card } from "@components/card"; -import { Content, Header } from "@components/placeholders"; -import { Div, LI, UL } from "@components/html"; -import { Paragraph } from "@components/typography"; -import { Illustration } from "@components/illustration"; -import { Image } from "@components/image"; -import { Inline, Stack } from "@components/layout"; +import { Card } from "@components/card/index.ts"; +import { Content, Header } from "@components/placeholders/index.ts"; +import { Div, LI, UL } from "@components/html/index.ts"; +import { Paragraph } from "@components/typography/index.ts"; +import { Illustration } from "@components/illustration/index.ts"; +import { Image } from "@components/image/index.ts"; +import { Inline, Stack } from "@components/layout/index.ts"; import { Heading, Button, ButtonGroup, Switch, Link } from "@hopper-ui/components"; -import { Item } from "@components/collection"; +import { Item } from "@components/collection/index.ts"; import { Nasa } from "./assets"; -import { Tabs } from "@components/tabs"; +import { Tabs } from "@components/tabs/index.ts"; import { Meta, StoryObj } from "@storybook/react"; const meta = { diff --git a/packages/components/src/card/tests/chromatic/CardHorizontal.stories.tsx b/packages/components/src/card/tests/chromatic/CardHorizontal.stories.tsx index c9fe24c16..f9ea795ce 100644 --- a/packages/components/src/card/tests/chromatic/CardHorizontal.stories.tsx +++ b/packages/components/src/card/tests/chromatic/CardHorizontal.stories.tsx @@ -1,16 +1,16 @@ -import { Button, ButtonGroup } from "@components/button"; -import { Card } from "@components/card"; -import { Content, Header } from "@components/placeholders"; -import { Div, LI, UL } from "@components/html"; -import { Heading, Paragraph } from "@components/typography"; -import { Illustration } from "@components/illustration"; -import { Image } from "@components/image"; -import { Inline, Stack } from "@components/layout"; -import { Item } from "@components/collection"; +import { Button, ButtonGroup } from "@components/button/index.ts"; +import { Card } from "@components/card/index.ts"; +import { Content, Header } from "@components/placeholders/index.ts"; +import { Div, LI, UL } from "@components/html/index.ts"; +import { Heading, Paragraph } from "@components/typography/index.ts"; +import { Illustration } from "@components/illustration/index.ts"; +import { Image } from "@components/image/index.ts"; +import { Inline, Stack } from "@components/layout/index.ts"; +import { Item } from "@components/collection/index.ts"; import { Nasa } from "./assets"; -import { Switch } from "@components/switch"; -import { Tabs } from "@components/tabs"; -import { TextLink } from "@components/link"; +import { Switch } from "@components/switch/index.ts"; +import { Tabs } from "@components/tabs/index.ts"; +import { TextLink } from "@components/link/index.ts"; import { Meta, StoryObj } from "@storybook/react"; diff --git a/packages/components/src/card/tests/chromatic/CardVertical-hopper.stories.tsx b/packages/components/src/card/tests/chromatic/CardVertical-hopper.stories.tsx index 84337804d..56823ad03 100644 --- a/packages/components/src/card/tests/chromatic/CardVertical-hopper.stories.tsx +++ b/packages/components/src/card/tests/chromatic/CardVertical-hopper.stories.tsx @@ -1,14 +1,14 @@ -import { Content, Header } from "@components/placeholders"; -import { Div, LI, UL } from "@components/html"; -import { Card } from "@components/card"; -import { Paragraph } from "@components/typography"; -import { Illustration } from "@components/illustration"; -import { Image } from "@components/image"; -import { Inline, Stack } from "@components/layout"; +import { Content, Header } from "@components/placeholders/index.ts"; +import { Div, LI, UL } from "@components/html/index.ts"; +import { Card } from "@components/card/index.ts"; +import { Paragraph } from "@components/typography/index.ts"; +import { Illustration } from "@components/illustration/index.ts"; +import { Image } from "@components/image/index.ts"; +import { Inline, Stack } from "@components/layout/index.ts"; import { Heading, Button, ButtonGroup, Switch, Link } from "@hopper-ui/components"; -import { Item } from "@components/collection"; +import { Item } from "@components/collection/index.ts"; import { Nasa } from "./assets"; -import { Tabs } from "@components/tabs"; +import { Tabs } from "@components/tabs/index.ts"; import { Meta, StoryObj } from "@storybook/react"; diff --git a/packages/components/src/card/tests/chromatic/CardVertical.stories.tsx b/packages/components/src/card/tests/chromatic/CardVertical.stories.tsx index 043deec60..201708f60 100644 --- a/packages/components/src/card/tests/chromatic/CardVertical.stories.tsx +++ b/packages/components/src/card/tests/chromatic/CardVertical.stories.tsx @@ -1,16 +1,16 @@ -import { Button, ButtonGroup } from "@components/button"; -import { Card } from "@components/card"; -import { Content, Header } from "@components/placeholders"; -import { Div, LI, UL } from "@components/html"; -import { Heading, Paragraph } from "@components/typography"; -import { Illustration } from "@components/illustration"; -import { Image } from "@components/image"; -import { Inline, Stack } from "@components/layout"; -import { Item } from "@components/collection"; +import { Button, ButtonGroup } from "@components/button/index.ts"; +import { Card } from "@components/card/index.ts"; +import { Content, Header } from "@components/placeholders/index.ts"; +import { Div, LI, UL } from "@components/html/index.ts"; +import { Heading, Paragraph } from "@components/typography/index.ts"; +import { Illustration } from "@components/illustration/index.ts"; +import { Image } from "@components/image/index.ts"; +import { Inline, Stack } from "@components/layout/index.ts"; +import { Item } from "@components/collection/index.ts"; import { Nasa } from "./assets"; -import { Switch } from "@components/switch"; -import { Tabs } from "@components/tabs"; -import { TextLink } from "@components/link"; +import { Switch } from "@components/switch/index.ts"; +import { Tabs } from "@components/tabs/index.ts"; +import { TextLink } from "@components/link/index.ts"; import { Meta, StoryObj } from "@storybook/react"; const meta = { diff --git a/packages/components/src/card/tests/jest/Card.ssr.test.tsx b/packages/components/src/card/tests/jest/Card.ssr.test.tsx index 4055f0c36..3854907d5 100644 --- a/packages/components/src/card/tests/jest/Card.ssr.test.tsx +++ b/packages/components/src/card/tests/jest/Card.ssr.test.tsx @@ -1,9 +1,9 @@ /** * @jest-environment node */ -import { Card } from "@components/card"; -import { Content } from "@components/placeholders"; -import { Heading } from "@components/typography"; +import { Card } from "@components/card/index.ts"; +import { Content } from "@components/placeholders/index.ts"; +import { Heading } from "@components/typography/index.ts"; import { renderToString } from "react-dom/server"; import { throwOnConsoleLogs } from "@test-utils"; diff --git a/packages/components/src/card/tests/jest/Card.test.tsx b/packages/components/src/card/tests/jest/Card.test.tsx index 5321a512b..7d2d5b7f8 100644 --- a/packages/components/src/card/tests/jest/Card.test.tsx +++ b/packages/components/src/card/tests/jest/Card.test.tsx @@ -1,6 +1,6 @@ -import { Card } from "@components/card"; -import { Content } from "@components/placeholders"; -import { Heading } from "@components/typography"; +import { Card } from "@components/card/index.ts"; +import { Content } from "@components/placeholders/index.ts"; +import { Heading } from "@components/typography/index.ts"; import { createRef } from "react"; import { renderWithTheme, waitFor } from "@test-utils"; diff --git a/packages/components/src/checkbox/docs/Checkbox.mdx b/packages/components/src/checkbox/docs/Checkbox.mdx index a47176e00..c30f81d2a 100644 --- a/packages/components/src/checkbox/docs/Checkbox.mdx +++ b/packages/components/src/checkbox/docs/Checkbox.mdx @@ -1,5 +1,5 @@ import { ArgTypes, Meta, Canvas } from "@storybook/addon-docs"; -import { InnerCheckbox, InnerCheckboxGroup } from "@components/checkbox"; +import { InnerCheckbox, InnerCheckboxGroup } from "@components/checkbox/index.ts"; import { ComponentInfo, Preview, Tagline } from "@stories/components"; import * as CheckboxStories from "./Checkbox.stories.tsx" diff --git a/packages/components/src/checkbox/docs/Checkbox.stories.tsx b/packages/components/src/checkbox/docs/Checkbox.stories.tsx index 7230f795a..fd30d8d7c 100644 --- a/packages/components/src/checkbox/docs/Checkbox.stories.tsx +++ b/packages/components/src/checkbox/docs/Checkbox.stories.tsx @@ -1,10 +1,10 @@ -import { Checkbox, CheckboxGroup } from "@components/checkbox"; -import { Counter } from "@components/counter"; +import { Checkbox, CheckboxGroup } from "@components/checkbox/index.ts"; +import { Counter } from "@components/counter/index.ts"; import { SparklesIcon } from "@hopper-ui/icons"; -import { Inline } from "@components/layout"; -import { Text } from "@components/typography"; -import { Tag } from "@components/tag"; -import { as, useCheckableProps } from "@components/shared"; +import { Inline } from "@components/layout/index.ts"; +import { Text } from "@components/typography/index.ts"; +import { Tag } from "@components/tag/index.ts"; +import { as, useCheckableProps } from "@components/shared/index.ts"; import { useCallback, useState } from "react"; import { Meta, StoryObj } from "@storybook/react"; diff --git a/packages/components/src/checkbox/src/Checkbox.tsx b/packages/components/src/checkbox/src/Checkbox.tsx index 9ad7ca124..a23821017 100644 --- a/packages/components/src/checkbox/src/Checkbox.tsx +++ b/packages/components/src/checkbox/src/Checkbox.tsx @@ -1,15 +1,15 @@ -import { AbstractInputProps } from "../../input"; -import { Box } from "../../box"; +import { AbstractInputProps } from "../../input/index.ts" +import { Box } from "../../box/index.ts" import { CheckmarkIcon } from "@hopper-ui/icons"; import { ChangeEvent, ChangeEventHandler, ComponentProps, forwardRef, useMemo } from "react"; -import { OmitInternalProps, isNil, mergeProps, omitProps, resolveChildren, useChainedEventCallback, useCheckableProps, useSlots } from "../../shared"; -import { ResponsiveProp, useResponsiveValue } from "../../styling"; -import { Span } from "../../html"; -import { Text } from "../../typography"; -import { VisuallyHidden } from "../../visually-hidden"; +import { OmitInternalProps, isNil, mergeProps, omitProps, resolveChildren, useChainedEventCallback, useCheckableProps, useSlots } from "../../shared/index.ts" +import { ResponsiveProp, useResponsiveValue } from "../../styling/index.ts" +import { Span } from "../../html/index.ts" +import { Text } from "../../typography/index.ts" +import { VisuallyHidden } from "../../visually-hidden/index.ts" import { useCheckbox } from "./useCheckbox"; -import { useFieldInputProps } from "../../field"; -import { useToolbarProps } from "../../toolbar"; +import { useFieldInputProps } from "../../field/index.ts" +import { useToolbarProps } from "../../toolbar/index.ts" const DefaultElement = "label"; diff --git a/packages/components/src/checkbox/src/CheckboxGroup.tsx b/packages/components/src/checkbox/src/CheckboxGroup.tsx index 3d7e68b55..304141a9e 100644 --- a/packages/components/src/checkbox/src/CheckboxGroup.tsx +++ b/packages/components/src/checkbox/src/CheckboxGroup.tsx @@ -1,4 +1,4 @@ -import { AbstractGroupInputProps, useGroupInput } from "../../input"; +import { AbstractGroupInputProps, useGroupInput } from "../../input/index.ts" import { CheckableContext, OmitInternalProps, @@ -14,12 +14,12 @@ import { useFocusManager, useFocusScope, useMergedRefs -} from "../../shared"; +} from "../../shared/index.ts" import { Children, ComponentProps, ReactElement, SyntheticEvent, forwardRef } from "react"; -import { ClearFieldContext, useFieldInputProps } from "../../field"; -import { ClearToolbar, useToolbarProps } from "../../toolbar"; -import { Group } from "../../group"; -import { ResponsiveProp, useResponsiveValue } from "../../styling"; +import { ClearFieldContext, useFieldInputProps } from "../../field/index.ts" +import { ClearToolbar, useToolbarProps } from "../../toolbar/index.ts" +import { Group } from "../../group/index.ts" +import { ResponsiveProp, useResponsiveValue } from "../../styling/index.ts" const DefaultElement = "div"; diff --git a/packages/components/src/checkbox/src/useCheckbox.ts b/packages/components/src/checkbox/src/useCheckbox.ts index 55a8238c4..25ab0b572 100644 --- a/packages/components/src/checkbox/src/useCheckbox.ts +++ b/packages/components/src/checkbox/src/useCheckbox.ts @@ -1,6 +1,6 @@ import { ChangeEvent, ElementType, ForwardedRef, Ref, useImperativeHandle, useRef } from "react"; -import { ValidationState } from "../../input"; -import { cssModule, isNil, isNumber, normalizeSize, useAutoFocus, useControllableState, useEventCallback, useForwardInputApi, useIsomorphicLayoutEffect } from "../../shared"; +import { ValidationState } from "../../input/index.ts" +import { cssModule, isNil, isNumber, normalizeSize, useAutoFocus, useControllableState, useEventCallback, useForwardInputApi, useIsomorphicLayoutEffect } from "../../shared/index.ts" export interface UseCheckboxProps { active?: boolean; diff --git a/packages/components/src/checkbox/tests/chromatic/Checkbox-hopper.stories.tsx b/packages/components/src/checkbox/tests/chromatic/Checkbox-hopper.stories.tsx index 15bf3da2b..6173357e7 100644 --- a/packages/components/src/checkbox/tests/chromatic/Checkbox-hopper.stories.tsx +++ b/packages/components/src/checkbox/tests/chromatic/Checkbox-hopper.stories.tsx @@ -1,5 +1,5 @@ -import { Checkbox } from "@components/checkbox"; -import { Inline } from "@components/layout"; +import { Checkbox } from "@components/checkbox/index.ts"; +import { Inline } from "@components/layout/index.ts"; import { Meta, StoryObj } from "@storybook/react"; diff --git a/packages/components/src/checkbox/tests/chromatic/Checkbox.stories.tsx b/packages/components/src/checkbox/tests/chromatic/Checkbox.stories.tsx index b55b3c518..e8f58b12f 100644 --- a/packages/components/src/checkbox/tests/chromatic/Checkbox.stories.tsx +++ b/packages/components/src/checkbox/tests/chromatic/Checkbox.stories.tsx @@ -1,5 +1,5 @@ -import { Checkbox } from "@components/checkbox"; -import { Inline } from "@components/layout"; +import { Checkbox } from "@components/checkbox/index.ts"; +import { Inline } from "@components/layout/index.ts"; import { Meta, StoryObj } from "@storybook/react"; diff --git a/packages/components/src/checkbox/tests/chromatic/CheckboxChecked-hopper.stories.tsx b/packages/components/src/checkbox/tests/chromatic/CheckboxChecked-hopper.stories.tsx index cf36f3b36..26aa70eb4 100644 --- a/packages/components/src/checkbox/tests/chromatic/CheckboxChecked-hopper.stories.tsx +++ b/packages/components/src/checkbox/tests/chromatic/CheckboxChecked-hopper.stories.tsx @@ -1,7 +1,7 @@ -import { Checkbox } from "@components/checkbox"; -import { Counter } from "@components/counter"; -import { Div } from "@components/html"; -import { Inline, Stack } from "@components/layout"; +import { Checkbox } from "@components/checkbox/index.ts"; +import { Counter } from "@components/counter/index.ts"; +import { Div } from "@components/html/index.ts"; +import { Inline, Stack } from "@components/layout/index.ts"; import { MailIcon, InfoIcon, WarningIcon } from "@hopper-ui/icons"; import { Flex, Text, IconList } from "@hopper-ui/components"; diff --git a/packages/components/src/checkbox/tests/chromatic/CheckboxChecked.stories.tsx b/packages/components/src/checkbox/tests/chromatic/CheckboxChecked.stories.tsx index a287d18f7..72465bc1d 100644 --- a/packages/components/src/checkbox/tests/chromatic/CheckboxChecked.stories.tsx +++ b/packages/components/src/checkbox/tests/chromatic/CheckboxChecked.stories.tsx @@ -1,10 +1,10 @@ -import { Checkbox } from "@components/checkbox"; -import { Counter } from "@components/counter"; -import { Div } from "@components/html"; -import { IconList } from "@components/icons"; +import { Checkbox } from "@components/checkbox/index.ts"; +import { Counter } from "@components/counter/index.ts"; +import { Div } from "@components/html/index.ts"; +import { IconList } from "@components/icons/index.ts"; import { MailIcon, InfoIcon, WarningIcon } from "@hopper-ui/icons"; -import { Flex, Inline, Stack } from "@components/layout"; -import { Text } from "@components/typography"; +import { Flex, Inline, Stack } from "@components/layout/index.ts"; +import { Text } from "@components/typography/index.ts"; import { Meta, StoryObj } from "@storybook/react"; diff --git a/packages/components/src/checkbox/tests/chromatic/CheckboxGroup.stories.tsx b/packages/components/src/checkbox/tests/chromatic/CheckboxGroup.stories.tsx index a08752ebd..0035ae90c 100644 --- a/packages/components/src/checkbox/tests/chromatic/CheckboxGroup.stories.tsx +++ b/packages/components/src/checkbox/tests/chromatic/CheckboxGroup.stories.tsx @@ -1,10 +1,10 @@ -import { Checkbox, CheckboxGroup } from "@components/checkbox"; -import { Div } from "@components/html"; -import { Inline, Stack } from "@components/layout"; -import { Tag, TagProps } from "@components/tag"; -import { ToggleButton } from "@components/button"; +import { Checkbox, CheckboxGroup } from "@components/checkbox/index.ts"; +import { Div } from "@components/html/index.ts"; +import { Inline, Stack } from "@components/layout/index.ts"; +import { Tag, TagProps } from "@components/tag/index.ts"; +import { ToggleButton } from "@components/button/index.ts"; import { useCallback } from "react"; -import { useCheckableProps } from "@components/shared"; +import { useCheckableProps } from "@components/shared/index.ts"; import { Meta, StoryObj } from "@storybook/react"; diff --git a/packages/components/src/checkbox/tests/chromatic/CheckboxGroupVertical.stories.tsx b/packages/components/src/checkbox/tests/chromatic/CheckboxGroupVertical.stories.tsx index 09feee618..88b623fea 100644 --- a/packages/components/src/checkbox/tests/chromatic/CheckboxGroupVertical.stories.tsx +++ b/packages/components/src/checkbox/tests/chromatic/CheckboxGroupVertical.stories.tsx @@ -1,6 +1,6 @@ -import { Checkbox, CheckboxGroup } from "@components/checkbox"; -import { Div } from "@components/html"; -import { Inline, Stack } from "@components/layout"; +import { Checkbox, CheckboxGroup } from "@components/checkbox/index.ts"; +import { Div } from "@components/html/index.ts"; +import { Inline, Stack } from "@components/layout/index.ts"; import { Meta, StoryObj } from "@storybook/react"; const meta = { diff --git a/packages/components/src/checkbox/tests/chromatic/CheckboxIndeterminate-hopper.stories.tsx b/packages/components/src/checkbox/tests/chromatic/CheckboxIndeterminate-hopper.stories.tsx index 18553753b..472bc582e 100644 --- a/packages/components/src/checkbox/tests/chromatic/CheckboxIndeterminate-hopper.stories.tsx +++ b/packages/components/src/checkbox/tests/chromatic/CheckboxIndeterminate-hopper.stories.tsx @@ -1,7 +1,7 @@ -import { Checkbox } from "@components/checkbox"; -import { Counter } from "@components/counter"; -import { Div } from "@components/html"; -import { Inline, Stack } from "@components/layout"; +import { Checkbox } from "@components/checkbox/index.ts"; +import { Counter } from "@components/counter/index.ts"; +import { Div } from "@components/html/index.ts"; +import { Inline, Stack } from "@components/layout/index.ts"; import { MailIcon, InfoIcon, WarningIcon } from "@hopper-ui/icons"; import { Flex, Text, IconList } from "@hopper-ui/components"; diff --git a/packages/components/src/checkbox/tests/chromatic/CheckboxIndeterminate.stories.tsx b/packages/components/src/checkbox/tests/chromatic/CheckboxIndeterminate.stories.tsx index 203547ccb..1b146c7ca 100644 --- a/packages/components/src/checkbox/tests/chromatic/CheckboxIndeterminate.stories.tsx +++ b/packages/components/src/checkbox/tests/chromatic/CheckboxIndeterminate.stories.tsx @@ -1,10 +1,10 @@ -import { Checkbox } from "@components/checkbox"; -import { Counter } from "@components/counter"; -import { Div } from "@components/html"; -import { IconList } from "@components/icons"; +import { Checkbox } from "@components/checkbox/index.ts"; +import { Counter } from "@components/counter/index.ts"; +import { Div } from "@components/html/index.ts"; +import { IconList } from "@components/icons/index.ts"; import { MailIcon, InfoIcon, WarningIcon } from "@hopper-ui/icons"; -import { Flex, Inline, Stack } from "@components/layout"; -import { Text } from "@components/typography"; +import { Flex, Inline, Stack } from "@components/layout/index.ts"; +import { Text } from "@components/typography/index.ts"; import { Meta, StoryObj } from "@storybook/react"; diff --git a/packages/components/src/checkbox/tests/chromatic/CheckboxUnchecked-hopper.stories.tsx b/packages/components/src/checkbox/tests/chromatic/CheckboxUnchecked-hopper.stories.tsx index 59968db79..8dfb3fa3f 100644 --- a/packages/components/src/checkbox/tests/chromatic/CheckboxUnchecked-hopper.stories.tsx +++ b/packages/components/src/checkbox/tests/chromatic/CheckboxUnchecked-hopper.stories.tsx @@ -1,7 +1,7 @@ -import { Checkbox } from "@components/checkbox"; -import { Counter } from "@components/counter"; -import { Div } from "@components/html"; -import { Inline, Stack } from "@components/layout"; +import { Checkbox } from "@components/checkbox/index.ts"; +import { Counter } from "@components/counter/index.ts"; +import { Div } from "@components/html/index.ts"; +import { Inline, Stack } from "@components/layout/index.ts"; import { MailIcon, InfoIcon, WarningIcon } from "@hopper-ui/icons"; import { Flex, Text, IconList } from "@hopper-ui/components"; diff --git a/packages/components/src/checkbox/tests/chromatic/CheckboxUnchecked.stories.tsx b/packages/components/src/checkbox/tests/chromatic/CheckboxUnchecked.stories.tsx index 46b6db150..e357f7199 100644 --- a/packages/components/src/checkbox/tests/chromatic/CheckboxUnchecked.stories.tsx +++ b/packages/components/src/checkbox/tests/chromatic/CheckboxUnchecked.stories.tsx @@ -1,10 +1,10 @@ -import { Checkbox } from "@components/checkbox"; -import { Counter } from "@components/counter"; -import { Div } from "@components/html"; -import { IconList } from "@components/icons"; +import { Checkbox } from "@components/checkbox/index.ts"; +import { Counter } from "@components/counter/index.ts"; +import { Div } from "@components/html/index.ts"; +import { IconList } from "@components/icons/index.ts"; import { MailIcon, InfoIcon, WarningIcon } from "@hopper-ui/icons"; -import { Flex, Inline, Stack } from "@components/layout"; -import { Text } from "@components/typography"; +import { Flex, Inline, Stack } from "@components/layout/index.ts"; +import { Text } from "@components/typography/index.ts"; import { Meta, StoryObj } from "@storybook/react"; diff --git a/packages/components/src/checkbox/tests/jest/Checkbox.test.tsx b/packages/components/src/checkbox/tests/jest/Checkbox.test.tsx index 4bf815e32..07ddfa22c 100644 --- a/packages/components/src/checkbox/tests/jest/Checkbox.test.tsx +++ b/packages/components/src/checkbox/tests/jest/Checkbox.test.tsx @@ -1,5 +1,5 @@ import { act, screen, waitFor, renderWithTheme } from "@test-utils"; -import { Checkbox } from "@components/checkbox"; +import { Checkbox } from "@components/checkbox/index.ts"; import { createRef } from "react"; import userEvent from "@testing-library/user-event"; diff --git a/packages/components/src/checkbox/tests/jest/CheckboxGroup.ssr.test.tsx b/packages/components/src/checkbox/tests/jest/CheckboxGroup.ssr.test.tsx index 8e72f4970..94b068e30 100644 --- a/packages/components/src/checkbox/tests/jest/CheckboxGroup.ssr.test.tsx +++ b/packages/components/src/checkbox/tests/jest/CheckboxGroup.ssr.test.tsx @@ -1,7 +1,7 @@ /** * @jest-environment node */ -import { Checkbox, CheckboxGroup } from "@components/checkbox"; +import { Checkbox, CheckboxGroup } from "@components/checkbox/index.ts"; import { renderToString } from "react-dom/server"; import { throwOnConsoleLogs } from "@test-utils"; diff --git a/packages/components/src/checkbox/tests/jest/CheckboxGroup.test.tsx b/packages/components/src/checkbox/tests/jest/CheckboxGroup.test.tsx index 78352331e..4ce597fbb 100644 --- a/packages/components/src/checkbox/tests/jest/CheckboxGroup.test.tsx +++ b/packages/components/src/checkbox/tests/jest/CheckboxGroup.test.tsx @@ -1,6 +1,6 @@ -import { Checkbox, CheckboxGroup } from "@components/checkbox"; +import { Checkbox, CheckboxGroup } from "@components/checkbox/index.ts"; import { screen, waitFor, renderWithTheme } from "@test-utils"; -import { ToggleButton } from "@components/button"; +import { ToggleButton } from "@components/button/index.ts"; import { createRef } from "react"; import userEvent from "@testing-library/user-event"; diff --git a/packages/components/src/collection/src/Item.tsx b/packages/components/src/collection/src/Item.tsx index ea124e8a9..7ffa9d68b 100644 --- a/packages/components/src/collection/src/Item.tsx +++ b/packages/components/src/collection/src/Item.tsx @@ -1,5 +1,5 @@ import { ComponentProps, ReactNode, forwardRef } from "react"; -import { InternalProps, OmitInternalProps, StyledHtmlAttributes, InteractionProps } from "../../shared"; +import { InternalProps, OmitInternalProps, StyledHtmlAttributes, InteractionProps } from "../../shared/index.ts" export interface InnerItemProps extends InternalProps, InteractionProps, StyledHtmlAttributes { /** diff --git a/packages/components/src/collection/src/Section.tsx b/packages/components/src/collection/src/Section.tsx index 14e066af2..f2f22d91b 100644 --- a/packages/components/src/collection/src/Section.tsx +++ b/packages/components/src/collection/src/Section.tsx @@ -1,5 +1,5 @@ import { ComponentProps, ReactNode, forwardRef } from "react"; -import { InternalProps, OmitInternalProps, StyledHtmlAttributes } from "../../shared"; +import { InternalProps, OmitInternalProps, StyledHtmlAttributes } from "../../shared/index.ts" export interface InnerSectionProps extends InternalProps, StyledHtmlAttributes { /** diff --git a/packages/components/src/collection/src/getItemText.tsx b/packages/components/src/collection/src/getItemText.tsx index 6c532ec10..10512d29e 100644 --- a/packages/components/src/collection/src/getItemText.tsx +++ b/packages/components/src/collection/src/getItemText.tsx @@ -1,5 +1,5 @@ import { CollectionNode, isDivider, isItem } from "./useCollection"; -import { getRawSlots, isNil } from "../../shared"; +import { getRawSlots, isNil } from "../../shared/index.ts" export function getItemText(item: CollectionNode): string { if (isDivider(item) || isItem(item)) { diff --git a/packages/components/src/collection/src/useAsyncSearch.ts b/packages/components/src/collection/src/useAsyncSearch.ts index 0770bf1fc..93c38a62e 100644 --- a/packages/components/src/collection/src/useAsyncSearch.ts +++ b/packages/components/src/collection/src/useAsyncSearch.ts @@ -1,5 +1,5 @@ import { SyntheticEvent, useCallback, useEffect, useState } from "react"; -import { isNil, isPromise, useRefState } from "../../shared"; +import { isNil, isPromise, useRefState } from "../../shared/index.ts" export function useAsyncSearch<T>(load: (query: string, signal: AbortSignal) => Promise<T[]>) { const [isLoading, setIsLoading] = useState(false); diff --git a/packages/components/src/collection/src/useCollection.ts b/packages/components/src/collection/src/useCollection.ts index 4d080177c..2e1e4f0d7 100644 --- a/packages/components/src/collection/src/useCollection.ts +++ b/packages/components/src/collection/src/useCollection.ts @@ -1,8 +1,8 @@ import { Children, ElementType, ReactElement, ReactNode, Ref, RefAttributes, useMemo } from "react"; -import { Divider } from "../../divider"; -import { Item, Section } from "../../collection"; -import { TooltipTrigger, parseTooltipTrigger } from "../../tooltip"; -import { isNil, resolveChildren } from "../../shared"; +import { Divider } from "../../divider/index.ts" +import { Item, Section } from "../../collection/index.ts" +import { TooltipTrigger, parseTooltipTrigger } from "../../tooltip/index.ts" +import { isNil, resolveChildren } from "../../shared/index.ts" export interface CollectionNode { elementType?: ElementType | string; diff --git a/packages/components/src/collection/src/useCollectionSearch.ts b/packages/components/src/collection/src/useCollectionSearch.ts index baf38e727..47b050893 100644 --- a/packages/components/src/collection/src/useCollectionSearch.ts +++ b/packages/components/src/collection/src/useCollectionSearch.ts @@ -1,7 +1,7 @@ import { CollectionItem, CollectionNode, useCollection } from "./useCollection"; import { ReactNode, SyntheticEvent, useCallback, useState } from "react"; import { getItemText } from "./getItemText"; -import { isNil } from "../../shared"; +import { isNil } from "../../shared/index.ts" import { reduceCollection } from "./reduceCollection"; function isQueryMatchingItem(query: string, item: CollectionItem) { diff --git a/packages/components/src/collection/src/useScrollableCollection.ts b/packages/components/src/collection/src/useScrollableCollection.ts index 3d42e2406..a00d9020f 100644 --- a/packages/components/src/collection/src/useScrollableCollection.ts +++ b/packages/components/src/collection/src/useScrollableCollection.ts @@ -1,6 +1,6 @@ import { CollectionNode } from "./useCollection"; import { RefObject, useState } from "react"; -import { isNil, useIsomorphicLayoutEffect } from "../../shared"; +import { isNil, useIsomorphicLayoutEffect } from "../../shared/index.ts" interface UseScrollableCollectionOptions { borderHeight?: number; diff --git a/packages/components/src/counter/docs/Counter.mdx b/packages/components/src/counter/docs/Counter.mdx index 2d8341032..e7b6c6e0c 100644 --- a/packages/components/src/counter/docs/Counter.mdx +++ b/packages/components/src/counter/docs/Counter.mdx @@ -1,6 +1,6 @@ import { ArgTypes, Canvas, Meta } from "@storybook/addon-docs"; import { ComponentInfo, Preview, Tagline } from "@stories/components"; -import { InnerCounter } from "@components/counter"; +import { InnerCounter } from "@components/counter/index.ts"; import * as CounterStories from "./Counter.stories.tsx"; <Meta of={CounterStories} /> diff --git a/packages/components/src/counter/docs/Counter.stories.tsx b/packages/components/src/counter/docs/Counter.stories.tsx index f6981a98d..b225670bc 100644 --- a/packages/components/src/counter/docs/Counter.stories.tsx +++ b/packages/components/src/counter/docs/Counter.stories.tsx @@ -1,8 +1,8 @@ import { Meta, StoryObj } from "@storybook/react"; -import { Counter } from "@components/counter"; -import { Div } from "@components/html"; -import { Inline } from "@components/layout"; -import { Text } from "@components/typography"; +import { Counter } from "@components/counter/index.ts"; +import { Div } from "@components/html/index.ts"; +import { Inline } from "@components/layout/index.ts"; +import { Text } from "@components/typography/index.ts"; const meta = { title: "Components/Counter", diff --git a/packages/components/src/counter/src/Counter.tsx b/packages/components/src/counter/src/Counter.tsx index 998583915..f358f7143 100644 --- a/packages/components/src/counter/src/Counter.tsx +++ b/packages/components/src/counter/src/Counter.tsx @@ -1,8 +1,8 @@ -import { Box } from "../../box"; +import { Box } from "../../box/index.ts" import { ComponentProps, ReactNode, forwardRef } from "react"; -import { InternalProps, OmitInternalProps, SlotProps, StyledComponentProps, cssModule, mergeProps, normalizeSize, slot } from "../../shared"; -import { ResponsiveProp, useResponsiveValue } from "../../styling"; -import { Text } from "../../typography"; +import { InternalProps, OmitInternalProps, SlotProps, StyledComponentProps, cssModule, mergeProps, normalizeSize, slot } from "../../shared/index.ts" +import { ResponsiveProp, useResponsiveValue } from "../../styling/index.ts" +import { Text } from "../../typography/index.ts" const DefaultElement = "span"; diff --git a/packages/components/src/counter/tests/chromatic/Counter.stories.tsx b/packages/components/src/counter/tests/chromatic/Counter.stories.tsx index 94016877a..3efa15929 100644 --- a/packages/components/src/counter/tests/chromatic/Counter.stories.tsx +++ b/packages/components/src/counter/tests/chromatic/Counter.stories.tsx @@ -1,7 +1,7 @@ -import { Counter } from "@components/counter"; -import { Div } from "@components/html"; -import { Inline, Stack } from "@components/layout"; -import { Text } from "@components/typography"; +import { Counter } from "@components/counter/index.ts"; +import { Div } from "@components/html/index.ts"; +import { Inline, Stack } from "@components/layout/index.ts"; +import { Text } from "@components/typography/index.ts"; import { Meta, StoryObj } from "@storybook/react"; const meta = { diff --git a/packages/components/src/counter/tests/jest/Counter.ssr.test.tsx b/packages/components/src/counter/tests/jest/Counter.ssr.test.tsx index 89709c317..c165c5578 100644 --- a/packages/components/src/counter/tests/jest/Counter.ssr.test.tsx +++ b/packages/components/src/counter/tests/jest/Counter.ssr.test.tsx @@ -1,7 +1,7 @@ /** * @jest-environment node */ -import { Counter } from "@components/counter"; +import { Counter } from "@components/counter/index.ts"; import { renderToString } from "react-dom/server"; import { throwOnConsoleLogs } from "@test-utils"; diff --git a/packages/components/src/counter/tests/jest/Counter.test.tsx b/packages/components/src/counter/tests/jest/Counter.test.tsx index 630d6d230..cc7df9230 100644 --- a/packages/components/src/counter/tests/jest/Counter.test.tsx +++ b/packages/components/src/counter/tests/jest/Counter.test.tsx @@ -1,4 +1,4 @@ -import { Counter } from "@components/counter"; +import { Counter } from "@components/counter/index.ts"; import { createRef } from "react"; import { renderWithTheme, waitFor } from "@test-utils"; diff --git a/packages/components/src/date-input/docs/DateInput.mdx b/packages/components/src/date-input/docs/DateInput.mdx index 6ff12a1f1..f1f08ba33 100644 --- a/packages/components/src/date-input/docs/DateInput.mdx +++ b/packages/components/src/date-input/docs/DateInput.mdx @@ -1,6 +1,6 @@ import { ArgTypes, Meta, Canvas } from "@storybook/addon-docs"; import { ComponentInfo, Tagline } from "@stories/components"; -import { InnerDateInput } from "@components/date-input"; +import { InnerDateInput } from "@components/date-input/index.ts"; import * as DateInputStories from "./DateInput.stories.tsx"; diff --git a/packages/components/src/date-input/docs/DateInput.stories.tsx b/packages/components/src/date-input/docs/DateInput.stories.tsx index 3c529a67b..19430dedb 100644 --- a/packages/components/src/date-input/docs/DateInput.stories.tsx +++ b/packages/components/src/date-input/docs/DateInput.stories.tsx @@ -1,4 +1,4 @@ -import { DateInput } from "@components/date-input"; +import { DateInput } from "@components/date-input/index.ts"; import { subMonths, subWeeks } from "date-fns"; import { useCallback, useMemo, useState } from "react"; diff --git a/packages/components/src/date-input/docs/DateRangeInput.mdx b/packages/components/src/date-input/docs/DateRangeInput.mdx index 5f6683793..edd5e8fb7 100644 --- a/packages/components/src/date-input/docs/DateRangeInput.mdx +++ b/packages/components/src/date-input/docs/DateRangeInput.mdx @@ -1,6 +1,6 @@ import { ArgTypes, Meta, Canvas } from "@storybook/addon-docs"; import { ComponentInfo, Tagline } from "@stories/components"; -import { InnerDateRangeInput } from "@components/date-input"; +import { InnerDateRangeInput } from "@components/date-input/index.ts"; import * as DateRangeInputStories from "./DateRangeInput.stories.tsx"; diff --git a/packages/components/src/date-input/docs/DateRangeInput.stories.tsx b/packages/components/src/date-input/docs/DateRangeInput.stories.tsx index af4e842d3..f2c1ee885 100644 --- a/packages/components/src/date-input/docs/DateRangeInput.stories.tsx +++ b/packages/components/src/date-input/docs/DateRangeInput.stories.tsx @@ -1,4 +1,4 @@ -import { DateRangeInput } from "@components/date-input"; +import { DateRangeInput } from "@components/date-input/index.ts"; import { subMonths, subWeeks } from "date-fns"; import { useCallback, useMemo, useState } from "react"; diff --git a/packages/components/src/date-input/src/ButtonPresets.tsx b/packages/components/src/date-input/src/ButtonPresets.tsx index 8e467c459..de318ecef 100644 --- a/packages/components/src/date-input/src/ButtonPresets.tsx +++ b/packages/components/src/date-input/src/ButtonPresets.tsx @@ -1,8 +1,8 @@ -import { isNil, useEventCallback } from "../../shared"; +import { isNil, useEventCallback } from "../../shared/index.ts" -import { RadioGroup } from "../../radio"; +import { RadioGroup } from "../../radio/index.ts" import { SyntheticEvent } from "react"; -import { ToggleButton } from "../../button"; +import { ToggleButton } from "../../button/index.ts" export interface ButtonPresetsProps { onSelectionChange: (event: SyntheticEvent, index: number) => void; diff --git a/packages/components/src/date-input/src/DateInput.tsx b/packages/components/src/date-input/src/DateInput.tsx index 6221d5e59..d31034243 100644 --- a/packages/components/src/date-input/src/DateInput.tsx +++ b/packages/components/src/date-input/src/DateInput.tsx @@ -1,4 +1,4 @@ -import { Box, BoxProps } from "../../box"; +import { Box, BoxProps } from "../../box/index.ts" import { ChangeEvent, ComponentProps, @@ -9,15 +9,15 @@ import { useMemo, useRef } from "react"; -import { InputGroup, useInputGroupProps } from "../../input-group"; -import { OmitInternalProps, augmentElement, cssModule, isNil, mergeClasses, mergeProps, useControllableState, useEventCallback } from "../../shared"; -import { ResponsiveProp, useResponsiveValue } from "../../styling"; +import { InputGroup, useInputGroupProps } from "../../input-group/index.ts" +import { OmitInternalProps, augmentElement, cssModule, isNil, mergeClasses, mergeProps, useControllableState, useEventCallback } from "../../shared/index.ts" +import { ResponsiveProp, useResponsiveValue } from "../../styling/index.ts" import { areEqualDates, toMidnightDate } from "./dateUtils"; -import { AbstractInputProps } from "../../input"; +import { AbstractInputProps } from "../../input/index.ts" import { ButtonPresets } from "./ButtonPresets"; import { MenuPresets } from "./MenuPresets"; -import { TextInput } from "../../text-input"; +import { TextInput } from "../../text-input/index.ts" import { useDateInput } from "./useDateInput"; export interface DatePreset { diff --git a/packages/components/src/date-input/src/DateRangeInput.tsx b/packages/components/src/date-input/src/DateRangeInput.tsx index 9e69f7e38..18e0d474a 100644 --- a/packages/components/src/date-input/src/DateRangeInput.tsx +++ b/packages/components/src/date-input/src/DateRangeInput.tsx @@ -1,5 +1,5 @@ -import { AbstractInputProps } from "../../input"; -import { Box } from "../../box"; +import { AbstractInputProps } from "../../input/index.ts" +import { Box } from "../../box/index.ts" import { ButtonPresets } from "./ButtonPresets"; import { ChangeEvent, @@ -14,11 +14,11 @@ import { useRef, useState } from "react"; -import { ClearInputGroupContext, InputGroup, useInputGroupProps } from "../../input-group"; -import { CrossButton } from "../../button"; +import { ClearInputGroupContext, InputGroup, useInputGroupProps } from "../../input-group/index.ts" +import { CrossButton } from "../../button/index.ts" import { DateInputMask, useDateInput } from "./useDateInput"; -import { Divider } from "../../divider"; -import { HtmlInput } from "../../html"; +import { Divider } from "../../divider/index.ts" +import { HtmlInput } from "../../html/index.ts" import { Keys, OmitInternalProps, @@ -35,12 +35,12 @@ import { useEventCallback, useFocusWithin, useMergedRefs -} from "../../shared"; +} from "../../shared/index.ts" import { MenuPresets } from "./MenuPresets"; -import { ResponsiveProp, useResponsiveValue } from "../../styling"; +import { ResponsiveProp, useResponsiveValue } from "../../styling/index.ts" import { areEqualDates, toMidnightDate } from "./dateUtils"; -import { useFieldInputProps } from "../../field"; -import { useToolbarProps } from "../../toolbar"; +import { useFieldInputProps } from "../../field/index.ts" +import { useToolbarProps } from "../../toolbar/index.ts" export interface DateRangePreset { endDate: Date; diff --git a/packages/components/src/date-input/src/MenuPresets.tsx b/packages/components/src/date-input/src/MenuPresets.tsx index 2566ca162..077602992 100644 --- a/packages/components/src/date-input/src/MenuPresets.tsx +++ b/packages/components/src/date-input/src/MenuPresets.tsx @@ -1,9 +1,9 @@ -import { DisclosureArrow } from "../../disclosure"; -import { IconButton } from "../../button"; -import { Item } from "../../collection"; -import { Menu, MenuTrigger } from "../../menu"; +import { DisclosureArrow } from "../../disclosure/index.ts" +import { IconButton } from "../../button/index.ts" +import { Item } from "../../collection/index.ts" +import { Menu, MenuTrigger } from "../../menu/index.ts" import { SyntheticEvent, useRef } from "react"; -import { useEventCallback } from "../../shared"; +import { useEventCallback } from "../../shared/index.ts" export interface MenuPresetsProps { onSelectionChange: (event: SyntheticEvent, index: number) => void; diff --git a/packages/components/src/date-input/src/dateUtils.ts b/packages/components/src/date-input/src/dateUtils.ts index 2fe72c17a..05a9fa665 100644 --- a/packages/components/src/date-input/src/dateUtils.ts +++ b/packages/components/src/date-input/src/dateUtils.ts @@ -1,4 +1,4 @@ -import { isNil } from "../../shared"; +import { isNil } from "../../shared/index.ts" export function areEqualDates(x: Date, y: Date) { return x?.getTime() === y?.getTime(); diff --git a/packages/components/src/date-input/src/useDateInput.ts b/packages/components/src/date-input/src/useDateInput.ts index be535f56a..13e104afa 100644 --- a/packages/components/src/date-input/src/useDateInput.ts +++ b/packages/components/src/date-input/src/useDateInput.ts @@ -1,6 +1,6 @@ import { ChangeEvent, ChangeEventHandler, ForwardedRef, SyntheticEvent, useCallback, useState } from "react"; import { areEqualDates } from "./dateUtils"; -import { isNil, mergeProps, useChainedEventCallback, useControllableState, useEventCallback, useMergedRefs, useRefState } from "../../shared"; +import { isNil, mergeProps, useChainedEventCallback, useControllableState, useEventCallback, useMergedRefs, useRefState } from "../../shared/index.ts" import { useMaskedInput } from "./useMaskedInput"; export const DateInputMask = [/\d/, /\d/, "/", /\d/, /\d/, "/", /\d/, /\d/, /\d/, /\d/]; diff --git a/packages/components/src/date-input/src/useMaskedInput.ts b/packages/components/src/date-input/src/useMaskedInput.ts index 39c63c6cd..520a6af74 100644 --- a/packages/components/src/date-input/src/useMaskedInput.ts +++ b/packages/components/src/date-input/src/useMaskedInput.ts @@ -1,5 +1,5 @@ import { createTextMaskInputElement } from "text-mask-core"; -import { isNil } from "../../shared"; +import { isNil } from "../../shared/index.ts" import { useCallback, useEffect, useRef } from "react"; export interface UseMaskedInputProps { diff --git a/packages/components/src/date-input/tests/chromatic/DateInput-hopper.stories.tsx b/packages/components/src/date-input/tests/chromatic/DateInput-hopper.stories.tsx index 465062f9b..9535e4528 100644 --- a/packages/components/src/date-input/tests/chromatic/DateInput-hopper.stories.tsx +++ b/packages/components/src/date-input/tests/chromatic/DateInput-hopper.stories.tsx @@ -1,6 +1,6 @@ -import { DateInput } from "@components/date-input"; -import { Div } from "@components/html"; -import { Stack } from "@components/layout"; +import { DateInput } from "@components/date-input/index.ts"; +import { Div } from "@components/html/index.ts"; +import { Stack } from "@components/layout/index.ts"; import { Meta, StoryObj } from "@storybook/react"; diff --git a/packages/components/src/date-input/tests/chromatic/DateInput.stories.tsx b/packages/components/src/date-input/tests/chromatic/DateInput.stories.tsx index 879049a83..241a595a9 100644 --- a/packages/components/src/date-input/tests/chromatic/DateInput.stories.tsx +++ b/packages/components/src/date-input/tests/chromatic/DateInput.stories.tsx @@ -1,6 +1,6 @@ -import { DateInput } from "@components/date-input"; -import { Div } from "@components/html"; -import { Stack } from "@components/layout"; +import { DateInput } from "@components/date-input/index.ts"; +import { Div } from "@components/html/index.ts"; +import { Stack } from "@components/layout/index.ts"; import { Meta, StoryObj } from "@storybook/react"; diff --git a/packages/components/src/date-input/tests/chromatic/DateInputCompact-hopper.stories.tsx b/packages/components/src/date-input/tests/chromatic/DateInputCompact-hopper.stories.tsx index a6acbb4d5..a227b503f 100644 --- a/packages/components/src/date-input/tests/chromatic/DateInputCompact-hopper.stories.tsx +++ b/packages/components/src/date-input/tests/chromatic/DateInputCompact-hopper.stories.tsx @@ -1,6 +1,6 @@ -import { DateInput } from "@components/date-input"; -import { Div } from "@components/html"; -import { Stack } from "@components/layout"; +import { DateInput } from "@components/date-input/index.ts"; +import { Div } from "@components/html/index.ts"; +import { Stack } from "@components/layout/index.ts"; import { subMonths, subWeeks } from "date-fns"; import { Meta, StoryObj } from "@storybook/react"; diff --git a/packages/components/src/date-input/tests/chromatic/DateInputCompact.stories.tsx b/packages/components/src/date-input/tests/chromatic/DateInputCompact.stories.tsx index 1034eb496..44b84a28c 100644 --- a/packages/components/src/date-input/tests/chromatic/DateInputCompact.stories.tsx +++ b/packages/components/src/date-input/tests/chromatic/DateInputCompact.stories.tsx @@ -1,6 +1,6 @@ -import { DateInput } from "@components/date-input"; -import { Div } from "@components/html"; -import { Stack } from "@components/layout"; +import { DateInput } from "@components/date-input/index.ts"; +import { Div } from "@components/html/index.ts"; +import { Stack } from "@components/layout/index.ts"; import { subMonths, subWeeks } from "date-fns"; import { Meta, StoryObj } from "@storybook/react"; diff --git a/packages/components/src/date-input/tests/chromatic/DateInputExpanded-hopper.stories.tsx b/packages/components/src/date-input/tests/chromatic/DateInputExpanded-hopper.stories.tsx index b7c378eb3..56d903d9a 100644 --- a/packages/components/src/date-input/tests/chromatic/DateInputExpanded-hopper.stories.tsx +++ b/packages/components/src/date-input/tests/chromatic/DateInputExpanded-hopper.stories.tsx @@ -1,6 +1,6 @@ -import { DateInput } from "@components/date-input"; -import { Div } from "@components/html"; -import { Stack } from "@components/layout"; +import { DateInput } from "@components/date-input/index.ts"; +import { Div } from "@components/html/index.ts"; +import { Stack } from "@components/layout/index.ts"; import { subMonths, subWeeks } from "date-fns"; import { Meta, StoryObj } from "@storybook/react"; diff --git a/packages/components/src/date-input/tests/chromatic/DateInputExpanded.stories.tsx b/packages/components/src/date-input/tests/chromatic/DateInputExpanded.stories.tsx index c5ef4f0dd..b4738ff5a 100644 --- a/packages/components/src/date-input/tests/chromatic/DateInputExpanded.stories.tsx +++ b/packages/components/src/date-input/tests/chromatic/DateInputExpanded.stories.tsx @@ -1,6 +1,6 @@ -import { DateInput } from "@components/date-input"; -import { Div } from "@components/html"; -import { Stack } from "@components/layout"; +import { DateInput } from "@components/date-input/index.ts"; +import { Div } from "@components/html/index.ts"; +import { Stack } from "@components/layout/index.ts"; import { subMonths, subWeeks } from "date-fns"; import { Meta, StoryObj } from "@storybook/react"; diff --git a/packages/components/src/date-input/tests/chromatic/DateRangeInput-hopper.stories.tsx b/packages/components/src/date-input/tests/chromatic/DateRangeInput-hopper.stories.tsx index 7670043a4..b8e0d244a 100644 --- a/packages/components/src/date-input/tests/chromatic/DateRangeInput-hopper.stories.tsx +++ b/packages/components/src/date-input/tests/chromatic/DateRangeInput-hopper.stories.tsx @@ -1,6 +1,6 @@ -import { DateRangeInput } from "@components/date-input"; -import { Div } from "@components/html"; -import { Stack } from "@components/layout"; +import { DateRangeInput } from "@components/date-input/index.ts"; +import { Div } from "@components/html/index.ts"; +import { Stack } from "@components/layout/index.ts"; import { Meta, StoryObj } from "@storybook/react"; diff --git a/packages/components/src/date-input/tests/chromatic/DateRangeInput.stories.tsx b/packages/components/src/date-input/tests/chromatic/DateRangeInput.stories.tsx index 09c733eb5..972ed5d22 100644 --- a/packages/components/src/date-input/tests/chromatic/DateRangeInput.stories.tsx +++ b/packages/components/src/date-input/tests/chromatic/DateRangeInput.stories.tsx @@ -1,6 +1,6 @@ -import { DateRangeInput } from "@components/date-input"; -import { Div } from "@components/html"; -import { Stack } from "@components/layout"; +import { DateRangeInput } from "@components/date-input/index.ts"; +import { Div } from "@components/html/index.ts"; +import { Stack } from "@components/layout/index.ts"; import { Meta, StoryObj } from "@storybook/react"; diff --git a/packages/components/src/date-input/tests/chromatic/DateRangeInputCompact-hopper.stories.tsx b/packages/components/src/date-input/tests/chromatic/DateRangeInputCompact-hopper.stories.tsx index fbdc0522c..b0d7de745 100644 --- a/packages/components/src/date-input/tests/chromatic/DateRangeInputCompact-hopper.stories.tsx +++ b/packages/components/src/date-input/tests/chromatic/DateRangeInputCompact-hopper.stories.tsx @@ -1,6 +1,6 @@ -import { DateRangeInput } from "@components/date-input"; -import { Div } from "@components/html"; -import { Stack } from "@components/layout"; +import { DateRangeInput } from "@components/date-input/index.ts"; +import { Div } from "@components/html/index.ts"; +import { Stack } from "@components/layout/index.ts"; import { subMonths, subWeeks } from "date-fns"; import { Meta, StoryObj } from "@storybook/react"; diff --git a/packages/components/src/date-input/tests/chromatic/DateRangeInputCompact.stories.tsx b/packages/components/src/date-input/tests/chromatic/DateRangeInputCompact.stories.tsx index 5a5b50c8a..d22cff6d7 100644 --- a/packages/components/src/date-input/tests/chromatic/DateRangeInputCompact.stories.tsx +++ b/packages/components/src/date-input/tests/chromatic/DateRangeInputCompact.stories.tsx @@ -1,6 +1,6 @@ -import { DateRangeInput } from "@components/date-input"; -import { Div } from "@components/html"; -import { Stack } from "@components/layout"; +import { DateRangeInput } from "@components/date-input/index.ts"; +import { Div } from "@components/html/index.ts"; +import { Stack } from "@components/layout/index.ts"; import { subMonths, subWeeks } from "date-fns"; import { Meta, StoryObj } from "@storybook/react"; diff --git a/packages/components/src/date-input/tests/chromatic/DateRangeInputExpanded-hopper.stories.tsx b/packages/components/src/date-input/tests/chromatic/DateRangeInputExpanded-hopper.stories.tsx index 0d03c1183..ddb862f0a 100644 --- a/packages/components/src/date-input/tests/chromatic/DateRangeInputExpanded-hopper.stories.tsx +++ b/packages/components/src/date-input/tests/chromatic/DateRangeInputExpanded-hopper.stories.tsx @@ -1,6 +1,6 @@ -import { DateRangeInput } from "@components/date-input"; -import { Div } from "@components/html"; -import { Stack } from "@components/layout"; +import { DateRangeInput } from "@components/date-input/index.ts"; +import { Div } from "@components/html/index.ts"; +import { Stack } from "@components/layout/index.ts"; import { subMonths, subWeeks } from "date-fns"; import { Meta, StoryObj } from "@storybook/react"; diff --git a/packages/components/src/date-input/tests/chromatic/DateRangeInputExpanded.stories.tsx b/packages/components/src/date-input/tests/chromatic/DateRangeInputExpanded.stories.tsx index cca409fa3..5f459a44b 100644 --- a/packages/components/src/date-input/tests/chromatic/DateRangeInputExpanded.stories.tsx +++ b/packages/components/src/date-input/tests/chromatic/DateRangeInputExpanded.stories.tsx @@ -1,6 +1,6 @@ -import { DateRangeInput } from "@components/date-input"; -import { Div } from "@components/html"; -import { Stack } from "@components/layout"; +import { DateRangeInput } from "@components/date-input/index.ts"; +import { Div } from "@components/html/index.ts"; +import { Stack } from "@components/layout/index.ts"; import { subMonths, subWeeks } from "date-fns"; import { Meta, StoryObj } from "@storybook/react"; diff --git a/packages/components/src/date-input/tests/jest/DateInput.ssr.test.tsx b/packages/components/src/date-input/tests/jest/DateInput.ssr.test.tsx index 952967bd9..8df9e3634 100644 --- a/packages/components/src/date-input/tests/jest/DateInput.ssr.test.tsx +++ b/packages/components/src/date-input/tests/jest/DateInput.ssr.test.tsx @@ -1,7 +1,7 @@ /** * @jest-environment node */ -import { DateInput } from "@components/date-input"; +import { DateInput } from "@components/date-input/index.ts"; import { renderToString } from "react-dom/server"; import { throwOnConsoleLogs } from "@test-utils"; diff --git a/packages/components/src/date-input/tests/jest/DateInput.test.tsx b/packages/components/src/date-input/tests/jest/DateInput.test.tsx index 134e632cb..a24d9c093 100644 --- a/packages/components/src/date-input/tests/jest/DateInput.test.tsx +++ b/packages/components/src/date-input/tests/jest/DateInput.test.tsx @@ -1,6 +1,6 @@ -import { Field, Label } from "@components/field"; +import { Field, Label } from "@components/field/index.ts"; import { act, screen, waitFor, renderWithTheme } from "@test-utils"; -import { DateInput } from "@components/date-input"; +import { DateInput } from "@components/date-input/index.ts"; import { createRef } from "react"; import userEvent from "@testing-library/user-event"; diff --git a/packages/components/src/date-input/tests/jest/DateRangeInput.ssr.test.tsx b/packages/components/src/date-input/tests/jest/DateRangeInput.ssr.test.tsx index c3a120ea1..6acceb151 100644 --- a/packages/components/src/date-input/tests/jest/DateRangeInput.ssr.test.tsx +++ b/packages/components/src/date-input/tests/jest/DateRangeInput.ssr.test.tsx @@ -1,7 +1,7 @@ /** * @jest-environment node */ -import { DateRangeInput } from "@components/date-input"; +import { DateRangeInput } from "@components/date-input/index.ts"; import { renderToString } from "react-dom/server"; import { throwOnConsoleLogs } from "@test-utils"; diff --git a/packages/components/src/date-input/tests/jest/DateRangeInput.test.tsx b/packages/components/src/date-input/tests/jest/DateRangeInput.test.tsx index c5905aa1a..539728e82 100644 --- a/packages/components/src/date-input/tests/jest/DateRangeInput.test.tsx +++ b/packages/components/src/date-input/tests/jest/DateRangeInput.test.tsx @@ -1,8 +1,8 @@ import { act, fireEvent, screen, waitFor, within, renderWithTheme } from "@test-utils"; -import { Button } from "@components/button"; -import { DateRangeInput } from "@components/date-input"; -import { GroupField } from "@components/field"; -import { Keys } from "@components/shared"; +import { Button } from "@components/button/index.ts"; +import { DateRangeInput } from "@components/date-input/index.ts"; +import { GroupField } from "@components/field/index.ts"; +import { Keys } from "@components/shared/index.ts"; import { createRef } from "react"; import userEvent from "@testing-library/user-event"; diff --git a/packages/components/src/dialog/src/Dialog.tsx b/packages/components/src/dialog/src/Dialog.tsx index 7e4a34a49..dec629f73 100644 --- a/packages/components/src/dialog/src/Dialog.tsx +++ b/packages/components/src/dialog/src/Dialog.tsx @@ -1,4 +1,4 @@ -import { Box, BoxProps } from "../../box"; +import { Box, BoxProps } from "../../box/index.ts" import { ComponentProps, ElementType, MouseEvent, ReactNode, SyntheticEvent, cloneElement, forwardRef, useCallback, useEffect, useMemo, useRef, useState } from "react"; import { FocusScopeContext, @@ -22,13 +22,13 @@ import { useRefState, useResizeObserver, useSlots -} from "../../shared"; -import { ResponsiveProp, useResponsiveValue } from "../../styling"; -import { Underlay, isElementInViewport, useOverlayFocusRing, useOverlayLightDismiss, useRestoreFocus, useTrapFocus } from "../../overlay"; +} from "../../shared/index.ts" +import { ResponsiveProp, useResponsiveValue } from "../../styling/index.ts" +import { Underlay, isElementInViewport, useOverlayFocusRing, useOverlayLightDismiss, useRestoreFocus, useTrapFocus } from "../../overlay/index.ts" -import { CrossButton } from "../../button"; -import { Div } from "../../html"; -import { Text } from "../../typography"; +import { CrossButton } from "../../button/index.ts" +import { Div } from "../../html/index.ts" +import { Text } from "../../typography/index.ts" import { useDialogTriggerContext } from "./DialogTriggerContext"; import { ButtonGroupContext, HeadingContext } from "@hopper-ui/components"; diff --git a/packages/components/src/dialog/src/DialogTrigger.tsx b/packages/components/src/dialog/src/DialogTrigger.tsx index b9d271e69..e3b68fbf4 100644 --- a/packages/components/src/dialog/src/DialogTrigger.tsx +++ b/packages/components/src/dialog/src/DialogTrigger.tsx @@ -9,8 +9,8 @@ import { resolveChildren, useControllableState, useEventCallback -} from "../../shared"; -import { Overlay, useOverlayTrigger } from "../../overlay"; +} from "../../shared/index.ts" +import { Overlay, useOverlayTrigger } from "../../overlay/index.ts" import { DialogTriggerContext } from "./DialogTriggerContext"; diff --git a/packages/components/src/dialog/tests/chromatic/Dialog-hopper.stories.tsx b/packages/components/src/dialog/tests/chromatic/Dialog-hopper.stories.tsx index 34735f7c5..6dfa276dd 100644 --- a/packages/components/src/dialog/tests/chromatic/Dialog-hopper.stories.tsx +++ b/packages/components/src/dialog/tests/chromatic/Dialog-hopper.stories.tsx @@ -1,11 +1,11 @@ import { Apollo11Poster, Nasa, TheMartianPoster } from "./assets"; import { Footer, Header, Heading, ButtonGroup, Button, Link } from "@hopper-ui/components"; -import { Content } from "@components/placeholders"; -import { Paragraph } from "@components/typography"; -import { Dialog } from "@components/dialog"; -import { Div } from "@components/html"; -import { Illustration } from "@components/illustration"; -import { Image } from "@components/image"; +import { Content } from "@components/placeholders/index.ts"; +import { Paragraph } from "@components/typography/index.ts"; +import { Dialog } from "@components/dialog/index.ts"; +import { Div } from "@components/html/index.ts"; +import { Illustration } from "@components/illustration/index.ts"; +import { Image } from "@components/image/index.ts"; import { Meta, StoryObj } from "@storybook/react"; const meta = { diff --git a/packages/components/src/dialog/tests/chromatic/Dialog.stories.tsx b/packages/components/src/dialog/tests/chromatic/Dialog.stories.tsx index 72218657e..8eb617610 100644 --- a/packages/components/src/dialog/tests/chromatic/Dialog.stories.tsx +++ b/packages/components/src/dialog/tests/chromatic/Dialog.stories.tsx @@ -1,12 +1,12 @@ import { Apollo11Poster, Nasa, TheMartianPoster } from "./assets"; -import { Content, Footer, Header } from "@components/placeholders"; -import { Heading, Paragraph } from "@components/typography"; -import { ButtonGroup, Button } from "@components/button"; -import { Dialog } from "@components/dialog"; -import { Div } from "@components/html"; -import { Illustration } from "@components/illustration"; -import { Image } from "@components/image"; -import { TextLink } from "@components/link"; +import { Content, Footer, Header } from "@components/placeholders/index.ts"; +import { Heading, Paragraph } from "@components/typography/index.ts"; +import { ButtonGroup, Button } from "@components/button/index.ts"; +import { Dialog } from "@components/dialog/index.ts"; +import { Div } from "@components/html/index.ts"; +import { Illustration } from "@components/illustration/index.ts"; +import { Image } from "@components/image/index.ts"; +import { TextLink } from "@components/link/index.ts"; import { Meta, StoryObj } from "@storybook/react"; const meta = { diff --git a/packages/components/src/dialog/tests/chromatic/DialogTrigger-hopper.stories.tsx b/packages/components/src/dialog/tests/chromatic/DialogTrigger-hopper.stories.tsx index 9b48db4f0..51d9c43a4 100644 --- a/packages/components/src/dialog/tests/chromatic/DialogTrigger-hopper.stories.tsx +++ b/packages/components/src/dialog/tests/chromatic/DialogTrigger-hopper.stories.tsx @@ -1,7 +1,7 @@ import { Heading, Button } from "@hopper-ui/components"; -import { Content } from "@components/placeholders"; -import { Dialog, DialogTrigger } from "@components/dialog"; -import { Paragraph } from "@components/typography"; +import { Content } from "@components/placeholders/index.ts"; +import { Dialog, DialogTrigger } from "@components/dialog/index.ts"; +import { Paragraph } from "@components/typography/index.ts"; import { Meta, StoryObj } from "@storybook/react"; const meta = { diff --git a/packages/components/src/dialog/tests/chromatic/DialogTrigger.stories.tsx b/packages/components/src/dialog/tests/chromatic/DialogTrigger.stories.tsx index d29104e67..2506afb23 100644 --- a/packages/components/src/dialog/tests/chromatic/DialogTrigger.stories.tsx +++ b/packages/components/src/dialog/tests/chromatic/DialogTrigger.stories.tsx @@ -1,7 +1,7 @@ -import { Button } from "@components/button"; -import { Content } from "@components/placeholders"; -import { Dialog, DialogTrigger } from "@components/dialog"; -import { Heading, Paragraph } from "@components/typography"; +import { Button } from "@components/button/index.ts"; +import { Content } from "@components/placeholders/index.ts"; +import { Dialog, DialogTrigger } from "@components/dialog/index.ts"; +import { Heading, Paragraph } from "@components/typography/index.ts"; import { Meta, StoryObj } from "@storybook/react"; const meta = { diff --git a/packages/components/src/dialog/tests/jest/Dialog.test.tsx b/packages/components/src/dialog/tests/jest/Dialog.test.tsx index 3fa1a3b96..95e09db2c 100644 --- a/packages/components/src/dialog/tests/jest/Dialog.test.tsx +++ b/packages/components/src/dialog/tests/jest/Dialog.test.tsx @@ -1,9 +1,9 @@ -import { Content, Footer, Header } from "@components/placeholders"; +import { Content, Footer, Header } from "@components/placeholders/index.ts"; import { act, fireEvent, screen, waitFor, renderWithTheme } from "@test-utils"; -import { Button } from "@components/button"; -import { Dialog } from "@components/dialog"; -import { Heading } from "@components/typography"; -import { Keys } from "@components/shared"; +import { Button } from "@components/button/index.ts"; +import { Dialog } from "@components/dialog/index.ts"; +import { Heading } from "@components/typography/index.ts"; +import { Keys } from "@components/shared/index.ts"; import { createRef } from "react"; import userEvent from "@testing-library/user-event"; diff --git a/packages/components/src/dialog/tests/jest/DialogTrigger.ssr.test.tsx b/packages/components/src/dialog/tests/jest/DialogTrigger.ssr.test.tsx index f7d359561..784a5b7fc 100644 --- a/packages/components/src/dialog/tests/jest/DialogTrigger.ssr.test.tsx +++ b/packages/components/src/dialog/tests/jest/DialogTrigger.ssr.test.tsx @@ -1,10 +1,10 @@ /** * @jest-environment node */ -import { Button } from "@components/button"; -import { Content } from "@components/placeholders"; -import { Dialog, DialogTrigger } from "@components/dialog"; -import { Heading } from "@components/typography"; +import { Button } from "@components/button/index.ts"; +import { Content } from "@components/placeholders/index.ts"; +import { Dialog, DialogTrigger } from "@components/dialog/index.ts"; +import { Heading } from "@components/typography/index.ts"; import { renderToString } from "react-dom/server"; import { throwOnConsoleLogs } from "@test-utils"; diff --git a/packages/components/src/dialog/tests/jest/DialogTrigger.test.tsx b/packages/components/src/dialog/tests/jest/DialogTrigger.test.tsx index c36f23b98..7e8fb90a1 100644 --- a/packages/components/src/dialog/tests/jest/DialogTrigger.test.tsx +++ b/packages/components/src/dialog/tests/jest/DialogTrigger.test.tsx @@ -1,14 +1,14 @@ -import { Dialog, DialogProps, DialogTrigger, useDialogTriggerContext } from "@components/dialog"; -import { Heading, Paragraph } from "@components/typography"; -import { Radio, RadioGroup } from "@components/radio"; +import { Dialog, DialogProps, DialogTrigger, useDialogTriggerContext } from "@components/dialog/index.ts"; +import { Heading, Paragraph } from "@components/typography/index.ts"; +import { Radio, RadioGroup } from "@components/radio/index.ts"; import { act, fireEvent, screen, waitFor, renderWithTheme } from "@test-utils"; import { createRef, forwardRef } from "react"; -import { Button } from "@components/button"; -import { Content } from "@components/placeholders"; -import { Item } from "@components/collection"; -import { Keys } from "@components/shared"; -import { Select } from "@components/select"; -import { Transition } from "@components/transition"; +import { Button } from "@components/button/index.ts"; +import { Content } from "@components/placeholders/index.ts"; +import { Item } from "@components/collection/index.ts"; +import { Keys } from "@components/shared/index.ts"; +import { Select } from "@components/select/index.ts"; +import { Transition } from "@components/transition/index.ts"; import userEvent from "@testing-library/user-event"; beforeAll(() => { diff --git a/packages/components/src/disclosure/docs/Disclosure.mdx b/packages/components/src/disclosure/docs/Disclosure.mdx index d3f516d14..443711bc3 100644 --- a/packages/components/src/disclosure/docs/Disclosure.mdx +++ b/packages/components/src/disclosure/docs/Disclosure.mdx @@ -1,7 +1,7 @@ import { ArgTypes, Meta, Canvas } from "@storybook/addon-docs"; import { ComponentInfo, Tagline } from "@stories/components"; -import { InnerDisclosure } from "@components/disclosure"; -import { InnerContent } from "@components/placeholders"; +import { InnerDisclosure } from "@components/disclosure/index.ts"; +import { InnerContent } from "@components/placeholders/index.ts"; import * as DisclosureStories from "./Disclosure.stories.tsx"; diff --git a/packages/components/src/disclosure/docs/Disclosure.stories.tsx b/packages/components/src/disclosure/docs/Disclosure.stories.tsx index 218ece008..f89ca81b9 100644 --- a/packages/components/src/disclosure/docs/Disclosure.stories.tsx +++ b/packages/components/src/disclosure/docs/Disclosure.stories.tsx @@ -1,11 +1,11 @@ -import { Button } from "@components/button"; -import { Disclosure, DisclosureArrow, useDisclosureContext } from "@components/disclosure"; -import { Div } from "@components/html"; -import { Text } from "@components/typography"; +import { Button } from "@components/button/index.ts"; +import { Disclosure, DisclosureArrow, useDisclosureContext } from "@components/disclosure/index.ts"; +import { Div } from "@components/html/index.ts"; +import { Text } from "@components/typography/index.ts"; import { useCallback, useState } from "react"; import { Meta, StoryObj } from "@storybook/react"; -import { TextLinkAsButton } from "@components/link"; +import { TextLinkAsButton } from "@components/link/index.ts"; import { AngleDownIcon } from "@hopper-ui/icons"; const meta = { diff --git a/packages/components/src/disclosure/docs/DisclosureArrow.mdx b/packages/components/src/disclosure/docs/DisclosureArrow.mdx index 97e3f9d8f..efba281f9 100644 --- a/packages/components/src/disclosure/docs/DisclosureArrow.mdx +++ b/packages/components/src/disclosure/docs/DisclosureArrow.mdx @@ -1,6 +1,6 @@ import { ArgTypes, Meta, Canvas } from "@storybook/addon-docs"; import { ComponentInfo, Tagline } from "@stories/components"; -import { InnerDisclosureArrow } from "@components/disclosure"; +import { InnerDisclosureArrow } from "@components/disclosure/index.ts"; import * as DisclosureArrowStories from "./DisclosureArrow.stories.tsx"; diff --git a/packages/components/src/disclosure/docs/DisclosureArrow.stories.tsx b/packages/components/src/disclosure/docs/DisclosureArrow.stories.tsx index d95e1da2f..0c5c0b6d2 100644 --- a/packages/components/src/disclosure/docs/DisclosureArrow.stories.tsx +++ b/packages/components/src/disclosure/docs/DisclosureArrow.stories.tsx @@ -1,8 +1,8 @@ -import { Button } from "@components/button"; -import { Disclosure, DisclosureArrow } from "@components/disclosure"; -import { Div } from "@components/html"; -import { Text } from "@components/typography"; -import { TextLinkAsButton } from "@components/link"; +import { Button } from "@components/button/index.ts"; +import { Disclosure, DisclosureArrow } from "@components/disclosure/index.ts"; +import { Div } from "@components/html/index.ts"; +import { Text } from "@components/typography/index.ts"; +import { TextLinkAsButton } from "@components/link/index.ts"; import { useCallback, useState } from "react"; import { Meta, StoryObj } from "@storybook/react"; diff --git a/packages/components/src/disclosure/src/Disclosure.tsx b/packages/components/src/disclosure/src/Disclosure.tsx index 34eac9250..8138027e3 100644 --- a/packages/components/src/disclosure/src/Disclosure.tsx +++ b/packages/components/src/disclosure/src/Disclosure.tsx @@ -13,10 +13,10 @@ import { useEventCallback, useId, useMergedRefs -} from "../../shared"; +} from "../../shared/index.ts" import { DisclosureContext } from "./DisclosureContext"; -import { Text } from "../../typography"; +import { Text } from "../../typography/index.ts" import { useSlidingTransition } from "./useSlidingTransition"; const DefaultElement = "div"; diff --git a/packages/components/src/disclosure/src/DisclosureArrow.tsx b/packages/components/src/disclosure/src/DisclosureArrow.tsx index d7e084bda..f75c0bb4d 100644 --- a/packages/components/src/disclosure/src/DisclosureArrow.tsx +++ b/packages/components/src/disclosure/src/DisclosureArrow.tsx @@ -1,8 +1,8 @@ import { AngleDownIcon } from "@hopper-ui/icons"; import { ComponentProps, forwardRef } from "react"; -import { InternalProps, OmitInternalProps, omitProps, SlotProps, StyledComponentProps, cssModule, isNil, mergeProps, slot } from "../../shared"; +import { InternalProps, OmitInternalProps, omitProps, SlotProps, StyledComponentProps, cssModule, isNil, mergeProps, slot } from "../../shared/index.ts" import { useDisclosureContext } from "./DisclosureContext"; -import { useStyledSystem } from "../../styling"; +import { useStyledSystem } from "../../styling/index.ts" const DefaultElement = "svg"; diff --git a/packages/components/src/disclosure/src/useSlidingTransition.ts b/packages/components/src/disclosure/src/useSlidingTransition.ts index 458db23cf..eca019e0f 100644 --- a/packages/components/src/disclosure/src/useSlidingTransition.ts +++ b/packages/components/src/disclosure/src/useSlidingTransition.ts @@ -1,5 +1,5 @@ import { RefObject, useCallback, useEffect, useReducer } from "react"; -import { isNil, useCommittedRef, useDisposables, useIsInitialRender } from "../../shared"; +import { isNil, useCommittedRef, useDisposables, useIsInitialRender } from "../../shared/index.ts" import { match } from "./match"; diff --git a/packages/components/src/disclosure/tests/chromatic/Disclosure.stories.tsx b/packages/components/src/disclosure/tests/chromatic/Disclosure.stories.tsx index e2cdedcd1..f600b0300 100644 --- a/packages/components/src/disclosure/tests/chromatic/Disclosure.stories.tsx +++ b/packages/components/src/disclosure/tests/chromatic/Disclosure.stories.tsx @@ -1,9 +1,9 @@ -import { Disclosure, useDisclosureContext } from "@components/disclosure"; -import { Flex, FlexProps, Stack } from "@components/layout"; +import { Disclosure, useDisclosureContext } from "@components/disclosure/index.ts"; +import { Flex, FlexProps, Stack } from "@components/layout/index.ts"; import { ArrowDownIcon, ArrowRightIcon } from "@hopper-ui/icons"; -import { Button } from "@components/button"; -import { Div } from "@components/html"; -import { TextLinkAsButton } from "@components/link"; +import { Button } from "@components/button/index.ts"; +import { Div } from "@components/html/index.ts"; +import { TextLinkAsButton } from "@components/link/index.ts"; import { Meta, StoryObj } from "@storybook/react"; const meta = { diff --git a/packages/components/src/disclosure/tests/chromatic/DisclosureArrow.stories.tsx b/packages/components/src/disclosure/tests/chromatic/DisclosureArrow.stories.tsx index 32c152ddb..0ffaaf508 100644 --- a/packages/components/src/disclosure/tests/chromatic/DisclosureArrow.stories.tsx +++ b/packages/components/src/disclosure/tests/chromatic/DisclosureArrow.stories.tsx @@ -1,5 +1,5 @@ -import { DisclosureArrow, DisclosureContext } from "@components/disclosure"; -import { Inline } from "@components/layout"; +import { DisclosureArrow, DisclosureContext } from "@components/disclosure/index.ts"; +import { Inline } from "@components/layout/index.ts"; import { Meta, StoryObj } from "@storybook/react"; const meta = { diff --git a/packages/components/src/disclosure/tests/jest/Disclosure.ssr.test.tsx b/packages/components/src/disclosure/tests/jest/Disclosure.ssr.test.tsx index 1efa12e64..5a551d9bc 100644 --- a/packages/components/src/disclosure/tests/jest/Disclosure.ssr.test.tsx +++ b/packages/components/src/disclosure/tests/jest/Disclosure.ssr.test.tsx @@ -1,9 +1,9 @@ /** * @jest-environment node */ -import { Button } from "@components/button"; -import { Content } from "@components/placeholders"; -import { Disclosure } from "@components/disclosure"; +import { Button } from "@components/button/index.ts"; +import { Content } from "@components/placeholders/index.ts"; +import { Disclosure } from "@components/disclosure/index.ts"; import { renderToString } from "react-dom/server"; import { throwOnConsoleLogs } from "@test-utils"; diff --git a/packages/components/src/disclosure/tests/jest/Disclosure.test.tsx b/packages/components/src/disclosure/tests/jest/Disclosure.test.tsx index 385ddc72e..e601c2ada 100644 --- a/packages/components/src/disclosure/tests/jest/Disclosure.test.tsx +++ b/packages/components/src/disclosure/tests/jest/Disclosure.test.tsx @@ -1,7 +1,7 @@ -import { Button } from "@components/button"; -import { Content } from "@components/placeholders"; -import { Disclosure } from "@components/disclosure"; -import { Keys } from "@components/shared"; +import { Button } from "@components/button/index.ts"; +import { Content } from "@components/placeholders/index.ts"; +import { Disclosure } from "@components/disclosure/index.ts"; +import { Keys } from "@components/shared/index.ts"; import { fireEvent, screen, waitFor, renderWithTheme } from "@test-utils"; // ***** Behaviors ***** diff --git a/packages/components/src/disclosure/tests/jest/DisclosureArrow.test.tsx b/packages/components/src/disclosure/tests/jest/DisclosureArrow.test.tsx index 6199124e7..1b7ad591b 100644 --- a/packages/components/src/disclosure/tests/jest/DisclosureArrow.test.tsx +++ b/packages/components/src/disclosure/tests/jest/DisclosureArrow.test.tsx @@ -1,4 +1,4 @@ -import { DisclosureArrow } from "@components/disclosure"; +import { DisclosureArrow } from "@components/disclosure/index.ts"; import { createRef } from "react"; import { renderWithTheme, waitFor } from "@test-utils"; diff --git a/packages/components/src/divider/docs/Divider.mdx b/packages/components/src/divider/docs/Divider.mdx index d5f923138..d7106070b 100644 --- a/packages/components/src/divider/docs/Divider.mdx +++ b/packages/components/src/divider/docs/Divider.mdx @@ -1,6 +1,6 @@ import { ArgTypes, Canvas, Meta } from "@storybook/addon-docs"; import { ComponentInfo, Tagline } from "@stories/components"; -import { InnerDivider } from "@components/divider"; +import { InnerDivider } from "@components/divider/index.ts"; import * as DividerStories from "./Divider.stories.tsx"; <Meta of={DividerStories} /> diff --git a/packages/components/src/divider/docs/Divider.stories.tsx b/packages/components/src/divider/docs/Divider.stories.tsx index 6a2979e78..8d3eadc68 100644 --- a/packages/components/src/divider/docs/Divider.stories.tsx +++ b/packages/components/src/divider/docs/Divider.stories.tsx @@ -1,9 +1,9 @@ import { Meta, StoryObj } from "@storybook/react"; -import { Div } from "@components/html"; -import { Divider } from "@components/divider"; -import { Dot } from "@components/dot"; -import { Flex } from "@components/layout"; -import { TextLink } from "@components/link"; +import { Div } from "@components/html/index.ts"; +import { Divider } from "@components/divider/index.ts"; +import { Dot } from "@components/dot/index.ts"; +import { Flex } from "@components/layout/index.ts"; +import { TextLink } from "@components/link/index.ts"; const meta = { title: "Components/Divider", diff --git a/packages/components/src/divider/src/Divider.tsx b/packages/components/src/divider/src/Divider.tsx index c33f9033a..0319f7869 100644 --- a/packages/components/src/divider/src/Divider.tsx +++ b/packages/components/src/divider/src/Divider.tsx @@ -1,8 +1,8 @@ -import { Box } from "../../box"; +import { Box } from "../../box/index.ts" import { ComponentProps, ReactNode, forwardRef } from "react"; -import { InternalProps, OmitInternalProps, StyledComponentProps, cssModule, mergeProps } from "../../shared"; -import { ResponsiveProp, useResponsiveValue } from "../../styling"; -import { Text } from "../../typography"; +import { InternalProps, OmitInternalProps, StyledComponentProps, cssModule, mergeProps } from "../../shared/index.ts" +import { ResponsiveProp, useResponsiveValue } from "../../styling/index.ts" +import { Text } from "../../typography/index.ts" const DefaultElement = "div"; diff --git a/packages/components/src/divider/tests/chromatic/Divider.stories.tsx b/packages/components/src/divider/tests/chromatic/Divider.stories.tsx index 3b7807b03..ce1d04b20 100644 --- a/packages/components/src/divider/tests/chromatic/Divider.stories.tsx +++ b/packages/components/src/divider/tests/chromatic/Divider.stories.tsx @@ -1,7 +1,7 @@ -import { Div } from "@components/html"; -import { Divider } from "@components/divider"; -import { Stack } from "@components/layout"; -import { Text } from "@components/typography"; +import { Div } from "@components/html/index.ts"; +import { Divider } from "@components/divider/index.ts"; +import { Stack } from "@components/layout/index.ts"; +import { Text } from "@components/typography/index.ts"; import { Meta, StoryObj } from "@storybook/react"; const meta = { diff --git a/packages/components/src/divider/tests/chromatic/DividerVertical.stories.tsx b/packages/components/src/divider/tests/chromatic/DividerVertical.stories.tsx index b489ccb85..f419a3856 100644 --- a/packages/components/src/divider/tests/chromatic/DividerVertical.stories.tsx +++ b/packages/components/src/divider/tests/chromatic/DividerVertical.stories.tsx @@ -1,9 +1,9 @@ -import { Div } from "@components/html"; -import { Divider } from "@components/divider"; -import { Dot } from "@components/dot"; -import { Flex, Inline } from "@components/layout"; -import { Text } from "@components/typography"; -import { TextLink } from "@components/link"; +import { Div } from "@components/html/index.ts"; +import { Divider } from "@components/divider/index.ts"; +import { Dot } from "@components/dot/index.ts"; +import { Flex, Inline } from "@components/layout/index.ts"; +import { Text } from "@components/typography/index.ts"; +import { TextLink } from "@components/link/index.ts"; import { Meta, StoryObj } from "@storybook/react"; const meta = { diff --git a/packages/components/src/divider/tests/jest/Divider.ssr.test.tsx b/packages/components/src/divider/tests/jest/Divider.ssr.test.tsx index 57727b1e3..a9db35096 100644 --- a/packages/components/src/divider/tests/jest/Divider.ssr.test.tsx +++ b/packages/components/src/divider/tests/jest/Divider.ssr.test.tsx @@ -1,7 +1,7 @@ /** * @jest-environment node */ -import { Divider } from "@components/divider"; +import { Divider } from "@components/divider/index.ts"; import { renderToString } from "react-dom/server"; import { throwOnConsoleLogs } from "@test-utils"; diff --git a/packages/components/src/divider/tests/jest/Divider.test.tsx b/packages/components/src/divider/tests/jest/Divider.test.tsx index 955be65d2..d17d1703e 100644 --- a/packages/components/src/divider/tests/jest/Divider.test.tsx +++ b/packages/components/src/divider/tests/jest/Divider.test.tsx @@ -1,4 +1,4 @@ -import { Divider } from "@components/divider"; +import { Divider } from "@components/divider/index.ts"; import { createRef } from "react"; import { renderWithTheme, waitFor } from "@test-utils"; diff --git a/packages/components/src/dot/docs/Dot.mdx b/packages/components/src/dot/docs/Dot.mdx index 3dd3f16df..9e83e8424 100644 --- a/packages/components/src/dot/docs/Dot.mdx +++ b/packages/components/src/dot/docs/Dot.mdx @@ -1,7 +1,7 @@ import { ArgTypes, Canvas, Meta } from "@storybook/addon-docs"; import { ComponentInfo } from "@stories/components"; -import { InnerDot } from "@components/dot"; -import { Inline } from "@components/layout"; +import { InnerDot } from "@components/dot/index.ts"; +import { Inline } from "@components/layout/index.ts"; import * as DotStories from "./Dot.stories.tsx"; <Meta of={DotStories} /> diff --git a/packages/components/src/dot/docs/Dot.stories.tsx b/packages/components/src/dot/docs/Dot.stories.tsx index 4812c8e79..8630d2084 100644 --- a/packages/components/src/dot/docs/Dot.stories.tsx +++ b/packages/components/src/dot/docs/Dot.stories.tsx @@ -1,5 +1,5 @@ -import { Dot } from "@components/dot"; -import { Inline } from "@components/layout"; +import { Dot } from "@components/dot/index.ts"; +import { Inline } from "@components/layout/index.ts"; import { Meta, StoryObj } from "@storybook/react/*"; const meta = { diff --git a/packages/components/src/dot/src/Dot.tsx b/packages/components/src/dot/src/Dot.tsx index 2d7aa5558..710951f8e 100644 --- a/packages/components/src/dot/src/Dot.tsx +++ b/packages/components/src/dot/src/Dot.tsx @@ -1,8 +1,8 @@ -import { IconColorMapping, BackgroundColorProp, useResponsiveValue } from "../../styling"; +import { IconColorMapping, BackgroundColorProp, useResponsiveValue } from "../../styling/index.ts" import { useMemo, ComponentProps, forwardRef } from "react"; -import { InternalProps, OmitInternalProps, SlotProps, StyledComponentProps, cssModule, isNil, mergeProps, slot } from "../../shared"; -import { Box } from "../../box"; -import { Text } from "../../typography"; +import { InternalProps, OmitInternalProps, SlotProps, StyledComponentProps, cssModule, isNil, mergeProps, slot } from "../../shared/index.ts" +import { Box } from "../../box/index.ts" +import { Text } from "../../typography/index.ts" const DefaultElement = "span"; diff --git a/packages/components/src/dot/tests/chromatic/Dot.stories.tsx b/packages/components/src/dot/tests/chromatic/Dot.stories.tsx index 873274339..c71c5061a 100644 --- a/packages/components/src/dot/tests/chromatic/Dot.stories.tsx +++ b/packages/components/src/dot/tests/chromatic/Dot.stories.tsx @@ -1,6 +1,6 @@ -import { Div } from "@components/html"; -import { Dot } from "@components/dot"; -import { Inline, Stack } from "@components/layout"; +import { Div } from "@components/html/index.ts"; +import { Dot } from "@components/dot/index.ts"; +import { Inline, Stack } from "@components/layout/index.ts"; import { Meta, StoryObj } from "@storybook/react"; const meta = { diff --git a/packages/components/src/dot/tests/jest/Dot.ssr.test.tsx b/packages/components/src/dot/tests/jest/Dot.ssr.test.tsx index 132dfe33e..84721c63b 100644 --- a/packages/components/src/dot/tests/jest/Dot.ssr.test.tsx +++ b/packages/components/src/dot/tests/jest/Dot.ssr.test.tsx @@ -1,7 +1,7 @@ /** * @jest-environment node */ -import { Dot } from "@components/dot"; +import { Dot } from "@components/dot/index.ts"; import { renderToString } from "react-dom/server"; import { throwOnConsoleLogs } from "@test-utils"; diff --git a/packages/components/src/dot/tests/jest/Dot.test.tsx b/packages/components/src/dot/tests/jest/Dot.test.tsx index e28f5472c..70612d665 100644 --- a/packages/components/src/dot/tests/jest/Dot.test.tsx +++ b/packages/components/src/dot/tests/jest/Dot.test.tsx @@ -1,4 +1,4 @@ -import { Dot } from "@components/dot"; +import { Dot } from "@components/dot/index.ts"; import { createRef } from "react"; import { renderWithTheme, waitFor } from "@test-utils"; diff --git a/packages/components/src/field/docs/Field.mdx b/packages/components/src/field/docs/Field.mdx index 2b15894e7..d87b6ce1d 100644 --- a/packages/components/src/field/docs/Field.mdx +++ b/packages/components/src/field/docs/Field.mdx @@ -1,6 +1,6 @@ import { ArgTypes, Canvas, Meta } from "@storybook/addon-docs"; import { ComponentInfo, Preview, Tagline } from "@stories/components"; -import { InnerErrorMessage, InnerField, InnerGroupField, InnerHelpMessage, InnerLabel, InnerValidMessage } from "@components/field"; +import { InnerErrorMessage, InnerField, InnerGroupField, InnerHelpMessage, InnerLabel, InnerValidMessage } from "@components/field/index.ts"; import * as FieldStories from "./Field.stories.tsx"; <Meta of={FieldStories} /> diff --git a/packages/components/src/field/docs/Field.stories.tsx b/packages/components/src/field/docs/Field.stories.tsx index 51a321059..4e9cc5e17 100644 --- a/packages/components/src/field/docs/Field.stories.tsx +++ b/packages/components/src/field/docs/Field.stories.tsx @@ -1,11 +1,11 @@ /* eslint-disable react-hooks/rules-of-hooks */ import { Meta, StoryObj } from "@storybook/react"; -import { Checkbox, CheckboxGroup } from "@components/checkbox"; -import { ErrorMessage, Field, GroupField, HelpMessage, Label, useFieldInputProps, ValidMessage } from "@components/field"; -import { Inline } from "@components/layout"; -import { TextInput } from "@components/text-input"; +import { Checkbox, CheckboxGroup } from "@components/checkbox/index.ts"; +import { ErrorMessage, Field, GroupField, HelpMessage, Label, useFieldInputProps, ValidMessage } from "@components/field/index.ts"; +import { Inline } from "@components/layout/index.ts"; +import { TextInput } from "@components/text-input/index.ts"; import { useCallback, useMemo, useState } from "react"; -import { HtmlInput } from "@components/html"; +import { HtmlInput } from "@components/html/index.ts"; const meta = { title: "Components/Field", diff --git a/packages/components/src/field/src/ErrorMessage.tsx b/packages/components/src/field/src/ErrorMessage.tsx index 04fbc738f..089fcd97b 100644 --- a/packages/components/src/field/src/ErrorMessage.tsx +++ b/packages/components/src/field/src/ErrorMessage.tsx @@ -1,6 +1,6 @@ import { ComponentProps, forwardRef } from "react"; import { FieldMessage, FieldMessageDefaultElement, SharedFieldMessageProps, getValidationProps } from "./FieldMessage"; -import { OmitInternalProps, mergeProps } from "../../shared"; +import { OmitInternalProps, mergeProps } from "../../shared/index.ts" import { useFieldMessageProps } from "./FieldContext"; export function InnerErrorMessage(props: SharedFieldMessageProps) { diff --git a/packages/components/src/field/src/Field.tsx b/packages/components/src/field/src/Field.tsx index 59d2b1ba1..2d5dce496 100644 --- a/packages/components/src/field/src/Field.tsx +++ b/packages/components/src/field/src/Field.tsx @@ -1,12 +1,12 @@ -import { Box } from "../../box"; -import { ClearToolbar, useToolbarProps } from "../../toolbar"; +import { Box } from "../../box/index.ts" +import { ClearToolbar, useToolbarProps } from "../../toolbar/index.ts" import { ComponentProps, ReactNode, forwardRef } from "react"; import { FieldContext } from "./FieldContext"; -import { InternalProps, OmitInternalProps, StyledComponentProps, mergeProps } from "../../shared"; -import { ResponsiveProp, useResponsiveValue } from "../../styling"; -import { ValidationState } from "../../input"; +import { InternalProps, OmitInternalProps, StyledComponentProps, mergeProps } from "../../shared/index.ts" +import { ResponsiveProp, useResponsiveValue } from "../../styling/index.ts" +import { ValidationState } from "../../input/index.ts" import { useField } from "./useField"; -import { useFormField } from "../../form"; +import { useFormField } from "../../form/index.ts" const DefaultElement = "div"; diff --git a/packages/components/src/field/src/FieldContext.tsx b/packages/components/src/field/src/FieldContext.tsx index 1850a88c7..cf7854e9e 100644 --- a/packages/components/src/field/src/FieldContext.tsx +++ b/packages/components/src/field/src/FieldContext.tsx @@ -1,6 +1,6 @@ import { ElementType, ReactNode, createContext, useContext } from "react"; -import { HtmlLabel, Span } from "../../html"; -import { isNil } from "../../shared"; +import { HtmlLabel, Span } from "../../html/index.ts" +import { isNil } from "../../shared/index.ts" export interface FieldContextType { disabled?: boolean; diff --git a/packages/components/src/field/src/FieldMessage.tsx b/packages/components/src/field/src/FieldMessage.tsx index 2a92e714e..97572cce8 100644 --- a/packages/components/src/field/src/FieldMessage.tsx +++ b/packages/components/src/field/src/FieldMessage.tsx @@ -1,8 +1,8 @@ import { ComponentProps, ReactNode, forwardRef } from "react"; -import { InternalProps, StyledComponentProps, cssModule, mergeProps } from "../../shared"; -import { ResponsiveProp, StyleProvider, useResponsiveValue } from "../../styling"; +import { InternalProps, StyledComponentProps, cssModule, mergeProps } from "../../shared/index.ts" +import { ResponsiveProp, StyleProvider, useResponsiveValue } from "../../styling/index.ts" import { IconContext } from "@hopper-ui/icons"; -import { Text } from "../../typography"; +import { Text } from "../../typography/index.ts" export const FieldMessageDefaultElement = "div"; diff --git a/packages/components/src/field/src/GroupField.tsx b/packages/components/src/field/src/GroupField.tsx index 51e6cee75..598e57170 100644 --- a/packages/components/src/field/src/GroupField.tsx +++ b/packages/components/src/field/src/GroupField.tsx @@ -1,11 +1,11 @@ -import { Box } from "../../box"; -import { ClearToolbar, useToolbarProps } from "../../toolbar"; +import { Box } from "../../box/index.ts" +import { ClearToolbar, useToolbarProps } from "../../toolbar/index.ts" import { ComponentProps, ReactNode, forwardRef } from "react"; import { FieldContext } from "./FieldContext"; -import { InternalProps, OmitInternalProps, StyledComponentProps, mergeProps } from "../../shared"; -import { ResponsiveProp, useResponsiveValue } from "../../styling"; -import { ValidationState } from "../../input"; -import { useFormField } from "../../form"; +import { InternalProps, OmitInternalProps, StyledComponentProps, mergeProps } from "../../shared/index.ts" +import { ResponsiveProp, useResponsiveValue } from "../../styling/index.ts" +import { ValidationState } from "../../input/index.ts" +import { useFormField } from "../../form/index.ts" import { useGroupField } from "./useGroupField"; const DefaultElement = "div"; diff --git a/packages/components/src/field/src/HelpMessage.tsx b/packages/components/src/field/src/HelpMessage.tsx index a5c85e4f8..2efb3add8 100644 --- a/packages/components/src/field/src/HelpMessage.tsx +++ b/packages/components/src/field/src/HelpMessage.tsx @@ -1,6 +1,6 @@ import { ComponentProps, forwardRef } from "react"; import { FieldMessage, FieldMessageDefaultElement, SharedFieldMessageProps, getValidationProps } from "./FieldMessage"; -import { OmitInternalProps, mergeProps } from "../../shared"; +import { OmitInternalProps, mergeProps } from "../../shared/index.ts" import { useFieldMessageProps } from "./FieldContext"; export function InnerHelpMessage(props: SharedFieldMessageProps) { diff --git a/packages/components/src/field/src/Label.tsx b/packages/components/src/field/src/Label.tsx index 7c98286d1..6d29bf6d2 100644 --- a/packages/components/src/field/src/Label.tsx +++ b/packages/components/src/field/src/Label.tsx @@ -1,6 +1,6 @@ import { ComponentProps, ReactNode, forwardRef } from "react"; -import { InternalProps, OmitInternalProps, StyledComponentProps, mergeProps } from "../../shared"; -import { Text } from "../../typography"; +import { InternalProps, OmitInternalProps, StyledComponentProps, mergeProps } from "../../shared/index.ts" +import { Text } from "../../typography/index.ts" import { useFieldLabelProps } from "./FieldContext"; const DefaultElement = "label"; diff --git a/packages/components/src/field/src/ValidMessage.tsx b/packages/components/src/field/src/ValidMessage.tsx index cbb2eabc4..31aef3827 100644 --- a/packages/components/src/field/src/ValidMessage.tsx +++ b/packages/components/src/field/src/ValidMessage.tsx @@ -1,6 +1,6 @@ import { ComponentProps, forwardRef } from "react"; import { FieldMessage, FieldMessageDefaultElement, SharedFieldMessageProps, getValidationProps } from "./FieldMessage"; -import { OmitInternalProps, mergeProps } from "../../shared"; +import { OmitInternalProps, mergeProps } from "../../shared/index.ts" import { useFieldMessageProps } from "./FieldContext"; export function InnerValidMessage(props: SharedFieldMessageProps) { diff --git a/packages/components/src/field/src/useField.ts b/packages/components/src/field/src/useField.ts index 3fce8feb3..fedbf7cad 100644 --- a/packages/components/src/field/src/useField.ts +++ b/packages/components/src/field/src/useField.ts @@ -1,6 +1,6 @@ import { ForwardedRef } from "react"; -import { MergedRef, cssModule, mergeClasses, useHasChildren, useId, useIsInitialRender, useMergedRefs } from "../../shared"; -import { ValidationState } from "../../input"; +import { MergedRef, cssModule, mergeClasses, useHasChildren, useId, useIsInitialRender, useMergedRefs } from "../../shared/index.ts" +import { ValidationState } from "../../input/index.ts" import type { FieldContextType } from "./FieldContext"; export interface UseFieldProps { diff --git a/packages/components/src/field/src/useGroupField.ts b/packages/components/src/field/src/useGroupField.ts index eb28967c7..a42585f3a 100644 --- a/packages/components/src/field/src/useGroupField.ts +++ b/packages/components/src/field/src/useGroupField.ts @@ -1,6 +1,6 @@ import { ForwardedRef } from "react"; -import { MergedRef, cssModule, isNil, mergeClasses, useHasChildren, useId, useIsInitialRender, useMergedRefs } from "../../shared"; -import { ValidationState } from "../../input"; +import { MergedRef, cssModule, isNil, mergeClasses, useHasChildren, useId, useIsInitialRender, useMergedRefs } from "../../shared/index.ts" +import { ValidationState } from "../../input/index.ts" import type { FieldContextType } from "./FieldContext"; export interface UseGroupFieldProps { diff --git a/packages/components/src/field/tests/chromatic/Field.stories.tsx b/packages/components/src/field/tests/chromatic/Field.stories.tsx index 74c709f08..4a4b1ffb2 100644 --- a/packages/components/src/field/tests/chromatic/Field.stories.tsx +++ b/packages/components/src/field/tests/chromatic/Field.stories.tsx @@ -1,18 +1,18 @@ -import { DateInput, DateRangeInput } from "@components/date-input"; -import { ErrorMessage, Field, HelpMessage, Label, ValidMessage } from "@components/field"; -import { Inline, Stack } from "@components/layout"; -import { PasswordInput, TextInput } from "@components/text-input"; +import { DateInput, DateRangeInput } from "@components/date-input/index.ts"; +import { ErrorMessage, Field, HelpMessage, Label, ValidMessage } from "@components/field/index.ts"; +import { Inline, Stack } from "@components/layout/index.ts"; +import { PasswordInput, TextInput } from "@components/text-input/index.ts"; -import { Autocomplete } from "@components/autocomplete"; -import { Checkbox } from "@components/checkbox"; -import { Div } from "@components/html"; -import { InputGroup } from "@components/input-group"; -import { Item } from "@components/collection"; -import { NumberInput } from "@components/number-input"; -import { Select } from "@components/select"; -import { Switch } from "@components/switch"; -import { Text } from "@components/typography"; -import { TextArea } from "@components/text-area"; +import { Autocomplete } from "@components/autocomplete/index.ts"; +import { Checkbox } from "@components/checkbox/index.ts"; +import { Div } from "@components/html/index.ts"; +import { InputGroup } from "@components/input-group/index.ts"; +import { Item } from "@components/collection/index.ts"; +import { NumberInput } from "@components/number-input/index.ts"; +import { Select } from "@components/select/index.ts"; +import { Switch } from "@components/switch/index.ts"; +import { Text } from "@components/typography/index.ts"; +import { TextArea } from "@components/text-area/index.ts"; import { Meta, StoryObj } from "@storybook/react"; const meta = { diff --git a/packages/components/src/field/tests/chromatic/FieldMessage.stories.tsx b/packages/components/src/field/tests/chromatic/FieldMessage.stories.tsx index ecdc58515..7a35061d8 100644 --- a/packages/components/src/field/tests/chromatic/FieldMessage.stories.tsx +++ b/packages/components/src/field/tests/chromatic/FieldMessage.stories.tsx @@ -1,9 +1,9 @@ -import { Div, LI, OL, UL } from "@components/html"; -import { ErrorMessage, HelpMessage, ValidMessage } from "@components/field"; +import { Div, LI, OL, UL } from "@components/html/index.ts"; +import { ErrorMessage, HelpMessage, ValidMessage } from "@components/field/index.ts"; import { QuestionIcon, InfoIcon, WarningIcon } from "@hopper-ui/icons"; -import { Inline, Stack } from "@components/layout"; -import { Paragraph } from "@components/typography"; -import { TextLink } from "@components/link"; +import { Inline, Stack } from "@components/layout/index.ts"; +import { Paragraph } from "@components/typography/index.ts"; +import { TextLink } from "@components/link/index.ts"; import { Meta, StoryObj } from "@storybook/react"; import { ReactNode } from "react"; diff --git a/packages/components/src/field/tests/chromatic/GroupField.stories.tsx b/packages/components/src/field/tests/chromatic/GroupField.stories.tsx index 8a15d7a1a..9bef80703 100644 --- a/packages/components/src/field/tests/chromatic/GroupField.stories.tsx +++ b/packages/components/src/field/tests/chromatic/GroupField.stories.tsx @@ -1,9 +1,9 @@ -import { Button, ButtonGroup } from "@components/button"; -import { Checkbox, CheckboxGroup } from "@components/checkbox"; -import { DateRangeInput } from "@components/date-input"; -import { GroupField, HelpMessage, Label } from "@components/field"; -import { Inline, Stack } from "@components/layout"; -import { Radio, RadioGroup } from "@components/radio"; +import { Button, ButtonGroup } from "@components/button/index.ts"; +import { Checkbox, CheckboxGroup } from "@components/checkbox/index.ts"; +import { DateRangeInput } from "@components/date-input/index.ts"; +import { GroupField, HelpMessage, Label } from "@components/field/index.ts"; +import { Inline, Stack } from "@components/layout/index.ts"; +import { Radio, RadioGroup } from "@components/radio/index.ts"; import { Meta, StoryObj } from "@storybook/react"; const meta = { diff --git a/packages/components/src/field/tests/chromatic/Label.stories.tsx b/packages/components/src/field/tests/chromatic/Label.stories.tsx index f39d06e19..caa8aec70 100644 --- a/packages/components/src/field/tests/chromatic/Label.stories.tsx +++ b/packages/components/src/field/tests/chromatic/Label.stories.tsx @@ -1,7 +1,7 @@ -import { Inline } from "@components/layout"; -import { Label } from "@components/field"; -import { Span } from "@components/html"; -import { TextLink } from "@components/link"; +import { Inline } from "@components/layout/index.ts"; +import { Label } from "@components/field/index.ts"; +import { Span } from "@components/html/index.ts"; +import { TextLink } from "@components/link/index.ts"; import { Meta, StoryObj } from "@storybook/react"; const meta = { diff --git a/packages/components/src/field/tests/jest/Field.ssr.test.tsx b/packages/components/src/field/tests/jest/Field.ssr.test.tsx index 2fc483ab3..c26e5d3cb 100644 --- a/packages/components/src/field/tests/jest/Field.ssr.test.tsx +++ b/packages/components/src/field/tests/jest/Field.ssr.test.tsx @@ -1,8 +1,8 @@ /** * @jest-environment node */ -import { Field, HelpMessage, Label } from "@components/field"; -import { TextInput } from "@components/text-input"; +import { Field, HelpMessage, Label } from "@components/field/index.ts"; +import { TextInput } from "@components/text-input/index.ts"; import { renderToString } from "react-dom/server"; import { throwOnConsoleLogs } from "@test-utils"; diff --git a/packages/components/src/field/tests/jest/Field.test.tsx b/packages/components/src/field/tests/jest/Field.test.tsx index d90ae2342..6ad03e303 100644 --- a/packages/components/src/field/tests/jest/Field.test.tsx +++ b/packages/components/src/field/tests/jest/Field.test.tsx @@ -1,5 +1,5 @@ -import { Field, HelpMessage, Label } from "@components/field"; -import { TextInput } from "@components/text-input"; +import { Field, HelpMessage, Label } from "@components/field/index.ts"; +import { TextInput } from "@components/text-input/index.ts"; import { createRef } from "react"; import { renderWithTheme, screen, waitFor } from "@test-utils"; diff --git a/packages/components/src/field/tests/jest/FieldMessage.ssr.test.tsx b/packages/components/src/field/tests/jest/FieldMessage.ssr.test.tsx index 7e9b3104d..7ae07fd01 100644 --- a/packages/components/src/field/tests/jest/FieldMessage.ssr.test.tsx +++ b/packages/components/src/field/tests/jest/FieldMessage.ssr.test.tsx @@ -1,7 +1,7 @@ /** * @jest-environment node */ -import { ErrorMessage, ErrorMessageProps, HelpMessage, HelpMessageProps, ValidMessage, ValidMessageProps } from "@components/field"; +import { ErrorMessage, ErrorMessageProps, HelpMessage, HelpMessageProps, ValidMessage, ValidMessageProps } from "@components/field/index.ts"; import { forwardRef } from "react"; import { renderToString } from "react-dom/server"; import { throwOnConsoleLogs } from "@test-utils"; diff --git a/packages/components/src/field/tests/jest/FieldMessage.test.tsx b/packages/components/src/field/tests/jest/FieldMessage.test.tsx index ed1d12151..b6b73ac7c 100644 --- a/packages/components/src/field/tests/jest/FieldMessage.test.tsx +++ b/packages/components/src/field/tests/jest/FieldMessage.test.tsx @@ -1,4 +1,4 @@ -import { ErrorMessage, ErrorMessageProps, HelpMessage, HelpMessageProps, ValidMessage, ValidMessageProps } from "@components/field"; +import { ErrorMessage, ErrorMessageProps, HelpMessage, HelpMessageProps, ValidMessage, ValidMessageProps } from "@components/field/index.ts"; import { createRef, forwardRef } from "react"; import { renderWithTheme, waitFor } from "@test-utils"; diff --git a/packages/components/src/field/tests/jest/GroupField.ssr.test.tsx b/packages/components/src/field/tests/jest/GroupField.ssr.test.tsx index 57caa0b8a..c56b23d64 100644 --- a/packages/components/src/field/tests/jest/GroupField.ssr.test.tsx +++ b/packages/components/src/field/tests/jest/GroupField.ssr.test.tsx @@ -1,8 +1,8 @@ /** * @jest-environment node */ -import { Checkbox, CheckboxGroup } from "@components/checkbox"; -import { GroupField, Label } from "@components/field"; +import { Checkbox, CheckboxGroup } from "@components/checkbox/index.ts"; +import { GroupField, Label } from "@components/field/index.ts"; import { renderToString } from "react-dom/server"; import { throwOnConsoleLogs } from "@test-utils"; diff --git a/packages/components/src/field/tests/jest/GroupField.test.tsx b/packages/components/src/field/tests/jest/GroupField.test.tsx index bd1ad699d..8121b9cd4 100644 --- a/packages/components/src/field/tests/jest/GroupField.test.tsx +++ b/packages/components/src/field/tests/jest/GroupField.test.tsx @@ -1,5 +1,5 @@ -import { Checkbox, CheckboxGroup } from "@components/checkbox"; -import { GroupField, HelpMessage, Label } from "@components/field"; +import { Checkbox, CheckboxGroup } from "@components/checkbox/index.ts"; +import { GroupField, HelpMessage, Label } from "@components/field/index.ts"; import { createRef } from "react"; import { renderWithTheme, screen, waitFor } from "@test-utils"; diff --git a/packages/components/src/field/tests/jest/Label.ssr.test.tsx b/packages/components/src/field/tests/jest/Label.ssr.test.tsx index dba211a6b..9dc842229 100644 --- a/packages/components/src/field/tests/jest/Label.ssr.test.tsx +++ b/packages/components/src/field/tests/jest/Label.ssr.test.tsx @@ -1,7 +1,7 @@ /** * @jest-environment node */ -import { Label } from "@components/field"; +import { Label } from "@components/field/index.ts"; import { renderToString } from "react-dom/server"; import { throwOnConsoleLogs } from "@test-utils"; diff --git a/packages/components/src/field/tests/jest/Label.test.tsx b/packages/components/src/field/tests/jest/Label.test.tsx index 227b219bd..856b8c3d3 100644 --- a/packages/components/src/field/tests/jest/Label.test.tsx +++ b/packages/components/src/field/tests/jest/Label.test.tsx @@ -1,4 +1,4 @@ -import { Label, LabelProps } from "@components/field"; +import { Label, LabelProps } from "@components/field/index.ts"; import { createRef, forwardRef } from "react"; import { renderWithTheme, waitFor } from "@test-utils"; diff --git a/packages/components/src/form/docs/Form.mdx b/packages/components/src/form/docs/Form.mdx index 9927a1dae..7cd5e65bf 100644 --- a/packages/components/src/form/docs/Form.mdx +++ b/packages/components/src/form/docs/Form.mdx @@ -1,6 +1,6 @@ import { ArgTypes, Canvas, Meta } from "@storybook/addon-docs"; import { ComponentInfo, Tagline } from "@stories/components"; -import { InnerFieldset, InnerForm } from "@components/form"; +import { InnerFieldset, InnerForm } from "@components/form/index.ts"; import * as FormStories from "./Form.stories.tsx"; <Meta of={FormStories} /> diff --git a/packages/components/src/form/docs/Form.stories.tsx b/packages/components/src/form/docs/Form.stories.tsx index 03d3c9f53..49b88da3b 100644 --- a/packages/components/src/form/docs/Form.stories.tsx +++ b/packages/components/src/form/docs/Form.stories.tsx @@ -1,9 +1,9 @@ -import { Button, ButtonGroup } from "@components/button"; -import { Checkbox } from "@components/checkbox"; -import { ErrorMessage, Field, HelpMessage, Label } from "@components/field"; -import { Fieldset, Form } from "@components/form"; -import { Flex, Grid, Inline, repeat } from "@components/layout"; -import { PasswordInput, TextInput } from "@components/text-input"; +import { Button, ButtonGroup } from "@components/button/index.ts"; +import { Checkbox } from "@components/checkbox/index.ts"; +import { ErrorMessage, Field, HelpMessage, Label } from "@components/field/index.ts"; +import { Fieldset, Form } from "@components/form/index.ts"; +import { Flex, Grid, Inline, repeat } from "@components/layout/index.ts"; +import { PasswordInput, TextInput } from "@components/text-input/index.ts"; import { Meta, StoryObj } from "@storybook/react"; import { useFormik } from "formik"; diff --git a/packages/components/src/form/src/Fieldset.tsx b/packages/components/src/form/src/Fieldset.tsx index 233b321dc..d6077d377 100644 --- a/packages/components/src/form/src/Fieldset.tsx +++ b/packages/components/src/form/src/Fieldset.tsx @@ -1,6 +1,6 @@ -import { Box } from "../../box"; +import { Box } from "../../box/index.ts" import { ComponentProps, ReactNode, forwardRef } from "react"; -import { InternalProps, OmitInternalProps, StyledComponentProps, mergeProps, useId } from "../../shared"; +import { InternalProps, OmitInternalProps, StyledComponentProps, mergeProps, useId } from "../../shared/index.ts" const DefaultElement = "div"; diff --git a/packages/components/src/form/src/Form.tsx b/packages/components/src/form/src/Form.tsx index 9e06965db..dae3f08ca 100644 --- a/packages/components/src/form/src/Form.tsx +++ b/packages/components/src/form/src/Form.tsx @@ -1,8 +1,8 @@ -import { Box } from "../../box"; +import { Box } from "../../box/index.ts" import { ComponentProps, ReactNode, forwardRef } from "react"; import { FormContext } from "./FormContext"; -import { InternalProps, OmitInternalProps, StyledComponentProps, cssModule, mergeProps } from "../../shared"; -import { ResponsiveProp, useResponsiveValue } from "../../styling"; +import { InternalProps, OmitInternalProps, StyledComponentProps, cssModule, mergeProps } from "../../shared/index.ts" +import { ResponsiveProp, useResponsiveValue } from "../../styling/index.ts" const DefaultElement = "form"; diff --git a/packages/components/src/form/src/FormContext.ts b/packages/components/src/form/src/FormContext.ts index e1845dbc6..9514ff85a 100644 --- a/packages/components/src/form/src/FormContext.ts +++ b/packages/components/src/form/src/FormContext.ts @@ -1,5 +1,5 @@ import { createContext, useContext } from "react"; -import { isNil } from "../../shared"; +import { isNil } from "../../shared/index.ts" export interface FormContextType { disabled?: boolean; diff --git a/packages/components/src/form/src/useFormButton.ts b/packages/components/src/form/src/useFormButton.ts index 0c7ed3f8b..09097db49 100644 --- a/packages/components/src/form/src/useFormButton.ts +++ b/packages/components/src/form/src/useFormButton.ts @@ -1,5 +1,5 @@ import { FormContextType, useFormContext } from "./FormContext"; -import { omitProps } from "../../shared"; +import { omitProps } from "../../shared/index.ts" export type FormButtonProps = Omit<FormContextType, "fluid">; diff --git a/packages/components/src/form/tests/chromatic/Fieldset.stories.tsx b/packages/components/src/form/tests/chromatic/Fieldset.stories.tsx index baf915adf..5b5c4a320 100644 --- a/packages/components/src/form/tests/chromatic/Fieldset.stories.tsx +++ b/packages/components/src/form/tests/chromatic/Fieldset.stories.tsx @@ -1,9 +1,9 @@ -import { Button } from "@components/button"; -import { Div } from "@components/html"; -import { Field, Label } from "@components/field"; -import { Fieldset, Form } from "@components/form"; -import { Inline, Stack } from "@components/layout"; -import { TextInput } from "@components/text-input"; +import { Button } from "@components/button/index.ts"; +import { Div } from "@components/html/index.ts"; +import { Field, Label } from "@components/field/index.ts"; +import { Fieldset, Form } from "@components/form/index.ts"; +import { Inline, Stack } from "@components/layout/index.ts"; +import { TextInput } from "@components/text-input/index.ts"; import { Meta, StoryObj } from "@storybook/react"; const meta = { diff --git a/packages/components/src/form/tests/chromatic/Form.stories.tsx b/packages/components/src/form/tests/chromatic/Form.stories.tsx index 81ed479ba..b3d3d99b7 100644 --- a/packages/components/src/form/tests/chromatic/Form.stories.tsx +++ b/packages/components/src/form/tests/chromatic/Form.stories.tsx @@ -1,13 +1,13 @@ -import { Button, ButtonGroup } from "@components/button"; -import { DateInput } from "@components/date-input"; -import { Div } from "@components/html"; -import { Field, GroupField, HelpMessage, Label } from "@components/field"; -import { Form } from "@components/form"; -import { Inline } from "@components/layout"; -import { Radio, RadioGroup } from "@components/radio"; -import { TextArea } from "@components/text-area"; -import { TextInput } from "@components/text-input"; -import { TextLinkAsButton } from "@components/link"; +import { Button, ButtonGroup } from "@components/button/index.ts"; +import { DateInput } from "@components/date-input/index.ts"; +import { Div } from "@components/html/index.ts"; +import { Field, GroupField, HelpMessage, Label } from "@components/field/index.ts"; +import { Form } from "@components/form/index.ts"; +import { Inline } from "@components/layout/index.ts"; +import { Radio, RadioGroup } from "@components/radio/index.ts"; +import { TextArea } from "@components/text-area/index.ts"; +import { TextInput } from "@components/text-input/index.ts"; +import { TextLinkAsButton } from "@components/link/index.ts"; import { Meta, StoryObj } from "@storybook/react"; const meta = { diff --git a/packages/components/src/form/tests/chromatic/FormFlexInline.stories.tsx b/packages/components/src/form/tests/chromatic/FormFlexInline.stories.tsx index 2f9c129fa..9e103c4ab 100644 --- a/packages/components/src/form/tests/chromatic/FormFlexInline.stories.tsx +++ b/packages/components/src/form/tests/chromatic/FormFlexInline.stories.tsx @@ -1,11 +1,11 @@ -import { Button, ButtonGroup } from "@components/button"; -import { Checkbox } from "@components/checkbox"; -import { Div } from "@components/html"; -import { ErrorMessage, Field, HelpMessage, Label } from "@components/field"; -import { Form } from "@components/form"; -import { Inline } from "@components/layout"; -import { TextInput } from "@components/text-input"; -import { TextLinkAsButton } from "@components/link"; +import { Button, ButtonGroup } from "@components/button/index.ts"; +import { Checkbox } from "@components/checkbox/index.ts"; +import { Div } from "@components/html/index.ts"; +import { ErrorMessage, Field, HelpMessage, Label } from "@components/field/index.ts"; +import { Form } from "@components/form/index.ts"; +import { Inline } from "@components/layout/index.ts"; +import { TextInput } from "@components/text-input/index.ts"; +import { TextLinkAsButton } from "@components/link/index.ts"; import { Meta, StoryObj } from "@storybook/react"; const meta = { diff --git a/packages/components/src/form/tests/chromatic/FormGridInline.stories.tsx b/packages/components/src/form/tests/chromatic/FormGridInline.stories.tsx index 0f402419c..e87805fd6 100644 --- a/packages/components/src/form/tests/chromatic/FormGridInline.stories.tsx +++ b/packages/components/src/form/tests/chromatic/FormGridInline.stories.tsx @@ -1,10 +1,10 @@ -import { Button, ButtonGroup } from "@components/button"; -import { Checkbox } from "@components/checkbox"; -import { ErrorMessage, Field, HelpMessage, Label } from "@components/field"; -import { Form } from "@components/form"; -import { Grid, repeat } from "@components/layout"; -import { TextInput } from "@components/text-input"; -import { TextLinkAsButton } from "@components/link"; +import { Button, ButtonGroup } from "@components/button/index.ts"; +import { Checkbox } from "@components/checkbox/index.ts"; +import { ErrorMessage, Field, HelpMessage, Label } from "@components/field/index.ts"; +import { Form } from "@components/form/index.ts"; +import { Grid, repeat } from "@components/layout/index.ts"; +import { TextInput } from "@components/text-input/index.ts"; +import { TextLinkAsButton } from "@components/link/index.ts"; import { Meta, StoryObj } from "@storybook/react"; const meta = { diff --git a/packages/components/src/form/tests/jest/Fieldset.ssr.test.tsx b/packages/components/src/form/tests/jest/Fieldset.ssr.test.tsx index eada3e0cd..0f15fb21e 100644 --- a/packages/components/src/form/tests/jest/Fieldset.ssr.test.tsx +++ b/packages/components/src/form/tests/jest/Fieldset.ssr.test.tsx @@ -1,9 +1,9 @@ /** * @jest-environment node */ -import { Field, Label } from "@components/field"; -import { Fieldset } from "@components/form"; -import { TextInput } from "@components/text-input"; +import { Field, Label } from "@components/field/index.ts"; +import { Fieldset } from "@components/form/index.ts"; +import { TextInput } from "@components/text-input/index.ts"; import { renderToString } from "react-dom/server"; import { throwOnConsoleLogs } from "@test-utils"; diff --git a/packages/components/src/form/tests/jest/Fieldset.test.tsx b/packages/components/src/form/tests/jest/Fieldset.test.tsx index 00f8a3ef4..58b7823b3 100644 --- a/packages/components/src/form/tests/jest/Fieldset.test.tsx +++ b/packages/components/src/form/tests/jest/Fieldset.test.tsx @@ -1,6 +1,6 @@ -import { Field, Label } from "@components/field"; -import { Fieldset, FieldsetProps } from "@components/form"; -import { TextInput } from "@components/text-input"; +import { Field, Label } from "@components/field/index.ts"; +import { Fieldset, FieldsetProps } from "@components/form/index.ts"; +import { TextInput } from "@components/text-input/index.ts"; import { createRef, forwardRef } from "react"; import { renderWithTheme, screen, waitFor } from "@test-utils"; diff --git a/packages/components/src/form/tests/jest/Form.ssr.test.tsx b/packages/components/src/form/tests/jest/Form.ssr.test.tsx index e81230150..b9880595b 100644 --- a/packages/components/src/form/tests/jest/Form.ssr.test.tsx +++ b/packages/components/src/form/tests/jest/Form.ssr.test.tsx @@ -1,7 +1,7 @@ /** * @jest-environment node */ -import { Form } from "@components/form"; +import { Form } from "@components/form/index.ts"; import { renderToString } from "react-dom/server"; import { throwOnConsoleLogs } from "@test-utils"; diff --git a/packages/components/src/form/tests/jest/Form.test.tsx b/packages/components/src/form/tests/jest/Form.test.tsx index 87452f206..07aa0bb4c 100644 --- a/packages/components/src/form/tests/jest/Form.test.tsx +++ b/packages/components/src/form/tests/jest/Form.test.tsx @@ -1,4 +1,4 @@ -import { Form, FormProps } from "@components/form"; +import { Form, FormProps } from "@components/form/index.ts"; import { createRef, forwardRef } from "react"; import { renderWithTheme, waitFor } from "@test-utils"; diff --git a/packages/components/src/group/src/Group.tsx b/packages/components/src/group/src/Group.tsx index 84a901c65..09b5eb950 100644 --- a/packages/components/src/group/src/Group.tsx +++ b/packages/components/src/group/src/Group.tsx @@ -1,7 +1,7 @@ import { ComponentProps, ElementType, ReactNode, forwardRef } from "react"; -import { Flex, FlexAlignmentProp, FlexOrientationProp, useFlexAlignment } from "../../layout"; -import { InternalProps, OmitInternalProps, StyledComponentProps, mergeProps } from "../../shared"; -import { ResponsiveProp, useResponsiveValue } from "../../styling"; +import { Flex, FlexAlignmentProp, FlexOrientationProp, useFlexAlignment } from "../../layout/index.ts" +import { InternalProps, OmitInternalProps, StyledComponentProps, mergeProps } from "../../shared/index.ts" +import { ResponsiveProp, useResponsiveValue } from "../../styling/index.ts" export type AbstractGroupProps<T extends ElementType> = InternalProps & Omit<StyledComponentProps<T>, "display" | "alignItems" | "flex" | "flexDirection" | "flexWrap" | "justifyContent"> & { /** diff --git a/packages/components/src/html/docs/address.stories.tsx b/packages/components/src/html/docs/address.stories.tsx index ee05f8732..c83bf91a1 100644 --- a/packages/components/src/html/docs/address.stories.tsx +++ b/packages/components/src/html/docs/address.stories.tsx @@ -1,5 +1,5 @@ -import { Address } from "@components/html"; -import { TextLink } from "@components/link"; +import { Address } from "@components/html/index.ts"; +import { TextLink } from "@components/link/index.ts"; import { Meta, StoryObj } from "@storybook/react"; const meta = { diff --git a/packages/components/src/html/docs/anchor.stories.tsx b/packages/components/src/html/docs/anchor.stories.tsx index 7467d9948..da30a68ad 100644 --- a/packages/components/src/html/docs/anchor.stories.tsx +++ b/packages/components/src/html/docs/anchor.stories.tsx @@ -1,4 +1,4 @@ -import { A } from "@components/html"; +import { A } from "@components/html/index.ts"; import { Meta, StoryObj } from "@storybook/react"; const meta = { diff --git a/packages/components/src/html/docs/article.stories.tsx b/packages/components/src/html/docs/article.stories.tsx index c4f5033eb..41fa196e0 100644 --- a/packages/components/src/html/docs/article.stories.tsx +++ b/packages/components/src/html/docs/article.stories.tsx @@ -1,6 +1,6 @@ import { Meta, StoryObj } from "@storybook/react"; -import { Article } from "@components/html"; -import { H1, H2, Paragraph } from "@components/typography"; +import { Article } from "@components/html/index.ts"; +import { H1, H2, Paragraph } from "@components/typography/index.ts"; const meta = { title: "Html elements/Article", diff --git a/packages/components/src/html/docs/aside.stories.tsx b/packages/components/src/html/docs/aside.stories.tsx index f3eef22eb..b0b96259d 100644 --- a/packages/components/src/html/docs/aside.stories.tsx +++ b/packages/components/src/html/docs/aside.stories.tsx @@ -1,5 +1,5 @@ -import { Aside } from "@components/html"; -import { Paragraph } from "@components/typography"; +import { Aside } from "@components/html/index.ts"; +import { Paragraph } from "@components/typography/index.ts"; import { Meta, StoryObj } from "@storybook/react"; const meta = { diff --git a/packages/components/src/html/docs/button.stories.tsx b/packages/components/src/html/docs/button.stories.tsx index 2079c7afa..0a9e6691f 100644 --- a/packages/components/src/html/docs/button.stories.tsx +++ b/packages/components/src/html/docs/button.stories.tsx @@ -1,5 +1,5 @@ -import { HtmlButton } from "@components/html"; +import { HtmlButton } from "@components/html/index.ts"; import { Meta, StoryObj } from "@storybook/react"; const meta = { diff --git a/packages/components/src/html/docs/div.stories.tsx b/packages/components/src/html/docs/div.stories.tsx index 15d631430..ee2e74dba 100644 --- a/packages/components/src/html/docs/div.stories.tsx +++ b/packages/components/src/html/docs/div.stories.tsx @@ -1,4 +1,4 @@ -import { Div } from "@components/html"; +import { Div } from "@components/html/index.ts"; import { Meta, StoryObj } from "@storybook/react"; const meta = { diff --git a/packages/components/src/html/docs/footer.stories.tsx b/packages/components/src/html/docs/footer.stories.tsx index 8eeeadc67..6c7d371a9 100644 --- a/packages/components/src/html/docs/footer.stories.tsx +++ b/packages/components/src/html/docs/footer.stories.tsx @@ -1,6 +1,6 @@ import { Meta, StoryObj } from "@storybook/react"; -import { HtmlFooter, Article, UL, LI } from "@components/html"; -import { Paragraph, H1 } from "@components/typography"; +import { HtmlFooter, Article, UL, LI } from "@components/html/index.ts"; +import { Paragraph, H1 } from "@components/typography/index.ts"; const meta = { title: "Html elements/Footer", diff --git a/packages/components/src/html/docs/header.stories.tsx b/packages/components/src/html/docs/header.stories.tsx index 6b5a6013c..c55d6b6d2 100644 --- a/packages/components/src/html/docs/header.stories.tsx +++ b/packages/components/src/html/docs/header.stories.tsx @@ -1,6 +1,6 @@ import { Meta, StoryObj } from "@storybook/react"; -import { HtmlHeader as Header, Main } from "@components/html"; -import { Paragraph, H1 } from "@components/typography"; +import { HtmlHeader as Header, Main } from "@components/html/index.ts"; +import { Paragraph, H1 } from "@components/typography/index.ts"; const meta = { title: "Html elements/Header", diff --git a/packages/components/src/html/docs/img.stories.tsx b/packages/components/src/html/docs/img.stories.tsx index dcb2fdcb6..6d1d87a97 100644 --- a/packages/components/src/html/docs/img.stories.tsx +++ b/packages/components/src/html/docs/img.stories.tsx @@ -1,4 +1,4 @@ -import { Img } from "@components/html"; +import { Img } from "@components/html/index.ts"; import { Meta, StoryObj } from "@storybook/react"; import { Planet } from "./assets"; diff --git a/packages/components/src/html/docs/input.stories.tsx b/packages/components/src/html/docs/input.stories.tsx index b90677d52..cc4207190 100644 --- a/packages/components/src/html/docs/input.stories.tsx +++ b/packages/components/src/html/docs/input.stories.tsx @@ -1,4 +1,4 @@ -import { HtmlInput } from "@components/html"; +import { HtmlInput } from "@components/html/index.ts"; import { Meta, StoryObj } from "@storybook/react"; const meta = { diff --git a/packages/components/src/html/docs/list.stories.tsx b/packages/components/src/html/docs/list.stories.tsx index 293352688..67109a615 100644 --- a/packages/components/src/html/docs/list.stories.tsx +++ b/packages/components/src/html/docs/list.stories.tsx @@ -1,4 +1,4 @@ -import { LI, UL } from "@components/html"; +import { LI, UL } from "@components/html/index.ts"; import { Meta, StoryObj } from "@storybook/react"; const meta = { diff --git a/packages/components/src/html/docs/main.stories.tsx b/packages/components/src/html/docs/main.stories.tsx index 8a323ffbc..73d4b81b9 100644 --- a/packages/components/src/html/docs/main.stories.tsx +++ b/packages/components/src/html/docs/main.stories.tsx @@ -1,6 +1,6 @@ import { Meta, StoryObj } from "@storybook/react"; -import { Main, HtmlHeader as Header } from "@components/html"; -import { Paragraph, H1 } from "@components/typography"; +import { Main, HtmlHeader as Header } from "@components/html/index.ts"; +import { Paragraph, H1 } from "@components/typography/index.ts"; const meta = { title: "Html elements/Main", diff --git a/packages/components/src/html/docs/nav.stories.tsx b/packages/components/src/html/docs/nav.stories.tsx index 6897483eb..093a4e40f 100644 --- a/packages/components/src/html/docs/nav.stories.tsx +++ b/packages/components/src/html/docs/nav.stories.tsx @@ -1,6 +1,6 @@ import { Meta, StoryObj } from "@storybook/react"; -import { Nav, UL, LI } from "@components/html"; -import { TextLink } from "@components/link"; +import { Nav, UL, LI } from "@components/html/index.ts"; +import { TextLink } from "@components/link/index.ts"; const meta = { title: "Html elements/Nav", diff --git a/packages/components/src/html/docs/section.stories.tsx b/packages/components/src/html/docs/section.stories.tsx index 1de80918c..ece0b60b2 100644 --- a/packages/components/src/html/docs/section.stories.tsx +++ b/packages/components/src/html/docs/section.stories.tsx @@ -1,6 +1,6 @@ import { Meta, StoryObj } from "@storybook/react"; -import { HtmlSection } from "@components/html"; -import { Paragraph, H1, H2 } from "@components/typography"; +import { HtmlSection } from "@components/html/index.ts"; +import { Paragraph, H1, H2 } from "@components/typography/index.ts"; const meta = { title: "Html elements/Section", diff --git a/packages/components/src/html/docs/span.stories.tsx b/packages/components/src/html/docs/span.stories.tsx index 24ac48b9d..21d5d8d0c 100644 --- a/packages/components/src/html/docs/span.stories.tsx +++ b/packages/components/src/html/docs/span.stories.tsx @@ -1,5 +1,5 @@ import { Meta, StoryObj } from "@storybook/react"; -import { Span } from "@components/html"; +import { Span } from "@components/html/index.ts"; const meta = { title: "Html elements/Span", diff --git a/packages/components/src/html/docs/table.stories.tsx b/packages/components/src/html/docs/table.stories.tsx index c11456e7e..e7dd27255 100644 --- a/packages/components/src/html/docs/table.stories.tsx +++ b/packages/components/src/html/docs/table.stories.tsx @@ -1,5 +1,5 @@ import { Meta, StoryObj } from "@storybook/react"; -import { TBody, TD, TFoot, TH, THead, TR, Table } from "@components/html"; +import { TBody, TD, TFoot, TH, THead, TR, Table } from "@components/html/index.ts"; const meta = { title: "Html elements/Table", diff --git a/packages/components/src/html/src/html.tsx b/packages/components/src/html/src/html.tsx index 84dee9e74..d07a26485 100644 --- a/packages/components/src/html/src/html.tsx +++ b/packages/components/src/html/src/html.tsx @@ -1,7 +1,7 @@ import { ComponentProps, ElementType } from "react"; import { htmlElement } from "./htmlElement"; -import { isNil } from "../../shared"; +import { isNil } from "../../shared/index.ts" // Sectioning & Content sectioning diff --git a/packages/components/src/html/src/htmlElement.tsx b/packages/components/src/html/src/htmlElement.tsx index 27c8d226e..bb39fb107 100644 --- a/packages/components/src/html/src/htmlElement.tsx +++ b/packages/components/src/html/src/htmlElement.tsx @@ -1,6 +1,6 @@ import { ElementRef, ElementType, PropsWithChildren, forwardRef } from "react"; -import { SlotProps, StyledComponentProps, mergeProps } from "../../shared"; -import { useStyleProps, useStyledSystem } from "../../styling"; +import { SlotProps, StyledComponentProps, mergeProps } from "../../shared/index.ts" +import { useStyleProps, useStyledSystem } from "../../styling/index.ts" // Adding the "as" prop to the HTML element components is not an ideal solution but a necessary one for now until we completly remove "as" support from Orbiter. // We must do this, because a component like Button which support the "as" prop also need to use the HtmlButton component as a base element to benefit from our CSS normalizing. diff --git a/packages/components/src/html/src/index.tsx b/packages/components/src/html/src/index.tsx index 6aea97af3..49f5e1815 100644 --- a/packages/components/src/html/src/index.tsx +++ b/packages/components/src/html/src/index.tsx @@ -1 +1 @@ -export * from "./html"; +export * from "./html.tsx"; diff --git a/packages/components/src/html/tests/chromatic/html.stories.tsx b/packages/components/src/html/tests/chromatic/html.stories.tsx index f524a7a9b..008199417 100644 --- a/packages/components/src/html/tests/chromatic/html.stories.tsx +++ b/packages/components/src/html/tests/chromatic/html.stories.tsx @@ -1,6 +1,6 @@ -import { A } from "@components/html"; -import { Inline } from "@components/layout"; -import { StyleProvider } from "@components/styling"; +import { A } from "@components/html/index.ts"; +import { Inline } from "@components/layout/index.ts"; +import { StyleProvider } from "@components/styling/index.ts"; import { Meta, StoryObj } from "@storybook/react"; import { PropsWithChildren } from "react"; diff --git a/packages/components/src/html/tests/jest/html.test.tsx b/packages/components/src/html/tests/jest/html.test.tsx index 27f026a72..b202c9a82 100644 --- a/packages/components/src/html/tests/jest/html.test.tsx +++ b/packages/components/src/html/tests/jest/html.test.tsx @@ -1,4 +1,4 @@ -import { A } from "@components/html"; +import { A } from "@components/html/index.ts"; import { createRef } from "react"; import { renderWithTheme, waitFor } from "@test-utils"; diff --git a/packages/components/src/html/tests/typescript/html.tsx b/packages/components/src/html/tests/typescript/html.tsx index 60146b487..0eb9cb5c7 100644 --- a/packages/components/src/html/tests/typescript/html.tsx +++ b/packages/components/src/html/tests/typescript/html.tsx @@ -1,4 +1,4 @@ -import { A } from "@components/html"; +import { A } from "@components/html/index.ts"; import { ComponentProps, createRef } from "react"; import { expectAssignable } from "@test-utils"; diff --git a/packages/components/src/icons/src/IconList.tsx b/packages/components/src/icons/src/IconList.tsx index 487753e8a..4e826ec41 100644 --- a/packages/components/src/icons/src/IconList.tsx +++ b/packages/components/src/icons/src/IconList.tsx @@ -1,6 +1,6 @@ import { Children, ComponentProps, ReactElement, ReactNode, cloneElement, forwardRef } from "react"; -import { Inline } from "../../layout"; -import { InternalProps, OmitInternalProps, SlotProps, StyledComponentProps, slot } from "../../shared"; +import { Inline } from "../../layout/index.ts" +import { InternalProps, OmitInternalProps, SlotProps, StyledComponentProps, slot } from "../../shared/index.ts" const DefaultElement = "span"; diff --git a/packages/components/src/icons/tests/chromatic/IconList.stories.tsx b/packages/components/src/icons/tests/chromatic/IconList.stories.tsx index d456d484e..c985cf35e 100644 --- a/packages/components/src/icons/tests/chromatic/IconList.stories.tsx +++ b/packages/components/src/icons/tests/chromatic/IconList.stories.tsx @@ -1,6 +1,6 @@ -import { IconList, IconListProps } from "@components/icons"; +import { IconList, IconListProps } from "@components/icons/index.ts"; import { CatIcon, SparklesIcon, RocketIcon } from "@hopper-ui/icons"; -import { Stack } from "@components/layout"; +import { Stack } from "@components/layout/index.ts"; import { Meta, StoryObj } from "@storybook/react"; const meta = { diff --git a/packages/components/src/icons/tests/jest/IconList.ssr.test.tsx b/packages/components/src/icons/tests/jest/IconList.ssr.test.tsx index bf99eb293..50db6daa9 100644 --- a/packages/components/src/icons/tests/jest/IconList.ssr.test.tsx +++ b/packages/components/src/icons/tests/jest/IconList.ssr.test.tsx @@ -2,7 +2,7 @@ * @jest-environment node */ import { CheckmarkIcon } from "@hopper-ui/icons"; -import { IconList } from "@components/icons"; +import { IconList } from "@components/icons/index.ts"; import { renderToString } from "react-dom/server"; import { throwOnConsoleLogs } from "@test-utils"; diff --git a/packages/components/src/icons/tests/jest/IconList.test.tsx b/packages/components/src/icons/tests/jest/IconList.test.tsx index c2ca127e7..bb63970a2 100644 --- a/packages/components/src/icons/tests/jest/IconList.test.tsx +++ b/packages/components/src/icons/tests/jest/IconList.test.tsx @@ -1,4 +1,4 @@ -import { IconList, IconListProps } from "@components/icons"; +import { IconList, IconListProps } from "@components/icons/index.ts"; import { CheckmarkIcon } from "@hopper-ui/icons"; import { createRef, forwardRef } from "react"; import { renderWithTheme, waitFor } from "@test-utils"; diff --git a/packages/components/src/illustrated-message/docs/IllustratedMessage.mdx b/packages/components/src/illustrated-message/docs/IllustratedMessage.mdx index cd2abdd07..560d3d817 100644 --- a/packages/components/src/illustrated-message/docs/IllustratedMessage.mdx +++ b/packages/components/src/illustrated-message/docs/IllustratedMessage.mdx @@ -1,6 +1,6 @@ import { ArgTypes, Meta, Canvas } from "@storybook/addon-docs"; import { ComponentInfo, Preview, Tagline } from "@stories/components"; -import { InnerIllustratedMessage } from "@components/illustrated-message"; +import { InnerIllustratedMessage } from "@components/illustrated-message/index.ts"; import * as IllustratedMessageStories from "./IllustratedMessage.stories.tsx"; diff --git a/packages/components/src/illustrated-message/docs/IllustratedMessage.stories.tsx b/packages/components/src/illustrated-message/docs/IllustratedMessage.stories.tsx index 51f4cd8cd..00eb54936 100644 --- a/packages/components/src/illustrated-message/docs/IllustratedMessage.stories.tsx +++ b/packages/components/src/illustrated-message/docs/IllustratedMessage.stories.tsx @@ -1,8 +1,8 @@ -import { IllustratedMessage } from "@components/illustrated-message"; -import { SvgImage } from "@components/image"; +import { IllustratedMessage } from "@components/illustrated-message/index.ts"; +import { SvgImage } from "@components/image/index.ts"; import { NoResults } from "./assets"; -import { Heading } from "@components/typography"; -import { Content } from "@components/placeholders"; +import { Heading } from "@components/typography/index.ts"; +import { Content } from "@components/placeholders/index.ts"; import { Meta, StoryObj } from "@storybook/react"; diff --git a/packages/components/src/illustrated-message/src/IllustratedMessage.tsx b/packages/components/src/illustrated-message/src/IllustratedMessage.tsx index bac1e3b97..a20901adb 100644 --- a/packages/components/src/illustrated-message/src/IllustratedMessage.tsx +++ b/packages/components/src/illustrated-message/src/IllustratedMessage.tsx @@ -1,9 +1,9 @@ -import { Box } from "../../box"; +import { Box } from "../../box/index.ts" import { ComponentProps, ReactNode, forwardRef, useMemo } from "react"; -import { Flex } from "../../layout"; -import { InternalProps, OmitInternalProps, StyledComponentProps, cssModule, mergeProps, useSlots } from "../../shared"; -import { ResponsiveProp, useResponsiveValue } from "../../styling"; -import { Text } from "../../typography"; +import { Flex } from "../../layout/index.ts" +import { InternalProps, OmitInternalProps, StyledComponentProps, cssModule, mergeProps, useSlots } from "../../shared/index.ts" +import { ResponsiveProp, useResponsiveValue } from "../../styling/index.ts" +import { Text } from "../../typography/index.ts" const DefaultElement = "div"; diff --git a/packages/components/src/illustrated-message/tests/chromatic/IllustratedMessage-hopper.stories.tsx b/packages/components/src/illustrated-message/tests/chromatic/IllustratedMessage-hopper.stories.tsx index 917e6ecbe..41ba7c4a5 100644 --- a/packages/components/src/illustrated-message/tests/chromatic/IllustratedMessage-hopper.stories.tsx +++ b/packages/components/src/illustrated-message/tests/chromatic/IllustratedMessage-hopper.stories.tsx @@ -1,9 +1,9 @@ -import { Box } from "@components/box"; -import { Content } from "@components/placeholders"; -import { Div } from "@components/html"; -import { IllustratedMessage } from "@components/illustrated-message"; -import { Image } from "@components/image"; -import { Inline, Stack } from "@components/layout"; +import { Box } from "@components/box/index.ts"; +import { Content } from "@components/placeholders/index.ts"; +import { Div } from "@components/html/index.ts"; +import { IllustratedMessage } from "@components/illustrated-message/index.ts"; +import { Image } from "@components/image/index.ts"; +import { Inline, Stack } from "@components/layout/index.ts"; import { Heading } from "@hopper-ui/components"; import { Nasa } from "./assets"; import { Meta, StoryObj } from "@storybook/react"; diff --git a/packages/components/src/illustrated-message/tests/chromatic/IllustratedMessage.stories.tsx b/packages/components/src/illustrated-message/tests/chromatic/IllustratedMessage.stories.tsx index b0a1f31ad..de2e99366 100644 --- a/packages/components/src/illustrated-message/tests/chromatic/IllustratedMessage.stories.tsx +++ b/packages/components/src/illustrated-message/tests/chromatic/IllustratedMessage.stories.tsx @@ -1,10 +1,10 @@ -import { Box } from "@components/box"; -import { Content } from "@components/placeholders"; -import { Div } from "@components/html"; -import { Heading } from "@components/typography"; -import { IllustratedMessage } from "@components/illustrated-message"; -import { Image } from "@components/image"; -import { Inline, Stack } from "@components/layout"; +import { Box } from "@components/box/index.ts"; +import { Content } from "@components/placeholders/index.ts"; +import { Div } from "@components/html/index.ts"; +import { Heading } from "@components/typography/index.ts"; +import { IllustratedMessage } from "@components/illustrated-message/index.ts"; +import { Image } from "@components/image/index.ts"; +import { Inline, Stack } from "@components/layout/index.ts"; import { Nasa } from "./assets"; import { Meta, StoryObj } from "@storybook/react"; diff --git a/packages/components/src/illustrated-message/tests/jest/IllustratedMessage.ssr.test.tsx b/packages/components/src/illustrated-message/tests/jest/IllustratedMessage.ssr.test.tsx index f986d6333..360866f6c 100644 --- a/packages/components/src/illustrated-message/tests/jest/IllustratedMessage.ssr.test.tsx +++ b/packages/components/src/illustrated-message/tests/jest/IllustratedMessage.ssr.test.tsx @@ -1,8 +1,8 @@ /** * @jest-environment node */ -import { Div } from "@components/html"; -import { IllustratedMessage } from "@components/illustrated-message"; +import { Div } from "@components/html/index.ts"; +import { IllustratedMessage } from "@components/illustrated-message/index.ts"; import { renderToString } from "react-dom/server"; import { throwOnConsoleLogs } from "@test-utils"; diff --git a/packages/components/src/illustrated-message/tests/jest/IllustratedMessage.test.tsx b/packages/components/src/illustrated-message/tests/jest/IllustratedMessage.test.tsx index 449cff7bd..fdd987aec 100644 --- a/packages/components/src/illustrated-message/tests/jest/IllustratedMessage.test.tsx +++ b/packages/components/src/illustrated-message/tests/jest/IllustratedMessage.test.tsx @@ -1,5 +1,5 @@ -import { Div } from "@components/html"; -import { IllustratedMessage } from "@components/illustrated-message"; +import { Div } from "@components/html/index.ts"; +import { IllustratedMessage } from "@components/illustrated-message/index.ts"; import { createRef } from "react"; import { renderWithTheme, waitFor } from "@test-utils"; diff --git a/packages/components/src/illustration/docs/Illustration.mdx b/packages/components/src/illustration/docs/Illustration.mdx index f22a24360..f7d422075 100644 --- a/packages/components/src/illustration/docs/Illustration.mdx +++ b/packages/components/src/illustration/docs/Illustration.mdx @@ -1,6 +1,6 @@ import { ArgTypes, Canvas, Meta } from "@storybook/addon-docs"; import { ComponentInfo, Tagline } from "@stories/components"; -import { InnerIllustration } from "@components/illustration"; +import { InnerIllustration } from "@components/illustration/index.ts"; import * as IllustrationStories from "./Illustration.stories.tsx"; <Meta of={IllustrationStories} /> diff --git a/packages/components/src/illustration/docs/Illustration.stories.tsx b/packages/components/src/illustration/docs/Illustration.stories.tsx index ded067bdf..38aa8522f 100644 --- a/packages/components/src/illustration/docs/Illustration.stories.tsx +++ b/packages/components/src/illustration/docs/Illustration.stories.tsx @@ -1,6 +1,6 @@ import { Meta, StoryObj } from "@storybook/react"; -import { Illustration } from "@components/illustration"; -import { Image } from "@components/image"; +import { Illustration } from "@components/illustration/index.ts"; +import { Image } from "@components/image/index.ts"; import { Planet } from "./assets"; const meta = { diff --git a/packages/components/src/illustration/src/Illustration.tsx b/packages/components/src/illustration/src/Illustration.tsx index 379081a59..0b2c13908 100644 --- a/packages/components/src/illustration/src/Illustration.tsx +++ b/packages/components/src/illustration/src/Illustration.tsx @@ -1,7 +1,7 @@ -import { Box } from "../../box"; +import { Box } from "../../box/index.ts" import { ComponentProps, ReactElement, ReactNode, forwardRef } from "react"; -import { InternalProps, OmitInternalProps, SlotProps, StyledComponentProps, augmentElement, cssModule, mergeProps, slot } from "../../shared"; -import { ResponsiveProp, useResponsiveValue } from "../../styling"; +import { InternalProps, OmitInternalProps, SlotProps, StyledComponentProps, augmentElement, cssModule, mergeProps, slot } from "../../shared/index.ts" +import { ResponsiveProp, useResponsiveValue } from "../../styling/index.ts" const DefaultElement = "div"; diff --git a/packages/components/src/illustration/tests/chromatic/Illustration.stories.tsx b/packages/components/src/illustration/tests/chromatic/Illustration.stories.tsx index 03de91858..3c2ce56e7 100644 --- a/packages/components/src/illustration/tests/chromatic/Illustration.stories.tsx +++ b/packages/components/src/illustration/tests/chromatic/Illustration.stories.tsx @@ -1,8 +1,8 @@ -import { Box } from "@components/box"; -import { Div } from "@components/html"; -import { Illustration } from "@components/illustration"; -import { Image } from "@components/image"; -import { Inline, Stack } from "@components/layout"; +import { Box } from "@components/box/index.ts"; +import { Div } from "@components/html/index.ts"; +import { Illustration } from "@components/illustration/index.ts"; +import { Image } from "@components/image/index.ts"; +import { Inline, Stack } from "@components/layout/index.ts"; import { Meta, StoryObj } from "@storybook/react"; import { Nasa } from "./assets"; diff --git a/packages/components/src/illustration/tests/jest/Illustration.ssr.test.tsx b/packages/components/src/illustration/tests/jest/Illustration.ssr.test.tsx index d32f28c94..da5fabbb3 100644 --- a/packages/components/src/illustration/tests/jest/Illustration.ssr.test.tsx +++ b/packages/components/src/illustration/tests/jest/Illustration.ssr.test.tsx @@ -1,8 +1,8 @@ /** * @jest-environment node */ -import { Div } from "@components/html"; -import { Illustration } from "@components/illustration"; +import { Div } from "@components/html/index.ts"; +import { Illustration } from "@components/illustration/index.ts"; import { renderToString } from "react-dom/server"; import { throwOnConsoleLogs } from "@test-utils"; diff --git a/packages/components/src/illustration/tests/jest/Illustration.test.tsx b/packages/components/src/illustration/tests/jest/Illustration.test.tsx index f58454a10..5faca24f8 100644 --- a/packages/components/src/illustration/tests/jest/Illustration.test.tsx +++ b/packages/components/src/illustration/tests/jest/Illustration.test.tsx @@ -1,5 +1,5 @@ -import { Div } from "@components/html"; -import { Illustration } from "@components/illustration"; +import { Div } from "@components/html/index.ts"; +import { Illustration } from "@components/illustration/index.ts"; import { createRef } from "react"; import { renderWithTheme, waitFor } from "@test-utils"; diff --git a/packages/components/src/image/docs/Image.mdx b/packages/components/src/image/docs/Image.mdx index 26a146331..16101185d 100644 --- a/packages/components/src/image/docs/Image.mdx +++ b/packages/components/src/image/docs/Image.mdx @@ -1,6 +1,6 @@ import { ArgTypes, Meta, Canvas } from "@storybook/addon-docs"; import { ComponentInfo, Tagline } from "@stories/components"; -import { InnerImage, InnerSvgImage } from "@components/image"; +import { InnerImage, InnerSvgImage } from "@components/image/index.ts"; import * as ImageStories from "./Image.stories.tsx"; diff --git a/packages/components/src/image/docs/Image.stories.tsx b/packages/components/src/image/docs/Image.stories.tsx index ca2b1bb03..c2dd390ef 100644 --- a/packages/components/src/image/docs/Image.stories.tsx +++ b/packages/components/src/image/docs/Image.stories.tsx @@ -1,6 +1,6 @@ import { GalaxyImage, GalaxyImage2x, GalaxyImageLg, NoResults } from "./assets"; -import { Image, SvgImage } from "@components/image"; -import { Inline } from "@components/layout"; +import { Image, SvgImage } from "@components/image/index.ts"; +import { Inline } from "@components/layout/index.ts"; import { Meta, StoryObj } from "@storybook/react"; diff --git a/packages/components/src/image/src/AsyncImage.tsx b/packages/components/src/image/src/AsyncImage.tsx index bc9a11e28..868026898 100644 --- a/packages/components/src/image/src/AsyncImage.tsx +++ b/packages/components/src/image/src/AsyncImage.tsx @@ -1,7 +1,7 @@ import { AbstractImageProps, Image as OrbiterImage } from "./Image"; import { ComponentProps, ReactElement, ReactNode, forwardRef, useEffect, useState } from "react"; -import { OmitInternalProps, isNil, mergeProps, slot, useRefState } from "../../shared"; -import { useResponsiveValue } from "../../styling"; +import { OmitInternalProps, isNil, mergeProps, slot, useRefState } from "../../shared/index.ts" +import { useResponsiveValue } from "../../styling/index.ts" const DefaultElement = "img"; diff --git a/packages/components/src/image/src/Image.tsx b/packages/components/src/image/src/Image.tsx index 9dbc416f2..5be9659ff 100644 --- a/packages/components/src/image/src/Image.tsx +++ b/packages/components/src/image/src/Image.tsx @@ -1,7 +1,7 @@ -import { Box } from "../../box"; +import { Box } from "../../box/index.ts" import { ComponentProps, ElementType, forwardRef } from "react"; -import { HeightProp, ObjectFitProp, ObjectPositionProp, ResponsiveProp, WidthProp, useResponsiveValue } from "../../styling"; -import { InternalProps, OmitInternalProps, SlotProps, StyledComponentProps, cssModule, mergeProps, slot } from "../../shared"; +import { HeightProp, ObjectFitProp, ObjectPositionProp, ResponsiveProp, WidthProp, useResponsiveValue } from "../../styling/index.ts" +import { InternalProps, OmitInternalProps, SlotProps, StyledComponentProps, cssModule, mergeProps, slot } from "../../shared/index.ts" export type AbstractImageProps<T extends ElementType> = SlotProps & InternalProps & Omit<StyledComponentProps<T>, "height" | "objectFit" | "objectPosition" | "src" | "width"> & { /** diff --git a/packages/components/src/image/src/SvgImage.tsx b/packages/components/src/image/src/SvgImage.tsx index 616234805..e0ac12ac7 100644 --- a/packages/components/src/image/src/SvgImage.tsx +++ b/packages/components/src/image/src/SvgImage.tsx @@ -1,7 +1,7 @@ -import { Box } from "../../box"; +import { Box } from "../../box/index.ts" import { ComponentProps, ElementType, SVGProps, forwardRef, useCallback } from "react"; -import { FillProp, HeightProp, ResponsiveProp, StrokeProp, StyledSystemProps, WidthProp, useResponsiveValue } from "../../styling"; -import { InternalProps, OmitInternalProps, SlotProps, isNil, mergeProps, slot, useMergedRefs } from "../../shared"; +import { FillProp, HeightProp, ResponsiveProp, StrokeProp, StyledSystemProps, WidthProp, useResponsiveValue } from "../../styling/index.ts" +import { InternalProps, OmitInternalProps, SlotProps, isNil, mergeProps, slot, useMergedRefs } from "../../shared/index.ts" type OverlappingStyleProps = "fill" | "height" | "stroke" | "width"; diff --git a/packages/components/src/image/tests/chromatic/Image.stories.tsx b/packages/components/src/image/tests/chromatic/Image.stories.tsx index cb889f8ce..06d00f6e5 100644 --- a/packages/components/src/image/tests/chromatic/Image.stories.tsx +++ b/packages/components/src/image/tests/chromatic/Image.stories.tsx @@ -1,6 +1,6 @@ -import { Div } from "@components/html"; -import { Image } from "@components/image"; -import { Inline, Stack } from "@components/layout"; +import { Div } from "@components/html/index.ts"; +import { Image } from "@components/image/index.ts"; +import { Inline, Stack } from "@components/layout/index.ts"; import { Meta, StoryObj } from "@storybook/react"; import { Launch, Mars } from "./assets"; diff --git a/packages/components/src/image/tests/chromatic/SvgImage.stories.tsx b/packages/components/src/image/tests/chromatic/SvgImage.stories.tsx index 8f9f4ab83..7ecae50c3 100644 --- a/packages/components/src/image/tests/chromatic/SvgImage.stories.tsx +++ b/packages/components/src/image/tests/chromatic/SvgImage.stories.tsx @@ -1,6 +1,6 @@ -import { Inline } from "@components/layout"; +import { Inline } from "@components/layout/index.ts"; import { NoResults } from "./assets"; -import { SvgImage } from "@components/image"; +import { SvgImage } from "@components/image/index.ts"; import { Meta, StoryObj } from "@storybook/react"; const meta = { diff --git a/packages/components/src/image/tests/jest/Image.ssr.test.tsx b/packages/components/src/image/tests/jest/Image.ssr.test.tsx index dddf0594c..9fa085519 100644 --- a/packages/components/src/image/tests/jest/Image.ssr.test.tsx +++ b/packages/components/src/image/tests/jest/Image.ssr.test.tsx @@ -1,7 +1,7 @@ /** * @jest-environment node */ -import { Image } from "@components/image"; +import { Image } from "@components/image/index.ts"; import { renderToString } from "react-dom/server"; import { throwOnConsoleLogs } from "@test-utils"; diff --git a/packages/components/src/image/tests/jest/Image.test.tsx b/packages/components/src/image/tests/jest/Image.test.tsx index e29d72d0e..12e636f16 100644 --- a/packages/components/src/image/tests/jest/Image.test.tsx +++ b/packages/components/src/image/tests/jest/Image.test.tsx @@ -1,4 +1,4 @@ -import { Image } from "@components/image"; +import { Image } from "@components/image/index.ts"; import { createRef } from "react"; import { renderWithTheme, waitFor } from "@test-utils"; diff --git a/packages/components/src/image/tests/jest/SvgImage.ssr.test.tsx b/packages/components/src/image/tests/jest/SvgImage.ssr.test.tsx index c41aa2b22..d7a12368f 100644 --- a/packages/components/src/image/tests/jest/SvgImage.ssr.test.tsx +++ b/packages/components/src/image/tests/jest/SvgImage.ssr.test.tsx @@ -2,7 +2,7 @@ * @jest-environment node */ import { ComponentProps, forwardRef } from "react"; -import { SvgImage } from "@components/image"; +import { SvgImage } from "@components/image/index.ts"; import { renderToString } from "react-dom/server"; import { throwOnConsoleLogs } from "@test-utils"; diff --git a/packages/components/src/image/tests/jest/SvgImage.test.tsx b/packages/components/src/image/tests/jest/SvgImage.test.tsx index 0ffd0c12e..68e838e6b 100644 --- a/packages/components/src/image/tests/jest/SvgImage.test.tsx +++ b/packages/components/src/image/tests/jest/SvgImage.test.tsx @@ -1,5 +1,5 @@ import { ComponentProps, createRef, forwardRef } from "react"; -import { SvgImage } from "@components/image"; +import { SvgImage } from "@components/image/index.ts"; import { renderWithTheme, screen, waitFor } from "@test-utils"; const BasicSvg = forwardRef<SVGSVGElement, ComponentProps<"svg">>((props, ref) => { diff --git a/packages/components/src/input-group/docs/InputGroup.mdx b/packages/components/src/input-group/docs/InputGroup.mdx index 3c3767609..c9a06d33d 100644 --- a/packages/components/src/input-group/docs/InputGroup.mdx +++ b/packages/components/src/input-group/docs/InputGroup.mdx @@ -1,6 +1,6 @@ import { ArgTypes, Meta, Canvas } from "@storybook/addon-docs"; import { ComponentInfo, Tagline } from "@stories/components"; -import { InnerInputGroup, InnerTextAddon, InputGroup } from "@components/input-group"; +import { InnerInputGroup, InnerTextAddon, InputGroup } from "@components/input-group/index.ts"; import * as InputGroupStories from "./InputGroup.stories.tsx"; diff --git a/packages/components/src/input-group/docs/InputGroup.stories.tsx b/packages/components/src/input-group/docs/InputGroup.stories.tsx index 738ec8f7b..2bc8cec3d 100644 --- a/packages/components/src/input-group/docs/InputGroup.stories.tsx +++ b/packages/components/src/input-group/docs/InputGroup.stories.tsx @@ -1,12 +1,12 @@ -import { InputGroup, useInputGroupProps, useInputGroupAddonProps } from "@components/input-group"; -import { Item } from "@components/collection"; -import { NumberInput } from "@components/number-input"; -import { Select } from "@components/select"; -import { Stack, Flex } from "@components/layout"; -import { Text } from "@components/typography"; -import { TextInput } from "@components/text-input"; -import { HtmlInput } from "@components/html"; -import { as, mergeProps } from "@components/shared"; +import { InputGroup, useInputGroupProps, useInputGroupAddonProps } from "@components/input-group/index.ts"; +import { Item } from "@components/collection/index.ts"; +import { NumberInput } from "@components/number-input/index.ts"; +import { Select } from "@components/select/index.ts"; +import { Stack, Flex } from "@components/layout/index.ts"; +import { Text } from "@components/typography/index.ts"; +import { TextInput } from "@components/text-input/index.ts"; +import { HtmlInput } from "@components/html/index.ts"; +import { as, mergeProps } from "@components/shared/index.ts"; import { Meta, StoryObj } from "@storybook/react"; diff --git a/packages/components/src/input-group/src/InputGroup.tsx b/packages/components/src/input-group/src/InputGroup.tsx index 321d47996..032cef19e 100644 --- a/packages/components/src/input-group/src/InputGroup.tsx +++ b/packages/components/src/input-group/src/InputGroup.tsx @@ -1,7 +1,7 @@ -import { Box } from "../../box"; +import { Box } from "../../box/index.ts" import { Children, ComponentProps, ReactElement, ReactNode, forwardRef, useMemo } from "react"; -import { ClearFieldContext, useFieldInputProps } from "../../field"; -import { ClearToolbar, useToolbarProps } from "../../toolbar"; +import { ClearFieldContext, useFieldInputProps } from "../../field/index.ts" +import { ClearToolbar, useToolbarProps } from "../../toolbar/index.ts" import { InputGroupContext } from "./InputGroupContext"; import { InternalProps, @@ -15,8 +15,8 @@ import { resolveChildren, useHasChild, useMergedRefs -} from "../../shared"; -import { ResponsiveProp, useResponsiveValue } from "../../styling"; +} from "../../shared/index.ts" +import { ResponsiveProp, useResponsiveValue } from "../../styling/index.ts" import { TextAddon } from "./TextAddon"; const DefaultElement = "div"; diff --git a/packages/components/src/input-group/src/InputGroupContext.tsx b/packages/components/src/input-group/src/InputGroupContext.tsx index 5d75fe50d..d700533a2 100644 --- a/packages/components/src/input-group/src/InputGroupContext.tsx +++ b/packages/components/src/input-group/src/InputGroupContext.tsx @@ -1,7 +1,7 @@ import { ReactNode, createContext, useContext } from "react"; -import { UseFieldInputPropsReturn } from "../../field"; -import { UseToolbarPropsReturn } from "../../toolbar"; -import { isNil, mergeProps } from "../../shared"; +import { UseFieldInputPropsReturn } from "../../field/index.ts" +import { UseToolbarPropsReturn } from "../../toolbar/index.ts" +import { isNil, mergeProps } from "../../shared/index.ts" export type InputGroupContextType = { disabled?: boolean; diff --git a/packages/components/src/input-group/src/TextAddon.tsx b/packages/components/src/input-group/src/TextAddon.tsx index c0a514180..2ebc66527 100644 --- a/packages/components/src/input-group/src/TextAddon.tsx +++ b/packages/components/src/input-group/src/TextAddon.tsx @@ -1,7 +1,7 @@ -import { Box } from "../../box"; +import { Box } from "../../box/index.ts" import { ComponentProps, ReactNode, forwardRef } from "react"; -import { InternalProps, OmitInternalProps, StyledComponentProps, mergeProps } from "../../shared"; -import { useInputGroupAddonProps } from "../../input-group"; +import { InternalProps, OmitInternalProps, StyledComponentProps, mergeProps } from "../../shared/index.ts" +import { useInputGroupAddonProps } from "../../input-group/index.ts" const DefaultElement = "div"; diff --git a/packages/components/src/input-group/tests/chromatic/InputGroup.stories.tsx b/packages/components/src/input-group/tests/chromatic/InputGroup.stories.tsx index ffd754a2d..1e1c5c3f9 100644 --- a/packages/components/src/input-group/tests/chromatic/InputGroup.stories.tsx +++ b/packages/components/src/input-group/tests/chromatic/InputGroup.stories.tsx @@ -1,17 +1,17 @@ -import { Autocomplete } from "@components/autocomplete"; -import { Button, IconButton } from "@components/button"; -import { DateInput, DateRangeInput } from "@components/date-input"; -import { DisclosureArrow } from "@components/disclosure"; -import { Div } from "@components/html"; -import { Inline, Stack } from "@components/layout"; -import { InputGroup } from "@components/input-group"; -import { Item } from "@components/collection"; +import { Autocomplete } from "@components/autocomplete/index.ts"; +import { Button, IconButton } from "@components/button/index.ts"; +import { DateInput, DateRangeInput } from "@components/date-input/index.ts"; +import { DisclosureArrow } from "@components/disclosure/index.ts"; +import { Div } from "@components/html/index.ts"; +import { Inline, Stack } from "@components/layout/index.ts"; +import { InputGroup } from "@components/input-group/index.ts"; +import { Item } from "@components/collection/index.ts"; import { LightbulbIcon } from "@hopper-ui/icons"; -import { Menu, MenuTrigger } from "@components/menu"; -import { NumberInput } from "@components/number-input"; -import { PasswordInput, SearchInput, TextInput } from "@components/text-input"; -import { Select } from "@components/select"; -import { Text } from "@components/typography"; +import { Menu, MenuTrigger } from "@components/menu/index.ts"; +import { NumberInput } from "@components/number-input/index.ts"; +import { PasswordInput, SearchInput, TextInput } from "@components/text-input/index.ts"; +import { Select } from "@components/select/index.ts"; +import { Text } from "@components/typography/index.ts"; import { subMonths, subWeeks } from "date-fns"; import { Meta, StoryObj } from "@storybook/react"; diff --git a/packages/components/src/input-group/tests/jest/InputGroup.ssr.test.tsx b/packages/components/src/input-group/tests/jest/InputGroup.ssr.test.tsx index 76981090f..99b5fffe3 100644 --- a/packages/components/src/input-group/tests/jest/InputGroup.ssr.test.tsx +++ b/packages/components/src/input-group/tests/jest/InputGroup.ssr.test.tsx @@ -1,10 +1,10 @@ /** * @jest-environment node */ -import { Field, Label } from "@components/field"; -import { InputGroup } from "@components/input-group"; -import { Text } from "@components/typography"; -import { TextInput } from "@components/text-input"; +import { Field, Label } from "@components/field/index.ts"; +import { InputGroup } from "@components/input-group/index.ts"; +import { Text } from "@components/typography/index.ts"; +import { TextInput } from "@components/text-input/index.ts"; import { renderToString } from "react-dom/server"; import { throwOnConsoleLogs } from "@test-utils"; diff --git a/packages/components/src/input-group/tests/jest/InputGroup.test.tsx b/packages/components/src/input-group/tests/jest/InputGroup.test.tsx index ec4aecbc8..1944d864a 100644 --- a/packages/components/src/input-group/tests/jest/InputGroup.test.tsx +++ b/packages/components/src/input-group/tests/jest/InputGroup.test.tsx @@ -1,7 +1,7 @@ -import { Field, Label } from "@components/field"; -import { InputGroup } from "@components/input-group"; -import { Text } from "@components/typography"; -import { TextInput } from "@components/text-input"; +import { Field, Label } from "@components/field/index.ts"; +import { InputGroup } from "@components/input-group/index.ts"; +import { Text } from "@components/typography/index.ts"; +import { TextInput } from "@components/text-input/index.ts"; import { screen, waitFor, renderWithTheme } from "@test-utils"; import { createRef } from "react"; import userEvent from "@testing-library/user-event"; diff --git a/packages/components/src/input-group/tests/jest/TextAddon.ssr.test.tsx b/packages/components/src/input-group/tests/jest/TextAddon.ssr.test.tsx index 5143b9595..51b55a3b4 100644 --- a/packages/components/src/input-group/tests/jest/TextAddon.ssr.test.tsx +++ b/packages/components/src/input-group/tests/jest/TextAddon.ssr.test.tsx @@ -1,7 +1,7 @@ /** * @jest-environment node */ -import { TextAddon } from "@components/input-group"; +import { TextAddon } from "@components/input-group/index.ts"; import { renderToString } from "react-dom/server"; import { throwOnConsoleLogs } from "@test-utils"; diff --git a/packages/components/src/input-group/tests/jest/TextAddon.test.tsx b/packages/components/src/input-group/tests/jest/TextAddon.test.tsx index 6ad38221e..fc680760e 100644 --- a/packages/components/src/input-group/tests/jest/TextAddon.test.tsx +++ b/packages/components/src/input-group/tests/jest/TextAddon.test.tsx @@ -1,4 +1,4 @@ -import { TextAddon } from "@components/input-group"; +import { TextAddon } from "@components/input-group/index.ts"; import { createRef } from "react"; import { renderWithTheme, waitFor } from "@test-utils"; diff --git a/packages/components/src/input/src/adaptInputStylingProps.ts b/packages/components/src/input/src/adaptInputStylingProps.ts index 843f8f2a1..eafb2a4c7 100644 --- a/packages/components/src/input/src/adaptInputStylingProps.ts +++ b/packages/components/src/input/src/adaptInputStylingProps.ts @@ -1,7 +1,7 @@ -import { isNil, mergeProps } from "../../shared"; +import { isNil, mergeProps } from "../../shared/index.ts" import { CSSProperties } from "react"; -import { StyledSystemProps } from "../../styling"; +import { StyledSystemProps } from "../../styling/index.ts" interface CssProps { className?: string; diff --git a/packages/components/src/input/src/types.ts b/packages/components/src/input/src/types.ts index f852893a1..7b8ec5fda 100644 --- a/packages/components/src/input/src/types.ts +++ b/packages/components/src/input/src/types.ts @@ -1,6 +1,6 @@ -import { AbstractGroupProps } from "../../group"; +import { AbstractGroupProps } from "../../group/index.ts" import { ElementType, SyntheticEvent } from "react"; -import { InteractionProps, InternalProps, StyledComponentProps } from "../../shared"; +import { InteractionProps, InternalProps, StyledComponentProps } from "../../shared/index.ts" export type ValidationState = "valid" | "invalid"; diff --git a/packages/components/src/input/src/useGroupInput.ts b/packages/components/src/input/src/useGroupInput.ts index 410d8854c..b8705faab 100644 --- a/packages/components/src/input/src/useGroupInput.ts +++ b/packages/components/src/input/src/useGroupInput.ts @@ -1,9 +1,9 @@ -import { FlexAlignment, FlexOrientation } from "../../layout"; -import { GapProp } from "../../styling"; +import { FlexAlignment, FlexOrientation } from "../../layout/index.ts" +import { GapProp } from "../../styling/index.ts" import { Ref } from "react"; -import { ValidationState } from "../../input"; -import { cssModule, normalizeSize } from "../../shared"; -import { useFieldContext } from "../../field"; +import { ValidationState } from "../../input/index.ts" +import { cssModule, normalizeSize } from "../../shared/index.ts" +import { useFieldContext } from "../../field/index.ts" /* eslint-disable sort-keys, sort-keys-fix/sort-keys-fix */ const Gap = { diff --git a/packages/components/src/input/src/useInput.ts b/packages/components/src/input/src/useInput.ts index 24c0d1463..9c01a4ef2 100644 --- a/packages/components/src/input/src/useInput.ts +++ b/packages/components/src/input/src/useInput.ts @@ -1,5 +1,5 @@ import { ChangeEvent, ChangeEventHandler, ForwardedRef } from "react"; -import { cssModule, isNil, isNumber, mergeClasses, normalizeSize, Size, useAutoFocus, useEventCallback, useMergedRefs } from "../../shared"; +import { cssModule, isNil, isNumber, mergeClasses, normalizeSize, Size, useAutoFocus, useEventCallback, useMergedRefs } from "../../shared/index.ts" import { ValidationState } from "./types"; diff --git a/packages/components/src/input/src/useInputContent.tsx b/packages/components/src/input/src/useInputContent.tsx index a9938cf13..291175ff3 100644 --- a/packages/components/src/input/src/useInputContent.tsx +++ b/packages/components/src/input/src/useInputContent.tsx @@ -1,8 +1,8 @@ -import { embedIconButton } from "../../button"; -import { Spinner, SpinnerProps } from "../../spinner"; +import { embedIconButton } from "../../button/index.ts" +import { Spinner, SpinnerProps } from "../../spinner/index.ts" import { CreatedIconProps } from "@hopper-ui/icons"; import { ReactElement } from "react"; -import { augmentElement } from "../../shared"; +import { augmentElement } from "../../shared/index.ts" type UseInputIconProps = Omit<CreatedIconProps, "className" | "children">; diff --git a/packages/components/src/input/src/useInputHasFocus.ts b/packages/components/src/input/src/useInputHasFocus.ts index 89d50764d..d46914f9d 100644 --- a/packages/components/src/input/src/useInputHasFocus.ts +++ b/packages/components/src/input/src/useInputHasFocus.ts @@ -1,4 +1,4 @@ -import { useEventCallback } from "../../shared"; +import { useEventCallback } from "../../shared/index.ts" import { useState } from "react"; export function useInputHasFocus() { diff --git a/packages/components/src/input/tests/jest/adaptInputStylingProps.test.ts b/packages/components/src/input/tests/jest/adaptInputStylingProps.test.ts index 8ef241b96..6ccd3bc29 100644 --- a/packages/components/src/input/tests/jest/adaptInputStylingProps.test.ts +++ b/packages/components/src/input/tests/jest/adaptInputStylingProps.test.ts @@ -1,4 +1,4 @@ -import { adaptInputStylingProps } from "@components/input"; +import { adaptInputStylingProps } from "@components/input/index.ts"; test("when the input have a className prop, return the className value as a root prop", () => { const result = adaptInputStylingProps({ className: "earth" }, {}); diff --git a/packages/components/src/input/tests/typescript/adaptInputStylingProps.test.ts b/packages/components/src/input/tests/typescript/adaptInputStylingProps.test.ts index 4f8528b76..3e9e83932 100644 --- a/packages/components/src/input/tests/typescript/adaptInputStylingProps.test.ts +++ b/packages/components/src/input/tests/typescript/adaptInputStylingProps.test.ts @@ -1,5 +1,5 @@ -import { MarginTopProp } from "@components/styling"; -import { adaptInputStylingProps } from "@components/input"; +import { MarginTopProp } from "@components/styling/index.ts"; +import { adaptInputStylingProps } from "@components/input/index.ts"; import { expectAssignable } from "@test-utils"; const result = adaptInputStylingProps({ diff --git a/packages/components/src/layout/docs/Flex.mdx b/packages/components/src/layout/docs/Flex.mdx index 520d69bd0..cf0934490 100644 --- a/packages/components/src/layout/docs/Flex.mdx +++ b/packages/components/src/layout/docs/Flex.mdx @@ -1,6 +1,6 @@ import { ArgTypes, Canvas, Meta } from "@storybook/addon-docs"; import { ComponentInfo, Tagline } from "@stories/components"; -import { InnerFlex, InnerInline, InnerStack } from "@components/layout"; +import { InnerFlex, InnerInline, InnerStack } from "@components/layout/index.ts"; import * as FlexStories from "./Flex.stories.tsx"; <Meta of={FlexStories} /> diff --git a/packages/components/src/layout/docs/Flex.stories.tsx b/packages/components/src/layout/docs/Flex.stories.tsx index ef9a24dee..899dd7615 100644 --- a/packages/components/src/layout/docs/Flex.stories.tsx +++ b/packages/components/src/layout/docs/Flex.stories.tsx @@ -1,6 +1,6 @@ import { Meta, StoryObj } from "@storybook/react"; -import { Div } from "@components/html"; -import { Flex, Inline, Stack } from "@components/layout"; +import { Div } from "@components/html/index.ts"; +import { Flex, Inline, Stack } from "@components/layout/index.ts"; const meta = { title: "Components/Flex", diff --git a/packages/components/src/layout/docs/Grid.mdx b/packages/components/src/layout/docs/Grid.mdx index 71b1f1687..a15c41b21 100644 --- a/packages/components/src/layout/docs/Grid.mdx +++ b/packages/components/src/layout/docs/Grid.mdx @@ -1,6 +1,6 @@ import { ArgTypes, Canvas, Meta } from "@storybook/addon-docs"; import { ComponentInfo, Tagline } from "@stories/components"; -import { InnerGrid } from "@components/layout"; +import { InnerGrid } from "@components/layout/index.ts"; import * as GridStories from "./Grid.stories.tsx"; <Meta of={GridStories} /> diff --git a/packages/components/src/layout/docs/Grid.stories.tsx b/packages/components/src/layout/docs/Grid.stories.tsx index 84f558228..95c3f99e8 100644 --- a/packages/components/src/layout/docs/Grid.stories.tsx +++ b/packages/components/src/layout/docs/Grid.stories.tsx @@ -1,6 +1,6 @@ import { Meta, StoryObj } from "@storybook/react"; -import { Div } from "@components/html"; -import { Grid, fitContent, minmax, repeat } from "@components/layout"; +import { Div } from "@components/html/index.ts"; +import { Grid, fitContent, minmax, repeat } from "@components/layout/index.ts"; const meta = { title: "Components/Grid", diff --git a/packages/components/src/layout/src/Flex.tsx b/packages/components/src/layout/src/Flex.tsx index b44e7a6d2..6f515b11b 100644 --- a/packages/components/src/layout/src/Flex.tsx +++ b/packages/components/src/layout/src/Flex.tsx @@ -12,12 +12,12 @@ import { ResponsiveProp, RowGapProp, useResponsiveValue -} from "../../styling"; -import { Box } from "../../box"; +} from "../../styling/index.ts" +import { Box } from "../../box/index.ts" import { ComponentProps, ReactNode, forwardRef } from "react"; -import { InternalProps, OmitInternalProps, SlotProps, StyledComponentProps, isNil, mergeProps, omitProps } from "../../shared"; +import { InternalProps, OmitInternalProps, SlotProps, StyledComponentProps, isNil, mergeProps, omitProps } from "../../shared/index.ts" import { Property } from "csstype"; -import { useFormContext } from "../../form"; +import { useFormContext } from "../../form/index.ts" export type FlexOrientation = "horizontal" | "vertical"; export type FlexAlignment = "start" | "end" | "center"; diff --git a/packages/components/src/layout/src/Grid.tsx b/packages/components/src/layout/src/Grid.tsx index 6e8bc3702..cfdcc679a 100644 --- a/packages/components/src/layout/src/Grid.tsx +++ b/packages/components/src/layout/src/Grid.tsx @@ -15,11 +15,11 @@ import { SpacingValue, getSizingValue, useResponsiveValue -} from "../../styling"; -import { Box, type BoxProps } from "../../box"; +} from "../../styling/index.ts" +import { Box, type BoxProps } from "../../box/index.ts" import { ComponentProps, ReactNode, forwardRef } from "react"; -import { InternalProps, OmitInternalProps, SlotProps, StyledComponentProps, isArray, isNil, mergeProps } from "../../shared"; -import { useFormContext } from "../../form"; +import { InternalProps, OmitInternalProps, SlotProps, StyledComponentProps, isArray, isNil, mergeProps } from "../../shared/index.ts" +import { useFormContext } from "../../form/index.ts" // See https://developer.mozilla.org/en-US/docs/Web/CSS/repeat. export function repeat(count: number | "auto-fill" | "auto-fit", repetition: SpacingValue | SpacingValue[]) { diff --git a/packages/components/src/layout/src/Inline.tsx b/packages/components/src/layout/src/Inline.tsx index 27da74fba..1b49cb017 100644 --- a/packages/components/src/layout/src/Inline.tsx +++ b/packages/components/src/layout/src/Inline.tsx @@ -1,7 +1,7 @@ -import { ColumnGapProp, GapProp, ResponsiveProp, RowGapProp, useResponsiveValue } from "../../styling"; +import { ColumnGapProp, GapProp, ResponsiveProp, RowGapProp, useResponsiveValue } from "../../styling/index.ts" import { ComponentProps, ReactNode, forwardRef } from "react"; import { Flex, FlexAlignmentProp, useFlexAlignment } from "./Flex"; -import { InternalProps, OmitInternalProps, SlotProps, StyledComponentProps, mergeProps } from "../../shared"; +import { InternalProps, OmitInternalProps, SlotProps, StyledComponentProps, mergeProps } from "../../shared/index.ts" const DefaultElement = "div"; diff --git a/packages/components/src/layout/src/Stack.tsx b/packages/components/src/layout/src/Stack.tsx index 5aa67a4d0..276224aab 100644 --- a/packages/components/src/layout/src/Stack.tsx +++ b/packages/components/src/layout/src/Stack.tsx @@ -1,7 +1,7 @@ -import { ColumnGapProp, GapProp, ResponsiveProp, RowGapProp, useResponsiveValue } from "../../styling"; +import { ColumnGapProp, GapProp, ResponsiveProp, RowGapProp, useResponsiveValue } from "../../styling/index.ts" import { ComponentProps, ReactNode, forwardRef } from "react"; import { Flex, FlexAlignmentProp, useFlexAlignment } from "./Flex"; -import { InternalProps, OmitInternalProps, SlotProps, StyledComponentProps, mergeProps } from "../../shared"; +import { InternalProps, OmitInternalProps, SlotProps, StyledComponentProps, mergeProps } from "../../shared/index.ts" const DefaultElement = "div"; diff --git a/packages/components/src/layout/tests/chromatic/Flex.stories.tsx b/packages/components/src/layout/tests/chromatic/Flex.stories.tsx index 231611a86..051e01227 100644 --- a/packages/components/src/layout/tests/chromatic/Flex.stories.tsx +++ b/packages/components/src/layout/tests/chromatic/Flex.stories.tsx @@ -1,5 +1,5 @@ -import { Div } from "@components/html"; -import { Flex } from "@components/layout"; +import { Div } from "@components/html/index.ts"; +import { Flex } from "@components/layout/index.ts"; import { Meta, StoryObj } from "@storybook/react"; const meta = { diff --git a/packages/components/src/layout/tests/chromatic/FlexColumn.stories.tsx b/packages/components/src/layout/tests/chromatic/FlexColumn.stories.tsx index 43db057db..64e878626 100644 --- a/packages/components/src/layout/tests/chromatic/FlexColumn.stories.tsx +++ b/packages/components/src/layout/tests/chromatic/FlexColumn.stories.tsx @@ -1,5 +1,5 @@ -import { Div } from "@components/html"; -import { Flex, Inline } from "@components/layout"; +import { Div } from "@components/html/index.ts"; +import { Flex, Inline } from "@components/layout/index.ts"; import { Meta, StoryObj } from "@storybook/react"; const meta = { diff --git a/packages/components/src/layout/tests/chromatic/FlexRow.stories.tsx b/packages/components/src/layout/tests/chromatic/FlexRow.stories.tsx index 7bd10209c..b2cd0c5b4 100644 --- a/packages/components/src/layout/tests/chromatic/FlexRow.stories.tsx +++ b/packages/components/src/layout/tests/chromatic/FlexRow.stories.tsx @@ -1,5 +1,5 @@ -import { Div } from "@components/html"; -import { Flex, Inline } from "@components/layout"; +import { Div } from "@components/html/index.ts"; +import { Flex, Inline } from "@components/layout/index.ts"; import { Meta, StoryObj } from "@storybook/react"; const meta = { diff --git a/packages/components/src/layout/tests/chromatic/Grid.stories.tsx b/packages/components/src/layout/tests/chromatic/Grid.stories.tsx index b621af634..3e7550565 100644 --- a/packages/components/src/layout/tests/chromatic/Grid.stories.tsx +++ b/packages/components/src/layout/tests/chromatic/Grid.stories.tsx @@ -1,5 +1,5 @@ -import { Div } from "@components/html"; -import { Grid, Inline, Stack, fitContent, minmax, repeat } from "@components/layout"; +import { Div } from "@components/html/index.ts"; +import { Grid, Inline, Stack, fitContent, minmax, repeat } from "@components/layout/index.ts"; import { Meta, StoryObj } from "@storybook/react"; const viewports = [640, 768, 1024, 1280, 1440]; diff --git a/packages/components/src/layout/tests/chromatic/Inline.stories.tsx b/packages/components/src/layout/tests/chromatic/Inline.stories.tsx index 246b06963..45d180afe 100644 --- a/packages/components/src/layout/tests/chromatic/Inline.stories.tsx +++ b/packages/components/src/layout/tests/chromatic/Inline.stories.tsx @@ -1,5 +1,5 @@ -import { Div } from "@components/html"; -import { Inline } from "@components/layout"; +import { Div } from "@components/html/index.ts"; +import { Inline } from "@components/layout/index.ts"; import { Meta, StoryObj } from "@storybook/react"; const meta = { diff --git a/packages/components/src/layout/tests/chromatic/Stack.stories.tsx b/packages/components/src/layout/tests/chromatic/Stack.stories.tsx index 8154bd5f3..a0a2f8297 100644 --- a/packages/components/src/layout/tests/chromatic/Stack.stories.tsx +++ b/packages/components/src/layout/tests/chromatic/Stack.stories.tsx @@ -1,5 +1,5 @@ -import { Div } from "@components/html"; -import { Stack } from "@components/layout"; +import { Div } from "@components/html/index.ts"; +import { Stack } from "@components/layout/index.ts"; import { Meta, StoryObj } from "@storybook/react"; const meta = { diff --git a/packages/components/src/layout/tests/jest/Flex.ssr.test.tsx b/packages/components/src/layout/tests/jest/Flex.ssr.test.tsx index 0ee71c1da..bc7512a01 100644 --- a/packages/components/src/layout/tests/jest/Flex.ssr.test.tsx +++ b/packages/components/src/layout/tests/jest/Flex.ssr.test.tsx @@ -1,8 +1,8 @@ /** * @jest-environment node */ -import { Div } from "@components/html"; -import { Flex } from "@components/layout"; +import { Div } from "@components/html/index.ts"; +import { Flex } from "@components/layout/index.ts"; import { renderToString } from "react-dom/server"; import { throwOnConsoleLogs } from "@test-utils"; diff --git a/packages/components/src/layout/tests/jest/Flex.test.tsx b/packages/components/src/layout/tests/jest/Flex.test.tsx index 24909c819..9703c93f5 100644 --- a/packages/components/src/layout/tests/jest/Flex.test.tsx +++ b/packages/components/src/layout/tests/jest/Flex.test.tsx @@ -1,5 +1,5 @@ -import { Div } from "@components/html"; -import { Flex, FlexProps } from "@components/layout"; +import { Div } from "@components/html/index.ts"; +import { Flex, FlexProps } from "@components/layout/index.ts"; import { createRef, forwardRef } from "react"; import { renderWithTheme, waitFor } from "@test-utils"; diff --git a/packages/components/src/layout/tests/jest/Grid.ssr.test.tsx b/packages/components/src/layout/tests/jest/Grid.ssr.test.tsx index e52cacff7..d90f8df94 100644 --- a/packages/components/src/layout/tests/jest/Grid.ssr.test.tsx +++ b/packages/components/src/layout/tests/jest/Grid.ssr.test.tsx @@ -1,8 +1,8 @@ /** * @jest-environment node */ -import { Div } from "@components/html"; -import { Grid } from "@components/layout"; +import { Div } from "@components/html/index.ts"; +import { Grid } from "@components/layout/index.ts"; import { renderToString } from "react-dom/server"; import { throwOnConsoleLogs } from "@test-utils"; diff --git a/packages/components/src/layout/tests/jest/Grid.test.tsx b/packages/components/src/layout/tests/jest/Grid.test.tsx index f4e0e1152..27b7c0c59 100644 --- a/packages/components/src/layout/tests/jest/Grid.test.tsx +++ b/packages/components/src/layout/tests/jest/Grid.test.tsx @@ -1,5 +1,5 @@ -import { Div } from "@components/html"; -import { Grid, GridProps } from "@components/layout"; +import { Div } from "@components/html/index.ts"; +import { Grid, GridProps } from "@components/layout/index.ts"; import { createRef, forwardRef } from "react"; import { renderWithTheme, waitFor } from "@test-utils"; diff --git a/packages/components/src/layout/tests/jest/Inline.ssr.test.tsx b/packages/components/src/layout/tests/jest/Inline.ssr.test.tsx index 460181c33..8a2d03301 100644 --- a/packages/components/src/layout/tests/jest/Inline.ssr.test.tsx +++ b/packages/components/src/layout/tests/jest/Inline.ssr.test.tsx @@ -1,8 +1,8 @@ /** * @jest-environment node */ -import { Div } from "@components/html"; -import { Inline } from "@components/layout"; +import { Div } from "@components/html/index.ts"; +import { Inline } from "@components/layout/index.ts"; import { renderToString } from "react-dom/server"; import { throwOnConsoleLogs } from "@test-utils"; diff --git a/packages/components/src/layout/tests/jest/Inline.test.tsx b/packages/components/src/layout/tests/jest/Inline.test.tsx index 9d219aea3..36d611c92 100644 --- a/packages/components/src/layout/tests/jest/Inline.test.tsx +++ b/packages/components/src/layout/tests/jest/Inline.test.tsx @@ -1,5 +1,5 @@ -import { Div } from "@components/html"; -import { Inline, InlineProps } from "@components/layout"; +import { Div } from "@components/html/index.ts"; +import { Inline, InlineProps } from "@components/layout/index.ts"; import { createRef, forwardRef } from "react"; import { renderWithTheme, waitFor } from "@test-utils"; diff --git a/packages/components/src/layout/tests/jest/Stack.ssr.test.tsx b/packages/components/src/layout/tests/jest/Stack.ssr.test.tsx index 0ae7c2b9d..213cd1156 100644 --- a/packages/components/src/layout/tests/jest/Stack.ssr.test.tsx +++ b/packages/components/src/layout/tests/jest/Stack.ssr.test.tsx @@ -1,8 +1,8 @@ /** * @jest-environment node */ -import { Div } from "@components/html"; -import { Stack } from "@components/layout"; +import { Div } from "@components/html/index.ts"; +import { Stack } from "@components/layout/index.ts"; import { renderToString } from "react-dom/server"; import { throwOnConsoleLogs } from "@test-utils"; diff --git a/packages/components/src/layout/tests/jest/Stack.test.tsx b/packages/components/src/layout/tests/jest/Stack.test.tsx index 9869abbd1..9742674ba 100644 --- a/packages/components/src/layout/tests/jest/Stack.test.tsx +++ b/packages/components/src/layout/tests/jest/Stack.test.tsx @@ -1,5 +1,5 @@ -import { Div } from "@components/html"; -import { Stack, StackProps } from "@components/layout"; +import { Div } from "@components/html/index.ts"; +import { Stack, StackProps } from "@components/layout/index.ts"; import { createRef, forwardRef } from "react"; import { renderWithTheme, waitFor } from "@test-utils"; diff --git a/packages/components/src/link/docs/Link.mdx b/packages/components/src/link/docs/Link.mdx index 610857ef3..3e3a998ce 100644 --- a/packages/components/src/link/docs/Link.mdx +++ b/packages/components/src/link/docs/Link.mdx @@ -1,6 +1,6 @@ import { ArgTypes, Canvas, Meta } from "@storybook/addon-docs"; import { ComponentInfo, Preview, Tagline } from "@stories/components"; -import { InnerIconLink, InnerLink, InnerTextLink } from "@components/link"; +import { InnerIconLink, InnerLink, InnerTextLink } from "@components/link/index.ts"; import * as LinkStories from "./Link.stories.tsx"; <Meta of={LinkStories} /> diff --git a/packages/components/src/link/docs/Link.stories.tsx b/packages/components/src/link/docs/Link.stories.tsx index c256c721c..b97341253 100644 --- a/packages/components/src/link/docs/Link.stories.tsx +++ b/packages/components/src/link/docs/Link.stories.tsx @@ -1,9 +1,9 @@ import { SparklesIcon } from "@hopper-ui/icons"; import { GalaxyLargeImage } from "./assets"; -import { IconLink, IconLinkAsButton, Link, TextLink, TextLinkAsButton } from "@components/link"; -import { Image } from "@components/image"; -import { Inline } from "@components/layout"; -import { Text } from "@components/typography"; +import { IconLink, IconLinkAsButton, Link, TextLink, TextLinkAsButton } from "@components/link/index.ts"; +import { Image } from "@components/image/index.ts"; +import { Inline } from "@components/layout/index.ts"; +import { Text } from "@components/typography/index.ts"; import { Meta, StoryObj } from "@storybook/react"; import { RouterLink } from "./RouterLink"; diff --git a/packages/components/src/link/docs/RouterLink.tsx b/packages/components/src/link/docs/RouterLink.tsx index 0b9bf5325..a4e9730b7 100644 --- a/packages/components/src/link/docs/RouterLink.tsx +++ b/packages/components/src/link/docs/RouterLink.tsx @@ -1,4 +1,4 @@ -import { Box, BoxProps } from "@components/box"; +import { Box, BoxProps } from "@components/box/index.ts"; interface RouterLinkProps extends Omit<BoxProps, "href"> { to?: BoxProps["href"]; diff --git a/packages/components/src/link/src/IconLink.tsx b/packages/components/src/link/src/IconLink.tsx index c1bd08d9e..dc8270cb5 100644 --- a/packages/components/src/link/src/IconLink.tsx +++ b/packages/components/src/link/src/IconLink.tsx @@ -1,10 +1,10 @@ import { AbstractLinkProps } from "./Link"; -import { Box } from "../../box"; +import { Box } from "../../box/index.ts" import { Children, ComponentProps, ReactElement, ReactNode, forwardRef } from "react"; import { LinkVariant, useLink } from "./useLink"; import { NewTabIndicator } from "./NewTabIndicator"; -import { OmitInternalProps, as, mergeProps } from "../../shared"; -import { useStyleProps } from "../../styling"; +import { OmitInternalProps, as, mergeProps } from "../../shared/index.ts" +import { useStyleProps } from "../../styling/index.ts" const DefaultElement = "a"; diff --git a/packages/components/src/link/src/Link.tsx b/packages/components/src/link/src/Link.tsx index 04e7004c8..014357126 100644 --- a/packages/components/src/link/src/Link.tsx +++ b/packages/components/src/link/src/Link.tsx @@ -1,9 +1,9 @@ -import { Box } from "../../box"; +import { Box } from "../../box/index.ts" import { ComponentProps, ElementType, ReactNode, forwardRef } from "react"; -import { InteractionProps, InternalProps, OmitInternalProps, SlotProps, StyledComponentProps, mergeProps } from "../../shared"; +import { InteractionProps, InternalProps, OmitInternalProps, SlotProps, StyledComponentProps, mergeProps } from "../../shared/index.ts" import { NewTabIndicator } from "./NewTabIndicator"; import { useLink } from "./useLink"; -import { useStyleProps } from "../../styling"; +import { useStyleProps } from "../../styling/index.ts" export type AbstractLinkProps<T extends ElementType> = // Keep it so it could be used with dynamic slots. diff --git a/packages/components/src/link/src/NewTabIndicator.tsx b/packages/components/src/link/src/NewTabIndicator.tsx index 09a496629..bc910dc9f 100644 --- a/packages/components/src/link/src/NewTabIndicator.tsx +++ b/packages/components/src/link/src/NewTabIndicator.tsx @@ -1,5 +1,5 @@ -import { Span } from "../../html"; -import { VisuallyHidden } from "../../visually-hidden"; +import { Span } from "../../html/index.ts" +import { VisuallyHidden } from "../../visually-hidden/index.ts" export function NewTabIndicator() { return ( diff --git a/packages/components/src/link/src/TextLink.tsx b/packages/components/src/link/src/TextLink.tsx index ed40aac62..dbd62c5aa 100644 --- a/packages/components/src/link/src/TextLink.tsx +++ b/packages/components/src/link/src/TextLink.tsx @@ -1,12 +1,12 @@ import { AbstractLinkProps } from "./Link"; -import { Box } from "../../box"; +import { Box } from "../../box/index.ts" import { ComponentProps, ReactNode, forwardRef, useMemo } from "react"; import { LinkVariant, useLink } from "./useLink"; import { NewTabIndicator } from "./NewTabIndicator"; -import { OmitInternalProps, as, augmentElement, normalizeSize, cssModule, mergeProps, useSlots } from "../../shared"; -import { ResponsiveProp, useResponsiveValue, useStyleProps } from "../../styling"; -import { Text } from "../../typography"; -import { useFormButton } from "../../form"; +import { OmitInternalProps, as, augmentElement, normalizeSize, cssModule, mergeProps, useSlots } from "../../shared/index.ts" +import { ResponsiveProp, useResponsiveValue, useStyleProps } from "../../styling/index.ts" +import { Text } from "../../typography/index.ts" +import { useFormButton } from "../../form/index.ts" const DefaultElement = "a"; diff --git a/packages/components/src/link/src/useLink.ts b/packages/components/src/link/src/useLink.ts index 799607aee..4a4044d35 100644 --- a/packages/components/src/link/src/useLink.ts +++ b/packages/components/src/link/src/useLink.ts @@ -1,5 +1,5 @@ import { ForwardedRef } from "react"; -import { InteractionProps, cssModule, isNumber, mergeClasses, useAutoFocus, useMergedRefs } from "../../shared"; +import { InteractionProps, cssModule, isNumber, mergeClasses, useAutoFocus, useMergedRefs } from "../../shared/index.ts" export type LinkVariant = "primary" | "negative" | "accent"; diff --git a/packages/components/src/link/tests/chromatic/Card.tsx b/packages/components/src/link/tests/chromatic/Card.tsx index 34e99d22f..15e38f631 100644 --- a/packages/components/src/link/tests/chromatic/Card.tsx +++ b/packages/components/src/link/tests/chromatic/Card.tsx @@ -1,5 +1,5 @@ -import { Paragraph, H2 } from "@components/typography"; -import { Div } from "@components/html"; +import { Paragraph, H2 } from "@components/typography/index.ts"; +import { Div } from "@components/html/index.ts"; export default function Card() { return ( diff --git a/packages/components/src/link/tests/chromatic/IconLinButtonk.stories.tsx b/packages/components/src/link/tests/chromatic/IconLinButtonk.stories.tsx index 38a8e4a19..be38572ce 100644 --- a/packages/components/src/link/tests/chromatic/IconLinButtonk.stories.tsx +++ b/packages/components/src/link/tests/chromatic/IconLinButtonk.stories.tsx @@ -1,7 +1,7 @@ import { AddIcon } from "@hopper-ui/icons"; -import { IconLinkAsButton } from "@components/link"; -import { Div } from "@components/html"; -import { Inline, Stack } from "@components/layout"; +import { IconLinkAsButton } from "@components/link/index.ts"; +import { Div } from "@components/html/index.ts"; +import { Inline, Stack } from "@components/layout/index.ts"; import { Meta, StoryObj } from "@storybook/react"; diff --git a/packages/components/src/link/tests/chromatic/IconLink.stories.tsx b/packages/components/src/link/tests/chromatic/IconLink.stories.tsx index 9fa2d9249..e4d599a59 100644 --- a/packages/components/src/link/tests/chromatic/IconLink.stories.tsx +++ b/packages/components/src/link/tests/chromatic/IconLink.stories.tsx @@ -1,7 +1,7 @@ import { AddIcon } from "@hopper-ui/icons"; -import { IconLink } from "@components/link"; -import { Div } from "@components/html"; -import { Inline, Stack } from "@components/layout"; +import { IconLink } from "@components/link/index.ts"; +import { Div } from "@components/html/index.ts"; +import { Inline, Stack } from "@components/layout/index.ts"; import { Meta, StoryObj } from "@storybook/react"; diff --git a/packages/components/src/link/tests/chromatic/LaunchImage.tsx b/packages/components/src/link/tests/chromatic/LaunchImage.tsx index 14880a5ca..139487b84 100644 --- a/packages/components/src/link/tests/chromatic/LaunchImage.tsx +++ b/packages/components/src/link/tests/chromatic/LaunchImage.tsx @@ -1,5 +1,5 @@ import { Launch } from "./assets"; -import { Image } from "@components/image"; +import { Image } from "@components/image/index.ts"; export default function LaunchImage() { return ( diff --git a/packages/components/src/link/tests/chromatic/Link.stories.tsx b/packages/components/src/link/tests/chromatic/Link.stories.tsx index bc9bb119b..02ea29d78 100644 --- a/packages/components/src/link/tests/chromatic/Link.stories.tsx +++ b/packages/components/src/link/tests/chromatic/Link.stories.tsx @@ -1,5 +1,5 @@ -import { Inline } from "@components/layout"; -import { Link } from "@components/link"; +import { Inline } from "@components/layout/index.ts"; +import { Link } from "@components/link/index.ts"; import LaunchImage from "./LaunchImage"; import { Meta, StoryObj } from "@storybook/react"; diff --git a/packages/components/src/link/tests/chromatic/LinkCard.stories.tsx b/packages/components/src/link/tests/chromatic/LinkCard.stories.tsx index 1f824371d..b733fabe5 100644 --- a/packages/components/src/link/tests/chromatic/LinkCard.stories.tsx +++ b/packages/components/src/link/tests/chromatic/LinkCard.stories.tsx @@ -1,5 +1,5 @@ -import { Link } from "@components/link"; -import { Inline } from "@components/layout"; +import { Link } from "@components/link/index.ts"; +import { Inline } from "@components/layout/index.ts"; import Card from "./Card"; import { Meta, StoryObj } from "@storybook/react"; diff --git a/packages/components/src/link/tests/chromatic/LinkImage.stories.tsx b/packages/components/src/link/tests/chromatic/LinkImage.stories.tsx index c820b11f2..8ba5d1200 100644 --- a/packages/components/src/link/tests/chromatic/LinkImage.stories.tsx +++ b/packages/components/src/link/tests/chromatic/LinkImage.stories.tsx @@ -1,7 +1,7 @@ -import { Image } from "@components/image"; +import { Image } from "@components/image/index.ts"; import { Launch } from "./assets"; -import { Link } from "@components/link"; -import { Inline } from "@components/layout"; +import { Link } from "@components/link/index.ts"; +import { Inline } from "@components/layout/index.ts"; import LaunchImage from "./LaunchImage"; import { Meta, StoryObj } from "@storybook/react"; diff --git a/packages/components/src/link/tests/chromatic/TextLink.stories.tsx b/packages/components/src/link/tests/chromatic/TextLink.stories.tsx index e46502e10..45f7675c2 100644 --- a/packages/components/src/link/tests/chromatic/TextLink.stories.tsx +++ b/packages/components/src/link/tests/chromatic/TextLink.stories.tsx @@ -1,10 +1,10 @@ -import { Inline, Stack } from "@components/layout"; -import { TextLink } from "@components/link"; -import { Div } from "@components/html"; +import { Inline, Stack } from "@components/layout/index.ts"; +import { TextLink } from "@components/link/index.ts"; +import { Div } from "@components/html/index.ts"; import { InfoIcon, ArrowRightIcon } from "@hopper-ui/icons"; import { Meta, StoryObj } from "@storybook/react"; -import { Text } from "@components/typography"; +import { Text } from "@components/typography/index.ts"; const meta = { title: "Chromatic/TextLink", diff --git a/packages/components/src/link/tests/chromatic/TextLinkButton.stories.tsx b/packages/components/src/link/tests/chromatic/TextLinkButton.stories.tsx index fca1764c2..8c444ed00 100644 --- a/packages/components/src/link/tests/chromatic/TextLinkButton.stories.tsx +++ b/packages/components/src/link/tests/chromatic/TextLinkButton.stories.tsx @@ -1,8 +1,8 @@ -import { TextLinkAsButton } from "@components/link"; +import { TextLinkAsButton } from "@components/link/index.ts"; import { ArrowRightIcon, InfoIcon } from "@hopper-ui/icons"; -import { Div } from "@components/html"; -import { Inline, Stack } from "@components/layout"; -import { Text } from "@components/typography"; +import { Div } from "@components/html/index.ts"; +import { Inline, Stack } from "@components/layout/index.ts"; +import { Text } from "@components/typography/index.ts"; import { Meta, StoryObj } from "@storybook/react"; diff --git a/packages/components/src/link/tests/jest/IconLink.ssr.test.tsx b/packages/components/src/link/tests/jest/IconLink.ssr.test.tsx index 03e147f78..8a77eb777 100644 --- a/packages/components/src/link/tests/jest/IconLink.ssr.test.tsx +++ b/packages/components/src/link/tests/jest/IconLink.ssr.test.tsx @@ -2,7 +2,7 @@ * @jest-environment node */ import { AddIcon } from "@hopper-ui/icons"; -import { IconLink } from "@components/link"; +import { IconLink } from "@components/link/index.ts"; import { renderToString } from "react-dom/server"; import { throwOnConsoleLogs } from "@test-utils"; diff --git a/packages/components/src/link/tests/jest/IconLink.test.tsx b/packages/components/src/link/tests/jest/IconLink.test.tsx index 8bd930273..01c5e6577 100644 --- a/packages/components/src/link/tests/jest/IconLink.test.tsx +++ b/packages/components/src/link/tests/jest/IconLink.test.tsx @@ -1,5 +1,5 @@ import { AddIcon } from "@hopper-ui/icons"; -import { IconLink } from "@components/link"; +import { IconLink } from "@components/link/index.ts"; import { createRef } from "react"; import { renderWithTheme, screen, waitFor } from "@test-utils"; diff --git a/packages/components/src/link/tests/jest/Link.ssr.test.tsx b/packages/components/src/link/tests/jest/Link.ssr.test.tsx index f1f47a020..d5777f247 100644 --- a/packages/components/src/link/tests/jest/Link.ssr.test.tsx +++ b/packages/components/src/link/tests/jest/Link.ssr.test.tsx @@ -2,7 +2,7 @@ * @jest-environment node */ import { AddIcon } from "@hopper-ui/icons"; -import { Link } from "@components/link"; +import { Link } from "@components/link/index.ts"; import { renderToString } from "react-dom/server"; import { throwOnConsoleLogs } from "@test-utils"; diff --git a/packages/components/src/link/tests/jest/Link.test.tsx b/packages/components/src/link/tests/jest/Link.test.tsx index e05e7ab96..735524bf8 100644 --- a/packages/components/src/link/tests/jest/Link.test.tsx +++ b/packages/components/src/link/tests/jest/Link.test.tsx @@ -1,5 +1,5 @@ import { AddIcon } from "@hopper-ui/icons"; -import { Link } from "@components/link"; +import { Link } from "@components/link/index.ts"; import { createRef } from "react"; import { renderWithTheme, screen, waitFor } from "@test-utils"; diff --git a/packages/components/src/link/tests/jest/TextLink.ssr.test.tsx b/packages/components/src/link/tests/jest/TextLink.ssr.test.tsx index 1037118bb..d32cbc70a 100644 --- a/packages/components/src/link/tests/jest/TextLink.ssr.test.tsx +++ b/packages/components/src/link/tests/jest/TextLink.ssr.test.tsx @@ -1,7 +1,7 @@ /** * @jest-environment node */ -import { TextLink } from "@components/link"; +import { TextLink } from "@components/link/index.ts"; import { renderToString } from "react-dom/server"; import { throwOnConsoleLogs } from "@test-utils"; diff --git a/packages/components/src/link/tests/jest/TextLink.test.tsx b/packages/components/src/link/tests/jest/TextLink.test.tsx index 0a78e2fbe..87cb578c7 100644 --- a/packages/components/src/link/tests/jest/TextLink.test.tsx +++ b/packages/components/src/link/tests/jest/TextLink.test.tsx @@ -1,4 +1,4 @@ -import { TextLink } from "@components/link"; +import { TextLink } from "@components/link/index.ts"; import { createRef } from "react"; import { renderWithTheme, screen, waitFor } from "@test-utils"; diff --git a/packages/components/src/listbox/docs/Listbox.mdx b/packages/components/src/listbox/docs/Listbox.mdx index 2a7b7161b..a1da20783 100644 --- a/packages/components/src/listbox/docs/Listbox.mdx +++ b/packages/components/src/listbox/docs/Listbox.mdx @@ -1,7 +1,7 @@ import { ArgTypes, Canvas, Meta } from "@storybook/addon-docs"; import { ComponentInfo, Preview, Tagline } from "@stories/components"; -import { InnerItem, InnerSection } from "@components/collection"; -import { InnerListbox, InnerListboxOption, InnerListboxSection } from "@components/listbox"; +import { InnerItem, InnerSection } from "@components/collection/index.ts"; +import { InnerListbox, InnerListboxOption, InnerListboxSection } from "@components/listbox/index.ts"; import * as ListboxStories from "./Listbox.stories.tsx"; <Meta of={ListboxStories} /> diff --git a/packages/components/src/listbox/docs/Listbox.stories.tsx b/packages/components/src/listbox/docs/Listbox.stories.tsx index e51991378..d724c4ab0 100644 --- a/packages/components/src/listbox/docs/Listbox.stories.tsx +++ b/packages/components/src/listbox/docs/Listbox.stories.tsx @@ -1,13 +1,13 @@ /* eslint-disable react-hooks/rules-of-hooks */ import { Meta, StoryObj } from "@storybook/react"; -import { Avatar } from "@components/avatar"; -import { IconList } from "@components/icons"; +import { Avatar } from "@components/avatar/index.ts"; +import { IconList } from "@components/icons/index.ts"; import { CatIcon, RocketIcon, SparklesIcon } from "@hopper-ui/icons"; -import { Inline } from "@components/layout"; -import { Item, Section } from "@components/collection"; -import { Listbox, ListboxOption, useListboxContext } from "@components/listbox"; -import { Text } from "@components/typography"; -import { Tooltip, TooltipTrigger } from "@components/tooltip"; +import { Inline } from "@components/layout/index.ts"; +import { Item, Section } from "@components/collection/index.ts"; +import { Listbox, ListboxOption, useListboxContext } from "@components/listbox/index.ts"; +import { Text } from "@components/typography/index.ts"; +import { Tooltip, TooltipTrigger } from "@components/tooltip/index.ts"; import { useState, useCallback } from "react"; const meta = { diff --git a/packages/components/src/listbox/src/Listbox.tsx b/packages/components/src/listbox/src/Listbox.tsx index 7cfefa638..487f28126 100644 --- a/packages/components/src/listbox/src/Listbox.tsx +++ b/packages/components/src/listbox/src/Listbox.tsx @@ -1,4 +1,4 @@ -import { CollectionItem, CollectionNode, CollectionSection, NodeType, useCollection, useOnlyCollectionItems, useScrollableCollection } from "../../collection"; +import { CollectionItem, CollectionNode, CollectionSection, NodeType, useCollection, useOnlyCollectionItems, useScrollableCollection } from "../../collection/index.ts" import { ComponentProps, KeyboardEvent, ReactNode, SyntheticEvent, forwardRef, useImperativeHandle, useMemo } from "react"; import { FocusManager, @@ -23,14 +23,14 @@ import { useKeyedRovingFocus, useMergedRefs, useRefState -} from "../../shared"; -import { ResponsiveProp, useResponsiveValue } from "../../styling"; +} from "../../shared/index.ts" +import { ResponsiveProp, useResponsiveValue } from "../../styling/index.ts" -import { Box } from "../../box"; +import { Box } from "../../box/index.ts" import { ListboxContext } from "./ListboxContext"; import { ListboxOption } from "./ListboxOption"; import { ListboxSection } from "./ListboxSection"; -import { ValidationState } from "../../input"; +import { ValidationState } from "../../input/index.ts" export const OptionKeyProp = "data-o-ui-key"; diff --git a/packages/components/src/listbox/src/ListboxContext.ts b/packages/components/src/listbox/src/ListboxContext.ts index e14961a7f..3ee7af64c 100644 --- a/packages/components/src/listbox/src/ListboxContext.ts +++ b/packages/components/src/listbox/src/ListboxContext.ts @@ -1,4 +1,4 @@ -import { FocusManager } from "../../shared"; +import { FocusManager } from "../../shared/index.ts" import { SyntheticEvent, createContext, useContext } from "react"; import type { ListboxSelectionMode } from "./Listbox"; diff --git a/packages/components/src/listbox/src/ListboxOption.tsx b/packages/components/src/listbox/src/ListboxOption.tsx index 3b4e8c531..0985ed41c 100644 --- a/packages/components/src/listbox/src/ListboxOption.tsx +++ b/packages/components/src/listbox/src/ListboxOption.tsx @@ -1,6 +1,6 @@ -import { Box } from "../../box"; +import { Box } from "../../box/index.ts" import { CheckmarkIcon } from "@hopper-ui/icons"; -import { CollectionItem } from "../../collection"; +import { CollectionItem } from "../../collection/index.ts" import { ComponentProps, FocusEvent, KeyboardEvent, MouseEvent, ReactNode, forwardRef, useMemo } from "react"; import { InteractionProps, @@ -14,10 +14,10 @@ import { useEventCallback, useRefState, useSlots -} from "../../shared"; +} from "../../shared/index.ts" import { OptionKeyProp } from "./Listbox"; -import { Text } from "../../typography"; -import { TooltipTrigger } from "../../tooltip"; +import { Text } from "../../typography/index.ts" +import { TooltipTrigger } from "../../tooltip/index.ts" import { useListboxContext } from "./ListboxContext"; const DefaultElement = "div"; diff --git a/packages/components/src/listbox/src/ListboxSection.tsx b/packages/components/src/listbox/src/ListboxSection.tsx index ff328097a..8a05d1282 100644 --- a/packages/components/src/listbox/src/ListboxSection.tsx +++ b/packages/components/src/listbox/src/ListboxSection.tsx @@ -1,6 +1,6 @@ -import { Box } from "../../box"; +import { Box } from "../../box/index.ts" import { ComponentProps, ReactNode, forwardRef } from "react"; -import { InternalProps, OmitInternalProps, StyledComponentProps, mergeProps } from "../../shared"; +import { InternalProps, OmitInternalProps, StyledComponentProps, mergeProps } from "../../shared/index.ts" const DefaultElement = "div"; diff --git a/packages/components/src/listbox/tests/chromatic/Listbox-hopper.stories.tsx b/packages/components/src/listbox/tests/chromatic/Listbox-hopper.stories.tsx index 1379841b0..38db84438 100644 --- a/packages/components/src/listbox/tests/chromatic/Listbox-hopper.stories.tsx +++ b/packages/components/src/listbox/tests/chromatic/Listbox-hopper.stories.tsx @@ -1,10 +1,10 @@ -import { IconList } from "@components/icons"; -import { Inline, Stack } from "@components/layout"; +import { IconList } from "@components/icons/index.ts"; +import { Inline, Stack } from "@components/layout/index.ts"; import { Avatar, Text } from "@hopper-ui/components"; import { SparklesIcon, DismissIcon, LightbulbIcon, NotificationIcon } from "@hopper-ui/icons"; -import { Div } from "@components/html"; -import { CollectionItem, Item, Section } from "@components/collection"; -import { useListboxContext, Listbox, ListboxOption, ListboxOptionProps } from "@components/listbox"; +import { Div } from "@components/html/index.ts"; +import { CollectionItem, Item, Section } from "@components/collection/index.ts"; +import { useListboxContext, Listbox, ListboxOption, ListboxOptionProps } from "@components/listbox/index.ts"; import { Meta, StoryObj } from "@storybook/react"; const meta = { diff --git a/packages/components/src/listbox/tests/chromatic/Listbox.stories.tsx b/packages/components/src/listbox/tests/chromatic/Listbox.stories.tsx index 3e19c60fc..48e9f1075 100644 --- a/packages/components/src/listbox/tests/chromatic/Listbox.stories.tsx +++ b/packages/components/src/listbox/tests/chromatic/Listbox.stories.tsx @@ -1,11 +1,11 @@ -import { Avatar } from "@components/avatar"; -import { IconList } from "@components/icons"; +import { Avatar } from "@components/avatar/index.ts"; +import { IconList } from "@components/icons/index.ts"; import { SparklesIcon, DismissIcon, LightbulbIcon, NotificationIcon } from "@hopper-ui/icons"; -import { Div } from "@components/html"; -import { Inline, Stack } from "@components/layout"; -import { CollectionItem, Item, Section } from "@components/collection"; -import { useListboxContext, Listbox, ListboxOption, ListboxOptionProps } from "@components/listbox"; -import { Text } from "@components/typography"; +import { Div } from "@components/html/index.ts"; +import { Inline, Stack } from "@components/layout/index.ts"; +import { CollectionItem, Item, Section } from "@components/collection/index.ts"; +import { useListboxContext, Listbox, ListboxOption, ListboxOptionProps } from "@components/listbox/index.ts"; +import { Text } from "@components/typography/index.ts"; import { Meta, StoryObj } from "@storybook/react"; const meta = { diff --git a/packages/components/src/listbox/tests/jest/Listbox.ssr.test.tsx b/packages/components/src/listbox/tests/jest/Listbox.ssr.test.tsx index 356c02991..26f5b8243 100644 --- a/packages/components/src/listbox/tests/jest/Listbox.ssr.test.tsx +++ b/packages/components/src/listbox/tests/jest/Listbox.ssr.test.tsx @@ -1,8 +1,8 @@ /** * @jest-environment node */ -import { Item } from "@components/collection"; -import { Listbox } from "@components/listbox"; +import { Item } from "@components/collection/index.ts"; +import { Listbox } from "@components/listbox/index.ts"; import { renderToString } from "react-dom/server"; import { throwOnConsoleLogs } from "@test-utils"; diff --git a/packages/components/src/listbox/tests/jest/Listbox.test.tsx b/packages/components/src/listbox/tests/jest/Listbox.test.tsx index d59f6cfea..2ad09322c 100644 --- a/packages/components/src/listbox/tests/jest/Listbox.test.tsx +++ b/packages/components/src/listbox/tests/jest/Listbox.test.tsx @@ -1,8 +1,8 @@ -import { Item, Section } from "@components/collection"; -import { Listbox, ListboxElement } from "@components/listbox"; +import { Item, Section } from "@components/collection/index.ts"; +import { Listbox, ListboxElement } from "@components/listbox/index.ts"; import { act, fireEvent, screen, waitFor, renderWithTheme } from "@test-utils"; -import { Keys } from "@components/shared"; -import { Text } from "@components/typography"; +import { Keys } from "@components/shared/index.ts"; +import { Text } from "@components/typography/index.ts"; import { createRef } from "react"; import userEvent from "@testing-library/user-event"; diff --git a/packages/components/src/loader/docs/Loader.mdx b/packages/components/src/loader/docs/Loader.mdx index 7f498dec3..44bf1bbf9 100644 --- a/packages/components/src/loader/docs/Loader.mdx +++ b/packages/components/src/loader/docs/Loader.mdx @@ -1,7 +1,7 @@ import { ArgTypes, Meta, Canvas } from "@storybook/addon-docs"; import { ComponentInfo, Tagline } from "@stories/components"; -import { InnerLoader, Loader } from "@components/loader"; -import { Stack } from "@components/layout"; +import { InnerLoader, Loader } from "@components/loader/index.ts"; +import { Stack } from "@components/layout/index.ts"; import * as LoaderStories from "./Loader.stories.tsx"; diff --git a/packages/components/src/loader/docs/Loader.stories.tsx b/packages/components/src/loader/docs/Loader.stories.tsx index 12da3aee8..c8c744784 100644 --- a/packages/components/src/loader/docs/Loader.stories.tsx +++ b/packages/components/src/loader/docs/Loader.stories.tsx @@ -1,5 +1,5 @@ -import { Loader } from "@components/loader"; -import { Stack } from "@components/layout"; +import { Loader } from "@components/loader/index.ts"; +import { Stack } from "@components/layout/index.ts"; import { Meta, StoryObj } from "@storybook/react"; diff --git a/packages/components/src/loader/src/Loader.tsx b/packages/components/src/loader/src/Loader.tsx index 43586465e..9c3974b73 100644 --- a/packages/components/src/loader/src/Loader.tsx +++ b/packages/components/src/loader/src/Loader.tsx @@ -1,7 +1,7 @@ import { useState, useEffect, ComponentProps, forwardRef } from "react"; -import { InternalProps, OmitInternalProps, StyledComponentProps, cssModule, mergeProps, isNil, isNumber } from "../../shared"; -import { Box } from "../../box"; -import { Div } from "../../html"; +import { InternalProps, OmitInternalProps, StyledComponentProps, cssModule, mergeProps, isNil, isNumber } from "../../shared/index.ts" +import { Box } from "../../box/index.ts" +import { Div } from "../../html/index.ts" const DefaultElement = "div"; diff --git a/packages/components/src/loader/tests/chromatic/Loader.stories.tsx b/packages/components/src/loader/tests/chromatic/Loader.stories.tsx index 6a4a5c577..875c212c8 100644 --- a/packages/components/src/loader/tests/chromatic/Loader.stories.tsx +++ b/packages/components/src/loader/tests/chromatic/Loader.stories.tsx @@ -1,5 +1,5 @@ -import { Loader } from "@components/loader"; -import { Inline, Stack } from "@components/layout"; +import { Loader } from "@components/loader/index.ts"; +import { Inline, Stack } from "@components/layout/index.ts"; import { Meta, StoryObj } from "@storybook/react"; diff --git a/packages/components/src/loader/tests/jest/Loader.ssr.test.tsx b/packages/components/src/loader/tests/jest/Loader.ssr.test.tsx index f989c315d..9d89ab59a 100644 --- a/packages/components/src/loader/tests/jest/Loader.ssr.test.tsx +++ b/packages/components/src/loader/tests/jest/Loader.ssr.test.tsx @@ -1,7 +1,7 @@ /** * @jest-environment node */ -import { Loader } from "@components/loader"; +import { Loader } from "@components/loader/index.ts"; import { renderToString } from "react-dom/server"; import { throwOnConsoleLogs } from "@test-utils"; diff --git a/packages/components/src/loader/tests/jest/Loader.test.tsx b/packages/components/src/loader/tests/jest/Loader.test.tsx index 8a0044a23..d02f2b585 100644 --- a/packages/components/src/loader/tests/jest/Loader.test.tsx +++ b/packages/components/src/loader/tests/jest/Loader.test.tsx @@ -1,4 +1,4 @@ -import { Loader } from "@components/loader"; +import { Loader } from "@components/loader/index.ts"; import { createRef } from "react"; import { renderWithTheme } from "@test-utils"; import { screen, waitFor } from "@testing-library/react"; diff --git a/packages/components/src/lozenge/docs/Lozenge.mdx b/packages/components/src/lozenge/docs/Lozenge.mdx index f483e9ac5..fd5514633 100644 --- a/packages/components/src/lozenge/docs/Lozenge.mdx +++ b/packages/components/src/lozenge/docs/Lozenge.mdx @@ -1,9 +1,9 @@ import { ArgTypes, Meta, Canvas } from "@storybook/addon-docs"; import { SparklesIcon } from "@hopper-ui/icons"; import { ComponentInfo, Tagline } from "@stories/components"; -import { Inline } from "@components/layout"; -import { InnerLozenge, Lozenge } from "@components/lozenge"; -import { Text } from "@components/typography"; +import { Inline } from "@components/layout/index.ts"; +import { InnerLozenge, Lozenge } from "@components/lozenge/index.ts"; +import { Text } from "@components/typography/index.ts"; import * as LozengeStories from "./Lozenge.stories.tsx"; diff --git a/packages/components/src/lozenge/docs/Lozenge.stories.tsx b/packages/components/src/lozenge/docs/Lozenge.stories.tsx index d02c7554c..06fa58d68 100644 --- a/packages/components/src/lozenge/docs/Lozenge.stories.tsx +++ b/packages/components/src/lozenge/docs/Lozenge.stories.tsx @@ -1,7 +1,7 @@ import { SparklesIcon } from "@hopper-ui/icons"; -import { Inline } from "@components/layout"; -import { Lozenge } from "@components/lozenge"; -import { Text } from "@components/typography"; +import { Inline } from "@components/layout/index.ts"; +import { Lozenge } from "@components/lozenge/index.ts"; +import { Text } from "@components/typography/index.ts"; import { Meta, StoryObj } from "@storybook/react"; diff --git a/packages/components/src/lozenge/src/Lozenge.tsx b/packages/components/src/lozenge/src/Lozenge.tsx index 1b235c67a..69c73ca5b 100644 --- a/packages/components/src/lozenge/src/Lozenge.tsx +++ b/packages/components/src/lozenge/src/Lozenge.tsx @@ -1,4 +1,4 @@ -import { Box } from "../../box"; +import { Box } from "../../box/index.ts" import { ComponentProps, ReactNode, forwardRef, useMemo } from "react"; import { InternalProps, @@ -12,9 +12,9 @@ import { slot, useMergedRefs, useSlots -} from "../../shared"; -import { ResponsiveProp, useResponsiveValue } from "../../styling"; -import { Text } from "../../typography"; +} from "../../shared/index.ts" +import { ResponsiveProp, useResponsiveValue } from "../../styling/index.ts" +import { Text } from "../../typography/index.ts" const DefaultElement = "span"; diff --git a/packages/components/src/lozenge/tests/chromatic/Lozenge.stories.tsx b/packages/components/src/lozenge/tests/chromatic/Lozenge.stories.tsx index 5d22dabac..30a90522a 100644 --- a/packages/components/src/lozenge/tests/chromatic/Lozenge.stories.tsx +++ b/packages/components/src/lozenge/tests/chromatic/Lozenge.stories.tsx @@ -1,9 +1,9 @@ -import { IconList } from "@components/icons"; +import { IconList } from "@components/icons/index.ts"; import { SparklesIcon } from "@hopper-ui/icons"; -import { Div } from "@components/html"; -import { Inline, Stack } from "@components/layout"; -import { Lozenge } from "@components/lozenge"; -import { Text } from "@components/typography"; +import { Div } from "@components/html/index.ts"; +import { Inline, Stack } from "@components/layout/index.ts"; +import { Lozenge } from "@components/lozenge/index.ts"; +import { Text } from "@components/typography/index.ts"; import { Meta, StoryObj } from "@storybook/react"; const meta = { diff --git a/packages/components/src/lozenge/tests/jest/Lozenge.ssr.test.tsx b/packages/components/src/lozenge/tests/jest/Lozenge.ssr.test.tsx index 5ba980d3c..2035b0c6c 100644 --- a/packages/components/src/lozenge/tests/jest/Lozenge.ssr.test.tsx +++ b/packages/components/src/lozenge/tests/jest/Lozenge.ssr.test.tsx @@ -1,7 +1,7 @@ /** * @jest-environment node */ -import { Lozenge } from "@components/lozenge"; +import { Lozenge } from "@components/lozenge/index.ts"; import { renderToString } from "react-dom/server"; import { throwOnConsoleLogs } from "@test-utils"; diff --git a/packages/components/src/lozenge/tests/jest/Lozenge.test.tsx b/packages/components/src/lozenge/tests/jest/Lozenge.test.tsx index 3cf7e0bf0..1ae62ee26 100644 --- a/packages/components/src/lozenge/tests/jest/Lozenge.test.tsx +++ b/packages/components/src/lozenge/tests/jest/Lozenge.test.tsx @@ -1,4 +1,4 @@ -import { Lozenge } from "@components/lozenge"; +import { Lozenge } from "@components/lozenge/index.ts"; import { createRef } from "react"; import { renderWithTheme, waitFor } from "@test-utils"; diff --git a/packages/components/src/menu/docs/Menu.mdx b/packages/components/src/menu/docs/Menu.mdx index 0d40df7d1..d0ebe5a3d 100644 --- a/packages/components/src/menu/docs/Menu.mdx +++ b/packages/components/src/menu/docs/Menu.mdx @@ -1,8 +1,8 @@ import { ArgTypes, Meta, Canvas } from "@storybook/addon-docs"; import { ComponentInfo, Tagline } from "@stories/components"; -import { InnerDivider } from "@components/divider"; -import { InnerItem, InnerSection } from "@components/collection"; -import { InnerMenu, InnerMenuItem, InnerMenuSection, InnerMenuTrigger } from "@components/menu"; +import { InnerDivider } from "@components/divider/index.ts"; +import { InnerItem, InnerSection } from "@components/collection/index.ts"; +import { InnerMenu, InnerMenuItem, InnerMenuSection, InnerMenuTrigger } from "@components/menu/index.ts"; import * as MenuStories from "./Menu.stories.tsx"; diff --git a/packages/components/src/menu/docs/Menu.stories.tsx b/packages/components/src/menu/docs/Menu.stories.tsx index 6469c8616..b0ca3f58a 100644 --- a/packages/components/src/menu/docs/Menu.stories.tsx +++ b/packages/components/src/menu/docs/Menu.stories.tsx @@ -1,19 +1,19 @@ -import { Menu, MenuTrigger, useMenuTriggerContext } from "@components/menu"; -import { Button, IconButton } from "@components/button"; -import { IconList } from "@components/icons"; -import { Item, Section } from "@components/collection"; -import { Divider } from "@components/divider"; -import { DisclosureArrow } from "@components/disclosure"; -import { TooltipTrigger, Tooltip } from "@components/tooltip"; -import { Avatar } from "@components/avatar"; -import { Modal } from "@components/modal"; -import { Heading, Paragraph, Text } from "@components/typography"; -import { Overlay } from "@components/overlay"; +import { Menu, MenuTrigger, useMenuTriggerContext } from "@components/menu/index.ts"; +import { Button, IconButton } from "@components/button/index.ts"; +import { IconList } from "@components/icons/index.ts"; +import { Item, Section } from "@components/collection/index.ts"; +import { Divider } from "@components/divider/index.ts"; +import { DisclosureArrow } from "@components/disclosure/index.ts"; +import { TooltipTrigger, Tooltip } from "@components/tooltip/index.ts"; +import { Avatar } from "@components/avatar/index.ts"; +import { Modal } from "@components/modal/index.ts"; +import { Heading, Paragraph, Text } from "@components/typography/index.ts"; +import { Overlay } from "@components/overlay/index.ts"; import { CatIcon, KebabIcon, RocketIcon, SparklesIcon } from "@hopper-ui/icons"; import { useCallback, useState, forwardRef } from "react"; import { Meta, StoryObj } from "@storybook/react"; -import { Content } from "@components/placeholders"; +import { Content } from "@components/placeholders/index.ts"; const meta = { title: "Components/Menu", diff --git a/packages/components/src/menu/src/Menu.tsx b/packages/components/src/menu/src/Menu.tsx index 5341372b4..949451a78 100644 --- a/packages/components/src/menu/src/Menu.tsx +++ b/packages/components/src/menu/src/Menu.tsx @@ -1,4 +1,4 @@ -import { CollectionDivider, CollectionItem, CollectionNode, CollectionSection, NodeType, useCollection, useScrollableCollection } from "../../collection"; +import { CollectionDivider, CollectionItem, CollectionNode, CollectionSection, NodeType, useCollection, useScrollableCollection } from "../../collection/index.ts" import { ComponentProps, KeyboardEvent, ReactNode, SyntheticEvent, forwardRef } from "react"; import { InternalProps, @@ -21,14 +21,14 @@ import { useKeyedRovingFocus, useMergedRefs, useRefState -} from "../../shared"; -import { ResponsiveProp, useResponsiveValue } from "../../styling"; +} from "../../shared/index.ts" +import { ResponsiveProp, useResponsiveValue } from "../../styling/index.ts" -import { Box } from "../../box"; +import { Box } from "../../box/index.ts" import { MenuContext } from "./MenuContext"; import { MenuItem } from "./MenuItem"; import { MenuSection } from "./MenuSection"; -import { ValidationState } from "../../input"; +import { ValidationState } from "../../input/index.ts" export type MenuSelectionMode = "none" | "single" | "multiple"; diff --git a/packages/components/src/menu/src/MenuItem.tsx b/packages/components/src/menu/src/MenuItem.tsx index c5daee1f1..123145065 100644 --- a/packages/components/src/menu/src/MenuItem.tsx +++ b/packages/components/src/menu/src/MenuItem.tsx @@ -1,11 +1,11 @@ -import { Box } from "../../box"; +import { Box } from "../../box/index.ts" import { CheckmarkIcon } from "@hopper-ui/icons"; -import { CollectionItem } from "../../collection"; +import { CollectionItem } from "../../collection/index.ts" import { ComponentProps, MouseEvent, ReactElement, ReactNode, forwardRef, useMemo } from "react"; -import { InteractionProps, InternalProps, OmitInternalProps, SlotElements, StyledComponentProps, cssModule, isNil, mergeProps, useEventCallback, useSlots } from "../../shared"; +import { InteractionProps, InternalProps, OmitInternalProps, SlotElements, StyledComponentProps, cssModule, isNil, mergeProps, useEventCallback, useSlots } from "../../shared/index.ts" import { MenuSelectionMode, ItemKeyProp } from "./Menu"; -import { Text } from "../../typography"; -import { TooltipTrigger } from "../../tooltip"; +import { Text } from "../../typography/index.ts" +import { TooltipTrigger } from "../../tooltip/index.ts" import { useMenuContext } from "./MenuContext"; const DefaultElement = "li"; diff --git a/packages/components/src/menu/src/MenuSection.tsx b/packages/components/src/menu/src/MenuSection.tsx index aee8a26a6..397b8dbc8 100644 --- a/packages/components/src/menu/src/MenuSection.tsx +++ b/packages/components/src/menu/src/MenuSection.tsx @@ -1,7 +1,7 @@ -import { Box } from "../../box"; +import { Box } from "../../box/index.ts" import { ComponentProps, ReactNode, forwardRef } from "react"; -import { InternalProps, OmitInternalProps, StyledComponentProps, mergeProps } from "../../shared"; -import { Span, UL } from "../../html"; +import { InternalProps, OmitInternalProps, StyledComponentProps, mergeProps } from "../../shared/index.ts" +import { Span, UL } from "../../html/index.ts" const DefaultElement = "li"; diff --git a/packages/components/src/menu/src/MenuTrigger.tsx b/packages/components/src/menu/src/MenuTrigger.tsx index 7ff8f5091..ae56b9489 100644 --- a/packages/components/src/menu/src/MenuTrigger.tsx +++ b/packages/components/src/menu/src/MenuTrigger.tsx @@ -13,12 +13,12 @@ import { useEventCallback, useId, useRefState -} from "../../shared"; -import { Overlay, PopupPosition, PopupProps, usePopup } from "../../overlay"; +} from "../../shared/index.ts" +import { Overlay, PopupPosition, PopupProps, usePopup } from "../../overlay/index.ts" -import { DisclosureContext } from "../../disclosure"; +import { DisclosureContext } from "../../disclosure/index.ts" import { MenuTriggerContext } from "./MenuTriggerContext"; -import { useInputGroupMenuAddonProps } from "../../input-group"; +import { useInputGroupMenuAddonProps } from "../../input-group/index.ts" const DefaultElement = "div"; diff --git a/packages/components/src/menu/tests/chromatic/Menu-hopper.stories.tsx b/packages/components/src/menu/tests/chromatic/Menu-hopper.stories.tsx index 0cb518f61..6c9b5e32f 100644 --- a/packages/components/src/menu/tests/chromatic/Menu-hopper.stories.tsx +++ b/packages/components/src/menu/tests/chromatic/Menu-hopper.stories.tsx @@ -1,10 +1,10 @@ -import { Div } from "@components/html"; -import { Divider } from "@components/divider"; -import { Inline, Stack } from "@components/layout"; +import { Div } from "@components/html/index.ts"; +import { Divider } from "@components/divider/index.ts"; +import { Inline, Stack } from "@components/layout/index.ts"; import { Avatar, IconList, Text } from "@hopper-ui/components"; import { LightbulbIcon, NotificationIcon } from "@hopper-ui/icons"; -import { Item, Section, NodeType } from "@components/collection"; -import { Menu, MenuItem, MenuItemProps } from "@components/menu"; +import { Item, Section, NodeType } from "@components/collection/index.ts"; +import { Menu, MenuItem, MenuItemProps } from "@components/menu/index.ts"; import { Meta, StoryObj } from "@storybook/react"; const meta = { diff --git a/packages/components/src/menu/tests/chromatic/Menu.stories.tsx b/packages/components/src/menu/tests/chromatic/Menu.stories.tsx index 194974785..f55a11d11 100644 --- a/packages/components/src/menu/tests/chromatic/Menu.stories.tsx +++ b/packages/components/src/menu/tests/chromatic/Menu.stories.tsx @@ -1,12 +1,12 @@ -import { Avatar } from "@components/avatar"; -import { Div } from "@components/html"; -import { Divider } from "@components/divider"; -import { IconList } from "@components/icons"; +import { Avatar } from "@components/avatar/index.ts"; +import { Div } from "@components/html/index.ts"; +import { Divider } from "@components/divider/index.ts"; +import { IconList } from "@components/icons/index.ts"; import { LightbulbIcon, NotificationIcon } from "@hopper-ui/icons"; -import { Inline, Stack } from "@components/layout"; -import { Item, Section, NodeType } from "@components/collection"; -import { Menu, MenuItem, MenuItemProps } from "@components/menu"; -import { Text } from "@components/typography"; +import { Inline, Stack } from "@components/layout/index.ts"; +import { Item, Section, NodeType } from "@components/collection/index.ts"; +import { Menu, MenuItem, MenuItemProps } from "@components/menu/index.ts"; +import { Text } from "@components/typography/index.ts"; import { Meta, StoryObj } from "@storybook/react"; const meta = { diff --git a/packages/components/src/menu/tests/chromatic/MenuTrigger-hopper.stories.tsx b/packages/components/src/menu/tests/chromatic/MenuTrigger-hopper.stories.tsx index 276c2f3de..9e3915b06 100644 --- a/packages/components/src/menu/tests/chromatic/MenuTrigger-hopper.stories.tsx +++ b/packages/components/src/menu/tests/chromatic/MenuTrigger-hopper.stories.tsx @@ -1,9 +1,9 @@ -import { Button, IconButton } from "@components/button"; -import { Item, Section } from "@components/collection"; -import { Menu, MenuProps, MenuTrigger } from "@components/menu"; -import { DisclosureArrow } from "@components/disclosure"; -import { Divider } from "@components/divider"; -import { HtmlButton, HtmlButtonProps } from "@components/html"; +import { Button, IconButton } from "@components/button/index.ts"; +import { Item, Section } from "@components/collection/index.ts"; +import { Menu, MenuProps, MenuTrigger } from "@components/menu/index.ts"; +import { DisclosureArrow } from "@components/disclosure/index.ts"; +import { Divider } from "@components/divider/index.ts"; +import { HtmlButton, HtmlButtonProps } from "@components/html/index.ts"; import { Text } from "@hopper-ui/components"; import { KebabIcon } from "@hopper-ui/icons"; import { forwardRef } from "react"; diff --git a/packages/components/src/menu/tests/chromatic/MenuTrigger.stories.tsx b/packages/components/src/menu/tests/chromatic/MenuTrigger.stories.tsx index 3c155e744..891125ad6 100644 --- a/packages/components/src/menu/tests/chromatic/MenuTrigger.stories.tsx +++ b/packages/components/src/menu/tests/chromatic/MenuTrigger.stories.tsx @@ -1,10 +1,10 @@ -import { Button, IconButton } from "@components/button"; -import { Item, Section } from "@components/collection"; -import { Menu, MenuProps, MenuTrigger } from "@components/menu"; -import { DisclosureArrow } from "@components/disclosure"; -import { Divider } from "@components/divider"; -import { HtmlButton, HtmlButtonProps } from "@components/html"; -import { Text } from "@components/typography"; +import { Button, IconButton } from "@components/button/index.ts"; +import { Item, Section } from "@components/collection/index.ts"; +import { Menu, MenuProps, MenuTrigger } from "@components/menu/index.ts"; +import { DisclosureArrow } from "@components/disclosure/index.ts"; +import { Divider } from "@components/divider/index.ts"; +import { HtmlButton, HtmlButtonProps } from "@components/html/index.ts"; +import { Text } from "@components/typography/index.ts"; import { KebabIcon } from "@hopper-ui/icons"; import { forwardRef } from "react"; diff --git a/packages/components/src/menu/tests/jest/Menu.test.tsx b/packages/components/src/menu/tests/jest/Menu.test.tsx index bcf510fc5..59a3f367e 100644 --- a/packages/components/src/menu/tests/jest/Menu.test.tsx +++ b/packages/components/src/menu/tests/jest/Menu.test.tsx @@ -1,9 +1,9 @@ -import { Item, Section } from "@components/collection"; +import { Item, Section } from "@components/collection/index.ts"; import { act, fireEvent, screen, waitFor, renderWithTheme } from "@test-utils"; -import { Divider } from "@components/divider"; -import { Keys } from "@components/shared"; -import { Menu } from "@components/menu"; -import { Text } from "@components/typography"; +import { Divider } from "@components/divider/index.ts"; +import { Keys } from "@components/shared/index.ts"; +import { Menu } from "@components/menu/index.ts"; +import { Text } from "@components/typography/index.ts"; import { createRef } from "react"; import userEvent from "@testing-library/user-event"; diff --git a/packages/components/src/menu/tests/jest/MenuTrigger.ssr.test.tsx b/packages/components/src/menu/tests/jest/MenuTrigger.ssr.test.tsx index e77444247..f03bc74db 100644 --- a/packages/components/src/menu/tests/jest/MenuTrigger.ssr.test.tsx +++ b/packages/components/src/menu/tests/jest/MenuTrigger.ssr.test.tsx @@ -1,9 +1,9 @@ /** * @jest-environment node */ -import { Button } from "@components/button"; -import { Item } from "@components/collection"; -import { Menu, MenuTrigger } from "@components/menu"; +import { Button } from "@components/button/index.ts"; +import { Item } from "@components/collection/index.ts"; +import { Menu, MenuTrigger } from "@components/menu/index.ts"; import { renderToString } from "react-dom/server"; import { throwOnConsoleLogs } from "@test-utils"; diff --git a/packages/components/src/menu/tests/jest/MenuTrigger.test.tsx b/packages/components/src/menu/tests/jest/MenuTrigger.test.tsx index 9d7647bdf..b23fb2c7b 100644 --- a/packages/components/src/menu/tests/jest/MenuTrigger.test.tsx +++ b/packages/components/src/menu/tests/jest/MenuTrigger.test.tsx @@ -1,9 +1,9 @@ -import { Menu, MenuTrigger } from "@components/menu"; +import { Menu, MenuTrigger } from "@components/menu/index.ts"; import { act, fireEvent, screen, waitFor, renderWithTheme } from "@test-utils"; -import { Button } from "@components/button"; -import { Item } from "@components/collection"; -import { Keys } from "@components/shared"; -import { Transition } from "@components/transition"; +import { Button } from "@components/button/index.ts"; +import { Item } from "@components/collection/index.ts"; +import { Keys } from "@components/shared/index.ts"; +import { Transition } from "@components/transition/index.ts"; import { createRef } from "react"; import userEvent from "@testing-library/user-event"; diff --git a/packages/components/src/modal/docs/Modal.mdx b/packages/components/src/modal/docs/Modal.mdx index d539b319a..53d131fad 100644 --- a/packages/components/src/modal/docs/Modal.mdx +++ b/packages/components/src/modal/docs/Modal.mdx @@ -1,7 +1,7 @@ import { ArgTypes, Meta, C, ArgTypesanvas } from "@storybook/addon-docs"; import { ComponentInfo, Tagline } from "@stories/components"; -import { InnerContent, InnerFooter, InnerHeader } from "@components/placeholders"; -import { InnerModal, InnerModalTrigger } from "@components/modal"; +import { InnerContent, InnerFooter, InnerHeader } from "@components/placeholders/index.ts"; +import { InnerModal, InnerModalTrigger } from "@components/modal/index.ts"; import * as ModalStories from "./Modal.stories.tsx" diff --git a/packages/components/src/modal/docs/Modal.stories.tsx b/packages/components/src/modal/docs/Modal.stories.tsx index edc4beeb9..951eceada 100644 --- a/packages/components/src/modal/docs/Modal.stories.tsx +++ b/packages/components/src/modal/docs/Modal.stories.tsx @@ -1,13 +1,13 @@ -import { Button, ButtonGroup } from "@components/button"; -import { Card } from "@components/card"; -import { Overlay } from "@components/overlay"; -import { Content, Footer, Header } from "@components/placeholders"; +import { Button, ButtonGroup } from "@components/button/index.ts"; +import { Card } from "@components/card/index.ts"; +import { Overlay } from "@components/overlay/index.ts"; +import { Content, Footer, Header } from "@components/placeholders/index.ts"; import { ET, Planet, SpacePortrait, SpacePortraitHorizontal, TheMartian } from "./assets"; -import { Heading, Paragraph } from "@components/typography"; -import { Illustration } from "@components/illustration"; -import { Image } from "@components/image"; -import { Modal, ModalTrigger, useModalTriggerContext } from "@components/modal"; -import { TextLink } from "@components/link"; +import { Heading, Paragraph } from "@components/typography/index.ts"; +import { Illustration } from "@components/illustration/index.ts"; +import { Image } from "@components/image/index.ts"; +import { Modal, ModalTrigger, useModalTriggerContext } from "@components/modal/index.ts"; +import { TextLink } from "@components/link/index.ts"; import { forwardRef, useCallback, useState } from "react"; import { Meta, StoryObj } from "@storybook/react"; diff --git a/packages/components/src/modal/src/Modal.tsx b/packages/components/src/modal/src/Modal.tsx index 1f48c2a9b..ead86456a 100644 --- a/packages/components/src/modal/src/Modal.tsx +++ b/packages/components/src/modal/src/Modal.tsx @@ -1,9 +1,9 @@ -import { AbstractDialogProps, Dialog } from "../../dialog"; +import { AbstractDialogProps, Dialog } from "../../dialog/index.ts" import { Children, ComponentProps, ReactElement, ReactNode, forwardRef, useMemo } from "react"; -import { Content } from "../../placeholders"; -import { Div } from "../../html"; -import { OmitInternalProps, augmentElement, getSlotKey, isNil, mergeProps, useSlots } from "../../shared"; -import { StyleProvider } from "../../styling"; +import { Content } from "../../placeholders/index.ts" +import { Div } from "../../html/index.ts" +import { OmitInternalProps, augmentElement, getSlotKey, isNil, mergeProps, useSlots } from "../../shared/index.ts" +import { StyleProvider } from "../../styling/index.ts" const DefaultElement = "section"; diff --git a/packages/components/src/modal/src/ModalTrigger.tsx b/packages/components/src/modal/src/ModalTrigger.tsx index 1cef576b7..d6b03b343 100644 --- a/packages/components/src/modal/src/ModalTrigger.tsx +++ b/packages/components/src/modal/src/ModalTrigger.tsx @@ -1,6 +1,6 @@ import { ComponentProps, forwardRef } from "react"; -import { DialogTrigger, InnerDialogTrigger, InnerDialogTriggerProps } from "../../dialog"; -import { OmitInternalProps } from "../../shared"; +import { DialogTrigger, InnerDialogTrigger, InnerDialogTriggerProps } from "../../dialog/index.ts" +import { OmitInternalProps } from "../../shared/index.ts" export type InnerModalTriggerProps = InnerDialogTriggerProps; diff --git a/packages/components/src/modal/src/useModalTriggerContext.ts b/packages/components/src/modal/src/useModalTriggerContext.ts index c2b371a57..1d061154f 100644 --- a/packages/components/src/modal/src/useModalTriggerContext.ts +++ b/packages/components/src/modal/src/useModalTriggerContext.ts @@ -1,4 +1,4 @@ -import { DialogTriggerContextType, useDialogTriggerContext } from "../../dialog"; +import { DialogTriggerContextType, useDialogTriggerContext } from "../../dialog/index.ts" export type ModalTriggerContextType = DialogTriggerContextType; diff --git a/packages/components/src/modal/tests/chromatic/Modal-hopper.stories.tsx b/packages/components/src/modal/tests/chromatic/Modal-hopper.stories.tsx index 710351ff2..023611938 100644 --- a/packages/components/src/modal/tests/chromatic/Modal-hopper.stories.tsx +++ b/packages/components/src/modal/tests/chromatic/Modal-hopper.stories.tsx @@ -1,11 +1,11 @@ import { Apollo11Poster, BlueOrigin, Nasa, SpaceX } from "./assets"; -import { Paragraph } from "@components/typography"; -import { Card } from "@components/card"; -import { Content } from "@components/placeholders"; -import { Div } from "@components/html"; -import { Illustration } from "@components/illustration"; -import { Image } from "@components/image"; -import { Modal } from "@components/modal"; +import { Paragraph } from "@components/typography/index.ts"; +import { Card } from "@components/card/index.ts"; +import { Content } from "@components/placeholders/index.ts"; +import { Div } from "@components/html/index.ts"; +import { Illustration } from "@components/illustration/index.ts"; +import { Image } from "@components/image/index.ts"; +import { Modal } from "@components/modal/index.ts"; import { Button, Heading } from "@hopper-ui/components"; import { Meta, StoryObj } from "@storybook/react"; diff --git a/packages/components/src/modal/tests/chromatic/Modal.stories.tsx b/packages/components/src/modal/tests/chromatic/Modal.stories.tsx index 3a511cd6f..8c5c6838d 100644 --- a/packages/components/src/modal/tests/chromatic/Modal.stories.tsx +++ b/packages/components/src/modal/tests/chromatic/Modal.stories.tsx @@ -1,13 +1,13 @@ import { Apollo11Poster, BlueOrigin, Nasa, SpaceX } from "./assets"; -import { Heading, Paragraph } from "@components/typography"; +import { Heading, Paragraph } from "@components/typography/index.ts"; -import { Button } from "@components/button"; -import { Card } from "@components/card"; -import { Content } from "@components/placeholders"; -import { Div } from "@components/html"; -import { Illustration } from "@components/illustration"; -import { Image } from "@components/image"; -import { Modal } from "@components/modal"; +import { Button } from "@components/button/index.ts"; +import { Card } from "@components/card/index.ts"; +import { Content } from "@components/placeholders/index.ts"; +import { Div } from "@components/html/index.ts"; +import { Illustration } from "@components/illustration/index.ts"; +import { Image } from "@components/image/index.ts"; +import { Modal } from "@components/modal/index.ts"; import { Meta, StoryObj } from "@storybook/react"; const meta = { diff --git a/packages/components/src/modal/tests/chromatic/ModalTrigger-hopper.stories.tsx b/packages/components/src/modal/tests/chromatic/ModalTrigger-hopper.stories.tsx index b3fea5b80..2c2e444fc 100644 --- a/packages/components/src/modal/tests/chromatic/ModalTrigger-hopper.stories.tsx +++ b/packages/components/src/modal/tests/chromatic/ModalTrigger-hopper.stories.tsx @@ -1,6 +1,6 @@ -import { Paragraph } from "@components/typography"; -import { Modal, ModalTrigger } from "@components/modal"; -import { Content } from "@components/placeholders"; +import { Paragraph } from "@components/typography/index.ts"; +import { Modal, ModalTrigger } from "@components/modal/index.ts"; +import { Content } from "@components/placeholders/index.ts"; import { Button, Heading } from "@hopper-ui/components"; import { Meta, StoryObj } from "@storybook/react"; diff --git a/packages/components/src/modal/tests/chromatic/ModalTrigger.stories.tsx b/packages/components/src/modal/tests/chromatic/ModalTrigger.stories.tsx index 8259bae79..b536c1934 100644 --- a/packages/components/src/modal/tests/chromatic/ModalTrigger.stories.tsx +++ b/packages/components/src/modal/tests/chromatic/ModalTrigger.stories.tsx @@ -1,7 +1,7 @@ -import { Heading, Paragraph } from "@components/typography"; -import { Modal, ModalTrigger } from "@components/modal"; -import { Button } from "@components/button"; -import { Content } from "@components/placeholders"; +import { Heading, Paragraph } from "@components/typography/index.ts"; +import { Modal, ModalTrigger } from "@components/modal/index.ts"; +import { Button } from "@components/button/index.ts"; +import { Content } from "@components/placeholders/index.ts"; import { Meta, StoryObj } from "@storybook/react"; const meta = { diff --git a/packages/components/src/modal/tests/jest/Modal.test.tsx b/packages/components/src/modal/tests/jest/Modal.test.tsx index b8a96fe45..704d99dfa 100644 --- a/packages/components/src/modal/tests/jest/Modal.test.tsx +++ b/packages/components/src/modal/tests/jest/Modal.test.tsx @@ -1,6 +1,6 @@ -import { Content } from "@components/placeholders"; -import { Heading } from "@components/typography"; -import { Modal } from "@components/modal"; +import { Content } from "@components/placeholders/index.ts"; +import { Heading } from "@components/typography/index.ts"; +import { Modal } from "@components/modal/index.ts"; import { createRef } from "react"; import { renderWithTheme, waitFor } from "@test-utils"; diff --git a/packages/components/src/modal/tests/jest/ModalTrigger.ssr.test.tsx b/packages/components/src/modal/tests/jest/ModalTrigger.ssr.test.tsx index 50eb91218..5d5e3aa1f 100644 --- a/packages/components/src/modal/tests/jest/ModalTrigger.ssr.test.tsx +++ b/packages/components/src/modal/tests/jest/ModalTrigger.ssr.test.tsx @@ -1,10 +1,10 @@ /** * @jest-environment node */ -import { Button } from "@components/button"; -import { Content } from "@components/placeholders"; -import { Heading } from "@components/typography"; -import { Modal, ModalTrigger } from "@components/modal"; +import { Button } from "@components/button/index.ts"; +import { Content } from "@components/placeholders/index.ts"; +import { Heading } from "@components/typography/index.ts"; +import { Modal, ModalTrigger } from "@components/modal/index.ts"; import { renderToString } from "react-dom/server"; import { throwOnConsoleLogs } from "@test-utils"; diff --git a/packages/components/src/modal/tests/jest/ModalTrigger.test.tsx b/packages/components/src/modal/tests/jest/ModalTrigger.test.tsx index 1c1c68d4e..f0403474b 100644 --- a/packages/components/src/modal/tests/jest/ModalTrigger.test.tsx +++ b/packages/components/src/modal/tests/jest/ModalTrigger.test.tsx @@ -1,7 +1,7 @@ -import { Button } from "@components/button"; -import { Content } from "@components/placeholders"; -import { Heading } from "@components/typography"; -import { Modal, ModalTrigger } from "@components/modal"; +import { Button } from "@components/button/index.ts"; +import { Content } from "@components/placeholders/index.ts"; +import { Heading } from "@components/typography/index.ts"; +import { Modal, ModalTrigger } from "@components/modal/index.ts"; import { createRef } from "react"; import { renderWithTheme, waitFor } from "@test-utils"; diff --git a/packages/components/src/number-input/docs/NumberInput.mdx b/packages/components/src/number-input/docs/NumberInput.mdx index 48c09573b..671589003 100644 --- a/packages/components/src/number-input/docs/NumberInput.mdx +++ b/packages/components/src/number-input/docs/NumberInput.mdx @@ -1,6 +1,6 @@ import { ArgTypes, Meta, Canvas } from "@storybook/addon-docs"; import { ComponentInfo, Tagline } from "@stories/components"; -import { InnerNumberInput } from "@components/number-input"; +import { InnerNumberInput } from "@components/number-input/index.ts"; import * as NumberInputStories from "./NumberInput.stories.tsx"; diff --git a/packages/components/src/number-input/docs/NumberInput.stories.tsx b/packages/components/src/number-input/docs/NumberInput.stories.tsx index f490e4991..31bee58d9 100644 --- a/packages/components/src/number-input/docs/NumberInput.stories.tsx +++ b/packages/components/src/number-input/docs/NumberInput.stories.tsx @@ -1,8 +1,8 @@ import { EditIcon } from "@hopper-ui/icons"; -import { Button } from "@components/button"; -import { Inline } from "@components/layout"; -import { NumberInput } from "@components/number-input"; -import { isNil } from "@components/shared"; +import { Button } from "@components/button/index.ts"; +import { Inline } from "@components/layout/index.ts"; +import { NumberInput } from "@components/number-input/index.ts"; +import { isNil } from "@components/shared/index.ts"; import { useCallback, useMemo, useState } from "react"; import { Meta, StoryObj } from "@storybook/react"; diff --git a/packages/components/src/number-input/src/NumberInput.tsx b/packages/components/src/number-input/src/NumberInput.tsx index 58c21a32a..08a7772ad 100644 --- a/packages/components/src/number-input/src/NumberInput.tsx +++ b/packages/components/src/number-input/src/NumberInput.tsx @@ -1,7 +1,7 @@ -import { AbstractInputProps, adaptInputStylingProps, useInput, useInputIcon, useInputSpinner } from "../../input"; -import { Box, BoxProps } from "../../box"; +import { AbstractInputProps, adaptInputStylingProps, useInput, useInputIcon, useInputSpinner } from "../../input/index.ts" +import { Box, BoxProps } from "../../box/index.ts" import { ChangeEvent, ComponentProps, FocusEvent, FocusEventHandler, MouseEvent, ReactElement, Ref, SyntheticEvent, forwardRef, useCallback, useMemo } from "react"; -import { Div, HtmlButton } from "../../html"; +import { Div, HtmlButton } from "../../html/index.ts" import { OmitInternalProps, cssModule, @@ -15,13 +15,13 @@ import { useEventCallback, useFocusWithin, useRefState -} from "../../shared"; -import { ResponsiveProp, useResponsiveValue } from "../../styling"; +} from "../../shared/index.ts" +import { ResponsiveProp, useResponsiveValue } from "../../styling/index.ts" import { AngleDownIcon, AngleUpIcon } from "@hopper-ui/icons"; -import { useFieldInputProps } from "../../field"; -import { useInputGroupProps } from "../../input-group"; -import { useToolbarProps } from "../../toolbar"; +import { useFieldInputProps } from "../../field/index.ts" +import { useInputGroupProps } from "../../input-group/index.ts" +import { useToolbarProps } from "../../toolbar/index.ts" const DefaultElement = "input"; diff --git a/packages/components/src/number-input/tests/chromatic/NumberInput.stories.tsx b/packages/components/src/number-input/tests/chromatic/NumberInput.stories.tsx index 67d1659b4..66a3b9036 100644 --- a/packages/components/src/number-input/tests/chromatic/NumberInput.stories.tsx +++ b/packages/components/src/number-input/tests/chromatic/NumberInput.stories.tsx @@ -1,7 +1,7 @@ -import { Inline, Stack } from "@components/layout"; -import { Div } from "@components/html"; +import { Inline, Stack } from "@components/layout/index.ts"; +import { Div } from "@components/html/index.ts"; import { EditIcon } from "@hopper-ui/icons"; -import { NumberInput } from "@components/number-input"; +import { NumberInput } from "@components/number-input/index.ts"; import { Meta, StoryObj } from "@storybook/react"; const meta = { diff --git a/packages/components/src/number-input/tests/jest/NumberInput.ssr.test.tsx b/packages/components/src/number-input/tests/jest/NumberInput.ssr.test.tsx index e75013e26..0482af18f 100644 --- a/packages/components/src/number-input/tests/jest/NumberInput.ssr.test.tsx +++ b/packages/components/src/number-input/tests/jest/NumberInput.ssr.test.tsx @@ -1,7 +1,7 @@ /** * @jest-environment node */ -import { NumberInput } from "@components/number-input"; +import { NumberInput } from "@components/number-input/index.ts"; import { renderToString } from "react-dom/server"; import { throwOnConsoleLogs } from "@test-utils"; diff --git a/packages/components/src/number-input/tests/jest/NumberInput.test.tsx b/packages/components/src/number-input/tests/jest/NumberInput.test.tsx index 4b2011ba3..c38de1b47 100644 --- a/packages/components/src/number-input/tests/jest/NumberInput.test.tsx +++ b/packages/components/src/number-input/tests/jest/NumberInput.test.tsx @@ -1,6 +1,6 @@ -import { Field, Label } from "@components/field"; +import { Field, Label } from "@components/field/index.ts"; import { act, screen, waitFor, renderWithTheme } from "@test-utils"; -import { NumberInput } from "@components/number-input"; +import { NumberInput } from "@components/number-input/index.ts"; import { createRef } from "react"; import userEvent from "@testing-library/user-event"; diff --git a/packages/components/src/overlay/docs/Overlay.mdx b/packages/components/src/overlay/docs/Overlay.mdx index 6fbcc5787..cc5a2a289 100644 --- a/packages/components/src/overlay/docs/Overlay.mdx +++ b/packages/components/src/overlay/docs/Overlay.mdx @@ -1,6 +1,6 @@ import { ArgTypes, Meta } from "@storybook/addon-docs"; import { ComponentInfo, Tagline } from "@stories/components"; -import { InnerOverlay, InnerOverlayArrow } from "@components/overlay"; +import { InnerOverlay, InnerOverlayArrow } from "@components/overlay/index.ts"; <Meta title="Components/Overlay" diff --git a/packages/components/src/overlay/src/Overlay.tsx b/packages/components/src/overlay/src/Overlay.tsx index c6d247129..db0a2433e 100644 --- a/packages/components/src/overlay/src/Overlay.tsx +++ b/packages/components/src/overlay/src/Overlay.tsx @@ -1,8 +1,8 @@ import { ComponentProps, ReactNode, forwardRef } from "react"; -import { InternalProps, OmitInternalProps, StyledComponentProps, cssModule, getBodyElement, mergeProps } from "../../shared"; -import { ThemeProvider, useColorSchemeContext } from "../../styling"; +import { InternalProps, OmitInternalProps, StyledComponentProps, cssModule, getBodyElement, mergeProps } from "../../shared/index.ts" +import { ThemeProvider, useColorSchemeContext } from "../../styling/index.ts" -import { Transition } from "../../transition"; +import { Transition } from "../../transition/index.ts" import { createPortal } from "react-dom"; const DefaultElement = "div"; diff --git a/packages/components/src/overlay/src/OverlayArrow.tsx b/packages/components/src/overlay/src/OverlayArrow.tsx index 4ed58aa36..e9865e8a7 100644 --- a/packages/components/src/overlay/src/OverlayArrow.tsx +++ b/packages/components/src/overlay/src/OverlayArrow.tsx @@ -1,6 +1,6 @@ -import { Box } from "../../box"; +import { Box } from "../../box/index.ts" import { ComponentProps, forwardRef } from "react"; -import { InternalProps, OmitInternalProps, StyledComponentProps, mergeProps } from "../../shared"; +import { InternalProps, OmitInternalProps, StyledComponentProps, mergeProps } from "../../shared/index.ts" const DefaultElement = "div"; diff --git a/packages/components/src/overlay/src/Underlay.tsx b/packages/components/src/overlay/src/Underlay.tsx index 629996331..3f4a1dffe 100644 --- a/packages/components/src/overlay/src/Underlay.tsx +++ b/packages/components/src/overlay/src/Underlay.tsx @@ -1,6 +1,6 @@ -import { Box } from "../../box"; +import { Box } from "../../box/index.ts" import { ComponentProps, forwardRef } from "react"; -import { InternalProps, OmitInternalProps, StyledComponentProps, mergeProps } from "../../shared"; +import { InternalProps, OmitInternalProps, StyledComponentProps, mergeProps } from "../../shared/index.ts" const DefaultElement = "div"; diff --git a/packages/components/src/overlay/src/isDevtoolsBlurEvent.ts b/packages/components/src/overlay/src/isDevtoolsBlurEvent.ts index ff36d0db9..500c8bc5b 100644 --- a/packages/components/src/overlay/src/isDevtoolsBlurEvent.ts +++ b/packages/components/src/overlay/src/isDevtoolsBlurEvent.ts @@ -1,4 +1,4 @@ -import { FocusScope } from "../../shared"; +import { FocusScope } from "../../shared/index.ts" export function isDevToolsBlurEvent(focusScope: FocusScope) { // This is a fix to prevent an overlay from closing when the dev tools opens. diff --git a/packages/components/src/overlay/src/useInteractOutside.ts b/packages/components/src/overlay/src/useInteractOutside.ts index 9c1747274..1f771f7ee 100644 --- a/packages/components/src/overlay/src/useInteractOutside.ts +++ b/packages/components/src/overlay/src/useInteractOutside.ts @@ -1,4 +1,4 @@ -import { FocusScope, isNil, useDocumentListener, useEventCallback } from "../../shared"; +import { FocusScope, isNil, useDocumentListener, useEventCallback } from "../../shared/index.ts" import { MouseEvent } from "react"; diff --git a/packages/components/src/overlay/src/useOverlayFocusRing.ts b/packages/components/src/overlay/src/useOverlayFocusRing.ts index a2a1e13e1..3b69dbcd5 100644 --- a/packages/components/src/overlay/src/useOverlayFocusRing.ts +++ b/packages/components/src/overlay/src/useOverlayFocusRing.ts @@ -1,4 +1,4 @@ -import { cssModule } from "../../shared"; +import { cssModule } from "../../shared/index.ts" interface UseOverlayFocusRingProps { focus?: boolean; diff --git a/packages/components/src/overlay/src/useOverlayLightDismiss.ts b/packages/components/src/overlay/src/useOverlayLightDismiss.ts index 01e4f58cf..eadc45f6b 100644 --- a/packages/components/src/overlay/src/useOverlayLightDismiss.ts +++ b/packages/components/src/overlay/src/useOverlayLightDismiss.ts @@ -1,5 +1,5 @@ import { FocusEvent, KeyboardEvent, MouseEvent, SyntheticEvent } from "react"; -import { FocusScope, Keys, isNil, useEventCallback, useFocusWithin } from "../../shared"; +import { FocusScope, Keys, isNil, useEventCallback, useFocusWithin } from "../../shared/index.ts" import { OverlayTrigger } from "./useOverlayTrigger"; import { isDevToolsBlurEvent } from "./isDevtoolsBlurEvent"; diff --git a/packages/components/src/overlay/src/useOverlayPosition.ts b/packages/components/src/overlay/src/useOverlayPosition.ts index f6b42f599..819f0b9a3 100644 --- a/packages/components/src/overlay/src/useOverlayPosition.ts +++ b/packages/components/src/overlay/src/useOverlayPosition.ts @@ -1,6 +1,6 @@ import { Instance, Placement, createPopper } from "@popperjs/core"; -import { ResponsiveProp } from "../../styling"; -import { getBodyElement, isNil, useMergedRefs, useRefState } from "../../shared"; +import { ResponsiveProp } from "../../styling/index.ts" +import { getBodyElement, isNil, useMergedRefs, useRefState } from "../../shared/index.ts" import { useCallback } from "react"; export type OverlayPosition = Placement; diff --git a/packages/components/src/overlay/src/useOverlayTrigger.ts b/packages/components/src/overlay/src/useOverlayTrigger.ts index c930add3e..219e934be 100644 --- a/packages/components/src/overlay/src/useOverlayTrigger.ts +++ b/packages/components/src/overlay/src/useOverlayTrigger.ts @@ -1,5 +1,5 @@ import { FocusEvent, KeyboardEvent, MouseEvent, SyntheticEvent } from "react"; -import { Keys, isNil, useEventCallback } from "../../shared"; +import { Keys, isNil, useEventCallback } from "../../shared/index.ts" export type OverlayTrigger = "none" | "click" | "hover"; diff --git a/packages/components/src/overlay/src/usePopup.ts b/packages/components/src/overlay/src/usePopup.ts index 5a42610b9..0f7875d7a 100644 --- a/packages/components/src/overlay/src/usePopup.ts +++ b/packages/components/src/overlay/src/usePopup.ts @@ -1,9 +1,9 @@ import { OverlayPosition, useOverlayPosition } from "./useOverlayPosition"; import { PopupType, usePopupAriaProps } from "./usePopupAriaProps"; import { SyntheticEvent, useCallback } from "react"; -import { isNil, mergeProps, useControllableState, useEventCallback, useFocusManager, useFocusScope, useMergedRefs } from "../../shared"; +import { isNil, mergeProps, useControllableState, useEventCallback, useFocusManager, useFocusScope, useMergedRefs } from "../../shared/index.ts" -import { ResponsiveProp } from "../../styling"; +import { ResponsiveProp } from "../../styling/index.ts" import { useOverlayTrigger } from "./useOverlayTrigger"; import { usePopupLightDismiss } from "./usePopupLightDismiss"; import { useRestoreFocus } from "./useRestoreFocus"; diff --git a/packages/components/src/overlay/src/usePopupAriaProps.ts b/packages/components/src/overlay/src/usePopupAriaProps.ts index 2604cd58a..128871314 100644 --- a/packages/components/src/overlay/src/usePopupAriaProps.ts +++ b/packages/components/src/overlay/src/usePopupAriaProps.ts @@ -1,4 +1,4 @@ -import { useId } from "../../shared"; +import { useId } from "../../shared/index.ts" export type PopupType = "menu" | "listbox" | "dialog"; diff --git a/packages/components/src/overlay/src/usePopupLightDismiss.ts b/packages/components/src/overlay/src/usePopupLightDismiss.ts index e987cb7fb..58a1d2ae1 100644 --- a/packages/components/src/overlay/src/usePopupLightDismiss.ts +++ b/packages/components/src/overlay/src/usePopupLightDismiss.ts @@ -1,5 +1,5 @@ import { FocusEvent, KeyboardEvent, RefObject, SyntheticEvent } from "react"; -import { FocusScope, Keys, isNil, mergeProps, useEventCallback, useRefState } from "../../shared"; +import { FocusScope, Keys, isNil, mergeProps, useEventCallback, useRefState } from "../../shared/index.ts" import { UseOverlayLightDismissOptions, useOverlayLightDismiss } from "./useOverlayLightDismiss"; import { isDevToolsBlurEvent } from "./isDevtoolsBlurEvent"; diff --git a/packages/components/src/overlay/src/useRestoreFocus.ts b/packages/components/src/overlay/src/useRestoreFocus.ts index 430efbd91..a148facac 100644 --- a/packages/components/src/overlay/src/useRestoreFocus.ts +++ b/packages/components/src/overlay/src/useRestoreFocus.ts @@ -3,7 +3,7 @@ // This restore focus hook only works because we use an animation to fade away the overlay. Without an animation, the active element will always be the body which // will be out of scope. To fix this, it would probably requires this code to become a React element instead of a React hook. -import { FocusScope, Keys, createFocusableTreeWalker, getBodyElement, isNil, useEventCallback, useIsomorphicLayoutEffect, useRefState } from "../../shared"; +import { FocusScope, Keys, createFocusableTreeWalker, getBodyElement, isNil, useEventCallback, useIsomorphicLayoutEffect, useRefState } from "../../shared/index.ts" import { KeyboardEvent } from "react"; import { isElementInViewport } from "./isElementInViewport"; diff --git a/packages/components/src/overlay/src/useTrapFocus.ts b/packages/components/src/overlay/src/useTrapFocus.ts index 279b4326d..a4f8c4752 100644 --- a/packages/components/src/overlay/src/useTrapFocus.ts +++ b/packages/components/src/overlay/src/useTrapFocus.ts @@ -1,4 +1,4 @@ -import { FocusManager, Keys, isNil, useDocumentListener, useEventCallback, useRefState } from "../../shared"; +import { FocusManager, Keys, isNil, useDocumentListener, useEventCallback, useRefState } from "../../shared/index.ts" export interface UseTrapFocusOptions { isDisabled?: boolean; diff --git a/packages/components/src/overlay/src/useTriggerWidth.ts b/packages/components/src/overlay/src/useTriggerWidth.ts index 8ea43db6d..379cbcd7a 100644 --- a/packages/components/src/overlay/src/useTriggerWidth.ts +++ b/packages/components/src/overlay/src/useTriggerWidth.ts @@ -1,5 +1,5 @@ import { RefCallback, useState } from "react"; -import { arrayify, useEventCallback, useResizeObserver } from "../../shared"; +import { arrayify, useEventCallback, useResizeObserver } from "../../shared/index.ts" export interface UseTriggerWidthOptions { isDisabled?: boolean; diff --git a/packages/components/src/overlay/tests/chromatic/Overlay.stories.tsx b/packages/components/src/overlay/tests/chromatic/Overlay.stories.tsx index 9a7467aa5..7fb4f4ab0 100644 --- a/packages/components/src/overlay/tests/chromatic/Overlay.stories.tsx +++ b/packages/components/src/overlay/tests/chromatic/Overlay.stories.tsx @@ -1,7 +1,7 @@ -import { Box, BoxProps } from "@components/box"; -import { Overlay } from "@components/overlay"; -import { ThemeProvider } from "@components/styling"; -import { augmentElement, mergeProps, useMergedRefs } from "@components/shared"; +import { Box, BoxProps } from "@components/box/index.ts"; +import { Overlay } from "@components/overlay/index.ts"; +import { ThemeProvider } from "@components/styling/index.ts"; +import { augmentElement, mergeProps, useMergedRefs } from "@components/shared/index.ts"; import { forwardRef, ReactElement, useState } from "react"; import { Meta, StoryObj } from "@storybook/react"; diff --git a/packages/components/src/overlay/tests/chromatic/Underlay.stories.tsx b/packages/components/src/overlay/tests/chromatic/Underlay.stories.tsx index 1d9aa5f3c..adecf3b41 100644 --- a/packages/components/src/overlay/tests/chromatic/Underlay.stories.tsx +++ b/packages/components/src/overlay/tests/chromatic/Underlay.stories.tsx @@ -1,4 +1,4 @@ -import { Underlay } from "@components/overlay"; +import { Underlay } from "@components/overlay/index.ts"; import { Meta, StoryObj } from "@storybook/react"; const meta = { diff --git a/packages/components/src/overlay/tests/jest/useOverlayLightDismiss.test.tsx b/packages/components/src/overlay/tests/jest/useOverlayLightDismiss.test.tsx index 991abda52..549378ba1 100644 --- a/packages/components/src/overlay/tests/jest/useOverlayLightDismiss.test.tsx +++ b/packages/components/src/overlay/tests/jest/useOverlayLightDismiss.test.tsx @@ -1,8 +1,8 @@ -import { Keys, mergeProps, useFocusScope, useMergedRefs } from "@components/shared"; -import { UseOverlayLightDismissOptions, useOverlayLightDismiss } from "@components/overlay"; +import { Keys, mergeProps, useFocusScope, useMergedRefs } from "@components/shared/index.ts"; +import { UseOverlayLightDismissOptions, useOverlayLightDismiss } from "@components/overlay/index.ts"; import { act, fireEvent, screen, waitFor, renderWithTheme } from "@test-utils"; import { ComponentProps } from "react"; -import { Div } from "@components/html"; +import { Div } from "@components/html/index.ts"; import userEvent from "@testing-library/user-event"; type OverlayProps = UseOverlayLightDismissOptions & ComponentProps<"div">; diff --git a/packages/components/src/overlay/tests/jest/useOverlayTrigger.test.tsx b/packages/components/src/overlay/tests/jest/useOverlayTrigger.test.tsx index 2cf8f9a2e..6ebe8ccff 100644 --- a/packages/components/src/overlay/tests/jest/useOverlayTrigger.test.tsx +++ b/packages/components/src/overlay/tests/jest/useOverlayTrigger.test.tsx @@ -1,6 +1,6 @@ import { ComponentProps } from "react"; -import { mergeProps, Keys } from "@components/shared"; -import { UseOverlayTriggerOptions, useOverlayTrigger } from "@components/overlay"; +import { mergeProps, Keys } from "@components/shared/index.ts"; +import { UseOverlayTriggerOptions, useOverlayTrigger } from "@components/overlay/index.ts"; import { act, fireEvent, screen, waitFor, renderWithTheme } from "@test-utils"; import userEvent from "@testing-library/user-event"; diff --git a/packages/components/src/overlay/tests/jest/usePopup.test.tsx b/packages/components/src/overlay/tests/jest/usePopup.test.tsx index f21d86c51..80362276c 100644 --- a/packages/components/src/overlay/tests/jest/usePopup.test.tsx +++ b/packages/components/src/overlay/tests/jest/usePopup.test.tsx @@ -1,8 +1,8 @@ -import { Overlay, UsePopupOptions, usePopup } from "@components/overlay"; +import { Overlay, UsePopupOptions, usePopup } from "@components/overlay/index.ts"; import { act, fireEvent, screen, waitFor, renderWithTheme } from "@test-utils"; -import { Button } from "@components/button"; -import { Keys } from "@components/shared"; -import { Transition } from "@components/transition"; +import { Button } from "@components/button/index.ts"; +import { Keys } from "@components/shared/index.ts"; +import { Transition } from "@components/transition/index.ts"; import userEvent from "@testing-library/user-event"; type PopupProps = UsePopupOptions & { diff --git a/packages/components/src/overlay/tests/jest/useTrapFocus.test.tsx b/packages/components/src/overlay/tests/jest/useTrapFocus.test.tsx index f073dab89..3e3031529 100644 --- a/packages/components/src/overlay/tests/jest/useTrapFocus.test.tsx +++ b/packages/components/src/overlay/tests/jest/useTrapFocus.test.tsx @@ -1,9 +1,9 @@ -import { UseTrapFocusOptions, useTrapFocus } from "@components/overlay"; +import { UseTrapFocusOptions, useTrapFocus } from "@components/overlay/index.ts"; import { screen, waitFor, renderWithTheme } from "@test-utils"; -import { mergeProps, useFocusManager, useFocusScope } from "@components/shared"; -import { Button } from "@components/button"; +import { mergeProps, useFocusManager, useFocusScope } from "@components/shared/index.ts"; +import { Button } from "@components/button/index.ts"; import { ComponentProps } from "react"; -import { Div } from "@components/html"; +import { Div } from "@components/html/index.ts"; import userEvent from "@testing-library/user-event"; type TrapProps = UseTrapFocusOptions & ComponentProps<"div">; diff --git a/packages/components/src/placeholders/docs/Content.mdx b/packages/components/src/placeholders/docs/Content.mdx index 52ba51a2f..d4a7845e1 100644 --- a/packages/components/src/placeholders/docs/Content.mdx +++ b/packages/components/src/placeholders/docs/Content.mdx @@ -1,6 +1,6 @@ import { ArgTypes, Canvas, Meta } from "@storybook/addon-docs"; import { ComponentInfo, Tagline } from "@stories/components"; -import { InnerContent } from "@components/placeholders"; +import { InnerContent } from "@components/placeholders/index.ts"; import * as ContentStories from "./Content.stories.tsx"; <Meta of={ContentStories} /> diff --git a/packages/components/src/placeholders/docs/Content.stories.tsx b/packages/components/src/placeholders/docs/Content.stories.tsx index 961bb5f36..d7352a1a2 100644 --- a/packages/components/src/placeholders/docs/Content.stories.tsx +++ b/packages/components/src/placeholders/docs/Content.stories.tsx @@ -1,5 +1,5 @@ import { Meta, StoryObj } from "@storybook/react"; -import { Content } from "@components/placeholders"; +import { Content } from "@components/placeholders/index.ts"; const meta = { title: "Placeholders/Content", diff --git a/packages/components/src/placeholders/docs/Footer.mdx b/packages/components/src/placeholders/docs/Footer.mdx index 58124ac04..e9c005929 100644 --- a/packages/components/src/placeholders/docs/Footer.mdx +++ b/packages/components/src/placeholders/docs/Footer.mdx @@ -1,6 +1,6 @@ import { ArgTypes, Canvas, Meta } from "@storybook/addon-docs"; import { ComponentInfo, Tagline } from "@stories/components"; -import { InnerFooter } from "@components/placeholders"; +import { InnerFooter } from "@components/placeholders/index.ts"; import * as FooterStories from "./Footer.stories.tsx"; <Meta of={FooterStories} /> diff --git a/packages/components/src/placeholders/docs/Footer.stories.tsx b/packages/components/src/placeholders/docs/Footer.stories.tsx index e48d8e88c..f52c27501 100644 --- a/packages/components/src/placeholders/docs/Footer.stories.tsx +++ b/packages/components/src/placeholders/docs/Footer.stories.tsx @@ -1,5 +1,5 @@ import { Meta, StoryObj } from "@storybook/react"; -import { Footer } from "@components/placeholders"; +import { Footer } from "@components/placeholders/index.ts"; const meta = { title: "Placeholders/Footer", diff --git a/packages/components/src/placeholders/docs/Header.mdx b/packages/components/src/placeholders/docs/Header.mdx index 86b99dadd..87fcd9adb 100644 --- a/packages/components/src/placeholders/docs/Header.mdx +++ b/packages/components/src/placeholders/docs/Header.mdx @@ -1,6 +1,6 @@ import { ArgTypes, Canvas, Meta } from "@storybook/addon-docs"; import { ComponentInfo, Tagline } from "@stories/components"; -import { InnerHeader } from "@components/placeholders"; +import { InnerHeader } from "@components/placeholders/index.ts"; import * as HeaderStories from "./Header.stories.tsx"; <Meta of={HeaderStories} /> diff --git a/packages/components/src/placeholders/docs/Header.stories.tsx b/packages/components/src/placeholders/docs/Header.stories.tsx index 8f92127c8..946cb0e06 100644 --- a/packages/components/src/placeholders/docs/Header.stories.tsx +++ b/packages/components/src/placeholders/docs/Header.stories.tsx @@ -1,5 +1,5 @@ import { Meta, StoryObj } from "@storybook/react"; -import { Header } from "@components/placeholders"; +import { Header } from "@components/placeholders/index.ts"; const meta = { title: "Placeholders/Header", diff --git a/packages/components/src/placeholders/src/Content.tsx b/packages/components/src/placeholders/src/Content.tsx index c1e570cc1..8c218b5a3 100644 --- a/packages/components/src/placeholders/src/Content.tsx +++ b/packages/components/src/placeholders/src/Content.tsx @@ -1,6 +1,6 @@ -import { Box } from "../../box"; +import { Box } from "../../box/index.ts" import { ComponentProps, ReactNode, forwardRef } from "react"; -import { InternalProps, OmitInternalProps, SlotProps, StyledComponentProps, slot } from "../../shared"; +import { InternalProps, OmitInternalProps, SlotProps, StyledComponentProps, slot } from "../../shared/index.ts" const DefaultElement = "div"; diff --git a/packages/components/src/placeholders/src/Footer.tsx b/packages/components/src/placeholders/src/Footer.tsx index 09e101e2d..c3dc6abcc 100644 --- a/packages/components/src/placeholders/src/Footer.tsx +++ b/packages/components/src/placeholders/src/Footer.tsx @@ -1,6 +1,6 @@ -import { Box } from "../../box"; +import { Box } from "../../box/index.ts" import { ComponentProps, ReactNode, forwardRef } from "react"; -import { InternalProps, OmitInternalProps, SlotProps, StyledComponentProps, slot } from "../../shared"; +import { InternalProps, OmitInternalProps, SlotProps, StyledComponentProps, slot } from "../../shared/index.ts" const DefaultElement = "div"; diff --git a/packages/components/src/placeholders/src/Header.tsx b/packages/components/src/placeholders/src/Header.tsx index 5d7022de4..53f648823 100644 --- a/packages/components/src/placeholders/src/Header.tsx +++ b/packages/components/src/placeholders/src/Header.tsx @@ -1,6 +1,6 @@ -import { Box } from "../../box"; +import { Box } from "../../box/index.ts" import { ComponentProps, ReactNode, forwardRef } from "react"; -import { InternalProps, OmitInternalProps, SlotProps, StyledComponentProps, slot } from "../../shared"; +import { InternalProps, OmitInternalProps, SlotProps, StyledComponentProps, slot } from "../../shared/index.ts" const DefaultElement = "div"; diff --git a/packages/components/src/popover/docs/Popover.mdx b/packages/components/src/popover/docs/Popover.mdx index 3432c170e..fe9853168 100644 --- a/packages/components/src/popover/docs/Popover.mdx +++ b/packages/components/src/popover/docs/Popover.mdx @@ -1,8 +1,8 @@ import { ArgTypes, Meta, Canvas } from "@storybook/addon-docs"; import { ComponentInfo, Tagline } from "@stories/components"; -import { InnerContent } from "@components/placeholders"; -import { InnerHeading } from "@components/typography"; -import { InnerPopover, InnerPopoverTrigger } from "@components/popover"; +import { InnerContent } from "@components/placeholders/index.ts"; +import { InnerHeading } from "@components/typography/index.ts"; +import { InnerPopover, InnerPopoverTrigger } from "@components/popover/index.ts"; import * as PopoverStories from "./Popover.stories.tsx"; diff --git a/packages/components/src/popover/docs/Popover.stories.tsx b/packages/components/src/popover/docs/Popover.stories.tsx index 2171b42be..79ee8f4b2 100644 --- a/packages/components/src/popover/docs/Popover.stories.tsx +++ b/packages/components/src/popover/docs/Popover.stories.tsx @@ -1,7 +1,7 @@ -import { Button, ButtonGroup } from "@components/button"; -import { Content, Footer } from "@components/placeholders"; -import { Heading } from "@components/typography"; -import { Popover, PopoverTrigger, usePopoverTriggerContext } from "@components/popover"; +import { Button, ButtonGroup } from "@components/button/index.ts"; +import { Content, Footer } from "@components/placeholders/index.ts"; +import { Heading } from "@components/typography/index.ts"; +import { Popover, PopoverTrigger, usePopoverTriggerContext } from "@components/popover/index.ts"; import { useCallback, useState, forwardRef } from "react"; import { Meta, StoryObj } from "@storybook/react"; diff --git a/packages/components/src/popover/src/Popover.tsx b/packages/components/src/popover/src/Popover.tsx index 955ce1734..23c134c03 100644 --- a/packages/components/src/popover/src/Popover.tsx +++ b/packages/components/src/popover/src/Popover.tsx @@ -16,11 +16,11 @@ import { useId, useMergedRefs, useSlots -} from "../../shared"; -import { useOverlayFocusRing, useTrapFocus } from "../../overlay"; +} from "../../shared/index.ts" +import { useOverlayFocusRing, useTrapFocus } from "../../overlay/index.ts" -import { Box } from "../../box"; -import { Text } from "../../typography"; +import { Box } from "../../box/index.ts" +import { Text } from "../../typography/index.ts" import { HeadingContext } from "@hopper-ui/components"; const DefaultElement = "section"; diff --git a/packages/components/src/popover/src/PopoverTrigger.tsx b/packages/components/src/popover/src/PopoverTrigger.tsx index ae448e942..30af2b106 100644 --- a/packages/components/src/popover/src/PopoverTrigger.tsx +++ b/packages/components/src/popover/src/PopoverTrigger.tsx @@ -7,9 +7,9 @@ import { isNil, mergeProps, resolveChildren -} from "../../shared"; -import { Overlay, OverlayArrow, PopupPositionProp, PopupProps, usePopup } from "../../overlay"; -import { useResponsiveValue } from "../../styling"; +} from "../../shared/index.ts" +import { Overlay, OverlayArrow, PopupPositionProp, PopupProps, usePopup } from "../../overlay/index.ts" +import { useResponsiveValue } from "../../styling/index.ts" import { PopoverTriggerContext } from "./PopoverTriggerContext"; diff --git a/packages/components/src/popover/tests/chromatic/Popover-hopper.stories.tsx b/packages/components/src/popover/tests/chromatic/Popover-hopper.stories.tsx index f14bbb749..ad9755807 100644 --- a/packages/components/src/popover/tests/chromatic/Popover-hopper.stories.tsx +++ b/packages/components/src/popover/tests/chromatic/Popover-hopper.stories.tsx @@ -1,8 +1,8 @@ -import { Content } from "@components/placeholders"; -import { Div } from "@components/html"; -import { Image } from "@components/image"; +import { Content } from "@components/placeholders/index.ts"; +import { Div } from "@components/html/index.ts"; +import { Image } from "@components/image/index.ts"; import { Launch } from "./assets"; -import { Popover } from "@components/popover"; +import { Popover } from "@components/popover/index.ts"; import { Button, ButtonGroup, Footer, Form, Heading, Link, TextField } from "@hopper-ui/components"; import { Meta, StoryObj } from "@storybook/react"; diff --git a/packages/components/src/popover/tests/chromatic/Popover.stories.tsx b/packages/components/src/popover/tests/chromatic/Popover.stories.tsx index d02e7f6e2..48eef87bd 100644 --- a/packages/components/src/popover/tests/chromatic/Popover.stories.tsx +++ b/packages/components/src/popover/tests/chromatic/Popover.stories.tsx @@ -1,15 +1,15 @@ -import { Button, ButtonGroup } from "@components/button"; -import { Content, Footer } from "@components/placeholders"; -import { Field, Label } from "@components/field"; - -import { Div } from "@components/html"; -import { Form } from "@components/form"; -import { Heading } from "@components/typography"; -import { Image } from "@components/image"; +import { Button, ButtonGroup } from "@components/button/index.ts"; +import { Content, Footer } from "@components/placeholders/index.ts"; +import { Field, Label } from "@components/field/index.ts"; + +import { Div } from "@components/html/index.ts"; +import { Form } from "@components/form/index.ts"; +import { Heading } from "@components/typography/index.ts"; +import { Image } from "@components/image/index.ts"; import { Launch } from "./assets"; -import { Popover } from "@components/popover"; -import { TextInput } from "@components/text-input"; -import { TextLink } from "@components/link"; +import { Popover } from "@components/popover/index.ts"; +import { TextInput } from "@components/text-input/index.ts"; +import { TextLink } from "@components/link/index.ts"; import { Meta, StoryObj } from "@storybook/react"; const meta = { diff --git a/packages/components/src/popover/tests/chromatic/PopoverTrigger-hopper.stories.tsx b/packages/components/src/popover/tests/chromatic/PopoverTrigger-hopper.stories.tsx index 5e768a488..e532afa0f 100644 --- a/packages/components/src/popover/tests/chromatic/PopoverTrigger-hopper.stories.tsx +++ b/packages/components/src/popover/tests/chromatic/PopoverTrigger-hopper.stories.tsx @@ -1,6 +1,6 @@ -import { Popover, PopoverTrigger } from "@components/popover"; +import { Popover, PopoverTrigger } from "@components/popover/index.ts"; -import { Content } from "@components/placeholders"; +import { Content } from "@components/placeholders/index.ts"; import { Button, Heading } from "@hopper-ui/components"; import { Meta, StoryObj } from "@storybook/react"; diff --git a/packages/components/src/popover/tests/chromatic/PopoverTrigger.stories.tsx b/packages/components/src/popover/tests/chromatic/PopoverTrigger.stories.tsx index 2180b876c..5238f75e7 100644 --- a/packages/components/src/popover/tests/chromatic/PopoverTrigger.stories.tsx +++ b/packages/components/src/popover/tests/chromatic/PopoverTrigger.stories.tsx @@ -1,8 +1,8 @@ -import { Popover, PopoverTrigger } from "@components/popover"; +import { Popover, PopoverTrigger } from "@components/popover/index.ts"; -import { Button } from "@components/button"; -import { Content } from "@components/placeholders"; -import { Heading } from "@components/typography"; +import { Button } from "@components/button/index.ts"; +import { Content } from "@components/placeholders/index.ts"; +import { Heading } from "@components/typography/index.ts"; import { Meta, StoryObj } from "@storybook/react"; const meta = { diff --git a/packages/components/src/popover/tests/jest/Popover.test.tsx b/packages/components/src/popover/tests/jest/Popover.test.tsx index 0b5901309..6cb102fb0 100644 --- a/packages/components/src/popover/tests/jest/Popover.test.tsx +++ b/packages/components/src/popover/tests/jest/Popover.test.tsx @@ -1,10 +1,10 @@ -import { Content, Footer } from "@components/placeholders"; +import { Content, Footer } from "@components/placeholders/index.ts"; import { act, screen, waitFor, renderWithTheme } from "@test-utils"; -import { Button } from "@components/button"; -import { Heading } from "@components/typography"; -import { HtmlInput } from "@components/html"; -import { Popover } from "@components/popover"; -import { TextLink } from "@components/link"; +import { Button } from "@components/button/index.ts"; +import { Heading } from "@components/typography/index.ts"; +import { HtmlInput } from "@components/html/index.ts"; +import { Popover } from "@components/popover/index.ts"; +import { TextLink } from "@components/link/index.ts"; import { createRef } from "react"; import userEvent from "@testing-library/user-event"; diff --git a/packages/components/src/popover/tests/jest/PopoverTrigger.ssr.test.tsx b/packages/components/src/popover/tests/jest/PopoverTrigger.ssr.test.tsx index 5731269f5..b7439bc20 100644 --- a/packages/components/src/popover/tests/jest/PopoverTrigger.ssr.test.tsx +++ b/packages/components/src/popover/tests/jest/PopoverTrigger.ssr.test.tsx @@ -1,10 +1,10 @@ /** * @jest-environment node */ -import { Button } from "@components/button"; -import { Content } from "@components/placeholders"; -import { Heading } from "@components/typography"; -import { Popover, PopoverTrigger } from "@components/popover"; +import { Button } from "@components/button/index.ts"; +import { Content } from "@components/placeholders/index.ts"; +import { Heading } from "@components/typography/index.ts"; +import { Popover, PopoverTrigger } from "@components/popover/index.ts"; import { renderToString } from "react-dom/server"; import { throwOnConsoleLogs } from "@test-utils"; diff --git a/packages/components/src/popover/tests/jest/PopoverTrigger.test.tsx b/packages/components/src/popover/tests/jest/PopoverTrigger.test.tsx index ad7b86b8c..fb6c45bb2 100644 --- a/packages/components/src/popover/tests/jest/PopoverTrigger.test.tsx +++ b/packages/components/src/popover/tests/jest/PopoverTrigger.test.tsx @@ -1,11 +1,11 @@ -import { Popover, PopoverProps, PopoverTrigger, usePopoverTriggerContext } from "@components/popover"; +import { Popover, PopoverProps, PopoverTrigger, usePopoverTriggerContext } from "@components/popover/index.ts"; import { fireEvent, screen, waitFor, renderWithTheme } from "@test-utils"; import { createRef, forwardRef } from "react"; -import { Button } from "@components/button"; -import { Content } from "@components/placeholders"; -import { Heading } from "@components/typography"; -import { Keys } from "@components/shared"; -import { Transition } from "@components/transition"; +import { Button } from "@components/button/index.ts"; +import { Content } from "@components/placeholders/index.ts"; +import { Heading } from "@components/typography/index.ts"; +import { Keys } from "@components/shared/index.ts"; +import { Transition } from "@components/transition/index.ts"; import userEvent from "@testing-library/user-event"; beforeAll(() => { diff --git a/packages/components/src/radio/docs/Radio.mdx b/packages/components/src/radio/docs/Radio.mdx index dfb2e44a4..9a8a000cb 100644 --- a/packages/components/src/radio/docs/Radio.mdx +++ b/packages/components/src/radio/docs/Radio.mdx @@ -1,6 +1,6 @@ import { ArgTypes, Meta, Canvas } from "@storybook/addon-docs"; import { ComponentInfo, Tagline } from "@stories/components"; -import { InnerRadio, InnerRadioGroup } from "@components/radio"; +import { InnerRadio, InnerRadioGroup } from "@components/radio/index.ts"; import * as RadioGroupStories from "./Radio.stories.tsx"; diff --git a/packages/components/src/radio/docs/Radio.stories.tsx b/packages/components/src/radio/docs/Radio.stories.tsx index 918ae845d..e2cada188 100644 --- a/packages/components/src/radio/docs/Radio.stories.tsx +++ b/packages/components/src/radio/docs/Radio.stories.tsx @@ -1,11 +1,11 @@ -import { Radio, RadioGroup } from "@components/radio"; -import { Counter } from "@components/counter"; +import { Radio, RadioGroup } from "@components/radio/index.ts"; +import { Counter } from "@components/counter/index.ts"; import { SparklesIcon } from "@hopper-ui/icons"; -import { Text } from "@components/typography"; -import { Tag } from "@components/tag"; -import { Inline } from "@components/layout"; +import { Text } from "@components/typography/index.ts"; +import { Tag } from "@components/tag/index.ts"; +import { Inline } from "@components/layout/index.ts"; import { useCallback, useState } from "react"; -import { as, useCheckableProps } from "@components/shared"; +import { as, useCheckableProps } from "@components/shared/index.ts"; import { Meta, StoryObj } from "@storybook/react"; diff --git a/packages/components/src/radio/src/Radio.tsx b/packages/components/src/radio/src/Radio.tsx index 3d974e391..38fe7364c 100644 --- a/packages/components/src/radio/src/Radio.tsx +++ b/packages/components/src/radio/src/Radio.tsx @@ -14,14 +14,14 @@ import { useForwardInputApi, useSlots, normalizeSize -} from "../../shared"; -import { ResponsiveProp, useResponsiveValue } from "../../styling"; - -import { AbstractInputProps } from "../../input"; -import { Box } from "../../box"; -import { Span } from "../../html"; -import { Text } from "../../typography"; -import { VisuallyHidden } from "../../visually-hidden"; +} from "../../shared/index.ts" +import { ResponsiveProp, useResponsiveValue } from "../../styling/index.ts" + +import { AbstractInputProps } from "../../input/index.ts" +import { Box } from "../../box/index.ts" +import { Span } from "../../html/index.ts" +import { Text } from "../../typography/index.ts" +import { VisuallyHidden } from "../../visually-hidden/index.ts" const DefaultElement = "label"; diff --git a/packages/components/src/radio/src/RadioGroup.tsx b/packages/components/src/radio/src/RadioGroup.tsx index 8c721ec9e..895f9c753 100644 --- a/packages/components/src/radio/src/RadioGroup.tsx +++ b/packages/components/src/radio/src/RadioGroup.tsx @@ -1,4 +1,4 @@ -import { AbstractGroupInputProps, useGroupInput } from "../../input"; +import { AbstractGroupInputProps, useGroupInput } from "../../input/index.ts" import { CheckableContext, Keys, @@ -17,13 +17,13 @@ import { useKeyboardNavigation, useKeyedRovingFocus, useMergedRefs -} from "../../shared"; +} from "../../shared/index.ts" import { Children, ComponentProps, ReactElement, SyntheticEvent, forwardRef, useCallback } from "react"; -import { Group } from "../../group"; -import { useFieldInputProps } from "../../field"; -import { ResponsiveProp, useResponsiveValue } from "../../styling"; -import { useToolbarProps } from "../../toolbar"; +import { Group } from "../../group/index.ts" +import { useFieldInputProps } from "../../field/index.ts" +import { ResponsiveProp, useResponsiveValue } from "../../styling/index.ts" +import { useToolbarProps } from "../../toolbar/index.ts" const DefaultElement = "div"; diff --git a/packages/components/src/radio/tests/chromatic/Radio-hopper.stories.tsx b/packages/components/src/radio/tests/chromatic/Radio-hopper.stories.tsx index 786a0d07e..a4caaeeb1 100644 --- a/packages/components/src/radio/tests/chromatic/Radio-hopper.stories.tsx +++ b/packages/components/src/radio/tests/chromatic/Radio-hopper.stories.tsx @@ -1,5 +1,5 @@ -import { Inline } from "@components/layout"; -import { Radio } from "@components/radio"; +import { Inline } from "@components/layout/index.ts"; +import { Radio } from "@components/radio/index.ts"; import { Meta, StoryObj } from "@storybook/react"; diff --git a/packages/components/src/radio/tests/chromatic/Radio.stories.tsx b/packages/components/src/radio/tests/chromatic/Radio.stories.tsx index ba6d684b6..72fc51f32 100644 --- a/packages/components/src/radio/tests/chromatic/Radio.stories.tsx +++ b/packages/components/src/radio/tests/chromatic/Radio.stories.tsx @@ -1,5 +1,5 @@ -import { Inline } from "@components/layout"; -import { Radio } from "@components/radio"; +import { Inline } from "@components/layout/index.ts"; +import { Radio } from "@components/radio/index.ts"; import { Meta, StoryObj } from "@storybook/react"; diff --git a/packages/components/src/radio/tests/chromatic/RadioChecked-hopper.stories.tsx b/packages/components/src/radio/tests/chromatic/RadioChecked-hopper.stories.tsx index acb232ccb..90e6c6287 100644 --- a/packages/components/src/radio/tests/chromatic/RadioChecked-hopper.stories.tsx +++ b/packages/components/src/radio/tests/chromatic/RadioChecked-hopper.stories.tsx @@ -1,10 +1,10 @@ -import { Radio } from "@components/radio"; -import { Counter } from "@components/counter"; -import { Div } from "@components/html"; -import { IconList } from "@components/icons"; +import { Radio } from "@components/radio/index.ts"; +import { Counter } from "@components/counter/index.ts"; +import { Div } from "@components/html/index.ts"; +import { IconList } from "@components/icons/index.ts"; import { MailIcon, InfoIcon, WarningIcon } from "@hopper-ui/icons"; -import { Flex, Inline, Stack } from "@components/layout"; -import { Text } from "@components/typography"; +import { Flex, Inline, Stack } from "@components/layout/index.ts"; +import { Text } from "@components/typography/index.ts"; import { Meta, StoryObj } from "@storybook/react"; const meta = { diff --git a/packages/components/src/radio/tests/chromatic/RadioChecked.stories.tsx b/packages/components/src/radio/tests/chromatic/RadioChecked.stories.tsx index b7965097e..e9bd586f6 100644 --- a/packages/components/src/radio/tests/chromatic/RadioChecked.stories.tsx +++ b/packages/components/src/radio/tests/chromatic/RadioChecked.stories.tsx @@ -1,10 +1,10 @@ -import { Radio } from "@components/radio"; -import { Counter } from "@components/counter"; -import { Div } from "@components/html"; -import { IconList } from "@components/icons"; +import { Radio } from "@components/radio/index.ts"; +import { Counter } from "@components/counter/index.ts"; +import { Div } from "@components/html/index.ts"; +import { IconList } from "@components/icons/index.ts"; import { MailIcon, InfoIcon, WarningIcon } from "@hopper-ui/icons"; -import { Flex, Inline, Stack } from "@components/layout"; -import { Text } from "@components/typography"; +import { Flex, Inline, Stack } from "@components/layout/index.ts"; +import { Text } from "@components/typography/index.ts"; import { Meta, StoryObj } from "@storybook/react"; const meta = { diff --git a/packages/components/src/radio/tests/chromatic/RadioGroup.stories.tsx b/packages/components/src/radio/tests/chromatic/RadioGroup.stories.tsx index fa7a98369..7986cf978 100644 --- a/packages/components/src/radio/tests/chromatic/RadioGroup.stories.tsx +++ b/packages/components/src/radio/tests/chromatic/RadioGroup.stories.tsx @@ -1,13 +1,13 @@ -import { Field, HelpMessage, Label } from "@components/field"; -import { Inline, Stack } from "@components/layout"; -import { Radio, RadioGroup } from "@components/radio"; -import { Counter } from "@components/counter"; -import { Div } from "@components/html"; -import { Tag } from "@components/tag"; -import { Text } from "@components/typography"; -import { ToggleButton } from "@components/button"; +import { Field, HelpMessage, Label } from "@components/field/index.ts"; +import { Inline, Stack } from "@components/layout/index.ts"; +import { Radio, RadioGroup } from "@components/radio/index.ts"; +import { Counter } from "@components/counter/index.ts"; +import { Div } from "@components/html/index.ts"; +import { Tag } from "@components/tag/index.ts"; +import { Text } from "@components/typography/index.ts"; +import { ToggleButton } from "@components/button/index.ts"; import { ComponentProps, useCallback } from "react"; -import { as, useCheckableProps } from "@components/shared"; +import { as, useCheckableProps } from "@components/shared/index.ts"; import { Meta, StoryObj } from "@storybook/react"; diff --git a/packages/components/src/radio/tests/chromatic/RadioGroupHorizontal.stories.tsx b/packages/components/src/radio/tests/chromatic/RadioGroupHorizontal.stories.tsx index 937d4ed7a..918474cc3 100644 --- a/packages/components/src/radio/tests/chromatic/RadioGroupHorizontal.stories.tsx +++ b/packages/components/src/radio/tests/chromatic/RadioGroupHorizontal.stories.tsx @@ -1,6 +1,6 @@ -import { Radio, RadioGroup } from "@components/radio"; -import { Counter } from "@components/counter"; -import { Text } from "@components/typography"; +import { Radio, RadioGroup } from "@components/radio/index.ts"; +import { Counter } from "@components/counter/index.ts"; +import { Text } from "@components/typography/index.ts"; import { Meta, StoryObj } from "@storybook/react"; const meta = { diff --git a/packages/components/src/radio/tests/chromatic/RadioUnchecked-hopper.stories.tsx b/packages/components/src/radio/tests/chromatic/RadioUnchecked-hopper.stories.tsx index 98ab41f89..3696caa53 100644 --- a/packages/components/src/radio/tests/chromatic/RadioUnchecked-hopper.stories.tsx +++ b/packages/components/src/radio/tests/chromatic/RadioUnchecked-hopper.stories.tsx @@ -1,7 +1,7 @@ -import { Radio } from "@components/radio"; -import { Counter } from "@components/counter"; -import { Div } from "@components/html"; -import { Inline, Stack } from "@components/layout"; +import { Radio } from "@components/radio/index.ts"; +import { Counter } from "@components/counter/index.ts"; +import { Div } from "@components/html/index.ts"; +import { Inline, Stack } from "@components/layout/index.ts"; import { MailIcon, InfoIcon, WarningIcon } from "@hopper-ui/icons"; import { Flex, IconList, Text } from "@hopper-ui/components"; diff --git a/packages/components/src/radio/tests/chromatic/RadioUnchecked.stories.tsx b/packages/components/src/radio/tests/chromatic/RadioUnchecked.stories.tsx index a8ba6512a..0ee308b3b 100644 --- a/packages/components/src/radio/tests/chromatic/RadioUnchecked.stories.tsx +++ b/packages/components/src/radio/tests/chromatic/RadioUnchecked.stories.tsx @@ -1,10 +1,10 @@ -import { Radio } from "@components/radio"; -import { Counter } from "@components/counter"; -import { Div } from "@components/html"; -import { IconList } from "@components/icons"; +import { Radio } from "@components/radio/index.ts"; +import { Counter } from "@components/counter/index.ts"; +import { Div } from "@components/html/index.ts"; +import { IconList } from "@components/icons/index.ts"; import { MailIcon, InfoIcon, WarningIcon } from "@hopper-ui/icons"; -import { Flex, Inline, Stack } from "@components/layout"; -import { Text } from "@components/typography"; +import { Flex, Inline, Stack } from "@components/layout/index.ts"; +import { Text } from "@components/typography/index.ts"; import { Meta, StoryObj } from "@storybook/react"; const meta = { diff --git a/packages/components/src/radio/tests/jest/Radio.test.tsx b/packages/components/src/radio/tests/jest/Radio.test.tsx index f0acf6b9f..d842bda2e 100644 --- a/packages/components/src/radio/tests/jest/Radio.test.tsx +++ b/packages/components/src/radio/tests/jest/Radio.test.tsx @@ -1,5 +1,5 @@ import { act, screen, waitFor, renderWithTheme } from "@test-utils"; -import { Radio } from "@components/radio"; +import { Radio } from "@components/radio/index.ts"; import { createRef } from "react"; import userEvent from "@testing-library/user-event"; diff --git a/packages/components/src/radio/tests/jest/RadioGroup.ssr.test.tsx b/packages/components/src/radio/tests/jest/RadioGroup.ssr.test.tsx index 44642d6f1..7b2ddc568 100644 --- a/packages/components/src/radio/tests/jest/RadioGroup.ssr.test.tsx +++ b/packages/components/src/radio/tests/jest/RadioGroup.ssr.test.tsx @@ -1,7 +1,7 @@ /** * @jest-environment node */ -import { Radio, RadioGroup } from "@components/radio"; +import { Radio, RadioGroup } from "@components/radio/index.ts"; import { renderToString } from "react-dom/server"; import { throwOnConsoleLogs } from "@test-utils"; diff --git a/packages/components/src/radio/tests/jest/RadioGroup.test.tsx b/packages/components/src/radio/tests/jest/RadioGroup.test.tsx index 68ad88f28..93b5431cc 100644 --- a/packages/components/src/radio/tests/jest/RadioGroup.test.tsx +++ b/packages/components/src/radio/tests/jest/RadioGroup.test.tsx @@ -1,7 +1,7 @@ -import { Radio, RadioGroup } from "@components/radio"; +import { Radio, RadioGroup } from "@components/radio/index.ts"; import { act, fireEvent, screen, waitFor, renderWithTheme } from "@test-utils"; -import { Keys } from "@components/shared"; -import { ToggleButton } from "@components/button"; +import { Keys } from "@components/shared/index.ts"; +import { ToggleButton } from "@components/button/index.ts"; import { createRef } from "react"; import userEvent from "@testing-library/user-event"; diff --git a/packages/components/src/select/docs/Select.mdx b/packages/components/src/select/docs/Select.mdx index 5ef3e2d06..6eeb6d21e 100644 --- a/packages/components/src/select/docs/Select.mdx +++ b/packages/components/src/select/docs/Select.mdx @@ -1,6 +1,6 @@ import { ArgTypes, Meta, Canvas } from "@storybook/addon-docs"; -import { InnerHiddenSelect, InnerSelect} from "@components/select"; -import { InnerItem, InnerSection } from "@components/collection"; +import { InnerHiddenSelect, InnerSelect} from "@components/select/index.ts"; +import { InnerItem, InnerSection } from "@components/collection/index.ts"; import * as SelectStories from "./Select.stories.tsx"; diff --git a/packages/components/src/select/docs/Select.stories.tsx b/packages/components/src/select/docs/Select.stories.tsx index e098cd2a0..f790d824c 100644 --- a/packages/components/src/select/docs/Select.stories.tsx +++ b/packages/components/src/select/docs/Select.stories.tsx @@ -1,15 +1,15 @@ -import { Avatar } from "@components/avatar"; -import { Select, useSelect } from "@components/select"; -import { Button } from "@components/button"; -import { DisclosureArrow } from "@components/disclosure"; -import { Overlay } from "@components/overlay"; -import { Section, Item } from "@components/collection"; +import { Avatar } from "@components/avatar/index.ts"; +import { Select, useSelect } from "@components/select/index.ts"; +import { Button } from "@components/button/index.ts"; +import { DisclosureArrow } from "@components/disclosure/index.ts"; +import { Overlay } from "@components/overlay/index.ts"; +import { Section, Item } from "@components/collection/index.ts"; import { CatIcon, RocketIcon, SearchIcon, SparklesIcon } from "@hopper-ui/icons"; -import { TooltipTrigger, Tooltip } from "@components/tooltip"; -import { Text } from "@components/typography"; -import { Listbox } from "@components/listbox"; -import { IconList } from "@components/icons"; -import { isNil } from "@components/shared"; +import { TooltipTrigger, Tooltip } from "@components/tooltip/index.ts"; +import { Text } from "@components/typography/index.ts"; +import { Listbox } from "@components/listbox/index.ts"; +import { IconList } from "@components/icons/index.ts"; +import { isNil } from "@components/shared/index.ts"; import { useCallback, useState } from "react"; import { Meta, StoryObj } from "@storybook/react"; diff --git a/packages/components/src/select/src/HiddenSelect.tsx b/packages/components/src/select/src/HiddenSelect.tsx index bc6b36aaf..a969e5c1b 100644 --- a/packages/components/src/select/src/HiddenSelect.tsx +++ b/packages/components/src/select/src/HiddenSelect.tsx @@ -1,6 +1,6 @@ -import { HtmlInput } from "../../html"; -import { StyledComponentProps, isNil, mergeProps, InternalProps, OmitInternalProps } from "../../shared"; -import { ValidationState } from "../../input"; +import { HtmlInput } from "../../html/index.ts" +import { StyledComponentProps, isNil, mergeProps, InternalProps, OmitInternalProps } from "../../shared/index.ts" +import { ValidationState } from "../../input/index.ts" import { ComponentProps, forwardRef } from "react"; const DefaultElement = "input"; diff --git a/packages/components/src/select/src/Select.tsx b/packages/components/src/select/src/Select.tsx index b7f6bf3ae..5764c5460 100644 --- a/packages/components/src/select/src/Select.tsx +++ b/packages/components/src/select/src/Select.tsx @@ -1,17 +1,17 @@ import { ComponentProps, ReactElement, ReactNode, SyntheticEvent, forwardRef } from "react"; -import { OmitInternalProps, augmentElement, cssModule, isNil, mergeProps } from "../../shared"; -import { Overlay, OverlayProps, PopupAlignmentProp, PopupDirectionProp } from "../../overlay"; -import { ResponsiveProp, useResponsiveValue } from "../../styling"; +import { OmitInternalProps, augmentElement, cssModule, isNil, mergeProps } from "../../shared/index.ts" +import { Overlay, OverlayProps, PopupAlignmentProp, PopupDirectionProp } from "../../overlay/index.ts" +import { ResponsiveProp, useResponsiveValue } from "../../styling/index.ts" -import { AbstractInputProps } from "../../input"; -import { Box } from "../../box"; -import { DisclosureArrow } from "../../disclosure"; +import { AbstractInputProps } from "../../input/index.ts" +import { Box } from "../../box/index.ts" +import { DisclosureArrow } from "../../disclosure/index.ts" import { HiddenSelect } from "./HiddenSelect"; -import { Listbox } from "../../listbox"; -import { Span } from "../../html"; -import { Text } from "../../typography"; -import { useFieldInputProps } from "../../field"; -import { useInputGroupSelectAddonProps } from "../../input-group"; +import { Listbox } from "../../listbox/index.ts" +import { Span } from "../../html/index.ts" +import { Text } from "../../typography/index.ts" +import { useFieldInputProps } from "../../field/index.ts" +import { useInputGroupSelectAddonProps } from "../../input-group/index.ts" import { useSelect } from "./useSelect"; const DefaultElement = "button"; diff --git a/packages/components/src/select/src/useSelect.tsx b/packages/components/src/select/src/useSelect.tsx index 7613fda42..a3318346a 100644 --- a/packages/components/src/select/src/useSelect.tsx +++ b/packages/components/src/select/src/useSelect.tsx @@ -13,13 +13,13 @@ import { useMergedRefs, useRawSlots, useRefState -} from "../../shared"; +} from "../../shared/index.ts" import { KeyboardEvent, ReactNode, Ref, SyntheticEvent, useCallback, useMemo } from "react"; -import { OverlayProps, PopupAlignment, PopupDirection, PopupPosition, usePopup, useTriggerWidth } from "../../overlay"; -import { useCollection, useOnlyCollectionItems } from "../../collection"; +import { OverlayProps, PopupAlignment, PopupDirection, PopupPosition, usePopup, useTriggerWidth } from "../../overlay/index.ts" +import { useCollection, useOnlyCollectionItems } from "../../collection/index.ts" -import { OptionKeyProp } from "../../listbox"; -import { ValidationState } from "../../input"; +import { OptionKeyProp } from "../../listbox/index.ts" +import { ValidationState } from "../../input/index.ts" export interface UseSelectOptions { align?: PopupAlignment; diff --git a/packages/components/src/select/tests/chromatic/Select.stories.tsx b/packages/components/src/select/tests/chromatic/Select.stories.tsx index cb3d1862a..7e2f7ac32 100644 --- a/packages/components/src/select/tests/chromatic/Select.stories.tsx +++ b/packages/components/src/select/tests/chromatic/Select.stories.tsx @@ -1,11 +1,11 @@ -import { Inline, Stack } from "@components/layout"; -import { Select, useSelect, type SelectProps } from "@components/select"; +import { Inline, Stack } from "@components/layout/index.ts"; +import { Select, useSelect, type SelectProps } from "@components/select/index.ts"; -import { Button } from "@components/button"; -import { Div } from "@components/html"; -import { Item } from "@components/collection"; -import { Listbox } from "@components/listbox"; -import { Overlay } from "@components/overlay"; +import { Button } from "@components/button/index.ts"; +import { Div } from "@components/html/index.ts"; +import { Item } from "@components/collection/index.ts"; +import { Listbox } from "@components/listbox/index.ts"; +import { Overlay } from "@components/overlay/index.ts"; import { Meta, StoryObj } from "@storybook/react"; diff --git a/packages/components/src/select/tests/chromatic/SelectGhost.stories.tsx b/packages/components/src/select/tests/chromatic/SelectGhost.stories.tsx index 312cb97de..7395a8a41 100644 --- a/packages/components/src/select/tests/chromatic/SelectGhost.stories.tsx +++ b/packages/components/src/select/tests/chromatic/SelectGhost.stories.tsx @@ -1,10 +1,10 @@ import { NotificationIcon, TeamIcon } from "@hopper-ui/icons"; -import { Inline, Stack } from "@components/layout"; -import { Item, Section } from "@components/collection"; -import { Select } from "@components/select"; +import { Inline, Stack } from "@components/layout/index.ts"; +import { Item, Section } from "@components/collection/index.ts"; +import { Select } from "@components/select/index.ts"; -import { Div } from "@components/html"; -import { Text } from "@components/typography"; +import { Div } from "@components/html/index.ts"; +import { Text } from "@components/typography/index.ts"; import { Meta, StoryObj } from "@storybook/react"; diff --git a/packages/components/src/select/tests/chromatic/SelectOutline.stories.tsx b/packages/components/src/select/tests/chromatic/SelectOutline.stories.tsx index 6615dc39c..4ec618d5a 100644 --- a/packages/components/src/select/tests/chromatic/SelectOutline.stories.tsx +++ b/packages/components/src/select/tests/chromatic/SelectOutline.stories.tsx @@ -1,10 +1,10 @@ import { NotificationIcon, TeamIcon } from "@hopper-ui/icons"; -import { Inline, Stack } from "@components/layout"; -import { Item, Section } from "@components/collection"; -import { Select } from "@components/select"; +import { Inline, Stack } from "@components/layout/index.ts"; +import { Item, Section } from "@components/collection/index.ts"; +import { Select } from "@components/select/index.ts"; -import { Div } from "@components/html"; -import { Text } from "@components/typography"; +import { Div } from "@components/html/index.ts"; +import { Text } from "@components/typography/index.ts"; import { Meta, StoryObj } from "@storybook/react"; diff --git a/packages/components/src/select/tests/jest/Select.ssr.test.tsx b/packages/components/src/select/tests/jest/Select.ssr.test.tsx index c6c7bac18..ceb7f0c10 100644 --- a/packages/components/src/select/tests/jest/Select.ssr.test.tsx +++ b/packages/components/src/select/tests/jest/Select.ssr.test.tsx @@ -1,8 +1,8 @@ /** * @jest-environment node */ -import { Item } from "@components/collection"; -import { Select } from "@components/select"; +import { Item } from "@components/collection/index.ts"; +import { Select } from "@components/select/index.ts"; import { renderToString } from "react-dom/server"; import { throwOnConsoleLogs } from "@test-utils"; diff --git a/packages/components/src/select/tests/jest/Select.test.tsx b/packages/components/src/select/tests/jest/Select.test.tsx index 78c9616a6..50913775c 100644 --- a/packages/components/src/select/tests/jest/Select.test.tsx +++ b/packages/components/src/select/tests/jest/Select.test.tsx @@ -1,10 +1,10 @@ -import { Field, Label } from "@components/field"; +import { Field, Label } from "@components/field/index.ts"; import { act, fireEvent, screen, waitFor, renderWithTheme } from "@test-utils"; -import { Button } from "@components/button"; -import { Item } from "@components/collection"; -import { Keys } from "@components/shared"; -import { Select } from "@components/select"; -import { Transition } from "@components/transition"; +import { Button } from "@components/button/index.ts"; +import { Item } from "@components/collection/index.ts"; +import { Keys } from "@components/shared/index.ts"; +import { Select } from "@components/select/index.ts"; +import { Transition } from "@components/transition/index.ts"; import { createRef } from "react"; import userEvent from "@testing-library/user-event"; diff --git a/packages/components/src/shared/src/types.ts b/packages/components/src/shared/src/types.ts index ea63d7dac..11c6a46e5 100644 --- a/packages/components/src/shared/src/types.ts +++ b/packages/components/src/shared/src/types.ts @@ -1,6 +1,6 @@ import { AllHTMLAttributes, ComponentProps, ElementType, ForwardedRef } from "react"; -import { StyledSystemProps } from "../../styling"; +import { StyledSystemProps } from "../../styling/index.ts" export interface SlotProps { /** diff --git a/packages/components/src/shared/tests/chromatic/Slots.stories.tsx b/packages/components/src/shared/tests/chromatic/Slots.stories.tsx index 74b735ed9..ac6eac26c 100644 --- a/packages/components/src/shared/tests/chromatic/Slots.stories.tsx +++ b/packages/components/src/shared/tests/chromatic/Slots.stories.tsx @@ -1,7 +1,7 @@ -import { Box, BoxProps } from "@components/box"; -import { TextLink } from "@components/link"; +import { Box, BoxProps } from "@components/box/index.ts"; +import { TextLink } from "@components/link/index.ts"; import { forwardRef, useCallback, useMemo } from "react"; -import { isNil, slot, useSlots } from "@components/shared"; +import { isNil, slot, useSlots } from "@components/shared/index.ts"; import { Meta, StoryObj } from "@storybook/react"; const meta = { diff --git a/packages/components/src/shared/tests/jest/as.test.tsx b/packages/components/src/shared/tests/jest/as.test.tsx index 19768be6d..4b91a8edf 100644 --- a/packages/components/src/shared/tests/jest/as.test.tsx +++ b/packages/components/src/shared/tests/jest/as.test.tsx @@ -1,9 +1,9 @@ import { createRef, forwardRef } from "react"; import { render, waitFor } from "@test-utils"; -import { Div } from "@components/html"; -import { TextLink } from "@components/link"; -import { as } from "@components/shared"; +import { Div } from "@components/html/index.ts"; +import { TextLink } from "@components/link/index.ts"; +import { as } from "@components/shared/index.ts"; const RouterLink = forwardRef<HTMLDivElement, { to: string }>((props, ref) => { return <Div ref={ref}>{props.to}</Div>; diff --git a/packages/components/src/shared/tests/jest/augmentElement.test.tsx b/packages/components/src/shared/tests/jest/augmentElement.test.tsx index a10714c4e..54305bc45 100644 --- a/packages/components/src/shared/tests/jest/augmentElement.test.tsx +++ b/packages/components/src/shared/tests/jest/augmentElement.test.tsx @@ -1,5 +1,5 @@ -import { TextInput } from "@components/text-input"; -import { augmentElement } from "@components/shared"; +import { TextInput } from "@components/text-input/index.ts"; +import { augmentElement } from "@components/shared/index.ts"; describe("augmentElement", () => { test("augment existing element props", () => { diff --git a/packages/components/src/shared/tests/jest/createChainedFunction.test.ts b/packages/components/src/shared/tests/jest/createChainedFunction.test.ts index 83d632538..955078b23 100644 --- a/packages/components/src/shared/tests/jest/createChainedFunction.test.ts +++ b/packages/components/src/shared/tests/jest/createChainedFunction.test.ts @@ -1,4 +1,4 @@ -import { createChainedFunction } from "@components/shared"; +import { createChainedFunction } from "@components/shared/index.ts"; test("return func when no arguments", () => { expect(typeof (createChainedFunction())).toBe("function"); diff --git a/packages/components/src/shared/tests/jest/createFocusableTreeWalker.test.ts b/packages/components/src/shared/tests/jest/createFocusableTreeWalker.test.ts index 5680ac626..60eae8939 100644 --- a/packages/components/src/shared/tests/jest/createFocusableTreeWalker.test.ts +++ b/packages/components/src/shared/tests/jest/createFocusableTreeWalker.test.ts @@ -1,4 +1,4 @@ -import { createFocusableTreeWalker } from "@components/shared"; +import { createFocusableTreeWalker } from "@components/shared/index.ts"; test("accept input elements", () => { const element = document.createElement("INPUT"); diff --git a/packages/components/src/shared/tests/jest/focusManager.test.ts b/packages/components/src/shared/tests/jest/focusManager.test.ts index afe6f7d69..d0b6c94bb 100644 --- a/packages/components/src/shared/tests/jest/focusManager.test.ts +++ b/packages/components/src/shared/tests/jest/focusManager.test.ts @@ -1,5 +1,5 @@ /* eslint-disable @typescript-eslint/no-empty-function */ -import { DomFocusManager, FocusScope, VirtualFocusManager } from "@components/shared"; +import { DomFocusManager, FocusScope, VirtualFocusManager } from "@components/shared/index.ts"; import { MutableRefObject, createRef } from "react"; class Scope extends FocusScope { diff --git a/packages/components/src/shared/tests/jest/focusScopeIterator.test.ts b/packages/components/src/shared/tests/jest/focusScopeIterator.test.ts index 1b8833da0..9c32054b8 100644 --- a/packages/components/src/shared/tests/jest/focusScopeIterator.test.ts +++ b/packages/components/src/shared/tests/jest/focusScopeIterator.test.ts @@ -1,4 +1,4 @@ -import { FocusScope, FocusScopeIterator } from "@components/shared"; +import { FocusScope, FocusScopeIterator } from "@components/shared/index.ts"; import { MutableRefObject, createRef } from "react"; class Scope extends FocusScope { diff --git a/packages/components/src/shared/tests/jest/mergeClasses.test.ts b/packages/components/src/shared/tests/jest/mergeClasses.test.ts index c22db5bd6..ec2af7615 100644 --- a/packages/components/src/shared/tests/jest/mergeClasses.test.ts +++ b/packages/components/src/shared/tests/jest/mergeClasses.test.ts @@ -1,4 +1,4 @@ -import { mergeClasses } from "@components/shared"; +import { mergeClasses } from "@components/shared/index.ts"; test("can merge classes", () => { const result = mergeClasses( diff --git a/packages/components/src/shared/tests/jest/mergeProps.test.ts b/packages/components/src/shared/tests/jest/mergeProps.test.ts index e7d707909..b9ed8c0a6 100644 --- a/packages/components/src/shared/tests/jest/mergeProps.test.ts +++ b/packages/components/src/shared/tests/jest/mergeProps.test.ts @@ -1,4 +1,4 @@ -import { CompositeKeyWeakMap, mergeProps } from "@components/shared"; +import { CompositeKeyWeakMap, mergeProps } from "@components/shared/index.ts"; describe("CompositeKeyWeakMap", () => { test("can store single key value", () => { diff --git a/packages/components/src/shared/tests/jest/mergeRefs.test.ts b/packages/components/src/shared/tests/jest/mergeRefs.test.ts index cdb7e7a03..f31e776fe 100644 --- a/packages/components/src/shared/tests/jest/mergeRefs.test.ts +++ b/packages/components/src/shared/tests/jest/mergeRefs.test.ts @@ -1,4 +1,4 @@ -import { mergeRefs } from "@components/shared"; +import { mergeRefs } from "@components/shared/index.ts"; test("can merge refs", () => { const func1 = jest.fn(); diff --git a/packages/components/src/shared/tests/jest/useCombinedRefs.test.tsx b/packages/components/src/shared/tests/jest/useCombinedRefs.test.tsx index 1802f996f..2bfdae1b5 100644 --- a/packages/components/src/shared/tests/jest/useCombinedRefs.test.tsx +++ b/packages/components/src/shared/tests/jest/useCombinedRefs.test.tsx @@ -1,6 +1,6 @@ import { act, renderHook } from "@test-utils"; import { createRef } from "react"; -import { useMergedRefs } from "@components/shared"; +import { useMergedRefs } from "@components/shared/index.ts"; test("when having a single ref, assign the ref on change", () => { const ref = jest.fn(); diff --git a/packages/components/src/shared/tests/jest/useControllableState.test.tsx b/packages/components/src/shared/tests/jest/useControllableState.test.tsx index e419cda5f..426481705 100644 --- a/packages/components/src/shared/tests/jest/useControllableState.test.tsx +++ b/packages/components/src/shared/tests/jest/useControllableState.test.tsx @@ -1,6 +1,6 @@ import { ErrorBoundary, muteConsoleErrors, act, renderHook } from "@test-utils"; import { ReactNode } from "react"; -import { useControllableState } from "@components/shared"; +import { useControllableState } from "@components/shared/index.ts"; // Errors in useEffect are not catch by @test-utils-hooks error handling code. Therefore we must catch those errors with a custom ErrorBoundary. function withErrorBoundary(onError: (error: Error) => void) { diff --git a/packages/components/src/shared/tests/jest/useEventListener.test.tsx b/packages/components/src/shared/tests/jest/useEventListener.test.tsx index 9250cbf4f..81cc48c51 100644 --- a/packages/components/src/shared/tests/jest/useEventListener.test.tsx +++ b/packages/components/src/shared/tests/jest/useEventListener.test.tsx @@ -1,5 +1,5 @@ import { renderHook, fireEvent } from "@test-utils"; -import { useEventListener } from "@components/shared"; +import { useEventListener } from "@components/shared/index.ts"; function createButton() { const element = document.createElement("button"); diff --git a/packages/components/src/shared/tests/jest/useFocusScope.test.tsx b/packages/components/src/shared/tests/jest/useFocusScope.test.tsx index ef984ad89..d7ee70569 100644 --- a/packages/components/src/shared/tests/jest/useFocusScope.test.tsx +++ b/packages/components/src/shared/tests/jest/useFocusScope.test.tsx @@ -1,13 +1,13 @@ -import { FocusScope, FocusScopeContext, isFunction, useFocusScope, useMergedRefs } from "@components/shared"; +import { FocusScope, FocusScopeContext, isFunction, useFocusScope, useMergedRefs } from "@components/shared/index.ts"; import { ReactNode, createRef, forwardRef } from "react"; import { render, waitFor, renderWithTheme } from "@test-utils"; -import { Button } from "@components/button"; -import { Disclosure } from "@components/disclosure"; -import { Div } from "@components/html"; -import { Item } from "@components/collection"; -import { Select } from "@components/select"; -import { TextInput } from "@components/text-input"; +import { Button } from "@components/button/index.ts"; +import { Disclosure } from "@components/disclosure/index.ts"; +import { Div } from "@components/html/index.ts"; +import { Item } from "@components/collection/index.ts"; +import { Select } from "@components/select/index.ts"; +import { TextInput } from "@components/text-input/index.ts"; interface FocusScopeProps { tabIndex?: number; diff --git a/packages/components/src/shared/tests/jest/useFocusWithin.test.tsx b/packages/components/src/shared/tests/jest/useFocusWithin.test.tsx index c6c18dfe5..c2eed72c2 100644 --- a/packages/components/src/shared/tests/jest/useFocusWithin.test.tsx +++ b/packages/components/src/shared/tests/jest/useFocusWithin.test.tsx @@ -1,8 +1,8 @@ import { act, render, screen, waitFor } from "@test-utils"; -import { Div } from "@components/html"; +import { Div } from "@components/html/index.ts"; import { ReactNode } from "react"; -import { useFocusWithin } from "@components/shared"; +import { useFocusWithin } from "@components/shared/index.ts"; import userEvent from "@testing-library/user-event"; interface FocusWithinProps { diff --git a/packages/components/src/shared/tests/jest/useId.ssr.test.tsx b/packages/components/src/shared/tests/jest/useId.ssr.test.tsx index e6d582ed8..c87bba6b1 100644 --- a/packages/components/src/shared/tests/jest/useId.ssr.test.tsx +++ b/packages/components/src/shared/tests/jest/useId.ssr.test.tsx @@ -3,7 +3,7 @@ */ import { renderToString } from "react-dom/server"; -import { useId } from "@components/shared"; +import { useId } from "@components/shared/index.ts"; function Test() { const id = useId(); diff --git a/packages/components/src/shared/tests/jest/useKeyedRovingFocus.test.tsx b/packages/components/src/shared/tests/jest/useKeyedRovingFocus.test.tsx index 181f6bbad..f42532390 100644 --- a/packages/components/src/shared/tests/jest/useKeyedRovingFocus.test.tsx +++ b/packages/components/src/shared/tests/jest/useKeyedRovingFocus.test.tsx @@ -1,8 +1,8 @@ -import { Button } from "@components/button"; -import { Div } from "@components/html"; +import { Button } from "@components/button/index.ts"; +import { Div } from "@components/html/index.ts"; import { ReactNode } from "react"; import { render, screen, waitFor } from "@test-utils"; -import { useFocusScope, useKeyedRovingFocus } from "@components/shared"; +import { useFocusScope, useKeyedRovingFocus } from "@components/shared/index.ts"; interface RovingFocusProps { currentValue?: string; diff --git a/packages/components/src/shared/tests/jest/useRawSlots.test.tsx b/packages/components/src/shared/tests/jest/useRawSlots.test.tsx index 3be77f9b8..d3c7d035e 100644 --- a/packages/components/src/shared/tests/jest/useRawSlots.test.tsx +++ b/packages/components/src/shared/tests/jest/useRawSlots.test.tsx @@ -1,7 +1,7 @@ -import { Box, BoxProps } from "@components/box"; +import { Box, BoxProps } from "@components/box/index.ts"; import { forwardRef } from "react"; import { renderHook } from "@test-utils"; -import { slot, useRawSlots } from "@components/shared"; +import { slot, useRawSlots } from "@components/shared/index.ts"; const Title = slot("title", forwardRef<HTMLElement, BoxProps>(({ children, ...rest }, ref) => { return ( diff --git a/packages/components/src/shared/tests/jest/useRovingFocus.test.tsx b/packages/components/src/shared/tests/jest/useRovingFocus.test.tsx index 8784b5bd5..dee09f83f 100644 --- a/packages/components/src/shared/tests/jest/useRovingFocus.test.tsx +++ b/packages/components/src/shared/tests/jest/useRovingFocus.test.tsx @@ -1,8 +1,8 @@ -import { Button } from "@components/button"; -import { Div } from "@components/html"; +import { Button } from "@components/button/index.ts"; +import { Div } from "@components/html/index.ts"; import { ReactNode } from "react"; import { render, screen, waitFor } from "@test-utils"; -import { useFocusScope, useRovingFocus } from "@components/shared"; +import { useFocusScope, useRovingFocus } from "@components/shared/index.ts"; import userEvent from "@testing-library/user-event"; function RovingFocus({ children }: { children?: ReactNode }) { diff --git a/packages/components/src/shared/tests/jest/useSlots.test.tsx b/packages/components/src/shared/tests/jest/useSlots.test.tsx index 02ba4c3f1..a5255236e 100644 --- a/packages/components/src/shared/tests/jest/useSlots.test.tsx +++ b/packages/components/src/shared/tests/jest/useSlots.test.tsx @@ -1,7 +1,7 @@ -import { Div, DivProps } from "@components/html"; +import { Div, DivProps } from "@components/html/index.ts"; import { ErrorBoundary, muteConsoleErrors, render, screen, waitFor } from "@test-utils"; import { ReactNode, createRef, forwardRef } from "react"; -import { slot, useSlots } from "@components/shared"; +import { slot, useSlots } from "@components/shared/index.ts"; // Errors in useEffect are not catch by @test-utils-hooks error handling code. Therefore we must catch those errors with a custom ErrorBoundary. function withErrorBoundary(onError: (error: Error) => void) { diff --git a/packages/components/src/shared/tests/typescript/arrayify.test.ts b/packages/components/src/shared/tests/typescript/arrayify.test.ts index 9e0f5e581..1dd6eff09 100644 --- a/packages/components/src/shared/tests/typescript/arrayify.test.ts +++ b/packages/components/src/shared/tests/typescript/arrayify.test.ts @@ -1,4 +1,4 @@ -import { arrayify } from "@components/shared"; +import { arrayify } from "@components/shared/index.ts"; import { expectAssignable } from "@test-utils"; expectAssignable<number[]>(arrayify(1)); diff --git a/packages/components/src/shared/tests/typescript/as.test.tsx b/packages/components/src/shared/tests/typescript/as.test.tsx index cb172f335..aa796e882 100644 --- a/packages/components/src/shared/tests/typescript/as.test.tsx +++ b/packages/components/src/shared/tests/typescript/as.test.tsx @@ -1,7 +1,7 @@ -import { Button } from "@components/button"; +import { Button } from "@components/button/index.ts"; import { ComponentProps } from "react"; -import { Div } from "@components/html"; -import { as } from "@components/shared"; +import { Div } from "@components/html/index.ts"; +import { as } from "@components/shared/index.ts"; import { expectAssignable } from "@test-utils"; interface RouterLinkProps { diff --git a/packages/components/src/shared/tests/typescript/mergeProps.test.ts b/packages/components/src/shared/tests/typescript/mergeProps.test.ts index b8b31d988..90ad72b61 100644 --- a/packages/components/src/shared/tests/typescript/mergeProps.test.ts +++ b/packages/components/src/shared/tests/typescript/mergeProps.test.ts @@ -1,4 +1,4 @@ -import { TupleTypes, mergeProps } from "@components/shared"; +import { TupleTypes, mergeProps } from "@components/shared/index.ts"; import { expectAssignable } from "@test-utils"; const a1: { a?: string; b?: string } = {}; diff --git a/packages/components/src/shared/tests/typescript/omitProps.test.ts b/packages/components/src/shared/tests/typescript/omitProps.test.ts index 8e453eba0..e497e1b39 100644 --- a/packages/components/src/shared/tests/typescript/omitProps.test.ts +++ b/packages/components/src/shared/tests/typescript/omitProps.test.ts @@ -1,5 +1,5 @@ import { expectAssignable } from "@test-utils"; -import { omitProps } from "@components/shared"; +import { omitProps } from "@components/shared/index.ts"; interface MyObject { a: string; diff --git a/packages/components/src/shared/tests/typescript/slots.test.tsx b/packages/components/src/shared/tests/typescript/slots.test.tsx index f7f0cc6c9..9c1cea0ff 100644 --- a/packages/components/src/shared/tests/typescript/slots.test.tsx +++ b/packages/components/src/shared/tests/typescript/slots.test.tsx @@ -1,6 +1,6 @@ import { ReactNode } from "react"; import { expectAssignable } from "@test-utils"; -import { getSlots } from "@components/shared"; +import { getSlots } from "@components/shared/index.ts"; const node: ReactNode = null; diff --git a/packages/components/src/shared/tests/typescript/types.test.ts b/packages/components/src/shared/tests/typescript/types.test.ts index 5606651f7..d57a66601 100644 --- a/packages/components/src/shared/tests/typescript/types.test.ts +++ b/packages/components/src/shared/tests/typescript/types.test.ts @@ -1,5 +1,5 @@ import { ForwardedRef } from "react"; -import { OmitInternalProps } from "@components/shared"; +import { OmitInternalProps } from "@components/shared/index.ts"; import { expectAssignable } from "@test-utils"; interface FirstType { diff --git a/packages/components/src/spinner/docs/Spinner.mdx b/packages/components/src/spinner/docs/Spinner.mdx index 022698b23..823ef01a2 100644 --- a/packages/components/src/spinner/docs/Spinner.mdx +++ b/packages/components/src/spinner/docs/Spinner.mdx @@ -1,6 +1,6 @@ import { ArgTypes, Meta, Canvas } from "@storybook/addon-docs"; import { ComponentInfo, Tagline } from "@stories/components"; -import { InnerSpinner } from "@components/spinner"; +import { InnerSpinner } from "@components/spinner/index.ts"; import * as SpinnerStories from "./Spinner.stories.tsx"; diff --git a/packages/components/src/spinner/docs/Spinner.stories.tsx b/packages/components/src/spinner/docs/Spinner.stories.tsx index 95103f0c5..4960bbf26 100644 --- a/packages/components/src/spinner/docs/Spinner.stories.tsx +++ b/packages/components/src/spinner/docs/Spinner.stories.tsx @@ -1,6 +1,6 @@ -import { Spinner } from "@components/spinner"; -import { Inline } from "@components/layout"; -import { Div } from "@components/html"; +import { Spinner } from "@components/spinner/index.ts"; +import { Inline } from "@components/layout/index.ts"; +import { Div } from "@components/html/index.ts"; import { Meta, StoryObj } from "@storybook/react"; diff --git a/packages/components/src/spinner/src/Spinner.tsx b/packages/components/src/spinner/src/Spinner.tsx index 428f196ff..e833c9e6c 100644 --- a/packages/components/src/spinner/src/Spinner.tsx +++ b/packages/components/src/spinner/src/Spinner.tsx @@ -1,8 +1,8 @@ import { ComponentProps, forwardRef } from "react"; -import { isNil, InternalProps, OmitInternalProps, StyledComponentProps, cssModule, mergeProps, normalizeSize } from "../../shared"; -import { Box } from "../../box"; -import { ResponsiveProp, useResponsiveValue } from "../../styling"; -import { Text } from "../../typography"; +import { isNil, InternalProps, OmitInternalProps, StyledComponentProps, cssModule, mergeProps, normalizeSize } from "../../shared/index.ts" +import { Box } from "../../box/index.ts" +import { ResponsiveProp, useResponsiveValue } from "../../styling/index.ts" +import { Text } from "../../typography/index.ts" const DefaultElement = "div"; diff --git a/packages/components/src/spinner/tests/chromatic/Spinner.stories.tsx b/packages/components/src/spinner/tests/chromatic/Spinner.stories.tsx index e9e554309..75eb77b1c 100644 --- a/packages/components/src/spinner/tests/chromatic/Spinner.stories.tsx +++ b/packages/components/src/spinner/tests/chromatic/Spinner.stories.tsx @@ -1,5 +1,5 @@ -import { Spinner } from "@components/spinner"; -import { Inline, Stack } from "@components/layout"; +import { Spinner } from "@components/spinner/index.ts"; +import { Inline, Stack } from "@components/layout/index.ts"; import { Meta, StoryObj } from "@storybook/react"; const meta = { diff --git a/packages/components/src/spinner/tests/jest/Spinner.ssr.test.tsx b/packages/components/src/spinner/tests/jest/Spinner.ssr.test.tsx index fa31e41dc..d5695c61e 100644 --- a/packages/components/src/spinner/tests/jest/Spinner.ssr.test.tsx +++ b/packages/components/src/spinner/tests/jest/Spinner.ssr.test.tsx @@ -1,7 +1,7 @@ /** * @jest-environment node */ -import { Spinner } from "@components/spinner"; +import { Spinner } from "@components/spinner/index.ts"; import { renderToString } from "react-dom/server"; import { throwOnConsoleLogs } from "@test-utils"; diff --git a/packages/components/src/spinner/tests/jest/Spinner.test.tsx b/packages/components/src/spinner/tests/jest/Spinner.test.tsx index 9041f1629..fb775cf1f 100644 --- a/packages/components/src/spinner/tests/jest/Spinner.test.tsx +++ b/packages/components/src/spinner/tests/jest/Spinner.test.tsx @@ -1,4 +1,4 @@ -import { Spinner } from "@components/spinner"; +import { Spinner } from "@components/spinner/index.ts"; import { createRef } from "react"; import { renderWithTheme } from "@test-utils"; import { waitFor } from "@testing-library/react"; diff --git a/packages/components/src/styling/docs/ThemeProvider.stories.tsx b/packages/components/src/styling/docs/ThemeProvider.stories.tsx index 7cae0dcdc..060df0448 100644 --- a/packages/components/src/styling/docs/ThemeProvider.stories.tsx +++ b/packages/components/src/styling/docs/ThemeProvider.stories.tsx @@ -1,5 +1,5 @@ import { Meta, StoryObj } from "@storybook/react"; -import { ThemeProvider } from "@components/styling"; +import { ThemeProvider } from "@components/styling/index.ts"; import { Button } from "@components"; const meta = { diff --git a/packages/components/src/styling/src/BreakpointProvider.tsx b/packages/components/src/styling/src/BreakpointProvider.tsx index 681655b1e..55f83ca6e 100644 --- a/packages/components/src/styling/src/BreakpointProvider.tsx +++ b/packages/components/src/styling/src/BreakpointProvider.tsx @@ -1,5 +1,5 @@ import { ReactNode, createContext, useCallback, useContext, useEffect, useState } from "react"; -import { isNil } from "../../shared"; +import { isNil } from "../../shared/index.ts" import { supportsMatchMedia } from "./useMediaQuery"; import { useDebouncedCallback } from "use-debounce"; diff --git a/packages/components/src/styling/src/StyleContext.ts b/packages/components/src/styling/src/StyleContext.ts index 82c59211d..5117ab5f0 100644 --- a/packages/components/src/styling/src/StyleContext.ts +++ b/packages/components/src/styling/src/StyleContext.ts @@ -1,5 +1,5 @@ import { createContext, useContext } from "react"; -import { isNil } from "../../shared"; +import { isNil } from "../../shared/index.ts" type StyleContextType = Record<string, any>; diff --git a/packages/components/src/styling/src/useColorScheme.ts b/packages/components/src/styling/src/useColorScheme.ts index a75ebeace..017a99ba3 100644 --- a/packages/components/src/styling/src/useColorScheme.ts +++ b/packages/components/src/styling/src/useColorScheme.ts @@ -1,4 +1,4 @@ -import { isNil } from "../../shared"; +import { isNil } from "../../shared/index.ts" import { useEffect } from "react"; import { useMediaQuery } from "./useMediaQuery"; diff --git a/packages/components/src/styling/src/useResponsiveValue.tsx b/packages/components/src/styling/src/useResponsiveValue.tsx index 384affbe8..c33fe2bf4 100644 --- a/packages/components/src/styling/src/useResponsiveValue.tsx +++ b/packages/components/src/styling/src/useResponsiveValue.tsx @@ -1,5 +1,5 @@ import { Breakpoint, Breakpoints, useMatchedBreakpoints } from "./BreakpointProvider"; -import { isNil, isObject } from "../../shared"; +import { isNil, isObject } from "../../shared/index.ts" export type ResponsiveValue<T> = Partial<Record<Breakpoint, T>> & { base?: T }; diff --git a/packages/components/src/styling/tests/chromatic/ThemeProvider-hopper.stories.tsx b/packages/components/src/styling/tests/chromatic/ThemeProvider-hopper.stories.tsx index d5edaa204..3f910c9f4 100644 --- a/packages/components/src/styling/tests/chromatic/ThemeProvider-hopper.stories.tsx +++ b/packages/components/src/styling/tests/chromatic/ThemeProvider-hopper.stories.tsx @@ -1,7 +1,7 @@ -import { ThemeProvider, useColorSchemeContext } from "@components/styling"; +import { ThemeProvider, useColorSchemeContext } from "@components/styling/index.ts"; -import { Box } from "@components/box"; -import { Inline } from "@components/layout"; +import { Box } from "@components/box/index.ts"; +import { Inline } from "@components/layout/index.ts"; import { useEffect } from "react"; import { Meta, StoryObj } from "@storybook/react"; diff --git a/packages/components/src/styling/tests/chromatic/ThemeProvider.stories.tsx b/packages/components/src/styling/tests/chromatic/ThemeProvider.stories.tsx index 6d99ae170..322890b16 100644 --- a/packages/components/src/styling/tests/chromatic/ThemeProvider.stories.tsx +++ b/packages/components/src/styling/tests/chromatic/ThemeProvider.stories.tsx @@ -1,7 +1,7 @@ -import { ThemeProvider, useColorSchemeContext } from "@components/styling"; +import { ThemeProvider, useColorSchemeContext } from "@components/styling/index.ts"; -import { Box } from "@components/box"; -import { Inline } from "@components/layout"; +import { Box } from "@components/box/index.ts"; +import { Inline } from "@components/layout/index.ts"; import { useEffect } from "react"; import { Meta, StoryObj } from "@storybook/react"; diff --git a/packages/components/src/styling/tests/chromatic/sharegate-hopper.stories.tsx b/packages/components/src/styling/tests/chromatic/sharegate-hopper.stories.tsx index ad43f9483..87c311bb9 100644 --- a/packages/components/src/styling/tests/chromatic/sharegate-hopper.stories.tsx +++ b/packages/components/src/styling/tests/chromatic/sharegate-hopper.stories.tsx @@ -9,11 +9,11 @@ import { SizingMapping, SpacingMapping, ThemeProvider -} from "@components/styling"; -import { Box, BoxProps } from "@components/box"; +} from "@components/styling/index.ts"; +import { Box, BoxProps } from "@components/box/index.ts"; import { IconColorMapping } from "@hopper-ui/styled-system"; import { NoteIcon } from "@hopper-ui/icons"; -import { Inline, Stack } from "@components/layout"; +import { Inline, Stack } from "@components/layout/index.ts"; import { Meta, StoryObj } from "@storybook/react"; const meta = { diff --git a/packages/components/src/styling/tests/chromatic/sharegate.stories.tsx b/packages/components/src/styling/tests/chromatic/sharegate.stories.tsx index 68d6e9490..6c3cdf2b6 100644 --- a/packages/components/src/styling/tests/chromatic/sharegate.stories.tsx +++ b/packages/components/src/styling/tests/chromatic/sharegate.stories.tsx @@ -9,11 +9,11 @@ import { SizingMapping, SpacingMapping, ThemeProvider -} from "@components/styling"; -import { Box, BoxProps } from "@components/box"; +} from "@components/styling/index.ts"; +import { Box, BoxProps } from "@components/box/index.ts"; import { IconColorMapping } from "@hopper-ui/styled-system"; import { NoteIcon } from "@hopper-ui/icons"; -import { Inline, Stack } from "@components/layout"; +import { Inline, Stack } from "@components/layout/index.ts"; import { Meta, StoryObj } from "@storybook/react"; const meta = { diff --git a/packages/components/src/styling/tests/chromatic/useStyledSystem-hopper.stories.tsx b/packages/components/src/styling/tests/chromatic/useStyledSystem-hopper.stories.tsx index a9ad3dd02..bae2277e8 100644 --- a/packages/components/src/styling/tests/chromatic/useStyledSystem-hopper.stories.tsx +++ b/packages/components/src/styling/tests/chromatic/useStyledSystem-hopper.stories.tsx @@ -1,4 +1,4 @@ -import { Box } from "@components/box"; +import { Box } from "@components/box/index.ts"; import { Meta, StoryObj } from "@storybook/react"; const viewports = [640, 768, 1024, 1280, 1440]; diff --git a/packages/components/src/styling/tests/chromatic/useStyledSystem.stories.tsx b/packages/components/src/styling/tests/chromatic/useStyledSystem.stories.tsx index 96fef7c5d..cf8db0579 100644 --- a/packages/components/src/styling/tests/chromatic/useStyledSystem.stories.tsx +++ b/packages/components/src/styling/tests/chromatic/useStyledSystem.stories.tsx @@ -1,4 +1,4 @@ -import { Box } from "@components/box"; +import { Box } from "@components/box/index.ts"; import { Meta, StoryObj } from "@storybook/react"; const viewports = [640, 768, 1024, 1280, 1440]; diff --git a/packages/components/src/styling/tests/jest/parseResponsiveValue.test.tsx b/packages/components/src/styling/tests/jest/parseResponsiveValue.test.tsx index a1fa6f67e..92f57a4cf 100644 --- a/packages/components/src/styling/tests/jest/parseResponsiveValue.test.tsx +++ b/packages/components/src/styling/tests/jest/parseResponsiveValue.test.tsx @@ -1,4 +1,4 @@ -import { parseResponsiveValue } from "@components/styling"; +import { parseResponsiveValue } from "@components/styling/index.ts"; test("when the value is a string, return the string value", () => { const result = parseResponsiveValue("10px", ["lg"]); diff --git a/packages/components/src/styling/tests/jest/useColorSchemeValue.test.tsx b/packages/components/src/styling/tests/jest/useColorSchemeValue.test.tsx index ab6bc88fd..d43f1ffee 100644 --- a/packages/components/src/styling/tests/jest/useColorSchemeValue.test.tsx +++ b/packages/components/src/styling/tests/jest/useColorSchemeValue.test.tsx @@ -1,5 +1,5 @@ import { renderHookWithTheme } from "@test-utils"; -import { useColorSchemeValue } from "@components/styling"; +import { useColorSchemeValue } from "@components/styling/index.ts"; test("return the light color value when the color scheme is light", async () => { const { result } = renderHookWithTheme(() => useColorSchemeValue("light-color", "dark-color"), undefined, { colorScheme: "light" }); diff --git a/packages/components/src/styling/tests/jest/useStyledSystem.test.tsx b/packages/components/src/styling/tests/jest/useStyledSystem.test.tsx index 59b67649d..f429b60eb 100644 --- a/packages/components/src/styling/tests/jest/useStyledSystem.test.tsx +++ b/packages/components/src/styling/tests/jest/useStyledSystem.test.tsx @@ -16,7 +16,7 @@ import { TextColorMapping, normalizeVariable, useStyledSystem -} from "@components/styling"; +} from "@components/styling/index.ts"; import { ComponentProps } from "react"; import { renderWithTheme, screen, waitFor } from "@test-utils"; diff --git a/packages/components/src/styling/tests/typescript/useStyledSystem.test.tsx b/packages/components/src/styling/tests/typescript/useStyledSystem.test.tsx index 6241a5de8..b836926c9 100644 --- a/packages/components/src/styling/tests/typescript/useStyledSystem.test.tsx +++ b/packages/components/src/styling/tests/typescript/useStyledSystem.test.tsx @@ -111,7 +111,7 @@ import { WillChangeProp, WordBreakProp, ZIndexProp -} from "@components/styling"; +} from "@components/styling/index.ts"; import { expectAssignable } from "@test-utils"; expectAssignable<ResponsiveValue<string>>({ base: "value" }); diff --git a/packages/components/src/switch/docs/Switch.mdx b/packages/components/src/switch/docs/Switch.mdx index 731b7a513..240e03947 100644 --- a/packages/components/src/switch/docs/Switch.mdx +++ b/packages/components/src/switch/docs/Switch.mdx @@ -1,6 +1,6 @@ import { ArgTypes, Meta, Canvas } from "@storybook/addon-docs"; import { ComponentInfo, Tagline } from "@stories/components"; -import { InnerSwitch } from "@components/switch"; +import { InnerSwitch } from "@components/switch/index.ts"; import * as SwitchStories from "./Switch.stories.tsx" diff --git a/packages/components/src/switch/docs/Switch.stories.tsx b/packages/components/src/switch/docs/Switch.stories.tsx index 8304defe3..c65b0c3ca 100644 --- a/packages/components/src/switch/docs/Switch.stories.tsx +++ b/packages/components/src/switch/docs/Switch.stories.tsx @@ -1,7 +1,7 @@ -import { Switch } from "@components/switch"; -import { Text } from "@components/typography"; -import { Counter } from "@components/counter"; -import { Inline } from "@components/layout"; +import { Switch } from "@components/switch/index.ts"; +import { Text } from "@components/typography/index.ts"; +import { Counter } from "@components/counter/index.ts"; +import { Inline } from "@components/layout/index.ts"; import { SparklesIcon } from "@hopper-ui/icons"; import { useCallback, useState } from "react"; diff --git a/packages/components/src/switch/src/Switch.tsx b/packages/components/src/switch/src/Switch.tsx index 903b7b9ac..9f3c88337 100644 --- a/packages/components/src/switch/src/Switch.tsx +++ b/packages/components/src/switch/src/Switch.tsx @@ -1,14 +1,14 @@ -import { AbstractInputProps } from "../../input"; -import { Box } from "../../box"; -import { Span } from "../../html"; +import { AbstractInputProps } from "../../input/index.ts" +import { Box } from "../../box/index.ts" +import { Span } from "../../html/index.ts" import { ChangeEvent, ChangeEventHandler, ComponentProps, ReactNode, forwardRef, useMemo } from "react"; -import { OmitInternalProps, isNil, mergeProps, omitProps, resolveChildren, useChainedEventCallback, useSlots } from "../../shared"; -import { ResponsiveProp, useResponsiveValue } from "../../styling"; -import { Text } from "../../typography"; -import { VisuallyHidden } from "../../visually-hidden"; -import { useCheckbox } from "../../checkbox"; -import { useFieldInputProps } from "../../field"; -import { useToolbarProps } from "../../toolbar"; +import { OmitInternalProps, isNil, mergeProps, omitProps, resolveChildren, useChainedEventCallback, useSlots } from "../../shared/index.ts" +import { ResponsiveProp, useResponsiveValue } from "../../styling/index.ts" +import { Text } from "../../typography/index.ts" +import { VisuallyHidden } from "../../visually-hidden/index.ts" +import { useCheckbox } from "../../checkbox/index.ts" +import { useFieldInputProps } from "../../field/index.ts" +import { useToolbarProps } from "../../toolbar/index.ts" const DefaultElement = "label"; diff --git a/packages/components/src/switch/tests/chromatic/Switch-hopper.stories.tsx b/packages/components/src/switch/tests/chromatic/Switch-hopper.stories.tsx index ced0f969f..b65b903ae 100644 --- a/packages/components/src/switch/tests/chromatic/Switch-hopper.stories.tsx +++ b/packages/components/src/switch/tests/chromatic/Switch-hopper.stories.tsx @@ -1,5 +1,5 @@ -import { Switch } from "@components/switch"; -import { Inline } from "@components/layout"; +import { Switch } from "@components/switch/index.ts"; +import { Inline } from "@components/layout/index.ts"; import { Meta, StoryObj } from "@storybook/react"; diff --git a/packages/components/src/switch/tests/chromatic/Switch.stories.tsx b/packages/components/src/switch/tests/chromatic/Switch.stories.tsx index bc7150d41..d2d1a8f6b 100644 --- a/packages/components/src/switch/tests/chromatic/Switch.stories.tsx +++ b/packages/components/src/switch/tests/chromatic/Switch.stories.tsx @@ -1,5 +1,5 @@ -import { Inline } from "@components/layout"; -import { Switch } from "@components/switch"; +import { Inline } from "@components/layout/index.ts"; +import { Switch } from "@components/switch/index.ts"; import { Meta, StoryObj } from "@storybook/react"; diff --git a/packages/components/src/switch/tests/chromatic/SwitchChecked-hopper.stories.tsx b/packages/components/src/switch/tests/chromatic/SwitchChecked-hopper.stories.tsx index 062d38dcb..4614b272d 100644 --- a/packages/components/src/switch/tests/chromatic/SwitchChecked-hopper.stories.tsx +++ b/packages/components/src/switch/tests/chromatic/SwitchChecked-hopper.stories.tsx @@ -1,7 +1,7 @@ -import { Switch } from "@components/switch"; -import { Counter } from "@components/counter"; -import { Div } from "@components/html"; -import { Inline, Stack } from "@components/layout"; +import { Switch } from "@components/switch/index.ts"; +import { Counter } from "@components/counter/index.ts"; +import { Div } from "@components/html/index.ts"; +import { Inline, Stack } from "@components/layout/index.ts"; import { MailIcon, InfoIcon, WarningIcon } from "@hopper-ui/icons"; import { IconList, Text } from "@hopper-ui/components"; diff --git a/packages/components/src/switch/tests/chromatic/SwitchChecked.stories.tsx b/packages/components/src/switch/tests/chromatic/SwitchChecked.stories.tsx index 4e0fb9ce9..3f3b51284 100644 --- a/packages/components/src/switch/tests/chromatic/SwitchChecked.stories.tsx +++ b/packages/components/src/switch/tests/chromatic/SwitchChecked.stories.tsx @@ -1,10 +1,10 @@ -import { Switch } from "@components/switch"; -import { Counter } from "@components/counter"; -import { Div } from "@components/html"; -import { IconList } from "@components/icons"; +import { Switch } from "@components/switch/index.ts"; +import { Counter } from "@components/counter/index.ts"; +import { Div } from "@components/html/index.ts"; +import { IconList } from "@components/icons/index.ts"; import { MailIcon, InfoIcon, WarningIcon } from "@hopper-ui/icons"; -import { Inline, Stack } from "@components/layout"; -import { Text } from "@components/typography"; +import { Inline, Stack } from "@components/layout/index.ts"; +import { Text } from "@components/typography/index.ts"; import { Meta, StoryObj } from "@storybook/react"; diff --git a/packages/components/src/switch/tests/chromatic/SwitchUnchecked-hopper.stories.tsx b/packages/components/src/switch/tests/chromatic/SwitchUnchecked-hopper.stories.tsx index 07799f981..a4e76f22e 100644 --- a/packages/components/src/switch/tests/chromatic/SwitchUnchecked-hopper.stories.tsx +++ b/packages/components/src/switch/tests/chromatic/SwitchUnchecked-hopper.stories.tsx @@ -1,7 +1,7 @@ -import { Switch } from "@components/switch"; -import { Counter } from "@components/counter"; -import { Div } from "@components/html"; -import { Inline, Stack } from "@components/layout"; +import { Switch } from "@components/switch/index.ts"; +import { Counter } from "@components/counter/index.ts"; +import { Div } from "@components/html/index.ts"; +import { Inline, Stack } from "@components/layout/index.ts"; import { MailIcon, InfoIcon, WarningIcon } from "@hopper-ui/icons"; import { IconList, Text } from "@hopper-ui/components"; diff --git a/packages/components/src/switch/tests/chromatic/SwitchUnchecked.stories.tsx b/packages/components/src/switch/tests/chromatic/SwitchUnchecked.stories.tsx index fd288d78e..c7dc8a1a5 100644 --- a/packages/components/src/switch/tests/chromatic/SwitchUnchecked.stories.tsx +++ b/packages/components/src/switch/tests/chromatic/SwitchUnchecked.stories.tsx @@ -1,10 +1,10 @@ -import { Switch } from "@components/switch"; -import { Counter } from "@components/counter"; -import { Div } from "@components/html"; -import { IconList } from "@components/icons"; +import { Switch } from "@components/switch/index.ts"; +import { Counter } from "@components/counter/index.ts"; +import { Div } from "@components/html/index.ts"; +import { IconList } from "@components/icons/index.ts"; import { MailIcon, InfoIcon, WarningIcon } from "@hopper-ui/icons"; -import { Inline, Stack } from "@components/layout"; -import { Text } from "@components/typography"; +import { Inline, Stack } from "@components/layout/index.ts"; +import { Text } from "@components/typography/index.ts"; import { Meta, StoryObj } from "@storybook/react"; diff --git a/packages/components/src/switch/tests/jest/Switch.ssr.test.tsx b/packages/components/src/switch/tests/jest/Switch.ssr.test.tsx index a317e9958..e5943f29f 100644 --- a/packages/components/src/switch/tests/jest/Switch.ssr.test.tsx +++ b/packages/components/src/switch/tests/jest/Switch.ssr.test.tsx @@ -1,7 +1,7 @@ /** * @jest-environment node */ -import { Switch } from "@components/switch"; +import { Switch } from "@components/switch/index.ts"; import { renderToString } from "react-dom/server"; import { throwOnConsoleLogs } from "@test-utils"; diff --git a/packages/components/src/switch/tests/jest/Switch.test.tsx b/packages/components/src/switch/tests/jest/Switch.test.tsx index b7514ed15..9d3445c4d 100644 --- a/packages/components/src/switch/tests/jest/Switch.test.tsx +++ b/packages/components/src/switch/tests/jest/Switch.test.tsx @@ -1,6 +1,6 @@ import { act, screen, waitFor, renderWithTheme } from "@test-utils"; -import { Switch } from "@components/switch"; +import { Switch } from "@components/switch/index.ts"; import { createRef } from "react"; import userEvent from "@testing-library/user-event"; diff --git a/packages/components/src/tabs/docs/Tabs.mdx b/packages/components/src/tabs/docs/Tabs.mdx index e9bd328aa..62b104c91 100644 --- a/packages/components/src/tabs/docs/Tabs.mdx +++ b/packages/components/src/tabs/docs/Tabs.mdx @@ -1,8 +1,8 @@ import { ArgTypes, Meta, Canvas } from "@storybook/addon-docs"; import { ComponentInfo, Tagline } from "@stories/components"; -import { InnerContent, InnerHeader } from "@components/placeholders"; -import { InnerItem } from "@components/collection"; -import { InnerTab, InnerTabs, InnerTabPanel } from "@components/tabs"; +import { InnerContent, InnerHeader } from "@components/placeholders/index.ts"; +import { InnerItem } from "@components/collection/index.ts"; +import { InnerTab, InnerTabs, InnerTabPanel } from "@components/tabs/index.ts"; import * as TabStories from "./Tabs.stories.tsx" diff --git a/packages/components/src/tabs/docs/Tabs.stories.tsx b/packages/components/src/tabs/docs/Tabs.stories.tsx index 66816c62b..69b046a7a 100644 --- a/packages/components/src/tabs/docs/Tabs.stories.tsx +++ b/packages/components/src/tabs/docs/Tabs.stories.tsx @@ -1,11 +1,11 @@ -import { Tabs, useTabsContext } from "@components/tabs"; -import { Content, Header } from "@components/placeholders"; -import { Item } from "@components/collection"; -import { Div } from "@components/html"; -import { Lozenge } from "@components/lozenge"; +import { Tabs, useTabsContext } from "@components/tabs/index.ts"; +import { Content, Header } from "@components/placeholders/index.ts"; +import { Item } from "@components/collection/index.ts"; +import { Div } from "@components/html/index.ts"; +import { Lozenge } from "@components/lozenge/index.ts"; import { SparklesIcon } from "@hopper-ui/icons"; -import { isNil } from "@components/shared"; -import { Text } from "@components/typography"; +import { isNil } from "@components/shared/index.ts"; +import { Text } from "@components/typography/index.ts"; import { useCallback, useEffect, useState } from "react"; import { Meta, StoryObj } from "@storybook/react"; diff --git a/packages/components/src/tabs/src/Tab.tsx b/packages/components/src/tabs/src/Tab.tsx index 7d9b8a878..5d63bea38 100644 --- a/packages/components/src/tabs/src/Tab.tsx +++ b/packages/components/src/tabs/src/Tab.tsx @@ -1,9 +1,9 @@ import { ComponentProps, KeyboardEvent, MouseEvent, ReactNode, SyntheticEvent, forwardRef, useMemo } from "react"; -import { InteractionProps, InternalProps, Keys, OmitInternalProps, StyledComponentProps, cssModule, isNil, mergeProps, useEventCallback, useSlots } from "../../shared"; +import { InteractionProps, InternalProps, Keys, OmitInternalProps, StyledComponentProps, cssModule, isNil, mergeProps, useEventCallback, useSlots } from "../../shared/index.ts" -import { Box } from "../../box"; +import { Box } from "../../box/index.ts" import { TabType } from "./useTabsItems"; -import { Text } from "../../typography"; +import { Text } from "../../typography/index.ts" import { useTabsContext } from "./TabsContext"; export const TabKeyProp = "data-o-ui-key"; diff --git a/packages/components/src/tabs/src/TabList.tsx b/packages/components/src/tabs/src/TabList.tsx index 5d638c762..fb01b5e97 100644 --- a/packages/components/src/tabs/src/TabList.tsx +++ b/packages/components/src/tabs/src/TabList.tsx @@ -1,5 +1,5 @@ import { ComponentProps, ForwardedRef, KeyboardEvent, RefObject, SyntheticEvent, forwardRef, useCallback, useState } from "react"; -import { Div, HtmlButton } from "../../html"; +import { Div, HtmlButton } from "../../html/index.ts" import { FocusScopeContext, InternalProps, @@ -18,11 +18,11 @@ import { useKeyedRovingFocus, useMergedRefs, useRefState -} from "../../shared"; -import { Overlay, OverlayProps, useOverlayPosition, useOverlayTrigger, usePopupAriaProps, usePopupLightDismiss } from "../../overlay"; +} from "../../shared/index.ts" +import { Overlay, OverlayProps, useOverlayPosition, useOverlayTrigger, usePopupAriaProps, usePopupLightDismiss } from "../../overlay/index.ts" import { Tab, TabKeyProp } from "./Tab"; -import { Box } from "../../box"; +import { Box } from "../../box/index.ts" import { TabType } from "./useTabsItems"; import { useCollapsibleTabs } from "./useCollapsibleTabs"; import { useTabsContext } from "./TabsContext"; diff --git a/packages/components/src/tabs/src/TabPanel.tsx b/packages/components/src/tabs/src/TabPanel.tsx index 8e4dc8374..f5b915c92 100644 --- a/packages/components/src/tabs/src/TabPanel.tsx +++ b/packages/components/src/tabs/src/TabPanel.tsx @@ -1,7 +1,7 @@ import { ComponentProps, ReactNode, forwardRef } from "react"; -import { InternalProps, OmitInternalProps, StyledComponentProps, mergeProps } from "../../shared"; +import { InternalProps, OmitInternalProps, StyledComponentProps, mergeProps } from "../../shared/index.ts" import { PanelType } from "./useTabsItems"; -import { Text } from "../../typography"; +import { Text } from "../../typography/index.ts" import { useTabsContext } from "./TabsContext"; const DefaultElement = "div"; diff --git a/packages/components/src/tabs/src/TabPanels.tsx b/packages/components/src/tabs/src/TabPanels.tsx index 8893e5f91..d22837c72 100644 --- a/packages/components/src/tabs/src/TabPanels.tsx +++ b/packages/components/src/tabs/src/TabPanels.tsx @@ -1,5 +1,5 @@ -import { Box } from "../../box"; -import { InternalProps, StyledComponentProps, mergeProps } from "../../shared"; +import { Box } from "../../box/index.ts" +import { InternalProps, StyledComponentProps, mergeProps } from "../../shared/index.ts" import { PanelType } from "./useTabsItems"; import { Ref } from "react"; import { TabPanel } from "./TabPanel"; diff --git a/packages/components/src/tabs/src/Tabs.tsx b/packages/components/src/tabs/src/Tabs.tsx index e90bc7919..296a8a9f0 100644 --- a/packages/components/src/tabs/src/Tabs.tsx +++ b/packages/components/src/tabs/src/Tabs.tsx @@ -1,9 +1,9 @@ import { useMemo, ComponentProps, ReactNode, SyntheticEvent, forwardRef } from "react"; -import { InternalProps, OmitInternalProps, StyledComponentProps, cssModule, isNil, mergeProps, useControllableState, useEventCallback, useId } from "../../shared"; -import { ResponsiveProp, useResponsiveValue } from "../../styling"; +import { InternalProps, OmitInternalProps, StyledComponentProps, cssModule, isNil, mergeProps, useControllableState, useEventCallback, useId } from "../../shared/index.ts" +import { ResponsiveProp, useResponsiveValue } from "../../styling/index.ts" import { TabsContext, TabsOrientation, TabsVariant } from "./TabsContext"; -import { Box } from "../../box"; +import { Box } from "../../box/index.ts" import { TabList } from "./TabList"; import { TabPanels } from "./TabPanels"; import { useTabsItems } from "./useTabsItems"; diff --git a/packages/components/src/tabs/src/useCollapsibleTabs.ts b/packages/components/src/tabs/src/useCollapsibleTabs.ts index 0db959ab8..8b9638a06 100644 --- a/packages/components/src/tabs/src/useCollapsibleTabs.ts +++ b/packages/components/src/tabs/src/useCollapsibleTabs.ts @@ -1,6 +1,6 @@ // Inspired by: https://codesandbox.io/s/ariakit-collapsible-tab-835t8?file=/src/tab-popover.tsx -import { createDisposables, isNil, useIsomorphicLayoutEffect, useMergedRefs, useRefState, useResizeObserver } from "../../shared"; +import { createDisposables, isNil, useIsomorphicLayoutEffect, useMergedRefs, useRefState, useResizeObserver } from "../../shared/index.ts" import { useCallback, useEffect, useRef, useState } from "react"; import { TabType } from "./useTabsItems"; diff --git a/packages/components/src/tabs/src/useTabsItems.ts b/packages/components/src/tabs/src/useTabsItems.ts index 26feb00a0..1a856d95b 100644 --- a/packages/components/src/tabs/src/useTabsItems.ts +++ b/packages/components/src/tabs/src/useTabsItems.ts @@ -1,6 +1,6 @@ import { Children, ReactElement, ReactNode, Ref, RefAttributes, useMemo } from "react"; -import { Content, Header } from "../../placeholders"; -import { isNil, mergeProps, resolveChildren } from "../../shared"; +import { Content, Header } from "../../placeholders/index.ts" +import { isNil, mergeProps, resolveChildren } from "../../shared/index.ts" export interface PanelType { disabled?: boolean; diff --git a/packages/components/src/tabs/tests/chromatic/Tabs-hopper.stories.tsx b/packages/components/src/tabs/tests/chromatic/Tabs-hopper.stories.tsx index 467a1184d..899d418a6 100644 --- a/packages/components/src/tabs/tests/chromatic/Tabs-hopper.stories.tsx +++ b/packages/components/src/tabs/tests/chromatic/Tabs-hopper.stories.tsx @@ -1,10 +1,10 @@ import { SparklesIcon, DismissIcon } from "@hopper-ui/icons"; -import { Content, Header } from "@components/placeholders"; -import { Tab, TabPanel, Tabs, useTabsContext, type TabPanelProps, type TabProps } from "@components/tabs"; +import { Content, Header } from "@components/placeholders/index.ts"; +import { Tab, TabPanel, Tabs, useTabsContext, type TabPanelProps, type TabProps } from "@components/tabs/index.ts"; -import { Div } from "@components/html"; -import { Item } from "@components/collection"; -import { Inline, Stack } from "@components/layout"; +import { Div } from "@components/html/index.ts"; +import { Item } from "@components/collection/index.ts"; +import { Inline, Stack } from "@components/layout/index.ts"; import { Text } from "@hopper-ui/components"; import { Meta, StoryObj } from "@storybook/react"; diff --git a/packages/components/src/tabs/tests/chromatic/Tabs.stories.tsx b/packages/components/src/tabs/tests/chromatic/Tabs.stories.tsx index 3b7125bd1..39003e3db 100644 --- a/packages/components/src/tabs/tests/chromatic/Tabs.stories.tsx +++ b/packages/components/src/tabs/tests/chromatic/Tabs.stories.tsx @@ -1,11 +1,11 @@ import { SparklesIcon, DismissIcon } from "@hopper-ui/icons"; -import { Content, Header } from "@components/placeholders"; -import { Inline, Stack } from "@components/layout"; -import { Tab, TabPanel, Tabs, useTabsContext, type TabPanelProps, type TabProps } from "@components/tabs"; +import { Content, Header } from "@components/placeholders/index.ts"; +import { Inline, Stack } from "@components/layout/index.ts"; +import { Tab, TabPanel, Tabs, useTabsContext, type TabPanelProps, type TabProps } from "@components/tabs/index.ts"; -import { Div } from "@components/html"; -import { Item } from "@components/collection"; -import { Text } from "@components/typography"; +import { Div } from "@components/html/index.ts"; +import { Item } from "@components/collection/index.ts"; +import { Text } from "@components/typography/index.ts"; import { Meta, StoryObj } from "@storybook/react"; diff --git a/packages/components/src/tabs/tests/chromatic/TabsHeading-hopper.stories.tsx b/packages/components/src/tabs/tests/chromatic/TabsHeading-hopper.stories.tsx index 348e0913a..30a3f5771 100644 --- a/packages/components/src/tabs/tests/chromatic/TabsHeading-hopper.stories.tsx +++ b/packages/components/src/tabs/tests/chromatic/TabsHeading-hopper.stories.tsx @@ -1,9 +1,9 @@ -import { Tabs } from "@components/tabs"; +import { Tabs } from "@components/tabs/index.ts"; import { NotificationIcon } from "@hopper-ui/icons"; -import { Content, Header } from "@components/placeholders"; -import { Item } from "@components/collection"; -import { Div } from "@components/html"; -import { Stack } from "@components/layout"; +import { Content, Header } from "@components/placeholders/index.ts"; +import { Item } from "@components/collection/index.ts"; +import { Div } from "@components/html/index.ts"; +import { Stack } from "@components/layout/index.ts"; import { Text, Tag, TagList, TagGroup } from "@hopper-ui/components"; import { Meta, StoryObj } from "@storybook/react"; diff --git a/packages/components/src/tabs/tests/chromatic/TabsHeading.stories.tsx b/packages/components/src/tabs/tests/chromatic/TabsHeading.stories.tsx index 1bf513d8d..794cdf771 100644 --- a/packages/components/src/tabs/tests/chromatic/TabsHeading.stories.tsx +++ b/packages/components/src/tabs/tests/chromatic/TabsHeading.stories.tsx @@ -1,11 +1,11 @@ -import { Tabs } from "@components/tabs"; +import { Tabs } from "@components/tabs/index.ts"; import { NotificationIcon } from "@hopper-ui/icons"; -import { Content, Header } from "@components/placeholders"; -import { Item } from "@components/collection"; -import { Stack } from "@components/layout"; -import { Lozenge } from "@components/lozenge"; -import { Div } from "@components/html"; -import { Text } from "@components/typography"; +import { Content, Header } from "@components/placeholders/index.ts"; +import { Item } from "@components/collection/index.ts"; +import { Stack } from "@components/layout/index.ts"; +import { Lozenge } from "@components/lozenge/index.ts"; +import { Div } from "@components/html/index.ts"; +import { Text } from "@components/typography/index.ts"; import { Meta, StoryObj } from "@storybook/react"; diff --git a/packages/components/src/tabs/tests/chromatic/TabsInCard-hopper.stories.tsx b/packages/components/src/tabs/tests/chromatic/TabsInCard-hopper.stories.tsx index 001a43b6b..80bab08c9 100644 --- a/packages/components/src/tabs/tests/chromatic/TabsInCard-hopper.stories.tsx +++ b/packages/components/src/tabs/tests/chromatic/TabsInCard-hopper.stories.tsx @@ -1,9 +1,9 @@ -import { Tabs } from "@components/tabs"; +import { Tabs } from "@components/tabs/index.ts"; import { NotificationIcon } from "@hopper-ui/icons"; -import { Content, Header } from "@components/placeholders"; -import { Item } from "@components/collection"; -import { Div } from "@components/html"; -import { Stack } from "@components/layout"; +import { Content, Header } from "@components/placeholders/index.ts"; +import { Item } from "@components/collection/index.ts"; +import { Div } from "@components/html/index.ts"; +import { Stack } from "@components/layout/index.ts"; import { Text, Tag, TagList, TagGroup } from "@hopper-ui/components"; import { Meta, StoryObj } from "@storybook/react"; diff --git a/packages/components/src/tabs/tests/chromatic/TabsInCard.stories.tsx b/packages/components/src/tabs/tests/chromatic/TabsInCard.stories.tsx index fe1c261be..54f58ca7b 100644 --- a/packages/components/src/tabs/tests/chromatic/TabsInCard.stories.tsx +++ b/packages/components/src/tabs/tests/chromatic/TabsInCard.stories.tsx @@ -1,11 +1,11 @@ -import { Tabs } from "@components/tabs"; +import { Tabs } from "@components/tabs/index.ts"; import { NotificationIcon } from "@hopper-ui/icons"; -import { Content, Header } from "@components/placeholders"; -import { Item } from "@components/collection"; -import { Stack } from "@components/layout"; -import { Lozenge } from "@components/lozenge"; -import { Div } from "@components/html"; -import { Text } from "@components/typography"; +import { Content, Header } from "@components/placeholders/index.ts"; +import { Item } from "@components/collection/index.ts"; +import { Stack } from "@components/layout/index.ts"; +import { Lozenge } from "@components/lozenge/index.ts"; +import { Div } from "@components/html/index.ts"; +import { Text } from "@components/typography/index.ts"; import { Meta, StoryObj } from "@storybook/react"; diff --git a/packages/components/src/tabs/tests/chromatic/TabsStandalone-hopper.stories.tsx b/packages/components/src/tabs/tests/chromatic/TabsStandalone-hopper.stories.tsx index c3394e92a..ce0374711 100644 --- a/packages/components/src/tabs/tests/chromatic/TabsStandalone-hopper.stories.tsx +++ b/packages/components/src/tabs/tests/chromatic/TabsStandalone-hopper.stories.tsx @@ -1,9 +1,9 @@ -import { Tabs } from "@components/tabs"; +import { Tabs } from "@components/tabs/index.ts"; import { NotificationIcon } from "@hopper-ui/icons"; -import { Content, Header } from "@components/placeholders"; -import { Item } from "@components/collection"; -import { Div } from "@components/html"; -import { Stack } from "@components/layout"; +import { Content, Header } from "@components/placeholders/index.ts"; +import { Item } from "@components/collection/index.ts"; +import { Div } from "@components/html/index.ts"; +import { Stack } from "@components/layout/index.ts"; import { Text, Tag, TagList, TagGroup } from "@hopper-ui/components"; import { Meta, StoryObj } from "@storybook/react"; diff --git a/packages/components/src/tabs/tests/chromatic/TabsStandalone.stories.tsx b/packages/components/src/tabs/tests/chromatic/TabsStandalone.stories.tsx index 3068c7894..8b8d7a9a2 100644 --- a/packages/components/src/tabs/tests/chromatic/TabsStandalone.stories.tsx +++ b/packages/components/src/tabs/tests/chromatic/TabsStandalone.stories.tsx @@ -1,11 +1,11 @@ -import { Tabs } from "@components/tabs"; +import { Tabs } from "@components/tabs/index.ts"; import { NotificationIcon } from "@hopper-ui/icons"; -import { Content, Header } from "@components/placeholders"; -import { Item } from "@components/collection"; -import { Stack } from "@components/layout"; -import { Lozenge } from "@components/lozenge"; -import { Div } from "@components/html"; -import { Text } from "@components/typography"; +import { Content, Header } from "@components/placeholders/index.ts"; +import { Item } from "@components/collection/index.ts"; +import { Stack } from "@components/layout/index.ts"; +import { Lozenge } from "@components/lozenge/index.ts"; +import { Div } from "@components/html/index.ts"; +import { Text } from "@components/typography/index.ts"; import { Meta, StoryObj } from "@storybook/react"; diff --git a/packages/components/src/tabs/tests/chromatic/TabsVertical-hopper.stories.tsx b/packages/components/src/tabs/tests/chromatic/TabsVertical-hopper.stories.tsx index 6e2aefc1d..0f2c234e9 100644 --- a/packages/components/src/tabs/tests/chromatic/TabsVertical-hopper.stories.tsx +++ b/packages/components/src/tabs/tests/chromatic/TabsVertical-hopper.stories.tsx @@ -1,9 +1,9 @@ import { NotificationIcon } from "@hopper-ui/icons"; -import { Content, Header } from "@components/placeholders"; -import { Inline } from "@components/layout"; -import { Tabs } from "@components/tabs"; +import { Content, Header } from "@components/placeholders/index.ts"; +import { Inline } from "@components/layout/index.ts"; +import { Tabs } from "@components/tabs/index.ts"; -import { Item } from "@components/collection"; +import { Item } from "@components/collection/index.ts"; import { Text, Tag, TagList, TagGroup } from "@hopper-ui/components"; import { Meta, StoryObj } from "@storybook/react"; diff --git a/packages/components/src/tabs/tests/chromatic/TabsVertical.stories.tsx b/packages/components/src/tabs/tests/chromatic/TabsVertical.stories.tsx index 7bdc566ec..7907cf8b0 100644 --- a/packages/components/src/tabs/tests/chromatic/TabsVertical.stories.tsx +++ b/packages/components/src/tabs/tests/chromatic/TabsVertical.stories.tsx @@ -1,11 +1,11 @@ import { NotificationIcon } from "@hopper-ui/icons"; -import { Content, Header } from "@components/placeholders"; -import { Inline } from "@components/layout"; -import { Tabs } from "@components/tabs"; +import { Content, Header } from "@components/placeholders/index.ts"; +import { Inline } from "@components/layout/index.ts"; +import { Tabs } from "@components/tabs/index.ts"; -import { Item } from "@components/collection"; -import { Lozenge } from "@components/lozenge"; -import { Text } from "@components/typography"; +import { Item } from "@components/collection/index.ts"; +import { Lozenge } from "@components/lozenge/index.ts"; +import { Text } from "@components/typography/index.ts"; import { Meta, StoryObj } from "@storybook/react"; const meta = { diff --git a/packages/components/src/tabs/tests/jest/Tabs.ssr.test.tsx b/packages/components/src/tabs/tests/jest/Tabs.ssr.test.tsx index df7e4613c..ad02593cc 100644 --- a/packages/components/src/tabs/tests/jest/Tabs.ssr.test.tsx +++ b/packages/components/src/tabs/tests/jest/Tabs.ssr.test.tsx @@ -1,9 +1,9 @@ /** * @jest-environment node */ -import { Content, Header } from "@components/placeholders"; -import { Item } from "@components/collection"; -import { Tabs } from "@components/tabs"; +import { Content, Header } from "@components/placeholders/index.ts"; +import { Item } from "@components/collection/index.ts"; +import { Tabs } from "@components/tabs/index.ts"; import { renderToString } from "react-dom/server"; import { throwOnConsoleLogs } from "@test-utils"; diff --git a/packages/components/src/tabs/tests/jest/Tabs.test.tsx b/packages/components/src/tabs/tests/jest/Tabs.test.tsx index 2eab20bc6..52dbb9ad9 100644 --- a/packages/components/src/tabs/tests/jest/Tabs.test.tsx +++ b/packages/components/src/tabs/tests/jest/Tabs.test.tsx @@ -1,9 +1,9 @@ -import { Content, Header } from "@components/placeholders"; +import { Content, Header } from "@components/placeholders/index.ts"; import { act, fireEvent, screen, waitFor, renderWithTheme } from "@test-utils"; -import { Item } from "@components/collection"; -import { Keys } from "@components/shared"; -import { Tabs } from "@components/tabs"; +import { Item } from "@components/collection/index.ts"; +import { Keys } from "@components/shared/index.ts"; +import { Tabs } from "@components/tabs/index.ts"; import { createRef } from "react"; import userEvent from "@testing-library/user-event"; diff --git a/packages/components/src/tag/docs/Tag.mdx b/packages/components/src/tag/docs/Tag.mdx index b6f295530..c95a50b9f 100644 --- a/packages/components/src/tag/docs/Tag.mdx +++ b/packages/components/src/tag/docs/Tag.mdx @@ -1,5 +1,5 @@ import { ArgTypes, Meta, Canvas } from "@storybook/addon-docs"; -import { InnerTag, InnerTagList } from "@components/tag"; +import { InnerTag, InnerTagList } from "@components/tag/index.ts"; import { ComponentInfo, Tagline } from "@stories/components"; import * as TagStories from "./Tag.stories.tsx"; diff --git a/packages/components/src/tag/docs/Tag.stories.tsx b/packages/components/src/tag/docs/Tag.stories.tsx index 07f1c3242..664a805fc 100644 --- a/packages/components/src/tag/docs/Tag.stories.tsx +++ b/packages/components/src/tag/docs/Tag.stories.tsx @@ -1,15 +1,15 @@ -import { Tag, TagList } from "@components/tag"; +import { Tag, TagList } from "@components/tag/index.ts"; import { CatIcon, LightbulbIcon, MailIcon, NotificationIcon, ReportIcon, RocketIcon, SettingsIcon, SparklesIcon } from "@hopper-ui/icons"; -import { Flex, Inline, Stack } from "@components/layout"; -import { Section, Item } from "@components/collection"; -import { DisclosureArrow } from "@components/disclosure"; -import { Button } from "@components/button"; -import { Counter } from "@components/counter"; -import { Dot } from "@components/dot"; -import { Menu, MenuTrigger } from "@components/menu"; -import { IconList } from "@components/icons"; -import { Text } from "@components/typography"; -import { Avatar } from "@components/avatar"; +import { Flex, Inline, Stack } from "@components/layout/index.ts"; +import { Section, Item } from "@components/collection/index.ts"; +import { DisclosureArrow } from "@components/disclosure/index.ts"; +import { Button } from "@components/button/index.ts"; +import { Counter } from "@components/counter/index.ts"; +import { Dot } from "@components/dot/index.ts"; +import { Menu, MenuTrigger } from "@components/menu/index.ts"; +import { IconList } from "@components/icons/index.ts"; +import { Text } from "@components/typography/index.ts"; +import { Avatar } from "@components/avatar/index.ts"; import { useCallback, useMemo, useState } from "react"; import { Meta, StoryObj } from "@storybook/react"; diff --git a/packages/components/src/tag/src/Tag.tsx b/packages/components/src/tag/src/Tag.tsx index b01f71c7c..cddc409dc 100644 --- a/packages/components/src/tag/src/Tag.tsx +++ b/packages/components/src/tag/src/Tag.tsx @@ -1,11 +1,11 @@ -import { Box } from "../../box"; +import { Box } from "../../box/index.ts" import { ComponentProps, ReactNode, SyntheticEvent, forwardRef, useMemo } from "react"; -import { CrossButton } from "../../button"; -import { InteractionProps, InternalProps, OmitInternalProps, StyledComponentProps, createSizeAdapter, cssModule, isNil, mergeProps, normalizeSize, useMergedRefs, useSlots, createEmbeddableAdapter, slot } from "../../shared"; -import { ResponsiveProp, useResponsiveValue } from "../../styling"; -import { Text } from "../../typography"; -import { useFieldInputProps } from "../../field"; -import { ValidationState } from "../../input"; +import { CrossButton } from "../../button/index.ts" +import { InteractionProps, InternalProps, OmitInternalProps, StyledComponentProps, createSizeAdapter, cssModule, isNil, mergeProps, normalizeSize, useMergedRefs, useSlots, createEmbeddableAdapter, slot } from "../../shared/index.ts" +import { ResponsiveProp, useResponsiveValue } from "../../styling/index.ts" +import { Text } from "../../typography/index.ts" +import { useFieldInputProps } from "../../field/index.ts" +import { ValidationState } from "../../input/index.ts" const DefaultElement = "div"; diff --git a/packages/components/src/tag/src/TagList.tsx b/packages/components/src/tag/src/TagList.tsx index 23e7cadb3..e6b42285d 100644 --- a/packages/components/src/tag/src/TagList.tsx +++ b/packages/components/src/tag/src/TagList.tsx @@ -1,10 +1,10 @@ -import { Box } from "../../box"; -import { Button } from "../../button"; -import { CollectionItem, useCollection } from "../../collection"; +import { Box } from "../../box/index.ts" +import { Button } from "../../button/index.ts" +import { CollectionItem, useCollection } from "../../collection/index.ts" import { ComponentProps, ReactNode, SyntheticEvent, forwardRef } from "react"; -import { InternalProps, OmitInternalProps, StyledComponentProps, isNil, mergeProps, useEventCallback } from "../../shared"; +import { InternalProps, OmitInternalProps, StyledComponentProps, isNil, mergeProps, useEventCallback } from "../../shared/index.ts" import { Tag, TagProps } from "./Tag"; -import { ValidationState } from "../../input"; +import { ValidationState } from "../../input/index.ts" const DefaultElement = "div"; diff --git a/packages/components/src/tag/tests/chromatic/Tag-hopper.stories.tsx b/packages/components/src/tag/tests/chromatic/Tag-hopper.stories.tsx index 1e5dcce8b..21db87fc1 100644 --- a/packages/components/src/tag/tests/chromatic/Tag-hopper.stories.tsx +++ b/packages/components/src/tag/tests/chromatic/Tag-hopper.stories.tsx @@ -1,5 +1,5 @@ -import { Tag } from "@components/tag"; -import { Inline } from "@components/layout"; +import { Tag } from "@components/tag/index.ts"; +import { Inline } from "@components/layout/index.ts"; import { Meta, StoryObj } from "@storybook/react"; diff --git a/packages/components/src/tag/tests/chromatic/Tag.stories.tsx b/packages/components/src/tag/tests/chromatic/Tag.stories.tsx index 505c24466..510d2e4e3 100644 --- a/packages/components/src/tag/tests/chromatic/Tag.stories.tsx +++ b/packages/components/src/tag/tests/chromatic/Tag.stories.tsx @@ -1,5 +1,5 @@ -import { Tag } from "@components/tag"; -import { Inline } from "@components/layout"; +import { Tag } from "@components/tag/index.ts"; +import { Inline } from "@components/layout/index.ts"; import { Meta, StoryObj } from "@storybook/react"; diff --git a/packages/components/src/tag/tests/chromatic/TagList-hopper.stories.tsx b/packages/components/src/tag/tests/chromatic/TagList-hopper.stories.tsx index 5df86da27..13889ce1d 100644 --- a/packages/components/src/tag/tests/chromatic/TagList-hopper.stories.tsx +++ b/packages/components/src/tag/tests/chromatic/TagList-hopper.stories.tsx @@ -1,10 +1,10 @@ -import { Counter } from "@components/counter"; -import { Div } from "@components/html"; -import { Dot } from "@components/dot"; +import { Counter } from "@components/counter/index.ts"; +import { Div } from "@components/html/index.ts"; +import { Dot } from "@components/dot/index.ts"; import { QuestionIcon, LightbulbIcon, NotificationIcon } from "@hopper-ui/icons"; -import { Item } from "@components/collection"; -import { TagList } from "@components/tag"; -import { Inline, Stack } from "@components/layout"; +import { Item } from "@components/collection/index.ts"; +import { TagList } from "@components/tag/index.ts"; +import { Inline, Stack } from "@components/layout/index.ts"; import { Text } from "@hopper-ui/components"; import { Meta, StoryObj } from "@storybook/react"; diff --git a/packages/components/src/tag/tests/chromatic/TagList.stories.tsx b/packages/components/src/tag/tests/chromatic/TagList.stories.tsx index 8088f4189..c7082a855 100644 --- a/packages/components/src/tag/tests/chromatic/TagList.stories.tsx +++ b/packages/components/src/tag/tests/chromatic/TagList.stories.tsx @@ -1,11 +1,11 @@ -import { Counter } from "@components/counter"; -import { Div } from "@components/html"; -import { Dot } from "@components/dot"; +import { Counter } from "@components/counter/index.ts"; +import { Div } from "@components/html/index.ts"; +import { Dot } from "@components/dot/index.ts"; import { QuestionIcon, LightbulbIcon, NotificationIcon } from "@hopper-ui/icons"; -import { Inline, Stack } from "@components/layout"; -import { Item } from "@components/collection"; -import { TagList } from "@components/tag"; -import { Text } from "@components/typography"; +import { Inline, Stack } from "@components/layout/index.ts"; +import { Item } from "@components/collection/index.ts"; +import { TagList } from "@components/tag/index.ts"; +import { Text } from "@components/typography/index.ts"; import { Meta, StoryObj } from "@storybook/react"; const meta = { diff --git a/packages/components/src/tag/tests/chromatic/TagOutline-hopper.stories.tsx b/packages/components/src/tag/tests/chromatic/TagOutline-hopper.stories.tsx index 066c9124d..cc08dbccc 100644 --- a/packages/components/src/tag/tests/chromatic/TagOutline-hopper.stories.tsx +++ b/packages/components/src/tag/tests/chromatic/TagOutline-hopper.stories.tsx @@ -1,14 +1,14 @@ -import { Tag } from "@components/tag"; -import { Inline, Stack } from "@components/layout"; +import { Tag } from "@components/tag/index.ts"; +import { Inline, Stack } from "@components/layout/index.ts"; import { SparklesIcon } from "@hopper-ui/icons"; -import { Counter } from "@components/counter"; -import { Div } from "@components/html"; -import { Dot } from "@components/dot"; -import { Field, Label } from "@components/field"; +import { Counter } from "@components/counter/index.ts"; +import { Div } from "@components/html/index.ts"; +import { Dot } from "@components/dot/index.ts"; +import { Field, Label } from "@components/field/index.ts"; import { Avatar, IconList, Text } from "@hopper-ui/components"; import { Meta, StoryObj } from "@storybook/react"; -import { as } from "@components/shared"; +import { as } from "@components/shared/index.ts"; const meta = { title: "Chromatic/Tag-hopper/outline", diff --git a/packages/components/src/tag/tests/chromatic/TagOutline.stories.tsx b/packages/components/src/tag/tests/chromatic/TagOutline.stories.tsx index a54a8e099..170d69a5b 100644 --- a/packages/components/src/tag/tests/chromatic/TagOutline.stories.tsx +++ b/packages/components/src/tag/tests/chromatic/TagOutline.stories.tsx @@ -1,16 +1,16 @@ -import { IconList } from "@components/icons"; -import { Tag } from "@components/tag"; -import { Inline, Stack } from "@components/layout"; -import { Div } from "@components/html"; +import { IconList } from "@components/icons/index.ts"; +import { Tag } from "@components/tag/index.ts"; +import { Inline, Stack } from "@components/layout/index.ts"; +import { Div } from "@components/html/index.ts"; import { SparklesIcon } from "@hopper-ui/icons"; -import { Text } from "@components/typography"; -import { Dot } from "@components/dot"; -import { Field, Label } from "@components/field"; +import { Text } from "@components/typography/index.ts"; +import { Dot } from "@components/dot/index.ts"; +import { Field, Label } from "@components/field/index.ts"; import { Meta, StoryObj } from "@storybook/react"; -import { Avatar } from "@components/avatar"; -import { Counter } from "@components/counter"; -import { as } from "@components/shared"; +import { Avatar } from "@components/avatar/index.ts"; +import { Counter } from "@components/counter/index.ts"; +import { as } from "@components/shared/index.ts"; const meta = { title: "Chromatic/Tag/outline", diff --git a/packages/components/src/tag/tests/chromatic/TagSolid-hopper.stories.tsx b/packages/components/src/tag/tests/chromatic/TagSolid-hopper.stories.tsx index 646cc61cb..40e4e9421 100644 --- a/packages/components/src/tag/tests/chromatic/TagSolid-hopper.stories.tsx +++ b/packages/components/src/tag/tests/chromatic/TagSolid-hopper.stories.tsx @@ -1,14 +1,14 @@ -import { Tag } from "@components/tag"; -import { Inline, Stack } from "@components/layout"; +import { Tag } from "@components/tag/index.ts"; +import { Inline, Stack } from "@components/layout/index.ts"; import { SparklesIcon } from "@hopper-ui/icons"; -import { Counter } from "@components/counter"; -import { Div } from "@components/html"; -import { Dot } from "@components/dot"; -import { Field, Label } from "@components/field"; +import { Counter } from "@components/counter/index.ts"; +import { Div } from "@components/html/index.ts"; +import { Dot } from "@components/dot/index.ts"; +import { Field, Label } from "@components/field/index.ts"; import { Avatar, IconList, Text } from "@hopper-ui/components"; import { Meta, StoryObj } from "@storybook/react"; -import { as } from "@components/shared"; +import { as } from "@components/shared/index.ts"; const meta = { title: "Chromatic/Tag-hopper/solid", diff --git a/packages/components/src/tag/tests/chromatic/TagSolid.stories.tsx b/packages/components/src/tag/tests/chromatic/TagSolid.stories.tsx index 77de03258..a13cca617 100644 --- a/packages/components/src/tag/tests/chromatic/TagSolid.stories.tsx +++ b/packages/components/src/tag/tests/chromatic/TagSolid.stories.tsx @@ -1,15 +1,15 @@ -import { IconList } from "@components/icons"; -import { Tag } from "@components/tag"; -import { Inline, Stack } from "@components/layout"; -import { Div } from "@components/html"; +import { IconList } from "@components/icons/index.ts"; +import { Tag } from "@components/tag/index.ts"; +import { Inline, Stack } from "@components/layout/index.ts"; +import { Div } from "@components/html/index.ts"; import { SparklesIcon } from "@hopper-ui/icons"; -import { Text } from "@components/typography"; -import { Dot } from "@components/dot"; -import { Field, Label } from "@components/field"; +import { Text } from "@components/typography/index.ts"; +import { Dot } from "@components/dot/index.ts"; +import { Field, Label } from "@components/field/index.ts"; import { Meta, StoryObj } from "@storybook/react"; -import { as } from "@components/shared"; -import { Counter } from "@components/counter"; -import { Avatar } from "@components/avatar"; +import { as } from "@components/shared/index.ts"; +import { Counter } from "@components/counter/index.ts"; +import { Avatar } from "@components/avatar/index.ts"; const meta = { title: "Chromatic/Tag/solid", diff --git a/packages/components/src/tag/tests/jest/Tag.ssr.test.tsx b/packages/components/src/tag/tests/jest/Tag.ssr.test.tsx index 95fed5355..4620c12f2 100644 --- a/packages/components/src/tag/tests/jest/Tag.ssr.test.tsx +++ b/packages/components/src/tag/tests/jest/Tag.ssr.test.tsx @@ -1,7 +1,7 @@ /** * @jest-environment node */ -import { Tag } from "@components/tag"; +import { Tag } from "@components/tag/index.ts"; import { renderToString } from "react-dom/server"; import { throwOnConsoleLogs } from "@test-utils"; diff --git a/packages/components/src/tag/tests/jest/Tag.test.tsx b/packages/components/src/tag/tests/jest/Tag.test.tsx index 409abfafa..86ac21642 100644 --- a/packages/components/src/tag/tests/jest/Tag.test.tsx +++ b/packages/components/src/tag/tests/jest/Tag.test.tsx @@ -1,4 +1,4 @@ -import { Tag } from "@components/tag"; +import { Tag } from "@components/tag/index.ts"; import { createRef } from "react"; import { renderWithTheme, waitFor } from "@test-utils"; diff --git a/packages/components/src/text-area/docs/TextArea.mdx b/packages/components/src/text-area/docs/TextArea.mdx index 314ee96c9..30fe68356 100644 --- a/packages/components/src/text-area/docs/TextArea.mdx +++ b/packages/components/src/text-area/docs/TextArea.mdx @@ -1,6 +1,6 @@ import { ArgTypes, Meta, Canvas } from "@storybook/addon-docs"; import { ComponentInfo, Tagline } from "@stories/components"; -import { InnerTextArea } from "@components/text-area"; +import { InnerTextArea } from "@components/text-area/index.ts"; import * as TextAreaStories from "./TextArea.stories.tsx"; diff --git a/packages/components/src/text-area/docs/TextArea.stories.tsx b/packages/components/src/text-area/docs/TextArea.stories.tsx index 50146aa78..70aaff9c2 100644 --- a/packages/components/src/text-area/docs/TextArea.stories.tsx +++ b/packages/components/src/text-area/docs/TextArea.stories.tsx @@ -1,8 +1,8 @@ -import { TextArea } from "@components/text-area"; +import { TextArea } from "@components/text-area/index.ts"; import { useCallback, useState } from "react"; import { Meta, StoryObj } from "@storybook/react"; -import { ErrorMessage, Field, HelpMessage } from "@components/field"; +import { ErrorMessage, Field, HelpMessage } from "@components/field/index.ts"; const meta = { title: "Components/TextArea", diff --git a/packages/components/src/text-area/src/TextArea.tsx b/packages/components/src/text-area/src/TextArea.tsx index 1bbeb6d3a..160e6614e 100644 --- a/packages/components/src/text-area/src/TextArea.tsx +++ b/packages/components/src/text-area/src/TextArea.tsx @@ -1,9 +1,9 @@ -import { AbstractInputProps, adaptInputStylingProps, useInput, useInputButton, useInputHasFocus, useInputSpinner } from "../../input"; -import { Box, BoxProps } from "../../box"; +import { AbstractInputProps, adaptInputStylingProps, useInput, useInputButton, useInputHasFocus, useInputSpinner } from "../../input/index.ts" +import { Box, BoxProps } from "../../box/index.ts" import { ChangeEvent, ComponentProps, ReactElement, forwardRef, useCallback, useEffect, useMemo, useState } from "react"; -import { OmitInternalProps, cssModule, getBodyElement, isNil, mergeProps, useChainedEventCallback, useControllableState, useIsomorphicLayoutEffect } from "../../shared"; -import { ResponsiveProp, useResponsiveValue } from "../../styling"; -import { useFieldInputProps } from "../../field"; +import { OmitInternalProps, cssModule, getBodyElement, isNil, mergeProps, useChainedEventCallback, useControllableState, useIsomorphicLayoutEffect } from "../../shared/index.ts" +import { ResponsiveProp, useResponsiveValue } from "../../styling/index.ts" +import { useFieldInputProps } from "../../field/index.ts" const DefaultElement = "textarea"; const DefaultMinimumTextAreaRows = 3; diff --git a/packages/components/src/text-area/tests/chromatic/TextArea-hopper.stories.tsx b/packages/components/src/text-area/tests/chromatic/TextArea-hopper.stories.tsx index 272e65b5b..4cc44df49 100644 --- a/packages/components/src/text-area/tests/chromatic/TextArea-hopper.stories.tsx +++ b/packages/components/src/text-area/tests/chromatic/TextArea-hopper.stories.tsx @@ -1,8 +1,8 @@ -import { Inline, Stack } from "@components/layout"; +import { Inline, Stack } from "@components/layout/index.ts"; -import { CrossButton } from "@components/button"; -import { Div } from "@components/html"; -import { TextArea } from "@components/text-area"; +import { CrossButton } from "@components/button/index.ts"; +import { Div } from "@components/html/index.ts"; +import { TextArea } from "@components/text-area/index.ts"; import { Meta, StoryObj } from "@storybook/react"; const meta = { diff --git a/packages/components/src/text-area/tests/chromatic/TextArea.stories.tsx b/packages/components/src/text-area/tests/chromatic/TextArea.stories.tsx index 447c10e9b..1786e33d9 100644 --- a/packages/components/src/text-area/tests/chromatic/TextArea.stories.tsx +++ b/packages/components/src/text-area/tests/chromatic/TextArea.stories.tsx @@ -1,8 +1,8 @@ -import { Inline, Stack } from "@components/layout"; +import { Inline, Stack } from "@components/layout/index.ts"; -import { CrossButton } from "@components/button"; -import { Div } from "@components/html"; -import { TextArea } from "@components/text-area"; +import { CrossButton } from "@components/button/index.ts"; +import { Div } from "@components/html/index.ts"; +import { TextArea } from "@components/text-area/index.ts"; import { Meta, StoryObj } from "@storybook/react"; const meta = { diff --git a/packages/components/src/text-area/tests/jest/TextArea.ssr.test.tsx b/packages/components/src/text-area/tests/jest/TextArea.ssr.test.tsx index 15cde4fd7..a013d8181 100644 --- a/packages/components/src/text-area/tests/jest/TextArea.ssr.test.tsx +++ b/packages/components/src/text-area/tests/jest/TextArea.ssr.test.tsx @@ -1,7 +1,7 @@ /** * @jest-environment node */ -import { TextArea } from "@components/text-area"; +import { TextArea } from "@components/text-area/index.ts"; import { renderToString } from "react-dom/server"; import { throwOnConsoleLogs } from "@test-utils"; diff --git a/packages/components/src/text-area/tests/jest/TextArea.test.tsx b/packages/components/src/text-area/tests/jest/TextArea.test.tsx index da8cb0149..8c1174316 100644 --- a/packages/components/src/text-area/tests/jest/TextArea.test.tsx +++ b/packages/components/src/text-area/tests/jest/TextArea.test.tsx @@ -1,7 +1,7 @@ -import { Field, Label } from "@components/field"; +import { Field, Label } from "@components/field/index.ts"; import { act, screen, waitFor, renderWithTheme } from "@test-utils"; -import { TextArea } from "@components/text-area"; +import { TextArea } from "@components/text-area/index.ts"; import { createRef } from "react"; import userEvent from "@testing-library/user-event"; diff --git a/packages/components/src/text-input/docs/TextInput.mdx b/packages/components/src/text-input/docs/TextInput.mdx index f541fa1db..3aba4316d 100644 --- a/packages/components/src/text-input/docs/TextInput.mdx +++ b/packages/components/src/text-input/docs/TextInput.mdx @@ -1,6 +1,6 @@ import { ArgTypes, Meta, Canvas } from "@storybook/addon-docs"; import { ComponentInfo, Tagline } from "@stories/components"; -import { InnerPasswordInput, InnerSearchInput, InnerTextInput } from "@components/text-input"; +import { InnerPasswordInput, InnerSearchInput, InnerTextInput } from "@components/text-input/index.ts"; import * as TextInputStories from "./TextInput.stories.tsx"; diff --git a/packages/components/src/text-input/docs/TextInput.stories.tsx b/packages/components/src/text-input/docs/TextInput.stories.tsx index 2b4a916a1..423602caa 100644 --- a/packages/components/src/text-input/docs/TextInput.stories.tsx +++ b/packages/components/src/text-input/docs/TextInput.stories.tsx @@ -1,7 +1,7 @@ -import { TextInput, PasswordInput, SearchInput } from "@components/text-input"; +import { TextInput, PasswordInput, SearchInput } from "@components/text-input/index.ts"; import { EditIcon } from "@hopper-ui/icons"; -import { CrossButton } from "@components/button"; -import { Inline } from "@components/layout"; +import { CrossButton } from "@components/button/index.ts"; +import { Inline } from "@components/layout/index.ts"; import { useCallback, useMemo, useState } from "react"; import { Meta, StoryObj } from "@storybook/react"; diff --git a/packages/components/src/text-input/src/PasswordInput.tsx b/packages/components/src/text-input/src/PasswordInput.tsx index 469ac776e..7a6dad364 100644 --- a/packages/components/src/text-input/src/PasswordInput.tsx +++ b/packages/components/src/text-input/src/PasswordInput.tsx @@ -1,11 +1,11 @@ import { AbstractTextInputProps, TextInput } from "./TextInput"; import { useState, ChangeEvent, ComponentProps, forwardRef } from "react"; import { EyeVisibleIcon, EyeHiddenIcon } from "@hopper-ui/icons"; -import { OmitInternalProps, mergeProps, createSizeAdapter, useControllableState, useEventCallback } from "../../shared"; -import { useResponsiveValue } from "../../styling"; +import { OmitInternalProps, mergeProps, createSizeAdapter, useControllableState, useEventCallback } from "../../shared/index.ts" +import { useResponsiveValue } from "../../styling/index.ts" -import { IconButton } from "../../button"; -import { useInputGroupTextInputProps } from "../../input-group"; +import { IconButton } from "../../button/index.ts" +import { useInputGroupTextInputProps } from "../../input-group/index.ts" const DefaultElement = "input"; diff --git a/packages/components/src/text-input/src/SearchInput.tsx b/packages/components/src/text-input/src/SearchInput.tsx index b648dd4ad..4a069fef6 100644 --- a/packages/components/src/text-input/src/SearchInput.tsx +++ b/packages/components/src/text-input/src/SearchInput.tsx @@ -1,4 +1,4 @@ -import { AbstractTextInputProps, TextInput } from "../../text-input"; +import { AbstractTextInputProps, TextInput } from "../../text-input/index.ts" import { ChangeEvent, ComponentProps, KeyboardEvent, SyntheticEvent, forwardRef, useCallback } from "react"; import { Keys, @@ -11,11 +11,11 @@ import { useControllableState, useEventCallback, useMergedRefs -} from "../../shared"; +} from "../../shared/index.ts" -import { CrossButton } from "../../button"; +import { CrossButton } from "../../button/index.ts" import { SearchIcon } from "@hopper-ui/icons"; -import { useInputGroupTextInputProps } from "../../input-group"; +import { useInputGroupTextInputProps } from "../../input-group/index.ts" const DefaultElement = "input"; diff --git a/packages/components/src/text-input/src/TextInput.tsx b/packages/components/src/text-input/src/TextInput.tsx index 5e8913b7a..059ac4ddc 100644 --- a/packages/components/src/text-input/src/TextInput.tsx +++ b/packages/components/src/text-input/src/TextInput.tsx @@ -1,11 +1,11 @@ -import { AbstractInputProps, adaptInputStylingProps, useInput, useInputIcon, useInputSpinner, useInputButton, useInputHasFocus } from "../../input"; -import { Box, BoxProps } from "../../box"; +import { AbstractInputProps, adaptInputStylingProps, useInput, useInputIcon, useInputSpinner, useInputButton, useInputHasFocus } from "../../input/index.ts" +import { Box, BoxProps } from "../../box/index.ts" import { ChangeEvent, ComponentProps, ElementType, ReactElement, forwardRef } from "react"; -import { ClearInputGroupContext, useInputGroupTextInputProps } from "../../input-group"; -import { OmitInternalProps, cssModule, createSizeAdapter, isNil, mergeProps, omitProps, useChainedEventCallback, useControllableState } from "../../shared"; -import { ResponsiveProp, useResponsiveValue } from "../../styling"; -import { useFieldInputProps } from "../../field"; -import { useToolbarProps } from "../../toolbar"; +import { ClearInputGroupContext, useInputGroupTextInputProps } from "../../input-group/index.ts" +import { OmitInternalProps, cssModule, createSizeAdapter, isNil, mergeProps, omitProps, useChainedEventCallback, useControllableState } from "../../shared/index.ts" +import { ResponsiveProp, useResponsiveValue } from "../../styling/index.ts" +import { useFieldInputProps } from "../../field/index.ts" +import { useToolbarProps } from "../../toolbar/index.ts" export type AbstractTextInputProps<T extends ElementType> = AbstractInputProps<T> & { /** diff --git a/packages/components/src/text-input/tests/chromatic/PasswordInput-hopper.stories.tsx b/packages/components/src/text-input/tests/chromatic/PasswordInput-hopper.stories.tsx index 512f8b155..ed610e750 100644 --- a/packages/components/src/text-input/tests/chromatic/PasswordInput-hopper.stories.tsx +++ b/packages/components/src/text-input/tests/chromatic/PasswordInput-hopper.stories.tsx @@ -1,6 +1,6 @@ -import { Inline, Stack } from "@components/layout"; -import { Div } from "@components/html"; -import { PasswordInput } from "@components/text-input"; +import { Inline, Stack } from "@components/layout/index.ts"; +import { Div } from "@components/html/index.ts"; +import { PasswordInput } from "@components/text-input/index.ts"; import { Meta, StoryObj } from "@storybook/react"; const meta = { diff --git a/packages/components/src/text-input/tests/chromatic/PasswordInput.stories.tsx b/packages/components/src/text-input/tests/chromatic/PasswordInput.stories.tsx index 3cc9ed98a..1e727d49d 100644 --- a/packages/components/src/text-input/tests/chromatic/PasswordInput.stories.tsx +++ b/packages/components/src/text-input/tests/chromatic/PasswordInput.stories.tsx @@ -1,6 +1,6 @@ -import { Inline, Stack } from "@components/layout"; -import { Div } from "@components/html"; -import { PasswordInput } from "@components/text-input"; +import { Inline, Stack } from "@components/layout/index.ts"; +import { Div } from "@components/html/index.ts"; +import { PasswordInput } from "@components/text-input/index.ts"; import { Meta, StoryObj } from "@storybook/react"; const meta = { diff --git a/packages/components/src/text-input/tests/chromatic/SearchInput-hopper.stories.tsx b/packages/components/src/text-input/tests/chromatic/SearchInput-hopper.stories.tsx index 330cfd812..e8ff45b1c 100644 --- a/packages/components/src/text-input/tests/chromatic/SearchInput-hopper.stories.tsx +++ b/packages/components/src/text-input/tests/chromatic/SearchInput-hopper.stories.tsx @@ -1,8 +1,8 @@ -import { Inline, Stack } from "@components/layout"; +import { Inline, Stack } from "@components/layout/index.ts"; -import { Div } from "@components/html"; +import { Div } from "@components/html/index.ts"; import { MailIcon } from "@hopper-ui/icons"; -import { SearchInput } from "@components/text-input"; +import { SearchInput } from "@components/text-input/index.ts"; import { Meta, StoryObj } from "@storybook/react"; const meta = { diff --git a/packages/components/src/text-input/tests/chromatic/SearchInput.stories.tsx b/packages/components/src/text-input/tests/chromatic/SearchInput.stories.tsx index 65984da53..c29c97cb9 100644 --- a/packages/components/src/text-input/tests/chromatic/SearchInput.stories.tsx +++ b/packages/components/src/text-input/tests/chromatic/SearchInput.stories.tsx @@ -1,8 +1,8 @@ -import { Inline, Stack } from "@components/layout"; +import { Inline, Stack } from "@components/layout/index.ts"; -import { Div } from "@components/html"; +import { Div } from "@components/html/index.ts"; import { MailIcon } from "@hopper-ui/icons"; -import { SearchInput } from "@components/text-input"; +import { SearchInput } from "@components/text-input/index.ts"; import { Meta, StoryObj } from "@storybook/react"; const meta = { diff --git a/packages/components/src/text-input/tests/chromatic/TextInput-hopper.stories.tsx b/packages/components/src/text-input/tests/chromatic/TextInput-hopper.stories.tsx index 2c347ebae..f1ab117d1 100644 --- a/packages/components/src/text-input/tests/chromatic/TextInput-hopper.stories.tsx +++ b/packages/components/src/text-input/tests/chromatic/TextInput-hopper.stories.tsx @@ -1,9 +1,9 @@ -import { Inline, Stack } from "@components/layout"; +import { Inline, Stack } from "@components/layout/index.ts"; -import { CrossButton } from "@components/button"; -import { Div } from "@components/html"; +import { CrossButton } from "@components/button/index.ts"; +import { Div } from "@components/html/index.ts"; import { SearchIcon } from "@hopper-ui/icons"; -import { TextInput } from "@components/text-input"; +import { TextInput } from "@components/text-input/index.ts"; import { Meta, StoryObj } from "@storybook/react"; const meta = { diff --git a/packages/components/src/text-input/tests/chromatic/TextInput.stories.tsx b/packages/components/src/text-input/tests/chromatic/TextInput.stories.tsx index a6e5ee984..0fe9743e3 100644 --- a/packages/components/src/text-input/tests/chromatic/TextInput.stories.tsx +++ b/packages/components/src/text-input/tests/chromatic/TextInput.stories.tsx @@ -1,9 +1,9 @@ -import { Inline, Stack } from "@components/layout"; +import { Inline, Stack } from "@components/layout/index.ts"; -import { CrossButton } from "@components/button"; -import { Div } from "@components/html"; +import { CrossButton } from "@components/button/index.ts"; +import { Div } from "@components/html/index.ts"; import { SearchIcon } from "@hopper-ui/icons"; -import { TextInput } from "@components/text-input"; +import { TextInput } from "@components/text-input/index.ts"; import { Meta, StoryObj } from "@storybook/react"; const meta = { diff --git a/packages/components/src/text-input/tests/jest/PasswordInput.ssr.test.tsx b/packages/components/src/text-input/tests/jest/PasswordInput.ssr.test.tsx index 2b5104439..bf4faa95d 100644 --- a/packages/components/src/text-input/tests/jest/PasswordInput.ssr.test.tsx +++ b/packages/components/src/text-input/tests/jest/PasswordInput.ssr.test.tsx @@ -1,7 +1,7 @@ /** * @jest-environment node */ -import { PasswordInput } from "@components/text-input"; +import { PasswordInput } from "@components/text-input/index.ts"; import { renderToString } from "react-dom/server"; import { throwOnConsoleLogs } from "@test-utils"; diff --git a/packages/components/src/text-input/tests/jest/PasswordInput.test.tsx b/packages/components/src/text-input/tests/jest/PasswordInput.test.tsx index 44ba6f37e..a489b8e01 100644 --- a/packages/components/src/text-input/tests/jest/PasswordInput.test.tsx +++ b/packages/components/src/text-input/tests/jest/PasswordInput.test.tsx @@ -1,4 +1,4 @@ -import { PasswordInput } from "@components/text-input"; +import { PasswordInput } from "@components/text-input/index.ts"; import { act, waitFor, renderWithTheme } from "@test-utils"; import { createRef } from "react"; diff --git a/packages/components/src/text-input/tests/jest/SearchInput.ssr.test.tsx b/packages/components/src/text-input/tests/jest/SearchInput.ssr.test.tsx index 9491f0b60..cdc32e0b7 100644 --- a/packages/components/src/text-input/tests/jest/SearchInput.ssr.test.tsx +++ b/packages/components/src/text-input/tests/jest/SearchInput.ssr.test.tsx @@ -1,7 +1,7 @@ /** * @jest-environment node */ -import { SearchInput } from "@components/text-input"; +import { SearchInput } from "@components/text-input/index.ts"; import { renderToString } from "react-dom/server"; import { throwOnConsoleLogs } from "@test-utils"; diff --git a/packages/components/src/text-input/tests/jest/SearchInput.test.tsx b/packages/components/src/text-input/tests/jest/SearchInput.test.tsx index 571170b22..c4a54b9e3 100644 --- a/packages/components/src/text-input/tests/jest/SearchInput.test.tsx +++ b/packages/components/src/text-input/tests/jest/SearchInput.test.tsx @@ -1,5 +1,5 @@ -import { Keys } from "@components/shared"; -import { SearchInput } from "@components/text-input"; +import { Keys } from "@components/shared/index.ts"; +import { SearchInput } from "@components/text-input/index.ts"; import { act, fireEvent, screen, waitFor, renderWithTheme } from "@test-utils"; import { createRef } from "react"; import userEvent from "@testing-library/user-event"; diff --git a/packages/components/src/text-input/tests/jest/TextInput.ssr.test.tsx b/packages/components/src/text-input/tests/jest/TextInput.ssr.test.tsx index f1a4a1019..b64995e7e 100644 --- a/packages/components/src/text-input/tests/jest/TextInput.ssr.test.tsx +++ b/packages/components/src/text-input/tests/jest/TextInput.ssr.test.tsx @@ -1,7 +1,7 @@ /** * @jest-environment node */ -import { TextInput } from "@components/text-input"; +import { TextInput } from "@components/text-input/index.ts"; import { renderToString } from "react-dom/server"; import { throwOnConsoleLogs } from "@test-utils"; diff --git a/packages/components/src/text-input/tests/jest/TextInput.test.tsx b/packages/components/src/text-input/tests/jest/TextInput.test.tsx index 204eb0fc9..296337b1b 100644 --- a/packages/components/src/text-input/tests/jest/TextInput.test.tsx +++ b/packages/components/src/text-input/tests/jest/TextInput.test.tsx @@ -1,7 +1,7 @@ -import { Field, Label } from "@components/field"; +import { Field, Label } from "@components/field/index.ts"; import { screen, waitFor, renderWithTheme } from "@test-utils"; -import { TextInput } from "@components/text-input"; +import { TextInput } from "@components/text-input/index.ts"; import { createRef } from "react"; import userEvent from "@testing-library/user-event"; diff --git a/packages/components/src/tile/docs/Tile.mdx b/packages/components/src/tile/docs/Tile.mdx index ef05f191f..29d37fc26 100644 --- a/packages/components/src/tile/docs/Tile.mdx +++ b/packages/components/src/tile/docs/Tile.mdx @@ -1,8 +1,8 @@ import { ArgTypes, Meta, Canvas } from "@storybook/addon-docs"; import { ComponentInfo, Tagline } from "@stories/components"; -import { InnerContent } from "@components/placeholders"; -import { InnerHeading } from "@components/typography"; -import { InnerTile, InnerTileGroup, InnerTileLink } from "@components/tile"; +import { InnerContent } from "@components/placeholders/index.ts"; +import { InnerHeading } from "@components/typography/index.ts"; +import { InnerTile, InnerTileGroup, InnerTileLink } from "@components/tile/index.ts"; import * as TileStories from "./Tile.stories.tsx"; diff --git a/packages/components/src/tile/docs/Tile.stories.tsx b/packages/components/src/tile/docs/Tile.stories.tsx index e81e0427c..78ccb90d9 100644 --- a/packages/components/src/tile/docs/Tile.stories.tsx +++ b/packages/components/src/tile/docs/Tile.stories.tsx @@ -1,10 +1,10 @@ -import { Illustration } from "@components/illustration"; -import { Image } from "@components/image"; -import { Inline } from "@components/layout"; -import { Tile, TileGroup, TileLink } from "@components/tile"; -import { Content } from "@components/placeholders"; -import { Div } from "@components/html"; -import { Heading } from "@components/typography"; +import { Illustration } from "@components/illustration/index.ts"; +import { Image } from "@components/image/index.ts"; +import { Inline } from "@components/layout/index.ts"; +import { Tile, TileGroup, TileLink } from "@components/tile/index.ts"; +import { Content } from "@components/placeholders/index.ts"; +import { Div } from "@components/html/index.ts"; +import { Heading } from "@components/typography/index.ts"; import { Planet, SpacePortraitHorizontal, SpacePortrait } from "./assets"; import { useCallback, useState } from "react"; diff --git a/packages/components/src/tile/src/Tile.tsx b/packages/components/src/tile/src/Tile.tsx index 6c5891d9c..c83f4b87a 100644 --- a/packages/components/src/tile/src/Tile.tsx +++ b/packages/components/src/tile/src/Tile.tsx @@ -1,4 +1,4 @@ -import { Box } from "../../box"; +import { Box } from "../../box/index.ts" import { ComponentProps, MouseEvent, ReactNode, SyntheticEvent, forwardRef } from "react"; import { InteractionProps, @@ -14,8 +14,8 @@ import { useControllableState, useEventCallback, useMergedRefs -} from "../../shared"; -import { ResponsiveProp, useResponsiveValue } from "../../styling"; +} from "../../shared/index.ts" +import { ResponsiveProp, useResponsiveValue } from "../../styling/index.ts" import { TileOrientation, useTile } from "./useTile"; const DefaultElement = "button"; diff --git a/packages/components/src/tile/src/TileGroup.tsx b/packages/components/src/tile/src/TileGroup.tsx index ce1ebc893..c7e60bf3d 100644 --- a/packages/components/src/tile/src/TileGroup.tsx +++ b/packages/components/src/tile/src/TileGroup.tsx @@ -1,5 +1,5 @@ -import { AbstractGroupProps, Group } from "../../group"; -import { CheckboxGroup } from "../../checkbox"; +import { AbstractGroupProps, Group } from "../../group/index.ts" +import { CheckboxGroup } from "../../checkbox/index.ts" import { Children, ComponentProps, ReactElement, ReactNode, SyntheticEvent, forwardRef } from "react"; import { OmitInternalProps, @@ -13,9 +13,9 @@ import { useFocusManager, useFocusScope, useMergedRefs -} from "../../shared"; -import { RadioGroup } from "../../radio"; -import { ResponsiveProp, useResponsiveValue } from "../../styling"; +} from "../../shared/index.ts" +import { RadioGroup } from "../../radio/index.ts" +import { ResponsiveProp, useResponsiveValue } from "../../styling/index.ts" const DefaultElement = "div"; diff --git a/packages/components/src/tile/src/TileLink.tsx b/packages/components/src/tile/src/TileLink.tsx index 76c540248..db7dd348a 100644 --- a/packages/components/src/tile/src/TileLink.tsx +++ b/packages/components/src/tile/src/TileLink.tsx @@ -1,7 +1,7 @@ -import { AbstractLinkProps, Link } from "../../link"; +import { AbstractLinkProps, Link } from "../../link/index.ts" import { ComponentProps, forwardRef } from "react"; -import { OmitInternalProps, cssModule, mergeProps } from "../../shared"; -import { ResponsiveProp, useResponsiveValue } from "../../styling"; +import { OmitInternalProps, cssModule, mergeProps } from "../../shared/index.ts" +import { ResponsiveProp, useResponsiveValue } from "../../styling/index.ts" import { TileOrientation, useTile } from "./useTile"; const DefaultElement = "a"; diff --git a/packages/components/src/tile/src/useTile.tsx b/packages/components/src/tile/src/useTile.tsx index 0f42ebeb9..aa6769b50 100644 --- a/packages/components/src/tile/src/useTile.tsx +++ b/packages/components/src/tile/src/useTile.tsx @@ -1,8 +1,8 @@ -import { Div } from "../../html"; +import { Div } from "../../html/index.ts" import { CheckmarkIcon } from "@hopper-ui/icons"; -import { InteractionProps, cssModule, useSlots } from "../../shared"; +import { InteractionProps, cssModule, useSlots } from "../../shared/index.ts" import { ReactNode, useMemo } from "react"; -import { Text } from "../../typography"; +import { Text } from "../../typography/index.ts" export type TileOrientation = "horizontal" | "vertical"; diff --git a/packages/components/src/tile/tests/chromatic/Tile.stories.tsx b/packages/components/src/tile/tests/chromatic/Tile.stories.tsx index 3f6926690..ad4b8e1e8 100644 --- a/packages/components/src/tile/tests/chromatic/Tile.stories.tsx +++ b/packages/components/src/tile/tests/chromatic/Tile.stories.tsx @@ -1,10 +1,10 @@ import { Apollo11Banner, Apollo11Poster, Nasa } from "./assets"; -import { Content } from "@components/placeholders"; -import { Heading } from "@components/typography"; -import { Illustration } from "@components/illustration"; -import { Image } from "@components/image"; -import { Inline, Stack } from "@components/layout"; -import { Tile } from "@components/tile"; +import { Content } from "@components/placeholders/index.ts"; +import { Heading } from "@components/typography/index.ts"; +import { Illustration } from "@components/illustration/index.ts"; +import { Image } from "@components/image/index.ts"; +import { Inline, Stack } from "@components/layout/index.ts"; +import { Tile } from "@components/tile/index.ts"; import { Meta, StoryObj } from "@storybook/react"; const meta = { diff --git a/packages/components/src/tile/tests/chromatic/TileGroup.stories.tsx b/packages/components/src/tile/tests/chromatic/TileGroup.stories.tsx index 74de36e6f..c345e07a5 100644 --- a/packages/components/src/tile/tests/chromatic/TileGroup.stories.tsx +++ b/packages/components/src/tile/tests/chromatic/TileGroup.stories.tsx @@ -1,8 +1,8 @@ -import { Content } from "@components/placeholders"; -import { Div } from "@components/html"; -import { Heading } from "@components/typography"; -import { Stack } from "@components/layout"; -import { Tile, TileGroup, TileLink } from "@components/tile"; +import { Content } from "@components/placeholders/index.ts"; +import { Div } from "@components/html/index.ts"; +import { Heading } from "@components/typography/index.ts"; +import { Stack } from "@components/layout/index.ts"; +import { Tile, TileGroup, TileLink } from "@components/tile/index.ts"; import { Meta, StoryObj } from "@storybook/react"; const meta = { diff --git a/packages/components/src/tile/tests/chromatic/TileHorizontal.stories.tsx b/packages/components/src/tile/tests/chromatic/TileHorizontal.stories.tsx index 5fadb9c4b..69c5a0f07 100644 --- a/packages/components/src/tile/tests/chromatic/TileHorizontal.stories.tsx +++ b/packages/components/src/tile/tests/chromatic/TileHorizontal.stories.tsx @@ -1,10 +1,10 @@ -import { Content } from "@components/placeholders"; -import { Div } from "@components/html"; -import { Heading, Paragraph } from "@components/typography"; -import { Illustration } from "@components/illustration"; -import { Image } from "@components/image"; -import { Inline, Stack } from "@components/layout"; -import { Tile } from "@components/tile"; +import { Content } from "@components/placeholders/index.ts"; +import { Div } from "@components/html/index.ts"; +import { Heading, Paragraph } from "@components/typography/index.ts"; +import { Illustration } from "@components/illustration/index.ts"; +import { Image } from "@components/image/index.ts"; +import { Inline, Stack } from "@components/layout/index.ts"; +import { Tile } from "@components/tile/index.ts"; import { Nasa } from "./assets"; import { Meta, StoryObj } from "@storybook/react"; diff --git a/packages/components/src/tile/tests/chromatic/TileLinkHorizontal.stories.tsx b/packages/components/src/tile/tests/chromatic/TileLinkHorizontal.stories.tsx index 28c07381b..b31a9194b 100644 --- a/packages/components/src/tile/tests/chromatic/TileLinkHorizontal.stories.tsx +++ b/packages/components/src/tile/tests/chromatic/TileLinkHorizontal.stories.tsx @@ -1,10 +1,10 @@ -import { TileLink } from "@components/tile"; -import { Content } from "@components/placeholders"; -import { Div } from "@components/html"; -import { Heading } from "@components/typography"; -import { Illustration } from "@components/illustration"; -import { Image } from "@components/image"; -import { Inline, Stack } from "@components/layout"; +import { TileLink } from "@components/tile/index.ts"; +import { Content } from "@components/placeholders/index.ts"; +import { Div } from "@components/html/index.ts"; +import { Heading } from "@components/typography/index.ts"; +import { Illustration } from "@components/illustration/index.ts"; +import { Image } from "@components/image/index.ts"; +import { Inline, Stack } from "@components/layout/index.ts"; import { Nasa } from "./assets"; import { Meta, StoryObj } from "@storybook/react"; diff --git a/packages/components/src/tile/tests/chromatic/TileLinkVertical.stories.tsx b/packages/components/src/tile/tests/chromatic/TileLinkVertical.stories.tsx index cbe8143bd..12bae654a 100644 --- a/packages/components/src/tile/tests/chromatic/TileLinkVertical.stories.tsx +++ b/packages/components/src/tile/tests/chromatic/TileLinkVertical.stories.tsx @@ -1,10 +1,10 @@ -import { TileLink } from "@components/tile"; -import { Content } from "@components/placeholders"; -import { Div } from "@components/html"; -import { Heading } from "@components/typography"; -import { Illustration } from "@components/illustration"; -import { Image } from "@components/image"; -import { Inline, Stack } from "@components/layout"; +import { TileLink } from "@components/tile/index.ts"; +import { Content } from "@components/placeholders/index.ts"; +import { Div } from "@components/html/index.ts"; +import { Heading } from "@components/typography/index.ts"; +import { Illustration } from "@components/illustration/index.ts"; +import { Image } from "@components/image/index.ts"; +import { Inline, Stack } from "@components/layout/index.ts"; import { Nasa } from "./assets"; import { Meta, StoryObj } from "@storybook/react"; diff --git a/packages/components/src/tile/tests/chromatic/TileVertical.stories.tsx b/packages/components/src/tile/tests/chromatic/TileVertical.stories.tsx index dd4842b86..9745fc15a 100644 --- a/packages/components/src/tile/tests/chromatic/TileVertical.stories.tsx +++ b/packages/components/src/tile/tests/chromatic/TileVertical.stories.tsx @@ -1,10 +1,10 @@ -import { Content } from "@components/placeholders"; -import { Div } from "@components/html"; -import { Heading, Paragraph } from "@components/typography"; -import { Illustration } from "@components/illustration"; -import { Image } from "@components/image"; -import { Inline, Stack } from "@components/layout"; -import { Tile } from "@components/tile"; +import { Content } from "@components/placeholders/index.ts"; +import { Div } from "@components/html/index.ts"; +import { Heading, Paragraph } from "@components/typography/index.ts"; +import { Illustration } from "@components/illustration/index.ts"; +import { Image } from "@components/image/index.ts"; +import { Inline, Stack } from "@components/layout/index.ts"; +import { Tile } from "@components/tile/index.ts"; import { Nasa } from "./assets"; import { Meta, StoryObj } from "@storybook/react"; diff --git a/packages/components/src/tile/tests/jest/Tile.ssr.test.tsx b/packages/components/src/tile/tests/jest/Tile.ssr.test.tsx index ea1d008b8..c3ecf4b19 100644 --- a/packages/components/src/tile/tests/jest/Tile.ssr.test.tsx +++ b/packages/components/src/tile/tests/jest/Tile.ssr.test.tsx @@ -1,9 +1,9 @@ /** * @jest-environment node */ -import { Content } from "@components/placeholders"; -import { Heading } from "@components/typography"; -import { Tile } from "@components/tile"; +import { Content } from "@components/placeholders/index.ts"; +import { Heading } from "@components/typography/index.ts"; +import { Tile } from "@components/tile/index.ts"; import { renderToString } from "react-dom/server"; import { throwOnConsoleLogs } from "@test-utils"; diff --git a/packages/components/src/tile/tests/jest/Tile.test.tsx b/packages/components/src/tile/tests/jest/Tile.test.tsx index b5ac2d161..dfa65e5b2 100644 --- a/packages/components/src/tile/tests/jest/Tile.test.tsx +++ b/packages/components/src/tile/tests/jest/Tile.test.tsx @@ -1,9 +1,9 @@ import { screen, waitFor, renderWithTheme } from "@test-utils"; -import { CheckableContext } from "@components/shared"; -import { Content } from "@components/placeholders"; -import { Heading } from "@components/typography"; -import { Tile } from "@components/tile"; +import { CheckableContext } from "@components/shared/index.ts"; +import { Content } from "@components/placeholders/index.ts"; +import { Heading } from "@components/typography/index.ts"; +import { Tile } from "@components/tile/index.ts"; import { createRef } from "react"; import userEvent from "@testing-library/user-event"; diff --git a/packages/components/src/tile/tests/jest/TileGroup.ssr.test.tsx b/packages/components/src/tile/tests/jest/TileGroup.ssr.test.tsx index d774cd353..10a7561f6 100644 --- a/packages/components/src/tile/tests/jest/TileGroup.ssr.test.tsx +++ b/packages/components/src/tile/tests/jest/TileGroup.ssr.test.tsx @@ -1,9 +1,9 @@ /** * @jest-environment node */ -import { Content } from "@components/placeholders"; -import { Heading } from "@components/typography"; -import { Tile, TileGroup } from "@components/tile"; +import { Content } from "@components/placeholders/index.ts"; +import { Heading } from "@components/typography/index.ts"; +import { Tile, TileGroup } from "@components/tile/index.ts"; import { renderToString } from "react-dom/server"; import { throwOnConsoleLogs } from "@test-utils"; diff --git a/packages/components/src/tile/tests/jest/TileGroup.test.tsx b/packages/components/src/tile/tests/jest/TileGroup.test.tsx index cfd01a86d..7c3b88a57 100644 --- a/packages/components/src/tile/tests/jest/TileGroup.test.tsx +++ b/packages/components/src/tile/tests/jest/TileGroup.test.tsx @@ -1,6 +1,6 @@ -import { Content } from "@components/placeholders"; -import { Heading } from "@components/typography"; -import { Tile, TileGroup } from "@components/tile"; +import { Content } from "@components/placeholders/index.ts"; +import { Heading } from "@components/typography/index.ts"; +import { Tile, TileGroup } from "@components/tile/index.ts"; import { screen, waitFor, renderWithTheme } from "@test-utils"; import { createRef } from "react"; import userEvent from "@testing-library/user-event"; diff --git a/packages/components/src/tile/tests/jest/TileLink.ssr.test.tsx b/packages/components/src/tile/tests/jest/TileLink.ssr.test.tsx index c8025d34d..f835dc44c 100644 --- a/packages/components/src/tile/tests/jest/TileLink.ssr.test.tsx +++ b/packages/components/src/tile/tests/jest/TileLink.ssr.test.tsx @@ -1,9 +1,9 @@ /** * @jest-environment node */ -import { Content } from "@components/placeholders"; -import { Heading } from "@components/typography"; -import { TileLink } from "@components/tile"; +import { Content } from "@components/placeholders/index.ts"; +import { Heading } from "@components/typography/index.ts"; +import { TileLink } from "@components/tile/index.ts"; import { renderToString } from "react-dom/server"; import { throwOnConsoleLogs } from "@test-utils"; diff --git a/packages/components/src/tile/tests/jest/TileLink.test.tsx b/packages/components/src/tile/tests/jest/TileLink.test.tsx index ee11092cb..e374a0025 100644 --- a/packages/components/src/tile/tests/jest/TileLink.test.tsx +++ b/packages/components/src/tile/tests/jest/TileLink.test.tsx @@ -1,6 +1,6 @@ -import { Content } from "@components/placeholders"; -import { Heading } from "@components/typography"; -import { TileLink } from "@components/tile"; +import { Content } from "@components/placeholders/index.ts"; +import { Heading } from "@components/typography/index.ts"; +import { TileLink } from "@components/tile/index.ts"; import { createRef } from "react"; import { renderWithTheme, waitFor } from "@test-utils"; diff --git a/packages/components/src/toolbar/docs/Toolbar.mdx b/packages/components/src/toolbar/docs/Toolbar.mdx index 7d64731b1..cf4697258 100644 --- a/packages/components/src/toolbar/docs/Toolbar.mdx +++ b/packages/components/src/toolbar/docs/Toolbar.mdx @@ -1,6 +1,6 @@ import { ArgTypes, Meta, Canvas } from "@storybook/addon-docs"; import { ComponentInfo, Tagline } from "@stories/components"; -import { InnerToolbar } from "@components/toolbar"; +import { InnerToolbar } from "@components/toolbar/index.ts"; import * as ToolbarStories from "./Toolbar.stories.tsx"; diff --git a/packages/components/src/toolbar/docs/Toolbar.stories.tsx b/packages/components/src/toolbar/docs/Toolbar.stories.tsx index 6e6dce520..85bc6e4f3 100644 --- a/packages/components/src/toolbar/docs/Toolbar.stories.tsx +++ b/packages/components/src/toolbar/docs/Toolbar.stories.tsx @@ -1,10 +1,10 @@ -import { CheckboxGroup } from "@components/checkbox"; -import { Div, HtmlInput } from "@components/html"; -import { Toolbar, useToolbarProps } from "@components/toolbar"; -import { Radio, RadioGroup } from "@components/radio"; -import { TextInput } from "@components/text-input"; -import { ToggleButton } from "@components/button"; -import { omitProps } from "@components/shared"; +import { CheckboxGroup } from "@components/checkbox/index.ts"; +import { Div, HtmlInput } from "@components/html/index.ts"; +import { Toolbar, useToolbarProps } from "@components/toolbar/index.ts"; +import { Radio, RadioGroup } from "@components/radio/index.ts"; +import { TextInput } from "@components/text-input/index.ts"; +import { ToggleButton } from "@components/button/index.ts"; +import { omitProps } from "@components/shared/index.ts"; import { Meta, StoryObj } from "@storybook/react"; diff --git a/packages/components/src/toolbar/src/Toolbar.tsx b/packages/components/src/toolbar/src/Toolbar.tsx index 376ef1ed6..b6fd46276 100644 --- a/packages/components/src/toolbar/src/Toolbar.tsx +++ b/packages/components/src/toolbar/src/Toolbar.tsx @@ -1,5 +1,5 @@ import { ComponentProps, ReactNode, forwardRef } from "react"; -import { Flex, FlexAlignmentProp, FlexOrientationProp, useFlexAlignment } from "../../layout"; +import { Flex, FlexAlignmentProp, FlexOrientationProp, useFlexAlignment } from "../../layout/index.ts" import { InternalProps, Keys, @@ -14,8 +14,8 @@ import { useMergedRefs, useRovingFocus, slot -} from "../../shared"; -import { ResponsiveProp, useResponsiveValue } from "../../styling"; +} from "../../shared/index.ts" +import { ResponsiveProp, useResponsiveValue } from "../../styling/index.ts" import { ToolbarContext } from "./ToolbarContext"; const DefaultElement = "div"; diff --git a/packages/components/src/toolbar/src/ToolbarContext.tsx b/packages/components/src/toolbar/src/ToolbarContext.tsx index 88d32cc3c..10c7bbb53 100644 --- a/packages/components/src/toolbar/src/ToolbarContext.tsx +++ b/packages/components/src/toolbar/src/ToolbarContext.tsx @@ -1,6 +1,6 @@ -import { FlexOrientation } from "../../layout"; +import { FlexOrientation } from "../../layout/index.ts" import { ReactNode, createContext, useContext } from "react"; -import { isNil } from "../../shared"; +import { isNil } from "../../shared/index.ts" export interface ToolbarContextType { disabled?: boolean; diff --git a/packages/components/src/toolbar/tests/chromatic/Toolbar-hopper.stories.tsx b/packages/components/src/toolbar/tests/chromatic/Toolbar-hopper.stories.tsx index 8f57a63b8..a386ae075 100644 --- a/packages/components/src/toolbar/tests/chromatic/Toolbar-hopper.stories.tsx +++ b/packages/components/src/toolbar/tests/chromatic/Toolbar-hopper.stories.tsx @@ -1,15 +1,15 @@ -import { Field, Label } from "@components/field"; -import { Inline, Stack } from "@components/layout"; -import { Radio, RadioGroup } from "@components/radio"; -import { ToggleButton, ToggleIconButton } from "@components/button"; +import { Field, Label } from "@components/field/index.ts"; +import { Inline, Stack } from "@components/layout/index.ts"; +import { Radio, RadioGroup } from "@components/radio/index.ts"; +import { ToggleButton, ToggleIconButton } from "@components/button/index.ts"; -import { CheckboxGroup } from "@components/checkbox"; -import { Div } from "@components/html"; -import { InputGroup } from "@components/input-group"; +import { CheckboxGroup } from "@components/checkbox/index.ts"; +import { Div } from "@components/html/index.ts"; +import { InputGroup } from "@components/input-group/index.ts"; import { NotificationIcon } from "@hopper-ui/icons"; -import { Text } from "@components/typography"; -import { TextInput } from "@components/text-input"; -import { Toolbar } from "@components/toolbar"; +import { Text } from "@components/typography/index.ts"; +import { TextInput } from "@components/text-input/index.ts"; +import { Toolbar } from "@components/toolbar/index.ts"; import { Meta, StoryObj } from "@storybook/react"; const meta = { diff --git a/packages/components/src/toolbar/tests/chromatic/Toolbar.stories.tsx b/packages/components/src/toolbar/tests/chromatic/Toolbar.stories.tsx index 2a33adfcd..45b8436c7 100644 --- a/packages/components/src/toolbar/tests/chromatic/Toolbar.stories.tsx +++ b/packages/components/src/toolbar/tests/chromatic/Toolbar.stories.tsx @@ -1,15 +1,15 @@ -import { Field, Label } from "@components/field"; -import { Inline, Stack } from "@components/layout"; -import { Radio, RadioGroup } from "@components/radio"; -import { ToggleButton, ToggleIconButton } from "@components/button"; +import { Field, Label } from "@components/field/index.ts"; +import { Inline, Stack } from "@components/layout/index.ts"; +import { Radio, RadioGroup } from "@components/radio/index.ts"; +import { ToggleButton, ToggleIconButton } from "@components/button/index.ts"; -import { CheckboxGroup } from "@components/checkbox"; -import { Div } from "@components/html"; -import { InputGroup } from "@components/input-group"; +import { CheckboxGroup } from "@components/checkbox/index.ts"; +import { Div } from "@components/html/index.ts"; +import { InputGroup } from "@components/input-group/index.ts"; import { NotificationIcon } from "@hopper-ui/icons"; -import { Text } from "@components/typography"; -import { TextInput } from "@components/text-input"; -import { Toolbar } from "@components/toolbar"; +import { Text } from "@components/typography/index.ts"; +import { TextInput } from "@components/text-input/index.ts"; +import { Toolbar } from "@components/toolbar/index.ts"; import { Meta, StoryObj } from "@storybook/react"; const meta = { diff --git a/packages/components/src/toolbar/tests/chromatic/ToolbarVertical-hopper.stories.tsx b/packages/components/src/toolbar/tests/chromatic/ToolbarVertical-hopper.stories.tsx index 26e745e0b..566b65b7b 100644 --- a/packages/components/src/toolbar/tests/chromatic/ToolbarVertical-hopper.stories.tsx +++ b/packages/components/src/toolbar/tests/chromatic/ToolbarVertical-hopper.stories.tsx @@ -1,9 +1,9 @@ -import { Inline } from "@components/layout"; -import { RadioGroup } from "@components/radio"; -import { ToggleButton } from "@components/button"; -import { CheckboxGroup } from "@components/checkbox"; -import { TextInput } from "@components/text-input"; -import { Toolbar } from "@components/toolbar"; +import { Inline } from "@components/layout/index.ts"; +import { RadioGroup } from "@components/radio/index.ts"; +import { ToggleButton } from "@components/button/index.ts"; +import { CheckboxGroup } from "@components/checkbox/index.ts"; +import { TextInput } from "@components/text-input/index.ts"; +import { Toolbar } from "@components/toolbar/index.ts"; import { Meta, StoryObj } from "@storybook/react"; const meta = { diff --git a/packages/components/src/toolbar/tests/chromatic/ToolbarVertical.stories.tsx b/packages/components/src/toolbar/tests/chromatic/ToolbarVertical.stories.tsx index bc55350d6..586afc46e 100644 --- a/packages/components/src/toolbar/tests/chromatic/ToolbarVertical.stories.tsx +++ b/packages/components/src/toolbar/tests/chromatic/ToolbarVertical.stories.tsx @@ -1,9 +1,9 @@ -import { Inline } from "@components/layout"; -import { RadioGroup } from "@components/radio"; -import { ToggleButton } from "@components/button"; -import { CheckboxGroup } from "@components/checkbox"; -import { TextInput } from "@components/text-input"; -import { Toolbar } from "@components/toolbar"; +import { Inline } from "@components/layout/index.ts"; +import { RadioGroup } from "@components/radio/index.ts"; +import { ToggleButton } from "@components/button/index.ts"; +import { CheckboxGroup } from "@components/checkbox/index.ts"; +import { TextInput } from "@components/text-input/index.ts"; +import { Toolbar } from "@components/toolbar/index.ts"; import { Meta, StoryObj } from "@storybook/react"; const meta = { diff --git a/packages/components/src/toolbar/tests/jest/Toolbar.ssr.test.tsx b/packages/components/src/toolbar/tests/jest/Toolbar.ssr.test.tsx index 33bce34d9..6786eaf57 100644 --- a/packages/components/src/toolbar/tests/jest/Toolbar.ssr.test.tsx +++ b/packages/components/src/toolbar/tests/jest/Toolbar.ssr.test.tsx @@ -1,8 +1,8 @@ /** * @jest-environment node */ -import { Button } from "@components/button"; -import { Toolbar } from "@components/toolbar"; +import { Button } from "@components/button/index.ts"; +import { Toolbar } from "@components/toolbar/index.ts"; import { renderToString } from "react-dom/server"; import { throwOnConsoleLogs } from "@test-utils"; diff --git a/packages/components/src/toolbar/tests/jest/Toolbar.test.tsx b/packages/components/src/toolbar/tests/jest/Toolbar.test.tsx index 73d1829d8..93318d4c1 100644 --- a/packages/components/src/toolbar/tests/jest/Toolbar.test.tsx +++ b/packages/components/src/toolbar/tests/jest/Toolbar.test.tsx @@ -1,6 +1,6 @@ -import { Button } from "@components/button"; -import { Div } from "@components/html"; -import { Toolbar } from "@components/toolbar"; +import { Button } from "@components/button/index.ts"; +import { Div } from "@components/html/index.ts"; +import { Toolbar } from "@components/toolbar/index.ts"; import { createRef } from "react"; import { renderWithTheme, screen, waitFor } from "@test-utils"; diff --git a/packages/components/src/tooltip/docs/Tooltip.mdx b/packages/components/src/tooltip/docs/Tooltip.mdx index c3cbb6140..c072feec2 100644 --- a/packages/components/src/tooltip/docs/Tooltip.mdx +++ b/packages/components/src/tooltip/docs/Tooltip.mdx @@ -1,6 +1,6 @@ import { ArgTypes, Meta, Canvas } from "@storybook/addon-docs"; import { ComponentInfo, Tagline } from "@stories/components"; -import { InnerTooltip, InnerTooltipTrigger } from "@components/tooltip"; +import { InnerTooltip, InnerTooltipTrigger } from "@components/tooltip/index.ts"; import * as TooltipStories from "./Tooltip.stories.tsx"; diff --git a/packages/components/src/tooltip/docs/Tooltip.stories.tsx b/packages/components/src/tooltip/docs/Tooltip.stories.tsx index 38dbf469d..2276b7efa 100644 --- a/packages/components/src/tooltip/docs/Tooltip.stories.tsx +++ b/packages/components/src/tooltip/docs/Tooltip.stories.tsx @@ -1,7 +1,7 @@ -import { Button, IconButton } from "@components/button"; +import { Button, IconButton } from "@components/button/index.ts"; import { CalendarIcon, SparklesIcon } from "@hopper-ui/icons"; -import { Inline } from "@components/layout"; -import { Tooltip, TooltipTrigger, useTooltipTriggerContext } from "@components/tooltip"; +import { Inline } from "@components/layout/index.ts"; +import { Tooltip, TooltipTrigger, useTooltipTriggerContext } from "@components/tooltip/index.ts"; import { forwardRef, useCallback, useState } from "react"; import { Meta, StoryObj } from "@storybook/react"; diff --git a/packages/components/src/tooltip/src/Tooltip.tsx b/packages/components/src/tooltip/src/Tooltip.tsx index 13cf0af05..89d6fbb79 100644 --- a/packages/components/src/tooltip/src/Tooltip.tsx +++ b/packages/components/src/tooltip/src/Tooltip.tsx @@ -1,7 +1,7 @@ import { ComponentProps, ReactNode, forwardRef } from "react"; -import { InternalProps, OmitInternalProps, StyledComponentProps, mergeProps } from "../../shared"; +import { InternalProps, OmitInternalProps, StyledComponentProps, mergeProps } from "../../shared/index.ts" -import { Text } from "../../typography"; +import { Text } from "../../typography/index.ts" const DefaultElement = "div"; diff --git a/packages/components/src/tooltip/src/TooltipTrigger.tsx b/packages/components/src/tooltip/src/TooltipTrigger.tsx index af6235bdd..1c3b56af7 100644 --- a/packages/components/src/tooltip/src/TooltipTrigger.tsx +++ b/packages/components/src/tooltip/src/TooltipTrigger.tsx @@ -12,11 +12,11 @@ import { useId, useMergedRefs, useFocusScope -} from "../../shared"; -import { Overlay, OverlayArrow, OverlayPositionProp, isTargetParent, useOverlayPosition, useOverlayTrigger, useOverlayLightDismiss } from "../../overlay"; -import { useResponsiveValue } from "../../styling"; +} from "../../shared/index.ts" +import { Overlay, OverlayArrow, OverlayPositionProp, isTargetParent, useOverlayPosition, useOverlayTrigger, useOverlayLightDismiss } from "../../overlay/index.ts" +import { useResponsiveValue } from "../../styling/index.ts" -import { Div } from "../../html"; +import { Div } from "../../html/index.ts" import { TooltipTriggerContext } from "./TooltipTriggerContext"; const DefaultElement = "div"; diff --git a/packages/components/src/tooltip/tests/chromatic/Tooltip-hopper.stories.tsx b/packages/components/src/tooltip/tests/chromatic/Tooltip-hopper.stories.tsx index b42ac955c..e8a07c40a 100644 --- a/packages/components/src/tooltip/tests/chromatic/Tooltip-hopper.stories.tsx +++ b/packages/components/src/tooltip/tests/chromatic/Tooltip-hopper.stories.tsx @@ -1,9 +1,9 @@ -import { IconButton, Button } from "@components/button"; +import { IconButton, Button } from "@components/button/index.ts"; import { MailIcon } from "@hopper-ui/icons"; -import { Image } from "@components/image"; +import { Image } from "@components/image/index.ts"; import { Launch } from "./assets"; -import { TextLink } from "@components/link"; -import { Tooltip, TooltipTrigger } from "@components/tooltip"; +import { TextLink } from "@components/link/index.ts"; +import { Tooltip, TooltipTrigger } from "@components/tooltip/index.ts"; import { Meta, StoryObj } from "@storybook/react"; const meta = { diff --git a/packages/components/src/tooltip/tests/chromatic/Tooltip.stories.tsx b/packages/components/src/tooltip/tests/chromatic/Tooltip.stories.tsx index 12937eabe..57524db0a 100644 --- a/packages/components/src/tooltip/tests/chromatic/Tooltip.stories.tsx +++ b/packages/components/src/tooltip/tests/chromatic/Tooltip.stories.tsx @@ -1,9 +1,9 @@ -import { IconButton, Button } from "@components/button"; +import { IconButton, Button } from "@components/button/index.ts"; import { MailIcon } from "@hopper-ui/icons"; -import { Image } from "@components/image"; +import { Image } from "@components/image/index.ts"; import { Launch } from "./assets"; -import { TextLink } from "@components/link"; -import { Tooltip, TooltipTrigger } from "@components/tooltip"; +import { TextLink } from "@components/link/index.ts"; +import { Tooltip, TooltipTrigger } from "@components/tooltip/index.ts"; import { Meta, StoryObj } from "@storybook/react"; const meta = { diff --git a/packages/components/src/tooltip/tests/jest/Tooltip.test.tsx b/packages/components/src/tooltip/tests/jest/Tooltip.test.tsx index c6c5f5a74..3cc9d6088 100644 --- a/packages/components/src/tooltip/tests/jest/Tooltip.test.tsx +++ b/packages/components/src/tooltip/tests/jest/Tooltip.test.tsx @@ -1,4 +1,4 @@ -import { Tooltip } from "@components/tooltip"; +import { Tooltip } from "@components/tooltip/index.ts"; import { createRef } from "react"; import { renderWithTheme, screen, waitFor } from "@test-utils"; diff --git a/packages/components/src/tooltip/tests/jest/TooltipTrigger.ssr.test.tsx b/packages/components/src/tooltip/tests/jest/TooltipTrigger.ssr.test.tsx index b55ec0308..94b7d45fc 100644 --- a/packages/components/src/tooltip/tests/jest/TooltipTrigger.ssr.test.tsx +++ b/packages/components/src/tooltip/tests/jest/TooltipTrigger.ssr.test.tsx @@ -1,8 +1,8 @@ /** * @jest-environment node */ -import { Button } from "@components/button"; -import { Tooltip, TooltipTrigger } from "@components/tooltip"; +import { Button } from "@components/button/index.ts"; +import { Tooltip, TooltipTrigger } from "@components/tooltip/index.ts"; import { renderToString } from "react-dom/server"; import { throwOnConsoleLogs } from "@test-utils"; diff --git a/packages/components/src/tooltip/tests/jest/TooltipTrigger.test.tsx b/packages/components/src/tooltip/tests/jest/TooltipTrigger.test.tsx index ce212d9e5..f10c2c688 100644 --- a/packages/components/src/tooltip/tests/jest/TooltipTrigger.test.tsx +++ b/packages/components/src/tooltip/tests/jest/TooltipTrigger.test.tsx @@ -1,6 +1,6 @@ -import { Button } from "@components/button"; -import { Tooltip, TooltipTrigger } from "@components/tooltip"; -import { Transition } from "@components/transition"; +import { Button } from "@components/button/index.ts"; +import { Tooltip, TooltipTrigger } from "@components/tooltip/index.ts"; +import { Transition } from "@components/transition/index.ts"; import { fireEvent, screen, waitFor, renderWithTheme } from "@test-utils"; import { createRef } from "react"; import userEvent from "@testing-library/user-event"; diff --git a/packages/components/src/transition/docs/Transition.mdx b/packages/components/src/transition/docs/Transition.mdx index 1bdbce808..5861e26af 100644 --- a/packages/components/src/transition/docs/Transition.mdx +++ b/packages/components/src/transition/docs/Transition.mdx @@ -1,6 +1,6 @@ import { ArgTypes, Meta, Canvas } from "@storybook/addon-docs"; import { ComponentInfo, Tagline } from "@stories/components"; -import { InnerTransition } from "@components/transition"; +import { InnerTransition } from "@components/transition/index.ts"; import * as TransitionStories from "./Transition.stories.tsx"; diff --git a/packages/components/src/transition/docs/Transition.stories.tsx b/packages/components/src/transition/docs/Transition.stories.tsx index 38d4d021f..8dccde942 100644 --- a/packages/components/src/transition/docs/Transition.stories.tsx +++ b/packages/components/src/transition/docs/Transition.stories.tsx @@ -1,7 +1,7 @@ -import { Transition } from "@components/transition"; -import { Button } from "@components/button"; -import { Text } from "@components/typography"; -import { Div } from "@components/html"; +import { Transition } from "@components/transition/index.ts"; +import { Button } from "@components/button/index.ts"; +import { Text } from "@components/typography/index.ts"; +import { Div } from "@components/html/index.ts"; import { useCallback, useState } from "react"; import { Meta, StoryObj } from "@storybook/react"; diff --git a/packages/components/src/transition/src/Transition.tsx b/packages/components/src/transition/src/Transition.tsx index 06a3073a7..1f07df7cd 100644 --- a/packages/components/src/transition/src/Transition.tsx +++ b/packages/components/src/transition/src/Transition.tsx @@ -1,7 +1,7 @@ import { ComponentProps, ReactNode, forwardRef, useEffect, useMemo, useState } from "react"; -import { InternalProps, OmitInternalProps, StyledComponentProps, isNilOrEmpty, mergeProps, useCommittedRef, useEventCallback, useIsInitialRender } from "../../shared"; +import { InternalProps, OmitInternalProps, StyledComponentProps, isNilOrEmpty, mergeProps, useCommittedRef, useEventCallback, useIsInitialRender } from "../../shared/index.ts" -import { Box } from "../../box"; +import { Box } from "../../box/index.ts" const DefaultElement = "div"; diff --git a/packages/components/src/transition/tests/jest/Transition.ssr.test.tsx b/packages/components/src/transition/tests/jest/Transition.ssr.test.tsx index 9419953f3..1b1ef93de 100644 --- a/packages/components/src/transition/tests/jest/Transition.ssr.test.tsx +++ b/packages/components/src/transition/tests/jest/Transition.ssr.test.tsx @@ -1,7 +1,7 @@ /** * @jest-environment node */ -import { Transition } from "@components/transition"; +import { Transition } from "@components/transition/index.ts"; import { renderToString } from "react-dom/server"; import { throwOnConsoleLogs } from "@test-utils"; diff --git a/packages/components/src/transition/tests/jest/Transition.test.tsx b/packages/components/src/transition/tests/jest/Transition.test.tsx index d83d88c14..4eeeb831e 100644 --- a/packages/components/src/transition/tests/jest/Transition.test.tsx +++ b/packages/components/src/transition/tests/jest/Transition.test.tsx @@ -1,4 +1,4 @@ -import { Transition } from "@components/transition"; +import { Transition } from "@components/transition/index.ts"; import { createRef } from "react"; import { renderWithTheme, screen, waitFor } from "@test-utils"; diff --git a/packages/components/src/typography/docs/Heading.mdx b/packages/components/src/typography/docs/Heading.mdx index 46a1b6f9e..894bbcd3e 100644 --- a/packages/components/src/typography/docs/Heading.mdx +++ b/packages/components/src/typography/docs/Heading.mdx @@ -1,6 +1,6 @@ import { ArgTypes, Meta, Canvas } from "@storybook/addon-docs"; import { ComponentInfo, Tagline } from "@stories/components"; -import { InnerHeading } from "@components/typography"; +import { InnerHeading } from "@components/typography/index.ts"; import * as HeadingStories from "./Heading.stories.tsx"; diff --git a/packages/components/src/typography/docs/Heading.stories.tsx b/packages/components/src/typography/docs/Heading.stories.tsx index cbebdb6d4..50a07b44a 100644 --- a/packages/components/src/typography/docs/Heading.stories.tsx +++ b/packages/components/src/typography/docs/Heading.stories.tsx @@ -1,4 +1,4 @@ -import { H1, H2, H3, H4, H5, H6, Heading } from "@components/typography"; +import { H1, H2, H3, H4, H5, H6, Heading } from "@components/typography/index.ts"; import { Meta, StoryObj } from "@storybook/react"; diff --git a/packages/components/src/typography/docs/Paragraph.mdx b/packages/components/src/typography/docs/Paragraph.mdx index f5f69c293..51fb67d5b 100644 --- a/packages/components/src/typography/docs/Paragraph.mdx +++ b/packages/components/src/typography/docs/Paragraph.mdx @@ -1,6 +1,6 @@ import { ArgTypes, Meta, Canvas } from "@storybook/addon-docs"; import { ComponentInfo, Tagline } from "@stories/components"; -import { InnerParagraph } from "@components/typography"; +import { InnerParagraph } from "@components/typography/index.ts"; import * as ParagraphStories from "./Paragraph.stories.tsx"; diff --git a/packages/components/src/typography/docs/Paragraph.stories.tsx b/packages/components/src/typography/docs/Paragraph.stories.tsx index b61d094f7..a0e8d4f90 100644 --- a/packages/components/src/typography/docs/Paragraph.stories.tsx +++ b/packages/components/src/typography/docs/Paragraph.stories.tsx @@ -1,4 +1,4 @@ -import { Paragraph } from "@components/typography"; +import { Paragraph } from "@components/typography/index.ts"; import { Meta, StoryObj } from "@storybook/react"; diff --git a/packages/components/src/typography/docs/Text.mdx b/packages/components/src/typography/docs/Text.mdx index 5daa125e6..61d0686b9 100644 --- a/packages/components/src/typography/docs/Text.mdx +++ b/packages/components/src/typography/docs/Text.mdx @@ -1,6 +1,6 @@ import { ArgTypes, Meta, Canvas } from "@storybook/addon-docs"; import { ComponentInfo, Tagline } from "@stories/components"; -import { InnerText } from "@components/typography"; +import { InnerText } from "@components/typography/index.ts"; import * as TextStories from "./Text.stories.tsx"; diff --git a/packages/components/src/typography/docs/Text.stories.tsx b/packages/components/src/typography/docs/Text.stories.tsx index ef9692789..b8faf515b 100644 --- a/packages/components/src/typography/docs/Text.stories.tsx +++ b/packages/components/src/typography/docs/Text.stories.tsx @@ -1,5 +1,5 @@ -import { Stack } from "@components/layout"; -import { Text } from "@components/typography"; +import { Stack } from "@components/layout/index.ts"; +import { Text } from "@components/typography/index.ts"; import { Meta, StoryObj } from "@storybook/react"; diff --git a/packages/components/src/typography/src/Heading.tsx b/packages/components/src/typography/src/Heading.tsx index 85cafcd1b..4f60a6b1e 100644 --- a/packages/components/src/typography/src/Heading.tsx +++ b/packages/components/src/typography/src/Heading.tsx @@ -1,7 +1,7 @@ -import { Box } from "../../box"; +import { Box } from "../../box/index.ts" import { ComponentProps, ElementType, ReactNode, forwardRef } from "react"; -import { InternalProps, OmitInternalProps, SlotProps, StyledComponentProps, cssModule, mergeProps, normalizeSize, slot } from "../../shared"; -import { ResponsiveProp, useResponsiveValue, useStyleProps } from "../../styling"; +import { InternalProps, OmitInternalProps, SlotProps, StyledComponentProps, cssModule, mergeProps, normalizeSize, slot } from "../../shared/index.ts" +import { ResponsiveProp, useResponsiveValue, useStyleProps } from "../../styling/index.ts" export type AbstractHeadingProps<T extends ElementType> = SlotProps & InternalProps & StyledComponentProps<T> & { /** diff --git a/packages/components/src/typography/src/Paragraph.tsx b/packages/components/src/typography/src/Paragraph.tsx index 36f9cea1a..03acb6832 100644 --- a/packages/components/src/typography/src/Paragraph.tsx +++ b/packages/components/src/typography/src/Paragraph.tsx @@ -1,7 +1,7 @@ import { ComponentProps, ReactNode, forwardRef } from "react"; -import { InternalProps, OmitInternalProps, StyledComponentProps, cssModule, mergeProps, normalizeSize } from "../../shared"; -import { ResponsiveProp, StyleProvider, useResponsiveValue, useStyleProps } from "../../styling"; -import { Text } from "../../typography"; +import { InternalProps, OmitInternalProps, StyledComponentProps, cssModule, mergeProps, normalizeSize } from "../../shared/index.ts" +import { ResponsiveProp, StyleProvider, useResponsiveValue, useStyleProps } from "../../styling/index.ts" +import { Text } from "../../typography/index.ts" const DefaultElement = "p"; diff --git a/packages/components/src/typography/src/Text.tsx b/packages/components/src/typography/src/Text.tsx index 06d22bbd0..b1ccc336b 100644 --- a/packages/components/src/typography/src/Text.tsx +++ b/packages/components/src/typography/src/Text.tsx @@ -1,7 +1,7 @@ -import { Box } from "../../box"; +import { Box } from "../../box/index.ts" import { ComponentProps, forwardRef } from "react"; -import { InternalProps, OmitInternalProps, SlotProps, StyledComponentProps, cssModule, mergeProps, normalizeSize, slot } from "../../shared"; -import { ResponsiveProp, useResponsiveValue, useStyleProps } from "../../styling"; +import { InternalProps, OmitInternalProps, SlotProps, StyledComponentProps, cssModule, mergeProps, normalizeSize, slot } from "../../shared/index.ts" +import { ResponsiveProp, useResponsiveValue, useStyleProps } from "../../styling/index.ts" const DefaultElement = "span"; diff --git a/packages/components/src/typography/tests/chromatic/Heading.stories.tsx b/packages/components/src/typography/tests/chromatic/Heading.stories.tsx index 00581d1b9..ddff72c0e 100644 --- a/packages/components/src/typography/tests/chromatic/Heading.stories.tsx +++ b/packages/components/src/typography/tests/chromatic/Heading.stories.tsx @@ -1,4 +1,4 @@ -import { H1, H2, H3, H4, H5, H6, Heading } from "@components/typography"; +import { H1, H2, H3, H4, H5, H6, Heading } from "@components/typography/index.ts"; import { Meta, StoryObj } from "@storybook/react"; const meta = { diff --git a/packages/components/src/typography/tests/chromatic/Paragraph.stories.tsx b/packages/components/src/typography/tests/chromatic/Paragraph.stories.tsx index 04f50358b..20d96f65c 100644 --- a/packages/components/src/typography/tests/chromatic/Paragraph.stories.tsx +++ b/packages/components/src/typography/tests/chromatic/Paragraph.stories.tsx @@ -1,5 +1,5 @@ -import { Paragraph } from "@components/typography"; -import { TextLink } from "@components/link"; +import { Paragraph } from "@components/typography/index.ts"; +import { TextLink } from "@components/link/index.ts"; import { Meta, StoryObj } from "@storybook/react"; const meta = { diff --git a/packages/components/src/typography/tests/chromatic/Text.stories.tsx b/packages/components/src/typography/tests/chromatic/Text.stories.tsx index 96839aee8..4b9d72351 100644 --- a/packages/components/src/typography/tests/chromatic/Text.stories.tsx +++ b/packages/components/src/typography/tests/chromatic/Text.stories.tsx @@ -1,6 +1,6 @@ -import { Div } from "@components/html"; -import { Stack } from "@components/layout"; -import { Text } from "@components/typography"; +import { Div } from "@components/html/index.ts"; +import { Stack } from "@components/layout/index.ts"; +import { Text } from "@components/typography/index.ts"; import { Meta, StoryObj } from "@storybook/react"; const meta = { diff --git a/packages/components/src/typography/tests/jest/Heading.ssr.test.tsx b/packages/components/src/typography/tests/jest/Heading.ssr.test.tsx index 05cb1dcea..bec739532 100644 --- a/packages/components/src/typography/tests/jest/Heading.ssr.test.tsx +++ b/packages/components/src/typography/tests/jest/Heading.ssr.test.tsx @@ -1,7 +1,7 @@ /** * @jest-environment node */ -import { Heading } from "@components/typography"; +import { Heading } from "@components/typography/index.ts"; import { renderToString } from "react-dom/server"; import { throwOnConsoleLogs } from "@test-utils"; diff --git a/packages/components/src/typography/tests/jest/Heading.test.tsx b/packages/components/src/typography/tests/jest/Heading.test.tsx index 8a39f8c32..1a660fc37 100644 --- a/packages/components/src/typography/tests/jest/Heading.test.tsx +++ b/packages/components/src/typography/tests/jest/Heading.test.tsx @@ -1,4 +1,4 @@ -import { H1, Heading } from "@components/typography"; +import { H1, Heading } from "@components/typography/index.ts"; import { createRef } from "react"; import { renderWithTheme, waitFor } from "@test-utils"; diff --git a/packages/components/src/typography/tests/jest/Paragraph.ssr.test.tsx b/packages/components/src/typography/tests/jest/Paragraph.ssr.test.tsx index b69d1370a..0dc3af3cf 100644 --- a/packages/components/src/typography/tests/jest/Paragraph.ssr.test.tsx +++ b/packages/components/src/typography/tests/jest/Paragraph.ssr.test.tsx @@ -1,7 +1,7 @@ /** * @jest-environment node */ -import { Paragraph } from "@components/typography"; +import { Paragraph } from "@components/typography/index.ts"; import { renderToString } from "react-dom/server"; import { throwOnConsoleLogs } from "@test-utils"; diff --git a/packages/components/src/typography/tests/jest/Paragraph.test.tsx b/packages/components/src/typography/tests/jest/Paragraph.test.tsx index 233de972f..3df0a31f8 100644 --- a/packages/components/src/typography/tests/jest/Paragraph.test.tsx +++ b/packages/components/src/typography/tests/jest/Paragraph.test.tsx @@ -1,4 +1,4 @@ -import { Paragraph } from "@components/typography"; +import { Paragraph } from "@components/typography/index.ts"; import { createRef } from "react"; import { renderWithTheme, waitFor } from "@test-utils"; diff --git a/packages/components/src/typography/tests/jest/Text.ssr.test.tsx b/packages/components/src/typography/tests/jest/Text.ssr.test.tsx index 8bf81a129..da01d8197 100644 --- a/packages/components/src/typography/tests/jest/Text.ssr.test.tsx +++ b/packages/components/src/typography/tests/jest/Text.ssr.test.tsx @@ -1,7 +1,7 @@ /** * @jest-environment node */ -import { Text } from "@components/typography"; +import { Text } from "@components/typography/index.ts"; import { renderToString } from "react-dom/server"; import { throwOnConsoleLogs } from "@test-utils"; diff --git a/packages/components/src/typography/tests/jest/Text.test.tsx b/packages/components/src/typography/tests/jest/Text.test.tsx index dde4e3461..03a8ddc14 100644 --- a/packages/components/src/typography/tests/jest/Text.test.tsx +++ b/packages/components/src/typography/tests/jest/Text.test.tsx @@ -1,4 +1,4 @@ -import { Text } from "@components/typography"; +import { Text } from "@components/typography/index.ts"; import { createRef } from "react"; import { renderWithTheme, waitFor } from "@test-utils"; diff --git a/packages/components/src/visually-hidden/src/VisuallyHidden.tsx b/packages/components/src/visually-hidden/src/VisuallyHidden.tsx index 80e2e26d7..eedb4737d 100644 --- a/packages/components/src/visually-hidden/src/VisuallyHidden.tsx +++ b/packages/components/src/visually-hidden/src/VisuallyHidden.tsx @@ -1,6 +1,6 @@ -import { Box } from "../../box"; +import { Box } from "../../box/index.ts" import { ComponentProps, ReactNode, forwardRef } from "react"; -import { InternalProps, OmitInternalProps, StyledHtmlAttributes, mergeProps } from "../../shared"; +import { InternalProps, OmitInternalProps, StyledHtmlAttributes, mergeProps } from "../../shared/index.ts" const DefaultElement = "div"; diff --git a/tooling/test-utils/renderWithTheme.tsx b/tooling/test-utils/renderWithTheme.tsx index ebd32cd35..ae20a1c17 100644 --- a/tooling/test-utils/renderWithTheme.tsx +++ b/tooling/test-utils/renderWithTheme.tsx @@ -1,4 +1,4 @@ -import { ThemeProvider, ColorScheme } from "@components/styling"; +import { ThemeProvider, ColorScheme } from "@components/styling/index.ts"; import { ReactElement, ReactNode } from "react"; import { RenderHookOptions, renderHook, render, RenderOptions } from "@testing-library/react"; From 1ce9bd5a2094e2d55a5b716f60024ff009e6b143 Mon Sep 17 00:00:00 2001 From: Alexandre Asselin <alexandre.asselin@gsoft.com> Date: Thu, 7 Nov 2024 10:29:55 -0500 Subject: [PATCH 80/95] fix a bunch of import paths --- .../components/snippet/useFormattedCode.ts | 10 +++---- docs/features/tokens/Tokens.mdx | 4 +-- docs/features/tokens/Tokens.tsx | 2 +- docs/getting-started/Installation.mdx | 2 +- .../src/accordion/src/AccordionItem.tsx | 14 +++++----- .../src/autocomplete/src/Autocomplete.tsx | 28 +++++++++---------- .../src/avatar/docs/Avatar.stories.tsx | 2 +- .../src/avatar/src/AnonymousAvatar.tsx | 8 +++--- .../components/src/avatar/src/AvatarGroup.tsx | 12 ++++---- .../src/avatar/src/DeletedAvatar.tsx | 8 +++--- .../avatar/tests/chromatic/Avatar.stories.tsx | 2 +- .../avatar/tests/typescript/Avatar.test.tsx | 2 +- .../src/badge/docs/Badge.stories.tsx | 4 +-- .../tests/chromatic/BadgeCount.stories.tsx | 2 +- .../tests/chromatic/BadgeDot.stories.tsx | 2 +- .../tests/chromatic/BadgeIcon.stories.tsx | 2 +- packages/components/src/button/src/Button.tsx | 18 ++++++------ .../components/src/button/src/CrossButton.tsx | 4 +-- .../components/src/button/src/IconButton.tsx | 14 +++++----- .../src/button/src/ToggleButton.tsx | 6 ++-- .../src/button/src/ToggleIconButton.tsx | 6 ++-- .../components/src/button/src/useButton.ts | 6 ++-- .../src/button/src/useToggleButton.ts | 4 +-- .../components/src/card/docs/Card.stories.tsx | 2 +- .../tests/chromatic/Card-hopper.stories.tsx | 2 +- .../src/card/tests/chromatic/Card.stories.tsx | 2 +- .../CardHorizontal-hopper.stories.tsx | 2 +- .../chromatic/CardHorizontal.stories.tsx | 2 +- .../chromatic/CardVertical-hopper.stories.tsx | 2 +- .../tests/chromatic/CardVertical.stories.tsx | 2 +- .../components/src/checkbox/src/Checkbox.tsx | 20 ++++++------- .../src/collection/src/getItemText.tsx | 4 +-- .../src/collection/src/reduceCollection.ts | 2 +- .../src/collection/src/useCollectionSearch.ts | 8 +++--- .../collection/src/useOnlyCollectionItems.ts | 2 +- .../collection/src/useScrollableCollection.ts | 4 +-- .../src/date-input/src/DateInput.tsx | 20 ++++++------- .../src/date-input/src/DateRangeInput.tsx | 28 +++++++++---------- .../src/date-input/src/useDateInput.ts | 6 ++-- packages/components/src/dialog/src/Dialog.tsx | 18 ++++++------ .../src/dialog/src/DialogTrigger.tsx | 6 ++-- .../tests/chromatic/Dialog-hopper.stories.tsx | 2 +- .../dialog/tests/chromatic/Dialog.stories.tsx | 2 +- .../src/disclosure/src/Disclosure.tsx | 8 +++--- .../src/disclosure/src/DisclosureArrow.tsx | 6 ++-- .../components/src/disclosure/src/match.ts | 2 +- .../disclosure/src/useSlidingTransition.ts | 4 +-- .../components/src/dot/docs/Dot.stories.tsx | 2 +- .../components/src/field/src/ErrorMessage.tsx | 6 ++-- packages/components/src/field/src/Field.tsx | 16 +++++------ .../components/src/field/src/GroupField.tsx | 16 +++++------ .../components/src/field/src/HelpMessage.tsx | 6 ++-- packages/components/src/field/src/Label.tsx | 6 ++-- .../components/src/field/src/ValidMessage.tsx | 6 ++-- packages/components/src/field/src/useField.ts | 6 ++-- .../components/src/field/src/useGroupField.ts | 6 ++-- packages/components/src/form/src/Form.tsx | 8 +++--- .../components/src/form/src/useFormButton.ts | 4 +-- .../components/src/form/src/useFormField.ts | 2 +- .../components/src/html/docs/img.stories.tsx | 2 +- packages/components/src/html/src/html.tsx | 4 +-- .../src/icons/docs/IndexFileUsage.mdx | 2 +- .../components/src/icons/docs/assets/index.ts | 4 +-- packages/components/src/icons/index.tsx | 2 +- .../src/icons/tests/jest/assets/index.ts | 4 +-- .../docs/IllustratedMessage.stories.tsx | 2 +- .../illustrated-message/docs/assets/index.tsx | 2 +- .../IllustratedMessage-hopper.stories.tsx | 2 +- .../chromatic/IllustratedMessage.stories.tsx | 2 +- .../docs/Illustration.stories.tsx | 2 +- .../tests/chromatic/Illustration.stories.tsx | 2 +- .../src/image/docs/Image.stories.tsx | 2 +- .../components/src/image/src/AsyncImage.tsx | 6 ++-- .../image/tests/chromatic/Image.stories.tsx | 2 +- .../tests/chromatic/SvgImage.stories.tsx | 2 +- .../src/image/tests/chromatic/assets/index.ts | 2 +- .../src/input-group/src/InputGroup.tsx | 14 +++++----- packages/components/src/input/src/useInput.ts | 4 +-- packages/components/src/layout/src/Inline.tsx | 6 ++-- packages/components/src/layout/src/Stack.tsx | 6 ++-- .../components/src/link/docs/Link.stories.tsx | 4 +-- packages/components/src/link/src/IconLink.tsx | 12 ++++---- packages/components/src/link/src/Link.tsx | 10 +++---- packages/components/src/link/src/TextLink.tsx | 16 +++++------ .../src/link/tests/chromatic/LaunchImage.tsx | 2 +- .../src/link/tests/chromatic/Link.stories.tsx | 2 +- .../link/tests/chromatic/LinkCard.stories.tsx | 2 +- .../tests/chromatic/LinkImage.stories.tsx | 4 +-- .../components/src/listbox/src/Listbox.tsx | 18 ++++++------ .../src/listbox/src/ListboxContext.ts | 4 +-- .../src/listbox/src/ListboxOption.tsx | 14 +++++----- packages/components/src/menu/src/Menu.tsx | 18 ++++++------ .../components/src/menu/src/MenuContext.ts | 2 +- packages/components/src/menu/src/MenuItem.tsx | 14 +++++----- .../components/src/menu/src/MenuTrigger.tsx | 10 +++---- .../src/modal/docs/Modal.stories.tsx | 2 +- .../tests/chromatic/Modal-hopper.stories.tsx | 2 +- .../modal/tests/chromatic/Modal.stories.tsx | 3 +- .../src/overlay/src/useOverlayLightDismiss.ts | 8 +++--- .../components/src/overlay/src/usePopup.ts | 15 +++++----- .../src/overlay/src/usePopupLightDismiss.ts | 9 +++--- .../src/overlay/src/useRestoreFocus.ts | 4 +-- .../src/popover/src/PopoverTrigger.tsx | 9 +++--- .../chromatic/Popover-hopper.stories.tsx | 2 +- .../tests/chromatic/Popover.stories.tsx | 2 +- packages/components/src/select/src/Select.tsx | 26 ++++++++--------- .../src/shared/src/CheckableContext.ts | 2 +- .../components/src/shared/src/arrayify.ts | 2 +- packages/components/src/shared/src/as.tsx | 4 +-- .../src/shared/src/augmentElement.tsx | 4 +-- packages/components/src/shared/src/dom.ts | 2 +- .../src/shared/src/focusableTreeWalker.ts | 2 +- packages/components/src/shared/src/keys.ts | 2 +- .../components/src/shared/src/mergeProps.ts | 10 +++---- .../src/shared/src/resolveChildren.ts | 2 +- packages/components/src/shared/src/slots.tsx | 6 ++-- .../components/src/shared/src/useAutoFocus.ts | 9 +++--- .../src/shared/src/useChainedEventCallback.ts | 2 +- .../src/shared/src/useControllableState.ts | 4 +-- .../src/shared/src/useEventCallback.ts | 4 +-- .../src/shared/src/useEventListener.ts | 2 +- .../src/shared/src/useFocusManager.ts | 8 ++---- .../src/shared/src/useFocusScope.ts | 7 ++--- .../src/shared/src/useFocusWithin.ts | 6 ++-- .../components/src/shared/src/useHasChild.ts | 4 +-- packages/components/src/shared/src/useId.ts | 2 +- .../src/shared/src/useIsInitialRender.ts | 2 +- .../shared/src/useIsomorphicLayoutEffect.tsx | 2 +- .../src/shared/src/useKeyboardNavigation.ts | 8 +++--- .../src/shared/src/useMergedRefs.ts | 2 +- .../components/src/shared/src/useRefState.ts | 2 +- .../src/shared/src/useResizeObserver.ts | 2 +- .../src/shared/src/useRovingFocus.ts | 6 ++-- .../src/styling/src/BreakpointProvider.tsx | 4 +-- .../src/styling/src/ColorSchemeContext.ts | 2 +- .../src/styled-system/StylingContext.ts | 4 +-- .../src/styled-system/props-handler.ts | 10 +++---- .../src/styled-system/theme-vars-utils.ts | 2 +- .../src/styled-system/useStyledSystem.ts | 8 +++--- .../src/styling/src/theming/ThemeProvider.tsx | 10 +++---- .../src/theming/useThemeComputedStyle.ts | 2 +- .../src/styling/src/useColorScheme.ts | 4 +-- .../src/styling/src/useColorSchemeValue.ts | 2 +- .../src/styling/src/useResponsiveValue.tsx | 4 +-- packages/components/src/tabs/src/Tab.tsx | 10 +++---- packages/components/src/tabs/src/TabList.tsx | 18 ++++++------ packages/components/src/tabs/src/TabPanel.tsx | 8 +++--- .../components/src/tabs/src/TabPanels.tsx | 8 +++--- packages/components/src/tabs/src/Tabs.tsx | 16 +++++------ .../src/tabs/src/useCollapsibleTabs.ts | 4 +-- packages/components/src/tag/src/TagList.tsx | 12 ++++---- .../src/text-input/src/PasswordInput.tsx | 10 +++---- .../components/src/tile/docs/Tile.stories.tsx | 2 +- packages/components/src/tile/src/Tile.tsx | 8 +++--- packages/components/src/tile/src/TileLink.tsx | 8 +++--- .../src/tile/tests/chromatic/Tile.stories.tsx | 2 +- .../chromatic/TileHorizontal.stories.tsx | 2 +- .../chromatic/TileLinkHorizontal.stories.tsx | 2 +- .../chromatic/TileLinkVertical.stories.tsx | 2 +- .../tests/chromatic/TileVertical.stories.tsx | 2 +- .../components/src/toolbar/src/Toolbar.tsx | 8 +++--- .../src/tooltip/src/TooltipTrigger.tsx | 10 +++---- .../chromatic/Tooltip-hopper.stories.tsx | 2 +- .../tests/chromatic/Tooltip.stories.tsx | 2 +- 164 files changed, 489 insertions(+), 497 deletions(-) diff --git a/.storybook/components/snippet/useFormattedCode.ts b/.storybook/components/snippet/useFormattedCode.ts index 4f85ed70a..932735bc7 100644 --- a/.storybook/components/snippet/useFormattedCode.ts +++ b/.storybook/components/snippet/useFormattedCode.ts @@ -13,16 +13,16 @@ const PrettierParser = { export function useFormattedCode(code: string, language: string) { - return useMemo(() => { - formatCode(code, language); + return useMemo(async () => { + await formatCode(code, language); }, [code, language]); } -export function formatCode(code: string, language: string) { +export async function formatCode(code: string, language: string) { const parser = PrettierParser[language]; if (!isNil(parser)) { - const prettyCode = prettier + const prettyCode = (await prettier .format(code, { parser: parser, plugins: [prettierBabel, prettierPostCss], @@ -30,7 +30,7 @@ export function formatCode(code: string, language: string) { arrowParens: "avoid", printWidth: 100, trailingComma: "none" - }) + })) .replace(">;", ">") .trim(); diff --git a/docs/features/tokens/Tokens.mdx b/docs/features/tokens/Tokens.mdx index d618a5557..02e65f643 100644 --- a/docs/features/tokens/Tokens.mdx +++ b/docs/features/tokens/Tokens.mdx @@ -14,8 +14,8 @@ import { SimplePadding, SimpleMargin, Sizing - } from "./Tokens"; -import { TokenTable } from "./TokenTable"; + } from "./Tokens.tsx"; +import { TokenTable } from "./TokenTable.tsx"; import * as TokensStories from "./Tokens.stories"; <Meta of={TokensStories} /> diff --git a/docs/features/tokens/Tokens.tsx b/docs/features/tokens/Tokens.tsx index 100d540ed..d8b8cfcda 100644 --- a/docs/features/tokens/Tokens.tsx +++ b/docs/features/tokens/Tokens.tsx @@ -12,7 +12,7 @@ import { paddingRenderer, marginRenderer, sizingRenderer -} from "./TokenTable"; +} from "./TokenTable.tsx"; import { BackgroundColorMapping, TextColorMapping, diff --git a/docs/getting-started/Installation.mdx b/docs/getting-started/Installation.mdx index c73d0f55c..56d61ae3f 100644 --- a/docs/getting-started/Installation.mdx +++ b/docs/getting-started/Installation.mdx @@ -69,7 +69,7 @@ Below is an example of how to configure an application: import { ThemeProvider } from "@workleap/orbiter-ui"; import { createRoot } from "react-dom/client"; -import App from "./App"; +import App from "./App.tsx"; const root = createRoot(document.getElementById("root")!); root.render( diff --git a/packages/components/src/accordion/src/AccordionItem.tsx b/packages/components/src/accordion/src/AccordionItem.tsx index 310ed7aab..31dee4768 100644 --- a/packages/components/src/accordion/src/AccordionItem.tsx +++ b/packages/components/src/accordion/src/AccordionItem.tsx @@ -1,11 +1,11 @@ -import { AccordionBuilderHeader, AccordionBuilderPanel } from "./useAccordionItems"; -import { AccordionHeader } from "./AccordionHeader"; -import { AccordionPanel } from "./AccordionPanel"; +import { AccordionBuilderHeader, AccordionBuilderPanel } from "./useAccordionItems.ts"; +import { AccordionHeader } from "./AccordionHeader.tsx"; +import { AccordionPanel } from "./AccordionPanel.tsx"; import { ComponentProps, ElementType, SyntheticEvent, forwardRef } from "react"; -import { Disclosure } from "../../disclosure/index.ts" -import { H1, H2, H3, H4, H5, H6 } from "../../typography/index.ts" -import { InternalProps, OmitInternalProps, StyledComponentProps, mergeProps, useEventCallback } from "../../shared/index.ts" -import { useAccordionContext } from "./AccordionContext"; +import { Disclosure } from "../../disclosure/index.ts"; +import { H1, H2, H3, H4, H5, H6 } from "../../typography/index.ts"; +import { InternalProps, OmitInternalProps, StyledComponentProps, mergeProps, useEventCallback } from "../../shared/index.ts"; +import { useAccordionContext } from "./AccordionContext.tsx"; const DefaultElement = "div"; diff --git a/packages/components/src/autocomplete/src/Autocomplete.tsx b/packages/components/src/autocomplete/src/Autocomplete.tsx index 96e23438e..59c4de6d6 100644 --- a/packages/components/src/autocomplete/src/Autocomplete.tsx +++ b/packages/components/src/autocomplete/src/Autocomplete.tsx @@ -1,4 +1,4 @@ -import { Box, BoxProps } from "../../box/index.ts" +import { Box, BoxProps } from "../../box/index.ts"; import { forwardRef, useCallback, useRef, useState, ChangeEvent, ComponentProps, FocusEvent, KeyboardEvent, ReactElement, ReactNode, SyntheticEvent } from "react"; import { Keys, @@ -13,19 +13,19 @@ import { useId, useMergedRefs, useRefState -} from "../../shared/index.ts" -import { Listbox, ListboxElement, OptionKeyProp } from "../../listbox/index.ts" -import { Overlay, OverlayProps, PopupPosition, PopupProps, isDevToolsBlurEvent, isTargetParent, usePopup, useTriggerWidth } from "../../overlay/index.ts" -import { ResponsiveProp, WidthProp } from "../../styling/index.ts" -import { UseFieldInputPropsReturn, useFieldInputProps } from "../../field/index.ts" -import { getItemText, useCollectionSearch, useOnlyCollectionItems } from "../../collection/index.ts" - -import { AbstractInputProps } from "../../input/index.ts" -import { HiddenAutocomplete } from "./HiddenAutocomplete"; -import { SearchInput } from "../../text-input/index.ts" -import { useDebouncedCallback } from "./useDebouncedCallback"; -import { useDeferredValue } from "./useDeferredValue"; -import { useInputGroupTextInputProps } from "../../input-group/index.ts" +} from "../../shared/index.ts"; +import { Listbox, ListboxElement, OptionKeyProp } from "../../listbox/index.ts"; +import { Overlay, OverlayProps, PopupPosition, PopupProps, isDevToolsBlurEvent, isTargetParent, usePopup, useTriggerWidth } from "../../overlay/index.ts"; +import { ResponsiveProp, WidthProp } from "../../styling/index.ts"; +import { UseFieldInputPropsReturn, useFieldInputProps } from "../../field/index.ts"; +import { getItemText, useCollectionSearch, useOnlyCollectionItems } from "../../collection/index.ts"; + +import { AbstractInputProps } from "../../input/index.ts"; +import { HiddenAutocomplete } from "./HiddenAutocomplete.tsx"; +import { SearchInput } from "../../text-input/index.ts"; +import { useDebouncedCallback } from "./useDebouncedCallback.ts"; +import { useDeferredValue } from "./useDeferredValue.ts"; +import { useInputGroupTextInputProps } from "../../input-group/index.ts"; const DefaultElement = "input"; diff --git a/packages/components/src/avatar/docs/Avatar.stories.tsx b/packages/components/src/avatar/docs/Avatar.stories.tsx index d8074be7d..a7af7c20e 100644 --- a/packages/components/src/avatar/docs/Avatar.stories.tsx +++ b/packages/components/src/avatar/docs/Avatar.stories.tsx @@ -1,6 +1,6 @@ import { Meta, StoryObj } from "@storybook/react"; import { Avatar, AvatarGroup, AnonymousAvatar, DeletedAvatar } from "@components/avatar/index.ts"; -import { ChrisHadfield } from "./assets"; +import { ChrisHadfield } from "./assets/index.ts"; import { Inline } from "@components/layout/index.ts"; const meta = { diff --git a/packages/components/src/avatar/src/AnonymousAvatar.tsx b/packages/components/src/avatar/src/AnonymousAvatar.tsx index 255d18954..e31220c35 100644 --- a/packages/components/src/avatar/src/AnonymousAvatar.tsx +++ b/packages/components/src/avatar/src/AnonymousAvatar.tsx @@ -1,4 +1,4 @@ -import { Box } from "../../box/index.ts" +import { Box } from "../../box/index.ts"; import { ComponentProps, forwardRef } from "react"; import { InternalProps, @@ -9,9 +9,9 @@ import { mergeProps, normalizeSize, slot -} from "../../shared/index.ts" -import { ResponsiveProp, useResponsiveValue } from "../../styling/index.ts" -import { AnonymousIcon } from "./svgs"; +} from "../../shared/index.ts"; +import { ResponsiveProp, useResponsiveValue } from "../../styling/index.ts"; +import { AnonymousIcon } from "./svgs.tsx"; const DefaultElement = "div"; diff --git a/packages/components/src/avatar/src/AvatarGroup.tsx b/packages/components/src/avatar/src/AvatarGroup.tsx index 846a9c258..64bd9639b 100644 --- a/packages/components/src/avatar/src/AvatarGroup.tsx +++ b/packages/components/src/avatar/src/AvatarGroup.tsx @@ -1,10 +1,10 @@ -import { AbstractGroupProps, Group } from "../../group/index.ts" -import { AvatarText } from "./Avatar"; -import { Box } from "../../box/index.ts" +import { AbstractGroupProps, Group } from "../../group/index.ts"; +import { AvatarText } from "./Avatar.tsx"; +import { Box } from "../../box/index.ts"; import { Children, ComponentProps, ReactElement, forwardRef } from "react"; -import { OmitInternalProps, augmentElement, cssModule, isNil, mergeClasses, mergeProps, normalizeSize } from "../../shared/index.ts" -import { ResponsiveProp, useResponsiveValue } from "../../styling/index.ts" -import { Tooltip, TooltipTrigger } from "../../tooltip/index.ts" +import { OmitInternalProps, augmentElement, cssModule, isNil, mergeClasses, mergeProps, normalizeSize } from "../../shared/index.ts"; +import { ResponsiveProp, useResponsiveValue } from "../../styling/index.ts"; +import { Tooltip, TooltipTrigger } from "../../tooltip/index.ts"; const DefaultElement = "div"; diff --git a/packages/components/src/avatar/src/DeletedAvatar.tsx b/packages/components/src/avatar/src/DeletedAvatar.tsx index 029369021..e8fec4335 100644 --- a/packages/components/src/avatar/src/DeletedAvatar.tsx +++ b/packages/components/src/avatar/src/DeletedAvatar.tsx @@ -1,4 +1,4 @@ -import { Box } from "../../box/index.ts" +import { Box } from "../../box/index.ts"; import { ComponentProps, forwardRef } from "react"; import { InternalProps, @@ -9,9 +9,9 @@ import { mergeProps, normalizeSize, slot -} from "../../shared/index.ts" -import { ResponsiveProp, useResponsiveValue } from "../../styling/index.ts" -import { DeletedIcon } from "./svgs"; +} from "../../shared/index.ts"; +import { ResponsiveProp, useResponsiveValue } from "../../styling/index.ts"; +import { DeletedIcon } from "./svgs.tsx"; const DefaultElement = "div"; diff --git a/packages/components/src/avatar/tests/chromatic/Avatar.stories.tsx b/packages/components/src/avatar/tests/chromatic/Avatar.stories.tsx index cfd9987af..e595647a6 100644 --- a/packages/components/src/avatar/tests/chromatic/Avatar.stories.tsx +++ b/packages/components/src/avatar/tests/chromatic/Avatar.stories.tsx @@ -2,7 +2,7 @@ import { Avatar } from "@components/avatar/index.ts"; import { Div } from "@components/html/index.ts"; import { Inline, Stack } from "@components/layout/index.ts"; import { Meta, StoryObj } from "@storybook/react"; -import { Astronaut, Person } from "./assets"; +import { Astronaut, Person } from "./assets/index.ts"; const meta = { title: "Chromatic/Avatar", diff --git a/packages/components/src/avatar/tests/typescript/Avatar.test.tsx b/packages/components/src/avatar/tests/typescript/Avatar.test.tsx index d10012c59..52c3f2b82 100644 --- a/packages/components/src/avatar/tests/typescript/Avatar.test.tsx +++ b/packages/components/src/avatar/tests/typescript/Avatar.test.tsx @@ -1,5 +1,5 @@ import { AvatarProps } from "@components/avatar/index.ts"; -import { LaunchImage } from "./assets"; +import { LaunchImage } from "./assets/index.ts"; import { expectAssignable } from "@test-utils"; expectAssignable<AvatarProps>({ name: "Elon Musk", src: "./launch.png" }); diff --git a/packages/components/src/badge/docs/Badge.stories.tsx b/packages/components/src/badge/docs/Badge.stories.tsx index d8e5b4d1f..5b636447e 100644 --- a/packages/components/src/badge/docs/Badge.stories.tsx +++ b/packages/components/src/badge/docs/Badge.stories.tsx @@ -1,8 +1,8 @@ import { Badge } from "@components/badge/index.ts"; -import { Circle } from "./Circle"; +import { Circle } from "./Circle.tsx"; import { SparklesIcon } from "@hopper-ui/icons"; import { Inline } from "@components/layout/index.ts"; -import { Square } from "./Square"; +import { Square } from "./Square.tsx"; import { Text } from "@components/typography/index.ts"; import { Meta, StoryObj } from "@storybook/react"; diff --git a/packages/components/src/badge/tests/chromatic/BadgeCount.stories.tsx b/packages/components/src/badge/tests/chromatic/BadgeCount.stories.tsx index 758b302fd..5cf9d8ed9 100644 --- a/packages/components/src/badge/tests/chromatic/BadgeCount.stories.tsx +++ b/packages/components/src/badge/tests/chromatic/BadgeCount.stories.tsx @@ -1,7 +1,7 @@ import { Badge } from "@components/badge/index.ts"; import { Div } from "@components/html/index.ts"; import { Inline } from "@components/layout/index.ts"; -import { CircleBadge, IconBadge, SquareBadge } from "./BadgeUtils"; +import { CircleBadge, IconBadge, SquareBadge } from "./BadgeUtils.tsx"; import { Text } from "@components/typography/index.ts"; import { Meta, StoryObj } from "@storybook/react"; diff --git a/packages/components/src/badge/tests/chromatic/BadgeDot.stories.tsx b/packages/components/src/badge/tests/chromatic/BadgeDot.stories.tsx index 029a4b40e..f29cbbc52 100644 --- a/packages/components/src/badge/tests/chromatic/BadgeDot.stories.tsx +++ b/packages/components/src/badge/tests/chromatic/BadgeDot.stories.tsx @@ -1,5 +1,5 @@ import { Badge } from "@components/badge/index.ts"; -import { CircleBadge, IconBadge, SquareBadge, TextBadge } from "./BadgeUtils"; +import { CircleBadge, IconBadge, SquareBadge, TextBadge } from "./BadgeUtils.tsx"; import { Inline } from "@components/layout/index.ts"; import { Meta, StoryObj } from "@storybook/react"; diff --git a/packages/components/src/badge/tests/chromatic/BadgeIcon.stories.tsx b/packages/components/src/badge/tests/chromatic/BadgeIcon.stories.tsx index ac869a6a8..843c52955 100644 --- a/packages/components/src/badge/tests/chromatic/BadgeIcon.stories.tsx +++ b/packages/components/src/badge/tests/chromatic/BadgeIcon.stories.tsx @@ -1,6 +1,6 @@ import { SparklesIcon } from "@hopper-ui/icons"; import { Badge } from "@components/badge/index.ts"; -import { CircleBadge, IconBadge, SquareBadge, TextBadge } from "./BadgeUtils"; +import { CircleBadge, IconBadge, SquareBadge, TextBadge } from "./BadgeUtils.tsx"; import { Inline } from "@components/layout/index.ts"; import { Meta, StoryObj } from "@storybook/react"; diff --git a/packages/components/src/button/src/Button.tsx b/packages/components/src/button/src/Button.tsx index bd74188c4..3008f24eb 100644 --- a/packages/components/src/button/src/Button.tsx +++ b/packages/components/src/button/src/Button.tsx @@ -1,5 +1,5 @@ -import { Box } from "../../box/index.ts" -import { ButtonVariant, useButton } from "./useButton"; +import { Box } from "../../box/index.ts"; +import { ButtonVariant, useButton } from "./useButton.ts"; import { ComponentProps, ElementType, ReactNode, forwardRef, useMemo } from "react"; import { InteractionProps, @@ -14,13 +14,13 @@ import { omitProps, slot, useSlots -} from "../../shared/index.ts" -import { ResponsiveProp, useResponsiveValue, useStyleProps } from "../../styling/index.ts" -import { Text } from "../../typography/index.ts" -import { useFormButton } from "../../form/index.ts" -import { useInputGroupButtonAddonProps } from "../../input-group/index.ts" -import { useToolbarProps } from "../../toolbar/index.ts" -import { Spinner } from "../../spinner/index.ts" +} from "../../shared/index.ts"; +import { ResponsiveProp, useResponsiveValue, useStyleProps } from "../../styling/index.ts"; +import { Text } from "../../typography/index.ts"; +import { useFormButton } from "../../form/index.ts"; +import { useInputGroupButtonAddonProps } from "../../input-group/index.ts"; +import { useToolbarProps } from "../../toolbar/index.ts"; +import { Spinner } from "../../spinner/index.ts"; export type AbstractButtonProps<T extends ElementType> = InternalProps & InteractionProps & Omit<StyledComponentProps<T>, "autoFocus"> & { /** diff --git a/packages/components/src/button/src/CrossButton.tsx b/packages/components/src/button/src/CrossButton.tsx index 7b9a88c02..f125f70dd 100644 --- a/packages/components/src/button/src/CrossButton.tsx +++ b/packages/components/src/button/src/CrossButton.tsx @@ -1,7 +1,7 @@ -import { AbstractIconButtonProps, IconButton, InnerIconButton } from "./IconButton"; +import { AbstractIconButtonProps, IconButton, InnerIconButton } from "./IconButton.tsx"; import { ComponentProps, forwardRef } from "react"; import { DismissIcon } from "@hopper-ui/icons"; -import { OmitInternalProps, mergeClasses, slot } from "../../shared/index.ts" +import { OmitInternalProps, mergeClasses, slot } from "../../shared/index.ts"; export type InnerCrossButtonProps = Omit<AbstractIconButtonProps<"button">, "fluid" | "loading" | "onChange" | "type" | "variant">; diff --git a/packages/components/src/button/src/IconButton.tsx b/packages/components/src/button/src/IconButton.tsx index 0be98a192..07d691acb 100644 --- a/packages/components/src/button/src/IconButton.tsx +++ b/packages/components/src/button/src/IconButton.tsx @@ -1,7 +1,7 @@ -import { Box } from "../../box/index.ts" -import { ButtonVariant, useButton } from "./useButton"; +import { Box } from "../../box/index.ts"; +import { ButtonVariant, useButton } from "./useButton.ts"; import { Children, ComponentProps, ElementType, ReactElement, ReactNode, forwardRef } from "react"; -import { Spinner } from "../../spinner/index.ts" +import { Spinner } from "../../spinner/index.ts"; import { InteractionProps, @@ -16,10 +16,10 @@ import { mergeProps, omitProps, slot -} from "../../shared/index.ts" -import { ResponsiveProp, useResponsiveValue } from "../../styling/index.ts" -import { useInputGroupButtonAddonProps } from "../../input-group/index.ts" -import { useToolbarProps } from "../../toolbar/index.ts" +} from "../../shared/index.ts"; +import { ResponsiveProp, useResponsiveValue } from "../../styling/index.ts"; +import { useInputGroupButtonAddonProps } from "../../input-group/index.ts"; +import { useToolbarProps } from "../../toolbar/index.ts"; export type AbstractIconButtonProps<T extends ElementType> = InternalProps & InteractionProps & Omit<StyledComponentProps<T>, "autoFocus"> & { /** diff --git a/packages/components/src/button/src/ToggleButton.tsx b/packages/components/src/button/src/ToggleButton.tsx index 1e06437c3..7169ea53d 100644 --- a/packages/components/src/button/src/ToggleButton.tsx +++ b/packages/components/src/button/src/ToggleButton.tsx @@ -1,7 +1,7 @@ -import { AbstractButtonProps, Button } from "./Button"; +import { AbstractButtonProps, Button } from "./Button.tsx"; import { ComponentProps, ReactNode, SyntheticEvent, forwardRef } from "react"; -import { OmitInternalProps, mergeProps, resolveChildren, useCheckableProps } from "../../shared/index.ts" -import { ToggleButtonVariant, useToggleButton } from "./useToggleButton"; +import { OmitInternalProps, mergeProps, resolveChildren, useCheckableProps } from "../../shared/index.ts"; +import { ToggleButtonVariant, useToggleButton } from "./useToggleButton.ts"; const DefaultElement = "button"; diff --git a/packages/components/src/button/src/ToggleIconButton.tsx b/packages/components/src/button/src/ToggleIconButton.tsx index 7ad9348f5..676a9d12a 100644 --- a/packages/components/src/button/src/ToggleIconButton.tsx +++ b/packages/components/src/button/src/ToggleIconButton.tsx @@ -1,7 +1,7 @@ -import { AbstractIconButtonProps, IconButton } from "./IconButton"; +import { AbstractIconButtonProps, IconButton } from "./IconButton.tsx"; import { ComponentProps, ReactElement, ReactNode, SyntheticEvent, forwardRef } from "react"; -import { OmitInternalProps, mergeProps, resolveChildren, useCheckableProps } from "../../shared/index.ts" -import { ToggleButtonVariant, useToggleButton } from "./useToggleButton"; +import { OmitInternalProps, mergeProps, resolveChildren, useCheckableProps } from "../../shared/index.ts"; +import { ToggleButtonVariant, useToggleButton } from "./useToggleButton.ts"; const DefaultElement = "button"; diff --git a/packages/components/src/button/src/useButton.ts b/packages/components/src/button/src/useButton.ts index ae1253023..96f765a3b 100644 --- a/packages/components/src/button/src/useButton.ts +++ b/packages/components/src/button/src/useButton.ts @@ -1,7 +1,7 @@ import { AriaAttributes, MouseEventHandler } from "react"; -import { HtmlButton } from "../../html/index.ts" -import { InteractionProps, InternalProps, MergedRef, Size, cssModule, isNumber, mergeClasses, normalizeSize, useAutoFocus, useMergedRefs } from "../../shared/index.ts" -import { useDisableClick } from "./useDisableClick"; +import { HtmlButton } from "../../html/index.ts"; +import { InteractionProps, InternalProps, MergedRef, Size, cssModule, isNumber, mergeClasses, normalizeSize, useAutoFocus, useMergedRefs } from "../../shared/index.ts"; +import { useDisableClick } from "./useDisableClick.tsx"; export type ButtonVariant = "primary" | "secondary" | "tertiary" | "negative" | "upsell"; diff --git a/packages/components/src/button/src/useToggleButton.ts b/packages/components/src/button/src/useToggleButton.ts index db3158abb..521f41e73 100644 --- a/packages/components/src/button/src/useToggleButton.ts +++ b/packages/components/src/button/src/useToggleButton.ts @@ -1,6 +1,6 @@ -import { ButtonVariant } from "./useButton"; +import { ButtonVariant } from "./useButton.ts"; import { FormEvent, ForwardedRef, MouseEvent } from "react"; -import { isNil, useControllableState, useEventCallback } from "../../shared/index.ts" +import { isNil, useControllableState, useEventCallback } from "../../shared/index.ts"; export type ToggleButtonVariant = Exclude<ButtonVariant, "negative">; diff --git a/packages/components/src/card/docs/Card.stories.tsx b/packages/components/src/card/docs/Card.stories.tsx index f7c249dde..27c7ccc29 100644 --- a/packages/components/src/card/docs/Card.stories.tsx +++ b/packages/components/src/card/docs/Card.stories.tsx @@ -6,7 +6,7 @@ import { Illustration } from "@components/illustration/index.ts"; import { Image } from "@components/image/index.ts"; import { Inline, Stack } from "@components/layout/index.ts"; import { Item } from "@components/collection/index.ts"; -import { Planet, SpaceLandscape } from "./assets"; +import { Planet, SpaceLandscape } from "./assets/index.ts"; import { Tabs } from "@components/tabs/index.ts"; import { Meta, StoryObj } from "@storybook/react"; diff --git a/packages/components/src/card/tests/chromatic/Card-hopper.stories.tsx b/packages/components/src/card/tests/chromatic/Card-hopper.stories.tsx index 3f9bc7fc4..adc7f63a2 100644 --- a/packages/components/src/card/tests/chromatic/Card-hopper.stories.tsx +++ b/packages/components/src/card/tests/chromatic/Card-hopper.stories.tsx @@ -1,4 +1,4 @@ -import { ApolloBanner, ApolloPoster } from "./assets"; +import { ApolloBanner, ApolloPoster } from "./assets/index.tsx"; import { Box } from "@components/box/index.ts"; import { Card } from "@components/card/index.ts"; import { Div } from "@components/html/index.ts"; diff --git a/packages/components/src/card/tests/chromatic/Card.stories.tsx b/packages/components/src/card/tests/chromatic/Card.stories.tsx index 16d1659b1..2fdcf5735 100644 --- a/packages/components/src/card/tests/chromatic/Card.stories.tsx +++ b/packages/components/src/card/tests/chromatic/Card.stories.tsx @@ -1,4 +1,4 @@ -import { ApolloBanner, ApolloPoster } from "./assets"; +import { ApolloBanner, ApolloPoster } from "./assets/index.tsx"; import { Box } from "@components/box/index.ts"; import { Card } from "@components/card/index.ts"; import { Content } from "@components/placeholders/index.ts"; diff --git a/packages/components/src/card/tests/chromatic/CardHorizontal-hopper.stories.tsx b/packages/components/src/card/tests/chromatic/CardHorizontal-hopper.stories.tsx index 9aab6cd12..95511b8a9 100644 --- a/packages/components/src/card/tests/chromatic/CardHorizontal-hopper.stories.tsx +++ b/packages/components/src/card/tests/chromatic/CardHorizontal-hopper.stories.tsx @@ -7,7 +7,7 @@ import { Image } from "@components/image/index.ts"; import { Inline, Stack } from "@components/layout/index.ts"; import { Heading, Button, ButtonGroup, Switch, Link } from "@hopper-ui/components"; import { Item } from "@components/collection/index.ts"; -import { Nasa } from "./assets"; +import { Nasa } from "./assets/index.tsx"; import { Tabs } from "@components/tabs/index.ts"; import { Meta, StoryObj } from "@storybook/react"; diff --git a/packages/components/src/card/tests/chromatic/CardHorizontal.stories.tsx b/packages/components/src/card/tests/chromatic/CardHorizontal.stories.tsx index f9ea795ce..4d1000d33 100644 --- a/packages/components/src/card/tests/chromatic/CardHorizontal.stories.tsx +++ b/packages/components/src/card/tests/chromatic/CardHorizontal.stories.tsx @@ -7,7 +7,7 @@ import { Illustration } from "@components/illustration/index.ts"; import { Image } from "@components/image/index.ts"; import { Inline, Stack } from "@components/layout/index.ts"; import { Item } from "@components/collection/index.ts"; -import { Nasa } from "./assets"; +import { Nasa } from "./assets/index.tsx"; import { Switch } from "@components/switch/index.ts"; import { Tabs } from "@components/tabs/index.ts"; import { TextLink } from "@components/link/index.ts"; diff --git a/packages/components/src/card/tests/chromatic/CardVertical-hopper.stories.tsx b/packages/components/src/card/tests/chromatic/CardVertical-hopper.stories.tsx index 56823ad03..8577850e7 100644 --- a/packages/components/src/card/tests/chromatic/CardVertical-hopper.stories.tsx +++ b/packages/components/src/card/tests/chromatic/CardVertical-hopper.stories.tsx @@ -7,7 +7,7 @@ import { Image } from "@components/image/index.ts"; import { Inline, Stack } from "@components/layout/index.ts"; import { Heading, Button, ButtonGroup, Switch, Link } from "@hopper-ui/components"; import { Item } from "@components/collection/index.ts"; -import { Nasa } from "./assets"; +import { Nasa } from "./assets/index.tsx"; import { Tabs } from "@components/tabs/index.ts"; import { Meta, StoryObj } from "@storybook/react"; diff --git a/packages/components/src/card/tests/chromatic/CardVertical.stories.tsx b/packages/components/src/card/tests/chromatic/CardVertical.stories.tsx index 201708f60..88c9aa978 100644 --- a/packages/components/src/card/tests/chromatic/CardVertical.stories.tsx +++ b/packages/components/src/card/tests/chromatic/CardVertical.stories.tsx @@ -7,7 +7,7 @@ import { Illustration } from "@components/illustration/index.ts"; import { Image } from "@components/image/index.ts"; import { Inline, Stack } from "@components/layout/index.ts"; import { Item } from "@components/collection/index.ts"; -import { Nasa } from "./assets"; +import { Nasa } from "./assets/index.tsx"; import { Switch } from "@components/switch/index.ts"; import { Tabs } from "@components/tabs/index.ts"; import { TextLink } from "@components/link/index.ts"; diff --git a/packages/components/src/checkbox/src/Checkbox.tsx b/packages/components/src/checkbox/src/Checkbox.tsx index a23821017..7b65e7b5c 100644 --- a/packages/components/src/checkbox/src/Checkbox.tsx +++ b/packages/components/src/checkbox/src/Checkbox.tsx @@ -1,15 +1,15 @@ -import { AbstractInputProps } from "../../input/index.ts" -import { Box } from "../../box/index.ts" +import { AbstractInputProps } from "../../input/index.ts"; +import { Box } from "../../box/index.ts"; import { CheckmarkIcon } from "@hopper-ui/icons"; import { ChangeEvent, ChangeEventHandler, ComponentProps, forwardRef, useMemo } from "react"; -import { OmitInternalProps, isNil, mergeProps, omitProps, resolveChildren, useChainedEventCallback, useCheckableProps, useSlots } from "../../shared/index.ts" -import { ResponsiveProp, useResponsiveValue } from "../../styling/index.ts" -import { Span } from "../../html/index.ts" -import { Text } from "../../typography/index.ts" -import { VisuallyHidden } from "../../visually-hidden/index.ts" -import { useCheckbox } from "./useCheckbox"; -import { useFieldInputProps } from "../../field/index.ts" -import { useToolbarProps } from "../../toolbar/index.ts" +import { OmitInternalProps, isNil, mergeProps, omitProps, resolveChildren, useChainedEventCallback, useCheckableProps, useSlots } from "../../shared/index.ts"; +import { ResponsiveProp, useResponsiveValue } from "../../styling/index.ts"; +import { Span } from "../../html/index.ts"; +import { Text } from "../../typography/index.ts"; +import { VisuallyHidden } from "../../visually-hidden/index.ts"; +import { useCheckbox } from "./useCheckbox.ts"; +import { useFieldInputProps } from "../../field/index.ts"; +import { useToolbarProps } from "../../toolbar/index.ts"; const DefaultElement = "label"; diff --git a/packages/components/src/collection/src/getItemText.tsx b/packages/components/src/collection/src/getItemText.tsx index 10512d29e..f69914c63 100644 --- a/packages/components/src/collection/src/getItemText.tsx +++ b/packages/components/src/collection/src/getItemText.tsx @@ -1,5 +1,5 @@ -import { CollectionNode, isDivider, isItem } from "./useCollection"; -import { getRawSlots, isNil } from "../../shared/index.ts" +import { CollectionNode, isDivider, isItem } from "./useCollection.ts"; +import { getRawSlots, isNil } from "../../shared/index.ts"; export function getItemText(item: CollectionNode): string { if (isDivider(item) || isItem(item)) { diff --git a/packages/components/src/collection/src/reduceCollection.ts b/packages/components/src/collection/src/reduceCollection.ts index b419d54e8..1ddd8fc15 100644 --- a/packages/components/src/collection/src/reduceCollection.ts +++ b/packages/components/src/collection/src/reduceCollection.ts @@ -1,4 +1,4 @@ -import { CollectionItem, CollectionNode, isItem, isSection } from "./useCollection"; +import { CollectionItem, CollectionNode, isItem, isSection } from "./useCollection.ts"; export function reduceCollection(nodes: CollectionNode[], acceptItem: (item: CollectionItem) => boolean): CollectionItem[] { return nodes.reduce((acc, node) => { diff --git a/packages/components/src/collection/src/useCollectionSearch.ts b/packages/components/src/collection/src/useCollectionSearch.ts index 47b050893..27f726b2d 100644 --- a/packages/components/src/collection/src/useCollectionSearch.ts +++ b/packages/components/src/collection/src/useCollectionSearch.ts @@ -1,8 +1,8 @@ -import { CollectionItem, CollectionNode, useCollection } from "./useCollection"; +import { CollectionItem, CollectionNode, useCollection } from "./useCollection.ts"; import { ReactNode, SyntheticEvent, useCallback, useState } from "react"; -import { getItemText } from "./getItemText"; -import { isNil } from "../../shared/index.ts" -import { reduceCollection } from "./reduceCollection"; +import { getItemText } from "./getItemText.tsx"; +import { isNil } from "../../shared/index.ts"; +import { reduceCollection } from "./reduceCollection.ts"; function isQueryMatchingItem(query: string, item: CollectionItem) { const itemText = getItemText(item); diff --git a/packages/components/src/collection/src/useOnlyCollectionItems.ts b/packages/components/src/collection/src/useOnlyCollectionItems.ts index 8d6bf3644..b2083667d 100644 --- a/packages/components/src/collection/src/useOnlyCollectionItems.ts +++ b/packages/components/src/collection/src/useOnlyCollectionItems.ts @@ -1,4 +1,4 @@ -import { CollectionItem, CollectionNode, NodeType, isSection } from "./useCollection"; +import { CollectionItem, CollectionNode, NodeType, isSection } from "./useCollection.ts"; import { useMemo } from "react"; // Extracts all the nodes of "item" type. diff --git a/packages/components/src/collection/src/useScrollableCollection.ts b/packages/components/src/collection/src/useScrollableCollection.ts index a00d9020f..cb448f26e 100644 --- a/packages/components/src/collection/src/useScrollableCollection.ts +++ b/packages/components/src/collection/src/useScrollableCollection.ts @@ -1,6 +1,6 @@ -import { CollectionNode } from "./useCollection"; +import { CollectionNode } from "./useCollection.ts"; import { RefObject, useState } from "react"; -import { isNil, useIsomorphicLayoutEffect } from "../../shared/index.ts" +import { isNil, useIsomorphicLayoutEffect } from "../../shared/index.ts"; interface UseScrollableCollectionOptions { borderHeight?: number; diff --git a/packages/components/src/date-input/src/DateInput.tsx b/packages/components/src/date-input/src/DateInput.tsx index d31034243..a3269fe57 100644 --- a/packages/components/src/date-input/src/DateInput.tsx +++ b/packages/components/src/date-input/src/DateInput.tsx @@ -1,4 +1,4 @@ -import { Box, BoxProps } from "../../box/index.ts" +import { Box, BoxProps } from "../../box/index.ts"; import { ChangeEvent, ComponentProps, @@ -9,16 +9,16 @@ import { useMemo, useRef } from "react"; -import { InputGroup, useInputGroupProps } from "../../input-group/index.ts" -import { OmitInternalProps, augmentElement, cssModule, isNil, mergeClasses, mergeProps, useControllableState, useEventCallback } from "../../shared/index.ts" -import { ResponsiveProp, useResponsiveValue } from "../../styling/index.ts" -import { areEqualDates, toMidnightDate } from "./dateUtils"; +import { InputGroup, useInputGroupProps } from "../../input-group/index.ts"; +import { OmitInternalProps, augmentElement, cssModule, isNil, mergeClasses, mergeProps, useControllableState, useEventCallback } from "../../shared/index.ts"; +import { ResponsiveProp, useResponsiveValue } from "../../styling/index.ts"; +import { areEqualDates, toMidnightDate } from "./dateUtils.ts"; -import { AbstractInputProps } from "../../input/index.ts" -import { ButtonPresets } from "./ButtonPresets"; -import { MenuPresets } from "./MenuPresets"; -import { TextInput } from "../../text-input/index.ts" -import { useDateInput } from "./useDateInput"; +import { AbstractInputProps } from "../../input/index.ts"; +import { ButtonPresets } from "./ButtonPresets.tsx"; +import { MenuPresets } from "./MenuPresets.tsx"; +import { TextInput } from "../../text-input/index.ts"; +import { useDateInput } from "./useDateInput.ts"; export interface DatePreset { date: Date; diff --git a/packages/components/src/date-input/src/DateRangeInput.tsx b/packages/components/src/date-input/src/DateRangeInput.tsx index 18e0d474a..e48768dac 100644 --- a/packages/components/src/date-input/src/DateRangeInput.tsx +++ b/packages/components/src/date-input/src/DateRangeInput.tsx @@ -1,6 +1,6 @@ -import { AbstractInputProps } from "../../input/index.ts" -import { Box } from "../../box/index.ts" -import { ButtonPresets } from "./ButtonPresets"; +import { AbstractInputProps } from "../../input/index.ts"; +import { Box } from "../../box/index.ts"; +import { ButtonPresets } from "./ButtonPresets.tsx"; import { ChangeEvent, ComponentProps, @@ -14,11 +14,11 @@ import { useRef, useState } from "react"; -import { ClearInputGroupContext, InputGroup, useInputGroupProps } from "../../input-group/index.ts" -import { CrossButton } from "../../button/index.ts" -import { DateInputMask, useDateInput } from "./useDateInput"; -import { Divider } from "../../divider/index.ts" -import { HtmlInput } from "../../html/index.ts" +import { ClearInputGroupContext, InputGroup, useInputGroupProps } from "../../input-group/index.ts"; +import { CrossButton } from "../../button/index.ts"; +import { DateInputMask, useDateInput } from "./useDateInput.ts"; +import { Divider } from "../../divider/index.ts"; +import { HtmlInput } from "../../html/index.ts"; import { Keys, OmitInternalProps, @@ -35,12 +35,12 @@ import { useEventCallback, useFocusWithin, useMergedRefs -} from "../../shared/index.ts" -import { MenuPresets } from "./MenuPresets"; -import { ResponsiveProp, useResponsiveValue } from "../../styling/index.ts" -import { areEqualDates, toMidnightDate } from "./dateUtils"; -import { useFieldInputProps } from "../../field/index.ts" -import { useToolbarProps } from "../../toolbar/index.ts" +} from "../../shared/index.ts"; +import { MenuPresets } from "./MenuPresets.tsx"; +import { ResponsiveProp, useResponsiveValue } from "../../styling/index.ts"; +import { areEqualDates, toMidnightDate } from "./dateUtils.ts"; +import { useFieldInputProps } from "../../field/index.ts"; +import { useToolbarProps } from "../../toolbar/index.ts"; export interface DateRangePreset { endDate: Date; diff --git a/packages/components/src/date-input/src/useDateInput.ts b/packages/components/src/date-input/src/useDateInput.ts index 13e104afa..d6ec7ebd6 100644 --- a/packages/components/src/date-input/src/useDateInput.ts +++ b/packages/components/src/date-input/src/useDateInput.ts @@ -1,7 +1,7 @@ import { ChangeEvent, ChangeEventHandler, ForwardedRef, SyntheticEvent, useCallback, useState } from "react"; -import { areEqualDates } from "./dateUtils"; -import { isNil, mergeProps, useChainedEventCallback, useControllableState, useEventCallback, useMergedRefs, useRefState } from "../../shared/index.ts" -import { useMaskedInput } from "./useMaskedInput"; +import { areEqualDates } from "./dateUtils.ts"; +import { isNil, mergeProps, useChainedEventCallback, useControllableState, useEventCallback, useMergedRefs, useRefState } from "../../shared/index.ts"; +import { useMaskedInput } from "./useMaskedInput.ts"; export const DateInputMask = [/\d/, /\d/, "/", /\d/, /\d/, "/", /\d/, /\d/, /\d/, /\d/]; diff --git a/packages/components/src/dialog/src/Dialog.tsx b/packages/components/src/dialog/src/Dialog.tsx index dec629f73..523d77854 100644 --- a/packages/components/src/dialog/src/Dialog.tsx +++ b/packages/components/src/dialog/src/Dialog.tsx @@ -1,4 +1,4 @@ -import { Box, BoxProps } from "../../box/index.ts" +import { Box, BoxProps } from "../../box/index.ts"; import { ComponentProps, ElementType, MouseEvent, ReactNode, SyntheticEvent, cloneElement, forwardRef, useCallback, useEffect, useMemo, useRef, useState } from "react"; import { FocusScopeContext, @@ -22,14 +22,14 @@ import { useRefState, useResizeObserver, useSlots -} from "../../shared/index.ts" -import { ResponsiveProp, useResponsiveValue } from "../../styling/index.ts" -import { Underlay, isElementInViewport, useOverlayFocusRing, useOverlayLightDismiss, useRestoreFocus, useTrapFocus } from "../../overlay/index.ts" - -import { CrossButton } from "../../button/index.ts" -import { Div } from "../../html/index.ts" -import { Text } from "../../typography/index.ts" -import { useDialogTriggerContext } from "./DialogTriggerContext"; +} from "../../shared/index.ts"; +import { ResponsiveProp, useResponsiveValue } from "../../styling/index.ts"; +import { Underlay, isElementInViewport, useOverlayFocusRing, useOverlayLightDismiss, useRestoreFocus, useTrapFocus } from "../../overlay/index.ts"; + +import { CrossButton } from "../../button/index.ts"; +import { Div } from "../../html/index.ts"; +import { Text } from "../../typography/index.ts"; +import { useDialogTriggerContext } from "./DialogTriggerContext.ts"; import { ButtonGroupContext, HeadingContext } from "@hopper-ui/components"; export type AbstractDialogProps<T extends ElementType> = InternalProps & InteractionProps & Omit<StyledComponentProps<T>, "role" | "zIndex"> & { diff --git a/packages/components/src/dialog/src/DialogTrigger.tsx b/packages/components/src/dialog/src/DialogTrigger.tsx index e3b68fbf4..e0cb5a329 100644 --- a/packages/components/src/dialog/src/DialogTrigger.tsx +++ b/packages/components/src/dialog/src/DialogTrigger.tsx @@ -9,10 +9,10 @@ import { resolveChildren, useControllableState, useEventCallback -} from "../../shared/index.ts" -import { Overlay, useOverlayTrigger } from "../../overlay/index.ts" +} from "../../shared/index.ts"; +import { Overlay, useOverlayTrigger } from "../../overlay/index.ts"; -import { DialogTriggerContext } from "./DialogTriggerContext"; +import { DialogTriggerContext } from "./DialogTriggerContext.ts"; const DefaultElement = "div"; diff --git a/packages/components/src/dialog/tests/chromatic/Dialog-hopper.stories.tsx b/packages/components/src/dialog/tests/chromatic/Dialog-hopper.stories.tsx index 6dfa276dd..c3d64d8f8 100644 --- a/packages/components/src/dialog/tests/chromatic/Dialog-hopper.stories.tsx +++ b/packages/components/src/dialog/tests/chromatic/Dialog-hopper.stories.tsx @@ -1,4 +1,4 @@ -import { Apollo11Poster, Nasa, TheMartianPoster } from "./assets"; +import { Apollo11Poster, Nasa, TheMartianPoster } from "./assets/index.tsx"; import { Footer, Header, Heading, ButtonGroup, Button, Link } from "@hopper-ui/components"; import { Content } from "@components/placeholders/index.ts"; import { Paragraph } from "@components/typography/index.ts"; diff --git a/packages/components/src/dialog/tests/chromatic/Dialog.stories.tsx b/packages/components/src/dialog/tests/chromatic/Dialog.stories.tsx index 8eb617610..24bef925f 100644 --- a/packages/components/src/dialog/tests/chromatic/Dialog.stories.tsx +++ b/packages/components/src/dialog/tests/chromatic/Dialog.stories.tsx @@ -1,4 +1,4 @@ -import { Apollo11Poster, Nasa, TheMartianPoster } from "./assets"; +import { Apollo11Poster, Nasa, TheMartianPoster } from "./assets/index.tsx"; import { Content, Footer, Header } from "@components/placeholders/index.ts"; import { Heading, Paragraph } from "@components/typography/index.ts"; import { ButtonGroup, Button } from "@components/button/index.ts"; diff --git a/packages/components/src/disclosure/src/Disclosure.tsx b/packages/components/src/disclosure/src/Disclosure.tsx index 8138027e3..674bffeb4 100644 --- a/packages/components/src/disclosure/src/Disclosure.tsx +++ b/packages/components/src/disclosure/src/Disclosure.tsx @@ -13,11 +13,11 @@ import { useEventCallback, useId, useMergedRefs -} from "../../shared/index.ts" +} from "../../shared/index.ts"; -import { DisclosureContext } from "./DisclosureContext"; -import { Text } from "../../typography/index.ts" -import { useSlidingTransition } from "./useSlidingTransition"; +import { DisclosureContext } from "./DisclosureContext.ts"; +import { Text } from "../../typography/index.ts"; +import { useSlidingTransition } from "./useSlidingTransition.ts"; const DefaultElement = "div"; diff --git a/packages/components/src/disclosure/src/DisclosureArrow.tsx b/packages/components/src/disclosure/src/DisclosureArrow.tsx index f75c0bb4d..a2a7f689c 100644 --- a/packages/components/src/disclosure/src/DisclosureArrow.tsx +++ b/packages/components/src/disclosure/src/DisclosureArrow.tsx @@ -1,8 +1,8 @@ import { AngleDownIcon } from "@hopper-ui/icons"; import { ComponentProps, forwardRef } from "react"; -import { InternalProps, OmitInternalProps, omitProps, SlotProps, StyledComponentProps, cssModule, isNil, mergeProps, slot } from "../../shared/index.ts" -import { useDisclosureContext } from "./DisclosureContext"; -import { useStyledSystem } from "../../styling/index.ts" +import { InternalProps, OmitInternalProps, omitProps, SlotProps, StyledComponentProps, cssModule, isNil, mergeProps, slot } from "../../shared/index.ts"; +import { useDisclosureContext } from "./DisclosureContext.ts"; +import { useStyledSystem } from "../../styling/index.ts"; const DefaultElement = "svg"; diff --git a/packages/components/src/disclosure/src/match.ts b/packages/components/src/disclosure/src/match.ts index 99711d4d1..d76c33793 100644 --- a/packages/components/src/disclosure/src/match.ts +++ b/packages/components/src/disclosure/src/match.ts @@ -1,4 +1,4 @@ -import { isFunction, isNil } from "../../shared/src/assertions"; +import { isFunction, isNil } from "../../shared/src/assertions.ts"; // Took from https://github.com/tailwindlabs/headlessui/blob/develop/packages/%40headlessui-react/src/utils/match.ts // eslint-disable-next-line @typescript-eslint/no-unused-vars diff --git a/packages/components/src/disclosure/src/useSlidingTransition.ts b/packages/components/src/disclosure/src/useSlidingTransition.ts index eca019e0f..cf0bc6a20 100644 --- a/packages/components/src/disclosure/src/useSlidingTransition.ts +++ b/packages/components/src/disclosure/src/useSlidingTransition.ts @@ -1,7 +1,7 @@ import { RefObject, useCallback, useEffect, useReducer } from "react"; -import { isNil, useCommittedRef, useDisposables, useIsInitialRender } from "../../shared/index.ts" +import { isNil, useCommittedRef, useDisposables, useIsInitialRender } from "../../shared/index.ts"; -import { match } from "./match"; +import { match } from "./match.ts"; type ActionType = "slideDown" | "slideUp" | "completeTransition"; diff --git a/packages/components/src/dot/docs/Dot.stories.tsx b/packages/components/src/dot/docs/Dot.stories.tsx index 8630d2084..80ebc18f0 100644 --- a/packages/components/src/dot/docs/Dot.stories.tsx +++ b/packages/components/src/dot/docs/Dot.stories.tsx @@ -1,6 +1,6 @@ import { Dot } from "@components/dot/index.ts"; import { Inline } from "@components/layout/index.ts"; -import { Meta, StoryObj } from "@storybook/react/*"; +import { Meta, StoryObj } from "@storybook/react"; const meta = { title: "Components/Dot", diff --git a/packages/components/src/field/src/ErrorMessage.tsx b/packages/components/src/field/src/ErrorMessage.tsx index 089fcd97b..c15a8f4b3 100644 --- a/packages/components/src/field/src/ErrorMessage.tsx +++ b/packages/components/src/field/src/ErrorMessage.tsx @@ -1,7 +1,7 @@ import { ComponentProps, forwardRef } from "react"; -import { FieldMessage, FieldMessageDefaultElement, SharedFieldMessageProps, getValidationProps } from "./FieldMessage"; -import { OmitInternalProps, mergeProps } from "../../shared/index.ts" -import { useFieldMessageProps } from "./FieldContext"; +import { FieldMessage, FieldMessageDefaultElement, SharedFieldMessageProps, getValidationProps } from "./FieldMessage.tsx"; +import { OmitInternalProps, mergeProps } from "../../shared/index.ts"; +import { useFieldMessageProps } from "./FieldContext.tsx"; export function InnerErrorMessage(props: SharedFieldMessageProps) { const [{ validationState, ...messageProps }, isInField] = useFieldMessageProps(); diff --git a/packages/components/src/field/src/Field.tsx b/packages/components/src/field/src/Field.tsx index 2d5dce496..40e5441de 100644 --- a/packages/components/src/field/src/Field.tsx +++ b/packages/components/src/field/src/Field.tsx @@ -1,12 +1,12 @@ -import { Box } from "../../box/index.ts" -import { ClearToolbar, useToolbarProps } from "../../toolbar/index.ts" +import { Box } from "../../box/index.ts"; +import { ClearToolbar, useToolbarProps } from "../../toolbar/index.ts"; import { ComponentProps, ReactNode, forwardRef } from "react"; -import { FieldContext } from "./FieldContext"; -import { InternalProps, OmitInternalProps, StyledComponentProps, mergeProps } from "../../shared/index.ts" -import { ResponsiveProp, useResponsiveValue } from "../../styling/index.ts" -import { ValidationState } from "../../input/index.ts" -import { useField } from "./useField"; -import { useFormField } from "../../form/index.ts" +import { FieldContext } from "./FieldContext.tsx"; +import { InternalProps, OmitInternalProps, StyledComponentProps, mergeProps } from "../../shared/index.ts"; +import { ResponsiveProp, useResponsiveValue } from "../../styling/index.ts"; +import { ValidationState } from "../../input/index.ts"; +import { useField } from "./useField.ts"; +import { useFormField } from "../../form/index.ts"; const DefaultElement = "div"; diff --git a/packages/components/src/field/src/GroupField.tsx b/packages/components/src/field/src/GroupField.tsx index 598e57170..1c97e002b 100644 --- a/packages/components/src/field/src/GroupField.tsx +++ b/packages/components/src/field/src/GroupField.tsx @@ -1,12 +1,12 @@ -import { Box } from "../../box/index.ts" -import { ClearToolbar, useToolbarProps } from "../../toolbar/index.ts" +import { Box } from "../../box/index.ts"; +import { ClearToolbar, useToolbarProps } from "../../toolbar/index.ts"; import { ComponentProps, ReactNode, forwardRef } from "react"; -import { FieldContext } from "./FieldContext"; -import { InternalProps, OmitInternalProps, StyledComponentProps, mergeProps } from "../../shared/index.ts" -import { ResponsiveProp, useResponsiveValue } from "../../styling/index.ts" -import { ValidationState } from "../../input/index.ts" -import { useFormField } from "../../form/index.ts" -import { useGroupField } from "./useGroupField"; +import { FieldContext } from "./FieldContext.tsx"; +import { InternalProps, OmitInternalProps, StyledComponentProps, mergeProps } from "../../shared/index.ts"; +import { ResponsiveProp, useResponsiveValue } from "../../styling/index.ts"; +import { ValidationState } from "../../input/index.ts"; +import { useFormField } from "../../form/index.ts"; +import { useGroupField } from "./useGroupField.ts"; const DefaultElement = "div"; diff --git a/packages/components/src/field/src/HelpMessage.tsx b/packages/components/src/field/src/HelpMessage.tsx index 2efb3add8..85233809c 100644 --- a/packages/components/src/field/src/HelpMessage.tsx +++ b/packages/components/src/field/src/HelpMessage.tsx @@ -1,7 +1,7 @@ import { ComponentProps, forwardRef } from "react"; -import { FieldMessage, FieldMessageDefaultElement, SharedFieldMessageProps, getValidationProps } from "./FieldMessage"; -import { OmitInternalProps, mergeProps } from "../../shared/index.ts" -import { useFieldMessageProps } from "./FieldContext"; +import { FieldMessage, FieldMessageDefaultElement, SharedFieldMessageProps, getValidationProps } from "./FieldMessage.tsx"; +import { OmitInternalProps, mergeProps } from "../../shared/index.ts"; +import { useFieldMessageProps } from "./FieldContext.tsx"; export function InnerHelpMessage(props: SharedFieldMessageProps) { const [{ validationState, ...messageProps }, isInField] = useFieldMessageProps(); diff --git a/packages/components/src/field/src/Label.tsx b/packages/components/src/field/src/Label.tsx index 6d29bf6d2..d2cbc64dc 100644 --- a/packages/components/src/field/src/Label.tsx +++ b/packages/components/src/field/src/Label.tsx @@ -1,7 +1,7 @@ import { ComponentProps, ReactNode, forwardRef } from "react"; -import { InternalProps, OmitInternalProps, StyledComponentProps, mergeProps } from "../../shared/index.ts" -import { Text } from "../../typography/index.ts" -import { useFieldLabelProps } from "./FieldContext"; +import { InternalProps, OmitInternalProps, StyledComponentProps, mergeProps } from "../../shared/index.ts"; +import { Text } from "../../typography/index.ts"; +import { useFieldLabelProps } from "./FieldContext.tsx"; const DefaultElement = "label"; diff --git a/packages/components/src/field/src/ValidMessage.tsx b/packages/components/src/field/src/ValidMessage.tsx index 31aef3827..2526c8f8d 100644 --- a/packages/components/src/field/src/ValidMessage.tsx +++ b/packages/components/src/field/src/ValidMessage.tsx @@ -1,7 +1,7 @@ import { ComponentProps, forwardRef } from "react"; -import { FieldMessage, FieldMessageDefaultElement, SharedFieldMessageProps, getValidationProps } from "./FieldMessage"; -import { OmitInternalProps, mergeProps } from "../../shared/index.ts" -import { useFieldMessageProps } from "./FieldContext"; +import { FieldMessage, FieldMessageDefaultElement, SharedFieldMessageProps, getValidationProps } from "./FieldMessage.tsx"; +import { OmitInternalProps, mergeProps } from "../../shared/index.ts"; +import { useFieldMessageProps } from "./FieldContext.tsx"; export function InnerValidMessage(props: SharedFieldMessageProps) { const [{ validationState, ...messageProps }, isInField] = useFieldMessageProps(); diff --git a/packages/components/src/field/src/useField.ts b/packages/components/src/field/src/useField.ts index fedbf7cad..d71653d26 100644 --- a/packages/components/src/field/src/useField.ts +++ b/packages/components/src/field/src/useField.ts @@ -1,7 +1,7 @@ import { ForwardedRef } from "react"; -import { MergedRef, cssModule, mergeClasses, useHasChildren, useId, useIsInitialRender, useMergedRefs } from "../../shared/index.ts" -import { ValidationState } from "../../input/index.ts" -import type { FieldContextType } from "./FieldContext"; +import { MergedRef, cssModule, mergeClasses, useHasChildren, useId, useIsInitialRender, useMergedRefs } from "../../shared/index.ts"; +import { ValidationState } from "../../input/index.ts"; +import type { FieldContextType } from "./FieldContext.tsx"; export interface UseFieldProps { className?: string; diff --git a/packages/components/src/field/src/useGroupField.ts b/packages/components/src/field/src/useGroupField.ts index a42585f3a..a459df919 100644 --- a/packages/components/src/field/src/useGroupField.ts +++ b/packages/components/src/field/src/useGroupField.ts @@ -1,7 +1,7 @@ import { ForwardedRef } from "react"; -import { MergedRef, cssModule, isNil, mergeClasses, useHasChildren, useId, useIsInitialRender, useMergedRefs } from "../../shared/index.ts" -import { ValidationState } from "../../input/index.ts" -import type { FieldContextType } from "./FieldContext"; +import { MergedRef, cssModule, isNil, mergeClasses, useHasChildren, useId, useIsInitialRender, useMergedRefs } from "../../shared/index.ts"; +import { ValidationState } from "../../input/index.ts"; +import type { FieldContextType } from "./FieldContext.tsx"; export interface UseGroupFieldProps { className?: string; diff --git a/packages/components/src/form/src/Form.tsx b/packages/components/src/form/src/Form.tsx index dae3f08ca..ef70afaa1 100644 --- a/packages/components/src/form/src/Form.tsx +++ b/packages/components/src/form/src/Form.tsx @@ -1,8 +1,8 @@ -import { Box } from "../../box/index.ts" +import { Box } from "../../box/index.ts"; import { ComponentProps, ReactNode, forwardRef } from "react"; -import { FormContext } from "./FormContext"; -import { InternalProps, OmitInternalProps, StyledComponentProps, cssModule, mergeProps } from "../../shared/index.ts" -import { ResponsiveProp, useResponsiveValue } from "../../styling/index.ts" +import { FormContext } from "./FormContext.ts"; +import { InternalProps, OmitInternalProps, StyledComponentProps, cssModule, mergeProps } from "../../shared/index.ts"; +import { ResponsiveProp, useResponsiveValue } from "../../styling/index.ts"; const DefaultElement = "form"; diff --git a/packages/components/src/form/src/useFormButton.ts b/packages/components/src/form/src/useFormButton.ts index 09097db49..5e23a57e0 100644 --- a/packages/components/src/form/src/useFormButton.ts +++ b/packages/components/src/form/src/useFormButton.ts @@ -1,5 +1,5 @@ -import { FormContextType, useFormContext } from "./FormContext"; -import { omitProps } from "../../shared/index.ts" +import { FormContextType, useFormContext } from "./FormContext.ts"; +import { omitProps } from "../../shared/index.ts"; export type FormButtonProps = Omit<FormContextType, "fluid">; diff --git a/packages/components/src/form/src/useFormField.ts b/packages/components/src/form/src/useFormField.ts index 81eb48a56..c259daa8a 100644 --- a/packages/components/src/form/src/useFormField.ts +++ b/packages/components/src/form/src/useFormField.ts @@ -1,4 +1,4 @@ -import { FormContextType, useFormContext } from "./FormContext"; +import { FormContextType, useFormContext } from "./FormContext.ts"; export interface FormFieldProps extends FormContextType { className?: string; diff --git a/packages/components/src/html/docs/img.stories.tsx b/packages/components/src/html/docs/img.stories.tsx index 6d1d87a97..c5e466bc6 100644 --- a/packages/components/src/html/docs/img.stories.tsx +++ b/packages/components/src/html/docs/img.stories.tsx @@ -1,6 +1,6 @@ import { Img } from "@components/html/index.ts"; import { Meta, StoryObj } from "@storybook/react"; -import { Planet } from "./assets"; +import { Planet } from "./assets/index.ts"; const meta = { title: "Html elements/Img", diff --git a/packages/components/src/html/src/html.tsx b/packages/components/src/html/src/html.tsx index d07a26485..874da0125 100644 --- a/packages/components/src/html/src/html.tsx +++ b/packages/components/src/html/src/html.tsx @@ -1,7 +1,7 @@ import { ComponentProps, ElementType } from "react"; -import { htmlElement } from "./htmlElement"; -import { isNil } from "../../shared/index.ts" +import { htmlElement } from "./htmlElement.tsx"; +import { isNil } from "../../shared/index.ts"; // Sectioning & Content sectioning diff --git a/packages/components/src/icons/docs/IndexFileUsage.mdx b/packages/components/src/icons/docs/IndexFileUsage.mdx index 3c9026826..0137dfb66 100644 --- a/packages/components/src/icons/docs/IndexFileUsage.mdx +++ b/packages/components/src/icons/docs/IndexFileUsage.mdx @@ -13,7 +13,7 @@ ``` ```jsx - import { AzureMajorIcon, FilterMajorIcon } from "./assets"; + import { AzureMajorIcon, FilterMajorIcon } from "./assets/index.ts"; () => ( <> diff --git a/packages/components/src/icons/docs/assets/index.ts b/packages/components/src/icons/docs/assets/index.ts index fbb86cc57..0fe82d01e 100644 --- a/packages/components/src/icons/docs/assets/index.ts +++ b/packages/components/src/icons/docs/assets/index.ts @@ -1,2 +1,2 @@ -export { ReactComponent as AzureIcon } from "./AzureIcon"; -export { ReactComponent as FilterMajorIcon } from "./FilterIcon"; +export { ReactComponent as AzureIcon } from "./AzureIcon.tsx"; +export { ReactComponent as FilterMajorIcon } from "./FilterIcon.tsx"; diff --git a/packages/components/src/icons/index.tsx b/packages/components/src/icons/index.tsx index 3bd16e178..401c73ac2 100644 --- a/packages/components/src/icons/index.tsx +++ b/packages/components/src/icons/index.tsx @@ -1 +1 @@ -export * from "./src"; +export * from "./src/index.ts"; diff --git a/packages/components/src/icons/tests/jest/assets/index.ts b/packages/components/src/icons/tests/jest/assets/index.ts index fbb86cc57..0fe82d01e 100644 --- a/packages/components/src/icons/tests/jest/assets/index.ts +++ b/packages/components/src/icons/tests/jest/assets/index.ts @@ -1,2 +1,2 @@ -export { ReactComponent as AzureIcon } from "./AzureIcon"; -export { ReactComponent as FilterMajorIcon } from "./FilterIcon"; +export { ReactComponent as AzureIcon } from "./AzureIcon.tsx"; +export { ReactComponent as FilterMajorIcon } from "./FilterIcon.tsx"; diff --git a/packages/components/src/illustrated-message/docs/IllustratedMessage.stories.tsx b/packages/components/src/illustrated-message/docs/IllustratedMessage.stories.tsx index 00eb54936..fe24536c8 100644 --- a/packages/components/src/illustrated-message/docs/IllustratedMessage.stories.tsx +++ b/packages/components/src/illustrated-message/docs/IllustratedMessage.stories.tsx @@ -1,6 +1,6 @@ import { IllustratedMessage } from "@components/illustrated-message/index.ts"; import { SvgImage } from "@components/image/index.ts"; -import { NoResults } from "./assets"; +import { NoResults } from "./assets/index.tsx"; import { Heading } from "@components/typography/index.ts"; import { Content } from "@components/placeholders/index.ts"; diff --git a/packages/components/src/illustrated-message/docs/assets/index.tsx b/packages/components/src/illustrated-message/docs/assets/index.tsx index 496b53f64..9a4fbc506 100644 --- a/packages/components/src/illustrated-message/docs/assets/index.tsx +++ b/packages/components/src/illustrated-message/docs/assets/index.tsx @@ -1,3 +1,3 @@ -import { ReactComponent as NoResults } from "./NoResults"; +import { ReactComponent as NoResults } from "./NoResults.tsx"; export { NoResults }; diff --git a/packages/components/src/illustrated-message/tests/chromatic/IllustratedMessage-hopper.stories.tsx b/packages/components/src/illustrated-message/tests/chromatic/IllustratedMessage-hopper.stories.tsx index 41ba7c4a5..5c6ee3355 100644 --- a/packages/components/src/illustrated-message/tests/chromatic/IllustratedMessage-hopper.stories.tsx +++ b/packages/components/src/illustrated-message/tests/chromatic/IllustratedMessage-hopper.stories.tsx @@ -5,7 +5,7 @@ import { IllustratedMessage } from "@components/illustrated-message/index.ts"; import { Image } from "@components/image/index.ts"; import { Inline, Stack } from "@components/layout/index.ts"; import { Heading } from "@hopper-ui/components"; -import { Nasa } from "./assets"; +import { Nasa } from "./assets/index.ts"; import { Meta, StoryObj } from "@storybook/react"; const meta = { diff --git a/packages/components/src/illustrated-message/tests/chromatic/IllustratedMessage.stories.tsx b/packages/components/src/illustrated-message/tests/chromatic/IllustratedMessage.stories.tsx index de2e99366..1e2f4f90d 100644 --- a/packages/components/src/illustrated-message/tests/chromatic/IllustratedMessage.stories.tsx +++ b/packages/components/src/illustrated-message/tests/chromatic/IllustratedMessage.stories.tsx @@ -5,7 +5,7 @@ import { Heading } from "@components/typography/index.ts"; import { IllustratedMessage } from "@components/illustrated-message/index.ts"; import { Image } from "@components/image/index.ts"; import { Inline, Stack } from "@components/layout/index.ts"; -import { Nasa } from "./assets"; +import { Nasa } from "./assets/index.ts"; import { Meta, StoryObj } from "@storybook/react"; const meta = { diff --git a/packages/components/src/illustration/docs/Illustration.stories.tsx b/packages/components/src/illustration/docs/Illustration.stories.tsx index 38aa8522f..9fe98d3c4 100644 --- a/packages/components/src/illustration/docs/Illustration.stories.tsx +++ b/packages/components/src/illustration/docs/Illustration.stories.tsx @@ -1,7 +1,7 @@ import { Meta, StoryObj } from "@storybook/react"; import { Illustration } from "@components/illustration/index.ts"; import { Image } from "@components/image/index.ts"; -import { Planet } from "./assets"; +import { Planet } from "./assets/index.tsx"; const meta = { title: "Components/Illustration", diff --git a/packages/components/src/illustration/tests/chromatic/Illustration.stories.tsx b/packages/components/src/illustration/tests/chromatic/Illustration.stories.tsx index 3c2ce56e7..3fb1ca99e 100644 --- a/packages/components/src/illustration/tests/chromatic/Illustration.stories.tsx +++ b/packages/components/src/illustration/tests/chromatic/Illustration.stories.tsx @@ -4,7 +4,7 @@ import { Illustration } from "@components/illustration/index.ts"; import { Image } from "@components/image/index.ts"; import { Inline, Stack } from "@components/layout/index.ts"; import { Meta, StoryObj } from "@storybook/react"; -import { Nasa } from "./assets"; +import { Nasa } from "./assets/index.ts"; const meta = { title: "Chromatic/Illustration", diff --git a/packages/components/src/image/docs/Image.stories.tsx b/packages/components/src/image/docs/Image.stories.tsx index c2dd390ef..9fbdff276 100644 --- a/packages/components/src/image/docs/Image.stories.tsx +++ b/packages/components/src/image/docs/Image.stories.tsx @@ -1,4 +1,4 @@ -import { GalaxyImage, GalaxyImage2x, GalaxyImageLg, NoResults } from "./assets"; +import { GalaxyImage, GalaxyImage2x, GalaxyImageLg, NoResults } from "./assets/index.ts"; import { Image, SvgImage } from "@components/image/index.ts"; import { Inline } from "@components/layout/index.ts"; diff --git a/packages/components/src/image/src/AsyncImage.tsx b/packages/components/src/image/src/AsyncImage.tsx index 868026898..5fa825bf6 100644 --- a/packages/components/src/image/src/AsyncImage.tsx +++ b/packages/components/src/image/src/AsyncImage.tsx @@ -1,7 +1,7 @@ -import { AbstractImageProps, Image as OrbiterImage } from "./Image"; +import { AbstractImageProps, Image as OrbiterImage } from "./Image.tsx"; import { ComponentProps, ReactElement, ReactNode, forwardRef, useEffect, useState } from "react"; -import { OmitInternalProps, isNil, mergeProps, slot, useRefState } from "../../shared/index.ts" -import { useResponsiveValue } from "../../styling/index.ts" +import { OmitInternalProps, isNil, mergeProps, slot, useRefState } from "../../shared/index.ts"; +import { useResponsiveValue } from "../../styling/index.ts"; const DefaultElement = "img"; diff --git a/packages/components/src/image/tests/chromatic/Image.stories.tsx b/packages/components/src/image/tests/chromatic/Image.stories.tsx index 06d00f6e5..c73f1f762 100644 --- a/packages/components/src/image/tests/chromatic/Image.stories.tsx +++ b/packages/components/src/image/tests/chromatic/Image.stories.tsx @@ -2,7 +2,7 @@ import { Div } from "@components/html/index.ts"; import { Image } from "@components/image/index.ts"; import { Inline, Stack } from "@components/layout/index.ts"; import { Meta, StoryObj } from "@storybook/react"; -import { Launch, Mars } from "./assets"; +import { Launch, Mars } from "./assets/index.ts"; const meta = { title: "Chromatic/Image", diff --git a/packages/components/src/image/tests/chromatic/SvgImage.stories.tsx b/packages/components/src/image/tests/chromatic/SvgImage.stories.tsx index 7ecae50c3..f9decb774 100644 --- a/packages/components/src/image/tests/chromatic/SvgImage.stories.tsx +++ b/packages/components/src/image/tests/chromatic/SvgImage.stories.tsx @@ -1,5 +1,5 @@ import { Inline } from "@components/layout/index.ts"; -import { NoResults } from "./assets"; +import { NoResults } from "./assets/index.ts"; import { SvgImage } from "@components/image/index.ts"; import { Meta, StoryObj } from "@storybook/react"; diff --git a/packages/components/src/image/tests/chromatic/assets/index.ts b/packages/components/src/image/tests/chromatic/assets/index.ts index 4695b9a81..c7992f31d 100644 --- a/packages/components/src/image/tests/chromatic/assets/index.ts +++ b/packages/components/src/image/tests/chromatic/assets/index.ts @@ -1,4 +1,4 @@ -import { ReactComponent as NoResults } from "./NoResults"; +import { ReactComponent as NoResults } from "./NoResults.tsx"; import Launch from "./launch.jpg"; import Mars from "./mars.png"; diff --git a/packages/components/src/input-group/src/InputGroup.tsx b/packages/components/src/input-group/src/InputGroup.tsx index 032cef19e..8501b80a6 100644 --- a/packages/components/src/input-group/src/InputGroup.tsx +++ b/packages/components/src/input-group/src/InputGroup.tsx @@ -1,8 +1,8 @@ -import { Box } from "../../box/index.ts" +import { Box } from "../../box/index.ts"; import { Children, ComponentProps, ReactElement, ReactNode, forwardRef, useMemo } from "react"; -import { ClearFieldContext, useFieldInputProps } from "../../field/index.ts" -import { ClearToolbar, useToolbarProps } from "../../toolbar/index.ts" -import { InputGroupContext } from "./InputGroupContext"; +import { ClearFieldContext, useFieldInputProps } from "../../field/index.ts"; +import { ClearToolbar, useToolbarProps } from "../../toolbar/index.ts"; +import { InputGroupContext } from "./InputGroupContext.tsx"; import { InternalProps, OmitInternalProps, @@ -15,9 +15,9 @@ import { resolveChildren, useHasChild, useMergedRefs -} from "../../shared/index.ts" -import { ResponsiveProp, useResponsiveValue } from "../../styling/index.ts" -import { TextAddon } from "./TextAddon"; +} from "../../shared/index.ts"; +import { ResponsiveProp, useResponsiveValue } from "../../styling/index.ts"; +import { TextAddon } from "./TextAddon.tsx"; const DefaultElement = "div"; diff --git a/packages/components/src/input/src/useInput.ts b/packages/components/src/input/src/useInput.ts index 9c01a4ef2..e4d465873 100644 --- a/packages/components/src/input/src/useInput.ts +++ b/packages/components/src/input/src/useInput.ts @@ -1,7 +1,7 @@ import { ChangeEvent, ChangeEventHandler, ForwardedRef } from "react"; -import { cssModule, isNil, isNumber, mergeClasses, normalizeSize, Size, useAutoFocus, useEventCallback, useMergedRefs } from "../../shared/index.ts" +import { cssModule, isNil, isNumber, mergeClasses, normalizeSize, Size, useAutoFocus, useEventCallback, useMergedRefs } from "../../shared/index.ts"; -import { ValidationState } from "./types"; +import { ValidationState } from "./types.ts"; export interface UseInputProps { active?: boolean; diff --git a/packages/components/src/layout/src/Inline.tsx b/packages/components/src/layout/src/Inline.tsx index 1b49cb017..3031dcee7 100644 --- a/packages/components/src/layout/src/Inline.tsx +++ b/packages/components/src/layout/src/Inline.tsx @@ -1,7 +1,7 @@ -import { ColumnGapProp, GapProp, ResponsiveProp, RowGapProp, useResponsiveValue } from "../../styling/index.ts" +import { ColumnGapProp, GapProp, ResponsiveProp, RowGapProp, useResponsiveValue } from "../../styling/index.ts"; import { ComponentProps, ReactNode, forwardRef } from "react"; -import { Flex, FlexAlignmentProp, useFlexAlignment } from "./Flex"; -import { InternalProps, OmitInternalProps, SlotProps, StyledComponentProps, mergeProps } from "../../shared/index.ts" +import { Flex, FlexAlignmentProp, useFlexAlignment } from "./Flex.tsx"; +import { InternalProps, OmitInternalProps, SlotProps, StyledComponentProps, mergeProps } from "../../shared/index.ts"; const DefaultElement = "div"; diff --git a/packages/components/src/layout/src/Stack.tsx b/packages/components/src/layout/src/Stack.tsx index 276224aab..63e2294b1 100644 --- a/packages/components/src/layout/src/Stack.tsx +++ b/packages/components/src/layout/src/Stack.tsx @@ -1,7 +1,7 @@ -import { ColumnGapProp, GapProp, ResponsiveProp, RowGapProp, useResponsiveValue } from "../../styling/index.ts" +import { ColumnGapProp, GapProp, ResponsiveProp, RowGapProp, useResponsiveValue } from "../../styling/index.ts"; import { ComponentProps, ReactNode, forwardRef } from "react"; -import { Flex, FlexAlignmentProp, useFlexAlignment } from "./Flex"; -import { InternalProps, OmitInternalProps, SlotProps, StyledComponentProps, mergeProps } from "../../shared/index.ts" +import { Flex, FlexAlignmentProp, useFlexAlignment } from "./Flex.tsx"; +import { InternalProps, OmitInternalProps, SlotProps, StyledComponentProps, mergeProps } from "../../shared/index.ts"; const DefaultElement = "div"; diff --git a/packages/components/src/link/docs/Link.stories.tsx b/packages/components/src/link/docs/Link.stories.tsx index b97341253..6ea08adad 100644 --- a/packages/components/src/link/docs/Link.stories.tsx +++ b/packages/components/src/link/docs/Link.stories.tsx @@ -1,11 +1,11 @@ import { SparklesIcon } from "@hopper-ui/icons"; -import { GalaxyLargeImage } from "./assets"; +import { GalaxyLargeImage } from "./assets/index.ts"; import { IconLink, IconLinkAsButton, Link, TextLink, TextLinkAsButton } from "@components/link/index.ts"; import { Image } from "@components/image/index.ts"; import { Inline } from "@components/layout/index.ts"; import { Text } from "@components/typography/index.ts"; import { Meta, StoryObj } from "@storybook/react"; -import { RouterLink } from "./RouterLink"; +import { RouterLink } from "./RouterLink.tsx"; const meta = { title: "Components/Link", diff --git a/packages/components/src/link/src/IconLink.tsx b/packages/components/src/link/src/IconLink.tsx index dc8270cb5..966dac008 100644 --- a/packages/components/src/link/src/IconLink.tsx +++ b/packages/components/src/link/src/IconLink.tsx @@ -1,10 +1,10 @@ -import { AbstractLinkProps } from "./Link"; -import { Box } from "../../box/index.ts" +import { AbstractLinkProps } from "./Link.tsx"; +import { Box } from "../../box/index.ts"; import { Children, ComponentProps, ReactElement, ReactNode, forwardRef } from "react"; -import { LinkVariant, useLink } from "./useLink"; -import { NewTabIndicator } from "./NewTabIndicator"; -import { OmitInternalProps, as, mergeProps } from "../../shared/index.ts" -import { useStyleProps } from "../../styling/index.ts" +import { LinkVariant, useLink } from "./useLink.ts"; +import { NewTabIndicator } from "./NewTabIndicator.tsx"; +import { OmitInternalProps, as, mergeProps } from "../../shared/index.ts"; +import { useStyleProps } from "../../styling/index.ts"; const DefaultElement = "a"; diff --git a/packages/components/src/link/src/Link.tsx b/packages/components/src/link/src/Link.tsx index 014357126..f20338e77 100644 --- a/packages/components/src/link/src/Link.tsx +++ b/packages/components/src/link/src/Link.tsx @@ -1,9 +1,9 @@ -import { Box } from "../../box/index.ts" +import { Box } from "../../box/index.ts"; import { ComponentProps, ElementType, ReactNode, forwardRef } from "react"; -import { InteractionProps, InternalProps, OmitInternalProps, SlotProps, StyledComponentProps, mergeProps } from "../../shared/index.ts" -import { NewTabIndicator } from "./NewTabIndicator"; -import { useLink } from "./useLink"; -import { useStyleProps } from "../../styling/index.ts" +import { InteractionProps, InternalProps, OmitInternalProps, SlotProps, StyledComponentProps, mergeProps } from "../../shared/index.ts"; +import { NewTabIndicator } from "./NewTabIndicator.tsx"; +import { useLink } from "./useLink.ts"; +import { useStyleProps } from "../../styling/index.ts"; export type AbstractLinkProps<T extends ElementType> = // Keep it so it could be used with dynamic slots. diff --git a/packages/components/src/link/src/TextLink.tsx b/packages/components/src/link/src/TextLink.tsx index dbd62c5aa..cdce2bdc0 100644 --- a/packages/components/src/link/src/TextLink.tsx +++ b/packages/components/src/link/src/TextLink.tsx @@ -1,12 +1,12 @@ -import { AbstractLinkProps } from "./Link"; -import { Box } from "../../box/index.ts" +import { AbstractLinkProps } from "./Link.tsx"; +import { Box } from "../../box/index.ts"; import { ComponentProps, ReactNode, forwardRef, useMemo } from "react"; -import { LinkVariant, useLink } from "./useLink"; -import { NewTabIndicator } from "./NewTabIndicator"; -import { OmitInternalProps, as, augmentElement, normalizeSize, cssModule, mergeProps, useSlots } from "../../shared/index.ts" -import { ResponsiveProp, useResponsiveValue, useStyleProps } from "../../styling/index.ts" -import { Text } from "../../typography/index.ts" -import { useFormButton } from "../../form/index.ts" +import { LinkVariant, useLink } from "./useLink.ts"; +import { NewTabIndicator } from "./NewTabIndicator.tsx"; +import { OmitInternalProps, as, augmentElement, normalizeSize, cssModule, mergeProps, useSlots } from "../../shared/index.ts"; +import { ResponsiveProp, useResponsiveValue, useStyleProps } from "../../styling/index.ts"; +import { Text } from "../../typography/index.ts"; +import { useFormButton } from "../../form/index.ts"; const DefaultElement = "a"; diff --git a/packages/components/src/link/tests/chromatic/LaunchImage.tsx b/packages/components/src/link/tests/chromatic/LaunchImage.tsx index 139487b84..40697414b 100644 --- a/packages/components/src/link/tests/chromatic/LaunchImage.tsx +++ b/packages/components/src/link/tests/chromatic/LaunchImage.tsx @@ -1,4 +1,4 @@ -import { Launch } from "./assets"; +import { Launch } from "./assets/index.ts"; import { Image } from "@components/image/index.ts"; export default function LaunchImage() { diff --git a/packages/components/src/link/tests/chromatic/Link.stories.tsx b/packages/components/src/link/tests/chromatic/Link.stories.tsx index 02ea29d78..dd3e55636 100644 --- a/packages/components/src/link/tests/chromatic/Link.stories.tsx +++ b/packages/components/src/link/tests/chromatic/Link.stories.tsx @@ -1,6 +1,6 @@ import { Inline } from "@components/layout/index.ts"; import { Link } from "@components/link/index.ts"; -import LaunchImage from "./LaunchImage"; +import LaunchImage from "./LaunchImage.tsx"; import { Meta, StoryObj } from "@storybook/react"; diff --git a/packages/components/src/link/tests/chromatic/LinkCard.stories.tsx b/packages/components/src/link/tests/chromatic/LinkCard.stories.tsx index b733fabe5..788477ff8 100644 --- a/packages/components/src/link/tests/chromatic/LinkCard.stories.tsx +++ b/packages/components/src/link/tests/chromatic/LinkCard.stories.tsx @@ -1,6 +1,6 @@ import { Link } from "@components/link/index.ts"; import { Inline } from "@components/layout/index.ts"; -import Card from "./Card"; +import Card from "./Card.tsx"; import { Meta, StoryObj } from "@storybook/react"; diff --git a/packages/components/src/link/tests/chromatic/LinkImage.stories.tsx b/packages/components/src/link/tests/chromatic/LinkImage.stories.tsx index 8ba5d1200..46f164d9a 100644 --- a/packages/components/src/link/tests/chromatic/LinkImage.stories.tsx +++ b/packages/components/src/link/tests/chromatic/LinkImage.stories.tsx @@ -1,8 +1,8 @@ import { Image } from "@components/image/index.ts"; -import { Launch } from "./assets"; +import { Launch } from "./assets/index.ts"; import { Link } from "@components/link/index.ts"; import { Inline } from "@components/layout/index.ts"; -import LaunchImage from "./LaunchImage"; +import LaunchImage from "./LaunchImage.tsx"; import { Meta, StoryObj } from "@storybook/react"; diff --git a/packages/components/src/listbox/src/Listbox.tsx b/packages/components/src/listbox/src/Listbox.tsx index 487f28126..ec2d0b81a 100644 --- a/packages/components/src/listbox/src/Listbox.tsx +++ b/packages/components/src/listbox/src/Listbox.tsx @@ -1,4 +1,4 @@ -import { CollectionItem, CollectionNode, CollectionSection, NodeType, useCollection, useOnlyCollectionItems, useScrollableCollection } from "../../collection/index.ts" +import { CollectionItem, CollectionNode, CollectionSection, NodeType, useCollection, useOnlyCollectionItems, useScrollableCollection } from "../../collection/index.ts"; import { ComponentProps, KeyboardEvent, ReactNode, SyntheticEvent, forwardRef, useImperativeHandle, useMemo } from "react"; import { FocusManager, @@ -23,14 +23,14 @@ import { useKeyedRovingFocus, useMergedRefs, useRefState -} from "../../shared/index.ts" -import { ResponsiveProp, useResponsiveValue } from "../../styling/index.ts" - -import { Box } from "../../box/index.ts" -import { ListboxContext } from "./ListboxContext"; -import { ListboxOption } from "./ListboxOption"; -import { ListboxSection } from "./ListboxSection"; -import { ValidationState } from "../../input/index.ts" +} from "../../shared/index.ts"; +import { ResponsiveProp, useResponsiveValue } from "../../styling/index.ts"; + +import { Box } from "../../box/index.ts"; +import { ListboxContext } from "./ListboxContext.ts"; +import { ListboxOption } from "./ListboxOption.tsx"; +import { ListboxSection } from "./ListboxSection.tsx"; +import { ValidationState } from "../../input/index.ts"; export const OptionKeyProp = "data-o-ui-key"; diff --git a/packages/components/src/listbox/src/ListboxContext.ts b/packages/components/src/listbox/src/ListboxContext.ts index 3ee7af64c..d1cfb9a89 100644 --- a/packages/components/src/listbox/src/ListboxContext.ts +++ b/packages/components/src/listbox/src/ListboxContext.ts @@ -1,6 +1,6 @@ -import { FocusManager } from "../../shared/index.ts" +import { FocusManager } from "../../shared/index.ts"; import { SyntheticEvent, createContext, useContext } from "react"; -import type { ListboxSelectionMode } from "./Listbox"; +import type { ListboxSelectionMode } from "./Listbox.tsx"; export interface ListboxContextType { focusManager?: FocusManager; diff --git a/packages/components/src/listbox/src/ListboxOption.tsx b/packages/components/src/listbox/src/ListboxOption.tsx index 0985ed41c..891b5fbbc 100644 --- a/packages/components/src/listbox/src/ListboxOption.tsx +++ b/packages/components/src/listbox/src/ListboxOption.tsx @@ -1,6 +1,6 @@ -import { Box } from "../../box/index.ts" +import { Box } from "../../box/index.ts"; import { CheckmarkIcon } from "@hopper-ui/icons"; -import { CollectionItem } from "../../collection/index.ts" +import { CollectionItem } from "../../collection/index.ts"; import { ComponentProps, FocusEvent, KeyboardEvent, MouseEvent, ReactNode, forwardRef, useMemo } from "react"; import { InteractionProps, @@ -14,11 +14,11 @@ import { useEventCallback, useRefState, useSlots -} from "../../shared/index.ts" -import { OptionKeyProp } from "./Listbox"; -import { Text } from "../../typography/index.ts" -import { TooltipTrigger } from "../../tooltip/index.ts" -import { useListboxContext } from "./ListboxContext"; +} from "../../shared/index.ts"; +import { OptionKeyProp } from "./Listbox.tsx"; +import { Text } from "../../typography/index.ts"; +import { TooltipTrigger } from "../../tooltip/index.ts"; +import { useListboxContext } from "./ListboxContext.ts"; const DefaultElement = "div"; diff --git a/packages/components/src/menu/src/Menu.tsx b/packages/components/src/menu/src/Menu.tsx index 949451a78..70cb0669b 100644 --- a/packages/components/src/menu/src/Menu.tsx +++ b/packages/components/src/menu/src/Menu.tsx @@ -1,4 +1,4 @@ -import { CollectionDivider, CollectionItem, CollectionNode, CollectionSection, NodeType, useCollection, useScrollableCollection } from "../../collection/index.ts" +import { CollectionDivider, CollectionItem, CollectionNode, CollectionSection, NodeType, useCollection, useScrollableCollection } from "../../collection/index.ts"; import { ComponentProps, KeyboardEvent, ReactNode, SyntheticEvent, forwardRef } from "react"; import { InternalProps, @@ -21,14 +21,14 @@ import { useKeyedRovingFocus, useMergedRefs, useRefState -} from "../../shared/index.ts" -import { ResponsiveProp, useResponsiveValue } from "../../styling/index.ts" - -import { Box } from "../../box/index.ts" -import { MenuContext } from "./MenuContext"; -import { MenuItem } from "./MenuItem"; -import { MenuSection } from "./MenuSection"; -import { ValidationState } from "../../input/index.ts" +} from "../../shared/index.ts"; +import { ResponsiveProp, useResponsiveValue } from "../../styling/index.ts"; + +import { Box } from "../../box/index.ts"; +import { MenuContext } from "./MenuContext.ts"; +import { MenuItem } from "./MenuItem.tsx"; +import { MenuSection } from "./MenuSection.tsx"; +import { ValidationState } from "../../input/index.ts"; export type MenuSelectionMode = "none" | "single" | "multiple"; diff --git a/packages/components/src/menu/src/MenuContext.ts b/packages/components/src/menu/src/MenuContext.ts index e01dd317b..e7e409546 100644 --- a/packages/components/src/menu/src/MenuContext.ts +++ b/packages/components/src/menu/src/MenuContext.ts @@ -1,5 +1,5 @@ import { SyntheticEvent, createContext, useContext } from "react"; -import type { MenuSelectionMode } from "./Menu"; +import type { MenuSelectionMode } from "./Menu.tsx"; export interface MenuContextType { onSelect?: (event: SyntheticEvent, key: string) => void; diff --git a/packages/components/src/menu/src/MenuItem.tsx b/packages/components/src/menu/src/MenuItem.tsx index 123145065..6cebfc0ff 100644 --- a/packages/components/src/menu/src/MenuItem.tsx +++ b/packages/components/src/menu/src/MenuItem.tsx @@ -1,12 +1,12 @@ -import { Box } from "../../box/index.ts" +import { Box } from "../../box/index.ts"; import { CheckmarkIcon } from "@hopper-ui/icons"; -import { CollectionItem } from "../../collection/index.ts" +import { CollectionItem } from "../../collection/index.ts"; import { ComponentProps, MouseEvent, ReactElement, ReactNode, forwardRef, useMemo } from "react"; -import { InteractionProps, InternalProps, OmitInternalProps, SlotElements, StyledComponentProps, cssModule, isNil, mergeProps, useEventCallback, useSlots } from "../../shared/index.ts" -import { MenuSelectionMode, ItemKeyProp } from "./Menu"; -import { Text } from "../../typography/index.ts" -import { TooltipTrigger } from "../../tooltip/index.ts" -import { useMenuContext } from "./MenuContext"; +import { InteractionProps, InternalProps, OmitInternalProps, SlotElements, StyledComponentProps, cssModule, isNil, mergeProps, useEventCallback, useSlots } from "../../shared/index.ts"; +import { MenuSelectionMode, ItemKeyProp } from "./Menu.tsx"; +import { Text } from "../../typography/index.ts"; +import { TooltipTrigger } from "../../tooltip/index.ts"; +import { useMenuContext } from "./MenuContext.ts"; const DefaultElement = "li"; diff --git a/packages/components/src/menu/src/MenuTrigger.tsx b/packages/components/src/menu/src/MenuTrigger.tsx index ae56b9489..3b11e907c 100644 --- a/packages/components/src/menu/src/MenuTrigger.tsx +++ b/packages/components/src/menu/src/MenuTrigger.tsx @@ -13,12 +13,12 @@ import { useEventCallback, useId, useRefState -} from "../../shared/index.ts" -import { Overlay, PopupPosition, PopupProps, usePopup } from "../../overlay/index.ts" +} from "../../shared/index.ts"; +import { Overlay, PopupPosition, PopupProps, usePopup } from "../../overlay/index.ts"; -import { DisclosureContext } from "../../disclosure/index.ts" -import { MenuTriggerContext } from "./MenuTriggerContext"; -import { useInputGroupMenuAddonProps } from "../../input-group/index.ts" +import { DisclosureContext } from "../../disclosure/index.ts"; +import { MenuTriggerContext } from "./MenuTriggerContext.ts"; +import { useInputGroupMenuAddonProps } from "../../input-group/index.ts"; const DefaultElement = "div"; diff --git a/packages/components/src/modal/docs/Modal.stories.tsx b/packages/components/src/modal/docs/Modal.stories.tsx index 951eceada..1fa3c8991 100644 --- a/packages/components/src/modal/docs/Modal.stories.tsx +++ b/packages/components/src/modal/docs/Modal.stories.tsx @@ -2,7 +2,7 @@ import { Button, ButtonGroup } from "@components/button/index.ts"; import { Card } from "@components/card/index.ts"; import { Overlay } from "@components/overlay/index.ts"; import { Content, Footer, Header } from "@components/placeholders/index.ts"; -import { ET, Planet, SpacePortrait, SpacePortraitHorizontal, TheMartian } from "./assets"; +import { ET, Planet, SpacePortrait, SpacePortraitHorizontal, TheMartian } from "./assets/index.ts"; import { Heading, Paragraph } from "@components/typography/index.ts"; import { Illustration } from "@components/illustration/index.ts"; import { Image } from "@components/image/index.ts"; diff --git a/packages/components/src/modal/tests/chromatic/Modal-hopper.stories.tsx b/packages/components/src/modal/tests/chromatic/Modal-hopper.stories.tsx index 023611938..520f557f2 100644 --- a/packages/components/src/modal/tests/chromatic/Modal-hopper.stories.tsx +++ b/packages/components/src/modal/tests/chromatic/Modal-hopper.stories.tsx @@ -1,4 +1,4 @@ -import { Apollo11Poster, BlueOrigin, Nasa, SpaceX } from "./assets"; +import { Apollo11Poster, BlueOrigin, Nasa, SpaceX } from "./assets/index.ts"; import { Paragraph } from "@components/typography/index.ts"; import { Card } from "@components/card/index.ts"; import { Content } from "@components/placeholders/index.ts"; diff --git a/packages/components/src/modal/tests/chromatic/Modal.stories.tsx b/packages/components/src/modal/tests/chromatic/Modal.stories.tsx index 8c5c6838d..b6669e7f5 100644 --- a/packages/components/src/modal/tests/chromatic/Modal.stories.tsx +++ b/packages/components/src/modal/tests/chromatic/Modal.stories.tsx @@ -1,6 +1,5 @@ -import { Apollo11Poster, BlueOrigin, Nasa, SpaceX } from "./assets"; +import { Apollo11Poster, BlueOrigin, Nasa, SpaceX } from "./assets/index.ts"; import { Heading, Paragraph } from "@components/typography/index.ts"; - import { Button } from "@components/button/index.ts"; import { Card } from "@components/card/index.ts"; import { Content } from "@components/placeholders/index.ts"; diff --git a/packages/components/src/overlay/src/useOverlayLightDismiss.ts b/packages/components/src/overlay/src/useOverlayLightDismiss.ts index eadc45f6b..dd697b3bb 100644 --- a/packages/components/src/overlay/src/useOverlayLightDismiss.ts +++ b/packages/components/src/overlay/src/useOverlayLightDismiss.ts @@ -1,9 +1,9 @@ import { FocusEvent, KeyboardEvent, MouseEvent, SyntheticEvent } from "react"; -import { FocusScope, Keys, isNil, useEventCallback, useFocusWithin } from "../../shared/index.ts" +import { FocusScope, Keys, isNil, useEventCallback, useFocusWithin } from "../../shared/index.ts"; -import { OverlayTrigger } from "./useOverlayTrigger"; -import { isDevToolsBlurEvent } from "./isDevtoolsBlurEvent"; -import { useInteractOutside } from "./useInteractOutside"; +import { OverlayTrigger } from "./useOverlayTrigger.ts"; +import { isDevToolsBlurEvent } from "./isDevtoolsBlurEvent.ts"; +import { useInteractOutside } from "./useInteractOutside.ts"; export interface UseOverlayLightDismissOptions { hideOnEscape?: boolean; diff --git a/packages/components/src/overlay/src/usePopup.ts b/packages/components/src/overlay/src/usePopup.ts index 0f7875d7a..13ab0c1a2 100644 --- a/packages/components/src/overlay/src/usePopup.ts +++ b/packages/components/src/overlay/src/usePopup.ts @@ -1,12 +1,11 @@ -import { OverlayPosition, useOverlayPosition } from "./useOverlayPosition"; -import { PopupType, usePopupAriaProps } from "./usePopupAriaProps"; +import { OverlayPosition, useOverlayPosition } from "./useOverlayPosition.ts"; +import { PopupType, usePopupAriaProps } from "./usePopupAriaProps.ts"; import { SyntheticEvent, useCallback } from "react"; -import { isNil, mergeProps, useControllableState, useEventCallback, useFocusManager, useFocusScope, useMergedRefs } from "../../shared/index.ts" - -import { ResponsiveProp } from "../../styling/index.ts" -import { useOverlayTrigger } from "./useOverlayTrigger"; -import { usePopupLightDismiss } from "./usePopupLightDismiss"; -import { useRestoreFocus } from "./useRestoreFocus"; +import { isNil, mergeProps, useControllableState, useEventCallback, useFocusManager, useFocusScope, useMergedRefs } from "../../shared/index.ts"; +import { ResponsiveProp } from "../../styling/index.ts"; +import { useOverlayTrigger } from "./useOverlayTrigger.ts"; +import { usePopupLightDismiss } from "./usePopupLightDismiss.ts"; +import { useRestoreFocus } from "./useRestoreFocus.ts"; export type PopupAlignment = "start" | "end"; export type PopupDirection = "top" | "bottom"; diff --git a/packages/components/src/overlay/src/usePopupLightDismiss.ts b/packages/components/src/overlay/src/usePopupLightDismiss.ts index 58a1d2ae1..bcee6eaaa 100644 --- a/packages/components/src/overlay/src/usePopupLightDismiss.ts +++ b/packages/components/src/overlay/src/usePopupLightDismiss.ts @@ -1,9 +1,8 @@ import { FocusEvent, KeyboardEvent, RefObject, SyntheticEvent } from "react"; -import { FocusScope, Keys, isNil, mergeProps, useEventCallback, useRefState } from "../../shared/index.ts" -import { UseOverlayLightDismissOptions, useOverlayLightDismiss } from "./useOverlayLightDismiss"; - -import { isDevToolsBlurEvent } from "./isDevtoolsBlurEvent"; -import { isTargetParent } from "./isTargetParent"; +import { FocusScope, Keys, isNil, mergeProps, useEventCallback, useRefState } from "../../shared/index.ts"; +import { UseOverlayLightDismissOptions, useOverlayLightDismiss } from "./useOverlayLightDismiss.ts"; +import { isDevToolsBlurEvent } from "./isDevtoolsBlurEvent.ts"; +import { isTargetParent } from "./isTargetParent.ts"; export function usePopupLightDismiss(triggerRef: RefObject<HTMLElement>, focusScope: FocusScope, { hideOnEscape, diff --git a/packages/components/src/overlay/src/useRestoreFocus.ts b/packages/components/src/overlay/src/useRestoreFocus.ts index a148facac..9bf9c6cdc 100644 --- a/packages/components/src/overlay/src/useRestoreFocus.ts +++ b/packages/components/src/overlay/src/useRestoreFocus.ts @@ -3,10 +3,10 @@ // This restore focus hook only works because we use an animation to fade away the overlay. Without an animation, the active element will always be the body which // will be out of scope. To fix this, it would probably requires this code to become a React element instead of a React hook. -import { FocusScope, Keys, createFocusableTreeWalker, getBodyElement, isNil, useEventCallback, useIsomorphicLayoutEffect, useRefState } from "../../shared/index.ts" +import { FocusScope, Keys, createFocusableTreeWalker, getBodyElement, isNil, useEventCallback, useIsomorphicLayoutEffect, useRefState } from "../../shared/index.ts"; import { KeyboardEvent } from "react"; -import { isElementInViewport } from "./isElementInViewport"; +import { isElementInViewport } from "./isElementInViewport.ts"; export interface UseRestoreFocusOptions { isDisabled?: boolean; diff --git a/packages/components/src/popover/src/PopoverTrigger.tsx b/packages/components/src/popover/src/PopoverTrigger.tsx index 30af2b106..741226212 100644 --- a/packages/components/src/popover/src/PopoverTrigger.tsx +++ b/packages/components/src/popover/src/PopoverTrigger.tsx @@ -7,11 +7,10 @@ import { isNil, mergeProps, resolveChildren -} from "../../shared/index.ts" -import { Overlay, OverlayArrow, PopupPositionProp, PopupProps, usePopup } from "../../overlay/index.ts" -import { useResponsiveValue } from "../../styling/index.ts" - -import { PopoverTriggerContext } from "./PopoverTriggerContext"; +} from "../../shared/index.ts"; +import { Overlay, OverlayArrow, PopupPositionProp, PopupProps, usePopup } from "../../overlay/index.ts"; +import { useResponsiveValue } from "../../styling/index.ts"; +import { PopoverTriggerContext } from "./PopoverTriggerContext.ts"; const DefaultElement = "div"; diff --git a/packages/components/src/popover/tests/chromatic/Popover-hopper.stories.tsx b/packages/components/src/popover/tests/chromatic/Popover-hopper.stories.tsx index ad9755807..401c17583 100644 --- a/packages/components/src/popover/tests/chromatic/Popover-hopper.stories.tsx +++ b/packages/components/src/popover/tests/chromatic/Popover-hopper.stories.tsx @@ -1,7 +1,7 @@ import { Content } from "@components/placeholders/index.ts"; import { Div } from "@components/html/index.ts"; import { Image } from "@components/image/index.ts"; -import { Launch } from "./assets"; +import { Launch } from "./assets/index.ts"; import { Popover } from "@components/popover/index.ts"; import { Button, ButtonGroup, Footer, Form, Heading, Link, TextField } from "@hopper-ui/components"; diff --git a/packages/components/src/popover/tests/chromatic/Popover.stories.tsx b/packages/components/src/popover/tests/chromatic/Popover.stories.tsx index 48eef87bd..d3bfc3f8f 100644 --- a/packages/components/src/popover/tests/chromatic/Popover.stories.tsx +++ b/packages/components/src/popover/tests/chromatic/Popover.stories.tsx @@ -6,7 +6,7 @@ import { Div } from "@components/html/index.ts"; import { Form } from "@components/form/index.ts"; import { Heading } from "@components/typography/index.ts"; import { Image } from "@components/image/index.ts"; -import { Launch } from "./assets"; +import { Launch } from "./assets/index.ts"; import { Popover } from "@components/popover/index.ts"; import { TextInput } from "@components/text-input/index.ts"; import { TextLink } from "@components/link/index.ts"; diff --git a/packages/components/src/select/src/Select.tsx b/packages/components/src/select/src/Select.tsx index 5764c5460..64e40b1fb 100644 --- a/packages/components/src/select/src/Select.tsx +++ b/packages/components/src/select/src/Select.tsx @@ -1,18 +1,18 @@ import { ComponentProps, ReactElement, ReactNode, SyntheticEvent, forwardRef } from "react"; -import { OmitInternalProps, augmentElement, cssModule, isNil, mergeProps } from "../../shared/index.ts" -import { Overlay, OverlayProps, PopupAlignmentProp, PopupDirectionProp } from "../../overlay/index.ts" -import { ResponsiveProp, useResponsiveValue } from "../../styling/index.ts" +import { OmitInternalProps, augmentElement, cssModule, isNil, mergeProps } from "../../shared/index.ts"; +import { Overlay, OverlayProps, PopupAlignmentProp, PopupDirectionProp } from "../../overlay/index.ts"; +import { ResponsiveProp, useResponsiveValue } from "../../styling/index.ts"; -import { AbstractInputProps } from "../../input/index.ts" -import { Box } from "../../box/index.ts" -import { DisclosureArrow } from "../../disclosure/index.ts" -import { HiddenSelect } from "./HiddenSelect"; -import { Listbox } from "../../listbox/index.ts" -import { Span } from "../../html/index.ts" -import { Text } from "../../typography/index.ts" -import { useFieldInputProps } from "../../field/index.ts" -import { useInputGroupSelectAddonProps } from "../../input-group/index.ts" -import { useSelect } from "./useSelect"; +import { AbstractInputProps } from "../../input/index.ts"; +import { Box } from "../../box/index.ts"; +import { DisclosureArrow } from "../../disclosure/index.ts"; +import { HiddenSelect } from "./HiddenSelect.tsx"; +import { Listbox } from "../../listbox/index.ts"; +import { Span } from "../../html/index.ts"; +import { Text } from "../../typography/index.ts"; +import { useFieldInputProps } from "../../field/index.ts"; +import { useInputGroupSelectAddonProps } from "../../input-group/index.ts"; +import { useSelect } from "./useSelect.tsx"; const DefaultElement = "button"; diff --git a/packages/components/src/shared/src/CheckableContext.ts b/packages/components/src/shared/src/CheckableContext.ts index eed34ccbf..418151ee2 100644 --- a/packages/components/src/shared/src/CheckableContext.ts +++ b/packages/components/src/shared/src/CheckableContext.ts @@ -1,5 +1,5 @@ import { SyntheticEvent, createContext, useContext } from "react"; -import { isArray, isNil } from "./assertions"; +import { isArray, isNil } from "./assertions.ts"; export interface CheckableContextType { checkedValue?: string | string[]; diff --git a/packages/components/src/shared/src/arrayify.ts b/packages/components/src/shared/src/arrayify.ts index ca59420e5..62a77d6b8 100644 --- a/packages/components/src/shared/src/arrayify.ts +++ b/packages/components/src/shared/src/arrayify.ts @@ -1,4 +1,4 @@ -import { isArray, isNil } from "./assertions"; +import { isArray, isNil } from "./assertions.ts"; export function arrayify<T>(value: T | T[]) { if (isNil(value)) { diff --git a/packages/components/src/shared/src/as.tsx b/packages/components/src/shared/src/as.tsx index 504a5a31b..f4f29a0e9 100644 --- a/packages/components/src/shared/src/as.tsx +++ b/packages/components/src/shared/src/as.tsx @@ -1,6 +1,6 @@ import { ComponentProps, ElementRef, ElementType, JSXElementConstructor, forwardRef } from "react"; -import { Merge } from "./type-fest"; -import { mergeProps } from "./mergeProps"; +import { Merge } from "./type-fest.ts"; +import { mergeProps } from "./mergeProps.ts"; export interface AsOptions { normalizeStyles?: boolean; diff --git a/packages/components/src/shared/src/augmentElement.tsx b/packages/components/src/shared/src/augmentElement.tsx index 8fae30d94..0c8bf7725 100644 --- a/packages/components/src/shared/src/augmentElement.tsx +++ b/packages/components/src/shared/src/augmentElement.tsx @@ -1,6 +1,6 @@ import { ReactElement, RefAttributes, cloneElement } from "react"; -import { Size, SizeAdapter, normalizeSize } from "./size"; -import { mergeProps } from "./mergeProps"; +import { Size, SizeAdapter, normalizeSize } from "./size.ts"; +import { mergeProps } from "./mergeProps.ts"; export function augmentElement(element: ReactElement & RefAttributes<any>, newProps: Record<string, any>) { const augmentedProps = mergeProps({ ...element.props, ref: element.ref }, newProps); diff --git a/packages/components/src/shared/src/dom.ts b/packages/components/src/shared/src/dom.ts index edbb5e4df..0589be440 100644 --- a/packages/components/src/shared/src/dom.ts +++ b/packages/components/src/shared/src/dom.ts @@ -1,4 +1,4 @@ -import { isNil } from "./assertions"; +import { isNil } from "./assertions.ts"; export function canUseDOM(): boolean { return ( diff --git a/packages/components/src/shared/src/focusableTreeWalker.ts b/packages/components/src/shared/src/focusableTreeWalker.ts index e063bf371..936c4c3d7 100644 --- a/packages/components/src/shared/src/focusableTreeWalker.ts +++ b/packages/components/src/shared/src/focusableTreeWalker.ts @@ -1,6 +1,6 @@ // Inspired from: https://github.com/adobe/react-spectrum/blob/main/packages/%40react-aria/focus/src/FocusScope.tsx. -import { isNil } from "./assertions"; +import { isNil } from "./assertions.ts"; function isStyleVisible(element: Element) { if (!(element instanceof HTMLElement) && !(element instanceof SVGElement)) { diff --git a/packages/components/src/shared/src/keys.ts b/packages/components/src/shared/src/keys.ts index cd464cd01..22b986a67 100644 --- a/packages/components/src/shared/src/keys.ts +++ b/packages/components/src/shared/src/keys.ts @@ -1,4 +1,4 @@ -import { isNilOrEmpty } from "./assertions"; +import { isNilOrEmpty } from "./assertions.ts"; // https://developer.mozilla.org/en-US/docs/Web/API/KeyboardEvent/key/Key_Values export enum Keys { diff --git a/packages/components/src/shared/src/mergeProps.ts b/packages/components/src/shared/src/mergeProps.ts index 8f1508ccc..b9ca01b59 100644 --- a/packages/components/src/shared/src/mergeProps.ts +++ b/packages/components/src/shared/src/mergeProps.ts @@ -1,8 +1,8 @@ -import { isFunction, isNil, isUndefined } from "./assertions"; -import { UnionToIntersection } from "./type-fest"; -import { createChainedFunction } from "./useChainedEventCallback"; -import { mergeClasses } from "./mergeClasses"; -import { mergeRefs } from "./useMergedRefs"; +import { isFunction, isNil, isUndefined } from "./assertions.ts"; +import { UnionToIntersection } from "./type-fest.ts"; +import { createChainedFunction } from "./useChainedEventCallback.ts"; +import { mergeClasses } from "./mergeClasses.ts"; +import { mergeRefs } from "./useMergedRefs.ts"; export interface CompositeKeyWeakMapNode<T> { map: WeakMap<any, any>; diff --git a/packages/components/src/shared/src/resolveChildren.ts b/packages/components/src/shared/src/resolveChildren.ts index b63c16a25..d5959182a 100644 --- a/packages/components/src/shared/src/resolveChildren.ts +++ b/packages/components/src/shared/src/resolveChildren.ts @@ -1,6 +1,6 @@ import { ReactNode } from "react"; import { isFragment } from "react-is"; -import { isFunction } from "./assertions"; +import { isFunction } from "./assertions.ts"; // Support first level fragment: https://github.com/facebook/react/issues/11859. export function resolveFragment(children: ReactNode): ReactNode { diff --git a/packages/components/src/shared/src/slots.tsx b/packages/components/src/shared/src/slots.tsx index 25b0aaa59..d63f5c771 100644 --- a/packages/components/src/shared/src/slots.tsx +++ b/packages/components/src/shared/src/slots.tsx @@ -1,7 +1,7 @@ import { Children, ComponentType, ReactElement, ReactNode, useMemo } from "react"; -import { augmentElement } from "./augmentElement"; -import { isEmptyArray, isFunction, isNil, isString, isUndefined } from "./assertions"; -import { resolveChildren } from "./resolveChildren"; +import { augmentElement } from "./augmentElement.tsx"; +import { isEmptyArray, isFunction, isNil, isString, isUndefined } from "./assertions.ts"; +import { resolveChildren } from "./resolveChildren.ts"; const SlotKey = "__slot__"; diff --git a/packages/components/src/shared/src/useAutoFocus.ts b/packages/components/src/shared/src/useAutoFocus.ts index fa9e534b7..2364f3034 100644 --- a/packages/components/src/shared/src/useAutoFocus.ts +++ b/packages/components/src/shared/src/useAutoFocus.ts @@ -1,9 +1,8 @@ -import { FocusManager, FocusManagerHandlers, FocusManagerIterationOptions, FocusManagerScopeOptions } from "./useFocusManager"; +import { FocusManager, FocusManagerHandlers, FocusManagerIterationOptions, FocusManagerScopeOptions } from "./useFocusManager.ts"; import { RefObject, useCallback, useEffect } from "react"; - -import { FocusTarget } from "./focusTarget"; -import { createDisposables } from "./useDisposables"; -import { useChainedEventCallback } from "./useChainedEventCallback"; +import { FocusTarget } from "./focusTarget.ts"; +import { createDisposables } from "./useDisposables.ts"; +import { useChainedEventCallback } from "./useChainedEventCallback.ts"; export interface AbstractAutoFocusOptions { delay?: number; diff --git a/packages/components/src/shared/src/useChainedEventCallback.ts b/packages/components/src/shared/src/useChainedEventCallback.ts index 673a01786..17cae3f26 100644 --- a/packages/components/src/shared/src/useChainedEventCallback.ts +++ b/packages/components/src/shared/src/useChainedEventCallback.ts @@ -1,6 +1,6 @@ // Copied from https://github.com/react-bootstrap/react-bootstrap/blob/master/src/createChainedFunction.js. -import { useEventCallback } from "./useEventCallback"; +import { useEventCallback } from "./useEventCallback.ts"; type ChainableFunction = (...args: any[]) => void; diff --git a/packages/components/src/shared/src/useControllableState.ts b/packages/components/src/shared/src/useControllableState.ts index 3ec727c9a..6c72d005d 100644 --- a/packages/components/src/shared/src/useControllableState.ts +++ b/packages/components/src/shared/src/useControllableState.ts @@ -1,6 +1,6 @@ -import { isFunction, isUndefined } from "./assertions"; +import { isFunction, isUndefined } from "./assertions.ts"; import { useCallback, useRef } from "react"; -import { useRefState } from "./useRefState"; +import { useRefState } from "./useRefState.ts"; function validatePrerequisites<T>(controlledValue: T, initialValue: T) { if (!isUndefined(controlledValue) && !isUndefined(initialValue)) { diff --git a/packages/components/src/shared/src/useEventCallback.ts b/packages/components/src/shared/src/useEventCallback.ts index 6d2783acc..61a936371 100644 --- a/packages/components/src/shared/src/useEventCallback.ts +++ b/packages/components/src/shared/src/useEventCallback.ts @@ -1,8 +1,8 @@ // Copied from https://github.com/react-restart/hooks/blob/master/src/useEventCallback.ts. -import { isNil } from "./assertions"; +import { isNil } from "./assertions.ts"; import { useCallback } from "react"; -import { useCommittedRef } from "./useCommittedRef"; +import { useCommittedRef } from "./useCommittedRef.ts"; export function useEventCallback<TCallback extends (...args: any[]) => void>(callback: TCallback | null): TCallback { const ref = useCommittedRef(callback); diff --git a/packages/components/src/shared/src/useEventListener.ts b/packages/components/src/shared/src/useEventListener.ts index 61d8c44b1..6f48aedb3 100644 --- a/packages/components/src/shared/src/useEventListener.ts +++ b/packages/components/src/shared/src/useEventListener.ts @@ -1,4 +1,4 @@ -import { isFunction, isNil } from "./assertions"; +import { isFunction, isNil } from "./assertions.ts"; import { useCallback, useEffect } from "react"; export function useEventListener(eventTarget: EventTarget | (() => EventTarget), eventName: string, listener: EventListenerOrEventListenerObject | null, active = true, options?: EventListenerOptions) { diff --git a/packages/components/src/shared/src/useFocusManager.ts b/packages/components/src/shared/src/useFocusManager.ts index 4429d6fad..b09953b49 100644 --- a/packages/components/src/shared/src/useFocusManager.ts +++ b/packages/components/src/shared/src/useFocusManager.ts @@ -1,8 +1,6 @@ -import { FocusScope, FocusScopeIterator } from "./useFocusScope"; -import { isFunction, isNil } from "./assertions"; - -import { ChildScopesOptions } from "."; -import { FocusTarget } from "./focusTarget"; +import { FocusScope, FocusScopeIterator, type ChildScopesOptions } from "./useFocusScope.ts"; +import { isFunction, isNil } from "./assertions.ts"; +import { FocusTarget } from "./focusTarget.ts"; import { useMemo } from "react"; export interface FocusManagerOptions { diff --git a/packages/components/src/shared/src/useFocusScope.ts b/packages/components/src/shared/src/useFocusScope.ts index 42eaa9612..87edac2f2 100644 --- a/packages/components/src/shared/src/useFocusScope.ts +++ b/packages/components/src/shared/src/useFocusScope.ts @@ -1,8 +1,7 @@ import { RefObject, createContext, useCallback, useContext, useEffect, useMemo } from "react"; -import { createFocusableTreeWalker, isFocusableElement } from "./focusableTreeWalker"; - -import { isNil } from "./assertions"; -import { useRefState } from "./useRefState"; +import { createFocusableTreeWalker, isFocusableElement } from "./focusableTreeWalker.ts"; +import { isNil } from "./assertions.ts"; +import { useRefState } from "./useRefState.ts"; export interface ChildScopesOptions { includeChildScopes?: boolean; diff --git a/packages/components/src/shared/src/useFocusWithin.ts b/packages/components/src/shared/src/useFocusWithin.ts index e9653bd11..fb83d19b5 100644 --- a/packages/components/src/shared/src/useFocusWithin.ts +++ b/packages/components/src/shared/src/useFocusWithin.ts @@ -1,7 +1,7 @@ import { FocusEvent } from "react"; -import { isNil } from "./assertions"; -import { useEventCallback } from "./useEventCallback"; -import { useRefState } from "./useRefState"; +import { isNil } from "./assertions.ts"; +import { useEventCallback } from "./useEventCallback.ts"; +import { useRefState } from "./useRefState.ts"; export interface UseFocusWithinOptions { isDisabled?: boolean; diff --git a/packages/components/src/shared/src/useHasChild.ts b/packages/components/src/shared/src/useHasChild.ts index 690ff4213..fa9016887 100644 --- a/packages/components/src/shared/src/useHasChild.ts +++ b/packages/components/src/shared/src/useHasChild.ts @@ -1,8 +1,8 @@ // These hooks are a "temporary" solution until CSS Selector 4 (and :has with complex combinators) is available. import { RefObject, useState } from "react"; -import { isNil } from "./assertions"; -import { useIsomorphicLayoutEffect } from "./useIsomorphicLayoutEffect"; +import { isNil } from "./assertions.ts"; +import { useIsomorphicLayoutEffect } from "./useIsomorphicLayoutEffect.tsx"; export function useHasChild(querySelector: string, rootRef: RefObject<HTMLElement>) { const [result, setResult] = useState(false); diff --git a/packages/components/src/shared/src/useId.ts b/packages/components/src/shared/src/useId.ts index 20eac701d..fb0648fa3 100644 --- a/packages/components/src/shared/src/useId.ts +++ b/packages/components/src/shared/src/useId.ts @@ -1,4 +1,4 @@ -import { isNil } from "./assertions"; +import { isNil } from "./assertions.ts"; import { useId as _useId } from "react"; export function useId(userId?: string, prefix?: string) { diff --git a/packages/components/src/shared/src/useIsInitialRender.ts b/packages/components/src/shared/src/useIsInitialRender.ts index 472b8f2bc..56a41ee45 100644 --- a/packages/components/src/shared/src/useIsInitialRender.ts +++ b/packages/components/src/shared/src/useIsInitialRender.ts @@ -1,5 +1,5 @@ import { useEffect } from "react"; -import { useRefState } from "./useRefState"; +import { useRefState } from "./useRefState.ts"; export function useIsInitialRender() { const [isInitialRef, setIsInitial] = useRefState(true); diff --git a/packages/components/src/shared/src/useIsomorphicLayoutEffect.tsx b/packages/components/src/shared/src/useIsomorphicLayoutEffect.tsx index 26d680306..215ce749a 100644 --- a/packages/components/src/shared/src/useIsomorphicLayoutEffect.tsx +++ b/packages/components/src/shared/src/useIsomorphicLayoutEffect.tsx @@ -1,5 +1,5 @@ import * as React from "react"; -import { isBrowser } from "./dom"; +import { isBrowser } from "./dom.ts"; /** * useIsomorphicLayoutEffect enables us to safely call `useLayoutEffect` on the browser diff --git a/packages/components/src/shared/src/useKeyboardNavigation.ts b/packages/components/src/shared/src/useKeyboardNavigation.ts index 34e3d82f7..d3f892d36 100644 --- a/packages/components/src/shared/src/useKeyboardNavigation.ts +++ b/packages/components/src/shared/src/useKeyboardNavigation.ts @@ -1,9 +1,9 @@ import { KeyboardEvent, KeyboardEventHandler } from "react"; -import { FocusManager } from "./useFocusManager"; -import { Keys } from "./keys"; -import { isNil } from "./assertions"; -import { useEventCallback } from "./useEventCallback"; +import { FocusManager } from "./useFocusManager.ts"; +import { Keys } from "./keys.ts"; +import { isNil } from "./assertions.ts"; +import { useEventCallback } from "./useEventCallback.ts"; export interface KeyboardNavigationOptions { onCanSelect?: (event: KeyboardEvent, element: Element, key: Keys) => boolean; diff --git a/packages/components/src/shared/src/useMergedRefs.ts b/packages/components/src/shared/src/useMergedRefs.ts index e317148ad..3b2a2b7c1 100644 --- a/packages/components/src/shared/src/useMergedRefs.ts +++ b/packages/components/src/shared/src/useMergedRefs.ts @@ -1,5 +1,5 @@ import { MutableRefObject, RefCallback, RefObject, SetStateAction, useCallback } from "react"; -import { isFunction, isNil } from "./assertions"; +import { isFunction, isNil } from "./assertions.ts"; export type AssignableRef<T> = MutableRefObject<T> | RefCallback<T>; diff --git a/packages/components/src/shared/src/useRefState.ts b/packages/components/src/shared/src/useRefState.ts index ac649a5f1..e11e9c042 100644 --- a/packages/components/src/shared/src/useRefState.ts +++ b/packages/components/src/shared/src/useRefState.ts @@ -1,5 +1,5 @@ import { RefObject, useCallback, useRef } from "react"; -import { useForceRender } from "./useForceRender"; +import { useForceRender } from "./useForceRender.ts"; export function useRefState<T>(initialValue?: T): [RefObject<T>, (newValue: T, rerender?: boolean) => void] { const forceRender = useForceRender(); diff --git a/packages/components/src/shared/src/useResizeObserver.ts b/packages/components/src/shared/src/useResizeObserver.ts index 2cf92e077..5248bbc29 100644 --- a/packages/components/src/shared/src/useResizeObserver.ts +++ b/packages/components/src/shared/src/useResizeObserver.ts @@ -1,7 +1,7 @@ // Inspired from https://github.com/react-restart/hooks/blob/master/src/useResizeObserver.ts. import { RefCallback, RefObject, useCallback, useRef } from "react"; -import { isFunction, isNil } from "./assertions"; +import { isFunction, isNil } from "./assertions.ts"; interface MapValue { elementRef: RefObject<HTMLElement>; diff --git a/packages/components/src/shared/src/useRovingFocus.ts b/packages/components/src/shared/src/useRovingFocus.ts index 8e10ee651..a7d9bb877 100644 --- a/packages/components/src/shared/src/useRovingFocus.ts +++ b/packages/components/src/shared/src/useRovingFocus.ts @@ -1,7 +1,7 @@ -import type { FocusScope, ScopeChangeEventHandler } from "./useFocusScope"; +import type { FocusScope, ScopeChangeEventHandler } from "./useFocusScope.ts"; -import { isNil } from "./assertions"; -import { useIsomorphicLayoutEffect } from "./useIsomorphicLayoutEffect"; +import { isNil } from "./assertions.ts"; +import { useIsomorphicLayoutEffect } from "./useIsomorphicLayoutEffect.tsx"; export interface UseRovingFocusOptions { isDisabled?: boolean; diff --git a/packages/components/src/styling/src/BreakpointProvider.tsx b/packages/components/src/styling/src/BreakpointProvider.tsx index 55f83ca6e..7f2cfa35c 100644 --- a/packages/components/src/styling/src/BreakpointProvider.tsx +++ b/packages/components/src/styling/src/BreakpointProvider.tsx @@ -1,6 +1,6 @@ import { ReactNode, createContext, useCallback, useContext, useEffect, useState } from "react"; -import { isNil } from "../../shared/index.ts" -import { supportsMatchMedia } from "./useMediaQuery"; +import { isNil } from "../../shared/index.ts"; +import { supportsMatchMedia } from "./useMediaQuery.ts"; import { useDebouncedCallback } from "use-debounce"; /* eslint-disable sort-keys-fix/sort-keys-fix */ diff --git a/packages/components/src/styling/src/ColorSchemeContext.ts b/packages/components/src/styling/src/ColorSchemeContext.ts index 0d4695439..ae2a09af4 100644 --- a/packages/components/src/styling/src/ColorSchemeContext.ts +++ b/packages/components/src/styling/src/ColorSchemeContext.ts @@ -1,6 +1,6 @@ import { createContext, useContext } from "react"; -import { ColorScheme } from "./useColorScheme"; +import { ColorScheme } from "./useColorScheme.ts"; export interface ColorSchemeContextType { colorScheme?: ColorScheme; diff --git a/packages/components/src/styling/src/styled-system/StylingContext.ts b/packages/components/src/styling/src/styled-system/StylingContext.ts index 998d4856e..de9a29e40 100644 --- a/packages/components/src/styling/src/styled-system/StylingContext.ts +++ b/packages/components/src/styling/src/styled-system/StylingContext.ts @@ -1,6 +1,6 @@ -import { Breakpoint } from "../BreakpointProvider"; +import { Breakpoint } from "../BreakpointProvider.tsx"; import { CSSProperties } from "react"; -import { isNil } from "../../../shared"; +import { isNil } from "../../../shared/index.ts"; export class StylingContext { private classes: string[]; diff --git a/packages/components/src/styling/src/styled-system/props-handler.ts b/packages/components/src/styling/src/styled-system/props-handler.ts index 7382b5b9b..7d3023b4a 100644 --- a/packages/components/src/styling/src/styled-system/props-handler.ts +++ b/packages/components/src/styling/src/styled-system/props-handler.ts @@ -14,12 +14,12 @@ import { LineHeightPrefix, LineHeightSemanticSuffix, normalizeVariable -} from "./theme-vars-utils"; -import { Breakpoint } from "../BreakpointProvider"; +} from "./theme-vars-utils.ts"; +import { Breakpoint } from "../BreakpointProvider.tsx"; import { Globals, Property } from "csstype"; -import { ResponsiveProp, parseResponsiveValue } from "../useResponsiveValue"; -import { isNil, LiteralUnion } from "../../../shared"; -import { StylingContext } from "./StylingContext"; +import { ResponsiveProp, parseResponsiveValue } from "../useResponsiveValue.tsx"; +import { isNil, LiteralUnion } from "../../../shared/index.ts"; +import { StylingContext } from "./StylingContext.ts"; export const GlobalValues = [ "inherit", diff --git a/packages/components/src/styling/src/styled-system/theme-vars-utils.ts b/packages/components/src/styling/src/styled-system/theme-vars-utils.ts index 156e161fb..0fc900fbe 100644 --- a/packages/components/src/styling/src/styled-system/theme-vars-utils.ts +++ b/packages/components/src/styling/src/styled-system/theme-vars-utils.ts @@ -1,4 +1,4 @@ -import { isNil } from "../../../shared"; +import { isNil } from "../../../shared/index.ts"; export function normalizeVariable(name: string | number, nameOptions?: { prefix?: string; diff --git a/packages/components/src/styling/src/styled-system/useStyledSystem.ts b/packages/components/src/styling/src/styled-system/useStyledSystem.ts index 39cbf63ed..1c76289c7 100644 --- a/packages/components/src/styling/src/styled-system/useStyledSystem.ts +++ b/packages/components/src/styling/src/styled-system/useStyledSystem.ts @@ -1,8 +1,8 @@ -import { useMatchedBreakpoints } from "../BreakpointProvider"; +import { useMatchedBreakpoints } from "../BreakpointProvider.tsx"; import { useMemo } from "react"; -import { isNil } from "../../../shared"; -import { StylingContext } from "./StylingContext"; -import { PropsHandlers, StyledSystemProps } from "./props-handler"; +import { isNil } from "../../../shared/index.ts"; +import { StylingContext } from "./StylingContext.ts"; +import { PropsHandlers, StyledSystemProps } from "./props-handler.ts"; /* SYNTAX: diff --git a/packages/components/src/styling/src/theming/ThemeProvider.tsx b/packages/components/src/styling/src/theming/ThemeProvider.tsx index 4784efeb2..872c9b7e5 100644 --- a/packages/components/src/styling/src/theming/ThemeProvider.tsx +++ b/packages/components/src/styling/src/theming/ThemeProvider.tsx @@ -1,11 +1,11 @@ -import { ColorScheme, ColorSchemeOrSystem, useColorScheme } from "../useColorScheme"; -import { StyledComponentProps, mergeClasses, mergeProps, OmitInternalProps, omitProps } from "../../../shared"; +import { ColorScheme, ColorSchemeOrSystem, useColorScheme } from "../useColorScheme.ts"; +import { StyledComponentProps, mergeClasses, mergeProps, OmitInternalProps, omitProps } from "../../../shared/index.ts"; import { ComponentProps, ForwardedRef, forwardRef, ReactNode, useCallback, useState } from "react"; import { StyledSystemProvider } from "@hopper-ui/styled-system"; -import { BreakpointProvider } from "../BreakpointProvider"; -import { ColorSchemeContext } from "../ColorSchemeContext"; -import { useStyledSystem } from ".."; +import { BreakpointProvider } from "../BreakpointProvider.tsx"; +import { ColorSchemeContext } from "../ColorSchemeContext.ts"; +import { useStyledSystem } from "../styled-system/index.ts"; const DefaultElement = "div"; diff --git a/packages/components/src/styling/src/theming/useThemeComputedStyle.ts b/packages/components/src/styling/src/theming/useThemeComputedStyle.ts index 982c31572..e141ac3d2 100644 --- a/packages/components/src/styling/src/theming/useThemeComputedStyle.ts +++ b/packages/components/src/styling/src/theming/useThemeComputedStyle.ts @@ -1,5 +1,5 @@ import { RefObject, useMemo } from "react"; -import { isNil } from "../../../shared"; +import { isNil } from "../../../shared/index.ts"; export function toPixelValue(value: string) { if (value.endsWith("rem")) { diff --git a/packages/components/src/styling/src/useColorScheme.ts b/packages/components/src/styling/src/useColorScheme.ts index 017a99ba3..2fce29159 100644 --- a/packages/components/src/styling/src/useColorScheme.ts +++ b/packages/components/src/styling/src/useColorScheme.ts @@ -1,6 +1,6 @@ -import { isNil } from "../../shared/index.ts" +import { isNil } from "../../shared/index.ts"; import { useEffect } from "react"; -import { useMediaQuery } from "./useMediaQuery"; +import { useMediaQuery } from "./useMediaQuery.ts"; export type ColorScheme = "light" | "dark"; diff --git a/packages/components/src/styling/src/useColorSchemeValue.ts b/packages/components/src/styling/src/useColorSchemeValue.ts index d317b9032..1cf820cad 100644 --- a/packages/components/src/styling/src/useColorSchemeValue.ts +++ b/packages/components/src/styling/src/useColorSchemeValue.ts @@ -1,4 +1,4 @@ -import { useColorSchemeContext } from "./ColorSchemeContext"; +import { useColorSchemeContext } from "./ColorSchemeContext.ts"; export function useColorSchemeValue(lightColor: string, darkColor: string) { const { colorScheme } = useColorSchemeContext(); diff --git a/packages/components/src/styling/src/useResponsiveValue.tsx b/packages/components/src/styling/src/useResponsiveValue.tsx index c33fe2bf4..1687f0586 100644 --- a/packages/components/src/styling/src/useResponsiveValue.tsx +++ b/packages/components/src/styling/src/useResponsiveValue.tsx @@ -1,5 +1,5 @@ -import { Breakpoint, Breakpoints, useMatchedBreakpoints } from "./BreakpointProvider"; -import { isNil, isObject } from "../../shared/index.ts" +import { Breakpoint, Breakpoints, useMatchedBreakpoints } from "./BreakpointProvider.tsx"; +import { isNil, isObject } from "../../shared/index.ts"; export type ResponsiveValue<T> = Partial<Record<Breakpoint, T>> & { base?: T }; diff --git a/packages/components/src/tabs/src/Tab.tsx b/packages/components/src/tabs/src/Tab.tsx index 5d63bea38..6de21dd8b 100644 --- a/packages/components/src/tabs/src/Tab.tsx +++ b/packages/components/src/tabs/src/Tab.tsx @@ -1,10 +1,10 @@ import { ComponentProps, KeyboardEvent, MouseEvent, ReactNode, SyntheticEvent, forwardRef, useMemo } from "react"; -import { InteractionProps, InternalProps, Keys, OmitInternalProps, StyledComponentProps, cssModule, isNil, mergeProps, useEventCallback, useSlots } from "../../shared/index.ts" +import { InteractionProps, InternalProps, Keys, OmitInternalProps, StyledComponentProps, cssModule, isNil, mergeProps, useEventCallback, useSlots } from "../../shared/index.ts"; -import { Box } from "../../box/index.ts" -import { TabType } from "./useTabsItems"; -import { Text } from "../../typography/index.ts" -import { useTabsContext } from "./TabsContext"; +import { Box } from "../../box/index.ts"; +import { TabType } from "./useTabsItems.ts"; +import { Text } from "../../typography/index.ts"; +import { useTabsContext } from "./TabsContext.ts"; export const TabKeyProp = "data-o-ui-key"; diff --git a/packages/components/src/tabs/src/TabList.tsx b/packages/components/src/tabs/src/TabList.tsx index fb01b5e97..bd824eca7 100644 --- a/packages/components/src/tabs/src/TabList.tsx +++ b/packages/components/src/tabs/src/TabList.tsx @@ -1,5 +1,5 @@ import { ComponentProps, ForwardedRef, KeyboardEvent, RefObject, SyntheticEvent, forwardRef, useCallback, useState } from "react"; -import { Div, HtmlButton } from "../../html/index.ts" +import { Div, HtmlButton } from "../../html/index.ts"; import { FocusScopeContext, InternalProps, @@ -18,14 +18,14 @@ import { useKeyedRovingFocus, useMergedRefs, useRefState -} from "../../shared/index.ts" -import { Overlay, OverlayProps, useOverlayPosition, useOverlayTrigger, usePopupAriaProps, usePopupLightDismiss } from "../../overlay/index.ts" -import { Tab, TabKeyProp } from "./Tab"; - -import { Box } from "../../box/index.ts" -import { TabType } from "./useTabsItems"; -import { useCollapsibleTabs } from "./useCollapsibleTabs"; -import { useTabsContext } from "./TabsContext"; +} from "../../shared/index.ts"; +import { Overlay, OverlayProps, useOverlayPosition, useOverlayTrigger, usePopupAriaProps, usePopupLightDismiss } from "../../overlay/index.ts"; +import { Tab, TabKeyProp } from "./Tab.tsx"; + +import { Box } from "../../box/index.ts"; +import { TabType } from "./useTabsItems.ts"; +import { useCollapsibleTabs } from "./useCollapsibleTabs.ts"; +import { useTabsContext } from "./TabsContext.ts"; const TabGap = 8; const PopoverTriggerWidth = 48; diff --git a/packages/components/src/tabs/src/TabPanel.tsx b/packages/components/src/tabs/src/TabPanel.tsx index f5b915c92..f6beeeb92 100644 --- a/packages/components/src/tabs/src/TabPanel.tsx +++ b/packages/components/src/tabs/src/TabPanel.tsx @@ -1,8 +1,8 @@ import { ComponentProps, ReactNode, forwardRef } from "react"; -import { InternalProps, OmitInternalProps, StyledComponentProps, mergeProps } from "../../shared/index.ts" -import { PanelType } from "./useTabsItems"; -import { Text } from "../../typography/index.ts" -import { useTabsContext } from "./TabsContext"; +import { InternalProps, OmitInternalProps, StyledComponentProps, mergeProps } from "../../shared/index.ts"; +import { PanelType } from "./useTabsItems.ts"; +import { Text } from "../../typography/index.ts"; +import { useTabsContext } from "./TabsContext.ts"; const DefaultElement = "div"; diff --git a/packages/components/src/tabs/src/TabPanels.tsx b/packages/components/src/tabs/src/TabPanels.tsx index d22837c72..b34387c28 100644 --- a/packages/components/src/tabs/src/TabPanels.tsx +++ b/packages/components/src/tabs/src/TabPanels.tsx @@ -1,8 +1,8 @@ -import { Box } from "../../box/index.ts" -import { InternalProps, StyledComponentProps, mergeProps } from "../../shared/index.ts" -import { PanelType } from "./useTabsItems"; +import { Box } from "../../box/index.ts"; +import { InternalProps, StyledComponentProps, mergeProps } from "../../shared/index.ts"; +import { PanelType } from "./useTabsItems.ts"; import { Ref } from "react"; -import { TabPanel } from "./TabPanel"; +import { TabPanel } from "./TabPanel.tsx"; const DefaultElement = "div"; diff --git a/packages/components/src/tabs/src/Tabs.tsx b/packages/components/src/tabs/src/Tabs.tsx index 296a8a9f0..351664087 100644 --- a/packages/components/src/tabs/src/Tabs.tsx +++ b/packages/components/src/tabs/src/Tabs.tsx @@ -1,12 +1,12 @@ import { useMemo, ComponentProps, ReactNode, SyntheticEvent, forwardRef } from "react"; -import { InternalProps, OmitInternalProps, StyledComponentProps, cssModule, isNil, mergeProps, useControllableState, useEventCallback, useId } from "../../shared/index.ts" -import { ResponsiveProp, useResponsiveValue } from "../../styling/index.ts" -import { TabsContext, TabsOrientation, TabsVariant } from "./TabsContext"; - -import { Box } from "../../box/index.ts" -import { TabList } from "./TabList"; -import { TabPanels } from "./TabPanels"; -import { useTabsItems } from "./useTabsItems"; +import { InternalProps, OmitInternalProps, StyledComponentProps, cssModule, isNil, mergeProps, useControllableState, useEventCallback, useId } from "../../shared/index.ts"; +import { ResponsiveProp, useResponsiveValue } from "../../styling/index.ts"; +import { TabsContext, TabsOrientation, TabsVariant } from "./TabsContext.ts"; + +import { Box } from "../../box/index.ts"; +import { TabList } from "./TabList.tsx"; +import { TabPanels } from "./TabPanels.tsx"; +import { useTabsItems } from "./useTabsItems.ts"; const DefaultElement = "div"; diff --git a/packages/components/src/tabs/src/useCollapsibleTabs.ts b/packages/components/src/tabs/src/useCollapsibleTabs.ts index 8b9638a06..a14060fe3 100644 --- a/packages/components/src/tabs/src/useCollapsibleTabs.ts +++ b/packages/components/src/tabs/src/useCollapsibleTabs.ts @@ -1,9 +1,9 @@ // Inspired by: https://codesandbox.io/s/ariakit-collapsible-tab-835t8?file=/src/tab-popover.tsx -import { createDisposables, isNil, useIsomorphicLayoutEffect, useMergedRefs, useRefState, useResizeObserver } from "../../shared/index.ts" +import { createDisposables, isNil, useIsomorphicLayoutEffect, useMergedRefs, useRefState, useResizeObserver } from "../../shared/index.ts"; import { useCallback, useEffect, useRef, useState } from "react"; -import { TabType } from "./useTabsItems"; +import { TabType } from "./useTabsItems.ts"; export interface UseCollapsibleTabsOptions { gap?: number; diff --git a/packages/components/src/tag/src/TagList.tsx b/packages/components/src/tag/src/TagList.tsx index e6b42285d..1337fadc0 100644 --- a/packages/components/src/tag/src/TagList.tsx +++ b/packages/components/src/tag/src/TagList.tsx @@ -1,10 +1,10 @@ -import { Box } from "../../box/index.ts" -import { Button } from "../../button/index.ts" -import { CollectionItem, useCollection } from "../../collection/index.ts" +import { Box } from "../../box/index.ts"; +import { Button } from "../../button/index.ts"; +import { CollectionItem, useCollection } from "../../collection/index.ts"; import { ComponentProps, ReactNode, SyntheticEvent, forwardRef } from "react"; -import { InternalProps, OmitInternalProps, StyledComponentProps, isNil, mergeProps, useEventCallback } from "../../shared/index.ts" -import { Tag, TagProps } from "./Tag"; -import { ValidationState } from "../../input/index.ts" +import { InternalProps, OmitInternalProps, StyledComponentProps, isNil, mergeProps, useEventCallback } from "../../shared/index.ts"; +import { Tag, TagProps } from "./Tag.tsx"; +import { ValidationState } from "../../input/index.ts"; const DefaultElement = "div"; diff --git a/packages/components/src/text-input/src/PasswordInput.tsx b/packages/components/src/text-input/src/PasswordInput.tsx index 7a6dad364..7f50e93a3 100644 --- a/packages/components/src/text-input/src/PasswordInput.tsx +++ b/packages/components/src/text-input/src/PasswordInput.tsx @@ -1,11 +1,11 @@ -import { AbstractTextInputProps, TextInput } from "./TextInput"; +import { AbstractTextInputProps, TextInput } from "./TextInput.tsx"; import { useState, ChangeEvent, ComponentProps, forwardRef } from "react"; import { EyeVisibleIcon, EyeHiddenIcon } from "@hopper-ui/icons"; -import { OmitInternalProps, mergeProps, createSizeAdapter, useControllableState, useEventCallback } from "../../shared/index.ts" -import { useResponsiveValue } from "../../styling/index.ts" +import { OmitInternalProps, mergeProps, createSizeAdapter, useControllableState, useEventCallback } from "../../shared/index.ts"; +import { useResponsiveValue } from "../../styling/index.ts"; -import { IconButton } from "../../button/index.ts" -import { useInputGroupTextInputProps } from "../../input-group/index.ts" +import { IconButton } from "../../button/index.ts"; +import { useInputGroupTextInputProps } from "../../input-group/index.ts"; const DefaultElement = "input"; diff --git a/packages/components/src/tile/docs/Tile.stories.tsx b/packages/components/src/tile/docs/Tile.stories.tsx index 78ccb90d9..a0fd7b0f3 100644 --- a/packages/components/src/tile/docs/Tile.stories.tsx +++ b/packages/components/src/tile/docs/Tile.stories.tsx @@ -5,7 +5,7 @@ import { Tile, TileGroup, TileLink } from "@components/tile/index.ts"; import { Content } from "@components/placeholders/index.ts"; import { Div } from "@components/html/index.ts"; import { Heading } from "@components/typography/index.ts"; -import { Planet, SpacePortraitHorizontal, SpacePortrait } from "./assets"; +import { Planet, SpacePortraitHorizontal, SpacePortrait } from "./assets/index.ts"; import { useCallback, useState } from "react"; import { Meta, StoryObj } from "@storybook/react"; diff --git a/packages/components/src/tile/src/Tile.tsx b/packages/components/src/tile/src/Tile.tsx index c83f4b87a..8cf26a712 100644 --- a/packages/components/src/tile/src/Tile.tsx +++ b/packages/components/src/tile/src/Tile.tsx @@ -1,4 +1,4 @@ -import { Box } from "../../box/index.ts" +import { Box } from "../../box/index.ts"; import { ComponentProps, MouseEvent, ReactNode, SyntheticEvent, forwardRef } from "react"; import { InteractionProps, @@ -14,9 +14,9 @@ import { useControllableState, useEventCallback, useMergedRefs -} from "../../shared/index.ts" -import { ResponsiveProp, useResponsiveValue } from "../../styling/index.ts" -import { TileOrientation, useTile } from "./useTile"; +} from "../../shared/index.ts"; +import { ResponsiveProp, useResponsiveValue } from "../../styling/index.ts"; +import { TileOrientation, useTile } from "./useTile.tsx"; const DefaultElement = "button"; diff --git a/packages/components/src/tile/src/TileLink.tsx b/packages/components/src/tile/src/TileLink.tsx index db7dd348a..2d9ab0ece 100644 --- a/packages/components/src/tile/src/TileLink.tsx +++ b/packages/components/src/tile/src/TileLink.tsx @@ -1,8 +1,8 @@ -import { AbstractLinkProps, Link } from "../../link/index.ts" +import { AbstractLinkProps, Link } from "../../link/index.ts"; import { ComponentProps, forwardRef } from "react"; -import { OmitInternalProps, cssModule, mergeProps } from "../../shared/index.ts" -import { ResponsiveProp, useResponsiveValue } from "../../styling/index.ts" -import { TileOrientation, useTile } from "./useTile"; +import { OmitInternalProps, cssModule, mergeProps } from "../../shared/index.ts"; +import { ResponsiveProp, useResponsiveValue } from "../../styling/index.ts"; +import { TileOrientation, useTile } from "./useTile.tsx"; const DefaultElement = "a"; diff --git a/packages/components/src/tile/tests/chromatic/Tile.stories.tsx b/packages/components/src/tile/tests/chromatic/Tile.stories.tsx index ad4b8e1e8..813f91a75 100644 --- a/packages/components/src/tile/tests/chromatic/Tile.stories.tsx +++ b/packages/components/src/tile/tests/chromatic/Tile.stories.tsx @@ -1,4 +1,4 @@ -import { Apollo11Banner, Apollo11Poster, Nasa } from "./assets"; +import { Apollo11Banner, Apollo11Poster, Nasa } from "./assets/index.ts"; import { Content } from "@components/placeholders/index.ts"; import { Heading } from "@components/typography/index.ts"; import { Illustration } from "@components/illustration/index.ts"; diff --git a/packages/components/src/tile/tests/chromatic/TileHorizontal.stories.tsx b/packages/components/src/tile/tests/chromatic/TileHorizontal.stories.tsx index 69c5a0f07..1f7cf420d 100644 --- a/packages/components/src/tile/tests/chromatic/TileHorizontal.stories.tsx +++ b/packages/components/src/tile/tests/chromatic/TileHorizontal.stories.tsx @@ -5,7 +5,7 @@ import { Illustration } from "@components/illustration/index.ts"; import { Image } from "@components/image/index.ts"; import { Inline, Stack } from "@components/layout/index.ts"; import { Tile } from "@components/tile/index.ts"; -import { Nasa } from "./assets"; +import { Nasa } from "./assets/index.ts"; import { Meta, StoryObj } from "@storybook/react"; diff --git a/packages/components/src/tile/tests/chromatic/TileLinkHorizontal.stories.tsx b/packages/components/src/tile/tests/chromatic/TileLinkHorizontal.stories.tsx index b31a9194b..687348d31 100644 --- a/packages/components/src/tile/tests/chromatic/TileLinkHorizontal.stories.tsx +++ b/packages/components/src/tile/tests/chromatic/TileLinkHorizontal.stories.tsx @@ -5,7 +5,7 @@ import { Heading } from "@components/typography/index.ts"; import { Illustration } from "@components/illustration/index.ts"; import { Image } from "@components/image/index.ts"; import { Inline, Stack } from "@components/layout/index.ts"; -import { Nasa } from "./assets"; +import { Nasa } from "./assets/index.ts"; import { Meta, StoryObj } from "@storybook/react"; diff --git a/packages/components/src/tile/tests/chromatic/TileLinkVertical.stories.tsx b/packages/components/src/tile/tests/chromatic/TileLinkVertical.stories.tsx index 12bae654a..846ea3484 100644 --- a/packages/components/src/tile/tests/chromatic/TileLinkVertical.stories.tsx +++ b/packages/components/src/tile/tests/chromatic/TileLinkVertical.stories.tsx @@ -5,7 +5,7 @@ import { Heading } from "@components/typography/index.ts"; import { Illustration } from "@components/illustration/index.ts"; import { Image } from "@components/image/index.ts"; import { Inline, Stack } from "@components/layout/index.ts"; -import { Nasa } from "./assets"; +import { Nasa } from "./assets/index.ts"; import { Meta, StoryObj } from "@storybook/react"; diff --git a/packages/components/src/tile/tests/chromatic/TileVertical.stories.tsx b/packages/components/src/tile/tests/chromatic/TileVertical.stories.tsx index 9745fc15a..ff68bf636 100644 --- a/packages/components/src/tile/tests/chromatic/TileVertical.stories.tsx +++ b/packages/components/src/tile/tests/chromatic/TileVertical.stories.tsx @@ -5,7 +5,7 @@ import { Illustration } from "@components/illustration/index.ts"; import { Image } from "@components/image/index.ts"; import { Inline, Stack } from "@components/layout/index.ts"; import { Tile } from "@components/tile/index.ts"; -import { Nasa } from "./assets"; +import { Nasa } from "./assets/index.ts"; import { Meta, StoryObj } from "@storybook/react"; diff --git a/packages/components/src/toolbar/src/Toolbar.tsx b/packages/components/src/toolbar/src/Toolbar.tsx index b6fd46276..9d97710c3 100644 --- a/packages/components/src/toolbar/src/Toolbar.tsx +++ b/packages/components/src/toolbar/src/Toolbar.tsx @@ -1,5 +1,5 @@ import { ComponentProps, ReactNode, forwardRef } from "react"; -import { Flex, FlexAlignmentProp, FlexOrientationProp, useFlexAlignment } from "../../layout/index.ts" +import { Flex, FlexAlignmentProp, FlexOrientationProp, useFlexAlignment } from "../../layout/index.ts"; import { InternalProps, Keys, @@ -14,9 +14,9 @@ import { useMergedRefs, useRovingFocus, slot -} from "../../shared/index.ts" -import { ResponsiveProp, useResponsiveValue } from "../../styling/index.ts" -import { ToolbarContext } from "./ToolbarContext"; +} from "../../shared/index.ts"; +import { ResponsiveProp, useResponsiveValue } from "../../styling/index.ts"; +import { ToolbarContext } from "./ToolbarContext.tsx"; const DefaultElement = "div"; diff --git a/packages/components/src/tooltip/src/TooltipTrigger.tsx b/packages/components/src/tooltip/src/TooltipTrigger.tsx index 1c3b56af7..763292e7b 100644 --- a/packages/components/src/tooltip/src/TooltipTrigger.tsx +++ b/packages/components/src/tooltip/src/TooltipTrigger.tsx @@ -12,12 +12,12 @@ import { useId, useMergedRefs, useFocusScope -} from "../../shared/index.ts" -import { Overlay, OverlayArrow, OverlayPositionProp, isTargetParent, useOverlayPosition, useOverlayTrigger, useOverlayLightDismiss } from "../../overlay/index.ts" -import { useResponsiveValue } from "../../styling/index.ts" +} from "../../shared/index.ts"; +import { Overlay, OverlayArrow, OverlayPositionProp, isTargetParent, useOverlayPosition, useOverlayTrigger, useOverlayLightDismiss } from "../../overlay/index.ts"; +import { useResponsiveValue } from "../../styling/index.ts"; -import { Div } from "../../html/index.ts" -import { TooltipTriggerContext } from "./TooltipTriggerContext"; +import { Div } from "../../html/index.ts"; +import { TooltipTriggerContext } from "./TooltipTriggerContext.ts"; const DefaultElement = "div"; diff --git a/packages/components/src/tooltip/tests/chromatic/Tooltip-hopper.stories.tsx b/packages/components/src/tooltip/tests/chromatic/Tooltip-hopper.stories.tsx index e8a07c40a..4f1f05708 100644 --- a/packages/components/src/tooltip/tests/chromatic/Tooltip-hopper.stories.tsx +++ b/packages/components/src/tooltip/tests/chromatic/Tooltip-hopper.stories.tsx @@ -1,7 +1,7 @@ import { IconButton, Button } from "@components/button/index.ts"; import { MailIcon } from "@hopper-ui/icons"; import { Image } from "@components/image/index.ts"; -import { Launch } from "./assets"; +import { Launch } from "./assets/index.ts"; import { TextLink } from "@components/link/index.ts"; import { Tooltip, TooltipTrigger } from "@components/tooltip/index.ts"; import { Meta, StoryObj } from "@storybook/react"; diff --git a/packages/components/src/tooltip/tests/chromatic/Tooltip.stories.tsx b/packages/components/src/tooltip/tests/chromatic/Tooltip.stories.tsx index 57524db0a..9984e9961 100644 --- a/packages/components/src/tooltip/tests/chromatic/Tooltip.stories.tsx +++ b/packages/components/src/tooltip/tests/chromatic/Tooltip.stories.tsx @@ -1,7 +1,7 @@ import { IconButton, Button } from "@components/button/index.ts"; import { MailIcon } from "@hopper-ui/icons"; import { Image } from "@components/image/index.ts"; -import { Launch } from "./assets"; +import { Launch } from "./assets/index.ts"; import { TextLink } from "@components/link/index.ts"; import { Tooltip, TooltipTrigger } from "@components/tooltip/index.ts"; import { Meta, StoryObj } from "@storybook/react"; From ad62b88c17f318c1b42e0d4cdc5893fc3a47a5f0 Mon Sep 17 00:00:00 2001 From: Alexandre Asselin <alexandre.asselin@gsoft.com> Date: Thu, 7 Nov 2024 10:32:12 -0500 Subject: [PATCH 81/95] fix eslint --- .../src/accordion/src/AccordionHeader.tsx | 8 ++++---- .../src/accordion/src/AccordionPanel.tsx | 4 ++-- .../src/accordion/src/useAccordionItems.ts | 4 ++-- packages/components/src/alert/src/Alert.tsx | 6 +++--- .../components/src/alert/src/AlertTrigger.tsx | 4 ++-- .../autocomplete/src/HiddenAutocomplete.tsx | 6 +++--- .../src/autocomplete/src/useDeferredValue.ts | 2 +- packages/components/src/avatar/src/Avatar.tsx | 12 +++++------ packages/components/src/badge/src/Badge.tsx | 6 +++--- packages/components/src/box/src/Box.tsx | 6 +++--- .../components/src/button/src/ButtonGroup.tsx | 8 ++++---- packages/components/src/card/src/Card.tsx | 8 ++++---- .../src/checkbox/src/CheckboxGroup.tsx | 12 +++++------ .../src/checkbox/src/useCheckbox.ts | 4 ++-- .../components/src/collection/src/Item.tsx | 2 +- .../components/src/collection/src/Section.tsx | 2 +- .../src/collection/src/useAsyncSearch.ts | 2 +- .../src/collection/src/useCollection.ts | 8 ++++---- .../components/src/counter/src/Counter.tsx | 8 ++++---- .../src/date-input/src/ButtonPresets.tsx | 6 +++--- .../src/date-input/src/MenuPresets.tsx | 10 +++++----- .../src/date-input/src/dateUtils.ts | 2 +- .../src/date-input/src/useMaskedInput.ts | 2 +- .../components/src/divider/src/Divider.tsx | 8 ++++---- packages/components/src/dot/src/Dot.tsx | 8 ++++---- .../components/src/field/src/FieldContext.tsx | 4 ++-- .../components/src/field/src/FieldMessage.tsx | 6 +++--- packages/components/src/form/src/Fieldset.tsx | 4 ++-- .../components/src/form/src/FormContext.ts | 2 +- packages/components/src/group/src/Group.tsx | 6 +++--- .../components/src/html/src/htmlElement.tsx | 4 ++-- .../components/src/icons/src/IconList.tsx | 4 ++-- .../src/IllustratedMessage.tsx | 10 +++++----- .../src/illustration/src/Illustration.tsx | 6 +++--- packages/components/src/image/src/Image.tsx | 6 +++--- .../components/src/image/src/SvgImage.tsx | 6 +++--- .../src/input-group/src/InputGroupContext.tsx | 6 +++--- .../src/input-group/src/TextAddon.tsx | 6 +++--- .../src/input/src/adaptInputStylingProps.ts | 4 ++-- packages/components/src/input/src/types.ts | 4 ++-- .../components/src/input/src/useGroupInput.ts | 10 +++++----- .../src/input/src/useInputContent.tsx | 6 +++--- .../src/input/src/useInputHasFocus.ts | 2 +- packages/components/src/layout/src/Flex.tsx | 8 ++++---- packages/components/src/layout/src/Grid.tsx | 8 ++++---- .../src/link/src/NewTabIndicator.tsx | 4 ++-- packages/components/src/link/src/useLink.ts | 2 +- .../src/listbox/src/ListboxSection.tsx | 4 ++-- packages/components/src/loader/src/Loader.tsx | 6 +++--- .../components/src/lozenge/src/Lozenge.tsx | 8 ++++---- .../components/src/menu/src/MenuSection.tsx | 6 +++--- packages/components/src/modal/src/Modal.tsx | 10 +++++----- .../components/src/modal/src/ModalTrigger.tsx | 4 ++-- .../src/modal/src/useModalTriggerContext.ts | 2 +- .../src/number-input/src/NumberInput.tsx | 16 +++++++-------- .../components/src/overlay/src/Overlay.tsx | 6 +++--- .../src/overlay/src/OverlayArrow.tsx | 4 ++-- .../components/src/overlay/src/Underlay.tsx | 4 ++-- .../src/overlay/src/isDevtoolsBlurEvent.ts | 2 +- .../src/overlay/src/useInteractOutside.ts | 2 +- .../src/overlay/src/useOverlayFocusRing.ts | 2 +- .../src/overlay/src/useOverlayPosition.ts | 4 ++-- .../src/overlay/src/useOverlayTrigger.ts | 2 +- .../src/overlay/src/usePopupAriaProps.ts | 2 +- .../src/overlay/src/useTrapFocus.ts | 2 +- .../src/overlay/src/useTriggerWidth.ts | 2 +- .../src/placeholders/src/Content.tsx | 4 ++-- .../src/placeholders/src/Footer.tsx | 4 ++-- .../src/placeholders/src/Header.tsx | 4 ++-- .../components/src/popover/src/Popover.tsx | 8 ++++---- packages/components/src/radio/src/Radio.tsx | 16 +++++++-------- .../components/src/radio/src/RadioGroup.tsx | 12 +++++------ .../src/select/src/HiddenSelect.tsx | 6 +++--- .../components/src/select/src/useSelect.tsx | 10 +++++----- packages/components/src/shared/src/types.ts | 2 +- .../components/src/spinner/src/Spinner.tsx | 8 ++++---- .../src/styling/src/StyleContext.ts | 2 +- packages/components/src/switch/src/Switch.tsx | 20 +++++++++---------- .../components/src/tabs/src/useTabsItems.ts | 4 ++-- packages/components/src/tag/src/Tag.tsx | 14 ++++++------- .../components/src/text-area/src/TextArea.tsx | 10 +++++----- .../src/text-input/src/SearchInput.tsx | 8 ++++---- .../src/text-input/src/TextInput.tsx | 14 ++++++------- .../components/src/tile/src/TileGroup.tsx | 10 +++++----- packages/components/src/tile/src/useTile.tsx | 6 +++--- .../src/toolbar/src/ToolbarContext.tsx | 4 ++-- .../components/src/tooltip/src/Tooltip.tsx | 4 ++-- .../src/transition/src/Transition.tsx | 4 ++-- .../components/src/typography/src/Heading.tsx | 6 +++--- .../src/typography/src/Paragraph.tsx | 6 +++--- .../components/src/typography/src/Text.tsx | 6 +++--- .../visually-hidden/src/VisuallyHidden.tsx | 4 ++-- 92 files changed, 275 insertions(+), 275 deletions(-) diff --git a/packages/components/src/accordion/src/AccordionHeader.tsx b/packages/components/src/accordion/src/AccordionHeader.tsx index 633de1d2b..62b4c8440 100644 --- a/packages/components/src/accordion/src/AccordionHeader.tsx +++ b/packages/components/src/accordion/src/AccordionHeader.tsx @@ -1,8 +1,8 @@ import { ComponentProps, ElementType, ReactNode, forwardRef, useMemo } from "react"; -import { DisclosureArrow } from "../../disclosure/index.ts" -import { Div, HtmlButton } from "../../html/index.ts" -import { H3, HeadingProps, Text } from "../../typography/index.ts" -import { InteractionProps, InternalProps, OmitInternalProps, StyledComponentProps, cssModule, mergeProps, omitProps, useSlots } from "../../shared/index.ts" +import { DisclosureArrow } from "../../disclosure/index.ts"; +import { Div, HtmlButton } from "../../html/index.ts"; +import { H3, HeadingProps, Text } from "../../typography/index.ts"; +import { InteractionProps, InternalProps, OmitInternalProps, StyledComponentProps, cssModule, mergeProps, omitProps, useSlots } from "../../shared/index.ts"; const DefaultElement = "button"; diff --git a/packages/components/src/accordion/src/AccordionPanel.tsx b/packages/components/src/accordion/src/AccordionPanel.tsx index d0d1132de..3face557c 100644 --- a/packages/components/src/accordion/src/AccordionPanel.tsx +++ b/packages/components/src/accordion/src/AccordionPanel.tsx @@ -1,6 +1,6 @@ -import { Box } from "../../box/index.ts" +import { Box } from "../../box/index.ts"; import { ComponentProps, ReactNode, forwardRef } from "react"; -import { InternalProps, OmitInternalProps, StyledComponentProps, mergeProps, omitProps } from "../../shared/index.ts" +import { InternalProps, OmitInternalProps, StyledComponentProps, mergeProps, omitProps } from "../../shared/index.ts"; const DefaultElement = "div"; diff --git a/packages/components/src/accordion/src/useAccordionItems.ts b/packages/components/src/accordion/src/useAccordionItems.ts index 500832160..bbcbc1997 100644 --- a/packages/components/src/accordion/src/useAccordionItems.ts +++ b/packages/components/src/accordion/src/useAccordionItems.ts @@ -1,6 +1,6 @@ import { Children, ReactElement, ReactNode, Ref, RefAttributes, useMemo } from "react"; -import { Content, Header } from "../../placeholders/index.ts" -import { isNil, mergeProps } from "../../shared/index.ts" +import { Content, Header } from "../../placeholders/index.ts"; +import { isNil, mergeProps } from "../../shared/index.ts"; export interface AccordionBuilderItem { header: AccordionBuilderHeader; diff --git a/packages/components/src/alert/src/Alert.tsx b/packages/components/src/alert/src/Alert.tsx index c3b33d3a9..6cfad796a 100644 --- a/packages/components/src/alert/src/Alert.tsx +++ b/packages/components/src/alert/src/Alert.tsx @@ -1,7 +1,7 @@ -import { AbstractDialogProps, Dialog, useDialogTriggerContext } from "../../dialog/index.ts" -import { Button, ButtonGroup } from "../../button/index.ts" +import { AbstractDialogProps, Dialog, useDialogTriggerContext } from "../../dialog/index.ts"; +import { Button, ButtonGroup } from "../../button/index.ts"; import { ComponentProps, MouseEvent, forwardRef, useMemo } from "react"; -import { OmitInternalProps, isNil, isNilOrEmpty, mergeProps, useChainedEventCallback, useSlots } from "../../shared/index.ts" +import { OmitInternalProps, isNil, isNilOrEmpty, mergeProps, useChainedEventCallback, useSlots } from "../../shared/index.ts"; const DefaultElement = "section"; diff --git a/packages/components/src/alert/src/AlertTrigger.tsx b/packages/components/src/alert/src/AlertTrigger.tsx index 1e94258f5..d68e628da 100644 --- a/packages/components/src/alert/src/AlertTrigger.tsx +++ b/packages/components/src/alert/src/AlertTrigger.tsx @@ -1,6 +1,6 @@ import { ComponentProps, forwardRef } from "react"; -import { DialogTrigger, InnerDialogTrigger, InnerDialogTriggerProps } from "../../dialog/index.ts" -import { OmitInternalProps } from "../../shared/index.ts" +import { DialogTrigger, InnerDialogTrigger, InnerDialogTriggerProps } from "../../dialog/index.ts"; +import { OmitInternalProps } from "../../shared/index.ts"; export type InnerAlertTriggerProps = Omit<InnerDialogTriggerProps, "dismissable">; diff --git a/packages/components/src/autocomplete/src/HiddenAutocomplete.tsx b/packages/components/src/autocomplete/src/HiddenAutocomplete.tsx index f943faa4f..b08c8b8d4 100644 --- a/packages/components/src/autocomplete/src/HiddenAutocomplete.tsx +++ b/packages/components/src/autocomplete/src/HiddenAutocomplete.tsx @@ -1,7 +1,7 @@ -import { HtmlInput } from "../../html/index.ts" +import { HtmlInput } from "../../html/index.ts"; import { Ref } from "react"; -import { StyledComponentProps, isNil, mergeProps } from "../../shared/index.ts" -import { ValidationState } from "../../input/index.ts" +import { StyledComponentProps, isNil, mergeProps } from "../../shared/index.ts"; +import { ValidationState } from "../../input/index.ts"; export interface HiddenAutocompleteProps extends Omit<StyledComponentProps<"input">, "ref"> { /** diff --git a/packages/components/src/autocomplete/src/useDeferredValue.ts b/packages/components/src/autocomplete/src/useDeferredValue.ts index e8382fe36..14c6e8432 100644 --- a/packages/components/src/autocomplete/src/useDeferredValue.ts +++ b/packages/components/src/autocomplete/src/useDeferredValue.ts @@ -1,6 +1,6 @@ import { useEffect, useState } from "react"; -import { useDisposables } from "../../shared/index.ts" +import { useDisposables } from "../../shared/index.ts"; export function useDeferredValue<T>(value: T, delay?: number, defaultValue?: T) { const [deferredValue, setDeferredValue] = useState(defaultValue); diff --git a/packages/components/src/avatar/src/Avatar.tsx b/packages/components/src/avatar/src/Avatar.tsx index e34b1ff0e..2c190daff 100644 --- a/packages/components/src/avatar/src/Avatar.tsx +++ b/packages/components/src/avatar/src/Avatar.tsx @@ -1,7 +1,7 @@ -import { AsyncImage } from "../../image/index.ts" -import { Box } from "../../box/index.ts" +import { AsyncImage } from "../../image/index.ts"; +import { Box } from "../../box/index.ts"; import { ComponentProps, forwardRef, useMemo } from "react"; -import { Img } from "../../html/index.ts" +import { Img } from "../../html/index.ts"; import { InternalProps, OmitInternalProps, @@ -16,9 +16,9 @@ import { normalizeSize, omitProps, slot -} from "../../shared/index.ts" -import { ResponsiveProp, useResponsiveValue } from "../../styling/index.ts" -import { Text } from "../../typography/index.ts" +} from "../../shared/index.ts"; +import { ResponsiveProp, useResponsiveValue } from "../../styling/index.ts"; +import { Text } from "../../typography/index.ts"; const DefaultElement = "div"; diff --git a/packages/components/src/badge/src/Badge.tsx b/packages/components/src/badge/src/Badge.tsx index 52bba8ee3..0a8f1dd57 100644 --- a/packages/components/src/badge/src/Badge.tsx +++ b/packages/components/src/badge/src/Badge.tsx @@ -1,8 +1,8 @@ -import { Box, BoxProps } from "../../box/index.ts" +import { Box, BoxProps } from "../../box/index.ts"; import { Children, ComponentProps, ReactNode, forwardRef } from "react"; -import { InternalProps, OmitInternalProps, StyledComponentProps, cssModule, mergeProps } from "../../shared/index.ts" +import { InternalProps, OmitInternalProps, StyledComponentProps, cssModule, mergeProps } from "../../shared/index.ts"; -import { StyleProvider } from "../../styling/index.ts" +import { StyleProvider } from "../../styling/index.ts"; const DefaultElement = "div"; diff --git a/packages/components/src/box/src/Box.tsx b/packages/components/src/box/src/Box.tsx index f2d84cc3f..27631ee90 100644 --- a/packages/components/src/box/src/Box.tsx +++ b/packages/components/src/box/src/Box.tsx @@ -1,7 +1,7 @@ import { ComponentProps, ReactNode, forwardRef } from "react"; -import { InternalProps, OmitInternalProps, SlotProps, StyledHtmlAttributes, omitProps } from "../../shared/index.ts" -import { getHtmlElementType } from "../../html/index.ts" -import { useStyledSystem } from "../../styling/index.ts" +import { InternalProps, OmitInternalProps, SlotProps, StyledHtmlAttributes, omitProps } from "../../shared/index.ts"; +import { getHtmlElementType } from "../../html/index.ts"; +import { useStyledSystem } from "../../styling/index.ts"; const DefaultElement = "div"; diff --git a/packages/components/src/button/src/ButtonGroup.tsx b/packages/components/src/button/src/ButtonGroup.tsx index 800811299..4af98d496 100644 --- a/packages/components/src/button/src/ButtonGroup.tsx +++ b/packages/components/src/button/src/ButtonGroup.tsx @@ -1,8 +1,8 @@ -import { AbstractGroupProps, Group } from "../../group/index.ts" +import { AbstractGroupProps, Group } from "../../group/index.ts"; import { Children, ComponentProps, ReactElement, forwardRef } from "react"; -import { OmitInternalProps, SlotProps, augmentElement, cssModule, mergeProps, normalizeSize, omitProps, slot } from "../../shared/index.ts" -import { ResponsiveProp, useResponsiveValue } from "../../styling/index.ts" -import { useFieldInputProps } from "../../field/index.ts" +import { OmitInternalProps, SlotProps, augmentElement, cssModule, mergeProps, normalizeSize, omitProps, slot } from "../../shared/index.ts"; +import { ResponsiveProp, useResponsiveValue } from "../../styling/index.ts"; +import { useFieldInputProps } from "../../field/index.ts"; const DefaultElement = "div"; diff --git a/packages/components/src/card/src/Card.tsx b/packages/components/src/card/src/Card.tsx index b137bbd20..ba949b57c 100644 --- a/packages/components/src/card/src/Card.tsx +++ b/packages/components/src/card/src/Card.tsx @@ -1,8 +1,8 @@ -import { Box } from "../../box/index.ts" +import { Box } from "../../box/index.ts"; import { ComponentProps, ReactNode, cloneElement, forwardRef, useMemo } from "react"; -import { InternalProps, OmitInternalProps, SlotProps, StyledComponentProps, cssModule, isNil, isString, mergeProps, normalizeSize, slot, useSlots } from "../../shared/index.ts" -import { ResponsiveProp, useResponsiveValue } from "../../styling/index.ts" -import { Text } from "../../typography/index.ts" +import { InternalProps, OmitInternalProps, SlotProps, StyledComponentProps, cssModule, isNil, isString, mergeProps, normalizeSize, slot, useSlots } from "../../shared/index.ts"; +import { ResponsiveProp, useResponsiveValue } from "../../styling/index.ts"; +import { Text } from "../../typography/index.ts"; const DefaultElement = "section"; diff --git a/packages/components/src/checkbox/src/CheckboxGroup.tsx b/packages/components/src/checkbox/src/CheckboxGroup.tsx index 304141a9e..76466b0e8 100644 --- a/packages/components/src/checkbox/src/CheckboxGroup.tsx +++ b/packages/components/src/checkbox/src/CheckboxGroup.tsx @@ -1,4 +1,4 @@ -import { AbstractGroupInputProps, useGroupInput } from "../../input/index.ts" +import { AbstractGroupInputProps, useGroupInput } from "../../input/index.ts"; import { CheckableContext, OmitInternalProps, @@ -14,12 +14,12 @@ import { useFocusManager, useFocusScope, useMergedRefs -} from "../../shared/index.ts" +} from "../../shared/index.ts"; import { Children, ComponentProps, ReactElement, SyntheticEvent, forwardRef } from "react"; -import { ClearFieldContext, useFieldInputProps } from "../../field/index.ts" -import { ClearToolbar, useToolbarProps } from "../../toolbar/index.ts" -import { Group } from "../../group/index.ts" -import { ResponsiveProp, useResponsiveValue } from "../../styling/index.ts" +import { ClearFieldContext, useFieldInputProps } from "../../field/index.ts"; +import { ClearToolbar, useToolbarProps } from "../../toolbar/index.ts"; +import { Group } from "../../group/index.ts"; +import { ResponsiveProp, useResponsiveValue } from "../../styling/index.ts"; const DefaultElement = "div"; diff --git a/packages/components/src/checkbox/src/useCheckbox.ts b/packages/components/src/checkbox/src/useCheckbox.ts index 25ab0b572..3c2380fd7 100644 --- a/packages/components/src/checkbox/src/useCheckbox.ts +++ b/packages/components/src/checkbox/src/useCheckbox.ts @@ -1,6 +1,6 @@ import { ChangeEvent, ElementType, ForwardedRef, Ref, useImperativeHandle, useRef } from "react"; -import { ValidationState } from "../../input/index.ts" -import { cssModule, isNil, isNumber, normalizeSize, useAutoFocus, useControllableState, useEventCallback, useForwardInputApi, useIsomorphicLayoutEffect } from "../../shared/index.ts" +import { ValidationState } from "../../input/index.ts"; +import { cssModule, isNil, isNumber, normalizeSize, useAutoFocus, useControllableState, useEventCallback, useForwardInputApi, useIsomorphicLayoutEffect } from "../../shared/index.ts"; export interface UseCheckboxProps { active?: boolean; diff --git a/packages/components/src/collection/src/Item.tsx b/packages/components/src/collection/src/Item.tsx index 7ffa9d68b..18348a426 100644 --- a/packages/components/src/collection/src/Item.tsx +++ b/packages/components/src/collection/src/Item.tsx @@ -1,5 +1,5 @@ import { ComponentProps, ReactNode, forwardRef } from "react"; -import { InternalProps, OmitInternalProps, StyledHtmlAttributes, InteractionProps } from "../../shared/index.ts" +import { InternalProps, OmitInternalProps, StyledHtmlAttributes, InteractionProps } from "../../shared/index.ts"; export interface InnerItemProps extends InternalProps, InteractionProps, StyledHtmlAttributes { /** diff --git a/packages/components/src/collection/src/Section.tsx b/packages/components/src/collection/src/Section.tsx index f2f22d91b..67aac4359 100644 --- a/packages/components/src/collection/src/Section.tsx +++ b/packages/components/src/collection/src/Section.tsx @@ -1,5 +1,5 @@ import { ComponentProps, ReactNode, forwardRef } from "react"; -import { InternalProps, OmitInternalProps, StyledHtmlAttributes } from "../../shared/index.ts" +import { InternalProps, OmitInternalProps, StyledHtmlAttributes } from "../../shared/index.ts"; export interface InnerSectionProps extends InternalProps, StyledHtmlAttributes { /** diff --git a/packages/components/src/collection/src/useAsyncSearch.ts b/packages/components/src/collection/src/useAsyncSearch.ts index 93c38a62e..a1fe61ad0 100644 --- a/packages/components/src/collection/src/useAsyncSearch.ts +++ b/packages/components/src/collection/src/useAsyncSearch.ts @@ -1,5 +1,5 @@ import { SyntheticEvent, useCallback, useEffect, useState } from "react"; -import { isNil, isPromise, useRefState } from "../../shared/index.ts" +import { isNil, isPromise, useRefState } from "../../shared/index.ts"; export function useAsyncSearch<T>(load: (query: string, signal: AbortSignal) => Promise<T[]>) { const [isLoading, setIsLoading] = useState(false); diff --git a/packages/components/src/collection/src/useCollection.ts b/packages/components/src/collection/src/useCollection.ts index 2e1e4f0d7..1eec9e832 100644 --- a/packages/components/src/collection/src/useCollection.ts +++ b/packages/components/src/collection/src/useCollection.ts @@ -1,8 +1,8 @@ import { Children, ElementType, ReactElement, ReactNode, Ref, RefAttributes, useMemo } from "react"; -import { Divider } from "../../divider/index.ts" -import { Item, Section } from "../../collection/index.ts" -import { TooltipTrigger, parseTooltipTrigger } from "../../tooltip/index.ts" -import { isNil, resolveChildren } from "../../shared/index.ts" +import { Divider } from "../../divider/index.ts"; +import { Item, Section } from "../../collection/index.ts"; +import { TooltipTrigger, parseTooltipTrigger } from "../../tooltip/index.ts"; +import { isNil, resolveChildren } from "../../shared/index.ts"; export interface CollectionNode { elementType?: ElementType | string; diff --git a/packages/components/src/counter/src/Counter.tsx b/packages/components/src/counter/src/Counter.tsx index f358f7143..8d7f69065 100644 --- a/packages/components/src/counter/src/Counter.tsx +++ b/packages/components/src/counter/src/Counter.tsx @@ -1,8 +1,8 @@ -import { Box } from "../../box/index.ts" +import { Box } from "../../box/index.ts"; import { ComponentProps, ReactNode, forwardRef } from "react"; -import { InternalProps, OmitInternalProps, SlotProps, StyledComponentProps, cssModule, mergeProps, normalizeSize, slot } from "../../shared/index.ts" -import { ResponsiveProp, useResponsiveValue } from "../../styling/index.ts" -import { Text } from "../../typography/index.ts" +import { InternalProps, OmitInternalProps, SlotProps, StyledComponentProps, cssModule, mergeProps, normalizeSize, slot } from "../../shared/index.ts"; +import { ResponsiveProp, useResponsiveValue } from "../../styling/index.ts"; +import { Text } from "../../typography/index.ts"; const DefaultElement = "span"; diff --git a/packages/components/src/date-input/src/ButtonPresets.tsx b/packages/components/src/date-input/src/ButtonPresets.tsx index de318ecef..0a0421abe 100644 --- a/packages/components/src/date-input/src/ButtonPresets.tsx +++ b/packages/components/src/date-input/src/ButtonPresets.tsx @@ -1,8 +1,8 @@ -import { isNil, useEventCallback } from "../../shared/index.ts" +import { isNil, useEventCallback } from "../../shared/index.ts"; -import { RadioGroup } from "../../radio/index.ts" +import { RadioGroup } from "../../radio/index.ts"; import { SyntheticEvent } from "react"; -import { ToggleButton } from "../../button/index.ts" +import { ToggleButton } from "../../button/index.ts"; export interface ButtonPresetsProps { onSelectionChange: (event: SyntheticEvent, index: number) => void; diff --git a/packages/components/src/date-input/src/MenuPresets.tsx b/packages/components/src/date-input/src/MenuPresets.tsx index 077602992..bff4ea858 100644 --- a/packages/components/src/date-input/src/MenuPresets.tsx +++ b/packages/components/src/date-input/src/MenuPresets.tsx @@ -1,9 +1,9 @@ -import { DisclosureArrow } from "../../disclosure/index.ts" -import { IconButton } from "../../button/index.ts" -import { Item } from "../../collection/index.ts" -import { Menu, MenuTrigger } from "../../menu/index.ts" +import { DisclosureArrow } from "../../disclosure/index.ts"; +import { IconButton } from "../../button/index.ts"; +import { Item } from "../../collection/index.ts"; +import { Menu, MenuTrigger } from "../../menu/index.ts"; import { SyntheticEvent, useRef } from "react"; -import { useEventCallback } from "../../shared/index.ts" +import { useEventCallback } from "../../shared/index.ts"; export interface MenuPresetsProps { onSelectionChange: (event: SyntheticEvent, index: number) => void; diff --git a/packages/components/src/date-input/src/dateUtils.ts b/packages/components/src/date-input/src/dateUtils.ts index 05a9fa665..6190f90c5 100644 --- a/packages/components/src/date-input/src/dateUtils.ts +++ b/packages/components/src/date-input/src/dateUtils.ts @@ -1,4 +1,4 @@ -import { isNil } from "../../shared/index.ts" +import { isNil } from "../../shared/index.ts"; export function areEqualDates(x: Date, y: Date) { return x?.getTime() === y?.getTime(); diff --git a/packages/components/src/date-input/src/useMaskedInput.ts b/packages/components/src/date-input/src/useMaskedInput.ts index 520a6af74..62e3c43c2 100644 --- a/packages/components/src/date-input/src/useMaskedInput.ts +++ b/packages/components/src/date-input/src/useMaskedInput.ts @@ -1,5 +1,5 @@ import { createTextMaskInputElement } from "text-mask-core"; -import { isNil } from "../../shared/index.ts" +import { isNil } from "../../shared/index.ts"; import { useCallback, useEffect, useRef } from "react"; export interface UseMaskedInputProps { diff --git a/packages/components/src/divider/src/Divider.tsx b/packages/components/src/divider/src/Divider.tsx index 0319f7869..2a8eb96bc 100644 --- a/packages/components/src/divider/src/Divider.tsx +++ b/packages/components/src/divider/src/Divider.tsx @@ -1,8 +1,8 @@ -import { Box } from "../../box/index.ts" +import { Box } from "../../box/index.ts"; import { ComponentProps, ReactNode, forwardRef } from "react"; -import { InternalProps, OmitInternalProps, StyledComponentProps, cssModule, mergeProps } from "../../shared/index.ts" -import { ResponsiveProp, useResponsiveValue } from "../../styling/index.ts" -import { Text } from "../../typography/index.ts" +import { InternalProps, OmitInternalProps, StyledComponentProps, cssModule, mergeProps } from "../../shared/index.ts"; +import { ResponsiveProp, useResponsiveValue } from "../../styling/index.ts"; +import { Text } from "../../typography/index.ts"; const DefaultElement = "div"; diff --git a/packages/components/src/dot/src/Dot.tsx b/packages/components/src/dot/src/Dot.tsx index 710951f8e..0c192f4e8 100644 --- a/packages/components/src/dot/src/Dot.tsx +++ b/packages/components/src/dot/src/Dot.tsx @@ -1,8 +1,8 @@ -import { IconColorMapping, BackgroundColorProp, useResponsiveValue } from "../../styling/index.ts" +import { IconColorMapping, BackgroundColorProp, useResponsiveValue } from "../../styling/index.ts"; import { useMemo, ComponentProps, forwardRef } from "react"; -import { InternalProps, OmitInternalProps, SlotProps, StyledComponentProps, cssModule, isNil, mergeProps, slot } from "../../shared/index.ts" -import { Box } from "../../box/index.ts" -import { Text } from "../../typography/index.ts" +import { InternalProps, OmitInternalProps, SlotProps, StyledComponentProps, cssModule, isNil, mergeProps, slot } from "../../shared/index.ts"; +import { Box } from "../../box/index.ts"; +import { Text } from "../../typography/index.ts"; const DefaultElement = "span"; diff --git a/packages/components/src/field/src/FieldContext.tsx b/packages/components/src/field/src/FieldContext.tsx index cf7854e9e..4e7f0d6ac 100644 --- a/packages/components/src/field/src/FieldContext.tsx +++ b/packages/components/src/field/src/FieldContext.tsx @@ -1,6 +1,6 @@ import { ElementType, ReactNode, createContext, useContext } from "react"; -import { HtmlLabel, Span } from "../../html/index.ts" -import { isNil } from "../../shared/index.ts" +import { HtmlLabel, Span } from "../../html/index.ts"; +import { isNil } from "../../shared/index.ts"; export interface FieldContextType { disabled?: boolean; diff --git a/packages/components/src/field/src/FieldMessage.tsx b/packages/components/src/field/src/FieldMessage.tsx index 97572cce8..e81e636b1 100644 --- a/packages/components/src/field/src/FieldMessage.tsx +++ b/packages/components/src/field/src/FieldMessage.tsx @@ -1,8 +1,8 @@ import { ComponentProps, ReactNode, forwardRef } from "react"; -import { InternalProps, StyledComponentProps, cssModule, mergeProps } from "../../shared/index.ts" -import { ResponsiveProp, StyleProvider, useResponsiveValue } from "../../styling/index.ts" +import { InternalProps, StyledComponentProps, cssModule, mergeProps } from "../../shared/index.ts"; +import { ResponsiveProp, StyleProvider, useResponsiveValue } from "../../styling/index.ts"; import { IconContext } from "@hopper-ui/icons"; -import { Text } from "../../typography/index.ts" +import { Text } from "../../typography/index.ts"; export const FieldMessageDefaultElement = "div"; diff --git a/packages/components/src/form/src/Fieldset.tsx b/packages/components/src/form/src/Fieldset.tsx index d6077d377..43eec2e49 100644 --- a/packages/components/src/form/src/Fieldset.tsx +++ b/packages/components/src/form/src/Fieldset.tsx @@ -1,6 +1,6 @@ -import { Box } from "../../box/index.ts" +import { Box } from "../../box/index.ts"; import { ComponentProps, ReactNode, forwardRef } from "react"; -import { InternalProps, OmitInternalProps, StyledComponentProps, mergeProps, useId } from "../../shared/index.ts" +import { InternalProps, OmitInternalProps, StyledComponentProps, mergeProps, useId } from "../../shared/index.ts"; const DefaultElement = "div"; diff --git a/packages/components/src/form/src/FormContext.ts b/packages/components/src/form/src/FormContext.ts index 9514ff85a..33caf4f4d 100644 --- a/packages/components/src/form/src/FormContext.ts +++ b/packages/components/src/form/src/FormContext.ts @@ -1,5 +1,5 @@ import { createContext, useContext } from "react"; -import { isNil } from "../../shared/index.ts" +import { isNil } from "../../shared/index.ts"; export interface FormContextType { disabled?: boolean; diff --git a/packages/components/src/group/src/Group.tsx b/packages/components/src/group/src/Group.tsx index 09b5eb950..2ed431e68 100644 --- a/packages/components/src/group/src/Group.tsx +++ b/packages/components/src/group/src/Group.tsx @@ -1,7 +1,7 @@ import { ComponentProps, ElementType, ReactNode, forwardRef } from "react"; -import { Flex, FlexAlignmentProp, FlexOrientationProp, useFlexAlignment } from "../../layout/index.ts" -import { InternalProps, OmitInternalProps, StyledComponentProps, mergeProps } from "../../shared/index.ts" -import { ResponsiveProp, useResponsiveValue } from "../../styling/index.ts" +import { Flex, FlexAlignmentProp, FlexOrientationProp, useFlexAlignment } from "../../layout/index.ts"; +import { InternalProps, OmitInternalProps, StyledComponentProps, mergeProps } from "../../shared/index.ts"; +import { ResponsiveProp, useResponsiveValue } from "../../styling/index.ts"; export type AbstractGroupProps<T extends ElementType> = InternalProps & Omit<StyledComponentProps<T>, "display" | "alignItems" | "flex" | "flexDirection" | "flexWrap" | "justifyContent"> & { /** diff --git a/packages/components/src/html/src/htmlElement.tsx b/packages/components/src/html/src/htmlElement.tsx index bb39fb107..37e34ff7e 100644 --- a/packages/components/src/html/src/htmlElement.tsx +++ b/packages/components/src/html/src/htmlElement.tsx @@ -1,6 +1,6 @@ import { ElementRef, ElementType, PropsWithChildren, forwardRef } from "react"; -import { SlotProps, StyledComponentProps, mergeProps } from "../../shared/index.ts" -import { useStyleProps, useStyledSystem } from "../../styling/index.ts" +import { SlotProps, StyledComponentProps, mergeProps } from "../../shared/index.ts"; +import { useStyleProps, useStyledSystem } from "../../styling/index.ts"; // Adding the "as" prop to the HTML element components is not an ideal solution but a necessary one for now until we completly remove "as" support from Orbiter. // We must do this, because a component like Button which support the "as" prop also need to use the HtmlButton component as a base element to benefit from our CSS normalizing. diff --git a/packages/components/src/icons/src/IconList.tsx b/packages/components/src/icons/src/IconList.tsx index 4e826ec41..b34f6ca90 100644 --- a/packages/components/src/icons/src/IconList.tsx +++ b/packages/components/src/icons/src/IconList.tsx @@ -1,6 +1,6 @@ import { Children, ComponentProps, ReactElement, ReactNode, cloneElement, forwardRef } from "react"; -import { Inline } from "../../layout/index.ts" -import { InternalProps, OmitInternalProps, SlotProps, StyledComponentProps, slot } from "../../shared/index.ts" +import { Inline } from "../../layout/index.ts"; +import { InternalProps, OmitInternalProps, SlotProps, StyledComponentProps, slot } from "../../shared/index.ts"; const DefaultElement = "span"; diff --git a/packages/components/src/illustrated-message/src/IllustratedMessage.tsx b/packages/components/src/illustrated-message/src/IllustratedMessage.tsx index a20901adb..0ded52d0e 100644 --- a/packages/components/src/illustrated-message/src/IllustratedMessage.tsx +++ b/packages/components/src/illustrated-message/src/IllustratedMessage.tsx @@ -1,9 +1,9 @@ -import { Box } from "../../box/index.ts" +import { Box } from "../../box/index.ts"; import { ComponentProps, ReactNode, forwardRef, useMemo } from "react"; -import { Flex } from "../../layout/index.ts" -import { InternalProps, OmitInternalProps, StyledComponentProps, cssModule, mergeProps, useSlots } from "../../shared/index.ts" -import { ResponsiveProp, useResponsiveValue } from "../../styling/index.ts" -import { Text } from "../../typography/index.ts" +import { Flex } from "../../layout/index.ts"; +import { InternalProps, OmitInternalProps, StyledComponentProps, cssModule, mergeProps, useSlots } from "../../shared/index.ts"; +import { ResponsiveProp, useResponsiveValue } from "../../styling/index.ts"; +import { Text } from "../../typography/index.ts"; const DefaultElement = "div"; diff --git a/packages/components/src/illustration/src/Illustration.tsx b/packages/components/src/illustration/src/Illustration.tsx index 0b2c13908..614aa362c 100644 --- a/packages/components/src/illustration/src/Illustration.tsx +++ b/packages/components/src/illustration/src/Illustration.tsx @@ -1,7 +1,7 @@ -import { Box } from "../../box/index.ts" +import { Box } from "../../box/index.ts"; import { ComponentProps, ReactElement, ReactNode, forwardRef } from "react"; -import { InternalProps, OmitInternalProps, SlotProps, StyledComponentProps, augmentElement, cssModule, mergeProps, slot } from "../../shared/index.ts" -import { ResponsiveProp, useResponsiveValue } from "../../styling/index.ts" +import { InternalProps, OmitInternalProps, SlotProps, StyledComponentProps, augmentElement, cssModule, mergeProps, slot } from "../../shared/index.ts"; +import { ResponsiveProp, useResponsiveValue } from "../../styling/index.ts"; const DefaultElement = "div"; diff --git a/packages/components/src/image/src/Image.tsx b/packages/components/src/image/src/Image.tsx index 5be9659ff..39ca43852 100644 --- a/packages/components/src/image/src/Image.tsx +++ b/packages/components/src/image/src/Image.tsx @@ -1,7 +1,7 @@ -import { Box } from "../../box/index.ts" +import { Box } from "../../box/index.ts"; import { ComponentProps, ElementType, forwardRef } from "react"; -import { HeightProp, ObjectFitProp, ObjectPositionProp, ResponsiveProp, WidthProp, useResponsiveValue } from "../../styling/index.ts" -import { InternalProps, OmitInternalProps, SlotProps, StyledComponentProps, cssModule, mergeProps, slot } from "../../shared/index.ts" +import { HeightProp, ObjectFitProp, ObjectPositionProp, ResponsiveProp, WidthProp, useResponsiveValue } from "../../styling/index.ts"; +import { InternalProps, OmitInternalProps, SlotProps, StyledComponentProps, cssModule, mergeProps, slot } from "../../shared/index.ts"; export type AbstractImageProps<T extends ElementType> = SlotProps & InternalProps & Omit<StyledComponentProps<T>, "height" | "objectFit" | "objectPosition" | "src" | "width"> & { /** diff --git a/packages/components/src/image/src/SvgImage.tsx b/packages/components/src/image/src/SvgImage.tsx index e0ac12ac7..a3cd5933b 100644 --- a/packages/components/src/image/src/SvgImage.tsx +++ b/packages/components/src/image/src/SvgImage.tsx @@ -1,7 +1,7 @@ -import { Box } from "../../box/index.ts" +import { Box } from "../../box/index.ts"; import { ComponentProps, ElementType, SVGProps, forwardRef, useCallback } from "react"; -import { FillProp, HeightProp, ResponsiveProp, StrokeProp, StyledSystemProps, WidthProp, useResponsiveValue } from "../../styling/index.ts" -import { InternalProps, OmitInternalProps, SlotProps, isNil, mergeProps, slot, useMergedRefs } from "../../shared/index.ts" +import { FillProp, HeightProp, ResponsiveProp, StrokeProp, StyledSystemProps, WidthProp, useResponsiveValue } from "../../styling/index.ts"; +import { InternalProps, OmitInternalProps, SlotProps, isNil, mergeProps, slot, useMergedRefs } from "../../shared/index.ts"; type OverlappingStyleProps = "fill" | "height" | "stroke" | "width"; diff --git a/packages/components/src/input-group/src/InputGroupContext.tsx b/packages/components/src/input-group/src/InputGroupContext.tsx index d700533a2..09d3807ea 100644 --- a/packages/components/src/input-group/src/InputGroupContext.tsx +++ b/packages/components/src/input-group/src/InputGroupContext.tsx @@ -1,7 +1,7 @@ import { ReactNode, createContext, useContext } from "react"; -import { UseFieldInputPropsReturn } from "../../field/index.ts" -import { UseToolbarPropsReturn } from "../../toolbar/index.ts" -import { isNil, mergeProps } from "../../shared/index.ts" +import { UseFieldInputPropsReturn } from "../../field/index.ts"; +import { UseToolbarPropsReturn } from "../../toolbar/index.ts"; +import { isNil, mergeProps } from "../../shared/index.ts"; export type InputGroupContextType = { disabled?: boolean; diff --git a/packages/components/src/input-group/src/TextAddon.tsx b/packages/components/src/input-group/src/TextAddon.tsx index 2ebc66527..882aa6b81 100644 --- a/packages/components/src/input-group/src/TextAddon.tsx +++ b/packages/components/src/input-group/src/TextAddon.tsx @@ -1,7 +1,7 @@ -import { Box } from "../../box/index.ts" +import { Box } from "../../box/index.ts"; import { ComponentProps, ReactNode, forwardRef } from "react"; -import { InternalProps, OmitInternalProps, StyledComponentProps, mergeProps } from "../../shared/index.ts" -import { useInputGroupAddonProps } from "../../input-group/index.ts" +import { InternalProps, OmitInternalProps, StyledComponentProps, mergeProps } from "../../shared/index.ts"; +import { useInputGroupAddonProps } from "../../input-group/index.ts"; const DefaultElement = "div"; diff --git a/packages/components/src/input/src/adaptInputStylingProps.ts b/packages/components/src/input/src/adaptInputStylingProps.ts index eafb2a4c7..8aa62a12d 100644 --- a/packages/components/src/input/src/adaptInputStylingProps.ts +++ b/packages/components/src/input/src/adaptInputStylingProps.ts @@ -1,7 +1,7 @@ -import { isNil, mergeProps } from "../../shared/index.ts" +import { isNil, mergeProps } from "../../shared/index.ts"; import { CSSProperties } from "react"; -import { StyledSystemProps } from "../../styling/index.ts" +import { StyledSystemProps } from "../../styling/index.ts"; interface CssProps { className?: string; diff --git a/packages/components/src/input/src/types.ts b/packages/components/src/input/src/types.ts index 7b8ec5fda..7b5664739 100644 --- a/packages/components/src/input/src/types.ts +++ b/packages/components/src/input/src/types.ts @@ -1,6 +1,6 @@ -import { AbstractGroupProps } from "../../group/index.ts" +import { AbstractGroupProps } from "../../group/index.ts"; import { ElementType, SyntheticEvent } from "react"; -import { InteractionProps, InternalProps, StyledComponentProps } from "../../shared/index.ts" +import { InteractionProps, InternalProps, StyledComponentProps } from "../../shared/index.ts"; export type ValidationState = "valid" | "invalid"; diff --git a/packages/components/src/input/src/useGroupInput.ts b/packages/components/src/input/src/useGroupInput.ts index b8705faab..8e1ccf214 100644 --- a/packages/components/src/input/src/useGroupInput.ts +++ b/packages/components/src/input/src/useGroupInput.ts @@ -1,9 +1,9 @@ -import { FlexAlignment, FlexOrientation } from "../../layout/index.ts" -import { GapProp } from "../../styling/index.ts" +import { FlexAlignment, FlexOrientation } from "../../layout/index.ts"; +import { GapProp } from "../../styling/index.ts"; import { Ref } from "react"; -import { ValidationState } from "../../input/index.ts" -import { cssModule, normalizeSize } from "../../shared/index.ts" -import { useFieldContext } from "../../field/index.ts" +import { ValidationState } from "../../input/index.ts"; +import { cssModule, normalizeSize } from "../../shared/index.ts"; +import { useFieldContext } from "../../field/index.ts"; /* eslint-disable sort-keys, sort-keys-fix/sort-keys-fix */ const Gap = { diff --git a/packages/components/src/input/src/useInputContent.tsx b/packages/components/src/input/src/useInputContent.tsx index 291175ff3..bed88445a 100644 --- a/packages/components/src/input/src/useInputContent.tsx +++ b/packages/components/src/input/src/useInputContent.tsx @@ -1,8 +1,8 @@ -import { embedIconButton } from "../../button/index.ts" -import { Spinner, SpinnerProps } from "../../spinner/index.ts" +import { embedIconButton } from "../../button/index.ts"; +import { Spinner, SpinnerProps } from "../../spinner/index.ts"; import { CreatedIconProps } from "@hopper-ui/icons"; import { ReactElement } from "react"; -import { augmentElement } from "../../shared/index.ts" +import { augmentElement } from "../../shared/index.ts"; type UseInputIconProps = Omit<CreatedIconProps, "className" | "children">; diff --git a/packages/components/src/input/src/useInputHasFocus.ts b/packages/components/src/input/src/useInputHasFocus.ts index d46914f9d..7aa451727 100644 --- a/packages/components/src/input/src/useInputHasFocus.ts +++ b/packages/components/src/input/src/useInputHasFocus.ts @@ -1,4 +1,4 @@ -import { useEventCallback } from "../../shared/index.ts" +import { useEventCallback } from "../../shared/index.ts"; import { useState } from "react"; export function useInputHasFocus() { diff --git a/packages/components/src/layout/src/Flex.tsx b/packages/components/src/layout/src/Flex.tsx index 6f515b11b..1c83d7e69 100644 --- a/packages/components/src/layout/src/Flex.tsx +++ b/packages/components/src/layout/src/Flex.tsx @@ -12,12 +12,12 @@ import { ResponsiveProp, RowGapProp, useResponsiveValue -} from "../../styling/index.ts" -import { Box } from "../../box/index.ts" +} from "../../styling/index.ts"; +import { Box } from "../../box/index.ts"; import { ComponentProps, ReactNode, forwardRef } from "react"; -import { InternalProps, OmitInternalProps, SlotProps, StyledComponentProps, isNil, mergeProps, omitProps } from "../../shared/index.ts" +import { InternalProps, OmitInternalProps, SlotProps, StyledComponentProps, isNil, mergeProps, omitProps } from "../../shared/index.ts"; import { Property } from "csstype"; -import { useFormContext } from "../../form/index.ts" +import { useFormContext } from "../../form/index.ts"; export type FlexOrientation = "horizontal" | "vertical"; export type FlexAlignment = "start" | "end" | "center"; diff --git a/packages/components/src/layout/src/Grid.tsx b/packages/components/src/layout/src/Grid.tsx index cfdcc679a..8ce7e6884 100644 --- a/packages/components/src/layout/src/Grid.tsx +++ b/packages/components/src/layout/src/Grid.tsx @@ -15,11 +15,11 @@ import { SpacingValue, getSizingValue, useResponsiveValue -} from "../../styling/index.ts" -import { Box, type BoxProps } from "../../box/index.ts" +} from "../../styling/index.ts"; +import { Box, type BoxProps } from "../../box/index.ts"; import { ComponentProps, ReactNode, forwardRef } from "react"; -import { InternalProps, OmitInternalProps, SlotProps, StyledComponentProps, isArray, isNil, mergeProps } from "../../shared/index.ts" -import { useFormContext } from "../../form/index.ts" +import { InternalProps, OmitInternalProps, SlotProps, StyledComponentProps, isArray, isNil, mergeProps } from "../../shared/index.ts"; +import { useFormContext } from "../../form/index.ts"; // See https://developer.mozilla.org/en-US/docs/Web/CSS/repeat. export function repeat(count: number | "auto-fill" | "auto-fit", repetition: SpacingValue | SpacingValue[]) { diff --git a/packages/components/src/link/src/NewTabIndicator.tsx b/packages/components/src/link/src/NewTabIndicator.tsx index bc910dc9f..e1f7402ed 100644 --- a/packages/components/src/link/src/NewTabIndicator.tsx +++ b/packages/components/src/link/src/NewTabIndicator.tsx @@ -1,5 +1,5 @@ -import { Span } from "../../html/index.ts" -import { VisuallyHidden } from "../../visually-hidden/index.ts" +import { Span } from "../../html/index.ts"; +import { VisuallyHidden } from "../../visually-hidden/index.ts"; export function NewTabIndicator() { return ( diff --git a/packages/components/src/link/src/useLink.ts b/packages/components/src/link/src/useLink.ts index 4a4044d35..23859ebf8 100644 --- a/packages/components/src/link/src/useLink.ts +++ b/packages/components/src/link/src/useLink.ts @@ -1,5 +1,5 @@ import { ForwardedRef } from "react"; -import { InteractionProps, cssModule, isNumber, mergeClasses, useAutoFocus, useMergedRefs } from "../../shared/index.ts" +import { InteractionProps, cssModule, isNumber, mergeClasses, useAutoFocus, useMergedRefs } from "../../shared/index.ts"; export type LinkVariant = "primary" | "negative" | "accent"; diff --git a/packages/components/src/listbox/src/ListboxSection.tsx b/packages/components/src/listbox/src/ListboxSection.tsx index 8a05d1282..9165e7bd3 100644 --- a/packages/components/src/listbox/src/ListboxSection.tsx +++ b/packages/components/src/listbox/src/ListboxSection.tsx @@ -1,6 +1,6 @@ -import { Box } from "../../box/index.ts" +import { Box } from "../../box/index.ts"; import { ComponentProps, ReactNode, forwardRef } from "react"; -import { InternalProps, OmitInternalProps, StyledComponentProps, mergeProps } from "../../shared/index.ts" +import { InternalProps, OmitInternalProps, StyledComponentProps, mergeProps } from "../../shared/index.ts"; const DefaultElement = "div"; diff --git a/packages/components/src/loader/src/Loader.tsx b/packages/components/src/loader/src/Loader.tsx index 9c3974b73..fab99026c 100644 --- a/packages/components/src/loader/src/Loader.tsx +++ b/packages/components/src/loader/src/Loader.tsx @@ -1,7 +1,7 @@ import { useState, useEffect, ComponentProps, forwardRef } from "react"; -import { InternalProps, OmitInternalProps, StyledComponentProps, cssModule, mergeProps, isNil, isNumber } from "../../shared/index.ts" -import { Box } from "../../box/index.ts" -import { Div } from "../../html/index.ts" +import { InternalProps, OmitInternalProps, StyledComponentProps, cssModule, mergeProps, isNil, isNumber } from "../../shared/index.ts"; +import { Box } from "../../box/index.ts"; +import { Div } from "../../html/index.ts"; const DefaultElement = "div"; diff --git a/packages/components/src/lozenge/src/Lozenge.tsx b/packages/components/src/lozenge/src/Lozenge.tsx index 69c73ca5b..3285f389c 100644 --- a/packages/components/src/lozenge/src/Lozenge.tsx +++ b/packages/components/src/lozenge/src/Lozenge.tsx @@ -1,4 +1,4 @@ -import { Box } from "../../box/index.ts" +import { Box } from "../../box/index.ts"; import { ComponentProps, ReactNode, forwardRef, useMemo } from "react"; import { InternalProps, @@ -12,9 +12,9 @@ import { slot, useMergedRefs, useSlots -} from "../../shared/index.ts" -import { ResponsiveProp, useResponsiveValue } from "../../styling/index.ts" -import { Text } from "../../typography/index.ts" +} from "../../shared/index.ts"; +import { ResponsiveProp, useResponsiveValue } from "../../styling/index.ts"; +import { Text } from "../../typography/index.ts"; const DefaultElement = "span"; diff --git a/packages/components/src/menu/src/MenuSection.tsx b/packages/components/src/menu/src/MenuSection.tsx index 397b8dbc8..28a5deef0 100644 --- a/packages/components/src/menu/src/MenuSection.tsx +++ b/packages/components/src/menu/src/MenuSection.tsx @@ -1,7 +1,7 @@ -import { Box } from "../../box/index.ts" +import { Box } from "../../box/index.ts"; import { ComponentProps, ReactNode, forwardRef } from "react"; -import { InternalProps, OmitInternalProps, StyledComponentProps, mergeProps } from "../../shared/index.ts" -import { Span, UL } from "../../html/index.ts" +import { InternalProps, OmitInternalProps, StyledComponentProps, mergeProps } from "../../shared/index.ts"; +import { Span, UL } from "../../html/index.ts"; const DefaultElement = "li"; diff --git a/packages/components/src/modal/src/Modal.tsx b/packages/components/src/modal/src/Modal.tsx index ead86456a..5cc8aa3d0 100644 --- a/packages/components/src/modal/src/Modal.tsx +++ b/packages/components/src/modal/src/Modal.tsx @@ -1,9 +1,9 @@ -import { AbstractDialogProps, Dialog } from "../../dialog/index.ts" +import { AbstractDialogProps, Dialog } from "../../dialog/index.ts"; import { Children, ComponentProps, ReactElement, ReactNode, forwardRef, useMemo } from "react"; -import { Content } from "../../placeholders/index.ts" -import { Div } from "../../html/index.ts" -import { OmitInternalProps, augmentElement, getSlotKey, isNil, mergeProps, useSlots } from "../../shared/index.ts" -import { StyleProvider } from "../../styling/index.ts" +import { Content } from "../../placeholders/index.ts"; +import { Div } from "../../html/index.ts"; +import { OmitInternalProps, augmentElement, getSlotKey, isNil, mergeProps, useSlots } from "../../shared/index.ts"; +import { StyleProvider } from "../../styling/index.ts"; const DefaultElement = "section"; diff --git a/packages/components/src/modal/src/ModalTrigger.tsx b/packages/components/src/modal/src/ModalTrigger.tsx index d6b03b343..885291e98 100644 --- a/packages/components/src/modal/src/ModalTrigger.tsx +++ b/packages/components/src/modal/src/ModalTrigger.tsx @@ -1,6 +1,6 @@ import { ComponentProps, forwardRef } from "react"; -import { DialogTrigger, InnerDialogTrigger, InnerDialogTriggerProps } from "../../dialog/index.ts" -import { OmitInternalProps } from "../../shared/index.ts" +import { DialogTrigger, InnerDialogTrigger, InnerDialogTriggerProps } from "../../dialog/index.ts"; +import { OmitInternalProps } from "../../shared/index.ts"; export type InnerModalTriggerProps = InnerDialogTriggerProps; diff --git a/packages/components/src/modal/src/useModalTriggerContext.ts b/packages/components/src/modal/src/useModalTriggerContext.ts index 1d061154f..965fa7428 100644 --- a/packages/components/src/modal/src/useModalTriggerContext.ts +++ b/packages/components/src/modal/src/useModalTriggerContext.ts @@ -1,4 +1,4 @@ -import { DialogTriggerContextType, useDialogTriggerContext } from "../../dialog/index.ts" +import { DialogTriggerContextType, useDialogTriggerContext } from "../../dialog/index.ts"; export type ModalTriggerContextType = DialogTriggerContextType; diff --git a/packages/components/src/number-input/src/NumberInput.tsx b/packages/components/src/number-input/src/NumberInput.tsx index 08a7772ad..da720723f 100644 --- a/packages/components/src/number-input/src/NumberInput.tsx +++ b/packages/components/src/number-input/src/NumberInput.tsx @@ -1,7 +1,7 @@ -import { AbstractInputProps, adaptInputStylingProps, useInput, useInputIcon, useInputSpinner } from "../../input/index.ts" -import { Box, BoxProps } from "../../box/index.ts" +import { AbstractInputProps, adaptInputStylingProps, useInput, useInputIcon, useInputSpinner } from "../../input/index.ts"; +import { Box, BoxProps } from "../../box/index.ts"; import { ChangeEvent, ComponentProps, FocusEvent, FocusEventHandler, MouseEvent, ReactElement, Ref, SyntheticEvent, forwardRef, useCallback, useMemo } from "react"; -import { Div, HtmlButton } from "../../html/index.ts" +import { Div, HtmlButton } from "../../html/index.ts"; import { OmitInternalProps, cssModule, @@ -15,13 +15,13 @@ import { useEventCallback, useFocusWithin, useRefState -} from "../../shared/index.ts" -import { ResponsiveProp, useResponsiveValue } from "../../styling/index.ts" +} from "../../shared/index.ts"; +import { ResponsiveProp, useResponsiveValue } from "../../styling/index.ts"; import { AngleDownIcon, AngleUpIcon } from "@hopper-ui/icons"; -import { useFieldInputProps } from "../../field/index.ts" -import { useInputGroupProps } from "../../input-group/index.ts" -import { useToolbarProps } from "../../toolbar/index.ts" +import { useFieldInputProps } from "../../field/index.ts"; +import { useInputGroupProps } from "../../input-group/index.ts"; +import { useToolbarProps } from "../../toolbar/index.ts"; const DefaultElement = "input"; diff --git a/packages/components/src/overlay/src/Overlay.tsx b/packages/components/src/overlay/src/Overlay.tsx index db0a2433e..4a899797a 100644 --- a/packages/components/src/overlay/src/Overlay.tsx +++ b/packages/components/src/overlay/src/Overlay.tsx @@ -1,8 +1,8 @@ import { ComponentProps, ReactNode, forwardRef } from "react"; -import { InternalProps, OmitInternalProps, StyledComponentProps, cssModule, getBodyElement, mergeProps } from "../../shared/index.ts" -import { ThemeProvider, useColorSchemeContext } from "../../styling/index.ts" +import { InternalProps, OmitInternalProps, StyledComponentProps, cssModule, getBodyElement, mergeProps } from "../../shared/index.ts"; +import { ThemeProvider, useColorSchemeContext } from "../../styling/index.ts"; -import { Transition } from "../../transition/index.ts" +import { Transition } from "../../transition/index.ts"; import { createPortal } from "react-dom"; const DefaultElement = "div"; diff --git a/packages/components/src/overlay/src/OverlayArrow.tsx b/packages/components/src/overlay/src/OverlayArrow.tsx index e9865e8a7..a09b2933b 100644 --- a/packages/components/src/overlay/src/OverlayArrow.tsx +++ b/packages/components/src/overlay/src/OverlayArrow.tsx @@ -1,6 +1,6 @@ -import { Box } from "../../box/index.ts" +import { Box } from "../../box/index.ts"; import { ComponentProps, forwardRef } from "react"; -import { InternalProps, OmitInternalProps, StyledComponentProps, mergeProps } from "../../shared/index.ts" +import { InternalProps, OmitInternalProps, StyledComponentProps, mergeProps } from "../../shared/index.ts"; const DefaultElement = "div"; diff --git a/packages/components/src/overlay/src/Underlay.tsx b/packages/components/src/overlay/src/Underlay.tsx index 3f4a1dffe..d0f0b92e7 100644 --- a/packages/components/src/overlay/src/Underlay.tsx +++ b/packages/components/src/overlay/src/Underlay.tsx @@ -1,6 +1,6 @@ -import { Box } from "../../box/index.ts" +import { Box } from "../../box/index.ts"; import { ComponentProps, forwardRef } from "react"; -import { InternalProps, OmitInternalProps, StyledComponentProps, mergeProps } from "../../shared/index.ts" +import { InternalProps, OmitInternalProps, StyledComponentProps, mergeProps } from "../../shared/index.ts"; const DefaultElement = "div"; diff --git a/packages/components/src/overlay/src/isDevtoolsBlurEvent.ts b/packages/components/src/overlay/src/isDevtoolsBlurEvent.ts index 500c8bc5b..b3c369841 100644 --- a/packages/components/src/overlay/src/isDevtoolsBlurEvent.ts +++ b/packages/components/src/overlay/src/isDevtoolsBlurEvent.ts @@ -1,4 +1,4 @@ -import { FocusScope } from "../../shared/index.ts" +import { FocusScope } from "../../shared/index.ts"; export function isDevToolsBlurEvent(focusScope: FocusScope) { // This is a fix to prevent an overlay from closing when the dev tools opens. diff --git a/packages/components/src/overlay/src/useInteractOutside.ts b/packages/components/src/overlay/src/useInteractOutside.ts index 1f771f7ee..e3ff53902 100644 --- a/packages/components/src/overlay/src/useInteractOutside.ts +++ b/packages/components/src/overlay/src/useInteractOutside.ts @@ -1,4 +1,4 @@ -import { FocusScope, isNil, useDocumentListener, useEventCallback } from "../../shared/index.ts" +import { FocusScope, isNil, useDocumentListener, useEventCallback } from "../../shared/index.ts"; import { MouseEvent } from "react"; diff --git a/packages/components/src/overlay/src/useOverlayFocusRing.ts b/packages/components/src/overlay/src/useOverlayFocusRing.ts index 3b69dbcd5..9037167cf 100644 --- a/packages/components/src/overlay/src/useOverlayFocusRing.ts +++ b/packages/components/src/overlay/src/useOverlayFocusRing.ts @@ -1,4 +1,4 @@ -import { cssModule } from "../../shared/index.ts" +import { cssModule } from "../../shared/index.ts"; interface UseOverlayFocusRingProps { focus?: boolean; diff --git a/packages/components/src/overlay/src/useOverlayPosition.ts b/packages/components/src/overlay/src/useOverlayPosition.ts index 819f0b9a3..ed68b3f90 100644 --- a/packages/components/src/overlay/src/useOverlayPosition.ts +++ b/packages/components/src/overlay/src/useOverlayPosition.ts @@ -1,6 +1,6 @@ import { Instance, Placement, createPopper } from "@popperjs/core"; -import { ResponsiveProp } from "../../styling/index.ts" -import { getBodyElement, isNil, useMergedRefs, useRefState } from "../../shared/index.ts" +import { ResponsiveProp } from "../../styling/index.ts"; +import { getBodyElement, isNil, useMergedRefs, useRefState } from "../../shared/index.ts"; import { useCallback } from "react"; export type OverlayPosition = Placement; diff --git a/packages/components/src/overlay/src/useOverlayTrigger.ts b/packages/components/src/overlay/src/useOverlayTrigger.ts index 219e934be..552005cf2 100644 --- a/packages/components/src/overlay/src/useOverlayTrigger.ts +++ b/packages/components/src/overlay/src/useOverlayTrigger.ts @@ -1,5 +1,5 @@ import { FocusEvent, KeyboardEvent, MouseEvent, SyntheticEvent } from "react"; -import { Keys, isNil, useEventCallback } from "../../shared/index.ts" +import { Keys, isNil, useEventCallback } from "../../shared/index.ts"; export type OverlayTrigger = "none" | "click" | "hover"; diff --git a/packages/components/src/overlay/src/usePopupAriaProps.ts b/packages/components/src/overlay/src/usePopupAriaProps.ts index 128871314..e38e86010 100644 --- a/packages/components/src/overlay/src/usePopupAriaProps.ts +++ b/packages/components/src/overlay/src/usePopupAriaProps.ts @@ -1,4 +1,4 @@ -import { useId } from "../../shared/index.ts" +import { useId } from "../../shared/index.ts"; export type PopupType = "menu" | "listbox" | "dialog"; diff --git a/packages/components/src/overlay/src/useTrapFocus.ts b/packages/components/src/overlay/src/useTrapFocus.ts index a4f8c4752..569efd064 100644 --- a/packages/components/src/overlay/src/useTrapFocus.ts +++ b/packages/components/src/overlay/src/useTrapFocus.ts @@ -1,4 +1,4 @@ -import { FocusManager, Keys, isNil, useDocumentListener, useEventCallback, useRefState } from "../../shared/index.ts" +import { FocusManager, Keys, isNil, useDocumentListener, useEventCallback, useRefState } from "../../shared/index.ts"; export interface UseTrapFocusOptions { isDisabled?: boolean; diff --git a/packages/components/src/overlay/src/useTriggerWidth.ts b/packages/components/src/overlay/src/useTriggerWidth.ts index 379cbcd7a..58d78b425 100644 --- a/packages/components/src/overlay/src/useTriggerWidth.ts +++ b/packages/components/src/overlay/src/useTriggerWidth.ts @@ -1,5 +1,5 @@ import { RefCallback, useState } from "react"; -import { arrayify, useEventCallback, useResizeObserver } from "../../shared/index.ts" +import { arrayify, useEventCallback, useResizeObserver } from "../../shared/index.ts"; export interface UseTriggerWidthOptions { isDisabled?: boolean; diff --git a/packages/components/src/placeholders/src/Content.tsx b/packages/components/src/placeholders/src/Content.tsx index 8c218b5a3..44476e33c 100644 --- a/packages/components/src/placeholders/src/Content.tsx +++ b/packages/components/src/placeholders/src/Content.tsx @@ -1,6 +1,6 @@ -import { Box } from "../../box/index.ts" +import { Box } from "../../box/index.ts"; import { ComponentProps, ReactNode, forwardRef } from "react"; -import { InternalProps, OmitInternalProps, SlotProps, StyledComponentProps, slot } from "../../shared/index.ts" +import { InternalProps, OmitInternalProps, SlotProps, StyledComponentProps, slot } from "../../shared/index.ts"; const DefaultElement = "div"; diff --git a/packages/components/src/placeholders/src/Footer.tsx b/packages/components/src/placeholders/src/Footer.tsx index c3dc6abcc..13312cc39 100644 --- a/packages/components/src/placeholders/src/Footer.tsx +++ b/packages/components/src/placeholders/src/Footer.tsx @@ -1,6 +1,6 @@ -import { Box } from "../../box/index.ts" +import { Box } from "../../box/index.ts"; import { ComponentProps, ReactNode, forwardRef } from "react"; -import { InternalProps, OmitInternalProps, SlotProps, StyledComponentProps, slot } from "../../shared/index.ts" +import { InternalProps, OmitInternalProps, SlotProps, StyledComponentProps, slot } from "../../shared/index.ts"; const DefaultElement = "div"; diff --git a/packages/components/src/placeholders/src/Header.tsx b/packages/components/src/placeholders/src/Header.tsx index 53f648823..deb6185e8 100644 --- a/packages/components/src/placeholders/src/Header.tsx +++ b/packages/components/src/placeholders/src/Header.tsx @@ -1,6 +1,6 @@ -import { Box } from "../../box/index.ts" +import { Box } from "../../box/index.ts"; import { ComponentProps, ReactNode, forwardRef } from "react"; -import { InternalProps, OmitInternalProps, SlotProps, StyledComponentProps, slot } from "../../shared/index.ts" +import { InternalProps, OmitInternalProps, SlotProps, StyledComponentProps, slot } from "../../shared/index.ts"; const DefaultElement = "div"; diff --git a/packages/components/src/popover/src/Popover.tsx b/packages/components/src/popover/src/Popover.tsx index 23c134c03..cce1ed7a4 100644 --- a/packages/components/src/popover/src/Popover.tsx +++ b/packages/components/src/popover/src/Popover.tsx @@ -16,11 +16,11 @@ import { useId, useMergedRefs, useSlots -} from "../../shared/index.ts" -import { useOverlayFocusRing, useTrapFocus } from "../../overlay/index.ts" +} from "../../shared/index.ts"; +import { useOverlayFocusRing, useTrapFocus } from "../../overlay/index.ts"; -import { Box } from "../../box/index.ts" -import { Text } from "../../typography/index.ts" +import { Box } from "../../box/index.ts"; +import { Text } from "../../typography/index.ts"; import { HeadingContext } from "@hopper-ui/components"; const DefaultElement = "section"; diff --git a/packages/components/src/radio/src/Radio.tsx b/packages/components/src/radio/src/Radio.tsx index 38fe7364c..7cc871d82 100644 --- a/packages/components/src/radio/src/Radio.tsx +++ b/packages/components/src/radio/src/Radio.tsx @@ -14,14 +14,14 @@ import { useForwardInputApi, useSlots, normalizeSize -} from "../../shared/index.ts" -import { ResponsiveProp, useResponsiveValue } from "../../styling/index.ts" - -import { AbstractInputProps } from "../../input/index.ts" -import { Box } from "../../box/index.ts" -import { Span } from "../../html/index.ts" -import { Text } from "../../typography/index.ts" -import { VisuallyHidden } from "../../visually-hidden/index.ts" +} from "../../shared/index.ts"; +import { ResponsiveProp, useResponsiveValue } from "../../styling/index.ts"; + +import { AbstractInputProps } from "../../input/index.ts"; +import { Box } from "../../box/index.ts"; +import { Span } from "../../html/index.ts"; +import { Text } from "../../typography/index.ts"; +import { VisuallyHidden } from "../../visually-hidden/index.ts"; const DefaultElement = "label"; diff --git a/packages/components/src/radio/src/RadioGroup.tsx b/packages/components/src/radio/src/RadioGroup.tsx index 895f9c753..38d648f0d 100644 --- a/packages/components/src/radio/src/RadioGroup.tsx +++ b/packages/components/src/radio/src/RadioGroup.tsx @@ -1,4 +1,4 @@ -import { AbstractGroupInputProps, useGroupInput } from "../../input/index.ts" +import { AbstractGroupInputProps, useGroupInput } from "../../input/index.ts"; import { CheckableContext, Keys, @@ -17,13 +17,13 @@ import { useKeyboardNavigation, useKeyedRovingFocus, useMergedRefs -} from "../../shared/index.ts" +} from "../../shared/index.ts"; import { Children, ComponentProps, ReactElement, SyntheticEvent, forwardRef, useCallback } from "react"; -import { Group } from "../../group/index.ts" -import { useFieldInputProps } from "../../field/index.ts" -import { ResponsiveProp, useResponsiveValue } from "../../styling/index.ts" -import { useToolbarProps } from "../../toolbar/index.ts" +import { Group } from "../../group/index.ts"; +import { useFieldInputProps } from "../../field/index.ts"; +import { ResponsiveProp, useResponsiveValue } from "../../styling/index.ts"; +import { useToolbarProps } from "../../toolbar/index.ts"; const DefaultElement = "div"; diff --git a/packages/components/src/select/src/HiddenSelect.tsx b/packages/components/src/select/src/HiddenSelect.tsx index a969e5c1b..f45397f52 100644 --- a/packages/components/src/select/src/HiddenSelect.tsx +++ b/packages/components/src/select/src/HiddenSelect.tsx @@ -1,6 +1,6 @@ -import { HtmlInput } from "../../html/index.ts" -import { StyledComponentProps, isNil, mergeProps, InternalProps, OmitInternalProps } from "../../shared/index.ts" -import { ValidationState } from "../../input/index.ts" +import { HtmlInput } from "../../html/index.ts"; +import { StyledComponentProps, isNil, mergeProps, InternalProps, OmitInternalProps } from "../../shared/index.ts"; +import { ValidationState } from "../../input/index.ts"; import { ComponentProps, forwardRef } from "react"; const DefaultElement = "input"; diff --git a/packages/components/src/select/src/useSelect.tsx b/packages/components/src/select/src/useSelect.tsx index a3318346a..2ebda0b27 100644 --- a/packages/components/src/select/src/useSelect.tsx +++ b/packages/components/src/select/src/useSelect.tsx @@ -13,13 +13,13 @@ import { useMergedRefs, useRawSlots, useRefState -} from "../../shared/index.ts" +} from "../../shared/index.ts"; import { KeyboardEvent, ReactNode, Ref, SyntheticEvent, useCallback, useMemo } from "react"; -import { OverlayProps, PopupAlignment, PopupDirection, PopupPosition, usePopup, useTriggerWidth } from "../../overlay/index.ts" -import { useCollection, useOnlyCollectionItems } from "../../collection/index.ts" +import { OverlayProps, PopupAlignment, PopupDirection, PopupPosition, usePopup, useTriggerWidth } from "../../overlay/index.ts"; +import { useCollection, useOnlyCollectionItems } from "../../collection/index.ts"; -import { OptionKeyProp } from "../../listbox/index.ts" -import { ValidationState } from "../../input/index.ts" +import { OptionKeyProp } from "../../listbox/index.ts"; +import { ValidationState } from "../../input/index.ts"; export interface UseSelectOptions { align?: PopupAlignment; diff --git a/packages/components/src/shared/src/types.ts b/packages/components/src/shared/src/types.ts index 11c6a46e5..95767e6f9 100644 --- a/packages/components/src/shared/src/types.ts +++ b/packages/components/src/shared/src/types.ts @@ -1,6 +1,6 @@ import { AllHTMLAttributes, ComponentProps, ElementType, ForwardedRef } from "react"; -import { StyledSystemProps } from "../../styling/index.ts" +import { StyledSystemProps } from "../../styling/index.ts"; export interface SlotProps { /** diff --git a/packages/components/src/spinner/src/Spinner.tsx b/packages/components/src/spinner/src/Spinner.tsx index e833c9e6c..ed609fcaa 100644 --- a/packages/components/src/spinner/src/Spinner.tsx +++ b/packages/components/src/spinner/src/Spinner.tsx @@ -1,8 +1,8 @@ import { ComponentProps, forwardRef } from "react"; -import { isNil, InternalProps, OmitInternalProps, StyledComponentProps, cssModule, mergeProps, normalizeSize } from "../../shared/index.ts" -import { Box } from "../../box/index.ts" -import { ResponsiveProp, useResponsiveValue } from "../../styling/index.ts" -import { Text } from "../../typography/index.ts" +import { isNil, InternalProps, OmitInternalProps, StyledComponentProps, cssModule, mergeProps, normalizeSize } from "../../shared/index.ts"; +import { Box } from "../../box/index.ts"; +import { ResponsiveProp, useResponsiveValue } from "../../styling/index.ts"; +import { Text } from "../../typography/index.ts"; const DefaultElement = "div"; diff --git a/packages/components/src/styling/src/StyleContext.ts b/packages/components/src/styling/src/StyleContext.ts index 5117ab5f0..18b150946 100644 --- a/packages/components/src/styling/src/StyleContext.ts +++ b/packages/components/src/styling/src/StyleContext.ts @@ -1,5 +1,5 @@ import { createContext, useContext } from "react"; -import { isNil } from "../../shared/index.ts" +import { isNil } from "../../shared/index.ts"; type StyleContextType = Record<string, any>; diff --git a/packages/components/src/switch/src/Switch.tsx b/packages/components/src/switch/src/Switch.tsx index 9f3c88337..bc6eb112a 100644 --- a/packages/components/src/switch/src/Switch.tsx +++ b/packages/components/src/switch/src/Switch.tsx @@ -1,14 +1,14 @@ -import { AbstractInputProps } from "../../input/index.ts" -import { Box } from "../../box/index.ts" -import { Span } from "../../html/index.ts" +import { AbstractInputProps } from "../../input/index.ts"; +import { Box } from "../../box/index.ts"; +import { Span } from "../../html/index.ts"; import { ChangeEvent, ChangeEventHandler, ComponentProps, ReactNode, forwardRef, useMemo } from "react"; -import { OmitInternalProps, isNil, mergeProps, omitProps, resolveChildren, useChainedEventCallback, useSlots } from "../../shared/index.ts" -import { ResponsiveProp, useResponsiveValue } from "../../styling/index.ts" -import { Text } from "../../typography/index.ts" -import { VisuallyHidden } from "../../visually-hidden/index.ts" -import { useCheckbox } from "../../checkbox/index.ts" -import { useFieldInputProps } from "../../field/index.ts" -import { useToolbarProps } from "../../toolbar/index.ts" +import { OmitInternalProps, isNil, mergeProps, omitProps, resolveChildren, useChainedEventCallback, useSlots } from "../../shared/index.ts"; +import { ResponsiveProp, useResponsiveValue } from "../../styling/index.ts"; +import { Text } from "../../typography/index.ts"; +import { VisuallyHidden } from "../../visually-hidden/index.ts"; +import { useCheckbox } from "../../checkbox/index.ts"; +import { useFieldInputProps } from "../../field/index.ts"; +import { useToolbarProps } from "../../toolbar/index.ts"; const DefaultElement = "label"; diff --git a/packages/components/src/tabs/src/useTabsItems.ts b/packages/components/src/tabs/src/useTabsItems.ts index 1a856d95b..f391009ac 100644 --- a/packages/components/src/tabs/src/useTabsItems.ts +++ b/packages/components/src/tabs/src/useTabsItems.ts @@ -1,6 +1,6 @@ import { Children, ReactElement, ReactNode, Ref, RefAttributes, useMemo } from "react"; -import { Content, Header } from "../../placeholders/index.ts" -import { isNil, mergeProps, resolveChildren } from "../../shared/index.ts" +import { Content, Header } from "../../placeholders/index.ts"; +import { isNil, mergeProps, resolveChildren } from "../../shared/index.ts"; export interface PanelType { disabled?: boolean; diff --git a/packages/components/src/tag/src/Tag.tsx b/packages/components/src/tag/src/Tag.tsx index cddc409dc..75feb801d 100644 --- a/packages/components/src/tag/src/Tag.tsx +++ b/packages/components/src/tag/src/Tag.tsx @@ -1,11 +1,11 @@ -import { Box } from "../../box/index.ts" +import { Box } from "../../box/index.ts"; import { ComponentProps, ReactNode, SyntheticEvent, forwardRef, useMemo } from "react"; -import { CrossButton } from "../../button/index.ts" -import { InteractionProps, InternalProps, OmitInternalProps, StyledComponentProps, createSizeAdapter, cssModule, isNil, mergeProps, normalizeSize, useMergedRefs, useSlots, createEmbeddableAdapter, slot } from "../../shared/index.ts" -import { ResponsiveProp, useResponsiveValue } from "../../styling/index.ts" -import { Text } from "../../typography/index.ts" -import { useFieldInputProps } from "../../field/index.ts" -import { ValidationState } from "../../input/index.ts" +import { CrossButton } from "../../button/index.ts"; +import { InteractionProps, InternalProps, OmitInternalProps, StyledComponentProps, createSizeAdapter, cssModule, isNil, mergeProps, normalizeSize, useMergedRefs, useSlots, createEmbeddableAdapter, slot } from "../../shared/index.ts"; +import { ResponsiveProp, useResponsiveValue } from "../../styling/index.ts"; +import { Text } from "../../typography/index.ts"; +import { useFieldInputProps } from "../../field/index.ts"; +import { ValidationState } from "../../input/index.ts"; const DefaultElement = "div"; diff --git a/packages/components/src/text-area/src/TextArea.tsx b/packages/components/src/text-area/src/TextArea.tsx index 160e6614e..84d28321a 100644 --- a/packages/components/src/text-area/src/TextArea.tsx +++ b/packages/components/src/text-area/src/TextArea.tsx @@ -1,9 +1,9 @@ -import { AbstractInputProps, adaptInputStylingProps, useInput, useInputButton, useInputHasFocus, useInputSpinner } from "../../input/index.ts" -import { Box, BoxProps } from "../../box/index.ts" +import { AbstractInputProps, adaptInputStylingProps, useInput, useInputButton, useInputHasFocus, useInputSpinner } from "../../input/index.ts"; +import { Box, BoxProps } from "../../box/index.ts"; import { ChangeEvent, ComponentProps, ReactElement, forwardRef, useCallback, useEffect, useMemo, useState } from "react"; -import { OmitInternalProps, cssModule, getBodyElement, isNil, mergeProps, useChainedEventCallback, useControllableState, useIsomorphicLayoutEffect } from "../../shared/index.ts" -import { ResponsiveProp, useResponsiveValue } from "../../styling/index.ts" -import { useFieldInputProps } from "../../field/index.ts" +import { OmitInternalProps, cssModule, getBodyElement, isNil, mergeProps, useChainedEventCallback, useControllableState, useIsomorphicLayoutEffect } from "../../shared/index.ts"; +import { ResponsiveProp, useResponsiveValue } from "../../styling/index.ts"; +import { useFieldInputProps } from "../../field/index.ts"; const DefaultElement = "textarea"; const DefaultMinimumTextAreaRows = 3; diff --git a/packages/components/src/text-input/src/SearchInput.tsx b/packages/components/src/text-input/src/SearchInput.tsx index 4a069fef6..fb68975fb 100644 --- a/packages/components/src/text-input/src/SearchInput.tsx +++ b/packages/components/src/text-input/src/SearchInput.tsx @@ -1,4 +1,4 @@ -import { AbstractTextInputProps, TextInput } from "../../text-input/index.ts" +import { AbstractTextInputProps, TextInput } from "../../text-input/index.ts"; import { ChangeEvent, ComponentProps, KeyboardEvent, SyntheticEvent, forwardRef, useCallback } from "react"; import { Keys, @@ -11,11 +11,11 @@ import { useControllableState, useEventCallback, useMergedRefs -} from "../../shared/index.ts" +} from "../../shared/index.ts"; -import { CrossButton } from "../../button/index.ts" +import { CrossButton } from "../../button/index.ts"; import { SearchIcon } from "@hopper-ui/icons"; -import { useInputGroupTextInputProps } from "../../input-group/index.ts" +import { useInputGroupTextInputProps } from "../../input-group/index.ts"; const DefaultElement = "input"; diff --git a/packages/components/src/text-input/src/TextInput.tsx b/packages/components/src/text-input/src/TextInput.tsx index 059ac4ddc..27947f62a 100644 --- a/packages/components/src/text-input/src/TextInput.tsx +++ b/packages/components/src/text-input/src/TextInput.tsx @@ -1,11 +1,11 @@ -import { AbstractInputProps, adaptInputStylingProps, useInput, useInputIcon, useInputSpinner, useInputButton, useInputHasFocus } from "../../input/index.ts" -import { Box, BoxProps } from "../../box/index.ts" +import { AbstractInputProps, adaptInputStylingProps, useInput, useInputIcon, useInputSpinner, useInputButton, useInputHasFocus } from "../../input/index.ts"; +import { Box, BoxProps } from "../../box/index.ts"; import { ChangeEvent, ComponentProps, ElementType, ReactElement, forwardRef } from "react"; -import { ClearInputGroupContext, useInputGroupTextInputProps } from "../../input-group/index.ts" -import { OmitInternalProps, cssModule, createSizeAdapter, isNil, mergeProps, omitProps, useChainedEventCallback, useControllableState } from "../../shared/index.ts" -import { ResponsiveProp, useResponsiveValue } from "../../styling/index.ts" -import { useFieldInputProps } from "../../field/index.ts" -import { useToolbarProps } from "../../toolbar/index.ts" +import { ClearInputGroupContext, useInputGroupTextInputProps } from "../../input-group/index.ts"; +import { OmitInternalProps, cssModule, createSizeAdapter, isNil, mergeProps, omitProps, useChainedEventCallback, useControllableState } from "../../shared/index.ts"; +import { ResponsiveProp, useResponsiveValue } from "../../styling/index.ts"; +import { useFieldInputProps } from "../../field/index.ts"; +import { useToolbarProps } from "../../toolbar/index.ts"; export type AbstractTextInputProps<T extends ElementType> = AbstractInputProps<T> & { /** diff --git a/packages/components/src/tile/src/TileGroup.tsx b/packages/components/src/tile/src/TileGroup.tsx index c7e60bf3d..0291703c3 100644 --- a/packages/components/src/tile/src/TileGroup.tsx +++ b/packages/components/src/tile/src/TileGroup.tsx @@ -1,5 +1,5 @@ -import { AbstractGroupProps, Group } from "../../group/index.ts" -import { CheckboxGroup } from "../../checkbox/index.ts" +import { AbstractGroupProps, Group } from "../../group/index.ts"; +import { CheckboxGroup } from "../../checkbox/index.ts"; import { Children, ComponentProps, ReactElement, ReactNode, SyntheticEvent, forwardRef } from "react"; import { OmitInternalProps, @@ -13,9 +13,9 @@ import { useFocusManager, useFocusScope, useMergedRefs -} from "../../shared/index.ts" -import { RadioGroup } from "../../radio/index.ts" -import { ResponsiveProp, useResponsiveValue } from "../../styling/index.ts" +} from "../../shared/index.ts"; +import { RadioGroup } from "../../radio/index.ts"; +import { ResponsiveProp, useResponsiveValue } from "../../styling/index.ts"; const DefaultElement = "div"; diff --git a/packages/components/src/tile/src/useTile.tsx b/packages/components/src/tile/src/useTile.tsx index aa6769b50..50e981aba 100644 --- a/packages/components/src/tile/src/useTile.tsx +++ b/packages/components/src/tile/src/useTile.tsx @@ -1,8 +1,8 @@ -import { Div } from "../../html/index.ts" +import { Div } from "../../html/index.ts"; import { CheckmarkIcon } from "@hopper-ui/icons"; -import { InteractionProps, cssModule, useSlots } from "../../shared/index.ts" +import { InteractionProps, cssModule, useSlots } from "../../shared/index.ts"; import { ReactNode, useMemo } from "react"; -import { Text } from "../../typography/index.ts" +import { Text } from "../../typography/index.ts"; export type TileOrientation = "horizontal" | "vertical"; diff --git a/packages/components/src/toolbar/src/ToolbarContext.tsx b/packages/components/src/toolbar/src/ToolbarContext.tsx index 10c7bbb53..98599c871 100644 --- a/packages/components/src/toolbar/src/ToolbarContext.tsx +++ b/packages/components/src/toolbar/src/ToolbarContext.tsx @@ -1,6 +1,6 @@ -import { FlexOrientation } from "../../layout/index.ts" +import { FlexOrientation } from "../../layout/index.ts"; import { ReactNode, createContext, useContext } from "react"; -import { isNil } from "../../shared/index.ts" +import { isNil } from "../../shared/index.ts"; export interface ToolbarContextType { disabled?: boolean; diff --git a/packages/components/src/tooltip/src/Tooltip.tsx b/packages/components/src/tooltip/src/Tooltip.tsx index 89d6fbb79..df87c3557 100644 --- a/packages/components/src/tooltip/src/Tooltip.tsx +++ b/packages/components/src/tooltip/src/Tooltip.tsx @@ -1,7 +1,7 @@ import { ComponentProps, ReactNode, forwardRef } from "react"; -import { InternalProps, OmitInternalProps, StyledComponentProps, mergeProps } from "../../shared/index.ts" +import { InternalProps, OmitInternalProps, StyledComponentProps, mergeProps } from "../../shared/index.ts"; -import { Text } from "../../typography/index.ts" +import { Text } from "../../typography/index.ts"; const DefaultElement = "div"; diff --git a/packages/components/src/transition/src/Transition.tsx b/packages/components/src/transition/src/Transition.tsx index 1f07df7cd..dcacd9fc6 100644 --- a/packages/components/src/transition/src/Transition.tsx +++ b/packages/components/src/transition/src/Transition.tsx @@ -1,7 +1,7 @@ import { ComponentProps, ReactNode, forwardRef, useEffect, useMemo, useState } from "react"; -import { InternalProps, OmitInternalProps, StyledComponentProps, isNilOrEmpty, mergeProps, useCommittedRef, useEventCallback, useIsInitialRender } from "../../shared/index.ts" +import { InternalProps, OmitInternalProps, StyledComponentProps, isNilOrEmpty, mergeProps, useCommittedRef, useEventCallback, useIsInitialRender } from "../../shared/index.ts"; -import { Box } from "../../box/index.ts" +import { Box } from "../../box/index.ts"; const DefaultElement = "div"; diff --git a/packages/components/src/typography/src/Heading.tsx b/packages/components/src/typography/src/Heading.tsx index 4f60a6b1e..771c80e77 100644 --- a/packages/components/src/typography/src/Heading.tsx +++ b/packages/components/src/typography/src/Heading.tsx @@ -1,7 +1,7 @@ -import { Box } from "../../box/index.ts" +import { Box } from "../../box/index.ts"; import { ComponentProps, ElementType, ReactNode, forwardRef } from "react"; -import { InternalProps, OmitInternalProps, SlotProps, StyledComponentProps, cssModule, mergeProps, normalizeSize, slot } from "../../shared/index.ts" -import { ResponsiveProp, useResponsiveValue, useStyleProps } from "../../styling/index.ts" +import { InternalProps, OmitInternalProps, SlotProps, StyledComponentProps, cssModule, mergeProps, normalizeSize, slot } from "../../shared/index.ts"; +import { ResponsiveProp, useResponsiveValue, useStyleProps } from "../../styling/index.ts"; export type AbstractHeadingProps<T extends ElementType> = SlotProps & InternalProps & StyledComponentProps<T> & { /** diff --git a/packages/components/src/typography/src/Paragraph.tsx b/packages/components/src/typography/src/Paragraph.tsx index 03acb6832..120f0dd8a 100644 --- a/packages/components/src/typography/src/Paragraph.tsx +++ b/packages/components/src/typography/src/Paragraph.tsx @@ -1,7 +1,7 @@ import { ComponentProps, ReactNode, forwardRef } from "react"; -import { InternalProps, OmitInternalProps, StyledComponentProps, cssModule, mergeProps, normalizeSize } from "../../shared/index.ts" -import { ResponsiveProp, StyleProvider, useResponsiveValue, useStyleProps } from "../../styling/index.ts" -import { Text } from "../../typography/index.ts" +import { InternalProps, OmitInternalProps, StyledComponentProps, cssModule, mergeProps, normalizeSize } from "../../shared/index.ts"; +import { ResponsiveProp, StyleProvider, useResponsiveValue, useStyleProps } from "../../styling/index.ts"; +import { Text } from "../../typography/index.ts"; const DefaultElement = "p"; diff --git a/packages/components/src/typography/src/Text.tsx b/packages/components/src/typography/src/Text.tsx index b1ccc336b..3705036a9 100644 --- a/packages/components/src/typography/src/Text.tsx +++ b/packages/components/src/typography/src/Text.tsx @@ -1,7 +1,7 @@ -import { Box } from "../../box/index.ts" +import { Box } from "../../box/index.ts"; import { ComponentProps, forwardRef } from "react"; -import { InternalProps, OmitInternalProps, SlotProps, StyledComponentProps, cssModule, mergeProps, normalizeSize, slot } from "../../shared/index.ts" -import { ResponsiveProp, useResponsiveValue, useStyleProps } from "../../styling/index.ts" +import { InternalProps, OmitInternalProps, SlotProps, StyledComponentProps, cssModule, mergeProps, normalizeSize, slot } from "../../shared/index.ts"; +import { ResponsiveProp, useResponsiveValue, useStyleProps } from "../../styling/index.ts"; const DefaultElement = "span"; diff --git a/packages/components/src/visually-hidden/src/VisuallyHidden.tsx b/packages/components/src/visually-hidden/src/VisuallyHidden.tsx index eedb4737d..0fbcd9df3 100644 --- a/packages/components/src/visually-hidden/src/VisuallyHidden.tsx +++ b/packages/components/src/visually-hidden/src/VisuallyHidden.tsx @@ -1,6 +1,6 @@ -import { Box } from "../../box/index.ts" +import { Box } from "../../box/index.ts"; import { ComponentProps, ReactNode, forwardRef } from "react"; -import { InternalProps, OmitInternalProps, StyledHtmlAttributes, mergeProps } from "../../shared/index.ts" +import { InternalProps, OmitInternalProps, StyledHtmlAttributes, mergeProps } from "../../shared/index.ts"; const DefaultElement = "div"; From 1fecc1e6967066ecf26d6c12087acab6f8f6f9a6 Mon Sep 17 00:00:00 2001 From: Alexandre Asselin <alexandre.asselin@gsoft.com> Date: Thu, 7 Nov 2024 10:45:43 -0500 Subject: [PATCH 82/95] fix typo --- tsconfig.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tsconfig.json b/tsconfig.json index 36ba9c119..cf0a41ee7 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -9,7 +9,7 @@ "@test-utils": ["tooling/test-utils/index.ts"], "@components": ["packages/components/src/index.ts"], "@components/*": ["packages/components/src/*"], - "@orbit-ui/transition-components": ["packages/components/src/idnex.ts"], + "@orbit-ui/transition-components": ["packages/components/src/index.ts"], "@workleap/orbiter-ui": ["packages/bundle/src/index.ts"], "@stories/components": [".storybook/components/index.ts"], "@css/*": ["packages/css/src/*"], From 7dba6d936306d3b59380d8099ce9e0e575d3707d Mon Sep 17 00:00:00 2001 From: Alexandre Asselin <alexandre.asselin@gsoft.com> Date: Thu, 7 Nov 2024 12:51:15 -0500 Subject: [PATCH 83/95] convert more stuff --- .storybook/decorators/withCenteredCanvas.tsx | 2 +- .storybook/decorators/withDocsContainer.tsx | 4 +- .storybook/decorators/withThemeProvider.tsx | 4 +- .storybook/manager.ts | 2 +- .storybook/preview.tsx | 6 +- .storybook/storybook-addon/a11y.ts | 43 - .storybook/storybook-addon/index.ts | 1 - @types/css.d.ts | 5 + docs/features/ResponsiveStyles.mdx | 2 +- docs/features/color-schemes/ColorSchemes.mdx | 2 +- docs/features/style-props/StyleProps.mdx | 2 +- docs/features/tokens/Tokens.mdx | 2 +- jest.config.js | 24 - jest.config.ts | 27 + package.json | 17 +- .../alert/tests/jest/AlertTrigger.test.tsx | 2 +- .../tests/jest/Autocomplete.test.tsx | 2 +- .../src/button/tests/jest/Button.test.tsx | 2 +- .../src/button/tests/jest/IconButton.test.tsx | 2 +- .../button/tests/jest/ToggleButton.test.tsx | 2 +- .../tests/jest/ToggleIconButton.test.tsx | 2 +- .../tests/jest/useDisableClick.test.tsx | 4 +- .../src/checkbox/tests/jest/Checkbox.test.tsx | 2 +- .../tests/jest/CheckboxGroup.test.tsx | 2 +- .../date-input/tests/jest/DateInput.test.tsx | 2 +- .../tests/jest/DateRangeInput.test.tsx | 2 +- .../src/dialog/tests/jest/Dialog.test.tsx | 2 +- .../dialog/tests/jest/DialogTrigger.test.tsx | 2 +- .../src/html/src/{index.tsx => index.ts} | 0 .../src/icons/{index.tsx => index.ts} | 0 .../tests/jest/InputGroup.test.tsx | 2 +- .../src/listbox/tests/jest/Listbox.test.tsx | 2 +- .../src/menu/tests/jest/Menu.test.tsx | 2 +- .../src/menu/tests/jest/MenuTrigger.test.tsx | 2 +- .../tests/jest/NumberInput.test.tsx | 2 +- .../jest/useOverlayLightDismiss.test.tsx | 2 +- .../tests/jest/useOverlayTrigger.test.tsx | 2 +- .../src/overlay/tests/jest/usePopup.test.tsx | 2 +- .../overlay/tests/jest/useTrapFocus.test.tsx | 2 +- .../src/popover/tests/jest/Popover.test.tsx | 2 +- .../tests/jest/PopoverTrigger.test.tsx | 2 +- .../src/radio/tests/jest/Radio.test.tsx | 2 +- .../src/radio/tests/jest/RadioGroup.test.tsx | 2 +- .../src/select/tests/jest/Select.test.tsx | 2 +- .../shared/tests/jest/useFocusWithin.test.tsx | 2 +- .../shared/tests/jest/useRovingFocus.test.tsx | 2 +- .../src/switch/tests/jest/Switch.test.tsx | 2 +- .../src/tabs/tests/jest/Tabs.test.tsx | 2 +- .../text-area/tests/jest/TextArea.test.tsx | 2 +- .../tests/jest/SearchInput.test.tsx | 2 +- .../text-input/tests/jest/TextInput.test.tsx | 2 +- .../src/tile/tests/jest/Tile.test.tsx | 2 +- .../src/tile/tests/jest/TileGroup.test.tsx | 2 +- .../tests/jest/TooltipTrigger.test.tsx | 2 +- pnpm-lock.yaml | 818 ++++++------------ swc.jest.ts | 6 + tsconfig.json | 17 +- tsconfig.paths.json | 15 + 58 files changed, 406 insertions(+), 669 deletions(-) delete mode 100644 .storybook/storybook-addon/a11y.ts create mode 100644 @types/css.d.ts delete mode 100644 jest.config.js create mode 100644 jest.config.ts rename packages/components/src/html/src/{index.tsx => index.ts} (100%) rename packages/components/src/icons/{index.tsx => index.ts} (100%) create mode 100644 swc.jest.ts create mode 100644 tsconfig.paths.json diff --git a/.storybook/decorators/withCenteredCanvas.tsx b/.storybook/decorators/withCenteredCanvas.tsx index 4be7c7066..b29660d4b 100644 --- a/.storybook/decorators/withCenteredCanvas.tsx +++ b/.storybook/decorators/withCenteredCanvas.tsx @@ -1,6 +1,6 @@ import { Div } from "@components/html/index.ts"; import { Flex } from "@components/layout/index.ts"; -import { isChromatic } from "../env"; +import { isChromatic } from "../env.ts"; export function withCenteredCanvas(story, context) { const { parameters, viewMode } = context; diff --git a/.storybook/decorators/withDocsContainer.tsx b/.storybook/decorators/withDocsContainer.tsx index 4c64fd606..69d85976b 100644 --- a/.storybook/decorators/withDocsContainer.tsx +++ b/.storybook/decorators/withDocsContainer.tsx @@ -1,8 +1,8 @@ import { ThemeProvider } from "@components/styling/index.ts"; import { DocsContainer } from "@storybook/blocks"; +import type { ComponentProps } from "react"; - -export function ThemedDocsContainer({ children, ...props }) { +export function ThemedDocsContainer({ children, ...props }: ComponentProps<typeof DocsContainer>) { return ( <ThemeProvider colorScheme="light"> <DocsContainer {...props}>{children}</DocsContainer>; diff --git a/.storybook/decorators/withThemeProvider.tsx b/.storybook/decorators/withThemeProvider.tsx index 5be08b3f4..646a75a37 100644 --- a/.storybook/decorators/withThemeProvider.tsx +++ b/.storybook/decorators/withThemeProvider.tsx @@ -1,5 +1,5 @@ import { ThemeProvider } from "@components/styling/index.ts"; -import { isChromatic } from "../env"; +import { isChromatic } from "../env.ts"; import { useEffect, useState, ReactNode } from "react"; export function withThemeProvider(story, context) { @@ -17,7 +17,7 @@ interface ThemeProviderDecorator { } function ThemeProviderDecorator({ children, context }: ThemeProviderDecorator) { - const [colorScheme, setColorScheme] = useState("light"); + const [colorScheme, setColorScheme] = useState<"light" | "dark">("light"); useEffect(() => { setColorScheme(context.globals.theme); diff --git a/.storybook/manager.ts b/.storybook/manager.ts index 0120a3e31..edc6a025d 100644 --- a/.storybook/manager.ts +++ b/.storybook/manager.ts @@ -1,5 +1,5 @@ import { addons } from "@storybook/manager-api"; -import { Themes } from "./styles/themes"; +import { Themes } from "./styles/themes.ts"; addons.setConfig({ theme: Themes.manager, diff --git a/.storybook/preview.tsx b/.storybook/preview.tsx index 32ec89b4f..3675f3058 100644 --- a/.storybook/preview.tsx +++ b/.storybook/preview.tsx @@ -1,10 +1,10 @@ // import { viewport, withHopperProvider } from "./storybook-addon/index"; -import { viewport } from "./storybook-addon/index"; +import { viewport } from "./storybook-addon/index.ts"; import { withBackgroundMatchingColorScheme, withCenteredCanvas, ThemedDocsContainer, withThemeProvider } from "./decorators/index.ts"; import "./stories.css"; import { isChromatic } from "./env.ts"; -import { Themes } from "./styles/themes"; -import { formatCode } from "./components/snippet/useFormattedCode"; +import { Themes } from "./styles/themes.ts"; +import { formatCode } from "./components/snippet/useFormattedCode.ts"; import type { Preview } from "@storybook/react"; import "@components/index.css"; diff --git a/.storybook/storybook-addon/a11y.ts b/.storybook/storybook-addon/a11y.ts deleted file mode 100644 index 61bea0c94..000000000 --- a/.storybook/storybook-addon/a11y.ts +++ /dev/null @@ -1,43 +0,0 @@ -import type { Parameters as SBParameters } from "@storybook/react"; -import type { configureAxe } from "axe-playwright"; - -export type Rules = NonNullable<Parameters<typeof configureAxe>[1]>["rules"]; - -export interface A11yAddonParameters { - a11y: { - disable?: boolean; - config?: { - rules?: Rules; - }; - disableContrastCheck?: boolean; - }; -} - -export function a11yParameters(params: A11yAddonParameters["a11y"]): A11yAddonParameters { - const { disableContrastCheck, ...rest } = params; - - const a11yOptions = { - a11y: rest - }; - - if (disableContrastCheck) { - a11yOptions.a11y.config = { - ...a11yOptions.a11y.config, - rules: [ - ...a11yOptions.a11y.config?.rules ?? [], - { - id: "color-contrast", - enabled: false - } - ] - }; - } - - return a11yOptions; -} - -export function getA11yAddonParameters(parameters: SBParameters): A11yAddonParameters["a11y"] | undefined { - const a11yParams = (parameters as A11yAddonParameters | undefined)?.a11y ; - - return a11yParams; -} diff --git a/.storybook/storybook-addon/index.ts b/.storybook/storybook-addon/index.ts index 823ce222d..df1127b92 100644 --- a/.storybook/storybook-addon/index.ts +++ b/.storybook/storybook-addon/index.ts @@ -1,4 +1,3 @@ export * from "./withHopperProvider.tsx"; export * from "./viewports.ts"; -export * from "./a11y.ts"; diff --git a/@types/css.d.ts b/@types/css.d.ts new file mode 100644 index 000000000..8fac20193 --- /dev/null +++ b/@types/css.d.ts @@ -0,0 +1,5 @@ +// fix type declaration for css files +declare module "*.css" { + const content: { [className: string]: string }; + export default content; +} diff --git a/docs/features/ResponsiveStyles.mdx b/docs/features/ResponsiveStyles.mdx index 9aa6cb84e..2cfe71ea7 100644 --- a/docs/features/ResponsiveStyles.mdx +++ b/docs/features/ResponsiveStyles.mdx @@ -1,7 +1,7 @@ import { Meta, Canvas, Source } from "@storybook/addon-docs"; import { Table } from "@stories/components"; import { Preview } from "@stories/components"; -import * as ResponsiveStylesStories from "./ResponsiveStyles.stories"; +import * as ResponsiveStylesStories from "./ResponsiveStyles.stories.tsx"; <Meta of={ResponsiveStylesStories} /> diff --git a/docs/features/color-schemes/ColorSchemes.mdx b/docs/features/color-schemes/ColorSchemes.mdx index c1aa87c0a..204aab93d 100644 --- a/docs/features/color-schemes/ColorSchemes.mdx +++ b/docs/features/color-schemes/ColorSchemes.mdx @@ -1,5 +1,5 @@ import { Meta, Canvas, Source } from "@storybook/addon-docs"; -import * as ColorSchemesStories from "./ColorSchemes.stories"; +import * as ColorSchemesStories from "./ColorSchemes.stories.tsx"; <Meta of={ColorSchemesStories} /> diff --git a/docs/features/style-props/StyleProps.mdx b/docs/features/style-props/StyleProps.mdx index 29d16cea5..4dfdccd43 100644 --- a/docs/features/style-props/StyleProps.mdx +++ b/docs/features/style-props/StyleProps.mdx @@ -3,7 +3,7 @@ import { Meta, Canvas, Source } from "@storybook/addon-docs"; import { Div } from "@components/html/index.ts"; import { Paragraph } from "@components/typography/index.ts"; import { PropsReferenceTable } from "./PropsReferenceTable.tsx"; -import * as StylePropsStories from "./StyleProps.stories"; +import * as StylePropsStories from "./StyleProps.stories.tsx"; <Meta of={StylePropsStories} /> diff --git a/docs/features/tokens/Tokens.mdx b/docs/features/tokens/Tokens.mdx index 02e65f643..2ce078319 100644 --- a/docs/features/tokens/Tokens.mdx +++ b/docs/features/tokens/Tokens.mdx @@ -16,7 +16,7 @@ import { Sizing } from "./Tokens.tsx"; import { TokenTable } from "./TokenTable.tsx"; -import * as TokensStories from "./Tokens.stories"; +import * as TokensStories from "./Tokens.stories.tsx"; <Meta of={TokensStories} /> diff --git a/jest.config.js b/jest.config.js deleted file mode 100644 index 9e2606d42..000000000 --- a/jest.config.js +++ /dev/null @@ -1,24 +0,0 @@ -const { pathsToModuleNameMapper } = require("ts-jest"); -const { compilerOptions } = require("./tsconfig"); - -const esmModules = ["@hopper-ui"]; - -module.exports = { - testEnvironment: "jsdom", - roots: ["<rootDir>"], - testMatch: [ - "**/tests/jest/*.test.ts?(x)" - ], - preset: "ts-jest/presets/js-with-ts", - transformIgnorePatterns: [`node_modules/(?!(?:.pnpm/)?(${esmModules.join("|")}))`], // make sure to transpile esm code to cjs - modulePaths: [compilerOptions.baseUrl], - moduleNameMapper: { - "\\.css$": "identity-obj-proxy", - ...pathsToModuleNameMapper(compilerOptions.paths) - }, - setupFilesAfterEnv: [ - "<rootDir>/setupTests.ts" - ], - verbose: true -}; - diff --git a/jest.config.ts b/jest.config.ts new file mode 100644 index 000000000..5455b8e67 --- /dev/null +++ b/jest.config.ts @@ -0,0 +1,27 @@ +import { defineJestConfig } from "@workleap/swc-configs"; +import type { Config } from "jest"; + +export const swcConfig = defineJestConfig({ + react: true +}); + +const config: Config = { + testEnvironment: "jsdom", + transform: { + "^.+\\.(js|ts|tsx)$": ["@swc/jest", swcConfig as Record<string, unknown>] + }, + testMatch: [ + "**/tests/jest/*.test.ts?(x)" + ], + moduleNameMapper: { + "\\.css$": "identity-obj-proxy" + // ...pathsToModuleNameMapper(compilerOptions.paths, { + // prefix: "<rootDir>" + // }) + }, + setupFilesAfterEnv: [ + "<rootDir>/setupTests.ts" + ] +}; + +export default config; diff --git a/package.json b/package.json index d62dd8cda..18dd7068e 100644 --- a/package.json +++ b/package.json @@ -33,7 +33,7 @@ "lint-ci-typecheck": "tsc", "list-outdated-deps": "pnpm outdated -r --format list", "update-outdated-deps": "pnpm update -r --latest \"!eslint\"", - "test": "jest", + "test": "cross-env NODE_OPTIONS=--experimental-vm-modules jest", "new-version": "changeset", "publish-pkg": "changeset publish", "publish-pkg-alpha": "pnpm publish --tag alpha --no-git-checks --loglevel verbose", @@ -50,9 +50,6 @@ "@chromatic-com/storybook": "2.0.2", "@hopper-ui/icons": "2.8.4", "@pmmmwh/react-refresh-webpack-plugin": "0.5.15", - "@workleap/eslint-plugin": "3.2.2", - "@workleap/stylelint-configs": "2.0.3", - "@workleap/typescript-configs": "3.0.2", "@storybook/addon-a11y": "8.3.6", "@storybook/addon-essentials": "8.3.6", "@storybook/addon-interactions": "8.3.6", @@ -66,8 +63,11 @@ "@storybook/test-runner": "0.19.1", "@storybook/types": "8.3.6", "@svgr/core": "6.5.1", + "@swc/core": "1.7.36", + "@swc/helpers": "0.5.13", + "@swc/jest": "0.2.36", "@testing-library/dom": "10.4.0", - "@testing-library/jest-dom": "6.6.2", + "@testing-library/jest-dom": "6.6.1", "@testing-library/react": "16.0.1", "@testing-library/user-event": "14.5.2", "@types/jest": "29.5.13", @@ -76,7 +76,10 @@ "@types/react-is": "18.3.0", "@types/resize-observer-browser": "0.1.11", "@typescript-eslint/parser": "8.10.0", + "@workleap/eslint-plugin": "3.2.2", + "@workleap/stylelint-configs": "2.0.3", "@workleap/swc-configs": "2.2.3", + "@workleap/typescript-configs": "3.0.2", "browserslist": "4.24.0", "chalk": "4.1.2", "chromatic": "6.3.4", @@ -91,7 +94,6 @@ "formik": "2.4.6", "identity-obj-proxy": "3.0.0", "jest": "29.7.0", - "jest-environment-jsdom": "29.7.0", "meow": "9.0.0", "netlify-cli": "8.6.18", "prettier": "3.3.3", @@ -105,9 +107,10 @@ "storybook": "8.3.6", "stylelint": "^16.10.0", "svgo": "3.3.2", + "ts-node": "10.9.2", "ts-jest": "29.2.5", "tsconfig-paths-webpack-plugin": "4.1.0", - "typescript": "5.5.4" + "typescript": "5.4.5" }, "engines": { "node": ">=18" diff --git a/packages/components/src/alert/tests/jest/AlertTrigger.test.tsx b/packages/components/src/alert/tests/jest/AlertTrigger.test.tsx index dc81d3f0f..2c4163a32 100644 --- a/packages/components/src/alert/tests/jest/AlertTrigger.test.tsx +++ b/packages/components/src/alert/tests/jest/AlertTrigger.test.tsx @@ -4,7 +4,7 @@ import { Content } from "@components/placeholders/index.ts"; import { Heading } from "@components/typography/index.ts"; import { createRef } from "react"; import { renderWithTheme, screen, waitFor } from "@test-utils"; -import userEvent from "@testing-library/user-event"; +import { userEvent } from "@testing-library/user-event"; // ***** Behaviors ***** diff --git a/packages/components/src/autocomplete/tests/jest/Autocomplete.test.tsx b/packages/components/src/autocomplete/tests/jest/Autocomplete.test.tsx index 8e5d0255c..0eaf9625d 100644 --- a/packages/components/src/autocomplete/tests/jest/Autocomplete.test.tsx +++ b/packages/components/src/autocomplete/tests/jest/Autocomplete.test.tsx @@ -7,7 +7,7 @@ import { Item } from "@components/collection/index.ts"; import { Keys } from "@components/shared/index.ts"; import { Transition } from "@components/transition/index.ts"; import { createRef } from "react"; -import userEvent from "@testing-library/user-event"; +import { userEvent } from "@testing-library/user-event"; beforeAll(() => { // @ts-ignore diff --git a/packages/components/src/button/tests/jest/Button.test.tsx b/packages/components/src/button/tests/jest/Button.test.tsx index 7bd2118a3..17116211e 100644 --- a/packages/components/src/button/tests/jest/Button.test.tsx +++ b/packages/components/src/button/tests/jest/Button.test.tsx @@ -1,7 +1,7 @@ import { act, screen, waitFor, renderWithTheme } from "@test-utils"; import { Button } from "@components/button/index.ts"; import { createRef } from "react"; -import userEvent from "@testing-library/user-event"; +import { userEvent } from "@testing-library/user-event"; // ***** Behaviors ***** diff --git a/packages/components/src/button/tests/jest/IconButton.test.tsx b/packages/components/src/button/tests/jest/IconButton.test.tsx index b3fd9e6e3..5d264341c 100644 --- a/packages/components/src/button/tests/jest/IconButton.test.tsx +++ b/packages/components/src/button/tests/jest/IconButton.test.tsx @@ -2,7 +2,7 @@ import { act, screen, waitFor, renderWithTheme } from "@test-utils"; import { AddIcon } from "@hopper-ui/icons"; import { IconButton } from "@components/button/index.ts"; import { createRef } from "react"; -import userEvent from "@testing-library/user-event"; +import { userEvent } from "@testing-library/user-event"; // ***** Behaviors ***** diff --git a/packages/components/src/button/tests/jest/ToggleButton.test.tsx b/packages/components/src/button/tests/jest/ToggleButton.test.tsx index c6e7383cc..3c8d67b6c 100644 --- a/packages/components/src/button/tests/jest/ToggleButton.test.tsx +++ b/packages/components/src/button/tests/jest/ToggleButton.test.tsx @@ -1,7 +1,7 @@ import { screen, waitFor, renderWithTheme } from "@test-utils"; import { ToggleButton } from "@components/button/index.ts"; import { createRef } from "react"; -import userEvent from "@testing-library/user-event"; +import { userEvent } from "@testing-library/user-event"; // ***** Behaviors ***** diff --git a/packages/components/src/button/tests/jest/ToggleIconButton.test.tsx b/packages/components/src/button/tests/jest/ToggleIconButton.test.tsx index 38d83783a..19af1a97d 100644 --- a/packages/components/src/button/tests/jest/ToggleIconButton.test.tsx +++ b/packages/components/src/button/tests/jest/ToggleIconButton.test.tsx @@ -2,7 +2,7 @@ import { AddIcon } from "@hopper-ui/icons"; import { ToggleIconButton } from "@components/button/index.ts"; import { screen, waitFor, renderWithTheme } from "@test-utils"; import { createRef } from "react"; -import userEvent from "@testing-library/user-event"; +import { userEvent } from "@testing-library/user-event"; // ***** Api ***** diff --git a/packages/components/src/button/tests/jest/useDisableClick.test.tsx b/packages/components/src/button/tests/jest/useDisableClick.test.tsx index 2911cfc87..0677ddd6e 100644 --- a/packages/components/src/button/tests/jest/useDisableClick.test.tsx +++ b/packages/components/src/button/tests/jest/useDisableClick.test.tsx @@ -1,6 +1,6 @@ import { render, screen } from "@test-utils"; -import userEvent from "@testing-library/user-event"; -import { useDisableClick } from "../../src/useDisableClick"; +import { userEvent } from "@testing-library/user-event"; +import { useDisableClick } from "../../src/useDisableClick.tsx"; test("handler is not called when boolean is true", async() => { const handler = jest.fn(); diff --git a/packages/components/src/checkbox/tests/jest/Checkbox.test.tsx b/packages/components/src/checkbox/tests/jest/Checkbox.test.tsx index 07ddfa22c..4a83588b0 100644 --- a/packages/components/src/checkbox/tests/jest/Checkbox.test.tsx +++ b/packages/components/src/checkbox/tests/jest/Checkbox.test.tsx @@ -1,7 +1,7 @@ import { act, screen, waitFor, renderWithTheme } from "@test-utils"; import { Checkbox } from "@components/checkbox/index.ts"; import { createRef } from "react"; -import userEvent from "@testing-library/user-event"; +import { userEvent } from "@testing-library/user-event"; function getInput(element: Element) { return element.querySelector("input"); diff --git a/packages/components/src/checkbox/tests/jest/CheckboxGroup.test.tsx b/packages/components/src/checkbox/tests/jest/CheckboxGroup.test.tsx index 4ce597fbb..0803f1021 100644 --- a/packages/components/src/checkbox/tests/jest/CheckboxGroup.test.tsx +++ b/packages/components/src/checkbox/tests/jest/CheckboxGroup.test.tsx @@ -2,7 +2,7 @@ import { Checkbox, CheckboxGroup } from "@components/checkbox/index.ts"; import { screen, waitFor, renderWithTheme } from "@test-utils"; import { ToggleButton } from "@components/button/index.ts"; import { createRef } from "react"; -import userEvent from "@testing-library/user-event"; +import { userEvent } from "@testing-library/user-event"; function getInput(element: Element) { return element.querySelector("input"); diff --git a/packages/components/src/date-input/tests/jest/DateInput.test.tsx b/packages/components/src/date-input/tests/jest/DateInput.test.tsx index a24d9c093..0903e5f50 100644 --- a/packages/components/src/date-input/tests/jest/DateInput.test.tsx +++ b/packages/components/src/date-input/tests/jest/DateInput.test.tsx @@ -2,7 +2,7 @@ import { Field, Label } from "@components/field/index.ts"; import { act, screen, waitFor, renderWithTheme } from "@test-utils"; import { DateInput } from "@components/date-input/index.ts"; import { createRef } from "react"; -import userEvent from "@testing-library/user-event"; +import { userEvent } from "@testing-library/user-event"; // Using userEvent.type with a string having multiple characters doesn't work because of the mask. Only the last character ends up being typed. // Providing an option.delay fix the problem but we get the following warning: "You seem to have overlapping act() calls, this is not supported. Be sure to await previous act() calls before making a new one." diff --git a/packages/components/src/date-input/tests/jest/DateRangeInput.test.tsx b/packages/components/src/date-input/tests/jest/DateRangeInput.test.tsx index 539728e82..14c5af0ad 100644 --- a/packages/components/src/date-input/tests/jest/DateRangeInput.test.tsx +++ b/packages/components/src/date-input/tests/jest/DateRangeInput.test.tsx @@ -4,7 +4,7 @@ import { DateRangeInput } from "@components/date-input/index.ts"; import { GroupField } from "@components/field/index.ts"; import { Keys } from "@components/shared/index.ts"; import { createRef } from "react"; -import userEvent from "@testing-library/user-event"; +import { userEvent } from "@testing-library/user-event"; // Using userEvent.type with a string having multiple characters doesn't work because of the mask. Only the last character ends up being typed. // Providing an option.delay fix the problem but we get the following warning: "You seem to have overlapping act() calls, this is not supported. Be sure to await previous act() calls before making a new one." diff --git a/packages/components/src/dialog/tests/jest/Dialog.test.tsx b/packages/components/src/dialog/tests/jest/Dialog.test.tsx index 95e09db2c..452fc8f82 100644 --- a/packages/components/src/dialog/tests/jest/Dialog.test.tsx +++ b/packages/components/src/dialog/tests/jest/Dialog.test.tsx @@ -5,7 +5,7 @@ import { Dialog } from "@components/dialog/index.ts"; import { Heading } from "@components/typography/index.ts"; import { Keys } from "@components/shared/index.ts"; import { createRef } from "react"; -import userEvent from "@testing-library/user-event"; +import { userEvent } from "@testing-library/user-event"; // ***** Behaviors ***** diff --git a/packages/components/src/dialog/tests/jest/DialogTrigger.test.tsx b/packages/components/src/dialog/tests/jest/DialogTrigger.test.tsx index 7e8fb90a1..d32ae040f 100644 --- a/packages/components/src/dialog/tests/jest/DialogTrigger.test.tsx +++ b/packages/components/src/dialog/tests/jest/DialogTrigger.test.tsx @@ -9,7 +9,7 @@ import { Item } from "@components/collection/index.ts"; import { Keys } from "@components/shared/index.ts"; import { Select } from "@components/select/index.ts"; import { Transition } from "@components/transition/index.ts"; -import userEvent from "@testing-library/user-event"; +import { userEvent } from "@testing-library/user-event"; beforeAll(() => { // @ts-ignore diff --git a/packages/components/src/html/src/index.tsx b/packages/components/src/html/src/index.ts similarity index 100% rename from packages/components/src/html/src/index.tsx rename to packages/components/src/html/src/index.ts diff --git a/packages/components/src/icons/index.tsx b/packages/components/src/icons/index.ts similarity index 100% rename from packages/components/src/icons/index.tsx rename to packages/components/src/icons/index.ts diff --git a/packages/components/src/input-group/tests/jest/InputGroup.test.tsx b/packages/components/src/input-group/tests/jest/InputGroup.test.tsx index 1944d864a..efef9e99e 100644 --- a/packages/components/src/input-group/tests/jest/InputGroup.test.tsx +++ b/packages/components/src/input-group/tests/jest/InputGroup.test.tsx @@ -4,7 +4,7 @@ import { Text } from "@components/typography/index.ts"; import { TextInput } from "@components/text-input/index.ts"; import { screen, waitFor, renderWithTheme } from "@test-utils"; import { createRef } from "react"; -import userEvent from "@testing-library/user-event"; +import { userEvent } from "@testing-library/user-event"; // ***** Behaviors ***** diff --git a/packages/components/src/listbox/tests/jest/Listbox.test.tsx b/packages/components/src/listbox/tests/jest/Listbox.test.tsx index 2ad09322c..74c87abb8 100644 --- a/packages/components/src/listbox/tests/jest/Listbox.test.tsx +++ b/packages/components/src/listbox/tests/jest/Listbox.test.tsx @@ -4,7 +4,7 @@ import { act, fireEvent, screen, waitFor, renderWithTheme } from "@test-utils"; import { Keys } from "@components/shared/index.ts"; import { Text } from "@components/typography/index.ts"; import { createRef } from "react"; -import userEvent from "@testing-library/user-event"; +import { userEvent } from "@testing-library/user-event"; // ***** Behaviors ***** diff --git a/packages/components/src/menu/tests/jest/Menu.test.tsx b/packages/components/src/menu/tests/jest/Menu.test.tsx index 59a3f367e..846ab731a 100644 --- a/packages/components/src/menu/tests/jest/Menu.test.tsx +++ b/packages/components/src/menu/tests/jest/Menu.test.tsx @@ -5,7 +5,7 @@ import { Keys } from "@components/shared/index.ts"; import { Menu } from "@components/menu/index.ts"; import { Text } from "@components/typography/index.ts"; import { createRef } from "react"; -import userEvent from "@testing-library/user-event"; +import { userEvent } from "@testing-library/user-event"; // ***** Behaviors ***** diff --git a/packages/components/src/menu/tests/jest/MenuTrigger.test.tsx b/packages/components/src/menu/tests/jest/MenuTrigger.test.tsx index b23fb2c7b..44169087e 100644 --- a/packages/components/src/menu/tests/jest/MenuTrigger.test.tsx +++ b/packages/components/src/menu/tests/jest/MenuTrigger.test.tsx @@ -5,7 +5,7 @@ import { Item } from "@components/collection/index.ts"; import { Keys } from "@components/shared/index.ts"; import { Transition } from "@components/transition/index.ts"; import { createRef } from "react"; -import userEvent from "@testing-library/user-event"; +import { userEvent } from "@testing-library/user-event"; // Using "beforeEach" instead of "beforeAll" because the restore focus tests currently need the fade out animation to works properly. beforeEach(() => { diff --git a/packages/components/src/number-input/tests/jest/NumberInput.test.tsx b/packages/components/src/number-input/tests/jest/NumberInput.test.tsx index c38de1b47..3ce965c88 100644 --- a/packages/components/src/number-input/tests/jest/NumberInput.test.tsx +++ b/packages/components/src/number-input/tests/jest/NumberInput.test.tsx @@ -2,7 +2,7 @@ import { Field, Label } from "@components/field/index.ts"; import { act, screen, waitFor, renderWithTheme } from "@test-utils"; import { NumberInput } from "@components/number-input/index.ts"; import { createRef } from "react"; -import userEvent from "@testing-library/user-event"; +import { userEvent } from "@testing-library/user-event"; // ***** Behaviors ***** diff --git a/packages/components/src/overlay/tests/jest/useOverlayLightDismiss.test.tsx b/packages/components/src/overlay/tests/jest/useOverlayLightDismiss.test.tsx index 549378ba1..53a05e752 100644 --- a/packages/components/src/overlay/tests/jest/useOverlayLightDismiss.test.tsx +++ b/packages/components/src/overlay/tests/jest/useOverlayLightDismiss.test.tsx @@ -3,7 +3,7 @@ import { UseOverlayLightDismissOptions, useOverlayLightDismiss } from "@componen import { act, fireEvent, screen, waitFor, renderWithTheme } from "@test-utils"; import { ComponentProps } from "react"; import { Div } from "@components/html/index.ts"; -import userEvent from "@testing-library/user-event"; +import { userEvent } from "@testing-library/user-event"; type OverlayProps = UseOverlayLightDismissOptions & ComponentProps<"div">; diff --git a/packages/components/src/overlay/tests/jest/useOverlayTrigger.test.tsx b/packages/components/src/overlay/tests/jest/useOverlayTrigger.test.tsx index 6ebe8ccff..7411040a5 100644 --- a/packages/components/src/overlay/tests/jest/useOverlayTrigger.test.tsx +++ b/packages/components/src/overlay/tests/jest/useOverlayTrigger.test.tsx @@ -2,7 +2,7 @@ import { ComponentProps } from "react"; import { mergeProps, Keys } from "@components/shared/index.ts"; import { UseOverlayTriggerOptions, useOverlayTrigger } from "@components/overlay/index.ts"; import { act, fireEvent, screen, waitFor, renderWithTheme } from "@test-utils"; -import userEvent from "@testing-library/user-event"; +import { userEvent } from "@testing-library/user-event"; type OverlayProps = { open: boolean } & UseOverlayTriggerOptions & ComponentProps<"button">; diff --git a/packages/components/src/overlay/tests/jest/usePopup.test.tsx b/packages/components/src/overlay/tests/jest/usePopup.test.tsx index 80362276c..45ccf7e0a 100644 --- a/packages/components/src/overlay/tests/jest/usePopup.test.tsx +++ b/packages/components/src/overlay/tests/jest/usePopup.test.tsx @@ -3,7 +3,7 @@ import { act, fireEvent, screen, waitFor, renderWithTheme } from "@test-utils"; import { Button } from "@components/button/index.ts"; import { Keys } from "@components/shared/index.ts"; import { Transition } from "@components/transition/index.ts"; -import userEvent from "@testing-library/user-event"; +import { userEvent } from "@testing-library/user-event"; type PopupProps = UsePopupOptions & { "data-triggertestid"?: string; diff --git a/packages/components/src/overlay/tests/jest/useTrapFocus.test.tsx b/packages/components/src/overlay/tests/jest/useTrapFocus.test.tsx index 3e3031529..d1d407bb0 100644 --- a/packages/components/src/overlay/tests/jest/useTrapFocus.test.tsx +++ b/packages/components/src/overlay/tests/jest/useTrapFocus.test.tsx @@ -4,7 +4,7 @@ import { mergeProps, useFocusManager, useFocusScope } from "@components/shared/i import { Button } from "@components/button/index.ts"; import { ComponentProps } from "react"; import { Div } from "@components/html/index.ts"; -import userEvent from "@testing-library/user-event"; +import { userEvent } from "@testing-library/user-event"; type TrapProps = UseTrapFocusOptions & ComponentProps<"div">; diff --git a/packages/components/src/popover/tests/jest/Popover.test.tsx b/packages/components/src/popover/tests/jest/Popover.test.tsx index 6cb102fb0..809ee9b22 100644 --- a/packages/components/src/popover/tests/jest/Popover.test.tsx +++ b/packages/components/src/popover/tests/jest/Popover.test.tsx @@ -6,7 +6,7 @@ import { HtmlInput } from "@components/html/index.ts"; import { Popover } from "@components/popover/index.ts"; import { TextLink } from "@components/link/index.ts"; import { createRef } from "react"; -import userEvent from "@testing-library/user-event"; +import { userEvent } from "@testing-library/user-event"; // ***** Behaviors ***** diff --git a/packages/components/src/popover/tests/jest/PopoverTrigger.test.tsx b/packages/components/src/popover/tests/jest/PopoverTrigger.test.tsx index fb6c45bb2..264eecf0c 100644 --- a/packages/components/src/popover/tests/jest/PopoverTrigger.test.tsx +++ b/packages/components/src/popover/tests/jest/PopoverTrigger.test.tsx @@ -6,7 +6,7 @@ import { Content } from "@components/placeholders/index.ts"; import { Heading } from "@components/typography/index.ts"; import { Keys } from "@components/shared/index.ts"; import { Transition } from "@components/transition/index.ts"; -import userEvent from "@testing-library/user-event"; +import { userEvent } from "@testing-library/user-event"; beforeAll(() => { // @ts-ignore diff --git a/packages/components/src/radio/tests/jest/Radio.test.tsx b/packages/components/src/radio/tests/jest/Radio.test.tsx index d842bda2e..ef8946d48 100644 --- a/packages/components/src/radio/tests/jest/Radio.test.tsx +++ b/packages/components/src/radio/tests/jest/Radio.test.tsx @@ -1,7 +1,7 @@ import { act, screen, waitFor, renderWithTheme } from "@test-utils"; import { Radio } from "@components/radio/index.ts"; import { createRef } from "react"; -import userEvent from "@testing-library/user-event"; +import { userEvent } from "@testing-library/user-event"; function getInput(element: Element) { return element.querySelector("input") as HTMLInputElement; diff --git a/packages/components/src/radio/tests/jest/RadioGroup.test.tsx b/packages/components/src/radio/tests/jest/RadioGroup.test.tsx index 93b5431cc..4c1fba97e 100644 --- a/packages/components/src/radio/tests/jest/RadioGroup.test.tsx +++ b/packages/components/src/radio/tests/jest/RadioGroup.test.tsx @@ -3,7 +3,7 @@ import { act, fireEvent, screen, waitFor, renderWithTheme } from "@test-utils"; import { Keys } from "@components/shared/index.ts"; import { ToggleButton } from "@components/button/index.ts"; import { createRef } from "react"; -import userEvent from "@testing-library/user-event"; +import { userEvent } from "@testing-library/user-event"; function getInput(element: Element) { return element.querySelector("input") as HTMLInputElement; diff --git a/packages/components/src/select/tests/jest/Select.test.tsx b/packages/components/src/select/tests/jest/Select.test.tsx index 50913775c..f15ea18b9 100644 --- a/packages/components/src/select/tests/jest/Select.test.tsx +++ b/packages/components/src/select/tests/jest/Select.test.tsx @@ -6,7 +6,7 @@ import { Keys } from "@components/shared/index.ts"; import { Select } from "@components/select/index.ts"; import { Transition } from "@components/transition/index.ts"; import { createRef } from "react"; -import userEvent from "@testing-library/user-event"; +import { userEvent } from "@testing-library/user-event"; // Using "beforeEach" instead of "beforeAll" because the restore focus tests currently need the fade out animation to works properly. beforeEach(() => { diff --git a/packages/components/src/shared/tests/jest/useFocusWithin.test.tsx b/packages/components/src/shared/tests/jest/useFocusWithin.test.tsx index c2eed72c2..1282a70c3 100644 --- a/packages/components/src/shared/tests/jest/useFocusWithin.test.tsx +++ b/packages/components/src/shared/tests/jest/useFocusWithin.test.tsx @@ -3,7 +3,7 @@ import { act, render, screen, waitFor } from "@test-utils"; import { Div } from "@components/html/index.ts"; import { ReactNode } from "react"; import { useFocusWithin } from "@components/shared/index.ts"; -import userEvent from "@testing-library/user-event"; +import { userEvent } from "@testing-library/user-event"; interface FocusWithinProps { onFocus?: () => void; diff --git a/packages/components/src/shared/tests/jest/useRovingFocus.test.tsx b/packages/components/src/shared/tests/jest/useRovingFocus.test.tsx index dee09f83f..78d1aaa5a 100644 --- a/packages/components/src/shared/tests/jest/useRovingFocus.test.tsx +++ b/packages/components/src/shared/tests/jest/useRovingFocus.test.tsx @@ -3,7 +3,7 @@ import { Div } from "@components/html/index.ts"; import { ReactNode } from "react"; import { render, screen, waitFor } from "@test-utils"; import { useFocusScope, useRovingFocus } from "@components/shared/index.ts"; -import userEvent from "@testing-library/user-event"; +import { userEvent } from "@testing-library/user-event"; function RovingFocus({ children }: { children?: ReactNode }) { const [focusScope, setFocusRef] = useFocusScope(); diff --git a/packages/components/src/switch/tests/jest/Switch.test.tsx b/packages/components/src/switch/tests/jest/Switch.test.tsx index 9d3445c4d..5a24d0630 100644 --- a/packages/components/src/switch/tests/jest/Switch.test.tsx +++ b/packages/components/src/switch/tests/jest/Switch.test.tsx @@ -2,7 +2,7 @@ import { act, screen, waitFor, renderWithTheme } from "@test-utils"; import { Switch } from "@components/switch/index.ts"; import { createRef } from "react"; -import userEvent from "@testing-library/user-event"; +import { userEvent } from "@testing-library/user-event"; function getInput(element: HTMLElement) { return element.querySelector("input") as HTMLInputElement; diff --git a/packages/components/src/tabs/tests/jest/Tabs.test.tsx b/packages/components/src/tabs/tests/jest/Tabs.test.tsx index 52dbb9ad9..85229d9d5 100644 --- a/packages/components/src/tabs/tests/jest/Tabs.test.tsx +++ b/packages/components/src/tabs/tests/jest/Tabs.test.tsx @@ -5,7 +5,7 @@ import { Item } from "@components/collection/index.ts"; import { Keys } from "@components/shared/index.ts"; import { Tabs } from "@components/tabs/index.ts"; import { createRef } from "react"; -import userEvent from "@testing-library/user-event"; +import { userEvent } from "@testing-library/user-event"; // It's very hard to setup jest with a specific width & height to be able to test collapsed tabs because jsdom doesn't support layout. // This means that all DOM elements measurements will always return 0 (except for window which will be 1024x768). diff --git a/packages/components/src/text-area/tests/jest/TextArea.test.tsx b/packages/components/src/text-area/tests/jest/TextArea.test.tsx index 8c1174316..891140390 100644 --- a/packages/components/src/text-area/tests/jest/TextArea.test.tsx +++ b/packages/components/src/text-area/tests/jest/TextArea.test.tsx @@ -3,7 +3,7 @@ import { act, screen, waitFor, renderWithTheme } from "@test-utils"; import { TextArea } from "@components/text-area/index.ts"; import { createRef } from "react"; -import userEvent from "@testing-library/user-event"; +import { userEvent } from "@testing-library/user-event"; // ***** Behaviors ***** diff --git a/packages/components/src/text-input/tests/jest/SearchInput.test.tsx b/packages/components/src/text-input/tests/jest/SearchInput.test.tsx index c4a54b9e3..0918f0f7c 100644 --- a/packages/components/src/text-input/tests/jest/SearchInput.test.tsx +++ b/packages/components/src/text-input/tests/jest/SearchInput.test.tsx @@ -2,7 +2,7 @@ import { Keys } from "@components/shared/index.ts"; import { SearchInput } from "@components/text-input/index.ts"; import { act, fireEvent, screen, waitFor, renderWithTheme } from "@test-utils"; import { createRef } from "react"; -import userEvent from "@testing-library/user-event"; +import { userEvent } from "@testing-library/user-event"; // ***** Behaviors ***** function getInput(element: Element) { diff --git a/packages/components/src/text-input/tests/jest/TextInput.test.tsx b/packages/components/src/text-input/tests/jest/TextInput.test.tsx index 296337b1b..3cfebe2cc 100644 --- a/packages/components/src/text-input/tests/jest/TextInput.test.tsx +++ b/packages/components/src/text-input/tests/jest/TextInput.test.tsx @@ -3,7 +3,7 @@ import { screen, waitFor, renderWithTheme } from "@test-utils"; import { TextInput } from "@components/text-input/index.ts"; import { createRef } from "react"; -import userEvent from "@testing-library/user-event"; +import { userEvent } from "@testing-library/user-event"; test("when a className is provided, render the className on the input element", async () => { renderWithTheme( diff --git a/packages/components/src/tile/tests/jest/Tile.test.tsx b/packages/components/src/tile/tests/jest/Tile.test.tsx index dfa65e5b2..7e515fb54 100644 --- a/packages/components/src/tile/tests/jest/Tile.test.tsx +++ b/packages/components/src/tile/tests/jest/Tile.test.tsx @@ -5,7 +5,7 @@ import { Content } from "@components/placeholders/index.ts"; import { Heading } from "@components/typography/index.ts"; import { Tile } from "@components/tile/index.ts"; import { createRef } from "react"; -import userEvent from "@testing-library/user-event"; +import { userEvent } from "@testing-library/user-event"; // ***** Behaviors ***** diff --git a/packages/components/src/tile/tests/jest/TileGroup.test.tsx b/packages/components/src/tile/tests/jest/TileGroup.test.tsx index 7c3b88a57..7968eb0d5 100644 --- a/packages/components/src/tile/tests/jest/TileGroup.test.tsx +++ b/packages/components/src/tile/tests/jest/TileGroup.test.tsx @@ -3,7 +3,7 @@ import { Heading } from "@components/typography/index.ts"; import { Tile, TileGroup } from "@components/tile/index.ts"; import { screen, waitFor, renderWithTheme } from "@test-utils"; import { createRef } from "react"; -import userEvent from "@testing-library/user-event"; +import { userEvent } from "@testing-library/user-event"; // ***** Behaviors ***** diff --git a/packages/components/src/tooltip/tests/jest/TooltipTrigger.test.tsx b/packages/components/src/tooltip/tests/jest/TooltipTrigger.test.tsx index f10c2c688..d20ae1266 100644 --- a/packages/components/src/tooltip/tests/jest/TooltipTrigger.test.tsx +++ b/packages/components/src/tooltip/tests/jest/TooltipTrigger.test.tsx @@ -3,7 +3,7 @@ import { Tooltip, TooltipTrigger } from "@components/tooltip/index.ts"; import { Transition } from "@components/transition/index.ts"; import { fireEvent, screen, waitFor, renderWithTheme } from "@test-utils"; import { createRef } from "react"; -import userEvent from "@testing-library/user-event"; +import { userEvent } from "@testing-library/user-event"; beforeAll(() => { // @ts-ignore diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 5dc166e01..0fb3f9827 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -19,7 +19,7 @@ importers: version: 2.8.4(@hopper-ui/styled-system@2.4.1(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(react-aria-components@1.4.1(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(react-dom@18.3.1(react@18.3.1))(react@18.3.1) '@pmmmwh/react-refresh-webpack-plugin': specifier: 0.5.15 - version: 0.5.15(react-refresh@0.14.2)(type-fest@3.13.1)(webpack-hot-middleware@2.26.1)(webpack@5.96.1(@swc/core@1.8.0(@swc/helpers@0.5.13))(esbuild@0.23.1)) + version: 0.5.15(react-refresh@0.14.2)(type-fest@3.13.1)(webpack-hot-middleware@2.26.1)(webpack@5.96.1(@swc/core@1.7.36(@swc/helpers@0.5.13))(esbuild@0.23.1)) '@storybook/addon-a11y': specifier: 8.3.6 version: 8.3.6(storybook@8.3.6) @@ -37,34 +37,43 @@ importers: version: 8.3.6(storybook@8.3.6) '@storybook/addon-webpack5-compiler-swc': specifier: 1.0.5 - version: 1.0.5(@swc/helpers@0.5.13)(webpack@5.96.1(@swc/core@1.8.0(@swc/helpers@0.5.13))(esbuild@0.23.1)) + version: 1.0.5(@swc/helpers@0.5.13)(webpack@5.96.1(@swc/core@1.7.36(@swc/helpers@0.5.13))(esbuild@0.23.1)) '@storybook/blocks': specifier: 8.3.6 version: 8.3.6(react-dom@18.3.1(react@18.3.1))(react@18.3.1)(storybook@8.3.6) '@storybook/react': specifier: 8.3.6 - version: 8.3.6(@storybook/test@8.3.6(storybook@8.3.6))(react-dom@18.3.1(react@18.3.1))(react@18.3.1)(storybook@8.3.6)(typescript@5.5.4) + version: 8.3.6(@storybook/test@8.3.6(storybook@8.3.6))(react-dom@18.3.1(react@18.3.1))(react@18.3.1)(storybook@8.3.6)(typescript@5.4.5) '@storybook/react-webpack5': specifier: 8.3.6 - version: 8.3.6(@storybook/test@8.3.6(storybook@8.3.6))(@swc/core@1.8.0(@swc/helpers@0.5.13))(esbuild@0.23.1)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)(storybook@8.3.6)(typescript@5.5.4) + version: 8.3.6(@storybook/test@8.3.6(storybook@8.3.6))(@swc/core@1.7.36(@swc/helpers@0.5.13))(esbuild@0.23.1)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)(storybook@8.3.6)(typescript@5.4.5) '@storybook/test': specifier: 8.3.6 version: 8.3.6(storybook@8.3.6) '@storybook/test-runner': specifier: 0.19.1 - version: 0.19.1(@swc/helpers@0.5.13)(@types/node@16.18.119)(storybook@8.3.6)(ts-node@10.4.0(@swc/core@1.8.0(@swc/helpers@0.5.13))(@types/node@16.18.119)(typescript@5.5.4)) + version: 0.19.1(@swc/helpers@0.5.13)(@types/node@16.18.119)(storybook@8.3.6)(ts-node@10.9.2(@swc/core@1.7.36(@swc/helpers@0.5.13))(@types/node@16.18.119)(typescript@5.4.5)) '@storybook/types': specifier: 8.3.6 version: 8.3.6(storybook@8.3.6) '@svgr/core': specifier: 6.5.1 version: 6.5.1 + '@swc/core': + specifier: 1.7.36 + version: 1.7.36(@swc/helpers@0.5.13) + '@swc/helpers': + specifier: 0.5.13 + version: 0.5.13 + '@swc/jest': + specifier: 0.2.36 + version: 0.2.36(@swc/core@1.7.36(@swc/helpers@0.5.13)) '@testing-library/dom': specifier: 10.4.0 version: 10.4.0 '@testing-library/jest-dom': - specifier: 6.6.2 - version: 6.6.2 + specifier: 6.6.1 + version: 6.6.1 '@testing-library/react': specifier: 16.0.1 version: 16.0.1(@testing-library/dom@10.4.0)(@types/react-dom@18.3.1)(@types/react@18.3.11)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) @@ -88,19 +97,19 @@ importers: version: 0.1.11 '@typescript-eslint/parser': specifier: 8.10.0 - version: 8.10.0(eslint@8.57.1)(typescript@5.5.4) + version: 8.10.0(eslint@8.57.1)(typescript@5.4.5) '@workleap/eslint-plugin': specifier: 3.2.2 - version: 3.2.2(@typescript-eslint/parser@8.10.0(eslint@8.57.1)(typescript@5.5.4))(eslint@8.57.1)(jest@29.7.0(@types/node@16.18.119)(ts-node@10.4.0(@swc/core@1.8.0(@swc/helpers@0.5.13))(@types/node@16.18.119)(typescript@5.5.4)))(typescript@5.5.4) + version: 3.2.2(@typescript-eslint/parser@8.10.0(eslint@8.57.1)(typescript@5.4.5))(eslint@8.57.1)(jest@29.7.0(@types/node@16.18.119)(ts-node@10.9.2(@swc/core@1.7.36(@swc/helpers@0.5.13))(@types/node@16.18.119)(typescript@5.4.5)))(typescript@5.4.5) '@workleap/stylelint-configs': specifier: 2.0.3 - version: 2.0.3(prettier@3.3.3)(stylelint@16.10.0(typescript@5.5.4)) + version: 2.0.3(prettier@3.3.3)(stylelint@16.10.0(typescript@5.4.5)) '@workleap/swc-configs': specifier: 2.2.3 - version: 2.2.3(@swc/core@1.8.0(@swc/helpers@0.5.13))(@swc/helpers@0.5.13)(@swc/jest@0.2.37(@swc/core@1.8.0(@swc/helpers@0.5.13)))(browserslist@4.24.0) + version: 2.2.3(@swc/core@1.7.36(@swc/helpers@0.5.13))(@swc/helpers@0.5.13)(@swc/jest@0.2.36(@swc/core@1.7.36(@swc/helpers@0.5.13)))(browserslist@4.24.0) '@workleap/typescript-configs': specifier: 3.0.2 - version: 3.0.2(typescript@5.5.4) + version: 3.0.2(typescript@5.4.5) browserslist: specifier: 4.24.0 version: 4.24.0 @@ -133,7 +142,7 @@ importers: version: 1.1.2 eslint-plugin-typescript-sort-keys: specifier: 3.3.0 - version: 3.3.0(@typescript-eslint/parser@8.10.0(eslint@8.57.1)(typescript@5.5.4))(eslint@8.57.1)(typescript@5.5.4) + version: 3.3.0(@typescript-eslint/parser@8.10.0(eslint@8.57.1)(typescript@5.4.5))(eslint@8.57.1)(typescript@5.4.5) formik: specifier: 2.4.6 version: 2.4.6(react@18.3.1) @@ -142,16 +151,13 @@ importers: version: 3.0.0 jest: specifier: 29.7.0 - version: 29.7.0(@types/node@16.18.119)(ts-node@10.4.0(@swc/core@1.8.0(@swc/helpers@0.5.13))(@types/node@16.18.119)(typescript@5.5.4)) - jest-environment-jsdom: - specifier: 29.7.0 - version: 29.7.0 + version: 29.7.0(@types/node@16.18.119)(ts-node@10.9.2(@swc/core@1.7.36(@swc/helpers@0.5.13))(@types/node@16.18.119)(typescript@5.4.5)) meow: specifier: 9.0.0 version: 9.0.0 netlify-cli: specifier: 8.6.18 - version: 8.6.18(@swc/core@1.8.0(@swc/helpers@0.5.13))(@types/babel__core@7.20.5)(@types/express@4.17.21) + version: 8.6.18(@swc/core@1.7.36(@swc/helpers@0.5.13))(@types/babel__core@7.20.5)(@types/express@4.17.21) prettier: specifier: 3.3.3 version: 3.3.3 @@ -181,19 +187,22 @@ importers: version: 8.3.6 stylelint: specifier: ^16.10.0 - version: 16.10.0(typescript@5.5.4) + version: 16.10.0(typescript@5.4.5) svgo: specifier: 3.3.2 version: 3.3.2 ts-jest: specifier: 29.2.5 - version: 29.2.5(@babel/core@7.26.0)(@jest/transform@29.7.0)(@jest/types@29.6.3)(babel-jest@29.7.0(@babel/core@7.26.0))(esbuild@0.23.1)(jest@29.7.0(@types/node@16.18.119)(ts-node@10.4.0(@swc/core@1.8.0(@swc/helpers@0.5.13))(@types/node@16.18.119)(typescript@5.5.4)))(typescript@5.5.4) + version: 29.2.5(@babel/core@7.26.0)(@jest/transform@29.7.0)(@jest/types@29.6.3)(babel-jest@29.7.0(@babel/core@7.26.0))(esbuild@0.23.1)(jest@29.7.0(@types/node@16.18.119)(ts-node@10.9.2(@swc/core@1.7.36(@swc/helpers@0.5.13))(@types/node@16.18.119)(typescript@5.4.5)))(typescript@5.4.5) + ts-node: + specifier: 10.9.2 + version: 10.9.2(@swc/core@1.7.36(@swc/helpers@0.5.13))(@types/node@16.18.119)(typescript@5.4.5) tsconfig-paths-webpack-plugin: specifier: 4.1.0 version: 4.1.0 typescript: - specifier: 5.5.4 - version: 5.5.4 + specifier: 5.4.5 + version: 5.4.5 packages/bundle: dependencies: @@ -937,6 +946,10 @@ packages: resolution: {integrity: sha512-X4xqRHqN8ACt2aHVe51OxeA2HjbcL4MqFqXkrmQszJ1NOUuUu5u6Vqx/0lZSVNku7velL5FC/s5uEAj1lsBMhA==} engines: {node: '>=12'} + '@cspotcode/source-map-support@0.8.1': + resolution: {integrity: sha512-IchNf6dN4tHoMFIn/7OE8LWZ19Y6q/67Bmf6vnGREv8RSbBVb9LPJxEcnwrcwX6ixSvaiGoomAUvu4YSxXrVgw==} + engines: {node: '>=12'} + '@csstools/css-parser-algorithms@3.0.4': resolution: {integrity: sha512-Up7rBoV77rv29d3uKHUIVubz1BTcgyUK72IvCQAbfbMv584xHcGKCKbWh7i8hPrRJ7qU4Y8IO3IY9m+iTB7P3A==} engines: {node: '>=18'} @@ -1315,6 +1328,9 @@ packages: '@jridgewell/trace-mapping@0.3.25': resolution: {integrity: sha512-vNk6aEwybGtawWmy/PzwnGDOjCkLWSD2wqvjGGAgOAwCGWySYXfYoxt00IJkTF+8Lb57DwOb3Aa0o9CApepiYQ==} + '@jridgewell/trace-mapping@0.3.9': + resolution: {integrity: sha512-3Belt6tdc8bPgAtbcmdtNJlirVoTmEb5e2gC94PnkwEW9jI6CAHUeoG85tjWP5WquqfavoMtMwiG4P926ZKKuQ==} + '@manypkg/find-root@1.1.0': resolution: {integrity: sha512-mki5uBvhHzO8kYYix/WRy2WX8S3B5wdVSc9D6KcU5lQNglP2yt58/VfLuAK49glRXChosY8ap2oJ1qgma3GUVA==} @@ -2688,68 +2704,68 @@ packages: peerDependencies: '@svgr/core': ^6.0.0 - '@swc/core-darwin-arm64@1.8.0': - resolution: {integrity: sha512-TIus1/SE/Ud4g84hCnchcagu+LfyndSDy5r5qf64nflojejDidPU9Fp1InzQhQpEgIpntnZID/KFCP5rQnvsIw==} + '@swc/core-darwin-arm64@1.7.36': + resolution: {integrity: sha512-8vDczXzCgv3ceTPhEivlpGprN44YlrCK1nbfU9g2TrhV/Aiqi09W/eM5zLesdoM1Z3mJl492gc/8nlTkpDdusw==} engines: {node: '>=10'} cpu: [arm64] os: [darwin] - '@swc/core-darwin-x64@1.8.0': - resolution: {integrity: sha512-yCb1FHCX/HUmNRGB1X3CFJ1WPKXMosZVUe3K2TrosCGvytwgaLoW5FS0bZg5Qv6cEUERQBg75cJnOUPwLLRCVg==} + '@swc/core-darwin-x64@1.7.36': + resolution: {integrity: sha512-Pa2Gao7+Wf5m3SsK4abKRtd48AtoUnJInvaC3d077swBfgZjbjUbQvcpdc2dOeQtWwo49rFqUZJonMsL0jnPgQ==} engines: {node: '>=10'} cpu: [x64] os: [darwin] - '@swc/core-linux-arm-gnueabihf@1.8.0': - resolution: {integrity: sha512-6TdjVdiLaSW+eGiHKEojMDlx673nowrPHa6nM6toWgRzy8tIZgjPOguVKJDoMnoHuvO7SkOLCUiMRw0rTskypA==} + '@swc/core-linux-arm-gnueabihf@1.7.36': + resolution: {integrity: sha512-3YsMWd7V+WZEjbfBnLkkz/olcRBa8nyoK0iIOnNARJBMcYaJxjkJSMZpmSojCnIVwvjA1N83CPAbUL+W+fCnHg==} engines: {node: '>=10'} cpu: [arm] os: [linux] - '@swc/core-linux-arm64-gnu@1.8.0': - resolution: {integrity: sha512-TU2YcTornnyZiJUabRuk7Xtvzaep11FwK77IkFomjN9/Os5s25B8ea652c2fAQMe9RsM84FPVmX303ohxavjKQ==} + '@swc/core-linux-arm64-gnu@1.7.36': + resolution: {integrity: sha512-lqM3aBB7kJazJYOwHeA5OGNLqXoQPZ/76b3dV+XcjN1GhD0CcXz6mW5PRYVin6OSN1eKrKBKJjtDA1mqADDEvw==} engines: {node: '>=10'} cpu: [arm64] os: [linux] - '@swc/core-linux-arm64-musl@1.8.0': - resolution: {integrity: sha512-2CdPTEKxx2hJIj/B0fn8L8k2coo/FDS95smzXyi2bov5FcrP6Ohboq8roFBYgj38fkHusXjY8qt+cCH7yXWAdg==} + '@swc/core-linux-arm64-musl@1.7.36': + resolution: {integrity: sha512-bqei2YDzvUfG0pth5W2xJaj0eG4XWYk0d/NJ75vBX6bkIzK6dC8iuKQ41jOfUWonnrAs7rTDDJW0sTn/evvRdw==} engines: {node: '>=10'} cpu: [arm64] os: [linux] - '@swc/core-linux-x64-gnu@1.8.0': - resolution: {integrity: sha512-14StQBifCs/AMsySdU95OmwNJr9LOVqo6rcTFt2b7XaWpe/AyeuMJFxcndLgUewksJHpfepzCTwNdbcYmuNo6A==} + '@swc/core-linux-x64-gnu@1.7.36': + resolution: {integrity: sha512-03maXTUyaBjeCxlDltmdzHje1ryQt1C4OWmmNgSSRXjLb+GNnAenwOJMSrcvHP/aNClD2pwsFCnYKDGy+sYE6w==} engines: {node: '>=10'} cpu: [x64] os: [linux] - '@swc/core-linux-x64-musl@1.8.0': - resolution: {integrity: sha512-qemJnAQlYqKCfWNqVv5SG8uGvw8JotwU86cuFUkq35oTB+dsSFM3b83+B1giGTKKFOh2nfWT7bvPXTKk+aUjew==} + '@swc/core-linux-x64-musl@1.7.36': + resolution: {integrity: sha512-XXysqLkvjtQnXm1zHqLhy00UYPv/gk5OtwR732X+piNisnEbcJBqI8Qp9O7YvLWllRcoP8IMBGDWLGdGLSpViA==} engines: {node: '>=10'} cpu: [x64] os: [linux] - '@swc/core-win32-arm64-msvc@1.8.0': - resolution: {integrity: sha512-fXt5vZbnrVdXZzGj2qRnZtY3uh+NtLCaFjS2uD9w8ssdbjhbDZYlJCj2JINOjv35ttEfAD2goiYmVa5P/Ypl+g==} + '@swc/core-win32-arm64-msvc@1.7.36': + resolution: {integrity: sha512-k7+dmb13a/zPw+E4XYfPmLZFWJgcOcBRKIjYl9nQErtYsgsg3Ji6TBbsvJVETy23lNHyewZ17V5Vq6NzaG0hzg==} engines: {node: '>=10'} cpu: [arm64] os: [win32] - '@swc/core-win32-ia32-msvc@1.8.0': - resolution: {integrity: sha512-W4FA2vSJ+bGYiTj6gspxghSdKQNLfLMo65AH07u797x7I+YJj8amnFY/fQRlroDv5Dez/FHTv14oPlTlNFUpIw==} + '@swc/core-win32-ia32-msvc@1.7.36': + resolution: {integrity: sha512-ridD3ay6YM2PEYHZXXFN+edYEv0FOynaqOBP+NSnGNHA35azItIjoIe+KNi4WltGtAjpKCHSpjGCNfna12wdYQ==} engines: {node: '>=10'} cpu: [ia32] os: [win32] - '@swc/core-win32-x64-msvc@1.8.0': - resolution: {integrity: sha512-Il4y8XwKDV0Bnk0IpA00kGcSQC6I9XOIinW5egTutnwIDfDE+qsD0j+0isW5H76GetY3/Ze0lVxeOXLAUgpegA==} + '@swc/core-win32-x64-msvc@1.7.36': + resolution: {integrity: sha512-j1z2Z1Ln9d0E3dHsPkC1K9XDh0ojhRPwV+GfRTu4D61PE+aYhYLvbJC6xPvL4/204QrStRS7eDu3m+BcDp3rgQ==} engines: {node: '>=10'} cpu: [x64] os: [win32] - '@swc/core@1.8.0': - resolution: {integrity: sha512-EF8C5lp1RKMp3426tAKwQyVbg4Zcn/2FDax3cz8EcOXYQJM/ctB687IvBm9Ciej1wMcQ/dMRg+OB4Xl8BGLBoA==} + '@swc/core@1.7.36': + resolution: {integrity: sha512-bu7ymMX+LCJOSSrKank25Jaq66ymLVA9fOUuy4ck3/6rbXdLw+pIJPnIDKQ9uNcxww8KDxOuJk9Ui9pqR+aGFw==} engines: {node: '>=10'} peerDependencies: '@swc/helpers': '*' @@ -2763,8 +2779,8 @@ packages: '@swc/helpers@0.5.13': resolution: {integrity: sha512-UoKGxQ3r5kYI9dALKJapMmuK+1zWM/H17Z1+iwnNmzcJRnfFuevZs375TA5rW31pu4BS4NoSy1fRsexDXfWn5w==} - '@swc/jest@0.2.37': - resolution: {integrity: sha512-CR2BHhmXKGxTiFr21DYPRHQunLkX3mNIFGFkxBGji6r9uyIR5zftTOVYj1e0sFNMV2H7mf/+vpaglqaryBtqfQ==} + '@swc/jest@0.2.36': + resolution: {integrity: sha512-8X80dp81ugxs4a11z1ka43FPhP+/e+mJNXJSxiNYk8gIX/jPBtY4gQTrKu/KIoco8bzKuPI5lUxjfLiGsfvnlw==} engines: {npm: '>= 7.0.0'} peerDependencies: '@swc/core': '*' @@ -2788,8 +2804,8 @@ packages: resolution: {integrity: sha512-xGGHpBXYSHUUr6XsKBfs85TWlYKpTc37cSBBVrXcib2MkHLboWlkClhWF37JKlDb9KEq3dHs+f2xR7XJEWGBxA==} engines: {node: '>=14', npm: '>=6', yarn: '>=1'} - '@testing-library/jest-dom@6.6.2': - resolution: {integrity: sha512-P6GJD4yqc9jZLbe98j/EkyQDTPgqftohZF5FBkHY5BUERZmcf4HeO2k0XaefEg329ux2p21i1A1DmyQ1kKw2Jw==} + '@testing-library/jest-dom@6.6.1': + resolution: {integrity: sha512-mNYIiAuP4yJwV2zBRQCV7PHoQwbb6/8TfMpPcwSUzcSVDJHWOXt6hjNtIN1v5knDmimYnjJxKhsoVd4LVGIO+w==} engines: {node: '>=14', npm: '>=6', yarn: '>=1'} '@testing-library/react@16.0.1': @@ -2813,10 +2829,6 @@ packages: peerDependencies: '@testing-library/dom': '>=7.21.4' - '@tootallnate/once@2.0.0': - resolution: {integrity: sha512-XCuKFP5PS55gnMVu3dty8KPatLqUoy/ZYzDzAGCQ8JNFCkLXzmI7vNHCR+XpbZaMWQK/vQubr7PkYq8g470J/A==} - engines: {node: '>= 10'} - '@trysound/sax@0.2.0': resolution: {integrity: sha512-L7z9BgrNEcYyUYtF+HaEfiS5ebkh9jXqbszz7pC0hRBPaatV0XjSD3+eHrpqFemQfgwiFF0QPIarnIihIDn7OA==} engines: {node: '>=10.13.0'} @@ -2947,9 +2959,6 @@ packages: '@types/jest@29.5.13': resolution: {integrity: sha512-wd+MVEZCHt23V0/L642O5APvspWply/rGY5BcW4SUETo2UzPU3Z26qr8jC2qxpimI2jjx9h7+2cj2FwIr01bXg==} - '@types/jsdom@20.0.1': - resolution: {integrity: sha512-d0r18sZPmMQr1eG35u12FZfhIXNrnsPU/g5wvRKCUf/tOGilKKwYMYGqh33BNR6ba+2gkHw1EUiHoN3mn7E5IQ==} - '@types/json-schema@7.0.15': resolution: {integrity: sha512-5+fP8P8MFNC+AyZCDxrB2pkZFPGzqQWUzpSeuuVLvm8VMcorNYavBqoFcxK8bQz4Qsbn4oUEEem4wDLfcysGHA==} @@ -3332,10 +3341,6 @@ packages: '@zeit/schemas@2.36.0': resolution: {integrity: sha512-7kjMwcChYEzMKjeex9ZFXkt1AyNov9R5HZtjBKVsmVpw7pa7ZtlCGvCBC2vnnXctaYN+aRI61HjIqeetZW5ROg==} - abab@2.0.6: - resolution: {integrity: sha512-j2afSsaIENvHZN2B8GOpF566vZ5WVk5opAiMTvWgaQT8DkbOqsTfvNAvHoRGU2zzP8cPoqys+xHTRDWW8L+/BA==} - deprecated: Use your platform's native atob() and btoa() methods instead - abbrev@1.1.1: resolution: {integrity: sha512-nne9/IiQ/hzIhY6pdDnbBtz7DjPTKrY00P/zvPSm5pOFkl6xuGrGnXn/VtTNNfNtAfZ9/1RtehkszU9qcTii0Q==} @@ -3351,9 +3356,6 @@ packages: resolution: {integrity: sha512-PYAthTa2m2VKxuvSD3DPC/Gy+U+sOA1LAuT8mkmRuvw+NACSaeXEQ+NHcVF7rONl6qcaxV3Uuemwawk+7+SJLw==} engines: {node: '>= 0.6'} - acorn-globals@7.0.1: - resolution: {integrity: sha512-umOSDSDrfHbTNPuNpC2NSnnA3LUrqpevPb4T9jRx4MagXNS0rs+gwiTcAvqCRmsD6utzsrzNt+ebm00SNWiC3Q==} - acorn-jsx@5.3.2: resolution: {integrity: sha512-rq9s+JNhf0IChjtDXxllJ7g41oZk5SlXtp0LHwyA5cejwn7vKmKp4pPri6YEePv2PU65sAsegbXtIinmDFDXgQ==} peerDependencies: @@ -4456,16 +4458,6 @@ packages: resolution: {integrity: sha512-0LrrStPOdJj+SPCCrGhzryycLjwcgUSHBtxNA8aIDxf0GLsRh1cKYhB00Gd1lDOS4yGH69+SNn13+TWbVHETFQ==} engines: {node: ^10 || ^12.20.0 || ^14.13.0 || >=15.0.0, npm: '>=7.0.0'} - cssom@0.3.8: - resolution: {integrity: sha512-b0tGHbfegbhPJpxpiBPU2sCkigAqtM9O121le6bbOlgyV+NyGyCmVfJ6QW9eRjz8CpNfWEOYBIMIGRYkLwsIYg==} - - cssom@0.5.0: - resolution: {integrity: sha512-iKuQcq+NdHqlAcwUY0o/HL69XQrUaQdMjmStJ8JFmUaiiQErlhrmuigkg/CU4E2J0IyUKUrMAgl36TvN67MqTw==} - - cssstyle@2.3.0: - resolution: {integrity: sha512-AZL67abkUzIuvcHqk7c09cezpGNcxUxU4Ioi/05xHk4DQeTkWmGYftIE6ctU6AEt+Gn4n1lDStOtj7FKycP71A==} - engines: {node: '>=8'} - csstype@3.1.3: resolution: {integrity: sha512-M1uQkMl8rQK/szD0LNhtqxIPLpimGm8sOBwU7lLnCpSbTyY3yeU1Vc7l4KT5zT4s/yOxHH5O7tIuuLOCnLADRw==} @@ -4483,10 +4475,6 @@ packages: resolution: {integrity: sha512-0R9ikRb668HB7QDxT1vkpuUBtqc53YyAwMwGeUFKRojY/NWKvdZ+9UYtRfGmhqNbRkTSVpMbmyhXipFFv2cb/A==} engines: {node: '>= 12'} - data-urls@3.0.2: - resolution: {integrity: sha512-Jy/tj3ldjZJo63sVAvg6LHt2mHvl4V6AgRAmNDtLdm7faqtsx+aJG42rsyCo9JCoRVKwPFzKlIPx3DIibwSIaQ==} - engines: {node: '>=12'} - data-view-buffer@1.0.1: resolution: {integrity: sha512-0lht7OugA5x3iJLOWFhWK/5ehONdprk0ISXqVFn/NFrDu+cuc8iADFrGQz5BnRK7LLU3JmkbXSxaqX+/mXYtUA==} engines: {node: '>= 0.4'} @@ -4546,9 +4534,6 @@ packages: resolution: {integrity: sha512-z2S+W9X73hAUUki+N+9Za2lBlun89zigOyGrsax+KUQ6wKW4ZoWpEYBkGhQjwAjjDCkWxhY0VKEhk8wzY7F5cA==} engines: {node: '>=0.10.0'} - decimal.js@10.4.3: - resolution: {integrity: sha512-VBBaLc1MgL5XpzgIP7ny5Z6Nx3UrRkIViUkPUdtl9aya5amy3De1gsUUSB1g3+3sExYNjCAsAznmukyxCb1GRA==} - decode-named-character-reference@1.0.2: resolution: {integrity: sha512-O8x12RzrUF8xyVcY0KJowWsmaJxQbmy0/EtnNtHRpsOcT7dFk5W598coHqBVpmWo1oQQfsCqfCmkZN5DJrZVdg==} @@ -4826,11 +4811,6 @@ packages: domelementtype@2.3.0: resolution: {integrity: sha512-OLETBj6w0OsagBwdXnPdN0cnMfF9opN69co+7ZrbfPGrdpPVNBUj02spi6B1N7wChLQiPn4CSH/zJvXw56gmHw==} - domexception@4.0.0: - resolution: {integrity: sha512-A2is4PLG+eeSfoTMA95/s4pvAoSo2mKtiM5jlHkAVewmiO8ISFTFKZjH7UAM1Atli/OT/7JHOrJRJiMKUZKYBw==} - engines: {node: '>=12'} - deprecated: Use your platform's native DOMException instead - domhandler@2.4.2: resolution: {integrity: sha512-JiK04h0Ht5u/80fdLMCEmV4zkNh2BcoMFBmZ/91WtYZ8qVXSKjiw7fXMgFPnHcSZgOo3XdinHvmnDUeMf5R4wA==} @@ -6064,10 +6044,6 @@ packages: resolution: {integrity: sha512-puUZAUKT5m8Zzvs72XWy3HtvVbTWljRE66cP60bxJzAqf2DgICo7lYTY2IHUmLnNpjYvw5bvmoHvPc0QO2a62w==} engines: {node: ^16.14.0 || >=18.0.0} - html-encoding-sniffer@3.0.0: - resolution: {integrity: sha512-oWv4T4yJ52iKrufjnyZPkrN0CH3QnrUqdB6In1g5Fe1mia8GmF36gnfNySxoZtxD5+NmYw1EElVXiBk93UeskA==} - engines: {node: '>=12'} - html-entities@2.5.2: resolution: {integrity: sha512-K//PSRMQk4FZ78Kyau+mZurHn3FH0Vwr+H36eE0rPbeYkRRi9YxceYPhuN60UwWorxyKHhqoAJl2OFKa4BVtaA==} @@ -6115,10 +6091,6 @@ packages: resolution: {integrity: sha512-FtwrG/euBzaEjYeRqOgly7G0qviiXoJWnvEH2Z1plBdXgbyjv34pHTSb9zoeHMyDy33+DWy5Wt9Wo+TURtOYSQ==} engines: {node: '>= 0.8'} - http-proxy-agent@5.0.0: - resolution: {integrity: sha512-n2hY8YdoRE1i7r6M0w9DIw5GgZN0G25P8zLCRQ8rjXtTU3vsNFBI/vWK/UIeE6g5MUUz6avwAPXmL6Fy9D/90w==} - engines: {node: '>= 6'} - http-proxy-middleware@2.0.7: resolution: {integrity: sha512-fgVY8AV7qU7z/MmXJ/rxwbrtQH4jBQ9m7kp3llF0liB7glmFeVZFBepQb32T3y8n8k2+AEYuMPCpinYW+/CuRA==} engines: {node: '>=12.0.0'} @@ -6151,10 +6123,6 @@ packages: resolution: {integrity: sha512-v3MXnZAcvnywkTUEZomIActle7RXXeedOR31wwl7VlyoXO4Qi9arvSenNQWne1TcRwhCL1HwLI21bEqdpj8/rA==} engines: {node: '>=0.10.0'} - iconv-lite@0.6.3: - resolution: {integrity: sha512-4fCk79wshMdzMp2rH06qWrJE4iolqLhCUH+OiuIgU++RB0+94NlDL81atO7GX55uUKueo0txHNtvEyI6D7WdMw==} - engines: {node: '>=0.10.0'} - icss-utils@5.1.0: resolution: {integrity: sha512-soFhflCVWLfRNOPU3iv5Z9VUdT44xFRbzjLsEzSr5AQmgqPMTHdU3PMT1Cf1ssx8fLNJDA1juftYl+PUcv3MqA==} engines: {node: ^10 || ^12 || >= 14} @@ -6505,9 +6473,6 @@ packages: resolution: {integrity: sha512-9UoipoxYmSk6Xy7QFgRv2HDyaysmgSG75TFQs6S+3pDM7ZhKTF/bskZV+0UlABHzKjNVhPjYCLfeZUEg1wXxig==} engines: {node: ^12.20.0 || ^14.13.1 || >=16.0.0} - is-potential-custom-element-name@1.0.1: - resolution: {integrity: sha512-bCYeRA2rVibKZd+s2625gGnGF/t7DSqDs4dP7CrLA1m7jKWz6pps0LpYLJN8Q64HtmPKJ1hrN3nzPNKFEKOUiQ==} - is-promise@2.2.2: resolution: {integrity: sha512-+lP4/6lKUBfQjZ2pdxThZvLUAafmZb8OAxFb8XXtiQmS35INgr85hdOGoEs124ez1FCnZJt6jau/T+alh58QFQ==} @@ -6727,15 +6692,6 @@ packages: resolution: {integrity: sha512-gns+Er14+ZrEoC5fhOfYCY1LOHHr0TI+rQUHZS8Ttw2l7gl+80eHc/gFf2Ktkw0+SIACDTeWvpFcv3B04VembQ==} engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} - jest-environment-jsdom@29.7.0: - resolution: {integrity: sha512-k9iQbsf9OyOfdzWH8HDmrRT0gSIcX+FLNW7IQq94tFX0gynPwqDTW0Ho6iMVNjGz/nb+l/vW3dWM2bbLLpkbXA==} - engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} - peerDependencies: - canvas: ^2.5.0 - peerDependenciesMeta: - canvas: - optional: true - jest-environment-node@29.7.0: resolution: {integrity: sha512-DOSwCRqXirTOyheM+4d5YZOrWcdu0LNZ87ewUoywbcb2XR4wKgqiG8vNeYwhjFMbEkfju7wx2GYH0P2gevGvFw==} engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} @@ -6893,15 +6849,6 @@ packages: resolution: {integrity: sha512-Hicd6JK5Njt2QB6XYFS7ok9e37O8AYk3jTcppG4YVQnYjOemymvTcmc7OWsmq/Qqj5TdRFO5/x/tIPmBeRtGHg==} engines: {node: '>=12.0.0'} - jsdom@20.0.3: - resolution: {integrity: sha512-SYhBvTh89tTfCD/CRdSOm13mOBa42iTaTyfyEWBdKcGdPxPtLFBXuHR8XHb33YNYaP+lLbmSvBTsnoesCNJEsQ==} - engines: {node: '>=14'} - peerDependencies: - canvas: ^2.5.0 - peerDependenciesMeta: - canvas: - optional: true - jsesc@3.0.2: resolution: {integrity: sha512-xKqzzWXDttJuOcawBt4KnKHHIf5oQ/Cxax+0PWFG+DFDgHNAdi+TXECADI+RYiFUMmx8792xsMbbgXj4CwnP4g==} engines: {node: '>=6'} @@ -7862,9 +7809,6 @@ packages: resolution: {integrity: sha512-4jbtZXNAsfZbAHiiqjLPBiCl16dES1zI4Hpzzxw61Tk+loF+sBDBKx1ICKKKwIqQ7M0mFn1TmkN7euSncWgHiQ==} engines: {node: '>=0.10.0'} - nwsapi@2.2.13: - resolution: {integrity: sha512-cTGB9ptp9dY9A5VbMSe7fQBcl/tt22Vcqdq8+eN93rblOuE0aCFu4aZ2vMwct/2t+lFnosm8RkQW1I0Omb1UtQ==} - nyc@15.1.0: resolution: {integrity: sha512-jMW04n9SxKdKi1ZMGhvUTHBN0EICCRkHemEoE5jm6mTYcqcdas0ATzgUgejlQUHMvpnOZqGB5Xxsv9KxJW1j8A==} engines: {node: '>=8.9'} @@ -8159,9 +8103,6 @@ packages: resolution: {integrity: sha512-1Y1A//QUXEZK7YKz+rD9WydcE1+EuPr6ZBgKecAB8tmoW6UFv0NREVJe1p+jRxtThkcbbKkfwIbWJe/IeE6m2Q==} engines: {node: '>=0.10.0'} - parse5@7.2.1: - resolution: {integrity: sha512-BuBYQYlv1ckiPdQi/ohiivi9Sagc9JG+Ozs0r7b/0iK3sKmrb0b9FdWdBbOdx6hBCM/F9Ir82ofnBhtZOjCRPQ==} - parseurl@1.3.3: resolution: {integrity: sha512-CiyeOxFT/JZyN5m0z9PfXw4SCBJ6Sygz1Dpl0wqjlhDEGGBP1GnsUVEL0p63hoG1fcj3fHynXi9NYO4nWOL+qQ==} engines: {node: '>= 0.8'} @@ -8468,9 +8409,6 @@ packages: pseudomap@1.0.2: resolution: {integrity: sha512-b/YwNhb8lk1Zz2+bXXpS/LK9OisiZZ1SNsSLxN1x2OXVEhW2Ckr/7mWE5vrC1ZTiJlD9g19jWszTmJsB+oEpFQ==} - psl@1.9.0: - resolution: {integrity: sha512-E/ZsdU4HLs/68gYzgGTkMicWTLPdAftJLfJFlLUAAKZGkStNU72sZjT66SnMDVOfOWY/YAoiD7Jxa9iHvngcag==} - pump@1.0.3: resolution: {integrity: sha512-8k0JupWme55+9tCVE+FS5ULT3K6AbgqrGa58lTT49RpyfwwcGedHqaC5LlQNdEAumn/wFsu6aPwkuPMioy8kqw==} @@ -8499,9 +8437,6 @@ packages: resolution: {integrity: sha512-gjWOsm2SoGlgLEdAGt7a6slVOk9mGiXmPFMqrEhLQ68rhQuBnpfs3+EmlvqKyxnCo9/PPlF+9MtY02S1aFg+Jw==} engines: {node: '>=0.10.0'} - querystringify@2.2.0: - resolution: {integrity: sha512-FIqgj2EUvTa7R50u0rGsyTftzjYmv/a3hO345bZNrqabNqjtgiDMgmo4mkUjd+nzU5oF3dClKqFIPUKybUyqoQ==} - queue-microtask@1.2.3: resolution: {integrity: sha512-NuaNSa6flKT5JaSYQzJok04JzTL1CA6aGhv5rfLW3PgqA+M2ChpZQnAC8h8i4ZFkBS8X5RqkDBHA7r4hej3K9A==} @@ -8941,10 +8876,6 @@ packages: sax@1.4.1: resolution: {integrity: sha512-+aWOz7yVScEGoKNd4PA10LZ8sk0A/z5+nXQG5giUO5rprX9jgYsTdov9qCchZiPIZezbZH+jRut8nPodFAX4Jg==} - saxes@6.0.0: - resolution: {integrity: sha512-xAg7SOnEhrm5zI3puOOKyy1OMcMlIJZYNJY7xLBwSze0UjhPLnWfj2GF2EpT0jmzaJKIWKHLsaSSajf35bcYnA==} - engines: {node: '>=v12.22.7'} - scheduler@0.23.2: resolution: {integrity: sha512-UOShsPwz7NrMUqhR6t0hWjFduvOzbtv7toDH1/hIrfRNIDBnnBWd0CwJTGvTpngVlmwGCdP9/Zl/tVrDqcuYzQ==} @@ -9446,9 +9377,6 @@ packages: resolution: {integrity: sha512-e900nM8RRtGhlV36KGEU9k65K3mPb1WV70OdjfxlG2EAuM1noi/E/BaW/uMhL7bPEssK8QV57vN3esixjUvcXQ==} engines: {node: '>=0.10.0'} - symbol-tree@3.2.4: - resolution: {integrity: sha512-9QNk5KwDF+Bvz+PyObkmSYjI5ksVUYtjW7AU22r2NKcfLJcXp96hkDWU3+XndOsUb+AQ9QhfzfCT2O+CNWT5Tw==} - synckit@0.9.2: resolution: {integrity: sha512-vrozgXDQwYO72vHjUb/HnFbQx1exDjoKzqx23aXEg2a9VIg2TSFZ8FmeZpTjUCFMYw7mpX4BE2SFu8wI7asYsw==} engines: {node: ^14.18.0 || >=16.0.0} @@ -9618,17 +9546,9 @@ packages: tomlify-j0.4@3.0.0: resolution: {integrity: sha512-2Ulkc8T7mXJ2l0W476YC/A209PR38Nw8PuaCNtk9uI3t1zzFdGQeWYGQvmj2PZkVvRC/Yoi4xQKMRnWc/N29tQ==} - tough-cookie@4.1.4: - resolution: {integrity: sha512-Loo5UUvLD9ScZ6jh8beX1T6sO1w2/MpCRpEP7V280GKMVUQ0Jzar2U3UJPsrdbziLEMMhu3Ujnq//rhiFuIeag==} - engines: {node: '>=6'} - tr46@0.0.3: resolution: {integrity: sha512-N3WMsuqV66lT30CrXNbEjx4GEwlow3v6rr4mCcv6prnfwhS01rkgyFdjPNBYd9br7LpXV1+Emh01fHnq2Gdgrw==} - tr46@3.0.0: - resolution: {integrity: sha512-l7FvfAHlcmulp8kr+flpQZmVwtu7nfRV7NZujtN0OqES8EL4O4e0qqzL0DC5gAvx/ZC/9lk6rhcUwYvkBnBnYA==} - engines: {node: '>=12'} - tree-kill@1.2.2: resolution: {integrity: sha512-L0Orpi8qGpRG//Nd+H90vFB+3iHnue1zSSGmNOOCh1GLJ7rUKVwV2HvijphGQS2UmhUZewS9VgvxYIdgr+fG1A==} hasBin: true @@ -9696,6 +9616,20 @@ packages: '@swc/wasm': optional: true + ts-node@10.9.2: + resolution: {integrity: sha512-f0FFpIdcHgn8zcPSbf1dRevwt047YMnaiJM3u2w2RewrB+fob/zePZcrOyQoLMMO7aBIddLcQIEK5dYjkLnGrQ==} + hasBin: true + peerDependencies: + '@swc/core': '>=1.2.50' + '@swc/wasm': '>=1.2.50' + '@types/node': '*' + typescript: '>=2.7' + peerDependenciesMeta: + '@swc/core': + optional: true + '@swc/wasm': + optional: true + tsconfig-paths-webpack-plugin@4.1.0: resolution: {integrity: sha512-xWFISjviPydmtmgeUAuXp4N1fky+VCtfhOkDUFIv5ea7p4wuTomI4QTrXvFBX2S4jZsmyTSrStQl+E+4w+RzxA==} engines: {node: '>=10.13.0'} @@ -9806,8 +9740,8 @@ packages: engines: {node: '>=4.2.0'} hasBin: true - typescript@5.5.4: - resolution: {integrity: sha512-Mtq29sKDAEYP7aljRgtPOpTvOfbwRWlS6dPRzwjdE+C0R4brX/GUyhHSecbHMFLNBLcJIPt9nl9yG5TZ1weH+Q==} + typescript@5.4.5: + resolution: {integrity: sha512-vcI4UpRgg81oIRUFwR0WSIHKt11nJ7SAVlYNIu+QpqeyXP+gpQJy/Z4+F0aGxSE4MqwjyXvW/TzgkLAx2AGHwQ==} engines: {node: '>=14.17'} hasBin: true @@ -9885,10 +9819,6 @@ packages: resolution: {integrity: sha512-rBJeI5CXAlmy1pV+617WB9J63U6XcazHHF2f2dbJix4XzpUF0RS3Zbj0FGIOCAva5P/d/GBOYaACQ1w+0azUkg==} engines: {node: '>= 4.0.0'} - universalify@0.2.0: - resolution: {integrity: sha512-CJ1QgKmNg3CwvAv/kOFmtnEN05f0D/cn9QntgNOQlQF9dgvVTHj3t+8JPdjqawCHk7V/KA+fbUqzZ9XWhcqPUg==} - engines: {node: '>= 4.0.0'} - universalify@2.0.1: resolution: {integrity: sha512-gptHNQghINnc/vTGIk0SOFGFNXw7JVrlRUtConJRlvaw6DuX0wO5Jeko9sWrMBhh+PsYAZ7oXAiOnf/UKogyiw==} engines: {node: '>= 10.0.0'} @@ -9946,9 +9876,6 @@ packages: resolution: {integrity: sha512-NjFKA0DidqPa5ciFcSrXnAltTtzz84ogy+NebPvfEgAck0+TNg4UJ4IN+fB7zRZfbgUf0syOo9MDxFkDSMuFaQ==} engines: {node: '>=4'} - url-parse@1.5.10: - resolution: {integrity: sha512-WypcfiRhfeUP9vvF0j6rw0J3hrWrw6iZv3+22h6iRMJ/8z1Tj6XfLP4DsUix5MhMPnXpiHDoKyoZ/bdCkwBCiQ==} - url-to-options@1.0.1: resolution: {integrity: sha512-0kQLIzG4fdk/G5NONku64rSH/x32NOA39LVQqlK8Le6lvTF6GGRJpqaQFGgU+CLwySIqBSMdwYM0sYcW9f6P4A==} engines: {node: '>= 4'} @@ -9998,6 +9925,9 @@ packages: engines: {node: '>=8'} hasBin: true + v8-compile-cache-lib@3.0.1: + resolution: {integrity: sha512-wa7YjyUGfNZngI/vtK0UHAN+lgDCxBPCylVXGp0zu59Fz5aiGtNXaq3DhIov063MorB+VfufLh3JlF2KdTK3xg==} + v8-to-istanbul@9.3.0: resolution: {integrity: sha512-kiGUalWN+rgBJ/1OHZsBtU4rXZOfj/7rKQxULKlIzwzQSvMJUUNgPwJEEh7gU6xEVxC0ahoOBvN2YI8GH6FNgA==} engines: {node: '>=10.12.0'} @@ -10032,10 +9962,6 @@ packages: vfile@6.0.3: resolution: {integrity: sha512-KzIbH/9tXat2u30jf+smMwFCsno4wHVdNmzFyL+T/L3UGqqk6JKfVqOFOZEpZSHADH1k40ab6NUIXZq422ov3Q==} - w3c-xmlserializer@4.0.0: - resolution: {integrity: sha512-d+BFHzbiCx6zGfz0HyQ6Rg69w9k19nviJspaj4yNscGjrHu94sVP+aRm75yEbCh+r2/yR+7q6hux9LVtbuTGBw==} - engines: {node: '>=14'} - wait-on@7.2.0: resolution: {integrity: sha512-wCQcHkRazgjG5XoAq9jbTMLpNIjoSlZslrJ2+N9MxDsGEv1HnFoVjOCexL0ESva7Y9cu350j+DWADdk54s4AFQ==} engines: {node: '>=12.0.0'} @@ -10066,10 +9992,6 @@ packages: webidl-conversions@3.0.1: resolution: {integrity: sha512-2JAn3z8AR6rjK8Sm8orRC0h/bcl/DqL7tRPdGZ4I1CjdF+EaMLmYxBHyXuKL849eucPFhvBoxMsflfOb8kxaeQ==} - webidl-conversions@7.0.0: - resolution: {integrity: sha512-VwddBukDzu71offAQR975unBIGqfKZpM+8ZX6ySk8nYhVoo5CYaZyzt3YBvYtRtO+aoGlqxPg/B87NGVZ/fu6g==} - engines: {node: '>=12'} - webpack-dev-middleware@6.1.3: resolution: {integrity: sha512-A4ChP0Qj8oGociTs6UdlRUGANIGrCDL3y+pmQMc+dSsraXHCatFpmMey4mYELA+juqwUqwQsUgJJISXl1KWmiw==} engines: {node: '>= 14.15.0'} @@ -10103,18 +10025,6 @@ packages: resolution: {integrity: sha512-ZMjC3ho+KXo0BfJb7JgtQ5IBuvnShdlACNkKkdsqBmYw3bPAaJfPeYUo6tLUaT5tG/Gkh7xkpBhKRQ9e7pyg9Q==} engines: {node: '>=6'} - whatwg-encoding@2.0.0: - resolution: {integrity: sha512-p41ogyeMUrw3jWclHWTQg1k05DSVXPLcVxRTYsXUk+ZooOCZLcoYgPZ/HL/D/N+uQPOtcp1me1WhBEaX02mhWg==} - engines: {node: '>=12'} - - whatwg-mimetype@3.0.0: - resolution: {integrity: sha512-nt+N2dzIutVRxARx1nghPKGv1xHikU7HKdfafKkLNLindmPU/ch3U31NOCGGA/dmPcmb1VlofO0vnKAcsm0o/Q==} - engines: {node: '>=12'} - - whatwg-url@11.0.0: - resolution: {integrity: sha512-RKT8HExMpoYx4igMiVMY83lN6UeITKJlBQ+vR/8ZJ8OCdSiN3RwCq+9gH0+Xzj0+5IrM6i4j/6LuvzbZIQgEcQ==} - engines: {node: '>=12'} - whatwg-url@5.0.0: resolution: {integrity: sha512-saE57nupxk6v3HY35+jzBwYa0rKSy0XR8JSxZPwgLr7ys0IBzhGviA1/TUGJLmSVqs8pb9AnvICXEuOHLprYTw==} @@ -10227,16 +10137,9 @@ packages: resolution: {integrity: sha512-PSNhEJDejZYV7h50BohL09Er9VaIefr2LMAf3OEmpCkjOi34eYyQYAXUTjEQtZJTKcF0E2UKTh+osDLsgNim9Q==} engines: {node: '>=8'} - xml-name-validator@4.0.0: - resolution: {integrity: sha512-ICP2e+jsHvAj2E2lIHxa5tjXRlKDJo4IdvPvCXbXQGdzSfmSpNVyIKMvoZHjDY9DP0zV17iI85o90vRFXNccRw==} - engines: {node: '>=12'} - xml@1.0.1: resolution: {integrity: sha512-huCv9IH9Tcf95zuYCsQraZtWnJvBtLVE0QHMOs8bWyZAFZNDcYjsPq1nEx8jKA9y+Beo9v+7OBPRisQTjinQMw==} - xmlchars@2.2.0: - resolution: {integrity: sha512-JZnDKK8B0RCDw84FNdDAIpZK+JuJw+s7Lz8nksI7SIuU3UXJJslUthsi+uWBUYOwPFwW7W7PRLRfUKpxjtjFCw==} - xtend@4.0.2: resolution: {integrity: sha512-LKYU1iAXJXUgAXn9URjiu+MWhyUXHsvfp7mcuYm9dSUKK0/CjtrUwFAxD82/mCWbtLsGjFIad0wIsod4zrTAEQ==} engines: {node: '>=0.4'} @@ -11262,6 +11165,10 @@ snapshots: dependencies: '@cspotcode/source-map-consumer': 0.8.0 + '@cspotcode/source-map-support@0.8.1': + dependencies: + '@jridgewell/trace-mapping': 0.3.9 + '@csstools/css-parser-algorithms@3.0.4(@csstools/css-tokenizer@3.0.3)': dependencies: '@csstools/css-tokenizer': 3.0.3 @@ -11505,7 +11412,7 @@ snapshots: jest-util: 29.7.0 slash: 3.0.0 - '@jest/core@29.7.0(ts-node@10.4.0(@swc/core@1.8.0(@swc/helpers@0.5.13))(@types/node@16.18.119)(typescript@5.5.4))': + '@jest/core@29.7.0(ts-node@10.9.2(@swc/core@1.7.36(@swc/helpers@0.5.13))(@types/node@16.18.119)(typescript@5.4.5))': dependencies: '@jest/console': 29.7.0 '@jest/reporters': 29.7.0 @@ -11519,7 +11426,7 @@ snapshots: exit: 0.1.2 graceful-fs: 4.2.11 jest-changed-files: 29.7.0 - jest-config: 29.7.0(@types/node@22.9.0)(ts-node@10.4.0(@swc/core@1.8.0(@swc/helpers@0.5.13))(@types/node@16.18.119)(typescript@5.5.4)) + jest-config: 29.7.0(@types/node@22.9.0)(ts-node@10.9.2(@swc/core@1.7.36(@swc/helpers@0.5.13))(@types/node@16.18.119)(typescript@5.4.5)) jest-haste-map: 29.7.0 jest-message-util: 29.7.0 jest-regex-util: 29.6.3 @@ -11699,6 +11606,11 @@ snapshots: '@jridgewell/resolve-uri': 3.1.2 '@jridgewell/sourcemap-codec': 1.5.0 + '@jridgewell/trace-mapping@0.3.9': + dependencies: + '@jridgewell/resolve-uri': 3.1.2 + '@jridgewell/sourcemap-codec': 1.5.0 + '@manypkg/find-root@1.1.0': dependencies: '@babel/runtime': 7.26.0 @@ -11743,7 +11655,7 @@ snapshots: '@netlify/binary-info@1.0.0': {} - '@netlify/build@26.5.3(@swc/core@1.8.0(@swc/helpers@0.5.13))(@types/babel__core@7.20.5)': + '@netlify/build@26.5.3(@swc/core@1.7.36(@swc/helpers@0.5.13))(@types/babel__core@7.20.5)': dependencies: '@bugsnag/js': 7.25.0 '@netlify/cache-utils': 4.1.6(supports-color@9.4.0) @@ -11793,7 +11705,7 @@ snapshots: strip-ansi: 7.1.0 supports-color: 9.4.0 tmp-promise: 3.0.3 - ts-node: 10.4.0(@swc/core@1.8.0(@swc/helpers@0.5.13))(@types/node@16.18.119)(typescript@4.9.5) + ts-node: 10.4.0(@swc/core@1.7.36(@swc/helpers@0.5.13))(@types/node@16.18.119)(typescript@4.9.5) typescript: 4.9.5 update-notifier: 5.1.0 uuid: 8.3.2 @@ -12339,7 +12251,7 @@ snapshots: '@pkgr/core@0.1.1': {} - '@pmmmwh/react-refresh-webpack-plugin@0.5.15(react-refresh@0.14.2)(type-fest@3.13.1)(webpack-hot-middleware@2.26.1)(webpack@5.96.1(@swc/core@1.8.0(@swc/helpers@0.5.13))(esbuild@0.23.1))': + '@pmmmwh/react-refresh-webpack-plugin@0.5.15(react-refresh@0.14.2)(type-fest@3.13.1)(webpack-hot-middleware@2.26.1)(webpack@5.96.1(@swc/core@1.7.36(@swc/helpers@0.5.13))(esbuild@0.23.1))': dependencies: ansi-html: 0.0.9 core-js-pure: 3.39.0 @@ -12349,7 +12261,7 @@ snapshots: react-refresh: 0.14.2 schema-utils: 4.2.0 source-map: 0.7.4 - webpack: 5.96.1(@swc/core@1.8.0(@swc/helpers@0.5.13))(esbuild@0.23.1) + webpack: 5.96.1(@swc/core@1.7.36(@swc/helpers@0.5.13))(esbuild@0.23.1) optionalDependencies: type-fest: 3.13.1 webpack-hot-middleware: 2.26.1 @@ -13560,10 +13472,10 @@ snapshots: memoizerific: 1.11.3 storybook: 8.3.6 - '@storybook/addon-webpack5-compiler-swc@1.0.5(@swc/helpers@0.5.13)(webpack@5.96.1(@swc/core@1.8.0(@swc/helpers@0.5.13))(esbuild@0.23.1))': + '@storybook/addon-webpack5-compiler-swc@1.0.5(@swc/helpers@0.5.13)(webpack@5.96.1(@swc/core@1.7.36(@swc/helpers@0.5.13))(esbuild@0.23.1))': dependencies: - '@swc/core': 1.8.0(@swc/helpers@0.5.13) - swc-loader: 0.2.6(@swc/core@1.8.0(@swc/helpers@0.5.13))(webpack@5.96.1(@swc/core@1.8.0(@swc/helpers@0.5.13))(esbuild@0.23.1)) + '@swc/core': 1.7.36(@swc/helpers@0.5.13) + swc-loader: 0.2.6(@swc/core@1.7.36(@swc/helpers@0.5.13))(webpack@5.96.1(@swc/core@1.7.36(@swc/helpers@0.5.13))(esbuild@0.23.1)) transitivePeerDependencies: - '@swc/helpers' - webpack @@ -13589,7 +13501,7 @@ snapshots: react: 18.3.1 react-dom: 18.3.1(react@18.3.1) - '@storybook/builder-webpack5@8.3.6(@swc/core@1.8.0(@swc/helpers@0.5.13))(esbuild@0.23.1)(storybook@8.3.6)(typescript@5.5.4)': + '@storybook/builder-webpack5@8.3.6(@swc/core@1.7.36(@swc/helpers@0.5.13))(esbuild@0.23.1)(storybook@8.3.6)(typescript@5.4.5)': dependencies: '@storybook/core-webpack': 8.3.6(storybook@8.3.6) '@types/node': 22.9.0 @@ -13598,29 +13510,29 @@ snapshots: case-sensitive-paths-webpack-plugin: 2.4.0 cjs-module-lexer: 1.4.1 constants-browserify: 1.0.0 - css-loader: 6.11.0(webpack@5.96.1(@swc/core@1.8.0(@swc/helpers@0.5.13))(esbuild@0.23.1)) + css-loader: 6.11.0(webpack@5.96.1(@swc/core@1.7.36(@swc/helpers@0.5.13))(esbuild@0.23.1)) es-module-lexer: 1.5.4 express: 4.21.1 - fork-ts-checker-webpack-plugin: 8.0.0(typescript@5.5.4)(webpack@5.96.1(@swc/core@1.8.0(@swc/helpers@0.5.13))(esbuild@0.23.1)) + fork-ts-checker-webpack-plugin: 8.0.0(typescript@5.4.5)(webpack@5.96.1(@swc/core@1.7.36(@swc/helpers@0.5.13))(esbuild@0.23.1)) fs-extra: 11.2.0 - html-webpack-plugin: 5.6.3(webpack@5.96.1(@swc/core@1.8.0(@swc/helpers@0.5.13))(esbuild@0.23.1)) + html-webpack-plugin: 5.6.3(webpack@5.96.1(@swc/core@1.7.36(@swc/helpers@0.5.13))(esbuild@0.23.1)) magic-string: 0.30.12 path-browserify: 1.0.1 process: 0.11.10 semver: 7.6.3 storybook: 8.3.6 - style-loader: 3.3.4(webpack@5.96.1(@swc/core@1.8.0(@swc/helpers@0.5.13))(esbuild@0.23.1)) - terser-webpack-plugin: 5.3.10(@swc/core@1.8.0(@swc/helpers@0.5.13))(esbuild@0.23.1)(webpack@5.96.1(@swc/core@1.8.0(@swc/helpers@0.5.13))(esbuild@0.23.1)) + style-loader: 3.3.4(webpack@5.96.1(@swc/core@1.7.36(@swc/helpers@0.5.13))(esbuild@0.23.1)) + terser-webpack-plugin: 5.3.10(@swc/core@1.7.36(@swc/helpers@0.5.13))(esbuild@0.23.1)(webpack@5.96.1(@swc/core@1.7.36(@swc/helpers@0.5.13))(esbuild@0.23.1)) ts-dedent: 2.2.0 url: 0.11.4 util: 0.12.5 util-deprecate: 1.0.2 - webpack: 5.96.1(@swc/core@1.8.0(@swc/helpers@0.5.13))(esbuild@0.23.1) - webpack-dev-middleware: 6.1.3(webpack@5.96.1(@swc/core@1.8.0(@swc/helpers@0.5.13))(esbuild@0.23.1)) + webpack: 5.96.1(@swc/core@1.7.36(@swc/helpers@0.5.13))(esbuild@0.23.1) + webpack-dev-middleware: 6.1.3(webpack@5.96.1(@swc/core@1.7.36(@swc/helpers@0.5.13))(esbuild@0.23.1)) webpack-hot-middleware: 2.26.1 webpack-virtual-modules: 0.6.2 optionalDependencies: - typescript: 5.5.4 + typescript: 5.4.5 transitivePeerDependencies: - '@rspack/core' - '@swc/core' @@ -13700,11 +13612,11 @@ snapshots: dependencies: storybook: 8.3.6 - '@storybook/preset-react-webpack@8.3.6(@storybook/test@8.3.6(storybook@8.3.6))(@swc/core@1.8.0(@swc/helpers@0.5.13))(esbuild@0.23.1)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)(storybook@8.3.6)(typescript@5.5.4)': + '@storybook/preset-react-webpack@8.3.6(@storybook/test@8.3.6(storybook@8.3.6))(@swc/core@1.7.36(@swc/helpers@0.5.13))(esbuild@0.23.1)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)(storybook@8.3.6)(typescript@5.4.5)': dependencies: '@storybook/core-webpack': 8.3.6(storybook@8.3.6) - '@storybook/react': 8.3.6(@storybook/test@8.3.6(storybook@8.3.6))(react-dom@18.3.1(react@18.3.1))(react@18.3.1)(storybook@8.3.6)(typescript@5.5.4) - '@storybook/react-docgen-typescript-plugin': 1.0.6--canary.9.0c3f3b7.0(typescript@5.5.4)(webpack@5.96.1(@swc/core@1.8.0(@swc/helpers@0.5.13))(esbuild@0.23.1)) + '@storybook/react': 8.3.6(@storybook/test@8.3.6(storybook@8.3.6))(react-dom@18.3.1(react@18.3.1))(react@18.3.1)(storybook@8.3.6)(typescript@5.4.5) + '@storybook/react-docgen-typescript-plugin': 1.0.6--canary.9.0c3f3b7.0(typescript@5.4.5)(webpack@5.96.1(@swc/core@1.7.36(@swc/helpers@0.5.13))(esbuild@0.23.1)) '@types/node': 22.9.0 '@types/semver': 7.5.8 find-up: 5.0.0 @@ -13717,9 +13629,9 @@ snapshots: semver: 7.6.3 storybook: 8.3.6 tsconfig-paths: 4.2.0 - webpack: 5.96.1(@swc/core@1.8.0(@swc/helpers@0.5.13))(esbuild@0.23.1) + webpack: 5.96.1(@swc/core@1.7.36(@swc/helpers@0.5.13))(esbuild@0.23.1) optionalDependencies: - typescript: 5.5.4 + typescript: 5.4.5 transitivePeerDependencies: - '@storybook/test' - '@swc/core' @@ -13732,17 +13644,17 @@ snapshots: dependencies: storybook: 8.3.6 - '@storybook/react-docgen-typescript-plugin@1.0.6--canary.9.0c3f3b7.0(typescript@5.5.4)(webpack@5.96.1(@swc/core@1.8.0(@swc/helpers@0.5.13))(esbuild@0.23.1))': + '@storybook/react-docgen-typescript-plugin@1.0.6--canary.9.0c3f3b7.0(typescript@5.4.5)(webpack@5.96.1(@swc/core@1.7.36(@swc/helpers@0.5.13))(esbuild@0.23.1))': dependencies: debug: 4.3.7(supports-color@9.4.0) endent: 2.1.0 find-cache-dir: 3.3.2 flat-cache: 3.2.0 micromatch: 4.0.8 - react-docgen-typescript: 2.2.2(typescript@5.5.4) + react-docgen-typescript: 2.2.2(typescript@5.4.5) tslib: 2.8.1 - typescript: 5.5.4 - webpack: 5.96.1(@swc/core@1.8.0(@swc/helpers@0.5.13))(esbuild@0.23.1) + typescript: 5.4.5 + webpack: 5.96.1(@swc/core@1.7.36(@swc/helpers@0.5.13))(esbuild@0.23.1) transitivePeerDependencies: - supports-color @@ -13752,17 +13664,17 @@ snapshots: react-dom: 18.3.1(react@18.3.1) storybook: 8.3.6 - '@storybook/react-webpack5@8.3.6(@storybook/test@8.3.6(storybook@8.3.6))(@swc/core@1.8.0(@swc/helpers@0.5.13))(esbuild@0.23.1)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)(storybook@8.3.6)(typescript@5.5.4)': + '@storybook/react-webpack5@8.3.6(@storybook/test@8.3.6(storybook@8.3.6))(@swc/core@1.7.36(@swc/helpers@0.5.13))(esbuild@0.23.1)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)(storybook@8.3.6)(typescript@5.4.5)': dependencies: - '@storybook/builder-webpack5': 8.3.6(@swc/core@1.8.0(@swc/helpers@0.5.13))(esbuild@0.23.1)(storybook@8.3.6)(typescript@5.5.4) - '@storybook/preset-react-webpack': 8.3.6(@storybook/test@8.3.6(storybook@8.3.6))(@swc/core@1.8.0(@swc/helpers@0.5.13))(esbuild@0.23.1)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)(storybook@8.3.6)(typescript@5.5.4) - '@storybook/react': 8.3.6(@storybook/test@8.3.6(storybook@8.3.6))(react-dom@18.3.1(react@18.3.1))(react@18.3.1)(storybook@8.3.6)(typescript@5.5.4) + '@storybook/builder-webpack5': 8.3.6(@swc/core@1.7.36(@swc/helpers@0.5.13))(esbuild@0.23.1)(storybook@8.3.6)(typescript@5.4.5) + '@storybook/preset-react-webpack': 8.3.6(@storybook/test@8.3.6(storybook@8.3.6))(@swc/core@1.7.36(@swc/helpers@0.5.13))(esbuild@0.23.1)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)(storybook@8.3.6)(typescript@5.4.5) + '@storybook/react': 8.3.6(@storybook/test@8.3.6(storybook@8.3.6))(react-dom@18.3.1(react@18.3.1))(react@18.3.1)(storybook@8.3.6)(typescript@5.4.5) '@types/node': 22.9.0 react: 18.3.1 react-dom: 18.3.1(react@18.3.1) storybook: 8.3.6 optionalDependencies: - typescript: 5.5.4 + typescript: 5.4.5 transitivePeerDependencies: - '@rspack/core' - '@storybook/test' @@ -13772,7 +13684,7 @@ snapshots: - uglify-js - webpack-cli - '@storybook/react@8.3.6(@storybook/test@8.3.6(storybook@8.3.6))(react-dom@18.3.1(react@18.3.1))(react@18.3.1)(storybook@8.3.6)(typescript@5.5.4)': + '@storybook/react@8.3.6(@storybook/test@8.3.6(storybook@8.3.6))(react-dom@18.3.1(react@18.3.1))(react@18.3.1)(storybook@8.3.6)(typescript@5.4.5)': dependencies: '@storybook/components': 8.4.2(storybook@8.3.6) '@storybook/global': 5.0.0 @@ -13799,9 +13711,9 @@ snapshots: util-deprecate: 1.0.2 optionalDependencies: '@storybook/test': 8.3.6(storybook@8.3.6) - typescript: 5.5.4 + typescript: 5.4.5 - '@storybook/test-runner@0.19.1(@swc/helpers@0.5.13)(@types/node@16.18.119)(storybook@8.3.6)(ts-node@10.4.0(@swc/core@1.8.0(@swc/helpers@0.5.13))(@types/node@16.18.119)(typescript@5.5.4))': + '@storybook/test-runner@0.19.1(@swc/helpers@0.5.13)(@types/node@16.18.119)(storybook@8.3.6)(ts-node@10.9.2(@swc/core@1.7.36(@swc/helpers@0.5.13))(@types/node@16.18.119)(typescript@5.4.5))': dependencies: '@babel/core': 7.26.0(supports-color@9.4.0) '@babel/generator': 7.26.2 @@ -13812,17 +13724,17 @@ snapshots: '@storybook/csf': 0.1.11 '@storybook/csf-tools': 8.4.2(storybook@8.3.6) '@storybook/preview-api': 8.4.2(storybook@8.3.6) - '@swc/core': 1.8.0(@swc/helpers@0.5.13) - '@swc/jest': 0.2.37(@swc/core@1.8.0(@swc/helpers@0.5.13)) + '@swc/core': 1.7.36(@swc/helpers@0.5.13) + '@swc/jest': 0.2.36(@swc/core@1.7.36(@swc/helpers@0.5.13)) expect-playwright: 0.8.0 - jest: 29.7.0(@types/node@16.18.119)(ts-node@10.4.0(@swc/core@1.8.0(@swc/helpers@0.5.13))(@types/node@16.18.119)(typescript@5.5.4)) + jest: 29.7.0(@types/node@16.18.119)(ts-node@10.9.2(@swc/core@1.7.36(@swc/helpers@0.5.13))(@types/node@16.18.119)(typescript@5.4.5)) jest-circus: 29.7.0 jest-environment-node: 29.7.0 jest-junit: 16.0.0 - jest-playwright-preset: 4.0.0(jest-circus@29.7.0)(jest-environment-node@29.7.0)(jest-runner@29.7.0)(jest@29.7.0(@types/node@16.18.119)(ts-node@10.4.0(@swc/core@1.8.0(@swc/helpers@0.5.13))(@types/node@16.18.119)(typescript@5.5.4))) + jest-playwright-preset: 4.0.0(jest-circus@29.7.0)(jest-environment-node@29.7.0)(jest-runner@29.7.0)(jest@29.7.0(@types/node@16.18.119)(ts-node@10.9.2(@swc/core@1.7.36(@swc/helpers@0.5.13))(@types/node@16.18.119)(typescript@5.4.5))) jest-runner: 29.7.0 jest-serializer-html: 7.1.0 - jest-watch-typeahead: 2.2.2(jest@29.7.0(@types/node@16.18.119)(ts-node@10.4.0(@swc/core@1.8.0(@swc/helpers@0.5.13))(@types/node@16.18.119)(typescript@5.5.4))) + jest-watch-typeahead: 2.2.2(jest@29.7.0(@types/node@16.18.119)(ts-node@10.9.2(@swc/core@1.7.36(@swc/helpers@0.5.13))(@types/node@16.18.119)(typescript@5.4.5))) nyc: 15.1.0 playwright: 1.48.2 transitivePeerDependencies: @@ -13925,51 +13837,51 @@ snapshots: transitivePeerDependencies: - supports-color - '@swc/core-darwin-arm64@1.8.0': + '@swc/core-darwin-arm64@1.7.36': optional: true - '@swc/core-darwin-x64@1.8.0': + '@swc/core-darwin-x64@1.7.36': optional: true - '@swc/core-linux-arm-gnueabihf@1.8.0': + '@swc/core-linux-arm-gnueabihf@1.7.36': optional: true - '@swc/core-linux-arm64-gnu@1.8.0': + '@swc/core-linux-arm64-gnu@1.7.36': optional: true - '@swc/core-linux-arm64-musl@1.8.0': + '@swc/core-linux-arm64-musl@1.7.36': optional: true - '@swc/core-linux-x64-gnu@1.8.0': + '@swc/core-linux-x64-gnu@1.7.36': optional: true - '@swc/core-linux-x64-musl@1.8.0': + '@swc/core-linux-x64-musl@1.7.36': optional: true - '@swc/core-win32-arm64-msvc@1.8.0': + '@swc/core-win32-arm64-msvc@1.7.36': optional: true - '@swc/core-win32-ia32-msvc@1.8.0': + '@swc/core-win32-ia32-msvc@1.7.36': optional: true - '@swc/core-win32-x64-msvc@1.8.0': + '@swc/core-win32-x64-msvc@1.7.36': optional: true - '@swc/core@1.8.0(@swc/helpers@0.5.13)': + '@swc/core@1.7.36(@swc/helpers@0.5.13)': dependencies: '@swc/counter': 0.1.3 '@swc/types': 0.1.14 optionalDependencies: - '@swc/core-darwin-arm64': 1.8.0 - '@swc/core-darwin-x64': 1.8.0 - '@swc/core-linux-arm-gnueabihf': 1.8.0 - '@swc/core-linux-arm64-gnu': 1.8.0 - '@swc/core-linux-arm64-musl': 1.8.0 - '@swc/core-linux-x64-gnu': 1.8.0 - '@swc/core-linux-x64-musl': 1.8.0 - '@swc/core-win32-arm64-msvc': 1.8.0 - '@swc/core-win32-ia32-msvc': 1.8.0 - '@swc/core-win32-x64-msvc': 1.8.0 + '@swc/core-darwin-arm64': 1.7.36 + '@swc/core-darwin-x64': 1.7.36 + '@swc/core-linux-arm-gnueabihf': 1.7.36 + '@swc/core-linux-arm64-gnu': 1.7.36 + '@swc/core-linux-arm64-musl': 1.7.36 + '@swc/core-linux-x64-gnu': 1.7.36 + '@swc/core-linux-x64-musl': 1.7.36 + '@swc/core-win32-arm64-msvc': 1.7.36 + '@swc/core-win32-ia32-msvc': 1.7.36 + '@swc/core-win32-x64-msvc': 1.7.36 '@swc/helpers': 0.5.13 '@swc/counter@0.1.3': {} @@ -13978,10 +13890,10 @@ snapshots: dependencies: tslib: 2.8.1 - '@swc/jest@0.2.37(@swc/core@1.8.0(@swc/helpers@0.5.13))': + '@swc/jest@0.2.36(@swc/core@1.7.36(@swc/helpers@0.5.13))': dependencies: '@jest/create-cache-key-function': 29.7.0 - '@swc/core': 1.8.0(@swc/helpers@0.5.13) + '@swc/core': 1.7.36(@swc/helpers@0.5.13) '@swc/counter': 0.1.3 jsonc-parser: 3.3.1 @@ -14018,7 +13930,7 @@ snapshots: lodash: 4.17.21 redent: 3.0.0 - '@testing-library/jest-dom@6.6.2': + '@testing-library/jest-dom@6.6.1': dependencies: '@adobe/css-tools': 4.4.0 aria-query: 5.3.2 @@ -14042,8 +13954,6 @@ snapshots: dependencies: '@testing-library/dom': 10.4.0 - '@tootallnate/once@2.0.0': {} - '@trysound/sax@0.2.0': {} '@tsconfig/node10@1.0.11': {} @@ -14209,12 +14119,6 @@ snapshots: expect: 29.7.0 pretty-format: 29.7.0 - '@types/jsdom@20.0.1': - dependencies: - '@types/node': 22.9.0 - '@types/tough-cookie': 4.0.5 - parse5: 7.2.1 - '@types/json-schema@7.0.15': {} '@types/json5@0.0.29': {} @@ -14336,42 +14240,42 @@ snapshots: dependencies: '@types/yargs-parser': 21.0.3 - '@typescript-eslint/eslint-plugin@7.18.0(@typescript-eslint/parser@8.10.0(eslint@8.57.1)(typescript@5.5.4))(eslint@8.57.1)(typescript@5.5.4)': + '@typescript-eslint/eslint-plugin@7.18.0(@typescript-eslint/parser@8.10.0(eslint@8.57.1)(typescript@5.4.5))(eslint@8.57.1)(typescript@5.4.5)': dependencies: '@eslint-community/regexpp': 4.12.1 - '@typescript-eslint/parser': 8.10.0(eslint@8.57.1)(typescript@5.5.4) + '@typescript-eslint/parser': 8.10.0(eslint@8.57.1)(typescript@5.4.5) '@typescript-eslint/scope-manager': 7.18.0 - '@typescript-eslint/type-utils': 7.18.0(eslint@8.57.1)(typescript@5.5.4) - '@typescript-eslint/utils': 7.18.0(eslint@8.57.1)(typescript@5.5.4) + '@typescript-eslint/type-utils': 7.18.0(eslint@8.57.1)(typescript@5.4.5) + '@typescript-eslint/utils': 7.18.0(eslint@8.57.1)(typescript@5.4.5) '@typescript-eslint/visitor-keys': 7.18.0 eslint: 8.57.1 graphemer: 1.4.0 ignore: 5.3.2 natural-compare: 1.4.0 - ts-api-utils: 1.4.0(typescript@5.5.4) + ts-api-utils: 1.4.0(typescript@5.4.5) optionalDependencies: - typescript: 5.5.4 + typescript: 5.4.5 transitivePeerDependencies: - supports-color - '@typescript-eslint/experimental-utils@5.62.0(eslint@8.57.1)(typescript@5.5.4)': + '@typescript-eslint/experimental-utils@5.62.0(eslint@8.57.1)(typescript@5.4.5)': dependencies: - '@typescript-eslint/utils': 5.62.0(eslint@8.57.1)(typescript@5.5.4) + '@typescript-eslint/utils': 5.62.0(eslint@8.57.1)(typescript@5.4.5) eslint: 8.57.1 transitivePeerDependencies: - supports-color - typescript - '@typescript-eslint/parser@8.10.0(eslint@8.57.1)(typescript@5.5.4)': + '@typescript-eslint/parser@8.10.0(eslint@8.57.1)(typescript@5.4.5)': dependencies: '@typescript-eslint/scope-manager': 8.10.0 '@typescript-eslint/types': 8.10.0 - '@typescript-eslint/typescript-estree': 8.10.0(typescript@5.5.4) + '@typescript-eslint/typescript-estree': 8.10.0(typescript@5.4.5) '@typescript-eslint/visitor-keys': 8.10.0 debug: 4.3.7(supports-color@9.4.0) eslint: 8.57.1 optionalDependencies: - typescript: 5.5.4 + typescript: 5.4.5 transitivePeerDependencies: - supports-color @@ -14390,15 +14294,15 @@ snapshots: '@typescript-eslint/types': 8.10.0 '@typescript-eslint/visitor-keys': 8.10.0 - '@typescript-eslint/type-utils@7.18.0(eslint@8.57.1)(typescript@5.5.4)': + '@typescript-eslint/type-utils@7.18.0(eslint@8.57.1)(typescript@5.4.5)': dependencies: - '@typescript-eslint/typescript-estree': 7.18.0(typescript@5.5.4) - '@typescript-eslint/utils': 7.18.0(eslint@8.57.1)(typescript@5.5.4) + '@typescript-eslint/typescript-estree': 7.18.0(typescript@5.4.5) + '@typescript-eslint/utils': 7.18.0(eslint@8.57.1)(typescript@5.4.5) debug: 4.3.7(supports-color@9.4.0) eslint: 8.57.1 - ts-api-utils: 1.4.0(typescript@5.5.4) + ts-api-utils: 1.4.0(typescript@5.4.5) optionalDependencies: - typescript: 5.5.4 + typescript: 5.4.5 transitivePeerDependencies: - supports-color @@ -14438,7 +14342,7 @@ snapshots: transitivePeerDependencies: - supports-color - '@typescript-eslint/typescript-estree@5.62.0(typescript@5.5.4)': + '@typescript-eslint/typescript-estree@5.62.0(typescript@5.4.5)': dependencies: '@typescript-eslint/types': 5.62.0 '@typescript-eslint/visitor-keys': 5.62.0 @@ -14446,13 +14350,13 @@ snapshots: globby: 11.1.0 is-glob: 4.0.3 semver: 7.6.3 - tsutils: 3.21.0(typescript@5.5.4) + tsutils: 3.21.0(typescript@5.4.5) optionalDependencies: - typescript: 5.5.4 + typescript: 5.4.5 transitivePeerDependencies: - supports-color - '@typescript-eslint/typescript-estree@7.18.0(typescript@5.5.4)': + '@typescript-eslint/typescript-estree@7.18.0(typescript@5.4.5)': dependencies: '@typescript-eslint/types': 7.18.0 '@typescript-eslint/visitor-keys': 7.18.0 @@ -14461,13 +14365,13 @@ snapshots: is-glob: 4.0.3 minimatch: 9.0.5 semver: 7.6.3 - ts-api-utils: 1.4.0(typescript@5.5.4) + ts-api-utils: 1.4.0(typescript@5.4.5) optionalDependencies: - typescript: 5.5.4 + typescript: 5.4.5 transitivePeerDependencies: - supports-color - '@typescript-eslint/typescript-estree@8.10.0(typescript@5.5.4)': + '@typescript-eslint/typescript-estree@8.10.0(typescript@5.4.5)': dependencies: '@typescript-eslint/types': 8.10.0 '@typescript-eslint/visitor-keys': 8.10.0 @@ -14476,20 +14380,20 @@ snapshots: is-glob: 4.0.3 minimatch: 9.0.5 semver: 7.6.3 - ts-api-utils: 1.4.0(typescript@5.5.4) + ts-api-utils: 1.4.0(typescript@5.4.5) optionalDependencies: - typescript: 5.5.4 + typescript: 5.4.5 transitivePeerDependencies: - supports-color - '@typescript-eslint/utils@5.62.0(eslint@8.57.1)(typescript@5.5.4)': + '@typescript-eslint/utils@5.62.0(eslint@8.57.1)(typescript@5.4.5)': dependencies: '@eslint-community/eslint-utils': 4.4.1(eslint@8.57.1) '@types/json-schema': 7.0.15 '@types/semver': 7.5.8 '@typescript-eslint/scope-manager': 5.62.0 '@typescript-eslint/types': 5.62.0 - '@typescript-eslint/typescript-estree': 5.62.0(typescript@5.5.4) + '@typescript-eslint/typescript-estree': 5.62.0(typescript@5.4.5) eslint: 8.57.1 eslint-scope: 5.1.1 semver: 7.6.3 @@ -14497,12 +14401,12 @@ snapshots: - supports-color - typescript - '@typescript-eslint/utils@7.18.0(eslint@8.57.1)(typescript@5.5.4)': + '@typescript-eslint/utils@7.18.0(eslint@8.57.1)(typescript@5.4.5)': dependencies: '@eslint-community/eslint-utils': 4.4.1(eslint@8.57.1) '@typescript-eslint/scope-manager': 7.18.0 '@typescript-eslint/types': 7.18.0 - '@typescript-eslint/typescript-estree': 7.18.0(typescript@5.5.4) + '@typescript-eslint/typescript-estree': 7.18.0(typescript@5.4.5) eslint: 8.57.1 transitivePeerDependencies: - supports-color @@ -14672,25 +14576,25 @@ snapshots: '@webassemblyjs/ast': 1.12.1 '@xtuc/long': 4.2.2 - '@workleap/eslint-plugin@3.2.2(@typescript-eslint/parser@8.10.0(eslint@8.57.1)(typescript@5.5.4))(eslint@8.57.1)(jest@29.7.0(@types/node@16.18.119)(ts-node@10.4.0(@swc/core@1.8.0(@swc/helpers@0.5.13))(@types/node@16.18.119)(typescript@5.5.4)))(typescript@5.5.4)': + '@workleap/eslint-plugin@3.2.2(@typescript-eslint/parser@8.10.0(eslint@8.57.1)(typescript@5.4.5))(eslint@8.57.1)(jest@29.7.0(@types/node@16.18.119)(ts-node@10.9.2(@swc/core@1.7.36(@swc/helpers@0.5.13))(@types/node@16.18.119)(typescript@5.4.5)))(typescript@5.4.5)': dependencies: - '@typescript-eslint/eslint-plugin': 7.18.0(@typescript-eslint/parser@8.10.0(eslint@8.57.1)(typescript@5.5.4))(eslint@8.57.1)(typescript@5.5.4) - eslint-plugin-import: 2.31.0(@typescript-eslint/parser@8.10.0(eslint@8.57.1)(typescript@5.5.4))(eslint@8.57.1) - eslint-plugin-jest: 27.9.0(@typescript-eslint/eslint-plugin@7.18.0(@typescript-eslint/parser@8.10.0(eslint@8.57.1)(typescript@5.5.4))(eslint@8.57.1)(typescript@5.5.4))(eslint@8.57.1)(jest@29.7.0(@types/node@16.18.119)(ts-node@10.4.0(@swc/core@1.8.0(@swc/helpers@0.5.13))(@types/node@16.18.119)(typescript@5.5.4)))(typescript@5.5.4) + '@typescript-eslint/eslint-plugin': 7.18.0(@typescript-eslint/parser@8.10.0(eslint@8.57.1)(typescript@5.4.5))(eslint@8.57.1)(typescript@5.4.5) + eslint-plugin-import: 2.31.0(@typescript-eslint/parser@8.10.0(eslint@8.57.1)(typescript@5.4.5))(eslint@8.57.1) + eslint-plugin-jest: 27.9.0(@typescript-eslint/eslint-plugin@7.18.0(@typescript-eslint/parser@8.10.0(eslint@8.57.1)(typescript@5.4.5))(eslint@8.57.1)(typescript@5.4.5))(eslint@8.57.1)(jest@29.7.0(@types/node@16.18.119)(ts-node@10.9.2(@swc/core@1.7.36(@swc/helpers@0.5.13))(@types/node@16.18.119)(typescript@5.4.5)))(typescript@5.4.5) eslint-plugin-jsx-a11y: 6.10.2(eslint@8.57.1) eslint-plugin-mdx: 3.1.5(eslint@8.57.1) eslint-plugin-package-json: 0.10.4(eslint@8.57.1)(jsonc-eslint-parser@2.4.0) eslint-plugin-react: 7.37.2(eslint@8.57.1) eslint-plugin-react-hooks: 4.6.2(eslint@8.57.1) - eslint-plugin-storybook: 0.8.0(eslint@8.57.1)(typescript@5.5.4) - eslint-plugin-testing-library: 6.4.0(eslint@8.57.1)(typescript@5.5.4) + eslint-plugin-storybook: 0.8.0(eslint@8.57.1)(typescript@5.4.5) + eslint-plugin-testing-library: 6.4.0(eslint@8.57.1)(typescript@5.4.5) eslint-plugin-yml: 1.15.0(eslint@8.57.1) jsonc-eslint-parser: 2.4.0 yaml-eslint-parser: 1.2.3 optionalDependencies: - '@typescript-eslint/parser': 8.10.0(eslint@8.57.1)(typescript@5.5.4) + '@typescript-eslint/parser': 8.10.0(eslint@8.57.1)(typescript@5.4.5) eslint: 8.57.1 - typescript: 5.5.4 + typescript: 5.4.5 transitivePeerDependencies: - bluebird - eslint-import-resolver-typescript @@ -14698,25 +14602,25 @@ snapshots: - jest - supports-color - '@workleap/stylelint-configs@2.0.3(prettier@3.3.3)(stylelint@16.10.0(typescript@5.5.4))': + '@workleap/stylelint-configs@2.0.3(prettier@3.3.3)(stylelint@16.10.0(typescript@5.4.5))': dependencies: - stylelint-config-standard: 36.0.1(stylelint@16.10.0(typescript@5.5.4)) - stylelint-prettier: 5.0.2(prettier@3.3.3)(stylelint@16.10.0(typescript@5.5.4)) + stylelint-config-standard: 36.0.1(stylelint@16.10.0(typescript@5.4.5)) + stylelint-prettier: 5.0.2(prettier@3.3.3)(stylelint@16.10.0(typescript@5.4.5)) optionalDependencies: prettier: 3.3.3 - stylelint: 16.10.0(typescript@5.5.4) + stylelint: 16.10.0(typescript@5.4.5) - '@workleap/swc-configs@2.2.3(@swc/core@1.8.0(@swc/helpers@0.5.13))(@swc/helpers@0.5.13)(@swc/jest@0.2.37(@swc/core@1.8.0(@swc/helpers@0.5.13)))(browserslist@4.24.0)': + '@workleap/swc-configs@2.2.3(@swc/core@1.7.36(@swc/helpers@0.5.13))(@swc/helpers@0.5.13)(@swc/jest@0.2.36(@swc/core@1.7.36(@swc/helpers@0.5.13)))(browserslist@4.24.0)': dependencies: - '@swc/core': 1.8.0(@swc/helpers@0.5.13) + '@swc/core': 1.7.36(@swc/helpers@0.5.13) '@swc/helpers': 0.5.13 optionalDependencies: - '@swc/jest': 0.2.37(@swc/core@1.8.0(@swc/helpers@0.5.13)) + '@swc/jest': 0.2.36(@swc/core@1.7.36(@swc/helpers@0.5.13)) browserslist: 4.24.0 - '@workleap/typescript-configs@3.0.2(typescript@5.5.4)': + '@workleap/typescript-configs@3.0.2(typescript@5.4.5)': dependencies: - typescript: 5.5.4 + typescript: 5.4.5 '@xtuc/ieee754@1.2.0': {} @@ -14724,8 +14628,6 @@ snapshots: '@zeit/schemas@2.36.0': {} - abab@2.0.6: {} - abbrev@1.1.1: {} abbrev@2.0.0: {} @@ -14739,11 +14641,6 @@ snapshots: mime-types: 2.1.35 negotiator: 0.6.3 - acorn-globals@7.0.1: - dependencies: - acorn: 8.14.0 - acorn-walk: 8.3.4 - acorn-jsx@5.3.2(acorn@7.4.1): dependencies: acorn: 7.4.1 @@ -15259,7 +15156,7 @@ snapshots: dependencies: ansi-align: 3.0.1 camelcase: 7.0.1 - chalk: 5.0.1 + chalk: 5.3.0 cli-boxes: 3.0.0 string-width: 5.1.2 type-fest: 2.19.0 @@ -15831,14 +15728,14 @@ snapshots: path-type: 4.0.0 yaml: 1.10.2 - cosmiconfig@9.0.0(typescript@5.5.4): + cosmiconfig@9.0.0(typescript@5.4.5): dependencies: env-paths: 2.2.1 import-fresh: 3.3.0 js-yaml: 4.1.0 parse-json: 5.2.0 optionalDependencies: - typescript: 5.5.4 + typescript: 5.4.5 cp-file@7.0.0: dependencies: @@ -15875,13 +15772,13 @@ snapshots: crc-32: 1.2.2 readable-stream: 3.6.2 - create-jest@29.7.0(@types/node@16.18.119)(ts-node@10.4.0(@swc/core@1.8.0(@swc/helpers@0.5.13))(@types/node@16.18.119)(typescript@5.5.4)): + create-jest@29.7.0(@types/node@16.18.119)(ts-node@10.9.2(@swc/core@1.7.36(@swc/helpers@0.5.13))(@types/node@16.18.119)(typescript@5.4.5)): dependencies: '@jest/types': 29.6.3 chalk: 4.1.2 exit: 0.1.2 graceful-fs: 4.2.11 - jest-config: 29.7.0(@types/node@16.18.119)(ts-node@10.4.0(@swc/core@1.8.0(@swc/helpers@0.5.13))(@types/node@16.18.119)(typescript@5.5.4)) + jest-config: 29.7.0(@types/node@16.18.119)(ts-node@10.9.2(@swc/core@1.7.36(@swc/helpers@0.5.13))(@types/node@16.18.119)(typescript@5.4.5)) jest-util: 29.7.0 prompts: 2.4.2 transitivePeerDependencies: @@ -15916,7 +15813,7 @@ snapshots: css-functions-list@3.2.3: {} - css-loader@6.11.0(webpack@5.96.1(@swc/core@1.8.0(@swc/helpers@0.5.13))(esbuild@0.23.1)): + css-loader@6.11.0(webpack@5.96.1(@swc/core@1.7.36(@swc/helpers@0.5.13))(esbuild@0.23.1)): dependencies: icss-utils: 5.1.0(postcss@8.4.47) postcss: 8.4.47 @@ -15927,7 +15824,7 @@ snapshots: postcss-value-parser: 4.2.0 semver: 7.6.3 optionalDependencies: - webpack: 5.96.1(@swc/core@1.8.0(@swc/helpers@0.5.13))(esbuild@0.23.1) + webpack: 5.96.1(@swc/core@1.7.36(@swc/helpers@0.5.13))(esbuild@0.23.1) css-select@4.3.0: dependencies: @@ -15970,14 +15867,6 @@ snapshots: dependencies: css-tree: 2.2.1 - cssom@0.3.8: {} - - cssom@0.5.0: {} - - cssstyle@2.3.0: - dependencies: - cssom: 0.3.8 - csstype@3.1.3: {} cwd@0.10.0: @@ -15991,12 +15880,6 @@ snapshots: data-uri-to-buffer@4.0.1: {} - data-urls@3.0.2: - dependencies: - abab: 2.0.6 - whatwg-mimetype: 3.0.0 - whatwg-url: 11.0.0 - data-view-buffer@1.0.1: dependencies: call-bind: 1.0.7 @@ -16052,8 +15935,6 @@ snapshots: decamelize@1.2.0: {} - decimal.js@10.4.3: {} - decode-named-character-reference@1.0.2: dependencies: character-entities: 2.0.2 @@ -16348,10 +16229,6 @@ snapshots: domelementtype@2.3.0: {} - domexception@4.0.0: - dependencies: - webidl-conversions: 7.0.0 - domhandler@2.4.2: dependencies: domelementtype: 1.3.1 @@ -16730,17 +16607,17 @@ snapshots: - bluebird - supports-color - eslint-module-utils@2.12.0(@typescript-eslint/parser@8.10.0(eslint@8.57.1)(typescript@5.5.4))(eslint-import-resolver-node@0.3.9)(eslint@8.57.1): + eslint-module-utils@2.12.0(@typescript-eslint/parser@8.10.0(eslint@8.57.1)(typescript@5.4.5))(eslint-import-resolver-node@0.3.9)(eslint@8.57.1): dependencies: debug: 3.2.7(supports-color@9.4.0) optionalDependencies: - '@typescript-eslint/parser': 8.10.0(eslint@8.57.1)(typescript@5.5.4) + '@typescript-eslint/parser': 8.10.0(eslint@8.57.1)(typescript@5.4.5) eslint: 8.57.1 eslint-import-resolver-node: 0.3.9 transitivePeerDependencies: - supports-color - eslint-plugin-import@2.31.0(@typescript-eslint/parser@8.10.0(eslint@8.57.1)(typescript@5.5.4))(eslint@8.57.1): + eslint-plugin-import@2.31.0(@typescript-eslint/parser@8.10.0(eslint@8.57.1)(typescript@5.4.5))(eslint@8.57.1): dependencies: '@rtsao/scc': 1.1.0 array-includes: 3.1.8 @@ -16751,7 +16628,7 @@ snapshots: doctrine: 2.1.0 eslint: 8.57.1 eslint-import-resolver-node: 0.3.9 - eslint-module-utils: 2.12.0(@typescript-eslint/parser@8.10.0(eslint@8.57.1)(typescript@5.5.4))(eslint-import-resolver-node@0.3.9)(eslint@8.57.1) + eslint-module-utils: 2.12.0(@typescript-eslint/parser@8.10.0(eslint@8.57.1)(typescript@5.4.5))(eslint-import-resolver-node@0.3.9)(eslint@8.57.1) hasown: 2.0.2 is-core-module: 2.15.1 is-glob: 4.0.3 @@ -16763,19 +16640,19 @@ snapshots: string.prototype.trimend: 1.0.8 tsconfig-paths: 3.15.0 optionalDependencies: - '@typescript-eslint/parser': 8.10.0(eslint@8.57.1)(typescript@5.5.4) + '@typescript-eslint/parser': 8.10.0(eslint@8.57.1)(typescript@5.4.5) transitivePeerDependencies: - eslint-import-resolver-typescript - eslint-import-resolver-webpack - supports-color - eslint-plugin-jest@27.9.0(@typescript-eslint/eslint-plugin@7.18.0(@typescript-eslint/parser@8.10.0(eslint@8.57.1)(typescript@5.5.4))(eslint@8.57.1)(typescript@5.5.4))(eslint@8.57.1)(jest@29.7.0(@types/node@16.18.119)(ts-node@10.4.0(@swc/core@1.8.0(@swc/helpers@0.5.13))(@types/node@16.18.119)(typescript@5.5.4)))(typescript@5.5.4): + eslint-plugin-jest@27.9.0(@typescript-eslint/eslint-plugin@7.18.0(@typescript-eslint/parser@8.10.0(eslint@8.57.1)(typescript@5.4.5))(eslint@8.57.1)(typescript@5.4.5))(eslint@8.57.1)(jest@29.7.0(@types/node@16.18.119)(ts-node@10.9.2(@swc/core@1.7.36(@swc/helpers@0.5.13))(@types/node@16.18.119)(typescript@5.4.5)))(typescript@5.4.5): dependencies: - '@typescript-eslint/utils': 5.62.0(eslint@8.57.1)(typescript@5.5.4) + '@typescript-eslint/utils': 5.62.0(eslint@8.57.1)(typescript@5.4.5) eslint: 8.57.1 optionalDependencies: - '@typescript-eslint/eslint-plugin': 7.18.0(@typescript-eslint/parser@8.10.0(eslint@8.57.1)(typescript@5.5.4))(eslint@8.57.1)(typescript@5.5.4) - jest: 29.7.0(@types/node@16.18.119)(ts-node@10.4.0(@swc/core@1.8.0(@swc/helpers@0.5.13))(@types/node@16.18.119)(typescript@5.5.4)) + '@typescript-eslint/eslint-plugin': 7.18.0(@typescript-eslint/parser@8.10.0(eslint@8.57.1)(typescript@5.4.5))(eslint@8.57.1)(typescript@5.4.5) + jest: 29.7.0(@types/node@16.18.119)(ts-node@10.9.2(@swc/core@1.7.36(@swc/helpers@0.5.13))(@types/node@16.18.119)(typescript@5.4.5)) transitivePeerDependencies: - supports-color - typescript @@ -16868,10 +16745,10 @@ snapshots: natural-compare: 1.4.0 requireindex: 1.2.0 - eslint-plugin-storybook@0.8.0(eslint@8.57.1)(typescript@5.5.4): + eslint-plugin-storybook@0.8.0(eslint@8.57.1)(typescript@5.4.5): dependencies: '@storybook/csf': 0.0.1 - '@typescript-eslint/utils': 5.62.0(eslint@8.57.1)(typescript@5.5.4) + '@typescript-eslint/utils': 5.62.0(eslint@8.57.1)(typescript@5.4.5) eslint: 8.57.1 requireindex: 1.2.0 ts-dedent: 2.2.0 @@ -16879,22 +16756,22 @@ snapshots: - supports-color - typescript - eslint-plugin-testing-library@6.4.0(eslint@8.57.1)(typescript@5.5.4): + eslint-plugin-testing-library@6.4.0(eslint@8.57.1)(typescript@5.4.5): dependencies: - '@typescript-eslint/utils': 5.62.0(eslint@8.57.1)(typescript@5.5.4) + '@typescript-eslint/utils': 5.62.0(eslint@8.57.1)(typescript@5.4.5) eslint: 8.57.1 transitivePeerDependencies: - supports-color - typescript - eslint-plugin-typescript-sort-keys@3.3.0(@typescript-eslint/parser@8.10.0(eslint@8.57.1)(typescript@5.5.4))(eslint@8.57.1)(typescript@5.5.4): + eslint-plugin-typescript-sort-keys@3.3.0(@typescript-eslint/parser@8.10.0(eslint@8.57.1)(typescript@5.4.5))(eslint@8.57.1)(typescript@5.4.5): dependencies: - '@typescript-eslint/experimental-utils': 5.62.0(eslint@8.57.1)(typescript@5.5.4) - '@typescript-eslint/parser': 8.10.0(eslint@8.57.1)(typescript@5.5.4) + '@typescript-eslint/experimental-utils': 5.62.0(eslint@8.57.1)(typescript@5.4.5) + '@typescript-eslint/parser': 8.10.0(eslint@8.57.1)(typescript@5.4.5) eslint: 8.57.1 json-schema: 0.4.0 natural-compare-lite: 1.4.0 - typescript: 5.5.4 + typescript: 5.4.5 transitivePeerDependencies: - supports-color @@ -17384,7 +17261,7 @@ snapshots: cross-spawn: 7.0.3 signal-exit: 4.1.0 - fork-ts-checker-webpack-plugin@8.0.0(typescript@5.5.4)(webpack@5.96.1(@swc/core@1.8.0(@swc/helpers@0.5.13))(esbuild@0.23.1)): + fork-ts-checker-webpack-plugin@8.0.0(typescript@5.4.5)(webpack@5.96.1(@swc/core@1.7.36(@swc/helpers@0.5.13))(esbuild@0.23.1)): dependencies: '@babel/code-frame': 7.26.2 chalk: 4.1.2 @@ -17398,8 +17275,8 @@ snapshots: schema-utils: 3.3.0 semver: 7.6.3 tapable: 2.2.1 - typescript: 5.5.4 - webpack: 5.96.1(@swc/core@1.8.0(@swc/helpers@0.5.13))(esbuild@0.23.1) + typescript: 5.4.5 + webpack: 5.96.1(@swc/core@1.7.36(@swc/helpers@0.5.13))(esbuild@0.23.1) form-data@2.5.2: dependencies: @@ -17909,10 +17786,6 @@ snapshots: dependencies: lru-cache: 10.4.3 - html-encoding-sniffer@3.0.0: - dependencies: - whatwg-encoding: 2.0.0 - html-entities@2.5.2: {} html-escaper@2.0.2: {} @@ -17929,7 +17802,7 @@ snapshots: html-tags@3.3.1: {} - html-webpack-plugin@5.6.3(webpack@5.96.1(@swc/core@1.8.0(@swc/helpers@0.5.13))(esbuild@0.23.1)): + html-webpack-plugin@5.6.3(webpack@5.96.1(@swc/core@1.7.36(@swc/helpers@0.5.13))(esbuild@0.23.1)): dependencies: '@types/html-minifier-terser': 6.1.0 html-minifier-terser: 6.1.0 @@ -17937,7 +17810,7 @@ snapshots: pretty-error: 4.0.0 tapable: 2.2.1 optionalDependencies: - webpack: 5.96.1(@swc/core@1.8.0(@swc/helpers@0.5.13))(esbuild@0.23.1) + webpack: 5.96.1(@swc/core@1.7.36(@swc/helpers@0.5.13))(esbuild@0.23.1) htmlparser2@3.10.1: dependencies: @@ -17975,14 +17848,6 @@ snapshots: statuses: 2.0.1 toidentifier: 1.0.1 - http-proxy-agent@5.0.0: - dependencies: - '@tootallnate/once': 2.0.0 - agent-base: 6.0.2(supports-color@9.4.0) - debug: 4.3.7(supports-color@9.4.0) - transitivePeerDependencies: - - supports-color - http-proxy-middleware@2.0.7(@types/express@4.17.21)(debug@4.3.7): dependencies: '@types/http-proxy': 1.17.15 @@ -18020,10 +17885,6 @@ snapshots: dependencies: safer-buffer: 2.1.2 - iconv-lite@0.6.3: - dependencies: - safer-buffer: 2.1.2 - icss-utils@5.1.0(postcss@8.4.47): dependencies: postcss: 8.4.47 @@ -18320,8 +18181,6 @@ snapshots: is-port-reachable@4.0.0: {} - is-potential-custom-element-name@1.0.1: {} - is-promise@2.2.2: {} is-reference@1.2.1: @@ -18535,16 +18394,16 @@ snapshots: - babel-plugin-macros - supports-color - jest-cli@29.7.0(@types/node@16.18.119)(ts-node@10.4.0(@swc/core@1.8.0(@swc/helpers@0.5.13))(@types/node@16.18.119)(typescript@5.5.4)): + jest-cli@29.7.0(@types/node@16.18.119)(ts-node@10.9.2(@swc/core@1.7.36(@swc/helpers@0.5.13))(@types/node@16.18.119)(typescript@5.4.5)): dependencies: - '@jest/core': 29.7.0(ts-node@10.4.0(@swc/core@1.8.0(@swc/helpers@0.5.13))(@types/node@16.18.119)(typescript@5.5.4)) + '@jest/core': 29.7.0(ts-node@10.9.2(@swc/core@1.7.36(@swc/helpers@0.5.13))(@types/node@16.18.119)(typescript@5.4.5)) '@jest/test-result': 29.7.0 '@jest/types': 29.6.3 chalk: 4.1.2 - create-jest: 29.7.0(@types/node@16.18.119)(ts-node@10.4.0(@swc/core@1.8.0(@swc/helpers@0.5.13))(@types/node@16.18.119)(typescript@5.5.4)) + create-jest: 29.7.0(@types/node@16.18.119)(ts-node@10.9.2(@swc/core@1.7.36(@swc/helpers@0.5.13))(@types/node@16.18.119)(typescript@5.4.5)) exit: 0.1.2 import-local: 3.2.0 - jest-config: 29.7.0(@types/node@16.18.119)(ts-node@10.4.0(@swc/core@1.8.0(@swc/helpers@0.5.13))(@types/node@16.18.119)(typescript@5.5.4)) + jest-config: 29.7.0(@types/node@16.18.119)(ts-node@10.9.2(@swc/core@1.7.36(@swc/helpers@0.5.13))(@types/node@16.18.119)(typescript@5.4.5)) jest-util: 29.7.0 jest-validate: 29.7.0 yargs: 17.7.2 @@ -18554,7 +18413,7 @@ snapshots: - supports-color - ts-node - jest-config@29.7.0(@types/node@16.18.119)(ts-node@10.4.0(@swc/core@1.8.0(@swc/helpers@0.5.13))(@types/node@16.18.119)(typescript@5.5.4)): + jest-config@29.7.0(@types/node@16.18.119)(ts-node@10.9.2(@swc/core@1.7.36(@swc/helpers@0.5.13))(@types/node@16.18.119)(typescript@5.4.5)): dependencies: '@babel/core': 7.26.0(supports-color@9.4.0) '@jest/test-sequencer': 29.7.0 @@ -18580,12 +18439,12 @@ snapshots: strip-json-comments: 3.1.1 optionalDependencies: '@types/node': 16.18.119 - ts-node: 10.4.0(@swc/core@1.8.0(@swc/helpers@0.5.13))(@types/node@16.18.119)(typescript@5.5.4) + ts-node: 10.9.2(@swc/core@1.7.36(@swc/helpers@0.5.13))(@types/node@16.18.119)(typescript@5.4.5) transitivePeerDependencies: - babel-plugin-macros - supports-color - jest-config@29.7.0(@types/node@22.9.0)(ts-node@10.4.0(@swc/core@1.8.0(@swc/helpers@0.5.13))(@types/node@16.18.119)(typescript@5.5.4)): + jest-config@29.7.0(@types/node@22.9.0)(ts-node@10.9.2(@swc/core@1.7.36(@swc/helpers@0.5.13))(@types/node@16.18.119)(typescript@5.4.5)): dependencies: '@babel/core': 7.26.0(supports-color@9.4.0) '@jest/test-sequencer': 29.7.0 @@ -18611,7 +18470,7 @@ snapshots: strip-json-comments: 3.1.1 optionalDependencies: '@types/node': 22.9.0 - ts-node: 10.4.0(@swc/core@1.8.0(@swc/helpers@0.5.13))(@types/node@16.18.119)(typescript@5.5.4) + ts-node: 10.9.2(@swc/core@1.7.36(@swc/helpers@0.5.13))(@types/node@16.18.119)(typescript@5.4.5) transitivePeerDependencies: - babel-plugin-macros - supports-color @@ -18635,21 +18494,6 @@ snapshots: jest-util: 29.7.0 pretty-format: 29.7.0 - jest-environment-jsdom@29.7.0: - dependencies: - '@jest/environment': 29.7.0 - '@jest/fake-timers': 29.7.0 - '@jest/types': 29.6.3 - '@types/jsdom': 20.0.1 - '@types/node': 22.9.0 - jest-mock: 29.7.0 - jest-util: 29.7.0 - jsdom: 20.0.3 - transitivePeerDependencies: - - bufferutil - - supports-color - - utf-8-validate - jest-environment-node@29.7.0: dependencies: '@jest/environment': 29.7.0 @@ -18718,10 +18562,10 @@ snapshots: '@types/node': 22.9.0 jest-util: 29.7.0 - jest-playwright-preset@4.0.0(jest-circus@29.7.0)(jest-environment-node@29.7.0)(jest-runner@29.7.0)(jest@29.7.0(@types/node@16.18.119)(ts-node@10.4.0(@swc/core@1.8.0(@swc/helpers@0.5.13))(@types/node@16.18.119)(typescript@5.5.4))): + jest-playwright-preset@4.0.0(jest-circus@29.7.0)(jest-environment-node@29.7.0)(jest-runner@29.7.0)(jest@29.7.0(@types/node@16.18.119)(ts-node@10.9.2(@swc/core@1.7.36(@swc/helpers@0.5.13))(@types/node@16.18.119)(typescript@5.4.5))): dependencies: expect-playwright: 0.8.0 - jest: 29.7.0(@types/node@16.18.119)(ts-node@10.4.0(@swc/core@1.8.0(@swc/helpers@0.5.13))(@types/node@16.18.119)(typescript@5.5.4)) + jest: 29.7.0(@types/node@16.18.119)(ts-node@10.9.2(@swc/core@1.7.36(@swc/helpers@0.5.13))(@types/node@16.18.119)(typescript@5.4.5)) jest-circus: 29.7.0 jest-environment-node: 29.7.0 jest-process-manager: 0.4.0 @@ -18893,11 +18737,11 @@ snapshots: leven: 3.1.0 pretty-format: 29.7.0 - jest-watch-typeahead@2.2.2(jest@29.7.0(@types/node@16.18.119)(ts-node@10.4.0(@swc/core@1.8.0(@swc/helpers@0.5.13))(@types/node@16.18.119)(typescript@5.5.4))): + jest-watch-typeahead@2.2.2(jest@29.7.0(@types/node@16.18.119)(ts-node@10.9.2(@swc/core@1.7.36(@swc/helpers@0.5.13))(@types/node@16.18.119)(typescript@5.4.5))): dependencies: ansi-escapes: 6.2.1 chalk: 5.3.0 - jest: 29.7.0(@types/node@16.18.119)(ts-node@10.4.0(@swc/core@1.8.0(@swc/helpers@0.5.13))(@types/node@16.18.119)(typescript@5.5.4)) + jest: 29.7.0(@types/node@16.18.119)(ts-node@10.9.2(@swc/core@1.7.36(@swc/helpers@0.5.13))(@types/node@16.18.119)(typescript@5.4.5)) jest-regex-util: 29.6.3 jest-watcher: 29.7.0 slash: 5.1.0 @@ -18934,12 +18778,12 @@ snapshots: merge-stream: 2.0.0 supports-color: 8.1.1 - jest@29.7.0(@types/node@16.18.119)(ts-node@10.4.0(@swc/core@1.8.0(@swc/helpers@0.5.13))(@types/node@16.18.119)(typescript@5.5.4)): + jest@29.7.0(@types/node@16.18.119)(ts-node@10.9.2(@swc/core@1.7.36(@swc/helpers@0.5.13))(@types/node@16.18.119)(typescript@5.4.5)): dependencies: - '@jest/core': 29.7.0(ts-node@10.4.0(@swc/core@1.8.0(@swc/helpers@0.5.13))(@types/node@16.18.119)(typescript@5.5.4)) + '@jest/core': 29.7.0(ts-node@10.9.2(@swc/core@1.7.36(@swc/helpers@0.5.13))(@types/node@16.18.119)(typescript@5.4.5)) '@jest/types': 29.6.3 import-local: 3.2.0 - jest-cli: 29.7.0(@types/node@16.18.119)(ts-node@10.4.0(@swc/core@1.8.0(@swc/helpers@0.5.13))(@types/node@16.18.119)(typescript@5.5.4)) + jest-cli: 29.7.0(@types/node@16.18.119)(ts-node@10.9.2(@swc/core@1.7.36(@swc/helpers@0.5.13))(@types/node@16.18.119)(typescript@5.4.5)) transitivePeerDependencies: - '@types/node' - babel-plugin-macros @@ -18969,39 +18813,6 @@ snapshots: jsdoc-type-pratt-parser@4.1.0: {} - jsdom@20.0.3: - dependencies: - abab: 2.0.6 - acorn: 8.14.0 - acorn-globals: 7.0.1 - cssom: 0.5.0 - cssstyle: 2.3.0 - data-urls: 3.0.2 - decimal.js: 10.4.3 - domexception: 4.0.0 - escodegen: 2.1.0 - form-data: 4.0.1 - html-encoding-sniffer: 3.0.0 - http-proxy-agent: 5.0.0 - https-proxy-agent: 5.0.1(supports-color@9.4.0) - is-potential-custom-element-name: 1.0.1 - nwsapi: 2.2.13 - parse5: 7.2.1 - saxes: 6.0.0 - symbol-tree: 3.2.4 - tough-cookie: 4.1.4 - w3c-xmlserializer: 4.0.0 - webidl-conversions: 7.0.0 - whatwg-encoding: 2.0.0 - whatwg-mimetype: 3.0.0 - whatwg-url: 11.0.0 - ws: 8.18.0 - xml-name-validator: 4.0.0 - transitivePeerDependencies: - - bufferutil - - supports-color - - utf-8-validate - jsesc@3.0.2: {} json-buffer@3.0.0: {} @@ -20033,9 +19844,9 @@ snapshots: nested-error-stacks@2.1.1: {} - netlify-cli@8.6.18(@swc/core@1.8.0(@swc/helpers@0.5.13))(@types/babel__core@7.20.5)(@types/express@4.17.21): + netlify-cli@8.6.18(@swc/core@1.7.36(@swc/helpers@0.5.13))(@types/babel__core@7.20.5)(@types/express@4.17.21): dependencies: - '@netlify/build': 26.5.3(@swc/core@1.8.0(@swc/helpers@0.5.13))(@types/babel__core@7.20.5) + '@netlify/build': 26.5.3(@swc/core@1.7.36(@swc/helpers@0.5.13))(@types/babel__core@7.20.5) '@netlify/config': 17.0.20 '@netlify/framework-info': 8.0.2 '@netlify/local-functions-proxy': 1.1.1 @@ -20378,8 +20189,6 @@ snapshots: number-is-nan@1.0.1: {} - nwsapi@2.2.13: {} - nyc@15.1.0: dependencies: '@istanbuljs/load-nyc-config': 1.1.0 @@ -20724,10 +20533,6 @@ snapshots: parse-passwd@1.0.0: {} - parse5@7.2.1: - dependencies: - entities: 4.5.0 - parseurl@1.3.3: {} pascal-case@3.1.2: @@ -21002,8 +20807,6 @@ snapshots: pseudomap@1.0.2: {} - psl@1.9.0: {} - pump@1.0.3: dependencies: end-of-stream: 1.4.4 @@ -21034,8 +20837,6 @@ snapshots: object-assign: 4.1.1 strict-uri-encode: 1.1.0 - querystringify@2.2.0: {} - queue-microtask@1.2.3: {} quick-lru@4.0.1: {} @@ -21156,9 +20957,9 @@ snapshots: react: 18.3.1 tween-functions: 1.2.0 - react-docgen-typescript@2.2.2(typescript@5.5.4): + react-docgen-typescript@2.2.2(typescript@5.4.5): dependencies: - typescript: 5.5.4 + typescript: 5.4.5 react-docgen@7.1.0: dependencies: @@ -21644,10 +21445,6 @@ snapshots: sax@1.4.1: {} - saxes@6.0.0: - dependencies: - xmlchars: 2.2.0 - scheduler@0.23.2: dependencies: loose-envify: 1.4.0 @@ -22144,26 +21941,26 @@ snapshots: dependencies: escape-string-regexp: 1.0.5 - style-loader@3.3.4(webpack@5.96.1(@swc/core@1.8.0(@swc/helpers@0.5.13))(esbuild@0.23.1)): + style-loader@3.3.4(webpack@5.96.1(@swc/core@1.7.36(@swc/helpers@0.5.13))(esbuild@0.23.1)): dependencies: - webpack: 5.96.1(@swc/core@1.8.0(@swc/helpers@0.5.13))(esbuild@0.23.1) + webpack: 5.96.1(@swc/core@1.7.36(@swc/helpers@0.5.13))(esbuild@0.23.1) - stylelint-config-recommended@14.0.1(stylelint@16.10.0(typescript@5.5.4)): + stylelint-config-recommended@14.0.1(stylelint@16.10.0(typescript@5.4.5)): dependencies: - stylelint: 16.10.0(typescript@5.5.4) + stylelint: 16.10.0(typescript@5.4.5) - stylelint-config-standard@36.0.1(stylelint@16.10.0(typescript@5.5.4)): + stylelint-config-standard@36.0.1(stylelint@16.10.0(typescript@5.4.5)): dependencies: - stylelint: 16.10.0(typescript@5.5.4) - stylelint-config-recommended: 14.0.1(stylelint@16.10.0(typescript@5.5.4)) + stylelint: 16.10.0(typescript@5.4.5) + stylelint-config-recommended: 14.0.1(stylelint@16.10.0(typescript@5.4.5)) - stylelint-prettier@5.0.2(prettier@3.3.3)(stylelint@16.10.0(typescript@5.5.4)): + stylelint-prettier@5.0.2(prettier@3.3.3)(stylelint@16.10.0(typescript@5.4.5)): dependencies: prettier: 3.3.3 prettier-linter-helpers: 1.0.0 - stylelint: 16.10.0(typescript@5.5.4) + stylelint: 16.10.0(typescript@5.4.5) - stylelint@16.10.0(typescript@5.5.4): + stylelint@16.10.0(typescript@5.4.5): dependencies: '@csstools/css-parser-algorithms': 3.0.4(@csstools/css-tokenizer@3.0.3) '@csstools/css-tokenizer': 3.0.3 @@ -22172,7 +21969,7 @@ snapshots: '@dual-bundle/import-meta-resolve': 4.1.0 balanced-match: 2.0.0 colord: 2.9.3 - cosmiconfig: 9.0.0(typescript@5.5.4) + cosmiconfig: 9.0.0(typescript@5.4.5) css-functions-list: 3.2.3 css-tree: 3.0.1 debug: 4.3.7(supports-color@9.4.0) @@ -22251,16 +22048,14 @@ snapshots: csso: 5.0.5 picocolors: 1.1.1 - swc-loader@0.2.6(@swc/core@1.8.0(@swc/helpers@0.5.13))(webpack@5.96.1(@swc/core@1.8.0(@swc/helpers@0.5.13))(esbuild@0.23.1)): + swc-loader@0.2.6(@swc/core@1.7.36(@swc/helpers@0.5.13))(webpack@5.96.1(@swc/core@1.7.36(@swc/helpers@0.5.13))(esbuild@0.23.1)): dependencies: - '@swc/core': 1.8.0(@swc/helpers@0.5.13) + '@swc/core': 1.7.36(@swc/helpers@0.5.13) '@swc/counter': 0.1.3 - webpack: 5.96.1(@swc/core@1.8.0(@swc/helpers@0.5.13))(esbuild@0.23.1) + webpack: 5.96.1(@swc/core@1.7.36(@swc/helpers@0.5.13))(esbuild@0.23.1) symbol-observable@1.2.0: {} - symbol-tree@3.2.4: {} - synckit@0.9.2: dependencies: '@pkgr/core': 0.1.1 @@ -22345,16 +22140,16 @@ snapshots: ansi-escapes: 4.3.2 supports-hyperlinks: 2.3.0 - terser-webpack-plugin@5.3.10(@swc/core@1.8.0(@swc/helpers@0.5.13))(esbuild@0.23.1)(webpack@5.96.1(@swc/core@1.8.0(@swc/helpers@0.5.13))(esbuild@0.23.1)): + terser-webpack-plugin@5.3.10(@swc/core@1.7.36(@swc/helpers@0.5.13))(esbuild@0.23.1)(webpack@5.96.1(@swc/core@1.7.36(@swc/helpers@0.5.13))(esbuild@0.23.1)): dependencies: '@jridgewell/trace-mapping': 0.3.25 jest-worker: 27.5.1 schema-utils: 3.3.0 serialize-javascript: 6.0.2 terser: 5.36.0 - webpack: 5.96.1(@swc/core@1.8.0(@swc/helpers@0.5.13))(esbuild@0.23.1) + webpack: 5.96.1(@swc/core@1.7.36(@swc/helpers@0.5.13))(esbuild@0.23.1) optionalDependencies: - '@swc/core': 1.8.0(@swc/helpers@0.5.13) + '@swc/core': 1.7.36(@swc/helpers@0.5.13) esbuild: 0.23.1 terser@5.36.0: @@ -22449,19 +22244,8 @@ snapshots: tomlify-j0.4@3.0.0: {} - tough-cookie@4.1.4: - dependencies: - psl: 1.9.0 - punycode: 2.3.1 - universalify: 0.2.0 - url-parse: 1.5.10 - tr46@0.0.3: {} - tr46@3.0.0: - dependencies: - punycode: 2.3.1 - tree-kill@1.2.2: {} trim-newlines@3.0.1: {} @@ -22474,24 +22258,24 @@ snapshots: trough@2.2.0: {} - ts-api-utils@1.4.0(typescript@5.5.4): + ts-api-utils@1.4.0(typescript@5.4.5): dependencies: - typescript: 5.5.4 + typescript: 5.4.5 ts-dedent@2.2.0: {} - ts-jest@29.2.5(@babel/core@7.26.0)(@jest/transform@29.7.0)(@jest/types@29.6.3)(babel-jest@29.7.0(@babel/core@7.26.0))(esbuild@0.23.1)(jest@29.7.0(@types/node@16.18.119)(ts-node@10.4.0(@swc/core@1.8.0(@swc/helpers@0.5.13))(@types/node@16.18.119)(typescript@5.5.4)))(typescript@5.5.4): + ts-jest@29.2.5(@babel/core@7.26.0)(@jest/transform@29.7.0)(@jest/types@29.6.3)(babel-jest@29.7.0(@babel/core@7.26.0))(esbuild@0.23.1)(jest@29.7.0(@types/node@16.18.119)(ts-node@10.9.2(@swc/core@1.7.36(@swc/helpers@0.5.13))(@types/node@16.18.119)(typescript@5.4.5)))(typescript@5.4.5): dependencies: bs-logger: 0.2.6 ejs: 3.1.10 fast-json-stable-stringify: 2.1.0 - jest: 29.7.0(@types/node@16.18.119)(ts-node@10.4.0(@swc/core@1.8.0(@swc/helpers@0.5.13))(@types/node@16.18.119)(typescript@5.5.4)) + jest: 29.7.0(@types/node@16.18.119)(ts-node@10.9.2(@swc/core@1.7.36(@swc/helpers@0.5.13))(@types/node@16.18.119)(typescript@5.4.5)) jest-util: 29.7.0 json5: 2.2.3 lodash.memoize: 4.1.2 make-error: 1.3.6 semver: 7.6.3 - typescript: 5.5.4 + typescript: 5.4.5 yargs-parser: 21.1.1 optionalDependencies: '@babel/core': 7.26.0(supports-color@9.4.0) @@ -22500,7 +22284,7 @@ snapshots: babel-jest: 29.7.0(@babel/core@7.26.0) esbuild: 0.23.1 - ts-node@10.4.0(@swc/core@1.8.0(@swc/helpers@0.5.13))(@types/node@16.18.119)(typescript@4.9.5): + ts-node@10.4.0(@swc/core@1.7.36(@swc/helpers@0.5.13))(@types/node@16.18.119)(typescript@4.9.5): dependencies: '@cspotcode/source-map-support': 0.7.0 '@tsconfig/node10': 1.0.11 @@ -22517,11 +22301,11 @@ snapshots: typescript: 4.9.5 yn: 3.1.1 optionalDependencies: - '@swc/core': 1.8.0(@swc/helpers@0.5.13) + '@swc/core': 1.7.36(@swc/helpers@0.5.13) - ts-node@10.4.0(@swc/core@1.8.0(@swc/helpers@0.5.13))(@types/node@16.18.119)(typescript@5.5.4): + ts-node@10.9.2(@swc/core@1.7.36(@swc/helpers@0.5.13))(@types/node@16.18.119)(typescript@5.4.5): dependencies: - '@cspotcode/source-map-support': 0.7.0 + '@cspotcode/source-map-support': 0.8.1 '@tsconfig/node10': 1.0.11 '@tsconfig/node12': 1.0.11 '@tsconfig/node14': 1.0.3 @@ -22533,11 +22317,11 @@ snapshots: create-require: 1.1.1 diff: 4.0.2 make-error: 1.3.6 - typescript: 5.5.4 + typescript: 5.4.5 + v8-compile-cache-lib: 3.0.1 yn: 3.1.1 optionalDependencies: - '@swc/core': 1.8.0(@swc/helpers@0.5.13) - optional: true + '@swc/core': 1.7.36(@swc/helpers@0.5.13) tsconfig-paths-webpack-plugin@4.1.0: dependencies: @@ -22572,10 +22356,10 @@ snapshots: tslib: 1.14.1 typescript: 4.9.5 - tsutils@3.21.0(typescript@5.5.4): + tsutils@3.21.0(typescript@5.4.5): dependencies: tslib: 1.14.1 - typescript: 5.5.4 + typescript: 5.4.5 tween-functions@1.2.0: {} @@ -22652,7 +22436,7 @@ snapshots: typescript@4.9.5: {} - typescript@5.5.4: {} + typescript@5.4.5: {} uid-safe@2.1.5: dependencies: @@ -22768,8 +22552,6 @@ snapshots: universalify@0.1.2: {} - universalify@0.2.0: {} - universalify@2.0.1: {} unixify@1.0.0: @@ -22838,11 +22620,6 @@ snapshots: dependencies: prepend-http: 2.0.0 - url-parse@1.5.10: - dependencies: - querystringify: 2.2.0 - requires-port: 1.0.0 - url-to-options@1.0.1: {} url@0.11.4: @@ -22885,6 +22662,8 @@ snapshots: kleur: 4.1.5 sade: 1.8.1 + v8-compile-cache-lib@3.0.1: {} + v8-to-istanbul@9.3.0: dependencies: '@jridgewell/trace-mapping': 0.3.25 @@ -22935,10 +22714,6 @@ snapshots: '@types/unist': 3.0.3 vfile-message: 4.0.2 - w3c-xmlserializer@4.0.0: - dependencies: - xml-name-validator: 4.0.0 - wait-on@7.2.0: dependencies: axios: 1.7.7 @@ -22976,9 +22751,7 @@ snapshots: webidl-conversions@3.0.1: {} - webidl-conversions@7.0.0: {} - - webpack-dev-middleware@6.1.3(webpack@5.96.1(@swc/core@1.8.0(@swc/helpers@0.5.13))(esbuild@0.23.1)): + webpack-dev-middleware@6.1.3(webpack@5.96.1(@swc/core@1.7.36(@swc/helpers@0.5.13))(esbuild@0.23.1)): dependencies: colorette: 2.0.20 memfs: 3.5.3 @@ -22986,7 +22759,7 @@ snapshots: range-parser: 1.2.1 schema-utils: 4.2.0 optionalDependencies: - webpack: 5.96.1(@swc/core@1.8.0(@swc/helpers@0.5.13))(esbuild@0.23.1) + webpack: 5.96.1(@swc/core@1.7.36(@swc/helpers@0.5.13))(esbuild@0.23.1) webpack-hot-middleware@2.26.1: dependencies: @@ -22998,7 +22771,7 @@ snapshots: webpack-virtual-modules@0.6.2: {} - webpack@5.96.1(@swc/core@1.8.0(@swc/helpers@0.5.13))(esbuild@0.23.1): + webpack@5.96.1(@swc/core@1.7.36(@swc/helpers@0.5.13))(esbuild@0.23.1): dependencies: '@types/eslint-scope': 3.7.7 '@types/estree': 1.0.6 @@ -23020,7 +22793,7 @@ snapshots: neo-async: 2.6.2 schema-utils: 3.3.0 tapable: 2.2.1 - terser-webpack-plugin: 5.3.10(@swc/core@1.8.0(@swc/helpers@0.5.13))(esbuild@0.23.1)(webpack@5.96.1(@swc/core@1.8.0(@swc/helpers@0.5.13))(esbuild@0.23.1)) + terser-webpack-plugin: 5.3.10(@swc/core@1.7.36(@swc/helpers@0.5.13))(esbuild@0.23.1)(webpack@5.96.1(@swc/core@1.7.36(@swc/helpers@0.5.13))(esbuild@0.23.1)) watchpack: 2.4.2 webpack-sources: 3.2.3 transitivePeerDependencies: @@ -23030,17 +22803,6 @@ snapshots: well-known-symbols@2.0.0: {} - whatwg-encoding@2.0.0: - dependencies: - iconv-lite: 0.6.3 - - whatwg-mimetype@3.0.0: {} - - whatwg-url@11.0.0: - dependencies: - tr46: 3.0.0 - webidl-conversions: 7.0.0 - whatwg-url@5.0.0: dependencies: tr46: 0.0.3 @@ -23184,12 +22946,8 @@ snapshots: xdg-basedir@4.0.0: {} - xml-name-validator@4.0.0: {} - xml@1.0.1: {} - xmlchars@2.2.0: {} - xtend@4.0.2: {} y18n@4.0.3: {} diff --git a/swc.jest.ts b/swc.jest.ts new file mode 100644 index 000000000..297e18199 --- /dev/null +++ b/swc.jest.ts @@ -0,0 +1,6 @@ +import { defineJestConfig } from "@workleap/swc-configs"; + +export const swcConfig = defineJestConfig({ + react: true +}); + diff --git a/tsconfig.json b/tsconfig.json index cf0a41ee7..29c749818 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -1,19 +1,10 @@ { "$schema": "https://json.schemastore.org/tsconfig", - "extends": "./tsconfig.build.json", + "extends": ["./tsconfig.build.json", "./tsconfig.paths.json"], "compilerOptions": { - "baseUrl": ".", "noEmit": true, "allowJs": true, - "paths": { - "@test-utils": ["tooling/test-utils/index.ts"], - "@components": ["packages/components/src/index.ts"], - "@components/*": ["packages/components/src/*"], - "@orbit-ui/transition-components": ["packages/components/src/index.ts"], - "@workleap/orbiter-ui": ["packages/bundle/src/index.ts"], - "@stories/components": [".storybook/components/index.ts"], - "@css/*": ["packages/css/src/*"], - "@stories/mdx": [".storybook/mdx/index.ts"] - } - } + }, + "exclude": ["**/dist/**", "node_modules", "packages", "apps"], + "include": ["**/*", ".storybook/**/*"], } diff --git a/tsconfig.paths.json b/tsconfig.paths.json new file mode 100644 index 000000000..472c23ace --- /dev/null +++ b/tsconfig.paths.json @@ -0,0 +1,15 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "paths": { + "@test-utils": ["tooling/test-utils/index.ts"], + "@components": ["packages/components/src/index.ts"], + "@components/*": ["packages/components/src/*"], + "@orbit-ui/transition-components": ["packages/components/src/index.ts"], + "@workleap/orbiter-ui": ["packages/bundle/src/index.ts"], + "@stories/components": [".storybook/components/index.ts"], + "@css/*": ["packages/css/src/*"], + "@stories/mdx": [".storybook/mdx/index.ts"] + } + } +} From 82776068f90e513d2d42ef9152ef4011ce371340 Mon Sep 17 00:00:00 2001 From: Alexandre Asselin <alexandre.asselin@gsoft.com> Date: Thu, 7 Nov 2024 14:05:19 -0500 Subject: [PATCH 84/95] fix 4 stories that were broken --- packages/components/src/date-input/docs/DateRangeInput.mdx | 2 +- .../src/date-input/docs/DateRangeInput.stories.tsx | 2 +- packages/components/src/disclosure/docs/Disclosure.mdx | 4 ++-- packages/components/src/modal/docs/Modal.mdx | 5 +++-- packages/components/src/modal/docs/Modal.stories.tsx | 2 +- packages/components/src/select/docs/Select.mdx | 1 + 6 files changed, 9 insertions(+), 7 deletions(-) diff --git a/packages/components/src/date-input/docs/DateRangeInput.mdx b/packages/components/src/date-input/docs/DateRangeInput.mdx index 5f6683793..747074c89 100644 --- a/packages/components/src/date-input/docs/DateRangeInput.mdx +++ b/packages/components/src/date-input/docs/DateRangeInput.mdx @@ -2,7 +2,7 @@ import { ArgTypes, Meta, Canvas } from "@storybook/addon-docs"; import { ComponentInfo, Tagline } from "@stories/components"; import { InnerDateRangeInput } from "@components/date-input"; -import * as DateRangeInputStories from "./DateRangeInput.stories.tsx"; +import * as DateRangeInputStories from "./DateRangeInput.stories"; <Meta of={DateRangeInputStories} /> diff --git a/packages/components/src/date-input/docs/DateRangeInput.stories.tsx b/packages/components/src/date-input/docs/DateRangeInput.stories.tsx index af4e842d3..7e75daedd 100644 --- a/packages/components/src/date-input/docs/DateRangeInput.stories.tsx +++ b/packages/components/src/date-input/docs/DateRangeInput.stories.tsx @@ -103,7 +103,7 @@ export const Form: DateRangeInputStory = { ) }; -export const Condrolled: DateRangeInputStory = { +export const Controlled: DateRangeInputStory = { render: () => { const [startDate, setStartDate] = useState(null); const [endDate, setEndDate] = useState(null); diff --git a/packages/components/src/disclosure/docs/Disclosure.mdx b/packages/components/src/disclosure/docs/Disclosure.mdx index d3f516d14..15692d119 100644 --- a/packages/components/src/disclosure/docs/Disclosure.mdx +++ b/packages/components/src/disclosure/docs/Disclosure.mdx @@ -3,7 +3,7 @@ import { ComponentInfo, Tagline } from "@stories/components"; import { InnerDisclosure } from "@components/disclosure"; import { InnerContent } from "@components/placeholders"; -import * as DisclosureStories from "./Disclosure.stories.tsx"; +import * as DisclosureStories from "./Disclosure.stories"; <Meta of={DisclosureStories} /> @@ -47,7 +47,7 @@ You can use a [disclosure arrow](?path=/docs/disclosure-arrow--context) componen A disclosure component can handle `open` state in controlled mode. -<Canvas of={DisclosureStories.Condrolled} /> +<Canvas of={DisclosureStories.Controlled} /> ## API diff --git a/packages/components/src/modal/docs/Modal.mdx b/packages/components/src/modal/docs/Modal.mdx index d539b319a..9e5c9e77e 100644 --- a/packages/components/src/modal/docs/Modal.mdx +++ b/packages/components/src/modal/docs/Modal.mdx @@ -1,9 +1,10 @@ -import { ArgTypes, Meta, C, ArgTypesanvas } from "@storybook/addon-docs"; +import { ArgTypes, Meta, Canvas, ArgTypesanvas } from "@storybook/addon-docs"; import { ComponentInfo, Tagline } from "@stories/components"; import { InnerContent, InnerFooter, InnerHeader } from "@components/placeholders"; import { InnerModal, InnerModalTrigger } from "@components/modal"; +import { InnerHeading } from "@components/typography"; -import * as ModalStories from "./Modal.stories.tsx" +import * as ModalStories from "./Modal.stories" <Meta of={ModalStories} /> diff --git a/packages/components/src/modal/docs/Modal.stories.tsx b/packages/components/src/modal/docs/Modal.stories.tsx index edc4beeb9..588be1fa9 100644 --- a/packages/components/src/modal/docs/Modal.stories.tsx +++ b/packages/components/src/modal/docs/Modal.stories.tsx @@ -37,7 +37,7 @@ export const Default: ModalStory = { ) }; -export const ModalStory: ModalStory = { +export const ImageStory: ModalStory = { render: () => ( <ModalTrigger> <Button variant="secondary">Open</Button> diff --git a/packages/components/src/select/docs/Select.mdx b/packages/components/src/select/docs/Select.mdx index 5ef3e2d06..1aebbc3d3 100644 --- a/packages/components/src/select/docs/Select.mdx +++ b/packages/components/src/select/docs/Select.mdx @@ -1,6 +1,7 @@ import { ArgTypes, Meta, Canvas } from "@storybook/addon-docs"; import { InnerHiddenSelect, InnerSelect} from "@components/select"; import { InnerItem, InnerSection } from "@components/collection"; +import { ComponentInfo, Tagline } from "@stories/components"; import * as SelectStories from "./Select.stories.tsx"; From 2d35fd494d0d8218aa5e4cf64e51e1b4b1b13b90 Mon Sep 17 00:00:00 2001 From: victortrinh2 <132942359+victortrinh2@users.noreply.github.com> Date: Thu, 7 Nov 2024 15:33:22 -0500 Subject: [PATCH 85/95] Feature/ds 414 styling orbiter (#177) Fix styling --- .storybook/decorators/withDocsContainer.tsx | 11 +- .storybook/mdx/components.ts | 14 ++ .storybook/mdx/index.ts | 1 - .storybook/mdx/typography/Heading.tsx | 8 + .storybook/mdx/typography/ListItem.tsx | 3 + .storybook/mdx/typography/Paragraph.tsx | 3 + .storybook/mdx/typography/index.ts | 3 + .storybook/{preview.tsx => preview.ts} | 7 +- .storybook/styles/docs.css | 152 ++++++------------ docs/features/ResponsiveStyles.mdx | 4 +- docs/features/color-schemes/ColorSchemes.mdx | 4 +- .../style-props/PropsReferenceTable.tsx | 8 +- docs/features/style-props/StyleProps.mdx | 6 +- docs/features/tokens/Tokens.mdx | 4 +- .../src/accordion/docs/Accordion.mdx | 2 +- .../src/autocomplete/docs/Autocomplete.mdx | 6 +- packages/components/src/badge/docs/Badge.mdx | 2 +- .../components/src/button/docs/Button.mdx | 4 +- .../components/src/checkbox/docs/Checkbox.mdx | 2 +- packages/components/src/html/docs/address.mdx | 2 +- packages/components/src/html/docs/anchor.mdx | 2 +- packages/components/src/html/docs/article.mdx | 2 +- packages/components/src/html/docs/aside.mdx | 2 +- packages/components/src/html/docs/button.mdx | 2 +- packages/components/src/html/docs/div.mdx | 2 +- packages/components/src/html/docs/footer.mdx | 2 +- packages/components/src/html/docs/header.mdx | 2 +- packages/components/src/html/docs/img.mdx | 2 +- packages/components/src/html/docs/input.mdx | 2 +- packages/components/src/html/docs/list.mdx | 2 +- packages/components/src/html/docs/main.mdx | 2 +- packages/components/src/html/docs/nav.mdx | 2 +- packages/components/src/html/docs/section.mdx | 2 +- packages/components/src/html/docs/span.mdx | 2 +- packages/components/src/html/docs/table.mdx | 2 +- packages/components/src/html/src/html.tsx | 82 +++++----- .../components/src/listbox/docs/Listbox.mdx | 6 +- .../components/src/lozenge/docs/Lozenge.mdx | 2 +- packages/components/src/menu/docs/Menu.mdx | 6 +- packages/components/src/modal/docs/Modal.mdx | 2 +- .../src/number-input/docs/NumberInput.mdx | 2 +- packages/components/src/radio/docs/Radio.mdx | 2 +- .../components/src/select/docs/Select.mdx | 6 +- .../src/styling/docs/ThemeProvider.mdx | 2 +- .../src/styling/src/theming/ThemeProvider.tsx | 2 +- .../components/src/switch/docs/Switch.mdx | 2 +- packages/components/src/tabs/docs/Tabs.mdx | 4 +- packages/components/src/tag/docs/Tag.mdx | 4 +- .../src/text-input/docs/TextInput.mdx | 2 +- .../components/src/typography/docs/Text.mdx | 2 +- 50 files changed, 188 insertions(+), 214 deletions(-) create mode 100644 .storybook/mdx/components.ts delete mode 100644 .storybook/mdx/index.ts create mode 100644 .storybook/mdx/typography/Heading.tsx create mode 100644 .storybook/mdx/typography/ListItem.tsx create mode 100644 .storybook/mdx/typography/Paragraph.tsx create mode 100644 .storybook/mdx/typography/index.ts rename .storybook/{preview.tsx => preview.ts} (94%) diff --git a/.storybook/decorators/withDocsContainer.tsx b/.storybook/decorators/withDocsContainer.tsx index a71f27a54..30c5e4c50 100644 --- a/.storybook/decorators/withDocsContainer.tsx +++ b/.storybook/decorators/withDocsContainer.tsx @@ -1,11 +1,16 @@ import { ThemeProvider } from "@components/styling"; import { DocsContainer } from "@storybook/blocks"; - +import { MDXProvider } from "@mdx-js/react"; +import { mdxComponents } from "../mdx/components"; export function ThemedDocsContainer({ children, ...props }) { return ( <ThemeProvider colorScheme="light"> - <DocsContainer {...props}>{children}</DocsContainer>; - </ThemeProvider> + <MDXProvider + components={mdxComponents} + > + <DocsContainer {...props}>{children}</DocsContainer>; + </MDXProvider> + </ThemeProvider > ); } diff --git a/.storybook/mdx/components.ts b/.storybook/mdx/components.ts new file mode 100644 index 000000000..e23e79735 --- /dev/null +++ b/.storybook/mdx/components.ts @@ -0,0 +1,14 @@ +import { H1, H2, H3, H4, H5, H6, LI, P } from "./typography"; +import { Highlight } from "./highlight"; + +export const mdxComponents = { + blockquote: Highlight, + h1: H1, + h2: H2, + h3: H3, + h4: H4, + h5: H5, + h6: H6, + li: LI, + p: P +}; diff --git a/.storybook/mdx/index.ts b/.storybook/mdx/index.ts deleted file mode 100644 index d90b37cc0..000000000 --- a/.storybook/mdx/index.ts +++ /dev/null @@ -1 +0,0 @@ -export * from "./highlight"; diff --git a/.storybook/mdx/typography/Heading.tsx b/.storybook/mdx/typography/Heading.tsx new file mode 100644 index 000000000..49960d454 --- /dev/null +++ b/.storybook/mdx/typography/Heading.tsx @@ -0,0 +1,8 @@ +import { mergeProps } from "../../../packages/components/src/shared"; + +export const H1 = props => <h1 {...mergeProps(props, { className: "orbiter-doc-h1" })} />; +export const H2 = props => <h2 {...mergeProps(props, { className: "orbiter-doc-h2" })} />; +export const H3 = props => <h3 {...mergeProps(props, { className: "orbiter-doc-h3" })} />; +export const H4 = props => <h4 {...mergeProps(props, { className: "orbiter-doc-h4" })} />; +export const H5 = props => <h5 {...mergeProps(props, { className: "orbiter-doc-h5" })} />; +export const H6 = props => <h6 {...mergeProps(props, { className: "orbiter-doc-h6" })} />; diff --git a/.storybook/mdx/typography/ListItem.tsx b/.storybook/mdx/typography/ListItem.tsx new file mode 100644 index 000000000..1fedca0e9 --- /dev/null +++ b/.storybook/mdx/typography/ListItem.tsx @@ -0,0 +1,3 @@ +import { mergeProps } from "../../../packages/components/src/shared"; + +export const LI = props => <li {...mergeProps(props, { className: "orbiter-doc-li" })} />; diff --git a/.storybook/mdx/typography/Paragraph.tsx b/.storybook/mdx/typography/Paragraph.tsx new file mode 100644 index 000000000..e9e583f00 --- /dev/null +++ b/.storybook/mdx/typography/Paragraph.tsx @@ -0,0 +1,3 @@ +import { mergeProps } from "../../../packages/components/src/shared"; + +export const P = props => <p {...mergeProps(props, { className: "orbiter-doc-p" })} />; diff --git a/.storybook/mdx/typography/index.ts b/.storybook/mdx/typography/index.ts new file mode 100644 index 000000000..02da4eab3 --- /dev/null +++ b/.storybook/mdx/typography/index.ts @@ -0,0 +1,3 @@ +export * from "./Heading"; +export * from "./ListItem"; +export * from "./Paragraph"; diff --git a/.storybook/preview.tsx b/.storybook/preview.ts similarity index 94% rename from .storybook/preview.tsx rename to .storybook/preview.ts index 2f4b041a7..7f989b151 100644 --- a/.storybook/preview.tsx +++ b/.storybook/preview.ts @@ -1,4 +1,3 @@ -// import { viewport, withHopperProvider } from "./storybook-addon/index"; import { viewport } from "./storybook-addon/index"; import { withBackgroundMatchingColorScheme, withCenteredCanvas, ThemedDocsContainer, withThemeProvider } from "./decorators"; import "./stories.css"; @@ -10,7 +9,6 @@ import type { Preview } from "@storybook/react"; import "@components/index.css"; import "./styles"; import "@hopper-ui/tokens/fonts.css"; -import { Highlight } from "./mdx"; if (!isChromatic) { // Custom font makes chromatic inconsistent and cause "false positive". View https://www.chromatic.com/docs/resource-loading#loading-custom-fonts. @@ -36,13 +34,10 @@ const preview: Preview = { docs: { theme: Themes.docs, container: ThemedDocsContainer, - inlineStories: true, + story: { inline: true }, canvas: { sourceState: "shown" }, - components: { - blockquote: Highlight - }, source: { type: "code", language: "tsx", diff --git a/.storybook/styles/docs.css b/.storybook/styles/docs.css index b656d7783..f4c024921 100644 --- a/.storybook/styles/docs.css +++ b/.storybook/styles/docs.css @@ -114,93 +114,94 @@ margin-bottom: 35px !important; } -.preview, -pre { +.sbdocs.sbdocs-preview, +.sbdocs.sbdocs-pre { border: none; border-radius: var(--hop-shape-rounded-md) !important; box-shadow: var(--hop-elevation-lifted); } -.preview { +.sbdocs.sbdocs-preview { overflow: hidden; } -.preview > div > div { +.sbdocs.sbdocs-preview > div > div { overflow: visible; } -.preview div[scale] { +.sbdocs.sbdocs-preview div[scale] { transform: none !important; } /* ELEMENTS | TEXT */ -h1, -h2, -h3, -h4, -h5, -h6, -p { +h1.orbiter-doc-h1, +h2.orbiter-doc-h2, +h3.orbiter-doc-h3, +h4.orbiter-doc-h4, +h5.orbiter-doc-h5, +h6.orbiter-doc-h6, +p.orbiter-doc-p { color: var(--hop-neutral-text); } /* ELEMENTS | HEADER */ -h1, -h2, -h3, -h4, -h5, -h6 { +h1.orbiter-doc-h1, +h2.orbiter-doc-h2, +h3.orbiter-doc-h3, +h4.orbiter-doc-h4, +h5.orbiter-doc-h5, +h6.orbiter-doc-h6 { font-weight: 550; /* fixing the default position relative on all titles in shared.tsx */ position: initial; } -h1 { +h1.orbiter-doc-h1 { font-size: var(--hop-heading-3xl-font-size); line-height: var(--hop-heading-3xl-line-height); } -h1, +h1.orbiter-doc-h1, .sbdocs .sbdocs-title { font-weight: 550; } -h2 { +h2.orbiter-doc-h2 { border-bottom: 1px solid var(--hop-neutral-border-weakest); } -h2, -h2:first-of-type { - margin: 1.5rem 0 !important; +h2.orbiter-doc-h2, +h2.orbiter-doc-h2:first-of-type { + margin: 1.5rem 0; font-size: var(--hop-heading-xl-font-size); } -h3 { +h3.orbiter-doc-h3, +h3.orbiter-doc-h3:first-of-type { margin: var(--hop-space-stack-xl) 0 var(--hop-space-stack-md); font-size: var(--hop-heading-md-font-size); line-height: var(--hop-heading-md-line-height); } -h4 { +h4.orbiter-doc-h4 { font-size: var(--hop-heading-sm-font-size); line-height: var(--hop-heading-sm-line-height); margin: var(--hop-space-stack-lg) 0 var(--hop-space-stack-sm); } -h2 + p, -h3 + p, -h4 + p { +h2.orbiter-doc-h2 + p.orbiter-doc-p, +h3.orbiter-doc-h3 + p.orbiter-doc-p, +h4.orbiter-doc-h4 + p.orbiter-doc-p { margin: 0 0 1rem 0; } -p { +p.orbiter-doc-p { max-width: 75ch; } /* ELEMENTS | CODE | IN PARAGRAPH */ -p code, -li code { +.sbdocs p.orbiter-doc-p code, +.sbdocs li.orbiter-doc-li code { padding: 0 !important; border: none !important; border-radius: 0 !important; @@ -209,102 +210,45 @@ li code { } /* ELEMENTS | LINK */ -a { +.sbdocs.sbdocs-a { font-size: var(--hop-body-md-font-size); color: var(--hop-primary-text) !important; text-decoration: underline; } -a:hover, -a:focus { +.sbdocs.sbdocs-a code { + text-decoration: underline; +} + +.sbdocs.sbdocs-a:hover, +.sbdocs.sbdocs-a:focus { text-decoration: underline; outline: transparent; } /* ELEMENTS | LINK | IN PARAGRAGH */ -p a { +p.orbiter-doc-p .sbdocs-a { font-size: inherit; } -a:focus { +.sbdocs.sbdocs-a:focus { border-radius: var(--hop-shape-rounded-md); background-color: rgba(0, 0, 0, 0.04); box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.04); } -a code { +.sbdocs .sbdocs-a code { color: var(--hop-primary-text); } /* ELEMENTS | TYPOGRAPHY */ -p, -span { +p.orbiter-doc-p, +.sbdocs.sbdocs-span { font-size: var(--hop-body-md-font-size); line-height: var(--hop-body-md-line-height); max-width: 90ch; } -/* ELEMENTS | TABLE */ -table tr { - border-top: 1px solid var(--hop-neutral-border-weakest); -} - -table thead tr th { - background-color: var(--hop-neutral-surface-weak); - color: inherit; -} - -table thead tr { - border-top: 1px solid var(--hop-neutral-border-weakest); - border-left: 1px solid var(--hop-neutral-border-weakest); - border-right: 1px solid var(--hop-neutral-border-weakest); - color: var(--hop-neutral-text); -} - -table tr th { - font-weight: 600; - font-size: var(--hop-body-md-font-size); -} - -table td { - font-size: var(--hop-body-sm-medium-font-size); -} - -table tr td, -table tr th { - border-top: 1px solid var(--hop-neutral-border-weakest); - border-bottom: 1px solid var(--hop-neutral-border-weakest); - border-left: 0; - border-right: 0; - color: var(--hop-neutral-text); - background-color: var(--hop-neutral-surface); -} - -table tbody { - border: 1px solid var(--hop-neutral-border-weakest); -} - -table a { - font-size: var(--hop-body-sm-medium-font-size) !important; -} - -table .code a { - font-family: Consolas, monaco, monospace !important; -} - -table .example { - color: var(--hop-neutral-text); -} - -table b, -table strong { - font-weight: 400; -} - -table img { - max-width: none; -} - /* ELEMENTS | SUMMARY */ .sb-show-main summary { font-size: var(--hop-body-md-font-size); @@ -342,7 +286,7 @@ table img { } /* ELEMENTS | LIST */ -li { +li.orbiter-doc-li { font-size: var(--hop-body-md-font-size) !important; } @@ -352,11 +296,11 @@ li { } /* ELEMENTS | LINK ICON */ -h1 a { +h1.orbiter-doc-h1 a { margin-left: -28px; } -h1 a svg { +h1.orbiter-doc-h1 a svg { width: 1.5rem; height: 1.5rem; } diff --git a/docs/features/ResponsiveStyles.mdx b/docs/features/ResponsiveStyles.mdx index 9aa6cb84e..2124ad7c0 100644 --- a/docs/features/ResponsiveStyles.mdx +++ b/docs/features/ResponsiveStyles.mdx @@ -7,7 +7,7 @@ import * as ResponsiveStylesStories from "./ResponsiveStyles.stories"; # Responsive styles -Orbiter [style props](?path=/docs/style-props--page) accepts a specialized syntax to support responsive breakpoints. +Orbiter [style props](?path=/docs/style-props--docs) accepts a specialized syntax to support responsive breakpoints. ## Usage @@ -33,7 +33,7 @@ const fluidValue = useResponsiveValue({ base: true, lg: false }); ## Breakpoints -The following responsive breakpoints are supported by Orbiter [style props](?path=/docs/style-props--page) and acts as their [CSS media query](https://developer.mozilla.org/en-US/docs/Web/CSS/Media_Queries/Using_media_queries) counterparts: +The following responsive breakpoints are supported by Orbiter [style props](?path=/docs/style-props--docs) and acts as their [CSS media query](https://developer.mozilla.org/en-US/docs/Web/CSS/Media_Queries/Using_media_queries) counterparts: <Table columns={[ diff --git a/docs/features/color-schemes/ColorSchemes.mdx b/docs/features/color-schemes/ColorSchemes.mdx index c1aa87c0a..4fc1e3d41 100644 --- a/docs/features/color-schemes/ColorSchemes.mdx +++ b/docs/features/color-schemes/ColorSchemes.mdx @@ -5,7 +5,7 @@ import * as ColorSchemesStories from "./ColorSchemes.stories"; # Color schemes -Orbiter supports by default a *light* and a *dark* color scheme for all components and [tokens](?path=/story/tokens--page) where applicable. +Orbiter supports by default a *light* and a *dark* color scheme for all components and [tokens](?path=/story/tokens--docs) where applicable. ## Apply a color scheme @@ -31,7 +31,7 @@ The `ColorSchemeContext` of the closest [theme provider](?path=/story/theme-prov ## useColorSchemeValue -Some features requires the usage of custom colors. Those colors aren't like Orbiter [tokens](?path=/story/tokens--page) and will not support color schemes out of the box. +Some features requires the usage of custom colors. Those colors aren't like Orbiter [tokens](?path=/story/tokens--docs) and will not support color schemes out of the box. To help with that, Orbiter offer the `useColorSchemeValue` hook which will return the value matching the current color scheme of the closest [theme provider](?path=/story/theme-provider--default-story). diff --git a/docs/features/style-props/PropsReferenceTable.tsx b/docs/features/style-props/PropsReferenceTable.tsx index c19c81039..78058898b 100644 --- a/docs/features/style-props/PropsReferenceTable.tsx +++ b/docs/features/style-props/PropsReferenceTable.tsx @@ -1,10 +1,10 @@ import { Table, TableProps, Link } from "@stories/components"; const ScaleLinks = { - "box-shadow-scale": <Link href="?path=/docs/tokens--page#box-shadows" target="_blank">shadows</Link>, - "color-scale": <Link href="?path=/docs/tokens--page#background-colors" target="_blank">colors</Link>, - "sizing-scale": <Link href="?path=/docs/tokens--page#sizings" target="_blank">dimensions</Link>, - "spacing-scale": <Link href="?path=/docs/tokens--page#spacings" target="_blank">dimensions</Link> + "box-shadow-scale": <Link href="?path=/docs/tokens--docs#box-shadows" target="_blank">shadows</Link>, + "color-scale": <Link href="?path=/docs/tokens--docs#background-colors" target="_blank">colors</Link>, + "sizing-scale": <Link href="?path=/docs/tokens--docs#sizings" target="_blank">dimensions</Link>, + "spacing-scale": <Link href="?path=/docs/tokens--docs#spacings" target="_blank">dimensions</Link> }; function toScaleLink(scale: keyof typeof ScaleLinks) { diff --git a/docs/features/style-props/StyleProps.mdx b/docs/features/style-props/StyleProps.mdx index 7ef5a8eaa..293bb74f2 100644 --- a/docs/features/style-props/StyleProps.mdx +++ b/docs/features/style-props/StyleProps.mdx @@ -43,11 +43,11 @@ Props like `border` and `paddingX` are also provided to help you save keystrokes ## TypeScript Intellisense -Inspired by [Styled System](https://styled-system.com/), Orbiter's style props are flexible and easy to discover with [TypeScript](https://www.typescriptlang.org/) intellisense. Style values intellisense will offer suggestions matching the values of the provided [theme](?path=/docs/theming--page) as well as native CSS values of the property. You won't have to guess or open external documentation to pick a value. +Inspired by [Styled System](https://styled-system.com/), Orbiter's style props are flexible and easy to discover with [TypeScript](https://www.typescriptlang.org/) intellisense. Style values intellisense will offer suggestions matching the values of the provided [theme](?path=/docs/theming--docs) as well as native CSS values of the property. You won't have to guess or open external documentation to pick a value. ## Scale values -To help achieve a consistent user interface, Orbiter style props are based on scales and values defined in a customizable [theme](?path=/docs/theming--page). +To help achieve a consistent user interface, Orbiter style props are based on scales and values defined in a customizable [theme](?path=/docs/theming--docs). <Canvas of={StylePropsStories.ScaleValues} /> @@ -84,7 +84,7 @@ You might wonder how will you use Orbiter style props on your HTML elements? Orbiter provides a set of HTML elements components already configured with Orbiter styled system. You should chose these components over native HTML elements. -[`<A>`](?path=/docs/html-anchor--example), [`<Address>`](?path=/docs/html-address--example), [`<Article>`](?path=/docs/html-article--page), [`<Aside>`](?path=/docs/html-aside--page), [`<Button>`](?path=/docs/html-button--example), [`<Div>`](?path=/docs/html-div--example), [`<Footer>`](?path=/docs/html-footer--page), [`<Header>`](?path=/docs/html-header--page), [`<Img>`](?path=/docs/html-img--example), [`<Input>`](?path=/docs/html-input--example), [`<List>`](?path=/docs/html-list--example), [`<Main>`](?path=/docs/html-main--page), [`<Nav>`](?path=/docs/html-nav--page), [`<Section>`](?path=/docs/html-section--page), [`<Span>`](?path=/docs/html-span--example), [`<Table>`](?path=/docs/html-table--example) +[`<A>`](?path=/docs/html-anchor--example), [`<Address>`](?path=/docs/html-address--example), [`<Article>`](?path=/docs/html-article--docs), [`<Aside>`](?path=/docs/html-aside--docs), [`<Button>`](?path=/docs/html-button--example), [`<Div>`](?path=/docs/html-div--example), [`<Footer>`](?path=/docs/html-footer--docs), [`<Header>`](?path=/docs/html-header--docs), [`<Img>`](?path=/docs/html-img--example), [`<Input>`](?path=/docs/html-input--example), [`<List>`](?path=/docs/html-list--example), [`<Main>`](?path=/docs/html-main--docs), [`<Nav>`](?path=/docs/html-nav--docs), [`<Section>`](?path=/docs/html-section--docs), [`<Span>`](?path=/docs/html-span--example), [`<Table>`](?path=/docs/html-table--example) For text elements, prefer a [`<Text>`](?path=/docs/text--size) or [`<Paragraph>`](?path=/docs/paragraph--size) component rather than `<Span>` or a `<Div>`. diff --git a/docs/features/tokens/Tokens.mdx b/docs/features/tokens/Tokens.mdx index d618a5557..bfb932303 100644 --- a/docs/features/tokens/Tokens.mdx +++ b/docs/features/tokens/Tokens.mdx @@ -28,7 +28,7 @@ Tokens are Orbiter's reusable values to provide a common language between develo ## Usage -Tokens can be used as [style props](/docs/style-props--page) values: +Tokens can be used as [style props](/docs/style-props--docs) values: <Source dark language="tsx" of={TokensStories.Usage} /> @@ -44,7 +44,7 @@ Or `CSS` variables: Those tokens are named for their use case, rather than their value. For example `danger` is named to indicate the appropriate background color for an error message background, as opposed to `amanita-400` which is less specific and could be used in a number of ways depending on the context. -This makes their intended use clear and intentional, and allows us to develop a scalable and consistent visual language while also being the building block of Orbit's [theming](/docs/theming--page). +This makes their intended use clear and intentional, and allows us to develop a scalable and consistent visual language while also being the building block of Orbit's [theming](/docs/theming--docs). ### Deprecation notice diff --git a/packages/components/src/accordion/docs/Accordion.mdx b/packages/components/src/accordion/docs/Accordion.mdx index 8ba1e3bf0..72a89870c 100644 --- a/packages/components/src/accordion/docs/Accordion.mdx +++ b/packages/components/src/accordion/docs/Accordion.mdx @@ -38,7 +38,7 @@ A default accordion. ### Icon -An accordion item can contain [icons](?path=/docs/icon-gallery--page). +An accordion item can contain [icons](?path=/docs/icon-gallery--docs). <Canvas of={AccordionStories.Icon} /> diff --git a/packages/components/src/autocomplete/docs/Autocomplete.mdx b/packages/components/src/autocomplete/docs/Autocomplete.mdx index 083310f5f..9cfe0952d 100644 --- a/packages/components/src/autocomplete/docs/Autocomplete.mdx +++ b/packages/components/src/autocomplete/docs/Autocomplete.mdx @@ -32,13 +32,13 @@ An autocomplete items can be group by sections. ### Item icon -An autocomplete item can have [icons](?path=/docs/icon-gallery--page). +An autocomplete item can have [icons](?path=/docs/icon-gallery--docs). <Canvas of={AutocompleteStories.ItemIcon} /> ### Item end icon -An autocomplete item can have *non standard* end [icons](?path=/docs/icon-gallery--page) can be provided to handle special cases like displaying a list of icons. However, think twice before adding *end* icons, *start* icons should be your go to. +An autocomplete item can have *non standard* end [icons](?path=/docs/icon-gallery--docs) can be provided to handle special cases like displaying a list of icons. However, think twice before adding *end* icons, *start* icons should be your go to. <Canvas of={AutocompleteStories.ItemEndIcon} /> @@ -48,7 +48,7 @@ An autocomplete item can have a description. <Canvas of={AutocompleteStories.ItemDescription} /> -A description can be paired with an [icon](?path=/docs/icon-gallery--page). +A description can be paired with an [icon](?path=/docs/icon-gallery--docs). <Canvas of={AutocompleteStories.ItemDescriptionIcon} /> diff --git a/packages/components/src/badge/docs/Badge.mdx b/packages/components/src/badge/docs/Badge.mdx index 1491983eb..3b7c6cccb 100644 --- a/packages/components/src/badge/docs/Badge.mdx +++ b/packages/components/src/badge/docs/Badge.mdx @@ -31,7 +31,7 @@ A badge can be rendered as a dot. A single digit is supported. ### Icon -A badge can be an [icon](?path=/docs/icon-gallery--page). +A badge can be an [icon](?path=/docs/icon-gallery--docs). <Canvas of={BadgeStories.Icon} /> diff --git a/packages/components/src/button/docs/Button.mdx b/packages/components/src/button/docs/Button.mdx index 7af06704d..422b58746 100644 --- a/packages/components/src/button/docs/Button.mdx +++ b/packages/components/src/button/docs/Button.mdx @@ -53,13 +53,13 @@ A default button. ### Icon -A button can contain [icons](?path=/docs/icon-gallery--page). +A button can contain [icons](?path=/docs/icon-gallery--docs). <Canvas of={ButtonStories.Icon} /> ### End icon -*Non standard* end [icons](?path=/docs/icon-gallery--page) can be provided to handle special cases. However, think twice before adding *end* icons, *start* icons should be your go to. +*Non standard* end [icons](?path=/docs/icon-gallery--docs) can be provided to handle special cases. However, think twice before adding *end* icons, *start* icons should be your go to. <Canvas of={ButtonStories.EndIcon} /> diff --git a/packages/components/src/checkbox/docs/Checkbox.mdx b/packages/components/src/checkbox/docs/Checkbox.mdx index a47176e00..39a59575b 100644 --- a/packages/components/src/checkbox/docs/Checkbox.mdx +++ b/packages/components/src/checkbox/docs/Checkbox.mdx @@ -50,7 +50,7 @@ A checkbox can be disabled. ### Icon -A checkbox can have [icons](?path=/docs/icon-gallery--page) after his label. +A checkbox can have [icons](?path=/docs/icon-gallery--docs) after his label. <Canvas of={CheckboxStories.Icon} /> diff --git a/packages/components/src/html/docs/address.mdx b/packages/components/src/html/docs/address.mdx index 9de3aa882..4b3ea1d9b 100644 --- a/packages/components/src/html/docs/address.mdx +++ b/packages/components/src/html/docs/address.mdx @@ -15,6 +15,6 @@ import * as AddressStories from "./address.stories.tsx"; ## Usage -An address component accepts all the [address HTML element attributes](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/address) and [Orbiter styled component props](?path=/docs/styling--page). +An address component accepts all the [address HTML element attributes](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/address) and [Orbiter styled component props](?path=/docs/styling--docs). <Canvas of={AddressStories.Example} /> diff --git a/packages/components/src/html/docs/anchor.mdx b/packages/components/src/html/docs/anchor.mdx index 8a7eb50b4..3c575caac 100644 --- a/packages/components/src/html/docs/anchor.mdx +++ b/packages/components/src/html/docs/anchor.mdx @@ -15,6 +15,6 @@ import * as AStories from "./anchor.stories.tsx"; ## Usage -An anchor component accepts all the [anchor HTML element attributes](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a) and [Orbiter styled component props](?path=/docs/styling--page). +An anchor component accepts all the [anchor HTML element attributes](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a) and [Orbiter styled component props](?path=/docs/styling--docs). <Canvas of={AStories.Example} /> diff --git a/packages/components/src/html/docs/article.mdx b/packages/components/src/html/docs/article.mdx index 6fa2ccf91..5746ab5ba 100644 --- a/packages/components/src/html/docs/article.mdx +++ b/packages/components/src/html/docs/article.mdx @@ -15,6 +15,6 @@ import * as ArticleStories from "./article.stories.tsx"; ## Usage -An article component accepts all the [article HTML element attributes](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/article) and [Orbiter styled component props](?path=/docs/styling--page). +An article component accepts all the [article HTML element attributes](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/article) and [Orbiter styled component props](?path=/docs/styling--docs). <Canvas of={ArticleStories.Example} /> diff --git a/packages/components/src/html/docs/aside.mdx b/packages/components/src/html/docs/aside.mdx index a3f9f5dd8..1abe6e32d 100644 --- a/packages/components/src/html/docs/aside.mdx +++ b/packages/components/src/html/docs/aside.mdx @@ -15,6 +15,6 @@ import * as AsideStories from "./aside.stories.tsx"; ## Usage -An aside component accepts all the [aside HTML element attributes](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/aside) and [Orbiter styled component props](?path=/docs/styling--page). +An aside component accepts all the [aside HTML element attributes](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/aside) and [Orbiter styled component props](?path=/docs/styling--docs). <Canvas of={AsideStories.Example} /> diff --git a/packages/components/src/html/docs/button.mdx b/packages/components/src/html/docs/button.mdx index 383227749..42bef3a9e 100644 --- a/packages/components/src/html/docs/button.mdx +++ b/packages/components/src/html/docs/button.mdx @@ -15,6 +15,6 @@ import * as ButtonStories from "./button.stories.tsx"; ## Usage -A button component accepts all the [button HTML element attributes](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/button) and [Orbiter styled component props](?path=/docs/styling--page). +A button component accepts all the [button HTML element attributes](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/button) and [Orbiter styled component props](?path=/docs/styling--docs). <Canvas of={ButtonStories.Example} /> diff --git a/packages/components/src/html/docs/div.mdx b/packages/components/src/html/docs/div.mdx index 7afd72f50..dd50d9498 100644 --- a/packages/components/src/html/docs/div.mdx +++ b/packages/components/src/html/docs/div.mdx @@ -15,6 +15,6 @@ import * as DivStories from "./div.stories.tsx"; ## Usage -A div component accepts all the [div HTML element attributes](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/div) and [Orbiter styled component props](?path=/docs/styling--page). +A div component accepts all the [div HTML element attributes](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/div) and [Orbiter styled component props](?path=/docs/styling--docs). <Canvas of={DivStories.Example} /> diff --git a/packages/components/src/html/docs/footer.mdx b/packages/components/src/html/docs/footer.mdx index 2929ff067..a52c97fea 100644 --- a/packages/components/src/html/docs/footer.mdx +++ b/packages/components/src/html/docs/footer.mdx @@ -15,6 +15,6 @@ import * as FooterStories from "./footer.stories.tsx"; ## Usage -A footer component accepts all the [footer HTML element attributes](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/footer) and [Orbiter styled component props](?path=/docs/styling--page). +A footer component accepts all the [footer HTML element attributes](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/footer) and [Orbiter styled component props](?path=/docs/styling--docs). <Canvas of={FooterStories.Example} /> diff --git a/packages/components/src/html/docs/header.mdx b/packages/components/src/html/docs/header.mdx index 169d94d49..b374c9ca8 100644 --- a/packages/components/src/html/docs/header.mdx +++ b/packages/components/src/html/docs/header.mdx @@ -15,6 +15,6 @@ import * as HeaderStories from "./header.stories.tsx"; ## Usage -An header component accepts all the [header HTML element attributes](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/header) and [Orbiter styled component props](?path=/docs/styling--page). +An header component accepts all the [header HTML element attributes](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/header) and [Orbiter styled component props](?path=/docs/styling--docs). <Canvas of={HeaderStories.Example} /> diff --git a/packages/components/src/html/docs/img.mdx b/packages/components/src/html/docs/img.mdx index 074d8b2b9..913ed4fb7 100644 --- a/packages/components/src/html/docs/img.mdx +++ b/packages/components/src/html/docs/img.mdx @@ -15,6 +15,6 @@ import * as ImgStories from "./img.stories.tsx"; ## Usage -An img component accepts all the [HTML element attributes](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/img) and [Orbiter styled component props](?path=/docs/styling--page). +An img component accepts all the [HTML element attributes](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/img) and [Orbiter styled component props](?path=/docs/styling--docs). <Canvas of={ImgStories.Example} /> diff --git a/packages/components/src/html/docs/input.mdx b/packages/components/src/html/docs/input.mdx index 4c174cd34..3edfe6b00 100644 --- a/packages/components/src/html/docs/input.mdx +++ b/packages/components/src/html/docs/input.mdx @@ -15,6 +15,6 @@ import * as InputStories from "./input.stories.tsx"; ## Usage -An input component accepts all the [input HTML element attributes](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input) and [Orbiter styled component props](?path=/docs/styling--page). +An input component accepts all the [input HTML element attributes](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input) and [Orbiter styled component props](?path=/docs/styling--docs). <Canvas of={InputStories.Example} /> diff --git a/packages/components/src/html/docs/list.mdx b/packages/components/src/html/docs/list.mdx index 59ded0f1c..f65f57cbe 100644 --- a/packages/components/src/html/docs/list.mdx +++ b/packages/components/src/html/docs/list.mdx @@ -15,6 +15,6 @@ import * as ListStories from "./list.stories.tsx"; ## Usage -Accepts all the HTML attributes of [ul](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/ul), [ol](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/ol) and [li](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/li) elements with the addition of [Orbiter styled component props](?path=/docs/styling--page). +Accepts all the HTML attributes of [ul](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/ul), [ol](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/ol) and [li](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/li) elements with the addition of [Orbiter styled component props](?path=/docs/styling--docs). <Canvas of={ListStories.Example} /> diff --git a/packages/components/src/html/docs/main.mdx b/packages/components/src/html/docs/main.mdx index 0e3a6ce74..2e21ae57c 100644 --- a/packages/components/src/html/docs/main.mdx +++ b/packages/components/src/html/docs/main.mdx @@ -15,6 +15,6 @@ import * as MainStories from "./main.stories.tsx"; ## Usage -A main component accepts all the [main HTML element attributes](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/main) and [Orbiter styled component props](?path=/docs/styling--page). +A main component accepts all the [main HTML element attributes](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/main) and [Orbiter styled component props](?path=/docs/styling--docs). <Canvas of={MainStories.Example} /> diff --git a/packages/components/src/html/docs/nav.mdx b/packages/components/src/html/docs/nav.mdx index bbdf30d8c..9466464af 100644 --- a/packages/components/src/html/docs/nav.mdx +++ b/packages/components/src/html/docs/nav.mdx @@ -15,6 +15,6 @@ import * as NavStories from "./nav.stories.tsx"; ## Usage -A nav component accepts all the [nav HTML element attributes](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/nav) and [Orbiter styled component props](?path=/docs/styling--page). +A nav component accepts all the [nav HTML element attributes](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/nav) and [Orbiter styled component props](?path=/docs/styling--docs). <Canvas of={NavStories.Example} /> diff --git a/packages/components/src/html/docs/section.mdx b/packages/components/src/html/docs/section.mdx index 7ec2c299a..161037742 100644 --- a/packages/components/src/html/docs/section.mdx +++ b/packages/components/src/html/docs/section.mdx @@ -15,6 +15,6 @@ import * as SectionStories from "./section.stories.tsx"; ## Usage -A section component accepts all the [section HTML element attributes](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/section) and [Orbiter styled component props](?path=/docs/styling--page). +A section component accepts all the [section HTML element attributes](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/section) and [Orbiter styled component props](?path=/docs/styling--docs). <Canvas of={SectionStories.Example} /> diff --git a/packages/components/src/html/docs/span.mdx b/packages/components/src/html/docs/span.mdx index cee23fd80..d5e45d5a4 100644 --- a/packages/components/src/html/docs/span.mdx +++ b/packages/components/src/html/docs/span.mdx @@ -15,6 +15,6 @@ import * as SpanStories from "./span.stories.tsx"; ## Usage -A span component accepts all the [HTML element attributes](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/span) and [Orbiter styled component props](?path=/docs/styling--page). +A span component accepts all the [HTML element attributes](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/span) and [Orbiter styled component props](?path=/docs/styling--docs). <Canvas of={SpanStories.Example} /> diff --git a/packages/components/src/html/docs/table.mdx b/packages/components/src/html/docs/table.mdx index f9baac501..08eaca09d 100644 --- a/packages/components/src/html/docs/table.mdx +++ b/packages/components/src/html/docs/table.mdx @@ -15,6 +15,6 @@ import * as TableStories from "./table.stories.tsx"; ## Usage -A table component accepts all the [table HTML element attributes](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/table) and [Orbiter styled component props](?path=/docs/styling--page). +A table component accepts all the [table HTML element attributes](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/table) and [Orbiter styled component props](?path=/docs/styling--docs). <Canvas of={TableStories.Example} /> diff --git a/packages/components/src/html/src/html.tsx b/packages/components/src/html/src/html.tsx index 84dee9e74..628f4b041 100644 --- a/packages/components/src/html/src/html.tsx +++ b/packages/components/src/html/src/html.tsx @@ -6,88 +6,88 @@ import { isNil } from "../../shared"; // Sectioning & Content sectioning /** - * A specialized [box](https://wl-orbiter-website.netlify.app/?path=/docs/box--page) component for HTML address element. + * A specialized [box](https://wl-orbiter-website.netlify.app/?path=/docs/box--docs) component for HTML address element. * * [Documentation](https://wl-orbiter-website.netlify.app/?path=/docs/html-address--example) */ export const Address = htmlElement("html-address", "address"); /** - * A specialized [box](https://wl-orbiter-website.netlify.app/?path=/docs/box--page) component for HTML article element. + * A specialized [box](https://wl-orbiter-website.netlify.app/?path=/docs/box--docs) component for HTML article element. * - * [Documentation](https://wl-orbiter-website.netlify.app/?path=/docs/html-article--page) + * [Documentation](https://wl-orbiter-website.netlify.app/?path=/docs/html-article--docs) */ export const Article = htmlElement("html-article", "article"); /** - * A specialized [box](https://wl-orbiter-website.netlify.app/?path=/docs/box--page) component for HTML aside element. + * A specialized [box](https://wl-orbiter-website.netlify.app/?path=/docs/box--docs) component for HTML aside element. * - * [Documentation](https://wl-orbiter-website.netlify.app/?path=/docs/html-aside--page) + * [Documentation](https://wl-orbiter-website.netlify.app/?path=/docs/html-aside--docs) */ export const Aside = htmlElement("html-aside", "aside"); /** - * A specialized [box](https://wl-orbiter-website.netlify.app/?path=/docs/box--page) component for HTML footer element. + * A specialized [box](https://wl-orbiter-website.netlify.app/?path=/docs/box--docs) component for HTML footer element. * - * [Documentation](https://wl-orbiter-website.netlify.app/?path=/docs/html-footer--page) + * [Documentation](https://wl-orbiter-website.netlify.app/?path=/docs/html-footer--docs) */ export const HtmlFooter = htmlElement("html-footer", "footer"); /** - * A specialized [box](https://wl-orbiter-website.netlify.app/?path=/docs/box--page) component for HTML h1 element. + * A specialized [box](https://wl-orbiter-website.netlify.app/?path=/docs/box--docs) component for HTML h1 element. */ export const HtmlH1 = htmlElement("html-h1", "h1"); /** - * A specialized [box](https://wl-orbiter-website.netlify.app/?path=/docs/box--page) component for HTML h2 element. + * A specialized [box](https://wl-orbiter-website.netlify.app/?path=/docs/box--docs) component for HTML h2 element. */ export const HtmlH2 = htmlElement("html-h2", "h2"); /** - * A specialized [box](https://wl-orbiter-website.netlify.app/?path=/docs/box--page) component for HTML h3 element. + * A specialized [box](https://wl-orbiter-website.netlify.app/?path=/docs/box--docs) component for HTML h3 element. */ export const HtmlH3 = htmlElement("html-h3", "h3"); /** - * A specialized [box](https://wl-orbiter-website.netlify.app/?path=/docs/box--page) component for HTML h4 element. + * A specialized [box](https://wl-orbiter-website.netlify.app/?path=/docs/box--docs) component for HTML h4 element. */ export const HtmlH4 = htmlElement("html-h4", "h4"); /** - * A specialized [box](https://wl-orbiter-website.netlify.app/?path=/docs/box--page) component for HTML h5 element. + * A specialized [box](https://wl-orbiter-website.netlify.app/?path=/docs/box--docs) component for HTML h5 element. */ export const HtmlH5 = htmlElement("html-h5", "h5"); /** - * A specialized [box](https://wl-orbiter-website.netlify.app/?path=/docs/box--page) component for HTML h6 element. + * A specialized [box](https://wl-orbiter-website.netlify.app/?path=/docs/box--docs) component for HTML h6 element. */ export const HtmlH6 = htmlElement("html-h6", "h6"); /** - * A specialized [box](https://wl-orbiter-website.netlify.app/?path=/docs/box--page) component for HTML header element. + * A specialized [box](https://wl-orbiter-website.netlify.app/?path=/docs/box--docs) component for HTML header element. * - * [Documentation](https://wl-orbiter-website.netlify.app/?path=/docs/html-header--page) + * [Documentation](https://wl-orbiter-website.netlify.app/?path=/docs/html-header--docs) */ export const HtmlHeader = htmlElement("html-header", "header"); /** - * A specialized [box](https://wl-orbiter-website.netlify.app/?path=/docs/box--page) component for HTML main element. + * A specialized [box](https://wl-orbiter-website.netlify.app/?path=/docs/box--docs) component for HTML main element. * - * [Documentation](https://wl-orbiter-website.netlify.app/?path=/docs/html-main--page) + * [Documentation](https://wl-orbiter-website.netlify.app/?path=/docs/html-main--docs) */ export const Main = htmlElement("html-main", "main"); /** - * A specialized [box](https://wl-orbiter-website.netlify.app/?path=/docs/box--page) component for HTML nav element. + * A specialized [box](https://wl-orbiter-website.netlify.app/?path=/docs/box--docs) component for HTML nav element. * - * [Documentation](https://wl-orbiter-website.netlify.app/?path=/docs/html-nav--page) + * [Documentation](https://wl-orbiter-website.netlify.app/?path=/docs/html-nav--docs) */ export const Nav = htmlElement("html-nav", "nav"); /** - * A specialized [box](https://wl-orbiter-website.netlify.app/?path=/docs/box--page) component for HTML section element. + * A specialized [box](https://wl-orbiter-website.netlify.app/?path=/docs/box--docs) component for HTML section element. * - * [Documentation](https://wl-orbiter-website.netlify.app/?path=/docs/html-section--page) + * [Documentation](https://wl-orbiter-website.netlify.app/?path=/docs/html-section--docs) */ export const HtmlSection = htmlElement("html-section", "section"); @@ -109,29 +109,29 @@ export type HtmlSectionProps = ComponentProps<typeof HtmlSection>; // Text content /** - * A specialized [box](https://wl-orbiter-website.netlify.app/?path=/docs/box--page) component for HTML div element. + * A specialized [box](https://wl-orbiter-website.netlify.app/?path=/docs/box--docs) component for HTML div element. * * [Documentation](https://wl-orbiter-website.netlify.app/?path=/docs/html-div--example) */ export const Div = htmlElement("html-div", "div"); /** - * A specialized [box](https://wl-orbiter-website.netlify.app/?path=/docs/box--page) component for HTML p element. + * A specialized [box](https://wl-orbiter-website.netlify.app/?path=/docs/box--docs) component for HTML p element. */ export const HtmlParagraph = htmlElement("html-p", "p"); /** - * A specialized [box](https://wl-orbiter-website.netlify.app/?path=/docs/box--page) component for HTML ol element. + * A specialized [box](https://wl-orbiter-website.netlify.app/?path=/docs/box--docs) component for HTML ol element. */ export const OL = htmlElement("html-ol", "ol"); /** - * A specialized [box](https://wl-orbiter-website.netlify.app/?path=/docs/box--page) component for HTML ul element. + * A specialized [box](https://wl-orbiter-website.netlify.app/?path=/docs/box--docs) component for HTML ul element. */ export const UL = htmlElement("html-ul", "ul"); /** - * A specialized [box](https://wl-orbiter-website.netlify.app/?path=/docs/box--page) component for HTML li element. + * A specialized [box](https://wl-orbiter-website.netlify.app/?path=/docs/box--docs) component for HTML li element. */ export const LI = htmlElement("html-li", "li"); @@ -144,14 +144,14 @@ export type LIProps = ComponentProps<typeof LI>; // Inline text semantics /** - * A specialized [box](https://wl-orbiter-website.netlify.app/?path=/docs/box--page) component for HTML anchor element. + * A specialized [box](https://wl-orbiter-website.netlify.app/?path=/docs/box--docs) component for HTML anchor element. * * [Documentation](https://wl-orbiter-website.netlify.app/?path=/docs/html-anchor--example) */ export const A = htmlElement("html-a", "a"); /** - * A specialized [box](https://wl-orbiter-website.netlify.app/?path=/docs/box--page) component for HTML span element. + * A specialized [box](https://wl-orbiter-website.netlify.app/?path=/docs/box--docs) component for HTML span element. * * [Documentation](https://wl-orbiter-website.netlify.app/?path=/docs/html-span--example) */ @@ -163,7 +163,7 @@ export type SpanProps = ComponentProps<typeof Span>; // Image and multimedia /** - * A specialized [box](https://wl-orbiter-website.netlify.app/?path=/docs/box--page) component for HTML img element. + * A specialized [box](https://wl-orbiter-website.netlify.app/?path=/docs/box--docs) component for HTML img element. * * [Documentation](https://wl-orbiter-website.netlify.app/?path=/docs/html-img--example) */ @@ -174,49 +174,49 @@ export type ImgProps = ComponentProps<typeof Img>; // Table content /** - * A specialized [box](https://wl-orbiter-website.netlify.app/?path=/docs/box--page) component for HTML table element. + * A specialized [box](https://wl-orbiter-website.netlify.app/?path=/docs/box--docs) component for HTML table element. * * [Documentation](https://wl-orbiter-website.netlify.app/?path=/docs/html-span--example) */ export const Table = htmlElement("html-table", "table"); /** - * A specialized [box](https://wl-orbiter-website.netlify.app/?path=/docs/box--page) component for HTML thead element. + * A specialized [box](https://wl-orbiter-website.netlify.app/?path=/docs/box--docs) component for HTML thead element. * * [Documentation](https://wl-orbiter-website.netlify.app/?path=/docs/html-table--example) */ export const THead = htmlElement("html-thead", "thead"); /** - * A specialized [box](https://wl-orbiter-website.netlify.app/?path=/docs/box--page) component for HTML tbody element. + * A specialized [box](https://wl-orbiter-website.netlify.app/?path=/docs/box--docs) component for HTML tbody element. * * [Documentation](https://wl-orbiter-website.netlify.app/?path=/docs/html-table--example) */ export const TBody = htmlElement("html-tbody", "tbody"); /** - * A specialized [box](https://wl-orbiter-website.netlify.app/?path=/docs/box--page) component for HTML tfoot element. + * A specialized [box](https://wl-orbiter-website.netlify.app/?path=/docs/box--docs) component for HTML tfoot element. * * [Documentation](https://wl-orbiter-website.netlify.app/?path=/docs/html-table--example) */ export const TFoot = htmlElement("html-tfoot", "tfoot"); /** - * A specialized [box](https://wl-orbiter-website.netlify.app/?path=/docs/box--page) component for HTML th element. + * A specialized [box](https://wl-orbiter-website.netlify.app/?path=/docs/box--docs) component for HTML th element. * * [Documentation](https://wl-orbiter-website.netlify.app/?path=/docs/html-table--example) */ export const TH = htmlElement("html-th", "th"); /** - * A specialized [box](https://wl-orbiter-website.netlify.app/?path=/docs/box--page) component for HTML tr element. + * A specialized [box](https://wl-orbiter-website.netlify.app/?path=/docs/box--docs) component for HTML tr element. * * [Documentation](https://wl-orbiter-website.netlify.app/?path=/docs/html-table--example) */ export const TR = htmlElement("html-tr", "tr"); /** - * A specialized [box](https://wl-orbiter-website.netlify.app/?path=/docs/box--page) component for HTML td element. + * A specialized [box](https://wl-orbiter-website.netlify.app/?path=/docs/box--docs) component for HTML td element. * * [Documentation](https://wl-orbiter-website.netlify.app/?path=/docs/html-table--example) */ @@ -232,31 +232,31 @@ export type TDProps = ComponentProps<typeof TD>; // Forms /** - * A specialized [box](https://wl-orbiter-website.netlify.app/?path=/docs/box--page) component for HTML button element. + * A specialized [box](https://wl-orbiter-website.netlify.app/?path=/docs/box--docs) component for HTML button element. * * [Documentation](https://wl-orbiter-website.netlify.app/?path=/docs/html-button--example) */ export const HtmlButton = htmlElement("html-button", "button"); /** - * A specialized [box](https://wl-orbiter-website.netlify.app/?path=/docs/box--page) component for HTML form element. + * A specialized [box](https://wl-orbiter-website.netlify.app/?path=/docs/box--docs) component for HTML form element. */ export const HtmlForm = htmlElement("html-form", "form"); /** - * A specialized [box](https://wl-orbiter-website.netlify.app/?path=/docs/box--page) component for HTML input element. + * A specialized [box](https://wl-orbiter-website.netlify.app/?path=/docs/box--docs) component for HTML input element. * * [Documentation](https://wl-orbiter-website.netlify.app/?path=/docs/html-input--example) */ export const HtmlInput = htmlElement("html-input", "input"); /** - * A specialized [box](https://wl-orbiter-website.netlify.app/?path=/docs/box--page) component for HTML label element. + * A specialized [box](https://wl-orbiter-website.netlify.app/?path=/docs/box--docs) component for HTML label element. */ export const HtmlLabel = htmlElement("html-label", "label"); /** - * A specialized [box](https://wl-orbiter-website.netlify.app/?path=/docs/box--page) component for HTML textarea element. + * A specialized [box](https://wl-orbiter-website.netlify.app/?path=/docs/box--docs) component for HTML textarea element. */ export const HtmlTextArea = htmlElement("html-textarea", "textarea"); diff --git a/packages/components/src/listbox/docs/Listbox.mdx b/packages/components/src/listbox/docs/Listbox.mdx index 2a7b7161b..36deceee6 100644 --- a/packages/components/src/listbox/docs/Listbox.mdx +++ b/packages/components/src/listbox/docs/Listbox.mdx @@ -44,13 +44,13 @@ A listbox items can be group by sections. ### Item icon -A listbox item can have [icons](?path=/docs/icon-gallery--page). +A listbox item can have [icons](?path=/docs/icon-gallery--docs). <Canvas of={ListboxStories.ItemIcon} /> ### Item end icon -A listbox item can have *non standard* end [icons](?path=/docs/icon-gallery--page) can be provided to handle special cases like displaying a list of icons. +A listbox item can have *non standard* end [icons](?path=/docs/icon-gallery--docs) can be provided to handle special cases like displaying a list of icons. However, think twice before adding *end* icons, *start* icons should be your go to. @@ -62,7 +62,7 @@ A listbox item can have a **single line** description. <Canvas of={ListboxStories.ItemDescription} /> -A description can be paired with an [icon](?path=/docs/icon-gallery--page). +A description can be paired with an [icon](?path=/docs/icon-gallery--docs). <Canvas of={ListboxStories.ItemDescriptionIcon} /> diff --git a/packages/components/src/lozenge/docs/Lozenge.mdx b/packages/components/src/lozenge/docs/Lozenge.mdx index f483e9ac5..e0733185b 100644 --- a/packages/components/src/lozenge/docs/Lozenge.mdx +++ b/packages/components/src/lozenge/docs/Lozenge.mdx @@ -46,7 +46,7 @@ This is the lozenge that should be used in most situations. ### Icon -An [icon](?path=/docs/icon-gallery--page) is used to make it easier for the user to understand the intent of the Lozenge. It is strongly recommended to use a Minor Icon in this particular use case. +An [icon](?path=/docs/icon-gallery--docs) is used to make it easier for the user to understand the intent of the Lozenge. It is strongly recommended to use a Minor Icon in this particular use case. <Canvas of={LozengeStories.IconStory} /> diff --git a/packages/components/src/menu/docs/Menu.mdx b/packages/components/src/menu/docs/Menu.mdx index 0d40df7d1..71a2b5e43 100644 --- a/packages/components/src/menu/docs/Menu.mdx +++ b/packages/components/src/menu/docs/Menu.mdx @@ -42,13 +42,13 @@ A menu items can be separated by dividers. ### Item icon -A menu item can have [icons](?path=/docs/icon-gallery--page). +A menu item can have [icons](?path=/docs/icon-gallery--docs). <Canvas of={MenuStories.ItemIcon} /> ### Item end icon -A select item can have *non standard* end [icons](?path=/docs/icon-gallery--page) can be provided to handle special cases like displaying a list of icons. However, think twice before adding *end* icons, *start* icons should be your go-to. +A select item can have *non standard* end [icons](?path=/docs/icon-gallery--docs) can be provided to handle special cases like displaying a list of icons. However, think twice before adding *end* icons, *start* icons should be your go-to. <Canvas of={MenuStories.ItemEndIcon} /> @@ -58,7 +58,7 @@ A menu item can have a **single line** description. <Canvas of={MenuStories.ItemDescription} /> -A description can be paired with an [icon](?path=/docs/icon-gallery--page). +A description can be paired with an [icon](?path=/docs/icon-gallery--docs). <Canvas of={MenuStories.ItemDescriptionIcon} /> diff --git a/packages/components/src/modal/docs/Modal.mdx b/packages/components/src/modal/docs/Modal.mdx index 9e5c9e77e..aa0be8a51 100644 --- a/packages/components/src/modal/docs/Modal.mdx +++ b/packages/components/src/modal/docs/Modal.mdx @@ -114,7 +114,7 @@ The `open` state can be handled in controlled mode. You don't have to use a `ModalTrigger` component if it doesn't fit your needs. A modal component can be used on it's own with any custom trigger which follow a few rules: - The custom trigger provide a valid `<DialogTriggerContext>` with a `close` function. -- The custom trigger is responsible of show/hide the modal. This is usually done in combination with an [overlay](?path=/docs/overlay--page) component. +- The custom trigger is responsible of show/hide the modal. This is usually done in combination with an [overlay](?path=/docs/overlay--docs) component. <Canvas of={ModalStories.CustomTrigger} /> diff --git a/packages/components/src/number-input/docs/NumberInput.mdx b/packages/components/src/number-input/docs/NumberInput.mdx index 48c09573b..83807fb7a 100644 --- a/packages/components/src/number-input/docs/NumberInput.mdx +++ b/packages/components/src/number-input/docs/NumberInput.mdx @@ -37,7 +37,7 @@ A number input value can be forced between min & max boundaries. ### Icon -A number input can have an [icon](?path=/docs/icon-gallery--page). +A number input can have an [icon](?path=/docs/icon-gallery--docs). <Canvas of={NumberInputStories.Icon} /> diff --git a/packages/components/src/radio/docs/Radio.mdx b/packages/components/src/radio/docs/Radio.mdx index dfb2e44a4..44f661f68 100644 --- a/packages/components/src/radio/docs/Radio.mdx +++ b/packages/components/src/radio/docs/Radio.mdx @@ -42,7 +42,7 @@ Or the whole group. ### Icon -A radio can have [icons](?path=/docs/icon-gallery--page) after its text. +A radio can have [icons](?path=/docs/icon-gallery--docs) after its text. <Canvas of={RadioGroupStories.Icon} /> diff --git a/packages/components/src/select/docs/Select.mdx b/packages/components/src/select/docs/Select.mdx index 1aebbc3d3..5a89412d6 100644 --- a/packages/components/src/select/docs/Select.mdx +++ b/packages/components/src/select/docs/Select.mdx @@ -39,13 +39,13 @@ A select items can be group by sections. ### Item icon -A select item can have [icons](?path=/docs/icon-gallery--page). +A select item can have [icons](?path=/docs/icon-gallery--docs). <Canvas of={SelectStories.ItemIcon} /> ### Item end icon -A select item can have *non standard* end [icons](?path=/docs/icon-gallery--page) for special cases like displaying a list of icons. However, think twice before adding *end* icons, as *start* icons should be your go-to. +A select item can have *non standard* end [icons](?path=/docs/icon-gallery--docs) for special cases like displaying a list of icons. However, think twice before adding *end* icons, as *start* icons should be your go-to. <Canvas of={SelectStories.ItemEndIcon} /> @@ -55,7 +55,7 @@ A select item can have a description. <Canvas of={SelectStories.ItemDescription} /> -A description can be paired with an [icon](?path=/docs/icon-gallery--page). +A description can be paired with an [icon](?path=/docs/icon-gallery--docs). <Canvas of={SelectStories.ItemDescriptionIcon} /> diff --git a/packages/components/src/styling/docs/ThemeProvider.mdx b/packages/components/src/styling/docs/ThemeProvider.mdx index 0b2716699..3b7e5a124 100644 --- a/packages/components/src/styling/docs/ThemeProvider.mdx +++ b/packages/components/src/styling/docs/ThemeProvider.mdx @@ -16,7 +16,7 @@ import * as ThemeProviderStories from "./ThemeProvider.stories.tsx"; ## Usage -Orbiter components rely on the `ThemeProvider` to define the [color scheme](?path=/docs/color-schemes--page) they need to render accurately. We recommended you declare a theme provider at the root of your application but if you prefer, you can declare them as needed instead. +Orbiter components rely on the `ThemeProvider` to define the [color scheme](?path=/docs/color-schemes--docs) they need to render accurately. We recommended you declare a theme provider at the root of your application but if you prefer, you can declare them as needed instead. <Canvas of={ThemeProviderStories.Example} /> diff --git a/packages/components/src/styling/src/theming/ThemeProvider.tsx b/packages/components/src/styling/src/theming/ThemeProvider.tsx index a29ae0e19..c5e98277c 100644 --- a/packages/components/src/styling/src/theming/ThemeProvider.tsx +++ b/packages/components/src/styling/src/theming/ThemeProvider.tsx @@ -80,7 +80,7 @@ InnerThemeProvider.defaultElement = DefaultElement; /** * Container used to define the theme and color scheme to use. * - * [Documentation](https://wl-orbiter-website.netlify.app/?path=/docs/theme-provider--page) + * [Documentation](https://wl-orbiter-website.netlify.app/?path=/docs/theme-provider--docs) */ export const ThemeProvider = forwardRef<any, OmitInternalProps<InnerThemeProviderProps>>((props, ref) => ( <InnerThemeProvider {...props} forwardedRef={ref} /> diff --git a/packages/components/src/switch/docs/Switch.mdx b/packages/components/src/switch/docs/Switch.mdx index 731b7a513..4b123a7b4 100644 --- a/packages/components/src/switch/docs/Switch.mdx +++ b/packages/components/src/switch/docs/Switch.mdx @@ -64,7 +64,7 @@ A switch can be disabled. ### Icon -A switch can have [icons](?path=/docs/icon-gallery--page) after his text. +A switch can have [icons](?path=/docs/icon-gallery--docs) after his text. <Canvas of={SwitchStories.IconStory} /> diff --git a/packages/components/src/tabs/docs/Tabs.mdx b/packages/components/src/tabs/docs/Tabs.mdx index e9bd328aa..20ec7685d 100644 --- a/packages/components/src/tabs/docs/Tabs.mdx +++ b/packages/components/src/tabs/docs/Tabs.mdx @@ -1,4 +1,4 @@ -import { ArgTypes, Meta, Canvas } from "@storybook/addon-docs"; +import { ArgTypes, Meta, Canvas } from "@storybook/blocks"; import { ComponentInfo, Tagline } from "@stories/components"; import { InnerContent, InnerHeader } from "@components/placeholders"; import { InnerItem } from "@components/collection"; @@ -36,7 +36,7 @@ A default tab. ### Icon -A tab can contain [icons](?path=/docs/icon-gallery--page). +A tab can contain [icons](?path=/docs/icon-gallery--docs). <Canvas of={TabStories.Icon} /> diff --git a/packages/components/src/tag/docs/Tag.mdx b/packages/components/src/tag/docs/Tag.mdx index b6f295530..66723a9e0 100644 --- a/packages/components/src/tag/docs/Tag.mdx +++ b/packages/components/src/tag/docs/Tag.mdx @@ -53,13 +53,13 @@ A tag can contain [avatars](?path=/docs/avatar--default-story). An avatar is use ### Icon -A tag can contain [icons](?path=/docs/icon-gallery--page). An icon is used when it can make it easier for the user to understand the meaning. +A tag can contain [icons](?path=/docs/icon-gallery--docs). An icon is used when it can make it easier for the user to understand the meaning. <Canvas of={TagStories.Icon} /> ### End icon -*Non standard* end [icons](?path=/docs/icon-gallery--page) can be provided *only if* you have to render a [list of icons](?path=/docs/icon--default-story#icon-list). +*Non standard* end [icons](?path=/docs/icon-gallery--docs) can be provided *only if* you have to render a [list of icons](?path=/docs/icon--default-story#icon-list). <Canvas of={TagStories.EndIcon} /> diff --git a/packages/components/src/text-input/docs/TextInput.mdx b/packages/components/src/text-input/docs/TextInput.mdx index f541fa1db..88dcfce91 100644 --- a/packages/components/src/text-input/docs/TextInput.mdx +++ b/packages/components/src/text-input/docs/TextInput.mdx @@ -31,7 +31,7 @@ A text input can have a value. ### Icon -A text input can contain an [icon](?path=/docs/icon-gallery--page). +A text input can contain an [icon](?path=/docs/icon-gallery--docs). <Canvas of={TextInputStories.IconStory} /> diff --git a/packages/components/src/typography/docs/Text.mdx b/packages/components/src/typography/docs/Text.mdx index 5daa125e6..a6cfcbc46 100644 --- a/packages/components/src/typography/docs/Text.mdx +++ b/packages/components/src/typography/docs/Text.mdx @@ -21,7 +21,7 @@ import * as TextStories from "./Text.stories.tsx"; ### Size -You can alter the size of the text by specifying a `size` prop. The available sizes match Orbiter typography type scale (a type scale is a set of [font-size](?path=/docs/tokens--page#font-sizes) and [line-height](?path=/docs/tokens--page#line-heights) pairs). +You can alter the size of the text by specifying a `size` prop. The available sizes match Orbiter typography type scale (a type scale is a set of [font-size](?path=/docs/tokens--docs#font-sizes) and [line-height](?path=/docs/tokens--docs#line-heights) pairs). <Canvas of={TextStories.Size} /> From a1da196dcbe750671ec00a35bcc2ed554e9717da Mon Sep 17 00:00:00 2001 From: Alexandre Asselin <alexandre.asselin@gsoft.com> Date: Thu, 7 Nov 2024 15:41:46 -0500 Subject: [PATCH 86/95] fix select --- packages/components/src/select/docs/Select.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/components/src/select/docs/Select.mdx b/packages/components/src/select/docs/Select.mdx index c35311daa..6e6a934e6 100644 --- a/packages/components/src/select/docs/Select.mdx +++ b/packages/components/src/select/docs/Select.mdx @@ -1,7 +1,7 @@ import { ArgTypes, Meta, Canvas } from "@storybook/addon-docs"; import { InnerHiddenSelect, InnerSelect} from "@components/select/index.ts"; import { InnerItem, InnerSection } from "@components/collection/index.ts"; -import { ComponentInfo, Tagline } from "@stories/components/index.ts"; +import { ComponentInfo, Tagline } from "@stories/components"; import * as SelectStories from "./Select.stories.tsx"; From 90cf109a383b23f83c89f4e46ed58644362aaf40 Mon Sep 17 00:00:00 2001 From: Alexandre Asselin <alexandre.asselin@gsoft.com> Date: Thu, 7 Nov 2024 15:43:47 -0500 Subject: [PATCH 87/95] add exports --- packages/bundle/package.json | 8 ++++++++ packages/components/package.json | 8 ++++++++ packages/css/package.json | 3 +++ 3 files changed, 19 insertions(+) diff --git a/packages/bundle/package.json b/packages/bundle/package.json index ee9592cde..7989cb61b 100644 --- a/packages/bundle/package.json +++ b/packages/bundle/package.json @@ -13,6 +13,14 @@ "main": "dist/index.js", "types": "dist/index.d.ts", "style": "dist/index.css", + "exports": { + ".": { + "import": "./dist/index.js", + "types": "./dist/index.d.ts", + "default": "./dist/index.js" + }, + "./index.css": "./dist/index.css" + }, "files": [ "/dist", "!/dist/**/docs/*", diff --git a/packages/components/package.json b/packages/components/package.json index 8add73ca6..573e4d6bb 100644 --- a/packages/components/package.json +++ b/packages/components/package.json @@ -13,6 +13,14 @@ "main": "dist/index.js", "types": "dist/index.d.ts", "style": "dist/index.css", + "exports": { + ".": { + "import": "./dist/index.js", + "types": "./dist/index.d.ts", + "default": "./dist/index.js" + }, + "./index.css": "./dist/index.css" + }, "files": [ "/dist", "!/dist/**/docs/*", diff --git a/packages/css/package.json b/packages/css/package.json index 50cf922d1..0462a6e6a 100644 --- a/packages/css/package.json +++ b/packages/css/package.json @@ -12,6 +12,9 @@ "license": "Apache-2.0", "main": "src/index.css", "style": "src/index.css", + "exports": { + "./index.css": "./dist/index.css" + }, "dependencies": { "@hopper-ui/tokens": "^4.2.0" }, From 48324db3fb5b2d119672665205267d2743aa4600 Mon Sep 17 00:00:00 2001 From: Alexandre Asselin <alexandre.asselin@gsoft.com> Date: Thu, 7 Nov 2024 16:11:06 -0500 Subject: [PATCH 88/95] fix build --- package.json | 4 +- packages/bundle/package.json | 6 +- packages/bundle/tsup.build.ts | 5 + packages/components/package.json | 6 +- packages/components/tsup.build.ts | 5 + packages/css/package.json | 2 +- pnpm-lock.yaml | 419 ++++++++++++++++++++++++++++++ tsconfig.build.json | 3 + tsconfig.json | 1 + 9 files changed, 441 insertions(+), 10 deletions(-) create mode 100644 packages/bundle/tsup.build.ts create mode 100644 packages/components/tsup.build.ts diff --git a/package.json b/package.json index 18dd7068e..89095f326 100644 --- a/package.json +++ b/package.json @@ -13,7 +13,7 @@ "start-sb-chroma": "cross-env STORYBOOK_IS_CHROMATIC=true pnpm start:sb", "start-sb-docs": "cross-env STORYBOOK_IS_DOCS_SITE=true storybook dev -p 9010 --docs", "start-sb-no-chroma": "cross-env STORYBOOK_INCLUDE_CHROMATIC=false pnpm start:sb", - "build": "pnpm -r run build", + "build": "cross-env NODE_OPTIONS=--max-old-space-size=8192 pnpm -r build", "build-storybook": "pnpm build-sb-chroma", "build-sb": "cross-env NODE_OPTIONS=--max-old-space-size=8192 storybook build -o storybook-static/sb", "build-sb-chroma": "cross-env STORYBOOK_IS_CHROMATIC=true NODE_OPTIONS=--max-old-space-size=8192 storybook build -o storybook-static/chromatic", @@ -79,6 +79,7 @@ "@workleap/eslint-plugin": "3.2.2", "@workleap/stylelint-configs": "2.0.3", "@workleap/swc-configs": "2.2.3", + "@workleap/tsup-configs": "3.0.6", "@workleap/typescript-configs": "3.0.2", "browserslist": "4.24.0", "chalk": "4.1.2", @@ -110,6 +111,7 @@ "ts-node": "10.9.2", "ts-jest": "29.2.5", "tsconfig-paths-webpack-plugin": "4.1.0", + "tsup": "8.3.0", "typescript": "5.4.5" }, "engines": { diff --git a/packages/bundle/package.json b/packages/bundle/package.json index 7989cb61b..f72694fb3 100644 --- a/packages/bundle/package.json +++ b/packages/bundle/package.json @@ -33,10 +33,8 @@ }, "scripts": { "prebuild": "pnpm clean", - "build": "pnpm build:js & pnpm copy-files", - "build:js": "tsc --build ./tsconfig.build.json", - "copy-files": "copyfiles -u 1 \"src/**/*.css\" dist", - "clean": "pnpm dlx rimraf dist tsconfig.build.tsbuildinfo" + "build": "tsup --config ./tsup.build.ts", + "clean": "pnpm dlx rimraf dist" }, "peerDependencies": { "react": "*", diff --git a/packages/bundle/tsup.build.ts b/packages/bundle/tsup.build.ts new file mode 100644 index 000000000..3210ac73b --- /dev/null +++ b/packages/bundle/tsup.build.ts @@ -0,0 +1,5 @@ +import { defineBuildConfig } from "@workleap/tsup-configs"; + +export default defineBuildConfig({ + entry: ["./src/**/*.(ts|tsx|css)"] +}); diff --git a/packages/components/package.json b/packages/components/package.json index 573e4d6bb..5a0c6a921 100644 --- a/packages/components/package.json +++ b/packages/components/package.json @@ -33,10 +33,8 @@ }, "scripts": { "prebuild": "pnpm clean", - "build": "pnpm build:js & pnpm copy-files", - "build:js": "tsc --build ./tsconfig.build.json", - "copy-files": "copyfiles -u 1 \"src/**/*.css\" dist", - "clean": "pnpm dlx rimraf dist tsconfig.build.tsbuildinfo" + "build": "tsup --config ./tsup.build.ts", + "clean": "pnpm dlx rimraf dist" }, "peerDependencies": { "@hopper-ui/components": "*", diff --git a/packages/components/tsup.build.ts b/packages/components/tsup.build.ts new file mode 100644 index 000000000..5ada17013 --- /dev/null +++ b/packages/components/tsup.build.ts @@ -0,0 +1,5 @@ +import { defineBuildConfig } from "@workleap/tsup-configs"; + +export default defineBuildConfig({ + entry: ["./src/index.(ts|tsx|css)", "./src/**/src/**/*.(ts|tsx|css)"] +}); diff --git a/packages/css/package.json b/packages/css/package.json index 0462a6e6a..07c2a7c2e 100644 --- a/packages/css/package.json +++ b/packages/css/package.json @@ -13,7 +13,7 @@ "main": "src/index.css", "style": "src/index.css", "exports": { - "./index.css": "./dist/index.css" + "./index.css": "./src/index.css" }, "dependencies": { "@hopper-ui/tokens": "^4.2.0" diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 0fb3f9827..e04e2dd18 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -107,6 +107,9 @@ importers: '@workleap/swc-configs': specifier: 2.2.3 version: 2.2.3(@swc/core@1.7.36(@swc/helpers@0.5.13))(@swc/helpers@0.5.13)(@swc/jest@0.2.36(@swc/core@1.7.36(@swc/helpers@0.5.13)))(browserslist@4.24.0) + '@workleap/tsup-configs': + specifier: 3.0.6 + version: 3.0.6(tsup@8.3.0(@swc/core@1.7.36(@swc/helpers@0.5.13))(postcss@8.4.47)(typescript@5.4.5)(yaml@2.6.0))(typescript@5.4.5) '@workleap/typescript-configs': specifier: 3.0.2 version: 3.0.2(typescript@5.4.5) @@ -200,6 +203,9 @@ importers: tsconfig-paths-webpack-plugin: specifier: 4.1.0 version: 4.1.0 + tsup: + specifier: 8.3.0 + version: 8.3.0(@swc/core@1.7.36(@swc/helpers@0.5.13))(postcss@8.4.47)(typescript@5.4.5)(yaml@2.6.0) typescript: specifier: 5.4.5 version: 5.4.5 @@ -2345,6 +2351,96 @@ packages: resolution: {integrity: sha512-iKnFXr7NkdZAIHiIWE+BX5ULi/ucVFYWD6TbAV+rZctiRTY2PL6tsIKhoIOaoskiWAkgu+VsbXgUVDNLHf+InQ==} engines: {node: '>= 8.0.0'} + '@rollup/rollup-android-arm-eabi@4.24.4': + resolution: {integrity: sha512-jfUJrFct/hTA0XDM5p/htWKoNNTbDLY0KRwEt6pyOA6k2fmk0WVwl65PdUdJZgzGEHWx+49LilkcSaumQRyNQw==} + cpu: [arm] + os: [android] + + '@rollup/rollup-android-arm64@4.24.4': + resolution: {integrity: sha512-j4nrEO6nHU1nZUuCfRKoCcvh7PIywQPUCBa2UsootTHvTHIoIu2BzueInGJhhvQO/2FTRdNYpf63xsgEqH9IhA==} + cpu: [arm64] + os: [android] + + '@rollup/rollup-darwin-arm64@4.24.4': + resolution: {integrity: sha512-GmU/QgGtBTeraKyldC7cDVVvAJEOr3dFLKneez/n7BvX57UdhOqDsVwzU7UOnYA7AAOt+Xb26lk79PldDHgMIQ==} + cpu: [arm64] + os: [darwin] + + '@rollup/rollup-darwin-x64@4.24.4': + resolution: {integrity: sha512-N6oDBiZCBKlwYcsEPXGDE4g9RoxZLK6vT98M8111cW7VsVJFpNEqvJeIPfsCzbf0XEakPslh72X0gnlMi4Ddgg==} + cpu: [x64] + os: [darwin] + + '@rollup/rollup-freebsd-arm64@4.24.4': + resolution: {integrity: sha512-py5oNShCCjCyjWXCZNrRGRpjWsF0ic8f4ieBNra5buQz0O/U6mMXCpC1LvrHuhJsNPgRt36tSYMidGzZiJF6mw==} + cpu: [arm64] + os: [freebsd] + + '@rollup/rollup-freebsd-x64@4.24.4': + resolution: {integrity: sha512-L7VVVW9FCnTTp4i7KrmHeDsDvjB4++KOBENYtNYAiYl96jeBThFfhP6HVxL74v4SiZEVDH/1ILscR5U9S4ms4g==} + cpu: [x64] + os: [freebsd] + + '@rollup/rollup-linux-arm-gnueabihf@4.24.4': + resolution: {integrity: sha512-10ICosOwYChROdQoQo589N5idQIisxjaFE/PAnX2i0Zr84mY0k9zul1ArH0rnJ/fpgiqfu13TFZR5A5YJLOYZA==} + cpu: [arm] + os: [linux] + + '@rollup/rollup-linux-arm-musleabihf@4.24.4': + resolution: {integrity: sha512-ySAfWs69LYC7QhRDZNKqNhz2UKN8LDfbKSMAEtoEI0jitwfAG2iZwVqGACJT+kfYvvz3/JgsLlcBP+WWoKCLcw==} + cpu: [arm] + os: [linux] + + '@rollup/rollup-linux-arm64-gnu@4.24.4': + resolution: {integrity: sha512-uHYJ0HNOI6pGEeZ/5mgm5arNVTI0nLlmrbdph+pGXpC9tFHFDQmDMOEqkmUObRfosJqpU8RliYoGz06qSdtcjg==} + cpu: [arm64] + os: [linux] + + '@rollup/rollup-linux-arm64-musl@4.24.4': + resolution: {integrity: sha512-38yiWLemQf7aLHDgTg85fh3hW9stJ0Muk7+s6tIkSUOMmi4Xbv5pH/5Bofnsb6spIwD5FJiR+jg71f0CH5OzoA==} + cpu: [arm64] + os: [linux] + + '@rollup/rollup-linux-powerpc64le-gnu@4.24.4': + resolution: {integrity: sha512-q73XUPnkwt9ZNF2xRS4fvneSuaHw2BXuV5rI4cw0fWYVIWIBeDZX7c7FWhFQPNTnE24172K30I+dViWRVD9TwA==} + cpu: [ppc64] + os: [linux] + + '@rollup/rollup-linux-riscv64-gnu@4.24.4': + resolution: {integrity: sha512-Aie/TbmQi6UXokJqDZdmTJuZBCU3QBDA8oTKRGtd4ABi/nHgXICulfg1KI6n9/koDsiDbvHAiQO3YAUNa/7BCw==} + cpu: [riscv64] + os: [linux] + + '@rollup/rollup-linux-s390x-gnu@4.24.4': + resolution: {integrity: sha512-P8MPErVO/y8ohWSP9JY7lLQ8+YMHfTI4bAdtCi3pC2hTeqFJco2jYspzOzTUB8hwUWIIu1xwOrJE11nP+0JFAQ==} + cpu: [s390x] + os: [linux] + + '@rollup/rollup-linux-x64-gnu@4.24.4': + resolution: {integrity: sha512-K03TljaaoPK5FOyNMZAAEmhlyO49LaE4qCsr0lYHUKyb6QacTNF9pnfPpXnFlFD3TXuFbFbz7tJ51FujUXkXYA==} + cpu: [x64] + os: [linux] + + '@rollup/rollup-linux-x64-musl@4.24.4': + resolution: {integrity: sha512-VJYl4xSl/wqG2D5xTYncVWW+26ICV4wubwN9Gs5NrqhJtayikwCXzPL8GDsLnaLU3WwhQ8W02IinYSFJfyo34Q==} + cpu: [x64] + os: [linux] + + '@rollup/rollup-win32-arm64-msvc@4.24.4': + resolution: {integrity: sha512-ku2GvtPwQfCqoPFIJCqZ8o7bJcj+Y54cZSr43hHca6jLwAiCbZdBUOrqE6y29QFajNAzzpIOwsckaTFmN6/8TA==} + cpu: [arm64] + os: [win32] + + '@rollup/rollup-win32-ia32-msvc@4.24.4': + resolution: {integrity: sha512-V3nCe+eTt/W6UYNr/wGvO1fLpHUrnlirlypZfKCT1fG6hWfqhPgQV/K/mRBXBpxc0eKLIF18pIOFVPh0mqHjlg==} + cpu: [ia32] + os: [win32] + + '@rollup/rollup-win32-x64-msvc@4.24.4': + resolution: {integrity: sha512-LTw1Dfd0mBIEqUVCxbvTE/LLo+9ZxVC9k99v1v4ahg9Aak6FpqOfNu5kRkeTAn0wphoC4JU7No1/rL+bBCEwhg==} + cpu: [x64] + os: [win32] + '@rtsao/scc@1.1.0': resolution: {integrity: sha512-zt6OdqaDoOnJ1ZYsCYGt9YmWzDXl4vQdKTyJev62gFhRGKdx7mcT54V9KIjg+d2wi9EXsPvAPKe7i7WjfVWB8g==} @@ -3327,6 +3423,12 @@ packages: browserslist: optional: true + '@workleap/tsup-configs@3.0.6': + resolution: {integrity: sha512-ltp2igkUwTZL3LDPydgCSIzjZeyby+lL+i/q7LwMwy0HeEPxLCiGpxwSsEYMf84pgGHrLIfADs4qEEsDxKY/mA==} + peerDependencies: + tsup: '*' + typescript: '*' + '@workleap/typescript-configs@3.0.2': resolution: {integrity: sha512-H2FE1RoOcjYUhzMjpMm48qE7xf015nJBBYTwGH+t7VXzDcJBFcwU2jXztLG6ibMW+wIe0nI06MFOdjMLE099+Q==} peerDependencies: @@ -3515,6 +3617,9 @@ packages: zenObservable: optional: true + any-promise@1.3.0: + resolution: {integrity: sha512-7UvmKalWRt1wgjL1RrGxoSJW/0QZFIegpeGvZG9kjp8vrRu55XTHbwnqq2GpXm9uLbcuhxm3IqX9OB4MZR1b2A==} + anymatch@3.1.3: resolution: {integrity: sha512-KMReFUr0B4t+D+OBkjR3KYqvocp2XaSzO55UcB6mgQMd3KbcE+mWTyvVV7D/zsdEbNnV6acZUutkiHQXvTr1Rw==} engines: {node: '>= 8'} @@ -3885,6 +3990,12 @@ packages: builtins@5.1.0: resolution: {integrity: sha512-SW9lzGTLvWTP1AY8xeAMZimqDrIaSdLQUcVr9DMef51niJ022Ri87SwRRKYm4A6iHfkPaiVUu/Duw2Wc4J7kKg==} + bundle-require@5.0.0: + resolution: {integrity: sha512-GuziW3fSSmopcx4KRymQEJVbZUfqlCqcq7dvs6TYwKRZiegK/2buMxQTPs6MGlNv50wms1699qYO54R8XfRX4w==} + engines: {node: ^12.20.0 || ^14.13.1 || >=16.0.0} + peerDependencies: + esbuild: '>=0.18' + byline@5.0.0: resolution: {integrity: sha512-s6webAy+R4SR8XVuJWt2V2rGvhnrhxN+9S15GNuTK3wKPOXFF6RNc+8ug2XhH+2s4f+uudG4kUVYmYOQWL2g0Q==} engines: {node: '>=0.10.0'} @@ -3897,6 +4008,10 @@ packages: resolution: {integrity: sha512-/Nf7TyzTx6S3yRJObOAV7956r8cr2+Oj8AC5dt8wSP3BQAoeX58NoHyCU8P8zGkNXStjTSi6fzO6F0pBdcYbEg==} engines: {node: '>= 0.8'} + cac@6.7.14: + resolution: {integrity: sha512-b6Ilus+c3RrdDk+JhLKUAQfzzgLEPy6wcXqS7f/xe1EETvsDP6GORG7SFuOs6cID5YkqchW/LXZbX5bc8j7ZcQ==} + engines: {node: '>=8'} + cache-base@1.0.1: resolution: {integrity: sha512-AKcdTnFSWATd5/GCPRxr2ChwIJ85CeyrEyjRHlKxQ56d4XJMGym0uAiKn0xbLOGOl3+yRpOTi484dVCEc5AUzQ==} engines: {node: '>=0.10.0'} @@ -4239,6 +4354,10 @@ packages: commander@3.0.2: resolution: {integrity: sha512-Gar0ASD4BDyKC4hl4DwHqDrmvjoxWKZigVnAbn5H1owvm4CxCPdb0HQDehwNYMJpla5+M2tPmPARzhtYuwpHow==} + commander@4.1.1: + resolution: {integrity: sha512-NOKm8xhkzAjzFx8B2v5OAHT+u5pRQc2UCa2Vq9jYL/31o2wi9mxBA7LIFs3sV5VSC49z6pEhfbMULvShKj26WA==} + engines: {node: '>= 6'} + commander@5.1.0: resolution: {integrity: sha512-P0CysNDQ7rtVw4QIQtm+MRxV66vKFSvlsQvGYXZWR3qFU0jlMKHZZZgw8e+8DSah4UDKMqnknRDQz+xuQXQ/Zg==} engines: {node: '>= 6'} @@ -4291,6 +4410,10 @@ packages: resolution: {integrity: sha512-aMKprgk5YhBNyH25hj8wGt2+D52Sw1DRRIzqBwLp2Ya9mFmY8KPvvtvmna8SxVR9JMZ4kzMD68N22vlaRpkeFA==} engines: {node: '>=8'} + consola@3.2.3: + resolution: {integrity: sha512-I5qxpzLv+sJhTVEoLYNcTW+bThDCPsit0vLNKShZx6rLtpilNpmmeTPaeqJb9ZE9dV3DGaeby6Vuhrw38WjeyQ==} + engines: {node: ^14.18.0 || >=16.10.0} + console-control-strings@1.1.0: resolution: {integrity: sha512-ty/fTekppD2fIwRvnZAVdeOiGd1c7YXEixbgJTNzqcxJWKQnjJ/V1bNEEE6hygpM3WjwHFUVK6HTjWSzV4a8sQ==} @@ -5456,6 +5579,14 @@ packages: fd-slicer@1.1.0: resolution: {integrity: sha512-cE1qsB/VwyQozZ+q1dGxR8LBYNZeofhEdUNGSMbQD3Gw2lAzX9Zb3uIU6Ebc/Fmyjo9AWWfnn0AUCHqtevs/8g==} + fdir@6.4.2: + resolution: {integrity: sha512-KnhMXsKSPZlAhp7+IjUkRZKPb4fUyccpDrdFXbi4QL1qkmFh9kVY09Yox+n4MaOb3lHZ1Tv829C3oaaXoMYPDQ==} + peerDependencies: + picomatch: ^3 || ^4 + peerDependenciesMeta: + picomatch: + optional: true + fecha@4.2.3: resolution: {integrity: sha512-OP2IUU6HeYKJi3i0z4A19kHMQoLVs4Hc+DPqqxI2h/DPZHTm/vjsfC6P0b4jCMy14XizLBqvndQ+UilD7707Jw==} @@ -6830,6 +6961,10 @@ packages: joi@17.13.3: resolution: {integrity: sha512-otDA4ldcIx+ZXsKHWmp0YizCweVRZG96J10b0FevjfuncLO1oX59THoAmHkNubYJ+9gWsYsp5k8v4ib6oDv1fA==} + joycon@3.1.1: + resolution: {integrity: sha512-34wB/Y7MW7bzjKRjUKTa46I2Z7eV62Rkhva+KkopW7Qvv/OSWBqvkSY7vusOPrNuZcUG3tApvdVgNB8POj3SPw==} + engines: {node: '>=10'} + js-string-escape@1.0.1: resolution: {integrity: sha512-Smw4xcfIQ5LVjAOuJCvN/zIodzA/BBSsluuoSykP+lUvScIi4U6RJLfwHet5cxFnCswUjISV8oAXaqaJDY3chg==} engines: {node: '>= 0.8'} @@ -6983,6 +7118,10 @@ packages: resolution: {integrity: sha512-+bT2uH4E5LGE7h/n3evcS/sQlJXCpIp6ym8OWJ5eV6+67Dsql/LaaT7qJBAt2rzfoa/5QBGBhxDix1dMt2kQKQ==} engines: {node: '>= 0.8.0'} + lilconfig@3.1.2: + resolution: {integrity: sha512-eop+wDAvpItUys0FWkHIKeC9ybYrTGbU41U5K7+bttZZeohvnY7M9dZ5kB21GNWiFT2q1OoPTvncPCgSOVO5ow==} + engines: {node: '>=14'} + lines-and-columns@1.2.4: resolution: {integrity: sha512-7ylylesZQ/PV29jhEDl3Ufjo6ZX7gCqJr5F7PKrqc93v7fzSymt1BpwEU8nAUXs8qzzvqhbjhK5QZg6Mt/HkBg==} @@ -7011,6 +7150,10 @@ packages: load-plugin@6.0.3: resolution: {integrity: sha512-kc0X2FEUZr145odl68frm+lMJuQ23+rTXYmR6TImqPtbpmXC4vVXbWKDQ9IzndA0HfyQamWfKLhzsqGSTxE63w==} + load-tsconfig@0.2.5: + resolution: {integrity: sha512-IXO6OCs9yg8tMKzfPZ1YmheJbZCiEsnBdcB03l0OcfK9prKnJb96siuHCr5Fl37/yo9DnKU+TLpxzTUspw9shg==} + engines: {node: ^12.20.0 || ^14.13.1 || >=16.0.0} + loader-runner@4.3.0: resolution: {integrity: sha512-3R/1M+yS3j5ou80Me59j7F9IMs4PXs3VqRrm0TU3AbKPxlmpoY1TNscJV/oGJXo8qCatFGTfDbY6W6ipGOYXfg==} engines: {node: '>=6.11.5'} @@ -7067,6 +7210,9 @@ packages: lodash.merge@4.6.2: resolution: {integrity: sha512-0KpjqXRVvrYyCsX1swR/XTK0va6VQkQM6MNo7PqW77ByjAhoARA8EfrP1N4+KlKj8YS0ZUCtRT/YUuhyYDujIQ==} + lodash.sortby@4.7.0: + resolution: {integrity: sha512-HDWXG8isMntAyRF5vZ7xKuEvOhT4AhlRt/3czTSjvGUxjYCBVRQY48ViDHyfYz9VIoBkW4TMGQNapx+l3RUwdA==} + lodash.startcase@4.4.0: resolution: {integrity: sha512-+WKqsK294HMSc2jEbNgpHpd0JfIBhp7rEV4aqXWqFr6AlXov+SlcgB1Fv01y2kGe3Gc8nMW7VA0SrGuSkRfIEg==} @@ -7594,6 +7740,9 @@ packages: mute-stream@0.0.7: resolution: {integrity: sha512-r65nCZhrbXXb6dXOACihYApHw2Q6pV0M3V0PSxd74N0+D8nzAdEAITq2oAjA1jVnKI+tGvEBUpqiMh0+rW6zDQ==} + mz@2.7.0: + resolution: {integrity: sha512-z81GNO7nnYMEhrGh9LeymoE4+Yr0Wn5McHIZMK5cfQCl+NDX08sCZgUc9/6MHni9IWuFLm1Z3HTCXu2z9fN62Q==} + nanoid@3.3.7: resolution: {integrity: sha512-eSRppjcPIatRIMC1U6UngP8XFcz8MQWGQdt1MTBQ7NaAmvXDfvNxbvWV3x2y6CdEUciCSsDHDQZbhYaB8QEo2g==} engines: {node: ^10 || ^12 || ^13.7 || ^14 || >=15.0.1} @@ -8182,6 +8331,10 @@ packages: resolution: {integrity: sha512-JU3teHTNjmE2VCGFzuY8EXzCDVwEqB2a8fsIvwaStHhAWJEeVd1o1QD80CU6+ZdEXXSLbSsuLwJjkCBWqRQUVA==} engines: {node: '>=8.6'} + picomatch@4.0.2: + resolution: {integrity: sha512-M7BAV6Rlcy5u+m6oPhAPFgJTzAioX/6B0DxyvDlo9l8+T3nLKbrczg2WLUyzd45L8RqfUMyGPzekbMvX2Ldkwg==} + engines: {node: '>=12'} + pify@2.3.0: resolution: {integrity: sha512-udgsAY+fTnvv7kI7aaxbqwWNb0AHiB0qBO89PZKPkoTmGOgdbrHDKD+0B2X4uTfJ/FT1R09r9gTsjUjNJotuog==} engines: {node: '>=0.10.0'} @@ -8240,6 +8393,24 @@ packages: resolution: {integrity: sha512-d7Uw+eZoloe0EHDIYoe+bQ5WXnGMOpmiZFTuMWCwpjzzkL2nTjcKiAk4hh8TjnGye2TwWOk3UXucZ+3rbmBa8Q==} engines: {node: '>= 0.4'} + postcss-load-config@6.0.1: + resolution: {integrity: sha512-oPtTM4oerL+UXmx+93ytZVN82RrlY/wPUV8IeDxFrzIjXOLF1pN+EmKPLbubvKHT2HC20xXsCAH2Z+CKV6Oz/g==} + engines: {node: '>= 18'} + peerDependencies: + jiti: '>=1.21.0' + postcss: '>=8.0.9' + tsx: ^4.8.1 + yaml: ^2.4.2 + peerDependenciesMeta: + jiti: + optional: true + postcss: + optional: true + tsx: + optional: true + yaml: + optional: true + postcss-modules-extract-imports@3.1.0: resolution: {integrity: sha512-k3kNe0aNFQDAZGbin48pL2VNidTF0w4/eASDsxlyspobzU3wZQLOGj7L9gfRe0Jo9/4uud09DsjFNH7winGv8Q==} engines: {node: ^10 || ^12 || >= 14} @@ -8828,6 +8999,11 @@ packages: engines: {node: '>=10.0.0'} hasBin: true + rollup@4.24.4: + resolution: {integrity: sha512-vGorVWIsWfX3xbcyAS+I047kFKapHYivmkaT63Smj77XwvLSJos6M1xGqZnBPFQFBRZDOcG1QnYEIxAvTr/HjA==} + engines: {node: '>=18.0.0', npm: '>=8.0.0'} + hasBin: true + run-async@2.4.1: resolution: {integrity: sha512-tvVnVv01b8c1RrA6Ep7JkStj85Guv/YrMcwqYQnwjsAS2cTmmPGBBjAjpCW7RrSodNSoE2/qg9O4bceNvUuDgQ==} engines: {node: '>=0.12.0'} @@ -9075,6 +9251,10 @@ packages: resolution: {integrity: sha512-l3BikUxvPOcn5E74dZiq5BGsTb5yEwhaTSzccU6t4sDOH8NWJCstKO5QT2CvtFoK6F0saL7p9xHAqHOlCPJygA==} engines: {node: '>= 8'} + source-map@0.8.0-beta.0: + resolution: {integrity: sha512-2ymg6oRBpebeZi9UUNsgQ89bhx01TcTkmNTGnNO88imTmbSgy4nfujrgVEFKWpMTEGA11EDkTt7mqObTPdigIA==} + engines: {node: '>= 8'} + sourcemap-codec@1.4.8: resolution: {integrity: sha512-9NykojV5Uih4lgo5So5dtw+f0JgJX30KCNI8gwhz2J9A15wD0Ml6tjHKwf6fTSa6fAdVBdZeNOs9eJ71qCk8vA==} deprecated: Please use @jridgewell/sourcemap-codec instead @@ -9319,6 +9499,11 @@ packages: engines: {node: '>=18.12.0'} hasBin: true + sucrase@3.35.0: + resolution: {integrity: sha512-8EbVDiu9iN/nESwxeSxDKe0dunta1GOlHufmSSXxMD2z2/tMZpDMpvXQGsc+ajGo8y2uYUmixaSRUc/QPoQ0GA==} + engines: {node: '>=16 || 14 >=14.17'} + hasBin: true + supports-color@0.2.0: resolution: {integrity: sha512-tdCZ28MnM7k7cJDJc7Eq80A9CsRFAAOZUy41npOZCs++qSjfIy7o5Rh46CBk+Dk5FbKJ33X3Tqg4YrV07N5RaA==} engines: {node: '>=0.10.0'} @@ -9461,6 +9646,13 @@ packages: text-table@0.2.0: resolution: {integrity: sha512-N+8UisAXDGk8PFXP4HAzVR9nbfmVJ3zYLAWiTIoqC5v5isinhr+r5uaO8+7r3BMfuNIufIsA7RdpVgacC2cSpw==} + thenify-all@1.6.0: + resolution: {integrity: sha512-RNxQH/qI8/t3thXJDwcstUO4zeqo64+Uy/+sNVRBx4Xn2OX+OZ9oP+iJnNFqplFra2ZUVeKCSa2oVWi3T4uVmA==} + engines: {node: '>=0.8'} + + thenify@3.3.1: + resolution: {integrity: sha512-RVZSIV5IG10Hk3enotrhvz0T9em6cyHBLkH/YAZuKqd8hRkKhSfCGIcP2KUY0EPxndzANBmNllzWPwak+bheSw==} + through2-filter@3.0.0: resolution: {integrity: sha512-jaRjI2WxN3W1V8/FMZ9HKIBXixtiqs3SQSX4/YGIiP3gL6djW48VoZq9tDqeCWs3MT8YY5wb/zli8VW8snY1CA==} @@ -9487,6 +9679,10 @@ packages: tiny-warning@1.0.3: resolution: {integrity: sha512-lBN9zLN/oAf68o3zNXYrdCt1kP8WsiGW8Oo2ka41b2IM5JL/S1CTyX1rW0mb/zSuJun0ZUrDxx4sqvYS2FWzPA==} + tinyglobby@0.2.10: + resolution: {integrity: sha512-Zc+8eJlFMvgatPZTl6A9L/yht8QqdmUNtURHaKZLmKBE12hNPSrqNkUp2cs3M/UKmNVVAMFQYSjYIVHDjW5zew==} + engines: {node: '>=12.0.0'} + tinyrainbow@1.2.0: resolution: {integrity: sha512-weEDEq7Z5eTHPDh4xjX789+fHfF+P8boiFB+0vbWzpbnbsEr/GRaohi/uMKxg8RZMXnl1ItAi/IUHWMsjDV7kQ==} engines: {node: '>=14.0.0'} @@ -9549,6 +9745,9 @@ packages: tr46@0.0.3: resolution: {integrity: sha512-N3WMsuqV66lT30CrXNbEjx4GEwlow3v6rr4mCcv6prnfwhS01rkgyFdjPNBYd9br7LpXV1+Emh01fHnq2Gdgrw==} + tr46@1.0.1: + resolution: {integrity: sha512-dTpowEjclQ7Kgx5SdBkqRzVhERQXov8/l9Ft9dVM9fmg0W0KQSVaXX9T4i6twCPNtYiZM53lpSSUAwJbFPOHxA==} + tree-kill@1.2.2: resolution: {integrity: sha512-L0Orpi8qGpRG//Nd+H90vFB+3iHnue1zSSGmNOOCh1GLJ7rUKVwV2HvijphGQS2UmhUZewS9VgvxYIdgr+fG1A==} hasBin: true @@ -9578,6 +9777,9 @@ packages: resolution: {integrity: sha512-q5W7tVM71e2xjHZTlgfTDoPF/SmqKG5hddq9SzR49CH2hayqRKJtQ4mtRlSxKaJlR/+9rEM+mnBHf7I2/BQcpQ==} engines: {node: '>=6.10'} + ts-interface-checker@0.1.13: + resolution: {integrity: sha512-Y/arvbn+rrz3JCKl9C4kVNfTfSm2/mEp5FSz5EsZSANGPSlQrpRI5M4PKF+mJnE52jOO90PnPSc3Ur3bTQw0gA==} + ts-jest@29.2.5: resolution: {integrity: sha512-KD8zB2aAZrcKIdGk4OwpJggeLcH1FgrICqDSROWqlnJXGCXK4Mn6FcdK2B6670Xr73lHMG1kHw8R87A0ecZ+vA==} engines: {node: ^14.15.0 || ^16.10.0 || ^18.0.0 || >=20.0.0} @@ -9647,6 +9849,25 @@ packages: tslib@2.8.1: resolution: {integrity: sha512-oJFu94HQb+KVduSUQL7wnpmqnfmLsOA/nAh6b6EH0wCEoK0/mPeXU6c3wKDV83MkOuHPRHtSXKKU99IBazS/2w==} + tsup@8.3.0: + resolution: {integrity: sha512-ALscEeyS03IomcuNdFdc0YWGVIkwH1Ws7nfTbAPuoILvEV2hpGQAY72LIOjglGo4ShWpZfpBqP/jpQVCzqYQag==} + engines: {node: '>=18'} + hasBin: true + peerDependencies: + '@microsoft/api-extractor': ^7.36.0 + '@swc/core': ^1 + postcss: ^8.4.12 + typescript: '>=4.5.0' + peerDependenciesMeta: + '@microsoft/api-extractor': + optional: true + '@swc/core': + optional: true + postcss: + optional: true + typescript: + optional: true + tsutils@3.21.0: resolution: {integrity: sha512-mHKK3iUXL+3UF6xL5k0PEhKRUBKPBCv/+RkEOpjRWxxx27KKRBmmA60A9pgOUvMi8GKhRMPEmjBRPzs2W7O1OA==} engines: {node: '>= 6'} @@ -9992,6 +10213,9 @@ packages: webidl-conversions@3.0.1: resolution: {integrity: sha512-2JAn3z8AR6rjK8Sm8orRC0h/bcl/DqL7tRPdGZ4I1CjdF+EaMLmYxBHyXuKL849eucPFhvBoxMsflfOb8kxaeQ==} + webidl-conversions@4.0.2: + resolution: {integrity: sha512-YQ+BmxuTgd6UXZW3+ICGfyqRyHXVlD5GtQr5+qjiNW7bF0cqrzX500HVXPBOvgXb5YnzDd+h0zqyv61KUD7+Sg==} + webpack-dev-middleware@6.1.3: resolution: {integrity: sha512-A4ChP0Qj8oGociTs6UdlRUGANIGrCDL3y+pmQMc+dSsraXHCatFpmMey4mYELA+juqwUqwQsUgJJISXl1KWmiw==} engines: {node: '>= 14.15.0'} @@ -10028,6 +10252,9 @@ packages: whatwg-url@5.0.0: resolution: {integrity: sha512-saE57nupxk6v3HY35+jzBwYa0rKSy0XR8JSxZPwgLr7ys0IBzhGviA1/TUGJLmSVqs8pb9AnvICXEuOHLprYTw==} + whatwg-url@7.1.0: + resolution: {integrity: sha512-WUu7Rg1DroM7oQvGWfOiAK21n74Gg+T4elXEQYkOhtyLeWiJFoOGLXPKI/9gzIie9CtwVLm8wtw6YJdKyxSjeg==} + which-boxed-primitive@1.0.2: resolution: {integrity: sha512-bwZdv0AKLpplFY2KZRX6TvyuN7ojjr7lwkg6ml0roIy9YeuSr7JS372qlNW18UQYzgYK9ziGcerWqZOmEn9VNg==} @@ -13303,6 +13530,60 @@ snapshots: estree-walker: 2.0.2 picomatch: 2.3.1 + '@rollup/rollup-android-arm-eabi@4.24.4': + optional: true + + '@rollup/rollup-android-arm64@4.24.4': + optional: true + + '@rollup/rollup-darwin-arm64@4.24.4': + optional: true + + '@rollup/rollup-darwin-x64@4.24.4': + optional: true + + '@rollup/rollup-freebsd-arm64@4.24.4': + optional: true + + '@rollup/rollup-freebsd-x64@4.24.4': + optional: true + + '@rollup/rollup-linux-arm-gnueabihf@4.24.4': + optional: true + + '@rollup/rollup-linux-arm-musleabihf@4.24.4': + optional: true + + '@rollup/rollup-linux-arm64-gnu@4.24.4': + optional: true + + '@rollup/rollup-linux-arm64-musl@4.24.4': + optional: true + + '@rollup/rollup-linux-powerpc64le-gnu@4.24.4': + optional: true + + '@rollup/rollup-linux-riscv64-gnu@4.24.4': + optional: true + + '@rollup/rollup-linux-s390x-gnu@4.24.4': + optional: true + + '@rollup/rollup-linux-x64-gnu@4.24.4': + optional: true + + '@rollup/rollup-linux-x64-musl@4.24.4': + optional: true + + '@rollup/rollup-win32-arm64-msvc@4.24.4': + optional: true + + '@rollup/rollup-win32-ia32-msvc@4.24.4': + optional: true + + '@rollup/rollup-win32-x64-msvc@4.24.4': + optional: true + '@rtsao/scc@1.1.0': {} '@samverschueren/stream-to-observable@0.3.1(rxjs@6.6.7)': @@ -14618,6 +14899,11 @@ snapshots: '@swc/jest': 0.2.36(@swc/core@1.7.36(@swc/helpers@0.5.13)) browserslist: 4.24.0 + '@workleap/tsup-configs@3.0.6(tsup@8.3.0(@swc/core@1.7.36(@swc/helpers@0.5.13))(postcss@8.4.47)(typescript@5.4.5)(yaml@2.6.0))(typescript@5.4.5)': + dependencies: + tsup: 8.3.0(@swc/core@1.7.36(@swc/helpers@0.5.13))(postcss@8.4.47)(typescript@5.4.5)(yaml@2.6.0) + typescript: 5.4.5 + '@workleap/typescript-configs@3.0.2(typescript@5.4.5)': dependencies: typescript: 5.4.5 @@ -14774,6 +15060,8 @@ snapshots: optionalDependencies: rxjs: 6.6.7 + any-promise@1.3.0: {} + anymatch@3.1.3: dependencies: normalize-path: 3.0.0 @@ -15246,12 +15534,19 @@ snapshots: dependencies: semver: 7.6.3 + bundle-require@5.0.0(esbuild@0.23.1): + dependencies: + esbuild: 0.23.1 + load-tsconfig: 0.2.5 + byline@5.0.0: {} bytes@3.0.0: {} bytes@3.1.2: {} + cac@6.7.14: {} + cache-base@1.0.1: dependencies: collection-visit: 1.0.0 @@ -15598,6 +15893,8 @@ snapshots: commander@3.0.2: {} + commander@4.1.1: {} + commander@5.1.0: {} commander@7.2.0: {} @@ -15664,6 +15961,8 @@ snapshots: write-file-atomic: 3.0.3 xdg-basedir: 4.0.0 + consola@3.2.3: {} + console-control-strings@1.1.0: {} constants-browserify@1.0.0: {} @@ -17080,6 +17379,10 @@ snapshots: dependencies: pend: 1.2.0 + fdir@6.4.2(picomatch@4.0.2): + optionalDependencies: + picomatch: 4.0.2 + fecha@4.2.3: {} fetch-blob@3.2.0: @@ -18798,6 +19101,8 @@ snapshots: '@sideway/formula': 3.0.1 '@sideway/pinpoint': 2.0.0 + joycon@3.1.1: {} + js-string-escape@1.0.1: {} js-tokens@4.0.0: {} @@ -18930,6 +19235,8 @@ snapshots: prelude-ls: 1.2.1 type-check: 0.4.0 + lilconfig@3.1.2: {} + lines-and-columns@1.2.4: {} lines-and-columns@2.0.4: {} @@ -18977,6 +19284,8 @@ snapshots: transitivePeerDependencies: - bluebird + load-tsconfig@0.2.5: {} + loader-runner@4.3.0: {} loader-utils@2.0.4: @@ -19021,6 +19330,8 @@ snapshots: lodash.merge@4.6.2: {} + lodash.sortby@4.7.0: {} + lodash.startcase@4.4.0: {} lodash.transform@4.6.0: {} @@ -19808,6 +20119,12 @@ snapshots: mute-stream@0.0.7: {} + mz@2.7.0: + dependencies: + any-promise: 1.3.0 + object-assign: 4.1.1 + thenify-all: 1.6.0 + nanoid@3.3.7: {} nanomatch@1.2.13(supports-color@9.4.0): @@ -20585,6 +20902,8 @@ snapshots: picomatch@2.3.1: {} + picomatch@4.0.2: {} + pify@2.3.0: {} pify@3.0.0: {} @@ -20627,6 +20946,13 @@ snapshots: possible-typed-array-names@1.0.0: {} + postcss-load-config@6.0.1(postcss@8.4.47)(yaml@2.6.0): + dependencies: + lilconfig: 3.1.2 + optionalDependencies: + postcss: 8.4.47 + yaml: 2.6.0 + postcss-modules-extract-imports@3.1.0(postcss@8.4.47): dependencies: postcss: 8.4.47 @@ -21398,6 +21724,30 @@ snapshots: optionalDependencies: fsevents: 2.3.3 + rollup@4.24.4: + dependencies: + '@types/estree': 1.0.6 + optionalDependencies: + '@rollup/rollup-android-arm-eabi': 4.24.4 + '@rollup/rollup-android-arm64': 4.24.4 + '@rollup/rollup-darwin-arm64': 4.24.4 + '@rollup/rollup-darwin-x64': 4.24.4 + '@rollup/rollup-freebsd-arm64': 4.24.4 + '@rollup/rollup-freebsd-x64': 4.24.4 + '@rollup/rollup-linux-arm-gnueabihf': 4.24.4 + '@rollup/rollup-linux-arm-musleabihf': 4.24.4 + '@rollup/rollup-linux-arm64-gnu': 4.24.4 + '@rollup/rollup-linux-arm64-musl': 4.24.4 + '@rollup/rollup-linux-powerpc64le-gnu': 4.24.4 + '@rollup/rollup-linux-riscv64-gnu': 4.24.4 + '@rollup/rollup-linux-s390x-gnu': 4.24.4 + '@rollup/rollup-linux-x64-gnu': 4.24.4 + '@rollup/rollup-linux-x64-musl': 4.24.4 + '@rollup/rollup-win32-arm64-msvc': 4.24.4 + '@rollup/rollup-win32-ia32-msvc': 4.24.4 + '@rollup/rollup-win32-x64-msvc': 4.24.4 + fsevents: 2.3.3 + run-async@2.4.1: {} run-parallel@1.2.0: @@ -21694,6 +22044,10 @@ snapshots: source-map@0.7.4: {} + source-map@0.8.0-beta.0: + dependencies: + whatwg-url: 7.1.0 + sourcemap-codec@1.4.8: {} space-separated-tokens@2.0.2: {} @@ -22004,6 +22358,16 @@ snapshots: - supports-color - typescript + sucrase@3.35.0: + dependencies: + '@jridgewell/gen-mapping': 0.3.5 + commander: 4.1.1 + glob: 10.4.5 + lines-and-columns: 1.2.4 + mz: 2.7.0 + pirates: 4.0.6 + ts-interface-checker: 0.1.13 + supports-color@0.2.0: {} supports-color@2.0.0: {} @@ -22171,6 +22535,14 @@ snapshots: text-table@0.2.0: {} + thenify-all@1.6.0: + dependencies: + thenify: 3.3.1 + + thenify@3.3.1: + dependencies: + any-promise: 1.3.0 + through2-filter@3.0.0: dependencies: through2: 2.0.5 @@ -22196,6 +22568,11 @@ snapshots: tiny-warning@1.0.3: {} + tinyglobby@0.2.10: + dependencies: + fdir: 6.4.2(picomatch@4.0.2) + picomatch: 4.0.2 + tinyrainbow@1.2.0: {} tinyspy@3.0.2: {} @@ -22246,6 +22623,10 @@ snapshots: tr46@0.0.3: {} + tr46@1.0.1: + dependencies: + punycode: 2.3.1 + tree-kill@1.2.2: {} trim-newlines@3.0.1: {} @@ -22264,6 +22645,8 @@ snapshots: ts-dedent@2.2.0: {} + ts-interface-checker@0.1.13: {} + ts-jest@29.2.5(@babel/core@7.26.0)(@jest/transform@29.7.0)(@jest/types@29.6.3)(babel-jest@29.7.0(@babel/core@7.26.0))(esbuild@0.23.1)(jest@29.7.0(@types/node@16.18.119)(ts-node@10.9.2(@swc/core@1.7.36(@swc/helpers@0.5.13))(@types/node@16.18.119)(typescript@5.4.5)))(typescript@5.4.5): dependencies: bs-logger: 0.2.6 @@ -22346,6 +22729,34 @@ snapshots: tslib@2.8.1: {} + tsup@8.3.0(@swc/core@1.7.36(@swc/helpers@0.5.13))(postcss@8.4.47)(typescript@5.4.5)(yaml@2.6.0): + dependencies: + bundle-require: 5.0.0(esbuild@0.23.1) + cac: 6.7.14 + chokidar: 3.6.0 + consola: 3.2.3 + debug: 4.3.7(supports-color@9.4.0) + esbuild: 0.23.1 + execa: 5.1.1 + joycon: 3.1.1 + picocolors: 1.1.1 + postcss-load-config: 6.0.1(postcss@8.4.47)(yaml@2.6.0) + resolve-from: 5.0.0 + rollup: 4.24.4 + source-map: 0.8.0-beta.0 + sucrase: 3.35.0 + tinyglobby: 0.2.10 + tree-kill: 1.2.2 + optionalDependencies: + '@swc/core': 1.7.36(@swc/helpers@0.5.13) + postcss: 8.4.47 + typescript: 5.4.5 + transitivePeerDependencies: + - jiti + - supports-color + - tsx + - yaml + tsutils@3.21.0(typescript@3.9.10): dependencies: tslib: 1.14.1 @@ -22751,6 +23162,8 @@ snapshots: webidl-conversions@3.0.1: {} + webidl-conversions@4.0.2: {} + webpack-dev-middleware@6.1.3(webpack@5.96.1(@swc/core@1.7.36(@swc/helpers@0.5.13))(esbuild@0.23.1)): dependencies: colorette: 2.0.20 @@ -22808,6 +23221,12 @@ snapshots: tr46: 0.0.3 webidl-conversions: 3.0.1 + whatwg-url@7.1.0: + dependencies: + lodash.sortby: 4.7.0 + tr46: 1.0.1 + webidl-conversions: 4.0.2 + which-boxed-primitive@1.0.2: dependencies: is-bigint: 1.0.4 diff --git a/tsconfig.build.json b/tsconfig.build.json index 2de80af9e..10abe69ba 100644 --- a/tsconfig.build.json +++ b/tsconfig.build.json @@ -2,6 +2,9 @@ "$schema": "https://json.schemastore.org/tsconfig", "extends": "@workleap/typescript-configs/library.json", "compilerOptions": { + "allowImportingTsExtensions": false, + "noEmit": false, + "emitDeclarationOnly": false, "strict": false, "noFallthroughCasesInSwitch": false } diff --git a/tsconfig.json b/tsconfig.json index 29c749818..dd085be09 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -2,6 +2,7 @@ "$schema": "https://json.schemastore.org/tsconfig", "extends": ["./tsconfig.build.json", "./tsconfig.paths.json"], "compilerOptions": { + "allowImportingTsExtensions": true, "noEmit": true, "allowJs": true, }, From 61b2b3ea01e44aec5dc426a1ec01e405a5152d75 Mon Sep 17 00:00:00 2001 From: Victor Trinh <victor.trinh@gsoft.com> Date: Thu, 7 Nov 2024 15:33:59 -0500 Subject: [PATCH 89/95] Table --- .storybook/components/table/Table.tsx | 1 + .storybook/styles/docs.css | 61 +++++++++++++++++++++++++++ 2 files changed, 62 insertions(+) diff --git a/.storybook/components/table/Table.tsx b/.storybook/components/table/Table.tsx index e1b90af48..87ff67ad4 100644 --- a/.storybook/components/table/Table.tsx +++ b/.storybook/components/table/Table.tsx @@ -41,6 +41,7 @@ interface TableRawProps extends ComponentProps<"table"> { function TableRaw({ fluid, className, children, ...rest }: TableRawProps) { const classes = mergeClasses( + "orbiter-doc-table", fluid && "w-100", className ); diff --git a/.storybook/styles/docs.css b/.storybook/styles/docs.css index f4c024921..692d2c085 100644 --- a/.storybook/styles/docs.css +++ b/.storybook/styles/docs.css @@ -249,6 +249,67 @@ p.orbiter-doc-p, max-width: 90ch; } +/* ELEMENTS | TABLE */ +table.orbiter-doc-table tr { + border-top: 1px solid var(--hop-neutral-border-weakest); +} + +table.orbiter-doc-table .thead tr th { + background-color: var(--hop-neutral-surface-weak); + color: inherit; +} + +table.orbiter-doc-table thead tr { + border-top: 1px solid var(--hop-neutral-border-weakest); + border-left: 1px solid var(--hop-neutral-border-weakest); + border-right: 1px solid var(--hop-neutral-border-weakest); + color: var(--hop-neutral-text); +} + +table.orbiter-doc-table tr th { + font-weight: 600; + font-size: var(--hop-body-md-font-size); +} + +table.orbiter-doc-table td { + font-size: var(--hop-body-sm-medium-font-size); +} + +table.orbiter-doc-table tr td, +table.orbiter-doc-table tr th { + border-top: 1px solid var(--hop-neutral-border-weakest); + border-bottom: 1px solid var(--hop-neutral-border-weakest); + border-left: 0; + border-right: 0; + color: var(--hop-neutral-text); + background-color: var(--hop-neutral-surface); +} + +table.orbiter-doc-table tbody { + border: 1px solid var(--hop-neutral-border-weakest); +} + +table.orbiter-doc-table a { + font-size: var(--hop-body-sm-medium-font-size) !important; +} + +table.orbiter-doc-table .code a { + font-family: Consolas, monaco, monospace !important; +} + +table.orbiter-doc-table .example { + color: var(--hop-neutral-text); +} + +table.orbiter-doc-table b, +table.orbiter-doc-table strong { + font-weight: 400; +} + +table.orbiter-doc-table .sbdocs.sbdocs-img { + max-width: none; +} + /* ELEMENTS | SUMMARY */ .sb-show-main summary { font-size: var(--hop-body-md-font-size); From 5330720af2e8a1ff4ecf687b29573cbe0af6f2bf Mon Sep 17 00:00:00 2001 From: Victor Trinh <victor.trinh@gsoft.com> Date: Fri, 8 Nov 2024 13:32:19 -0500 Subject: [PATCH 90/95] Fix code blocks styling --- .storybook/components/index.ts | 1 + .storybook/components/source/Source.tsx | 10 ++++++ .storybook/components/source/index.ts | 1 + .storybook/styles/docs.css | 16 +++++++++ docs/features/As.mdx | 7 ++-- docs/features/ResponsiveStyles.mdx | 5 +-- docs/features/Slots.mdx | 13 ++++---- docs/features/color-schemes/ColorSchemes.mdx | 9 +++--- docs/features/style-props/StyleProps.mdx | 34 ++++++++++---------- docs/features/tokens/Tokens.mdx | 7 ++-- docs/getting-started/Installation.mdx | 16 ++++----- docs/materials/icons.mdx | 14 ++++---- 12 files changed, 83 insertions(+), 50 deletions(-) create mode 100644 .storybook/components/source/Source.tsx create mode 100644 .storybook/components/source/index.ts diff --git a/.storybook/components/index.ts b/.storybook/components/index.ts index 4374d253e..555446e28 100644 --- a/.storybook/components/index.ts +++ b/.storybook/components/index.ts @@ -8,3 +8,4 @@ export * from "./component-info"; export * from "./snippet"; export * from "./themed-snippet"; export * from "./banner"; +export * from "./source"; diff --git a/.storybook/components/source/Source.tsx b/.storybook/components/source/Source.tsx new file mode 100644 index 000000000..30bb50130 --- /dev/null +++ b/.storybook/components/source/Source.tsx @@ -0,0 +1,10 @@ +import React, { ComponentProps } from "react"; +import { Source as StorybookSource } from "@storybook/addon-docs"; + +type SourceProps = ComponentProps<typeof StorybookSource>; + +export const Source = (props: SourceProps) => { + const { language = "tsx", ...otherProps } = props; + + return <StorybookSource language={language} dark {...otherProps} />; +}; diff --git a/.storybook/components/source/index.ts b/.storybook/components/source/index.ts new file mode 100644 index 000000000..466203207 --- /dev/null +++ b/.storybook/components/source/index.ts @@ -0,0 +1 @@ +export * from "./Source"; diff --git a/.storybook/styles/docs.css b/.storybook/styles/docs.css index 692d2c085..ff31d8916 100644 --- a/.storybook/styles/docs.css +++ b/.storybook/styles/docs.css @@ -114,6 +114,22 @@ margin-bottom: 35px !important; } +pre.prismjs { + padding: var(--hop-space-inset-lg) !important; + font-size: 15px; + border-radius: var(--hop-shape-rounded-md); + overflow-x: auto; + margin: 0; +} + +pre.prismjs span.token.function { + color: rgb(80, 250, 123); +} + +pre.prismjs span.token.atrule.rule { + color: rgb(248, 248, 242); +} + .sbdocs.sbdocs-preview, .sbdocs.sbdocs-pre { border: none; diff --git a/docs/features/As.mdx b/docs/features/As.mdx index dcff55308..68e2965e0 100644 --- a/docs/features/As.mdx +++ b/docs/features/As.mdx @@ -1,4 +1,5 @@ -import { Meta, Source } from "@storybook/addon-docs"; +import { Meta } from "@storybook/addon-docs"; +import { Source } from "@stories/components"; <Meta title="Features/As" @@ -13,7 +14,7 @@ This function allows you to change the *underlying element type* of a component To specify a new underlying type: -<Source dark language="tsx" code={` +<Source code={` import { as, TextLink } from "@workleap/orbiter-ui"; const TextLinkAsButton = as(TextLink, "button"); @@ -23,7 +24,7 @@ const TextLinkAsButton = as(TextLink, "button"); To integrate with a third party: -<Source dark language="tsx" code={` +<Source code={` import { as, TextLink } from "@workleap/orbiter-ui"; import { Link as ReactRouterLink } from "react-router-dom"; diff --git a/docs/features/ResponsiveStyles.mdx b/docs/features/ResponsiveStyles.mdx index 2124ad7c0..d0b70fd62 100644 --- a/docs/features/ResponsiveStyles.mdx +++ b/docs/features/ResponsiveStyles.mdx @@ -1,7 +1,8 @@ -import { Meta, Canvas, Source } from "@storybook/addon-docs"; +import { Meta, Canvas } from "@storybook/addon-docs"; import { Table } from "@stories/components"; import { Preview } from "@stories/components"; import * as ResponsiveStylesStories from "./ResponsiveStyles.stories"; +import { Source } from "@stories/components"; <Meta of={ResponsiveStylesStories} /> @@ -25,7 +26,7 @@ Not all breakpoints must be explicitly defined. In the following example, `base` To resolve a responsive value within a React component, Orbiter provides the `useResponsiveValue` hook. -<Source dark language="tsx" code={` +<Source code={` import { useResponsiveValue } from "@workleap/orbiter-ui"; const fluidValue = useResponsiveValue({ base: true, lg: false }); diff --git a/docs/features/Slots.mdx b/docs/features/Slots.mdx index 3b3d4e8e5..c65c56167 100644 --- a/docs/features/Slots.mdx +++ b/docs/features/Slots.mdx @@ -1,4 +1,5 @@ -import { Meta, Source } from "@storybook/addon-docs"; +import { Meta } from "@storybook/addon-docs"; +import { Source } from "@stories/components"; <Meta title="Features/Slots" @@ -15,7 +16,7 @@ In Orbiter, component placeholders are fulfilled through his children and slots In the following example, the `<Text>` component *implicitly* fulfill the `text` slot of the button and the `<LightbulbIcon>` component *explicitly* fulfill the `end-icon` slot of the button. -<Source dark language="tsx" code={` +<Source code={` <Button variant="secondary"> <Text>Cutoff</Text> <LightbulbIcon slot="end-icon" /> @@ -30,7 +31,7 @@ Some of Orbiter components which are considered *slotables* are defined to autom For example, an `<Icon>` component will implicitly fulfill the `icon` slot of a `<Button>` when defined as his child. -<Source dark language="tsx" code={` +<Source code={` <Button variant="secondary"> <LightbulbIcon /> <Text>Cutoff</Text> @@ -40,7 +41,7 @@ For example, an `<Icon>` component will implicitly fulfill the `icon` slot of a An implicit slot can be defined on a custom component by using the `slot` function. -<Source dark language="tsx" code={` +<Source code={` import { slot } from "@workleap/orbiter-ui"; export const MyComponent = slot("name-of-the-slot-to-fulfill-by-default", () => ( @@ -52,7 +53,7 @@ export const MyComponent = slot("name-of-the-slot-to-fulfill-by-default", () => Sometimes, we want to force a component into a specific placeholder of a component. To do so, an *explicit* slot can be specified on a child component with the `slot` prop. *Explicit slots will have precedence over implicit slots*. -<Source dark language="tsx" code={` +<Source code={` <Button variant="secondary"> <Text>Cutoff</Text> <LightbulbIcon slot="end-icon" /> @@ -62,7 +63,7 @@ Sometimes, we want to force a component into a specific placeholder of a compone For native HTML elements, instead of specifying an explicit slot directly on the native element, we recommend using [Orbiter HTML elements](?path=/docs/html-anchor--example). -<Source dark language="tsx" code={` +<Source code={` <Card> <H1>SpaceX delays launch of South Korean military satellite</H1> <Div slot="content">SpaceX postponed the upcoming launch of a South Korean military satellite Monday (July 13), due to hardware issues with the Falcon 9 rocket.</Div> diff --git a/docs/features/color-schemes/ColorSchemes.mdx b/docs/features/color-schemes/ColorSchemes.mdx index 4fc1e3d41..d1518a207 100644 --- a/docs/features/color-schemes/ColorSchemes.mdx +++ b/docs/features/color-schemes/ColorSchemes.mdx @@ -1,4 +1,5 @@ -import { Meta, Canvas, Source } from "@storybook/addon-docs"; +import { Meta, Canvas } from "@storybook/addon-docs"; +import { Source } from "@stories/components"; import * as ColorSchemesStories from "./ColorSchemes.stories"; <Meta of={ColorSchemesStories} /> @@ -11,11 +12,11 @@ Orbiter supports by default a *light* and a *dark* color scheme for all componen A color scheme can either be enforced by providing a specific `light` or `dark` value to a [theme provider](?path=/story/theme-provider--default-story): -<Source dark language="tsx" of={ColorSchemesStories.Apply} /> +<Source of={ColorSchemesStories.Apply} /> or be selected according to the [user's operating system setting](https://developer.mozilla.org/en-US/docs/Web/CSS/@media/prefers-color-scheme) by providing the `system` value: -<Source dark language="tsx" of={ColorSchemesStories.ApplySystem} /> +<Source of={ColorSchemesStories.ApplySystem} /> > When the `system` value is provided, an additional *fallback* color scheme must be specified to `defaultColorScheme` in case the theme provider is not able to access the user setting. @@ -35,4 +36,4 @@ Some features requires the usage of custom colors. Those colors aren't like Orbi To help with that, Orbiter offer the `useColorSchemeValue` hook which will return the value matching the current color scheme of the closest [theme provider](?path=/story/theme-provider--default-story). -<Source dark language="tsx" of={ColorSchemesStories.UseColorSchemeValueStory} /> +<Source of={ColorSchemesStories.UseColorSchemeValueStory} /> diff --git a/docs/features/style-props/StyleProps.mdx b/docs/features/style-props/StyleProps.mdx index 293bb74f2..86db5ed89 100644 --- a/docs/features/style-props/StyleProps.mdx +++ b/docs/features/style-props/StyleProps.mdx @@ -1,5 +1,5 @@ -import { Table } from "@stories/components"; -import { Meta, Canvas, Source } from "@storybook/addon-docs"; +import { Table, Source } from "@stories/components"; +import { Meta, Canvas } from "@storybook/addon-docs"; import { Div } from "@components/html"; import { Paragraph } from "@components/typography"; import { PropsReferenceTable } from "./PropsReferenceTable"; @@ -15,7 +15,7 @@ An Orbiter style property is a mapping of a [CSS property](https://developer.moz To apply a style value, set a value to any [style property](#properties) of an Orbiter component. -<Source dark language="tsx" code={` +<Source code={` <Div fontSize="1.375rem" fontWeight={680} @@ -33,7 +33,7 @@ To apply a style value, set a value to any [style property](#properties) of an O Props like `border` and `paddingX` are also provided to help you save keystrokes. An exhaustive list of all the supported props is available in the [reference](#properties) section. -<Source dark language="tsx" code={` +<Source code={` <Div paddingY={80} border="primary"> @@ -94,7 +94,7 @@ To facilitate layouts, Orbiter provides specialized components for [grid](https: When applicable, always prefer using a [`<Grid>`](?path=/docs/grid--areas) or [`<Flex>`](?path=/docs/flex--horizontal) component instead of a [`<Div>`](?path=/docs/html-div--example) component. -<Source dark language="tsx" code={` +<Source code={` <Grid templateColumns="1fr 1fr" gap={80} height={800}> <Div backgroundColor="sapphire-500" /> <Div backgroundColor="amanita-500" /> @@ -109,7 +109,7 @@ Any component can accept style properties. To accept style properties, the compo Passing the style props to an Orbiter component: -<Source dark language="tsx" code={` +<Source code={` import { HtmlButton, StyledComponentProps } from "@workleap/orbiter-ui"; interface CustomButtonProps extends StyledComponentProps { @@ -125,7 +125,7 @@ function CustomButton(props: CustomButtonProps) { Using the `useStyledSystem` hook: -<Source dark language="tsx" code={` +<Source code={` import { StyledComponentProps, useStyledSystem } from "@workleap/orbiter-ui"; interface CustomButtonProps extends StyledComponentProps { @@ -151,7 +151,7 @@ The following tables provide a list of all available style props by category. ### Space -<Source dark language="tsx" code={` +<Source code={` <Div padding={160}> Galaxy </Div> @@ -179,7 +179,7 @@ The following tables provide a list of all available style props by category. ### Color -<Source dark language="tsx" code={` +<Source code={` <Text backgroundColor="primary-weak" color="#FFFFFF"> Galaxy </Text> @@ -198,7 +198,7 @@ The following tables provide a list of all available style props by category. ### Typography -<Source dark language="tsx" code={` +<Source code={` <Header letterSpacing="0.3rem"> Halleys Comet </Header> @@ -221,7 +221,7 @@ The following tables provide a list of all available style props by category. ### Layout -<Source dark language="tsx" code={` +<Source code={` <Div width="30rem"> Galaxy </Div> @@ -255,7 +255,7 @@ The following tables provide a list of all available style props by category. ### Flex Layout -<Source dark language="tsx" code={` +<Source code={` <Div alignItems="center"> <Text>Andromeda</Text> <Text>Batuu</Text> @@ -279,7 +279,7 @@ The following tables provide a list of all available style props by category. ### Grid Layout -<Source dark language="tsx" code={` +<Source code={` <Div gridAutoFlow="row dense"> <Text>Andromeda</Text> <Text>Batuu</Text> @@ -312,7 +312,7 @@ The following tables provide a list of all available style props by category. ### Background -<Source dark language="tsx" code={` +<Source code={` <Div backgroundImage="url('/images/dog.png')" backgroundPosition="center" @@ -331,7 +331,7 @@ The following tables provide a list of all available style props by category. ### Border -<Source dark language="tsx" code={` +<Source code={` <Div border="primary" borderRadius="rounded-md" @@ -360,7 +360,7 @@ Border props (border, borderBottom, borderTop, borderRight, borderLeft) uses an ### Position -<Source dark language="tsx" code={` +<Source code={` <Div top="12px" position="absolute" @@ -382,7 +382,7 @@ Border props (border, borderBottom, borderTop, borderRight, borderLeft) uses an ### Shadow -<Source dark language="tsx" code={` +<Source code={` <Div boxShadow="lifted" /> diff --git a/docs/features/tokens/Tokens.mdx b/docs/features/tokens/Tokens.mdx index bfb932303..fca7e1216 100644 --- a/docs/features/tokens/Tokens.mdx +++ b/docs/features/tokens/Tokens.mdx @@ -1,4 +1,5 @@ -import { Meta, Source, Story } from "@storybook/addon-docs"; +import { Meta, Story } from "@storybook/addon-docs"; +import { Source } from "@stories/components"; import { TextColors, BackgroundColors, @@ -30,11 +31,11 @@ Tokens are Orbiter's reusable values to provide a common language between develo Tokens can be used as [style props](/docs/style-props--docs) values: -<Source dark language="tsx" of={TokensStories.Usage} /> +<Source of={TokensStories.Usage} /> Or `CSS` variables: -<Source dark language="css" code={` +<Source language="css" code={` .item { background-color: var(--hop-neutral-surface-weak); } diff --git a/docs/getting-started/Installation.mdx b/docs/getting-started/Installation.mdx index c73d0f55c..0b2a8216e 100644 --- a/docs/getting-started/Installation.mdx +++ b/docs/getting-started/Installation.mdx @@ -1,5 +1,5 @@ -import { Meta, Source } from "@storybook/addon-docs"; -import { Banner, ExternalLink } from "@stories/components"; +import { Meta } from "@storybook/addon-docs"; +import { Banner, ExternalLink, Source } from "@stories/components"; <Meta title="Installation" @@ -18,7 +18,7 @@ Multiple [NPM packages](https://www.npmjs.com/settings/orbiter-ui/packages) comp To install Orbiter, open a terminal at the root of your project workspace and run the following command: -<Source dark language="bash" code={` +<Source language="bash" code={` pnpm install @workleap/orbiter-ui `} /> @@ -28,7 +28,7 @@ Orbiter styles include the ShareGate font, a [CSS bootstrap](https://github.com/ To import Orbiter styles, add the following import declaration to your root stylesheet: -<Source dark language="css" code={` +<Source language="css" code={` /* index.css */ @import "@workleap/orbiter-ui/index.css"; @@ -42,13 +42,13 @@ Orbiter offer an ESLint plugin to see in-context help in your IDE. This includes First, add the ESlint plugin to your dependencies: -<Source dark language="bash" code={` +<Source language="bash" code={` npm install @orbit-ui/eslint-plugin eslint `} /> Then, add the plugin to your ESlint config. For example, your `.eslintrc.json` file may look like this: -<Source dark language="json" code={` +<Source language="json" code={` { "$schema": "https://json.schemastore.org/eslintrc", "plugins": ["@orbit-ui"], @@ -64,7 +64,7 @@ More about [ESlint configuration](https://eslint.org/docs/latest/use/configure/c Below is an example of how to configure an application: -<Source dark language="tsx" code={` +<Source code={` // index.ts import { ThemeProvider } from "@workleap/orbiter-ui"; @@ -83,7 +83,7 @@ root.render( You're all set! You can start creating your application with Orbiter: -<Source dark language="tsx" code={` +<Source code={` import { Div, Text } from "@workleap/orbiter-ui"; export const App = () => ( diff --git a/docs/materials/icons.mdx b/docs/materials/icons.mdx index 418b5d5fe..3db593d24 100644 --- a/docs/materials/icons.mdx +++ b/docs/materials/icons.mdx @@ -1,5 +1,5 @@ -import { Meta, Source } from "@storybook/addon-docs"; -import { Table } from "@stories/components"; +import { Meta } from "@storybook/addon-docs"; +import { Table, Source } from "@stories/components"; import { Preview } from "@stories/components"; <Meta @@ -25,7 +25,7 @@ Hopper provides two methods for creating your custom icons: The `createIcon` function is a convenience wrapper around the process of generating icons with Icon, allowing you to achieve the same functionality with less effort. -<Source dark language="tsx" code={` +<Source code={` import { Icon, createIcon } from "@hopper-ui/icons" `} /> @@ -35,7 +35,7 @@ Both `Icon` and `createIcon` enable you to style the icon using the styled syste The `createIcon` function is a convenience wrapper around the process of generating icons with Icon, allowing you to achieve the same functionality with less effort. -<Source dark language="tsx" code={` +<Source code={` import { ReactComponent as MyIcon16 } from "./path/to/my-icon-16.svg"; import { ReactComponent as MyIcon24 } from "./path/to/my-icon-24.svg"; import { ReactComponent as MyIcon32 } from "./path/to/my-icon-32.svg"; @@ -48,7 +48,7 @@ const MyIconWithOnlyOneSize = createIcon(MyIconWithOnlyOneSizeSource, MyIconWith ### Using the Icon component -<Source dark language="tsx" code={` +<Source code={` import { ReactComponent as MyIcon16 } from "./path/to/my-icon-16.svg" import { ReactComponent as MyIcon24 } from "./path/to/my-icon-24.svg" import { ReactComponent as MyIcon32 } from "./path/to/my-icon-32.svg" @@ -72,7 +72,7 @@ function MyIcon(props: CreatedIconProps) { Icons support t-shirt sizing. When used inside another Hopper component, they'll generally be sized automatically, but if you use icons standalone, you can use the size prop to control the sizing. The default size is "md". -<Source dark language="tsx" code={` +<Source code={` <MyIcon size="sm" /> <MyIcon size="md" /> <MyIcon size="lg" /> @@ -83,7 +83,7 @@ Icons support t-shirt sizing. When used inside another Hopper component, they'll The color of the icon can be change using the `fill` prop. All the styled system props are also available. -<Source dark language="tsx" code={` +<Source code={` <MyIcon fill="primary" /> `} /> From 7249dadbe3119b1e09cb776e62fd0c71eedf3fce Mon Sep 17 00:00:00 2001 From: Victor Trinh <victor.trinh@gsoft.com> Date: Fri, 8 Nov 2024 14:31:18 -0500 Subject: [PATCH 91/95] Fix lint --- .storybook/mdx/typography/Heading.tsx | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/.storybook/mdx/typography/Heading.tsx b/.storybook/mdx/typography/Heading.tsx index 49960d454..73bd97430 100644 --- a/.storybook/mdx/typography/Heading.tsx +++ b/.storybook/mdx/typography/Heading.tsx @@ -1,8 +1,9 @@ +import React from "react"; import { mergeProps } from "../../../packages/components/src/shared"; -export const H1 = props => <h1 {...mergeProps(props, { className: "orbiter-doc-h1" })} />; -export const H2 = props => <h2 {...mergeProps(props, { className: "orbiter-doc-h2" })} />; -export const H3 = props => <h3 {...mergeProps(props, { className: "orbiter-doc-h3" })} />; -export const H4 = props => <h4 {...mergeProps(props, { className: "orbiter-doc-h4" })} />; -export const H5 = props => <h5 {...mergeProps(props, { className: "orbiter-doc-h5" })} />; -export const H6 = props => <h6 {...mergeProps(props, { className: "orbiter-doc-h6" })} />; +export const H1 = ({ children, ...props }) => <h1 {...mergeProps(props, { className: "orbiter-doc-h1" })}>{children}</h1>; +export const H2 = ({ children, ...props }) => <h2 {...mergeProps(props, { className: "orbiter-doc-h2" })}>{children}</h2>; +export const H3 = ({ children, ...props }) => <h3 {...mergeProps(props, { className: "orbiter-doc-h3" })}>{children}</h3>; +export const H4 = ({ children, ...props }) => <h4 {...mergeProps(props, { className: "orbiter-doc-h4" })}>{children}</h4>; +export const H5 = ({ children, ...props }) => <h5 {...mergeProps(props, { className: "orbiter-doc-h5" })}>{children}</h5>; +export const H6 = ({ children, ...props }) => <h6 {...mergeProps(props, { className: "orbiter-doc-h6" })}>{children}</h6>; From be0e32b1bf643248cf75a733ae547967d3d2f991 Mon Sep 17 00:00:00 2001 From: Alexandre Asselin <alexandre.asselin@gsoft.com> Date: Fri, 8 Nov 2024 14:41:45 -0500 Subject: [PATCH 92/95] update dependencies and try to fix jest --- .../react-testing-library.d.ts | 0 jest.config.ts | 26 +- package.json | 5 +- packages/bundle/tsconfig.build.json | 21 - packages/bundle/tsconfig.json | 16 + packages/components/jest.config.ts | 23 + packages/components/package.json | 36 +- packages/components/setupTests.ts | 10 + .../chromatic/TabsHeading-hopper.stories.tsx | 14 +- .../chromatic/TabsInCard-hopper.stories.tsx | 14 +- .../TabsStandalone-hopper.stories.tsx | 14 +- .../chromatic/TabsVertical-hopper.stories.tsx | 6 +- .../components/swc.jest.ts | 0 .../components/tests/jest/exports.test.ts | 9 +- packages/components/tsconfig.build.json | 16 - packages/components/tsconfig.json | 20 + pnpm-lock.yaml | 774 +++++++++++++++--- pnpm-workspace.yaml | 3 +- setupTests.ts | 5 - tsconfig.build.json | 11 - tsconfig.json | 15 +- tsconfig.paths.json | 15 - 22 files changed, 814 insertions(+), 239 deletions(-) rename {tooling/test-utils/@types => @types}/react-testing-library.d.ts (100%) delete mode 100644 packages/bundle/tsconfig.build.json create mode 100644 packages/bundle/tsconfig.json create mode 100644 packages/components/jest.config.ts create mode 100644 packages/components/setupTests.ts rename swc.jest.ts => packages/components/swc.jest.ts (100%) delete mode 100644 packages/components/tsconfig.build.json create mode 100644 packages/components/tsconfig.json delete mode 100644 setupTests.ts delete mode 100644 tsconfig.build.json delete mode 100644 tsconfig.paths.json diff --git a/tooling/test-utils/@types/react-testing-library.d.ts b/@types/react-testing-library.d.ts similarity index 100% rename from tooling/test-utils/@types/react-testing-library.d.ts rename to @types/react-testing-library.d.ts diff --git a/jest.config.ts b/jest.config.ts index 5455b8e67..d4e42e023 100644 --- a/jest.config.ts +++ b/jest.config.ts @@ -1,27 +1,13 @@ -import { defineJestConfig } from "@workleap/swc-configs"; import type { Config } from "jest"; -export const swcConfig = defineJestConfig({ - react: true -}); - const config: Config = { - testEnvironment: "jsdom", - transform: { - "^.+\\.(js|ts|tsx)$": ["@swc/jest", swcConfig as Record<string, unknown>] - }, - testMatch: [ - "**/tests/jest/*.test.ts?(x)" + projects: [ + "<rootDir>/packages/*" ], - moduleNameMapper: { - "\\.css$": "identity-obj-proxy" - // ...pathsToModuleNameMapper(compilerOptions.paths, { - // prefix: "<rootDir>" - // }) - }, - setupFilesAfterEnv: [ - "<rootDir>/setupTests.ts" - ] + testPathIgnorePatterns: ["/node_modules/", "/dist/"], + cacheDirectory: "./node_modules/.cache/jest", + clearMocks: true, + verbose: true }; export default config; diff --git a/package.json b/package.json index 89095f326..13a085e28 100644 --- a/package.json +++ b/package.json @@ -27,10 +27,10 @@ "lint": "pnpm run \"/^lint:.*/\"", "lint:eslint": "eslint --ext .js,.jsx,.ts,.tsx,.mdx . --cache --cache-location node_modules/.cache/.eslintcache", "lint:style": "stylelint \"**/*.css\" --allow-empty-input --cache", - "lint:typecheck": "cross-env NODE_OPTIONS=--max-old-space-size=8192 tsc", + "lint:typecheck": "pnpm -r --parallel --include-workspace-root exec tsc --noEmit", "lint-ci-eslint": "eslint --ext .js,.jsx,.ts,.tsx,.mdx . --max-warnings=0", "lint-ci-style": "stylelint \"**/*.css\" --allow-empty-input", - "lint-ci-typecheck": "tsc", + "lint-ci-typecheck": "pnpm -r --parallel --include-workspace-root exec tsc --noEmit", "list-outdated-deps": "pnpm outdated -r --format list", "update-outdated-deps": "pnpm update -r --latest \"!eslint\"", "test": "cross-env NODE_OPTIONS=--experimental-vm-modules jest", @@ -95,6 +95,7 @@ "formik": "2.4.6", "identity-obj-proxy": "3.0.0", "jest": "29.7.0", + "jest-environment-jsdom": "29.7.0", "meow": "9.0.0", "netlify-cli": "8.6.18", "prettier": "3.3.3", diff --git a/packages/bundle/tsconfig.build.json b/packages/bundle/tsconfig.build.json deleted file mode 100644 index 7f7c4512e..000000000 --- a/packages/bundle/tsconfig.build.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "extends": "../../tsconfig.build.json", - "compilerOptions": { - "composite": true, - "rootDir": "./src", - "outDir": "./dist", - "baseUrl": ".", - "paths": { - "@orbit-ui/transition-components": ["../components/src/index.ts"], - } - }, - "include": [ - "src/**/*", - "../../@types/*" - ], - "references": [ - { - "path": "../components/tsconfig.build.json" - } - ], -} diff --git a/packages/bundle/tsconfig.json b/packages/bundle/tsconfig.json new file mode 100644 index 000000000..9c28a0dd1 --- /dev/null +++ b/packages/bundle/tsconfig.json @@ -0,0 +1,16 @@ +{ + "extends": "@workleap/typescript-configs/library.json", + "compilerOptions": { + "allowJs": true, + "strict": false, + "noFallthroughCasesInSwitch": false, + "paths": { + "@orbit-ui/transition-components": ["../components/src/index.ts"], + } + }, + "include": [ + "**/*", + "../../@types/*" + ], + "exclude": ["dist", "node_modules"], +} diff --git a/packages/components/jest.config.ts b/packages/components/jest.config.ts new file mode 100644 index 000000000..e6a1ddf18 --- /dev/null +++ b/packages/components/jest.config.ts @@ -0,0 +1,23 @@ +import type { Config } from "jest"; +import { pathsToModuleNameMapper } from "ts-jest"; +import { swcConfig } from "./swc.jest.ts"; +import { compilerOptions } from "./tsconfig.json"; + +const config: Config = { + testEnvironment: "jsdom", + transform: { + "^.+\\.(js|ts|tsx)$": ["@swc/jest", swcConfig as Record<string, unknown>] + }, + moduleNameMapper: { + "\\.css$": "identity-obj-proxy", // https://jestjs.io/docs/webpack#mocking-css-modules + ...pathsToModuleNameMapper(compilerOptions.paths, { + prefix: "<rootDir>" + }) + }, + testRegex: "/tests/jest/*/.*\\.test\\.(ts|tsx)$", + setupFilesAfterEnv: ["<rootDir>/setupTests.ts"], + extensionsToTreatAsEsm: [".ts", ".tsx"], + transformIgnorePatterns: [] +}; + +export default config; diff --git a/packages/components/package.json b/packages/components/package.json index 5a0c6a921..16ba21cb3 100644 --- a/packages/components/package.json +++ b/packages/components/package.json @@ -34,7 +34,8 @@ "scripts": { "prebuild": "pnpm clean", "build": "tsup --config ./tsup.build.ts", - "clean": "pnpm dlx rimraf dist" + "clean": "pnpm dlx rimraf dist", + "test": "jest" }, "peerDependencies": { "@hopper-ui/components": "*", @@ -53,7 +54,38 @@ "devDependencies": { "@hopper-ui/components": "^1.3.20", "@hopper-ui/styled-system": "^2.4.0", - "react-aria-components": "^1.2.1" + "@swc/core": "1.7.36", + "@swc/helpers": "0.5.13", + "@swc/jest": "0.2.36", + "@testing-library/dom": "10.4.0", + "@testing-library/jest-dom": "6.6.1", + "@testing-library/react": "16.0.1", + "@testing-library/user-event": "14.5.2", + "@types/jest": "29.5.13", + "@types/react": "18.3.11", + "@types/react-dom": "18.3.1", + "@types/react-is": "18.3.0", + "@types/resize-observer-browser": "0.1.11", + "@typescript-eslint/parser": "8.10.0", + "@workleap/swc-configs": "2.2.3", + "@workleap/tsup-configs": "3.0.6", + "@workleap/typescript-configs": "3.0.2", + "csstype": "*", + "date-fns": "2.29.3", + "eslint": "8.57.1", + "eslint-plugin-sort-destructure-keys": "2.0.0", + "eslint-plugin-sort-keys-fix": "1.1.2", + "eslint-plugin-typescript-sort-keys": "3.3.0", + "identity-obj-proxy": "3.0.0", + "jest": "29.7.0", + "jest-environment-jsdom": "29.7.0", + "react-aria-components": "^1.2.1", + "react-test-renderer": "18.3.1", + "resize-observer-polyfill": "1.5.1", + "ts-node": "10.9.2", + "ts-jest": "29.2.5", + "tsup": "8.3.0", + "typescript": "5.4.5" }, "gitHead": "f8b5019bdc53f68abe27e931387aeec7f0747d85" } diff --git a/packages/components/setupTests.ts b/packages/components/setupTests.ts new file mode 100644 index 000000000..c209340a0 --- /dev/null +++ b/packages/components/setupTests.ts @@ -0,0 +1,10 @@ +import "@testing-library/jest-dom"; +import "@testing-library/jest-dom/jest-globals"; +import ResizeObserver from "resize-observer-polyfill"; +import { jest } from "@jest/globals"; + +// this break since we changed to ESM, don't know why +// @ts-ignore +global.ResizeObserver = ResizeObserver; + +global.jest = jest; diff --git a/packages/components/src/tabs/tests/chromatic/TabsHeading-hopper.stories.tsx b/packages/components/src/tabs/tests/chromatic/TabsHeading-hopper.stories.tsx index 30a3f5771..8847cfd10 100644 --- a/packages/components/src/tabs/tests/chromatic/TabsHeading-hopper.stories.tsx +++ b/packages/components/src/tabs/tests/chromatic/TabsHeading-hopper.stories.tsx @@ -4,7 +4,7 @@ import { Content, Header } from "@components/placeholders/index.ts"; import { Item } from "@components/collection/index.ts"; import { Div } from "@components/html/index.ts"; import { Stack } from "@components/layout/index.ts"; -import { Text, Tag, TagList, TagGroup } from "@hopper-ui/components"; +import { Text, Tag, TagGroup } from "@hopper-ui/components"; import { Meta, StoryObj } from "@storybook/react"; @@ -184,7 +184,7 @@ export const TabWithLozenge: TabsStory = { <Item> <Header> <Text>Mars</Text> - <TagGroup slot="lozenge" aria-label="New"><TagList><Tag>New</Tag></TagList></TagGroup> + <TagGroup slot="lozenge" aria-label="New"><Tag>New</Tag></TagGroup> </Header> <Content>Mars is the fourth planet from the Sun and the second-smallest planet.</Content> </Item> @@ -192,7 +192,7 @@ export const TabWithLozenge: TabsStory = { <Header> <NotificationIcon /> <Text>Jupiter</Text> - <TagGroup slot="lozenge" aria-label="New"><TagList><Tag>New</Tag></TagList></TagGroup> + <TagGroup slot="lozenge" aria-label="New"><Tag>New</Tag></TagGroup> </Header> <Content>Jupiter is the fifth planet from the Sun and the largest in the Solar System.</Content> </Item> @@ -378,7 +378,7 @@ export const Overflow: TabsStory = { <Item key="earth"> <Header> <Text>Earth</Text> - <TagGroup slot="lozenge" aria-label="Home"><TagList><Tag>Home</Tag></TagList></TagGroup> + <TagGroup slot="lozenge" aria-label="Home"><Tag>Home</Tag></TagGroup> </Header> <Content>Earth—our home planet—is the only place we know of so far that’s inhabited by living things. It's also the only planet in our solar system with liquid water on the surface.</Content> </Item> @@ -400,7 +400,7 @@ export const Overflow: TabsStory = { <Header> <NotificationIcon /> <Text>Neptune</Text> - <TagGroup slot="lozenge" aria-label="New"><TagList><Tag>New</Tag></TagList></TagGroup> + <TagGroup slot="lozenge" aria-label="New"><Tag>New</Tag></TagGroup> </Header> <Content>Neptune—the eighth and most distant major planet orbitering our Sun—is dark, cold and whipped by supersonic winds. It was the first planet located through mathematical calculations, rather than by telescope.</Content> </Item> @@ -429,7 +429,7 @@ export const OverflowFluid: TabsStory = { <Item key="earth"> <Header> <Text>Earth</Text> - <TagGroup slot="lozenge" aria-label="Home"><TagList><Tag>Home</Tag></TagList></TagGroup> + <TagGroup slot="lozenge" aria-label="Home"><Tag>Home</Tag></TagGroup> </Header> <Content>Earth—our home planet—is the only place we know of so far that’s inhabited by living things. It's also the only planet in our solar system with liquid water on the surface.</Content> </Item> @@ -470,7 +470,7 @@ export const OverflowNotCollapsible: TabsStory = { <Item key="earth"> <Header> <Text>Earth</Text> - <TagGroup slot="lozenge" aria-label="Home"><TagList><Tag>Home</Tag></TagList></TagGroup> + <TagGroup slot="lozenge" aria-label="Home"><Tag>Home</Tag></TagGroup> </Header> <Content>Earth—our home planet—is the only place we know of so far that’s inhabited by living things. It's also the only planet in our solar system with liquid water on the surface.</Content> </Item> diff --git a/packages/components/src/tabs/tests/chromatic/TabsInCard-hopper.stories.tsx b/packages/components/src/tabs/tests/chromatic/TabsInCard-hopper.stories.tsx index 80bab08c9..736632bab 100644 --- a/packages/components/src/tabs/tests/chromatic/TabsInCard-hopper.stories.tsx +++ b/packages/components/src/tabs/tests/chromatic/TabsInCard-hopper.stories.tsx @@ -4,7 +4,7 @@ import { Content, Header } from "@components/placeholders/index.ts"; import { Item } from "@components/collection/index.ts"; import { Div } from "@components/html/index.ts"; import { Stack } from "@components/layout/index.ts"; -import { Text, Tag, TagList, TagGroup } from "@hopper-ui/components"; +import { Text, Tag, TagGroup } from "@hopper-ui/components"; import { Meta, StoryObj } from "@storybook/react"; @@ -184,7 +184,7 @@ export const TabWithLozenge: TabsStory = { <Item> <Header> <Text>Mars</Text> - <TagGroup slot="lozenge" aria-label="New"><TagList><Tag>New</Tag></TagList></TagGroup> + <TagGroup slot="lozenge" aria-label="New"><Tag>New</Tag></TagGroup> </Header> <Content>Mars is the fourth planet from the Sun and the second-smallest planet.</Content> </Item> @@ -192,7 +192,7 @@ export const TabWithLozenge: TabsStory = { <Header> <NotificationIcon /> <Text>Jupiter</Text> - <TagGroup slot="lozenge" aria-label="New"><TagList><Tag>New</Tag></TagList></TagGroup> + <TagGroup slot="lozenge" aria-label="New"><Tag>New</Tag></TagGroup> </Header> <Content>Jupiter is the fifth planet from the Sun and the largest in the Solar System.</Content> </Item> @@ -378,7 +378,7 @@ export const Overflow: TabsStory = { <Item key="earth"> <Header> <Text>Earth</Text> - <TagGroup slot="lozenge" aria-label="Home"><TagList><Tag>Home</Tag></TagList></TagGroup> + <TagGroup slot="lozenge" aria-label="Home"><Tag>Home</Tag></TagGroup> </Header> <Content>Earth—our home planet—is the only place we know of so far that’s inhabited by living things. It's also the only planet in our solar system with liquid water on the surface.</Content> </Item> @@ -400,7 +400,7 @@ export const Overflow: TabsStory = { <Header> <NotificationIcon /> <Text>Neptune</Text> - <TagGroup slot="lozenge" aria-label="New"><TagList><Tag>New</Tag></TagList></TagGroup> + <TagGroup slot="lozenge" aria-label="New"><Tag>New</Tag></TagGroup> </Header> <Content>Neptune—the eighth and most distant major planet orbitering our Sun—is dark, cold and whipped by supersonic winds. It was the first planet located through mathematical calculations, rather than by telescope.</Content> </Item> @@ -429,7 +429,7 @@ export const OverflowFluid: TabsStory = { <Item key="earth"> <Header> <Text>Earth</Text> - <TagGroup slot="lozenge" aria-label="Home"><TagList><Tag>Home</Tag></TagList></TagGroup> + <TagGroup slot="lozenge" aria-label="Home"><Tag>Home</Tag></TagGroup> </Header> <Content>Earth—our home planet—is the only place we know of so far that’s inhabited by living things. It's also the only planet in our solar system with liquid water on the surface.</Content> </Item> @@ -470,7 +470,7 @@ export const OverflowNotCollapsible: TabsStory = { <Item key="earth"> <Header> <Text>Earth</Text> - <TagGroup slot="lozenge" aria-label="Home"><TagList><Tag>Home</Tag></TagList></TagGroup> + <TagGroup slot="lozenge" aria-label="Home"><Tag>Home</Tag></TagGroup> </Header> <Content>Earth—our home planet—is the only place we know of so far that’s inhabited by living things. It's also the only planet in our solar system with liquid water on the surface.</Content> </Item> diff --git a/packages/components/src/tabs/tests/chromatic/TabsStandalone-hopper.stories.tsx b/packages/components/src/tabs/tests/chromatic/TabsStandalone-hopper.stories.tsx index ce0374711..5efa12ae5 100644 --- a/packages/components/src/tabs/tests/chromatic/TabsStandalone-hopper.stories.tsx +++ b/packages/components/src/tabs/tests/chromatic/TabsStandalone-hopper.stories.tsx @@ -4,7 +4,7 @@ import { Content, Header } from "@components/placeholders/index.ts"; import { Item } from "@components/collection/index.ts"; import { Div } from "@components/html/index.ts"; import { Stack } from "@components/layout/index.ts"; -import { Text, Tag, TagList, TagGroup } from "@hopper-ui/components"; +import { Text, Tag, TagGroup } from "@hopper-ui/components"; import { Meta, StoryObj } from "@storybook/react"; @@ -184,7 +184,7 @@ export const TabWithLozenge: TabsStory = { <Item> <Header> <Text>Mars</Text> - <TagGroup slot="lozenge" aria-label="New"><TagList><Tag>New</Tag></TagList></TagGroup> + <TagGroup slot="lozenge" aria-label="New"><Tag>New</Tag></TagGroup> </Header> <Content>Mars is the fourth planet from the Sun and the second-smallest planet.</Content> </Item> @@ -192,7 +192,7 @@ export const TabWithLozenge: TabsStory = { <Header> <NotificationIcon /> <Text>Jupiter</Text> - <TagGroup slot="lozenge" aria-label="New"><TagList><Tag>New</Tag></TagList></TagGroup> + <TagGroup slot="lozenge" aria-label="New"><Tag>New</Tag></TagGroup> </Header> <Content>Jupiter is the fifth planet from the Sun and the largest in the Solar System.</Content> </Item> @@ -378,7 +378,7 @@ export const Overflow: TabsStory = { <Item key="earth"> <Header> <Text>Earth</Text> - <TagGroup slot="lozenge" aria-label="Home"><TagList><Tag>Home</Tag></TagList></TagGroup> + <TagGroup slot="lozenge" aria-label="Home"><Tag>Home</Tag></TagGroup> </Header> <Content>Earth—our home planet—is the only place we know of so far that’s inhabited by living things. It's also the only planet in our solar system with liquid water on the surface.</Content> </Item> @@ -400,7 +400,7 @@ export const Overflow: TabsStory = { <Header> <NotificationIcon /> <Text>Neptune</Text> - <TagGroup slot="lozenge" aria-label="New"><TagList><Tag>New</Tag></TagList></TagGroup> + <TagGroup slot="lozenge" aria-label="New"><Tag>New</Tag></TagGroup> </Header> <Content>Neptune—the eighth and most distant major planet orbitering our Sun—is dark, cold and whipped by supersonic winds. It was the first planet located through mathematical calculations, rather than by telescope.</Content> </Item> @@ -429,7 +429,7 @@ export const OverflowFluid: TabsStory = { <Item key="earth"> <Header> <Text>Earth</Text> - <TagGroup slot="lozenge" aria-label="Home"><TagList><Tag>Home</Tag></TagList></TagGroup> + <TagGroup slot="lozenge" aria-label="Home"><Tag>Home</Tag></TagGroup> </Header> <Content>Earth—our home planet—is the only place we know of so far that’s inhabited by living things. It's also the only planet in our solar system with liquid water on the surface.</Content> </Item> @@ -470,7 +470,7 @@ export const OverflowNotCollapsible: TabsStory = { <Item key="earth"> <Header> <Text>Earth</Text> - <TagGroup slot="lozenge" aria-label="Home"><TagList><Tag>Home</Tag></TagList></TagGroup> + <TagGroup slot="lozenge" aria-label="Home"><Tag>Home</Tag></TagGroup> </Header> <Content>Earth—our home planet—is the only place we know of so far that’s inhabited by living things. It's also the only planet in our solar system with liquid water on the surface.</Content> </Item> diff --git a/packages/components/src/tabs/tests/chromatic/TabsVertical-hopper.stories.tsx b/packages/components/src/tabs/tests/chromatic/TabsVertical-hopper.stories.tsx index 0f2c234e9..82be1089a 100644 --- a/packages/components/src/tabs/tests/chromatic/TabsVertical-hopper.stories.tsx +++ b/packages/components/src/tabs/tests/chromatic/TabsVertical-hopper.stories.tsx @@ -4,7 +4,7 @@ import { Inline } from "@components/layout/index.ts"; import { Tabs } from "@components/tabs/index.ts"; import { Item } from "@components/collection/index.ts"; -import { Text, Tag, TagList, TagGroup } from "@hopper-ui/components"; +import { Text, Tag, TagGroup } from "@hopper-ui/components"; import { Meta, StoryObj } from "@storybook/react"; const meta = { @@ -87,7 +87,7 @@ export const TabWithLozenge: TabsStory = { <Item> <Header> <Text>Mars</Text> - <TagGroup slot="lozenge" aria-label="New"><TagList><Tag>New</Tag></TagList></TagGroup> + <TagGroup slot="lozenge" aria-label="New"><Tag>New</Tag></TagGroup> </Header> <Content>Mars is the fourth planet from the Sun and the second-smallest planet.</Content> </Item> @@ -95,7 +95,7 @@ export const TabWithLozenge: TabsStory = { <Header> <NotificationIcon /> <Text>Jupiter</Text> - <TagGroup slot="lozenge" aria-label="New"><TagList><Tag>New</Tag></TagList></TagGroup> + <TagGroup slot="lozenge" aria-label="New"><Tag>New</Tag></TagGroup> </Header> <Content>Jupiter is the fifth planet from the Sun and the largest in the Solar System.</Content> </Item> diff --git a/swc.jest.ts b/packages/components/swc.jest.ts similarity index 100% rename from swc.jest.ts rename to packages/components/swc.jest.ts diff --git a/packages/components/tests/jest/exports.test.ts b/packages/components/tests/jest/exports.test.ts index eb7a21d4a..08f5eac65 100644 --- a/packages/components/tests/jest/exports.test.ts +++ b/packages/components/tests/jest/exports.test.ts @@ -1,9 +1,12 @@ import fs from "fs"; -import path from "path"; +import { dirname, resolve } from "path"; +import { fileURLToPath } from "url"; -const indexJs = fs.readFileSync(path.resolve(__dirname, "../../src/index.ts"), "utf-8"); +const __filename = fileURLToPath(import.meta.url); +const __dirname = dirname(__filename); +const indexJs = fs.readFileSync(resolve(__dirname, "../../src/index.ts"), "utf-8"); -const directories = fs.readdirSync(path.resolve(__dirname, "../../src"), { withFileTypes: true }) +const directories = fs.readdirSync(resolve(__dirname, "../../src"), { withFileTypes: true }) .filter(x => x.isDirectory()) .map(x => x.name); diff --git a/packages/components/tsconfig.build.json b/packages/components/tsconfig.build.json deleted file mode 100644 index 494126d59..000000000 --- a/packages/components/tsconfig.build.json +++ /dev/null @@ -1,16 +0,0 @@ -{ - "extends": "../../tsconfig.build.json", - "compilerOptions": { - "composite": true, - "rootDir": "./src", - "outDir": "./dist" - }, - "include": [ - "src/**/*", - "../../@types/*" - ], - "exclude": [ - "**/tests/*", - "**/docs/*", - ] -} diff --git a/packages/components/tsconfig.json b/packages/components/tsconfig.json new file mode 100644 index 000000000..b96d38480 --- /dev/null +++ b/packages/components/tsconfig.json @@ -0,0 +1,20 @@ +{ + "extends": "@workleap/typescript-configs/library.json", + "compilerOptions": { + "allowJs": true, + "strict": false, + "noFallthroughCasesInSwitch": false, + "paths": { + "@test-utils": ["../../tooling/test-utils/index.ts"], + "@components": ["./src/index.ts"], + "@components/*": ["./src/*"], + "@stories/components": ["../../.storybook/components/index.ts"], + "@stories/mdx": ["../../.storybook/mdx/index.ts"] + } + }, + "include": [ + "**/*", + "../../@types/*" + ], + "exclude": ["dist", "node_modules"] +} diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index e04e2dd18..de326c5ae 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -155,6 +155,9 @@ importers: jest: specifier: 29.7.0 version: 29.7.0(@types/node@16.18.119)(ts-node@10.9.2(@swc/core@1.7.36(@swc/helpers@0.5.13))(@types/node@16.18.119)(typescript@5.4.5)) + jest-environment-jsdom: + specifier: 29.7.0 + version: 29.7.0 meow: specifier: 9.0.0 version: 9.0.0 @@ -251,13 +254,106 @@ importers: devDependencies: '@hopper-ui/components': specifier: ^1.3.20 - version: 1.3.31(@hopper-ui/styled-system@2.4.1(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(react-aria-components@1.4.1(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(react-aria@3.35.1(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + version: 1.3.33(@hopper-ui/styled-system@2.4.1(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(react-aria-components@1.4.1(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(react-aria@3.35.1(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(react-dom@18.3.1(react@18.3.1))(react@18.3.1) '@hopper-ui/styled-system': specifier: ^2.4.0 version: 2.4.1(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + '@swc/core': + specifier: 1.7.36 + version: 1.7.36(@swc/helpers@0.5.13) + '@swc/helpers': + specifier: 0.5.13 + version: 0.5.13 + '@swc/jest': + specifier: 0.2.36 + version: 0.2.36(@swc/core@1.7.36(@swc/helpers@0.5.13)) + '@testing-library/dom': + specifier: 10.4.0 + version: 10.4.0 + '@testing-library/jest-dom': + specifier: 6.6.1 + version: 6.6.1 + '@testing-library/react': + specifier: 16.0.1 + version: 16.0.1(@testing-library/dom@10.4.0)(@types/react-dom@18.3.1)(@types/react@18.3.11)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + '@testing-library/user-event': + specifier: 14.5.2 + version: 14.5.2(@testing-library/dom@10.4.0) + '@types/jest': + specifier: 29.5.13 + version: 29.5.13 + '@types/react': + specifier: 18.3.11 + version: 18.3.11 + '@types/react-dom': + specifier: 18.3.1 + version: 18.3.1 + '@types/react-is': + specifier: 18.3.0 + version: 18.3.0 + '@types/resize-observer-browser': + specifier: 0.1.11 + version: 0.1.11 + '@typescript-eslint/parser': + specifier: 8.10.0 + version: 8.10.0(eslint@8.57.1)(typescript@5.4.5) + '@workleap/swc-configs': + specifier: 2.2.3 + version: 2.2.3(@swc/core@1.7.36(@swc/helpers@0.5.13))(@swc/helpers@0.5.13)(@swc/jest@0.2.36(@swc/core@1.7.36(@swc/helpers@0.5.13)))(browserslist@4.24.2) + '@workleap/tsup-configs': + specifier: 3.0.6 + version: 3.0.6(tsup@8.3.0(@swc/core@1.7.36(@swc/helpers@0.5.13))(postcss@8.4.47)(typescript@5.4.5)(yaml@2.6.0))(typescript@5.4.5) + '@workleap/typescript-configs': + specifier: 3.0.2 + version: 3.0.2(typescript@5.4.5) + csstype: + specifier: '*' + version: 3.1.3 + date-fns: + specifier: 2.29.3 + version: 2.29.3 + eslint: + specifier: 8.57.1 + version: 8.57.1 + eslint-plugin-sort-destructure-keys: + specifier: 2.0.0 + version: 2.0.0(eslint@8.57.1) + eslint-plugin-sort-keys-fix: + specifier: 1.1.2 + version: 1.1.2 + eslint-plugin-typescript-sort-keys: + specifier: 3.3.0 + version: 3.3.0(@typescript-eslint/parser@8.10.0(eslint@8.57.1)(typescript@5.4.5))(eslint@8.57.1)(typescript@5.4.5) + identity-obj-proxy: + specifier: 3.0.0 + version: 3.0.0 + jest: + specifier: 29.7.0 + version: 29.7.0(@types/node@22.9.0)(ts-node@10.9.2(@swc/core@1.7.36(@swc/helpers@0.5.13))(@types/node@22.9.0)(typescript@5.4.5)) + jest-environment-jsdom: + specifier: 29.7.0 + version: 29.7.0 react-aria-components: specifier: ^1.2.1 version: 1.4.1(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + react-test-renderer: + specifier: 18.3.1 + version: 18.3.1(react@18.3.1) + resize-observer-polyfill: + specifier: 1.5.1 + version: 1.5.1 + ts-jest: + specifier: 29.2.5 + version: 29.2.5(@babel/core@7.26.0)(@jest/transform@29.7.0)(@jest/types@29.6.3)(babel-jest@29.7.0(@babel/core@7.26.0))(esbuild@0.23.1)(jest@29.7.0(@types/node@22.9.0)(ts-node@10.9.2(@swc/core@1.7.36(@swc/helpers@0.5.13))(@types/node@22.9.0)(typescript@5.4.5)))(typescript@5.4.5) + ts-node: + specifier: 10.9.2 + version: 10.9.2(@swc/core@1.7.36(@swc/helpers@0.5.13))(@types/node@22.9.0)(typescript@5.4.5) + tsup: + specifier: 8.3.0 + version: 8.3.0(@swc/core@1.7.36(@swc/helpers@0.5.13))(postcss@8.4.47)(typescript@5.4.5)(yaml@2.6.0) + typescript: + specifier: 5.4.5 + version: 5.4.5 packages/css: dependencies: @@ -1172,8 +1268,8 @@ packages: '@hapi/topo@5.1.0': resolution: {integrity: sha512-foQZKJig7Ob0BMAYBfcJk8d77QtOe7Wo4ox7ff1lQYoNNAb6jwcY1ncdoy2e9wQZzvNy7ODZCYJkK8kzmcAnAg==} - '@hopper-ui/components@1.3.31': - resolution: {integrity: sha512-gNBgRecJUuRmI5D3Cc7Em/J8DFoqRbbdAvKM8BTkaUJokmsSQarmOz9KW19dR3cGmlNpUYz2UgN+QEmLs+uubQ==} + '@hopper-ui/components@1.3.33': + resolution: {integrity: sha512-DR+5IC5SQc9idBH6P6ycgHHAoF9M571lUgUZV56M7CuK8DDEn9gJPDlvN93DXr8Il8UsziYfXNKQ8lgzpSBzOw==} peerDependencies: '@hopper-ui/styled-system': ^2.4 react: ^18 @@ -2925,6 +3021,10 @@ packages: peerDependencies: '@testing-library/dom': '>=7.21.4' + '@tootallnate/once@2.0.0': + resolution: {integrity: sha512-XCuKFP5PS55gnMVu3dty8KPatLqUoy/ZYzDzAGCQ8JNFCkLXzmI7vNHCR+XpbZaMWQK/vQubr7PkYq8g470J/A==} + engines: {node: '>= 10'} + '@trysound/sax@0.2.0': resolution: {integrity: sha512-L7z9BgrNEcYyUYtF+HaEfiS5ebkh9jXqbszz7pC0hRBPaatV0XjSD3+eHrpqFemQfgwiFF0QPIarnIihIDn7OA==} engines: {node: '>=10.13.0'} @@ -3055,6 +3155,9 @@ packages: '@types/jest@29.5.13': resolution: {integrity: sha512-wd+MVEZCHt23V0/L642O5APvspWply/rGY5BcW4SUETo2UzPU3Z26qr8jC2qxpimI2jjx9h7+2cj2FwIr01bXg==} + '@types/jsdom@20.0.1': + resolution: {integrity: sha512-d0r18sZPmMQr1eG35u12FZfhIXNrnsPU/g5wvRKCUf/tOGilKKwYMYGqh33BNR6ba+2gkHw1EUiHoN3mn7E5IQ==} + '@types/json-schema@7.0.15': resolution: {integrity: sha512-5+fP8P8MFNC+AyZCDxrB2pkZFPGzqQWUzpSeuuVLvm8VMcorNYavBqoFcxK8bQz4Qsbn4oUEEem4wDLfcysGHA==} @@ -3109,8 +3212,8 @@ packages: '@types/prop-types@15.7.13': resolution: {integrity: sha512-hCZTSvwbzWGvhqxp/RqVqwU999pBf2vp7hzIjiYOsl8wqOmUxkQ6ddw1cV3l8811+kdUFus/q4d1Y3E3SyEifA==} - '@types/qs@6.9.16': - resolution: {integrity: sha512-7i+zxXdPD0T4cKDuxCUXJ4wHcsJLwENa6Z3dCu8cfCK743OGy5Nu1RmAGqDPsoTDINVEcdXKRvR/zre+P2Ku1A==} + '@types/qs@6.9.17': + resolution: {integrity: sha512-rX4/bPcfmvxHDv0XjfJELTTr+iB+tn032nPILqHm5wbthUUUuVtNGGqzhya9XUxjTP8Fpr0qYgSZZKxGY++svQ==} '@types/range-parser@1.2.7': resolution: {integrity: sha512-hKormJbkJqzQGhziax5PItDUTMAM9uE2XXQmM37dyd4hVM+5aVl7oVxMVUiVQn2oCQFN/LKCZdvSM0pFRqbSmQ==} @@ -3340,50 +3443,50 @@ packages: '@vitest/utils@2.1.4': resolution: {integrity: sha512-MXDnZn0Awl2S86PSNIim5PWXgIAx8CIkzu35mBdSApUip6RFOGXBCf3YFyeEu8n1IHk4bWD46DeYFu9mQlFIRg==} - '@webassemblyjs/ast@1.12.1': - resolution: {integrity: sha512-EKfMUOPRRUTy5UII4qJDGPpqfwjOmZ5jeGFwid9mnoqIFK+e0vqoi1qH56JpmZSzEL53jKnNzScdmftJyG5xWg==} + '@webassemblyjs/ast@1.14.1': + resolution: {integrity: sha512-nuBEDgQfm1ccRp/8bCQrx1frohyufl4JlbMMZ4P1wpeOfDhF6FQkxZJ1b/e+PLwr6X1Nhw6OLme5usuBWYBvuQ==} - '@webassemblyjs/floating-point-hex-parser@1.11.6': - resolution: {integrity: sha512-ejAj9hfRJ2XMsNHk/v6Fu2dGS+i4UaXBXGemOfQ/JfQ6mdQg/WXtwleQRLLS4OvfDhv8rYnVwH27YJLMyYsxhw==} + '@webassemblyjs/floating-point-hex-parser@1.13.2': + resolution: {integrity: sha512-6oXyTOzbKxGH4steLbLNOu71Oj+C8Lg34n6CqRvqfS2O71BxY6ByfMDRhBytzknj9yGUPVJ1qIKhRlAwO1AovA==} - '@webassemblyjs/helper-api-error@1.11.6': - resolution: {integrity: sha512-o0YkoP4pVu4rN8aTJgAyj9hC2Sv5UlkzCHhxqWj8butaLvnpdc2jOwh4ewE6CX0txSfLn/UYaV/pheS2Txg//Q==} + '@webassemblyjs/helper-api-error@1.13.2': + resolution: {integrity: sha512-U56GMYxy4ZQCbDZd6JuvvNV/WFildOjsaWD3Tzzvmw/mas3cXzRJPMjP83JqEsgSbyrmaGjBfDtV7KDXV9UzFQ==} - '@webassemblyjs/helper-buffer@1.12.1': - resolution: {integrity: sha512-nzJwQw99DNDKr9BVCOZcLuJJUlqkJh+kVzVl6Fmq/tI5ZtEyWT1KZMyOXltXLZJmDtvLCDgwsyrkohEtopTXCw==} + '@webassemblyjs/helper-buffer@1.14.1': + resolution: {integrity: sha512-jyH7wtcHiKssDtFPRB+iQdxlDf96m0E39yb0k5uJVhFGleZFoNw1c4aeIcVUPPbXUVJ94wwnMOAqUHyzoEPVMA==} - '@webassemblyjs/helper-numbers@1.11.6': - resolution: {integrity: sha512-vUIhZ8LZoIWHBohiEObxVm6hwP034jwmc9kuq5GdHZH0wiLVLIPcMCdpJzG4C11cHoQ25TFIQj9kaVADVX7N3g==} + '@webassemblyjs/helper-numbers@1.13.2': + resolution: {integrity: sha512-FE8aCmS5Q6eQYcV3gI35O4J789wlQA+7JrqTTpJqn5emA4U2hvwJmvFRC0HODS+3Ye6WioDklgd6scJ3+PLnEA==} - '@webassemblyjs/helper-wasm-bytecode@1.11.6': - resolution: {integrity: sha512-sFFHKwcmBprO9e7Icf0+gddyWYDViL8bpPjJJl0WHxCdETktXdmtWLGVzoHbqUcY4Be1LkNfwTmXOJUFZYSJdA==} + '@webassemblyjs/helper-wasm-bytecode@1.13.2': + resolution: {integrity: sha512-3QbLKy93F0EAIXLh0ogEVR6rOubA9AoZ+WRYhNbFyuB70j3dRdwH9g+qXhLAO0kiYGlg3TxDV+I4rQTr/YNXkA==} - '@webassemblyjs/helper-wasm-section@1.12.1': - resolution: {integrity: sha512-Jif4vfB6FJlUlSbgEMHUyk1j234GTNG9dBJ4XJdOySoj518Xj0oGsNi59cUQF4RRMS9ouBUxDDdyBVfPTypa5g==} + '@webassemblyjs/helper-wasm-section@1.14.1': + resolution: {integrity: sha512-ds5mXEqTJ6oxRoqjhWDU83OgzAYjwsCV8Lo/N+oRsNDmx/ZDpqalmrtgOMkHwxsG0iI//3BwWAErYRHtgn0dZw==} - '@webassemblyjs/ieee754@1.11.6': - resolution: {integrity: sha512-LM4p2csPNvbij6U1f19v6WR56QZ8JcHg3QIJTlSwzFcmx6WSORicYj6I63f9yU1kEUtrpG+kjkiIAkevHpDXrg==} + '@webassemblyjs/ieee754@1.13.2': + resolution: {integrity: sha512-4LtOzh58S/5lX4ITKxnAK2USuNEvpdVV9AlgGQb8rJDHaLeHciwG4zlGr0j/SNWlr7x3vO1lDEsuePvtcDNCkw==} - '@webassemblyjs/leb128@1.11.6': - resolution: {integrity: sha512-m7a0FhE67DQXgouf1tbN5XQcdWoNgaAuoULHIfGFIEVKA6tu/edls6XnIlkmS6FrXAquJRPni3ZZKjw6FSPjPQ==} + '@webassemblyjs/leb128@1.13.2': + resolution: {integrity: sha512-Lde1oNoIdzVzdkNEAWZ1dZ5orIbff80YPdHx20mrHwHrVNNTjNr8E3xz9BdpcGqRQbAEa+fkrCb+fRFTl/6sQw==} - '@webassemblyjs/utf8@1.11.6': - resolution: {integrity: sha512-vtXf2wTQ3+up9Zsg8sa2yWiQpzSsMyXj0qViVP6xKGCUT8p8YJ6HqI7l5eCnWx1T/FYdsv07HQs2wTFbbof/RA==} + '@webassemblyjs/utf8@1.13.2': + resolution: {integrity: sha512-3NQWGjKTASY1xV5m7Hr0iPeXD9+RDobLll3T9d2AO+g3my8xy5peVyjSag4I50mR1bBSN/Ct12lo+R9tJk0NZQ==} - '@webassemblyjs/wasm-edit@1.12.1': - resolution: {integrity: sha512-1DuwbVvADvS5mGnXbE+c9NfA8QRcZ6iKquqjjmR10k6o+zzsRVesil54DKexiowcFCPdr/Q0qaMgB01+SQ1u6g==} + '@webassemblyjs/wasm-edit@1.14.1': + resolution: {integrity: sha512-RNJUIQH/J8iA/1NzlE4N7KtyZNHi3w7at7hDjvRNm5rcUXa00z1vRz3glZoULfJ5mpvYhLybmVcwcjGrC1pRrQ==} - '@webassemblyjs/wasm-gen@1.12.1': - resolution: {integrity: sha512-TDq4Ojh9fcohAw6OIMXqiIcTq5KUXTGRkVxbSo1hQnSy6lAM5GSdfwWeSxpAo0YzgsgF182E/U0mDNhuA0tW7w==} + '@webassemblyjs/wasm-gen@1.14.1': + resolution: {integrity: sha512-AmomSIjP8ZbfGQhumkNvgC33AY7qtMCXnN6bL2u2Js4gVCg8fp735aEiMSBbDR7UQIj90n4wKAFUSEd0QN2Ukg==} - '@webassemblyjs/wasm-opt@1.12.1': - resolution: {integrity: sha512-Jg99j/2gG2iaz3hijw857AVYekZe2SAskcqlWIZXjji5WStnOpVoat3gQfT/Q5tb2djnCjBtMocY/Su1GfxPBg==} + '@webassemblyjs/wasm-opt@1.14.1': + resolution: {integrity: sha512-PTcKLUNvBqnY2U6E5bdOQcSM+oVP/PmrDY9NzowJjislEjwP/C4an2303MCVS2Mg9d3AJpIGdUFIQQWbPds0Sw==} - '@webassemblyjs/wasm-parser@1.12.1': - resolution: {integrity: sha512-xikIi7c2FHXysxXe3COrVUPSheuBtpcfhbpFj4gmu7KRLYOzANztwUU0IbsqvMqzuNK2+glRGWCEqZo1WCLyAQ==} + '@webassemblyjs/wasm-parser@1.14.1': + resolution: {integrity: sha512-JLBl+KZ0R5qB7mCnud/yyX08jWFw5MsoalJ1pQ4EdFlgj9VdXKGuENGsiCIjegI1W7p91rUlcB/LB5yRJKNTcQ==} - '@webassemblyjs/wast-printer@1.12.1': - resolution: {integrity: sha512-+X4WAlOisVWQMikjbcvY2e0rwPsKQ9F688lksZhBcPycBBuii3O7m8FACbDMWDojpAqvjIncrG8J0XHKyQfVeA==} + '@webassemblyjs/wast-printer@1.14.1': + resolution: {integrity: sha512-kPSSXE6De1XOR820C90RIo2ogvZG+c3KiHzqUoO/F34Y2shGzesfqv7o57xrxovZJH/MetF5UjroJ/R/3isoiw==} '@workleap/eslint-plugin@3.2.2': resolution: {integrity: sha512-yI58Fb5EX/eIuHaUKwxAEXo4ssNbUcIDD6JX6DbFXPEZiA4nnYTiDxRgaAGR+h5EnHMuas4tpPx0bg6S2B4x9g==} @@ -3443,6 +3546,10 @@ packages: '@zeit/schemas@2.36.0': resolution: {integrity: sha512-7kjMwcChYEzMKjeex9ZFXkt1AyNov9R5HZtjBKVsmVpw7pa7ZtlCGvCBC2vnnXctaYN+aRI61HjIqeetZW5ROg==} + abab@2.0.6: + resolution: {integrity: sha512-j2afSsaIENvHZN2B8GOpF566vZ5WVk5opAiMTvWgaQT8DkbOqsTfvNAvHoRGU2zzP8cPoqys+xHTRDWW8L+/BA==} + deprecated: Use your platform's native atob() and btoa() methods instead + abbrev@1.1.1: resolution: {integrity: sha512-nne9/IiQ/hzIhY6pdDnbBtz7DjPTKrY00P/zvPSm5pOFkl6xuGrGnXn/VtTNNfNtAfZ9/1RtehkszU9qcTii0Q==} @@ -3458,6 +3565,9 @@ packages: resolution: {integrity: sha512-PYAthTa2m2VKxuvSD3DPC/Gy+U+sOA1LAuT8mkmRuvw+NACSaeXEQ+NHcVF7rONl6qcaxV3Uuemwawk+7+SJLw==} engines: {node: '>= 0.6'} + acorn-globals@7.0.1: + resolution: {integrity: sha512-umOSDSDrfHbTNPuNpC2NSnnA3LUrqpevPb4T9jRx4MagXNS0rs+gwiTcAvqCRmsD6utzsrzNt+ebm00SNWiC3Q==} + acorn-jsx@5.3.2: resolution: {integrity: sha512-rq9s+JNhf0IChjtDXxllJ7g41oZk5SlXtp0LHwyA5cejwn7vKmKp4pPri6YEePv2PU65sAsegbXtIinmDFDXgQ==} peerDependencies: @@ -4072,8 +4182,8 @@ packages: resolution: {integrity: sha512-xlx1yCK2Oc1APsPXDL2LdlNP6+uu8OCDdhOBSVT279M/S+y75O30C2VuD8T2ogdePBBl7PfPF4504tnLgX3zfw==} engines: {node: '>=14.16'} - caniuse-lite@1.0.30001677: - resolution: {integrity: sha512-fmfjsOlJUpMWu+mAAtZZZHz7UEwsUxIIvu1TJfO1HqFQvB/B+ii0xr9B5HpbZY/mC4XZ8SvjHJqtAY6pDPQEog==} + caniuse-lite@1.0.30001679: + resolution: {integrity: sha512-j2YqID/YwpLnKzCmBOS4tlZdWprXm3ZmQLBH9ZBXFOhoxLA46fwyBvx6toCBWBmnuwUY/qB3kEU6gFx8qgCroA==} case-sensitive-paths-webpack-plugin@2.4.0: resolution: {integrity: sha512-roIFONhcxog0JSSWbvVAh3OocukmSgpqOH6YpMkCvav/ySIV3JKg4Dc8vYtQjYi/UxpNE36r/9v+VqTQqgkYmw==} @@ -4165,8 +4275,8 @@ packages: resolution: {integrity: sha512-bIomtDF5KGpdogkLd9VspvFzk9KfpyyGlS8YFVZl7TGPBHL5snIOnxeshwVgPteQ9b4Eydl+pVbIyE1DcvCWgQ==} engines: {node: '>=10'} - chromatic@11.16.5: - resolution: {integrity: sha512-wUEKXyu3GYmUg6Jq13uyRE9iC8ph5gbfDHdyHH0vQathkGQrcjHHdoxI/GXKIjU6d+xupLon8sxRV9NuZKTWbA==} + chromatic@11.18.0: + resolution: {integrity: sha512-3o9Frn1oIS1hFLsJxVH9yVJ1O7+TCYoyL7OZzUorL/DCYduhXr5LDSBfpUsp7EdCPb64ufkbyFzSRNbt/xy9kg==} hasBin: true peerDependencies: '@chromatic-com/cypress': ^0.*.* || ^1.0.0 @@ -4523,8 +4633,8 @@ packages: cross-spawn@5.1.0: resolution: {integrity: sha512-pTgQJ5KC0d2hcY8eyL1IzlBPYjTkyH72XRZPnLyKus2mBfNjQs3klqbJU2VILqZryAZUt9JOb3h/mWMy23/f5A==} - cross-spawn@7.0.3: - resolution: {integrity: sha512-iRDPJKUPVEND7dHPO8rkbOnPpyDygcDFtWjpeWNCgy8WP2rXcxXL8TskReQl6OrB2G7+UJrags1q15Fudc7G6w==} + cross-spawn@7.0.5: + resolution: {integrity: sha512-ZVJrKKYunU38/76t0RMOulHOnUcbU9GbpWKAOZ0mhjr7CX6FVrH+4FrAapSOekrgFQ3f/8gwMEuIft0aKq6Hug==} engines: {node: '>= 8'} crypto-random-string@2.0.0: @@ -4581,6 +4691,16 @@ packages: resolution: {integrity: sha512-0LrrStPOdJj+SPCCrGhzryycLjwcgUSHBtxNA8aIDxf0GLsRh1cKYhB00Gd1lDOS4yGH69+SNn13+TWbVHETFQ==} engines: {node: ^10 || ^12.20.0 || ^14.13.0 || >=15.0.0, npm: '>=7.0.0'} + cssom@0.3.8: + resolution: {integrity: sha512-b0tGHbfegbhPJpxpiBPU2sCkigAqtM9O121le6bbOlgyV+NyGyCmVfJ6QW9eRjz8CpNfWEOYBIMIGRYkLwsIYg==} + + cssom@0.5.0: + resolution: {integrity: sha512-iKuQcq+NdHqlAcwUY0o/HL69XQrUaQdMjmStJ8JFmUaiiQErlhrmuigkg/CU4E2J0IyUKUrMAgl36TvN67MqTw==} + + cssstyle@2.3.0: + resolution: {integrity: sha512-AZL67abkUzIuvcHqk7c09cezpGNcxUxU4Ioi/05xHk4DQeTkWmGYftIE6ctU6AEt+Gn4n1lDStOtj7FKycP71A==} + engines: {node: '>=8'} + csstype@3.1.3: resolution: {integrity: sha512-M1uQkMl8rQK/szD0LNhtqxIPLpimGm8sOBwU7lLnCpSbTyY3yeU1Vc7l4KT5zT4s/yOxHH5O7tIuuLOCnLADRw==} @@ -4598,6 +4718,10 @@ packages: resolution: {integrity: sha512-0R9ikRb668HB7QDxT1vkpuUBtqc53YyAwMwGeUFKRojY/NWKvdZ+9UYtRfGmhqNbRkTSVpMbmyhXipFFv2cb/A==} engines: {node: '>= 12'} + data-urls@3.0.2: + resolution: {integrity: sha512-Jy/tj3ldjZJo63sVAvg6LHt2mHvl4V6AgRAmNDtLdm7faqtsx+aJG42rsyCo9JCoRVKwPFzKlIPx3DIibwSIaQ==} + engines: {node: '>=12'} + data-view-buffer@1.0.1: resolution: {integrity: sha512-0lht7OugA5x3iJLOWFhWK/5ehONdprk0ISXqVFn/NFrDu+cuc8iADFrGQz5BnRK7LLU3JmkbXSxaqX+/mXYtUA==} engines: {node: '>= 0.4'} @@ -4657,6 +4781,9 @@ packages: resolution: {integrity: sha512-z2S+W9X73hAUUki+N+9Za2lBlun89zigOyGrsax+KUQ6wKW4ZoWpEYBkGhQjwAjjDCkWxhY0VKEhk8wzY7F5cA==} engines: {node: '>=0.10.0'} + decimal.js@10.4.3: + resolution: {integrity: sha512-VBBaLc1MgL5XpzgIP7ny5Z6Nx3UrRkIViUkPUdtl9aya5amy3De1gsUUSB1g3+3sExYNjCAsAznmukyxCb1GRA==} + decode-named-character-reference@1.0.2: resolution: {integrity: sha512-O8x12RzrUF8xyVcY0KJowWsmaJxQbmy0/EtnNtHRpsOcT7dFk5W598coHqBVpmWo1oQQfsCqfCmkZN5DJrZVdg==} @@ -4934,6 +5061,11 @@ packages: domelementtype@2.3.0: resolution: {integrity: sha512-OLETBj6w0OsagBwdXnPdN0cnMfF9opN69co+7ZrbfPGrdpPVNBUj02spi6B1N7wChLQiPn4CSH/zJvXw56gmHw==} + domexception@4.0.0: + resolution: {integrity: sha512-A2is4PLG+eeSfoTMA95/s4pvAoSo2mKtiM5jlHkAVewmiO8ISFTFKZjH7UAM1Atli/OT/7JHOrJRJiMKUZKYBw==} + engines: {node: '>=12'} + deprecated: Use your platform's native DOMException instead + domhandler@2.4.2: resolution: {integrity: sha512-JiK04h0Ht5u/80fdLMCEmV4zkNh2BcoMFBmZ/91WtYZ8qVXSKjiw7fXMgFPnHcSZgOo3XdinHvmnDUeMf5R4wA==} @@ -4995,8 +5127,8 @@ packages: engines: {node: '>=0.10.0'} hasBin: true - electron-to-chromium@1.5.51: - resolution: {integrity: sha512-kKeWV57KSS8jH4alKt/jKnvHPmJgBxXzGUSbMd4eQF+iOsVPl7bz2KUmu6eo80eMP8wVioTfTyTzdMgM15WXNg==} + electron-to-chromium@1.5.55: + resolution: {integrity: sha512-6maZ2ASDOTBtjt9FhqYPRnbvKU5tjG0IN9SztUOWYw2AzNDNpKJYLJmlK0/En4Hs/aiWnB+JZ+gW19PIGszgKg==} elegant-spinner@1.0.1: resolution: {integrity: sha512-B+ZM+RXvRqQaAmkMlO/oSe5nMUOaUnyfGYCEHoR8wrXsZR2mA0XVibsxV1bvTwxdRWah1PkQqso2EzhILGHtEQ==} @@ -6175,6 +6307,10 @@ packages: resolution: {integrity: sha512-puUZAUKT5m8Zzvs72XWy3HtvVbTWljRE66cP60bxJzAqf2DgICo7lYTY2IHUmLnNpjYvw5bvmoHvPc0QO2a62w==} engines: {node: ^16.14.0 || >=18.0.0} + html-encoding-sniffer@3.0.0: + resolution: {integrity: sha512-oWv4T4yJ52iKrufjnyZPkrN0CH3QnrUqdB6In1g5Fe1mia8GmF36gnfNySxoZtxD5+NmYw1EElVXiBk93UeskA==} + engines: {node: '>=12'} + html-entities@2.5.2: resolution: {integrity: sha512-K//PSRMQk4FZ78Kyau+mZurHn3FH0Vwr+H36eE0rPbeYkRRi9YxceYPhuN60UwWorxyKHhqoAJl2OFKa4BVtaA==} @@ -6222,6 +6358,10 @@ packages: resolution: {integrity: sha512-FtwrG/euBzaEjYeRqOgly7G0qviiXoJWnvEH2Z1plBdXgbyjv34pHTSb9zoeHMyDy33+DWy5Wt9Wo+TURtOYSQ==} engines: {node: '>= 0.8'} + http-proxy-agent@5.0.0: + resolution: {integrity: sha512-n2hY8YdoRE1i7r6M0w9DIw5GgZN0G25P8zLCRQ8rjXtTU3vsNFBI/vWK/UIeE6g5MUUz6avwAPXmL6Fy9D/90w==} + engines: {node: '>= 6'} + http-proxy-middleware@2.0.7: resolution: {integrity: sha512-fgVY8AV7qU7z/MmXJ/rxwbrtQH4jBQ9m7kp3llF0liB7glmFeVZFBepQb32T3y8n8k2+AEYuMPCpinYW+/CuRA==} engines: {node: '>=12.0.0'} @@ -6254,6 +6394,10 @@ packages: resolution: {integrity: sha512-v3MXnZAcvnywkTUEZomIActle7RXXeedOR31wwl7VlyoXO4Qi9arvSenNQWne1TcRwhCL1HwLI21bEqdpj8/rA==} engines: {node: '>=0.10.0'} + iconv-lite@0.6.3: + resolution: {integrity: sha512-4fCk79wshMdzMp2rH06qWrJE4iolqLhCUH+OiuIgU++RB0+94NlDL81atO7GX55uUKueo0txHNtvEyI6D7WdMw==} + engines: {node: '>=0.10.0'} + icss-utils@5.1.0: resolution: {integrity: sha512-soFhflCVWLfRNOPU3iv5Z9VUdT44xFRbzjLsEzSr5AQmgqPMTHdU3PMT1Cf1ssx8fLNJDA1juftYl+PUcv3MqA==} engines: {node: ^10 || ^12 || >= 14} @@ -6604,6 +6748,9 @@ packages: resolution: {integrity: sha512-9UoipoxYmSk6Xy7QFgRv2HDyaysmgSG75TFQs6S+3pDM7ZhKTF/bskZV+0UlABHzKjNVhPjYCLfeZUEg1wXxig==} engines: {node: ^12.20.0 || ^14.13.1 || >=16.0.0} + is-potential-custom-element-name@1.0.1: + resolution: {integrity: sha512-bCYeRA2rVibKZd+s2625gGnGF/t7DSqDs4dP7CrLA1m7jKWz6pps0LpYLJN8Q64HtmPKJ1hrN3nzPNKFEKOUiQ==} + is-promise@2.2.2: resolution: {integrity: sha512-+lP4/6lKUBfQjZ2pdxThZvLUAafmZb8OAxFb8XXtiQmS35INgr85hdOGoEs124ez1FCnZJt6jau/T+alh58QFQ==} @@ -6823,6 +6970,15 @@ packages: resolution: {integrity: sha512-gns+Er14+ZrEoC5fhOfYCY1LOHHr0TI+rQUHZS8Ttw2l7gl+80eHc/gFf2Ktkw0+SIACDTeWvpFcv3B04VembQ==} engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} + jest-environment-jsdom@29.7.0: + resolution: {integrity: sha512-k9iQbsf9OyOfdzWH8HDmrRT0gSIcX+FLNW7IQq94tFX0gynPwqDTW0Ho6iMVNjGz/nb+l/vW3dWM2bbLLpkbXA==} + engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} + peerDependencies: + canvas: ^2.5.0 + peerDependenciesMeta: + canvas: + optional: true + jest-environment-node@29.7.0: resolution: {integrity: sha512-DOSwCRqXirTOyheM+4d5YZOrWcdu0LNZ87ewUoywbcb2XR4wKgqiG8vNeYwhjFMbEkfju7wx2GYH0P2gevGvFw==} engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} @@ -6984,6 +7140,15 @@ packages: resolution: {integrity: sha512-Hicd6JK5Njt2QB6XYFS7ok9e37O8AYk3jTcppG4YVQnYjOemymvTcmc7OWsmq/Qqj5TdRFO5/x/tIPmBeRtGHg==} engines: {node: '>=12.0.0'} + jsdom@20.0.3: + resolution: {integrity: sha512-SYhBvTh89tTfCD/CRdSOm13mOBa42iTaTyfyEWBdKcGdPxPtLFBXuHR8XHb33YNYaP+lLbmSvBTsnoesCNJEsQ==} + engines: {node: '>=14'} + peerDependencies: + canvas: ^2.5.0 + peerDependenciesMeta: + canvas: + optional: true + jsesc@3.0.2: resolution: {integrity: sha512-xKqzzWXDttJuOcawBt4KnKHHIf5oQ/Cxax+0PWFG+DFDgHNAdi+TXECADI+RYiFUMmx8792xsMbbgXj4CwnP4g==} engines: {node: '>=6'} @@ -7958,6 +8123,9 @@ packages: resolution: {integrity: sha512-4jbtZXNAsfZbAHiiqjLPBiCl16dES1zI4Hpzzxw61Tk+loF+sBDBKx1ICKKKwIqQ7M0mFn1TmkN7euSncWgHiQ==} engines: {node: '>=0.10.0'} + nwsapi@2.2.13: + resolution: {integrity: sha512-cTGB9ptp9dY9A5VbMSe7fQBcl/tt22Vcqdq8+eN93rblOuE0aCFu4aZ2vMwct/2t+lFnosm8RkQW1I0Omb1UtQ==} + nyc@15.1.0: resolution: {integrity: sha512-jMW04n9SxKdKi1ZMGhvUTHBN0EICCRkHemEoE5jm6mTYcqcdas0ATzgUgejlQUHMvpnOZqGB5Xxsv9KxJW1j8A==} engines: {node: '>=8.9'} @@ -8252,6 +8420,9 @@ packages: resolution: {integrity: sha512-1Y1A//QUXEZK7YKz+rD9WydcE1+EuPr6ZBgKecAB8tmoW6UFv0NREVJe1p+jRxtThkcbbKkfwIbWJe/IeE6m2Q==} engines: {node: '>=0.10.0'} + parse5@7.2.1: + resolution: {integrity: sha512-BuBYQYlv1ckiPdQi/ohiivi9Sagc9JG+Ozs0r7b/0iK3sKmrb0b9FdWdBbOdx6hBCM/F9Ir82ofnBhtZOjCRPQ==} + parseurl@1.3.3: resolution: {integrity: sha512-CiyeOxFT/JZyN5m0z9PfXw4SCBJ6Sygz1Dpl0wqjlhDEGGBP1GnsUVEL0p63hoG1fcj3fHynXi9NYO4nWOL+qQ==} engines: {node: '>= 0.8'} @@ -8580,6 +8751,9 @@ packages: pseudomap@1.0.2: resolution: {integrity: sha512-b/YwNhb8lk1Zz2+bXXpS/LK9OisiZZ1SNsSLxN1x2OXVEhW2Ckr/7mWE5vrC1ZTiJlD9g19jWszTmJsB+oEpFQ==} + psl@1.10.0: + resolution: {integrity: sha512-KSKHEbjAnpUuAUserOq0FxGXCUrzC3WniuSJhvdbs102rL55266ZcHBqLWOsG30spQMlPdpy7icATiAQehg/iA==} + pump@1.0.3: resolution: {integrity: sha512-8k0JupWme55+9tCVE+FS5ULT3K6AbgqrGa58lTT49RpyfwwcGedHqaC5LlQNdEAumn/wFsu6aPwkuPMioy8kqw==} @@ -8608,6 +8782,9 @@ packages: resolution: {integrity: sha512-gjWOsm2SoGlgLEdAGt7a6slVOk9mGiXmPFMqrEhLQ68rhQuBnpfs3+EmlvqKyxnCo9/PPlF+9MtY02S1aFg+Jw==} engines: {node: '>=0.10.0'} + querystringify@2.2.0: + resolution: {integrity: sha512-FIqgj2EUvTa7R50u0rGsyTftzjYmv/a3hO345bZNrqabNqjtgiDMgmo4mkUjd+nzU5oF3dClKqFIPUKybUyqoQ==} + queue-microtask@1.2.3: resolution: {integrity: sha512-NuaNSa6flKT5JaSYQzJok04JzTL1CA6aGhv5rfLW3PgqA+M2ChpZQnAC8h8i4ZFkBS8X5RqkDBHA7r4hej3K9A==} @@ -9052,6 +9229,10 @@ packages: sax@1.4.1: resolution: {integrity: sha512-+aWOz7yVScEGoKNd4PA10LZ8sk0A/z5+nXQG5giUO5rprX9jgYsTdov9qCchZiPIZezbZH+jRut8nPodFAX4Jg==} + saxes@6.0.0: + resolution: {integrity: sha512-xAg7SOnEhrm5zI3puOOKyy1OMcMlIJZYNJY7xLBwSze0UjhPLnWfj2GF2EpT0jmzaJKIWKHLsaSSajf35bcYnA==} + engines: {node: '>=v12.22.7'} + scheduler@0.23.2: resolution: {integrity: sha512-UOShsPwz7NrMUqhR6t0hWjFduvOzbtv7toDH1/hIrfRNIDBnnBWd0CwJTGvTpngVlmwGCdP9/Zl/tVrDqcuYzQ==} @@ -9562,6 +9743,9 @@ packages: resolution: {integrity: sha512-e900nM8RRtGhlV36KGEU9k65K3mPb1WV70OdjfxlG2EAuM1noi/E/BaW/uMhL7bPEssK8QV57vN3esixjUvcXQ==} engines: {node: '>=0.10.0'} + symbol-tree@3.2.4: + resolution: {integrity: sha512-9QNk5KwDF+Bvz+PyObkmSYjI5ksVUYtjW7AU22r2NKcfLJcXp96hkDWU3+XndOsUb+AQ9QhfzfCT2O+CNWT5Tw==} + synckit@0.9.2: resolution: {integrity: sha512-vrozgXDQwYO72vHjUb/HnFbQx1exDjoKzqx23aXEg2a9VIg2TSFZ8FmeZpTjUCFMYw7mpX4BE2SFu8wI7asYsw==} engines: {node: ^14.18.0 || >=16.0.0} @@ -9742,12 +9926,20 @@ packages: tomlify-j0.4@3.0.0: resolution: {integrity: sha512-2Ulkc8T7mXJ2l0W476YC/A209PR38Nw8PuaCNtk9uI3t1zzFdGQeWYGQvmj2PZkVvRC/Yoi4xQKMRnWc/N29tQ==} + tough-cookie@4.1.4: + resolution: {integrity: sha512-Loo5UUvLD9ScZ6jh8beX1T6sO1w2/MpCRpEP7V280GKMVUQ0Jzar2U3UJPsrdbziLEMMhu3Ujnq//rhiFuIeag==} + engines: {node: '>=6'} + tr46@0.0.3: resolution: {integrity: sha512-N3WMsuqV66lT30CrXNbEjx4GEwlow3v6rr4mCcv6prnfwhS01rkgyFdjPNBYd9br7LpXV1+Emh01fHnq2Gdgrw==} tr46@1.0.1: resolution: {integrity: sha512-dTpowEjclQ7Kgx5SdBkqRzVhERQXov8/l9Ft9dVM9fmg0W0KQSVaXX9T4i6twCPNtYiZM53lpSSUAwJbFPOHxA==} + tr46@3.0.0: + resolution: {integrity: sha512-l7FvfAHlcmulp8kr+flpQZmVwtu7nfRV7NZujtN0OqES8EL4O4e0qqzL0DC5gAvx/ZC/9lk6rhcUwYvkBnBnYA==} + engines: {node: '>=12'} + tree-kill@1.2.2: resolution: {integrity: sha512-L0Orpi8qGpRG//Nd+H90vFB+3iHnue1zSSGmNOOCh1GLJ7rUKVwV2HvijphGQS2UmhUZewS9VgvxYIdgr+fG1A==} hasBin: true @@ -10040,6 +10232,10 @@ packages: resolution: {integrity: sha512-rBJeI5CXAlmy1pV+617WB9J63U6XcazHHF2f2dbJix4XzpUF0RS3Zbj0FGIOCAva5P/d/GBOYaACQ1w+0azUkg==} engines: {node: '>= 4.0.0'} + universalify@0.2.0: + resolution: {integrity: sha512-CJ1QgKmNg3CwvAv/kOFmtnEN05f0D/cn9QntgNOQlQF9dgvVTHj3t+8JPdjqawCHk7V/KA+fbUqzZ9XWhcqPUg==} + engines: {node: '>= 4.0.0'} + universalify@2.0.1: resolution: {integrity: sha512-gptHNQghINnc/vTGIk0SOFGFNXw7JVrlRUtConJRlvaw6DuX0wO5Jeko9sWrMBhh+PsYAZ7oXAiOnf/UKogyiw==} engines: {node: '>= 10.0.0'} @@ -10097,6 +10293,9 @@ packages: resolution: {integrity: sha512-NjFKA0DidqPa5ciFcSrXnAltTtzz84ogy+NebPvfEgAck0+TNg4UJ4IN+fB7zRZfbgUf0syOo9MDxFkDSMuFaQ==} engines: {node: '>=4'} + url-parse@1.5.10: + resolution: {integrity: sha512-WypcfiRhfeUP9vvF0j6rw0J3hrWrw6iZv3+22h6iRMJ/8z1Tj6XfLP4DsUix5MhMPnXpiHDoKyoZ/bdCkwBCiQ==} + url-to-options@1.0.1: resolution: {integrity: sha512-0kQLIzG4fdk/G5NONku64rSH/x32NOA39LVQqlK8Le6lvTF6GGRJpqaQFGgU+CLwySIqBSMdwYM0sYcW9f6P4A==} engines: {node: '>= 4'} @@ -10183,6 +10382,10 @@ packages: vfile@6.0.3: resolution: {integrity: sha512-KzIbH/9tXat2u30jf+smMwFCsno4wHVdNmzFyL+T/L3UGqqk6JKfVqOFOZEpZSHADH1k40ab6NUIXZq422ov3Q==} + w3c-xmlserializer@4.0.0: + resolution: {integrity: sha512-d+BFHzbiCx6zGfz0HyQ6Rg69w9k19nviJspaj4yNscGjrHu94sVP+aRm75yEbCh+r2/yR+7q6hux9LVtbuTGBw==} + engines: {node: '>=14'} + wait-on@7.2.0: resolution: {integrity: sha512-wCQcHkRazgjG5XoAq9jbTMLpNIjoSlZslrJ2+N9MxDsGEv1HnFoVjOCexL0ESva7Y9cu350j+DWADdk54s4AFQ==} engines: {node: '>=12.0.0'} @@ -10216,6 +10419,10 @@ packages: webidl-conversions@4.0.2: resolution: {integrity: sha512-YQ+BmxuTgd6UXZW3+ICGfyqRyHXVlD5GtQr5+qjiNW7bF0cqrzX500HVXPBOvgXb5YnzDd+h0zqyv61KUD7+Sg==} + webidl-conversions@7.0.0: + resolution: {integrity: sha512-VwddBukDzu71offAQR975unBIGqfKZpM+8ZX6ySk8nYhVoo5CYaZyzt3YBvYtRtO+aoGlqxPg/B87NGVZ/fu6g==} + engines: {node: '>=12'} + webpack-dev-middleware@6.1.3: resolution: {integrity: sha512-A4ChP0Qj8oGociTs6UdlRUGANIGrCDL3y+pmQMc+dSsraXHCatFpmMey4mYELA+juqwUqwQsUgJJISXl1KWmiw==} engines: {node: '>= 14.15.0'} @@ -10249,6 +10456,18 @@ packages: resolution: {integrity: sha512-ZMjC3ho+KXo0BfJb7JgtQ5IBuvnShdlACNkKkdsqBmYw3bPAaJfPeYUo6tLUaT5tG/Gkh7xkpBhKRQ9e7pyg9Q==} engines: {node: '>=6'} + whatwg-encoding@2.0.0: + resolution: {integrity: sha512-p41ogyeMUrw3jWclHWTQg1k05DSVXPLcVxRTYsXUk+ZooOCZLcoYgPZ/HL/D/N+uQPOtcp1me1WhBEaX02mhWg==} + engines: {node: '>=12'} + + whatwg-mimetype@3.0.0: + resolution: {integrity: sha512-nt+N2dzIutVRxARx1nghPKGv1xHikU7HKdfafKkLNLindmPU/ch3U31NOCGGA/dmPcmb1VlofO0vnKAcsm0o/Q==} + engines: {node: '>=12'} + + whatwg-url@11.0.0: + resolution: {integrity: sha512-RKT8HExMpoYx4igMiVMY83lN6UeITKJlBQ+vR/8ZJ8OCdSiN3RwCq+9gH0+Xzj0+5IrM6i4j/6LuvzbZIQgEcQ==} + engines: {node: '>=12'} + whatwg-url@5.0.0: resolution: {integrity: sha512-saE57nupxk6v3HY35+jzBwYa0rKSy0XR8JSxZPwgLr7ys0IBzhGviA1/TUGJLmSVqs8pb9AnvICXEuOHLprYTw==} @@ -10364,9 +10583,16 @@ packages: resolution: {integrity: sha512-PSNhEJDejZYV7h50BohL09Er9VaIefr2LMAf3OEmpCkjOi34eYyQYAXUTjEQtZJTKcF0E2UKTh+osDLsgNim9Q==} engines: {node: '>=8'} + xml-name-validator@4.0.0: + resolution: {integrity: sha512-ICP2e+jsHvAj2E2lIHxa5tjXRlKDJo4IdvPvCXbXQGdzSfmSpNVyIKMvoZHjDY9DP0zV17iI85o90vRFXNccRw==} + engines: {node: '>=12'} + xml@1.0.1: resolution: {integrity: sha512-huCv9IH9Tcf95zuYCsQraZtWnJvBtLVE0QHMOs8bWyZAFZNDcYjsPq1nEx8jKA9y+Beo9v+7OBPRisQTjinQMw==} + xmlchars@2.2.0: + resolution: {integrity: sha512-JZnDKK8B0RCDw84FNdDAIpZK+JuJw+s7Lz8nksI7SIuU3UXJJslUthsi+uWBUYOwPFwW7W7PRLRfUKpxjtjFCw==} + xtend@4.0.2: resolution: {integrity: sha512-LKYU1iAXJXUgAXn9URjiu+MWhyUXHsvfp7mcuYm9dSUKK0/CjtrUwFAxD82/mCWbtLsGjFIad0wIsod4zrTAEQ==} engines: {node: '>=0.4'} @@ -11374,7 +11600,7 @@ snapshots: '@chromatic-com/storybook@2.0.2(react@18.3.1)': dependencies: - chromatic: 11.16.5 + chromatic: 11.18.0 filesize: 10.1.6 jsonfile: 6.1.0 react-confetti: 6.1.0(react@18.3.1) @@ -11550,7 +11776,7 @@ snapshots: dependencies: '@hapi/hoek': 9.3.0 - '@hopper-ui/components@1.3.31(@hopper-ui/styled-system@2.4.1(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(react-aria-components@1.4.1(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(react-aria@3.35.1(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(react-dom@18.3.1(react@18.3.1))(react@18.3.1)': + '@hopper-ui/components@1.3.33(@hopper-ui/styled-system@2.4.1(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(react-aria-components@1.4.1(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(react-aria@3.35.1(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(react-dom@18.3.1(react@18.3.1))(react@18.3.1)': dependencies: '@hopper-ui/icons': 2.8.4(@hopper-ui/styled-system@2.4.1(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(react-aria-components@1.4.1(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(react-dom@18.3.1(react@18.3.1))(react@18.3.1) '@hopper-ui/styled-system': 2.4.1(react-dom@18.3.1(react@18.3.1))(react@18.3.1) @@ -11674,6 +11900,41 @@ snapshots: - supports-color - ts-node + '@jest/core@29.7.0(ts-node@10.9.2(@swc/core@1.7.36(@swc/helpers@0.5.13))(@types/node@22.9.0)(typescript@5.4.5))': + dependencies: + '@jest/console': 29.7.0 + '@jest/reporters': 29.7.0 + '@jest/test-result': 29.7.0 + '@jest/transform': 29.7.0 + '@jest/types': 29.6.3 + '@types/node': 22.9.0 + ansi-escapes: 4.3.2 + chalk: 4.1.2 + ci-info: 3.9.0 + exit: 0.1.2 + graceful-fs: 4.2.11 + jest-changed-files: 29.7.0 + jest-config: 29.7.0(@types/node@22.9.0)(ts-node@10.9.2(@swc/core@1.7.36(@swc/helpers@0.5.13))(@types/node@22.9.0)(typescript@5.4.5)) + jest-haste-map: 29.7.0 + jest-message-util: 29.7.0 + jest-regex-util: 29.6.3 + jest-resolve: 29.7.0 + jest-resolve-dependencies: 29.7.0 + jest-runner: 29.7.0 + jest-runtime: 29.7.0 + jest-snapshot: 29.7.0 + jest-util: 29.7.0 + jest-validate: 29.7.0 + jest-watcher: 29.7.0 + micromatch: 4.0.8 + pretty-format: 29.7.0 + slash: 3.0.0 + strip-ansi: 6.0.1 + transitivePeerDependencies: + - babel-plugin-macros + - supports-color + - ts-node + '@jest/create-cache-key-function@29.7.0': dependencies: '@jest/types': 29.6.3 @@ -14235,6 +14496,8 @@ snapshots: dependencies: '@testing-library/dom': 10.4.0 + '@tootallnate/once@2.0.0': {} + '@trysound/sax@0.2.0': {} '@tsconfig/node10@1.0.11': {} @@ -14333,7 +14596,7 @@ snapshots: '@types/express-serve-static-core@4.19.6': dependencies: '@types/node': 22.9.0 - '@types/qs': 6.9.16 + '@types/qs': 6.9.17 '@types/range-parser': 1.2.7 '@types/send': 0.17.4 @@ -14341,7 +14604,7 @@ snapshots: dependencies: '@types/body-parser': 1.19.5 '@types/express-serve-static-core': 4.19.6 - '@types/qs': 6.9.16 + '@types/qs': 6.9.17 '@types/serve-static': 1.15.7 '@types/glob@7.2.0': @@ -14400,6 +14663,12 @@ snapshots: expect: 29.7.0 pretty-format: 29.7.0 + '@types/jsdom@20.0.1': + dependencies: + '@types/node': 22.9.0 + '@types/tough-cookie': 4.0.5 + parse5: 7.2.1 + '@types/json-schema@7.0.15': {} '@types/json5@0.0.29': {} @@ -14447,7 +14716,7 @@ snapshots: '@types/prop-types@15.7.13': {} - '@types/qs@6.9.16': {} + '@types/qs@6.9.17': {} '@types/range-parser@1.2.7': {} @@ -14781,80 +15050,80 @@ snapshots: loupe: 3.1.2 tinyrainbow: 1.2.0 - '@webassemblyjs/ast@1.12.1': + '@webassemblyjs/ast@1.14.1': dependencies: - '@webassemblyjs/helper-numbers': 1.11.6 - '@webassemblyjs/helper-wasm-bytecode': 1.11.6 + '@webassemblyjs/helper-numbers': 1.13.2 + '@webassemblyjs/helper-wasm-bytecode': 1.13.2 - '@webassemblyjs/floating-point-hex-parser@1.11.6': {} + '@webassemblyjs/floating-point-hex-parser@1.13.2': {} - '@webassemblyjs/helper-api-error@1.11.6': {} + '@webassemblyjs/helper-api-error@1.13.2': {} - '@webassemblyjs/helper-buffer@1.12.1': {} + '@webassemblyjs/helper-buffer@1.14.1': {} - '@webassemblyjs/helper-numbers@1.11.6': + '@webassemblyjs/helper-numbers@1.13.2': dependencies: - '@webassemblyjs/floating-point-hex-parser': 1.11.6 - '@webassemblyjs/helper-api-error': 1.11.6 + '@webassemblyjs/floating-point-hex-parser': 1.13.2 + '@webassemblyjs/helper-api-error': 1.13.2 '@xtuc/long': 4.2.2 - '@webassemblyjs/helper-wasm-bytecode@1.11.6': {} + '@webassemblyjs/helper-wasm-bytecode@1.13.2': {} - '@webassemblyjs/helper-wasm-section@1.12.1': + '@webassemblyjs/helper-wasm-section@1.14.1': dependencies: - '@webassemblyjs/ast': 1.12.1 - '@webassemblyjs/helper-buffer': 1.12.1 - '@webassemblyjs/helper-wasm-bytecode': 1.11.6 - '@webassemblyjs/wasm-gen': 1.12.1 + '@webassemblyjs/ast': 1.14.1 + '@webassemblyjs/helper-buffer': 1.14.1 + '@webassemblyjs/helper-wasm-bytecode': 1.13.2 + '@webassemblyjs/wasm-gen': 1.14.1 - '@webassemblyjs/ieee754@1.11.6': + '@webassemblyjs/ieee754@1.13.2': dependencies: '@xtuc/ieee754': 1.2.0 - '@webassemblyjs/leb128@1.11.6': + '@webassemblyjs/leb128@1.13.2': dependencies: '@xtuc/long': 4.2.2 - '@webassemblyjs/utf8@1.11.6': {} + '@webassemblyjs/utf8@1.13.2': {} - '@webassemblyjs/wasm-edit@1.12.1': + '@webassemblyjs/wasm-edit@1.14.1': dependencies: - '@webassemblyjs/ast': 1.12.1 - '@webassemblyjs/helper-buffer': 1.12.1 - '@webassemblyjs/helper-wasm-bytecode': 1.11.6 - '@webassemblyjs/helper-wasm-section': 1.12.1 - '@webassemblyjs/wasm-gen': 1.12.1 - '@webassemblyjs/wasm-opt': 1.12.1 - '@webassemblyjs/wasm-parser': 1.12.1 - '@webassemblyjs/wast-printer': 1.12.1 + '@webassemblyjs/ast': 1.14.1 + '@webassemblyjs/helper-buffer': 1.14.1 + '@webassemblyjs/helper-wasm-bytecode': 1.13.2 + '@webassemblyjs/helper-wasm-section': 1.14.1 + '@webassemblyjs/wasm-gen': 1.14.1 + '@webassemblyjs/wasm-opt': 1.14.1 + '@webassemblyjs/wasm-parser': 1.14.1 + '@webassemblyjs/wast-printer': 1.14.1 - '@webassemblyjs/wasm-gen@1.12.1': + '@webassemblyjs/wasm-gen@1.14.1': dependencies: - '@webassemblyjs/ast': 1.12.1 - '@webassemblyjs/helper-wasm-bytecode': 1.11.6 - '@webassemblyjs/ieee754': 1.11.6 - '@webassemblyjs/leb128': 1.11.6 - '@webassemblyjs/utf8': 1.11.6 + '@webassemblyjs/ast': 1.14.1 + '@webassemblyjs/helper-wasm-bytecode': 1.13.2 + '@webassemblyjs/ieee754': 1.13.2 + '@webassemblyjs/leb128': 1.13.2 + '@webassemblyjs/utf8': 1.13.2 - '@webassemblyjs/wasm-opt@1.12.1': + '@webassemblyjs/wasm-opt@1.14.1': dependencies: - '@webassemblyjs/ast': 1.12.1 - '@webassemblyjs/helper-buffer': 1.12.1 - '@webassemblyjs/wasm-gen': 1.12.1 - '@webassemblyjs/wasm-parser': 1.12.1 + '@webassemblyjs/ast': 1.14.1 + '@webassemblyjs/helper-buffer': 1.14.1 + '@webassemblyjs/wasm-gen': 1.14.1 + '@webassemblyjs/wasm-parser': 1.14.1 - '@webassemblyjs/wasm-parser@1.12.1': + '@webassemblyjs/wasm-parser@1.14.1': dependencies: - '@webassemblyjs/ast': 1.12.1 - '@webassemblyjs/helper-api-error': 1.11.6 - '@webassemblyjs/helper-wasm-bytecode': 1.11.6 - '@webassemblyjs/ieee754': 1.11.6 - '@webassemblyjs/leb128': 1.11.6 - '@webassemblyjs/utf8': 1.11.6 + '@webassemblyjs/ast': 1.14.1 + '@webassemblyjs/helper-api-error': 1.13.2 + '@webassemblyjs/helper-wasm-bytecode': 1.13.2 + '@webassemblyjs/ieee754': 1.13.2 + '@webassemblyjs/leb128': 1.13.2 + '@webassemblyjs/utf8': 1.13.2 - '@webassemblyjs/wast-printer@1.12.1': + '@webassemblyjs/wast-printer@1.14.1': dependencies: - '@webassemblyjs/ast': 1.12.1 + '@webassemblyjs/ast': 1.14.1 '@xtuc/long': 4.2.2 '@workleap/eslint-plugin@3.2.2(@typescript-eslint/parser@8.10.0(eslint@8.57.1)(typescript@5.4.5))(eslint@8.57.1)(jest@29.7.0(@types/node@16.18.119)(ts-node@10.9.2(@swc/core@1.7.36(@swc/helpers@0.5.13))(@types/node@16.18.119)(typescript@5.4.5)))(typescript@5.4.5)': @@ -14899,6 +15168,14 @@ snapshots: '@swc/jest': 0.2.36(@swc/core@1.7.36(@swc/helpers@0.5.13)) browserslist: 4.24.0 + '@workleap/swc-configs@2.2.3(@swc/core@1.7.36(@swc/helpers@0.5.13))(@swc/helpers@0.5.13)(@swc/jest@0.2.36(@swc/core@1.7.36(@swc/helpers@0.5.13)))(browserslist@4.24.2)': + dependencies: + '@swc/core': 1.7.36(@swc/helpers@0.5.13) + '@swc/helpers': 0.5.13 + optionalDependencies: + '@swc/jest': 0.2.36(@swc/core@1.7.36(@swc/helpers@0.5.13)) + browserslist: 4.24.2 + '@workleap/tsup-configs@3.0.6(tsup@8.3.0(@swc/core@1.7.36(@swc/helpers@0.5.13))(postcss@8.4.47)(typescript@5.4.5)(yaml@2.6.0))(typescript@5.4.5)': dependencies: tsup: 8.3.0(@swc/core@1.7.36(@swc/helpers@0.5.13))(postcss@8.4.47)(typescript@5.4.5)(yaml@2.6.0) @@ -14914,6 +15191,8 @@ snapshots: '@zeit/schemas@2.36.0': {} + abab@2.0.6: {} + abbrev@1.1.1: {} abbrev@2.0.0: {} @@ -14927,6 +15206,11 @@ snapshots: mime-types: 2.1.35 negotiator: 0.6.3 + acorn-globals@7.0.1: + dependencies: + acorn: 8.14.0 + acorn-walk: 8.3.4 + acorn-jsx@5.3.2(acorn@7.4.1): dependencies: acorn: 7.4.1 @@ -15444,7 +15728,7 @@ snapshots: dependencies: ansi-align: 3.0.1 camelcase: 7.0.1 - chalk: 5.3.0 + chalk: 5.0.1 cli-boxes: 3.0.0 string-width: 5.1.2 type-fest: 2.19.0 @@ -15483,15 +15767,15 @@ snapshots: browserslist@4.24.0: dependencies: - caniuse-lite: 1.0.30001677 - electron-to-chromium: 1.5.51 + caniuse-lite: 1.0.30001679 + electron-to-chromium: 1.5.55 node-releases: 2.0.18 update-browserslist-db: 1.1.1(browserslist@4.24.0) browserslist@4.24.2: dependencies: - caniuse-lite: 1.0.30001677 - electron-to-chromium: 1.5.51 + caniuse-lite: 1.0.30001679 + electron-to-chromium: 1.5.55 node-releases: 2.0.18 update-browserslist-db: 1.1.1(browserslist@4.24.2) @@ -15634,7 +15918,7 @@ snapshots: camelcase@7.0.1: {} - caniuse-lite@1.0.30001677: {} + caniuse-lite@1.0.30001679: {} case-sensitive-paths-webpack-plugin@2.4.0: {} @@ -15726,7 +16010,7 @@ snapshots: chownr@2.0.0: {} - chromatic@11.16.5: {} + chromatic@11.18.0: {} chromatic@6.3.4: {} @@ -16086,6 +16370,21 @@ snapshots: - supports-color - ts-node + create-jest@29.7.0(@types/node@22.9.0)(ts-node@10.9.2(@swc/core@1.7.36(@swc/helpers@0.5.13))(@types/node@22.9.0)(typescript@5.4.5)): + dependencies: + '@jest/types': 29.6.3 + chalk: 4.1.2 + exit: 0.1.2 + graceful-fs: 4.2.11 + jest-config: 29.7.0(@types/node@22.9.0)(ts-node@10.9.2(@swc/core@1.7.36(@swc/helpers@0.5.13))(@types/node@22.9.0)(typescript@5.4.5)) + jest-util: 29.7.0 + prompts: 2.4.2 + transitivePeerDependencies: + - '@types/node' + - babel-plugin-macros + - supports-color + - ts-node + create-require@1.1.1: {} cron-parser@4.9.0: @@ -16094,7 +16393,7 @@ snapshots: cross-env@7.0.3: dependencies: - cross-spawn: 7.0.3 + cross-spawn: 7.0.5 cross-spawn@5.1.0: dependencies: @@ -16102,7 +16401,7 @@ snapshots: shebang-command: 1.2.0 which: 1.3.1 - cross-spawn@7.0.3: + cross-spawn@7.0.5: dependencies: path-key: 3.1.1 shebang-command: 2.0.0 @@ -16166,6 +16465,14 @@ snapshots: dependencies: css-tree: 2.2.1 + cssom@0.3.8: {} + + cssom@0.5.0: {} + + cssstyle@2.3.0: + dependencies: + cssom: 0.3.8 + csstype@3.1.3: {} cwd@0.10.0: @@ -16179,6 +16486,12 @@ snapshots: data-uri-to-buffer@4.0.1: {} + data-urls@3.0.2: + dependencies: + abab: 2.0.6 + whatwg-mimetype: 3.0.0 + whatwg-url: 11.0.0 + data-view-buffer@1.0.1: dependencies: call-bind: 1.0.7 @@ -16234,6 +16547,8 @@ snapshots: decamelize@1.2.0: {} + decimal.js@10.4.3: {} + decode-named-character-reference@1.0.2: dependencies: character-entities: 2.0.2 @@ -16528,6 +16843,10 @@ snapshots: domelementtype@2.3.0: {} + domexception@4.0.0: + dependencies: + webidl-conversions: 7.0.0 + domhandler@2.4.2: dependencies: domelementtype: 1.3.1 @@ -16602,7 +16921,7 @@ snapshots: dependencies: jake: 10.9.2 - electron-to-chromium@1.5.51: {} + electron-to-chromium@1.5.55: {} elegant-spinner@1.0.1: {} @@ -17113,7 +17432,7 @@ snapshots: '@ungap/structured-clone': 1.2.0 ajv: 6.12.6 chalk: 4.1.2 - cross-spawn: 7.0.3 + cross-spawn: 7.0.5 debug: 4.3.7(supports-color@9.4.0) doctrine: 3.0.0 escape-string-regexp: 4.0.0 @@ -17199,7 +17518,7 @@ snapshots: execa@5.1.1: dependencies: - cross-spawn: 7.0.3 + cross-spawn: 7.0.5 get-stream: 6.0.1 human-signals: 2.1.0 is-stream: 2.0.1 @@ -17211,7 +17530,7 @@ snapshots: execa@6.1.0: dependencies: - cross-spawn: 7.0.3 + cross-spawn: 7.0.5 get-stream: 6.0.1 human-signals: 3.0.1 is-stream: 3.0.0 @@ -17556,12 +17875,12 @@ snapshots: foreground-child@2.0.0: dependencies: - cross-spawn: 7.0.3 + cross-spawn: 7.0.5 signal-exit: 3.0.7 foreground-child@3.3.0: dependencies: - cross-spawn: 7.0.3 + cross-spawn: 7.0.5 signal-exit: 4.1.0 fork-ts-checker-webpack-plugin@8.0.0(typescript@5.4.5)(webpack@5.96.1(@swc/core@1.7.36(@swc/helpers@0.5.13))(esbuild@0.23.1)): @@ -18089,6 +18408,10 @@ snapshots: dependencies: lru-cache: 10.4.3 + html-encoding-sniffer@3.0.0: + dependencies: + whatwg-encoding: 2.0.0 + html-entities@2.5.2: {} html-escaper@2.0.2: {} @@ -18151,6 +18474,14 @@ snapshots: statuses: 2.0.1 toidentifier: 1.0.1 + http-proxy-agent@5.0.0: + dependencies: + '@tootallnate/once': 2.0.0 + agent-base: 6.0.2(supports-color@9.4.0) + debug: 4.3.7(supports-color@9.4.0) + transitivePeerDependencies: + - supports-color + http-proxy-middleware@2.0.7(@types/express@4.17.21)(debug@4.3.7): dependencies: '@types/http-proxy': 1.17.15 @@ -18188,6 +18519,10 @@ snapshots: dependencies: safer-buffer: 2.1.2 + iconv-lite@0.6.3: + dependencies: + safer-buffer: 2.1.2 + icss-utils@5.1.0(postcss@8.4.47): dependencies: postcss: 8.4.47 @@ -18484,6 +18819,8 @@ snapshots: is-port-reachable@4.0.0: {} + is-potential-custom-element-name@1.0.1: {} + is-promise@2.2.2: {} is-reference@1.2.1: @@ -18614,7 +18951,7 @@ snapshots: istanbul-lib-processinfo@2.0.3: dependencies: archy: 1.0.0 - cross-spawn: 7.0.3 + cross-spawn: 7.0.5 istanbul-lib-coverage: 3.2.2 p-map: 3.0.0 rimraf: 3.0.2 @@ -18716,6 +19053,25 @@ snapshots: - supports-color - ts-node + jest-cli@29.7.0(@types/node@22.9.0)(ts-node@10.9.2(@swc/core@1.7.36(@swc/helpers@0.5.13))(@types/node@22.9.0)(typescript@5.4.5)): + dependencies: + '@jest/core': 29.7.0(ts-node@10.9.2(@swc/core@1.7.36(@swc/helpers@0.5.13))(@types/node@22.9.0)(typescript@5.4.5)) + '@jest/test-result': 29.7.0 + '@jest/types': 29.6.3 + chalk: 4.1.2 + create-jest: 29.7.0(@types/node@22.9.0)(ts-node@10.9.2(@swc/core@1.7.36(@swc/helpers@0.5.13))(@types/node@22.9.0)(typescript@5.4.5)) + exit: 0.1.2 + import-local: 3.2.0 + jest-config: 29.7.0(@types/node@22.9.0)(ts-node@10.9.2(@swc/core@1.7.36(@swc/helpers@0.5.13))(@types/node@22.9.0)(typescript@5.4.5)) + jest-util: 29.7.0 + jest-validate: 29.7.0 + yargs: 17.7.2 + transitivePeerDependencies: + - '@types/node' + - babel-plugin-macros + - supports-color + - ts-node + jest-config@29.7.0(@types/node@16.18.119)(ts-node@10.9.2(@swc/core@1.7.36(@swc/helpers@0.5.13))(@types/node@16.18.119)(typescript@5.4.5)): dependencies: '@babel/core': 7.26.0(supports-color@9.4.0) @@ -18778,6 +19134,37 @@ snapshots: - babel-plugin-macros - supports-color + jest-config@29.7.0(@types/node@22.9.0)(ts-node@10.9.2(@swc/core@1.7.36(@swc/helpers@0.5.13))(@types/node@22.9.0)(typescript@5.4.5)): + dependencies: + '@babel/core': 7.26.0(supports-color@9.4.0) + '@jest/test-sequencer': 29.7.0 + '@jest/types': 29.6.3 + babel-jest: 29.7.0(@babel/core@7.26.0) + chalk: 4.1.2 + ci-info: 3.9.0 + deepmerge: 4.3.1 + glob: 7.2.3 + graceful-fs: 4.2.11 + jest-circus: 29.7.0 + jest-environment-node: 29.7.0 + jest-get-type: 29.6.3 + jest-regex-util: 29.6.3 + jest-resolve: 29.7.0 + jest-runner: 29.7.0 + jest-util: 29.7.0 + jest-validate: 29.7.0 + micromatch: 4.0.8 + parse-json: 5.2.0 + pretty-format: 29.7.0 + slash: 3.0.0 + strip-json-comments: 3.1.1 + optionalDependencies: + '@types/node': 22.9.0 + ts-node: 10.9.2(@swc/core@1.7.36(@swc/helpers@0.5.13))(@types/node@22.9.0)(typescript@5.4.5) + transitivePeerDependencies: + - babel-plugin-macros + - supports-color + jest-diff@29.7.0: dependencies: chalk: 4.1.2 @@ -18797,6 +19184,21 @@ snapshots: jest-util: 29.7.0 pretty-format: 29.7.0 + jest-environment-jsdom@29.7.0: + dependencies: + '@jest/environment': 29.7.0 + '@jest/fake-timers': 29.7.0 + '@jest/types': 29.6.3 + '@types/jsdom': 20.0.1 + '@types/node': 22.9.0 + jest-mock: 29.7.0 + jest-util: 29.7.0 + jsdom: 20.0.3 + transitivePeerDependencies: + - bufferutil + - supports-color + - utf-8-validate + jest-environment-node@29.7.0: dependencies: '@jest/environment': 29.7.0 @@ -19093,6 +19495,18 @@ snapshots: - supports-color - ts-node + jest@29.7.0(@types/node@22.9.0)(ts-node@10.9.2(@swc/core@1.7.36(@swc/helpers@0.5.13))(@types/node@22.9.0)(typescript@5.4.5)): + dependencies: + '@jest/core': 29.7.0(ts-node@10.9.2(@swc/core@1.7.36(@swc/helpers@0.5.13))(@types/node@22.9.0)(typescript@5.4.5)) + '@jest/types': 29.6.3 + import-local: 3.2.0 + jest-cli: 29.7.0(@types/node@22.9.0)(ts-node@10.9.2(@swc/core@1.7.36(@swc/helpers@0.5.13))(@types/node@22.9.0)(typescript@5.4.5)) + transitivePeerDependencies: + - '@types/node' + - babel-plugin-macros + - supports-color + - ts-node + joi@17.13.3: dependencies: '@hapi/hoek': 9.3.0 @@ -19118,6 +19532,39 @@ snapshots: jsdoc-type-pratt-parser@4.1.0: {} + jsdom@20.0.3: + dependencies: + abab: 2.0.6 + acorn: 8.14.0 + acorn-globals: 7.0.1 + cssom: 0.5.0 + cssstyle: 2.3.0 + data-urls: 3.0.2 + decimal.js: 10.4.3 + domexception: 4.0.0 + escodegen: 2.1.0 + form-data: 4.0.1 + html-encoding-sniffer: 3.0.0 + http-proxy-agent: 5.0.0 + https-proxy-agent: 5.0.1(supports-color@9.4.0) + is-potential-custom-element-name: 1.0.1 + nwsapi: 2.2.13 + parse5: 7.2.1 + saxes: 6.0.0 + symbol-tree: 3.2.4 + tough-cookie: 4.1.4 + w3c-xmlserializer: 4.0.0 + webidl-conversions: 7.0.0 + whatwg-encoding: 2.0.0 + whatwg-mimetype: 3.0.0 + whatwg-url: 11.0.0 + ws: 8.18.0 + xml-name-validator: 4.0.0 + transitivePeerDependencies: + - bufferutil + - supports-color + - utf-8-validate + jsesc@3.0.2: {} json-buffer@3.0.0: {} @@ -20506,6 +20953,8 @@ snapshots: number-is-nan@1.0.1: {} + nwsapi@2.2.13: {} + nyc@15.1.0: dependencies: '@istanbuljs/load-nyc-config': 1.1.0 @@ -20850,6 +21299,10 @@ snapshots: parse-passwd@1.0.0: {} + parse5@7.2.1: + dependencies: + entities: 4.5.0 + parseurl@1.3.3: {} pascal-case@3.1.2: @@ -21133,6 +21586,10 @@ snapshots: pseudomap@1.0.2: {} + psl@1.10.0: + dependencies: + punycode: 2.3.1 + pump@1.0.3: dependencies: end-of-stream: 1.4.4 @@ -21163,6 +21620,8 @@ snapshots: object-assign: 4.1.1 strict-uri-encode: 1.1.0 + querystringify@2.2.0: {} + queue-microtask@1.2.3: {} quick-lru@4.0.1: {} @@ -21795,6 +22254,10 @@ snapshots: sax@1.4.1: {} + saxes@6.0.0: + dependencies: + xmlchars: 2.2.0 + scheduler@0.23.2: dependencies: loose-envify: 1.4.0 @@ -22420,6 +22883,8 @@ snapshots: symbol-observable@1.2.0: {} + symbol-tree@3.2.4: {} + synckit@0.9.2: dependencies: '@pkgr/core': 0.1.1 @@ -22621,12 +23086,23 @@ snapshots: tomlify-j0.4@3.0.0: {} + tough-cookie@4.1.4: + dependencies: + psl: 1.10.0 + punycode: 2.3.1 + universalify: 0.2.0 + url-parse: 1.5.10 + tr46@0.0.3: {} tr46@1.0.1: dependencies: punycode: 2.3.1 + tr46@3.0.0: + dependencies: + punycode: 2.3.1 + tree-kill@1.2.2: {} trim-newlines@3.0.1: {} @@ -22667,6 +23143,26 @@ snapshots: babel-jest: 29.7.0(@babel/core@7.26.0) esbuild: 0.23.1 + ts-jest@29.2.5(@babel/core@7.26.0)(@jest/transform@29.7.0)(@jest/types@29.6.3)(babel-jest@29.7.0(@babel/core@7.26.0))(esbuild@0.23.1)(jest@29.7.0(@types/node@22.9.0)(ts-node@10.9.2(@swc/core@1.7.36(@swc/helpers@0.5.13))(@types/node@22.9.0)(typescript@5.4.5)))(typescript@5.4.5): + dependencies: + bs-logger: 0.2.6 + ejs: 3.1.10 + fast-json-stable-stringify: 2.1.0 + jest: 29.7.0(@types/node@22.9.0)(ts-node@10.9.2(@swc/core@1.7.36(@swc/helpers@0.5.13))(@types/node@22.9.0)(typescript@5.4.5)) + jest-util: 29.7.0 + json5: 2.2.3 + lodash.memoize: 4.1.2 + make-error: 1.3.6 + semver: 7.6.3 + typescript: 5.4.5 + yargs-parser: 21.1.1 + optionalDependencies: + '@babel/core': 7.26.0(supports-color@9.4.0) + '@jest/transform': 29.7.0 + '@jest/types': 29.6.3 + babel-jest: 29.7.0(@babel/core@7.26.0) + esbuild: 0.23.1 + ts-node@10.4.0(@swc/core@1.7.36(@swc/helpers@0.5.13))(@types/node@16.18.119)(typescript@4.9.5): dependencies: '@cspotcode/source-map-support': 0.7.0 @@ -22706,6 +23202,26 @@ snapshots: optionalDependencies: '@swc/core': 1.7.36(@swc/helpers@0.5.13) + ts-node@10.9.2(@swc/core@1.7.36(@swc/helpers@0.5.13))(@types/node@22.9.0)(typescript@5.4.5): + dependencies: + '@cspotcode/source-map-support': 0.8.1 + '@tsconfig/node10': 1.0.11 + '@tsconfig/node12': 1.0.11 + '@tsconfig/node14': 1.0.3 + '@tsconfig/node16': 1.0.4 + '@types/node': 22.9.0 + acorn: 8.14.0 + acorn-walk: 8.3.4 + arg: 4.1.3 + create-require: 1.1.1 + diff: 4.0.2 + make-error: 1.3.6 + typescript: 5.4.5 + v8-compile-cache-lib: 3.0.1 + yn: 3.1.1 + optionalDependencies: + '@swc/core': 1.7.36(@swc/helpers@0.5.13) + tsconfig-paths-webpack-plugin@4.1.0: dependencies: chalk: 4.1.2 @@ -22963,6 +23479,8 @@ snapshots: universalify@0.1.2: {} + universalify@0.2.0: {} + universalify@2.0.1: {} unixify@1.0.0: @@ -23031,6 +23549,11 @@ snapshots: dependencies: prepend-http: 2.0.0 + url-parse@1.5.10: + dependencies: + querystringify: 2.2.0 + requires-port: 1.0.0 + url-to-options@1.0.1: {} url@0.11.4: @@ -23125,6 +23648,10 @@ snapshots: '@types/unist': 3.0.3 vfile-message: 4.0.2 + w3c-xmlserializer@4.0.0: + dependencies: + xml-name-validator: 4.0.0 + wait-on@7.2.0: dependencies: axios: 1.7.7 @@ -23164,6 +23691,8 @@ snapshots: webidl-conversions@4.0.2: {} + webidl-conversions@7.0.0: {} + webpack-dev-middleware@6.1.3(webpack@5.96.1(@swc/core@1.7.36(@swc/helpers@0.5.13))(esbuild@0.23.1)): dependencies: colorette: 2.0.20 @@ -23188,9 +23717,9 @@ snapshots: dependencies: '@types/eslint-scope': 3.7.7 '@types/estree': 1.0.6 - '@webassemblyjs/ast': 1.12.1 - '@webassemblyjs/wasm-edit': 1.12.1 - '@webassemblyjs/wasm-parser': 1.12.1 + '@webassemblyjs/ast': 1.14.1 + '@webassemblyjs/wasm-edit': 1.14.1 + '@webassemblyjs/wasm-parser': 1.14.1 acorn: 8.14.0 browserslist: 4.24.0 chrome-trace-event: 1.0.4 @@ -23216,6 +23745,17 @@ snapshots: well-known-symbols@2.0.0: {} + whatwg-encoding@2.0.0: + dependencies: + iconv-lite: 0.6.3 + + whatwg-mimetype@3.0.0: {} + + whatwg-url@11.0.0: + dependencies: + tr46: 3.0.0 + webidl-conversions: 7.0.0 + whatwg-url@5.0.0: dependencies: tr46: 0.0.3 @@ -23281,7 +23821,7 @@ snapshots: wide-align@1.1.5: dependencies: - string-width: 4.2.3 + string-width: 1.0.2 widest-line@3.1.0: dependencies: @@ -23365,8 +23905,12 @@ snapshots: xdg-basedir@4.0.0: {} + xml-name-validator@4.0.0: {} + xml@1.0.1: {} + xmlchars@2.2.0: {} + xtend@4.0.2: {} y18n@4.0.3: {} diff --git a/pnpm-workspace.yaml b/pnpm-workspace.yaml index 110ffadfd..9c9be4ba8 100644 --- a/pnpm-workspace.yaml +++ b/pnpm-workspace.yaml @@ -1,3 +1,2 @@ packages: - - 'packages/**' - - 'tooling/**' + - "packages/**" diff --git a/setupTests.ts b/setupTests.ts deleted file mode 100644 index a135f7294..000000000 --- a/setupTests.ts +++ /dev/null @@ -1,5 +0,0 @@ -import "@testing-library/jest-dom"; -import "@testing-library/jest-dom/jest-globals"; - -global.ResizeObserver = require("resize-observer-polyfill"); - diff --git a/tsconfig.build.json b/tsconfig.build.json deleted file mode 100644 index 10abe69ba..000000000 --- a/tsconfig.build.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "$schema": "https://json.schemastore.org/tsconfig", - "extends": "@workleap/typescript-configs/library.json", - "compilerOptions": { - "allowImportingTsExtensions": false, - "noEmit": false, - "emitDeclarationOnly": false, - "strict": false, - "noFallthroughCasesInSwitch": false - } -} diff --git a/tsconfig.json b/tsconfig.json index dd085be09..250684d06 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -1,10 +1,19 @@ { "$schema": "https://json.schemastore.org/tsconfig", - "extends": ["./tsconfig.build.json", "./tsconfig.paths.json"], + "extends": "@workleap/typescript-configs/monorepo-workspace", "compilerOptions": { - "allowImportingTsExtensions": true, - "noEmit": true, "allowJs": true, + "strict": false, + "noFallthroughCasesInSwitch": false, + "baseUrl": ".", + "paths": { + "@test-utils": ["../../tooling/test-utils/index.ts"], + "@css/*": ["packages/css/src/*"], + "@components": ["packages/components/src/index.ts"], + "@components/*": ["packages/components/src/*"], + "@stories/components": [".storybook/components/index.ts"], + "@stories/mdx": [".storybook/mdx/index.ts"] + } }, "exclude": ["**/dist/**", "node_modules", "packages", "apps"], "include": ["**/*", ".storybook/**/*"], diff --git a/tsconfig.paths.json b/tsconfig.paths.json deleted file mode 100644 index 472c23ace..000000000 --- a/tsconfig.paths.json +++ /dev/null @@ -1,15 +0,0 @@ -{ - "compilerOptions": { - "baseUrl": ".", - "paths": { - "@test-utils": ["tooling/test-utils/index.ts"], - "@components": ["packages/components/src/index.ts"], - "@components/*": ["packages/components/src/*"], - "@orbit-ui/transition-components": ["packages/components/src/index.ts"], - "@workleap/orbiter-ui": ["packages/bundle/src/index.ts"], - "@stories/components": [".storybook/components/index.ts"], - "@css/*": ["packages/css/src/*"], - "@stories/mdx": [".storybook/mdx/index.ts"] - } - } -} From 65feab2c1b56c38e2fe9d9ad0d7d3c0f45fc625f Mon Sep 17 00:00:00 2001 From: Alexandre Asselin <alexandre.asselin@gsoft.com> Date: Fri, 8 Nov 2024 14:58:04 -0500 Subject: [PATCH 93/95] fix the textMaskCore error injest --- packages/components/src/date-input/src/useMaskedInput.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/components/src/date-input/src/useMaskedInput.ts b/packages/components/src/date-input/src/useMaskedInput.ts index 62e3c43c2..b8280ad80 100644 --- a/packages/components/src/date-input/src/useMaskedInput.ts +++ b/packages/components/src/date-input/src/useMaskedInput.ts @@ -1,4 +1,4 @@ -import { createTextMaskInputElement } from "text-mask-core"; +import textMaskCore from "text-mask-core"; import { isNil } from "../../shared/index.ts"; import { useCallback, useEffect, useRef } from "react"; @@ -15,7 +15,7 @@ export function useMaskedInput({ useEffect(() => { if (!isNil(inputElement)) { - maskRef.current = createTextMaskInputElement({ + maskRef.current = textMaskCore.createTextMaskInputElement({ guide: false, inputElement, mask From 16bf6e4949e42b9666855cce177aea0d1fc60310 Mon Sep 17 00:00:00 2001 From: Victor Trinh <victor.trinh@gsoft.com> Date: Mon, 11 Nov 2024 10:25:16 -0500 Subject: [PATCH 94/95] Copy function into repo --- packages/components/package.json | 3 +- .../src/date-input/src/useMaskedInput.ts | 4 +- .../src/utils/adjustCaretPosition.js | 269 ++++++++++++++++++ .../src/date-input/src/utils/conformToMask.js | 249 ++++++++++++++++ .../src/date-input/src/utils/constants.js | 2 + .../src/utils/createTextMarkInputElement.js | 199 +++++++++++++ .../src/date-input/src/utils/utilities.js | 54 ++++ pnpm-lock.yaml | 157 ++++++---- 8 files changed, 879 insertions(+), 58 deletions(-) create mode 100644 packages/components/src/date-input/src/utils/adjustCaretPosition.js create mode 100644 packages/components/src/date-input/src/utils/conformToMask.js create mode 100644 packages/components/src/date-input/src/utils/constants.js create mode 100644 packages/components/src/date-input/src/utils/createTextMarkInputElement.js create mode 100644 packages/components/src/date-input/src/utils/utilities.js diff --git a/packages/components/package.json b/packages/components/package.json index 16ba21cb3..673891157 100644 --- a/packages/components/package.json +++ b/packages/components/package.json @@ -48,7 +48,6 @@ "@hopper-ui/icons": "^2.8.2", "@popperjs/core": "2.11.8", "react-is": "18.3.1", - "text-mask-core": "5.1.2", "use-debounce": "10.0.4" }, "devDependencies": { @@ -82,8 +81,8 @@ "react-aria-components": "^1.2.1", "react-test-renderer": "18.3.1", "resize-observer-polyfill": "1.5.1", - "ts-node": "10.9.2", "ts-jest": "29.2.5", + "ts-node": "10.9.2", "tsup": "8.3.0", "typescript": "5.4.5" }, diff --git a/packages/components/src/date-input/src/useMaskedInput.ts b/packages/components/src/date-input/src/useMaskedInput.ts index b8280ad80..1864c0f5d 100644 --- a/packages/components/src/date-input/src/useMaskedInput.ts +++ b/packages/components/src/date-input/src/useMaskedInput.ts @@ -1,4 +1,4 @@ -import textMaskCore from "text-mask-core"; +import createTextMaskInputElement from "./utils/createTextMarkInputElement.js"; import { isNil } from "../../shared/index.ts"; import { useCallback, useEffect, useRef } from "react"; @@ -15,7 +15,7 @@ export function useMaskedInput({ useEffect(() => { if (!isNil(inputElement)) { - maskRef.current = textMaskCore.createTextMaskInputElement({ + maskRef.current = createTextMaskInputElement({ guide: false, inputElement, mask diff --git a/packages/components/src/date-input/src/utils/adjustCaretPosition.js b/packages/components/src/date-input/src/utils/adjustCaretPosition.js new file mode 100644 index 000000000..444eb1696 --- /dev/null +++ b/packages/components/src/date-input/src/utils/adjustCaretPosition.js @@ -0,0 +1,269 @@ +const defaultArray = []; +const emptyString = ""; + +export default function adjustCaretPosition({ + previousConformedValue = emptyString, + previousPlaceholder = emptyString, + currentCaretPosition = 0, + conformedValue, + rawValue, + placeholderChar, + placeholder, + indexesOfPipedChars = defaultArray, + caretTrapIndexes = defaultArray +}) { + if (currentCaretPosition === 0 || !rawValue.length) { return 0; } + + // Store lengths for faster performance? + const rawValueLength = rawValue.length; + const previousConformedValueLength = previousConformedValue.length; + const placeholderLength = placeholder.length; + const conformedValueLength = conformedValue.length; + + // This tells us how long the edit is. If user modified input from `(2__)` to `(243__)`, + // we know the user in this instance pasted two characters + const editLength = rawValueLength - previousConformedValueLength; + + // If the edit length is positive, that means the user is adding characters, not deleting. + const isAddition = editLength > 0; + + // This is the first raw value the user entered that needs to be conformed to mask + const isFirstRawValue = previousConformedValueLength === 0; + + // A partial multi-character edit happens when the user makes a partial selection in their + // input and edits that selection. That is going from `(123) 432-4348` to `() 432-4348` by + // selecting the first 3 digits and pressing backspace. + // + // Such cases can also happen when the user presses the backspace while holding down the ALT + // key. + const isPartialMultiCharEdit = editLength > 1 && !isAddition && !isFirstRawValue; + + // This algorithm doesn't support all cases of multi-character edits, so we just return + // the current caret position. + // + // This works fine for most cases. + if (isPartialMultiCharEdit) { return currentCaretPosition; } + + // For a mask like (111), if the `previousConformedValue` is (1__) and user attempts to enter + // `f` so the `rawValue` becomes (1f__), the new `conformedValue` would be (1__), which is the + // same as the original `previousConformedValue`. We handle this case differently for caret + // positioning. + const possiblyHasRejectedChar = isAddition && ( + previousConformedValue === conformedValue || + conformedValue === placeholder + ); + + let startingSearchIndex = 0; + let trackRightCharacter; + let targetChar; + + if (possiblyHasRejectedChar) { + startingSearchIndex = currentCaretPosition - editLength; + } else { + // At this point in the algorithm, we want to know where the caret is right before the raw input + // has been conformed, and then see if we can find that same spot in the conformed input. + // + // We do that by seeing what character lies immediately before the caret, and then look for that + // same character in the conformed input and place the caret there. + + // First, we need to normalize the inputs so that letter capitalization between raw input and + // conformed input wouldn't matter. + const normalizedConformedValue = conformedValue.toLowerCase(); + const normalizedRawValue = rawValue.toLowerCase(); + + // Then we take all characters that come before where the caret currently is. + const leftHalfChars = normalizedRawValue.substr(0, currentCaretPosition).split(emptyString); + + // Now we find all the characters in the left half that exist in the conformed input + // This step ensures that we don't look for a character that was filtered out or rejected by `conformToMask`. + const intersection = leftHalfChars.filter(char => normalizedConformedValue.indexOf(char) !== -1); + + // The last character in the intersection is the character we want to look for in the conformed + // value and the one we want to adjust the caret close to + targetChar = intersection[intersection.length - 1]; + + // Calculate the number of mask characters in the previous placeholder + // from the start of the string up to the place where the caret is + const previousLeftMaskChars = previousPlaceholder + .substr(0, intersection.length) + .split(emptyString) + .filter(char => char !== placeholderChar) + .length; + + // Calculate the number of mask characters in the current placeholder + // from the start of the string up to the place where the caret is + const leftMaskChars = placeholder + .substr(0, intersection.length) + .split(emptyString) + .filter(char => char !== placeholderChar) + .length; + + // Has the number of mask characters up to the caret changed? + const masklengthChanged = leftMaskChars !== previousLeftMaskChars; + + // Detect if `targetChar` is a mask character and has moved to the left + const targetIsMaskMovingLeft = ( + previousPlaceholder[intersection.length - 1] !== undefined && + placeholder[intersection.length - 2] !== undefined && + previousPlaceholder[intersection.length - 1] !== placeholderChar && + previousPlaceholder[intersection.length - 1] !== placeholder[intersection.length - 1] && + previousPlaceholder[intersection.length - 1] === placeholder[intersection.length - 2] + ); + + // If deleting and the `targetChar` `is a mask character and `masklengthChanged` is true + // or the mask is moving to the left, we can't use the selected `targetChar` any longer + // if we are not at the end of the string. + // In this case, change tracking strategy and track the character to the right of the caret. + if ( + !isAddition && + (masklengthChanged || targetIsMaskMovingLeft) && + previousLeftMaskChars > 0 && + placeholder.indexOf(targetChar) > -1 && + rawValue[currentCaretPosition] !== undefined + ) { + trackRightCharacter = true; + targetChar = rawValue[currentCaretPosition]; + } + + // It is possible that `targetChar` will appear multiple times in the conformed value. + // We need to know not to select a character that looks like our target character from the placeholder or + // the piped characters, so we inspect the piped characters and the placeholder to see if they contain + // characters that match our target character. + + // If the `conformedValue` got piped, we need to know which characters were piped in so that when we look for + // our `targetChar`, we don't select a piped char by mistake + const pipedChars = indexesOfPipedChars.map(index => normalizedConformedValue[index]); + + // We need to know how many times the `targetChar` occurs in the piped characters. + const countTargetCharInPipedChars = pipedChars.filter(char => char === targetChar).length; + + // We need to know how many times it occurs in the intersection + const countTargetCharInIntersection = intersection.filter(char => char === targetChar).length; + + // We need to know if the placeholder contains characters that look like + // our `targetChar`, so we don't select one of those by mistake. + const countTargetCharInPlaceholder = placeholder + .substr(0, placeholder.indexOf(placeholderChar)) + .split(emptyString) + .filter((char, index) => ( + // Check if `char` is the same as our `targetChar`, so we account for it + char === targetChar && + + // but also make sure that both the `rawValue` and placeholder don't have the same character at the same + // index because if they are equal, that means we are already counting those characters in + // `countTargetCharInIntersection` + rawValue[index] !== char + )) + .length; + + // The number of times we need to see occurrences of the `targetChar` before we know it is the one we're looking + // for is: + const requiredNumberOfMatches = ( + countTargetCharInPlaceholder + + countTargetCharInIntersection + + countTargetCharInPipedChars + + // The character to the right of the caret isn't included in `intersection` + // so add one if we are tracking the character to the right + (trackRightCharacter ? 1 : 0) + ); + + // Now we start looking for the location of the `targetChar`. + // We keep looping forward and store the index in every iteration. Once we have encountered + // enough occurrences of the target character, we break out of the loop + // If are searching for the second `1` in `1214`, `startingSearchIndex` will point at `4`. + let numberOfEncounteredMatches = 0; + for (let i = 0; i < conformedValueLength; i++) { + const conformedValueChar = normalizedConformedValue[i]; + + startingSearchIndex = i + 1; + + if (conformedValueChar === targetChar) { + numberOfEncounteredMatches++; + } + + if (numberOfEncounteredMatches >= requiredNumberOfMatches) { + break; + } + } + } + + // At this point, if we simply return `startingSearchIndex` as the adjusted caret position, + // most cases would be handled. However, we want to fast forward or rewind the caret to the + // closest placeholder character if it happens to be in a non-editable spot. That's what the next + // logic is for. + + // In case of addition, we fast forward. + if (isAddition) { + // We want to remember the last placeholder character encountered so that if the mask + // contains more characters after the last placeholder character, we don't forward the caret + // that far to the right. Instead, we stop it at the last encountered placeholder character. + let lastPlaceholderChar = startingSearchIndex; + + for (let i = startingSearchIndex; i <= placeholderLength; i++) { + if (placeholder[i] === placeholderChar) { + lastPlaceholderChar = i; + } + + if ( + // If we're adding, we can position the caret at the next placeholder character. + placeholder[i] === placeholderChar || + + // If a caret trap was set by a mask function, we need to stop at the trap. + caretTrapIndexes.indexOf(i) !== -1 || + + // This is the end of the placeholder. We cannot move any further. Let's put the caret there. + i === placeholderLength + ) { + return lastPlaceholderChar; + } + } + } else { + // In case of deletion, we rewind. + if (trackRightCharacter) { + // Searching for the character that was to the right of the caret + // We start at `startingSearchIndex` - 1 because it includes one character extra to the right + for (let i = startingSearchIndex - 1; i >= 0; i--) { + // If tracking the character to the right of the cursor, we move to the left until + // we found the character and then place the caret right before it + + if ( + // `targetChar` should be in `conformedValue`, since it was in `rawValue`, just + // to the right of the caret + conformedValue[i] === targetChar || + + // If a caret trap was set by a mask function, we need to stop at the trap. + caretTrapIndexes.indexOf(i) !== -1 || + + // This is the beginning of the placeholder. We cannot move any further. + // Let's put the caret there. + i === 0 + ) { + return i; + } + } + } else { + // Searching for the first placeholder or caret trap to the left + + for (let i = startingSearchIndex; i >= 0; i--) { + // If we're deleting, we stop the caret right before the placeholder character. + // For example, for mask `(111) 11`, current conformed input `(456) 86`. If user + // modifies input to `(456 86`. That is, they deleted the `)`, we place the caret + // right after the first `6` + + if ( + // If we're deleting, we can position the caret right before the placeholder character + placeholder[i - 1] === placeholderChar || + + // If a caret trap was set by a mask function, we need to stop at the trap. + caretTrapIndexes.indexOf(i) !== -1 || + + // This is the beginning of the placeholder. We cannot move any further. + // Let's put the caret there. + i === 0 + ) { + return i; + } + } + } + } +} diff --git a/packages/components/src/date-input/src/utils/conformToMask.js b/packages/components/src/date-input/src/utils/conformToMask.js new file mode 100644 index 000000000..9b8bc631a --- /dev/null +++ b/packages/components/src/date-input/src/utils/conformToMask.js @@ -0,0 +1,249 @@ +import { convertMaskToPlaceholder, isArray, processCaretTraps } from "./utilities"; +import { placeholderChar as defaultPlaceholderChar, strFunction } from "./constants"; + +const emptyArray = []; +const emptyString = ""; + +export default function conformToMask(rawValue = emptyString, mask = emptyArray, config = {}) { + if (!isArray(mask)) { + // If someone passes a function as the mask property, we should call the + // function to get the mask array - Normally this is handled by the + // `createTextMaskInputElement:update` function - this allows mask functions + // to be used directly with `conformToMask` + if (typeof mask === strFunction) { + // call the mask function to get the mask array + mask = mask(rawValue, config); + + // mask functions can setup caret traps to have some control over how the caret moves. We need to process + // the mask for any caret traps. `processCaretTraps` will remove the caret traps from the mask + mask = processCaretTraps(mask).maskWithoutCaretTraps; + } else { + throw new Error( + "Text-mask:conformToMask; The mask property must be an array." + ); + } + } + + // These configurations tell us how to conform the mask + const { + guide = true, + previousConformedValue = emptyString, + placeholderChar = defaultPlaceholderChar, + placeholder = convertMaskToPlaceholder(mask, placeholderChar), + currentCaretPosition, + keepCharPositions + } = config; + + // The configs below indicate that the user wants the algorithm to work in *no guide* mode + const suppressGuide = guide === false && previousConformedValue !== undefined; + + // Calculate lengths once for performance + const rawValueLength = rawValue.length; + const previousConformedValueLength = previousConformedValue.length; + const placeholderLength = placeholder.length; + const maskLength = mask.length; + + // This tells us the number of edited characters and the direction in which they were edited (+/-) + const editDistance = rawValueLength - previousConformedValueLength; + + // In *no guide* mode, we need to know if the user is trying to add a character or not + const isAddition = editDistance > 0; + + // Tells us the index of the first change. For (438) 394-4938 to (38) 394-4938, that would be 1 + const indexOfFirstChange = currentCaretPosition + (isAddition ? -editDistance : 0); + + // We're also gonna need the index of last change, which we can derive as follows... + const indexOfLastChange = indexOfFirstChange + Math.abs(editDistance); + + // If `conformToMask` is configured to keep character positions, that is, for mask 111, previous value + // _2_ and raw value 3_2_, the new conformed value should be 32_, not 3_2 (default behavior). That's in the case of + // addition. And in the case of deletion, previous value _23, raw value _3, the new conformed string should be + // __3, not _3_ (default behavior) + // + // The next block of logic handles keeping character positions for the case of deletion. (Keeping + // character positions for the case of addition is further down since it is handled differently.) + // To do this, we want to compensate for all characters that were deleted + if (keepCharPositions === true && !isAddition) { + // We will be storing the new placeholder characters in this variable. + let compensatingPlaceholderChars = emptyString; + + // For every character that was deleted from a placeholder position, we add a placeholder char + for (let i = indexOfFirstChange; i < indexOfLastChange; i++) { + if (placeholder[i] === placeholderChar) { + compensatingPlaceholderChars += placeholderChar; + } + } + + // Now we trick our algorithm by modifying the raw value to make it contain additional placeholder characters + // That way when the we start laying the characters again on the mask, it will keep the non-deleted characters + // in their positions. + rawValue = ( + rawValue.slice(0, indexOfFirstChange) + + compensatingPlaceholderChars + + rawValue.slice(indexOfFirstChange, rawValueLength) + ); + } + + // Convert `rawValue` string to an array, and mark characters based on whether they are newly added or have + // existed in the previous conformed value. Identifying new and old characters is needed for `conformToMask` + // to work if it is configured to keep character positions. + const rawValueArr = rawValue + .split(emptyString) + .map((char, i) => ({ char, isNew: i >= indexOfFirstChange && i < indexOfLastChange })); + + // The loop below removes masking characters from user input. For example, for mask + // `00 (111)`, the placeholder would be `00 (___)`. If user input is `00 (234)`, the loop below + // would remove all characters but `234` from the `rawValueArr`. The rest of the algorithm + // then would lay `234` on top of the available placeholder positions in the mask. + for (let i = rawValueLength - 1; i >= 0; i--) { + const { char } = rawValueArr[i]; + + if (char !== placeholderChar) { + const shouldOffset = i >= indexOfFirstChange && previousConformedValueLength === maskLength; + + if (char === placeholder[(shouldOffset) ? i - editDistance : i]) { + rawValueArr.splice(i, 1); + } + } + } + + // This is the variable that we will be filling with characters as we figure them out + // in the algorithm below + let conformedValue = emptyString; + let someCharsRejected = false; + + // Ok, so first we loop through the placeholder looking for placeholder characters to fill up. + placeholderLoop: for (let i = 0; i < placeholderLength; i++) { + const charInPlaceholder = placeholder[i]; + + // We see one. Let's find out what we can put in it. + if (charInPlaceholder === placeholderChar) { + // But before that, do we actually have any user characters that need a place? + if (rawValueArr.length > 0) { + // We will keep chipping away at user input until either we run out of characters + // or we find at least one character that we can map. + while (rawValueArr.length > 0) { + // Let's retrieve the first user character in the queue of characters we have left + const { char: rawValueChar, isNew } = rawValueArr.shift(); + + // If the character we got from the user input is a placeholder character (which happens + // regularly because user input could be something like (540) 90_-____, which includes + // a bunch of `_` which are placeholder characters) and we are not in *no guide* mode, + // then we map this placeholder character to the current spot in the placeholder + if (rawValueChar === placeholderChar && suppressGuide !== true) { + conformedValue += placeholderChar; + + // And we go to find the next placeholder character that needs filling + continue placeholderLoop; + + // Else if, the character we got from the user input is not a placeholder, let's see + // if the current position in the mask can accept it. + } else if (mask[i].test(rawValueChar)) { + // we map the character differently based on whether we are keeping character positions or not. + // If any of the conditions below are met, we simply map the raw value character to the + // placeholder position. + if ( + keepCharPositions !== true || + isNew === false || + previousConformedValue === emptyString || + guide === false || + !isAddition + ) { + conformedValue += rawValueChar; + } else { + // We enter this block of code if we are trying to keep character positions and none of the conditions + // above is met. In this case, we need to see if there's an available spot for the raw value character + // to be mapped to. If we couldn't find a spot, we will discard the character. + // + // For example, for mask `1111`, previous conformed value `_2__`, raw value `942_2__`. We can map the + // `9`, to the first available placeholder position, but then, there are no more spots available for the + // `4` and `2`. So, we discard them and end up with a conformed value of `92__`. + const rawValueArrLength = rawValueArr.length; + let indexOfNextAvailablePlaceholderChar = null; + + // Let's loop through the remaining raw value characters. We are looking for either a suitable spot, ie, + // a placeholder character or a non-suitable spot, ie, a non-placeholder character that is not new. + // If we see a suitable spot first, we store its position and exit the loop. If we see a non-suitable + // spot first, we exit the loop and our `indexOfNextAvailablePlaceholderChar` will stay as `null`. + for (let i = 0; i < rawValueArrLength; i++) { + const charData = rawValueArr[i]; + + if (charData.char !== placeholderChar && charData.isNew === false) { + break; + } + + if (charData.char === placeholderChar) { + indexOfNextAvailablePlaceholderChar = i; + break; + } + } + + // If `indexOfNextAvailablePlaceholderChar` is not `null`, that means the character is not blocked. + // We can map it. And to keep the character positions, we remove the placeholder character + // from the remaining characters + if (indexOfNextAvailablePlaceholderChar !== null) { + conformedValue += rawValueChar; + rawValueArr.splice(indexOfNextAvailablePlaceholderChar, 1); + + // If `indexOfNextAvailablePlaceholderChar` is `null`, that means the character is blocked. We have to + // discard it. + } else { + i--; + } + } + + // Since we've mapped this placeholder position. We move on to the next one. + continue placeholderLoop; + } else { + someCharsRejected = true; + } + } + } + + // We reach this point when we've mapped all the user input characters to placeholder + // positions in the mask. In *guide* mode, we append the left over characters in the + // placeholder to the `conformedString`, but in *no guide* mode, we don't wanna do that. + // + // That is, for mask `(111)` and user input `2`, we want to return `(2`, not `(2__)`. + if (suppressGuide === false) { + conformedValue += placeholder.substr(i, placeholderLength); + } + + // And we break + break; + + // Else, the charInPlaceholder is not a placeholderChar. That is, we cannot fill it + // with user input. So we just map it to the final output + } else { + conformedValue += charInPlaceholder; + } + } + + // The following logic is needed to deal with the case of deletion in *no guide* mode. + // + // Consider the silly mask `(111) /// 1`. What if user tries to delete the last placeholder + // position? Something like `(589) /// `. We want to conform that to `(589`. Not `(589) /// `. + // That's why the logic below finds the last filled placeholder character, and removes everything + // from that point on. + if (suppressGuide && isAddition === false) { + let indexOfLastFilledPlaceholderChar = null; + + // Find the last filled placeholder position and substring from there + for (let i = 0; i < conformedValue.length; i++) { + if (placeholder[i] === placeholderChar) { + indexOfLastFilledPlaceholderChar = i; + } + } + + if (indexOfLastFilledPlaceholderChar !== null) { + // We substring from the beginning until the position after the last filled placeholder char. + conformedValue = conformedValue.substr(0, indexOfLastFilledPlaceholderChar + 1); + } else { + // If we couldn't find `indexOfLastFilledPlaceholderChar` that means the user deleted + // the first character in the mask. So we return an empty string. + conformedValue = emptyString; + } + } + + return { conformedValue, meta: { someCharsRejected } }; +} diff --git a/packages/components/src/date-input/src/utils/constants.js b/packages/components/src/date-input/src/utils/constants.js new file mode 100644 index 000000000..5879a0403 --- /dev/null +++ b/packages/components/src/date-input/src/utils/constants.js @@ -0,0 +1,2 @@ +export const placeholderChar = "_"; +export const strFunction = "function"; diff --git a/packages/components/src/date-input/src/utils/createTextMarkInputElement.js b/packages/components/src/date-input/src/utils/createTextMarkInputElement.js new file mode 100644 index 000000000..aa97993b4 --- /dev/null +++ b/packages/components/src/date-input/src/utils/createTextMarkInputElement.js @@ -0,0 +1,199 @@ +import adjustCaretPosition from "./adjustCaretPosition"; +import conformToMask from "./conformToMask"; +import { convertMaskToPlaceholder, isString, isNumber, processCaretTraps } from "./utilities"; +import { placeholderChar as defaultPlaceholderChar, strFunction } from "./constants"; + +const emptyString = ""; +const strNone = "none"; +const strObject = "object"; +const isAndroid = typeof navigator !== "undefined" && /Android/i.test(navigator.userAgent); +const defer = typeof requestAnimationFrame !== "undefined" ? requestAnimationFrame : setTimeout; + +export default function createTextMaskInputElement(config) { + // Anything that we will need to keep between `update` calls, we will store in this `state` object. + const state = { previousConformedValue: undefined, previousPlaceholder: undefined }; + + return { + state, + + // `update` is called by framework components whenever they want to update the `value` of the input element. + // The caller can send a `rawValue` to be conformed and set on the input element. However, the default use-case + // is for this to be read from the `inputElement` directly. + update(rawValue, { + inputElement, + mask: providedMask, + guide, + pipe, + placeholderChar = defaultPlaceholderChar, + keepCharPositions = false, + showMask = false + } = config) { + // if `rawValue` is `undefined`, read from the `inputElement` + if (typeof rawValue === "undefined") { + rawValue = inputElement.value; + } + + // If `rawValue` equals `state.previousConformedValue`, we don't need to change anything. So, we return. + // This check is here to handle controlled framework components that repeat the `update` call on every render. + if (rawValue === state.previousConformedValue) { return; } + + // Text Mask accepts masks that are a combination of a `mask` and a `pipe` that work together. If such a `mask` is + // passed, we destructure it below, so the rest of the code can work normally as if a separate `mask` and a `pipe` + // were passed. + if (typeof providedMask === strObject && providedMask.pipe !== undefined && providedMask.mask !== undefined) { + pipe = providedMask.pipe; + providedMask = providedMask.mask; + } + + // The `placeholder` is an essential piece of how Text Mask works. For a mask like `(111)`, the placeholder would + // be `(___)` if the `placeholderChar` is set to `_`. + let placeholder; + + // We don't know what the mask would be yet. If it is an array, we take it as is, but if it's a function, we will + // have to call that function to get the mask array. + let mask; + + // If the provided mask is an array, we can call `convertMaskToPlaceholder` here once and we'll always have the + // correct `placeholder`. + if (providedMask instanceof Array) { + placeholder = convertMaskToPlaceholder(providedMask, placeholderChar); + } + + // In framework components that support reactivity, it's possible to turn off masking by passing + // `false` for `mask` after initialization. See https://github.com/text-mask/text-mask/pull/359 + if (providedMask === false) { return; } + + // We check the provided `rawValue` before moving further. + // If it's something we can't work with `getSafeRawValue` will throw. + const safeRawValue = getSafeRawValue(rawValue); + + // `selectionEnd` indicates to us where the caret position is after the user has typed into the input + const { selectionEnd: currentCaretPosition } = inputElement; + + // We need to know what the `previousConformedValue` and `previousPlaceholder` is from the previous `update` call + const { previousConformedValue, previousPlaceholder } = state; + + let caretTrapIndexes; + + // If the `providedMask` is a function. We need to call it at every `update` to get the `mask` array. + // Then we also need to get the `placeholder` + if (typeof providedMask === strFunction) { + mask = providedMask(safeRawValue, { currentCaretPosition, previousConformedValue, placeholderChar }); + + // disable masking if `mask` is `false` + if (mask === false) { return; } + + // mask functions can setup caret traps to have some control over how the caret moves. We need to process + // the mask for any caret traps. `processCaretTraps` will remove the caret traps from the mask and return + // the indexes of the caret traps. + const { maskWithoutCaretTraps, indexes } = processCaretTraps(mask); + + mask = maskWithoutCaretTraps; // The processed mask is what we're interested in + caretTrapIndexes = indexes; // And we need to store these indexes because they're needed by `adjustCaretPosition` + + placeholder = convertMaskToPlaceholder(mask, placeholderChar); + + // If the `providedMask` is not a function, we just use it as-is. + } else { + mask = providedMask; + } + + // The following object will be passed to `conformToMask` to determine how the `rawValue` will be conformed + const conformToMaskConfig = { + previousConformedValue, + guide, + placeholderChar, + pipe, + placeholder, + currentCaretPosition, + keepCharPositions + }; + + // `conformToMask` returns `conformedValue` as part of an object for future API flexibility + const { conformedValue } = conformToMask(safeRawValue, mask, conformToMaskConfig); + + // The following few lines are to support the `pipe` feature. + const piped = typeof pipe === strFunction; + + let pipeResults = {}; + + // If `pipe` is a function, we call it. + if (piped) { + // `pipe` receives the `conformedValue` and the configurations with which `conformToMask` was called. + pipeResults = pipe(conformedValue, { rawValue: safeRawValue, ...conformToMaskConfig }); + + // `pipeResults` should be an object. But as a convenience, we allow the pipe author to just return `false` to + // indicate rejection. Or return just a string when there are no piped characters. + // If the `pipe` returns `false` or a string, the block below turns it into an object that the rest + // of the code can work with. + if (pipeResults === false) { + // If the `pipe` rejects `conformedValue`, we use the `previousConformedValue`, and set `rejected` to `true`. + pipeResults = { value: previousConformedValue, rejected: true }; + } else if (isString(pipeResults)) { + pipeResults = { value: pipeResults }; + } + } + + // Before we proceed, we need to know which conformed value to use, the one returned by the pipe or the one + // returned by `conformToMask`. + const finalConformedValue = (piped) ? pipeResults.value : conformedValue; + + // After determining the conformed value, we will need to know where to set + // the caret position. `adjustCaretPosition` will tell us. + const adjustedCaretPosition = adjustCaretPosition({ + previousConformedValue, + previousPlaceholder, + conformedValue: finalConformedValue, + placeholder, + rawValue: safeRawValue, + currentCaretPosition, + placeholderChar, + indexesOfPipedChars: pipeResults.indexesOfPipedChars, + caretTrapIndexes + }); + + // Text Mask sets the input value to an empty string when the condition below is set. It provides a better UX. + const inputValueShouldBeEmpty = finalConformedValue === placeholder && adjustedCaretPosition === 0; + const emptyValue = showMask ? placeholder : emptyString; + const inputElementValue = (inputValueShouldBeEmpty) ? emptyValue : finalConformedValue; + + state.previousConformedValue = inputElementValue; // store value for access for next time + state.previousPlaceholder = placeholder; + + // In some cases, this `update` method will be repeatedly called with a raw value that has already been conformed + // and set to `inputElement.value`. The below check guards against needlessly readjusting the input state. + // See https://github.com/text-mask/text-mask/issues/231 + if (inputElement.value === inputElementValue) { + return; + } + + inputElement.value = inputElementValue; // set the input value + safeSetSelection(inputElement, adjustedCaretPosition); // adjust caret position + } + }; +} + +function safeSetSelection(element, selectionPosition) { + if (document.activeElement === element) { + if (isAndroid) { + defer(() => element.setSelectionRange(selectionPosition, selectionPosition, strNone), 0); + } else { + element.setSelectionRange(selectionPosition, selectionPosition, strNone); + } + } +} + +function getSafeRawValue(inputValue) { + if (isString(inputValue)) { + return inputValue; + } else if (isNumber(inputValue)) { + return String(inputValue); + } else if (inputValue === undefined || inputValue === null) { + return emptyString; + } else { + throw new Error( + "The 'value' provided to Text Mask needs to be a string or a number. The value " + + `received was:\n\n ${JSON.stringify(inputValue)}` + ); + } +} diff --git a/packages/components/src/date-input/src/utils/utilities.js b/packages/components/src/date-input/src/utils/utilities.js new file mode 100644 index 000000000..7fbb44766 --- /dev/null +++ b/packages/components/src/date-input/src/utils/utilities.js @@ -0,0 +1,54 @@ +import { placeholderChar as defaultPlaceholderChar } from "./constants"; + +const emptyArray = []; + +export function convertMaskToPlaceholder(mask = emptyArray, placeholderChar = defaultPlaceholderChar) { + if (!isArray(mask)) { + throw new Error( + "Text-mask:convertMaskToPlaceholder; The mask property must be an array." + ); + } + + if (mask.indexOf(placeholderChar) !== -1) { + throw new Error( + "Placeholder character must not be used as part of the mask. Please specify a character " + + "that is not present in your mask as your placeholder character.\n\n" + + `The placeholder character that was received is: ${JSON.stringify(placeholderChar)}\n\n` + + `The mask that was received is: ${JSON.stringify(mask)}` + ); + } + + return mask.map(char => { + return (char instanceof RegExp) ? placeholderChar : char; + }).join(""); +} + +export function isArray(value) { + return (Array.isArray && Array.isArray(value)) || value instanceof Array; +} + +export function isString(value) { + return typeof value === "string" || value instanceof String; +} + +export function isNumber(value) { + return typeof value === "number" && value.length === undefined && !isNaN(value); +} + +export function isNil(value) { + return typeof value === "undefined" || value === null; +} + +const strCaretTrap = "[]"; +export function processCaretTraps(mask) { + const indexes = []; + + let indexOfCaretTrap; + while(indexOfCaretTrap = mask.indexOf(strCaretTrap), indexOfCaretTrap !== -1) { // eslint-disable-line + indexes.push(indexOfCaretTrap); + + mask.splice(indexOfCaretTrap, 1); + } + + return { maskWithoutCaretTraps: mask, indexes }; +} diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index de326c5ae..5fabd2d60 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -245,9 +245,6 @@ importers: react-is: specifier: 18.3.1 version: 18.3.1 - text-mask-core: - specifier: 5.1.2 - version: 5.1.2 use-debounce: specifier: 10.0.4 version: 10.0.4(react@18.3.1) @@ -299,7 +296,7 @@ importers: version: 8.10.0(eslint@8.57.1)(typescript@5.4.5) '@workleap/swc-configs': specifier: 2.2.3 - version: 2.2.3(@swc/core@1.7.36(@swc/helpers@0.5.13))(@swc/helpers@0.5.13)(@swc/jest@0.2.36(@swc/core@1.7.36(@swc/helpers@0.5.13)))(browserslist@4.24.2) + version: 2.2.3(@swc/core@1.7.36(@swc/helpers@0.5.13))(@swc/helpers@0.5.13)(@swc/jest@0.2.36(@swc/core@1.7.36(@swc/helpers@0.5.13)))(browserslist@4.24.0) '@workleap/tsup-configs': specifier: 3.0.6 version: 3.0.6(tsup@8.3.0(@swc/core@1.7.36(@swc/helpers@0.5.13))(postcss@8.4.47)(typescript@5.4.5)(yaml@2.6.0))(typescript@5.4.5) @@ -9824,9 +9821,6 @@ packages: text-hex@1.0.0: resolution: {integrity: sha512-uuVGNWzgJ4yhRaNSiubPY7OjISw4sw4E5Uv0wbjp+OzcbmVU/rsT8ujgcXJhn9ypzsgr5vlzpPqP+MBBKcGvbg==} - text-mask-core@5.1.2: - resolution: {integrity: sha512-VfkCMdmRRZqXgQZFlDMiavm3hzsMzBM23CxHZsaeAYg66ZhXCNJWrFmnJwNy8KF9f74YvAUAuQenxsMCfuvhUw==} - text-table@0.2.0: resolution: {integrity: sha512-N+8UisAXDGk8PFXP4HAzVR9nbfmVJ3zYLAWiTIoqC5v5isinhr+r5uaO8+7r3BMfuNIufIsA7RdpVgacC2cSpw==} @@ -10689,6 +10683,26 @@ snapshots: '@babel/compat-data@7.26.2': {} + '@babel/core@7.26.0': + dependencies: + '@ampproject/remapping': 2.3.0 + '@babel/code-frame': 7.26.2 + '@babel/generator': 7.26.2 + '@babel/helper-compilation-targets': 7.25.9 + '@babel/helper-module-transforms': 7.26.0(@babel/core@7.26.0) + '@babel/helpers': 7.26.0 + '@babel/parser': 7.26.2 + '@babel/template': 7.25.9 + '@babel/traverse': 7.25.9 + '@babel/types': 7.26.0 + convert-source-map: 2.0.0 + debug: 4.3.7 + gensync: 1.0.0-beta.2 + json5: 2.2.3 + semver: 6.3.1 + transitivePeerDependencies: + - supports-color + '@babel/core@7.26.0(supports-color@9.4.0)': dependencies: '@ampproject/remapping': 2.3.0 @@ -10774,6 +10788,13 @@ snapshots: transitivePeerDependencies: - supports-color + '@babel/helper-module-imports@7.25.9': + dependencies: + '@babel/traverse': 7.25.9 + '@babel/types': 7.26.0 + transitivePeerDependencies: + - supports-color + '@babel/helper-module-imports@7.25.9(supports-color@9.4.0)': dependencies: '@babel/traverse': 7.25.9(supports-color@9.4.0) @@ -10781,6 +10802,15 @@ snapshots: transitivePeerDependencies: - supports-color + '@babel/helper-module-transforms@7.26.0(@babel/core@7.26.0)': + dependencies: + '@babel/core': 7.26.0 + '@babel/helper-module-imports': 7.25.9 + '@babel/helper-validator-identifier': 7.25.9 + '@babel/traverse': 7.25.9 + transitivePeerDependencies: + - supports-color + '@babel/helper-module-transforms@7.26.0(@babel/core@7.26.0)(supports-color@9.4.0)': dependencies: '@babel/core': 7.26.0(supports-color@9.4.0) @@ -10896,22 +10926,22 @@ snapshots: '@babel/plugin-syntax-async-generators@7.8.4(@babel/core@7.26.0)': dependencies: - '@babel/core': 7.26.0(supports-color@9.4.0) + '@babel/core': 7.26.0 '@babel/helper-plugin-utils': 7.25.9 '@babel/plugin-syntax-bigint@7.8.3(@babel/core@7.26.0)': dependencies: - '@babel/core': 7.26.0(supports-color@9.4.0) + '@babel/core': 7.26.0 '@babel/helper-plugin-utils': 7.25.9 '@babel/plugin-syntax-class-properties@7.12.13(@babel/core@7.26.0)': dependencies: - '@babel/core': 7.26.0(supports-color@9.4.0) + '@babel/core': 7.26.0 '@babel/helper-plugin-utils': 7.25.9 '@babel/plugin-syntax-class-static-block@7.14.5(@babel/core@7.26.0)': dependencies: - '@babel/core': 7.26.0(supports-color@9.4.0) + '@babel/core': 7.26.0 '@babel/helper-plugin-utils': 7.25.9 '@babel/plugin-syntax-import-assertions@7.26.0(@babel/core@7.26.0)': @@ -10921,67 +10951,67 @@ snapshots: '@babel/plugin-syntax-import-attributes@7.26.0(@babel/core@7.26.0)': dependencies: - '@babel/core': 7.26.0(supports-color@9.4.0) + '@babel/core': 7.26.0 '@babel/helper-plugin-utils': 7.25.9 '@babel/plugin-syntax-import-meta@7.10.4(@babel/core@7.26.0)': dependencies: - '@babel/core': 7.26.0(supports-color@9.4.0) + '@babel/core': 7.26.0 '@babel/helper-plugin-utils': 7.25.9 '@babel/plugin-syntax-json-strings@7.8.3(@babel/core@7.26.0)': dependencies: - '@babel/core': 7.26.0(supports-color@9.4.0) + '@babel/core': 7.26.0 '@babel/helper-plugin-utils': 7.25.9 '@babel/plugin-syntax-jsx@7.25.9(@babel/core@7.26.0)': dependencies: - '@babel/core': 7.26.0(supports-color@9.4.0) + '@babel/core': 7.26.0 '@babel/helper-plugin-utils': 7.25.9 '@babel/plugin-syntax-logical-assignment-operators@7.10.4(@babel/core@7.26.0)': dependencies: - '@babel/core': 7.26.0(supports-color@9.4.0) + '@babel/core': 7.26.0 '@babel/helper-plugin-utils': 7.25.9 '@babel/plugin-syntax-nullish-coalescing-operator@7.8.3(@babel/core@7.26.0)': dependencies: - '@babel/core': 7.26.0(supports-color@9.4.0) + '@babel/core': 7.26.0 '@babel/helper-plugin-utils': 7.25.9 '@babel/plugin-syntax-numeric-separator@7.10.4(@babel/core@7.26.0)': dependencies: - '@babel/core': 7.26.0(supports-color@9.4.0) + '@babel/core': 7.26.0 '@babel/helper-plugin-utils': 7.25.9 '@babel/plugin-syntax-object-rest-spread@7.8.3(@babel/core@7.26.0)': dependencies: - '@babel/core': 7.26.0(supports-color@9.4.0) + '@babel/core': 7.26.0 '@babel/helper-plugin-utils': 7.25.9 '@babel/plugin-syntax-optional-catch-binding@7.8.3(@babel/core@7.26.0)': dependencies: - '@babel/core': 7.26.0(supports-color@9.4.0) + '@babel/core': 7.26.0 '@babel/helper-plugin-utils': 7.25.9 '@babel/plugin-syntax-optional-chaining@7.8.3(@babel/core@7.26.0)': dependencies: - '@babel/core': 7.26.0(supports-color@9.4.0) + '@babel/core': 7.26.0 '@babel/helper-plugin-utils': 7.25.9 '@babel/plugin-syntax-private-property-in-object@7.14.5(@babel/core@7.26.0)': dependencies: - '@babel/core': 7.26.0(supports-color@9.4.0) + '@babel/core': 7.26.0 '@babel/helper-plugin-utils': 7.25.9 '@babel/plugin-syntax-top-level-await@7.14.5(@babel/core@7.26.0)': dependencies: - '@babel/core': 7.26.0(supports-color@9.4.0) + '@babel/core': 7.26.0 '@babel/helper-plugin-utils': 7.25.9 '@babel/plugin-syntax-typescript@7.25.9(@babel/core@7.26.0)': dependencies: - '@babel/core': 7.26.0(supports-color@9.4.0) + '@babel/core': 7.26.0 '@babel/helper-plugin-utils': 7.25.9 '@babel/plugin-syntax-unicode-sets-regex@7.18.6(@babel/core@7.26.0)': @@ -11405,6 +11435,18 @@ snapshots: '@babel/parser': 7.26.2 '@babel/types': 7.26.0 + '@babel/traverse@7.25.9': + dependencies: + '@babel/code-frame': 7.26.2 + '@babel/generator': 7.26.2 + '@babel/parser': 7.26.2 + '@babel/template': 7.25.9 + '@babel/types': 7.26.0 + debug: 4.3.7 + globals: 11.12.0 + transitivePeerDependencies: + - supports-color + '@babel/traverse@7.25.9(supports-color@9.4.0)': dependencies: '@babel/code-frame': 7.26.2 @@ -11732,7 +11774,7 @@ snapshots: '@eslint/eslintrc@2.1.4': dependencies: ajv: 6.12.6 - debug: 4.3.7(supports-color@9.4.0) + debug: 4.3.7 espree: 9.6.1 globals: 13.24.0 ignore: 5.3.2 @@ -11811,7 +11853,7 @@ snapshots: '@humanwhocodes/config-array@0.13.0': dependencies: '@humanwhocodes/object-schema': 2.0.3 - debug: 4.3.7(supports-color@9.4.0) + debug: 4.3.7 minimatch: 3.1.2 transitivePeerDependencies: - supports-color @@ -12030,7 +12072,7 @@ snapshots: '@jest/transform@29.7.0': dependencies: - '@babel/core': 7.26.0(supports-color@9.4.0) + '@babel/core': 7.26.0 '@jest/types': 29.6.3 '@jridgewell/trace-mapping': 0.3.25 babel-plugin-istanbul: 6.1.1 @@ -14822,7 +14864,7 @@ snapshots: '@typescript-eslint/types': 8.10.0 '@typescript-eslint/typescript-estree': 8.10.0(typescript@5.4.5) '@typescript-eslint/visitor-keys': 8.10.0 - debug: 4.3.7(supports-color@9.4.0) + debug: 4.3.7 eslint: 8.57.1 optionalDependencies: typescript: 5.4.5 @@ -14896,7 +14938,7 @@ snapshots: dependencies: '@typescript-eslint/types': 5.62.0 '@typescript-eslint/visitor-keys': 5.62.0 - debug: 4.3.7(supports-color@9.4.0) + debug: 4.3.7 globby: 11.1.0 is-glob: 4.0.3 semver: 7.6.3 @@ -14925,7 +14967,7 @@ snapshots: dependencies: '@typescript-eslint/types': 8.10.0 '@typescript-eslint/visitor-keys': 8.10.0 - debug: 4.3.7(supports-color@9.4.0) + debug: 4.3.7 fast-glob: 3.3.2 is-glob: 4.0.3 minimatch: 9.0.5 @@ -15168,14 +15210,6 @@ snapshots: '@swc/jest': 0.2.36(@swc/core@1.7.36(@swc/helpers@0.5.13)) browserslist: 4.24.0 - '@workleap/swc-configs@2.2.3(@swc/core@1.7.36(@swc/helpers@0.5.13))(@swc/helpers@0.5.13)(@swc/jest@0.2.36(@swc/core@1.7.36(@swc/helpers@0.5.13)))(browserslist@4.24.2)': - dependencies: - '@swc/core': 1.7.36(@swc/helpers@0.5.13) - '@swc/helpers': 0.5.13 - optionalDependencies: - '@swc/jest': 0.2.36(@swc/core@1.7.36(@swc/helpers@0.5.13)) - browserslist: 4.24.2 - '@workleap/tsup-configs@3.0.6(tsup@8.3.0(@swc/core@1.7.36(@swc/helpers@0.5.13))(postcss@8.4.47)(typescript@5.4.5)(yaml@2.6.0))(typescript@5.4.5)': dependencies: tsup: 8.3.0(@swc/core@1.7.36(@swc/helpers@0.5.13))(postcss@8.4.47)(typescript@5.4.5)(yaml@2.6.0) @@ -15229,6 +15263,12 @@ snapshots: acorn@8.14.0: {} + agent-base@6.0.2: + dependencies: + debug: 4.3.7 + transitivePeerDependencies: + - supports-color + agent-base@6.0.2(supports-color@9.4.0): dependencies: debug: 4.3.7(supports-color@9.4.0) @@ -15564,7 +15604,7 @@ snapshots: babel-jest@29.7.0(@babel/core@7.26.0): dependencies: - '@babel/core': 7.26.0(supports-color@9.4.0) + '@babel/core': 7.26.0 '@jest/transform': 29.7.0 '@types/babel__core': 7.20.5 babel-plugin-istanbul: 6.1.1 @@ -15618,7 +15658,7 @@ snapshots: babel-preset-current-node-syntax@1.1.0(@babel/core@7.26.0): dependencies: - '@babel/core': 7.26.0(supports-color@9.4.0) + '@babel/core': 7.26.0 '@babel/plugin-syntax-async-generators': 7.8.4(@babel/core@7.26.0) '@babel/plugin-syntax-bigint': 7.8.3(@babel/core@7.26.0) '@babel/plugin-syntax-class-properties': 7.12.13(@babel/core@7.26.0) @@ -15637,7 +15677,7 @@ snapshots: babel-preset-jest@29.6.3(@babel/core@7.26.0): dependencies: - '@babel/core': 7.26.0(supports-color@9.4.0) + '@babel/core': 7.26.0 babel-plugin-jest-hoist: 29.6.3 babel-preset-current-node-syntax: 1.1.0(@babel/core@7.26.0) @@ -16530,6 +16570,10 @@ snapshots: optionalDependencies: supports-color: 9.4.0 + debug@4.3.7: + dependencies: + ms: 2.1.3 + debug@4.3.7(supports-color@9.4.0): dependencies: ms: 2.1.3 @@ -17433,7 +17477,7 @@ snapshots: ajv: 6.12.6 chalk: 4.1.2 cross-spawn: 7.0.5 - debug: 4.3.7(supports-color@9.4.0) + debug: 4.3.7 doctrine: 3.0.0 escape-string-regexp: 4.0.0 eslint-scope: 7.2.2 @@ -18477,8 +18521,8 @@ snapshots: http-proxy-agent@5.0.0: dependencies: '@tootallnate/once': 2.0.0 - agent-base: 6.0.2(supports-color@9.4.0) - debug: 4.3.7(supports-color@9.4.0) + agent-base: 6.0.2 + debug: 4.3.7 transitivePeerDependencies: - supports-color @@ -18502,6 +18546,13 @@ snapshots: transitivePeerDependencies: - debug + https-proxy-agent@5.0.1: + dependencies: + agent-base: 6.0.2 + debug: 4.3.7 + transitivePeerDependencies: + - supports-color + https-proxy-agent@5.0.1(supports-color@9.4.0): dependencies: agent-base: 6.0.2(supports-color@9.4.0) @@ -18930,7 +18981,7 @@ snapshots: istanbul-lib-instrument@5.2.1: dependencies: - '@babel/core': 7.26.0(supports-color@9.4.0) + '@babel/core': 7.26.0 '@babel/parser': 7.26.2 '@istanbuljs/schema': 0.1.3 istanbul-lib-coverage: 3.2.2 @@ -18940,7 +18991,7 @@ snapshots: istanbul-lib-instrument@6.0.3: dependencies: - '@babel/core': 7.26.0(supports-color@9.4.0) + '@babel/core': 7.26.0 '@babel/parser': 7.26.2 '@istanbuljs/schema': 0.1.3 istanbul-lib-coverage: 3.2.2 @@ -18965,7 +19016,7 @@ snapshots: istanbul-lib-source-maps@4.0.1: dependencies: - debug: 4.3.7(supports-color@9.4.0) + debug: 4.3.7 istanbul-lib-coverage: 3.2.2 source-map: 0.6.1 transitivePeerDependencies: @@ -19136,7 +19187,7 @@ snapshots: jest-config@29.7.0(@types/node@22.9.0)(ts-node@10.9.2(@swc/core@1.7.36(@swc/helpers@0.5.13))(@types/node@22.9.0)(typescript@5.4.5)): dependencies: - '@babel/core': 7.26.0(supports-color@9.4.0) + '@babel/core': 7.26.0 '@jest/test-sequencer': 29.7.0 '@jest/types': 29.6.3 babel-jest: 29.7.0(@babel/core@7.26.0) @@ -19383,7 +19434,7 @@ snapshots: jest-snapshot@29.7.0: dependencies: - '@babel/core': 7.26.0(supports-color@9.4.0) + '@babel/core': 7.26.0 '@babel/generator': 7.26.2 '@babel/plugin-syntax-jsx': 7.25.9(@babel/core@7.26.0) '@babel/plugin-syntax-typescript': 7.25.9(@babel/core@7.26.0) @@ -19546,7 +19597,7 @@ snapshots: form-data: 4.0.1 html-encoding-sniffer: 3.0.0 http-proxy-agent: 5.0.0 - https-proxy-agent: 5.0.1(supports-color@9.4.0) + https-proxy-agent: 5.0.1 is-potential-custom-element-name: 1.0.1 nwsapi: 2.2.13 parse5: 7.2.1 @@ -22996,8 +23047,6 @@ snapshots: text-hex@1.0.0: {} - text-mask-core@5.1.2: {} - text-table@0.2.0: {} thenify-all@1.6.0: @@ -23157,7 +23206,7 @@ snapshots: typescript: 5.4.5 yargs-parser: 21.1.1 optionalDependencies: - '@babel/core': 7.26.0(supports-color@9.4.0) + '@babel/core': 7.26.0 '@jest/transform': 29.7.0 '@jest/types': 29.6.3 babel-jest: 29.7.0(@babel/core@7.26.0) @@ -23251,7 +23300,7 @@ snapshots: cac: 6.7.14 chokidar: 3.6.0 consola: 3.2.3 - debug: 4.3.7(supports-color@9.4.0) + debug: 4.3.7 esbuild: 0.23.1 execa: 5.1.1 joycon: 3.1.1 From c4c2528c874ca90621a2169a105fbd5a776edf1d Mon Sep 17 00:00:00 2001 From: Alexandre Asselin <alexandre.asselin@gsoft.com> Date: Mon, 11 Nov 2024 10:48:55 -0500 Subject: [PATCH 95/95] convert to TS --- .../scripts/copy-css-index-to-dist.js | 8 -------- .../src/date-input/src/useMaskedInput.ts | 2 +- ...tCaretPosition.js => adjustCaretPosition.ts} | 7 ++++++- .../{conformToMask.js => conformToMask.ts} | 17 +++++++++++------ .../src/date-input/src/utils/constants.js | 2 -- .../src/date-input/src/utils/constants.ts | 7 +++++++ ...Element.js => createTextMarkInputElement.ts} | 16 +++++++++++----- .../src/utils/{utilities.js => utilities.ts} | 8 +++++++- 8 files changed, 43 insertions(+), 24 deletions(-) delete mode 100644 packages/components/scripts/copy-css-index-to-dist.js rename packages/components/src/date-input/src/utils/{adjustCaretPosition.js => adjustCaretPosition.ts} (97%) rename packages/components/src/date-input/src/utils/{conformToMask.js => conformToMask.ts} (95%) delete mode 100644 packages/components/src/date-input/src/utils/constants.js create mode 100644 packages/components/src/date-input/src/utils/constants.ts rename packages/components/src/date-input/src/utils/{createTextMarkInputElement.js => createTextMarkInputElement.ts} (95%) rename packages/components/src/date-input/src/utils/{utilities.js => utilities.ts} (84%) diff --git a/packages/components/scripts/copy-css-index-to-dist.js b/packages/components/scripts/copy-css-index-to-dist.js deleted file mode 100644 index a847db6cb..000000000 --- a/packages/components/scripts/copy-css-index-to-dist.js +++ /dev/null @@ -1,8 +0,0 @@ -const chalk = require("chalk"); -const shell = require("shelljs"); - -const DIST_PATH = "dist"; - -shell.cp("-f", "src/index.css", DIST_PATH); - -console.log(chalk.green("success"), " components index.css copied to dist folder."); diff --git a/packages/components/src/date-input/src/useMaskedInput.ts b/packages/components/src/date-input/src/useMaskedInput.ts index 1864c0f5d..109e51cc2 100644 --- a/packages/components/src/date-input/src/useMaskedInput.ts +++ b/packages/components/src/date-input/src/useMaskedInput.ts @@ -1,4 +1,4 @@ -import createTextMaskInputElement from "./utils/createTextMarkInputElement.js"; +import createTextMaskInputElement from "./utils/createTextMarkInputElement.ts"; import { isNil } from "../../shared/index.ts"; import { useCallback, useEffect, useRef } from "react"; diff --git a/packages/components/src/date-input/src/utils/adjustCaretPosition.js b/packages/components/src/date-input/src/utils/adjustCaretPosition.ts similarity index 97% rename from packages/components/src/date-input/src/utils/adjustCaretPosition.js rename to packages/components/src/date-input/src/utils/adjustCaretPosition.ts index 444eb1696..4a0e961e1 100644 --- a/packages/components/src/date-input/src/utils/adjustCaretPosition.js +++ b/packages/components/src/date-input/src/utils/adjustCaretPosition.ts @@ -1,3 +1,8 @@ +// ******************************************** +// This file is copied from the "text-mask-core" repo: https://github.com/text-mask/text-mask +// It was causing issue since we migrated to ESM, so we copied the file here to avoid the issue. +// ******************************************** + const defaultArray = []; const emptyString = ""; @@ -11,7 +16,7 @@ export default function adjustCaretPosition({ placeholder, indexesOfPipedChars = defaultArray, caretTrapIndexes = defaultArray -}) { +}: any) { if (currentCaretPosition === 0 || !rawValue.length) { return 0; } // Store lengths for faster performance? diff --git a/packages/components/src/date-input/src/utils/conformToMask.js b/packages/components/src/date-input/src/utils/conformToMask.ts similarity index 95% rename from packages/components/src/date-input/src/utils/conformToMask.js rename to packages/components/src/date-input/src/utils/conformToMask.ts index 9b8bc631a..c8511cb1d 100644 --- a/packages/components/src/date-input/src/utils/conformToMask.js +++ b/packages/components/src/date-input/src/utils/conformToMask.ts @@ -1,10 +1,15 @@ -import { convertMaskToPlaceholder, isArray, processCaretTraps } from "./utilities"; -import { placeholderChar as defaultPlaceholderChar, strFunction } from "./constants"; +// ******************************************** +// This file is copied from the "text-mask-core" repo: https://github.com/text-mask/text-mask +// It was causing issue since we migrated to ESM, so we copied the file here to avoid the issue. +// ******************************************** + +import { convertMaskToPlaceholder, isArray, processCaretTraps } from "./utilities.ts"; +import { placeholderChar as defaultPlaceholderChar, strFunction } from "./constants.ts"; const emptyArray = []; const emptyString = ""; -export default function conformToMask(rawValue = emptyString, mask = emptyArray, config = {}) { +export default function conformToMask(rawValue: any = emptyString, mask: any = emptyArray, config: any = {}) { if (!isArray(mask)) { // If someone passes a function as the mask property, we should call the // function to get the mask array - Normally this is handled by the @@ -165,15 +170,15 @@ export default function conformToMask(rawValue = emptyString, mask = emptyArray, // a placeholder character or a non-suitable spot, ie, a non-placeholder character that is not new. // If we see a suitable spot first, we store its position and exit the loop. If we see a non-suitable // spot first, we exit the loop and our `indexOfNextAvailablePlaceholderChar` will stay as `null`. - for (let i = 0; i < rawValueArrLength; i++) { - const charData = rawValueArr[i]; + for (let i2 = 0; i2 < rawValueArrLength; i2++) { + const charData = rawValueArr[i2]; if (charData.char !== placeholderChar && charData.isNew === false) { break; } if (charData.char === placeholderChar) { - indexOfNextAvailablePlaceholderChar = i; + indexOfNextAvailablePlaceholderChar = i2; break; } } diff --git a/packages/components/src/date-input/src/utils/constants.js b/packages/components/src/date-input/src/utils/constants.js deleted file mode 100644 index 5879a0403..000000000 --- a/packages/components/src/date-input/src/utils/constants.js +++ /dev/null @@ -1,2 +0,0 @@ -export const placeholderChar = "_"; -export const strFunction = "function"; diff --git a/packages/components/src/date-input/src/utils/constants.ts b/packages/components/src/date-input/src/utils/constants.ts new file mode 100644 index 000000000..8eb71902c --- /dev/null +++ b/packages/components/src/date-input/src/utils/constants.ts @@ -0,0 +1,7 @@ +// ******************************************** +// This file is copied from the "text-mask-core" repo: https://github.com/text-mask/text-mask +// It was causing issue since we migrated to ESM, so we copied the file here to avoid the issue. +// ******************************************** + +export const placeholderChar = "_"; +export const strFunction = "function"; diff --git a/packages/components/src/date-input/src/utils/createTextMarkInputElement.js b/packages/components/src/date-input/src/utils/createTextMarkInputElement.ts similarity index 95% rename from packages/components/src/date-input/src/utils/createTextMarkInputElement.js rename to packages/components/src/date-input/src/utils/createTextMarkInputElement.ts index aa97993b4..1aee7f389 100644 --- a/packages/components/src/date-input/src/utils/createTextMarkInputElement.js +++ b/packages/components/src/date-input/src/utils/createTextMarkInputElement.ts @@ -1,7 +1,12 @@ -import adjustCaretPosition from "./adjustCaretPosition"; -import conformToMask from "./conformToMask"; -import { convertMaskToPlaceholder, isString, isNumber, processCaretTraps } from "./utilities"; -import { placeholderChar as defaultPlaceholderChar, strFunction } from "./constants"; +// ******************************************** +// This file is copied from the "text-mask-core" repo: https://github.com/text-mask/text-mask +// It was causing issue since we migrated to ESM, so we copied the file here to avoid the issue. +// ******************************************** + +import adjustCaretPosition from "./adjustCaretPosition.ts"; +import conformToMask from "./conformToMask.ts"; +import { convertMaskToPlaceholder, isString, isNumber, processCaretTraps } from "./utilities.ts"; +import { placeholderChar as defaultPlaceholderChar, strFunction } from "./constants.ts"; const emptyString = ""; const strNone = "none"; @@ -115,7 +120,7 @@ export default function createTextMaskInputElement(config) { // The following few lines are to support the `pipe` feature. const piped = typeof pipe === strFunction; - let pipeResults = {}; + let pipeResults: any = {}; // If `pipe` is a function, we call it. if (piped) { @@ -176,6 +181,7 @@ export default function createTextMaskInputElement(config) { function safeSetSelection(element, selectionPosition) { if (document.activeElement === element) { if (isAndroid) { + // @ts-ignore defer(() => element.setSelectionRange(selectionPosition, selectionPosition, strNone), 0); } else { element.setSelectionRange(selectionPosition, selectionPosition, strNone); diff --git a/packages/components/src/date-input/src/utils/utilities.js b/packages/components/src/date-input/src/utils/utilities.ts similarity index 84% rename from packages/components/src/date-input/src/utils/utilities.js rename to packages/components/src/date-input/src/utils/utilities.ts index 7fbb44766..1624d82c5 100644 --- a/packages/components/src/date-input/src/utils/utilities.js +++ b/packages/components/src/date-input/src/utils/utilities.ts @@ -1,4 +1,9 @@ -import { placeholderChar as defaultPlaceholderChar } from "./constants"; +// ******************************************** +// This file is copied from the "text-mask-core" repo: https://github.com/text-mask/text-mask +// It was causing issue since we migrated to ESM, so we copied the file here to avoid the issue. +// ******************************************** + +import { placeholderChar as defaultPlaceholderChar } from "./constants.ts"; const emptyArray = []; @@ -32,6 +37,7 @@ export function isString(value) { } export function isNumber(value) { + // @ts-ignore return typeof value === "number" && value.length === undefined && !isNaN(value); }