@eturnity/eturnity_reusable_components 8.16.2--EPDM-14330.2 → 8.16.2--EPDM-14330.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/package.json +1 -1
- package/src/assets/theme.js +54 -6
- package/src/components/banner/banner/Banner.stories.js +99 -43
- package/src/components/banner/infoBanner/InfoBanner.stories.js +72 -30
- package/src/components/buttons/buttonIcon/ButtonIcon.stories.js +167 -0
- package/src/components/buttons/buttonIcon/index.vue +4 -5
- package/src/components/buttons/mainButton/MainButton.stories.js +116 -32
- package/src/components/draggableCard/draggableCard.stories.js +110 -54
- package/src/components/filterComponent/viewSettings.vue +220 -0
- package/src/components/filterComponent/viewSort.vue +92 -0
- package/src/components/icon/Icon.stories.js +220 -0
- package/src/components/projectMarker/ProjectMarker.stories.js +130 -0
- package/src/components/selectedOptions/selectedOptions.stories.js +135 -37
- package/src/components/spinner/Spinner.stories.js +70 -18
- package/src/components/spinnerGif/SpinnerGif.stories.js +86 -0
- package/src/components/tableDropdown/TableDropdown.stories.js +192 -0
- package/src/components/tables/mainTable/MainTable.stories.js +151 -0
- package/src/components/tabsHeader/TabsHeader.stories.js +142 -0
- package/src/components/videoThumbnail/videoThumbnail.stories.js +90 -17
- package/src/components/icon/Icons.stories.js +0 -31
@@ -0,0 +1,220 @@
|
|
1
|
+
import Icon from './index.vue'
|
2
|
+
import theme from '@/assets/theme'
|
3
|
+
|
4
|
+
export default {
|
5
|
+
title: 'Icon',
|
6
|
+
component: Icon,
|
7
|
+
tags: ['autodocs'],
|
8
|
+
argTypes: {
|
9
|
+
name: {
|
10
|
+
control: 'select',
|
11
|
+
options: [
|
12
|
+
'settings',
|
13
|
+
'warning',
|
14
|
+
'checkmark',
|
15
|
+
'close',
|
16
|
+
'arrow_up',
|
17
|
+
'arrow_down',
|
18
|
+
],
|
19
|
+
description: 'Name of the SVG icon file (without .svg extension)',
|
20
|
+
},
|
21
|
+
color: {
|
22
|
+
control: 'color',
|
23
|
+
description: 'Color of the icon',
|
24
|
+
},
|
25
|
+
hoveredColor: {
|
26
|
+
control: 'color',
|
27
|
+
description: 'Color of the icon when hovered',
|
28
|
+
},
|
29
|
+
size: {
|
30
|
+
control: 'text',
|
31
|
+
description: 'Size of the icon (e.g., "30px")',
|
32
|
+
},
|
33
|
+
cursor: {
|
34
|
+
control: 'select',
|
35
|
+
options: ['default', 'pointer', 'not-allowed'],
|
36
|
+
description: 'Cursor style when hovering over the icon',
|
37
|
+
},
|
38
|
+
isStriked: {
|
39
|
+
control: 'boolean',
|
40
|
+
description: 'Whether to show a strikethrough line',
|
41
|
+
},
|
42
|
+
backgroundColor: {
|
43
|
+
control: 'color',
|
44
|
+
description: 'Background color of the icon container',
|
45
|
+
},
|
46
|
+
count: {
|
47
|
+
control: 'number',
|
48
|
+
description: 'Number to display in the count badge',
|
49
|
+
},
|
50
|
+
animation: {
|
51
|
+
control: 'select',
|
52
|
+
options: ['none', 'fade'],
|
53
|
+
description: 'Animation type for the icon',
|
54
|
+
},
|
55
|
+
fillType: {
|
56
|
+
control: 'select',
|
57
|
+
options: ['fill', 'stroke'],
|
58
|
+
description: 'How to apply the color to the icon',
|
59
|
+
},
|
60
|
+
disabled: {
|
61
|
+
control: 'boolean',
|
62
|
+
description: 'Whether the icon is disabled',
|
63
|
+
},
|
64
|
+
},
|
65
|
+
}
|
66
|
+
|
67
|
+
const Template = (args) => ({
|
68
|
+
components: { Icon },
|
69
|
+
setup() {
|
70
|
+
return { args }
|
71
|
+
},
|
72
|
+
template: '<Icon v-bind="args" />',
|
73
|
+
provide: {
|
74
|
+
theme,
|
75
|
+
},
|
76
|
+
})
|
77
|
+
|
78
|
+
export const Default = Template.bind({})
|
79
|
+
Default.args = {
|
80
|
+
name: 'settings',
|
81
|
+
color: 'blue',
|
82
|
+
size: '30px',
|
83
|
+
cursor: 'default',
|
84
|
+
isStriked: false,
|
85
|
+
count: 0,
|
86
|
+
animation: 'none',
|
87
|
+
fillType: 'fill',
|
88
|
+
disabled: false,
|
89
|
+
}
|
90
|
+
|
91
|
+
export const Large = Template.bind({})
|
92
|
+
Large.args = {
|
93
|
+
name: 'settings',
|
94
|
+
color: 'blue',
|
95
|
+
size: '60px',
|
96
|
+
cursor: 'default',
|
97
|
+
isStriked: false,
|
98
|
+
count: 0,
|
99
|
+
animation: 'none',
|
100
|
+
fillType: 'fill',
|
101
|
+
disabled: false,
|
102
|
+
}
|
103
|
+
|
104
|
+
export const WithHover = Template.bind({})
|
105
|
+
WithHover.args = {
|
106
|
+
name: 'warning',
|
107
|
+
color: 'blue',
|
108
|
+
hoveredColor: 'red',
|
109
|
+
size: '30px',
|
110
|
+
cursor: 'pointer',
|
111
|
+
isStriked: false,
|
112
|
+
count: 0,
|
113
|
+
animation: 'none',
|
114
|
+
fillType: 'fill',
|
115
|
+
disabled: false,
|
116
|
+
}
|
117
|
+
|
118
|
+
export const WithBackground = Template.bind({})
|
119
|
+
WithBackground.args = {
|
120
|
+
name: 'checkmark',
|
121
|
+
color: 'white',
|
122
|
+
size: '30px',
|
123
|
+
cursor: 'default',
|
124
|
+
isStriked: false,
|
125
|
+
count: 0,
|
126
|
+
animation: 'none',
|
127
|
+
fillType: 'fill',
|
128
|
+
backgroundColor: 'blue',
|
129
|
+
disabled: false,
|
130
|
+
}
|
131
|
+
|
132
|
+
export const WithCount = Template.bind({})
|
133
|
+
WithCount.args = {
|
134
|
+
name: 'close',
|
135
|
+
color: 'blue',
|
136
|
+
size: '30px',
|
137
|
+
cursor: 'default',
|
138
|
+
isStriked: false,
|
139
|
+
count: 5,
|
140
|
+
animation: 'none',
|
141
|
+
fillType: 'fill',
|
142
|
+
disabled: false,
|
143
|
+
}
|
144
|
+
|
145
|
+
export const Striked = Template.bind({})
|
146
|
+
Striked.args = {
|
147
|
+
name: 'arrow_up',
|
148
|
+
color: 'blue',
|
149
|
+
size: '30px',
|
150
|
+
cursor: 'default',
|
151
|
+
isStriked: true,
|
152
|
+
count: 0,
|
153
|
+
animation: 'none',
|
154
|
+
fillType: 'fill',
|
155
|
+
disabled: false,
|
156
|
+
}
|
157
|
+
|
158
|
+
export const Animated = Template.bind({})
|
159
|
+
Animated.args = {
|
160
|
+
name: 'arrow_down',
|
161
|
+
color: 'blue',
|
162
|
+
size: '30px',
|
163
|
+
cursor: 'default',
|
164
|
+
isStriked: false,
|
165
|
+
count: 0,
|
166
|
+
animation: 'fade',
|
167
|
+
fillType: 'fill',
|
168
|
+
disabled: false,
|
169
|
+
}
|
170
|
+
|
171
|
+
export const Disabled = Template.bind({})
|
172
|
+
Disabled.args = {
|
173
|
+
name: 'settings',
|
174
|
+
color: 'blue',
|
175
|
+
size: '30px',
|
176
|
+
cursor: 'default',
|
177
|
+
isStriked: false,
|
178
|
+
count: 0,
|
179
|
+
animation: 'none',
|
180
|
+
fillType: 'fill',
|
181
|
+
disabled: true,
|
182
|
+
}
|
183
|
+
|
184
|
+
const IconLibraryTemplate = (args) => ({
|
185
|
+
components: { Icon },
|
186
|
+
setup() {
|
187
|
+
const icons = import.meta.glob('@/assets/svgIcons/*.svg', { eager: true })
|
188
|
+
const iconNames = Object.keys(icons)
|
189
|
+
.map((path) => {
|
190
|
+
const fileName = path.split('/').pop()
|
191
|
+
return fileName.replace('.svg', '')
|
192
|
+
})
|
193
|
+
.sort()
|
194
|
+
|
195
|
+
return { args, iconNames }
|
196
|
+
},
|
197
|
+
template: `
|
198
|
+
<div style="display: grid; grid-template-columns: repeat(auto-fill, minmax(100px, 1fr)); gap: 20px; padding: 20px;">
|
199
|
+
<div v-for="iconName in iconNames" :key="iconName" style="text-align: center;">
|
200
|
+
<Icon v-bind="args" :name="iconName" />
|
201
|
+
<div style="font-size: 12px; margin-top: 8px; word-break: break-word;">{{ iconName }}</div>
|
202
|
+
</div>
|
203
|
+
</div>
|
204
|
+
`,
|
205
|
+
provide: {
|
206
|
+
theme,
|
207
|
+
},
|
208
|
+
})
|
209
|
+
|
210
|
+
export const IconLibrary = IconLibraryTemplate.bind({})
|
211
|
+
IconLibrary.args = {
|
212
|
+
color: 'blue',
|
213
|
+
size: '30px',
|
214
|
+
cursor: 'default',
|
215
|
+
isStriked: false,
|
216
|
+
count: 0,
|
217
|
+
animation: 'none',
|
218
|
+
fillType: 'fill',
|
219
|
+
disabled: false,
|
220
|
+
}
|
@@ -0,0 +1,130 @@
|
|
1
|
+
import ProjectMarker from './index.vue'
|
2
|
+
import theme from '@/assets/theme'
|
3
|
+
|
4
|
+
export default {
|
5
|
+
title: 'Components/ProjectMarker',
|
6
|
+
component: ProjectMarker,
|
7
|
+
tags: ['autodocs'],
|
8
|
+
argTypes: {
|
9
|
+
markerData: {
|
10
|
+
control: 'object',
|
11
|
+
description:
|
12
|
+
'Object containing marker data including translations and color',
|
13
|
+
},
|
14
|
+
activeLanguage: {
|
15
|
+
control: 'text',
|
16
|
+
description: 'Currently active language code',
|
17
|
+
},
|
18
|
+
date: {
|
19
|
+
control: 'text',
|
20
|
+
description: 'Optional date to display next to the marker',
|
21
|
+
},
|
22
|
+
isEditable: {
|
23
|
+
control: 'boolean',
|
24
|
+
description: 'Whether the marker can be edited',
|
25
|
+
},
|
26
|
+
isGroupSupport: {
|
27
|
+
control: 'boolean',
|
28
|
+
description: 'Whether group support is enabled',
|
29
|
+
},
|
30
|
+
isLimitedPartner: {
|
31
|
+
control: 'boolean',
|
32
|
+
description: 'Whether the user is a limited partner',
|
33
|
+
},
|
34
|
+
cursor: {
|
35
|
+
control: 'text',
|
36
|
+
description: 'Cursor style for the marker',
|
37
|
+
},
|
38
|
+
hasBorderRadius: {
|
39
|
+
control: 'boolean',
|
40
|
+
description: 'Whether to show border radius',
|
41
|
+
},
|
42
|
+
},
|
43
|
+
}
|
44
|
+
|
45
|
+
const Template = (args) => ({
|
46
|
+
components: { ProjectMarker },
|
47
|
+
setup() {
|
48
|
+
return { args }
|
49
|
+
},
|
50
|
+
template: '<ProjectMarker v-bind="args" />',
|
51
|
+
provide: {
|
52
|
+
theme,
|
53
|
+
},
|
54
|
+
})
|
55
|
+
|
56
|
+
export const Default = Template.bind({})
|
57
|
+
Default.args = {
|
58
|
+
markerData: {
|
59
|
+
choice: 'sold',
|
60
|
+
translations: {
|
61
|
+
'en-us': { name: 'Sold' },
|
62
|
+
},
|
63
|
+
color: '#4CAF50',
|
64
|
+
can_be_deleted: true,
|
65
|
+
},
|
66
|
+
activeLanguage: 'en-us',
|
67
|
+
date: '23.07.2022',
|
68
|
+
isEditable: true,
|
69
|
+
isGroupSupport: false,
|
70
|
+
isLimitedPartner: false,
|
71
|
+
cursor: 'pointer',
|
72
|
+
hasBorderRadius: true,
|
73
|
+
}
|
74
|
+
|
75
|
+
export const Lost = Template.bind({})
|
76
|
+
Lost.args = {
|
77
|
+
...Default.args,
|
78
|
+
markerData: {
|
79
|
+
choice: 'lost',
|
80
|
+
translations: {
|
81
|
+
'en-us': { name: 'Lost' },
|
82
|
+
},
|
83
|
+
color: '#F44336',
|
84
|
+
can_be_deleted: true,
|
85
|
+
},
|
86
|
+
}
|
87
|
+
|
88
|
+
export const Transferred = Template.bind({})
|
89
|
+
Transferred.args = {
|
90
|
+
...Default.args,
|
91
|
+
markerData: {
|
92
|
+
choice: 'transferred',
|
93
|
+
translations: {
|
94
|
+
'en-us': { name: 'Transferred' },
|
95
|
+
},
|
96
|
+
color: '#2196F3',
|
97
|
+
can_be_deleted: true,
|
98
|
+
},
|
99
|
+
}
|
100
|
+
|
101
|
+
export const WithoutDate = Template.bind({})
|
102
|
+
WithoutDate.args = {
|
103
|
+
...Default.args,
|
104
|
+
date: null,
|
105
|
+
}
|
106
|
+
|
107
|
+
export const NotEditable = Template.bind({})
|
108
|
+
NotEditable.args = {
|
109
|
+
...Default.args,
|
110
|
+
isEditable: false,
|
111
|
+
}
|
112
|
+
|
113
|
+
export const LimitedPartner = Template.bind({})
|
114
|
+
LimitedPartner.args = {
|
115
|
+
...Default.args,
|
116
|
+
isLimitedPartner: true,
|
117
|
+
}
|
118
|
+
|
119
|
+
export const WithGroupSupport = Template.bind({})
|
120
|
+
WithGroupSupport.args = {
|
121
|
+
...Default.args,
|
122
|
+
isGroupSupport: true,
|
123
|
+
isLimitedPartner: true,
|
124
|
+
}
|
125
|
+
|
126
|
+
export const WithoutBorderRadius = Template.bind({})
|
127
|
+
WithoutBorderRadius.args = {
|
128
|
+
...Default.args,
|
129
|
+
hasBorderRadius: false,
|
130
|
+
}
|
@@ -1,10 +1,143 @@
|
|
1
1
|
import SelectedOptions from './index.vue'
|
2
|
+
import theme from '@/assets/theme'
|
2
3
|
|
3
4
|
export default {
|
4
|
-
title: '
|
5
|
+
title: 'SelectedOptions',
|
5
6
|
component: SelectedOptions,
|
6
7
|
tags: ['autodocs'],
|
7
|
-
|
8
|
+
argTypes: {
|
9
|
+
optionsList: {
|
10
|
+
control: 'object',
|
11
|
+
description:
|
12
|
+
'Array of options to display. Each option should have a type and name, and can optionally have a component, disabled state, hoverColor, and disabledInfo.',
|
13
|
+
},
|
14
|
+
numberSelected: {
|
15
|
+
control: 'number',
|
16
|
+
description: 'Number of items currently selected',
|
17
|
+
},
|
18
|
+
selectedLabel: {
|
19
|
+
control: 'text',
|
20
|
+
description:
|
21
|
+
'Custom label for the selected count (defaults to "selected")',
|
22
|
+
},
|
23
|
+
noBulkActionsLabel: {
|
24
|
+
control: 'text',
|
25
|
+
description:
|
26
|
+
'Custom label when no bulk actions are available (defaults to "no_batch_actions_available")',
|
27
|
+
},
|
28
|
+
},
|
29
|
+
}
|
30
|
+
|
31
|
+
const Template = (args) => ({
|
32
|
+
components: { SelectedOptions },
|
33
|
+
setup() {
|
34
|
+
return { args }
|
35
|
+
},
|
36
|
+
template: '<SelectedOptions v-bind="args" />',
|
37
|
+
provide: {
|
38
|
+
theme,
|
39
|
+
},
|
40
|
+
})
|
41
|
+
|
42
|
+
export const Default = Template.bind({})
|
43
|
+
Default.args = {
|
44
|
+
optionsList: [
|
45
|
+
{
|
46
|
+
type: 'export',
|
47
|
+
name: 'Export',
|
48
|
+
},
|
49
|
+
{
|
50
|
+
type: 'delete',
|
51
|
+
name: 'Delete',
|
52
|
+
hoverColor: 'red',
|
53
|
+
},
|
54
|
+
],
|
55
|
+
numberSelected: 5,
|
56
|
+
}
|
57
|
+
|
58
|
+
export const WithDisabledOptions = Template.bind({})
|
59
|
+
WithDisabledOptions.args = {
|
60
|
+
optionsList: [
|
61
|
+
{
|
62
|
+
type: 'export',
|
63
|
+
name: 'Export',
|
64
|
+
},
|
65
|
+
{
|
66
|
+
type: 'delete',
|
67
|
+
name: 'Delete',
|
68
|
+
disabled: true,
|
69
|
+
disabledInfo: 'You do not have permission to delete these items',
|
70
|
+
},
|
71
|
+
],
|
72
|
+
numberSelected: 3,
|
73
|
+
}
|
74
|
+
|
75
|
+
export const WithCustomComponent = Template.bind({})
|
76
|
+
WithCustomComponent.args = {
|
77
|
+
optionsList: [
|
78
|
+
{
|
79
|
+
type: 'export',
|
80
|
+
name: 'Export',
|
81
|
+
},
|
82
|
+
{
|
83
|
+
type: 'set_supplier',
|
84
|
+
name: 'Set Supplier',
|
85
|
+
component: 'set_supplier',
|
86
|
+
},
|
87
|
+
],
|
88
|
+
numberSelected: 2,
|
89
|
+
}
|
90
|
+
|
91
|
+
export const ManyOptions = Template.bind({})
|
92
|
+
ManyOptions.args = {
|
93
|
+
optionsList: [
|
94
|
+
{
|
95
|
+
type: 'export',
|
96
|
+
name: 'Export',
|
97
|
+
},
|
98
|
+
{
|
99
|
+
type: 'delete',
|
100
|
+
name: 'Delete',
|
101
|
+
hoverColor: 'red',
|
102
|
+
},
|
103
|
+
{
|
104
|
+
type: 'archive',
|
105
|
+
name: 'Archive',
|
106
|
+
},
|
107
|
+
{
|
108
|
+
type: 'move',
|
109
|
+
name: 'Move',
|
110
|
+
},
|
111
|
+
{
|
112
|
+
type: 'copy',
|
113
|
+
name: 'Copy',
|
114
|
+
},
|
115
|
+
],
|
116
|
+
numberSelected: 10,
|
117
|
+
}
|
118
|
+
|
119
|
+
export const NoOptions = Template.bind({})
|
120
|
+
NoOptions.args = {
|
121
|
+
optionsList: [],
|
122
|
+
numberSelected: 0,
|
123
|
+
}
|
124
|
+
|
125
|
+
export const CustomLabels = Template.bind({})
|
126
|
+
CustomLabels.args = {
|
127
|
+
optionsList: [
|
128
|
+
{
|
129
|
+
type: 'export',
|
130
|
+
name: 'Export',
|
131
|
+
},
|
132
|
+
{
|
133
|
+
type: 'delete',
|
134
|
+
name: 'Delete',
|
135
|
+
hoverColor: 'red',
|
136
|
+
},
|
137
|
+
],
|
138
|
+
numberSelected: 1,
|
139
|
+
selectedLabel: 'item selected',
|
140
|
+
noBulkActionsLabel: 'No actions can be performed on selected items',
|
8
141
|
}
|
9
142
|
|
10
143
|
// How to use in your template
|
@@ -46,41 +179,6 @@ export default {
|
|
46
179
|
// </template>
|
47
180
|
// </SelectedOptions>
|
48
181
|
|
49
|
-
export const Default = {
|
50
|
-
render: (args) => ({
|
51
|
-
components: { SelectedOptions },
|
52
|
-
setup() {
|
53
|
-
return { args }
|
54
|
-
},
|
55
|
-
template: '<SelectedOptions v-bind="args" />',
|
56
|
-
}),
|
57
|
-
args: {
|
58
|
-
optionLimit: 4,
|
59
|
-
selectedLabel: 'selected',
|
60
|
-
noBulkActionsLabel: 'No bulk actions available',
|
61
|
-
|
62
|
-
//selected options count, in this case 5 options are selected
|
63
|
-
numberSelected: 5,
|
64
|
-
|
65
|
-
//show overlay
|
66
|
-
showOverlay: true,
|
67
|
-
|
68
|
-
//expanded options, this will display list of actions in the middle of the screen
|
69
|
-
expanded: false,
|
70
|
-
optionsList: [
|
71
|
-
{
|
72
|
-
type: 'export',
|
73
|
-
name: 'Export',
|
74
|
-
},
|
75
|
-
{
|
76
|
-
type: 'export_page',
|
77
|
-
name: 'Export Page',
|
78
|
-
},
|
79
|
-
],
|
80
|
-
expandedOptions: [],
|
81
|
-
},
|
82
|
-
}
|
83
|
-
|
84
182
|
export const Expanded = {
|
85
183
|
render: (args) => ({
|
86
184
|
components: { SelectedOptions },
|
@@ -1,34 +1,86 @@
|
|
1
1
|
import Spinner from './index.vue'
|
2
|
+
import theme from '@/assets/theme'
|
2
3
|
|
3
4
|
export default {
|
4
5
|
title: 'Spinner',
|
5
6
|
component: Spinner,
|
6
7
|
tags: ['autodocs'],
|
8
|
+
argTypes: {
|
9
|
+
size: {
|
10
|
+
control: 'select',
|
11
|
+
options: ['small', 'medium', 'large'],
|
12
|
+
description: 'Size of the spinner',
|
13
|
+
},
|
14
|
+
isWhite: {
|
15
|
+
control: 'boolean',
|
16
|
+
description: 'Whether to use white color for the spinner',
|
17
|
+
},
|
18
|
+
limitedToModal: {
|
19
|
+
control: 'boolean',
|
20
|
+
description: 'Whether the spinner is limited to a modal context',
|
21
|
+
},
|
22
|
+
fullWidth: {
|
23
|
+
control: 'boolean',
|
24
|
+
description: 'Whether to show the spinner with a full-width overlay',
|
25
|
+
},
|
26
|
+
},
|
7
27
|
}
|
8
28
|
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
29
|
+
const Template = (args) => ({
|
30
|
+
components: { Spinner },
|
31
|
+
setup() {
|
32
|
+
return { args }
|
33
|
+
},
|
34
|
+
template: '<Spinner v-bind="args" />',
|
35
|
+
provide: {
|
36
|
+
theme,
|
14
37
|
},
|
38
|
+
})
|
39
|
+
|
40
|
+
export const Default = Template.bind({})
|
41
|
+
Default.args = {
|
42
|
+
size: 'medium',
|
43
|
+
isWhite: false,
|
44
|
+
limitedToModal: false,
|
45
|
+
fullWidth: false,
|
15
46
|
}
|
16
47
|
|
17
|
-
export const
|
18
|
-
|
19
|
-
|
20
|
-
|
48
|
+
export const Small = Template.bind({})
|
49
|
+
Small.args = {
|
50
|
+
size: 'small',
|
51
|
+
isWhite: false,
|
52
|
+
limitedToModal: false,
|
53
|
+
fullWidth: false,
|
21
54
|
}
|
22
55
|
|
23
|
-
export const
|
24
|
-
|
25
|
-
|
26
|
-
|
56
|
+
export const Large = Template.bind({})
|
57
|
+
Large.args = {
|
58
|
+
size: 'large',
|
59
|
+
isWhite: false,
|
60
|
+
limitedToModal: false,
|
61
|
+
fullWidth: false,
|
27
62
|
}
|
28
63
|
|
29
|
-
export const
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
64
|
+
export const White = Template.bind({})
|
65
|
+
White.args = {
|
66
|
+
size: 'medium',
|
67
|
+
isWhite: true,
|
68
|
+
limitedToModal: false,
|
69
|
+
fullWidth: false,
|
70
|
+
}
|
71
|
+
|
72
|
+
export const InModal = Template.bind({})
|
73
|
+
InModal.args = {
|
74
|
+
size: 'medium',
|
75
|
+
isWhite: false,
|
76
|
+
limitedToModal: true,
|
77
|
+
fullWidth: false,
|
78
|
+
}
|
79
|
+
|
80
|
+
export const FullWidth = Template.bind({})
|
81
|
+
FullWidth.args = {
|
82
|
+
size: 'medium',
|
83
|
+
isWhite: false,
|
84
|
+
limitedToModal: false,
|
85
|
+
fullWidth: true,
|
34
86
|
}
|