@scania/tegel 1.4.0 → 1.6.0
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-ae4fbf97.js → index-f36d4629.js} +33 -13
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/cjs/tds-accordion-item.cjs.entry.js +6 -5
- package/dist/cjs/tds-accordion.cjs.entry.js +4 -3
- package/dist/cjs/tds-badge.cjs.entry.js +4 -3
- package/dist/cjs/tds-banner.cjs.entry.js +5 -4
- package/dist/cjs/tds-block.cjs.entry.js +4 -3
- package/dist/cjs/tds-body-cell.cjs.entry.js +5 -4
- package/dist/cjs/tds-breadcrumb.cjs.entry.js +4 -3
- package/dist/cjs/tds-breadcrumbs.cjs.entry.js +4 -3
- package/dist/cjs/tds-button.cjs.entry.js +4 -3
- package/dist/cjs/tds-card.cjs.entry.js +4 -3
- package/dist/cjs/tds-checkbox.cjs.entry.js +5 -5
- package/dist/cjs/tds-chip.cjs.entry.js +5 -4
- package/dist/cjs/tds-core-header-item_2.cjs.entry.js +8 -6
- package/dist/cjs/tds-datetime.cjs.entry.js +9 -4
- package/dist/cjs/tds-divider.cjs.entry.js +4 -3
- package/dist/cjs/tds-dropdown-option.cjs.entry.js +4 -3
- package/dist/cjs/tds-dropdown.cjs.entry.js +7 -6
- package/dist/cjs/tds-folder-tab.cjs.entry.js +5 -4
- package/dist/cjs/tds-folder-tabs.cjs.entry.js +5 -4
- package/dist/cjs/tds-footer-group.cjs.entry.js +6 -5
- package/dist/cjs/tds-footer-item.cjs.entry.js +4 -3
- package/dist/cjs/tds-footer.cjs.entry.js +4 -3
- package/dist/cjs/tds-header-brand-symbol.cjs.entry.js +4 -3
- package/dist/cjs/tds-header-cell.cjs.entry.js +6 -5
- package/dist/cjs/tds-header-dropdown-list-item.cjs.entry.js +5 -4
- package/dist/cjs/tds-header-dropdown-list-user.cjs.entry.js +4 -3
- package/dist/cjs/tds-header-dropdown-list.cjs.entry.js +4 -3
- package/dist/cjs/tds-header-dropdown.cjs.entry.js +6 -5
- package/dist/cjs/tds-header-hamburger.cjs.entry.js +4 -3
- package/dist/cjs/tds-header-launcher-button.cjs.entry.js +4 -3
- package/dist/cjs/tds-header-launcher-grid-item.cjs.entry.js +4 -3
- package/dist/cjs/tds-header-launcher-grid-title.cjs.entry.js +4 -3
- package/dist/cjs/tds-header-launcher-grid.cjs.entry.js +4 -3
- package/dist/cjs/tds-header-launcher-list-item.cjs.entry.js +4 -3
- package/dist/cjs/tds-header-launcher-list-title.cjs.entry.js +4 -3
- package/dist/cjs/tds-header-launcher-list.cjs.entry.js +2 -2
- package/dist/cjs/tds-header-launcher.cjs.entry.js +5 -4
- package/dist/cjs/tds-header-title.cjs.entry.js +4 -3
- package/dist/cjs/tds-header.cjs.entry.js +4 -3
- package/dist/cjs/tds-icon.cjs.entry.js +7 -5
- package/dist/cjs/tds-inline-tab.cjs.entry.js +5 -4
- package/dist/cjs/tds-inline-tabs.cjs.entry.js +5 -4
- package/dist/cjs/tds-link.cjs.entry.js +5 -4
- package/dist/cjs/tds-message.cjs.entry.js +5 -4
- package/dist/cjs/tds-modal.cjs.entry.js +5 -4
- package/dist/cjs/tds-navigation-tab.cjs.entry.js +5 -4
- package/dist/cjs/tds-navigation-tabs.cjs.entry.js +5 -4
- package/dist/cjs/tds-popover-canvas.cjs.entry.js +5 -4
- package/dist/cjs/tds-popover-core.cjs.entry.js +2 -2
- package/dist/cjs/tds-popover-menu-item.cjs.entry.js +5 -4
- package/dist/cjs/tds-popover-menu.cjs.entry.js +5 -4
- package/dist/cjs/tds-radio-button.cjs.entry.js +4 -3
- package/dist/cjs/tds-side-menu-close-button.cjs.entry.js +4 -3
- package/dist/cjs/tds-side-menu-collapse-button.cjs.entry.js +7 -6
- package/dist/cjs/tds-side-menu-dropdown-list-item.cjs.entry.js +5 -4
- package/dist/cjs/tds-side-menu-dropdown-list.cjs.entry.js +5 -4
- package/dist/cjs/tds-side-menu-dropdown.cjs.entry.js +6 -5
- package/dist/cjs/tds-side-menu-item.cjs.entry.js +5 -4
- package/dist/cjs/tds-side-menu-overlay.cjs.entry.js +4 -3
- package/dist/cjs/tds-side-menu-user-image_2.cjs.entry.js +7 -5
- package/dist/cjs/tds-side-menu-user.cjs.entry.js +4 -3
- package/dist/cjs/tds-side-menu.cjs.entry.js +6 -5
- package/dist/cjs/tds-slider.cjs.entry.js +9 -8
- package/dist/cjs/tds-spinner.cjs.entry.js +4 -3
- package/dist/cjs/tds-step.cjs.entry.js +4 -3
- package/dist/cjs/tds-stepper.cjs.entry.js +4 -3
- package/dist/cjs/tds-table-body-row-expandable.cjs.entry.js +5 -4
- package/dist/cjs/tds-table-body-row.cjs.entry.js +6 -4
- package/dist/cjs/tds-table-body.cjs.entry.js +4 -3
- package/dist/cjs/tds-table-footer.cjs.entry.js +4 -3
- package/dist/cjs/tds-table-header.cjs.entry.js +6 -4
- package/dist/cjs/tds-table-toolbar.cjs.entry.js +4 -3
- package/dist/cjs/tds-table.cjs.entry.js +6 -5
- package/dist/cjs/tds-text-field.cjs.entry.js +8 -5
- package/dist/cjs/tds-textarea.cjs.entry.js +6 -5
- package/dist/cjs/tds-toast.cjs.entry.js +7 -6
- package/dist/cjs/tds-toggle.cjs.entry.js +4 -3
- package/dist/cjs/tds-tooltip.cjs.entry.js +5 -4
- package/dist/cjs/tegel.cjs.js +3 -3
- package/dist/collection/collection-manifest.json +2 -2
- package/dist/collection/components/accordion/accordion-item/accordion-item.js +3 -3
- package/dist/collection/components/accordion/accordion.js +1 -1
- package/dist/collection/components/badge/badge.js +1 -1
- package/dist/collection/components/banner/banner.js +2 -2
- package/dist/collection/components/block/block.js +1 -1
- package/dist/collection/components/breadcrumbs/breadcrumb/breadcrumb.js +1 -1
- package/dist/collection/components/breadcrumbs/breadcrumbs.js +1 -1
- package/dist/collection/components/button/button.js +1 -1
- package/dist/collection/components/card/card.js +1 -1
- package/dist/collection/components/checkbox/checkbox.js +2 -3
- package/dist/collection/components/chip/chip.js +2 -2
- package/dist/collection/components/datetime/datetime.js +33 -4
- package/dist/collection/components/divider/divider.js +1 -1
- package/dist/collection/components/dropdown/dropdown-option/dropdown-option.js +1 -1
- package/dist/collection/components/dropdown/dropdown.css +1 -0
- package/dist/collection/components/dropdown/dropdown.js +3 -3
- package/dist/collection/components/footer/footer-group/footer-group.js +3 -3
- package/dist/collection/components/footer/footer-item/footer-item.js +1 -1
- package/dist/collection/components/footer/footer.js +1 -1
- package/dist/collection/components/header/core-header-item/core-header-item.js +1 -1
- package/dist/collection/components/header/header-brand-symbol/header-brand-symbol.js +1 -1
- package/dist/collection/components/header/header-dropdown/header-dropdown.js +3 -3
- package/dist/collection/components/header/header-dropdown-list/header-dropdown-list.js +1 -1
- package/dist/collection/components/header/header-dropdown-list-item/header-dropdown-list-item.js +2 -2
- package/dist/collection/components/header/header-dropdown-list-user/header-dropdown-list-user.js +1 -1
- package/dist/collection/components/header/header-hamburger/header-hamburger.js +1 -1
- package/dist/collection/components/header/header-item/header-item.js +2 -2
- package/dist/collection/components/header/header-launcher/header-launcher.js +2 -2
- package/dist/collection/components/header/header-launcher-button/header-launcher-button.js +1 -1
- package/dist/collection/components/header/header-launcher-grid/header-launcher-grid.js +1 -1
- package/dist/collection/components/header/header-launcher-grid-item/header-launcher-grid-item.js +1 -1
- package/dist/collection/components/header/header-launcher-grid-title/header-launcher-grid-title.js +1 -1
- package/dist/collection/components/header/header-launcher-list/header-launcher-list.js +1 -1
- package/dist/collection/components/header/header-launcher-list-item/header-launcher-list-item.js +1 -1
- package/dist/collection/components/header/header-launcher-list-title/header-launcher-list-title.js +1 -1
- package/dist/collection/components/header/header-title/header-title.js +1 -1
- package/dist/collection/components/header/header.js +1 -1
- package/dist/collection/components/icon/icon.js +24 -6
- package/dist/collection/components/link/link.js +2 -2
- package/dist/collection/components/message/message.js +2 -2
- package/dist/collection/components/modal/modal.css +1 -1
- package/dist/collection/components/modal/modal.js +1 -1
- package/dist/collection/components/popover-canvas/popover-canvas.js +2 -2
- package/dist/collection/components/popover-core/popover-core.js +1 -1
- package/dist/collection/components/popover-menu/popover-menu-item/popover-menu-item.js +2 -2
- package/dist/collection/components/popover-menu/popover-menu.js +2 -2
- package/dist/collection/components/radio-button/radio-button.js +1 -1
- package/dist/collection/components/side-menu/side-menu-close-button/side-menu-close-button.js +1 -1
- package/dist/collection/components/side-menu/side-menu-collapse-button/side-menu-collapse-button.js +4 -4
- package/dist/collection/components/side-menu/side-menu-dropdown/side-menu-dropdown.js +3 -3
- package/dist/collection/components/side-menu/side-menu-dropdown-list/side-menu-dropdown-list.js +2 -2
- package/dist/collection/components/side-menu/side-menu-dropdown-list-item/side-menu-dropdown-list-item.js +2 -2
- package/dist/collection/components/side-menu/side-menu-item/side-menu-item.js +2 -2
- package/dist/collection/components/side-menu/side-menu-overlay/side-menu-overlay.js +1 -1
- package/dist/collection/components/side-menu/side-menu-user/side-menu-user.js +1 -1
- package/dist/collection/components/side-menu/side-menu-user-image/side-menu-user-image.js +1 -1
- package/dist/collection/components/side-menu/side-menu-user-label/side-menu-user-label.js +1 -1
- package/dist/collection/components/side-menu/side-menu.js +3 -3
- package/dist/collection/components/slider/slider.js +6 -6
- package/dist/collection/components/spinner/spinner.js +1 -1
- package/dist/collection/components/stepper/step/step.js +1 -1
- package/dist/collection/components/stepper/stepper.js +1 -1
- package/dist/collection/components/table/table/table.js +3 -3
- package/dist/collection/components/table/table-body/table-body.js +1 -1
- package/dist/collection/components/table/table-body-cell/table-body-cell.js +2 -2
- package/dist/collection/components/table/table-body-row/table-body-row.js +21 -2
- package/dist/collection/components/table/table-body-row-expandable/table-body-row-expandable.js +2 -2
- package/dist/collection/components/table/table-footer/table-footer.js +1 -1
- package/dist/collection/components/table/table-header/table-header.js +24 -5
- package/dist/collection/components/table/table-header-cell/table-header-cell.js +14 -11
- package/dist/collection/components/table/table-toolbar/table-toolbar.js +1 -1
- package/dist/collection/components/tabs/folder-tabs/folder-tab/folder-tab.js +2 -2
- package/dist/collection/components/tabs/folder-tabs/folder-tabs.js +2 -2
- package/dist/collection/components/tabs/inline-tabs/inline-tab/inline-tab.js +2 -2
- package/dist/collection/components/tabs/inline-tabs/inline-tabs.js +2 -2
- package/dist/collection/components/tabs/navigation-tabs/navigation-tab/navigation-tab.js +2 -2
- package/dist/collection/components/tabs/navigation-tabs/navigation-tabs.js +2 -2
- package/dist/collection/components/text-field/text-field.js +41 -5
- package/dist/collection/components/textarea/textarea.js +3 -3
- package/dist/collection/components/toast/toast.js +4 -4
- package/dist/collection/components/toggle/toggle.js +1 -1
- package/dist/collection/components/tooltip/tooltip.js +2 -2
- package/dist/components/checkbox.js +4 -4
- package/dist/components/core-header-item.js +3 -2
- package/dist/components/divider.js +3 -2
- package/dist/components/header-dropdown-list-item.js +4 -3
- package/dist/components/header-dropdown-list.js +3 -2
- package/dist/components/header-item.js +4 -3
- package/dist/components/header-launcher-button.js +3 -2
- package/dist/components/icon.js +7 -4
- package/dist/components/popover-canvas.js +4 -3
- package/dist/components/popover-core.js +1 -1
- package/dist/components/side-menu-item.js +4 -3
- package/dist/components/side-menu-user-image.js +3 -2
- package/dist/components/side-menu-user-label.js +3 -2
- package/dist/components/tds-accordion-item.js +5 -4
- package/dist/components/tds-accordion.js +3 -2
- package/dist/components/tds-badge.js +3 -2
- package/dist/components/tds-banner.js +4 -3
- package/dist/components/tds-block.js +3 -2
- package/dist/components/tds-body-cell.js +4 -3
- package/dist/components/tds-breadcrumb.js +3 -2
- package/dist/components/tds-breadcrumbs.js +3 -2
- package/dist/components/tds-button.js +3 -2
- package/dist/components/tds-card.js +3 -2
- package/dist/components/tds-chip.js +4 -3
- package/dist/components/tds-datetime.js +11 -5
- package/dist/components/tds-dropdown-option.js +3 -2
- package/dist/components/tds-dropdown.js +6 -5
- package/dist/components/tds-folder-tab.js +4 -3
- package/dist/components/tds-folder-tabs.js +4 -3
- package/dist/components/tds-footer-group.js +5 -4
- package/dist/components/tds-footer-item.js +3 -2
- package/dist/components/tds-footer.js +3 -2
- package/dist/components/tds-header-brand-symbol.js +3 -2
- package/dist/components/tds-header-cell.js +5 -4
- package/dist/components/tds-header-dropdown-list-user.js +3 -2
- package/dist/components/tds-header-dropdown.js +5 -4
- package/dist/components/tds-header-hamburger.js +3 -2
- package/dist/components/tds-header-launcher-grid-item.js +3 -2
- package/dist/components/tds-header-launcher-grid-title.js +3 -2
- package/dist/components/tds-header-launcher-grid.js +3 -2
- package/dist/components/tds-header-launcher-list-item.js +3 -2
- package/dist/components/tds-header-launcher-list-title.js +3 -2
- package/dist/components/tds-header-launcher-list.js +1 -1
- package/dist/components/tds-header-launcher.js +4 -3
- package/dist/components/tds-header-title.js +3 -2
- package/dist/components/tds-header.js +3 -2
- package/dist/components/tds-inline-tab.js +4 -3
- package/dist/components/tds-inline-tabs.js +4 -3
- package/dist/components/tds-link.js +4 -3
- package/dist/components/tds-message.js +4 -3
- package/dist/components/tds-modal.js +4 -3
- package/dist/components/tds-navigation-tab.js +4 -3
- package/dist/components/tds-navigation-tabs.js +4 -3
- package/dist/components/tds-popover-menu-item.js +4 -3
- package/dist/components/tds-popover-menu.js +4 -3
- package/dist/components/tds-radio-button.js +3 -2
- package/dist/components/tds-side-menu-close-button.js +3 -2
- package/dist/components/tds-side-menu-collapse-button.js +6 -5
- package/dist/components/tds-side-menu-dropdown-list-item.js +4 -3
- package/dist/components/tds-side-menu-dropdown-list.js +4 -3
- package/dist/components/tds-side-menu-dropdown.js +5 -4
- package/dist/components/tds-side-menu-overlay.js +3 -2
- package/dist/components/tds-side-menu-user.js +3 -2
- package/dist/components/tds-side-menu.js +5 -4
- package/dist/components/tds-slider.js +8 -7
- package/dist/components/tds-spinner.js +3 -2
- package/dist/components/tds-step.js +3 -2
- package/dist/components/tds-stepper.js +3 -2
- package/dist/components/tds-table-body-row-expandable.js +4 -3
- package/dist/components/tds-table-body-row.js +6 -3
- package/dist/components/tds-table-body.js +3 -2
- package/dist/components/tds-table-footer.js +3 -2
- package/dist/components/tds-table-header.js +6 -3
- package/dist/components/tds-table-toolbar.js +3 -2
- package/dist/components/tds-table.js +5 -4
- package/dist/components/tds-text-field.js +9 -4
- package/dist/components/tds-textarea.js +5 -4
- package/dist/components/tds-toast.js +6 -5
- package/dist/components/tds-toggle.js +3 -2
- package/dist/components/tds-tooltip.js +4 -3
- package/dist/esm/{index-6e6ff771.js → index-ab4edc4a.js} +33 -13
- package/dist/esm/loader.js +3 -3
- package/dist/esm/tds-accordion-item.entry.js +6 -5
- package/dist/esm/tds-accordion.entry.js +4 -3
- package/dist/esm/tds-badge.entry.js +4 -3
- package/dist/esm/tds-banner.entry.js +5 -4
- package/dist/esm/tds-block.entry.js +4 -3
- package/dist/esm/tds-body-cell.entry.js +5 -4
- package/dist/esm/tds-breadcrumb.entry.js +4 -3
- package/dist/esm/tds-breadcrumbs.entry.js +4 -3
- package/dist/esm/tds-button.entry.js +4 -3
- package/dist/esm/tds-card.entry.js +4 -3
- package/dist/esm/tds-checkbox.entry.js +5 -5
- package/dist/esm/tds-chip.entry.js +5 -4
- package/dist/esm/tds-core-header-item_2.entry.js +8 -6
- package/dist/esm/tds-datetime.entry.js +9 -4
- package/dist/esm/tds-divider.entry.js +4 -3
- package/dist/esm/tds-dropdown-option.entry.js +4 -3
- package/dist/esm/tds-dropdown.entry.js +7 -6
- package/dist/esm/tds-folder-tab.entry.js +5 -4
- package/dist/esm/tds-folder-tabs.entry.js +5 -4
- package/dist/esm/tds-footer-group.entry.js +6 -5
- package/dist/esm/tds-footer-item.entry.js +4 -3
- package/dist/esm/tds-footer.entry.js +4 -3
- package/dist/esm/tds-header-brand-symbol.entry.js +4 -3
- package/dist/esm/tds-header-cell.entry.js +6 -5
- package/dist/esm/tds-header-dropdown-list-item.entry.js +5 -4
- package/dist/esm/tds-header-dropdown-list-user.entry.js +4 -3
- package/dist/esm/tds-header-dropdown-list.entry.js +4 -3
- package/dist/esm/tds-header-dropdown.entry.js +6 -5
- package/dist/esm/tds-header-hamburger.entry.js +4 -3
- package/dist/esm/tds-header-launcher-button.entry.js +4 -3
- package/dist/esm/tds-header-launcher-grid-item.entry.js +4 -3
- package/dist/esm/tds-header-launcher-grid-title.entry.js +4 -3
- package/dist/esm/tds-header-launcher-grid.entry.js +4 -3
- package/dist/esm/tds-header-launcher-list-item.entry.js +4 -3
- package/dist/esm/tds-header-launcher-list-title.entry.js +4 -3
- package/dist/esm/tds-header-launcher-list.entry.js +2 -2
- package/dist/esm/tds-header-launcher.entry.js +5 -4
- package/dist/esm/tds-header-title.entry.js +4 -3
- package/dist/esm/tds-header.entry.js +4 -3
- package/dist/esm/tds-icon.entry.js +7 -5
- package/dist/esm/tds-inline-tab.entry.js +5 -4
- package/dist/esm/tds-inline-tabs.entry.js +5 -4
- package/dist/esm/tds-link.entry.js +5 -4
- package/dist/esm/tds-message.entry.js +5 -4
- package/dist/esm/tds-modal.entry.js +5 -4
- package/dist/esm/tds-navigation-tab.entry.js +5 -4
- package/dist/esm/tds-navigation-tabs.entry.js +5 -4
- package/dist/esm/tds-popover-canvas.entry.js +5 -4
- package/dist/esm/tds-popover-core.entry.js +2 -2
- package/dist/esm/tds-popover-menu-item.entry.js +5 -4
- package/dist/esm/tds-popover-menu.entry.js +5 -4
- package/dist/esm/tds-radio-button.entry.js +4 -3
- package/dist/esm/tds-side-menu-close-button.entry.js +4 -3
- package/dist/esm/tds-side-menu-collapse-button.entry.js +7 -6
- package/dist/esm/tds-side-menu-dropdown-list-item.entry.js +5 -4
- package/dist/esm/tds-side-menu-dropdown-list.entry.js +5 -4
- package/dist/esm/tds-side-menu-dropdown.entry.js +6 -5
- package/dist/esm/tds-side-menu-item.entry.js +5 -4
- package/dist/esm/tds-side-menu-overlay.entry.js +4 -3
- package/dist/esm/tds-side-menu-user-image_2.entry.js +7 -5
- package/dist/esm/tds-side-menu-user.entry.js +4 -3
- package/dist/esm/tds-side-menu.entry.js +6 -5
- package/dist/esm/tds-slider.entry.js +9 -8
- package/dist/esm/tds-spinner.entry.js +4 -3
- package/dist/esm/tds-step.entry.js +4 -3
- package/dist/esm/tds-stepper.entry.js +4 -3
- package/dist/esm/tds-table-body-row-expandable.entry.js +5 -4
- package/dist/esm/tds-table-body-row.entry.js +6 -4
- package/dist/esm/tds-table-body.entry.js +4 -3
- package/dist/esm/tds-table-footer.entry.js +4 -3
- package/dist/esm/tds-table-header.entry.js +6 -4
- package/dist/esm/tds-table-toolbar.entry.js +4 -3
- package/dist/esm/tds-table.entry.js +6 -5
- package/dist/esm/tds-text-field.entry.js +8 -5
- package/dist/esm/tds-textarea.entry.js +6 -5
- package/dist/esm/tds-toast.entry.js +7 -6
- package/dist/esm/tds-toggle.entry.js +4 -3
- package/dist/esm/tds-tooltip.entry.js +5 -4
- package/dist/esm/tegel.js +4 -4
- package/dist/tegel/p-013d0bd6.entry.js +1 -0
- package/dist/tegel/p-048b8480.entry.js +1 -0
- package/dist/tegel/{p-8fedca76.entry.js → p-0c564ca1.entry.js} +1 -1
- package/dist/tegel/p-145808cf.entry.js +1 -0
- package/dist/tegel/p-1590e242.entry.js +1 -0
- package/dist/tegel/p-17b8763f.entry.js +1 -0
- package/dist/tegel/p-1b671dbc.entry.js +1 -0
- package/dist/tegel/p-200def59.entry.js +1 -0
- package/dist/tegel/p-23ed39c5.entry.js +1 -0
- package/dist/tegel/{p-fc3df599.entry.js → p-24466c21.entry.js} +1 -1
- package/dist/tegel/p-25616b50.entry.js +1 -0
- package/dist/tegel/p-2d534698.entry.js +1 -0
- package/dist/tegel/p-2fb7f571.entry.js +1 -0
- package/dist/tegel/p-30417aac.entry.js +1 -0
- package/dist/tegel/p-30dc9a8b.entry.js +1 -0
- package/dist/tegel/p-32f13b73.entry.js +1 -0
- package/dist/tegel/p-36db31d4.entry.js +1 -0
- package/dist/tegel/p-391b6b34.entry.js +1 -0
- package/dist/tegel/p-40519ff4.entry.js +1 -0
- package/dist/tegel/p-447ecb47.entry.js +1 -0
- package/dist/tegel/p-4aa948cf.entry.js +1 -0
- package/dist/tegel/p-4ac12ddb.entry.js +1 -0
- package/dist/tegel/p-4ca0f396.entry.js +1 -0
- package/dist/tegel/p-5047cf31.entry.js +1 -0
- package/dist/tegel/p-521fd6fe.entry.js +1 -0
- package/dist/tegel/p-55afd9bb.entry.js +1 -0
- package/dist/tegel/p-5b23048d.entry.js +1 -0
- package/dist/tegel/p-5c528867.entry.js +1 -0
- package/dist/tegel/p-5ec7c389.entry.js +1 -0
- package/dist/tegel/p-61b2e46f.entry.js +1 -0
- package/dist/tegel/p-632a58e4.entry.js +1 -0
- package/dist/tegel/p-68821acd.entry.js +1 -0
- package/dist/tegel/p-68f0f81d.entry.js +1 -0
- package/dist/tegel/p-6bb7fa2c.js +2 -0
- package/dist/tegel/p-6bca93b8.entry.js +1 -0
- package/dist/tegel/p-6e4cda16.entry.js +1 -0
- package/dist/tegel/p-6fa16688.entry.js +1 -0
- package/dist/tegel/p-708a52b1.entry.js +1 -0
- package/dist/tegel/p-71063a5a.entry.js +1 -0
- package/dist/tegel/p-72b79121.entry.js +1 -0
- package/dist/tegel/p-77a5d874.entry.js +1 -0
- package/dist/tegel/p-7b9149c0.entry.js +1 -0
- package/dist/tegel/p-7bbfa1ea.entry.js +1 -0
- package/dist/tegel/p-81cc50f8.entry.js +1 -0
- package/dist/tegel/p-825fd938.entry.js +1 -0
- package/dist/tegel/p-8af4737f.entry.js +1 -0
- package/dist/tegel/p-8df9b81f.entry.js +1 -0
- package/dist/tegel/p-8e40b046.entry.js +1 -0
- package/dist/tegel/p-8e442441.entry.js +1 -0
- package/dist/tegel/p-9544a2e7.entry.js +1 -0
- package/dist/tegel/p-9731cc82.entry.js +1 -0
- package/dist/tegel/p-9995c9e6.entry.js +1 -0
- package/dist/tegel/p-9d79f2fe.entry.js +1 -0
- package/dist/tegel/p-a0fba0df.entry.js +1 -0
- package/dist/tegel/p-a2934b2a.entry.js +1 -0
- package/dist/tegel/p-a2ad0d53.entry.js +1 -0
- package/dist/tegel/p-ab76d48c.entry.js +1 -0
- package/dist/tegel/p-adddb2db.entry.js +1 -0
- package/dist/tegel/p-ae5db9b9.entry.js +1 -0
- package/dist/tegel/p-b13959d0.entry.js +1 -0
- package/dist/tegel/p-b8cc0ab0.entry.js +1 -0
- package/dist/tegel/p-b91045a2.entry.js +1 -0
- package/dist/tegel/p-c0ced88a.entry.js +1 -0
- package/dist/tegel/p-c3ad28ea.entry.js +1 -0
- package/dist/tegel/p-c95a8a36.entry.js +1 -0
- package/dist/tegel/p-c9f701f6.entry.js +1 -0
- package/dist/tegel/p-cb080d0b.entry.js +1 -0
- package/dist/tegel/p-cd406a82.entry.js +1 -0
- package/dist/tegel/p-cd93fb3a.entry.js +1 -0
- package/dist/tegel/p-d604194c.entry.js +1 -0
- package/dist/tegel/p-d8b12e59.entry.js +1 -0
- package/dist/tegel/p-db20a6e9.entry.js +1 -0
- package/dist/tegel/p-dc35de46.entry.js +1 -0
- package/dist/tegel/p-e2f1a7a2.entry.js +1 -0
- package/dist/tegel/p-e35f0c64.entry.js +1 -0
- package/dist/tegel/p-eda20d0d.entry.js +1 -0
- package/dist/tegel/p-ee537028.entry.js +1 -0
- package/dist/tegel/p-f51101e4.entry.js +1 -0
- package/dist/tegel/p-fa3bd57f.entry.js +1 -0
- package/dist/tegel/tegel.esm.js +1 -1
- package/dist/types/components/datetime/datetime.d.ts +3 -1
- package/dist/types/components/icon/icon.d.ts +6 -3
- package/dist/types/components/table/table-body-row/table-body-row.d.ts +2 -0
- package/dist/types/components/table/table-header/table-header.d.ts +5 -3
- package/dist/types/components/table/table-header-cell/table-header-cell.d.ts +14 -8
- package/dist/types/components/text-field/text-field.d.ts +5 -1
- package/dist/types/components.d.ts +66 -22
- package/package.json +2 -2
- package/dist/collection/components/accordion/accordion.stories.js +0 -100
- package/dist/collection/components/accordion/test/basic/accordion.e2e.js +0 -19
- package/dist/collection/components/accordion/test/disabled/accordion.e2e.js +0 -19
- package/dist/collection/components/accordion/test/expanded/accordion.e2e.js +0 -24
- package/dist/collection/components/accordion/test/padding-reset/accordion.e2e.js +0 -24
- package/dist/collection/components/badge/badge.stories.js +0 -106
- package/dist/collection/components/badge/test/basic/badge.e2e.js +0 -10
- package/dist/collection/components/badge/test/value/badge.e2e.js +0 -11
- package/dist/collection/components/banner/banner.stories.js +0 -92
- package/dist/collection/components/banner/test/basic/banner.e2e.js +0 -15
- package/dist/collection/components/banner/test/default/banner.e2e.js +0 -37
- package/dist/collection/components/banner/test/error/banner.e2e.js +0 -15
- package/dist/collection/components/banner/test/information/banner.e2e.js +0 -15
- package/dist/collection/components/block/block.stories.js +0 -49
- package/dist/collection/components/breadcrumbs/breadcrumbs.stories.js +0 -36
- package/dist/collection/components/breadcrumbs/test/default/breadcrumbs.e2e.js +0 -33
- package/dist/collection/components/button/button.stories.js +0 -185
- package/dist/collection/components/button/test/basic/button.e2e.js +0 -35
- package/dist/collection/components/button/test/danger/button.e2e.js +0 -18
- package/dist/collection/components/button/test/disabled/button.e2e.js +0 -24
- package/dist/collection/components/button/test/ghost/button.e2e.js +0 -18
- package/dist/collection/components/button/test/icon/button.e2e.js +0 -38
- package/dist/collection/components/button/test/secondary/button.e2e.js +0 -18
- package/dist/collection/components/card/card.stories.js +0 -163
- package/dist/collection/components/card/test/basic/card.e2e.js +0 -10
- package/dist/collection/components/card/test/clickable/card.e2e.js +0 -21
- package/dist/collection/components/card/test/default/card.e2e.js +0 -33
- package/dist/collection/components/checkbox/checkbox.stories.js +0 -93
- package/dist/collection/components/chip/chip.stories.js +0 -230
- package/dist/collection/components/datetime/datetime.stories.js +0 -219
- package/dist/collection/components/divider/divider.stories.js +0 -62
- package/dist/collection/components/dropdown/dropdown.stories.js +0 -260
- package/dist/collection/components/dropdown/test/basic/dropdown.e2e.js +0 -41
- package/dist/collection/components/dropdown/test/default/dropdown.e2e.js +0 -76
- package/dist/collection/components/dropdown/test/error/dropdown.e2e.js +0 -36
- package/dist/collection/components/dropdown/test/filter/dropdown.e2e.js +0 -56
- package/dist/collection/components/dropdown/test/filter/hide-no-result-message/dropdown.e2e.js +0 -23
- package/dist/collection/components/dropdown/test/filter/normalize-text-false/dropdown.e2e.js +0 -43
- package/dist/collection/components/dropdown/test/multiselect/dropdown.e2e.js +0 -81
- package/dist/collection/components/footer/footer.stories.js +0 -145
- package/dist/collection/components/footer/test/default/footer.e2e.js +0 -34
- package/dist/collection/components/header/header.stories.js +0 -82
- package/dist/collection/components/header/test/default/header.e2e.js +0 -44
- package/dist/collection/components/icon/icon.stories.js +0 -48
- package/dist/collection/components/link/link.stories.js +0 -59
- package/dist/collection/components/message/message.stories.js +0 -109
- package/dist/collection/components/message/test/basic/message.e2e.js +0 -16
- package/dist/collection/components/message/test/error/message.e2e.js +0 -28
- package/dist/collection/components/message/test/information/message.e2e.js +0 -10
- package/dist/collection/components/message/test/success/message.e2e.js +0 -10
- package/dist/collection/components/message/test/warning/message.e2e.js +0 -10
- package/dist/collection/components/modal/modal.stories.js +0 -119
- package/dist/collection/components/modal/test/default/modal.e2e.js +0 -28
- package/dist/collection/components/modal/test/open-close/modal.e2e.js +0 -63
- package/dist/collection/components/modal/test/prevent-true/modal.e2e.js +0 -13
- package/dist/collection/components/popover-canvas/popover-canvas.stories.js +0 -92
- package/dist/collection/components/popover-canvas/test/default/popover-canvas.e2e.js +0 -30
- package/dist/collection/components/popover-canvas/test/show-false/popover-canvas.e2e.js +0 -30
- package/dist/collection/components/popover-canvas/test/show-true/popover-canvas.e2e.js +0 -30
- package/dist/collection/components/popover-menu/popover-menu.stories.js +0 -146
- package/dist/collection/components/popover-menu/test/default/popover-menu.e2e.js +0 -60
- package/dist/collection/components/popover-menu/test/icons-fluid/popover-menu.e2e.js +0 -27
- package/dist/collection/components/popover-menu/test/show/popover-menu.e2e.js +0 -20
- package/dist/collection/components/popover-menu/test/show-false/popover-menu.e2e.js +0 -20
- package/dist/collection/components/radio-button/radio-button.stories.js +0 -91
- package/dist/collection/components/side-menu/side-menu.stories.js +0 -224
- package/dist/collection/components/side-menu/test/collapsible/side-menu.e2e.js +0 -28
- package/dist/collection/components/side-menu/test/default/side-menu.e2e.js +0 -38
- package/dist/collection/components/slider/slider.stories.js +0 -243
- package/dist/collection/components/spinner/spinner.stories.js +0 -61
- package/dist/collection/components/stepper/stepper.stories.js +0 -95
- package/dist/collection/components/table/table/test/batch/table.e2e.js +0 -24
- package/dist/collection/components/table/table/test/default/table.e2e.js +0 -46
- package/dist/collection/components/table/table/test/expandable-row/table.e2e.js +0 -64
- package/dist/collection/components/table/table/test/filtering/table.e2e.js +0 -41
- package/dist/collection/components/table/table/test/multiselect/table.e2e.js +0 -47
- package/dist/collection/components/table/table/test/pagination/table.e2e.js +0 -53
- package/dist/collection/components/table/table/test/sorting/table.e2e.js +0 -36
- package/dist/collection/components/table/table-component-basic.stories.js +0 -184
- package/dist/collection/components/table/table-component-batch-actions.stories.js +0 -188
- package/dist/collection/components/table/table-component-custom-width.stories.js +0 -174
- package/dist/collection/components/table/table-component-expandable-rows.stories.js +0 -160
- package/dist/collection/components/table/table-component-filtering.stories.js +0 -195
- package/dist/collection/components/table/table-component-multiselect.stories.js +0 -211
- package/dist/collection/components/table/table-component-pagination.stories.js +0 -196
- package/dist/collection/components/table/table-component-sorting.stories.js +0 -240
- package/dist/collection/components/tabs/folder-tabs/folder-tabs.stories.js +0 -105
- package/dist/collection/components/tabs/inline-tabs/inline-tabs.stories.js +0 -99
- package/dist/collection/components/tabs/navigation-tabs/navigation-tabs.stories.js +0 -101
- package/dist/collection/components/text-field/text-field.stories.js +0 -247
- package/dist/collection/components/textarea/test/basic/textarea.e2e.js +0 -26
- package/dist/collection/components/textarea/test/default/textarea.e2e.js +0 -34
- package/dist/collection/components/textarea/test/read-only/textarea.e2e.js +0 -26
- package/dist/collection/components/textarea/textarea.stories.js +0 -188
- package/dist/collection/components/toast/toast.stories.js +0 -90
- package/dist/collection/components/toggle/toggle.stories.js +0 -95
- package/dist/collection/components/tooltip/tooltip.stories.js +0 -126
- package/dist/collection/stories/Installation/angular.stories.js +0 -111
- package/dist/collection/stories/Installation/javascript.stories.js +0 -99
- package/dist/collection/stories/Installation/react.stories.js +0 -117
- package/dist/collection/stories/announcements/announce-tegel.stories.js +0 -262
- package/dist/collection/stories/announcements/prefix-change.stories.js +0 -93
- package/dist/collection/stories/formatHtmlPreview.js +0 -10
- package/dist/collection/stories/foundations/color/color-brand.stories.js +0 -38
- package/dist/collection/stories/foundations/color/color-scales.stories.js +0 -71
- package/dist/collection/stories/foundations/color/color-semantic.stories.js +0 -40
- package/dist/collection/stories/foundations/grid/grid.stories.js +0 -386
- package/dist/collection/stories/foundations/spacing/spacing-element.stories.js +0 -100
- package/dist/collection/stories/foundations/spacing/spacing-layout.stories.js +0 -94
- package/dist/collection/stories/foundations/typography/typography-body.stories.js +0 -16
- package/dist/collection/stories/foundations/typography/typography-detail.stories.js +0 -17
- package/dist/collection/stories/foundations/typography/typography-headline.stories.js +0 -39
- package/dist/collection/stories/foundations/typography/typography-paragraph.stories.js +0 -12
- package/dist/collection/stories/patterns/navigation/navigation-basic.stories.js +0 -85
- package/dist/collection/stories/patterns/navigation/navigation-fewitems.stories.js +0 -259
- package/dist/collection/stories/patterns/navigation/navigation-manyitems.stories.js +0 -247
- package/dist/collection/stories/patterns/navigation/navigation-user-menu.stories.js +0 -140
- package/dist/collection/stories/tegel.stories.js +0 -283
- package/dist/collection/stories/utility/color/background-color.stories.js +0 -96
- package/dist/collection/stories/utility/color/text-color.stories.js +0 -94
- package/dist/tegel/p-0657ff1a.entry.js +0 -1
- package/dist/tegel/p-0d0c6493.entry.js +0 -1
- package/dist/tegel/p-18940c9c.entry.js +0 -1
- package/dist/tegel/p-1945a0f3.entry.js +0 -1
- package/dist/tegel/p-1a7230e1.entry.js +0 -1
- package/dist/tegel/p-1e4217c5.entry.js +0 -1
- package/dist/tegel/p-21df464d.entry.js +0 -1
- package/dist/tegel/p-24e3d7e2.entry.js +0 -1
- package/dist/tegel/p-25e56f32.entry.js +0 -1
- package/dist/tegel/p-29556a90.entry.js +0 -1
- package/dist/tegel/p-2b344346.entry.js +0 -1
- package/dist/tegel/p-2b829947.entry.js +0 -1
- package/dist/tegel/p-2c513250.entry.js +0 -1
- package/dist/tegel/p-2c8de389.entry.js +0 -1
- package/dist/tegel/p-2caafb56.entry.js +0 -1
- package/dist/tegel/p-2cdb5f19.entry.js +0 -1
- package/dist/tegel/p-2f9c1ad7.entry.js +0 -1
- package/dist/tegel/p-30f28214.entry.js +0 -1
- package/dist/tegel/p-317b5299.entry.js +0 -1
- package/dist/tegel/p-326cb2ba.entry.js +0 -1
- package/dist/tegel/p-40562f4b.entry.js +0 -1
- package/dist/tegel/p-422e53ec.entry.js +0 -1
- package/dist/tegel/p-49813878.entry.js +0 -1
- package/dist/tegel/p-4c4f5168.entry.js +0 -1
- package/dist/tegel/p-4cc28733.entry.js +0 -1
- package/dist/tegel/p-4d661599.js +0 -2
- package/dist/tegel/p-4da1c8a8.entry.js +0 -1
- package/dist/tegel/p-4e195abb.entry.js +0 -1
- package/dist/tegel/p-50978479.entry.js +0 -1
- package/dist/tegel/p-50ffec23.entry.js +0 -1
- package/dist/tegel/p-515dfcea.entry.js +0 -1
- package/dist/tegel/p-556600b1.entry.js +0 -1
- package/dist/tegel/p-55964061.entry.js +0 -1
- package/dist/tegel/p-58835a58.entry.js +0 -1
- package/dist/tegel/p-63cd5c41.entry.js +0 -1
- package/dist/tegel/p-66b5c8ba.entry.js +0 -1
- package/dist/tegel/p-6a8a1f0f.entry.js +0 -1
- package/dist/tegel/p-6ae68836.entry.js +0 -1
- package/dist/tegel/p-6dc8f2dd.entry.js +0 -1
- package/dist/tegel/p-71479b49.entry.js +0 -1
- package/dist/tegel/p-73db3fab.entry.js +0 -1
- package/dist/tegel/p-75846b6a.entry.js +0 -1
- package/dist/tegel/p-7bb9c668.entry.js +0 -1
- package/dist/tegel/p-86ae068b.entry.js +0 -1
- package/dist/tegel/p-8d22e0d4.entry.js +0 -1
- package/dist/tegel/p-8f1b824b.entry.js +0 -1
- package/dist/tegel/p-936a8c86.entry.js +0 -1
- package/dist/tegel/p-94bce2be.entry.js +0 -1
- package/dist/tegel/p-981e917a.entry.js +0 -1
- package/dist/tegel/p-98716bbf.entry.js +0 -1
- package/dist/tegel/p-9a00d07e.entry.js +0 -1
- package/dist/tegel/p-a3f6cc1e.entry.js +0 -1
- package/dist/tegel/p-aa069789.entry.js +0 -1
- package/dist/tegel/p-aa627d7b.entry.js +0 -1
- package/dist/tegel/p-aebe9fdf.entry.js +0 -1
- package/dist/tegel/p-be72cf43.entry.js +0 -1
- package/dist/tegel/p-bf95003c.entry.js +0 -1
- package/dist/tegel/p-c6553022.entry.js +0 -1
- package/dist/tegel/p-c7b2017c.entry.js +0 -1
- package/dist/tegel/p-ca6b5098.entry.js +0 -1
- package/dist/tegel/p-ceb13ac1.entry.js +0 -1
- package/dist/tegel/p-d08d8a44.entry.js +0 -1
- package/dist/tegel/p-d2efffab.entry.js +0 -1
- package/dist/tegel/p-d33b5f47.entry.js +0 -1
- package/dist/tegel/p-d82ec760.entry.js +0 -1
- package/dist/tegel/p-d82fecc1.entry.js +0 -1
- package/dist/tegel/p-dc2b8ccc.entry.js +0 -1
- package/dist/tegel/p-dee090d9.entry.js +0 -1
- package/dist/tegel/p-df3d220d.entry.js +0 -1
- package/dist/tegel/p-ea6b7621.entry.js +0 -1
- package/dist/tegel/p-ed69bc61.entry.js +0 -1
- package/dist/tegel/p-f4011972.entry.js +0 -1
- package/dist/tegel/p-f54daf7d.entry.js +0 -1
- package/dist/tegel/p-f801cf0e.entry.js +0 -1
- package/dist/tegel/p-fc250504.entry.js +0 -1
- package/dist/tegel/p-fcfb96da.entry.js +0 -1
- package/dist/tegel/p-fe2a3b1d.entry.js +0 -1
- package/dist/types/components/accordion/accordion.stories.d.ts +0 -77
- package/dist/types/components/badge/badge.stories.d.ts +0 -73
- package/dist/types/components/banner/banner.stories.d.ts +0 -69
- package/dist/types/components/block/block.stories.d.ts +0 -32
- package/dist/types/components/breadcrumbs/breadcrumbs.stories.d.ts +0 -16
- package/dist/types/components/button/button.stories.d.ts +0 -147
- package/dist/types/components/card/card.stories.d.ts +0 -128
- package/dist/types/components/checkbox/checkbox.stories.d.ts +0 -65
- package/dist/types/components/chip/chip.stories.d.ts +0 -99
- package/dist/types/components/datetime/datetime.stories.d.ts +0 -151
- package/dist/types/components/divider/divider.stories.d.ts +0 -58
- package/dist/types/components/dropdown/dropdown.stories.d.ts +0 -205
- package/dist/types/components/footer/footer.stories.d.ts +0 -44
- package/dist/types/components/header/header.stories.d.ts +0 -32
- package/dist/types/components/icon/icon.stories.d.ts +0 -36
- package/dist/types/components/link/link.stories.d.ts +0 -44
- package/dist/types/components/message/message.stories.d.ts +0 -88
- package/dist/types/components/modal/modal.stories.d.ts +0 -78
- package/dist/types/components/popover-canvas/popover-canvas.stories.d.ts +0 -27
- package/dist/types/components/popover-menu/popover-menu.stories.d.ts +0 -51
- package/dist/types/components/radio-button/radio-button.stories.d.ts +0 -39
- package/dist/types/components/side-menu/side-menu.stories.d.ts +0 -65
- package/dist/types/components/slider/slider.stories.d.ts +0 -235
- package/dist/types/components/spinner/spinner.stories.d.ts +0 -46
- package/dist/types/components/stepper/stepper.stories.d.ts +0 -80
- package/dist/types/components/table/table-component-basic.stories.d.ts +0 -144
- package/dist/types/components/table/table-component-batch-actions.stories.d.ts +0 -139
- package/dist/types/components/table/table-component-custom-width.stories.d.ts +0 -131
- package/dist/types/components/table/table-component-expandable-rows.stories.d.ts +0 -131
- package/dist/types/components/table/table-component-filtering.stories.d.ts +0 -131
- package/dist/types/components/table/table-component-multiselect.stories.d.ts +0 -147
- package/dist/types/components/table/table-component-pagination.stories.d.ts +0 -131
- package/dist/types/components/table/table-component-sorting.stories.d.ts +0 -183
- package/dist/types/components/tabs/folder-tabs/folder-tabs.stories.d.ts +0 -69
- package/dist/types/components/tabs/inline-tabs/inline-tabs.stories.d.ts +0 -61
- package/dist/types/components/tabs/navigation-tabs/navigation-tabs.stories.d.ts +0 -61
- package/dist/types/components/text-field/text-field.stories.d.ts +0 -201
- package/dist/types/components/textarea/textarea.stories.d.ts +0 -139
- package/dist/types/components/toast/toast.stories.d.ts +0 -64
- package/dist/types/components/toggle/toggle.stories.d.ts +0 -74
- package/dist/types/components/tooltip/tooltip.stories.d.ts +0 -66
- package/dist/types/stories/Installation/angular.stories.d.ts +0 -6
- package/dist/types/stories/Installation/javascript.stories.d.ts +0 -7
- package/dist/types/stories/Installation/react.stories.d.ts +0 -6
- package/dist/types/stories/announcements/announce-tegel.stories.d.ts +0 -6
- package/dist/types/stories/announcements/prefix-change.stories.d.ts +0 -6
- package/dist/types/stories/formatHtmlPreview.d.ts +0 -2
- package/dist/types/stories/foundations/color/color-brand.stories.d.ts +0 -13
- package/dist/types/stories/foundations/color/color-scales.stories.d.ts +0 -30
- package/dist/types/stories/foundations/color/color-semantic.stories.d.ts +0 -13
- package/dist/types/stories/foundations/grid/grid.stories.d.ts +0 -35
- package/dist/types/stories/foundations/spacing/spacing-element.stories.d.ts +0 -8
- package/dist/types/stories/foundations/spacing/spacing-layout.stories.d.ts +0 -8
- package/dist/types/stories/foundations/typography/typography-body.stories.d.ts +0 -8
- package/dist/types/stories/foundations/typography/typography-detail.stories.d.ts +0 -8
- package/dist/types/stories/foundations/typography/typography-headline.stories.d.ts +0 -21
- package/dist/types/stories/foundations/typography/typography-paragraph.stories.d.ts +0 -8
- package/dist/types/stories/patterns/navigation/navigation-basic.stories.d.ts +0 -23
- package/dist/types/stories/patterns/navigation/navigation-fewitems.stories.d.ts +0 -23
- package/dist/types/stories/patterns/navigation/navigation-manyitems.stories.d.ts +0 -38
- package/dist/types/stories/patterns/navigation/navigation-user-menu.stories.d.ts +0 -33
- package/dist/types/stories/tegel.stories.d.ts +0 -6
- package/dist/types/stories/utility/color/background-color.stories.d.ts +0 -64
- package/dist/types/stories/utility/color/text-color.stories.d.ts +0 -64
|
@@ -1,386 +0,0 @@
|
|
|
1
|
-
import formatHtmlPreview from "../../formatHtmlPreview";
|
|
2
|
-
export default {
|
|
3
|
-
title: 'Foundations/Grid',
|
|
4
|
-
parameters: {
|
|
5
|
-
layout: 'fullscreen',
|
|
6
|
-
},
|
|
7
|
-
args: {
|
|
8
|
-
fluidContainer: false,
|
|
9
|
-
padding: true,
|
|
10
|
-
},
|
|
11
|
-
argTypes: {
|
|
12
|
-
fluidContainer: {
|
|
13
|
-
name: 'Fluid container',
|
|
14
|
-
description: 'Set container to fluid or not',
|
|
15
|
-
control: {
|
|
16
|
-
type: 'boolean',
|
|
17
|
-
},
|
|
18
|
-
},
|
|
19
|
-
padding: {
|
|
20
|
-
name: 'Fluid container',
|
|
21
|
-
description: 'Toggle padding on columns',
|
|
22
|
-
control: {
|
|
23
|
-
type: 'boolean',
|
|
24
|
-
},
|
|
25
|
-
},
|
|
26
|
-
},
|
|
27
|
-
};
|
|
28
|
-
// Styling for grid templates
|
|
29
|
-
const style = formatHtmlPreview(`
|
|
30
|
-
<style>
|
|
31
|
-
/* Demo code for presentation purposes */
|
|
32
|
-
.tds-container,
|
|
33
|
-
.tds-container-fluid {
|
|
34
|
-
background-color: #ff00009e;
|
|
35
|
-
color: black;
|
|
36
|
-
outline: 1px solid red;
|
|
37
|
-
}
|
|
38
|
-
|
|
39
|
-
.tds-row > div {
|
|
40
|
-
outline: 1px solid #ef1919;
|
|
41
|
-
background: #fbc5c5;
|
|
42
|
-
min-height: 50px;
|
|
43
|
-
}
|
|
44
|
-
|
|
45
|
-
.tds-sidebar {
|
|
46
|
-
background-color: rgba(255, 0, 0, 0.1);
|
|
47
|
-
}
|
|
48
|
-
|
|
49
|
-
.inside-demo {
|
|
50
|
-
background: #ef9191;
|
|
51
|
-
height: 100%;
|
|
52
|
-
word-break: break-word;
|
|
53
|
-
}
|
|
54
|
-
|
|
55
|
-
.container-demo {
|
|
56
|
-
margin-top: 16px;
|
|
57
|
-
}
|
|
58
|
-
|
|
59
|
-
</style>`);
|
|
60
|
-
const GridTemplate = ({ fluidContainer, padding }) => formatHtmlPreview(`
|
|
61
|
-
${style}
|
|
62
|
-
<h4>Grid</h4>
|
|
63
|
-
|
|
64
|
-
<div class="${fluidContainer === true ? 'tds-container-fluid' : 'tds-container'} ${padding === false ? 'tds-no-padding' : ''}">
|
|
65
|
-
|
|
66
|
-
<div class="tds-row">
|
|
67
|
-
<div class="tds-col-max-12 tds-col-xxlg-12 tds-col-xlg-12 tds-col-lg-12 tds-col-md-12 tds-col-sm-12 tds-col-xs-12">
|
|
68
|
-
<div class="inside-demo">12</div>
|
|
69
|
-
</div>
|
|
70
|
-
</div>
|
|
71
|
-
|
|
72
|
-
<div class="tds-row">
|
|
73
|
-
<div class="tds-col-max-11 tds-col-xxlg-11 tds-col-xlg-11 tds-col-lg-11 tds-col-md-11 tds-col-sm-11 tds-col-xs-11">
|
|
74
|
-
<div class="inside-demo">11</div>
|
|
75
|
-
</div>
|
|
76
|
-
</div>
|
|
77
|
-
|
|
78
|
-
<div class="tds-row">
|
|
79
|
-
<div class="tds-col-max-10 tds-col-xxlg-10 tds-col-xlg-10 tds-col-lg-10 tds-col-md-10 tds-col-sm-10 tds-col-xs-10">
|
|
80
|
-
<div class="inside-demo">10</div>
|
|
81
|
-
</div>
|
|
82
|
-
</div>
|
|
83
|
-
|
|
84
|
-
<div class="tds-row">
|
|
85
|
-
<div class="tds-col-max-9 tds-col-xxlg-9 tds-col-xlg-9 tds-col-lg-9 tds-col-md-9 tds-col-sm-9 tds-col-xs-9">
|
|
86
|
-
<div class="inside-demo">9</div>
|
|
87
|
-
</div>
|
|
88
|
-
</div>
|
|
89
|
-
|
|
90
|
-
<div class="tds-row">
|
|
91
|
-
<div class="tds-col-max-8 tds-col-xxlg-8 tds-col-xlg-8 tds-col-lg-8 tds-col-md-8 tds-col-sm-8 tds-col-xs-8">
|
|
92
|
-
<div class="inside-demo">8</div>
|
|
93
|
-
</div>
|
|
94
|
-
</div>
|
|
95
|
-
|
|
96
|
-
<div class="tds-row">
|
|
97
|
-
<div class="tds-col-max-7 tds-col-xxlg-7 tds-col-xlg-7 tds-col-lg-7 tds-col-md-7 tds-col-sm-7 tds-col-xs-7">
|
|
98
|
-
<div class="inside-demo">7</div>
|
|
99
|
-
</div>
|
|
100
|
-
</div>
|
|
101
|
-
|
|
102
|
-
<div class="tds-row">
|
|
103
|
-
<div class="tds-col-max-6 tds-col-xxlg-6 tds-col-xlg-6 tds-col-lg-6 tds-col-md-6 tds-col-sm-6 tds-col-xs-6">
|
|
104
|
-
<div class="inside-demo">6</div>
|
|
105
|
-
</div>
|
|
106
|
-
</div>
|
|
107
|
-
|
|
108
|
-
<div class="tds-row">
|
|
109
|
-
<div class="tds-col-max-5 tds-col-xxlg-5 tds-col-xlg-5 tds-col-lg-5 tds-col-md-5 tds-col-sm-5 tds-col-xs-5">
|
|
110
|
-
<div class="inside-demo">5</div>
|
|
111
|
-
</div>
|
|
112
|
-
</div>
|
|
113
|
-
|
|
114
|
-
<div class="tds-row">
|
|
115
|
-
<div class="tds-col-max-4 tds-col-xxlg-4 tds-col-xlg-4 tds-col-lg-4 tds-col-md-4 tds-col-sm-4 tds-col-xs-4">
|
|
116
|
-
<div class="inside-demo">4</div>
|
|
117
|
-
</div>
|
|
118
|
-
</div>
|
|
119
|
-
|
|
120
|
-
<div class="tds-row">
|
|
121
|
-
<div class="tds-col-max-3 tds-col-xxlg-3 tds-col-xlg-3 tds-col-lg-3 tds-col-md-3 tds-col-sm-3 tds-col-xs-3">
|
|
122
|
-
<div class="inside-demo">3</div>
|
|
123
|
-
</div>
|
|
124
|
-
</div>
|
|
125
|
-
|
|
126
|
-
<div class="tds-row">
|
|
127
|
-
<div class="tds-col-max-2 tds-col-xxlg-2 tds-col-xlg-2 tds-col-lg-2 tds-col-md-2 tds-col-sm-2 tds-col-xs-2">
|
|
128
|
-
<div class="inside-demo">2</div>
|
|
129
|
-
</div>
|
|
130
|
-
</div>
|
|
131
|
-
|
|
132
|
-
<div class="tds-row">
|
|
133
|
-
<div class="tds-col-max-1 tds-col-xxlg-1 tds-col-xlg-1 tds-col-lg-1 tds-col-md-1 tds-col-sm-1 tds-col-xs-1">
|
|
134
|
-
<div class="inside-demo">1</div>
|
|
135
|
-
</div>
|
|
136
|
-
</div>
|
|
137
|
-
</div>
|
|
138
|
-
`);
|
|
139
|
-
// Controls for the grid
|
|
140
|
-
export const Default = GridTemplate.bind({});
|
|
141
|
-
const GridAutoColTemplate = ({ fluidContainer, padding }) => formatHtmlPreview(`
|
|
142
|
-
${style}
|
|
143
|
-
|
|
144
|
-
<h4>Grid Auto columns</h4>
|
|
145
|
-
<h5>Container 1</h5>
|
|
146
|
-
|
|
147
|
-
<div class="${fluidContainer === true ? 'tds-container-fluid' : 'tds-container'} ${padding === false ? 'tds-no-padding' : ''}">
|
|
148
|
-
<div class="tds-row">
|
|
149
|
-
<div class="tds-col">
|
|
150
|
-
<div class="inside-demo">.tds-col</div>
|
|
151
|
-
</div>
|
|
152
|
-
</div>
|
|
153
|
-
</div>
|
|
154
|
-
|
|
155
|
-
<h5>Container 2</h5>
|
|
156
|
-
|
|
157
|
-
<div class="${fluidContainer === true ? 'tds-container-fluid' : 'tds-container'} ${padding === false ? 'tds-no-padding' : ''}">
|
|
158
|
-
<div class="tds-row">
|
|
159
|
-
<div class="tds-col-max tds-col-xxlg tds-col-xlg tds-col-lg tds-col-md tds-col-sm tds-col-xs">
|
|
160
|
-
<div class="inside-demo">.tds-col</div>
|
|
161
|
-
</div>
|
|
162
|
-
<div class="tds-col-max tds-col-xxlg tds-col-xlg tds-col-lg tds-col-md tds-col-sm tds-col-xs">
|
|
163
|
-
<div class="inside-demo">.tds-col</div>
|
|
164
|
-
</div>
|
|
165
|
-
<div class="tds-col-max tds-col-xxlg tds-col-xlg tds-col-lg tds-col-md tds-col-sm tds-col-xs">
|
|
166
|
-
<div class="inside-demo">.tds-col</div>
|
|
167
|
-
</div>
|
|
168
|
-
<div class="tds-col-max tds-col-xxlg tds-col-xlg tds-col-lg tds-col-md tds-col-sm tds-col-xs">
|
|
169
|
-
<div class="inside-demo">.tds-col</div>
|
|
170
|
-
</div>
|
|
171
|
-
</div>
|
|
172
|
-
</div>
|
|
173
|
-
|
|
174
|
-
<h5>Container 3</h5>
|
|
175
|
-
|
|
176
|
-
<div class="${fluidContainer === true ? 'tds-container-fluid' : 'tds-container'} ${padding === false ? 'tds-no-padding' : ''}">
|
|
177
|
-
<div class="tds-row">
|
|
178
|
-
<div class="tds-col-max tds-col-xxlg tds-col-xlg tds-col-lg tds-col-md tds-col-sm tds-col-xs">
|
|
179
|
-
<div class="inside-demo">.tds-col</div>
|
|
180
|
-
</div>
|
|
181
|
-
<div class="tds-col-max tds-col-xxlg tds-col-xlg tds-col-lg tds-col-md tds-col-sm tds-col-xs">
|
|
182
|
-
<div class="inside-demo">.tds-col</div>
|
|
183
|
-
</div>
|
|
184
|
-
<div class="tds-col-max tds-col-xxlg tds-col-xlg tds-col-lg tds-col-md tds-col-sm tds-col-xs">
|
|
185
|
-
<div class="inside-demo">.tds-col</div>
|
|
186
|
-
</div>
|
|
187
|
-
<div class="tds-col-max tds-col-xxlg tds-col-xlg tds-col-lg tds-col-md tds-col-sm tds-col-xs">
|
|
188
|
-
<div class="inside-demo">.tds-col</div>
|
|
189
|
-
</div>
|
|
190
|
-
<div class="tds-col-max tds-col-xxlg tds-col-xlg tds-col-lg tds-col-md tds-col-sm tds-col-xs">
|
|
191
|
-
<div class="inside-demo">.tds-col</div>
|
|
192
|
-
</div>
|
|
193
|
-
<div class="tds-col-max tds-col-xxlg tds-col-xlg tds-col-lg tds-col-md tds-col-sm tds-col-xs">
|
|
194
|
-
<div class="inside-demo">.tds-col</div>
|
|
195
|
-
</div>
|
|
196
|
-
<div class="tds-col-max tds-col-xxlg tds-col-xlg tds-col-lg tds-col-md tds-col-sm tds-col-xs">
|
|
197
|
-
<div class="inside-demo">.tds-col</div>
|
|
198
|
-
</div>
|
|
199
|
-
<div class="tds-col-max tds-col-xxlg tds-col-xlg tds-col-lg tds-col-md tds-col-sm tds-col-xs">
|
|
200
|
-
<div class="inside-demo">.tds-col</div>
|
|
201
|
-
</div>
|
|
202
|
-
<div class="tds-col-max tds-col-xxlg tds-col-xlg tds-col-lg tds-col-md tds-col-sm tds-col-xs">
|
|
203
|
-
<div class="inside-demo">.tds-col</div>
|
|
204
|
-
</div>
|
|
205
|
-
<div class="tds-col-max tds-col-xxlg tds-col-xlg tds-col-lg tds-col-md tds-col-sm tds-col-xs">
|
|
206
|
-
<div class="inside-demo">.tds-col</div>
|
|
207
|
-
</div>
|
|
208
|
-
<div class="tds-col-max tds-col-xxlg tds-col-xlg tds-col-lg tds-col-md tds-col-sm tds-col-xs">
|
|
209
|
-
<div class="inside-demo">.tds-col</div>
|
|
210
|
-
</div>
|
|
211
|
-
<div class="tds-col-max tds-col-xxlg tds-col-xlg tds-col-lg tds-col-md tds-col-sm tds-col-xs">
|
|
212
|
-
<div class="inside-demo">.tds-col</div>
|
|
213
|
-
</div>
|
|
214
|
-
</div>
|
|
215
|
-
</div>
|
|
216
|
-
`);
|
|
217
|
-
export const Auto = GridAutoColTemplate.bind({});
|
|
218
|
-
const GridPushTemplate = ({ fluidContainer, collapse, padding }) => formatHtmlPreview(`
|
|
219
|
-
${style}
|
|
220
|
-
|
|
221
|
-
<h4>Grid Push</h4>
|
|
222
|
-
|
|
223
|
-
<div class="tds-push">
|
|
224
|
-
<div class="tds-sidebar ${collapse ? 'tds-sidebar-collapse' : ''}">
|
|
225
|
-
</div>
|
|
226
|
-
<div class="${fluidContainer === true ? 'tds-container-fluid' : 'tds-container'} ${padding === false ? 'tds-no-padding' : ''}">
|
|
227
|
-
<div class="tds-row">
|
|
228
|
-
<div class="tds-col-max tds-col-xxlg tds-col-xlg tds-col-lg tds-col-md tds-col-sm tds-col-xs">
|
|
229
|
-
<div class="inside-demo">1</div>
|
|
230
|
-
</div>
|
|
231
|
-
<div class="tds-col-max tds-col-xxlg tds-col-xlg tds-col-lg tds-col-md tds-col-sm tds-col-xs">
|
|
232
|
-
<div class="inside-demo">1</div>
|
|
233
|
-
</div>
|
|
234
|
-
<div class="tds-col-max tds-col-xxlg tds-col-xlg tds-col-lg tds-col-md tds-col-sm tds-col-xs">
|
|
235
|
-
<div class="inside-demo">1</div>
|
|
236
|
-
</div>
|
|
237
|
-
<div class="tds-col-max tds-col-xxlg tds-col-xlg tds-col-lg tds-col-md tds-col-sm tds-col-xs">
|
|
238
|
-
<div class="inside-demo">1</div>
|
|
239
|
-
</div>
|
|
240
|
-
<div class="tds-col-max tds-col-xxlg tds-col-xlg tds-col-lg tds-col-md tds-col-sm tds-col-xs">
|
|
241
|
-
<div class="inside-demo">1</div>
|
|
242
|
-
</div>
|
|
243
|
-
<div class="tds-col-max tds-col-xxlg tds-col-xlg tds-col-lg tds-col-md tds-col-sm tds-col-xs">
|
|
244
|
-
<div class="inside-demo">1</div>
|
|
245
|
-
</div>
|
|
246
|
-
<div class="tds-col-max tds-col-xxlg tds-col-xlg tds-col-lg tds-col-md tds-col-sm tds-col-xs">
|
|
247
|
-
<div class="inside-demo">1</div>
|
|
248
|
-
</div>
|
|
249
|
-
<div class="tds-col-max tds-col-xxlg tds-col-xlg tds-col-lg tds-col-md tds-col-sm tds-col-xs">
|
|
250
|
-
<div class="inside-demo">1</div>
|
|
251
|
-
</div>
|
|
252
|
-
<div class="tds-col-max tds-col-xxlg tds-col-xlg tds-col-lg tds-col-md tds-col-sm tds-col-xs">
|
|
253
|
-
<div class="inside-demo">1</div>
|
|
254
|
-
</div>
|
|
255
|
-
<div class="tds-col-max tds-col-xxlg tds-col-xlg tds-col-lg tds-col-md tds-col-sm tds-col-xs">
|
|
256
|
-
<div class="inside-demo">1</div>
|
|
257
|
-
</div>
|
|
258
|
-
<div class="tds-col-max tds-col-xxlg tds-col-xlg tds-col-lg tds-col-md tds-col-sm tds-col-xs">
|
|
259
|
-
<div class="inside-demo">1</div>
|
|
260
|
-
</div>
|
|
261
|
-
<div class="tds-col-max tds-col-xxlg tds-col-xlg tds-col-lg tds-col-md tds-col-sm tds-col-xs">
|
|
262
|
-
<div class="inside-demo">1</div>
|
|
263
|
-
</div>
|
|
264
|
-
</div>
|
|
265
|
-
</div>
|
|
266
|
-
</div>
|
|
267
|
-
`);
|
|
268
|
-
export const Push = GridPushTemplate.bind({});
|
|
269
|
-
Push.args = {
|
|
270
|
-
collapse: false,
|
|
271
|
-
};
|
|
272
|
-
const GridOffsetTemplate = ({ fluidContainer, padding }) => formatHtmlPreview(`
|
|
273
|
-
${style}
|
|
274
|
-
|
|
275
|
-
<h4>Grid Offset</h4>
|
|
276
|
-
|
|
277
|
-
<div class="${fluidContainer === true ? 'tds-container-fluid' : 'tds-container'} ${padding === false ? 'tds-no-padding' : ''}">
|
|
278
|
-
<div class="tds-row">
|
|
279
|
-
<div class="tds-col-max-1 tds-col-max-2-offset tds-col-xxlg-1 tds-col-xxlg-2-offset tds-col-xlg-1 tds-col-xlg-2-offset tds-col-lg-1 tds-col-lg-2-offset tds-col-md-1 tds-col-md-2-offset tds-col-sm-1 tds-col-sm-2-offset tds-col-xs-1 tds-col-xs-2-offset">
|
|
280
|
-
<div class="inside-demo">Offset</div>
|
|
281
|
-
</div>
|
|
282
|
-
<div class="tds-col-max-1 tds-col-max-2-offset tds-col-xxlg-1 tds-col-xxlg-2-offset tds-col-xlg-1 tds-col-xlg-2-offset tds-col-lg-1 tds-col-lg-2-offset tds-col-md-1 tds-col-md-2-offset tds-col-sm-1 tds-col-sm-2-offset tds-col-xs-1 tds-col-xs-2-offset">
|
|
283
|
-
<div class="inside-demo">Offset</div>
|
|
284
|
-
</div>
|
|
285
|
-
<div class="tds-col-max-2 tds-col-max-2-offset tds-col-xxlg-2 tds-col-xxlg-2-offset tds-col-xlg-2 tds-col-xlg-2-offset tds-col-lg-2 tds-col-lg-2-offset tds-col-md-2 tds-col-md-2-offset tds-col-sm-2 tds-col-sm-2-offset tds-col-xs-2 tds-col-xs-2-offset">
|
|
286
|
-
<div class="inside-demo">Offset</div>
|
|
287
|
-
</div>
|
|
288
|
-
</div>
|
|
289
|
-
</div>
|
|
290
|
-
`);
|
|
291
|
-
export const Offset = GridOffsetTemplate.bind({});
|
|
292
|
-
const GridNoPaddingTemplate = ({ fluidContainer, padding }) => formatHtmlPreview(`
|
|
293
|
-
${style}
|
|
294
|
-
|
|
295
|
-
<h4>Grid no-padding</h4>
|
|
296
|
-
|
|
297
|
-
<div class="${fluidContainer === true ? 'tds-container-fluid' : 'tds-container'} demo-example-cols">
|
|
298
|
-
<div class="tds-row">
|
|
299
|
-
<div class="tds-no-padding tds-col-max-8 tds-col-xxlg-8 tds-col-xlg-8 tds-col-lg-8 tds-col-md-8 tds-col-sm-8 tds-col-xs-8">
|
|
300
|
-
<div class="inside-demo">no padding</div>
|
|
301
|
-
</div>
|
|
302
|
-
<div class="tds-no-padding tds-col-max-12 tds-col-xxlg-12 tds-col-xlg-12 tds-col-lg-12 tds-col-md-12 tds-col-sm-12 tds-col-xs-12">
|
|
303
|
-
<div class="inside-demo">no padding</div>
|
|
304
|
-
</div>
|
|
305
|
-
<div class="${padding ? '' : 'tds-no-padding'} tds-col-max-12 tds-col-xxlg-12 tds-col-xlg-12 tds-col-lg-12 tds-col-md-12 tds-col-sm-12 tds-col-xs-12">
|
|
306
|
-
<div class="inside-demo">padding</div>
|
|
307
|
-
</div>
|
|
308
|
-
<div class="${padding ? '' : 'tds-no-padding'} tds-col-max-8 tds-col-xxlg-8 tds-col-xlg-8 tds-col-lg-8 tds-col-md-8 tds-col-sm-8 tds-col-xs-8">
|
|
309
|
-
<div class="inside-demo">padding</div>
|
|
310
|
-
</div>
|
|
311
|
-
</div>
|
|
312
|
-
</div>
|
|
313
|
-
`);
|
|
314
|
-
export const NoPadding = GridNoPaddingTemplate.bind({});
|
|
315
|
-
NoPadding.args = {
|
|
316
|
-
padding: true,
|
|
317
|
-
};
|
|
318
|
-
const GridFluidTemplate = ({ fluidContainer = true, padding }) => formatHtmlPreview(`
|
|
319
|
-
${style}
|
|
320
|
-
|
|
321
|
-
<h4>Grid fluid</h4>
|
|
322
|
-
|
|
323
|
-
<div class="tds-container-fluid ${padding === false ? 'tds-no-padding' : ''}">
|
|
324
|
-
<div class="tds-row">
|
|
325
|
-
<div class="tds-col-max-12 tds-col-xxlg-12 tds-col-xlg-12 tds-col-lg-12 tds-col-md-12 tds-col-sm-12 tds-col-xs-12">
|
|
326
|
-
<div class="inside-demo">container fluid</div>
|
|
327
|
-
</div>
|
|
328
|
-
</div>
|
|
329
|
-
</div>
|
|
330
|
-
<div class="${fluidContainer ? 'tds-container-fluid' : 'tds-container'} ${padding === false ? 'tds-no-padding' : ''} container-demo">
|
|
331
|
-
<div class="tds-row">
|
|
332
|
-
<div class="tds-col-max-12 tds-col-xxlg-12 tds-col-xlg-12 tds-col-lg-12 tds-col-md-12 tds-col-sm-12 tds-col-xs-12">
|
|
333
|
-
<div class="inside-demo">container</div>
|
|
334
|
-
</div>
|
|
335
|
-
</div>
|
|
336
|
-
</div>
|
|
337
|
-
`);
|
|
338
|
-
export const Fluid = GridFluidTemplate.bind({});
|
|
339
|
-
const GridNestedTemplate = ({ fluidContainer, padding }) => formatHtmlPreview(`
|
|
340
|
-
${style}
|
|
341
|
-
|
|
342
|
-
<h4>Nested</h4>
|
|
343
|
-
|
|
344
|
-
<div class="${fluidContainer === true ? 'tds-container-fluid' : 'tds-container'}">
|
|
345
|
-
<div class="tds-row">
|
|
346
|
-
<div class="${padding === false ? 'tds-no-padding' : ''} tds-col-max-12 tds-col-xxlg-12 tds-col-xlg-12 tds-col-lg-12 tds-col-md-12 tds-col-sm-12 tds-col-xs-12">
|
|
347
|
-
<div class="inside-demo">12</div>
|
|
348
|
-
</div>
|
|
349
|
-
</div>
|
|
350
|
-
<div class="tds-row">
|
|
351
|
-
<div class="tds-col-max-6 tds-col-xxlg-6 tds-col-xlg-6 tds-col-lg-6 tds-col-md-6 tds-col-sm-6 tds-col-xs-6">
|
|
352
|
-
<div class="tds-row">
|
|
353
|
-
<div class="${padding === false ? 'tds-no-padding' : ''} tds-col-max-6 tds-col-xxlg-6 tds-col-xlg-6 tds-col-lg-6 tds-col-md-6 tds-col-sm-6 tds-col-xs-6">
|
|
354
|
-
<div class="inside-demo">6 nested</div>
|
|
355
|
-
</div>
|
|
356
|
-
<div class=" ${padding === false ? 'tds-no-padding' : ''} tds-col-max-6 tds-col-xxlg-6 tds-col-xlg-6 tds-col-lg-6 tds-col-md-6 tds-col-sm-6 tds-col-xs-6">
|
|
357
|
-
<div class="inside-demo">6 nested</div>
|
|
358
|
-
</div>
|
|
359
|
-
</div>
|
|
360
|
-
</div>
|
|
361
|
-
<div class="${padding === false ? 'tds-no-padding' : ''} tds-col-max-6 tds-col-xxlg-6 tds-col-xlg-6 tds-col-lg-6 tds-col-md-6 tds-col-sm-6 tds-col-xs-6">
|
|
362
|
-
<div class="inside-demo">6</div>
|
|
363
|
-
</div>
|
|
364
|
-
</div>
|
|
365
|
-
</div>
|
|
366
|
-
`);
|
|
367
|
-
export const Nested = GridNestedTemplate.bind({});
|
|
368
|
-
const GridHideShow = ({ fluidContainer }) => formatHtmlPreview(`
|
|
369
|
-
${style}
|
|
370
|
-
|
|
371
|
-
<h4>Hide/show element</h4>
|
|
372
|
-
|
|
373
|
-
<div class="${fluidContainer === true ? 'tds-container-fluid' : 'tds-container'}">
|
|
374
|
-
<div class="tds-row">
|
|
375
|
-
<div class="tds-hide-xlg tds-col-max-12 tds-col-xxlg-12 tds-col-xlg-12 tds-col-lg-12 tds-col-md-12 tds-col-sm-12 tds-col-xs-12">
|
|
376
|
-
<div class="inside-demo">Hide on xlg and wider</div>
|
|
377
|
-
</div>
|
|
378
|
-
</div>
|
|
379
|
-
<div class="tds-row">
|
|
380
|
-
<div class="tds-hide-xs tds-show-md tds-col-max-12 tds-col-xxlg-12 tds-col-xlg-12 tds-col-lg-12 tds-col-md-12 tds-col-sm-12 tds-col-xs-12">
|
|
381
|
-
<div class="inside-demo">Show on md and wider</div>
|
|
382
|
-
</div>
|
|
383
|
-
</div>
|
|
384
|
-
</div>
|
|
385
|
-
`);
|
|
386
|
-
export const ShowHide = GridHideShow.bind({});
|
|
@@ -1,100 +0,0 @@
|
|
|
1
|
-
import formatHtmlPreview from "../../formatHtmlPreview";
|
|
2
|
-
export default {
|
|
3
|
-
title: 'Foundations/Spacing',
|
|
4
|
-
parameters: {
|
|
5
|
-
layout: 'fullscreen',
|
|
6
|
-
},
|
|
7
|
-
};
|
|
8
|
-
const Template = () => formatHtmlPreview(`
|
|
9
|
-
<style>
|
|
10
|
-
/* Demo code for presentation purposes */
|
|
11
|
-
.tds-spacing-element-demo-box {
|
|
12
|
-
background-color: var(--tds-red-500);
|
|
13
|
-
display: inline-block;
|
|
14
|
-
}
|
|
15
|
-
table th, table td {
|
|
16
|
-
padding: 8px;
|
|
17
|
-
text-align: center;
|
|
18
|
-
}
|
|
19
|
-
|
|
20
|
-
th:last-child {
|
|
21
|
-
text-align: left;
|
|
22
|
-
}
|
|
23
|
-
th:last-child,
|
|
24
|
-
td:last-child {
|
|
25
|
-
text-align: left;
|
|
26
|
-
}
|
|
27
|
-
</style>
|
|
28
|
-
|
|
29
|
-
<h4>Spacing Element</h4>
|
|
30
|
-
<table>
|
|
31
|
-
<tr>
|
|
32
|
-
<th>Px</th>
|
|
33
|
-
<th>Token</th>
|
|
34
|
-
<th>CSS</th>
|
|
35
|
-
<th>Scale</th>
|
|
36
|
-
</tr>
|
|
37
|
-
<tr>
|
|
38
|
-
<td>2px</td>
|
|
39
|
-
<td><code>$spacing-element-2</code></td>
|
|
40
|
-
<td><code>.tds-spacing-element-2</code></td>
|
|
41
|
-
<td><span class="tds-spacing-element-demo-box" style="width: var(--tds-spacing-element-2); height: var(--tds-spacing-element-2)"></span></td>
|
|
42
|
-
</tr>
|
|
43
|
-
<tr>
|
|
44
|
-
<td>4px</td>
|
|
45
|
-
<td><code>$spacing-element-4</code></td>
|
|
46
|
-
<td><code>.tds-spacing-element-4</code></td>
|
|
47
|
-
<td><span class="tds-spacing-element-demo-box" style="width: var(--tds-spacing-element-4); height: var(--tds-spacing-element-4)"></span></td>
|
|
48
|
-
</tr>
|
|
49
|
-
<tr>
|
|
50
|
-
<td>8px</td>
|
|
51
|
-
<td><code>$spacing-element-8</code></td>
|
|
52
|
-
<td><code>.tds-spacing-element-8</code></td>
|
|
53
|
-
<td><span class="tds-spacing-element-demo-box" style="width: var(--tds-spacing-element-8); height: var(--tds-spacing-element-8)"></span></td>
|
|
54
|
-
</tr>
|
|
55
|
-
<tr>
|
|
56
|
-
<td>12px</td>
|
|
57
|
-
<td><code>$spacing-element-12</code></td>
|
|
58
|
-
<td><code>.tds-spacing-element-12</code></td>
|
|
59
|
-
<td><span class="tds-spacing-element-demo-box" style="width: var(--tds-spacing-element-12); height: var(--tds-spacing-element-12);"></span></td>
|
|
60
|
-
</tr>
|
|
61
|
-
<tr>
|
|
62
|
-
<td>16px</td>
|
|
63
|
-
<td><code>$spacing-element-16</code></td>
|
|
64
|
-
<td><code>.tds-spacing-element-16</code></td>
|
|
65
|
-
<td><span class="tds-spacing-element-demo-box" style="width: var(--tds-spacing-element-16); height: var(--tds-spacing-element-16);"></span></td>
|
|
66
|
-
</tr>
|
|
67
|
-
<tr>
|
|
68
|
-
<td>20px</td>
|
|
69
|
-
<td><code>$spacing-element-20</code></td>
|
|
70
|
-
<td><code>.tds-spacing-element-20</code></td>
|
|
71
|
-
<td><span class="tds-spacing-element-demo-box" style="width: var(--tds-spacing-element-20); height: var(--tds-spacing-element-20);"></span></td>
|
|
72
|
-
</tr>
|
|
73
|
-
<tr>
|
|
74
|
-
<td>24px</td>
|
|
75
|
-
<td><code>$spacing-element-24</code></td>
|
|
76
|
-
<td><code>.tds-spacing-element-24</code></td>
|
|
77
|
-
<td><span class="tds-spacing-element-demo-box" style="width: var(--tds-spacing-element-24); height: var(--tds-spacing-element-24);"></span></td>
|
|
78
|
-
</tr>
|
|
79
|
-
<tr>
|
|
80
|
-
<td>32px</td>
|
|
81
|
-
<td><code>$spacing-element-32</code></td>
|
|
82
|
-
<td><code>.tds-spacing-element-32</code></td>
|
|
83
|
-
<td><span class="tds-spacing-element-demo-box" style="width: var(--tds-spacing-element-32); height: var(--tds-spacing-element-32);"></span></td>
|
|
84
|
-
</tr>
|
|
85
|
-
<tr>
|
|
86
|
-
<td>40px</td>
|
|
87
|
-
<td><code>$spacing-element-40</code></td>
|
|
88
|
-
<td><code>.tds-spacing-element-40</code></td>
|
|
89
|
-
<td><span class="tds-spacing-element-demo-box" style="width: var(--tds-spacing-element-40); height: var(--tds-spacing-element-40);"></span></td>
|
|
90
|
-
</tr>
|
|
91
|
-
<tr>
|
|
92
|
-
<td>48px</td>
|
|
93
|
-
<td><code>$spacing-element-48</code></td>
|
|
94
|
-
<td><code>.tds-spacing-element-48</code></td>
|
|
95
|
-
<td><span class="tds-spacing-element-demo-box" style="width: var(--tds-spacing-element-48); height: var(--tds-spacing-element-48);"></span></td>
|
|
96
|
-
</tr>
|
|
97
|
-
</table>
|
|
98
|
-
`);
|
|
99
|
-
export const SpacingElement = Template.bind({});
|
|
100
|
-
SpacingElement.args = {};
|
|
@@ -1,94 +0,0 @@
|
|
|
1
|
-
import formatHtmlPreview from "../../formatHtmlPreview";
|
|
2
|
-
export default {
|
|
3
|
-
title: 'Foundations/Spacing',
|
|
4
|
-
parameters: {
|
|
5
|
-
layout: 'fullscreen',
|
|
6
|
-
},
|
|
7
|
-
};
|
|
8
|
-
const Template = () => formatHtmlPreview(`
|
|
9
|
-
<style>
|
|
10
|
-
/* Demo code for presentation purposes */
|
|
11
|
-
.demo-wrapper {
|
|
12
|
-
background-color: var(--tds-blue-500);
|
|
13
|
-
display: inline-block;
|
|
14
|
-
}
|
|
15
|
-
table th, table td {
|
|
16
|
-
padding: 8px;
|
|
17
|
-
}
|
|
18
|
-
th:last-child,
|
|
19
|
-
td:last-child {
|
|
20
|
-
text-align: left;
|
|
21
|
-
}
|
|
22
|
-
</style>
|
|
23
|
-
|
|
24
|
-
<table>
|
|
25
|
-
<tr>
|
|
26
|
-
<th>Px</th>
|
|
27
|
-
<th>Token</th>
|
|
28
|
-
<th>CSS</th>
|
|
29
|
-
<th>Scale</th>
|
|
30
|
-
</tr>
|
|
31
|
-
<tr>
|
|
32
|
-
<td>8px</td>
|
|
33
|
-
<td><code>$spacing-layout-8</code></td>
|
|
34
|
-
<td><code>.tds-spacing-layout-8</code></td>
|
|
35
|
-
<td><span class="demo-wrapper" style="width: var(--tds-spacing-layout-8); height: var(--tds-spacing-layout-8)"></span></td>
|
|
36
|
-
</tr>
|
|
37
|
-
<tr>
|
|
38
|
-
<td>16px</td>
|
|
39
|
-
<td><code>$spacing-layout-16</code></td>
|
|
40
|
-
<td><code>.tds-spacing-layout-16</code></td>
|
|
41
|
-
<td><span class="demo-wrapper" style="width: var(--tds-spacing-layout-16); height: var(--tds-spacing-layout-16);"></span></td>
|
|
42
|
-
</tr>
|
|
43
|
-
<tr>
|
|
44
|
-
<td>24px</td>
|
|
45
|
-
<td><code>$spacing-layout-24</code></td>
|
|
46
|
-
<td><code>.tds-spacing-layout-24</code></td>
|
|
47
|
-
<td><span class="demo-wrapper" style="width: var(--tds-spacing-layout-24); height: var(--tds-spacing-layout-24);"></span></td>
|
|
48
|
-
</tr>
|
|
49
|
-
<tr>
|
|
50
|
-
<td>32px</td>
|
|
51
|
-
<td><code>$spacing-layout-32</code></td>
|
|
52
|
-
<td><code>.tds-spacing-layout-32</code></td>
|
|
53
|
-
<td><span class="demo-wrapper" style="width: var(--tds-spacing-layout-32); height: var(--tds-spacing-layout-32);"></span></td>
|
|
54
|
-
</tr>
|
|
55
|
-
<tr>
|
|
56
|
-
<td>48px</td>
|
|
57
|
-
<td><code>$spacing-layout-48</code></td>
|
|
58
|
-
<td><code>.tds-spacing-layout-48</code></td>
|
|
59
|
-
<td><span class="demo-wrapper" style="width: var(--tds-spacing-layout-48); height: var(--tds-spacing-layout-48);"></span></td>
|
|
60
|
-
</tr>
|
|
61
|
-
<tr>
|
|
62
|
-
<td>64px</td>
|
|
63
|
-
<td><code>$spacing-layout-64</code></td>
|
|
64
|
-
<td><code>.tds-spacing-layout-64</code></td>
|
|
65
|
-
<td><span class="demo-wrapper" style="width: var(--tds-spacing-layout-64); height: var(--tds-spacing-layout-64);"></span></td>
|
|
66
|
-
</tr>
|
|
67
|
-
<tr>
|
|
68
|
-
<td>72px</td>
|
|
69
|
-
<td><code>$spacing-layout-72</code></td>
|
|
70
|
-
<td><code>.tds-spacing-layout-72</code></td>
|
|
71
|
-
<td><span class="demo-wrapper" style="width: var(--tds-spacing-layout-72); height: var(--tds-spacing-layout-72);"></span></td>
|
|
72
|
-
</tr>
|
|
73
|
-
<tr>
|
|
74
|
-
<td>96px</td>
|
|
75
|
-
<td><code>$spacing-layout-96</code></td>
|
|
76
|
-
<td><code>.tds-spacing-layout-96</code></td>
|
|
77
|
-
<td><span class="demo-wrapper" style="width: var(--tds-spacing-layout-96); height: var(--tds-spacing-layout-96);"></span></td>
|
|
78
|
-
</tr>
|
|
79
|
-
<tr>
|
|
80
|
-
<td>128px</td>
|
|
81
|
-
<td><code>$spacing-layout-128</code></td>
|
|
82
|
-
<td><code>.tds-spacing-layout-128</code></td>
|
|
83
|
-
<td><span class="demo-wrapper" style="width: var(--tds-spacing-layout-128); height: var(--tds-spacing-layout-128);"></span></td>
|
|
84
|
-
</tr>
|
|
85
|
-
<tr>
|
|
86
|
-
<td>160px</td>
|
|
87
|
-
<td><code>$spacing-layout-160</code></td>
|
|
88
|
-
<td><code>.tds-spacing-layout-160</code></td>
|
|
89
|
-
<td><span class="demo-wrapper" style="width: var(--tds-spacing-layout-160); height: var(--tds-spacing-layout-160);"></span></td>
|
|
90
|
-
</tr>
|
|
91
|
-
</table>
|
|
92
|
-
`);
|
|
93
|
-
export const SpacingLayout = Template.bind({});
|
|
94
|
-
SpacingLayout.args = {};
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import formatHtmlPreview from "../../formatHtmlPreview";
|
|
2
|
-
export default {
|
|
3
|
-
title: 'Foundations/Typography',
|
|
4
|
-
parameters: {
|
|
5
|
-
layout: 'fullscreen',
|
|
6
|
-
},
|
|
7
|
-
};
|
|
8
|
-
const Template = () => formatHtmlPreview(`
|
|
9
|
-
<p class='tds-body-01'>
|
|
10
|
-
Our larger text style used for body text. We usually use it for paragraphs exceeding 3 lines. The size works well on both larger and smaller breakpoints for reading.
|
|
11
|
-
</p>
|
|
12
|
-
<p class='tds-body-02'>
|
|
13
|
-
Our smaller text style used for body text. We usually use it for paragraphs with less than 3 lines. The size works well on both larger and smaller breakpoints for reading. It could also be used within certain components.
|
|
14
|
-
</p>
|
|
15
|
-
`);
|
|
16
|
-
export const Body = Template.bind({});
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import formatHtmlPreview from "../../formatHtmlPreview";
|
|
2
|
-
export default {
|
|
3
|
-
title: 'Foundations/Typography',
|
|
4
|
-
parameters: {
|
|
5
|
-
layout: 'fullscreen',
|
|
6
|
-
},
|
|
7
|
-
};
|
|
8
|
-
const Template = () => formatHtmlPreview(`
|
|
9
|
-
<p class='tds-detail-01'>This text style is used in components, such as the cookie component.</p>
|
|
10
|
-
<p class='tds-detail-02'>This text style is used in components, such as data tables and buttons.</p>
|
|
11
|
-
<p class='tds-detail-03'>This text style is used for longer detailed text exceeding 3 lines within Functional applications.</p>
|
|
12
|
-
<p class='tds-detail-04'>THIS TEXT STYLE IS USED FOR LABELS AND POTENTIALLY COMPONENTS.</p>
|
|
13
|
-
<p class='tds-detail-05'>This text style is used in components, such as the tooltip and as a label for the text field component.</p>
|
|
14
|
-
<p class='tds-detail-06'>THIS TEXT STYLE IS USED FOR LABELS AND POTENTIALLY COMPONENTS.</p>
|
|
15
|
-
<p class='tds-detail-07'>This text style should only be used for very small instances, for instance as a label inside a text field.</p>
|
|
16
|
-
`);
|
|
17
|
-
export const Detail = Template.bind({});
|
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
import formatHtmlPreview from "../../formatHtmlPreview";
|
|
2
|
-
export default {
|
|
3
|
-
title: 'Foundations/Typography',
|
|
4
|
-
parameters: {
|
|
5
|
-
layout: 'fullscreen',
|
|
6
|
-
},
|
|
7
|
-
argTypes: {
|
|
8
|
-
type: {
|
|
9
|
-
name: 'Type',
|
|
10
|
-
description: 'The type of headline. Functional/Expressive.',
|
|
11
|
-
control: {
|
|
12
|
-
type: 'radio',
|
|
13
|
-
},
|
|
14
|
-
options: { Functional: 'functional', Expressive: 'expressive' },
|
|
15
|
-
},
|
|
16
|
-
},
|
|
17
|
-
};
|
|
18
|
-
const Template = ({ type }) => formatHtmlPreview(`
|
|
19
|
-
<style>
|
|
20
|
-
/* Demo code for presentation purposes */
|
|
21
|
-
.demo-wrapper h1 {
|
|
22
|
-
margin: 0;
|
|
23
|
-
}
|
|
24
|
-
</style>
|
|
25
|
-
|
|
26
|
-
<div class="demo-wrapper">
|
|
27
|
-
<h1 class="tds-${type === 'expressive' ? `${type}-` : ''}headline-01">Headline</h1>
|
|
28
|
-
<h2 class="tds-${type === 'expressive' ? `${type}-` : ''}headline-02">Headline</h2>
|
|
29
|
-
<h3 class="tds-${type === 'expressive' ? `${type}-` : ''}headline-03">A headline for page layouts</h3>
|
|
30
|
-
<h4 class="tds-${type === 'expressive' ? `${type}-` : ''}headline-04">A headline for page layouts</h4>
|
|
31
|
-
<h5 class="tds-${type === 'expressive' ? `${type}-` : ''}headline-05">A sub headline, which is most commonly paired with body-01</h5>
|
|
32
|
-
<h6 class="tds-${type === 'expressive' ? `${type}-` : ''}headline-06">A sub headline, which is most commonly paired with body-02</h6>
|
|
33
|
-
<h7 class="tds-${type === 'expressive' ? `${type}-` : ''}headline-07">A sub headline, which is most commonly paired with detail-02 </h7>
|
|
34
|
-
</div>
|
|
35
|
-
`);
|
|
36
|
-
export const Headlines = Template.bind({});
|
|
37
|
-
Headlines.args = {
|
|
38
|
-
type: 'functional',
|
|
39
|
-
};
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import formatHtmlPreview from "../../formatHtmlPreview";
|
|
2
|
-
export default {
|
|
3
|
-
title: 'Foundations/Typography',
|
|
4
|
-
parameters: {
|
|
5
|
-
layout: 'fullscreen',
|
|
6
|
-
},
|
|
7
|
-
};
|
|
8
|
-
const Template = () => formatHtmlPreview(`
|
|
9
|
-
<p class='tds-paragraph-01'>Our large paragraph, which should be used for introduction texts on page layouts.</p>
|
|
10
|
-
<p class='tds-paragraph-02'>Our smaller paragraph, mainly present on mobile breakpoints, which should be used for introduction texts on page layouts.</p>
|
|
11
|
-
`);
|
|
12
|
-
export const Paragraph = Template.bind({});
|