@skf-design-system/ui-components 1.0.2-beta.1 → 1.0.2-beta.10
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.
- package/README.md +25 -1
- package/dist/components/accordion/accordion-item.component.js +49 -38
- package/dist/components/accordion/accordion.component.d.ts +2 -2
- package/dist/components/accordion/accordion.component.js +12 -12
- package/dist/components/alert/alert.component.d.ts +8 -3
- package/dist/components/alert/alert.component.js +59 -50
- package/dist/components/alert/alert.styles.js +51 -47
- package/dist/components/breadcrumb/breadcrumb-item.component.js +30 -32
- package/dist/components/breadcrumb/breadcrumb-item.d.ts +2 -2
- package/dist/components/breadcrumb/breadcrumb-item.styles.js +16 -15
- package/dist/components/breadcrumb/breadcrumb.component.d.ts +5 -2
- package/dist/components/breadcrumb/breadcrumb.component.js +51 -46
- package/dist/components/breadcrumb/breadcrumb.d.ts +2 -2
- package/dist/components/breadcrumb/breadcrumb.styles.js +13 -10
- package/dist/components/button/button.component.js +63 -67
- package/dist/components/button/button.styles.js +5 -4
- package/dist/components/card/card.component.d.ts +5 -0
- package/dist/components/card/card.component.js +46 -24
- package/dist/components/card/card.styles.js +31 -14
- package/dist/components/checkbox/checkbox.component.d.ts +6 -5
- package/dist/components/checkbox/checkbox.component.js +67 -69
- package/dist/components/checkbox/checkbox.styles.js +1 -1
- package/dist/components/{date-picker/datepicker.calendar.component.d.ts → datepicker/datepicker-calendar.component.d.ts} +8 -1
- package/dist/components/{date-picker/datepicker.calendar.component.js → datepicker/datepicker-calendar.component.js} +109 -115
- package/dist/components/datepicker/datepicker-calendar.d.ts +8 -0
- package/dist/components/datepicker/datepicker-calendar.js +6 -0
- package/dist/components/{date-picker/datepicker.component.d.ts → datepicker/datepicker-popup.component.d.ts} +9 -20
- package/dist/components/datepicker/datepicker-popup.component.js +272 -0
- package/dist/components/datepicker/datepicker-popup.d.ts +8 -0
- package/dist/components/{date-picker/datepicker.helpers.d.ts → datepicker/datepicker-popup.helpers.d.ts} +3 -3
- package/dist/components/datepicker/datepicker-popup.helpers.js +83 -0
- package/dist/components/datepicker/datepicker-popup.js +6 -0
- package/dist/components/{date-picker/datepicker.styles.js → datepicker/datepicker-popup.styles.js} +3 -3
- package/dist/components/{date-picker-input/datepicker-input.component.d.ts → datepicker/datepicker.component.d.ts} +21 -14
- package/dist/components/datepicker/datepicker.component.js +455 -0
- package/dist/components/datepicker/datepicker.d.ts +8 -0
- package/dist/components/datepicker/datepicker.js +6 -0
- package/dist/components/dialog/dialog.component.d.ts +3 -2
- package/dist/components/dialog/dialog.component.js +49 -49
- package/dist/components/dialog/dialog.d.ts +2 -2
- package/dist/components/divider/divider.component.d.ts +3 -0
- package/dist/components/divider/divider.component.js +43 -22
- package/dist/components/divider/divider.styles.js +9 -9
- package/dist/components/drawer/drawer.component.d.ts +12 -4
- package/dist/components/drawer/drawer.component.js +84 -61
- package/dist/components/drawer/drawer.d.ts +2 -2
- package/dist/components/drawer/drawer.styles.js +47 -40
- package/dist/components/header/header.component.d.ts +4 -2
- package/dist/components/header/header.component.js +64 -57
- package/dist/components/header/header.d.ts +2 -2
- package/dist/components/header/header.styles.js +2 -2
- package/dist/components/heading/heading.component.d.ts +5 -1
- package/dist/components/heading/heading.component.js +54 -27
- package/dist/components/heading/heading.styles.js +34 -36
- package/dist/components/icon/icon.component.d.ts +4 -0
- package/dist/components/icon/icon.component.js +62 -43
- package/dist/components/icon/icon.styles.js +60 -60
- package/dist/components/input/input.component.d.ts +4 -8
- package/dist/components/input/input.component.js +90 -97
- package/dist/components/input/input.controllers.d.ts +0 -1
- package/dist/components/input/input.controllers.js +14 -19
- package/dist/components/link/link.component.d.ts +15 -18
- package/dist/components/link/link.component.js +104 -107
- package/dist/components/link/link.styles.js +53 -45
- package/dist/components/loader/loader.component.d.ts +5 -3
- package/dist/components/loader/loader.component.js +39 -28
- package/dist/components/loader/loader.styles.js +6 -10
- package/dist/components/logo/logo.component.d.ts +4 -1
- package/dist/components/logo/logo.component.js +55 -51
- package/dist/components/logo/logo.styles.js +26 -16
- package/dist/components/menu/menu-item.component.d.ts +1 -1
- package/dist/components/menu/menu-item.component.js +8 -8
- package/dist/components/menu/menu-item.d.ts +2 -2
- package/dist/components/menu/menu-item.styles.js +13 -9
- package/dist/components/menu/menu.component.d.ts +5 -2
- package/dist/components/menu/menu.component.js +8 -8
- package/dist/components/menu/menu.d.ts +2 -2
- package/dist/components/nav/nav-item.component.d.ts +6 -2
- package/dist/components/nav/nav-item.component.js +44 -25
- package/dist/components/nav/nav-item.styles.js +29 -25
- package/dist/components/nav/nav.component.d.ts +9 -0
- package/dist/components/nav/nav.component.js +47 -21
- package/dist/components/nav/nav.d.ts +2 -2
- package/dist/components/nav/nav.styles.js +15 -9
- package/dist/components/popover/popover.component.d.ts +10 -3
- package/dist/components/popover/popover.component.js +30 -22
- package/dist/components/popover/popover.d.ts +2 -2
- package/dist/components/progress/progress.component.d.ts +2 -0
- package/dist/components/progress/progress.component.js +38 -29
- package/dist/components/progress/progress.d.ts +2 -2
- package/dist/components/progress/progress.styles.js +10 -8
- package/dist/components/radio/radio.component.d.ts +4 -2
- package/dist/components/radio/radio.component.js +96 -91
- package/dist/components/radio/radio.styles.js +1 -1
- package/dist/components/segmented-button/segmented-button-item.component.js +1 -1
- package/dist/components/segmented-button/segmented-button-item.d.ts +2 -2
- package/dist/components/segmented-button/segmented-button-item.styles.js +1 -1
- package/dist/components/segmented-button/segmented-button.component.js +22 -24
- package/dist/components/segmented-button/segmented-button.d.ts +2 -2
- package/dist/components/select/select-option-group.component.d.ts +4 -0
- package/dist/components/select/select-option-group.component.js +37 -18
- package/dist/components/select/select-option-group.d.ts +2 -2
- package/dist/components/select/select-option-group.style.js +12 -6
- package/dist/components/select/select-option.component.d.ts +9 -4
- package/dist/components/select/select-option.component.js +70 -58
- package/dist/components/select/select-option.styles.js +43 -31
- package/dist/components/select/select.component.d.ts +21 -12
- package/dist/components/select/select.component.js +125 -87
- package/dist/components/select/select.controllers.js +15 -20
- package/dist/components/select/select.styles.js +8 -2
- package/dist/components/stepper/stepper-item.component.d.ts +1 -1
- package/dist/components/stepper/stepper-item.component.js +59 -56
- package/dist/components/stepper/stepper-item.d.ts +2 -2
- package/dist/components/stepper/stepper-item.styles.js +4 -4
- package/dist/components/stepper/stepper.component.js +2 -3
- package/dist/components/stepper/stepper.d.ts +2 -2
- package/dist/components/stepper/stepper.helpers.js +6 -7
- package/dist/components/switch/switch.component.d.ts +4 -2
- package/dist/components/switch/switch.component.js +64 -58
- package/dist/components/switch/switch.d.ts +2 -2
- package/dist/components/switch/switch.styles.js +1 -1
- package/dist/components/{tab-panel → tabs}/tab-panel.component.d.ts +1 -1
- package/dist/components/tabs/tab-panel.component.js +39 -0
- package/dist/components/{tab-panel → tabs}/tab-panel.d.ts +2 -2
- package/dist/components/{tab → tabs}/tab.component.d.ts +3 -3
- package/dist/components/{tab → tabs}/tab.component.js +17 -14
- package/dist/components/{tab → tabs}/tab.d.ts +2 -2
- package/dist/components/{tab → tabs}/tab.styles.js +2 -2
- package/dist/components/{tab-group/tab-group.component.d.ts → tabs/tabs.component.d.ts} +3 -4
- package/dist/components/{tab-group/tab-group.component.js → tabs/tabs.component.js} +35 -36
- package/dist/components/tabs/tabs.d.ts +8 -0
- package/dist/components/tabs/tabs.js +6 -0
- package/dist/components/{tab-group/tab-group.styles.js → tabs/tabs.styles.js} +16 -16
- package/dist/components/tag/tag.component.d.ts +10 -2
- package/dist/components/tag/tag.component.js +77 -65
- package/dist/components/tag/tag.d.ts +2 -2
- package/dist/components/tag/tag.styles.js +63 -50
- package/dist/components/textarea/textarea.component.d.ts +4 -2
- package/dist/components/textarea/textarea.component.js +102 -95
- package/dist/components/toast/toast-item.styles.js +13 -10
- package/dist/components/toast/toast.component.js +9 -9
- package/dist/components/toast/toast.singleton.d.ts +1 -1
- package/dist/components/toast/toast.singleton.js +19 -20
- package/dist/components/tooltip/tooltip.component.d.ts +9 -2
- package/dist/components/tooltip/tooltip.component.js +15 -11
- package/dist/components/tooltip/tooltip.d.ts +2 -2
- package/dist/custom-elements.json +1681 -1112
- package/dist/index.d.ts +8 -7
- package/dist/index.js +96 -93
- package/dist/internal/base-classes/popover/popover.base.d.ts +24 -5
- package/dist/internal/base-classes/popover/popover.base.js +41 -44
- package/dist/internal/base-classes/popover/popover.styles.js +4 -5
- package/dist/internal/components/formBase.d.ts +1 -0
- package/dist/internal/components/formBase.js +11 -19
- package/dist/internal/components/hint/hint.component.d.ts +4 -0
- package/dist/internal/components/hint/hint.component.js +47 -20
- package/dist/internal/components/hint/hint.styles.js +29 -25
- package/dist/internal/components/skf-element.d.ts +1 -3
- package/dist/internal/components/skf-element.js +4 -9
- package/dist/internal/controllers/popover.controller.d.ts +2 -0
- package/dist/internal/controllers/popover.controller.js +11 -14
- package/dist/internal/helpers/stateMap.d.ts +14 -0
- package/dist/internal/helpers/stateMap.js +68 -0
- package/dist/internal/helpers/uuid.d.ts +8 -10
- package/dist/internal/helpers/uuid.js +4 -11
- package/dist/internal/helpers/watch.d.ts +1 -1
- package/dist/internal/helpers/watch.js +12 -12
- package/dist/internal/templates/asterisk.d.ts +1 -1
- package/dist/internal/templates/asterisk.js +4 -4
- package/dist/internal/types.d.ts +4 -0
- package/dist/styles/component.styles.js +37 -36
- package/dist/styles/global-alt.css +1 -0
- package/dist/styles/global.css +1 -1
- package/dist/translations/en.d.ts +3 -0
- package/dist/translations/en.js +27 -0
- package/dist/translations/es.d.ts +3 -0
- package/dist/translations/es.js +27 -0
- package/dist/translations/index.d.ts +4 -0
- package/dist/translations/pt.d.ts +3 -0
- package/dist/translations/pt.js +27 -0
- package/dist/translations/sv.d.ts +3 -0
- package/dist/translations/sv.js +27 -0
- package/dist/types/jsx/custom-element-jsx.d.ts +1988 -866
- package/dist/types/vue/index.d.ts +220 -169
- package/dist/utilities/localize.d.ts +28 -0
- package/dist/utilities/localize.js +13 -0
- package/dist/vscode.html-custom-data.json +265 -188
- package/dist/web-types.json +731 -548
- package/package.json +38 -51
- package/dist/components/accordion/accordion-item.test.d.ts +0 -1
- package/dist/components/accordion/accordion.test.d.ts +0 -1
- package/dist/components/checkbox/checkbox.test.d.ts +0 -1
- package/dist/components/date-picker/datepicker.component.js +0 -261
- package/dist/components/date-picker/datepicker.d.ts +0 -10
- package/dist/components/date-picker/datepicker.helpers.js +0 -76
- package/dist/components/date-picker/datepicker.js +0 -8
- package/dist/components/date-picker-input/datepicker-input.component.js +0 -442
- package/dist/components/date-picker-input/datepicker-input.d.ts +0 -8
- package/dist/components/date-picker-input/datepicker-input.js +0 -6
- package/dist/components/input/input.test.d.ts +0 -1
- package/dist/components/radio/radio.test.d.ts +0 -1
- package/dist/components/switch/switch.test.d.ts +0 -1
- package/dist/components/tab-group/tab-group.d.ts +0 -8
- package/dist/components/tab-group/tab-group.js +0 -6
- package/dist/components/tab-panel/tab-panel.component.js +0 -36
- package/dist/internal/playwright/index.d.ts +0 -1
- /package/dist/components/{date-picker/datepicker.calendar.styles.d.ts → datepicker/datepicker-calendar.styles.d.ts} +0 -0
- /package/dist/components/{date-picker/datepicker.calendar.styles.js → datepicker/datepicker-calendar.styles.js} +0 -0
- /package/dist/components/{date-picker/datepicker.styles.d.ts → datepicker/datepicker-popup.styles.d.ts} +0 -0
- /package/dist/components/{date-picker-input/datepicker-input.helpers.d.ts → datepicker/datepicker.helpers.d.ts} +0 -0
- /package/dist/components/{date-picker-input/datepicker-input.helpers.js → datepicker/datepicker.helpers.js} +0 -0
- /package/dist/components/{date-picker-input/datepicker-input.styles.d.ts → datepicker/datepicker.styles.d.ts} +0 -0
- /package/dist/components/{date-picker-input/datepicker-input.styles.js → datepicker/datepicker.styles.js} +0 -0
- /package/dist/components/select/{select.stories.icons.d.ts → stories/select.stories.icons.d.ts} +0 -0
- /package/dist/components/{tab-panel → tabs}/tab-panel.js +0 -0
- /package/dist/components/{tab-panel → tabs}/tab-panel.styles.d.ts +0 -0
- /package/dist/components/{tab-panel → tabs}/tab-panel.styles.js +0 -0
- /package/dist/components/{tab → tabs}/tab.js +0 -0
- /package/dist/components/{tab → tabs}/tab.styles.d.ts +0 -0
- /package/dist/components/{tab-group/tab-group.styles.d.ts → tabs/tabs.styles.d.ts} +0 -0
package/dist/web-types.json
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
{
|
2
2
|
"$schema": "https://raw.githubusercontent.com/JetBrains/web-types/master/schema/web-types.json",
|
3
3
|
"name": "@skf-design-system/ui-components",
|
4
|
-
"version": "1.0.
|
4
|
+
"version": "1.0.2-beta.8",
|
5
5
|
"description-markup": "markdown",
|
6
6
|
"contributions": {
|
7
7
|
"html": {
|
@@ -235,16 +235,16 @@
|
|
235
235
|
"description": "The `<skf-alert>` is a type of notification that appears in-line\n\nSee [zeroheight](https://zeroheight.com/853e936c9/p/990ec5-alert) for design principles\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",
|
236
236
|
"doc-url": "",
|
237
237
|
"attributes": [
|
238
|
-
{
|
239
|
-
"name": "button-label",
|
240
|
-
"description": "Close button aria-label",
|
241
|
-
"value": { "type": "string", "default": "'Close'" }
|
242
|
-
},
|
243
238
|
{
|
244
239
|
"name": "icon",
|
245
240
|
"description": "If defined, displays leading icon",
|
246
241
|
"value": { "type": "Icon | undefined" }
|
247
242
|
},
|
243
|
+
{
|
244
|
+
"name": "lang",
|
245
|
+
"description": "Sets the internal language of the component",
|
246
|
+
"value": { "type": "Language", "default": "'en'" }
|
247
|
+
},
|
248
248
|
{
|
249
249
|
"name": "persistent",
|
250
250
|
"description": "If true, renders with an close button and sets aria-role to `status`",
|
@@ -266,21 +266,22 @@
|
|
266
266
|
"events": [
|
267
267
|
{
|
268
268
|
"name": "skf-alert-close",
|
269
|
+
"type": "CustomEvent",
|
269
270
|
"description": "Fires when the close button is clicked"
|
270
271
|
}
|
271
272
|
],
|
272
273
|
"js": {
|
273
274
|
"properties": [
|
274
|
-
{
|
275
|
-
"name": "buttonLabel",
|
276
|
-
"description": "Close button aria-label",
|
277
|
-
"type": "string"
|
278
|
-
},
|
279
275
|
{
|
280
276
|
"name": "icon",
|
281
277
|
"description": "If defined, displays leading icon",
|
282
278
|
"type": "Icon | undefined"
|
283
279
|
},
|
280
|
+
{
|
281
|
+
"name": "lang",
|
282
|
+
"description": "Sets the internal language of the component",
|
283
|
+
"type": "Language"
|
284
|
+
},
|
284
285
|
{
|
285
286
|
"name": "persistent",
|
286
287
|
"description": "If true, renders with an close button and sets aria-role to `status`",
|
@@ -295,6 +296,7 @@
|
|
295
296
|
"events": [
|
296
297
|
{
|
297
298
|
"name": "skf-alert-close",
|
299
|
+
"type": "CustomEvent",
|
298
300
|
"description": "Fires when the close button is clicked"
|
299
301
|
}
|
300
302
|
]
|
@@ -341,9 +343,9 @@
|
|
341
343
|
"value": { "type": "string", "default": "'Breadcrumb'" }
|
342
344
|
},
|
343
345
|
{
|
344
|
-
"name": "
|
345
|
-
"description": "
|
346
|
-
"value": { "type": "
|
346
|
+
"name": "small",
|
347
|
+
"description": "If true, renders a smaller version",
|
348
|
+
"value": { "type": "boolean", "default": "false" }
|
347
349
|
}
|
348
350
|
],
|
349
351
|
"slots": [
|
@@ -360,9 +362,9 @@
|
|
360
362
|
"type": "string"
|
361
363
|
},
|
362
364
|
{
|
363
|
-
"name": "
|
364
|
-
"description": "
|
365
|
-
"type": "
|
365
|
+
"name": "small",
|
366
|
+
"description": "If true, renders a smaller version",
|
367
|
+
"type": "boolean"
|
366
368
|
}
|
367
369
|
],
|
368
370
|
"events": [
|
@@ -378,11 +380,6 @@
|
|
378
380
|
"description": "The `<skf-loader>` component is a progress indicator that uses circular indicators for short, indeterminate activities\n---\n",
|
379
381
|
"doc-url": "",
|
380
382
|
"attributes": [
|
381
|
-
{
|
382
|
-
"name": "aria-label",
|
383
|
-
"description": "Defines the aria-label",
|
384
|
-
"value": { "type": "string", "default": "'Loading...'" }
|
385
|
-
},
|
386
383
|
{
|
387
384
|
"name": "invert",
|
388
385
|
"description": "If true, inverts the color (to be used on colored backgrounds)",
|
@@ -391,17 +388,12 @@
|
|
391
388
|
{
|
392
389
|
"name": "size",
|
393
390
|
"description": "Defines the size of the loader",
|
394
|
-
"value": { "type": "
|
391
|
+
"value": { "type": "Size", "default": "'md'" }
|
395
392
|
}
|
396
393
|
],
|
397
394
|
"events": [],
|
398
395
|
"js": {
|
399
396
|
"properties": [
|
400
|
-
{
|
401
|
-
"name": "ariaLabel",
|
402
|
-
"description": "Defines the aria-label",
|
403
|
-
"type": "string"
|
404
|
-
},
|
405
397
|
{
|
406
398
|
"name": "invert",
|
407
399
|
"description": "If true, inverts the color (to be used on colored backgrounds)",
|
@@ -410,7 +402,7 @@
|
|
410
402
|
{
|
411
403
|
"name": "size",
|
412
404
|
"description": "Defines the size of the loader",
|
413
|
-
"type": "
|
405
|
+
"type": "Size"
|
414
406
|
}
|
415
407
|
],
|
416
408
|
"events": []
|
@@ -545,7 +537,7 @@
|
|
545
537
|
},
|
546
538
|
{
|
547
539
|
"name": "skf-card",
|
548
|
-
"description": "The `<skf-card>` can be used to group related subjects in a container\n\nSee [zeroheight](https://zeroheight.com/853e936c9/p/021eed-card) for design principles\n---\n\n\n### **Slots:**\n - _default_ - The card's main content",
|
540
|
+
"description": "The `<skf-card>` can be used to group related subjects in a container\n\nSee [zeroheight](https://zeroheight.com/853e936c9/p/021eed-card) for design principles\n---\n\n\n### **Slots:**\n - _default_ - The card's main content\n\n### **CSS Properties:**\n - **--mod-card-bg-color** - Ability to set a custom background color _(default: undefined)_",
|
549
541
|
"doc-url": "",
|
550
542
|
"attributes": [
|
551
543
|
{
|
@@ -610,7 +602,7 @@
|
|
610
602
|
{
|
611
603
|
"name": "checked",
|
612
604
|
"description": "If true, outputs helping hints in console",
|
613
|
-
"value": { "type": "
|
605
|
+
"value": { "type": "boolean", "default": "false" }
|
614
606
|
},
|
615
607
|
{
|
616
608
|
"name": "custom-invalid",
|
@@ -628,13 +620,13 @@
|
|
628
620
|
"value": { "type": "string | undefined" }
|
629
621
|
},
|
630
622
|
{
|
631
|
-
"name": "
|
632
|
-
"description": "
|
633
|
-
"value": { "type": "
|
623
|
+
"name": "lang",
|
624
|
+
"description": "Sets the internal language of the component",
|
625
|
+
"value": { "type": "Language", "default": "'en'" }
|
634
626
|
},
|
635
627
|
{
|
636
|
-
"name": "
|
637
|
-
"description": "If defined,
|
628
|
+
"name": "name",
|
629
|
+
"description": "If defined, adds name to the input-element",
|
638
630
|
"value": { "type": "string | undefined" }
|
639
631
|
},
|
640
632
|
{
|
@@ -680,7 +672,8 @@
|
|
680
672
|
},
|
681
673
|
{
|
682
674
|
"name": "checked",
|
683
|
-
"description": "If true, outputs helping hints in console"
|
675
|
+
"description": "If true, outputs helping hints in console",
|
676
|
+
"type": "boolean"
|
684
677
|
},
|
685
678
|
{
|
686
679
|
"name": "customInvalid",
|
@@ -698,13 +691,13 @@
|
|
698
691
|
"type": "string | undefined"
|
699
692
|
},
|
700
693
|
{
|
701
|
-
"name": "
|
702
|
-
"description": "
|
703
|
-
"type": "
|
694
|
+
"name": "lang",
|
695
|
+
"description": "Sets the internal language of the component",
|
696
|
+
"type": "Language"
|
704
697
|
},
|
705
698
|
{
|
706
|
-
"name": "
|
707
|
-
"description": "If defined,
|
699
|
+
"name": "name",
|
700
|
+
"description": "If defined, adds name to the input-element",
|
708
701
|
"type": "string | undefined"
|
709
702
|
},
|
710
703
|
{
|
@@ -738,31 +731,151 @@
|
|
738
731
|
}
|
739
732
|
},
|
740
733
|
{
|
741
|
-
"name": "skf-datepicker",
|
742
|
-
"description": "
|
734
|
+
"name": "skf-datepicker-calendar",
|
735
|
+
"description": "\n---\n",
|
743
736
|
"doc-url": "",
|
744
737
|
"attributes": [
|
738
|
+
{ "name": "eventid", "value": { "type": "string" } },
|
739
|
+
{
|
740
|
+
"name": "firstDayOfWeek",
|
741
|
+
"value": { "type": "number", "default": "0" }
|
742
|
+
},
|
743
|
+
{
|
744
|
+
"name": "invalid-dates",
|
745
|
+
"description": "A comma-separated list of dates (yyyy-mm-dd format) that are not selectable.",
|
746
|
+
"value": { "type": "string | undefined" }
|
747
|
+
},
|
748
|
+
{
|
749
|
+
"name": "lang",
|
750
|
+
"description": "Sets the internal language of the component",
|
751
|
+
"value": { "type": "Language", "default": "'en'" }
|
752
|
+
},
|
745
753
|
{
|
746
754
|
"name": "locale",
|
747
|
-
"description": "The locale to use for formatting the date",
|
748
755
|
"value": { "type": "string", "default": "'en-CA'" }
|
749
756
|
},
|
750
757
|
{
|
751
|
-
"name": "
|
752
|
-
"
|
758
|
+
"name": "range",
|
759
|
+
"value": { "type": "boolean", "default": "false" }
|
760
|
+
},
|
761
|
+
{
|
762
|
+
"name": "selectable-from",
|
763
|
+
"description": "Earliest selectable date. (yyyy-mm-dd format)",
|
764
|
+
"value": { "type": "string | undefined" }
|
765
|
+
},
|
766
|
+
{
|
767
|
+
"name": "selectable-to",
|
768
|
+
"description": "Latest selectable date. (yyyy-mm-dd format)",
|
769
|
+
"value": { "type": "string | undefined" }
|
770
|
+
},
|
771
|
+
{
|
772
|
+
"name": "selected-date",
|
773
|
+
"value": { "type": "Date | undefined", "default": "undefined" }
|
774
|
+
},
|
775
|
+
{
|
776
|
+
"name": "selectedDateRange",
|
777
|
+
"value": {
|
778
|
+
"type": "{ start: Date | null; end: Date | null }",
|
779
|
+
"default": "{ start: null, end: null, }"
|
780
|
+
}
|
781
|
+
}
|
782
|
+
],
|
783
|
+
"events": [],
|
784
|
+
"js": {
|
785
|
+
"properties": [
|
786
|
+
{ "name": "eventid", "type": "string" },
|
787
|
+
{ "name": "firstDayOfWeek", "type": "number" },
|
788
|
+
{
|
789
|
+
"name": "invalidDates",
|
790
|
+
"description": "A comma-separated list of dates (yyyy-mm-dd format) that are not selectable.",
|
791
|
+
"type": "string | undefined"
|
792
|
+
},
|
793
|
+
{
|
794
|
+
"name": "lang",
|
795
|
+
"description": "Sets the internal language of the component",
|
796
|
+
"type": "Language"
|
797
|
+
},
|
798
|
+
{ "name": "locale", "type": "string" },
|
799
|
+
{ "name": "range", "type": "boolean" },
|
800
|
+
{
|
801
|
+
"name": "selectableFrom",
|
802
|
+
"description": "Earliest selectable date. (yyyy-mm-dd format)",
|
803
|
+
"type": "string | undefined"
|
804
|
+
},
|
805
|
+
{
|
806
|
+
"name": "selectableTo",
|
807
|
+
"description": "Latest selectable date. (yyyy-mm-dd format)",
|
808
|
+
"type": "string | undefined"
|
809
|
+
},
|
810
|
+
{ "name": "selectedDate", "type": "Date | undefined" },
|
811
|
+
{
|
812
|
+
"name": "selectedDateRange",
|
813
|
+
"type": "{ start: Date | null; end: Date | null }"
|
814
|
+
},
|
815
|
+
{ "name": "_listenToKeyboard" },
|
816
|
+
{ "name": "_handleKeyDown" },
|
817
|
+
{ "name": "dateSelectable" }
|
818
|
+
],
|
819
|
+
"events": []
|
820
|
+
}
|
821
|
+
},
|
822
|
+
{
|
823
|
+
"name": "skf-datepicker",
|
824
|
+
"description": "\n---\n\n\n### **Methods:**\n - **clear()** - Clears the input field",
|
825
|
+
"doc-url": "",
|
826
|
+
"attributes": [
|
827
|
+
{
|
828
|
+
"name": "custom-invalid",
|
829
|
+
"description": "If defined, forces component to invalid state until removed. Its value is used as hint text.",
|
753
830
|
"value": { "type": "string" }
|
754
831
|
},
|
755
|
-
{
|
832
|
+
{
|
833
|
+
"name": "id",
|
834
|
+
"value": { "type": "string", "default": "'skf-datepicker-input'" }
|
835
|
+
},
|
836
|
+
{
|
837
|
+
"name": "label",
|
838
|
+
"description": "If defined, sets the input's label. Alternatively, you can use the `label` attribute.",
|
839
|
+
"value": { "type": "string | undefined" }
|
840
|
+
},
|
841
|
+
{
|
842
|
+
"name": "lang",
|
843
|
+
"description": "Sets the internal language of the component",
|
844
|
+
"value": { "type": "Language", "default": "'en'" }
|
845
|
+
},
|
846
|
+
{
|
847
|
+
"name": "hide-label",
|
848
|
+
"description": "If true, hides the label visually",
|
849
|
+
"value": { "type": "boolean | undefined" }
|
850
|
+
},
|
851
|
+
{
|
852
|
+
"name": "hint",
|
853
|
+
"description": "If defined, displays informational text below the field",
|
854
|
+
"value": { "type": "string | undefined" }
|
855
|
+
},
|
756
856
|
{
|
757
857
|
"name": "invalid-dates",
|
758
858
|
"description": "A comma-separated list of dates (yyyy-mm-dd format) that are not selectable.",
|
759
859
|
"value": { "type": "string | undefined" }
|
760
860
|
},
|
861
|
+
{
|
862
|
+
"name": "name",
|
863
|
+
"description": "If defined, adds name to the input-element",
|
864
|
+
"value": { "type": "string | undefined" }
|
865
|
+
},
|
866
|
+
{
|
867
|
+
"name": "placeholder",
|
868
|
+
"value": { "type": "string", "default": "'YYYY-MM-DD'" }
|
869
|
+
},
|
761
870
|
{
|
762
871
|
"name": "range",
|
763
|
-
"description": "If true, the date picker will allow the selection of a range of dates",
|
764
872
|
"value": { "type": "boolean", "default": "false" }
|
765
873
|
},
|
874
|
+
{
|
875
|
+
"name": "readonly",
|
876
|
+
"description": "If true, makes the element not mutable, meaning the user can not edit the control",
|
877
|
+
"value": { "type": "boolean | undefined" }
|
878
|
+
},
|
766
879
|
{
|
767
880
|
"name": "selectable-from",
|
768
881
|
"description": "Earliest selectable date. (yyyy-mm-dd format)",
|
@@ -772,48 +885,82 @@
|
|
772
885
|
"name": "selectable-to",
|
773
886
|
"description": "Latest selectable date. (yyyy-mm-dd format)",
|
774
887
|
"value": { "type": "string | undefined" }
|
775
|
-
}
|
776
|
-
],
|
777
|
-
"slots": [
|
888
|
+
},
|
778
889
|
{
|
779
|
-
"name": "",
|
780
|
-
"description": "
|
781
|
-
|
782
|
-
|
783
|
-
|
890
|
+
"name": "severity",
|
891
|
+
"description": "If defined, displays provided severity state",
|
892
|
+
"value": {
|
893
|
+
"type": "\"alert\" | \"success\" | \"info\" | \"warning\""
|
894
|
+
}
|
895
|
+
},
|
896
|
+
{
|
897
|
+
"name": "size",
|
898
|
+
"description": "Size of the input",
|
899
|
+
"value": { "type": "'sm' | 'md'", "default": "'md'" }
|
900
|
+
},
|
784
901
|
{
|
785
|
-
"name": "
|
786
|
-
"description": "
|
902
|
+
"name": "validate-on",
|
903
|
+
"description": "Sets validation start",
|
904
|
+
"value": {
|
905
|
+
"type": "'input' | 'change' | 'submit'",
|
906
|
+
"default": "'change'"
|
907
|
+
}
|
787
908
|
},
|
788
909
|
{
|
789
|
-
"name": "
|
790
|
-
"description": "
|
910
|
+
"name": "value",
|
911
|
+
"description": "The current value of the input field",
|
912
|
+
"value": { "type": "string | undefined" }
|
791
913
|
}
|
792
914
|
],
|
915
|
+
"events": [],
|
793
916
|
"js": {
|
794
917
|
"properties": [
|
795
918
|
{
|
796
|
-
"name": "
|
797
|
-
"
|
798
|
-
"type": "string"
|
919
|
+
"name": "focusTimeoutId",
|
920
|
+
"type": "ReturnType<typeof setTimeout> | undefined"
|
799
921
|
},
|
800
922
|
{
|
801
|
-
"name": "
|
802
|
-
"description": "
|
803
|
-
"type": "string"
|
923
|
+
"name": "customInvalid",
|
924
|
+
"description": "If defined, forces component to invalid state until removed. Its value is used as hint text."
|
804
925
|
},
|
805
926
|
{ "name": "id", "type": "string" },
|
927
|
+
{
|
928
|
+
"name": "label",
|
929
|
+
"description": "If defined, sets the input's label. Alternatively, you can use the `label` attribute.",
|
930
|
+
"type": "string | undefined"
|
931
|
+
},
|
932
|
+
{
|
933
|
+
"name": "lang",
|
934
|
+
"description": "Sets the internal language of the component",
|
935
|
+
"type": "Language"
|
936
|
+
},
|
937
|
+
{
|
938
|
+
"name": "hideLabel",
|
939
|
+
"description": "If true, hides the label visually",
|
940
|
+
"type": "boolean | undefined"
|
941
|
+
},
|
942
|
+
{
|
943
|
+
"name": "hint",
|
944
|
+
"description": "If defined, displays informational text below the field",
|
945
|
+
"type": "string | undefined"
|
946
|
+
},
|
806
947
|
{
|
807
948
|
"name": "invalidDates",
|
808
949
|
"description": "A comma-separated list of dates (yyyy-mm-dd format) that are not selectable.",
|
809
950
|
"type": "string | undefined"
|
810
951
|
},
|
811
952
|
{
|
812
|
-
"name": "
|
813
|
-
"description": "If
|
814
|
-
"type": "
|
953
|
+
"name": "name",
|
954
|
+
"description": "If defined, adds name to the input-element",
|
955
|
+
"type": "string | undefined"
|
956
|
+
},
|
957
|
+
{ "name": "placeholder", "type": "string" },
|
958
|
+
{ "name": "range", "type": "boolean" },
|
959
|
+
{
|
960
|
+
"name": "readonly",
|
961
|
+
"description": "If true, makes the element not mutable, meaning the user can not edit the control",
|
962
|
+
"type": "boolean | undefined"
|
815
963
|
},
|
816
|
-
{ "name": "selectedDate", "type": "Date | undefined" },
|
817
964
|
{
|
818
965
|
"name": "selectableFrom",
|
819
966
|
"description": "Earliest selectable date. (yyyy-mm-dd format)",
|
@@ -824,18 +971,28 @@
|
|
824
971
|
"description": "Latest selectable date. (yyyy-mm-dd format)",
|
825
972
|
"type": "string | undefined"
|
826
973
|
},
|
827
|
-
{ "name": "selectedDateRange", "type": "SkfDatePickerDateRange" }
|
828
|
-
],
|
829
|
-
"events": [
|
830
974
|
{
|
831
|
-
"name": "
|
832
|
-
"description": "
|
975
|
+
"name": "severity",
|
976
|
+
"description": "If defined, displays provided severity state",
|
977
|
+
"type": "\"alert\" | \"success\" | \"info\" | \"warning\""
|
978
|
+
},
|
979
|
+
{
|
980
|
+
"name": "size",
|
981
|
+
"description": "Size of the input",
|
982
|
+
"type": "'sm' | 'md'"
|
983
|
+
},
|
984
|
+
{
|
985
|
+
"name": "validateOn",
|
986
|
+
"description": "Sets validation start",
|
987
|
+
"type": "'input' | 'change' | 'submit'"
|
833
988
|
},
|
834
989
|
{
|
835
|
-
"name": "
|
836
|
-
"description": "
|
990
|
+
"name": "value",
|
991
|
+
"description": "The current value of the input field",
|
992
|
+
"type": "string | undefined"
|
837
993
|
}
|
838
|
-
]
|
994
|
+
],
|
995
|
+
"events": []
|
839
996
|
}
|
840
997
|
},
|
841
998
|
{
|
@@ -877,11 +1034,6 @@
|
|
877
1034
|
"description": "The `<skf-dialog>` is a component that open up a dialog of type modal with the content provided. (MDN refrains from opening the dialog using the `open` attribute, however skf-dialog does not have that limitation)\n---\n\n\n### **Events:**\n - **skf-dialog-opened** - Fires when the dialog is opened (after transitioned in)\n- **skf-dialog-closing** - Fires when the dialog is closing (before transitioned out)\n- **skf-dialog-closed** - Fires when the dialog is closed (after transitioned out)\n\n### **Methods:**\n - **showModal()** - Method that opens the dialog in modal state\n- **close()** - Method that closes the dialog\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)_",
|
878
1035
|
"doc-url": "",
|
879
1036
|
"attributes": [
|
880
|
-
{
|
881
|
-
"name": "close-button-aria-label",
|
882
|
-
"description": "If defined, sets the aria-label for the close button",
|
883
|
-
"value": { "type": "string | undefined" }
|
884
|
-
},
|
885
1037
|
{
|
886
1038
|
"name": "heading",
|
887
1039
|
"description": "Title for the modal/dialog",
|
@@ -892,6 +1044,11 @@
|
|
892
1044
|
"description": "If true, makes the dialog stretch edge to edge on screen",
|
893
1045
|
"value": { "type": "boolean", "default": "false" }
|
894
1046
|
},
|
1047
|
+
{
|
1048
|
+
"name": "lang",
|
1049
|
+
"description": "Sets the internal language of the component",
|
1050
|
+
"value": { "type": "Language", "default": "'en'" }
|
1051
|
+
},
|
895
1052
|
{
|
896
1053
|
"name": "no-close-button",
|
897
1054
|
"description": "If true, removes the close button",
|
@@ -934,11 +1091,6 @@
|
|
934
1091
|
],
|
935
1092
|
"js": {
|
936
1093
|
"properties": [
|
937
|
-
{
|
938
|
-
"name": "closeButtonAriaLabel",
|
939
|
-
"description": "If defined, sets the aria-label for the close button",
|
940
|
-
"type": "string | undefined"
|
941
|
-
},
|
942
1094
|
{
|
943
1095
|
"name": "heading",
|
944
1096
|
"description": "Title for the modal/dialog",
|
@@ -949,6 +1101,11 @@
|
|
949
1101
|
"description": "If true, makes the dialog stretch edge to edge on screen",
|
950
1102
|
"type": "boolean"
|
951
1103
|
},
|
1104
|
+
{
|
1105
|
+
"name": "lang",
|
1106
|
+
"description": "Sets the internal language of the component",
|
1107
|
+
"type": "Language"
|
1108
|
+
},
|
952
1109
|
{
|
953
1110
|
"name": "noCloseButton",
|
954
1111
|
"description": "If true, removes the close button",
|
@@ -1032,20 +1189,20 @@
|
|
1032
1189
|
"description": "The `<skf-drawer>` is a modal component that displays content and toggle by sliding from left/right viewport edge\n---\n\n\n### **Events:**\n - **skf-drawer-opened** - Fires when the drawer is opened (after transitioned in)\n- **skf-drawer-closing** - Fires when the drawer is closing (before transitioned out)\n- **skf-drawer-closed** - Fires when the drawer is closed (after transitioned out)\n\n### **Slots:**\n - _default_ - The Drawer's main content",
|
1033
1190
|
"doc-url": "",
|
1034
1191
|
"attributes": [
|
1035
|
-
{
|
1036
|
-
"name": "close-button-aria-label",
|
1037
|
-
"description": "If defined, sets the aria-label for the close button",
|
1038
|
-
"value": { "type": "string", "default": "'Close dialog'" }
|
1039
|
-
},
|
1040
1192
|
{
|
1041
1193
|
"name": "heading",
|
1042
1194
|
"description": "Heading for the Drawer",
|
1043
1195
|
"value": { "type": "string | undefined" }
|
1044
1196
|
},
|
1197
|
+
{
|
1198
|
+
"name": "lang",
|
1199
|
+
"description": "Sets the internal language of the component",
|
1200
|
+
"value": { "type": "Language", "default": "'en'" }
|
1201
|
+
},
|
1045
1202
|
{
|
1046
1203
|
"name": "size",
|
1047
1204
|
"description": "Sets the max-width",
|
1048
|
-
"value": { "type": "
|
1205
|
+
"value": { "type": "Size", "default": "'md'" }
|
1049
1206
|
},
|
1050
1207
|
{
|
1051
1208
|
"name": "open",
|
@@ -1055,7 +1212,7 @@
|
|
1055
1212
|
{
|
1056
1213
|
"name": "placement",
|
1057
1214
|
"description": "Placement of the Drawer",
|
1058
|
-
"value": { "type": "
|
1215
|
+
"value": { "type": "Placement", "default": "'right'" }
|
1059
1216
|
}
|
1060
1217
|
],
|
1061
1218
|
"slots": [{ "name": "", "description": "The Drawer's main content" }],
|
@@ -1078,20 +1235,20 @@
|
|
1078
1235
|
],
|
1079
1236
|
"js": {
|
1080
1237
|
"properties": [
|
1081
|
-
{
|
1082
|
-
"name": "closeButtonAriaLabel",
|
1083
|
-
"description": "If defined, sets the aria-label for the close button",
|
1084
|
-
"type": "string"
|
1085
|
-
},
|
1086
1238
|
{
|
1087
1239
|
"name": "heading",
|
1088
1240
|
"description": "Heading for the Drawer",
|
1089
1241
|
"type": "string | undefined"
|
1090
1242
|
},
|
1243
|
+
{
|
1244
|
+
"name": "lang",
|
1245
|
+
"description": "Sets the internal language of the component",
|
1246
|
+
"type": "Language"
|
1247
|
+
},
|
1091
1248
|
{
|
1092
1249
|
"name": "size",
|
1093
1250
|
"description": "Sets the max-width",
|
1094
|
-
"type": "
|
1251
|
+
"type": "Size"
|
1095
1252
|
},
|
1096
1253
|
{
|
1097
1254
|
"name": "open",
|
@@ -1101,7 +1258,7 @@
|
|
1101
1258
|
{
|
1102
1259
|
"name": "placement",
|
1103
1260
|
"description": "Placement of the Drawer",
|
1104
|
-
"type": "
|
1261
|
+
"type": "Placement"
|
1105
1262
|
}
|
1106
1263
|
],
|
1107
1264
|
"events": [
|
@@ -1125,7 +1282,7 @@
|
|
1125
1282
|
},
|
1126
1283
|
{
|
1127
1284
|
"name": "skf-logo",
|
1128
|
-
"description": "The `<skf-logo>` component is used to display the SKF logo.\n---\n\n\n### **CSS Properties:**\n - **--
|
1285
|
+
"description": "The `<skf-logo>` component is used to display the SKF logo.\n---\n\n\n### **CSS Properties:**\n - **--mod-logo-height** - The height of the logo _(default: undefined)_",
|
1129
1286
|
"doc-url": "",
|
1130
1287
|
"attributes": [
|
1131
1288
|
{
|
@@ -1157,38 +1314,214 @@
|
|
1157
1314
|
}
|
1158
1315
|
},
|
1159
1316
|
{
|
1160
|
-
"name": "skf-
|
1161
|
-
"description": "The `<skf-
|
1162
|
-
"doc-url": "",
|
1163
|
-
"attributes": [
|
1164
|
-
{
|
1165
|
-
"name": "vertical",
|
1166
|
-
"value": { "type": "boolean", "default": "false" }
|
1167
|
-
}
|
1168
|
-
],
|
1169
|
-
"slots": [
|
1170
|
-
{ "name": "", "description": "The component's main content" }
|
1171
|
-
],
|
1172
|
-
"events": [],
|
1173
|
-
"js": {
|
1174
|
-
"properties": [{ "name": "vertical", "type": "boolean" }],
|
1175
|
-
"events": []
|
1176
|
-
}
|
1177
|
-
},
|
1178
|
-
{
|
1179
|
-
"name": "skf-header",
|
1180
|
-
"description": "The `<skf-header>` component is to be used as the site-header in the app. The navigation will be collapsed to mobile-view if the menu items exceed the available width.\n---\n\n\n### **Slots:**\n - _default_ - Navigation items",
|
1317
|
+
"name": "skf-link",
|
1318
|
+
"description": "The `<skf-link>` can be used as either a regular link or a semantic button. The button variant is\nintended to be used for triggering javascript functions, not handling forms.\n---\n\n\n### **Events:**\n - **skf-link-click** - Fired when the link is clicked\n\n### **Slots:**\n - _default_ - The links' main content",
|
1181
1319
|
"doc-url": "",
|
1182
1320
|
"attributes": [
|
1183
1321
|
{
|
1184
|
-
"name": "
|
1185
|
-
"description": "
|
1186
|
-
"value": { "type": "
|
1322
|
+
"name": "as",
|
1323
|
+
"description": "Defines the semantic element to render",
|
1324
|
+
"value": { "type": "'button' | 'link'", "default": "'link'" }
|
1187
1325
|
},
|
1188
1326
|
{
|
1189
|
-
"name": "
|
1190
|
-
"description": "
|
1191
|
-
"value": { "type": "
|
1327
|
+
"name": "color",
|
1328
|
+
"description": "Defines the text-color",
|
1329
|
+
"value": { "type": "Color", "default": "'primary'" }
|
1330
|
+
},
|
1331
|
+
{
|
1332
|
+
"name": "disabled",
|
1333
|
+
"description": "If true, disables the link",
|
1334
|
+
"value": { "type": "boolean", "default": "false" }
|
1335
|
+
},
|
1336
|
+
{
|
1337
|
+
"name": "download",
|
1338
|
+
"description": "If defined, downloads the url",
|
1339
|
+
"value": { "type": "boolean", "default": "false" }
|
1340
|
+
},
|
1341
|
+
{
|
1342
|
+
"name": "href",
|
1343
|
+
"description": "If defined, loads url on click",
|
1344
|
+
"value": { "type": "string | undefined" }
|
1345
|
+
},
|
1346
|
+
{
|
1347
|
+
"name": "icon",
|
1348
|
+
"description": "If defined, renders an icon before or after the text",
|
1349
|
+
"value": { "type": "Icon | undefined" }
|
1350
|
+
},
|
1351
|
+
{
|
1352
|
+
"name": "icon-right",
|
1353
|
+
"description": "If true, the icon is placed to the right in relation to the text",
|
1354
|
+
"value": { "type": "boolean", "default": "false" }
|
1355
|
+
},
|
1356
|
+
{
|
1357
|
+
"name": "rel",
|
1358
|
+
"description": "If defined, describes the relationship between a linked resource and the current document",
|
1359
|
+
"value": { "type": "string | undefined" }
|
1360
|
+
},
|
1361
|
+
{
|
1362
|
+
"name": "route",
|
1363
|
+
"description": "If defined, used on conjunction with onClick property. **Notice!** Only applicable to as=button.",
|
1364
|
+
"value": { "type": "string | undefined" }
|
1365
|
+
},
|
1366
|
+
{
|
1367
|
+
"name": "stretch",
|
1368
|
+
"description": "If true, fills the parents horizontal axis",
|
1369
|
+
"value": { "type": "boolean", "default": "false" }
|
1370
|
+
},
|
1371
|
+
{
|
1372
|
+
"name": "target",
|
1373
|
+
"description": "If defined, specifies where to open the linked document",
|
1374
|
+
"value": {
|
1375
|
+
"type": "'_blank' | '_parent' | '_self' | '_top' | undefined"
|
1376
|
+
}
|
1377
|
+
}
|
1378
|
+
],
|
1379
|
+
"slots": [{ "name": "", "description": "The links' main content" }],
|
1380
|
+
"events": [
|
1381
|
+
{
|
1382
|
+
"name": "skf-link-click",
|
1383
|
+
"type": "CustomEvent",
|
1384
|
+
"description": "Fired when the link is clicked"
|
1385
|
+
}
|
1386
|
+
],
|
1387
|
+
"js": {
|
1388
|
+
"properties": [
|
1389
|
+
{
|
1390
|
+
"name": "as",
|
1391
|
+
"description": "Defines the semantic element to render",
|
1392
|
+
"type": "'button' | 'link'"
|
1393
|
+
},
|
1394
|
+
{
|
1395
|
+
"name": "color",
|
1396
|
+
"description": "Defines the text-color",
|
1397
|
+
"type": "Color"
|
1398
|
+
},
|
1399
|
+
{
|
1400
|
+
"name": "disabled",
|
1401
|
+
"description": "If true, disables the link",
|
1402
|
+
"type": "boolean"
|
1403
|
+
},
|
1404
|
+
{
|
1405
|
+
"name": "download",
|
1406
|
+
"description": "If defined, downloads the url",
|
1407
|
+
"type": "boolean"
|
1408
|
+
},
|
1409
|
+
{
|
1410
|
+
"name": "href",
|
1411
|
+
"description": "If defined, loads url on click",
|
1412
|
+
"type": "string | undefined"
|
1413
|
+
},
|
1414
|
+
{
|
1415
|
+
"name": "icon",
|
1416
|
+
"description": "If defined, renders an icon before or after the text",
|
1417
|
+
"type": "Icon | undefined"
|
1418
|
+
},
|
1419
|
+
{
|
1420
|
+
"name": "iconRight",
|
1421
|
+
"description": "If true, the icon is placed to the right in relation to the text",
|
1422
|
+
"type": "boolean"
|
1423
|
+
},
|
1424
|
+
{
|
1425
|
+
"name": "rel",
|
1426
|
+
"description": "If defined, describes the relationship between a linked resource and the current document",
|
1427
|
+
"type": "string | undefined"
|
1428
|
+
},
|
1429
|
+
{
|
1430
|
+
"name": "route",
|
1431
|
+
"description": "If defined, used on conjunction with onClick property. **Notice!** Only applicable to as=button.",
|
1432
|
+
"type": "string | undefined"
|
1433
|
+
},
|
1434
|
+
{
|
1435
|
+
"name": "stretch",
|
1436
|
+
"description": "If true, fills the parents horizontal axis",
|
1437
|
+
"type": "boolean"
|
1438
|
+
},
|
1439
|
+
{
|
1440
|
+
"name": "target",
|
1441
|
+
"description": "If defined, specifies where to open the linked document",
|
1442
|
+
"type": "'_blank' | '_parent' | '_self' | '_top' | undefined"
|
1443
|
+
}
|
1444
|
+
],
|
1445
|
+
"events": [
|
1446
|
+
{
|
1447
|
+
"name": "skf-link-click",
|
1448
|
+
"type": "CustomEvent",
|
1449
|
+
"description": "Fired when the link is clicked"
|
1450
|
+
}
|
1451
|
+
]
|
1452
|
+
}
|
1453
|
+
},
|
1454
|
+
{
|
1455
|
+
"name": "skf-nav-item",
|
1456
|
+
"description": "The `<skf-nav>` is a component that displays a list of <nav-items>.\n---\n\n\n### **Slots:**\n - _default_ - The component's main content",
|
1457
|
+
"doc-url": "",
|
1458
|
+
"attributes": [
|
1459
|
+
{ "name": "href", "value": { "type": "string", "default": "''" } },
|
1460
|
+
{ "name": "icon", "value": { "type": "Icon | undefined" } }
|
1461
|
+
],
|
1462
|
+
"slots": [
|
1463
|
+
{ "name": "", "description": "The component's main content" }
|
1464
|
+
],
|
1465
|
+
"events": [],
|
1466
|
+
"js": {
|
1467
|
+
"properties": [
|
1468
|
+
{ "name": "href", "type": "string" },
|
1469
|
+
{ "name": "icon", "type": "Icon | undefined" },
|
1470
|
+
{ "name": "vertical", "type": "boolean" }
|
1471
|
+
],
|
1472
|
+
"events": []
|
1473
|
+
}
|
1474
|
+
},
|
1475
|
+
{
|
1476
|
+
"name": "skf-nav",
|
1477
|
+
"description": "The `<skf-nav>` is a component that displays a list of <nav-items>.\n---\n\n\n### **Slots:**\n - _default_ - The component's main content",
|
1478
|
+
"doc-url": "",
|
1479
|
+
"attributes": [
|
1480
|
+
{
|
1481
|
+
"name": "lang",
|
1482
|
+
"description": "Sets the internal language of the component",
|
1483
|
+
"value": { "type": "Language", "default": "'en'" }
|
1484
|
+
},
|
1485
|
+
{
|
1486
|
+
"name": "vertical",
|
1487
|
+
"description": "If true, the navigation will be displayed vertically",
|
1488
|
+
"value": { "type": "boolean", "default": "false" }
|
1489
|
+
}
|
1490
|
+
],
|
1491
|
+
"slots": [
|
1492
|
+
{ "name": "", "description": "The component's main content" }
|
1493
|
+
],
|
1494
|
+
"events": [],
|
1495
|
+
"js": {
|
1496
|
+
"properties": [
|
1497
|
+
{
|
1498
|
+
"name": "lang",
|
1499
|
+
"description": "Sets the internal language of the component",
|
1500
|
+
"type": "Language"
|
1501
|
+
},
|
1502
|
+
{
|
1503
|
+
"name": "vertical",
|
1504
|
+
"description": "If true, the navigation will be displayed vertically",
|
1505
|
+
"type": "boolean"
|
1506
|
+
}
|
1507
|
+
],
|
1508
|
+
"events": []
|
1509
|
+
}
|
1510
|
+
},
|
1511
|
+
{
|
1512
|
+
"name": "skf-header",
|
1513
|
+
"description": "The `<skf-header>` component is to be used as the site-header in the app. The navigation will be collapsed to mobile-view if the menu items exceed the available width.\n---\n\n\n### **Slots:**\n - _default_ - Navigation items",
|
1514
|
+
"doc-url": "",
|
1515
|
+
"attributes": [
|
1516
|
+
{
|
1517
|
+
"name": "compact",
|
1518
|
+
"description": "If true, sets header to display in compact mode only (hanburger menu and drawer)",
|
1519
|
+
"value": { "type": "string" }
|
1520
|
+
},
|
1521
|
+
{
|
1522
|
+
"name": "lang",
|
1523
|
+
"description": "Sets the internal language of the component",
|
1524
|
+
"value": { "type": "Language", "default": "'en'" }
|
1192
1525
|
},
|
1193
1526
|
{
|
1194
1527
|
"name": "site-name",
|
@@ -1210,9 +1543,9 @@
|
|
1210
1543
|
"description": "If true, sets header to display in compact mode only (hanburger menu and drawer)"
|
1211
1544
|
},
|
1212
1545
|
{
|
1213
|
-
"name": "
|
1214
|
-
"description": "
|
1215
|
-
"type": "
|
1546
|
+
"name": "lang",
|
1547
|
+
"description": "Sets the internal language of the component",
|
1548
|
+
"type": "Language"
|
1216
1549
|
},
|
1217
1550
|
{
|
1218
1551
|
"name": "siteName",
|
@@ -1250,21 +1583,6 @@
|
|
1250
1583
|
"type": "HTMLInputElement['autocomplete'] | undefined"
|
1251
1584
|
}
|
1252
1585
|
},
|
1253
|
-
{
|
1254
|
-
"name": "button-aria-label-clear",
|
1255
|
-
"description": "Custom aria-label for the clear button. **Notice!** Only applicable to type=search.",
|
1256
|
-
"value": { "type": "string", "default": "'Clear input'" }
|
1257
|
-
},
|
1258
|
-
{
|
1259
|
-
"name": "button-aria-label-hide",
|
1260
|
-
"description": "Custom aria-label for the visibility button. **Notice!** Only applicable to type=password.",
|
1261
|
-
"value": { "type": "string", "default": "'Hide password'" }
|
1262
|
-
},
|
1263
|
-
{
|
1264
|
-
"name": "button-aria-label-show",
|
1265
|
-
"description": "Custom aria-label for the visibility button **Notice!** Only applicable to type=password.",
|
1266
|
-
"value": { "type": "string", "default": "'Show password'" }
|
1267
|
-
},
|
1268
1586
|
{
|
1269
1587
|
"name": "custom-invalid",
|
1270
1588
|
"description": "If defined, forces component to invalid state until removed. Its value is used as hint text.",
|
@@ -1298,6 +1616,11 @@
|
|
1298
1616
|
"description": "If defined, sets the input's label. Alternatively, you can use the `label` attribute.",
|
1299
1617
|
"value": { "type": "string | undefined" }
|
1300
1618
|
},
|
1619
|
+
{
|
1620
|
+
"name": "lang",
|
1621
|
+
"description": "Sets the internal language of the component",
|
1622
|
+
"value": { "type": "Language", "default": "'en'" }
|
1623
|
+
},
|
1301
1624
|
{
|
1302
1625
|
"name": "leading",
|
1303
1626
|
"description": "If defined, displays a prefix/adornment before the input-element",
|
@@ -1343,11 +1666,6 @@
|
|
1343
1666
|
"description": "If true, makes the element not mutable, meaning the user can not edit the control",
|
1344
1667
|
"value": { "type": "boolean", "default": "false" }
|
1345
1668
|
},
|
1346
|
-
{
|
1347
|
-
"name": "required-label",
|
1348
|
-
"description": "If defined, renders an alternative A11y text for the asterisk",
|
1349
|
-
"value": { "type": "string | undefined" }
|
1350
|
-
},
|
1351
1669
|
{
|
1352
1670
|
"name": "severity",
|
1353
1671
|
"description": "If defined, displays provided severity state",
|
@@ -1400,324 +1718,163 @@
|
|
1400
1718
|
{
|
1401
1719
|
"name": "change",
|
1402
1720
|
"type": "CustomEvent",
|
1403
|
-
"description": "Fires when the value of the input changes"
|
1404
|
-
},
|
1405
|
-
{
|
1406
|
-
"name": "invalid",
|
1407
|
-
"type": "CustomEvent",
|
1408
|
-
"description": "Fires when the input is invalid"
|
1409
|
-
}
|
1410
|
-
],
|
1411
|
-
"js": {
|
1412
|
-
"properties": [
|
1413
|
-
{
|
1414
|
-
"name": "autocomplete",
|
1415
|
-
"description": "Indicates whether the value of the control can be automatically completed by the browser. See\n[MDN Web Docs](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/autocomplete) for details.",
|
1416
|
-
"type": "HTMLInputElement['autocomplete'] | undefined"
|
1417
|
-
},
|
1418
|
-
{
|
1419
|
-
"name": "buttonAriaLabelClear",
|
1420
|
-
"description": "Custom aria-label for the clear button. **Notice!** Only applicable to type=search.",
|
1421
|
-
"type": "string"
|
1422
|
-
},
|
1423
|
-
{
|
1424
|
-
"name": "buttonAriaLabelHide",
|
1425
|
-
"description": "Custom aria-label for the visibility button. **Notice!** Only applicable to type=password.",
|
1426
|
-
"type": "string"
|
1427
|
-
},
|
1428
|
-
{
|
1429
|
-
"name": "buttonAriaLabelShow",
|
1430
|
-
"description": "Custom aria-label for the visibility button **Notice!** Only applicable to type=password.",
|
1431
|
-
"type": "string"
|
1432
|
-
},
|
1433
|
-
{
|
1434
|
-
"name": "customInvalid",
|
1435
|
-
"description": "If defined, forces component to invalid state until removed. Its value is used as hint text."
|
1436
|
-
},
|
1437
|
-
{
|
1438
|
-
"name": "debug",
|
1439
|
-
"description": "If true, outputs helping hints in console",
|
1440
|
-
"type": "boolean"
|
1441
|
-
},
|
1442
|
-
{
|
1443
|
-
"name": "hideLabel",
|
1444
|
-
"description": "If true, hides the label visually",
|
1445
|
-
"type": "boolean"
|
1446
|
-
},
|
1447
|
-
{
|
1448
|
-
"name": "hint",
|
1449
|
-
"description": "If defined, displays informational text below the field",
|
1450
|
-
"type": "string | undefined"
|
1451
|
-
},
|
1452
|
-
{
|
1453
|
-
"name": "inputmode",
|
1454
|
-
"description": "Provides a hint about the type of data that might be entered by the user while editing the element or its contents. See\n[MDN Web Docs](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/inputMode) for details.",
|
1455
|
-
"type": "HTMLInputElement['inputMode']"
|
1456
|
-
},
|
1457
|
-
{
|
1458
|
-
"name": "label",
|
1459
|
-
"description": "If defined, sets the input's label. Alternatively, you can use the `label` attribute.",
|
1460
|
-
"type": "string | undefined"
|
1461
|
-
},
|
1462
|
-
{
|
1463
|
-
"name": "leading",
|
1464
|
-
"description": "If defined, displays a prefix/adornment before the input-element",
|
1465
|
-
"type": "string | undefined"
|
1466
|
-
},
|
1467
|
-
{
|
1468
|
-
"name": "max",
|
1469
|
-
"description": "If defined, sets the maximum value to accept for this input",
|
1470
|
-
"type": "number | string | undefined"
|
1471
|
-
},
|
1472
|
-
{
|
1473
|
-
"name": "maxLength",
|
1474
|
-
"description": "If defined, sets the maximum character length to accept for this input",
|
1475
|
-
"type": "number | undefined"
|
1476
|
-
},
|
1477
|
-
{
|
1478
|
-
"name": "min",
|
1479
|
-
"description": "If defined, sets the minimum value to accept for this input",
|
1480
|
-
"type": "number | string | undefined"
|
1481
|
-
},
|
1482
|
-
{
|
1483
|
-
"name": "minLength",
|
1484
|
-
"description": "If defined, sets the minimum character length to accept for this input",
|
1485
|
-
"type": "number | undefined"
|
1486
|
-
},
|
1487
|
-
{
|
1488
|
-
"name": "name",
|
1489
|
-
"description": "If defined, adds name to the input-element",
|
1490
|
-
"type": "string | undefined"
|
1491
|
-
},
|
1492
|
-
{
|
1493
|
-
"name": "pattern",
|
1494
|
-
"description": "If defined, adds name to the input-element",
|
1495
|
-
"type": "string | undefined"
|
1496
|
-
},
|
1497
|
-
{
|
1498
|
-
"name": "placeholder",
|
1499
|
-
"description": "If defined, displays placeholder text",
|
1500
|
-
"type": "string | undefined"
|
1501
|
-
},
|
1502
|
-
{
|
1503
|
-
"name": "readonly",
|
1504
|
-
"description": "If true, makes the element not mutable, meaning the user can not edit the control",
|
1505
|
-
"type": "boolean"
|
1506
|
-
},
|
1507
|
-
{
|
1508
|
-
"name": "requiredLabel",
|
1509
|
-
"description": "If defined, renders an alternative A11y text for the asterisk",
|
1510
|
-
"type": "string | undefined"
|
1511
|
-
},
|
1512
|
-
{
|
1513
|
-
"name": "severity",
|
1514
|
-
"description": "If defined, displays provided severity state",
|
1515
|
-
"type": "FormFieldSeverity | undefined"
|
1516
|
-
},
|
1517
|
-
{
|
1518
|
-
"name": "showValid",
|
1519
|
-
"description": "If true, displays valid state after interaction",
|
1520
|
-
"type": "boolean"
|
1521
|
-
},
|
1522
|
-
{
|
1523
|
-
"name": "size",
|
1524
|
-
"description": "Size of the input",
|
1525
|
-
"type": "'sm' | 'md'"
|
1526
|
-
},
|
1527
|
-
{
|
1528
|
-
"name": "trailing",
|
1529
|
-
"description": "If defined, displays a suffix/adornment after the input-element",
|
1530
|
-
"type": "string | undefined"
|
1531
|
-
},
|
1532
|
-
{
|
1533
|
-
"name": "type",
|
1534
|
-
"description": "Type of input",
|
1535
|
-
"type": "'email' | 'number' | 'password' | 'search' | 'tel' | 'text' | 'url'"
|
1536
|
-
},
|
1537
|
-
{
|
1538
|
-
"name": "validateOn",
|
1539
|
-
"description": "Sets validation start",
|
1540
|
-
"type": "'input' | 'change' | 'submit'"
|
1541
|
-
},
|
1542
|
-
{
|
1543
|
-
"name": "value",
|
1544
|
-
"description": "The current value of the input field"
|
1545
|
-
}
|
1546
|
-
],
|
1547
|
-
"events": [
|
1548
|
-
{
|
1549
|
-
"name": "change",
|
1550
|
-
"type": "CustomEvent",
|
1551
|
-
"description": "Fires when the value of the input changes"
|
1552
|
-
},
|
1553
|
-
{
|
1554
|
-
"name": "invalid",
|
1555
|
-
"type": "CustomEvent",
|
1556
|
-
"description": "Fires when the input is invalid"
|
1557
|
-
}
|
1558
|
-
]
|
1559
|
-
}
|
1560
|
-
},
|
1561
|
-
{
|
1562
|
-
"name": "skf-link",
|
1563
|
-
"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",
|
1564
|
-
"doc-url": "",
|
1565
|
-
"attributes": [
|
1566
|
-
{
|
1567
|
-
"name": "as",
|
1568
|
-
"description": "Defines the semantic element to render",
|
1569
|
-
"value": { "type": "'button' | 'a'", "default": "'a'" }
|
1570
|
-
},
|
1571
|
-
{
|
1572
|
-
"name": "color",
|
1573
|
-
"description": "Defines the text-color",
|
1574
|
-
"value": {
|
1575
|
-
"type": "'primary' | 'inverse'",
|
1576
|
-
"default": "'primary'"
|
1577
|
-
}
|
1578
|
-
},
|
1579
|
-
{
|
1580
|
-
"name": "disabled",
|
1581
|
-
"description": "If true, disables the link",
|
1582
|
-
"value": { "type": "boolean", "default": "false" }
|
1583
|
-
},
|
1584
|
-
{
|
1585
|
-
"name": "download",
|
1586
|
-
"description": "If defined, downloads the url",
|
1587
|
-
"value": { "type": "string | undefined" }
|
1588
|
-
},
|
1589
|
-
{
|
1590
|
-
"name": "href",
|
1591
|
-
"description": "If defined, loads url on click",
|
1592
|
-
"value": { "type": "string | undefined" }
|
1593
|
-
},
|
1594
|
-
{
|
1595
|
-
"name": "icon",
|
1596
|
-
"description": "If defined, renders an icon before or after the text",
|
1597
|
-
"value": { "type": "Icon | undefined" }
|
1598
|
-
},
|
1599
|
-
{
|
1600
|
-
"name": "icon-placement",
|
1601
|
-
"description": "Defines the position of the icon in relation to the text",
|
1602
|
-
"value": { "type": "'left' | 'right'", "default": "'left'" }
|
1603
|
-
},
|
1604
|
-
{
|
1605
|
-
"name": "rel",
|
1606
|
-
"description": "If defined, describes the relationship between a linked resource and the current document",
|
1607
|
-
"value": { "type": "string | undefined" }
|
1608
|
-
},
|
1609
|
-
{
|
1610
|
-
"name": "route",
|
1611
|
-
"description": "If defined, used on conjunction with onClick property, second argument",
|
1612
|
-
"value": { "type": "string | undefined" }
|
1613
|
-
},
|
1614
|
-
{
|
1615
|
-
"name": "stretch",
|
1616
|
-
"description": "If true, fills the parents horizontal axis",
|
1617
|
-
"value": { "type": "boolean", "default": "false" }
|
1618
|
-
},
|
1619
|
-
{
|
1620
|
-
"name": "target",
|
1621
|
-
"description": "If defined, specifies where to open the linked document",
|
1622
|
-
"value": {
|
1623
|
-
"type": "'_blank' | '_parent' | '_self' | '_top' | undefined"
|
1624
|
-
}
|
1721
|
+
"description": "Fires when the value of the input changes"
|
1625
1722
|
},
|
1626
1723
|
{
|
1627
|
-
"name": "
|
1628
|
-
"
|
1629
|
-
"
|
1724
|
+
"name": "invalid",
|
1725
|
+
"type": "CustomEvent",
|
1726
|
+
"description": "Fires when the input is invalid"
|
1630
1727
|
}
|
1631
1728
|
],
|
1632
|
-
"slots": [{ "name": "", "description": "The links' main content" }],
|
1633
|
-
"events": [],
|
1634
1729
|
"js": {
|
1635
1730
|
"properties": [
|
1636
1731
|
{
|
1637
|
-
"name": "
|
1638
|
-
"description": "
|
1639
|
-
"type": "'
|
1732
|
+
"name": "autocomplete",
|
1733
|
+
"description": "Indicates whether the value of the control can be automatically completed by the browser. See\n[MDN Web Docs](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/autocomplete) for details.",
|
1734
|
+
"type": "HTMLInputElement['autocomplete'] | undefined"
|
1640
1735
|
},
|
1641
1736
|
{
|
1642
|
-
"name": "
|
1643
|
-
"description": "
|
1644
|
-
"type": "'primary' | 'inverse'"
|
1737
|
+
"name": "customInvalid",
|
1738
|
+
"description": "If defined, forces component to invalid state until removed. Its value is used as hint text."
|
1645
1739
|
},
|
1646
1740
|
{
|
1647
|
-
"name": "
|
1648
|
-
"description": "If true,
|
1741
|
+
"name": "debug",
|
1742
|
+
"description": "If true, outputs helping hints in console",
|
1649
1743
|
"type": "boolean"
|
1650
1744
|
},
|
1651
1745
|
{
|
1652
|
-
"name": "
|
1653
|
-
"description": "If
|
1746
|
+
"name": "hideLabel",
|
1747
|
+
"description": "If true, hides the label visually",
|
1748
|
+
"type": "boolean"
|
1749
|
+
},
|
1750
|
+
{
|
1751
|
+
"name": "hint",
|
1752
|
+
"description": "If defined, displays informational text below the field",
|
1654
1753
|
"type": "string | undefined"
|
1655
1754
|
},
|
1656
1755
|
{
|
1657
|
-
"name": "
|
1658
|
-
"description": "
|
1756
|
+
"name": "inputmode",
|
1757
|
+
"description": "Provides a hint about the type of data that might be entered by the user while editing the element or its contents. See\n[MDN Web Docs](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/inputMode) for details.",
|
1758
|
+
"type": "HTMLInputElement['inputMode']"
|
1759
|
+
},
|
1760
|
+
{
|
1761
|
+
"name": "label",
|
1762
|
+
"description": "If defined, sets the input's label. Alternatively, you can use the `label` attribute.",
|
1659
1763
|
"type": "string | undefined"
|
1660
1764
|
},
|
1661
1765
|
{
|
1662
|
-
"name": "
|
1663
|
-
"description": "
|
1664
|
-
"type": "
|
1766
|
+
"name": "lang",
|
1767
|
+
"description": "Sets the internal language of the component",
|
1768
|
+
"type": "Language"
|
1665
1769
|
},
|
1666
1770
|
{
|
1667
|
-
"name": "
|
1668
|
-
"description": "
|
1669
|
-
"type": "
|
1771
|
+
"name": "leading",
|
1772
|
+
"description": "If defined, displays a prefix/adornment before the input-element",
|
1773
|
+
"type": "string | undefined"
|
1670
1774
|
},
|
1671
1775
|
{
|
1672
|
-
"name": "
|
1673
|
-
"description": "If defined,
|
1776
|
+
"name": "max",
|
1777
|
+
"description": "If defined, sets the maximum value to accept for this input",
|
1778
|
+
"type": "number | string | undefined"
|
1674
1779
|
},
|
1675
1780
|
{
|
1676
|
-
"name": "
|
1677
|
-
"description": "If defined,
|
1781
|
+
"name": "maxLength",
|
1782
|
+
"description": "If defined, sets the maximum character length to accept for this input",
|
1783
|
+
"type": "number | undefined"
|
1784
|
+
},
|
1785
|
+
{
|
1786
|
+
"name": "min",
|
1787
|
+
"description": "If defined, sets the minimum value to accept for this input",
|
1788
|
+
"type": "number | string | undefined"
|
1789
|
+
},
|
1790
|
+
{
|
1791
|
+
"name": "minLength",
|
1792
|
+
"description": "If defined, sets the minimum character length to accept for this input",
|
1793
|
+
"type": "number | undefined"
|
1794
|
+
},
|
1795
|
+
{
|
1796
|
+
"name": "name",
|
1797
|
+
"description": "If defined, adds name to the input-element",
|
1678
1798
|
"type": "string | undefined"
|
1679
1799
|
},
|
1680
1800
|
{
|
1681
|
-
"name": "
|
1682
|
-
"description": "If defined,
|
1801
|
+
"name": "pattern",
|
1802
|
+
"description": "If defined, adds name to the input-element",
|
1683
1803
|
"type": "string | undefined"
|
1684
1804
|
},
|
1685
1805
|
{
|
1686
|
-
"name": "
|
1687
|
-
"description": "If
|
1806
|
+
"name": "placeholder",
|
1807
|
+
"description": "If defined, displays placeholder text",
|
1808
|
+
"type": "string | undefined"
|
1809
|
+
},
|
1810
|
+
{
|
1811
|
+
"name": "readonly",
|
1812
|
+
"description": "If true, makes the element not mutable, meaning the user can not edit the control",
|
1688
1813
|
"type": "boolean"
|
1689
1814
|
},
|
1690
1815
|
{
|
1691
|
-
"name": "
|
1692
|
-
"description": "If defined,
|
1693
|
-
"type": "
|
1816
|
+
"name": "severity",
|
1817
|
+
"description": "If defined, displays provided severity state",
|
1818
|
+
"type": "FormFieldSeverity | undefined"
|
1819
|
+
},
|
1820
|
+
{
|
1821
|
+
"name": "showValid",
|
1822
|
+
"description": "If true, displays valid state after interaction",
|
1823
|
+
"type": "boolean"
|
1824
|
+
},
|
1825
|
+
{
|
1826
|
+
"name": "size",
|
1827
|
+
"description": "Size of the input",
|
1828
|
+
"type": "'sm' | 'md'"
|
1829
|
+
},
|
1830
|
+
{
|
1831
|
+
"name": "trailing",
|
1832
|
+
"description": "If defined, displays a suffix/adornment after the input-element",
|
1833
|
+
"type": "string | undefined"
|
1694
1834
|
},
|
1695
1835
|
{
|
1696
1836
|
"name": "type",
|
1697
|
-
"description": "
|
1698
|
-
"type": "
|
1837
|
+
"description": "Type of input",
|
1838
|
+
"type": "'email' | 'number' | 'password' | 'search' | 'tel' | 'text' | 'url'"
|
1839
|
+
},
|
1840
|
+
{
|
1841
|
+
"name": "validateOn",
|
1842
|
+
"description": "Sets validation start",
|
1843
|
+
"type": "'input' | 'change' | 'submit'"
|
1844
|
+
},
|
1845
|
+
{
|
1846
|
+
"name": "value",
|
1847
|
+
"description": "The current value of the input field"
|
1699
1848
|
}
|
1700
1849
|
],
|
1701
|
-
"events": [
|
1850
|
+
"events": [
|
1851
|
+
{
|
1852
|
+
"name": "change",
|
1853
|
+
"type": "CustomEvent",
|
1854
|
+
"description": "Fires when the value of the input changes"
|
1855
|
+
},
|
1856
|
+
{
|
1857
|
+
"name": "invalid",
|
1858
|
+
"type": "CustomEvent",
|
1859
|
+
"description": "Fires when the input is invalid"
|
1860
|
+
}
|
1861
|
+
]
|
1702
1862
|
}
|
1703
1863
|
},
|
1704
1864
|
{
|
1705
1865
|
"name": "skf-menu-item",
|
1706
|
-
"description": "The `<skf-menu-item>` is used in conjunction with the `<skf-menu>` component\n---\n\n\n### **Slots:**\n - _default_ - The component's main content",
|
1866
|
+
"description": "The `<skf-menu-item>` is used in conjunction with the `<skf-menu>` component\n---\n\n\n### **Events:**\n - **skf-link-click** - Fired when the link is clicked\n\n### **Slots:**\n - _default_ - The component's main content",
|
1707
1867
|
"doc-url": "",
|
1708
1868
|
"attributes": [
|
1709
1869
|
{
|
1710
1870
|
"name": "as",
|
1711
1871
|
"description": "Defines the semantic element to render",
|
1712
|
-
"value": { "type": "'button' | '
|
1872
|
+
"value": { "type": "'button' | 'link'", "default": "'link'" }
|
1713
1873
|
},
|
1714
1874
|
{
|
1715
1875
|
"name": "color",
|
1716
1876
|
"description": "Defines the text-color",
|
1717
|
-
"value": {
|
1718
|
-
"type": "'primary' | 'inverse'",
|
1719
|
-
"default": "'primary'"
|
1720
|
-
}
|
1877
|
+
"value": { "type": "Color", "default": "'primary'" }
|
1721
1878
|
},
|
1722
1879
|
{
|
1723
1880
|
"name": "disabled",
|
@@ -1727,7 +1884,7 @@
|
|
1727
1884
|
{
|
1728
1885
|
"name": "download",
|
1729
1886
|
"description": "If defined, downloads the url",
|
1730
|
-
"value": { "type": "
|
1887
|
+
"value": { "type": "boolean", "default": "false" }
|
1731
1888
|
},
|
1732
1889
|
{
|
1733
1890
|
"name": "href",
|
@@ -1740,9 +1897,9 @@
|
|
1740
1897
|
"value": { "type": "Icon | undefined" }
|
1741
1898
|
},
|
1742
1899
|
{
|
1743
|
-
"name": "icon-
|
1744
|
-
"description": "
|
1745
|
-
"value": { "type": "
|
1900
|
+
"name": "icon-right",
|
1901
|
+
"description": "If true, the icon is placed to the right in relation to the text",
|
1902
|
+
"value": { "type": "boolean", "default": "false" }
|
1746
1903
|
},
|
1747
1904
|
{
|
1748
1905
|
"name": "rel",
|
@@ -1751,7 +1908,7 @@
|
|
1751
1908
|
},
|
1752
1909
|
{
|
1753
1910
|
"name": "route",
|
1754
|
-
"description": "If defined, used on conjunction with onClick property
|
1911
|
+
"description": "If defined, used on conjunction with onClick property. **Notice!** Only applicable to as=button.",
|
1755
1912
|
"value": { "type": "string | undefined" }
|
1756
1913
|
},
|
1757
1914
|
{
|
@@ -1765,29 +1922,29 @@
|
|
1765
1922
|
"value": {
|
1766
1923
|
"type": "'_blank' | '_parent' | '_self' | '_top' | undefined"
|
1767
1924
|
}
|
1768
|
-
},
|
1769
|
-
{
|
1770
|
-
"name": "type",
|
1771
|
-
"description": "Defines the type of button",
|
1772
|
-
"value": { "type": "SkfLinkType", "default": "'button'" }
|
1773
1925
|
}
|
1774
1926
|
],
|
1775
1927
|
"slots": [
|
1776
1928
|
{ "name": "", "description": "The component's main content" }
|
1777
1929
|
],
|
1778
|
-
"events": [
|
1930
|
+
"events": [
|
1931
|
+
{
|
1932
|
+
"name": "skf-link-click",
|
1933
|
+
"type": "CustomEvent",
|
1934
|
+
"description": "Fired when the link is clicked"
|
1935
|
+
}
|
1936
|
+
],
|
1779
1937
|
"js": {
|
1780
1938
|
"properties": [
|
1781
|
-
{ "name": "role", "type": "string" },
|
1782
1939
|
{
|
1783
1940
|
"name": "as",
|
1784
1941
|
"description": "Defines the semantic element to render",
|
1785
|
-
"type": "'button' | '
|
1942
|
+
"type": "'button' | 'link'"
|
1786
1943
|
},
|
1787
1944
|
{
|
1788
1945
|
"name": "color",
|
1789
1946
|
"description": "Defines the text-color",
|
1790
|
-
"type": "
|
1947
|
+
"type": "Color"
|
1791
1948
|
},
|
1792
1949
|
{
|
1793
1950
|
"name": "disabled",
|
@@ -1797,7 +1954,7 @@
|
|
1797
1954
|
{
|
1798
1955
|
"name": "download",
|
1799
1956
|
"description": "If defined, downloads the url",
|
1800
|
-
"type": "
|
1957
|
+
"type": "boolean"
|
1801
1958
|
},
|
1802
1959
|
{
|
1803
1960
|
"name": "href",
|
@@ -1810,13 +1967,9 @@
|
|
1810
1967
|
"type": "Icon | undefined"
|
1811
1968
|
},
|
1812
1969
|
{
|
1813
|
-
"name": "
|
1814
|
-
"description": "
|
1815
|
-
"type": "
|
1816
|
-
},
|
1817
|
-
{
|
1818
|
-
"name": "onClick",
|
1819
|
-
"description": "If defined, accepts a function that runs on click. Forwards optional route as second argument."
|
1970
|
+
"name": "iconRight",
|
1971
|
+
"description": "If true, the icon is placed to the right in relation to the text",
|
1972
|
+
"type": "boolean"
|
1820
1973
|
},
|
1821
1974
|
{
|
1822
1975
|
"name": "rel",
|
@@ -1825,7 +1978,7 @@
|
|
1825
1978
|
},
|
1826
1979
|
{
|
1827
1980
|
"name": "route",
|
1828
|
-
"description": "If defined, used on conjunction with onClick property
|
1981
|
+
"description": "If defined, used on conjunction with onClick property. **Notice!** Only applicable to as=button.",
|
1829
1982
|
"type": "string | undefined"
|
1830
1983
|
},
|
1831
1984
|
{
|
@@ -1837,19 +1990,20 @@
|
|
1837
1990
|
"name": "target",
|
1838
1991
|
"description": "If defined, specifies where to open the linked document",
|
1839
1992
|
"type": "'_blank' | '_parent' | '_self' | '_top' | undefined"
|
1840
|
-
},
|
1841
|
-
{
|
1842
|
-
"name": "type",
|
1843
|
-
"description": "Defines the type of button",
|
1844
|
-
"type": "SkfLinkType"
|
1845
1993
|
}
|
1846
1994
|
],
|
1847
|
-
"events": [
|
1995
|
+
"events": [
|
1996
|
+
{
|
1997
|
+
"name": "skf-link-click",
|
1998
|
+
"type": "CustomEvent",
|
1999
|
+
"description": "Fired when the link is clicked"
|
2000
|
+
}
|
2001
|
+
]
|
1848
2002
|
}
|
1849
2003
|
},
|
1850
2004
|
{
|
1851
2005
|
"name": "skf-menu",
|
1852
|
-
"description": "The `<skf-menu>` is a component that displays a list of actions or options\n\nSee [zeroheight](https://zeroheight.com/853e936c9/p/983e5d-popover) for design principles\n---\n\n\n### **Events:**\n - **skf-opened** - Fired when the menu is opened\n- **skf-closed** - Fired when the menu is closed\n\n### **Slots:**\n - _default_ - The menu
|
2006
|
+
"description": "The `<skf-menu>` is a component that displays a list of actions or options\n\nSee [zeroheight](https://zeroheight.com/853e936c9/p/983e5d-popover) for design principles\n---\n\n\n### **Events:**\n - **skf-opened** - Fired when the menu is opened\n- **skf-closed** - Fired when the menu is closed\n\n### **Slots:**\n - _default_ - The menu content",
|
1853
2007
|
"doc-url": "",
|
1854
2008
|
"attributes": [
|
1855
2009
|
{
|
@@ -1866,7 +2020,7 @@
|
|
1866
2020
|
"value": { "type": "string" }
|
1867
2021
|
}
|
1868
2022
|
],
|
1869
|
-
"slots": [{ "name": "", "description": "The menu
|
2023
|
+
"slots": [{ "name": "", "description": "The menu content" }],
|
1870
2024
|
"events": [
|
1871
2025
|
{
|
1872
2026
|
"name": "skf-opened",
|
@@ -1880,7 +2034,18 @@
|
|
1880
2034
|
}
|
1881
2035
|
],
|
1882
2036
|
"js": {
|
1883
|
-
"properties": [
|
2037
|
+
"properties": [
|
2038
|
+
{
|
2039
|
+
"name": "open()",
|
2040
|
+
"description": "Method that opens the menu",
|
2041
|
+
"type": "(void) => void"
|
2042
|
+
},
|
2043
|
+
{
|
2044
|
+
"name": "close()",
|
2045
|
+
"description": "Method that closes the menu",
|
2046
|
+
"type": "(void) => void"
|
2047
|
+
}
|
2048
|
+
],
|
1884
2049
|
"events": [
|
1885
2050
|
{
|
1886
2051
|
"name": "skf-opened",
|
@@ -1895,32 +2060,9 @@
|
|
1895
2060
|
]
|
1896
2061
|
}
|
1897
2062
|
},
|
1898
|
-
{
|
1899
|
-
"name": "skf-nav-item",
|
1900
|
-
"description": "The `<skf-nav>` is a component that displays a list of <nav-items>.\n---\n\n\n### **Slots:**\n - _default_ - The component's main content",
|
1901
|
-
"doc-url": "",
|
1902
|
-
"attributes": [
|
1903
|
-
{ "name": "href", "value": { "type": "string", "default": "'#'" } },
|
1904
|
-
{
|
1905
|
-
"name": "icon",
|
1906
|
-
"value": { "type": "SkfLink['icon'] | undefined" }
|
1907
|
-
}
|
1908
|
-
],
|
1909
|
-
"slots": [
|
1910
|
-
{ "name": "", "description": "The component's main content" }
|
1911
|
-
],
|
1912
|
-
"events": [],
|
1913
|
-
"js": {
|
1914
|
-
"properties": [
|
1915
|
-
{ "name": "href", "type": "string" },
|
1916
|
-
{ "name": "icon", "type": "SkfLink['icon'] | undefined" }
|
1917
|
-
],
|
1918
|
-
"events": []
|
1919
|
-
}
|
1920
|
-
},
|
1921
2063
|
{
|
1922
2064
|
"name": "skf-popover",
|
1923
|
-
"description": "The `<skf-popover>` is a general purpose component that displays the slot content in a popover.\n\nSee [zeroheight](https://zeroheight.com/853e936c9/p/983e5d-popover) for design principles\n---\n\n\n### **Events:**\n - **skf-opened** - Fired when the
|
2065
|
+
"description": "The `<skf-popover>` is a general purpose component that displays the slot content in a popover.\n\nSee [zeroheight](https://zeroheight.com/853e936c9/p/983e5d-popover) for design principles\n---\n\n\n### **Events:**\n - **skf-opened** - Fired when the popover is opened\n- **skf-closed** - Fired when the popover is closed\n\n### **Slots:**\n - _default_ - The popover content",
|
1924
2066
|
"doc-url": "",
|
1925
2067
|
"attributes": [
|
1926
2068
|
{
|
@@ -1933,7 +2075,7 @@
|
|
1933
2075
|
},
|
1934
2076
|
{
|
1935
2077
|
"name": "anchor",
|
1936
|
-
"description": "The id of the element the
|
2078
|
+
"description": "The id of the element the popover will be anchored to",
|
1937
2079
|
"value": { "type": "string" }
|
1938
2080
|
},
|
1939
2081
|
{
|
@@ -1952,12 +2094,12 @@
|
|
1952
2094
|
{
|
1953
2095
|
"name": "skf-opened",
|
1954
2096
|
"type": "CustomEvent",
|
1955
|
-
"description": "Fired when the
|
2097
|
+
"description": "Fired when the popover is opened"
|
1956
2098
|
},
|
1957
2099
|
{
|
1958
2100
|
"name": "skf-closed",
|
1959
2101
|
"type": "CustomEvent",
|
1960
|
-
"description": "Fired when the
|
2102
|
+
"description": "Fired when the popover is closed"
|
1961
2103
|
}
|
1962
2104
|
],
|
1963
2105
|
"js": {
|
@@ -1971,18 +2113,28 @@
|
|
1971
2113
|
"name": "hideArrow",
|
1972
2114
|
"description": "If true, hides the arrow",
|
1973
2115
|
"type": "boolean"
|
2116
|
+
},
|
2117
|
+
{
|
2118
|
+
"name": "open()",
|
2119
|
+
"description": "Method that opens the popover",
|
2120
|
+
"type": "(void) => void"
|
2121
|
+
},
|
2122
|
+
{
|
2123
|
+
"name": "close()",
|
2124
|
+
"description": "Method that closes the popover",
|
2125
|
+
"type": "(void) => void"
|
1974
2126
|
}
|
1975
2127
|
],
|
1976
2128
|
"events": [
|
1977
2129
|
{
|
1978
2130
|
"name": "skf-opened",
|
1979
2131
|
"type": "CustomEvent",
|
1980
|
-
"description": "Fired when the
|
2132
|
+
"description": "Fired when the popover is opened"
|
1981
2133
|
},
|
1982
2134
|
{
|
1983
2135
|
"name": "skf-closed",
|
1984
2136
|
"type": "CustomEvent",
|
1985
|
-
"description": "Fired when the
|
2137
|
+
"description": "Fired when the popover is closed"
|
1986
2138
|
}
|
1987
2139
|
]
|
1988
2140
|
}
|
@@ -2066,13 +2218,13 @@
|
|
2066
2218
|
"value": { "type": "string | undefined" }
|
2067
2219
|
},
|
2068
2220
|
{
|
2069
|
-
"name": "
|
2070
|
-
"description": "
|
2071
|
-
"value": { "type": "
|
2221
|
+
"name": "lang",
|
2222
|
+
"description": "Sets the internal language of the component",
|
2223
|
+
"value": { "type": "Language", "default": "'en'" }
|
2072
2224
|
},
|
2073
2225
|
{
|
2074
|
-
"name": "
|
2075
|
-
"description": "If defined,
|
2226
|
+
"name": "name",
|
2227
|
+
"description": "If defined, adds name to the input-element",
|
2076
2228
|
"value": { "type": "string | undefined" }
|
2077
2229
|
},
|
2078
2230
|
{
|
@@ -2132,13 +2284,13 @@
|
|
2132
2284
|
"type": "string | undefined"
|
2133
2285
|
},
|
2134
2286
|
{
|
2135
|
-
"name": "
|
2136
|
-
"description": "
|
2137
|
-
"type": "
|
2287
|
+
"name": "lang",
|
2288
|
+
"description": "Sets the internal language of the component",
|
2289
|
+
"type": "Language"
|
2138
2290
|
},
|
2139
2291
|
{
|
2140
|
-
"name": "
|
2141
|
-
"description": "If defined,
|
2292
|
+
"name": "name",
|
2293
|
+
"description": "If defined, adds name to the input-element",
|
2142
2294
|
"type": "string | undefined"
|
2143
2295
|
},
|
2144
2296
|
{
|
@@ -2271,7 +2423,10 @@
|
|
2271
2423
|
],
|
2272
2424
|
"events": [],
|
2273
2425
|
"js": {
|
2274
|
-
"properties": [
|
2426
|
+
"properties": [
|
2427
|
+
{ "name": "label", "type": "string" },
|
2428
|
+
{ "name": "small", "type": "boolean" }
|
2429
|
+
],
|
2275
2430
|
"events": []
|
2276
2431
|
}
|
2277
2432
|
},
|
@@ -2283,7 +2438,7 @@
|
|
2283
2438
|
{
|
2284
2439
|
"name": "size",
|
2285
2440
|
"description": "Specifies Tag size",
|
2286
|
-
"value": { "type": "
|
2441
|
+
"value": { "type": "Size", "default": "'md'" }
|
2287
2442
|
},
|
2288
2443
|
{
|
2289
2444
|
"name": "icon",
|
@@ -2295,6 +2450,11 @@
|
|
2295
2450
|
"description": "If defined, gives the supplied appearance",
|
2296
2451
|
"value": { "type": "Severity | undefined" }
|
2297
2452
|
},
|
2453
|
+
{
|
2454
|
+
"name": "lang",
|
2455
|
+
"description": "Sets the internal language of the component",
|
2456
|
+
"value": { "type": "Language", "default": "'en'" }
|
2457
|
+
},
|
2298
2458
|
{
|
2299
2459
|
"name": "removable",
|
2300
2460
|
"description": "If true, adds trailing button to remove tag",
|
@@ -2310,7 +2470,7 @@
|
|
2310
2470
|
{
|
2311
2471
|
"name": "size",
|
2312
2472
|
"description": "Specifies Tag size",
|
2313
|
-
"type": "
|
2473
|
+
"type": "Size"
|
2314
2474
|
},
|
2315
2475
|
{
|
2316
2476
|
"name": "icon",
|
@@ -2322,6 +2482,11 @@
|
|
2322
2482
|
"description": "If defined, gives the supplied appearance",
|
2323
2483
|
"type": "Severity | undefined"
|
2324
2484
|
},
|
2485
|
+
{
|
2486
|
+
"name": "lang",
|
2487
|
+
"description": "Sets the internal language of the component",
|
2488
|
+
"type": "Language"
|
2489
|
+
},
|
2325
2490
|
{
|
2326
2491
|
"name": "onClick",
|
2327
2492
|
"description": "If defined, accepts a function that runs on click"
|
@@ -2341,7 +2506,7 @@
|
|
2341
2506
|
},
|
2342
2507
|
{
|
2343
2508
|
"name": "skf-select",
|
2344
|
-
"description": "The `<skf-select>` is a component that displays a list of actions or options. A click in the options list toggle the selected state of the option. Use it together with the ´skf-select-option` tag.\n\nSee [zeroheight](https://zeroheight.com/853e936c9/p/91c9f0-select-and-combobox) for design principles\n---\n\n\n### **Events:**\n - **change** - Fired when the selected option(s) changes\n- **invalid** - Fired when the select is invalid\n- **reset** - Fired when the form is reset\n- **skf-select-dropdown** - {detail: {expanded: boolean}} Fired when the select dropdown is toggled\n- **skf-select-option-select** - {detail: {value: string | null, option: SkfSelectOption}} Fired when the select dropdown is toggled\n\n### **Slots:**\n - _default_ - The select's placeholder content",
|
2509
|
+
"description": "The `<skf-select>` is a component that displays a list of actions or options. A click in the options list toggle the selected state of the option. Use it together with the ´skf-select-option` tag.\n\nSee [zeroheight](https://zeroheight.com/853e936c9/p/91c9f0-select-and-combobox) for design principles\n---\n\n\n### **Events:**\n - **change** - Fired when the selected option(s) changes\n- **invalid** - Fired when the select is invalid\n- **reset** - Fired when the form is reset\n- **skf-select-dropdown** - {detail: {expanded: boolean}} Fired when the select dropdown is toggled\n- **skf-select-option-select** - {detail: {value: string | null, option: SkfSelectOption}} Fired when the select dropdown is toggled\n- **skf-select-connected** - Fires when the select options are connected, useful for setting selected option(s) via value property. E.g mySkfSelect.value = 'option1,option2';\n\n### **Slots:**\n - _default_ - The select's placeholder content",
|
2345
2510
|
"doc-url": "",
|
2346
2511
|
"attributes": [
|
2347
2512
|
{
|
@@ -2357,7 +2522,7 @@
|
|
2357
2522
|
{
|
2358
2523
|
"name": "button-label",
|
2359
2524
|
"description": "Sets the first visible text on the component",
|
2360
|
-
"value": { "type": "string"
|
2525
|
+
"value": { "type": "string" }
|
2361
2526
|
},
|
2362
2527
|
{
|
2363
2528
|
"name": "custom-invalid",
|
@@ -2384,6 +2549,11 @@
|
|
2384
2549
|
"description": "If defined, displays provided label",
|
2385
2550
|
"value": { "type": "string | undefined" }
|
2386
2551
|
},
|
2552
|
+
{
|
2553
|
+
"name": "lang",
|
2554
|
+
"description": "Sets the internal language of the component",
|
2555
|
+
"value": { "type": "Language", "default": "'en'" }
|
2556
|
+
},
|
2387
2557
|
{
|
2388
2558
|
"name": "max",
|
2389
2559
|
"description": "If defined, limits the number of selectable options",
|
@@ -2404,11 +2574,6 @@
|
|
2404
2574
|
"description": "If defined, set name of the component",
|
2405
2575
|
"value": { "type": "string | undefined" }
|
2406
2576
|
},
|
2407
|
-
{
|
2408
|
-
"name": "required-label",
|
2409
|
-
"description": "If defined, renders an alternative A11y text for the asterisk",
|
2410
|
-
"value": { "type": "string | undefined" }
|
2411
|
-
},
|
2412
2577
|
{
|
2413
2578
|
"name": "severity",
|
2414
2579
|
"description": "If defined, displays provided severity state",
|
@@ -2453,14 +2618,18 @@
|
|
2453
2618
|
"name": "skf-select-option-select",
|
2454
2619
|
"type": "CustomEvent",
|
2455
2620
|
"description": "{detail: {value: string | null, option: SkfSelectOption}} Fired when the select dropdown is toggled"
|
2621
|
+
},
|
2622
|
+
{
|
2623
|
+
"name": "skf-select-connected",
|
2624
|
+
"type": "CustomEvent",
|
2625
|
+
"description": "Fires when the select options are connected, useful for setting selected option(s) via value property. E.g mySkfSelect.value = 'option1,option2';"
|
2456
2626
|
}
|
2457
2627
|
],
|
2458
2628
|
"js": {
|
2459
2629
|
"properties": [
|
2460
2630
|
{
|
2461
2631
|
"name": "buttonLabel",
|
2462
|
-
"description": "Sets the first visible text on the component"
|
2463
|
-
"type": "string"
|
2632
|
+
"description": "Sets the first visible text on the component"
|
2464
2633
|
},
|
2465
2634
|
{
|
2466
2635
|
"name": "customInvalid",
|
@@ -2495,6 +2664,11 @@
|
|
2495
2664
|
"description": "If defined, displays provided label",
|
2496
2665
|
"type": "string | undefined"
|
2497
2666
|
},
|
2667
|
+
{
|
2668
|
+
"name": "lang",
|
2669
|
+
"description": "Sets the internal language of the component",
|
2670
|
+
"type": "Language"
|
2671
|
+
},
|
2498
2672
|
{
|
2499
2673
|
"name": "max",
|
2500
2674
|
"description": "If defined, limits the number of selectable options",
|
@@ -2515,11 +2689,6 @@
|
|
2515
2689
|
"description": "If defined, set name of the component",
|
2516
2690
|
"type": "string | undefined"
|
2517
2691
|
},
|
2518
|
-
{
|
2519
|
-
"name": "requiredLabel",
|
2520
|
-
"description": "If defined, renders an alternative A11y text for the asterisk",
|
2521
|
-
"type": "string | undefined"
|
2522
|
-
},
|
2523
2692
|
{
|
2524
2693
|
"name": "severity",
|
2525
2694
|
"description": "If defined, displays provided severity state",
|
@@ -2537,7 +2706,7 @@
|
|
2537
2706
|
},
|
2538
2707
|
{
|
2539
2708
|
"name": "value",
|
2540
|
-
"description": "
|
2709
|
+
"description": "Returns the selected value. (if multiple: in a comma separated string). If set will default set corresponding option."
|
2541
2710
|
},
|
2542
2711
|
{ "name": "_selectedOptions", "type": "array" }
|
2543
2712
|
],
|
@@ -2566,13 +2735,18 @@
|
|
2566
2735
|
"name": "skf-select-option-select",
|
2567
2736
|
"type": "CustomEvent",
|
2568
2737
|
"description": "{detail: {value: string | null, option: SkfSelectOption}} Fired when the select dropdown is toggled"
|
2738
|
+
},
|
2739
|
+
{
|
2740
|
+
"name": "skf-select-connected",
|
2741
|
+
"type": "CustomEvent",
|
2742
|
+
"description": "Fires when the select options are connected, useful for setting selected option(s) via value property. E.g mySkfSelect.value = 'option1,option2';"
|
2569
2743
|
}
|
2570
2744
|
]
|
2571
2745
|
}
|
2572
2746
|
},
|
2573
2747
|
{
|
2574
2748
|
"name": "skf-select-option",
|
2575
|
-
"description": "The `<skf-select-option>` is a component is used nested in a skf-select or skf-select-option-group.\n---\n\n\n### **Events:**\n - **skf-select-option-select** - {detail: { value: string | null, option: SkfSelectOption }} Fires when the option is selected/deselected.\n\n### **Slots:**\n - _default_ - The option's text content\n- **icon** - The option's slot for icon or custom meta information (svg).",
|
2749
|
+
"description": "The `<skf-select-option>` is a component is used nested in a skf-select or skf-select-option-group.\nIt represents an individual option in a select dropdown.\n---\n\n\n### **Events:**\n - **skf-select-option-select** - {detail: { value: string | null, option: SkfSelectOption }} Fires when the option is selected/deselected.\n\n### **Slots:**\n - _default_ - The option's text content\n- **icon** - The option's slot for icon or custom meta information (svg).",
|
2576
2750
|
"doc-url": "",
|
2577
2751
|
"attributes": [
|
2578
2752
|
{
|
@@ -2602,7 +2776,7 @@
|
|
2602
2776
|
},
|
2603
2777
|
{
|
2604
2778
|
"name": "value",
|
2605
|
-
"description": "Returns or sets the
|
2779
|
+
"description": "Returns or sets the option value. If value is omitted, defaults to the tags slotted text.",
|
2606
2780
|
"value": { "type": "string" }
|
2607
2781
|
}
|
2608
2782
|
],
|
@@ -2652,10 +2826,9 @@
|
|
2652
2826
|
},
|
2653
2827
|
{
|
2654
2828
|
"name": "value",
|
2655
|
-
"description": "Returns or sets the
|
2829
|
+
"description": "Returns or sets the option value. If value is omitted, defaults to the tags slotted text."
|
2656
2830
|
},
|
2657
|
-
{ "name": "
|
2658
|
-
{ "name": "_parent" },
|
2831
|
+
{ "name": "small", "type": "boolean" },
|
2659
2832
|
{ "name": "_shortcutUpdate", "type": "boolean" }
|
2660
2833
|
],
|
2661
2834
|
"events": [
|
@@ -2703,8 +2876,7 @@
|
|
2703
2876
|
"description": "If true, item marked as completed",
|
2704
2877
|
"type": "boolean"
|
2705
2878
|
},
|
2706
|
-
{ "name": "_setInternalState" }
|
2707
|
-
{ "name": "role", "type": "string" }
|
2879
|
+
{ "name": "_setInternalState" }
|
2708
2880
|
],
|
2709
2881
|
"events": [
|
2710
2882
|
{
|
@@ -2798,13 +2970,13 @@
|
|
2798
2970
|
"value": { "type": "string | undefined" }
|
2799
2971
|
},
|
2800
2972
|
{
|
2801
|
-
"name": "
|
2802
|
-
"description": "
|
2803
|
-
"value": { "type": "
|
2973
|
+
"name": "lang",
|
2974
|
+
"description": "Sets the internal language of the component",
|
2975
|
+
"value": { "type": "Language", "default": "'en'" }
|
2804
2976
|
},
|
2805
2977
|
{
|
2806
|
-
"name": "
|
2807
|
-
"description": "If defined,
|
2978
|
+
"name": "name",
|
2979
|
+
"description": "If defined, adds name to the input-element",
|
2808
2980
|
"value": { "type": "string | undefined" }
|
2809
2981
|
},
|
2810
2982
|
{
|
@@ -2848,13 +3020,13 @@
|
|
2848
3020
|
"type": "string | undefined"
|
2849
3021
|
},
|
2850
3022
|
{
|
2851
|
-
"name": "
|
2852
|
-
"description": "
|
2853
|
-
"type": "
|
3023
|
+
"name": "lang",
|
3024
|
+
"description": "Sets the internal language of the component",
|
3025
|
+
"type": "Language"
|
2854
3026
|
},
|
2855
3027
|
{
|
2856
|
-
"name": "
|
2857
|
-
"description": "If defined,
|
3028
|
+
"name": "name",
|
3029
|
+
"description": "If defined, adds name to the input-element",
|
2858
3030
|
"type": "string | undefined"
|
2859
3031
|
},
|
2860
3032
|
{
|
@@ -2891,15 +3063,14 @@
|
|
2891
3063
|
"description": "The tab panel's name.",
|
2892
3064
|
"type": "string"
|
2893
3065
|
},
|
2894
|
-
{ "name": "active", "type": "boolean" }
|
2895
|
-
{ "name": "role", "type": "string" }
|
3066
|
+
{ "name": "active", "type": "boolean" }
|
2896
3067
|
],
|
2897
3068
|
"events": []
|
2898
3069
|
}
|
2899
3070
|
},
|
2900
3071
|
{
|
2901
|
-
"name": "skf-
|
2902
|
-
"description": "The `<skf-
|
3072
|
+
"name": "skf-tabs",
|
3073
|
+
"description": "The `<skf-tabs>` is a component that displays a list of actions or options\n---\n\n\n### **Slots:**\n - _default_ - Used for grouping tab panels in the tab group. Must be <skf-tab-panel> elements\n- **tabs** - Used for grouping tabs in the tab group. Must be <skf-tab> elements",
|
2903
3074
|
"doc-url": "",
|
2904
3075
|
"attributes": [
|
2905
3076
|
{
|
@@ -3004,8 +3175,7 @@
|
|
3004
3175
|
"type": "string"
|
3005
3176
|
},
|
3006
3177
|
{ "name": "selected", "type": "boolean" },
|
3007
|
-
{ "name": "variant", "type": "
|
3008
|
-
{ "name": "role", "type": "string" }
|
3178
|
+
{ "name": "variant", "type": "SkfTabs['variant']" }
|
3009
3179
|
],
|
3010
3180
|
"events": [
|
3011
3181
|
{
|
@@ -3065,6 +3235,11 @@
|
|
3065
3235
|
"description": "If defined, sets the input's label unless the default slot is used. Alternatively, you can use the `label` attribute.",
|
3066
3236
|
"value": { "type": "string | undefined" }
|
3067
3237
|
},
|
3238
|
+
{
|
3239
|
+
"name": "lang",
|
3240
|
+
"description": "Sets the internal language of the component",
|
3241
|
+
"value": { "type": "Language", "default": "'en'" }
|
3242
|
+
},
|
3068
3243
|
{
|
3069
3244
|
"name": "name",
|
3070
3245
|
"description": "If defined, adds name to the input-element",
|
@@ -3090,11 +3265,6 @@
|
|
3090
3265
|
"description": "If true, makes the element not mutable, meaning the user can not edit the control",
|
3091
3266
|
"value": { "type": "boolean", "default": "false" }
|
3092
3267
|
},
|
3093
|
-
{
|
3094
|
-
"name": "required-label",
|
3095
|
-
"description": "If defined, renders an alternative A11y text for the asterisk",
|
3096
|
-
"value": { "type": "string | undefined" }
|
3097
|
-
},
|
3098
3268
|
{
|
3099
3269
|
"name": "rows",
|
3100
3270
|
"description": "If defined, sets the rows of the textarea",
|
@@ -3176,6 +3346,11 @@
|
|
3176
3346
|
"description": "If defined, sets the input's label unless the default slot is used. Alternatively, you can use the `label` attribute.",
|
3177
3347
|
"type": "string | undefined"
|
3178
3348
|
},
|
3349
|
+
{
|
3350
|
+
"name": "lang",
|
3351
|
+
"description": "Sets the internal language of the component",
|
3352
|
+
"type": "Language"
|
3353
|
+
},
|
3179
3354
|
{
|
3180
3355
|
"name": "name",
|
3181
3356
|
"description": "If defined, adds name to the input-element",
|
@@ -3201,11 +3376,6 @@
|
|
3201
3376
|
"description": "If true, makes the element not mutable, meaning the user can not edit the control",
|
3202
3377
|
"type": "boolean"
|
3203
3378
|
},
|
3204
|
-
{
|
3205
|
-
"name": "requiredLabel",
|
3206
|
-
"description": "If defined, renders an alternative A11y text for the asterisk",
|
3207
|
-
"type": "string | undefined"
|
3208
|
-
},
|
3209
3379
|
{
|
3210
3380
|
"name": "rows",
|
3211
3381
|
"description": "If defined, sets the rows of the textarea",
|
@@ -3344,7 +3514,7 @@
|
|
3344
3514
|
},
|
3345
3515
|
{
|
3346
3516
|
"name": "skf-tooltip",
|
3347
|
-
"description": "The `<skf-tooltip>` is a component that displays a tooltip.\n---\n\n\n### **Events:**\n - **skf-opened** - Fired when the
|
3517
|
+
"description": "The `<skf-tooltip>` is a component that displays a tooltip.\n---\n\n\n### **Events:**\n - **skf-opened** - Fired when the tooltip is opened\n- **skf-closed** - Fired when the tooltip is closed\n\n### **Slots:**\n - _default_ - The tooltip popover content",
|
3348
3518
|
"doc-url": "",
|
3349
3519
|
"attributes": [
|
3350
3520
|
{
|
@@ -3367,28 +3537,41 @@
|
|
3367
3537
|
"events": [
|
3368
3538
|
{
|
3369
3539
|
"name": "skf-opened",
|
3370
|
-
"
|
3540
|
+
"type": "CustomEvent",
|
3541
|
+
"description": "Fired when the tooltip is opened"
|
3371
3542
|
},
|
3372
3543
|
{
|
3373
3544
|
"name": "skf-closed",
|
3374
|
-
"
|
3545
|
+
"type": "CustomEvent",
|
3546
|
+
"description": "Fired when the tooltip is closed"
|
3375
3547
|
}
|
3376
3548
|
],
|
3377
3549
|
"js": {
|
3378
3550
|
"properties": [
|
3379
|
-
{ "name": "role", "type": "string" },
|
3380
3551
|
{ "name": "offset", "type": "number" },
|
3381
3552
|
{ "name": "placement", "type": "string" },
|
3382
|
-
{ "name": "variant", "type": "string" }
|
3553
|
+
{ "name": "variant", "type": "string" },
|
3554
|
+
{
|
3555
|
+
"name": "open()",
|
3556
|
+
"description": "Method that opens the tooltip",
|
3557
|
+
"type": "(void) => void"
|
3558
|
+
},
|
3559
|
+
{
|
3560
|
+
"name": "close()",
|
3561
|
+
"description": "Method that closes the tooltip",
|
3562
|
+
"type": "(void) => void"
|
3563
|
+
}
|
3383
3564
|
],
|
3384
3565
|
"events": [
|
3385
3566
|
{
|
3386
3567
|
"name": "skf-opened",
|
3387
|
-
"
|
3568
|
+
"type": "CustomEvent",
|
3569
|
+
"description": "Fired when the tooltip is opened"
|
3388
3570
|
},
|
3389
3571
|
{
|
3390
3572
|
"name": "skf-closed",
|
3391
|
-
"
|
3573
|
+
"type": "CustomEvent",
|
3574
|
+
"description": "Fired when the tooltip is closed"
|
3392
3575
|
}
|
3393
3576
|
]
|
3394
3577
|
}
|