Skip to content

Commit

Permalink
docs: added ai slug examples to some components (#4097)
Browse files Browse the repository at this point in the history
Co-authored-by: Taylor Jones <[email protected]>
  • Loading branch information
Gururajj77 and tay1orjones authored Jun 12, 2024
1 parent 111504e commit 713eab5
Show file tree
Hide file tree
Showing 23 changed files with 140 additions and 6 deletions.
Binary file modified .yarn/install-state.gz
Binary file not shown.
4 changes: 4 additions & 0 deletions src/pages/components/checkbox/code.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -68,5 +68,9 @@ documentation, see the Storybooks for each framework below.
label: 'Default',
variant: 'components-checkbox--default',
},
{
label: 'With AI slug',
variant: 'experimental-unstable-slug-examples--checkbox',
},
]}
/>
4 changes: 4 additions & 0 deletions src/pages/components/checkbox/usage.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,10 @@ AI explainability feature when AI is present in the component.
label: 'Default',
variant: 'components-checkbox--default',
},
{
label: 'With AI slug',
variant: 'experimental-unstable-slug-examples--checkbox',
},
]}
/>

Expand Down
9 changes: 9 additions & 0 deletions src/pages/components/data-table/code.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -125,6 +125,15 @@ usage documentation, see the Storybooks for each framework below.
label: 'With Overflow Menu',
variant: 'components-datatable-toolbar--with-overflow-menu',
},
{
label: 'Sorting (with AI slug)',
variant: 'experimental-unstable-slug-datatable--column-slug-sort',
},
{
label: 'Selection and Expansion (with AI slug)',
variant:
'experimental-unstable-slug-datatable--slug-with-selection-and-expansion',
},
]}
/>

Expand Down
9 changes: 9 additions & 0 deletions src/pages/components/data-table/usage.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,15 @@ your product's users.
label: 'With Overflow Menu',
variant: 'components-datatable-toolbar--with-overflow-menu',
},
{
label: 'Sorting (with AI slug)',
variant: 'experimental-unstable-slug-datatable--column-slug-sort',
},
{
label: 'Selection and Expansion (with AI slug)',
variant:
'experimental-unstable-slug-datatable--slug-with-selection-and-expansion',
},
]}
/>

Expand Down
4 changes: 4 additions & 0 deletions src/pages/components/date-picker/code.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -89,5 +89,9 @@ usage documentation, see the Storybooks for each framework below.
label: 'Fluid Single (unstable)',
variant: 'experimental-unstable-fluiddatepicker--single',
},
{
label: 'Single with AI slug',
variant: 'experimental-unstable-slug-examples--date-picker',
},
]}
/>
4 changes: 4 additions & 0 deletions src/pages/components/date-picker/usage.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,10 @@ AI explainability feature when AI is present in the component.
label: 'Fluid Single (unstable)',
variant: 'experimental-unstable-fluiddatepicker--single',
},
{
label: 'Single with AI slug',
variant: 'experimental-unstable-slug-examples--date-picker',
},
]}
/>

Expand Down
16 changes: 16 additions & 0 deletions src/pages/components/dropdown/code.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -86,14 +86,26 @@ documentation, see the Storybooks for each framework below.
variant:
'experimental-fluid-components-unstable-fluiddropdown--condensed',
},
{
label: 'Dropdown with AI slug',
variant: 'experimental-unstable-slug-examples--dropdown',
},
{
label: 'Multiselect',
variant: 'components-multiselect--default',
},
{
label: 'Multiselect with AI slug',
variant: 'experimental-unstable-slug-examples--multiselect',
},
{
label: 'Filterable multiselect',
variant: 'components-multiselect--filterable',
},
{
label: 'Filterable multiselect with AI slug',
variant: 'experimental-unstable-slug-examples--filterable-multiselect',
},
{
label: 'Fluid multiselect (unstable)',
variant:
Expand All @@ -117,5 +129,9 @@ documentation, see the Storybooks for each framework below.
variant:
'experimental-fluid-components-unstable-fluidcombobox--condensed',
},
{
label: 'Combobox with AI slug',
variant: 'experimental-unstable-slug-examples--combobox',
},
]}
/>
16 changes: 16 additions & 0 deletions src/pages/components/dropdown/usage.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -71,14 +71,26 @@ AI explainability feature when AI is present in the component.
variant:
'experimental-fluid-components-unstable-fluiddropdown--condensed',
},
{
label: 'Dropdown with AI slug',
variant: 'experimental-unstable-slug-examples--dropdown',
},
{
label: 'Multiselect',
variant: 'components-multiselect--default',
},
{
label: 'Multiselect with AI slug',
variant: 'experimental-unstable-slug-examples--multiselect',
},
{
label: 'Filterable multiselect',
variant: 'components-multiselect--filterable',
},
{
label: 'Filterable multiselect with AI slug',
variant: 'experimental-unstable-slug-examples--filterable-multiselect',
},
{
label: 'Fluid multiselect (unstable)',
variant:
Expand All @@ -102,6 +114,10 @@ AI explainability feature when AI is present in the component.
variant:
'experimental-fluid-components-unstable-fluidcombobox--condensed',
},
{
label: 'Combobox with AI slug',
variant: 'experimental-unstable-slug-examples--combobox',
},
]}
/>

Expand Down
4 changes: 4 additions & 0 deletions src/pages/components/modal/code.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -85,5 +85,9 @@ documentation, see the Storybooks for each framework below.
label: 'With State Manager',
variant: 'components-modal--with-state-manager',
},
{
label: 'With AI slug',
variant: 'experimental-unstable-slug-examples--modal',
},
]}
/>
4 changes: 4 additions & 0 deletions src/pages/components/modal/usage.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,10 @@ AI explainability feature when AI is present in the component.
label: 'With State Manager',
variant: 'components-modal--with-state-manager',
},
{
label: 'With AI slug',
variant: 'experimental-unstable-slug-examples--modal',
},
]}
/>

Expand Down
4 changes: 4 additions & 0 deletions src/pages/components/number-input/code.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -72,5 +72,9 @@ usage documentation, see the Storybooks for each framework below.
label: 'Fluid (unstable)',
variant: 'experimental-unstable-fluidnumberinput--default',
},
{
label: 'With AI slug',
variant: 'experimental-unstable-slug-examples--number-input',
},
]}
/>
4 changes: 4 additions & 0 deletions src/pages/components/number-input/usage.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,10 @@ AI explainability feature when AI is present in the component.
label: 'Fluid (unstable)',
variant: 'experimental-unstable-fluidnumberinput--default',
},
{
label: 'With AI slug',
variant: 'experimental-unstable-slug-examples--number-input',
},
]}
/>

Expand Down
4 changes: 4 additions & 0 deletions src/pages/components/radio-button/code.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -68,5 +68,9 @@ usage documentation, see the Storybooks for each framework below.
label: 'Default',
variant: 'components-radiobutton--default',
},
{
label: 'With AI slug',
variant: 'experimental-unstable-slug-examples--radio-button',
},
]}
/>
4 changes: 4 additions & 0 deletions src/pages/components/radio-button/usage.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,10 @@ AI explainability feature when AI is present in the component.
label: 'Default',
variant: 'components-radiobutton--default',
},
{
label: 'With AI slug',
variant: 'experimental-unstable-slug-examples--radio-button',
},
]}
/>

Expand Down
4 changes: 4 additions & 0 deletions src/pages/components/select/code.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -76,5 +76,9 @@ documentation, see the Storybooks for each framework below.
label: 'Fluid (unstable)',
variant: 'experimental-unstable-fluidselect--default',
},
{
label: 'With AI slug',
variant: 'experimental-unstable-slug-examples--select',
},
]}
/>
4 changes: 4 additions & 0 deletions src/pages/components/select/usage.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,10 @@ AI explainability feature when AI is present in the component.
label: 'Fluid (unstable)',
variant: 'experimental-unstable-fluidselect--default',
},
{
label: 'With AI slug',
variant: 'experimental-unstable-slug-examples--select',
},
]}
/>

Expand Down
4 changes: 4 additions & 0 deletions src/pages/components/tag/code.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -68,5 +68,9 @@ documentation, see the Storybooks for each framework below.
label: 'Default',
variant: 'components-tag--default',
},
{
label: 'With AI slug',
variant: 'experimental-unstable-slug-examples--tag',
},
]}
/>
4 changes: 4 additions & 0 deletions src/pages/components/tag/usage.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,10 @@ to the filter prop and will eventually replace the prop in v12.
label: 'ReadOnly',
variant: 'components-tag--read-only',
},
{
label: 'With AI slug',
variant: 'experimental-unstable-slug-examples--tag',
},
]}
/>

Expand Down
16 changes: 13 additions & 3 deletions src/pages/components/text-input/code.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -82,15 +82,25 @@ usage documentation, see the Storybooks for each framework below.
},
{
label: 'Fluid (unstable)',
variant: 'experimental-unstable-fluidtextinput--default',
variant: 'experimental-fluid-components-unstable-fluidtextinput--default',
},
{
label: 'Fluid with Tooltip (unstable)',
variant: 'experimental-unstable-fluidtextinput--default-with-tooltip',
variant:
'experimental-fluid-components-unstable-fluidtextinput--default-with-tooltip',
},
{
label: 'Fluid with Password Input (unstable)',
variant: 'experimental-unstable-fluidtextinput--password-input',
variant:
'experimental-fluid-components-unstable-fluidpasswordinput--default',
},
{
label: 'Text Area with AI slug',
variant: 'experimental-unstable-slug-examples--text-area',
},
{
label: 'Text Input with AI slug',
variant: 'experimental-unstable-slug-examples--text-input',
},
]}
/>
16 changes: 13 additions & 3 deletions src/pages/components/text-input/usage.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -66,15 +66,25 @@ AI explainability feature when AI is present in the component.
},
{
label: 'Fluid (unstable)',
variant: 'experimental-unstable-fluidtextinput--default',
variant: 'experimental-fluid-components-unstable-fluidtextinput--default',
},
{
label: 'Fluid with Tooltip (unstable)',
variant: 'experimental-unstable-fluidtextinput--default-with-tooltip',
variant:
'experimental-fluid-components-unstable-fluidtextinput--default-with-tooltip',
},
{
label: 'Fluid with Password Input (unstable)',
variant: 'experimental-unstable-fluidtextinput--password-input',
variant:
'experimental-fluid-components-unstable-fluidpasswordinput--default',
},
{
label: 'Text Area with AI slug',
variant: 'experimental-unstable-slug-examples--text-area',
},
{
label: 'Text Input with AI slug',
variant: 'experimental-unstable-slug-examples--text-input',
},
]}
/>
Expand Down
4 changes: 4 additions & 0 deletions src/pages/components/tile/code.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -112,5 +112,9 @@ documentation, see the Storybooks for each framework below.
label: 'Selectable with Improved Contrast (unstable)',
variant: 'experimental-feature-flags-tile--selectable',
},
{
label: 'With AI slug',
variant: 'experimental-unstable-slug-examples--tile',
},
]}
/>
4 changes: 4 additions & 0 deletions src/pages/components/tile/usage.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,10 @@ supported.
label: 'Selectable with Improved Contrast (unstable)',
variant: 'experimental-feature-flags-tile--selectable',
},
{
label: 'With AI slug',
variant: 'experimental-unstable-slug-examples--tile',
},
]}
/>

Expand Down

0 comments on commit 713eab5

Please sign in to comment.