@volverjs/ui-vue 0.0.10-beta.31 → 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.
Files changed (166) hide show
  1. package/dist/components/VvAccordion/VvAccordion.vue.d.ts +1 -131
  2. package/dist/components/VvAccordionGroup/VvAccordionGroup.es.js +4 -3
  3. package/dist/components/VvAccordionGroup/VvAccordionGroup.umd.js +1 -1
  4. package/dist/components/VvAlert/VvAlert.es.js +5 -5
  5. package/dist/components/VvAlert/VvAlert.umd.js +1 -1
  6. package/dist/components/VvAlertGroup/VvAlertGroup.es.js +6 -7
  7. package/dist/components/VvAlertGroup/VvAlertGroup.umd.js +1 -1
  8. package/dist/components/VvAvatar/VvAvatar.es.js +1 -6
  9. package/dist/components/VvAvatar/VvAvatar.umd.js +1 -1
  10. package/dist/components/VvAvatarGroup/VvAvatarGroup.es.js +4 -8
  11. package/dist/components/VvAvatarGroup/VvAvatarGroup.umd.js +1 -1
  12. package/dist/components/VvBadge/VvBadge.es.js +2 -8
  13. package/dist/components/VvBadge/VvBadge.umd.js +1 -1
  14. package/dist/components/VvBreadcrumb/VvBreadcrumb.es.js +3 -8
  15. package/dist/components/VvBreadcrumb/VvBreadcrumb.umd.js +1 -1
  16. package/dist/components/VvButton/VvButton.es.js +0 -22
  17. package/dist/components/VvButton/VvButton.umd.js +1 -1
  18. package/dist/components/VvButtonGroup/VvButtonGroup.es.js +16 -7
  19. package/dist/components/VvButtonGroup/VvButtonGroup.umd.js +1 -1
  20. package/dist/components/VvButtonGroup/VvButtonGroup.vue.d.ts +7 -0
  21. package/dist/components/VvButtonGroup/index.d.ts +3 -0
  22. package/dist/components/VvCard/VvCard.es.js +1 -6
  23. package/dist/components/VvCard/VvCard.umd.js +1 -1
  24. package/dist/components/VvCheckbox/VvCheckbox.es.js +2 -23
  25. package/dist/components/VvCheckbox/VvCheckbox.umd.js +1 -1
  26. package/dist/components/VvCheckboxGroup/VvCheckboxGroup.es.js +6 -24
  27. package/dist/components/VvCheckboxGroup/VvCheckboxGroup.umd.js +1 -1
  28. package/dist/components/VvCombobox/VvCombobox.es.js +12 -31
  29. package/dist/components/VvCombobox/VvCombobox.umd.js +1 -1
  30. package/dist/components/VvCombobox/VvCombobox.vue.d.ts +29 -23
  31. package/dist/components/VvCombobox/index.d.ts +7 -7
  32. package/dist/components/VvDialog/VvDialog.es.js +1 -6
  33. package/dist/components/VvDialog/VvDialog.umd.js +1 -1
  34. package/dist/components/VvDropdown/VvDropdown.vue.d.ts +23 -23
  35. package/dist/components/VvDropdown/index.d.ts +7 -7
  36. package/dist/components/VvDropdownAction/VvDropdownAction.es.js +0 -5
  37. package/dist/components/VvDropdownAction/VvDropdownAction.umd.js +1 -1
  38. package/dist/components/VvIcon/VvIcon.es.js +1 -6
  39. package/dist/components/VvIcon/VvIcon.umd.js +1 -1
  40. package/dist/components/VvInputFile/VvInputFile.es.js +0 -22
  41. package/dist/components/VvInputFile/VvInputFile.umd.js +1 -1
  42. package/dist/components/VvInputText/VvInputText.es.js +16 -4
  43. package/dist/components/VvInputText/VvInputText.umd.js +1 -1
  44. package/dist/components/VvNav/VvNav.es.js +8 -10
  45. package/dist/components/VvNav/VvNav.umd.js +1 -1
  46. package/dist/components/VvNavItem/VvNavItem.es.js +4 -1
  47. package/dist/components/VvNavItem/VvNavItem.umd.js +1 -1
  48. package/dist/components/VvProgress/VvProgress.es.js +3 -3
  49. package/dist/components/VvProgress/VvProgress.umd.js +1 -1
  50. package/dist/components/VvRadio/VvRadio.es.js +0 -22
  51. package/dist/components/VvRadio/VvRadio.umd.js +1 -1
  52. package/dist/components/VvRadioGroup/VvRadioGroup.es.js +4 -23
  53. package/dist/components/VvRadioGroup/VvRadioGroup.umd.js +1 -1
  54. package/dist/components/VvTab/VvTab.es.js +7 -9
  55. package/dist/components/VvTab/VvTab.umd.js +1 -1
  56. package/dist/components/index.es.js +87 -69
  57. package/dist/components/index.umd.js +1 -1
  58. package/dist/icons.es.js +3 -3
  59. package/dist/icons.umd.js +1 -1
  60. package/dist/props/index.d.ts +7 -7
  61. package/dist/stories/Accordion/Accordion.settings.d.ts +2 -57
  62. package/dist/stories/AccordionGroup/AccordionGroup.settings.d.ts +2 -66
  63. package/dist/stories/AccordionGroup/AccordionGroup.stories.d.ts +2 -181
  64. package/dist/stories/AccordionGroup/AccordionGroupSlots.stories.d.ts +370 -11
  65. package/dist/stories/Alert/Alert.settings.d.ts +2 -109
  66. package/dist/stories/AlertGroup/AlertGroup.settings.d.ts +2 -85
  67. package/dist/stories/AvatarGroup/AvatarGroup.settings.d.ts +2 -38
  68. package/dist/stories/Badge/Badge.settings.d.ts +2 -26
  69. package/dist/stories/Breadcrumb/Breadcrumb.settings.d.ts +2 -18
  70. package/dist/stories/Breadcrumb/Breadcrumb.test.d.ts +1 -1
  71. package/dist/stories/Button/Button.settings.d.ts +2 -193
  72. package/dist/stories/ButtonGroup/ButtonGroup.settings.d.ts +2 -40
  73. package/dist/stories/Card/Card.settings.d.ts +2 -63
  74. package/dist/stories/Checkbox/Checkbox.settings.d.ts +2 -132
  75. package/dist/stories/CheckboxGroup/CheckboxGroup.settings.d.ts +1 -141
  76. package/dist/stories/Combobox/Combobox.settings.d.ts +2 -617
  77. package/dist/stories/Dialog/Dialog.settings.d.ts +2 -47
  78. package/dist/stories/Dropdown/Dropdown.settings.d.ts +2 -205
  79. package/dist/stories/Icon/Icon.settings.d.ts +2 -68
  80. package/dist/stories/InputFile/InputFile.settings.d.ts +2 -52
  81. package/dist/stories/InputText/InputText.settings.d.ts +2 -438
  82. package/dist/stories/Nav/Nav.settings.d.ts +2 -10
  83. package/dist/stories/Progress/Progress.settings.d.ts +2 -27
  84. package/dist/stories/Radio/Radio.settings.d.ts +1 -110
  85. package/dist/stories/RadioGroup/RadioGroup.settings.d.ts +1 -141
  86. package/dist/stories/Select/Select.settings.d.ts +2 -246
  87. package/dist/stories/Textarea/Textarea.settings.d.ts +2 -287
  88. package/dist/stories/argTypes.d.ts +27 -866
  89. package/package.json +45 -45
  90. package/src/assets/icons/detailed.json +1 -1
  91. package/src/assets/icons/normal.json +1 -1
  92. package/src/assets/icons/simple.json +1 -1
  93. package/src/components/VvAlert/index.ts +4 -4
  94. package/src/components/VvAlertGroup/VvAlertGroup.vue +0 -1
  95. package/src/components/VvBadge/VvBadge.vue +1 -1
  96. package/src/components/VvButtonGroup/VvButtonGroup.vue +11 -2
  97. package/src/components/VvButtonGroup/index.ts +1 -0
  98. package/src/components/VvCheckbox/VvCheckbox.vue +2 -5
  99. package/src/components/VvCombobox/VvCombobox.vue +2 -1
  100. package/src/components/VvInputText/VvInputText.vue +18 -3
  101. package/src/components/VvNav/VvNav.vue +1 -6
  102. package/src/components/VvNav/VvNavItem.vue +1 -1
  103. package/src/components/VvProgress/VvProgress.vue +0 -1
  104. package/src/composables/alert/useAlert.ts +3 -3
  105. package/src/stories/Accordion/Accordion.settings.ts +3 -2
  106. package/src/stories/AccordionGroup/AccordionGroup.settings.ts +4 -3
  107. package/src/stories/AccordionGroup/AccordionGroup.stories.ts +4 -2
  108. package/src/stories/AccordionGroup/AccordionGroup.test.ts +2 -6
  109. package/src/stories/Alert/Alert.settings.ts +8 -7
  110. package/src/stories/Alert/Alert.test.ts +1 -3
  111. package/src/stories/AlertGroup/AlertGroup.settings.ts +3 -1
  112. package/src/stories/AlertGroup/AlertGroup.test.ts +5 -7
  113. package/src/stories/Avatar/Avatar.test.ts +1 -3
  114. package/src/stories/Avatar/AvatarModifiers.stories.ts +1 -0
  115. package/src/stories/AvatarGroup/AvatarGroup.settings.ts +2 -1
  116. package/src/stories/AvatarGroup/AvatarGroup.test.ts +1 -3
  117. package/src/stories/AvatarGroup/AvatarGroupModifiers.stories.ts +1 -0
  118. package/src/stories/Badge/Badge.settings.ts +2 -1
  119. package/src/stories/Badge/Badge.stories.ts +2 -2
  120. package/src/stories/Badge/Badge.test.ts +1 -1
  121. package/src/stories/Breadcrumb/Breadcrumb.settings.ts +2 -1
  122. package/src/stories/Breadcrumb/Breadcrumb.stories.ts +1 -1
  123. package/src/stories/Breadcrumb/Breadcrumb.test.ts +1 -1
  124. package/src/stories/Button/Button.settings.ts +6 -6
  125. package/src/stories/Button/Button.stories.ts +1 -1
  126. package/src/stories/Button/Button.test.ts +1 -3
  127. package/src/stories/ButtonGroup/ButtonGroup.settings.ts +11 -1
  128. package/src/stories/ButtonGroup/ButtonGroup.stories.ts +1 -1
  129. package/src/stories/ButtonGroup/ButtonGroup.test.ts +2 -6
  130. package/src/stories/Card/Card.settings.ts +2 -1
  131. package/src/stories/Card/Card.test.ts +1 -3
  132. package/src/stories/Checkbox/Checkbox.settings.ts +5 -3
  133. package/src/stories/Checkbox/Checkbox.test.ts +2 -6
  134. package/src/stories/Checkbox/CheckboxBinary.stories.ts +1 -1
  135. package/src/stories/CheckboxGroup/CheckboxGroup.test.ts +2 -6
  136. package/src/stories/Combobox/Combobox.settings.ts +10 -10
  137. package/src/stories/Combobox/Combobox.test.ts +2 -6
  138. package/src/stories/Dialog/Dialog.settings.ts +2 -1
  139. package/src/stories/Dialog/Dialog.test.ts +3 -8
  140. package/src/stories/Dropdown/Dropdown.settings.ts +2 -1
  141. package/src/stories/Dropdown/Dropdown.test.ts +2 -6
  142. package/src/stories/Dropdown/DropdownSlots.stories.ts +1 -1
  143. package/src/stories/Icon/Icon.settings.ts +2 -1
  144. package/src/stories/Icon/Icon.stories.ts +0 -1
  145. package/src/stories/InputFile/InputFile.settings.ts +2 -1
  146. package/src/stories/InputText/InputText.settings.ts +8 -6
  147. package/src/stories/InputText/InputText.test.ts +2 -6
  148. package/src/stories/InputText/InputTextMinMax.stories.ts +1 -1
  149. package/src/stories/Nav/Nav.settings.ts +2 -2
  150. package/src/stories/Nav/Nav.stories.ts +1 -1
  151. package/src/stories/Nav/Nav.test.ts +2 -4
  152. package/src/stories/Progress/Progress.settings.ts +2 -1
  153. package/src/stories/Radio/Radio.test.ts +2 -6
  154. package/src/stories/RadioGroup/RadioGroup.stories.ts +1 -2
  155. package/src/stories/RadioGroup/RadioGroup.test.ts +2 -6
  156. package/src/stories/RadioGroup/RadioGroupOptions.stories.ts +1 -1
  157. package/src/stories/Select/Select.settings.ts +4 -3
  158. package/src/stories/Select/Select.test.ts +3 -9
  159. package/src/stories/Select/SelectIconPosition.stories.ts +2 -2
  160. package/src/stories/Select/SelectOptions.stories.ts +0 -1
  161. package/src/stories/Tab/Tab.test.ts +3 -5
  162. package/src/stories/Textarea/Textarea.settings.ts +5 -3
  163. package/src/stories/Textarea/Textarea.test.ts +2 -6
  164. package/src/stories/Tooltip/Tooltip.settings.ts +1 -1
  165. package/src/stories/Tooltip/Tooltip.test.ts +3 -5
  166. 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 = (await within(canvasElement).findByTestId(
8
- 'element',
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 = (await within(canvasElement).findByTestId(
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
- await parentElement.focus({
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
- await parentElement.blur()
32
+ parentElement.blur()
35
33
  await sleep(1200)
36
34
  await expect(window.getComputedStyle(element)).toHaveProperty(
37
35
  'opacity',
@@ -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: ['boolean', 'string'],
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: ['number', 'string', 'object'],
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: ['boolean', 'object'],
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: ['boolean', 'object'],
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: ['boolean', 'object'],
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: ['boolean', 'object'],
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
  },