uikit-react-public 0.50.3 → 0.50.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/components/Alert/Alert.stories.tsx +2 -2
- package/lib/components/Alert/__tests__/Alert.test.tsx +2 -2
- package/lib/components/Button/Button.mdx +1 -1
- package/lib/components/Button/Button.stories.tsx +2 -2
- package/lib/components/Button/__tests__/Button.test.tsx +2 -2
- package/package.json +1 -1
|
@@ -111,8 +111,8 @@ export const WithActionButton: Story = {
|
|
|
111
111
|
{...args}
|
|
112
112
|
actionButton={
|
|
113
113
|
<Button
|
|
114
|
-
leftIcon={<Icon.
|
|
115
|
-
rightIcon={<Icon.
|
|
114
|
+
leftIcon={<Icon.ArrowRight />}
|
|
115
|
+
rightIcon={<Icon.ArrowRight />}
|
|
116
116
|
>
|
|
117
117
|
Action
|
|
118
118
|
</Button>
|
|
@@ -104,8 +104,8 @@ describe('Alert', () => {
|
|
|
104
104
|
type='info'
|
|
105
105
|
actionButton={
|
|
106
106
|
<Button
|
|
107
|
-
leftIcon={<Icon.
|
|
108
|
-
rightIcon={<Icon.
|
|
107
|
+
leftIcon={<Icon.ArrowRight />}
|
|
108
|
+
rightIcon={<Icon.ArrowRight />}
|
|
109
109
|
onClick={onClick}
|
|
110
110
|
>
|
|
111
111
|
Action
|
|
@@ -17,7 +17,7 @@ export const usage = {
|
|
|
17
17
|
destructiveNoPadding: `<Button variant='tertiary-destructive-no-padding'>Destructive Action</Button>`,
|
|
18
18
|
onDark: `<Button variant='secondary' onLight={false}>Secondary Button</Button>`,
|
|
19
19
|
withIcon: `<Button icon={<Icon.AlertTriangle />}>Button</Button>`,
|
|
20
|
-
withTwoIcons: `<Button leftIcon={<Icon.
|
|
20
|
+
withTwoIcons: `<Button leftIcon={<Icon.ArrowRight />} rightIcon={<Icon.ArrowRight />}>Action</Button>`,
|
|
21
21
|
loading: `<Button loading>Loading Button</Button>`,
|
|
22
22
|
link: `<Button as='a' href='https://www.ucl.ac.uk' target='_blank'>Go to UCL's website</Button>`,
|
|
23
23
|
fullWidth: `<Button fullWidth>Full Width Button</Button>`,
|
|
@@ -365,8 +365,8 @@ export const WithTwoIcons: Story = {
|
|
|
365
365
|
name: 'With two icons',
|
|
366
366
|
args: {
|
|
367
367
|
children: 'Action',
|
|
368
|
-
leftIcon: <Icon.
|
|
369
|
-
rightIcon: <Icon.
|
|
368
|
+
leftIcon: <Icon.ArrowRight />,
|
|
369
|
+
rightIcon: <Icon.ArrowRight />,
|
|
370
370
|
},
|
|
371
371
|
};
|
|
372
372
|
|