@otto-de/b2b-core-components 1.21.0 → 1.23.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/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/icons/b2b_icon-chatbot.svg +2 -20
- package/dist/b2b-core-components/icons-100/b2b_icon-bullet-list.svg +1 -0
- package/dist/b2b-core-components/icons-100/b2b_icon-ordered-list.svg +1 -0
- package/dist/b2b-core-components/p-01aea1a4.entry.js +1 -0
- package/dist/b2b-core-components/p-02ceefdf.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-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-37cdfc83.entry.js +1 -0
- 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-545b6ba2.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-a7221803.entry.js → p-744e8fc3.entry.js} +1 -1
- 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-a155219a.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-a923feb6.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-b7afa702.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-cab7c805.entry.js +1 -0
- 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 +4 -4
- package/dist/cjs/b2b-core-components.cjs.js +1 -1
- package/dist/cjs/b2b-date-picker-days_5.cjs.entry.js +40 -38
- package/dist/cjs/b2b-date-picker.cjs.entry.js +73 -27
- package/dist/cjs/b2b-dropdown.cjs.entry.js +3 -3
- package/dist/cjs/b2b-flyout-menu-option.cjs.entry.js +2 -2
- package/dist/cjs/b2b-flyout-menu.cjs.entry.js +4 -4
- package/dist/cjs/b2b-grid-col.cjs.entry.js +5 -17
- package/dist/cjs/b2b-grid-row.cjs.entry.js +2 -2
- package/dist/cjs/b2b-grid.cjs.entry.js +1 -1
- package/dist/cjs/b2b-headline.cjs.entry.js +1 -1
- package/dist/cjs/b2b-icon-100.cjs.entry.js +3 -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 +5 -5
- package/dist/cjs/b2b-input-label.cjs.entry.js +2 -2
- package/dist/cjs/b2b-input_2.cjs.entry.js +10 -7
- package/dist/cjs/b2b-label.cjs.entry.js +3 -3
- package/dist/cjs/b2b-modal.cjs.entry.js +3 -3
- package/dist/cjs/b2b-multiselect-dropdown.cjs.entry.js +5 -5
- package/dist/cjs/b2b-pagination.cjs.entry.js +2 -2
- package/dist/cjs/b2b-paragraph.cjs.entry.js +3 -3
- package/dist/cjs/b2b-progress-bar.cjs.entry.js +4 -4
- package/dist/cjs/b2b-radio-button.cjs.entry.js +3 -3
- package/dist/cjs/b2b-radio-group.cjs.entry.js +3 -3
- package/dist/cjs/b2b-required-separator.cjs.entry.js +2 -2
- package/dist/cjs/b2b-rounded-icon.cjs.entry.js +5 -5
- package/dist/cjs/b2b-scrollable-container.cjs.entry.js +2 -2
- package/dist/cjs/b2b-search.cjs.entry.js +1 -1
- package/dist/cjs/b2b-separator.cjs.entry.js +2 -2
- 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 +21 -10
- 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/date-picker-util-8596688b.js +109 -0
- 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-header.js +27 -3
- package/dist/collection/components/date-picker/date-picker-days.css +8 -6
- package/dist/collection/components/date-picker/date-picker-days.js +93 -19
- package/dist/collection/components/date-picker/date-picker-header.css +9 -7
- package/dist/collection/components/date-picker/date-picker-header.js +26 -6
- package/dist/collection/components/date-picker/date-picker-months.css +7 -5
- package/dist/collection/components/date-picker/date-picker-months.e2e.js +3 -3
- package/dist/collection/components/date-picker/date-picker-months.js +22 -2
- package/dist/collection/components/date-picker/date-picker-years.css +7 -5
- package/dist/collection/components/date-picker/date-picker.css +6 -6
- package/dist/collection/components/date-picker/date-picker.js +216 -23
- package/dist/collection/components/date-picker/date-picker.stories.js +105 -9
- package/dist/collection/components/date-picker/date-picker.types.js +33 -2
- package/dist/collection/components/dropdown/dropdown.css +6 -4
- package/dist/collection/components/dropdown/dropdown.js +2 -2
- package/dist/collection/components/flyout-menu/flyout-menu-option.css +7 -5
- package/dist/collection/components/flyout-menu/flyout-menu-option.js +1 -1
- 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.js +3 -3
- package/dist/collection/components/flyout-menu/flyout-menu.stories.js +4 -4
- package/dist/collection/components/grid/column.js +5 -17
- package/dist/collection/components/grid/grid.js +1 -1
- package/dist/collection/components/grid/grid.stories.js +223 -222
- package/dist/collection/components/grid/row.js +2 -2
- package/dist/collection/components/headline/headline.css +6 -4
- package/dist/collection/components/icon/icon.css +6 -4
- package/dist/collection/components/icon/icons/b2b_icon-chatbot.svg +2 -20
- package/dist/collection/components/icon-100/icon-100.css +6 -4
- package/dist/collection/components/icon-100/icon-100.js +1 -1
- package/dist/collection/components/icon-100/icons-100/b2b_icon-bullet-list.svg +1 -0
- package/dist/collection/components/icon-100/icons-100/b2b_icon-ordered-list.svg +1 -0
- package/dist/collection/components/icon-100/types.js +2 -0
- 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.js +1 -1
- package/dist/collection/components/input-group/input-group.stories.js +1 -1
- package/dist/collection/components/input-label/input-label.js +2 -2
- package/dist/collection/components/input-list/input-list-option.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 +2 -2
- package/dist/collection/components/label/label.css +6 -4
- package/dist/collection/components/label/label.js +2 -2
- 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 +2 -2
- package/dist/collection/components/multiselect-dropdown/multiselect-dropdown.css +6 -4
- package/dist/collection/components/multiselect-dropdown/multiselect-dropdown.js +4 -4
- package/dist/collection/components/multiselect-dropdown/multiselect-option/multiselect-option.css +1 -1
- package/dist/collection/components/multiselect-dropdown/multiselect-option/multiselect-option.js +2 -2
- package/dist/collection/components/pagination/pagination.css +6 -4
- package/dist/collection/components/pagination/pagination.js +1 -1
- package/dist/collection/components/paragraph/paragraph.css +6 -4
- package/dist/collection/components/paragraph/paragraph.js +2 -2
- package/dist/collection/components/progress-bar/progress-bar.css +6 -4
- package/dist/collection/components/progress-bar/progress-bar.js +3 -3
- package/dist/collection/components/radio/radio.css +6 -4
- package/dist/collection/components/radio/radio.e2e.js +3 -2
- package/dist/collection/components/radio/radio.js +2 -2
- package/dist/collection/components/radio-group/radio-group.css +6 -4
- package/dist/collection/components/radio-group/radio-group.e2e.js +4 -3
- package/dist/collection/components/radio-group/radio-group.js +2 -2
- package/dist/collection/components/required-separator/required-separator.css +6 -4
- package/dist/collection/components/required-separator/required-separator.js +1 -1
- package/dist/collection/components/rounded-icon/rounded-icon.css +6 -4
- package/dist/collection/components/rounded-icon/rounded-icon.js +4 -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/scrollable-container/scrollable-container.js +1 -1
- 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/separator/separator.js +1 -1
- 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 +22 -10
- package/dist/collection/components/table/table-rowgroup/table-rowgroup.css +6 -4
- package/dist/collection/components/table/table-rowgroup/table-rowgroup.js +3 -3
- 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/collection/utils/datepicker/date-picker-util.js +48 -0
- 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 +85 -27
- package/dist/components/b2b-dropdown.js +3 -3
- package/dist/components/b2b-flyout-menu-option.js +2 -2
- package/dist/components/b2b-flyout-menu.js +4 -4
- package/dist/components/b2b-grid-col.js +5 -17
- package/dist/components/b2b-grid-row.js +2 -2
- package/dist/components/b2b-grid.js +1 -1
- package/dist/components/b2b-icon-100.js +1 -409
- package/dist/components/b2b-icon-50.js +1 -1
- package/dist/components/b2b-icon.js +444 -1
- package/dist/components/b2b-label.js +3 -3
- package/dist/components/b2b-modal.js +6 -6
- package/dist/components/b2b-multiselect-dropdown.js +8 -8
- package/dist/components/b2b-pagination.js +2 -2
- package/dist/components/b2b-paragraph.js +3 -3
- package/dist/components/b2b-progress-bar.js +4 -4
- package/dist/components/b2b-radio-button.js +3 -3
- package/dist/components/b2b-radio-group.js +3 -3
- package/dist/components/b2b-required-separator.js +2 -2
- package/dist/components/b2b-scrollable-container.js +2 -2
- 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 +25 -13
- package/dist/components/b2b-table-rowgroup.js +4 -4
- 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 +9 -5
- package/dist/components/date-picker-days.js +70 -21
- package/dist/components/date-picker-header.js +14 -11
- package/dist/components/date-picker-months.js +7 -4
- package/dist/components/date-picker-years.js +1 -1
- package/dist/components/date-picker.types.js +34 -3
- package/dist/components/headline.js +1 -1
- package/dist/components/{icon.js → icon-100.js} +23 -56
- package/dist/components/input-group.js +2 -2
- package/dist/components/input-label.js +2 -2
- package/dist/components/input-list-option.js +2 -2
- package/dist/components/input-list.js +6 -6
- package/dist/components/input.js +8 -5
- package/dist/components/multiselect-option.js +3 -3
- package/dist/components/rounded-icon.js +5 -5
- package/dist/components/separator.js +2 -2
- 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 +183 -13
- 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 +4 -4
- package/dist/esm/b2b-core-components.js +1 -1
- package/dist/esm/b2b-date-picker-days_5.entry.js +35 -33
- package/dist/esm/b2b-date-picker.entry.js +69 -23
- package/dist/esm/b2b-dropdown.entry.js +3 -3
- package/dist/esm/b2b-flyout-menu-option.entry.js +2 -2
- package/dist/esm/b2b-flyout-menu.entry.js +4 -4
- package/dist/esm/b2b-grid-col.entry.js +5 -17
- package/dist/esm/b2b-grid-row.entry.js +2 -2
- package/dist/esm/b2b-grid.entry.js +1 -1
- package/dist/esm/b2b-headline.entry.js +1 -1
- package/dist/esm/b2b-icon-100.entry.js +3 -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 +5 -5
- package/dist/esm/b2b-input-label.entry.js +2 -2
- package/dist/esm/b2b-input_2.entry.js +10 -7
- package/dist/esm/b2b-label.entry.js +3 -3
- package/dist/esm/b2b-modal.entry.js +3 -3
- package/dist/esm/b2b-multiselect-dropdown.entry.js +5 -5
- package/dist/esm/b2b-pagination.entry.js +2 -2
- package/dist/esm/b2b-paragraph.entry.js +3 -3
- package/dist/esm/b2b-progress-bar.entry.js +4 -4
- package/dist/esm/b2b-radio-button.entry.js +3 -3
- package/dist/esm/b2b-radio-group.entry.js +3 -3
- package/dist/esm/b2b-required-separator.entry.js +2 -2
- package/dist/esm/b2b-rounded-icon.entry.js +5 -5
- package/dist/esm/b2b-scrollable-container.entry.js +2 -2
- package/dist/esm/b2b-search.entry.js +1 -1
- package/dist/esm/b2b-separator.entry.js +2 -2
- 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 +21 -10
- 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/date-picker-util-10878a70.js +103 -0
- 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/date-picker/date-picker-days-header.d.ts +2 -0
- package/dist/types/components/date-picker/date-picker-days.d.ts +8 -1
- package/dist/types/components/date-picker/date-picker-header.d.ts +2 -0
- package/dist/types/components/date-picker/date-picker-months.d.ts +2 -0
- package/dist/types/components/date-picker/date-picker.d.ts +24 -2
- package/dist/types/components/date-picker/date-picker.stories.d.ts +8 -0
- package/dist/types/components/date-picker/date-picker.types.d.ts +4 -2
- package/dist/types/components/grid/grid.stories.d.ts +8 -7
- package/dist/types/components/icon-100/types.d.ts +1 -1
- 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 +4 -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 +270 -9
- package/dist/types/utils/datepicker/date-picker-util.d.ts +14 -0
- package/dist/web-types.json +295 -16
- package/package.json +3 -2
- package/dist/b2b-core-components/p-00700a00.entry.js +0 -1
- package/dist/b2b-core-components/p-029da6d8.entry.js +0 -1
- package/dist/b2b-core-components/p-0dc06432.entry.js +0 -1
- package/dist/b2b-core-components/p-0f2249e0.entry.js +0 -1
- package/dist/b2b-core-components/p-101e08d9.entry.js +0 -1
- package/dist/b2b-core-components/p-11e5143c.entry.js +0 -1
- package/dist/b2b-core-components/p-1525a056.entry.js +0 -1
- package/dist/b2b-core-components/p-15a24ba4.entry.js +0 -1
- package/dist/b2b-core-components/p-164d8803.entry.js +0 -1
- package/dist/b2b-core-components/p-19b13dcc.entry.js +0 -1
- package/dist/b2b-core-components/p-1b7201e1.entry.js +0 -1
- package/dist/b2b-core-components/p-1c048a27.entry.js +0 -1
- package/dist/b2b-core-components/p-1c8825d1.entry.js +0 -1
- package/dist/b2b-core-components/p-1e8416a3.entry.js +0 -1
- package/dist/b2b-core-components/p-2b214797.entry.js +0 -1
- package/dist/b2b-core-components/p-2bab8c7f.entry.js +0 -1
- package/dist/b2b-core-components/p-2de83995.entry.js +0 -1
- package/dist/b2b-core-components/p-33ba40ee.entry.js +0 -1
- package/dist/b2b-core-components/p-3665d675.entry.js +0 -1
- package/dist/b2b-core-components/p-376ba9ef.entry.js +0 -1
- package/dist/b2b-core-components/p-3ffba273.entry.js +0 -1
- package/dist/b2b-core-components/p-441657b2.js +0 -1
- package/dist/b2b-core-components/p-56573a91.entry.js +0 -1
- package/dist/b2b-core-components/p-57d487e2.entry.js +0 -1
- package/dist/b2b-core-components/p-67ad8770.entry.js +0 -1
- package/dist/b2b-core-components/p-68a836cb.entry.js +0 -1
- package/dist/b2b-core-components/p-6e031b32.entry.js +0 -1
- package/dist/b2b-core-components/p-72e23a4e.entry.js +0 -1
- package/dist/b2b-core-components/p-799b194b.entry.js +0 -1
- package/dist/b2b-core-components/p-7a9088d2.entry.js +0 -1
- package/dist/b2b-core-components/p-7b711ed3.entry.js +0 -1
- package/dist/b2b-core-components/p-7e59c92f.entry.js +0 -1
- package/dist/b2b-core-components/p-869095a0.entry.js +0 -1
- package/dist/b2b-core-components/p-8fc792f9.entry.js +0 -1
- package/dist/b2b-core-components/p-931c9dc7.entry.js +0 -1
- package/dist/b2b-core-components/p-947f2e2c.entry.js +0 -1
- package/dist/b2b-core-components/p-9a0a4a74.entry.js +0 -1
- package/dist/b2b-core-components/p-9fc53916.entry.js +0 -1
- package/dist/b2b-core-components/p-a0c1c775.entry.js +0 -1
- package/dist/b2b-core-components/p-a37ad232.entry.js +0 -1
- package/dist/b2b-core-components/p-acc7ae99.entry.js +0 -1
- package/dist/b2b-core-components/p-ad99ec44.entry.js +0 -1
- package/dist/b2b-core-components/p-c03d0533.entry.js +0 -1
- package/dist/b2b-core-components/p-d0e8d48b.entry.js +0 -1
- package/dist/b2b-core-components/p-d0e930f2.entry.js +0 -1
- package/dist/b2b-core-components/p-d42c90d1.entry.js +0 -1
- package/dist/b2b-core-components/p-d51551c9.entry.js +0 -1
- package/dist/b2b-core-components/p-db67d6f7.entry.js +0 -1
- package/dist/b2b-core-components/p-e1d7f335.entry.js +0 -1
- package/dist/b2b-core-components/p-f5fa0721.entry.js +0 -1
- package/dist/b2b-core-components/p-f6fa3212.entry.js +0 -1
- package/dist/b2b-core-components/p-f8cf06c5.entry.js +0 -1
- package/dist/cjs/date-picker.types-79f4bba0.js +0 -26
- package/dist/esm/date-picker.types-e21b2096.js +0 -23
|
@@ -3,13 +3,21 @@ export class BackgroundBoxComponent {
|
|
|
3
3
|
constructor() {
|
|
4
4
|
this.fixedWidth = false;
|
|
5
5
|
this.noPadding = false;
|
|
6
|
+
this.borderTop = 'default';
|
|
7
|
+
this.borderRight = 'default';
|
|
8
|
+
this.borderBottom = 'default';
|
|
9
|
+
this.borderLeft = 'default';
|
|
6
10
|
}
|
|
7
11
|
render() {
|
|
8
|
-
return (h(Host, { key: '
|
|
12
|
+
return (h(Host, { key: '74f2133140f10daf4130d42400afe779b51328ba', class: {
|
|
9
13
|
'b2b-background-box': true,
|
|
10
14
|
'b2b-background-box--fixed-width': this.fixedWidth,
|
|
11
15
|
'b2b-background-box--no-padding': this.noPadding,
|
|
12
|
-
|
|
16
|
+
'b2b-background-box--hide-border-top': this.borderTop === 'none',
|
|
17
|
+
'b2b-background-box--hide-border-right': this.borderRight === 'none',
|
|
18
|
+
'b2b-background-box--hide-border-bottom': this.borderBottom === 'none',
|
|
19
|
+
'b2b-background-box--hide-border-left': this.borderLeft === 'none',
|
|
20
|
+
} }, h("slot", { key: '0762108f2b1305b4a158ea346ebb1f9ba17cb45b' })));
|
|
13
21
|
}
|
|
14
22
|
static get is() { return "b2b-background-box"; }
|
|
15
23
|
static get encapsulation() { return "shadow"; }
|
|
@@ -60,6 +68,78 @@ export class BackgroundBoxComponent {
|
|
|
60
68
|
"attribute": "no-padding",
|
|
61
69
|
"reflect": false,
|
|
62
70
|
"defaultValue": "false"
|
|
71
|
+
},
|
|
72
|
+
"borderTop": {
|
|
73
|
+
"type": "string",
|
|
74
|
+
"mutable": false,
|
|
75
|
+
"complexType": {
|
|
76
|
+
"original": "'default' | 'none'",
|
|
77
|
+
"resolved": "\"default\" | \"none\"",
|
|
78
|
+
"references": {}
|
|
79
|
+
},
|
|
80
|
+
"required": false,
|
|
81
|
+
"optional": false,
|
|
82
|
+
"docs": {
|
|
83
|
+
"tags": [],
|
|
84
|
+
"text": "Whether the box should have a top border. Per default, the border is enabled"
|
|
85
|
+
},
|
|
86
|
+
"attribute": "border-top",
|
|
87
|
+
"reflect": false,
|
|
88
|
+
"defaultValue": "'default'"
|
|
89
|
+
},
|
|
90
|
+
"borderRight": {
|
|
91
|
+
"type": "string",
|
|
92
|
+
"mutable": false,
|
|
93
|
+
"complexType": {
|
|
94
|
+
"original": "'default' | 'none'",
|
|
95
|
+
"resolved": "\"default\" | \"none\"",
|
|
96
|
+
"references": {}
|
|
97
|
+
},
|
|
98
|
+
"required": false,
|
|
99
|
+
"optional": false,
|
|
100
|
+
"docs": {
|
|
101
|
+
"tags": [],
|
|
102
|
+
"text": "Whether the box should have a right border. Per default, the border is enabled"
|
|
103
|
+
},
|
|
104
|
+
"attribute": "border-right",
|
|
105
|
+
"reflect": false,
|
|
106
|
+
"defaultValue": "'default'"
|
|
107
|
+
},
|
|
108
|
+
"borderBottom": {
|
|
109
|
+
"type": "string",
|
|
110
|
+
"mutable": false,
|
|
111
|
+
"complexType": {
|
|
112
|
+
"original": "'default' | 'none'",
|
|
113
|
+
"resolved": "\"default\" | \"none\"",
|
|
114
|
+
"references": {}
|
|
115
|
+
},
|
|
116
|
+
"required": false,
|
|
117
|
+
"optional": false,
|
|
118
|
+
"docs": {
|
|
119
|
+
"tags": [],
|
|
120
|
+
"text": "Whether the box should have a bottom border. Per default, the border is enabled"
|
|
121
|
+
},
|
|
122
|
+
"attribute": "border-bottom",
|
|
123
|
+
"reflect": false,
|
|
124
|
+
"defaultValue": "'default'"
|
|
125
|
+
},
|
|
126
|
+
"borderLeft": {
|
|
127
|
+
"type": "string",
|
|
128
|
+
"mutable": false,
|
|
129
|
+
"complexType": {
|
|
130
|
+
"original": "'default' | 'none'",
|
|
131
|
+
"resolved": "\"default\" | \"none\"",
|
|
132
|
+
"references": {}
|
|
133
|
+
},
|
|
134
|
+
"required": false,
|
|
135
|
+
"optional": false,
|
|
136
|
+
"docs": {
|
|
137
|
+
"tags": [],
|
|
138
|
+
"text": "Whether the box should have a left border. Per default, the border is enabled"
|
|
139
|
+
},
|
|
140
|
+
"attribute": "border-left",
|
|
141
|
+
"reflect": false,
|
|
142
|
+
"defaultValue": "'default'"
|
|
63
143
|
}
|
|
64
144
|
};
|
|
65
145
|
}
|
|
@@ -43,3 +43,22 @@ it('should render the background box without padding', async () => {
|
|
|
43
43
|
</b2b-background-box>
|
|
44
44
|
`);
|
|
45
45
|
});
|
|
46
|
+
it('should render with no borders when specified', async () => {
|
|
47
|
+
const page = await newSpecPage({
|
|
48
|
+
components: [BackgroundBoxComponent],
|
|
49
|
+
template: () => (h("b2b-background-box", { "border-top": "none", "border-right": "none", "border-bottom": "none", "border-left": "none" }, "B2B Background Box")),
|
|
50
|
+
});
|
|
51
|
+
expect(page.root).toEqualHtml(`
|
|
52
|
+
<b2b-background-box
|
|
53
|
+
class="b2b-background-box b2b-background-box--hide-border-top b2b-background-box--hide-border-right b2b-background-box--hide-border-bottom b2b-background-box--hide-border-left"
|
|
54
|
+
border-top="none"
|
|
55
|
+
border-right="none"
|
|
56
|
+
border-bottom="none"
|
|
57
|
+
border-left="none">
|
|
58
|
+
<mock:shadow-root>
|
|
59
|
+
<slot></slot>
|
|
60
|
+
</mock:shadow-root>
|
|
61
|
+
B2B Background Box
|
|
62
|
+
</b2b-background-box>
|
|
63
|
+
`);
|
|
64
|
+
});
|
|
@@ -15,13 +15,24 @@ import { getArgTypes } from "../../docs/config/utils";
|
|
|
15
15
|
const meta = {
|
|
16
16
|
title: 'Components/Utilities/Background Box',
|
|
17
17
|
component: 'b2b-background-box',
|
|
18
|
-
args: {
|
|
18
|
+
args: {
|
|
19
|
+
fixedWidth: false,
|
|
20
|
+
noPadding: false,
|
|
21
|
+
borderTop: 'default',
|
|
22
|
+
borderRight: 'default',
|
|
23
|
+
borderBottom: 'default',
|
|
24
|
+
borderLeft: 'default',
|
|
25
|
+
},
|
|
19
26
|
argTypes: getArgTypes('b2b-background-box'),
|
|
20
27
|
render: (_a) => {
|
|
21
28
|
var args = __rest(_a, []);
|
|
22
29
|
return html ` <b2b-background-box
|
|
23
30
|
fixed-width="${args.fixedWidth}"
|
|
24
|
-
no-padding="${args.noPadding}"
|
|
31
|
+
no-padding="${args.noPadding}"
|
|
32
|
+
border-top="${args.borderTop}"
|
|
33
|
+
border-right="${args.borderRight}"
|
|
34
|
+
border-bottom="${args.borderBottom}"
|
|
35
|
+
border-left="${args.borderLeft}">
|
|
25
36
|
<b2b-paragraph>
|
|
26
37
|
The BackgroundBox component adjusts its width and padding based on two
|
|
27
38
|
properties: fixedWidth and noPadding. When fixedWidth is true, the box has
|
|
@@ -37,6 +48,9 @@ export default meta;
|
|
|
37
48
|
export const Default = {
|
|
38
49
|
args: Object.assign({}, meta.args),
|
|
39
50
|
};
|
|
51
|
+
export const BorderControl = {
|
|
52
|
+
args: Object.assign(Object.assign({}, meta.args), { borderTop: 'none' }),
|
|
53
|
+
};
|
|
40
54
|
export const FixedWidth = {
|
|
41
55
|
args: Object.assign(Object.assign({}, meta.args), { fixedWidth: true }),
|
|
42
56
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
@charset "UTF-8";
|
|
2
2
|
/**
|
|
3
3
|
* Do not edit directly
|
|
4
|
-
* Generated on Tue,
|
|
4
|
+
* Generated on Tue, 18 Feb 2025 12:27:58 GMT
|
|
5
5
|
*/
|
|
6
6
|
:root, :host {
|
|
7
7
|
--b2b-size-200: 5rem; /* 80px */
|
|
@@ -36,7 +36,8 @@
|
|
|
36
36
|
--b2b-color-table-selected-default: #cce9ff;
|
|
37
37
|
--b2b-color-background-overlay-transparent-40: rgba(34, 34, 34, 0.25);
|
|
38
38
|
--b2b-color-background-overlay-transparent-80: rgba(34, 34, 34, 0.5);
|
|
39
|
-
--b2b-color-hover: #
|
|
39
|
+
--b2b-color-hover-black: #3b3b3b;
|
|
40
|
+
--b2b-color-hover-default: #e6f4ff;
|
|
40
41
|
--b2b-color-info-100: #003264;
|
|
41
42
|
--b2b-color-info-50: #ccd6e0;
|
|
42
43
|
--b2b-color-success-100: #326400;
|
|
@@ -123,7 +124,7 @@
|
|
|
123
124
|
}
|
|
124
125
|
/**
|
|
125
126
|
* Do not edit directly
|
|
126
|
-
* Generated on Tue,
|
|
127
|
+
* Generated on Tue, 18 Feb 2025 12:27:58 GMT
|
|
127
128
|
*/
|
|
128
129
|
:root [data-theme="dark"] {
|
|
129
130
|
--b2b-size-200: 5rem; /* 80px */
|
|
@@ -154,7 +155,8 @@
|
|
|
154
155
|
--b2b-font-weight-normal: 500;
|
|
155
156
|
--b2b-font-weight-thin: 100;
|
|
156
157
|
--b2b-font-family-default: OttoSans, Arial, Helvetica, sans-serif;
|
|
157
|
-
--b2b-color-hover: #
|
|
158
|
+
--b2b-color-hover-black: #3b3b3b;
|
|
159
|
+
--b2b-color-hover-default: #e6f4ff;
|
|
158
160
|
--b2b-color-info-100: #003264;
|
|
159
161
|
--b2b-color-info-50: #ccd6e0;
|
|
160
162
|
--b2b-color-success-100: #326400;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Do not edit directly
|
|
3
|
-
* Generated on Tue,
|
|
3
|
+
* Generated on Tue, 18 Feb 2025 12:27:58 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 Tue,
|
|
126
|
+
* Generated on Tue, 18 Feb 2025 12:27:58 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;
|
|
@@ -49,7 +49,7 @@ describe('B2B-Button', () => {
|
|
|
49
49
|
it('should reduce padding on the button if there is only an icon', async () => {
|
|
50
50
|
page = await newE2EPage();
|
|
51
51
|
await page.setContent(`<b2b-button variant="primary" size="100">
|
|
52
|
-
<b2b-icon slot="end" icon="b2b_icon-check"
|
|
52
|
+
<b2b-icon-100 slot="end" icon="b2b_icon-check"></b2b-icon-100>
|
|
53
53
|
</b2b-button>`);
|
|
54
54
|
const button = await page.find('b2b-button');
|
|
55
55
|
expect(button).toHaveClass('b2b-button--icon-only');
|
|
@@ -58,7 +58,7 @@ describe('B2B-Button', () => {
|
|
|
58
58
|
page = await newE2EPage();
|
|
59
59
|
await page.setContent(`<b2b-button variant="primary" size="100">
|
|
60
60
|
<span>Hello World</span>
|
|
61
|
-
<b2b-icon slot="end" icon="b2b_icon-check"
|
|
61
|
+
<b2b-icon-100 slot="end" icon="b2b_icon-check"></b2b-icon-100>
|
|
62
62
|
</b2b-button>`);
|
|
63
63
|
const button = await page.find('b2b-button');
|
|
64
64
|
expect(button).not.toHaveClass('b2b-button--icon-only');
|
|
@@ -9,7 +9,7 @@ export class ButtonComponent {
|
|
|
9
9
|
if (children.length === 1) {
|
|
10
10
|
// even no chars or child nodes will return white space, so we need to trim
|
|
11
11
|
if (this.hostElement.textContent.trim().length === 0) {
|
|
12
|
-
if (children[0].tagName.toLowerCase() === 'b2b-icon') {
|
|
12
|
+
if (children[0].tagName.toLowerCase() === 'b2b-icon-100') {
|
|
13
13
|
return true;
|
|
14
14
|
}
|
|
15
15
|
else if (children[0].tagName.toLowerCase() === 'i') {
|
|
@@ -59,7 +59,7 @@ export class ButtonComponent {
|
|
|
59
59
|
return (h("div", { class: "b2b-button__spinner" }, h("b2b-spinner", { color: spinnerColor, size: "50" })));
|
|
60
60
|
}
|
|
61
61
|
render() {
|
|
62
|
-
return (h(Host, { key: '
|
|
62
|
+
return (h(Host, { key: '4050874af416fc23c0d67dc335aacb005f0d2279', class: {
|
|
63
63
|
[`b2b-button--loading`]: this.canLoad(),
|
|
64
64
|
[`b2b-button--${this.size}`]: true,
|
|
65
65
|
[`b2b-button--active`]: this.active,
|
|
@@ -59,7 +59,7 @@ export const IconStart = {
|
|
|
59
59
|
disabled="${args.disabled}"
|
|
60
60
|
loading="${args.loading}"
|
|
61
61
|
type="${args.type}">
|
|
62
|
-
<b2b-icon slot="start" icon="b2b_icon-check"
|
|
62
|
+
<b2b-icon-100 slot="start" icon="b2b_icon-check"></b2b-icon-100>
|
|
63
63
|
${args.label}
|
|
64
64
|
</b2b-button>`;
|
|
65
65
|
},
|
|
@@ -75,7 +75,7 @@ export const IconEnd = {
|
|
|
75
75
|
loading="${args.loading}"
|
|
76
76
|
type="${args.type}">
|
|
77
77
|
${args.label}
|
|
78
|
-
<b2b-icon slot="end" icon="b2b_icon-check"
|
|
78
|
+
<b2b-icon-100 slot="end" icon="b2b_icon-check"></b2b-icon-100>
|
|
79
79
|
</b2b-button>`;
|
|
80
80
|
},
|
|
81
81
|
};
|
|
@@ -104,7 +104,7 @@ export const IconOnly = {
|
|
|
104
104
|
disabled="${args.disabled}"
|
|
105
105
|
loading="${args.loading}"
|
|
106
106
|
type="${args.type}">
|
|
107
|
-
<b2b-icon slot="end" icon="b2b_icon-search"
|
|
107
|
+
<b2b-icon-100 slot="end" icon="b2b_icon-search"></b2b-icon-100>
|
|
108
108
|
</b2b-button>`;
|
|
109
109
|
},
|
|
110
110
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Do not edit directly
|
|
3
|
-
* Generated on Tue,
|
|
3
|
+
* Generated on Tue, 18 Feb 2025 12:27:58 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 Tue,
|
|
126
|
+
* Generated on Tue, 18 Feb 2025 12:27:58 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 Tue,
|
|
3
|
+
* Generated on Tue, 18 Feb 2025 12:27:58 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 Tue,
|
|
126
|
+
* Generated on Tue, 18 Feb 2025 12:27:58 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 Tue,
|
|
3
|
+
* Generated on Tue, 18 Feb 2025 12:27:58 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 Tue,
|
|
126
|
+
* Generated on Tue, 18 Feb 2025 12:27:58 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 Tue,
|
|
3
|
+
* Generated on Tue, 18 Feb 2025 12:27:58 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 Tue,
|
|
126
|
+
* Generated on Tue, 18 Feb 2025 12:27:58 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 Tue,
|
|
3
|
+
* Generated on Tue, 18 Feb 2025 12:27:58 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 Tue,
|
|
126
|
+
* Generated on Tue, 18 Feb 2025 12:27:58 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,17 +1,19 @@
|
|
|
1
1
|
import { h, Host } from "@stencil/core";
|
|
2
|
-
import {
|
|
2
|
+
import { WeekdaysEnglish, WeekdaysGerman } from "./date-picker.types";
|
|
3
3
|
export class B2bDatePickerDaysHeader {
|
|
4
4
|
constructor() {
|
|
5
5
|
this.displayWeekDays = () => {
|
|
6
6
|
let renderWeekDays = [];
|
|
7
|
-
|
|
7
|
+
const weekdays = this.language === 'en' ? WeekdaysEnglish : WeekdaysGerman;
|
|
8
|
+
weekdays.forEach(day => {
|
|
8
9
|
renderWeekDays.push(h("div", { class: "b2b-date-picker-day" }, day));
|
|
9
10
|
});
|
|
10
11
|
return renderWeekDays;
|
|
11
12
|
};
|
|
13
|
+
this.language = 'de';
|
|
12
14
|
}
|
|
13
15
|
render() {
|
|
14
|
-
return (h(Host, { key: '
|
|
16
|
+
return (h(Host, { key: '8bd0553cd895ce7e94375947d7bed153d20bf55d' }, h("div", { key: '285b470407c87af25be5c9e34e35d38ba44e9b37', class: "b2b-date-picker-days-header" }, this.displayWeekDays())));
|
|
15
17
|
}
|
|
16
18
|
static get is() { return "b2b-date-picker-days-header"; }
|
|
17
19
|
static get encapsulation() { return "shadow"; }
|
|
@@ -25,5 +27,27 @@ export class B2bDatePickerDaysHeader {
|
|
|
25
27
|
"$": ["date-picker-days-header.css"]
|
|
26
28
|
};
|
|
27
29
|
}
|
|
30
|
+
static get properties() {
|
|
31
|
+
return {
|
|
32
|
+
"language": {
|
|
33
|
+
"type": "string",
|
|
34
|
+
"mutable": false,
|
|
35
|
+
"complexType": {
|
|
36
|
+
"original": "'de' | 'en'",
|
|
37
|
+
"resolved": "\"de\" | \"en\"",
|
|
38
|
+
"references": {}
|
|
39
|
+
},
|
|
40
|
+
"required": false,
|
|
41
|
+
"optional": false,
|
|
42
|
+
"docs": {
|
|
43
|
+
"tags": [],
|
|
44
|
+
"text": "Internal the language for month and the weekdays will be decided based on the given input. By default, this will be de which is german"
|
|
45
|
+
},
|
|
46
|
+
"attribute": "language",
|
|
47
|
+
"reflect": false,
|
|
48
|
+
"defaultValue": "'de'"
|
|
49
|
+
}
|
|
50
|
+
};
|
|
51
|
+
}
|
|
28
52
|
static get elementRef() { return "host"; }
|
|
29
53
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Do not edit directly
|
|
3
|
-
* Generated on Tue,
|
|
3
|
+
* Generated on Tue, 18 Feb 2025 12:27:58 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 Tue,
|
|
126
|
+
* Generated on Tue, 18 Feb 2025 12:27:58 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;
|
|
@@ -235,7 +237,7 @@
|
|
|
235
237
|
cursor: pointer;
|
|
236
238
|
}
|
|
237
239
|
.b2b-date-picker-days .b2b-date-picker-day:hover, .b2b-date-picker-days .b2b-date-picker-day:focus {
|
|
238
|
-
background-color: var(--b2b-color-hover);
|
|
240
|
+
background-color: var(--b2b-color-hover-default);
|
|
239
241
|
}
|
|
240
242
|
.b2b-date-picker-days .b2b-date-picker-day--disabled {
|
|
241
243
|
border-radius: 5px;
|
|
@@ -255,5 +257,5 @@
|
|
|
255
257
|
width: 100%;
|
|
256
258
|
}
|
|
257
259
|
.b2b-date-picker-days .b2b-date-picker-day--focussed {
|
|
258
|
-
background-color: var(--b2b-color-hover);
|
|
260
|
+
background-color: var(--b2b-color-hover-default);
|
|
259
261
|
}
|