@mailstep/design-system 0.6.0 → 0.6.2
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/package.json +1 -1
- package/ui/Blocks/Modal/Modal.js +2 -2
- package/ui/Blocks/Modal/stories/Modal.stories.js +5 -1
- package/ui/Blocks/Modal/styles.d.ts +4 -0
- package/ui/Blocks/Modal/styles.js +10 -3
- package/ui/Blocks/Tabs/Tabs.js +2 -2
- package/ui/Blocks/Tabs/types.d.ts +1 -0
- package/ui/Elements/ErrorMessage/ErrorMessage.js +1 -1
- package/ui/Elements/Text/types.d.ts +2 -2
- package/ui/Forms/Checkbox/Checkbox.js +3 -2
- package/ui/Forms/Checkbox/stories/Checkbox.stories.js +1 -1
- package/ui/Forms/Checkbox/styles.d.ts +1 -1
- package/ui/Forms/Checkbox/styles.js +1 -1
- package/ui/Forms/RadioButton/RadioButton.js +4 -1
- package/ui/Forms/RadioButton/styles.d.ts +1 -1
- package/ui/Forms/RadioButton/styles.js +1 -1
- package/ui/index.d.ts +1 -3
- package/ui/index.es.js +5123 -5108
- package/ui/index.js +1 -3
- package/ui/index.umd.js +230 -222
- package/ui/Elements/Paragraph/Paragraph.d.ts +0 -2
- package/ui/Elements/Paragraph/Paragraph.js +0 -3
- package/ui/Elements/Paragraph/index.d.ts +0 -3
- package/ui/Elements/Paragraph/index.js +0 -3
- package/ui/Elements/Paragraph/stories/Paragraph.stories.d.ts +0 -17
- package/ui/Elements/Paragraph/stories/Paragraph.stories.js +0 -34
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import type { StoryObj } from '@storybook/react';
|
|
2
|
-
declare const meta: {
|
|
3
|
-
title: string;
|
|
4
|
-
component: () => import("react/jsx-runtime").JSX.Element;
|
|
5
|
-
tags: string[];
|
|
6
|
-
argTypes: {
|
|
7
|
-
backgroundColor: {
|
|
8
|
-
control: string;
|
|
9
|
-
};
|
|
10
|
-
};
|
|
11
|
-
};
|
|
12
|
-
export default meta;
|
|
13
|
-
type Story = StoryObj<typeof meta>;
|
|
14
|
-
export declare const Primary: Story;
|
|
15
|
-
export declare const Secondary: Story;
|
|
16
|
-
export declare const Large: Story;
|
|
17
|
-
export declare const Small: Story;
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
import { Paragraph } from '../';
|
|
2
|
-
var meta = {
|
|
3
|
-
title: 'Elements/Paragraph',
|
|
4
|
-
component: Paragraph,
|
|
5
|
-
tags: ['autodocs'],
|
|
6
|
-
argTypes: {
|
|
7
|
-
backgroundColor: { control: 'color' },
|
|
8
|
-
},
|
|
9
|
-
};
|
|
10
|
-
export default meta;
|
|
11
|
-
// More on writing stories with args: https://storybook.js.org/docs/react/writing-stories/args
|
|
12
|
-
export var Primary = {
|
|
13
|
-
args: {
|
|
14
|
-
primary: true,
|
|
15
|
-
label: 'Paragraph',
|
|
16
|
-
},
|
|
17
|
-
};
|
|
18
|
-
export var Secondary = {
|
|
19
|
-
args: {
|
|
20
|
-
label: 'Paragraph',
|
|
21
|
-
},
|
|
22
|
-
};
|
|
23
|
-
export var Large = {
|
|
24
|
-
args: {
|
|
25
|
-
size: 'large',
|
|
26
|
-
label: 'Paragraph',
|
|
27
|
-
},
|
|
28
|
-
};
|
|
29
|
-
export var Small = {
|
|
30
|
-
args: {
|
|
31
|
-
size: 'small',
|
|
32
|
-
label: 'Paragraph',
|
|
33
|
-
},
|
|
34
|
-
};
|