|
@@ -48,7 +48,7 @@ _Button.argTypes = {
|
|
size: {
|
|
size: {
|
|
control: {
|
|
control: {
|
|
type: 'select',
|
|
type: 'select',
|
|
- options: ['zero', 'xsmall', 'small', 'xs', 'sm', 'md'],
|
|
|
|
|
|
+ options: ['zero', 'xs', 'sm', 'md'],
|
|
},
|
|
},
|
|
},
|
|
},
|
|
};
|
|
};
|
|
@@ -91,10 +91,10 @@ export const Overview = ({busy}) => (
|
|
</Button>
|
|
</Button>
|
|
</Item>
|
|
</Item>
|
|
<Item>
|
|
<Item>
|
|
- <Button size="xsmall">X Small</Button>
|
|
|
|
|
|
+ <Button size="xs">X Small</Button>
|
|
</Item>
|
|
</Item>
|
|
<Item>
|
|
<Item>
|
|
- <Button size="small">Small</Button>
|
|
|
|
|
|
+ <Button size="sm">Small</Button>
|
|
</Item>
|
|
</Item>
|
|
<Item>
|
|
<Item>
|
|
<Button>Default</Button>
|
|
<Button>Default</Button>
|
|
@@ -107,12 +107,12 @@ export const Overview = ({busy}) => (
|
|
<Button size="zero" borderless icon={<IconDelete size="xs" />} />
|
|
<Button size="zero" borderless icon={<IconDelete size="xs" />} />
|
|
</Item>
|
|
</Item>
|
|
<Item>
|
|
<Item>
|
|
- <Button size="xsmall" icon={<IconDelete size="xs" />}>
|
|
|
|
|
|
+ <Button size="xs" icon={<IconDelete size="xs" />}>
|
|
X Small
|
|
X Small
|
|
</Button>
|
|
</Button>
|
|
</Item>
|
|
</Item>
|
|
<Item>
|
|
<Item>
|
|
- <Button size="small" icon={<IconDelete size="xs" />}>
|
|
|
|
|
|
+ <Button size="sm" icon={<IconDelete size="xs" />}>
|
|
Small
|
|
Small
|
|
</Button>
|
|
</Button>
|
|
</Item>
|
|
</Item>
|
|
@@ -134,12 +134,12 @@ export const Overview = ({busy}) => (
|
|
<h2>States (busy/disabled)</h2>
|
|
<h2>States (busy/disabled)</h2>
|
|
<div style={{display: 'flex', alignItems: 'center'}}>
|
|
<div style={{display: 'flex', alignItems: 'center'}}>
|
|
<Item>
|
|
<Item>
|
|
- <Button busy={busy} priority="primary" size="xsmall">
|
|
|
|
|
|
+ <Button busy={busy} priority="primary" size="xs">
|
|
Extra Small
|
|
Extra Small
|
|
</Button>
|
|
</Button>
|
|
</Item>
|
|
</Item>
|
|
<Item>
|
|
<Item>
|
|
- <Button busy={busy} priority="primary" size="small">
|
|
|
|
|
|
+ <Button busy={busy} priority="primary" size="sm">
|
|
Small
|
|
Small
|
|
</Button>
|
|
</Button>
|
|
</Item>
|
|
</Item>
|