@skf-design-system/ui-components 1.0.2-beta.0 → 1.0.2-beta.1

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 (181) hide show
  1. package/README.md +12 -8
  2. package/dist/components/accordion/accordion-item.component.d.ts +36 -0
  3. package/dist/components/accordion/accordion-item.component.js +87 -0
  4. package/dist/components/accordion/accordion-item.d.ts +3 -3
  5. package/dist/components/accordion/accordion-item.js +4 -5
  6. package/dist/components/accordion/accordion-item.styles.js +77 -0
  7. package/dist/components/accordion/accordion.component.d.ts +5 -9
  8. package/dist/components/accordion/accordion.component.js +4 -5
  9. package/dist/components/accordion/accordion.d.ts +0 -1
  10. package/dist/components/accordion/accordion.js +0 -2
  11. package/dist/components/alert/alert.component.d.ts +4 -7
  12. package/dist/components/alert/alert.component.js +8 -9
  13. package/dist/components/alert/alert.styles.js +0 -5
  14. package/dist/components/breadcrumb/breadcrumb-item.component.js +61 -0
  15. package/dist/components/breadcrumb/breadcrumb-item.js +6 -0
  16. package/dist/components/breadcrumb/breadcrumb-item.styles.js +62 -0
  17. package/dist/components/breadcrumb/breadcrumb.component.d.ts +1 -1
  18. package/dist/components/breadcrumb/breadcrumb.component.js +60 -0
  19. package/dist/components/breadcrumb/breadcrumb.js +6 -0
  20. package/dist/components/breadcrumb/breadcrumb.styles.js +22 -0
  21. package/dist/components/button/button.component.d.ts +13 -10
  22. package/dist/components/button/button.component.js +83 -76
  23. package/dist/components/button/button.styles.d.ts +1 -2
  24. package/dist/components/button/button.styles.js +1 -1
  25. package/dist/components/card/card.component.d.ts +1 -1
  26. package/dist/components/card/card.component.js +1 -1
  27. package/dist/components/checkbox/checkbox.component.d.ts +8 -6
  28. package/dist/components/checkbox/checkbox.component.js +2 -2
  29. package/dist/components/checkbox/checkbox.styles.d.ts +1 -2
  30. package/dist/components/checkbox/checkbox.styles.js +1 -5
  31. package/dist/components/date-picker/datepicker.calendar.component.js +1 -1
  32. package/dist/components/date-picker/datepicker.component.js +1 -1
  33. package/dist/components/date-picker-input/datepicker-input.component.d.ts +1 -0
  34. package/dist/components/date-picker-input/datepicker-input.component.js +3 -2
  35. package/dist/components/dialog/dialog.component.d.ts +5 -4
  36. package/dist/components/dialog/dialog.component.js +44 -44
  37. package/dist/components/dialog/dialog.styles.js +4 -4
  38. package/dist/components/divider/divider.component.js +1 -1
  39. package/dist/components/drawer/drawer.component.d.ts +12 -8
  40. package/dist/components/drawer/drawer.component.js +5 -4
  41. package/dist/components/header/header.component.d.ts +3 -2
  42. package/dist/components/header/header.component.js +34 -28
  43. package/dist/components/heading/heading.component.d.ts +3 -5
  44. package/dist/components/heading/heading.component.js +22 -21
  45. package/dist/components/icon/icon.component.d.ts +11 -17
  46. package/dist/components/icon/icon.component.js +2 -2
  47. package/dist/components/icon/icon.styles.d.ts +1 -2
  48. package/dist/components/icon/icon.styles.js +1 -1
  49. package/dist/components/input/input.component.d.ts +30 -31
  50. package/dist/components/input/input.component.js +136 -123
  51. package/dist/components/link/link.component.d.ts +12 -14
  52. package/dist/components/link/link.component.js +34 -34
  53. package/dist/components/link/link.styles.d.ts +1 -2
  54. package/dist/components/link/link.styles.js +2 -2
  55. package/dist/components/loader/loader.component.d.ts +1 -1
  56. package/dist/components/loader/loader.component.js +36 -40
  57. package/dist/components/loader/loader.styles.d.ts +1 -2
  58. package/dist/components/loader/loader.styles.js +40 -32
  59. package/dist/components/logo/logo.component.d.ts +4 -5
  60. package/dist/components/logo/logo.component.js +1 -1
  61. package/dist/components/menu/menu-item.component.d.ts +13 -0
  62. package/dist/components/{menu-item → menu}/menu-item.component.js +3 -3
  63. package/dist/components/menu/menu.component.d.ts +9 -6
  64. package/dist/components/menu/menu.component.js +8 -10
  65. package/dist/components/{nav-item → nav}/nav-item.component.d.ts +0 -2
  66. package/dist/components/{nav-item → nav}/nav-item.component.js +1 -1
  67. package/dist/components/nav/nav.component.js +1 -1
  68. package/dist/components/popover/popover.component.d.ts +10 -6
  69. package/dist/components/popover/popover.component.js +22 -24
  70. package/dist/components/progress/progress.component.d.ts +2 -2
  71. package/dist/components/progress/progress.component.js +31 -37
  72. package/dist/components/progress/progress.styles.js +40 -35
  73. package/dist/components/radio/radio.component.d.ts +9 -7
  74. package/dist/components/radio/radio.component.js +2 -2
  75. package/dist/components/{segmented-button-item → segmented-button}/segmented-button-item.component.d.ts +4 -4
  76. package/dist/components/segmented-button/segmented-button-item.component.js +56 -0
  77. package/dist/components/segmented-button/segmented-button-item.js +6 -0
  78. package/dist/components/segmented-button/segmented-button-item.styles.js +62 -0
  79. package/dist/components/segmented-button/segmented-button.component.d.ts +0 -2
  80. package/dist/components/segmented-button/segmented-button.component.js +73 -0
  81. package/dist/components/segmented-button/segmented-button.js +6 -0
  82. package/dist/components/segmented-button/segmented-button.styles.js +16 -0
  83. package/dist/components/{select-option-group → select}/select-option-group.component.js +1 -1
  84. package/dist/components/{select-option → select}/select-option.component.d.ts +7 -8
  85. package/dist/components/{select-option → select}/select-option.component.js +15 -15
  86. package/dist/components/select/select.component.d.ts +16 -15
  87. package/dist/components/select/select.component.js +17 -17
  88. package/dist/components/select/select.controllers.d.ts +1 -1
  89. package/dist/components/select/select.controllers.js +14 -11
  90. package/dist/components/select/select.stories.icons.d.ts +7 -0
  91. package/dist/components/{stepper-item → stepper}/stepper-item.component.js +8 -8
  92. package/dist/components/stepper/stepper.component.d.ts +2 -2
  93. package/dist/components/stepper/stepper.component.js +15 -15
  94. package/dist/components/stepper/stepper.helpers.d.ts +1 -1
  95. package/dist/components/switch/switch.component.js +15 -15
  96. package/dist/components/tab/tab.component.js +1 -1
  97. package/dist/components/tab-group/tab-group.component.js +1 -1
  98. package/dist/components/tab-panel/tab-panel.component.js +1 -1
  99. package/dist/components/tag/tag.component.d.ts +10 -14
  100. package/dist/components/tag/tag.component.js +32 -35
  101. package/dist/components/textarea/textarea.component.d.ts +10 -11
  102. package/dist/components/textarea/textarea.component.js +62 -64
  103. package/dist/components/{toast-item → toast}/toast-item.d.ts +2 -0
  104. package/dist/components/{toast-item → toast}/toast-item.js +4 -0
  105. package/dist/components/{toast-wrapper → toast}/toast-wrapper.component.js +1 -1
  106. package/dist/components/toast/toast-wrapper.styles.d.ts +1 -0
  107. package/dist/components/toast/toast.component.d.ts +5 -4
  108. package/dist/components/toast/toast.component.js +15 -15
  109. package/dist/components/toast/toast.singleton.d.ts +4 -4
  110. package/dist/components/toast/toast.singleton.js +12 -12
  111. package/dist/components/tooltip/tooltip.component.d.ts +2 -1
  112. package/dist/components/tooltip/tooltip.component.js +15 -10
  113. package/dist/custom-elements.json +733 -820
  114. package/dist/index.d.ts +13 -7
  115. package/dist/index.js +100 -84
  116. package/dist/internal/base-classes/popover/popover.base.d.ts +10 -5
  117. package/dist/internal/base-classes/popover/popover.base.js +77 -60
  118. package/dist/internal/components/hint/hint.component.d.ts +2 -2
  119. package/dist/internal/components/hint/hint.component.js +2 -2
  120. package/dist/internal/components/hint/hint.styles.d.ts +1 -2
  121. package/dist/internal/components/hint/hint.styles.js +1 -1
  122. package/dist/internal/constants/iconSeverity.d.ts +3 -2
  123. package/dist/internal/constants/iconSeverity.js +2 -3
  124. package/dist/internal/helpers/hintSeverity.d.ts +2 -2
  125. package/dist/internal/helpers/hintSeverity.js +1 -1
  126. package/dist/internal/types/formField.d.ts +1 -1
  127. package/dist/internal/types.d.ts +18 -0
  128. package/dist/styles/component.styles.d.ts +1 -2
  129. package/dist/styles/component.styles.js +1 -1
  130. package/dist/styles/global.css +1 -1
  131. package/dist/types/jsx/custom-element-jsx.d.ts +162 -180
  132. package/dist/types/vue/index.d.ts +162 -180
  133. package/dist/vscode.html-custom-data.json +133 -1091
  134. package/dist/web-types.json +368 -424
  135. package/package.json +24 -25
  136. package/dist/components/collapse/collapse.component.d.ts +0 -40
  137. package/dist/components/collapse/collapse.component.js +0 -86
  138. package/dist/components/collapse/collapse.d.ts +0 -8
  139. package/dist/components/collapse/collapse.js +0 -6
  140. package/dist/components/collapse/collapse.styles.d.ts +0 -2
  141. package/dist/components/collapse/collapse.styles.js +0 -77
  142. package/dist/components/menu-item/menu-item.component.d.ts +0 -25
  143. package/dist/internal/constants/heading.d.ts +0 -2
  144. /package/dist/components/{breadcrumb-item/breadcrumb-item.styles.d.ts → accordion/accordion-item.styles.d.ts} +0 -0
  145. /package/dist/components/{collapse/collapse.test.d.ts → accordion/accordion-item.test.d.ts} +0 -0
  146. /package/dist/components/{breadcrumb-item → breadcrumb}/breadcrumb-item.component.d.ts +0 -0
  147. /package/dist/components/{breadcrumb-item → breadcrumb}/breadcrumb-item.d.ts +0 -0
  148. /package/dist/components/{menu-item/menu-item.styles.d.ts → breadcrumb/breadcrumb-item.styles.d.ts} +0 -0
  149. /package/dist/components/{menu-item → menu}/menu-item.d.ts +0 -0
  150. /package/dist/components/{menu-item → menu}/menu-item.js +0 -0
  151. /package/dist/components/{nav-item/nav-item.styles.d.ts → menu/menu-item.styles.d.ts} +0 -0
  152. /package/dist/components/{menu-item → menu}/menu-item.styles.js +0 -0
  153. /package/dist/components/{nav-item → nav}/nav-item.d.ts +0 -0
  154. /package/dist/components/{nav-item → nav}/nav-item.js +0 -0
  155. /package/dist/components/{segmented-button-item/segmented-button-item.styles.d.ts → nav/nav-item.styles.d.ts} +0 -0
  156. /package/dist/components/{nav-item → nav}/nav-item.styles.js +0 -0
  157. /package/dist/components/{segmented-button-item → segmented-button}/segmented-button-item.d.ts +0 -0
  158. /package/dist/components/{select-option-group/select-option-group.style.d.ts → segmented-button/segmented-button-item.styles.d.ts} +0 -0
  159. /package/dist/components/{select-option-group → select}/select-option-group.component.d.ts +0 -0
  160. /package/dist/components/{select-option-group → select}/select-option-group.d.ts +0 -0
  161. /package/dist/components/{select-option-group → select}/select-option-group.js +0 -0
  162. /package/dist/components/{select-option/select-option.styles.d.ts → select/select-option-group.style.d.ts} +0 -0
  163. /package/dist/components/{select-option-group → select}/select-option-group.style.js +0 -0
  164. /package/dist/components/{select-option → select}/select-option.controllers.d.ts +0 -0
  165. /package/dist/components/{select-option → select}/select-option.d.ts +0 -0
  166. /package/dist/components/{select-option → select}/select-option.js +0 -0
  167. /package/dist/components/{stepper-item/stepper-item.styles.d.ts → select/select-option.styles.d.ts} +0 -0
  168. /package/dist/components/{select-option → select}/select-option.styles.js +0 -0
  169. /package/dist/components/{stepper-item → stepper}/stepper-item.component.d.ts +0 -0
  170. /package/dist/components/{stepper-item → stepper}/stepper-item.d.ts +0 -0
  171. /package/dist/components/{stepper-item → stepper}/stepper-item.js +0 -0
  172. /package/dist/components/{toast-wrapper/toast-wrapper.styles.d.ts → stepper/stepper-item.styles.d.ts} +0 -0
  173. /package/dist/components/{stepper-item → stepper}/stepper-item.styles.js +0 -0
  174. /package/dist/components/{toast-item → toast}/toast-item.component.d.ts +0 -0
  175. /package/dist/components/{toast-item → toast}/toast-item.component.js +0 -0
  176. /package/dist/components/{toast-item → toast}/toast-item.styles.d.ts +0 -0
  177. /package/dist/components/{toast-item → toast}/toast-item.styles.js +0 -0
  178. /package/dist/components/{toast-wrapper → toast}/toast-wrapper.component.d.ts +0 -0
  179. /package/dist/components/{toast-wrapper → toast}/toast-wrapper.d.ts +0 -0
  180. /package/dist/components/{toast-wrapper → toast}/toast-wrapper.js +0 -0
  181. /package/dist/components/{toast-wrapper → toast}/toast-wrapper.styles.js +0 -0
@@ -1,42 +1,42 @@
1
1
  import type { DefineComponent } from "vue";
2
2
 
3
3
  import type { SkfIcon } from "../../components/icon/icon.component.js";
4
- import type { SkfCollapse, CustomEvent } from "../../components/collapse/collapse.component.js";
4
+ import type { SkfAccordionItem, CustomEvent } from "../../components/accordion-item/accordion-item.component.js";
5
5
  import type { SkfAccordion } from "../../components/accordion/accordion.component.js";
6
6
  import type { SkfAlert } from "../../components/alert/alert.component.js";
7
7
  import type { SkfBreadcrumbItem } from "../../components/breadcrumb-item/breadcrumb-item.component.js";
8
8
  import type { SkfBreadcrumb } from "../../components/breadcrumb/breadcrumb.component.js";
9
9
  import type { SkfLoader } from "../../components/loader/loader.component.js";
10
- import type { SkfButton } from "../../components/button/button.component.js";
10
+ import type { SkfButton, CustomEvent } from "../../components/button/button.component.js";
11
11
  import type { SkfCard } from "../../components/card/card.component.js";
12
- import type { SkfCheckbox } from "../../components/checkbox/checkbox.component.js";
12
+ import type { SkfCheckbox, Event } from "../../components/checkbox/checkbox.component.js";
13
13
  import type { SkfDatePicker } from "../../components/datepicker/datepicker.component.js";
14
14
  import type { SkfHeading } from "../../components/heading/heading.component.js";
15
- import type { SkfDialog } from "../../components/dialog/dialog.component.js";
15
+ import type { SkfDialog, CustomEvent } from "../../components/dialog/dialog.component.js";
16
16
  import type { SkfDivider } from "../../components/divider/divider.component.js";
17
- import type { SkfDrawer } from "../../components/drawer/drawer.component.js";
17
+ import type { SkfDrawer, CustomEvent } from "../../components/drawer/drawer.component.js";
18
18
  import type { SkfLogo } from "../../components/logo/logo.component.js";
19
19
  import type { SkfNav } from "../../components/nav/nav.component.js";
20
20
  import type { SkfHeader } from "../../components/header/header.component.js";
21
- import type { SkfInput } from "../../components/input/input.component.js";
21
+ import type { SkfInput, CustomEvent } from "../../components/input/input.component.js";
22
22
  import type { SkfLink } from "../../components/link/link.component.js";
23
- import type { SkfMenu } from "../../components/menu/menu.component.js";
24
- import type { SkfMenuItem, CustomEvent } from "../../components/menu-item/menu-item.component.js";
23
+ import type { SkfMenuItem } from "../../components/menu-item/menu-item.component.js";
24
+ import type { SkfMenu, CustomEvent } from "../../components/menu/menu.component.js";
25
25
  import type { SkfNavItem } from "../../components/nav-item/nav-item.component.js";
26
- import type { SkfPopover } from "../../components/popover/popover.component.js";
26
+ import type { SkfPopover, CustomEvent } from "../../components/popover/popover.component.js";
27
27
  import type { SkfProgress } from "../../components/progress/progress.component.js";
28
- import type { SkfRadio } from "../../components/radio/radio.component.js";
28
+ import type { SkfRadio, Event } from "../../components/radio/radio.component.js";
29
29
  import type {
30
30
  SkfSegmentedButtonItem,
31
31
  CustomEvent,
32
32
  } from "../../components/segmented-button-item/segmented-button-item.component.js";
33
33
  import type { SkfSegmentedButton } from "../../components/segmented-button/segmented-button.component.js";
34
- import type { SkfSelectOption } from "../../components/select-option/select-option.component.js";
35
- import type { SkfTag } from "../../components/tag/tag.component.js";
36
- import type { SkfSelect } from "../../components/select/select.component.js";
37
34
  import type { SkfSelectOptionGroup } from "../../components/select-option-group/select-option-group.component.js";
35
+ import type { SkfTag } from "../../components/tag/tag.component.js";
36
+ import type { SkfSelect, Event, CustomEvent } from "../../components/select/select.component.js";
37
+ import type { SkfSelectOption } from "../../components/select-option/select-option.component.js";
38
38
  import type { SkfStepperItem } from "../../components/stepper-item/stepper-item.component.js";
39
- import type { SkfStepper } from "../../components/stepper/stepper.component.js";
39
+ import type { SkfStepper, CustomEvent } from "../../components/stepper/stepper.component.js";
40
40
  import type { SkfSwitch } from "../../components/switch/switch.component.js";
41
41
  import type { SkfTabPanel } from "../../components/tab-panel/tab-panel.component.js";
42
42
  import type { SkfTabGroup } from "../../components/tab-group/tab-group.component.js";
@@ -57,22 +57,22 @@ type SkfIconProps = {
57
57
  size?: SkfIcon["size"];
58
58
  };
59
59
 
60
- type SkfCollapseProps = {
61
- /** If true, will animate the expand/collapse state */
62
- animated?: SkfCollapse["animated"];
63
- /** If true, will set the collapse to be expanded by default */
64
- expanded?: SkfCollapse["expanded"];
65
- /** Heading for the collapse */
66
- heading?: SkfCollapse["heading"];
60
+ type SkfAccordionItemProps = {
61
+ /** If true, will animate the expand/accordion-item state */
62
+ animated?: SkfAccordionItem["animated"];
63
+ /** If true, will set the accordion-item to be expanded by default */
64
+ expanded?: SkfAccordionItem["expanded"];
65
+ /** Heading for the accordion-item */
66
+ heading?: SkfAccordionItem["heading"];
67
67
  /** Defines which heading element will be rendered */
68
- "heading-as"?: SkfCollapse["headingAs"];
68
+ "heading-as"?: SkfAccordionItem["headingAs"];
69
69
  /** If true, renders the small version */
70
- small?: SkfCollapse["small"];
71
- /** If true, will truncate the heading in collapsed state */
72
- truncate?: SkfCollapse["truncate"];
70
+ small?: SkfAccordionItem["small"];
71
+ /** If true, will truncate the heading in accordion-item state */
72
+ truncate?: SkfAccordionItem["truncate"];
73
73
 
74
74
  /** Event emitted when toggled */
75
- "onskf-collapse-toggle"?: (e: CustomEvent<CustomEvent>) => void;
75
+ "onskf-accordion-item-toggle"?: (e: CustomEvent<CustomEvent>) => void;
76
76
  };
77
77
 
78
78
  type SkfAccordionProps = {
@@ -128,10 +128,6 @@ type SkfLoaderProps = {
128
128
  invert?: SkfLoader["invert"];
129
129
  /** Defines the size of the loader */
130
130
  size?: SkfLoader["size"];
131
- /** */
132
- role?: SkfLoader["role"];
133
- /** */
134
- ariaLive?: SkfLoader["ariaLive"];
135
131
  };
136
132
 
137
133
  type SkfButtonProps = {
@@ -141,8 +137,8 @@ type SkfButtonProps = {
141
137
  disabled?: SkfButton["disabled"];
142
138
  /** If provided, renders an icon before or after the text */
143
139
  icon?: SkfButton["icon"];
144
- /** If true, removes border */
145
- iconOnly?: SkfButton["iconOnly"];
140
+ /** If true, button will take a square shape */
141
+ "icon-only"?: SkfButton["iconOnly"];
146
142
  /** Determines the positioning of the icon in relation to the text */
147
143
  "icon-position"?: SkfButton["iconPosition"];
148
144
  /** If true, hides text & icon and shows loading indicator. **Notice!** Only applicable if `variant` is `primary`. */
@@ -157,7 +153,7 @@ type SkfButtonProps = {
157
153
  variant?: SkfButton["variant"];
158
154
 
159
155
  /** Fires when the button is clicked */
160
- onclick?: (e: CustomEvent<never>) => void;
156
+ onclick?: (e: CustomEvent<CustomEvent>) => void;
161
157
  };
162
158
 
163
159
  type SkfCardProps = {
@@ -197,8 +193,8 @@ type SkfCheckboxProps = {
197
193
  /** The current value of the input field */
198
194
  value?: SkfCheckbox["value"];
199
195
 
200
- /** {object} - When the value of the input changes */
201
- onchange?: (e: CustomEvent<never>) => void;
196
+ /** When the value of the input changes */
197
+ onchange?: (e: CustomEvent<Event>) => void;
202
198
  };
203
199
 
204
200
  type SkfDatePickerProps = {
@@ -248,11 +244,11 @@ type SkfDialogProps = {
248
244
  open?: SkfDialog["open"];
249
245
 
250
246
  /** Fires when the dialog is opened (after transitioned in) */
251
- "onskf-dialog-opened"?: (e: CustomEvent<never>) => void;
252
- /** Fires when the dialog is closed (before transitioned out) */
253
- "onskf-dialog-closing"?: (e: CustomEvent<never>) => void;
247
+ "onskf-dialog-opened"?: (e: CustomEvent<CustomEvent>) => void;
248
+ /** Fires when the dialog is closing (before transitioned out) */
249
+ "onskf-dialog-closing"?: (e: CustomEvent<CustomEvent>) => void;
254
250
  /** Fires when the dialog is closed (after transitioned out) */
255
- "onskf-dialog-closed"?: (e: CustomEvent<never>) => void;
251
+ "onskf-dialog-closed"?: (e: CustomEvent<CustomEvent>) => void;
256
252
  };
257
253
 
258
254
  type SkfDividerProps = {
@@ -275,18 +271,13 @@ type SkfDrawerProps = {
275
271
  open?: SkfDrawer["open"];
276
272
  /** Placement of the Drawer */
277
273
  placement?: SkfDrawer["placement"];
278
- /** */
279
- _clickstartInDialog?: SkfDrawer["_clickstartInDialog"];
280
- /** */
281
- _handleMouseDown?: SkfDrawer["_handleMouseDown"];
282
- /** */
283
- _handleMouseUp?: SkfDrawer["_handleMouseUp"];
274
+
284
275
  /** Fires when the drawer is opened (after transitioned in) */
285
- "onskf-drawer-opened"?: (e: CustomEvent<never>) => void;
286
- /** Fires when the drawer is closed (before transitioned out) */
287
- "onskf-drawer-closing"?: (e: CustomEvent<never>) => void;
276
+ "onskf-drawer-opened"?: (e: CustomEvent<CustomEvent>) => void;
277
+ /** Fires when the drawer is closing (before transitioned out) */
278
+ "onskf-drawer-closing"?: (e: CustomEvent<CustomEvent>) => void;
288
279
  /** Fires when the drawer is closed (after transitioned out) */
289
- "onskf-drawer-closed"?: (e: CustomEvent<never>) => void;
280
+ "onskf-drawer-closed"?: (e: CustomEvent<CustomEvent>) => void;
290
281
  };
291
282
 
292
283
  type SkfLogoProps = {
@@ -317,8 +308,8 @@ type SkfInputProps = {
317
308
  disabled?: SkfInput["undefined"];
318
309
  /** If true, value is required or must be checked for the form to be submittable */
319
310
  required?: SkfInput["undefined"];
320
- /** Specifies what permission the browser has to provide assistance in filling out form field values. Refer to
321
- [this page on MDN](https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/autocomplete) for available values. */
311
+ /** Indicates whether the value of the control can be automatically completed by the browser. See
312
+ [MDN Web Docs](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/autocomplete) for details. */
322
313
  autocomplete?: SkfInput["autocomplete"];
323
314
  /** Custom aria-label for the clear button. **Notice!** Only applicable to type=search. */
324
315
  "button-aria-label-clear"?: SkfInput["buttonAriaLabelClear"];
@@ -334,7 +325,8 @@ type SkfInputProps = {
334
325
  "hide-label"?: SkfInput["hideLabel"];
335
326
  /** If defined, displays informational text below the field */
336
327
  hint?: SkfInput["hint"];
337
- /** Tells what keyboard to use if applicable */
328
+ /** Provides a hint about the type of data that might be entered by the user while editing the element or its contents. See
329
+ [MDN Web Docs](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/inputMode) for details. */
338
330
  inputmode?: SkfInput["inputmode"];
339
331
  /** If defined, sets the input's label. Alternatively, you can use the `label` attribute. */
340
332
  label?: SkfInput["label"];
@@ -366,7 +358,7 @@ type SkfInputProps = {
366
358
  size?: SkfInput["size"];
367
359
  /** If defined, displays a suffix/adornment after the input-element */
368
360
  trailing?: SkfInput["trailing"];
369
- /** Type of input control */
361
+ /** Type of input */
370
362
  type?: SkfInput["type"];
371
363
  /** Sets validation start */
372
364
  "validate-on"?: SkfInput["validateOn"];
@@ -374,9 +366,9 @@ type SkfInputProps = {
374
366
  value?: SkfInput["value"];
375
367
 
376
368
  /** Fires when the value of the input changes */
377
- onchange?: (e: CustomEvent<never>) => void;
369
+ onchange?: (e: CustomEvent<CustomEvent>) => void;
378
370
  /** Fires when the input is invalid */
379
- oninvalid?: (e: CustomEvent<never>) => void;
371
+ oninvalid?: (e: CustomEvent<CustomEvent>) => void;
380
372
  };
381
373
 
382
374
  type SkfLinkProps = {
@@ -404,25 +396,10 @@ type SkfLinkProps = {
404
396
  target?: SkfLink["target"];
405
397
  /** Defines the type of button */
406
398
  type?: SkfLink["type"];
407
- /** If provided, custom function triggered by click where the second return parameter enables custom routing. */
399
+ /** If defined, accepts a function that runs on click. Forwards optional route as second argument. */
408
400
  onClick?: SkfLink["onClick"];
409
401
  };
410
402
 
411
- type SkfMenuProps = {
412
- /** The placement of the menu */
413
- placement?: SkfMenu["undefined"];
414
- /** The id of the element the menu will be anchored to */
415
- anchor?: SkfMenu["undefined"];
416
- /** */
417
- placement?: SkfMenu["placement"];
418
- /** */
419
- triggerEvent?: SkfMenu["triggerEvent"];
420
- /** Fired when the menu is opened */
421
- "onskf-opened"?: (e: CustomEvent<never>) => void;
422
- /** Fired when the menu is closed */
423
- "onskf-closed"?: (e: CustomEvent<never>) => void;
424
- };
425
-
426
403
  type SkfMenuItemProps = {
427
404
  /** Defines the semantic element to render */
428
405
  as?: SkfMenuItem["as"];
@@ -448,22 +425,22 @@ type SkfMenuItemProps = {
448
425
  target?: SkfMenuItem["target"];
449
426
  /** Defines the type of button */
450
427
  type?: SkfMenuItem["type"];
451
- /** If provided, custom function triggered by click where the second return parameter enables custom routing. */
428
+ /** */
429
+ role?: SkfMenuItem["role"];
430
+ /** If defined, accepts a function that runs on click. Forwards optional route as second argument. */
452
431
  onClick?: SkfMenuItem["onClick"];
453
- /** Fired when something happens */
454
- "onmy-tag-my-event"?: (e: CustomEvent<CustomEvent>) => void;
455
- /** Fired when the component is clicked */
456
- onclick?: (e: CustomEvent<never>) => void;
457
- /** Fired when the mouse is over the component */
458
- onmouseover?: (e: CustomEvent<never>) => void;
459
- /** Fired when the mouse is out of the component */
460
- onmouseout?: (e: CustomEvent<never>) => void;
461
- /** Fired when the component is focused */
462
- onfocus?: (e: CustomEvent<never>) => void;
463
- /** Fired when the component is blurred */
464
- onblur?: (e: CustomEvent<never>) => void;
465
- /** Fired when the component's value changes */
466
- onchange?: (e: CustomEvent<never>) => void;
432
+ };
433
+
434
+ type SkfMenuProps = {
435
+ /** The placement of the menu */
436
+ placement?: SkfMenu["undefined"];
437
+ /** The id of the element the menu will be anchored to */
438
+ anchor?: SkfMenu["undefined"];
439
+
440
+ /** Fired when the menu is opened */
441
+ "onskf-opened"?: (e: CustomEvent<CustomEvent>) => void;
442
+ /** Fired when the menu is closed */
443
+ "onskf-closed"?: (e: CustomEvent<CustomEvent>) => void;
467
444
  };
468
445
 
469
446
  type SkfNavItemProps = {
@@ -474,7 +451,7 @@ type SkfNavItemProps = {
474
451
  };
475
452
 
476
453
  type SkfPopoverProps = {
477
- /** The placement of the menu */
454
+ /** The placement of the popover */
478
455
  placement?: SkfPopover["undefined"];
479
456
  /** The id of the element the menu will be anchored to */
480
457
  anchor?: SkfPopover["undefined"];
@@ -482,16 +459,11 @@ type SkfPopoverProps = {
482
459
  offset?: SkfPopover["offset"];
483
460
  /** If true, hides the arrow */
484
461
  hideArrow?: SkfPopover["hideArrow"];
485
- /** */
486
- arrow?: SkfPopover["arrow"];
487
- /** */
488
- placement?: SkfPopover["placement"];
489
- /** */
490
- triggerEvent?: SkfPopover["triggerEvent"];
462
+
491
463
  /** Fired when the menu is opened */
492
- "onskf-opened"?: (e: CustomEvent<never>) => void;
464
+ "onskf-opened"?: (e: CustomEvent<CustomEvent>) => void;
493
465
  /** Fired when the menu is closed */
494
- "onskf-closed"?: (e: CustomEvent<never>) => void;
466
+ "onskf-closed"?: (e: CustomEvent<CustomEvent>) => void;
495
467
  };
496
468
 
497
469
  type SkfProgressProps = {
@@ -529,50 +501,30 @@ type SkfRadioProps = {
529
501
  /** The current value of the input field */
530
502
  value?: SkfRadio["value"];
531
503
 
532
- /** {object} - When the value of the input changes */
533
- onchange?: (e: CustomEvent<never>) => void;
504
+ /** When the value of the input changes */
505
+ onchange?: (e: CustomEvent<Event>) => void;
534
506
  };
535
507
 
536
508
  type SkfSegmentedButtonItemProps = {
537
509
  /** If true, items is marked as disabled */
538
510
  disabled?: SkfSegmentedButtonItem["disabled"];
511
+ /** If true, items is marked as selected */
512
+ selected?: SkfSegmentedButtonItem["selected"];
539
513
  /** Sets the item value */
540
514
  value?: SkfSegmentedButtonItem["value"];
541
515
 
542
- /** Fired when something happens */
543
- "onmy-tag-my-event"?: (e: CustomEvent<CustomEvent>) => void;
516
+ /** Fired when selected */
517
+ "onskf-segmented-button-item-select"?: (e: CustomEvent<CustomEvent>) => void;
544
518
  };
545
519
 
546
520
  type SkfSegmentedButtonProps = {
547
- /** Sets the default selected control */
548
- "default-selected"?: SkfSegmentedButton["defaultSelected"];
549
521
  /** If true, allowes multiple items to be selected */
550
522
  multiple?: SkfSegmentedButton["multiple"];
551
523
  };
552
524
 
553
- type SkfSelectOptionProps = {
554
- /** If true, prevents interaction with the option */
555
- disabled?: SkfSelectOption["disabled"];
556
- /** If defined, set an icon */
557
- icon?: SkfSelectOption["icon"];
558
- /** If defined, sets provided color on the icon */
559
- "icon-color"?: SkfSelectOption["iconColor"];
560
- /** If true, sets the option as selected */
561
- selected?: SkfSelectOption["selected"];
562
- /** If defined, sets a short label */
563
- "short-label"?: SkfSelectOption["shortLabel"];
564
- /** Returns or sets the tags value. If value is omitted, defaults to the tags text. */
565
- value?: SkfSelectOption["value"];
566
- /** The option's label text (equivalent to the tags textContent) */
567
- text?: SkfSelectOption["text"];
568
- /** */
569
- role?: SkfSelectOption["role"];
570
- /** */
571
- _parent?: SkfSelectOption["_parent"];
525
+ type SkfSelectOptionGroupProps = {
572
526
  /** */
573
- _shortcutUpdate?: SkfSelectOption["_shortcutUpdate"];
574
- /** {detail: { value: string | null, option: SkfSelectOption }} Fires when the option is selected/deselected. */
575
- "onskf-select-option:select"?: (e: CustomEvent<never>) => void;
527
+ label?: SkfSelectOptionGroup["label"];
576
528
  };
577
529
 
578
530
  type SkfTagProps = {
@@ -591,8 +543,10 @@ type SkfTagProps = {
591
543
  };
592
544
 
593
545
  type SkfSelectProps = {
594
- /** If true, the select is disabled `default: false` */
546
+ /** If true, the select is disabled */
595
547
  disabled?: SkfSelect["undefined"];
548
+ /** If true, the select is required */
549
+ required?: SkfSelect["undefined"];
596
550
  /** Sets the first visible text on the component */
597
551
  "button-label"?: SkfSelect["buttonLabel"];
598
552
  /** If defined, forces component to invalid state until removed */
@@ -630,20 +584,40 @@ type SkfSelectProps = {
630
584
  /** */
631
585
  _selectedOptions?: SkfSelect["_selectedOptions"];
632
586
  /** Fired when the selected option(s) changes */
633
- onchange?: (e: CustomEvent<never>) => void;
587
+ onchange?: (e: CustomEvent<Event>) => void;
634
588
  /** Fired when the select is invalid */
635
- oninvalid?: (e: CustomEvent<never>) => void;
589
+ oninvalid?: (e: CustomEvent<Event>) => void;
636
590
  /** Fired when the form is reset */
637
- onreset?: (e: CustomEvent<never>) => void;
591
+ onreset?: (e: CustomEvent<Event>) => void;
638
592
  /** {detail: {expanded: boolean}} Fired when the select dropdown is toggled */
639
- "onskf-select:dropdown"?: (e: CustomEvent<never>) => void;
593
+ "onskf-select-dropdown"?: (e: CustomEvent<CustomEvent>) => void;
640
594
  /** {detail: {value: string | null, option: SkfSelectOption}} Fired when the select dropdown is toggled */
641
- "onskf-select-option:select"?: (e: CustomEvent<never>) => void;
595
+ "onskf-select-option-select"?: (e: CustomEvent<CustomEvent>) => void;
642
596
  };
643
597
 
644
- type SkfSelectOptionGroupProps = {
598
+ type SkfSelectOptionProps = {
599
+ /** If true, prevents interaction with the option */
600
+ disabled?: SkfSelectOption["disabled"];
601
+ /** If defined, set an icon */
602
+ icon?: SkfSelectOption["icon"];
603
+ /** If defined, sets provided color on the icon */
604
+ "icon-color"?: SkfSelectOption["iconColor"];
605
+ /** If true, sets the option as selected */
606
+ selected?: SkfSelectOption["selected"];
607
+ /** If defined, sets a short label */
608
+ "short-label"?: SkfSelectOption["shortLabel"];
609
+ /** Returns or sets the tags value. If value is omitted, defaults to the tags text. */
610
+ value?: SkfSelectOption["value"];
611
+ /** The option's label text (equivalent to the tags textContent) */
612
+ text?: SkfSelectOption["text"];
645
613
  /** */
646
- label?: SkfSelectOptionGroup["label"];
614
+ role?: SkfSelectOption["role"];
615
+ /** */
616
+ _parent?: SkfSelectOption["_parent"];
617
+ /** */
618
+ _shortcutUpdate?: SkfSelectOption["_shortcutUpdate"];
619
+ /** {detail: { value: string | null, option: SkfSelectOption }} Fires when the option is selected/deselected. */
620
+ "onskf-select-option-select"?: (e: CustomEvent<never>) => void;
647
621
  };
648
622
 
649
623
  type SkfStepperItemProps = {
@@ -661,12 +635,12 @@ type SkfStepperItemProps = {
661
635
 
662
636
  type SkfStepperProps = {
663
637
  /** Sets the active item */
664
- activeIndex?: SkfStepper["activeIndex"];
638
+ "active-index"?: SkfStepper["activeIndex"];
665
639
  /** If true, sets linear mode (user can't go back to completed steps due to dependencies) */
666
640
  linear?: SkfStepper["linear"];
667
641
 
668
642
  /** Dispatched when the stepper item is selected */
669
- "onskf-stepper-item-select"?: (e: CustomEvent<never>) => void;
643
+ "onskf-stepper-item-select"?: (e: CustomEvent<CustomEvent>) => void;
670
644
  };
671
645
 
672
646
  type SkfSwitchProps = {
@@ -803,9 +777,13 @@ type SkfTooltipProps = {
803
777
  /** The id of the element the dropdown will be anchored to */
804
778
  anchor?: SkfTooltip["undefined"];
805
779
  /** */
780
+ role?: SkfTooltip["role"];
781
+ /** */
806
782
  offset?: SkfTooltip["offset"];
807
783
  /** */
808
784
  placement?: SkfTooltip["placement"];
785
+ /** */
786
+ variant?: SkfTooltip["variant"];
809
787
  /** Fired when the dropdown is opened */
810
788
  "onskf-opened"?: (e: CustomEvent<never>) => void;
811
789
  /** Fired when the dropdown is closed */
@@ -814,21 +792,19 @@ type SkfTooltipProps = {
814
792
 
815
793
  export type CustomElements = {
816
794
  /**
817
- * The `<skf-icon>` component is used to clarify interface elements. When used, should always be paired with (possibly invisible) text
795
+ * The `<skf-icon>` component is used to clarify interface elements. When used, should always be paired with (possibly invisible) text.
818
796
  * ---
819
797
  *
820
798
  */
821
799
  "skf-icon": DefineComponent<SkfIconProps>;
822
800
 
823
801
  /**
824
- * The `<skf-collapse>` component is a general purpose container for content that can be collapsed / expanded.
825
- *
826
- * See [zeroheight](https://zeroheight.com/853e936c9/p/6590bf-accordion) for design principles.
802
+ * The `<skf-accordion-item>` is used in conjunction with the `<skf-accordion>` component
827
803
  * ---
828
804
  *
829
805
  *
830
806
  * ### **Events:**
831
- * - **skf-collapse-toggle** - Event emitted when toggled
807
+ * - **skf-accordion-item-toggle** - Event emitted when toggled
832
808
  *
833
809
  * ### **Methods:**
834
810
  * - **setClose()** - Class method as alternative to manipulate attribute
@@ -837,12 +813,12 @@ export type CustomElements = {
837
813
  * ### **Slots:**
838
814
  * - _default_ - Main content
839
815
  */
840
- "skf-collapse": DefineComponent<SkfCollapseProps>;
816
+ "skf-accordion-item": DefineComponent<SkfAccordionItemProps>;
841
817
 
842
818
  /**
843
- * The `<skf-accordion>` component consists of multiple `<skf-collapse>`, working together.
819
+ * The `<skf-accordion>` component consists of one or more `<skf-accordion-item>` item(s) working together
844
820
  *
845
- * See [zeroheight](https://zeroheight.com/853e936c9/p/6590bf-accordion) for design principles.
821
+ * See [zeroheight](https://zeroheight.com/853e936c9/p/6590bf-accordion) for design principles
846
822
  * ---
847
823
  *
848
824
  *
@@ -853,6 +829,8 @@ export type CustomElements = {
853
829
 
854
830
  /**
855
831
  * The `<skf-alert>` is a type of notification that appears in-line
832
+ *
833
+ * See [zeroheight](https://zeroheight.com/853e936c9/p/990ec5-alert) for design principles
856
834
  * ---
857
835
  *
858
836
  *
@@ -899,6 +877,8 @@ export type CustomElements = {
899
877
 
900
878
  /**
901
879
  * Component to be used in forms or for interactivity
880
+ *
881
+ * See [zeroheight](https://zeroheight.com/853e936c9/p/02493d-buttons) for design principles
902
882
  * ---
903
883
  *
904
884
  *
@@ -915,6 +895,8 @@ export type CustomElements = {
915
895
 
916
896
  /**
917
897
  * The `<skf-card>` can be used to group related subjects in a container
898
+ *
899
+ * See [zeroheight](https://zeroheight.com/853e936c9/p/021eed-card) for design principles
918
900
  * ---
919
901
  *
920
902
  *
@@ -929,7 +911,7 @@ export type CustomElements = {
929
911
  *
930
912
  *
931
913
  * ### **Events:**
932
- * - **change** - {object} - When the value of the input changes
914
+ * - **change** - When the value of the input changes
933
915
  *
934
916
  * ### **Slots:**
935
917
  * - _default_ - The Radios label. Alternatively, you can use the `label` attribute.
@@ -974,7 +956,7 @@ export type CustomElements = {
974
956
  *
975
957
  * ### **Events:**
976
958
  * - **skf-dialog-opened** - Fires when the dialog is opened (after transitioned in)
977
- * - **skf-dialog-closing** - Fires when the dialog is closed (before transitioned out)
959
+ * - **skf-dialog-closing** - Fires when the dialog is closing (before transitioned out)
978
960
  * - **skf-dialog-closed** - Fires when the dialog is closed (after transitioned out)
979
961
  *
980
962
  * ### **Methods:**
@@ -1003,13 +985,13 @@ export type CustomElements = {
1003
985
  "skf-divider": DefineComponent<SkfDividerProps>;
1004
986
 
1005
987
  /**
1006
- * The `<skf-drawer>` is a modal component that displays content and toggle by sliding from left/right viewport edge.
988
+ * The `<skf-drawer>` is a modal component that displays content and toggle by sliding from left/right viewport edge
1007
989
  * ---
1008
990
  *
1009
991
  *
1010
992
  * ### **Events:**
1011
993
  * - **skf-drawer-opened** - Fires when the drawer is opened (after transitioned in)
1012
- * - **skf-drawer-closing** - Fires when the drawer is closed (before transitioned out)
994
+ * - **skf-drawer-closing** - Fires when the drawer is closing (before transitioned out)
1013
995
  * - **skf-drawer-closed** - Fires when the drawer is closed (after transitioned out)
1014
996
  *
1015
997
  * ### **Slots:**
@@ -1038,7 +1020,7 @@ export type CustomElements = {
1038
1020
  "skf-nav": DefineComponent<SkfNavProps>;
1039
1021
 
1040
1022
  /**
1041
- * The `<skf-header>` component is to be used as the site-header in the app
1023
+ * The `<skf-header>` component is to be used as the site-header in the app. The navigation will be collapsed to mobile-view if the menu items exceed the available width.
1042
1024
  * ---
1043
1025
  *
1044
1026
  *
@@ -1048,7 +1030,9 @@ export type CustomElements = {
1048
1030
  "skf-header": DefineComponent<SkfHeaderProps>;
1049
1031
 
1050
1032
  /**
1051
- * The skf-text-field is used to create a text input field. It can be used inside a form element or standalone.
1033
+ * The skf-text-field is used to create a text input field. It can be used inside a form element or standalone
1034
+ *
1035
+ * See [zeroheight](https://zeroheight.com/853e936c9/p/9481fa-input-field) for design principles
1052
1036
  * ---
1053
1037
  *
1054
1038
  *
@@ -1072,38 +1056,30 @@ export type CustomElements = {
1072
1056
  "skf-link": DefineComponent<SkfLinkProps>;
1073
1057
 
1074
1058
  /**
1075
- * The `<skf-menu>` is a component that displays a list of actions or options.
1059
+ * The `<skf-menu-item>` is used in conjunction with the `<skf-menu>` component
1076
1060
  * ---
1077
1061
  *
1078
1062
  *
1079
- * ### **Events:**
1080
- * - **skf-opened** - Fired when the menu is opened
1081
- * - **skf-closed** - Fired when the menu is closed
1082
- *
1083
1063
  * ### **Slots:**
1084
- * - _default_ - The menu popover content
1064
+ * - _default_ - The component's main content
1085
1065
  */
1086
- "skf-menu": DefineComponent<SkfMenuProps>;
1066
+ "skf-menu-item": DefineComponent<SkfMenuItemProps>;
1087
1067
 
1088
1068
  /**
1089
- * The `<skf-menu-item>` is a component that displays a list of actions or options.
1069
+ * The `<skf-menu>` is a component that displays a list of actions or options
1070
+ *
1071
+ * See [zeroheight](https://zeroheight.com/853e936c9/p/983e5d-popover) for design principles
1090
1072
  * ---
1091
1073
  *
1092
1074
  *
1093
1075
  * ### **Events:**
1094
- * - **my-tag-my-event** - Fired when something happens
1095
- * - **click** - Fired when the component is clicked
1096
- * - **mouseover** - Fired when the mouse is over the component
1097
- * - **mouseout** - Fired when the mouse is out of the component
1098
- * - **focus** - Fired when the component is focused
1099
- * - **blur** - Fired when the component is blurred
1100
- * - **change** - Fired when the component's value changes
1076
+ * - **skf-opened** - Fired when the menu is opened
1077
+ * - **skf-closed** - Fired when the menu is closed
1101
1078
  *
1102
1079
  * ### **Slots:**
1103
- * - _default_ - The component's main content
1104
- * - **my-named-slot** - A named slot of the component
1080
+ * - _default_ - The menu popover content
1105
1081
  */
1106
- "skf-menu-item": DefineComponent<SkfMenuItemProps>;
1082
+ "skf-menu": DefineComponent<SkfMenuProps>;
1107
1083
 
1108
1084
  /**
1109
1085
  * The `<skf-nav>` is a component that displays a list of <nav-items>.
@@ -1117,6 +1093,8 @@ export type CustomElements = {
1117
1093
 
1118
1094
  /**
1119
1095
  * The `<skf-popover>` is a general purpose component that displays the slot content in a popover.
1096
+ *
1097
+ * See [zeroheight](https://zeroheight.com/853e936c9/p/983e5d-popover) for design principles
1120
1098
  * ---
1121
1099
  *
1122
1100
  *
@@ -1138,11 +1116,13 @@ export type CustomElements = {
1138
1116
 
1139
1117
  /**
1140
1118
  * The `<skf-radio>` component is used to create a radio input
1119
+ *
1120
+ * See [zeroheight](https://zeroheight.com/853e936c9/p/78d5dd-radio-button) for design principles
1141
1121
  * ---
1142
1122
  *
1143
1123
  *
1144
1124
  * ### **Events:**
1145
- * - **change** - {object} - When the value of the input changes
1125
+ * - **change** - When the value of the input changes
1146
1126
  *
1147
1127
  * ### **Slots:**
1148
1128
  * - _default_ - The radios label. Alternatively, you can use the `label` attribute.
@@ -1155,10 +1135,10 @@ export type CustomElements = {
1155
1135
  *
1156
1136
  *
1157
1137
  * ### **Events:**
1158
- * - **my-tag-my-event** - Fired when something happens
1138
+ * - **skf-segmented-button-item-select** - Fired when selected
1159
1139
  *
1160
1140
  * ### **Slots:**
1161
- * - _default_ - The items label
1141
+ * - _default_ - Label for the button
1162
1142
  */
1163
1143
  "skf-segmented-button-item": DefineComponent<SkfSegmentedButtonItemProps>;
1164
1144
 
@@ -1175,18 +1155,14 @@ export type CustomElements = {
1175
1155
  "skf-segmented-button": DefineComponent<SkfSegmentedButtonProps>;
1176
1156
 
1177
1157
  /**
1178
- * The `<skf-select-option>` is a component is used nested in a skf-select or skf-select-option-group.
1158
+ * The `<skf-select-option-group>` is a component that groups select-options
1179
1159
  * ---
1180
1160
  *
1181
1161
  *
1182
- * ### **Events:**
1183
- * - **skf-select-option:select** - {detail: { value: string | null, option: SkfSelectOption }} Fires when the option is selected/deselected.
1184
- *
1185
1162
  * ### **Slots:**
1186
- * - _default_ - The option's text content
1187
- * - **icon** - The option's slot for icon or custom meta information (svg).
1163
+ * - _default_ - The component's placeholder content
1188
1164
  */
1189
- "skf-select-option": DefineComponent<SkfSelectOptionProps>;
1165
+ "skf-select-option-group": DefineComponent<SkfSelectOptionGroupProps>;
1190
1166
 
1191
1167
  /**
1192
1168
  * The `<skf-tag>` is a component that displays a list of actions or options
@@ -1200,6 +1176,8 @@ export type CustomElements = {
1200
1176
 
1201
1177
  /**
1202
1178
  * The `<skf-select>` is a component that displays a list of actions or options. A click in the options list toggle the selected state of the option. Use it together with the ´skf-select-option` tag.
1179
+ *
1180
+ * See [zeroheight](https://zeroheight.com/853e936c9/p/91c9f0-select-and-combobox) for design principles
1203
1181
  * ---
1204
1182
  *
1205
1183
  *
@@ -1207,8 +1185,8 @@ export type CustomElements = {
1207
1185
  * - **change** - Fired when the selected option(s) changes
1208
1186
  * - **invalid** - Fired when the select is invalid
1209
1187
  * - **reset** - Fired when the form is reset
1210
- * - **skf-select:dropdown** - {detail: {expanded: boolean}} Fired when the select dropdown is toggled
1211
- * - **skf-select-option:select** - {detail: {value: string | null, option: SkfSelectOption}} Fired when the select dropdown is toggled
1188
+ * - **skf-select-dropdown** - {detail: {expanded: boolean}} Fired when the select dropdown is toggled
1189
+ * - **skf-select-option-select** - {detail: {value: string | null, option: SkfSelectOption}} Fired when the select dropdown is toggled
1212
1190
  *
1213
1191
  * ### **Slots:**
1214
1192
  * - _default_ - The select's placeholder content
@@ -1216,14 +1194,18 @@ export type CustomElements = {
1216
1194
  "skf-select": DefineComponent<SkfSelectProps>;
1217
1195
 
1218
1196
  /**
1219
- * The `<skf-select-option-group>` is a component that groups select-options
1197
+ * The `<skf-select-option>` is a component is used nested in a skf-select or skf-select-option-group.
1220
1198
  * ---
1221
1199
  *
1222
1200
  *
1201
+ * ### **Events:**
1202
+ * - **skf-select-option-select** - {detail: { value: string | null, option: SkfSelectOption }} Fires when the option is selected/deselected.
1203
+ *
1223
1204
  * ### **Slots:**
1224
- * - _default_ - The component's placeholder content
1205
+ * - _default_ - The option's text content
1206
+ * - **icon** - The option's slot for icon or custom meta information (svg).
1225
1207
  */
1226
- "skf-select-option-group": DefineComponent<SkfSelectOptionGroupProps>;
1208
+ "skf-select-option": DefineComponent<SkfSelectOptionProps>;
1227
1209
 
1228
1210
  /**
1229
1211
  * The `<skf-stepper-item>` is used in conjunction with the `<skf-stepper>` component