@volverjs/ui-vue 0.0.10-beta.32 → 0.0.10-beta.34
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/VvAvatarGroup/VvAvatarGroup.es.js +2 -1
- package/dist/components/VvAvatarGroup/VvAvatarGroup.umd.js +1 -1
- package/dist/components/VvBadge/VvBadge.es.js +1 -2
- package/dist/components/VvBadge/VvBadge.umd.js +1 -1
- package/dist/components/VvBreadcrumb/VvBreadcrumb.es.js +3 -3
- package/dist/components/VvBreadcrumb/VvBreadcrumb.umd.js +1 -1
- package/dist/components/VvButtonGroup/VvButtonGroup.es.js +16 -2
- 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/VvCheckbox/VvCheckbox.es.js +2 -1
- package/dist/components/VvCheckbox/VvCheckbox.umd.js +1 -1
- package/dist/components/VvCheckboxGroup/VvCheckboxGroup.es.js +6 -2
- package/dist/components/VvCheckboxGroup/VvCheckboxGroup.umd.js +1 -1
- package/dist/components/VvCombobox/VvCombobox.es.js +12 -9
- package/dist/components/VvCombobox/VvCombobox.umd.js +1 -1
- package/dist/components/VvCombobox/VvCombobox.vue.d.ts +6 -0
- package/dist/components/VvInputText/VvInputText.es.js +12 -4
- package/dist/components/VvInputText/VvInputText.umd.js +1 -1
- package/dist/components/VvNav/VvNav.es.js +8 -5
- 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/VvRadioGroup/VvRadioGroup.es.js +4 -1
- package/dist/components/VvRadioGroup/VvRadioGroup.umd.js +1 -1
- package/dist/components/VvTab/VvTab.es.js +7 -4
- package/dist/components/VvTab/VvTab.umd.js +1 -1
- package/dist/components/index.es.js +83 -47
- package/dist/components/index.umd.js +1 -1
- package/dist/icons.es.js +3 -3
- package/dist/icons.umd.js +1 -1
- 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 +46 -46
- 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 +5 -5
- 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 +16 -5
- 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 -1
- package/src/stories/AvatarGroup/AvatarGroup.settings.ts +2 -1
- package/src/stories/AvatarGroup/AvatarGroup.test.ts +1 -3
- 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 +5 -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 +10 -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 +4 -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 +9 -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 +6 -3
- package/src/stories/Textarea/Textarea.test.ts +2 -6
- package/src/stories/Tooltip/Tooltip.settings.ts +0 -1
- package/src/stories/Tooltip/Tooltip.test.ts +3 -5
- package/src/stories/argTypes.ts +48 -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
|
|
|
@@ -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,12 @@ 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
|
+
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
|
|
114
|
+
// @ts-ignore
|
|
112
115
|
type: 'array',
|
|
113
116
|
},
|
|
114
117
|
},
|
|
@@ -147,7 +150,7 @@ export const OptionsArgTypes = {
|
|
|
147
150
|
},
|
|
148
151
|
}
|
|
149
152
|
|
|
150
|
-
export const CountArgTypes = {
|
|
153
|
+
export const CountArgTypes: ArgTypes = {
|
|
151
154
|
count: {
|
|
152
155
|
description: 'Show character limit',
|
|
153
156
|
options: [true, false, 'limit', 'countdown'],
|
|
@@ -155,18 +158,17 @@ export const CountArgTypes = {
|
|
|
155
158
|
type: 'radio',
|
|
156
159
|
},
|
|
157
160
|
table: {
|
|
158
|
-
category: null,
|
|
159
161
|
defaultValue: {
|
|
160
|
-
summary: false,
|
|
162
|
+
summary: 'false',
|
|
161
163
|
},
|
|
162
164
|
type: {
|
|
163
|
-
summary:
|
|
165
|
+
summary: 'boolean | string',
|
|
164
166
|
},
|
|
165
167
|
},
|
|
166
168
|
},
|
|
167
169
|
}
|
|
168
170
|
|
|
169
|
-
export const DebounceArgTypes = {
|
|
171
|
+
export const DebounceArgTypes: ArgTypes = {
|
|
170
172
|
debounce: {
|
|
171
173
|
description: 'Debounce milliseconds',
|
|
172
174
|
control: {
|
|
@@ -175,7 +177,7 @@ export const DebounceArgTypes = {
|
|
|
175
177
|
},
|
|
176
178
|
}
|
|
177
179
|
|
|
178
|
-
export const DefaultSlotArgTypes = {
|
|
180
|
+
export const DefaultSlotArgTypes: ArgTypes = {
|
|
179
181
|
default: {
|
|
180
182
|
description: 'The default slot',
|
|
181
183
|
control: {
|
|
@@ -190,7 +192,7 @@ export const DefaultSlotArgTypes = {
|
|
|
190
192
|
},
|
|
191
193
|
}
|
|
192
194
|
|
|
193
|
-
export const HintArgTypes = {
|
|
195
|
+
export const HintArgTypes: ArgTypes = {
|
|
194
196
|
hintLabel: {
|
|
195
197
|
description: 'Hint label',
|
|
196
198
|
control: {
|
|
@@ -216,7 +218,7 @@ export const HintArgTypes = {
|
|
|
216
218
|
},
|
|
217
219
|
}
|
|
218
220
|
|
|
219
|
-
export const TabindexArgTypes = {
|
|
221
|
+
export const TabindexArgTypes: ArgTypes = {
|
|
220
222
|
tabindex: {
|
|
221
223
|
description: 'Global attribute tabindex',
|
|
222
224
|
control: {
|
|
@@ -224,13 +226,13 @@ export const TabindexArgTypes = {
|
|
|
224
226
|
},
|
|
225
227
|
table: {
|
|
226
228
|
defaultValue: {
|
|
227
|
-
summary: 0,
|
|
229
|
+
summary: '0',
|
|
228
230
|
},
|
|
229
231
|
},
|
|
230
232
|
},
|
|
231
233
|
}
|
|
232
234
|
|
|
233
|
-
export const IdNameArgTypes = {
|
|
235
|
+
export const IdNameArgTypes: ArgTypes = {
|
|
234
236
|
id: {
|
|
235
237
|
description: 'Global attribute id.',
|
|
236
238
|
control: {
|
|
@@ -251,7 +253,7 @@ export const IdNameArgTypes = {
|
|
|
251
253
|
},
|
|
252
254
|
}
|
|
253
255
|
|
|
254
|
-
export const DropdownArgTypes = {
|
|
256
|
+
export const DropdownArgTypes: ArgTypes = {
|
|
255
257
|
placement: {
|
|
256
258
|
description: 'Dropdown placement',
|
|
257
259
|
options: [...Object.values(Placement), ...Object.values(Side)],
|
|
@@ -285,10 +287,10 @@ export const DropdownArgTypes = {
|
|
|
285
287
|
},
|
|
286
288
|
table: {
|
|
287
289
|
defaultValue: {
|
|
288
|
-
summary: 0,
|
|
290
|
+
summary: '0',
|
|
289
291
|
},
|
|
290
292
|
type: {
|
|
291
|
-
summary:
|
|
293
|
+
summary: 'number | string | object',
|
|
292
294
|
},
|
|
293
295
|
},
|
|
294
296
|
},
|
|
@@ -300,10 +302,10 @@ export const DropdownArgTypes = {
|
|
|
300
302
|
},
|
|
301
303
|
table: {
|
|
302
304
|
defaultValue: {
|
|
303
|
-
summary: true,
|
|
305
|
+
summary: 'true',
|
|
304
306
|
},
|
|
305
307
|
type: {
|
|
306
|
-
summary:
|
|
308
|
+
summary: 'boolean | object',
|
|
307
309
|
},
|
|
308
310
|
},
|
|
309
311
|
},
|
|
@@ -315,10 +317,10 @@ export const DropdownArgTypes = {
|
|
|
315
317
|
},
|
|
316
318
|
table: {
|
|
317
319
|
defaultValue: {
|
|
318
|
-
summary: true,
|
|
320
|
+
summary: 'true',
|
|
319
321
|
},
|
|
320
322
|
type: {
|
|
321
|
-
summary:
|
|
323
|
+
summary: 'boolean | object',
|
|
322
324
|
},
|
|
323
325
|
},
|
|
324
326
|
},
|
|
@@ -333,7 +335,7 @@ export const DropdownArgTypes = {
|
|
|
333
335
|
summary: '{ "padding": 10 }',
|
|
334
336
|
},
|
|
335
337
|
type: {
|
|
336
|
-
summary:
|
|
338
|
+
summary: 'boolean | object',
|
|
337
339
|
},
|
|
338
340
|
},
|
|
339
341
|
},
|
|
@@ -344,10 +346,10 @@ export const DropdownArgTypes = {
|
|
|
344
346
|
},
|
|
345
347
|
table: {
|
|
346
348
|
defaultValue: {
|
|
347
|
-
summary: false,
|
|
349
|
+
summary: 'false',
|
|
348
350
|
},
|
|
349
351
|
type: {
|
|
350
|
-
summary:
|
|
352
|
+
summary: 'boolean | object',
|
|
351
353
|
},
|
|
352
354
|
},
|
|
353
355
|
},
|
|
@@ -358,7 +360,7 @@ export const DropdownArgTypes = {
|
|
|
358
360
|
},
|
|
359
361
|
table: {
|
|
360
362
|
defaultValue: {
|
|
361
|
-
summary: false,
|
|
363
|
+
summary: 'false',
|
|
362
364
|
},
|
|
363
365
|
type: {
|
|
364
366
|
summary: 'boolean',
|
|
@@ -372,7 +374,7 @@ export const DropdownArgTypes = {
|
|
|
372
374
|
},
|
|
373
375
|
table: {
|
|
374
376
|
defaultValue: {
|
|
375
|
-
summary: false,
|
|
377
|
+
summary: 'false',
|
|
376
378
|
},
|
|
377
379
|
type: {
|
|
378
380
|
summary: 'boolean',
|
|
@@ -386,7 +388,7 @@ export const DropdownArgTypes = {
|
|
|
386
388
|
},
|
|
387
389
|
table: {
|
|
388
390
|
defaultValue: {
|
|
389
|
-
summary: false,
|
|
391
|
+
summary: 'false',
|
|
390
392
|
},
|
|
391
393
|
type: {
|
|
392
394
|
summary: 'boolean',
|
|
@@ -395,40 +397,40 @@ export const DropdownArgTypes = {
|
|
|
395
397
|
},
|
|
396
398
|
}
|
|
397
399
|
|
|
398
|
-
export const UnselectableArgTypes = {
|
|
400
|
+
export const UnselectableArgTypes: ArgTypes = {
|
|
399
401
|
unselectable: {
|
|
400
402
|
description: 'If true the field will be unselectable',
|
|
401
403
|
table: {
|
|
402
404
|
defaultValue: {
|
|
403
|
-
summary: true,
|
|
405
|
+
summary: 'true',
|
|
404
406
|
},
|
|
405
407
|
},
|
|
406
408
|
},
|
|
407
409
|
}
|
|
408
410
|
|
|
409
|
-
export const FloatingLabelArgTypes = {
|
|
411
|
+
export const FloatingLabelArgTypes: ArgTypes = {
|
|
410
412
|
floating: {
|
|
411
413
|
description: 'If true the label will be floating',
|
|
412
414
|
table: {
|
|
413
415
|
defaultValue: {
|
|
414
|
-
summary: false,
|
|
416
|
+
summary: 'false',
|
|
415
417
|
},
|
|
416
418
|
},
|
|
417
419
|
},
|
|
418
420
|
}
|
|
419
421
|
|
|
420
|
-
export const AutofocusArgTypes = {
|
|
422
|
+
export const AutofocusArgTypes: ArgTypes = {
|
|
421
423
|
autofocus: {
|
|
422
424
|
description: 'Global attribute autofocus.',
|
|
423
425
|
table: {
|
|
424
426
|
defaultValue: {
|
|
425
|
-
summary: false,
|
|
427
|
+
summary: 'false',
|
|
426
428
|
},
|
|
427
429
|
},
|
|
428
430
|
},
|
|
429
431
|
}
|
|
430
432
|
|
|
431
|
-
export const AutocompleteArgTypes = {
|
|
433
|
+
export const AutocompleteArgTypes: ArgTypes = {
|
|
432
434
|
autocomplete: {
|
|
433
435
|
description: 'Hint for for autofill feature.',
|
|
434
436
|
control: {
|
|
@@ -496,7 +498,7 @@ export const InputTextareaArgTypes = {
|
|
|
496
498
|
},
|
|
497
499
|
}
|
|
498
500
|
|
|
499
|
-
export const CheckboxRadioArgTypes = {
|
|
501
|
+
export const CheckboxRadioArgTypes: ArgTypes = {
|
|
500
502
|
...IdNameArgTypes,
|
|
501
503
|
...TabindexArgTypes,
|
|
502
504
|
...ValidArgTypes,
|
|
@@ -518,7 +520,7 @@ export const CheckboxRadioArgTypes = {
|
|
|
518
520
|
},
|
|
519
521
|
}
|
|
520
522
|
|
|
521
|
-
export const CheckboxRadioGroupArgTypes = {
|
|
523
|
+
export const CheckboxRadioGroupArgTypes: ArgTypes = {
|
|
522
524
|
...ValidArgTypes,
|
|
523
525
|
...InvalidArgTypes,
|
|
524
526
|
...OptionsArgTypes,
|
|
@@ -543,7 +545,7 @@ export const CheckboxRadioGroupArgTypes = {
|
|
|
543
545
|
'If true the options will be displayed vertically instead of horizontally',
|
|
544
546
|
table: {
|
|
545
547
|
defaultValue: {
|
|
546
|
-
summary: false,
|
|
548
|
+
summary: 'false',
|
|
547
549
|
},
|
|
548
550
|
},
|
|
549
551
|
},
|