@skf-design-system/ui-components 1.0.0-beta.7 → 1.0.1-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 (127) hide show
  1. package/dist/components/alert/alert.component.d.ts +2 -2
  2. package/dist/components/alert/alert.component.js +34 -34
  3. package/dist/components/breadcrumb/breadcrumb.component.d.ts +29 -0
  4. package/dist/components/breadcrumb/breadcrumb.d.ts +8 -0
  5. package/dist/components/breadcrumb/breadcrumb.styles.d.ts +1 -0
  6. package/dist/components/breadcrumb-item/breadcrumb-item.component.d.ts +25 -0
  7. package/dist/components/breadcrumb-item/breadcrumb-item.d.ts +8 -0
  8. package/dist/components/breadcrumb-item/breadcrumb-item.styles.d.ts +1 -0
  9. package/dist/components/button/button.component.d.ts +6 -4
  10. package/dist/components/button/button.component.js +87 -70
  11. package/dist/components/button/button.styles.js +64 -45
  12. package/dist/components/checkbox/checkbox.component.d.ts +3 -1
  13. package/dist/components/checkbox/checkbox.component.js +71 -58
  14. package/dist/components/date-picker/datepicker.calendar.component.d.ts +72 -0
  15. package/dist/components/date-picker/datepicker.calendar.component.js +382 -0
  16. package/dist/components/date-picker/datepicker.calendar.styles.d.ts +1 -0
  17. package/dist/components/date-picker/datepicker.calendar.styles.js +192 -0
  18. package/dist/components/date-picker/datepicker.component.d.ts +74 -0
  19. package/dist/components/date-picker/datepicker.component.js +241 -0
  20. package/dist/components/date-picker/datepicker.d.ts +10 -0
  21. package/dist/components/date-picker/datepicker.helpers.d.ts +40 -0
  22. package/dist/components/date-picker/datepicker.helpers.js +69 -0
  23. package/dist/components/date-picker/datepicker.js +8 -0
  24. package/dist/components/date-picker/datepicker.styles.d.ts +1 -0
  25. package/dist/components/date-picker/datepicker.styles.js +99 -0
  26. package/dist/components/date-picker-input/datepicker-input.component.d.ts +107 -0
  27. package/dist/components/date-picker-input/datepicker-input.component.js +397 -0
  28. package/dist/components/date-picker-input/datepicker-input.d.ts +8 -0
  29. package/dist/components/date-picker-input/datepicker-input.helpers.d.ts +4 -0
  30. package/dist/components/date-picker-input/datepicker-input.helpers.js +29 -0
  31. package/dist/components/date-picker-input/datepicker-input.js +6 -0
  32. package/dist/components/date-picker-input/datepicker-input.styles.d.ts +1 -0
  33. package/dist/components/date-picker-input/datepicker-input.styles.js +22 -0
  34. package/dist/components/dialog/dialog.component.d.ts +0 -1
  35. package/dist/components/dialog/dialog.component.js +2 -4
  36. package/dist/components/icon/icon.component.d.ts +1 -4
  37. package/dist/components/icon/icon.component.js +28 -19
  38. package/dist/components/icon/icon.styles.js +53 -47
  39. package/dist/components/input/input.component.d.ts +1 -0
  40. package/dist/components/input/input.component.js +87 -80
  41. package/dist/components/link/link.component.d.ts +1 -0
  42. package/dist/components/link/link.component.js +21 -21
  43. package/dist/components/menu/menu.component.d.ts +24 -0
  44. package/dist/components/menu/menu.component.js +18 -0
  45. package/dist/components/menu/menu.d.ts +8 -0
  46. package/dist/components/menu/menu.js +6 -0
  47. package/dist/components/menu/menu.styles.d.ts +1 -0
  48. package/dist/components/menu/menu.styles.js +11 -0
  49. package/dist/components/menu-item/menu-item.component.d.ts +25 -0
  50. package/dist/components/menu-item/menu-item.component.js +13 -0
  51. package/dist/components/menu-item/menu-item.d.ts +8 -0
  52. package/dist/components/menu-item/menu-item.js +6 -0
  53. package/dist/components/menu-item/menu-item.styles.d.ts +1 -0
  54. package/dist/components/menu-item/menu-item.styles.js +19 -0
  55. package/dist/components/popover/popover.component.d.ts +29 -0
  56. package/dist/components/popover/popover.component.js +37 -0
  57. package/dist/components/popover/popover.d.ts +8 -0
  58. package/dist/components/popover/popover.js +6 -0
  59. package/dist/components/popover/popover.styles.d.ts +1 -0
  60. package/dist/components/popover/popover.styles.js +12 -0
  61. package/dist/components/select/select.component.d.ts +8 -10
  62. package/dist/components/select/select.component.js +115 -118
  63. package/dist/components/select/select.controllers.d.ts +0 -25
  64. package/dist/components/select/select.controllers.js +35 -95
  65. package/dist/components/stepper/stepper.component.d.ts +38 -0
  66. package/dist/components/stepper/stepper.component.js +91 -0
  67. package/dist/components/stepper/stepper.d.ts +8 -0
  68. package/dist/components/stepper/stepper.helpers.d.ts +16 -0
  69. package/dist/components/stepper/stepper.helpers.js +18 -0
  70. package/dist/components/stepper/stepper.js +6 -0
  71. package/dist/components/stepper/stepper.styles.d.ts +1 -0
  72. package/dist/components/stepper/stepper.styles.js +15 -0
  73. package/dist/components/stepper-item/stepper-item.component.d.ts +47 -0
  74. package/dist/components/stepper-item/stepper-item.component.js +113 -0
  75. package/dist/components/stepper-item/stepper-item.d.ts +8 -0
  76. package/dist/components/stepper-item/stepper-item.js +6 -0
  77. package/dist/components/stepper-item/stepper-item.styles.d.ts +1 -0
  78. package/dist/components/stepper-item/stepper-item.styles.js +98 -0
  79. package/dist/components/toast/toast.component.d.ts +7 -4
  80. package/dist/components/toast/toast.component.js +24 -20
  81. package/dist/components/toast/toast.singleton.d.ts +2 -7
  82. package/dist/components/toast/toast.singleton.js +25 -25
  83. package/dist/components/toast-item/toast-item.component.js +15 -15
  84. package/dist/components/toast-item/toast-item.styles.js +13 -11
  85. package/dist/components/tooltip/tooltip.component.d.ts +24 -0
  86. package/dist/components/tooltip/tooltip.component.js +18 -0
  87. package/dist/components/tooltip/tooltip.d.ts +8 -0
  88. package/dist/components/tooltip/tooltip.js +6 -0
  89. package/dist/components/tooltip/tooltip.styles.d.ts +1 -0
  90. package/dist/components/tooltip/tooltip.styles.js +12 -0
  91. package/dist/custom-elements.json +3278 -1321
  92. package/dist/index.d.ts +8 -0
  93. package/dist/index.js +78 -54
  94. package/dist/internal/base-classes/popover/popover.base.d.ts +29 -0
  95. package/dist/internal/base-classes/popover/popover.base.js +116 -0
  96. package/dist/internal/base-classes/popover/popover.styles.d.ts +1 -0
  97. package/dist/internal/base-classes/popover/popover.styles.js +29 -0
  98. package/dist/internal/controllers/popover.controller.d.ts +17 -0
  99. package/dist/internal/controllers/popover.controller.js +44 -0
  100. package/dist/internal/helpers/dateFormatter.d.ts +2 -0
  101. package/dist/internal/helpers/hintSeverity.d.ts +1 -1
  102. package/dist/internal/helpers/utilityTypes.d.ts +22 -0
  103. package/dist/react/index.d.ts +11 -2
  104. package/dist/react/index.js +11 -2
  105. package/dist/react/skf-breadcrumb/index.d.ts +9 -0
  106. package/dist/react/skf-breadcrumb/index.js +17 -0
  107. package/dist/react/skf-breadcrumb-item/index.d.ts +3 -0
  108. package/dist/react/skf-breadcrumb-item/index.js +13 -0
  109. package/dist/react/skf-datepicker/index.d.ts +12 -0
  110. package/dist/react/skf-datepicker/index.js +18 -0
  111. package/dist/react/skf-menu/index.d.ts +12 -0
  112. package/dist/react/skf-menu/index.js +18 -0
  113. package/dist/react/skf-menu-item/index.d.ts +27 -0
  114. package/dist/react/skf-menu-item/index.js +23 -0
  115. package/dist/react/skf-popover/index.d.ts +12 -0
  116. package/dist/react/skf-popover/index.js +18 -0
  117. package/dist/react/skf-stepper/index.d.ts +9 -0
  118. package/dist/react/skf-stepper/index.js +17 -0
  119. package/dist/react/skf-stepper-item/index.d.ts +9 -0
  120. package/dist/react/skf-stepper-item/index.js +17 -0
  121. package/dist/react/skf-tooltip/index.d.ts +12 -0
  122. package/dist/react/skf-tooltip/index.js +18 -0
  123. package/dist/types/jsx/custom-element-jsx.d.ts +628 -155
  124. package/dist/types/vue/index.d.ts +369 -74
  125. package/dist/vscode.html-custom-data.json +761 -391
  126. package/dist/web-types.json +936 -293
  127. package/package.json +34 -33
@@ -44,184 +44,10 @@
44
44
  ],
45
45
  "references": []
46
46
  },
47
- {
48
- "name": "skf-card",
49
- "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",
50
- "attributes": [
51
- {
52
- "name": "no-border",
53
- "description": "If true, removes border",
54
- "values": []
55
- },
56
- {
57
- "name": "no-padding",
58
- "description": "If true, removes padding",
59
- "values": []
60
- },
61
- {
62
- "name": "stretch",
63
- "description": "If true, the Card fills the parent element height",
64
- "values": []
65
- }
66
- ],
67
- "references": []
68
- },
69
- {
70
- "name": "skf-checkbox",
71
- "description": "The `<skf-checkbox>` component is used to create a checkbox input\n---\n\n\n### **Events:**\n - **change** - {object} - When the value of the input changes\n\n### **Slots:**\n - _default_ - The Radios label. Alternatively, you can use the `label` attribute.",
72
- "attributes": [
73
- {
74
- "name": "disabled",
75
- "description": "If true, sets disabled state",
76
- "values": []
77
- },
78
- {
79
- "name": "required",
80
- "description": "If true, value is required or must be checked for the form to be submittable",
81
- "values": []
82
- },
83
- {
84
- "name": "debug",
85
- "description": "If defined, outputs helping hints in console",
86
- "values": []
87
- },
88
- {
89
- "name": "checked",
90
- "description": "If true, outputs helping hints in console",
91
- "values": []
92
- },
93
- {
94
- "name": "custom-invalid",
95
- "description": "If true, forces component to invalid state until removed",
96
- "values": []
97
- },
98
- {
99
- "name": "indeterminate",
100
- "description": "If true and the checkbox is unchecked, the checkbox will appear indeterminate",
101
- "values": []
102
- },
103
- {
104
- "name": "label",
105
- "description": "If defined, sets the input's label. Alternatively, you can use the `label` attribute.",
106
- "values": []
107
- },
108
- {
109
- "name": "name",
110
- "description": "If defined, adds name to the input-element",
111
- "values": []
112
- },
113
- {
114
- "name": "required-label",
115
- "description": "If defined, renders an alternative A11y text for the asterisk",
116
- "values": []
117
- },
118
- {
119
- "name": "severity",
120
- "description": "If defined, styles checkbox using provided severity",
121
- "values": [
122
- { "name": "alert" },
123
- { "name": "success" },
124
- { "name": "info" },
125
- { "name": "warning" }
126
- ]
127
- },
128
- {
129
- "name": "show-valid",
130
- "description": "If true, displays valid state after interaction",
131
- "values": []
132
- },
133
- {
134
- "name": "size",
135
- "description": "Size of the checkbox",
136
- "values": [{ "name": "sm" }, { "name": "md" }]
137
- },
138
- {
139
- "name": "value",
140
- "description": "The current value of the input field",
141
- "values": []
142
- }
143
- ],
144
- "references": []
145
- },
146
- {
147
- "name": "skf-collapse",
148
- "description": "The `<skf-collapse>` component is a general purpose container for content that can be collapsed / expanded.\n\nSee [zeroheight](https://zeroheight.com/853e936c9/p/6590bf-accordion) for design principles.\n---\n\n\n### **Events:**\n - **skf-collapse-toggle** - Event emitted when toggled\n\n### **Methods:**\n - **setClose()** - Class method as alternative to manipulate attribute\n- **setOpen()** - Class method as alternative to manipulate attribute\n\n### **Slots:**\n - _default_ - Main content",
149
- "attributes": [
150
- {
151
- "name": "animated",
152
- "description": "If true, will animate the expand/collapse state",
153
- "values": []
154
- },
155
- {
156
- "name": "expanded",
157
- "description": "If true, will set the collapse to be expanded by default",
158
- "values": []
159
- },
160
- {
161
- "name": "heading",
162
- "description": "Heading for the collapse",
163
- "values": []
164
- },
165
- {
166
- "name": "heading-as",
167
- "description": "Defines which heading element will be rendered",
168
- "values": [{ "name": "h2" }, { "name": "h3" }, { "name": "h4" }]
169
- },
170
- {
171
- "name": "small",
172
- "description": "If true, renders the small version",
173
- "values": []
174
- },
175
- {
176
- "name": "truncate",
177
- "description": "If true, will truncate the heading in collapsed state",
178
- "values": []
179
- }
180
- ],
181
- "references": []
182
- },
183
- {
184
- "name": "skf-dialog",
185
- "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)_",
186
- "attributes": [
187
- {
188
- "name": "close-button-aria-label",
189
- "description": "If defined, sets the aria-label for the close button",
190
- "values": []
191
- },
192
- {
193
- "name": "heading",
194
- "description": "Title for the modal/dialog",
195
- "values": []
196
- },
197
- {
198
- "name": "fullscreen",
199
- "description": "If true, makes the dialog stretch edge to edge on screen",
200
- "values": []
201
- },
202
- {
203
- "name": "no-close-button",
204
- "description": "If true, removes the close button",
205
- "values": []
206
- },
207
- {
208
- "name": "no-padding",
209
- "description": "If defined, removes the inner padding",
210
- "values": []
211
- },
212
- { "name": "open", "values": [] }
213
- ],
214
- "references": []
215
- },
216
47
  {
217
48
  "name": "skf-alert",
218
49
  "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",
219
50
  "attributes": [
220
- {
221
- "name": "closeable",
222
- "description": "If true, alert is being used as a toast (alertdialog) with an close button",
223
- "values": []
224
- },
225
51
  {
226
52
  "name": "button-label",
227
53
  "description": "Close button aria-label",
@@ -232,6 +58,11 @@
232
58
  "description": "If defined, displays leading icon",
233
59
  "values": [{ "name": "SkfIcon['name']" }]
234
60
  },
61
+ {
62
+ "name": "persistent",
63
+ "description": "If true, renders with an close button and sets aria-role to `status`",
64
+ "values": []
65
+ },
235
66
  {
236
67
  "name": "severity",
237
68
  "description": "If defined, gives the supplied appearance",
@@ -247,28 +78,29 @@
247
78
  "references": []
248
79
  },
249
80
  {
250
- "name": "skf-divider",
251
- "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)_",
81
+ "name": "skf-breadcrumb",
82
+ "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>`",
252
83
  "attributes": [
253
84
  {
254
- "name": "color",
255
- "description": "Defines the Divider color",
256
- "values": [
257
- { "name": "emphasised" },
258
- { "name": "primary" },
259
- { "name": "secondary" },
260
- { "name": "tertiary" },
261
- { "name": "inverse" }
262
- ]
263
- },
264
- {
265
- "name": "decorative",
266
- "description": "If true, renders a div for presentational purpose instead of the semantic hr-element",
85
+ "name": "label",
86
+ "description": "aria-label for the breadcrumb control",
267
87
  "values": []
268
88
  },
269
89
  {
270
- "name": "vertical",
271
- "description": "If true, renders the divider vertically",
90
+ "name": "size",
91
+ "description": "Displays an alternative size",
92
+ "values": [{ "name": "md" }, { "name": "sm" }]
93
+ }
94
+ ],
95
+ "references": []
96
+ },
97
+ {
98
+ "name": "skf-breadcrumb-item",
99
+ "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",
100
+ "attributes": [
101
+ {
102
+ "name": "href",
103
+ "description": "If defined, loads url on click",
272
104
  "values": []
273
105
  }
274
106
  ],
@@ -445,9 +277,14 @@
445
277
  { "name": "zoomOut" }
446
278
  ]
447
279
  },
280
+ {
281
+ "name": "iconOnly",
282
+ "description": "If true, removes border",
283
+ "values": []
284
+ },
448
285
  {
449
286
  "name": "icon-position",
450
- "description": "If provided, determines the positioning of the icon in relation to the text",
287
+ "description": "Determines the positioning of the icon in relation to the text",
451
288
  "values": [{ "name": "left" }, { "name": "right" }]
452
289
  },
453
290
  {
@@ -473,53 +310,292 @@
473
310
  {
474
311
  "name": "variant",
475
312
  "description": "If provided, alters the appearance",
476
- "values": [{ "name": "primary" }, { "name": "secondary" }]
313
+ "values": [
314
+ { "name": "primary" },
315
+ { "name": "secondary" },
316
+ { "name": "tertiary" }
317
+ ]
477
318
  }
478
319
  ],
479
320
  "references": []
480
321
  },
481
322
  {
482
- "name": "skf-heading",
483
- "description": "The `<Heading>` component is to deliniate content on a page. When using, take note not to skip heading levels.<br>\nIt extends the interface of native html `<h1>` to `<h4>` elements.\n---\n\n\n### **Slots:**\n - _default_ - The headings content",
323
+ "name": "skf-card",
324
+ "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",
484
325
  "attributes": [
485
326
  {
486
- "name": "as",
487
- "description": "Controls which heading element will be rendered. Should not be used to affect appearance",
488
- "values": [
489
- { "name": "h1" },
490
- { "name": "h2" },
491
- { "name": "h3" },
492
- { "name": "h4" }
493
- ]
327
+ "name": "no-border",
328
+ "description": "If true, removes border",
329
+ "values": []
494
330
  },
495
331
  {
496
- "name": "styled-as",
497
- "description": "If provided, changes the appearance of the heading",
498
- "values": [
499
- { "name": "h1" },
500
- { "name": "h2" },
501
- { "name": "h3" },
502
- { "name": "h4" }
503
- ]
332
+ "name": "no-padding",
333
+ "description": "If true, removes padding",
334
+ "values": []
335
+ },
336
+ {
337
+ "name": "stretch",
338
+ "description": "If true, the Card fills the parent element height",
339
+ "values": []
504
340
  }
505
341
  ],
506
342
  "references": []
507
343
  },
508
344
  {
509
- "name": "skf-icon",
510
- "description": "The `<skf-icon>` component is used to clarify interface elements. When used, should always be paired with (possibly invisible) text\n---\n",
345
+ "name": "skf-checkbox",
346
+ "description": "The `<skf-checkbox>` component is used to create a checkbox input\n---\n\n\n### **Events:**\n - **change** - {object} - When the value of the input changes\n\n### **Slots:**\n - _default_ - The Radios label. Alternatively, you can use the `label` attribute.",
511
347
  "attributes": [
512
348
  {
513
- "name": "color",
514
- "description": "Sets the color of the icon",
515
- "values": [
516
- { "name": "primary" },
517
- { "name": "inverse" },
518
- { "name": "emphasised" },
519
- { "name": "secondary" },
520
- { "name": "success" },
521
- { "name": "info" },
522
- { "name": "warning" },
349
+ "name": "disabled",
350
+ "description": "If true, sets disabled state",
351
+ "values": []
352
+ },
353
+ {
354
+ "name": "required",
355
+ "description": "If true, value is required or must be checked for the form to be submittable",
356
+ "values": []
357
+ },
358
+ {
359
+ "name": "debug",
360
+ "description": "If defined, outputs helping hints in console",
361
+ "values": []
362
+ },
363
+ {
364
+ "name": "checked",
365
+ "description": "If true, outputs helping hints in console",
366
+ "values": []
367
+ },
368
+ {
369
+ "name": "custom-invalid",
370
+ "description": "If true, forces component to invalid state until removed",
371
+ "values": []
372
+ },
373
+ {
374
+ "name": "indeterminate",
375
+ "description": "If true and the checkbox is unchecked, the checkbox will appear indeterminate",
376
+ "values": []
377
+ },
378
+ {
379
+ "name": "label",
380
+ "description": "If defined, sets the input's label. Alternatively, you can use the `label` attribute.",
381
+ "values": []
382
+ },
383
+ {
384
+ "name": "name",
385
+ "description": "If defined, adds name to the input-element",
386
+ "values": []
387
+ },
388
+ {
389
+ "name": "required-label",
390
+ "description": "If defined, renders an alternative A11y text for the asterisk",
391
+ "values": []
392
+ },
393
+ {
394
+ "name": "severity",
395
+ "description": "If defined, styles checkbox using provided severity",
396
+ "values": [
397
+ { "name": "alert" },
398
+ { "name": "success" },
399
+ { "name": "info" },
400
+ { "name": "warning" }
401
+ ]
402
+ },
403
+ {
404
+ "name": "show-valid",
405
+ "description": "If true, displays valid state after interaction",
406
+ "values": []
407
+ },
408
+ {
409
+ "name": "size",
410
+ "description": "Size of the checkbox",
411
+ "values": [{ "name": "sm" }, { "name": "md" }]
412
+ },
413
+ {
414
+ "name": "value",
415
+ "description": "The current value of the input field",
416
+ "values": []
417
+ }
418
+ ],
419
+ "references": []
420
+ },
421
+ {
422
+ "name": "skf-collapse",
423
+ "description": "The `<skf-collapse>` component is a general purpose container for content that can be collapsed / expanded.\n\nSee [zeroheight](https://zeroheight.com/853e936c9/p/6590bf-accordion) for design principles.\n---\n\n\n### **Events:**\n - **skf-collapse-toggle** - Event emitted when toggled\n\n### **Methods:**\n - **setClose()** - Class method as alternative to manipulate attribute\n- **setOpen()** - Class method as alternative to manipulate attribute\n\n### **Slots:**\n - _default_ - Main content",
424
+ "attributes": [
425
+ {
426
+ "name": "animated",
427
+ "description": "If true, will animate the expand/collapse state",
428
+ "values": []
429
+ },
430
+ {
431
+ "name": "expanded",
432
+ "description": "If true, will set the collapse to be expanded by default",
433
+ "values": []
434
+ },
435
+ {
436
+ "name": "heading",
437
+ "description": "Heading for the collapse",
438
+ "values": []
439
+ },
440
+ {
441
+ "name": "heading-as",
442
+ "description": "Defines which heading element will be rendered",
443
+ "values": [{ "name": "h2" }, { "name": "h3" }, { "name": "h4" }]
444
+ },
445
+ {
446
+ "name": "small",
447
+ "description": "If true, renders the small version",
448
+ "values": []
449
+ },
450
+ {
451
+ "name": "truncate",
452
+ "description": "If true, will truncate the heading in collapsed state",
453
+ "values": []
454
+ }
455
+ ],
456
+ "references": []
457
+ },
458
+ {
459
+ "name": "skf-datepicker",
460
+ "description": "A date picker component that allows users to select a date or a range of dates.\n---\n\n\n### **Events:**\n - **selected-date-changed** - When a date is selected\n- **selected-date-range-changed** - When a range of dates is selected\n\n### **Slots:**\n - _default_ - Default hint content placed inside the date picker\n\n### **CSS Properties:**\n - **--max-width** - The maximum width of the date picker _(default: undefined)_",
461
+ "attributes": [
462
+ {
463
+ "name": "locale",
464
+ "description": "The locale to use for formatting the date",
465
+ "values": []
466
+ },
467
+ {
468
+ "name": "date",
469
+ "description": "The date to display in the date picker",
470
+ "values": []
471
+ },
472
+ { "name": "id", "values": [] },
473
+ {
474
+ "name": "invalid-dates",
475
+ "description": "A comma-separated list of dates (yyyy-mm-dd format) that are not selectable.",
476
+ "values": []
477
+ },
478
+ {
479
+ "name": "range",
480
+ "description": "If true, the date picker will allow the selection of a range of dates",
481
+ "values": []
482
+ },
483
+ {
484
+ "name": "selectable-from",
485
+ "description": "Earliest selectable date. (yyyy-mm-dd format)",
486
+ "values": []
487
+ },
488
+ {
489
+ "name": "selectable-to",
490
+ "description": "Latest selectable date. (yyyy-mm-dd format)",
491
+ "values": []
492
+ }
493
+ ],
494
+ "references": []
495
+ },
496
+ {
497
+ "name": "skf-dialog",
498
+ "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)_",
499
+ "attributes": [
500
+ {
501
+ "name": "close-button-aria-label",
502
+ "description": "If defined, sets the aria-label for the close button",
503
+ "values": []
504
+ },
505
+ {
506
+ "name": "heading",
507
+ "description": "Title for the modal/dialog",
508
+ "values": []
509
+ },
510
+ {
511
+ "name": "fullscreen",
512
+ "description": "If true, makes the dialog stretch edge to edge on screen",
513
+ "values": []
514
+ },
515
+ {
516
+ "name": "no-close-button",
517
+ "description": "If true, removes the close button",
518
+ "values": []
519
+ },
520
+ {
521
+ "name": "no-padding",
522
+ "description": "If defined, removes the inner padding",
523
+ "values": []
524
+ },
525
+ { "name": "open", "values": [] }
526
+ ],
527
+ "references": []
528
+ },
529
+ {
530
+ "name": "skf-divider",
531
+ "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)_",
532
+ "attributes": [
533
+ {
534
+ "name": "color",
535
+ "description": "Defines the Divider color",
536
+ "values": [
537
+ { "name": "emphasised" },
538
+ { "name": "primary" },
539
+ { "name": "secondary" },
540
+ { "name": "tertiary" },
541
+ { "name": "inverse" }
542
+ ]
543
+ },
544
+ {
545
+ "name": "decorative",
546
+ "description": "If true, renders a div for presentational purpose instead of the semantic hr-element",
547
+ "values": []
548
+ },
549
+ {
550
+ "name": "vertical",
551
+ "description": "If true, renders the divider vertically",
552
+ "values": []
553
+ }
554
+ ],
555
+ "references": []
556
+ },
557
+ {
558
+ "name": "skf-heading",
559
+ "description": "The `<Heading>` component is to deliniate content on a page. When using, take note not to skip heading levels.<br>\nIt extends the interface of native html `<h1>` to `<h4>` elements.\n---\n\n\n### **Slots:**\n - _default_ - The headings content",
560
+ "attributes": [
561
+ {
562
+ "name": "as",
563
+ "description": "Controls which heading element will be rendered. Should not be used to affect appearance",
564
+ "values": [
565
+ { "name": "h1" },
566
+ { "name": "h2" },
567
+ { "name": "h3" },
568
+ { "name": "h4" }
569
+ ]
570
+ },
571
+ {
572
+ "name": "styled-as",
573
+ "description": "If provided, changes the appearance of the heading",
574
+ "values": [
575
+ { "name": "h1" },
576
+ { "name": "h2" },
577
+ { "name": "h3" },
578
+ { "name": "h4" }
579
+ ]
580
+ }
581
+ ],
582
+ "references": []
583
+ },
584
+ {
585
+ "name": "skf-icon",
586
+ "description": "The `<skf-icon>` component is used to clarify interface elements. When used, should always be paired with (possibly invisible) text\n---\n",
587
+ "attributes": [
588
+ {
589
+ "name": "color",
590
+ "description": "Sets the color of the icon",
591
+ "values": [
592
+ { "name": "primary" },
593
+ { "name": "inverse" },
594
+ { "name": "emphasised" },
595
+ { "name": "secondary" },
596
+ { "name": "success" },
597
+ { "name": "info" },
598
+ { "name": "warning" },
523
599
  { "name": "error" },
524
600
  { "name": "alert" }
525
601
  ]
@@ -730,165 +806,442 @@
730
806
  "values": []
731
807
  },
732
808
  {
733
- "name": "custom-invalid",
734
- "description": "If defined, forces component to invalid state until removed. Its value is used as hint text.",
735
- "values": []
809
+ "name": "custom-invalid",
810
+ "description": "If defined, forces component to invalid state until removed. Its value is used as hint text.",
811
+ "values": []
812
+ },
813
+ {
814
+ "name": "debug",
815
+ "description": "If true, outputs helping hints in console",
816
+ "values": []
817
+ },
818
+ {
819
+ "name": "hide-label",
820
+ "description": "If true, hides the label visually",
821
+ "values": []
822
+ },
823
+ {
824
+ "name": "hint",
825
+ "description": "If defined, displays informational text below the field",
826
+ "values": []
827
+ },
828
+ {
829
+ "name": "inputmode",
830
+ "description": "Tells what keyboard to use if applicable",
831
+ "values": [
832
+ { "name": "none" },
833
+ { "name": "text" },
834
+ { "name": "tel" },
835
+ { "name": "url" },
836
+ { "name": "email" },
837
+ { "name": "numeric" },
838
+ { "name": "decimal" },
839
+ { "name": "search" }
840
+ ]
841
+ },
842
+ {
843
+ "name": "label",
844
+ "description": "If defined, sets the input's label. Alternatively, you can use the `label` attribute.",
845
+ "values": []
846
+ },
847
+ {
848
+ "name": "leading",
849
+ "description": "If defined, displays a prefix/adornment before the input-element",
850
+ "values": []
851
+ },
852
+ {
853
+ "name": "max",
854
+ "description": "If defined, sets the maximum value to accept for this input",
855
+ "values": []
856
+ },
857
+ {
858
+ "name": "maxlength",
859
+ "description": "If defined, sets the maximum character length to accept for this input",
860
+ "values": []
861
+ },
862
+ {
863
+ "name": "min",
864
+ "description": "If defined, sets the minimum value to accept for this input",
865
+ "values": []
866
+ },
867
+ {
868
+ "name": "minlength",
869
+ "description": "If defined, sets the minimum character length to accept for this input",
870
+ "values": []
871
+ },
872
+ {
873
+ "name": "name",
874
+ "description": "If defined, adds name to the input-element",
875
+ "values": []
876
+ },
877
+ {
878
+ "name": "pattern",
879
+ "description": "If defined, adds name to the input-element",
880
+ "values": []
881
+ },
882
+ {
883
+ "name": "placeholder",
884
+ "description": "If defined, displays placeholder text",
885
+ "values": []
886
+ },
887
+ {
888
+ "name": "readonly",
889
+ "description": "If true, makes the element not mutable, meaning the user can not edit the control",
890
+ "values": []
891
+ },
892
+ {
893
+ "name": "required-label",
894
+ "description": "If defined, renders an alternative A11y text for the asterisk",
895
+ "values": []
896
+ },
897
+ {
898
+ "name": "severity",
899
+ "description": "If defined, displays provided severity state",
900
+ "values": [
901
+ { "name": "alert" },
902
+ { "name": "success" },
903
+ { "name": "info" },
904
+ { "name": "warning" }
905
+ ]
906
+ },
907
+ {
908
+ "name": "show-valid",
909
+ "description": "If true, displays valid state after interaction",
910
+ "values": []
911
+ },
912
+ {
913
+ "name": "size",
914
+ "description": "Size of the input",
915
+ "values": [{ "name": "sm" }, { "name": "md" }]
916
+ },
917
+ {
918
+ "name": "trailing",
919
+ "description": "If defined, displays a suffix/adornment after the input-element",
920
+ "values": []
921
+ },
922
+ {
923
+ "name": "type",
924
+ "description": "Type of input control",
925
+ "values": [
926
+ { "name": "button" },
927
+ { "name": "color" },
928
+ { "name": "date" },
929
+ { "name": "datetime-local" },
930
+ { "name": "email" },
931
+ { "name": "file" },
932
+ { "name": "hidden" },
933
+ { "name": "image" },
934
+ { "name": "month" },
935
+ { "name": "number" },
936
+ { "name": "password" },
937
+ { "name": "range" },
938
+ { "name": "reset" },
939
+ { "name": "search" },
940
+ { "name": "submit" },
941
+ { "name": "tel" },
942
+ { "name": "text" },
943
+ { "name": "time" },
944
+ { "name": "url" },
945
+ { "name": "week" }
946
+ ]
947
+ },
948
+ {
949
+ "name": "validate-on",
950
+ "description": "Sets validation start",
951
+ "values": [
952
+ { "name": "input" },
953
+ { "name": "change" },
954
+ { "name": "submit" }
955
+ ]
956
+ },
957
+ {
958
+ "name": "value",
959
+ "description": "The current value of the input field",
960
+ "values": []
961
+ }
962
+ ],
963
+ "references": []
964
+ },
965
+ {
966
+ "name": "skf-link",
967
+ "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",
968
+ "attributes": [
969
+ {
970
+ "name": "as",
971
+ "description": "Defines the semantic element to render",
972
+ "values": [{ "name": "button" }, { "name": "a" }]
973
+ },
974
+ {
975
+ "name": "color",
976
+ "description": "Defines the text-color",
977
+ "values": [{ "name": "primary" }, { "name": "inverse" }]
978
+ },
979
+ {
980
+ "name": "disabled",
981
+ "description": "If true, disables the link",
982
+ "values": []
983
+ },
984
+ {
985
+ "name": "download",
986
+ "description": "If defined, downloads the url",
987
+ "values": []
988
+ },
989
+ {
990
+ "name": "href",
991
+ "description": "If defined, loads url on click",
992
+ "values": []
993
+ },
994
+ {
995
+ "name": "icon",
996
+ "description": "If defined, renders an icon before or after the text",
997
+ "values": [
998
+ { "name": "arrowDown" },
999
+ { "name": "arrowDownUp" },
1000
+ { "name": "arrowLeft" },
1001
+ { "name": "arrowRight" },
1002
+ { "name": "arrowUp" },
1003
+ { "name": "article" },
1004
+ { "name": "artificialIntelligence" },
1005
+ { "name": "asset" },
1006
+ { "name": "attachment" },
1007
+ { "name": "bandCursor" },
1008
+ { "name": "bands" },
1009
+ { "name": "batteryEmpty" },
1010
+ { "name": "batteryFull" },
1011
+ { "name": "batteryLow" },
1012
+ { "name": "bearingFault" },
1013
+ { "name": "book" },
1014
+ { "name": "bulb" },
1015
+ { "name": "burger" },
1016
+ { "name": "cPM" },
1017
+ { "name": "calendar" },
1018
+ { "name": "calendarBooked" },
1019
+ { "name": "calendarEmpty" },
1020
+ { "name": "calendarNotBooked" },
1021
+ { "name": "calendarRecurring" },
1022
+ { "name": "caretDown" },
1023
+ { "name": "caretUp" },
1024
+ { "name": "caretUpDown" },
1025
+ { "name": "chat" },
1026
+ { "name": "check" },
1027
+ { "name": "checkCircle" },
1028
+ { "name": "checkSmall" },
1029
+ { "name": "chevronDown" },
1030
+ { "name": "chevronLeft" },
1031
+ { "name": "chevronRight" },
1032
+ { "name": "chevronUp" },
1033
+ { "name": "chevronUpDown" },
1034
+ { "name": "close" },
1035
+ { "name": "closeAllFaults" },
1036
+ { "name": "closeFault" },
1037
+ { "name": "closeSmall" },
1038
+ { "name": "columnGraph" },
1039
+ { "name": "comment" },
1040
+ { "name": "connection1" },
1041
+ { "name": "connection2" },
1042
+ { "name": "connection3" },
1043
+ { "name": "connection4" },
1044
+ { "name": "danger" },
1045
+ { "name": "defectFrequencies" },
1046
+ { "name": "defectFrequenciesAlternative" },
1047
+ { "name": "doubleChevronLeft" },
1048
+ { "name": "doubleChevronRight" },
1049
+ { "name": "download" },
1050
+ { "name": "draft" },
1051
+ { "name": "draftFilled" },
1052
+ { "name": "draftOutlined" },
1053
+ { "name": "dragNDrop" },
1054
+ { "name": "drop" },
1055
+ { "name": "duplicate" },
1056
+ { "name": "edit" },
1057
+ { "name": "emailFilled" },
1058
+ { "name": "emailOutlined" },
1059
+ { "name": "exclamation" },
1060
+ { "name": "eye" },
1061
+ { "name": "eyeHidden" },
1062
+ { "name": "eyeVisible" },
1063
+ { "name": "filter" },
1064
+ { "name": "forbidden" },
1065
+ { "name": "fullScreen" },
1066
+ { "name": "fullScreenExit" },
1067
+ { "name": "functionalLocation" },
1068
+ { "name": "harmonicCursor" },
1069
+ { "name": "heatmap" },
1070
+ { "name": "hierarchy" },
1071
+ { "name": "history" },
1072
+ { "name": "historyAlt" },
1073
+ { "name": "hourglassFramedFilled" },
1074
+ { "name": "hourglassFramedOutlined" },
1075
+ { "name": "hourglassOutlined" },
1076
+ { "name": "hz" },
1077
+ { "name": "iMX" },
1078
+ { "name": "image" },
1079
+ { "name": "infoCircleFilled" },
1080
+ { "name": "infoCircleOutlined" },
1081
+ { "name": "integration" },
1082
+ { "name": "kebab" },
1083
+ { "name": "link" },
1084
+ { "name": "listGroup" },
1085
+ { "name": "listItem" },
1086
+ { "name": "locationPin" },
1087
+ { "name": "lock" },
1088
+ { "name": "logOut" },
1089
+ { "name": "meatballs" },
1090
+ { "name": "microphone" },
1091
+ { "name": "minus" },
1092
+ { "name": "minusSmall" },
1093
+ { "name": "noData" },
1094
+ { "name": "o" },
1095
+ { "name": "openInNew" },
1096
+ { "name": "overlayBaseline" },
1097
+ { "name": "pDF" },
1098
+ { "name": "paper" },
1099
+ { "name": "pause" },
1100
+ { "name": "pieChart" },
1101
+ { "name": "pin" },
1102
+ { "name": "play" },
1103
+ { "name": "plus" },
1104
+ { "name": "powerOff" },
1105
+ { "name": "printer" },
1106
+ { "name": "proCollect" },
1107
+ { "name": "recAction" },
1108
+ { "name": "received" },
1109
+ { "name": "refresh" },
1110
+ { "name": "reorder" },
1111
+ { "name": "replace" },
1112
+ { "name": "reply" },
1113
+ { "name": "rewalkableRoute" },
1114
+ { "name": "routes" },
1115
+ { "name": "search" },
1116
+ { "name": "send" },
1117
+ { "name": "sensorA" },
1118
+ { "name": "sensorB" },
1119
+ { "name": "settings" },
1120
+ { "name": "sidebandCursor" },
1121
+ { "name": "singleCursor" },
1122
+ { "name": "spectrum" },
1123
+ { "name": "starFilled" },
1124
+ { "name": "starOutlined" },
1125
+ { "name": "statusCircle" },
1126
+ { "name": "stop" },
1127
+ { "name": "structuralVibration" },
1128
+ { "name": "sync" },
1129
+ { "name": "timewave" },
1130
+ { "name": "trash" },
1131
+ { "name": "trend" },
1132
+ { "name": "trendingUp" },
1133
+ { "name": "undo" },
1134
+ { "name": "unknownCircle" },
1135
+ { "name": "unknownDiamond" },
1136
+ { "name": "unlink" },
1137
+ { "name": "unlock" },
1138
+ { "name": "unscheduledAction" },
1139
+ { "name": "upload" },
1140
+ { "name": "user" },
1141
+ { "name": "viewFull" },
1142
+ { "name": "viewHorizontal" },
1143
+ { "name": "viewVertical" },
1144
+ { "name": "warning" },
1145
+ { "name": "warningCircle" },
1146
+ { "name": "warningDiamond" },
1147
+ { "name": "zoomIn" },
1148
+ { "name": "zoomOut" }
1149
+ ]
1150
+ },
1151
+ {
1152
+ "name": "icon-placement",
1153
+ "description": "Defines the position of the icon in relation to the text",
1154
+ "values": [{ "name": "left" }, { "name": "right" }]
736
1155
  },
737
1156
  {
738
- "name": "debug",
739
- "description": "If true, outputs helping hints in console",
1157
+ "name": "rel",
1158
+ "description": "If defined, describes the relationship between a linked resource and the current document",
740
1159
  "values": []
741
1160
  },
742
1161
  {
743
- "name": "hide-label",
744
- "description": "If true, hides the label visually",
1162
+ "name": "route",
1163
+ "description": "If defined, used on conjunction with onClick property, second argument",
745
1164
  "values": []
746
1165
  },
747
1166
  {
748
- "name": "hint",
749
- "description": "If defined, displays informational text below the field",
1167
+ "name": "stretch",
1168
+ "description": "If true, fills the parents horizontal axis",
750
1169
  "values": []
751
1170
  },
752
1171
  {
753
- "name": "inputmode",
754
- "description": "Tells what keyboard to use if applicable",
1172
+ "name": "target",
1173
+ "description": "If defined, specifies where to open the linked document",
755
1174
  "values": [
756
- { "name": "none" },
757
- { "name": "text" },
758
- { "name": "tel" },
759
- { "name": "url" },
760
- { "name": "email" },
761
- { "name": "numeric" },
762
- { "name": "decimal" },
763
- { "name": "search" }
1175
+ { "name": "_blank" },
1176
+ { "name": "_parent" },
1177
+ { "name": "_self" },
1178
+ { "name": "_top" }
764
1179
  ]
765
1180
  },
766
1181
  {
767
- "name": "label",
768
- "description": "If defined, sets the input's label. Alternatively, you can use the `label` attribute.",
769
- "values": []
770
- },
771
- {
772
- "name": "leading",
773
- "description": "If defined, displays a prefix/adornment before the input-element",
774
- "values": []
775
- },
776
- {
777
- "name": "max",
778
- "description": "If defined, sets the maximum value to accept for this input",
779
- "values": []
780
- },
781
- {
782
- "name": "maxlength",
783
- "description": "If defined, sets the maximum character length to accept for this input",
784
- "values": []
785
- },
786
- {
787
- "name": "min",
788
- "description": "If defined, sets the minimum value to accept for this input",
789
- "values": []
790
- },
791
- {
792
- "name": "minlength",
793
- "description": "If defined, sets the minimum character length to accept for this input",
794
- "values": []
795
- },
796
- {
797
- "name": "name",
798
- "description": "If defined, adds name to the input-element",
799
- "values": []
800
- },
801
- {
802
- "name": "pattern",
803
- "description": "If defined, adds name to the input-element",
804
- "values": []
805
- },
806
- {
807
- "name": "placeholder",
808
- "description": "If defined, displays placeholder text",
809
- "values": []
810
- },
811
- {
812
- "name": "readonly",
813
- "description": "If true, makes the element not mutable, meaning the user can not edit the control",
814
- "values": []
815
- },
816
- {
817
- "name": "required-label",
818
- "description": "If defined, renders an alternative A11y text for the asterisk",
819
- "values": []
820
- },
821
- {
822
- "name": "severity",
823
- "description": "If defined, displays provided severity state",
1182
+ "name": "type",
1183
+ "description": "Defines the type of button",
824
1184
  "values": [
825
- { "name": "alert" },
826
- { "name": "success" },
827
- { "name": "info" },
828
- { "name": "warning" }
1185
+ { "name": "button" },
1186
+ { "name": "submit" },
1187
+ { "name": "reset" }
829
1188
  ]
1189
+ }
1190
+ ],
1191
+ "references": []
1192
+ },
1193
+ {
1194
+ "name": "skf-loader",
1195
+ "description": "The `<skf-loader>` component is a progress indicator that uses circular indicators for short, indeterminate activities\n---\n",
1196
+ "attributes": [
1197
+ {
1198
+ "name": "aria-label",
1199
+ "description": "Defines the aria-label",
1200
+ "values": []
830
1201
  },
831
1202
  {
832
- "name": "show-valid",
833
- "description": "If true, displays valid state after interaction",
1203
+ "name": "invert",
1204
+ "description": "If true, inverts the color (to be used on colored backgrounds)",
834
1205
  "values": []
835
1206
  },
836
1207
  {
837
1208
  "name": "size",
838
- "description": "Size of the input",
839
- "values": [{ "name": "sm" }, { "name": "md" }]
840
- },
1209
+ "description": "Defines the size of the loader",
1210
+ "values": [{ "name": "md" }, { "name": "sm" }]
1211
+ }
1212
+ ],
1213
+ "references": []
1214
+ },
1215
+ {
1216
+ "name": "skf-logo",
1217
+ "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)_",
1218
+ "attributes": [
841
1219
  {
842
- "name": "trailing",
843
- "description": "If defined, displays a suffix/adornment after the input-element",
1220
+ "name": "title",
1221
+ "description": "Defines the title of the logo",
844
1222
  "values": []
845
1223
  },
846
1224
  {
847
- "name": "type",
848
- "description": "Type of input control",
849
- "values": [
850
- { "name": "button" },
851
- { "name": "color" },
852
- { "name": "date" },
853
- { "name": "datetime-local" },
854
- { "name": "email" },
855
- { "name": "file" },
856
- { "name": "hidden" },
857
- { "name": "image" },
858
- { "name": "month" },
859
- { "name": "number" },
860
- { "name": "password" },
861
- { "name": "range" },
862
- { "name": "reset" },
863
- { "name": "search" },
864
- { "name": "submit" },
865
- { "name": "tel" },
866
- { "name": "text" },
867
- { "name": "time" },
868
- { "name": "url" },
869
- { "name": "week" }
870
- ]
871
- },
872
- {
873
- "name": "validate-on",
874
- "description": "Sets validation start",
1225
+ "name": "color",
1226
+ "description": "Defines the color of the logo",
875
1227
  "values": [
876
- { "name": "input" },
877
- { "name": "change" },
878
- { "name": "submit" }
1228
+ { "name": "primary" },
1229
+ { "name": "secondary" },
1230
+ { "name": "inverse" }
879
1231
  ]
880
- },
881
- {
882
- "name": "value",
883
- "description": "The current value of the input field",
884
- "values": []
885
1232
  }
886
1233
  ],
887
1234
  "references": []
888
1235
  },
889
1236
  {
890
- "name": "skf-link",
891
- "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",
1237
+ "name": "skf-menu",
1238
+ "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",
1239
+ "attributes": [],
1240
+ "references": []
1241
+ },
1242
+ {
1243
+ "name": "skf-menu-item",
1244
+ "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",
892
1245
  "attributes": [
893
1246
  {
894
1247
  "name": "as",
@@ -1115,44 +1468,18 @@
1115
1468
  "references": []
1116
1469
  },
1117
1470
  {
1118
- "name": "skf-loader",
1119
- "description": "The `<skf-loader>` component is a progress indicator that uses circular indicators for short, indeterminate activities\n---\n",
1471
+ "name": "skf-popover",
1472
+ "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",
1120
1473
  "attributes": [
1121
1474
  {
1122
- "name": "aria-label",
1123
- "description": "Defines the aria-label",
1124
- "values": []
1125
- },
1126
- {
1127
- "name": "invert",
1128
- "description": "If true, inverts the color (to be used on colored backgrounds)",
1475
+ "name": "offset",
1476
+ "description": "If defined, sets a custom offset for the popover",
1129
1477
  "values": []
1130
1478
  },
1131
1479
  {
1132
- "name": "size",
1133
- "description": "Defines the size of the loader",
1134
- "values": [{ "name": "md" }, { "name": "sm" }]
1135
- }
1136
- ],
1137
- "references": []
1138
- },
1139
- {
1140
- "name": "skf-logo",
1141
- "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)_",
1142
- "attributes": [
1143
- {
1144
- "name": "title",
1145
- "description": "Defines the title of the logo",
1480
+ "name": "hideArrow",
1481
+ "description": "If true, hides the arrow",
1146
1482
  "values": []
1147
- },
1148
- {
1149
- "name": "color",
1150
- "description": "Defines the color of the logo",
1151
- "values": [
1152
- { "name": "primary" },
1153
- { "name": "secondary" },
1154
- { "name": "inverse" }
1155
- ]
1156
1483
  }
1157
1484
  ],
1158
1485
  "references": []
@@ -1376,6 +1703,43 @@
1376
1703
  "attributes": [{ "name": "label", "values": [] }],
1377
1704
  "references": []
1378
1705
  },
1706
+ {
1707
+ "name": "skf-stepper",
1708
+ "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>`",
1709
+ "attributes": [
1710
+ {
1711
+ "name": "activeIndex",
1712
+ "description": "Sets the active item",
1713
+ "values": []
1714
+ },
1715
+ {
1716
+ "name": "linear",
1717
+ "description": "If true, sets linear mode (user can't go back to completed steps due to dependencies)",
1718
+ "values": []
1719
+ }
1720
+ ],
1721
+ "references": []
1722
+ },
1723
+ {
1724
+ "name": "skf-stepper-item",
1725
+ "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",
1726
+ "attributes": [
1727
+ {
1728
+ "name": "state",
1729
+ "description": "If defined, gives the supplied appearance",
1730
+ "values": [
1731
+ { "name": "Extract<SkfStepperItemState, 'active'" },
1732
+ { "name": "'completed'>" }
1733
+ ]
1734
+ },
1735
+ {
1736
+ "name": "completed",
1737
+ "description": "If true, item marked as completed",
1738
+ "values": []
1739
+ }
1740
+ ],
1741
+ "references": []
1742
+ },
1379
1743
  {
1380
1744
  "name": "skf-switch",
1381
1745
  "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.",
@@ -1790,21 +2154,21 @@
1790
2154
  "name": "skf-toast",
1791
2155
  "description": "A simple toast component that displays a message to the user. Use by appending a &lt;skf-toast&gt; tag to the DOM. Position in DOM is irrelevant.\n---\n\n\n### **Slots:**\n - _default_ - The component's placeholder content",
1792
2156
  "attributes": [
2157
+ { "name": "debug", "values": [] },
1793
2158
  {
1794
- "name": "closeable",
1795
- "description": "If provided, adds a close button to the toast and will not disapear until user actively dismisses it.",
1796
- "values": []
2159
+ "name": "icon",
2160
+ "description": "If defined, displays leading icon",
2161
+ "values": [{ "name": "SkfAlert['icon']" }]
2162
+ },
2163
+ {
2164
+ "name": "persistent",
2165
+ "description": "If true, renders with an close button and sets aria-role to `status`",
2166
+ "values": [{ "name": "SkfAlert['persistent']" }]
1797
2167
  },
1798
- { "name": "debug", "values": [] },
1799
2168
  {
1800
2169
  "name": "severity",
1801
- "description": "Severity of the toast.",
1802
- "values": [
1803
- { "name": "info" },
1804
- { "name": "success" },
1805
- { "name": "warning" },
1806
- { "name": "error" }
1807
- ]
2170
+ "description": "If defined, gives the supplied appearance",
2171
+ "values": [{ "name": "SkfAlert['severity']" }]
1808
2172
  },
1809
2173
  {
1810
2174
  "name": "timer",
@@ -1824,6 +2188,12 @@
1824
2188
  "description": "The `<skf-toast-wrapper>` is a component without UI that positions where the toast shows up on the screen. The toast-wrapper is used internally by the toast component.\n---\n\n\n### **Slots:**\n - _default_ - The alert components that the toast creates will render here.",
1825
2189
  "attributes": [{ "name": "debug", "values": [] }],
1826
2190
  "references": []
2191
+ },
2192
+ {
2193
+ "name": "skf-tooltip",
2194
+ "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",
2195
+ "attributes": [],
2196
+ "references": []
1827
2197
  }
1828
2198
  ]
1829
2199
  }