diff --git a/.github/workflows/build-chromatic.yml b/.github/workflows/build-chromatic.yml index 385cb5a0b0..952ef7be4c 100644 --- a/.github/workflows/build-chromatic.yml +++ b/.github/workflows/build-chromatic.yml @@ -6,9 +6,11 @@ on: - release paths: - 'app/client/packages/design-system/**' + - 'app/client/packages/storybook/**' pull_request: paths: - 'app/client/packages/design-system/**' + - 'app/client/packages/storybook/**' jobs: chromatic-deployment: diff --git a/.github/workflows/build-storybook.yml b/.github/workflows/build-storybook.yml index c4aa2e6cfc..eeb1f1fdfa 100644 --- a/.github/workflows/build-storybook.yml +++ b/.github/workflows/build-storybook.yml @@ -6,9 +6,11 @@ on: - release paths: - 'app/client/packages/design-system/**' + - 'app/client/packages/storybook/**' pull_request: paths: - 'app/client/packages/design-system/**' + - 'app/client/packages/storybook/**' jobs: chromatic-deployment: diff --git a/app/client/packages/storybook/stories/design-system/widgets/Switch.stories.mdx b/app/client/packages/storybook/stories/design-system/widgets/Switch.stories.mdx index 58e9fdc2e6..e22ef4b5b2 100644 --- a/app/client/packages/storybook/stories/design-system/widgets/Switch.stories.mdx +++ b/app/client/packages/storybook/stories/design-system/widgets/Switch.stories.mdx @@ -21,72 +21,74 @@ Switch is a component that allows the user to select one or more options from a {Template.bind({})} + + ### States - - - {Template.bind({})} - - - {Template.bind({})} - - - {Template.bind({})} - - - {Template.bind({})} - - + + {Template.bind({})} + + + + {Template.bind({})} + + + + {Template.bind({})} + + + + {Template.bind({})} + ### Label Position - - - {Template.bind({})} - - - {Template.bind({})} - - + + {Template.bind({})} + + + + {Template.bind({})} + diff --git a/app/client/packages/storybook/stories/design-system/widgets/SwitchGroup.stories.mdx b/app/client/packages/storybook/stories/design-system/widgets/SwitchGroup.stories.mdx index b8a61c0f25..9eb3cc6c8b 100644 --- a/app/client/packages/storybook/stories/design-system/widgets/SwitchGroup.stories.mdx +++ b/app/client/packages/storybook/stories/design-system/widgets/SwitchGroup.stories.mdx @@ -31,89 +31,78 @@ Switch Group is a group of checkboxes that can be selected together. # Orientation - - - {Template.bind({})} - - - {Template.bind({})} - - + + {Template.bind({})} + + + + {Template.bind({})} + # Emphasized - - - {Template.bind({})} - - + + {Template.bind({})} + # Label Position and Alignment - - - {Template.bind({})} - - + + {Template.bind({})} + # Is Disabled - - - {Template.bind({})} - - + + {Template.bind({})} + # Is Required - - - {Template.bind({})} - - + + {Template.bind({})} + # Invalid State - - - {Template.bind({})} - - + + {Template.bind({})} +