@scania/tegel 0.0.1-beta
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/LICENSE +21 -0
- package/dist/cjs/index-e1c79686.js +1912 -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 +55 -0
- package/dist/cjs/sdds-body-cell_2.cjs.entry.js +173 -0
- package/dist/cjs/sdds-button.cjs.entry.js +36 -0
- package/dist/cjs/sdds-datetime.cjs.entry.js +66 -0
- package/dist/cjs/sdds-dropdown-filter.cjs.entry.js +92 -0
- package/dist/cjs/sdds-dropdown_2.cjs.entry.js +335 -0
- package/dist/cjs/sdds-header-cell.cjs.entry.js +141 -0
- package/dist/cjs/sdds-icon.cjs.entry.js +42 -0
- package/dist/cjs/sdds-inline-tabs-fullbleed.cjs.entry.js +96 -0
- package/dist/cjs/sdds-inline-tabs.cjs.entry.js +211 -0
- package/dist/cjs/sdds-modal.cjs.entry.js +49 -0
- package/dist/cjs/sdds-navigation-tabs.cjs.entry.js +95 -0
- package/dist/cjs/sdds-popover-canvas.cjs.entry.js +76 -0
- package/dist/cjs/sdds-popover-menu.cjs.entry.js +75 -0
- package/dist/cjs/sdds-slider.cjs.entry.js +336 -0
- package/dist/cjs/sdds-spinner.cjs.entry.js +21 -0
- package/dist/cjs/sdds-table-body-row-expandable.cjs.entry.js +81 -0
- package/dist/cjs/sdds-table-body.cjs.entry.js +289 -0
- package/dist/cjs/sdds-table-footer.cjs.entry.js +165 -0
- package/dist/cjs/sdds-table-header.cjs.entry.js +100 -0
- package/dist/cjs/sdds-table-toolbar.cjs.entry.js +66 -0
- package/dist/cjs/sdds-table.cjs.entry.js +69 -0
- package/dist/cjs/sdds-textarea.cjs.entry.js +61 -0
- package/dist/cjs/sdds-textfield.cjs.entry.js +82 -0
- package/dist/cjs/sdds-tooltip.cjs.entry.js +95 -0
- package/dist/cjs/tegel.cjs.js +19 -0
- package/dist/collection/collection-manifest.json +40 -0
- package/dist/collection/components/accordion/accordion-item/accordion-item.css +134 -0
- package/dist/collection/components/accordion/accordion-item/accordion-item.js +146 -0
- package/dist/collection/components/accordion/accordion.css +77 -0
- package/dist/collection/components/accordion/accordion.js +62 -0
- package/dist/collection/components/accordion/accordion.stories.js +91 -0
- package/dist/collection/components/badge/badge.stories.js +101 -0
- package/dist/collection/components/badge/badges.css +42 -0
- package/dist/collection/components/badge/badges.js +150 -0
- package/dist/collection/components/banner/banner.stories.js +93 -0
- package/dist/collection/components/block/block.stories.js +46 -0
- package/dist/collection/components/breadcrumb/breadcrumb.stories.js +26 -0
- package/dist/collection/components/button/button-component.js +154 -0
- package/dist/collection/components/button/button-native.stories.js +183 -0
- package/dist/collection/components/button/button-webcomponent.stories.js +182 -0
- package/dist/collection/components/button/button.css +658 -0
- package/dist/collection/components/card/card.stories.js +181 -0
- package/dist/collection/components/checkbox/checkbox.stories.js +54 -0
- package/dist/collection/components/chips/chips.stories.js +124 -0
- package/dist/collection/components/data-table/native-table.stories.js +182 -0
- package/dist/collection/components/data-table/table/table.css +15 -0
- package/dist/collection/components/data-table/table/table.js +253 -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 +169 -0
- package/dist/collection/components/data-table/table-body-row/table-body-row.css +196 -0
- package/dist/collection/components/data-table/table-body-row/table-body-row.js +164 -0
- package/dist/collection/components/data-table/table-body-row-expandable/table-body-row-expandable.css +79 -0
- package/dist/collection/components/data-table/table-body-row-expandable/table-body-row-expandable.js +155 -0
- package/dist/collection/components/data-table/table-component-basic.stories.js +163 -0
- package/dist/collection/components/data-table/table-component-batch-actions.stories.js +129 -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 +198 -0
- package/dist/collection/components/data-table/table-component-event-listeners.stories.js +153 -0
- package/dist/collection/components/data-table/table-component-expandable-rows.stories.js +137 -0
- package/dist/collection/components/data-table/table-component-filtering.stories.js +139 -0
- package/dist/collection/components/data-table/table-component-multiselect.stories.js +160 -0
- package/dist/collection/components/data-table/table-component-pagination.stories.js +129 -0
- package/dist/collection/components/data-table/table-component-sorting.stories.js +107 -0
- package/dist/collection/components/data-table/table-footer/table-footer.css +93 -0
- package/dist/collection/components/data-table/table-footer/table-footer.js +355 -0
- package/dist/collection/components/data-table/table-header/table-header.css +204 -0
- package/dist/collection/components/data-table/table-header/table-header.js +153 -0
- package/dist/collection/components/data-table/table-header-cell/table-header-cell.css +126 -0
- package/dist/collection/components/data-table/table-header-cell/table-header-cell.js +320 -0
- package/dist/collection/components/data-table/table-toolbar/table-toolbar.css +92 -0
- package/dist/collection/components/data-table/table-toolbar/table-toolbar.js +142 -0
- package/dist/collection/components/datetime/datetime.css +375 -0
- package/dist/collection/components/datetime/datetime.js +251 -0
- package/dist/collection/components/datetime/datetime.stories.js +149 -0
- package/dist/collection/components/divider/divider.stories.js +116 -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 +151 -0
- package/dist/collection/components/dropdown/dropdown-wc-multiselect.stories.js +146 -0
- package/dist/collection/components/dropdown/dropdown.css +891 -0
- package/dist/collection/components/dropdown/dropdown.js +554 -0
- package/dist/collection/components/footer/footer.stories.js +100 -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/message/message.stories.js +117 -0
- package/dist/collection/components/modal/modal-native.stories.js +121 -0
- package/dist/collection/components/modal/modal-webcomponent.stories.js +78 -0
- package/dist/collection/components/modal/modal.css +324 -0
- package/dist/collection/components/modal/modal.js +146 -0
- package/dist/collection/components/popover-canvas/popover-canvas.css +20 -0
- package/dist/collection/components/popover-canvas/popover-canvas.js +190 -0
- package/dist/collection/components/popover-canvas/popover-canvas.stories.js +87 -0
- package/dist/collection/components/popover-menu/popover-menu-icons.stories.js +132 -0
- package/dist/collection/components/popover-menu/popover-menu.css +19 -0
- package/dist/collection/components/popover-menu/popover-menu.js +189 -0
- package/dist/collection/components/popover-menu/popover-menu.stories.js +109 -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 +260 -0
- package/dist/collection/components/slider/slider.js +682 -0
- package/dist/collection/components/slider/slider.stories.js +251 -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-tabs.css +159 -0
- package/dist/collection/components/tabs/inline-tabs-default/inline-tabs.js +302 -0
- package/dist/collection/components/tabs/inline-tabs-default/inline-tabs.stories.js +65 -0
- package/dist/collection/components/tabs/inline-tabs-fullbleed/inline-tabs-fullbleed.css +172 -0
- package/dist/collection/components/tabs/inline-tabs-fullbleed/inline-tabs-fullbleed.js +126 -0
- package/dist/collection/components/tabs/inline-tabs-fullbleed/inline-tabs-fullbleed.stories.js +43 -0
- package/dist/collection/components/tabs/navigation-tabs/navigation-tabs.css +153 -0
- package/dist/collection/components/tabs/navigation-tabs/navigation-tabs.js +103 -0
- package/dist/collection/components/tabs/navigation-tabs/navigation-tabs.stories.js +32 -0
- package/dist/collection/components/textarea/textarea.css +283 -0
- package/dist/collection/components/textarea/textarea.js +336 -0
- package/dist/collection/components/textarea/textarea.stories.js +149 -0
- package/dist/collection/components/textfield/textfield.css +494 -0
- package/dist/collection/components/textfield/textfield.js +359 -0
- package/dist/collection/components/textfield/textfield.stories.js +222 -0
- package/dist/collection/components/toast/toast.stories.js +119 -0
- package/dist/collection/components/toggle/toggle.stories.js +62 -0
- package/dist/collection/components/tooltip/tooltip.css +46 -0
- package/dist/collection/components/tooltip/tooltip.js +200 -0
- package/dist/collection/components/tooltip/tooltip.stories.js +113 -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 +296 -0
- package/dist/components/icon.js +58 -0
- package/dist/components/index.d.ts +50 -0
- package/dist/components/index.js +30 -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 +76 -0
- package/dist/components/sdds-body-cell.d.ts +11 -0
- package/dist/components/sdds-body-cell.js +6 -0
- package/dist/components/sdds-button.d.ts +11 -0
- package/dist/components/sdds-button.js +58 -0
- package/dist/components/sdds-datetime.d.ts +11 -0
- package/dist/components/sdds-datetime.js +90 -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 +173 -0
- package/dist/components/sdds-icon.d.ts +11 -0
- package/dist/components/sdds-icon.js +6 -0
- package/dist/components/sdds-inline-tabs-fullbleed.d.ts +11 -0
- package/dist/components/sdds-inline-tabs-fullbleed.js +115 -0
- package/dist/components/sdds-inline-tabs.d.ts +11 -0
- package/dist/components/sdds-inline-tabs.js +235 -0
- package/dist/components/sdds-modal.d.ts +11 -0
- package/dist/components/sdds-modal.js +69 -0
- package/dist/components/sdds-navigation-tabs.d.ts +11 -0
- package/dist/components/sdds-navigation-tabs.js +113 -0
- package/dist/components/sdds-popover-canvas.d.ts +11 -0
- package/dist/components/sdds-popover-canvas.js +97 -0
- package/dist/components/sdds-popover-menu.d.ts +11 -0
- package/dist/components/sdds-popover-menu.js +96 -0
- package/dist/components/sdds-slider.d.ts +11 -0
- package/dist/components/sdds-slider.js +366 -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 +104 -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 +196 -0
- package/dist/components/sdds-table-header.d.ts +11 -0
- package/dist/components/sdds-table-header.js +125 -0
- package/dist/components/sdds-table-toolbar.d.ts +11 -0
- package/dist/components/sdds-table-toolbar.js +88 -0
- package/dist/components/sdds-table.d.ts +11 -0
- package/dist/components/sdds-table.js +92 -0
- package/dist/components/sdds-textarea.d.ts +11 -0
- package/dist/components/sdds-textarea.js +90 -0
- package/dist/components/sdds-textfield.d.ts +11 -0
- package/dist/components/sdds-textfield.js +111 -0
- package/dist/components/sdds-tooltip.d.ts +11 -0
- package/dist/components/sdds-tooltip.js +116 -0
- package/dist/components/table-body-cell.js +102 -0
- package/dist/components/table-body-row.js +119 -0
- package/dist/esm/index-b67b15a6.js +1884 -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 +51 -0
- package/dist/esm/sdds-body-cell_2.entry.js +168 -0
- package/dist/esm/sdds-button.entry.js +32 -0
- package/dist/esm/sdds-datetime.entry.js +62 -0
- package/dist/esm/sdds-dropdown-filter.entry.js +88 -0
- package/dist/esm/sdds-dropdown_2.entry.js +330 -0
- package/dist/esm/sdds-header-cell.entry.js +137 -0
- package/dist/esm/sdds-icon.entry.js +38 -0
- package/dist/esm/sdds-inline-tabs-fullbleed.entry.js +92 -0
- package/dist/esm/sdds-inline-tabs.entry.js +207 -0
- package/dist/esm/sdds-modal.entry.js +45 -0
- package/dist/esm/sdds-navigation-tabs.entry.js +91 -0
- package/dist/esm/sdds-popover-canvas.entry.js +72 -0
- package/dist/esm/sdds-popover-menu.entry.js +71 -0
- package/dist/esm/sdds-slider.entry.js +332 -0
- package/dist/esm/sdds-spinner.entry.js +17 -0
- package/dist/esm/sdds-table-body-row-expandable.entry.js +77 -0
- package/dist/esm/sdds-table-body.entry.js +285 -0
- package/dist/esm/sdds-table-footer.entry.js +161 -0
- package/dist/esm/sdds-table-header.entry.js +96 -0
- package/dist/esm/sdds-table-toolbar.entry.js +62 -0
- package/dist/esm/sdds-table.entry.js +65 -0
- package/dist/esm/sdds-textarea.entry.js +57 -0
- package/dist/esm/sdds-textfield.entry.js +78 -0
- package/dist/esm/sdds-tooltip.entry.js +91 -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-040efb32.entry.js +1 -0
- package/dist/tegel/p-12ca5cfa.entry.js +1 -0
- package/dist/tegel/p-157e1618.js +2 -0
- package/dist/tegel/p-1fe61cf6.entry.js +1 -0
- package/dist/tegel/p-2f376504.entry.js +1 -0
- package/dist/tegel/p-44ced895.entry.js +1 -0
- package/dist/tegel/p-4880f03d.entry.js +1 -0
- package/dist/tegel/p-4aba73a3.entry.js +1 -0
- package/dist/tegel/p-4b58a02c.entry.js +1 -0
- package/dist/tegel/p-4cb85347.entry.js +1 -0
- package/dist/tegel/p-52031b5a.entry.js +1 -0
- package/dist/tegel/p-677baf7f.entry.js +1 -0
- package/dist/tegel/p-71797eaf.entry.js +1 -0
- package/dist/tegel/p-7373284c.entry.js +1 -0
- package/dist/tegel/p-7451779b.entry.js +1 -0
- package/dist/tegel/p-77aeea3b.entry.js +1 -0
- package/dist/tegel/p-8582d6a7.entry.js +1 -0
- package/dist/tegel/p-96021bd0.entry.js +1 -0
- package/dist/tegel/p-9d8caf51.entry.js +1 -0
- package/dist/tegel/p-a5919930.entry.js +1 -0
- package/dist/tegel/p-b01cface.entry.js +1 -0
- package/dist/tegel/p-bf896643.entry.js +1 -0
- package/dist/tegel/p-c311725c.entry.js +1 -0
- package/dist/tegel/p-cf72dfd9.entry.js +1 -0
- package/dist/tegel/p-d91caec6.entry.js +1 -0
- package/dist/tegel/p-e10eec33.entry.js +1 -0
- package/dist/tegel/p-ec26fc38.js +1 -0
- package/dist/tegel/p-f2262a69.entry.js +1 -0
- package/dist/tegel/p-f2f7aa45.entry.js +1 -0
- package/dist/tegel/tegel.css +101 -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/block/block.stories.d.ts +31 -0
- package/dist/types/components/breadcrumb/breadcrumb.stories.d.ts +12 -0
- package/dist/types/components/button/button-component.d.ts +15 -0
- package/dist/types/components/button/button-native.stories.d.ts +144 -0
- package/dist/types/components/button/button-webcomponent.stories.d.ts +143 -0
- package/dist/types/components/card/card.stories.d.ts +114 -0
- package/dist/types/components/checkbox/checkbox.stories.d.ts +39 -0
- package/dist/types/components/chips/chips.stories.d.ts +81 -0
- package/dist/types/components/data-table/native-table.stories.d.ts +147 -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 +100 -0
- package/dist/types/components/data-table/table-component-batch-actions.stories.d.ts +98 -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 +147 -0
- package/dist/types/components/data-table/table-component-event-listeners.stories.d.ts +87 -0
- package/dist/types/components/data-table/table-component-expandable-rows.stories.d.ts +87 -0
- package/dist/types/components/data-table/table-component-filtering.stories.d.ts +100 -0
- package/dist/types/components/data-table/table-component-multiselect.stories.d.ts +100 -0
- package/dist/types/components/data-table/table-component-pagination.stories.d.ts +100 -0
- package/dist/types/components/data-table/table-component-sorting.stories.d.ts +79 -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 +45 -0
- package/dist/types/components/data-table/table-toolbar/table-toolbar.d.ts +22 -0
- package/dist/types/components/datetime/datetime.d.ts +32 -0
- package/dist/types/components/datetime/datetime.stories.d.ts +80 -0
- package/dist/types/components/divider/divider.stories.d.ts +72 -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 +115 -0
- package/dist/types/components/dropdown/dropdown-wc-multiselect.stories.d.ts +115 -0
- package/dist/types/components/dropdown/dropdown.d.ts +56 -0
- package/dist/types/components/footer/footer.stories.d.ts +23 -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/message/message.stories.d.ts +67 -0
- package/dist/types/components/modal/modal-native.stories.d.ts +51 -0
- package/dist/types/components/modal/modal-webcomponent.stories.d.ts +44 -0
- package/dist/types/components/modal/modal.d.ts +16 -0
- package/dist/types/components/popover-canvas/popover-canvas.d.ts +18 -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 +18 -0
- package/dist/types/components/popover-menu/popover-menu.stories.d.ts +27 -0
- package/dist/types/components/radio-button/radio-button.stories.d.ts +41 -0
- package/dist/types/components/side-menu/side-menu.stories.d.ts +42 -0
- package/dist/types/components/slider/slider.d.ts +82 -0
- package/dist/types/components/slider/slider.stories.d.ts +156 -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-tabs.d.ts +41 -0
- package/dist/types/components/tabs/inline-tabs-default/inline-tabs.stories.d.ts +41 -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 +25 -0
- package/dist/types/components/tabs/navigation-tabs/navigation-tabs.d.ts +18 -0
- package/dist/types/components/tabs/navigation-tabs/navigation-tabs.stories.d.ts +13 -0
- package/dist/types/components/textarea/textarea.d.ts +41 -0
- package/dist/types/components/textarea/textarea.stories.d.ts +111 -0
- package/dist/types/components/textfield/textfield.d.ts +42 -0
- package/dist/types/components/textfield/textfield.stories.d.ts +176 -0
- package/dist/types/components/toast/toast.stories.d.ts +58 -0
- package/dist/types/components/toggle/toggle.stories.d.ts +42 -0
- package/dist/types/components/tooltip/tooltip.d.ts +20 -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 +1752 -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 +86 -0
- package/readme.md +186 -0
|
@@ -0,0 +1,44 @@
|
|
|
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
|
+
description: string;
|
|
16
|
+
control: {
|
|
17
|
+
type: string;
|
|
18
|
+
};
|
|
19
|
+
options: string[];
|
|
20
|
+
};
|
|
21
|
+
actions: {
|
|
22
|
+
name: string;
|
|
23
|
+
description: string;
|
|
24
|
+
control: {
|
|
25
|
+
type: string;
|
|
26
|
+
};
|
|
27
|
+
options: string[];
|
|
28
|
+
};
|
|
29
|
+
headline: {
|
|
30
|
+
name: string;
|
|
31
|
+
description: string;
|
|
32
|
+
control: {
|
|
33
|
+
type: string;
|
|
34
|
+
};
|
|
35
|
+
};
|
|
36
|
+
};
|
|
37
|
+
args: {
|
|
38
|
+
headline: string;
|
|
39
|
+
actions: string;
|
|
40
|
+
size: string;
|
|
41
|
+
};
|
|
42
|
+
};
|
|
43
|
+
export default _default;
|
|
44
|
+
export declare const WebComponent: any;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
export declare class Modal {
|
|
2
|
+
/** Disables closing modal on clicking on overlay area. */
|
|
3
|
+
prevent: boolean;
|
|
4
|
+
/** Size of modal. Accepted strings are: xs, sm, md, lg. */
|
|
5
|
+
size: 'xs' | 'sm' | 'md' | 'lg';
|
|
6
|
+
/** Sticky or Static Actions */
|
|
7
|
+
actions: 'sticky' | 'static';
|
|
8
|
+
open: boolean;
|
|
9
|
+
el: HTMLElement;
|
|
10
|
+
/** Shows the modal */
|
|
11
|
+
openModal(): Promise<void>;
|
|
12
|
+
setDissmissButtons(): void;
|
|
13
|
+
handleClick(e: any): void;
|
|
14
|
+
componentDidRender(): void;
|
|
15
|
+
render(): any;
|
|
16
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import type { Placement } from '@popperjs/core';
|
|
2
|
+
export declare class PopoverCanvas {
|
|
3
|
+
popoverCanvasElement: HTMLElement;
|
|
4
|
+
/** The CSS-selector that will trigger this Popover Canvas */
|
|
5
|
+
selector: string;
|
|
6
|
+
/** Decides if the Popover Canvas should be visible from the start */
|
|
7
|
+
show: boolean;
|
|
8
|
+
/** Decides the placement of the Popover Canvas */
|
|
9
|
+
placement: Placement;
|
|
10
|
+
/** Sets the offset skidding */
|
|
11
|
+
offsetSkidding: number;
|
|
12
|
+
/** Sets the offset distance */
|
|
13
|
+
offsetDistance: number;
|
|
14
|
+
target: any;
|
|
15
|
+
handleOutsideClick(): void;
|
|
16
|
+
componentDidLoad(): void;
|
|
17
|
+
render(): any;
|
|
18
|
+
}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
declare const _default: {
|
|
2
|
+
title: string;
|
|
3
|
+
parameters: {
|
|
4
|
+
layout: string;
|
|
5
|
+
notes: any;
|
|
6
|
+
};
|
|
7
|
+
argTypes: {
|
|
8
|
+
canvasPosition: {
|
|
9
|
+
name: string;
|
|
10
|
+
description: string;
|
|
11
|
+
type: {
|
|
12
|
+
summary: string;
|
|
13
|
+
};
|
|
14
|
+
control: {
|
|
15
|
+
type: string;
|
|
16
|
+
};
|
|
17
|
+
options: string[];
|
|
18
|
+
};
|
|
19
|
+
};
|
|
20
|
+
args: {
|
|
21
|
+
canvasPosition: string;
|
|
22
|
+
};
|
|
23
|
+
};
|
|
24
|
+
export default _default;
|
|
25
|
+
export declare const Default: any;
|
|
@@ -0,0 +1,27 @@
|
|
|
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
|
+
menuPosition: {
|
|
14
|
+
name: string;
|
|
15
|
+
description: string;
|
|
16
|
+
control: {
|
|
17
|
+
type: string;
|
|
18
|
+
};
|
|
19
|
+
options: string[];
|
|
20
|
+
};
|
|
21
|
+
};
|
|
22
|
+
args: {
|
|
23
|
+
menuPosition: string;
|
|
24
|
+
};
|
|
25
|
+
};
|
|
26
|
+
export default _default;
|
|
27
|
+
export declare const WithIcons: any;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import type { Placement } from '@popperjs/core';
|
|
2
|
+
export declare class PopoverMenu {
|
|
3
|
+
popoverMenuElement: HTMLElement;
|
|
4
|
+
/** The CSS-selector that will trigger this Popover Menu */
|
|
5
|
+
selector: string;
|
|
6
|
+
/** Decides if the Popover Menu should be visible from the start */
|
|
7
|
+
show: boolean;
|
|
8
|
+
/** Decides the placement of the Popover Menu */
|
|
9
|
+
placement: Placement;
|
|
10
|
+
/** Sets the offset skidding */
|
|
11
|
+
offsetSkidding: number;
|
|
12
|
+
/** Sets the offset distance */
|
|
13
|
+
offsetDistance: number;
|
|
14
|
+
target: any;
|
|
15
|
+
handleOutsideClick(): void;
|
|
16
|
+
componentDidLoad(): void;
|
|
17
|
+
render(): any;
|
|
18
|
+
}
|
|
@@ -0,0 +1,27 @@
|
|
|
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
|
+
menuPosition: {
|
|
14
|
+
name: string;
|
|
15
|
+
description: string;
|
|
16
|
+
control: {
|
|
17
|
+
type: string;
|
|
18
|
+
};
|
|
19
|
+
options: string[];
|
|
20
|
+
};
|
|
21
|
+
};
|
|
22
|
+
args: {
|
|
23
|
+
menuPosition: string;
|
|
24
|
+
};
|
|
25
|
+
};
|
|
26
|
+
export default _default;
|
|
27
|
+
export declare const Default: any;
|
|
@@ -0,0 +1,41 @@
|
|
|
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
|
+
description: string;
|
|
15
|
+
controls: {
|
|
16
|
+
type: string;
|
|
17
|
+
};
|
|
18
|
+
};
|
|
19
|
+
disabled: {
|
|
20
|
+
name: string;
|
|
21
|
+
description: string;
|
|
22
|
+
control: {
|
|
23
|
+
type: string;
|
|
24
|
+
};
|
|
25
|
+
};
|
|
26
|
+
checked: {
|
|
27
|
+
name: string;
|
|
28
|
+
description: string;
|
|
29
|
+
control: {
|
|
30
|
+
type: string;
|
|
31
|
+
};
|
|
32
|
+
};
|
|
33
|
+
};
|
|
34
|
+
args: {
|
|
35
|
+
label: string;
|
|
36
|
+
disabled: boolean;
|
|
37
|
+
checked: boolean;
|
|
38
|
+
};
|
|
39
|
+
};
|
|
40
|
+
export default _default;
|
|
41
|
+
export declare const Default: any;
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
declare const _default: {
|
|
2
|
+
title: string;
|
|
3
|
+
parameters: {
|
|
4
|
+
layout: string;
|
|
5
|
+
docs: {
|
|
6
|
+
source: {
|
|
7
|
+
state: string;
|
|
8
|
+
};
|
|
9
|
+
};
|
|
10
|
+
design: {
|
|
11
|
+
name: string;
|
|
12
|
+
type: string;
|
|
13
|
+
url: string;
|
|
14
|
+
}[];
|
|
15
|
+
};
|
|
16
|
+
argTypes: {
|
|
17
|
+
collapsed: {
|
|
18
|
+
name: string;
|
|
19
|
+
description: string;
|
|
20
|
+
control: {
|
|
21
|
+
type: string;
|
|
22
|
+
};
|
|
23
|
+
};
|
|
24
|
+
showIcons: {
|
|
25
|
+
name: string;
|
|
26
|
+
description: string;
|
|
27
|
+
control: {
|
|
28
|
+
type: string;
|
|
29
|
+
};
|
|
30
|
+
if: {
|
|
31
|
+
arg: string;
|
|
32
|
+
neq: boolean;
|
|
33
|
+
};
|
|
34
|
+
};
|
|
35
|
+
};
|
|
36
|
+
args: {
|
|
37
|
+
collapsed: boolean;
|
|
38
|
+
showIcons: boolean;
|
|
39
|
+
};
|
|
40
|
+
};
|
|
41
|
+
export default _default;
|
|
42
|
+
export declare const Default: any;
|
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
import { EventEmitter } from '../../stencil-public-runtime';
|
|
2
|
+
export declare class Slider {
|
|
3
|
+
wrapperElement: HTMLElement;
|
|
4
|
+
scrubberElement: HTMLElement;
|
|
5
|
+
scrubberInnerElement: HTMLElement;
|
|
6
|
+
dividersElement: HTMLElement;
|
|
7
|
+
trackElement: HTMLElement;
|
|
8
|
+
trackFillElement: HTMLElement;
|
|
9
|
+
minusElement: HTMLElement;
|
|
10
|
+
plusElement: HTMLElement;
|
|
11
|
+
inputElement: HTMLInputElement;
|
|
12
|
+
nativeRangeInputElement: HTMLInputElement;
|
|
13
|
+
scrubberGrabPos: object;
|
|
14
|
+
scrubberGrabbed: boolean;
|
|
15
|
+
scrubberLeft: number;
|
|
16
|
+
tickValues: Array<number>;
|
|
17
|
+
disabledState: boolean;
|
|
18
|
+
readonlyState: boolean;
|
|
19
|
+
useControls: boolean;
|
|
20
|
+
useInput: boolean;
|
|
21
|
+
useSmall: boolean;
|
|
22
|
+
useSnapping: boolean;
|
|
23
|
+
supposedValueSlot: number;
|
|
24
|
+
eventListenersAdded: boolean;
|
|
25
|
+
resizeObserverAdded: boolean;
|
|
26
|
+
/** Change event for the textfield */
|
|
27
|
+
sliderChangeEmitter: EventEmitter<any>;
|
|
28
|
+
/** Text for label */
|
|
29
|
+
label: string;
|
|
30
|
+
/** Initial value */
|
|
31
|
+
value: string;
|
|
32
|
+
/** Minimum value */
|
|
33
|
+
min: string;
|
|
34
|
+
/** Maximum value */
|
|
35
|
+
max: string;
|
|
36
|
+
/** Number of tick markers (tick for min- and max-value will be added automatically) */
|
|
37
|
+
ticks: string;
|
|
38
|
+
/** Decide to show numbers above the tick markers or not */
|
|
39
|
+
showTickNumbers: boolean;
|
|
40
|
+
/** Decide to show the tooltip or not */
|
|
41
|
+
tooltip: boolean;
|
|
42
|
+
/** Sets the disabled state for the whole component */
|
|
43
|
+
disabled: boolean;
|
|
44
|
+
/** Sets the read only state for the whole component */
|
|
45
|
+
readOnly: boolean;
|
|
46
|
+
/** Decide to show the controls or not */
|
|
47
|
+
controls: boolean;
|
|
48
|
+
/** Decide to show the input field or not */
|
|
49
|
+
input: boolean;
|
|
50
|
+
/** Defines how much to increment/decrement the value when using controls */
|
|
51
|
+
step: string;
|
|
52
|
+
/** Name property (will be inherited by the native slider component) */
|
|
53
|
+
name: string;
|
|
54
|
+
/** Sets the size of the scrubber */
|
|
55
|
+
size: 'sm' | '';
|
|
56
|
+
/** Snap to the ticks grid */
|
|
57
|
+
snap: boolean;
|
|
58
|
+
/** Public method to re-initialise the slider if some configuration props are changed */
|
|
59
|
+
reset(): Promise<void>;
|
|
60
|
+
handleKeydown(event: any): void;
|
|
61
|
+
handleMouseUp(): void;
|
|
62
|
+
handleTouchEnd(): void;
|
|
63
|
+
handleMouseMove(event: any): void;
|
|
64
|
+
handleTouchMove(event: any): void;
|
|
65
|
+
updateTrack(): void;
|
|
66
|
+
dispatchChangeEvent(): void;
|
|
67
|
+
updateValue(): void;
|
|
68
|
+
updateValueForced(value: any): void;
|
|
69
|
+
getMin(): number;
|
|
70
|
+
getMax(): number;
|
|
71
|
+
constrainScrubber(x: any): any;
|
|
72
|
+
getTrackWidth(): number;
|
|
73
|
+
calculateScrubberLeftFromValue(value: any): void;
|
|
74
|
+
componentDidLoad(): void;
|
|
75
|
+
grabScrubber(xOffset: any, yOffset: any): void;
|
|
76
|
+
calculateInputSizeFromMax(): number;
|
|
77
|
+
controlsStep(delta: any): void;
|
|
78
|
+
stepLeft(): void;
|
|
79
|
+
stepRight(): void;
|
|
80
|
+
componentWillLoad(): void;
|
|
81
|
+
render(): any;
|
|
82
|
+
}
|
|
@@ -0,0 +1,156 @@
|
|
|
1
|
+
declare const _default: {
|
|
2
|
+
title: string;
|
|
3
|
+
argTypes: {
|
|
4
|
+
initialValue: {
|
|
5
|
+
name: string;
|
|
6
|
+
description: string;
|
|
7
|
+
control: {
|
|
8
|
+
type: string;
|
|
9
|
+
};
|
|
10
|
+
};
|
|
11
|
+
min: {
|
|
12
|
+
name: string;
|
|
13
|
+
description: string;
|
|
14
|
+
control: {
|
|
15
|
+
type: string;
|
|
16
|
+
};
|
|
17
|
+
};
|
|
18
|
+
max: {
|
|
19
|
+
name: string;
|
|
20
|
+
description: string;
|
|
21
|
+
control: {
|
|
22
|
+
type: string;
|
|
23
|
+
};
|
|
24
|
+
};
|
|
25
|
+
showLabel: {
|
|
26
|
+
name: string;
|
|
27
|
+
description: string;
|
|
28
|
+
control: {
|
|
29
|
+
type: string;
|
|
30
|
+
};
|
|
31
|
+
};
|
|
32
|
+
labelText: {
|
|
33
|
+
name: string;
|
|
34
|
+
description: string;
|
|
35
|
+
control: {
|
|
36
|
+
type: string;
|
|
37
|
+
};
|
|
38
|
+
if: {
|
|
39
|
+
arg: string;
|
|
40
|
+
truthy: boolean;
|
|
41
|
+
};
|
|
42
|
+
};
|
|
43
|
+
showTooltip: {
|
|
44
|
+
name: string;
|
|
45
|
+
description: string;
|
|
46
|
+
control: {
|
|
47
|
+
type: string;
|
|
48
|
+
};
|
|
49
|
+
};
|
|
50
|
+
showTicks: {
|
|
51
|
+
name: string;
|
|
52
|
+
description: string;
|
|
53
|
+
control: {
|
|
54
|
+
type: string;
|
|
55
|
+
};
|
|
56
|
+
};
|
|
57
|
+
numTicks: {
|
|
58
|
+
name: string;
|
|
59
|
+
description: string;
|
|
60
|
+
control: {
|
|
61
|
+
type: string;
|
|
62
|
+
};
|
|
63
|
+
if: {
|
|
64
|
+
arg: string;
|
|
65
|
+
truthy: boolean;
|
|
66
|
+
};
|
|
67
|
+
};
|
|
68
|
+
snapToTicks: {
|
|
69
|
+
name: string;
|
|
70
|
+
description: string;
|
|
71
|
+
control: {
|
|
72
|
+
type: string;
|
|
73
|
+
};
|
|
74
|
+
if: {
|
|
75
|
+
arg: string;
|
|
76
|
+
truthy: boolean;
|
|
77
|
+
};
|
|
78
|
+
};
|
|
79
|
+
showTickNumbers: {
|
|
80
|
+
name: string;
|
|
81
|
+
description: string;
|
|
82
|
+
control: {
|
|
83
|
+
type: string;
|
|
84
|
+
};
|
|
85
|
+
if: {
|
|
86
|
+
arg: string;
|
|
87
|
+
truthy: boolean;
|
|
88
|
+
};
|
|
89
|
+
};
|
|
90
|
+
showControls: {
|
|
91
|
+
name: string;
|
|
92
|
+
description: string;
|
|
93
|
+
control: {
|
|
94
|
+
type: string;
|
|
95
|
+
};
|
|
96
|
+
};
|
|
97
|
+
step: {
|
|
98
|
+
name: string;
|
|
99
|
+
description: string;
|
|
100
|
+
control: {
|
|
101
|
+
type: string;
|
|
102
|
+
};
|
|
103
|
+
if: {
|
|
104
|
+
arg: string;
|
|
105
|
+
truthy: boolean;
|
|
106
|
+
};
|
|
107
|
+
};
|
|
108
|
+
showInput: {
|
|
109
|
+
name: string;
|
|
110
|
+
description: string;
|
|
111
|
+
control: {
|
|
112
|
+
type: string;
|
|
113
|
+
};
|
|
114
|
+
if: {
|
|
115
|
+
arg: string;
|
|
116
|
+
truthy: boolean;
|
|
117
|
+
};
|
|
118
|
+
};
|
|
119
|
+
disabled: {
|
|
120
|
+
name: string;
|
|
121
|
+
description: string;
|
|
122
|
+
control: {
|
|
123
|
+
type: string;
|
|
124
|
+
};
|
|
125
|
+
};
|
|
126
|
+
readonly: {
|
|
127
|
+
name: string;
|
|
128
|
+
description: string;
|
|
129
|
+
control: {
|
|
130
|
+
type: string;
|
|
131
|
+
};
|
|
132
|
+
};
|
|
133
|
+
small: {
|
|
134
|
+
name: string;
|
|
135
|
+
description: string;
|
|
136
|
+
control: {
|
|
137
|
+
type: string;
|
|
138
|
+
};
|
|
139
|
+
};
|
|
140
|
+
};
|
|
141
|
+
parameters: {
|
|
142
|
+
notes: any;
|
|
143
|
+
design: {
|
|
144
|
+
name: string;
|
|
145
|
+
type: string;
|
|
146
|
+
url: string;
|
|
147
|
+
}[];
|
|
148
|
+
};
|
|
149
|
+
args: {
|
|
150
|
+
min: number;
|
|
151
|
+
max: number;
|
|
152
|
+
value: number;
|
|
153
|
+
};
|
|
154
|
+
};
|
|
155
|
+
export default _default;
|
|
156
|
+
export declare const Default: any;
|
|
@@ -0,0 +1,37 @@
|
|
|
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
|
+
variant: {
|
|
14
|
+
name: string;
|
|
15
|
+
control: {
|
|
16
|
+
type: string;
|
|
17
|
+
};
|
|
18
|
+
options: string[];
|
|
19
|
+
description: string;
|
|
20
|
+
};
|
|
21
|
+
size: {
|
|
22
|
+
name: string;
|
|
23
|
+
control: {
|
|
24
|
+
type: string;
|
|
25
|
+
};
|
|
26
|
+
options: string[];
|
|
27
|
+
description: string;
|
|
28
|
+
};
|
|
29
|
+
};
|
|
30
|
+
args: {
|
|
31
|
+
variant: string;
|
|
32
|
+
size: string;
|
|
33
|
+
};
|
|
34
|
+
};
|
|
35
|
+
export default _default;
|
|
36
|
+
export declare const Default: any;
|
|
37
|
+
export declare const Inverted: any;
|
|
@@ -0,0 +1,56 @@
|
|
|
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
|
+
size: {
|
|
13
|
+
name: string;
|
|
14
|
+
description: string;
|
|
15
|
+
control: {
|
|
16
|
+
type: string;
|
|
17
|
+
};
|
|
18
|
+
options: string[];
|
|
19
|
+
};
|
|
20
|
+
style: {
|
|
21
|
+
name: string;
|
|
22
|
+
description: string;
|
|
23
|
+
control: {
|
|
24
|
+
type: string;
|
|
25
|
+
};
|
|
26
|
+
options: string[];
|
|
27
|
+
};
|
|
28
|
+
showLabel: {
|
|
29
|
+
name: string;
|
|
30
|
+
description: string;
|
|
31
|
+
control: {
|
|
32
|
+
type: string;
|
|
33
|
+
};
|
|
34
|
+
};
|
|
35
|
+
iconType: {
|
|
36
|
+
name: string;
|
|
37
|
+
description: string;
|
|
38
|
+
control: {
|
|
39
|
+
type: string;
|
|
40
|
+
};
|
|
41
|
+
options: string[];
|
|
42
|
+
};
|
|
43
|
+
};
|
|
44
|
+
args: {
|
|
45
|
+
size: string;
|
|
46
|
+
style: string;
|
|
47
|
+
showLabel: boolean;
|
|
48
|
+
iconType: string;
|
|
49
|
+
};
|
|
50
|
+
};
|
|
51
|
+
export default _default;
|
|
52
|
+
export declare const Default: any;
|
|
53
|
+
export declare const Small: any;
|
|
54
|
+
export declare const TextOnSide: any;
|
|
55
|
+
export declare const Vertical: any;
|
|
56
|
+
export declare const HideLabel: any;
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
export declare class InlineTabs {
|
|
2
|
+
host: HTMLElement;
|
|
3
|
+
/** either use this (default-tab="...") or read attribute "default" from one of the slotted children. */
|
|
4
|
+
defaultTab: string;
|
|
5
|
+
/** different height settings. right now only supports "auto", otherwise ignored */
|
|
6
|
+
autoHeight: boolean;
|
|
7
|
+
/** Variant of the tabs, primary= on white, secondary= on grey50 */
|
|
8
|
+
modeVariant: 'primary' | 'secondary';
|
|
9
|
+
/** array with metadata for slotted children */
|
|
10
|
+
tabs: Array<any>;
|
|
11
|
+
/** current calculated width of each nav button (calculated from the largest one) */
|
|
12
|
+
buttonWidth: number;
|
|
13
|
+
/** current calculated tab height (calculated from the one with the most height) */
|
|
14
|
+
tabHeight: number;
|
|
15
|
+
showLeftScroll: boolean;
|
|
16
|
+
showRightScroll: boolean;
|
|
17
|
+
/** used for switching to a tab programmatically */
|
|
18
|
+
showTab(key: string): Promise<void>;
|
|
19
|
+
startingTab: string;
|
|
20
|
+
navWrapperElement: HTMLElement;
|
|
21
|
+
tabWrapperElement: HTMLElement;
|
|
22
|
+
componentWidth: number;
|
|
23
|
+
buttonsWidth: number;
|
|
24
|
+
scrollWidth: number;
|
|
25
|
+
useAutoHeight: boolean;
|
|
26
|
+
_generateKeyFromName(name: string): string;
|
|
27
|
+
componentWillLoad(): void;
|
|
28
|
+
_initComponent(createInitialState?: boolean): void;
|
|
29
|
+
_calculateButtonWidth(): void;
|
|
30
|
+
_calculateTabHeight(): void;
|
|
31
|
+
componentDidRender(): void;
|
|
32
|
+
componentDidLoad(): void;
|
|
33
|
+
_setInitialState(): void;
|
|
34
|
+
_showTab(tab: any): void;
|
|
35
|
+
_hideTab(tab: any): void;
|
|
36
|
+
switchToTab(key: string): void;
|
|
37
|
+
_scrollRight(): void;
|
|
38
|
+
_scrollLeft(): void;
|
|
39
|
+
_evaluateScrollButtons(): void;
|
|
40
|
+
render(): any;
|
|
41
|
+
}
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
declare const _default: {
|
|
2
|
+
title: string;
|
|
3
|
+
parameters: {
|
|
4
|
+
notes: any;
|
|
5
|
+
backgrounds: {
|
|
6
|
+
default: string;
|
|
7
|
+
};
|
|
8
|
+
design: {
|
|
9
|
+
name: string;
|
|
10
|
+
type: string;
|
|
11
|
+
url: string;
|
|
12
|
+
}[];
|
|
13
|
+
};
|
|
14
|
+
argTypes: {
|
|
15
|
+
autoHeight: {
|
|
16
|
+
name: string;
|
|
17
|
+
description: string;
|
|
18
|
+
control: {
|
|
19
|
+
type: string;
|
|
20
|
+
};
|
|
21
|
+
};
|
|
22
|
+
modeVariant: {
|
|
23
|
+
name: string;
|
|
24
|
+
control: {
|
|
25
|
+
type: string;
|
|
26
|
+
};
|
|
27
|
+
options: string[];
|
|
28
|
+
};
|
|
29
|
+
backgrounds: {
|
|
30
|
+
table: {
|
|
31
|
+
disable: boolean;
|
|
32
|
+
};
|
|
33
|
+
};
|
|
34
|
+
};
|
|
35
|
+
args: {
|
|
36
|
+
autoHeight: boolean;
|
|
37
|
+
modeVariant: string;
|
|
38
|
+
};
|
|
39
|
+
};
|
|
40
|
+
export default _default;
|
|
41
|
+
export declare const InlineTabs: any;
|