@skf-design-system/ui-components 1.0.2-beta.0 → 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 +37 -9
- package/dist/components/accordion/accordion-item.component.d.ts +36 -0
- package/dist/components/accordion/accordion-item.component.js +98 -0
- package/dist/components/accordion/accordion-item.d.ts +3 -3
- package/dist/components/accordion/accordion-item.js +4 -5
- package/dist/components/accordion/accordion-item.styles.js +77 -0
- package/dist/components/accordion/accordion.component.d.ts +6 -10
- package/dist/components/accordion/accordion.component.js +9 -10
- package/dist/components/accordion/accordion.d.ts +0 -1
- package/dist/components/accordion/accordion.js +0 -2
- package/dist/components/alert/alert.component.d.ts +12 -10
- package/dist/components/alert/alert.component.js +59 -51
- package/dist/components/alert/alert.styles.js +50 -51
- package/dist/components/breadcrumb/breadcrumb-item.component.js +59 -0
- package/dist/components/{breadcrumb-item → breadcrumb}/breadcrumb-item.d.ts +2 -2
- package/dist/components/breadcrumb/breadcrumb-item.js +6 -0
- package/dist/components/breadcrumb/breadcrumb-item.styles.js +63 -0
- package/dist/components/breadcrumb/breadcrumb.component.d.ts +6 -3
- package/dist/components/breadcrumb/breadcrumb.component.js +65 -0
- package/dist/components/breadcrumb/breadcrumb.d.ts +2 -2
- package/dist/components/breadcrumb/breadcrumb.js +6 -0
- package/dist/components/breadcrumb/breadcrumb.styles.js +25 -0
- package/dist/components/button/button.component.d.ts +13 -10
- package/dist/components/button/button.component.js +69 -66
- package/dist/components/button/button.styles.d.ts +1 -2
- package/dist/components/button/button.styles.js +6 -5
- package/dist/components/card/card.component.d.ts +6 -1
- 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 +14 -11
- package/dist/components/checkbox/checkbox.component.js +67 -69
- package/dist/components/checkbox/checkbox.styles.d.ts +1 -2
- package/dist/components/checkbox/checkbox.styles.js +2 -6
- 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} +22 -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 +8 -6
- package/dist/components/dialog/dialog.component.js +67 -67
- package/dist/components/dialog/dialog.d.ts +2 -2
- package/dist/components/dialog/dialog.styles.js +4 -4
- 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 +24 -12
- package/dist/components/drawer/drawer.component.js +87 -63
- 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 +7 -4
- package/dist/components/header/header.component.js +68 -55
- 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 +8 -6
- package/dist/components/heading/heading.component.js +52 -24
- package/dist/components/heading/heading.styles.js +34 -36
- package/dist/components/icon/icon.component.d.ts +15 -17
- package/dist/components/icon/icon.component.js +62 -43
- package/dist/components/icon/icon.styles.d.ts +1 -2
- package/dist/components/icon/icon.styles.js +60 -60
- package/dist/components/input/input.component.d.ts +34 -39
- package/dist/components/input/input.component.js +159 -153
- 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 +20 -25
- package/dist/components/link/link.component.js +104 -107
- package/dist/components/link/link.styles.d.ts +1 -2
- package/dist/components/link/link.styles.js +54 -46
- package/dist/components/loader/loader.component.d.ts +6 -4
- package/dist/components/loader/loader.component.js +49 -42
- package/dist/components/loader/loader.styles.d.ts +1 -2
- package/dist/components/loader/loader.styles.js +34 -30
- package/dist/components/logo/logo.component.d.ts +8 -6
- 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 +13 -0
- package/dist/components/menu/menu-item.component.js +13 -0
- package/dist/components/{menu-item → menu}/menu-item.d.ts +2 -2
- package/dist/components/menu/menu-item.styles.js +23 -0
- package/dist/components/menu/menu.component.d.ts +14 -8
- package/dist/components/menu/menu.component.js +10 -12
- package/dist/components/menu/menu.d.ts +2 -2
- package/dist/components/{nav-item → nav}/nav-item.component.d.ts +6 -4
- package/dist/components/nav/nav-item.component.js +57 -0
- package/dist/components/nav/nav-item.styles.js +43 -0
- 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 +17 -6
- package/dist/components/popover/popover.component.js +22 -16
- package/dist/components/popover/popover.d.ts +2 -2
- package/dist/components/progress/progress.component.d.ts +4 -2
- package/dist/components/progress/progress.component.js +38 -35
- package/dist/components/progress/progress.d.ts +2 -2
- package/dist/components/progress/progress.styles.js +42 -35
- package/dist/components/radio/radio.component.d.ts +13 -9
- package/dist/components/radio/radio.component.js +96 -91
- package/dist/components/radio/radio.styles.js +1 -1
- package/dist/components/{segmented-button-item → segmented-button}/segmented-button-item.component.d.ts +4 -4
- package/dist/components/segmented-button/segmented-button-item.component.js +56 -0
- package/dist/components/{segmented-button-item → segmented-button}/segmented-button-item.d.ts +2 -2
- package/dist/components/segmented-button/segmented-button-item.js +6 -0
- package/dist/components/segmented-button/segmented-button-item.styles.js +62 -0
- package/dist/components/segmented-button/segmented-button.component.d.ts +0 -2
- package/dist/components/segmented-button/segmented-button.component.js +71 -0
- package/dist/components/segmented-button/segmented-button.d.ts +2 -2
- package/dist/components/segmented-button/segmented-button.js +6 -0
- package/dist/components/segmented-button/segmented-button.styles.js +16 -0
- package/dist/components/{select-option-group → select}/select-option-group.component.d.ts +4 -0
- package/dist/components/select/select-option-group.component.js +50 -0
- package/dist/components/{select-option-group → select}/select-option-group.d.ts +2 -2
- package/dist/components/select/select-option-group.style.js +24 -0
- package/dist/components/{select-option → select}/select-option.component.d.ts +16 -12
- package/dist/components/select/select-option.component.js +135 -0
- package/dist/components/select/select-option.styles.js +65 -0
- package/dist/components/select/select.component.d.ts +35 -25
- package/dist/components/select/select.component.js +126 -88
- package/dist/components/select/select.controllers.d.ts +1 -1
- package/dist/components/select/select.controllers.js +16 -18
- package/dist/components/select/select.styles.js +8 -2
- package/dist/components/select/stories/select.stories.icons.d.ts +7 -0
- package/dist/components/{stepper-item → stepper}/stepper-item.component.d.ts +1 -1
- package/dist/components/stepper/stepper-item.component.js +116 -0
- package/dist/components/{stepper-item → stepper}/stepper-item.d.ts +2 -2
- package/dist/components/{stepper-item → stepper}/stepper-item.styles.js +4 -4
- package/dist/components/stepper/stepper.component.d.ts +2 -2
- package/dist/components/stepper/stepper.component.js +17 -18
- package/dist/components/stepper/stepper.d.ts +2 -2
- package/dist/components/stepper/stepper.helpers.d.ts +1 -1
- 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 +18 -15
- 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} +36 -37
- 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 +20 -16
- package/dist/components/tag/tag.component.js +74 -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 +14 -13
- package/dist/components/textarea/textarea.component.js +77 -72
- package/dist/components/{toast-item → toast}/toast-item.d.ts +2 -0
- package/dist/components/{toast-item → toast}/toast-item.js +4 -0
- package/dist/components/toast/toast-item.styles.js +21 -0
- package/dist/components/{toast-wrapper → toast}/toast-wrapper.component.js +1 -1
- package/dist/components/toast/toast-wrapper.styles.d.ts +1 -0
- package/dist/components/toast/toast.component.d.ts +5 -4
- package/dist/components/toast/toast.component.js +16 -16
- package/dist/components/toast/toast.singleton.d.ts +5 -5
- package/dist/components/toast/toast.singleton.js +28 -29
- package/dist/components/tooltip/tooltip.component.d.ts +11 -3
- package/dist/components/tooltip/tooltip.component.js +18 -9
- package/dist/components/tooltip/tooltip.d.ts +2 -2
- package/dist/custom-elements.json +2202 -1720
- package/dist/index.d.ts +19 -12
- package/dist/index.js +108 -89
- package/dist/internal/base-classes/popover/popover.base.d.ts +30 -6
- package/dist/internal/base-classes/popover/popover.base.js +83 -69
- 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 +6 -2
- package/dist/internal/components/hint/hint.component.js +47 -20
- package/dist/internal/components/hint/hint.styles.d.ts +1 -2
- package/dist/internal/components/hint/hint.styles.js +30 -26
- package/dist/internal/components/skf-element.d.ts +1 -3
- package/dist/internal/components/skf-element.js +4 -9
- package/dist/internal/constants/iconSeverity.d.ts +3 -2
- package/dist/internal/constants/iconSeverity.js +2 -3
- package/dist/internal/controllers/popover.controller.d.ts +2 -0
- package/dist/internal/controllers/popover.controller.js +11 -14
- package/dist/internal/helpers/hintSeverity.d.ts +2 -2
- package/dist/internal/helpers/hintSeverity.js +1 -1
- 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/formField.d.ts +1 -1
- package/dist/internal/types.d.ts +22 -0
- package/dist/styles/component.styles.d.ts +1 -2
- package/dist/styles/component.styles.js +38 -37
- 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 +2031 -927
- package/dist/types/vue/index.d.ts +357 -324
- package/dist/utilities/localize.d.ts +28 -0
- package/dist/utilities/localize.js +13 -0
- package/dist/vscode.html-custom-data.json +360 -1241
- package/dist/web-types.json +932 -805
- package/package.json +38 -52
- package/dist/components/accordion/accordion.test.d.ts +0 -1
- package/dist/components/checkbox/checkbox.test.d.ts +0 -1
- package/dist/components/collapse/collapse.component.d.ts +0 -40
- package/dist/components/collapse/collapse.component.js +0 -86
- package/dist/components/collapse/collapse.d.ts +0 -8
- package/dist/components/collapse/collapse.js +0 -6
- package/dist/components/collapse/collapse.styles.d.ts +0 -2
- package/dist/components/collapse/collapse.styles.js +0 -77
- package/dist/components/collapse/collapse.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 -441
- 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/menu-item/menu-item.component.d.ts +0 -25
- package/dist/components/menu-item/menu-item.component.js +0 -13
- package/dist/components/menu-item/menu-item.styles.js +0 -19
- package/dist/components/nav-item/nav-item.component.js +0 -38
- package/dist/components/nav-item/nav-item.styles.js +0 -39
- package/dist/components/radio/radio.test.d.ts +0 -1
- package/dist/components/select-option/select-option.component.js +0 -123
- package/dist/components/select-option/select-option.styles.js +0 -53
- package/dist/components/select-option-group/select-option-group.component.js +0 -31
- package/dist/components/select-option-group/select-option-group.style.js +0 -18
- package/dist/components/stepper-item/stepper-item.component.js +0 -113
- 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/components/toast-item/toast-item.styles.js +0 -18
- package/dist/internal/constants/heading.d.ts +0 -2
- package/dist/internal/playwright/index.d.ts +0 -1
- /package/dist/components/{breadcrumb-item/breadcrumb-item.styles.d.ts → accordion/accordion-item.styles.d.ts} +0 -0
- /package/dist/components/{breadcrumb-item → breadcrumb}/breadcrumb-item.component.d.ts +0 -0
- /package/dist/components/{date-picker/datepicker.calendar.styles.d.ts → breadcrumb/breadcrumb-item.styles.d.ts} +0 -0
- /package/dist/components/{date-picker/datepicker.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/{menu-item/menu-item.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/{menu-item → menu}/menu-item.js +0 -0
- /package/dist/components/{nav-item/nav-item.styles.d.ts → menu/menu-item.styles.d.ts} +0 -0
- /package/dist/components/{nav-item → nav}/nav-item.d.ts +0 -0
- /package/dist/components/{nav-item → nav}/nav-item.js +0 -0
- /package/dist/components/{segmented-button-item/segmented-button-item.styles.d.ts → nav/nav-item.styles.d.ts} +0 -0
- /package/dist/components/{select-option-group/select-option-group.style.d.ts → segmented-button/segmented-button-item.styles.d.ts} +0 -0
- /package/dist/components/{select-option-group → select}/select-option-group.js +0 -0
- /package/dist/components/{select-option/select-option.styles.d.ts → select/select-option-group.style.d.ts} +0 -0
- /package/dist/components/{select-option → select}/select-option.controllers.d.ts +0 -0
- /package/dist/components/{select-option → select}/select-option.d.ts +0 -0
- /package/dist/components/{select-option → select}/select-option.js +0 -0
- /package/dist/components/{stepper-item/stepper-item.styles.d.ts → select/select-option.styles.d.ts} +0 -0
- /package/dist/components/{stepper-item → stepper}/stepper-item.js +0 -0
- /package/dist/components/{tab-group/tab-group.styles.d.ts → stepper/stepper-item.styles.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/{toast-wrapper/toast-wrapper.styles.d.ts → tabs/tabs.styles.d.ts} +0 -0
- /package/dist/components/{toast-item → toast}/toast-item.component.d.ts +0 -0
- /package/dist/components/{toast-item → toast}/toast-item.component.js +0 -0
- /package/dist/components/{toast-item → toast}/toast-item.styles.d.ts +0 -0
- /package/dist/components/{toast-wrapper → toast}/toast-wrapper.component.d.ts +0 -0
- /package/dist/components/{toast-wrapper → toast}/toast-wrapper.d.ts +0 -0
- /package/dist/components/{toast-wrapper → toast}/toast-wrapper.js +0 -0
- /package/dist/components/{toast-wrapper → toast}/toast-wrapper.styles.js +0 -0
package/dist/web-types.json
CHANGED
@@ -1,23 +1,20 @@
|
|
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": {
|
8
8
|
"elements": [
|
9
9
|
{
|
10
10
|
"name": "skf-icon",
|
11
|
-
"description": "The `<skf-icon>` component is used to clarify interface elements. When used, should always be paired with (possibly invisible) text
|
11
|
+
"description": "The `<skf-icon>` component is used to clarify interface elements. When used, should always be paired with (possibly invisible) text.\n---\n",
|
12
12
|
"doc-url": "",
|
13
13
|
"attributes": [
|
14
14
|
{
|
15
15
|
"name": "color",
|
16
16
|
"description": "Sets the color of the icon",
|
17
|
-
"value": {
|
18
|
-
"type": "\"primary\" | \"inverse\" | \"emphasised\" | \"secondary\" | \"success\" | \"info\" | \"warning\" | \"error\" | \"alert\"",
|
19
|
-
"default": "'primary'"
|
20
|
-
}
|
17
|
+
"value": { "type": "IconColor", "default": "'primary'" }
|
21
18
|
},
|
22
19
|
{
|
23
20
|
"name": "label",
|
@@ -27,17 +24,12 @@
|
|
27
24
|
{
|
28
25
|
"name": "name",
|
29
26
|
"description": "Name of the icon to display",
|
30
|
-
"value": {
|
31
|
-
"type": "\"addCircleOutline\" | \"addCircle\" | \"addPlus\" | \"arrowBackIos\" | \"arrowBack\" | \"arrowDown\" | \"arrowForwardIos\" | \"arrowForward\" | \"arrowLeft\" | \"arrowRight\" | \"arrowUpDown\" | \"arrowUp\" | \"article\" | \"asset\" | \"attachment\" | \"bandCursor\" | \"bands\" | \"batteryEmpty\" | \"batteryFull\" | \"batteryLow\" | \"bearingFault\" | \"bluetoothDisabled\" | \"bluetooth\" | \"book\" | \"bookmarkOutline\" | \"bookmark\" | \"calculator\" | \"calendarBusy\" | \"calendarCheck\" | \"calendarEmpty\" | \"calendarMonth\" | \"calendarReccuring\" | \"call\" | \"caretDown\" | \"caretUpDown\" | \"caretUp\" | \"chat\" | \"checkCircleOutline\" | \"checkCircle\" | \"checkSmall\" | \"check\" | \"chevronDownUp\" | \"chevronDown\" | \"chevronLeft\" | \"chevronRight\" | \"chevronUpDown\" | \"chevronUp\" | \"chip\" | \"circleStatus\" | \"closeAll\" | \"closeAlt\" | \"close\" | \"columnGraph\" | \"comment\" | \"connection0\" | \"connection1\" | \"connection2\" | \"connection3\" | \"connection4\" | \"contentPaste\" | \"copy\" | \"cpmCyclesPerMinute\" | \"dangerOutline\" | \"danger\" | \"defectFrequenciesAlt\" | \"defectFrequencies\" | \"deleteOutline\" | \"delete\" | \"devices\" | \"directions\" | \"doubleChevronLeft\" | \"doubleChevronRight\" | \"downloadDone\" | \"download\" | \"draftOutline\" | \"draft\" | \"dragDrop\" | \"drop\" | \"duplicate\" | \"editOutline\" | \"edit\" | \"emailOutline\" | \"emailPdf\" | \"email\" | \"errorOutline\" | \"error\" | \"exclamation\" | \"facebook\" | \"filterOutline\" | \"filter\" | \"findReplace\" | \"forbidden\" | \"frequencyHz\" | \"fullScreen\" | \"fullscreenExit\" | \"functionalGroup\" | \"hamburgerMenu\" | \"harmonicCursor\" | \"heatmap\" | \"hierarchy\" | \"history\" | \"homeOutline\" | \"home\" | \"hourglassOutline\" | \"hourglass\" | \"image\" | \"imx\" | \"infoOutline\" | \"info\" | \"instagram\" | \"integration\" | \"iosShare\" | \"kebabMore\" | \"language\" | \"lightbulbOutline\" | \"lightbulb\" | \"link\" | \"linkedin\" | \"listGroup\" | \"list\" | \"locationPin\" | \"lockOutline\" | \"lock\" | \"logOut\" | \"login\" | \"meatballsMoreCircle\" | \"meatballsMore\" | \"microphone\" | \"nearMe\" | \"noData\" | \"notificationsBellOutline\" | \"notificationsBell\" | \"o\" | \"offer\" | \"openInNew\" | \"overlaysBaseline\" | \"pan360\" | \"paper\" | \"pause\" | \"pdfOutline\" | \"pdf\" | \"person\" | \"photoCameraOutline\" | \"photoCamera\" | \"pieChart\" | \"pinOutline\" | \"pin\" | \"play\" | \"powerOff\" | \"printOutline\" | \"print\" | \"privacyPolicyOutline\" | \"privacyPolicy\" | \"proCollect\" | \"recAction\" | \"refresh\" | \"removeMinus\" | \"reorder\" | \"reply\" | \"report\" | \"rewakableRoute\" | \"route\" | \"search\" | \"sendOutline\" | \"send\" | \"sensorAlt\" | \"sensor\" | \"settingsOutline\" | \"settings\" | \"share\" | \"shoppingCart\" | \"sidebandCursor\" | \"singleCursor\" | \"skfBearing\" | \"spectrum\" | \"starOutline\" | \"star\" | \"stop\" | \"sync\" | \"time\" | \"timewave\" | \"translate\" | \"trend\" | \"trendingUp\" | \"twitter\" | \"undo\" | \"unknownDiamondOutline\" | \"unknownDiamond\" | \"unknownOutline\" | \"unknown\" | \"unlink\" | \"unlockOutline\" | \"unlock\" | \"unscheduledAction\" | \"upload\" | \"vibrationAlt\" | \"vibration\" | \"view3D\" | \"viewFull\" | \"viewHorizontal\" | \"viewVertical\" | \"visibilityOffOutline\" | \"visibilityOff\" | \"visibilityOutline\" | \"visibility\" | \"warningDiamondOutline\" | \"warningDiamond\" | \"warningOutline\" | \"warning\" | \"youtube\" | \"zoomIn\" | \"zoomOut\""
|
32
|
-
}
|
27
|
+
"value": { "type": "Icon" }
|
33
28
|
},
|
34
29
|
{
|
35
30
|
"name": "size",
|
36
31
|
"description": "Size of the icon",
|
37
|
-
"value": {
|
38
|
-
"type": "\"xs\" | \"sm\" | \"md\" | \"lg\"",
|
39
|
-
"default": "'md'"
|
40
|
-
}
|
32
|
+
"value": { "type": "SkfIconSize", "default": "'md'" }
|
41
33
|
}
|
42
34
|
],
|
43
35
|
"events": [],
|
@@ -46,7 +38,7 @@
|
|
46
38
|
{
|
47
39
|
"name": "color",
|
48
40
|
"description": "Sets the color of the icon",
|
49
|
-
"type": "
|
41
|
+
"type": "IconColor"
|
50
42
|
},
|
51
43
|
{
|
52
44
|
"name": "label",
|
@@ -56,41 +48,44 @@
|
|
56
48
|
{
|
57
49
|
"name": "name",
|
58
50
|
"description": "Name of the icon to display",
|
59
|
-
"type": "
|
51
|
+
"type": "Icon"
|
60
52
|
},
|
61
53
|
{
|
62
54
|
"name": "size",
|
63
55
|
"description": "Size of the icon",
|
64
|
-
"type": "
|
56
|
+
"type": "SkfIconSize"
|
65
57
|
}
|
66
58
|
],
|
67
59
|
"events": []
|
68
60
|
}
|
69
61
|
},
|
70
62
|
{
|
71
|
-
"name": "skf-
|
72
|
-
"description": "The `<skf-
|
63
|
+
"name": "skf-accordion-item",
|
64
|
+
"description": "The `<skf-accordion-item>` is used in conjunction with the `<skf-accordion>` component\n---\n\n\n### **Events:**\n - **skf-accordion-item-toggle** - Event emitted when toggled\n\n### **Methods:**\n - **setClose()** - Class method as alternative to manipulate attribute\n- **setOpen()** - Class method as alternative to manipulate attribute\n\n### **Slots:**\n - _default_ - Main content",
|
73
65
|
"doc-url": "",
|
74
66
|
"attributes": [
|
75
67
|
{
|
76
68
|
"name": "animated",
|
77
|
-
"description": "If true, will animate the expand/
|
69
|
+
"description": "If true, will animate the expand/accordion-item state",
|
78
70
|
"value": { "type": "boolean", "default": "false" }
|
79
71
|
},
|
80
72
|
{
|
81
73
|
"name": "expanded",
|
82
|
-
"description": "If true, will set the
|
74
|
+
"description": "If true, will set the accordion-item to be expanded by default",
|
83
75
|
"value": { "type": "boolean", "default": "false" }
|
84
76
|
},
|
85
77
|
{
|
86
78
|
"name": "heading",
|
87
|
-
"description": "Heading for the
|
79
|
+
"description": "Heading for the accordion-item",
|
88
80
|
"value": { "type": "string | undefined" }
|
89
81
|
},
|
90
82
|
{
|
91
83
|
"name": "heading-as",
|
92
84
|
"description": "Defines which heading element will be rendered",
|
93
|
-
"value": {
|
85
|
+
"value": {
|
86
|
+
"type": "SkfAccordionItemHeadingType",
|
87
|
+
"default": "'h2'"
|
88
|
+
}
|
94
89
|
},
|
95
90
|
{
|
96
91
|
"name": "small",
|
@@ -99,14 +94,14 @@
|
|
99
94
|
},
|
100
95
|
{
|
101
96
|
"name": "truncate",
|
102
|
-
"description": "If true, will truncate the heading in
|
97
|
+
"description": "If true, will truncate the heading in accordion-item state",
|
103
98
|
"value": { "type": "boolean", "default": "false" }
|
104
99
|
}
|
105
100
|
],
|
106
101
|
"slots": [{ "name": "", "description": "Main content" }],
|
107
102
|
"events": [
|
108
103
|
{
|
109
|
-
"name": "skf-
|
104
|
+
"name": "skf-accordion-item-toggle",
|
110
105
|
"type": "CustomEvent",
|
111
106
|
"description": "Event emitted when toggled"
|
112
107
|
}
|
@@ -115,23 +110,23 @@
|
|
115
110
|
"properties": [
|
116
111
|
{
|
117
112
|
"name": "animated",
|
118
|
-
"description": "If true, will animate the expand/
|
113
|
+
"description": "If true, will animate the expand/accordion-item state",
|
119
114
|
"type": "boolean"
|
120
115
|
},
|
121
116
|
{
|
122
117
|
"name": "expanded",
|
123
|
-
"description": "If true, will set the
|
118
|
+
"description": "If true, will set the accordion-item to be expanded by default",
|
124
119
|
"type": "boolean"
|
125
120
|
},
|
126
121
|
{
|
127
122
|
"name": "heading",
|
128
|
-
"description": "Heading for the
|
123
|
+
"description": "Heading for the accordion-item",
|
129
124
|
"type": "string | undefined"
|
130
125
|
},
|
131
126
|
{
|
132
127
|
"name": "headingAs",
|
133
128
|
"description": "Defines which heading element will be rendered",
|
134
|
-
"type": "
|
129
|
+
"type": "SkfAccordionItemHeadingType"
|
135
130
|
},
|
136
131
|
{
|
137
132
|
"name": "small",
|
@@ -140,13 +135,13 @@
|
|
140
135
|
},
|
141
136
|
{
|
142
137
|
"name": "truncate",
|
143
|
-
"description": "If true, will truncate the heading in
|
138
|
+
"description": "If true, will truncate the heading in accordion-item state",
|
144
139
|
"type": "boolean"
|
145
140
|
}
|
146
141
|
],
|
147
142
|
"events": [
|
148
143
|
{
|
149
|
-
"name": "skf-
|
144
|
+
"name": "skf-accordion-item-toggle",
|
150
145
|
"type": "CustomEvent",
|
151
146
|
"description": "Event emitted when toggled"
|
152
147
|
}
|
@@ -155,7 +150,7 @@
|
|
155
150
|
},
|
156
151
|
{
|
157
152
|
"name": "skf-accordion",
|
158
|
-
"description": "The `<skf-accordion>` component consists of
|
153
|
+
"description": "The `<skf-accordion>` component consists of one or more `<skf-accordion-item>` item(s) working together\n\nSee [zeroheight](https://zeroheight.com/853e936c9/p/6590bf-accordion) for design principles\n---\n\n\n### **Slots:**\n - _default_ - Expects one or more <skf-accordion-item> element(s)",
|
159
154
|
"doc-url": "",
|
160
155
|
"attributes": [
|
161
156
|
{
|
@@ -167,7 +162,7 @@
|
|
167
162
|
"name": "heading-as",
|
168
163
|
"description": "Defines which heading element will be rendered",
|
169
164
|
"value": {
|
170
|
-
"type": "
|
165
|
+
"type": "SkfAccordionItemHeadingType",
|
171
166
|
"default": "'h2'"
|
172
167
|
}
|
173
168
|
},
|
@@ -209,7 +204,7 @@
|
|
209
204
|
{
|
210
205
|
"name": "headingAs",
|
211
206
|
"description": "Defines which heading element will be rendered",
|
212
|
-
"type": "
|
207
|
+
"type": "SkfAccordionItemHeadingType"
|
213
208
|
},
|
214
209
|
{
|
215
210
|
"name": "gap",
|
@@ -237,18 +232,18 @@
|
|
237
232
|
},
|
238
233
|
{
|
239
234
|
"name": "skf-alert",
|
240
|
-
"description": "The `<skf-alert>` is a type of notification that appears in-line\n---\n\n\n### **Events:**\n - **skf-alert-close** - Fires when the close button is clicked\n\n### **Slots:**\n - _default_ - Alert message. **Notice!** See design principles for approved content\n- **link** - Slot for the link",
|
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",
|
241
236
|
"doc-url": "",
|
242
237
|
"attributes": [
|
243
|
-
{
|
244
|
-
"name": "button-label",
|
245
|
-
"description": "Close button aria-label",
|
246
|
-
"value": { "type": "string", "default": "'Close'" }
|
247
|
-
},
|
248
238
|
{
|
249
239
|
"name": "icon",
|
250
240
|
"description": "If defined, displays leading icon",
|
251
|
-
"value": { "type": "
|
241
|
+
"value": { "type": "Icon | undefined" }
|
242
|
+
},
|
243
|
+
{
|
244
|
+
"name": "lang",
|
245
|
+
"description": "Sets the internal language of the component",
|
246
|
+
"value": { "type": "Language", "default": "'en'" }
|
252
247
|
},
|
253
248
|
{
|
254
249
|
"name": "persistent",
|
@@ -258,7 +253,7 @@
|
|
258
253
|
{
|
259
254
|
"name": "severity",
|
260
255
|
"description": "If defined, gives the supplied appearance",
|
261
|
-
"value": { "type": "
|
256
|
+
"value": { "type": "Severity | undefined" }
|
262
257
|
}
|
263
258
|
],
|
264
259
|
"slots": [
|
@@ -271,20 +266,21 @@
|
|
271
266
|
"events": [
|
272
267
|
{
|
273
268
|
"name": "skf-alert-close",
|
269
|
+
"type": "CustomEvent",
|
274
270
|
"description": "Fires when the close button is clicked"
|
275
271
|
}
|
276
272
|
],
|
277
273
|
"js": {
|
278
274
|
"properties": [
|
279
|
-
{
|
280
|
-
"name": "buttonLabel",
|
281
|
-
"description": "Close button aria-label",
|
282
|
-
"type": "string"
|
283
|
-
},
|
284
275
|
{
|
285
276
|
"name": "icon",
|
286
277
|
"description": "If defined, displays leading icon",
|
287
|
-
"type": "
|
278
|
+
"type": "Icon | undefined"
|
279
|
+
},
|
280
|
+
{
|
281
|
+
"name": "lang",
|
282
|
+
"description": "Sets the internal language of the component",
|
283
|
+
"type": "Language"
|
288
284
|
},
|
289
285
|
{
|
290
286
|
"name": "persistent",
|
@@ -294,12 +290,13 @@
|
|
294
290
|
{
|
295
291
|
"name": "severity",
|
296
292
|
"description": "If defined, gives the supplied appearance",
|
297
|
-
"type": "
|
293
|
+
"type": "Severity | undefined"
|
298
294
|
}
|
299
295
|
],
|
300
296
|
"events": [
|
301
297
|
{
|
302
298
|
"name": "skf-alert-close",
|
299
|
+
"type": "CustomEvent",
|
303
300
|
"description": "Fires when the close button is clicked"
|
304
301
|
}
|
305
302
|
]
|
@@ -346,9 +343,9 @@
|
|
346
343
|
"value": { "type": "string", "default": "'Breadcrumb'" }
|
347
344
|
},
|
348
345
|
{
|
349
|
-
"name": "
|
350
|
-
"description": "
|
351
|
-
"value": { "type": "
|
346
|
+
"name": "small",
|
347
|
+
"description": "If true, renders a smaller version",
|
348
|
+
"value": { "type": "boolean", "default": "false" }
|
352
349
|
}
|
353
350
|
],
|
354
351
|
"slots": [
|
@@ -365,9 +362,9 @@
|
|
365
362
|
"type": "string"
|
366
363
|
},
|
367
364
|
{
|
368
|
-
"name": "
|
369
|
-
"description": "
|
370
|
-
"type": "
|
365
|
+
"name": "small",
|
366
|
+
"description": "If true, renders a smaller version",
|
367
|
+
"type": "boolean"
|
371
368
|
}
|
372
369
|
],
|
373
370
|
"events": [
|
@@ -383,11 +380,6 @@
|
|
383
380
|
"description": "The `<skf-loader>` component is a progress indicator that uses circular indicators for short, indeterminate activities\n---\n",
|
384
381
|
"doc-url": "",
|
385
382
|
"attributes": [
|
386
|
-
{
|
387
|
-
"name": "aria-label",
|
388
|
-
"description": "Defines the aria-label",
|
389
|
-
"value": { "type": "string", "default": "'Loading...'" }
|
390
|
-
},
|
391
383
|
{
|
392
384
|
"name": "invert",
|
393
385
|
"description": "If true, inverts the color (to be used on colored backgrounds)",
|
@@ -396,17 +388,12 @@
|
|
396
388
|
{
|
397
389
|
"name": "size",
|
398
390
|
"description": "Defines the size of the loader",
|
399
|
-
"value": { "type": "
|
391
|
+
"value": { "type": "Size", "default": "'md'" }
|
400
392
|
}
|
401
393
|
],
|
402
394
|
"events": [],
|
403
395
|
"js": {
|
404
396
|
"properties": [
|
405
|
-
{
|
406
|
-
"name": "ariaLabel",
|
407
|
-
"description": "Defines the aria-label",
|
408
|
-
"type": "string"
|
409
|
-
},
|
410
397
|
{
|
411
398
|
"name": "invert",
|
412
399
|
"description": "If true, inverts the color (to be used on colored backgrounds)",
|
@@ -415,17 +402,15 @@
|
|
415
402
|
{
|
416
403
|
"name": "size",
|
417
404
|
"description": "Defines the size of the loader",
|
418
|
-
"type": "
|
419
|
-
}
|
420
|
-
{ "name": "role", "type": "string" },
|
421
|
-
{ "name": "ariaLive", "type": "string" }
|
405
|
+
"type": "Size"
|
406
|
+
}
|
422
407
|
],
|
423
408
|
"events": []
|
424
409
|
}
|
425
410
|
},
|
426
411
|
{
|
427
412
|
"name": "skf-button",
|
428
|
-
"description": "Component to be used in forms or for interactivity\n---\n\n\n### **Events:**\n - **click** - Fires when the button is clicked\n\n### **Methods:**\n - **click()** - Simulates a click on the button.\n\n### **Slots:**\n - _default_ - The Primary content",
|
413
|
+
"description": "Component to be used in forms or for interactivity\n\nSee [zeroheight](https://zeroheight.com/853e936c9/p/02493d-buttons) for design principles\n---\n\n\n### **Events:**\n - **click** - Fires when the button is clicked\n\n### **Methods:**\n - **click()** - Simulates a click on the button.\n\n### **Slots:**\n - _default_ - The Primary content",
|
429
414
|
"doc-url": "",
|
430
415
|
"attributes": [
|
431
416
|
{
|
@@ -441,13 +426,11 @@
|
|
441
426
|
{
|
442
427
|
"name": "icon",
|
443
428
|
"description": "If provided, renders an icon before or after the text",
|
444
|
-
"value": {
|
445
|
-
"type": "\"arrowDown\" | \"arrowDownUp\" | \"arrowLeft\" | \"arrowRight\" | \"arrowUp\" | \"article\" | \"artificialIntelligence\" | \"asset\" | \"attachment\" | \"bandCursor\" | \"bands\" | \"batteryEmpty\" | \"batteryFull\" | \"batteryLow\" | \"bearingFault\" | \"book\" | \"bulb\" | \"burger\" | \"cPM\" | \"calendar\" | \"calendarBooked\" | \"calendarEmpty\" | \"calendarNotBooked\" | \"calendarRecurring\" | \"caretDown\" | \"caretUp\" | \"caretUpDown\" | \"chat\" | \"check\" | \"checkCircle\" | \"checkSmall\" | \"chevronDown\" | \"chevronLeft\" | \"chevronRight\" | \"chevronUp\" | \"chevronUpDown\" | \"close\" | \"closeAllFaults\" | \"closeFault\" | \"closeSmall\" | \"columnGraph\" | \"comment\" | \"connection1\" | \"connection2\" | \"connection3\" | \"connection4\" | \"danger\" | \"defectFrequencies\" | \"defectFrequenciesAlternative\" | \"doubleChevronLeft\" | \"doubleChevronRight\" | \"download\" | \"draft\" | \"draftFilled\" | \"draftOutlined\" | \"dragNDrop\" | \"drop\" | \"duplicate\" | \"edit\" | \"emailFilled\" | \"emailOutlined\" | \"exclamation\" | \"eye\" | \"eyeHidden\" | \"eyeVisible\" | \"filter\" | \"forbidden\" | \"fullScreen\" | \"fullScreenExit\" | \"functionalLocation\" | \"harmonicCursor\" | \"heatmap\" | \"hierarchy\" | \"history\" | \"historyAlt\" | \"hourglassFramedFilled\" | \"hourglassFramedOutlined\" | \"hourglassOutlined\" | \"hz\" | \"iMX\" | \"image\" | \"infoCircleFilled\" | \"infoCircleOutlined\" | \"integration\" | \"kebab\" | \"link\" | \"listGroup\" | \"listItem\" | \"locationPin\" | \"lock\" | \"logOut\" | \"meatballs\" | \"microphone\" | \"minus\" | \"minusSmall\" | \"noData\" | \"o\" | \"openInNew\" | \"overlayBaseline\" | \"pDF\" | \"paper\" | \"pause\" | \"pieChart\" | \"pin\" | \"play\" | \"plus\" | \"powerOff\" | \"printer\" | \"proCollect\" | \"recAction\" | \"received\" | \"refresh\" | \"reorder\" | \"replace\" | \"reply\" | \"rewalkableRoute\" | \"routes\" | \"search\" | \"send\" | \"sensorA\" | \"sensorB\" | \"settings\" | \"sidebandCursor\" | \"singleCursor\" | \"spectrum\" | \"starFilled\" | \"starOutlined\" | \"statusCircle\" | \"stop\" | \"structuralVibration\" | \"sync\" | \"timewave\" | \"trash\" | \"trend\" | \"trendingUp\" | \"undo\" | \"unknownCircle\" | \"unknownDiamond\" | \"unlink\" | \"unlock\" | \"unscheduledAction\" | \"upload\" | \"user\" | \"viewFull\" | \"viewHorizontal\" | \"viewVertical\" | \"warning\" | \"warningCircle\" | \"warningDiamond\" | \"zoomIn\" | \"zoomOut\""
|
446
|
-
}
|
429
|
+
"value": { "type": "Icon | undefined" }
|
447
430
|
},
|
448
431
|
{
|
449
|
-
"name": "
|
450
|
-
"description": "If true,
|
432
|
+
"name": "icon-only",
|
433
|
+
"description": "If true, button will take a square shape",
|
451
434
|
"value": { "type": "boolean", "default": "false" }
|
452
435
|
},
|
453
436
|
{
|
@@ -467,15 +450,15 @@
|
|
467
450
|
{
|
468
451
|
"name": "size",
|
469
452
|
"description": "If provided, displays an alternative size",
|
470
|
-
"value": {
|
453
|
+
"value": {
|
454
|
+
"type": "'sm' | 'md' | 'lg' | undefined",
|
455
|
+
"default": "'md'"
|
456
|
+
}
|
471
457
|
},
|
472
458
|
{
|
473
459
|
"name": "type",
|
474
460
|
"description": "If provided, changes the button type",
|
475
|
-
"value": {
|
476
|
-
"type": "'button' | 'submit' | 'reset'",
|
477
|
-
"default": "'button'"
|
478
|
-
}
|
461
|
+
"value": { "type": "SkfButtonType", "default": "'button'" }
|
479
462
|
},
|
480
463
|
{
|
481
464
|
"name": "variant",
|
@@ -490,6 +473,7 @@
|
|
490
473
|
"events": [
|
491
474
|
{
|
492
475
|
"name": "click",
|
476
|
+
"type": "CustomEvent",
|
493
477
|
"description": "Fires when the button is clicked"
|
494
478
|
}
|
495
479
|
],
|
@@ -508,11 +492,11 @@
|
|
508
492
|
{
|
509
493
|
"name": "icon",
|
510
494
|
"description": "If provided, renders an icon before or after the text",
|
511
|
-
"type": "
|
495
|
+
"type": "Icon | undefined"
|
512
496
|
},
|
513
497
|
{
|
514
498
|
"name": "iconOnly",
|
515
|
-
"description": "If true,
|
499
|
+
"description": "If true, button will take a square shape",
|
516
500
|
"type": "boolean"
|
517
501
|
},
|
518
502
|
{
|
@@ -529,12 +513,12 @@
|
|
529
513
|
{
|
530
514
|
"name": "size",
|
531
515
|
"description": "If provided, displays an alternative size",
|
532
|
-
"type": "'sm' | 'md' | 'lg'"
|
516
|
+
"type": "'sm' | 'md' | 'lg' | undefined"
|
533
517
|
},
|
534
518
|
{
|
535
519
|
"name": "type",
|
536
520
|
"description": "If provided, changes the button type",
|
537
|
-
"type": "
|
521
|
+
"type": "SkfButtonType"
|
538
522
|
},
|
539
523
|
{
|
540
524
|
"name": "variant",
|
@@ -545,6 +529,7 @@
|
|
545
529
|
"events": [
|
546
530
|
{
|
547
531
|
"name": "click",
|
532
|
+
"type": "CustomEvent",
|
548
533
|
"description": "Fires when the button is clicked"
|
549
534
|
}
|
550
535
|
]
|
@@ -552,7 +537,7 @@
|
|
552
537
|
},
|
553
538
|
{
|
554
539
|
"name": "skf-card",
|
555
|
-
"description": "The `<skf-card>` can be used to group related subjects in a container\n---\n\n\n### **Slots:**\n - _default_ - The card's main content",
|
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)_",
|
556
541
|
"doc-url": "",
|
557
542
|
"attributes": [
|
558
543
|
{
|
@@ -596,7 +581,7 @@
|
|
596
581
|
},
|
597
582
|
{
|
598
583
|
"name": "skf-checkbox",
|
599
|
-
"description": "The `<skf-checkbox>` component is used to create a checkbox input\n---\n\n\n### **Events:**\n - **change** -
|
584
|
+
"description": "The `<skf-checkbox>` component is used to create a checkbox input\n---\n\n\n### **Events:**\n - **change** - When the value of the input changes\n\n### **Slots:**\n - _default_ - The Radios label. Alternatively, you can use the `label` attribute.",
|
600
585
|
"doc-url": "",
|
601
586
|
"attributes": [
|
602
587
|
{
|
@@ -617,7 +602,7 @@
|
|
617
602
|
{
|
618
603
|
"name": "checked",
|
619
604
|
"description": "If true, outputs helping hints in console",
|
620
|
-
"value": { "type": "
|
605
|
+
"value": { "type": "boolean", "default": "false" }
|
621
606
|
},
|
622
607
|
{
|
623
608
|
"name": "custom-invalid",
|
@@ -635,21 +620,19 @@
|
|
635
620
|
"value": { "type": "string | undefined" }
|
636
621
|
},
|
637
622
|
{
|
638
|
-
"name": "
|
639
|
-
"description": "
|
640
|
-
"value": { "type": "
|
623
|
+
"name": "lang",
|
624
|
+
"description": "Sets the internal language of the component",
|
625
|
+
"value": { "type": "Language", "default": "'en'" }
|
641
626
|
},
|
642
627
|
{
|
643
|
-
"name": "
|
644
|
-
"description": "If defined,
|
628
|
+
"name": "name",
|
629
|
+
"description": "If defined, adds name to the input-element",
|
645
630
|
"value": { "type": "string | undefined" }
|
646
631
|
},
|
647
632
|
{
|
648
633
|
"name": "severity",
|
649
634
|
"description": "If defined, styles checkbox using provided severity",
|
650
|
-
"value": {
|
651
|
-
"type": "\"alert\" | \"success\" | \"info\" | \"warning\""
|
652
|
-
}
|
635
|
+
"value": { "type": "FormFieldSeverity | undefined" }
|
653
636
|
},
|
654
637
|
{
|
655
638
|
"name": "show-valid",
|
@@ -676,7 +659,8 @@
|
|
676
659
|
"events": [
|
677
660
|
{
|
678
661
|
"name": "change",
|
679
|
-
"
|
662
|
+
"type": "Event",
|
663
|
+
"description": "When the value of the input changes"
|
680
664
|
}
|
681
665
|
],
|
682
666
|
"js": {
|
@@ -688,7 +672,8 @@
|
|
688
672
|
},
|
689
673
|
{
|
690
674
|
"name": "checked",
|
691
|
-
"description": "If true, outputs helping hints in console"
|
675
|
+
"description": "If true, outputs helping hints in console",
|
676
|
+
"type": "boolean"
|
692
677
|
},
|
693
678
|
{
|
694
679
|
"name": "customInvalid",
|
@@ -706,19 +691,19 @@
|
|
706
691
|
"type": "string | undefined"
|
707
692
|
},
|
708
693
|
{
|
709
|
-
"name": "
|
710
|
-
"description": "
|
711
|
-
"type": "
|
694
|
+
"name": "lang",
|
695
|
+
"description": "Sets the internal language of the component",
|
696
|
+
"type": "Language"
|
712
697
|
},
|
713
698
|
{
|
714
|
-
"name": "
|
715
|
-
"description": "If defined,
|
699
|
+
"name": "name",
|
700
|
+
"description": "If defined, adds name to the input-element",
|
716
701
|
"type": "string | undefined"
|
717
702
|
},
|
718
703
|
{
|
719
704
|
"name": "severity",
|
720
705
|
"description": "If defined, styles checkbox using provided severity",
|
721
|
-
"type": "
|
706
|
+
"type": "FormFieldSeverity | undefined"
|
722
707
|
},
|
723
708
|
{
|
724
709
|
"name": "showValid",
|
@@ -739,37 +724,158 @@
|
|
739
724
|
"events": [
|
740
725
|
{
|
741
726
|
"name": "change",
|
742
|
-
"
|
727
|
+
"type": "Event",
|
728
|
+
"description": "When the value of the input changes"
|
743
729
|
}
|
744
730
|
]
|
745
731
|
}
|
746
732
|
},
|
747
733
|
{
|
748
|
-
"name": "skf-datepicker",
|
749
|
-
"description": "
|
734
|
+
"name": "skf-datepicker-calendar",
|
735
|
+
"description": "\n---\n",
|
750
736
|
"doc-url": "",
|
751
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
|
+
},
|
752
753
|
{
|
753
754
|
"name": "locale",
|
754
|
-
"description": "The locale to use for formatting the date",
|
755
755
|
"value": { "type": "string", "default": "'en-CA'" }
|
756
756
|
},
|
757
757
|
{
|
758
|
-
"name": "
|
759
|
-
"
|
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.",
|
760
830
|
"value": { "type": "string" }
|
761
831
|
},
|
762
|
-
{
|
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
|
+
},
|
763
856
|
{
|
764
857
|
"name": "invalid-dates",
|
765
858
|
"description": "A comma-separated list of dates (yyyy-mm-dd format) that are not selectable.",
|
766
859
|
"value": { "type": "string | undefined" }
|
767
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
|
+
},
|
768
870
|
{
|
769
871
|
"name": "range",
|
770
|
-
"description": "If true, the date picker will allow the selection of a range of dates",
|
771
872
|
"value": { "type": "boolean", "default": "false" }
|
772
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
|
+
},
|
773
879
|
{
|
774
880
|
"name": "selectable-from",
|
775
881
|
"description": "Earliest selectable date. (yyyy-mm-dd format)",
|
@@ -779,48 +885,82 @@
|
|
779
885
|
"name": "selectable-to",
|
780
886
|
"description": "Latest selectable date. (yyyy-mm-dd format)",
|
781
887
|
"value": { "type": "string | undefined" }
|
782
|
-
}
|
783
|
-
],
|
784
|
-
"slots": [
|
888
|
+
},
|
785
889
|
{
|
786
|
-
"name": "",
|
787
|
-
"description": "
|
788
|
-
|
789
|
-
|
790
|
-
|
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
|
+
},
|
791
901
|
{
|
792
|
-
"name": "
|
793
|
-
"description": "
|
902
|
+
"name": "validate-on",
|
903
|
+
"description": "Sets validation start",
|
904
|
+
"value": {
|
905
|
+
"type": "'input' | 'change' | 'submit'",
|
906
|
+
"default": "'change'"
|
907
|
+
}
|
794
908
|
},
|
795
909
|
{
|
796
|
-
"name": "
|
797
|
-
"description": "
|
910
|
+
"name": "value",
|
911
|
+
"description": "The current value of the input field",
|
912
|
+
"value": { "type": "string | undefined" }
|
798
913
|
}
|
799
914
|
],
|
915
|
+
"events": [],
|
800
916
|
"js": {
|
801
917
|
"properties": [
|
802
918
|
{
|
803
|
-
"name": "
|
804
|
-
"
|
805
|
-
"type": "string"
|
919
|
+
"name": "focusTimeoutId",
|
920
|
+
"type": "ReturnType<typeof setTimeout> | undefined"
|
806
921
|
},
|
807
922
|
{
|
808
|
-
"name": "
|
809
|
-
"description": "
|
810
|
-
"type": "string"
|
923
|
+
"name": "customInvalid",
|
924
|
+
"description": "If defined, forces component to invalid state until removed. Its value is used as hint text."
|
811
925
|
},
|
812
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
|
+
},
|
813
947
|
{
|
814
948
|
"name": "invalidDates",
|
815
949
|
"description": "A comma-separated list of dates (yyyy-mm-dd format) that are not selectable.",
|
816
950
|
"type": "string | undefined"
|
817
951
|
},
|
818
952
|
{
|
819
|
-
"name": "
|
820
|
-
"description": "If
|
821
|
-
"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"
|
822
963
|
},
|
823
|
-
{ "name": "selectedDate", "type": "Date | undefined" },
|
824
964
|
{
|
825
965
|
"name": "selectableFrom",
|
826
966
|
"description": "Earliest selectable date. (yyyy-mm-dd format)",
|
@@ -831,18 +971,28 @@
|
|
831
971
|
"description": "Latest selectable date. (yyyy-mm-dd format)",
|
832
972
|
"type": "string | undefined"
|
833
973
|
},
|
834
|
-
{ "name": "selectedDateRange", "type": "SkfDatePickerDateRange" }
|
835
|
-
],
|
836
|
-
"events": [
|
837
974
|
{
|
838
|
-
"name": "
|
839
|
-
"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'"
|
840
988
|
},
|
841
989
|
{
|
842
|
-
"name": "
|
843
|
-
"description": "
|
990
|
+
"name": "value",
|
991
|
+
"description": "The current value of the input field",
|
992
|
+
"type": "string | undefined"
|
844
993
|
}
|
845
|
-
]
|
994
|
+
],
|
995
|
+
"events": []
|
846
996
|
}
|
847
997
|
},
|
848
998
|
{
|
@@ -853,12 +1003,12 @@
|
|
853
1003
|
{
|
854
1004
|
"name": "as",
|
855
1005
|
"description": "Controls which heading element will be rendered. Should not be used to affect appearance",
|
856
|
-
"value": { "type": "
|
1006
|
+
"value": { "type": "HeadingType", "default": "'h2'" }
|
857
1007
|
},
|
858
1008
|
{
|
859
1009
|
"name": "styled-as",
|
860
1010
|
"description": "If defined, changes the appearance of the heading",
|
861
|
-
"value": { "type": "
|
1011
|
+
"value": { "type": "HeadingType | undefined" }
|
862
1012
|
}
|
863
1013
|
],
|
864
1014
|
"slots": [{ "name": "", "description": "The headings content" }],
|
@@ -868,12 +1018,12 @@
|
|
868
1018
|
{
|
869
1019
|
"name": "as",
|
870
1020
|
"description": "Controls which heading element will be rendered. Should not be used to affect appearance",
|
871
|
-
"type": "
|
1021
|
+
"type": "HeadingType"
|
872
1022
|
},
|
873
1023
|
{
|
874
1024
|
"name": "styledAs",
|
875
1025
|
"description": "If defined, changes the appearance of the heading",
|
876
|
-
"type": "
|
1026
|
+
"type": "HeadingType | undefined"
|
877
1027
|
}
|
878
1028
|
],
|
879
1029
|
"events": []
|
@@ -881,14 +1031,9 @@
|
|
881
1031
|
},
|
882
1032
|
{
|
883
1033
|
"name": "skf-dialog",
|
884
|
-
"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
|
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)_",
|
885
1035
|
"doc-url": "",
|
886
1036
|
"attributes": [
|
887
|
-
{
|
888
|
-
"name": "close-button-aria-label",
|
889
|
-
"description": "If defined, sets the aria-label for the close button",
|
890
|
-
"value": { "type": "string | undefined" }
|
891
|
-
},
|
892
1037
|
{
|
893
1038
|
"name": "heading",
|
894
1039
|
"description": "Title for the modal/dialog",
|
@@ -899,6 +1044,11 @@
|
|
899
1044
|
"description": "If true, makes the dialog stretch edge to edge on screen",
|
900
1045
|
"value": { "type": "boolean", "default": "false" }
|
901
1046
|
},
|
1047
|
+
{
|
1048
|
+
"name": "lang",
|
1049
|
+
"description": "Sets the internal language of the component",
|
1050
|
+
"value": { "type": "Language", "default": "'en'" }
|
1051
|
+
},
|
902
1052
|
{
|
903
1053
|
"name": "no-close-button",
|
904
1054
|
"description": "If true, removes the close button",
|
@@ -925,27 +1075,25 @@
|
|
925
1075
|
"events": [
|
926
1076
|
{
|
927
1077
|
"name": "skf-dialog-opened",
|
1078
|
+
"type": "CustomEvent",
|
928
1079
|
"description": "Fires when the dialog is opened (after transitioned in)"
|
929
1080
|
},
|
930
1081
|
{
|
931
1082
|
"name": "skf-dialog-closing",
|
932
|
-
"
|
1083
|
+
"type": "CustomEvent",
|
1084
|
+
"description": "Fires when the dialog is closing (before transitioned out)"
|
933
1085
|
},
|
934
1086
|
{
|
935
1087
|
"name": "skf-dialog-closed",
|
1088
|
+
"type": "CustomEvent",
|
936
1089
|
"description": "Fires when the dialog is closed (after transitioned out)"
|
937
1090
|
}
|
938
1091
|
],
|
939
1092
|
"js": {
|
940
1093
|
"properties": [
|
941
1094
|
{
|
942
|
-
"name": "
|
943
|
-
"description": "
|
944
|
-
"type": "string | undefined"
|
945
|
-
},
|
946
|
-
{
|
947
|
-
"name": "heading",
|
948
|
-
"description": "Title for the modal/dialog",
|
1095
|
+
"name": "heading",
|
1096
|
+
"description": "Title for the modal/dialog",
|
949
1097
|
"type": "string | undefined"
|
950
1098
|
},
|
951
1099
|
{
|
@@ -953,6 +1101,11 @@
|
|
953
1101
|
"description": "If true, makes the dialog stretch edge to edge on screen",
|
954
1102
|
"type": "boolean"
|
955
1103
|
},
|
1104
|
+
{
|
1105
|
+
"name": "lang",
|
1106
|
+
"description": "Sets the internal language of the component",
|
1107
|
+
"type": "Language"
|
1108
|
+
},
|
956
1109
|
{
|
957
1110
|
"name": "noCloseButton",
|
958
1111
|
"description": "If true, removes the close button",
|
@@ -972,14 +1125,17 @@
|
|
972
1125
|
"events": [
|
973
1126
|
{
|
974
1127
|
"name": "skf-dialog-opened",
|
1128
|
+
"type": "CustomEvent",
|
975
1129
|
"description": "Fires when the dialog is opened (after transitioned in)"
|
976
1130
|
},
|
977
1131
|
{
|
978
1132
|
"name": "skf-dialog-closing",
|
979
|
-
"
|
1133
|
+
"type": "CustomEvent",
|
1134
|
+
"description": "Fires when the dialog is closing (before transitioned out)"
|
980
1135
|
},
|
981
1136
|
{
|
982
1137
|
"name": "skf-dialog-closed",
|
1138
|
+
"type": "CustomEvent",
|
983
1139
|
"description": "Fires when the dialog is closed (after transitioned out)"
|
984
1140
|
}
|
985
1141
|
]
|
@@ -1030,23 +1186,23 @@
|
|
1030
1186
|
},
|
1031
1187
|
{
|
1032
1188
|
"name": "skf-drawer",
|
1033
|
-
"description": "The `<skf-drawer>` is a modal component that displays content and toggle by sliding from left/right viewport edge
|
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",
|
1034
1190
|
"doc-url": "",
|
1035
1191
|
"attributes": [
|
1036
|
-
{
|
1037
|
-
"name": "close-button-aria-label",
|
1038
|
-
"description": "If defined, sets the aria-label for the close button",
|
1039
|
-
"value": { "type": "string", "default": "'Close dialog'" }
|
1040
|
-
},
|
1041
1192
|
{
|
1042
1193
|
"name": "heading",
|
1043
1194
|
"description": "Heading for the Drawer",
|
1044
1195
|
"value": { "type": "string | undefined" }
|
1045
1196
|
},
|
1197
|
+
{
|
1198
|
+
"name": "lang",
|
1199
|
+
"description": "Sets the internal language of the component",
|
1200
|
+
"value": { "type": "Language", "default": "'en'" }
|
1201
|
+
},
|
1046
1202
|
{
|
1047
1203
|
"name": "size",
|
1048
1204
|
"description": "Sets the max-width",
|
1049
|
-
"value": { "type": "
|
1205
|
+
"value": { "type": "Size", "default": "'md'" }
|
1050
1206
|
},
|
1051
1207
|
{
|
1052
1208
|
"name": "open",
|
@@ -1056,40 +1212,43 @@
|
|
1056
1212
|
{
|
1057
1213
|
"name": "placement",
|
1058
1214
|
"description": "Placement of the Drawer",
|
1059
|
-
"value": { "type": "
|
1215
|
+
"value": { "type": "Placement", "default": "'right'" }
|
1060
1216
|
}
|
1061
1217
|
],
|
1062
1218
|
"slots": [{ "name": "", "description": "The Drawer's main content" }],
|
1063
1219
|
"events": [
|
1064
1220
|
{
|
1065
1221
|
"name": "skf-drawer-opened",
|
1222
|
+
"type": "CustomEvent",
|
1066
1223
|
"description": "Fires when the drawer is opened (after transitioned in)"
|
1067
1224
|
},
|
1068
1225
|
{
|
1069
1226
|
"name": "skf-drawer-closing",
|
1070
|
-
"
|
1227
|
+
"type": "CustomEvent",
|
1228
|
+
"description": "Fires when the drawer is closing (before transitioned out)"
|
1071
1229
|
},
|
1072
1230
|
{
|
1073
1231
|
"name": "skf-drawer-closed",
|
1232
|
+
"type": "CustomEvent",
|
1074
1233
|
"description": "Fires when the drawer is closed (after transitioned out)"
|
1075
1234
|
}
|
1076
1235
|
],
|
1077
1236
|
"js": {
|
1078
1237
|
"properties": [
|
1079
|
-
{
|
1080
|
-
"name": "closeButtonAriaLabel",
|
1081
|
-
"description": "If defined, sets the aria-label for the close button",
|
1082
|
-
"type": "string"
|
1083
|
-
},
|
1084
1238
|
{
|
1085
1239
|
"name": "heading",
|
1086
1240
|
"description": "Heading for the Drawer",
|
1087
1241
|
"type": "string | undefined"
|
1088
1242
|
},
|
1243
|
+
{
|
1244
|
+
"name": "lang",
|
1245
|
+
"description": "Sets the internal language of the component",
|
1246
|
+
"type": "Language"
|
1247
|
+
},
|
1089
1248
|
{
|
1090
1249
|
"name": "size",
|
1091
1250
|
"description": "Sets the max-width",
|
1092
|
-
"type": "
|
1251
|
+
"type": "Size"
|
1093
1252
|
},
|
1094
1253
|
{
|
1095
1254
|
"name": "open",
|
@@ -1099,23 +1258,23 @@
|
|
1099
1258
|
{
|
1100
1259
|
"name": "placement",
|
1101
1260
|
"description": "Placement of the Drawer",
|
1102
|
-
"type": "
|
1103
|
-
}
|
1104
|
-
{ "name": "_clickstartInDialog", "type": "boolean" },
|
1105
|
-
{ "name": "_handleMouseDown" },
|
1106
|
-
{ "name": "_handleMouseUp" }
|
1261
|
+
"type": "Placement"
|
1262
|
+
}
|
1107
1263
|
],
|
1108
1264
|
"events": [
|
1109
1265
|
{
|
1110
1266
|
"name": "skf-drawer-opened",
|
1267
|
+
"type": "CustomEvent",
|
1111
1268
|
"description": "Fires when the drawer is opened (after transitioned in)"
|
1112
1269
|
},
|
1113
1270
|
{
|
1114
1271
|
"name": "skf-drawer-closing",
|
1115
|
-
"
|
1272
|
+
"type": "CustomEvent",
|
1273
|
+
"description": "Fires when the drawer is closing (before transitioned out)"
|
1116
1274
|
},
|
1117
1275
|
{
|
1118
1276
|
"name": "skf-drawer-closed",
|
1277
|
+
"type": "CustomEvent",
|
1119
1278
|
"description": "Fires when the drawer is closed (after transitioned out)"
|
1120
1279
|
}
|
1121
1280
|
]
|
@@ -1123,7 +1282,7 @@
|
|
1123
1282
|
},
|
1124
1283
|
{
|
1125
1284
|
"name": "skf-logo",
|
1126
|
-
"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)_",
|
1127
1286
|
"doc-url": "",
|
1128
1287
|
"attributes": [
|
1129
1288
|
{
|
@@ -1134,10 +1293,7 @@
|
|
1134
1293
|
{
|
1135
1294
|
"name": "color",
|
1136
1295
|
"description": "Defines the color of the logo",
|
1137
|
-
"value": {
|
1138
|
-
"type": "\"primary\" | \"secondary\" | \"inverse\"",
|
1139
|
-
"default": "'primary'"
|
1140
|
-
}
|
1296
|
+
"value": { "type": "SkfLogoColor", "default": "'primary'" }
|
1141
1297
|
}
|
1142
1298
|
],
|
1143
1299
|
"events": [],
|
@@ -1151,8 +1307,167 @@
|
|
1151
1307
|
{
|
1152
1308
|
"name": "color",
|
1153
1309
|
"description": "Defines the color of the logo",
|
1154
|
-
"type": "
|
1310
|
+
"type": "SkfLogoColor"
|
1311
|
+
}
|
1312
|
+
],
|
1313
|
+
"events": []
|
1314
|
+
}
|
1315
|
+
},
|
1316
|
+
{
|
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",
|
1319
|
+
"doc-url": "",
|
1320
|
+
"attributes": [
|
1321
|
+
{
|
1322
|
+
"name": "as",
|
1323
|
+
"description": "Defines the semantic element to render",
|
1324
|
+
"value": { "type": "'button' | 'link'", "default": "'link'" }
|
1325
|
+
},
|
1326
|
+
{
|
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"
|
1155
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" }
|
1156
1471
|
],
|
1157
1472
|
"events": []
|
1158
1473
|
}
|
@@ -1162,8 +1477,14 @@
|
|
1162
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",
|
1163
1478
|
"doc-url": "",
|
1164
1479
|
"attributes": [
|
1480
|
+
{
|
1481
|
+
"name": "lang",
|
1482
|
+
"description": "Sets the internal language of the component",
|
1483
|
+
"value": { "type": "Language", "default": "'en'" }
|
1484
|
+
},
|
1165
1485
|
{
|
1166
1486
|
"name": "vertical",
|
1487
|
+
"description": "If true, the navigation will be displayed vertically",
|
1167
1488
|
"value": { "type": "boolean", "default": "false" }
|
1168
1489
|
}
|
1169
1490
|
],
|
@@ -1172,24 +1493,35 @@
|
|
1172
1493
|
],
|
1173
1494
|
"events": [],
|
1174
1495
|
"js": {
|
1175
|
-
"properties": [
|
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
|
+
],
|
1176
1508
|
"events": []
|
1177
1509
|
}
|
1178
1510
|
},
|
1179
1511
|
{
|
1180
1512
|
"name": "skf-header",
|
1181
|
-
"description": "The `<skf-header>` component is to be used as the site-header in the app
|
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",
|
1182
1514
|
"doc-url": "",
|
1183
1515
|
"attributes": [
|
1184
1516
|
{
|
1185
1517
|
"name": "compact",
|
1186
1518
|
"description": "If true, sets header to display in compact mode only (hanburger menu and drawer)",
|
1187
|
-
"value": { "type": "
|
1519
|
+
"value": { "type": "string" }
|
1188
1520
|
},
|
1189
1521
|
{
|
1190
|
-
"name": "
|
1191
|
-
"description": "
|
1192
|
-
"value": { "type": "
|
1522
|
+
"name": "lang",
|
1523
|
+
"description": "Sets the internal language of the component",
|
1524
|
+
"value": { "type": "Language", "default": "'en'" }
|
1193
1525
|
},
|
1194
1526
|
{
|
1195
1527
|
"name": "site-name",
|
@@ -1208,13 +1540,12 @@
|
|
1208
1540
|
"properties": [
|
1209
1541
|
{
|
1210
1542
|
"name": "compact",
|
1211
|
-
"description": "If true, sets header to display in compact mode only (hanburger menu and drawer)"
|
1212
|
-
"type": "boolean"
|
1543
|
+
"description": "If true, sets header to display in compact mode only (hanburger menu and drawer)"
|
1213
1544
|
},
|
1214
1545
|
{
|
1215
|
-
"name": "
|
1216
|
-
"description": "
|
1217
|
-
"type": "
|
1546
|
+
"name": "lang",
|
1547
|
+
"description": "Sets the internal language of the component",
|
1548
|
+
"type": "Language"
|
1218
1549
|
},
|
1219
1550
|
{
|
1220
1551
|
"name": "siteName",
|
@@ -1232,41 +1563,26 @@
|
|
1232
1563
|
},
|
1233
1564
|
{
|
1234
1565
|
"name": "skf-input",
|
1235
|
-
"description": "The skf-text-field is used to create a text input field. It can be used inside a form element or standalone
|
1566
|
+
"description": "The skf-text-field is used to create a text input field. It can be used inside a form element or standalone\n\nSee [zeroheight](https://zeroheight.com/853e936c9/p/9481fa-input-field) for design principles\n---\n\n\n### **Events:**\n - **change** - Fires when the value of the input changes\n- **invalid** - Fires when the input is invalid\n\n### **Slots:**\n - _default_ - The Inputs label. Alternatively, you can use the `label` attribute.",
|
1236
1567
|
"doc-url": "",
|
1237
1568
|
"attributes": [
|
1238
1569
|
{
|
1239
1570
|
"name": "disabled",
|
1240
1571
|
"description": "If true, sets disabled state",
|
1241
|
-
"value": { "type": "boolean" }
|
1572
|
+
"value": { "type": "boolean", "default": "false" }
|
1242
1573
|
},
|
1243
1574
|
{
|
1244
1575
|
"name": "required",
|
1245
1576
|
"description": "If true, value is required or must be checked for the form to be submittable",
|
1246
|
-
"value": { "type": "boolean" }
|
1577
|
+
"value": { "type": "boolean", "default": "false" }
|
1247
1578
|
},
|
1248
1579
|
{
|
1249
1580
|
"name": "autocomplete",
|
1250
|
-
"description": "
|
1581
|
+
"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.",
|
1251
1582
|
"value": {
|
1252
|
-
"type": "'
|
1583
|
+
"type": "HTMLInputElement['autocomplete'] | undefined"
|
1253
1584
|
}
|
1254
1585
|
},
|
1255
|
-
{
|
1256
|
-
"name": "button-aria-label-clear",
|
1257
|
-
"description": "Custom aria-label for the clear button. **Notice!** Only applicable to type=search.",
|
1258
|
-
"value": { "type": "string", "default": "'Clear input'" }
|
1259
|
-
},
|
1260
|
-
{
|
1261
|
-
"name": "button-aria-label-hide",
|
1262
|
-
"description": "Custom aria-label for the visibility button. **Notice!** Only applicable to type=password.",
|
1263
|
-
"value": { "type": "string", "default": "'Hide password'" }
|
1264
|
-
},
|
1265
|
-
{
|
1266
|
-
"name": "button-aria-label-show",
|
1267
|
-
"description": "Custom aria-label for the visibility button **Notice!** Only applicable to type=password.",
|
1268
|
-
"value": { "type": "string", "default": "'Show password'" }
|
1269
|
-
},
|
1270
1586
|
{
|
1271
1587
|
"name": "custom-invalid",
|
1272
1588
|
"description": "If defined, forces component to invalid state until removed. Its value is used as hint text.",
|
@@ -1275,12 +1591,12 @@
|
|
1275
1591
|
{
|
1276
1592
|
"name": "debug",
|
1277
1593
|
"description": "If true, outputs helping hints in console",
|
1278
|
-
"value": { "type": "boolean
|
1594
|
+
"value": { "type": "boolean", "default": "false" }
|
1279
1595
|
},
|
1280
1596
|
{
|
1281
1597
|
"name": "hide-label",
|
1282
1598
|
"description": "If true, hides the label visually",
|
1283
|
-
"value": { "type": "boolean
|
1599
|
+
"value": { "type": "boolean", "default": "false" }
|
1284
1600
|
},
|
1285
1601
|
{
|
1286
1602
|
"name": "hint",
|
@@ -1289,9 +1605,9 @@
|
|
1289
1605
|
},
|
1290
1606
|
{
|
1291
1607
|
"name": "inputmode",
|
1292
|
-
"description": "
|
1608
|
+
"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.",
|
1293
1609
|
"value": {
|
1294
|
-
"type": "'
|
1610
|
+
"type": "HTMLInputElement['inputMode']",
|
1295
1611
|
"default": "'text'"
|
1296
1612
|
}
|
1297
1613
|
},
|
@@ -1300,6 +1616,11 @@
|
|
1300
1616
|
"description": "If defined, sets the input's label. Alternatively, you can use the `label` attribute.",
|
1301
1617
|
"value": { "type": "string | undefined" }
|
1302
1618
|
},
|
1619
|
+
{
|
1620
|
+
"name": "lang",
|
1621
|
+
"description": "Sets the internal language of the component",
|
1622
|
+
"value": { "type": "Language", "default": "'en'" }
|
1623
|
+
},
|
1303
1624
|
{
|
1304
1625
|
"name": "leading",
|
1305
1626
|
"description": "If defined, displays a prefix/adornment before the input-element",
|
@@ -1343,22 +1664,17 @@
|
|
1343
1664
|
{
|
1344
1665
|
"name": "readonly",
|
1345
1666
|
"description": "If true, makes the element not mutable, meaning the user can not edit the control",
|
1346
|
-
"value": { "type": "boolean
|
1347
|
-
},
|
1348
|
-
{
|
1349
|
-
"name": "required-label",
|
1350
|
-
"description": "If defined, renders an alternative A11y text for the asterisk",
|
1351
|
-
"value": { "type": "string | undefined" }
|
1667
|
+
"value": { "type": "boolean", "default": "false" }
|
1352
1668
|
},
|
1353
1669
|
{
|
1354
1670
|
"name": "severity",
|
1355
1671
|
"description": "If defined, displays provided severity state",
|
1356
|
-
"value": { "type": "
|
1672
|
+
"value": { "type": "FormFieldSeverity | undefined" }
|
1357
1673
|
},
|
1358
1674
|
{
|
1359
1675
|
"name": "show-valid",
|
1360
1676
|
"description": "If true, displays valid state after interaction",
|
1361
|
-
"value": { "type": "boolean
|
1677
|
+
"value": { "type": "boolean", "default": "false" }
|
1362
1678
|
},
|
1363
1679
|
{
|
1364
1680
|
"name": "size",
|
@@ -1372,9 +1688,9 @@
|
|
1372
1688
|
},
|
1373
1689
|
{
|
1374
1690
|
"name": "type",
|
1375
|
-
"description": "Type of input
|
1691
|
+
"description": "Type of input",
|
1376
1692
|
"value": {
|
1377
|
-
"type": "'
|
1693
|
+
"type": "'email' | 'number' | 'password' | 'search' | 'tel' | 'text' | 'url'",
|
1378
1694
|
"default": "'text'"
|
1379
1695
|
}
|
1380
1696
|
},
|
@@ -1389,7 +1705,7 @@
|
|
1389
1705
|
{
|
1390
1706
|
"name": "value",
|
1391
1707
|
"description": "The current value of the input field",
|
1392
|
-
"value": { "type": "string"
|
1708
|
+
"value": { "type": "string" }
|
1393
1709
|
}
|
1394
1710
|
],
|
1395
1711
|
"slots": [
|
@@ -1401,10 +1717,12 @@
|
|
1401
1717
|
"events": [
|
1402
1718
|
{
|
1403
1719
|
"name": "change",
|
1720
|
+
"type": "CustomEvent",
|
1404
1721
|
"description": "Fires when the value of the input changes"
|
1405
1722
|
},
|
1406
1723
|
{
|
1407
1724
|
"name": "invalid",
|
1725
|
+
"type": "CustomEvent",
|
1408
1726
|
"description": "Fires when the input is invalid"
|
1409
1727
|
}
|
1410
1728
|
],
|
@@ -1412,23 +1730,8 @@
|
|
1412
1730
|
"properties": [
|
1413
1731
|
{
|
1414
1732
|
"name": "autocomplete",
|
1415
|
-
"description": "
|
1416
|
-
"type": "'
|
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"
|
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"
|
1432
1735
|
},
|
1433
1736
|
{
|
1434
1737
|
"name": "customInvalid",
|
@@ -1437,12 +1740,12 @@
|
|
1437
1740
|
{
|
1438
1741
|
"name": "debug",
|
1439
1742
|
"description": "If true, outputs helping hints in console",
|
1440
|
-
"type": "boolean
|
1743
|
+
"type": "boolean"
|
1441
1744
|
},
|
1442
1745
|
{
|
1443
1746
|
"name": "hideLabel",
|
1444
1747
|
"description": "If true, hides the label visually",
|
1445
|
-
"type": "boolean
|
1748
|
+
"type": "boolean"
|
1446
1749
|
},
|
1447
1750
|
{
|
1448
1751
|
"name": "hint",
|
@@ -1451,14 +1754,19 @@
|
|
1451
1754
|
},
|
1452
1755
|
{
|
1453
1756
|
"name": "inputmode",
|
1454
|
-
"description": "
|
1455
|
-
"type": "'
|
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']"
|
1456
1759
|
},
|
1457
1760
|
{
|
1458
1761
|
"name": "label",
|
1459
1762
|
"description": "If defined, sets the input's label. Alternatively, you can use the `label` attribute.",
|
1460
1763
|
"type": "string | undefined"
|
1461
1764
|
},
|
1765
|
+
{
|
1766
|
+
"name": "lang",
|
1767
|
+
"description": "Sets the internal language of the component",
|
1768
|
+
"type": "Language"
|
1769
|
+
},
|
1462
1770
|
{
|
1463
1771
|
"name": "leading",
|
1464
1772
|
"description": "If defined, displays a prefix/adornment before the input-element",
|
@@ -1502,22 +1810,17 @@
|
|
1502
1810
|
{
|
1503
1811
|
"name": "readonly",
|
1504
1812
|
"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"
|
1813
|
+
"type": "boolean"
|
1511
1814
|
},
|
1512
1815
|
{
|
1513
1816
|
"name": "severity",
|
1514
1817
|
"description": "If defined, displays provided severity state",
|
1515
|
-
"type": "
|
1818
|
+
"type": "FormFieldSeverity | undefined"
|
1516
1819
|
},
|
1517
1820
|
{
|
1518
1821
|
"name": "showValid",
|
1519
1822
|
"description": "If true, displays valid state after interaction",
|
1520
|
-
"type": "boolean
|
1823
|
+
"type": "boolean"
|
1521
1824
|
},
|
1522
1825
|
{
|
1523
1826
|
"name": "size",
|
@@ -1531,8 +1834,8 @@
|
|
1531
1834
|
},
|
1532
1835
|
{
|
1533
1836
|
"name": "type",
|
1534
|
-
"description": "Type of input
|
1535
|
-
"type": "'
|
1837
|
+
"description": "Type of input",
|
1838
|
+
"type": "'email' | 'number' | 'password' | 'search' | 'tel' | 'text' | 'url'"
|
1536
1839
|
},
|
1537
1840
|
{
|
1538
1841
|
"name": "validateOn",
|
@@ -1541,49 +1844,47 @@
|
|
1541
1844
|
},
|
1542
1845
|
{
|
1543
1846
|
"name": "value",
|
1544
|
-
"description": "The current value of the input field"
|
1545
|
-
"type": "string"
|
1847
|
+
"description": "The current value of the input field"
|
1546
1848
|
}
|
1547
1849
|
],
|
1548
1850
|
"events": [
|
1549
1851
|
{
|
1550
1852
|
"name": "change",
|
1853
|
+
"type": "CustomEvent",
|
1551
1854
|
"description": "Fires when the value of the input changes"
|
1552
1855
|
},
|
1553
1856
|
{
|
1554
1857
|
"name": "invalid",
|
1858
|
+
"type": "CustomEvent",
|
1555
1859
|
"description": "Fires when the input is invalid"
|
1556
1860
|
}
|
1557
1861
|
]
|
1558
1862
|
}
|
1559
1863
|
},
|
1560
1864
|
{
|
1561
|
-
"name": "skf-
|
1562
|
-
"description": "The `<skf-
|
1865
|
+
"name": "skf-menu-item",
|
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",
|
1563
1867
|
"doc-url": "",
|
1564
1868
|
"attributes": [
|
1565
1869
|
{
|
1566
1870
|
"name": "as",
|
1567
1871
|
"description": "Defines the semantic element to render",
|
1568
|
-
"value": { "type": "'button' | '
|
1872
|
+
"value": { "type": "'button' | 'link'", "default": "'link'" }
|
1569
1873
|
},
|
1570
1874
|
{
|
1571
1875
|
"name": "color",
|
1572
1876
|
"description": "Defines the text-color",
|
1573
|
-
"value": {
|
1574
|
-
"type": "'primary' | 'inverse'",
|
1575
|
-
"default": "'primary'"
|
1576
|
-
}
|
1877
|
+
"value": { "type": "Color", "default": "'primary'" }
|
1577
1878
|
},
|
1578
1879
|
{
|
1579
1880
|
"name": "disabled",
|
1580
1881
|
"description": "If true, disables the link",
|
1581
|
-
"value": { "type": "boolean
|
1882
|
+
"value": { "type": "boolean", "default": "false" }
|
1582
1883
|
},
|
1583
1884
|
{
|
1584
1885
|
"name": "download",
|
1585
1886
|
"description": "If defined, downloads the url",
|
1586
|
-
"value": { "type": "
|
1887
|
+
"value": { "type": "boolean", "default": "false" }
|
1587
1888
|
},
|
1588
1889
|
{
|
1589
1890
|
"name": "href",
|
@@ -1593,14 +1894,12 @@
|
|
1593
1894
|
{
|
1594
1895
|
"name": "icon",
|
1595
1896
|
"description": "If defined, renders an icon before or after the text",
|
1596
|
-
"value": {
|
1597
|
-
"type": "\"arrowDown\" | \"arrowDownUp\" | \"arrowLeft\" | \"arrowRight\" | \"arrowUp\" | \"article\" | \"artificialIntelligence\" | \"asset\" | \"attachment\" | \"bandCursor\" | \"bands\" | \"batteryEmpty\" | \"batteryFull\" | \"batteryLow\" | \"bearingFault\" | \"book\" | \"bulb\" | \"burger\" | \"cPM\" | \"calendar\" | \"calendarBooked\" | \"calendarEmpty\" | \"calendarNotBooked\" | \"calendarRecurring\" | \"caretDown\" | \"caretUp\" | \"caretUpDown\" | \"chat\" | \"check\" | \"checkCircle\" | \"checkSmall\" | \"chevronDown\" | \"chevronLeft\" | \"chevronRight\" | \"chevronUp\" | \"chevronUpDown\" | \"close\" | \"closeAllFaults\" | \"closeFault\" | \"closeSmall\" | \"columnGraph\" | \"comment\" | \"connection1\" | \"connection2\" | \"connection3\" | \"connection4\" | \"danger\" | \"defectFrequencies\" | \"defectFrequenciesAlternative\" | \"doubleChevronLeft\" | \"doubleChevronRight\" | \"download\" | \"draft\" | \"draftFilled\" | \"draftOutlined\" | \"dragNDrop\" | \"drop\" | \"duplicate\" | \"edit\" | \"emailFilled\" | \"emailOutlined\" | \"exclamation\" | \"eye\" | \"eyeHidden\" | \"eyeVisible\" | \"filter\" | \"forbidden\" | \"fullScreen\" | \"fullScreenExit\" | \"functionalLocation\" | \"harmonicCursor\" | \"heatmap\" | \"hierarchy\" | \"history\" | \"historyAlt\" | \"hourglassFramedFilled\" | \"hourglassFramedOutlined\" | \"hourglassOutlined\" | \"hz\" | \"iMX\" | \"image\" | \"infoCircleFilled\" | \"infoCircleOutlined\" | \"integration\" | \"kebab\" | \"link\" | \"listGroup\" | \"listItem\" | \"locationPin\" | \"lock\" | \"logOut\" | \"meatballs\" | \"microphone\" | \"minus\" | \"minusSmall\" | \"noData\" | \"o\" | \"openInNew\" | \"overlayBaseline\" | \"pDF\" | \"paper\" | \"pause\" | \"pieChart\" | \"pin\" | \"play\" | \"plus\" | \"powerOff\" | \"printer\" | \"proCollect\" | \"recAction\" | \"received\" | \"refresh\" | \"reorder\" | \"replace\" | \"reply\" | \"rewalkableRoute\" | \"routes\" | \"search\" | \"send\" | \"sensorA\" | \"sensorB\" | \"settings\" | \"sidebandCursor\" | \"singleCursor\" | \"spectrum\" | \"starFilled\" | \"starOutlined\" | \"statusCircle\" | \"stop\" | \"structuralVibration\" | \"sync\" | \"timewave\" | \"trash\" | \"trend\" | \"trendingUp\" | \"undo\" | \"unknownCircle\" | \"unknownDiamond\" | \"unlink\" | \"unlock\" | \"unscheduledAction\" | \"upload\" | \"user\" | \"viewFull\" | \"viewHorizontal\" | \"viewVertical\" | \"warning\" | \"warningCircle\" | \"warningDiamond\" | \"zoomIn\" | \"zoomOut\""
|
1598
|
-
}
|
1897
|
+
"value": { "type": "Icon | undefined" }
|
1599
1898
|
},
|
1600
1899
|
{
|
1601
|
-
"name": "icon-
|
1602
|
-
"description": "
|
1603
|
-
"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" }
|
1604
1903
|
},
|
1605
1904
|
{
|
1606
1905
|
"name": "rel",
|
@@ -1609,7 +1908,7 @@
|
|
1609
1908
|
},
|
1610
1909
|
{
|
1611
1910
|
"name": "route",
|
1612
|
-
"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.",
|
1613
1912
|
"value": { "type": "string | undefined" }
|
1614
1913
|
},
|
1615
1914
|
{
|
@@ -1623,39 +1922,39 @@
|
|
1623
1922
|
"value": {
|
1624
1923
|
"type": "'_blank' | '_parent' | '_self' | '_top' | undefined"
|
1625
1924
|
}
|
1626
|
-
},
|
1627
|
-
{
|
1628
|
-
"name": "type",
|
1629
|
-
"description": "Defines the type of button",
|
1630
|
-
"value": {
|
1631
|
-
"type": "'button' | 'submit' | 'reset'",
|
1632
|
-
"default": "'button'"
|
1633
|
-
}
|
1634
1925
|
}
|
1635
1926
|
],
|
1636
|
-
"slots": [
|
1637
|
-
|
1638
|
-
|
1639
|
-
|
1927
|
+
"slots": [
|
1928
|
+
{ "name": "", "description": "The component's main content" }
|
1929
|
+
],
|
1930
|
+
"events": [
|
1931
|
+
{
|
1932
|
+
"name": "skf-link-click",
|
1933
|
+
"type": "CustomEvent",
|
1934
|
+
"description": "Fired when the link is clicked"
|
1935
|
+
}
|
1936
|
+
],
|
1937
|
+
"js": {
|
1938
|
+
"properties": [
|
1640
1939
|
{
|
1641
1940
|
"name": "as",
|
1642
1941
|
"description": "Defines the semantic element to render",
|
1643
|
-
"type": "'button' | '
|
1942
|
+
"type": "'button' | 'link'"
|
1644
1943
|
},
|
1645
1944
|
{
|
1646
1945
|
"name": "color",
|
1647
1946
|
"description": "Defines the text-color",
|
1648
|
-
"type": "
|
1947
|
+
"type": "Color"
|
1649
1948
|
},
|
1650
1949
|
{
|
1651
1950
|
"name": "disabled",
|
1652
1951
|
"description": "If true, disables the link",
|
1653
|
-
"type": "boolean
|
1952
|
+
"type": "boolean"
|
1654
1953
|
},
|
1655
1954
|
{
|
1656
1955
|
"name": "download",
|
1657
1956
|
"description": "If defined, downloads the url",
|
1658
|
-
"type": "
|
1957
|
+
"type": "boolean"
|
1659
1958
|
},
|
1660
1959
|
{
|
1661
1960
|
"name": "href",
|
@@ -1665,12 +1964,12 @@
|
|
1665
1964
|
{
|
1666
1965
|
"name": "icon",
|
1667
1966
|
"description": "If defined, renders an icon before or after the text",
|
1668
|
-
"type": "
|
1967
|
+
"type": "Icon | undefined"
|
1669
1968
|
},
|
1670
1969
|
{
|
1671
|
-
"name": "
|
1672
|
-
"description": "
|
1673
|
-
"type": "
|
1970
|
+
"name": "iconRight",
|
1971
|
+
"description": "If true, the icon is placed to the right in relation to the text",
|
1972
|
+
"type": "boolean"
|
1674
1973
|
},
|
1675
1974
|
{
|
1676
1975
|
"name": "rel",
|
@@ -1679,7 +1978,7 @@
|
|
1679
1978
|
},
|
1680
1979
|
{
|
1681
1980
|
"name": "route",
|
1682
|
-
"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.",
|
1683
1982
|
"type": "string | undefined"
|
1684
1983
|
},
|
1685
1984
|
{
|
@@ -1691,24 +1990,20 @@
|
|
1691
1990
|
"name": "target",
|
1692
1991
|
"description": "If defined, specifies where to open the linked document",
|
1693
1992
|
"type": "'_blank' | '_parent' | '_self' | '_top' | undefined"
|
1694
|
-
},
|
1695
|
-
{
|
1696
|
-
"name": "type",
|
1697
|
-
"description": "Defines the type of button",
|
1698
|
-
"type": "'button' | 'submit' | 'reset'"
|
1699
|
-
},
|
1700
|
-
{
|
1701
|
-
"name": "onClick",
|
1702
|
-
"description": "If provided, custom function triggered by click where the second return parameter enables custom routing.",
|
1703
|
-
"type": "function"
|
1704
1993
|
}
|
1705
1994
|
],
|
1706
|
-
"events": [
|
1995
|
+
"events": [
|
1996
|
+
{
|
1997
|
+
"name": "skf-link-click",
|
1998
|
+
"type": "CustomEvent",
|
1999
|
+
"description": "Fired when the link is clicked"
|
2000
|
+
}
|
2001
|
+
]
|
1707
2002
|
}
|
1708
2003
|
},
|
1709
2004
|
{
|
1710
2005
|
"name": "skf-menu",
|
1711
|
-
"description": "The `<skf-menu>` is a component that displays a list of actions or options
|
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",
|
1712
2007
|
"doc-url": "",
|
1713
2008
|
"attributes": [
|
1714
2009
|
{
|
@@ -1725,280 +2020,54 @@
|
|
1725
2020
|
"value": { "type": "string" }
|
1726
2021
|
}
|
1727
2022
|
],
|
1728
|
-
"slots": [{ "name": "", "description": "The menu
|
2023
|
+
"slots": [{ "name": "", "description": "The menu content" }],
|
1729
2024
|
"events": [
|
1730
2025
|
{
|
1731
2026
|
"name": "skf-opened",
|
2027
|
+
"type": "CustomEvent",
|
1732
2028
|
"description": "Fired when the menu is opened"
|
1733
2029
|
},
|
1734
2030
|
{
|
1735
2031
|
"name": "skf-closed",
|
1736
|
-
"description": "Fired when the menu is closed"
|
1737
|
-
}
|
1738
|
-
],
|
1739
|
-
"js": {
|
1740
|
-
"properties": [
|
1741
|
-
{ "name": "placement", "type": "string" },
|
1742
|
-
{ "name": "triggerEvent", "type": "string" }
|
1743
|
-
],
|
1744
|
-
"events": [
|
1745
|
-
{
|
1746
|
-
"name": "skf-opened",
|
1747
|
-
"description": "Fired when the menu is opened"
|
1748
|
-
},
|
1749
|
-
{
|
1750
|
-
"name": "skf-closed",
|
1751
|
-
"description": "Fired when the menu is closed"
|
1752
|
-
}
|
1753
|
-
]
|
1754
|
-
}
|
1755
|
-
},
|
1756
|
-
{
|
1757
|
-
"name": "skf-menu-item",
|
1758
|
-
"description": "The `<skf-menu-item>` is a component that displays a list of actions or options.\n---\n\n\n### **Events:**\n - **my-tag-my-event** - Fired when something happens\n- **click** - Fired when the component is clicked\n- **mouseover** - Fired when the mouse is over the component\n- **mouseout** - Fired when the mouse is out of the component\n- **focus** - Fired when the component is focused\n- **blur** - Fired when the component is blurred\n- **change** - Fired when the component's value changes\n\n### **Slots:**\n - _default_ - The component's main content\n- **my-named-slot** - A named slot of the component",
|
1759
|
-
"doc-url": "",
|
1760
|
-
"attributes": [
|
1761
|
-
{
|
1762
|
-
"name": "as",
|
1763
|
-
"description": "Defines the semantic element to render",
|
1764
|
-
"value": { "type": "'button' | 'a'", "default": "'a'" }
|
1765
|
-
},
|
1766
|
-
{
|
1767
|
-
"name": "color",
|
1768
|
-
"description": "Defines the text-color",
|
1769
|
-
"value": {
|
1770
|
-
"type": "'primary' | 'inverse'",
|
1771
|
-
"default": "'primary'"
|
1772
|
-
}
|
1773
|
-
},
|
1774
|
-
{
|
1775
|
-
"name": "disabled",
|
1776
|
-
"description": "If true, disables the link",
|
1777
|
-
"value": { "type": "boolean | undefined" }
|
1778
|
-
},
|
1779
|
-
{
|
1780
|
-
"name": "download",
|
1781
|
-
"description": "If defined, downloads the url",
|
1782
|
-
"value": { "type": "string | undefined" }
|
1783
|
-
},
|
1784
|
-
{
|
1785
|
-
"name": "href",
|
1786
|
-
"description": "If defined, loads url on click",
|
1787
|
-
"value": { "type": "string | undefined" }
|
1788
|
-
},
|
1789
|
-
{
|
1790
|
-
"name": "icon",
|
1791
|
-
"description": "If defined, renders an icon before or after the text",
|
1792
|
-
"value": {
|
1793
|
-
"type": "\"arrowDown\" | \"arrowDownUp\" | \"arrowLeft\" | \"arrowRight\" | \"arrowUp\" | \"article\" | \"artificialIntelligence\" | \"asset\" | \"attachment\" | \"bandCursor\" | \"bands\" | \"batteryEmpty\" | \"batteryFull\" | \"batteryLow\" | \"bearingFault\" | \"book\" | \"bulb\" | \"burger\" | \"cPM\" | \"calendar\" | \"calendarBooked\" | \"calendarEmpty\" | \"calendarNotBooked\" | \"calendarRecurring\" | \"caretDown\" | \"caretUp\" | \"caretUpDown\" | \"chat\" | \"check\" | \"checkCircle\" | \"checkSmall\" | \"chevronDown\" | \"chevronLeft\" | \"chevronRight\" | \"chevronUp\" | \"chevronUpDown\" | \"close\" | \"closeAllFaults\" | \"closeFault\" | \"closeSmall\" | \"columnGraph\" | \"comment\" | \"connection1\" | \"connection2\" | \"connection3\" | \"connection4\" | \"danger\" | \"defectFrequencies\" | \"defectFrequenciesAlternative\" | \"doubleChevronLeft\" | \"doubleChevronRight\" | \"download\" | \"draft\" | \"draftFilled\" | \"draftOutlined\" | \"dragNDrop\" | \"drop\" | \"duplicate\" | \"edit\" | \"emailFilled\" | \"emailOutlined\" | \"exclamation\" | \"eye\" | \"eyeHidden\" | \"eyeVisible\" | \"filter\" | \"forbidden\" | \"fullScreen\" | \"fullScreenExit\" | \"functionalLocation\" | \"harmonicCursor\" | \"heatmap\" | \"hierarchy\" | \"history\" | \"historyAlt\" | \"hourglassFramedFilled\" | \"hourglassFramedOutlined\" | \"hourglassOutlined\" | \"hz\" | \"iMX\" | \"image\" | \"infoCircleFilled\" | \"infoCircleOutlined\" | \"integration\" | \"kebab\" | \"link\" | \"listGroup\" | \"listItem\" | \"locationPin\" | \"lock\" | \"logOut\" | \"meatballs\" | \"microphone\" | \"minus\" | \"minusSmall\" | \"noData\" | \"o\" | \"openInNew\" | \"overlayBaseline\" | \"pDF\" | \"paper\" | \"pause\" | \"pieChart\" | \"pin\" | \"play\" | \"plus\" | \"powerOff\" | \"printer\" | \"proCollect\" | \"recAction\" | \"received\" | \"refresh\" | \"reorder\" | \"replace\" | \"reply\" | \"rewalkableRoute\" | \"routes\" | \"search\" | \"send\" | \"sensorA\" | \"sensorB\" | \"settings\" | \"sidebandCursor\" | \"singleCursor\" | \"spectrum\" | \"starFilled\" | \"starOutlined\" | \"statusCircle\" | \"stop\" | \"structuralVibration\" | \"sync\" | \"timewave\" | \"trash\" | \"trend\" | \"trendingUp\" | \"undo\" | \"unknownCircle\" | \"unknownDiamond\" | \"unlink\" | \"unlock\" | \"unscheduledAction\" | \"upload\" | \"user\" | \"viewFull\" | \"viewHorizontal\" | \"viewVertical\" | \"warning\" | \"warningCircle\" | \"warningDiamond\" | \"zoomIn\" | \"zoomOut\""
|
1794
|
-
}
|
1795
|
-
},
|
1796
|
-
{
|
1797
|
-
"name": "icon-placement",
|
1798
|
-
"description": "Defines the position of the icon in relation to the text",
|
1799
|
-
"value": { "type": "'left' | 'right'", "default": "'left'" }
|
1800
|
-
},
|
1801
|
-
{
|
1802
|
-
"name": "rel",
|
1803
|
-
"description": "If defined, describes the relationship between a linked resource and the current document",
|
1804
|
-
"value": { "type": "string | undefined" }
|
1805
|
-
},
|
1806
|
-
{
|
1807
|
-
"name": "route",
|
1808
|
-
"description": "If defined, used on conjunction with onClick property, second argument",
|
1809
|
-
"value": { "type": "string | undefined" }
|
1810
|
-
},
|
1811
|
-
{
|
1812
|
-
"name": "stretch",
|
1813
|
-
"description": "If true, fills the parents horizontal axis",
|
1814
|
-
"value": { "type": "boolean", "default": "false" }
|
1815
|
-
},
|
1816
|
-
{
|
1817
|
-
"name": "target",
|
1818
|
-
"description": "If defined, specifies where to open the linked document",
|
1819
|
-
"value": {
|
1820
|
-
"type": "'_blank' | '_parent' | '_self' | '_top' | undefined"
|
1821
|
-
}
|
1822
|
-
},
|
1823
|
-
{
|
1824
|
-
"name": "type",
|
1825
|
-
"description": "Defines the type of button",
|
1826
|
-
"value": {
|
1827
|
-
"type": "'button' | 'submit' | 'reset'",
|
1828
|
-
"default": "'button'"
|
1829
|
-
}
|
1830
|
-
}
|
1831
|
-
],
|
1832
|
-
"slots": [
|
1833
|
-
{ "name": "", "description": "The component's main content" },
|
1834
|
-
{
|
1835
|
-
"name": "my-named-slot",
|
1836
|
-
"description": "A named slot of the component"
|
1837
|
-
}
|
1838
|
-
],
|
1839
|
-
"events": [
|
1840
|
-
{
|
1841
|
-
"name": "my-tag-my-event",
|
1842
2032
|
"type": "CustomEvent",
|
1843
|
-
"description": "Fired when
|
1844
|
-
},
|
1845
|
-
{
|
1846
|
-
"name": "click",
|
1847
|
-
"description": "Fired when the component is clicked"
|
1848
|
-
},
|
1849
|
-
{
|
1850
|
-
"name": "mouseover",
|
1851
|
-
"description": "Fired when the mouse is over the component"
|
1852
|
-
},
|
1853
|
-
{
|
1854
|
-
"name": "mouseout",
|
1855
|
-
"description": "Fired when the mouse is out of the component"
|
1856
|
-
},
|
1857
|
-
{
|
1858
|
-
"name": "focus",
|
1859
|
-
"description": "Fired when the component is focused"
|
1860
|
-
},
|
1861
|
-
{
|
1862
|
-
"name": "blur",
|
1863
|
-
"description": "Fired when the component is blurred"
|
1864
|
-
},
|
1865
|
-
{
|
1866
|
-
"name": "change",
|
1867
|
-
"description": "Fired when the component's value changes"
|
2033
|
+
"description": "Fired when the menu is closed"
|
1868
2034
|
}
|
1869
2035
|
],
|
1870
2036
|
"js": {
|
1871
2037
|
"properties": [
|
1872
2038
|
{
|
1873
|
-
"name": "
|
1874
|
-
"description": "
|
1875
|
-
"type": "
|
1876
|
-
},
|
1877
|
-
{
|
1878
|
-
"name": "color",
|
1879
|
-
"description": "Defines the text-color",
|
1880
|
-
"type": "'primary' | 'inverse'"
|
1881
|
-
},
|
1882
|
-
{
|
1883
|
-
"name": "disabled",
|
1884
|
-
"description": "If true, disables the link",
|
1885
|
-
"type": "boolean | undefined"
|
1886
|
-
},
|
1887
|
-
{
|
1888
|
-
"name": "download",
|
1889
|
-
"description": "If defined, downloads the url",
|
1890
|
-
"type": "string | undefined"
|
1891
|
-
},
|
1892
|
-
{
|
1893
|
-
"name": "href",
|
1894
|
-
"description": "If defined, loads url on click",
|
1895
|
-
"type": "string | undefined"
|
1896
|
-
},
|
1897
|
-
{
|
1898
|
-
"name": "icon",
|
1899
|
-
"description": "If defined, renders an icon before or after the text",
|
1900
|
-
"type": "\"arrowDown\" | \"arrowDownUp\" | \"arrowLeft\" | \"arrowRight\" | \"arrowUp\" | \"article\" | \"artificialIntelligence\" | \"asset\" | \"attachment\" | \"bandCursor\" | \"bands\" | \"batteryEmpty\" | \"batteryFull\" | \"batteryLow\" | \"bearingFault\" | \"book\" | \"bulb\" | \"burger\" | \"cPM\" | \"calendar\" | \"calendarBooked\" | \"calendarEmpty\" | \"calendarNotBooked\" | \"calendarRecurring\" | \"caretDown\" | \"caretUp\" | \"caretUpDown\" | \"chat\" | \"check\" | \"checkCircle\" | \"checkSmall\" | \"chevronDown\" | \"chevronLeft\" | \"chevronRight\" | \"chevronUp\" | \"chevronUpDown\" | \"close\" | \"closeAllFaults\" | \"closeFault\" | \"closeSmall\" | \"columnGraph\" | \"comment\" | \"connection1\" | \"connection2\" | \"connection3\" | \"connection4\" | \"danger\" | \"defectFrequencies\" | \"defectFrequenciesAlternative\" | \"doubleChevronLeft\" | \"doubleChevronRight\" | \"download\" | \"draft\" | \"draftFilled\" | \"draftOutlined\" | \"dragNDrop\" | \"drop\" | \"duplicate\" | \"edit\" | \"emailFilled\" | \"emailOutlined\" | \"exclamation\" | \"eye\" | \"eyeHidden\" | \"eyeVisible\" | \"filter\" | \"forbidden\" | \"fullScreen\" | \"fullScreenExit\" | \"functionalLocation\" | \"harmonicCursor\" | \"heatmap\" | \"hierarchy\" | \"history\" | \"historyAlt\" | \"hourglassFramedFilled\" | \"hourglassFramedOutlined\" | \"hourglassOutlined\" | \"hz\" | \"iMX\" | \"image\" | \"infoCircleFilled\" | \"infoCircleOutlined\" | \"integration\" | \"kebab\" | \"link\" | \"listGroup\" | \"listItem\" | \"locationPin\" | \"lock\" | \"logOut\" | \"meatballs\" | \"microphone\" | \"minus\" | \"minusSmall\" | \"noData\" | \"o\" | \"openInNew\" | \"overlayBaseline\" | \"pDF\" | \"paper\" | \"pause\" | \"pieChart\" | \"pin\" | \"play\" | \"plus\" | \"powerOff\" | \"printer\" | \"proCollect\" | \"recAction\" | \"received\" | \"refresh\" | \"reorder\" | \"replace\" | \"reply\" | \"rewalkableRoute\" | \"routes\" | \"search\" | \"send\" | \"sensorA\" | \"sensorB\" | \"settings\" | \"sidebandCursor\" | \"singleCursor\" | \"spectrum\" | \"starFilled\" | \"starOutlined\" | \"statusCircle\" | \"stop\" | \"structuralVibration\" | \"sync\" | \"timewave\" | \"trash\" | \"trend\" | \"trendingUp\" | \"undo\" | \"unknownCircle\" | \"unknownDiamond\" | \"unlink\" | \"unlock\" | \"unscheduledAction\" | \"upload\" | \"user\" | \"viewFull\" | \"viewHorizontal\" | \"viewVertical\" | \"warning\" | \"warningCircle\" | \"warningDiamond\" | \"zoomIn\" | \"zoomOut\""
|
1901
|
-
},
|
1902
|
-
{
|
1903
|
-
"name": "iconPlacement",
|
1904
|
-
"description": "Defines the position of the icon in relation to the text",
|
1905
|
-
"type": "'left' | 'right'"
|
1906
|
-
},
|
1907
|
-
{
|
1908
|
-
"name": "rel",
|
1909
|
-
"description": "If defined, describes the relationship between a linked resource and the current document",
|
1910
|
-
"type": "string | undefined"
|
1911
|
-
},
|
1912
|
-
{
|
1913
|
-
"name": "route",
|
1914
|
-
"description": "If defined, used on conjunction with onClick property, second argument",
|
1915
|
-
"type": "string | undefined"
|
1916
|
-
},
|
1917
|
-
{
|
1918
|
-
"name": "stretch",
|
1919
|
-
"description": "If true, fills the parents horizontal axis",
|
1920
|
-
"type": "boolean"
|
1921
|
-
},
|
1922
|
-
{
|
1923
|
-
"name": "target",
|
1924
|
-
"description": "If defined, specifies where to open the linked document",
|
1925
|
-
"type": "'_blank' | '_parent' | '_self' | '_top' | undefined"
|
1926
|
-
},
|
1927
|
-
{
|
1928
|
-
"name": "type",
|
1929
|
-
"description": "Defines the type of button",
|
1930
|
-
"type": "'button' | 'submit' | 'reset'"
|
2039
|
+
"name": "open()",
|
2040
|
+
"description": "Method that opens the menu",
|
2041
|
+
"type": "(void) => void"
|
1931
2042
|
},
|
1932
2043
|
{
|
1933
|
-
"name": "
|
1934
|
-
"description": "
|
1935
|
-
"type": "
|
2044
|
+
"name": "close()",
|
2045
|
+
"description": "Method that closes the menu",
|
2046
|
+
"type": "(void) => void"
|
1936
2047
|
}
|
1937
2048
|
],
|
1938
2049
|
"events": [
|
1939
2050
|
{
|
1940
|
-
"name": "
|
2051
|
+
"name": "skf-opened",
|
1941
2052
|
"type": "CustomEvent",
|
1942
|
-
"description": "Fired when
|
1943
|
-
},
|
1944
|
-
{
|
1945
|
-
"name": "click",
|
1946
|
-
"description": "Fired when the component is clicked"
|
1947
|
-
},
|
1948
|
-
{
|
1949
|
-
"name": "mouseover",
|
1950
|
-
"description": "Fired when the mouse is over the component"
|
1951
|
-
},
|
1952
|
-
{
|
1953
|
-
"name": "mouseout",
|
1954
|
-
"description": "Fired when the mouse is out of the component"
|
1955
|
-
},
|
1956
|
-
{
|
1957
|
-
"name": "focus",
|
1958
|
-
"description": "Fired when the component is focused"
|
1959
|
-
},
|
1960
|
-
{
|
1961
|
-
"name": "blur",
|
1962
|
-
"description": "Fired when the component is blurred"
|
2053
|
+
"description": "Fired when the menu is opened"
|
1963
2054
|
},
|
1964
2055
|
{
|
1965
|
-
"name": "
|
1966
|
-
"
|
2056
|
+
"name": "skf-closed",
|
2057
|
+
"type": "CustomEvent",
|
2058
|
+
"description": "Fired when the menu is closed"
|
1967
2059
|
}
|
1968
2060
|
]
|
1969
2061
|
}
|
1970
2062
|
},
|
1971
|
-
{
|
1972
|
-
"name": "skf-nav-item",
|
1973
|
-
"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",
|
1974
|
-
"doc-url": "",
|
1975
|
-
"attributes": [
|
1976
|
-
{ "name": "href", "value": { "type": "string", "default": "'#'" } },
|
1977
|
-
{
|
1978
|
-
"name": "icon",
|
1979
|
-
"value": { "type": "SkfLink['icon'] | undefined" }
|
1980
|
-
}
|
1981
|
-
],
|
1982
|
-
"slots": [
|
1983
|
-
{ "name": "", "description": "The component's main content" }
|
1984
|
-
],
|
1985
|
-
"events": [],
|
1986
|
-
"js": {
|
1987
|
-
"properties": [
|
1988
|
-
{ "name": "href", "type": "string" },
|
1989
|
-
{ "name": "icon", "type": "SkfLink['icon'] | undefined" }
|
1990
|
-
],
|
1991
|
-
"events": []
|
1992
|
-
}
|
1993
|
-
},
|
1994
2063
|
{
|
1995
2064
|
"name": "skf-popover",
|
1996
|
-
"description": "The `<skf-popover>` is a general purpose component that displays the slot content in a popover.\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",
|
1997
2066
|
"doc-url": "",
|
1998
2067
|
"attributes": [
|
1999
2068
|
{
|
2000
2069
|
"name": "placement",
|
2001
|
-
"description": "The placement of the
|
2070
|
+
"description": "The placement of the popover",
|
2002
2071
|
"value": {
|
2003
2072
|
"type": "\"top\" | \"right\" | \"bottom\" | \"left\" | \"top-start\" | \"top-end\" | \"right-start\" | \"right-end\" | \"bottom-start\" | \"bottom-end\" | \"left-start\" | \"left-end\"",
|
2004
2073
|
"default": "'bottom-start'"
|
@@ -2006,7 +2075,7 @@
|
|
2006
2075
|
},
|
2007
2076
|
{
|
2008
2077
|
"name": "anchor",
|
2009
|
-
"description": "The id of the element the
|
2078
|
+
"description": "The id of the element the popover will be anchored to",
|
2010
2079
|
"value": { "type": "string" }
|
2011
2080
|
},
|
2012
2081
|
{
|
@@ -2024,11 +2093,13 @@
|
|
2024
2093
|
"events": [
|
2025
2094
|
{
|
2026
2095
|
"name": "skf-opened",
|
2027
|
-
"
|
2096
|
+
"type": "CustomEvent",
|
2097
|
+
"description": "Fired when the popover is opened"
|
2028
2098
|
},
|
2029
2099
|
{
|
2030
2100
|
"name": "skf-closed",
|
2031
|
-
"
|
2101
|
+
"type": "CustomEvent",
|
2102
|
+
"description": "Fired when the popover is closed"
|
2032
2103
|
}
|
2033
2104
|
],
|
2034
2105
|
"js": {
|
@@ -2043,18 +2114,27 @@
|
|
2043
2114
|
"description": "If true, hides the arrow",
|
2044
2115
|
"type": "boolean"
|
2045
2116
|
},
|
2046
|
-
{
|
2047
|
-
|
2048
|
-
|
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"
|
2126
|
+
}
|
2049
2127
|
],
|
2050
2128
|
"events": [
|
2051
2129
|
{
|
2052
2130
|
"name": "skf-opened",
|
2053
|
-
"
|
2131
|
+
"type": "CustomEvent",
|
2132
|
+
"description": "Fired when the popover is opened"
|
2054
2133
|
},
|
2055
2134
|
{
|
2056
2135
|
"name": "skf-closed",
|
2057
|
-
"
|
2136
|
+
"type": "CustomEvent",
|
2137
|
+
"description": "Fired when the popover is closed"
|
2058
2138
|
}
|
2059
2139
|
]
|
2060
2140
|
}
|
@@ -2104,7 +2184,7 @@
|
|
2104
2184
|
},
|
2105
2185
|
{
|
2106
2186
|
"name": "skf-radio",
|
2107
|
-
"description": "The `<skf-radio>` component is used to create a radio input\n---\n\n\n### **Events:**\n - **change** -
|
2187
|
+
"description": "The `<skf-radio>` component is used to create a radio input\n\nSee [zeroheight](https://zeroheight.com/853e936c9/p/78d5dd-radio-button) for design principles\n---\n\n\n### **Events:**\n - **change** - When the value of the input changes\n\n### **Slots:**\n - _default_ - The radios label. Alternatively, you can use the `label` attribute.",
|
2108
2188
|
"doc-url": "",
|
2109
2189
|
"attributes": [
|
2110
2190
|
{
|
@@ -2138,13 +2218,13 @@
|
|
2138
2218
|
"value": { "type": "string | undefined" }
|
2139
2219
|
},
|
2140
2220
|
{
|
2141
|
-
"name": "
|
2142
|
-
"description": "
|
2143
|
-
"value": { "type": "
|
2221
|
+
"name": "lang",
|
2222
|
+
"description": "Sets the internal language of the component",
|
2223
|
+
"value": { "type": "Language", "default": "'en'" }
|
2144
2224
|
},
|
2145
2225
|
{
|
2146
|
-
"name": "
|
2147
|
-
"description": "If defined,
|
2226
|
+
"name": "name",
|
2227
|
+
"description": "If defined, adds name to the input-element",
|
2148
2228
|
"value": { "type": "string | undefined" }
|
2149
2229
|
},
|
2150
2230
|
{
|
@@ -2155,9 +2235,7 @@
|
|
2155
2235
|
{
|
2156
2236
|
"name": "severity",
|
2157
2237
|
"description": "If defined, displays provided severity state",
|
2158
|
-
"value": {
|
2159
|
-
"type": "\"success\" | \"info\" | \"warning\" | \"alert\""
|
2160
|
-
}
|
2238
|
+
"value": { "type": "FormFieldSeverity | undefined" }
|
2161
2239
|
},
|
2162
2240
|
{
|
2163
2241
|
"name": "show-valid",
|
@@ -2179,7 +2257,8 @@
|
|
2179
2257
|
"events": [
|
2180
2258
|
{
|
2181
2259
|
"name": "change",
|
2182
|
-
"
|
2260
|
+
"type": "Event",
|
2261
|
+
"description": "When the value of the input changes"
|
2183
2262
|
}
|
2184
2263
|
],
|
2185
2264
|
"js": {
|
@@ -2205,13 +2284,13 @@
|
|
2205
2284
|
"type": "string | undefined"
|
2206
2285
|
},
|
2207
2286
|
{
|
2208
|
-
"name": "
|
2209
|
-
"description": "
|
2210
|
-
"type": "
|
2287
|
+
"name": "lang",
|
2288
|
+
"description": "Sets the internal language of the component",
|
2289
|
+
"type": "Language"
|
2211
2290
|
},
|
2212
2291
|
{
|
2213
|
-
"name": "
|
2214
|
-
"description": "If defined,
|
2292
|
+
"name": "name",
|
2293
|
+
"description": "If defined, adds name to the input-element",
|
2215
2294
|
"type": "string | undefined"
|
2216
2295
|
},
|
2217
2296
|
{
|
@@ -2222,7 +2301,7 @@
|
|
2222
2301
|
{
|
2223
2302
|
"name": "severity",
|
2224
2303
|
"description": "If defined, displays provided severity state",
|
2225
|
-
"type": "
|
2304
|
+
"type": "FormFieldSeverity | undefined"
|
2226
2305
|
},
|
2227
2306
|
{
|
2228
2307
|
"name": "showValid",
|
@@ -2238,14 +2317,15 @@
|
|
2238
2317
|
"events": [
|
2239
2318
|
{
|
2240
2319
|
"name": "change",
|
2241
|
-
"
|
2320
|
+
"type": "Event",
|
2321
|
+
"description": "When the value of the input changes"
|
2242
2322
|
}
|
2243
2323
|
]
|
2244
2324
|
}
|
2245
2325
|
},
|
2246
2326
|
{
|
2247
2327
|
"name": "skf-segmented-button-item",
|
2248
|
-
"description": "The `<skf-segmented-button-item>` is used in conjunction with the `<skf-segmented-button>` component\n---\n\n\n### **Events:**\n - **
|
2328
|
+
"description": "The `<skf-segmented-button-item>` is used in conjunction with the `<skf-segmented-button>` component\n---\n\n\n### **Events:**\n - **skf-segmented-button-item-select** - Fired when selected\n\n### **Slots:**\n - _default_ - Label for the button",
|
2249
2329
|
"doc-url": "",
|
2250
2330
|
"attributes": [
|
2251
2331
|
{
|
@@ -2253,18 +2333,23 @@
|
|
2253
2333
|
"description": "If true, items is marked as disabled",
|
2254
2334
|
"value": { "type": "boolean", "default": "false" }
|
2255
2335
|
},
|
2336
|
+
{
|
2337
|
+
"name": "selected",
|
2338
|
+
"description": "If true, items is marked as selected",
|
2339
|
+
"value": { "type": "boolean", "default": "false" }
|
2340
|
+
},
|
2256
2341
|
{
|
2257
2342
|
"name": "value",
|
2258
2343
|
"description": "Sets the item value",
|
2259
2344
|
"value": { "type": "string", "default": "''" }
|
2260
2345
|
}
|
2261
2346
|
],
|
2262
|
-
"slots": [{ "name": "", "description": "
|
2347
|
+
"slots": [{ "name": "", "description": "Label for the button" }],
|
2263
2348
|
"events": [
|
2264
2349
|
{
|
2265
|
-
"name": "
|
2350
|
+
"name": "skf-segmented-button-item-select",
|
2266
2351
|
"type": "CustomEvent",
|
2267
|
-
"description": "Fired when
|
2352
|
+
"description": "Fired when selected"
|
2268
2353
|
}
|
2269
2354
|
],
|
2270
2355
|
"js": {
|
@@ -2274,6 +2359,11 @@
|
|
2274
2359
|
"description": "If true, items is marked as disabled",
|
2275
2360
|
"type": "boolean"
|
2276
2361
|
},
|
2362
|
+
{
|
2363
|
+
"name": "selected",
|
2364
|
+
"description": "If true, items is marked as selected",
|
2365
|
+
"type": "boolean"
|
2366
|
+
},
|
2277
2367
|
{
|
2278
2368
|
"name": "value",
|
2279
2369
|
"description": "Sets the item value",
|
@@ -2282,9 +2372,9 @@
|
|
2282
2372
|
],
|
2283
2373
|
"events": [
|
2284
2374
|
{
|
2285
|
-
"name": "
|
2375
|
+
"name": "skf-segmented-button-item-select",
|
2286
2376
|
"type": "CustomEvent",
|
2287
|
-
"description": "Fired when
|
2377
|
+
"description": "Fired when selected"
|
2288
2378
|
}
|
2289
2379
|
]
|
2290
2380
|
}
|
@@ -2294,11 +2384,6 @@
|
|
2294
2384
|
"description": "The `<skf-segmented-button>` component consists of multiple `<skf-segmented-button-item>`, working together.\n\nSee [zeroheight](https://zeroheight.com/853e936c9/p/68ff54-segmented-buttons) for design principles\n---\n\n\n### **Slots:**\n - _default_ - One or more `<skf-segmented-button-item>`",
|
2295
2385
|
"doc-url": "",
|
2296
2386
|
"attributes": [
|
2297
|
-
{
|
2298
|
-
"name": "default-selected",
|
2299
|
-
"description": "Sets the default selected control",
|
2300
|
-
"value": { "type": "number", "default": "0" }
|
2301
|
-
},
|
2302
2387
|
{
|
2303
2388
|
"name": "multiple",
|
2304
2389
|
"description": "If true, allowes multiple items to be selected",
|
@@ -2307,121 +2392,42 @@
|
|
2307
2392
|
],
|
2308
2393
|
"slots": [
|
2309
2394
|
{
|
2310
|
-
"name": "",
|
2311
|
-
"description": "One or more `<skf-segmented-button-item>`"
|
2312
|
-
}
|
2313
|
-
],
|
2314
|
-
"events": [],
|
2315
|
-
"js": {
|
2316
|
-
"properties": [
|
2317
|
-
{
|
2318
|
-
"name": "defaultSelected",
|
2319
|
-
"description": "Sets the default selected control",
|
2320
|
-
"type": "number"
|
2321
|
-
},
|
2322
|
-
{
|
2323
|
-
"name": "multiple",
|
2324
|
-
"description": "If true, allowes multiple items to be selected",
|
2325
|
-
"type": "boolean"
|
2326
|
-
}
|
2327
|
-
],
|
2328
|
-
"events": []
|
2329
|
-
}
|
2330
|
-
},
|
2331
|
-
{
|
2332
|
-
"name": "skf-select-option",
|
2333
|
-
"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).",
|
2334
|
-
"doc-url": "",
|
2335
|
-
"attributes": [
|
2336
|
-
{
|
2337
|
-
"name": "disabled",
|
2338
|
-
"description": "If true, prevents interaction with the option",
|
2339
|
-
"value": { "type": "boolean | undefined" }
|
2340
|
-
},
|
2341
|
-
{
|
2342
|
-
"name": "icon",
|
2343
|
-
"description": "If defined, set an icon",
|
2344
|
-
"value": { "type": "SkfIcon['name'] | undefined" }
|
2345
|
-
},
|
2346
|
-
{
|
2347
|
-
"name": "icon-color",
|
2348
|
-
"description": "If defined, sets provided color on the icon",
|
2349
|
-
"value": { "type": "SeverityFgColor | undefined" }
|
2350
|
-
},
|
2351
|
-
{
|
2352
|
-
"name": "selected",
|
2353
|
-
"description": "If true, sets the option as selected",
|
2354
|
-
"value": { "type": "boolean | undefined" }
|
2355
|
-
},
|
2356
|
-
{
|
2357
|
-
"name": "short-label",
|
2358
|
-
"description": "If defined, sets a short label",
|
2359
|
-
"value": { "type": "string | undefined" }
|
2360
|
-
},
|
2361
|
-
{
|
2362
|
-
"name": "value",
|
2363
|
-
"description": "Returns or sets the tags value. If value is omitted, defaults to the tags text.",
|
2364
|
-
"value": { "type": "string" }
|
2365
|
-
}
|
2366
|
-
],
|
2367
|
-
"slots": [
|
2368
|
-
{ "name": "", "description": "The option's text content" },
|
2369
|
-
{
|
2370
|
-
"name": "icon",
|
2371
|
-
"description": "The option's slot for icon or custom meta information (svg)."
|
2395
|
+
"name": "",
|
2396
|
+
"description": "One or more `<skf-segmented-button-item>`"
|
2372
2397
|
}
|
2373
2398
|
],
|
2374
|
-
"events": [
|
2399
|
+
"events": [],
|
2400
|
+
"js": {
|
2401
|
+
"properties": [
|
2402
|
+
{
|
2403
|
+
"name": "multiple",
|
2404
|
+
"description": "If true, allowes multiple items to be selected",
|
2405
|
+
"type": "boolean"
|
2406
|
+
}
|
2407
|
+
],
|
2408
|
+
"events": []
|
2409
|
+
}
|
2410
|
+
},
|
2411
|
+
{
|
2412
|
+
"name": "skf-select-option-group",
|
2413
|
+
"description": "The `<skf-select-option-group>` is a component that groups select-options\n---\n\n\n### **Slots:**\n - _default_ - The component's placeholder content",
|
2414
|
+
"doc-url": "",
|
2415
|
+
"attributes": [
|
2375
2416
|
{
|
2376
|
-
"name": "
|
2377
|
-
"
|
2417
|
+
"name": "label",
|
2418
|
+
"value": { "type": "string", "default": "'Default label'" }
|
2378
2419
|
}
|
2379
2420
|
],
|
2421
|
+
"slots": [
|
2422
|
+
{ "name": "", "description": "The component's placeholder content" }
|
2423
|
+
],
|
2424
|
+
"events": [],
|
2380
2425
|
"js": {
|
2381
2426
|
"properties": [
|
2382
|
-
{
|
2383
|
-
|
2384
|
-
"description": "If true, prevents interaction with the option",
|
2385
|
-
"type": "boolean | undefined"
|
2386
|
-
},
|
2387
|
-
{
|
2388
|
-
"name": "icon",
|
2389
|
-
"description": "If defined, set an icon",
|
2390
|
-
"type": "SkfIcon['name'] | undefined"
|
2391
|
-
},
|
2392
|
-
{
|
2393
|
-
"name": "iconColor",
|
2394
|
-
"description": "If defined, sets provided color on the icon",
|
2395
|
-
"type": "SeverityFgColor | undefined"
|
2396
|
-
},
|
2397
|
-
{
|
2398
|
-
"name": "selected",
|
2399
|
-
"description": "If true, sets the option as selected",
|
2400
|
-
"type": "boolean | undefined"
|
2401
|
-
},
|
2402
|
-
{
|
2403
|
-
"name": "shortLabel",
|
2404
|
-
"description": "If defined, sets a short label",
|
2405
|
-
"type": "string | undefined"
|
2406
|
-
},
|
2407
|
-
{
|
2408
|
-
"name": "text",
|
2409
|
-
"description": "The option's label text (equivalent to the tags textContent)"
|
2410
|
-
},
|
2411
|
-
{
|
2412
|
-
"name": "value",
|
2413
|
-
"description": "Returns or sets the tags value. If value is omitted, defaults to the tags text."
|
2414
|
-
},
|
2415
|
-
{ "name": "role", "type": "string" },
|
2416
|
-
{ "name": "_parent" },
|
2417
|
-
{ "name": "_shortcutUpdate", "type": "boolean" }
|
2427
|
+
{ "name": "label", "type": "string" },
|
2428
|
+
{ "name": "small", "type": "boolean" }
|
2418
2429
|
],
|
2419
|
-
"events": [
|
2420
|
-
{
|
2421
|
-
"name": "skf-select-option:select",
|
2422
|
-
"description": "{detail: { value: string | null, option: SkfSelectOption }} Fires when the option is selected/deselected."
|
2423
|
-
}
|
2424
|
-
]
|
2430
|
+
"events": []
|
2425
2431
|
}
|
2426
2432
|
},
|
2427
2433
|
{
|
@@ -2432,21 +2438,22 @@
|
|
2432
2438
|
{
|
2433
2439
|
"name": "size",
|
2434
2440
|
"description": "Specifies Tag size",
|
2435
|
-
"value": { "type": "
|
2441
|
+
"value": { "type": "Size", "default": "'md'" }
|
2436
2442
|
},
|
2437
2443
|
{
|
2438
2444
|
"name": "icon",
|
2439
2445
|
"description": "If defined, displays leading/provided icon",
|
2440
|
-
"value": {
|
2441
|
-
"type": "\"arrowDown\" | \"arrowDownUp\" | \"arrowLeft\" | \"arrowRight\" | \"arrowUp\" | \"article\" | \"artificialIntelligence\" | \"asset\" | \"attachment\" | \"bandCursor\" | \"bands\" | \"batteryEmpty\" | \"batteryFull\" | \"batteryLow\" | \"bearingFault\" | \"book\" | \"bulb\" | \"burger\" | \"cPM\" | \"calendar\" | \"calendarBooked\" | \"calendarEmpty\" | \"calendarNotBooked\" | \"calendarRecurring\" | \"caretDown\" | \"caretUp\" | \"caretUpDown\" | \"chat\" | \"check\" | \"checkCircle\" | \"checkSmall\" | \"chevronDown\" | \"chevronLeft\" | \"chevronRight\" | \"chevronUp\" | \"chevronUpDown\" | \"close\" | \"closeAllFaults\" | \"closeFault\" | \"closeSmall\" | \"columnGraph\" | \"comment\" | \"connection1\" | \"connection2\" | \"connection3\" | \"connection4\" | \"danger\" | \"defectFrequencies\" | \"defectFrequenciesAlternative\" | \"doubleChevronLeft\" | \"doubleChevronRight\" | \"download\" | \"draft\" | \"draftFilled\" | \"draftOutlined\" | \"dragNDrop\" | \"drop\" | \"duplicate\" | \"edit\" | \"emailFilled\" | \"emailOutlined\" | \"exclamation\" | \"eye\" | \"eyeHidden\" | \"eyeVisible\" | \"filter\" | \"forbidden\" | \"fullScreen\" | \"fullScreenExit\" | \"functionalLocation\" | \"harmonicCursor\" | \"heatmap\" | \"hierarchy\" | \"history\" | \"historyAlt\" | \"hourglassFramedFilled\" | \"hourglassFramedOutlined\" | \"hourglassOutlined\" | \"hz\" | \"iMX\" | \"image\" | \"infoCircleFilled\" | \"infoCircleOutlined\" | \"integration\" | \"kebab\" | \"link\" | \"listGroup\" | \"listItem\" | \"locationPin\" | \"lock\" | \"logOut\" | \"meatballs\" | \"microphone\" | \"minus\" | \"minusSmall\" | \"noData\" | \"o\" | \"openInNew\" | \"overlayBaseline\" | \"pDF\" | \"paper\" | \"pause\" | \"pieChart\" | \"pin\" | \"play\" | \"plus\" | \"powerOff\" | \"printer\" | \"proCollect\" | \"recAction\" | \"received\" | \"refresh\" | \"reorder\" | \"replace\" | \"reply\" | \"rewalkableRoute\" | \"routes\" | \"search\" | \"send\" | \"sensorA\" | \"sensorB\" | \"settings\" | \"sidebandCursor\" | \"singleCursor\" | \"spectrum\" | \"starFilled\" | \"starOutlined\" | \"statusCircle\" | \"stop\" | \"structuralVibration\" | \"sync\" | \"timewave\" | \"trash\" | \"trend\" | \"trendingUp\" | \"undo\" | \"unknownCircle\" | \"unknownDiamond\" | \"unlink\" | \"unlock\" | \"unscheduledAction\" | \"upload\" | \"user\" | \"viewFull\" | \"viewHorizontal\" | \"viewVertical\" | \"warning\" | \"warningCircle\" | \"warningDiamond\" | \"zoomIn\" | \"zoomOut\""
|
2442
|
-
}
|
2446
|
+
"value": { "type": "Icon | undefined" }
|
2443
2447
|
},
|
2444
2448
|
{
|
2445
2449
|
"name": "color",
|
2446
2450
|
"description": "If defined, gives the supplied appearance",
|
2447
|
-
"value": {
|
2448
|
-
|
2449
|
-
|
2451
|
+
"value": { "type": "Severity | undefined" }
|
2452
|
+
},
|
2453
|
+
{
|
2454
|
+
"name": "lang",
|
2455
|
+
"description": "Sets the internal language of the component",
|
2456
|
+
"value": { "type": "Language", "default": "'en'" }
|
2450
2457
|
},
|
2451
2458
|
{
|
2452
2459
|
"name": "removable",
|
@@ -2463,17 +2470,22 @@
|
|
2463
2470
|
{
|
2464
2471
|
"name": "size",
|
2465
2472
|
"description": "Specifies Tag size",
|
2466
|
-
"type": "
|
2473
|
+
"type": "Size"
|
2467
2474
|
},
|
2468
2475
|
{
|
2469
2476
|
"name": "icon",
|
2470
2477
|
"description": "If defined, displays leading/provided icon",
|
2471
|
-
"type": "
|
2478
|
+
"type": "Icon | undefined"
|
2472
2479
|
},
|
2473
2480
|
{
|
2474
2481
|
"name": "color",
|
2475
2482
|
"description": "If defined, gives the supplied appearance",
|
2476
|
-
"type": "
|
2483
|
+
"type": "Severity | undefined"
|
2484
|
+
},
|
2485
|
+
{
|
2486
|
+
"name": "lang",
|
2487
|
+
"description": "Sets the internal language of the component",
|
2488
|
+
"type": "Language"
|
2477
2489
|
},
|
2478
2490
|
{
|
2479
2491
|
"name": "onClick",
|
@@ -2494,18 +2506,23 @@
|
|
2494
2506
|
},
|
2495
2507
|
{
|
2496
2508
|
"name": "skf-select",
|
2497
|
-
"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---\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
|
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",
|
2498
2510
|
"doc-url": "",
|
2499
2511
|
"attributes": [
|
2500
2512
|
{
|
2501
2513
|
"name": "disabled",
|
2502
|
-
"description": "If true, the select is disabled
|
2503
|
-
"value": { "type": "boolean" }
|
2514
|
+
"description": "If true, the select is disabled",
|
2515
|
+
"value": { "type": "boolean", "default": "false" }
|
2516
|
+
},
|
2517
|
+
{
|
2518
|
+
"name": "required",
|
2519
|
+
"description": "If true, the select is required",
|
2520
|
+
"value": { "type": "boolean", "default": "false" }
|
2504
2521
|
},
|
2505
2522
|
{
|
2506
2523
|
"name": "button-label",
|
2507
2524
|
"description": "Sets the first visible text on the component",
|
2508
|
-
"value": { "type": "string"
|
2525
|
+
"value": { "type": "string" }
|
2509
2526
|
},
|
2510
2527
|
{
|
2511
2528
|
"name": "custom-invalid",
|
@@ -2515,12 +2532,12 @@
|
|
2515
2532
|
{
|
2516
2533
|
"name": "hide-label",
|
2517
2534
|
"description": "If true, hides the label visually",
|
2518
|
-
"value": { "type": "boolean
|
2535
|
+
"value": { "type": "boolean", "default": "false" }
|
2519
2536
|
},
|
2520
2537
|
{
|
2521
2538
|
"name": "hide-tags",
|
2522
2539
|
"description": "If true and mulltiple is true, no tags are displayed under the select",
|
2523
|
-
"value": { "type": "boolean
|
2540
|
+
"value": { "type": "boolean", "default": "false" }
|
2524
2541
|
},
|
2525
2542
|
{
|
2526
2543
|
"name": "hint",
|
@@ -2532,6 +2549,11 @@
|
|
2532
2549
|
"description": "If defined, displays provided label",
|
2533
2550
|
"value": { "type": "string | undefined" }
|
2534
2551
|
},
|
2552
|
+
{
|
2553
|
+
"name": "lang",
|
2554
|
+
"description": "Sets the internal language of the component",
|
2555
|
+
"value": { "type": "Language", "default": "'en'" }
|
2556
|
+
},
|
2535
2557
|
{
|
2536
2558
|
"name": "max",
|
2537
2559
|
"description": "If defined, limits the number of selectable options",
|
@@ -2545,27 +2567,22 @@
|
|
2545
2567
|
{
|
2546
2568
|
"name": "multiple",
|
2547
2569
|
"description": "If true, allows for multiple options to be selected",
|
2548
|
-
"value": { "type": "boolean
|
2570
|
+
"value": { "type": "boolean", "default": "false" }
|
2549
2571
|
},
|
2550
2572
|
{
|
2551
2573
|
"name": "name",
|
2552
2574
|
"description": "If defined, set name of the component",
|
2553
2575
|
"value": { "type": "string | undefined" }
|
2554
2576
|
},
|
2555
|
-
{
|
2556
|
-
"name": "required-label",
|
2557
|
-
"description": "If defined, renders an alternative A11y text for the asterisk",
|
2558
|
-
"value": { "type": "string | undefined" }
|
2559
|
-
},
|
2560
2577
|
{
|
2561
2578
|
"name": "severity",
|
2562
2579
|
"description": "If defined, displays provided severity state",
|
2563
|
-
"value": { "type": "
|
2580
|
+
"value": { "type": "FormFieldSeverity | undefined" }
|
2564
2581
|
},
|
2565
2582
|
{
|
2566
2583
|
"name": "show-valid",
|
2567
2584
|
"description": "If true, displays valid state after interaction",
|
2568
|
-
"value": { "type": "boolean
|
2585
|
+
"value": { "type": "boolean", "default": "false" }
|
2569
2586
|
},
|
2570
2587
|
{
|
2571
2588
|
"name": "size",
|
@@ -2579,28 +2596,40 @@
|
|
2579
2596
|
"events": [
|
2580
2597
|
{
|
2581
2598
|
"name": "change",
|
2599
|
+
"type": "Event",
|
2582
2600
|
"description": "Fired when the selected option(s) changes"
|
2583
2601
|
},
|
2584
2602
|
{
|
2585
2603
|
"name": "invalid",
|
2604
|
+
"type": "Event",
|
2586
2605
|
"description": "Fired when the select is invalid"
|
2587
2606
|
},
|
2588
|
-
{ "name": "reset", "description": "Fired when the form is reset" },
|
2589
2607
|
{
|
2590
|
-
"name": "
|
2608
|
+
"name": "reset",
|
2609
|
+
"type": "Event",
|
2610
|
+
"description": "Fired when the form is reset"
|
2611
|
+
},
|
2612
|
+
{
|
2613
|
+
"name": "skf-select-dropdown",
|
2614
|
+
"type": "CustomEvent",
|
2591
2615
|
"description": "{detail: {expanded: boolean}} Fired when the select dropdown is toggled"
|
2592
2616
|
},
|
2593
2617
|
{
|
2594
|
-
"name": "skf-select-option
|
2618
|
+
"name": "skf-select-option-select",
|
2619
|
+
"type": "CustomEvent",
|
2595
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';"
|
2596
2626
|
}
|
2597
2627
|
],
|
2598
2628
|
"js": {
|
2599
2629
|
"properties": [
|
2600
2630
|
{
|
2601
2631
|
"name": "buttonLabel",
|
2602
|
-
"description": "Sets the first visible text on the component"
|
2603
|
-
"type": "string"
|
2632
|
+
"description": "Sets the first visible text on the component"
|
2604
2633
|
},
|
2605
2634
|
{
|
2606
2635
|
"name": "customInvalid",
|
@@ -2610,12 +2639,12 @@
|
|
2610
2639
|
{
|
2611
2640
|
"name": "hideLabel",
|
2612
2641
|
"description": "If true, hides the label visually",
|
2613
|
-
"type": "boolean
|
2642
|
+
"type": "boolean"
|
2614
2643
|
},
|
2615
2644
|
{
|
2616
2645
|
"name": "hideTags",
|
2617
2646
|
"description": "If true and mulltiple is true, no tags are displayed under the select",
|
2618
|
-
"type": "boolean
|
2647
|
+
"type": "boolean"
|
2619
2648
|
},
|
2620
2649
|
{
|
2621
2650
|
"name": "hint",
|
@@ -2635,6 +2664,11 @@
|
|
2635
2664
|
"description": "If defined, displays provided label",
|
2636
2665
|
"type": "string | undefined"
|
2637
2666
|
},
|
2667
|
+
{
|
2668
|
+
"name": "lang",
|
2669
|
+
"description": "Sets the internal language of the component",
|
2670
|
+
"type": "Language"
|
2671
|
+
},
|
2638
2672
|
{
|
2639
2673
|
"name": "max",
|
2640
2674
|
"description": "If defined, limits the number of selectable options",
|
@@ -2648,27 +2682,22 @@
|
|
2648
2682
|
{
|
2649
2683
|
"name": "multiple",
|
2650
2684
|
"description": "If true, allows for multiple options to be selected",
|
2651
|
-
"type": "boolean
|
2685
|
+
"type": "boolean"
|
2652
2686
|
},
|
2653
2687
|
{
|
2654
2688
|
"name": "name",
|
2655
2689
|
"description": "If defined, set name of the component",
|
2656
2690
|
"type": "string | undefined"
|
2657
2691
|
},
|
2658
|
-
{
|
2659
|
-
"name": "requiredLabel",
|
2660
|
-
"description": "If defined, renders an alternative A11y text for the asterisk",
|
2661
|
-
"type": "string | undefined"
|
2662
|
-
},
|
2663
2692
|
{
|
2664
2693
|
"name": "severity",
|
2665
2694
|
"description": "If defined, displays provided severity state",
|
2666
|
-
"type": "
|
2695
|
+
"type": "FormFieldSeverity | undefined"
|
2667
2696
|
},
|
2668
2697
|
{
|
2669
2698
|
"name": "showValid",
|
2670
2699
|
"description": "If true, displays valid state after interaction",
|
2671
|
-
"type": "boolean
|
2700
|
+
"type": "boolean"
|
2672
2701
|
},
|
2673
2702
|
{
|
2674
2703
|
"name": "size",
|
@@ -2677,51 +2706,137 @@
|
|
2677
2706
|
},
|
2678
2707
|
{
|
2679
2708
|
"name": "value",
|
2680
|
-
"description": "
|
2709
|
+
"description": "Returns the selected value. (if multiple: in a comma separated string). If set will default set corresponding option."
|
2681
2710
|
},
|
2682
2711
|
{ "name": "_selectedOptions", "type": "array" }
|
2683
2712
|
],
|
2684
2713
|
"events": [
|
2685
2714
|
{
|
2686
2715
|
"name": "change",
|
2716
|
+
"type": "Event",
|
2687
2717
|
"description": "Fired when the selected option(s) changes"
|
2688
2718
|
},
|
2689
2719
|
{
|
2690
2720
|
"name": "invalid",
|
2721
|
+
"type": "Event",
|
2691
2722
|
"description": "Fired when the select is invalid"
|
2692
2723
|
},
|
2693
2724
|
{
|
2694
2725
|
"name": "reset",
|
2726
|
+
"type": "Event",
|
2695
2727
|
"description": "Fired when the form is reset"
|
2696
2728
|
},
|
2697
2729
|
{
|
2698
|
-
"name": "skf-select
|
2730
|
+
"name": "skf-select-dropdown",
|
2731
|
+
"type": "CustomEvent",
|
2699
2732
|
"description": "{detail: {expanded: boolean}} Fired when the select dropdown is toggled"
|
2700
2733
|
},
|
2701
2734
|
{
|
2702
|
-
"name": "skf-select-option
|
2735
|
+
"name": "skf-select-option-select",
|
2736
|
+
"type": "CustomEvent",
|
2703
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';"
|
2704
2743
|
}
|
2705
2744
|
]
|
2706
2745
|
}
|
2707
2746
|
},
|
2708
2747
|
{
|
2709
|
-
"name": "skf-select-option
|
2710
|
-
"description": "The `<skf-select-option
|
2748
|
+
"name": "skf-select-option",
|
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).",
|
2711
2750
|
"doc-url": "",
|
2712
2751
|
"attributes": [
|
2713
2752
|
{
|
2714
|
-
"name": "
|
2715
|
-
"
|
2753
|
+
"name": "disabled",
|
2754
|
+
"description": "If true, prevents interaction with the option",
|
2755
|
+
"value": { "type": "boolean", "default": "false" }
|
2756
|
+
},
|
2757
|
+
{
|
2758
|
+
"name": "icon",
|
2759
|
+
"description": "If defined, set an icon",
|
2760
|
+
"value": { "type": "Icon | undefined" }
|
2761
|
+
},
|
2762
|
+
{
|
2763
|
+
"name": "icon-color",
|
2764
|
+
"description": "If defined, sets provided color on the icon",
|
2765
|
+
"value": { "type": "IconColor | undefined" }
|
2766
|
+
},
|
2767
|
+
{
|
2768
|
+
"name": "selected",
|
2769
|
+
"description": "If true, sets the option as selected",
|
2770
|
+
"value": { "type": "boolean", "default": "false" }
|
2771
|
+
},
|
2772
|
+
{
|
2773
|
+
"name": "short-label",
|
2774
|
+
"description": "If defined, sets a short label",
|
2775
|
+
"value": { "type": "string | undefined" }
|
2776
|
+
},
|
2777
|
+
{
|
2778
|
+
"name": "value",
|
2779
|
+
"description": "Returns or sets the option value. If value is omitted, defaults to the tags slotted text.",
|
2780
|
+
"value": { "type": "string" }
|
2716
2781
|
}
|
2717
2782
|
],
|
2718
2783
|
"slots": [
|
2719
|
-
{ "name": "", "description": "The
|
2784
|
+
{ "name": "", "description": "The option's text content" },
|
2785
|
+
{
|
2786
|
+
"name": "icon",
|
2787
|
+
"description": "The option's slot for icon or custom meta information (svg)."
|
2788
|
+
}
|
2789
|
+
],
|
2790
|
+
"events": [
|
2791
|
+
{
|
2792
|
+
"name": "skf-select-option-select",
|
2793
|
+
"description": "{detail: { value: string | null, option: SkfSelectOption }} Fires when the option is selected/deselected."
|
2794
|
+
}
|
2720
2795
|
],
|
2721
|
-
"events": [],
|
2722
2796
|
"js": {
|
2723
|
-
"properties": [
|
2724
|
-
|
2797
|
+
"properties": [
|
2798
|
+
{
|
2799
|
+
"name": "disabled",
|
2800
|
+
"description": "If true, prevents interaction with the option",
|
2801
|
+
"type": "boolean"
|
2802
|
+
},
|
2803
|
+
{
|
2804
|
+
"name": "icon",
|
2805
|
+
"description": "If defined, set an icon",
|
2806
|
+
"type": "Icon | undefined"
|
2807
|
+
},
|
2808
|
+
{
|
2809
|
+
"name": "iconColor",
|
2810
|
+
"description": "If defined, sets provided color on the icon",
|
2811
|
+
"type": "IconColor | undefined"
|
2812
|
+
},
|
2813
|
+
{
|
2814
|
+
"name": "selected",
|
2815
|
+
"description": "If true, sets the option as selected",
|
2816
|
+
"type": "boolean"
|
2817
|
+
},
|
2818
|
+
{
|
2819
|
+
"name": "shortLabel",
|
2820
|
+
"description": "If defined, sets a short label",
|
2821
|
+
"type": "string | undefined"
|
2822
|
+
},
|
2823
|
+
{
|
2824
|
+
"name": "text",
|
2825
|
+
"description": "The option's label text (equivalent to the tags textContent)"
|
2826
|
+
},
|
2827
|
+
{
|
2828
|
+
"name": "value",
|
2829
|
+
"description": "Returns or sets the option value. If value is omitted, defaults to the tags slotted text."
|
2830
|
+
},
|
2831
|
+
{ "name": "small", "type": "boolean" },
|
2832
|
+
{ "name": "_shortcutUpdate", "type": "boolean" }
|
2833
|
+
],
|
2834
|
+
"events": [
|
2835
|
+
{
|
2836
|
+
"name": "skf-select-option-select",
|
2837
|
+
"description": "{detail: { value: string | null, option: SkfSelectOption }} Fires when the option is selected/deselected."
|
2838
|
+
}
|
2839
|
+
]
|
2725
2840
|
}
|
2726
2841
|
},
|
2727
2842
|
{
|
@@ -2761,8 +2876,7 @@
|
|
2761
2876
|
"description": "If true, item marked as completed",
|
2762
2877
|
"type": "boolean"
|
2763
2878
|
},
|
2764
|
-
{ "name": "_setInternalState" }
|
2765
|
-
{ "name": "role", "type": "string" }
|
2879
|
+
{ "name": "_setInternalState" }
|
2766
2880
|
],
|
2767
2881
|
"events": [
|
2768
2882
|
{
|
@@ -2778,7 +2892,7 @@
|
|
2778
2892
|
"doc-url": "",
|
2779
2893
|
"attributes": [
|
2780
2894
|
{
|
2781
|
-
"name": "
|
2895
|
+
"name": "active-index",
|
2782
2896
|
"description": "Sets the active item",
|
2783
2897
|
"value": { "type": "number", "default": "-1" }
|
2784
2898
|
},
|
@@ -2794,6 +2908,7 @@
|
|
2794
2908
|
"events": [
|
2795
2909
|
{
|
2796
2910
|
"name": "skf-stepper-item-select",
|
2911
|
+
"type": "CustomEvent",
|
2797
2912
|
"description": "Dispatched when the stepper item is selected"
|
2798
2913
|
}
|
2799
2914
|
],
|
@@ -2813,6 +2928,7 @@
|
|
2813
2928
|
"events": [
|
2814
2929
|
{
|
2815
2930
|
"name": "skf-stepper-item-select",
|
2931
|
+
"type": "CustomEvent",
|
2816
2932
|
"description": "Dispatched when the stepper item is selected"
|
2817
2933
|
}
|
2818
2934
|
]
|
@@ -2854,13 +2970,13 @@
|
|
2854
2970
|
"value": { "type": "string | undefined" }
|
2855
2971
|
},
|
2856
2972
|
{
|
2857
|
-
"name": "
|
2858
|
-
"description": "
|
2859
|
-
"value": { "type": "
|
2973
|
+
"name": "lang",
|
2974
|
+
"description": "Sets the internal language of the component",
|
2975
|
+
"value": { "type": "Language", "default": "'en'" }
|
2860
2976
|
},
|
2861
2977
|
{
|
2862
|
-
"name": "
|
2863
|
-
"description": "If defined,
|
2978
|
+
"name": "name",
|
2979
|
+
"description": "If defined, adds name to the input-element",
|
2864
2980
|
"value": { "type": "string | undefined" }
|
2865
2981
|
},
|
2866
2982
|
{
|
@@ -2904,13 +3020,13 @@
|
|
2904
3020
|
"type": "string | undefined"
|
2905
3021
|
},
|
2906
3022
|
{
|
2907
|
-
"name": "
|
2908
|
-
"description": "
|
2909
|
-
"type": "
|
3023
|
+
"name": "lang",
|
3024
|
+
"description": "Sets the internal language of the component",
|
3025
|
+
"type": "Language"
|
2910
3026
|
},
|
2911
3027
|
{
|
2912
|
-
"name": "
|
2913
|
-
"description": "If defined,
|
3028
|
+
"name": "name",
|
3029
|
+
"description": "If defined, adds name to the input-element",
|
2914
3030
|
"type": "string | undefined"
|
2915
3031
|
},
|
2916
3032
|
{
|
@@ -2947,15 +3063,14 @@
|
|
2947
3063
|
"description": "The tab panel's name.",
|
2948
3064
|
"type": "string"
|
2949
3065
|
},
|
2950
|
-
{ "name": "active", "type": "boolean" }
|
2951
|
-
{ "name": "role", "type": "string" }
|
3066
|
+
{ "name": "active", "type": "boolean" }
|
2952
3067
|
],
|
2953
3068
|
"events": []
|
2954
3069
|
}
|
2955
3070
|
},
|
2956
3071
|
{
|
2957
|
-
"name": "skf-
|
2958
|
-
"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",
|
2959
3074
|
"doc-url": "",
|
2960
3075
|
"attributes": [
|
2961
3076
|
{
|
@@ -3060,8 +3175,7 @@
|
|
3060
3175
|
"type": "string"
|
3061
3176
|
},
|
3062
3177
|
{ "name": "selected", "type": "boolean" },
|
3063
|
-
{ "name": "variant", "type": "
|
3064
|
-
{ "name": "role", "type": "string" }
|
3178
|
+
{ "name": "variant", "type": "SkfTabs['variant']" }
|
3065
3179
|
],
|
3066
3180
|
"events": [
|
3067
3181
|
{
|
@@ -3084,12 +3198,12 @@
|
|
3084
3198
|
{
|
3085
3199
|
"name": "disabled",
|
3086
3200
|
"description": "If true, sets disabled state",
|
3087
|
-
"value": { "type": "boolean" }
|
3201
|
+
"value": { "type": "boolean", "default": "false" }
|
3088
3202
|
},
|
3089
3203
|
{
|
3090
3204
|
"name": "required",
|
3091
3205
|
"description": "If true, value is required or must be checked for the form to be submittable",
|
3092
|
-
"value": { "type": "boolean" }
|
3206
|
+
"value": { "type": "boolean", "default": "false" }
|
3093
3207
|
},
|
3094
3208
|
{
|
3095
3209
|
"name": "cols",
|
@@ -3104,12 +3218,12 @@
|
|
3104
3218
|
{
|
3105
3219
|
"name": "debug",
|
3106
3220
|
"description": "If true, outputs helping hints in console",
|
3107
|
-
"value": { "type": "boolean
|
3221
|
+
"value": { "type": "boolean", "default": "false" }
|
3108
3222
|
},
|
3109
3223
|
{
|
3110
3224
|
"name": "hide-label",
|
3111
3225
|
"description": "If true, hides the label visually",
|
3112
|
-
"value": { "type": "boolean
|
3226
|
+
"value": { "type": "boolean", "default": "false" }
|
3113
3227
|
},
|
3114
3228
|
{
|
3115
3229
|
"name": "hint",
|
@@ -3121,6 +3235,11 @@
|
|
3121
3235
|
"description": "If defined, sets the input's label unless the default slot is used. Alternatively, you can use the `label` attribute.",
|
3122
3236
|
"value": { "type": "string | undefined" }
|
3123
3237
|
},
|
3238
|
+
{
|
3239
|
+
"name": "lang",
|
3240
|
+
"description": "Sets the internal language of the component",
|
3241
|
+
"value": { "type": "Language", "default": "'en'" }
|
3242
|
+
},
|
3124
3243
|
{
|
3125
3244
|
"name": "name",
|
3126
3245
|
"description": "If defined, adds name to the input-element",
|
@@ -3144,12 +3263,7 @@
|
|
3144
3263
|
{
|
3145
3264
|
"name": "readonly",
|
3146
3265
|
"description": "If true, makes the element not mutable, meaning the user can not edit the control",
|
3147
|
-
"value": { "type": "boolean
|
3148
|
-
},
|
3149
|
-
{
|
3150
|
-
"name": "required-label",
|
3151
|
-
"description": "If defined, renders an alternative A11y text for the asterisk",
|
3152
|
-
"value": { "type": "string | undefined" }
|
3266
|
+
"value": { "type": "boolean", "default": "false" }
|
3153
3267
|
},
|
3154
3268
|
{
|
3155
3269
|
"name": "rows",
|
@@ -3159,14 +3273,12 @@
|
|
3159
3273
|
{
|
3160
3274
|
"name": "severity",
|
3161
3275
|
"description": "If defined, displays provided severity state",
|
3162
|
-
"value": {
|
3163
|
-
"type": "\"success\" | \"info\" | \"warning\" | \"alert\""
|
3164
|
-
}
|
3276
|
+
"value": { "type": "FormFieldSeverity | undefined" }
|
3165
3277
|
},
|
3166
3278
|
{
|
3167
3279
|
"name": "show-valid",
|
3168
3280
|
"description": "If true, displays valid state after interaction",
|
3169
|
-
"value": { "type": "boolean
|
3281
|
+
"value": { "type": "boolean", "default": "false" }
|
3170
3282
|
},
|
3171
3283
|
{
|
3172
3284
|
"name": "size",
|
@@ -3217,12 +3329,12 @@
|
|
3217
3329
|
{
|
3218
3330
|
"name": "debug",
|
3219
3331
|
"description": "If true, outputs helping hints in console",
|
3220
|
-
"type": "boolean
|
3332
|
+
"type": "boolean"
|
3221
3333
|
},
|
3222
3334
|
{
|
3223
3335
|
"name": "hideLabel",
|
3224
3336
|
"description": "If true, hides the label visually",
|
3225
|
-
"type": "boolean
|
3337
|
+
"type": "boolean"
|
3226
3338
|
},
|
3227
3339
|
{
|
3228
3340
|
"name": "hint",
|
@@ -3234,6 +3346,11 @@
|
|
3234
3346
|
"description": "If defined, sets the input's label unless the default slot is used. Alternatively, you can use the `label` attribute.",
|
3235
3347
|
"type": "string | undefined"
|
3236
3348
|
},
|
3349
|
+
{
|
3350
|
+
"name": "lang",
|
3351
|
+
"description": "Sets the internal language of the component",
|
3352
|
+
"type": "Language"
|
3353
|
+
},
|
3237
3354
|
{
|
3238
3355
|
"name": "name",
|
3239
3356
|
"description": "If defined, adds name to the input-element",
|
@@ -3257,12 +3374,7 @@
|
|
3257
3374
|
{
|
3258
3375
|
"name": "readonly",
|
3259
3376
|
"description": "If true, makes the element not mutable, meaning the user can not edit the control",
|
3260
|
-
"type": "boolean
|
3261
|
-
},
|
3262
|
-
{
|
3263
|
-
"name": "requiredLabel",
|
3264
|
-
"description": "If defined, renders an alternative A11y text for the asterisk",
|
3265
|
-
"type": "string | undefined"
|
3377
|
+
"type": "boolean"
|
3266
3378
|
},
|
3267
3379
|
{
|
3268
3380
|
"name": "rows",
|
@@ -3272,12 +3384,12 @@
|
|
3272
3384
|
{
|
3273
3385
|
"name": "severity",
|
3274
3386
|
"description": "If defined, displays provided severity state",
|
3275
|
-
"type": "
|
3387
|
+
"type": "FormFieldSeverity | undefined"
|
3276
3388
|
},
|
3277
3389
|
{
|
3278
3390
|
"name": "showValid",
|
3279
3391
|
"description": "If true, displays valid state after interaction",
|
3280
|
-
"type": "boolean
|
3392
|
+
"type": "boolean"
|
3281
3393
|
},
|
3282
3394
|
{
|
3283
3395
|
"name": "size",
|
@@ -3341,17 +3453,17 @@
|
|
3341
3453
|
{
|
3342
3454
|
"name": "icon",
|
3343
3455
|
"description": "If defined, displays leading icon",
|
3344
|
-
"value": { "type": "
|
3456
|
+
"value": { "type": "Icon | undefined" }
|
3345
3457
|
},
|
3346
3458
|
{
|
3347
3459
|
"name": "persistent",
|
3348
3460
|
"description": "If true, renders with an close button and sets aria-role to `status`",
|
3349
|
-
"value": { "type": "
|
3461
|
+
"value": { "type": "boolean", "default": "false" }
|
3350
3462
|
},
|
3351
3463
|
{
|
3352
3464
|
"name": "severity",
|
3353
3465
|
"description": "If defined, gives the supplied appearance",
|
3354
|
-
"value": { "type": "
|
3466
|
+
"value": { "type": "Severity", "default": "'info'" }
|
3355
3467
|
},
|
3356
3468
|
{
|
3357
3469
|
"name": "timer",
|
@@ -3374,17 +3486,17 @@
|
|
3374
3486
|
{
|
3375
3487
|
"name": "icon",
|
3376
3488
|
"description": "If defined, displays leading icon",
|
3377
|
-
"type": "
|
3489
|
+
"type": "Icon | undefined"
|
3378
3490
|
},
|
3379
3491
|
{
|
3380
3492
|
"name": "persistent",
|
3381
3493
|
"description": "If true, renders with an close button and sets aria-role to `status`",
|
3382
|
-
"type": "
|
3494
|
+
"type": "boolean"
|
3383
3495
|
},
|
3384
3496
|
{
|
3385
3497
|
"name": "severity",
|
3386
3498
|
"description": "If defined, gives the supplied appearance",
|
3387
|
-
"type": "
|
3499
|
+
"type": "Severity"
|
3388
3500
|
},
|
3389
3501
|
{
|
3390
3502
|
"name": "timer",
|
@@ -3402,7 +3514,7 @@
|
|
3402
3514
|
},
|
3403
3515
|
{
|
3404
3516
|
"name": "skf-tooltip",
|
3405
|
-
"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",
|
3406
3518
|
"doc-url": "",
|
3407
3519
|
"attributes": [
|
3408
3520
|
{
|
@@ -3425,26 +3537,41 @@
|
|
3425
3537
|
"events": [
|
3426
3538
|
{
|
3427
3539
|
"name": "skf-opened",
|
3428
|
-
"
|
3540
|
+
"type": "CustomEvent",
|
3541
|
+
"description": "Fired when the tooltip is opened"
|
3429
3542
|
},
|
3430
3543
|
{
|
3431
3544
|
"name": "skf-closed",
|
3432
|
-
"
|
3545
|
+
"type": "CustomEvent",
|
3546
|
+
"description": "Fired when the tooltip is closed"
|
3433
3547
|
}
|
3434
3548
|
],
|
3435
3549
|
"js": {
|
3436
3550
|
"properties": [
|
3437
3551
|
{ "name": "offset", "type": "number" },
|
3438
|
-
{ "name": "placement", "type": "string" }
|
3552
|
+
{ "name": "placement", "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
|
+
}
|
3439
3564
|
],
|
3440
3565
|
"events": [
|
3441
3566
|
{
|
3442
3567
|
"name": "skf-opened",
|
3443
|
-
"
|
3568
|
+
"type": "CustomEvent",
|
3569
|
+
"description": "Fired when the tooltip is opened"
|
3444
3570
|
},
|
3445
3571
|
{
|
3446
3572
|
"name": "skf-closed",
|
3447
|
-
"
|
3573
|
+
"type": "CustomEvent",
|
3574
|
+
"description": "Fired when the tooltip is closed"
|
3448
3575
|
}
|
3449
3576
|
]
|
3450
3577
|
}
|