@skf-design-system/ui-components 1.0.1-beta.1 → 1.0.2-beta.0
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 +1 -18
- package/dist/components/accordion/accordion.component.d.ts +4 -4
- package/dist/components/accordion/accordion.component.js +8 -8
- package/dist/components/alert/alert.component.d.ts +8 -9
- package/dist/components/alert/alert.component.js +7 -7
- package/dist/components/breadcrumb/breadcrumb.component.d.ts +1 -1
- package/dist/components/card/card.component.js +18 -30
- package/dist/components/card/card.styles.js +25 -28
- package/dist/components/checkbox/checkbox.component.d.ts +8 -8
- package/dist/components/checkbox/checkbox.component.js +3 -3
- package/dist/components/collapse/collapse.component.js +1 -1
- package/dist/components/date-picker/datepicker.calendar.component.d.ts +5 -0
- package/dist/components/date-picker/datepicker.calendar.component.js +128 -95
- package/dist/components/date-picker/datepicker.calendar.styles.js +35 -25
- package/dist/components/date-picker/datepicker.component.d.ts +5 -0
- package/dist/components/date-picker/datepicker.component.js +117 -97
- package/dist/components/date-picker/datepicker.helpers.d.ts +3 -2
- package/dist/components/date-picker/datepicker.helpers.js +46 -39
- package/dist/components/date-picker/datepicker.styles.js +14 -26
- package/dist/components/date-picker-input/datepicker-input.component.d.ts +13 -5
- package/dist/components/date-picker-input/datepicker-input.component.js +263 -219
- package/dist/components/date-picker-input/datepicker-input.helpers.d.ts +36 -2
- package/dist/components/date-picker-input/datepicker-input.helpers.js +25 -23
- package/dist/components/date-picker-input/datepicker-input.styles.js +6 -10
- package/dist/components/dialog/dialog.component.d.ts +18 -28
- package/dist/components/dialog/dialog.component.js +89 -79
- package/dist/components/divider/divider.component.d.ts +4 -8
- package/dist/components/divider/divider.component.js +24 -46
- package/dist/components/divider/divider.styles.js +34 -30
- package/dist/components/drawer/drawer.component.d.ts +57 -0
- package/dist/components/drawer/drawer.component.js +124 -0
- package/dist/components/drawer/drawer.d.ts +8 -0
- package/dist/components/drawer/drawer.js +6 -0
- package/dist/components/drawer/drawer.styles.d.ts +1 -0
- package/dist/components/drawer/drawer.styles.js +71 -0
- package/dist/components/header/header.component.d.ts +45 -0
- package/dist/components/header/header.component.js +110 -0
- package/dist/components/header/header.d.ts +8 -0
- package/dist/components/header/header.js +6 -0
- package/dist/components/header/header.styles.d.ts +1 -0
- package/dist/components/header/header.styles.js +68 -0
- package/dist/components/heading/heading.component.d.ts +6 -12
- package/dist/components/heading/heading.component.js +11 -11
- package/dist/components/heading/heading.styles.d.ts +1 -2
- package/dist/components/heading/heading.styles.js +1 -1
- package/dist/components/icon/icon.component.d.ts +1 -1
- package/dist/components/input/input.component.d.ts +2 -2
- package/dist/components/input/input.component.js +3 -3
- package/dist/components/input/input.controllers.d.ts +20 -6
- package/dist/components/input/input.controllers.js +14 -10
- package/dist/components/link/link.component.js +1 -0
- package/dist/components/link/link.styles.js +24 -20
- package/dist/components/menu/menu.component.d.ts +4 -5
- package/dist/components/menu/menu.component.js +1 -1
- package/dist/components/nav/nav.component.d.ts +17 -0
- package/dist/components/nav/nav.component.js +34 -0
- package/dist/components/nav/nav.d.ts +8 -0
- package/dist/components/nav/nav.js +6 -0
- package/dist/components/nav/nav.styles.d.ts +1 -0
- package/dist/components/nav/nav.styles.js +17 -0
- package/dist/components/nav-item/nav-item.component.d.ts +20 -0
- package/dist/components/nav-item/nav-item.component.js +38 -0
- package/dist/components/nav-item/nav-item.d.ts +8 -0
- package/dist/components/nav-item/nav-item.js +6 -0
- package/dist/components/nav-item/nav-item.styles.d.ts +1 -0
- package/dist/components/nav-item/nav-item.styles.js +39 -0
- package/dist/components/popover/popover.component.d.ts +5 -6
- package/dist/components/popover/popover.component.js +19 -19
- package/dist/components/radio/radio.component.d.ts +10 -6
- package/dist/components/radio/radio.component.js +10 -10
- package/dist/components/radio/radio.styles.d.ts +1 -2
- package/dist/components/radio/radio.styles.js +1 -1
- package/dist/components/segmented-button/segmented-button.component.d.ts +32 -0
- package/dist/components/segmented-button/segmented-button.d.ts +8 -0
- package/dist/components/segmented-button/segmented-button.styles.d.ts +1 -0
- package/dist/components/segmented-button-item/segmented-button-item.component.d.ts +36 -0
- package/dist/components/segmented-button-item/segmented-button-item.d.ts +8 -0
- package/dist/components/segmented-button-item/segmented-button-item.styles.d.ts +1 -0
- package/dist/components/select/select.component.js +2 -2
- package/dist/components/select/select.controllers.d.ts +20 -9
- package/dist/components/select/select.controllers.js +27 -22
- package/dist/components/select-option/select-option.controllers.d.ts +11 -5
- package/dist/components/stepper/stepper.component.d.ts +2 -1
- package/dist/components/stepper-item/stepper-item.component.js +2 -2
- package/dist/components/switch/switch.component.d.ts +7 -6
- package/dist/components/switch/switch.component.js +7 -7
- package/dist/components/tag/tag.component.d.ts +4 -2
- package/dist/components/tag/tag.component.js +6 -6
- package/dist/components/textarea/textarea.component.js +7 -7
- package/dist/components/toast/toast.component.d.ts +1 -1
- package/dist/components/tooltip/tooltip.component.d.ts +5 -6
- package/dist/components/tooltip/tooltip.component.js +11 -11
- package/dist/custom-elements.json +2477 -1745
- package/dist/index.d.ts +4 -0
- package/dist/index.js +82 -70
- package/dist/internal/base-classes/popover/popover.base.d.ts +17 -7
- package/dist/internal/base-classes/popover/popover.base.js +119 -75
- package/dist/internal/base-classes/popover/popover.styles.js +14 -1
- package/dist/internal/controllers/elementOverflowController.d.ts +13 -0
- package/dist/internal/controllers/popover.controller.d.ts +12 -7
- package/dist/internal/controllers/popover.controller.js +9 -14
- package/dist/internal/helpers/utilityTypes.d.ts +1 -1
- package/dist/internal/helpers/uuid.d.ts +15 -0
- package/dist/internal/helpers/uuid.js +14 -0
- package/dist/internal/storybook/styles.d.ts +1 -0
- package/dist/styles/form-field.styles.js +11 -6
- package/dist/styles/global.css +1 -1
- package/dist/types/jsx/custom-element-jsx.d.ts +642 -1261
- package/dist/types/vue/index.d.ts +422 -267
- package/dist/vscode.html-custom-data.json +805 -525
- package/dist/web-types.json +928 -653
- package/package.json +41 -51
- package/dist/react/index.d.ts +0 -36
- package/dist/react/index.js +0 -36
- package/dist/react/skf-accordion/index.d.ts +0 -3
- package/dist/react/skf-accordion/index.js +0 -13
- package/dist/react/skf-alert/index.d.ts +0 -9
- package/dist/react/skf-alert/index.js +0 -17
- package/dist/react/skf-breadcrumb/index.d.ts +0 -9
- package/dist/react/skf-breadcrumb/index.js +0 -17
- package/dist/react/skf-breadcrumb-item/index.d.ts +0 -3
- package/dist/react/skf-breadcrumb-item/index.js +0 -13
- package/dist/react/skf-button/index.d.ts +0 -9
- package/dist/react/skf-button/index.js +0 -17
- package/dist/react/skf-card/index.d.ts +0 -3
- package/dist/react/skf-card/index.js +0 -13
- package/dist/react/skf-checkbox/index.d.ts +0 -9
- package/dist/react/skf-checkbox/index.js +0 -17
- package/dist/react/skf-collapse/index.d.ts +0 -9
- package/dist/react/skf-collapse/index.js +0 -17
- package/dist/react/skf-datepicker/index.d.ts +0 -12
- package/dist/react/skf-datepicker/index.js +0 -18
- package/dist/react/skf-dialog/index.d.ts +0 -15
- package/dist/react/skf-dialog/index.js +0 -19
- package/dist/react/skf-divider/index.d.ts +0 -3
- package/dist/react/skf-divider/index.js +0 -13
- package/dist/react/skf-heading/index.d.ts +0 -3
- package/dist/react/skf-heading/index.js +0 -13
- package/dist/react/skf-icon/index.d.ts +0 -3
- package/dist/react/skf-icon/index.js +0 -13
- package/dist/react/skf-input/index.d.ts +0 -12
- package/dist/react/skf-input/index.js +0 -18
- package/dist/react/skf-link/index.d.ts +0 -3
- package/dist/react/skf-link/index.js +0 -13
- package/dist/react/skf-loader/index.d.ts +0 -3
- package/dist/react/skf-loader/index.js +0 -13
- package/dist/react/skf-logo/index.d.ts +0 -3
- package/dist/react/skf-logo/index.js +0 -13
- package/dist/react/skf-menu/index.d.ts +0 -12
- package/dist/react/skf-menu/index.js +0 -18
- package/dist/react/skf-menu-item/index.d.ts +0 -27
- package/dist/react/skf-menu-item/index.js +0 -23
- package/dist/react/skf-popover/index.d.ts +0 -12
- package/dist/react/skf-popover/index.js +0 -18
- package/dist/react/skf-progress/index.d.ts +0 -3
- package/dist/react/skf-progress/index.js +0 -13
- package/dist/react/skf-radio/index.d.ts +0 -9
- package/dist/react/skf-radio/index.js +0 -17
- package/dist/react/skf-select/index.d.ts +0 -21
- package/dist/react/skf-select/index.js +0 -21
- package/dist/react/skf-select-option/index.d.ts +0 -9
- package/dist/react/skf-select-option/index.js +0 -17
- package/dist/react/skf-select-option-group/index.d.ts +0 -3
- package/dist/react/skf-select-option-group/index.js +0 -13
- package/dist/react/skf-stepper/index.d.ts +0 -9
- package/dist/react/skf-stepper/index.js +0 -17
- package/dist/react/skf-stepper-item/index.d.ts +0 -9
- package/dist/react/skf-stepper-item/index.js +0 -17
- package/dist/react/skf-switch/index.d.ts +0 -3
- package/dist/react/skf-switch/index.js +0 -13
- package/dist/react/skf-tab/index.d.ts +0 -12
- package/dist/react/skf-tab/index.js +0 -18
- package/dist/react/skf-tab-group/index.d.ts +0 -3
- package/dist/react/skf-tab-group/index.js +0 -13
- package/dist/react/skf-tab-panel/index.d.ts +0 -3
- package/dist/react/skf-tab-panel/index.js +0 -13
- package/dist/react/skf-tag/index.d.ts +0 -3
- package/dist/react/skf-tag/index.js +0 -13
- package/dist/react/skf-textarea/index.d.ts +0 -12
- package/dist/react/skf-textarea/index.js +0 -18
- package/dist/react/skf-toast/index.d.ts +0 -3
- package/dist/react/skf-toast/index.js +0 -13
- package/dist/react/skf-toast-wrapper/index.d.ts +0 -3
- package/dist/react/skf-toast-wrapper/index.js +0 -13
- package/dist/react/skf-tooltip/index.d.ts +0 -12
- package/dist/react/skf-tooltip/index.js +0 -18
package/dist/web-types.json
CHANGED
@@ -6,6 +6,153 @@
|
|
6
6
|
"contributions": {
|
7
7
|
"html": {
|
8
8
|
"elements": [
|
9
|
+
{
|
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\n---\n",
|
12
|
+
"doc-url": "",
|
13
|
+
"attributes": [
|
14
|
+
{
|
15
|
+
"name": "color",
|
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
|
+
}
|
21
|
+
},
|
22
|
+
{
|
23
|
+
"name": "label",
|
24
|
+
"description": "If defined, adds an alternate description to use for assistive devices",
|
25
|
+
"value": { "type": "string | undefined" }
|
26
|
+
},
|
27
|
+
{
|
28
|
+
"name": "name",
|
29
|
+
"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
|
+
}
|
33
|
+
},
|
34
|
+
{
|
35
|
+
"name": "size",
|
36
|
+
"description": "Size of the icon",
|
37
|
+
"value": {
|
38
|
+
"type": "\"xs\" | \"sm\" | \"md\" | \"lg\"",
|
39
|
+
"default": "'md'"
|
40
|
+
}
|
41
|
+
}
|
42
|
+
],
|
43
|
+
"events": [],
|
44
|
+
"js": {
|
45
|
+
"properties": [
|
46
|
+
{
|
47
|
+
"name": "color",
|
48
|
+
"description": "Sets the color of the icon",
|
49
|
+
"type": "\"primary\" | \"inverse\" | \"emphasised\" | \"secondary\" | \"success\" | \"info\" | \"warning\" | \"error\" | \"alert\""
|
50
|
+
},
|
51
|
+
{
|
52
|
+
"name": "label",
|
53
|
+
"description": "If defined, adds an alternate description to use for assistive devices",
|
54
|
+
"type": "string | undefined"
|
55
|
+
},
|
56
|
+
{
|
57
|
+
"name": "name",
|
58
|
+
"description": "Name of the icon to display",
|
59
|
+
"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\""
|
60
|
+
},
|
61
|
+
{
|
62
|
+
"name": "size",
|
63
|
+
"description": "Size of the icon",
|
64
|
+
"type": "\"xs\" | \"sm\" | \"md\" | \"lg\""
|
65
|
+
}
|
66
|
+
],
|
67
|
+
"events": []
|
68
|
+
}
|
69
|
+
},
|
70
|
+
{
|
71
|
+
"name": "skf-collapse",
|
72
|
+
"description": "The `<skf-collapse>` component is a general purpose container for content that can be collapsed / expanded.\n\nSee [zeroheight](https://zeroheight.com/853e936c9/p/6590bf-accordion) for design principles.\n---\n\n\n### **Events:**\n - **skf-collapse-toggle** - Event emitted when toggled\n\n### **Methods:**\n - **setClose()** - Class method as alternative to manipulate attribute\n- **setOpen()** - Class method as alternative to manipulate attribute\n\n### **Slots:**\n - _default_ - Main content",
|
73
|
+
"doc-url": "",
|
74
|
+
"attributes": [
|
75
|
+
{
|
76
|
+
"name": "animated",
|
77
|
+
"description": "If true, will animate the expand/collapse state",
|
78
|
+
"value": { "type": "boolean", "default": "false" }
|
79
|
+
},
|
80
|
+
{
|
81
|
+
"name": "expanded",
|
82
|
+
"description": "If true, will set the collapse to be expanded by default",
|
83
|
+
"value": { "type": "boolean", "default": "false" }
|
84
|
+
},
|
85
|
+
{
|
86
|
+
"name": "heading",
|
87
|
+
"description": "Heading for the collapse",
|
88
|
+
"value": { "type": "string | undefined" }
|
89
|
+
},
|
90
|
+
{
|
91
|
+
"name": "heading-as",
|
92
|
+
"description": "Defines which heading element will be rendered",
|
93
|
+
"value": { "type": "\"h2\" | \"h3\" | \"h4\"", "default": "'h2'" }
|
94
|
+
},
|
95
|
+
{
|
96
|
+
"name": "small",
|
97
|
+
"description": "If true, renders the small version",
|
98
|
+
"value": { "type": "boolean", "default": "false" }
|
99
|
+
},
|
100
|
+
{
|
101
|
+
"name": "truncate",
|
102
|
+
"description": "If true, will truncate the heading in collapsed state",
|
103
|
+
"value": { "type": "boolean", "default": "false" }
|
104
|
+
}
|
105
|
+
],
|
106
|
+
"slots": [{ "name": "", "description": "Main content" }],
|
107
|
+
"events": [
|
108
|
+
{
|
109
|
+
"name": "skf-collapse-toggle",
|
110
|
+
"type": "CustomEvent",
|
111
|
+
"description": "Event emitted when toggled"
|
112
|
+
}
|
113
|
+
],
|
114
|
+
"js": {
|
115
|
+
"properties": [
|
116
|
+
{
|
117
|
+
"name": "animated",
|
118
|
+
"description": "If true, will animate the expand/collapse state",
|
119
|
+
"type": "boolean"
|
120
|
+
},
|
121
|
+
{
|
122
|
+
"name": "expanded",
|
123
|
+
"description": "If true, will set the collapse to be expanded by default",
|
124
|
+
"type": "boolean"
|
125
|
+
},
|
126
|
+
{
|
127
|
+
"name": "heading",
|
128
|
+
"description": "Heading for the collapse",
|
129
|
+
"type": "string | undefined"
|
130
|
+
},
|
131
|
+
{
|
132
|
+
"name": "headingAs",
|
133
|
+
"description": "Defines which heading element will be rendered",
|
134
|
+
"type": "\"h2\" | \"h3\" | \"h4\""
|
135
|
+
},
|
136
|
+
{
|
137
|
+
"name": "small",
|
138
|
+
"description": "If true, renders the small version",
|
139
|
+
"type": "boolean"
|
140
|
+
},
|
141
|
+
{
|
142
|
+
"name": "truncate",
|
143
|
+
"description": "If true, will truncate the heading in collapsed state",
|
144
|
+
"type": "boolean"
|
145
|
+
}
|
146
|
+
],
|
147
|
+
"events": [
|
148
|
+
{
|
149
|
+
"name": "skf-collapse-toggle",
|
150
|
+
"type": "CustomEvent",
|
151
|
+
"description": "Event emitted when toggled"
|
152
|
+
}
|
153
|
+
]
|
154
|
+
}
|
155
|
+
},
|
9
156
|
{
|
10
157
|
"name": "skf-accordion",
|
11
158
|
"description": "The `<skf-accordion>` component consists of multiple `<skf-collapse>`, 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)",
|
@@ -14,7 +161,7 @@
|
|
14
161
|
{
|
15
162
|
"name": "animated",
|
16
163
|
"description": "If true, will animate the expand/collapse state",
|
17
|
-
"value": { "type": "boolean
|
164
|
+
"value": { "type": "boolean", "default": "false" }
|
18
165
|
},
|
19
166
|
{
|
20
167
|
"name": "heading-as",
|
@@ -32,17 +179,17 @@
|
|
32
179
|
{
|
33
180
|
"name": "multiple",
|
34
181
|
"description": "If true, allowes multiple accordion items to open",
|
35
|
-
"value": { "type": "boolean
|
182
|
+
"value": { "type": "boolean", "default": "false" }
|
36
183
|
},
|
37
184
|
{
|
38
185
|
"name": "small",
|
39
186
|
"description": "If true, renders the small version",
|
40
|
-
"value": { "type": "boolean
|
187
|
+
"value": { "type": "boolean", "default": "false" }
|
41
188
|
},
|
42
189
|
{
|
43
190
|
"name": "truncate",
|
44
191
|
"description": "If true, will truncate all headings in collapsed state",
|
45
|
-
"value": { "type": "boolean
|
192
|
+
"value": { "type": "boolean", "default": "false" }
|
46
193
|
}
|
47
194
|
],
|
48
195
|
"slots": [
|
@@ -57,7 +204,7 @@
|
|
57
204
|
{
|
58
205
|
"name": "animated",
|
59
206
|
"description": "If true, will animate the expand/collapse state",
|
60
|
-
"type": "boolean
|
207
|
+
"type": "boolean"
|
61
208
|
},
|
62
209
|
{
|
63
210
|
"name": "headingAs",
|
@@ -72,17 +219,17 @@
|
|
72
219
|
{
|
73
220
|
"name": "multiple",
|
74
221
|
"description": "If true, allowes multiple accordion items to open",
|
75
|
-
"type": "boolean
|
222
|
+
"type": "boolean"
|
76
223
|
},
|
77
224
|
{
|
78
225
|
"name": "small",
|
79
226
|
"description": "If true, renders the small version",
|
80
|
-
"type": "boolean
|
227
|
+
"type": "boolean"
|
81
228
|
},
|
82
229
|
{
|
83
230
|
"name": "truncate",
|
84
231
|
"description": "If true, will truncate all headings in collapsed state",
|
85
|
-
"type": "boolean
|
232
|
+
"type": "boolean"
|
86
233
|
}
|
87
234
|
],
|
88
235
|
"events": []
|
@@ -101,19 +248,17 @@
|
|
101
248
|
{
|
102
249
|
"name": "icon",
|
103
250
|
"description": "If defined, displays leading icon",
|
104
|
-
"value": { "type": "
|
251
|
+
"value": { "type": "SkfAlertIcon | undefined" }
|
105
252
|
},
|
106
253
|
{
|
107
254
|
"name": "persistent",
|
108
255
|
"description": "If true, renders with an close button and sets aria-role to `status`",
|
109
|
-
"value": { "type": "boolean
|
256
|
+
"value": { "type": "boolean", "default": "false" }
|
110
257
|
},
|
111
258
|
{
|
112
259
|
"name": "severity",
|
113
260
|
"description": "If defined, gives the supplied appearance",
|
114
|
-
"value": {
|
115
|
-
"type": "\"error\" | \"info\" | \"warning\" | \"success\" | \"alert\""
|
116
|
-
}
|
261
|
+
"value": { "type": "SkfAlertSeverity | undefined" }
|
117
262
|
}
|
118
263
|
],
|
119
264
|
"slots": [
|
@@ -139,17 +284,17 @@
|
|
139
284
|
{
|
140
285
|
"name": "icon",
|
141
286
|
"description": "If defined, displays leading icon",
|
142
|
-
"type": "
|
287
|
+
"type": "SkfAlertIcon | undefined"
|
143
288
|
},
|
144
289
|
{
|
145
290
|
"name": "persistent",
|
146
291
|
"description": "If true, renders with an close button and sets aria-role to `status`",
|
147
|
-
"type": "boolean
|
292
|
+
"type": "boolean"
|
148
293
|
},
|
149
294
|
{
|
150
295
|
"name": "severity",
|
151
296
|
"description": "If defined, gives the supplied appearance",
|
152
|
-
"type": "
|
297
|
+
"type": "SkfAlertSeverity | undefined"
|
153
298
|
}
|
154
299
|
],
|
155
300
|
"events": [
|
@@ -160,9 +305,39 @@
|
|
160
305
|
]
|
161
306
|
}
|
162
307
|
},
|
308
|
+
{
|
309
|
+
"name": "skf-breadcrumb-item",
|
310
|
+
"description": "The `<skf-breadcrumb-item>` is used in conjunction with the `<skf-breadcrumb>` component\n---\n\n\n### **Slots:**\n - _default_ - Label of the breadcrumb item",
|
311
|
+
"doc-url": "",
|
312
|
+
"attributes": [
|
313
|
+
{
|
314
|
+
"name": "href",
|
315
|
+
"description": "If defined, loads url on click",
|
316
|
+
"value": { "type": "string | undefined" }
|
317
|
+
}
|
318
|
+
],
|
319
|
+
"slots": [
|
320
|
+
{ "name": "", "description": "Label of the breadcrumb item" }
|
321
|
+
],
|
322
|
+
"events": [],
|
323
|
+
"js": {
|
324
|
+
"properties": [
|
325
|
+
{
|
326
|
+
"name": "href",
|
327
|
+
"description": "If defined, loads url on click",
|
328
|
+
"type": "string | undefined"
|
329
|
+
},
|
330
|
+
{
|
331
|
+
"name": "onClick",
|
332
|
+
"description": "If defined, custom onClick where the second return parameter enables custom routing. **Notice!** Only applicable if `href` is defined."
|
333
|
+
}
|
334
|
+
],
|
335
|
+
"events": []
|
336
|
+
}
|
337
|
+
},
|
163
338
|
{
|
164
339
|
"name": "skf-breadcrumb",
|
165
|
-
"description": "The `<skf-breadcrumb>` component consists of multiple `<skf-breadcrumb-item>`, working together.\n---\n\n\n### **Events:**\n - **click** - Fired when the item is clicked\n\n### **Slots:**\n - _default_ - One or more `<skf-breadcrumb-item>`",
|
340
|
+
"description": "The `<skf-breadcrumb>` component consists of multiple `<skf-breadcrumb-item>`, working together.\n\nSee [zeroheight](https://zeroheight.com/853e936c9/p/3338ef-breadcrumbs) for design principles.\n---\n\n\n### **Events:**\n - **click** - Fired when the item is clicked\n\n### **Slots:**\n - _default_ - One or more `<skf-breadcrumb-item>`",
|
166
341
|
"doc-url": "",
|
167
342
|
"attributes": [
|
168
343
|
{
|
@@ -204,31 +379,46 @@
|
|
204
379
|
}
|
205
380
|
},
|
206
381
|
{
|
207
|
-
"name": "skf-
|
208
|
-
"description": "The `<skf-
|
382
|
+
"name": "skf-loader",
|
383
|
+
"description": "The `<skf-loader>` component is a progress indicator that uses circular indicators for short, indeterminate activities\n---\n",
|
209
384
|
"doc-url": "",
|
210
385
|
"attributes": [
|
211
386
|
{
|
212
|
-
"name": "
|
213
|
-
"description": "
|
214
|
-
"value": { "type": "string
|
387
|
+
"name": "aria-label",
|
388
|
+
"description": "Defines the aria-label",
|
389
|
+
"value": { "type": "string", "default": "'Loading...'" }
|
390
|
+
},
|
391
|
+
{
|
392
|
+
"name": "invert",
|
393
|
+
"description": "If true, inverts the color (to be used on colored backgrounds)",
|
394
|
+
"value": { "type": "boolean", "default": "false" }
|
395
|
+
},
|
396
|
+
{
|
397
|
+
"name": "size",
|
398
|
+
"description": "Defines the size of the loader",
|
399
|
+
"value": { "type": "'md' | 'sm' | undefined", "default": "'md'" }
|
215
400
|
}
|
216
401
|
],
|
217
|
-
"slots": [
|
218
|
-
{ "name": "", "description": "Label of the breadcrumb item" }
|
219
|
-
],
|
220
402
|
"events": [],
|
221
403
|
"js": {
|
222
404
|
"properties": [
|
223
405
|
{
|
224
|
-
"name": "
|
225
|
-
"description": "
|
226
|
-
"type": "string
|
406
|
+
"name": "ariaLabel",
|
407
|
+
"description": "Defines the aria-label",
|
408
|
+
"type": "string"
|
227
409
|
},
|
228
410
|
{
|
229
|
-
"name": "
|
230
|
-
"description": "If
|
231
|
-
|
411
|
+
"name": "invert",
|
412
|
+
"description": "If true, inverts the color (to be used on colored backgrounds)",
|
413
|
+
"type": "boolean"
|
414
|
+
},
|
415
|
+
{
|
416
|
+
"name": "size",
|
417
|
+
"description": "Defines the size of the loader",
|
418
|
+
"type": "'md' | 'sm' | undefined"
|
419
|
+
},
|
420
|
+
{ "name": "role", "type": "string" },
|
421
|
+
{ "name": "ariaLive", "type": "string" }
|
232
422
|
],
|
233
423
|
"events": []
|
234
424
|
}
|
@@ -412,17 +602,17 @@
|
|
412
602
|
{
|
413
603
|
"name": "disabled",
|
414
604
|
"description": "If true, sets disabled state",
|
415
|
-
"value": { "type": "boolean" }
|
605
|
+
"value": { "type": "boolean", "default": "false" }
|
416
606
|
},
|
417
607
|
{
|
418
608
|
"name": "required",
|
419
609
|
"description": "If true, value is required or must be checked for the form to be submittable",
|
420
|
-
"value": { "type": "boolean" }
|
610
|
+
"value": { "type": "boolean", "default": "false" }
|
421
611
|
},
|
422
612
|
{
|
423
613
|
"name": "debug",
|
424
614
|
"description": "If defined, outputs helping hints in console",
|
425
|
-
"value": { "type": "boolean
|
615
|
+
"value": { "type": "boolean", "default": "false" }
|
426
616
|
},
|
427
617
|
{
|
428
618
|
"name": "checked",
|
@@ -432,12 +622,12 @@
|
|
432
622
|
{
|
433
623
|
"name": "custom-invalid",
|
434
624
|
"description": "If true, forces component to invalid state until removed",
|
435
|
-
"value": { "type": "boolean
|
625
|
+
"value": { "type": "boolean", "default": "false" }
|
436
626
|
},
|
437
627
|
{
|
438
628
|
"name": "indeterminate",
|
439
629
|
"description": "If true and the checkbox is unchecked, the checkbox will appear indeterminate",
|
440
|
-
"value": { "type": "boolean
|
630
|
+
"value": { "type": "boolean", "default": "false" }
|
441
631
|
},
|
442
632
|
{
|
443
633
|
"name": "label",
|
@@ -464,7 +654,7 @@
|
|
464
654
|
{
|
465
655
|
"name": "show-valid",
|
466
656
|
"description": "If true, displays valid state after interaction",
|
467
|
-
"value": { "type": "boolean
|
657
|
+
"value": { "type": "boolean", "default": "false" }
|
468
658
|
},
|
469
659
|
{
|
470
660
|
"name": "size",
|
@@ -494,7 +684,7 @@
|
|
494
684
|
{
|
495
685
|
"name": "debug",
|
496
686
|
"description": "If defined, outputs helping hints in console",
|
497
|
-
"type": "boolean
|
687
|
+
"type": "boolean"
|
498
688
|
},
|
499
689
|
{
|
500
690
|
"name": "checked",
|
@@ -503,12 +693,12 @@
|
|
503
693
|
{
|
504
694
|
"name": "customInvalid",
|
505
695
|
"description": "If true, forces component to invalid state until removed",
|
506
|
-
"type": "boolean
|
696
|
+
"type": "boolean"
|
507
697
|
},
|
508
698
|
{
|
509
699
|
"name": "indeterminate",
|
510
700
|
"description": "If true and the checkbox is unchecked, the checkbox will appear indeterminate",
|
511
|
-
"type": "boolean
|
701
|
+
"type": "boolean"
|
512
702
|
},
|
513
703
|
{
|
514
704
|
"name": "label",
|
@@ -533,7 +723,7 @@
|
|
533
723
|
{
|
534
724
|
"name": "showValid",
|
535
725
|
"description": "If true, displays valid state after interaction",
|
536
|
-
"type": "boolean
|
726
|
+
"type": "boolean"
|
537
727
|
},
|
538
728
|
{
|
539
729
|
"name": "size",
|
@@ -554,95 +744,9 @@
|
|
554
744
|
]
|
555
745
|
}
|
556
746
|
},
|
557
|
-
{
|
558
|
-
"name": "skf-collapse",
|
559
|
-
"description": "The `<skf-collapse>` component is a general purpose container for content that can be collapsed / expanded.\n\nSee [zeroheight](https://zeroheight.com/853e936c9/p/6590bf-accordion) for design principles.\n---\n\n\n### **Events:**\n - **skf-collapse-toggle** - Event emitted when toggled\n\n### **Methods:**\n - **setClose()** - Class method as alternative to manipulate attribute\n- **setOpen()** - Class method as alternative to manipulate attribute\n\n### **Slots:**\n - _default_ - Main content",
|
560
|
-
"doc-url": "",
|
561
|
-
"attributes": [
|
562
|
-
{
|
563
|
-
"name": "animated",
|
564
|
-
"description": "If true, will animate the expand/collapse state",
|
565
|
-
"value": { "type": "boolean", "default": "false" }
|
566
|
-
},
|
567
|
-
{
|
568
|
-
"name": "expanded",
|
569
|
-
"description": "If true, will set the collapse to be expanded by default",
|
570
|
-
"value": { "type": "boolean", "default": "false" }
|
571
|
-
},
|
572
|
-
{
|
573
|
-
"name": "heading",
|
574
|
-
"description": "Heading for the collapse",
|
575
|
-
"value": { "type": "string | undefined" }
|
576
|
-
},
|
577
|
-
{
|
578
|
-
"name": "heading-as",
|
579
|
-
"description": "Defines which heading element will be rendered",
|
580
|
-
"value": { "type": "\"h2\" | \"h3\" | \"h4\"", "default": "'h2'" }
|
581
|
-
},
|
582
|
-
{
|
583
|
-
"name": "small",
|
584
|
-
"description": "If true, renders the small version",
|
585
|
-
"value": { "type": "boolean", "default": "false" }
|
586
|
-
},
|
587
|
-
{
|
588
|
-
"name": "truncate",
|
589
|
-
"description": "If true, will truncate the heading in collapsed state",
|
590
|
-
"value": { "type": "boolean", "default": "false" }
|
591
|
-
}
|
592
|
-
],
|
593
|
-
"slots": [{ "name": "", "description": "Main content" }],
|
594
|
-
"events": [
|
595
|
-
{
|
596
|
-
"name": "skf-collapse-toggle",
|
597
|
-
"type": "CustomEvent",
|
598
|
-
"description": "Event emitted when toggled"
|
599
|
-
}
|
600
|
-
],
|
601
|
-
"js": {
|
602
|
-
"properties": [
|
603
|
-
{
|
604
|
-
"name": "animated",
|
605
|
-
"description": "If true, will animate the expand/collapse state",
|
606
|
-
"type": "boolean"
|
607
|
-
},
|
608
|
-
{
|
609
|
-
"name": "expanded",
|
610
|
-
"description": "If true, will set the collapse to be expanded by default",
|
611
|
-
"type": "boolean"
|
612
|
-
},
|
613
|
-
{
|
614
|
-
"name": "heading",
|
615
|
-
"description": "Heading for the collapse",
|
616
|
-
"type": "string | undefined"
|
617
|
-
},
|
618
|
-
{
|
619
|
-
"name": "headingAs",
|
620
|
-
"description": "Defines which heading element will be rendered",
|
621
|
-
"type": "\"h2\" | \"h3\" | \"h4\""
|
622
|
-
},
|
623
|
-
{
|
624
|
-
"name": "small",
|
625
|
-
"description": "If true, renders the small version",
|
626
|
-
"type": "boolean"
|
627
|
-
},
|
628
|
-
{
|
629
|
-
"name": "truncate",
|
630
|
-
"description": "If true, will truncate the heading in collapsed state",
|
631
|
-
"type": "boolean"
|
632
|
-
}
|
633
|
-
],
|
634
|
-
"events": [
|
635
|
-
{
|
636
|
-
"name": "skf-collapse-toggle",
|
637
|
-
"type": "CustomEvent",
|
638
|
-
"description": "Event emitted when toggled"
|
639
|
-
}
|
640
|
-
]
|
641
|
-
}
|
642
|
-
},
|
643
747
|
{
|
644
748
|
"name": "skf-datepicker",
|
645
|
-
"description": "A date picker component that allows users to select a date or a range of dates.\n---\n\n\n### **Events:**\n - **selected-date-changed** - When a date is selected\n- **selected-date-range-changed** - When a range of dates is selected\n\n### **Slots:**\n - _default_ - Default hint content placed inside the date picker\n\n### **CSS Properties:**\n - **--max-width** - The maximum width of the date picker _(default: undefined)_",
|
749
|
+
"description": "A date picker component that allows users to select a date or a range of dates.\n---\n\n\n### **Events:**\n - **selected-date-changed** - When a date is selected\n- **selected-date-range-changed** - When a range of dates is selected\n\n### **Methods:**\n - **gotoDate(date: _Date | string_)** - Navigates to the given date.\n\n### **Slots:**\n - _default_ - Default hint content placed inside the date picker\n\n### **CSS Properties:**\n - **--max-width** - The maximum width of the date picker _(default: undefined)_",
|
646
750
|
"doc-url": "",
|
647
751
|
"attributes": [
|
648
752
|
{
|
@@ -741,9 +845,43 @@
|
|
741
845
|
]
|
742
846
|
}
|
743
847
|
},
|
848
|
+
{
|
849
|
+
"name": "skf-heading",
|
850
|
+
"description": "The `<Heading>` component is to deliniate content on a page. When using, take note not to skip heading levels.<br>\nIt extends the interface of native html `<h1>` to `<h4>` elements.\n---\n\n\n### **Slots:**\n - _default_ - The headings content",
|
851
|
+
"doc-url": "",
|
852
|
+
"attributes": [
|
853
|
+
{
|
854
|
+
"name": "as",
|
855
|
+
"description": "Controls which heading element will be rendered. Should not be used to affect appearance",
|
856
|
+
"value": { "type": "SkfHeadingType", "default": "'h1'" }
|
857
|
+
},
|
858
|
+
{
|
859
|
+
"name": "styled-as",
|
860
|
+
"description": "If defined, changes the appearance of the heading",
|
861
|
+
"value": { "type": "SkfHeadingType | undefined" }
|
862
|
+
}
|
863
|
+
],
|
864
|
+
"slots": [{ "name": "", "description": "The headings content" }],
|
865
|
+
"events": [],
|
866
|
+
"js": {
|
867
|
+
"properties": [
|
868
|
+
{
|
869
|
+
"name": "as",
|
870
|
+
"description": "Controls which heading element will be rendered. Should not be used to affect appearance",
|
871
|
+
"type": "SkfHeadingType"
|
872
|
+
},
|
873
|
+
{
|
874
|
+
"name": "styledAs",
|
875
|
+
"description": "If defined, changes the appearance of the heading",
|
876
|
+
"type": "SkfHeadingType | undefined"
|
877
|
+
}
|
878
|
+
],
|
879
|
+
"events": []
|
880
|
+
}
|
881
|
+
},
|
744
882
|
{
|
745
883
|
"name": "skf-dialog",
|
746
|
-
"description": "The `<skf-dialog>` is a component that open up a dialog with the content provided\n---\n\n\n### **Events:**\n - **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 closed (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)_",
|
747
885
|
"doc-url": "",
|
748
886
|
"attributes": [
|
749
887
|
{
|
@@ -773,7 +911,8 @@
|
|
773
911
|
},
|
774
912
|
{
|
775
913
|
"name": "open",
|
776
|
-
"
|
914
|
+
"description": "If true, indicates that the dialog is active and is available for interaction",
|
915
|
+
"value": { "type": "boolean", "default": "false" }
|
777
916
|
}
|
778
917
|
],
|
779
918
|
"slots": [
|
@@ -785,15 +924,15 @@
|
|
785
924
|
],
|
786
925
|
"events": [
|
787
926
|
{
|
788
|
-
"name": "skf-dialog-
|
927
|
+
"name": "skf-dialog-opened",
|
789
928
|
"description": "Fires when the dialog is opened (after transitioned in)"
|
790
929
|
},
|
791
930
|
{
|
792
|
-
"name": "skf-dialog-
|
931
|
+
"name": "skf-dialog-closing",
|
793
932
|
"description": "Fires when the dialog is closed (before transitioned out)"
|
794
933
|
},
|
795
934
|
{
|
796
|
-
"name": "
|
935
|
+
"name": "skf-dialog-closed",
|
797
936
|
"description": "Fires when the dialog is closed (after transitioned out)"
|
798
937
|
}
|
799
938
|
],
|
@@ -824,32 +963,23 @@
|
|
824
963
|
"description": "If defined, removes the inner padding",
|
825
964
|
"type": "boolean"
|
826
965
|
},
|
827
|
-
{ "name": "open", "type": "boolean | null | undefined" },
|
828
|
-
{
|
829
|
-
"name": "onClose",
|
830
|
-
"description": "If provided, will run function on dialog close",
|
831
|
-
"type": "((event: Event) => void) | null | undefined"
|
832
|
-
},
|
833
|
-
{
|
834
|
-
"name": "showModal",
|
835
|
-
"description": "Method that opens the dialog in modal state"
|
836
|
-
},
|
837
966
|
{
|
838
|
-
"name": "
|
839
|
-
"description": "
|
967
|
+
"name": "open",
|
968
|
+
"description": "If true, indicates that the dialog is active and is available for interaction",
|
969
|
+
"type": "boolean"
|
840
970
|
}
|
841
971
|
],
|
842
972
|
"events": [
|
843
973
|
{
|
844
|
-
"name": "skf-dialog-
|
974
|
+
"name": "skf-dialog-opened",
|
845
975
|
"description": "Fires when the dialog is opened (after transitioned in)"
|
846
976
|
},
|
847
977
|
{
|
848
|
-
"name": "skf-dialog-
|
978
|
+
"name": "skf-dialog-closing",
|
849
979
|
"description": "Fires when the dialog is closed (before transitioned out)"
|
850
980
|
},
|
851
981
|
{
|
852
|
-
"name": "
|
982
|
+
"name": "skf-dialog-closed",
|
853
983
|
"description": "Fires when the dialog is closed (after transitioned out)"
|
854
984
|
}
|
855
985
|
]
|
@@ -863,10 +993,7 @@
|
|
863
993
|
{
|
864
994
|
"name": "color",
|
865
995
|
"description": "Defines the Divider color",
|
866
|
-
"value": {
|
867
|
-
"type": "\"emphasised\" | \"primary\" | \"secondary\" | \"tertiary\" | \"inverse\"",
|
868
|
-
"default": "'primary'"
|
869
|
-
}
|
996
|
+
"value": { "type": "SkfDividerColor", "default": "'primary'" }
|
870
997
|
},
|
871
998
|
{
|
872
999
|
"name": "decorative",
|
@@ -885,7 +1012,7 @@
|
|
885
1012
|
{
|
886
1013
|
"name": "color",
|
887
1014
|
"description": "Defines the Divider color",
|
888
|
-
"type": "
|
1015
|
+
"type": "SkfDividerColor"
|
889
1016
|
},
|
890
1017
|
{
|
891
1018
|
"name": "decorative",
|
@@ -902,73 +1029,114 @@
|
|
902
1029
|
}
|
903
1030
|
},
|
904
1031
|
{
|
905
|
-
"name": "skf-
|
906
|
-
"description": "The `<
|
1032
|
+
"name": "skf-drawer",
|
1033
|
+
"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 closed (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",
|
907
1034
|
"doc-url": "",
|
908
1035
|
"attributes": [
|
909
1036
|
{
|
910
|
-
"name": "
|
911
|
-
"description": "
|
912
|
-
"value": {
|
913
|
-
"type": "\"h1\" | \"h2\" | \"h3\" | \"h4\"",
|
914
|
-
"default": "'h1'"
|
915
|
-
}
|
1037
|
+
"name": "close-button-aria-label",
|
1038
|
+
"description": "If defined, sets the aria-label for the close button",
|
1039
|
+
"value": { "type": "string", "default": "'Close dialog'" }
|
916
1040
|
},
|
917
1041
|
{
|
918
|
-
"name": "
|
919
|
-
"description": "
|
920
|
-
"value": { "type": "
|
1042
|
+
"name": "heading",
|
1043
|
+
"description": "Heading for the Drawer",
|
1044
|
+
"value": { "type": "string | undefined" }
|
1045
|
+
},
|
1046
|
+
{
|
1047
|
+
"name": "size",
|
1048
|
+
"description": "Sets the max-width",
|
1049
|
+
"value": { "type": "'sm' | 'md' | 'lg'", "default": "'md'" }
|
1050
|
+
},
|
1051
|
+
{
|
1052
|
+
"name": "open",
|
1053
|
+
"description": "If true, Drawer is open",
|
1054
|
+
"value": { "type": "boolean", "default": "false" }
|
1055
|
+
},
|
1056
|
+
{
|
1057
|
+
"name": "placement",
|
1058
|
+
"description": "Placement of the Drawer",
|
1059
|
+
"value": { "type": "'left' | 'right'", "default": "'right'" }
|
1060
|
+
}
|
1061
|
+
],
|
1062
|
+
"slots": [{ "name": "", "description": "The Drawer's main content" }],
|
1063
|
+
"events": [
|
1064
|
+
{
|
1065
|
+
"name": "skf-drawer-opened",
|
1066
|
+
"description": "Fires when the drawer is opened (after transitioned in)"
|
1067
|
+
},
|
1068
|
+
{
|
1069
|
+
"name": "skf-drawer-closing",
|
1070
|
+
"description": "Fires when the drawer is closed (before transitioned out)"
|
1071
|
+
},
|
1072
|
+
{
|
1073
|
+
"name": "skf-drawer-closed",
|
1074
|
+
"description": "Fires when the drawer is closed (after transitioned out)"
|
921
1075
|
}
|
922
1076
|
],
|
923
|
-
"slots": [{ "name": "", "description": "The headings content" }],
|
924
|
-
"events": [],
|
925
1077
|
"js": {
|
926
1078
|
"properties": [
|
927
1079
|
{
|
928
|
-
"name": "
|
929
|
-
"description": "
|
930
|
-
"type": "
|
1080
|
+
"name": "closeButtonAriaLabel",
|
1081
|
+
"description": "If defined, sets the aria-label for the close button",
|
1082
|
+
"type": "string"
|
931
1083
|
},
|
932
1084
|
{
|
933
|
-
"name": "
|
934
|
-
"description": "
|
935
|
-
"type": "
|
936
|
-
}
|
1085
|
+
"name": "heading",
|
1086
|
+
"description": "Heading for the Drawer",
|
1087
|
+
"type": "string | undefined"
|
1088
|
+
},
|
1089
|
+
{
|
1090
|
+
"name": "size",
|
1091
|
+
"description": "Sets the max-width",
|
1092
|
+
"type": "'sm' | 'md' | 'lg'"
|
1093
|
+
},
|
1094
|
+
{
|
1095
|
+
"name": "open",
|
1096
|
+
"description": "If true, Drawer is open",
|
1097
|
+
"type": "boolean"
|
1098
|
+
},
|
1099
|
+
{
|
1100
|
+
"name": "placement",
|
1101
|
+
"description": "Placement of the Drawer",
|
1102
|
+
"type": "'left' | 'right'"
|
1103
|
+
},
|
1104
|
+
{ "name": "_clickstartInDialog", "type": "boolean" },
|
1105
|
+
{ "name": "_handleMouseDown" },
|
1106
|
+
{ "name": "_handleMouseUp" }
|
937
1107
|
],
|
938
|
-
"events": [
|
1108
|
+
"events": [
|
1109
|
+
{
|
1110
|
+
"name": "skf-drawer-opened",
|
1111
|
+
"description": "Fires when the drawer is opened (after transitioned in)"
|
1112
|
+
},
|
1113
|
+
{
|
1114
|
+
"name": "skf-drawer-closing",
|
1115
|
+
"description": "Fires when the drawer is closed (before transitioned out)"
|
1116
|
+
},
|
1117
|
+
{
|
1118
|
+
"name": "skf-drawer-closed",
|
1119
|
+
"description": "Fires when the drawer is closed (after transitioned out)"
|
1120
|
+
}
|
1121
|
+
]
|
939
1122
|
}
|
940
1123
|
},
|
941
1124
|
{
|
942
|
-
"name": "skf-
|
943
|
-
"description": "The `<skf-
|
1125
|
+
"name": "skf-logo",
|
1126
|
+
"description": "The `<skf-logo>` component is used to display the SKF logo.\n---\n\n\n### **CSS Properties:**\n - **--skf-logo-height** - The height of the logo _(default: undefined)_",
|
944
1127
|
"doc-url": "",
|
945
1128
|
"attributes": [
|
946
1129
|
{
|
947
|
-
"name": "
|
948
|
-
"description": "
|
949
|
-
"value": {
|
950
|
-
"type": "\"primary\" | \"inverse\" | \"emphasised\" | \"secondary\" | \"success\" | \"info\" | \"warning\" | \"error\" | \"alert\"",
|
951
|
-
"default": "'primary'"
|
952
|
-
}
|
953
|
-
},
|
954
|
-
{
|
955
|
-
"name": "label",
|
956
|
-
"description": "If defined, adds an alternate description to use for assistive devices",
|
957
|
-
"value": { "type": "string | undefined" }
|
958
|
-
},
|
959
|
-
{
|
960
|
-
"name": "name",
|
961
|
-
"description": "Name of the icon to display",
|
962
|
-
"value": {
|
963
|
-
"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\""
|
964
|
-
}
|
1130
|
+
"name": "title",
|
1131
|
+
"description": "Defines the title of the logo",
|
1132
|
+
"value": { "type": "string", "default": "'SKF logotype'" }
|
965
1133
|
},
|
966
1134
|
{
|
967
|
-
"name": "
|
968
|
-
"description": "
|
1135
|
+
"name": "color",
|
1136
|
+
"description": "Defines the color of the logo",
|
969
1137
|
"value": {
|
970
|
-
"type": "\"
|
971
|
-
"default": "'
|
1138
|
+
"type": "\"primary\" | \"secondary\" | \"inverse\"",
|
1139
|
+
"default": "'primary'"
|
972
1140
|
}
|
973
1141
|
}
|
974
1142
|
],
|
@@ -976,39 +1144,102 @@
|
|
976
1144
|
"js": {
|
977
1145
|
"properties": [
|
978
1146
|
{
|
979
|
-
"name": "
|
980
|
-
"description": "
|
981
|
-
"type": "
|
982
|
-
},
|
983
|
-
{
|
984
|
-
"name": "label",
|
985
|
-
"description": "If defined, adds an alternate description to use for assistive devices",
|
986
|
-
"type": "string | undefined"
|
987
|
-
},
|
988
|
-
{
|
989
|
-
"name": "name",
|
990
|
-
"description": "Name of the icon to display",
|
991
|
-
"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\""
|
1147
|
+
"name": "title",
|
1148
|
+
"description": "Defines the title of the logo",
|
1149
|
+
"type": "string"
|
992
1150
|
},
|
993
1151
|
{
|
994
|
-
"name": "
|
995
|
-
"description": "
|
996
|
-
"type": "\"
|
1152
|
+
"name": "color",
|
1153
|
+
"description": "Defines the color of the logo",
|
1154
|
+
"type": "\"primary\" | \"secondary\" | \"inverse\""
|
997
1155
|
}
|
998
1156
|
],
|
999
1157
|
"events": []
|
1000
1158
|
}
|
1001
1159
|
},
|
1002
1160
|
{
|
1003
|
-
"name": "skf-
|
1004
|
-
"description": "The skf-
|
1161
|
+
"name": "skf-nav",
|
1162
|
+
"description": "The `<skf-nav>` is a component that displays a list of <nav-items>.\n---\n\n\n### **Slots:**\n - _default_ - The component's main content",
|
1005
1163
|
"doc-url": "",
|
1006
1164
|
"attributes": [
|
1007
1165
|
{
|
1008
|
-
"name": "
|
1009
|
-
"
|
1010
|
-
|
1011
|
-
|
1166
|
+
"name": "vertical",
|
1167
|
+
"value": { "type": "boolean", "default": "false" }
|
1168
|
+
}
|
1169
|
+
],
|
1170
|
+
"slots": [
|
1171
|
+
{ "name": "", "description": "The component's main content" }
|
1172
|
+
],
|
1173
|
+
"events": [],
|
1174
|
+
"js": {
|
1175
|
+
"properties": [{ "name": "vertical", "type": "boolean" }],
|
1176
|
+
"events": []
|
1177
|
+
}
|
1178
|
+
},
|
1179
|
+
{
|
1180
|
+
"name": "skf-header",
|
1181
|
+
"description": "The `<skf-header>` component is to be used as the site-header in the app\n---\n\n\n### **Slots:**\n - _default_ - Navigation items",
|
1182
|
+
"doc-url": "",
|
1183
|
+
"attributes": [
|
1184
|
+
{
|
1185
|
+
"name": "compact",
|
1186
|
+
"description": "If true, sets header to display in compact mode only (hanburger menu and drawer)",
|
1187
|
+
"value": { "type": "boolean", "default": "false" }
|
1188
|
+
},
|
1189
|
+
{
|
1190
|
+
"name": "hamburger-aria-label",
|
1191
|
+
"description": "If defined, sets the aria-label for the hamburger button",
|
1192
|
+
"value": { "type": "string", "default": "'Show navigation'" }
|
1193
|
+
},
|
1194
|
+
{
|
1195
|
+
"name": "site-name",
|
1196
|
+
"description": "If defined, sets the app or site's name",
|
1197
|
+
"value": { "type": "string | undefined" }
|
1198
|
+
},
|
1199
|
+
{
|
1200
|
+
"name": "site-url",
|
1201
|
+
"description": "If defined, sets the site's base-url for the \"logo-link\"",
|
1202
|
+
"value": { "type": "string | undefined" }
|
1203
|
+
}
|
1204
|
+
],
|
1205
|
+
"slots": [{ "name": "", "description": "Navigation items" }],
|
1206
|
+
"events": [],
|
1207
|
+
"js": {
|
1208
|
+
"properties": [
|
1209
|
+
{
|
1210
|
+
"name": "compact",
|
1211
|
+
"description": "If true, sets header to display in compact mode only (hanburger menu and drawer)",
|
1212
|
+
"type": "boolean"
|
1213
|
+
},
|
1214
|
+
{
|
1215
|
+
"name": "hamburgerAriaLabel",
|
1216
|
+
"description": "If defined, sets the aria-label for the hamburger button",
|
1217
|
+
"type": "string"
|
1218
|
+
},
|
1219
|
+
{
|
1220
|
+
"name": "siteName",
|
1221
|
+
"description": "If defined, sets the app or site's name",
|
1222
|
+
"type": "string | undefined"
|
1223
|
+
},
|
1224
|
+
{
|
1225
|
+
"name": "siteUrl",
|
1226
|
+
"description": "If defined, sets the site's base-url for the \"logo-link\"",
|
1227
|
+
"type": "string | undefined"
|
1228
|
+
}
|
1229
|
+
],
|
1230
|
+
"events": []
|
1231
|
+
}
|
1232
|
+
},
|
1233
|
+
{
|
1234
|
+
"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.\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
|
+
"doc-url": "",
|
1237
|
+
"attributes": [
|
1238
|
+
{
|
1239
|
+
"name": "disabled",
|
1240
|
+
"description": "If true, sets disabled state",
|
1241
|
+
"value": { "type": "boolean" }
|
1242
|
+
},
|
1012
1243
|
{
|
1013
1244
|
"name": "required",
|
1014
1245
|
"description": "If true, value is required or must be checked for the form to be submittable",
|
@@ -1016,8 +1247,10 @@
|
|
1016
1247
|
},
|
1017
1248
|
{
|
1018
1249
|
"name": "autocomplete",
|
1019
|
-
"description": "-
|
1020
|
-
"value": {
|
1250
|
+
"description": "Specifies what permission the browser has to provide assistance in filling out form field values. Refer to\n[this page on MDN](https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/autocomplete) for available values.",
|
1251
|
+
"value": {
|
1252
|
+
"type": "'on' | 'off' | 'name' | 'honorific-prefix' | 'given-name' | 'additional-name' | 'family-name' | 'honorific-suffix' | 'nickname' | 'username' | 'new-password' | 'current-password' | 'one-time-code' | 'organization-title' | 'organization' | 'street-address' | 'address-line1' | 'address-line2' | 'address-line3' | 'address-level4' | 'address-level3' | 'address-level2' | 'address-level1' | 'country' | 'country-name' | 'postal-code' | 'cc-name' | 'cc-given-name' | 'cc-additional-name' | 'cc-family-name' | 'cc-number' | 'cc-exp' | 'cc-exp-month' | 'cc-exp-year' | 'cc-csc' | 'cc-type' | 'transaction-amount' | 'transaction-currency' | 'language' | 'bday' | 'bday-day' | 'bday-month' | 'bday-year' | 'sex' | 'url' | 'photo' | 'tel' | 'tel-country-code' | 'tel-national' | 'tel-area-code' | 'tel-local' | 'tel-extension' | 'email' | 'impp' | 'password' | 'webauthn' | 'work' | (string & {})"
|
1253
|
+
}
|
1021
1254
|
},
|
1022
1255
|
{
|
1023
1256
|
"name": "button-aria-label-clear",
|
@@ -1120,9 +1353,7 @@
|
|
1120
1353
|
{
|
1121
1354
|
"name": "severity",
|
1122
1355
|
"description": "If defined, displays provided severity state",
|
1123
|
-
"value": {
|
1124
|
-
"type": "\"alert\" | \"success\" | \"info\" | \"warning\""
|
1125
|
-
}
|
1356
|
+
"value": { "type": "\"success\" | \"info\" | \"warning\"" }
|
1126
1357
|
},
|
1127
1358
|
{
|
1128
1359
|
"name": "show-valid",
|
@@ -1179,7 +1410,11 @@
|
|
1179
1410
|
],
|
1180
1411
|
"js": {
|
1181
1412
|
"properties": [
|
1182
|
-
{
|
1413
|
+
{
|
1414
|
+
"name": "autocomplete",
|
1415
|
+
"description": "Specifies what permission the browser has to provide assistance in filling out form field values. Refer to\n[this page on MDN](https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/autocomplete) for available values.",
|
1416
|
+
"type": "'on' | 'off' | 'name' | 'honorific-prefix' | 'given-name' | 'additional-name' | 'family-name' | 'honorific-suffix' | 'nickname' | 'username' | 'new-password' | 'current-password' | 'one-time-code' | 'organization-title' | 'organization' | 'street-address' | 'address-line1' | 'address-line2' | 'address-line3' | 'address-level4' | 'address-level3' | 'address-level2' | 'address-level1' | 'country' | 'country-name' | 'postal-code' | 'cc-name' | 'cc-given-name' | 'cc-additional-name' | 'cc-family-name' | 'cc-number' | 'cc-exp' | 'cc-exp-month' | 'cc-exp-year' | 'cc-csc' | 'cc-type' | 'transaction-amount' | 'transaction-currency' | 'language' | 'bday' | 'bday-day' | 'bday-month' | 'bday-year' | 'sex' | 'url' | 'photo' | 'tel' | 'tel-country-code' | 'tel-national' | 'tel-area-code' | 'tel-local' | 'tel-extension' | 'email' | 'impp' | 'password' | 'webauthn' | 'work' | (string & {})"
|
1417
|
+
},
|
1183
1418
|
{
|
1184
1419
|
"name": "buttonAriaLabelClear",
|
1185
1420
|
"description": "Custom aria-label for the clear button. **Notice!** Only applicable to type=search.",
|
@@ -1277,7 +1512,7 @@
|
|
1277
1512
|
{
|
1278
1513
|
"name": "severity",
|
1279
1514
|
"description": "If defined, displays provided severity state",
|
1280
|
-
"type": "\"
|
1515
|
+
"type": "\"success\" | \"info\" | \"warning\""
|
1281
1516
|
},
|
1282
1517
|
{
|
1283
1518
|
"name": "showValid",
|
@@ -1472,121 +1707,47 @@
|
|
1472
1707
|
}
|
1473
1708
|
},
|
1474
1709
|
{
|
1475
|
-
"name": "skf-
|
1476
|
-
"description": "The `<skf-
|
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",
|
1477
1712
|
"doc-url": "",
|
1478
1713
|
"attributes": [
|
1479
1714
|
{
|
1480
|
-
"name": "
|
1481
|
-
"description": "
|
1482
|
-
"value": {
|
1483
|
-
|
1484
|
-
|
1485
|
-
|
1486
|
-
"description": "If true, inverts the color (to be used on colored backgrounds)",
|
1487
|
-
"value": { "type": "boolean", "default": "false" }
|
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
|
+
}
|
1488
1721
|
},
|
1489
1722
|
{
|
1490
|
-
"name": "
|
1491
|
-
"description": "
|
1492
|
-
"value": { "type": "
|
1723
|
+
"name": "anchor",
|
1724
|
+
"description": "The id of the element the menu will be anchored to",
|
1725
|
+
"value": { "type": "string" }
|
1493
1726
|
}
|
1494
1727
|
],
|
1495
|
-
"
|
1496
|
-
"
|
1497
|
-
"properties": [
|
1498
|
-
{
|
1499
|
-
"name": "ariaLabel",
|
1500
|
-
"description": "Defines the aria-label",
|
1501
|
-
"type": "string"
|
1502
|
-
},
|
1503
|
-
{
|
1504
|
-
"name": "invert",
|
1505
|
-
"description": "If true, inverts the color (to be used on colored backgrounds)",
|
1506
|
-
"type": "boolean"
|
1507
|
-
},
|
1508
|
-
{
|
1509
|
-
"name": "size",
|
1510
|
-
"description": "Defines the size of the loader",
|
1511
|
-
"type": "'md' | 'sm' | undefined"
|
1512
|
-
},
|
1513
|
-
{ "name": "role", "type": "string" },
|
1514
|
-
{ "name": "ariaLive", "type": "string" }
|
1515
|
-
],
|
1516
|
-
"events": []
|
1517
|
-
}
|
1518
|
-
},
|
1519
|
-
{
|
1520
|
-
"name": "skf-logo",
|
1521
|
-
"description": "The `<skf-logo>` component is used to display the SKF logo.\n---\n\n\n### **CSS Properties:**\n - **--skf-logo-height** - The height of the logo _(default: undefined)_",
|
1522
|
-
"doc-url": "",
|
1523
|
-
"attributes": [
|
1728
|
+
"slots": [{ "name": "", "description": "The menu popover content" }],
|
1729
|
+
"events": [
|
1524
1730
|
{
|
1525
|
-
"name": "
|
1526
|
-
"description": "
|
1527
|
-
"value": { "type": "string", "default": "'SKF logotype'" }
|
1731
|
+
"name": "skf-opened",
|
1732
|
+
"description": "Fired when the menu is opened"
|
1528
1733
|
},
|
1529
1734
|
{
|
1530
|
-
"name": "
|
1531
|
-
"description": "
|
1532
|
-
"value": {
|
1533
|
-
"type": "\"primary\" | \"secondary\" | \"inverse\"",
|
1534
|
-
"default": "'primary'"
|
1535
|
-
}
|
1735
|
+
"name": "skf-closed",
|
1736
|
+
"description": "Fired when the menu is closed"
|
1536
1737
|
}
|
1537
1738
|
],
|
1538
|
-
"events": [],
|
1539
|
-
"js": {
|
1540
|
-
"properties": [
|
1541
|
-
{
|
1542
|
-
"name": "title",
|
1543
|
-
"description": "Defines the title of the logo",
|
1544
|
-
"type": "string"
|
1545
|
-
},
|
1546
|
-
{
|
1547
|
-
"name": "color",
|
1548
|
-
"description": "Defines the color of the logo",
|
1549
|
-
"type": "\"primary\" | \"secondary\" | \"inverse\""
|
1550
|
-
}
|
1551
|
-
],
|
1552
|
-
"events": []
|
1553
|
-
}
|
1554
|
-
},
|
1555
|
-
{
|
1556
|
-
"name": "skf-menu",
|
1557
|
-
"description": "The `<skf-menu>` is a component that displays a list of actions or options.\n---\n\n\n### **Events:**\n - **open** - Fired when the menu is opened\n- **close** - Fired when the menu is closed\n\n### **Slots:**\n - _default_ - The menu popover content",
|
1558
|
-
"doc-url": "",
|
1559
|
-
"attributes": [],
|
1560
|
-
"slots": [{ "name": "", "description": "The menu popover content" }],
|
1561
|
-
"events": [
|
1562
|
-
{ "name": "open", "description": "Fired when the menu is opened" },
|
1563
|
-
{ "name": "close", "description": "Fired when the menu is closed" }
|
1564
|
-
],
|
1565
1739
|
"js": {
|
1566
1740
|
"properties": [
|
1567
|
-
{
|
1568
|
-
|
1569
|
-
"description": "The placement of the menu",
|
1570
|
-
"type": "\"top\" | \"right\" | \"bottom\" | \"left\" | \"top-start\" | \"top-end\" | \"right-start\" | \"right-end\" | \"bottom-start\" | \"bottom-end\" | \"left-start\" | \"left-end\""
|
1571
|
-
},
|
1572
|
-
{
|
1573
|
-
"name": "isOpen",
|
1574
|
-
"description": "Whether the menu is open",
|
1575
|
-
"type": "boolean"
|
1576
|
-
},
|
1577
|
-
{
|
1578
|
-
"name": "anchor",
|
1579
|
-
"description": "The id of the element the menu will be anchored to",
|
1580
|
-
"type": "string"
|
1581
|
-
}
|
1741
|
+
{ "name": "placement", "type": "string" },
|
1742
|
+
{ "name": "triggerEvent", "type": "string" }
|
1582
1743
|
],
|
1583
1744
|
"events": [
|
1584
1745
|
{
|
1585
|
-
"name": "
|
1746
|
+
"name": "skf-opened",
|
1586
1747
|
"description": "Fired when the menu is opened"
|
1587
1748
|
},
|
1588
1749
|
{
|
1589
|
-
"name": "
|
1750
|
+
"name": "skf-closed",
|
1590
1751
|
"description": "Fired when the menu is closed"
|
1591
1752
|
}
|
1592
1753
|
]
|
@@ -1807,11 +1968,47 @@
|
|
1807
1968
|
]
|
1808
1969
|
}
|
1809
1970
|
},
|
1971
|
+
{
|
1972
|
+
"name": "skf-nav-item",
|
1973
|
+
"description": "The `<skf-nav>` is a component that displays a list of <nav-items>.\n---\n\n\n### **Slots:**\n - _default_ - The component's main content",
|
1974
|
+
"doc-url": "",
|
1975
|
+
"attributes": [
|
1976
|
+
{ "name": "href", "value": { "type": "string", "default": "'#'" } },
|
1977
|
+
{
|
1978
|
+
"name": "icon",
|
1979
|
+
"value": { "type": "SkfLink['icon'] | undefined" }
|
1980
|
+
}
|
1981
|
+
],
|
1982
|
+
"slots": [
|
1983
|
+
{ "name": "", "description": "The component's main content" }
|
1984
|
+
],
|
1985
|
+
"events": [],
|
1986
|
+
"js": {
|
1987
|
+
"properties": [
|
1988
|
+
{ "name": "href", "type": "string" },
|
1989
|
+
{ "name": "icon", "type": "SkfLink['icon'] | undefined" }
|
1990
|
+
],
|
1991
|
+
"events": []
|
1992
|
+
}
|
1993
|
+
},
|
1810
1994
|
{
|
1811
1995
|
"name": "skf-popover",
|
1812
|
-
"description": "The `<skf-popover>` is a general purpose component that displays the slot content.\n---\n\n\n### **Events:**\n - **
|
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",
|
1813
1997
|
"doc-url": "",
|
1814
1998
|
"attributes": [
|
1999
|
+
{
|
2000
|
+
"name": "placement",
|
2001
|
+
"description": "The placement of the menu",
|
2002
|
+
"value": {
|
2003
|
+
"type": "\"top\" | \"right\" | \"bottom\" | \"left\" | \"top-start\" | \"top-end\" | \"right-start\" | \"right-end\" | \"bottom-start\" | \"bottom-end\" | \"left-start\" | \"left-end\"",
|
2004
|
+
"default": "'bottom-start'"
|
2005
|
+
}
|
2006
|
+
},
|
2007
|
+
{
|
2008
|
+
"name": "anchor",
|
2009
|
+
"description": "The id of the element the menu will be anchored to",
|
2010
|
+
"value": { "type": "string" }
|
2011
|
+
},
|
1815
2012
|
{
|
1816
2013
|
"name": "offset",
|
1817
2014
|
"description": "If defined, sets a custom offset for the popover",
|
@@ -1825,8 +2022,14 @@
|
|
1825
2022
|
],
|
1826
2023
|
"slots": [{ "name": "", "description": "The popover content" }],
|
1827
2024
|
"events": [
|
1828
|
-
{
|
1829
|
-
|
2025
|
+
{
|
2026
|
+
"name": "skf-opened",
|
2027
|
+
"description": "Fired when the menu is opened"
|
2028
|
+
},
|
2029
|
+
{
|
2030
|
+
"name": "skf-closed",
|
2031
|
+
"description": "Fired when the menu is closed"
|
2032
|
+
}
|
1830
2033
|
],
|
1831
2034
|
"js": {
|
1832
2035
|
"properties": [
|
@@ -1841,29 +2044,16 @@
|
|
1841
2044
|
"type": "boolean"
|
1842
2045
|
},
|
1843
2046
|
{ "name": "arrow", "type": "boolean" },
|
1844
|
-
{
|
1845
|
-
|
1846
|
-
"description": "The placement of the menu",
|
1847
|
-
"type": "\"top\" | \"right\" | \"bottom\" | \"left\" | \"top-start\" | \"top-end\" | \"right-start\" | \"right-end\" | \"bottom-start\" | \"bottom-end\" | \"left-start\" | \"left-end\""
|
1848
|
-
},
|
1849
|
-
{
|
1850
|
-
"name": "isOpen",
|
1851
|
-
"description": "Whether the menu is open",
|
1852
|
-
"type": "boolean"
|
1853
|
-
},
|
1854
|
-
{
|
1855
|
-
"name": "anchor",
|
1856
|
-
"description": "The id of the element the menu will be anchored to",
|
1857
|
-
"type": "string"
|
1858
|
-
}
|
2047
|
+
{ "name": "placement", "type": "string" },
|
2048
|
+
{ "name": "triggerEvent", "type": "string" }
|
1859
2049
|
],
|
1860
2050
|
"events": [
|
1861
2051
|
{
|
1862
|
-
"name": "
|
2052
|
+
"name": "skf-opened",
|
1863
2053
|
"description": "Fired when the menu is opened"
|
1864
2054
|
},
|
1865
2055
|
{
|
1866
|
-
"name": "
|
2056
|
+
"name": "skf-closed",
|
1867
2057
|
"description": "Fired when the menu is closed"
|
1868
2058
|
}
|
1869
2059
|
]
|
@@ -1920,27 +2110,27 @@
|
|
1920
2110
|
{
|
1921
2111
|
"name": "disabled",
|
1922
2112
|
"description": "If true, sets disabled state",
|
1923
|
-
"value": { "type": "boolean" }
|
2113
|
+
"value": { "type": "boolean", "default": "false" }
|
1924
2114
|
},
|
1925
2115
|
{
|
1926
2116
|
"name": "required",
|
1927
2117
|
"description": "If true, value is required or must be checked for the form to be submittable",
|
1928
|
-
"value": { "type": "boolean" }
|
2118
|
+
"value": { "type": "boolean", "default": "false" }
|
1929
2119
|
},
|
1930
2120
|
{
|
1931
2121
|
"name": "debug",
|
1932
2122
|
"description": "If true, outputs helping hints in console",
|
1933
|
-
"value": { "type": "boolean
|
2123
|
+
"value": { "type": "boolean", "default": "false" }
|
1934
2124
|
},
|
1935
2125
|
{
|
1936
2126
|
"name": "checked",
|
1937
2127
|
"description": "If true, outputs helping hints in console",
|
1938
|
-
"value": { "type": "boolean
|
2128
|
+
"value": { "type": "boolean", "default": "false" }
|
1939
2129
|
},
|
1940
2130
|
{
|
1941
2131
|
"name": "custom-invalid",
|
1942
2132
|
"description": "If true, forces component to invalid state until removed",
|
1943
|
-
"value": { "type": "boolean
|
2133
|
+
"value": { "type": "boolean", "default": "false" }
|
1944
2134
|
},
|
1945
2135
|
{
|
1946
2136
|
"name": "label",
|
@@ -1972,7 +2162,7 @@
|
|
1972
2162
|
{
|
1973
2163
|
"name": "show-valid",
|
1974
2164
|
"description": "If true, displays valid state after interaction",
|
1975
|
-
"value": { "type": "boolean
|
2165
|
+
"value": { "type": "boolean", "default": "false" }
|
1976
2166
|
},
|
1977
2167
|
{
|
1978
2168
|
"name": "value",
|
@@ -1997,17 +2187,17 @@
|
|
1997
2187
|
{
|
1998
2188
|
"name": "debug",
|
1999
2189
|
"description": "If true, outputs helping hints in console",
|
2000
|
-
"type": "boolean
|
2190
|
+
"type": "boolean"
|
2001
2191
|
},
|
2002
2192
|
{
|
2003
2193
|
"name": "checked",
|
2004
2194
|
"description": "If true, outputs helping hints in console",
|
2005
|
-
"type": "boolean
|
2195
|
+
"type": "boolean"
|
2006
2196
|
},
|
2007
2197
|
{
|
2008
2198
|
"name": "customInvalid",
|
2009
2199
|
"description": "If true, forces component to invalid state until removed",
|
2010
|
-
"type": "boolean
|
2200
|
+
"type": "boolean"
|
2011
2201
|
},
|
2012
2202
|
{
|
2013
2203
|
"name": "label",
|
@@ -2037,7 +2227,7 @@
|
|
2037
2227
|
{
|
2038
2228
|
"name": "showValid",
|
2039
2229
|
"description": "If true, displays valid state after interaction",
|
2040
|
-
"type": "boolean
|
2230
|
+
"type": "boolean"
|
2041
2231
|
},
|
2042
2232
|
{
|
2043
2233
|
"name": "value",
|
@@ -2054,19 +2244,268 @@
|
|
2054
2244
|
}
|
2055
2245
|
},
|
2056
2246
|
{
|
2057
|
-
"name": "skf-
|
2058
|
-
"description": "The `<skf-
|
2247
|
+
"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 - **my-tag-my-event** - Fired when something happens\n\n### **Slots:**\n - _default_ - The items label",
|
2059
2249
|
"doc-url": "",
|
2060
2250
|
"attributes": [
|
2061
2251
|
{
|
2062
2252
|
"name": "disabled",
|
2063
|
-
"description": "If true,
|
2064
|
-
"value": { "type": "boolean" }
|
2253
|
+
"description": "If true, items is marked as disabled",
|
2254
|
+
"value": { "type": "boolean", "default": "false" }
|
2065
2255
|
},
|
2066
2256
|
{
|
2067
|
-
"name": "
|
2068
|
-
"description": "Sets the
|
2069
|
-
"value": { "type": "string", "default": "'
|
2257
|
+
"name": "value",
|
2258
|
+
"description": "Sets the item value",
|
2259
|
+
"value": { "type": "string", "default": "''" }
|
2260
|
+
}
|
2261
|
+
],
|
2262
|
+
"slots": [{ "name": "", "description": "The items label" }],
|
2263
|
+
"events": [
|
2264
|
+
{
|
2265
|
+
"name": "my-tag-my-event",
|
2266
|
+
"type": "CustomEvent",
|
2267
|
+
"description": "Fired when something happens"
|
2268
|
+
}
|
2269
|
+
],
|
2270
|
+
"js": {
|
2271
|
+
"properties": [
|
2272
|
+
{
|
2273
|
+
"name": "disabled",
|
2274
|
+
"description": "If true, items is marked as disabled",
|
2275
|
+
"type": "boolean"
|
2276
|
+
},
|
2277
|
+
{
|
2278
|
+
"name": "value",
|
2279
|
+
"description": "Sets the item value",
|
2280
|
+
"type": "string"
|
2281
|
+
}
|
2282
|
+
],
|
2283
|
+
"events": [
|
2284
|
+
{
|
2285
|
+
"name": "my-tag-my-event",
|
2286
|
+
"type": "CustomEvent",
|
2287
|
+
"description": "Fired when something happens"
|
2288
|
+
}
|
2289
|
+
]
|
2290
|
+
}
|
2291
|
+
},
|
2292
|
+
{
|
2293
|
+
"name": "skf-segmented-button",
|
2294
|
+
"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
|
+
"doc-url": "",
|
2296
|
+
"attributes": [
|
2297
|
+
{
|
2298
|
+
"name": "default-selected",
|
2299
|
+
"description": "Sets the default selected control",
|
2300
|
+
"value": { "type": "number", "default": "0" }
|
2301
|
+
},
|
2302
|
+
{
|
2303
|
+
"name": "multiple",
|
2304
|
+
"description": "If true, allowes multiple items to be selected",
|
2305
|
+
"value": { "type": "boolean", "default": "false" }
|
2306
|
+
}
|
2307
|
+
],
|
2308
|
+
"slots": [
|
2309
|
+
{
|
2310
|
+
"name": "",
|
2311
|
+
"description": "One or more `<skf-segmented-button-item>`"
|
2312
|
+
}
|
2313
|
+
],
|
2314
|
+
"events": [],
|
2315
|
+
"js": {
|
2316
|
+
"properties": [
|
2317
|
+
{
|
2318
|
+
"name": "defaultSelected",
|
2319
|
+
"description": "Sets the default selected control",
|
2320
|
+
"type": "number"
|
2321
|
+
},
|
2322
|
+
{
|
2323
|
+
"name": "multiple",
|
2324
|
+
"description": "If true, allowes multiple items to be selected",
|
2325
|
+
"type": "boolean"
|
2326
|
+
}
|
2327
|
+
],
|
2328
|
+
"events": []
|
2329
|
+
}
|
2330
|
+
},
|
2331
|
+
{
|
2332
|
+
"name": "skf-select-option",
|
2333
|
+
"description": "The `<skf-select-option>` is a component is used nested in a skf-select or skf-select-option-group.\n---\n\n\n### **Events:**\n - **skf-select-option:select** - {detail: { value: string | null, option: SkfSelectOption }} Fires when the option is selected/deselected.\n\n### **Slots:**\n - _default_ - The option's text content\n- **icon** - The option's slot for icon or custom meta information (svg).",
|
2334
|
+
"doc-url": "",
|
2335
|
+
"attributes": [
|
2336
|
+
{
|
2337
|
+
"name": "disabled",
|
2338
|
+
"description": "If true, prevents interaction with the option",
|
2339
|
+
"value": { "type": "boolean | undefined" }
|
2340
|
+
},
|
2341
|
+
{
|
2342
|
+
"name": "icon",
|
2343
|
+
"description": "If defined, set an icon",
|
2344
|
+
"value": { "type": "SkfIcon['name'] | undefined" }
|
2345
|
+
},
|
2346
|
+
{
|
2347
|
+
"name": "icon-color",
|
2348
|
+
"description": "If defined, sets provided color on the icon",
|
2349
|
+
"value": { "type": "SeverityFgColor | undefined" }
|
2350
|
+
},
|
2351
|
+
{
|
2352
|
+
"name": "selected",
|
2353
|
+
"description": "If true, sets the option as selected",
|
2354
|
+
"value": { "type": "boolean | undefined" }
|
2355
|
+
},
|
2356
|
+
{
|
2357
|
+
"name": "short-label",
|
2358
|
+
"description": "If defined, sets a short label",
|
2359
|
+
"value": { "type": "string | undefined" }
|
2360
|
+
},
|
2361
|
+
{
|
2362
|
+
"name": "value",
|
2363
|
+
"description": "Returns or sets the tags value. If value is omitted, defaults to the tags text.",
|
2364
|
+
"value": { "type": "string" }
|
2365
|
+
}
|
2366
|
+
],
|
2367
|
+
"slots": [
|
2368
|
+
{ "name": "", "description": "The option's text content" },
|
2369
|
+
{
|
2370
|
+
"name": "icon",
|
2371
|
+
"description": "The option's slot for icon or custom meta information (svg)."
|
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
|
+
}
|
2379
|
+
],
|
2380
|
+
"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
|
+
]
|
2425
|
+
}
|
2426
|
+
},
|
2427
|
+
{
|
2428
|
+
"name": "skf-tag",
|
2429
|
+
"description": "The `<skf-tag>` is a component that displays a list of actions or options\n---\n\n\n### **Slots:**\n - _default_ - The component's placeholder content",
|
2430
|
+
"doc-url": "",
|
2431
|
+
"attributes": [
|
2432
|
+
{
|
2433
|
+
"name": "size",
|
2434
|
+
"description": "Specifies Tag size",
|
2435
|
+
"value": { "type": "'sm' | 'md'", "default": "'md'" }
|
2436
|
+
},
|
2437
|
+
{
|
2438
|
+
"name": "icon",
|
2439
|
+
"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
|
+
}
|
2443
|
+
},
|
2444
|
+
{
|
2445
|
+
"name": "color",
|
2446
|
+
"description": "If defined, gives the supplied appearance",
|
2447
|
+
"value": {
|
2448
|
+
"type": "\"warning\" | \"success\" | \"info\" | \"error\" | \"alert\""
|
2449
|
+
}
|
2450
|
+
},
|
2451
|
+
{
|
2452
|
+
"name": "removable",
|
2453
|
+
"description": "If true, adds trailing button to remove tag",
|
2454
|
+
"value": { "type": "boolean", "default": "false" }
|
2455
|
+
}
|
2456
|
+
],
|
2457
|
+
"slots": [
|
2458
|
+
{ "name": "", "description": "The component's placeholder content" }
|
2459
|
+
],
|
2460
|
+
"events": [],
|
2461
|
+
"js": {
|
2462
|
+
"properties": [
|
2463
|
+
{
|
2464
|
+
"name": "size",
|
2465
|
+
"description": "Specifies Tag size",
|
2466
|
+
"type": "'sm' | 'md'"
|
2467
|
+
},
|
2468
|
+
{
|
2469
|
+
"name": "icon",
|
2470
|
+
"description": "If defined, displays leading/provided icon",
|
2471
|
+
"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\""
|
2472
|
+
},
|
2473
|
+
{
|
2474
|
+
"name": "color",
|
2475
|
+
"description": "If defined, gives the supplied appearance",
|
2476
|
+
"type": "\"warning\" | \"success\" | \"info\" | \"error\" | \"alert\""
|
2477
|
+
},
|
2478
|
+
{
|
2479
|
+
"name": "onClick",
|
2480
|
+
"description": "If defined, accepts a function that runs on click"
|
2481
|
+
},
|
2482
|
+
{
|
2483
|
+
"name": "onRemove",
|
2484
|
+
"description": "If defined, accepts a function that runs on click. Self removal can be overridden by using `event.stopPropagation()`."
|
2485
|
+
},
|
2486
|
+
{
|
2487
|
+
"name": "removable",
|
2488
|
+
"description": "If true, adds trailing button to remove tag",
|
2489
|
+
"type": "boolean"
|
2490
|
+
}
|
2491
|
+
],
|
2492
|
+
"events": []
|
2493
|
+
}
|
2494
|
+
},
|
2495
|
+
{
|
2496
|
+
"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: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
|
+
"doc-url": "",
|
2499
|
+
"attributes": [
|
2500
|
+
{
|
2501
|
+
"name": "disabled",
|
2502
|
+
"description": "If true, the select is disabled\t`default: false`",
|
2503
|
+
"value": { "type": "boolean" }
|
2504
|
+
},
|
2505
|
+
{
|
2506
|
+
"name": "button-label",
|
2507
|
+
"description": "Sets the first visible text on the component",
|
2508
|
+
"value": { "type": "string", "default": "'Select an option'" }
|
2070
2509
|
},
|
2071
2510
|
{
|
2072
2511
|
"name": "custom-invalid",
|
@@ -2266,102 +2705,6 @@
|
|
2266
2705
|
]
|
2267
2706
|
}
|
2268
2707
|
},
|
2269
|
-
{
|
2270
|
-
"name": "skf-select-option",
|
2271
|
-
"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).",
|
2272
|
-
"doc-url": "",
|
2273
|
-
"attributes": [
|
2274
|
-
{
|
2275
|
-
"name": "disabled",
|
2276
|
-
"description": "If true, prevents interaction with the option",
|
2277
|
-
"value": { "type": "boolean | undefined" }
|
2278
|
-
},
|
2279
|
-
{
|
2280
|
-
"name": "icon",
|
2281
|
-
"description": "If defined, set an icon",
|
2282
|
-
"value": { "type": "SkfIcon['name'] | undefined" }
|
2283
|
-
},
|
2284
|
-
{
|
2285
|
-
"name": "icon-color",
|
2286
|
-
"description": "If defined, sets provided color on the icon",
|
2287
|
-
"value": { "type": "SeverityFgColor | undefined" }
|
2288
|
-
},
|
2289
|
-
{
|
2290
|
-
"name": "selected",
|
2291
|
-
"description": "If true, sets the option as selected",
|
2292
|
-
"value": { "type": "boolean | undefined" }
|
2293
|
-
},
|
2294
|
-
{
|
2295
|
-
"name": "short-label",
|
2296
|
-
"description": "If defined, sets a short label",
|
2297
|
-
"value": { "type": "string | undefined" }
|
2298
|
-
},
|
2299
|
-
{
|
2300
|
-
"name": "value",
|
2301
|
-
"description": "Returns or sets the tags value. If value is omitted, defaults to the tags text.",
|
2302
|
-
"value": { "type": "string" }
|
2303
|
-
}
|
2304
|
-
],
|
2305
|
-
"slots": [
|
2306
|
-
{ "name": "", "description": "The option's text content" },
|
2307
|
-
{
|
2308
|
-
"name": "icon",
|
2309
|
-
"description": "The option's slot for icon or custom meta information (svg)."
|
2310
|
-
}
|
2311
|
-
],
|
2312
|
-
"events": [
|
2313
|
-
{
|
2314
|
-
"name": "skf-select-option:select",
|
2315
|
-
"description": "{detail: { value: string | null, option: SkfSelectOption }} Fires when the option is selected/deselected."
|
2316
|
-
}
|
2317
|
-
],
|
2318
|
-
"js": {
|
2319
|
-
"properties": [
|
2320
|
-
{
|
2321
|
-
"name": "disabled",
|
2322
|
-
"description": "If true, prevents interaction with the option",
|
2323
|
-
"type": "boolean | undefined"
|
2324
|
-
},
|
2325
|
-
{
|
2326
|
-
"name": "icon",
|
2327
|
-
"description": "If defined, set an icon",
|
2328
|
-
"type": "SkfIcon['name'] | undefined"
|
2329
|
-
},
|
2330
|
-
{
|
2331
|
-
"name": "iconColor",
|
2332
|
-
"description": "If defined, sets provided color on the icon",
|
2333
|
-
"type": "SeverityFgColor | undefined"
|
2334
|
-
},
|
2335
|
-
{
|
2336
|
-
"name": "selected",
|
2337
|
-
"description": "If true, sets the option as selected",
|
2338
|
-
"type": "boolean | undefined"
|
2339
|
-
},
|
2340
|
-
{
|
2341
|
-
"name": "shortLabel",
|
2342
|
-
"description": "If defined, sets a short label",
|
2343
|
-
"type": "string | undefined"
|
2344
|
-
},
|
2345
|
-
{
|
2346
|
-
"name": "text",
|
2347
|
-
"description": "The option's label text (equivalent to the tags textContent)"
|
2348
|
-
},
|
2349
|
-
{
|
2350
|
-
"name": "value",
|
2351
|
-
"description": "Returns or sets the tags value. If value is omitted, defaults to the tags text."
|
2352
|
-
},
|
2353
|
-
{ "name": "role", "type": "string" },
|
2354
|
-
{ "name": "_parent" },
|
2355
|
-
{ "name": "_shortcutUpdate", "type": "boolean" }
|
2356
|
-
],
|
2357
|
-
"events": [
|
2358
|
-
{
|
2359
|
-
"name": "skf-select-option:select",
|
2360
|
-
"description": "{detail: { value: string | null, option: SkfSelectOption }} Fires when the option is selected/deselected."
|
2361
|
-
}
|
2362
|
-
]
|
2363
|
-
}
|
2364
|
-
},
|
2365
2708
|
{
|
2366
2709
|
"name": "skf-select-option-group",
|
2367
2710
|
"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",
|
@@ -2381,52 +2724,6 @@
|
|
2381
2724
|
"events": []
|
2382
2725
|
}
|
2383
2726
|
},
|
2384
|
-
{
|
2385
|
-
"name": "skf-stepper",
|
2386
|
-
"description": "The `<skf-stepper>` is a component that displays a list of actions or options.\n---\n\n\n### **Events:**\n - **skf-stepper-item-select** - Dispatched when the stepper item is selected\n\n### **Slots:**\n - _default_ - One or more `<skf-stepper-item>`",
|
2387
|
-
"doc-url": "",
|
2388
|
-
"attributes": [
|
2389
|
-
{
|
2390
|
-
"name": "activeIndex",
|
2391
|
-
"description": "Sets the active item",
|
2392
|
-
"value": { "type": "number", "default": "-1" }
|
2393
|
-
},
|
2394
|
-
{
|
2395
|
-
"name": "linear",
|
2396
|
-
"description": "If true, sets linear mode (user can't go back to completed steps due to dependencies)",
|
2397
|
-
"value": { "type": "boolean", "default": "false" }
|
2398
|
-
}
|
2399
|
-
],
|
2400
|
-
"slots": [
|
2401
|
-
{ "name": "", "description": "One or more `<skf-stepper-item>`" }
|
2402
|
-
],
|
2403
|
-
"events": [
|
2404
|
-
{
|
2405
|
-
"name": "skf-stepper-item-select",
|
2406
|
-
"description": "Dispatched when the stepper item is selected"
|
2407
|
-
}
|
2408
|
-
],
|
2409
|
-
"js": {
|
2410
|
-
"properties": [
|
2411
|
-
{
|
2412
|
-
"name": "activeIndex",
|
2413
|
-
"description": "Sets the active item",
|
2414
|
-
"type": "number"
|
2415
|
-
},
|
2416
|
-
{
|
2417
|
-
"name": "linear",
|
2418
|
-
"description": "If true, sets linear mode (user can't go back to completed steps due to dependencies)",
|
2419
|
-
"type": "boolean"
|
2420
|
-
}
|
2421
|
-
],
|
2422
|
-
"events": [
|
2423
|
-
{
|
2424
|
-
"name": "skf-stepper-item-select",
|
2425
|
-
"description": "Dispatched when the stepper item is selected"
|
2426
|
-
}
|
2427
|
-
]
|
2428
|
-
}
|
2429
|
-
},
|
2430
2727
|
{
|
2431
2728
|
"name": "skf-stepper-item",
|
2432
2729
|
"description": "The `<skf-stepper-item>` is used in conjunction with the `<skf-stepper>` component\n---\n\n\n### **Events:**\n - **skf-stepper-item-select** - Dispatched when the stepper item is selected\n\n### **Slots:**\n - _default_ - Label of the stepper item",
|
@@ -2475,35 +2772,81 @@
|
|
2475
2772
|
]
|
2476
2773
|
}
|
2477
2774
|
},
|
2775
|
+
{
|
2776
|
+
"name": "skf-stepper",
|
2777
|
+
"description": "The `<skf-stepper>` is a component that displays a list of actions or options.\n---\n\n\n### **Events:**\n - **skf-stepper-item-select** - Dispatched when the stepper item is selected\n\n### **Slots:**\n - _default_ - One or more `<skf-stepper-item>`",
|
2778
|
+
"doc-url": "",
|
2779
|
+
"attributes": [
|
2780
|
+
{
|
2781
|
+
"name": "activeIndex",
|
2782
|
+
"description": "Sets the active item",
|
2783
|
+
"value": { "type": "number", "default": "-1" }
|
2784
|
+
},
|
2785
|
+
{
|
2786
|
+
"name": "linear",
|
2787
|
+
"description": "If true, sets linear mode (user can't go back to completed steps due to dependencies)",
|
2788
|
+
"value": { "type": "boolean", "default": "false" }
|
2789
|
+
}
|
2790
|
+
],
|
2791
|
+
"slots": [
|
2792
|
+
{ "name": "", "description": "One or more `<skf-stepper-item>`" }
|
2793
|
+
],
|
2794
|
+
"events": [
|
2795
|
+
{
|
2796
|
+
"name": "skf-stepper-item-select",
|
2797
|
+
"description": "Dispatched when the stepper item is selected"
|
2798
|
+
}
|
2799
|
+
],
|
2800
|
+
"js": {
|
2801
|
+
"properties": [
|
2802
|
+
{
|
2803
|
+
"name": "activeIndex",
|
2804
|
+
"description": "Sets the active item",
|
2805
|
+
"type": "number"
|
2806
|
+
},
|
2807
|
+
{
|
2808
|
+
"name": "linear",
|
2809
|
+
"description": "If true, sets linear mode (user can't go back to completed steps due to dependencies)",
|
2810
|
+
"type": "boolean"
|
2811
|
+
}
|
2812
|
+
],
|
2813
|
+
"events": [
|
2814
|
+
{
|
2815
|
+
"name": "skf-stepper-item-select",
|
2816
|
+
"description": "Dispatched when the stepper item is selected"
|
2817
|
+
}
|
2818
|
+
]
|
2819
|
+
}
|
2820
|
+
},
|
2478
2821
|
{
|
2479
2822
|
"name": "skf-switch",
|
2480
|
-
"description": "The `<skf-switch>` is a component that displays a list of actions or options\n---\n\n\n### **Slots:**\n - _default_ - The Switchs label. Alternatively, you can use the `label` attribute.",
|
2823
|
+
"description": "The `<skf-switch>` is a component that displays a list of actions or options\n\nSee [zeroheight](https://zeroheight.com/853e936c9/p/7282a2-switch) for design principle\n---\n\n\n### **Slots:**\n - _default_ - The Switchs label. Alternatively, you can use the `label` attribute.",
|
2481
2824
|
"doc-url": "",
|
2482
2825
|
"attributes": [
|
2483
2826
|
{
|
2484
2827
|
"name": "disabled",
|
2485
2828
|
"description": "If true, sets disabled state",
|
2486
|
-
"value": { "type": "boolean" }
|
2829
|
+
"value": { "type": "boolean", "default": "false" }
|
2487
2830
|
},
|
2488
2831
|
{
|
2489
2832
|
"name": "required",
|
2490
2833
|
"description": "If true, value is required or must be checked for the form to be submittable",
|
2491
|
-
"value": { "type": "boolean" }
|
2834
|
+
"value": { "type": "boolean", "default": "false" }
|
2492
2835
|
},
|
2493
2836
|
{
|
2494
2837
|
"name": "debug",
|
2495
2838
|
"description": "If true, outputs helping hints in console",
|
2496
|
-
"value": { "type": "boolean
|
2839
|
+
"value": { "type": "boolean", "default": "false" }
|
2497
2840
|
},
|
2498
2841
|
{
|
2499
2842
|
"name": "checked",
|
2500
2843
|
"description": "If true, outputs helping hints in console",
|
2501
|
-
"value": { "type": "boolean
|
2844
|
+
"value": { "type": "boolean", "default": "false" }
|
2502
2845
|
},
|
2503
2846
|
{
|
2504
2847
|
"name": "hide-label",
|
2505
2848
|
"description": "If true, hides the label visually",
|
2506
|
-
"value": { "type": "boolean
|
2849
|
+
"value": { "type": "boolean", "default": "false" }
|
2507
2850
|
},
|
2508
2851
|
{
|
2509
2852
|
"name": "label",
|
@@ -2543,17 +2886,17 @@
|
|
2543
2886
|
{
|
2544
2887
|
"name": "debug",
|
2545
2888
|
"description": "If true, outputs helping hints in console",
|
2546
|
-
"type": "boolean
|
2889
|
+
"type": "boolean"
|
2547
2890
|
},
|
2548
2891
|
{
|
2549
2892
|
"name": "checked",
|
2550
2893
|
"description": "If true, outputs helping hints in console",
|
2551
|
-
"type": "boolean
|
2894
|
+
"type": "boolean"
|
2552
2895
|
},
|
2553
2896
|
{
|
2554
2897
|
"name": "hideLabel",
|
2555
2898
|
"description": "If true, hides the label visually",
|
2556
|
-
"type": "boolean
|
2899
|
+
"type": "boolean"
|
2557
2900
|
},
|
2558
2901
|
{
|
2559
2902
|
"name": "label",
|
@@ -2585,50 +2928,29 @@
|
|
2585
2928
|
}
|
2586
2929
|
},
|
2587
2930
|
{
|
2588
|
-
"name": "skf-tab",
|
2589
|
-
"description": "The `<skf-tab>` is a component that displays a list of actions or options
|
2931
|
+
"name": "skf-tab-panel",
|
2932
|
+
"description": "The `<skf-tab-panel>` is a component that displays a list of actions or options.\n---\n\n\n### **Slots:**\n - _default_ - The tab panel's content",
|
2590
2933
|
"doc-url": "",
|
2591
2934
|
"attributes": [
|
2592
2935
|
{
|
2593
|
-
"name": "
|
2594
|
-
"description": "The
|
2936
|
+
"name": "name",
|
2937
|
+
"description": "The tab panel's name.",
|
2595
2938
|
"value": { "type": "string", "default": "''" }
|
2596
2939
|
}
|
2597
2940
|
],
|
2598
|
-
"slots": [{ "name": "", "description": "The tab's
|
2599
|
-
"events": [
|
2600
|
-
{
|
2601
|
-
"name": "skf-tab-select",
|
2602
|
-
"type": "CustomEvent",
|
2603
|
-
"description": "{detail: { selected: true, tab: SkfTab }} Fires when the tab is selected"
|
2604
|
-
},
|
2605
|
-
{
|
2606
|
-
"name": "click",
|
2607
|
-
"description": "Fired when the component is clicked"
|
2608
|
-
}
|
2609
|
-
],
|
2941
|
+
"slots": [{ "name": "", "description": "The tab panel's content" }],
|
2942
|
+
"events": [],
|
2610
2943
|
"js": {
|
2611
2944
|
"properties": [
|
2612
2945
|
{
|
2613
|
-
"name": "
|
2614
|
-
"description": "The
|
2946
|
+
"name": "name",
|
2947
|
+
"description": "The tab panel's name.",
|
2615
2948
|
"type": "string"
|
2616
2949
|
},
|
2617
|
-
{ "name": "
|
2618
|
-
{ "name": "variant", "type": "SkfTabGroup['variant']" },
|
2950
|
+
{ "name": "active", "type": "boolean" },
|
2619
2951
|
{ "name": "role", "type": "string" }
|
2620
2952
|
],
|
2621
|
-
"events": [
|
2622
|
-
{
|
2623
|
-
"name": "skf-tab-select",
|
2624
|
-
"type": "CustomEvent",
|
2625
|
-
"description": "{detail: { selected: true, tab: SkfTab }} Fires when the tab is selected"
|
2626
|
-
},
|
2627
|
-
{
|
2628
|
-
"name": "click",
|
2629
|
-
"description": "Fired when the component is clicked"
|
2630
|
-
}
|
2631
|
-
]
|
2953
|
+
"events": []
|
2632
2954
|
}
|
2633
2955
|
},
|
2634
2956
|
{
|
@@ -2708,97 +3030,50 @@
|
|
2708
3030
|
}
|
2709
3031
|
},
|
2710
3032
|
{
|
2711
|
-
"name": "skf-tab
|
2712
|
-
"description": "The `<skf-tab
|
3033
|
+
"name": "skf-tab",
|
3034
|
+
"description": "The `<skf-tab>` is a component that displays a list of actions or options\n---\n\n\n### **Events:**\n - **skf-tab-select** - {detail: { selected: true, tab: SkfTab }} Fires when the tab is selected\n- **click** - Fired when the component is clicked\n\n### **Slots:**\n - _default_ - The tab's label",
|
2713
3035
|
"doc-url": "",
|
2714
3036
|
"attributes": [
|
2715
3037
|
{
|
2716
|
-
"name": "
|
2717
|
-
"description": "The tab panel
|
3038
|
+
"name": "panel",
|
3039
|
+
"description": "The name of the tab-panel this tab is associated with. The panel must be located in the same tab group.",
|
2718
3040
|
"value": { "type": "string", "default": "''" }
|
2719
3041
|
}
|
2720
3042
|
],
|
2721
|
-
"slots": [{ "name": "", "description": "The tab
|
2722
|
-
"events": [
|
2723
|
-
"js": {
|
2724
|
-
"properties": [
|
2725
|
-
{
|
2726
|
-
"name": "name",
|
2727
|
-
"description": "The tab panel's name.",
|
2728
|
-
"type": "string"
|
2729
|
-
},
|
2730
|
-
{ "name": "active", "type": "boolean" },
|
2731
|
-
{ "name": "role", "type": "string" }
|
2732
|
-
],
|
2733
|
-
"events": []
|
2734
|
-
}
|
2735
|
-
},
|
2736
|
-
{
|
2737
|
-
"name": "skf-tag",
|
2738
|
-
"description": "The `<skf-tag>` is a component that displays a list of actions or options\n---\n\n\n### **Slots:**\n - _default_ - The component's placeholder content",
|
2739
|
-
"doc-url": "",
|
2740
|
-
"attributes": [
|
2741
|
-
{
|
2742
|
-
"name": "size",
|
2743
|
-
"description": "Specifies Tag size",
|
2744
|
-
"value": { "type": "'sm' | 'md' | 'lg'", "default": "'md'" }
|
2745
|
-
},
|
2746
|
-
{
|
2747
|
-
"name": "icon",
|
2748
|
-
"description": "If defined, displays leading/provided icon",
|
2749
|
-
"value": {
|
2750
|
-
"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\""
|
2751
|
-
}
|
2752
|
-
},
|
3043
|
+
"slots": [{ "name": "", "description": "The tab's label" }],
|
3044
|
+
"events": [
|
2753
3045
|
{
|
2754
|
-
"name": "
|
2755
|
-
"
|
2756
|
-
"
|
2757
|
-
"type": "\"warning\" | \"success\" | \"info\" | \"error\" | \"alert\""
|
2758
|
-
}
|
3046
|
+
"name": "skf-tab-select",
|
3047
|
+
"type": "CustomEvent",
|
3048
|
+
"description": "{detail: { selected: true, tab: SkfTab }} Fires when the tab is selected"
|
2759
3049
|
},
|
2760
3050
|
{
|
2761
|
-
"name": "
|
2762
|
-
"description": "
|
2763
|
-
"value": { "type": "boolean | undefined" }
|
3051
|
+
"name": "click",
|
3052
|
+
"description": "Fired when the component is clicked"
|
2764
3053
|
}
|
2765
3054
|
],
|
2766
|
-
"slots": [
|
2767
|
-
{ "name": "", "description": "The component's placeholder content" }
|
2768
|
-
],
|
2769
|
-
"events": [],
|
2770
3055
|
"js": {
|
2771
3056
|
"properties": [
|
2772
3057
|
{
|
2773
|
-
"name": "
|
2774
|
-
"description": "
|
2775
|
-
"type": "
|
2776
|
-
},
|
2777
|
-
{
|
2778
|
-
"name": "icon",
|
2779
|
-
"description": "If defined, displays leading/provided icon",
|
2780
|
-
"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\""
|
2781
|
-
},
|
2782
|
-
{
|
2783
|
-
"name": "color",
|
2784
|
-
"description": "If defined, gives the supplied appearance",
|
2785
|
-
"type": "\"warning\" | \"success\" | \"info\" | \"error\" | \"alert\""
|
2786
|
-
},
|
2787
|
-
{
|
2788
|
-
"name": "onClick",
|
2789
|
-
"description": "If defined, accepts a function that runs on click"
|
3058
|
+
"name": "panel",
|
3059
|
+
"description": "The name of the tab-panel this tab is associated with. The panel must be located in the same tab group.",
|
3060
|
+
"type": "string"
|
2790
3061
|
},
|
3062
|
+
{ "name": "selected", "type": "boolean" },
|
3063
|
+
{ "name": "variant", "type": "SkfTabGroup['variant']" },
|
3064
|
+
{ "name": "role", "type": "string" }
|
3065
|
+
],
|
3066
|
+
"events": [
|
2791
3067
|
{
|
2792
|
-
"name": "
|
2793
|
-
"
|
3068
|
+
"name": "skf-tab-select",
|
3069
|
+
"type": "CustomEvent",
|
3070
|
+
"description": "{detail: { selected: true, tab: SkfTab }} Fires when the tab is selected"
|
2794
3071
|
},
|
2795
3072
|
{
|
2796
|
-
"name": "
|
2797
|
-
"description": "
|
2798
|
-
"type": "boolean | undefined"
|
3073
|
+
"name": "click",
|
3074
|
+
"description": "Fired when the component is clicked"
|
2799
3075
|
}
|
2800
|
-
]
|
2801
|
-
"events": []
|
3076
|
+
]
|
2802
3077
|
}
|
2803
3078
|
},
|
2804
3079
|
{
|
@@ -3032,9 +3307,31 @@
|
|
3032
3307
|
]
|
3033
3308
|
}
|
3034
3309
|
},
|
3310
|
+
{
|
3311
|
+
"name": "skf-toast-wrapper",
|
3312
|
+
"description": "The `<skf-toast-wrapper>` is a component without UI that positions where the toast shows up on the screen. The toast-wrapper is used internally by the toast component.\n---\n\n\n### **Slots:**\n - _default_ - The alert components that the toast creates will render here.",
|
3313
|
+
"doc-url": "",
|
3314
|
+
"attributes": [
|
3315
|
+
{
|
3316
|
+
"name": "debug",
|
3317
|
+
"value": { "type": "boolean", "default": "false" }
|
3318
|
+
}
|
3319
|
+
],
|
3320
|
+
"slots": [
|
3321
|
+
{
|
3322
|
+
"name": "",
|
3323
|
+
"description": "The alert components that the toast creates will render here."
|
3324
|
+
}
|
3325
|
+
],
|
3326
|
+
"events": [],
|
3327
|
+
"js": {
|
3328
|
+
"properties": [{ "name": "debug", "type": "boolean" }],
|
3329
|
+
"events": []
|
3330
|
+
}
|
3331
|
+
},
|
3035
3332
|
{
|
3036
3333
|
"name": "skf-toast",
|
3037
|
-
"description": "A simple toast component that displays a message to the user.
|
3334
|
+
"description": "A simple toast component that displays a message to the user. Invoke a toast message by appending a <skf-toast> tag to the DOM. Position in DOM is irrelevant. A transient toast will disappear after a set amount of time. Once toast is dismissed it will be removed from the DOM.\n---\n\n\n### **Slots:**\n - _default_ - The component's placeholder content",
|
3038
3335
|
"doc-url": "",
|
3039
3336
|
"attributes": [
|
3040
3337
|
{
|
@@ -3104,71 +3401,49 @@
|
|
3104
3401
|
}
|
3105
3402
|
},
|
3106
3403
|
{
|
3107
|
-
"name": "skf-
|
3108
|
-
"description": "The `<skf-
|
3404
|
+
"name": "skf-tooltip",
|
3405
|
+
"description": "The `<skf-tooltip>` is a component that displays a tooltip.\n---\n\n\n### **Events:**\n - **skf-opened** - Fired when the dropdown is opened\n- **skf-closed** - Fired when the dropdown is closed\n\n### **Slots:**\n - _default_ - The tooltip popover content",
|
3109
3406
|
"doc-url": "",
|
3110
3407
|
"attributes": [
|
3111
3408
|
{
|
3112
|
-
"name": "
|
3113
|
-
"
|
3114
|
-
|
3115
|
-
|
3116
|
-
|
3409
|
+
"name": "placement",
|
3410
|
+
"description": "The placement of the dropdown",
|
3411
|
+
"value": {
|
3412
|
+
"type": "\"top\" | \"right\" | \"bottom\" | \"left\" | \"top-start\" | \"top-end\" | \"right-start\" | \"right-end\" | \"bottom-start\" | \"bottom-end\" | \"left-start\" | \"left-end\"",
|
3413
|
+
"default": "'bottom-start'"
|
3414
|
+
}
|
3415
|
+
},
|
3117
3416
|
{
|
3118
|
-
"name": "",
|
3119
|
-
"description": "The
|
3417
|
+
"name": "anchor",
|
3418
|
+
"description": "The id of the element the dropdown will be anchored to",
|
3419
|
+
"value": { "type": "string" }
|
3120
3420
|
}
|
3121
3421
|
],
|
3122
|
-
"events": [],
|
3123
|
-
"js": {
|
3124
|
-
"properties": [{ "name": "debug", "type": "boolean" }],
|
3125
|
-
"events": []
|
3126
|
-
}
|
3127
|
-
},
|
3128
|
-
{
|
3129
|
-
"name": "skf-tooltip",
|
3130
|
-
"description": "The `<skf-tooltip>` is a component that displays a list of actions or options.\n---\n\n\n### **Events:**\n - **open** - Fired when the dropdown is opened\n- **close** - Fired when the dropdown is closed\n\n### **Slots:**\n - _default_ - The tooltip popover content",
|
3131
|
-
"doc-url": "",
|
3132
|
-
"attributes": [],
|
3133
3422
|
"slots": [
|
3134
3423
|
{ "name": "", "description": "The tooltip popover content" }
|
3135
3424
|
],
|
3136
3425
|
"events": [
|
3137
3426
|
{
|
3138
|
-
"name": "
|
3427
|
+
"name": "skf-opened",
|
3139
3428
|
"description": "Fired when the dropdown is opened"
|
3140
3429
|
},
|
3141
3430
|
{
|
3142
|
-
"name": "
|
3431
|
+
"name": "skf-closed",
|
3143
3432
|
"description": "Fired when the dropdown is closed"
|
3144
3433
|
}
|
3145
3434
|
],
|
3146
3435
|
"js": {
|
3147
3436
|
"properties": [
|
3148
3437
|
{ "name": "offset", "type": "number" },
|
3149
|
-
{
|
3150
|
-
"name": "placement",
|
3151
|
-
"description": "The placement of the dropdown",
|
3152
|
-
"type": "\"top\" | \"right\" | \"bottom\" | \"left\" | \"top-start\" | \"top-end\" | \"right-start\" | \"right-end\" | \"bottom-start\" | \"bottom-end\" | \"left-start\" | \"left-end\""
|
3153
|
-
},
|
3154
|
-
{
|
3155
|
-
"name": "isOpen",
|
3156
|
-
"description": "Whether the dropdown is open",
|
3157
|
-
"type": "boolean"
|
3158
|
-
},
|
3159
|
-
{
|
3160
|
-
"name": "anchor",
|
3161
|
-
"description": "The id of the element the dropdown will be anchored to",
|
3162
|
-
"type": "string"
|
3163
|
-
}
|
3438
|
+
{ "name": "placement", "type": "string" }
|
3164
3439
|
],
|
3165
3440
|
"events": [
|
3166
3441
|
{
|
3167
|
-
"name": "
|
3442
|
+
"name": "skf-opened",
|
3168
3443
|
"description": "Fired when the dropdown is opened"
|
3169
3444
|
},
|
3170
3445
|
{
|
3171
|
-
"name": "
|
3446
|
+
"name": "skf-closed",
|
3172
3447
|
"description": "Fired when the dropdown is closed"
|
3173
3448
|
}
|
3174
3449
|
]
|