@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,115 @@
|
|
|
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
|
+
size: {
|
|
17
|
+
name: string;
|
|
18
|
+
control: {
|
|
19
|
+
type: string;
|
|
20
|
+
};
|
|
21
|
+
options: string[];
|
|
22
|
+
description: string;
|
|
23
|
+
};
|
|
24
|
+
placeholder: {
|
|
25
|
+
name: string;
|
|
26
|
+
type: string;
|
|
27
|
+
description: string;
|
|
28
|
+
};
|
|
29
|
+
labelPosition: {
|
|
30
|
+
name: string;
|
|
31
|
+
control: {
|
|
32
|
+
type: string;
|
|
33
|
+
};
|
|
34
|
+
options: string[];
|
|
35
|
+
description: string;
|
|
36
|
+
};
|
|
37
|
+
labelText: {
|
|
38
|
+
name: string;
|
|
39
|
+
control: string;
|
|
40
|
+
description: string;
|
|
41
|
+
if: {
|
|
42
|
+
arg: string;
|
|
43
|
+
neq: string;
|
|
44
|
+
};
|
|
45
|
+
};
|
|
46
|
+
disabled: {
|
|
47
|
+
name: string;
|
|
48
|
+
description: string;
|
|
49
|
+
control: {
|
|
50
|
+
type: string;
|
|
51
|
+
};
|
|
52
|
+
};
|
|
53
|
+
state: {
|
|
54
|
+
name: string;
|
|
55
|
+
control: {
|
|
56
|
+
type: string;
|
|
57
|
+
};
|
|
58
|
+
options: string[];
|
|
59
|
+
description: string;
|
|
60
|
+
};
|
|
61
|
+
helper: {
|
|
62
|
+
name: string;
|
|
63
|
+
control: string;
|
|
64
|
+
description: string;
|
|
65
|
+
};
|
|
66
|
+
helperText: {
|
|
67
|
+
name: string;
|
|
68
|
+
description: string;
|
|
69
|
+
control: string;
|
|
70
|
+
if: {
|
|
71
|
+
arg: string;
|
|
72
|
+
eq: boolean;
|
|
73
|
+
};
|
|
74
|
+
};
|
|
75
|
+
defaultOption: {
|
|
76
|
+
if: {
|
|
77
|
+
arg: string;
|
|
78
|
+
neq: string;
|
|
79
|
+
};
|
|
80
|
+
name: string;
|
|
81
|
+
description: string;
|
|
82
|
+
control: {
|
|
83
|
+
type: string;
|
|
84
|
+
};
|
|
85
|
+
options: string[];
|
|
86
|
+
};
|
|
87
|
+
openDirection: {
|
|
88
|
+
name: string;
|
|
89
|
+
description: string;
|
|
90
|
+
control: {
|
|
91
|
+
type: string;
|
|
92
|
+
};
|
|
93
|
+
options: string[];
|
|
94
|
+
table: {
|
|
95
|
+
summary: {
|
|
96
|
+
defaultValue: string;
|
|
97
|
+
};
|
|
98
|
+
};
|
|
99
|
+
};
|
|
100
|
+
};
|
|
101
|
+
args: {
|
|
102
|
+
size: string;
|
|
103
|
+
placeholder: string;
|
|
104
|
+
state: string;
|
|
105
|
+
disabled: boolean;
|
|
106
|
+
labelPosition: string;
|
|
107
|
+
labelText: string;
|
|
108
|
+
helper: boolean;
|
|
109
|
+
helperText: string;
|
|
110
|
+
defaultOption: string;
|
|
111
|
+
openDirection: string;
|
|
112
|
+
};
|
|
113
|
+
};
|
|
114
|
+
export default _default;
|
|
115
|
+
export declare const WebComponentDefault: any;
|
|
@@ -0,0 +1,115 @@
|
|
|
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
|
+
size: {
|
|
17
|
+
name: string;
|
|
18
|
+
control: {
|
|
19
|
+
type: string;
|
|
20
|
+
};
|
|
21
|
+
options: string[];
|
|
22
|
+
description: string;
|
|
23
|
+
};
|
|
24
|
+
placeholder: {
|
|
25
|
+
name: string;
|
|
26
|
+
type: string;
|
|
27
|
+
description: string;
|
|
28
|
+
};
|
|
29
|
+
labelPosition: {
|
|
30
|
+
name: string;
|
|
31
|
+
control: {
|
|
32
|
+
type: string;
|
|
33
|
+
};
|
|
34
|
+
options: string[];
|
|
35
|
+
description: string;
|
|
36
|
+
};
|
|
37
|
+
labelText: {
|
|
38
|
+
name: string;
|
|
39
|
+
control: string;
|
|
40
|
+
description: string;
|
|
41
|
+
if: {
|
|
42
|
+
arg: string;
|
|
43
|
+
neq: string;
|
|
44
|
+
};
|
|
45
|
+
};
|
|
46
|
+
disabled: {
|
|
47
|
+
name: string;
|
|
48
|
+
description: string;
|
|
49
|
+
control: {
|
|
50
|
+
type: string;
|
|
51
|
+
};
|
|
52
|
+
};
|
|
53
|
+
state: {
|
|
54
|
+
name: string;
|
|
55
|
+
control: {
|
|
56
|
+
type: string;
|
|
57
|
+
};
|
|
58
|
+
options: string[];
|
|
59
|
+
description: string;
|
|
60
|
+
};
|
|
61
|
+
helper: {
|
|
62
|
+
name: string;
|
|
63
|
+
control: string;
|
|
64
|
+
description: string;
|
|
65
|
+
};
|
|
66
|
+
helperText: {
|
|
67
|
+
name: string;
|
|
68
|
+
description: string;
|
|
69
|
+
control: string;
|
|
70
|
+
if: {
|
|
71
|
+
arg: string;
|
|
72
|
+
eq: boolean;
|
|
73
|
+
};
|
|
74
|
+
};
|
|
75
|
+
multiDefaultOption: {
|
|
76
|
+
name: string;
|
|
77
|
+
description: string;
|
|
78
|
+
if: {
|
|
79
|
+
arg: string;
|
|
80
|
+
neq: string;
|
|
81
|
+
};
|
|
82
|
+
control: {
|
|
83
|
+
type: string;
|
|
84
|
+
};
|
|
85
|
+
options: string[];
|
|
86
|
+
};
|
|
87
|
+
openDirection: {
|
|
88
|
+
name: string;
|
|
89
|
+
description: string;
|
|
90
|
+
control: {
|
|
91
|
+
type: string;
|
|
92
|
+
};
|
|
93
|
+
options: string[];
|
|
94
|
+
table: {
|
|
95
|
+
summary: {
|
|
96
|
+
defaultValue: string;
|
|
97
|
+
};
|
|
98
|
+
};
|
|
99
|
+
};
|
|
100
|
+
};
|
|
101
|
+
args: {
|
|
102
|
+
size: string;
|
|
103
|
+
placeholder: string;
|
|
104
|
+
state: string;
|
|
105
|
+
disabled: boolean;
|
|
106
|
+
labelPosition: string;
|
|
107
|
+
labelText: string;
|
|
108
|
+
helper: boolean;
|
|
109
|
+
helperText: string;
|
|
110
|
+
multiDefaultOption: string[];
|
|
111
|
+
openDirection: string;
|
|
112
|
+
};
|
|
113
|
+
};
|
|
114
|
+
export default _default;
|
|
115
|
+
export declare const WebComponentMultiselect: any;
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
import { EventEmitter } from '../../stencil-public-runtime';
|
|
2
|
+
export declare class Dropdown {
|
|
3
|
+
textInput?: HTMLInputElement;
|
|
4
|
+
/** Placeholder text for dropdown with no selectedLabel item */
|
|
5
|
+
placeholder: string;
|
|
6
|
+
/** Add the value of the option as string to set it as default */
|
|
7
|
+
defaultOption: string;
|
|
8
|
+
/** Add the value of the option as string to set it as new selected value */
|
|
9
|
+
selectedOption: string;
|
|
10
|
+
/** Set to true for disabled states */
|
|
11
|
+
disabled: boolean;
|
|
12
|
+
/** `Controls type of dropdown. 'Default', 'multiselect' and 'filter' are correct values */
|
|
13
|
+
type: 'default' | 'multiselect' | 'filter';
|
|
14
|
+
/** Controls the size of dropdown. 'sm', 'md' and 'lg' correct values and 'small', 'medium' and 'large' are deprecated */
|
|
15
|
+
size: 'sm' | 'md' | 'lg' | 'small' | 'medium' | 'large';
|
|
16
|
+
/** Set to true to make the width following the label text length */
|
|
17
|
+
inline: boolean;
|
|
18
|
+
/** Controls position of label */
|
|
19
|
+
labelPosition: 'no-label' | 'inside' | 'outside';
|
|
20
|
+
/** Label text for label inside & outside */
|
|
21
|
+
label: string;
|
|
22
|
+
/** Support `error` state */
|
|
23
|
+
state: string;
|
|
24
|
+
/** Add helper text in the bottom of dropdown */
|
|
25
|
+
helper: string;
|
|
26
|
+
/** Direction that the dropdown will open. By default set to auto. */
|
|
27
|
+
openDirection: 'down' | 'up' | 'auto';
|
|
28
|
+
optionValues: Array<any>;
|
|
29
|
+
optionLabels: Array<any>;
|
|
30
|
+
open: boolean;
|
|
31
|
+
node: HTMLElement;
|
|
32
|
+
selectedLabel: string;
|
|
33
|
+
selectedValue: string;
|
|
34
|
+
selectedValuesArray: Array<any>;
|
|
35
|
+
selectedLabelsArray: Array<any>;
|
|
36
|
+
dropdownUniqueClass: string;
|
|
37
|
+
openUpwards: boolean;
|
|
38
|
+
dropdownMenuHeight: number;
|
|
39
|
+
dropdownMenuSelector: HTMLElement;
|
|
40
|
+
listItemIndex: any;
|
|
41
|
+
listItemArray: any;
|
|
42
|
+
host: HTMLElement;
|
|
43
|
+
componentWillLoad(): void;
|
|
44
|
+
setOptionFromOutside(optionValue: any): void;
|
|
45
|
+
changeSelectedOption(): void;
|
|
46
|
+
handleDocClick(ev: any): void;
|
|
47
|
+
keyListener(ev: KeyboardEvent): void;
|
|
48
|
+
handleClick(): void;
|
|
49
|
+
tabbingLabelReset(): void;
|
|
50
|
+
selectOptionHandler(event: CustomEvent<any>): void;
|
|
51
|
+
inputSearch: EventEmitter<any>;
|
|
52
|
+
handleSearch(ev: any): void;
|
|
53
|
+
deselectAll(): void;
|
|
54
|
+
resetOption(): Promise<void>;
|
|
55
|
+
render(): any;
|
|
56
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
declare const _default: {
|
|
2
|
+
title: string;
|
|
3
|
+
parameters: {
|
|
4
|
+
notes: any;
|
|
5
|
+
layout: string;
|
|
6
|
+
design: {
|
|
7
|
+
name: string;
|
|
8
|
+
type: string;
|
|
9
|
+
url: string;
|
|
10
|
+
}[];
|
|
11
|
+
};
|
|
12
|
+
argTypes: {
|
|
13
|
+
topPart: {
|
|
14
|
+
name: string;
|
|
15
|
+
description: string;
|
|
16
|
+
control: {
|
|
17
|
+
type: string;
|
|
18
|
+
};
|
|
19
|
+
};
|
|
20
|
+
};
|
|
21
|
+
};
|
|
22
|
+
export default _default;
|
|
23
|
+
export declare const Default: any;
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
declare const _default: {
|
|
2
|
+
title: string;
|
|
3
|
+
parameters: {
|
|
4
|
+
notes: any;
|
|
5
|
+
layout: string;
|
|
6
|
+
docs: {
|
|
7
|
+
source: {
|
|
8
|
+
state: string;
|
|
9
|
+
};
|
|
10
|
+
};
|
|
11
|
+
design: {
|
|
12
|
+
name: string;
|
|
13
|
+
type: string;
|
|
14
|
+
url: string;
|
|
15
|
+
}[];
|
|
16
|
+
};
|
|
17
|
+
argTypes: {
|
|
18
|
+
siteName: {
|
|
19
|
+
name: string;
|
|
20
|
+
description: string;
|
|
21
|
+
type: string;
|
|
22
|
+
};
|
|
23
|
+
};
|
|
24
|
+
args: {
|
|
25
|
+
siteName: string;
|
|
26
|
+
};
|
|
27
|
+
};
|
|
28
|
+
export default _default;
|
|
29
|
+
export declare const AllMenus: any;
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
declare const _default: {
|
|
2
|
+
title: string;
|
|
3
|
+
parameters: {
|
|
4
|
+
notes: any;
|
|
5
|
+
layout: string;
|
|
6
|
+
docs: {
|
|
7
|
+
source: {
|
|
8
|
+
state: string;
|
|
9
|
+
};
|
|
10
|
+
};
|
|
11
|
+
design: {
|
|
12
|
+
name: string;
|
|
13
|
+
type: string;
|
|
14
|
+
url: string;
|
|
15
|
+
}[];
|
|
16
|
+
};
|
|
17
|
+
argTypes: {
|
|
18
|
+
siteName: {
|
|
19
|
+
name: string;
|
|
20
|
+
description: string;
|
|
21
|
+
type: string;
|
|
22
|
+
};
|
|
23
|
+
};
|
|
24
|
+
args: {
|
|
25
|
+
siteName: string;
|
|
26
|
+
};
|
|
27
|
+
};
|
|
28
|
+
export default _default;
|
|
29
|
+
export declare const Default: any;
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
declare const _default: {
|
|
2
|
+
title: string;
|
|
3
|
+
parameters: {
|
|
4
|
+
notes: any;
|
|
5
|
+
layout: string;
|
|
6
|
+
docs: {
|
|
7
|
+
source: {
|
|
8
|
+
state: string;
|
|
9
|
+
};
|
|
10
|
+
};
|
|
11
|
+
design: {
|
|
12
|
+
name: string;
|
|
13
|
+
type: string;
|
|
14
|
+
url: string;
|
|
15
|
+
}[];
|
|
16
|
+
};
|
|
17
|
+
argTypes: {
|
|
18
|
+
siteName: {
|
|
19
|
+
name: string;
|
|
20
|
+
description: string;
|
|
21
|
+
type: string;
|
|
22
|
+
};
|
|
23
|
+
};
|
|
24
|
+
args: {
|
|
25
|
+
siteName: string;
|
|
26
|
+
};
|
|
27
|
+
};
|
|
28
|
+
export default _default;
|
|
29
|
+
export declare const InlineMenu: any;
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
declare const _default: {
|
|
2
|
+
title: string;
|
|
3
|
+
parameters: {
|
|
4
|
+
notes: any;
|
|
5
|
+
layout: string;
|
|
6
|
+
docs: {
|
|
7
|
+
source: {
|
|
8
|
+
state: string;
|
|
9
|
+
};
|
|
10
|
+
};
|
|
11
|
+
design: {
|
|
12
|
+
name: string;
|
|
13
|
+
type: string;
|
|
14
|
+
url: string;
|
|
15
|
+
}[];
|
|
16
|
+
};
|
|
17
|
+
argTypes: {
|
|
18
|
+
siteName: {
|
|
19
|
+
name: string;
|
|
20
|
+
description: string;
|
|
21
|
+
type: string;
|
|
22
|
+
};
|
|
23
|
+
};
|
|
24
|
+
args: {
|
|
25
|
+
siteName: string;
|
|
26
|
+
};
|
|
27
|
+
};
|
|
28
|
+
export default _default;
|
|
29
|
+
export declare const SearchbarMenu: any;
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
declare const _default: {
|
|
2
|
+
title: string;
|
|
3
|
+
parameters: {
|
|
4
|
+
notes: any;
|
|
5
|
+
layout: string;
|
|
6
|
+
docs: {
|
|
7
|
+
source: {
|
|
8
|
+
state: string;
|
|
9
|
+
};
|
|
10
|
+
};
|
|
11
|
+
design: {
|
|
12
|
+
name: string;
|
|
13
|
+
type: string;
|
|
14
|
+
url: string;
|
|
15
|
+
}[];
|
|
16
|
+
};
|
|
17
|
+
argTypes: {
|
|
18
|
+
siteName: {
|
|
19
|
+
name: string;
|
|
20
|
+
description: string;
|
|
21
|
+
type: string;
|
|
22
|
+
};
|
|
23
|
+
};
|
|
24
|
+
args: {
|
|
25
|
+
siteName: string;
|
|
26
|
+
};
|
|
27
|
+
};
|
|
28
|
+
export default _default;
|
|
29
|
+
export declare const ToolbarMenu: any;
|
|
@@ -0,0 +1,38 @@
|
|
|
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
|
+
icon: {
|
|
14
|
+
name: string;
|
|
15
|
+
description: string;
|
|
16
|
+
control: {
|
|
17
|
+
type: string;
|
|
18
|
+
};
|
|
19
|
+
options: any;
|
|
20
|
+
};
|
|
21
|
+
size: {
|
|
22
|
+
name: string;
|
|
23
|
+
description: string;
|
|
24
|
+
control: {
|
|
25
|
+
type: string;
|
|
26
|
+
min: number;
|
|
27
|
+
max: number;
|
|
28
|
+
step: number;
|
|
29
|
+
};
|
|
30
|
+
};
|
|
31
|
+
};
|
|
32
|
+
args: {
|
|
33
|
+
size: number;
|
|
34
|
+
icon: string;
|
|
35
|
+
};
|
|
36
|
+
};
|
|
37
|
+
export default _default;
|
|
38
|
+
export declare const Native: any;
|
|
@@ -0,0 +1,38 @@
|
|
|
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
|
+
icon: {
|
|
14
|
+
name: string;
|
|
15
|
+
description: string;
|
|
16
|
+
control: {
|
|
17
|
+
type: string;
|
|
18
|
+
};
|
|
19
|
+
options: any;
|
|
20
|
+
};
|
|
21
|
+
size: {
|
|
22
|
+
name: string;
|
|
23
|
+
description: string;
|
|
24
|
+
control: {
|
|
25
|
+
type: string;
|
|
26
|
+
min: number;
|
|
27
|
+
max: number;
|
|
28
|
+
step: number;
|
|
29
|
+
};
|
|
30
|
+
};
|
|
31
|
+
};
|
|
32
|
+
args: {
|
|
33
|
+
size: number;
|
|
34
|
+
icon: string;
|
|
35
|
+
};
|
|
36
|
+
};
|
|
37
|
+
export default _default;
|
|
38
|
+
export declare const WebComponent: any;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
export declare class Icon {
|
|
2
|
+
/** Pass a name of the icon. For icon names, refer to https://digitaldesign.scania.com/foundations/icons/icon-library or storybook */
|
|
3
|
+
name: string;
|
|
4
|
+
/** Pass a size of icon as a string, for example: 32px, 1rem, 4em... */
|
|
5
|
+
size: string;
|
|
6
|
+
icons_object: string;
|
|
7
|
+
arrayOfIcons: any[];
|
|
8
|
+
componentWillLoad(): void;
|
|
9
|
+
arrayDataWatcher(newValue: string): void;
|
|
10
|
+
setIcons: () => any[];
|
|
11
|
+
render(): any;
|
|
12
|
+
}
|
|
@@ -0,0 +1,33 @@
|
|
|
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
|
+
disabled: {
|
|
13
|
+
name: string;
|
|
14
|
+
description: string;
|
|
15
|
+
controls: {
|
|
16
|
+
type: string;
|
|
17
|
+
};
|
|
18
|
+
};
|
|
19
|
+
noUnderline: {
|
|
20
|
+
name: string;
|
|
21
|
+
description: string;
|
|
22
|
+
controls: {
|
|
23
|
+
type: string;
|
|
24
|
+
};
|
|
25
|
+
};
|
|
26
|
+
};
|
|
27
|
+
args: {
|
|
28
|
+
disabled: boolean;
|
|
29
|
+
noUnderline: boolean;
|
|
30
|
+
};
|
|
31
|
+
};
|
|
32
|
+
export default _default;
|
|
33
|
+
export declare const Default: any;
|
|
@@ -0,0 +1,67 @@
|
|
|
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
|
+
messageType: {
|
|
13
|
+
name: string;
|
|
14
|
+
description: string;
|
|
15
|
+
control: {
|
|
16
|
+
type: string;
|
|
17
|
+
};
|
|
18
|
+
options: string[];
|
|
19
|
+
};
|
|
20
|
+
variant: {
|
|
21
|
+
name: string;
|
|
22
|
+
description: string;
|
|
23
|
+
control: {
|
|
24
|
+
type: string;
|
|
25
|
+
};
|
|
26
|
+
options: string[];
|
|
27
|
+
};
|
|
28
|
+
icon: {
|
|
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
|
+
if: {
|
|
43
|
+
arg: string;
|
|
44
|
+
eq: boolean;
|
|
45
|
+
};
|
|
46
|
+
};
|
|
47
|
+
showExtendedMessage: {
|
|
48
|
+
name: string;
|
|
49
|
+
description: string;
|
|
50
|
+
control: {
|
|
51
|
+
type: string;
|
|
52
|
+
};
|
|
53
|
+
};
|
|
54
|
+
};
|
|
55
|
+
args: {
|
|
56
|
+
messageType: string;
|
|
57
|
+
variant: string;
|
|
58
|
+
icon: boolean;
|
|
59
|
+
iconType: string;
|
|
60
|
+
showExtendedMessage: boolean;
|
|
61
|
+
};
|
|
62
|
+
};
|
|
63
|
+
export default _default;
|
|
64
|
+
export declare const Information: any;
|
|
65
|
+
export declare const Error: any;
|
|
66
|
+
export declare const Warning: any;
|
|
67
|
+
export declare const Success: any;
|
|
@@ -0,0 +1,51 @@
|
|
|
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
|
+
showModal: {
|
|
21
|
+
name: string;
|
|
22
|
+
description: string;
|
|
23
|
+
control: {
|
|
24
|
+
type: string;
|
|
25
|
+
};
|
|
26
|
+
};
|
|
27
|
+
actions: {
|
|
28
|
+
name: string;
|
|
29
|
+
description: string;
|
|
30
|
+
control: {
|
|
31
|
+
type: string;
|
|
32
|
+
};
|
|
33
|
+
options: string[];
|
|
34
|
+
};
|
|
35
|
+
headline: {
|
|
36
|
+
name: string;
|
|
37
|
+
description: string;
|
|
38
|
+
control: {
|
|
39
|
+
type: string;
|
|
40
|
+
};
|
|
41
|
+
};
|
|
42
|
+
};
|
|
43
|
+
args: {
|
|
44
|
+
headline: string;
|
|
45
|
+
actions: string;
|
|
46
|
+
size: string;
|
|
47
|
+
showModal: boolean;
|
|
48
|
+
};
|
|
49
|
+
};
|
|
50
|
+
export default _default;
|
|
51
|
+
export declare const Native: any;
|