@scania/tegel 0.0.1-beta.9 → 0.0.2
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/dist/cjs/index-b98965c7.js +1919 -0
- package/dist/cjs/index.cjs.js +2 -0
- package/dist/cjs/loader.cjs.js +21 -0
- package/dist/cjs/popper-11d5f714.js +1801 -0
- package/dist/cjs/sdds-accordion-item.cjs.entry.js +34 -0
- package/dist/cjs/sdds-accordion.cjs.entry.js +21 -0
- package/dist/cjs/sdds-badges.cjs.entry.js +54 -0
- package/dist/cjs/sdds-banner.cjs.entry.js +79 -0
- package/dist/cjs/sdds-block.cjs.entry.js +32 -0
- package/dist/cjs/sdds-body-cell_2.cjs.entry.js +173 -0
- package/dist/cjs/sdds-breadcrumb-item.cjs.entry.js +25 -0
- package/dist/cjs/sdds-breadcrumb.cjs.entry.js +23 -0
- package/dist/cjs/sdds-button.cjs.entry.js +37 -0
- package/dist/cjs/sdds-card.cjs.entry.js +56 -0
- package/dist/cjs/sdds-checkbox.cjs.entry.js +55 -0
- package/dist/cjs/sdds-datetime.cjs.entry.js +95 -0
- package/dist/cjs/sdds-dropdown-filter.cjs.entry.js +92 -0
- package/dist/cjs/sdds-dropdown_2.cjs.entry.js +341 -0
- package/dist/cjs/sdds-header-cell.cjs.entry.js +139 -0
- package/dist/cjs/sdds-icon.cjs.entry.js +42 -0
- package/dist/cjs/sdds-inline-tab.cjs.entry.js +22 -0
- package/dist/cjs/sdds-inline-tabs-fullbleed.cjs.entry.js +98 -0
- package/dist/cjs/sdds-inline-tabs.cjs.entry.js +221 -0
- package/dist/cjs/sdds-link.cjs.entry.js +28 -0
- package/dist/cjs/sdds-message.cjs.entry.js +41 -0
- package/dist/cjs/sdds-modal.cjs.entry.js +51 -0
- package/dist/cjs/sdds-navigation-tabs.cjs.entry.js +98 -0
- package/dist/cjs/sdds-popover-canvas.cjs.entry.js +84 -0
- package/dist/cjs/sdds-popover-menu.cjs.entry.js +85 -0
- package/dist/cjs/sdds-radio-button.cjs.entry.js +32 -0
- package/dist/cjs/sdds-slider.cjs.entry.js +357 -0
- package/dist/cjs/sdds-spinner.cjs.entry.js +21 -0
- package/dist/cjs/sdds-table-body-row-expandable.cjs.entry.js +82 -0
- package/dist/cjs/sdds-table-body.cjs.entry.js +289 -0
- package/dist/cjs/sdds-table-footer.cjs.entry.js +164 -0
- package/dist/cjs/sdds-table-header.cjs.entry.js +99 -0
- package/dist/cjs/sdds-table-toolbar.cjs.entry.js +65 -0
- package/dist/cjs/sdds-table.cjs.entry.js +68 -0
- package/dist/cjs/sdds-textarea.cjs.entry.js +74 -0
- package/dist/cjs/sdds-textfield.cjs.entry.js +91 -0
- package/dist/cjs/sdds-toast.cjs.entry.js +86 -0
- package/dist/cjs/sdds-toggle.cjs.entry.js +44 -0
- package/dist/cjs/sdds-tooltip.cjs.entry.js +104 -0
- package/dist/cjs/tegel.cjs.js +19 -0
- package/dist/collection/collection-manifest.json +52 -0
- package/dist/collection/components/accordion/accordion-item/accordion-item.css +153 -0
- package/dist/collection/components/accordion/accordion-item/accordion-item.js +146 -0
- package/dist/collection/components/accordion/accordion.css +63 -0
- package/dist/collection/components/accordion/accordion.js +62 -0
- package/dist/collection/components/accordion/accordion.stories.js +90 -0
- package/dist/collection/components/badge/badge.stories.js +102 -0
- package/dist/collection/components/badge/badges.css +42 -0
- package/dist/collection/components/badge/badges.js +147 -0
- package/dist/collection/components/banner/banner.stories.js +92 -0
- package/dist/collection/components/banner/sdds-banner.css +88 -0
- package/dist/collection/components/banner/sdds-banner.js +330 -0
- package/dist/collection/components/banner/sdds-banner.stories.js +129 -0
- package/dist/collection/components/block/block-native.stories.js +48 -0
- package/dist/collection/components/block/sdds-block.css +22 -0
- package/dist/collection/components/block/sdds-block.js +55 -0
- package/dist/collection/components/block/sdds-block.stories.js +48 -0
- package/dist/collection/components/breadcrumb/breadcrumb-component.css +30 -0
- package/dist/collection/components/breadcrumb/breadcrumb-item/breadcrumb-item.css +43 -0
- package/dist/collection/components/breadcrumb/breadcrumb-item/breadcrumb-item.js +83 -0
- package/dist/collection/components/breadcrumb/breadcrumb.js +22 -0
- package/dist/collection/components/breadcrumb/breadcrumb.stories.js +26 -0
- package/dist/collection/components/button/button-component.js +155 -0
- package/dist/collection/components/button/button-native.stories.js +187 -0
- package/dist/collection/components/button/button-webcomponent.stories.js +189 -0
- package/dist/collection/components/button/button.css +670 -0
- package/dist/collection/components/card/card.stories.js +167 -0
- package/dist/collection/components/card/sdds-card.css +78 -0
- package/dist/collection/components/card/sdds-card.js +276 -0
- package/dist/collection/components/card/sdds-card.stories.js +168 -0
- package/dist/collection/components/checkbox/checkbox.stories.js +54 -0
- package/dist/collection/components/checkbox/sdds-checkbox.css +95 -0
- package/dist/collection/components/checkbox/sdds-checkbox.js +239 -0
- package/dist/collection/components/checkbox/sdds-checkbox.stories.js +71 -0
- package/dist/collection/components/chips/chips.stories.js +106 -0
- package/dist/collection/components/data-table/native-table.stories.js +160 -0
- package/dist/collection/components/data-table/table/table.css +15 -0
- package/dist/collection/components/data-table/table/table.js +252 -0
- package/dist/collection/components/data-table/table-body/table-body.css +22 -0
- package/dist/collection/components/data-table/table-body/table-body.js +425 -0
- package/dist/collection/components/data-table/table-body-cell/table-body-cell.css +40 -0
- package/dist/collection/components/data-table/table-body-cell/table-body-cell.js +168 -0
- package/dist/collection/components/data-table/table-body-row/table-body-row.css +175 -0
- package/dist/collection/components/data-table/table-body-row/table-body-row.js +165 -0
- package/dist/collection/components/data-table/table-body-row-expandable/table-body-row-expandable.css +78 -0
- package/dist/collection/components/data-table/table-body-row-expandable/table-body-row-expandable.js +156 -0
- package/dist/collection/components/data-table/table-component-basic.stories.js +161 -0
- package/dist/collection/components/data-table/table-component-batch-actions.stories.js +128 -0
- package/dist/collection/components/data-table/table-component-bodydata.stories.js +58 -0
- package/dist/collection/components/data-table/table-component-custom-width.stories.js +197 -0
- package/dist/collection/components/data-table/table-component-event-listeners.stories.js +151 -0
- package/dist/collection/components/data-table/table-component-expandable-rows.stories.js +135 -0
- package/dist/collection/components/data-table/table-component-filtering.stories.js +137 -0
- package/dist/collection/components/data-table/table-component-multiselect.stories.js +158 -0
- package/dist/collection/components/data-table/table-component-pagination.stories.js +127 -0
- package/dist/collection/components/data-table/table-component-sorting.stories.js +126 -0
- package/dist/collection/components/data-table/table-footer/table-footer.css +97 -0
- package/dist/collection/components/data-table/table-footer/table-footer.js +354 -0
- package/dist/collection/components/data-table/table-header/table-header.css +190 -0
- package/dist/collection/components/data-table/table-header/table-header.js +152 -0
- package/dist/collection/components/data-table/table-header-cell/table-header-cell.css +127 -0
- package/dist/collection/components/data-table/table-header-cell/table-header-cell.js +317 -0
- package/dist/collection/components/data-table/table-toolbar/table-toolbar.css +93 -0
- package/dist/collection/components/data-table/table-toolbar/table-toolbar.js +141 -0
- package/dist/collection/components/datetime/datetime.css +385 -0
- package/dist/collection/components/datetime/datetime.js +352 -0
- package/dist/collection/components/datetime/datetime.stories.js +207 -0
- package/dist/collection/components/divider/divider.stories.js +133 -0
- package/dist/collection/components/dropdown/dropdown-filter/dropdown-filter.js +339 -0
- package/dist/collection/components/dropdown/dropdown-filter/dropdown-filter.stories.js +130 -0
- package/dist/collection/components/dropdown/dropdown-native.stories.js +90 -0
- package/dist/collection/components/dropdown/dropdown-option/dropdown-option.js +185 -0
- package/dist/collection/components/dropdown/dropdown-wc-default.stories.js +167 -0
- package/dist/collection/components/dropdown/dropdown-wc-multiselect.stories.js +146 -0
- package/dist/collection/components/dropdown/dropdown.css +951 -0
- package/dist/collection/components/dropdown/dropdown.js +577 -0
- package/dist/collection/components/footer/footer.stories.js +117 -0
- package/dist/collection/components/header/header-all.stories.js +217 -0
- package/dist/collection/components/header/header-default.stories.js +47 -0
- package/dist/collection/components/header/header-inline.stories.js +113 -0
- package/dist/collection/components/header/header-search.stories.js +263 -0
- package/dist/collection/components/header/header-toolbar.stories.js +204 -0
- package/dist/collection/components/icon/icon-font.stories.js +57 -0
- package/dist/collection/components/icon/icon-web-component.stories.js +51 -0
- package/dist/collection/components/icon/icon.css +16 -0
- package/dist/collection/components/icon/icon.js +89 -0
- package/dist/collection/components/icon/iconsArray.js +2 -0
- package/dist/collection/components/link/link.stories.js +45 -0
- package/dist/collection/components/link/sdds-link.css +36 -0
- package/dist/collection/components/link/sdds-link.js +121 -0
- package/dist/collection/components/link/sdds-link.stories.js +70 -0
- package/dist/collection/components/message/message.stories.js +108 -0
- package/dist/collection/components/message/sdds-message.css +70 -0
- package/dist/collection/components/message/sdds-message.js +135 -0
- package/dist/collection/components/message/sdds-message.stories.js +106 -0
- package/dist/collection/components/modal/modal-native.stories.js +129 -0
- package/dist/collection/components/modal/modal-webcomponent.stories.js +86 -0
- package/dist/collection/components/modal/modal.css +350 -0
- package/dist/collection/components/modal/modal.js +148 -0
- package/dist/collection/components/popover-canvas/popover-canvas.css +20 -0
- package/dist/collection/components/popover-canvas/popover-canvas.js +219 -0
- package/dist/collection/components/popover-canvas/popover-canvas.stories.js +89 -0
- package/dist/collection/components/popover-menu/popover-menu-icons.stories.js +121 -0
- package/dist/collection/components/popover-menu/popover-menu.css +19 -0
- package/dist/collection/components/popover-menu/popover-menu.js +220 -0
- package/dist/collection/components/popover-menu/popover-menu.stories.js +114 -0
- package/dist/collection/components/radio-button/radio-button-component.css +123 -0
- package/dist/collection/components/radio-button/radio-button-component.stories.js +91 -0
- package/dist/collection/components/radio-button/radio-button.js +160 -0
- package/dist/collection/components/radio-button/radio-button.stories.js +68 -0
- package/dist/collection/components/side-menu/side-menu.stories.js +182 -0
- package/dist/collection/components/slider/slider.css +297 -0
- package/dist/collection/components/slider/slider.js +721 -0
- package/dist/collection/components/slider/slider.stories.js +208 -0
- package/dist/collection/components/spinner/spinner.css +79 -0
- package/dist/collection/components/spinner/spinner.js +61 -0
- package/dist/collection/components/spinner/spinner.stories.js +59 -0
- package/dist/collection/components/stepper/stepper.stories.js +139 -0
- package/dist/collection/components/tabs/inline-tabs-default/inline-tab/inline-tab.css +3 -0
- package/dist/collection/components/tabs/inline-tabs-default/inline-tab/inline-tab.js +80 -0
- package/dist/collection/components/tabs/inline-tabs-default/inline-tabs.css +156 -0
- package/dist/collection/components/tabs/inline-tabs-default/inline-tabs.js +312 -0
- package/dist/collection/components/tabs/inline-tabs-default/inline-tabs.stories.js +71 -0
- package/dist/collection/components/tabs/inline-tabs-fullbleed/inline-tabs-fullbleed.css +141 -0
- package/dist/collection/components/tabs/inline-tabs-fullbleed/inline-tabs-fullbleed.js +128 -0
- package/dist/collection/components/tabs/inline-tabs-fullbleed/inline-tabs-fullbleed.stories.js +46 -0
- package/dist/collection/components/tabs/navigation-tabs/navigation-tabs.css +157 -0
- package/dist/collection/components/tabs/navigation-tabs/navigation-tabs.js +128 -0
- package/dist/collection/components/tabs/navigation-tabs/navigation-tabs.stories.js +32 -0
- package/dist/collection/components/textarea/textarea.css +298 -0
- package/dist/collection/components/textarea/textarea.js +402 -0
- package/dist/collection/components/textarea/textarea.stories.js +169 -0
- package/dist/collection/components/textfield/textfield.css +502 -0
- package/dist/collection/components/textfield/textfield.js +439 -0
- package/dist/collection/components/textfield/textfield.stories.js +239 -0
- package/dist/collection/components/toast/sdds-toast.css +102 -0
- package/dist/collection/components/toast/sdds-toast.js +256 -0
- package/dist/collection/components/toast/sdds-toast.stories.js +86 -0
- package/dist/collection/components/toast/toast.stories.js +129 -0
- package/dist/collection/components/toggle/sdds-toggle.css +104 -0
- package/dist/collection/components/toggle/sdds-toggle.js +261 -0
- package/dist/collection/components/toggle/sdds-toggle.stories.js +92 -0
- package/dist/collection/components/toggle/toggle.stories.js +72 -0
- package/dist/collection/components/tooltip/tooltip.css +46 -0
- package/dist/collection/components/tooltip/tooltip.js +229 -0
- package/dist/collection/components/tooltip/tooltip.stories.js +115 -0
- package/dist/collection/components/utility/colour/background-color.stories.js +96 -0
- package/dist/collection/components/utility/colour/text-color.stories.js +94 -0
- package/dist/collection/foundations-stories/colour/colour-brand.stories.js +38 -0
- package/dist/collection/foundations-stories/colour/colour-scales.stories.js +71 -0
- package/dist/collection/foundations-stories/colour/colour-semantic.stories.js +40 -0
- package/dist/collection/foundations-stories/grid/grid.stories.js +386 -0
- package/dist/collection/foundations-stories/spacing/spacing-element.stories.js +100 -0
- package/dist/collection/foundations-stories/spacing/spacing-layout.stories.js +94 -0
- package/dist/collection/foundations-stories/typography/typography-body.stories.js +16 -0
- package/dist/collection/foundations-stories/typography/typography-detail.stories.js +17 -0
- package/dist/collection/foundations-stories/typography/typography-headline.stories.js +39 -0
- package/dist/collection/foundations-stories/typography/typography-paragraph.stories.js +12 -0
- package/dist/collection/index.js +1 -0
- package/dist/collection/stories/assets/code-brackets.svg +1 -0
- package/dist/collection/stories/assets/colors.svg +1 -0
- package/dist/collection/stories/assets/comments.svg +1 -0
- package/dist/collection/stories/assets/direction.svg +1 -0
- package/dist/collection/stories/assets/flow.svg +1 -0
- package/dist/collection/stories/assets/plugin.svg +1 -0
- package/dist/collection/stories/assets/repo.svg +1 -0
- package/dist/collection/stories/assets/stackalt.svg +1 -0
- package/dist/collection/utils/utils.js +12 -0
- package/dist/components/dropdown-option.js +100 -0
- package/dist/components/dropdown.js +303 -0
- package/dist/components/icon.js +58 -0
- package/dist/components/index.d.ts +62 -0
- package/dist/components/index.js +42 -0
- package/dist/components/popper.js +1799 -0
- package/dist/components/sdds-accordion-item.d.ts +11 -0
- package/dist/components/sdds-accordion-item.js +60 -0
- package/dist/components/sdds-accordion.d.ts +11 -0
- package/dist/components/sdds-accordion.js +38 -0
- package/dist/components/sdds-badges.d.ts +11 -0
- package/dist/components/sdds-badges.js +75 -0
- package/dist/components/sdds-banner.d.ts +11 -0
- package/dist/components/sdds-banner.js +119 -0
- package/dist/components/sdds-block.d.ts +11 -0
- package/dist/components/sdds-block.js +48 -0
- package/dist/components/sdds-body-cell.d.ts +11 -0
- package/dist/components/sdds-body-cell.js +6 -0
- package/dist/components/sdds-breadcrumb-item.d.ts +11 -0
- package/dist/components/sdds-breadcrumb-item.js +43 -0
- package/dist/components/sdds-breadcrumb.d.ts +11 -0
- package/dist/components/sdds-breadcrumb.js +37 -0
- package/dist/components/sdds-button.d.ts +11 -0
- package/dist/components/sdds-button.js +59 -0
- package/dist/components/sdds-card.d.ts +11 -0
- package/dist/components/sdds-card.js +84 -0
- package/dist/components/sdds-checkbox.d.ts +11 -0
- package/dist/components/sdds-checkbox.js +76 -0
- package/dist/components/sdds-datetime.d.ts +11 -0
- package/dist/components/sdds-datetime.js +129 -0
- package/dist/components/sdds-dropdown-filter.d.ts +11 -0
- package/dist/components/sdds-dropdown-filter.js +138 -0
- package/dist/components/sdds-dropdown-option.d.ts +11 -0
- package/dist/components/sdds-dropdown-option.js +6 -0
- package/dist/components/sdds-dropdown.d.ts +11 -0
- package/dist/components/sdds-dropdown.js +6 -0
- package/dist/components/sdds-header-cell.d.ts +11 -0
- package/dist/components/sdds-header-cell.js +170 -0
- package/dist/components/sdds-icon.d.ts +11 -0
- package/dist/components/sdds-icon.js +6 -0
- package/dist/components/sdds-inline-tab.d.ts +11 -0
- package/dist/components/sdds-inline-tab.js +40 -0
- package/dist/components/sdds-inline-tabs-fullbleed.d.ts +11 -0
- package/dist/components/sdds-inline-tabs-fullbleed.js +117 -0
- package/dist/components/sdds-inline-tabs.d.ts +11 -0
- package/dist/components/sdds-inline-tabs.js +245 -0
- package/dist/components/sdds-link.d.ts +11 -0
- package/dist/components/sdds-link.js +6 -0
- package/dist/components/sdds-link2.js +44 -0
- package/dist/components/sdds-message.d.ts +11 -0
- package/dist/components/sdds-message.js +67 -0
- package/dist/components/sdds-modal.d.ts +11 -0
- package/dist/components/sdds-modal.js +77 -0
- package/dist/components/sdds-navigation-tabs.d.ts +11 -0
- package/dist/components/sdds-navigation-tabs.js +117 -0
- package/dist/components/sdds-popover-canvas.d.ts +11 -0
- package/dist/components/sdds-popover-canvas.js +108 -0
- package/dist/components/sdds-popover-menu.d.ts +11 -0
- package/dist/components/sdds-popover-menu.js +109 -0
- package/dist/components/sdds-radio-button.d.ts +11 -0
- package/dist/components/sdds-radio-button.js +52 -0
- package/dist/components/sdds-slider.d.ts +11 -0
- package/dist/components/sdds-slider.js +394 -0
- package/dist/components/sdds-spinner.d.ts +11 -0
- package/dist/components/sdds-spinner.js +37 -0
- package/dist/components/sdds-table-body-row-expandable.d.ts +11 -0
- package/dist/components/sdds-table-body-row-expandable.js +105 -0
- package/dist/components/sdds-table-body-row.d.ts +11 -0
- package/dist/components/sdds-table-body-row.js +6 -0
- package/dist/components/sdds-table-body.d.ts +11 -0
- package/dist/components/sdds-table-body.js +337 -0
- package/dist/components/sdds-table-footer.d.ts +11 -0
- package/dist/components/sdds-table-footer.js +195 -0
- package/dist/components/sdds-table-header.d.ts +11 -0
- package/dist/components/sdds-table-header.js +124 -0
- package/dist/components/sdds-table-toolbar.d.ts +11 -0
- package/dist/components/sdds-table-toolbar.js +87 -0
- package/dist/components/sdds-table.d.ts +11 -0
- package/dist/components/sdds-table.js +91 -0
- package/dist/components/sdds-textarea.d.ts +11 -0
- package/dist/components/sdds-textarea.js +109 -0
- package/dist/components/sdds-textfield.d.ts +11 -0
- package/dist/components/sdds-textfield.js +127 -0
- package/dist/components/sdds-toast.d.ts +11 -0
- package/dist/components/sdds-toast.js +117 -0
- package/dist/components/sdds-toggle.d.ts +11 -0
- package/dist/components/sdds-toggle.js +69 -0
- package/dist/components/sdds-tooltip.d.ts +11 -0
- package/dist/components/sdds-tooltip.js +127 -0
- package/dist/components/table-body-cell.js +101 -0
- package/dist/components/table-body-row.js +120 -0
- package/dist/esm/index-32571711.js +1891 -0
- package/dist/esm/index.js +1 -0
- package/dist/esm/loader.js +17 -0
- package/dist/esm/polyfills/core-js.js +11 -0
- package/dist/esm/polyfills/css-shim.js +1 -0
- package/dist/esm/polyfills/dom.js +79 -0
- package/dist/esm/polyfills/es5-html-element.js +1 -0
- package/dist/esm/polyfills/index.js +34 -0
- package/dist/esm/polyfills/system.js +6 -0
- package/dist/esm/popper-f860750c.js +1799 -0
- package/dist/esm/sdds-accordion-item.entry.js +30 -0
- package/dist/esm/sdds-accordion.entry.js +17 -0
- package/dist/esm/sdds-badges.entry.js +50 -0
- package/dist/esm/sdds-banner.entry.js +75 -0
- package/dist/esm/sdds-block.entry.js +28 -0
- package/dist/esm/sdds-body-cell_2.entry.js +168 -0
- package/dist/esm/sdds-breadcrumb-item.entry.js +21 -0
- package/dist/esm/sdds-breadcrumb.entry.js +19 -0
- package/dist/esm/sdds-button.entry.js +33 -0
- package/dist/esm/sdds-card.entry.js +52 -0
- package/dist/esm/sdds-checkbox.entry.js +51 -0
- package/dist/esm/sdds-datetime.entry.js +91 -0
- package/dist/esm/sdds-dropdown-filter.entry.js +88 -0
- package/dist/esm/sdds-dropdown_2.entry.js +336 -0
- package/dist/esm/sdds-header-cell.entry.js +135 -0
- package/dist/esm/sdds-icon.entry.js +38 -0
- package/dist/esm/sdds-inline-tab.entry.js +18 -0
- package/dist/esm/sdds-inline-tabs-fullbleed.entry.js +94 -0
- package/dist/esm/sdds-inline-tabs.entry.js +217 -0
- package/dist/esm/sdds-link.entry.js +24 -0
- package/dist/esm/sdds-message.entry.js +37 -0
- package/dist/esm/sdds-modal.entry.js +47 -0
- package/dist/esm/sdds-navigation-tabs.entry.js +94 -0
- package/dist/esm/sdds-popover-canvas.entry.js +80 -0
- package/dist/esm/sdds-popover-menu.entry.js +81 -0
- package/dist/esm/sdds-radio-button.entry.js +28 -0
- package/dist/esm/sdds-slider.entry.js +353 -0
- package/dist/esm/sdds-spinner.entry.js +17 -0
- package/dist/esm/sdds-table-body-row-expandable.entry.js +78 -0
- package/dist/esm/sdds-table-body.entry.js +285 -0
- package/dist/esm/sdds-table-footer.entry.js +160 -0
- package/dist/esm/sdds-table-header.entry.js +95 -0
- package/dist/esm/sdds-table-toolbar.entry.js +61 -0
- package/dist/esm/sdds-table.entry.js +64 -0
- package/dist/esm/sdds-textarea.entry.js +70 -0
- package/dist/esm/sdds-textfield.entry.js +87 -0
- package/dist/esm/sdds-toast.entry.js +82 -0
- package/dist/esm/sdds-toggle.entry.js +40 -0
- package/dist/esm/sdds-tooltip.entry.js +100 -0
- package/dist/esm/tegel.js +17 -0
- package/dist/index.cjs.js +1 -0
- package/dist/index.js +1 -0
- package/dist/node_modules/@types/jest/index.d.ts +1512 -0
- package/dist/tegel/index.esm.js +0 -0
- package/dist/tegel/p-05d3cfc8.entry.js +1 -0
- package/dist/tegel/p-13a25c7f.entry.js +1 -0
- package/dist/tegel/p-13b783f1.js +2 -0
- package/dist/tegel/p-1dda8de9.entry.js +1 -0
- package/dist/tegel/p-2248b59e.entry.js +1 -0
- package/dist/tegel/p-232e5c9a.entry.js +1 -0
- package/dist/tegel/p-2375f0eb.entry.js +1 -0
- package/dist/tegel/p-29deedc6.entry.js +1 -0
- package/dist/tegel/p-2f52021b.entry.js +1 -0
- package/dist/tegel/p-3344582d.entry.js +1 -0
- package/dist/tegel/p-4b14324d.entry.js +1 -0
- package/dist/tegel/p-561fbe77.entry.js +1 -0
- package/dist/tegel/p-5a215722.entry.js +1 -0
- package/dist/tegel/p-5f7b1539.entry.js +1 -0
- package/dist/tegel/p-6f382b38.entry.js +1 -0
- package/dist/tegel/p-765e2719.entry.js +1 -0
- package/dist/tegel/p-76f60546.entry.js +1 -0
- package/dist/tegel/p-7a5244b6.entry.js +1 -0
- package/dist/tegel/p-816ff5f7.entry.js +1 -0
- package/dist/tegel/p-81d2d57b.entry.js +1 -0
- package/dist/tegel/p-87650f36.entry.js +1 -0
- package/dist/tegel/p-8e6f885c.entry.js +1 -0
- package/dist/tegel/p-8e9dcc20.entry.js +1 -0
- package/dist/tegel/p-997fc919.entry.js +1 -0
- package/dist/tegel/p-9a057c9a.entry.js +1 -0
- package/dist/tegel/p-9a95e92c.entry.js +1 -0
- package/dist/tegel/p-a75ff060.entry.js +1 -0
- package/dist/tegel/p-bf1216f9.entry.js +1 -0
- package/dist/tegel/p-bf597564.entry.js +1 -0
- package/dist/tegel/p-d2217bf0.entry.js +1 -0
- package/dist/tegel/p-e335137d.entry.js +1 -0
- package/dist/tegel/p-e34cce75.entry.js +1 -0
- package/dist/tegel/p-e55d09f2.entry.js +1 -0
- package/dist/tegel/p-ebbffa8a.entry.js +1 -0
- package/dist/tegel/p-ec26fc38.js +1 -0
- package/dist/tegel/p-ed076d47.entry.js +1 -0
- package/dist/tegel/p-ef887910.entry.js +1 -0
- package/dist/tegel/p-f4b70868.entry.js +1 -0
- package/dist/tegel/p-f52a0b63.entry.js +1 -0
- package/dist/tegel/p-f5bf214b.entry.js +1 -0
- package/dist/tegel/p-fd1b5923.entry.js +1 -0
- package/dist/tegel/tegel.css +109 -0
- package/dist/tegel/tegel.esm.js +1 -0
- package/dist/types/components/accordion/accordion-item/accordion-item.d.ts +17 -0
- package/dist/types/components/accordion/accordion.d.ts +7 -0
- package/dist/types/components/accordion/accordion.stories.d.ts +77 -0
- package/dist/types/components/badge/badge.stories.d.ts +66 -0
- package/dist/types/components/badge/badges.d.ts +16 -0
- package/dist/types/components/banner/banner.stories.d.ts +68 -0
- package/dist/types/components/banner/sdds-banner.d.ts +48 -0
- package/dist/types/components/banner/sdds-banner.stories.d.ts +109 -0
- package/dist/types/components/block/block-native.stories.d.ts +31 -0
- package/dist/types/components/block/sdds-block.d.ts +9 -0
- package/dist/types/components/block/sdds-block.stories.d.ts +32 -0
- package/dist/types/components/breadcrumb/breadcrumb-item/breadcrumb-item.d.ts +9 -0
- package/dist/types/components/breadcrumb/breadcrumb.d.ts +5 -0
- package/dist/types/components/breadcrumb/breadcrumb.stories.d.ts +12 -0
- package/dist/types/components/button/button-component.d.ts +18 -0
- package/dist/types/components/button/button-native.stories.d.ts +148 -0
- package/dist/types/components/button/button-webcomponent.stories.d.ts +147 -0
- package/dist/types/components/card/card.stories.d.ts +138 -0
- package/dist/types/components/card/sdds-card.d.ts +39 -0
- package/dist/types/components/card/sdds-card.stories.d.ts +139 -0
- package/dist/types/components/checkbox/checkbox.stories.d.ts +39 -0
- package/dist/types/components/checkbox/sdds-checkbox.d.ts +38 -0
- package/dist/types/components/checkbox/sdds-checkbox.stories.d.ts +40 -0
- package/dist/types/components/chips/chips.stories.d.ts +77 -0
- package/dist/types/components/data-table/native-table.stories.d.ts +133 -0
- package/dist/types/components/data-table/table/table.d.ts +47 -0
- package/dist/types/components/data-table/table-body/table-body.d.ts +54 -0
- package/dist/types/components/data-table/table-body-cell/table-body-cell.d.ts +24 -0
- package/dist/types/components/data-table/table-body-row/table-body-row.d.ts +27 -0
- package/dist/types/components/data-table/table-body-row-expandable/table-body-row-expandable.d.ts +27 -0
- package/dist/types/components/data-table/table-component-basic.stories.d.ts +101 -0
- package/dist/types/components/data-table/table-component-batch-actions.stories.d.ts +99 -0
- package/dist/types/components/data-table/table-component-bodydata.stories.d.ts +38 -0
- package/dist/types/components/data-table/table-component-custom-width.stories.d.ts +148 -0
- package/dist/types/components/data-table/table-component-event-listeners.stories.d.ts +88 -0
- package/dist/types/components/data-table/table-component-expandable-rows.stories.d.ts +88 -0
- package/dist/types/components/data-table/table-component-filtering.stories.d.ts +101 -0
- package/dist/types/components/data-table/table-component-multiselect.stories.d.ts +101 -0
- package/dist/types/components/data-table/table-component-pagination.stories.d.ts +101 -0
- package/dist/types/components/data-table/table-component-sorting.stories.d.ts +100 -0
- package/dist/types/components/data-table/table-footer/table-footer.d.ts +50 -0
- package/dist/types/components/data-table/table-header/table-header.d.ts +27 -0
- package/dist/types/components/data-table/table-header-cell/table-header-cell.d.ts +44 -0
- package/dist/types/components/data-table/table-toolbar/table-toolbar.d.ts +22 -0
- package/dist/types/components/datetime/datetime.d.ts +42 -0
- package/dist/types/components/datetime/datetime.stories.d.ts +127 -0
- package/dist/types/components/divider/divider.stories.d.ts +65 -0
- package/dist/types/components/dropdown/dropdown-filter/dropdown-filter.d.ts +42 -0
- package/dist/types/components/dropdown/dropdown-filter/dropdown-filter.stories.d.ts +73 -0
- package/dist/types/components/dropdown/dropdown-native.stories.d.ts +57 -0
- package/dist/types/components/dropdown/dropdown-option/dropdown-option.d.ts +19 -0
- package/dist/types/components/dropdown/dropdown-wc-default.stories.d.ts +129 -0
- package/dist/types/components/dropdown/dropdown-wc-multiselect.stories.d.ts +115 -0
- package/dist/types/components/dropdown/dropdown.d.ts +58 -0
- package/dist/types/components/footer/footer.stories.d.ts +45 -0
- package/dist/types/components/header/header-all.stories.d.ts +29 -0
- package/dist/types/components/header/header-default.stories.d.ts +29 -0
- package/dist/types/components/header/header-inline.stories.d.ts +29 -0
- package/dist/types/components/header/header-search.stories.d.ts +29 -0
- package/dist/types/components/header/header-toolbar.stories.d.ts +29 -0
- package/dist/types/components/icon/icon-font.stories.d.ts +38 -0
- package/dist/types/components/icon/icon-web-component.stories.d.ts +38 -0
- package/dist/types/components/icon/icon.d.ts +12 -0
- package/dist/types/components/link/link.stories.d.ts +33 -0
- package/dist/types/components/link/sdds-link.d.ts +13 -0
- package/dist/types/components/link/sdds-link.stories.d.ts +58 -0
- package/dist/types/components/message/message.stories.d.ts +69 -0
- package/dist/types/components/message/sdds-message.d.ts +14 -0
- package/dist/types/components/message/sdds-message.stories.d.ts +87 -0
- package/dist/types/components/modal/modal-native.stories.d.ts +59 -0
- package/dist/types/components/modal/modal-webcomponent.stories.d.ts +52 -0
- package/dist/types/components/modal/modal.d.ts +17 -0
- package/dist/types/components/popover-canvas/popover-canvas.d.ts +24 -0
- package/dist/types/components/popover-canvas/popover-canvas.stories.d.ts +25 -0
- package/dist/types/components/popover-menu/popover-menu-icons.stories.d.ts +27 -0
- package/dist/types/components/popover-menu/popover-menu.d.ts +24 -0
- package/dist/types/components/popover-menu/popover-menu.stories.d.ts +27 -0
- package/dist/types/components/radio-button/radio-button-component.stories.d.ts +39 -0
- package/dist/types/components/radio-button/radio-button.d.ts +26 -0
- package/dist/types/components/radio-button/radio-button.stories.d.ts +33 -0
- package/dist/types/components/side-menu/side-menu.stories.d.ts +42 -0
- package/dist/types/components/slider/slider.d.ts +86 -0
- package/dist/types/components/slider/slider.stories.d.ts +169 -0
- package/dist/types/components/spinner/spinner.d.ts +7 -0
- package/dist/types/components/spinner/spinner.stories.d.ts +37 -0
- package/dist/types/components/stepper/stepper.stories.d.ts +56 -0
- package/dist/types/components/tabs/inline-tabs-default/inline-tab/inline-tab.d.ts +6 -0
- package/dist/types/components/tabs/inline-tabs-default/inline-tabs.d.ts +40 -0
- package/dist/types/components/tabs/inline-tabs-default/inline-tabs.stories.d.ts +49 -0
- package/dist/types/components/tabs/inline-tabs-fullbleed/inline-tabs-fullbleed.d.ts +20 -0
- package/dist/types/components/tabs/inline-tabs-fullbleed/inline-tabs-fullbleed.stories.d.ts +30 -0
- package/dist/types/components/tabs/navigation-tabs/navigation-tabs.d.ts +20 -0
- package/dist/types/components/tabs/navigation-tabs/navigation-tabs.stories.d.ts +13 -0
- package/dist/types/components/textarea/textarea.d.ts +48 -0
- package/dist/types/components/textarea/textarea.stories.d.ts +116 -0
- package/dist/types/components/textfield/textfield.d.ts +52 -0
- package/dist/types/components/textfield/textfield.stories.d.ts +180 -0
- package/dist/types/components/toast/sdds-toast.d.ts +36 -0
- package/dist/types/components/toast/sdds-toast.stories.d.ts +56 -0
- package/dist/types/components/toast/toast.stories.d.ts +69 -0
- package/dist/types/components/toggle/sdds-toggle.d.ts +34 -0
- package/dist/types/components/toggle/sdds-toggle.stories.d.ts +74 -0
- package/dist/types/components/toggle/toggle.stories.d.ts +55 -0
- package/dist/types/components/tooltip/tooltip.d.ts +24 -0
- package/dist/types/components/tooltip/tooltip.stories.d.ts +54 -0
- package/dist/types/components/utility/colour/background-color.stories.d.ts +58 -0
- package/dist/types/components/utility/colour/text-color.stories.d.ts +58 -0
- package/dist/types/components.d.ts +2643 -0
- package/dist/types/foundations-stories/colour/colour-brand.stories.d.ts +13 -0
- package/dist/types/foundations-stories/colour/colour-scales.stories.d.ts +13 -0
- package/dist/types/foundations-stories/colour/colour-semantic.stories.d.ts +13 -0
- package/dist/types/foundations-stories/grid/grid.stories.d.ts +35 -0
- package/dist/types/foundations-stories/spacing/spacing-element.stories.d.ts +8 -0
- package/dist/types/foundations-stories/spacing/spacing-layout.stories.d.ts +8 -0
- package/dist/types/foundations-stories/typography/typography-body.stories.d.ts +8 -0
- package/dist/types/foundations-stories/typography/typography-detail.stories.d.ts +8 -0
- package/dist/types/foundations-stories/typography/typography-headline.stories.d.ts +21 -0
- package/dist/types/foundations-stories/typography/typography-paragraph.stories.d.ts +8 -0
- package/dist/types/global.d.ts +2 -0
- package/dist/types/index.d.ts +1 -0
- package/dist/types/stencil-public-runtime.d.ts +1581 -0
- package/dist/types/utils/utils.d.ts +2 -0
- package/loader/cdn.js +3 -0
- package/loader/index.cjs.js +3 -0
- package/loader/index.d.ts +12 -0
- package/loader/index.es2017.js +3 -0
- package/loader/index.js +4 -0
- package/loader/package.json +11 -0
- package/package.json +1 -1
- package/readme.md +34 -0
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
import { EventEmitter } from '../../../stencil-public-runtime';
|
|
2
|
+
import { TablePropsChangedEvent } from '../table/table';
|
|
3
|
+
export declare class TableFooter {
|
|
4
|
+
/** Enable pagination and show pagination controls */
|
|
5
|
+
enablePagination: boolean;
|
|
6
|
+
/** Sets how many rows to display when pagination is enabled */
|
|
7
|
+
rowsPerPage: number;
|
|
8
|
+
/** Prop to enable client controlled pagination */
|
|
9
|
+
enableClientPagination: boolean;
|
|
10
|
+
/** Prop for client to set current page number */
|
|
11
|
+
clientPaginationValue: number;
|
|
12
|
+
/** Prop for client to set max number of pages */
|
|
13
|
+
clientMaxPages: number;
|
|
14
|
+
/** In case that automatic count of columns does not work, user can manually set this one. Take in mind that expandable control is column too */
|
|
15
|
+
clientSetColumnsNumber: number;
|
|
16
|
+
/** Disables inbuilt pagination logic, leaving user an option to create own pagination functionality while listening to events from sdds-table-footer component */
|
|
17
|
+
disablePaginationFunction: boolean;
|
|
18
|
+
/** State that memorize number of columns to display colSpan correctly - set from parent level */
|
|
19
|
+
columnsNumber: number;
|
|
20
|
+
/** Total number of pages, number of the rows divided with number of rows per page */
|
|
21
|
+
numberOfPages: number;
|
|
22
|
+
/** Initial value for pagination in input element */
|
|
23
|
+
paginationValue: number;
|
|
24
|
+
/** Temporarily disable pagination - due to search - set from parent level */
|
|
25
|
+
tempPaginationDisable: boolean;
|
|
26
|
+
verticalDividers: boolean;
|
|
27
|
+
compactDesign: boolean;
|
|
28
|
+
noMinWidth: boolean;
|
|
29
|
+
whiteBackground: boolean;
|
|
30
|
+
tableId: string;
|
|
31
|
+
host: HTMLElement;
|
|
32
|
+
tableEl: HTMLSddsTableElement;
|
|
33
|
+
/** Event that footer sends out in order to receive other necessary information from other subcomponents */
|
|
34
|
+
enablePaginationEvent: EventEmitter<any>;
|
|
35
|
+
tablePropsChangedEventListener(event: CustomEvent<TablePropsChangedEvent>): void;
|
|
36
|
+
connectedCallback(): void;
|
|
37
|
+
componentWillLoad(): void;
|
|
38
|
+
paginationPrev: (event: any) => void;
|
|
39
|
+
paginationNext: (event: any) => void;
|
|
40
|
+
paginationInputChange(event: any): void;
|
|
41
|
+
runPaginationEventListener(event: CustomEvent<any>): void;
|
|
42
|
+
runPagination: () => void;
|
|
43
|
+
/** Event to send current page value back to sdds-table-body component */
|
|
44
|
+
currentPageValueEvent: EventEmitter<any>;
|
|
45
|
+
sendPaginationValue(value: any): void;
|
|
46
|
+
clientPaginationPrev: (event: any) => void;
|
|
47
|
+
clientPaginationNext: (event: any) => void;
|
|
48
|
+
clientPaginationInputChange(event: any): void;
|
|
49
|
+
render(): any;
|
|
50
|
+
}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { EventEmitter } from '../../../stencil-public-runtime';
|
|
2
|
+
import { TablePropsChangedEvent } from '../table/table';
|
|
3
|
+
export declare class TableHeaderRow {
|
|
4
|
+
enableMultiselect: boolean;
|
|
5
|
+
enableExpandableRows: boolean;
|
|
6
|
+
mainCheckboxSelected: boolean;
|
|
7
|
+
mainExpendSelected: boolean;
|
|
8
|
+
verticalDividers: boolean;
|
|
9
|
+
compactDesign: boolean;
|
|
10
|
+
noMinWidth: boolean;
|
|
11
|
+
whiteBackground: boolean;
|
|
12
|
+
enableToolbarDesign: boolean;
|
|
13
|
+
tableId: string;
|
|
14
|
+
host: HTMLElement;
|
|
15
|
+
tableEl: HTMLSddsTableElement;
|
|
16
|
+
/** Send status of main checkbox in header to the parent, sdds-table component */
|
|
17
|
+
mainCheckboxSelectedEvent: EventEmitter<any>;
|
|
18
|
+
tablePropsChangedEventListener(event: CustomEvent<TablePropsChangedEvent>): void;
|
|
19
|
+
updateMainCheckboxEventListener(event: CustomEvent<any>): void;
|
|
20
|
+
singleRowExpandedEventListener(event: CustomEvent<any>): void;
|
|
21
|
+
bodyExpandClicked(): void;
|
|
22
|
+
connectedCallback(): void;
|
|
23
|
+
componentWillLoad(): void;
|
|
24
|
+
componentWillRender(): void;
|
|
25
|
+
headCheckBoxClicked(event: any): void;
|
|
26
|
+
render(): any;
|
|
27
|
+
}
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
import { EventEmitter } from '../../../stencil-public-runtime';
|
|
2
|
+
import { TablePropsChangedEvent } from '../table/table';
|
|
3
|
+
export declare class TableHeaderCell {
|
|
4
|
+
/** Value of column key, usually comes from JSON, needed for sorting */
|
|
5
|
+
columnKey: string;
|
|
6
|
+
/** Text that displays in column cell */
|
|
7
|
+
columnTitle: string;
|
|
8
|
+
/** In case noMinWidth setting, user has to specify width value for each column, for example "150px" */
|
|
9
|
+
customWidth: string;
|
|
10
|
+
/** If passed as prop, enables sorting on that column */
|
|
11
|
+
sortable: boolean;
|
|
12
|
+
/** Setting for text align, default is left, but user can pass "right" as string - useful for numeric values */
|
|
13
|
+
textAlign: string;
|
|
14
|
+
textAlignState: string;
|
|
15
|
+
sortingDirection: string;
|
|
16
|
+
sortedByMyKey: boolean;
|
|
17
|
+
disableSortingBtn: boolean;
|
|
18
|
+
verticalDividers: boolean;
|
|
19
|
+
compactDesign: boolean;
|
|
20
|
+
noMinWidth: boolean;
|
|
21
|
+
enableMultiselect: boolean;
|
|
22
|
+
enableToolbarDesign: boolean;
|
|
23
|
+
tableId: string;
|
|
24
|
+
enableExpandableRows: boolean;
|
|
25
|
+
host: HTMLElement;
|
|
26
|
+
tableEl: HTMLSddsTableElement;
|
|
27
|
+
/** Sends unique table identifier,column key and sorting direction to the sdds-table-body component */
|
|
28
|
+
sortColumnDataEvent: EventEmitter<any>;
|
|
29
|
+
/** Sends unique table identifier, column key and text align value so the body cells with same key take the same text alignment as header cell */
|
|
30
|
+
textAlignEvent: EventEmitter<any>;
|
|
31
|
+
/** Sends unique table identifier, column key so the body cells with the same key change background when user hovers over header cell */
|
|
32
|
+
headCellHoverEvent: EventEmitter<any>;
|
|
33
|
+
tablePropsChangedEventListener(event: CustomEvent<TablePropsChangedEvent>): void;
|
|
34
|
+
sortingSwitcherEventListener(event: CustomEvent<any>): void;
|
|
35
|
+
updateOptionsContent(event: CustomEvent<any>): void;
|
|
36
|
+
enableMultiselectEventListener(event: CustomEvent<any>): void;
|
|
37
|
+
connectedCallback(): void;
|
|
38
|
+
componentWillLoad(): void;
|
|
39
|
+
componentWillRender(): void;
|
|
40
|
+
sortButtonClick: (key: any) => void;
|
|
41
|
+
headerCellContent: () => any;
|
|
42
|
+
onHeadCellHover: (key: any) => void;
|
|
43
|
+
render(): any;
|
|
44
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { EventEmitter } from '../../../stencil-public-runtime';
|
|
2
|
+
import { TablePropsChangedEvent } from '../table/table';
|
|
3
|
+
export declare class TableToolbar {
|
|
4
|
+
/** Adds title to the data-table */
|
|
5
|
+
tableTitle: string;
|
|
6
|
+
/** Enables preview of searchbar */
|
|
7
|
+
enableFiltering: boolean;
|
|
8
|
+
verticalDividers: boolean;
|
|
9
|
+
compactDesign: boolean;
|
|
10
|
+
noMinWidth: boolean;
|
|
11
|
+
whiteBackground: boolean;
|
|
12
|
+
tableId: string;
|
|
13
|
+
host: HTMLElement;
|
|
14
|
+
tableEl: HTMLSddsTableElement;
|
|
15
|
+
/** Used for sending users input to main parent <sdds-table> component */
|
|
16
|
+
tableFilteringTerm: EventEmitter<any>;
|
|
17
|
+
tablePropsChangedEventListener(event: CustomEvent<TablePropsChangedEvent>): void;
|
|
18
|
+
connectedCallback(): void;
|
|
19
|
+
componentWillLoad(): void;
|
|
20
|
+
searchFunction(event: any): void;
|
|
21
|
+
render(): any;
|
|
22
|
+
}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { EventEmitter } from '../../stencil-public-runtime';
|
|
2
|
+
export declare class Datetime {
|
|
3
|
+
/** Textinput for focus state */
|
|
4
|
+
textInput?: HTMLInputElement;
|
|
5
|
+
/** Which input type, text, password or similar */
|
|
6
|
+
type: 'datetime-local' | 'date' | 'time';
|
|
7
|
+
/** Value of the input text */
|
|
8
|
+
value: string;
|
|
9
|
+
/** Default value of the component. Format for time: HH-MM. Format for date: YY-MM-DD. Format for date-time: YY-MM-DDTHH-MM */
|
|
10
|
+
defaultValue: string | 'none';
|
|
11
|
+
/** Set input in disabled state */
|
|
12
|
+
disabled: boolean;
|
|
13
|
+
/** Size of the input */
|
|
14
|
+
size: 'sm' | 'md' | '';
|
|
15
|
+
/** With setting */
|
|
16
|
+
noMinWidth: boolean;
|
|
17
|
+
/** Set the variant of the the datetime component. */
|
|
18
|
+
modeVariant: 'primary' | 'secondary';
|
|
19
|
+
/** Name property */
|
|
20
|
+
name: string;
|
|
21
|
+
/** Error state of input */
|
|
22
|
+
state: string;
|
|
23
|
+
/** Autofocus for input */
|
|
24
|
+
autofocus: boolean;
|
|
25
|
+
/** Label text for the component */
|
|
26
|
+
label: string;
|
|
27
|
+
/** Helper text for the component */
|
|
28
|
+
helper: string;
|
|
29
|
+
/** Listen to the focus state of the input */
|
|
30
|
+
focusInput: boolean;
|
|
31
|
+
/** Change event for the datetime */
|
|
32
|
+
customChange: EventEmitter;
|
|
33
|
+
getDefaultValue: () => string;
|
|
34
|
+
componentWillLoad(): void;
|
|
35
|
+
handleFocusIn(): void;
|
|
36
|
+
handleFocusOut(): void;
|
|
37
|
+
handleInput(e: any): void;
|
|
38
|
+
handleChange(e: Event): void;
|
|
39
|
+
/** Set the input as focus when clicking the whole datetime with suffix/prefix */
|
|
40
|
+
handleFocusClick(): void;
|
|
41
|
+
render(): any;
|
|
42
|
+
}
|
|
@@ -0,0 +1,127 @@
|
|
|
1
|
+
declare const _default: {
|
|
2
|
+
title: string;
|
|
3
|
+
parameters: {
|
|
4
|
+
layout: string;
|
|
5
|
+
notes: any;
|
|
6
|
+
design: {
|
|
7
|
+
name: string;
|
|
8
|
+
type: string;
|
|
9
|
+
url: string;
|
|
10
|
+
}[];
|
|
11
|
+
};
|
|
12
|
+
argTypes: {
|
|
13
|
+
modeVariant: {
|
|
14
|
+
name: string;
|
|
15
|
+
description: string;
|
|
16
|
+
control: {
|
|
17
|
+
type: string;
|
|
18
|
+
};
|
|
19
|
+
options: string[];
|
|
20
|
+
table: {
|
|
21
|
+
defaultValue: {
|
|
22
|
+
summary: string;
|
|
23
|
+
};
|
|
24
|
+
};
|
|
25
|
+
};
|
|
26
|
+
type: {
|
|
27
|
+
name: string;
|
|
28
|
+
description: string;
|
|
29
|
+
control: {
|
|
30
|
+
type: string;
|
|
31
|
+
};
|
|
32
|
+
options: string[];
|
|
33
|
+
};
|
|
34
|
+
defaultValue: {
|
|
35
|
+
name: string;
|
|
36
|
+
description: string;
|
|
37
|
+
control: {
|
|
38
|
+
type: string;
|
|
39
|
+
};
|
|
40
|
+
options: string[];
|
|
41
|
+
};
|
|
42
|
+
size: {
|
|
43
|
+
name: string;
|
|
44
|
+
description: string;
|
|
45
|
+
control: {
|
|
46
|
+
type: string;
|
|
47
|
+
};
|
|
48
|
+
options: string[];
|
|
49
|
+
};
|
|
50
|
+
minWidth: {
|
|
51
|
+
name: string;
|
|
52
|
+
description: string;
|
|
53
|
+
control: {
|
|
54
|
+
type: string;
|
|
55
|
+
};
|
|
56
|
+
};
|
|
57
|
+
disabled: {
|
|
58
|
+
description: string;
|
|
59
|
+
name: string;
|
|
60
|
+
control: {
|
|
61
|
+
type: string;
|
|
62
|
+
};
|
|
63
|
+
};
|
|
64
|
+
label: {
|
|
65
|
+
name: string;
|
|
66
|
+
description: string;
|
|
67
|
+
control: {
|
|
68
|
+
type: string;
|
|
69
|
+
};
|
|
70
|
+
};
|
|
71
|
+
labelText: {
|
|
72
|
+
description: string;
|
|
73
|
+
name: string;
|
|
74
|
+
control: {
|
|
75
|
+
type: string;
|
|
76
|
+
};
|
|
77
|
+
if: {
|
|
78
|
+
arg: string;
|
|
79
|
+
eq: boolean;
|
|
80
|
+
};
|
|
81
|
+
};
|
|
82
|
+
helper: {
|
|
83
|
+
name: string;
|
|
84
|
+
description: string;
|
|
85
|
+
control: {
|
|
86
|
+
type: string;
|
|
87
|
+
};
|
|
88
|
+
};
|
|
89
|
+
helperText: {
|
|
90
|
+
name: string;
|
|
91
|
+
description: string;
|
|
92
|
+
control: {
|
|
93
|
+
type: string;
|
|
94
|
+
};
|
|
95
|
+
if: {
|
|
96
|
+
arg: string;
|
|
97
|
+
eq: boolean;
|
|
98
|
+
};
|
|
99
|
+
};
|
|
100
|
+
state: {
|
|
101
|
+
name: string;
|
|
102
|
+
description: string;
|
|
103
|
+
control: {
|
|
104
|
+
type: string;
|
|
105
|
+
};
|
|
106
|
+
options: string[];
|
|
107
|
+
};
|
|
108
|
+
};
|
|
109
|
+
args: {
|
|
110
|
+
type: string;
|
|
111
|
+
size: string;
|
|
112
|
+
defaultValue: string;
|
|
113
|
+
minWidth: string;
|
|
114
|
+
disabled: boolean;
|
|
115
|
+
state: string;
|
|
116
|
+
label: boolean;
|
|
117
|
+
labelText: string;
|
|
118
|
+
helper: boolean;
|
|
119
|
+
helperText: string;
|
|
120
|
+
modeVariant: string;
|
|
121
|
+
};
|
|
122
|
+
};
|
|
123
|
+
export default _default;
|
|
124
|
+
export declare const Default: any;
|
|
125
|
+
export declare const ErrorState: any;
|
|
126
|
+
export declare const Time: any;
|
|
127
|
+
export declare const Date: any;
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
declare const _default: {
|
|
2
|
+
title: string;
|
|
3
|
+
parameters: {
|
|
4
|
+
layout: string;
|
|
5
|
+
design: {
|
|
6
|
+
name: string;
|
|
7
|
+
type: string;
|
|
8
|
+
url: string;
|
|
9
|
+
}[];
|
|
10
|
+
};
|
|
11
|
+
argTypes: {
|
|
12
|
+
type: {
|
|
13
|
+
name: string;
|
|
14
|
+
description: string;
|
|
15
|
+
control: {
|
|
16
|
+
type: string;
|
|
17
|
+
};
|
|
18
|
+
options: string[];
|
|
19
|
+
table: {
|
|
20
|
+
defaultValue: {
|
|
21
|
+
summary: string;
|
|
22
|
+
};
|
|
23
|
+
};
|
|
24
|
+
};
|
|
25
|
+
width: {
|
|
26
|
+
name: string;
|
|
27
|
+
description: string;
|
|
28
|
+
control: {
|
|
29
|
+
type: string;
|
|
30
|
+
};
|
|
31
|
+
if: {
|
|
32
|
+
arg: string;
|
|
33
|
+
eq: string;
|
|
34
|
+
};
|
|
35
|
+
};
|
|
36
|
+
height: {
|
|
37
|
+
name: string;
|
|
38
|
+
description: string;
|
|
39
|
+
control: {
|
|
40
|
+
type: string;
|
|
41
|
+
};
|
|
42
|
+
if: {
|
|
43
|
+
arg: string;
|
|
44
|
+
eq: string;
|
|
45
|
+
};
|
|
46
|
+
};
|
|
47
|
+
direction: {
|
|
48
|
+
name: string;
|
|
49
|
+
description: string;
|
|
50
|
+
control: {
|
|
51
|
+
type: string;
|
|
52
|
+
};
|
|
53
|
+
options: string[];
|
|
54
|
+
};
|
|
55
|
+
};
|
|
56
|
+
args: {
|
|
57
|
+
type: string;
|
|
58
|
+
width: number;
|
|
59
|
+
height: number;
|
|
60
|
+
direction: string;
|
|
61
|
+
};
|
|
62
|
+
};
|
|
63
|
+
export default _default;
|
|
64
|
+
export declare const Default: any;
|
|
65
|
+
export declare const Border: any;
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
export declare class DropdownFilter {
|
|
2
|
+
dataOptions: any[];
|
|
3
|
+
filteredContent: any[];
|
|
4
|
+
searchTerm: string;
|
|
5
|
+
selectedOptionState: any;
|
|
6
|
+
dropdownRef?: HTMLSddsDropdownElement;
|
|
7
|
+
/** Placeholder text for dropdown with no selected item */
|
|
8
|
+
placeholder: string;
|
|
9
|
+
/** Label for dropdown with no selected item */
|
|
10
|
+
label: string;
|
|
11
|
+
/** Add the value of the option to set it as default */
|
|
12
|
+
defaultOption: string;
|
|
13
|
+
/** Add the value of the option as string to set it as new selected value */
|
|
14
|
+
selectedOption: string;
|
|
15
|
+
/** Add the value of the option to set it as default */
|
|
16
|
+
disabled: boolean;
|
|
17
|
+
/** Controls the size of dropdown. 'sm', 'md' and 'lg' correct values and 'small', 'medium' and 'large' are deprecated */
|
|
18
|
+
size: 'sm' | 'md' | 'lg' | 'small' | 'medium' | 'large';
|
|
19
|
+
/** Set to true to make the width following the label text length */
|
|
20
|
+
inline: boolean;
|
|
21
|
+
/** Position of label */
|
|
22
|
+
labelPosition: 'no-label' | 'inside' | 'outside';
|
|
23
|
+
/** Support `error` state */
|
|
24
|
+
state: string;
|
|
25
|
+
/** Add helper text in the bottom of dropdown */
|
|
26
|
+
helper: string;
|
|
27
|
+
/** Data is an array of objects that contains label and value
|
|
28
|
+
* `data = [{label:'Option 1', value:'opt-1'},{label:'Option 2', value:'opt-2'}]`
|
|
29
|
+
*/
|
|
30
|
+
data: string;
|
|
31
|
+
selectedLabel: string;
|
|
32
|
+
selectedValue: string;
|
|
33
|
+
componentWillLoad(): void;
|
|
34
|
+
parseData(newValue: string): void;
|
|
35
|
+
updateOptionsContent(event: CustomEvent<any>): void;
|
|
36
|
+
selectOptionHandler(event: CustomEvent<any>): void;
|
|
37
|
+
findData(): void;
|
|
38
|
+
setOptionsContent(): any;
|
|
39
|
+
/** Use this method to reset the dropdown. Then it will go back to its initial state. */
|
|
40
|
+
resetOption(): Promise<void>;
|
|
41
|
+
render(): any;
|
|
42
|
+
}
|
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
declare const _default: {
|
|
2
|
+
title: string;
|
|
3
|
+
parameters: {
|
|
4
|
+
layout: string;
|
|
5
|
+
notes: any;
|
|
6
|
+
design: {
|
|
7
|
+
name: string;
|
|
8
|
+
type: string;
|
|
9
|
+
url: string;
|
|
10
|
+
}[];
|
|
11
|
+
};
|
|
12
|
+
argTypes: {
|
|
13
|
+
size: {
|
|
14
|
+
name: string;
|
|
15
|
+
control: {
|
|
16
|
+
type: string;
|
|
17
|
+
};
|
|
18
|
+
options: string[];
|
|
19
|
+
description: string;
|
|
20
|
+
};
|
|
21
|
+
placeholder: {
|
|
22
|
+
name: string;
|
|
23
|
+
type: string;
|
|
24
|
+
description: string;
|
|
25
|
+
};
|
|
26
|
+
disabled: {
|
|
27
|
+
name: string;
|
|
28
|
+
description: string;
|
|
29
|
+
control: {
|
|
30
|
+
type: string;
|
|
31
|
+
};
|
|
32
|
+
};
|
|
33
|
+
helper: {
|
|
34
|
+
name: string;
|
|
35
|
+
control: {
|
|
36
|
+
type: string;
|
|
37
|
+
};
|
|
38
|
+
description: string;
|
|
39
|
+
};
|
|
40
|
+
defaultOption: {
|
|
41
|
+
description: string;
|
|
42
|
+
name: string;
|
|
43
|
+
control: {
|
|
44
|
+
type: string;
|
|
45
|
+
};
|
|
46
|
+
options: string[];
|
|
47
|
+
};
|
|
48
|
+
openDirection: {
|
|
49
|
+
name: string;
|
|
50
|
+
description: string;
|
|
51
|
+
control: {
|
|
52
|
+
type: string;
|
|
53
|
+
};
|
|
54
|
+
options: string[];
|
|
55
|
+
table: {
|
|
56
|
+
summary: {
|
|
57
|
+
defaultValue: string;
|
|
58
|
+
};
|
|
59
|
+
};
|
|
60
|
+
};
|
|
61
|
+
};
|
|
62
|
+
args: {
|
|
63
|
+
size: string;
|
|
64
|
+
placeholder: string;
|
|
65
|
+
disabled: boolean;
|
|
66
|
+
helper: string;
|
|
67
|
+
defaultOption: string;
|
|
68
|
+
state: string;
|
|
69
|
+
openDirection: string;
|
|
70
|
+
};
|
|
71
|
+
};
|
|
72
|
+
export default _default;
|
|
73
|
+
export declare const Default: any;
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
declare const _default: {
|
|
2
|
+
title: string;
|
|
3
|
+
parameters: {
|
|
4
|
+
layout: string;
|
|
5
|
+
design: {
|
|
6
|
+
name: string;
|
|
7
|
+
type: string;
|
|
8
|
+
url: string;
|
|
9
|
+
}[];
|
|
10
|
+
};
|
|
11
|
+
argTypes: {
|
|
12
|
+
label: {
|
|
13
|
+
name: string;
|
|
14
|
+
type: string;
|
|
15
|
+
description: string;
|
|
16
|
+
};
|
|
17
|
+
size: {
|
|
18
|
+
name: string;
|
|
19
|
+
description: string;
|
|
20
|
+
control: {
|
|
21
|
+
type: string;
|
|
22
|
+
};
|
|
23
|
+
options: string[];
|
|
24
|
+
};
|
|
25
|
+
disabled: {
|
|
26
|
+
name: string;
|
|
27
|
+
description: string;
|
|
28
|
+
control: {
|
|
29
|
+
type: string;
|
|
30
|
+
};
|
|
31
|
+
};
|
|
32
|
+
state: {
|
|
33
|
+
name: string;
|
|
34
|
+
control: {
|
|
35
|
+
type: string;
|
|
36
|
+
};
|
|
37
|
+
options: string[];
|
|
38
|
+
description: string;
|
|
39
|
+
};
|
|
40
|
+
helper: {
|
|
41
|
+
name: string;
|
|
42
|
+
control: {
|
|
43
|
+
type: string;
|
|
44
|
+
};
|
|
45
|
+
description: string;
|
|
46
|
+
};
|
|
47
|
+
};
|
|
48
|
+
args: {
|
|
49
|
+
label: string;
|
|
50
|
+
size: string;
|
|
51
|
+
disabled: boolean;
|
|
52
|
+
state: string;
|
|
53
|
+
helper: string;
|
|
54
|
+
};
|
|
55
|
+
};
|
|
56
|
+
export default _default;
|
|
57
|
+
export declare const Native: any;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { EventEmitter } from '../../../stencil-public-runtime';
|
|
2
|
+
export declare class DropdownOption {
|
|
3
|
+
host: HTMLElement;
|
|
4
|
+
innerValue: string;
|
|
5
|
+
/** Selected set to true if selected */
|
|
6
|
+
selected: boolean;
|
|
7
|
+
/** Sets option to disabled state if true */
|
|
8
|
+
disabled: boolean;
|
|
9
|
+
/** Value is a unique string that will be used for application logic */
|
|
10
|
+
value: string;
|
|
11
|
+
selectOption: EventEmitter<any>;
|
|
12
|
+
isMultiSelectOption: boolean;
|
|
13
|
+
changeFocusHandler(): void;
|
|
14
|
+
removeFocusHandler(): void;
|
|
15
|
+
onKeyDown(event: KeyboardEvent): void;
|
|
16
|
+
componentWillLoad(): void;
|
|
17
|
+
selectOptionHandler(value: any): void;
|
|
18
|
+
render(): any;
|
|
19
|
+
}
|
|
@@ -0,0 +1,129 @@
|
|
|
1
|
+
declare const _default: {
|
|
2
|
+
title: string;
|
|
3
|
+
parameters: {
|
|
4
|
+
layout: string;
|
|
5
|
+
notes: {
|
|
6
|
+
Dropdown: any;
|
|
7
|
+
'Dropdown option': any;
|
|
8
|
+
};
|
|
9
|
+
design: {
|
|
10
|
+
name: string;
|
|
11
|
+
type: string;
|
|
12
|
+
url: string;
|
|
13
|
+
}[];
|
|
14
|
+
};
|
|
15
|
+
argTypes: {
|
|
16
|
+
modeVariant: {
|
|
17
|
+
name: string;
|
|
18
|
+
description: string;
|
|
19
|
+
control: {
|
|
20
|
+
type: string;
|
|
21
|
+
};
|
|
22
|
+
options: string[];
|
|
23
|
+
table: {
|
|
24
|
+
defaultValue: {
|
|
25
|
+
summary: string;
|
|
26
|
+
};
|
|
27
|
+
};
|
|
28
|
+
};
|
|
29
|
+
size: {
|
|
30
|
+
name: string;
|
|
31
|
+
control: {
|
|
32
|
+
type: string;
|
|
33
|
+
};
|
|
34
|
+
options: string[];
|
|
35
|
+
description: string;
|
|
36
|
+
};
|
|
37
|
+
placeholder: {
|
|
38
|
+
name: string;
|
|
39
|
+
type: string;
|
|
40
|
+
description: string;
|
|
41
|
+
};
|
|
42
|
+
labelPosition: {
|
|
43
|
+
name: string;
|
|
44
|
+
control: {
|
|
45
|
+
type: string;
|
|
46
|
+
};
|
|
47
|
+
options: string[];
|
|
48
|
+
description: string;
|
|
49
|
+
};
|
|
50
|
+
labelText: {
|
|
51
|
+
name: string;
|
|
52
|
+
control: string;
|
|
53
|
+
description: string;
|
|
54
|
+
if: {
|
|
55
|
+
arg: string;
|
|
56
|
+
neq: string;
|
|
57
|
+
};
|
|
58
|
+
};
|
|
59
|
+
disabled: {
|
|
60
|
+
name: string;
|
|
61
|
+
description: string;
|
|
62
|
+
control: {
|
|
63
|
+
type: string;
|
|
64
|
+
};
|
|
65
|
+
};
|
|
66
|
+
state: {
|
|
67
|
+
name: string;
|
|
68
|
+
control: {
|
|
69
|
+
type: string;
|
|
70
|
+
};
|
|
71
|
+
options: string[];
|
|
72
|
+
description: string;
|
|
73
|
+
};
|
|
74
|
+
helper: {
|
|
75
|
+
name: string;
|
|
76
|
+
control: string;
|
|
77
|
+
description: string;
|
|
78
|
+
};
|
|
79
|
+
helperText: {
|
|
80
|
+
name: string;
|
|
81
|
+
description: string;
|
|
82
|
+
control: string;
|
|
83
|
+
if: {
|
|
84
|
+
arg: string;
|
|
85
|
+
eq: boolean;
|
|
86
|
+
};
|
|
87
|
+
};
|
|
88
|
+
defaultOption: {
|
|
89
|
+
if: {
|
|
90
|
+
arg: string;
|
|
91
|
+
neq: string;
|
|
92
|
+
};
|
|
93
|
+
name: string;
|
|
94
|
+
description: string;
|
|
95
|
+
control: {
|
|
96
|
+
type: string;
|
|
97
|
+
};
|
|
98
|
+
options: string[];
|
|
99
|
+
};
|
|
100
|
+
openDirection: {
|
|
101
|
+
name: string;
|
|
102
|
+
description: string;
|
|
103
|
+
control: {
|
|
104
|
+
type: string;
|
|
105
|
+
};
|
|
106
|
+
options: string[];
|
|
107
|
+
table: {
|
|
108
|
+
summary: {
|
|
109
|
+
defaultValue: string;
|
|
110
|
+
};
|
|
111
|
+
};
|
|
112
|
+
};
|
|
113
|
+
};
|
|
114
|
+
args: {
|
|
115
|
+
modeVariant: string;
|
|
116
|
+
size: string;
|
|
117
|
+
placeholder: string;
|
|
118
|
+
state: string;
|
|
119
|
+
disabled: boolean;
|
|
120
|
+
labelPosition: string;
|
|
121
|
+
labelText: string;
|
|
122
|
+
helper: boolean;
|
|
123
|
+
helperText: string;
|
|
124
|
+
defaultOption: string;
|
|
125
|
+
openDirection: string;
|
|
126
|
+
};
|
|
127
|
+
};
|
|
128
|
+
export default _default;
|
|
129
|
+
export declare const WebComponentDefault: any;
|