Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -33,10 +33,6 @@ const meta: Meta< typeof AlignmentMatrixControl > = {
parameters: {
controls: { expanded: true },
docs: { canvas: { sourceState: 'shown' } },
componentStatus: {
status: 'recommended',
whereUsed: 'editor',
},
},
};
export default meta;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,10 +29,6 @@ const meta: Meta< typeof AnglePickerControl > = {
expanded: true,
},
docs: { canvas: { sourceState: 'shown' } },
componentStatus: {
status: 'recommended',
whereUsed: 'editor',
},
},
};

Expand Down
5 changes: 0 additions & 5 deletions packages/components/src/animate/stories/index.story.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,6 @@ const meta: Meta< typeof Animate > = {
parameters: {
controls: { expanded: true },
docs: { canvas: { sourceState: 'shown' } },
componentStatus: {
status: 'not-recommended',
whereUsed: 'global',
notes: 'Planned for deprecation.',
},
},
};
export default meta;
Expand Down
7 changes: 0 additions & 7 deletions packages/components/src/badge/stories/index.story.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,6 @@ const meta: Meta< typeof Badge > = {
title: 'Components/Containers/Badge',
id: 'components-badge',
tags: [ 'status-private' ],
parameters: {
componentStatus: {
status: 'use-with-caution',
whereUsed: 'global',
notes: 'Will be superseded by `Badge` in `@wordpress/ui`, but continue using for now.',
},
},
};

export default meta;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,11 +25,6 @@ const meta: Meta< typeof BaseControl > = {
parameters: {
controls: { expanded: true },
docs: { canvas: { sourceState: 'shown' } },
componentStatus: {
status: 'recommended',
whereUsed: 'global',
notes: 'Will be superseded by `Field` in `@wordpress/ui`, but continue using for now.',
},
},
};
export default meta;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,6 @@ const meta: Meta< typeof BorderBoxControl > = {
parameters: {
controls: { expanded: true },
docs: { canvas: { sourceState: 'shown' } },
componentStatus: {
status: 'recommended',
whereUsed: 'editor',
},
},
};
export default meta;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,6 @@ const meta: Meta< typeof BorderControl > = {
parameters: {
controls: { expanded: true },
docs: { canvas: { sourceState: 'shown' } },
componentStatus: {
status: 'recommended',
whereUsed: 'editor',
},
},
};
export default meta;
Expand Down
5 changes: 0 additions & 5 deletions packages/components/src/box-control/stories/index.story.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -26,11 +26,6 @@ const meta: Meta< typeof BoxControl > = {
parameters: {
controls: { expanded: true },
docs: { canvas: { sourceState: 'shown' } },
componentStatus: {
status: 'use-with-caution',
whereUsed: 'editor',
notes: 'This component is a fallback for themes that do not supply spacing presets. Most of the time `SpacingSizesControl` from `@wordpress/block-editor` is used instead.',
},
},
};
export default meta;
Expand Down
5 changes: 0 additions & 5 deletions packages/components/src/button/stories/index.story.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -52,11 +52,6 @@ const meta: Meta< typeof Button > = {
parameters: {
controls: { expanded: true },
docs: { canvas: { sourceState: 'shown' } },
componentStatus: {
status: 'recommended',
whereUsed: 'global',
notes: 'Will be superseded by `Button` in `@wordpress/ui`, but continue using for now.',
},
},
};
export default meta;
Expand Down
5 changes: 0 additions & 5 deletions packages/components/src/card/stories/index.story.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -29,11 +29,6 @@ const meta: Meta< typeof Card > = {
expanded: true,
},
docs: { canvas: { sourceState: 'shown' } },
componentStatus: {
status: 'not-recommended',
whereUsed: 'global',
notes: 'Use `Card` or `CollapsibleCard` from `@wordpress/ui` instead.',
},
},
};

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,11 +35,6 @@ const meta: Meta< typeof CheckboxControl > = {
exclude: [ 'heading' ],
},
docs: { canvas: { sourceState: 'shown' } },
componentStatus: {
status: 'recommended',
whereUsed: 'global',
notes: 'Will be superseded by `CheckboxControl` in `@wordpress/ui`, but continue using for now.',
},
},
};
export default meta;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,11 +38,6 @@ const meta: Meta< typeof CircularOptionPicker > = {
canvas: { sourceState: 'shown' },
source: { excludeDecorators: true },
},
componentStatus: {
status: 'use-with-caution',
whereUsed: 'global',
notes: 'Mostly intended for internal use.',
},
},
decorators: [
// Share current color state between main component, `actions` and `options`
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,6 @@ const meta: Meta< typeof ColorIndicator > = {
expanded: true,
},
docs: { canvas: { sourceState: 'shown' } },
componentStatus: {
status: 'recommended',
whereUsed: 'global',
},
},
};
export default meta;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,6 @@ const meta: Meta< typeof ColorPalette > = {
parameters: {
controls: { expanded: true },
docs: { canvas: { sourceState: 'shown' } },
componentStatus: {
status: 'recommended',
whereUsed: 'global',
},
},
};
export default meta;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,6 @@ const meta: Meta< typeof ColorPicker > = {
expanded: true,
},
docs: { canvas: { sourceState: 'shown' } },
componentStatus: {
status: 'recommended',
whereUsed: 'global',
},
},
};
export default meta;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -49,11 +49,6 @@ const meta: Meta< typeof ComboboxControl > = {
parameters: {
controls: { expanded: true },
docs: { canvas: { sourceState: 'shown' } },
componentStatus: {
status: 'recommended',
whereUsed: 'global',
notes: 'Will be superseded by `SearchableSelectControl` in `@wordpress/ui`, but continue using for now.',
},
},
};
export default meta;
Expand Down
4 changes: 0 additions & 4 deletions packages/components/src/composite/stories/index.story.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -48,10 +48,6 @@ const meta: Meta< typeof Composite > = {
docs: {
canvas: { sourceState: 'shown' },
},
componentStatus: {
status: 'recommended',
whereUsed: 'global',
},
},
decorators: [
( Story ) => {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,10 +33,6 @@ const meta: Meta< typeof ConfirmDialog > = {
controls: {
expanded: true,
},
componentStatus: {
status: 'recommended',
whereUsed: 'global',
},
docs: { canvas: { sourceState: 'shown' } },
},
};
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,6 @@ const meta: Meta< typeof CustomGradientPicker > = {
parameters: {
controls: { expanded: true },
docs: { canvas: { sourceState: 'shown' } },
componentStatus: {
status: 'not-recommended',
whereUsed: 'global',
notes: 'Mostly an internal component. Use `GradientPicker` instead.',
},
},
};
export default meta;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,11 +31,6 @@ const meta: Meta< typeof CustomSelectControlV2 > = {
docs: {
source: { excludeDecorators: true },
},
componentStatus: {
status: 'not-recommended',
whereUsed: 'global',
notes: 'Will be superseded by `SelectControl` in `@wordpress/ui`. Continue using `CustomSelectControl` (v1) for now.',
},
},
decorators: [
( Story ) => (
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,11 +31,6 @@ const meta: Meta< typeof CustomSelectControl > = {
docs: {
source: { excludeDecorators: true },
},
componentStatus: {
status: 'recommended',
whereUsed: 'global',
notes: 'Will be superseded by `SelectControl` in `@wordpress/ui`, but continue using for now.',
},
},
decorators: [
( Story ) => (
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,11 +25,6 @@ const meta: Meta< typeof DateTimePicker > = {
parameters: {
controls: { expanded: true },
docs: { canvas: { sourceState: 'shown' } },
componentStatus: {
status: 'use-with-caution',
whereUsed: 'global',
notes: 'Consider using a `TextControl` with `type="date"` or `type="datetime-local"` instead.',
},
},
};
export default meta;
Expand Down
5 changes: 0 additions & 5 deletions packages/components/src/date-time/stories/date.story.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -25,11 +25,6 @@ const meta: Meta< typeof DatePicker > = {
parameters: {
controls: { expanded: true },
docs: { canvas: { sourceState: 'shown' } },
componentStatus: {
status: 'use-with-caution',
whereUsed: 'global',
notes: 'Consider using a `TextControl` with `type="date"` or `type="datetime-local"` instead.',
},
},
};
export default meta;
Expand Down
5 changes: 0 additions & 5 deletions packages/components/src/date-time/stories/time.story.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -25,11 +25,6 @@ const meta: Meta< typeof TimePicker > = {
parameters: {
controls: { expanded: true },
docs: { canvas: { sourceState: 'shown' } },
componentStatus: {
status: 'use-with-caution',
whereUsed: 'global',
notes: 'Consider using a `TextControl` with `type="date"` or `type="datetime-local"` instead.',
},
},
};
export default meta;
Expand Down
4 changes: 0 additions & 4 deletions packages/components/src/disabled/stories/index.story.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -31,10 +31,6 @@ const meta: Meta< typeof Disabled > = {
expanded: true,
},
docs: { canvas: { sourceState: 'shown' } },
componentStatus: {
status: 'recommended',
whereUsed: 'global',
},
},
};

Expand Down
5 changes: 0 additions & 5 deletions packages/components/src/divider/stories/index.story.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -36,11 +36,6 @@ const meta: Meta< typeof Divider > = {
parameters: {
controls: { expanded: true },
docs: { canvas: { sourceState: 'shown' } },
componentStatus: {
status: 'not-recommended',
whereUsed: 'global',
notes: 'Planned for deprecation.',
},
},
};
export default meta;
Expand Down
5 changes: 0 additions & 5 deletions packages/components/src/draggable/stories/index.story.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -39,11 +39,6 @@ const meta: Meta< typeof Draggable > = {
// clone's `position: fixed` resolution.
story: { inline: false, height: '250px' },
},
componentStatus: {
status: 'use-with-caution',
whereUsed: 'global',
notes: 'May be deprecated.',
},
},
};
export default meta;
Expand Down
4 changes: 0 additions & 4 deletions packages/components/src/drop-zone/stories/index.story.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -36,10 +36,6 @@ const meta: Meta< typeof DropZone > = {
parameters: {
controls: { expanded: true },
docs: { canvas: { sourceState: 'shown' } },
componentStatus: {
status: 'recommended',
whereUsed: 'global',
},
},
};
export default meta;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,11 +30,6 @@ const meta: Meta< typeof DropdownMenu > = {
parameters: {
controls: { expanded: true },
docs: { canvas: { sourceState: 'shown' } },
componentStatus: {
status: 'use-with-caution',
whereUsed: 'global',
notes: 'When building for the Gutenberg repo, use `Menu` instead. Otherwise, continue using for now.',
},
},
args: {
onToggle: fn(),
Expand Down
4 changes: 0 additions & 4 deletions packages/components/src/dropdown/stories/index.story.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -42,10 +42,6 @@ const meta: Meta< typeof Dropdown > = {
controls: {
expanded: true,
},
componentStatus: {
status: 'recommended',
whereUsed: 'global',
},
},
};
export default meta;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,6 @@ const meta: Meta< typeof DuotonePicker > = {
parameters: {
controls: { expanded: true },
docs: { canvas: { sourceState: 'shown' } },
componentStatus: {
status: 'recommended',
whereUsed: 'editor',
},
},
};
export default meta;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,6 @@ const meta: Meta< typeof DuotoneSwatch > = {
parameters: {
controls: { expanded: true },
docs: { canvas: { sourceState: 'shown' } },
componentStatus: {
status: 'recommended',
whereUsed: 'editor',
},
},
};
export default meta;
Expand Down
5 changes: 0 additions & 5 deletions packages/components/src/elevation/stories/index.story.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,6 @@ const meta: Meta< typeof Elevation > = {
expanded: true,
},
docs: { canvas: { sourceState: 'shown' } },
componentStatus: {
status: 'not-recommended',
whereUsed: 'global',
notes: 'Planned for deprecation. Use [elevation tokens](?path=/docs/foundations-design-language-elevation--page) from `@wordpress/base-styles` instead.',
},
},
};
export default meta;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,6 @@ const meta: Meta< typeof ExternalLink > = {
expanded: true,
},
docs: { canvas: { sourceState: 'shown' } },
componentStatus: {
status: 'not-recommended',
whereUsed: 'global',
notes: 'Use `Link` from `@wordpress/ui` instead, with the `openInNewTab` prop set.',
},
},
};
export default meta;
Expand Down
Loading
Loading