diff --git a/.storybook/test-runner.js b/.storybook/test-runner.js index a64857c2a..a883233d7 100644 --- a/.storybook/test-runner.js +++ b/.storybook/test-runner.js @@ -23,9 +23,9 @@ module.exports = { axeOptions: { rules: { // TODO: enable this rule again once all color contrast issues are fixed - "color-contrast": { - enabled: false - } + 'color-contrast': { + enabled: false, + }, }, }, detailedReport: true, diff --git a/scss/bitstyles/atoms/dropdown/dropdown.stories.js b/scss/bitstyles/atoms/dropdown/dropdown.stories.js index 82a63d641..60543cb13 100644 --- a/scss/bitstyles/atoms/dropdown/dropdown.stories.js +++ b/scss/bitstyles/atoms/dropdown/dropdown.stories.js @@ -62,7 +62,7 @@ const menu = ` colorVariant: ['transparent'], shapeVariant: ['menu'], children: 'Settings', - element: 'a', + classname: ['u-width-full'], }).outerHTML } @@ -72,7 +72,7 @@ const menu = ` colorVariant: ['transparent'], shapeVariant: ['menu'], children: 'Help', - element: 'a', + classname: ['u-width-full'], }).outerHTML } @@ -82,7 +82,7 @@ const menu = ` colorVariant: ['transparent'], shapeVariant: ['menu'], children: 'Privacy', - element: 'a', + classname: ['u-width-full'], }).outerHTML } @@ -92,7 +92,7 @@ const menu = ` colorVariant: ['transparent'], shapeVariant: ['menu'], children: 'Sign out', - element: 'a', + classname: ['u-width-full'], }).outerHTML } diff --git a/scss/bitstyles/base/forms/forms.stories.mdx b/scss/bitstyles/base/forms/forms.stories.mdx index 455a6696e..2e939c522 100644 --- a/scss/bitstyles/base/forms/forms.stories.mdx +++ b/scss/bitstyles/base/forms/forms.stories.mdx @@ -143,7 +143,7 @@ This includes all standard `type="text"` inputs, plus all the text-based inputs {` - diff --git a/scss/bitstyles/base/forms/inputs.stories.mdx b/scss/bitstyles/base/forms/inputs.stories.mdx index 1e7ed2bb3..04c4a290d 100644 --- a/scss/bitstyles/base/forms/inputs.stories.mdx +++ b/scss/bitstyles/base/forms/inputs.stories.mdx @@ -32,12 +32,12 @@ import { Canvas, Meta, Story } from '@storybook/addon-docs'; {` - + `} {` - + `} @@ -47,12 +47,12 @@ import { Canvas, Meta, Story } from '@storybook/addon-docs'; {` - + `} {` - + `} @@ -62,12 +62,12 @@ import { Canvas, Meta, Story } from '@storybook/addon-docs'; {` - + `} {` - + `} @@ -77,12 +77,12 @@ import { Canvas, Meta, Story } from '@storybook/addon-docs'; {` - + `} {` - + `} @@ -107,12 +107,12 @@ import { Canvas, Meta, Story } from '@storybook/addon-docs'; {` - + `} {` - + `} @@ -122,12 +122,12 @@ import { Canvas, Meta, Story } from '@storybook/addon-docs'; {` - + `} {` - + `} @@ -137,12 +137,12 @@ import { Canvas, Meta, Story } from '@storybook/addon-docs'; {` - + `} {` - + `} @@ -167,12 +167,12 @@ import { Canvas, Meta, Story } from '@storybook/addon-docs'; {` - + `} {` - + `} @@ -197,12 +197,12 @@ import { Canvas, Meta, Story } from '@storybook/addon-docs'; {` - + `} {` - + `} @@ -212,12 +212,12 @@ import { Canvas, Meta, Story } from '@storybook/addon-docs'; {` - + `} {` - + `} @@ -227,12 +227,12 @@ import { Canvas, Meta, Story } from '@storybook/addon-docs'; {` - + `} {` - + `} diff --git a/scss/bitstyles/base/input-checkbox/input-checkbox.stories.mdx b/scss/bitstyles/base/input-checkbox/input-checkbox.stories.mdx index e941b8d7c..ebd6744b0 100644 --- a/scss/bitstyles/base/input-checkbox/input-checkbox.stories.mdx +++ b/scss/bitstyles/base/input-checkbox/input-checkbox.stories.mdx @@ -7,22 +7,22 @@ import { Canvas, Meta, Story } from '@storybook/addon-docs'; {` - + `} {` - + `} {` - + `} {` - + `} diff --git a/scss/bitstyles/base/input-radio/input-radio.stories.mdx b/scss/bitstyles/base/input-radio/input-radio.stories.mdx index fa9b1855e..0dbdd781b 100644 --- a/scss/bitstyles/base/input-radio/input-radio.stories.mdx +++ b/scss/bitstyles/base/input-radio/input-radio.stories.mdx @@ -7,22 +7,22 @@ import { Canvas, Meta, Story } from '@storybook/addon-docs'; {` - + `} {` - + `} {` - + `} {` - + `} diff --git a/scss/bitstyles/base/input-text/input-text.stories.mdx b/scss/bitstyles/base/input-text/input-text.stories.mdx index 8dfe8398d..1c012c768 100644 --- a/scss/bitstyles/base/input-text/input-text.stories.mdx +++ b/scss/bitstyles/base/input-text/input-text.stories.mdx @@ -13,12 +13,12 @@ You may find [Base/Forms](/docs/base-forms--fieldset) more informative. {` - + `} {` - + `} @@ -28,12 +28,12 @@ You may find [Base/Forms](/docs/base-forms--fieldset) more informative. {` - + `} {` - + `} @@ -43,12 +43,12 @@ You may find [Base/Forms](/docs/base-forms--fieldset) more informative. {` - + `} {` - + `} @@ -58,12 +58,12 @@ You may find [Base/Forms](/docs/base-forms--fieldset) more informative. {` - + `} {` - + `} @@ -73,12 +73,12 @@ You may find [Base/Forms](/docs/base-forms--fieldset) more informative. {` - + `} {` - + `} diff --git a/scss/bitstyles/base/select/select.stories.mdx b/scss/bitstyles/base/select/select.stories.mdx index 49a2b47f7..3a6b80233 100644 --- a/scss/bitstyles/base/select/select.stories.mdx +++ b/scss/bitstyles/base/select/select.stories.mdx @@ -7,29 +7,35 @@ import { Canvas, Meta, Story } from '@storybook/addon-docs'; {` - + {` - + {` - + diff --git a/scss/bitstyles/ui/app-layouts.stories.mdx b/scss/bitstyles/ui/app-layouts.stories.mdx index d98d373fc..71efe9c0d 100644 --- a/scss/bitstyles/ui/app-layouts.stories.mdx +++ b/scss/bitstyles/ui/app-layouts.stories.mdx @@ -204,27 +204,27 @@ Sidebar, header, and content that uses all available space. - +
+ + + +

Users

+
+
+ +
- +
+ + + +
+

Users

+
+
+ +

Filter results

    diff --git a/scss/bitstyles/ui/filter.stories.mdx b/scss/bitstyles/ui/filter.stories.mdx index 2e4bc7726..c329e478d 100644 --- a/scss/bitstyles/ui/filter.stories.mdx +++ b/scss/bitstyles/ui/filter.stories.mdx @@ -76,7 +76,7 @@ When a user wants to filter a list of objects by fields which have a limited num type="button" class="a-button a-button--outline" title="Filter by category" - aria-controls="dropdown-1" + aria-controls="dropdown-2" @click="dropdownOpen = !dropdownOpen" :aria-expanded="dropdownOpen" > @@ -96,7 +96,7 @@ When a user wants to filter a list of objects by fields which have a limited num x-transition:leave-end="is-off-screen" @click.away="dropdownOpen = false" class="a-dropdown a-dropdown--right u-overflow-y-auto u-list-none u-margin-s2-top" - id="dropdown-1" + id="dropdown-2" >
  • - +
  • @@ -343,6 +343,7 @@ The heights of selects, inputs, and buttons should all match, allowing them to b
  • +