@volverjs/ui-vue 0.0.10-beta.32 → 0.0.10-beta.33
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/dist/components/VvAccordion/VvAccordion.vue.d.ts +1 -131
- package/dist/components/VvAccordionGroup/VvAccordionGroup.es.js +4 -3
- package/dist/components/VvAccordionGroup/VvAccordionGroup.umd.js +1 -1
- package/dist/components/VvAlert/VvAlert.es.js +5 -5
- package/dist/components/VvAlert/VvAlert.umd.js +1 -1
- package/dist/components/VvAlertGroup/VvAlertGroup.es.js +6 -7
- package/dist/components/VvAlertGroup/VvAlertGroup.umd.js +1 -1
- package/dist/components/VvAvatar/VvAvatar.es.js +1 -6
- package/dist/components/VvAvatar/VvAvatar.umd.js +1 -1
- package/dist/components/VvAvatarGroup/VvAvatarGroup.es.js +4 -8
- package/dist/components/VvAvatarGroup/VvAvatarGroup.umd.js +1 -1
- package/dist/components/VvBadge/VvBadge.es.js +2 -8
- package/dist/components/VvBadge/VvBadge.umd.js +1 -1
- package/dist/components/VvBreadcrumb/VvBreadcrumb.es.js +3 -8
- package/dist/components/VvBreadcrumb/VvBreadcrumb.umd.js +1 -1
- package/dist/components/VvButton/VvButton.es.js +0 -22
- package/dist/components/VvButton/VvButton.umd.js +1 -1
- package/dist/components/VvButtonGroup/VvButtonGroup.es.js +16 -7
- package/dist/components/VvButtonGroup/VvButtonGroup.umd.js +1 -1
- package/dist/components/VvButtonGroup/VvButtonGroup.vue.d.ts +7 -0
- package/dist/components/VvButtonGroup/index.d.ts +3 -0
- package/dist/components/VvCard/VvCard.es.js +1 -6
- package/dist/components/VvCard/VvCard.umd.js +1 -1
- package/dist/components/VvCheckbox/VvCheckbox.es.js +2 -23
- package/dist/components/VvCheckbox/VvCheckbox.umd.js +1 -1
- package/dist/components/VvCheckboxGroup/VvCheckboxGroup.es.js +6 -24
- package/dist/components/VvCheckboxGroup/VvCheckboxGroup.umd.js +1 -1
- package/dist/components/VvCombobox/VvCombobox.es.js +12 -31
- package/dist/components/VvCombobox/VvCombobox.umd.js +1 -1
- package/dist/components/VvCombobox/VvCombobox.vue.d.ts +29 -23
- package/dist/components/VvCombobox/index.d.ts +7 -7
- package/dist/components/VvDialog/VvDialog.es.js +1 -6
- package/dist/components/VvDialog/VvDialog.umd.js +1 -1
- package/dist/components/VvDropdown/VvDropdown.vue.d.ts +23 -23
- package/dist/components/VvDropdown/index.d.ts +7 -7
- package/dist/components/VvDropdownAction/VvDropdownAction.es.js +0 -5
- package/dist/components/VvDropdownAction/VvDropdownAction.umd.js +1 -1
- package/dist/components/VvIcon/VvIcon.es.js +1 -6
- package/dist/components/VvIcon/VvIcon.umd.js +1 -1
- package/dist/components/VvInputFile/VvInputFile.es.js +0 -22
- package/dist/components/VvInputFile/VvInputFile.umd.js +1 -1
- package/dist/components/VvInputText/VvInputText.es.js +11 -3
- package/dist/components/VvInputText/VvInputText.umd.js +1 -1
- package/dist/components/VvNav/VvNav.es.js +8 -10
- package/dist/components/VvNav/VvNav.umd.js +1 -1
- package/dist/components/VvNavItem/VvNavItem.es.js +4 -1
- package/dist/components/VvNavItem/VvNavItem.umd.js +1 -1
- package/dist/components/VvProgress/VvProgress.es.js +3 -3
- package/dist/components/VvProgress/VvProgress.umd.js +1 -1
- package/dist/components/VvRadio/VvRadio.es.js +0 -22
- package/dist/components/VvRadio/VvRadio.umd.js +1 -1
- package/dist/components/VvRadioGroup/VvRadioGroup.es.js +4 -23
- package/dist/components/VvRadioGroup/VvRadioGroup.umd.js +1 -1
- package/dist/components/VvTab/VvTab.es.js +7 -9
- package/dist/components/VvTab/VvTab.umd.js +1 -1
- package/dist/components/index.es.js +82 -68
- package/dist/components/index.umd.js +1 -1
- package/dist/icons.es.js +3 -3
- package/dist/icons.umd.js +1 -1
- package/dist/props/index.d.ts +7 -7
- package/dist/stories/Accordion/Accordion.settings.d.ts +2 -57
- package/dist/stories/AccordionGroup/AccordionGroup.settings.d.ts +2 -66
- package/dist/stories/AccordionGroup/AccordionGroup.stories.d.ts +2 -181
- package/dist/stories/AccordionGroup/AccordionGroupSlots.stories.d.ts +370 -11
- package/dist/stories/Alert/Alert.settings.d.ts +2 -109
- package/dist/stories/AlertGroup/AlertGroup.settings.d.ts +2 -85
- package/dist/stories/AvatarGroup/AvatarGroup.settings.d.ts +2 -38
- package/dist/stories/Badge/Badge.settings.d.ts +2 -26
- package/dist/stories/Breadcrumb/Breadcrumb.settings.d.ts +2 -18
- package/dist/stories/Breadcrumb/Breadcrumb.test.d.ts +1 -1
- package/dist/stories/Button/Button.settings.d.ts +2 -193
- package/dist/stories/ButtonGroup/ButtonGroup.settings.d.ts +2 -40
- package/dist/stories/Card/Card.settings.d.ts +2 -63
- package/dist/stories/Checkbox/Checkbox.settings.d.ts +2 -132
- package/dist/stories/CheckboxGroup/CheckboxGroup.settings.d.ts +1 -141
- package/dist/stories/Combobox/Combobox.settings.d.ts +2 -617
- package/dist/stories/Dialog/Dialog.settings.d.ts +2 -47
- package/dist/stories/Dropdown/Dropdown.settings.d.ts +2 -205
- package/dist/stories/Icon/Icon.settings.d.ts +2 -68
- package/dist/stories/InputFile/InputFile.settings.d.ts +2 -52
- package/dist/stories/InputText/InputText.settings.d.ts +2 -438
- package/dist/stories/Nav/Nav.settings.d.ts +2 -10
- package/dist/stories/Progress/Progress.settings.d.ts +2 -27
- package/dist/stories/Radio/Radio.settings.d.ts +1 -110
- package/dist/stories/RadioGroup/RadioGroup.settings.d.ts +1 -141
- package/dist/stories/Select/Select.settings.d.ts +2 -246
- package/dist/stories/Textarea/Textarea.settings.d.ts +2 -287
- package/dist/stories/argTypes.d.ts +27 -866
- package/package.json +45 -45
- package/src/assets/icons/detailed.json +1 -1
- package/src/assets/icons/normal.json +1 -1
- package/src/assets/icons/simple.json +1 -1
- package/src/components/VvAlert/index.ts +4 -4
- package/src/components/VvAlertGroup/VvAlertGroup.vue +0 -1
- package/src/components/VvBadge/VvBadge.vue +1 -1
- package/src/components/VvButtonGroup/VvButtonGroup.vue +11 -2
- package/src/components/VvButtonGroup/index.ts +1 -0
- package/src/components/VvCheckbox/VvCheckbox.vue +2 -5
- package/src/components/VvCombobox/VvCombobox.vue +2 -1
- package/src/components/VvInputText/VvInputText.vue +15 -4
- package/src/components/VvNav/VvNav.vue +1 -6
- package/src/components/VvNav/VvNavItem.vue +1 -1
- package/src/components/VvProgress/VvProgress.vue +0 -1
- package/src/composables/alert/useAlert.ts +3 -3
- package/src/stories/Accordion/Accordion.settings.ts +3 -2
- package/src/stories/AccordionGroup/AccordionGroup.settings.ts +4 -3
- package/src/stories/AccordionGroup/AccordionGroup.stories.ts +4 -2
- package/src/stories/AccordionGroup/AccordionGroup.test.ts +2 -6
- package/src/stories/Alert/Alert.settings.ts +8 -7
- package/src/stories/Alert/Alert.test.ts +1 -3
- package/src/stories/AlertGroup/AlertGroup.settings.ts +3 -1
- package/src/stories/AlertGroup/AlertGroup.test.ts +5 -7
- package/src/stories/Avatar/Avatar.test.ts +1 -3
- package/src/stories/Avatar/AvatarModifiers.stories.ts +1 -0
- package/src/stories/AvatarGroup/AvatarGroup.settings.ts +2 -1
- package/src/stories/AvatarGroup/AvatarGroup.test.ts +1 -3
- package/src/stories/AvatarGroup/AvatarGroupModifiers.stories.ts +1 -0
- package/src/stories/Badge/Badge.settings.ts +2 -1
- package/src/stories/Badge/Badge.stories.ts +2 -2
- package/src/stories/Badge/Badge.test.ts +1 -1
- package/src/stories/Breadcrumb/Breadcrumb.settings.ts +2 -1
- package/src/stories/Breadcrumb/Breadcrumb.stories.ts +1 -1
- package/src/stories/Breadcrumb/Breadcrumb.test.ts +1 -1
- package/src/stories/Button/Button.settings.ts +6 -6
- package/src/stories/Button/Button.stories.ts +1 -1
- package/src/stories/Button/Button.test.ts +1 -3
- package/src/stories/ButtonGroup/ButtonGroup.settings.ts +11 -1
- package/src/stories/ButtonGroup/ButtonGroup.stories.ts +1 -1
- package/src/stories/ButtonGroup/ButtonGroup.test.ts +2 -6
- package/src/stories/Card/Card.settings.ts +2 -1
- package/src/stories/Card/Card.test.ts +1 -3
- package/src/stories/Checkbox/Checkbox.settings.ts +5 -3
- package/src/stories/Checkbox/Checkbox.test.ts +2 -6
- package/src/stories/Checkbox/CheckboxBinary.stories.ts +1 -1
- package/src/stories/CheckboxGroup/CheckboxGroup.test.ts +2 -6
- package/src/stories/Combobox/Combobox.settings.ts +10 -10
- package/src/stories/Combobox/Combobox.test.ts +2 -6
- package/src/stories/Dialog/Dialog.settings.ts +2 -1
- package/src/stories/Dialog/Dialog.test.ts +3 -8
- package/src/stories/Dropdown/Dropdown.settings.ts +2 -1
- package/src/stories/Dropdown/Dropdown.test.ts +2 -6
- package/src/stories/Dropdown/DropdownSlots.stories.ts +1 -1
- package/src/stories/Icon/Icon.settings.ts +2 -1
- package/src/stories/Icon/Icon.stories.ts +0 -1
- package/src/stories/InputFile/InputFile.settings.ts +2 -1
- package/src/stories/InputText/InputText.settings.ts +8 -6
- package/src/stories/InputText/InputText.test.ts +2 -6
- package/src/stories/InputText/InputTextMinMax.stories.ts +1 -1
- package/src/stories/Nav/Nav.settings.ts +2 -2
- package/src/stories/Nav/Nav.stories.ts +1 -1
- package/src/stories/Nav/Nav.test.ts +2 -4
- package/src/stories/Progress/Progress.settings.ts +2 -1
- package/src/stories/Radio/Radio.test.ts +2 -6
- package/src/stories/RadioGroup/RadioGroup.stories.ts +1 -2
- package/src/stories/RadioGroup/RadioGroup.test.ts +2 -6
- package/src/stories/RadioGroup/RadioGroupOptions.stories.ts +1 -1
- package/src/stories/Select/Select.settings.ts +4 -3
- package/src/stories/Select/Select.test.ts +3 -9
- package/src/stories/Select/SelectIconPosition.stories.ts +2 -2
- package/src/stories/Select/SelectOptions.stories.ts +0 -1
- package/src/stories/Tab/Tab.test.ts +3 -5
- package/src/stories/Textarea/Textarea.settings.ts +5 -3
- package/src/stories/Textarea/Textarea.test.ts +2 -6
- package/src/stories/Tooltip/Tooltip.settings.ts +1 -1
- package/src/stories/Tooltip/Tooltip.test.ts +3 -5
- package/src/stories/argTypes.ts +47 -46
|
@@ -4,12 +4,8 @@ import { sleep } from '@/test/sleep'
|
|
|
4
4
|
import { within, userEvent } from '@storybook/test'
|
|
5
5
|
|
|
6
6
|
export async function defaultTest({ canvasElement, args }: PlayAttributes) {
|
|
7
|
-
const element =
|
|
8
|
-
|
|
9
|
-
)) as HTMLElement
|
|
10
|
-
const value = (await within(canvasElement).findByTestId(
|
|
11
|
-
'value',
|
|
12
|
-
)) as HTMLElement
|
|
7
|
+
const element = await within(canvasElement).findByTestId('element')
|
|
8
|
+
const value = await within(canvasElement).findByTestId('value')
|
|
13
9
|
const textarea = element.getElementsByTagName('textarea')[0]
|
|
14
10
|
const hint = element.getElementsByClassName('vv-textarea__hint')[0]
|
|
15
11
|
|
|
@@ -7,6 +7,7 @@ export const defaultArgs = {
|
|
|
7
7
|
value: "I'm a tooltip",
|
|
8
8
|
}
|
|
9
9
|
|
|
10
|
+
// @ts-ignore
|
|
10
11
|
export const argTypes: ArgTypes = {
|
|
11
12
|
...ModifiersArgTypes,
|
|
12
13
|
...DefaultSlotArgTypes,
|
|
@@ -16,7 +17,6 @@ export const argTypes: ArgTypes = {
|
|
|
16
17
|
type: 'select',
|
|
17
18
|
},
|
|
18
19
|
table: {
|
|
19
|
-
type: 'string',
|
|
20
20
|
defaultValue: { summary: 'bottom' },
|
|
21
21
|
},
|
|
22
22
|
description: 'Indicates where to place the tooltip',
|
|
@@ -4,9 +4,7 @@ import { sleep } from '@/test/sleep'
|
|
|
4
4
|
import { within } from '@storybook/test'
|
|
5
5
|
|
|
6
6
|
export async function defaultTest({ canvasElement, args }: PlayAttributes) {
|
|
7
|
-
const parentElement =
|
|
8
|
-
'parent',
|
|
9
|
-
)) as HTMLElement
|
|
7
|
+
const parentElement = await within(canvasElement).findByTestId('parent')
|
|
10
8
|
const element = parentElement.firstElementChild as HTMLSpanElement
|
|
11
9
|
|
|
12
10
|
if (args.default) {
|
|
@@ -18,7 +16,7 @@ export async function defaultTest({ canvasElement, args }: PlayAttributes) {
|
|
|
18
16
|
}
|
|
19
17
|
|
|
20
18
|
// check if tooltip is visible after focus
|
|
21
|
-
|
|
19
|
+
parentElement.focus({
|
|
22
20
|
preventScroll: true,
|
|
23
21
|
})
|
|
24
22
|
await sleep(1200)
|
|
@@ -31,7 +29,7 @@ export async function defaultTest({ canvasElement, args }: PlayAttributes) {
|
|
|
31
29
|
await expect(element).toHaveNoViolations()
|
|
32
30
|
|
|
33
31
|
// check if tooltip is not visible after blur
|
|
34
|
-
|
|
32
|
+
parentElement.blur()
|
|
35
33
|
await sleep(1200)
|
|
36
34
|
await expect(window.getComputedStyle(element)).toHaveProperty(
|
|
37
35
|
'opacity',
|
package/src/stories/argTypes.ts
CHANGED
|
@@ -1,12 +1,13 @@
|
|
|
1
|
+
import type { ArgTypes } from '@storybook/vue3'
|
|
1
2
|
import normal from '../assets/icons/normal.json'
|
|
2
3
|
import { Placement, Position, Side } from '../constants'
|
|
3
4
|
|
|
4
|
-
export const ValidArgTypes = {
|
|
5
|
+
export const ValidArgTypes: ArgTypes = {
|
|
5
6
|
valid: {
|
|
6
7
|
description: 'Valid state',
|
|
7
8
|
table: {
|
|
8
9
|
defaultValue: {
|
|
9
|
-
summary: false,
|
|
10
|
+
summary: 'false',
|
|
10
11
|
},
|
|
11
12
|
},
|
|
12
13
|
},
|
|
@@ -18,12 +19,12 @@ export const ValidArgTypes = {
|
|
|
18
19
|
},
|
|
19
20
|
}
|
|
20
21
|
|
|
21
|
-
export const InvalidArgTypes = {
|
|
22
|
+
export const InvalidArgTypes: ArgTypes = {
|
|
22
23
|
invalid: {
|
|
23
24
|
description: 'Invalid state',
|
|
24
25
|
table: {
|
|
25
26
|
defaultValue: {
|
|
26
|
-
summary: false,
|
|
27
|
+
summary: 'false',
|
|
27
28
|
},
|
|
28
29
|
},
|
|
29
30
|
},
|
|
@@ -35,12 +36,12 @@ export const InvalidArgTypes = {
|
|
|
35
36
|
},
|
|
36
37
|
}
|
|
37
38
|
|
|
38
|
-
export const LoadingArgTypes = {
|
|
39
|
+
export const LoadingArgTypes: ArgTypes = {
|
|
39
40
|
loading: {
|
|
40
41
|
description: 'Loading state',
|
|
41
42
|
table: {
|
|
42
43
|
defaultValue: {
|
|
43
|
-
summary: false,
|
|
44
|
+
summary: 'false',
|
|
44
45
|
},
|
|
45
46
|
},
|
|
46
47
|
},
|
|
@@ -52,30 +53,30 @@ export const LoadingArgTypes = {
|
|
|
52
53
|
},
|
|
53
54
|
}
|
|
54
55
|
|
|
55
|
-
export const DisabledArgTypes = {
|
|
56
|
+
export const DisabledArgTypes: ArgTypes = {
|
|
56
57
|
disabled: {
|
|
57
58
|
control: 'boolean',
|
|
58
59
|
description: 'Whether the component is disabled',
|
|
59
60
|
table: {
|
|
60
61
|
defaultValue: {
|
|
61
|
-
summary: false,
|
|
62
|
+
summary: 'false',
|
|
62
63
|
},
|
|
63
64
|
},
|
|
64
65
|
},
|
|
65
66
|
}
|
|
66
67
|
|
|
67
|
-
export const ReadonlyArgTypes = {
|
|
68
|
+
export const ReadonlyArgTypes: ArgTypes = {
|
|
68
69
|
readonly: {
|
|
69
70
|
description: 'The value is not editable',
|
|
70
71
|
table: {
|
|
71
72
|
defaultValue: {
|
|
72
|
-
summary: false,
|
|
73
|
+
summary: 'false',
|
|
73
74
|
},
|
|
74
75
|
},
|
|
75
76
|
},
|
|
76
77
|
}
|
|
77
78
|
|
|
78
|
-
export const ModifiersArgTypes = {
|
|
79
|
+
export const ModifiersArgTypes: ArgTypes = {
|
|
79
80
|
modifiers: {
|
|
80
81
|
description: 'Component BEM modifiers',
|
|
81
82
|
options: [],
|
|
@@ -85,7 +86,7 @@ export const ModifiersArgTypes = {
|
|
|
85
86
|
},
|
|
86
87
|
}
|
|
87
88
|
|
|
88
|
-
export const IconArgTypes = {
|
|
89
|
+
export const IconArgTypes: ArgTypes = {
|
|
89
90
|
icon: {
|
|
90
91
|
description: 'VvIcon name or props',
|
|
91
92
|
options: ['', ...Object.keys(normal.icons)],
|
|
@@ -105,10 +106,11 @@ export const IconArgTypes = {
|
|
|
105
106
|
},
|
|
106
107
|
}
|
|
107
108
|
|
|
108
|
-
export const OptionsArgTypes = {
|
|
109
|
+
export const OptionsArgTypes: ArgTypes = {
|
|
109
110
|
options: {
|
|
110
111
|
description: 'List of options',
|
|
111
112
|
control: {
|
|
113
|
+
// @ts-ignore
|
|
112
114
|
type: 'array',
|
|
113
115
|
},
|
|
114
116
|
},
|
|
@@ -147,7 +149,7 @@ export const OptionsArgTypes = {
|
|
|
147
149
|
},
|
|
148
150
|
}
|
|
149
151
|
|
|
150
|
-
export const CountArgTypes = {
|
|
152
|
+
export const CountArgTypes: ArgTypes = {
|
|
151
153
|
count: {
|
|
152
154
|
description: 'Show character limit',
|
|
153
155
|
options: [true, false, 'limit', 'countdown'],
|
|
@@ -155,18 +157,17 @@ export const CountArgTypes = {
|
|
|
155
157
|
type: 'radio',
|
|
156
158
|
},
|
|
157
159
|
table: {
|
|
158
|
-
category: null,
|
|
159
160
|
defaultValue: {
|
|
160
|
-
summary: false,
|
|
161
|
+
summary: 'false',
|
|
161
162
|
},
|
|
162
163
|
type: {
|
|
163
|
-
summary:
|
|
164
|
+
summary: 'boolean | string',
|
|
164
165
|
},
|
|
165
166
|
},
|
|
166
167
|
},
|
|
167
168
|
}
|
|
168
169
|
|
|
169
|
-
export const DebounceArgTypes = {
|
|
170
|
+
export const DebounceArgTypes: ArgTypes = {
|
|
170
171
|
debounce: {
|
|
171
172
|
description: 'Debounce milliseconds',
|
|
172
173
|
control: {
|
|
@@ -175,7 +176,7 @@ export const DebounceArgTypes = {
|
|
|
175
176
|
},
|
|
176
177
|
}
|
|
177
178
|
|
|
178
|
-
export const DefaultSlotArgTypes = {
|
|
179
|
+
export const DefaultSlotArgTypes: ArgTypes = {
|
|
179
180
|
default: {
|
|
180
181
|
description: 'The default slot',
|
|
181
182
|
control: {
|
|
@@ -190,7 +191,7 @@ export const DefaultSlotArgTypes = {
|
|
|
190
191
|
},
|
|
191
192
|
}
|
|
192
193
|
|
|
193
|
-
export const HintArgTypes = {
|
|
194
|
+
export const HintArgTypes: ArgTypes = {
|
|
194
195
|
hintLabel: {
|
|
195
196
|
description: 'Hint label',
|
|
196
197
|
control: {
|
|
@@ -216,7 +217,7 @@ export const HintArgTypes = {
|
|
|
216
217
|
},
|
|
217
218
|
}
|
|
218
219
|
|
|
219
|
-
export const TabindexArgTypes = {
|
|
220
|
+
export const TabindexArgTypes: ArgTypes = {
|
|
220
221
|
tabindex: {
|
|
221
222
|
description: 'Global attribute tabindex',
|
|
222
223
|
control: {
|
|
@@ -224,13 +225,13 @@ export const TabindexArgTypes = {
|
|
|
224
225
|
},
|
|
225
226
|
table: {
|
|
226
227
|
defaultValue: {
|
|
227
|
-
summary: 0,
|
|
228
|
+
summary: '0',
|
|
228
229
|
},
|
|
229
230
|
},
|
|
230
231
|
},
|
|
231
232
|
}
|
|
232
233
|
|
|
233
|
-
export const IdNameArgTypes = {
|
|
234
|
+
export const IdNameArgTypes: ArgTypes = {
|
|
234
235
|
id: {
|
|
235
236
|
description: 'Global attribute id.',
|
|
236
237
|
control: {
|
|
@@ -251,7 +252,7 @@ export const IdNameArgTypes = {
|
|
|
251
252
|
},
|
|
252
253
|
}
|
|
253
254
|
|
|
254
|
-
export const DropdownArgTypes = {
|
|
255
|
+
export const DropdownArgTypes: ArgTypes = {
|
|
255
256
|
placement: {
|
|
256
257
|
description: 'Dropdown placement',
|
|
257
258
|
options: [...Object.values(Placement), ...Object.values(Side)],
|
|
@@ -285,10 +286,10 @@ export const DropdownArgTypes = {
|
|
|
285
286
|
},
|
|
286
287
|
table: {
|
|
287
288
|
defaultValue: {
|
|
288
|
-
summary: 0,
|
|
289
|
+
summary: '0',
|
|
289
290
|
},
|
|
290
291
|
type: {
|
|
291
|
-
summary:
|
|
292
|
+
summary: 'number | string | object',
|
|
292
293
|
},
|
|
293
294
|
},
|
|
294
295
|
},
|
|
@@ -300,10 +301,10 @@ export const DropdownArgTypes = {
|
|
|
300
301
|
},
|
|
301
302
|
table: {
|
|
302
303
|
defaultValue: {
|
|
303
|
-
summary: true,
|
|
304
|
+
summary: 'true',
|
|
304
305
|
},
|
|
305
306
|
type: {
|
|
306
|
-
summary:
|
|
307
|
+
summary: 'boolean | object',
|
|
307
308
|
},
|
|
308
309
|
},
|
|
309
310
|
},
|
|
@@ -315,10 +316,10 @@ export const DropdownArgTypes = {
|
|
|
315
316
|
},
|
|
316
317
|
table: {
|
|
317
318
|
defaultValue: {
|
|
318
|
-
summary: true,
|
|
319
|
+
summary: 'true',
|
|
319
320
|
},
|
|
320
321
|
type: {
|
|
321
|
-
summary:
|
|
322
|
+
summary: 'boolean | object',
|
|
322
323
|
},
|
|
323
324
|
},
|
|
324
325
|
},
|
|
@@ -333,7 +334,7 @@ export const DropdownArgTypes = {
|
|
|
333
334
|
summary: '{ "padding": 10 }',
|
|
334
335
|
},
|
|
335
336
|
type: {
|
|
336
|
-
summary:
|
|
337
|
+
summary: 'boolean | object',
|
|
337
338
|
},
|
|
338
339
|
},
|
|
339
340
|
},
|
|
@@ -344,10 +345,10 @@ export const DropdownArgTypes = {
|
|
|
344
345
|
},
|
|
345
346
|
table: {
|
|
346
347
|
defaultValue: {
|
|
347
|
-
summary: false,
|
|
348
|
+
summary: 'false',
|
|
348
349
|
},
|
|
349
350
|
type: {
|
|
350
|
-
summary:
|
|
351
|
+
summary: 'boolean | object',
|
|
351
352
|
},
|
|
352
353
|
},
|
|
353
354
|
},
|
|
@@ -358,7 +359,7 @@ export const DropdownArgTypes = {
|
|
|
358
359
|
},
|
|
359
360
|
table: {
|
|
360
361
|
defaultValue: {
|
|
361
|
-
summary: false,
|
|
362
|
+
summary: 'false',
|
|
362
363
|
},
|
|
363
364
|
type: {
|
|
364
365
|
summary: 'boolean',
|
|
@@ -372,7 +373,7 @@ export const DropdownArgTypes = {
|
|
|
372
373
|
},
|
|
373
374
|
table: {
|
|
374
375
|
defaultValue: {
|
|
375
|
-
summary: false,
|
|
376
|
+
summary: 'false',
|
|
376
377
|
},
|
|
377
378
|
type: {
|
|
378
379
|
summary: 'boolean',
|
|
@@ -386,7 +387,7 @@ export const DropdownArgTypes = {
|
|
|
386
387
|
},
|
|
387
388
|
table: {
|
|
388
389
|
defaultValue: {
|
|
389
|
-
summary: false,
|
|
390
|
+
summary: 'false',
|
|
390
391
|
},
|
|
391
392
|
type: {
|
|
392
393
|
summary: 'boolean',
|
|
@@ -395,40 +396,40 @@ export const DropdownArgTypes = {
|
|
|
395
396
|
},
|
|
396
397
|
}
|
|
397
398
|
|
|
398
|
-
export const UnselectableArgTypes = {
|
|
399
|
+
export const UnselectableArgTypes: ArgTypes = {
|
|
399
400
|
unselectable: {
|
|
400
401
|
description: 'If true the field will be unselectable',
|
|
401
402
|
table: {
|
|
402
403
|
defaultValue: {
|
|
403
|
-
summary: true,
|
|
404
|
+
summary: 'true',
|
|
404
405
|
},
|
|
405
406
|
},
|
|
406
407
|
},
|
|
407
408
|
}
|
|
408
409
|
|
|
409
|
-
export const FloatingLabelArgTypes = {
|
|
410
|
+
export const FloatingLabelArgTypes: ArgTypes = {
|
|
410
411
|
floating: {
|
|
411
412
|
description: 'If true the label will be floating',
|
|
412
413
|
table: {
|
|
413
414
|
defaultValue: {
|
|
414
|
-
summary: false,
|
|
415
|
+
summary: 'false',
|
|
415
416
|
},
|
|
416
417
|
},
|
|
417
418
|
},
|
|
418
419
|
}
|
|
419
420
|
|
|
420
|
-
export const AutofocusArgTypes = {
|
|
421
|
+
export const AutofocusArgTypes: ArgTypes = {
|
|
421
422
|
autofocus: {
|
|
422
423
|
description: 'Global attribute autofocus.',
|
|
423
424
|
table: {
|
|
424
425
|
defaultValue: {
|
|
425
|
-
summary: false,
|
|
426
|
+
summary: 'false',
|
|
426
427
|
},
|
|
427
428
|
},
|
|
428
429
|
},
|
|
429
430
|
}
|
|
430
431
|
|
|
431
|
-
export const AutocompleteArgTypes = {
|
|
432
|
+
export const AutocompleteArgTypes: ArgTypes = {
|
|
432
433
|
autocomplete: {
|
|
433
434
|
description: 'Hint for for autofill feature.',
|
|
434
435
|
control: {
|
|
@@ -496,7 +497,7 @@ export const InputTextareaArgTypes = {
|
|
|
496
497
|
},
|
|
497
498
|
}
|
|
498
499
|
|
|
499
|
-
export const CheckboxRadioArgTypes = {
|
|
500
|
+
export const CheckboxRadioArgTypes: ArgTypes = {
|
|
500
501
|
...IdNameArgTypes,
|
|
501
502
|
...TabindexArgTypes,
|
|
502
503
|
...ValidArgTypes,
|
|
@@ -518,7 +519,7 @@ export const CheckboxRadioArgTypes = {
|
|
|
518
519
|
},
|
|
519
520
|
}
|
|
520
521
|
|
|
521
|
-
export const CheckboxRadioGroupArgTypes = {
|
|
522
|
+
export const CheckboxRadioGroupArgTypes: ArgTypes = {
|
|
522
523
|
...ValidArgTypes,
|
|
523
524
|
...InvalidArgTypes,
|
|
524
525
|
...OptionsArgTypes,
|
|
@@ -543,7 +544,7 @@ export const CheckboxRadioGroupArgTypes = {
|
|
|
543
544
|
'If true the options will be displayed vertically instead of horizontally',
|
|
544
545
|
table: {
|
|
545
546
|
defaultValue: {
|
|
546
|
-
summary: false,
|
|
547
|
+
summary: 'false',
|
|
547
548
|
},
|
|
548
549
|
},
|
|
549
550
|
},
|