@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,140 +0,0 @@
|
|
|
1
|
-
import formatHtmlPreview from "../../formatHtmlPreview";
|
|
2
|
-
import readme from "./readme.md";
|
|
3
|
-
export default {
|
|
4
|
-
title: 'Patterns/Navigation',
|
|
5
|
-
parameters: {
|
|
6
|
-
notes: {
|
|
7
|
-
Readme: readme,
|
|
8
|
-
},
|
|
9
|
-
layout: 'fullscreen',
|
|
10
|
-
docs: {
|
|
11
|
-
source: {
|
|
12
|
-
state: 'closed',
|
|
13
|
-
},
|
|
14
|
-
},
|
|
15
|
-
design: [
|
|
16
|
-
{
|
|
17
|
-
name: 'Figma',
|
|
18
|
-
type: 'figma',
|
|
19
|
-
url: 'https://www.figma.com/file/d8bTgEx7h694MSesi2CTLF/Tegel-UI-Library?node-id=11142%3A42941&t=Ne6myqwca5m00de7-1',
|
|
20
|
-
},
|
|
21
|
-
{
|
|
22
|
-
name: 'Link',
|
|
23
|
-
type: 'link',
|
|
24
|
-
url: 'https://www.figma.com/file/d8bTgEx7h694MSesi2CTLF/Tegel-UI-Library?node-id=11142%3A42941&t=Ne6myqwca5m00de7-1',
|
|
25
|
-
},
|
|
26
|
-
],
|
|
27
|
-
},
|
|
28
|
-
argTypes: {
|
|
29
|
-
siteName: {
|
|
30
|
-
name: 'Site name',
|
|
31
|
-
description: 'Set a custom title for the Header.',
|
|
32
|
-
control: {
|
|
33
|
-
type: 'text',
|
|
34
|
-
},
|
|
35
|
-
},
|
|
36
|
-
},
|
|
37
|
-
args: {
|
|
38
|
-
siteName: 'Application',
|
|
39
|
-
},
|
|
40
|
-
};
|
|
41
|
-
const Template = () => formatHtmlPreview(`
|
|
42
|
-
<script>
|
|
43
|
-
/* For demonstration purposes only. Do this in the preferred way of your framework instead. */
|
|
44
|
-
window.demoSideMenu = document.querySelector('#demo-side-menu');
|
|
45
|
-
window.demoHamburger = document.querySelector('#demo-hamburger');
|
|
46
|
-
</script>
|
|
47
|
-
<style>
|
|
48
|
-
/* If an extra button in the Header is required except on
|
|
49
|
-
very narrow screens, you can use classes like these: */
|
|
50
|
-
.demo-hide {
|
|
51
|
-
display: none;
|
|
52
|
-
}
|
|
53
|
-
|
|
54
|
-
@media (min-width: 992px) {
|
|
55
|
-
.demo-xs-hide {
|
|
56
|
-
display: none;
|
|
57
|
-
}
|
|
58
|
-
.demo-xs-show {
|
|
59
|
-
display: block;
|
|
60
|
-
}
|
|
61
|
-
}
|
|
62
|
-
</style>
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
<div class="demo-layout">
|
|
66
|
-
<tds-header>
|
|
67
|
-
<tds-header-hamburger class="demo-xs-hide" onclick="demoSideMenu.open = true;demoHamburger.setAttribute('aria-expanded', true);" aria-label="Open application drawer" aria-haspopup="true" aria-expanded="false"></tds-header-hamburger>
|
|
68
|
-
|
|
69
|
-
<tds-header-title>
|
|
70
|
-
Example: User menu
|
|
71
|
-
</tds-header-title>
|
|
72
|
-
|
|
73
|
-
<tds-header-launcher slot="end">
|
|
74
|
-
<tds-header-launcher-list-title>Sustainable tools</tds-header-launcher-list-title>
|
|
75
|
-
<tds-header-launcher-list>
|
|
76
|
-
<tds-header-launcher-list-item>
|
|
77
|
-
<a href="https://tegel.scania.com">Button</a>
|
|
78
|
-
</tds-header-launcher-list-item>
|
|
79
|
-
<tds-header-launcher-list-item>
|
|
80
|
-
<a href="https://tegel.scania.com">Button</a>
|
|
81
|
-
</tds-header-launcher-list-item>
|
|
82
|
-
</tds-header-launcher-list>
|
|
83
|
-
</tds-header-launcher>
|
|
84
|
-
|
|
85
|
-
<tds-header-dropdown slot="end" class="demo-hide demo-xs-show" no-dropdown-icon selected>
|
|
86
|
-
<img slot="icon" src="https://www.svgrepo.com/show/384676/account-avatar-profile-user-6.svg" alt="User menu."/>
|
|
87
|
-
<tds-header-dropdown-list size="lg">
|
|
88
|
-
<tds-header-dropdown-list-user
|
|
89
|
-
header="Name Nameson"
|
|
90
|
-
subheader="Company name">
|
|
91
|
-
</tds-header-dropdown-list-user>
|
|
92
|
-
<tds-header-dropdown-list-item selected>
|
|
93
|
-
<a href="https://www.scania.com">My Instructions</a>
|
|
94
|
-
</tds-header-dropdown-list-item>
|
|
95
|
-
<tds-header-dropdown-list-item>
|
|
96
|
-
<a href="https://www.scania.com">Task List</a>
|
|
97
|
-
</tds-header-dropdown-list-item>
|
|
98
|
-
</tds-header-dropdown-list>
|
|
99
|
-
</tds-header-dropdown>
|
|
100
|
-
|
|
101
|
-
<tds-header-brand-symbol slot="end">
|
|
102
|
-
<a aria-label="Scania - red gryphon on blue shield" href="https://scania.com"></a>
|
|
103
|
-
</tds-header-brand-symbol>
|
|
104
|
-
|
|
105
|
-
</tds-header>
|
|
106
|
-
|
|
107
|
-
<tds-side-menu id="demo-side-menu" aria-label="Side menu">
|
|
108
|
-
<tds-side-menu-overlay slot="overlay" onclick="demoSideMenu.open = false;demoHamburger.setAttribute('aria-expanded', false);"></tds-side-menu-overlay>
|
|
109
|
-
|
|
110
|
-
<tds-side-menu-close-button slot="close-button" onclick="demoSideMenu.open = false;demoHamburger.setAttribute('aria-expanded', false);"></tds-side-menu-close-button>
|
|
111
|
-
|
|
112
|
-
<tds-side-menu-dropdown slot="end" class="demo-xs-hide" selected default-open>
|
|
113
|
-
<tds-side-menu-user
|
|
114
|
-
slot="label"
|
|
115
|
-
heading="Name Namesson"
|
|
116
|
-
subheading="Company name"
|
|
117
|
-
img-src="https://www.svgrepo.com/show/384676/account-avatar-profile-user-6.svg"
|
|
118
|
-
img-alt="">
|
|
119
|
-
</tds-side-menu-user>
|
|
120
|
-
<tds-side-menu-dropdown-list type="lg">
|
|
121
|
-
<tds-side-menu-dropdown-list-item selected>
|
|
122
|
-
<a href="https://www.scania.com">My Instructions</a>
|
|
123
|
-
</tds-side-menu-dropdown-list-item>
|
|
124
|
-
<tds-side-menu-dropdown-list-item>
|
|
125
|
-
<a href="https://www.scania.com">Task List</a>
|
|
126
|
-
</tds-side-menu-dropdown-list-item>
|
|
127
|
-
</tds-side-menu-dropdown-list>
|
|
128
|
-
</tds-side-menu-dropdown>
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
</tds-side-menu>
|
|
132
|
-
|
|
133
|
-
<main class="demo-main tds-u-p3" style="box-sizing: border-box;">
|
|
134
|
-
<p>If you display a user menu, a side menu is needed to show it on extra small screens.</p>
|
|
135
|
-
<br/>
|
|
136
|
-
<p><i>Tip: Resize the window to see the user menu move in to a side menu drawer.</i></p>
|
|
137
|
-
</main>
|
|
138
|
-
</div>
|
|
139
|
-
`);
|
|
140
|
-
export const UserMenu = Template.bind({});
|
|
@@ -1,283 +0,0 @@
|
|
|
1
|
-
const meta = {
|
|
2
|
-
title: 'Intro/Tegel Design System',
|
|
3
|
-
parameters: {
|
|
4
|
-
layout: 'fullscreen',
|
|
5
|
-
options: {
|
|
6
|
-
showPanel: false,
|
|
7
|
-
showToolbar: false,
|
|
8
|
-
},
|
|
9
|
-
},
|
|
10
|
-
};
|
|
11
|
-
export default meta;
|
|
12
|
-
export const TegelDesignSystem = {
|
|
13
|
-
render: () => `<style>
|
|
14
|
-
article {
|
|
15
|
-
box-sizing: border-box;
|
|
16
|
-
max-width: 688px;
|
|
17
|
-
padding: 32px;
|
|
18
|
-
margin: auto;
|
|
19
|
-
> * {
|
|
20
|
-
margin-bottom: 72px;
|
|
21
|
-
}
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
section > p,
|
|
25
|
-
section > ul,
|
|
26
|
-
section > tds-link {
|
|
27
|
-
margin-bottom: 32px;
|
|
28
|
-
}
|
|
29
|
-
|
|
30
|
-
tds-link {
|
|
31
|
-
display: inline-block;
|
|
32
|
-
}
|
|
33
|
-
|
|
34
|
-
.mb-72 {
|
|
35
|
-
margin-bottom: 72px;
|
|
36
|
-
}
|
|
37
|
-
</style>
|
|
38
|
-
<article class="tds-body-01">
|
|
39
|
-
<section>
|
|
40
|
-
<h1 class="tds-headline-02 mb-72">Tegel Design System</h1>
|
|
41
|
-
<p class="tds-paragraph-01 mb-72">The design system supports the design and development of digital solutions at
|
|
42
|
-
Scania. The purpose is to secure a
|
|
43
|
-
coherent, premium brand and user experience across all of Scania's digital touchpoints.
|
|
44
|
-
</p>
|
|
45
|
-
|
|
46
|
-
<tds-link>
|
|
47
|
-
<a href="https://tegel.scania.com/">
|
|
48
|
-
https://tegel.scania.com/
|
|
49
|
-
</a>
|
|
50
|
-
</tds-link>
|
|
51
|
-
</section>
|
|
52
|
-
<section>
|
|
53
|
-
<h4 class="tds-u-mb2">Status</h4>
|
|
54
|
-
|
|
55
|
-
<p>
|
|
56
|
-
This package is currently in a <b>beta</b> stage. We are now working hard towards a 1.0 release,
|
|
57
|
-
but if
|
|
58
|
-
you
|
|
59
|
-
want to try out the package today you can! It's available via <tds-link><a href="https://www.npmjs.com/package/@scania/tegel">NPM</a></tds-link> and can be installed using the
|
|
60
|
-
installation
|
|
61
|
-
guide which you can find <tds-link><a target="_self" href="?path=/story/intro-installation--page">here.</a></tds-link>
|
|
62
|
-
</p>
|
|
63
|
-
|
|
64
|
-
</section>
|
|
65
|
-
<section>
|
|
66
|
-
<h4 class="tds-u-mb2">@scania/tegel 🧱</h4>
|
|
67
|
-
|
|
68
|
-
<p>
|
|
69
|
-
<b>TLDR;</b> The new @scania/tegel package is an improvement and continuation of the previous
|
|
70
|
-
@scania/component,
|
|
71
|
-
@scania/theme-light, and @scania/icons packages. It simplifies the installation process and ships with types
|
|
72
|
-
which offers type safety and improves the developer experience with intellisence and autocompletion.
|
|
73
|
-
</p>
|
|
74
|
-
<p>
|
|
75
|
-
The new
|
|
76
|
-
package includes all components as web components, removes the old CSS class components and makes the
|
|
77
|
-
installation and updates easier. The current prefix for components, CSS variables, and utility classes -
|
|
78
|
-
"sdds",
|
|
79
|
-
will be changed. We have also created a new Storybook for @scania/tegel, which allows developers and
|
|
80
|
-
designers
|
|
81
|
-
to preview all variants of the components by changing the props.
|
|
82
|
-
</p>
|
|
83
|
-
</section>
|
|
84
|
-
<section>
|
|
85
|
-
<h4 class="tds-u-mb2">
|
|
86
|
-
What is @scania/tegel? 🧱
|
|
87
|
-
</h4>
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
<p>
|
|
93
|
-
In short, the new @scania/tegel package is an improvement and continuation of the previous
|
|
94
|
-
@scania/component,
|
|
95
|
-
@scania/theme-light and @scania/icons packages. These three packages have now instead been merged into one
|
|
96
|
-
to
|
|
97
|
-
simplify both the installation process, but also to make it easier for us to maintain and keep improving
|
|
98
|
-
going
|
|
99
|
-
forward.
|
|
100
|
-
</p>
|
|
101
|
-
<p>
|
|
102
|
-
The new @scania/tegel is also shipped with types. This makes integrations in other Stenciljs
|
|
103
|
-
projects
|
|
104
|
-
possible, but also improves the developer experience with intellisence and autocompletion, and of course
|
|
105
|
-
type
|
|
106
|
-
safety. In this work we have also bumped the Stenciljs version (the compiler used to build our components)
|
|
107
|
-
to
|
|
108
|
-
the
|
|
109
|
-
latest major.
|
|
110
|
-
</p>
|
|
111
|
-
<p>
|
|
112
|
-
And we have saved the best for last, @scania/tegel is 100% web components. Previous packages
|
|
113
|
-
had
|
|
114
|
-
some
|
|
115
|
-
web components, but also CSS class components, these were utility classes that could be added to a predefined
|
|
116
|
-
HTML
|
|
117
|
-
structure to create the look and feel of Tegel. Now we are making a big effort to provide all components as
|
|
118
|
-
web components.
|
|
119
|
-
</p>
|
|
120
|
-
</section>
|
|
121
|
-
<section>
|
|
122
|
-
<h4 class="tds-u-mb2">
|
|
123
|
-
What improvements does @scania/tegel have? 🚀
|
|
124
|
-
</h4>
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
<p>
|
|
128
|
-
So, what we are striving for in the new package is:
|
|
129
|
-
|
|
130
|
-
<ul>
|
|
131
|
-
<li>Easy installation and updates</li>
|
|
132
|
-
<li>A clear and intuitive API</li>
|
|
133
|
-
<li>Types to be included in package bundle</li>
|
|
134
|
-
<li>All input elements to work within a form</li>
|
|
135
|
-
<li>Only web components</li>
|
|
136
|
-
<li>Dark mode</li>
|
|
137
|
-
<li>Improved interactive documentation - Storybook</li>
|
|
138
|
-
</ul>
|
|
139
|
-
|
|
140
|
-
<p>
|
|
141
|
-
With this new package we are creating a foundation for us to stand on going forward. We will keep improving
|
|
142
|
-
and
|
|
143
|
-
maintaining it after its initial release and with the changes we are introducing now we hope to be able to
|
|
144
|
-
do
|
|
145
|
-
this as
|
|
146
|
-
smoothly as possible.
|
|
147
|
-
</p>
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
</p>
|
|
152
|
-
</section>
|
|
153
|
-
<section>
|
|
154
|
-
<h4 class="tds-u-mb2">
|
|
155
|
-
Removing CSS class components ❌
|
|
156
|
-
</h4>
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
<p>
|
|
160
|
-
With this new package we are also removing our CSS components and instead introducing web component
|
|
161
|
-
counterparts to these. This means that every component that was available as a CSS component in
|
|
162
|
-
@scania/components will have a web component alternative in @scania/tegel. This removal will be done in our
|
|
163
|
-
next
|
|
164
|
-
release of @scania/tegel. This change does not change the current @scania/components package.
|
|
165
|
-
|
|
166
|
-
</p>
|
|
167
|
-
</section>
|
|
168
|
-
<section>
|
|
169
|
-
<h4 class="tds-u-mb2">
|
|
170
|
-
Prefix change 🔁
|
|
171
|
-
</h4>
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
<tds-link class="tds-u-mt2 tds-body-01">
|
|
175
|
-
<a target="_self" href="?path=/story/intro-announcements--prefix-change">Read more here.</a>
|
|
176
|
-
</tds-link>
|
|
177
|
-
<p>
|
|
178
|
-
We are also working on a prefix change for our new package. Instead of "sdds" the components, CSS variables
|
|
179
|
-
and
|
|
180
|
-
utility classes will instead be prefixed with something else, for example:
|
|
181
|
-
<ul>
|
|
182
|
-
<li> <{prefix}-button /> </li>
|
|
183
|
-
<li> --{prefix}-button-color </li>
|
|
184
|
-
<li>.{prefix}-u-flex</li>
|
|
185
|
-
</ul>
|
|
186
|
-
<p>
|
|
187
|
-
This is done to have a clear distinction between what was @scania/components and what is @scania/tegel. What
|
|
188
|
-
it
|
|
189
|
-
also
|
|
190
|
-
does is that it enables the two solutions to be installed alongside each other. This means that your
|
|
191
|
-
migration
|
|
192
|
-
can
|
|
193
|
-
be
|
|
194
|
-
done incrementally.
|
|
195
|
-
</p>
|
|
196
|
-
</p>
|
|
197
|
-
</section>
|
|
198
|
-
<section>
|
|
199
|
-
<h4 class="tds-u-mb1">
|
|
200
|
-
Migration docs 📜
|
|
201
|
-
</h4>
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
<p>
|
|
205
|
-
Migrations are always hard, but during the last couple of months we have put a lot of effort into creating a
|
|
206
|
-
"migration document", which explains and highlights all the changes in our API from version 4 of
|
|
207
|
-
@scania/components
|
|
208
|
-
and @scania/tegel. We hope that this will ease your migration to our new package. The migration document
|
|
209
|
-
will
|
|
210
|
-
continue to be updated until we release 1.0 and is available
|
|
211
|
-
<tds-link><a target="_self"
|
|
212
|
-
href="?path=/story/intro-migrating-from-components-v4--page">here.</a></tds-link>
|
|
213
|
-
</p>
|
|
214
|
-
</section>
|
|
215
|
-
<section>
|
|
216
|
-
<h4 class="tds-u-mb1">
|
|
217
|
-
Support for @scania/components 🤳
|
|
218
|
-
</h4>
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
<p>
|
|
222
|
-
We will keep supporting @scania/components for a short while going forward, however we see no major
|
|
223
|
-
updates
|
|
224
|
-
being
|
|
225
|
-
done to the package. This means we will keep answering and helping with support questions and do
|
|
226
|
-
minor
|
|
227
|
-
releases with
|
|
228
|
-
bugfixes, but we are not introducing any new features.
|
|
229
|
-
|
|
230
|
-
</p>
|
|
231
|
-
</section>
|
|
232
|
-
<section>
|
|
233
|
-
<h4 class="tds-u-mb1">
|
|
234
|
-
When can I try our @scania/tegel? 🧪
|
|
235
|
-
</h4>
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
<p>
|
|
239
|
-
Today! Some of you have already tried this package out, and provided us with valuable feedback,
|
|
240
|
-
thank
|
|
241
|
-
you!
|
|
242
|
-
But
|
|
243
|
-
please note that this package is still in beta and breaking changes are to be expected before we
|
|
244
|
-
release
|
|
245
|
-
1.0. The
|
|
246
|
-
package is available via npm and an installation guide is available <tds-link><a
|
|
247
|
-
href="https://www.npmjs.com/package/@scania/tegel">here.</a></tds-link>
|
|
248
|
-
|
|
249
|
-
</p>
|
|
250
|
-
</section>
|
|
251
|
-
<section>
|
|
252
|
-
|
|
253
|
-
<h4 class="tds-u-mb1">
|
|
254
|
-
Want to get in touch? 📞
|
|
255
|
-
</h4>
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
<p>
|
|
259
|
-
Awesome! We are available via teams and have two support channels. One for
|
|
260
|
-
<tds-link>
|
|
261
|
-
<a
|
|
262
|
-
href="https://teams.microsoft.com/l/channel/19%3a5e33f67fe502441f914fbcdc6e2548f5%40thread.skype/Development%2520support?groupId=79f9bfeb-73e2-424d-9477-b236191ece5e&tenantId=3bc062e4-ac9d-4c17-b4dd-3aad637ff1ac">development</a>
|
|
263
|
-
</tds-link>
|
|
264
|
-
and one for
|
|
265
|
-
<tds-link>
|
|
266
|
-
<a
|
|
267
|
-
href="https://teams.microsoft.com/l/channel/19%3A8d30ded56af14672b471062ec1e66345%40thread.skype/Design%2520support?groupId=79f9bfeb-73e2-424d-9477-b236191ece5e&tenantId=3bc062e4-ac9d-4c17-b4dd-3aad637ff1ac">design.</a>
|
|
268
|
-
|
|
269
|
-
</tds-link>
|
|
270
|
-
If you want to submit a bug report or feature request, please do so via our
|
|
271
|
-
<tds-link>
|
|
272
|
-
<a href="https://github.com/scania-digital-design-system/tegel/issues">GitHub</a>
|
|
273
|
-
</tds-link>.
|
|
274
|
-
|
|
275
|
-
<p>
|
|
276
|
-
All the best,<br />
|
|
277
|
-
The Tegel Team.
|
|
278
|
-
</p>
|
|
279
|
-
</p>
|
|
280
|
-
</section>
|
|
281
|
-
</article>
|
|
282
|
-
`,
|
|
283
|
-
};
|
|
@@ -1,96 +0,0 @@
|
|
|
1
|
-
import formatHtmlPreview from "../../formatHtmlPreview";
|
|
2
|
-
export default {
|
|
3
|
-
title: 'Utilities/Colors',
|
|
4
|
-
parameters: {
|
|
5
|
-
layout: 'centered',
|
|
6
|
-
},
|
|
7
|
-
argTypes: {
|
|
8
|
-
backgroundColor: {
|
|
9
|
-
name: 'Background color',
|
|
10
|
-
description: 'The color of the text',
|
|
11
|
-
control: {
|
|
12
|
-
type: 'select',
|
|
13
|
-
},
|
|
14
|
-
options: { Red: 'red', Blue: 'blue', Grey: 'grey' },
|
|
15
|
-
},
|
|
16
|
-
greyScale: {
|
|
17
|
-
name: 'Scale',
|
|
18
|
-
description: 'The color scale used.',
|
|
19
|
-
control: {
|
|
20
|
-
type: 'select',
|
|
21
|
-
},
|
|
22
|
-
options: [
|
|
23
|
-
'50',
|
|
24
|
-
'100',
|
|
25
|
-
'200',
|
|
26
|
-
'300',
|
|
27
|
-
'400',
|
|
28
|
-
'500',
|
|
29
|
-
'600',
|
|
30
|
-
'700',
|
|
31
|
-
'800',
|
|
32
|
-
'846',
|
|
33
|
-
'868',
|
|
34
|
-
'900',
|
|
35
|
-
'958',
|
|
36
|
-
],
|
|
37
|
-
if: { arg: 'backgroundColor', eq: 'grey' },
|
|
38
|
-
},
|
|
39
|
-
redScale: {
|
|
40
|
-
name: 'Scale',
|
|
41
|
-
description: 'The color scale used.',
|
|
42
|
-
control: {
|
|
43
|
-
type: 'select',
|
|
44
|
-
},
|
|
45
|
-
options: ['50', '100', '200', '300', '400', '500', '600', '700', '800', '900'],
|
|
46
|
-
if: { arg: 'backgroundColor', eq: 'red' },
|
|
47
|
-
},
|
|
48
|
-
blueScale: {
|
|
49
|
-
name: 'Scale',
|
|
50
|
-
description: 'The color scale used.',
|
|
51
|
-
control: {
|
|
52
|
-
type: 'select',
|
|
53
|
-
},
|
|
54
|
-
options: ['50', '100', '200', '300', '400', '500', '600', '700', '800', '900'],
|
|
55
|
-
if: { arg: 'backgroundColor', eq: 'blue' },
|
|
56
|
-
},
|
|
57
|
-
},
|
|
58
|
-
args: {
|
|
59
|
-
backgroundColor: 'blue',
|
|
60
|
-
blueScale: '500',
|
|
61
|
-
redScale: '500',
|
|
62
|
-
greyScale: '958',
|
|
63
|
-
},
|
|
64
|
-
};
|
|
65
|
-
const Template = ({ backgroundColor, greyScale, blueScale, redScale }) => {
|
|
66
|
-
let scale = 100;
|
|
67
|
-
switch (backgroundColor) {
|
|
68
|
-
case 'blue':
|
|
69
|
-
scale = blueScale;
|
|
70
|
-
break;
|
|
71
|
-
case 'grey':
|
|
72
|
-
scale = greyScale;
|
|
73
|
-
break;
|
|
74
|
-
case 'red':
|
|
75
|
-
scale = redScale;
|
|
76
|
-
break;
|
|
77
|
-
default:
|
|
78
|
-
scale = blueScale;
|
|
79
|
-
break;
|
|
80
|
-
}
|
|
81
|
-
return formatHtmlPreview(`
|
|
82
|
-
<style>
|
|
83
|
-
.demo-wrapper{
|
|
84
|
-
height: 400px;
|
|
85
|
-
width: 400px;
|
|
86
|
-
display: flex;
|
|
87
|
-
justify-content: center;
|
|
88
|
-
align-items: center;
|
|
89
|
-
}
|
|
90
|
-
</style>
|
|
91
|
-
<div class="tds-background-${backgroundColor}-${scale} demo-wrapper">
|
|
92
|
-
<h1>background-color:${backgroundColor}</h1>
|
|
93
|
-
</div>
|
|
94
|
-
`);
|
|
95
|
-
};
|
|
96
|
-
export const BackgroundColor = Template.bind({});
|
|
@@ -1,94 +0,0 @@
|
|
|
1
|
-
import formatHtmlPreview from "../../formatHtmlPreview";
|
|
2
|
-
export default {
|
|
3
|
-
title: 'Utilities/Colors',
|
|
4
|
-
parameters: {
|
|
5
|
-
layout: 'centered',
|
|
6
|
-
},
|
|
7
|
-
argTypes: {
|
|
8
|
-
color: {
|
|
9
|
-
name: 'Color',
|
|
10
|
-
description: 'The color of the text',
|
|
11
|
-
control: {
|
|
12
|
-
type: 'select',
|
|
13
|
-
},
|
|
14
|
-
options: { Red: 'red', Blue: 'blue', Grey: 'grey' },
|
|
15
|
-
},
|
|
16
|
-
greyScale: {
|
|
17
|
-
name: 'Scale',
|
|
18
|
-
description: 'The color scale used.',
|
|
19
|
-
control: {
|
|
20
|
-
type: 'select',
|
|
21
|
-
},
|
|
22
|
-
options: [
|
|
23
|
-
'50',
|
|
24
|
-
'100',
|
|
25
|
-
'200',
|
|
26
|
-
'300',
|
|
27
|
-
'400',
|
|
28
|
-
'500',
|
|
29
|
-
'600',
|
|
30
|
-
'700',
|
|
31
|
-
'800',
|
|
32
|
-
'846',
|
|
33
|
-
'868',
|
|
34
|
-
'900',
|
|
35
|
-
'958',
|
|
36
|
-
],
|
|
37
|
-
if: { arg: 'color', eq: 'grey' },
|
|
38
|
-
},
|
|
39
|
-
redScale: {
|
|
40
|
-
name: 'Scale',
|
|
41
|
-
description: 'The color scale used.',
|
|
42
|
-
control: {
|
|
43
|
-
type: 'select',
|
|
44
|
-
},
|
|
45
|
-
options: ['50', '100', '200', '300', '400', '500', '600', '700', '800', '900'],
|
|
46
|
-
if: { arg: 'color', eq: 'red' },
|
|
47
|
-
},
|
|
48
|
-
blueScale: {
|
|
49
|
-
name: 'Scale',
|
|
50
|
-
description: 'The color scale used.',
|
|
51
|
-
control: {
|
|
52
|
-
type: 'select',
|
|
53
|
-
},
|
|
54
|
-
options: ['50', '100', '200', '300', '400', '500', '600', '700', '800', '900'],
|
|
55
|
-
if: { arg: 'color', eq: 'blue' },
|
|
56
|
-
},
|
|
57
|
-
},
|
|
58
|
-
args: {
|
|
59
|
-
color: 'blue',
|
|
60
|
-
blueScale: '500',
|
|
61
|
-
redScale: '500',
|
|
62
|
-
greyScale: '958',
|
|
63
|
-
},
|
|
64
|
-
};
|
|
65
|
-
const Template = ({ color, greyScale, blueScale, redScale }) => {
|
|
66
|
-
let scale = 100;
|
|
67
|
-
switch (color) {
|
|
68
|
-
case 'blue':
|
|
69
|
-
scale = blueScale;
|
|
70
|
-
break;
|
|
71
|
-
case 'grey':
|
|
72
|
-
scale = greyScale;
|
|
73
|
-
break;
|
|
74
|
-
case 'red':
|
|
75
|
-
scale = redScale;
|
|
76
|
-
break;
|
|
77
|
-
default:
|
|
78
|
-
scale = blueScale;
|
|
79
|
-
break;
|
|
80
|
-
}
|
|
81
|
-
return formatHtmlPreview(`
|
|
82
|
-
<style>
|
|
83
|
-
.demo-wrapper h1 {
|
|
84
|
-
margin: 0;
|
|
85
|
-
width: 300px;
|
|
86
|
-
}
|
|
87
|
-
</style>
|
|
88
|
-
<div class="demo-wrapper">
|
|
89
|
-
<h1 class="tds-text-${color}-${scale}">A text ${color} heading</h1>
|
|
90
|
-
<p class="tds-text-${color}-${scale}">A text ${color} paragraph</p>
|
|
91
|
-
</div>
|
|
92
|
-
`);
|
|
93
|
-
};
|
|
94
|
-
export const TextColor = Template.bind({});
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r,h as s,H as t}from"./p-4d661599.js";const e=class{constructor(s){r(this,s),this.getIconName=()=>{switch(this.variant){case"information":default:return"info";case"error":return"error";case"warning":return"warning";case"success":return"tick"}},this.header=void 0,this.modeVariant=null,this.variant="information",this.noIcon=!1,this.minimal=!1}render(){return s(t,null,s("div",{class:`\n wrapper ${this.variant}\n ${this.minimal?"minimal":""}\n ${null!==this.modeVariant?`tds-mode-variant-${this.modeVariant}`:""}`},!this.noIcon&&s("tds-icon",{name:this.getIconName(),size:"20px"}),s("div",{class:"content"},this.header&&s("div",{class:"header"},this.header),!this.minimal&&s("div",{class:"extended-message"},s("slot",null)))))}};e.style=":host .wrapper{display:flex;padding:16px;background-color:var(--tds-message-background);border-radius:4px}:host .wrapper.information{border-left:4px solid var(--tds-information)}:host .wrapper.information tds-icon{color:var(--tds-information)}:host .wrapper.success{border-left:4px solid var(--tds-positive)}:host .wrapper.success tds-icon{color:var(--tds-positive)}:host .wrapper.error{background-color:var(--tds-message-type-error-background);border-left:4px solid var(--tds-negative)}:host .wrapper.error tds-icon{color:var(--tds-negative)}:host .wrapper.warning{border-left:4px solid var(--tds-warning)}:host .wrapper.warning tds-icon{color:var(--tds-warning)}:host .wrapper.minimal{border:none;display:flex;align-items:center;padding:0;background-color:transparent}:host .wrapper.minimal .header{font:var(--tds-detail-02);letter-spacing:var(--tds-detail-02-ls)}:host .wrapper.minimal.error .header{color:var(--tds-negative)}:host tds-icon{padding-right:16px}:host .content{display:flex;flex-direction:column;gap:4px;color:var(--tds-message-color);padding:2px 0}:host .content .header{font:var(--tds-headline-07);letter-spacing:var(--tds-headline-07-ls)}:host .content .extended-message{color:var(--tds-message-color);font:var(--tds-detail-02);letter-spacing:var(--tds-detail-02-ls)}:host .tds-mode-variant-primary{--tds-message-background:var(--tds-message-background-primary)}:host .tds-mode-variant-secondary{--tds-message-background:var(--tds-message-background-secondary)}";export{e as tds_message}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r as t,c as e,h as d,g as i}from"./p-4d661599.js";import{h as l}from"./p-ae110fc2.js";const s=class{constructor(d){t(this,d),this.tdsChange=e(this,"tdsChange",6),this.tdsInput=e(this,"tdsInput",6),this.tdsFocus=e(this,"tdsFocus",6),this.tdsBlur=e(this,"tdsBlur",6),this.type="text",this.labelPosition="no-label",this.label="",this.helper=void 0,this.placeholder="",this.value="",this.disabled=!1,this.readOnly=!1,this.size="lg",this.modeVariant=null,this.noMinWidth=!1,this.name="",this.state="default",this.maxLength=void 0,this.autofocus=!1,this.focusInput=void 0}handleChange(t){this.tdsChange.emit(t)}handleInput(t){this.tdsInput.emit(t),this.value=t.target.value}handleFocus(t){this.textInput.focus(),this.focusInput=!0,this.tdsFocus.emit(t)}handleBlur(t){this.focusInput=!1,this.tdsBlur.emit(t)}render(){var t;const e=l("prefix",this.host),i=l("suffix",this.host);return d("div",{class:`\n ${this.noMinWidth?"form-text-field-nomin":""}\n ${this.focusInput&&!this.disabled?"form-text-field text-field-focus":" form-text-field"}\n ${this.value?"text-field-data":""}\n ${"inside"===this.labelPosition&&"sm"!==this.size?"text-field-container-label-inside":""}\n ${this.disabled?"form-text-field-disabled":""}\n ${this.readOnly?"form-text-field-readonly":""}\n ${null!==this.modeVariant?`tds-mode-variant-${this.modeVariant}`:""}\n ${"md"===this.size?"form-text-field-md":""}\n ${"sm"===this.size?"form-text-field-sm":""}\n ${"error"===this.state||"success"===this.state?`form-text-field-${this.state}`:""}\n `},"outside"===this.labelPosition&&d("div",{class:"text-field-label-outside"},d("div",null,this.label)),d("div",{onClick:()=>this.textInput.focus(),class:"text-field-container"},e&&d("div",{class:`text-field-slot-wrap-prefix text-field-${this.state}`},d("slot",{name:"prefix"})),d("div",{class:"text-field-input-container"},d("input",{ref:t=>this.textInput=t,class:`text-field-input text-field-input-${this.size}`,type:this.type,disabled:this.disabled,readonly:this.readOnly,placeholder:this.placeholder,value:this.value,autofocus:this.autofocus,maxlength:this.maxLength,name:this.name,onInput:t=>this.handleInput(t),onChange:t=>this.handleChange(t),onFocus:t=>{this.readOnly||this.handleFocus(t)},onBlur:t=>{this.readOnly||this.handleBlur(t)}}),"inside"===this.labelPosition&&"sm"!==this.size&&d("label",{class:"text-field-label-inside"},this.label)),d("div",{class:"text-field-bar"}),i&&d("div",{class:`text-field-slot-wrap-suffix text-field-${this.state}`},d("slot",{name:"suffix"})),d("span",{class:"text-field-icon__readonly"},d("tds-icon",{name:"edit_inactive",size:"20px"})),d("span",{class:"text-field-icon__readonly-label"},"This field is non-editable")),(this.helper||this.maxLength>0)&&d("div",{class:"text-field-helper"},"error"===this.state&&d("div",{class:"text-field-helper-error-state"},d("tds-icon",{name:"error",size:"16px"}),this.helper),"error"!==this.state&&this.helper,this.maxLength>0&&d("div",{class:"text-field-textcounter"},null===this.value?0:null===(t=this.value)||void 0===t?void 0:t.length,d("span",{class:"text-field-textcounter-divider"}," / "),this.maxLength)))}get host(){return i(this)}};s.style='.text-field-input-lg.sc-tds-text-field{all:unset;border-radius:4px 4px 0 0;width:100%;box-sizing:border-box;margin:0;border:none;outline:none;height:100%;color:var(--tds-text-field-color);background-color:var(--tds-text-field-background);font:var(--tds-detail-02);letter-spacing:var(--tds-detail-02-ls);padding:var(--tds-spacing-element-20) var(--tds-spacing-element-16)}.text-field-input-lg.sc-tds-text-field::placeholder{color:var(--tds-text-field-color)}.text-field-input-lg.sc-tds-text-field:focus::placeholder{color:var(--tds-text-field-placeholder-focus-color)}.text-field-input-lg.sc-tds-text-field:disabled{cursor:not-allowed;background-color:var(--tds-text-field-background-disabled);color:var(--tds-text-field-color-disabled)}.text-field-input-lg.sc-tds-text-field:disabled::placeholder{color:var(--tds-text-field-placeholder-disabled)}.text-field-input-lg.sc-tds-text-field:disabled~.text-field-label-inside.sc-tds-text-field{color:var(--tds-text-field-label-disabled)}.text-field-input-md.sc-tds-text-field{all:unset;border-radius:4px 4px 0 0;width:100%;box-sizing:border-box;margin:0;border:none;outline:none;height:100%;color:var(--tds-text-field-color);background-color:var(--tds-text-field-background);font:var(--tds-detail-02);letter-spacing:var(--tds-detail-02-ls);padding:var(--tds-spacing-element-16)}.text-field-input-md.sc-tds-text-field::placeholder{color:var(--tds-text-field-color)}.text-field-input-md.sc-tds-text-field:focus::placeholder{color:var(--tds-text-field-placeholder-focus-color)}.text-field-input-md.sc-tds-text-field:disabled{cursor:not-allowed;background-color:var(--tds-text-field-background-disabled);color:var(--tds-text-field-color-disabled)}.text-field-input-md.sc-tds-text-field:disabled::placeholder{color:var(--tds-text-field-placeholder-disabled)}.text-field-input-md.sc-tds-text-field:disabled~.text-field-label-inside.sc-tds-text-field{color:var(--tds-text-field-label-disabled)}.text-field-input-sm.sc-tds-text-field{all:unset;border-radius:4px 4px 0 0;width:100%;box-sizing:border-box;margin:0;border:none;outline:none;height:100%;color:var(--tds-text-field-color);background-color:var(--tds-text-field-background);font:var(--tds-detail-02);letter-spacing:var(--tds-detail-02-ls);padding:var(--tds-spacing-element-16)}.text-field-input-sm.sc-tds-text-field::placeholder{color:var(--tds-text-field-color)}.text-field-input-sm.sc-tds-text-field:focus::placeholder{color:var(--tds-text-field-placeholder-focus-color)}.text-field-input-sm.sc-tds-text-field:disabled{cursor:not-allowed;background-color:var(--tds-text-field-background-disabled);color:var(--tds-text-field-color-disabled)}.text-field-input-sm.sc-tds-text-field:disabled::placeholder{color:var(--tds-text-field-placeholder-disabled)}.text-field-input-sm.sc-tds-text-field:disabled~.text-field-label-inside.sc-tds-text-field{color:var(--tds-text-field-label-disabled)}.text-field-container.sc-tds-text-field{border-radius:4px 4px 0 0;display:flex;position:relative;height:56px;box-sizing:border-box;background-color:var(--tds-text-field-background);border-bottom:1px solid var(--tds-text-field-border-bottom);transition:border-bottom-color 200ms ease}.text-field-container.sc-tds-text-field:hover{border-bottom-color:var(--tds-text-field-border-bottom-hover)}.form-text-field-md.sc-tds-text-field .text-field-container.sc-tds-text-field{height:48px}.form-text-field-sm.sc-tds-text-field .text-field-container.sc-tds-text-field{height:40px}.text-field-input-container.sc-tds-text-field{position:relative;width:100%}.text-field-data.sc-tds-text-field,.text-field-input.sc-tds-text-field{color:var(--tds-text-field-data-color)}.text-field-label-outside.sc-tds-text-field>*.sc-tds-text-field{font:var(--tds-detail-05);letter-spacing:var(--tds-detail-05-ls);display:block;margin-bottom:var(--tds-spacing-element-8);color:var(--tds-text-field-label-color)}.text-field-label-inside.sc-tds-text-field{font:var(--tds-detail-02);letter-spacing:var(--tds-detail-02-ls);position:absolute;pointer-events:none;color:var(--tds-text-field-label-inside-color);left:16px}.form-text-field.sc-tds-text-field{display:block;min-width:208px}.form-text-field-nomin.sc-tds-text-field{min-width:auto}.form-text-field.text-field-container-label-inside.sc-tds-text-field .text-field-input-lg.sc-tds-text-field{padding-top:var(--tds-spacing-element-24);padding-bottom:15px}.form-text-field.text-field-container-label-inside.sc-tds-text-field .text-field-input-lg.sc-tds-text-field~.text-field-label-inside.sc-tds-text-field{top:20px}.form-text-field.text-field-container-label-inside.sc-tds-text-field .text-field-input-lg.sc-tds-text-field::placeholder{color:transparent}.form-text-field.text-field-container-label-inside.sc-tds-text-field .text-field-input-lg.sc-tds-text-field .sc-tds-text-field::placeholder{color:transparent}.form-text-field.text-field-container-label-inside.sc-tds-text-field .text-field-input-lg.sc-tds-text-field:focus::placeholder{transition:color 0.35s ease;color:var(--tds-text-field-placeholder-focus-color)}.form-text-field.text-field-container-label-inside.sc-tds-text-field .text-field-input-md.sc-tds-text-field{padding-top:var(--tds-spacing-element-20);padding-bottom:11px}.form-text-field.text-field-container-label-inside.sc-tds-text-field .text-field-input-md.sc-tds-text-field~.text-field-label-inside.sc-tds-text-field{top:16px}.form-text-field.text-field-container-label-inside.sc-tds-text-field .text-field-input-md.sc-tds-text-field::placeholder{color:transparent}.form-text-field.text-field-container-label-inside.sc-tds-text-field .text-field-input-md.sc-tds-text-field .sc-tds-text-field::placeholder{color:transparent}.form-text-field.text-field-container-label-inside.sc-tds-text-field .text-field-input-md.sc-tds-text-field:focus::placeholder{transition:color 0.35s ease;color:var(--tds-text-field-placeholder-focus-color)}.form-text-field.text-field-container-label-inside.sc-tds-text-field .text-field-input-sm.sc-tds-text-field{padding-top:var(--tds-spacing-element-20);padding-bottom:11px}.form-text-field.text-field-container-label-inside.sc-tds-text-field .text-field-input-sm.sc-tds-text-field~.text-field-label-inside.sc-tds-text-field{top:16px}.form-text-field.text-field-container-label-inside.sc-tds-text-field .text-field-input-sm.sc-tds-text-field::placeholder{color:transparent}.form-text-field.text-field-container-label-inside.sc-tds-text-field .text-field-input-sm.sc-tds-text-field .sc-tds-text-field::placeholder{color:transparent}.form-text-field.text-field-container-label-inside.sc-tds-text-field .text-field-input-sm.sc-tds-text-field:focus::placeholder{transition:color 0.35s ease;color:var(--tds-text-field-placeholder-focus-color)}.form-text-field.text-field-container-label-inside.text-field-focus.sc-tds-text-field .text-field-input-sm.sc-tds-text-field~.text-field-label-inside.sc-tds-text-field,.form-text-field.text-field-container-label-inside.text-field-data.sc-tds-text-field .text-field-input-sm.sc-tds-text-field~.text-field-label-inside.sc-tds-text-field{font:var(--tds-detail-07);letter-spacing:var(--tds-detail-07-ls);transition:0.1s ease all;top:8px}.form-text-field.text-field-container-label-inside.text-field-focus.sc-tds-text-field .text-field-input-md.sc-tds-text-field~.text-field-label-inside.sc-tds-text-field,.form-text-field.text-field-container-label-inside.text-field-data.sc-tds-text-field .text-field-input-md.sc-tds-text-field~.text-field-label-inside.sc-tds-text-field{font:var(--tds-detail-07);letter-spacing:var(--tds-detail-07-ls);transition:0.1s ease all;top:8px}.form-text-field.text-field-container-label-inside.text-field-focus.sc-tds-text-field .text-field-input-lg.sc-tds-text-field~.text-field-label-inside.sc-tds-text-field,.form-text-field.text-field-container-label-inside.text-field-data.sc-tds-text-field .text-field-input-lg.sc-tds-text-field~.text-field-label-inside.sc-tds-text-field{font:var(--tds-detail-07);letter-spacing:var(--tds-detail-07-ls);transition:0.1s ease all;top:12px}.text-field-bar.sc-tds-text-field{position:absolute;width:100%}.text-field-bar.sc-tds-text-field::before,.text-field-bar.sc-tds-text-field::after{content:"";height:2px;top:54px;width:0;position:absolute;background:var(--tds-text-field-bar);transition:0.35s ease all}.form-text-field-md.sc-tds-text-field .text-field-bar.sc-tds-text-field::before,.form-text-field-md.sc-tds-text-field .text-field-bar.sc-tds-text-field::after{top:46px}.form-text-field-sm.sc-tds-text-field .text-field-bar.sc-tds-text-field::before,.form-text-field-sm.sc-tds-text-field .text-field-bar.sc-tds-text-field::after{top:40px}.text-field-bar.sc-tds-text-field::before{left:50%}.text-field-bar.sc-tds-text-field::after{right:50%}.text-field-focus.sc-tds-text-field .text-field-bar.sc-tds-text-field::before,.text-field-focus.sc-tds-text-field .text-field-bar.sc-tds-text-field::after{width:50%}.text-field-helper.sc-tds-text-field{font:var(--tds-detail-05);letter-spacing:var(--tds-detail-05-ls);display:flex;gap:8px;justify-content:space-between;flex-basis:100%;padding-top:var(--tds-spacing-element-4);color:var(--tds-text-field-helper)}.text-field-helper.sc-tds-text-field .text-field-textcounter.sc-tds-text-field{margin-left:auto}.form-text-field-disabled.sc-tds-text-field .text-field-container.sc-tds-text-field{border-bottom-color:transparent}.form-text-field-disabled.sc-tds-text-field .text-field-slot-wrap-prefix.sc-tds-text-field>*.sc-tds-text-field,.form-text-field-disabled.sc-tds-text-field .text-field-slot-wrap-suffix.sc-tds-text-field>*.sc-tds-text-field{color:var(--tds-text-field-ps-color-disabled)}.form-text-field-disabled.sc-tds-text-field .text-field-label-outside.sc-tds-text-field>*.sc-tds-text-field{color:var(--tds-text-field-label-disabled)}.text-field-icon__readonly.sc-tds-text-field{display:none;position:absolute;right:18px;top:18px;color:var(--tds-text-field-icon-read-only-label-color)}.text-field-icon__readonly-label.sc-tds-text-field{display:none;position:absolute;right:18px;top:48px;font:var(--tds-detail-05);letter-spacing:var(--tds-detail-05-ls);padding:8px;white-space:nowrap;border-radius:4px 0 4px 4px;background-color:var(--tds-text-field-icon-read-only-label-background)}.form-text-field-readonly.sc-tds-text-field{pointer-events:none}.form-text-field-readonly.sc-tds-text-field .text-field-icon__readonly.sc-tds-text-field{display:block}.form-text-field-readonly.sc-tds-text-field .text-field-icon__readonly.sc-tds-text-field:hover~.text-field-icon__readonly-label.sc-tds-text-field{display:block}.form-text-field-readonly.sc-tds-text-field .text-field-input.sc-tds-text-field{padding-right:54px;background-color:transparent}.form-text-field-success.sc-tds-text-field .text-field-container.sc-tds-text-field{border-bottom-color:var(--tds-text-field-border-bottom-success)}.form-text-field-error.sc-tds-text-field .text-field-helper.sc-tds-text-field{color:var(--tds-text-field-helper-error)}.form-text-field-error.sc-tds-text-field .text-field-container.sc-tds-text-field{border-bottom-color:var(--tds-text-field-border-bottom-error)}.form-text-field-error.sc-tds-text-field .text-field-bar.sc-tds-text-field::before,.form-text-field-error.sc-tds-text-field .text-field-bar.sc-tds-text-field::after{background:var(--tds-text-field-bar-error)}.text-field-helper-error-state.sc-tds-text-field{display:flex;gap:8px;flex-wrap:nowrap}.text-field-textcounter.sc-tds-text-field{font:var(--tds-detail-05);letter-spacing:var(--tds-detail-05-ls);color:var(--tds-text-field-textcounter);float:right}.text-field-textcounter.sc-tds-text-field .text-field-textcounter-divider.sc-tds-text-field{color:var(--tds-text-field-textcounter-divider)}.text-field-slot-wrap-prefix.sc-tds-text-field,.text-field-slot-wrap-suffix.sc-tds-text-field{align-self:center;font:var(--tds-detail-02);letter-spacing:var(--tds-detail-02-ls);margin:0 0 0 14px;color:var(--tds-text-field-ps-color)}.text-field-slot-wrap-prefix.sc-tds-text-field-s>:not(tds-icon),.text-field-slot-wrap-suffix.sc-tds-text-field-s>:not(tds-icon){margin:0 0 0 2px}.text-field-slot-wrap-prefix.text-field-error.sc-tds-text-field,.text-field-slot-wrap-suffix.text-field-error.sc-tds-text-field{color:var(--tds-text-field-ps-color-error)}.text-field-slot-wrap-suffix.sc-tds-text-field{margin:0 14px 0 0}.text-field-slot-wrap-suffix.sc-tds-text-field-s>:not(tds-icon){margin:0 2px 0 0}';export{s as tds_text_field}
|