Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(documentation): adds new folder "forms" for form-control based components #2172

Closed
wants to merge 5 commits into from
Closed
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
2 changes: 2 additions & 0 deletions packages/documentation/.storybook/preview.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ const preview: Preview = {
parameters: {
options: {
storySort: {
method: 'alphabetical',
order: [
'Home',
'Getting Started',
Expand All @@ -33,6 +34,7 @@ const preview: Preview = {
'Accessibility',
],
'Components',
'Forms',
'Internet Header',
['Getting Started', 'Migration Guide', 'Header', 'Breadcrumbs', 'Footer'],
'Intranet Header',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import { BADGE } from '../../../../.storybook/constants';
import { mapClasses } from '../../../utils';

const meta: Meta = {
title: 'Components/Checkbox',
title: 'Forms/Checkbox',
render: renderCheckbox,
parameters: {
badges: [BADGE.NEEDS_REVISION],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { choiceCardMeta, choiceCardDefault, choiceCardGroup } from './choice-car

export default {
...choiceCardMeta,
title: 'Components/Checkbox Card',
title: 'Forms/Checkbox Card',
parameters: {
badges: [BADGE.NEEDS_REVISION],
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { choiceCardMeta, choiceCardDefault, choiceCardGroup } from './choice-car

export default {
...choiceCardMeta,
title: 'Components/Radio Button Card',
title: 'Forms/Radio Button Card',
parameters: {
badges: [BADGE.NEEDS_REVISION],
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { Meta, StoryObj } from '@storybook/web-components';
import { BADGE } from '../../../../.storybook/constants';

const meta: Meta = {
title: 'Components/Input Group',
title: 'Forms/Input Group',
parameters: {
badges: [BADGE.TODO],
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ const VALIDATION_STATE_MAP: Record<string, undefined | boolean> = {
};

const meta: Meta = {
title: 'Components/Text Input',
title: 'Forms/Text Input',
render: render,
parameters: {
badges: [BADGE.NEEDS_REVISION],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ const VALIDATION_STATE_MAP: Record<string, undefined | boolean> = {
};

const meta: Meta = {
title: 'Components/Radio button',
title: 'Forms/Radio button',
parameters: {
controls: {
exclude: ['Hidden Legend'],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ const VALIDATION_STATE_MAP: Record<string, undefined | boolean> = {
const ARROW_KEYS = ['ArrowUp', 'ArrowDown', 'ArrowLeft', 'ArrowRight'];

const meta: Meta = {
title: 'Components/Range',
title: 'Forms/Range',
render: render,
parameters: {
badges: [BADGE.NEEDS_REVISION],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ const VALIDATION_STATE_MAP: Record<string, undefined | boolean> = {
};

const meta: Meta = {
title: 'Components/Select',
title: 'Forms/Select',
parameters: {
badges: [BADGE.NEEDS_REVISION],
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import { BADGE } from '../../../../.storybook/constants';
import { mapClasses } from '../../../utils';

const meta: Meta = {
title: 'Components/Switch',
title: 'Forms/Switch',
render: renderSwitch,
parameters: {
badges: [BADGE.NEEDS_REVISION],
Expand Down
Loading