diff --git a/.changeset/little-rats-join.md b/.changeset/little-rats-join.md new file mode 100644 index 0000000..cefa1a9 --- /dev/null +++ b/.changeset/little-rats-join.md @@ -0,0 +1,6 @@ +--- +'@omi3/ui': patch +'@omi3/site': patch +--- + +optimize storybook configs diff --git a/.gitignore b/.gitignore index 4c7017b..19dc3a9 100644 --- a/.gitignore +++ b/.gitignore @@ -38,3 +38,4 @@ yarn-error.log* *.pem *storybook.log storybook-static +test-results diff --git a/.npmrc b/.npmrc index 829951d..72a5213 100644 --- a/.npmrc +++ b/.npmrc @@ -1 +1 @@ -public-hoist-pattern=* \ No newline at end of file +public-hoist-pattern=* diff --git a/packages/ui/.storybook/main.ts b/packages/ui/.storybook/main.ts index 7c194a7..4dd9396 100644 --- a/packages/ui/.storybook/main.ts +++ b/packages/ui/.storybook/main.ts @@ -10,7 +10,7 @@ function getAbsolutePath(value: string): any { return dirname(require.resolve(join(value, 'package.json'))); } const config: StorybookConfig = { - stories: ['../src/**/*.stories.@(js|jsx|mjs|ts|tsx)'], + stories: ['../src/components/**/*.stories.@(js|jsx|mjs|ts|tsx)'], addons: [ getAbsolutePath('@storybook/addon-links'), getAbsolutePath('@storybook/addon-essentials'), diff --git a/packages/ui/.storybook/manager.js b/packages/ui/.storybook/manager.js new file mode 100644 index 0000000..2e62084 --- /dev/null +++ b/packages/ui/.storybook/manager.js @@ -0,0 +1,6 @@ +import { addons } from '@storybook/manager-api'; +import theme from './theme'; + +addons.setConfig({ + theme, +}); diff --git a/packages/ui/.storybook/theme.js b/packages/ui/.storybook/theme.js new file mode 100644 index 0000000..59d290a --- /dev/null +++ b/packages/ui/.storybook/theme.js @@ -0,0 +1,6 @@ +import { create } from '@storybook/theming'; + +export default create({ + brandTitle: 'Omi3 UI', + brandTarget: '_self', +}); diff --git a/packages/ui/src/components/ui/button/button.stories.tsx b/packages/ui/src/components/ui/button/button.stories.tsx index b162993..b374c77 100644 --- a/packages/ui/src/components/ui/button/button.stories.tsx +++ b/packages/ui/src/components/ui/button/button.stories.tsx @@ -1,42 +1,34 @@ -import type { Meta, StoryObj } from "@storybook/react"; +import type { Meta, StoryObj } from '@storybook/react'; -import { Button } from "."; +import { Button } from '.'; +import { action } from '@storybook/addon-actions'; const meta: Meta = { - title: "UI/Button", + title: 'UI/Button', component: Button, parameters: { - layout: "centered", + layout: 'centered', docs: { description: { component: - "The Button component is a fundamental UI element used to trigger actions or events in a user interface. It is a clickable button that can be customized with various styles and functionalities to enhance user experience.", + 'The Button component is a fundamental UI element used to trigger actions or events in a user interface. It is a clickable button that can be customized with various styles and functionalities to enhance user experience.', }, }, }, argTypes: { variant: { - control: "select", - description: "The variant of the button", - options: [ - "default", - "destructive", - "outline", - "secondary", - "ghost", - "link", - ], + control: 'select', + description: 'La variante du bouton', + options: ['default', 'destructive', 'outline', 'secondary', 'ghost', 'link'], }, size: { - control: "select", - description: "The size of the button", - options: ["default", "sm", "lg", "icon"], + control: 'select', + description: 'La taille du bouton', + options: ['default', 'sm', 'lg', 'icon'], }, - - disabled: { control: "boolean", description: "The disabled state of the button" }, - asChild: { control: "boolean", description: "The asChild state of the button" }, - - + disabled: { control: 'boolean', description: "L'état désactivé du bouton" }, + asChild: { control: 'boolean', description: "L'état asChild du bouton" }, + onClick: { action: 'clicked' }, }, }; @@ -45,66 +37,72 @@ type Story = StoryObj; export const Default: Story = { args: { - children: "Default", - variant: "default" + children: 'Default', + variant: 'default', + onClick: action('onClick'), }, }; export const Ghost: Story = { args: { - variant: "neutral", - children: "Ghost", + variant: 'neutral', + children: 'Ghost', + onClick: action('onClick'), }, }; export const Link: Story = { args: { - variant: "link", - children: "Link", + variant: 'link', + children: 'Link', + onClick: action('onClick'), }, }; export const Outline: Story = { args: { - variant: "noShadow", - children: "Outline", + variant: 'noShadow', + children: 'Outline', + onClick: action('onClick'), }, }; + export const Reverse: Story = { args: { - variant: "reverse", - children: "Reverse", + variant: 'reverse', + children: 'Reverse', + onClick: action('onClick'), }, }; export const Destructive: Story = { args: { - variant: "destructive", - children: "Destructive", + variant: 'destructive', + children: 'Destructive', + onClick: action('onClick'), }, }; - - - export const Small: Story = { args: { - size: "sm", - children: "Small", + size: 'sm', + children: 'Small', + onClick: action('onClick'), }, }; export const Large: Story = { args: { - size: "lg", - children: "Large", + size: 'lg', + children: 'Large', + onClick: action('onClick'), }, }; export const Disabled: Story = { args: { disabled: true, - children: "Disabled", + children: 'Disabled', + onClick: action('onClick'), }, }; - diff --git a/packages/ui/src/components/ui/input/index.tsx b/packages/ui/src/components/ui/input/index.tsx index 73a3f7e..c74409f 100644 --- a/packages/ui/src/components/ui/input/index.tsx +++ b/packages/ui/src/components/ui/input/index.tsx @@ -9,7 +9,7 @@ const Input = React.forwardRef(({ className, type, = { title: "UI/Input", component: Input, parameters: { + layout: "centered", docs: { description: { - component: "The Input component is a fundamental UI element used to trigger actions or events in a user interface. It is a clickable button that can be customized with various styles and functionalities to enhance user experience.", + component: + "The Input component is a fundamental UI element used for text or data input. It can be customized with various styles and functionalities to enhance user experience.", }, }, }, -} satisfies Meta; + argTypes: { + + disabled: { control: "boolean", description: "The disabled state of the input" }, + placeholder: { control: "text", description: "The placeholder text of the input" }, + onChange: { action: 'changed' }, + onFocus: { action: 'focused' }, + onBlur: { action: 'blurred' }, + }, +}; export default meta; +type Story = StoryObj; + +export const Default: Story = { + args: { + placeholder: "Enter text", + onChange: action('onChange'), + }, +}; -type Story = StoryObj; +export const Password: Story = { + args: { + type: "password", + placeholder: "Password", + onChange: action('onChange'), + }, +}; + +export const Email: Story = { + args: { + type: "email", + placeholder: "Email", + onChange: action('onChange'), + }, +}; -export const Default: Story = {}; +export const Disabled: Story = { + args: { + disabled: true, + placeholder: "Disabled", + onChange: action('onChange'), + }, +}; diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 7f9dfea..5f0f2a2 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -159,7 +159,7 @@ importers: devDependencies: '@chromatic-com/storybook': specifier: ^1.9.0 - version: 1.9.0(react@18.3.1) + version: 1.9.0(@chromatic-com/playwright@0.9.0(@playwright/test@1.47.0)(esbuild@0.23.1)(typescript@5.5.4)(webpack-sources@3.2.3))(react@18.3.1) '@omi3/eslint': specifier: workspace:* version: link:../../tools/eslint @@ -1125,10 +1125,19 @@ packages: '@changesets/write@0.3.2': resolution: {integrity: sha512-kDxDrPNpUgsjDbWBvUo27PzKX4gqeKOlhibaOXDJA6kuBisGqNHv/HwGJrAu8U/dSf8ZEFIeHIPtvSlZI1kULw==} + '@chromatic-com/playwright@0.9.0': + resolution: {integrity: sha512-A1EOD1KysoK/P+WE2NMGEeilALRFu5j5X9B4BnL22gsAy3yXYKFnnv77KzHvvqSj0yzvhGM6CKXwlrvh7V+Qvw==} + hasBin: true + peerDependencies: + '@playwright/test': ^1.0.0 + '@chromatic-com/storybook@1.9.0': resolution: {integrity: sha512-vYQ+TcfktEE3GHnLZXHCzXF/sN9dw+KivH8a5cmPyd9YtQs7fZtHrEgsIjWpYycXiweKMo1Lm1RZsjxk8DH3rA==} engines: {node: '>=16.0.0', yarn: '>=1.22.18'} + '@chromaui/rrweb-snapshot@2.0.0-alpha.17-noAbsolute': + resolution: {integrity: sha512-8jV8EyLA6s8mLGy+eLLGlve7BEjzdnyrJDBu34D405eYUtazzyP+cG4nOvylYyfR+/RkUhJ/GXeB+hbg8au62A==} + '@cspotcode/source-map-support@0.8.1': resolution: {integrity: sha512-IchNf6dN4tHoMFIn/7OE8LWZ19Y6q/67Bmf6vnGREv8RSbBVb9LPJxEcnwrcwX6ixSvaiGoomAUvu4YSxXrVgw==} engines: {node: '>=12'} @@ -1548,6 +1557,14 @@ packages: '@jridgewell/trace-mapping@0.3.9': resolution: {integrity: sha512-3Belt6tdc8bPgAtbcmdtNJlirVoTmEb5e2gC94PnkwEW9jI6CAHUeoG85tjWP5WquqfavoMtMwiG4P926ZKKuQ==} + '@lukeed/csprng@1.1.0': + resolution: {integrity: sha512-Z7C/xXCiGWsg0KuKsHTKJxbWhpI3Vs5GwLfOean7MGyVFGqdRgBbAjOCh6u4bbjPc/8MJ2pZmK/0DLdCbivLDA==} + engines: {node: '>=8'} + + '@lukeed/uuid@2.0.1': + resolution: {integrity: sha512-qC72D4+CDdjGqJvkFMMEAtancHUQ7/d/tAiHf64z8MopFDmcrtbcJuerDtFceuAfQJ2pDSfCKCtbqoGBNnwg0w==} + engines: {node: '>=8'} + '@manypkg/cli@0.21.4': resolution: {integrity: sha512-EACxxb+c/t6G0l1FrlyewZeBnyR5V1cLkXjnBfsay5TN1UgbilFpG6POglzn+lVJet9NqnEKe3RLHABzkIDZ0Q==} engines: {node: '>=14.18.0'} @@ -2120,6 +2137,16 @@ packages: '@rushstack/eslint-patch@1.10.4': resolution: {integrity: sha512-WJgX9nzTqknM393q1QJDJmoW28kUfEnybeTfVNcNAPnIx210RXm2DiXiHzfNPJNIUUb1tJnz/l4QGtJ30PgWmA==} + '@segment/analytics-core@1.4.1': + resolution: {integrity: sha512-kV0Pf33HnthuBOVdYNani21kYyj118Fn+9757bxqoksiXoZlYvBsFq6giNdCsKcTIE1eAMqNDq3xE1VQ0cfsHA==} + + '@segment/analytics-generic-utils@1.1.1': + resolution: {integrity: sha512-THTIzBPHnvu1HYJU3fARdJ3qIkukO3zDXsmDm+kAeUks5R9CBXOQ6rPChiASVzSmwAIIo5uFIXXnCraojlq/Gw==} + + '@segment/analytics-node@1.3.0': + resolution: {integrity: sha512-lRLz1WZaDokMoUe299yP5JkInc3OgJuqNNlxb6j0q22umCiq6b5iDo2gRmFn93reirIvJxWIicQsGrHd93q8GQ==} + engines: {node: '>=14'} + '@sinclair/typebox@0.27.8': resolution: {integrity: sha512-+Fj43pSMwJs4KRrH/938Uf+uAELIgVBmQzg/q1YG10djyfA3TnrU8N8XzqCh/okZdszqBQTZf96idMfE5lnwTA==} @@ -2290,6 +2317,12 @@ packages: typescript: optional: true + '@storybook/preset-server-webpack@8.3.5': + resolution: {integrity: sha512-AtAMLe6rGcJRyXYAH9fpXyaJcIlbbvgBYG1F0ODkKdLJpvcD/h7cK+bjEXDB/LzUVtRRyRkSvOUC1dKVY8pQkg==} + engines: {node: '>=18.0.0'} + peerDependencies: + storybook: ^8.3.5 + '@storybook/preview-api@8.3.5': resolution: {integrity: sha512-VPqpudE8pmjTLvdNJoW/2//nqElDgUOmIn3QxbbCmdZTHDg5tFtxuqwdlNfArF0TxvTSBDIulXt/Q6K56TAfTg==} peerDependencies: @@ -2323,6 +2356,18 @@ packages: typescript: optional: true + '@storybook/server-webpack5@8.3.5': + resolution: {integrity: sha512-5Hlw/JNcG6CEng7ppxzX3ztWJLXuwGgcTBrFo3Xp9j6TaLkEbXf+n8qa8H7EfrhYePUlyTdXMd4/7W9cH6PGOA==} + engines: {node: '>=18.0.0'} + peerDependencies: + storybook: ^8.3.5 + + '@storybook/server@8.3.5': + resolution: {integrity: sha512-QaCjvuY/XIlukLRaW2Tl1adwIxWH/1eVlbED816vhjXqcRfDmXmAVZ1YgAfFY5ujkayR05wM3QPxT614toXT+w==} + engines: {node: '>=18.0.0'} + peerDependencies: + storybook: ^8.3.5 + '@storybook/test@8.3.5': resolution: {integrity: sha512-1BXWsUGWk9FiKKelZZ55FDJdeoL8uRBHbjTYBRM2xJLhdNSvGzI4Tb3bkmxPpGn72Ua6AyldhlTxr2BpUFKOHA==} peerDependencies: @@ -2423,6 +2468,9 @@ packages: '@types/express@4.17.21': resolution: {integrity: sha512-ejlPM315qwLpaQlQDTjPdsUFSc6ZsP4AN6AlWnogPjQ7CVi7PYF3YVz+CY3jE2pwYf7E/7HlDAN0rV2GxTG0HQ==} + '@types/fs-extra@11.0.4': + resolution: {integrity: sha512-yTbItCNreRooED33qjunPthRcSjERP1r4MqCZc7wv0u2sUkzTFp45tgUfS5+r7FrZPdmCCNflLhVSP/o+SemsQ==} + '@types/graceful-fs@4.1.9': resolution: {integrity: sha512-olP3sd1qOEe5dXTSaFvQG+02VdRXcdytWLAZsAq1PecU8uqQAhkrnbli7DagjtXKW/Bl7YJbUsa8MPcuc8LHEQ==} @@ -2456,6 +2504,9 @@ packages: '@types/json5@0.0.29': resolution: {integrity: sha512-dRLjCWHYg4oaA77cxO64oO+7JwCwnIzkZPdrrC71jQmQtlhM556pwKo5bUzqvZndkVbeFLIIi+9TC40JNF5hNQ==} + '@types/jsonfile@6.1.4': + resolution: {integrity: sha512-D5qGUYwjvnNNextdU59/+fI+spnwtTFmyQP0h+PfIOSkNfpU6AOICUOkm4i0OnSk+NyjdPJrxCDro0sJsWlRpQ==} + '@types/lodash@4.17.10': resolution: {integrity: sha512-YpS0zzoduEhuOWjAotS6A5AVCva7X4lVlYLF0FYHAY9sdraBfnatttHItlWeZdGhuEkf+OzMNg2ZYAx8t+52uQ==} @@ -3634,6 +3685,10 @@ packages: resolution: {integrity: sha512-7GO6HghkA5fYG9TYnNxi14/7K9f5occMlp3zXAuSxn7CKCxt9xbNWG7yF8hTCSUchlfWSe3uLmlPfigevRItzQ==} engines: {node: '>=12'} + dset@3.1.4: + resolution: {integrity: sha512-2QF/g9/zTaPDc3BjNcVTGoBbXBgYfMTTceLaYcFJ/W9kggFUkhxD/hMEeuLKbugyef9SqAx8cpgwlIP/jinUTA==} + engines: {node: '>=4'} + eastasianwidth@0.2.0: resolution: {integrity: sha512-I88TYZWc9XiYHRQ4/3c5rjjfgkjhLyW2luGIheGERbNQ6OY7yTybanSpDXZa8y7VUP9YmDcYa+eyq4ca7iLqWA==} @@ -4662,6 +4717,9 @@ packages: engines: {node: '>=10'} hasBin: true + javascript-stringify@2.1.0: + resolution: {integrity: sha512-JVAfqNPTvNq3sB/VHQJAFxN/sPgKnsKrCwyRt15zwNCdrMMJDdcEOdubuy+DuJYYdm0ox1J4uzEuYKkN+9yhVg==} + jest-changed-files@29.7.0: resolution: {integrity: sha512-fEArFiwf1BpQ+4bXSprcDc3/x4HSzL4al2tozwVpDFpsxALjLYdyiIK4e5Vz66GQJIbXJ82+35PtysofptNX2w==} engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} @@ -5185,6 +5243,15 @@ packages: node-abort-controller@3.1.1: resolution: {integrity: sha512-AGK2yQKIjRuqnc6VkX2Xj5d+QW8xZ87pa1UK6yA6ouUyuxfHuMP6umE5QK7UmTeOAymo+Zx1Fxiuw9rVx8taHQ==} + node-fetch@2.7.0: + resolution: {integrity: sha512-c4FRfUm/dbcWZ7U+1Wq0AwCyFL+3nt2bEw05wfxSz+DWpWsitgmSgYmy2dQdWyKC1694ELPqMs/YzUSNozLt8A==} + engines: {node: 4.x || >=6.0.0} + peerDependencies: + encoding: ^0.1.0 + peerDependenciesMeta: + encoding: + optional: true + node-int64@0.4.0: resolution: {integrity: sha512-O5lz91xSOeoXP6DulyHfllpq+Eg00MWitZIbtPfoSEvqIHdl5gfcY6hYzDWnj0qD5tz52PI08u9qUvSVeUBeHw==} @@ -5997,6 +6064,9 @@ packages: safe-buffer@5.2.1: resolution: {integrity: sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ==} + safe-identifier@0.4.2: + resolution: {integrity: sha512-6pNbSMW6OhAi9j+N8V+U715yBQsaWJ7eyEUaOrawX+isg5ZxhUlV1NipNtgaKHmFGiABwt+ZF04Ii+3Xjkg+8w==} + safe-regex-test@1.0.3: resolution: {integrity: sha512-CdASjNJPvRa7roO6Ra/gLYBTzYzzPyyBXxIMdGW3USQLyjWEls2RgW5UBTXaQVp+OrpeCK3bLem8smtmheoRuw==} engines: {node: '>= 0.4'} @@ -6437,6 +6507,9 @@ packages: resolution: {integrity: sha512-o5sSPKEkg/DIQNmH43V0/uerLrpzVedkUh8tGNvaeXpfpuwjKenlSox/2O/BTlZUtEe+JG7s5YhEz608PlAHRA==} engines: {node: '>=0.6'} + tr46@0.0.3: + resolution: {integrity: sha512-N3WMsuqV66lT30CrXNbEjx4GEwlow3v6rr4mCcv6prnfwhS01rkgyFdjPNBYd9br7LpXV1+Emh01fHnq2Gdgrw==} + tr46@1.0.1: resolution: {integrity: sha512-dTpowEjclQ7Kgx5SdBkqRzVhERQXov8/l9Ft9dVM9fmg0W0KQSVaXX9T4i6twCPNtYiZM53lpSSUAwJbFPOHxA==} @@ -6778,6 +6851,9 @@ packages: resolution: {integrity: sha512-TnbFSbcOCcDgjZ4piURLCbJ3nJhznVh9kw6F6iokjiFPl8ONxe9A6nMDVXDiNbrSfLILs6vB07F7wLBrwPYzJw==} engines: {node: '>=10.13.0'} + 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==} @@ -6810,6 +6886,9 @@ packages: webpack-cli: optional: true + whatwg-url@5.0.0: + resolution: {integrity: sha512-saE57nupxk6v3HY35+jzBwYa0rKSy0XR8JSxZPwgLr7ys0IBzhGviA1/TUGJLmSVqs8pb9AnvICXEuOHLprYTw==} + whatwg-url@7.1.0: resolution: {integrity: sha512-WUu7Rg1DroM7oQvGWfOiAK21n74Gg+T4elXEQYkOhtyLeWiJFoOGLXPKI/9gzIie9CtwVLm8wtw6YJdKyxSjeg==} @@ -6882,6 +6961,10 @@ packages: yallist@3.1.1: resolution: {integrity: sha512-a4UGQaWPH59mOXUYnAG2ewncQS4i4F43Tv3JoAM+s2VDAmS9NsK8GpDMLrCHPksFT7h3K6TOoUNn2pb7RoXx4g==} + yaml-loader@0.8.1: + resolution: {integrity: sha512-BCEndnUoi3BaZmePkwGGe93txRxLgMhBa/gE725v1/GHnura8QvNs7c4+4C1yyhhKoj3Dg63M7IqhA++15j6ww==} + engines: {node: '>= 14'} + yaml@1.10.2: resolution: {integrity: sha512-r3vXyErRCYJ7wg28yvBY5VSoAF8ZvlcW9/BwUzEtUsjvX/DKs24dIkuwjtuprwJJHsbyUbLApepYTR1BN4uHrg==} engines: {node: '>= 6'} @@ -8031,9 +8114,34 @@ snapshots: human-id: 1.0.2 prettier: 2.8.8 - '@chromatic-com/storybook@1.9.0(react@18.3.1)': + '@chromatic-com/playwright@0.9.0(@playwright/test@1.47.0)(esbuild@0.23.1)(typescript@5.5.4)(webpack-sources@3.2.3)': + dependencies: + '@chromaui/rrweb-snapshot': 2.0.0-alpha.17-noAbsolute + '@playwright/test': 1.47.0 + '@segment/analytics-node': 1.3.0 + '@storybook/addon-essentials': 8.3.5(storybook@8.3.5)(webpack-sources@3.2.3) + '@storybook/csf': 0.1.11 + '@storybook/manager-api': 8.3.5(storybook@8.3.5) + '@storybook/server-webpack5': 8.3.5(esbuild@0.23.1)(storybook@8.3.5)(typescript@5.5.4) + storybook: 8.3.5 + ts-dedent: 2.2.0 + transitivePeerDependencies: + - '@rspack/core' + - '@swc/core' + - bufferutil + - encoding + - esbuild + - supports-color + - typescript + - uglify-js + - utf-8-validate + - webpack-cli + - webpack-sources + optional: true + + '@chromatic-com/storybook@1.9.0(@chromatic-com/playwright@0.9.0(@playwright/test@1.47.0)(esbuild@0.23.1)(typescript@5.5.4)(webpack-sources@3.2.3))(react@18.3.1)': dependencies: - chromatic: 11.12.5 + chromatic: 11.12.5(@chromatic-com/playwright@0.9.0(@playwright/test@1.47.0)(esbuild@0.23.1)(typescript@5.5.4)(webpack-sources@3.2.3)) filesize: 10.1.6 jsonfile: 6.1.0 react-confetti: 6.1.0(react@18.3.1) @@ -8043,6 +8151,11 @@ snapshots: - '@chromatic-com/playwright' - react + '@chromaui/rrweb-snapshot@2.0.0-alpha.17-noAbsolute': + dependencies: + postcss: 8.4.45 + optional: true + '@cspotcode/source-map-support@0.8.1': dependencies: '@jridgewell/trace-mapping': 0.3.9 @@ -8483,6 +8596,14 @@ snapshots: '@jridgewell/resolve-uri': 3.1.2 '@jridgewell/sourcemap-codec': 1.5.0 + '@lukeed/csprng@1.1.0': + optional: true + + '@lukeed/uuid@2.0.1': + dependencies: + '@lukeed/csprng': 1.1.0 + optional: true + '@manypkg/cli@0.21.4': dependencies: '@manypkg/get-packages': 2.2.2 @@ -8991,6 +9112,31 @@ snapshots: '@rushstack/eslint-patch@1.10.4': {} + '@segment/analytics-core@1.4.1': + dependencies: + '@lukeed/uuid': 2.0.1 + '@segment/analytics-generic-utils': 1.1.1 + dset: 3.1.4 + tslib: 2.7.0 + optional: true + + '@segment/analytics-generic-utils@1.1.1': + dependencies: + tslib: 2.7.0 + optional: true + + '@segment/analytics-node@1.3.0': + dependencies: + '@lukeed/uuid': 2.0.1 + '@segment/analytics-core': 1.4.1 + '@segment/analytics-generic-utils': 1.1.1 + buffer: 6.0.3 + node-fetch: 2.7.0 + tslib: 2.7.0 + transitivePeerDependencies: + - encoding + optional: true + '@sinclair/typebox@0.27.8': {} '@sindresorhus/is@5.6.0': {} @@ -9325,6 +9471,18 @@ snapshots: - uglify-js - webpack-cli + '@storybook/preset-server-webpack@8.3.5(storybook@8.3.5)': + dependencies: + '@storybook/core-webpack': 8.3.5(storybook@8.3.5) + '@storybook/global': 5.0.0 + '@storybook/server': 8.3.5(storybook@8.3.5) + '@types/node': 22.7.5 + safe-identifier: 0.4.2 + storybook: 8.3.5 + ts-dedent: 2.2.0 + yaml-loader: 0.8.1 + optional: true + '@storybook/preview-api@8.3.5(storybook@8.3.5)': dependencies: storybook: 8.3.5 @@ -9378,6 +9536,38 @@ snapshots: '@storybook/test': 8.3.5(storybook@8.3.5) typescript: 5.5.4 + '@storybook/server-webpack5@8.3.5(esbuild@0.23.1)(storybook@8.3.5)(typescript@5.5.4)': + dependencies: + '@storybook/builder-webpack5': 8.3.5(esbuild@0.23.1)(storybook@8.3.5)(typescript@5.5.4) + '@storybook/preset-server-webpack': 8.3.5(storybook@8.3.5) + '@storybook/server': 8.3.5(storybook@8.3.5) + '@types/node': 22.7.5 + storybook: 8.3.5 + transitivePeerDependencies: + - '@rspack/core' + - '@swc/core' + - esbuild + - supports-color + - typescript + - uglify-js + - webpack-cli + optional: true + + '@storybook/server@8.3.5(storybook@8.3.5)': + dependencies: + '@storybook/components': 8.3.5(storybook@8.3.5) + '@storybook/csf': 0.1.11 + '@storybook/global': 5.0.0 + '@storybook/manager-api': 8.3.5(storybook@8.3.5) + '@storybook/preview-api': 8.3.5(storybook@8.3.5) + '@storybook/theming': 8.3.5(storybook@8.3.5) + '@types/fs-extra': 11.0.4 + fs-extra: 11.2.0 + storybook: 8.3.5 + ts-dedent: 2.2.0 + yaml: 2.5.1 + optional: true + '@storybook/test@8.3.5(storybook@8.3.5)': dependencies: '@storybook/csf': 0.1.11 @@ -9510,6 +9700,12 @@ snapshots: '@types/qs': 6.9.16 '@types/serve-static': 1.15.7 + '@types/fs-extra@11.0.4': + dependencies: + '@types/jsonfile': 6.1.4 + '@types/node': 20.16.5 + optional: true + '@types/graceful-fs@4.1.9': dependencies: '@types/node': 20.16.5 @@ -9543,6 +9739,11 @@ snapshots: '@types/json5@0.0.29': {} + '@types/jsonfile@6.1.4': + dependencies: + '@types/node': 20.16.5 + optional: true + '@types/lodash@4.17.10': {} '@types/mdx@2.0.13': {} @@ -10547,7 +10748,9 @@ snapshots: optionalDependencies: fsevents: 2.3.3 - chromatic@11.12.5: {} + chromatic@11.12.5(@chromatic-com/playwright@0.9.0(@playwright/test@1.47.0)(esbuild@0.23.1)(typescript@5.5.4)(webpack-sources@3.2.3)): + optionalDependencies: + '@chromatic-com/playwright': 0.9.0(@playwright/test@1.47.0)(esbuild@0.23.1)(typescript@5.5.4)(webpack-sources@3.2.3) chrome-trace-event@1.0.4: {} @@ -10939,6 +11142,9 @@ snapshots: dotenv@16.0.3: {} + dset@3.1.4: + optional: true + eastasianwidth@0.2.0: {} ee-first@1.1.1: {} @@ -11167,8 +11373,8 @@ snapshots: '@typescript-eslint/parser': 7.2.0(eslint@8.57.0)(typescript@5.5.4) eslint: 8.57.0 eslint-import-resolver-node: 0.3.9 - eslint-import-resolver-typescript: 3.6.3(@typescript-eslint/parser@7.2.0(eslint@8.57.0)(typescript@5.5.4))(eslint-import-resolver-node@0.3.9)(eslint-plugin-import@2.30.0)(eslint@8.57.0) - eslint-plugin-import: 2.30.0(@typescript-eslint/parser@7.2.0(eslint@8.57.0)(typescript@5.5.4))(eslint-import-resolver-typescript@3.6.3)(eslint@8.57.0) + eslint-import-resolver-typescript: 3.6.3(@typescript-eslint/parser@7.2.0(eslint@8.57.0)(typescript@5.5.4))(eslint-import-resolver-node@0.3.9)(eslint-plugin-import@2.30.0(@typescript-eslint/parser@7.2.0(eslint@8.57.0)(typescript@5.5.4))(eslint@8.57.0))(eslint@8.57.0) + eslint-plugin-import: 2.30.0(@typescript-eslint/parser@7.2.0(eslint@8.57.0)(typescript@5.5.4))(eslint-import-resolver-typescript@3.6.3(@typescript-eslint/parser@7.2.0(eslint@8.57.0)(typescript@5.5.4))(eslint-import-resolver-node@0.3.9)(eslint-plugin-import@2.30.0(@typescript-eslint/parser@7.2.0(eslint@8.57.0)(typescript@5.5.4))(eslint@8.57.0))(eslint@8.57.0))(eslint@8.57.0) eslint-plugin-jsx-a11y: 6.10.0(eslint@8.57.0) eslint-plugin-react: 7.35.2(eslint@8.57.0) eslint-plugin-react-hooks: 4.6.2(eslint@8.57.0) @@ -11219,19 +11425,19 @@ snapshots: - eslint-import-resolver-webpack - supports-color - eslint-import-resolver-typescript@3.6.3(@typescript-eslint/parser@7.2.0(eslint@8.57.0)(typescript@5.5.4))(eslint-import-resolver-node@0.3.9)(eslint-plugin-import@2.30.0)(eslint@8.57.0): + eslint-import-resolver-typescript@3.6.3(@typescript-eslint/parser@7.2.0(eslint@8.57.0)(typescript@5.5.4))(eslint-import-resolver-node@0.3.9)(eslint-plugin-import@2.30.0(@typescript-eslint/parser@7.2.0(eslint@8.57.0)(typescript@5.5.4))(eslint@8.57.0))(eslint@8.57.0): dependencies: '@nolyfill/is-core-module': 1.0.39 debug: 4.3.7 enhanced-resolve: 5.17.1 eslint: 8.57.0 - eslint-module-utils: 2.11.0(@typescript-eslint/parser@7.2.0(eslint@8.57.0)(typescript@5.5.4))(eslint-import-resolver-node@0.3.9)(eslint-import-resolver-typescript@3.6.3(@typescript-eslint/parser@7.2.0(eslint@8.57.0)(typescript@5.5.4))(eslint-import-resolver-node@0.3.9)(eslint-plugin-import@2.30.0)(eslint@8.57.0))(eslint@8.57.0) + eslint-module-utils: 2.11.0(@typescript-eslint/parser@7.2.0(eslint@8.57.0)(typescript@5.5.4))(eslint-import-resolver-node@0.3.9)(eslint-import-resolver-typescript@3.6.3(@typescript-eslint/parser@7.2.0(eslint@8.57.0)(typescript@5.5.4))(eslint-import-resolver-node@0.3.9)(eslint-plugin-import@2.30.0(@typescript-eslint/parser@7.2.0(eslint@8.57.0)(typescript@5.5.4))(eslint@8.57.0))(eslint@8.57.0))(eslint@8.57.0) fast-glob: 3.3.2 get-tsconfig: 4.8.0 is-bun-module: 1.1.0 is-glob: 4.0.3 optionalDependencies: - eslint-plugin-import: 2.30.0(@typescript-eslint/parser@7.2.0(eslint@8.57.0)(typescript@5.5.4))(eslint-import-resolver-typescript@3.6.3)(eslint@8.57.0) + eslint-plugin-import: 2.30.0(@typescript-eslint/parser@7.2.0(eslint@8.57.0)(typescript@5.5.4))(eslint-import-resolver-typescript@3.6.3(@typescript-eslint/parser@7.2.0(eslint@8.57.0)(typescript@5.5.4))(eslint-import-resolver-node@0.3.9)(eslint-plugin-import@2.30.0(@typescript-eslint/parser@7.2.0(eslint@8.57.0)(typescript@5.5.4))(eslint@8.57.0))(eslint@8.57.0))(eslint@8.57.0) transitivePeerDependencies: - '@typescript-eslint/parser' - eslint-import-resolver-node @@ -11249,14 +11455,14 @@ snapshots: transitivePeerDependencies: - supports-color - eslint-module-utils@2.11.0(@typescript-eslint/parser@7.2.0(eslint@8.57.0)(typescript@5.5.4))(eslint-import-resolver-node@0.3.9)(eslint-import-resolver-typescript@3.6.3(@typescript-eslint/parser@7.2.0(eslint@8.57.0)(typescript@5.5.4))(eslint-import-resolver-node@0.3.9)(eslint-plugin-import@2.30.0)(eslint@8.57.0))(eslint@8.57.0): + eslint-module-utils@2.11.0(@typescript-eslint/parser@7.2.0(eslint@8.57.0)(typescript@5.5.4))(eslint-import-resolver-node@0.3.9)(eslint-import-resolver-typescript@3.6.3(@typescript-eslint/parser@7.2.0(eslint@8.57.0)(typescript@5.5.4))(eslint-import-resolver-node@0.3.9)(eslint-plugin-import@2.30.0(@typescript-eslint/parser@7.2.0(eslint@8.57.0)(typescript@5.5.4))(eslint@8.57.0))(eslint@8.57.0))(eslint@8.57.0): dependencies: debug: 3.2.7 optionalDependencies: '@typescript-eslint/parser': 7.2.0(eslint@8.57.0)(typescript@5.5.4) eslint: 8.57.0 eslint-import-resolver-node: 0.3.9 - eslint-import-resolver-typescript: 3.6.3(@typescript-eslint/parser@7.2.0(eslint@8.57.0)(typescript@5.5.4))(eslint-import-resolver-node@0.3.9)(eslint-plugin-import@2.30.0)(eslint@8.57.0) + eslint-import-resolver-typescript: 3.6.3(@typescript-eslint/parser@7.2.0(eslint@8.57.0)(typescript@5.5.4))(eslint-import-resolver-node@0.3.9)(eslint-plugin-import@2.30.0(@typescript-eslint/parser@7.2.0(eslint@8.57.0)(typescript@5.5.4))(eslint@8.57.0))(eslint@8.57.0) transitivePeerDependencies: - supports-color @@ -11294,7 +11500,7 @@ snapshots: - eslint-import-resolver-webpack - supports-color - eslint-plugin-import@2.30.0(@typescript-eslint/parser@7.2.0(eslint@8.57.0)(typescript@5.5.4))(eslint-import-resolver-typescript@3.6.3)(eslint@8.57.0): + eslint-plugin-import@2.30.0(@typescript-eslint/parser@7.2.0(eslint@8.57.0)(typescript@5.5.4))(eslint-import-resolver-typescript@3.6.3(@typescript-eslint/parser@7.2.0(eslint@8.57.0)(typescript@5.5.4))(eslint-import-resolver-node@0.3.9)(eslint-plugin-import@2.30.0(@typescript-eslint/parser@7.2.0(eslint@8.57.0)(typescript@5.5.4))(eslint@8.57.0))(eslint@8.57.0))(eslint@8.57.0): dependencies: '@rtsao/scc': 1.1.0 array-includes: 3.1.8 @@ -11305,7 +11511,7 @@ snapshots: doctrine: 2.1.0 eslint: 8.57.0 eslint-import-resolver-node: 0.3.9 - eslint-module-utils: 2.11.0(@typescript-eslint/parser@7.2.0(eslint@8.57.0)(typescript@5.5.4))(eslint-import-resolver-node@0.3.9)(eslint-import-resolver-typescript@3.6.3(@typescript-eslint/parser@7.2.0(eslint@8.57.0)(typescript@5.5.4))(eslint-import-resolver-node@0.3.9)(eslint-plugin-import@2.30.0)(eslint@8.57.0))(eslint@8.57.0) + eslint-module-utils: 2.11.0(@typescript-eslint/parser@7.2.0(eslint@8.57.0)(typescript@5.5.4))(eslint-import-resolver-node@0.3.9)(eslint-import-resolver-typescript@3.6.3(@typescript-eslint/parser@7.2.0(eslint@8.57.0)(typescript@5.5.4))(eslint-import-resolver-node@0.3.9)(eslint-plugin-import@2.30.0(@typescript-eslint/parser@7.2.0(eslint@8.57.0)(typescript@5.5.4))(eslint@8.57.0))(eslint@8.57.0))(eslint@8.57.0) hasown: 2.0.2 is-core-module: 2.15.1 is-glob: 4.0.3 @@ -12286,6 +12492,9 @@ snapshots: filelist: 1.0.4 minimatch: 3.1.2 + javascript-stringify@2.1.0: + optional: true + jest-changed-files@29.7.0: dependencies: execa: 5.1.1 @@ -12924,6 +13133,11 @@ snapshots: node-abort-controller@3.1.1: {} + node-fetch@2.7.0: + dependencies: + whatwg-url: 5.0.0 + optional: true + node-int64@0.4.0: {} node-polyfill-webpack-plugin@2.0.1(webpack@5.95.0(esbuild@0.23.1)): @@ -13745,6 +13959,9 @@ snapshots: safe-buffer@5.2.1: {} + safe-identifier@0.4.2: + optional: true + safe-regex-test@1.0.3: dependencies: call-bind: 1.0.7 @@ -14238,6 +14455,9 @@ snapshots: toidentifier@1.0.1: {} + tr46@0.0.3: + optional: true + tr46@1.0.1: dependencies: punycode: 2.3.1 @@ -14581,6 +14801,9 @@ snapshots: glob-to-regexp: 0.4.1 graceful-fs: 4.2.11 + webidl-conversions@3.0.1: + optional: true + webidl-conversions@4.0.2: {} webpack-dev-middleware@6.1.3(webpack@5.95.0(esbuild@0.23.1)): @@ -14633,6 +14856,12 @@ snapshots: - esbuild - uglify-js + whatwg-url@5.0.0: + dependencies: + tr46: 0.0.3 + webidl-conversions: 3.0.1 + optional: true + whatwg-url@7.1.0: dependencies: lodash.sortby: 4.7.0 @@ -14716,6 +14945,13 @@ snapshots: yallist@3.1.1: {} + yaml-loader@0.8.1: + dependencies: + javascript-stringify: 2.1.0 + loader-utils: 2.0.4 + yaml: 2.5.1 + optional: true + yaml@1.10.2: {} yaml@2.5.1: {}