@scania/tegel 0.0.33 → 0.0.51
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/{index-18eb94f0.js → index-5ad19933.js} +56 -9
- package/dist/cjs/index-5ad19933.js.map +1 -0
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/cjs/sdds-accordion-item.cjs.entry.js +19 -19
- package/dist/cjs/sdds-accordion.cjs.entry.js +10 -11
- package/dist/cjs/sdds-accordion.cjs.entry.js.map +1 -1
- package/dist/cjs/sdds-badges.cjs.entry.js +44 -44
- package/dist/cjs/sdds-banner.cjs.entry.js +70 -70
- package/dist/cjs/sdds-banner.cjs.entry.js.map +1 -1
- package/dist/cjs/sdds-block.cjs.entry.js +22 -22
- package/dist/cjs/sdds-body-cell_2.cjs.entry.js +158 -158
- package/dist/cjs/sdds-body-cell_2.cjs.entry.js.map +1 -1
- package/dist/cjs/sdds-breadcrumb-link.cjs.entry.js +27 -0
- package/dist/cjs/sdds-breadcrumb-link.cjs.entry.js.map +1 -0
- package/dist/cjs/sdds-breadcrumb.cjs.entry.js +15 -15
- package/dist/cjs/sdds-breadcrumb.cjs.entry.js.map +1 -1
- package/dist/cjs/sdds-button.cjs.entry.js +24 -24
- package/dist/cjs/sdds-button.cjs.entry.js.map +1 -1
- package/dist/cjs/sdds-card.cjs.entry.js +39 -39
- package/dist/cjs/sdds-card.cjs.entry.js.map +1 -1
- package/dist/cjs/sdds-checkbox.cjs.entry.js +45 -45
- package/dist/cjs/sdds-checkbox.cjs.entry.js.map +1 -1
- package/dist/cjs/sdds-datetime.cjs.entry.js +85 -76
- package/dist/cjs/sdds-datetime.cjs.entry.js.map +1 -1
- package/dist/cjs/sdds-divider.cjs.entry.js +22 -0
- package/dist/cjs/sdds-divider.cjs.entry.js.map +1 -0
- package/dist/cjs/sdds-dropdown-filter.cjs.entry.js +86 -83
- package/dist/cjs/sdds-dropdown-filter.cjs.entry.js.map +1 -1
- package/dist/cjs/sdds-dropdown_2.cjs.entry.js +319 -319
- package/dist/cjs/sdds-dropdown_2.cjs.entry.js.map +1 -1
- package/dist/cjs/sdds-folder-tabs-button.cjs.entry.js +29 -0
- package/dist/cjs/sdds-folder-tabs-button.cjs.entry.js.map +1 -0
- package/dist/cjs/sdds-folder-tabs-link.cjs.entry.js +34 -0
- package/dist/cjs/sdds-folder-tabs-link.cjs.entry.js.map +1 -0
- package/dist/cjs/sdds-folder-tabs.cjs.entry.js +180 -0
- package/dist/cjs/sdds-folder-tabs.cjs.entry.js.map +1 -0
- package/dist/cjs/sdds-footer-link-group.cjs.entry.js +36 -0
- package/dist/cjs/sdds-footer-link-group.cjs.entry.js.map +1 -0
- package/dist/cjs/sdds-footer-link.cjs.entry.js +29 -0
- package/dist/cjs/sdds-footer-link.cjs.entry.js.map +1 -0
- package/dist/cjs/sdds-footer.cjs.entry.js +28 -0
- package/dist/cjs/sdds-footer.cjs.entry.js.map +1 -0
- package/dist/cjs/sdds-header-cell.cjs.entry.js +125 -129
- package/dist/cjs/sdds-header-cell.cjs.entry.js.map +1 -1
- package/dist/cjs/sdds-icon.cjs.entry.js +30 -30
- package/dist/cjs/sdds-inline-tabs-button.cjs.entry.js +24 -0
- package/dist/cjs/sdds-inline-tabs-button.cjs.entry.js.map +1 -0
- package/dist/cjs/sdds-inline-tabs-link.cjs.entry.js +29 -0
- package/dist/cjs/sdds-inline-tabs-link.cjs.entry.js.map +1 -0
- package/dist/cjs/sdds-inline-tabs.cjs.entry.js +179 -214
- package/dist/cjs/sdds-inline-tabs.cjs.entry.js.map +1 -1
- package/dist/cjs/sdds-link.cjs.entry.js +14 -14
- package/dist/cjs/sdds-message.cjs.entry.js +28 -28
- package/dist/cjs/sdds-modal.cjs.entry.js +86 -41
- package/dist/cjs/sdds-modal.cjs.entry.js.map +1 -1
- package/dist/cjs/sdds-navigation-tabs-button.cjs.entry.js +24 -0
- package/dist/cjs/sdds-navigation-tabs-button.cjs.entry.js.map +1 -0
- package/dist/cjs/sdds-navigation-tabs-link.cjs.entry.js +29 -0
- package/dist/cjs/sdds-navigation-tabs-link.cjs.entry.js.map +1 -0
- package/dist/cjs/sdds-navigation-tabs.cjs.entry.js +134 -89
- package/dist/cjs/sdds-navigation-tabs.cjs.entry.js.map +1 -1
- package/dist/cjs/sdds-popover-canvas.cjs.entry.js +101 -74
- package/dist/cjs/sdds-popover-canvas.cjs.entry.js.map +1 -1
- package/dist/cjs/sdds-popover-menu.cjs.entry.js +74 -74
- package/dist/cjs/sdds-radio-button.cjs.entry.js +26 -22
- package/dist/cjs/sdds-radio-button.cjs.entry.js.map +1 -1
- package/dist/cjs/sdds-slider.cjs.entry.js +347 -347
- package/dist/cjs/sdds-slider.cjs.entry.js.map +1 -1
- package/dist/cjs/sdds-spinner.cjs.entry.js +11 -11
- package/dist/cjs/sdds-spinner.cjs.entry.js.map +1 -1
- package/dist/cjs/sdds-stepper-item.cjs.entry.js +40 -0
- package/dist/cjs/sdds-stepper-item.cjs.entry.js.map +1 -0
- package/dist/cjs/sdds-stepper.cjs.entry.js +45 -0
- package/dist/cjs/sdds-stepper.cjs.entry.js.map +1 -0
- package/dist/cjs/sdds-table-body-row-expandable.cjs.entry.js +72 -72
- package/dist/cjs/sdds-table-body-row-expandable.cjs.entry.js.map +1 -1
- package/dist/cjs/sdds-table-body.cjs.entry.js +234 -234
- package/dist/cjs/sdds-table-body.cjs.entry.js.map +1 -1
- package/dist/cjs/sdds-table-footer.cjs.entry.js +154 -154
- package/dist/cjs/sdds-table-footer.cjs.entry.js.map +1 -1
- package/dist/cjs/sdds-table-header.cjs.entry.js +89 -89
- package/dist/cjs/sdds-table-header.cjs.entry.js.map +1 -1
- package/dist/cjs/sdds-table-toolbar.cjs.entry.js +55 -55
- package/dist/cjs/sdds-table-toolbar.cjs.entry.js.map +1 -1
- package/dist/cjs/sdds-table.cjs.entry.js +58 -58
- package/dist/cjs/sdds-table.cjs.entry.js.map +1 -1
- package/dist/cjs/sdds-textarea.cjs.entry.js +65 -63
- package/dist/cjs/sdds-textarea.cjs.entry.js.map +1 -1
- package/dist/cjs/sdds-textfield.cjs.entry.js +68 -79
- package/dist/cjs/sdds-textfield.cjs.entry.js.map +1 -1
- package/dist/cjs/sdds-toast.cjs.entry.js +71 -71
- package/dist/cjs/sdds-toggle.cjs.entry.js +33 -34
- package/dist/cjs/sdds-toggle.cjs.entry.js.map +1 -1
- package/dist/cjs/sdds-tooltip.cjs.entry.js +93 -93
- package/dist/cjs/sdds-tooltip.cjs.entry.js.map +1 -1
- package/dist/cjs/tegel.cjs.js +2 -2
- package/dist/collection/collection-manifest.json +16 -5
- package/dist/collection/components/accordion/accordion-item/accordion-item.js +142 -142
- package/dist/collection/components/accordion/accordion.js +44 -63
- package/dist/collection/components/accordion/accordion.js.map +1 -1
- package/dist/collection/components/accordion/accordion.stories.js +80 -80
- package/dist/collection/components/accordion/accordion.stories.js.map +1 -1
- package/dist/collection/components/badge/badge.stories.js +65 -68
- package/dist/collection/components/badge/badge.stories.js.map +1 -1
- package/dist/collection/components/badge/badges.js +148 -148
- package/dist/collection/components/banner/banner.stories.js +79 -79
- package/dist/collection/components/banner/banner.stories.js.map +1 -1
- package/dist/collection/components/banner/sdds-banner.css +1 -0
- package/dist/collection/components/banner/sdds-banner.js +331 -331
- package/dist/collection/components/banner/sdds-banner.stories.js +107 -110
- package/dist/collection/components/banner/sdds-banner.stories.js.map +1 -1
- package/dist/collection/components/block/block-native.stories.js +40 -40
- package/dist/collection/components/block/sdds-block.js +56 -56
- package/dist/collection/components/block/sdds-block.stories.js +40 -40
- package/dist/collection/components/breadcrumb/breadcrumb.stories.js +21 -21
- package/dist/collection/components/breadcrumb/{breadcrumb-item/breadcrumb-item.css → sdds-breadcrumb-link/sdds-breadcrumb-link.css} +13 -13
- package/dist/collection/components/breadcrumb/sdds-breadcrumb-link/sdds-breadcrumb-link.js +120 -0
- package/dist/collection/components/breadcrumb/sdds-breadcrumb-link/sdds-breadcrumb-link.js.map +1 -0
- package/dist/collection/components/breadcrumb/sdds-breadcrumb.css +15 -0
- package/dist/collection/components/breadcrumb/{breadcrumb.js → sdds-breadcrumb.js} +23 -23
- package/dist/collection/components/breadcrumb/sdds-breadcrumb.js.map +1 -0
- package/dist/collection/components/breadcrumb/sdds-breadcrumb.stories.js +30 -0
- package/dist/collection/components/breadcrumb/sdds-breadcrumb.stories.js.map +1 -0
- package/dist/collection/components/button/button-component.js +152 -152
- package/dist/collection/components/button/button-native.stories.js +175 -168
- package/dist/collection/components/button/button-native.stories.js.map +1 -1
- package/dist/collection/components/button/button-webcomponent.stories.js +172 -169
- package/dist/collection/components/button/button-webcomponent.stories.js.map +1 -1
- package/dist/collection/components/button/button.css +1 -1
- package/dist/collection/components/card/card.stories.js +138 -141
- package/dist/collection/components/card/card.stories.js.map +1 -1
- package/dist/collection/components/card/sdds-card.css +1 -0
- package/dist/collection/components/card/sdds-card.js +269 -269
- package/dist/collection/components/card/sdds-card.stories.js +130 -139
- package/dist/collection/components/card/sdds-card.stories.js.map +1 -1
- package/dist/collection/components/checkbox/checkbox.stories.js +59 -51
- package/dist/collection/components/checkbox/checkbox.stories.js.map +1 -1
- package/dist/collection/components/checkbox/sdds-checkbox.js +240 -240
- package/dist/collection/components/checkbox/sdds-checkbox.js.map +1 -1
- package/dist/collection/components/checkbox/sdds-checkbox.stories.js +60 -52
- package/dist/collection/components/checkbox/sdds-checkbox.stories.js.map +1 -1
- package/dist/collection/components/chips/chips.stories.js +117 -97
- package/dist/collection/components/chips/chips.stories.js.map +1 -1
- package/dist/collection/components/data-table/native-table.stories.js +107 -130
- package/dist/collection/components/data-table/native-table.stories.js.map +1 -1
- package/dist/collection/components/data-table/table/table.js +257 -254
- package/dist/collection/components/data-table/table/table.js.map +1 -1
- package/dist/collection/components/data-table/table-body/table-body.js +435 -426
- package/dist/collection/components/data-table/table-body/table-body.js.map +1 -1
- package/dist/collection/components/data-table/table-body-cell/table-body-cell.js +169 -169
- package/dist/collection/components/data-table/table-body-cell/table-body-cell.js.map +1 -1
- package/dist/collection/components/data-table/table-body-row/table-body-row.js +172 -166
- package/dist/collection/components/data-table/table-body-row/table-body-row.js.map +1 -1
- package/dist/collection/components/data-table/table-body-row-expandable/table-body-row-expandable.js +163 -157
- package/dist/collection/components/data-table/table-body-row-expandable/table-body-row-expandable.js.map +1 -1
- package/dist/collection/components/data-table/table-component-basic.stories.js +138 -116
- package/dist/collection/components/data-table/table-component-basic.stories.js.map +1 -1
- package/dist/collection/components/data-table/table-component-batch-actions.stories.js +135 -114
- package/dist/collection/components/data-table/table-component-batch-actions.stories.js.map +1 -1
- package/dist/collection/components/data-table/table-component-bodydata.stories.js +44 -50
- package/dist/collection/components/data-table/table-component-bodydata.stories.js.map +1 -1
- package/dist/collection/components/data-table/table-component-custom-width.stories.js +123 -147
- package/dist/collection/components/data-table/table-component-custom-width.stories.js.map +1 -1
- package/dist/collection/components/data-table/table-component-event-listeners.stories.js +133 -109
- package/dist/collection/components/data-table/table-component-event-listeners.stories.js.map +1 -1
- package/dist/collection/components/data-table/table-component-expandable-rows.stories.js +127 -103
- package/dist/collection/components/data-table/table-component-expandable-rows.stories.js.map +1 -1
- package/dist/collection/components/data-table/table-component-filtering.stories.js +142 -123
- package/dist/collection/components/data-table/table-component-filtering.stories.js.map +1 -1
- package/dist/collection/components/data-table/table-component-multiselect.stories.js +138 -116
- package/dist/collection/components/data-table/table-component-multiselect.stories.js.map +1 -1
- package/dist/collection/components/data-table/table-component-pagination.stories.js +138 -116
- package/dist/collection/components/data-table/table-component-pagination.stories.js.map +1 -1
- package/dist/collection/components/data-table/table-component-sorting.stories.js +171 -115
- package/dist/collection/components/data-table/table-component-sorting.stories.js.map +1 -1
- package/dist/collection/components/data-table/table-footer/table-footer.js +358 -355
- package/dist/collection/components/data-table/table-footer/table-footer.js.map +1 -1
- package/dist/collection/components/data-table/table-header/table-header.js +156 -153
- package/dist/collection/components/data-table/table-header/table-header.js.map +1 -1
- package/dist/collection/components/data-table/table-header-cell/table-header-cell.js +314 -318
- package/dist/collection/components/data-table/table-header-cell/table-header-cell.js.map +1 -1
- package/dist/collection/components/data-table/table-toolbar/table-toolbar.js +142 -142
- package/dist/collection/components/data-table/table-toolbar/table-toolbar.js.map +1 -1
- package/dist/collection/components/datetime/datetime.js +389 -344
- package/dist/collection/components/datetime/datetime.js.map +1 -1
- package/dist/collection/components/datetime/datetime.stories.js +184 -184
- package/dist/collection/components/datetime/datetime.stories.js.map +1 -1
- package/dist/collection/components/divider/divider-component.css +16 -0
- package/dist/collection/components/divider/divider-webcomponent.stories.js +62 -0
- package/dist/collection/components/divider/divider-webcomponent.stories.js.map +1 -0
- package/dist/collection/components/divider/divider.js +44 -0
- package/dist/collection/components/divider/divider.js.map +1 -0
- package/dist/collection/components/divider/divider.stories.js +91 -94
- package/dist/collection/components/divider/divider.stories.js.map +1 -1
- package/dist/collection/components/dropdown/dropdown-filter/dropdown-filter.js +362 -340
- package/dist/collection/components/dropdown/dropdown-filter/dropdown-filter.js.map +1 -1
- package/dist/collection/components/dropdown/dropdown-filter/dropdown-filter.stories.js +148 -96
- package/dist/collection/components/dropdown/dropdown-filter/dropdown-filter.stories.js.map +1 -1
- package/dist/collection/components/dropdown/dropdown-native.stories.js +83 -70
- package/dist/collection/components/dropdown/dropdown-native.stories.js.map +1 -1
- package/dist/collection/components/dropdown/dropdown-option/dropdown-option.js +191 -186
- package/dist/collection/components/dropdown/dropdown-option/dropdown-option.js.map +1 -1
- package/dist/collection/components/dropdown/dropdown-wc-default.stories.js +149 -142
- package/dist/collection/components/dropdown/dropdown-wc-default.stories.js.map +1 -1
- package/dist/collection/components/dropdown/dropdown-wc-multiselect.stories.js +146 -123
- package/dist/collection/components/dropdown/dropdown-wc-multiselect.stories.js.map +1 -1
- package/dist/collection/components/dropdown/dropdown.css +6 -161
- package/dist/collection/components/dropdown/dropdown.js +574 -569
- package/dist/collection/components/dropdown/dropdown.js.map +1 -1
- package/dist/collection/components/footer/footer.stories.js +53 -53
- package/dist/collection/components/footer/footer.stories.js.map +1 -1
- package/dist/collection/components/footer/webcomponent/sdds-footer-link/sdds-footer-link.css +45 -0
- package/dist/collection/components/footer/webcomponent/sdds-footer-link/sdds-footer-link.js +86 -0
- package/dist/collection/components/footer/webcomponent/sdds-footer-link/sdds-footer-link.js.map +1 -0
- package/dist/collection/components/footer/webcomponent/sdds-footer-link-group/sdds-footer-link-group.css +67 -0
- package/dist/collection/components/footer/webcomponent/sdds-footer-link-group/sdds-footer-link-group.js +62 -0
- package/dist/collection/components/footer/webcomponent/sdds-footer-link-group/sdds-footer-link-group.js.map +1 -0
- package/dist/collection/components/footer/webcomponent/sdds-footer.css +85 -0
- package/dist/collection/components/footer/webcomponent/sdds-footer.js +56 -0
- package/dist/collection/components/footer/webcomponent/sdds-footer.js.map +1 -0
- package/dist/collection/components/footer/webcomponent/sdds-footer.stories.js +118 -0
- package/dist/collection/components/footer/webcomponent/sdds-footer.stories.js.map +1 -0
- package/dist/collection/components/header/header-all.stories.js +41 -39
- package/dist/collection/components/header/header-all.stories.js.map +1 -1
- package/dist/collection/components/header/header-default.stories.js +41 -39
- package/dist/collection/components/header/header-default.stories.js.map +1 -1
- package/dist/collection/components/header/header-inline.stories.js +41 -39
- package/dist/collection/components/header/header-inline.stories.js.map +1 -1
- package/dist/collection/components/header/header-search.stories.js +41 -39
- package/dist/collection/components/header/header-search.stories.js.map +1 -1
- package/dist/collection/components/header/header-toolbar.stories.js +41 -39
- package/dist/collection/components/header/header-toolbar.stories.js.map +1 -1
- package/dist/collection/components/icon/icon-font.stories.js +50 -50
- package/dist/collection/components/icon/icon-web-component.stories.js +50 -50
- package/dist/collection/components/icon/icon.js +90 -90
- package/dist/collection/components/link/link.stories.js +50 -44
- package/dist/collection/components/link/link.stories.js.map +1 -1
- package/dist/collection/components/link/sdds-link.js +118 -118
- package/dist/collection/components/link/sdds-link.stories.js +63 -63
- package/dist/collection/components/link/sdds-link.stories.js.map +1 -1
- package/dist/collection/components/message/message.stories.js +119 -101
- package/dist/collection/components/message/message.stories.js.map +1 -1
- package/dist/collection/components/message/sdds-message.js +133 -133
- package/dist/collection/components/message/sdds-message.stories.js +91 -90
- package/dist/collection/components/message/sdds-message.stories.js.map +1 -1
- package/dist/collection/components/modal/modal-native.stories.js +84 -76
- package/dist/collection/components/modal/modal-native.stories.js.map +1 -1
- package/dist/collection/components/modal/modal-webcomponent.stories.js +89 -78
- package/dist/collection/components/modal/modal-webcomponent.stories.js.map +1 -1
- package/dist/collection/components/modal/modal.js +267 -149
- package/dist/collection/components/modal/modal.js.map +1 -1
- package/dist/collection/components/popover-canvas/popover-canvas.css +0 -4
- package/dist/collection/components/popover-canvas/popover-canvas.js +273 -220
- package/dist/collection/components/popover-canvas/popover-canvas.js.map +1 -1
- package/dist/collection/components/popover-canvas/popover-canvas.stories.js +68 -66
- package/dist/collection/components/popover-canvas/popover-canvas.stories.js.map +1 -1
- package/dist/collection/components/popover-menu/popover-menu-icons.stories.js +71 -67
- package/dist/collection/components/popover-menu/popover-menu-icons.stories.js.map +1 -1
- package/dist/collection/components/popover-menu/popover-menu.js +221 -221
- package/dist/collection/components/popover-menu/popover-menu.stories.js +71 -67
- package/dist/collection/components/popover-menu/popover-menu.stories.js.map +1 -1
- package/dist/collection/components/radio-button/radio-button-component.stories.js +47 -52
- package/dist/collection/components/radio-button/radio-button-component.stories.js.map +1 -1
- package/dist/collection/components/radio-button/radio-button.js +165 -161
- package/dist/collection/components/radio-button/radio-button.js.map +1 -1
- package/dist/collection/components/radio-button/radio-button.stories.js +49 -46
- package/dist/collection/components/radio-button/radio-button.stories.js.map +1 -1
- package/dist/collection/components/side-menu/side-menu.stories.js +51 -51
- package/dist/collection/components/slider/slider.css +2 -2
- package/dist/collection/components/slider/slider.js +722 -722
- package/dist/collection/components/slider/slider.js.map +1 -1
- package/dist/collection/components/slider/slider.stories.js +207 -181
- package/dist/collection/components/slider/slider.stories.js.map +1 -1
- package/dist/collection/components/spinner/spinner.js +62 -62
- package/dist/collection/components/spinner/spinner.stories.js +61 -55
- package/dist/collection/components/spinner/spinner.stories.js.map +1 -1
- package/dist/collection/components/stepper/sdds-stepper.css +13 -0
- package/dist/collection/components/stepper/sdds-stepper.js +126 -0
- package/dist/collection/components/stepper/sdds-stepper.js.map +1 -0
- package/dist/collection/components/stepper/stepper-item/sdds-stepper-item.css +197 -0
- package/dist/collection/components/stepper/stepper-item/sdds-stepper-item.js +112 -0
- package/dist/collection/components/stepper/stepper-item/sdds-stepper-item.js.map +1 -0
- package/dist/collection/components/stepper/stepper.stories.js +92 -102
- package/dist/collection/components/stepper/stepper.stories.js.map +1 -1
- package/dist/collection/components/tabs/folder-tabs/folder-tabs-button/sdds-folder-tabs-button.css +79 -0
- package/dist/collection/components/tabs/folder-tabs/folder-tabs-button/sdds-folder-tabs-button.js +100 -0
- package/dist/collection/components/tabs/folder-tabs/folder-tabs-button/sdds-folder-tabs-button.js.map +1 -0
- package/dist/collection/components/tabs/folder-tabs/folder-tabs-link/sdds-folder-tabs-link.css +77 -0
- package/dist/collection/components/tabs/folder-tabs/folder-tabs-link/sdds-folder-tabs-link.js +158 -0
- package/dist/collection/components/tabs/folder-tabs/folder-tabs-link/sdds-folder-tabs-link.js.map +1 -0
- package/dist/collection/components/tabs/folder-tabs/folder-tabs.css +64 -0
- package/dist/collection/components/tabs/folder-tabs/folder-tabs.js +256 -0
- package/dist/collection/components/tabs/folder-tabs/folder-tabs.js.map +1 -0
- package/dist/collection/components/tabs/folder-tabs/folder-tabs.stories.js +114 -0
- package/dist/collection/components/tabs/folder-tabs/folder-tabs.stories.js.map +1 -0
- package/dist/collection/components/tabs/inline-tabs/inline-tabs-button/sdds-inline-tabs-button.css +73 -0
- package/dist/collection/components/tabs/{inline-tabs-default/inline-tab/inline-tab.js → inline-tabs/inline-tabs-button/sdds-inline-tabs-button.js} +64 -81
- package/dist/collection/components/tabs/inline-tabs/inline-tabs-button/sdds-inline-tabs-button.js.map +1 -0
- package/dist/collection/components/tabs/inline-tabs/inline-tabs-link/sdds-inline-tabs-link.css +75 -0
- package/dist/collection/components/tabs/inline-tabs/inline-tabs-link/sdds-inline-tabs-link.js +122 -0
- package/dist/collection/components/tabs/inline-tabs/inline-tabs-link/sdds-inline-tabs-link.js.map +1 -0
- package/dist/collection/components/tabs/inline-tabs/inline-tabs.css +76 -0
- package/dist/collection/components/tabs/inline-tabs/inline-tabs.js +261 -0
- package/dist/collection/components/tabs/inline-tabs/inline-tabs.js.map +1 -0
- package/dist/collection/components/tabs/inline-tabs/inline-tabs.stories.js +109 -0
- package/dist/collection/components/tabs/inline-tabs/inline-tabs.stories.js.map +1 -0
- package/dist/collection/components/tabs/navigation-tabs/navigation-tabs-button/sdds-navigation-tabs-button.css +73 -0
- package/dist/collection/components/tabs/navigation-tabs/navigation-tabs-button/sdds-navigation-tabs-button.js +64 -0
- package/dist/collection/components/tabs/navigation-tabs/navigation-tabs-button/sdds-navigation-tabs-button.js.map +1 -0
- package/dist/collection/components/tabs/navigation-tabs/navigation-tabs-link/sdds-navigation-tabs-link.css +73 -0
- package/dist/collection/components/tabs/navigation-tabs/navigation-tabs-link/sdds-navigation-tabs-link.js +122 -0
- package/dist/collection/components/tabs/navigation-tabs/navigation-tabs-link/sdds-navigation-tabs-link.js.map +1 -0
- package/dist/collection/components/tabs/navigation-tabs/navigation-tabs.css +37 -118
- package/dist/collection/components/tabs/navigation-tabs/navigation-tabs.js +217 -129
- package/dist/collection/components/tabs/navigation-tabs/navigation-tabs.js.map +1 -1
- package/dist/collection/components/tabs/navigation-tabs/navigation-tabs.stories.js +102 -32
- package/dist/collection/components/tabs/navigation-tabs/navigation-tabs.stories.js.map +1 -1
- package/dist/collection/components/textarea/textarea.css +44 -114
- package/dist/collection/components/textarea/textarea.js +422 -401
- package/dist/collection/components/textarea/textarea.js.map +1 -1
- package/dist/collection/components/textarea/textarea.stories.js +149 -131
- package/dist/collection/components/textarea/textarea.stories.js.map +1 -1
- package/dist/collection/components/textfield/textfield.css +91 -175
- package/dist/collection/components/textfield/textfield.js +427 -437
- package/dist/collection/components/textfield/textfield.js.map +1 -1
- package/dist/collection/components/textfield/textfield.stories.js +205 -192
- package/dist/collection/components/textfield/textfield.stories.js.map +1 -1
- package/dist/collection/components/toast/sdds-toast.js +252 -252
- package/dist/collection/components/toast/sdds-toast.stories.js +70 -70
- package/dist/collection/components/toast/sdds-toast.stories.js.map +1 -1
- package/dist/collection/components/toast/toast.stories.js +103 -101
- package/dist/collection/components/toast/toast.stories.js.map +1 -1
- package/dist/collection/components/toggle/sdds-toggle.js +210 -262
- package/dist/collection/components/toggle/sdds-toggle.js.map +1 -1
- package/dist/collection/components/toggle/sdds-toggle.stories.js +83 -81
- package/dist/collection/components/toggle/sdds-toggle.stories.js.map +1 -1
- package/dist/collection/components/toggle/toggle.stories.js +72 -67
- package/dist/collection/components/toggle/toggle.stories.js.map +1 -1
- package/dist/collection/components/tooltip/tooltip.js +230 -230
- package/dist/collection/components/tooltip/tooltip.stories.js +103 -91
- package/dist/collection/components/tooltip/tooltip.stories.js.map +1 -1
- package/dist/collection/components/utility/colour/background-color.stories.js +84 -84
- package/dist/collection/components/utility/colour/text-color.stories.js +84 -84
- package/dist/collection/foundations-stories/colour/colour-brand.stories.js +15 -15
- package/dist/collection/foundations-stories/colour/colour-scales.stories.js +54 -54
- package/dist/collection/foundations-stories/colour/colour-semantic.stories.js +15 -15
- package/dist/collection/foundations-stories/grid/grid.stories.js +53 -53
- package/dist/collection/foundations-stories/spacing/spacing-element.stories.js +11 -11
- package/dist/collection/foundations-stories/spacing/spacing-layout.stories.js +11 -11
- package/dist/collection/foundations-stories/typography/typography-body.stories.js +10 -10
- package/dist/collection/foundations-stories/typography/typography-detail.stories.js +10 -10
- package/dist/collection/foundations-stories/typography/typography-headline.stories.js +23 -23
- package/dist/collection/foundations-stories/typography/typography-paragraph.stories.js +10 -10
- package/dist/collection/index.js +2 -2
- package/dist/collection/utils/utils.js +13 -13
- package/dist/components/dropdown-option.js +92 -95
- package/dist/components/dropdown-option.js.map +1 -1
- package/dist/components/dropdown.js +291 -289
- package/dist/components/dropdown.js.map +1 -1
- package/dist/components/icon.js +49 -50
- package/dist/components/icon.js.map +1 -1
- package/dist/components/sdds-accordion-item.js +44 -45
- package/dist/components/sdds-accordion-item.js.map +1 -1
- package/dist/components/sdds-accordion.js +26 -29
- package/dist/components/sdds-accordion.js.map +1 -1
- package/dist/components/sdds-badges.js +65 -66
- package/dist/components/sdds-badges.js.map +1 -1
- package/dist/components/sdds-banner.js +108 -109
- package/dist/components/sdds-banner.js.map +1 -1
- package/dist/components/sdds-block.js +38 -39
- package/dist/components/sdds-block.js.map +1 -1
- package/dist/components/{sdds-breadcrumb-item.d.ts → sdds-breadcrumb-link.d.ts} +4 -4
- package/dist/components/sdds-breadcrumb-link.js +47 -0
- package/dist/components/sdds-breadcrumb-link.js.map +1 -0
- package/dist/components/sdds-breadcrumb.js +28 -29
- package/dist/components/sdds-breadcrumb.js.map +1 -1
- package/dist/components/sdds-button.js +46 -47
- package/dist/components/sdds-button.js.map +1 -1
- package/dist/components/sdds-card.js +67 -68
- package/dist/components/sdds-card.js.map +1 -1
- package/dist/components/sdds-checkbox.js +66 -67
- package/dist/components/sdds-checkbox.js.map +1 -1
- package/dist/components/sdds-datetime.js +118 -110
- package/dist/components/sdds-datetime.js.map +1 -1
- package/dist/components/{sdds-inline-tab.d.ts → sdds-divider.d.ts} +4 -4
- package/dist/components/sdds-divider.js +38 -0
- package/dist/components/sdds-divider.js.map +1 -0
- package/dist/components/sdds-dropdown-filter.js +131 -128
- package/dist/components/sdds-dropdown-filter.js.map +1 -1
- package/dist/components/sdds-folder-tabs-button.d.ts +11 -0
- package/dist/components/sdds-folder-tabs-button.js +48 -0
- package/dist/components/sdds-folder-tabs-button.js.map +1 -0
- package/dist/components/sdds-folder-tabs-link.d.ts +11 -0
- package/dist/components/sdds-folder-tabs-link.js +56 -0
- package/dist/components/sdds-folder-tabs-link.js.map +1 -0
- package/dist/components/sdds-folder-tabs.d.ts +11 -0
- package/dist/components/sdds-folder-tabs.js +208 -0
- package/dist/components/sdds-folder-tabs.js.map +1 -0
- package/dist/components/sdds-footer-link-group.d.ts +11 -0
- package/dist/components/sdds-footer-link-group.js +58 -0
- package/dist/components/sdds-footer-link-group.js.map +1 -0
- package/dist/components/sdds-footer-link.d.ts +11 -0
- package/dist/components/sdds-footer-link.js +46 -0
- package/dist/components/sdds-footer-link.js.map +1 -0
- package/dist/components/sdds-footer.d.ts +11 -0
- package/dist/components/sdds-footer.js +45 -0
- package/dist/components/sdds-footer.js.map +1 -0
- package/dist/components/sdds-header-cell.js +156 -161
- package/dist/components/sdds-header-cell.js.map +1 -1
- package/dist/components/sdds-inline-tabs-button.d.ts +11 -0
- package/dist/components/sdds-inline-tabs-button.js +41 -0
- package/dist/components/sdds-inline-tabs-button.js.map +1 -0
- package/dist/components/sdds-inline-tabs-link.d.ts +11 -0
- package/dist/components/sdds-inline-tabs-link.js +49 -0
- package/dist/components/sdds-inline-tabs-link.js.map +1 -0
- package/dist/components/sdds-inline-tabs.js +206 -239
- package/dist/components/sdds-inline-tabs.js.map +1 -1
- package/dist/components/sdds-link2.js +33 -34
- package/dist/components/sdds-link2.js.map +1 -1
- package/dist/components/sdds-message.js +53 -54
- package/dist/components/sdds-message.js.map +1 -1
- package/dist/components/sdds-modal.js +116 -68
- package/dist/components/sdds-modal.js.map +1 -1
- package/dist/components/sdds-navigation-tabs-button.d.ts +11 -0
- package/dist/components/sdds-navigation-tabs-button.js +41 -0
- package/dist/components/sdds-navigation-tabs-button.js.map +1 -0
- package/dist/components/sdds-navigation-tabs-link.d.ts +11 -0
- package/dist/components/sdds-navigation-tabs-link.js +49 -0
- package/dist/components/sdds-navigation-tabs-link.js.map +1 -0
- package/dist/components/sdds-navigation-tabs.js +161 -110
- package/dist/components/sdds-navigation-tabs.js.map +1 -1
- package/dist/components/sdds-popover-canvas.js +127 -99
- package/dist/components/sdds-popover-canvas.js.map +1 -1
- package/dist/components/sdds-popover-menu.js +98 -99
- package/dist/components/sdds-popover-menu.js.map +1 -1
- package/dist/components/sdds-radio-button.js +46 -43
- package/dist/components/sdds-radio-button.js.map +1 -1
- package/dist/components/sdds-slider.js +383 -384
- package/dist/components/sdds-slider.js.map +1 -1
- package/dist/components/sdds-spinner.js +27 -28
- package/dist/components/sdds-spinner.js.map +1 -1
- package/dist/components/sdds-stepper-item.d.ts +11 -0
- package/dist/components/sdds-stepper-item.js +69 -0
- package/dist/components/sdds-stepper-item.js.map +1 -0
- package/dist/components/sdds-stepper.d.ts +11 -0
- package/dist/components/sdds-stepper.js +65 -0
- package/dist/components/sdds-stepper.js.map +1 -0
- package/dist/components/sdds-table-body-row-expandable.js +95 -96
- package/dist/components/sdds-table-body-row-expandable.js.map +1 -1
- package/dist/components/sdds-table-body.js +280 -281
- package/dist/components/sdds-table-body.js.map +1 -1
- package/dist/components/sdds-table-footer.js +185 -186
- package/dist/components/sdds-table-footer.js.map +1 -1
- package/dist/components/sdds-table-header.js +114 -115
- package/dist/components/sdds-table-header.js.map +1 -1
- package/dist/components/sdds-table-toolbar.js +77 -78
- package/dist/components/sdds-table-toolbar.js.map +1 -1
- package/dist/components/sdds-table.js +81 -82
- package/dist/components/sdds-table.js.map +1 -1
- package/dist/components/sdds-textarea.js +100 -98
- package/dist/components/sdds-textarea.js.map +1 -1
- package/dist/components/sdds-textfield.js +103 -115
- package/dist/components/sdds-textfield.js.map +1 -1
- package/dist/components/sdds-toast.js +101 -102
- package/dist/components/sdds-toast.js.map +1 -1
- package/dist/components/sdds-toggle.js +55 -60
- package/dist/components/sdds-toggle.js.map +1 -1
- package/dist/components/sdds-tooltip.js +116 -117
- package/dist/components/sdds-tooltip.js.map +1 -1
- package/dist/components/table-body-cell.js +94 -95
- package/dist/components/table-body-cell.js.map +1 -1
- package/dist/components/table-body-row.js +113 -114
- package/dist/components/table-body-row.js.map +1 -1
- package/dist/esm/{index-96563708.js → index-fdfb114c.js} +56 -9
- package/dist/esm/index-fdfb114c.js.map +1 -0
- package/dist/esm/loader.js +3 -3
- package/dist/esm/polyfills/core-js.js +0 -0
- package/dist/esm/polyfills/dom.js +0 -0
- package/dist/esm/polyfills/es5-html-element.js +0 -0
- package/dist/esm/polyfills/index.js +0 -0
- package/dist/esm/polyfills/system.js +0 -0
- package/dist/esm/sdds-accordion-item.entry.js +19 -19
- package/dist/esm/sdds-accordion.entry.js +10 -11
- package/dist/esm/sdds-accordion.entry.js.map +1 -1
- package/dist/esm/sdds-badges.entry.js +44 -44
- package/dist/esm/sdds-banner.entry.js +70 -70
- package/dist/esm/sdds-banner.entry.js.map +1 -1
- package/dist/esm/sdds-block.entry.js +22 -22
- package/dist/esm/sdds-body-cell_2.entry.js +158 -158
- package/dist/esm/sdds-body-cell_2.entry.js.map +1 -1
- package/dist/esm/sdds-breadcrumb-link.entry.js +23 -0
- package/dist/esm/sdds-breadcrumb-link.entry.js.map +1 -0
- package/dist/esm/sdds-breadcrumb.entry.js +15 -15
- package/dist/esm/sdds-breadcrumb.entry.js.map +1 -1
- package/dist/esm/sdds-button.entry.js +24 -24
- package/dist/esm/sdds-button.entry.js.map +1 -1
- package/dist/esm/sdds-card.entry.js +39 -39
- package/dist/esm/sdds-card.entry.js.map +1 -1
- package/dist/esm/sdds-checkbox.entry.js +45 -45
- package/dist/esm/sdds-checkbox.entry.js.map +1 -1
- package/dist/esm/sdds-datetime.entry.js +85 -76
- package/dist/esm/sdds-datetime.entry.js.map +1 -1
- package/dist/esm/sdds-divider.entry.js +18 -0
- package/dist/esm/sdds-divider.entry.js.map +1 -0
- package/dist/esm/sdds-dropdown-filter.entry.js +86 -83
- package/dist/esm/sdds-dropdown-filter.entry.js.map +1 -1
- package/dist/esm/sdds-dropdown_2.entry.js +319 -319
- package/dist/esm/sdds-dropdown_2.entry.js.map +1 -1
- package/dist/esm/sdds-folder-tabs-button.entry.js +25 -0
- package/dist/esm/sdds-folder-tabs-button.entry.js.map +1 -0
- package/dist/esm/sdds-folder-tabs-link.entry.js +30 -0
- package/dist/esm/sdds-folder-tabs-link.entry.js.map +1 -0
- package/dist/esm/sdds-folder-tabs.entry.js +176 -0
- package/dist/esm/sdds-folder-tabs.entry.js.map +1 -0
- package/dist/esm/sdds-footer-link-group.entry.js +32 -0
- package/dist/esm/sdds-footer-link-group.entry.js.map +1 -0
- package/dist/esm/sdds-footer-link.entry.js +25 -0
- package/dist/esm/sdds-footer-link.entry.js.map +1 -0
- package/dist/esm/sdds-footer.entry.js +24 -0
- package/dist/esm/sdds-footer.entry.js.map +1 -0
- package/dist/esm/sdds-header-cell.entry.js +125 -129
- package/dist/esm/sdds-header-cell.entry.js.map +1 -1
- package/dist/esm/sdds-icon.entry.js +30 -30
- package/dist/esm/sdds-inline-tabs-button.entry.js +20 -0
- package/dist/esm/sdds-inline-tabs-button.entry.js.map +1 -0
- package/dist/esm/sdds-inline-tabs-link.entry.js +25 -0
- package/dist/esm/sdds-inline-tabs-link.entry.js.map +1 -0
- package/dist/esm/sdds-inline-tabs.entry.js +179 -214
- package/dist/esm/sdds-inline-tabs.entry.js.map +1 -1
- package/dist/esm/sdds-link.entry.js +14 -14
- package/dist/esm/sdds-message.entry.js +28 -28
- package/dist/esm/sdds-modal.entry.js +86 -41
- package/dist/esm/sdds-modal.entry.js.map +1 -1
- package/dist/esm/sdds-navigation-tabs-button.entry.js +20 -0
- package/dist/esm/sdds-navigation-tabs-button.entry.js.map +1 -0
- package/dist/esm/sdds-navigation-tabs-link.entry.js +25 -0
- package/dist/esm/sdds-navigation-tabs-link.entry.js.map +1 -0
- package/dist/esm/sdds-navigation-tabs.entry.js +134 -89
- package/dist/esm/sdds-navigation-tabs.entry.js.map +1 -1
- package/dist/esm/sdds-popover-canvas.entry.js +101 -74
- package/dist/esm/sdds-popover-canvas.entry.js.map +1 -1
- package/dist/esm/sdds-popover-menu.entry.js +74 -74
- package/dist/esm/sdds-radio-button.entry.js +26 -22
- package/dist/esm/sdds-radio-button.entry.js.map +1 -1
- package/dist/esm/sdds-slider.entry.js +347 -347
- package/dist/esm/sdds-slider.entry.js.map +1 -1
- package/dist/esm/sdds-spinner.entry.js +11 -11
- package/dist/esm/sdds-spinner.entry.js.map +1 -1
- package/dist/esm/sdds-stepper-item.entry.js +36 -0
- package/dist/esm/sdds-stepper-item.entry.js.map +1 -0
- package/dist/esm/sdds-stepper.entry.js +41 -0
- package/dist/esm/sdds-stepper.entry.js.map +1 -0
- package/dist/esm/sdds-table-body-row-expandable.entry.js +72 -72
- package/dist/esm/sdds-table-body-row-expandable.entry.js.map +1 -1
- package/dist/esm/sdds-table-body.entry.js +234 -234
- package/dist/esm/sdds-table-body.entry.js.map +1 -1
- package/dist/esm/sdds-table-footer.entry.js +154 -154
- package/dist/esm/sdds-table-footer.entry.js.map +1 -1
- package/dist/esm/sdds-table-header.entry.js +89 -89
- package/dist/esm/sdds-table-header.entry.js.map +1 -1
- package/dist/esm/sdds-table-toolbar.entry.js +55 -55
- package/dist/esm/sdds-table-toolbar.entry.js.map +1 -1
- package/dist/esm/sdds-table.entry.js +58 -58
- package/dist/esm/sdds-table.entry.js.map +1 -1
- package/dist/esm/sdds-textarea.entry.js +65 -63
- package/dist/esm/sdds-textarea.entry.js.map +1 -1
- package/dist/esm/sdds-textfield.entry.js +68 -79
- package/dist/esm/sdds-textfield.entry.js.map +1 -1
- package/dist/esm/sdds-toast.entry.js +71 -71
- package/dist/esm/sdds-toggle.entry.js +33 -34
- package/dist/esm/sdds-toggle.entry.js.map +1 -1
- package/dist/esm/sdds-tooltip.entry.js +93 -93
- package/dist/esm/sdds-tooltip.entry.js.map +1 -1
- package/dist/esm/tegel.js +3 -3
- package/dist/tegel/{p-68fca08c.entry.js → p-067789d2.entry.js} +2 -2
- package/dist/tegel/p-067789d2.entry.js.map +1 -0
- package/dist/tegel/p-12f566b7.entry.js +2 -0
- package/dist/tegel/p-12f566b7.entry.js.map +1 -0
- package/dist/tegel/p-15c44320.entry.js +2 -0
- package/dist/tegel/p-15c44320.entry.js.map +1 -0
- package/dist/tegel/{p-525ec252.entry.js → p-1a7f94d3.entry.js} +2 -2
- package/dist/tegel/p-1a7f94d3.entry.js.map +1 -0
- package/dist/tegel/p-1adb9259.entry.js +2 -0
- package/dist/tegel/p-1adb9259.entry.js.map +1 -0
- package/dist/tegel/p-1baafb40.entry.js +2 -0
- package/dist/tegel/p-1baafb40.entry.js.map +1 -0
- package/dist/tegel/p-2080db62.entry.js +2 -0
- package/dist/tegel/p-2080db62.entry.js.map +1 -0
- package/dist/tegel/{p-72099402.entry.js → p-2837b06c.entry.js} +2 -2
- package/dist/tegel/{p-72099402.entry.js.map → p-2837b06c.entry.js.map} +1 -1
- package/dist/tegel/p-2c57f4bb.entry.js +2 -0
- package/dist/tegel/p-2c57f4bb.entry.js.map +1 -0
- package/dist/tegel/p-387e1798.js +3 -0
- package/dist/tegel/p-387e1798.js.map +1 -0
- package/dist/tegel/p-3a9db8c4.entry.js +2 -0
- package/dist/tegel/p-3a9db8c4.entry.js.map +1 -0
- package/dist/tegel/{p-6bdce8c1.entry.js → p-400d74c2.entry.js} +2 -2
- package/dist/tegel/{p-f51fe381.entry.js → p-4499e5cd.entry.js} +2 -2
- package/dist/tegel/p-479b1c4e.entry.js +2 -0
- package/dist/tegel/p-479b1c4e.entry.js.map +1 -0
- package/dist/tegel/p-4dee91c9.entry.js +2 -0
- package/dist/tegel/p-4dee91c9.entry.js.map +1 -0
- package/dist/tegel/p-52ecce88.entry.js +2 -0
- package/dist/tegel/p-52ecce88.entry.js.map +1 -0
- package/dist/tegel/p-58bc7a27.entry.js +2 -0
- package/dist/tegel/p-58bc7a27.entry.js.map +1 -0
- package/dist/tegel/p-595c05f4.entry.js +2 -0
- package/dist/tegel/p-595c05f4.entry.js.map +1 -0
- package/dist/tegel/{p-aff4d273.entry.js → p-5dc33f45.entry.js} +2 -2
- package/dist/tegel/p-5f6fe516.entry.js +2 -0
- package/dist/tegel/p-5f6fe516.entry.js.map +1 -0
- package/dist/tegel/{p-2fad34c4.entry.js → p-64dd37d4.entry.js} +2 -2
- package/dist/tegel/p-64dd37d4.entry.js.map +1 -0
- package/dist/tegel/{p-ebffa726.entry.js → p-70ccf3f7.entry.js} +2 -2
- package/dist/tegel/p-70ccf3f7.entry.js.map +1 -0
- package/dist/tegel/{p-e5e10d8f.entry.js → p-750b7e5f.entry.js} +2 -2
- package/dist/tegel/p-792e8c5d.entry.js +2 -0
- package/dist/tegel/p-792e8c5d.entry.js.map +1 -0
- package/dist/tegel/{p-b9ec54c5.entry.js → p-7991d22f.entry.js} +2 -2
- package/dist/tegel/p-7f10356d.entry.js +2 -0
- package/dist/tegel/p-7f10356d.entry.js.map +1 -0
- package/dist/tegel/p-7f22cee6.entry.js +2 -0
- package/dist/tegel/p-7f22cee6.entry.js.map +1 -0
- package/dist/tegel/p-81c597fd.entry.js +2 -0
- package/dist/tegel/p-81c597fd.entry.js.map +1 -0
- package/dist/tegel/p-872bef70.entry.js +2 -0
- package/dist/tegel/p-872bef70.entry.js.map +1 -0
- package/dist/tegel/{p-5c390692.entry.js → p-8ee9e2f5.entry.js} +2 -2
- package/dist/tegel/p-8ee9e2f5.entry.js.map +1 -0
- package/dist/tegel/{p-9904d7ec.entry.js → p-90af19c6.entry.js} +2 -2
- package/dist/tegel/p-90af19c6.entry.js.map +1 -0
- package/dist/tegel/{p-262dca00.entry.js → p-a2cbef2c.entry.js} +2 -2
- package/dist/tegel/p-a5cd0006.entry.js +2 -0
- package/dist/tegel/p-a5cd0006.entry.js.map +1 -0
- package/dist/tegel/p-ae631412.entry.js +2 -0
- package/dist/tegel/p-ae631412.entry.js.map +1 -0
- package/dist/tegel/p-b2269b6b.entry.js +2 -0
- package/dist/tegel/p-b2269b6b.entry.js.map +1 -0
- package/dist/tegel/{p-92869ad1.entry.js → p-b6fc0de7.entry.js} +2 -2
- package/dist/tegel/p-b6fc0de7.entry.js.map +1 -0
- package/dist/tegel/{p-cd08f5f0.entry.js → p-b9b329c0.entry.js} +2 -2
- package/dist/tegel/{p-fc96cf21.entry.js → p-bd09c184.entry.js} +2 -2
- package/dist/tegel/p-bdae6bc9.entry.js +2 -0
- package/dist/tegel/p-bdae6bc9.entry.js.map +1 -0
- package/dist/tegel/p-bdaf0bc2.entry.js +2 -0
- package/dist/tegel/p-bdaf0bc2.entry.js.map +1 -0
- package/dist/tegel/{p-e662e68d.entry.js → p-c4d28002.entry.js} +2 -2
- package/dist/tegel/p-c4d28002.entry.js.map +1 -0
- package/dist/tegel/p-c6c75439.entry.js +2 -0
- package/dist/tegel/p-c6c75439.entry.js.map +1 -0
- package/dist/tegel/{p-25af32a7.entry.js → p-ccb82bc3.entry.js} +2 -2
- package/dist/tegel/p-ccb82bc3.entry.js.map +1 -0
- package/dist/tegel/p-ce84159b.entry.js +2 -0
- package/dist/tegel/p-ce84159b.entry.js.map +1 -0
- package/dist/tegel/p-cfacd8e6.entry.js +2 -0
- package/dist/tegel/p-cfacd8e6.entry.js.map +1 -0
- package/dist/tegel/p-d517eaef.entry.js +2 -0
- package/dist/tegel/p-d517eaef.entry.js.map +1 -0
- package/dist/tegel/p-d87ce5e9.entry.js +2 -0
- package/dist/tegel/p-d87ce5e9.entry.js.map +1 -0
- package/dist/tegel/p-edc4d742.entry.js +2 -0
- package/dist/tegel/p-edc4d742.entry.js.map +1 -0
- package/dist/tegel/{p-5e50ce81.entry.js → p-ef5487a3.entry.js} +2 -2
- package/dist/tegel/p-ef5487a3.entry.js.map +1 -0
- package/dist/tegel/p-f55ab621.entry.js +2 -0
- package/dist/tegel/p-f55ab621.entry.js.map +1 -0
- package/dist/tegel/p-fcb9e2c1.entry.js +2 -0
- package/dist/tegel/p-fcb9e2c1.entry.js.map +1 -0
- package/dist/tegel/tegel.css +10 -10
- package/dist/tegel/tegel.esm.js +1 -1
- package/dist/tegel/tegel.esm.js.map +1 -1
- package/dist/types/components/accordion/accordion-item/accordion-item.d.ts +17 -17
- package/dist/types/components/accordion/accordion.d.ts +5 -7
- package/dist/types/components/accordion/accordion.stories.d.ts +77 -77
- package/dist/types/components/badge/badge.stories.d.ts +61 -66
- package/dist/types/components/badge/badges.d.ts +16 -16
- package/dist/types/components/banner/banner.stories.d.ts +68 -68
- package/dist/types/components/banner/sdds-banner.d.ts +48 -48
- package/dist/types/components/banner/sdds-banner.stories.d.ts +104 -109
- package/dist/types/components/block/block-native.stories.d.ts +31 -31
- package/dist/types/components/block/sdds-block.d.ts +9 -9
- package/dist/types/components/block/sdds-block.stories.d.ts +32 -32
- package/dist/types/components/breadcrumb/breadcrumb.stories.d.ts +12 -12
- package/dist/types/components/breadcrumb/sdds-breadcrumb-link/sdds-breadcrumb-link.d.ts +13 -0
- package/dist/types/components/breadcrumb/{breadcrumb.d.ts → sdds-breadcrumb.d.ts} +5 -5
- package/dist/types/components/breadcrumb/sdds-breadcrumb.stories.d.ts +16 -0
- package/dist/types/components/button/button-component.d.ts +18 -18
- package/dist/types/components/button/button-native.stories.d.ts +159 -148
- package/dist/types/components/button/button-webcomponent.stories.d.ts +151 -147
- package/dist/types/components/card/card.stories.d.ts +137 -138
- package/dist/types/components/card/sdds-card.d.ts +39 -39
- package/dist/types/components/card/sdds-card.stories.d.ts +128 -139
- package/dist/types/components/checkbox/checkbox.stories.d.ts +51 -39
- package/dist/types/components/checkbox/sdds-checkbox.d.ts +38 -38
- package/dist/types/components/checkbox/sdds-checkbox.stories.d.ts +52 -40
- package/dist/types/components/chips/chips.stories.d.ts +101 -77
- package/dist/types/components/data-table/native-table.stories.d.ts +119 -133
- package/dist/types/components/data-table/table/table.d.ts +48 -47
- package/dist/types/components/data-table/table-body/table-body.d.ts +54 -54
- package/dist/types/components/data-table/table-body-cell/table-body-cell.d.ts +24 -24
- package/dist/types/components/data-table/table-body-row/table-body-row.d.ts +27 -27
- package/dist/types/components/data-table/table-body-row-expandable/table-body-row-expandable.d.ts +27 -27
- package/dist/types/components/data-table/table-component-basic.stories.d.ts +144 -101
- package/dist/types/components/data-table/table-component-batch-actions.stories.d.ts +139 -99
- package/dist/types/components/data-table/table-component-bodydata.stories.d.ts +33 -38
- package/dist/types/components/data-table/table-component-custom-width.stories.d.ts +131 -148
- package/dist/types/components/data-table/table-component-event-listeners.stories.d.ts +131 -88
- package/dist/types/components/data-table/table-component-expandable-rows.stories.d.ts +131 -88
- package/dist/types/components/data-table/table-component-filtering.stories.d.ts +139 -101
- package/dist/types/components/data-table/table-component-multiselect.stories.d.ts +144 -101
- package/dist/types/components/data-table/table-component-pagination.stories.d.ts +144 -101
- package/dist/types/components/data-table/table-component-sorting.stories.d.ts +183 -100
- package/dist/types/components/data-table/table-footer/table-footer.d.ts +50 -50
- package/dist/types/components/data-table/table-header/table-header.d.ts +27 -27
- package/dist/types/components/data-table/table-header-cell/table-header-cell.d.ts +43 -44
- package/dist/types/components/data-table/table-toolbar/table-toolbar.d.ts +22 -22
- package/dist/types/components/datetime/datetime.d.ts +48 -42
- package/dist/types/components/datetime/datetime.stories.d.ts +128 -127
- package/dist/types/components/divider/divider-webcomponent.stories.d.ts +58 -0
- package/dist/types/components/divider/divider.d.ts +5 -0
- package/dist/types/components/divider/divider.stories.d.ts +60 -65
- package/dist/types/components/dropdown/dropdown-filter/dropdown-filter.d.ts +44 -42
- package/dist/types/components/dropdown/dropdown-filter/dropdown-filter.stories.d.ts +137 -73
- package/dist/types/components/dropdown/dropdown-native.stories.d.ts +72 -57
- package/dist/types/components/dropdown/dropdown-option/dropdown-option.d.ts +24 -19
- package/dist/types/components/dropdown/dropdown-wc-default.stories.d.ts +144 -129
- package/dist/types/components/dropdown/dropdown-wc-multiselect.stories.d.ts +144 -115
- package/dist/types/components/dropdown/dropdown.d.ts +59 -58
- package/dist/types/components/footer/footer.stories.d.ts +45 -45
- package/dist/types/components/footer/webcomponent/sdds-footer-link/sdds-footer-link.d.ts +13 -0
- package/dist/types/components/footer/webcomponent/sdds-footer-link-group/sdds-footer-link-group.d.ts +11 -0
- package/dist/types/components/footer/webcomponent/sdds-footer.d.ts +9 -0
- package/dist/types/components/{tabs/inline-tabs-fullbleed/inline-tabs-fullbleed.stories.d.ts → footer/webcomponent/sdds-footer.stories.d.ts} +44 -30
- package/dist/types/components/header/header-all.stories.d.ts +31 -29
- package/dist/types/components/header/header-default.stories.d.ts +31 -29
- package/dist/types/components/header/header-inline.stories.d.ts +31 -29
- package/dist/types/components/header/header-search.stories.d.ts +31 -29
- package/dist/types/components/header/header-toolbar.stories.d.ts +31 -29
- package/dist/types/components/icon/icon-font.stories.d.ts +38 -38
- package/dist/types/components/icon/icon-web-component.stories.d.ts +38 -38
- package/dist/types/components/icon/icon.d.ts +12 -12
- package/dist/types/components/link/link.stories.d.ts +43 -33
- package/dist/types/components/link/sdds-link.d.ts +13 -13
- package/dist/types/components/link/sdds-link.stories.d.ts +58 -58
- package/dist/types/components/message/message.stories.d.ts +89 -69
- package/dist/types/components/message/sdds-message.d.ts +14 -14
- package/dist/types/components/message/sdds-message.stories.d.ts +88 -87
- package/dist/types/components/modal/modal-native.stories.d.ts +74 -59
- package/dist/types/components/modal/modal-webcomponent.stories.d.ts +70 -52
- package/dist/types/components/modal/modal.d.ts +37 -17
- package/dist/types/components/popover-canvas/popover-canvas.d.ts +33 -24
- package/dist/types/components/popover-canvas/popover-canvas.stories.d.ts +27 -25
- package/dist/types/components/popover-menu/popover-menu-icons.stories.d.ts +32 -27
- package/dist/types/components/popover-menu/popover-menu.d.ts +24 -24
- package/dist/types/components/popover-menu/popover-menu.stories.d.ts +32 -27
- package/dist/types/components/radio-button/radio-button-component.stories.d.ts +39 -39
- package/dist/types/components/radio-button/radio-button.d.ts +26 -26
- package/dist/types/components/radio-button/radio-button.stories.d.ts +38 -33
- package/dist/types/components/side-menu/side-menu.stories.d.ts +42 -42
- package/dist/types/components/slider/slider.d.ts +86 -86
- package/dist/types/components/slider/slider.stories.d.ts +235 -169
- package/dist/types/components/spinner/spinner.d.ts +7 -7
- package/dist/types/components/spinner/spinner.stories.d.ts +47 -37
- package/dist/types/components/stepper/sdds-stepper.d.ts +17 -0
- package/dist/types/components/stepper/stepper-item/sdds-stepper-item.d.ts +17 -0
- package/dist/types/components/stepper/stepper.stories.d.ts +72 -56
- package/dist/types/components/tabs/folder-tabs/folder-tabs-button/sdds-folder-tabs-button.d.ts +10 -0
- package/dist/types/components/tabs/folder-tabs/folder-tabs-link/sdds-folder-tabs-link.d.ts +16 -0
- package/dist/types/components/tabs/folder-tabs/folder-tabs.d.ts +38 -0
- package/dist/types/components/tabs/folder-tabs/folder-tabs.stories.d.ts +52 -0
- package/dist/types/components/tabs/inline-tabs/inline-tabs-button/sdds-inline-tabs-button.d.ts +7 -0
- package/dist/types/components/tabs/inline-tabs/inline-tabs-link/sdds-inline-tabs-link.d.ts +13 -0
- package/dist/types/components/tabs/inline-tabs/inline-tabs.d.ts +40 -0
- package/dist/types/components/tabs/{inline-tabs-default → inline-tabs}/inline-tabs.stories.d.ts +44 -49
- package/dist/types/components/tabs/navigation-tabs/navigation-tabs-button/sdds-navigation-tabs-button.d.ts +7 -0
- package/dist/types/components/tabs/navigation-tabs/navigation-tabs-link/sdds-navigation-tabs-link.d.ts +13 -0
- package/dist/types/components/tabs/navigation-tabs/navigation-tabs.d.ts +35 -20
- package/dist/types/components/tabs/navigation-tabs/navigation-tabs.stories.d.ts +44 -13
- package/dist/types/components/textarea/textarea.d.ts +50 -48
- package/dist/types/components/textarea/textarea.stories.d.ts +139 -116
- package/dist/types/components/textfield/textfield.d.ts +52 -52
- package/dist/types/components/textfield/textfield.stories.d.ts +201 -180
- package/dist/types/components/toast/sdds-toast.d.ts +36 -36
- package/dist/types/components/toast/sdds-toast.stories.d.ts +56 -56
- package/dist/types/components/toast/toast.stories.d.ts +68 -69
- package/dist/types/components/toggle/sdds-toggle.d.ts +31 -34
- package/dist/types/components/toggle/sdds-toggle.stories.d.ts +74 -74
- package/dist/types/components/toggle/toggle.stories.d.ts +58 -55
- package/dist/types/components/tooltip/tooltip.d.ts +24 -24
- package/dist/types/components/tooltip/tooltip.stories.d.ts +66 -54
- package/dist/types/components/utility/colour/background-color.stories.d.ts +58 -58
- package/dist/types/components/utility/colour/text-color.stories.d.ts +58 -58
- package/dist/types/components.d.ts +607 -179
- package/dist/types/foundations-stories/colour/colour-brand.stories.d.ts +13 -13
- package/dist/types/foundations-stories/colour/colour-scales.stories.d.ts +13 -13
- package/dist/types/foundations-stories/colour/colour-semantic.stories.d.ts +13 -13
- package/dist/types/foundations-stories/grid/grid.stories.d.ts +35 -35
- package/dist/types/foundations-stories/spacing/spacing-element.stories.d.ts +8 -8
- package/dist/types/foundations-stories/spacing/spacing-layout.stories.d.ts +8 -8
- package/dist/types/foundations-stories/typography/typography-body.stories.d.ts +8 -8
- package/dist/types/foundations-stories/typography/typography-detail.stories.d.ts +8 -8
- package/dist/types/foundations-stories/typography/typography-headline.stories.d.ts +21 -21
- package/dist/types/foundations-stories/typography/typography-paragraph.stories.d.ts +8 -8
- package/dist/types/index.d.ts +1 -1
- package/dist/types/utils/utils.d.ts +2 -2
- package/{dist/loader → loader}/cdn.js +1 -1
- package/{dist/loader → loader}/index.cjs.js +1 -1
- package/{dist/loader → loader}/index.d.ts +1 -1
- package/loader/index.es2017.js +3 -0
- package/{dist/loader → loader}/index.js +2 -2
- package/package.json +4 -3
- package/readme.md +23 -1
- package/dist/cjs/index-18eb94f0.js.map +0 -1
- package/dist/cjs/sdds-breadcrumb-item.cjs.entry.js +0 -27
- package/dist/cjs/sdds-breadcrumb-item.cjs.entry.js.map +0 -1
- package/dist/cjs/sdds-inline-tab.cjs.entry.js +0 -24
- package/dist/cjs/sdds-inline-tab.cjs.entry.js.map +0 -1
- package/dist/cjs/sdds-inline-tabs-fullbleed.cjs.entry.js +0 -100
- package/dist/cjs/sdds-inline-tabs-fullbleed.cjs.entry.js.map +0 -1
- package/dist/collection/components/breadcrumb/breadcrumb-component.css +0 -30
- package/dist/collection/components/breadcrumb/breadcrumb-item/breadcrumb-item.js +0 -84
- package/dist/collection/components/breadcrumb/breadcrumb-item/breadcrumb-item.js.map +0 -1
- package/dist/collection/components/breadcrumb/breadcrumb.js.map +0 -1
- package/dist/collection/components/tabs/inline-tabs-default/inline-tab/inline-tab.css +0 -3
- package/dist/collection/components/tabs/inline-tabs-default/inline-tab/inline-tab.js.map +0 -1
- package/dist/collection/components/tabs/inline-tabs-default/inline-tabs.css +0 -156
- package/dist/collection/components/tabs/inline-tabs-default/inline-tabs.js +0 -313
- package/dist/collection/components/tabs/inline-tabs-default/inline-tabs.js.map +0 -1
- package/dist/collection/components/tabs/inline-tabs-default/inline-tabs.stories.js +0 -72
- package/dist/collection/components/tabs/inline-tabs-default/inline-tabs.stories.js.map +0 -1
- package/dist/collection/components/tabs/inline-tabs-fullbleed/inline-tabs-fullbleed.css +0 -141
- package/dist/collection/components/tabs/inline-tabs-fullbleed/inline-tabs-fullbleed.js +0 -129
- package/dist/collection/components/tabs/inline-tabs-fullbleed/inline-tabs-fullbleed.js.map +0 -1
- package/dist/collection/components/tabs/inline-tabs-fullbleed/inline-tabs-fullbleed.stories.js +0 -47
- package/dist/collection/components/tabs/inline-tabs-fullbleed/inline-tabs-fullbleed.stories.js.map +0 -1
- package/dist/components/sdds-breadcrumb-item.js +0 -46
- package/dist/components/sdds-breadcrumb-item.js.map +0 -1
- package/dist/components/sdds-inline-tab.js +0 -43
- package/dist/components/sdds-inline-tab.js.map +0 -1
- package/dist/components/sdds-inline-tabs-fullbleed.d.ts +0 -11
- package/dist/components/sdds-inline-tabs-fullbleed.js +0 -120
- package/dist/components/sdds-inline-tabs-fullbleed.js.map +0 -1
- package/dist/esm/index-96563708.js.map +0 -1
- package/dist/esm/sdds-breadcrumb-item.entry.js +0 -23
- package/dist/esm/sdds-breadcrumb-item.entry.js.map +0 -1
- package/dist/esm/sdds-inline-tab.entry.js +0 -20
- package/dist/esm/sdds-inline-tab.entry.js.map +0 -1
- package/dist/esm/sdds-inline-tabs-fullbleed.entry.js +0 -96
- package/dist/esm/sdds-inline-tabs-fullbleed.entry.js.map +0 -1
- package/dist/loader/index.es2017.js +0 -3
- package/dist/node_modules/@types/jest/index.d.ts +0 -1512
- package/dist/tegel/p-07c7c2e7.entry.js +0 -2
- package/dist/tegel/p-07c7c2e7.entry.js.map +0 -1
- package/dist/tegel/p-0953710b.entry.js +0 -2
- package/dist/tegel/p-0953710b.entry.js.map +0 -1
- package/dist/tegel/p-0b4eba86.js +0 -3
- package/dist/tegel/p-0b4eba86.js.map +0 -1
- package/dist/tegel/p-1eb8dd92.entry.js +0 -2
- package/dist/tegel/p-1eb8dd92.entry.js.map +0 -1
- package/dist/tegel/p-25af32a7.entry.js.map +0 -1
- package/dist/tegel/p-2fad34c4.entry.js.map +0 -1
- package/dist/tegel/p-336efb27.entry.js +0 -2
- package/dist/tegel/p-336efb27.entry.js.map +0 -1
- package/dist/tegel/p-33e7f7e5.entry.js +0 -2
- package/dist/tegel/p-33e7f7e5.entry.js.map +0 -1
- package/dist/tegel/p-458cda76.entry.js +0 -2
- package/dist/tegel/p-458cda76.entry.js.map +0 -1
- package/dist/tegel/p-525ec252.entry.js.map +0 -1
- package/dist/tegel/p-5c390692.entry.js.map +0 -1
- package/dist/tegel/p-5e50ce81.entry.js.map +0 -1
- package/dist/tegel/p-62ed6fdc.entry.js +0 -2
- package/dist/tegel/p-62ed6fdc.entry.js.map +0 -1
- package/dist/tegel/p-68fca08c.entry.js.map +0 -1
- package/dist/tegel/p-6e54f5a2.entry.js +0 -2
- package/dist/tegel/p-6e54f5a2.entry.js.map +0 -1
- package/dist/tegel/p-77a4950d.entry.js +0 -2
- package/dist/tegel/p-77a4950d.entry.js.map +0 -1
- package/dist/tegel/p-84e5d141.entry.js +0 -2
- package/dist/tegel/p-84e5d141.entry.js.map +0 -1
- package/dist/tegel/p-913cb5e9.entry.js +0 -2
- package/dist/tegel/p-913cb5e9.entry.js.map +0 -1
- package/dist/tegel/p-92869ad1.entry.js.map +0 -1
- package/dist/tegel/p-93571e36.entry.js +0 -2
- package/dist/tegel/p-93571e36.entry.js.map +0 -1
- package/dist/tegel/p-9904d7ec.entry.js.map +0 -1
- package/dist/tegel/p-a3741fdd.entry.js +0 -2
- package/dist/tegel/p-a3741fdd.entry.js.map +0 -1
- package/dist/tegel/p-b2dde7a5.entry.js +0 -2
- package/dist/tegel/p-b2dde7a5.entry.js.map +0 -1
- package/dist/tegel/p-ba975249.entry.js +0 -2
- package/dist/tegel/p-ba975249.entry.js.map +0 -1
- package/dist/tegel/p-c79b3861.entry.js +0 -2
- package/dist/tegel/p-c79b3861.entry.js.map +0 -1
- package/dist/tegel/p-d910763a.entry.js +0 -2
- package/dist/tegel/p-d910763a.entry.js.map +0 -1
- package/dist/tegel/p-e25424af.entry.js +0 -2
- package/dist/tegel/p-e25424af.entry.js.map +0 -1
- package/dist/tegel/p-e662e68d.entry.js.map +0 -1
- package/dist/tegel/p-ebffa726.entry.js.map +0 -1
- package/dist/tegel/p-fa3dbeec.entry.js +0 -2
- package/dist/tegel/p-fa3dbeec.entry.js.map +0 -1
- package/dist/tegel/p-fbcdf3d9.entry.js +0 -2
- package/dist/tegel/p-fbcdf3d9.entry.js.map +0 -1
- package/dist/types/components/breadcrumb/breadcrumb-item/breadcrumb-item.d.ts +0 -9
- package/dist/types/components/tabs/inline-tabs-default/inline-tab/inline-tab.d.ts +0 -6
- package/dist/types/components/tabs/inline-tabs-default/inline-tabs.d.ts +0 -40
- package/dist/types/components/tabs/inline-tabs-fullbleed/inline-tabs-fullbleed.d.ts +0 -20
- /package/dist/tegel/{p-6bdce8c1.entry.js.map → p-400d74c2.entry.js.map} +0 -0
- /package/dist/tegel/{p-f51fe381.entry.js.map → p-4499e5cd.entry.js.map} +0 -0
- /package/dist/tegel/{p-aff4d273.entry.js.map → p-5dc33f45.entry.js.map} +0 -0
- /package/dist/tegel/{p-e5e10d8f.entry.js.map → p-750b7e5f.entry.js.map} +0 -0
- /package/dist/tegel/{p-b9ec54c5.entry.js.map → p-7991d22f.entry.js.map} +0 -0
- /package/dist/tegel/{p-262dca00.entry.js.map → p-a2cbef2c.entry.js.map} +0 -0
- /package/dist/tegel/{p-cd08f5f0.entry.js.map → p-b9b329c0.entry.js.map} +0 -0
- /package/dist/tegel/{p-fc96cf21.entry.js.map → p-bd09c184.entry.js.map} +0 -0
- /package/{dist/loader → loader}/package.json +0 -0
|
@@ -1,96 +0,0 @@
|
|
|
1
|
-
import { r as registerInstance, h, H as Host, g as getElement } from './index-96563708.js';
|
|
2
|
-
|
|
3
|
-
const inlineTabsFullbleedCss = ".sdds-inline-tabs-fullbleed{box-sizing:border-box;display:flex;position:relative;}.sdds-inline-tabs-fullbleed *{box-sizing:border-box}.sdds-inline-tabs-fullbleed::after{content:\" \";display:block;border-bottom:1px solid var(--sdds-inline-tabs-fullbleed-horizontal-divider-background);opacity:var(--sdds-inline-tabs-fullbleed-horizontal-divider-opacity);left:0;right:0;bottom:0;position:absolute}.sdds-inline-tabs-fullbleed-wrapper{display:flex;flex-wrap:nowrap;width:100%;overflow-x:scroll;scrollbar-width:none}.sdds-inline-tabs-fullbleed-wrapper::-webkit-scrollbar{display:none}.sdds-inline-tabs-fullbleed--forward,.sdds-inline-tabs-fullbleed--back{cursor:pointer;width:48px;height:100%;border:0;position:absolute;right:0;top:0;background-color:var(--sdds-inline-tabs-fullbleed-scroll-btn-background);display:flex;justify-content:center;align-items:center;opacity:0;pointer-events:none}.sdds-inline-tabs-fullbleed--forward__show,.sdds-inline-tabs-fullbleed--back__show{opacity:1;pointer-events:all}.sdds-inline-tabs-fullbleed--forward:hover,.sdds-inline-tabs-fullbleed--back:hover{background-color:var(--sdds-inline-tabs-fullbleed-scroll-btn-background-hover)}.sdds-inline-tabs-fullbleed--forward:active,.sdds-inline-tabs-fullbleed--back:active{background-color:var(--sdds-inline-tabs-fullbleed-scroll-btn-background-active)}.sdds-inline-tabs-fullbleed--forward:focus,.sdds-inline-tabs-fullbleed--back:focus{outline:2px solid var(--sdds-blue-400);outline-offset:-2px}.sdds-inline-tabs-fullbleed--forward svg,.sdds-inline-tabs-fullbleed--back svg{fill:var(--sdds-inline-tabs-scroll-btn-color)}.sdds-inline-tabs-fullbleed-centered{justify-content:center}::slotted(.sdds-inline-tabs-fullbleed--tab){font:var(--sdds-headline-07);letter-spacing:var(--sdds-headline-07-ls);color:var(--sdds-inline-tabs-fullbleed-tab-color);opacity:0.6;padding:16px 0;margin-right:32px;text-decoration:none;display:block;position:relative;transition:color 0.15s ease-in-out;white-space:nowrap;text-align:left}::slotted(.sdds-inline-tabs-fullbleed--tab)::after{content:\" \";position:absolute;bottom:0;right:0;left:0;margin-left:auto;width:0;margin-right:auto;height:2px;background-color:var(--sdds-inline-tabs-fullbleed-tab-indicator-background-hover);transition:width 0.15s ease-in-out;z-index:1}::slotted(.sdds-inline-tabs-fullbleed--tab__active){color:var(--sdds-inline-tabs-fullbleed-tab-color-active);opacity:1}::slotted(.sdds-inline-tabs-fullbleed--tab__active)::after{width:100%;background-color:var(--sdds-inline-tabs-fullbleed-tab-indicator-background-active)}::slotted(.sdds-inline-tabs-fullbleed--tab:first-child){margin-left:32px}::slotted(.sdds-inline-tabs-fullbleed--tab:last-child){margin-right:32px}::slotted(.sdds-inline-tabs-fullbleed--tab:hover){color:var(--sdds-inline-tabs-fullbleed-tab-color-hover);opacity:1}::slotted(.sdds-inline-tabs-fullbleed--tab:hover)::after{width:100%}::slotted(.sdds-inline-tabs-fullbleed--tab:focus){outline:2px solid var(--sdds-blue-400);outline-offset:-2px;color:var(--sdds-inline-tabs-fullbleed-tab-color-focus);opacity:1}::slotted(.sdds-inline-tabs-fullbleed--tab:focus)::after{width:0}::slotted(.sdds-inline-tabs-fullbleed--tab__active:focus)::after{width:100%}::slotted(.sdds-inline-tabs-fullbleed--tab__disabled){color:var(--sdds-inline-tabs-fullbleed-tab-color-disabled);pointer-events:none;opacity:var(--sdds-inline-tabs-fullbleed-tab-color-opacity-disabled)}.sdds-inline-tabs-fullbleed{background-color:var(--sdds-inline-tabs-fullbleed-tab-background)}.sdds-inline-tabs-fullbleed .sdds-inline-tabs-fullbleed--forward{background-color:var(--sdds-inline-tabs-fullbleed-tab-background)}.sdds-inline-tabs-fullbleed .sdds-inline-tabs-fullbleed--back{background-color:var(--sdds-inline-tabs-fullbleed-tab-background)}";
|
|
4
|
-
|
|
5
|
-
const InlineTabsFullbleed = class {
|
|
6
|
-
constructor(hostRef) {
|
|
7
|
-
registerInstance(this, hostRef);
|
|
8
|
-
this.navWrapperElement = null; // reference to container with nav buttons
|
|
9
|
-
this.componentWidth = 0; // visible width of this component
|
|
10
|
-
this.buttonsWidth = 0; // total width of all nav items combined
|
|
11
|
-
this.scrollWidth = 0; // total amount that is possible to scroll in the nav wrapper
|
|
12
|
-
this.buttonWidth = 0; // current calculated width of the largest nav button
|
|
13
|
-
this.modeVariant = null;
|
|
14
|
-
this.tabs = [];
|
|
15
|
-
this.showLeftScroll = false;
|
|
16
|
-
this.showRightScroll = false;
|
|
17
|
-
}
|
|
18
|
-
componentDidRender() {
|
|
19
|
-
this.calculateButtonWidth();
|
|
20
|
-
}
|
|
21
|
-
componentDidLoad() {
|
|
22
|
-
const resizeObserver = new ResizeObserver((entries) => {
|
|
23
|
-
entries.forEach((entry) => {
|
|
24
|
-
const componentWidth = entry.contentRect.width;
|
|
25
|
-
let buttonsWidth = 0;
|
|
26
|
-
const navButtons = Array.from(this.host.children);
|
|
27
|
-
navButtons.forEach((navButton) => {
|
|
28
|
-
const style = window.getComputedStyle(navButton);
|
|
29
|
-
buttonsWidth +=
|
|
30
|
-
navButton.clientWidth + parseFloat(style.marginLeft) + parseFloat(style.marginRight);
|
|
31
|
-
navButton.classList.add('sdds-inline-tabs-fullbleed--tab');
|
|
32
|
-
});
|
|
33
|
-
this.componentWidth = componentWidth;
|
|
34
|
-
this.buttonsWidth = buttonsWidth;
|
|
35
|
-
this.scrollWidth = buttonsWidth - componentWidth;
|
|
36
|
-
if (this.buttonsWidth > this.componentWidth) {
|
|
37
|
-
this.evaluateScrollButtons();
|
|
38
|
-
}
|
|
39
|
-
else {
|
|
40
|
-
this.showLeftScroll = false;
|
|
41
|
-
this.showRightScroll = false;
|
|
42
|
-
}
|
|
43
|
-
});
|
|
44
|
-
});
|
|
45
|
-
resizeObserver.observe(this.navWrapperElement);
|
|
46
|
-
this.calculateButtonWidth();
|
|
47
|
-
}
|
|
48
|
-
calculateButtonWidth() {
|
|
49
|
-
let best = 0;
|
|
50
|
-
const navButtons = Array.from(this.host.children);
|
|
51
|
-
navButtons.forEach((navButton) => {
|
|
52
|
-
const style = window.getComputedStyle(navButton);
|
|
53
|
-
const width = navButton.clientWidth + parseFloat(style.marginLeft) + parseFloat(style.marginRight);
|
|
54
|
-
if (width > best) {
|
|
55
|
-
best = width;
|
|
56
|
-
}
|
|
57
|
-
});
|
|
58
|
-
this.buttonWidth = best;
|
|
59
|
-
}
|
|
60
|
-
scrollRight() {
|
|
61
|
-
const scroll = this.navWrapperElement.scrollLeft;
|
|
62
|
-
this.navWrapperElement.scrollLeft = scroll + this.buttonWidth;
|
|
63
|
-
this.evaluateScrollButtons();
|
|
64
|
-
}
|
|
65
|
-
scrollLeft() {
|
|
66
|
-
const scroll = this.navWrapperElement.scrollLeft;
|
|
67
|
-
this.navWrapperElement.scrollLeft = scroll - this.buttonWidth;
|
|
68
|
-
this.evaluateScrollButtons();
|
|
69
|
-
}
|
|
70
|
-
evaluateScrollButtons() {
|
|
71
|
-
const scroll = this.navWrapperElement.scrollLeft;
|
|
72
|
-
if (scroll >= this.scrollWidth) {
|
|
73
|
-
this.showRightScroll = false;
|
|
74
|
-
}
|
|
75
|
-
else {
|
|
76
|
-
this.showRightScroll = true;
|
|
77
|
-
}
|
|
78
|
-
if (scroll <= 0) {
|
|
79
|
-
this.showLeftScroll = false;
|
|
80
|
-
}
|
|
81
|
-
else {
|
|
82
|
-
this.showLeftScroll = true;
|
|
83
|
-
}
|
|
84
|
-
}
|
|
85
|
-
render() {
|
|
86
|
-
return (h(Host, { class: `${this.modeVariant !== null ? `sdds-mode-variant-${this.modeVariant}` : ''}` }, h("div", { class: `sdds-inline-tabs-fullbleed` }, h("div", { class: "sdds-inline-tabs-fullbleed-wrapper", ref: (el) => {
|
|
87
|
-
this.navWrapperElement = el;
|
|
88
|
-
} }, h("slot", null)), h("div", { class: "sdds-inline-tabs-fullbleed-navigation" }, h("button", { class: `sdds-inline-tabs-fullbleed--forward ${this.showRightScroll ? 'sdds-inline-tabs-fullbleed--back__show' : ''}`, onClick: () => this.scrollRight(), disabled: !this.showRightScroll }, h("svg", { width: "20", height: "20", viewBox: "0 0 20 20", fill: "currentColor", xmlns: "http://www.w3.org/2000/svg" }, h("path", { "fill-rule": "evenodd", "clip-rule": "evenodd", d: "M6.1147 17.3291C5.87062 17.0851 5.87062 16.6893 6.1147 16.4453L12.2948 10.2652C12.4412 10.1187 12.4412 9.8813 12.2948 9.73485L6.1147 3.55476C5.87062 3.31068 5.87062 2.91496 6.1147 2.67088C6.35878 2.4268 6.75451 2.4268 6.99858 2.67088L13.1787 8.85097C13.8133 9.48557 13.8133 10.5145 13.1787 11.1491L6.99858 17.3291C6.75451 17.5732 6.35878 17.5732 6.1147 17.3291Z" }))), h("button", { class: `sdds-inline-tabs-fullbleed--back ${this.showLeftScroll ? 'sdds-inline-tabs-fullbleed--back__show' : ''}`, onClick: () => this.scrollLeft(), disabled: !this.showLeftScroll }, h("svg", { width: "20", height: "20", viewBox: "0 0 20 20", fill: "currentColor", xmlns: "http://www.w3.org/2000/svg" }, h("path", { "fill-rule": "evenodd", "clip-rule": "evenodd", d: "M13.8853 2.67085C14.1294 2.91493 14.1294 3.31066 13.8853 3.55473L7.70522 9.73482C7.55878 9.88127 7.55878 10.1187 7.70522 10.2652L13.8853 16.4452C14.1294 16.6893 14.1294 17.085 13.8853 17.3291C13.6412 17.5732 13.2455 17.5732 13.0014 17.3291L6.82134 11.149C6.18674 10.5144 6.18674 9.48554 6.82134 8.85094L13.0014 2.67085C13.2455 2.42677 13.6412 2.42677 13.8853 2.67085Z" })))))));
|
|
89
|
-
}
|
|
90
|
-
get host() { return getElement(this); }
|
|
91
|
-
};
|
|
92
|
-
InlineTabsFullbleed.style = inlineTabsFullbleedCss;
|
|
93
|
-
|
|
94
|
-
export { InlineTabsFullbleed as sdds_inline_tabs_fullbleed };
|
|
95
|
-
|
|
96
|
-
//# sourceMappingURL=sdds-inline-tabs-fullbleed.entry.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"file":"sdds-inline-tabs-fullbleed.entry.js","mappings":";;AAAA,MAAM,sBAAsB,GAAG,sqHAAsqH;;MCOxrH,mBAAmB;;;IAY9B,sBAAiB,GAAgB,IAAI,CAAC;IAEtC,mBAAc,GAAW,CAAC,CAAC;IAE3B,iBAAY,GAAW,CAAC,CAAC;IAEzB,gBAAW,GAAW,CAAC,CAAC;IAExB,gBAAW,GAAW,CAAC,CAAC;uBAlBuB,IAAI;gBAIvB,EAAE;0BAEK,KAAK;2BAEJ,KAAK;;EAYzC,kBAAkB;IAChB,IAAI,CAAC,oBAAoB,EAAE,CAAC;GAC7B;EAED,gBAAgB;IACd,MAAM,cAAc,GAAG,IAAI,cAAc,CAAC,CAAC,OAAO;MAChD,OAAO,CAAC,OAAO,CAAC,CAAC,KAAK;QACpB,MAAM,cAAc,GAAG,KAAK,CAAC,WAAW,CAAC,KAAK,CAAC;QAC/C,IAAI,YAAY,GAAG,CAAC,CAAC;QAErB,MAAM,UAAU,GAAG,KAAK,CAAC,IAAI,CAAC,IAAI,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC;QAClD,UAAU,CAAC,OAAO,CAAC,CAAC,SAAsB;UACxC,MAAM,KAAK,GAAG,MAAM,CAAC,gBAAgB,CAAC,SAAS,CAAC,CAAC;UACjD,YAAY;YACV,SAAS,CAAC,WAAW,GAAG,UAAU,CAAC,KAAK,CAAC,UAAU,CAAC,GAAG,UAAU,CAAC,KAAK,CAAC,WAAW,CAAC,CAAC;UAEvF,SAAS,CAAC,SAAS,CAAC,GAAG,CAAC,iCAAiC,CAAC,CAAC;SAC5D,CAAC,CAAC;QAEH,IAAI,CAAC,cAAc,GAAG,cAAc,CAAC;QACrC,IAAI,CAAC,YAAY,GAAG,YAAY,CAAC;QACjC,IAAI,CAAC,WAAW,GAAG,YAAY,GAAG,cAAc,CAAC;QAEjD,IAAI,IAAI,CAAC,YAAY,GAAG,IAAI,CAAC,cAAc,EAAE;UAC3C,IAAI,CAAC,qBAAqB,EAAE,CAAC;SAC9B;aAAM;UACL,IAAI,CAAC,cAAc,GAAG,KAAK,CAAC;UAC5B,IAAI,CAAC,eAAe,GAAG,KAAK,CAAC;SAC9B;OACF,CAAC,CAAC;KACJ,CAAC,CAAC;IAEH,cAAc,CAAC,OAAO,CAAC,IAAI,CAAC,iBAAiB,CAAC,CAAC;IAE/C,IAAI,CAAC,oBAAoB,EAAE,CAAC;GAC7B;EAED,oBAAoB;IAClB,IAAI,IAAI,GAAG,CAAC,CAAC;IACb,MAAM,UAAU,GAAG,KAAK,CAAC,IAAI,CAAC,IAAI,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC;IAClD,UAAU,CAAC,OAAO,CAAC,CAAC,SAAsB;MACxC,MAAM,KAAK,GAAG,MAAM,CAAC,gBAAgB,CAAC,SAAS,CAAC,CAAC;MACjD,MAAM,KAAK,GACT,SAAS,CAAC,WAAW,GAAG,UAAU,CAAC,KAAK,CAAC,UAAU,CAAC,GAAG,UAAU,CAAC,KAAK,CAAC,WAAW,CAAC,CAAC;MAEvF,IAAI,KAAK,GAAG,IAAI,EAAE;QAChB,IAAI,GAAG,KAAK,CAAC;OACd;KACF,CAAC,CAAC;IAEH,IAAI,CAAC,WAAW,GAAG,IAAI,CAAC;GACzB;EAED,WAAW;IACT,MAAM,MAAM,GAAG,IAAI,CAAC,iBAAiB,CAAC,UAAU,CAAC;IACjD,IAAI,CAAC,iBAAiB,CAAC,UAAU,GAAG,MAAM,GAAG,IAAI,CAAC,WAAW,CAAC;IAE9D,IAAI,CAAC,qBAAqB,EAAE,CAAC;GAC9B;EAED,UAAU;IACR,MAAM,MAAM,GAAG,IAAI,CAAC,iBAAiB,CAAC,UAAU,CAAC;IACjD,IAAI,CAAC,iBAAiB,CAAC,UAAU,GAAG,MAAM,GAAG,IAAI,CAAC,WAAW,CAAC;IAE9D,IAAI,CAAC,qBAAqB,EAAE,CAAC;GAC9B;EAED,qBAAqB;IACnB,MAAM,MAAM,GAAG,IAAI,CAAC,iBAAiB,CAAC,UAAU,CAAC;IAEjD,IAAI,MAAM,IAAI,IAAI,CAAC,WAAW,EAAE;MAC9B,IAAI,CAAC,eAAe,GAAG,KAAK,CAAC;KAC9B;SAAM;MACL,IAAI,CAAC,eAAe,GAAG,IAAI,CAAC;KAC7B;IAED,IAAI,MAAM,IAAI,CAAC,EAAE;MACf,IAAI,CAAC,cAAc,GAAG,KAAK,CAAC;KAC7B;SAAM;MACL,IAAI,CAAC,cAAc,GAAG,IAAI,CAAC;KAC5B;GACF;EAED,MAAM;IACJ,QACE,EAAC,IAAI,IAAC,KAAK,EAAE,GAAG,IAAI,CAAC,WAAW,KAAK,IAAI,GAAG,qBAAqB,IAAI,CAAC,WAAW,EAAE,GAAE,EAAE,EAAE,IACvF,WAAK,KAAK,EAAE,4BAA4B,IACtC,WACE,KAAK,EAAC,oCAAoC,EAC1C,GAAG,EAAE,CAAC,EAAE;QACN,IAAI,CAAC,iBAAiB,GAAG,EAAiB,CAAC;OAC5C,IAED,eAAQ,CACJ,EACN,WAAK,KAAK,EAAC,uCAAuC,IAChD,cACE,KAAK,EAAE,uCACL,IAAI,CAAC,eAAe,GAAG,wCAAwC,GAAG,EACpE,EAAE,EACF,OAAO,EAAE,MAAM,IAAI,CAAC,WAAW,EAAE,EACjC,QAAQ,EAAE,CAAC,IAAI,CAAC,eAAe,IAE/B,WACE,KAAK,EAAC,IAAI,EACV,MAAM,EAAC,IAAI,EACX,OAAO,EAAC,WAAW,EACnB,IAAI,EAAC,cAAc,EACnB,KAAK,EAAC,4BAA4B,IAElC,yBACY,SAAS,eACT,SAAS,EACnB,CAAC,EAAC,2WAA2W,GACvW,CACJ,CACC,EACT,cACE,KAAK,EAAE,oCACL,IAAI,CAAC,cAAc,GAAG,wCAAwC,GAAG,EACnE,EAAE,EACF,OAAO,EAAE,MAAM,IAAI,CAAC,UAAU,EAAE,EAChC,QAAQ,EAAE,CAAC,IAAI,CAAC,cAAc,IAE9B,WACE,KAAK,EAAC,IAAI,EACV,MAAM,EAAC,IAAI,EACX,OAAO,EAAC,WAAW,EACnB,IAAI,EAAC,cAAc,EACnB,KAAK,EAAC,4BAA4B,IAElC,yBACY,SAAS,eACT,SAAS,EACnB,CAAC,EAAC,iXAAiX,GAC7W,CACJ,CACC,CACL,CACF,CACD,EACP;GACH;;;;;;;","names":[],"sources":["./src/components/tabs/inline-tabs-fullbleed/inline-tabs-fullbleed.scss?tag=sdds-inline-tabs-fullbleed&encapsulation=shadow","./src/components/tabs/inline-tabs-fullbleed/inline-tabs-fullbleed.tsx"],"sourcesContent":["@import '../../../mixins/focus-state';\n@import '../../../mixins/box-sizing';\n\n.sdds-inline-tabs-fullbleed {\n @include sdds-box-sizing;\n\n display: flex;\n position: relative;\n\n &::after {\n content: ' ';\n display: block;\n border-bottom: 1px solid var(--sdds-inline-tabs-fullbleed-horizontal-divider-background);\n opacity: var(--sdds-inline-tabs-fullbleed-horizontal-divider-opacity);\n left: 0;\n right: 0;\n bottom: 0;\n position: absolute;\n }\n\n &-wrapper {\n display: flex;\n flex-wrap: nowrap;\n width: 100%;\n overflow-x: scroll;\n scrollbar-width: none;\n\n &::-webkit-scrollbar {\n display: none;\n }\n }\n\n &--forward,\n &--back {\n cursor: pointer;\n width: 48px;\n height: 100%;\n border: 0;\n position: absolute;\n right: 0;\n top: 0;\n background-color: var(--sdds-inline-tabs-fullbleed-scroll-btn-background);\n display: flex;\n justify-content: center;\n align-items: center;\n opacity: 0;\n pointer-events: none;\n\n &__show {\n opacity: 1;\n pointer-events: all;\n }\n\n &:hover {\n background-color: var(--sdds-inline-tabs-fullbleed-scroll-btn-background-hover);\n }\n\n &:active {\n background-color: var(--sdds-inline-tabs-fullbleed-scroll-btn-background-active);\n }\n\n &:focus {\n @include sdds-focus-state;\n }\n svg{\n fill:var(--sdds-inline-tabs-scroll-btn-color);\n }\n }\n\n &-centered {\n justify-content: center;\n }\n\n /* tab */\n ::slotted(&--tab) {\n //fixme: headline-07 has a line-height that is not matching old storybook\n font: var(--sdds-headline-07);\n letter-spacing: var(--sdds-headline-07-ls);\n color: var(--sdds-inline-tabs-fullbleed-tab-color);\n opacity: 0.6;\n padding: 16px 0;\n margin-right: 32px;\n text-decoration: none;\n display: block;\n position: relative;\n transition: color 0.15s ease-in-out;\n white-space: nowrap;\n text-align: left;\n\n &::after {\n content: ' ';\n position: absolute;\n bottom: 0;\n right: 0;\n left: 0;\n margin-left: auto;\n width: 0;\n margin-right: auto;\n height: 2px;\n background-color: var(--sdds-inline-tabs-fullbleed-tab-indicator-background-hover);\n transition: width 0.15s ease-in-out;\n z-index: 1;\n }\n }\n \n ::slotted(&--tab__active) {\n color: var(--sdds-inline-tabs-fullbleed-tab-color-active);\n opacity:1;\n\n &::after {\n width: 100%;\n background-color: var(--sdds-inline-tabs-fullbleed-tab-indicator-background-active);\n }\n }\n\n ::slotted(&--tab:first-child) {\n margin-left: 32px;\n }\n\n ::slotted(&--tab:last-child) {\n margin-right: 32px;\n }\n\n /* tab states */\n ::slotted(&--tab:hover) {\n color: var(--sdds-inline-tabs-fullbleed-tab-color-hover);\n opacity:1;\n\n &::after {\n width: 100%;\n }\n }\n\n ::slotted(&--tab:focus) {\n @include sdds-focus-state;\n\n color: var(--sdds-inline-tabs-fullbleed-tab-color-focus);\n opacity:1;\n \n &::after {\n width: 0;\n }\n }\n\n ::slotted(&--tab__active:focus)::after {\n width: 100%;\n }\n\n ::slotted(&--tab__disabled) {\n color: var(--sdds-inline-tabs-fullbleed-tab-color-disabled);\n pointer-events: none;\n opacity: var(--sdds-inline-tabs-fullbleed-tab-color-opacity-disabled);\n }\n}\n\n.sdds-inline-tabs-fullbleed {\n background-color: var(--sdds-inline-tabs-fullbleed-tab-background);\n\n .sdds-inline-tabs-fullbleed--forward {\n background-color: var(--sdds-inline-tabs-fullbleed-tab-background);\n }\n\n .sdds-inline-tabs-fullbleed--back {\n background-color: var(--sdds-inline-tabs-fullbleed-tab-background);\n }\n}\n","import { Component, Host, State, Element, h, Prop } from '@stencil/core';\n\n@Component({\n tag: 'sdds-inline-tabs-fullbleed',\n styleUrl: 'inline-tabs-fullbleed.scss',\n shadow: true,\n})\nexport class InlineTabsFullbleed {\n /** Variant of the tabs, primary= on white, secondary= on grey50 */\n @Prop() modeVariant: 'primary' | 'secondary' = null;\n\n @Element() host: HTMLElement;\n\n @State() tabs: Array<any> = []; // array with metadata for slotted children\n\n @State() showLeftScroll: boolean = false;\n\n @State() showRightScroll: boolean = false;\n\n navWrapperElement: HTMLElement = null; // reference to container with nav buttons\n\n componentWidth: number = 0; // visible width of this component\n\n buttonsWidth: number = 0; // total width of all nav items combined\n\n scrollWidth: number = 0; // total amount that is possible to scroll in the nav wrapper\n\n buttonWidth: number = 0; // current calculated width of the largest nav button\n\n componentDidRender() {\n this.calculateButtonWidth();\n }\n\n componentDidLoad() {\n const resizeObserver = new ResizeObserver((entries) => {\n entries.forEach((entry) => {\n const componentWidth = entry.contentRect.width;\n let buttonsWidth = 0;\n\n const navButtons = Array.from(this.host.children);\n navButtons.forEach((navButton: HTMLElement) => {\n const style = window.getComputedStyle(navButton);\n buttonsWidth +=\n navButton.clientWidth + parseFloat(style.marginLeft) + parseFloat(style.marginRight);\n\n navButton.classList.add('sdds-inline-tabs-fullbleed--tab');\n });\n\n this.componentWidth = componentWidth;\n this.buttonsWidth = buttonsWidth;\n this.scrollWidth = buttonsWidth - componentWidth;\n\n if (this.buttonsWidth > this.componentWidth) {\n this.evaluateScrollButtons();\n } else {\n this.showLeftScroll = false;\n this.showRightScroll = false;\n }\n });\n });\n\n resizeObserver.observe(this.navWrapperElement);\n\n this.calculateButtonWidth();\n }\n\n calculateButtonWidth() {\n let best = 0;\n const navButtons = Array.from(this.host.children);\n navButtons.forEach((navButton: HTMLElement) => {\n const style = window.getComputedStyle(navButton);\n const width =\n navButton.clientWidth + parseFloat(style.marginLeft) + parseFloat(style.marginRight);\n\n if (width > best) {\n best = width;\n }\n });\n\n this.buttonWidth = best;\n }\n\n scrollRight() {\n const scroll = this.navWrapperElement.scrollLeft;\n this.navWrapperElement.scrollLeft = scroll + this.buttonWidth;\n\n this.evaluateScrollButtons();\n }\n\n scrollLeft() {\n const scroll = this.navWrapperElement.scrollLeft;\n this.navWrapperElement.scrollLeft = scroll - this.buttonWidth;\n\n this.evaluateScrollButtons();\n }\n\n evaluateScrollButtons() {\n const scroll = this.navWrapperElement.scrollLeft;\n\n if (scroll >= this.scrollWidth) {\n this.showRightScroll = false;\n } else {\n this.showRightScroll = true;\n }\n\n if (scroll <= 0) {\n this.showLeftScroll = false;\n } else {\n this.showLeftScroll = true;\n }\n }\n\n render() {\n return (\n <Host class={`${this.modeVariant !== null ? `sdds-mode-variant-${this.modeVariant}`: ''}`}>\n <div class={`sdds-inline-tabs-fullbleed`}>\n <div\n class=\"sdds-inline-tabs-fullbleed-wrapper\"\n ref={(el) => {\n this.navWrapperElement = el as HTMLElement;\n }}\n >\n <slot />\n </div>\n <div class=\"sdds-inline-tabs-fullbleed-navigation\">\n <button\n class={`sdds-inline-tabs-fullbleed--forward ${\n this.showRightScroll ? 'sdds-inline-tabs-fullbleed--back__show' : ''\n }`}\n onClick={() => this.scrollRight()}\n disabled={!this.showRightScroll}\n >\n <svg\n width=\"20\"\n height=\"20\"\n viewBox=\"0 0 20 20\"\n fill=\"currentColor\"\n xmlns=\"http://www.w3.org/2000/svg\"\n >\n <path\n fill-rule=\"evenodd\"\n clip-rule=\"evenodd\"\n d=\"M6.1147 17.3291C5.87062 17.0851 5.87062 16.6893 6.1147 16.4453L12.2948 10.2652C12.4412 10.1187 12.4412 9.8813 12.2948 9.73485L6.1147 3.55476C5.87062 3.31068 5.87062 2.91496 6.1147 2.67088C6.35878 2.4268 6.75451 2.4268 6.99858 2.67088L13.1787 8.85097C13.8133 9.48557 13.8133 10.5145 13.1787 11.1491L6.99858 17.3291C6.75451 17.5732 6.35878 17.5732 6.1147 17.3291Z\"\n ></path>\n </svg>\n </button>\n <button\n class={`sdds-inline-tabs-fullbleed--back ${\n this.showLeftScroll ? 'sdds-inline-tabs-fullbleed--back__show' : ''\n }`}\n onClick={() => this.scrollLeft()}\n disabled={!this.showLeftScroll}\n >\n <svg\n width=\"20\"\n height=\"20\"\n viewBox=\"0 0 20 20\"\n fill=\"currentColor\"\n xmlns=\"http://www.w3.org/2000/svg\"\n >\n <path\n fill-rule=\"evenodd\"\n clip-rule=\"evenodd\"\n d=\"M13.8853 2.67085C14.1294 2.91493 14.1294 3.31066 13.8853 3.55473L7.70522 9.73482C7.55878 9.88127 7.55878 10.1187 7.70522 10.2652L13.8853 16.4452C14.1294 16.6893 14.1294 17.085 13.8853 17.3291C13.6412 17.5732 13.2455 17.5732 13.0014 17.3291L6.82134 11.149C6.18674 10.5144 6.18674 9.48554 6.82134 8.85094L13.0014 2.67085C13.2455 2.42677 13.6412 2.42677 13.8853 2.67085Z\"\n ></path>\n </svg>\n </button>\n </div>\n </div>\n </Host>\n );\n }\n}\n"],"version":3}
|