@skf-design-system/ui-components 1.0.0-alpha.34 → 1.0.0-alpha.35
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/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 +9 -13
- package/dist/components/accordion/accordion.component.js +8 -9
- 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 +4 -1
- package/dist/components/card/card.component.js +46 -36
- package/dist/components/card/card.styles.js +36 -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 +455 -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 +19 -18
- package/dist/components/icon/icon.component.js +64 -43
- package/dist/components/icon/icon.styles.d.ts +1 -2
- package/dist/components/icon/icon.styles.js +61 -60
- package/dist/components/input/input.component.d.ts +31 -31
- package/dist/components/input/input.component.js +166 -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 +12 -14
- package/dist/components/link/link.component.js +35 -34
- package/dist/components/link/link.styles.d.ts +1 -2
- package/dist/components/link/link.styles.js +24 -20
- 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-item → menu}/menu-item.component.js +3 -3
- package/dist/components/{menu-item → menu}/menu-item.d.ts +2 -2
- 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 +18 -0
- package/dist/components/nav/nav-item.component.js +38 -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 +39 -0
- package/dist/components/nav/nav.component.d.ts +17 -0
- package/dist/components/nav/nav.component.js +34 -0
- package/dist/components/nav/nav.d.ts +8 -0
- package/dist/components/nav/nav.js +6 -0
- package/dist/components/nav/nav.styles.js +17 -0
- package/dist/components/popover/popover.component.d.ts +11 -8
- package/dist/components/popover/popover.component.js +24 -26
- package/dist/components/popover/popover.d.ts +2 -2
- package/dist/components/progress/progress.component.d.ts +2 -2
- package/dist/components/progress/progress.component.js +31 -37
- package/dist/components/progress/progress.d.ts +2 -2
- package/dist/components/progress/progress.styles.js +42 -35
- package/dist/components/radio/radio.component.d.ts +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.js +1 -1
- 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-option → select}/select-option.component.d.ts +9 -10
- package/dist/components/{select-option → select}/select-option.component.js +23 -23
- 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.component.d.ts +18 -17
- package/dist/components/select/select.component.js +22 -23
- package/dist/components/select/select.controllers.d.ts +21 -10
- package/dist/components/select/select.controllers.js +27 -22
- 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 +65 -67
- 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 +32 -28
- package/dist/components/toast/toast.singleton.d.ts +6 -11
- package/dist/components/toast/toast.singleton.js +23 -23
- 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 +4091 -2539
- 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 +138 -77
- package/dist/internal/base-classes/popover/popover.styles.js +14 -1
- package/dist/internal/components/hint/hint.component.d.ts +2 -2
- package/dist/internal/components/hint/hint.component.js +2 -2
- package/dist/internal/components/hint/hint.styles.d.ts +1 -2
- package/dist/internal/components/hint/hint.styles.js +1 -1
- package/dist/internal/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 +740 -1294
- package/dist/types/vue/index.d.ts +543 -322
- package/dist/vscode.html-custom-data.json +526 -1076
- package/dist/web-types.json +1237 -761
- package/package.json +45 -61
- 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/radio/radio.test.d.ts +0 -1
- package/dist/components/select-option/select-option.controllers.d.ts +0 -9
- 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/{menu-item → menu}/menu-item.styles.js +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.component.d.ts +0 -0
- /package/dist/components/{select-option-group → select}/select-option-group.js +0 -0
- /package/dist/components/{select-option-group → select}/select-option-group.style.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/{select-option → select}/select-option.styles.js +0 -0
- /package/dist/components/{stepper-item → stepper}/stepper-item.component.d.ts +0 -0
- /package/dist/components/{stepper-item → stepper}/stepper-item.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
@@ -1,3 +1,50 @@
|
|
1
|
+
import type { SkfIcon } from "../../components/icon/icon.component.js";
|
2
|
+
import type { SkfAccordionItem, CustomEvent } from "../../components/accordion-item/accordion-item.component.js";
|
3
|
+
import type { SkfAccordion } from "../../components/accordion/accordion.component.js";
|
4
|
+
import type { SkfAlert, CustomEvent } from "../../components/alert/alert.component.js";
|
5
|
+
import type { SkfBreadcrumbItem } from "../../components/breadcrumb-item/breadcrumb-item.component.js";
|
6
|
+
import type { SkfBreadcrumb } from "../../components/breadcrumb/breadcrumb.component.js";
|
7
|
+
import type { SkfLoader } from "../../components/loader/loader.component.js";
|
8
|
+
import type { SkfButton, CustomEvent } from "../../components/button/button.component.js";
|
9
|
+
import type { SkfCard } from "../../components/card/card.component.js";
|
10
|
+
import type { SkfCheckbox, Event } from "../../components/checkbox/checkbox.component.js";
|
11
|
+
import type { SkfDatepickerCalendar } from "../../components/datepicker-calendar/datepicker-calendar.component.js";
|
12
|
+
import type { SkfDatepicker } from "../../components/datepicker/datepicker.component.js";
|
13
|
+
import type { SkfHeading } from "../../components/heading/heading.component.js";
|
14
|
+
import type { SkfDialog, CustomEvent } from "../../components/dialog/dialog.component.js";
|
15
|
+
import type { SkfDivider } from "../../components/divider/divider.component.js";
|
16
|
+
import type { SkfDrawer, CustomEvent } from "../../components/drawer/drawer.component.js";
|
17
|
+
import type { SkfLogo } from "../../components/logo/logo.component.js";
|
18
|
+
import type { SkfNav } from "../../components/nav/nav.component.js";
|
19
|
+
import type { SkfHeader } from "../../components/header/header.component.js";
|
20
|
+
import type { SkfInput, CustomEvent } from "../../components/input/input.component.js";
|
21
|
+
import type { SkfLink } from "../../components/link/link.component.js";
|
22
|
+
import type { SkfMenuItem } from "../../components/menu-item/menu-item.component.js";
|
23
|
+
import type { SkfMenu, CustomEvent } from "../../components/menu/menu.component.js";
|
24
|
+
import type { SkfNavItem } from "../../components/nav-item/nav-item.component.js";
|
25
|
+
import type { SkfPopover, CustomEvent } from "../../components/popover/popover.component.js";
|
26
|
+
import type { SkfProgress } from "../../components/progress/progress.component.js";
|
27
|
+
import type { SkfRadio, Event } from "../../components/radio/radio.component.js";
|
28
|
+
import type {
|
29
|
+
SkfSegmentedButtonItem,
|
30
|
+
CustomEvent,
|
31
|
+
} from "../../components/segmented-button-item/segmented-button-item.component.js";
|
32
|
+
import type { SkfSegmentedButton } from "../../components/segmented-button/segmented-button.component.js";
|
33
|
+
import type { SkfSelectOptionGroup } from "../../components/select-option-group/select-option-group.component.js";
|
34
|
+
import type { SkfTag } from "../../components/tag/tag.component.js";
|
35
|
+
import type { SkfSelect, Event, CustomEvent } from "../../components/select/select.component.js";
|
36
|
+
import type { SkfSelectOption } from "../../components/select-option/select-option.component.js";
|
37
|
+
import type { SkfStepperItem } from "../../components/stepper-item/stepper-item.component.js";
|
38
|
+
import type { SkfStepper, CustomEvent } from "../../components/stepper/stepper.component.js";
|
39
|
+
import type { SkfSwitch } from "../../components/switch/switch.component.js";
|
40
|
+
import type { SkfTabPanel } from "../../components/tab-panel/tab-panel.component.js";
|
41
|
+
import type { SkfTabs } from "../../components/tabs/tabs.component.js";
|
42
|
+
import type { SkfTab, CustomEvent } from "../../components/tab/tab.component.js";
|
43
|
+
import type { SkfTextArea } from "../../components/textarea/textarea.component.js";
|
44
|
+
import type { SkfToastWrapper } from "../../components/toast-wrapper/toast-wrapper.component.js";
|
45
|
+
import type { SkfToast } from "../../components/toast/toast.component.js";
|
46
|
+
import type { SkfTooltip } from "../../components/tooltip/tooltip.component.js";
|
47
|
+
|
1
48
|
/**
|
2
49
|
* This type can be used to create scoped tags for your components.
|
3
50
|
*
|
@@ -60,1439 +107,745 @@ type BaseProps = {
|
|
60
107
|
|
61
108
|
type BaseEvents = {};
|
62
109
|
|
110
|
+
export type SkfIconProps = {
|
111
|
+
/** Sets the color of the icon */
|
112
|
+
color?: SkfIcon["color"];
|
113
|
+
/** If defined, adds an alternate description to use for assistive devices */
|
114
|
+
label?: SkfIcon["label"];
|
115
|
+
/** Name of the icon to display */
|
116
|
+
name?: SkfIcon["name"];
|
117
|
+
/** Size of the icon */
|
118
|
+
size?: SkfIcon["size"];
|
119
|
+
};
|
120
|
+
|
121
|
+
export type SkfAccordionItemProps = {
|
122
|
+
/** If true, will animate the expand/accordion-item state */
|
123
|
+
animated?: SkfAccordionItem["animated"];
|
124
|
+
/** If true, will set the accordion-item to be expanded by default */
|
125
|
+
expanded?: SkfAccordionItem["expanded"];
|
126
|
+
/** Heading for the accordion-item */
|
127
|
+
heading?: SkfAccordionItem["heading"];
|
128
|
+
/** Defines which heading element will be rendered */
|
129
|
+
"heading-as"?: SkfAccordionItem["headingAs"];
|
130
|
+
/** If true, renders the small version */
|
131
|
+
small?: SkfAccordionItem["small"];
|
132
|
+
/** If true, will truncate the heading in accordion-item state */
|
133
|
+
truncate?: SkfAccordionItem["truncate"];
|
134
|
+
|
135
|
+
/** Event emitted when toggled */
|
136
|
+
"onskf-accordion-item-toggle"?: (e: CustomEvent<CustomEvent>) => void;
|
137
|
+
};
|
138
|
+
|
63
139
|
export type SkfAccordionProps = {
|
64
140
|
/** If true, will animate the expand/collapse state */
|
65
|
-
animated?:
|
141
|
+
animated?: SkfAccordion["animated"];
|
66
142
|
/** Defines which heading element will be rendered */
|
67
|
-
"heading-as"?: "
|
143
|
+
"heading-as"?: SkfAccordion["headingAs"];
|
68
144
|
/** If true, adds a gap between each item */
|
69
|
-
gap?:
|
145
|
+
gap?: SkfAccordion["gap"];
|
70
146
|
/** If true, allowes multiple accordion items to open */
|
71
|
-
multiple?:
|
147
|
+
multiple?: SkfAccordion["multiple"];
|
72
148
|
/** If true, renders the small version */
|
73
|
-
small?:
|
149
|
+
small?: SkfAccordion["small"];
|
74
150
|
/** If true, will truncate all headings in collapsed state */
|
75
|
-
truncate?:
|
151
|
+
truncate?: SkfAccordion["truncate"];
|
76
152
|
};
|
77
153
|
|
78
154
|
export type SkfAlertProps = {
|
79
|
-
/** If true, alert is being used as a toast (alertdialog) with an close button */
|
80
|
-
closeable?: boolean | undefined;
|
81
155
|
/** Close button aria-label */
|
82
|
-
"button-label"?:
|
156
|
+
"button-label"?: SkfAlert["buttonLabel"];
|
83
157
|
/** If defined, displays leading icon */
|
84
|
-
icon?:
|
158
|
+
icon?: SkfAlert["icon"];
|
159
|
+
/** If true, renders with an close button and sets aria-role to `status` */
|
160
|
+
persistent?: SkfAlert["persistent"];
|
85
161
|
/** If defined, gives the supplied appearance */
|
86
|
-
severity?: "
|
162
|
+
severity?: SkfAlert["severity"];
|
87
163
|
|
88
164
|
/** Fires when the close button is clicked */
|
89
|
-
"onskf-alert-close"?: (e: CustomEvent<
|
165
|
+
"onskf-alert-close"?: (e: CustomEvent<CustomEvent>) => void;
|
166
|
+
};
|
167
|
+
|
168
|
+
export type SkfBreadcrumbItemProps = {
|
169
|
+
/** If defined, loads url on click */
|
170
|
+
href?: SkfBreadcrumbItem["href"];
|
171
|
+
/** If defined, custom onClick where the second return parameter enables custom routing. **Notice!** Only applicable if `href` is defined. */
|
172
|
+
onClick?: SkfBreadcrumbItem["onClick"];
|
90
173
|
};
|
91
174
|
|
92
175
|
export type SkfBreadcrumbProps = {
|
93
176
|
/** aria-label for the breadcrumb control */
|
94
|
-
label?:
|
95
|
-
/**
|
96
|
-
|
177
|
+
label?: SkfBreadcrumb["label"];
|
178
|
+
/** If true, renders a smaller version */
|
179
|
+
small?: SkfBreadcrumb["small"];
|
97
180
|
|
98
181
|
/** Fired when the item is clicked */
|
99
182
|
onclick?: (e: CustomEvent<never>) => void;
|
100
183
|
};
|
101
184
|
|
102
|
-
export type
|
103
|
-
/**
|
104
|
-
|
105
|
-
/** If
|
106
|
-
|
185
|
+
export type SkfLoaderProps = {
|
186
|
+
/** Defines the aria-label */
|
187
|
+
"aria-label"?: SkfLoader["ariaLabel"];
|
188
|
+
/** If true, inverts the color (to be used on colored backgrounds) */
|
189
|
+
invert?: SkfLoader["invert"];
|
190
|
+
/** Defines the size of the loader */
|
191
|
+
size?: SkfLoader["size"];
|
107
192
|
};
|
108
193
|
|
109
194
|
export type SkfButtonProps = {
|
110
195
|
/** If true, gives destructive appearance. **Notice!** Only applicable if `variant` is `primary`. */
|
111
|
-
destructive?:
|
196
|
+
destructive?: SkfButton["destructive"];
|
112
197
|
/** If true, removes border */
|
113
|
-
disabled?:
|
198
|
+
disabled?: SkfButton["disabled"];
|
114
199
|
/** If provided, renders an icon before or after the text */
|
115
|
-
icon?:
|
116
|
-
|
117
|
-
|
118
|
-
|
119
|
-
|
120
|
-
| "arrowUp"
|
121
|
-
| "article"
|
122
|
-
| "artificialIntelligence"
|
123
|
-
| "asset"
|
124
|
-
| "attachment"
|
125
|
-
| "bandCursor"
|
126
|
-
| "bands"
|
127
|
-
| "batteryEmpty"
|
128
|
-
| "batteryFull"
|
129
|
-
| "batteryLow"
|
130
|
-
| "bearingFault"
|
131
|
-
| "book"
|
132
|
-
| "bulb"
|
133
|
-
| "burger"
|
134
|
-
| "cPM"
|
135
|
-
| "calendar"
|
136
|
-
| "calendarBooked"
|
137
|
-
| "calendarEmpty"
|
138
|
-
| "calendarNotBooked"
|
139
|
-
| "calendarRecurring"
|
140
|
-
| "caretDown"
|
141
|
-
| "caretUp"
|
142
|
-
| "caretUpDown"
|
143
|
-
| "chat"
|
144
|
-
| "check"
|
145
|
-
| "checkCircle"
|
146
|
-
| "checkSmall"
|
147
|
-
| "chevronDown"
|
148
|
-
| "chevronLeft"
|
149
|
-
| "chevronRight"
|
150
|
-
| "chevronUp"
|
151
|
-
| "chevronUpDown"
|
152
|
-
| "close"
|
153
|
-
| "closeAllFaults"
|
154
|
-
| "closeFault"
|
155
|
-
| "closeSmall"
|
156
|
-
| "columnGraph"
|
157
|
-
| "comment"
|
158
|
-
| "connection1"
|
159
|
-
| "connection2"
|
160
|
-
| "connection3"
|
161
|
-
| "connection4"
|
162
|
-
| "danger"
|
163
|
-
| "defectFrequencies"
|
164
|
-
| "defectFrequenciesAlternative"
|
165
|
-
| "doubleChevronLeft"
|
166
|
-
| "doubleChevronRight"
|
167
|
-
| "download"
|
168
|
-
| "draft"
|
169
|
-
| "draftFilled"
|
170
|
-
| "draftOutlined"
|
171
|
-
| "dragNDrop"
|
172
|
-
| "drop"
|
173
|
-
| "duplicate"
|
174
|
-
| "edit"
|
175
|
-
| "emailFilled"
|
176
|
-
| "emailOutlined"
|
177
|
-
| "exclamation"
|
178
|
-
| "eye"
|
179
|
-
| "eyeHidden"
|
180
|
-
| "eyeVisible"
|
181
|
-
| "filter"
|
182
|
-
| "forbidden"
|
183
|
-
| "fullScreen"
|
184
|
-
| "fullScreenExit"
|
185
|
-
| "functionalLocation"
|
186
|
-
| "harmonicCursor"
|
187
|
-
| "heatmap"
|
188
|
-
| "hierarchy"
|
189
|
-
| "history"
|
190
|
-
| "historyAlt"
|
191
|
-
| "hourglassFramedFilled"
|
192
|
-
| "hourglassFramedOutlined"
|
193
|
-
| "hourglassOutlined"
|
194
|
-
| "hz"
|
195
|
-
| "iMX"
|
196
|
-
| "image"
|
197
|
-
| "infoCircleFilled"
|
198
|
-
| "infoCircleOutlined"
|
199
|
-
| "integration"
|
200
|
-
| "kebab"
|
201
|
-
| "link"
|
202
|
-
| "listGroup"
|
203
|
-
| "listItem"
|
204
|
-
| "locationPin"
|
205
|
-
| "lock"
|
206
|
-
| "logOut"
|
207
|
-
| "meatballs"
|
208
|
-
| "microphone"
|
209
|
-
| "minus"
|
210
|
-
| "minusSmall"
|
211
|
-
| "noData"
|
212
|
-
| "o"
|
213
|
-
| "openInNew"
|
214
|
-
| "overlayBaseline"
|
215
|
-
| "pDF"
|
216
|
-
| "paper"
|
217
|
-
| "pause"
|
218
|
-
| "pieChart"
|
219
|
-
| "pin"
|
220
|
-
| "play"
|
221
|
-
| "plus"
|
222
|
-
| "powerOff"
|
223
|
-
| "printer"
|
224
|
-
| "proCollect"
|
225
|
-
| "recAction"
|
226
|
-
| "received"
|
227
|
-
| "refresh"
|
228
|
-
| "reorder"
|
229
|
-
| "replace"
|
230
|
-
| "reply"
|
231
|
-
| "rewalkableRoute"
|
232
|
-
| "routes"
|
233
|
-
| "search"
|
234
|
-
| "send"
|
235
|
-
| "sensorA"
|
236
|
-
| "sensorB"
|
237
|
-
| "settings"
|
238
|
-
| "sidebandCursor"
|
239
|
-
| "singleCursor"
|
240
|
-
| "spectrum"
|
241
|
-
| "starFilled"
|
242
|
-
| "starOutlined"
|
243
|
-
| "statusCircle"
|
244
|
-
| "stop"
|
245
|
-
| "structuralVibration"
|
246
|
-
| "sync"
|
247
|
-
| "timewave"
|
248
|
-
| "trash"
|
249
|
-
| "trend"
|
250
|
-
| "trendingUp"
|
251
|
-
| "undo"
|
252
|
-
| "unknownCircle"
|
253
|
-
| "unknownDiamond"
|
254
|
-
| "unlink"
|
255
|
-
| "unlock"
|
256
|
-
| "unscheduledAction"
|
257
|
-
| "upload"
|
258
|
-
| "user"
|
259
|
-
| "viewFull"
|
260
|
-
| "viewHorizontal"
|
261
|
-
| "viewVertical"
|
262
|
-
| "warning"
|
263
|
-
| "warningCircle"
|
264
|
-
| "warningDiamond"
|
265
|
-
| "zoomIn"
|
266
|
-
| "zoomOut";
|
267
|
-
/** If true, removes border */
|
268
|
-
iconOnly?: boolean;
|
269
|
-
/** If provided, determines the positioning of the icon in relation to the text */
|
270
|
-
"icon-position"?: "left" | "right" | undefined;
|
200
|
+
icon?: SkfButton["icon"];
|
201
|
+
/** If true, button will take a square shape */
|
202
|
+
"icon-only"?: SkfButton["iconOnly"];
|
203
|
+
/** Determines the positioning of the icon in relation to the text */
|
204
|
+
"icon-position"?: SkfButton["iconPosition"];
|
271
205
|
/** If true, hides text & icon and shows loading indicator. **Notice!** Only applicable if `variant` is `primary`. */
|
272
|
-
loading?:
|
206
|
+
loading?: SkfButton["loading"];
|
273
207
|
/** */
|
274
|
-
"no-validate"?:
|
208
|
+
"no-validate"?: SkfButton["noValidate"];
|
275
209
|
/** If provided, displays an alternative size */
|
276
|
-
size?: "
|
210
|
+
size?: SkfButton["size"];
|
277
211
|
/** If provided, changes the button type */
|
278
|
-
type?: "
|
212
|
+
type?: SkfButton["type"];
|
279
213
|
/** If provided, alters the appearance */
|
280
|
-
variant?: "
|
214
|
+
variant?: SkfButton["variant"];
|
281
215
|
|
282
216
|
/** Fires when the button is clicked */
|
283
|
-
onclick?: (e: CustomEvent<
|
217
|
+
onclick?: (e: CustomEvent<CustomEvent>) => void;
|
284
218
|
};
|
285
219
|
|
286
220
|
export type SkfCardProps = {
|
287
221
|
/** If true, removes border */
|
288
|
-
"no-border"?:
|
222
|
+
"no-border"?: SkfCard["noBorder"];
|
289
223
|
/** If true, removes padding */
|
290
|
-
"no-padding"?:
|
224
|
+
"no-padding"?: SkfCard["noPadding"];
|
291
225
|
/** If true, the Card fills the parent element height */
|
292
|
-
stretch?:
|
226
|
+
stretch?: SkfCard["stretch"];
|
293
227
|
};
|
294
228
|
|
295
229
|
export type SkfCheckboxProps = {
|
296
230
|
/** If true, sets disabled state */
|
297
|
-
disabled?:
|
231
|
+
disabled?: SkfCheckbox["undefined"];
|
298
232
|
/** If true, value is required or must be checked for the form to be submittable */
|
299
|
-
required?:
|
233
|
+
required?: SkfCheckbox["undefined"];
|
300
234
|
/** If defined, outputs helping hints in console */
|
301
|
-
debug?:
|
235
|
+
debug?: SkfCheckbox["debug"];
|
302
236
|
/** If true, outputs helping hints in console */
|
303
|
-
checked?:
|
237
|
+
checked?: SkfCheckbox["checked"];
|
304
238
|
/** If true, forces component to invalid state until removed */
|
305
|
-
"custom-invalid"?:
|
239
|
+
"custom-invalid"?: SkfCheckbox["customInvalid"];
|
306
240
|
/** If true and the checkbox is unchecked, the checkbox will appear indeterminate */
|
307
|
-
indeterminate?:
|
241
|
+
indeterminate?: SkfCheckbox["indeterminate"];
|
308
242
|
/** If defined, sets the input's label. Alternatively, you can use the `label` attribute. */
|
309
|
-
label?:
|
243
|
+
label?: SkfCheckbox["label"];
|
310
244
|
/** If defined, adds name to the input-element */
|
311
|
-
name?:
|
245
|
+
name?: SkfCheckbox["name"];
|
312
246
|
/** If defined, renders an alternative A11y text for the asterisk */
|
313
|
-
"required-label"?:
|
247
|
+
"required-label"?: SkfCheckbox["requiredLabel"];
|
314
248
|
/** If defined, styles checkbox using provided severity */
|
315
|
-
severity?: "
|
249
|
+
severity?: SkfCheckbox["severity"];
|
316
250
|
/** If true, displays valid state after interaction */
|
317
|
-
"show-valid"?:
|
251
|
+
"show-valid"?: SkfCheckbox["showValid"];
|
318
252
|
/** Size of the checkbox */
|
319
|
-
size?: "
|
253
|
+
size?: SkfCheckbox["size"];
|
320
254
|
/** The current value of the input field */
|
321
|
-
value?:
|
255
|
+
value?: SkfCheckbox["value"];
|
322
256
|
|
323
|
-
/**
|
324
|
-
onchange?: (e: CustomEvent<
|
257
|
+
/** When the value of the input changes */
|
258
|
+
onchange?: (e: CustomEvent<Event>) => void;
|
325
259
|
};
|
326
260
|
|
327
|
-
export type
|
328
|
-
/**
|
329
|
-
|
330
|
-
/**
|
331
|
-
|
332
|
-
/**
|
333
|
-
|
334
|
-
/**
|
335
|
-
|
336
|
-
/**
|
337
|
-
|
338
|
-
/**
|
339
|
-
|
261
|
+
export type SkfDatepickerCalendarProps = {
|
262
|
+
/** */
|
263
|
+
eventid?: SkfDatepickerCalendar["eventid"];
|
264
|
+
/** */
|
265
|
+
firstDayOfWeek?: SkfDatepickerCalendar["firstDayOfWeek"];
|
266
|
+
/** A comma-separated list of dates (yyyy-mm-dd format) that are not selectable. */
|
267
|
+
"invalid-dates"?: SkfDatepickerCalendar["invalidDates"];
|
268
|
+
/** */
|
269
|
+
locale?: SkfDatepickerCalendar["locale"];
|
270
|
+
/** */
|
271
|
+
range?: SkfDatepickerCalendar["range"];
|
272
|
+
/** Earliest selectable date. (yyyy-mm-dd format) */
|
273
|
+
"selectable-from"?: SkfDatepickerCalendar["selectableFrom"];
|
274
|
+
/** Latest selectable date. (yyyy-mm-dd format) */
|
275
|
+
"selectable-to"?: SkfDatepickerCalendar["selectableTo"];
|
276
|
+
/** */
|
277
|
+
"selected-date"?: SkfDatepickerCalendar["selectedDate"];
|
278
|
+
/** */
|
279
|
+
selectedDateRange?: SkfDatepickerCalendar["selectedDateRange"];
|
280
|
+
/** */
|
281
|
+
_listenToKeyboard?: SkfDatepickerCalendar["_listenToKeyboard"];
|
282
|
+
/** */
|
283
|
+
_handleKeyDown?: SkfDatepickerCalendar["_handleKeyDown"];
|
284
|
+
/** */
|
285
|
+
dateSelectable?: SkfDatepickerCalendar["dateSelectable"];
|
286
|
+
};
|
340
287
|
|
341
|
-
|
342
|
-
|
288
|
+
export type SkfDatepickerProps = {
|
289
|
+
/** If defined, forces component to invalid state until removed. Its value is used as hint text. */
|
290
|
+
"custom-invalid"?: SkfDatepicker["customInvalid"];
|
291
|
+
/** */
|
292
|
+
id?: SkfDatepicker["id"];
|
293
|
+
/** If defined, sets the input's label. Alternatively, you can use the `label` attribute. */
|
294
|
+
label?: SkfDatepicker["label"];
|
295
|
+
/** If true, hides the label visually */
|
296
|
+
"hide-label"?: SkfDatepicker["hideLabel"];
|
297
|
+
/** If defined, displays informational text below the field */
|
298
|
+
hint?: SkfDatepicker["hint"];
|
299
|
+
/** A comma-separated list of dates (yyyy-mm-dd format) that are not selectable. */
|
300
|
+
"invalid-dates"?: SkfDatepicker["invalidDates"];
|
301
|
+
/** If defined, adds name to the input-element */
|
302
|
+
name?: SkfDatepicker["name"];
|
303
|
+
/** */
|
304
|
+
placeholder?: SkfDatepicker["placeholder"];
|
305
|
+
/** */
|
306
|
+
range?: SkfDatepicker["range"];
|
307
|
+
/** If true, makes the element not mutable, meaning the user can not edit the control */
|
308
|
+
readonly?: SkfDatepicker["readonly"];
|
309
|
+
/** If defined, renders an alternative A11y text for the asterisk */
|
310
|
+
"required-label"?: SkfDatepicker["requiredLabel"];
|
311
|
+
/** Earliest selectable date. (yyyy-mm-dd format) */
|
312
|
+
"selectable-from"?: SkfDatepicker["selectableFrom"];
|
313
|
+
/** Latest selectable date. (yyyy-mm-dd format) */
|
314
|
+
"selectable-to"?: SkfDatepicker["selectableTo"];
|
315
|
+
/** If defined, displays provided severity state */
|
316
|
+
severity?: SkfDatepicker["severity"];
|
317
|
+
/** Size of the input */
|
318
|
+
size?: SkfDatepicker["size"];
|
319
|
+
/** Sets validation start */
|
320
|
+
"validate-on"?: SkfDatepicker["validateOn"];
|
321
|
+
/** The current value of the input field */
|
322
|
+
value?: SkfDatepicker["value"];
|
323
|
+
/** */
|
324
|
+
focusTimeoutId?: SkfDatepicker["focusTimeoutId"];
|
325
|
+
};
|
326
|
+
|
327
|
+
export type SkfHeadingProps = {
|
328
|
+
/** Controls which heading element will be rendered. Should not be used to affect appearance */
|
329
|
+
as?: SkfHeading["as"];
|
330
|
+
/** If defined, changes the appearance of the heading */
|
331
|
+
"styled-as"?: SkfHeading["styledAs"];
|
343
332
|
};
|
344
333
|
|
345
334
|
export type SkfDialogProps = {
|
346
335
|
/** If defined, sets the aria-label for the close button */
|
347
|
-
"close-button-aria-label"?:
|
336
|
+
"close-button-aria-label"?: SkfDialog["closeButtonAriaLabel"];
|
348
337
|
/** Title for the modal/dialog */
|
349
|
-
heading?:
|
338
|
+
heading?: SkfDialog["heading"];
|
350
339
|
/** If true, makes the dialog stretch edge to edge on screen */
|
351
|
-
fullscreen?:
|
340
|
+
fullscreen?: SkfDialog["fullscreen"];
|
352
341
|
/** If true, removes the close button */
|
353
|
-
"no-close-button"?:
|
342
|
+
"no-close-button"?: SkfDialog["noCloseButton"];
|
354
343
|
/** If defined, removes the inner padding */
|
355
|
-
"no-padding"?:
|
356
|
-
/**
|
357
|
-
open?:
|
358
|
-
|
359
|
-
onClose?: ((event: Event) => void) | null | undefined;
|
360
|
-
/** Method that opens the dialog in modal state */
|
361
|
-
showModal?: string;
|
362
|
-
/** Method that closes the dialog */
|
363
|
-
close?: string;
|
344
|
+
"no-padding"?: SkfDialog["noPadding"];
|
345
|
+
/** If true, indicates that the dialog is active and is available for interaction */
|
346
|
+
open?: SkfDialog["open"];
|
347
|
+
|
364
348
|
/** Fires when the dialog is opened (after transitioned in) */
|
365
|
-
"onskf-dialog-
|
366
|
-
/** Fires when the dialog is
|
367
|
-
"onskf-dialog-
|
349
|
+
"onskf-dialog-opened"?: (e: CustomEvent<CustomEvent>) => void;
|
350
|
+
/** Fires when the dialog is closing (before transitioned out) */
|
351
|
+
"onskf-dialog-closing"?: (e: CustomEvent<CustomEvent>) => void;
|
368
352
|
/** Fires when the dialog is closed (after transitioned out) */
|
369
|
-
|
353
|
+
"onskf-dialog-closed"?: (e: CustomEvent<CustomEvent>) => void;
|
370
354
|
};
|
371
355
|
|
372
356
|
export type SkfDividerProps = {
|
373
357
|
/** Defines the Divider color */
|
374
|
-
color?: "
|
358
|
+
color?: SkfDivider["color"];
|
375
359
|
/** If true, renders a div for presentational purpose instead of the semantic hr-element */
|
376
|
-
decorative?:
|
360
|
+
decorative?: SkfDivider["decorative"];
|
377
361
|
/** If true, renders the divider vertically */
|
378
|
-
vertical?:
|
362
|
+
vertical?: SkfDivider["vertical"];
|
379
363
|
};
|
380
364
|
|
381
|
-
export type
|
382
|
-
/**
|
383
|
-
|
384
|
-
/**
|
385
|
-
|
365
|
+
export type SkfDrawerProps = {
|
366
|
+
/** If defined, sets the aria-label for the close button */
|
367
|
+
"close-button-aria-label"?: SkfDrawer["closeButtonAriaLabel"];
|
368
|
+
/** Heading for the Drawer */
|
369
|
+
heading?: SkfDrawer["heading"];
|
370
|
+
/** Sets the max-width */
|
371
|
+
size?: SkfDrawer["size"];
|
372
|
+
/** If true, Drawer is open */
|
373
|
+
open?: SkfDrawer["open"];
|
374
|
+
/** Placement of the Drawer */
|
375
|
+
placement?: SkfDrawer["placement"];
|
376
|
+
|
377
|
+
/** Fires when the drawer is opened (after transitioned in) */
|
378
|
+
"onskf-drawer-opened"?: (e: CustomEvent<CustomEvent>) => void;
|
379
|
+
/** Fires when the drawer is closing (before transitioned out) */
|
380
|
+
"onskf-drawer-closing"?: (e: CustomEvent<CustomEvent>) => void;
|
381
|
+
/** Fires when the drawer is closed (after transitioned out) */
|
382
|
+
"onskf-drawer-closed"?: (e: CustomEvent<CustomEvent>) => void;
|
386
383
|
};
|
387
384
|
|
388
|
-
export type
|
389
|
-
/**
|
390
|
-
|
391
|
-
/**
|
392
|
-
|
393
|
-
|
394
|
-
|
395
|
-
|
396
|
-
|
397
|
-
|
398
|
-
|
399
|
-
|
400
|
-
|
401
|
-
|
402
|
-
|
403
|
-
|
404
|
-
|
405
|
-
|
406
|
-
|
407
|
-
|
408
|
-
|
409
|
-
| "bearingFault"
|
410
|
-
| "book"
|
411
|
-
| "bulb"
|
412
|
-
| "burger"
|
413
|
-
| "cPM"
|
414
|
-
| "calendar"
|
415
|
-
| "calendarBooked"
|
416
|
-
| "calendarEmpty"
|
417
|
-
| "calendarNotBooked"
|
418
|
-
| "calendarRecurring"
|
419
|
-
| "caretDown"
|
420
|
-
| "caretUp"
|
421
|
-
| "caretUpDown"
|
422
|
-
| "chat"
|
423
|
-
| "check"
|
424
|
-
| "checkCircle"
|
425
|
-
| "checkSmall"
|
426
|
-
| "chevronDown"
|
427
|
-
| "chevronLeft"
|
428
|
-
| "chevronRight"
|
429
|
-
| "chevronUp"
|
430
|
-
| "chevronUpDown"
|
431
|
-
| "close"
|
432
|
-
| "closeAllFaults"
|
433
|
-
| "closeFault"
|
434
|
-
| "closeSmall"
|
435
|
-
| "columnGraph"
|
436
|
-
| "comment"
|
437
|
-
| "connection1"
|
438
|
-
| "connection2"
|
439
|
-
| "connection3"
|
440
|
-
| "connection4"
|
441
|
-
| "danger"
|
442
|
-
| "defectFrequencies"
|
443
|
-
| "defectFrequenciesAlternative"
|
444
|
-
| "doubleChevronLeft"
|
445
|
-
| "doubleChevronRight"
|
446
|
-
| "download"
|
447
|
-
| "draft"
|
448
|
-
| "draftFilled"
|
449
|
-
| "draftOutlined"
|
450
|
-
| "dragNDrop"
|
451
|
-
| "drop"
|
452
|
-
| "duplicate"
|
453
|
-
| "edit"
|
454
|
-
| "emailFilled"
|
455
|
-
| "emailOutlined"
|
456
|
-
| "exclamation"
|
457
|
-
| "eye"
|
458
|
-
| "eyeHidden"
|
459
|
-
| "eyeVisible"
|
460
|
-
| "filter"
|
461
|
-
| "forbidden"
|
462
|
-
| "fullScreen"
|
463
|
-
| "fullScreenExit"
|
464
|
-
| "functionalLocation"
|
465
|
-
| "harmonicCursor"
|
466
|
-
| "heatmap"
|
467
|
-
| "hierarchy"
|
468
|
-
| "history"
|
469
|
-
| "historyAlt"
|
470
|
-
| "hourglassFramedFilled"
|
471
|
-
| "hourglassFramedOutlined"
|
472
|
-
| "hourglassOutlined"
|
473
|
-
| "hz"
|
474
|
-
| "iMX"
|
475
|
-
| "image"
|
476
|
-
| "infoCircleFilled"
|
477
|
-
| "infoCircleOutlined"
|
478
|
-
| "integration"
|
479
|
-
| "kebab"
|
480
|
-
| "link"
|
481
|
-
| "listGroup"
|
482
|
-
| "listItem"
|
483
|
-
| "locationPin"
|
484
|
-
| "lock"
|
485
|
-
| "logOut"
|
486
|
-
| "meatballs"
|
487
|
-
| "microphone"
|
488
|
-
| "minus"
|
489
|
-
| "minusSmall"
|
490
|
-
| "noData"
|
491
|
-
| "o"
|
492
|
-
| "openInNew"
|
493
|
-
| "overlayBaseline"
|
494
|
-
| "pDF"
|
495
|
-
| "paper"
|
496
|
-
| "pause"
|
497
|
-
| "pieChart"
|
498
|
-
| "pin"
|
499
|
-
| "play"
|
500
|
-
| "plus"
|
501
|
-
| "powerOff"
|
502
|
-
| "printer"
|
503
|
-
| "proCollect"
|
504
|
-
| "recAction"
|
505
|
-
| "received"
|
506
|
-
| "refresh"
|
507
|
-
| "reorder"
|
508
|
-
| "replace"
|
509
|
-
| "reply"
|
510
|
-
| "rewalkableRoute"
|
511
|
-
| "routes"
|
512
|
-
| "search"
|
513
|
-
| "send"
|
514
|
-
| "sensorA"
|
515
|
-
| "sensorB"
|
516
|
-
| "settings"
|
517
|
-
| "sidebandCursor"
|
518
|
-
| "singleCursor"
|
519
|
-
| "spectrum"
|
520
|
-
| "starFilled"
|
521
|
-
| "starOutlined"
|
522
|
-
| "statusCircle"
|
523
|
-
| "stop"
|
524
|
-
| "structuralVibration"
|
525
|
-
| "sync"
|
526
|
-
| "timewave"
|
527
|
-
| "trash"
|
528
|
-
| "trend"
|
529
|
-
| "trendingUp"
|
530
|
-
| "undo"
|
531
|
-
| "unknownCircle"
|
532
|
-
| "unknownDiamond"
|
533
|
-
| "unlink"
|
534
|
-
| "unlock"
|
535
|
-
| "unscheduledAction"
|
536
|
-
| "upload"
|
537
|
-
| "user"
|
538
|
-
| "viewFull"
|
539
|
-
| "viewHorizontal"
|
540
|
-
| "viewVertical"
|
541
|
-
| "warning"
|
542
|
-
| "warningCircle"
|
543
|
-
| "warningDiamond"
|
544
|
-
| "zoomIn"
|
545
|
-
| "zoomOut";
|
546
|
-
/** Size of the icon */
|
547
|
-
size?: "xs" | "sm" | "md" | "lg";
|
385
|
+
export type SkfLogoProps = {
|
386
|
+
/** Defines the title of the logo */
|
387
|
+
title?: SkfLogo["title"];
|
388
|
+
/** Defines the color of the logo */
|
389
|
+
color?: SkfLogo["color"];
|
390
|
+
};
|
391
|
+
|
392
|
+
export type SkfNavProps = {
|
393
|
+
/** */
|
394
|
+
vertical?: SkfNav["vertical"];
|
395
|
+
};
|
396
|
+
|
397
|
+
export type SkfHeaderProps = {
|
398
|
+
/** If true, sets header to display in compact mode only (hanburger menu and drawer) */
|
399
|
+
compact?: SkfHeader["compact"];
|
400
|
+
/** If defined, sets the aria-label for the hamburger button */
|
401
|
+
"hamburger-aria-label"?: SkfHeader["hamburgerAriaLabel"];
|
402
|
+
/** If defined, sets the app or site's name */
|
403
|
+
"site-name"?: SkfHeader["siteName"];
|
404
|
+
/** If defined, sets the site's base-url for the "logo-link" */
|
405
|
+
"site-url"?: SkfHeader["siteUrl"];
|
548
406
|
};
|
549
407
|
|
550
408
|
export type SkfInputProps = {
|
551
409
|
/** If true, sets disabled state */
|
552
|
-
disabled?:
|
410
|
+
disabled?: SkfInput["undefined"];
|
553
411
|
/** If true, value is required or must be checked for the form to be submittable */
|
554
|
-
required?:
|
555
|
-
/**
|
556
|
-
|
412
|
+
required?: SkfInput["undefined"];
|
413
|
+
/** Indicates whether the value of the control can be automatically completed by the browser. See
|
414
|
+
[MDN Web Docs](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/autocomplete) for details. */
|
415
|
+
autocomplete?: SkfInput["autocomplete"];
|
557
416
|
/** Custom aria-label for the clear button. **Notice!** Only applicable to type=search. */
|
558
|
-
"button-aria-label-clear"?:
|
417
|
+
"button-aria-label-clear"?: SkfInput["buttonAriaLabelClear"];
|
559
418
|
/** Custom aria-label for the visibility button. **Notice!** Only applicable to type=password. */
|
560
|
-
"button-aria-label-hide"?:
|
419
|
+
"button-aria-label-hide"?: SkfInput["buttonAriaLabelHide"];
|
561
420
|
/** Custom aria-label for the visibility button **Notice!** Only applicable to type=password. */
|
562
|
-
"button-aria-label-show"?:
|
421
|
+
"button-aria-label-show"?: SkfInput["buttonAriaLabelShow"];
|
563
422
|
/** If defined, forces component to invalid state until removed. Its value is used as hint text. */
|
564
|
-
"custom-invalid"?:
|
423
|
+
"custom-invalid"?: SkfInput["customInvalid"];
|
565
424
|
/** If true, outputs helping hints in console */
|
566
|
-
debug?:
|
425
|
+
debug?: SkfInput["debug"];
|
567
426
|
/** If true, hides the label visually */
|
568
|
-
"hide-label"?:
|
427
|
+
"hide-label"?: SkfInput["hideLabel"];
|
569
428
|
/** If defined, displays informational text below the field */
|
570
|
-
hint?:
|
571
|
-
/**
|
572
|
-
|
429
|
+
hint?: SkfInput["hint"];
|
430
|
+
/** Provides a hint about the type of data that might be entered by the user while editing the element or its contents. See
|
431
|
+
[MDN Web Docs](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/inputMode) for details. */
|
432
|
+
inputmode?: SkfInput["inputmode"];
|
573
433
|
/** If defined, sets the input's label. Alternatively, you can use the `label` attribute. */
|
574
|
-
label?:
|
434
|
+
label?: SkfInput["label"];
|
575
435
|
/** If defined, displays a prefix/adornment before the input-element */
|
576
|
-
leading?:
|
436
|
+
leading?: SkfInput["leading"];
|
577
437
|
/** If defined, sets the maximum value to accept for this input */
|
578
|
-
max?:
|
438
|
+
max?: SkfInput["max"];
|
579
439
|
/** If defined, sets the maximum character length to accept for this input */
|
580
|
-
maxlength?:
|
440
|
+
maxlength?: SkfInput["maxLength"];
|
581
441
|
/** If defined, sets the minimum value to accept for this input */
|
582
|
-
min?:
|
442
|
+
min?: SkfInput["min"];
|
583
443
|
/** If defined, sets the minimum character length to accept for this input */
|
584
|
-
minlength?:
|
444
|
+
minlength?: SkfInput["minLength"];
|
585
445
|
/** If defined, adds name to the input-element */
|
586
|
-
name?:
|
446
|
+
name?: SkfInput["name"];
|
587
447
|
/** If defined, adds name to the input-element */
|
588
|
-
pattern?:
|
448
|
+
pattern?: SkfInput["pattern"];
|
589
449
|
/** If defined, displays placeholder text */
|
590
|
-
placeholder?:
|
450
|
+
placeholder?: SkfInput["placeholder"];
|
591
451
|
/** If true, makes the element not mutable, meaning the user can not edit the control */
|
592
|
-
readonly?:
|
452
|
+
readonly?: SkfInput["readonly"];
|
593
453
|
/** If defined, renders an alternative A11y text for the asterisk */
|
594
|
-
"required-label"?:
|
454
|
+
"required-label"?: SkfInput["requiredLabel"];
|
595
455
|
/** If defined, displays provided severity state */
|
596
|
-
severity?: "
|
456
|
+
severity?: SkfInput["severity"];
|
597
457
|
/** If true, displays valid state after interaction */
|
598
|
-
"show-valid"?:
|
458
|
+
"show-valid"?: SkfInput["showValid"];
|
599
459
|
/** Size of the input */
|
600
|
-
size?: "
|
460
|
+
size?: SkfInput["size"];
|
601
461
|
/** If defined, displays a suffix/adornment after the input-element */
|
602
|
-
trailing?:
|
603
|
-
/** Type of input
|
604
|
-
type?:
|
605
|
-
| "button"
|
606
|
-
| "color"
|
607
|
-
| "date"
|
608
|
-
| "datetime-local"
|
609
|
-
| "email"
|
610
|
-
| "file"
|
611
|
-
| "hidden"
|
612
|
-
| "image"
|
613
|
-
| "month"
|
614
|
-
| "number"
|
615
|
-
| "password"
|
616
|
-
| "range"
|
617
|
-
| "reset"
|
618
|
-
| "search"
|
619
|
-
| "submit"
|
620
|
-
| "tel"
|
621
|
-
| "text"
|
622
|
-
| "time"
|
623
|
-
| "url"
|
624
|
-
| "week";
|
462
|
+
trailing?: SkfInput["trailing"];
|
463
|
+
/** Type of input */
|
464
|
+
type?: SkfInput["type"];
|
625
465
|
/** Sets validation start */
|
626
|
-
"validate-on"?: "
|
466
|
+
"validate-on"?: SkfInput["validateOn"];
|
627
467
|
/** The current value of the input field */
|
628
|
-
value?:
|
468
|
+
value?: SkfInput["value"];
|
629
469
|
|
630
470
|
/** Fires when the value of the input changes */
|
631
|
-
onchange?: (e: CustomEvent<
|
471
|
+
onchange?: (e: CustomEvent<CustomEvent>) => void;
|
632
472
|
/** Fires when the input is invalid */
|
633
|
-
oninvalid?: (e: CustomEvent<
|
473
|
+
oninvalid?: (e: CustomEvent<CustomEvent>) => void;
|
634
474
|
};
|
635
475
|
|
636
476
|
export type SkfLinkProps = {
|
637
477
|
/** Defines the semantic element to render */
|
638
|
-
as?: "
|
478
|
+
as?: SkfLink["as"];
|
639
479
|
/** Defines the text-color */
|
640
|
-
color?: "
|
480
|
+
color?: SkfLink["color"];
|
641
481
|
/** If true, disables the link */
|
642
|
-
disabled?:
|
482
|
+
disabled?: SkfLink["disabled"];
|
643
483
|
/** If defined, downloads the url */
|
644
|
-
download?:
|
484
|
+
download?: SkfLink["download"];
|
645
485
|
/** If defined, loads url on click */
|
646
|
-
href?:
|
486
|
+
href?: SkfLink["href"];
|
647
487
|
/** If defined, renders an icon before or after the text */
|
648
|
-
icon?:
|
649
|
-
| "arrowDown"
|
650
|
-
| "arrowDownUp"
|
651
|
-
| "arrowLeft"
|
652
|
-
| "arrowRight"
|
653
|
-
| "arrowUp"
|
654
|
-
| "article"
|
655
|
-
| "artificialIntelligence"
|
656
|
-
| "asset"
|
657
|
-
| "attachment"
|
658
|
-
| "bandCursor"
|
659
|
-
| "bands"
|
660
|
-
| "batteryEmpty"
|
661
|
-
| "batteryFull"
|
662
|
-
| "batteryLow"
|
663
|
-
| "bearingFault"
|
664
|
-
| "book"
|
665
|
-
| "bulb"
|
666
|
-
| "burger"
|
667
|
-
| "cPM"
|
668
|
-
| "calendar"
|
669
|
-
| "calendarBooked"
|
670
|
-
| "calendarEmpty"
|
671
|
-
| "calendarNotBooked"
|
672
|
-
| "calendarRecurring"
|
673
|
-
| "caretDown"
|
674
|
-
| "caretUp"
|
675
|
-
| "caretUpDown"
|
676
|
-
| "chat"
|
677
|
-
| "check"
|
678
|
-
| "checkCircle"
|
679
|
-
| "checkSmall"
|
680
|
-
| "chevronDown"
|
681
|
-
| "chevronLeft"
|
682
|
-
| "chevronRight"
|
683
|
-
| "chevronUp"
|
684
|
-
| "chevronUpDown"
|
685
|
-
| "close"
|
686
|
-
| "closeAllFaults"
|
687
|
-
| "closeFault"
|
688
|
-
| "closeSmall"
|
689
|
-
| "columnGraph"
|
690
|
-
| "comment"
|
691
|
-
| "connection1"
|
692
|
-
| "connection2"
|
693
|
-
| "connection3"
|
694
|
-
| "connection4"
|
695
|
-
| "danger"
|
696
|
-
| "defectFrequencies"
|
697
|
-
| "defectFrequenciesAlternative"
|
698
|
-
| "doubleChevronLeft"
|
699
|
-
| "doubleChevronRight"
|
700
|
-
| "download"
|
701
|
-
| "draft"
|
702
|
-
| "draftFilled"
|
703
|
-
| "draftOutlined"
|
704
|
-
| "dragNDrop"
|
705
|
-
| "drop"
|
706
|
-
| "duplicate"
|
707
|
-
| "edit"
|
708
|
-
| "emailFilled"
|
709
|
-
| "emailOutlined"
|
710
|
-
| "exclamation"
|
711
|
-
| "eye"
|
712
|
-
| "eyeHidden"
|
713
|
-
| "eyeVisible"
|
714
|
-
| "filter"
|
715
|
-
| "forbidden"
|
716
|
-
| "fullScreen"
|
717
|
-
| "fullScreenExit"
|
718
|
-
| "functionalLocation"
|
719
|
-
| "harmonicCursor"
|
720
|
-
| "heatmap"
|
721
|
-
| "hierarchy"
|
722
|
-
| "history"
|
723
|
-
| "historyAlt"
|
724
|
-
| "hourglassFramedFilled"
|
725
|
-
| "hourglassFramedOutlined"
|
726
|
-
| "hourglassOutlined"
|
727
|
-
| "hz"
|
728
|
-
| "iMX"
|
729
|
-
| "image"
|
730
|
-
| "infoCircleFilled"
|
731
|
-
| "infoCircleOutlined"
|
732
|
-
| "integration"
|
733
|
-
| "kebab"
|
734
|
-
| "link"
|
735
|
-
| "listGroup"
|
736
|
-
| "listItem"
|
737
|
-
| "locationPin"
|
738
|
-
| "lock"
|
739
|
-
| "logOut"
|
740
|
-
| "meatballs"
|
741
|
-
| "microphone"
|
742
|
-
| "minus"
|
743
|
-
| "minusSmall"
|
744
|
-
| "noData"
|
745
|
-
| "o"
|
746
|
-
| "openInNew"
|
747
|
-
| "overlayBaseline"
|
748
|
-
| "pDF"
|
749
|
-
| "paper"
|
750
|
-
| "pause"
|
751
|
-
| "pieChart"
|
752
|
-
| "pin"
|
753
|
-
| "play"
|
754
|
-
| "plus"
|
755
|
-
| "powerOff"
|
756
|
-
| "printer"
|
757
|
-
| "proCollect"
|
758
|
-
| "recAction"
|
759
|
-
| "received"
|
760
|
-
| "refresh"
|
761
|
-
| "reorder"
|
762
|
-
| "replace"
|
763
|
-
| "reply"
|
764
|
-
| "rewalkableRoute"
|
765
|
-
| "routes"
|
766
|
-
| "search"
|
767
|
-
| "send"
|
768
|
-
| "sensorA"
|
769
|
-
| "sensorB"
|
770
|
-
| "settings"
|
771
|
-
| "sidebandCursor"
|
772
|
-
| "singleCursor"
|
773
|
-
| "spectrum"
|
774
|
-
| "starFilled"
|
775
|
-
| "starOutlined"
|
776
|
-
| "statusCircle"
|
777
|
-
| "stop"
|
778
|
-
| "structuralVibration"
|
779
|
-
| "sync"
|
780
|
-
| "timewave"
|
781
|
-
| "trash"
|
782
|
-
| "trend"
|
783
|
-
| "trendingUp"
|
784
|
-
| "undo"
|
785
|
-
| "unknownCircle"
|
786
|
-
| "unknownDiamond"
|
787
|
-
| "unlink"
|
788
|
-
| "unlock"
|
789
|
-
| "unscheduledAction"
|
790
|
-
| "upload"
|
791
|
-
| "user"
|
792
|
-
| "viewFull"
|
793
|
-
| "viewHorizontal"
|
794
|
-
| "viewVertical"
|
795
|
-
| "warning"
|
796
|
-
| "warningCircle"
|
797
|
-
| "warningDiamond"
|
798
|
-
| "zoomIn"
|
799
|
-
| "zoomOut";
|
488
|
+
icon?: SkfLink["icon"];
|
800
489
|
/** Defines the position of the icon in relation to the text */
|
801
|
-
"icon-placement"?: "
|
490
|
+
"icon-placement"?: SkfLink["iconPlacement"];
|
802
491
|
/** If defined, describes the relationship between a linked resource and the current document */
|
803
|
-
rel?:
|
492
|
+
rel?: SkfLink["rel"];
|
804
493
|
/** If defined, used on conjunction with onClick property, second argument */
|
805
|
-
route?:
|
494
|
+
route?: SkfLink["route"];
|
806
495
|
/** If true, fills the parents horizontal axis */
|
807
|
-
stretch?:
|
496
|
+
stretch?: SkfLink["stretch"];
|
808
497
|
/** If defined, specifies where to open the linked document */
|
809
|
-
target?: "
|
498
|
+
target?: SkfLink["target"];
|
810
499
|
/** Defines the type of button */
|
811
|
-
type?: "
|
812
|
-
/** If
|
813
|
-
onClick?:
|
814
|
-
};
|
815
|
-
|
816
|
-
export type SkfLoaderProps = {
|
817
|
-
/** Defines the aria-label */
|
818
|
-
"aria-label"?: string;
|
819
|
-
/** If true, inverts the color (to be used on colored backgrounds) */
|
820
|
-
invert?: boolean;
|
821
|
-
/** Defines the size of the loader */
|
822
|
-
size?: "md" | "sm" | undefined;
|
823
|
-
/** */
|
824
|
-
role?: string;
|
825
|
-
/** */
|
826
|
-
ariaLive?: string;
|
827
|
-
};
|
828
|
-
|
829
|
-
export type SkfLogoProps = {
|
830
|
-
/** Defines the title of the logo */
|
831
|
-
title?: string;
|
832
|
-
/** Defines the color of the logo */
|
833
|
-
color?: "primary" | "secondary" | "inverse";
|
834
|
-
};
|
835
|
-
|
836
|
-
export type SkfMenuProps = {
|
837
|
-
/** The placement of the menu */
|
838
|
-
placement?:
|
839
|
-
| "top"
|
840
|
-
| "right"
|
841
|
-
| "bottom"
|
842
|
-
| "left"
|
843
|
-
| "top-start"
|
844
|
-
| "top-end"
|
845
|
-
| "right-start"
|
846
|
-
| "right-end"
|
847
|
-
| "bottom-start"
|
848
|
-
| "bottom-end"
|
849
|
-
| "left-start"
|
850
|
-
| "left-end";
|
851
|
-
/** Whether the menu is open */
|
852
|
-
isOpen?: boolean;
|
853
|
-
/** The id of the element the menu will be anchored to */
|
854
|
-
anchor?: string;
|
855
|
-
/** Fired when the menu is opened */
|
856
|
-
onopen?: (e: CustomEvent<never>) => void;
|
857
|
-
/** Fired when the menu is closed */
|
858
|
-
onclose?: (e: CustomEvent<never>) => void;
|
500
|
+
type?: SkfLink["type"];
|
501
|
+
/** If defined, accepts a function that runs on click. Forwards optional route as second argument. */
|
502
|
+
onClick?: SkfLink["onClick"];
|
859
503
|
};
|
860
504
|
|
861
505
|
export type SkfMenuItemProps = {
|
862
506
|
/** Defines the semantic element to render */
|
863
|
-
as?: "
|
507
|
+
as?: SkfMenuItem["as"];
|
864
508
|
/** Defines the text-color */
|
865
|
-
color?: "
|
509
|
+
color?: SkfMenuItem["color"];
|
866
510
|
/** If true, disables the link */
|
867
|
-
disabled?:
|
511
|
+
disabled?: SkfMenuItem["disabled"];
|
868
512
|
/** If defined, downloads the url */
|
869
|
-
download?:
|
513
|
+
download?: SkfMenuItem["download"];
|
870
514
|
/** If defined, loads url on click */
|
871
|
-
href?:
|
515
|
+
href?: SkfMenuItem["href"];
|
872
516
|
/** If defined, renders an icon before or after the text */
|
873
|
-
icon?:
|
874
|
-
| "arrowDown"
|
875
|
-
| "arrowDownUp"
|
876
|
-
| "arrowLeft"
|
877
|
-
| "arrowRight"
|
878
|
-
| "arrowUp"
|
879
|
-
| "article"
|
880
|
-
| "artificialIntelligence"
|
881
|
-
| "asset"
|
882
|
-
| "attachment"
|
883
|
-
| "bandCursor"
|
884
|
-
| "bands"
|
885
|
-
| "batteryEmpty"
|
886
|
-
| "batteryFull"
|
887
|
-
| "batteryLow"
|
888
|
-
| "bearingFault"
|
889
|
-
| "book"
|
890
|
-
| "bulb"
|
891
|
-
| "burger"
|
892
|
-
| "cPM"
|
893
|
-
| "calendar"
|
894
|
-
| "calendarBooked"
|
895
|
-
| "calendarEmpty"
|
896
|
-
| "calendarNotBooked"
|
897
|
-
| "calendarRecurring"
|
898
|
-
| "caretDown"
|
899
|
-
| "caretUp"
|
900
|
-
| "caretUpDown"
|
901
|
-
| "chat"
|
902
|
-
| "check"
|
903
|
-
| "checkCircle"
|
904
|
-
| "checkSmall"
|
905
|
-
| "chevronDown"
|
906
|
-
| "chevronLeft"
|
907
|
-
| "chevronRight"
|
908
|
-
| "chevronUp"
|
909
|
-
| "chevronUpDown"
|
910
|
-
| "close"
|
911
|
-
| "closeAllFaults"
|
912
|
-
| "closeFault"
|
913
|
-
| "closeSmall"
|
914
|
-
| "columnGraph"
|
915
|
-
| "comment"
|
916
|
-
| "connection1"
|
917
|
-
| "connection2"
|
918
|
-
| "connection3"
|
919
|
-
| "connection4"
|
920
|
-
| "danger"
|
921
|
-
| "defectFrequencies"
|
922
|
-
| "defectFrequenciesAlternative"
|
923
|
-
| "doubleChevronLeft"
|
924
|
-
| "doubleChevronRight"
|
925
|
-
| "download"
|
926
|
-
| "draft"
|
927
|
-
| "draftFilled"
|
928
|
-
| "draftOutlined"
|
929
|
-
| "dragNDrop"
|
930
|
-
| "drop"
|
931
|
-
| "duplicate"
|
932
|
-
| "edit"
|
933
|
-
| "emailFilled"
|
934
|
-
| "emailOutlined"
|
935
|
-
| "exclamation"
|
936
|
-
| "eye"
|
937
|
-
| "eyeHidden"
|
938
|
-
| "eyeVisible"
|
939
|
-
| "filter"
|
940
|
-
| "forbidden"
|
941
|
-
| "fullScreen"
|
942
|
-
| "fullScreenExit"
|
943
|
-
| "functionalLocation"
|
944
|
-
| "harmonicCursor"
|
945
|
-
| "heatmap"
|
946
|
-
| "hierarchy"
|
947
|
-
| "history"
|
948
|
-
| "historyAlt"
|
949
|
-
| "hourglassFramedFilled"
|
950
|
-
| "hourglassFramedOutlined"
|
951
|
-
| "hourglassOutlined"
|
952
|
-
| "hz"
|
953
|
-
| "iMX"
|
954
|
-
| "image"
|
955
|
-
| "infoCircleFilled"
|
956
|
-
| "infoCircleOutlined"
|
957
|
-
| "integration"
|
958
|
-
| "kebab"
|
959
|
-
| "link"
|
960
|
-
| "listGroup"
|
961
|
-
| "listItem"
|
962
|
-
| "locationPin"
|
963
|
-
| "lock"
|
964
|
-
| "logOut"
|
965
|
-
| "meatballs"
|
966
|
-
| "microphone"
|
967
|
-
| "minus"
|
968
|
-
| "minusSmall"
|
969
|
-
| "noData"
|
970
|
-
| "o"
|
971
|
-
| "openInNew"
|
972
|
-
| "overlayBaseline"
|
973
|
-
| "pDF"
|
974
|
-
| "paper"
|
975
|
-
| "pause"
|
976
|
-
| "pieChart"
|
977
|
-
| "pin"
|
978
|
-
| "play"
|
979
|
-
| "plus"
|
980
|
-
| "powerOff"
|
981
|
-
| "printer"
|
982
|
-
| "proCollect"
|
983
|
-
| "recAction"
|
984
|
-
| "received"
|
985
|
-
| "refresh"
|
986
|
-
| "reorder"
|
987
|
-
| "replace"
|
988
|
-
| "reply"
|
989
|
-
| "rewalkableRoute"
|
990
|
-
| "routes"
|
991
|
-
| "search"
|
992
|
-
| "send"
|
993
|
-
| "sensorA"
|
994
|
-
| "sensorB"
|
995
|
-
| "settings"
|
996
|
-
| "sidebandCursor"
|
997
|
-
| "singleCursor"
|
998
|
-
| "spectrum"
|
999
|
-
| "starFilled"
|
1000
|
-
| "starOutlined"
|
1001
|
-
| "statusCircle"
|
1002
|
-
| "stop"
|
1003
|
-
| "structuralVibration"
|
1004
|
-
| "sync"
|
1005
|
-
| "timewave"
|
1006
|
-
| "trash"
|
1007
|
-
| "trend"
|
1008
|
-
| "trendingUp"
|
1009
|
-
| "undo"
|
1010
|
-
| "unknownCircle"
|
1011
|
-
| "unknownDiamond"
|
1012
|
-
| "unlink"
|
1013
|
-
| "unlock"
|
1014
|
-
| "unscheduledAction"
|
1015
|
-
| "upload"
|
1016
|
-
| "user"
|
1017
|
-
| "viewFull"
|
1018
|
-
| "viewHorizontal"
|
1019
|
-
| "viewVertical"
|
1020
|
-
| "warning"
|
1021
|
-
| "warningCircle"
|
1022
|
-
| "warningDiamond"
|
1023
|
-
| "zoomIn"
|
1024
|
-
| "zoomOut";
|
517
|
+
icon?: SkfMenuItem["icon"];
|
1025
518
|
/** Defines the position of the icon in relation to the text */
|
1026
|
-
"icon-placement"?: "
|
519
|
+
"icon-placement"?: SkfMenuItem["iconPlacement"];
|
1027
520
|
/** If defined, describes the relationship between a linked resource and the current document */
|
1028
|
-
rel?:
|
521
|
+
rel?: SkfMenuItem["rel"];
|
1029
522
|
/** If defined, used on conjunction with onClick property, second argument */
|
1030
|
-
route?:
|
523
|
+
route?: SkfMenuItem["route"];
|
1031
524
|
/** If true, fills the parents horizontal axis */
|
1032
|
-
stretch?:
|
525
|
+
stretch?: SkfMenuItem["stretch"];
|
1033
526
|
/** If defined, specifies where to open the linked document */
|
1034
|
-
target?: "
|
527
|
+
target?: SkfMenuItem["target"];
|
1035
528
|
/** Defines the type of button */
|
1036
|
-
type?: "
|
1037
|
-
/**
|
1038
|
-
|
1039
|
-
/**
|
1040
|
-
"
|
1041
|
-
|
1042
|
-
|
1043
|
-
|
1044
|
-
|
1045
|
-
|
1046
|
-
|
1047
|
-
|
1048
|
-
|
1049
|
-
/** Fired when the
|
1050
|
-
|
1051
|
-
/** Fired when the
|
1052
|
-
|
529
|
+
type?: SkfMenuItem["type"];
|
530
|
+
/** */
|
531
|
+
role?: SkfMenuItem["role"];
|
532
|
+
/** If defined, accepts a function that runs on click. Forwards optional route as second argument. */
|
533
|
+
onClick?: SkfMenuItem["onClick"];
|
534
|
+
};
|
535
|
+
|
536
|
+
export type SkfMenuProps = {
|
537
|
+
/** The placement of the menu */
|
538
|
+
placement?: SkfMenu["undefined"];
|
539
|
+
/** The id of the element the menu will be anchored to */
|
540
|
+
anchor?: SkfMenu["undefined"];
|
541
|
+
|
542
|
+
/** Fired when the menu is opened */
|
543
|
+
"onskf-opened"?: (e: CustomEvent<CustomEvent>) => void;
|
544
|
+
/** Fired when the menu is closed */
|
545
|
+
"onskf-closed"?: (e: CustomEvent<CustomEvent>) => void;
|
546
|
+
};
|
547
|
+
|
548
|
+
export type SkfNavItemProps = {
|
549
|
+
/** */
|
550
|
+
href?: SkfNavItem["href"];
|
551
|
+
/** */
|
552
|
+
icon?: SkfNavItem["icon"];
|
1053
553
|
};
|
1054
554
|
|
1055
555
|
export type SkfPopoverProps = {
|
556
|
+
/** The placement of the popover */
|
557
|
+
placement?: SkfPopover["undefined"];
|
558
|
+
/** The id of the element the menu will be anchored to */
|
559
|
+
anchor?: SkfPopover["undefined"];
|
1056
560
|
/** If defined, sets a custom offset for the popover */
|
1057
|
-
offset?:
|
561
|
+
offset?: SkfPopover["offset"];
|
1058
562
|
/** If true, hides the arrow */
|
1059
|
-
hideArrow?:
|
1060
|
-
|
1061
|
-
arrow?: boolean;
|
1062
|
-
/** The placement of the menu */
|
1063
|
-
placement?:
|
1064
|
-
| "top"
|
1065
|
-
| "right"
|
1066
|
-
| "bottom"
|
1067
|
-
| "left"
|
1068
|
-
| "top-start"
|
1069
|
-
| "top-end"
|
1070
|
-
| "right-start"
|
1071
|
-
| "right-end"
|
1072
|
-
| "bottom-start"
|
1073
|
-
| "bottom-end"
|
1074
|
-
| "left-start"
|
1075
|
-
| "left-end";
|
1076
|
-
/** Whether the menu is open */
|
1077
|
-
isOpen?: boolean;
|
1078
|
-
/** The id of the element the menu will be anchored to */
|
1079
|
-
anchor?: string;
|
563
|
+
hideArrow?: SkfPopover["hideArrow"];
|
564
|
+
|
1080
565
|
/** Fired when the menu is opened */
|
1081
|
-
|
566
|
+
"onskf-opened"?: (e: CustomEvent<CustomEvent>) => void;
|
1082
567
|
/** Fired when the menu is closed */
|
1083
|
-
|
568
|
+
"onskf-closed"?: (e: CustomEvent<CustomEvent>) => void;
|
1084
569
|
};
|
1085
570
|
|
1086
571
|
export type SkfProgressProps = {
|
1087
572
|
/** If true, the progress-bar's fill value is animated */
|
1088
|
-
animated?:
|
573
|
+
animated?: SkfProgress["animated"];
|
1089
574
|
/** Describes how much work the task indicated by the progress element requires */
|
1090
|
-
max?:
|
575
|
+
max?: SkfProgress["max"];
|
1091
576
|
/** Specifies how much of the task that has been completed */
|
1092
|
-
value?:
|
577
|
+
value?: SkfProgress["value"];
|
1093
578
|
};
|
1094
579
|
|
1095
580
|
export type SkfRadioProps = {
|
1096
581
|
/** If true, sets disabled state */
|
1097
|
-
disabled?:
|
582
|
+
disabled?: SkfRadio["undefined"];
|
1098
583
|
/** If true, value is required or must be checked for the form to be submittable */
|
1099
|
-
required?:
|
584
|
+
required?: SkfRadio["undefined"];
|
1100
585
|
/** If true, outputs helping hints in console */
|
1101
|
-
debug?:
|
586
|
+
debug?: SkfRadio["debug"];
|
1102
587
|
/** If true, outputs helping hints in console */
|
1103
|
-
checked?:
|
588
|
+
checked?: SkfRadio["checked"];
|
1104
589
|
/** If true, forces component to invalid state until removed */
|
1105
|
-
"custom-invalid"?:
|
590
|
+
"custom-invalid"?: SkfRadio["customInvalid"];
|
1106
591
|
/** If defined, sets the input's label unless the default slot is used. Alternatively, you can use the `label` attribute. */
|
1107
|
-
label?:
|
592
|
+
label?: SkfRadio["label"];
|
1108
593
|
/** If defined, adds name to the input-element */
|
1109
|
-
name?:
|
594
|
+
name?: SkfRadio["name"];
|
1110
595
|
/** If defined, renders an alternative A11y text for the asterisk */
|
1111
|
-
"required-label"?:
|
596
|
+
"required-label"?: SkfRadio["requiredLabel"];
|
1112
597
|
/** Size of the Radio */
|
1113
|
-
size?: "
|
598
|
+
size?: SkfRadio["size"];
|
1114
599
|
/** If defined, displays provided severity state */
|
1115
|
-
severity?: "
|
600
|
+
severity?: SkfRadio["severity"];
|
1116
601
|
/** If true, displays valid state after interaction */
|
1117
|
-
"show-valid"?:
|
602
|
+
"show-valid"?: SkfRadio["showValid"];
|
1118
603
|
/** The current value of the input field */
|
1119
|
-
value?:
|
604
|
+
value?: SkfRadio["value"];
|
1120
605
|
|
1121
|
-
/**
|
1122
|
-
onchange?: (e: CustomEvent<
|
606
|
+
/** When the value of the input changes */
|
607
|
+
onchange?: (e: CustomEvent<Event>) => void;
|
608
|
+
};
|
609
|
+
|
610
|
+
export type SkfSegmentedButtonItemProps = {
|
611
|
+
/** If true, items is marked as disabled */
|
612
|
+
disabled?: SkfSegmentedButtonItem["disabled"];
|
613
|
+
/** If true, items is marked as selected */
|
614
|
+
selected?: SkfSegmentedButtonItem["selected"];
|
615
|
+
/** Sets the item value */
|
616
|
+
value?: SkfSegmentedButtonItem["value"];
|
617
|
+
|
618
|
+
/** Fired when selected */
|
619
|
+
"onskf-segmented-button-item-select"?: (e: CustomEvent<CustomEvent>) => void;
|
620
|
+
};
|
621
|
+
|
622
|
+
export type SkfSegmentedButtonProps = {
|
623
|
+
/** If true, allowes multiple items to be selected */
|
624
|
+
multiple?: SkfSegmentedButton["multiple"];
|
625
|
+
};
|
626
|
+
|
627
|
+
export type SkfSelectOptionGroupProps = {
|
628
|
+
/** */
|
629
|
+
label?: SkfSelectOptionGroup["label"];
|
630
|
+
};
|
631
|
+
|
632
|
+
export type SkfTagProps = {
|
633
|
+
/** Specifies Tag size */
|
634
|
+
size?: SkfTag["size"];
|
635
|
+
/** If defined, displays leading/provided icon */
|
636
|
+
icon?: SkfTag["icon"];
|
637
|
+
/** If defined, gives the supplied appearance */
|
638
|
+
color?: SkfTag["color"];
|
639
|
+
/** If true, adds trailing button to remove tag */
|
640
|
+
removable?: SkfTag["removable"];
|
641
|
+
/** If defined, accepts a function that runs on click */
|
642
|
+
onClick?: SkfTag["onClick"];
|
643
|
+
/** If defined, accepts a function that runs on click. Self removal can be overridden by using `event.stopPropagation()`. */
|
644
|
+
onRemove?: SkfTag["onRemove"];
|
1123
645
|
};
|
1124
646
|
|
1125
647
|
export type SkfSelectProps = {
|
1126
|
-
/** If true, the select is disabled
|
1127
|
-
disabled?:
|
648
|
+
/** If true, the select is disabled */
|
649
|
+
disabled?: SkfSelect["undefined"];
|
650
|
+
/** If true, the select is required */
|
651
|
+
required?: SkfSelect["undefined"];
|
1128
652
|
/** Sets the first visible text on the component */
|
1129
|
-
"button-label"?:
|
653
|
+
"button-label"?: SkfSelect["buttonLabel"];
|
1130
654
|
/** If defined, forces component to invalid state until removed */
|
1131
|
-
"custom-invalid"?:
|
655
|
+
"custom-invalid"?: SkfSelect["customInvalid"];
|
1132
656
|
/** If true, hides the label visually */
|
1133
|
-
"hide-label"?:
|
657
|
+
"hide-label"?: SkfSelect["hideLabel"];
|
1134
658
|
/** If true and mulltiple is true, no tags are displayed under the select */
|
1135
|
-
"hide-tags"?:
|
659
|
+
"hide-tags"?: SkfSelect["hideTags"];
|
1136
660
|
/** If defined, sets the hint text under the select component in the form */
|
1137
|
-
hint?:
|
661
|
+
hint?: SkfSelect["hint"];
|
1138
662
|
/** If defined, displays provided label */
|
1139
|
-
label?:
|
663
|
+
label?: SkfSelect["label"];
|
1140
664
|
/** If defined, limits the number of selectable options */
|
1141
|
-
max?:
|
665
|
+
max?: SkfSelect["max"];
|
1142
666
|
/** If defined, sets the minimum number of required options */
|
1143
|
-
min?:
|
667
|
+
min?: SkfSelect["min"];
|
1144
668
|
/** If true, allows for multiple options to be selected */
|
1145
|
-
multiple?:
|
669
|
+
multiple?: SkfSelect["multiple"];
|
1146
670
|
/** If defined, set name of the component */
|
1147
|
-
name?:
|
671
|
+
name?: SkfSelect["name"];
|
1148
672
|
/** If defined, renders an alternative A11y text for the asterisk */
|
1149
|
-
"required-label"?:
|
673
|
+
"required-label"?: SkfSelect["requiredLabel"];
|
1150
674
|
/** If defined, displays provided severity state */
|
1151
|
-
severity?:
|
675
|
+
severity?: SkfSelect["severity"];
|
1152
676
|
/** If true, displays valid state after interaction */
|
1153
|
-
"show-valid"?:
|
677
|
+
"show-valid"?: SkfSelect["showValid"];
|
1154
678
|
/** Size of the Select */
|
1155
|
-
size?: "
|
679
|
+
size?: SkfSelect["size"];
|
1156
680
|
/** A readonly property that returns the selected value(s) in a array */
|
1157
|
-
selectedValues?:
|
681
|
+
selectedValues?: SkfSelect["selectedValues"];
|
1158
682
|
/** A readonly property that returns the selected slot(s) text content in a array */
|
1159
|
-
selectedOptionsText?:
|
683
|
+
selectedOptionsText?: SkfSelect["selectedOptionsText"];
|
1160
684
|
/** Read only, returns the selected value. (if multiple: in a comma separated string) */
|
1161
|
-
value?:
|
685
|
+
value?: SkfSelect["value"];
|
1162
686
|
/** */
|
1163
|
-
_selectedOptions?:
|
687
|
+
_selectedOptions?: SkfSelect["_selectedOptions"];
|
1164
688
|
/** Fired when the selected option(s) changes */
|
1165
|
-
onchange?: (e: CustomEvent<
|
689
|
+
onchange?: (e: CustomEvent<Event>) => void;
|
1166
690
|
/** Fired when the select is invalid */
|
1167
|
-
oninvalid?: (e: CustomEvent<
|
691
|
+
oninvalid?: (e: CustomEvent<Event>) => void;
|
1168
692
|
/** Fired when the form is reset */
|
1169
|
-
onreset?: (e: CustomEvent<
|
693
|
+
onreset?: (e: CustomEvent<Event>) => void;
|
1170
694
|
/** {detail: {expanded: boolean}} Fired when the select dropdown is toggled */
|
1171
|
-
"onskf-select
|
695
|
+
"onskf-select-dropdown"?: (e: CustomEvent<CustomEvent>) => void;
|
1172
696
|
/** {detail: {value: string | null, option: SkfSelectOption}} Fired when the select dropdown is toggled */
|
1173
|
-
"onskf-select-option
|
697
|
+
"onskf-select-option-select"?: (e: CustomEvent<CustomEvent>) => void;
|
1174
698
|
};
|
1175
699
|
|
1176
700
|
export type SkfSelectOptionProps = {
|
1177
701
|
/** If true, prevents interaction with the option */
|
1178
|
-
disabled?:
|
702
|
+
disabled?: SkfSelectOption["disabled"];
|
1179
703
|
/** If defined, set an icon */
|
1180
|
-
icon?:
|
704
|
+
icon?: SkfSelectOption["icon"];
|
1181
705
|
/** If defined, sets provided color on the icon */
|
1182
|
-
"icon-color"?:
|
706
|
+
"icon-color"?: SkfSelectOption["iconColor"];
|
1183
707
|
/** If true, sets the option as selected */
|
1184
|
-
selected?:
|
708
|
+
selected?: SkfSelectOption["selected"];
|
1185
709
|
/** If defined, sets a short label */
|
1186
|
-
"short-label"?:
|
710
|
+
"short-label"?: SkfSelectOption["shortLabel"];
|
1187
711
|
/** Returns or sets the tags value. If value is omitted, defaults to the tags text. */
|
1188
|
-
value?:
|
712
|
+
value?: SkfSelectOption["value"];
|
1189
713
|
/** The option's label text (equivalent to the tags textContent) */
|
1190
|
-
text?:
|
714
|
+
text?: SkfSelectOption["text"];
|
1191
715
|
/** */
|
1192
|
-
role?:
|
716
|
+
role?: SkfSelectOption["role"];
|
1193
717
|
/** */
|
1194
|
-
_parent?:
|
718
|
+
_parent?: SkfSelectOption["_parent"];
|
1195
719
|
/** */
|
1196
|
-
_shortcutUpdate?:
|
720
|
+
_shortcutUpdate?: SkfSelectOption["_shortcutUpdate"];
|
1197
721
|
/** {detail: { value: string | null, option: SkfSelectOption }} Fires when the option is selected/deselected. */
|
1198
|
-
"onskf-select-option
|
722
|
+
"onskf-select-option-select"?: (e: CustomEvent<never>) => void;
|
1199
723
|
};
|
1200
724
|
|
1201
|
-
export type
|
725
|
+
export type SkfStepperItemProps = {
|
726
|
+
/** If defined, gives the supplied appearance */
|
727
|
+
state?: SkfStepperItem["state"];
|
728
|
+
/** If true, item marked as completed */
|
729
|
+
completed?: SkfStepperItem["completed"];
|
730
|
+
/** */
|
731
|
+
_setInternalState?: SkfStepperItem["_setInternalState"];
|
1202
732
|
/** */
|
1203
|
-
|
733
|
+
role?: SkfStepperItem["role"];
|
734
|
+
/** Dispatched when the stepper item is selected */
|
735
|
+
"onskf-stepper-item-select"?: (e: CustomEvent<never>) => void;
|
1204
736
|
};
|
1205
737
|
|
1206
738
|
export type SkfStepperProps = {
|
1207
739
|
/** Sets the active item */
|
1208
|
-
|
740
|
+
"active-index"?: SkfStepper["activeIndex"];
|
1209
741
|
/** If true, sets linear mode (user can't go back to completed steps due to dependencies) */
|
1210
|
-
linear?:
|
1211
|
-
|
1212
|
-
/** Dispatched when the stepper item is selected */
|
1213
|
-
"onskf-stepper-item-select"?: (e: CustomEvent<never>) => void;
|
1214
|
-
};
|
742
|
+
linear?: SkfStepper["linear"];
|
1215
743
|
|
1216
|
-
export type SkfStepperItemProps = {
|
1217
|
-
/** If defined, gives the supplied appearance */
|
1218
|
-
state?: Extract<SkfStepperItemState, "active" | "completed"> | undefined;
|
1219
|
-
/** If true, item marked as completed */
|
1220
|
-
completed?: boolean;
|
1221
|
-
/** */
|
1222
|
-
_setInternalState?: string;
|
1223
|
-
/** */
|
1224
|
-
role?: string;
|
1225
744
|
/** Dispatched when the stepper item is selected */
|
1226
|
-
"onskf-stepper-item-select"?: (e: CustomEvent<
|
745
|
+
"onskf-stepper-item-select"?: (e: CustomEvent<CustomEvent>) => void;
|
1227
746
|
};
|
1228
747
|
|
1229
748
|
export type SkfSwitchProps = {
|
1230
749
|
/** If true, sets disabled state */
|
1231
|
-
disabled?:
|
750
|
+
disabled?: SkfSwitch["undefined"];
|
1232
751
|
/** If true, value is required or must be checked for the form to be submittable */
|
1233
|
-
required?:
|
752
|
+
required?: SkfSwitch["undefined"];
|
1234
753
|
/** If true, outputs helping hints in console */
|
1235
|
-
debug?:
|
754
|
+
debug?: SkfSwitch["debug"];
|
1236
755
|
/** If true, outputs helping hints in console */
|
1237
|
-
checked?:
|
756
|
+
checked?: SkfSwitch["checked"];
|
1238
757
|
/** If true, hides the label visually */
|
1239
|
-
"hide-label"?:
|
758
|
+
"hide-label"?: SkfSwitch["hideLabel"];
|
1240
759
|
/** If defined, sets the input's label unless the default slot is used. Alternatively, you can use the `label` attribute. */
|
1241
|
-
label?:
|
760
|
+
label?: SkfSwitch["label"];
|
1242
761
|
/** If defined, adds name to the input-element */
|
1243
|
-
name?:
|
762
|
+
name?: SkfSwitch["name"];
|
1244
763
|
/** If defined, renders an alternative A11y text for the asterisk */
|
1245
|
-
"required-label"?:
|
764
|
+
"required-label"?: SkfSwitch["requiredLabel"];
|
1246
765
|
/** Size of the Switch */
|
1247
|
-
size?: "
|
766
|
+
size?: SkfSwitch["size"];
|
1248
767
|
/** The current value of the input field */
|
1249
|
-
value?:
|
768
|
+
value?: SkfSwitch["value"];
|
1250
769
|
};
|
1251
770
|
|
1252
|
-
export type
|
1253
|
-
/** The
|
1254
|
-
|
1255
|
-
/** */
|
1256
|
-
selected?: boolean;
|
771
|
+
export type SkfTabPanelProps = {
|
772
|
+
/** The tab panel's name. */
|
773
|
+
name?: SkfTabPanel["name"];
|
1257
774
|
/** */
|
1258
|
-
|
775
|
+
active?: SkfTabPanel["active"];
|
1259
776
|
/** */
|
1260
|
-
role?:
|
1261
|
-
/** {detail: { selected: true, tab: SkfTab }} Fires when the tab is selected */
|
1262
|
-
"onskf-tab-select"?: (e: CustomEvent<CustomEvent>) => void;
|
1263
|
-
/** Fired when the component is clicked */
|
1264
|
-
onclick?: (e: CustomEvent<never>) => void;
|
777
|
+
role?: SkfTabPanel["role"];
|
1265
778
|
};
|
1266
779
|
|
1267
|
-
export type
|
780
|
+
export type SkfTabsProps = {
|
1268
781
|
/** Sets the default selected tab */
|
1269
|
-
"default-selected"?:
|
782
|
+
"default-selected"?: SkfTabs["defaultSelected"];
|
1270
783
|
/** If true, removes border */
|
1271
|
-
"no-border"?:
|
784
|
+
"no-border"?: SkfTabs["noBorder"];
|
1272
785
|
/** If true, removes padding */
|
1273
|
-
"no-padding"?:
|
786
|
+
"no-padding"?: SkfTabs["noPadding"];
|
1274
787
|
/** If true, component fills the parent element height */
|
1275
|
-
stretch?:
|
788
|
+
stretch?: SkfTabs["stretch"];
|
1276
789
|
/** Sets the appearance of the tabs */
|
1277
|
-
variant?: "
|
790
|
+
variant?: SkfTabs["variant"];
|
1278
791
|
};
|
1279
792
|
|
1280
|
-
export type
|
1281
|
-
/** The tab panel
|
1282
|
-
|
793
|
+
export type SkfTabProps = {
|
794
|
+
/** The name of the tab-panel this tab is associated with. The panel must be located in the same tab group. */
|
795
|
+
panel?: SkfTab["panel"];
|
1283
796
|
/** */
|
1284
|
-
|
797
|
+
selected?: SkfTab["selected"];
|
1285
798
|
/** */
|
1286
|
-
|
1287
|
-
|
1288
|
-
|
1289
|
-
|
1290
|
-
|
1291
|
-
|
1292
|
-
|
1293
|
-
icon?:
|
1294
|
-
| "arrowDown"
|
1295
|
-
| "arrowDownUp"
|
1296
|
-
| "arrowLeft"
|
1297
|
-
| "arrowRight"
|
1298
|
-
| "arrowUp"
|
1299
|
-
| "article"
|
1300
|
-
| "artificialIntelligence"
|
1301
|
-
| "asset"
|
1302
|
-
| "attachment"
|
1303
|
-
| "bandCursor"
|
1304
|
-
| "bands"
|
1305
|
-
| "batteryEmpty"
|
1306
|
-
| "batteryFull"
|
1307
|
-
| "batteryLow"
|
1308
|
-
| "bearingFault"
|
1309
|
-
| "book"
|
1310
|
-
| "bulb"
|
1311
|
-
| "burger"
|
1312
|
-
| "cPM"
|
1313
|
-
| "calendar"
|
1314
|
-
| "calendarBooked"
|
1315
|
-
| "calendarEmpty"
|
1316
|
-
| "calendarNotBooked"
|
1317
|
-
| "calendarRecurring"
|
1318
|
-
| "caretDown"
|
1319
|
-
| "caretUp"
|
1320
|
-
| "caretUpDown"
|
1321
|
-
| "chat"
|
1322
|
-
| "check"
|
1323
|
-
| "checkCircle"
|
1324
|
-
| "checkSmall"
|
1325
|
-
| "chevronDown"
|
1326
|
-
| "chevronLeft"
|
1327
|
-
| "chevronRight"
|
1328
|
-
| "chevronUp"
|
1329
|
-
| "chevronUpDown"
|
1330
|
-
| "close"
|
1331
|
-
| "closeAllFaults"
|
1332
|
-
| "closeFault"
|
1333
|
-
| "closeSmall"
|
1334
|
-
| "columnGraph"
|
1335
|
-
| "comment"
|
1336
|
-
| "connection1"
|
1337
|
-
| "connection2"
|
1338
|
-
| "connection3"
|
1339
|
-
| "connection4"
|
1340
|
-
| "danger"
|
1341
|
-
| "defectFrequencies"
|
1342
|
-
| "defectFrequenciesAlternative"
|
1343
|
-
| "doubleChevronLeft"
|
1344
|
-
| "doubleChevronRight"
|
1345
|
-
| "download"
|
1346
|
-
| "draft"
|
1347
|
-
| "draftFilled"
|
1348
|
-
| "draftOutlined"
|
1349
|
-
| "dragNDrop"
|
1350
|
-
| "drop"
|
1351
|
-
| "duplicate"
|
1352
|
-
| "edit"
|
1353
|
-
| "emailFilled"
|
1354
|
-
| "emailOutlined"
|
1355
|
-
| "exclamation"
|
1356
|
-
| "eye"
|
1357
|
-
| "eyeHidden"
|
1358
|
-
| "eyeVisible"
|
1359
|
-
| "filter"
|
1360
|
-
| "forbidden"
|
1361
|
-
| "fullScreen"
|
1362
|
-
| "fullScreenExit"
|
1363
|
-
| "functionalLocation"
|
1364
|
-
| "harmonicCursor"
|
1365
|
-
| "heatmap"
|
1366
|
-
| "hierarchy"
|
1367
|
-
| "history"
|
1368
|
-
| "historyAlt"
|
1369
|
-
| "hourglassFramedFilled"
|
1370
|
-
| "hourglassFramedOutlined"
|
1371
|
-
| "hourglassOutlined"
|
1372
|
-
| "hz"
|
1373
|
-
| "iMX"
|
1374
|
-
| "image"
|
1375
|
-
| "infoCircleFilled"
|
1376
|
-
| "infoCircleOutlined"
|
1377
|
-
| "integration"
|
1378
|
-
| "kebab"
|
1379
|
-
| "link"
|
1380
|
-
| "listGroup"
|
1381
|
-
| "listItem"
|
1382
|
-
| "locationPin"
|
1383
|
-
| "lock"
|
1384
|
-
| "logOut"
|
1385
|
-
| "meatballs"
|
1386
|
-
| "microphone"
|
1387
|
-
| "minus"
|
1388
|
-
| "minusSmall"
|
1389
|
-
| "noData"
|
1390
|
-
| "o"
|
1391
|
-
| "openInNew"
|
1392
|
-
| "overlayBaseline"
|
1393
|
-
| "pDF"
|
1394
|
-
| "paper"
|
1395
|
-
| "pause"
|
1396
|
-
| "pieChart"
|
1397
|
-
| "pin"
|
1398
|
-
| "play"
|
1399
|
-
| "plus"
|
1400
|
-
| "powerOff"
|
1401
|
-
| "printer"
|
1402
|
-
| "proCollect"
|
1403
|
-
| "recAction"
|
1404
|
-
| "received"
|
1405
|
-
| "refresh"
|
1406
|
-
| "reorder"
|
1407
|
-
| "replace"
|
1408
|
-
| "reply"
|
1409
|
-
| "rewalkableRoute"
|
1410
|
-
| "routes"
|
1411
|
-
| "search"
|
1412
|
-
| "send"
|
1413
|
-
| "sensorA"
|
1414
|
-
| "sensorB"
|
1415
|
-
| "settings"
|
1416
|
-
| "sidebandCursor"
|
1417
|
-
| "singleCursor"
|
1418
|
-
| "spectrum"
|
1419
|
-
| "starFilled"
|
1420
|
-
| "starOutlined"
|
1421
|
-
| "statusCircle"
|
1422
|
-
| "stop"
|
1423
|
-
| "structuralVibration"
|
1424
|
-
| "sync"
|
1425
|
-
| "timewave"
|
1426
|
-
| "trash"
|
1427
|
-
| "trend"
|
1428
|
-
| "trendingUp"
|
1429
|
-
| "undo"
|
1430
|
-
| "unknownCircle"
|
1431
|
-
| "unknownDiamond"
|
1432
|
-
| "unlink"
|
1433
|
-
| "unlock"
|
1434
|
-
| "unscheduledAction"
|
1435
|
-
| "upload"
|
1436
|
-
| "user"
|
1437
|
-
| "viewFull"
|
1438
|
-
| "viewHorizontal"
|
1439
|
-
| "viewVertical"
|
1440
|
-
| "warning"
|
1441
|
-
| "warningCircle"
|
1442
|
-
| "warningDiamond"
|
1443
|
-
| "zoomIn"
|
1444
|
-
| "zoomOut";
|
1445
|
-
/** If defined, gives the supplied appearance */
|
1446
|
-
color?: "warning" | "success" | "info" | "error" | "alert";
|
1447
|
-
/** If true, adds trailing button to remove tag */
|
1448
|
-
removable?: boolean | undefined;
|
1449
|
-
/** If defined, accepts a function that runs on click */
|
1450
|
-
onClick?: string;
|
1451
|
-
/** If defined, accepts a function that runs on click. Self removal can be overridden by using `event.stopPropagation()`. */
|
1452
|
-
onRemove?: string;
|
799
|
+
variant?: SkfTab["variant"];
|
800
|
+
/** */
|
801
|
+
role?: SkfTab["role"];
|
802
|
+
/** {detail: { selected: true, tab: SkfTab }} Fires when the tab is selected */
|
803
|
+
"onskf-tab-select"?: (e: CustomEvent<CustomEvent>) => void;
|
804
|
+
/** Fired when the component is clicked */
|
805
|
+
onclick?: (e: CustomEvent<never>) => void;
|
1453
806
|
};
|
1454
807
|
|
1455
808
|
export type SkfTextAreaProps = {
|
1456
809
|
/** If true, sets disabled state */
|
1457
|
-
disabled?:
|
810
|
+
disabled?: SkfTextArea["undefined"];
|
1458
811
|
/** If true, value is required or must be checked for the form to be submittable */
|
1459
|
-
required?:
|
812
|
+
required?: SkfTextArea["undefined"];
|
1460
813
|
/** If defined, sets the cols of the textarea */
|
1461
|
-
cols?:
|
814
|
+
cols?: SkfTextArea["cols"];
|
1462
815
|
/** If defined, forces component to invalid state until removed. Its value is used as hint text. */
|
1463
|
-
"custom-invalid"?:
|
816
|
+
"custom-invalid"?: SkfTextArea["customInvalid"];
|
1464
817
|
/** If true, outputs helping hints in console */
|
1465
|
-
debug?:
|
818
|
+
debug?: SkfTextArea["debug"];
|
1466
819
|
/** If true, hides the label visually */
|
1467
|
-
"hide-label"?:
|
820
|
+
"hide-label"?: SkfTextArea["hideLabel"];
|
1468
821
|
/** If defined, displays informational text below the field */
|
1469
|
-
hint?:
|
822
|
+
hint?: SkfTextArea["hint"];
|
1470
823
|
/** If defined, sets the input's label unless the default slot is used. Alternatively, you can use the `label` attribute. */
|
1471
|
-
label?:
|
824
|
+
label?: SkfTextArea["label"];
|
1472
825
|
/** If defined, adds name to the input-element */
|
1473
|
-
name?:
|
826
|
+
name?: SkfTextArea["name"];
|
1474
827
|
/** If defined, sets the maximum character length to accept for this input */
|
1475
|
-
maxlength?:
|
828
|
+
maxlength?: SkfTextArea["maxLength"];
|
1476
829
|
/** If defined, sets the minimum character length to accept for this input */
|
1477
|
-
minlength?:
|
830
|
+
minlength?: SkfTextArea["minLength"];
|
1478
831
|
/** If defined, displays placeholder text */
|
1479
|
-
placeholder?:
|
832
|
+
placeholder?: SkfTextArea["placeholder"];
|
1480
833
|
/** If true, makes the element not mutable, meaning the user can not edit the control */
|
1481
|
-
readonly?:
|
834
|
+
readonly?: SkfTextArea["readonly"];
|
1482
835
|
/** If defined, renders an alternative A11y text for the asterisk */
|
1483
|
-
"required-label"?:
|
836
|
+
"required-label"?: SkfTextArea["requiredLabel"];
|
1484
837
|
/** If defined, sets the rows of the textarea */
|
1485
|
-
rows?:
|
838
|
+
rows?: SkfTextArea["rows"];
|
1486
839
|
/** If defined, displays provided severity state */
|
1487
|
-
severity?: "
|
840
|
+
severity?: SkfTextArea["severity"];
|
1488
841
|
/** If true, displays valid state after interaction */
|
1489
|
-
"show-valid"?:
|
842
|
+
"show-valid"?: SkfTextArea["showValid"];
|
1490
843
|
/** Size of the Textarea */
|
1491
|
-
size?: "
|
844
|
+
size?: SkfTextArea["size"];
|
1492
845
|
/** Sets validation start */
|
1493
|
-
"validate-on"?: "
|
846
|
+
"validate-on"?: SkfTextArea["validateOn"];
|
1494
847
|
/** The current value of the text area */
|
1495
|
-
value?:
|
848
|
+
value?: SkfTextArea["value"];
|
1496
849
|
|
1497
850
|
/** Fires when the value of the input changes */
|
1498
851
|
onchange?: (e: CustomEvent<never>) => void;
|
@@ -1500,56 +853,74 @@ export type SkfTextAreaProps = {
|
|
1500
853
|
oninvalid?: (e: CustomEvent<never>) => void;
|
1501
854
|
};
|
1502
855
|
|
1503
|
-
export type
|
1504
|
-
/** If provided, adds a close button to the toast and will not disapear until user actively dismisses it. */
|
1505
|
-
closeable?: boolean;
|
856
|
+
export type SkfToastWrapperProps = {
|
1506
857
|
/** */
|
1507
|
-
debug?:
|
1508
|
-
/** Severity of the toast. */
|
1509
|
-
severity?: "info" | "success" | "warning" | "error";
|
1510
|
-
/** Time in seconds before the toast disappears. */
|
1511
|
-
timer?: number;
|
1512
|
-
/** offsets where toasts emerge vertically */
|
1513
|
-
topOffset?: number | undefined;
|
858
|
+
debug?: SkfToastWrapper["debug"];
|
1514
859
|
};
|
1515
860
|
|
1516
|
-
export type
|
861
|
+
export type SkfToastProps = {
|
1517
862
|
/** */
|
1518
|
-
debug?:
|
863
|
+
debug?: SkfToast["debug"];
|
864
|
+
/** If defined, displays leading icon */
|
865
|
+
icon?: SkfToast["icon"];
|
866
|
+
/** If true, renders with an close button and sets aria-role to `status` */
|
867
|
+
persistent?: SkfToast["persistent"];
|
868
|
+
/** If defined, gives the supplied appearance */
|
869
|
+
severity?: SkfToast["severity"];
|
870
|
+
/** Time in seconds before the toast disappears. */
|
871
|
+
timer?: SkfToast["timer"];
|
872
|
+
/** offsets where toasts emerge vertically */
|
873
|
+
topOffset?: SkfToast["topOffset"];
|
1519
874
|
};
|
1520
875
|
|
1521
876
|
export type SkfTooltipProps = {
|
1522
|
-
/** */
|
1523
|
-
offset?: number;
|
1524
877
|
/** The placement of the dropdown */
|
1525
|
-
placement?:
|
1526
|
-
| "top"
|
1527
|
-
| "right"
|
1528
|
-
| "bottom"
|
1529
|
-
| "left"
|
1530
|
-
| "top-start"
|
1531
|
-
| "top-end"
|
1532
|
-
| "right-start"
|
1533
|
-
| "right-end"
|
1534
|
-
| "bottom-start"
|
1535
|
-
| "bottom-end"
|
1536
|
-
| "left-start"
|
1537
|
-
| "left-end";
|
1538
|
-
/** Whether the dropdown is open */
|
1539
|
-
isOpen?: boolean;
|
878
|
+
placement?: SkfTooltip["undefined"];
|
1540
879
|
/** The id of the element the dropdown will be anchored to */
|
1541
|
-
anchor?:
|
880
|
+
anchor?: SkfTooltip["undefined"];
|
881
|
+
/** */
|
882
|
+
role?: SkfTooltip["role"];
|
883
|
+
/** */
|
884
|
+
offset?: SkfTooltip["offset"];
|
885
|
+
/** */
|
886
|
+
placement?: SkfTooltip["placement"];
|
887
|
+
/** */
|
888
|
+
variant?: SkfTooltip["variant"];
|
1542
889
|
/** Fired when the dropdown is opened */
|
1543
|
-
|
890
|
+
"onskf-opened"?: (e: CustomEvent<never>) => void;
|
1544
891
|
/** Fired when the dropdown is closed */
|
1545
|
-
|
892
|
+
"onskf-closed"?: (e: CustomEvent<never>) => void;
|
1546
893
|
};
|
1547
894
|
|
1548
895
|
export type CustomElements = {
|
1549
896
|
/**
|
1550
|
-
* The `<skf-
|
897
|
+
* The `<skf-icon>` component is used to clarify interface elements. When used, should always be paired with (possibly invisible) text.
|
898
|
+
* ---
|
899
|
+
*
|
900
|
+
*/
|
901
|
+
"skf-icon": Partial<SkfIconProps & BaseProps & BaseEvents>;
|
902
|
+
|
903
|
+
/**
|
904
|
+
* The `<skf-accordion-item>` is used in conjunction with the `<skf-accordion>` component
|
905
|
+
* ---
|
906
|
+
*
|
907
|
+
*
|
908
|
+
* ### **Events:**
|
909
|
+
* - **skf-accordion-item-toggle** - Event emitted when toggled
|
910
|
+
*
|
911
|
+
* ### **Methods:**
|
912
|
+
* - **setClose()** - Class method as alternative to manipulate attribute
|
913
|
+
* - **setOpen()** - Class method as alternative to manipulate attribute
|
914
|
+
*
|
915
|
+
* ### **Slots:**
|
916
|
+
* - _default_ - Main content
|
917
|
+
*/
|
918
|
+
"skf-accordion-item": Partial<SkfAccordionItemProps & BaseProps & BaseEvents>;
|
919
|
+
|
920
|
+
/**
|
921
|
+
* The `<skf-accordion>` component consists of one or more `<skf-accordion-item>` item(s) working together
|
1551
922
|
*
|
1552
|
-
* See [zeroheight](https://zeroheight.com/853e936c9/p/6590bf-accordion) for design principles
|
923
|
+
* See [zeroheight](https://zeroheight.com/853e936c9/p/6590bf-accordion) for design principles
|
1553
924
|
* ---
|
1554
925
|
*
|
1555
926
|
*
|
@@ -1560,6 +931,8 @@ export type CustomElements = {
|
|
1560
931
|
|
1561
932
|
/**
|
1562
933
|
* The `<skf-alert>` is a type of notification that appears in-line
|
934
|
+
*
|
935
|
+
* See [zeroheight](https://zeroheight.com/853e936c9/p/990ec5-alert) for design principles
|
1563
936
|
* ---
|
1564
937
|
*
|
1565
938
|
*
|
@@ -1572,8 +945,20 @@ export type CustomElements = {
|
|
1572
945
|
*/
|
1573
946
|
"skf-alert": Partial<SkfAlertProps & BaseProps & BaseEvents>;
|
1574
947
|
|
948
|
+
/**
|
949
|
+
* The `<skf-breadcrumb-item>` is used in conjunction with the `<skf-breadcrumb>` component
|
950
|
+
* ---
|
951
|
+
*
|
952
|
+
*
|
953
|
+
* ### **Slots:**
|
954
|
+
* - _default_ - Label of the breadcrumb item
|
955
|
+
*/
|
956
|
+
"skf-breadcrumb-item": Partial<SkfBreadcrumbItemProps & BaseProps & BaseEvents>;
|
957
|
+
|
1575
958
|
/**
|
1576
959
|
* The `<skf-breadcrumb>` component consists of multiple `<skf-breadcrumb-item>`, working together.
|
960
|
+
*
|
961
|
+
* See [zeroheight](https://zeroheight.com/853e936c9/p/3338ef-breadcrumbs) for design principles.
|
1577
962
|
* ---
|
1578
963
|
*
|
1579
964
|
*
|
@@ -1586,17 +971,16 @@ export type CustomElements = {
|
|
1586
971
|
"skf-breadcrumb": Partial<SkfBreadcrumbProps & BaseProps & BaseEvents>;
|
1587
972
|
|
1588
973
|
/**
|
1589
|
-
* The `<skf-
|
974
|
+
* The `<skf-loader>` component is a progress indicator that uses circular indicators for short, indeterminate activities
|
1590
975
|
* ---
|
1591
976
|
*
|
1592
|
-
*
|
1593
|
-
* ### **Slots:**
|
1594
|
-
* - _default_ - Label of the breadcrumb item
|
1595
977
|
*/
|
1596
|
-
"skf-
|
978
|
+
"skf-loader": Partial<SkfLoaderProps & BaseProps & BaseEvents>;
|
1597
979
|
|
1598
980
|
/**
|
1599
981
|
* Component to be used in forms or for interactivity
|
982
|
+
*
|
983
|
+
* See [zeroheight](https://zeroheight.com/853e936c9/p/02493d-buttons) for design principles
|
1600
984
|
* ---
|
1601
985
|
*
|
1602
986
|
*
|
@@ -1613,6 +997,8 @@ export type CustomElements = {
|
|
1613
997
|
|
1614
998
|
/**
|
1615
999
|
* The `<skf-card>` can be used to group related subjects in a container
|
1000
|
+
*
|
1001
|
+
* See [zeroheight](https://zeroheight.com/853e936c9/p/021eed-card) for design principles
|
1616
1002
|
* ---
|
1617
1003
|
*
|
1618
1004
|
*
|
@@ -1627,7 +1013,7 @@ export type CustomElements = {
|
|
1627
1013
|
*
|
1628
1014
|
*
|
1629
1015
|
* ### **Events:**
|
1630
|
-
* - **change** -
|
1016
|
+
* - **change** - When the value of the input changes
|
1631
1017
|
*
|
1632
1018
|
* ### **Slots:**
|
1633
1019
|
* - _default_ - The Radios label. Alternatively, you can use the `label` attribute.
|
@@ -1635,33 +1021,46 @@ export type CustomElements = {
|
|
1635
1021
|
"skf-checkbox": Partial<SkfCheckboxProps & BaseProps & BaseEvents>;
|
1636
1022
|
|
1637
1023
|
/**
|
1638
|
-
* The `<skf-collapse>` component is a general purpose container for content that can be collapsed / expanded.
|
1639
1024
|
*
|
1640
|
-
* See [zeroheight](https://zeroheight.com/853e936c9/p/6590bf-accordion) for design principles.
|
1641
1025
|
* ---
|
1642
1026
|
*
|
1027
|
+
*/
|
1028
|
+
"skf-datepicker-calendar": Partial<SkfDatepickerCalendarProps & BaseProps & BaseEvents>;
|
1029
|
+
|
1030
|
+
/**
|
1031
|
+
*
|
1032
|
+
* ---
|
1643
1033
|
*
|
1644
|
-
* ### **Events:**
|
1645
|
-
* - **skf-collapse-toggle** - Event emitted when toggled
|
1646
1034
|
*
|
1647
1035
|
* ### **Methods:**
|
1648
|
-
* - **
|
1649
|
-
|
1036
|
+
* - **clear()** - Clears the input field
|
1037
|
+
*/
|
1038
|
+
"skf-datepicker": Partial<SkfDatepickerProps & BaseProps & BaseEvents>;
|
1039
|
+
|
1040
|
+
/**
|
1041
|
+
* The `<Heading>` component is to deliniate content on a page. When using, take note not to skip heading levels.<br>
|
1042
|
+
* It extends the interface of native html `<h1>` to `<h4>` elements.
|
1043
|
+
* ---
|
1044
|
+
*
|
1650
1045
|
*
|
1651
1046
|
* ### **Slots:**
|
1652
|
-
* - _default_ -
|
1047
|
+
* - _default_ - The headings content
|
1653
1048
|
*/
|
1654
|
-
"skf-
|
1049
|
+
"skf-heading": Partial<SkfHeadingProps & BaseProps & BaseEvents>;
|
1655
1050
|
|
1656
1051
|
/**
|
1657
|
-
* The `<skf-dialog>` is a component that open up a dialog with the content provided
|
1052
|
+
* 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)
|
1658
1053
|
* ---
|
1659
1054
|
*
|
1660
1055
|
*
|
1661
1056
|
* ### **Events:**
|
1662
|
-
* - **skf-dialog-
|
1663
|
-
* - **skf-dialog-
|
1664
|
-
* - **
|
1057
|
+
* - **skf-dialog-opened** - Fires when the dialog is opened (after transitioned in)
|
1058
|
+
* - **skf-dialog-closing** - Fires when the dialog is closing (before transitioned out)
|
1059
|
+
* - **skf-dialog-closed** - Fires when the dialog is closed (after transitioned out)
|
1060
|
+
*
|
1061
|
+
* ### **Methods:**
|
1062
|
+
* - **showModal()** - Method that opens the dialog in modal state
|
1063
|
+
* - **close()** - Method that closes the dialog
|
1665
1064
|
*
|
1666
1065
|
* ### **Slots:**
|
1667
1066
|
* - _default_ - The dialog component's content
|
@@ -1685,25 +1084,54 @@ export type CustomElements = {
|
|
1685
1084
|
"skf-divider": Partial<SkfDividerProps & BaseProps & BaseEvents>;
|
1686
1085
|
|
1687
1086
|
/**
|
1688
|
-
* The `<
|
1689
|
-
* It extends the interface of native html `<h1>` to `<h4>` elements.
|
1087
|
+
* The `<skf-drawer>` is a modal component that displays content and toggle by sliding from left/right viewport edge
|
1690
1088
|
* ---
|
1691
1089
|
*
|
1692
1090
|
*
|
1091
|
+
* ### **Events:**
|
1092
|
+
* - **skf-drawer-opened** - Fires when the drawer is opened (after transitioned in)
|
1093
|
+
* - **skf-drawer-closing** - Fires when the drawer is closing (before transitioned out)
|
1094
|
+
* - **skf-drawer-closed** - Fires when the drawer is closed (after transitioned out)
|
1095
|
+
*
|
1693
1096
|
* ### **Slots:**
|
1694
|
-
* - _default_ - The
|
1097
|
+
* - _default_ - The Drawer's main content
|
1695
1098
|
*/
|
1696
|
-
"skf-
|
1099
|
+
"skf-drawer": Partial<SkfDrawerProps & BaseProps & BaseEvents>;
|
1697
1100
|
|
1698
1101
|
/**
|
1699
|
-
* The `<skf-
|
1102
|
+
* The `<skf-logo>` component is used to display the SKF logo.
|
1700
1103
|
* ---
|
1701
1104
|
*
|
1105
|
+
*
|
1106
|
+
* ### **CSS Properties:**
|
1107
|
+
* - **--mod-logo-height** - The height of the logo _(default: undefined)_
|
1702
1108
|
*/
|
1703
|
-
"skf-
|
1109
|
+
"skf-logo": Partial<SkfLogoProps & BaseProps & BaseEvents>;
|
1704
1110
|
|
1705
1111
|
/**
|
1706
|
-
* The skf-
|
1112
|
+
* The `<skf-nav>` is a component that displays a list of <nav-items>.
|
1113
|
+
* ---
|
1114
|
+
*
|
1115
|
+
*
|
1116
|
+
* ### **Slots:**
|
1117
|
+
* - _default_ - The component's main content
|
1118
|
+
*/
|
1119
|
+
"skf-nav": Partial<SkfNavProps & BaseProps & BaseEvents>;
|
1120
|
+
|
1121
|
+
/**
|
1122
|
+
* 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.
|
1123
|
+
* ---
|
1124
|
+
*
|
1125
|
+
*
|
1126
|
+
* ### **Slots:**
|
1127
|
+
* - _default_ - Navigation items
|
1128
|
+
*/
|
1129
|
+
"skf-header": Partial<SkfHeaderProps & BaseProps & BaseEvents>;
|
1130
|
+
|
1131
|
+
/**
|
1132
|
+
* The skf-text-field is used to create a text input field. It can be used inside a form element or standalone
|
1133
|
+
*
|
1134
|
+
* See [zeroheight](https://zeroheight.com/853e936c9/p/9481fa-input-field) for design principles
|
1707
1135
|
* ---
|
1708
1136
|
*
|
1709
1137
|
*
|
@@ -1727,30 +1155,25 @@ export type CustomElements = {
|
|
1727
1155
|
"skf-link": Partial<SkfLinkProps & BaseProps & BaseEvents>;
|
1728
1156
|
|
1729
1157
|
/**
|
1730
|
-
* The `<skf-
|
1731
|
-
* ---
|
1732
|
-
*
|
1733
|
-
*/
|
1734
|
-
"skf-loader": Partial<SkfLoaderProps & BaseProps & BaseEvents>;
|
1735
|
-
|
1736
|
-
/**
|
1737
|
-
* The `<skf-logo>` component is used to display the SKF logo.
|
1158
|
+
* The `<skf-menu-item>` is used in conjunction with the `<skf-menu>` component
|
1738
1159
|
* ---
|
1739
1160
|
*
|
1740
1161
|
*
|
1741
|
-
* ### **
|
1742
|
-
* -
|
1162
|
+
* ### **Slots:**
|
1163
|
+
* - _default_ - The component's main content
|
1743
1164
|
*/
|
1744
|
-
"skf-
|
1165
|
+
"skf-menu-item": Partial<SkfMenuItemProps & BaseProps & BaseEvents>;
|
1745
1166
|
|
1746
1167
|
/**
|
1747
|
-
* The `<skf-menu>` is a component that displays a list of actions or options
|
1168
|
+
* The `<skf-menu>` is a component that displays a list of actions or options
|
1169
|
+
*
|
1170
|
+
* See [zeroheight](https://zeroheight.com/853e936c9/p/983e5d-popover) for design principles
|
1748
1171
|
* ---
|
1749
1172
|
*
|
1750
1173
|
*
|
1751
1174
|
* ### **Events:**
|
1752
|
-
* - **
|
1753
|
-
* - **
|
1175
|
+
* - **skf-opened** - Fired when the menu is opened
|
1176
|
+
* - **skf-closed** - Fired when the menu is closed
|
1754
1177
|
*
|
1755
1178
|
* ### **Slots:**
|
1756
1179
|
* - _default_ - The menu popover content
|
@@ -1758,33 +1181,25 @@ export type CustomElements = {
|
|
1758
1181
|
"skf-menu": Partial<SkfMenuProps & BaseProps & BaseEvents>;
|
1759
1182
|
|
1760
1183
|
/**
|
1761
|
-
* The `<skf-
|
1184
|
+
* The `<skf-nav>` is a component that displays a list of <nav-items>.
|
1762
1185
|
* ---
|
1763
1186
|
*
|
1764
1187
|
*
|
1765
|
-
* ### **Events:**
|
1766
|
-
* - **my-tag-my-event** - Fired when something happens
|
1767
|
-
* - **click** - Fired when the component is clicked
|
1768
|
-
* - **mouseover** - Fired when the mouse is over the component
|
1769
|
-
* - **mouseout** - Fired when the mouse is out of the component
|
1770
|
-
* - **focus** - Fired when the component is focused
|
1771
|
-
* - **blur** - Fired when the component is blurred
|
1772
|
-
* - **change** - Fired when the component's value changes
|
1773
|
-
*
|
1774
1188
|
* ### **Slots:**
|
1775
1189
|
* - _default_ - The component's main content
|
1776
|
-
* - **my-named-slot** - A named slot of the component
|
1777
1190
|
*/
|
1778
|
-
"skf-
|
1191
|
+
"skf-nav-item": Partial<SkfNavItemProps & BaseProps & BaseEvents>;
|
1779
1192
|
|
1780
1193
|
/**
|
1781
|
-
* The `<skf-popover>` is a general purpose component that displays the slot content.
|
1194
|
+
* The `<skf-popover>` is a general purpose component that displays the slot content in a popover.
|
1195
|
+
*
|
1196
|
+
* See [zeroheight](https://zeroheight.com/853e936c9/p/983e5d-popover) for design principles
|
1782
1197
|
* ---
|
1783
1198
|
*
|
1784
1199
|
*
|
1785
1200
|
* ### **Events:**
|
1786
|
-
* - **
|
1787
|
-
* - **
|
1201
|
+
* - **skf-opened** - Fired when the menu is opened
|
1202
|
+
* - **skf-closed** - Fired when the menu is closed
|
1788
1203
|
*
|
1789
1204
|
* ### **Slots:**
|
1790
1205
|
* - _default_ - The popover content
|
@@ -1800,11 +1215,13 @@ export type CustomElements = {
|
|
1800
1215
|
|
1801
1216
|
/**
|
1802
1217
|
* The `<skf-radio>` component is used to create a radio input
|
1218
|
+
*
|
1219
|
+
* See [zeroheight](https://zeroheight.com/853e936c9/p/78d5dd-radio-button) for design principles
|
1803
1220
|
* ---
|
1804
1221
|
*
|
1805
1222
|
*
|
1806
1223
|
* ### **Events:**
|
1807
|
-
* - **change** -
|
1224
|
+
* - **change** - When the value of the input changes
|
1808
1225
|
*
|
1809
1226
|
* ### **Slots:**
|
1810
1227
|
* - _default_ - The radios label. Alternatively, you can use the `label` attribute.
|
@@ -1812,35 +1229,29 @@ export type CustomElements = {
|
|
1812
1229
|
"skf-radio": Partial<SkfRadioProps & BaseProps & BaseEvents>;
|
1813
1230
|
|
1814
1231
|
/**
|
1815
|
-
* The `<skf-
|
1232
|
+
* The `<skf-segmented-button-item>` is used in conjunction with the `<skf-segmented-button>` component
|
1816
1233
|
* ---
|
1817
1234
|
*
|
1818
1235
|
*
|
1819
1236
|
* ### **Events:**
|
1820
|
-
* - **
|
1821
|
-
* - **invalid** - Fired when the select is invalid
|
1822
|
-
* - **reset** - Fired when the form is reset
|
1823
|
-
* - **skf-select:dropdown** - {detail: {expanded: boolean}} Fired when the select dropdown is toggled
|
1824
|
-
* - **skf-select-option:select** - {detail: {value: string | null, option: SkfSelectOption}} Fired when the select dropdown is toggled
|
1237
|
+
* - **skf-segmented-button-item-select** - Fired when selected
|
1825
1238
|
*
|
1826
1239
|
* ### **Slots:**
|
1827
|
-
* - _default_ -
|
1240
|
+
* - _default_ - Label for the button
|
1828
1241
|
*/
|
1829
|
-
"skf-
|
1242
|
+
"skf-segmented-button-item": Partial<SkfSegmentedButtonItemProps & BaseProps & BaseEvents>;
|
1830
1243
|
|
1831
1244
|
/**
|
1832
|
-
* The `<skf-
|
1833
|
-
* ---
|
1245
|
+
* The `<skf-segmented-button>` component consists of multiple `<skf-segmented-button-item>`, working together.
|
1834
1246
|
*
|
1247
|
+
* See [zeroheight](https://zeroheight.com/853e936c9/p/68ff54-segmented-buttons) for design principles
|
1248
|
+
* ---
|
1835
1249
|
*
|
1836
|
-
* ### **Events:**
|
1837
|
-
* - **skf-select-option:select** - {detail: { value: string | null, option: SkfSelectOption }} Fires when the option is selected/deselected.
|
1838
1250
|
*
|
1839
1251
|
* ### **Slots:**
|
1840
|
-
* - _default_ -
|
1841
|
-
* - **icon** - The option's slot for icon or custom meta information (svg).
|
1252
|
+
* - _default_ - One or more `<skf-segmented-button-item>`
|
1842
1253
|
*/
|
1843
|
-
"skf-
|
1254
|
+
"skf-segmented-button": Partial<SkfSegmentedButtonProps & BaseProps & BaseEvents>;
|
1844
1255
|
|
1845
1256
|
/**
|
1846
1257
|
* The `<skf-select-option-group>` is a component that groups select-options
|
@@ -1853,65 +1264,85 @@ export type CustomElements = {
|
|
1853
1264
|
"skf-select-option-group": Partial<SkfSelectOptionGroupProps & BaseProps & BaseEvents>;
|
1854
1265
|
|
1855
1266
|
/**
|
1856
|
-
* The `<skf-
|
1267
|
+
* The `<skf-tag>` is a component that displays a list of actions or options
|
1268
|
+
* ---
|
1269
|
+
*
|
1270
|
+
*
|
1271
|
+
* ### **Slots:**
|
1272
|
+
* - _default_ - The component's placeholder content
|
1273
|
+
*/
|
1274
|
+
"skf-tag": Partial<SkfTagProps & BaseProps & BaseEvents>;
|
1275
|
+
|
1276
|
+
/**
|
1277
|
+
* 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.
|
1278
|
+
*
|
1279
|
+
* See [zeroheight](https://zeroheight.com/853e936c9/p/91c9f0-select-and-combobox) for design principles
|
1857
1280
|
* ---
|
1858
1281
|
*
|
1859
1282
|
*
|
1860
1283
|
* ### **Events:**
|
1861
|
-
* - **
|
1284
|
+
* - **change** - Fired when the selected option(s) changes
|
1285
|
+
* - **invalid** - Fired when the select is invalid
|
1286
|
+
* - **reset** - Fired when the form is reset
|
1287
|
+
* - **skf-select-dropdown** - {detail: {expanded: boolean}} Fired when the select dropdown is toggled
|
1288
|
+
* - **skf-select-option-select** - {detail: {value: string | null, option: SkfSelectOption}} Fired when the select dropdown is toggled
|
1862
1289
|
*
|
1863
1290
|
* ### **Slots:**
|
1864
|
-
* - _default_ -
|
1291
|
+
* - _default_ - The select's placeholder content
|
1865
1292
|
*/
|
1866
|
-
"skf-
|
1293
|
+
"skf-select": Partial<SkfSelectProps & BaseProps & BaseEvents>;
|
1867
1294
|
|
1868
1295
|
/**
|
1869
|
-
* The `<skf-
|
1296
|
+
* The `<skf-select-option>` is a component is used nested in a skf-select or skf-select-option-group.
|
1870
1297
|
* ---
|
1871
1298
|
*
|
1872
1299
|
*
|
1873
1300
|
* ### **Events:**
|
1874
|
-
* - **skf-
|
1301
|
+
* - **skf-select-option-select** - {detail: { value: string | null, option: SkfSelectOption }} Fires when the option is selected/deselected.
|
1875
1302
|
*
|
1876
1303
|
* ### **Slots:**
|
1877
|
-
* - _default_ -
|
1304
|
+
* - _default_ - The option's text content
|
1305
|
+
* - **icon** - The option's slot for icon or custom meta information (svg).
|
1878
1306
|
*/
|
1879
|
-
"skf-
|
1307
|
+
"skf-select-option": Partial<SkfSelectOptionProps & BaseProps & BaseEvents>;
|
1880
1308
|
|
1881
1309
|
/**
|
1882
|
-
* The `<skf-
|
1310
|
+
* The `<skf-stepper-item>` is used in conjunction with the `<skf-stepper>` component
|
1883
1311
|
* ---
|
1884
1312
|
*
|
1885
1313
|
*
|
1314
|
+
* ### **Events:**
|
1315
|
+
* - **skf-stepper-item-select** - Dispatched when the stepper item is selected
|
1316
|
+
*
|
1886
1317
|
* ### **Slots:**
|
1887
|
-
* - _default_ -
|
1318
|
+
* - _default_ - Label of the stepper item
|
1888
1319
|
*/
|
1889
|
-
"skf-
|
1320
|
+
"skf-stepper-item": Partial<SkfStepperItemProps & BaseProps & BaseEvents>;
|
1890
1321
|
|
1891
1322
|
/**
|
1892
|
-
* The `<skf-
|
1323
|
+
* The `<skf-stepper>` is a component that displays a list of actions or options.
|
1893
1324
|
* ---
|
1894
1325
|
*
|
1895
1326
|
*
|
1896
1327
|
* ### **Events:**
|
1897
|
-
* - **skf-
|
1898
|
-
* - **click** - Fired when the component is clicked
|
1328
|
+
* - **skf-stepper-item-select** - Dispatched when the stepper item is selected
|
1899
1329
|
*
|
1900
1330
|
* ### **Slots:**
|
1901
|
-
* - _default_ -
|
1331
|
+
* - _default_ - One or more `<skf-stepper-item>`
|
1902
1332
|
*/
|
1903
|
-
"skf-
|
1333
|
+
"skf-stepper": Partial<SkfStepperProps & BaseProps & BaseEvents>;
|
1904
1334
|
|
1905
1335
|
/**
|
1906
|
-
* The `<skf-
|
1336
|
+
* The `<skf-switch>` is a component that displays a list of actions or options
|
1337
|
+
*
|
1338
|
+
* See [zeroheight](https://zeroheight.com/853e936c9/p/7282a2-switch) for design principle
|
1907
1339
|
* ---
|
1908
1340
|
*
|
1909
1341
|
*
|
1910
1342
|
* ### **Slots:**
|
1911
|
-
* - _default_ -
|
1912
|
-
* - **tabs** - Used for grouping tabs in the tab group. Must be <skf-tab> elements
|
1343
|
+
* - _default_ - The Switchs label. Alternatively, you can use the `label` attribute.
|
1913
1344
|
*/
|
1914
|
-
"skf-
|
1345
|
+
"skf-switch": Partial<SkfSwitchProps & BaseProps & BaseEvents>;
|
1915
1346
|
|
1916
1347
|
/**
|
1917
1348
|
* The `<skf-tab-panel>` is a component that displays a list of actions or options.
|
@@ -1924,14 +1355,29 @@ export type CustomElements = {
|
|
1924
1355
|
"skf-tab-panel": Partial<SkfTabPanelProps & BaseProps & BaseEvents>;
|
1925
1356
|
|
1926
1357
|
/**
|
1927
|
-
* The `<skf-
|
1358
|
+
* The `<skf-tabs>` is a component that displays a list of actions or options
|
1928
1359
|
* ---
|
1929
1360
|
*
|
1930
1361
|
*
|
1931
1362
|
* ### **Slots:**
|
1932
|
-
* - _default_ -
|
1363
|
+
* - _default_ - Used for grouping tab panels in the tab group. Must be <skf-tab-panel> elements
|
1364
|
+
* - **tabs** - Used for grouping tabs in the tab group. Must be <skf-tab> elements
|
1933
1365
|
*/
|
1934
|
-
"skf-
|
1366
|
+
"skf-tabs": Partial<SkfTabsProps & BaseProps & BaseEvents>;
|
1367
|
+
|
1368
|
+
/**
|
1369
|
+
* The `<skf-tab>` is a component that displays a list of actions or options
|
1370
|
+
* ---
|
1371
|
+
*
|
1372
|
+
*
|
1373
|
+
* ### **Events:**
|
1374
|
+
* - **skf-tab-select** - {detail: { selected: true, tab: SkfTab }} Fires when the tab is selected
|
1375
|
+
* - **click** - Fired when the component is clicked
|
1376
|
+
*
|
1377
|
+
* ### **Slots:**
|
1378
|
+
* - _default_ - The tab's label
|
1379
|
+
*/
|
1380
|
+
"skf-tab": Partial<SkfTabProps & BaseProps & BaseEvents>;
|
1935
1381
|
|
1936
1382
|
/**
|
1937
1383
|
* The skf-textarea is used to create a textarea. Use it inside a form element or wherever you like.
|
@@ -1948,33 +1394,33 @@ export type CustomElements = {
|
|
1948
1394
|
"skf-textarea": Partial<SkfTextAreaProps & BaseProps & BaseEvents>;
|
1949
1395
|
|
1950
1396
|
/**
|
1951
|
-
*
|
1397
|
+
* 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.
|
1952
1398
|
* ---
|
1953
1399
|
*
|
1954
1400
|
*
|
1955
1401
|
* ### **Slots:**
|
1956
|
-
* - _default_ - The
|
1402
|
+
* - _default_ - The alert components that the toast creates will render here.
|
1957
1403
|
*/
|
1958
|
-
"skf-toast": Partial<
|
1404
|
+
"skf-toast-wrapper": Partial<SkfToastWrapperProps & BaseProps & BaseEvents>;
|
1959
1405
|
|
1960
1406
|
/**
|
1961
|
-
*
|
1407
|
+
* 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.
|
1962
1408
|
* ---
|
1963
1409
|
*
|
1964
1410
|
*
|
1965
1411
|
* ### **Slots:**
|
1966
|
-
* - _default_ - The
|
1412
|
+
* - _default_ - The component's placeholder content
|
1967
1413
|
*/
|
1968
|
-
"skf-toast
|
1414
|
+
"skf-toast": Partial<SkfToastProps & BaseProps & BaseEvents>;
|
1969
1415
|
|
1970
1416
|
/**
|
1971
|
-
* The `<skf-tooltip>` is a component that displays a
|
1417
|
+
* The `<skf-tooltip>` is a component that displays a tooltip.
|
1972
1418
|
* ---
|
1973
1419
|
*
|
1974
1420
|
*
|
1975
1421
|
* ### **Events:**
|
1976
|
-
* - **
|
1977
|
-
* - **
|
1422
|
+
* - **skf-opened** - Fired when the dropdown is opened
|
1423
|
+
* - **skf-closed** - Fired when the dropdown is closed
|
1978
1424
|
*
|
1979
1425
|
* ### **Slots:**
|
1980
1426
|
* - _default_ - The tooltip popover content
|