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

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 (130) hide show
  1. package/dist/components/accordion/accordion-item.d.ts +1 -1
  2. package/dist/components/accordion/accordion.component.d.ts +4 -4
  3. package/dist/components/accordion/accordion.component.js +18 -17
  4. package/dist/components/accordion/accordion.styles.d.ts +1 -2
  5. package/dist/components/accordion/accordion.styles.js +5 -4
  6. package/dist/components/alert/alert.component.d.ts +3 -3
  7. package/dist/components/alert/alert.component.js +44 -33
  8. package/dist/components/alert/alert.styles.d.ts +1 -2
  9. package/dist/components/alert/alert.styles.js +29 -24
  10. package/dist/components/button/button.component.d.ts +26 -4
  11. package/dist/components/button/button.component.js +78 -54
  12. package/dist/components/button/button.styles.js +1 -0
  13. package/dist/components/card/card.component.d.ts +4 -4
  14. package/dist/components/card/card.component.js +35 -24
  15. package/dist/components/card/card.styles.d.ts +1 -2
  16. package/dist/components/card/card.styles.js +14 -12
  17. package/dist/components/checkbox/checkbox.component.d.ts +11 -12
  18. package/dist/components/checkbox/checkbox.component.js +95 -89
  19. package/dist/components/collapse/collapse.component.d.ts +8 -8
  20. package/dist/components/collapse/collapse.component.js +42 -34
  21. package/dist/components/collapse/collapse.styles.js +15 -14
  22. package/dist/components/dialog/dialog.component.d.ts +75 -0
  23. package/dist/components/dialog/dialog.component.js +189 -0
  24. package/dist/components/dialog/dialog.d.ts +8 -0
  25. package/dist/components/dialog/dialog.js +6 -0
  26. package/dist/components/dialog/dialog.styles.js +91 -0
  27. package/dist/components/divider/divider.component.d.ts +3 -3
  28. package/dist/components/divider/divider.component.js +39 -27
  29. package/dist/components/divider/divider.styles.d.ts +1 -2
  30. package/dist/components/divider/divider.styles.js +26 -26
  31. package/dist/components/heading/heading.component.d.ts +2 -2
  32. package/dist/components/icon/icon.component.d.ts +1 -1
  33. package/dist/components/input/input.component.d.ts +12 -11
  34. package/dist/components/input/input.component.js +88 -89
  35. package/dist/components/link/link.component.d.ts +6 -6
  36. package/dist/components/link/link.component.js +20 -14
  37. package/dist/components/link/link.styles.js +36 -40
  38. package/dist/components/loader/loader.component.d.ts +2 -2
  39. package/dist/components/loader/loader.component.js +32 -25
  40. package/dist/components/loader/loader.styles.js +11 -10
  41. package/dist/components/logo/logo.component.d.ts +3 -3
  42. package/dist/components/logo/logo.component.js +25 -14
  43. package/dist/components/logo/logo.styles.d.ts +1 -2
  44. package/dist/components/logo/logo.styles.js +11 -9
  45. package/dist/components/progress/progress.component.d.ts +22 -0
  46. package/dist/components/progress/progress.component.js +49 -0
  47. package/dist/components/progress/progress.d.ts +8 -0
  48. package/dist/components/progress/progress.js +6 -0
  49. package/dist/components/progress/progress.styles.js +48 -0
  50. package/dist/components/radio/radio.component.d.ts +7 -9
  51. package/dist/components/radio/radio.component.js +93 -77
  52. package/dist/components/select/select.component.d.ts +2 -2
  53. package/dist/components/select/select.component.js +16 -13
  54. package/dist/components/select/select.controllers.d.ts +1 -1
  55. package/dist/components/select-option/select-option.component.d.ts +1 -1
  56. package/dist/components/select-option/select-option.controllers.d.ts +1 -1
  57. package/dist/components/select-option-group/select-option-group.component.d.ts +1 -1
  58. package/dist/components/switch/switch.component.d.ts +2 -2
  59. package/dist/components/switch/switch.component.js +17 -7
  60. package/dist/components/switch/switch.styles.js +16 -13
  61. package/dist/components/tab/tab.component.d.ts +29 -0
  62. package/dist/components/tab/tab.component.js +57 -0
  63. package/dist/components/tab/tab.d.ts +8 -0
  64. package/dist/components/tab/tab.js +6 -0
  65. package/dist/components/tab/tab.styles.d.ts +1 -0
  66. package/dist/components/tab/tab.styles.js +123 -0
  67. package/dist/components/tab-group/tab-group.component.d.ts +43 -0
  68. package/dist/components/tab-group/tab-group.component.js +98 -0
  69. package/dist/components/tab-group/tab-group.d.ts +8 -0
  70. package/dist/components/tab-group/tab-group.js +6 -0
  71. package/dist/components/tab-group/tab-group.styles.d.ts +1 -0
  72. package/dist/components/tab-group/tab-group.styles.js +75 -0
  73. package/dist/components/tab-panel/tab-panel.component.d.ts +19 -0
  74. package/dist/components/tab-panel/tab-panel.component.js +36 -0
  75. package/dist/components/tab-panel/tab-panel.d.ts +8 -0
  76. package/dist/components/tab-panel/tab-panel.js +6 -0
  77. package/dist/components/tab-panel/tab-panel.styles.d.ts +1 -0
  78. package/dist/components/tab-panel/tab-panel.styles.js +13 -0
  79. package/dist/components/tag/tag.component.d.ts +2 -2
  80. package/dist/components/tag/tag.component.js +61 -45
  81. package/dist/components/tag/tag.styles.js +30 -28
  82. package/dist/components/textarea/textarea.component.d.ts +4 -4
  83. package/dist/components/textarea/textarea.component.js +5 -5
  84. package/dist/components/toast/toast.component.d.ts +1 -1
  85. package/dist/components/toast/toast.component.js +13 -13
  86. package/dist/components/toast/toast.singleton.d.ts +3 -3
  87. package/dist/components/toast/toast.styles.d.ts +1 -0
  88. package/dist/components/toast-item/toast-item.component.d.ts +1 -1
  89. package/dist/components/toast-item/toast-item.component.js +1 -1
  90. package/dist/components/toast-wrapper/toast-wrapper.component.d.ts +2 -2
  91. package/dist/components/toast-wrapper/toast-wrapper.component.js +1 -1
  92. package/dist/components/toast-wrapper/toast-wrapper.styles.d.ts +1 -0
  93. package/dist/custom-elements.json +1170 -511
  94. package/dist/index.d.ts +5 -0
  95. package/dist/index.js +59 -44
  96. package/dist/internal/components/formBase.d.ts +1 -0
  97. package/dist/internal/components/formBase.js +11 -11
  98. package/dist/internal/components/hint/hint.component.d.ts +2 -2
  99. package/dist/internal/components/skf-element.js +26 -25
  100. package/dist/internal/helpers/hintSeverity.d.ts +1 -1
  101. package/dist/internal/helpers/watch.d.ts +27 -0
  102. package/dist/internal/helpers/watch.js +28 -0
  103. package/dist/internal/templates/asterisk.d.ts +1 -1
  104. package/dist/internal/templates/asterisk.js +7 -6
  105. package/dist/react/index.d.ts +7 -2
  106. package/dist/react/index.js +7 -2
  107. package/dist/react/skf-button/index.d.ts +7 -1
  108. package/dist/react/skf-button/index.js +5 -1
  109. package/dist/react/skf-dialog/index.d.ts +15 -0
  110. package/dist/react/skf-dialog/index.js +19 -0
  111. package/dist/react/skf-progress/index.d.ts +3 -0
  112. package/dist/react/skf-progress/index.js +13 -0
  113. package/dist/react/skf-tab/index.d.ts +12 -0
  114. package/dist/react/skf-tab/index.js +18 -0
  115. package/dist/react/skf-tab-group/index.d.ts +3 -0
  116. package/dist/react/skf-tab-group/index.js +13 -0
  117. package/dist/react/skf-tab-panel/index.d.ts +3 -0
  118. package/dist/react/skf-tab-panel/index.js +13 -0
  119. package/dist/styles/component.styles.js +15 -2
  120. package/dist/types/jsx/custom-element-jsx.d.ts +246 -101
  121. package/dist/types/vue/index.d.ts +215 -65
  122. package/dist/vscode.html-custom-data.json +276 -182
  123. package/dist/web-types.json +556 -248
  124. package/package.json +33 -32
  125. /package/dist/components/{toast-wrapper/toast-wrapper.style.d.ts → dialog/dialog.styles.d.ts} +0 -0
  126. /package/dist/components/{toast/toast.style.d.ts → progress/progress.styles.d.ts} +0 -0
  127. /package/dist/components/toast/{toast.style.js → toast.styles.js} +0 -0
  128. /package/dist/components/toast-item/{toast-item.style.d.ts → toast-item.styles.d.ts} +0 -0
  129. /package/dist/components/toast-item/{toast-item.style.js → toast-item.styles.js} +0 -0
  130. /package/dist/components/toast-wrapper/{toast-wrapper.style.js → toast-wrapper.styles.js} +0 -0
@@ -41,8 +41,9 @@
41
41
  "kind": "field",
42
42
  "name": "gap",
43
43
  "type": {
44
- "text": "boolean | undefined"
44
+ "text": "boolean"
45
45
  },
46
+ "default": "false",
46
47
  "description": "If true, adds a gap between each item",
47
48
  "attribute": "gap",
48
49
  "reflects": true
@@ -111,8 +112,9 @@
111
112
  {
112
113
  "name": "gap",
113
114
  "type": {
114
- "text": "boolean | undefined"
115
+ "text": "boolean"
115
116
  },
117
+ "default": "false",
116
118
  "description": "If true, adds a gap between each item",
117
119
  "fieldName": "gap"
118
120
  },
@@ -162,949 +164,1193 @@
162
164
  },
163
165
  {
164
166
  "kind": "javascript-module",
165
- "path": "src/components/alert/alert.component.ts",
167
+ "path": "src/components/card/card.component.ts",
166
168
  "declarations": [
167
169
  {
168
170
  "kind": "class",
169
- "description": "The `<skf-alert>` is a type of notification that appears in-line",
170
- "name": "SkfAlert",
171
+ "description": "The `<skf-card>` can be used to group related subjects in a container",
172
+ "name": "SkfCard",
171
173
  "slots": [
172
174
  {
173
- "description": "Alert message. **Notice!** See design principles for approved content",
175
+ "description": "The card's main content",
174
176
  "name": ""
175
- },
176
- {
177
- "description": "Slot for the link",
178
- "name": "link"
179
177
  }
180
178
  ],
181
179
  "members": [
182
180
  {
183
181
  "kind": "field",
184
- "name": "closeable",
185
- "type": {
186
- "text": "boolean | undefined"
187
- },
188
- "description": "If true, alert is being used as a toast (alertdialog) with an close button",
189
- "attribute": "closeable",
190
- "reflects": true
191
- },
192
- {
193
- "kind": "field",
194
- "name": "buttonLabel",
182
+ "name": "noBorder",
195
183
  "type": {
196
- "text": "string"
184
+ "text": "boolean"
197
185
  },
198
- "default": "'Close'",
199
- "description": "Close button aria-label",
200
- "attribute": "button-label"
186
+ "default": "false",
187
+ "description": "If true, removes border",
188
+ "attribute": "no-border"
201
189
  },
202
190
  {
203
191
  "kind": "field",
204
- "name": "icon",
192
+ "name": "noPadding",
205
193
  "type": {
206
- "text": "SkfIcon['name'] | undefined"
194
+ "text": "boolean"
207
195
  },
208
- "description": "If defined, displays leading icon",
209
- "attribute": "icon"
196
+ "default": "false",
197
+ "description": "If true, removes padding",
198
+ "attribute": "no-padding"
210
199
  },
211
200
  {
212
201
  "kind": "field",
213
- "name": "severity",
202
+ "name": "stretch",
214
203
  "type": {
215
- "text": "\"error\" | \"info\" | \"warning\" | \"success\" | \"alert\""
204
+ "text": "boolean"
216
205
  },
217
- "description": "If defined, gives the supplied appearance",
218
- "attribute": "severity",
206
+ "default": "false",
207
+ "description": "If true, the Card fills the parent element height",
208
+ "attribute": "stretch",
219
209
  "reflects": true
220
210
  }
221
211
  ],
222
- "events": [
223
- {
224
- "description": "Fires when the close button is clicked",
225
- "name": "skf-alert-close"
226
- }
227
- ],
228
212
  "attributes": [
229
213
  {
230
- "name": "closeable",
231
- "type": {
232
- "text": "boolean | undefined"
233
- },
234
- "description": "If true, alert is being used as a toast (alertdialog) with an close button",
235
- "fieldName": "closeable"
236
- },
237
- {
238
- "name": "button-label",
214
+ "name": "no-border",
239
215
  "type": {
240
- "text": "string"
216
+ "text": "boolean"
241
217
  },
242
- "default": "'Close'",
243
- "description": "Close button aria-label",
244
- "fieldName": "buttonLabel"
218
+ "default": "false",
219
+ "description": "If true, removes border",
220
+ "fieldName": "noBorder"
245
221
  },
246
222
  {
247
- "name": "icon",
223
+ "name": "no-padding",
248
224
  "type": {
249
- "text": "SkfIcon['name'] | undefined"
225
+ "text": "boolean"
250
226
  },
251
- "description": "If defined, displays leading icon",
252
- "fieldName": "icon"
227
+ "default": "false",
228
+ "description": "If true, removes padding",
229
+ "fieldName": "noPadding"
253
230
  },
254
231
  {
255
- "name": "severity",
232
+ "name": "stretch",
256
233
  "type": {
257
- "text": "\"error\" | \"info\" | \"warning\" | \"success\" | \"alert\""
234
+ "text": "boolean"
258
235
  },
259
- "description": "If defined, gives the supplied appearance",
260
- "fieldName": "severity"
236
+ "default": "false",
237
+ "description": "If true, the Card fills the parent element height",
238
+ "fieldName": "stretch"
261
239
  }
262
240
  ],
263
241
  "superclass": {
264
242
  "name": "SkfElement",
265
243
  "package": "@internal/components/skf-element.js"
266
244
  },
267
- "tagName": "skf-alert",
245
+ "tagName": "skf-card",
268
246
  "customElement": true
269
247
  }
270
248
  ],
271
249
  "exports": [
272
250
  {
273
251
  "kind": "js",
274
- "name": "SkfAlert",
252
+ "name": "SkfCard",
275
253
  "declaration": {
276
- "name": "SkfAlert",
277
- "module": "src/components/alert/alert.component.ts"
254
+ "name": "SkfCard",
255
+ "module": "src/components/card/card.component.ts"
278
256
  }
279
257
  }
280
258
  ]
281
259
  },
282
260
  {
283
261
  "kind": "javascript-module",
284
- "path": "src/components/button/button.component.ts",
262
+ "path": "src/components/checkbox/checkbox.component.ts",
285
263
  "declarations": [
286
264
  {
287
265
  "kind": "class",
288
- "description": "Component to be used in forms or for interactivity",
289
- "name": "SkfButton",
266
+ "description": "The `<skf-checkbox>` component is used to create a checkbox input",
267
+ "name": "SkfCheckbox",
290
268
  "slots": [
291
269
  {
292
- "description": "The Primary content",
270
+ "description": "The Radios label. Alternatively, you can use the `label` attribute.",
293
271
  "name": ""
294
272
  }
295
273
  ],
296
274
  "members": [
297
275
  {
298
276
  "kind": "field",
299
- "name": "destructive",
277
+ "name": "debug",
300
278
  "type": {
301
- "text": "boolean"
279
+ "text": "boolean | undefined"
302
280
  },
303
- "default": "false",
304
- "description": "If true, gives destructive appearance. **Notice!** Only applicable if `variant` is `primary`.",
305
- "attribute": "destructive"
281
+ "description": "If defined, outputs helping hints in console",
282
+ "attribute": "debug"
306
283
  },
307
284
  {
308
285
  "kind": "field",
309
- "name": "disabled",
286
+ "name": "checked",
310
287
  "type": {
311
- "text": "boolean"
288
+ "text": "boolean | undefined"
312
289
  },
313
- "default": "false",
314
- "description": "If true, removes border",
315
- "attribute": "disabled"
290
+ "description": "If true, outputs helping hints in console",
291
+ "attribute": "checked",
292
+ "reflects": true
316
293
  },
317
294
  {
318
295
  "kind": "field",
319
- "name": "icon",
296
+ "name": "customInvalid",
320
297
  "type": {
321
- "text": "\"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\""
298
+ "text": "boolean | undefined"
322
299
  },
323
- "description": "If provided, renders an icon before or after the text",
324
- "attribute": "icon"
300
+ "description": "If true, forces component to invalid state until removed",
301
+ "attribute": "custom-invalid",
302
+ "reflects": true
325
303
  },
326
304
  {
327
305
  "kind": "field",
328
- "name": "iconPosition",
306
+ "name": "indeterminate",
329
307
  "type": {
330
- "text": "'left' | 'right' | undefined"
308
+ "text": "boolean | undefined"
331
309
  },
332
- "default": "'left'",
333
- "description": "If provided, determines the positioning of the icon in relation to the text",
334
- "attribute": "icon-position"
310
+ "description": "If true and the checkbox is unchecked, the checkbox will appear indeterminate",
311
+ "attribute": "indeterminate",
312
+ "reflects": true
335
313
  },
336
314
  {
337
315
  "kind": "field",
338
- "name": "loading",
316
+ "name": "label",
339
317
  "type": {
340
- "text": "boolean"
318
+ "text": "string | undefined"
341
319
  },
342
- "default": "false",
343
- "description": "If true, hides text & icon and shows loading indicator. **Notice!** Only applicable if `variant` is `primary`.",
344
- "attribute": "loading"
320
+ "description": "If defined, sets the input's label. Alternatively, you can use the `label` attribute.",
321
+ "attribute": "label"
345
322
  },
346
323
  {
347
324
  "kind": "field",
348
- "name": "size",
325
+ "name": "name",
349
326
  "type": {
350
- "text": "'sm' | 'md' | 'lg'"
327
+ "text": "string | undefined"
351
328
  },
352
- "default": "'md'",
353
- "description": "If provided, displays an alternative size",
354
- "attribute": "size",
329
+ "description": "If defined, adds name to the input-element",
330
+ "attribute": "name"
331
+ },
332
+ {
333
+ "kind": "field",
334
+ "name": "requiredLabel",
335
+ "type": {
336
+ "text": "string | undefined"
337
+ },
338
+ "description": "If defined, renders an alternative A11y text for the asterisk",
339
+ "attribute": "required-label"
340
+ },
341
+ {
342
+ "kind": "field",
343
+ "name": "severity",
344
+ "type": {
345
+ "text": "\"alert\" | \"success\" | \"info\" | \"warning\""
346
+ },
347
+ "description": "If defined, styles checkbox using provided severity",
348
+ "attribute": "severity",
355
349
  "reflects": true
356
350
  },
357
351
  {
358
352
  "kind": "field",
359
- "name": "type",
353
+ "name": "showValid",
360
354
  "type": {
361
- "text": "'button' | 'submit' | 'reset'"
355
+ "text": "boolean | undefined"
362
356
  },
363
- "default": "'button'",
364
- "description": "If provided, changes the button type",
365
- "attribute": "type"
357
+ "description": "If true, displays valid state after interaction",
358
+ "attribute": "show-valid"
366
359
  },
367
360
  {
368
361
  "kind": "field",
369
- "name": "variant",
362
+ "name": "size",
370
363
  "type": {
371
- "text": "'primary' | 'secondary'"
364
+ "text": "'sm' | 'md'"
372
365
  },
373
- "default": "'primary'",
374
- "description": "If provided, alters the appearance",
375
- "attribute": "variant",
366
+ "default": "'md'",
367
+ "description": "Size of the checkbox",
368
+ "attribute": "size",
376
369
  "reflects": true
377
370
  },
371
+ {
372
+ "kind": "field",
373
+ "name": "value",
374
+ "type": {
375
+ "text": "string"
376
+ },
377
+ "default": "''",
378
+ "description": "The current value of the input field",
379
+ "attribute": "value"
380
+ },
378
381
  {
379
382
  "kind": "method",
380
- "name": "_showLoader",
381
- "privacy": "private"
383
+ "name": "handleInvalidChange"
382
384
  },
383
385
  {
384
386
  "kind": "method",
385
- "name": "_hideLoader",
386
- "privacy": "private"
387
+ "name": "handleDebugInvalid"
388
+ },
389
+ {
390
+ "kind": "method",
391
+ "name": "handleCustomInvalidChange"
392
+ }
393
+ ],
394
+ "events": [
395
+ {
396
+ "description": "{object} - When the value of the input changes",
397
+ "name": "change"
387
398
  }
388
399
  ],
389
400
  "attributes": [
390
401
  {
391
- "name": "destructive",
392
402
  "type": {
393
403
  "text": "boolean"
394
404
  },
395
- "default": "false",
396
- "description": "If true, gives destructive appearance. **Notice!** Only applicable if `variant` is `primary`.",
397
- "fieldName": "destructive"
405
+ "description": "If true, sets disabled state",
406
+ "name": "disabled"
398
407
  },
399
408
  {
400
- "name": "disabled",
401
409
  "type": {
402
410
  "text": "boolean"
403
411
  },
404
- "default": "false",
405
- "description": "If true, removes border",
406
- "fieldName": "disabled"
412
+ "description": "If true, value is required or must be checked for the form to be submittable",
413
+ "name": "required"
407
414
  },
408
415
  {
409
- "name": "icon",
416
+ "name": "debug",
410
417
  "type": {
411
- "text": "\"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\""
418
+ "text": "boolean | undefined"
412
419
  },
413
- "description": "If provided, renders an icon before or after the text",
414
- "fieldName": "icon"
420
+ "description": "If defined, outputs helping hints in console",
421
+ "fieldName": "debug"
415
422
  },
416
423
  {
417
- "name": "icon-position",
424
+ "name": "checked",
418
425
  "type": {
419
- "text": "'left' | 'right' | undefined"
426
+ "text": "boolean | undefined"
420
427
  },
421
- "default": "'left'",
422
- "description": "If provided, determines the positioning of the icon in relation to the text",
423
- "fieldName": "iconPosition"
424
- },
425
- {
426
- "name": "loading",
427
- "type": {
428
- "text": "boolean"
429
- },
430
- "default": "false",
431
- "description": "If true, hides text & icon and shows loading indicator. **Notice!** Only applicable if `variant` is `primary`.",
432
- "fieldName": "loading"
428
+ "description": "If true, outputs helping hints in console",
429
+ "fieldName": "checked"
433
430
  },
434
431
  {
435
- "name": "size",
432
+ "name": "custom-invalid",
436
433
  "type": {
437
- "text": "'sm' | 'md' | 'lg'"
434
+ "text": "boolean | undefined"
438
435
  },
439
- "default": "'md'",
440
- "description": "If provided, displays an alternative size",
441
- "fieldName": "size"
436
+ "description": "If true, forces component to invalid state until removed",
437
+ "fieldName": "customInvalid"
442
438
  },
443
439
  {
444
- "name": "type",
440
+ "name": "indeterminate",
445
441
  "type": {
446
- "text": "'button' | 'submit' | 'reset'"
442
+ "text": "boolean | undefined"
447
443
  },
448
- "default": "'button'",
449
- "description": "If provided, changes the button type",
450
- "fieldName": "type"
444
+ "description": "If true and the checkbox is unchecked, the checkbox will appear indeterminate",
445
+ "fieldName": "indeterminate"
451
446
  },
452
447
  {
453
- "name": "variant",
448
+ "name": "label",
454
449
  "type": {
455
- "text": "'primary' | 'secondary'"
450
+ "text": "string | undefined"
456
451
  },
457
- "default": "'primary'",
458
- "description": "If provided, alters the appearance",
459
- "fieldName": "variant"
460
- }
461
- ],
462
- "superclass": {
463
- "name": "SkfElement",
464
- "package": "@internal/components/skf-element.js"
465
- },
466
- "tagName": "skf-button",
467
- "customElement": true
468
- }
469
- ],
470
- "exports": [
471
- {
472
- "kind": "js",
473
- "name": "SkfButton",
474
- "declaration": {
475
- "name": "SkfButton",
476
- "module": "src/components/button/button.component.ts"
477
- }
478
- }
479
- ]
480
- },
481
- {
482
- "kind": "javascript-module",
483
- "path": "src/components/card/card.component.ts",
484
- "declarations": [
485
- {
486
- "kind": "class",
487
- "description": "The `<skf-card>` can be used to group related subjects in a container",
488
- "name": "SkfCard",
489
- "slots": [
490
- {
491
- "description": "The card's main content",
492
- "name": ""
493
- }
494
- ],
495
- "members": [
452
+ "description": "If defined, sets the input's label. Alternatively, you can use the `label` attribute.",
453
+ "fieldName": "label"
454
+ },
496
455
  {
497
- "kind": "field",
498
- "name": "noBorder",
456
+ "name": "name",
499
457
  "type": {
500
- "text": "boolean | undefined"
458
+ "text": "string | undefined"
501
459
  },
502
- "description": "If true, removes border",
503
- "attribute": "no-border"
460
+ "description": "If defined, adds name to the input-element",
461
+ "fieldName": "name"
504
462
  },
505
463
  {
506
- "kind": "field",
507
- "name": "noPadding",
464
+ "name": "required-label",
508
465
  "type": {
509
- "text": "boolean | undefined"
466
+ "text": "string | undefined"
510
467
  },
511
- "description": "If true, removes padding",
512
- "attribute": "no-padding"
468
+ "description": "If defined, renders an alternative A11y text for the asterisk",
469
+ "fieldName": "requiredLabel"
513
470
  },
514
471
  {
515
- "kind": "field",
516
- "name": "stretch",
472
+ "name": "severity",
517
473
  "type": {
518
- "text": "boolean | undefined"
474
+ "text": "\"alert\" | \"success\" | \"info\" | \"warning\""
519
475
  },
520
- "description": "If true, the Card fills the parent element height",
521
- "attribute": "stretch",
522
- "reflects": true
523
- }
524
- ],
525
- "attributes": [
476
+ "description": "If defined, styles checkbox using provided severity",
477
+ "fieldName": "severity"
478
+ },
526
479
  {
527
- "name": "no-border",
480
+ "name": "show-valid",
528
481
  "type": {
529
482
  "text": "boolean | undefined"
530
483
  },
531
- "description": "If true, removes border",
532
- "fieldName": "noBorder"
484
+ "description": "If true, displays valid state after interaction",
485
+ "fieldName": "showValid"
533
486
  },
534
487
  {
535
- "name": "no-padding",
488
+ "name": "size",
536
489
  "type": {
537
- "text": "boolean | undefined"
490
+ "text": "'sm' | 'md'"
538
491
  },
539
- "description": "If true, removes padding",
540
- "fieldName": "noPadding"
492
+ "default": "'md'",
493
+ "description": "Size of the checkbox",
494
+ "fieldName": "size"
541
495
  },
542
496
  {
543
- "name": "stretch",
497
+ "name": "value",
544
498
  "type": {
545
- "text": "boolean | undefined"
499
+ "text": "string"
546
500
  },
547
- "description": "If true, the Card fills the parent element height",
548
- "fieldName": "stretch"
501
+ "default": "''",
502
+ "description": "The current value of the input field",
503
+ "fieldName": "value"
549
504
  }
550
505
  ],
551
506
  "superclass": {
552
- "name": "SkfElement",
553
- "package": "@internal/components/skf-element.js"
507
+ "name": "FormBase",
508
+ "package": "@internal/components/formBase.js"
554
509
  },
555
- "tagName": "skf-card",
510
+ "tagName": "skf-checkbox",
556
511
  "customElement": true
557
512
  }
558
513
  ],
559
514
  "exports": [
560
515
  {
561
516
  "kind": "js",
562
- "name": "SkfCard",
517
+ "name": "SkfCheckbox",
563
518
  "declaration": {
564
- "name": "SkfCard",
565
- "module": "src/components/card/card.component.ts"
519
+ "name": "SkfCheckbox",
520
+ "module": "src/components/checkbox/checkbox.component.ts"
566
521
  }
567
522
  }
568
523
  ]
569
524
  },
570
525
  {
571
526
  "kind": "javascript-module",
572
- "path": "src/components/checkbox/checkbox.component.ts",
527
+ "path": "src/components/collapse/collapse.component.ts",
573
528
  "declarations": [
574
529
  {
575
530
  "kind": "class",
576
- "description": "The `<skf-checkbox>` component is used to create a checkbox input",
577
- "name": "SkfCheckbox",
531
+ "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.",
532
+ "name": "SkfCollapse",
578
533
  "slots": [
579
534
  {
580
- "description": "The Radios label. Alternatively, you can use the `label` attribute.",
535
+ "description": "Main content",
581
536
  "name": ""
582
537
  }
583
538
  ],
584
539
  "members": [
585
540
  {
586
541
  "kind": "field",
587
- "name": "debug",
542
+ "name": "animated",
588
543
  "type": {
589
- "text": "boolean | undefined"
544
+ "text": "boolean"
590
545
  },
591
- "description": "If defined, outputs helping hints in console",
592
- "attribute": "debug"
546
+ "default": "false",
547
+ "description": "If true, will animate the expand/collapse state",
548
+ "attribute": "animated",
549
+ "reflects": true
593
550
  },
594
551
  {
595
552
  "kind": "field",
596
- "name": "checked",
553
+ "name": "expanded",
597
554
  "type": {
598
- "text": "boolean | undefined"
555
+ "text": "boolean"
599
556
  },
600
- "description": "If true, outputs helping hints in console",
601
- "attribute": "checked",
557
+ "default": "false",
558
+ "description": "If true, will set the collapse to be expanded by default",
559
+ "attribute": "expanded",
602
560
  "reflects": true
603
561
  },
604
562
  {
605
563
  "kind": "field",
606
- "name": "customInvalid",
564
+ "name": "heading",
607
565
  "type": {
608
- "text": "boolean | undefined"
566
+ "text": "string | undefined"
609
567
  },
610
- "description": "If true, forces component to invalid state until removed",
611
- "attribute": "custom-invalid"
568
+ "description": "Heading for the collapse",
569
+ "attribute": "heading"
612
570
  },
613
571
  {
614
572
  "kind": "field",
615
- "name": "hideLabel",
573
+ "name": "headingAs",
616
574
  "type": {
617
- "text": "boolean | undefined"
575
+ "text": "\"h2\" | \"h3\" | \"h4\""
618
576
  },
619
- "description": "If true, hides the label visually",
620
- "attribute": "hide-label",
621
- "reflects": true
577
+ "default": "'h2'",
578
+ "description": "Defines which heading element will be rendered",
579
+ "attribute": "heading-as"
622
580
  },
623
581
  {
624
582
  "kind": "field",
625
- "name": "indeterminate",
583
+ "name": "small",
626
584
  "type": {
627
- "text": "boolean | undefined"
585
+ "text": "boolean"
628
586
  },
629
- "description": "If true and the checkbox is unchecked, the checkbox will appear indeterminate",
630
- "attribute": "indeterminate",
587
+ "default": "false",
588
+ "description": "If true, renders the small version",
589
+ "attribute": "small",
631
590
  "reflects": true
632
591
  },
633
592
  {
634
593
  "kind": "field",
635
- "name": "label",
594
+ "name": "truncate",
636
595
  "type": {
637
- "text": "string | undefined"
596
+ "text": "boolean"
638
597
  },
639
- "description": "If defined, sets the input's label. Alternatively, you can use the `label` attribute.",
640
- "attribute": "label"
598
+ "default": "false",
599
+ "description": "If true, will truncate the heading in collapsed state",
600
+ "attribute": "truncate",
601
+ "reflects": true
641
602
  },
642
603
  {
643
- "kind": "field",
644
- "name": "name",
645
- "type": {
646
- "text": "string | undefined"
647
- },
648
- "description": "If defined, adds name to the input-element",
649
- "attribute": "name"
604
+ "kind": "method",
605
+ "name": "setClose",
606
+ "description": "Class method as alternative to manipulate attribute"
650
607
  },
651
608
  {
652
- "kind": "field",
653
- "name": "requiredLabel",
609
+ "kind": "method",
610
+ "name": "setOpen",
611
+ "description": "Class method as alternative to manipulate attribute"
612
+ }
613
+ ],
614
+ "events": [
615
+ {
654
616
  "type": {
655
- "text": "string | undefined"
617
+ "text": "CustomEvent"
656
618
  },
657
- "description": "If defined, renders an alternative A11y text for the asterisk",
658
- "attribute": "required-label"
659
- },
619
+ "description": "Event emitted when toggled",
620
+ "name": "skf-collapse-toggle"
621
+ }
622
+ ],
623
+ "attributes": [
660
624
  {
661
- "kind": "field",
662
- "name": "severity",
625
+ "name": "animated",
663
626
  "type": {
664
- "text": "\"alert\" | \"success\" | \"info\" | \"warning\""
627
+ "text": "boolean"
665
628
  },
666
- "description": "If defined, styles checkbox using provided severity",
667
- "attribute": "severity",
668
- "reflects": true
629
+ "default": "false",
630
+ "description": "If true, will animate the expand/collapse state",
631
+ "fieldName": "animated"
669
632
  },
670
633
  {
671
- "kind": "field",
672
- "name": "showValid",
634
+ "name": "expanded",
673
635
  "type": {
674
- "text": "boolean | undefined"
636
+ "text": "boolean"
675
637
  },
676
- "description": "If true, displays valid state after interaction",
677
- "attribute": "show-valid"
638
+ "default": "false",
639
+ "description": "If true, will set the collapse to be expanded by default",
640
+ "fieldName": "expanded"
678
641
  },
679
642
  {
680
- "kind": "field",
681
- "name": "size",
643
+ "name": "heading",
682
644
  "type": {
683
- "text": "'sm' | 'md'"
645
+ "text": "string | undefined"
684
646
  },
685
- "default": "'md'",
686
- "description": "Size of the checkbox",
687
- "attribute": "size",
688
- "reflects": true
647
+ "description": "Heading for the collapse",
648
+ "fieldName": "heading"
689
649
  },
690
650
  {
691
- "kind": "field",
692
- "name": "value",
651
+ "name": "heading-as",
693
652
  "type": {
694
- "text": "string"
653
+ "text": "\"h2\" | \"h3\" | \"h4\""
695
654
  },
696
- "default": "''",
697
- "description": "The current value of the input field",
698
- "attribute": "value"
655
+ "default": "'h2'",
656
+ "description": "Defines which heading element will be rendered",
657
+ "fieldName": "headingAs"
699
658
  },
700
659
  {
701
- "kind": "method",
702
- "name": "debugOutput"
660
+ "name": "small",
661
+ "type": {
662
+ "text": "boolean"
663
+ },
664
+ "default": "false",
665
+ "description": "If true, renders the small version",
666
+ "fieldName": "small"
667
+ },
668
+ {
669
+ "name": "truncate",
670
+ "type": {
671
+ "text": "boolean"
672
+ },
673
+ "default": "false",
674
+ "description": "If true, will truncate the heading in collapsed state",
675
+ "fieldName": "truncate"
703
676
  }
704
677
  ],
705
- "events": [
678
+ "superclass": {
679
+ "name": "SkfElement",
680
+ "package": "@internal/components/skf-element.js"
681
+ },
682
+ "tagName": "skf-collapse",
683
+ "customElement": true
684
+ }
685
+ ],
686
+ "exports": [
687
+ {
688
+ "kind": "js",
689
+ "name": "SkfCollapse",
690
+ "declaration": {
691
+ "name": "SkfCollapse",
692
+ "module": "src/components/collapse/collapse.component.ts"
693
+ }
694
+ }
695
+ ]
696
+ },
697
+ {
698
+ "kind": "javascript-module",
699
+ "path": "src/components/dialog/dialog.component.ts",
700
+ "declarations": [
701
+ {
702
+ "kind": "class",
703
+ "description": "The `<skf-dialog>` is a component that open up a dialog with the content provided",
704
+ "name": "SkfDialog",
705
+ "cssProperties": [
706
706
  {
707
- "description": "{object} - When the value of the input changes",
708
- "name": "change"
707
+ "description": "A custom height for the Dialog. Pass valid CSS **block-size** values",
708
+ "name": "--skf-dialog-height"
709
+ },
710
+ {
711
+ "description": "A custom width for the Dialog Pass valid CSS **inline-size** values",
712
+ "name": "--skf-dialog-width"
709
713
  }
710
714
  ],
711
- "attributes": [
715
+ "slots": [
712
716
  {
713
- "type": {
714
- "text": "boolean"
715
- },
716
- "description": "If true, sets disabled state",
717
- "name": "disabled"
717
+ "description": "The dialog component's content",
718
+ "name": ""
718
719
  },
719
720
  {
721
+ "description": "The dialog component's heading",
722
+ "name": "heading"
723
+ },
724
+ {
725
+ "description": "The dialog component's buttons goes here",
726
+ "name": "footer"
727
+ }
728
+ ],
729
+ "members": [
730
+ {
731
+ "kind": "field",
732
+ "name": "closeButtonAriaLabel",
720
733
  "type": {
721
- "text": "boolean"
734
+ "text": "string | undefined"
722
735
  },
723
- "description": "If true, value is required or must be checked for the form to be submittable",
724
- "name": "required"
736
+ "description": "If defined, sets the aria-label for the close button",
737
+ "attribute": "close-button-aria-label"
725
738
  },
726
739
  {
727
- "name": "debug",
740
+ "kind": "field",
741
+ "name": "heading",
728
742
  "type": {
729
- "text": "boolean | undefined"
743
+ "text": "string | undefined"
730
744
  },
731
- "description": "If defined, outputs helping hints in console",
732
- "fieldName": "debug"
745
+ "description": "Title for the modal/dialog",
746
+ "attribute": "heading"
733
747
  },
734
748
  {
735
- "name": "checked",
749
+ "kind": "field",
750
+ "name": "fullscreen",
736
751
  "type": {
737
- "text": "boolean | undefined"
752
+ "text": "boolean"
738
753
  },
739
- "description": "If true, outputs helping hints in console",
740
- "fieldName": "checked"
754
+ "default": "false",
755
+ "description": "If true, makes the dialog stretch edge to edge on screen",
756
+ "attribute": "fullscreen"
741
757
  },
742
758
  {
743
- "name": "custom-invalid",
759
+ "kind": "field",
760
+ "name": "noCloseButton",
744
761
  "type": {
745
- "text": "boolean | undefined"
762
+ "text": "boolean"
746
763
  },
747
- "description": "If true, forces component to invalid state until removed",
748
- "fieldName": "customInvalid"
764
+ "default": "false",
765
+ "description": "If true, removes the close button",
766
+ "attribute": "no-close-button"
749
767
  },
750
768
  {
751
- "name": "hide-label",
769
+ "kind": "field",
770
+ "name": "noPadding",
752
771
  "type": {
753
- "text": "boolean | undefined"
772
+ "text": "boolean"
754
773
  },
755
- "description": "If true, hides the label visually",
756
- "fieldName": "hideLabel"
774
+ "default": "false",
775
+ "description": "If defined, removes the inner padding",
776
+ "attribute": "no-padding"
757
777
  },
758
778
  {
759
- "name": "indeterminate",
779
+ "kind": "field",
780
+ "name": "open",
760
781
  "type": {
761
- "text": "boolean | undefined"
782
+ "text": "boolean | null | undefined"
762
783
  },
763
- "description": "If true and the checkbox is unchecked, the checkbox will appear indeterminate",
764
- "fieldName": "indeterminate"
784
+ "attribute": "open",
785
+ "reflects": true
765
786
  },
766
787
  {
767
- "name": "label",
788
+ "kind": "field",
789
+ "name": "onClose",
768
790
  "type": {
769
- "text": "string | undefined"
791
+ "text": "((event: Event) => void) | null | undefined"
770
792
  },
771
- "description": "If defined, sets the input's label. Alternatively, you can use the `label` attribute.",
772
- "fieldName": "label"
793
+ "default": "null",
794
+ "description": "If provided, will run function on dialog close"
773
795
  },
774
796
  {
775
- "name": "name",
797
+ "kind": "method",
798
+ "name": "handleOpenChange"
799
+ },
800
+ {
801
+ "kind": "field",
802
+ "name": "showModal",
803
+ "description": "Method that opens the dialog in modal state"
804
+ },
805
+ {
806
+ "kind": "field",
807
+ "name": "close",
808
+ "description": "Method that closes the dialog"
809
+ }
810
+ ],
811
+ "events": [
812
+ {
813
+ "description": "Fires when the dialog is opened (after transitioned in)",
814
+ "name": "skf-dialog-open"
815
+ },
816
+ {
817
+ "description": "Fires when the dialog is closed (before transitioned out)",
818
+ "name": "skf-dialog-close"
819
+ },
820
+ {
821
+ "description": "Fires when the dialog is closed (after transitioned out)",
822
+ "name": "close"
823
+ }
824
+ ],
825
+ "attributes": [
826
+ {
827
+ "name": "close-button-aria-label",
776
828
  "type": {
777
829
  "text": "string | undefined"
778
830
  },
779
- "description": "If defined, adds name to the input-element",
780
- "fieldName": "name"
831
+ "description": "If defined, sets the aria-label for the close button",
832
+ "fieldName": "closeButtonAriaLabel"
781
833
  },
782
834
  {
783
- "name": "required-label",
835
+ "name": "heading",
784
836
  "type": {
785
837
  "text": "string | undefined"
786
838
  },
787
- "description": "If defined, renders an alternative A11y text for the asterisk",
788
- "fieldName": "requiredLabel"
839
+ "description": "Title for the modal/dialog",
840
+ "fieldName": "heading"
789
841
  },
790
842
  {
791
- "name": "severity",
843
+ "name": "fullscreen",
792
844
  "type": {
793
- "text": "\"alert\" | \"success\" | \"info\" | \"warning\""
845
+ "text": "boolean"
794
846
  },
795
- "description": "If defined, styles checkbox using provided severity",
796
- "fieldName": "severity"
847
+ "default": "false",
848
+ "description": "If true, makes the dialog stretch edge to edge on screen",
849
+ "fieldName": "fullscreen"
797
850
  },
798
851
  {
799
- "name": "show-valid",
852
+ "name": "no-close-button",
800
853
  "type": {
801
- "text": "boolean | undefined"
854
+ "text": "boolean"
802
855
  },
803
- "description": "If true, displays valid state after interaction",
804
- "fieldName": "showValid"
856
+ "default": "false",
857
+ "description": "If true, removes the close button",
858
+ "fieldName": "noCloseButton"
805
859
  },
806
860
  {
807
- "name": "size",
861
+ "name": "no-padding",
808
862
  "type": {
809
- "text": "'sm' | 'md'"
863
+ "text": "boolean"
810
864
  },
811
- "default": "'md'",
812
- "description": "Size of the checkbox",
813
- "fieldName": "size"
865
+ "default": "false",
866
+ "description": "If defined, removes the inner padding",
867
+ "fieldName": "noPadding"
814
868
  },
815
869
  {
816
- "name": "value",
870
+ "name": "open",
817
871
  "type": {
818
- "text": "string"
872
+ "text": "boolean | null | undefined"
819
873
  },
820
- "default": "''",
821
- "description": "The current value of the input field",
822
- "fieldName": "value"
874
+ "fieldName": "open"
823
875
  }
824
876
  ],
825
877
  "superclass": {
826
- "name": "FormBase",
827
- "package": "@internal/components/formBase.js"
878
+ "name": "SkfElement",
879
+ "package": "@internal/components/skf-element"
828
880
  },
829
- "tagName": "skf-checkbox",
881
+ "tagName": "skf-dialog",
830
882
  "customElement": true
831
883
  }
832
884
  ],
833
885
  "exports": [
834
886
  {
835
887
  "kind": "js",
836
- "name": "SkfCheckbox",
888
+ "name": "SkfDialog",
837
889
  "declaration": {
838
- "name": "SkfCheckbox",
839
- "module": "src/components/checkbox/checkbox.component.ts"
890
+ "name": "SkfDialog",
891
+ "module": "src/components/dialog/dialog.component.ts"
840
892
  }
841
893
  }
842
894
  ]
843
895
  },
844
896
  {
845
897
  "kind": "javascript-module",
846
- "path": "src/components/collapse/collapse.component.ts",
898
+ "path": "src/components/alert/alert.component.ts",
847
899
  "declarations": [
848
900
  {
849
901
  "kind": "class",
850
- "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.",
851
- "name": "SkfCollapse",
902
+ "description": "The `<skf-alert>` is a type of notification that appears in-line",
903
+ "name": "SkfAlert",
852
904
  "slots": [
853
905
  {
854
- "description": "Main content",
906
+ "description": "Alert message. **Notice!** See design principles for approved content",
855
907
  "name": ""
908
+ },
909
+ {
910
+ "description": "Slot for the link",
911
+ "name": "link"
856
912
  }
857
913
  ],
858
914
  "members": [
859
915
  {
860
916
  "kind": "field",
861
- "name": "animated",
917
+ "name": "closeable",
862
918
  "type": {
863
919
  "text": "boolean | undefined"
864
920
  },
865
- "description": "If true, will animate the expand/collapse state",
866
- "attribute": "animated",
921
+ "description": "If true, alert is being used as a toast (alertdialog) with an close button",
922
+ "attribute": "closeable",
867
923
  "reflects": true
868
924
  },
869
925
  {
870
926
  "kind": "field",
871
- "name": "expanded",
927
+ "name": "buttonLabel",
872
928
  "type": {
873
- "text": "boolean | undefined"
929
+ "text": "string"
874
930
  },
875
- "description": "If true, will set the collapse to be expanded by default",
876
- "attribute": "expanded",
877
- "reflects": true
931
+ "default": "'Close'",
932
+ "description": "Close button aria-label",
933
+ "attribute": "button-label"
878
934
  },
879
935
  {
880
936
  "kind": "field",
881
- "name": "heading",
937
+ "name": "icon",
882
938
  "type": {
883
- "text": "string | undefined"
939
+ "text": "SkfIcon['name'] | undefined"
884
940
  },
885
- "description": "Heading for the collapse",
886
- "attribute": "heading"
941
+ "description": "If defined, displays leading icon",
942
+ "attribute": "icon"
887
943
  },
888
944
  {
889
945
  "kind": "field",
890
- "name": "headingAs",
946
+ "name": "severity",
891
947
  "type": {
892
- "text": "\"h1\" | \"h2\" | \"h3\" | \"h4\""
948
+ "text": "\"error\" | \"info\" | \"warning\" | \"success\" | \"alert\""
893
949
  },
894
- "default": "'h2'",
895
- "description": "Defines which heading element will be rendered",
896
- "attribute": "heading-as"
897
- },
950
+ "description": "If defined, gives the supplied appearance",
951
+ "attribute": "severity",
952
+ "reflects": true
953
+ }
954
+ ],
955
+ "events": [
898
956
  {
899
- "kind": "field",
900
- "name": "small",
957
+ "description": "Fires when the close button is clicked",
958
+ "name": "skf-alert-close"
959
+ }
960
+ ],
961
+ "attributes": [
962
+ {
963
+ "name": "closeable",
901
964
  "type": {
902
965
  "text": "boolean | undefined"
903
966
  },
904
- "description": "If true, renders the small version",
905
- "attribute": "small",
906
- "reflects": true
967
+ "description": "If true, alert is being used as a toast (alertdialog) with an close button",
968
+ "fieldName": "closeable"
907
969
  },
908
970
  {
909
- "kind": "field",
910
- "name": "truncate",
971
+ "name": "button-label",
911
972
  "type": {
912
- "text": "boolean | undefined"
973
+ "text": "string"
913
974
  },
914
- "description": "If true, will truncate the heading in collapsed state",
915
- "attribute": "truncate",
916
- "reflects": true
975
+ "default": "'Close'",
976
+ "description": "Close button aria-label",
977
+ "fieldName": "buttonLabel"
917
978
  },
918
979
  {
919
- "kind": "method",
920
- "name": "setClose",
921
- "description": "Class method as alternative to manipulate attribute"
980
+ "name": "icon",
981
+ "type": {
982
+ "text": "SkfIcon['name'] | undefined"
983
+ },
984
+ "description": "If defined, displays leading icon",
985
+ "fieldName": "icon"
922
986
  },
923
987
  {
924
- "kind": "method",
925
- "name": "setOpen",
926
- "description": "Class method as alternative to manipulate attribute"
988
+ "name": "severity",
989
+ "type": {
990
+ "text": "\"error\" | \"info\" | \"warning\" | \"success\" | \"alert\""
991
+ },
992
+ "description": "If defined, gives the supplied appearance",
993
+ "fieldName": "severity"
927
994
  }
928
995
  ],
929
- "events": [
996
+ "superclass": {
997
+ "name": "SkfElement",
998
+ "package": "@internal/components/skf-element.js"
999
+ },
1000
+ "tagName": "skf-alert",
1001
+ "customElement": true
1002
+ }
1003
+ ],
1004
+ "exports": [
1005
+ {
1006
+ "kind": "js",
1007
+ "name": "SkfAlert",
1008
+ "declaration": {
1009
+ "name": "SkfAlert",
1010
+ "module": "src/components/alert/alert.component.ts"
1011
+ }
1012
+ }
1013
+ ]
1014
+ },
1015
+ {
1016
+ "kind": "javascript-module",
1017
+ "path": "src/components/divider/divider.component.ts",
1018
+ "declarations": [
1019
+ {
1020
+ "kind": "class",
1021
+ "description": "The `<Divider>` component can separate items from each other, to visually emphasize their lack of a relationship between groups of information",
1022
+ "name": "SkfDivider",
1023
+ "cssProperties": [
930
1024
  {
931
- "type": {
932
- "text": "CustomEvent"
933
- },
934
- "description": "Event emitted when toggled",
935
- "name": "skf-collapse-toggle"
1025
+ "description": "The amount of space the divider occupies. Pass valid CSS **margin-block** values when horizontal and **margin-inline** when vertical",
1026
+ "name": "--skf-divider-spacing"
1027
+ },
1028
+ {
1029
+ "description": "The amount of space the divider should be indented. Pass valid CSS **margin-inline** values when horizontal and **margin-block** when vertical",
1030
+ "name": "--skf-divider-inset"
936
1031
  }
937
1032
  ],
938
- "attributes": [
1033
+ "members": [
939
1034
  {
940
- "name": "animated",
1035
+ "kind": "field",
1036
+ "name": "#internals",
1037
+ "privacy": "private",
941
1038
  "type": {
942
- "text": "boolean | undefined"
943
- },
944
- "description": "If true, will animate the expand/collapse state",
945
- "fieldName": "animated"
1039
+ "text": "ElementInternals"
1040
+ }
946
1041
  },
947
1042
  {
948
- "name": "expanded",
1043
+ "kind": "field",
1044
+ "name": "color",
949
1045
  "type": {
950
- "text": "boolean | undefined"
1046
+ "text": "\"emphasised\" | \"primary\" | \"secondary\" | \"tertiary\" | \"inverse\""
951
1047
  },
952
- "description": "If true, will set the collapse to be expanded by default",
953
- "fieldName": "expanded"
1048
+ "default": "'primary'",
1049
+ "description": "Defines the Divider color",
1050
+ "attribute": "color",
1051
+ "reflects": true
954
1052
  },
955
1053
  {
956
- "name": "heading",
1054
+ "kind": "field",
1055
+ "name": "decorative",
957
1056
  "type": {
958
- "text": "string | undefined"
1057
+ "text": "boolean"
959
1058
  },
960
- "description": "Heading for the collapse",
961
- "fieldName": "heading"
1059
+ "default": "false",
1060
+ "description": "If true, renders a div for presentational purpose instead of the semantic hr-element",
1061
+ "attribute": "decorative"
962
1062
  },
963
1063
  {
964
- "name": "heading-as",
1064
+ "kind": "field",
1065
+ "name": "vertical",
965
1066
  "type": {
966
- "text": "\"h1\" | \"h2\" | \"h3\" | \"h4\""
1067
+ "text": "boolean"
967
1068
  },
968
- "default": "'h2'",
969
- "description": "Defines which heading element will be rendered",
970
- "fieldName": "headingAs"
1069
+ "default": "false",
1070
+ "description": "If true, renders the divider vertically",
1071
+ "attribute": "vertical",
1072
+ "reflects": true
1073
+ }
1074
+ ],
1075
+ "attributes": [
1076
+ {
1077
+ "name": "color",
1078
+ "type": {
1079
+ "text": "\"emphasised\" | \"primary\" | \"secondary\" | \"tertiary\" | \"inverse\""
1080
+ },
1081
+ "default": "'primary'",
1082
+ "description": "Defines the Divider color",
1083
+ "fieldName": "color"
971
1084
  },
972
1085
  {
973
- "name": "small",
1086
+ "name": "decorative",
974
1087
  "type": {
975
- "text": "boolean | undefined"
1088
+ "text": "boolean"
976
1089
  },
977
- "description": "If true, renders the small version",
978
- "fieldName": "small"
1090
+ "default": "false",
1091
+ "description": "If true, renders a div for presentational purpose instead of the semantic hr-element",
1092
+ "fieldName": "decorative"
979
1093
  },
980
1094
  {
981
- "name": "truncate",
1095
+ "name": "vertical",
982
1096
  "type": {
983
- "text": "boolean | undefined"
1097
+ "text": "boolean"
984
1098
  },
985
- "description": "If true, will truncate the heading in collapsed state",
986
- "fieldName": "truncate"
1099
+ "default": "false",
1100
+ "description": "If true, renders the divider vertically",
1101
+ "fieldName": "vertical"
987
1102
  }
988
1103
  ],
989
1104
  "superclass": {
990
1105
  "name": "SkfElement",
991
1106
  "package": "@internal/components/skf-element.js"
992
1107
  },
993
- "tagName": "skf-collapse",
1108
+ "tagName": "skf-divider",
994
1109
  "customElement": true
995
1110
  }
996
1111
  ],
997
1112
  "exports": [
998
1113
  {
999
1114
  "kind": "js",
1000
- "name": "SkfCollapse",
1115
+ "name": "SkfDivider",
1001
1116
  "declaration": {
1002
- "name": "SkfCollapse",
1003
- "module": "src/components/collapse/collapse.component.ts"
1117
+ "name": "SkfDivider",
1118
+ "module": "src/components/divider/divider.component.ts"
1004
1119
  }
1005
1120
  }
1006
1121
  ]
1007
1122
  },
1008
1123
  {
1009
1124
  "kind": "javascript-module",
1010
- "path": "src/components/divider/divider.component.ts",
1125
+ "path": "src/components/button/button.component.ts",
1011
1126
  "declarations": [
1012
1127
  {
1013
1128
  "kind": "class",
1014
- "description": "The `<Divider>` component can separate items from each other, to visually emphasize their lack of a relationship between groups of information",
1015
- "name": "SkfDivider",
1016
- "cssProperties": [
1017
- {
1018
- "description": "The amount of space the divider occupies. Pass valid CSS **margin-block** values when horizontal and **margin-inline** when vertical",
1019
- "name": "--skf-divider-spacing"
1020
- },
1129
+ "description": "Component to be used in forms or for interactivity",
1130
+ "name": "SkfButton",
1131
+ "slots": [
1021
1132
  {
1022
- "description": "The amount of space the divider should be indented. Pass valid CSS **margin-inline** values when horizontal and **margin-block** when vertical",
1023
- "name": "--skf-divider-inset"
1133
+ "description": "The Primary content",
1134
+ "name": ""
1024
1135
  }
1025
1136
  ],
1026
1137
  "members": [
1027
1138
  {
1028
1139
  "kind": "field",
1029
- "name": "#internals",
1030
- "privacy": "private",
1140
+ "name": "formAssociated",
1141
+ "type": {
1142
+ "text": "boolean"
1143
+ },
1144
+ "static": true,
1145
+ "default": "true"
1146
+ },
1147
+ {
1148
+ "kind": "field",
1149
+ "name": "shadowRootOptions",
1150
+ "type": {
1151
+ "text": "object"
1152
+ },
1153
+ "static": true,
1154
+ "default": "{ ...LitElement.shadowRootOptions, delegatesFocus: true }"
1155
+ },
1156
+ {
1157
+ "kind": "field",
1158
+ "name": "destructive",
1159
+ "type": {
1160
+ "text": "boolean"
1161
+ },
1162
+ "default": "false",
1163
+ "description": "If true, gives destructive appearance. **Notice!** Only applicable if `variant` is `primary`.",
1164
+ "attribute": "destructive"
1165
+ },
1166
+ {
1167
+ "kind": "field",
1168
+ "name": "disabled",
1169
+ "type": {
1170
+ "text": "boolean"
1171
+ },
1172
+ "default": "false",
1173
+ "description": "If true, removes border",
1174
+ "attribute": "disabled"
1175
+ },
1176
+ {
1177
+ "kind": "field",
1178
+ "name": "icon",
1179
+ "type": {
1180
+ "text": "\"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\""
1181
+ },
1182
+ "description": "If provided, renders an icon before or after the text",
1183
+ "attribute": "icon"
1184
+ },
1185
+ {
1186
+ "kind": "field",
1187
+ "name": "iconPosition",
1188
+ "type": {
1189
+ "text": "'left' | 'right' | undefined"
1190
+ },
1191
+ "default": "'left'",
1192
+ "description": "If provided, determines the positioning of the icon in relation to the text",
1193
+ "attribute": "icon-position"
1194
+ },
1195
+ {
1196
+ "kind": "field",
1197
+ "name": "loading",
1198
+ "type": {
1199
+ "text": "boolean"
1200
+ },
1201
+ "default": "false",
1202
+ "description": "If true, hides text & icon and shows loading indicator. **Notice!** Only applicable if `variant` is `primary`.",
1203
+ "attribute": "loading"
1204
+ },
1205
+ {
1206
+ "kind": "field",
1207
+ "name": "noValidate",
1031
1208
  "type": {
1032
- "text": "ElementInternals"
1033
- }
1209
+ "text": "boolean"
1210
+ },
1211
+ "default": "false",
1212
+ "attribute": "no-validate"
1034
1213
  },
1035
1214
  {
1036
1215
  "kind": "field",
1037
- "name": "color",
1216
+ "name": "size",
1038
1217
  "type": {
1039
- "text": "\"emphasised\" | \"primary\" | \"secondary\" | \"tertiary\" | \"inverse\""
1218
+ "text": "'sm' | 'md' | 'lg'"
1040
1219
  },
1041
- "default": "'primary'",
1042
- "description": "Defines the Divider color",
1043
- "attribute": "color",
1220
+ "default": "'md'",
1221
+ "description": "If provided, displays an alternative size",
1222
+ "attribute": "size",
1044
1223
  "reflects": true
1045
1224
  },
1046
1225
  {
1047
1226
  "kind": "field",
1048
- "name": "decorative",
1227
+ "name": "type",
1049
1228
  "type": {
1050
- "text": "boolean | undefined"
1229
+ "text": "'button' | 'submit' | 'reset'"
1051
1230
  },
1052
- "description": "If true, renders a div for presentational purpose instead of the semantic hr-element",
1053
- "attribute": "decorative"
1231
+ "default": "'button'",
1232
+ "description": "If provided, changes the button type",
1233
+ "attribute": "type"
1054
1234
  },
1055
1235
  {
1056
1236
  "kind": "field",
1057
- "name": "vertical",
1237
+ "name": "variant",
1058
1238
  "type": {
1059
- "text": "boolean | undefined"
1239
+ "text": "'primary' | 'secondary'"
1060
1240
  },
1061
- "description": "If true, renders the divider vertically",
1062
- "attribute": "vertical",
1241
+ "default": "'primary'",
1242
+ "description": "If provided, alters the appearance",
1243
+ "attribute": "variant",
1063
1244
  "reflects": true
1245
+ },
1246
+ {
1247
+ "kind": "method",
1248
+ "name": "click",
1249
+ "description": "Simulates a click on the button."
1250
+ }
1251
+ ],
1252
+ "events": [
1253
+ {
1254
+ "description": "Fires when the button is clicked",
1255
+ "name": "click"
1064
1256
  }
1065
1257
  ],
1066
1258
  "attributes": [
1067
1259
  {
1068
- "name": "color",
1260
+ "name": "destructive",
1069
1261
  "type": {
1070
- "text": "\"emphasised\" | \"primary\" | \"secondary\" | \"tertiary\" | \"inverse\""
1262
+ "text": "boolean"
1071
1263
  },
1072
- "default": "'primary'",
1073
- "description": "Defines the Divider color",
1074
- "fieldName": "color"
1264
+ "default": "false",
1265
+ "description": "If true, gives destructive appearance. **Notice!** Only applicable if `variant` is `primary`.",
1266
+ "fieldName": "destructive"
1075
1267
  },
1076
1268
  {
1077
- "name": "decorative",
1269
+ "name": "disabled",
1078
1270
  "type": {
1079
- "text": "boolean | undefined"
1271
+ "text": "boolean"
1080
1272
  },
1081
- "description": "If true, renders a div for presentational purpose instead of the semantic hr-element",
1082
- "fieldName": "decorative"
1273
+ "default": "false",
1274
+ "description": "If true, removes border",
1275
+ "fieldName": "disabled"
1083
1276
  },
1084
1277
  {
1085
- "name": "vertical",
1278
+ "name": "icon",
1086
1279
  "type": {
1087
- "text": "boolean | undefined"
1280
+ "text": "\"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\""
1088
1281
  },
1089
- "description": "If true, renders the divider vertically",
1090
- "fieldName": "vertical"
1282
+ "description": "If provided, renders an icon before or after the text",
1283
+ "fieldName": "icon"
1284
+ },
1285
+ {
1286
+ "name": "icon-position",
1287
+ "type": {
1288
+ "text": "'left' | 'right' | undefined"
1289
+ },
1290
+ "default": "'left'",
1291
+ "description": "If provided, determines the positioning of the icon in relation to the text",
1292
+ "fieldName": "iconPosition"
1293
+ },
1294
+ {
1295
+ "name": "loading",
1296
+ "type": {
1297
+ "text": "boolean"
1298
+ },
1299
+ "default": "false",
1300
+ "description": "If true, hides text & icon and shows loading indicator. **Notice!** Only applicable if `variant` is `primary`.",
1301
+ "fieldName": "loading"
1302
+ },
1303
+ {
1304
+ "name": "no-validate",
1305
+ "type": {
1306
+ "text": "boolean"
1307
+ },
1308
+ "default": "false",
1309
+ "fieldName": "noValidate"
1310
+ },
1311
+ {
1312
+ "name": "size",
1313
+ "type": {
1314
+ "text": "'sm' | 'md' | 'lg'"
1315
+ },
1316
+ "default": "'md'",
1317
+ "description": "If provided, displays an alternative size",
1318
+ "fieldName": "size"
1319
+ },
1320
+ {
1321
+ "name": "type",
1322
+ "type": {
1323
+ "text": "'button' | 'submit' | 'reset'"
1324
+ },
1325
+ "default": "'button'",
1326
+ "description": "If provided, changes the button type",
1327
+ "fieldName": "type"
1328
+ },
1329
+ {
1330
+ "name": "variant",
1331
+ "type": {
1332
+ "text": "'primary' | 'secondary'"
1333
+ },
1334
+ "default": "'primary'",
1335
+ "description": "If provided, alters the appearance",
1336
+ "fieldName": "variant"
1091
1337
  }
1092
1338
  ],
1093
1339
  "superclass": {
1094
1340
  "name": "SkfElement",
1095
1341
  "package": "@internal/components/skf-element.js"
1096
1342
  },
1097
- "tagName": "skf-divider",
1343
+ "tagName": "skf-button",
1098
1344
  "customElement": true
1099
1345
  }
1100
1346
  ],
1101
1347
  "exports": [
1102
1348
  {
1103
1349
  "kind": "js",
1104
- "name": "SkfDivider",
1350
+ "name": "SkfButton",
1105
1351
  "declaration": {
1106
- "name": "SkfDivider",
1107
- "module": "src/components/divider/divider.component.ts"
1352
+ "name": "SkfButton",
1353
+ "module": "src/components/button/button.component.ts"
1108
1354
  }
1109
1355
  }
1110
1356
  ]
@@ -1330,6 +1576,15 @@
1330
1576
  },
1331
1577
  "privacy": "private"
1332
1578
  },
1579
+ {
1580
+ "kind": "field",
1581
+ "name": "autocomplete",
1582
+ "type": {
1583
+ "text": ""
1584
+ },
1585
+ "description": "-m }",
1586
+ "attribute": "autocomplete"
1587
+ },
1333
1588
  {
1334
1589
  "kind": "field",
1335
1590
  "name": "buttonAriaLabelClear",
@@ -1598,6 +1853,14 @@
1598
1853
  "description": "If true, value is required or must be checked for the form to be submittable",
1599
1854
  "name": "required"
1600
1855
  },
1856
+ {
1857
+ "name": "autocomplete",
1858
+ "type": {
1859
+ "text": ""
1860
+ },
1861
+ "description": "-m }",
1862
+ "fieldName": "autocomplete"
1863
+ },
1601
1864
  {
1602
1865
  "name": "button-aria-label-clear",
1603
1866
  "type": {
@@ -1902,8 +2165,7 @@
1902
2165
  "text": "string | undefined"
1903
2166
  },
1904
2167
  "description": "If defined, loads url on click",
1905
- "attribute": "href",
1906
- "reflects": true
2168
+ "attribute": "href"
1907
2169
  },
1908
2170
  {
1909
2171
  "kind": "field",
@@ -1929,10 +2191,9 @@
1929
2191
  "kind": "field",
1930
2192
  "name": "rel",
1931
2193
  "type": {
1932
- "text": "string"
2194
+ "text": "string | undefined"
1933
2195
  },
1934
- "default": "'noreferrer noopener'",
1935
- "description": "Defines the relationship of the target object to the link object",
2196
+ "description": "If defined, describes the relationship between a linked resource and the current document",
1936
2197
  "attribute": "rel"
1937
2198
  },
1938
2199
  {
@@ -1949,8 +2210,9 @@
1949
2210
  "kind": "field",
1950
2211
  "name": "stretch",
1951
2212
  "type": {
1952
- "text": "boolean | undefined"
2213
+ "text": "boolean"
1953
2214
  },
2215
+ "default": "false",
1954
2216
  "description": "If true, fills the parents horizontal axis",
1955
2217
  "attribute": "stretch",
1956
2218
  "reflects": true
@@ -2046,10 +2308,9 @@
2046
2308
  {
2047
2309
  "name": "rel",
2048
2310
  "type": {
2049
- "text": "string"
2311
+ "text": "string | undefined"
2050
2312
  },
2051
- "default": "'noreferrer noopener'",
2052
- "description": "Defines the relationship of the target object to the link object",
2313
+ "description": "If defined, describes the relationship between a linked resource and the current document",
2053
2314
  "fieldName": "rel"
2054
2315
  },
2055
2316
  {
@@ -2063,8 +2324,9 @@
2063
2324
  {
2064
2325
  "name": "stretch",
2065
2326
  "type": {
2066
- "text": "boolean | undefined"
2327
+ "text": "boolean"
2067
2328
  },
2329
+ "default": "false",
2068
2330
  "description": "If true, fills the parents horizontal axis",
2069
2331
  "fieldName": "stretch"
2070
2332
  },
@@ -2137,8 +2399,9 @@
2137
2399
  "kind": "field",
2138
2400
  "name": "invert",
2139
2401
  "type": {
2140
- "text": "boolean | undefined"
2402
+ "text": "boolean"
2141
2403
  },
2404
+ "default": "false",
2142
2405
  "description": "If true, inverts the color (to be used on colored backgrounds)",
2143
2406
  "attribute": "invert"
2144
2407
  },
@@ -2183,8 +2446,9 @@
2183
2446
  {
2184
2447
  "name": "invert",
2185
2448
  "type": {
2186
- "text": "boolean | undefined"
2449
+ "text": "boolean"
2187
2450
  },
2451
+ "default": "false",
2188
2452
  "description": "If true, inverts the color (to be used on colored backgrounds)",
2189
2453
  "fieldName": "invert"
2190
2454
  },
@@ -2249,7 +2513,7 @@
2249
2513
  "text": "\"primary\" | \"secondary\" | \"inverse\""
2250
2514
  },
2251
2515
  "default": "'primary'",
2252
- "description": "If defined, sets color of the logo",
2516
+ "description": "Defines the color of the logo",
2253
2517
  "attribute": "color"
2254
2518
  }
2255
2519
  ],
@@ -2269,7 +2533,7 @@
2269
2533
  "text": "\"primary\" | \"secondary\" | \"inverse\""
2270
2534
  },
2271
2535
  "default": "'primary'",
2272
- "description": "If defined, sets color of the logo",
2536
+ "description": "Defines the color of the logo",
2273
2537
  "fieldName": "color"
2274
2538
  }
2275
2539
  ],
@@ -2292,6 +2556,104 @@
2292
2556
  }
2293
2557
  ]
2294
2558
  },
2559
+ {
2560
+ "kind": "javascript-module",
2561
+ "path": "src/components/progress/progress.component.ts",
2562
+ "declarations": [
2563
+ {
2564
+ "kind": "class",
2565
+ "description": "The `<skf-progress>` element displays an indicator showing the completion progress of a task, typically displayed as a progress bar",
2566
+ "name": "SkfProgress",
2567
+ "members": [
2568
+ {
2569
+ "kind": "field",
2570
+ "name": "formAssociated",
2571
+ "type": {
2572
+ "text": "boolean"
2573
+ },
2574
+ "static": true,
2575
+ "default": "true"
2576
+ },
2577
+ {
2578
+ "kind": "field",
2579
+ "name": "animated",
2580
+ "type": {
2581
+ "text": "boolean"
2582
+ },
2583
+ "default": "false",
2584
+ "description": "If true, the progress-bar's fill value is animated",
2585
+ "attribute": "animated",
2586
+ "reflects": true
2587
+ },
2588
+ {
2589
+ "kind": "field",
2590
+ "name": "max",
2591
+ "type": {
2592
+ "text": "number"
2593
+ },
2594
+ "default": "1",
2595
+ "description": "Describes how much work the task indicated by the progress element requires",
2596
+ "attribute": "max"
2597
+ },
2598
+ {
2599
+ "kind": "field",
2600
+ "name": "value",
2601
+ "type": {
2602
+ "text": "number"
2603
+ },
2604
+ "default": "0",
2605
+ "description": "Specifies how much of the task that has been completed",
2606
+ "attribute": "value"
2607
+ }
2608
+ ],
2609
+ "attributes": [
2610
+ {
2611
+ "name": "animated",
2612
+ "type": {
2613
+ "text": "boolean"
2614
+ },
2615
+ "default": "false",
2616
+ "description": "If true, the progress-bar's fill value is animated",
2617
+ "fieldName": "animated"
2618
+ },
2619
+ {
2620
+ "name": "max",
2621
+ "type": {
2622
+ "text": "number"
2623
+ },
2624
+ "default": "1",
2625
+ "description": "Describes how much work the task indicated by the progress element requires",
2626
+ "fieldName": "max"
2627
+ },
2628
+ {
2629
+ "name": "value",
2630
+ "type": {
2631
+ "text": "number"
2632
+ },
2633
+ "default": "0",
2634
+ "description": "Specifies how much of the task that has been completed",
2635
+ "fieldName": "value"
2636
+ }
2637
+ ],
2638
+ "superclass": {
2639
+ "name": "SkfElement",
2640
+ "package": "@internal/components/skf-element"
2641
+ },
2642
+ "tagName": "skf-progress",
2643
+ "customElement": true
2644
+ }
2645
+ ],
2646
+ "exports": [
2647
+ {
2648
+ "kind": "js",
2649
+ "name": "SkfProgress",
2650
+ "declaration": {
2651
+ "name": "SkfProgress",
2652
+ "module": "src/components/progress/progress.component.ts"
2653
+ }
2654
+ }
2655
+ ]
2656
+ },
2295
2657
  {
2296
2658
  "kind": "javascript-module",
2297
2659
  "path": "src/components/radio/radio.component.ts",
@@ -2344,16 +2706,6 @@
2344
2706
  "description": "If true, forces component to invalid state until removed",
2345
2707
  "attribute": "custom-invalid"
2346
2708
  },
2347
- {
2348
- "kind": "field",
2349
- "name": "hideLabel",
2350
- "type": {
2351
- "text": "boolean | undefined"
2352
- },
2353
- "description": "If true, hides the label visually",
2354
- "attribute": "hide-label",
2355
- "reflects": true
2356
- },
2357
2709
  {
2358
2710
  "kind": "field",
2359
2711
  "name": "label",
@@ -2422,7 +2774,19 @@
2422
2774
  },
2423
2775
  {
2424
2776
  "kind": "method",
2425
- "name": "debugOutput"
2777
+ "name": "handleInvalidChange"
2778
+ },
2779
+ {
2780
+ "kind": "method",
2781
+ "name": "handleDebugInvalid"
2782
+ },
2783
+ {
2784
+ "kind": "method",
2785
+ "name": "handleCheckedChanged"
2786
+ },
2787
+ {
2788
+ "kind": "method",
2789
+ "name": "handleCustomInvalidChange"
2426
2790
  }
2427
2791
  ],
2428
2792
  "events": [
@@ -2470,14 +2834,6 @@
2470
2834
  "description": "If true, forces component to invalid state until removed",
2471
2835
  "fieldName": "customInvalid"
2472
2836
  },
2473
- {
2474
- "name": "hide-label",
2475
- "type": {
2476
- "text": "boolean | undefined"
2477
- },
2478
- "description": "If true, hides the label visually",
2479
- "fieldName": "hideLabel"
2480
- },
2481
2837
  {
2482
2838
  "name": "label",
2483
2839
  "type": {
@@ -3337,6 +3693,309 @@
3337
3693
  }
3338
3694
  ]
3339
3695
  },
3696
+ {
3697
+ "kind": "javascript-module",
3698
+ "path": "src/components/tab/tab.component.ts",
3699
+ "declarations": [
3700
+ {
3701
+ "kind": "class",
3702
+ "description": "The `<skf-tab>` is a component that displays a list of actions or options",
3703
+ "name": "SkfTab",
3704
+ "slots": [
3705
+ {
3706
+ "description": "The tab's label",
3707
+ "name": ""
3708
+ }
3709
+ ],
3710
+ "members": [
3711
+ {
3712
+ "kind": "field",
3713
+ "name": "panel",
3714
+ "type": {
3715
+ "text": "string"
3716
+ },
3717
+ "default": "''",
3718
+ "description": "The name of the tab-panel this tab is associated with. The panel must be located in the same tab group.",
3719
+ "attribute": "panel",
3720
+ "reflects": true
3721
+ },
3722
+ {
3723
+ "kind": "field",
3724
+ "name": "selected",
3725
+ "type": {
3726
+ "text": "boolean"
3727
+ },
3728
+ "default": "false"
3729
+ },
3730
+ {
3731
+ "kind": "field",
3732
+ "name": "variant",
3733
+ "type": {
3734
+ "text": "SkfTabGroup['variant']"
3735
+ },
3736
+ "default": "'expanded'"
3737
+ },
3738
+ {
3739
+ "kind": "field",
3740
+ "name": "role",
3741
+ "type": {
3742
+ "text": "string"
3743
+ },
3744
+ "default": "'tab'"
3745
+ }
3746
+ ],
3747
+ "events": [
3748
+ {
3749
+ "type": {
3750
+ "text": "CustomEvent"
3751
+ },
3752
+ "description": "{detail: { selected: true, tab: SkfTab }} Fires when the tab is selected",
3753
+ "name": "skf-tab-select"
3754
+ },
3755
+ {
3756
+ "description": "Fired when the component is clicked",
3757
+ "name": "click"
3758
+ }
3759
+ ],
3760
+ "attributes": [
3761
+ {
3762
+ "name": "panel",
3763
+ "type": {
3764
+ "text": "string"
3765
+ },
3766
+ "default": "''",
3767
+ "description": "The name of the tab-panel this tab is associated with. The panel must be located in the same tab group.",
3768
+ "fieldName": "panel"
3769
+ }
3770
+ ],
3771
+ "superclass": {
3772
+ "name": "SkfElement",
3773
+ "package": "@internal/components/skf-element"
3774
+ },
3775
+ "tagName": "skf-tab",
3776
+ "customElement": true
3777
+ }
3778
+ ],
3779
+ "exports": [
3780
+ {
3781
+ "kind": "js",
3782
+ "name": "SkfTab",
3783
+ "declaration": {
3784
+ "name": "SkfTab",
3785
+ "module": "src/components/tab/tab.component.ts"
3786
+ }
3787
+ }
3788
+ ]
3789
+ },
3790
+ {
3791
+ "kind": "javascript-module",
3792
+ "path": "src/components/tab-group/tab-group.component.ts",
3793
+ "declarations": [
3794
+ {
3795
+ "kind": "class",
3796
+ "description": "The `<skf-tab-group>` is a component that displays a list of actions or options.",
3797
+ "name": "SkfTabGroup",
3798
+ "slots": [
3799
+ {
3800
+ "description": "Used for grouping tab panels in the tab group. Must be <skf-tab-panel> elements",
3801
+ "name": ""
3802
+ },
3803
+ {
3804
+ "description": "Used for grouping tabs in the tab group. Must be <skf-tab> elements",
3805
+ "name": "tabs"
3806
+ }
3807
+ ],
3808
+ "members": [
3809
+ {
3810
+ "kind": "field",
3811
+ "name": "defaultSelected",
3812
+ "type": {
3813
+ "text": "number"
3814
+ },
3815
+ "default": "0",
3816
+ "description": "Sets the default selected tab",
3817
+ "attribute": "default-selected"
3818
+ },
3819
+ {
3820
+ "kind": "field",
3821
+ "name": "noBorder",
3822
+ "type": {
3823
+ "text": "boolean"
3824
+ },
3825
+ "default": "false",
3826
+ "description": "If true, removes border",
3827
+ "attribute": "no-border"
3828
+ },
3829
+ {
3830
+ "kind": "field",
3831
+ "name": "noPadding",
3832
+ "type": {
3833
+ "text": "boolean"
3834
+ },
3835
+ "default": "false",
3836
+ "description": "If true, removes padding",
3837
+ "attribute": "no-padding"
3838
+ },
3839
+ {
3840
+ "kind": "field",
3841
+ "name": "stretch",
3842
+ "type": {
3843
+ "text": "boolean"
3844
+ },
3845
+ "default": "false",
3846
+ "description": "If true, component fills the parent element height",
3847
+ "attribute": "stretch"
3848
+ },
3849
+ {
3850
+ "kind": "field",
3851
+ "name": "variant",
3852
+ "type": {
3853
+ "text": "'compressed' | 'expanded'"
3854
+ },
3855
+ "default": "'expanded'",
3856
+ "description": "Sets the appearance of the tabs",
3857
+ "attribute": "variant",
3858
+ "reflects": true
3859
+ }
3860
+ ],
3861
+ "attributes": [
3862
+ {
3863
+ "name": "default-selected",
3864
+ "type": {
3865
+ "text": "number"
3866
+ },
3867
+ "default": "0",
3868
+ "description": "Sets the default selected tab",
3869
+ "fieldName": "defaultSelected"
3870
+ },
3871
+ {
3872
+ "name": "no-border",
3873
+ "type": {
3874
+ "text": "boolean"
3875
+ },
3876
+ "default": "false",
3877
+ "description": "If true, removes border",
3878
+ "fieldName": "noBorder"
3879
+ },
3880
+ {
3881
+ "name": "no-padding",
3882
+ "type": {
3883
+ "text": "boolean"
3884
+ },
3885
+ "default": "false",
3886
+ "description": "If true, removes padding",
3887
+ "fieldName": "noPadding"
3888
+ },
3889
+ {
3890
+ "name": "stretch",
3891
+ "type": {
3892
+ "text": "boolean"
3893
+ },
3894
+ "default": "false",
3895
+ "description": "If true, component fills the parent element height",
3896
+ "fieldName": "stretch"
3897
+ },
3898
+ {
3899
+ "name": "variant",
3900
+ "type": {
3901
+ "text": "'compressed' | 'expanded'"
3902
+ },
3903
+ "default": "'expanded'",
3904
+ "description": "Sets the appearance of the tabs",
3905
+ "fieldName": "variant"
3906
+ }
3907
+ ],
3908
+ "superclass": {
3909
+ "name": "SkfElement",
3910
+ "package": "@internal/components/skf-element"
3911
+ },
3912
+ "tagName": "skf-tab-group",
3913
+ "customElement": true
3914
+ }
3915
+ ],
3916
+ "exports": [
3917
+ {
3918
+ "kind": "js",
3919
+ "name": "SkfTabGroup",
3920
+ "declaration": {
3921
+ "name": "SkfTabGroup",
3922
+ "module": "src/components/tab-group/tab-group.component.ts"
3923
+ }
3924
+ }
3925
+ ]
3926
+ },
3927
+ {
3928
+ "kind": "javascript-module",
3929
+ "path": "src/components/tab-panel/tab-panel.component.ts",
3930
+ "declarations": [
3931
+ {
3932
+ "kind": "class",
3933
+ "description": "The `<skf-tab-panel>` is a component that displays a list of actions or options.",
3934
+ "name": "SkfTabPanel",
3935
+ "slots": [
3936
+ {
3937
+ "description": "The tab panel's content",
3938
+ "name": ""
3939
+ }
3940
+ ],
3941
+ "members": [
3942
+ {
3943
+ "kind": "field",
3944
+ "name": "name",
3945
+ "type": {
3946
+ "text": "string"
3947
+ },
3948
+ "default": "''",
3949
+ "description": "The tab panel's name.",
3950
+ "attribute": "name"
3951
+ },
3952
+ {
3953
+ "kind": "field",
3954
+ "name": "active",
3955
+ "type": {
3956
+ "text": "boolean"
3957
+ },
3958
+ "default": "false"
3959
+ },
3960
+ {
3961
+ "kind": "field",
3962
+ "name": "role",
3963
+ "type": {
3964
+ "text": "string"
3965
+ },
3966
+ "default": "'tabpanel'"
3967
+ }
3968
+ ],
3969
+ "attributes": [
3970
+ {
3971
+ "name": "name",
3972
+ "type": {
3973
+ "text": "string"
3974
+ },
3975
+ "default": "''",
3976
+ "description": "The tab panel's name.",
3977
+ "fieldName": "name"
3978
+ }
3979
+ ],
3980
+ "superclass": {
3981
+ "name": "SkfElement",
3982
+ "package": "@internal/components/skf-element"
3983
+ },
3984
+ "tagName": "skf-tab-panel",
3985
+ "customElement": true
3986
+ }
3987
+ ],
3988
+ "exports": [
3989
+ {
3990
+ "kind": "js",
3991
+ "name": "SkfTabPanel",
3992
+ "declaration": {
3993
+ "name": "SkfTabPanel",
3994
+ "module": "src/components/tab-panel/tab-panel.component.ts"
3995
+ }
3996
+ }
3997
+ ]
3998
+ },
3340
3999
  {
3341
4000
  "kind": "javascript-module",
3342
4001
  "path": "src/components/tag/tag.component.ts",