@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
|
@@ -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;
|
|
@@ -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;
|
|
@@ -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;
|
|
@@ -3,7 +3,7 @@ import { html } from "lit-html";
|
|
|
3
3
|
const TemplateIcon = ({ color, contentColor, iconName }) => {
|
|
4
4
|
return html `<div>
|
|
5
5
|
<b2b-rounded-icon color="${color}" content-color="${contentColor}">
|
|
6
|
-
<b2b-icon slot="icon" icon="${iconName}"></b2b-icon>
|
|
6
|
+
<b2b-icon-100 slot="icon" icon="${iconName}"></b2b-icon-100>
|
|
7
7
|
</b2b-rounded-icon>
|
|
8
8
|
</div>`;
|
|
9
9
|
};
|
|
@@ -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;
|
|
@@ -22,7 +22,7 @@ export class SearchComponent {
|
|
|
22
22
|
}
|
|
23
23
|
}
|
|
24
24
|
render() {
|
|
25
|
-
return (h(Host, { key: 'b24052966f06f771d924c1fc7a2257155aa1fafe' }, h("b2b-input-group", { key: '35c7d7926e6d014a87d39174ba83e3eb7a323e32', disabled: this.disabled }, h("b2b-input-list", { key: 'ccf3037cf0f7d64ae7e5f37c1789a082886db2f2', slot: "start", value: this.value, placeholder: this.placeholder, optionsList: this.optionsList, "onb2b-input": this.onInput, "onb2b-option-selected": this.onOptionSelected }, h("slot", { key: '59a0f64d0f39498ddf04b3cdced2c8111de1ada9' })), h("b2b-button", { key: '7a09cbe052e0c17e9c76a53fc3c7e4694ff71461', slot: "end", variant: "primary", onClick: this.onSearchClicked }, h("b2b-icon", { key: '
|
|
25
|
+
return (h(Host, { key: 'b24052966f06f771d924c1fc7a2257155aa1fafe' }, h("b2b-input-group", { key: '35c7d7926e6d014a87d39174ba83e3eb7a323e32', disabled: this.disabled }, h("b2b-input-list", { key: 'ccf3037cf0f7d64ae7e5f37c1789a082886db2f2', slot: "start", value: this.value, placeholder: this.placeholder, optionsList: this.optionsList, "onb2b-input": this.onInput, "onb2b-option-selected": this.onOptionSelected }, h("slot", { key: '59a0f64d0f39498ddf04b3cdced2c8111de1ada9' })), h("b2b-button", { key: '7a09cbe052e0c17e9c76a53fc3c7e4694ff71461', slot: "end", variant: "primary", onClick: this.onSearchClicked }, h("b2b-icon-100", { key: 'c4f19e34ed7129a57b2d7b1439a376ce11464611', icon: "b2b_icon-search", clickable: true })))));
|
|
26
26
|
}
|
|
27
27
|
static get is() { return "b2b-search"; }
|
|
28
28
|
static get encapsulation() { return "shadow"; }
|
|
@@ -71,7 +71,7 @@ const CustomSearchTemplate = ({ placeholder, optionsList }) => {
|
|
|
71
71
|
<option value="one">Option 2</option>
|
|
72
72
|
</b2b-dropdown>
|
|
73
73
|
<b2b-button slot="end" variant="primary">
|
|
74
|
-
<b2b-icon icon="b2b_icon-search"></b2b-icon>
|
|
74
|
+
<b2b-icon-100 icon="b2b_icon-search"></b2b-icon-100>
|
|
75
75
|
</b2b-button>
|
|
76
76
|
</b2b-input-group>
|
|
77
77
|
</div>`;
|
|
@@ -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;
|
|
@@ -0,0 +1,337 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Do not edit directly
|
|
3
|
+
* Generated on Thu, 20 Feb 2025 15:47:48 GMT
|
|
4
|
+
*/
|
|
5
|
+
:root, :host {
|
|
6
|
+
--b2b-size-200: 5rem; /* 80px */
|
|
7
|
+
--b2b-size-160: 4rem; /* 64px */
|
|
8
|
+
--b2b-size-150: 3.75rem; /* 60px */
|
|
9
|
+
--b2b-size-140: 3.5rem; /* 56px */
|
|
10
|
+
--b2b-size-120: 3rem; /* 48px */
|
|
11
|
+
--b2b-size-100: 2.5rem; /* 40px */
|
|
12
|
+
--b2b-size-90: 2.25rem; /* 36px */
|
|
13
|
+
--b2b-size-80: 2rem; /* 32px */
|
|
14
|
+
--b2b-size-70: 1.75rem; /* 28px */
|
|
15
|
+
--b2b-size-60: 1.5rem; /* 24px */
|
|
16
|
+
--b2b-size-55: 1.375rem; /* 22px */
|
|
17
|
+
--b2b-size-53: 1.3125rem; /* 21px */
|
|
18
|
+
--b2b-size-50: 1.25rem; /* 20px */
|
|
19
|
+
--b2b-size-45: 1.125rem; /* 18px */
|
|
20
|
+
--b2b-size-40: 1rem; /* 16px */
|
|
21
|
+
--b2b-size-35: 0.875rem; /* 14px */
|
|
22
|
+
--b2b-size-30: 0.75rem; /* 12px */
|
|
23
|
+
--b2b-size-25: 0.625rem; /* 10px */
|
|
24
|
+
--b2b-size-20: 0.5rem; /* 8px */
|
|
25
|
+
--b2b-size-15: 0.375rem; /* 6px */
|
|
26
|
+
--b2b-size-10: 0.25rem; /* 4px */
|
|
27
|
+
--b2b-size-7: 0.1875rem; /* 3px */
|
|
28
|
+
--b2b-size-5: 0.125rem; /* 2px */
|
|
29
|
+
--b2b-size-1: 0.0625rem; /* 1px */
|
|
30
|
+
--b2b-font-weight-bold: 700;
|
|
31
|
+
--b2b-font-weight-normal: 500;
|
|
32
|
+
--b2b-font-weight-thin: 100;
|
|
33
|
+
--b2b-font-family-default: OttoSans, Arial, Helvetica, sans-serif;
|
|
34
|
+
--b2b-color-table-expand-hover: #e6f4ff;
|
|
35
|
+
--b2b-color-table-selected-default: #cce9ff;
|
|
36
|
+
--b2b-color-background-overlay-transparent-40: rgba(34, 34, 34, 0.25);
|
|
37
|
+
--b2b-color-background-overlay-transparent-80: rgba(34, 34, 34, 0.5);
|
|
38
|
+
--b2b-color-hover-black: #3b3b3b;
|
|
39
|
+
--b2b-color-hover-default: #e6f4ff;
|
|
40
|
+
--b2b-color-info-100: #003264;
|
|
41
|
+
--b2b-color-info-50: #ccd6e0;
|
|
42
|
+
--b2b-color-success-100: #326400;
|
|
43
|
+
--b2b-color-success-50: #d6e0cc;
|
|
44
|
+
--b2b-color-warning-100: #ffb432;
|
|
45
|
+
--b2b-color-warning-50: #ffd998;
|
|
46
|
+
--b2b-color-error-100: #e6344b;
|
|
47
|
+
--b2b-color-primary: #d4021d;
|
|
48
|
+
--b2b-color-red-250: #850012;
|
|
49
|
+
--b2b-color-red-200: #bb0004;
|
|
50
|
+
--b2b-color-red-150: #e6344b;
|
|
51
|
+
--b2b-color-red-100: #d4021d;
|
|
52
|
+
--b2b-color-red-50: #ffdde3;
|
|
53
|
+
--b2b-color-grey-400: #777777;
|
|
54
|
+
--b2b-color-grey-300: #9e9e9e;
|
|
55
|
+
--b2b-color-grey-250: #b1b1b1;
|
|
56
|
+
--b2b-color-grey-200: #c4c4c4;
|
|
57
|
+
--b2b-color-grey-150: #d5d5d5;
|
|
58
|
+
--b2b-color-grey-100: #e6e6e6;
|
|
59
|
+
--b2b-color-grey-50: #eeeeee;
|
|
60
|
+
--b2b-color-grey-25: #f6f6f6;
|
|
61
|
+
--b2b-color-white-100: #ffffff;
|
|
62
|
+
--b2b-color-black-100: #222222;
|
|
63
|
+
--b2b-color-black-50: #333333;
|
|
64
|
+
--b2b-size-headline-line-height-400: var(--b2b-size-60);
|
|
65
|
+
--b2b-size-headline-line-height-200: var(--b2b-size-60);
|
|
66
|
+
--b2b-size-headline-line-height-100: var(--b2b-size-60);
|
|
67
|
+
--b2b-size-headline-400: var(--b2b-size-60);
|
|
68
|
+
--b2b-size-headline-200: var(--b2b-size-45);
|
|
69
|
+
--b2b-size-headline-100: var(--b2b-size-40);
|
|
70
|
+
--b2b-size-copy-line-height-300: var(--b2b-size-90);
|
|
71
|
+
--b2b-size-copy-line-height-200: var(--b2b-size-60);
|
|
72
|
+
--b2b-size-copy-line-height-125: var(--b2b-size-60);
|
|
73
|
+
--b2b-size-copy-line-height-100: var(--b2b-size-53); /* Will use 21px until design facelift */
|
|
74
|
+
--b2b-size-copy-line-height-75: var(--b2b-size-45); /* Will use 18px until design facelift */
|
|
75
|
+
--b2b-size-copy-line-height-50: var(--b2b-size-40);
|
|
76
|
+
--b2b-size-copy-300: var(--b2b-size-60);
|
|
77
|
+
--b2b-size-copy-200: var(--b2b-size-45);
|
|
78
|
+
--b2b-size-copy-125: var(--b2b-size-40);
|
|
79
|
+
--b2b-size-copy-100: var(--b2b-size-35);
|
|
80
|
+
--b2b-size-copy-50: var(--b2b-size-30);
|
|
81
|
+
--b2b-size-border-no-radius-bottom: var(--b2b-size-7) var(--b2b-size-7) 0 0;
|
|
82
|
+
--b2b-size-border-no-radius-top: 0 0 var(--b2b-size-7) var(--b2b-size-7);
|
|
83
|
+
--b2b-size-border-no-radius-right: var(--b2b-size-7) 0 0 var(--b2b-size-7);
|
|
84
|
+
--b2b-size-border-no-radius-left: 0 var(--b2b-size-7) var(--b2b-size-7) 0;
|
|
85
|
+
--b2b-size-border-radius-100: var(--b2b-size-7);
|
|
86
|
+
--b2b-size-border-width-150: var(--b2b-size-10);
|
|
87
|
+
--b2b-size-border-width-100: var(--b2b-size-5);
|
|
88
|
+
--b2b-size-border-width-50: var(--b2b-size-1);
|
|
89
|
+
--b2b-size-padding-175: var(--b2b-size-80);
|
|
90
|
+
--b2b-size-padding-150: var(--b2b-size-60);
|
|
91
|
+
--b2b-size-padding-100: var(--b2b-size-40);
|
|
92
|
+
--b2b-size-padding-50: var(--b2b-size-20);
|
|
93
|
+
--b2b-size-space-300: var(--b2b-size-200);
|
|
94
|
+
--b2b-size-space-250: var(--b2b-size-160);
|
|
95
|
+
--b2b-size-space-200: var(--b2b-size-100);
|
|
96
|
+
--b2b-size-space-175: var(--b2b-size-80);
|
|
97
|
+
--b2b-size-space-150: var(--b2b-size-60);
|
|
98
|
+
--b2b-size-space-100: var(--b2b-size-40);
|
|
99
|
+
--b2b-size-space-75: var(--b2b-size-30);
|
|
100
|
+
--b2b-size-space-50: var(--b2b-size-20);
|
|
101
|
+
--b2b-size-space-25: var(--b2b-size-10);
|
|
102
|
+
--b2b-size-icon-400: var(--b2b-size-120);
|
|
103
|
+
--b2b-size-icon-200: var(--b2b-size-80);
|
|
104
|
+
--b2b-size-icon-100: var(--b2b-size-60);
|
|
105
|
+
--b2b-size-icon-50: var(--b2b-size-40);
|
|
106
|
+
--b2b-color-table-expand-default: var(--b2b-color-grey-25);
|
|
107
|
+
--b2b-color-icon-inverted: var(--b2b-color-white-100);
|
|
108
|
+
--b2b-color-icon-secondary: var(--b2b-color-grey-400);
|
|
109
|
+
--b2b-color-icon-default: var(--b2b-color-black-100);
|
|
110
|
+
--b2b-color-headline-inverted: var(--b2b-color-white-100);
|
|
111
|
+
--b2b-color-headline-default: var(--b2b-color-black-100);
|
|
112
|
+
--b2b-color-headline-title: var(--b2b-color-red-100);
|
|
113
|
+
--b2b-color-copy-overlay: var(--b2b-color-white-100);
|
|
114
|
+
--b2b-color-copy-inverted: var(--b2b-color-white-100);
|
|
115
|
+
--b2b-color-copy-secondary: var(--b2b-color-grey-400);
|
|
116
|
+
--b2b-color-copy-default: var(--b2b-color-black-100);
|
|
117
|
+
--b2b-color-border-100: var(--b2b-color-grey-200);
|
|
118
|
+
--b2b-color-background-overlay: var(--b2b-color-black-100);
|
|
119
|
+
--b2b-color-background-card: var(--b2b-color-white-100);
|
|
120
|
+
--b2b-color-background-box: var(--b2b-color-white-100);
|
|
121
|
+
--b2b-color-background-page: var(--b2b-color-grey-25);
|
|
122
|
+
--b2b-color-error-50: var(--b2b-color-red-50);
|
|
123
|
+
}
|
|
124
|
+
/**
|
|
125
|
+
* Do not edit directly
|
|
126
|
+
* Generated on Thu, 20 Feb 2025 15:47:48 GMT
|
|
127
|
+
*/
|
|
128
|
+
:root [data-theme="dark"] {
|
|
129
|
+
--b2b-size-200: 5rem; /* 80px */
|
|
130
|
+
--b2b-size-160: 4rem; /* 64px */
|
|
131
|
+
--b2b-size-150: 3.75rem; /* 60px */
|
|
132
|
+
--b2b-size-140: 3.5rem; /* 56px */
|
|
133
|
+
--b2b-size-120: 3rem; /* 48px */
|
|
134
|
+
--b2b-size-100: 2.5rem; /* 40px */
|
|
135
|
+
--b2b-size-90: 2.25rem; /* 36px */
|
|
136
|
+
--b2b-size-80: 2rem; /* 32px */
|
|
137
|
+
--b2b-size-70: 1.75rem; /* 28px */
|
|
138
|
+
--b2b-size-60: 1.5rem; /* 24px */
|
|
139
|
+
--b2b-size-55: 1.375rem; /* 22px */
|
|
140
|
+
--b2b-size-53: 1.3125rem; /* 21px */
|
|
141
|
+
--b2b-size-50: 1.25rem; /* 20px */
|
|
142
|
+
--b2b-size-45: 1.125rem; /* 18px */
|
|
143
|
+
--b2b-size-40: 1rem; /* 16px */
|
|
144
|
+
--b2b-size-35: 0.875rem; /* 14px */
|
|
145
|
+
--b2b-size-30: 0.75rem; /* 12px */
|
|
146
|
+
--b2b-size-25: 0.625rem; /* 10px */
|
|
147
|
+
--b2b-size-20: 0.5rem; /* 8px */
|
|
148
|
+
--b2b-size-15: 0.375rem; /* 6px */
|
|
149
|
+
--b2b-size-10: 0.25rem; /* 4px */
|
|
150
|
+
--b2b-size-7: 0.1875rem; /* 3px */
|
|
151
|
+
--b2b-size-5: 0.125rem; /* 2px */
|
|
152
|
+
--b2b-size-1: 0.0625rem; /* 1px */
|
|
153
|
+
--b2b-font-weight-bold: 700;
|
|
154
|
+
--b2b-font-weight-normal: 500;
|
|
155
|
+
--b2b-font-weight-thin: 100;
|
|
156
|
+
--b2b-font-family-default: OttoSans, Arial, Helvetica, sans-serif;
|
|
157
|
+
--b2b-color-hover-black: #3b3b3b;
|
|
158
|
+
--b2b-color-hover-default: #e6f4ff;
|
|
159
|
+
--b2b-color-info-100: #003264;
|
|
160
|
+
--b2b-color-info-50: #ccd6e0;
|
|
161
|
+
--b2b-color-success-100: #326400;
|
|
162
|
+
--b2b-color-success-50: #d6e0cc;
|
|
163
|
+
--b2b-color-warning-100: #ffb432;
|
|
164
|
+
--b2b-color-warning-50: #ffd998;
|
|
165
|
+
--b2b-color-error-100: #e6344b;
|
|
166
|
+
--b2b-color-primary: #d4021d;
|
|
167
|
+
--b2b-color-red-250: #850012;
|
|
168
|
+
--b2b-color-red-200: #bb0004;
|
|
169
|
+
--b2b-color-red-150: #e6344b;
|
|
170
|
+
--b2b-color-red-100: #d4021d;
|
|
171
|
+
--b2b-color-red-50: #ffdde3;
|
|
172
|
+
--b2b-color-grey-400: #777777;
|
|
173
|
+
--b2b-color-grey-300: #9e9e9e;
|
|
174
|
+
--b2b-color-grey-250: #b1b1b1;
|
|
175
|
+
--b2b-color-grey-200: #c4c4c4;
|
|
176
|
+
--b2b-color-grey-150: #d5d5d5;
|
|
177
|
+
--b2b-color-grey-100: #e6e6e6;
|
|
178
|
+
--b2b-color-grey-50: #eeeeee;
|
|
179
|
+
--b2b-color-grey-25: #f6f6f6;
|
|
180
|
+
--b2b-color-white-100: #ffffff;
|
|
181
|
+
--b2b-color-black-100: #222222;
|
|
182
|
+
--b2b-color-black-50: #333333;
|
|
183
|
+
--b2b-color-icon-inverted: var(--b2b-color-black-100);
|
|
184
|
+
--b2b-color-icon-secondary: var(--b2b-color-grey-400);
|
|
185
|
+
--b2b-color-icon-default: var(--b2b-color-white-100);
|
|
186
|
+
--b2b-color-headline-inverted: var(--b2b-color-black-100);
|
|
187
|
+
--b2b-color-headline-default: var(--b2b-color-white-100);
|
|
188
|
+
--b2b-color-headline-title: var(--b2b-color-red-50);
|
|
189
|
+
--b2b-color-copy-inverted: var(--b2b-color-black-100);
|
|
190
|
+
--b2b-color-copy-secondary: var(--b2b-color-grey-100);
|
|
191
|
+
--b2b-color-copy-default: var(--b2b-color-white-100);
|
|
192
|
+
--b2b-color-border-100: var(--b2b-color-white-100);
|
|
193
|
+
--b2b-color-background-page: var(--b2b-color-grey-100);
|
|
194
|
+
--b2b-color-background-card: var(--b2b-color-black-50);
|
|
195
|
+
--b2b-color-background-box: var(--b2b-color-black-50);
|
|
196
|
+
--b2b-color-error-50: var(--b2b-color-red-50);
|
|
197
|
+
}
|
|
198
|
+
@font-face {
|
|
199
|
+
font-family: OttoSans;
|
|
200
|
+
src: url("https://pattern-library.portal.otto.market/static/assets/fonts/otto-sans.ttf");
|
|
201
|
+
font-weight: normal;
|
|
202
|
+
font-style: normal;
|
|
203
|
+
}
|
|
204
|
+
@font-face {
|
|
205
|
+
font-family: OttoSans;
|
|
206
|
+
src: url("https://pattern-library.portal.otto.market/static/assets/fonts/otto-sans-bold.woff") format("woff"), url("https://pattern-library.portal.otto.market/static/assets/fonts/otto-sans-bold.ttf") format("truetype");
|
|
207
|
+
font-weight: bold;
|
|
208
|
+
font-style: normal;
|
|
209
|
+
}
|
|
210
|
+
@font-face {
|
|
211
|
+
font-family: OttoSans;
|
|
212
|
+
src: url("https://pattern-library.portal.otto.market/static/assets/fonts/otto-sans-thin.woff") format("woff"), url("https://pattern-library.portal.otto.market/static/assets/fonts/otto-sans-thin.ttf") format("truetype");
|
|
213
|
+
font-weight: 100;
|
|
214
|
+
font-style: normal;
|
|
215
|
+
}
|
|
216
|
+
@font-face {
|
|
217
|
+
font-family: ObcIcons;
|
|
218
|
+
src: url("https://pattern-library.portal.otto.market/static/assets/fonts/obc-icons.woff");
|
|
219
|
+
}
|
|
220
|
+
.b2b-snackbar {
|
|
221
|
+
border-radius: var(--b2b-size-30);
|
|
222
|
+
font-family: var(--b2b-font-family-default);
|
|
223
|
+
font-size: var(--b2b-size-copy-100);
|
|
224
|
+
line-height: var(--b2b-size-copy-line-height-100);
|
|
225
|
+
color: var(--b2b-color-copy-default);
|
|
226
|
+
max-width: 1000px;
|
|
227
|
+
min-width: 270px;
|
|
228
|
+
max-height: 56px;
|
|
229
|
+
min-height: 48px;
|
|
230
|
+
box-shadow: 0 var(--b2b-size-1) var(--b2b-size-10) 0 rgba(0, 0, 0, 0.2509803922);
|
|
231
|
+
width: max-content;
|
|
232
|
+
z-index: 10000;
|
|
233
|
+
align-items: center;
|
|
234
|
+
justify-content: space-between;
|
|
235
|
+
overflow: hidden;
|
|
236
|
+
display: flex;
|
|
237
|
+
position: fixed;
|
|
238
|
+
bottom: var(--b2b-size-100);
|
|
239
|
+
left: 50%;
|
|
240
|
+
transform: translateX(-50%);
|
|
241
|
+
opacity: 0;
|
|
242
|
+
visibility: hidden;
|
|
243
|
+
transition: opacity 400ms ease-out, visibility 0s linear 400ms;
|
|
244
|
+
}
|
|
245
|
+
.b2b-snackbar--opened {
|
|
246
|
+
transform: translateX(-50%);
|
|
247
|
+
opacity: 1;
|
|
248
|
+
visibility: visible;
|
|
249
|
+
transition: opacity 200ms ease-in;
|
|
250
|
+
}
|
|
251
|
+
.b2b-snackbar--success__icon, .b2b-snackbar--error__icon, .b2b-snackbar--info__icon, .b2b-snackbar--warning__icon {
|
|
252
|
+
margin: 11px 10px 9px 12px;
|
|
253
|
+
align-self: center;
|
|
254
|
+
color: var(--b2b-color-black-100);
|
|
255
|
+
width: var(--b2b-size-70);
|
|
256
|
+
height: var(--b2b-size-70);
|
|
257
|
+
flex-shrink: 0;
|
|
258
|
+
}
|
|
259
|
+
.b2b-snackbar--info {
|
|
260
|
+
background-color: #78ace0;
|
|
261
|
+
}
|
|
262
|
+
.b2b-snackbar--warning {
|
|
263
|
+
background-color: #f9c659;
|
|
264
|
+
}
|
|
265
|
+
.b2b-snackbar--error {
|
|
266
|
+
background-color: #fa5f5f;
|
|
267
|
+
}
|
|
268
|
+
.b2b-snackbar--success {
|
|
269
|
+
background-color: #97d955;
|
|
270
|
+
}
|
|
271
|
+
.b2b-snackbar__close-icon {
|
|
272
|
+
margin: 9px 12px 7px 0;
|
|
273
|
+
padding: var(--b2b-size-10);
|
|
274
|
+
width: var(--b2b-size-60);
|
|
275
|
+
height: var(--b2b-size-60);
|
|
276
|
+
cursor: pointer;
|
|
277
|
+
flex-shrink: 0;
|
|
278
|
+
border-radius: var(--b2b-size-7);
|
|
279
|
+
}
|
|
280
|
+
.b2b-snackbar__close-icon--success:hover {
|
|
281
|
+
background-color: #85bf4b;
|
|
282
|
+
}
|
|
283
|
+
.b2b-snackbar__close-icon--warning:hover {
|
|
284
|
+
background-color: #e0b350;
|
|
285
|
+
}
|
|
286
|
+
.b2b-snackbar__close-icon--error:hover {
|
|
287
|
+
background-color: #e05555;
|
|
288
|
+
}
|
|
289
|
+
.b2b-snackbar__close-icon--info:hover {
|
|
290
|
+
background-color: #6b99c7;
|
|
291
|
+
}
|
|
292
|
+
.b2b-snackbar__content {
|
|
293
|
+
display: flex;
|
|
294
|
+
flex: 1 1 auto;
|
|
295
|
+
}
|
|
296
|
+
.b2b-snackbar__content p {
|
|
297
|
+
width: 100%;
|
|
298
|
+
margin-top: 14.5px;
|
|
299
|
+
margin-bottom: 12.5px;
|
|
300
|
+
font-weight: var(--b2b-font-weight-bold);
|
|
301
|
+
}
|
|
302
|
+
.b2b-snackbar__content__description {
|
|
303
|
+
padding-right: var(--b2b-size-padding-50);
|
|
304
|
+
overflow: hidden;
|
|
305
|
+
text-overflow: ellipsis;
|
|
306
|
+
display: -webkit-box;
|
|
307
|
+
-webkit-line-clamp: 2;
|
|
308
|
+
-webkit-box-orient: vertical;
|
|
309
|
+
}
|
|
310
|
+
.b2b-snackbar__action {
|
|
311
|
+
display: flex;
|
|
312
|
+
white-space: nowrap;
|
|
313
|
+
padding: 5.5px var(--b2b-size-padding-50);
|
|
314
|
+
margin: 9px var(--b2b-size-25) 7px 0;
|
|
315
|
+
border-radius: var(--b2b-size-7);
|
|
316
|
+
text-align: right;
|
|
317
|
+
user-select: none;
|
|
318
|
+
cursor: pointer;
|
|
319
|
+
}
|
|
320
|
+
.b2b-snackbar__action a {
|
|
321
|
+
text-decoration: underline;
|
|
322
|
+
font-weight: var(--b2b-font-weight-normal);
|
|
323
|
+
max-height: var(--b2b-size-copy-line-height-100);
|
|
324
|
+
max-width: 100%;
|
|
325
|
+
}
|
|
326
|
+
.b2b-snackbar__action--success:hover {
|
|
327
|
+
background-color: #85bf4b;
|
|
328
|
+
}
|
|
329
|
+
.b2b-snackbar__action--warning:hover {
|
|
330
|
+
background-color: #e0b350;
|
|
331
|
+
}
|
|
332
|
+
.b2b-snackbar__action--error:hover {
|
|
333
|
+
background-color: #e05555;
|
|
334
|
+
}
|
|
335
|
+
.b2b-snackbar__action--info:hover {
|
|
336
|
+
background-color: #6b99c7;
|
|
337
|
+
}
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
import { newE2EPage } from "@stencil/core/testing";
|
|
2
|
+
describe('B2B-Snackbar', () => {
|
|
3
|
+
it('should render the snackbar component', async () => {
|
|
4
|
+
const page = await newE2EPage();
|
|
5
|
+
await page.setContent(`<b2b-snackbar description="test"></b2b-snackbar>`);
|
|
6
|
+
const element = await page.find('b2b-snackbar >>> .b2b-snackbar__content__description');
|
|
7
|
+
expect(element).not.toBeNull();
|
|
8
|
+
expect(element.textContent).toBe('test');
|
|
9
|
+
});
|
|
10
|
+
it('should not be opened by default', async () => {
|
|
11
|
+
const page = await newE2EPage();
|
|
12
|
+
await page.setContent(`<b2b-snackbar></b2b-snackbar>`);
|
|
13
|
+
const element = await page.find('b2b-snackbar >>> div.b2b-snackbar');
|
|
14
|
+
expect(element).not.toHaveClass('b2b-snackbar--opened');
|
|
15
|
+
const snackbar = await page.find('b2b-snackbar');
|
|
16
|
+
expect(await snackbar.getProperty('opened')).toBe(false);
|
|
17
|
+
});
|
|
18
|
+
it('should make the snackbar opened', async () => {
|
|
19
|
+
const page = await newE2EPage();
|
|
20
|
+
await page.setContent(`<b2b-snackbar opened></b2b-snackbar>`);
|
|
21
|
+
const element = await page.find('b2b-snackbar >>> div');
|
|
22
|
+
expect(await element.isVisible()).toBe(true);
|
|
23
|
+
});
|
|
24
|
+
it('should render snackbar with CTA and close button', async () => {
|
|
25
|
+
const page = await newE2EPage();
|
|
26
|
+
await page.setContent(`<b2b-snackbar opened has-action="true" action-label="Call to action"></b2b-snackbar>`);
|
|
27
|
+
await page.waitForChanges();
|
|
28
|
+
const b2bActionClick = await page.spyOnEvent('b2b-action-click');
|
|
29
|
+
const snackbar = await page.find('b2b-snackbar');
|
|
30
|
+
expect(await snackbar.isVisible()).toBe(true);
|
|
31
|
+
const cta = await page.find('b2b-snackbar >>> div.b2b-snackbar__action');
|
|
32
|
+
expect(cta).not.toBeNull();
|
|
33
|
+
await cta.click();
|
|
34
|
+
expect(b2bActionClick).toHaveReceivedEvent();
|
|
35
|
+
});
|
|
36
|
+
it('should render snackbar that disappears after certain amount of time', async () => {
|
|
37
|
+
const page = await newE2EPage();
|
|
38
|
+
await page.setContent(`<b2b-snackbar opened timed="true" duration="1000">test</b2b-snackbar>`);
|
|
39
|
+
const element = await page.find('b2b-snackbar >>> div');
|
|
40
|
+
expect(await element.isVisible()).toBe(true);
|
|
41
|
+
await element.hover();
|
|
42
|
+
await page.mouse.move(0, 0);
|
|
43
|
+
await new Promise(res => setTimeout(res, 2000));
|
|
44
|
+
await page.waitForChanges();
|
|
45
|
+
const snackbar = await page.find('b2b-snackbar');
|
|
46
|
+
const isOpened = await snackbar.getProperty('opened');
|
|
47
|
+
expect(isOpened).toBe(false);
|
|
48
|
+
});
|
|
49
|
+
it('if snackbar is of type error, cannot be timed', async () => {
|
|
50
|
+
const page = await newE2EPage();
|
|
51
|
+
await page.setContent(`<b2b-snackbar opened type="error" timed="true" duration="1000"></b2b-snackbar>`);
|
|
52
|
+
const element = await page.find('b2b-snackbar >>> div');
|
|
53
|
+
expect(await element.isVisible()).toBe(true);
|
|
54
|
+
const closeIcon = await page.find('b2b-snackbar >>> div.b2b-snackbar__close-icon');
|
|
55
|
+
expect(closeIcon).not.toBeNull();
|
|
56
|
+
expect(element).toHaveClass('b2b-snackbar--opened');
|
|
57
|
+
await element.hover();
|
|
58
|
+
await page.mouse.move(0, 0);
|
|
59
|
+
await new Promise(res => setTimeout(res, 3500));
|
|
60
|
+
await page.waitForChanges();
|
|
61
|
+
expect(element).toHaveClass('b2b-snackbar--opened');
|
|
62
|
+
});
|
|
63
|
+
});
|