Skip to content

Commit

Permalink
argtable edits
Browse files Browse the repository at this point in the history
  • Loading branch information
basher committed Sep 17, 2024
1 parent 2a6b6a8 commit 5e1d43a
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 5 deletions.
2 changes: 1 addition & 1 deletion ui/stories/3. Layout/Stack/Stack.stories.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ export default {
stackGutter: {
control: 'select',
options: ['gutter-xs', 'gutter-s', 'gutter-l', 'gutter-xl'],
description: '"Gutter" (margin block) between child elements.',
description: '"Gutter" (block margin) between child elements.',
table: {
type: { summary: 'gutter-xs, gutter-s, gutter-l, gutter-xl' },
defaultValue: { summary: 'gutter-m' }
Expand Down
24 changes: 20 additions & 4 deletions ui/stories/7. Utilities/Utilities.stories.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,22 +11,38 @@ export default {
marginBlock: {
control: 'select',
options: ['0', 'xs', 's', 'l', 'xl'],
defaultValue: { summary: 'm' },
description: 'Add block margin to component.',
table: {
type: { summary: 'select' },
defaultValue: { summary: 'm' }
},
},
marginInline: {
control: 'select',
options: ['0', 'xs', 's', 'l', 'xl'],
defaultValue: { summary: 'm' },
description: 'Add inline margin to component.',
table: {
type: { summary: 'select' },
defaultValue: { summary: 'm' }
},
},
paddingBlock: {
control: 'select',
options: ['0', 'xs', 's', 'l', 'xl'],
defaultValue: { summary: 'm' }
description: 'Add block padding to component.',
table: {
type: { summary: 'select' },
defaultValue: { summary: 'm' }
},
},
paddingInline: {
control: 'select',
options: ['0', 'xs', 's', 'l', 'xl'],
defaultValue: { summary: 'm' }
description: 'Add inline padding to component.',
table: {
type: { summary: 'select' },
defaultValue: { summary: 'm' }
},
},
},
};
Expand Down

0 comments on commit 5e1d43a

Please sign in to comment.