@skf-design-system/ui-components 1.0.0-alpha.34 → 1.0.0-alpha.36
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 +20 -27
- package/custom-elements.json +25490 -0
- package/dist/components/accordion/accordion-item.component.d.ts +36 -0
- package/dist/components/accordion/accordion-item.component.js +98 -0
- package/dist/components/accordion/accordion-item.d.ts +3 -3
- package/dist/components/accordion/accordion-item.js +4 -5
- package/dist/components/accordion/accordion-item.styles.js +77 -0
- package/dist/components/accordion/accordion.component.d.ts +10 -14
- package/dist/components/accordion/accordion.component.js +10 -11
- package/dist/components/accordion/accordion.d.ts +0 -1
- package/dist/components/accordion/accordion.js +0 -2
- package/dist/components/alert/alert.component.d.ts +12 -12
- package/dist/components/alert/alert.component.js +57 -55
- package/dist/components/alert/alert.styles.js +50 -51
- package/dist/components/breadcrumb/breadcrumb-item.component.js +60 -0
- package/dist/components/{breadcrumb-item → breadcrumb}/breadcrumb-item.d.ts +2 -2
- package/dist/components/breadcrumb/breadcrumb-item.js +6 -0
- package/dist/components/breadcrumb/breadcrumb-item.styles.js +63 -0
- package/dist/components/breadcrumb/breadcrumb.component.d.ts +7 -4
- package/dist/components/breadcrumb/breadcrumb.component.js +65 -0
- package/dist/components/breadcrumb/breadcrumb.d.ts +2 -2
- package/dist/components/breadcrumb/breadcrumb.js +6 -0
- package/dist/components/breadcrumb/breadcrumb.styles.js +25 -0
- package/dist/components/button/button.component.d.ts +17 -14
- package/dist/components/button/button.component.js +73 -61
- package/dist/components/button/button.styles.d.ts +1 -2
- package/dist/components/button/button.styles.js +13 -3
- package/dist/components/card/card.component.d.ts +6 -1
- package/dist/components/card/card.component.js +46 -36
- package/dist/components/card/card.styles.js +37 -23
- package/dist/components/checkbox/checkbox.component.d.ts +17 -13
- package/dist/components/checkbox/checkbox.component.js +74 -61
- package/dist/components/checkbox/checkbox.styles.d.ts +1 -2
- package/dist/components/checkbox/checkbox.styles.js +1 -5
- package/dist/components/datepicker/datepicker-calendar.component.d.ts +80 -0
- package/dist/components/datepicker/datepicker-calendar.component.js +415 -0
- package/dist/components/datepicker/datepicker-calendar.d.ts +8 -0
- package/dist/components/datepicker/datepicker-calendar.js +6 -0
- package/dist/components/datepicker/datepicker-calendar.styles.js +202 -0
- package/dist/components/datepicker/datepicker-popup.component.d.ts +64 -0
- package/dist/components/datepicker/datepicker-popup.component.js +261 -0
- package/dist/components/datepicker/datepicker-popup.d.ts +8 -0
- package/dist/components/datepicker/datepicker-popup.helpers.d.ts +41 -0
- package/dist/components/datepicker/datepicker-popup.helpers.js +83 -0
- package/dist/components/datepicker/datepicker-popup.js +6 -0
- package/dist/components/datepicker/datepicker-popup.styles.js +87 -0
- package/dist/components/datepicker/datepicker.component.d.ts +121 -0
- package/dist/components/datepicker/datepicker.component.js +456 -0
- package/dist/components/datepicker/datepicker.d.ts +8 -0
- package/dist/components/datepicker/datepicker.helpers.d.ts +38 -0
- package/dist/components/datepicker/datepicker.helpers.js +31 -0
- package/dist/components/datepicker/datepicker.js +6 -0
- package/dist/components/datepicker/datepicker.styles.d.ts +1 -0
- package/dist/components/datepicker/datepicker.styles.js +18 -0
- package/dist/components/dialog/dialog.component.d.ts +20 -29
- package/dist/components/dialog/dialog.component.js +85 -75
- package/dist/components/dialog/dialog.d.ts +2 -2
- package/dist/components/dialog/dialog.styles.js +4 -4
- package/dist/components/divider/divider.component.d.ts +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 +61 -0
- package/dist/components/drawer/drawer.component.js +125 -0
- package/dist/components/drawer/drawer.d.ts +8 -0
- package/dist/components/drawer/drawer.js +6 -0
- package/dist/components/drawer/drawer.styles.js +71 -0
- package/dist/components/header/header.component.d.ts +46 -0
- package/dist/components/header/header.component.js +116 -0
- package/dist/components/header/header.d.ts +8 -0
- package/dist/components/header/header.js +6 -0
- package/dist/components/header/header.styles.js +68 -0
- package/dist/components/heading/heading.component.d.ts +8 -12
- package/dist/components/heading/heading.component.js +52 -24
- package/dist/components/heading/heading.styles.d.ts +1 -2
- package/dist/components/heading/heading.styles.js +35 -37
- package/dist/components/icon/icon.component.d.ts +15 -17
- package/dist/components/icon/icon.component.js +52 -43
- package/dist/components/icon/icon.styles.d.ts +1 -2
- package/dist/components/icon/icon.styles.js +60 -60
- package/dist/components/input/input.component.d.ts +31 -31
- package/dist/components/input/input.component.js +167 -146
- 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.d.ts +20 -25
- package/dist/components/link/link.component.js +99 -107
- package/dist/components/link/link.styles.d.ts +1 -2
- package/dist/components/link/link.styles.js +47 -43
- package/dist/components/loader/loader.component.d.ts +1 -1
- package/dist/components/loader/loader.component.js +36 -40
- package/dist/components/loader/loader.styles.d.ts +1 -2
- package/dist/components/loader/loader.styles.js +40 -32
- package/dist/components/logo/logo.component.d.ts +8 -6
- package/dist/components/logo/logo.component.js +55 -51
- package/dist/components/logo/logo.styles.js +26 -16
- package/dist/components/menu/menu-item.component.d.ts +13 -0
- package/dist/components/menu/menu-item.component.js +13 -0
- package/dist/components/{menu-item → menu}/menu-item.d.ts +2 -2
- package/dist/components/{menu-item → menu}/menu-item.styles.js +8 -5
- package/dist/components/menu/menu.component.d.ts +10 -8
- package/dist/components/menu/menu.component.js +8 -10
- package/dist/components/menu/menu.d.ts +2 -2
- package/dist/components/nav/nav-item.component.d.ts +22 -0
- package/dist/components/nav/nav-item.component.js +57 -0
- package/dist/components/nav/nav-item.d.ts +8 -0
- package/dist/components/nav/nav-item.js +6 -0
- package/dist/components/nav/nav-item.styles.js +43 -0
- package/dist/components/nav/nav.component.d.ts +23 -0
- package/dist/components/nav/nav.component.js +55 -0
- package/dist/components/nav/nav.d.ts +8 -0
- package/dist/components/nav/nav.js +6 -0
- package/dist/components/nav/nav.styles.js +23 -0
- package/dist/components/popover/popover.component.d.ts +15 -8
- package/dist/components/popover/popover.component.js +29 -23
- package/dist/components/popover/popover.d.ts +2 -2
- package/dist/components/progress/progress.component.d.ts +4 -2
- package/dist/components/progress/progress.component.js +38 -35
- package/dist/components/progress/progress.d.ts +2 -2
- package/dist/components/progress/progress.styles.js +40 -33
- package/dist/components/radio/radio.component.d.ts +19 -13
- package/dist/components/radio/radio.component.js +12 -12
- 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-item.component.d.ts +36 -0
- package/dist/components/segmented-button/segmented-button-item.component.js +56 -0
- package/dist/components/segmented-button/segmented-button-item.d.ts +8 -0
- package/dist/components/segmented-button/segmented-button-item.js +6 -0
- package/dist/components/segmented-button/segmented-button-item.styles.d.ts +1 -0
- package/dist/components/segmented-button/segmented-button-item.styles.js +62 -0
- package/dist/components/segmented-button/segmented-button.component.d.ts +30 -0
- package/dist/components/segmented-button/segmented-button.component.js +73 -0
- package/dist/components/segmented-button/segmented-button.d.ts +8 -0
- package/dist/components/segmented-button/segmented-button.js +6 -0
- package/dist/components/segmented-button/segmented-button.styles.d.ts +1 -0
- package/dist/components/segmented-button/segmented-button.styles.js +16 -0
- package/dist/components/{select-option-group → select}/select-option-group.component.d.ts +4 -0
- package/dist/components/select/select-option-group.component.js +50 -0
- package/dist/components/{select-option-group → select}/select-option-group.d.ts +2 -2
- package/dist/components/select/select-option-group.style.d.ts +1 -0
- package/dist/components/select/select-option-group.style.js +24 -0
- package/dist/components/{select-option → select}/select-option.component.d.ts +14 -11
- package/dist/components/select/select-option.component.js +140 -0
- package/dist/components/select/select-option.controllers.d.ts +15 -0
- package/dist/components/select/select-option.styles.d.ts +1 -0
- package/dist/components/select/select-option.styles.js +65 -0
- package/dist/components/select/select.component.d.ts +22 -17
- package/dist/components/select/select.component.js +62 -45
- package/dist/components/select/select.controllers.d.ts +21 -10
- package/dist/components/select/select.controllers.js +29 -23
- package/dist/components/select/stories/select.stories.icons.d.ts +7 -0
- package/dist/components/{stepper-item → stepper}/stepper-item.component.js +48 -48
- package/dist/components/{stepper-item → stepper}/stepper-item.d.ts +2 -2
- package/dist/components/stepper/stepper-item.styles.d.ts +1 -0
- package/dist/components/stepper/stepper.component.d.ts +4 -3
- package/dist/components/stepper/stepper.component.js +15 -15
- package/dist/components/stepper/stepper.d.ts +2 -2
- package/dist/components/stepper/stepper.helpers.d.ts +1 -1
- package/dist/components/switch/switch.component.d.ts +7 -6
- package/dist/components/switch/switch.component.js +21 -21
- package/dist/components/switch/switch.d.ts +2 -2
- package/dist/components/{tab-panel → tabs}/tab-panel.component.js +1 -1
- package/dist/components/{tab-panel → tabs}/tab-panel.d.ts +2 -2
- package/dist/components/tabs/tab-panel.styles.d.ts +1 -0
- package/dist/components/{tab → tabs}/tab.component.d.ts +2 -2
- package/dist/components/{tab → tabs}/tab.component.js +1 -1
- package/dist/components/{tab → tabs}/tab.d.ts +2 -2
- package/dist/components/tabs/tab.styles.d.ts +1 -0
- package/dist/components/{tab-group/tab-group.component.d.ts → tabs/tabs.component.d.ts} +3 -4
- package/dist/components/{tab-group/tab-group.component.js → tabs/tabs.component.js} +36 -37
- package/dist/components/tabs/tabs.d.ts +8 -0
- package/dist/components/tabs/tabs.js +6 -0
- package/dist/components/tabs/tabs.styles.d.ts +1 -0
- package/dist/components/{tab-group/tab-group.styles.js → tabs/tabs.styles.js} +16 -16
- package/dist/components/tag/tag.component.d.ts +20 -17
- package/dist/components/tag/tag.component.js +68 -67
- package/dist/components/tag/tag.d.ts +2 -2
- package/dist/components/tag/tag.styles.js +63 -50
- package/dist/components/textarea/textarea.component.d.ts +10 -11
- package/dist/components/textarea/textarea.component.js +67 -68
- package/dist/components/{toast-item → toast}/toast-item.component.js +15 -15
- package/dist/components/{toast-item → toast}/toast-item.d.ts +2 -0
- package/dist/components/{toast-item → toast}/toast-item.js +4 -0
- package/dist/components/toast/toast-item.styles.js +18 -0
- package/dist/components/{toast-wrapper → toast}/toast-wrapper.component.js +1 -1
- package/dist/components/toast/toast-wrapper.styles.d.ts +1 -0
- package/dist/components/toast/toast.component.d.ts +9 -5
- package/dist/components/toast/toast.component.js +31 -27
- package/dist/components/toast/toast.singleton.d.ts +7 -12
- package/dist/components/toast/toast.singleton.js +26 -26
- package/dist/components/tooltip/tooltip.component.d.ts +7 -7
- package/dist/components/tooltip/tooltip.component.js +16 -11
- package/dist/components/tooltip/tooltip.d.ts +2 -2
- package/dist/custom-elements.json +3980 -2348
- package/dist/index.d.ts +22 -9
- package/dist/index.js +111 -74
- package/dist/internal/base-classes/popover/popover.base.d.ts +24 -9
- package/dist/internal/base-classes/popover/popover.base.js +140 -79
- package/dist/internal/base-classes/popover/popover.styles.js +17 -5
- package/dist/internal/components/hint/hint.component.d.ts +6 -2
- package/dist/internal/components/hint/hint.component.js +47 -20
- package/dist/internal/components/hint/hint.styles.d.ts +1 -2
- package/dist/internal/components/hint/hint.styles.js +30 -26
- package/dist/internal/components/skf-element.d.ts +1 -3
- package/dist/internal/components/skf-element.js +4 -9
- package/dist/internal/constants/iconSeverity.d.ts +3 -2
- package/dist/internal/constants/iconSeverity.js +2 -3
- package/dist/internal/controllers/elementOverflowController.d.ts +13 -0
- package/dist/internal/controllers/popover.controller.d.ts +12 -6
- package/dist/internal/controllers/popover.controller.js +9 -14
- package/dist/internal/helpers/dateFormatter.d.ts +2 -0
- package/dist/internal/helpers/hintSeverity.d.ts +2 -2
- package/dist/internal/helpers/hintSeverity.js +1 -1
- package/dist/internal/helpers/stateMap.d.ts +14 -0
- package/dist/internal/helpers/stateMap.js +68 -0
- package/dist/internal/helpers/utilityTypes.d.ts +22 -0
- package/dist/internal/helpers/uuid.d.ts +15 -0
- package/dist/internal/helpers/uuid.js +14 -0
- package/dist/internal/helpers/watch.d.ts +1 -1
- package/dist/internal/helpers/watch.js +12 -12
- package/dist/internal/storybook/styles.d.ts +1 -0
- package/dist/internal/types/formField.d.ts +1 -1
- package/dist/internal/types.d.ts +18 -0
- package/dist/styles/component.styles.d.ts +1 -2
- package/dist/styles/component.styles.js +38 -37
- package/dist/styles/form-field.styles.js +11 -6
- package/dist/styles/global-alt.css +1 -0
- package/dist/styles/global.css +1 -1
- package/dist/types/jsx/custom-element-jsx.d.ts +871 -1307
- package/dist/types/vue/index.d.ts +593 -360
- package/dist/vscode.html-custom-data.json +630 -1184
- package/dist/web-types.json +1422 -945
- package/package.json +47 -63
- package/dist/components/accordion/accordion.test.d.ts +0 -1
- package/dist/components/checkbox/checkbox.test.d.ts +0 -1
- package/dist/components/collapse/collapse.component.d.ts +0 -40
- package/dist/components/collapse/collapse.component.js +0 -86
- package/dist/components/collapse/collapse.d.ts +0 -8
- package/dist/components/collapse/collapse.js +0 -6
- package/dist/components/collapse/collapse.styles.d.ts +0 -2
- package/dist/components/collapse/collapse.styles.js +0 -77
- package/dist/components/collapse/collapse.test.d.ts +0 -1
- package/dist/components/input/input.test.d.ts +0 -1
- package/dist/components/menu-item/menu-item.component.d.ts +0 -25
- package/dist/components/menu-item/menu-item.component.js +0 -13
- package/dist/components/radio/radio.test.d.ts +0 -1
- package/dist/components/select-option/select-option.component.js +0 -123
- package/dist/components/select-option/select-option.controllers.d.ts +0 -9
- package/dist/components/select-option/select-option.styles.js +0 -53
- package/dist/components/select-option-group/select-option-group.component.js +0 -31
- package/dist/components/select-option-group/select-option-group.style.js +0 -18
- package/dist/components/switch/switch.test.d.ts +0 -1
- package/dist/components/tab-group/tab-group.d.ts +0 -8
- package/dist/components/tab-group/tab-group.js +0 -6
- package/dist/components/toast-item/toast-item.styles.js +0 -16
- package/dist/internal/constants/heading.d.ts +0 -2
- package/dist/internal/playwright/index.d.ts +0 -1
- package/dist/react/index.d.ts +0 -35
- package/dist/react/index.js +0 -35
- 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-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/components/{breadcrumb-item/breadcrumb-item.styles.d.ts → accordion/accordion-item.styles.d.ts} +0 -0
- /package/dist/components/{breadcrumb-item → breadcrumb}/breadcrumb-item.component.d.ts +0 -0
- /package/dist/components/{menu-item/menu-item.styles.d.ts → breadcrumb/breadcrumb-item.styles.d.ts} +0 -0
- /package/dist/components/{select-option-group/select-option-group.style.d.ts → datepicker/datepicker-calendar.styles.d.ts} +0 -0
- /package/dist/components/{select-option/select-option.styles.d.ts → datepicker/datepicker-popup.styles.d.ts} +0 -0
- /package/dist/components/{stepper-item/stepper-item.styles.d.ts → drawer/drawer.styles.d.ts} +0 -0
- /package/dist/components/{tab-group/tab-group.styles.d.ts → header/header.styles.d.ts} +0 -0
- /package/dist/components/{menu-item → menu}/menu-item.js +0 -0
- /package/dist/components/{tab-panel/tab-panel.styles.d.ts → menu/menu-item.styles.d.ts} +0 -0
- /package/dist/components/{tab/tab.styles.d.ts → nav/nav-item.styles.d.ts} +0 -0
- /package/dist/components/{toast-wrapper/toast-wrapper.styles.d.ts → nav/nav.styles.d.ts} +0 -0
- /package/dist/components/{select-option-group → select}/select-option-group.js +0 -0
- /package/dist/components/{select-option → select}/select-option.d.ts +0 -0
- /package/dist/components/{select-option → select}/select-option.js +0 -0
- /package/dist/components/{stepper-item → stepper}/stepper-item.component.d.ts +0 -0
- /package/dist/components/{stepper-item → stepper}/stepper-item.js +0 -0
- /package/dist/components/{stepper-item → stepper}/stepper-item.styles.js +0 -0
- /package/dist/components/{tab-panel → tabs}/tab-panel.component.d.ts +0 -0
- /package/dist/components/{tab-panel → tabs}/tab-panel.js +0 -0
- /package/dist/components/{tab-panel → tabs}/tab-panel.styles.js +0 -0
- /package/dist/components/{tab → tabs}/tab.js +0 -0
- /package/dist/components/{tab → tabs}/tab.styles.js +0 -0
- /package/dist/components/{toast-item → toast}/toast-item.component.d.ts +0 -0
- /package/dist/components/{toast-item → toast}/toast-item.styles.d.ts +0 -0
- /package/dist/components/{toast-wrapper → toast}/toast-wrapper.component.d.ts +0 -0
- /package/dist/components/{toast-wrapper → toast}/toast-wrapper.d.ts +0 -0
- /package/dist/components/{toast-wrapper → toast}/toast-wrapper.js +0 -0
- /package/dist/components/{toast-wrapper → toast}/toast-wrapper.styles.js +0 -0
package/dist/web-types.json
CHANGED
@@ -1,26 +1,168 @@
|
|
1
1
|
{
|
2
2
|
"$schema": "https://raw.githubusercontent.com/JetBrains/web-types/master/schema/web-types.json",
|
3
3
|
"name": "@skf-design-system/ui-components",
|
4
|
-
"version": "1.0.
|
4
|
+
"version": "1.0.1",
|
5
5
|
"description-markup": "markdown",
|
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": { "type": "IconColor", "default": "'primary'" }
|
18
|
+
},
|
19
|
+
{
|
20
|
+
"name": "label",
|
21
|
+
"description": "If defined, adds an alternate description to use for assistive devices",
|
22
|
+
"value": { "type": "string | undefined" }
|
23
|
+
},
|
24
|
+
{
|
25
|
+
"name": "name",
|
26
|
+
"description": "Name of the icon to display",
|
27
|
+
"value": { "type": "Icon" }
|
28
|
+
},
|
29
|
+
{
|
30
|
+
"name": "size",
|
31
|
+
"description": "Size of the icon",
|
32
|
+
"value": { "type": "SkfIconSize", "default": "'md'" }
|
33
|
+
}
|
34
|
+
],
|
35
|
+
"events": [],
|
36
|
+
"js": {
|
37
|
+
"properties": [
|
38
|
+
{
|
39
|
+
"name": "color",
|
40
|
+
"description": "Sets the color of the icon",
|
41
|
+
"type": "IconColor"
|
42
|
+
},
|
43
|
+
{
|
44
|
+
"name": "label",
|
45
|
+
"description": "If defined, adds an alternate description to use for assistive devices",
|
46
|
+
"type": "string | undefined"
|
47
|
+
},
|
48
|
+
{
|
49
|
+
"name": "name",
|
50
|
+
"description": "Name of the icon to display",
|
51
|
+
"type": "Icon"
|
52
|
+
},
|
53
|
+
{
|
54
|
+
"name": "size",
|
55
|
+
"description": "Size of the icon",
|
56
|
+
"type": "SkfIconSize"
|
57
|
+
}
|
58
|
+
],
|
59
|
+
"events": []
|
60
|
+
}
|
61
|
+
},
|
62
|
+
{
|
63
|
+
"name": "skf-accordion-item",
|
64
|
+
"description": "The `<skf-accordion-item>` is used in conjunction with the `<skf-accordion>` component\n---\n\n\n### **Events:**\n - **skf-accordion-item-toggle** - Event emitted when toggled\n\n### **Methods:**\n - **setClose()** - Class method as alternative to manipulate attribute\n- **setOpen()** - Class method as alternative to manipulate attribute\n\n### **Slots:**\n - _default_ - Main content",
|
65
|
+
"doc-url": "",
|
66
|
+
"attributes": [
|
67
|
+
{
|
68
|
+
"name": "animated",
|
69
|
+
"description": "If true, will animate the expand/accordion-item state",
|
70
|
+
"value": { "type": "boolean", "default": "false" }
|
71
|
+
},
|
72
|
+
{
|
73
|
+
"name": "expanded",
|
74
|
+
"description": "If true, will set the accordion-item to be expanded by default",
|
75
|
+
"value": { "type": "boolean", "default": "false" }
|
76
|
+
},
|
77
|
+
{
|
78
|
+
"name": "heading",
|
79
|
+
"description": "Heading for the accordion-item",
|
80
|
+
"value": { "type": "string | undefined" }
|
81
|
+
},
|
82
|
+
{
|
83
|
+
"name": "heading-as",
|
84
|
+
"description": "Defines which heading element will be rendered",
|
85
|
+
"value": {
|
86
|
+
"type": "SkfAccordionItemHeadingType",
|
87
|
+
"default": "'h2'"
|
88
|
+
}
|
89
|
+
},
|
90
|
+
{
|
91
|
+
"name": "small",
|
92
|
+
"description": "If true, renders the small version",
|
93
|
+
"value": { "type": "boolean", "default": "false" }
|
94
|
+
},
|
95
|
+
{
|
96
|
+
"name": "truncate",
|
97
|
+
"description": "If true, will truncate the heading in accordion-item state",
|
98
|
+
"value": { "type": "boolean", "default": "false" }
|
99
|
+
}
|
100
|
+
],
|
101
|
+
"slots": [{ "name": "", "description": "Main content" }],
|
102
|
+
"events": [
|
103
|
+
{
|
104
|
+
"name": "skf-accordion-item-toggle",
|
105
|
+
"type": "CustomEvent",
|
106
|
+
"description": "Event emitted when toggled"
|
107
|
+
}
|
108
|
+
],
|
109
|
+
"js": {
|
110
|
+
"properties": [
|
111
|
+
{
|
112
|
+
"name": "animated",
|
113
|
+
"description": "If true, will animate the expand/accordion-item state",
|
114
|
+
"type": "boolean"
|
115
|
+
},
|
116
|
+
{
|
117
|
+
"name": "expanded",
|
118
|
+
"description": "If true, will set the accordion-item to be expanded by default",
|
119
|
+
"type": "boolean"
|
120
|
+
},
|
121
|
+
{
|
122
|
+
"name": "heading",
|
123
|
+
"description": "Heading for the accordion-item",
|
124
|
+
"type": "string | undefined"
|
125
|
+
},
|
126
|
+
{
|
127
|
+
"name": "headingAs",
|
128
|
+
"description": "Defines which heading element will be rendered",
|
129
|
+
"type": "SkfAccordionItemHeadingType"
|
130
|
+
},
|
131
|
+
{
|
132
|
+
"name": "small",
|
133
|
+
"description": "If true, renders the small version",
|
134
|
+
"type": "boolean"
|
135
|
+
},
|
136
|
+
{
|
137
|
+
"name": "truncate",
|
138
|
+
"description": "If true, will truncate the heading in accordion-item state",
|
139
|
+
"type": "boolean"
|
140
|
+
}
|
141
|
+
],
|
142
|
+
"events": [
|
143
|
+
{
|
144
|
+
"name": "skf-accordion-item-toggle",
|
145
|
+
"type": "CustomEvent",
|
146
|
+
"description": "Event emitted when toggled"
|
147
|
+
}
|
148
|
+
]
|
149
|
+
}
|
150
|
+
},
|
9
151
|
{
|
10
152
|
"name": "skf-accordion",
|
11
|
-
"description": "The `<skf-accordion>` component consists of
|
153
|
+
"description": "The `<skf-accordion>` component consists of one or more `<skf-accordion-item>` item(s) working together\n\nSee [zeroheight](https://zeroheight.com/853e936c9/p/6590bf-accordion) for design principles\n---\n\n\n### **Slots:**\n - _default_ - Expects one or more <skf-accordion-item> element(s)",
|
12
154
|
"doc-url": "",
|
13
155
|
"attributes": [
|
14
156
|
{
|
15
157
|
"name": "animated",
|
16
158
|
"description": "If true, will animate the expand/collapse state",
|
17
|
-
"value": { "type": "boolean
|
159
|
+
"value": { "type": "boolean", "default": "false" }
|
18
160
|
},
|
19
161
|
{
|
20
162
|
"name": "heading-as",
|
21
163
|
"description": "Defines which heading element will be rendered",
|
22
164
|
"value": {
|
23
|
-
"type": "
|
165
|
+
"type": "SkfAccordionItemHeadingType",
|
24
166
|
"default": "'h2'"
|
25
167
|
}
|
26
168
|
},
|
@@ -32,17 +174,17 @@
|
|
32
174
|
{
|
33
175
|
"name": "multiple",
|
34
176
|
"description": "If true, allowes multiple accordion items to open",
|
35
|
-
"value": { "type": "boolean
|
177
|
+
"value": { "type": "boolean", "default": "false" }
|
36
178
|
},
|
37
179
|
{
|
38
180
|
"name": "small",
|
39
181
|
"description": "If true, renders the small version",
|
40
|
-
"value": { "type": "boolean
|
182
|
+
"value": { "type": "boolean", "default": "false" }
|
41
183
|
},
|
42
184
|
{
|
43
185
|
"name": "truncate",
|
44
186
|
"description": "If true, will truncate all headings in collapsed state",
|
45
|
-
"value": { "type": "boolean
|
187
|
+
"value": { "type": "boolean", "default": "false" }
|
46
188
|
}
|
47
189
|
],
|
48
190
|
"slots": [
|
@@ -57,12 +199,12 @@
|
|
57
199
|
{
|
58
200
|
"name": "animated",
|
59
201
|
"description": "If true, will animate the expand/collapse state",
|
60
|
-
"type": "boolean
|
202
|
+
"type": "boolean"
|
61
203
|
},
|
62
204
|
{
|
63
205
|
"name": "headingAs",
|
64
206
|
"description": "Defines which heading element will be rendered",
|
65
|
-
"type": "
|
207
|
+
"type": "SkfAccordionItemHeadingType"
|
66
208
|
},
|
67
209
|
{
|
68
210
|
"name": "gap",
|
@@ -72,17 +214,17 @@
|
|
72
214
|
{
|
73
215
|
"name": "multiple",
|
74
216
|
"description": "If true, allowes multiple accordion items to open",
|
75
|
-
"type": "boolean
|
217
|
+
"type": "boolean"
|
76
218
|
},
|
77
219
|
{
|
78
220
|
"name": "small",
|
79
221
|
"description": "If true, renders the small version",
|
80
|
-
"type": "boolean
|
222
|
+
"type": "boolean"
|
81
223
|
},
|
82
224
|
{
|
83
225
|
"name": "truncate",
|
84
226
|
"description": "If true, will truncate all headings in collapsed state",
|
85
|
-
"type": "boolean
|
227
|
+
"type": "boolean"
|
86
228
|
}
|
87
229
|
],
|
88
230
|
"events": []
|
@@ -90,14 +232,9 @@
|
|
90
232
|
},
|
91
233
|
{
|
92
234
|
"name": "skf-alert",
|
93
|
-
"description": "The `<skf-alert>` is a type of notification that appears in-line\n---\n\n\n### **Events:**\n - **skf-alert-close** - Fires when the close button is clicked\n\n### **Slots:**\n - _default_ - Alert message. **Notice!** See design principles for approved content\n- **link** - Slot for the link",
|
235
|
+
"description": "The `<skf-alert>` is a type of notification that appears in-line\n\nSee [zeroheight](https://zeroheight.com/853e936c9/p/990ec5-alert) for design principles\n---\n\n\n### **Events:**\n - **skf-alert-close** - Fires when the close button is clicked\n\n### **Slots:**\n - _default_ - Alert message. **Notice!** See design principles for approved content\n- **link** - Slot for the link",
|
94
236
|
"doc-url": "",
|
95
237
|
"attributes": [
|
96
|
-
{
|
97
|
-
"name": "closeable",
|
98
|
-
"description": "If true, alert is being used as a toast (alertdialog) with an close button",
|
99
|
-
"value": { "type": "boolean | undefined" }
|
100
|
-
},
|
101
238
|
{
|
102
239
|
"name": "button-label",
|
103
240
|
"description": "Close button aria-label",
|
@@ -106,14 +243,17 @@
|
|
106
243
|
{
|
107
244
|
"name": "icon",
|
108
245
|
"description": "If defined, displays leading icon",
|
109
|
-
"value": { "type": "
|
246
|
+
"value": { "type": "Icon | undefined" }
|
247
|
+
},
|
248
|
+
{
|
249
|
+
"name": "persistent",
|
250
|
+
"description": "If true, renders with an close button and sets aria-role to `status`",
|
251
|
+
"value": { "type": "boolean", "default": "false" }
|
110
252
|
},
|
111
253
|
{
|
112
254
|
"name": "severity",
|
113
255
|
"description": "If defined, gives the supplied appearance",
|
114
|
-
"value": {
|
115
|
-
"type": "\"error\" | \"info\" | \"warning\" | \"success\" | \"alert\""
|
116
|
-
}
|
256
|
+
"value": { "type": "Severity | undefined" }
|
117
257
|
}
|
118
258
|
],
|
119
259
|
"slots": [
|
@@ -126,16 +266,12 @@
|
|
126
266
|
"events": [
|
127
267
|
{
|
128
268
|
"name": "skf-alert-close",
|
269
|
+
"type": "CustomEvent",
|
129
270
|
"description": "Fires when the close button is clicked"
|
130
271
|
}
|
131
272
|
],
|
132
273
|
"js": {
|
133
274
|
"properties": [
|
134
|
-
{
|
135
|
-
"name": "closeable",
|
136
|
-
"description": "If true, alert is being used as a toast (alertdialog) with an close button",
|
137
|
-
"type": "boolean | undefined"
|
138
|
-
},
|
139
275
|
{
|
140
276
|
"name": "buttonLabel",
|
141
277
|
"description": "Close button aria-label",
|
@@ -144,25 +280,61 @@
|
|
144
280
|
{
|
145
281
|
"name": "icon",
|
146
282
|
"description": "If defined, displays leading icon",
|
147
|
-
"type": "
|
283
|
+
"type": "Icon | undefined"
|
284
|
+
},
|
285
|
+
{
|
286
|
+
"name": "persistent",
|
287
|
+
"description": "If true, renders with an close button and sets aria-role to `status`",
|
288
|
+
"type": "boolean"
|
148
289
|
},
|
149
290
|
{
|
150
291
|
"name": "severity",
|
151
292
|
"description": "If defined, gives the supplied appearance",
|
152
|
-
"type": "
|
293
|
+
"type": "Severity | undefined"
|
153
294
|
}
|
154
295
|
],
|
155
296
|
"events": [
|
156
297
|
{
|
157
298
|
"name": "skf-alert-close",
|
299
|
+
"type": "CustomEvent",
|
158
300
|
"description": "Fires when the close button is clicked"
|
159
301
|
}
|
160
302
|
]
|
161
303
|
}
|
162
304
|
},
|
305
|
+
{
|
306
|
+
"name": "skf-breadcrumb-item",
|
307
|
+
"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",
|
308
|
+
"doc-url": "",
|
309
|
+
"attributes": [
|
310
|
+
{
|
311
|
+
"name": "href",
|
312
|
+
"description": "If defined, loads url on click",
|
313
|
+
"value": { "type": "string | undefined" }
|
314
|
+
}
|
315
|
+
],
|
316
|
+
"slots": [
|
317
|
+
{ "name": "", "description": "Label of the breadcrumb item" }
|
318
|
+
],
|
319
|
+
"events": [],
|
320
|
+
"js": {
|
321
|
+
"properties": [
|
322
|
+
{
|
323
|
+
"name": "href",
|
324
|
+
"description": "If defined, loads url on click",
|
325
|
+
"type": "string | undefined"
|
326
|
+
},
|
327
|
+
{
|
328
|
+
"name": "onClick",
|
329
|
+
"description": "If defined, custom onClick where the second return parameter enables custom routing. **Notice!** Only applicable if `href` is defined."
|
330
|
+
}
|
331
|
+
],
|
332
|
+
"events": []
|
333
|
+
}
|
334
|
+
},
|
163
335
|
{
|
164
336
|
"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>`",
|
337
|
+
"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
338
|
"doc-url": "",
|
167
339
|
"attributes": [
|
168
340
|
{
|
@@ -171,9 +343,9 @@
|
|
171
343
|
"value": { "type": "string", "default": "'Breadcrumb'" }
|
172
344
|
},
|
173
345
|
{
|
174
|
-
"name": "
|
175
|
-
"description": "
|
176
|
-
"value": { "type": "
|
346
|
+
"name": "small",
|
347
|
+
"description": "If true, renders a smaller version",
|
348
|
+
"value": { "type": "boolean", "default": "false" }
|
177
349
|
}
|
178
350
|
],
|
179
351
|
"slots": [
|
@@ -190,9 +362,9 @@
|
|
190
362
|
"type": "string"
|
191
363
|
},
|
192
364
|
{
|
193
|
-
"name": "
|
194
|
-
"description": "
|
195
|
-
"type": "
|
365
|
+
"name": "small",
|
366
|
+
"description": "If true, renders a smaller version",
|
367
|
+
"type": "boolean"
|
196
368
|
}
|
197
369
|
],
|
198
370
|
"events": [
|
@@ -204,30 +376,43 @@
|
|
204
376
|
}
|
205
377
|
},
|
206
378
|
{
|
207
|
-
"name": "skf-
|
208
|
-
"description": "The `<skf-
|
379
|
+
"name": "skf-loader",
|
380
|
+
"description": "The `<skf-loader>` component is a progress indicator that uses circular indicators for short, indeterminate activities\n---\n",
|
209
381
|
"doc-url": "",
|
210
382
|
"attributes": [
|
211
383
|
{
|
212
|
-
"name": "
|
213
|
-
"description": "
|
214
|
-
"value": { "type": "string
|
384
|
+
"name": "aria-label",
|
385
|
+
"description": "Defines the aria-label",
|
386
|
+
"value": { "type": "string", "default": "'Loading...'" }
|
387
|
+
},
|
388
|
+
{
|
389
|
+
"name": "invert",
|
390
|
+
"description": "If true, inverts the color (to be used on colored backgrounds)",
|
391
|
+
"value": { "type": "boolean", "default": "false" }
|
392
|
+
},
|
393
|
+
{
|
394
|
+
"name": "size",
|
395
|
+
"description": "Defines the size of the loader",
|
396
|
+
"value": { "type": "'md' | 'sm' | undefined", "default": "'md'" }
|
215
397
|
}
|
216
398
|
],
|
217
|
-
"slots": [
|
218
|
-
{ "name": "", "description": "Label of the breadcrumb item" }
|
219
|
-
],
|
220
399
|
"events": [],
|
221
400
|
"js": {
|
222
401
|
"properties": [
|
223
402
|
{
|
224
|
-
"name": "
|
225
|
-
"description": "
|
226
|
-
"type": "string
|
403
|
+
"name": "ariaLabel",
|
404
|
+
"description": "Defines the aria-label",
|
405
|
+
"type": "string"
|
227
406
|
},
|
228
407
|
{
|
229
|
-
"name": "
|
230
|
-
"description": "If
|
408
|
+
"name": "invert",
|
409
|
+
"description": "If true, inverts the color (to be used on colored backgrounds)",
|
410
|
+
"type": "boolean"
|
411
|
+
},
|
412
|
+
{
|
413
|
+
"name": "size",
|
414
|
+
"description": "Defines the size of the loader",
|
415
|
+
"type": "'md' | 'sm' | undefined"
|
231
416
|
}
|
232
417
|
],
|
233
418
|
"events": []
|
@@ -235,7 +420,7 @@
|
|
235
420
|
},
|
236
421
|
{
|
237
422
|
"name": "skf-button",
|
238
|
-
"description": "Component to be used in forms or for interactivity\n---\n\n\n### **Events:**\n - **click** - Fires when the button is clicked\n\n### **Methods:**\n - **click()** - Simulates a click on the button.\n\n### **Slots:**\n - _default_ - The Primary content",
|
423
|
+
"description": "Component to be used in forms or for interactivity\n\nSee [zeroheight](https://zeroheight.com/853e936c9/p/02493d-buttons) for design principles\n---\n\n\n### **Events:**\n - **click** - Fires when the button is clicked\n\n### **Methods:**\n - **click()** - Simulates a click on the button.\n\n### **Slots:**\n - _default_ - The Primary content",
|
239
424
|
"doc-url": "",
|
240
425
|
"attributes": [
|
241
426
|
{
|
@@ -251,22 +436,17 @@
|
|
251
436
|
{
|
252
437
|
"name": "icon",
|
253
438
|
"description": "If provided, renders an icon before or after the text",
|
254
|
-
"value": {
|
255
|
-
"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\""
|
256
|
-
}
|
439
|
+
"value": { "type": "Icon | undefined" }
|
257
440
|
},
|
258
441
|
{
|
259
|
-
"name": "
|
260
|
-
"description": "If true,
|
442
|
+
"name": "icon-only",
|
443
|
+
"description": "If true, button will take a square shape",
|
261
444
|
"value": { "type": "boolean", "default": "false" }
|
262
445
|
},
|
263
446
|
{
|
264
447
|
"name": "icon-position",
|
265
|
-
"description": "
|
266
|
-
"value": {
|
267
|
-
"type": "'left' | 'right' | undefined",
|
268
|
-
"default": "'left'"
|
269
|
-
}
|
448
|
+
"description": "Determines the positioning of the icon in relation to the text",
|
449
|
+
"value": { "type": "'left' | 'right'", "default": "'left'" }
|
270
450
|
},
|
271
451
|
{
|
272
452
|
"name": "loading",
|
@@ -280,21 +460,21 @@
|
|
280
460
|
{
|
281
461
|
"name": "size",
|
282
462
|
"description": "If provided, displays an alternative size",
|
283
|
-
"value": {
|
463
|
+
"value": {
|
464
|
+
"type": "'sm' | 'md' | 'lg' | undefined",
|
465
|
+
"default": "'md'"
|
466
|
+
}
|
284
467
|
},
|
285
468
|
{
|
286
469
|
"name": "type",
|
287
470
|
"description": "If provided, changes the button type",
|
288
|
-
"value": {
|
289
|
-
"type": "'button' | 'submit' | 'reset'",
|
290
|
-
"default": "'button'"
|
291
|
-
}
|
471
|
+
"value": { "type": "SkfButtonType", "default": "'button'" }
|
292
472
|
},
|
293
473
|
{
|
294
474
|
"name": "variant",
|
295
475
|
"description": "If provided, alters the appearance",
|
296
476
|
"value": {
|
297
|
-
"type": "'primary' | 'secondary'",
|
477
|
+
"type": "'primary' | 'secondary' | 'tertiary'",
|
298
478
|
"default": "'primary'"
|
299
479
|
}
|
300
480
|
}
|
@@ -303,6 +483,7 @@
|
|
303
483
|
"events": [
|
304
484
|
{
|
305
485
|
"name": "click",
|
486
|
+
"type": "CustomEvent",
|
306
487
|
"description": "Fires when the button is clicked"
|
307
488
|
}
|
308
489
|
],
|
@@ -321,17 +502,17 @@
|
|
321
502
|
{
|
322
503
|
"name": "icon",
|
323
504
|
"description": "If provided, renders an icon before or after the text",
|
324
|
-
"type": "
|
505
|
+
"type": "Icon | undefined"
|
325
506
|
},
|
326
507
|
{
|
327
508
|
"name": "iconOnly",
|
328
|
-
"description": "If true,
|
509
|
+
"description": "If true, button will take a square shape",
|
329
510
|
"type": "boolean"
|
330
511
|
},
|
331
512
|
{
|
332
513
|
"name": "iconPosition",
|
333
|
-
"description": "
|
334
|
-
"type": "'left' | 'right'
|
514
|
+
"description": "Determines the positioning of the icon in relation to the text",
|
515
|
+
"type": "'left' | 'right'"
|
335
516
|
},
|
336
517
|
{
|
337
518
|
"name": "loading",
|
@@ -342,22 +523,23 @@
|
|
342
523
|
{
|
343
524
|
"name": "size",
|
344
525
|
"description": "If provided, displays an alternative size",
|
345
|
-
"type": "'sm' | 'md' | 'lg'"
|
526
|
+
"type": "'sm' | 'md' | 'lg' | undefined"
|
346
527
|
},
|
347
528
|
{
|
348
529
|
"name": "type",
|
349
530
|
"description": "If provided, changes the button type",
|
350
|
-
"type": "
|
531
|
+
"type": "SkfButtonType"
|
351
532
|
},
|
352
533
|
{
|
353
534
|
"name": "variant",
|
354
535
|
"description": "If provided, alters the appearance",
|
355
|
-
"type": "'primary' | 'secondary'"
|
536
|
+
"type": "'primary' | 'secondary' | 'tertiary'"
|
356
537
|
}
|
357
538
|
],
|
358
539
|
"events": [
|
359
540
|
{
|
360
541
|
"name": "click",
|
542
|
+
"type": "CustomEvent",
|
361
543
|
"description": "Fires when the button is clicked"
|
362
544
|
}
|
363
545
|
]
|
@@ -365,7 +547,7 @@
|
|
365
547
|
},
|
366
548
|
{
|
367
549
|
"name": "skf-card",
|
368
|
-
"description": "The `<skf-card>` can be used to group related subjects in a container\n---\n\n\n### **Slots:**\n - _default_ - The card's main content",
|
550
|
+
"description": "The `<skf-card>` can be used to group related subjects in a container\n\nSee [zeroheight](https://zeroheight.com/853e936c9/p/021eed-card) for design principles\n---\n\n\n### **Slots:**\n - _default_ - The card's main content\n\n### **CSS Properties:**\n - **--mod-card-bg-color** - Ability to set a custom background color _(default: undefined)_",
|
369
551
|
"doc-url": "",
|
370
552
|
"attributes": [
|
371
553
|
{
|
@@ -409,38 +591,38 @@
|
|
409
591
|
},
|
410
592
|
{
|
411
593
|
"name": "skf-checkbox",
|
412
|
-
"description": "The `<skf-checkbox>` component is used to create a checkbox input\n---\n\n\n### **Events:**\n - **change** -
|
594
|
+
"description": "The `<skf-checkbox>` component is used to create a checkbox input\n---\n\n\n### **Events:**\n - **change** - When the value of the input changes\n\n### **Slots:**\n - _default_ - The Radios label. Alternatively, you can use the `label` attribute.",
|
413
595
|
"doc-url": "",
|
414
596
|
"attributes": [
|
415
597
|
{
|
416
598
|
"name": "disabled",
|
417
599
|
"description": "If true, sets disabled state",
|
418
|
-
"value": { "type": "boolean" }
|
600
|
+
"value": { "type": "boolean", "default": "false" }
|
419
601
|
},
|
420
602
|
{
|
421
603
|
"name": "required",
|
422
604
|
"description": "If true, value is required or must be checked for the form to be submittable",
|
423
|
-
"value": { "type": "boolean" }
|
605
|
+
"value": { "type": "boolean", "default": "false" }
|
424
606
|
},
|
425
607
|
{
|
426
608
|
"name": "debug",
|
427
609
|
"description": "If defined, outputs helping hints in console",
|
428
|
-
"value": { "type": "boolean
|
610
|
+
"value": { "type": "boolean", "default": "false" }
|
429
611
|
},
|
430
612
|
{
|
431
613
|
"name": "checked",
|
432
614
|
"description": "If true, outputs helping hints in console",
|
433
|
-
"value": { "type": "
|
615
|
+
"value": { "type": "string" }
|
434
616
|
},
|
435
617
|
{
|
436
618
|
"name": "custom-invalid",
|
437
619
|
"description": "If true, forces component to invalid state until removed",
|
438
|
-
"value": { "type": "boolean
|
620
|
+
"value": { "type": "boolean", "default": "false" }
|
439
621
|
},
|
440
622
|
{
|
441
623
|
"name": "indeterminate",
|
442
624
|
"description": "If true and the checkbox is unchecked, the checkbox will appear indeterminate",
|
443
|
-
"value": { "type": "boolean
|
625
|
+
"value": { "type": "boolean", "default": "false" }
|
444
626
|
},
|
445
627
|
{
|
446
628
|
"name": "label",
|
@@ -460,14 +642,12 @@
|
|
460
642
|
{
|
461
643
|
"name": "severity",
|
462
644
|
"description": "If defined, styles checkbox using provided severity",
|
463
|
-
"value": {
|
464
|
-
"type": "\"alert\" | \"success\" | \"info\" | \"warning\""
|
465
|
-
}
|
645
|
+
"value": { "type": "FormFieldSeverity | undefined" }
|
466
646
|
},
|
467
647
|
{
|
468
648
|
"name": "show-valid",
|
469
649
|
"description": "If true, displays valid state after interaction",
|
470
|
-
"value": { "type": "boolean
|
650
|
+
"value": { "type": "boolean", "default": "false" }
|
471
651
|
},
|
472
652
|
{
|
473
653
|
"name": "size",
|
@@ -489,7 +669,8 @@
|
|
489
669
|
"events": [
|
490
670
|
{
|
491
671
|
"name": "change",
|
492
|
-
"
|
672
|
+
"type": "Event",
|
673
|
+
"description": "When the value of the input changes"
|
493
674
|
}
|
494
675
|
],
|
495
676
|
"js": {
|
@@ -497,22 +678,21 @@
|
|
497
678
|
{
|
498
679
|
"name": "debug",
|
499
680
|
"description": "If defined, outputs helping hints in console",
|
500
|
-
"type": "boolean
|
681
|
+
"type": "boolean"
|
501
682
|
},
|
502
683
|
{
|
503
684
|
"name": "checked",
|
504
|
-
"description": "If true, outputs helping hints in console"
|
505
|
-
"type": "boolean | undefined"
|
685
|
+
"description": "If true, outputs helping hints in console"
|
506
686
|
},
|
507
687
|
{
|
508
688
|
"name": "customInvalid",
|
509
689
|
"description": "If true, forces component to invalid state until removed",
|
510
|
-
"type": "boolean
|
690
|
+
"type": "boolean"
|
511
691
|
},
|
512
692
|
{
|
513
693
|
"name": "indeterminate",
|
514
694
|
"description": "If true and the checkbox is unchecked, the checkbox will appear indeterminate",
|
515
|
-
"type": "boolean
|
695
|
+
"type": "boolean"
|
516
696
|
},
|
517
697
|
{
|
518
698
|
"name": "label",
|
@@ -532,12 +712,12 @@
|
|
532
712
|
{
|
533
713
|
"name": "severity",
|
534
714
|
"description": "If defined, styles checkbox using provided severity",
|
535
|
-
"type": "
|
715
|
+
"type": "FormFieldSeverity | undefined"
|
536
716
|
},
|
537
717
|
{
|
538
718
|
"name": "showValid",
|
539
719
|
"description": "If true, displays valid state after interaction",
|
540
|
-
"type": "boolean
|
720
|
+
"type": "boolean"
|
541
721
|
},
|
542
722
|
{
|
543
723
|
"name": "size",
|
@@ -553,100 +733,304 @@
|
|
553
733
|
"events": [
|
554
734
|
{
|
555
735
|
"name": "change",
|
556
|
-
"
|
736
|
+
"type": "Event",
|
737
|
+
"description": "When the value of the input changes"
|
557
738
|
}
|
558
739
|
]
|
559
740
|
}
|
560
741
|
},
|
561
742
|
{
|
562
|
-
"name": "skf-
|
563
|
-
"description": "
|
743
|
+
"name": "skf-datepicker-calendar",
|
744
|
+
"description": "\n---\n",
|
564
745
|
"doc-url": "",
|
565
746
|
"attributes": [
|
747
|
+
{ "name": "eventid", "value": { "type": "string" } },
|
566
748
|
{
|
567
|
-
"name": "
|
568
|
-
"
|
569
|
-
"value": { "type": "boolean", "default": "false" }
|
749
|
+
"name": "firstDayOfWeek",
|
750
|
+
"value": { "type": "number", "default": "0" }
|
570
751
|
},
|
571
752
|
{
|
572
|
-
"name": "
|
573
|
-
"description": "
|
753
|
+
"name": "invalid-dates",
|
754
|
+
"description": "A comma-separated list of dates (yyyy-mm-dd format) that are not selectable.",
|
755
|
+
"value": { "type": "string | undefined" }
|
756
|
+
},
|
757
|
+
{
|
758
|
+
"name": "locale",
|
759
|
+
"value": { "type": "string", "default": "'en-CA'" }
|
760
|
+
},
|
761
|
+
{
|
762
|
+
"name": "range",
|
574
763
|
"value": { "type": "boolean", "default": "false" }
|
575
764
|
},
|
576
765
|
{
|
577
|
-
"name": "
|
578
|
-
"description": "
|
766
|
+
"name": "selectable-from",
|
767
|
+
"description": "Earliest selectable date. (yyyy-mm-dd format)",
|
579
768
|
"value": { "type": "string | undefined" }
|
580
769
|
},
|
581
770
|
{
|
582
|
-
"name": "
|
583
|
-
"description": "
|
584
|
-
"value": { "type": "
|
771
|
+
"name": "selectable-to",
|
772
|
+
"description": "Latest selectable date. (yyyy-mm-dd format)",
|
773
|
+
"value": { "type": "string | undefined" }
|
585
774
|
},
|
586
775
|
{
|
587
|
-
"name": "
|
588
|
-
"
|
589
|
-
"value": { "type": "boolean", "default": "false" }
|
776
|
+
"name": "selected-date",
|
777
|
+
"value": { "type": "Date | undefined", "default": "undefined" }
|
590
778
|
},
|
591
779
|
{
|
592
|
-
"name": "
|
593
|
-
"
|
594
|
-
|
780
|
+
"name": "selectedDateRange",
|
781
|
+
"value": {
|
782
|
+
"type": "{ start: Date | null; end: Date | null }",
|
783
|
+
"default": "{ start: null, end: null, }"
|
784
|
+
}
|
595
785
|
}
|
596
786
|
],
|
597
|
-
"
|
598
|
-
"
|
787
|
+
"events": [],
|
788
|
+
"js": {
|
789
|
+
"properties": [
|
790
|
+
{ "name": "eventid", "type": "string" },
|
791
|
+
{ "name": "firstDayOfWeek", "type": "number" },
|
792
|
+
{
|
793
|
+
"name": "invalidDates",
|
794
|
+
"description": "A comma-separated list of dates (yyyy-mm-dd format) that are not selectable.",
|
795
|
+
"type": "string | undefined"
|
796
|
+
},
|
797
|
+
{ "name": "locale", "type": "string" },
|
798
|
+
{ "name": "range", "type": "boolean" },
|
799
|
+
{
|
800
|
+
"name": "selectableFrom",
|
801
|
+
"description": "Earliest selectable date. (yyyy-mm-dd format)",
|
802
|
+
"type": "string | undefined"
|
803
|
+
},
|
804
|
+
{
|
805
|
+
"name": "selectableTo",
|
806
|
+
"description": "Latest selectable date. (yyyy-mm-dd format)",
|
807
|
+
"type": "string | undefined"
|
808
|
+
},
|
809
|
+
{ "name": "selectedDate", "type": "Date | undefined" },
|
810
|
+
{
|
811
|
+
"name": "selectedDateRange",
|
812
|
+
"type": "{ start: Date | null; end: Date | null }"
|
813
|
+
},
|
814
|
+
{ "name": "_listenToKeyboard" },
|
815
|
+
{ "name": "_handleKeyDown" },
|
816
|
+
{ "name": "dateSelectable" }
|
817
|
+
],
|
818
|
+
"events": []
|
819
|
+
}
|
820
|
+
},
|
821
|
+
{
|
822
|
+
"name": "skf-datepicker",
|
823
|
+
"description": "\n---\n\n\n### **Methods:**\n - **clear()** - Clears the input field",
|
824
|
+
"doc-url": "",
|
825
|
+
"attributes": [
|
599
826
|
{
|
600
|
-
"name": "
|
601
|
-
"
|
602
|
-
"
|
827
|
+
"name": "custom-invalid",
|
828
|
+
"description": "If defined, forces component to invalid state until removed. Its value is used as hint text.",
|
829
|
+
"value": { "type": "string" }
|
830
|
+
},
|
831
|
+
{
|
832
|
+
"name": "id",
|
833
|
+
"value": { "type": "string", "default": "'skf-datepicker-input'" }
|
834
|
+
},
|
835
|
+
{
|
836
|
+
"name": "label",
|
837
|
+
"description": "If defined, sets the input's label. Alternatively, you can use the `label` attribute.",
|
838
|
+
"value": { "type": "string | undefined" }
|
839
|
+
},
|
840
|
+
{
|
841
|
+
"name": "hide-label",
|
842
|
+
"description": "If true, hides the label visually",
|
843
|
+
"value": { "type": "boolean | undefined" }
|
844
|
+
},
|
845
|
+
{
|
846
|
+
"name": "hint",
|
847
|
+
"description": "If defined, displays informational text below the field",
|
848
|
+
"value": { "type": "string | undefined" }
|
849
|
+
},
|
850
|
+
{
|
851
|
+
"name": "invalid-dates",
|
852
|
+
"description": "A comma-separated list of dates (yyyy-mm-dd format) that are not selectable.",
|
853
|
+
"value": { "type": "string | undefined" }
|
854
|
+
},
|
855
|
+
{
|
856
|
+
"name": "name",
|
857
|
+
"description": "If defined, adds name to the input-element",
|
858
|
+
"value": { "type": "string | undefined" }
|
859
|
+
},
|
860
|
+
{
|
861
|
+
"name": "placeholder",
|
862
|
+
"value": { "type": "string", "default": "'YYYY-MM-DD'" }
|
863
|
+
},
|
864
|
+
{
|
865
|
+
"name": "range",
|
866
|
+
"value": { "type": "boolean", "default": "false" }
|
867
|
+
},
|
868
|
+
{
|
869
|
+
"name": "readonly",
|
870
|
+
"description": "If true, makes the element not mutable, meaning the user can not edit the control",
|
871
|
+
"value": { "type": "boolean | undefined" }
|
872
|
+
},
|
873
|
+
{
|
874
|
+
"name": "required-label",
|
875
|
+
"description": "If defined, renders an alternative A11y text for the asterisk",
|
876
|
+
"value": { "type": "string | undefined" }
|
877
|
+
},
|
878
|
+
{
|
879
|
+
"name": "selectable-from",
|
880
|
+
"description": "Earliest selectable date. (yyyy-mm-dd format)",
|
881
|
+
"value": { "type": "string | undefined" }
|
882
|
+
},
|
883
|
+
{
|
884
|
+
"name": "selectable-to",
|
885
|
+
"description": "Latest selectable date. (yyyy-mm-dd format)",
|
886
|
+
"value": { "type": "string | undefined" }
|
887
|
+
},
|
888
|
+
{
|
889
|
+
"name": "severity",
|
890
|
+
"description": "If defined, displays provided severity state",
|
891
|
+
"value": {
|
892
|
+
"type": "\"alert\" | \"success\" | \"info\" | \"warning\""
|
893
|
+
}
|
894
|
+
},
|
895
|
+
{
|
896
|
+
"name": "size",
|
897
|
+
"description": "Size of the input",
|
898
|
+
"value": { "type": "'sm' | 'md'", "default": "'md'" }
|
899
|
+
},
|
900
|
+
{
|
901
|
+
"name": "validate-on",
|
902
|
+
"description": "Sets validation start",
|
903
|
+
"value": {
|
904
|
+
"type": "'input' | 'change' | 'submit'",
|
905
|
+
"default": "'change'"
|
906
|
+
}
|
907
|
+
},
|
908
|
+
{
|
909
|
+
"name": "value",
|
910
|
+
"description": "The current value of the input field",
|
911
|
+
"value": { "type": "string | undefined" }
|
603
912
|
}
|
604
913
|
],
|
914
|
+
"events": [],
|
605
915
|
"js": {
|
606
916
|
"properties": [
|
607
917
|
{
|
608
|
-
"name": "
|
609
|
-
"
|
610
|
-
"type": "boolean"
|
918
|
+
"name": "focusTimeoutId",
|
919
|
+
"type": "ReturnType<typeof setTimeout> | undefined"
|
611
920
|
},
|
612
921
|
{
|
613
|
-
"name": "
|
614
|
-
"description": "If
|
615
|
-
"type": "boolean"
|
922
|
+
"name": "customInvalid",
|
923
|
+
"description": "If defined, forces component to invalid state until removed. Its value is used as hint text."
|
616
924
|
},
|
925
|
+
{ "name": "id", "type": "string" },
|
617
926
|
{
|
618
|
-
"name": "
|
619
|
-
"description": "
|
927
|
+
"name": "label",
|
928
|
+
"description": "If defined, sets the input's label. Alternatively, you can use the `label` attribute.",
|
620
929
|
"type": "string | undefined"
|
621
930
|
},
|
622
931
|
{
|
623
|
-
"name": "
|
624
|
-
"description": "
|
625
|
-
"type": "
|
932
|
+
"name": "hideLabel",
|
933
|
+
"description": "If true, hides the label visually",
|
934
|
+
"type": "boolean | undefined"
|
626
935
|
},
|
627
936
|
{
|
628
|
-
"name": "
|
629
|
-
"description": "If
|
630
|
-
"type": "
|
937
|
+
"name": "hint",
|
938
|
+
"description": "If defined, displays informational text below the field",
|
939
|
+
"type": "string | undefined"
|
631
940
|
},
|
632
941
|
{
|
633
|
-
"name": "
|
634
|
-
"description": "
|
635
|
-
"type": "
|
942
|
+
"name": "invalidDates",
|
943
|
+
"description": "A comma-separated list of dates (yyyy-mm-dd format) that are not selectable.",
|
944
|
+
"type": "string | undefined"
|
945
|
+
},
|
946
|
+
{
|
947
|
+
"name": "name",
|
948
|
+
"description": "If defined, adds name to the input-element",
|
949
|
+
"type": "string | undefined"
|
950
|
+
},
|
951
|
+
{ "name": "placeholder", "type": "string" },
|
952
|
+
{ "name": "range", "type": "boolean" },
|
953
|
+
{
|
954
|
+
"name": "readonly",
|
955
|
+
"description": "If true, makes the element not mutable, meaning the user can not edit the control",
|
956
|
+
"type": "boolean | undefined"
|
957
|
+
},
|
958
|
+
{
|
959
|
+
"name": "requiredLabel",
|
960
|
+
"description": "If defined, renders an alternative A11y text for the asterisk",
|
961
|
+
"type": "string | undefined"
|
962
|
+
},
|
963
|
+
{
|
964
|
+
"name": "selectableFrom",
|
965
|
+
"description": "Earliest selectable date. (yyyy-mm-dd format)",
|
966
|
+
"type": "string | undefined"
|
967
|
+
},
|
968
|
+
{
|
969
|
+
"name": "selectableTo",
|
970
|
+
"description": "Latest selectable date. (yyyy-mm-dd format)",
|
971
|
+
"type": "string | undefined"
|
972
|
+
},
|
973
|
+
{
|
974
|
+
"name": "severity",
|
975
|
+
"description": "If defined, displays provided severity state",
|
976
|
+
"type": "\"alert\" | \"success\" | \"info\" | \"warning\""
|
977
|
+
},
|
978
|
+
{
|
979
|
+
"name": "size",
|
980
|
+
"description": "Size of the input",
|
981
|
+
"type": "'sm' | 'md'"
|
982
|
+
},
|
983
|
+
{
|
984
|
+
"name": "validateOn",
|
985
|
+
"description": "Sets validation start",
|
986
|
+
"type": "'input' | 'change' | 'submit'"
|
987
|
+
},
|
988
|
+
{
|
989
|
+
"name": "value",
|
990
|
+
"description": "The current value of the input field",
|
991
|
+
"type": "string | undefined"
|
636
992
|
}
|
637
993
|
],
|
638
|
-
"events": [
|
994
|
+
"events": []
|
995
|
+
}
|
996
|
+
},
|
997
|
+
{
|
998
|
+
"name": "skf-heading",
|
999
|
+
"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",
|
1000
|
+
"doc-url": "",
|
1001
|
+
"attributes": [
|
1002
|
+
{
|
1003
|
+
"name": "as",
|
1004
|
+
"description": "Controls which heading element will be rendered. Should not be used to affect appearance",
|
1005
|
+
"value": { "type": "HeadingType", "default": "'h2'" }
|
1006
|
+
},
|
1007
|
+
{
|
1008
|
+
"name": "styled-as",
|
1009
|
+
"description": "If defined, changes the appearance of the heading",
|
1010
|
+
"value": { "type": "HeadingType | undefined" }
|
1011
|
+
}
|
1012
|
+
],
|
1013
|
+
"slots": [{ "name": "", "description": "The headings content" }],
|
1014
|
+
"events": [],
|
1015
|
+
"js": {
|
1016
|
+
"properties": [
|
639
1017
|
{
|
640
|
-
"name": "
|
641
|
-
"
|
642
|
-
"
|
1018
|
+
"name": "as",
|
1019
|
+
"description": "Controls which heading element will be rendered. Should not be used to affect appearance",
|
1020
|
+
"type": "HeadingType"
|
1021
|
+
},
|
1022
|
+
{
|
1023
|
+
"name": "styledAs",
|
1024
|
+
"description": "If defined, changes the appearance of the heading",
|
1025
|
+
"type": "HeadingType | undefined"
|
643
1026
|
}
|
644
|
-
]
|
1027
|
+
],
|
1028
|
+
"events": []
|
645
1029
|
}
|
646
1030
|
},
|
647
1031
|
{
|
648
1032
|
"name": "skf-dialog",
|
649
|
-
"description": "The `<skf-dialog>` is a component that open up a dialog with the content provided\n---\n\n\n### **Events:**\n - **skf-dialog-
|
1033
|
+
"description": "The `<skf-dialog>` is a component that open up a dialog of type modal with the content provided. (MDN refrains from opening the dialog using the `open` attribute, however skf-dialog does not have that limitation)\n---\n\n\n### **Events:**\n - **skf-dialog-opened** - Fires when the dialog is opened (after transitioned in)\n- **skf-dialog-closing** - Fires when the dialog is closing (before transitioned out)\n- **skf-dialog-closed** - Fires when the dialog is closed (after transitioned out)\n\n### **Methods:**\n - **showModal()** - Method that opens the dialog in modal state\n- **close()** - Method that closes the dialog\n\n### **Slots:**\n - _default_ - The dialog component's content\n- **footer** - The dialog component's buttons goes here\n\n### **CSS Properties:**\n - **--skf-dialog-height** - A custom height for the Dialog. Pass valid CSS **block-size** values _(default: undefined)_\n- **--skf-dialog-width** - A custom width for the Dialog Pass valid CSS **inline-size** values _(default: undefined)_",
|
650
1034
|
"doc-url": "",
|
651
1035
|
"attributes": [
|
652
1036
|
{
|
@@ -676,7 +1060,8 @@
|
|
676
1060
|
},
|
677
1061
|
{
|
678
1062
|
"name": "open",
|
679
|
-
"
|
1063
|
+
"description": "If true, indicates that the dialog is active and is available for interaction",
|
1064
|
+
"value": { "type": "boolean", "default": "false" }
|
680
1065
|
}
|
681
1066
|
],
|
682
1067
|
"slots": [
|
@@ -688,15 +1073,18 @@
|
|
688
1073
|
],
|
689
1074
|
"events": [
|
690
1075
|
{
|
691
|
-
"name": "skf-dialog-
|
1076
|
+
"name": "skf-dialog-opened",
|
1077
|
+
"type": "CustomEvent",
|
692
1078
|
"description": "Fires when the dialog is opened (after transitioned in)"
|
693
1079
|
},
|
694
1080
|
{
|
695
|
-
"name": "skf-dialog-
|
696
|
-
"
|
1081
|
+
"name": "skf-dialog-closing",
|
1082
|
+
"type": "CustomEvent",
|
1083
|
+
"description": "Fires when the dialog is closing (before transitioned out)"
|
697
1084
|
},
|
698
1085
|
{
|
699
|
-
"name": "
|
1086
|
+
"name": "skf-dialog-closed",
|
1087
|
+
"type": "CustomEvent",
|
700
1088
|
"description": "Fires when the dialog is closed (after transitioned out)"
|
701
1089
|
}
|
702
1090
|
],
|
@@ -727,32 +1115,26 @@
|
|
727
1115
|
"description": "If defined, removes the inner padding",
|
728
1116
|
"type": "boolean"
|
729
1117
|
},
|
730
|
-
{ "name": "open", "type": "boolean | null | undefined" },
|
731
1118
|
{
|
732
|
-
"name": "
|
733
|
-
"description": "If
|
734
|
-
"type": "
|
735
|
-
},
|
736
|
-
{
|
737
|
-
"name": "showModal",
|
738
|
-
"description": "Method that opens the dialog in modal state"
|
739
|
-
},
|
740
|
-
{
|
741
|
-
"name": "close",
|
742
|
-
"description": "Method that closes the dialog"
|
1119
|
+
"name": "open",
|
1120
|
+
"description": "If true, indicates that the dialog is active and is available for interaction",
|
1121
|
+
"type": "boolean"
|
743
1122
|
}
|
744
1123
|
],
|
745
1124
|
"events": [
|
746
1125
|
{
|
747
|
-
"name": "skf-dialog-
|
1126
|
+
"name": "skf-dialog-opened",
|
1127
|
+
"type": "CustomEvent",
|
748
1128
|
"description": "Fires when the dialog is opened (after transitioned in)"
|
749
1129
|
},
|
750
1130
|
{
|
751
|
-
"name": "skf-dialog-
|
752
|
-
"
|
1131
|
+
"name": "skf-dialog-closing",
|
1132
|
+
"type": "CustomEvent",
|
1133
|
+
"description": "Fires when the dialog is closing (before transitioned out)"
|
753
1134
|
},
|
754
1135
|
{
|
755
|
-
"name": "
|
1136
|
+
"name": "skf-dialog-closed",
|
1137
|
+
"type": "CustomEvent",
|
756
1138
|
"description": "Fires when the dialog is closed (after transitioned out)"
|
757
1139
|
}
|
758
1140
|
]
|
@@ -766,10 +1148,7 @@
|
|
766
1148
|
{
|
767
1149
|
"name": "color",
|
768
1150
|
"description": "Defines the Divider color",
|
769
|
-
"value": {
|
770
|
-
"type": "\"emphasised\" | \"primary\" | \"secondary\" | \"tertiary\" | \"inverse\"",
|
771
|
-
"default": "'primary'"
|
772
|
-
}
|
1151
|
+
"value": { "type": "SkfDividerColor", "default": "'primary'" }
|
773
1152
|
},
|
774
1153
|
{
|
775
1154
|
"name": "decorative",
|
@@ -788,7 +1167,7 @@
|
|
788
1167
|
{
|
789
1168
|
"name": "color",
|
790
1169
|
"description": "Defines the Divider color",
|
791
|
-
"type": "
|
1170
|
+
"type": "SkfDividerColor"
|
792
1171
|
},
|
793
1172
|
{
|
794
1173
|
"name": "decorative",
|
@@ -805,98 +1184,367 @@
|
|
805
1184
|
}
|
806
1185
|
},
|
807
1186
|
{
|
808
|
-
"name": "skf-
|
809
|
-
"description": "The `<
|
1187
|
+
"name": "skf-drawer",
|
1188
|
+
"description": "The `<skf-drawer>` is a modal component that displays content and toggle by sliding from left/right viewport edge\n---\n\n\n### **Events:**\n - **skf-drawer-opened** - Fires when the drawer is opened (after transitioned in)\n- **skf-drawer-closing** - Fires when the drawer is closing (before transitioned out)\n- **skf-drawer-closed** - Fires when the drawer is closed (after transitioned out)\n\n### **Slots:**\n - _default_ - The Drawer's main content",
|
1189
|
+
"doc-url": "",
|
1190
|
+
"attributes": [
|
1191
|
+
{
|
1192
|
+
"name": "close-button-aria-label",
|
1193
|
+
"description": "If defined, sets the aria-label for the close button",
|
1194
|
+
"value": { "type": "string", "default": "'Close dialog'" }
|
1195
|
+
},
|
1196
|
+
{
|
1197
|
+
"name": "heading",
|
1198
|
+
"description": "Heading for the Drawer",
|
1199
|
+
"value": { "type": "string | undefined" }
|
1200
|
+
},
|
1201
|
+
{
|
1202
|
+
"name": "size",
|
1203
|
+
"description": "Sets the max-width",
|
1204
|
+
"value": { "type": "'sm' | 'md' | 'lg'", "default": "'md'" }
|
1205
|
+
},
|
1206
|
+
{
|
1207
|
+
"name": "open",
|
1208
|
+
"description": "If true, Drawer is open",
|
1209
|
+
"value": { "type": "boolean", "default": "false" }
|
1210
|
+
},
|
1211
|
+
{
|
1212
|
+
"name": "placement",
|
1213
|
+
"description": "Placement of the Drawer",
|
1214
|
+
"value": { "type": "'left' | 'right'", "default": "'right'" }
|
1215
|
+
}
|
1216
|
+
],
|
1217
|
+
"slots": [{ "name": "", "description": "The Drawer's main content" }],
|
1218
|
+
"events": [
|
1219
|
+
{
|
1220
|
+
"name": "skf-drawer-opened",
|
1221
|
+
"type": "CustomEvent",
|
1222
|
+
"description": "Fires when the drawer is opened (after transitioned in)"
|
1223
|
+
},
|
1224
|
+
{
|
1225
|
+
"name": "skf-drawer-closing",
|
1226
|
+
"type": "CustomEvent",
|
1227
|
+
"description": "Fires when the drawer is closing (before transitioned out)"
|
1228
|
+
},
|
1229
|
+
{
|
1230
|
+
"name": "skf-drawer-closed",
|
1231
|
+
"type": "CustomEvent",
|
1232
|
+
"description": "Fires when the drawer is closed (after transitioned out)"
|
1233
|
+
}
|
1234
|
+
],
|
1235
|
+
"js": {
|
1236
|
+
"properties": [
|
1237
|
+
{
|
1238
|
+
"name": "closeButtonAriaLabel",
|
1239
|
+
"description": "If defined, sets the aria-label for the close button",
|
1240
|
+
"type": "string"
|
1241
|
+
},
|
1242
|
+
{
|
1243
|
+
"name": "heading",
|
1244
|
+
"description": "Heading for the Drawer",
|
1245
|
+
"type": "string | undefined"
|
1246
|
+
},
|
1247
|
+
{
|
1248
|
+
"name": "size",
|
1249
|
+
"description": "Sets the max-width",
|
1250
|
+
"type": "'sm' | 'md' | 'lg'"
|
1251
|
+
},
|
1252
|
+
{
|
1253
|
+
"name": "open",
|
1254
|
+
"description": "If true, Drawer is open",
|
1255
|
+
"type": "boolean"
|
1256
|
+
},
|
1257
|
+
{
|
1258
|
+
"name": "placement",
|
1259
|
+
"description": "Placement of the Drawer",
|
1260
|
+
"type": "'left' | 'right'"
|
1261
|
+
}
|
1262
|
+
],
|
1263
|
+
"events": [
|
1264
|
+
{
|
1265
|
+
"name": "skf-drawer-opened",
|
1266
|
+
"type": "CustomEvent",
|
1267
|
+
"description": "Fires when the drawer is opened (after transitioned in)"
|
1268
|
+
},
|
1269
|
+
{
|
1270
|
+
"name": "skf-drawer-closing",
|
1271
|
+
"type": "CustomEvent",
|
1272
|
+
"description": "Fires when the drawer is closing (before transitioned out)"
|
1273
|
+
},
|
1274
|
+
{
|
1275
|
+
"name": "skf-drawer-closed",
|
1276
|
+
"type": "CustomEvent",
|
1277
|
+
"description": "Fires when the drawer is closed (after transitioned out)"
|
1278
|
+
}
|
1279
|
+
]
|
1280
|
+
}
|
1281
|
+
},
|
1282
|
+
{
|
1283
|
+
"name": "skf-logo",
|
1284
|
+
"description": "The `<skf-logo>` component is used to display the SKF logo.\n---\n\n\n### **CSS Properties:**\n - **--mod-logo-height** - The height of the logo _(default: undefined)_",
|
1285
|
+
"doc-url": "",
|
1286
|
+
"attributes": [
|
1287
|
+
{
|
1288
|
+
"name": "title",
|
1289
|
+
"description": "Defines the title of the logo",
|
1290
|
+
"value": { "type": "string", "default": "'SKF logotype'" }
|
1291
|
+
},
|
1292
|
+
{
|
1293
|
+
"name": "color",
|
1294
|
+
"description": "Defines the color of the logo",
|
1295
|
+
"value": { "type": "SkfLogoColor", "default": "'primary'" }
|
1296
|
+
}
|
1297
|
+
],
|
1298
|
+
"events": [],
|
1299
|
+
"js": {
|
1300
|
+
"properties": [
|
1301
|
+
{
|
1302
|
+
"name": "title",
|
1303
|
+
"description": "Defines the title of the logo",
|
1304
|
+
"type": "string"
|
1305
|
+
},
|
1306
|
+
{
|
1307
|
+
"name": "color",
|
1308
|
+
"description": "Defines the color of the logo",
|
1309
|
+
"type": "SkfLogoColor"
|
1310
|
+
}
|
1311
|
+
],
|
1312
|
+
"events": []
|
1313
|
+
}
|
1314
|
+
},
|
1315
|
+
{
|
1316
|
+
"name": "skf-link",
|
1317
|
+
"description": "The `<skf-link>` can be used as either a regular link or a semantic button. The button variant is\nintended to be used for triggering javascript functions, not handling forms.\n---\n\n\n### **Events:**\n - **skf-link-click** - Fired when the link is clicked\n\n### **Slots:**\n - _default_ - The links' main content",
|
1318
|
+
"doc-url": "",
|
1319
|
+
"attributes": [
|
1320
|
+
{
|
1321
|
+
"name": "as",
|
1322
|
+
"description": "Defines the semantic element to render",
|
1323
|
+
"value": { "type": "'button' | 'link'", "default": "'link'" }
|
1324
|
+
},
|
1325
|
+
{
|
1326
|
+
"name": "color",
|
1327
|
+
"description": "Defines the text-color",
|
1328
|
+
"value": { "type": "Color", "default": "'primary'" }
|
1329
|
+
},
|
1330
|
+
{
|
1331
|
+
"name": "disabled",
|
1332
|
+
"description": "If true, disables the link",
|
1333
|
+
"value": { "type": "boolean", "default": "false" }
|
1334
|
+
},
|
1335
|
+
{
|
1336
|
+
"name": "download",
|
1337
|
+
"description": "If defined, downloads the url",
|
1338
|
+
"value": { "type": "boolean", "default": "false" }
|
1339
|
+
},
|
1340
|
+
{
|
1341
|
+
"name": "href",
|
1342
|
+
"description": "If defined, loads url on click",
|
1343
|
+
"value": { "type": "string | undefined" }
|
1344
|
+
},
|
1345
|
+
{
|
1346
|
+
"name": "icon",
|
1347
|
+
"description": "If defined, renders an icon before or after the text",
|
1348
|
+
"value": { "type": "Icon | undefined" }
|
1349
|
+
},
|
1350
|
+
{
|
1351
|
+
"name": "icon-right",
|
1352
|
+
"description": "If true, the icon is placed to the right in relation to the text",
|
1353
|
+
"value": { "type": "boolean", "default": "false" }
|
1354
|
+
},
|
1355
|
+
{
|
1356
|
+
"name": "rel",
|
1357
|
+
"description": "If defined, describes the relationship between a linked resource and the current document",
|
1358
|
+
"value": { "type": "string | undefined" }
|
1359
|
+
},
|
1360
|
+
{
|
1361
|
+
"name": "route",
|
1362
|
+
"description": "If defined, used on conjunction with onClick property. **Notice!** Only applicable to as=button.",
|
1363
|
+
"value": { "type": "string | undefined" }
|
1364
|
+
},
|
1365
|
+
{
|
1366
|
+
"name": "stretch",
|
1367
|
+
"description": "If true, fills the parents horizontal axis",
|
1368
|
+
"value": { "type": "boolean", "default": "false" }
|
1369
|
+
},
|
1370
|
+
{
|
1371
|
+
"name": "target",
|
1372
|
+
"description": "If defined, specifies where to open the linked document",
|
1373
|
+
"value": {
|
1374
|
+
"type": "'_blank' | '_parent' | '_self' | '_top' | undefined"
|
1375
|
+
}
|
1376
|
+
}
|
1377
|
+
],
|
1378
|
+
"slots": [{ "name": "", "description": "The links' main content" }],
|
1379
|
+
"events": [
|
1380
|
+
{
|
1381
|
+
"name": "skf-link-click",
|
1382
|
+
"type": "CustomEvent",
|
1383
|
+
"description": "Fired when the link is clicked"
|
1384
|
+
}
|
1385
|
+
],
|
1386
|
+
"js": {
|
1387
|
+
"properties": [
|
1388
|
+
{
|
1389
|
+
"name": "as",
|
1390
|
+
"description": "Defines the semantic element to render",
|
1391
|
+
"type": "'button' | 'link'"
|
1392
|
+
},
|
1393
|
+
{
|
1394
|
+
"name": "color",
|
1395
|
+
"description": "Defines the text-color",
|
1396
|
+
"type": "Color"
|
1397
|
+
},
|
1398
|
+
{
|
1399
|
+
"name": "disabled",
|
1400
|
+
"description": "If true, disables the link",
|
1401
|
+
"type": "boolean"
|
1402
|
+
},
|
1403
|
+
{
|
1404
|
+
"name": "download",
|
1405
|
+
"description": "If defined, downloads the url",
|
1406
|
+
"type": "boolean"
|
1407
|
+
},
|
1408
|
+
{
|
1409
|
+
"name": "href",
|
1410
|
+
"description": "If defined, loads url on click",
|
1411
|
+
"type": "string | undefined"
|
1412
|
+
},
|
1413
|
+
{
|
1414
|
+
"name": "icon",
|
1415
|
+
"description": "If defined, renders an icon before or after the text",
|
1416
|
+
"type": "Icon | undefined"
|
1417
|
+
},
|
1418
|
+
{
|
1419
|
+
"name": "iconRight",
|
1420
|
+
"description": "If true, the icon is placed to the right in relation to the text",
|
1421
|
+
"type": "boolean"
|
1422
|
+
},
|
1423
|
+
{
|
1424
|
+
"name": "rel",
|
1425
|
+
"description": "If defined, describes the relationship between a linked resource and the current document",
|
1426
|
+
"type": "string | undefined"
|
1427
|
+
},
|
1428
|
+
{
|
1429
|
+
"name": "route",
|
1430
|
+
"description": "If defined, used on conjunction with onClick property. **Notice!** Only applicable to as=button.",
|
1431
|
+
"type": "string | undefined"
|
1432
|
+
},
|
1433
|
+
{
|
1434
|
+
"name": "stretch",
|
1435
|
+
"description": "If true, fills the parents horizontal axis",
|
1436
|
+
"type": "boolean"
|
1437
|
+
},
|
1438
|
+
{
|
1439
|
+
"name": "target",
|
1440
|
+
"description": "If defined, specifies where to open the linked document",
|
1441
|
+
"type": "'_blank' | '_parent' | '_self' | '_top' | undefined"
|
1442
|
+
}
|
1443
|
+
],
|
1444
|
+
"events": [
|
1445
|
+
{
|
1446
|
+
"name": "skf-link-click",
|
1447
|
+
"type": "CustomEvent",
|
1448
|
+
"description": "Fired when the link is clicked"
|
1449
|
+
}
|
1450
|
+
]
|
1451
|
+
}
|
1452
|
+
},
|
1453
|
+
{
|
1454
|
+
"name": "skf-nav-item",
|
1455
|
+
"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",
|
1456
|
+
"doc-url": "",
|
1457
|
+
"attributes": [
|
1458
|
+
{ "name": "href", "value": { "type": "string", "default": "''" } },
|
1459
|
+
{ "name": "icon", "value": { "type": "Icon | undefined" } }
|
1460
|
+
],
|
1461
|
+
"slots": [
|
1462
|
+
{ "name": "", "description": "The component's main content" }
|
1463
|
+
],
|
1464
|
+
"events": [],
|
1465
|
+
"js": {
|
1466
|
+
"properties": [
|
1467
|
+
{ "name": "href", "type": "string" },
|
1468
|
+
{ "name": "icon", "type": "Icon | undefined" },
|
1469
|
+
{ "name": "vertical", "type": "boolean" }
|
1470
|
+
],
|
1471
|
+
"events": []
|
1472
|
+
}
|
1473
|
+
},
|
1474
|
+
{
|
1475
|
+
"name": "skf-nav",
|
1476
|
+
"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",
|
810
1477
|
"doc-url": "",
|
811
1478
|
"attributes": [
|
812
1479
|
{
|
813
|
-
"name": "
|
814
|
-
"description": "
|
815
|
-
"value": {
|
816
|
-
"type": "\"h1\" | \"h2\" | \"h3\" | \"h4\"",
|
817
|
-
"default": "'h1'"
|
818
|
-
}
|
819
|
-
},
|
820
|
-
{
|
821
|
-
"name": "styled-as",
|
822
|
-
"description": "If provided, changes the appearance of the heading",
|
823
|
-
"value": { "type": "\"h1\" | \"h2\" | \"h3\" | \"h4\"" }
|
1480
|
+
"name": "vertical",
|
1481
|
+
"description": "If true, the navigation will be displayed vertically",
|
1482
|
+
"value": { "type": "boolean", "default": "false" }
|
824
1483
|
}
|
825
1484
|
],
|
826
|
-
"slots": [
|
1485
|
+
"slots": [
|
1486
|
+
{ "name": "", "description": "The component's main content" }
|
1487
|
+
],
|
827
1488
|
"events": [],
|
828
1489
|
"js": {
|
829
1490
|
"properties": [
|
830
1491
|
{
|
831
|
-
"name": "
|
832
|
-
"description": "
|
833
|
-
"type": "
|
834
|
-
},
|
835
|
-
{
|
836
|
-
"name": "styledAs",
|
837
|
-
"description": "If provided, changes the appearance of the heading",
|
838
|
-
"type": "\"h1\" | \"h2\" | \"h3\" | \"h4\""
|
1492
|
+
"name": "vertical",
|
1493
|
+
"description": "If true, the navigation will be displayed vertically",
|
1494
|
+
"type": "boolean"
|
839
1495
|
}
|
840
1496
|
],
|
841
1497
|
"events": []
|
842
1498
|
}
|
843
1499
|
},
|
844
1500
|
{
|
845
|
-
"name": "skf-
|
846
|
-
"description": "The `<skf-
|
1501
|
+
"name": "skf-header",
|
1502
|
+
"description": "The `<skf-header>` component is to be used as the site-header in the app. The navigation will be collapsed to mobile-view if the menu items exceed the available width.\n---\n\n\n### **Slots:**\n - _default_ - Navigation items",
|
847
1503
|
"doc-url": "",
|
848
1504
|
"attributes": [
|
849
1505
|
{
|
850
|
-
"name": "
|
851
|
-
"description": "
|
852
|
-
"value": {
|
853
|
-
"type": "\"primary\" | \"inverse\" | \"emphasised\" | \"secondary\" | \"success\" | \"info\" | \"warning\" | \"error\" | \"alert\"",
|
854
|
-
"default": "'primary'"
|
855
|
-
}
|
1506
|
+
"name": "compact",
|
1507
|
+
"description": "If true, sets header to display in compact mode only (hanburger menu and drawer)",
|
1508
|
+
"value": { "type": "string" }
|
856
1509
|
},
|
857
1510
|
{
|
858
|
-
"name": "label",
|
859
|
-
"description": "If defined,
|
860
|
-
"value": { "type": "string
|
1511
|
+
"name": "hamburger-aria-label",
|
1512
|
+
"description": "If defined, sets the aria-label for the hamburger button",
|
1513
|
+
"value": { "type": "string", "default": "'Show navigation'" }
|
861
1514
|
},
|
862
1515
|
{
|
863
|
-
"name": "name",
|
864
|
-
"description": "
|
865
|
-
"value": {
|
866
|
-
"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\""
|
867
|
-
}
|
1516
|
+
"name": "site-name",
|
1517
|
+
"description": "If defined, sets the app or site's name",
|
1518
|
+
"value": { "type": "string | undefined" }
|
868
1519
|
},
|
869
1520
|
{
|
870
|
-
"name": "
|
871
|
-
"description": "
|
872
|
-
"value": {
|
873
|
-
"type": "\"xs\" | \"sm\" | \"md\" | \"lg\"",
|
874
|
-
"default": "'md'"
|
875
|
-
}
|
1521
|
+
"name": "site-url",
|
1522
|
+
"description": "If defined, sets the site's base-url for the \"logo-link\"",
|
1523
|
+
"value": { "type": "string | undefined" }
|
876
1524
|
}
|
877
1525
|
],
|
1526
|
+
"slots": [{ "name": "", "description": "Navigation items" }],
|
878
1527
|
"events": [],
|
879
1528
|
"js": {
|
880
1529
|
"properties": [
|
881
1530
|
{
|
882
|
-
"name": "
|
883
|
-
"description": "
|
884
|
-
"type": "\"primary\" | \"inverse\" | \"emphasised\" | \"secondary\" | \"success\" | \"info\" | \"warning\" | \"error\" | \"alert\""
|
1531
|
+
"name": "compact",
|
1532
|
+
"description": "If true, sets header to display in compact mode only (hanburger menu and drawer)"
|
885
1533
|
},
|
886
1534
|
{
|
887
|
-
"name": "
|
888
|
-
"description": "If defined,
|
889
|
-
"type": "string
|
1535
|
+
"name": "hamburgerAriaLabel",
|
1536
|
+
"description": "If defined, sets the aria-label for the hamburger button",
|
1537
|
+
"type": "string"
|
890
1538
|
},
|
891
1539
|
{
|
892
|
-
"name": "
|
893
|
-
"description": "
|
894
|
-
"type": "
|
1540
|
+
"name": "siteName",
|
1541
|
+
"description": "If defined, sets the app or site's name",
|
1542
|
+
"type": "string | undefined"
|
895
1543
|
},
|
896
1544
|
{
|
897
|
-
"name": "
|
898
|
-
"description": "
|
899
|
-
"type": "
|
1545
|
+
"name": "siteUrl",
|
1546
|
+
"description": "If defined, sets the site's base-url for the \"logo-link\"",
|
1547
|
+
"type": "string | undefined"
|
900
1548
|
}
|
901
1549
|
],
|
902
1550
|
"events": []
|
@@ -904,23 +1552,25 @@
|
|
904
1552
|
},
|
905
1553
|
{
|
906
1554
|
"name": "skf-input",
|
907
|
-
"description": "The skf-text-field is used to create a text input field. It can be used inside a form element or standalone
|
1555
|
+
"description": "The skf-text-field is used to create a text input field. It can be used inside a form element or standalone\n\nSee [zeroheight](https://zeroheight.com/853e936c9/p/9481fa-input-field) for design principles\n---\n\n\n### **Events:**\n - **change** - Fires when the value of the input changes\n- **invalid** - Fires when the input is invalid\n\n### **Slots:**\n - _default_ - The Inputs label. Alternatively, you can use the `label` attribute.",
|
908
1556
|
"doc-url": "",
|
909
1557
|
"attributes": [
|
910
1558
|
{
|
911
1559
|
"name": "disabled",
|
912
1560
|
"description": "If true, sets disabled state",
|
913
|
-
"value": { "type": "boolean" }
|
1561
|
+
"value": { "type": "boolean", "default": "false" }
|
914
1562
|
},
|
915
1563
|
{
|
916
1564
|
"name": "required",
|
917
1565
|
"description": "If true, value is required or must be checked for the form to be submittable",
|
918
|
-
"value": { "type": "boolean" }
|
1566
|
+
"value": { "type": "boolean", "default": "false" }
|
919
1567
|
},
|
920
1568
|
{
|
921
1569
|
"name": "autocomplete",
|
922
|
-
"description": "-
|
923
|
-
"value": {
|
1570
|
+
"description": "Indicates whether the value of the control can be automatically completed by the browser. See\n[MDN Web Docs](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/autocomplete) for details.",
|
1571
|
+
"value": {
|
1572
|
+
"type": "HTMLInputElement['autocomplete'] | undefined"
|
1573
|
+
}
|
924
1574
|
},
|
925
1575
|
{
|
926
1576
|
"name": "button-aria-label-clear",
|
@@ -945,12 +1595,12 @@
|
|
945
1595
|
{
|
946
1596
|
"name": "debug",
|
947
1597
|
"description": "If true, outputs helping hints in console",
|
948
|
-
"value": { "type": "boolean
|
1598
|
+
"value": { "type": "boolean", "default": "false" }
|
949
1599
|
},
|
950
1600
|
{
|
951
1601
|
"name": "hide-label",
|
952
1602
|
"description": "If true, hides the label visually",
|
953
|
-
"value": { "type": "boolean
|
1603
|
+
"value": { "type": "boolean", "default": "false" }
|
954
1604
|
},
|
955
1605
|
{
|
956
1606
|
"name": "hint",
|
@@ -959,9 +1609,9 @@
|
|
959
1609
|
},
|
960
1610
|
{
|
961
1611
|
"name": "inputmode",
|
962
|
-
"description": "
|
1612
|
+
"description": "Provides a hint about the type of data that might be entered by the user while editing the element or its contents. See\n[MDN Web Docs](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/inputMode) for details.",
|
963
1613
|
"value": {
|
964
|
-
"type": "'
|
1614
|
+
"type": "HTMLInputElement['inputMode']",
|
965
1615
|
"default": "'text'"
|
966
1616
|
}
|
967
1617
|
},
|
@@ -1013,7 +1663,7 @@
|
|
1013
1663
|
{
|
1014
1664
|
"name": "readonly",
|
1015
1665
|
"description": "If true, makes the element not mutable, meaning the user can not edit the control",
|
1016
|
-
"value": { "type": "boolean
|
1666
|
+
"value": { "type": "boolean", "default": "false" }
|
1017
1667
|
},
|
1018
1668
|
{
|
1019
1669
|
"name": "required-label",
|
@@ -1023,14 +1673,12 @@
|
|
1023
1673
|
{
|
1024
1674
|
"name": "severity",
|
1025
1675
|
"description": "If defined, displays provided severity state",
|
1026
|
-
"value": {
|
1027
|
-
"type": "\"alert\" | \"success\" | \"info\" | \"warning\""
|
1028
|
-
}
|
1676
|
+
"value": { "type": "FormFieldSeverity | undefined" }
|
1029
1677
|
},
|
1030
1678
|
{
|
1031
1679
|
"name": "show-valid",
|
1032
1680
|
"description": "If true, displays valid state after interaction",
|
1033
|
-
"value": { "type": "boolean
|
1681
|
+
"value": { "type": "boolean", "default": "false" }
|
1034
1682
|
},
|
1035
1683
|
{
|
1036
1684
|
"name": "size",
|
@@ -1044,9 +1692,9 @@
|
|
1044
1692
|
},
|
1045
1693
|
{
|
1046
1694
|
"name": "type",
|
1047
|
-
"description": "Type of input
|
1695
|
+
"description": "Type of input",
|
1048
1696
|
"value": {
|
1049
|
-
"type": "'
|
1697
|
+
"type": "'email' | 'number' | 'password' | 'search' | 'tel' | 'text' | 'url'",
|
1050
1698
|
"default": "'text'"
|
1051
1699
|
}
|
1052
1700
|
},
|
@@ -1061,7 +1709,7 @@
|
|
1061
1709
|
{
|
1062
1710
|
"name": "value",
|
1063
1711
|
"description": "The current value of the input field",
|
1064
|
-
"value": { "type": "string"
|
1712
|
+
"value": { "type": "string" }
|
1065
1713
|
}
|
1066
1714
|
],
|
1067
1715
|
"slots": [
|
@@ -1073,16 +1721,22 @@
|
|
1073
1721
|
"events": [
|
1074
1722
|
{
|
1075
1723
|
"name": "change",
|
1724
|
+
"type": "CustomEvent",
|
1076
1725
|
"description": "Fires when the value of the input changes"
|
1077
1726
|
},
|
1078
1727
|
{
|
1079
1728
|
"name": "invalid",
|
1729
|
+
"type": "CustomEvent",
|
1080
1730
|
"description": "Fires when the input is invalid"
|
1081
1731
|
}
|
1082
1732
|
],
|
1083
1733
|
"js": {
|
1084
1734
|
"properties": [
|
1085
|
-
{
|
1735
|
+
{
|
1736
|
+
"name": "autocomplete",
|
1737
|
+
"description": "Indicates whether the value of the control can be automatically completed by the browser. See\n[MDN Web Docs](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/autocomplete) for details.",
|
1738
|
+
"type": "HTMLInputElement['autocomplete'] | undefined"
|
1739
|
+
},
|
1086
1740
|
{
|
1087
1741
|
"name": "buttonAriaLabelClear",
|
1088
1742
|
"description": "Custom aria-label for the clear button. **Notice!** Only applicable to type=search.",
|
@@ -1105,12 +1759,12 @@
|
|
1105
1759
|
{
|
1106
1760
|
"name": "debug",
|
1107
1761
|
"description": "If true, outputs helping hints in console",
|
1108
|
-
"type": "boolean
|
1762
|
+
"type": "boolean"
|
1109
1763
|
},
|
1110
1764
|
{
|
1111
1765
|
"name": "hideLabel",
|
1112
1766
|
"description": "If true, hides the label visually",
|
1113
|
-
"type": "boolean
|
1767
|
+
"type": "boolean"
|
1114
1768
|
},
|
1115
1769
|
{
|
1116
1770
|
"name": "hint",
|
@@ -1119,8 +1773,8 @@
|
|
1119
1773
|
},
|
1120
1774
|
{
|
1121
1775
|
"name": "inputmode",
|
1122
|
-
"description": "
|
1123
|
-
"type": "'
|
1776
|
+
"description": "Provides a hint about the type of data that might be entered by the user while editing the element or its contents. See\n[MDN Web Docs](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/inputMode) for details.",
|
1777
|
+
"type": "HTMLInputElement['inputMode']"
|
1124
1778
|
},
|
1125
1779
|
{
|
1126
1780
|
"name": "label",
|
@@ -1154,374 +1808,102 @@
|
|
1154
1808
|
},
|
1155
1809
|
{
|
1156
1810
|
"name": "name",
|
1157
|
-
"description": "If defined, adds name to the input-element",
|
1158
|
-
"type": "string | undefined"
|
1159
|
-
},
|
1160
|
-
{
|
1161
|
-
"name": "pattern",
|
1162
|
-
"description": "If defined, adds name to the input-element",
|
1163
|
-
"type": "string | undefined"
|
1164
|
-
},
|
1165
|
-
{
|
1166
|
-
"name": "placeholder",
|
1167
|
-
"description": "If defined, displays placeholder text",
|
1168
|
-
"type": "string | undefined"
|
1169
|
-
},
|
1170
|
-
{
|
1171
|
-
"name": "readonly",
|
1172
|
-
"description": "If true, makes the element not mutable, meaning the user can not edit the control",
|
1173
|
-
"type": "boolean | undefined"
|
1174
|
-
},
|
1175
|
-
{
|
1176
|
-
"name": "requiredLabel",
|
1177
|
-
"description": "If defined, renders an alternative A11y text for the asterisk",
|
1178
|
-
"type": "string | undefined"
|
1179
|
-
},
|
1180
|
-
{
|
1181
|
-
"name": "severity",
|
1182
|
-
"description": "If defined, displays provided severity state",
|
1183
|
-
"type": "\"alert\" | \"success\" | \"info\" | \"warning\""
|
1184
|
-
},
|
1185
|
-
{
|
1186
|
-
"name": "showValid",
|
1187
|
-
"description": "If true, displays valid state after interaction",
|
1188
|
-
"type": "boolean | undefined"
|
1189
|
-
},
|
1190
|
-
{
|
1191
|
-
"name": "size",
|
1192
|
-
"description": "Size of the input",
|
1193
|
-
"type": "'sm' | 'md'"
|
1194
|
-
},
|
1195
|
-
{
|
1196
|
-
"name": "trailing",
|
1197
|
-
"description": "If defined, displays a suffix/adornment after the input-element",
|
1198
|
-
"type": "string | undefined"
|
1199
|
-
},
|
1200
|
-
{
|
1201
|
-
"name": "type",
|
1202
|
-
"description": "Type of input control",
|
1203
|
-
"type": "'button' | 'color' | 'date' | 'datetime-local' | 'email' | 'file' | 'hidden' | 'image' | 'month' | 'number' | 'password' | 'range' | 'reset' | 'search' | 'submit' | 'tel' | 'text' | 'time' | 'url' | 'week'"
|
1204
|
-
},
|
1205
|
-
{
|
1206
|
-
"name": "validateOn",
|
1207
|
-
"description": "Sets validation start",
|
1208
|
-
"type": "'input' | 'change' | 'submit'"
|
1209
|
-
},
|
1210
|
-
{
|
1211
|
-
"name": "value",
|
1212
|
-
"description": "The current value of the input field",
|
1213
|
-
"type": "string"
|
1214
|
-
}
|
1215
|
-
],
|
1216
|
-
"events": [
|
1217
|
-
{
|
1218
|
-
"name": "change",
|
1219
|
-
"description": "Fires when the value of the input changes"
|
1220
|
-
},
|
1221
|
-
{
|
1222
|
-
"name": "invalid",
|
1223
|
-
"description": "Fires when the input is invalid"
|
1224
|
-
}
|
1225
|
-
]
|
1226
|
-
}
|
1227
|
-
},
|
1228
|
-
{
|
1229
|
-
"name": "skf-link",
|
1230
|
-
"description": "The `<skf-link>` can be used as either a regular link or a link styled semantic button\n---\n\n\n### **Slots:**\n - _default_ - The links' main content",
|
1231
|
-
"doc-url": "",
|
1232
|
-
"attributes": [
|
1233
|
-
{
|
1234
|
-
"name": "as",
|
1235
|
-
"description": "Defines the semantic element to render",
|
1236
|
-
"value": { "type": "'button' | 'a'", "default": "'a'" }
|
1237
|
-
},
|
1238
|
-
{
|
1239
|
-
"name": "color",
|
1240
|
-
"description": "Defines the text-color",
|
1241
|
-
"value": {
|
1242
|
-
"type": "'primary' | 'inverse'",
|
1243
|
-
"default": "'primary'"
|
1244
|
-
}
|
1245
|
-
},
|
1246
|
-
{
|
1247
|
-
"name": "disabled",
|
1248
|
-
"description": "If true, disables the link",
|
1249
|
-
"value": { "type": "boolean | undefined" }
|
1250
|
-
},
|
1251
|
-
{
|
1252
|
-
"name": "download",
|
1253
|
-
"description": "If defined, downloads the url",
|
1254
|
-
"value": { "type": "string | undefined" }
|
1255
|
-
},
|
1256
|
-
{
|
1257
|
-
"name": "href",
|
1258
|
-
"description": "If defined, loads url on click",
|
1259
|
-
"value": { "type": "string | undefined" }
|
1260
|
-
},
|
1261
|
-
{
|
1262
|
-
"name": "icon",
|
1263
|
-
"description": "If defined, renders an icon before or after the text",
|
1264
|
-
"value": {
|
1265
|
-
"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\""
|
1266
|
-
}
|
1267
|
-
},
|
1268
|
-
{
|
1269
|
-
"name": "icon-placement",
|
1270
|
-
"description": "Defines the position of the icon in relation to the text",
|
1271
|
-
"value": { "type": "'left' | 'right'", "default": "'left'" }
|
1272
|
-
},
|
1273
|
-
{
|
1274
|
-
"name": "rel",
|
1275
|
-
"description": "If defined, describes the relationship between a linked resource and the current document",
|
1276
|
-
"value": { "type": "string | undefined" }
|
1277
|
-
},
|
1278
|
-
{
|
1279
|
-
"name": "route",
|
1280
|
-
"description": "If defined, used on conjunction with onClick property, second argument",
|
1281
|
-
"value": { "type": "string | undefined" }
|
1282
|
-
},
|
1283
|
-
{
|
1284
|
-
"name": "stretch",
|
1285
|
-
"description": "If true, fills the parents horizontal axis",
|
1286
|
-
"value": { "type": "boolean", "default": "false" }
|
1287
|
-
},
|
1288
|
-
{
|
1289
|
-
"name": "target",
|
1290
|
-
"description": "If defined, specifies where to open the linked document",
|
1291
|
-
"value": {
|
1292
|
-
"type": "'_blank' | '_parent' | '_self' | '_top' | undefined"
|
1293
|
-
}
|
1294
|
-
},
|
1295
|
-
{
|
1296
|
-
"name": "type",
|
1297
|
-
"description": "Defines the type of button",
|
1298
|
-
"value": {
|
1299
|
-
"type": "'button' | 'submit' | 'reset'",
|
1300
|
-
"default": "'button'"
|
1301
|
-
}
|
1302
|
-
}
|
1303
|
-
],
|
1304
|
-
"slots": [{ "name": "", "description": "The links' main content" }],
|
1305
|
-
"events": [],
|
1306
|
-
"js": {
|
1307
|
-
"properties": [
|
1308
|
-
{
|
1309
|
-
"name": "as",
|
1310
|
-
"description": "Defines the semantic element to render",
|
1311
|
-
"type": "'button' | 'a'"
|
1312
|
-
},
|
1313
|
-
{
|
1314
|
-
"name": "color",
|
1315
|
-
"description": "Defines the text-color",
|
1316
|
-
"type": "'primary' | 'inverse'"
|
1317
|
-
},
|
1318
|
-
{
|
1319
|
-
"name": "disabled",
|
1320
|
-
"description": "If true, disables the link",
|
1321
|
-
"type": "boolean | undefined"
|
1322
|
-
},
|
1323
|
-
{
|
1324
|
-
"name": "download",
|
1325
|
-
"description": "If defined, downloads the url",
|
1326
|
-
"type": "string | undefined"
|
1327
|
-
},
|
1328
|
-
{
|
1329
|
-
"name": "href",
|
1330
|
-
"description": "If defined, loads url on click",
|
1331
|
-
"type": "string | undefined"
|
1332
|
-
},
|
1333
|
-
{
|
1334
|
-
"name": "icon",
|
1335
|
-
"description": "If defined, renders an icon before or after the text",
|
1336
|
-
"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\""
|
1337
|
-
},
|
1338
|
-
{
|
1339
|
-
"name": "iconPlacement",
|
1340
|
-
"description": "Defines the position of the icon in relation to the text",
|
1341
|
-
"type": "'left' | 'right'"
|
1811
|
+
"description": "If defined, adds name to the input-element",
|
1812
|
+
"type": "string | undefined"
|
1342
1813
|
},
|
1343
1814
|
{
|
1344
|
-
"name": "
|
1345
|
-
"description": "If defined,
|
1815
|
+
"name": "pattern",
|
1816
|
+
"description": "If defined, adds name to the input-element",
|
1346
1817
|
"type": "string | undefined"
|
1347
1818
|
},
|
1348
1819
|
{
|
1349
|
-
"name": "
|
1350
|
-
"description": "If defined,
|
1820
|
+
"name": "placeholder",
|
1821
|
+
"description": "If defined, displays placeholder text",
|
1351
1822
|
"type": "string | undefined"
|
1352
1823
|
},
|
1353
1824
|
{
|
1354
|
-
"name": "
|
1355
|
-
"description": "If true,
|
1825
|
+
"name": "readonly",
|
1826
|
+
"description": "If true, makes the element not mutable, meaning the user can not edit the control",
|
1356
1827
|
"type": "boolean"
|
1357
1828
|
},
|
1358
1829
|
{
|
1359
|
-
"name": "
|
1360
|
-
"description": "If defined,
|
1361
|
-
"type": "
|
1362
|
-
},
|
1363
|
-
{
|
1364
|
-
"name": "type",
|
1365
|
-
"description": "Defines the type of button",
|
1366
|
-
"type": "'button' | 'submit' | 'reset'"
|
1830
|
+
"name": "requiredLabel",
|
1831
|
+
"description": "If defined, renders an alternative A11y text for the asterisk",
|
1832
|
+
"type": "string | undefined"
|
1367
1833
|
},
|
1368
1834
|
{
|
1369
|
-
"name": "
|
1370
|
-
"description": "If
|
1371
|
-
"type": "
|
1372
|
-
}
|
1373
|
-
],
|
1374
|
-
"events": []
|
1375
|
-
}
|
1376
|
-
},
|
1377
|
-
{
|
1378
|
-
"name": "skf-loader",
|
1379
|
-
"description": "The `<skf-loader>` component is a progress indicator that uses circular indicators for short, indeterminate activities\n---\n",
|
1380
|
-
"doc-url": "",
|
1381
|
-
"attributes": [
|
1382
|
-
{
|
1383
|
-
"name": "aria-label",
|
1384
|
-
"description": "Defines the aria-label",
|
1385
|
-
"value": { "type": "string", "default": "'Loading...'" }
|
1386
|
-
},
|
1387
|
-
{
|
1388
|
-
"name": "invert",
|
1389
|
-
"description": "If true, inverts the color (to be used on colored backgrounds)",
|
1390
|
-
"value": { "type": "boolean", "default": "false" }
|
1391
|
-
},
|
1392
|
-
{
|
1393
|
-
"name": "size",
|
1394
|
-
"description": "Defines the size of the loader",
|
1395
|
-
"value": { "type": "'md' | 'sm' | undefined", "default": "'md'" }
|
1396
|
-
}
|
1397
|
-
],
|
1398
|
-
"events": [],
|
1399
|
-
"js": {
|
1400
|
-
"properties": [
|
1401
|
-
{
|
1402
|
-
"name": "ariaLabel",
|
1403
|
-
"description": "Defines the aria-label",
|
1404
|
-
"type": "string"
|
1835
|
+
"name": "severity",
|
1836
|
+
"description": "If defined, displays provided severity state",
|
1837
|
+
"type": "FormFieldSeverity | undefined"
|
1405
1838
|
},
|
1406
1839
|
{
|
1407
|
-
"name": "
|
1408
|
-
"description": "If true,
|
1840
|
+
"name": "showValid",
|
1841
|
+
"description": "If true, displays valid state after interaction",
|
1409
1842
|
"type": "boolean"
|
1410
1843
|
},
|
1411
1844
|
{
|
1412
1845
|
"name": "size",
|
1413
|
-
"description": "
|
1414
|
-
"type": "'
|
1846
|
+
"description": "Size of the input",
|
1847
|
+
"type": "'sm' | 'md'"
|
1415
1848
|
},
|
1416
|
-
{ "name": "role", "type": "string" },
|
1417
|
-
{ "name": "ariaLive", "type": "string" }
|
1418
|
-
],
|
1419
|
-
"events": []
|
1420
|
-
}
|
1421
|
-
},
|
1422
|
-
{
|
1423
|
-
"name": "skf-logo",
|
1424
|
-
"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)_",
|
1425
|
-
"doc-url": "",
|
1426
|
-
"attributes": [
|
1427
|
-
{
|
1428
|
-
"name": "title",
|
1429
|
-
"description": "Defines the title of the logo",
|
1430
|
-
"value": { "type": "string", "default": "'SKF logotype'" }
|
1431
|
-
},
|
1432
|
-
{
|
1433
|
-
"name": "color",
|
1434
|
-
"description": "Defines the color of the logo",
|
1435
|
-
"value": {
|
1436
|
-
"type": "\"primary\" | \"secondary\" | \"inverse\"",
|
1437
|
-
"default": "'primary'"
|
1438
|
-
}
|
1439
|
-
}
|
1440
|
-
],
|
1441
|
-
"events": [],
|
1442
|
-
"js": {
|
1443
|
-
"properties": [
|
1444
1849
|
{
|
1445
|
-
"name": "
|
1446
|
-
"description": "
|
1447
|
-
"type": "string"
|
1850
|
+
"name": "trailing",
|
1851
|
+
"description": "If defined, displays a suffix/adornment after the input-element",
|
1852
|
+
"type": "string | undefined"
|
1448
1853
|
},
|
1449
1854
|
{
|
1450
|
-
"name": "
|
1451
|
-
"description": "
|
1452
|
-
"type": "
|
1453
|
-
}
|
1454
|
-
],
|
1455
|
-
"events": []
|
1456
|
-
}
|
1457
|
-
},
|
1458
|
-
{
|
1459
|
-
"name": "skf-menu",
|
1460
|
-
"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",
|
1461
|
-
"doc-url": "",
|
1462
|
-
"attributes": [],
|
1463
|
-
"slots": [{ "name": "", "description": "The menu popover content" }],
|
1464
|
-
"events": [
|
1465
|
-
{ "name": "open", "description": "Fired when the menu is opened" },
|
1466
|
-
{ "name": "close", "description": "Fired when the menu is closed" }
|
1467
|
-
],
|
1468
|
-
"js": {
|
1469
|
-
"properties": [
|
1470
|
-
{
|
1471
|
-
"name": "placement",
|
1472
|
-
"description": "The placement of the menu",
|
1473
|
-
"type": "\"top\" | \"right\" | \"bottom\" | \"left\" | \"top-start\" | \"top-end\" | \"right-start\" | \"right-end\" | \"bottom-start\" | \"bottom-end\" | \"left-start\" | \"left-end\""
|
1855
|
+
"name": "type",
|
1856
|
+
"description": "Type of input",
|
1857
|
+
"type": "'email' | 'number' | 'password' | 'search' | 'tel' | 'text' | 'url'"
|
1474
1858
|
},
|
1475
1859
|
{
|
1476
|
-
"name": "
|
1477
|
-
"description": "
|
1478
|
-
"type": "
|
1860
|
+
"name": "validateOn",
|
1861
|
+
"description": "Sets validation start",
|
1862
|
+
"type": "'input' | 'change' | 'submit'"
|
1479
1863
|
},
|
1480
1864
|
{
|
1481
|
-
"name": "
|
1482
|
-
"description": "The
|
1483
|
-
"type": "string"
|
1865
|
+
"name": "value",
|
1866
|
+
"description": "The current value of the input field"
|
1484
1867
|
}
|
1485
1868
|
],
|
1486
1869
|
"events": [
|
1487
1870
|
{
|
1488
|
-
"name": "
|
1489
|
-
"
|
1871
|
+
"name": "change",
|
1872
|
+
"type": "CustomEvent",
|
1873
|
+
"description": "Fires when the value of the input changes"
|
1490
1874
|
},
|
1491
1875
|
{
|
1492
|
-
"name": "
|
1493
|
-
"
|
1876
|
+
"name": "invalid",
|
1877
|
+
"type": "CustomEvent",
|
1878
|
+
"description": "Fires when the input is invalid"
|
1494
1879
|
}
|
1495
1880
|
]
|
1496
1881
|
}
|
1497
1882
|
},
|
1498
1883
|
{
|
1499
1884
|
"name": "skf-menu-item",
|
1500
|
-
"description": "The `<skf-menu-item>` is
|
1885
|
+
"description": "The `<skf-menu-item>` is used in conjunction with the `<skf-menu>` component\n---\n\n\n### **Events:**\n - **skf-link-click** - Fired when the link is clicked\n\n### **Slots:**\n - _default_ - The component's main content",
|
1501
1886
|
"doc-url": "",
|
1502
1887
|
"attributes": [
|
1503
1888
|
{
|
1504
1889
|
"name": "as",
|
1505
1890
|
"description": "Defines the semantic element to render",
|
1506
|
-
"value": { "type": "'button' | '
|
1891
|
+
"value": { "type": "'button' | 'link'", "default": "'link'" }
|
1507
1892
|
},
|
1508
1893
|
{
|
1509
1894
|
"name": "color",
|
1510
1895
|
"description": "Defines the text-color",
|
1511
|
-
"value": {
|
1512
|
-
"type": "'primary' | 'inverse'",
|
1513
|
-
"default": "'primary'"
|
1514
|
-
}
|
1896
|
+
"value": { "type": "Color", "default": "'primary'" }
|
1515
1897
|
},
|
1516
1898
|
{
|
1517
1899
|
"name": "disabled",
|
1518
1900
|
"description": "If true, disables the link",
|
1519
|
-
"value": { "type": "boolean
|
1901
|
+
"value": { "type": "boolean", "default": "false" }
|
1520
1902
|
},
|
1521
1903
|
{
|
1522
1904
|
"name": "download",
|
1523
1905
|
"description": "If defined, downloads the url",
|
1524
|
-
"value": { "type": "
|
1906
|
+
"value": { "type": "boolean", "default": "false" }
|
1525
1907
|
},
|
1526
1908
|
{
|
1527
1909
|
"name": "href",
|
@@ -1531,14 +1913,12 @@
|
|
1531
1913
|
{
|
1532
1914
|
"name": "icon",
|
1533
1915
|
"description": "If defined, renders an icon before or after the text",
|
1534
|
-
"value": {
|
1535
|
-
"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\""
|
1536
|
-
}
|
1916
|
+
"value": { "type": "Icon | undefined" }
|
1537
1917
|
},
|
1538
1918
|
{
|
1539
|
-
"name": "icon-
|
1540
|
-
"description": "
|
1541
|
-
"value": { "type": "
|
1919
|
+
"name": "icon-right",
|
1920
|
+
"description": "If true, the icon is placed to the right in relation to the text",
|
1921
|
+
"value": { "type": "boolean", "default": "false" }
|
1542
1922
|
},
|
1543
1923
|
{
|
1544
1924
|
"name": "rel",
|
@@ -1547,7 +1927,7 @@
|
|
1547
1927
|
},
|
1548
1928
|
{
|
1549
1929
|
"name": "route",
|
1550
|
-
"description": "If defined, used on conjunction with onClick property
|
1930
|
+
"description": "If defined, used on conjunction with onClick property. **Notice!** Only applicable to as=button.",
|
1551
1931
|
"value": { "type": "string | undefined" }
|
1552
1932
|
},
|
1553
1933
|
{
|
@@ -1561,52 +1941,16 @@
|
|
1561
1941
|
"value": {
|
1562
1942
|
"type": "'_blank' | '_parent' | '_self' | '_top' | undefined"
|
1563
1943
|
}
|
1564
|
-
},
|
1565
|
-
{
|
1566
|
-
"name": "type",
|
1567
|
-
"description": "Defines the type of button",
|
1568
|
-
"value": {
|
1569
|
-
"type": "'button' | 'submit' | 'reset'",
|
1570
|
-
"default": "'button'"
|
1571
|
-
}
|
1572
1944
|
}
|
1573
1945
|
],
|
1574
1946
|
"slots": [
|
1575
|
-
{ "name": "", "description": "The component's main content" }
|
1576
|
-
{
|
1577
|
-
"name": "my-named-slot",
|
1578
|
-
"description": "A named slot of the component"
|
1579
|
-
}
|
1947
|
+
{ "name": "", "description": "The component's main content" }
|
1580
1948
|
],
|
1581
1949
|
"events": [
|
1582
1950
|
{
|
1583
|
-
"name": "
|
1951
|
+
"name": "skf-link-click",
|
1584
1952
|
"type": "CustomEvent",
|
1585
|
-
"description": "Fired when
|
1586
|
-
},
|
1587
|
-
{
|
1588
|
-
"name": "click",
|
1589
|
-
"description": "Fired when the component is clicked"
|
1590
|
-
},
|
1591
|
-
{
|
1592
|
-
"name": "mouseover",
|
1593
|
-
"description": "Fired when the mouse is over the component"
|
1594
|
-
},
|
1595
|
-
{
|
1596
|
-
"name": "mouseout",
|
1597
|
-
"description": "Fired when the mouse is out of the component"
|
1598
|
-
},
|
1599
|
-
{
|
1600
|
-
"name": "focus",
|
1601
|
-
"description": "Fired when the component is focused"
|
1602
|
-
},
|
1603
|
-
{
|
1604
|
-
"name": "blur",
|
1605
|
-
"description": "Fired when the component is blurred"
|
1606
|
-
},
|
1607
|
-
{
|
1608
|
-
"name": "change",
|
1609
|
-
"description": "Fired when the component's value changes"
|
1953
|
+
"description": "Fired when the link is clicked"
|
1610
1954
|
}
|
1611
1955
|
],
|
1612
1956
|
"js": {
|
@@ -1614,22 +1958,22 @@
|
|
1614
1958
|
{
|
1615
1959
|
"name": "as",
|
1616
1960
|
"description": "Defines the semantic element to render",
|
1617
|
-
"type": "'button' | '
|
1961
|
+
"type": "'button' | 'link'"
|
1618
1962
|
},
|
1619
1963
|
{
|
1620
1964
|
"name": "color",
|
1621
1965
|
"description": "Defines the text-color",
|
1622
|
-
"type": "
|
1966
|
+
"type": "Color"
|
1623
1967
|
},
|
1624
1968
|
{
|
1625
1969
|
"name": "disabled",
|
1626
1970
|
"description": "If true, disables the link",
|
1627
|
-
"type": "boolean
|
1971
|
+
"type": "boolean"
|
1628
1972
|
},
|
1629
1973
|
{
|
1630
1974
|
"name": "download",
|
1631
1975
|
"description": "If defined, downloads the url",
|
1632
|
-
"type": "
|
1976
|
+
"type": "boolean"
|
1633
1977
|
},
|
1634
1978
|
{
|
1635
1979
|
"name": "href",
|
@@ -1639,12 +1983,12 @@
|
|
1639
1983
|
{
|
1640
1984
|
"name": "icon",
|
1641
1985
|
"description": "If defined, renders an icon before or after the text",
|
1642
|
-
"type": "
|
1986
|
+
"type": "Icon | undefined"
|
1643
1987
|
},
|
1644
1988
|
{
|
1645
|
-
"name": "
|
1646
|
-
"description": "
|
1647
|
-
"type": "
|
1989
|
+
"name": "iconRight",
|
1990
|
+
"description": "If true, the icon is placed to the right in relation to the text",
|
1991
|
+
"type": "boolean"
|
1648
1992
|
},
|
1649
1993
|
{
|
1650
1994
|
"name": "rel",
|
@@ -1653,7 +1997,7 @@
|
|
1653
1997
|
},
|
1654
1998
|
{
|
1655
1999
|
"name": "route",
|
1656
|
-
"description": "If defined, used on conjunction with onClick property
|
2000
|
+
"description": "If defined, used on conjunction with onClick property. **Notice!** Only applicable to as=button.",
|
1657
2001
|
"type": "string | undefined"
|
1658
2002
|
},
|
1659
2003
|
{
|
@@ -1665,56 +2009,83 @@
|
|
1665
2009
|
"name": "target",
|
1666
2010
|
"description": "If defined, specifies where to open the linked document",
|
1667
2011
|
"type": "'_blank' | '_parent' | '_self' | '_top' | undefined"
|
1668
|
-
},
|
1669
|
-
{
|
1670
|
-
"name": "type",
|
1671
|
-
"description": "Defines the type of button",
|
1672
|
-
"type": "'button' | 'submit' | 'reset'"
|
1673
|
-
},
|
1674
|
-
{
|
1675
|
-
"name": "onClick",
|
1676
|
-
"description": "If provided, custom function triggered by click where the second return parameter enables custom routing.",
|
1677
|
-
"type": "function"
|
1678
2012
|
}
|
1679
2013
|
],
|
1680
2014
|
"events": [
|
1681
2015
|
{
|
1682
|
-
"name": "
|
2016
|
+
"name": "skf-link-click",
|
1683
2017
|
"type": "CustomEvent",
|
1684
|
-
"description": "Fired when
|
1685
|
-
}
|
1686
|
-
|
1687
|
-
|
1688
|
-
|
1689
|
-
|
1690
|
-
|
1691
|
-
|
1692
|
-
|
1693
|
-
|
1694
|
-
|
1695
|
-
|
1696
|
-
|
1697
|
-
|
1698
|
-
|
1699
|
-
"
|
1700
|
-
|
1701
|
-
|
2018
|
+
"description": "Fired when the link is clicked"
|
2019
|
+
}
|
2020
|
+
]
|
2021
|
+
}
|
2022
|
+
},
|
2023
|
+
{
|
2024
|
+
"name": "skf-menu",
|
2025
|
+
"description": "The `<skf-menu>` is a component that displays a list of actions or options\n\nSee [zeroheight](https://zeroheight.com/853e936c9/p/983e5d-popover) for design principles\n---\n\n\n### **Events:**\n - **skf-opened** - Fired when the menu is opened\n- **skf-closed** - Fired when the menu is closed\n\n### **Slots:**\n - _default_ - The menu popover content",
|
2026
|
+
"doc-url": "",
|
2027
|
+
"attributes": [
|
2028
|
+
{
|
2029
|
+
"name": "placement",
|
2030
|
+
"description": "The placement of the menu",
|
2031
|
+
"value": {
|
2032
|
+
"type": "\"top\" | \"right\" | \"bottom\" | \"left\" | \"top-start\" | \"top-end\" | \"right-start\" | \"right-end\" | \"bottom-start\" | \"bottom-end\" | \"left-start\" | \"left-end\"",
|
2033
|
+
"default": "'bottom-start'"
|
2034
|
+
}
|
2035
|
+
},
|
2036
|
+
{
|
2037
|
+
"name": "anchor",
|
2038
|
+
"description": "The id of the element the menu will be anchored to",
|
2039
|
+
"value": { "type": "string" }
|
2040
|
+
}
|
2041
|
+
],
|
2042
|
+
"slots": [{ "name": "", "description": "The menu popover content" }],
|
2043
|
+
"events": [
|
2044
|
+
{
|
2045
|
+
"name": "skf-opened",
|
2046
|
+
"type": "CustomEvent",
|
2047
|
+
"description": "Fired when the menu is opened"
|
2048
|
+
},
|
2049
|
+
{
|
2050
|
+
"name": "skf-closed",
|
2051
|
+
"type": "CustomEvent",
|
2052
|
+
"description": "Fired when the menu is closed"
|
2053
|
+
}
|
2054
|
+
],
|
2055
|
+
"js": {
|
2056
|
+
"properties": [],
|
2057
|
+
"events": [
|
1702
2058
|
{
|
1703
|
-
"name": "
|
1704
|
-
"
|
2059
|
+
"name": "skf-opened",
|
2060
|
+
"type": "CustomEvent",
|
2061
|
+
"description": "Fired when the menu is opened"
|
1705
2062
|
},
|
1706
2063
|
{
|
1707
|
-
"name": "
|
1708
|
-
"
|
2064
|
+
"name": "skf-closed",
|
2065
|
+
"type": "CustomEvent",
|
2066
|
+
"description": "Fired when the menu is closed"
|
1709
2067
|
}
|
1710
2068
|
]
|
1711
2069
|
}
|
1712
2070
|
},
|
1713
2071
|
{
|
1714
2072
|
"name": "skf-popover",
|
1715
|
-
"description": "The `<skf-popover>` is a general purpose component that displays the slot content.\n---\n\n\n### **Events:**\n - **
|
2073
|
+
"description": "The `<skf-popover>` is a general purpose component that displays the slot content in a popover.\n\nSee [zeroheight](https://zeroheight.com/853e936c9/p/983e5d-popover) for design principles\n---\n\n\n### **Events:**\n - **skf-opened** - Fired when the menu is opened\n- **skf-closed** - Fired when the menu is closed\n\n### **Slots:**\n - _default_ - The popover content",
|
1716
2074
|
"doc-url": "",
|
1717
2075
|
"attributes": [
|
2076
|
+
{
|
2077
|
+
"name": "placement",
|
2078
|
+
"description": "The placement of the popover",
|
2079
|
+
"value": {
|
2080
|
+
"type": "\"top\" | \"right\" | \"bottom\" | \"left\" | \"top-start\" | \"top-end\" | \"right-start\" | \"right-end\" | \"bottom-start\" | \"bottom-end\" | \"left-start\" | \"left-end\"",
|
2081
|
+
"default": "'bottom-start'"
|
2082
|
+
}
|
2083
|
+
},
|
2084
|
+
{
|
2085
|
+
"name": "anchor",
|
2086
|
+
"description": "The id of the element the menu will be anchored to",
|
2087
|
+
"value": { "type": "string" }
|
2088
|
+
},
|
1718
2089
|
{
|
1719
2090
|
"name": "offset",
|
1720
2091
|
"description": "If defined, sets a custom offset for the popover",
|
@@ -1728,8 +2099,16 @@
|
|
1728
2099
|
],
|
1729
2100
|
"slots": [{ "name": "", "description": "The popover content" }],
|
1730
2101
|
"events": [
|
1731
|
-
{
|
1732
|
-
|
2102
|
+
{
|
2103
|
+
"name": "skf-opened",
|
2104
|
+
"type": "CustomEvent",
|
2105
|
+
"description": "Fired when the menu is opened"
|
2106
|
+
},
|
2107
|
+
{
|
2108
|
+
"name": "skf-closed",
|
2109
|
+
"type": "CustomEvent",
|
2110
|
+
"description": "Fired when the menu is closed"
|
2111
|
+
}
|
1733
2112
|
],
|
1734
2113
|
"js": {
|
1735
2114
|
"properties": [
|
@@ -1742,31 +2121,17 @@
|
|
1742
2121
|
"name": "hideArrow",
|
1743
2122
|
"description": "If true, hides the arrow",
|
1744
2123
|
"type": "boolean"
|
1745
|
-
},
|
1746
|
-
{ "name": "arrow", "type": "boolean" },
|
1747
|
-
{
|
1748
|
-
"name": "placement",
|
1749
|
-
"description": "The placement of the menu",
|
1750
|
-
"type": "\"top\" | \"right\" | \"bottom\" | \"left\" | \"top-start\" | \"top-end\" | \"right-start\" | \"right-end\" | \"bottom-start\" | \"bottom-end\" | \"left-start\" | \"left-end\""
|
1751
|
-
},
|
1752
|
-
{
|
1753
|
-
"name": "isOpen",
|
1754
|
-
"description": "Whether the menu is open",
|
1755
|
-
"type": "boolean"
|
1756
|
-
},
|
1757
|
-
{
|
1758
|
-
"name": "anchor",
|
1759
|
-
"description": "The id of the element the menu will be anchored to",
|
1760
|
-
"type": "string"
|
1761
2124
|
}
|
1762
2125
|
],
|
1763
2126
|
"events": [
|
1764
2127
|
{
|
1765
|
-
"name": "
|
2128
|
+
"name": "skf-opened",
|
2129
|
+
"type": "CustomEvent",
|
1766
2130
|
"description": "Fired when the menu is opened"
|
1767
2131
|
},
|
1768
2132
|
{
|
1769
|
-
"name": "
|
2133
|
+
"name": "skf-closed",
|
2134
|
+
"type": "CustomEvent",
|
1770
2135
|
"description": "Fired when the menu is closed"
|
1771
2136
|
}
|
1772
2137
|
]
|
@@ -1817,33 +2182,33 @@
|
|
1817
2182
|
},
|
1818
2183
|
{
|
1819
2184
|
"name": "skf-radio",
|
1820
|
-
"description": "The `<skf-radio>` component is used to create a radio input\n---\n\n\n### **Events:**\n - **change** -
|
2185
|
+
"description": "The `<skf-radio>` component is used to create a radio input\n\nSee [zeroheight](https://zeroheight.com/853e936c9/p/78d5dd-radio-button) for design principles\n---\n\n\n### **Events:**\n - **change** - When the value of the input changes\n\n### **Slots:**\n - _default_ - The radios label. Alternatively, you can use the `label` attribute.",
|
1821
2186
|
"doc-url": "",
|
1822
2187
|
"attributes": [
|
1823
2188
|
{
|
1824
2189
|
"name": "disabled",
|
1825
2190
|
"description": "If true, sets disabled state",
|
1826
|
-
"value": { "type": "boolean" }
|
2191
|
+
"value": { "type": "boolean", "default": "false" }
|
1827
2192
|
},
|
1828
2193
|
{
|
1829
2194
|
"name": "required",
|
1830
2195
|
"description": "If true, value is required or must be checked for the form to be submittable",
|
1831
|
-
"value": { "type": "boolean" }
|
2196
|
+
"value": { "type": "boolean", "default": "false" }
|
1832
2197
|
},
|
1833
2198
|
{
|
1834
2199
|
"name": "debug",
|
1835
2200
|
"description": "If true, outputs helping hints in console",
|
1836
|
-
"value": { "type": "boolean
|
2201
|
+
"value": { "type": "boolean", "default": "false" }
|
1837
2202
|
},
|
1838
2203
|
{
|
1839
2204
|
"name": "checked",
|
1840
2205
|
"description": "If true, outputs helping hints in console",
|
1841
|
-
"value": { "type": "boolean
|
2206
|
+
"value": { "type": "boolean", "default": "false" }
|
1842
2207
|
},
|
1843
2208
|
{
|
1844
2209
|
"name": "custom-invalid",
|
1845
2210
|
"description": "If true, forces component to invalid state until removed",
|
1846
|
-
"value": { "type": "boolean
|
2211
|
+
"value": { "type": "boolean", "default": "false" }
|
1847
2212
|
},
|
1848
2213
|
{
|
1849
2214
|
"name": "label",
|
@@ -1868,14 +2233,12 @@
|
|
1868
2233
|
{
|
1869
2234
|
"name": "severity",
|
1870
2235
|
"description": "If defined, displays provided severity state",
|
1871
|
-
"value": {
|
1872
|
-
"type": "\"success\" | \"info\" | \"warning\" | \"alert\""
|
1873
|
-
}
|
2236
|
+
"value": { "type": "FormFieldSeverity | undefined" }
|
1874
2237
|
},
|
1875
2238
|
{
|
1876
2239
|
"name": "show-valid",
|
1877
2240
|
"description": "If true, displays valid state after interaction",
|
1878
|
-
"value": { "type": "boolean
|
2241
|
+
"value": { "type": "boolean", "default": "false" }
|
1879
2242
|
},
|
1880
2243
|
{
|
1881
2244
|
"name": "value",
|
@@ -1892,7 +2255,8 @@
|
|
1892
2255
|
"events": [
|
1893
2256
|
{
|
1894
2257
|
"name": "change",
|
1895
|
-
"
|
2258
|
+
"type": "Event",
|
2259
|
+
"description": "When the value of the input changes"
|
1896
2260
|
}
|
1897
2261
|
],
|
1898
2262
|
"js": {
|
@@ -1900,17 +2264,17 @@
|
|
1900
2264
|
{
|
1901
2265
|
"name": "debug",
|
1902
2266
|
"description": "If true, outputs helping hints in console",
|
1903
|
-
"type": "boolean
|
2267
|
+
"type": "boolean"
|
1904
2268
|
},
|
1905
2269
|
{
|
1906
2270
|
"name": "checked",
|
1907
2271
|
"description": "If true, outputs helping hints in console",
|
1908
|
-
"type": "boolean
|
2272
|
+
"type": "boolean"
|
1909
2273
|
},
|
1910
2274
|
{
|
1911
2275
|
"name": "customInvalid",
|
1912
2276
|
"description": "If true, forces component to invalid state until removed",
|
1913
|
-
"type": "boolean
|
2277
|
+
"type": "boolean"
|
1914
2278
|
},
|
1915
2279
|
{
|
1916
2280
|
"name": "label",
|
@@ -1935,12 +2299,12 @@
|
|
1935
2299
|
{
|
1936
2300
|
"name": "severity",
|
1937
2301
|
"description": "If defined, displays provided severity state",
|
1938
|
-
"type": "
|
2302
|
+
"type": "FormFieldSeverity | undefined"
|
1939
2303
|
},
|
1940
2304
|
{
|
1941
2305
|
"name": "showValid",
|
1942
2306
|
"description": "If true, displays valid state after interaction",
|
1943
|
-
"type": "boolean
|
2307
|
+
"type": "boolean"
|
1944
2308
|
},
|
1945
2309
|
{
|
1946
2310
|
"name": "value",
|
@@ -1951,20 +2315,197 @@
|
|
1951
2315
|
"events": [
|
1952
2316
|
{
|
1953
2317
|
"name": "change",
|
1954
|
-
"
|
2318
|
+
"type": "Event",
|
2319
|
+
"description": "When the value of the input changes"
|
2320
|
+
}
|
2321
|
+
]
|
2322
|
+
}
|
2323
|
+
},
|
2324
|
+
{
|
2325
|
+
"name": "skf-segmented-button-item",
|
2326
|
+
"description": "The `<skf-segmented-button-item>` is used in conjunction with the `<skf-segmented-button>` component\n---\n\n\n### **Events:**\n - **skf-segmented-button-item-select** - Fired when selected\n\n### **Slots:**\n - _default_ - Label for the button",
|
2327
|
+
"doc-url": "",
|
2328
|
+
"attributes": [
|
2329
|
+
{
|
2330
|
+
"name": "disabled",
|
2331
|
+
"description": "If true, items is marked as disabled",
|
2332
|
+
"value": { "type": "boolean", "default": "false" }
|
2333
|
+
},
|
2334
|
+
{
|
2335
|
+
"name": "selected",
|
2336
|
+
"description": "If true, items is marked as selected",
|
2337
|
+
"value": { "type": "boolean", "default": "false" }
|
2338
|
+
},
|
2339
|
+
{
|
2340
|
+
"name": "value",
|
2341
|
+
"description": "Sets the item value",
|
2342
|
+
"value": { "type": "string", "default": "''" }
|
2343
|
+
}
|
2344
|
+
],
|
2345
|
+
"slots": [{ "name": "", "description": "Label for the button" }],
|
2346
|
+
"events": [
|
2347
|
+
{
|
2348
|
+
"name": "skf-segmented-button-item-select",
|
2349
|
+
"type": "CustomEvent",
|
2350
|
+
"description": "Fired when selected"
|
2351
|
+
}
|
2352
|
+
],
|
2353
|
+
"js": {
|
2354
|
+
"properties": [
|
2355
|
+
{
|
2356
|
+
"name": "disabled",
|
2357
|
+
"description": "If true, items is marked as disabled",
|
2358
|
+
"type": "boolean"
|
2359
|
+
},
|
2360
|
+
{
|
2361
|
+
"name": "selected",
|
2362
|
+
"description": "If true, items is marked as selected",
|
2363
|
+
"type": "boolean"
|
2364
|
+
},
|
2365
|
+
{
|
2366
|
+
"name": "value",
|
2367
|
+
"description": "Sets the item value",
|
2368
|
+
"type": "string"
|
2369
|
+
}
|
2370
|
+
],
|
2371
|
+
"events": [
|
2372
|
+
{
|
2373
|
+
"name": "skf-segmented-button-item-select",
|
2374
|
+
"type": "CustomEvent",
|
2375
|
+
"description": "Fired when selected"
|
1955
2376
|
}
|
1956
2377
|
]
|
1957
2378
|
}
|
1958
2379
|
},
|
2380
|
+
{
|
2381
|
+
"name": "skf-segmented-button",
|
2382
|
+
"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>`",
|
2383
|
+
"doc-url": "",
|
2384
|
+
"attributes": [
|
2385
|
+
{
|
2386
|
+
"name": "multiple",
|
2387
|
+
"description": "If true, allowes multiple items to be selected",
|
2388
|
+
"value": { "type": "boolean", "default": "false" }
|
2389
|
+
}
|
2390
|
+
],
|
2391
|
+
"slots": [
|
2392
|
+
{
|
2393
|
+
"name": "",
|
2394
|
+
"description": "One or more `<skf-segmented-button-item>`"
|
2395
|
+
}
|
2396
|
+
],
|
2397
|
+
"events": [],
|
2398
|
+
"js": {
|
2399
|
+
"properties": [
|
2400
|
+
{
|
2401
|
+
"name": "multiple",
|
2402
|
+
"description": "If true, allowes multiple items to be selected",
|
2403
|
+
"type": "boolean"
|
2404
|
+
}
|
2405
|
+
],
|
2406
|
+
"events": []
|
2407
|
+
}
|
2408
|
+
},
|
2409
|
+
{
|
2410
|
+
"name": "skf-select-option-group",
|
2411
|
+
"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",
|
2412
|
+
"doc-url": "",
|
2413
|
+
"attributes": [
|
2414
|
+
{
|
2415
|
+
"name": "label",
|
2416
|
+
"value": { "type": "string", "default": "'Default label'" }
|
2417
|
+
}
|
2418
|
+
],
|
2419
|
+
"slots": [
|
2420
|
+
{ "name": "", "description": "The component's placeholder content" }
|
2421
|
+
],
|
2422
|
+
"events": [],
|
2423
|
+
"js": {
|
2424
|
+
"properties": [
|
2425
|
+
{ "name": "label", "type": "string" },
|
2426
|
+
{ "name": "small", "type": "boolean" }
|
2427
|
+
],
|
2428
|
+
"events": []
|
2429
|
+
}
|
2430
|
+
},
|
2431
|
+
{
|
2432
|
+
"name": "skf-tag",
|
2433
|
+
"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",
|
2434
|
+
"doc-url": "",
|
2435
|
+
"attributes": [
|
2436
|
+
{
|
2437
|
+
"name": "size",
|
2438
|
+
"description": "Specifies Tag size",
|
2439
|
+
"value": { "type": "Size", "default": "'md'" }
|
2440
|
+
},
|
2441
|
+
{
|
2442
|
+
"name": "icon",
|
2443
|
+
"description": "If defined, displays leading/provided icon",
|
2444
|
+
"value": { "type": "Icon | undefined" }
|
2445
|
+
},
|
2446
|
+
{
|
2447
|
+
"name": "color",
|
2448
|
+
"description": "If defined, gives the supplied appearance",
|
2449
|
+
"value": { "type": "Severity | undefined" }
|
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": "Size"
|
2467
|
+
},
|
2468
|
+
{
|
2469
|
+
"name": "icon",
|
2470
|
+
"description": "If defined, displays leading/provided icon",
|
2471
|
+
"type": "Icon | undefined"
|
2472
|
+
},
|
2473
|
+
{
|
2474
|
+
"name": "color",
|
2475
|
+
"description": "If defined, gives the supplied appearance",
|
2476
|
+
"type": "Severity | undefined"
|
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
|
+
},
|
1959
2495
|
{
|
1960
2496
|
"name": "skf-select",
|
1961
|
-
"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
|
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\nSee [zeroheight](https://zeroheight.com/853e936c9/p/91c9f0-select-and-combobox) for design principles\n---\n\n\n### **Events:**\n - **change** - Fired when the selected option(s) changes\n- **invalid** - Fired when the select is invalid\n- **reset** - Fired when the form is reset\n- **skf-select-dropdown** - {detail: {expanded: boolean}} Fired when the select dropdown is toggled\n- **skf-select-option-select** - {detail: {value: string | null, option: SkfSelectOption}} Fired when the select dropdown is toggled\n\n### **Slots:**\n - _default_ - The select's placeholder content",
|
1962
2498
|
"doc-url": "",
|
1963
2499
|
"attributes": [
|
1964
2500
|
{
|
1965
2501
|
"name": "disabled",
|
1966
|
-
"description": "If true, the select is disabled
|
1967
|
-
"value": { "type": "boolean" }
|
2502
|
+
"description": "If true, the select is disabled",
|
2503
|
+
"value": { "type": "boolean", "default": "false" }
|
2504
|
+
},
|
2505
|
+
{
|
2506
|
+
"name": "required",
|
2507
|
+
"description": "If true, the select is required",
|
2508
|
+
"value": { "type": "boolean", "default": "false" }
|
1968
2509
|
},
|
1969
2510
|
{
|
1970
2511
|
"name": "button-label",
|
@@ -1979,12 +2520,12 @@
|
|
1979
2520
|
{
|
1980
2521
|
"name": "hide-label",
|
1981
2522
|
"description": "If true, hides the label visually",
|
1982
|
-
"value": { "type": "boolean
|
2523
|
+
"value": { "type": "boolean", "default": "false" }
|
1983
2524
|
},
|
1984
2525
|
{
|
1985
2526
|
"name": "hide-tags",
|
1986
2527
|
"description": "If true and mulltiple is true, no tags are displayed under the select",
|
1987
|
-
"value": { "type": "boolean
|
2528
|
+
"value": { "type": "boolean", "default": "false" }
|
1988
2529
|
},
|
1989
2530
|
{
|
1990
2531
|
"name": "hint",
|
@@ -2009,7 +2550,7 @@
|
|
2009
2550
|
{
|
2010
2551
|
"name": "multiple",
|
2011
2552
|
"description": "If true, allows for multiple options to be selected",
|
2012
|
-
"value": { "type": "boolean
|
2553
|
+
"value": { "type": "boolean", "default": "false" }
|
2013
2554
|
},
|
2014
2555
|
{
|
2015
2556
|
"name": "name",
|
@@ -2024,12 +2565,12 @@
|
|
2024
2565
|
{
|
2025
2566
|
"name": "severity",
|
2026
2567
|
"description": "If defined, displays provided severity state",
|
2027
|
-
"value": { "type": "
|
2568
|
+
"value": { "type": "FormFieldSeverity | undefined" }
|
2028
2569
|
},
|
2029
2570
|
{
|
2030
2571
|
"name": "show-valid",
|
2031
2572
|
"description": "If true, displays valid state after interaction",
|
2032
|
-
"value": { "type": "boolean
|
2573
|
+
"value": { "type": "boolean", "default": "false" }
|
2033
2574
|
},
|
2034
2575
|
{
|
2035
2576
|
"name": "size",
|
@@ -2043,19 +2584,27 @@
|
|
2043
2584
|
"events": [
|
2044
2585
|
{
|
2045
2586
|
"name": "change",
|
2587
|
+
"type": "Event",
|
2046
2588
|
"description": "Fired when the selected option(s) changes"
|
2047
2589
|
},
|
2048
2590
|
{
|
2049
2591
|
"name": "invalid",
|
2592
|
+
"type": "Event",
|
2050
2593
|
"description": "Fired when the select is invalid"
|
2051
2594
|
},
|
2052
|
-
{ "name": "reset", "description": "Fired when the form is reset" },
|
2053
2595
|
{
|
2054
|
-
"name": "
|
2596
|
+
"name": "reset",
|
2597
|
+
"type": "Event",
|
2598
|
+
"description": "Fired when the form is reset"
|
2599
|
+
},
|
2600
|
+
{
|
2601
|
+
"name": "skf-select-dropdown",
|
2602
|
+
"type": "CustomEvent",
|
2055
2603
|
"description": "{detail: {expanded: boolean}} Fired when the select dropdown is toggled"
|
2056
2604
|
},
|
2057
2605
|
{
|
2058
|
-
"name": "skf-select-option
|
2606
|
+
"name": "skf-select-option-select",
|
2607
|
+
"type": "CustomEvent",
|
2059
2608
|
"description": "{detail: {value: string | null, option: SkfSelectOption}} Fired when the select dropdown is toggled"
|
2060
2609
|
}
|
2061
2610
|
],
|
@@ -2074,12 +2623,12 @@
|
|
2074
2623
|
{
|
2075
2624
|
"name": "hideLabel",
|
2076
2625
|
"description": "If true, hides the label visually",
|
2077
|
-
"type": "boolean
|
2626
|
+
"type": "boolean"
|
2078
2627
|
},
|
2079
2628
|
{
|
2080
2629
|
"name": "hideTags",
|
2081
2630
|
"description": "If true and mulltiple is true, no tags are displayed under the select",
|
2082
|
-
"type": "boolean
|
2631
|
+
"type": "boolean"
|
2083
2632
|
},
|
2084
2633
|
{
|
2085
2634
|
"name": "hint",
|
@@ -2112,7 +2661,7 @@
|
|
2112
2661
|
{
|
2113
2662
|
"name": "multiple",
|
2114
2663
|
"description": "If true, allows for multiple options to be selected",
|
2115
|
-
"type": "boolean
|
2664
|
+
"type": "boolean"
|
2116
2665
|
},
|
2117
2666
|
{
|
2118
2667
|
"name": "name",
|
@@ -2127,12 +2676,12 @@
|
|
2127
2676
|
{
|
2128
2677
|
"name": "severity",
|
2129
2678
|
"description": "If defined, displays provided severity state",
|
2130
|
-
"type": "
|
2679
|
+
"type": "FormFieldSeverity | undefined"
|
2131
2680
|
},
|
2132
2681
|
{
|
2133
2682
|
"name": "showValid",
|
2134
2683
|
"description": "If true, displays valid state after interaction",
|
2135
|
-
"type": "boolean
|
2684
|
+
"type": "boolean"
|
2136
2685
|
},
|
2137
2686
|
{
|
2138
2687
|
"name": "size",
|
@@ -2148,22 +2697,27 @@
|
|
2148
2697
|
"events": [
|
2149
2698
|
{
|
2150
2699
|
"name": "change",
|
2700
|
+
"type": "Event",
|
2151
2701
|
"description": "Fired when the selected option(s) changes"
|
2152
2702
|
},
|
2153
2703
|
{
|
2154
2704
|
"name": "invalid",
|
2705
|
+
"type": "Event",
|
2155
2706
|
"description": "Fired when the select is invalid"
|
2156
2707
|
},
|
2157
2708
|
{
|
2158
2709
|
"name": "reset",
|
2710
|
+
"type": "Event",
|
2159
2711
|
"description": "Fired when the form is reset"
|
2160
2712
|
},
|
2161
2713
|
{
|
2162
|
-
"name": "skf-select
|
2714
|
+
"name": "skf-select-dropdown",
|
2715
|
+
"type": "CustomEvent",
|
2163
2716
|
"description": "{detail: {expanded: boolean}} Fired when the select dropdown is toggled"
|
2164
2717
|
},
|
2165
2718
|
{
|
2166
|
-
"name": "skf-select-option
|
2719
|
+
"name": "skf-select-option-select",
|
2720
|
+
"type": "CustomEvent",
|
2167
2721
|
"description": "{detail: {value: string | null, option: SkfSelectOption}} Fired when the select dropdown is toggled"
|
2168
2722
|
}
|
2169
2723
|
]
|
@@ -2171,28 +2725,28 @@
|
|
2171
2725
|
},
|
2172
2726
|
{
|
2173
2727
|
"name": "skf-select-option",
|
2174
|
-
"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
|
2728
|
+
"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).",
|
2175
2729
|
"doc-url": "",
|
2176
2730
|
"attributes": [
|
2177
2731
|
{
|
2178
2732
|
"name": "disabled",
|
2179
2733
|
"description": "If true, prevents interaction with the option",
|
2180
|
-
"value": { "type": "boolean
|
2734
|
+
"value": { "type": "boolean", "default": "false" }
|
2181
2735
|
},
|
2182
2736
|
{
|
2183
2737
|
"name": "icon",
|
2184
2738
|
"description": "If defined, set an icon",
|
2185
|
-
"value": { "type": "
|
2739
|
+
"value": { "type": "Icon | undefined" }
|
2186
2740
|
},
|
2187
2741
|
{
|
2188
2742
|
"name": "icon-color",
|
2189
2743
|
"description": "If defined, sets provided color on the icon",
|
2190
|
-
"value": { "type": "
|
2744
|
+
"value": { "type": "IconColor | undefined" }
|
2191
2745
|
},
|
2192
2746
|
{
|
2193
2747
|
"name": "selected",
|
2194
2748
|
"description": "If true, sets the option as selected",
|
2195
|
-
"value": { "type": "boolean
|
2749
|
+
"value": { "type": "boolean", "default": "false" }
|
2196
2750
|
},
|
2197
2751
|
{
|
2198
2752
|
"name": "short-label",
|
@@ -2214,7 +2768,7 @@
|
|
2214
2768
|
],
|
2215
2769
|
"events": [
|
2216
2770
|
{
|
2217
|
-
"name": "skf-select-option
|
2771
|
+
"name": "skf-select-option-select",
|
2218
2772
|
"description": "{detail: { value: string | null, option: SkfSelectOption }} Fires when the option is selected/deselected."
|
2219
2773
|
}
|
2220
2774
|
],
|
@@ -2223,22 +2777,22 @@
|
|
2223
2777
|
{
|
2224
2778
|
"name": "disabled",
|
2225
2779
|
"description": "If true, prevents interaction with the option",
|
2226
|
-
"type": "boolean
|
2780
|
+
"type": "boolean"
|
2227
2781
|
},
|
2228
2782
|
{
|
2229
2783
|
"name": "icon",
|
2230
2784
|
"description": "If defined, set an icon",
|
2231
|
-
"type": "
|
2785
|
+
"type": "Icon | undefined"
|
2232
2786
|
},
|
2233
2787
|
{
|
2234
2788
|
"name": "iconColor",
|
2235
2789
|
"description": "If defined, sets provided color on the icon",
|
2236
|
-
"type": "
|
2790
|
+
"type": "IconColor | undefined"
|
2237
2791
|
},
|
2238
2792
|
{
|
2239
2793
|
"name": "selected",
|
2240
2794
|
"description": "If true, sets the option as selected",
|
2241
|
-
"type": "boolean
|
2795
|
+
"type": "boolean"
|
2242
2796
|
},
|
2243
2797
|
{
|
2244
2798
|
"name": "shortLabel",
|
@@ -2253,56 +2807,38 @@
|
|
2253
2807
|
"name": "value",
|
2254
2808
|
"description": "Returns or sets the tags value. If value is omitted, defaults to the tags text."
|
2255
2809
|
},
|
2810
|
+
{ "name": "small", "type": "boolean" },
|
2256
2811
|
{ "name": "role", "type": "string" },
|
2257
2812
|
{ "name": "_parent" },
|
2258
2813
|
{ "name": "_shortcutUpdate", "type": "boolean" }
|
2259
2814
|
],
|
2260
2815
|
"events": [
|
2261
2816
|
{
|
2262
|
-
"name": "skf-select-option
|
2817
|
+
"name": "skf-select-option-select",
|
2263
2818
|
"description": "{detail: { value: string | null, option: SkfSelectOption }} Fires when the option is selected/deselected."
|
2264
2819
|
}
|
2265
2820
|
]
|
2266
2821
|
}
|
2267
2822
|
},
|
2268
2823
|
{
|
2269
|
-
"name": "skf-
|
2270
|
-
"description": "The `<skf-
|
2271
|
-
"doc-url": "",
|
2272
|
-
"attributes": [
|
2273
|
-
{
|
2274
|
-
"name": "label",
|
2275
|
-
"value": { "type": "string", "default": "'Default label'" }
|
2276
|
-
}
|
2277
|
-
],
|
2278
|
-
"slots": [
|
2279
|
-
{ "name": "", "description": "The component's placeholder content" }
|
2280
|
-
],
|
2281
|
-
"events": [],
|
2282
|
-
"js": {
|
2283
|
-
"properties": [{ "name": "label", "type": "string" }],
|
2284
|
-
"events": []
|
2285
|
-
}
|
2286
|
-
},
|
2287
|
-
{
|
2288
|
-
"name": "skf-stepper",
|
2289
|
-
"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>`",
|
2824
|
+
"name": "skf-stepper-item",
|
2825
|
+
"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",
|
2290
2826
|
"doc-url": "",
|
2291
2827
|
"attributes": [
|
2292
2828
|
{
|
2293
|
-
"name": "
|
2294
|
-
"description": "
|
2295
|
-
"value": {
|
2829
|
+
"name": "state",
|
2830
|
+
"description": "If defined, gives the supplied appearance",
|
2831
|
+
"value": {
|
2832
|
+
"type": "Extract<SkfStepperItemState, 'active' | 'completed'> | undefined"
|
2833
|
+
}
|
2296
2834
|
},
|
2297
2835
|
{
|
2298
|
-
"name": "
|
2299
|
-
"description": "If true,
|
2836
|
+
"name": "completed",
|
2837
|
+
"description": "If true, item marked as completed",
|
2300
2838
|
"value": { "type": "boolean", "default": "false" }
|
2301
2839
|
}
|
2302
2840
|
],
|
2303
|
-
"slots": [
|
2304
|
-
{ "name": "", "description": "One or more `<skf-stepper-item>`" }
|
2305
|
-
],
|
2841
|
+
"slots": [{ "name": "", "description": "Label of the stepper item" }],
|
2306
2842
|
"events": [
|
2307
2843
|
{
|
2308
2844
|
"name": "skf-stepper-item-select",
|
@@ -2312,15 +2848,17 @@
|
|
2312
2848
|
"js": {
|
2313
2849
|
"properties": [
|
2314
2850
|
{
|
2315
|
-
"name": "
|
2316
|
-
"description": "
|
2317
|
-
"type": "
|
2851
|
+
"name": "state",
|
2852
|
+
"description": "If defined, gives the supplied appearance",
|
2853
|
+
"type": "Extract<SkfStepperItemState, 'active' | 'completed'> | undefined"
|
2318
2854
|
},
|
2319
2855
|
{
|
2320
|
-
"name": "
|
2321
|
-
"description": "If true,
|
2856
|
+
"name": "completed",
|
2857
|
+
"description": "If true, item marked as completed",
|
2322
2858
|
"type": "boolean"
|
2323
|
-
}
|
2859
|
+
},
|
2860
|
+
{ "name": "_setInternalState" },
|
2861
|
+
{ "name": "role", "type": "string" }
|
2324
2862
|
],
|
2325
2863
|
"events": [
|
2326
2864
|
{
|
@@ -2331,48 +2869,48 @@
|
|
2331
2869
|
}
|
2332
2870
|
},
|
2333
2871
|
{
|
2334
|
-
"name": "skf-stepper
|
2335
|
-
"description": "The `<skf-stepper
|
2872
|
+
"name": "skf-stepper",
|
2873
|
+
"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>`",
|
2336
2874
|
"doc-url": "",
|
2337
2875
|
"attributes": [
|
2338
2876
|
{
|
2339
|
-
"name": "
|
2340
|
-
"description": "
|
2341
|
-
"value": {
|
2342
|
-
"type": "Extract<SkfStepperItemState, 'active' | 'completed'> | undefined"
|
2343
|
-
}
|
2877
|
+
"name": "active-index",
|
2878
|
+
"description": "Sets the active item",
|
2879
|
+
"value": { "type": "number", "default": "-1" }
|
2344
2880
|
},
|
2345
2881
|
{
|
2346
|
-
"name": "
|
2347
|
-
"description": "If true,
|
2882
|
+
"name": "linear",
|
2883
|
+
"description": "If true, sets linear mode (user can't go back to completed steps due to dependencies)",
|
2348
2884
|
"value": { "type": "boolean", "default": "false" }
|
2349
2885
|
}
|
2350
2886
|
],
|
2351
|
-
"slots": [
|
2887
|
+
"slots": [
|
2888
|
+
{ "name": "", "description": "One or more `<skf-stepper-item>`" }
|
2889
|
+
],
|
2352
2890
|
"events": [
|
2353
2891
|
{
|
2354
2892
|
"name": "skf-stepper-item-select",
|
2893
|
+
"type": "CustomEvent",
|
2355
2894
|
"description": "Dispatched when the stepper item is selected"
|
2356
2895
|
}
|
2357
2896
|
],
|
2358
2897
|
"js": {
|
2359
2898
|
"properties": [
|
2360
2899
|
{
|
2361
|
-
"name": "
|
2362
|
-
"description": "
|
2363
|
-
"type": "
|
2900
|
+
"name": "activeIndex",
|
2901
|
+
"description": "Sets the active item",
|
2902
|
+
"type": "number"
|
2364
2903
|
},
|
2365
2904
|
{
|
2366
|
-
"name": "
|
2367
|
-
"description": "If true,
|
2905
|
+
"name": "linear",
|
2906
|
+
"description": "If true, sets linear mode (user can't go back to completed steps due to dependencies)",
|
2368
2907
|
"type": "boolean"
|
2369
|
-
}
|
2370
|
-
{ "name": "_setInternalState" },
|
2371
|
-
{ "name": "role", "type": "string" }
|
2908
|
+
}
|
2372
2909
|
],
|
2373
2910
|
"events": [
|
2374
2911
|
{
|
2375
2912
|
"name": "skf-stepper-item-select",
|
2913
|
+
"type": "CustomEvent",
|
2376
2914
|
"description": "Dispatched when the stepper item is selected"
|
2377
2915
|
}
|
2378
2916
|
]
|
@@ -2380,33 +2918,33 @@
|
|
2380
2918
|
},
|
2381
2919
|
{
|
2382
2920
|
"name": "skf-switch",
|
2383
|
-
"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.",
|
2921
|
+
"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.",
|
2384
2922
|
"doc-url": "",
|
2385
2923
|
"attributes": [
|
2386
2924
|
{
|
2387
2925
|
"name": "disabled",
|
2388
2926
|
"description": "If true, sets disabled state",
|
2389
|
-
"value": { "type": "boolean" }
|
2927
|
+
"value": { "type": "boolean", "default": "false" }
|
2390
2928
|
},
|
2391
2929
|
{
|
2392
2930
|
"name": "required",
|
2393
2931
|
"description": "If true, value is required or must be checked for the form to be submittable",
|
2394
|
-
"value": { "type": "boolean" }
|
2932
|
+
"value": { "type": "boolean", "default": "false" }
|
2395
2933
|
},
|
2396
2934
|
{
|
2397
2935
|
"name": "debug",
|
2398
2936
|
"description": "If true, outputs helping hints in console",
|
2399
|
-
"value": { "type": "boolean
|
2937
|
+
"value": { "type": "boolean", "default": "false" }
|
2400
2938
|
},
|
2401
2939
|
{
|
2402
2940
|
"name": "checked",
|
2403
2941
|
"description": "If true, outputs helping hints in console",
|
2404
|
-
"value": { "type": "boolean
|
2942
|
+
"value": { "type": "boolean", "default": "false" }
|
2405
2943
|
},
|
2406
2944
|
{
|
2407
2945
|
"name": "hide-label",
|
2408
2946
|
"description": "If true, hides the label visually",
|
2409
|
-
"value": { "type": "boolean
|
2947
|
+
"value": { "type": "boolean", "default": "false" }
|
2410
2948
|
},
|
2411
2949
|
{
|
2412
2950
|
"name": "label",
|
@@ -2446,17 +2984,17 @@
|
|
2446
2984
|
{
|
2447
2985
|
"name": "debug",
|
2448
2986
|
"description": "If true, outputs helping hints in console",
|
2449
|
-
"type": "boolean
|
2987
|
+
"type": "boolean"
|
2450
2988
|
},
|
2451
2989
|
{
|
2452
2990
|
"name": "checked",
|
2453
2991
|
"description": "If true, outputs helping hints in console",
|
2454
|
-
"type": "boolean
|
2992
|
+
"type": "boolean"
|
2455
2993
|
},
|
2456
2994
|
{
|
2457
2995
|
"name": "hideLabel",
|
2458
2996
|
"description": "If true, hides the label visually",
|
2459
|
-
"type": "boolean
|
2997
|
+
"type": "boolean"
|
2460
2998
|
},
|
2461
2999
|
{
|
2462
3000
|
"name": "label",
|
@@ -2488,55 +3026,34 @@
|
|
2488
3026
|
}
|
2489
3027
|
},
|
2490
3028
|
{
|
2491
|
-
"name": "skf-tab",
|
2492
|
-
"description": "The `<skf-tab>` is a component that displays a list of actions or options
|
3029
|
+
"name": "skf-tab-panel",
|
3030
|
+
"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",
|
2493
3031
|
"doc-url": "",
|
2494
3032
|
"attributes": [
|
2495
3033
|
{
|
2496
|
-
"name": "
|
2497
|
-
"description": "The
|
3034
|
+
"name": "name",
|
3035
|
+
"description": "The tab panel's name.",
|
2498
3036
|
"value": { "type": "string", "default": "''" }
|
2499
3037
|
}
|
2500
3038
|
],
|
2501
|
-
"slots": [{ "name": "", "description": "The tab's
|
2502
|
-
"events": [
|
2503
|
-
{
|
2504
|
-
"name": "skf-tab-select",
|
2505
|
-
"type": "CustomEvent",
|
2506
|
-
"description": "{detail: { selected: true, tab: SkfTab }} Fires when the tab is selected"
|
2507
|
-
},
|
2508
|
-
{
|
2509
|
-
"name": "click",
|
2510
|
-
"description": "Fired when the component is clicked"
|
2511
|
-
}
|
2512
|
-
],
|
3039
|
+
"slots": [{ "name": "", "description": "The tab panel's content" }],
|
3040
|
+
"events": [],
|
2513
3041
|
"js": {
|
2514
3042
|
"properties": [
|
2515
3043
|
{
|
2516
|
-
"name": "
|
2517
|
-
"description": "The
|
3044
|
+
"name": "name",
|
3045
|
+
"description": "The tab panel's name.",
|
2518
3046
|
"type": "string"
|
2519
3047
|
},
|
2520
|
-
{ "name": "
|
2521
|
-
{ "name": "variant", "type": "SkfTabGroup['variant']" },
|
3048
|
+
{ "name": "active", "type": "boolean" },
|
2522
3049
|
{ "name": "role", "type": "string" }
|
2523
3050
|
],
|
2524
|
-
"events": [
|
2525
|
-
{
|
2526
|
-
"name": "skf-tab-select",
|
2527
|
-
"type": "CustomEvent",
|
2528
|
-
"description": "{detail: { selected: true, tab: SkfTab }} Fires when the tab is selected"
|
2529
|
-
},
|
2530
|
-
{
|
2531
|
-
"name": "click",
|
2532
|
-
"description": "Fired when the component is clicked"
|
2533
|
-
}
|
2534
|
-
]
|
3051
|
+
"events": []
|
2535
3052
|
}
|
2536
3053
|
},
|
2537
3054
|
{
|
2538
|
-
"name": "skf-
|
2539
|
-
"description": "The `<skf-
|
3055
|
+
"name": "skf-tabs",
|
3056
|
+
"description": "The `<skf-tabs>` is a component that displays a list of actions or options\n---\n\n\n### **Slots:**\n - _default_ - Used for grouping tab panels in the tab group. Must be <skf-tab-panel> elements\n- **tabs** - Used for grouping tabs in the tab group. Must be <skf-tab> elements",
|
2540
3057
|
"doc-url": "",
|
2541
3058
|
"attributes": [
|
2542
3059
|
{
|
@@ -2611,97 +3128,50 @@
|
|
2611
3128
|
}
|
2612
3129
|
},
|
2613
3130
|
{
|
2614
|
-
"name": "skf-tab
|
2615
|
-
"description": "The `<skf-tab
|
3131
|
+
"name": "skf-tab",
|
3132
|
+
"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",
|
2616
3133
|
"doc-url": "",
|
2617
3134
|
"attributes": [
|
2618
3135
|
{
|
2619
|
-
"name": "
|
2620
|
-
"description": "The tab panel
|
3136
|
+
"name": "panel",
|
3137
|
+
"description": "The name of the tab-panel this tab is associated with. The panel must be located in the same tab group.",
|
2621
3138
|
"value": { "type": "string", "default": "''" }
|
2622
3139
|
}
|
2623
3140
|
],
|
2624
|
-
"slots": [{ "name": "", "description": "The tab
|
2625
|
-
"events": [
|
2626
|
-
"js": {
|
2627
|
-
"properties": [
|
2628
|
-
{
|
2629
|
-
"name": "name",
|
2630
|
-
"description": "The tab panel's name.",
|
2631
|
-
"type": "string"
|
2632
|
-
},
|
2633
|
-
{ "name": "active", "type": "boolean" },
|
2634
|
-
{ "name": "role", "type": "string" }
|
2635
|
-
],
|
2636
|
-
"events": []
|
2637
|
-
}
|
2638
|
-
},
|
2639
|
-
{
|
2640
|
-
"name": "skf-tag",
|
2641
|
-
"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",
|
2642
|
-
"doc-url": "",
|
2643
|
-
"attributes": [
|
2644
|
-
{
|
2645
|
-
"name": "size",
|
2646
|
-
"description": "Specifies Tag size",
|
2647
|
-
"value": { "type": "'sm' | 'md' | 'lg'", "default": "'md'" }
|
2648
|
-
},
|
2649
|
-
{
|
2650
|
-
"name": "icon",
|
2651
|
-
"description": "If defined, displays leading/provided icon",
|
2652
|
-
"value": {
|
2653
|
-
"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\""
|
2654
|
-
}
|
2655
|
-
},
|
3141
|
+
"slots": [{ "name": "", "description": "The tab's label" }],
|
3142
|
+
"events": [
|
2656
3143
|
{
|
2657
|
-
"name": "
|
2658
|
-
"
|
2659
|
-
"
|
2660
|
-
"type": "\"warning\" | \"success\" | \"info\" | \"error\" | \"alert\""
|
2661
|
-
}
|
3144
|
+
"name": "skf-tab-select",
|
3145
|
+
"type": "CustomEvent",
|
3146
|
+
"description": "{detail: { selected: true, tab: SkfTab }} Fires when the tab is selected"
|
2662
3147
|
},
|
2663
3148
|
{
|
2664
|
-
"name": "
|
2665
|
-
"description": "
|
2666
|
-
"value": { "type": "boolean | undefined" }
|
3149
|
+
"name": "click",
|
3150
|
+
"description": "Fired when the component is clicked"
|
2667
3151
|
}
|
2668
3152
|
],
|
2669
|
-
"slots": [
|
2670
|
-
{ "name": "", "description": "The component's placeholder content" }
|
2671
|
-
],
|
2672
|
-
"events": [],
|
2673
3153
|
"js": {
|
2674
3154
|
"properties": [
|
2675
3155
|
{
|
2676
|
-
"name": "
|
2677
|
-
"description": "
|
2678
|
-
"type": "
|
2679
|
-
},
|
2680
|
-
{
|
2681
|
-
"name": "icon",
|
2682
|
-
"description": "If defined, displays leading/provided icon",
|
2683
|
-
"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\""
|
2684
|
-
},
|
2685
|
-
{
|
2686
|
-
"name": "color",
|
2687
|
-
"description": "If defined, gives the supplied appearance",
|
2688
|
-
"type": "\"warning\" | \"success\" | \"info\" | \"error\" | \"alert\""
|
2689
|
-
},
|
2690
|
-
{
|
2691
|
-
"name": "onClick",
|
2692
|
-
"description": "If defined, accepts a function that runs on click"
|
3156
|
+
"name": "panel",
|
3157
|
+
"description": "The name of the tab-panel this tab is associated with. The panel must be located in the same tab group.",
|
3158
|
+
"type": "string"
|
2693
3159
|
},
|
3160
|
+
{ "name": "selected", "type": "boolean" },
|
3161
|
+
{ "name": "variant", "type": "SkfTabs['variant']" },
|
3162
|
+
{ "name": "role", "type": "string" }
|
3163
|
+
],
|
3164
|
+
"events": [
|
2694
3165
|
{
|
2695
|
-
"name": "
|
2696
|
-
"
|
3166
|
+
"name": "skf-tab-select",
|
3167
|
+
"type": "CustomEvent",
|
3168
|
+
"description": "{detail: { selected: true, tab: SkfTab }} Fires when the tab is selected"
|
2697
3169
|
},
|
2698
3170
|
{
|
2699
|
-
"name": "
|
2700
|
-
"description": "
|
2701
|
-
"type": "boolean | undefined"
|
3171
|
+
"name": "click",
|
3172
|
+
"description": "Fired when the component is clicked"
|
2702
3173
|
}
|
2703
|
-
]
|
2704
|
-
"events": []
|
3174
|
+
]
|
2705
3175
|
}
|
2706
3176
|
},
|
2707
3177
|
{
|
@@ -2712,12 +3182,12 @@
|
|
2712
3182
|
{
|
2713
3183
|
"name": "disabled",
|
2714
3184
|
"description": "If true, sets disabled state",
|
2715
|
-
"value": { "type": "boolean" }
|
3185
|
+
"value": { "type": "boolean", "default": "false" }
|
2716
3186
|
},
|
2717
3187
|
{
|
2718
3188
|
"name": "required",
|
2719
3189
|
"description": "If true, value is required or must be checked for the form to be submittable",
|
2720
|
-
"value": { "type": "boolean" }
|
3190
|
+
"value": { "type": "boolean", "default": "false" }
|
2721
3191
|
},
|
2722
3192
|
{
|
2723
3193
|
"name": "cols",
|
@@ -2732,12 +3202,12 @@
|
|
2732
3202
|
{
|
2733
3203
|
"name": "debug",
|
2734
3204
|
"description": "If true, outputs helping hints in console",
|
2735
|
-
"value": { "type": "boolean
|
3205
|
+
"value": { "type": "boolean", "default": "false" }
|
2736
3206
|
},
|
2737
3207
|
{
|
2738
3208
|
"name": "hide-label",
|
2739
3209
|
"description": "If true, hides the label visually",
|
2740
|
-
"value": { "type": "boolean
|
3210
|
+
"value": { "type": "boolean", "default": "false" }
|
2741
3211
|
},
|
2742
3212
|
{
|
2743
3213
|
"name": "hint",
|
@@ -2772,7 +3242,7 @@
|
|
2772
3242
|
{
|
2773
3243
|
"name": "readonly",
|
2774
3244
|
"description": "If true, makes the element not mutable, meaning the user can not edit the control",
|
2775
|
-
"value": { "type": "boolean
|
3245
|
+
"value": { "type": "boolean", "default": "false" }
|
2776
3246
|
},
|
2777
3247
|
{
|
2778
3248
|
"name": "required-label",
|
@@ -2787,14 +3257,12 @@
|
|
2787
3257
|
{
|
2788
3258
|
"name": "severity",
|
2789
3259
|
"description": "If defined, displays provided severity state",
|
2790
|
-
"value": {
|
2791
|
-
"type": "\"success\" | \"info\" | \"warning\" | \"alert\""
|
2792
|
-
}
|
3260
|
+
"value": { "type": "FormFieldSeverity | undefined" }
|
2793
3261
|
},
|
2794
3262
|
{
|
2795
3263
|
"name": "show-valid",
|
2796
3264
|
"description": "If true, displays valid state after interaction",
|
2797
|
-
"value": { "type": "boolean
|
3265
|
+
"value": { "type": "boolean", "default": "false" }
|
2798
3266
|
},
|
2799
3267
|
{
|
2800
3268
|
"name": "size",
|
@@ -2845,12 +3313,12 @@
|
|
2845
3313
|
{
|
2846
3314
|
"name": "debug",
|
2847
3315
|
"description": "If true, outputs helping hints in console",
|
2848
|
-
"type": "boolean
|
3316
|
+
"type": "boolean"
|
2849
3317
|
},
|
2850
3318
|
{
|
2851
3319
|
"name": "hideLabel",
|
2852
3320
|
"description": "If true, hides the label visually",
|
2853
|
-
"type": "boolean
|
3321
|
+
"type": "boolean"
|
2854
3322
|
},
|
2855
3323
|
{
|
2856
3324
|
"name": "hint",
|
@@ -2885,7 +3353,7 @@
|
|
2885
3353
|
{
|
2886
3354
|
"name": "readonly",
|
2887
3355
|
"description": "If true, makes the element not mutable, meaning the user can not edit the control",
|
2888
|
-
"type": "boolean
|
3356
|
+
"type": "boolean"
|
2889
3357
|
},
|
2890
3358
|
{
|
2891
3359
|
"name": "requiredLabel",
|
@@ -2900,12 +3368,12 @@
|
|
2900
3368
|
{
|
2901
3369
|
"name": "severity",
|
2902
3370
|
"description": "If defined, displays provided severity state",
|
2903
|
-
"type": "
|
3371
|
+
"type": "FormFieldSeverity | undefined"
|
2904
3372
|
},
|
2905
3373
|
{
|
2906
3374
|
"name": "showValid",
|
2907
3375
|
"description": "If true, displays valid state after interaction",
|
2908
|
-
"type": "boolean
|
3376
|
+
"type": "boolean"
|
2909
3377
|
},
|
2910
3378
|
{
|
2911
3379
|
"name": "size",
|
@@ -2935,27 +3403,51 @@
|
|
2935
3403
|
]
|
2936
3404
|
}
|
2937
3405
|
},
|
3406
|
+
{
|
3407
|
+
"name": "skf-toast-wrapper",
|
3408
|
+
"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.",
|
3409
|
+
"doc-url": "",
|
3410
|
+
"attributes": [
|
3411
|
+
{
|
3412
|
+
"name": "debug",
|
3413
|
+
"value": { "type": "boolean", "default": "false" }
|
3414
|
+
}
|
3415
|
+
],
|
3416
|
+
"slots": [
|
3417
|
+
{
|
3418
|
+
"name": "",
|
3419
|
+
"description": "The alert components that the toast creates will render here."
|
3420
|
+
}
|
3421
|
+
],
|
3422
|
+
"events": [],
|
3423
|
+
"js": {
|
3424
|
+
"properties": [{ "name": "debug", "type": "boolean" }],
|
3425
|
+
"events": []
|
3426
|
+
}
|
3427
|
+
},
|
2938
3428
|
{
|
2939
3429
|
"name": "skf-toast",
|
2940
|
-
"description": "A simple toast component that displays a message to the user.
|
3430
|
+
"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",
|
2941
3431
|
"doc-url": "",
|
2942
3432
|
"attributes": [
|
2943
3433
|
{
|
2944
|
-
"name": "
|
2945
|
-
"description": "If provided, adds a close button to the toast and will not disapear until user actively dismisses it.",
|
3434
|
+
"name": "debug",
|
2946
3435
|
"value": { "type": "boolean", "default": "false" }
|
2947
3436
|
},
|
2948
3437
|
{
|
2949
|
-
"name": "
|
3438
|
+
"name": "icon",
|
3439
|
+
"description": "If defined, displays leading icon",
|
3440
|
+
"value": { "type": "Icon | undefined" }
|
3441
|
+
},
|
3442
|
+
{
|
3443
|
+
"name": "persistent",
|
3444
|
+
"description": "If true, renders with an close button and sets aria-role to `status`",
|
2950
3445
|
"value": { "type": "boolean", "default": "false" }
|
2951
3446
|
},
|
2952
3447
|
{
|
2953
3448
|
"name": "severity",
|
2954
|
-
"description": "
|
2955
|
-
"value": {
|
2956
|
-
"type": "'info' | 'success' | 'warning' | 'error'",
|
2957
|
-
"default": "'info'"
|
2958
|
-
}
|
3449
|
+
"description": "If defined, gives the supplied appearance",
|
3450
|
+
"value": { "type": "Severity", "default": "'info'" }
|
2959
3451
|
},
|
2960
3452
|
{
|
2961
3453
|
"name": "timer",
|
@@ -2974,16 +3466,21 @@
|
|
2974
3466
|
"events": [],
|
2975
3467
|
"js": {
|
2976
3468
|
"properties": [
|
3469
|
+
{ "name": "debug", "type": "boolean" },
|
3470
|
+
{
|
3471
|
+
"name": "icon",
|
3472
|
+
"description": "If defined, displays leading icon",
|
3473
|
+
"type": "Icon | undefined"
|
3474
|
+
},
|
2977
3475
|
{
|
2978
|
-
"name": "
|
2979
|
-
"description": "If
|
3476
|
+
"name": "persistent",
|
3477
|
+
"description": "If true, renders with an close button and sets aria-role to `status`",
|
2980
3478
|
"type": "boolean"
|
2981
3479
|
},
|
2982
|
-
{ "name": "debug", "type": "boolean" },
|
2983
3480
|
{
|
2984
3481
|
"name": "severity",
|
2985
|
-
"description": "
|
2986
|
-
"type": "
|
3482
|
+
"description": "If defined, gives the supplied appearance",
|
3483
|
+
"type": "Severity"
|
2987
3484
|
},
|
2988
3485
|
{
|
2989
3486
|
"name": "timer",
|
@@ -3000,71 +3497,51 @@
|
|
3000
3497
|
}
|
3001
3498
|
},
|
3002
3499
|
{
|
3003
|
-
"name": "skf-
|
3004
|
-
"description": "The `<skf-
|
3500
|
+
"name": "skf-tooltip",
|
3501
|
+
"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",
|
3005
3502
|
"doc-url": "",
|
3006
3503
|
"attributes": [
|
3007
3504
|
{
|
3008
|
-
"name": "
|
3009
|
-
"
|
3010
|
-
|
3011
|
-
|
3012
|
-
|
3505
|
+
"name": "placement",
|
3506
|
+
"description": "The placement of the dropdown",
|
3507
|
+
"value": {
|
3508
|
+
"type": "\"top\" | \"right\" | \"bottom\" | \"left\" | \"top-start\" | \"top-end\" | \"right-start\" | \"right-end\" | \"bottom-start\" | \"bottom-end\" | \"left-start\" | \"left-end\"",
|
3509
|
+
"default": "'bottom-start'"
|
3510
|
+
}
|
3511
|
+
},
|
3013
3512
|
{
|
3014
|
-
"name": "",
|
3015
|
-
"description": "The
|
3513
|
+
"name": "anchor",
|
3514
|
+
"description": "The id of the element the dropdown will be anchored to",
|
3515
|
+
"value": { "type": "string" }
|
3016
3516
|
}
|
3017
3517
|
],
|
3018
|
-
"events": [],
|
3019
|
-
"js": {
|
3020
|
-
"properties": [{ "name": "debug", "type": "boolean" }],
|
3021
|
-
"events": []
|
3022
|
-
}
|
3023
|
-
},
|
3024
|
-
{
|
3025
|
-
"name": "skf-tooltip",
|
3026
|
-
"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",
|
3027
|
-
"doc-url": "",
|
3028
|
-
"attributes": [],
|
3029
3518
|
"slots": [
|
3030
3519
|
{ "name": "", "description": "The tooltip popover content" }
|
3031
3520
|
],
|
3032
3521
|
"events": [
|
3033
3522
|
{
|
3034
|
-
"name": "
|
3523
|
+
"name": "skf-opened",
|
3035
3524
|
"description": "Fired when the dropdown is opened"
|
3036
3525
|
},
|
3037
3526
|
{
|
3038
|
-
"name": "
|
3527
|
+
"name": "skf-closed",
|
3039
3528
|
"description": "Fired when the dropdown is closed"
|
3040
3529
|
}
|
3041
3530
|
],
|
3042
3531
|
"js": {
|
3043
3532
|
"properties": [
|
3533
|
+
{ "name": "role", "type": "string" },
|
3044
3534
|
{ "name": "offset", "type": "number" },
|
3045
|
-
{
|
3046
|
-
|
3047
|
-
"description": "The placement of the dropdown",
|
3048
|
-
"type": "\"top\" | \"right\" | \"bottom\" | \"left\" | \"top-start\" | \"top-end\" | \"right-start\" | \"right-end\" | \"bottom-start\" | \"bottom-end\" | \"left-start\" | \"left-end\""
|
3049
|
-
},
|
3050
|
-
{
|
3051
|
-
"name": "isOpen",
|
3052
|
-
"description": "Whether the dropdown is open",
|
3053
|
-
"type": "boolean"
|
3054
|
-
},
|
3055
|
-
{
|
3056
|
-
"name": "anchor",
|
3057
|
-
"description": "The id of the element the dropdown will be anchored to",
|
3058
|
-
"type": "string"
|
3059
|
-
}
|
3535
|
+
{ "name": "placement", "type": "string" },
|
3536
|
+
{ "name": "variant", "type": "string" }
|
3060
3537
|
],
|
3061
3538
|
"events": [
|
3062
3539
|
{
|
3063
|
-
"name": "
|
3540
|
+
"name": "skf-opened",
|
3064
3541
|
"description": "Fired when the dropdown is opened"
|
3065
3542
|
},
|
3066
3543
|
{
|
3067
|
-
"name": "
|
3544
|
+
"name": "skf-closed",
|
3068
3545
|
"description": "Fired when the dropdown is closed"
|
3069
3546
|
}
|
3070
3547
|
]
|