@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,114 @@
|
|
|
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
|
+
headline: {
|
|
13
|
+
name: string;
|
|
14
|
+
description: string;
|
|
15
|
+
control: {
|
|
16
|
+
type: string;
|
|
17
|
+
};
|
|
18
|
+
};
|
|
19
|
+
subheadline: {
|
|
20
|
+
name: string;
|
|
21
|
+
description: string;
|
|
22
|
+
control: {
|
|
23
|
+
type: string;
|
|
24
|
+
};
|
|
25
|
+
};
|
|
26
|
+
text: {
|
|
27
|
+
name: string;
|
|
28
|
+
description: string;
|
|
29
|
+
control: {
|
|
30
|
+
type: string;
|
|
31
|
+
};
|
|
32
|
+
};
|
|
33
|
+
divider: {
|
|
34
|
+
name: string;
|
|
35
|
+
description: string;
|
|
36
|
+
control: {
|
|
37
|
+
type: string;
|
|
38
|
+
};
|
|
39
|
+
table: {
|
|
40
|
+
defaultValue: {
|
|
41
|
+
summary: boolean;
|
|
42
|
+
};
|
|
43
|
+
};
|
|
44
|
+
};
|
|
45
|
+
footer: {
|
|
46
|
+
name: string;
|
|
47
|
+
description: string;
|
|
48
|
+
control: {
|
|
49
|
+
type: string;
|
|
50
|
+
};
|
|
51
|
+
};
|
|
52
|
+
clickable: {
|
|
53
|
+
name: string;
|
|
54
|
+
description: string;
|
|
55
|
+
control: {
|
|
56
|
+
type: string;
|
|
57
|
+
};
|
|
58
|
+
table: {
|
|
59
|
+
defaultValue: {
|
|
60
|
+
summary: boolean;
|
|
61
|
+
};
|
|
62
|
+
};
|
|
63
|
+
};
|
|
64
|
+
image: {
|
|
65
|
+
name: string;
|
|
66
|
+
description: string;
|
|
67
|
+
control: {
|
|
68
|
+
type: string;
|
|
69
|
+
};
|
|
70
|
+
};
|
|
71
|
+
imageTop: {
|
|
72
|
+
name: string;
|
|
73
|
+
description: string;
|
|
74
|
+
control: {
|
|
75
|
+
type: string;
|
|
76
|
+
};
|
|
77
|
+
table: {
|
|
78
|
+
defaultValue: {
|
|
79
|
+
summary: boolean;
|
|
80
|
+
};
|
|
81
|
+
};
|
|
82
|
+
if: {
|
|
83
|
+
arg: string;
|
|
84
|
+
eq: boolean;
|
|
85
|
+
};
|
|
86
|
+
};
|
|
87
|
+
avatar: {
|
|
88
|
+
name: string;
|
|
89
|
+
description: string;
|
|
90
|
+
control: {
|
|
91
|
+
type: string;
|
|
92
|
+
};
|
|
93
|
+
};
|
|
94
|
+
};
|
|
95
|
+
args: {
|
|
96
|
+
headline: string;
|
|
97
|
+
subheadline: string;
|
|
98
|
+
text: string;
|
|
99
|
+
divider: boolean;
|
|
100
|
+
footer: string;
|
|
101
|
+
clickable: boolean;
|
|
102
|
+
image: boolean;
|
|
103
|
+
imageTop: boolean;
|
|
104
|
+
avatar: boolean;
|
|
105
|
+
};
|
|
106
|
+
};
|
|
107
|
+
export default _default;
|
|
108
|
+
export declare const Default: any;
|
|
109
|
+
export declare const SupportText: any;
|
|
110
|
+
export declare const Divider: any;
|
|
111
|
+
export declare const Link: any;
|
|
112
|
+
export declare const Button: any;
|
|
113
|
+
export declare const Image: any;
|
|
114
|
+
export declare const Avatar: any;
|
|
@@ -0,0 +1,39 @@
|
|
|
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
|
+
control: {
|
|
16
|
+
type: string;
|
|
17
|
+
};
|
|
18
|
+
};
|
|
19
|
+
checked: {
|
|
20
|
+
name: string;
|
|
21
|
+
description: string;
|
|
22
|
+
control: {
|
|
23
|
+
type: string;
|
|
24
|
+
};
|
|
25
|
+
};
|
|
26
|
+
label: {
|
|
27
|
+
name: string;
|
|
28
|
+
description: string;
|
|
29
|
+
type: string;
|
|
30
|
+
};
|
|
31
|
+
};
|
|
32
|
+
args: {
|
|
33
|
+
disabled: boolean;
|
|
34
|
+
checked: boolean;
|
|
35
|
+
label: string;
|
|
36
|
+
};
|
|
37
|
+
};
|
|
38
|
+
export default _default;
|
|
39
|
+
export declare const Default: any;
|
|
@@ -0,0 +1,81 @@
|
|
|
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
|
+
placeholderText: {
|
|
13
|
+
name: string;
|
|
14
|
+
description: string;
|
|
15
|
+
control: {
|
|
16
|
+
type: string;
|
|
17
|
+
};
|
|
18
|
+
};
|
|
19
|
+
icon: {
|
|
20
|
+
name: string;
|
|
21
|
+
description: string;
|
|
22
|
+
control: {
|
|
23
|
+
type: string;
|
|
24
|
+
};
|
|
25
|
+
};
|
|
26
|
+
iconType: {
|
|
27
|
+
name: string;
|
|
28
|
+
description: string;
|
|
29
|
+
control: {
|
|
30
|
+
type: string;
|
|
31
|
+
};
|
|
32
|
+
options: string[];
|
|
33
|
+
if: {
|
|
34
|
+
arg: string;
|
|
35
|
+
eq: boolean;
|
|
36
|
+
};
|
|
37
|
+
};
|
|
38
|
+
iconPosition: {
|
|
39
|
+
name: string;
|
|
40
|
+
description: string;
|
|
41
|
+
control: {
|
|
42
|
+
type: string;
|
|
43
|
+
};
|
|
44
|
+
options: string[];
|
|
45
|
+
if: {
|
|
46
|
+
arg: string;
|
|
47
|
+
eq: boolean;
|
|
48
|
+
};
|
|
49
|
+
};
|
|
50
|
+
state: {
|
|
51
|
+
name: string;
|
|
52
|
+
description: string;
|
|
53
|
+
control: {
|
|
54
|
+
type: string;
|
|
55
|
+
};
|
|
56
|
+
options: string[];
|
|
57
|
+
};
|
|
58
|
+
size: {
|
|
59
|
+
name: string;
|
|
60
|
+
description: string;
|
|
61
|
+
control: {
|
|
62
|
+
type: string;
|
|
63
|
+
};
|
|
64
|
+
options: string[];
|
|
65
|
+
};
|
|
66
|
+
};
|
|
67
|
+
args: {
|
|
68
|
+
placeholderText: string;
|
|
69
|
+
icon: boolean;
|
|
70
|
+
iconType: string;
|
|
71
|
+
iconPosition: string;
|
|
72
|
+
state: string;
|
|
73
|
+
size: string;
|
|
74
|
+
};
|
|
75
|
+
};
|
|
76
|
+
export default _default;
|
|
77
|
+
export declare const Default: any;
|
|
78
|
+
export declare const IconRight: any;
|
|
79
|
+
export declare const IconLeft: any;
|
|
80
|
+
export declare const Active: any;
|
|
81
|
+
export declare const Small: any;
|
|
@@ -0,0 +1,147 @@
|
|
|
1
|
+
declare const _default: {
|
|
2
|
+
title: string;
|
|
3
|
+
argTypes: {
|
|
4
|
+
tableTitle: {
|
|
5
|
+
name: string;
|
|
6
|
+
description: string;
|
|
7
|
+
control: {
|
|
8
|
+
type: string;
|
|
9
|
+
};
|
|
10
|
+
table: {
|
|
11
|
+
defaultValue: {
|
|
12
|
+
summary: string;
|
|
13
|
+
};
|
|
14
|
+
};
|
|
15
|
+
};
|
|
16
|
+
isCompact: {
|
|
17
|
+
name: string;
|
|
18
|
+
description: string;
|
|
19
|
+
control: {
|
|
20
|
+
type: string;
|
|
21
|
+
};
|
|
22
|
+
table: {
|
|
23
|
+
defaultValue: {
|
|
24
|
+
summary: boolean;
|
|
25
|
+
};
|
|
26
|
+
};
|
|
27
|
+
};
|
|
28
|
+
dividers: {
|
|
29
|
+
name: string;
|
|
30
|
+
description: string;
|
|
31
|
+
control: {
|
|
32
|
+
type: string;
|
|
33
|
+
};
|
|
34
|
+
table: {
|
|
35
|
+
defaultValue: {
|
|
36
|
+
summary: boolean;
|
|
37
|
+
};
|
|
38
|
+
};
|
|
39
|
+
};
|
|
40
|
+
onWhiteBG: {
|
|
41
|
+
name: string;
|
|
42
|
+
description: string;
|
|
43
|
+
control: {
|
|
44
|
+
type: string;
|
|
45
|
+
};
|
|
46
|
+
table: {
|
|
47
|
+
defaultValue: {
|
|
48
|
+
summary: boolean;
|
|
49
|
+
};
|
|
50
|
+
};
|
|
51
|
+
};
|
|
52
|
+
responsiveTable: {
|
|
53
|
+
name: string;
|
|
54
|
+
description: string;
|
|
55
|
+
control: {
|
|
56
|
+
type: string;
|
|
57
|
+
};
|
|
58
|
+
table: {
|
|
59
|
+
defaultValue: {
|
|
60
|
+
summary: boolean;
|
|
61
|
+
};
|
|
62
|
+
};
|
|
63
|
+
};
|
|
64
|
+
noMinWidthArg: {
|
|
65
|
+
name: string;
|
|
66
|
+
description: string;
|
|
67
|
+
control: {
|
|
68
|
+
type: string;
|
|
69
|
+
};
|
|
70
|
+
table: {
|
|
71
|
+
defaultValue: {
|
|
72
|
+
summary: boolean;
|
|
73
|
+
};
|
|
74
|
+
};
|
|
75
|
+
};
|
|
76
|
+
column1Width: {
|
|
77
|
+
name: string;
|
|
78
|
+
description: string;
|
|
79
|
+
type: string;
|
|
80
|
+
table: {
|
|
81
|
+
defaultValue: {
|
|
82
|
+
summary: string;
|
|
83
|
+
};
|
|
84
|
+
};
|
|
85
|
+
if: {
|
|
86
|
+
arg: string;
|
|
87
|
+
eq: boolean;
|
|
88
|
+
};
|
|
89
|
+
};
|
|
90
|
+
column2Width: {
|
|
91
|
+
name: string;
|
|
92
|
+
description: string;
|
|
93
|
+
type: string;
|
|
94
|
+
table: {
|
|
95
|
+
defaultValue: {
|
|
96
|
+
summary: string;
|
|
97
|
+
};
|
|
98
|
+
};
|
|
99
|
+
if: {
|
|
100
|
+
arg: string;
|
|
101
|
+
eq: boolean;
|
|
102
|
+
};
|
|
103
|
+
};
|
|
104
|
+
column3Width: {
|
|
105
|
+
name: string;
|
|
106
|
+
description: string;
|
|
107
|
+
type: string;
|
|
108
|
+
table: {
|
|
109
|
+
defaultValue: {
|
|
110
|
+
summary: string;
|
|
111
|
+
};
|
|
112
|
+
};
|
|
113
|
+
if: {
|
|
114
|
+
arg: string;
|
|
115
|
+
eq: boolean;
|
|
116
|
+
};
|
|
117
|
+
};
|
|
118
|
+
column4Width: {
|
|
119
|
+
name: string;
|
|
120
|
+
description: string;
|
|
121
|
+
type: string;
|
|
122
|
+
table: {
|
|
123
|
+
defaultValue: {
|
|
124
|
+
summary: string;
|
|
125
|
+
};
|
|
126
|
+
};
|
|
127
|
+
if: {
|
|
128
|
+
arg: string;
|
|
129
|
+
eq: boolean;
|
|
130
|
+
};
|
|
131
|
+
};
|
|
132
|
+
};
|
|
133
|
+
args: {
|
|
134
|
+
tableTitle: string;
|
|
135
|
+
isCompact: boolean;
|
|
136
|
+
dividers: boolean;
|
|
137
|
+
onWhiteBG: boolean;
|
|
138
|
+
noMinWidthArg: boolean;
|
|
139
|
+
responsiveTable: boolean;
|
|
140
|
+
column1Width: string;
|
|
141
|
+
column2Width: string;
|
|
142
|
+
column3Width: string;
|
|
143
|
+
column4Width: string;
|
|
144
|
+
};
|
|
145
|
+
};
|
|
146
|
+
export default _default;
|
|
147
|
+
export declare const Default: any;
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
import { EventEmitter } from '../../../stencil-public-runtime';
|
|
2
|
+
declare type Props = {
|
|
3
|
+
verticalDividers: boolean;
|
|
4
|
+
compactDesign: boolean;
|
|
5
|
+
noMinWidth: boolean;
|
|
6
|
+
whiteBackground: boolean;
|
|
7
|
+
enableMultiselect: boolean;
|
|
8
|
+
enableExpandableRows: boolean;
|
|
9
|
+
enableResponsive: boolean;
|
|
10
|
+
};
|
|
11
|
+
export declare type TablePropsChangedEvent = {
|
|
12
|
+
tableId: string;
|
|
13
|
+
changed: Array<keyof Props>;
|
|
14
|
+
} & Partial<Props>;
|
|
15
|
+
export declare class Table {
|
|
16
|
+
/** Enables style with vertical dividers between columns */
|
|
17
|
+
verticalDividers: boolean;
|
|
18
|
+
/** Enables style where data-table toolbar, rows and footer are less high */
|
|
19
|
+
compactDesign: boolean;
|
|
20
|
+
/** Enables to customise width on data-table columns */
|
|
21
|
+
noMinWidth: boolean;
|
|
22
|
+
/** Changes a colors of data data-table when used on white background */
|
|
23
|
+
whiteBackground: boolean;
|
|
24
|
+
/** Enables multiselect feature of data-table */
|
|
25
|
+
enableMultiselect: boolean;
|
|
26
|
+
/** Enables extended row feature of data-table */
|
|
27
|
+
enableExpandableRows: boolean;
|
|
28
|
+
/** Enables table to take 100% available width with equal spacing of columns */
|
|
29
|
+
enableResponsive: boolean;
|
|
30
|
+
/** ID used for internal table functionality and events, must be unique.
|
|
31
|
+
*
|
|
32
|
+
* **NOTE**: If you're listening for table events you need to set this ID yourself to identify the table, as the default ID is random and will be different every time.
|
|
33
|
+
*/
|
|
34
|
+
tableId: string;
|
|
35
|
+
host: HTMLElement;
|
|
36
|
+
/** Broadcasts changes to the tables props */
|
|
37
|
+
tablePropsChangedEvent: EventEmitter<TablePropsChangedEvent>;
|
|
38
|
+
emitTablePropsChangedEvent(changedValueName: keyof Props, changedValue: Props[keyof Props]): void;
|
|
39
|
+
enableMultiselectChanged(newValue: boolean): void;
|
|
40
|
+
enableExpandableRowsChanged(newValue: boolean): void;
|
|
41
|
+
compactDesignChanged(newValue: boolean): void;
|
|
42
|
+
verticalDividersChanged(newValue: boolean): void;
|
|
43
|
+
noMinWidthChanged(newValue: boolean): void;
|
|
44
|
+
whiteBackgroundChanged(newValue: boolean): void;
|
|
45
|
+
render(): any;
|
|
46
|
+
}
|
|
47
|
+
export {};
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
import { EventEmitter } from '../../../stencil-public-runtime';
|
|
2
|
+
import { TablePropsChangedEvent } from '../table/table';
|
|
3
|
+
export declare class TableBody {
|
|
4
|
+
/** Disables inbuilt filtering logic, leaving user an option to create own filter functionality while listening to events from sdds-table-toolbar component for search term */
|
|
5
|
+
disableFilteringFunction: boolean;
|
|
6
|
+
/** Disables inbuilt sorting logic, leaving user an option to create own sorting functionality while listening to events from sdds-header-cell component for sorting */
|
|
7
|
+
disableSortingFunction: boolean;
|
|
8
|
+
/** Prop to pass JSON string which enables automatic rendering of table rows and cells */
|
|
9
|
+
bodyData: any;
|
|
10
|
+
/** Prop for showcase of rendering JSON in body-data, just for presentation purposes */
|
|
11
|
+
enableDummyData: boolean;
|
|
12
|
+
dummyData: any;
|
|
13
|
+
host: HTMLElement;
|
|
14
|
+
rowsPerPage: number;
|
|
15
|
+
enableMultiselect: boolean;
|
|
16
|
+
enablePaginationTableBody: boolean;
|
|
17
|
+
enableExpandableRows: boolean;
|
|
18
|
+
innerBodyData: any[];
|
|
19
|
+
bodyDataManipulated: any[];
|
|
20
|
+
bodyDataOriginal: any[];
|
|
21
|
+
multiselectArray: any[];
|
|
22
|
+
multiselectArrayJSON: string;
|
|
23
|
+
mainCheckboxStatus: boolean;
|
|
24
|
+
columnsNumber: number;
|
|
25
|
+
disableAllSorting: boolean;
|
|
26
|
+
numberOfPages: number;
|
|
27
|
+
paginationValue: number;
|
|
28
|
+
tempPaginationDisable: boolean;
|
|
29
|
+
showNoResultsMessage: boolean;
|
|
30
|
+
tableId: string;
|
|
31
|
+
tableEl: HTMLSddsTableElement;
|
|
32
|
+
arrayDataWatcher(newValue: string): void;
|
|
33
|
+
/** Event that sends unique table identifier and enable/disable status for sorting functionality */
|
|
34
|
+
sortingSwitcherEvent: EventEmitter<any>;
|
|
35
|
+
/** Sends unique table identifier and mainCheckbox status to all rows when multiselect feature is enabled */
|
|
36
|
+
updateBodyCheckboxesEvent: EventEmitter<any>;
|
|
37
|
+
/** Sends unique table identifier and status if mainCheckbox should change its state based on selection status of single rows when multiselect feature is used */
|
|
38
|
+
updateMainCheckboxEvent: EventEmitter<any>;
|
|
39
|
+
tablePropsChangedEventListener(event: CustomEvent<TablePropsChangedEvent>): void;
|
|
40
|
+
static compareValues(key: any, order?: string): (a: any, b: any) => number;
|
|
41
|
+
uncheckAll: () => void;
|
|
42
|
+
sortData(keyValue: any, sortingDirection: any): void;
|
|
43
|
+
updateOptionsContent(event: CustomEvent<any>): void;
|
|
44
|
+
selectedDataExporter: () => void;
|
|
45
|
+
headCheckboxListener(event: CustomEvent<any>): void;
|
|
46
|
+
bodyCheckBoxClicked: () => void;
|
|
47
|
+
bodyCheckboxListener(): void;
|
|
48
|
+
searchFunction(searchTerm: any): void;
|
|
49
|
+
tableFilteringTermListener(event: CustomEvent<any>): void;
|
|
50
|
+
connectedCallback(): void;
|
|
51
|
+
componentWillLoad(): void;
|
|
52
|
+
componentWillRender(): void;
|
|
53
|
+
render(): any;
|
|
54
|
+
}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { TablePropsChangedEvent } from '../table/table';
|
|
2
|
+
export declare class TableBodyCell {
|
|
3
|
+
/** Value that will be presented as text inside a cell */
|
|
4
|
+
cellValue: string | number;
|
|
5
|
+
/** Passing same cell key for all body cells which is used in head cell enables features of text align and hovering */
|
|
6
|
+
cellKey: any;
|
|
7
|
+
/** Disables internal padding. Useful when passing other components to cell. */
|
|
8
|
+
disablePadding: boolean;
|
|
9
|
+
textAlignState: string;
|
|
10
|
+
activeSorting: boolean;
|
|
11
|
+
verticalDividers: boolean;
|
|
12
|
+
compactDesign: boolean;
|
|
13
|
+
noMinWidth: boolean;
|
|
14
|
+
whiteBackground: boolean;
|
|
15
|
+
tableId: string;
|
|
16
|
+
host: HTMLElement;
|
|
17
|
+
tableEl: HTMLSddsTableElement;
|
|
18
|
+
tablePropsChangedEventListener(event: CustomEvent<TablePropsChangedEvent>): void;
|
|
19
|
+
headCellHoverEventListener(event: CustomEvent<any>): void;
|
|
20
|
+
textAlignEventListener(event: CustomEvent<any>): void;
|
|
21
|
+
connectedCallback(): void;
|
|
22
|
+
componentWillLoad(): void;
|
|
23
|
+
render(): any;
|
|
24
|
+
}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { EventEmitter } from '../../../stencil-public-runtime';
|
|
2
|
+
import { TablePropsChangedEvent } from '../table/table';
|
|
3
|
+
export declare class TableBodyRow {
|
|
4
|
+
enableMultiselect: boolean;
|
|
5
|
+
bodyCheckBoxStatus: boolean;
|
|
6
|
+
mainCheckBoxStatus: boolean;
|
|
7
|
+
verticalDividers: boolean;
|
|
8
|
+
compactDesign: boolean;
|
|
9
|
+
noMinWidth: boolean;
|
|
10
|
+
whiteBackground: boolean;
|
|
11
|
+
tableId: string;
|
|
12
|
+
host: HTMLElement;
|
|
13
|
+
tableEl: HTMLSddsTableElement;
|
|
14
|
+
bodyCheckBoxClicked(event: any): void;
|
|
15
|
+
bodyCheckBoxStatusUpdater(status: any): void;
|
|
16
|
+
tablePropsChangedEventListener(event: CustomEvent<TablePropsChangedEvent>): void;
|
|
17
|
+
/** Send status of single row to the parent, sdds-table component that hold logic for data export and main checkbox control */
|
|
18
|
+
bodyRowToTable: EventEmitter<boolean>;
|
|
19
|
+
/** Event that triggers pagination function. Needed as first rows have to be rendered in order for pagination to run */
|
|
20
|
+
runPaginationEvent: EventEmitter<string>;
|
|
21
|
+
headCheckboxListener(event: CustomEvent<any>): void;
|
|
22
|
+
updateBodyCheckboxesEventListener(event: CustomEvent<any>): void;
|
|
23
|
+
connectedCallback(): void;
|
|
24
|
+
componentWillLoad(): void;
|
|
25
|
+
componentDidLoad(): void;
|
|
26
|
+
render(): any;
|
|
27
|
+
}
|
package/dist/types/components/data-table/table-body-row-expandable/table-body-row-expandable.d.ts
ADDED
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { EventEmitter } from '../../../stencil-public-runtime';
|
|
2
|
+
import { TablePropsChangedEvent } from '../table/table';
|
|
3
|
+
export declare class TableBodyRowExpandable {
|
|
4
|
+
/** In case that automatic count of columns does not work, user can manually set this one. Take in mind that expandable control is column too */
|
|
5
|
+
colSpan: number;
|
|
6
|
+
isExpanded: boolean;
|
|
7
|
+
tableId: string;
|
|
8
|
+
columnsNumber: number;
|
|
9
|
+
verticalDividers: boolean;
|
|
10
|
+
compactDesign: boolean;
|
|
11
|
+
noMinWidth: boolean;
|
|
12
|
+
whiteBackground: boolean;
|
|
13
|
+
host: HTMLElement;
|
|
14
|
+
tableEl: HTMLSddsTableElement;
|
|
15
|
+
/** Sends out status of itw own expended status feature to table header component */
|
|
16
|
+
singleRowExpandedEvent: EventEmitter<any>;
|
|
17
|
+
/** Event that triggers pagination function. Needed as first rows have to be rendered in order for pagination to run */
|
|
18
|
+
runPaginationEvent: EventEmitter<string>;
|
|
19
|
+
tablePropsChangedEventListener(event: CustomEvent<TablePropsChangedEvent>): void;
|
|
20
|
+
connectedCallback(): void;
|
|
21
|
+
componentWillLoad(): void;
|
|
22
|
+
componentDidLoad(): void;
|
|
23
|
+
componentWillRender(): void;
|
|
24
|
+
sendValue(): void;
|
|
25
|
+
onChangeHandler(event: any): void;
|
|
26
|
+
render(): any;
|
|
27
|
+
}
|
|
@@ -0,0 +1,100 @@
|
|
|
1
|
+
declare const _default: {
|
|
2
|
+
title: string;
|
|
3
|
+
parameters: {
|
|
4
|
+
notes: {
|
|
5
|
+
'sdds-table': any;
|
|
6
|
+
'sdds-table-toolbar': any;
|
|
7
|
+
'sdds-header': any;
|
|
8
|
+
'sdds-header-cell': any;
|
|
9
|
+
'sdds-table-body': any;
|
|
10
|
+
'sdds-body-row': any;
|
|
11
|
+
'sdds-body-row-expandable': any;
|
|
12
|
+
'sdds-body-cell': any;
|
|
13
|
+
'sdds-table-footer': any;
|
|
14
|
+
};
|
|
15
|
+
};
|
|
16
|
+
argTypes: {
|
|
17
|
+
verticalDivider: {
|
|
18
|
+
name: string;
|
|
19
|
+
description: string;
|
|
20
|
+
control: {
|
|
21
|
+
type: string;
|
|
22
|
+
};
|
|
23
|
+
table: {
|
|
24
|
+
defaultValue: {
|
|
25
|
+
summary: boolean;
|
|
26
|
+
};
|
|
27
|
+
};
|
|
28
|
+
};
|
|
29
|
+
compactDesign: {
|
|
30
|
+
name: string;
|
|
31
|
+
description: string;
|
|
32
|
+
control: {
|
|
33
|
+
type: string;
|
|
34
|
+
};
|
|
35
|
+
table: {
|
|
36
|
+
defaultValue: {
|
|
37
|
+
summary: boolean;
|
|
38
|
+
};
|
|
39
|
+
};
|
|
40
|
+
};
|
|
41
|
+
onWhiteBackground: {
|
|
42
|
+
name: string;
|
|
43
|
+
description: string;
|
|
44
|
+
control: {
|
|
45
|
+
type: string;
|
|
46
|
+
};
|
|
47
|
+
table: {
|
|
48
|
+
defaultValue: {
|
|
49
|
+
summary: boolean;
|
|
50
|
+
};
|
|
51
|
+
};
|
|
52
|
+
};
|
|
53
|
+
responsiveDesign: {
|
|
54
|
+
name: string;
|
|
55
|
+
description: string;
|
|
56
|
+
control: {
|
|
57
|
+
type: string;
|
|
58
|
+
};
|
|
59
|
+
table: {
|
|
60
|
+
defaultValue: {
|
|
61
|
+
summary: boolean;
|
|
62
|
+
};
|
|
63
|
+
};
|
|
64
|
+
};
|
|
65
|
+
disablePadding: {
|
|
66
|
+
name: string;
|
|
67
|
+
description: string;
|
|
68
|
+
control: {
|
|
69
|
+
type: string;
|
|
70
|
+
};
|
|
71
|
+
table: {
|
|
72
|
+
defaultValue: {
|
|
73
|
+
summary: boolean;
|
|
74
|
+
};
|
|
75
|
+
};
|
|
76
|
+
};
|
|
77
|
+
noMinWidth: {
|
|
78
|
+
name: string;
|
|
79
|
+
description: string;
|
|
80
|
+
control: {
|
|
81
|
+
type: string;
|
|
82
|
+
};
|
|
83
|
+
table: {
|
|
84
|
+
defaultValue: {
|
|
85
|
+
summary: string;
|
|
86
|
+
};
|
|
87
|
+
};
|
|
88
|
+
};
|
|
89
|
+
};
|
|
90
|
+
args: {
|
|
91
|
+
compactDesign: boolean;
|
|
92
|
+
onWhiteBackground: boolean;
|
|
93
|
+
verticalDivider: boolean;
|
|
94
|
+
responsiveDesign: boolean;
|
|
95
|
+
disablePadding: boolean;
|
|
96
|
+
noMinWidth: boolean;
|
|
97
|
+
};
|
|
98
|
+
};
|
|
99
|
+
export default _default;
|
|
100
|
+
export declare const Default: any;
|