From e2b9bad5882f7e917100b66ae4de9114b3408cdc Mon Sep 17 00:00:00 2001 From: Robert Niznik Date: Tue, 21 Jan 2025 13:31:14 -0500 Subject: [PATCH] chore: deprecate packages (#1527) * chore: update story titles * chore: deprecate packages * chore: remove legacy code --- .changeset/lovely-shirts-glow.md | 14 ++++++++++ .plop/templates/component/story.tsx.hbs | 5 ---- .storybook/main.ts | 28 ------------------- .storybook/preview.tsx | 21 -------------- packages/alert/stories/Alert.stories.tsx | 5 +--- packages/avatar/src/Avatar.tsx | 5 ++++ packages/avatar/stories/Avatar.stories.tsx | 6 ++-- packages/banner/stories/Banner.stories.tsx | 5 +--- packages/box/stories/Box.stories.tsx | 7 +---- packages/button/stories/Button.stories.tsx | 5 +--- .../button/stories/ButtonGroup.stories.tsx | 5 +--- .../button/stories/IconButton.stories.tsx | 5 +--- .../button/stories/UploadButton.stories.tsx | 5 +--- packages/card/stories/RadioCard.stories.tsx | 5 +--- packages/chip/stories/Chip.stories.tsx | 5 +--- packages/clipboard/src/CopyToClipboard.tsx | 2 +- .../stories/CopyToClipboard.stories.tsx | 5 +--- packages/collapsible/src/Collapsible.tsx | 5 ++++ .../stories/Collapsible.stories.tsx | 6 ++-- packages/columns/src/Column.tsx | 5 ++++ packages/columns/src/Columns.tsx | 5 ++++ packages/columns/stories/Columns.stories.tsx | 6 ++-- packages/components/stories/Alert.stories.tsx | 5 ---- .../stories/Breadcrumbs.stories.tsx | 5 ---- .../components/stories/Button.stories.tsx | 3 -- .../stories/ButtonGroup.stories.tsx | 5 ---- .../components/stories/Calendar.stories.tsx | 3 -- .../components/stories/Checkbox.stories.tsx | 3 -- .../stories/CheckboxGroup.stories.tsx | 5 ---- .../components/stories/ComboBox.stories.tsx | 5 ---- .../components/stories/DateField.stories.tsx | 5 ---- .../components/stories/DatePicker.stories.tsx | 3 -- .../stories/DateRangePicker.stories.tsx | 3 -- .../components/stories/Disclosure.stories.tsx | 5 ---- .../components/stories/DropZone.stories.tsx | 5 ---- .../components/stories/FieldGroup.stories.tsx | 5 ---- .../stories/FileTrigger.stories.tsx | 5 ---- .../components/stories/GridList.stories.tsx | 5 ---- packages/components/stories/Group.stories.tsx | 3 -- .../components/stories/IconButton.stories.tsx | 5 ---- packages/components/stories/Link.stories.tsx | 5 ---- .../components/stories/LinkButton.stories.tsx | 5 ---- .../stories/LinkIconButton.stories.tsx | 5 ---- .../components/stories/ListBox.stories.tsx | 5 ---- packages/components/stories/Menu.stories.tsx | 3 -- packages/components/stories/Meter.stories.tsx | 3 -- packages/components/stories/Modal.stories.tsx | 3 -- .../stories/NumberField.stories.tsx | 5 ---- .../components/stories/Popover.stories.tsx | 3 -- .../stories/ProgressBar.stories.tsx | 5 ---- .../components/stories/RadioGroup.stories.tsx | 5 ---- .../stories/RangeCalendar.stories.tsx | 3 -- .../stories/SearchField.stories.tsx | 5 ---- .../components/stories/Select.stories.tsx | 5 ---- .../components/stories/Switch.stories.tsx | 5 ---- packages/components/stories/Table.stories.tsx | 5 ---- packages/components/stories/Tabs.stories.tsx | 5 ---- .../components/stories/TagGroup.stories.tsx | 5 ---- .../components/stories/TextField.stories.tsx | 5 ---- .../components/stories/TimeField.stories.tsx | 3 -- packages/components/stories/Toast.stories.tsx | 3 -- .../stories/ToggleButton.stories.tsx | 5 ---- .../stories/ToggleButtonGroup.stories.tsx | 5 ---- .../stories/ToggleIconButton.stories.tsx | 5 ---- .../components/stories/Toolbar.stories.tsx | 5 ---- .../components/stories/Tooltip.stories.tsx | 3 -- packages/counter/stories/Counter.stories.tsx | 5 +--- packages/drawer/stories/Drawer.stories.tsx | 5 +--- .../dropdown/stories/Dropdown.stories.tsx | 5 +--- .../filter/stories/AppliedFilter.stories.tsx | 5 +--- packages/filter/stories/Filter.stories.tsx | 5 +--- .../filter/stories/FilterButton.stories.tsx | 5 +--- packages/form/stories/Checkbox.stories.tsx | 5 +--- .../form/stories/CompactTextField.stories.tsx | 5 +--- packages/form/stories/FormField.stories.tsx | 5 +--- packages/form/stories/FormGroup.stories.tsx | 5 +--- packages/form/stories/IconField.stories.tsx | 5 +--- packages/form/stories/Label.stories.tsx | 5 +--- packages/form/stories/Radio.stories.tsx | 5 +--- packages/form/stories/RadioGroup.stories.tsx | 5 +--- packages/form/stories/SelectField.stories.tsx | 5 +--- packages/form/stories/TextArea.stories.tsx | 5 +--- packages/form/stories/TextField.stories.tsx | 5 +--- .../form/stories/useNumberField.stories.tsx | 5 +--- packages/icons/stories/BadgeIcon.stories.tsx | 5 ---- packages/icons/stories/Icon.stories.tsx | 5 ---- packages/icons/stories/StatusIcon.stories.tsx | 5 +--- .../stories/InlineEdit.stories.tsx | 5 +--- packages/inline/src/Inline.tsx | 5 ++++ packages/inline/stories/Inline.stories.tsx | 6 ++-- packages/markdown/src/Markdown.tsx | 3 ++ .../markdown/stories/Markdown.stories.tsx | 6 ++-- packages/menu/stories/Menu.stories.tsx | 5 +--- packages/modal/stories/Modal.stories.tsx | 5 +--- packages/navigation/src/Navigation.tsx | 5 ++++ packages/navigation/src/NavigationItem.tsx | 5 ++++ .../navigation/stories/Navigation.stories.tsx | 6 ++-- packages/pagination/src/Pagination.tsx | 5 ++++ .../pagination/stories/Pagination.stories.tsx | 6 ++-- packages/popover/stories/Popover.stories.tsx | 5 +--- .../progress-bubbles/src/ProgressBubbles.tsx | 3 ++ .../stories/ProgressBubbles.stories.tsx | 6 ++-- .../progress/stories/Progress.stories.tsx | 5 +--- packages/stack/src/Stack.tsx | 5 ++++ packages/stack/stories/Stack.stories.tsx | 6 ++-- packages/tab-list/stories/TabList.stories.tsx | 5 +--- packages/table/stories/Table.stories.tsx | 5 +--- packages/tag/stories/Tag.stories.tsx | 5 +--- packages/tooltip/stories/Tooltip.stories.tsx | 5 +--- packages/vars/stories/vars.stories.tsx | 5 ---- renovate.json | 7 ++++- 111 files changed, 128 insertions(+), 453 deletions(-) create mode 100644 .changeset/lovely-shirts-glow.md diff --git a/.changeset/lovely-shirts-glow.md b/.changeset/lovely-shirts-glow.md new file mode 100644 index 000000000..d41da893f --- /dev/null +++ b/.changeset/lovely-shirts-glow.md @@ -0,0 +1,14 @@ +--- +"@launchpad-ui/progress-bubbles": patch +"@launchpad-ui/collapsible": patch +"@launchpad-ui/navigation": patch +"@launchpad-ui/pagination": patch +"@launchpad-ui/markdown": patch +"@launchpad-ui/columns": patch +"@launchpad-ui/avatar": patch +"@launchpad-ui/inline": patch +"@launchpad-ui/stack": patch +"@launchpad-ui/core": patch +--- + +Deprecate packages diff --git a/.plop/templates/component/story.tsx.hbs b/.plop/templates/component/story.tsx.hbs index e8d820172..64d82dee9 100644 --- a/.plop/templates/component/story.tsx.hbs +++ b/.plop/templates/component/story.tsx.hbs @@ -6,11 +6,6 @@ export default { component: {{pascalCase name}}, title: 'Components/{{pascalCase name}}', description: '{{description}}', - parameters: { - status: { - type: import.meta.env.STORYBOOK_PACKAGE_STATUS__{{constantCase name}}, - }, - }, }; type Story = StoryObj; diff --git a/.storybook/main.ts b/.storybook/main.ts index 30e79496d..57c4d4b8a 100644 --- a/.storybook/main.ts +++ b/.storybook/main.ts @@ -1,10 +1,5 @@ import type { StorybookConfig } from '@storybook/react-vite'; -import fs from 'fs'; -import path from 'path'; - -import tsconfig from '../tsconfig.json'; - const config: StorybookConfig = { stories: [ '../docs/stories/**/*.mdx', @@ -29,11 +24,6 @@ const config: StorybookConfig = { disableTelemetry: true, }, staticDirs: ['.', { from: '../packages/card/src/img', to: '/static' }], - env: (config) => { - const packageStatuses = getPackageStatusEnvVars(); - - return { ...config, ...packageStatuses }; - }, async viteFinal(config) { return config; }, @@ -57,22 +47,4 @@ const config: StorybookConfig = { }, }; -const getPackageStatusEnvVars = () => { - const paths = tsconfig.compilerOptions.paths; - const statuses: Record = {}; - - for (const key of Object.keys(paths)) { - const filepath = path.resolve( - __dirname, - `.${paths[key as keyof typeof paths][0]}/../package.json`, - ); - const contents = fs.readFileSync(filepath); - const { status } = JSON.parse(contents.toString()); - const statusKey = key.replace('@launchpad-ui/', '').replace(/-/g, '_').toUpperCase(); - statuses[`STORYBOOK_PACKAGE_STATUS__${statusKey}`] = status; - } - - return statuses; -}; - export default config; diff --git a/.storybook/preview.tsx b/.storybook/preview.tsx index 1e0d2f399..84361b6e3 100644 --- a/.storybook/preview.tsx +++ b/.storybook/preview.tsx @@ -87,27 +87,6 @@ export const parameters: Parameters = { dark: allModes.dark, }, }, - status: { - statuses: { - alpha: { - background: 'hsl(275.4, 48%, 50.2%)', - color: '#ffffff', - description: - 'This component is very unstable and will likely break when upgrading versions.', - }, - beta: { - background: 'hsl(45.4, 58.3%, 50.2%)', - color: '#ffffff', - description: - 'This component is still relatively unstable and may break when upgrading versions.', - }, - stable: { - background: 'hsl(154.1, 100%, 36.3%)', - color: '#ffffff', - description: 'This component is stable for production use.', - }, - }, - }, docs: { source: { excludeDecorators: true, diff --git a/packages/alert/stories/Alert.stories.tsx b/packages/alert/stories/Alert.stories.tsx index a030daa4f..bd3903fdc 100644 --- a/packages/alert/stories/Alert.stories.tsx +++ b/packages/alert/stories/Alert.stories.tsx @@ -7,12 +7,9 @@ import { Alert } from '../src'; export default { component: Alert, - title: 'Legacy/Deprecated/Alert', + title: 'Legacy/Alert', description: 'Actions trigger alerts based on user interaction.', parameters: { - status: { - type: import.meta.env.STORYBOOK_PACKAGE_STATUS__ALERT, - }, chromatic: { disableSnapshot: true }, }, argTypes: { diff --git a/packages/avatar/src/Avatar.tsx b/packages/avatar/src/Avatar.tsx index e9c3552d3..ed8b21f7a 100644 --- a/packages/avatar/src/Avatar.tsx +++ b/packages/avatar/src/Avatar.tsx @@ -24,6 +24,11 @@ const DIMENSIONS = { large: '40', }; +/** + * @deprecated use `Avatar` from `@launchpad-ui/components` instead + * + * https://launchpad.launchdarkly.com/?path=/docs/components-content-avatar--docs + */ const Avatar = ({ alt = '', url, diff --git a/packages/avatar/stories/Avatar.stories.tsx b/packages/avatar/stories/Avatar.stories.tsx index 5a8263d1f..9a3ab7c3f 100644 --- a/packages/avatar/stories/Avatar.stories.tsx +++ b/packages/avatar/stories/Avatar.stories.tsx @@ -6,12 +6,10 @@ import { Avatar } from '../src'; export default { component: Avatar, - title: 'Legacy/Sunset/Avatar', + title: 'Legacy/Avatar', description: 'An element that represents a user visually.', parameters: { - status: { - type: import.meta.env.STORYBOOK_PACKAGE_STATUS__AVATAR, - }, + chromatic: { disableSnapshot: true }, }, argTypes: { size: { diff --git a/packages/banner/stories/Banner.stories.tsx b/packages/banner/stories/Banner.stories.tsx index 19fe22e60..aeb4cae08 100644 --- a/packages/banner/stories/Banner.stories.tsx +++ b/packages/banner/stories/Banner.stories.tsx @@ -4,12 +4,9 @@ import { Banner } from '../src'; export default { component: Banner, - title: 'Legacy/Deprecated/Banner', + title: 'Legacy/Banner', description: 'Banners contain a system-wide message or status.', parameters: { - status: { - type: import.meta.env.STORYBOOK_PACKAGE_STATUS__BANNER, - }, chromatic: { disableSnapshot: true }, }, argTypes: { diff --git a/packages/box/stories/Box.stories.tsx b/packages/box/stories/Box.stories.tsx index 10a376239..f7c0593a2 100644 --- a/packages/box/stories/Box.stories.tsx +++ b/packages/box/stories/Box.stories.tsx @@ -8,11 +8,6 @@ export default { component: Box, title: 'Legacy/Experimental/Box', description: '', - parameters: { - status: { - type: import.meta.env.STORYBOOK_PACKAGE_STATUS__BOX, - }, - }, }; type Story = StoryObj; @@ -30,7 +25,7 @@ export const Example: Story = { export const Composition: Story = { args: { background: '$yellow-cyan', - borderColor: '$cyan.500', + borderColor: '$brand.cyan.base', color: '$black.900', asChild: true, children: , diff --git a/packages/button/stories/Button.stories.tsx b/packages/button/stories/Button.stories.tsx index 7bff13fa7..54ed980b6 100644 --- a/packages/button/stories/Button.stories.tsx +++ b/packages/button/stories/Button.stories.tsx @@ -45,13 +45,10 @@ const buttonTemplateWithStates: Decorator = (storyComponent, context) => { export default { component: Button, - title: 'Legacy/Deprecated/Button', + title: 'Legacy/Button', description: 'Buttons trigger actions based on user interaction.', decorators: [buttonTemplateWithStates], parameters: { - status: { - type: import.meta.env.STORYBOOK_PACKAGE_STATUS__BUTTON, - }, chromatic: { disableSnapshot: true }, }, argTypes: { diff --git a/packages/button/stories/ButtonGroup.stories.tsx b/packages/button/stories/ButtonGroup.stories.tsx index 9fba746fa..381875223 100644 --- a/packages/button/stories/ButtonGroup.stories.tsx +++ b/packages/button/stories/ButtonGroup.stories.tsx @@ -49,13 +49,10 @@ const buttonTemplateWithStates: Decorator = (storyComponent, context) => { export default { component: ButtonGroup, - title: 'Legacy/Deprecated/Button/ButtonGroup', + title: 'Legacy/Button/ButtonGroup', description: 'ButtonGroups group related actions and trigger them based on user interaction.', decorators: [buttonTemplateWithStates], parameters: { - status: { - type: import.meta.env.STORYBOOK_PACKAGE_STATUS__BUTTON, - }, chromatic: { disableSnapshot: true }, }, argTypes: { diff --git a/packages/button/stories/IconButton.stories.tsx b/packages/button/stories/IconButton.stories.tsx index 4748e1523..d87b4b85f 100644 --- a/packages/button/stories/IconButton.stories.tsx +++ b/packages/button/stories/IconButton.stories.tsx @@ -47,13 +47,10 @@ const buttonTemplateWithStates: Decorator = (storyComponent, context) => { export default { component: IconButton, - title: 'Legacy/Deprecated/Button/IconButton', + title: 'Legacy/Button/IconButton', description: 'Buttons trigger actions based on user interaction.', decorators: [buttonTemplateWithStates], parameters: { - status: { - type: import.meta.env.STORYBOOK_PACKAGE_STATUS__BUTTON, - }, chromatic: { disableSnapshot: true }, }, argTypes: { diff --git a/packages/button/stories/UploadButton.stories.tsx b/packages/button/stories/UploadButton.stories.tsx index a19cc456f..a729edff7 100644 --- a/packages/button/stories/UploadButton.stories.tsx +++ b/packages/button/stories/UploadButton.stories.tsx @@ -4,12 +4,9 @@ import { UploadButton } from '../src'; export default { component: UploadButton, - title: 'Legacy/Deprecated/Button/UploadButton', + title: 'Legacy/Button/UploadButton', description: 'UploadButtons trigger a native file upload experience.', parameters: { - status: { - type: import.meta.env.STORYBOOK_PACKAGE_STATUS__BUTTON, - }, chromatic: { disableSnapshot: true }, }, argTypes: { diff --git a/packages/card/stories/RadioCard.stories.tsx b/packages/card/stories/RadioCard.stories.tsx index c62e942d2..c005772fb 100644 --- a/packages/card/stories/RadioCard.stories.tsx +++ b/packages/card/stories/RadioCard.stories.tsx @@ -4,7 +4,7 @@ import { RadioCard } from '../src/RadioCard'; export default { component: RadioCard, - title: 'Legacy/Deprecated/Card/RadioCard', + title: 'Legacy/Card/RadioCard', description: 'A radio button with a label and optional image and subtext.', decorators: [ (Story) => ( @@ -14,9 +14,6 @@ export default { ), ], parameters: { - status: { - type: import.meta.env.STORYBOOK_PACKAGE_STATUS__RADIOCARD, - }, chromatic: { disableSnapshot: true }, }, } as Meta; diff --git a/packages/chip/stories/Chip.stories.tsx b/packages/chip/stories/Chip.stories.tsx index cab251afd..fd27b3e43 100644 --- a/packages/chip/stories/Chip.stories.tsx +++ b/packages/chip/stories/Chip.stories.tsx @@ -6,12 +6,9 @@ import { Chip } from '../src'; export default { component: Chip, - title: 'Legacy/Deprecated/Chip', + title: 'Legacy/Chip', description: 'Chips can be used as visual indicators for tags.', parameters: { - status: { - type: import.meta.env.STORYBOOK_PACKAGE_STATUS__CHIP, - }, chromatic: { disableSnapshot: true }, }, argTypes: { diff --git a/packages/clipboard/src/CopyToClipboard.tsx b/packages/clipboard/src/CopyToClipboard.tsx index 6cf570370..c0de43b36 100644 --- a/packages/clipboard/src/CopyToClipboard.tsx +++ b/packages/clipboard/src/CopyToClipboard.tsx @@ -38,7 +38,7 @@ const CopyConfirmation = () => ( /** * @deprecated follow the recipe from `@launchpad-ui/components` instead * - * https://launchpad.launchdarkly.com/?path=/docs/recipes-composition--docs#copy%20to%20clipboard + * https://launchpad.launchdarkly.com/?path=/docs/recipes-copytoclipboard--docs */ const CopyToClipboard = forwardRef( ( diff --git a/packages/clipboard/stories/CopyToClipboard.stories.tsx b/packages/clipboard/stories/CopyToClipboard.stories.tsx index 93f343565..bb3c53683 100644 --- a/packages/clipboard/stories/CopyToClipboard.stories.tsx +++ b/packages/clipboard/stories/CopyToClipboard.stories.tsx @@ -8,12 +8,9 @@ import { CopyToClipboard } from '../src'; export default { component: CopyToClipboard, - title: 'Legacy/Deprecated/CopyToClipboard', + title: 'Legacy/CopyToClipboard', description: 'Clipboards copy text to the clipboard.', parameters: { - status: { - type: import.meta.env.STORYBOOK_PACKAGE_STATUS__CLIPBOARD, - }, chromatic: { disableSnapshot: true }, }, argTypes: { diff --git a/packages/collapsible/src/Collapsible.tsx b/packages/collapsible/src/Collapsible.tsx index 3426b8e9a..de56d726e 100644 --- a/packages/collapsible/src/Collapsible.tsx +++ b/packages/collapsible/src/Collapsible.tsx @@ -18,6 +18,11 @@ type CollapsibleProps = Omit, 'className'> & { 'data-test-id'?: string; }; +/** + * @deprecated use `Disclosure` from `@launchpad-ui/components` instead + * + * https://launchpad.launchdarkly.com/?path=/docs/components-navigation-disclosure--docs + */ const Collapsible = (props: CollapsibleProps) => { const { children, diff --git a/packages/collapsible/stories/Collapsible.stories.tsx b/packages/collapsible/stories/Collapsible.stories.tsx index 55c61ced8..2433d2f68 100644 --- a/packages/collapsible/stories/Collapsible.stories.tsx +++ b/packages/collapsible/stories/Collapsible.stories.tsx @@ -4,13 +4,11 @@ import { Collapsible } from '../src'; export default { component: Collapsible, - title: 'Legacy/Sunset/Collapsible', + title: 'Legacy/Collapsible', description: 'A progressive disclosure component that allows the user to to click a trigger to show more content', parameters: { - status: { - type: import.meta.env.STORYBOOK_PACKAGE_STATUS__COLLAPSIBLE, - }, + chromatic: { disableSnapshot: true }, }, }; diff --git a/packages/columns/src/Column.tsx b/packages/columns/src/Column.tsx index 235c8531c..70e6157e8 100644 --- a/packages/columns/src/Column.tsx +++ b/packages/columns/src/Column.tsx @@ -17,6 +17,11 @@ type ColumnProps = ComponentProps<'div'> & { children: ReactNode; }; +/** + * @deprecated use `Box` instead + * + * https://launchpad.launchdarkly.com/?path=/docs/legacy-experimental-box--docs + */ const Column = ({ children, className, 'data-test-id': testId = 'column', size }: ColumnProps) => { return (
& { children?: ReactNode; }; +/** + * @deprecated use `Box` instead + * + * https://launchpad.launchdarkly.com/?path=/docs/legacy-experimental-box--docs + */ const Columns = ({ children, className, diff --git a/packages/columns/stories/Columns.stories.tsx b/packages/columns/stories/Columns.stories.tsx index fd7448e16..2234dac47 100644 --- a/packages/columns/stories/Columns.stories.tsx +++ b/packages/columns/stories/Columns.stories.tsx @@ -5,12 +5,10 @@ import { Column, Columns } from '../src'; export default { component: Columns, - title: 'Legacy/Sunset/Columns', + title: 'Legacy/Columns', description: 'Elements used to lay out content horizontally with consistent spacing.', parameters: { - status: { - type: import.meta.env.STORYBOOK_PACKAGE_STATUS__COLUMNS, - }, + chromatic: { disableSnapshot: true }, }, }; diff --git a/packages/components/stories/Alert.stories.tsx b/packages/components/stories/Alert.stories.tsx index 441a74cab..e101e1652 100644 --- a/packages/components/stories/Alert.stories.tsx +++ b/packages/components/stories/Alert.stories.tsx @@ -5,11 +5,6 @@ import { Alert, Button, ButtonGroup, Heading, Text } from '../src'; const meta: Meta = { component: Alert, title: 'Components/Status/Alert', - parameters: { - status: { - type: import.meta.env.STORYBOOK_PACKAGE_STATUS__COMPONENTS, - }, - }, }; export default meta; diff --git a/packages/components/stories/Breadcrumbs.stories.tsx b/packages/components/stories/Breadcrumbs.stories.tsx index faf6f0bbb..eeebe0f2a 100644 --- a/packages/components/stories/Breadcrumbs.stories.tsx +++ b/packages/components/stories/Breadcrumbs.stories.tsx @@ -7,11 +7,6 @@ const meta: Meta = { component: Breadcrumbs, subcomponents: { Breadcrumb } as Record>, title: 'Components/Navigation/Breadcrumbs', - parameters: { - status: { - type: import.meta.env.STORYBOOK_PACKAGE_STATUS__COMPONENTS, - }, - }, }; export default meta; diff --git a/packages/components/stories/Button.stories.tsx b/packages/components/stories/Button.stories.tsx index 31a2b8e11..3f1887e9f 100644 --- a/packages/components/stories/Button.stories.tsx +++ b/packages/components/stories/Button.stories.tsx @@ -12,9 +12,6 @@ const meta: Meta = { component: Button, title: 'Components/Buttons/Button', parameters: { - status: { - type: import.meta.env.STORYBOOK_PACKAGE_STATUS__COMPONENTS, - }, test: { dangerouslyIgnoreUnhandledErrors: true, }, diff --git a/packages/components/stories/ButtonGroup.stories.tsx b/packages/components/stories/ButtonGroup.stories.tsx index bb9aaa856..35e09d0bc 100644 --- a/packages/components/stories/ButtonGroup.stories.tsx +++ b/packages/components/stories/ButtonGroup.stories.tsx @@ -5,11 +5,6 @@ import { Button, ButtonGroup, IconButton, Menu, MenuItem, MenuTrigger, Popover } const meta: Meta = { component: ButtonGroup, title: 'Components/Buttons/ButtonGroup', - parameters: { - status: { - type: import.meta.env.STORYBOOK_PACKAGE_STATUS__COMPONENTS, - }, - }, }; export default meta; diff --git a/packages/components/stories/Calendar.stories.tsx b/packages/components/stories/Calendar.stories.tsx index bba9389f5..b93784600 100644 --- a/packages/components/stories/Calendar.stories.tsx +++ b/packages/components/stories/Calendar.stories.tsx @@ -32,9 +32,6 @@ const meta: Meta = { >, title: 'Components/Date and Time/Calendar', parameters: { - status: { - type: import.meta.env.STORYBOOK_PACKAGE_STATUS__COMPONENTS, - }, a11y: { options: { rules: { diff --git a/packages/components/stories/Checkbox.stories.tsx b/packages/components/stories/Checkbox.stories.tsx index 1070be844..0e58061ee 100644 --- a/packages/components/stories/Checkbox.stories.tsx +++ b/packages/components/stories/Checkbox.stories.tsx @@ -9,9 +9,6 @@ const meta: Meta = { component: Checkbox, title: 'Components/Forms/Checkbox', parameters: { - status: { - type: import.meta.env.STORYBOOK_PACKAGE_STATUS__COMPONENTS, - }, chromatic: { pauseAnimationAtEnd: true }, }, decorators: [ diff --git a/packages/components/stories/CheckboxGroup.stories.tsx b/packages/components/stories/CheckboxGroup.stories.tsx index 27de9016a..10ed6872d 100644 --- a/packages/components/stories/CheckboxGroup.stories.tsx +++ b/packages/components/stories/CheckboxGroup.stories.tsx @@ -7,11 +7,6 @@ import { Button, Checkbox, CheckboxGroup, FieldError, Form, Label, Text } from ' const meta: Meta = { component: CheckboxGroup, title: 'Components/Forms/CheckboxGroup', - parameters: { - status: { - type: import.meta.env.STORYBOOK_PACKAGE_STATUS__COMPONENTS, - }, - }, }; export default meta; diff --git a/packages/components/stories/ComboBox.stories.tsx b/packages/components/stories/ComboBox.stories.tsx index ccae29459..ffc2f140d 100644 --- a/packages/components/stories/ComboBox.stories.tsx +++ b/packages/components/stories/ComboBox.stories.tsx @@ -22,11 +22,6 @@ const meta: Meta = { component: ComboBox, subcomponents: { ComboBoxClearButton } as Record>, title: 'Components/Pickers/ComboBox', - parameters: { - status: { - type: import.meta.env.STORYBOOK_PACKAGE_STATUS__COMPONENTS, - }, - }, decorators: [ (Story) => (
diff --git a/packages/components/stories/DateField.stories.tsx b/packages/components/stories/DateField.stories.tsx index 29fa1cb67..0257af66c 100644 --- a/packages/components/stories/DateField.stories.tsx +++ b/packages/components/stories/DateField.stories.tsx @@ -10,11 +10,6 @@ const meta: Meta = { component: DateField, subcomponents: { DateInput, DateSegment } as Record>, title: 'Components/Date and Time/DateField', - parameters: { - status: { - type: import.meta.env.STORYBOOK_PACKAGE_STATUS__COMPONENTS, - }, - }, decorators: [ (Story) => (
diff --git a/packages/components/stories/DatePicker.stories.tsx b/packages/components/stories/DatePicker.stories.tsx index f17d1b166..db16c252c 100644 --- a/packages/components/stories/DatePicker.stories.tsx +++ b/packages/components/stories/DatePicker.stories.tsx @@ -23,9 +23,6 @@ const meta: Meta = { component: DatePicker, title: 'Components/Date and Time/DatePicker', parameters: { - status: { - type: import.meta.env.STORYBOOK_PACKAGE_STATUS__COMPONENTS, - }, chromatic: { pauseAnimationAtEnd: true }, }, decorators: [ diff --git a/packages/components/stories/DateRangePicker.stories.tsx b/packages/components/stories/DateRangePicker.stories.tsx index ea91395e4..c49fc4cad 100644 --- a/packages/components/stories/DateRangePicker.stories.tsx +++ b/packages/components/stories/DateRangePicker.stories.tsx @@ -23,9 +23,6 @@ const meta: Meta = { component: DateRangePicker, title: 'Components/Date and Time/DateRangePicker', parameters: { - status: { - type: import.meta.env.STORYBOOK_PACKAGE_STATUS__COMPONENTS, - }, chromatic: { pauseAnimationAtEnd: true }, }, decorators: [ diff --git a/packages/components/stories/Disclosure.stories.tsx b/packages/components/stories/Disclosure.stories.tsx index c5d0bb5b4..87f987fab 100644 --- a/packages/components/stories/Disclosure.stories.tsx +++ b/packages/components/stories/Disclosure.stories.tsx @@ -10,11 +10,6 @@ const meta: Meta = { component: Disclosure, subcomponents: { DisclosurePanel } as Record>, title: 'Components/Navigation/Disclosure', - parameters: { - status: { - type: import.meta.env.STORYBOOK_PACKAGE_STATUS__COMPONENTS, - }, - }, }; export default meta; diff --git a/packages/components/stories/DropZone.stories.tsx b/packages/components/stories/DropZone.stories.tsx index bce848b40..186bd9600 100644 --- a/packages/components/stories/DropZone.stories.tsx +++ b/packages/components/stories/DropZone.stories.tsx @@ -8,11 +8,6 @@ import { Button, DropZone, FileTrigger, Text } from '../src'; const meta: Meta = { component: DropZone, title: 'Components/Drag and drop/DropZone', - parameters: { - status: { - type: import.meta.env.STORYBOOK_PACKAGE_STATUS__COMPONENTS, - }, - }, }; export default meta; diff --git a/packages/components/stories/FieldGroup.stories.tsx b/packages/components/stories/FieldGroup.stories.tsx index 0c8177f33..488093898 100644 --- a/packages/components/stories/FieldGroup.stories.tsx +++ b/packages/components/stories/FieldGroup.stories.tsx @@ -17,11 +17,6 @@ import { const meta: Meta = { component: FieldGroup, title: 'Components/Forms/FieldGroup', - parameters: { - status: { - type: import.meta.env.STORYBOOK_PACKAGE_STATUS__COMPONENTS, - }, - }, }; export default meta; diff --git a/packages/components/stories/FileTrigger.stories.tsx b/packages/components/stories/FileTrigger.stories.tsx index 3122d5b17..1007e2202 100644 --- a/packages/components/stories/FileTrigger.stories.tsx +++ b/packages/components/stories/FileTrigger.stories.tsx @@ -5,11 +5,6 @@ import { Button, FileTrigger } from '../src'; const meta: Meta = { component: FileTrigger, title: 'Components/Buttons/FileTrigger', - parameters: { - status: { - type: import.meta.env.STORYBOOK_PACKAGE_STATUS__COMPONENTS, - }, - }, }; export default meta; diff --git a/packages/components/stories/GridList.stories.tsx b/packages/components/stories/GridList.stories.tsx index fb7381f84..82d4ca948 100644 --- a/packages/components/stories/GridList.stories.tsx +++ b/packages/components/stories/GridList.stories.tsx @@ -20,11 +20,6 @@ const meta: Meta = { component: GridList, subcomponents: { GridListItem } as Record>, title: 'Components/Collections/GridList', - parameters: { - status: { - type: import.meta.env.STORYBOOK_PACKAGE_STATUS__COMPONENTS, - }, - }, }; export default meta; diff --git a/packages/components/stories/Group.stories.tsx b/packages/components/stories/Group.stories.tsx index 10b557ea5..e30992e69 100644 --- a/packages/components/stories/Group.stories.tsx +++ b/packages/components/stories/Group.stories.tsx @@ -10,9 +10,6 @@ const meta: Meta = { component: Group, title: 'Components/Content/Group', parameters: { - status: { - type: import.meta.env.STORYBOOK_PACKAGE_STATUS__COMPONENTS, - }, chromatic: { pauseAnimationAtEnd: true }, }, decorators: [ diff --git a/packages/components/stories/IconButton.stories.tsx b/packages/components/stories/IconButton.stories.tsx index e20e37f56..813b38ee5 100644 --- a/packages/components/stories/IconButton.stories.tsx +++ b/packages/components/stories/IconButton.stories.tsx @@ -5,11 +5,6 @@ import { IconButton } from '../src'; const meta: Meta = { component: IconButton, title: 'Components/Buttons/IconButton', - parameters: { - status: { - type: import.meta.env.STORYBOOK_PACKAGE_STATUS__COMPONENTS, - }, - }, }; export default meta; diff --git a/packages/components/stories/Link.stories.tsx b/packages/components/stories/Link.stories.tsx index 23c35e4bf..9794f61f1 100644 --- a/packages/components/stories/Link.stories.tsx +++ b/packages/components/stories/Link.stories.tsx @@ -8,11 +8,6 @@ import { Link } from '../src'; const meta: Meta = { component: Link, title: 'Components/Navigation/Link', - parameters: { - status: { - type: import.meta.env.STORYBOOK_PACKAGE_STATUS__COMPONENTS, - }, - }, }; export default meta; diff --git a/packages/components/stories/LinkButton.stories.tsx b/packages/components/stories/LinkButton.stories.tsx index 0da90fbf8..0b48a0035 100644 --- a/packages/components/stories/LinkButton.stories.tsx +++ b/packages/components/stories/LinkButton.stories.tsx @@ -5,11 +5,6 @@ import { LinkButton } from '../src'; const meta: Meta = { component: LinkButton, title: 'Components/Navigation/LinkButton', - parameters: { - status: { - type: import.meta.env.STORYBOOK_PACKAGE_STATUS__COMPONENTS, - }, - }, }; export default meta; diff --git a/packages/components/stories/LinkIconButton.stories.tsx b/packages/components/stories/LinkIconButton.stories.tsx index 1ad0b94c8..d3034cdd7 100644 --- a/packages/components/stories/LinkIconButton.stories.tsx +++ b/packages/components/stories/LinkIconButton.stories.tsx @@ -5,11 +5,6 @@ import { LinkIconButton } from '../src'; const meta: Meta = { component: LinkIconButton, title: 'Components/Navigation/LinkIconButton', - parameters: { - status: { - type: import.meta.env.STORYBOOK_PACKAGE_STATUS__COMPONENTS, - }, - }, }; export default meta; diff --git a/packages/components/stories/ListBox.stories.tsx b/packages/components/stories/ListBox.stories.tsx index 667352d4a..ffcfdd2a5 100644 --- a/packages/components/stories/ListBox.stories.tsx +++ b/packages/components/stories/ListBox.stories.tsx @@ -12,11 +12,6 @@ const meta: Meta = { component: ListBox, subcomponents: { ListBoxItem, ListBoxSection, Header } as Record>, title: 'Components/Collections/ListBox', - parameters: { - status: { - type: import.meta.env.STORYBOOK_PACKAGE_STATUS__COMPONENTS, - }, - }, }; export default meta; diff --git a/packages/components/stories/Menu.stories.tsx b/packages/components/stories/Menu.stories.tsx index 396c4b2b7..a27c7708c 100644 --- a/packages/components/stories/Menu.stories.tsx +++ b/packages/components/stories/Menu.stories.tsx @@ -33,9 +33,6 @@ const meta: Meta = { } as Record>, title: 'Components/Collections/Menu', parameters: { - status: { - type: import.meta.env.STORYBOOK_PACKAGE_STATUS__COMPONENTS, - }, chromatic: { pauseAnimationAtEnd: true }, }, decorators: [ diff --git a/packages/components/stories/Meter.stories.tsx b/packages/components/stories/Meter.stories.tsx index 08e3a91bb..8e0a6a1a7 100644 --- a/packages/components/stories/Meter.stories.tsx +++ b/packages/components/stories/Meter.stories.tsx @@ -8,9 +8,6 @@ const meta: Meta = { component: Meter, title: 'Components/Status/Meter', parameters: { - status: { - type: import.meta.env.STORYBOOK_PACKAGE_STATUS__COMPONENTS, - }, a11y: { options: { rules: { diff --git a/packages/components/stories/Modal.stories.tsx b/packages/components/stories/Modal.stories.tsx index 9b0971ce5..69436b139 100644 --- a/packages/components/stories/Modal.stories.tsx +++ b/packages/components/stories/Modal.stories.tsx @@ -24,9 +24,6 @@ const meta: Meta = { >, title: 'Components/Overlays/Modal', parameters: { - status: { - type: import.meta.env.STORYBOOK_PACKAGE_STATUS__COMPONENTS, - }, chromatic: { pauseAnimationAtEnd: true }, }, decorators: [ diff --git a/packages/components/stories/NumberField.stories.tsx b/packages/components/stories/NumberField.stories.tsx index 8b56207af..2d4cc04f3 100644 --- a/packages/components/stories/NumberField.stories.tsx +++ b/packages/components/stories/NumberField.stories.tsx @@ -8,11 +8,6 @@ import { Group, IconButton, Input, Label, NumberField } from '../src'; const meta: Meta = { component: NumberField, title: 'Components/Forms/NumberField', - parameters: { - status: { - type: import.meta.env.STORYBOOK_PACKAGE_STATUS__COMPONENTS, - }, - }, decorators: [ (Story) => (
diff --git a/packages/components/stories/Popover.stories.tsx b/packages/components/stories/Popover.stories.tsx index 93737f080..c7e637b55 100644 --- a/packages/components/stories/Popover.stories.tsx +++ b/packages/components/stories/Popover.stories.tsx @@ -11,9 +11,6 @@ const meta: Meta = { subcomponents: { OverlayArrow, DialogTrigger } as Record>, title: 'Components/Overlays/Popover', parameters: { - status: { - type: import.meta.env.STORYBOOK_PACKAGE_STATUS__COMPONENTS, - }, chromatic: { pauseAnimationAtEnd: true }, }, decorators: [ diff --git a/packages/components/stories/ProgressBar.stories.tsx b/packages/components/stories/ProgressBar.stories.tsx index 20b33ee41..342160062 100644 --- a/packages/components/stories/ProgressBar.stories.tsx +++ b/packages/components/stories/ProgressBar.stories.tsx @@ -5,11 +5,6 @@ import { ProgressBar } from '../src'; const meta: Meta = { component: ProgressBar, title: 'Components/Status/ProgressBar', - parameters: { - status: { - type: import.meta.env.STORYBOOK_PACKAGE_STATUS__COMPONENTS, - }, - }, }; export default meta; diff --git a/packages/components/stories/RadioGroup.stories.tsx b/packages/components/stories/RadioGroup.stories.tsx index 02f4f0254..b0286863f 100644 --- a/packages/components/stories/RadioGroup.stories.tsx +++ b/packages/components/stories/RadioGroup.stories.tsx @@ -9,11 +9,6 @@ const meta: Meta = { component: RadioGroup, subcomponents: { Radio } as Record>, title: 'Components/Forms/RadioGroup', - parameters: { - status: { - type: import.meta.env.STORYBOOK_PACKAGE_STATUS__COMPONENTS, - }, - }, }; export default meta; diff --git a/packages/components/stories/RangeCalendar.stories.tsx b/packages/components/stories/RangeCalendar.stories.tsx index c0f6c29b0..957f7e2ac 100644 --- a/packages/components/stories/RangeCalendar.stories.tsx +++ b/packages/components/stories/RangeCalendar.stories.tsx @@ -31,9 +31,6 @@ const meta: Meta = { subcomponents: { CalendarCell, CalendarGrid, Heading } as Record>, title: 'Components/Date and Time/RangeCalendar', parameters: { - status: { - type: import.meta.env.STORYBOOK_PACKAGE_STATUS__COMPONENTS, - }, a11y: { options: { rules: { diff --git a/packages/components/stories/SearchField.stories.tsx b/packages/components/stories/SearchField.stories.tsx index 61a186efe..394649ed6 100644 --- a/packages/components/stories/SearchField.stories.tsx +++ b/packages/components/stories/SearchField.stories.tsx @@ -9,11 +9,6 @@ import { Group, IconButton, Input, Label, SearchField, Text } from '../src'; const meta: Meta = { component: SearchField, title: 'Components/Forms/SearchField', - parameters: { - status: { - type: import.meta.env.STORYBOOK_PACKAGE_STATUS__COMPONENTS, - }, - }, decorators: [ (Story) => (
diff --git a/packages/components/stories/Select.stories.tsx b/packages/components/stories/Select.stories.tsx index 8a87a158f..0b30219ad 100644 --- a/packages/components/stories/Select.stories.tsx +++ b/packages/components/stories/Select.stories.tsx @@ -11,11 +11,6 @@ const meta: Meta = { component: Select, subcomponents: { SelectValue } as Record>, title: 'Components/Pickers/Select', - parameters: { - status: { - type: import.meta.env.STORYBOOK_PACKAGE_STATUS__COMPONENTS, - }, - }, decorators: [ (Story) => (
diff --git a/packages/components/stories/Switch.stories.tsx b/packages/components/stories/Switch.stories.tsx index fe47e5438..af82469b9 100644 --- a/packages/components/stories/Switch.stories.tsx +++ b/packages/components/stories/Switch.stories.tsx @@ -5,11 +5,6 @@ import { Switch } from '../src'; const meta: Meta = { component: Switch, title: 'Components/Forms/Switch', - parameters: { - status: { - type: import.meta.env.STORYBOOK_PACKAGE_STATUS__COMPONENTS, - }, - }, }; export default meta; diff --git a/packages/components/stories/Table.stories.tsx b/packages/components/stories/Table.stories.tsx index 1e6b1d15d..67e263bb8 100644 --- a/packages/components/stories/Table.stories.tsx +++ b/packages/components/stories/Table.stories.tsx @@ -24,11 +24,6 @@ const meta: Meta = { ComponentType >, title: 'Components/Collections/Table', - parameters: { - status: { - type: import.meta.env.STORYBOOK_PACKAGE_STATUS__COMPONENTS, - }, - }, }; export default meta; diff --git a/packages/components/stories/Tabs.stories.tsx b/packages/components/stories/Tabs.stories.tsx index f0f9aa133..a39a33eb6 100644 --- a/packages/components/stories/Tabs.stories.tsx +++ b/packages/components/stories/Tabs.stories.tsx @@ -10,11 +10,6 @@ const meta: Meta = { component: Tabs, subcomponents: { Tab, TabList, TabPanel } as Record>, title: 'Components/Navigation/Tabs', - parameters: { - status: { - type: import.meta.env.STORYBOOK_PACKAGE_STATUS__COMPONENTS, - }, - }, }; export default meta; diff --git a/packages/components/stories/TagGroup.stories.tsx b/packages/components/stories/TagGroup.stories.tsx index 54fcaa618..36c161b66 100644 --- a/packages/components/stories/TagGroup.stories.tsx +++ b/packages/components/stories/TagGroup.stories.tsx @@ -10,11 +10,6 @@ const meta: Meta = { component: TagGroup, subcomponents: { TagList, Tag } as Record>, title: 'Components/Collections/TagGroup', - parameters: { - status: { - type: import.meta.env.STORYBOOK_PACKAGE_STATUS__COMPONENTS, - }, - }, }; export default meta; diff --git a/packages/components/stories/TextField.stories.tsx b/packages/components/stories/TextField.stories.tsx index a0f287200..c36e6cab2 100644 --- a/packages/components/stories/TextField.stories.tsx +++ b/packages/components/stories/TextField.stories.tsx @@ -13,11 +13,6 @@ const meta: Meta = { ComponentType >, title: 'Components/Forms/TextField', - parameters: { - status: { - type: import.meta.env.STORYBOOK_PACKAGE_STATUS__COMPONENTS, - }, - }, decorators: [ (Story) => (
diff --git a/packages/components/stories/TimeField.stories.tsx b/packages/components/stories/TimeField.stories.tsx index 01cc7c3df..a2b34c602 100644 --- a/packages/components/stories/TimeField.stories.tsx +++ b/packages/components/stories/TimeField.stories.tsx @@ -11,9 +11,6 @@ const meta: Meta = { subcomponents: { DateInput, DateSegment } as Record>, title: 'Components/Date and Time/TimeField', parameters: { - status: { - type: import.meta.env.STORYBOOK_PACKAGE_STATUS__COMPONENTS, - }, a11y: { options: { rules: { diff --git a/packages/components/stories/Toast.stories.tsx b/packages/components/stories/Toast.stories.tsx index cd85da323..2c169c165 100644 --- a/packages/components/stories/Toast.stories.tsx +++ b/packages/components/stories/Toast.stories.tsx @@ -18,9 +18,6 @@ const meta: Meta = { subcomponents: { SnackbarContainer } as Record>, title: 'Components/Status/Toast', parameters: { - status: { - type: import.meta.env.STORYBOOK_PACKAGE_STATUS__COMPONENTS, - }, chromatic: { pauseAnimationAtEnd: true }, }, decorators: [ diff --git a/packages/components/stories/ToggleButton.stories.tsx b/packages/components/stories/ToggleButton.stories.tsx index 9bc83b35e..43618153d 100644 --- a/packages/components/stories/ToggleButton.stories.tsx +++ b/packages/components/stories/ToggleButton.stories.tsx @@ -7,11 +7,6 @@ import { ToggleButton } from '../src'; const meta: Meta = { component: ToggleButton, title: 'Components/Buttons/ToggleButton', - parameters: { - status: { - type: import.meta.env.STORYBOOK_PACKAGE_STATUS__COMPONENTS, - }, - }, }; export default meta; diff --git a/packages/components/stories/ToggleButtonGroup.stories.tsx b/packages/components/stories/ToggleButtonGroup.stories.tsx index 1a257245f..eefe0e20f 100644 --- a/packages/components/stories/ToggleButtonGroup.stories.tsx +++ b/packages/components/stories/ToggleButtonGroup.stories.tsx @@ -7,11 +7,6 @@ const meta: Meta = { component: ToggleButtonGroup, subcomponents: { ToggleButton } as Record>, title: 'Components/Buttons/ToggleButtonGroup', - parameters: { - status: { - type: import.meta.env.STORYBOOK_PACKAGE_STATUS__COMPONENTS, - }, - }, }; export default meta; diff --git a/packages/components/stories/ToggleIconButton.stories.tsx b/packages/components/stories/ToggleIconButton.stories.tsx index 1b8a24a29..378c81638 100644 --- a/packages/components/stories/ToggleIconButton.stories.tsx +++ b/packages/components/stories/ToggleIconButton.stories.tsx @@ -7,11 +7,6 @@ import { ToggleIconButton } from '../src'; const meta: Meta = { component: ToggleIconButton, title: 'Components/Buttons/ToggleIconButton', - parameters: { - status: { - type: import.meta.env.STORYBOOK_PACKAGE_STATUS__COMPONENTS, - }, - }, }; export default meta; diff --git a/packages/components/stories/Toolbar.stories.tsx b/packages/components/stories/Toolbar.stories.tsx index 7f01a91d1..a03e8dd19 100644 --- a/packages/components/stories/Toolbar.stories.tsx +++ b/packages/components/stories/Toolbar.stories.tsx @@ -7,11 +7,6 @@ import { Button, Group, IconButton, Separator, Toolbar } from '../src'; const meta: Meta = { component: Toolbar, title: 'Components/Content/Toolbar', - parameters: { - status: { - type: import.meta.env.STORYBOOK_PACKAGE_STATUS__COMPONENTS, - }, - }, }; export default meta; diff --git a/packages/components/stories/Tooltip.stories.tsx b/packages/components/stories/Tooltip.stories.tsx index 4187249b6..d3788f319 100644 --- a/packages/components/stories/Tooltip.stories.tsx +++ b/packages/components/stories/Tooltip.stories.tsx @@ -11,9 +11,6 @@ const meta: Meta = { subcomponents: { TooltipTrigger, Pressable } as Record>, title: 'Components/Overlays/Tooltip', parameters: { - status: { - type: import.meta.env.STORYBOOK_PACKAGE_STATUS__COMPONENTS, - }, chromatic: { pauseAnimationAtEnd: true }, }, decorators: [ diff --git a/packages/counter/stories/Counter.stories.tsx b/packages/counter/stories/Counter.stories.tsx index 827187de4..49b375d0e 100644 --- a/packages/counter/stories/Counter.stories.tsx +++ b/packages/counter/stories/Counter.stories.tsx @@ -4,12 +4,9 @@ import { Counter } from '../src'; export default { component: Counter, - title: 'Legacy/Deprecated/Counter', + title: 'Legacy/Counter', description: 'Indicates the count value of a resource.', parameters: { - status: { - type: import.meta.env.STORYBOOK_PACKAGE_STATUS__COUNTER, - }, chromatic: { disableSnapshot: true }, }, argTypes: { diff --git a/packages/drawer/stories/Drawer.stories.tsx b/packages/drawer/stories/Drawer.stories.tsx index ab428142c..3ab07b3f0 100644 --- a/packages/drawer/stories/Drawer.stories.tsx +++ b/packages/drawer/stories/Drawer.stories.tsx @@ -9,15 +9,12 @@ import { Drawer, DrawerHeader } from '../src'; export default { component: Drawer, subcomponents: { DrawerHeader }, - title: 'Legacy/Deprecated/Drawer', + title: 'Legacy/Drawer', description: 'A partial overlay that appears from the right side of the screen.', parameters: { docs: { page: null, }, - status: { - type: import.meta.env.STORYBOOK_PACKAGE_STATUS__DRAWER, - }, chromatic: { disableSnapshot: true }, }, decorators: [ diff --git a/packages/dropdown/stories/Dropdown.stories.tsx b/packages/dropdown/stories/Dropdown.stories.tsx index ab3a978a0..126e360a7 100644 --- a/packages/dropdown/stories/Dropdown.stories.tsx +++ b/packages/dropdown/stories/Dropdown.stories.tsx @@ -7,12 +7,9 @@ import { Dropdown, DropdownButton } from '../src'; export default { component: Dropdown, subcomponents: { DropdownButton }, - title: 'Legacy/Deprecated/Dropdown', + title: 'Legacy/Dropdown', description: 'Dropdowns display a list of actions or options to a user.', parameters: { - status: { - type: import.meta.env.STORYBOOK_PACKAGE_STATUS__DROPDOWN, - }, chromatic: { disableSnapshot: true }, }, decorators: [ diff --git a/packages/filter/stories/AppliedFilter.stories.tsx b/packages/filter/stories/AppliedFilter.stories.tsx index 10932eac0..6faab40c6 100644 --- a/packages/filter/stories/AppliedFilter.stories.tsx +++ b/packages/filter/stories/AppliedFilter.stories.tsx @@ -4,12 +4,9 @@ import { AppliedFilter } from '../src'; export default { component: AppliedFilter, - title: 'Legacy/Deprecated/Filter/AppliedFilter', + title: 'Legacy/Filter/AppliedFilter', description: 'We use filters to filter our lists based on search critera.', parameters: { - status: { - type: import.meta.env.STORYBOOK_PACKAGE_STATUS__FILTER, - }, chromatic: { disableSnapshot: true }, }, argTypes: { diff --git a/packages/filter/stories/Filter.stories.tsx b/packages/filter/stories/Filter.stories.tsx index a0565acba..3514a3bd2 100644 --- a/packages/filter/stories/Filter.stories.tsx +++ b/packages/filter/stories/Filter.stories.tsx @@ -4,12 +4,9 @@ import { Filter } from '../src'; export default { component: Filter, - title: 'Legacy/Deprecated/Filter', + title: 'Legacy/Filter', description: 'We use filters to filter our lists based on search critera.', parameters: { - status: { - type: import.meta.env.STORYBOOK_PACKAGE_STATUS__FILTER, - }, chromatic: { disableSnapshot: true }, }, argTypes: { diff --git a/packages/filter/stories/FilterButton.stories.tsx b/packages/filter/stories/FilterButton.stories.tsx index fc4084eb6..5a499736b 100644 --- a/packages/filter/stories/FilterButton.stories.tsx +++ b/packages/filter/stories/FilterButton.stories.tsx @@ -4,13 +4,10 @@ import { FilterButton } from '../src'; export default { component: FilterButton, - title: 'Legacy/Deprecated/Filter/FilterButton', + title: 'Legacy/Filter/FilterButton', description: "When the Filter component doesn't suffice, construct your own custom filter using the FilterButton.", parameters: { - status: { - type: import.meta.env.STORYBOOK_PACKAGE_STATUS__FILTER, - }, chromatic: { disableSnapshot: true }, }, }; diff --git a/packages/form/stories/Checkbox.stories.tsx b/packages/form/stories/Checkbox.stories.tsx index d8109630d..255b544a1 100644 --- a/packages/form/stories/Checkbox.stories.tsx +++ b/packages/form/stories/Checkbox.stories.tsx @@ -4,12 +4,9 @@ import { Checkbox } from '../src'; export default { component: Checkbox, - title: 'Legacy/Deprecated/Form/Checkbox', + title: 'Legacy/Form/Checkbox', description: 'A checkbox allows the user to toggle between checked and unchecked states.', parameters: { - status: { - type: import.meta.env.STORYBOOK_PACKAGE_STATUS__FORM, - }, chromatic: { disableSnapshot: true }, }, argTypes: { diff --git a/packages/form/stories/CompactTextField.stories.tsx b/packages/form/stories/CompactTextField.stories.tsx index 848b07a91..c9dd8a5f7 100644 --- a/packages/form/stories/CompactTextField.stories.tsx +++ b/packages/form/stories/CompactTextField.stories.tsx @@ -4,12 +4,9 @@ import { CompactTextField } from '../src'; export default { component: CompactTextField, - title: 'Legacy/Deprecated/Form/CompactTextField', + title: 'Legacy/Form/CompactTextField', description: 'A compact text field allows the user to provide values.', parameters: { - status: { - type: import.meta.env.STORYBOOK_PACKAGE_STATUS__FORM, - }, chromatic: { disableSnapshot: true }, }, argTypes: { diff --git a/packages/form/stories/FormField.stories.tsx b/packages/form/stories/FormField.stories.tsx index 5b0384285..a3146c123 100644 --- a/packages/form/stories/FormField.stories.tsx +++ b/packages/form/stories/FormField.stories.tsx @@ -4,13 +4,10 @@ import { FormField, TextField } from '../src'; export default { component: FormField, - title: 'Legacy/Deprecated/Form/FormField', + title: 'Legacy/Form/FormField', description: 'A FormField is an opinionated way to organize form field components like labels, errors, hints, and the field itself."', parameters: { - status: { - type: import.meta.env.STORYBOOK_PACKAGE_STATUS__FORM, - }, chromatic: { disableSnapshot: true }, }, argTypes: { diff --git a/packages/form/stories/FormGroup.stories.tsx b/packages/form/stories/FormGroup.stories.tsx index 6051d306a..f49b3ab0d 100644 --- a/packages/form/stories/FormGroup.stories.tsx +++ b/packages/form/stories/FormGroup.stories.tsx @@ -4,12 +4,9 @@ import { FormGroup, FormHint, Label, RequiredAsterisk, TextField } from '../src' export default { component: FormGroup, - title: 'Legacy/Deprecated/Form/FormGroup', + title: 'Legacy/Form/FormGroup', description: 'A group of form fields.', parameters: { - status: { - type: import.meta.env.STORYBOOK_PACKAGE_STATUS__FORM, - }, chromatic: { disableSnapshot: true }, }, argTypes: { diff --git a/packages/form/stories/IconField.stories.tsx b/packages/form/stories/IconField.stories.tsx index 716b44ec8..bb181c889 100644 --- a/packages/form/stories/IconField.stories.tsx +++ b/packages/form/stories/IconField.stories.tsx @@ -5,12 +5,9 @@ import { IconField, TextField } from '../src'; export default { component: IconField, - title: 'Legacy/Deprecated/Form/IconField', + title: 'Legacy/Form/IconField', description: 'An IconField renders an icon placed next to a passed field."', parameters: { - status: { - type: import.meta.env.STORYBOOK_PACKAGE_STATUS__FORM, - }, chromatic: { disableSnapshot: true }, }, }; diff --git a/packages/form/stories/Label.stories.tsx b/packages/form/stories/Label.stories.tsx index 1edad158a..f923a74cf 100644 --- a/packages/form/stories/Label.stories.tsx +++ b/packages/form/stories/Label.stories.tsx @@ -4,12 +4,9 @@ import { Label } from '../src'; export default { component: Label, - title: 'Legacy/Deprecated/Form/Label', + title: 'Legacy/Form/Label', description: 'A label describes a form field.', parameters: { - status: { - type: import.meta.env.STORYBOOK_PACKAGE_STATUS__FORM, - }, chromatic: { disableSnapshot: true }, }, argTypes: { diff --git a/packages/form/stories/Radio.stories.tsx b/packages/form/stories/Radio.stories.tsx index 8d763440b..a94c06a2c 100644 --- a/packages/form/stories/Radio.stories.tsx +++ b/packages/form/stories/Radio.stories.tsx @@ -4,12 +4,9 @@ import { Radio } from '../src'; export default { component: Radio, - title: 'Legacy/Deprecated/Form/Radio', + title: 'Legacy/Form/Radio', description: 'A radio button allows the user to select one of a set of options."', parameters: { - status: { - type: import.meta.env.STORYBOOK_PACKAGE_STATUS__FORM, - }, chromatic: { disableSnapshot: true }, }, }; diff --git a/packages/form/stories/RadioGroup.stories.tsx b/packages/form/stories/RadioGroup.stories.tsx index d861710bf..20207c6af 100644 --- a/packages/form/stories/RadioGroup.stories.tsx +++ b/packages/form/stories/RadioGroup.stories.tsx @@ -4,12 +4,9 @@ import { Label, Radio, RadioGroup } from '../src'; export default { component: RadioGroup, - title: 'Legacy/Deprecated/Form/RadioGroup', + title: 'Legacy/Form/RadioGroup', description: 'A radio button group allows the user to select one of a set of options.', parameters: { - status: { - type: import.meta.env.STORYBOOK_PACKAGE_STATUS__FORM, - }, chromatic: { disableSnapshot: true }, }, argTypes: { diff --git a/packages/form/stories/SelectField.stories.tsx b/packages/form/stories/SelectField.stories.tsx index dad660e90..9a5cae34f 100644 --- a/packages/form/stories/SelectField.stories.tsx +++ b/packages/form/stories/SelectField.stories.tsx @@ -4,12 +4,9 @@ import { SelectField } from '../src'; export default { component: SelectField, - title: 'Legacy/Deprecated/Form/SelectField', + title: 'Legacy/Form/SelectField', description: 'A select field allows the user to select a value from a set of options."', parameters: { - status: { - type: import.meta.env.STORYBOOK_PACKAGE_STATUS__FORM, - }, chromatic: { disableSnapshot: true }, }, argTypes: { diff --git a/packages/form/stories/TextArea.stories.tsx b/packages/form/stories/TextArea.stories.tsx index 118e44882..a482e7e96 100644 --- a/packages/form/stories/TextArea.stories.tsx +++ b/packages/form/stories/TextArea.stories.tsx @@ -38,7 +38,7 @@ const withRestingAndDisabledStates: Decorator = (story, context) => { export default { component: TextArea, - title: 'Legacy/Deprecated/Form/TextArea', + title: 'Legacy/Form/TextArea', description: 'A styled form textarea component', decorators: [ createWithClassesDecorator(testingChromaticClassNames, (args, originalStory, context) => { @@ -57,9 +57,6 @@ export default { withRestingAndDisabledStates, ], parameters: { - status: { - type: import.meta.env.STORYBOOK_PACKAGE_STATUS__FORM, - }, chromatic: { disableSnapshot: true }, }, argTypes: { diff --git a/packages/form/stories/TextField.stories.tsx b/packages/form/stories/TextField.stories.tsx index d228fee07..e93746ca1 100644 --- a/packages/form/stories/TextField.stories.tsx +++ b/packages/form/stories/TextField.stories.tsx @@ -37,7 +37,7 @@ const withRestingAndDisabledStates: Decorator = (story, context) => { export default { component: TextField, - title: 'Legacy/Deprecated/Form/TextField', + title: 'Legacy/Form/TextField', description: 'A text field allows the user to provide values."', decorators: [ createWithClassesDecorator(chromaticTestStyles, (args, storyFn, context) => { @@ -55,9 +55,6 @@ export default { withRestingAndDisabledStates, ], parameters: { - status: { - type: import.meta.env.STORYBOOK_PACKAGE_STATUS__FORM, - }, chromatic: { disableSnapshot: true }, }, argTypes: { diff --git a/packages/form/stories/useNumberField.stories.tsx b/packages/form/stories/useNumberField.stories.tsx index d9db2a45c..547a6c78f 100644 --- a/packages/form/stories/useNumberField.stories.tsx +++ b/packages/form/stories/useNumberField.stories.tsx @@ -28,12 +28,9 @@ const Demo = (props: Partial = {}) => { export default { component: Demo, - title: 'Legacy/Deprecated/Form/useNumberField', + title: 'Legacy/Form/useNumberField', description: 'A text field allows the user to provide numeric values.', parameters: { - status: { - type: import.meta.env.STORYBOOK_PACKAGE_STATUS__FORM, - }, chromatic: { disableSnapshot: true }, }, argTypes: { diff --git a/packages/icons/stories/BadgeIcon.stories.tsx b/packages/icons/stories/BadgeIcon.stories.tsx index 616461985..e039eb022 100644 --- a/packages/icons/stories/BadgeIcon.stories.tsx +++ b/packages/icons/stories/BadgeIcon.stories.tsx @@ -5,11 +5,6 @@ import { BadgeIcon, Icon } from '../src'; const meta: Meta = { component: BadgeIcon, title: 'Components/Icons/BadgeIcon', - parameters: { - status: { - type: import.meta.env.STORYBOOK_PACKAGE_STATUS__ICONS, - }, - }, }; export default meta; diff --git a/packages/icons/stories/Icon.stories.tsx b/packages/icons/stories/Icon.stories.tsx index c7336bbfb..83645b7f0 100644 --- a/packages/icons/stories/Icon.stories.tsx +++ b/packages/icons/stories/Icon.stories.tsx @@ -8,11 +8,6 @@ import { icons } from '../src/types'; const meta: Meta = { component: Icon, title: 'Components/Icons/Icon', - parameters: { - status: { - type: import.meta.env.STORYBOOK_PACKAGE_STATUS__ICONS, - }, - }, }; export default meta; diff --git a/packages/icons/stories/StatusIcon.stories.tsx b/packages/icons/stories/StatusIcon.stories.tsx index 4cfd0ade1..50e3fc7f2 100644 --- a/packages/icons/stories/StatusIcon.stories.tsx +++ b/packages/icons/stories/StatusIcon.stories.tsx @@ -4,13 +4,10 @@ import { StatusIcon } from '../src'; export default { component: StatusIcon, - title: 'Legacy/Deprecated/Icon/StatusIcon', + title: 'Legacy/Icon/StatusIcon', description: 'Flair icons can be used as either square or circular icons with gradient backgrounds.', parameters: { - status: { - type: import.meta.env.STORYBOOK_PACKAGE_STATUS__ICONS, - }, chromatic: { disableSnapshot: true }, }, }; diff --git a/packages/inline-edit/stories/InlineEdit.stories.tsx b/packages/inline-edit/stories/InlineEdit.stories.tsx index 5cb65cb1e..3109ce350 100644 --- a/packages/inline-edit/stories/InlineEdit.stories.tsx +++ b/packages/inline-edit/stories/InlineEdit.stories.tsx @@ -10,12 +10,9 @@ import { InlineEdit } from '../src'; export default { component: InlineEdit, - title: 'Legacy/Deprecated/InlineEdit', + title: 'Legacy/InlineEdit', description: 'An element used to display and allow inline editing of a form element value.', parameters: { - status: { - type: import.meta.env.STORYBOOK_PACKAGE_STATUS__INLINE_EDIT, - }, chromatic: { disableSnapshot: true }, }, }; diff --git a/packages/inline/src/Inline.tsx b/packages/inline/src/Inline.tsx index f334391aa..0a30833e4 100644 --- a/packages/inline/src/Inline.tsx +++ b/packages/inline/src/Inline.tsx @@ -14,6 +14,11 @@ type InlineProps = ComponentProps<'div'> & { children?: ReactNode; }; +/** + * @deprecated use `Box` instead + * + * https://launchpad.launchdarkly.com/?path=/docs/legacy-experimental-box--docs + */ const Inline = ({ children, 'data-test-id': testId = 'inline', diff --git a/packages/inline/stories/Inline.stories.tsx b/packages/inline/stories/Inline.stories.tsx index 68feb4588..85b26a1b9 100644 --- a/packages/inline/stories/Inline.stories.tsx +++ b/packages/inline/stories/Inline.stories.tsx @@ -5,12 +5,10 @@ import { Inline } from '../src'; export default { component: Inline, - title: 'Legacy/Sunset/Inline', + title: 'Legacy/Inline', description: 'An element used to add horizontal space between components.', parameters: { - status: { - type: import.meta.env.STORYBOOK_PACKAGE_STATUS__INLINE, - }, + chromatic: { disableSnapshot: true }, }, }; diff --git a/packages/markdown/src/Markdown.tsx b/packages/markdown/src/Markdown.tsx index dfcc371b6..47642b27d 100644 --- a/packages/markdown/src/Markdown.tsx +++ b/packages/markdown/src/Markdown.tsx @@ -30,6 +30,9 @@ type MarkdownProps = { children?: (renderedMarkdown: string) => ReactNode; }; +/** + * @deprecated + */ const Markdown = ({ source, className, diff --git a/packages/markdown/stories/Markdown.stories.tsx b/packages/markdown/stories/Markdown.stories.tsx index 6956c50a8..638049533 100644 --- a/packages/markdown/stories/Markdown.stories.tsx +++ b/packages/markdown/stories/Markdown.stories.tsx @@ -9,12 +9,10 @@ import { Markdown } from '../src'; export default { component: Markdown, - title: 'Legacy/Sunset/Markdown', + title: 'Legacy/Markdown', description: 'Render formatted plaintext.', parameters: { - status: { - type: import.meta.env.STORYBOOK_PACKAGE_STATUS__MARKDOWN, - }, + chromatic: { disableSnapshot: true }, }, argTypes: { className: { diff --git a/packages/menu/stories/Menu.stories.tsx b/packages/menu/stories/Menu.stories.tsx index bb1c9ce60..80ab4d05c 100644 --- a/packages/menu/stories/Menu.stories.tsx +++ b/packages/menu/stories/Menu.stories.tsx @@ -10,12 +10,9 @@ import './Menu.stories.css'; export default { component: Menu, subcomponents: { MenuDivider, MenuItem, MenuSearch }, - title: 'Legacy/Deprecated/Menu', + title: 'Legacy/Menu', description: 'Menus present a list of items a user can choose from.', parameters: { - status: { - type: import.meta.env.STORYBOOK_PACKAGE_STATUS__MENU, - }, chromatic: { disableSnapshot: true }, }, }; diff --git a/packages/modal/stories/Modal.stories.tsx b/packages/modal/stories/Modal.stories.tsx index 4b0737376..a029a95e6 100644 --- a/packages/modal/stories/Modal.stories.tsx +++ b/packages/modal/stories/Modal.stories.tsx @@ -13,12 +13,9 @@ import { AbsoluteModalFooter, Modal, ModalBody, ModalFooter, ModalHeader } from export default { component: Modal, - title: 'Legacy/Deprecated/Modal', + title: 'Legacy/Modal', description: 'Modals presents users information and actions over a page.', parameters: { - status: { - type: import.meta.env.STORYBOOK_PACKAGE_STATUS__MODAL, - }, controls: { sort: 'requiredFirst' }, chromatic: { disableSnapshot: true }, }, diff --git a/packages/navigation/src/Navigation.tsx b/packages/navigation/src/Navigation.tsx index cc1b163f5..25692cb5a 100644 --- a/packages/navigation/src/Navigation.tsx +++ b/packages/navigation/src/Navigation.tsx @@ -21,6 +21,11 @@ type NavigationState = { collapsed: boolean; }; +/** + * @deprecated use `Tabs` from `@launchpad-ui/components` instead + * + * https://launchpad.launchdarkly.com/?path=/docs/components-navigation-tabs--docs + */ const Navigation = (props: NavigationProps) => { const { children, className, 'data-test-id': testId = 'navigation' } = props; const wrapperRef = useRef(null); diff --git a/packages/navigation/src/NavigationItem.tsx b/packages/navigation/src/NavigationItem.tsx index ab2aca9d5..5d67a6cbb 100644 --- a/packages/navigation/src/NavigationItem.tsx +++ b/packages/navigation/src/NavigationItem.tsx @@ -15,6 +15,11 @@ type NavigationItemProps = Omit & onClick?(e: MouseEvent, state: { collapsed: boolean }): void; }; +/** + * @deprecated use `Tabs` from `@launchpad-ui/components` instead + * + * https://launchpad.launchdarkly.com/?path=/docs/components-navigation-tabs--docs + */ const NavigationItem = (_props: NavigationItemProps) => { return null; }; diff --git a/packages/navigation/stories/Navigation.stories.tsx b/packages/navigation/stories/Navigation.stories.tsx index ffca2e9ff..ab2974022 100644 --- a/packages/navigation/stories/Navigation.stories.tsx +++ b/packages/navigation/stories/Navigation.stories.tsx @@ -7,12 +7,10 @@ import { Navigation, NavigationItem } from '../src'; export default { component: Navigation, subcomponents: { NavigationItem }, - title: 'Legacy/Sunset/Navigation', + title: 'Legacy/Navigation', description: 'An element used to provide navigation links to help users move through an app.', parameters: { - status: { - type: import.meta.env.STORYBOOK_PACKAGE_STATUS__NAVIGATION, - }, + chromatic: { disableSnapshot: true }, }, argTypes: { kind: { diff --git a/packages/pagination/src/Pagination.tsx b/packages/pagination/src/Pagination.tsx index c9a67d0e3..02a8f6ba2 100644 --- a/packages/pagination/src/Pagination.tsx +++ b/packages/pagination/src/Pagination.tsx @@ -21,6 +21,11 @@ type PaginationProps = ComponentProps<'nav'> & { 'data-test-id'?: string; }; +/** + * @deprecated follow the recipe from `@launchpad-ui/components` instead + * + * https://launchpad.launchdarkly.com/?path=/docs/recipes-pagination--docs + */ const Pagination = ({ className, resourceName, diff --git a/packages/pagination/stories/Pagination.stories.tsx b/packages/pagination/stories/Pagination.stories.tsx index a9710407f..08144864a 100644 --- a/packages/pagination/stories/Pagination.stories.tsx +++ b/packages/pagination/stories/Pagination.stories.tsx @@ -4,12 +4,10 @@ import { Pagination } from '../src'; export default { component: Pagination, - title: 'Legacy/Sunset/Pagination', + title: 'Legacy/Pagination', description: 'Navigate through a paged list.', parameters: { - status: { - type: import.meta.env.STORYBOOK_PACKAGE_STATUS__PAGINATION, - }, + chromatic: { disableSnapshot: true }, }, }; diff --git a/packages/popover/stories/Popover.stories.tsx b/packages/popover/stories/Popover.stories.tsx index bee75f349..e92686711 100644 --- a/packages/popover/stories/Popover.stories.tsx +++ b/packages/popover/stories/Popover.stories.tsx @@ -7,12 +7,9 @@ import { Popover } from '../src'; export default { component: Popover, - title: 'Legacy/Deprecated/Popover', + title: 'Legacy/Popover', description: 'Popovers display content within a portal triggered by user interactions.', parameters: { - status: { - type: import.meta.env.STORYBOOK_PACKAGE_STATUS__POPOVER, - }, chromatic: { disableSnapshot: true }, }, argTypes: { diff --git a/packages/progress-bubbles/src/ProgressBubbles.tsx b/packages/progress-bubbles/src/ProgressBubbles.tsx index ec3bc3161..85feb66df 100644 --- a/packages/progress-bubbles/src/ProgressBubbles.tsx +++ b/packages/progress-bubbles/src/ProgressBubbles.tsx @@ -31,6 +31,9 @@ type ProgressBubblesProps = { 'data-test-id'?: string; }; +/** + * @deprecated + */ const ProgressBubbles = ({ className, vertical, diff --git a/packages/progress-bubbles/stories/ProgressBubbles.stories.tsx b/packages/progress-bubbles/stories/ProgressBubbles.stories.tsx index 6926ab17c..b69456f40 100644 --- a/packages/progress-bubbles/stories/ProgressBubbles.stories.tsx +++ b/packages/progress-bubbles/stories/ProgressBubbles.stories.tsx @@ -7,12 +7,10 @@ import { ProgressBubbles } from '../src'; export default { component: ProgressBubbles, - title: 'Legacy/Sunset/ProgressBubbles', + title: 'Legacy/ProgressBubbles', description: 'Shows current progress through a multistep flow.', parameters: { - status: { - type: import.meta.env.STORYBOOK_PACKAGE_STATUS__PROGRESS_BUBBLES, - }, + chromatic: { disableSnapshot: true }, }, }; diff --git a/packages/progress/stories/Progress.stories.tsx b/packages/progress/stories/Progress.stories.tsx index 684baa8c1..6db621ef3 100644 --- a/packages/progress/stories/Progress.stories.tsx +++ b/packages/progress/stories/Progress.stories.tsx @@ -4,12 +4,9 @@ import { Progress } from '../src'; export default { component: Progress, - title: 'Legacy/Deprecated/Progress', + title: 'Legacy/Progress', description: 'Progress indicates a page or content is loading.', parameters: { - status: { - type: import.meta.env.STORYBOOK_PACKAGE_STATUS__PROGRESS, - }, chromatic: { disableSnapshot: true }, }, argTypes: { diff --git a/packages/stack/src/Stack.tsx b/packages/stack/src/Stack.tsx index f37183b6c..b0176c9c4 100644 --- a/packages/stack/src/Stack.tsx +++ b/packages/stack/src/Stack.tsx @@ -13,6 +13,11 @@ type StackProps = ComponentProps<'div'> & { children: ReactNode; }; +/** + * @deprecated use `Box` instead + * + * https://launchpad.launchdarkly.com/?path=/docs/legacy-experimental-box--docs + */ const Stack = ({ children, className, diff --git a/packages/stack/stories/Stack.stories.tsx b/packages/stack/stories/Stack.stories.tsx index 955eda1fd..96836fbd3 100644 --- a/packages/stack/stories/Stack.stories.tsx +++ b/packages/stack/stories/Stack.stories.tsx @@ -5,12 +5,10 @@ import { Stack } from '../src'; export default { component: Stack, - title: 'Legacy/Sunset/Stack', + title: 'Legacy/Stack', description: 'An element used to add space between components.', parameters: { - status: { - type: import.meta.env.STORYBOOK_PACKAGE_STATUS__STACK, - }, + chromatic: { disableSnapshot: true }, }, }; diff --git a/packages/tab-list/stories/TabList.stories.tsx b/packages/tab-list/stories/TabList.stories.tsx index bdba3ede7..1fd8de526 100644 --- a/packages/tab-list/stories/TabList.stories.tsx +++ b/packages/tab-list/stories/TabList.stories.tsx @@ -7,12 +7,9 @@ import { TabList } from '../src'; export default { component: TabList, - title: 'Legacy/Deprecated/TabList', + title: 'Legacy/TabList', description: 'TabList navigates between related sections of content on the same page.', parameters: { - status: { - type: import.meta.env.STORYBOOK_PACKAGE_STATUS__TAB_LIST, - }, chromatic: { disableSnapshot: true }, }, }; diff --git a/packages/table/stories/Table.stories.tsx b/packages/table/stories/Table.stories.tsx index 8551f64f7..a359ad26f 100644 --- a/packages/table/stories/Table.stories.tsx +++ b/packages/table/stories/Table.stories.tsx @@ -5,12 +5,9 @@ import { Table, TableBody, TableCell, TableHead, TableHeadCell, TableRow } from export default { component: Table, subcomponents: { TableBody, TableCell, TableHead, TableHeadCell, TableRow }, - title: 'Legacy/Deprecated/Table', + title: 'Legacy/Table', description: 'An element used to organize and display data to users.', parameters: { - status: { - type: import.meta.env.STORYBOOK_PACKAGE_STATUS__TABLE, - }, chromatic: { disableSnapshot: true }, }, }; diff --git a/packages/tag/stories/Tag.stories.tsx b/packages/tag/stories/Tag.stories.tsx index 68d852a04..af32c66f0 100644 --- a/packages/tag/stories/Tag.stories.tsx +++ b/packages/tag/stories/Tag.stories.tsx @@ -9,13 +9,10 @@ import { TagGroup, TagItem } from '../src'; export default { component: TagGroup, - title: 'Legacy/Deprecated/TagGroup', + title: 'Legacy/TagGroup', description: 'Tags allow users to categorize content. They can represent keywords or people, and are grouped to describe an item or a search request.', parameters: { - status: { - type: import.meta.env.STORYBOOK_PACKAGE_STATUS__TAG, - }, chromatic: { disableSnapshot: true }, }, }; diff --git a/packages/tooltip/stories/Tooltip.stories.tsx b/packages/tooltip/stories/Tooltip.stories.tsx index 3848334f5..98417c7b5 100644 --- a/packages/tooltip/stories/Tooltip.stories.tsx +++ b/packages/tooltip/stories/Tooltip.stories.tsx @@ -7,12 +7,9 @@ import { Tooltip } from '../src'; export default { component: Tooltip, - title: 'Legacy/Deprecated/Tooltip', + title: 'Legacy/Tooltip', description: 'Tooltips provide additional information on hover or focus.', parameters: { - status: { - type: import.meta.env.STORYBOOK_PACKAGE_STATUS__TOOLTIP, - }, chromatic: { disableSnapshot: true }, }, argTypes: { diff --git a/packages/vars/stories/vars.stories.tsx b/packages/vars/stories/vars.stories.tsx index b2373a0c9..a2ab998a4 100644 --- a/packages/vars/stories/vars.stories.tsx +++ b/packages/vars/stories/vars.stories.tsx @@ -4,11 +4,6 @@ import { container, local } from './Story.css'; export default { title: 'Tokens/Vars', - parameters: { - status: { - type: import.meta.env.STORYBOOK_PACKAGE_STATUS__VARS, - }, - }, }; type Story = StoryObj; diff --git a/renovate.json b/renovate.json index 39918f139..993087461 100644 --- a/renovate.json +++ b/renovate.json @@ -23,5 +23,10 @@ } ], "rangeStrategy": "bump", - "ignoreDeps": ["react-router", "@biomejs/biome", "nx"] + "ignoreDeps": [ + "react-router", + "@biomejs/biome", + "nx", + "@joshwooding/vite-plugin-react-docgen-typescript" + ] }