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