@skf-design-system/ui-components 1.0.0-beta.7 → 1.0.1-beta.0

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 (115) hide show
  1. package/dist/components/accordion/accordion.component.js +3 -3
  2. package/dist/components/alert/alert.component.d.ts +2 -2
  3. package/dist/components/alert/alert.component.js +32 -32
  4. package/dist/components/breadcrumb/breadcrumb.component.d.ts +29 -0
  5. package/dist/components/breadcrumb/breadcrumb.d.ts +8 -0
  6. package/dist/components/breadcrumb/breadcrumb.styles.d.ts +1 -0
  7. package/dist/components/breadcrumb-item/breadcrumb-item.component.d.ts +25 -0
  8. package/dist/components/breadcrumb-item/breadcrumb-item.d.ts +8 -0
  9. package/dist/components/breadcrumb-item/breadcrumb-item.styles.d.ts +1 -0
  10. package/dist/components/button/button.component.d.ts +3 -1
  11. package/dist/components/button/button.component.js +60 -47
  12. package/dist/components/button/button.styles.js +64 -45
  13. package/dist/components/card/card.component.js +4 -4
  14. package/dist/components/checkbox/checkbox.component.js +4 -4
  15. package/dist/components/dialog/dialog.component.d.ts +0 -1
  16. package/dist/components/dialog/dialog.component.js +21 -23
  17. package/dist/components/divider/divider.component.js +12 -12
  18. package/dist/components/heading/heading.component.js +13 -13
  19. package/dist/components/icon/icon.component.d.ts +1 -4
  20. package/dist/components/icon/icon.component.js +32 -23
  21. package/dist/components/icon/icon.styles.js +53 -47
  22. package/dist/components/link/link.component.d.ts +1 -0
  23. package/dist/components/link/link.component.js +42 -42
  24. package/dist/components/loader/loader.component.js +19 -19
  25. package/dist/components/logo/logo.component.js +6 -6
  26. package/dist/components/menu/menu.component.d.ts +24 -0
  27. package/dist/components/menu/menu.component.js +18 -0
  28. package/dist/components/menu/menu.d.ts +8 -0
  29. package/dist/components/menu/menu.js +6 -0
  30. package/dist/components/menu/menu.styles.d.ts +1 -0
  31. package/dist/components/menu/menu.styles.js +11 -0
  32. package/dist/components/menu-item/menu-item.component.d.ts +25 -0
  33. package/dist/components/menu-item/menu-item.component.js +13 -0
  34. package/dist/components/menu-item/menu-item.d.ts +8 -0
  35. package/dist/components/menu-item/menu-item.js +6 -0
  36. package/dist/components/menu-item/menu-item.styles.d.ts +1 -0
  37. package/dist/components/menu-item/menu-item.styles.js +19 -0
  38. package/dist/components/popover/popover.component.d.ts +29 -0
  39. package/dist/components/popover/popover.component.js +37 -0
  40. package/dist/components/popover/popover.d.ts +8 -0
  41. package/dist/components/popover/popover.js +6 -0
  42. package/dist/components/popover/popover.styles.d.ts +1 -0
  43. package/dist/components/popover/popover.styles.js +12 -0
  44. package/dist/components/progress/progress.component.js +7 -7
  45. package/dist/components/radio/radio.component.js +4 -4
  46. package/dist/components/select/select.component.d.ts +8 -10
  47. package/dist/components/select/select.component.js +115 -118
  48. package/dist/components/select/select.controllers.d.ts +0 -25
  49. package/dist/components/select/select.controllers.js +35 -95
  50. package/dist/components/select-option-group/select-option-group.component.js +9 -9
  51. package/dist/components/stepper/stepper.component.d.ts +38 -0
  52. package/dist/components/stepper/stepper.component.js +91 -0
  53. package/dist/components/stepper/stepper.d.ts +8 -0
  54. package/dist/components/stepper/stepper.helpers.d.ts +16 -0
  55. package/dist/components/stepper/stepper.helpers.js +18 -0
  56. package/dist/components/stepper/stepper.js +6 -0
  57. package/dist/components/stepper/stepper.styles.d.ts +1 -0
  58. package/dist/components/stepper/stepper.styles.js +15 -0
  59. package/dist/components/stepper-item/stepper-item.component.d.ts +47 -0
  60. package/dist/components/stepper-item/stepper-item.component.js +113 -0
  61. package/dist/components/stepper-item/stepper-item.d.ts +8 -0
  62. package/dist/components/stepper-item/stepper-item.js +6 -0
  63. package/dist/components/stepper-item/stepper-item.styles.d.ts +1 -0
  64. package/dist/components/stepper-item/stepper-item.styles.js +98 -0
  65. package/dist/components/tab/tab.component.js +4 -4
  66. package/dist/components/tab-panel/tab-panel.component.js +12 -12
  67. package/dist/components/tag/tag.component.js +9 -9
  68. package/dist/components/textarea/textarea.component.js +3 -3
  69. package/dist/components/toast/toast.component.d.ts +7 -4
  70. package/dist/components/toast/toast.component.js +30 -26
  71. package/dist/components/toast/toast.singleton.d.ts +2 -7
  72. package/dist/components/toast/toast.singleton.js +25 -25
  73. package/dist/components/toast-item/toast-item.component.js +15 -15
  74. package/dist/components/toast-item/toast-item.styles.js +13 -11
  75. package/dist/components/toast-wrapper/toast-wrapper.component.js +10 -10
  76. package/dist/components/tooltip/tooltip.component.d.ts +24 -0
  77. package/dist/components/tooltip/tooltip.component.js +18 -0
  78. package/dist/components/tooltip/tooltip.d.ts +8 -0
  79. package/dist/components/tooltip/tooltip.js +6 -0
  80. package/dist/components/tooltip/tooltip.styles.d.ts +1 -0
  81. package/dist/components/tooltip/tooltip.styles.js +12 -0
  82. package/dist/custom-elements.json +2179 -1002
  83. package/dist/index.d.ts +6 -0
  84. package/dist/index.js +72 -54
  85. package/dist/internal/base-classes/popover/popover.base.d.ts +29 -0
  86. package/dist/internal/base-classes/popover/popover.base.js +116 -0
  87. package/dist/internal/base-classes/popover/popover.styles.d.ts +1 -0
  88. package/dist/internal/base-classes/popover/popover.styles.js +29 -0
  89. package/dist/internal/components/hint/hint.component.js +13 -13
  90. package/dist/internal/controllers/popover.controller.d.ts +16 -0
  91. package/dist/internal/controllers/popover.controller.js +44 -0
  92. package/dist/internal/helpers/hintSeverity.d.ts +1 -1
  93. package/dist/react/index.d.ts +10 -2
  94. package/dist/react/index.js +10 -2
  95. package/dist/react/skf-breadcrumb/index.d.ts +9 -0
  96. package/dist/react/skf-breadcrumb/index.js +17 -0
  97. package/dist/react/skf-breadcrumb-item/index.d.ts +3 -0
  98. package/dist/react/skf-breadcrumb-item/index.js +13 -0
  99. package/dist/react/skf-menu/index.d.ts +12 -0
  100. package/dist/react/skf-menu/index.js +18 -0
  101. package/dist/react/skf-menu-item/index.d.ts +27 -0
  102. package/dist/react/skf-menu-item/index.js +23 -0
  103. package/dist/react/skf-popover/index.d.ts +12 -0
  104. package/dist/react/skf-popover/index.js +18 -0
  105. package/dist/react/skf-stepper/index.d.ts +9 -0
  106. package/dist/react/skf-stepper/index.js +17 -0
  107. package/dist/react/skf-stepper-item/index.d.ts +9 -0
  108. package/dist/react/skf-stepper-item/index.js +17 -0
  109. package/dist/react/skf-tooltip/index.d.ts +12 -0
  110. package/dist/react/skf-tooltip/index.js +18 -0
  111. package/dist/types/jsx/custom-element-jsx.d.ts +594 -163
  112. package/dist/types/vue/index.d.ts +326 -74
  113. package/dist/vscode.html-custom-data.json +722 -390
  114. package/dist/web-types.json +836 -290
  115. package/package.json +33 -33
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$schema": "https://raw.githubusercontent.com/JetBrains/web-types/master/schema/web-types.json",
3
3
  "name": "@skf-design-system/ui-components",
4
- "version": "1.0.0-beta.7",
4
+ "version": "1.0.1",
5
5
  "description-markup": "markdown",
6
6
  "contributions": {
7
7
  "html": {
@@ -88,6 +88,281 @@
88
88
  "events": []
89
89
  }
90
90
  },
91
+ {
92
+ "name": "skf-alert",
93
+ "description": "The `<skf-alert>` is a type of notification that appears in-line\n---\n\n\n### **Events:**\n - **skf-alert-close** - Fires when the close button is clicked\n\n### **Slots:**\n - _default_ - Alert message. **Notice!** See design principles for approved content\n- **link** - Slot for the link",
94
+ "doc-url": "",
95
+ "attributes": [
96
+ {
97
+ "name": "button-label",
98
+ "description": "Close button aria-label",
99
+ "value": { "type": "string", "default": "'Close'" }
100
+ },
101
+ {
102
+ "name": "icon",
103
+ "description": "If defined, displays leading icon",
104
+ "value": { "type": "SkfIcon['name'] | undefined" }
105
+ },
106
+ {
107
+ "name": "persistent",
108
+ "description": "If true, renders with an close button and sets aria-role to `status`",
109
+ "value": { "type": "boolean | undefined" }
110
+ },
111
+ {
112
+ "name": "severity",
113
+ "description": "If defined, gives the supplied appearance",
114
+ "value": {
115
+ "type": "\"error\" | \"info\" | \"warning\" | \"success\" | \"alert\""
116
+ }
117
+ }
118
+ ],
119
+ "slots": [
120
+ {
121
+ "name": "",
122
+ "description": "Alert message. **Notice!** See design principles for approved content"
123
+ },
124
+ { "name": "link", "description": "Slot for the link" }
125
+ ],
126
+ "events": [
127
+ {
128
+ "name": "skf-alert-close",
129
+ "description": "Fires when the close button is clicked"
130
+ }
131
+ ],
132
+ "js": {
133
+ "properties": [
134
+ {
135
+ "name": "buttonLabel",
136
+ "description": "Close button aria-label",
137
+ "type": "string"
138
+ },
139
+ {
140
+ "name": "icon",
141
+ "description": "If defined, displays leading icon",
142
+ "type": "SkfIcon['name'] | undefined"
143
+ },
144
+ {
145
+ "name": "persistent",
146
+ "description": "If true, renders with an close button and sets aria-role to `status`",
147
+ "type": "boolean | undefined"
148
+ },
149
+ {
150
+ "name": "severity",
151
+ "description": "If defined, gives the supplied appearance",
152
+ "type": "\"error\" | \"info\" | \"warning\" | \"success\" | \"alert\""
153
+ }
154
+ ],
155
+ "events": [
156
+ {
157
+ "name": "skf-alert-close",
158
+ "description": "Fires when the close button is clicked"
159
+ }
160
+ ]
161
+ }
162
+ },
163
+ {
164
+ "name": "skf-breadcrumb",
165
+ "description": "The `<skf-breadcrumb>` component consists of multiple `<skf-breadcrumb-item>`, working together.\n---\n\n\n### **Events:**\n - **click** - Fired when the item is clicked\n\n### **Slots:**\n - _default_ - One or more `<skf-breadcrumb-item>`",
166
+ "doc-url": "",
167
+ "attributes": [
168
+ {
169
+ "name": "label",
170
+ "description": "aria-label for the breadcrumb control",
171
+ "value": { "type": "string", "default": "'Breadcrumb'" }
172
+ },
173
+ {
174
+ "name": "size",
175
+ "description": "Displays an alternative size",
176
+ "value": { "type": "'md' | 'sm'", "default": "'md'" }
177
+ }
178
+ ],
179
+ "slots": [
180
+ { "name": "", "description": "One or more `<skf-breadcrumb-item>`" }
181
+ ],
182
+ "events": [
183
+ { "name": "click", "description": "Fired when the item is clicked" }
184
+ ],
185
+ "js": {
186
+ "properties": [
187
+ {
188
+ "name": "label",
189
+ "description": "aria-label for the breadcrumb control",
190
+ "type": "string"
191
+ },
192
+ {
193
+ "name": "size",
194
+ "description": "Displays an alternative size",
195
+ "type": "'md' | 'sm'"
196
+ }
197
+ ],
198
+ "events": [
199
+ {
200
+ "name": "click",
201
+ "description": "Fired when the item is clicked"
202
+ }
203
+ ]
204
+ }
205
+ },
206
+ {
207
+ "name": "skf-breadcrumb-item",
208
+ "description": "The `<skf-breadcrumb-item>` is used in conjunction with the `<skf-breadcrumb>` component\n---\n\n\n### **Slots:**\n - _default_ - Label of the breadcrumb item",
209
+ "doc-url": "",
210
+ "attributes": [
211
+ {
212
+ "name": "href",
213
+ "description": "If defined, loads url on click",
214
+ "value": { "type": "string | undefined" }
215
+ }
216
+ ],
217
+ "slots": [
218
+ { "name": "", "description": "Label of the breadcrumb item" }
219
+ ],
220
+ "events": [],
221
+ "js": {
222
+ "properties": [
223
+ {
224
+ "name": "href",
225
+ "description": "If defined, loads url on click",
226
+ "type": "string | undefined"
227
+ },
228
+ {
229
+ "name": "onClick",
230
+ "description": "If defined, custom onClick where the second return parameter enables custom routing. **Notice!** Only applicable if `href` is defined."
231
+ }
232
+ ],
233
+ "events": []
234
+ }
235
+ },
236
+ {
237
+ "name": "skf-button",
238
+ "description": "Component to be used in forms or for interactivity\n---\n\n\n### **Events:**\n - **click** - Fires when the button is clicked\n\n### **Methods:**\n - **click()** - Simulates a click on the button.\n\n### **Slots:**\n - _default_ - The Primary content",
239
+ "doc-url": "",
240
+ "attributes": [
241
+ {
242
+ "name": "destructive",
243
+ "description": "If true, gives destructive appearance. **Notice!** Only applicable if `variant` is `primary`.",
244
+ "value": { "type": "boolean", "default": "false" }
245
+ },
246
+ {
247
+ "name": "disabled",
248
+ "description": "If true, removes border",
249
+ "value": { "type": "boolean", "default": "false" }
250
+ },
251
+ {
252
+ "name": "icon",
253
+ "description": "If provided, renders an icon before or after the text",
254
+ "value": {
255
+ "type": "\"arrowDown\" | \"arrowDownUp\" | \"arrowLeft\" | \"arrowRight\" | \"arrowUp\" | \"article\" | \"artificialIntelligence\" | \"asset\" | \"attachment\" | \"bandCursor\" | \"bands\" | \"batteryEmpty\" | \"batteryFull\" | \"batteryLow\" | \"bearingFault\" | \"book\" | \"bulb\" | \"burger\" | \"cPM\" | \"calendar\" | \"calendarBooked\" | \"calendarEmpty\" | \"calendarNotBooked\" | \"calendarRecurring\" | \"caretDown\" | \"caretUp\" | \"caretUpDown\" | \"chat\" | \"check\" | \"checkCircle\" | \"checkSmall\" | \"chevronDown\" | \"chevronLeft\" | \"chevronRight\" | \"chevronUp\" | \"chevronUpDown\" | \"close\" | \"closeAllFaults\" | \"closeFault\" | \"closeSmall\" | \"columnGraph\" | \"comment\" | \"connection1\" | \"connection2\" | \"connection3\" | \"connection4\" | \"danger\" | \"defectFrequencies\" | \"defectFrequenciesAlternative\" | \"doubleChevronLeft\" | \"doubleChevronRight\" | \"download\" | \"draft\" | \"draftFilled\" | \"draftOutlined\" | \"dragNDrop\" | \"drop\" | \"duplicate\" | \"edit\" | \"emailFilled\" | \"emailOutlined\" | \"exclamation\" | \"eye\" | \"eyeHidden\" | \"eyeVisible\" | \"filter\" | \"forbidden\" | \"fullScreen\" | \"fullScreenExit\" | \"functionalLocation\" | \"harmonicCursor\" | \"heatmap\" | \"hierarchy\" | \"history\" | \"historyAlt\" | \"hourglassFramedFilled\" | \"hourglassFramedOutlined\" | \"hourglassOutlined\" | \"hz\" | \"iMX\" | \"image\" | \"infoCircleFilled\" | \"infoCircleOutlined\" | \"integration\" | \"kebab\" | \"link\" | \"listGroup\" | \"listItem\" | \"locationPin\" | \"lock\" | \"logOut\" | \"meatballs\" | \"microphone\" | \"minus\" | \"minusSmall\" | \"noData\" | \"o\" | \"openInNew\" | \"overlayBaseline\" | \"pDF\" | \"paper\" | \"pause\" | \"pieChart\" | \"pin\" | \"play\" | \"plus\" | \"powerOff\" | \"printer\" | \"proCollect\" | \"recAction\" | \"received\" | \"refresh\" | \"reorder\" | \"replace\" | \"reply\" | \"rewalkableRoute\" | \"routes\" | \"search\" | \"send\" | \"sensorA\" | \"sensorB\" | \"settings\" | \"sidebandCursor\" | \"singleCursor\" | \"spectrum\" | \"starFilled\" | \"starOutlined\" | \"statusCircle\" | \"stop\" | \"structuralVibration\" | \"sync\" | \"timewave\" | \"trash\" | \"trend\" | \"trendingUp\" | \"undo\" | \"unknownCircle\" | \"unknownDiamond\" | \"unlink\" | \"unlock\" | \"unscheduledAction\" | \"upload\" | \"user\" | \"viewFull\" | \"viewHorizontal\" | \"viewVertical\" | \"warning\" | \"warningCircle\" | \"warningDiamond\" | \"zoomIn\" | \"zoomOut\""
256
+ }
257
+ },
258
+ {
259
+ "name": "iconOnly",
260
+ "description": "If true, removes border",
261
+ "value": { "type": "boolean", "default": "false" }
262
+ },
263
+ {
264
+ "name": "icon-position",
265
+ "description": "If provided, determines the positioning of the icon in relation to the text",
266
+ "value": {
267
+ "type": "'left' | 'right' | undefined",
268
+ "default": "'left'"
269
+ }
270
+ },
271
+ {
272
+ "name": "loading",
273
+ "description": "If true, hides text & icon and shows loading indicator. **Notice!** Only applicable if `variant` is `primary`.",
274
+ "value": { "type": "boolean", "default": "false" }
275
+ },
276
+ {
277
+ "name": "no-validate",
278
+ "value": { "type": "boolean", "default": "false" }
279
+ },
280
+ {
281
+ "name": "size",
282
+ "description": "If provided, displays an alternative size",
283
+ "value": { "type": "'sm' | 'md' | 'lg'", "default": "'md'" }
284
+ },
285
+ {
286
+ "name": "type",
287
+ "description": "If provided, changes the button type",
288
+ "value": {
289
+ "type": "'button' | 'submit' | 'reset'",
290
+ "default": "'button'"
291
+ }
292
+ },
293
+ {
294
+ "name": "variant",
295
+ "description": "If provided, alters the appearance",
296
+ "value": {
297
+ "type": "'primary' | 'secondary' | 'tertiary'",
298
+ "default": "'primary'"
299
+ }
300
+ }
301
+ ],
302
+ "slots": [{ "name": "", "description": "The Primary content" }],
303
+ "events": [
304
+ {
305
+ "name": "click",
306
+ "description": "Fires when the button is clicked"
307
+ }
308
+ ],
309
+ "js": {
310
+ "properties": [
311
+ {
312
+ "name": "destructive",
313
+ "description": "If true, gives destructive appearance. **Notice!** Only applicable if `variant` is `primary`.",
314
+ "type": "boolean"
315
+ },
316
+ {
317
+ "name": "disabled",
318
+ "description": "If true, removes border",
319
+ "type": "boolean"
320
+ },
321
+ {
322
+ "name": "icon",
323
+ "description": "If provided, renders an icon before or after the text",
324
+ "type": "\"arrowDown\" | \"arrowDownUp\" | \"arrowLeft\" | \"arrowRight\" | \"arrowUp\" | \"article\" | \"artificialIntelligence\" | \"asset\" | \"attachment\" | \"bandCursor\" | \"bands\" | \"batteryEmpty\" | \"batteryFull\" | \"batteryLow\" | \"bearingFault\" | \"book\" | \"bulb\" | \"burger\" | \"cPM\" | \"calendar\" | \"calendarBooked\" | \"calendarEmpty\" | \"calendarNotBooked\" | \"calendarRecurring\" | \"caretDown\" | \"caretUp\" | \"caretUpDown\" | \"chat\" | \"check\" | \"checkCircle\" | \"checkSmall\" | \"chevronDown\" | \"chevronLeft\" | \"chevronRight\" | \"chevronUp\" | \"chevronUpDown\" | \"close\" | \"closeAllFaults\" | \"closeFault\" | \"closeSmall\" | \"columnGraph\" | \"comment\" | \"connection1\" | \"connection2\" | \"connection3\" | \"connection4\" | \"danger\" | \"defectFrequencies\" | \"defectFrequenciesAlternative\" | \"doubleChevronLeft\" | \"doubleChevronRight\" | \"download\" | \"draft\" | \"draftFilled\" | \"draftOutlined\" | \"dragNDrop\" | \"drop\" | \"duplicate\" | \"edit\" | \"emailFilled\" | \"emailOutlined\" | \"exclamation\" | \"eye\" | \"eyeHidden\" | \"eyeVisible\" | \"filter\" | \"forbidden\" | \"fullScreen\" | \"fullScreenExit\" | \"functionalLocation\" | \"harmonicCursor\" | \"heatmap\" | \"hierarchy\" | \"history\" | \"historyAlt\" | \"hourglassFramedFilled\" | \"hourglassFramedOutlined\" | \"hourglassOutlined\" | \"hz\" | \"iMX\" | \"image\" | \"infoCircleFilled\" | \"infoCircleOutlined\" | \"integration\" | \"kebab\" | \"link\" | \"listGroup\" | \"listItem\" | \"locationPin\" | \"lock\" | \"logOut\" | \"meatballs\" | \"microphone\" | \"minus\" | \"minusSmall\" | \"noData\" | \"o\" | \"openInNew\" | \"overlayBaseline\" | \"pDF\" | \"paper\" | \"pause\" | \"pieChart\" | \"pin\" | \"play\" | \"plus\" | \"powerOff\" | \"printer\" | \"proCollect\" | \"recAction\" | \"received\" | \"refresh\" | \"reorder\" | \"replace\" | \"reply\" | \"rewalkableRoute\" | \"routes\" | \"search\" | \"send\" | \"sensorA\" | \"sensorB\" | \"settings\" | \"sidebandCursor\" | \"singleCursor\" | \"spectrum\" | \"starFilled\" | \"starOutlined\" | \"statusCircle\" | \"stop\" | \"structuralVibration\" | \"sync\" | \"timewave\" | \"trash\" | \"trend\" | \"trendingUp\" | \"undo\" | \"unknownCircle\" | \"unknownDiamond\" | \"unlink\" | \"unlock\" | \"unscheduledAction\" | \"upload\" | \"user\" | \"viewFull\" | \"viewHorizontal\" | \"viewVertical\" | \"warning\" | \"warningCircle\" | \"warningDiamond\" | \"zoomIn\" | \"zoomOut\""
325
+ },
326
+ {
327
+ "name": "iconOnly",
328
+ "description": "If true, removes border",
329
+ "type": "boolean"
330
+ },
331
+ {
332
+ "name": "iconPosition",
333
+ "description": "If provided, determines the positioning of the icon in relation to the text",
334
+ "type": "'left' | 'right' | undefined"
335
+ },
336
+ {
337
+ "name": "loading",
338
+ "description": "If true, hides text & icon and shows loading indicator. **Notice!** Only applicable if `variant` is `primary`.",
339
+ "type": "boolean"
340
+ },
341
+ { "name": "noValidate", "type": "boolean" },
342
+ {
343
+ "name": "size",
344
+ "description": "If provided, displays an alternative size",
345
+ "type": "'sm' | 'md' | 'lg'"
346
+ },
347
+ {
348
+ "name": "type",
349
+ "description": "If provided, changes the button type",
350
+ "type": "'button' | 'submit' | 'reset'"
351
+ },
352
+ {
353
+ "name": "variant",
354
+ "description": "If provided, alters the appearance",
355
+ "type": "'primary' | 'secondary' | 'tertiary'"
356
+ }
357
+ ],
358
+ "events": [
359
+ {
360
+ "name": "click",
361
+ "description": "Fires when the button is clicked"
362
+ }
363
+ ]
364
+ }
365
+ },
91
366
  {
92
367
  "name": "skf-card",
93
368
  "description": "The `<skf-card>` can be used to group related subjects in a container\n---\n\n\n### **Slots:**\n - _default_ - The card's main content",
@@ -371,7 +646,7 @@
371
646
  },
372
647
  {
373
648
  "name": "skf-dialog",
374
- "description": "The `<skf-dialog>` is a component that open up a dialog with the content provided\n---\n\n\n### **Events:**\n - **skf-dialog-open** - Fires when the dialog is opened (after transitioned in)\n- **skf-dialog-close** - Fires when the dialog is closed (before transitioned out)\n- **close** - Fires when the dialog is closed (after transitioned out)\n\n### **Slots:**\n - _default_ - The dialog component's content\n- **heading** - The dialog component's heading\n- **footer** - The dialog component's buttons goes here\n\n### **CSS Properties:**\n - **--skf-dialog-height** - A custom height for the Dialog. Pass valid CSS **block-size** values _(default: undefined)_\n- **--skf-dialog-width** - A custom width for the Dialog Pass valid CSS **inline-size** values _(default: undefined)_",
649
+ "description": "The `<skf-dialog>` is a component that open up a dialog with the content provided\n---\n\n\n### **Events:**\n - **skf-dialog-open** - Fires when the dialog is opened (after transitioned in)\n- **skf-dialog-close** - Fires when the dialog is closed (before transitioned out)\n- **close** - Fires when the dialog is closed (after transitioned out)\n\n### **Slots:**\n - _default_ - The dialog component's content\n- **footer** - The dialog component's buttons goes here\n\n### **CSS Properties:**\n - **--skf-dialog-height** - A custom height for the Dialog. Pass valid CSS **block-size** values _(default: undefined)_\n- **--skf-dialog-width** - A custom width for the Dialog Pass valid CSS **inline-size** values _(default: undefined)_",
375
650
  "doc-url": "",
376
651
  "attributes": [
377
652
  {
@@ -406,10 +681,6 @@
406
681
  ],
407
682
  "slots": [
408
683
  { "name": "", "description": "The dialog component's content" },
409
- {
410
- "name": "heading",
411
- "description": "The dialog component's heading"
412
- },
413
684
  {
414
685
  "name": "footer",
415
686
  "description": "The dialog component's buttons goes here"
@@ -487,78 +758,6 @@
487
758
  ]
488
759
  }
489
760
  },
490
- {
491
- "name": "skf-alert",
492
- "description": "The `<skf-alert>` is a type of notification that appears in-line\n---\n\n\n### **Events:**\n - **skf-alert-close** - Fires when the close button is clicked\n\n### **Slots:**\n - _default_ - Alert message. **Notice!** See design principles for approved content\n- **link** - Slot for the link",
493
- "doc-url": "",
494
- "attributes": [
495
- {
496
- "name": "closeable",
497
- "description": "If true, alert is being used as a toast (alertdialog) with an close button",
498
- "value": { "type": "boolean | undefined" }
499
- },
500
- {
501
- "name": "button-label",
502
- "description": "Close button aria-label",
503
- "value": { "type": "string", "default": "'Close'" }
504
- },
505
- {
506
- "name": "icon",
507
- "description": "If defined, displays leading icon",
508
- "value": { "type": "SkfIcon['name'] | undefined" }
509
- },
510
- {
511
- "name": "severity",
512
- "description": "If defined, gives the supplied appearance",
513
- "value": {
514
- "type": "\"error\" | \"info\" | \"warning\" | \"success\" | \"alert\""
515
- }
516
- }
517
- ],
518
- "slots": [
519
- {
520
- "name": "",
521
- "description": "Alert message. **Notice!** See design principles for approved content"
522
- },
523
- { "name": "link", "description": "Slot for the link" }
524
- ],
525
- "events": [
526
- {
527
- "name": "skf-alert-close",
528
- "description": "Fires when the close button is clicked"
529
- }
530
- ],
531
- "js": {
532
- "properties": [
533
- {
534
- "name": "closeable",
535
- "description": "If true, alert is being used as a toast (alertdialog) with an close button",
536
- "type": "boolean | undefined"
537
- },
538
- {
539
- "name": "buttonLabel",
540
- "description": "Close button aria-label",
541
- "type": "string"
542
- },
543
- {
544
- "name": "icon",
545
- "description": "If defined, displays leading icon",
546
- "type": "SkfIcon['name'] | undefined"
547
- },
548
- {
549
- "name": "severity",
550
- "description": "If defined, gives the supplied appearance",
551
- "type": "\"error\" | \"info\" | \"warning\" | \"success\" | \"alert\""
552
- }
553
- ],
554
- "events": [
555
- {
556
- "name": "skf-alert-close",
557
- "description": "Fires when the close button is clicked"
558
- }
559
- ]
560
- }
561
- },
562
761
  {
563
762
  "name": "skf-divider",
564
763
  "description": "The `<Divider>` component can separate items from each other, to visually emphasize their lack of a relationship between groups of information\n---\n\n\n### **CSS Properties:**\n - **--skf-divider-spacing** - The amount of space the divider occupies. Pass valid CSS **margin-block** values when horizontal and **margin-inline** when vertical _(default: undefined)_\n- **--skf-divider-inset** - The amount of space the divider should be indented. Pass valid CSS **margin-inline** values when horizontal and **margin-block** when vertical _(default: undefined)_",
@@ -598,131 +797,11 @@
598
797
  },
599
798
  {
600
799
  "name": "vertical",
601
- "description": "If true, renders the divider vertically",
602
- "type": "boolean"
603
- }
604
- ],
605
- "events": []
606
- }
607
- },
608
- {
609
- "name": "skf-button",
610
- "description": "Component to be used in forms or for interactivity\n---\n\n\n### **Events:**\n - **click** - Fires when the button is clicked\n\n### **Methods:**\n - **click()** - Simulates a click on the button.\n\n### **Slots:**\n - _default_ - The Primary content",
611
- "doc-url": "",
612
- "attributes": [
613
- {
614
- "name": "destructive",
615
- "description": "If true, gives destructive appearance. **Notice!** Only applicable if `variant` is `primary`.",
616
- "value": { "type": "boolean", "default": "false" }
617
- },
618
- {
619
- "name": "disabled",
620
- "description": "If true, removes border",
621
- "value": { "type": "boolean", "default": "false" }
622
- },
623
- {
624
- "name": "icon",
625
- "description": "If provided, renders an icon before or after the text",
626
- "value": {
627
- "type": "\"arrowDown\" | \"arrowDownUp\" | \"arrowLeft\" | \"arrowRight\" | \"arrowUp\" | \"article\" | \"artificialIntelligence\" | \"asset\" | \"attachment\" | \"bandCursor\" | \"bands\" | \"batteryEmpty\" | \"batteryFull\" | \"batteryLow\" | \"bearingFault\" | \"book\" | \"bulb\" | \"burger\" | \"cPM\" | \"calendar\" | \"calendarBooked\" | \"calendarEmpty\" | \"calendarNotBooked\" | \"calendarRecurring\" | \"caretDown\" | \"caretUp\" | \"caretUpDown\" | \"chat\" | \"check\" | \"checkCircle\" | \"checkSmall\" | \"chevronDown\" | \"chevronLeft\" | \"chevronRight\" | \"chevronUp\" | \"chevronUpDown\" | \"close\" | \"closeAllFaults\" | \"closeFault\" | \"closeSmall\" | \"columnGraph\" | \"comment\" | \"connection1\" | \"connection2\" | \"connection3\" | \"connection4\" | \"danger\" | \"defectFrequencies\" | \"defectFrequenciesAlternative\" | \"doubleChevronLeft\" | \"doubleChevronRight\" | \"download\" | \"draft\" | \"draftFilled\" | \"draftOutlined\" | \"dragNDrop\" | \"drop\" | \"duplicate\" | \"edit\" | \"emailFilled\" | \"emailOutlined\" | \"exclamation\" | \"eye\" | \"eyeHidden\" | \"eyeVisible\" | \"filter\" | \"forbidden\" | \"fullScreen\" | \"fullScreenExit\" | \"functionalLocation\" | \"harmonicCursor\" | \"heatmap\" | \"hierarchy\" | \"history\" | \"historyAlt\" | \"hourglassFramedFilled\" | \"hourglassFramedOutlined\" | \"hourglassOutlined\" | \"hz\" | \"iMX\" | \"image\" | \"infoCircleFilled\" | \"infoCircleOutlined\" | \"integration\" | \"kebab\" | \"link\" | \"listGroup\" | \"listItem\" | \"locationPin\" | \"lock\" | \"logOut\" | \"meatballs\" | \"microphone\" | \"minus\" | \"minusSmall\" | \"noData\" | \"o\" | \"openInNew\" | \"overlayBaseline\" | \"pDF\" | \"paper\" | \"pause\" | \"pieChart\" | \"pin\" | \"play\" | \"plus\" | \"powerOff\" | \"printer\" | \"proCollect\" | \"recAction\" | \"received\" | \"refresh\" | \"reorder\" | \"replace\" | \"reply\" | \"rewalkableRoute\" | \"routes\" | \"search\" | \"send\" | \"sensorA\" | \"sensorB\" | \"settings\" | \"sidebandCursor\" | \"singleCursor\" | \"spectrum\" | \"starFilled\" | \"starOutlined\" | \"statusCircle\" | \"stop\" | \"structuralVibration\" | \"sync\" | \"timewave\" | \"trash\" | \"trend\" | \"trendingUp\" | \"undo\" | \"unknownCircle\" | \"unknownDiamond\" | \"unlink\" | \"unlock\" | \"unscheduledAction\" | \"upload\" | \"user\" | \"viewFull\" | \"viewHorizontal\" | \"viewVertical\" | \"warning\" | \"warningCircle\" | \"warningDiamond\" | \"zoomIn\" | \"zoomOut\""
628
- }
629
- },
630
- {
631
- "name": "icon-position",
632
- "description": "If provided, determines the positioning of the icon in relation to the text",
633
- "value": {
634
- "type": "'left' | 'right' | undefined",
635
- "default": "'left'"
636
- }
637
- },
638
- {
639
- "name": "loading",
640
- "description": "If true, hides text & icon and shows loading indicator. **Notice!** Only applicable if `variant` is `primary`.",
641
- "value": { "type": "boolean", "default": "false" }
642
- },
643
- {
644
- "name": "no-validate",
645
- "value": { "type": "boolean", "default": "false" }
646
- },
647
- {
648
- "name": "size",
649
- "description": "If provided, displays an alternative size",
650
- "value": { "type": "'sm' | 'md' | 'lg'", "default": "'md'" }
651
- },
652
- {
653
- "name": "type",
654
- "description": "If provided, changes the button type",
655
- "value": {
656
- "type": "'button' | 'submit' | 'reset'",
657
- "default": "'button'"
658
- }
659
- },
660
- {
661
- "name": "variant",
662
- "description": "If provided, alters the appearance",
663
- "value": {
664
- "type": "'primary' | 'secondary'",
665
- "default": "'primary'"
666
- }
667
- }
668
- ],
669
- "slots": [{ "name": "", "description": "The Primary content" }],
670
- "events": [
671
- {
672
- "name": "click",
673
- "description": "Fires when the button is clicked"
674
- }
675
- ],
676
- "js": {
677
- "properties": [
678
- {
679
- "name": "destructive",
680
- "description": "If true, gives destructive appearance. **Notice!** Only applicable if `variant` is `primary`.",
681
- "type": "boolean"
682
- },
683
- {
684
- "name": "disabled",
685
- "description": "If true, removes border",
686
- "type": "boolean"
687
- },
688
- {
689
- "name": "icon",
690
- "description": "If provided, renders an icon before or after the text",
691
- "type": "\"arrowDown\" | \"arrowDownUp\" | \"arrowLeft\" | \"arrowRight\" | \"arrowUp\" | \"article\" | \"artificialIntelligence\" | \"asset\" | \"attachment\" | \"bandCursor\" | \"bands\" | \"batteryEmpty\" | \"batteryFull\" | \"batteryLow\" | \"bearingFault\" | \"book\" | \"bulb\" | \"burger\" | \"cPM\" | \"calendar\" | \"calendarBooked\" | \"calendarEmpty\" | \"calendarNotBooked\" | \"calendarRecurring\" | \"caretDown\" | \"caretUp\" | \"caretUpDown\" | \"chat\" | \"check\" | \"checkCircle\" | \"checkSmall\" | \"chevronDown\" | \"chevronLeft\" | \"chevronRight\" | \"chevronUp\" | \"chevronUpDown\" | \"close\" | \"closeAllFaults\" | \"closeFault\" | \"closeSmall\" | \"columnGraph\" | \"comment\" | \"connection1\" | \"connection2\" | \"connection3\" | \"connection4\" | \"danger\" | \"defectFrequencies\" | \"defectFrequenciesAlternative\" | \"doubleChevronLeft\" | \"doubleChevronRight\" | \"download\" | \"draft\" | \"draftFilled\" | \"draftOutlined\" | \"dragNDrop\" | \"drop\" | \"duplicate\" | \"edit\" | \"emailFilled\" | \"emailOutlined\" | \"exclamation\" | \"eye\" | \"eyeHidden\" | \"eyeVisible\" | \"filter\" | \"forbidden\" | \"fullScreen\" | \"fullScreenExit\" | \"functionalLocation\" | \"harmonicCursor\" | \"heatmap\" | \"hierarchy\" | \"history\" | \"historyAlt\" | \"hourglassFramedFilled\" | \"hourglassFramedOutlined\" | \"hourglassOutlined\" | \"hz\" | \"iMX\" | \"image\" | \"infoCircleFilled\" | \"infoCircleOutlined\" | \"integration\" | \"kebab\" | \"link\" | \"listGroup\" | \"listItem\" | \"locationPin\" | \"lock\" | \"logOut\" | \"meatballs\" | \"microphone\" | \"minus\" | \"minusSmall\" | \"noData\" | \"o\" | \"openInNew\" | \"overlayBaseline\" | \"pDF\" | \"paper\" | \"pause\" | \"pieChart\" | \"pin\" | \"play\" | \"plus\" | \"powerOff\" | \"printer\" | \"proCollect\" | \"recAction\" | \"received\" | \"refresh\" | \"reorder\" | \"replace\" | \"reply\" | \"rewalkableRoute\" | \"routes\" | \"search\" | \"send\" | \"sensorA\" | \"sensorB\" | \"settings\" | \"sidebandCursor\" | \"singleCursor\" | \"spectrum\" | \"starFilled\" | \"starOutlined\" | \"statusCircle\" | \"stop\" | \"structuralVibration\" | \"sync\" | \"timewave\" | \"trash\" | \"trend\" | \"trendingUp\" | \"undo\" | \"unknownCircle\" | \"unknownDiamond\" | \"unlink\" | \"unlock\" | \"unscheduledAction\" | \"upload\" | \"user\" | \"viewFull\" | \"viewHorizontal\" | \"viewVertical\" | \"warning\" | \"warningCircle\" | \"warningDiamond\" | \"zoomIn\" | \"zoomOut\""
692
- },
693
- {
694
- "name": "iconPosition",
695
- "description": "If provided, determines the positioning of the icon in relation to the text",
696
- "type": "'left' | 'right' | undefined"
697
- },
698
- {
699
- "name": "loading",
700
- "description": "If true, hides text & icon and shows loading indicator. **Notice!** Only applicable if `variant` is `primary`.",
701
- "type": "boolean"
702
- },
703
- { "name": "noValidate", "type": "boolean" },
704
- {
705
- "name": "size",
706
- "description": "If provided, displays an alternative size",
707
- "type": "'sm' | 'md' | 'lg'"
708
- },
709
- {
710
- "name": "type",
711
- "description": "If provided, changes the button type",
712
- "type": "'button' | 'submit' | 'reset'"
713
- },
714
- {
715
- "name": "variant",
716
- "description": "If provided, alters the appearance",
717
- "type": "'primary' | 'secondary'"
718
- }
719
- ],
720
- "events": [
721
- {
722
- "name": "click",
723
- "description": "Fires when the button is clicked"
800
+ "description": "If true, renders the divider vertically",
801
+ "type": "boolean"
724
802
  }
725
- ]
803
+ ],
804
+ "events": []
726
805
  }
727
806
  },
728
807
  {
@@ -1119,36 +1198,306 @@
1119
1198
  "type": "string | undefined"
1120
1199
  },
1121
1200
  {
1122
- "name": "type",
1123
- "description": "Type of input control",
1124
- "type": "'button' | 'color' | 'date' | 'datetime-local' | 'email' | 'file' | 'hidden' | 'image' | 'month' | 'number' | 'password' | 'range' | 'reset' | 'search' | 'submit' | 'tel' | 'text' | 'time' | 'url' | 'week'"
1201
+ "name": "type",
1202
+ "description": "Type of input control",
1203
+ "type": "'button' | 'color' | 'date' | 'datetime-local' | 'email' | 'file' | 'hidden' | 'image' | 'month' | 'number' | 'password' | 'range' | 'reset' | 'search' | 'submit' | 'tel' | 'text' | 'time' | 'url' | 'week'"
1204
+ },
1205
+ {
1206
+ "name": "validateOn",
1207
+ "description": "Sets validation start",
1208
+ "type": "'input' | 'change' | 'submit'"
1209
+ },
1210
+ {
1211
+ "name": "value",
1212
+ "description": "The current value of the input field",
1213
+ "type": "string"
1214
+ }
1215
+ ],
1216
+ "events": [
1217
+ {
1218
+ "name": "change",
1219
+ "description": "Fires when the value of the input changes"
1220
+ },
1221
+ {
1222
+ "name": "invalid",
1223
+ "description": "Fires when the input is invalid"
1224
+ }
1225
+ ]
1226
+ }
1227
+ },
1228
+ {
1229
+ "name": "skf-link",
1230
+ "description": "The `<skf-link>` can be used as either a regular link or a link styled semantic button\n---\n\n\n### **Slots:**\n - _default_ - The links' main content",
1231
+ "doc-url": "",
1232
+ "attributes": [
1233
+ {
1234
+ "name": "as",
1235
+ "description": "Defines the semantic element to render",
1236
+ "value": { "type": "'button' | 'a'", "default": "'a'" }
1237
+ },
1238
+ {
1239
+ "name": "color",
1240
+ "description": "Defines the text-color",
1241
+ "value": {
1242
+ "type": "'primary' | 'inverse'",
1243
+ "default": "'primary'"
1244
+ }
1245
+ },
1246
+ {
1247
+ "name": "disabled",
1248
+ "description": "If true, disables the link",
1249
+ "value": { "type": "boolean | undefined" }
1250
+ },
1251
+ {
1252
+ "name": "download",
1253
+ "description": "If defined, downloads the url",
1254
+ "value": { "type": "string | undefined" }
1255
+ },
1256
+ {
1257
+ "name": "href",
1258
+ "description": "If defined, loads url on click",
1259
+ "value": { "type": "string | undefined" }
1260
+ },
1261
+ {
1262
+ "name": "icon",
1263
+ "description": "If defined, renders an icon before or after the text",
1264
+ "value": {
1265
+ "type": "\"arrowDown\" | \"arrowDownUp\" | \"arrowLeft\" | \"arrowRight\" | \"arrowUp\" | \"article\" | \"artificialIntelligence\" | \"asset\" | \"attachment\" | \"bandCursor\" | \"bands\" | \"batteryEmpty\" | \"batteryFull\" | \"batteryLow\" | \"bearingFault\" | \"book\" | \"bulb\" | \"burger\" | \"cPM\" | \"calendar\" | \"calendarBooked\" | \"calendarEmpty\" | \"calendarNotBooked\" | \"calendarRecurring\" | \"caretDown\" | \"caretUp\" | \"caretUpDown\" | \"chat\" | \"check\" | \"checkCircle\" | \"checkSmall\" | \"chevronDown\" | \"chevronLeft\" | \"chevronRight\" | \"chevronUp\" | \"chevronUpDown\" | \"close\" | \"closeAllFaults\" | \"closeFault\" | \"closeSmall\" | \"columnGraph\" | \"comment\" | \"connection1\" | \"connection2\" | \"connection3\" | \"connection4\" | \"danger\" | \"defectFrequencies\" | \"defectFrequenciesAlternative\" | \"doubleChevronLeft\" | \"doubleChevronRight\" | \"download\" | \"draft\" | \"draftFilled\" | \"draftOutlined\" | \"dragNDrop\" | \"drop\" | \"duplicate\" | \"edit\" | \"emailFilled\" | \"emailOutlined\" | \"exclamation\" | \"eye\" | \"eyeHidden\" | \"eyeVisible\" | \"filter\" | \"forbidden\" | \"fullScreen\" | \"fullScreenExit\" | \"functionalLocation\" | \"harmonicCursor\" | \"heatmap\" | \"hierarchy\" | \"history\" | \"historyAlt\" | \"hourglassFramedFilled\" | \"hourglassFramedOutlined\" | \"hourglassOutlined\" | \"hz\" | \"iMX\" | \"image\" | \"infoCircleFilled\" | \"infoCircleOutlined\" | \"integration\" | \"kebab\" | \"link\" | \"listGroup\" | \"listItem\" | \"locationPin\" | \"lock\" | \"logOut\" | \"meatballs\" | \"microphone\" | \"minus\" | \"minusSmall\" | \"noData\" | \"o\" | \"openInNew\" | \"overlayBaseline\" | \"pDF\" | \"paper\" | \"pause\" | \"pieChart\" | \"pin\" | \"play\" | \"plus\" | \"powerOff\" | \"printer\" | \"proCollect\" | \"recAction\" | \"received\" | \"refresh\" | \"reorder\" | \"replace\" | \"reply\" | \"rewalkableRoute\" | \"routes\" | \"search\" | \"send\" | \"sensorA\" | \"sensorB\" | \"settings\" | \"sidebandCursor\" | \"singleCursor\" | \"spectrum\" | \"starFilled\" | \"starOutlined\" | \"statusCircle\" | \"stop\" | \"structuralVibration\" | \"sync\" | \"timewave\" | \"trash\" | \"trend\" | \"trendingUp\" | \"undo\" | \"unknownCircle\" | \"unknownDiamond\" | \"unlink\" | \"unlock\" | \"unscheduledAction\" | \"upload\" | \"user\" | \"viewFull\" | \"viewHorizontal\" | \"viewVertical\" | \"warning\" | \"warningCircle\" | \"warningDiamond\" | \"zoomIn\" | \"zoomOut\""
1266
+ }
1267
+ },
1268
+ {
1269
+ "name": "icon-placement",
1270
+ "description": "Defines the position of the icon in relation to the text",
1271
+ "value": { "type": "'left' | 'right'", "default": "'left'" }
1272
+ },
1273
+ {
1274
+ "name": "rel",
1275
+ "description": "If defined, describes the relationship between a linked resource and the current document",
1276
+ "value": { "type": "string | undefined" }
1277
+ },
1278
+ {
1279
+ "name": "route",
1280
+ "description": "If defined, used on conjunction with onClick property, second argument",
1281
+ "value": { "type": "string | undefined" }
1282
+ },
1283
+ {
1284
+ "name": "stretch",
1285
+ "description": "If true, fills the parents horizontal axis",
1286
+ "value": { "type": "boolean", "default": "false" }
1287
+ },
1288
+ {
1289
+ "name": "target",
1290
+ "description": "If defined, specifies where to open the linked document",
1291
+ "value": {
1292
+ "type": "'_blank' | '_parent' | '_self' | '_top' | undefined"
1293
+ }
1294
+ },
1295
+ {
1296
+ "name": "type",
1297
+ "description": "Defines the type of button",
1298
+ "value": {
1299
+ "type": "'button' | 'submit' | 'reset'",
1300
+ "default": "'button'"
1301
+ }
1302
+ }
1303
+ ],
1304
+ "slots": [{ "name": "", "description": "The links' main content" }],
1305
+ "events": [],
1306
+ "js": {
1307
+ "properties": [
1308
+ {
1309
+ "name": "as",
1310
+ "description": "Defines the semantic element to render",
1311
+ "type": "'button' | 'a'"
1312
+ },
1313
+ {
1314
+ "name": "color",
1315
+ "description": "Defines the text-color",
1316
+ "type": "'primary' | 'inverse'"
1317
+ },
1318
+ {
1319
+ "name": "disabled",
1320
+ "description": "If true, disables the link",
1321
+ "type": "boolean | undefined"
1322
+ },
1323
+ {
1324
+ "name": "download",
1325
+ "description": "If defined, downloads the url",
1326
+ "type": "string | undefined"
1327
+ },
1328
+ {
1329
+ "name": "href",
1330
+ "description": "If defined, loads url on click",
1331
+ "type": "string | undefined"
1332
+ },
1333
+ {
1334
+ "name": "icon",
1335
+ "description": "If defined, renders an icon before or after the text",
1336
+ "type": "\"arrowDown\" | \"arrowDownUp\" | \"arrowLeft\" | \"arrowRight\" | \"arrowUp\" | \"article\" | \"artificialIntelligence\" | \"asset\" | \"attachment\" | \"bandCursor\" | \"bands\" | \"batteryEmpty\" | \"batteryFull\" | \"batteryLow\" | \"bearingFault\" | \"book\" | \"bulb\" | \"burger\" | \"cPM\" | \"calendar\" | \"calendarBooked\" | \"calendarEmpty\" | \"calendarNotBooked\" | \"calendarRecurring\" | \"caretDown\" | \"caretUp\" | \"caretUpDown\" | \"chat\" | \"check\" | \"checkCircle\" | \"checkSmall\" | \"chevronDown\" | \"chevronLeft\" | \"chevronRight\" | \"chevronUp\" | \"chevronUpDown\" | \"close\" | \"closeAllFaults\" | \"closeFault\" | \"closeSmall\" | \"columnGraph\" | \"comment\" | \"connection1\" | \"connection2\" | \"connection3\" | \"connection4\" | \"danger\" | \"defectFrequencies\" | \"defectFrequenciesAlternative\" | \"doubleChevronLeft\" | \"doubleChevronRight\" | \"download\" | \"draft\" | \"draftFilled\" | \"draftOutlined\" | \"dragNDrop\" | \"drop\" | \"duplicate\" | \"edit\" | \"emailFilled\" | \"emailOutlined\" | \"exclamation\" | \"eye\" | \"eyeHidden\" | \"eyeVisible\" | \"filter\" | \"forbidden\" | \"fullScreen\" | \"fullScreenExit\" | \"functionalLocation\" | \"harmonicCursor\" | \"heatmap\" | \"hierarchy\" | \"history\" | \"historyAlt\" | \"hourglassFramedFilled\" | \"hourglassFramedOutlined\" | \"hourglassOutlined\" | \"hz\" | \"iMX\" | \"image\" | \"infoCircleFilled\" | \"infoCircleOutlined\" | \"integration\" | \"kebab\" | \"link\" | \"listGroup\" | \"listItem\" | \"locationPin\" | \"lock\" | \"logOut\" | \"meatballs\" | \"microphone\" | \"minus\" | \"minusSmall\" | \"noData\" | \"o\" | \"openInNew\" | \"overlayBaseline\" | \"pDF\" | \"paper\" | \"pause\" | \"pieChart\" | \"pin\" | \"play\" | \"plus\" | \"powerOff\" | \"printer\" | \"proCollect\" | \"recAction\" | \"received\" | \"refresh\" | \"reorder\" | \"replace\" | \"reply\" | \"rewalkableRoute\" | \"routes\" | \"search\" | \"send\" | \"sensorA\" | \"sensorB\" | \"settings\" | \"sidebandCursor\" | \"singleCursor\" | \"spectrum\" | \"starFilled\" | \"starOutlined\" | \"statusCircle\" | \"stop\" | \"structuralVibration\" | \"sync\" | \"timewave\" | \"trash\" | \"trend\" | \"trendingUp\" | \"undo\" | \"unknownCircle\" | \"unknownDiamond\" | \"unlink\" | \"unlock\" | \"unscheduledAction\" | \"upload\" | \"user\" | \"viewFull\" | \"viewHorizontal\" | \"viewVertical\" | \"warning\" | \"warningCircle\" | \"warningDiamond\" | \"zoomIn\" | \"zoomOut\""
1337
+ },
1338
+ {
1339
+ "name": "iconPlacement",
1340
+ "description": "Defines the position of the icon in relation to the text",
1341
+ "type": "'left' | 'right'"
1342
+ },
1343
+ {
1344
+ "name": "rel",
1345
+ "description": "If defined, describes the relationship between a linked resource and the current document",
1346
+ "type": "string | undefined"
1347
+ },
1348
+ {
1349
+ "name": "route",
1350
+ "description": "If defined, used on conjunction with onClick property, second argument",
1351
+ "type": "string | undefined"
1352
+ },
1353
+ {
1354
+ "name": "stretch",
1355
+ "description": "If true, fills the parents horizontal axis",
1356
+ "type": "boolean"
1357
+ },
1358
+ {
1359
+ "name": "target",
1360
+ "description": "If defined, specifies where to open the linked document",
1361
+ "type": "'_blank' | '_parent' | '_self' | '_top' | undefined"
1362
+ },
1363
+ {
1364
+ "name": "type",
1365
+ "description": "Defines the type of button",
1366
+ "type": "'button' | 'submit' | 'reset'"
1367
+ },
1368
+ {
1369
+ "name": "onClick",
1370
+ "description": "If provided, custom function triggered by click where the second return parameter enables custom routing.",
1371
+ "type": "function"
1372
+ }
1373
+ ],
1374
+ "events": []
1375
+ }
1376
+ },
1377
+ {
1378
+ "name": "skf-loader",
1379
+ "description": "The `<skf-loader>` component is a progress indicator that uses circular indicators for short, indeterminate activities\n---\n",
1380
+ "doc-url": "",
1381
+ "attributes": [
1382
+ {
1383
+ "name": "aria-label",
1384
+ "description": "Defines the aria-label",
1385
+ "value": { "type": "string", "default": "'Loading...'" }
1386
+ },
1387
+ {
1388
+ "name": "invert",
1389
+ "description": "If true, inverts the color (to be used on colored backgrounds)",
1390
+ "value": { "type": "boolean", "default": "false" }
1391
+ },
1392
+ {
1393
+ "name": "size",
1394
+ "description": "Defines the size of the loader",
1395
+ "value": { "type": "'md' | 'sm' | undefined", "default": "'md'" }
1396
+ }
1397
+ ],
1398
+ "events": [],
1399
+ "js": {
1400
+ "properties": [
1401
+ {
1402
+ "name": "ariaLabel",
1403
+ "description": "Defines the aria-label",
1404
+ "type": "string"
1405
+ },
1406
+ {
1407
+ "name": "invert",
1408
+ "description": "If true, inverts the color (to be used on colored backgrounds)",
1409
+ "type": "boolean"
1410
+ },
1411
+ {
1412
+ "name": "size",
1413
+ "description": "Defines the size of the loader",
1414
+ "type": "'md' | 'sm' | undefined"
1415
+ },
1416
+ { "name": "role", "type": "string" },
1417
+ { "name": "ariaLive", "type": "string" }
1418
+ ],
1419
+ "events": []
1420
+ }
1421
+ },
1422
+ {
1423
+ "name": "skf-logo",
1424
+ "description": "The `<skf-logo>` component is used to display the SKF logo.\n---\n\n\n### **CSS Properties:**\n - **--skf-logo-height** - The height of the logo _(default: undefined)_",
1425
+ "doc-url": "",
1426
+ "attributes": [
1427
+ {
1428
+ "name": "title",
1429
+ "description": "Defines the title of the logo",
1430
+ "value": { "type": "string", "default": "'SKF logotype'" }
1431
+ },
1432
+ {
1433
+ "name": "color",
1434
+ "description": "Defines the color of the logo",
1435
+ "value": {
1436
+ "type": "\"primary\" | \"secondary\" | \"inverse\"",
1437
+ "default": "'primary'"
1438
+ }
1439
+ }
1440
+ ],
1441
+ "events": [],
1442
+ "js": {
1443
+ "properties": [
1444
+ {
1445
+ "name": "title",
1446
+ "description": "Defines the title of the logo",
1447
+ "type": "string"
1448
+ },
1449
+ {
1450
+ "name": "color",
1451
+ "description": "Defines the color of the logo",
1452
+ "type": "\"primary\" | \"secondary\" | \"inverse\""
1453
+ }
1454
+ ],
1455
+ "events": []
1456
+ }
1457
+ },
1458
+ {
1459
+ "name": "skf-menu",
1460
+ "description": "The `<skf-menu>` is a component that displays a list of actions or options.\n---\n\n\n### **Events:**\n - **open** - Fired when the menu is opened\n- **close** - Fired when the menu is closed\n\n### **Slots:**\n - _default_ - The menu popover content",
1461
+ "doc-url": "",
1462
+ "attributes": [],
1463
+ "slots": [{ "name": "", "description": "The menu popover content" }],
1464
+ "events": [
1465
+ { "name": "open", "description": "Fired when the menu is opened" },
1466
+ { "name": "close", "description": "Fired when the menu is closed" }
1467
+ ],
1468
+ "js": {
1469
+ "properties": [
1470
+ {
1471
+ "name": "placement",
1472
+ "description": "The placement of the menu",
1473
+ "type": "\"top\" | \"right\" | \"bottom\" | \"left\" | \"top-start\" | \"top-end\" | \"right-start\" | \"right-end\" | \"bottom-start\" | \"bottom-end\" | \"left-start\" | \"left-end\""
1125
1474
  },
1126
1475
  {
1127
- "name": "validateOn",
1128
- "description": "Sets validation start",
1129
- "type": "'input' | 'change' | 'submit'"
1476
+ "name": "isOpen",
1477
+ "description": "Whether the menu is open",
1478
+ "type": "boolean"
1130
1479
  },
1131
1480
  {
1132
- "name": "value",
1133
- "description": "The current value of the input field",
1481
+ "name": "anchor",
1482
+ "description": "The id of the element the menu will be anchored to",
1134
1483
  "type": "string"
1135
1484
  }
1136
1485
  ],
1137
1486
  "events": [
1138
1487
  {
1139
- "name": "change",
1140
- "description": "Fires when the value of the input changes"
1488
+ "name": "open",
1489
+ "description": "Fired when the menu is opened"
1141
1490
  },
1142
1491
  {
1143
- "name": "invalid",
1144
- "description": "Fires when the input is invalid"
1492
+ "name": "close",
1493
+ "description": "Fired when the menu is closed"
1145
1494
  }
1146
1495
  ]
1147
1496
  }
1148
1497
  },
1149
1498
  {
1150
- "name": "skf-link",
1151
- "description": "The `<skf-link>` can be used as either a regular link or a link styled semantic button\n---\n\n\n### **Slots:**\n - _default_ - The links' main content",
1499
+ "name": "skf-menu-item",
1500
+ "description": "The `<skf-menu-item>` is a component that displays a list of actions or options.\n---\n\n\n### **Events:**\n - **my-tag-my-event** - Fired when something happens\n- **click** - Fired when the component is clicked\n- **mouseover** - Fired when the mouse is over the component\n- **mouseout** - Fired when the mouse is out of the component\n- **focus** - Fired when the component is focused\n- **blur** - Fired when the component is blurred\n- **change** - Fired when the component's value changes\n\n### **Slots:**\n - _default_ - The component's main content\n- **my-named-slot** - A named slot of the component",
1152
1501
  "doc-url": "",
1153
1502
  "attributes": [
1154
1503
  {
@@ -1222,8 +1571,44 @@
1222
1571
  }
1223
1572
  }
1224
1573
  ],
1225
- "slots": [{ "name": "", "description": "The links' main content" }],
1226
- "events": [],
1574
+ "slots": [
1575
+ { "name": "", "description": "The component's main content" },
1576
+ {
1577
+ "name": "my-named-slot",
1578
+ "description": "A named slot of the component"
1579
+ }
1580
+ ],
1581
+ "events": [
1582
+ {
1583
+ "name": "my-tag-my-event",
1584
+ "type": "CustomEvent",
1585
+ "description": "Fired when something happens"
1586
+ },
1587
+ {
1588
+ "name": "click",
1589
+ "description": "Fired when the component is clicked"
1590
+ },
1591
+ {
1592
+ "name": "mouseover",
1593
+ "description": "Fired when the mouse is over the component"
1594
+ },
1595
+ {
1596
+ "name": "mouseout",
1597
+ "description": "Fired when the mouse is out of the component"
1598
+ },
1599
+ {
1600
+ "name": "focus",
1601
+ "description": "Fired when the component is focused"
1602
+ },
1603
+ {
1604
+ "name": "blur",
1605
+ "description": "Fired when the component is blurred"
1606
+ },
1607
+ {
1608
+ "name": "change",
1609
+ "description": "Fired when the component's value changes"
1610
+ }
1611
+ ],
1227
1612
  "js": {
1228
1613
  "properties": [
1229
1614
  {
@@ -1292,88 +1677,99 @@
1292
1677
  "type": "function"
1293
1678
  }
1294
1679
  ],
1295
- "events": []
1680
+ "events": [
1681
+ {
1682
+ "name": "my-tag-my-event",
1683
+ "type": "CustomEvent",
1684
+ "description": "Fired when something happens"
1685
+ },
1686
+ {
1687
+ "name": "click",
1688
+ "description": "Fired when the component is clicked"
1689
+ },
1690
+ {
1691
+ "name": "mouseover",
1692
+ "description": "Fired when the mouse is over the component"
1693
+ },
1694
+ {
1695
+ "name": "mouseout",
1696
+ "description": "Fired when the mouse is out of the component"
1697
+ },
1698
+ {
1699
+ "name": "focus",
1700
+ "description": "Fired when the component is focused"
1701
+ },
1702
+ {
1703
+ "name": "blur",
1704
+ "description": "Fired when the component is blurred"
1705
+ },
1706
+ {
1707
+ "name": "change",
1708
+ "description": "Fired when the component's value changes"
1709
+ }
1710
+ ]
1296
1711
  }
1297
1712
  },
1298
1713
  {
1299
- "name": "skf-loader",
1300
- "description": "The `<skf-loader>` component is a progress indicator that uses circular indicators for short, indeterminate activities\n---\n",
1714
+ "name": "skf-popover",
1715
+ "description": "The `<skf-popover>` is a general purpose component that displays the slot content.\n---\n\n\n### **Events:**\n - **open** - Fired when the menu is opened\n- **close** - Fired when the menu is closed\n\n### **Slots:**\n - _default_ - The popover content",
1301
1716
  "doc-url": "",
1302
1717
  "attributes": [
1303
1718
  {
1304
- "name": "aria-label",
1305
- "description": "Defines the aria-label",
1306
- "value": { "type": "string", "default": "'Loading...'" }
1719
+ "name": "offset",
1720
+ "description": "If defined, sets a custom offset for the popover",
1721
+ "value": { "type": "number", "default": "8" }
1307
1722
  },
1308
1723
  {
1309
- "name": "invert",
1310
- "description": "If true, inverts the color (to be used on colored backgrounds)",
1724
+ "name": "hideArrow",
1725
+ "description": "If true, hides the arrow",
1311
1726
  "value": { "type": "boolean", "default": "false" }
1312
- },
1313
- {
1314
- "name": "size",
1315
- "description": "Defines the size of the loader",
1316
- "value": { "type": "'md' | 'sm' | undefined", "default": "'md'" }
1317
1727
  }
1318
1728
  ],
1319
- "events": [],
1729
+ "slots": [{ "name": "", "description": "The popover content" }],
1730
+ "events": [
1731
+ { "name": "open", "description": "Fired when the menu is opened" },
1732
+ { "name": "close", "description": "Fired when the menu is closed" }
1733
+ ],
1320
1734
  "js": {
1321
1735
  "properties": [
1322
1736
  {
1323
- "name": "ariaLabel",
1324
- "description": "Defines the aria-label",
1325
- "type": "string"
1737
+ "name": "offset",
1738
+ "description": "If defined, sets a custom offset for the popover",
1739
+ "type": "number"
1326
1740
  },
1327
1741
  {
1328
- "name": "invert",
1329
- "description": "If true, inverts the color (to be used on colored backgrounds)",
1742
+ "name": "hideArrow",
1743
+ "description": "If true, hides the arrow",
1330
1744
  "type": "boolean"
1331
1745
  },
1746
+ { "name": "arrow", "type": "boolean" },
1332
1747
  {
1333
- "name": "size",
1334
- "description": "Defines the size of the loader",
1335
- "type": "'md' | 'sm' | undefined"
1748
+ "name": "placement",
1749
+ "description": "The placement of the menu",
1750
+ "type": "\"top\" | \"right\" | \"bottom\" | \"left\" | \"top-start\" | \"top-end\" | \"right-start\" | \"right-end\" | \"bottom-start\" | \"bottom-end\" | \"left-start\" | \"left-end\""
1336
1751
  },
1337
- { "name": "role", "type": "string" },
1338
- { "name": "ariaLive", "type": "string" }
1339
- ],
1340
- "events": []
1341
- }
1342
- },
1343
- {
1344
- "name": "skf-logo",
1345
- "description": "The `<skf-logo>` component is used to display the SKF logo.\n---\n\n\n### **CSS Properties:**\n - **--skf-logo-height** - The height of the logo _(default: undefined)_",
1346
- "doc-url": "",
1347
- "attributes": [
1348
- {
1349
- "name": "title",
1350
- "description": "Defines the title of the logo",
1351
- "value": { "type": "string", "default": "'SKF logotype'" }
1352
- },
1353
- {
1354
- "name": "color",
1355
- "description": "Defines the color of the logo",
1356
- "value": {
1357
- "type": "\"primary\" | \"secondary\" | \"inverse\"",
1358
- "default": "'primary'"
1359
- }
1360
- }
1361
- ],
1362
- "events": [],
1363
- "js": {
1364
- "properties": [
1365
1752
  {
1366
- "name": "title",
1367
- "description": "Defines the title of the logo",
1368
- "type": "string"
1753
+ "name": "isOpen",
1754
+ "description": "Whether the menu is open",
1755
+ "type": "boolean"
1369
1756
  },
1370
1757
  {
1371
- "name": "color",
1372
- "description": "Defines the color of the logo",
1373
- "type": "\"primary\" | \"secondary\" | \"inverse\""
1758
+ "name": "anchor",
1759
+ "description": "The id of the element the menu will be anchored to",
1760
+ "type": "string"
1374
1761
  }
1375
1762
  ],
1376
- "events": []
1763
+ "events": [
1764
+ {
1765
+ "name": "open",
1766
+ "description": "Fired when the menu is opened"
1767
+ },
1768
+ {
1769
+ "name": "close",
1770
+ "description": "Fired when the menu is closed"
1771
+ }
1772
+ ]
1377
1773
  }
1378
1774
  },
1379
1775
  {
@@ -1888,6 +2284,100 @@
1888
2284
  "events": []
1889
2285
  }
1890
2286
  },
2287
+ {
2288
+ "name": "skf-stepper",
2289
+ "description": "The `<skf-stepper>` is a component that displays a list of actions or options.\n---\n\n\n### **Events:**\n - **skf-stepper-item-select** - Dispatched when the stepper item is selected\n\n### **Slots:**\n - _default_ - One or more `<skf-stepper-item>`",
2290
+ "doc-url": "",
2291
+ "attributes": [
2292
+ {
2293
+ "name": "activeIndex",
2294
+ "description": "Sets the active item",
2295
+ "value": { "type": "number", "default": "-1" }
2296
+ },
2297
+ {
2298
+ "name": "linear",
2299
+ "description": "If true, sets linear mode (user can't go back to completed steps due to dependencies)",
2300
+ "value": { "type": "boolean", "default": "false" }
2301
+ }
2302
+ ],
2303
+ "slots": [
2304
+ { "name": "", "description": "One or more `<skf-stepper-item>`" }
2305
+ ],
2306
+ "events": [
2307
+ {
2308
+ "name": "skf-stepper-item-select",
2309
+ "description": "Dispatched when the stepper item is selected"
2310
+ }
2311
+ ],
2312
+ "js": {
2313
+ "properties": [
2314
+ {
2315
+ "name": "activeIndex",
2316
+ "description": "Sets the active item",
2317
+ "type": "number"
2318
+ },
2319
+ {
2320
+ "name": "linear",
2321
+ "description": "If true, sets linear mode (user can't go back to completed steps due to dependencies)",
2322
+ "type": "boolean"
2323
+ }
2324
+ ],
2325
+ "events": [
2326
+ {
2327
+ "name": "skf-stepper-item-select",
2328
+ "description": "Dispatched when the stepper item is selected"
2329
+ }
2330
+ ]
2331
+ }
2332
+ },
2333
+ {
2334
+ "name": "skf-stepper-item",
2335
+ "description": "The `<skf-stepper-item>` is used in conjunction with the `<skf-stepper>` component\n---\n\n\n### **Events:**\n - **skf-stepper-item-select** - Dispatched when the stepper item is selected\n\n### **Slots:**\n - _default_ - Label of the stepper item",
2336
+ "doc-url": "",
2337
+ "attributes": [
2338
+ {
2339
+ "name": "state",
2340
+ "description": "If defined, gives the supplied appearance",
2341
+ "value": {
2342
+ "type": "Extract<SkfStepperItemState, 'active' | 'completed'> | undefined"
2343
+ }
2344
+ },
2345
+ {
2346
+ "name": "completed",
2347
+ "description": "If true, item marked as completed",
2348
+ "value": { "type": "boolean", "default": "false" }
2349
+ }
2350
+ ],
2351
+ "slots": [{ "name": "", "description": "Label of the stepper item" }],
2352
+ "events": [
2353
+ {
2354
+ "name": "skf-stepper-item-select",
2355
+ "description": "Dispatched when the stepper item is selected"
2356
+ }
2357
+ ],
2358
+ "js": {
2359
+ "properties": [
2360
+ {
2361
+ "name": "state",
2362
+ "description": "If defined, gives the supplied appearance",
2363
+ "type": "Extract<SkfStepperItemState, 'active' | 'completed'> | undefined"
2364
+ },
2365
+ {
2366
+ "name": "completed",
2367
+ "description": "If true, item marked as completed",
2368
+ "type": "boolean"
2369
+ },
2370
+ { "name": "_setInternalState" },
2371
+ { "name": "role", "type": "string" }
2372
+ ],
2373
+ "events": [
2374
+ {
2375
+ "name": "skf-stepper-item-select",
2376
+ "description": "Dispatched when the stepper item is selected"
2377
+ }
2378
+ ]
2379
+ }
2380
+ },
1891
2381
  {
1892
2382
  "name": "skf-switch",
1893
2383
  "description": "The `<skf-switch>` is a component that displays a list of actions or options\n---\n\n\n### **Slots:**\n - _default_ - The Switchs label. Alternatively, you can use the `label` attribute.",
@@ -2451,21 +2941,23 @@
2451
2941
  "doc-url": "",
2452
2942
  "attributes": [
2453
2943
  {
2454
- "name": "closeable",
2455
- "description": "If provided, adds a close button to the toast and will not disapear until user actively dismisses it.",
2944
+ "name": "debug",
2456
2945
  "value": { "type": "boolean", "default": "false" }
2457
2946
  },
2458
2947
  {
2459
- "name": "debug",
2460
- "value": { "type": "boolean", "default": "false" }
2948
+ "name": "icon",
2949
+ "description": "If defined, displays leading icon",
2950
+ "value": { "type": "SkfAlert['icon'] | undefined" }
2951
+ },
2952
+ {
2953
+ "name": "persistent",
2954
+ "description": "If true, renders with an close button and sets aria-role to `status`",
2955
+ "value": { "type": "SkfAlert['persistent']", "default": "false" }
2461
2956
  },
2462
2957
  {
2463
2958
  "name": "severity",
2464
- "description": "Severity of the toast.",
2465
- "value": {
2466
- "type": "'info' | 'success' | 'warning' | 'error'",
2467
- "default": "'info'"
2468
- }
2959
+ "description": "If defined, gives the supplied appearance",
2960
+ "value": { "type": "SkfAlert['severity']", "default": "'info'" }
2469
2961
  },
2470
2962
  {
2471
2963
  "name": "timer",
@@ -2484,16 +2976,21 @@
2484
2976
  "events": [],
2485
2977
  "js": {
2486
2978
  "properties": [
2979
+ { "name": "debug", "type": "boolean" },
2487
2980
  {
2488
- "name": "closeable",
2489
- "description": "If provided, adds a close button to the toast and will not disapear until user actively dismisses it.",
2490
- "type": "boolean"
2981
+ "name": "icon",
2982
+ "description": "If defined, displays leading icon",
2983
+ "type": "SkfAlert['icon'] | undefined"
2984
+ },
2985
+ {
2986
+ "name": "persistent",
2987
+ "description": "If true, renders with an close button and sets aria-role to `status`",
2988
+ "type": "SkfAlert['persistent']"
2491
2989
  },
2492
- { "name": "debug", "type": "boolean" },
2493
2990
  {
2494
2991
  "name": "severity",
2495
- "description": "Severity of the toast.",
2496
- "type": "'info' | 'success' | 'warning' | 'error'"
2992
+ "description": "If defined, gives the supplied appearance",
2993
+ "type": "SkfAlert['severity']"
2497
2994
  },
2498
2995
  {
2499
2996
  "name": "timer",
@@ -2530,6 +3027,55 @@
2530
3027
  "properties": [{ "name": "debug", "type": "boolean" }],
2531
3028
  "events": []
2532
3029
  }
3030
+ },
3031
+ {
3032
+ "name": "skf-tooltip",
3033
+ "description": "The `<skf-tooltip>` is a component that displays a list of actions or options.\n---\n\n\n### **Events:**\n - **open** - Fired when the dropdown is opened\n- **close** - Fired when the dropdown is closed\n\n### **Slots:**\n - _default_ - The tooltip popover content",
3034
+ "doc-url": "",
3035
+ "attributes": [],
3036
+ "slots": [
3037
+ { "name": "", "description": "The tooltip popover content" }
3038
+ ],
3039
+ "events": [
3040
+ {
3041
+ "name": "open",
3042
+ "description": "Fired when the dropdown is opened"
3043
+ },
3044
+ {
3045
+ "name": "close",
3046
+ "description": "Fired when the dropdown is closed"
3047
+ }
3048
+ ],
3049
+ "js": {
3050
+ "properties": [
3051
+ { "name": "offset", "type": "number" },
3052
+ {
3053
+ "name": "placement",
3054
+ "description": "The placement of the dropdown",
3055
+ "type": "\"top\" | \"right\" | \"bottom\" | \"left\" | \"top-start\" | \"top-end\" | \"right-start\" | \"right-end\" | \"bottom-start\" | \"bottom-end\" | \"left-start\" | \"left-end\""
3056
+ },
3057
+ {
3058
+ "name": "isOpen",
3059
+ "description": "Whether the dropdown is open",
3060
+ "type": "boolean"
3061
+ },
3062
+ {
3063
+ "name": "anchor",
3064
+ "description": "The id of the element the dropdown will be anchored to",
3065
+ "type": "string"
3066
+ }
3067
+ ],
3068
+ "events": [
3069
+ {
3070
+ "name": "open",
3071
+ "description": "Fired when the dropdown is opened"
3072
+ },
3073
+ {
3074
+ "name": "close",
3075
+ "description": "Fired when the dropdown is closed"
3076
+ }
3077
+ ]
3078
+ }
2533
3079
  }
2534
3080
  ]
2535
3081
  }