@otto-de/b2b-core-components 1.22.0 → 1.23.1
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/b2b-core-components/b2b-core-components.css +1 -1
- package/dist/b2b-core-components/b2b-core-components.esm.js +1 -1
- package/dist/b2b-core-components/p-01aea1a4.entry.js +1 -0
- package/dist/b2b-core-components/p-0f5b8f0f.entry.js +1 -0
- package/dist/b2b-core-components/p-191b7d0b.entry.js +1 -0
- package/dist/b2b-core-components/p-1ac1ed23.entry.js +1 -0
- package/dist/b2b-core-components/p-1cbf75dd.entry.js +1 -0
- package/dist/b2b-core-components/p-247b295d.entry.js +1 -0
- package/dist/b2b-core-components/p-25fa6d92.entry.js +1 -0
- package/dist/b2b-core-components/p-2610db01.entry.js +1 -0
- package/dist/b2b-core-components/p-28674643.entry.js +1 -0
- package/dist/b2b-core-components/p-2a80fb82.entry.js +1 -0
- package/dist/b2b-core-components/p-30dce961.entry.js +1 -0
- package/dist/b2b-core-components/p-333969c9.entry.js +1 -0
- package/dist/b2b-core-components/p-339dd3ba.entry.js +1 -0
- package/dist/b2b-core-components/p-371efcb7.entry.js +1 -0
- package/dist/b2b-core-components/{p-928ab618.entry.js → p-37cdfc83.entry.js} +1 -1
- package/dist/b2b-core-components/p-3caed6e8.entry.js +1 -0
- package/dist/b2b-core-components/p-438ab795.entry.js +1 -0
- package/dist/b2b-core-components/p-44d5a9d3.entry.js +1 -0
- package/dist/b2b-core-components/p-47081742.entry.js +1 -0
- package/dist/b2b-core-components/{p-ffff2d15.entry.js → p-48d75dc1.entry.js} +1 -1
- package/dist/b2b-core-components/p-4cfb4131.entry.js +1 -0
- package/dist/b2b-core-components/p-56293400.entry.js +1 -0
- package/dist/b2b-core-components/p-572f9f64.entry.js +1 -0
- package/dist/b2b-core-components/p-74c0757b.entry.js +1 -0
- package/dist/b2b-core-components/p-8967cc6c.entry.js +1 -0
- package/dist/b2b-core-components/p-8fa70a00.entry.js +1 -0
- package/dist/b2b-core-components/{p-ef01f7b2.entry.js → p-921e7a37.entry.js} +1 -1
- package/dist/b2b-core-components/p-925553cd.entry.js +1 -0
- package/dist/b2b-core-components/p-928e7db4.entry.js +1 -0
- package/dist/b2b-core-components/p-95570f8e.entry.js +1 -0
- package/dist/b2b-core-components/p-95d3519f.entry.js +1 -0
- package/dist/b2b-core-components/p-96968c24.entry.js +1 -0
- package/dist/b2b-core-components/p-96bde9dd.entry.js +1 -0
- package/dist/b2b-core-components/p-992dd377.entry.js +1 -0
- package/dist/b2b-core-components/p-9a6c243e.entry.js +1 -0
- package/dist/b2b-core-components/p-9c055a4e.entry.js +1 -0
- package/dist/b2b-core-components/p-9de02b91.entry.js +1 -0
- package/dist/b2b-core-components/p-a033a6b5.entry.js +1 -0
- package/dist/b2b-core-components/p-a0ab40f0.entry.js +1 -0
- package/dist/b2b-core-components/p-ae71a78f.entry.js +1 -0
- package/dist/b2b-core-components/p-b6916793.entry.js +1 -0
- package/dist/b2b-core-components/p-bf8db809.entry.js +1 -0
- package/dist/b2b-core-components/p-c1135326.entry.js +1 -0
- package/dist/b2b-core-components/p-c3d76d28.entry.js +1 -0
- package/dist/b2b-core-components/{p-212fa6a0.entry.js → p-cab7c805.entry.js} +1 -1
- package/dist/b2b-core-components/p-cc0ad9b7.entry.js +1 -0
- package/dist/b2b-core-components/p-d56a8c1a.entry.js +1 -0
- package/dist/b2b-core-components/p-d895f199.entry.js +1 -0
- package/dist/b2b-core-components/p-e4359302.entry.js +1 -0
- package/dist/b2b-core-components/p-ec4f82b1.entry.js +1 -0
- package/dist/b2b-core-components/p-f6bd827c.entry.js +1 -0
- package/dist/b2b-core-components/p-fbd31067.entry.js +1 -0
- package/dist/b2b-core-components/p-fdfdc92d.entry.js +1 -0
- package/dist/cjs/b2b-alert.cjs.entry.js +4 -4
- package/dist/cjs/b2b-anchor.cjs.entry.js +1 -1
- package/dist/cjs/b2b-background-box.cjs.entry.js +11 -3
- package/dist/cjs/b2b-breadcrumb-item.cjs.entry.js +1 -1
- package/dist/cjs/b2b-breadcrumb.cjs.entry.js +1 -1
- package/dist/cjs/b2b-button_2.cjs.entry.js +5 -5
- package/dist/cjs/b2b-card.cjs.entry.js +1 -1
- package/dist/cjs/b2b-checkbox-group.cjs.entry.js +1 -1
- package/dist/cjs/b2b-checkbox.cjs.entry.js +1 -1
- package/dist/cjs/b2b-chip-component_2.cjs.entry.js +2 -2
- package/dist/cjs/b2b-core-components.cjs.js +1 -1
- package/dist/cjs/b2b-date-picker-days_5.cjs.entry.js +9 -9
- package/dist/cjs/b2b-date-picker.cjs.entry.js +3 -3
- package/dist/cjs/b2b-dropdown.cjs.entry.js +1 -1
- package/dist/cjs/b2b-flyout-menu-option.cjs.entry.js +1 -1
- package/dist/cjs/b2b-flyout-menu.cjs.entry.js +1 -1
- package/dist/cjs/b2b-grid-col.cjs.entry.js +7 -18
- package/dist/cjs/b2b-grid-row.cjs.entry.js +33 -2
- package/dist/cjs/b2b-headline.cjs.entry.js +1 -1
- package/dist/cjs/b2b-icon-100.cjs.entry.js +1 -1
- package/dist/cjs/b2b-icon-50.cjs.entry.js +1 -1
- package/dist/cjs/b2b-icon.cjs.entry.js +1 -1
- package/dist/cjs/b2b-input-group_2.cjs.entry.js +3 -3
- package/dist/cjs/b2b-input_2.cjs.entry.js +9 -6
- package/dist/cjs/b2b-label.cjs.entry.js +1 -1
- package/dist/cjs/b2b-modal.cjs.entry.js +2 -2
- package/dist/cjs/b2b-multiselect-dropdown.cjs.entry.js +3 -3
- package/dist/cjs/b2b-pagination.cjs.entry.js +1 -1
- package/dist/cjs/b2b-paragraph.cjs.entry.js +1 -1
- package/dist/cjs/b2b-progress-bar.cjs.entry.js +1 -1
- package/dist/cjs/b2b-radio-button.cjs.entry.js +1 -1
- package/dist/cjs/b2b-radio-group.cjs.entry.js +1 -1
- package/dist/cjs/b2b-required-separator.cjs.entry.js +1 -1
- package/dist/cjs/b2b-rounded-icon.cjs.entry.js +1 -1
- package/dist/cjs/b2b-scrollable-container.cjs.entry.js +1 -1
- package/dist/cjs/b2b-search.cjs.entry.js +1 -1
- package/dist/cjs/b2b-separator.cjs.entry.js +1 -1
- package/dist/cjs/b2b-snackbar.cjs.entry.js +111 -0
- package/dist/cjs/b2b-tab-group.cjs.entry.js +1 -1
- package/dist/cjs/b2b-tab-panel.cjs.entry.js +2 -2
- package/dist/cjs/b2b-tab.cjs.entry.js +3 -3
- package/dist/cjs/b2b-table-cell_2.cjs.entry.js +5 -5
- package/dist/cjs/b2b-table-row.cjs.entry.js +7 -17
- package/dist/cjs/b2b-table-rowgroup.cjs.entry.js +3 -3
- package/dist/cjs/b2b-table.cjs.entry.js +3 -3
- package/dist/cjs/b2b-textarea.cjs.entry.js +3 -3
- package/dist/cjs/b2b-toggle-button.cjs.entry.js +4 -4
- package/dist/cjs/b2b-toggle-chip.cjs.entry.js +6 -7
- package/dist/cjs/b2b-toggle-group.cjs.entry.js +3 -3
- package/dist/cjs/b2b-toggle-switch.cjs.entry.js +5 -5
- package/dist/cjs/b2b-tooltip.cjs.entry.js +4 -4
- package/dist/cjs/b2b-wizard-icon.cjs.entry.js +3 -3
- package/dist/cjs/b2b-wizard-step.cjs.entry.js +3 -3
- package/dist/cjs/b2b-wizard.cjs.entry.js +2 -2
- package/dist/cjs/index-668808fd.js +8 -4
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/collection/collection-manifest.json +1 -0
- package/dist/collection/components/alert/alert.css +6 -4
- package/dist/collection/components/alert/alert.e2e.js +2 -2
- package/dist/collection/components/alert/alert.js +3 -3
- package/dist/collection/components/anchor/anchor.css +6 -4
- package/dist/collection/components/background-box/background-box.css +18 -4
- package/dist/collection/components/background-box/background-box.e2e.js +26 -0
- package/dist/collection/components/background-box/background-box.js +82 -2
- package/dist/collection/components/background-box/background-box.spec.js +19 -0
- package/dist/collection/components/background-box/background-box.stories.js +16 -2
- package/dist/collection/components/breadcrumb/breadcrumb.css +6 -4
- package/dist/collection/components/button/button.css +6 -4
- package/dist/collection/components/button/button.e2e.js +2 -2
- package/dist/collection/components/button/button.js +2 -2
- package/dist/collection/components/button/button.stories.js +3 -3
- package/dist/collection/components/card/card.css +6 -4
- package/dist/collection/components/checkbox/checkbox.css +6 -4
- package/dist/collection/components/checkbox-group/checkbox-group.css +6 -4
- package/dist/collection/components/chip/chip.css +6 -4
- package/dist/collection/components/date-picker/date-picker-days-header.css +6 -4
- package/dist/collection/components/date-picker/date-picker-days.css +8 -6
- package/dist/collection/components/date-picker/date-picker-header.css +9 -7
- package/dist/collection/components/date-picker/date-picker-header.js +4 -4
- package/dist/collection/components/date-picker/date-picker-months.css +7 -5
- package/dist/collection/components/date-picker/date-picker-years.css +7 -5
- package/dist/collection/components/date-picker/date-picker.css +6 -4
- package/dist/collection/components/date-picker/date-picker.js +2 -2
- package/dist/collection/components/date-picker/date-picker.stories.js +9 -9
- package/dist/collection/components/dropdown/dropdown.css +6 -4
- package/dist/collection/components/flyout-menu/flyout-menu-option.css +7 -5
- package/dist/collection/components/flyout-menu/flyout-menu.css +7 -5
- package/dist/collection/components/flyout-menu/flyout-menu.e2e.js +6 -6
- package/dist/collection/components/flyout-menu/flyout-menu.stories.js +4 -4
- package/dist/collection/components/grid/column.js +7 -18
- package/dist/collection/components/grid/grid.stories.js +223 -222
- package/dist/collection/components/grid/row.js +33 -2
- package/dist/collection/components/headline/headline.css +6 -4
- package/dist/collection/components/icon/icon.css +6 -4
- package/dist/collection/components/icon-100/icon-100.css +6 -4
- package/dist/collection/components/icon-50/icon-50.css +6 -4
- package/dist/collection/components/input/input.css +6 -4
- package/dist/collection/components/input/input.e2e.js +10 -0
- package/dist/collection/components/input/input.js +7 -4
- package/dist/collection/components/input/input.stories.js +22 -2
- package/dist/collection/components/input-group/input-group.css +6 -4
- package/dist/collection/components/input-group/input-group.e2e.js +1 -1
- package/dist/collection/components/input-group/input-group.stories.js +1 -1
- package/dist/collection/components/input-list/input-list.css +8 -6
- package/dist/collection/components/input-list/input-list.e2e.js +6 -6
- package/dist/collection/components/input-list/input-list.js +1 -1
- package/dist/collection/components/label/label.css +6 -4
- package/dist/collection/components/modal/modal.css +7 -5
- package/dist/collection/components/modal/modal.e2e.js +2 -2
- package/dist/collection/components/modal/modal.js +1 -1
- package/dist/collection/components/multiselect-dropdown/multiselect-dropdown.css +6 -4
- package/dist/collection/components/multiselect-dropdown/multiselect-dropdown.js +2 -2
- package/dist/collection/components/multiselect-dropdown/multiselect-option/multiselect-option.css +1 -1
- package/dist/collection/components/pagination/pagination.css +6 -4
- package/dist/collection/components/paragraph/paragraph.css +6 -4
- package/dist/collection/components/progress-bar/progress-bar.css +6 -4
- package/dist/collection/components/radio/radio.css +6 -4
- package/dist/collection/components/radio-group/radio-group.css +6 -4
- package/dist/collection/components/required-separator/required-separator.css +6 -4
- package/dist/collection/components/rounded-icon/rounded-icon.css +6 -4
- package/dist/collection/components/rounded-icon/rounded-icon.stories.js +1 -1
- package/dist/collection/components/scrollable-container/scrollable-container.css +6 -4
- package/dist/collection/components/search/search.js +1 -1
- package/dist/collection/components/search/search.stories.js +1 -1
- package/dist/collection/components/separator/separator.css +6 -4
- package/dist/collection/components/snackbar/snackbar.css +337 -0
- package/dist/collection/components/snackbar/snackbar.e2e.js +63 -0
- package/dist/collection/components/snackbar/snackbar.js +273 -0
- package/dist/collection/components/snackbar/snackbar.stories.js +89 -0
- package/dist/collection/components/spinner/spinner.css +6 -4
- package/dist/collection/components/spinner/spinner.js +1 -1
- package/dist/collection/components/tab/tab.css +6 -4
- package/dist/collection/components/tab/tab.js +2 -2
- package/dist/collection/components/tab-group/tab-group.js +1 -1
- package/dist/collection/components/tab-group/tab-group.stories.js +1 -1
- package/dist/collection/components/tab-panel/tab-panel.css +6 -4
- package/dist/collection/components/tab-panel/tab-panel.js +1 -1
- package/dist/collection/components/table/table-cell/table-cell.css +6 -4
- package/dist/collection/components/table/table-cell/table-cell.js +2 -2
- package/dist/collection/components/table/table-header/table-header.css +6 -4
- package/dist/collection/components/table/table-header/table-header.js +1 -1
- package/dist/collection/components/table/table-row/table-row.css +10 -8
- package/dist/collection/components/table/table-row/table-row.js +6 -16
- package/dist/collection/components/table/table-rowgroup/table-rowgroup.css +6 -4
- package/dist/collection/components/table/table-rowgroup/table-rowgroup.js +2 -2
- package/dist/collection/components/table/table.css +6 -4
- package/dist/collection/components/table/table.js +2 -2
- package/dist/collection/components/textarea/textarea.css +6 -4
- package/dist/collection/components/textarea/textarea.js +2 -2
- package/dist/collection/components/toggle-button/toggle-button.css +6 -4
- package/dist/collection/components/toggle-button/toggle-button.js +3 -3
- package/dist/collection/components/toggle-chip/toggle-chip.css +37 -20
- package/dist/collection/components/toggle-chip/toggle-chip.js +5 -24
- package/dist/collection/components/toggle-chip/toggle-chip.stories.js +51 -0
- package/dist/collection/components/toggle-group/toggle-group.css +6 -4
- package/dist/collection/components/toggle-group/toggle-group.js +2 -2
- package/dist/collection/components/toggle-switch/toggle-switch.css +6 -4
- package/dist/collection/components/toggle-switch/toggle-switch.js +4 -4
- package/dist/collection/components/tooltip/tooltip.css +6 -4
- package/dist/collection/components/tooltip/tooltip.js +3 -3
- package/dist/collection/components/tooltip/tooltip.stories.js +3 -3
- package/dist/collection/components/wizard/wizard-step.js +2 -2
- package/dist/collection/components/wizard/wizard.css +6 -4
- package/dist/collection/components/wizard/wizard.js +1 -1
- package/dist/collection/components/wizard-icon/wizard-icon.css +6 -4
- package/dist/collection/components/wizard-icon/wizard-icon.js +2 -2
- package/dist/components/b2b-alert.js +7 -7
- package/dist/components/b2b-anchor.js +1 -1
- package/dist/components/b2b-background-box.js +16 -4
- package/dist/components/b2b-breadcrumb-item.js +1 -1
- package/dist/components/b2b-breadcrumb.js +1 -1
- package/dist/components/b2b-card.js +1 -1
- package/dist/components/b2b-checkbox-group.js +1 -1
- package/dist/components/b2b-date-picker.js +6 -6
- package/dist/components/b2b-dropdown.js +1 -1
- package/dist/components/b2b-flyout-menu-option.js +1 -1
- package/dist/components/b2b-flyout-menu.js +1 -1
- package/dist/components/b2b-grid-col.js +7 -18
- package/dist/components/b2b-grid-row.js +33 -2
- package/dist/components/b2b-icon-100.js +1 -411
- package/dist/components/b2b-icon-50.js +1 -1
- package/dist/components/b2b-icon.js +444 -1
- package/dist/components/b2b-label.js +1 -1
- package/dist/components/b2b-modal.js +5 -5
- package/dist/components/b2b-multiselect-dropdown.js +6 -6
- package/dist/components/b2b-pagination.js +1 -1
- package/dist/components/b2b-paragraph.js +1 -1
- package/dist/components/b2b-progress-bar.js +1 -1
- package/dist/components/b2b-radio-button.js +1 -1
- package/dist/components/b2b-radio-group.js +1 -1
- package/dist/components/b2b-required-separator.js +1 -1
- package/dist/components/b2b-scrollable-container.js +1 -1
- package/dist/components/b2b-search.js +4 -4
- package/dist/components/b2b-snackbar.d.ts +11 -0
- package/dist/components/b2b-snackbar.js +141 -0
- package/dist/components/b2b-tab-group.js +1 -1
- package/dist/components/b2b-tab-panel.js +2 -2
- package/dist/components/b2b-tab.js +3 -3
- package/dist/components/b2b-table-row.js +10 -20
- package/dist/components/b2b-table-rowgroup.js +3 -3
- package/dist/components/b2b-table.js +3 -3
- package/dist/components/b2b-textarea.js +3 -3
- package/dist/components/b2b-toggle-button.js +4 -4
- package/dist/components/b2b-toggle-chip.js +6 -8
- package/dist/components/b2b-toggle-group.js +3 -3
- package/dist/components/b2b-toggle-switch.js +5 -5
- package/dist/components/b2b-tooltip.js +4 -4
- package/dist/components/b2b-wizard-step.js +6 -6
- package/dist/components/b2b-wizard.js +2 -2
- package/dist/components/button.js +3 -3
- package/dist/components/checkbox.js +1 -1
- package/dist/components/chip.js +1 -1
- package/dist/components/date-picker-days-header.js +1 -1
- package/dist/components/date-picker-days.js +1 -1
- package/dist/components/date-picker-header.js +8 -8
- package/dist/components/date-picker-months.js +1 -1
- package/dist/components/date-picker-years.js +1 -1
- package/dist/components/headline.js +1 -1
- package/dist/components/{icon.js → icon-100.js} +23 -56
- package/dist/components/input-group.js +1 -1
- package/dist/components/input-list-option.js +1 -1
- package/dist/components/input-list.js +5 -5
- package/dist/components/input.js +8 -5
- package/dist/components/multiselect-option.js +1 -1
- package/dist/components/rounded-icon.js +1 -1
- package/dist/components/separator.js +1 -1
- package/dist/components/spinner.js +2 -2
- package/dist/components/table-cell.js +3 -3
- package/dist/components/table-header.js +2 -2
- package/dist/components/wizard-icon.js +6 -6
- package/dist/custom-elements.json +99 -12
- package/dist/esm/b2b-alert.entry.js +4 -4
- package/dist/esm/b2b-anchor.entry.js +1 -1
- package/dist/esm/b2b-background-box.entry.js +11 -3
- package/dist/esm/b2b-breadcrumb-item.entry.js +1 -1
- package/dist/esm/b2b-breadcrumb.entry.js +1 -1
- package/dist/esm/b2b-button_2.entry.js +5 -5
- package/dist/esm/b2b-card.entry.js +1 -1
- package/dist/esm/b2b-checkbox-group.entry.js +1 -1
- package/dist/esm/b2b-checkbox.entry.js +1 -1
- package/dist/esm/b2b-chip-component_2.entry.js +2 -2
- package/dist/esm/b2b-core-components.js +1 -1
- package/dist/esm/b2b-date-picker-days_5.entry.js +9 -9
- package/dist/esm/b2b-date-picker.entry.js +3 -3
- package/dist/esm/b2b-dropdown.entry.js +1 -1
- package/dist/esm/b2b-flyout-menu-option.entry.js +1 -1
- package/dist/esm/b2b-flyout-menu.entry.js +1 -1
- package/dist/esm/b2b-grid-col.entry.js +7 -18
- package/dist/esm/b2b-grid-row.entry.js +33 -2
- package/dist/esm/b2b-headline.entry.js +1 -1
- package/dist/esm/b2b-icon-100.entry.js +1 -1
- package/dist/esm/b2b-icon-50.entry.js +1 -1
- package/dist/esm/b2b-icon.entry.js +1 -1
- package/dist/esm/b2b-input-group_2.entry.js +3 -3
- package/dist/esm/b2b-input_2.entry.js +9 -6
- package/dist/esm/b2b-label.entry.js +1 -1
- package/dist/esm/b2b-modal.entry.js +2 -2
- package/dist/esm/b2b-multiselect-dropdown.entry.js +3 -3
- package/dist/esm/b2b-pagination.entry.js +1 -1
- package/dist/esm/b2b-paragraph.entry.js +1 -1
- package/dist/esm/b2b-progress-bar.entry.js +1 -1
- package/dist/esm/b2b-radio-button.entry.js +1 -1
- package/dist/esm/b2b-radio-group.entry.js +1 -1
- package/dist/esm/b2b-required-separator.entry.js +1 -1
- package/dist/esm/b2b-rounded-icon.entry.js +1 -1
- package/dist/esm/b2b-scrollable-container.entry.js +1 -1
- package/dist/esm/b2b-search.entry.js +1 -1
- package/dist/esm/b2b-separator.entry.js +1 -1
- package/dist/esm/b2b-snackbar.entry.js +107 -0
- package/dist/esm/b2b-tab-group.entry.js +1 -1
- package/dist/esm/b2b-tab-panel.entry.js +2 -2
- package/dist/esm/b2b-tab.entry.js +3 -3
- package/dist/esm/b2b-table-cell_2.entry.js +5 -5
- package/dist/esm/b2b-table-row.entry.js +7 -17
- package/dist/esm/b2b-table-rowgroup.entry.js +3 -3
- package/dist/esm/b2b-table.entry.js +3 -3
- package/dist/esm/b2b-textarea.entry.js +3 -3
- package/dist/esm/b2b-toggle-button.entry.js +4 -4
- package/dist/esm/b2b-toggle-chip.entry.js +6 -7
- package/dist/esm/b2b-toggle-group.entry.js +3 -3
- package/dist/esm/b2b-toggle-switch.entry.js +5 -5
- package/dist/esm/b2b-tooltip.entry.js +4 -4
- package/dist/esm/b2b-wizard-icon.entry.js +3 -3
- package/dist/esm/b2b-wizard-step.entry.js +3 -3
- package/dist/esm/b2b-wizard.entry.js +2 -2
- package/dist/esm/index-ab9eb36d.js +8 -4
- package/dist/esm/loader.js +1 -1
- package/dist/types/components/background-box/background-box.d.ts +8 -0
- package/dist/types/components/background-box/background-box.stories.d.ts +1 -0
- package/dist/types/components/grid/grid.stories.d.ts +8 -7
- package/dist/types/components/grid/row.d.ts +2 -0
- package/dist/types/components/input/input.d.ts +2 -0
- package/dist/types/components/input/input.stories.d.ts +1 -0
- package/dist/types/components/snackbar/snackbar.d.ts +36 -0
- package/dist/types/components/snackbar/snackbar.stories.d.ts +9 -0
- package/dist/types/components/table/table-row/table-row.d.ts +0 -2
- package/dist/types/components/toggle-chip/toggle-chip.d.ts +0 -2
- package/dist/types/components/toggle-chip/toggle-chip.stories.d.ts +8 -0
- package/dist/types/components/tooltip/tooltip.stories.d.ts +2 -2
- package/dist/types/components.d.ts +125 -8
- package/dist/web-types.json +143 -11
- package/package.json +2 -2
- package/dist/b2b-core-components/p-01c05f0c.entry.js +0 -1
- package/dist/b2b-core-components/p-029da6d8.entry.js +0 -1
- package/dist/b2b-core-components/p-05ad52a3.entry.js +0 -1
- package/dist/b2b-core-components/p-078a9f04.entry.js +0 -1
- package/dist/b2b-core-components/p-15988a15.entry.js +0 -1
- package/dist/b2b-core-components/p-1930be42.entry.js +0 -1
- package/dist/b2b-core-components/p-19b5503c.entry.js +0 -1
- package/dist/b2b-core-components/p-1c048a27.entry.js +0 -1
- package/dist/b2b-core-components/p-20d53606.entry.js +0 -1
- package/dist/b2b-core-components/p-228e1449.entry.js +0 -1
- package/dist/b2b-core-components/p-232acfe1.entry.js +0 -1
- package/dist/b2b-core-components/p-271d44a7.entry.js +0 -1
- package/dist/b2b-core-components/p-296f824d.entry.js +0 -1
- package/dist/b2b-core-components/p-2bab8c7f.entry.js +0 -1
- package/dist/b2b-core-components/p-2c8f2fa9.entry.js +0 -1
- package/dist/b2b-core-components/p-3665d675.entry.js +0 -1
- package/dist/b2b-core-components/p-3ef45a4b.entry.js +0 -1
- package/dist/b2b-core-components/p-3ffba273.entry.js +0 -1
- package/dist/b2b-core-components/p-48e693a5.entry.js +0 -1
- package/dist/b2b-core-components/p-5958af69.entry.js +0 -1
- package/dist/b2b-core-components/p-5a7e3db7.entry.js +0 -1
- package/dist/b2b-core-components/p-6e031b32.entry.js +0 -1
- package/dist/b2b-core-components/p-6f3a6904.entry.js +0 -1
- package/dist/b2b-core-components/p-7264f359.entry.js +0 -1
- package/dist/b2b-core-components/p-744e8fc3.entry.js +0 -1
- package/dist/b2b-core-components/p-752d38c8.entry.js +0 -1
- package/dist/b2b-core-components/p-7afbfa3b.entry.js +0 -1
- package/dist/b2b-core-components/p-7e59c92f.entry.js +0 -1
- package/dist/b2b-core-components/p-88c0c97c.entry.js +0 -1
- package/dist/b2b-core-components/p-92a809de.entry.js +0 -1
- package/dist/b2b-core-components/p-94f80a44.entry.js +0 -1
- package/dist/b2b-core-components/p-9f453acb.entry.js +0 -1
- package/dist/b2b-core-components/p-a37ad232.entry.js +0 -1
- package/dist/b2b-core-components/p-ad0df2f2.entry.js +0 -1
- package/dist/b2b-core-components/p-b03d197a.entry.js +0 -1
- package/dist/b2b-core-components/p-b045e097.entry.js +0 -1
- package/dist/b2b-core-components/p-b368015e.entry.js +0 -1
- package/dist/b2b-core-components/p-c03d0533.entry.js +0 -1
- package/dist/b2b-core-components/p-c10ee62f.entry.js +0 -1
- package/dist/b2b-core-components/p-c365567c.entry.js +0 -1
- package/dist/b2b-core-components/p-c97990e8.entry.js +0 -1
- package/dist/b2b-core-components/p-cad3574a.entry.js +0 -1
- package/dist/b2b-core-components/p-cd520262.entry.js +0 -1
- package/dist/b2b-core-components/p-d0035d7d.entry.js +0 -1
- package/dist/b2b-core-components/p-d3a04423.entry.js +0 -1
- package/dist/b2b-core-components/p-db67d6f7.entry.js +0 -1
- package/dist/b2b-core-components/p-f1287a36.entry.js +0 -1
- package/dist/b2b-core-components/p-f8f280fc.entry.js +0 -1
|
@@ -0,0 +1,273 @@
|
|
|
1
|
+
import { h, Host, } from "@stencil/core";
|
|
2
|
+
export class SnackbarComponent {
|
|
3
|
+
constructor() {
|
|
4
|
+
/** when user hovers over snackbar, the timer is paused. */
|
|
5
|
+
this.handleMouseEnter = () => {
|
|
6
|
+
if (this.timeoutId && this.timed && this.type !== 'error') {
|
|
7
|
+
this.remainingTime -= Date.now() - this.startTime;
|
|
8
|
+
this.clearTimer();
|
|
9
|
+
}
|
|
10
|
+
};
|
|
11
|
+
this.handleMouseLeave = () => {
|
|
12
|
+
this.startTimer();
|
|
13
|
+
};
|
|
14
|
+
this.close = () => {
|
|
15
|
+
this.opened = false;
|
|
16
|
+
this.b2bClose.emit();
|
|
17
|
+
};
|
|
18
|
+
this.isActionPresent = () => {
|
|
19
|
+
return this.hasAction;
|
|
20
|
+
};
|
|
21
|
+
this.chooseIcon = () => {
|
|
22
|
+
let iconName;
|
|
23
|
+
switch (this.type) {
|
|
24
|
+
case 'success':
|
|
25
|
+
iconName = 'b2b_icon-check';
|
|
26
|
+
break;
|
|
27
|
+
case 'info':
|
|
28
|
+
iconName = 'b2b_icon-info';
|
|
29
|
+
break;
|
|
30
|
+
case 'error':
|
|
31
|
+
iconName = 'b2b_icon-error';
|
|
32
|
+
break;
|
|
33
|
+
case 'warning':
|
|
34
|
+
iconName = 'b2b_icon-warning';
|
|
35
|
+
break;
|
|
36
|
+
default:
|
|
37
|
+
iconName = 'b2b_icon-info';
|
|
38
|
+
}
|
|
39
|
+
return h("b2b-icon-100", { icon: iconName, size: 28 });
|
|
40
|
+
};
|
|
41
|
+
this.handleActionClick = () => {
|
|
42
|
+
this.b2bActionClick.emit();
|
|
43
|
+
};
|
|
44
|
+
this.description = undefined;
|
|
45
|
+
this.type = 'info';
|
|
46
|
+
this.opened = false;
|
|
47
|
+
this.timed = true;
|
|
48
|
+
this.duration = 5000;
|
|
49
|
+
this.hasAction = false;
|
|
50
|
+
this.actionLabel = undefined;
|
|
51
|
+
}
|
|
52
|
+
onVisibleChange(newValue) {
|
|
53
|
+
if (this.timed && this.type !== 'error') {
|
|
54
|
+
if (newValue) {
|
|
55
|
+
this.remainingTime = this.duration;
|
|
56
|
+
this.startTimer();
|
|
57
|
+
}
|
|
58
|
+
else {
|
|
59
|
+
this.clearTimer();
|
|
60
|
+
}
|
|
61
|
+
}
|
|
62
|
+
}
|
|
63
|
+
startTimer() {
|
|
64
|
+
if (this.timed && this.type !== 'error') {
|
|
65
|
+
this.clearTimer();
|
|
66
|
+
this.startTime = Date.now();
|
|
67
|
+
this.timeoutId = window.setTimeout(() => {
|
|
68
|
+
this.opened = false;
|
|
69
|
+
}, this.remainingTime);
|
|
70
|
+
}
|
|
71
|
+
}
|
|
72
|
+
clearTimer() {
|
|
73
|
+
if (this.timeoutId !== null) {
|
|
74
|
+
clearTimeout(this.timeoutId);
|
|
75
|
+
this.timeoutId = null;
|
|
76
|
+
}
|
|
77
|
+
}
|
|
78
|
+
disconnectedCallback() {
|
|
79
|
+
clearTimeout(this.timeoutId);
|
|
80
|
+
}
|
|
81
|
+
render() {
|
|
82
|
+
return (h(Host, { key: '04458c2dfdaa2dc6a776f6a960995c2e674eaafe', onMouseEnter: this.handleMouseEnter, onMouseLeave: this.handleMouseLeave }, h("div", { key: '1164448bd605fcfc6aa9381f48394ccff815ae7d', class: {
|
|
83
|
+
'b2b-snackbar': true,
|
|
84
|
+
[`b2b-snackbar--${this.type}`]: true,
|
|
85
|
+
'b2b-snackbar--opened': this.opened,
|
|
86
|
+
} }, h("div", { key: 'b379f16e619e82643b365bdc72821b42876c1610', class: "b2b-snackbar__content" }, h("span", { key: 'bea153ca5d483b547633d370dc58602876a2ff26', class: { [`b2b-snackbar--${this.type}__icon`]: true } }, this.chooseIcon()), h("p", { key: '233b75cd0ff257582430973c8652a2ef182b75ed', class: "b2b-snackbar__content__description" }, this.description)), this.isActionPresent() && (h("div", { class: {
|
|
87
|
+
'b2b-snackbar__action': true,
|
|
88
|
+
[`b2b-snackbar__action--${this.type}`]: true,
|
|
89
|
+
}, onClick: this.handleActionClick }, h("a", null, this.actionLabel))), h("div", { key: 'c27940624032c5552e39582feb91735bcc9c3817', class: {
|
|
90
|
+
'b2b-snackbar__close-icon': true,
|
|
91
|
+
[`b2b-snackbar__close-icon--${this.type}`]: true,
|
|
92
|
+
}, onClick: this.close }, h("b2b-icon-100", { key: 'b151a54a9cead4fd9ae21db8962700aba997631d', clickable: true, size: 24, icon: "b2b_icon-close" })))));
|
|
93
|
+
}
|
|
94
|
+
static get is() { return "b2b-snackbar"; }
|
|
95
|
+
static get encapsulation() { return "shadow"; }
|
|
96
|
+
static get originalStyleUrls() {
|
|
97
|
+
return {
|
|
98
|
+
"$": ["snackbar.scss"]
|
|
99
|
+
};
|
|
100
|
+
}
|
|
101
|
+
static get styleUrls() {
|
|
102
|
+
return {
|
|
103
|
+
"$": ["snackbar.css"]
|
|
104
|
+
};
|
|
105
|
+
}
|
|
106
|
+
static get properties() {
|
|
107
|
+
return {
|
|
108
|
+
"description": {
|
|
109
|
+
"type": "string",
|
|
110
|
+
"mutable": false,
|
|
111
|
+
"complexType": {
|
|
112
|
+
"original": "string",
|
|
113
|
+
"resolved": "string",
|
|
114
|
+
"references": {}
|
|
115
|
+
},
|
|
116
|
+
"required": false,
|
|
117
|
+
"optional": false,
|
|
118
|
+
"docs": {
|
|
119
|
+
"tags": [],
|
|
120
|
+
"text": "Text on the snackbar."
|
|
121
|
+
},
|
|
122
|
+
"attribute": "description",
|
|
123
|
+
"reflect": false
|
|
124
|
+
},
|
|
125
|
+
"type": {
|
|
126
|
+
"type": "string",
|
|
127
|
+
"mutable": false,
|
|
128
|
+
"complexType": {
|
|
129
|
+
"original": "'info' | 'success' | 'warning' | 'error'",
|
|
130
|
+
"resolved": "\"error\" | \"info\" | \"success\" | \"warning\"",
|
|
131
|
+
"references": {}
|
|
132
|
+
},
|
|
133
|
+
"required": false,
|
|
134
|
+
"optional": false,
|
|
135
|
+
"docs": {
|
|
136
|
+
"tags": [],
|
|
137
|
+
"text": "The type of snackbar. Default is info."
|
|
138
|
+
},
|
|
139
|
+
"attribute": "type",
|
|
140
|
+
"reflect": false,
|
|
141
|
+
"defaultValue": "'info'"
|
|
142
|
+
},
|
|
143
|
+
"opened": {
|
|
144
|
+
"type": "boolean",
|
|
145
|
+
"mutable": true,
|
|
146
|
+
"complexType": {
|
|
147
|
+
"original": "boolean",
|
|
148
|
+
"resolved": "boolean",
|
|
149
|
+
"references": {}
|
|
150
|
+
},
|
|
151
|
+
"required": false,
|
|
152
|
+
"optional": false,
|
|
153
|
+
"docs": {
|
|
154
|
+
"tags": [],
|
|
155
|
+
"text": "Whether the snackbar is currently visible. Set to true to display the snackbar."
|
|
156
|
+
},
|
|
157
|
+
"attribute": "opened",
|
|
158
|
+
"reflect": false,
|
|
159
|
+
"defaultValue": "false"
|
|
160
|
+
},
|
|
161
|
+
"timed": {
|
|
162
|
+
"type": "boolean",
|
|
163
|
+
"mutable": false,
|
|
164
|
+
"complexType": {
|
|
165
|
+
"original": "boolean",
|
|
166
|
+
"resolved": "boolean",
|
|
167
|
+
"references": {}
|
|
168
|
+
},
|
|
169
|
+
"required": false,
|
|
170
|
+
"optional": false,
|
|
171
|
+
"docs": {
|
|
172
|
+
"tags": [],
|
|
173
|
+
"text": "Whether snackbar is show for limited time. Default is true. Error snackbars cannot be timed."
|
|
174
|
+
},
|
|
175
|
+
"attribute": "timed",
|
|
176
|
+
"reflect": false,
|
|
177
|
+
"defaultValue": "true"
|
|
178
|
+
},
|
|
179
|
+
"duration": {
|
|
180
|
+
"type": "number",
|
|
181
|
+
"mutable": false,
|
|
182
|
+
"complexType": {
|
|
183
|
+
"original": "number",
|
|
184
|
+
"resolved": "number",
|
|
185
|
+
"references": {}
|
|
186
|
+
},
|
|
187
|
+
"required": false,
|
|
188
|
+
"optional": false,
|
|
189
|
+
"docs": {
|
|
190
|
+
"tags": [],
|
|
191
|
+
"text": "How long is snackbar shown. Default value is 5000 ms."
|
|
192
|
+
},
|
|
193
|
+
"attribute": "duration",
|
|
194
|
+
"reflect": false,
|
|
195
|
+
"defaultValue": "5000"
|
|
196
|
+
},
|
|
197
|
+
"hasAction": {
|
|
198
|
+
"type": "boolean",
|
|
199
|
+
"mutable": false,
|
|
200
|
+
"complexType": {
|
|
201
|
+
"original": "boolean",
|
|
202
|
+
"resolved": "boolean",
|
|
203
|
+
"references": {}
|
|
204
|
+
},
|
|
205
|
+
"required": false,
|
|
206
|
+
"optional": false,
|
|
207
|
+
"docs": {
|
|
208
|
+
"tags": [],
|
|
209
|
+
"text": "Whether the snackbar has a Call-to-Action. Per default, it is false."
|
|
210
|
+
},
|
|
211
|
+
"attribute": "has-action",
|
|
212
|
+
"reflect": false,
|
|
213
|
+
"defaultValue": "false"
|
|
214
|
+
},
|
|
215
|
+
"actionLabel": {
|
|
216
|
+
"type": "string",
|
|
217
|
+
"mutable": false,
|
|
218
|
+
"complexType": {
|
|
219
|
+
"original": "string",
|
|
220
|
+
"resolved": "string",
|
|
221
|
+
"references": {}
|
|
222
|
+
},
|
|
223
|
+
"required": false,
|
|
224
|
+
"optional": false,
|
|
225
|
+
"docs": {
|
|
226
|
+
"tags": [],
|
|
227
|
+
"text": "Text for the Call-to-Action link."
|
|
228
|
+
},
|
|
229
|
+
"attribute": "action-label",
|
|
230
|
+
"reflect": false
|
|
231
|
+
}
|
|
232
|
+
};
|
|
233
|
+
}
|
|
234
|
+
static get events() {
|
|
235
|
+
return [{
|
|
236
|
+
"method": "b2bClose",
|
|
237
|
+
"name": "b2b-close",
|
|
238
|
+
"bubbles": true,
|
|
239
|
+
"cancelable": true,
|
|
240
|
+
"composed": true,
|
|
241
|
+
"docs": {
|
|
242
|
+
"tags": [],
|
|
243
|
+
"text": "Emits whenever the snackbar is closed."
|
|
244
|
+
},
|
|
245
|
+
"complexType": {
|
|
246
|
+
"original": "void",
|
|
247
|
+
"resolved": "void",
|
|
248
|
+
"references": {}
|
|
249
|
+
}
|
|
250
|
+
}, {
|
|
251
|
+
"method": "b2bActionClick",
|
|
252
|
+
"name": "b2b-action-click",
|
|
253
|
+
"bubbles": true,
|
|
254
|
+
"cancelable": true,
|
|
255
|
+
"composed": true,
|
|
256
|
+
"docs": {
|
|
257
|
+
"tags": [],
|
|
258
|
+
"text": "Emits whenever the CTA is clicked."
|
|
259
|
+
},
|
|
260
|
+
"complexType": {
|
|
261
|
+
"original": "void",
|
|
262
|
+
"resolved": "void",
|
|
263
|
+
"references": {}
|
|
264
|
+
}
|
|
265
|
+
}];
|
|
266
|
+
}
|
|
267
|
+
static get watchers() {
|
|
268
|
+
return [{
|
|
269
|
+
"propName": "opened",
|
|
270
|
+
"methodName": "onVisibleChange"
|
|
271
|
+
}];
|
|
272
|
+
}
|
|
273
|
+
}
|
|
@@ -0,0 +1,89 @@
|
|
|
1
|
+
var __rest = (this && this.__rest) || function (s, e) {
|
|
2
|
+
var t = {};
|
|
3
|
+
for (var p in s)
|
|
4
|
+
if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
|
|
5
|
+
t[p] = s[p];
|
|
6
|
+
if (s != null && typeof Object.getOwnPropertySymbols === "function")
|
|
7
|
+
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
8
|
+
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
|
|
9
|
+
t[p[i]] = s[p[i]];
|
|
10
|
+
}
|
|
11
|
+
return t;
|
|
12
|
+
};
|
|
13
|
+
import { getArgTypes } from "../../docs/config/utils";
|
|
14
|
+
import { html } from "lit-html";
|
|
15
|
+
import { useArgs } from "@storybook/preview-api";
|
|
16
|
+
import { screen } from "@storybook/testing-library";
|
|
17
|
+
getArgTypes('b2b-snackbar');
|
|
18
|
+
const meta = {
|
|
19
|
+
title: 'Components/Status & Feedback/Snackbar',
|
|
20
|
+
component: 'b2b-snackbar',
|
|
21
|
+
args: {
|
|
22
|
+
type: 'info',
|
|
23
|
+
description: `This is a snackbar`,
|
|
24
|
+
opened: true,
|
|
25
|
+
timed: false,
|
|
26
|
+
duration: 5000,
|
|
27
|
+
hasAction: true,
|
|
28
|
+
actionLabel: 'Call to Action',
|
|
29
|
+
},
|
|
30
|
+
argTypes: getArgTypes('b2b-snackbar'),
|
|
31
|
+
render: (_a) => {
|
|
32
|
+
var args = __rest(_a, []);
|
|
33
|
+
const [_, updateArgs] = useArgs();
|
|
34
|
+
const showSnackBar = async () => {
|
|
35
|
+
updateArgs({ opened: true });
|
|
36
|
+
};
|
|
37
|
+
const hideSnackbar = async () => {
|
|
38
|
+
updateArgs({ opened: false });
|
|
39
|
+
};
|
|
40
|
+
return html ` <b2b-button variant="primary" @click=${showSnackBar}
|
|
41
|
+
>Show Snackbar</b2b-button
|
|
42
|
+
>
|
|
43
|
+
<b2b-button @click=${hideSnackbar}>Hide Snackbar</b2b-button>
|
|
44
|
+
<hr />
|
|
45
|
+
<b2b-snackbar
|
|
46
|
+
description="${args.description}"
|
|
47
|
+
type="${args.type}"
|
|
48
|
+
opened="${args.opened}"
|
|
49
|
+
timed="${args.timed}"
|
|
50
|
+
duration="${args.duration}"
|
|
51
|
+
has-action="${args.hasAction}"
|
|
52
|
+
action-label="${args.actionLabel}"></b2b-snackbar>`;
|
|
53
|
+
},
|
|
54
|
+
};
|
|
55
|
+
export default meta;
|
|
56
|
+
const showSnackBar = async () => {
|
|
57
|
+
const showSnackBarButton = screen.getByText('Show Snackbar');
|
|
58
|
+
await showSnackBarButton.click();
|
|
59
|
+
};
|
|
60
|
+
export const InfoSnackbar = {
|
|
61
|
+
args: Object.assign(Object.assign({}, meta.args), { type: 'info', description: 'This is an info snackbar' }),
|
|
62
|
+
play: async () => {
|
|
63
|
+
await showSnackBar();
|
|
64
|
+
},
|
|
65
|
+
};
|
|
66
|
+
export const SuccessSnackbar = {
|
|
67
|
+
args: Object.assign(Object.assign({}, meta.args), { type: 'success', description: 'This is a success snackbar' }),
|
|
68
|
+
play: async () => {
|
|
69
|
+
await showSnackBar();
|
|
70
|
+
},
|
|
71
|
+
};
|
|
72
|
+
export const WarningSnackbar = {
|
|
73
|
+
args: Object.assign(Object.assign({}, meta.args), { type: 'warning', description: 'This is a warning snackbar' }),
|
|
74
|
+
play: async () => {
|
|
75
|
+
await showSnackBar();
|
|
76
|
+
},
|
|
77
|
+
};
|
|
78
|
+
export const ErrorSnackbar = {
|
|
79
|
+
args: Object.assign(Object.assign({}, meta.args), { type: 'error', description: 'This is an error snackbar' }),
|
|
80
|
+
play: async () => {
|
|
81
|
+
await showSnackBar();
|
|
82
|
+
},
|
|
83
|
+
};
|
|
84
|
+
export const TimedSnackbar = {
|
|
85
|
+
args: Object.assign(Object.assign({}, meta.args), { type: 'info', timed: true, duration: 3000, description: 'This is timed snackbar' }),
|
|
86
|
+
play: async () => {
|
|
87
|
+
await showSnackBar();
|
|
88
|
+
},
|
|
89
|
+
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Do not edit directly
|
|
3
|
-
* Generated on Thu,
|
|
3
|
+
* Generated on Thu, 20 Feb 2025 15:47:48 GMT
|
|
4
4
|
*/
|
|
5
5
|
:root, :host {
|
|
6
6
|
--b2b-size-200: 5rem; /* 80px */
|
|
@@ -35,7 +35,8 @@
|
|
|
35
35
|
--b2b-color-table-selected-default: #cce9ff;
|
|
36
36
|
--b2b-color-background-overlay-transparent-40: rgba(34, 34, 34, 0.25);
|
|
37
37
|
--b2b-color-background-overlay-transparent-80: rgba(34, 34, 34, 0.5);
|
|
38
|
-
--b2b-color-hover: #
|
|
38
|
+
--b2b-color-hover-black: #3b3b3b;
|
|
39
|
+
--b2b-color-hover-default: #e6f4ff;
|
|
39
40
|
--b2b-color-info-100: #003264;
|
|
40
41
|
--b2b-color-info-50: #ccd6e0;
|
|
41
42
|
--b2b-color-success-100: #326400;
|
|
@@ -122,7 +123,7 @@
|
|
|
122
123
|
}
|
|
123
124
|
/**
|
|
124
125
|
* Do not edit directly
|
|
125
|
-
* Generated on Thu,
|
|
126
|
+
* Generated on Thu, 20 Feb 2025 15:47:48 GMT
|
|
126
127
|
*/
|
|
127
128
|
:root [data-theme="dark"] {
|
|
128
129
|
--b2b-size-200: 5rem; /* 80px */
|
|
@@ -153,7 +154,8 @@
|
|
|
153
154
|
--b2b-font-weight-normal: 500;
|
|
154
155
|
--b2b-font-weight-thin: 100;
|
|
155
156
|
--b2b-font-family-default: OttoSans, Arial, Helvetica, sans-serif;
|
|
156
|
-
--b2b-color-hover: #
|
|
157
|
+
--b2b-color-hover-black: #3b3b3b;
|
|
158
|
+
--b2b-color-hover-default: #e6f4ff;
|
|
157
159
|
--b2b-color-info-100: #003264;
|
|
158
160
|
--b2b-color-info-50: #ccd6e0;
|
|
159
161
|
--b2b-color-success-100: #326400;
|
|
@@ -9,7 +9,7 @@ export class SpinnerComponent {
|
|
|
9
9
|
this.color = 'primary';
|
|
10
10
|
}
|
|
11
11
|
render() {
|
|
12
|
-
return (h("div", { key: '
|
|
12
|
+
return (h("div", { key: '4f5260768ae735e57ffc2b4838033a73d19226ae', class: {
|
|
13
13
|
'b2b-spinner': true,
|
|
14
14
|
['b2b-spinner--size-' + this.size]: true,
|
|
15
15
|
['b2b-spinner--color-' + this.color]: true,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Do not edit directly
|
|
3
|
-
* Generated on Thu,
|
|
3
|
+
* Generated on Thu, 20 Feb 2025 15:47:48 GMT
|
|
4
4
|
*/
|
|
5
5
|
:root, :host {
|
|
6
6
|
--b2b-size-200: 5rem; /* 80px */
|
|
@@ -35,7 +35,8 @@
|
|
|
35
35
|
--b2b-color-table-selected-default: #cce9ff;
|
|
36
36
|
--b2b-color-background-overlay-transparent-40: rgba(34, 34, 34, 0.25);
|
|
37
37
|
--b2b-color-background-overlay-transparent-80: rgba(34, 34, 34, 0.5);
|
|
38
|
-
--b2b-color-hover: #
|
|
38
|
+
--b2b-color-hover-black: #3b3b3b;
|
|
39
|
+
--b2b-color-hover-default: #e6f4ff;
|
|
39
40
|
--b2b-color-info-100: #003264;
|
|
40
41
|
--b2b-color-info-50: #ccd6e0;
|
|
41
42
|
--b2b-color-success-100: #326400;
|
|
@@ -122,7 +123,7 @@
|
|
|
122
123
|
}
|
|
123
124
|
/**
|
|
124
125
|
* Do not edit directly
|
|
125
|
-
* Generated on Thu,
|
|
126
|
+
* Generated on Thu, 20 Feb 2025 15:47:48 GMT
|
|
126
127
|
*/
|
|
127
128
|
:root [data-theme="dark"] {
|
|
128
129
|
--b2b-size-200: 5rem; /* 80px */
|
|
@@ -153,7 +154,8 @@
|
|
|
153
154
|
--b2b-font-weight-normal: 500;
|
|
154
155
|
--b2b-font-weight-thin: 100;
|
|
155
156
|
--b2b-font-family-default: OttoSans, Arial, Helvetica, sans-serif;
|
|
156
|
-
--b2b-color-hover: #
|
|
157
|
+
--b2b-color-hover-black: #3b3b3b;
|
|
158
|
+
--b2b-color-hover-default: #e6f4ff;
|
|
157
159
|
--b2b-color-info-100: #003264;
|
|
158
160
|
--b2b-color-info-50: #ccd6e0;
|
|
159
161
|
--b2b-color-success-100: #326400;
|
|
@@ -17,12 +17,12 @@ export class B2bTabComponent {
|
|
|
17
17
|
}
|
|
18
18
|
}
|
|
19
19
|
render() {
|
|
20
|
-
return (h(Host, { key: '
|
|
20
|
+
return (h(Host, { key: '0410edbe90350ea56562dce3f449586bf81930e0', id: `b2b-tab-${this.generatedId}`, "aria-role": "tab", "aria-selected": this.selected, role: this.disabled ? false : 'tab', disabled: this.disabled, tabindex: this.disabled ? false : this.selected ? '0' : '-1' }, h("span", { key: '4de08722c772c17d857cae23f8fae0a20ead6c26', class: {
|
|
21
21
|
'b2b-tab': true,
|
|
22
22
|
'b2b-tab--selected': this.selected,
|
|
23
23
|
'b2b-tab--disabled': this.disabled,
|
|
24
24
|
'b2b-tab--error': this.invalid,
|
|
25
|
-
} }, h("slot", { key: '
|
|
25
|
+
} }, h("slot", { key: 'c50c07e5c5d3234ce520b6d8b54307b92f4ee3bf' }))));
|
|
26
26
|
}
|
|
27
27
|
static get is() { return "b2b-tab"; }
|
|
28
28
|
static get encapsulation() { return "shadow"; }
|
|
@@ -121,7 +121,7 @@ export class B2bTabGroupComponent {
|
|
|
121
121
|
});
|
|
122
122
|
}
|
|
123
123
|
render() {
|
|
124
|
-
return (h(Host, { key: '
|
|
124
|
+
return (h(Host, { key: '39652541b07e8cce041ae17f11bb3fdca1ef8882' }, h("slot", { key: 'ecff6cba7b213dab889f7d0c7335d7de34658e38', name: "tab" }), h("b2b-separator", { key: 'b1e7fcf0cf8d425afdb9b2177a2754eb08c9c7d0' }), h("slot", { key: '586071455ea83b7ac6048581b72e40dc440d9b37', name: "panel" })));
|
|
125
125
|
}
|
|
126
126
|
static get is() { return "b2b-tab-group"; }
|
|
127
127
|
static get encapsulation() { return "shadow"; }
|
|
@@ -32,7 +32,7 @@ const Template = ({ useRouter }) => {
|
|
|
32
32
|
<option value="one">$</option>
|
|
33
33
|
</b2b-dropdown>
|
|
34
34
|
<b2b-button slot="end" variant="primary"
|
|
35
|
-
><b2b-icon icon="b2b_icon-search"></b2b-icon
|
|
35
|
+
><b2b-icon-100 icon="b2b_icon-search"></b2b-icon-100
|
|
36
36
|
></b2b-button>
|
|
37
37
|
</b2b-input-group></div
|
|
38
38
|
></b2b-tab-panel>
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Do not edit directly
|
|
3
|
-
* Generated on Thu,
|
|
3
|
+
* Generated on Thu, 20 Feb 2025 15:47:48 GMT
|
|
4
4
|
*/
|
|
5
5
|
:root, :host {
|
|
6
6
|
--b2b-size-200: 5rem; /* 80px */
|
|
@@ -35,7 +35,8 @@
|
|
|
35
35
|
--b2b-color-table-selected-default: #cce9ff;
|
|
36
36
|
--b2b-color-background-overlay-transparent-40: rgba(34, 34, 34, 0.25);
|
|
37
37
|
--b2b-color-background-overlay-transparent-80: rgba(34, 34, 34, 0.5);
|
|
38
|
-
--b2b-color-hover: #
|
|
38
|
+
--b2b-color-hover-black: #3b3b3b;
|
|
39
|
+
--b2b-color-hover-default: #e6f4ff;
|
|
39
40
|
--b2b-color-info-100: #003264;
|
|
40
41
|
--b2b-color-info-50: #ccd6e0;
|
|
41
42
|
--b2b-color-success-100: #326400;
|
|
@@ -122,7 +123,7 @@
|
|
|
122
123
|
}
|
|
123
124
|
/**
|
|
124
125
|
* Do not edit directly
|
|
125
|
-
* Generated on Thu,
|
|
126
|
+
* Generated on Thu, 20 Feb 2025 15:47:48 GMT
|
|
126
127
|
*/
|
|
127
128
|
:root [data-theme="dark"] {
|
|
128
129
|
--b2b-size-200: 5rem; /* 80px */
|
|
@@ -153,7 +154,8 @@
|
|
|
153
154
|
--b2b-font-weight-normal: 500;
|
|
154
155
|
--b2b-font-weight-thin: 100;
|
|
155
156
|
--b2b-font-family-default: OttoSans, Arial, Helvetica, sans-serif;
|
|
156
|
-
--b2b-color-hover: #
|
|
157
|
+
--b2b-color-hover-black: #3b3b3b;
|
|
158
|
+
--b2b-color-hover-default: #e6f4ff;
|
|
157
159
|
--b2b-color-info-100: #003264;
|
|
158
160
|
--b2b-color-info-50: #ccd6e0;
|
|
159
161
|
--b2b-color-success-100: #326400;
|
|
@@ -5,7 +5,7 @@ export class B2bTabPanelComponent {
|
|
|
5
5
|
this.generatedId = i++;
|
|
6
6
|
}
|
|
7
7
|
render() {
|
|
8
|
-
return (h(Host, { key: '
|
|
8
|
+
return (h(Host, { key: '51e6d0c3ce5d8f2f3e5e6499d5155a94b5b6b3fd', id: `b2b-tab-panel-${this.generatedId}`, role: "tabpanel" }, h("div", { key: '0ce911bff5c3dd5e27419acd6b63b819e863489e', class: "b2b-tab-panel" }, h("slot", { key: 'e7e538a66b6f97f6f416cb9196a0ce534b77c650' }))));
|
|
9
9
|
}
|
|
10
10
|
static get is() { return "b2b-tab-panel"; }
|
|
11
11
|
static get encapsulation() { return "shadow"; }
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Do not edit directly
|
|
3
|
-
* Generated on Thu,
|
|
3
|
+
* Generated on Thu, 20 Feb 2025 15:47:48 GMT
|
|
4
4
|
*/
|
|
5
5
|
:root, :host {
|
|
6
6
|
--b2b-size-200: 5rem; /* 80px */
|
|
@@ -35,7 +35,8 @@
|
|
|
35
35
|
--b2b-color-table-selected-default: #cce9ff;
|
|
36
36
|
--b2b-color-background-overlay-transparent-40: rgba(34, 34, 34, 0.25);
|
|
37
37
|
--b2b-color-background-overlay-transparent-80: rgba(34, 34, 34, 0.5);
|
|
38
|
-
--b2b-color-hover: #
|
|
38
|
+
--b2b-color-hover-black: #3b3b3b;
|
|
39
|
+
--b2b-color-hover-default: #e6f4ff;
|
|
39
40
|
--b2b-color-info-100: #003264;
|
|
40
41
|
--b2b-color-info-50: #ccd6e0;
|
|
41
42
|
--b2b-color-success-100: #326400;
|
|
@@ -122,7 +123,7 @@
|
|
|
122
123
|
}
|
|
123
124
|
/**
|
|
124
125
|
* Do not edit directly
|
|
125
|
-
* Generated on Thu,
|
|
126
|
+
* Generated on Thu, 20 Feb 2025 15:47:48 GMT
|
|
126
127
|
*/
|
|
127
128
|
:root [data-theme="dark"] {
|
|
128
129
|
--b2b-size-200: 5rem; /* 80px */
|
|
@@ -153,7 +154,8 @@
|
|
|
153
154
|
--b2b-font-weight-normal: 500;
|
|
154
155
|
--b2b-font-weight-thin: 100;
|
|
155
156
|
--b2b-font-family-default: OttoSans, Arial, Helvetica, sans-serif;
|
|
156
|
-
--b2b-color-hover: #
|
|
157
|
+
--b2b-color-hover-black: #3b3b3b;
|
|
158
|
+
--b2b-color-hover-default: #e6f4ff;
|
|
157
159
|
--b2b-color-info-100: #003264;
|
|
158
160
|
--b2b-color-info-50: #ccd6e0;
|
|
159
161
|
--b2b-color-success-100: #326400;
|
|
@@ -36,14 +36,14 @@ export class TableCellComponent {
|
|
|
36
36
|
}
|
|
37
37
|
}
|
|
38
38
|
render() {
|
|
39
|
-
return (h(Host, { key: '
|
|
39
|
+
return (h(Host, { key: '2f0c286583afdf35ec7cb8ece4c51c8ec60c2f4d', onMouseEnter: this.addExpandStyles, onMouseLeave: this.removeExpandStyles, class: {
|
|
40
40
|
'b2b-table-cell': true,
|
|
41
41
|
['b2b-table-cell--colspan']: this.size === TableSizes.COLSPAN,
|
|
42
42
|
['b2b-table-cell--ellipsis']: this.useTextEllipsis,
|
|
43
43
|
['b2b-table-cell--' + this.align]: true,
|
|
44
44
|
['b2b-table-cell--divider']: this.divider,
|
|
45
45
|
[`b2b-table-cell-color-${this.color}`]: true,
|
|
46
|
-
}, role: "cell" }, h("slot", { key: '
|
|
46
|
+
}, role: "cell" }, h("slot", { key: '8c519c550531562b73d301481d8d6301506c0642' })));
|
|
47
47
|
}
|
|
48
48
|
static get is() { return "b2b-table-cell"; }
|
|
49
49
|
static get encapsulation() { return "shadow"; }
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Do not edit directly
|
|
3
|
-
* Generated on Thu,
|
|
3
|
+
* Generated on Thu, 20 Feb 2025 15:47:48 GMT
|
|
4
4
|
*/
|
|
5
5
|
:root, :host {
|
|
6
6
|
--b2b-size-200: 5rem; /* 80px */
|
|
@@ -35,7 +35,8 @@
|
|
|
35
35
|
--b2b-color-table-selected-default: #cce9ff;
|
|
36
36
|
--b2b-color-background-overlay-transparent-40: rgba(34, 34, 34, 0.25);
|
|
37
37
|
--b2b-color-background-overlay-transparent-80: rgba(34, 34, 34, 0.5);
|
|
38
|
-
--b2b-color-hover: #
|
|
38
|
+
--b2b-color-hover-black: #3b3b3b;
|
|
39
|
+
--b2b-color-hover-default: #e6f4ff;
|
|
39
40
|
--b2b-color-info-100: #003264;
|
|
40
41
|
--b2b-color-info-50: #ccd6e0;
|
|
41
42
|
--b2b-color-success-100: #326400;
|
|
@@ -122,7 +123,7 @@
|
|
|
122
123
|
}
|
|
123
124
|
/**
|
|
124
125
|
* Do not edit directly
|
|
125
|
-
* Generated on Thu,
|
|
126
|
+
* Generated on Thu, 20 Feb 2025 15:47:48 GMT
|
|
126
127
|
*/
|
|
127
128
|
:root [data-theme="dark"] {
|
|
128
129
|
--b2b-size-200: 5rem; /* 80px */
|
|
@@ -153,7 +154,8 @@
|
|
|
153
154
|
--b2b-font-weight-normal: 500;
|
|
154
155
|
--b2b-font-weight-thin: 100;
|
|
155
156
|
--b2b-font-family-default: OttoSans, Arial, Helvetica, sans-serif;
|
|
156
|
-
--b2b-color-hover: #
|
|
157
|
+
--b2b-color-hover-black: #3b3b3b;
|
|
158
|
+
--b2b-color-hover-default: #e6f4ff;
|
|
157
159
|
--b2b-color-info-100: #003264;
|
|
158
160
|
--b2b-color-info-50: #ccd6e0;
|
|
159
161
|
--b2b-color-success-100: #326400;
|
|
@@ -72,7 +72,7 @@ export class TableHeaderComponent {
|
|
|
72
72
|
this.setIconPlacement();
|
|
73
73
|
}
|
|
74
74
|
render() {
|
|
75
|
-
return (h(Host, { key: '
|
|
75
|
+
return (h(Host, { key: '8202e84dfd3ff029b3b1dcdc86ca768345250efd', class: {
|
|
76
76
|
[`b2b-table-header--${this.sortDirection && this.iconAlign}`]: true,
|
|
77
77
|
'b2b-table-header--divider': this.divider,
|
|
78
78
|
[`b2b-table-header--${this.size}`]: true,
|