Skip to content

Commit

Permalink
[NO-TICKET] Rename web component stories (#3085)
Browse files Browse the repository at this point in the history
* Rename the web component stories to match the element name and differentiate from React

* Rename storybook-doc snapshot files

* Rename all the VRT snapshot files

* I missed these files

* There's another hyphen in `ds-skip-nav`

* Remove random Pixelmator Pro file

* These were supposed to be excluded
  • Loading branch information
pwolfert authored May 15, 2024
1 parent 0c032e9 commit 0399520
Show file tree
Hide file tree
Showing 453 changed files with 17 additions and 17 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import { action } from '@storybook/addon-actions';
import './ds-accordion-item';

export default {
title: 'Web Components/AccordionItem',
title: 'Web Components/ds-accordion-item',
argTypes: {
children: {
table: {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import './ds-accordion';
import './ds-accordion-item';

export default {
title: 'Web Components/Accordion',
title: 'Web Components/ds-accordion',
argTypes: {
children: {
table: {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { webComponentDecorator } from '../storybook';
import './ds-alert';

export default {
title: 'Web Components/Alert',
title: 'Web Components/ds-alert',
argTypes: {
children: {
table: {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { webComponentDecorator } from '../storybook';
import './ds-badge';

export default {
title: 'Web Components/Badge',
title: 'Web Components/ds-badge',
argTypes: {
children: {
table: {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import './ds-button';
import { webComponentDecorator } from '../storybook';

export default {
title: 'Web Components/Button',
title: 'Web Components/ds-button',
argTypes: {
'class-name': {
description: 'Additional classes to be added to the root button element.',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ const choices = [
];

export default {
title: 'Web Components/ChoiceList',
title: 'Web Components/ds-choice-list',
argTypes: {
children: { control: false },
choices: {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import '../ds-alert';
import { webComponentDecorator } from '../storybook';

export default {
title: 'Web Components/Choice',
title: 'Web Components/ds-choice',
argTypes: {
'default-checked': {
description:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ const options = [
];

export default {
title: 'Web Components/Dropdown',
title: 'Web Components/ds-dropdown',
argTypes: {
autofocus: {
description: 'Sets the focus on the dropdown when it is first added to the document.',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { webComponentDecorator } from '../storybook';
import './ds-hint';

export default {
title: 'Web Components/Hint',
title: 'Web Components/ds-hint',
argTypes: {
'text content': {
control: 'text',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { webComponentDecorator } from '../storybook';
import './ds-inline-error';

export default {
title: 'Web Components/InlineError',
title: 'Web Components/ds-inline-error',
argTypes: {
'text content': {
control: 'text',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { webComponentDecorator } from '../storybook';
import './ds-label';

export default {
title: 'Web Components/Label',
title: 'Web Components/ds-label',
argTypes: {
'text content': {
control: 'text',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ const elements = (
);

export default {
title: 'Web Components/Month Picker',
title: 'Web Components/ds-month-picker',
argTypes: {
children: { control: false },
'button-variation': {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import { useArgs } from '@storybook/preview-api';
import './ds-pagination';

export default {
title: 'Web Components/Pagination',
title: 'Web Components/ds-pagination',
argTypes: {
'class-name': {
description: 'Additional classes to be added to the root element. Optional.',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { webComponentDecorator } from '../storybook';
import './ds-skip-nav';

export default {
title: 'Web Components/SkipNav',
title: 'Web Components/ds-skip-nav',
argTypes: {
'text content': {
control: 'text',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { webComponentDecorator } from '../storybook';
import './ds-spinner';

export default {
title: 'Web Components/Spinner',
title: 'Web Components/ds-spinner',
argTypes: {
'aria-valuetext': {
control: 'text',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { webComponentDecorator } from '../storybook';
import './ds-usa-banner';

export default {
title: 'Web Components/UsaBanner',
title: 'Web Components/ds-usa-banner',
argTypes: {
'root-id': {
description:
Expand Down
Loading

0 comments on commit 0399520

Please sign in to comment.