@skf-design-system/ui-components 1.0.2-beta.0 → 1.0.2-beta.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +12 -8
- package/dist/components/accordion/accordion-item.component.d.ts +36 -0
- package/dist/components/accordion/accordion-item.component.js +87 -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 +5 -9
- package/dist/components/accordion/accordion.component.js +4 -5
- 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 +4 -7
- package/dist/components/alert/alert.component.js +8 -9
- package/dist/components/alert/alert.styles.js +0 -5
- package/dist/components/breadcrumb/breadcrumb-item.component.js +61 -0
- package/dist/components/breadcrumb/breadcrumb-item.js +6 -0
- package/dist/components/breadcrumb/breadcrumb-item.styles.js +62 -0
- package/dist/components/breadcrumb/breadcrumb.component.d.ts +1 -1
- package/dist/components/breadcrumb/breadcrumb.component.js +60 -0
- package/dist/components/breadcrumb/breadcrumb.js +6 -0
- package/dist/components/breadcrumb/breadcrumb.styles.js +22 -0
- package/dist/components/button/button.component.d.ts +13 -10
- package/dist/components/button/button.component.js +83 -76
- package/dist/components/button/button.styles.d.ts +1 -2
- package/dist/components/button/button.styles.js +1 -1
- package/dist/components/card/card.component.d.ts +1 -1
- package/dist/components/card/card.component.js +1 -1
- package/dist/components/checkbox/checkbox.component.d.ts +8 -6
- package/dist/components/checkbox/checkbox.component.js +2 -2
- package/dist/components/checkbox/checkbox.styles.d.ts +1 -2
- package/dist/components/checkbox/checkbox.styles.js +1 -5
- package/dist/components/date-picker/datepicker.calendar.component.js +1 -1
- package/dist/components/date-picker/datepicker.component.js +1 -1
- package/dist/components/date-picker-input/datepicker-input.component.d.ts +1 -0
- package/dist/components/date-picker-input/datepicker-input.component.js +3 -2
- package/dist/components/dialog/dialog.component.d.ts +5 -4
- package/dist/components/dialog/dialog.component.js +44 -44
- package/dist/components/dialog/dialog.styles.js +4 -4
- package/dist/components/divider/divider.component.js +1 -1
- package/dist/components/drawer/drawer.component.d.ts +12 -8
- package/dist/components/drawer/drawer.component.js +5 -4
- package/dist/components/header/header.component.d.ts +3 -2
- package/dist/components/header/header.component.js +34 -28
- package/dist/components/heading/heading.component.d.ts +3 -5
- package/dist/components/heading/heading.component.js +22 -21
- package/dist/components/icon/icon.component.d.ts +11 -17
- package/dist/components/icon/icon.component.js +2 -2
- package/dist/components/icon/icon.styles.d.ts +1 -2
- package/dist/components/icon/icon.styles.js +1 -1
- package/dist/components/input/input.component.d.ts +30 -31
- package/dist/components/input/input.component.js +136 -123
- package/dist/components/link/link.component.d.ts +12 -14
- package/dist/components/link/link.component.js +34 -34
- package/dist/components/link/link.styles.d.ts +1 -2
- package/dist/components/link/link.styles.js +2 -2
- package/dist/components/loader/loader.component.d.ts +1 -1
- package/dist/components/loader/loader.component.js +36 -40
- package/dist/components/loader/loader.styles.d.ts +1 -2
- package/dist/components/loader/loader.styles.js +40 -32
- package/dist/components/logo/logo.component.d.ts +4 -5
- package/dist/components/logo/logo.component.js +1 -1
- package/dist/components/menu/menu-item.component.d.ts +13 -0
- package/dist/components/{menu-item → menu}/menu-item.component.js +3 -3
- package/dist/components/menu/menu.component.d.ts +9 -6
- package/dist/components/menu/menu.component.js +8 -10
- package/dist/components/{nav-item → nav}/nav-item.component.d.ts +0 -2
- package/dist/components/{nav-item → nav}/nav-item.component.js +1 -1
- package/dist/components/nav/nav.component.js +1 -1
- package/dist/components/popover/popover.component.d.ts +10 -6
- package/dist/components/popover/popover.component.js +22 -24
- package/dist/components/progress/progress.component.d.ts +2 -2
- package/dist/components/progress/progress.component.js +31 -37
- package/dist/components/progress/progress.styles.js +40 -35
- package/dist/components/radio/radio.component.d.ts +9 -7
- package/dist/components/radio/radio.component.js +2 -2
- 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/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 +73 -0
- 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.js +1 -1
- package/dist/components/{select-option → select}/select-option.component.d.ts +7 -8
- package/dist/components/{select-option → select}/select-option.component.js +15 -15
- package/dist/components/select/select.component.d.ts +16 -15
- package/dist/components/select/select.component.js +17 -17
- package/dist/components/select/select.controllers.d.ts +1 -1
- package/dist/components/select/select.controllers.js +14 -11
- package/dist/components/select/select.stories.icons.d.ts +7 -0
- package/dist/components/{stepper-item → stepper}/stepper-item.component.js +8 -8
- package/dist/components/stepper/stepper.component.d.ts +2 -2
- package/dist/components/stepper/stepper.component.js +15 -15
- package/dist/components/stepper/stepper.helpers.d.ts +1 -1
- package/dist/components/switch/switch.component.js +15 -15
- package/dist/components/tab/tab.component.js +1 -1
- package/dist/components/tab-group/tab-group.component.js +1 -1
- package/dist/components/tab-panel/tab-panel.component.js +1 -1
- package/dist/components/tag/tag.component.d.ts +10 -14
- package/dist/components/tag/tag.component.js +32 -35
- package/dist/components/textarea/textarea.component.d.ts +10 -11
- package/dist/components/textarea/textarea.component.js +62 -64
- 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-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 +15 -15
- package/dist/components/toast/toast.singleton.d.ts +4 -4
- package/dist/components/toast/toast.singleton.js +12 -12
- package/dist/components/tooltip/tooltip.component.d.ts +2 -1
- package/dist/components/tooltip/tooltip.component.js +15 -10
- package/dist/custom-elements.json +733 -820
- package/dist/index.d.ts +13 -7
- package/dist/index.js +100 -84
- package/dist/internal/base-classes/popover/popover.base.d.ts +10 -5
- package/dist/internal/base-classes/popover/popover.base.js +77 -60
- package/dist/internal/components/hint/hint.component.d.ts +2 -2
- package/dist/internal/components/hint/hint.component.js +2 -2
- package/dist/internal/components/hint/hint.styles.d.ts +1 -2
- package/dist/internal/components/hint/hint.styles.js +1 -1
- package/dist/internal/constants/iconSeverity.d.ts +3 -2
- package/dist/internal/constants/iconSeverity.js +2 -3
- package/dist/internal/helpers/hintSeverity.d.ts +2 -2
- package/dist/internal/helpers/hintSeverity.js +1 -1
- package/dist/internal/types/formField.d.ts +1 -1
- package/dist/internal/types.d.ts +18 -0
- package/dist/styles/component.styles.d.ts +1 -2
- package/dist/styles/component.styles.js +1 -1
- package/dist/styles/global.css +1 -1
- package/dist/types/jsx/custom-element-jsx.d.ts +162 -180
- package/dist/types/vue/index.d.ts +162 -180
- package/dist/vscode.html-custom-data.json +133 -1091
- package/dist/web-types.json +368 -424
- package/package.json +24 -25
- 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/menu-item/menu-item.component.d.ts +0 -25
- package/dist/internal/constants/heading.d.ts +0 -2
- /package/dist/components/{breadcrumb-item/breadcrumb-item.styles.d.ts → accordion/accordion-item.styles.d.ts} +0 -0
- /package/dist/components/{collapse/collapse.test.d.ts → accordion/accordion-item.test.d.ts} +0 -0
- /package/dist/components/{breadcrumb-item → breadcrumb}/breadcrumb-item.component.d.ts +0 -0
- /package/dist/components/{breadcrumb-item → breadcrumb}/breadcrumb-item.d.ts +0 -0
- /package/dist/components/{menu-item/menu-item.styles.d.ts → breadcrumb/breadcrumb-item.styles.d.ts} +0 -0
- /package/dist/components/{menu-item → menu}/menu-item.d.ts +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/{menu-item → menu}/menu-item.styles.js +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/{nav-item → nav}/nav-item.styles.js +0 -0
- /package/dist/components/{segmented-button-item → segmented-button}/segmented-button-item.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.component.d.ts +0 -0
- /package/dist/components/{select-option-group → select}/select-option-group.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-group → select}/select-option-group.style.js +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/{select-option → select}/select-option.styles.js +0 -0
- /package/dist/components/{stepper-item → stepper}/stepper-item.component.d.ts +0 -0
- /package/dist/components/{stepper-item → stepper}/stepper-item.d.ts +0 -0
- /package/dist/components/{stepper-item → stepper}/stepper-item.js +0 -0
- /package/dist/components/{toast-wrapper/toast-wrapper.styles.d.ts → stepper/stepper-item.styles.d.ts} +0 -0
- /package/dist/components/{stepper-item → stepper}/stepper-item.styles.js +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-item → toast}/toast-item.styles.js +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
@@ -8,16 +8,13 @@
|
|
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,7 +232,7 @@
|
|
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
238
|
{
|
@@ -248,7 +243,7 @@
|
|
248
243
|
{
|
249
244
|
"name": "icon",
|
250
245
|
"description": "If defined, displays leading icon",
|
251
|
-
"value": { "type": "
|
246
|
+
"value": { "type": "Icon | undefined" }
|
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": [
|
@@ -284,7 +279,7 @@
|
|
284
279
|
{
|
285
280
|
"name": "icon",
|
286
281
|
"description": "If defined, displays leading icon",
|
287
|
-
"type": "
|
282
|
+
"type": "Icon | undefined"
|
288
283
|
},
|
289
284
|
{
|
290
285
|
"name": "persistent",
|
@@ -294,7 +289,7 @@
|
|
294
289
|
{
|
295
290
|
"name": "severity",
|
296
291
|
"description": "If defined, gives the supplied appearance",
|
297
|
-
"type": "
|
292
|
+
"type": "Severity | undefined"
|
298
293
|
}
|
299
294
|
],
|
300
295
|
"events": [
|
@@ -416,16 +411,14 @@
|
|
416
411
|
"name": "size",
|
417
412
|
"description": "Defines the size of the loader",
|
418
413
|
"type": "'md' | 'sm' | undefined"
|
419
|
-
}
|
420
|
-
{ "name": "role", "type": "string" },
|
421
|
-
{ "name": "ariaLive", "type": "string" }
|
414
|
+
}
|
422
415
|
],
|
423
416
|
"events": []
|
424
417
|
}
|
425
418
|
},
|
426
419
|
{
|
427
420
|
"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",
|
421
|
+
"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
422
|
"doc-url": "",
|
430
423
|
"attributes": [
|
431
424
|
{
|
@@ -441,13 +434,11 @@
|
|
441
434
|
{
|
442
435
|
"name": "icon",
|
443
436
|
"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
|
-
}
|
437
|
+
"value": { "type": "Icon | undefined" }
|
447
438
|
},
|
448
439
|
{
|
449
|
-
"name": "
|
450
|
-
"description": "If true,
|
440
|
+
"name": "icon-only",
|
441
|
+
"description": "If true, button will take a square shape",
|
451
442
|
"value": { "type": "boolean", "default": "false" }
|
452
443
|
},
|
453
444
|
{
|
@@ -467,15 +458,15 @@
|
|
467
458
|
{
|
468
459
|
"name": "size",
|
469
460
|
"description": "If provided, displays an alternative size",
|
470
|
-
"value": {
|
461
|
+
"value": {
|
462
|
+
"type": "'sm' | 'md' | 'lg' | undefined",
|
463
|
+
"default": "'md'"
|
464
|
+
}
|
471
465
|
},
|
472
466
|
{
|
473
467
|
"name": "type",
|
474
468
|
"description": "If provided, changes the button type",
|
475
|
-
"value": {
|
476
|
-
"type": "'button' | 'submit' | 'reset'",
|
477
|
-
"default": "'button'"
|
478
|
-
}
|
469
|
+
"value": { "type": "SkfButtonType", "default": "'button'" }
|
479
470
|
},
|
480
471
|
{
|
481
472
|
"name": "variant",
|
@@ -490,6 +481,7 @@
|
|
490
481
|
"events": [
|
491
482
|
{
|
492
483
|
"name": "click",
|
484
|
+
"type": "CustomEvent",
|
493
485
|
"description": "Fires when the button is clicked"
|
494
486
|
}
|
495
487
|
],
|
@@ -508,11 +500,11 @@
|
|
508
500
|
{
|
509
501
|
"name": "icon",
|
510
502
|
"description": "If provided, renders an icon before or after the text",
|
511
|
-
"type": "
|
503
|
+
"type": "Icon | undefined"
|
512
504
|
},
|
513
505
|
{
|
514
506
|
"name": "iconOnly",
|
515
|
-
"description": "If true,
|
507
|
+
"description": "If true, button will take a square shape",
|
516
508
|
"type": "boolean"
|
517
509
|
},
|
518
510
|
{
|
@@ -529,12 +521,12 @@
|
|
529
521
|
{
|
530
522
|
"name": "size",
|
531
523
|
"description": "If provided, displays an alternative size",
|
532
|
-
"type": "'sm' | 'md' | 'lg'"
|
524
|
+
"type": "'sm' | 'md' | 'lg' | undefined"
|
533
525
|
},
|
534
526
|
{
|
535
527
|
"name": "type",
|
536
528
|
"description": "If provided, changes the button type",
|
537
|
-
"type": "
|
529
|
+
"type": "SkfButtonType"
|
538
530
|
},
|
539
531
|
{
|
540
532
|
"name": "variant",
|
@@ -545,6 +537,7 @@
|
|
545
537
|
"events": [
|
546
538
|
{
|
547
539
|
"name": "click",
|
540
|
+
"type": "CustomEvent",
|
548
541
|
"description": "Fires when the button is clicked"
|
549
542
|
}
|
550
543
|
]
|
@@ -552,7 +545,7 @@
|
|
552
545
|
},
|
553
546
|
{
|
554
547
|
"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",
|
548
|
+
"description": "The `<skf-card>` can be used to group related subjects in a container\n\nSee [zeroheight](https://zeroheight.com/853e936c9/p/021eed-card) for design principles\n---\n\n\n### **Slots:**\n - _default_ - The card's main content",
|
556
549
|
"doc-url": "",
|
557
550
|
"attributes": [
|
558
551
|
{
|
@@ -596,7 +589,7 @@
|
|
596
589
|
},
|
597
590
|
{
|
598
591
|
"name": "skf-checkbox",
|
599
|
-
"description": "The `<skf-checkbox>` component is used to create a checkbox input\n---\n\n\n### **Events:**\n - **change** -
|
592
|
+
"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
593
|
"doc-url": "",
|
601
594
|
"attributes": [
|
602
595
|
{
|
@@ -647,9 +640,7 @@
|
|
647
640
|
{
|
648
641
|
"name": "severity",
|
649
642
|
"description": "If defined, styles checkbox using provided severity",
|
650
|
-
"value": {
|
651
|
-
"type": "\"alert\" | \"success\" | \"info\" | \"warning\""
|
652
|
-
}
|
643
|
+
"value": { "type": "FormFieldSeverity | undefined" }
|
653
644
|
},
|
654
645
|
{
|
655
646
|
"name": "show-valid",
|
@@ -676,7 +667,8 @@
|
|
676
667
|
"events": [
|
677
668
|
{
|
678
669
|
"name": "change",
|
679
|
-
"
|
670
|
+
"type": "Event",
|
671
|
+
"description": "When the value of the input changes"
|
680
672
|
}
|
681
673
|
],
|
682
674
|
"js": {
|
@@ -718,7 +710,7 @@
|
|
718
710
|
{
|
719
711
|
"name": "severity",
|
720
712
|
"description": "If defined, styles checkbox using provided severity",
|
721
|
-
"type": "
|
713
|
+
"type": "FormFieldSeverity | undefined"
|
722
714
|
},
|
723
715
|
{
|
724
716
|
"name": "showValid",
|
@@ -739,7 +731,8 @@
|
|
739
731
|
"events": [
|
740
732
|
{
|
741
733
|
"name": "change",
|
742
|
-
"
|
734
|
+
"type": "Event",
|
735
|
+
"description": "When the value of the input changes"
|
743
736
|
}
|
744
737
|
]
|
745
738
|
}
|
@@ -853,12 +846,12 @@
|
|
853
846
|
{
|
854
847
|
"name": "as",
|
855
848
|
"description": "Controls which heading element will be rendered. Should not be used to affect appearance",
|
856
|
-
"value": { "type": "
|
849
|
+
"value": { "type": "HeadingType", "default": "'h2'" }
|
857
850
|
},
|
858
851
|
{
|
859
852
|
"name": "styled-as",
|
860
853
|
"description": "If defined, changes the appearance of the heading",
|
861
|
-
"value": { "type": "
|
854
|
+
"value": { "type": "HeadingType | undefined" }
|
862
855
|
}
|
863
856
|
],
|
864
857
|
"slots": [{ "name": "", "description": "The headings content" }],
|
@@ -868,12 +861,12 @@
|
|
868
861
|
{
|
869
862
|
"name": "as",
|
870
863
|
"description": "Controls which heading element will be rendered. Should not be used to affect appearance",
|
871
|
-
"type": "
|
864
|
+
"type": "HeadingType"
|
872
865
|
},
|
873
866
|
{
|
874
867
|
"name": "styledAs",
|
875
868
|
"description": "If defined, changes the appearance of the heading",
|
876
|
-
"type": "
|
869
|
+
"type": "HeadingType | undefined"
|
877
870
|
}
|
878
871
|
],
|
879
872
|
"events": []
|
@@ -881,7 +874,7 @@
|
|
881
874
|
},
|
882
875
|
{
|
883
876
|
"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
|
877
|
+
"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
878
|
"doc-url": "",
|
886
879
|
"attributes": [
|
887
880
|
{
|
@@ -925,14 +918,17 @@
|
|
925
918
|
"events": [
|
926
919
|
{
|
927
920
|
"name": "skf-dialog-opened",
|
921
|
+
"type": "CustomEvent",
|
928
922
|
"description": "Fires when the dialog is opened (after transitioned in)"
|
929
923
|
},
|
930
924
|
{
|
931
925
|
"name": "skf-dialog-closing",
|
932
|
-
"
|
926
|
+
"type": "CustomEvent",
|
927
|
+
"description": "Fires when the dialog is closing (before transitioned out)"
|
933
928
|
},
|
934
929
|
{
|
935
930
|
"name": "skf-dialog-closed",
|
931
|
+
"type": "CustomEvent",
|
936
932
|
"description": "Fires when the dialog is closed (after transitioned out)"
|
937
933
|
}
|
938
934
|
],
|
@@ -972,14 +968,17 @@
|
|
972
968
|
"events": [
|
973
969
|
{
|
974
970
|
"name": "skf-dialog-opened",
|
971
|
+
"type": "CustomEvent",
|
975
972
|
"description": "Fires when the dialog is opened (after transitioned in)"
|
976
973
|
},
|
977
974
|
{
|
978
975
|
"name": "skf-dialog-closing",
|
979
|
-
"
|
976
|
+
"type": "CustomEvent",
|
977
|
+
"description": "Fires when the dialog is closing (before transitioned out)"
|
980
978
|
},
|
981
979
|
{
|
982
980
|
"name": "skf-dialog-closed",
|
981
|
+
"type": "CustomEvent",
|
983
982
|
"description": "Fires when the dialog is closed (after transitioned out)"
|
984
983
|
}
|
985
984
|
]
|
@@ -1030,7 +1029,7 @@
|
|
1030
1029
|
},
|
1031
1030
|
{
|
1032
1031
|
"name": "skf-drawer",
|
1033
|
-
"description": "The `<skf-drawer>` is a modal component that displays content and toggle by sliding from left/right viewport edge
|
1032
|
+
"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
1033
|
"doc-url": "",
|
1035
1034
|
"attributes": [
|
1036
1035
|
{
|
@@ -1063,14 +1062,17 @@
|
|
1063
1062
|
"events": [
|
1064
1063
|
{
|
1065
1064
|
"name": "skf-drawer-opened",
|
1065
|
+
"type": "CustomEvent",
|
1066
1066
|
"description": "Fires when the drawer is opened (after transitioned in)"
|
1067
1067
|
},
|
1068
1068
|
{
|
1069
1069
|
"name": "skf-drawer-closing",
|
1070
|
-
"
|
1070
|
+
"type": "CustomEvent",
|
1071
|
+
"description": "Fires when the drawer is closing (before transitioned out)"
|
1071
1072
|
},
|
1072
1073
|
{
|
1073
1074
|
"name": "skf-drawer-closed",
|
1075
|
+
"type": "CustomEvent",
|
1074
1076
|
"description": "Fires when the drawer is closed (after transitioned out)"
|
1075
1077
|
}
|
1076
1078
|
],
|
@@ -1100,22 +1102,22 @@
|
|
1100
1102
|
"name": "placement",
|
1101
1103
|
"description": "Placement of the Drawer",
|
1102
1104
|
"type": "'left' | 'right'"
|
1103
|
-
}
|
1104
|
-
{ "name": "_clickstartInDialog", "type": "boolean" },
|
1105
|
-
{ "name": "_handleMouseDown" },
|
1106
|
-
{ "name": "_handleMouseUp" }
|
1105
|
+
}
|
1107
1106
|
],
|
1108
1107
|
"events": [
|
1109
1108
|
{
|
1110
1109
|
"name": "skf-drawer-opened",
|
1110
|
+
"type": "CustomEvent",
|
1111
1111
|
"description": "Fires when the drawer is opened (after transitioned in)"
|
1112
1112
|
},
|
1113
1113
|
{
|
1114
1114
|
"name": "skf-drawer-closing",
|
1115
|
-
"
|
1115
|
+
"type": "CustomEvent",
|
1116
|
+
"description": "Fires when the drawer is closing (before transitioned out)"
|
1116
1117
|
},
|
1117
1118
|
{
|
1118
1119
|
"name": "skf-drawer-closed",
|
1120
|
+
"type": "CustomEvent",
|
1119
1121
|
"description": "Fires when the drawer is closed (after transitioned out)"
|
1120
1122
|
}
|
1121
1123
|
]
|
@@ -1134,10 +1136,7 @@
|
|
1134
1136
|
{
|
1135
1137
|
"name": "color",
|
1136
1138
|
"description": "Defines the color of the logo",
|
1137
|
-
"value": {
|
1138
|
-
"type": "\"primary\" | \"secondary\" | \"inverse\"",
|
1139
|
-
"default": "'primary'"
|
1140
|
-
}
|
1139
|
+
"value": { "type": "SkfLogoColor", "default": "'primary'" }
|
1141
1140
|
}
|
1142
1141
|
],
|
1143
1142
|
"events": [],
|
@@ -1151,7 +1150,7 @@
|
|
1151
1150
|
{
|
1152
1151
|
"name": "color",
|
1153
1152
|
"description": "Defines the color of the logo",
|
1154
|
-
"type": "
|
1153
|
+
"type": "SkfLogoColor"
|
1155
1154
|
}
|
1156
1155
|
],
|
1157
1156
|
"events": []
|
@@ -1178,13 +1177,13 @@
|
|
1178
1177
|
},
|
1179
1178
|
{
|
1180
1179
|
"name": "skf-header",
|
1181
|
-
"description": "The `<skf-header>` component is to be used as the site-header in the app
|
1180
|
+
"description": "The `<skf-header>` component is to be used as the site-header in the app. The navigation will be collapsed to mobile-view if the menu items exceed the available width.\n---\n\n\n### **Slots:**\n - _default_ - Navigation items",
|
1182
1181
|
"doc-url": "",
|
1183
1182
|
"attributes": [
|
1184
1183
|
{
|
1185
1184
|
"name": "compact",
|
1186
1185
|
"description": "If true, sets header to display in compact mode only (hanburger menu and drawer)",
|
1187
|
-
"value": { "type": "
|
1186
|
+
"value": { "type": "string" }
|
1188
1187
|
},
|
1189
1188
|
{
|
1190
1189
|
"name": "hamburger-aria-label",
|
@@ -1208,8 +1207,7 @@
|
|
1208
1207
|
"properties": [
|
1209
1208
|
{
|
1210
1209
|
"name": "compact",
|
1211
|
-
"description": "If true, sets header to display in compact mode only (hanburger menu and drawer)"
|
1212
|
-
"type": "boolean"
|
1210
|
+
"description": "If true, sets header to display in compact mode only (hanburger menu and drawer)"
|
1213
1211
|
},
|
1214
1212
|
{
|
1215
1213
|
"name": "hamburgerAriaLabel",
|
@@ -1232,24 +1230,24 @@
|
|
1232
1230
|
},
|
1233
1231
|
{
|
1234
1232
|
"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
|
1233
|
+
"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
1234
|
"doc-url": "",
|
1237
1235
|
"attributes": [
|
1238
1236
|
{
|
1239
1237
|
"name": "disabled",
|
1240
1238
|
"description": "If true, sets disabled state",
|
1241
|
-
"value": { "type": "boolean" }
|
1239
|
+
"value": { "type": "boolean", "default": "false" }
|
1242
1240
|
},
|
1243
1241
|
{
|
1244
1242
|
"name": "required",
|
1245
1243
|
"description": "If true, value is required or must be checked for the form to be submittable",
|
1246
|
-
"value": { "type": "boolean" }
|
1244
|
+
"value": { "type": "boolean", "default": "false" }
|
1247
1245
|
},
|
1248
1246
|
{
|
1249
1247
|
"name": "autocomplete",
|
1250
|
-
"description": "
|
1248
|
+
"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
1249
|
"value": {
|
1252
|
-
"type": "'
|
1250
|
+
"type": "HTMLInputElement['autocomplete'] | undefined"
|
1253
1251
|
}
|
1254
1252
|
},
|
1255
1253
|
{
|
@@ -1275,12 +1273,12 @@
|
|
1275
1273
|
{
|
1276
1274
|
"name": "debug",
|
1277
1275
|
"description": "If true, outputs helping hints in console",
|
1278
|
-
"value": { "type": "boolean
|
1276
|
+
"value": { "type": "boolean", "default": "false" }
|
1279
1277
|
},
|
1280
1278
|
{
|
1281
1279
|
"name": "hide-label",
|
1282
1280
|
"description": "If true, hides the label visually",
|
1283
|
-
"value": { "type": "boolean
|
1281
|
+
"value": { "type": "boolean", "default": "false" }
|
1284
1282
|
},
|
1285
1283
|
{
|
1286
1284
|
"name": "hint",
|
@@ -1289,9 +1287,9 @@
|
|
1289
1287
|
},
|
1290
1288
|
{
|
1291
1289
|
"name": "inputmode",
|
1292
|
-
"description": "
|
1290
|
+
"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
1291
|
"value": {
|
1294
|
-
"type": "'
|
1292
|
+
"type": "HTMLInputElement['inputMode']",
|
1295
1293
|
"default": "'text'"
|
1296
1294
|
}
|
1297
1295
|
},
|
@@ -1343,7 +1341,7 @@
|
|
1343
1341
|
{
|
1344
1342
|
"name": "readonly",
|
1345
1343
|
"description": "If true, makes the element not mutable, meaning the user can not edit the control",
|
1346
|
-
"value": { "type": "boolean
|
1344
|
+
"value": { "type": "boolean", "default": "false" }
|
1347
1345
|
},
|
1348
1346
|
{
|
1349
1347
|
"name": "required-label",
|
@@ -1353,12 +1351,12 @@
|
|
1353
1351
|
{
|
1354
1352
|
"name": "severity",
|
1355
1353
|
"description": "If defined, displays provided severity state",
|
1356
|
-
"value": { "type": "
|
1354
|
+
"value": { "type": "FormFieldSeverity | undefined" }
|
1357
1355
|
},
|
1358
1356
|
{
|
1359
1357
|
"name": "show-valid",
|
1360
1358
|
"description": "If true, displays valid state after interaction",
|
1361
|
-
"value": { "type": "boolean
|
1359
|
+
"value": { "type": "boolean", "default": "false" }
|
1362
1360
|
},
|
1363
1361
|
{
|
1364
1362
|
"name": "size",
|
@@ -1372,9 +1370,9 @@
|
|
1372
1370
|
},
|
1373
1371
|
{
|
1374
1372
|
"name": "type",
|
1375
|
-
"description": "Type of input
|
1373
|
+
"description": "Type of input",
|
1376
1374
|
"value": {
|
1377
|
-
"type": "'
|
1375
|
+
"type": "'email' | 'number' | 'password' | 'search' | 'tel' | 'text' | 'url'",
|
1378
1376
|
"default": "'text'"
|
1379
1377
|
}
|
1380
1378
|
},
|
@@ -1389,7 +1387,7 @@
|
|
1389
1387
|
{
|
1390
1388
|
"name": "value",
|
1391
1389
|
"description": "The current value of the input field",
|
1392
|
-
"value": { "type": "string"
|
1390
|
+
"value": { "type": "string" }
|
1393
1391
|
}
|
1394
1392
|
],
|
1395
1393
|
"slots": [
|
@@ -1401,10 +1399,12 @@
|
|
1401
1399
|
"events": [
|
1402
1400
|
{
|
1403
1401
|
"name": "change",
|
1402
|
+
"type": "CustomEvent",
|
1404
1403
|
"description": "Fires when the value of the input changes"
|
1405
1404
|
},
|
1406
1405
|
{
|
1407
1406
|
"name": "invalid",
|
1407
|
+
"type": "CustomEvent",
|
1408
1408
|
"description": "Fires when the input is invalid"
|
1409
1409
|
}
|
1410
1410
|
],
|
@@ -1412,8 +1412,8 @@
|
|
1412
1412
|
"properties": [
|
1413
1413
|
{
|
1414
1414
|
"name": "autocomplete",
|
1415
|
-
"description": "
|
1416
|
-
"type": "'
|
1415
|
+
"description": "Indicates whether the value of the control can be automatically completed by the browser. See\n[MDN Web Docs](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/autocomplete) for details.",
|
1416
|
+
"type": "HTMLInputElement['autocomplete'] | undefined"
|
1417
1417
|
},
|
1418
1418
|
{
|
1419
1419
|
"name": "buttonAriaLabelClear",
|
@@ -1437,12 +1437,12 @@
|
|
1437
1437
|
{
|
1438
1438
|
"name": "debug",
|
1439
1439
|
"description": "If true, outputs helping hints in console",
|
1440
|
-
"type": "boolean
|
1440
|
+
"type": "boolean"
|
1441
1441
|
},
|
1442
1442
|
{
|
1443
1443
|
"name": "hideLabel",
|
1444
1444
|
"description": "If true, hides the label visually",
|
1445
|
-
"type": "boolean
|
1445
|
+
"type": "boolean"
|
1446
1446
|
},
|
1447
1447
|
{
|
1448
1448
|
"name": "hint",
|
@@ -1451,8 +1451,8 @@
|
|
1451
1451
|
},
|
1452
1452
|
{
|
1453
1453
|
"name": "inputmode",
|
1454
|
-
"description": "
|
1455
|
-
"type": "'
|
1454
|
+
"description": "Provides a hint about the type of data that might be entered by the user while editing the element or its contents. See\n[MDN Web Docs](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/inputMode) for details.",
|
1455
|
+
"type": "HTMLInputElement['inputMode']"
|
1456
1456
|
},
|
1457
1457
|
{
|
1458
1458
|
"name": "label",
|
@@ -1502,7 +1502,7 @@
|
|
1502
1502
|
{
|
1503
1503
|
"name": "readonly",
|
1504
1504
|
"description": "If true, makes the element not mutable, meaning the user can not edit the control",
|
1505
|
-
"type": "boolean
|
1505
|
+
"type": "boolean"
|
1506
1506
|
},
|
1507
1507
|
{
|
1508
1508
|
"name": "requiredLabel",
|
@@ -1512,12 +1512,12 @@
|
|
1512
1512
|
{
|
1513
1513
|
"name": "severity",
|
1514
1514
|
"description": "If defined, displays provided severity state",
|
1515
|
-
"type": "
|
1515
|
+
"type": "FormFieldSeverity | undefined"
|
1516
1516
|
},
|
1517
1517
|
{
|
1518
1518
|
"name": "showValid",
|
1519
1519
|
"description": "If true, displays valid state after interaction",
|
1520
|
-
"type": "boolean
|
1520
|
+
"type": "boolean"
|
1521
1521
|
},
|
1522
1522
|
{
|
1523
1523
|
"name": "size",
|
@@ -1531,8 +1531,8 @@
|
|
1531
1531
|
},
|
1532
1532
|
{
|
1533
1533
|
"name": "type",
|
1534
|
-
"description": "Type of input
|
1535
|
-
"type": "'
|
1534
|
+
"description": "Type of input",
|
1535
|
+
"type": "'email' | 'number' | 'password' | 'search' | 'tel' | 'text' | 'url'"
|
1536
1536
|
},
|
1537
1537
|
{
|
1538
1538
|
"name": "validateOn",
|
@@ -1541,17 +1541,18 @@
|
|
1541
1541
|
},
|
1542
1542
|
{
|
1543
1543
|
"name": "value",
|
1544
|
-
"description": "The current value of the input field"
|
1545
|
-
"type": "string"
|
1544
|
+
"description": "The current value of the input field"
|
1546
1545
|
}
|
1547
1546
|
],
|
1548
1547
|
"events": [
|
1549
1548
|
{
|
1550
1549
|
"name": "change",
|
1550
|
+
"type": "CustomEvent",
|
1551
1551
|
"description": "Fires when the value of the input changes"
|
1552
1552
|
},
|
1553
1553
|
{
|
1554
1554
|
"name": "invalid",
|
1555
|
+
"type": "CustomEvent",
|
1555
1556
|
"description": "Fires when the input is invalid"
|
1556
1557
|
}
|
1557
1558
|
]
|
@@ -1578,7 +1579,7 @@
|
|
1578
1579
|
{
|
1579
1580
|
"name": "disabled",
|
1580
1581
|
"description": "If true, disables the link",
|
1581
|
-
"value": { "type": "boolean
|
1582
|
+
"value": { "type": "boolean", "default": "false" }
|
1582
1583
|
},
|
1583
1584
|
{
|
1584
1585
|
"name": "download",
|
@@ -1593,9 +1594,7 @@
|
|
1593
1594
|
{
|
1594
1595
|
"name": "icon",
|
1595
1596
|
"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
|
-
}
|
1597
|
+
"value": { "type": "Icon | undefined" }
|
1599
1598
|
},
|
1600
1599
|
{
|
1601
1600
|
"name": "icon-placement",
|
@@ -1627,10 +1626,7 @@
|
|
1627
1626
|
{
|
1628
1627
|
"name": "type",
|
1629
1628
|
"description": "Defines the type of button",
|
1630
|
-
"value": {
|
1631
|
-
"type": "'button' | 'submit' | 'reset'",
|
1632
|
-
"default": "'button'"
|
1633
|
-
}
|
1629
|
+
"value": { "type": "SkfLinkType", "default": "'button'" }
|
1634
1630
|
}
|
1635
1631
|
],
|
1636
1632
|
"slots": [{ "name": "", "description": "The links' main content" }],
|
@@ -1650,7 +1646,7 @@
|
|
1650
1646
|
{
|
1651
1647
|
"name": "disabled",
|
1652
1648
|
"description": "If true, disables the link",
|
1653
|
-
"type": "boolean
|
1649
|
+
"type": "boolean"
|
1654
1650
|
},
|
1655
1651
|
{
|
1656
1652
|
"name": "download",
|
@@ -1665,13 +1661,17 @@
|
|
1665
1661
|
{
|
1666
1662
|
"name": "icon",
|
1667
1663
|
"description": "If defined, renders an icon before or after the text",
|
1668
|
-
"type": "
|
1664
|
+
"type": "Icon | undefined"
|
1669
1665
|
},
|
1670
1666
|
{
|
1671
1667
|
"name": "iconPlacement",
|
1672
1668
|
"description": "Defines the position of the icon in relation to the text",
|
1673
1669
|
"type": "'left' | 'right'"
|
1674
1670
|
},
|
1671
|
+
{
|
1672
|
+
"name": "onClick",
|
1673
|
+
"description": "If defined, accepts a function that runs on click. Forwards optional route as second argument."
|
1674
|
+
},
|
1675
1675
|
{
|
1676
1676
|
"name": "rel",
|
1677
1677
|
"description": "If defined, describes the relationship between a linked resource and the current document",
|
@@ -1695,67 +1695,15 @@
|
|
1695
1695
|
{
|
1696
1696
|
"name": "type",
|
1697
1697
|
"description": "Defines the type of button",
|
1698
|
-
"type": "
|
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"
|
1698
|
+
"type": "SkfLinkType"
|
1704
1699
|
}
|
1705
1700
|
],
|
1706
1701
|
"events": []
|
1707
1702
|
}
|
1708
1703
|
},
|
1709
|
-
{
|
1710
|
-
"name": "skf-menu",
|
1711
|
-
"description": "The `<skf-menu>` is a component that displays a list of actions or options.\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 popover content",
|
1712
|
-
"doc-url": "",
|
1713
|
-
"attributes": [
|
1714
|
-
{
|
1715
|
-
"name": "placement",
|
1716
|
-
"description": "The placement of the menu",
|
1717
|
-
"value": {
|
1718
|
-
"type": "\"top\" | \"right\" | \"bottom\" | \"left\" | \"top-start\" | \"top-end\" | \"right-start\" | \"right-end\" | \"bottom-start\" | \"bottom-end\" | \"left-start\" | \"left-end\"",
|
1719
|
-
"default": "'bottom-start'"
|
1720
|
-
}
|
1721
|
-
},
|
1722
|
-
{
|
1723
|
-
"name": "anchor",
|
1724
|
-
"description": "The id of the element the menu will be anchored to",
|
1725
|
-
"value": { "type": "string" }
|
1726
|
-
}
|
1727
|
-
],
|
1728
|
-
"slots": [{ "name": "", "description": "The menu popover content" }],
|
1729
|
-
"events": [
|
1730
|
-
{
|
1731
|
-
"name": "skf-opened",
|
1732
|
-
"description": "Fired when the menu is opened"
|
1733
|
-
},
|
1734
|
-
{
|
1735
|
-
"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
1704
|
{
|
1757
1705
|
"name": "skf-menu-item",
|
1758
|
-
"description": "The `<skf-menu-item>` is
|
1706
|
+
"description": "The `<skf-menu-item>` is used in conjunction with the `<skf-menu>` component\n---\n\n\n### **Slots:**\n - _default_ - The component's main content",
|
1759
1707
|
"doc-url": "",
|
1760
1708
|
"attributes": [
|
1761
1709
|
{
|
@@ -1774,7 +1722,7 @@
|
|
1774
1722
|
{
|
1775
1723
|
"name": "disabled",
|
1776
1724
|
"description": "If true, disables the link",
|
1777
|
-
"value": { "type": "boolean
|
1725
|
+
"value": { "type": "boolean", "default": "false" }
|
1778
1726
|
},
|
1779
1727
|
{
|
1780
1728
|
"name": "download",
|
@@ -1789,9 +1737,7 @@
|
|
1789
1737
|
{
|
1790
1738
|
"name": "icon",
|
1791
1739
|
"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
|
-
}
|
1740
|
+
"value": { "type": "Icon | undefined" }
|
1795
1741
|
},
|
1796
1742
|
{
|
1797
1743
|
"name": "icon-placement",
|
@@ -1823,52 +1769,16 @@
|
|
1823
1769
|
{
|
1824
1770
|
"name": "type",
|
1825
1771
|
"description": "Defines the type of button",
|
1826
|
-
"value": {
|
1827
|
-
"type": "'button' | 'submit' | 'reset'",
|
1828
|
-
"default": "'button'"
|
1829
|
-
}
|
1772
|
+
"value": { "type": "SkfLinkType", "default": "'button'" }
|
1830
1773
|
}
|
1831
1774
|
],
|
1832
1775
|
"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
|
-
"type": "CustomEvent",
|
1843
|
-
"description": "Fired when something happens"
|
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"
|
1868
|
-
}
|
1776
|
+
{ "name": "", "description": "The component's main content" }
|
1869
1777
|
],
|
1778
|
+
"events": [],
|
1870
1779
|
"js": {
|
1871
1780
|
"properties": [
|
1781
|
+
{ "name": "role", "type": "string" },
|
1872
1782
|
{
|
1873
1783
|
"name": "as",
|
1874
1784
|
"description": "Defines the semantic element to render",
|
@@ -1882,7 +1792,7 @@
|
|
1882
1792
|
{
|
1883
1793
|
"name": "disabled",
|
1884
1794
|
"description": "If true, disables the link",
|
1885
|
-
"type": "boolean
|
1795
|
+
"type": "boolean"
|
1886
1796
|
},
|
1887
1797
|
{
|
1888
1798
|
"name": "download",
|
@@ -1897,13 +1807,17 @@
|
|
1897
1807
|
{
|
1898
1808
|
"name": "icon",
|
1899
1809
|
"description": "If defined, renders an icon before or after the text",
|
1900
|
-
"type": "
|
1810
|
+
"type": "Icon | undefined"
|
1901
1811
|
},
|
1902
1812
|
{
|
1903
1813
|
"name": "iconPlacement",
|
1904
1814
|
"description": "Defines the position of the icon in relation to the text",
|
1905
1815
|
"type": "'left' | 'right'"
|
1906
1816
|
},
|
1817
|
+
{
|
1818
|
+
"name": "onClick",
|
1819
|
+
"description": "If defined, accepts a function that runs on click. Forwards optional route as second argument."
|
1820
|
+
},
|
1907
1821
|
{
|
1908
1822
|
"name": "rel",
|
1909
1823
|
"description": "If defined, describes the relationship between a linked resource and the current document",
|
@@ -1927,43 +1841,56 @@
|
|
1927
1841
|
{
|
1928
1842
|
"name": "type",
|
1929
1843
|
"description": "Defines the type of button",
|
1930
|
-
"type": "
|
1931
|
-
},
|
1932
|
-
{
|
1933
|
-
"name": "onClick",
|
1934
|
-
"description": "If provided, custom function triggered by click where the second return parameter enables custom routing.",
|
1935
|
-
"type": "function"
|
1844
|
+
"type": "SkfLinkType"
|
1936
1845
|
}
|
1937
1846
|
],
|
1847
|
+
"events": []
|
1848
|
+
}
|
1849
|
+
},
|
1850
|
+
{
|
1851
|
+
"name": "skf-menu",
|
1852
|
+
"description": "The `<skf-menu>` is a component that displays a list of actions or options\n\nSee [zeroheight](https://zeroheight.com/853e936c9/p/983e5d-popover) for design principles\n---\n\n\n### **Events:**\n - **skf-opened** - Fired when the menu is opened\n- **skf-closed** - Fired when the menu is closed\n\n### **Slots:**\n - _default_ - The menu popover content",
|
1853
|
+
"doc-url": "",
|
1854
|
+
"attributes": [
|
1855
|
+
{
|
1856
|
+
"name": "placement",
|
1857
|
+
"description": "The placement of the menu",
|
1858
|
+
"value": {
|
1859
|
+
"type": "\"top\" | \"right\" | \"bottom\" | \"left\" | \"top-start\" | \"top-end\" | \"right-start\" | \"right-end\" | \"bottom-start\" | \"bottom-end\" | \"left-start\" | \"left-end\"",
|
1860
|
+
"default": "'bottom-start'"
|
1861
|
+
}
|
1862
|
+
},
|
1863
|
+
{
|
1864
|
+
"name": "anchor",
|
1865
|
+
"description": "The id of the element the menu will be anchored to",
|
1866
|
+
"value": { "type": "string" }
|
1867
|
+
}
|
1868
|
+
],
|
1869
|
+
"slots": [{ "name": "", "description": "The menu popover content" }],
|
1870
|
+
"events": [
|
1871
|
+
{
|
1872
|
+
"name": "skf-opened",
|
1873
|
+
"type": "CustomEvent",
|
1874
|
+
"description": "Fired when the menu is opened"
|
1875
|
+
},
|
1876
|
+
{
|
1877
|
+
"name": "skf-closed",
|
1878
|
+
"type": "CustomEvent",
|
1879
|
+
"description": "Fired when the menu is closed"
|
1880
|
+
}
|
1881
|
+
],
|
1882
|
+
"js": {
|
1883
|
+
"properties": [],
|
1938
1884
|
"events": [
|
1939
1885
|
{
|
1940
|
-
"name": "
|
1886
|
+
"name": "skf-opened",
|
1941
1887
|
"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"
|
1888
|
+
"description": "Fired when the menu is opened"
|
1963
1889
|
},
|
1964
1890
|
{
|
1965
|
-
"name": "
|
1966
|
-
"
|
1891
|
+
"name": "skf-closed",
|
1892
|
+
"type": "CustomEvent",
|
1893
|
+
"description": "Fired when the menu is closed"
|
1967
1894
|
}
|
1968
1895
|
]
|
1969
1896
|
}
|
@@ -1993,12 +1920,12 @@
|
|
1993
1920
|
},
|
1994
1921
|
{
|
1995
1922
|
"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 menu is opened\n- **skf-closed** - Fired when the menu is closed\n\n### **Slots:**\n - _default_ - The popover content",
|
1923
|
+
"description": "The `<skf-popover>` is a general purpose component that displays the slot content in a popover.\n\nSee [zeroheight](https://zeroheight.com/853e936c9/p/983e5d-popover) for design principles\n---\n\n\n### **Events:**\n - **skf-opened** - Fired when the menu is opened\n- **skf-closed** - Fired when the menu is closed\n\n### **Slots:**\n - _default_ - The popover content",
|
1997
1924
|
"doc-url": "",
|
1998
1925
|
"attributes": [
|
1999
1926
|
{
|
2000
1927
|
"name": "placement",
|
2001
|
-
"description": "The placement of the
|
1928
|
+
"description": "The placement of the popover",
|
2002
1929
|
"value": {
|
2003
1930
|
"type": "\"top\" | \"right\" | \"bottom\" | \"left\" | \"top-start\" | \"top-end\" | \"right-start\" | \"right-end\" | \"bottom-start\" | \"bottom-end\" | \"left-start\" | \"left-end\"",
|
2004
1931
|
"default": "'bottom-start'"
|
@@ -2024,10 +1951,12 @@
|
|
2024
1951
|
"events": [
|
2025
1952
|
{
|
2026
1953
|
"name": "skf-opened",
|
1954
|
+
"type": "CustomEvent",
|
2027
1955
|
"description": "Fired when the menu is opened"
|
2028
1956
|
},
|
2029
1957
|
{
|
2030
1958
|
"name": "skf-closed",
|
1959
|
+
"type": "CustomEvent",
|
2031
1960
|
"description": "Fired when the menu is closed"
|
2032
1961
|
}
|
2033
1962
|
],
|
@@ -2042,18 +1971,17 @@
|
|
2042
1971
|
"name": "hideArrow",
|
2043
1972
|
"description": "If true, hides the arrow",
|
2044
1973
|
"type": "boolean"
|
2045
|
-
}
|
2046
|
-
{ "name": "arrow", "type": "boolean" },
|
2047
|
-
{ "name": "placement", "type": "string" },
|
2048
|
-
{ "name": "triggerEvent", "type": "string" }
|
1974
|
+
}
|
2049
1975
|
],
|
2050
1976
|
"events": [
|
2051
1977
|
{
|
2052
1978
|
"name": "skf-opened",
|
1979
|
+
"type": "CustomEvent",
|
2053
1980
|
"description": "Fired when the menu is opened"
|
2054
1981
|
},
|
2055
1982
|
{
|
2056
1983
|
"name": "skf-closed",
|
1984
|
+
"type": "CustomEvent",
|
2057
1985
|
"description": "Fired when the menu is closed"
|
2058
1986
|
}
|
2059
1987
|
]
|
@@ -2104,7 +2032,7 @@
|
|
2104
2032
|
},
|
2105
2033
|
{
|
2106
2034
|
"name": "skf-radio",
|
2107
|
-
"description": "The `<skf-radio>` component is used to create a radio input\n---\n\n\n### **Events:**\n - **change** -
|
2035
|
+
"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
2036
|
"doc-url": "",
|
2109
2037
|
"attributes": [
|
2110
2038
|
{
|
@@ -2155,9 +2083,7 @@
|
|
2155
2083
|
{
|
2156
2084
|
"name": "severity",
|
2157
2085
|
"description": "If defined, displays provided severity state",
|
2158
|
-
"value": {
|
2159
|
-
"type": "\"success\" | \"info\" | \"warning\" | \"alert\""
|
2160
|
-
}
|
2086
|
+
"value": { "type": "FormFieldSeverity | undefined" }
|
2161
2087
|
},
|
2162
2088
|
{
|
2163
2089
|
"name": "show-valid",
|
@@ -2179,7 +2105,8 @@
|
|
2179
2105
|
"events": [
|
2180
2106
|
{
|
2181
2107
|
"name": "change",
|
2182
|
-
"
|
2108
|
+
"type": "Event",
|
2109
|
+
"description": "When the value of the input changes"
|
2183
2110
|
}
|
2184
2111
|
],
|
2185
2112
|
"js": {
|
@@ -2222,7 +2149,7 @@
|
|
2222
2149
|
{
|
2223
2150
|
"name": "severity",
|
2224
2151
|
"description": "If defined, displays provided severity state",
|
2225
|
-
"type": "
|
2152
|
+
"type": "FormFieldSeverity | undefined"
|
2226
2153
|
},
|
2227
2154
|
{
|
2228
2155
|
"name": "showValid",
|
@@ -2238,14 +2165,15 @@
|
|
2238
2165
|
"events": [
|
2239
2166
|
{
|
2240
2167
|
"name": "change",
|
2241
|
-
"
|
2168
|
+
"type": "Event",
|
2169
|
+
"description": "When the value of the input changes"
|
2242
2170
|
}
|
2243
2171
|
]
|
2244
2172
|
}
|
2245
2173
|
},
|
2246
2174
|
{
|
2247
2175
|
"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 - **
|
2176
|
+
"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
2177
|
"doc-url": "",
|
2250
2178
|
"attributes": [
|
2251
2179
|
{
|
@@ -2253,18 +2181,23 @@
|
|
2253
2181
|
"description": "If true, items is marked as disabled",
|
2254
2182
|
"value": { "type": "boolean", "default": "false" }
|
2255
2183
|
},
|
2184
|
+
{
|
2185
|
+
"name": "selected",
|
2186
|
+
"description": "If true, items is marked as selected",
|
2187
|
+
"value": { "type": "boolean", "default": "false" }
|
2188
|
+
},
|
2256
2189
|
{
|
2257
2190
|
"name": "value",
|
2258
2191
|
"description": "Sets the item value",
|
2259
2192
|
"value": { "type": "string", "default": "''" }
|
2260
2193
|
}
|
2261
2194
|
],
|
2262
|
-
"slots": [{ "name": "", "description": "
|
2195
|
+
"slots": [{ "name": "", "description": "Label for the button" }],
|
2263
2196
|
"events": [
|
2264
2197
|
{
|
2265
|
-
"name": "
|
2198
|
+
"name": "skf-segmented-button-item-select",
|
2266
2199
|
"type": "CustomEvent",
|
2267
|
-
"description": "Fired when
|
2200
|
+
"description": "Fired when selected"
|
2268
2201
|
}
|
2269
2202
|
],
|
2270
2203
|
"js": {
|
@@ -2274,6 +2207,11 @@
|
|
2274
2207
|
"description": "If true, items is marked as disabled",
|
2275
2208
|
"type": "boolean"
|
2276
2209
|
},
|
2210
|
+
{
|
2211
|
+
"name": "selected",
|
2212
|
+
"description": "If true, items is marked as selected",
|
2213
|
+
"type": "boolean"
|
2214
|
+
},
|
2277
2215
|
{
|
2278
2216
|
"name": "value",
|
2279
2217
|
"description": "Sets the item value",
|
@@ -2282,9 +2220,9 @@
|
|
2282
2220
|
],
|
2283
2221
|
"events": [
|
2284
2222
|
{
|
2285
|
-
"name": "
|
2223
|
+
"name": "skf-segmented-button-item-select",
|
2286
2224
|
"type": "CustomEvent",
|
2287
|
-
"description": "Fired when
|
2225
|
+
"description": "Fired when selected"
|
2288
2226
|
}
|
2289
2227
|
]
|
2290
2228
|
}
|
@@ -2294,11 +2232,6 @@
|
|
2294
2232
|
"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
2233
|
"doc-url": "",
|
2296
2234
|
"attributes": [
|
2297
|
-
{
|
2298
|
-
"name": "default-selected",
|
2299
|
-
"description": "Sets the default selected control",
|
2300
|
-
"value": { "type": "number", "default": "0" }
|
2301
|
-
},
|
2302
2235
|
{
|
2303
2236
|
"name": "multiple",
|
2304
2237
|
"description": "If true, allowes multiple items to be selected",
|
@@ -2314,11 +2247,6 @@
|
|
2314
2247
|
"events": [],
|
2315
2248
|
"js": {
|
2316
2249
|
"properties": [
|
2317
|
-
{
|
2318
|
-
"name": "defaultSelected",
|
2319
|
-
"description": "Sets the default selected control",
|
2320
|
-
"type": "number"
|
2321
|
-
},
|
2322
2250
|
{
|
2323
2251
|
"name": "multiple",
|
2324
2252
|
"description": "If true, allowes multiple items to be selected",
|
@@ -2329,99 +2257,22 @@
|
|
2329
2257
|
}
|
2330
2258
|
},
|
2331
2259
|
{
|
2332
|
-
"name": "skf-select-option",
|
2333
|
-
"description": "The `<skf-select-option>` is a component
|
2260
|
+
"name": "skf-select-option-group",
|
2261
|
+
"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",
|
2334
2262
|
"doc-url": "",
|
2335
2263
|
"attributes": [
|
2336
2264
|
{
|
2337
|
-
"name": "
|
2338
|
-
"
|
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" }
|
2265
|
+
"name": "label",
|
2266
|
+
"value": { "type": "string", "default": "'Default label'" }
|
2365
2267
|
}
|
2366
2268
|
],
|
2367
2269
|
"slots": [
|
2368
|
-
{ "name": "", "description": "The
|
2369
|
-
{
|
2370
|
-
"name": "icon",
|
2371
|
-
"description": "The option's slot for icon or custom meta information (svg)."
|
2372
|
-
}
|
2373
|
-
],
|
2374
|
-
"events": [
|
2375
|
-
{
|
2376
|
-
"name": "skf-select-option:select",
|
2377
|
-
"description": "{detail: { value: string | null, option: SkfSelectOption }} Fires when the option is selected/deselected."
|
2378
|
-
}
|
2270
|
+
{ "name": "", "description": "The component's placeholder content" }
|
2379
2271
|
],
|
2272
|
+
"events": [],
|
2380
2273
|
"js": {
|
2381
|
-
"properties": [
|
2382
|
-
|
2383
|
-
"name": "disabled",
|
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" }
|
2418
|
-
],
|
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
|
-
]
|
2274
|
+
"properties": [{ "name": "label", "type": "string" }],
|
2275
|
+
"events": []
|
2425
2276
|
}
|
2426
2277
|
},
|
2427
2278
|
{
|
@@ -2437,16 +2288,12 @@
|
|
2437
2288
|
{
|
2438
2289
|
"name": "icon",
|
2439
2290
|
"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
|
-
}
|
2291
|
+
"value": { "type": "Icon | undefined" }
|
2443
2292
|
},
|
2444
2293
|
{
|
2445
2294
|
"name": "color",
|
2446
2295
|
"description": "If defined, gives the supplied appearance",
|
2447
|
-
"value": {
|
2448
|
-
"type": "\"warning\" | \"success\" | \"info\" | \"error\" | \"alert\""
|
2449
|
-
}
|
2296
|
+
"value": { "type": "Severity | undefined" }
|
2450
2297
|
},
|
2451
2298
|
{
|
2452
2299
|
"name": "removable",
|
@@ -2468,12 +2315,12 @@
|
|
2468
2315
|
{
|
2469
2316
|
"name": "icon",
|
2470
2317
|
"description": "If defined, displays leading/provided icon",
|
2471
|
-
"type": "
|
2318
|
+
"type": "Icon | undefined"
|
2472
2319
|
},
|
2473
2320
|
{
|
2474
2321
|
"name": "color",
|
2475
2322
|
"description": "If defined, gives the supplied appearance",
|
2476
|
-
"type": "
|
2323
|
+
"type": "Severity | undefined"
|
2477
2324
|
},
|
2478
2325
|
{
|
2479
2326
|
"name": "onClick",
|
@@ -2494,13 +2341,18 @@
|
|
2494
2341
|
},
|
2495
2342
|
{
|
2496
2343
|
"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
|
2344
|
+
"description": "The `<skf-select>` is a component that displays a list of actions or options. A click in the options list toggle the selected state of the option. Use it together with the ´skf-select-option` tag.\n\nSee [zeroheight](https://zeroheight.com/853e936c9/p/91c9f0-select-and-combobox) for design principles\n---\n\n\n### **Events:**\n - **change** - Fired when the selected option(s) changes\n- **invalid** - Fired when the select is invalid\n- **reset** - Fired when the form is reset\n- **skf-select-dropdown** - {detail: {expanded: boolean}} Fired when the select dropdown is toggled\n- **skf-select-option-select** - {detail: {value: string | null, option: SkfSelectOption}} Fired when the select dropdown is toggled\n\n### **Slots:**\n - _default_ - The select's placeholder content",
|
2498
2345
|
"doc-url": "",
|
2499
2346
|
"attributes": [
|
2500
2347
|
{
|
2501
2348
|
"name": "disabled",
|
2502
|
-
"description": "If true, the select is disabled
|
2503
|
-
"value": { "type": "boolean" }
|
2349
|
+
"description": "If true, the select is disabled",
|
2350
|
+
"value": { "type": "boolean", "default": "false" }
|
2351
|
+
},
|
2352
|
+
{
|
2353
|
+
"name": "required",
|
2354
|
+
"description": "If true, the select is required",
|
2355
|
+
"value": { "type": "boolean", "default": "false" }
|
2504
2356
|
},
|
2505
2357
|
{
|
2506
2358
|
"name": "button-label",
|
@@ -2515,12 +2367,12 @@
|
|
2515
2367
|
{
|
2516
2368
|
"name": "hide-label",
|
2517
2369
|
"description": "If true, hides the label visually",
|
2518
|
-
"value": { "type": "boolean
|
2370
|
+
"value": { "type": "boolean", "default": "false" }
|
2519
2371
|
},
|
2520
2372
|
{
|
2521
2373
|
"name": "hide-tags",
|
2522
2374
|
"description": "If true and mulltiple is true, no tags are displayed under the select",
|
2523
|
-
"value": { "type": "boolean
|
2375
|
+
"value": { "type": "boolean", "default": "false" }
|
2524
2376
|
},
|
2525
2377
|
{
|
2526
2378
|
"name": "hint",
|
@@ -2545,7 +2397,7 @@
|
|
2545
2397
|
{
|
2546
2398
|
"name": "multiple",
|
2547
2399
|
"description": "If true, allows for multiple options to be selected",
|
2548
|
-
"value": { "type": "boolean
|
2400
|
+
"value": { "type": "boolean", "default": "false" }
|
2549
2401
|
},
|
2550
2402
|
{
|
2551
2403
|
"name": "name",
|
@@ -2560,12 +2412,12 @@
|
|
2560
2412
|
{
|
2561
2413
|
"name": "severity",
|
2562
2414
|
"description": "If defined, displays provided severity state",
|
2563
|
-
"value": { "type": "
|
2415
|
+
"value": { "type": "FormFieldSeverity | undefined" }
|
2564
2416
|
},
|
2565
2417
|
{
|
2566
2418
|
"name": "show-valid",
|
2567
2419
|
"description": "If true, displays valid state after interaction",
|
2568
|
-
"value": { "type": "boolean
|
2420
|
+
"value": { "type": "boolean", "default": "false" }
|
2569
2421
|
},
|
2570
2422
|
{
|
2571
2423
|
"name": "size",
|
@@ -2579,19 +2431,27 @@
|
|
2579
2431
|
"events": [
|
2580
2432
|
{
|
2581
2433
|
"name": "change",
|
2434
|
+
"type": "Event",
|
2582
2435
|
"description": "Fired when the selected option(s) changes"
|
2583
2436
|
},
|
2584
2437
|
{
|
2585
2438
|
"name": "invalid",
|
2439
|
+
"type": "Event",
|
2586
2440
|
"description": "Fired when the select is invalid"
|
2587
2441
|
},
|
2588
|
-
{ "name": "reset", "description": "Fired when the form is reset" },
|
2589
2442
|
{
|
2590
|
-
"name": "
|
2443
|
+
"name": "reset",
|
2444
|
+
"type": "Event",
|
2445
|
+
"description": "Fired when the form is reset"
|
2446
|
+
},
|
2447
|
+
{
|
2448
|
+
"name": "skf-select-dropdown",
|
2449
|
+
"type": "CustomEvent",
|
2591
2450
|
"description": "{detail: {expanded: boolean}} Fired when the select dropdown is toggled"
|
2592
2451
|
},
|
2593
2452
|
{
|
2594
|
-
"name": "skf-select-option
|
2453
|
+
"name": "skf-select-option-select",
|
2454
|
+
"type": "CustomEvent",
|
2595
2455
|
"description": "{detail: {value: string | null, option: SkfSelectOption}} Fired when the select dropdown is toggled"
|
2596
2456
|
}
|
2597
2457
|
],
|
@@ -2610,12 +2470,12 @@
|
|
2610
2470
|
{
|
2611
2471
|
"name": "hideLabel",
|
2612
2472
|
"description": "If true, hides the label visually",
|
2613
|
-
"type": "boolean
|
2473
|
+
"type": "boolean"
|
2614
2474
|
},
|
2615
2475
|
{
|
2616
2476
|
"name": "hideTags",
|
2617
2477
|
"description": "If true and mulltiple is true, no tags are displayed under the select",
|
2618
|
-
"type": "boolean
|
2478
|
+
"type": "boolean"
|
2619
2479
|
},
|
2620
2480
|
{
|
2621
2481
|
"name": "hint",
|
@@ -2648,7 +2508,7 @@
|
|
2648
2508
|
{
|
2649
2509
|
"name": "multiple",
|
2650
2510
|
"description": "If true, allows for multiple options to be selected",
|
2651
|
-
"type": "boolean
|
2511
|
+
"type": "boolean"
|
2652
2512
|
},
|
2653
2513
|
{
|
2654
2514
|
"name": "name",
|
@@ -2663,12 +2523,12 @@
|
|
2663
2523
|
{
|
2664
2524
|
"name": "severity",
|
2665
2525
|
"description": "If defined, displays provided severity state",
|
2666
|
-
"type": "
|
2526
|
+
"type": "FormFieldSeverity | undefined"
|
2667
2527
|
},
|
2668
2528
|
{
|
2669
2529
|
"name": "showValid",
|
2670
2530
|
"description": "If true, displays valid state after interaction",
|
2671
|
-
"type": "boolean
|
2531
|
+
"type": "boolean"
|
2672
2532
|
},
|
2673
2533
|
{
|
2674
2534
|
"name": "size",
|
@@ -2684,44 +2544,126 @@
|
|
2684
2544
|
"events": [
|
2685
2545
|
{
|
2686
2546
|
"name": "change",
|
2547
|
+
"type": "Event",
|
2687
2548
|
"description": "Fired when the selected option(s) changes"
|
2688
2549
|
},
|
2689
2550
|
{
|
2690
2551
|
"name": "invalid",
|
2552
|
+
"type": "Event",
|
2691
2553
|
"description": "Fired when the select is invalid"
|
2692
2554
|
},
|
2693
2555
|
{
|
2694
2556
|
"name": "reset",
|
2557
|
+
"type": "Event",
|
2695
2558
|
"description": "Fired when the form is reset"
|
2696
2559
|
},
|
2697
2560
|
{
|
2698
|
-
"name": "skf-select
|
2561
|
+
"name": "skf-select-dropdown",
|
2562
|
+
"type": "CustomEvent",
|
2699
2563
|
"description": "{detail: {expanded: boolean}} Fired when the select dropdown is toggled"
|
2700
2564
|
},
|
2701
2565
|
{
|
2702
|
-
"name": "skf-select-option
|
2566
|
+
"name": "skf-select-option-select",
|
2567
|
+
"type": "CustomEvent",
|
2703
2568
|
"description": "{detail: {value: string | null, option: SkfSelectOption}} Fired when the select dropdown is toggled"
|
2704
2569
|
}
|
2705
2570
|
]
|
2706
2571
|
}
|
2707
2572
|
},
|
2708
2573
|
{
|
2709
|
-
"name": "skf-select-option
|
2710
|
-
"description": "The `<skf-select-option
|
2574
|
+
"name": "skf-select-option",
|
2575
|
+
"description": "The `<skf-select-option>` is a component is used nested in a skf-select or skf-select-option-group.\n---\n\n\n### **Events:**\n - **skf-select-option-select** - {detail: { value: string | null, option: SkfSelectOption }} Fires when the option is selected/deselected.\n\n### **Slots:**\n - _default_ - The option's text content\n- **icon** - The option's slot for icon or custom meta information (svg).",
|
2711
2576
|
"doc-url": "",
|
2712
2577
|
"attributes": [
|
2713
2578
|
{
|
2714
|
-
"name": "
|
2715
|
-
"
|
2579
|
+
"name": "disabled",
|
2580
|
+
"description": "If true, prevents interaction with the option",
|
2581
|
+
"value": { "type": "boolean", "default": "false" }
|
2582
|
+
},
|
2583
|
+
{
|
2584
|
+
"name": "icon",
|
2585
|
+
"description": "If defined, set an icon",
|
2586
|
+
"value": { "type": "Icon | undefined" }
|
2587
|
+
},
|
2588
|
+
{
|
2589
|
+
"name": "icon-color",
|
2590
|
+
"description": "If defined, sets provided color on the icon",
|
2591
|
+
"value": { "type": "IconColor | undefined" }
|
2592
|
+
},
|
2593
|
+
{
|
2594
|
+
"name": "selected",
|
2595
|
+
"description": "If true, sets the option as selected",
|
2596
|
+
"value": { "type": "boolean", "default": "false" }
|
2597
|
+
},
|
2598
|
+
{
|
2599
|
+
"name": "short-label",
|
2600
|
+
"description": "If defined, sets a short label",
|
2601
|
+
"value": { "type": "string | undefined" }
|
2602
|
+
},
|
2603
|
+
{
|
2604
|
+
"name": "value",
|
2605
|
+
"description": "Returns or sets the tags value. If value is omitted, defaults to the tags text.",
|
2606
|
+
"value": { "type": "string" }
|
2716
2607
|
}
|
2717
2608
|
],
|
2718
2609
|
"slots": [
|
2719
|
-
{ "name": "", "description": "The
|
2610
|
+
{ "name": "", "description": "The option's text content" },
|
2611
|
+
{
|
2612
|
+
"name": "icon",
|
2613
|
+
"description": "The option's slot for icon or custom meta information (svg)."
|
2614
|
+
}
|
2615
|
+
],
|
2616
|
+
"events": [
|
2617
|
+
{
|
2618
|
+
"name": "skf-select-option-select",
|
2619
|
+
"description": "{detail: { value: string | null, option: SkfSelectOption }} Fires when the option is selected/deselected."
|
2620
|
+
}
|
2720
2621
|
],
|
2721
|
-
"events": [],
|
2722
2622
|
"js": {
|
2723
|
-
"properties": [
|
2724
|
-
|
2623
|
+
"properties": [
|
2624
|
+
{
|
2625
|
+
"name": "disabled",
|
2626
|
+
"description": "If true, prevents interaction with the option",
|
2627
|
+
"type": "boolean"
|
2628
|
+
},
|
2629
|
+
{
|
2630
|
+
"name": "icon",
|
2631
|
+
"description": "If defined, set an icon",
|
2632
|
+
"type": "Icon | undefined"
|
2633
|
+
},
|
2634
|
+
{
|
2635
|
+
"name": "iconColor",
|
2636
|
+
"description": "If defined, sets provided color on the icon",
|
2637
|
+
"type": "IconColor | undefined"
|
2638
|
+
},
|
2639
|
+
{
|
2640
|
+
"name": "selected",
|
2641
|
+
"description": "If true, sets the option as selected",
|
2642
|
+
"type": "boolean"
|
2643
|
+
},
|
2644
|
+
{
|
2645
|
+
"name": "shortLabel",
|
2646
|
+
"description": "If defined, sets a short label",
|
2647
|
+
"type": "string | undefined"
|
2648
|
+
},
|
2649
|
+
{
|
2650
|
+
"name": "text",
|
2651
|
+
"description": "The option's label text (equivalent to the tags textContent)"
|
2652
|
+
},
|
2653
|
+
{
|
2654
|
+
"name": "value",
|
2655
|
+
"description": "Returns or sets the tags value. If value is omitted, defaults to the tags text."
|
2656
|
+
},
|
2657
|
+
{ "name": "role", "type": "string" },
|
2658
|
+
{ "name": "_parent" },
|
2659
|
+
{ "name": "_shortcutUpdate", "type": "boolean" }
|
2660
|
+
],
|
2661
|
+
"events": [
|
2662
|
+
{
|
2663
|
+
"name": "skf-select-option-select",
|
2664
|
+
"description": "{detail: { value: string | null, option: SkfSelectOption }} Fires when the option is selected/deselected."
|
2665
|
+
}
|
2666
|
+
]
|
2725
2667
|
}
|
2726
2668
|
},
|
2727
2669
|
{
|
@@ -2778,7 +2720,7 @@
|
|
2778
2720
|
"doc-url": "",
|
2779
2721
|
"attributes": [
|
2780
2722
|
{
|
2781
|
-
"name": "
|
2723
|
+
"name": "active-index",
|
2782
2724
|
"description": "Sets the active item",
|
2783
2725
|
"value": { "type": "number", "default": "-1" }
|
2784
2726
|
},
|
@@ -2794,6 +2736,7 @@
|
|
2794
2736
|
"events": [
|
2795
2737
|
{
|
2796
2738
|
"name": "skf-stepper-item-select",
|
2739
|
+
"type": "CustomEvent",
|
2797
2740
|
"description": "Dispatched when the stepper item is selected"
|
2798
2741
|
}
|
2799
2742
|
],
|
@@ -2813,6 +2756,7 @@
|
|
2813
2756
|
"events": [
|
2814
2757
|
{
|
2815
2758
|
"name": "skf-stepper-item-select",
|
2759
|
+
"type": "CustomEvent",
|
2816
2760
|
"description": "Dispatched when the stepper item is selected"
|
2817
2761
|
}
|
2818
2762
|
]
|
@@ -3084,12 +3028,12 @@
|
|
3084
3028
|
{
|
3085
3029
|
"name": "disabled",
|
3086
3030
|
"description": "If true, sets disabled state",
|
3087
|
-
"value": { "type": "boolean" }
|
3031
|
+
"value": { "type": "boolean", "default": "false" }
|
3088
3032
|
},
|
3089
3033
|
{
|
3090
3034
|
"name": "required",
|
3091
3035
|
"description": "If true, value is required or must be checked for the form to be submittable",
|
3092
|
-
"value": { "type": "boolean" }
|
3036
|
+
"value": { "type": "boolean", "default": "false" }
|
3093
3037
|
},
|
3094
3038
|
{
|
3095
3039
|
"name": "cols",
|
@@ -3104,12 +3048,12 @@
|
|
3104
3048
|
{
|
3105
3049
|
"name": "debug",
|
3106
3050
|
"description": "If true, outputs helping hints in console",
|
3107
|
-
"value": { "type": "boolean
|
3051
|
+
"value": { "type": "boolean", "default": "false" }
|
3108
3052
|
},
|
3109
3053
|
{
|
3110
3054
|
"name": "hide-label",
|
3111
3055
|
"description": "If true, hides the label visually",
|
3112
|
-
"value": { "type": "boolean
|
3056
|
+
"value": { "type": "boolean", "default": "false" }
|
3113
3057
|
},
|
3114
3058
|
{
|
3115
3059
|
"name": "hint",
|
@@ -3144,7 +3088,7 @@
|
|
3144
3088
|
{
|
3145
3089
|
"name": "readonly",
|
3146
3090
|
"description": "If true, makes the element not mutable, meaning the user can not edit the control",
|
3147
|
-
"value": { "type": "boolean
|
3091
|
+
"value": { "type": "boolean", "default": "false" }
|
3148
3092
|
},
|
3149
3093
|
{
|
3150
3094
|
"name": "required-label",
|
@@ -3159,14 +3103,12 @@
|
|
3159
3103
|
{
|
3160
3104
|
"name": "severity",
|
3161
3105
|
"description": "If defined, displays provided severity state",
|
3162
|
-
"value": {
|
3163
|
-
"type": "\"success\" | \"info\" | \"warning\" | \"alert\""
|
3164
|
-
}
|
3106
|
+
"value": { "type": "FormFieldSeverity | undefined" }
|
3165
3107
|
},
|
3166
3108
|
{
|
3167
3109
|
"name": "show-valid",
|
3168
3110
|
"description": "If true, displays valid state after interaction",
|
3169
|
-
"value": { "type": "boolean
|
3111
|
+
"value": { "type": "boolean", "default": "false" }
|
3170
3112
|
},
|
3171
3113
|
{
|
3172
3114
|
"name": "size",
|
@@ -3217,12 +3159,12 @@
|
|
3217
3159
|
{
|
3218
3160
|
"name": "debug",
|
3219
3161
|
"description": "If true, outputs helping hints in console",
|
3220
|
-
"type": "boolean
|
3162
|
+
"type": "boolean"
|
3221
3163
|
},
|
3222
3164
|
{
|
3223
3165
|
"name": "hideLabel",
|
3224
3166
|
"description": "If true, hides the label visually",
|
3225
|
-
"type": "boolean
|
3167
|
+
"type": "boolean"
|
3226
3168
|
},
|
3227
3169
|
{
|
3228
3170
|
"name": "hint",
|
@@ -3257,7 +3199,7 @@
|
|
3257
3199
|
{
|
3258
3200
|
"name": "readonly",
|
3259
3201
|
"description": "If true, makes the element not mutable, meaning the user can not edit the control",
|
3260
|
-
"type": "boolean
|
3202
|
+
"type": "boolean"
|
3261
3203
|
},
|
3262
3204
|
{
|
3263
3205
|
"name": "requiredLabel",
|
@@ -3272,12 +3214,12 @@
|
|
3272
3214
|
{
|
3273
3215
|
"name": "severity",
|
3274
3216
|
"description": "If defined, displays provided severity state",
|
3275
|
-
"type": "
|
3217
|
+
"type": "FormFieldSeverity | undefined"
|
3276
3218
|
},
|
3277
3219
|
{
|
3278
3220
|
"name": "showValid",
|
3279
3221
|
"description": "If true, displays valid state after interaction",
|
3280
|
-
"type": "boolean
|
3222
|
+
"type": "boolean"
|
3281
3223
|
},
|
3282
3224
|
{
|
3283
3225
|
"name": "size",
|
@@ -3341,17 +3283,17 @@
|
|
3341
3283
|
{
|
3342
3284
|
"name": "icon",
|
3343
3285
|
"description": "If defined, displays leading icon",
|
3344
|
-
"value": { "type": "
|
3286
|
+
"value": { "type": "Icon | undefined" }
|
3345
3287
|
},
|
3346
3288
|
{
|
3347
3289
|
"name": "persistent",
|
3348
3290
|
"description": "If true, renders with an close button and sets aria-role to `status`",
|
3349
|
-
"value": { "type": "
|
3291
|
+
"value": { "type": "boolean", "default": "false" }
|
3350
3292
|
},
|
3351
3293
|
{
|
3352
3294
|
"name": "severity",
|
3353
3295
|
"description": "If defined, gives the supplied appearance",
|
3354
|
-
"value": { "type": "
|
3296
|
+
"value": { "type": "Severity", "default": "'info'" }
|
3355
3297
|
},
|
3356
3298
|
{
|
3357
3299
|
"name": "timer",
|
@@ -3374,17 +3316,17 @@
|
|
3374
3316
|
{
|
3375
3317
|
"name": "icon",
|
3376
3318
|
"description": "If defined, displays leading icon",
|
3377
|
-
"type": "
|
3319
|
+
"type": "Icon | undefined"
|
3378
3320
|
},
|
3379
3321
|
{
|
3380
3322
|
"name": "persistent",
|
3381
3323
|
"description": "If true, renders with an close button and sets aria-role to `status`",
|
3382
|
-
"type": "
|
3324
|
+
"type": "boolean"
|
3383
3325
|
},
|
3384
3326
|
{
|
3385
3327
|
"name": "severity",
|
3386
3328
|
"description": "If defined, gives the supplied appearance",
|
3387
|
-
"type": "
|
3329
|
+
"type": "Severity"
|
3388
3330
|
},
|
3389
3331
|
{
|
3390
3332
|
"name": "timer",
|
@@ -3434,8 +3376,10 @@
|
|
3434
3376
|
],
|
3435
3377
|
"js": {
|
3436
3378
|
"properties": [
|
3379
|
+
{ "name": "role", "type": "string" },
|
3437
3380
|
{ "name": "offset", "type": "number" },
|
3438
|
-
{ "name": "placement", "type": "string" }
|
3381
|
+
{ "name": "placement", "type": "string" },
|
3382
|
+
{ "name": "variant", "type": "string" }
|
3439
3383
|
],
|
3440
3384
|
"events": [
|
3441
3385
|
{
|