@otto-de/b2b-core-components 1.17.0 → 1.19.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.esm.js +1 -1
- package/dist/b2b-core-components/icons/b2b_icon-light-bulb.svg +2 -2
- package/dist/b2b-core-components/icons/b2b_icon-module-operations.svg +3 -1
- package/dist/b2b-core-components/icons-100/b2b_icon-light-bulb.svg +2 -2
- package/dist/b2b-core-components/icons-100/b2b_icon-module-operations.svg +3 -1
- package/dist/b2b-core-components/p-00700a00.entry.js +1 -0
- package/dist/b2b-core-components/{p-8c534264.entry.js → p-029da6d8.entry.js} +1 -1
- package/dist/b2b-core-components/{p-d1a46a6d.entry.js → p-0af31837.entry.js} +1 -1
- package/dist/b2b-core-components/{p-29e0db6c.entry.js → p-0e7e3e44.entry.js} +1 -1
- package/dist/b2b-core-components/p-101e08d9.entry.js +1 -0
- package/dist/b2b-core-components/{p-53bdbd74.entry.js → p-1135d0ce.entry.js} +1 -1
- package/dist/b2b-core-components/{p-7b2948aa.entry.js → p-171722c3.entry.js} +1 -1
- package/dist/b2b-core-components/{p-bb0e35c5.entry.js → p-1887174e.entry.js} +1 -1
- package/dist/b2b-core-components/{p-a8bb9827.entry.js → p-19b13dcc.entry.js} +1 -1
- package/dist/b2b-core-components/{p-ca5a189f.entry.js → p-1c8825d1.entry.js} +1 -1
- package/dist/b2b-core-components/p-21cd256f.entry.js +1 -0
- package/dist/b2b-core-components/{p-3d80464e.entry.js → p-2c60a909.entry.js} +1 -1
- package/dist/b2b-core-components/{p-b8f9b227.entry.js → p-2d3de3a7.entry.js} +1 -1
- package/dist/b2b-core-components/{p-921e7a37.entry.js → p-30d6787c.entry.js} +1 -1
- package/dist/b2b-core-components/{p-c2fdbeb4.entry.js → p-31df26eb.entry.js} +1 -1
- package/dist/b2b-core-components/{p-8b2a93f7.entry.js → p-35dca1b0.entry.js} +1 -1
- package/dist/b2b-core-components/{p-0fcdf7c2.entry.js → p-39254a15.entry.js} +1 -1
- package/dist/b2b-core-components/{p-7a43a9bd.entry.js → p-39651255.entry.js} +1 -1
- package/dist/b2b-core-components/{p-6b8c9eaf.entry.js → p-3ffba273.entry.js} +1 -1
- package/dist/b2b-core-components/{p-a2c5e53d.entry.js → p-4e7ad473.entry.js} +1 -1
- package/dist/b2b-core-components/{p-09172f4f.entry.js → p-54d15111.entry.js} +1 -1
- package/dist/b2b-core-components/{p-3398e7c1.entry.js → p-56573a91.entry.js} +1 -1
- package/dist/b2b-core-components/{p-74d4bce8.entry.js → p-6148866a.entry.js} +1 -1
- package/dist/b2b-core-components/{p-b2c3c511.entry.js → p-64a2aebd.entry.js} +1 -1
- package/dist/b2b-core-components/{p-554dc9a3.entry.js → p-67ad8770.entry.js} +1 -1
- package/dist/b2b-core-components/{p-e1cc5c5b.entry.js → p-6847b3bf.entry.js} +1 -1
- package/dist/b2b-core-components/p-68a836cb.entry.js +1 -0
- package/dist/b2b-core-components/{p-cd7289c8.entry.js → p-6f17d047.entry.js} +1 -1
- package/dist/b2b-core-components/{p-6a1be129.entry.js → p-7128c388.entry.js} +1 -1
- package/dist/b2b-core-components/{p-11b2508b.entry.js → p-758ff932.entry.js} +1 -1
- package/dist/b2b-core-components/{p-46a2adf6.entry.js → p-7a9088d2.entry.js} +1 -1
- package/dist/b2b-core-components/p-931c9dc7.entry.js +1 -0
- package/dist/b2b-core-components/p-a37ad232.entry.js +1 -0
- package/dist/b2b-core-components/{p-bbb4d24e.entry.js → p-a7221803.entry.js} +1 -1
- package/dist/b2b-core-components/{p-874c5b8e.entry.js → p-ad99ec44.entry.js} +1 -1
- package/dist/b2b-core-components/{p-a84a3f22.entry.js → p-ae0d9209.entry.js} +1 -1
- package/dist/b2b-core-components/p-baa99f00.entry.js +1 -0
- package/dist/b2b-core-components/{p-6a5cd1a6.entry.js → p-bcb7e042.entry.js} +1 -1
- package/dist/b2b-core-components/{p-309c3783.entry.js → p-c33bc1a2.entry.js} +1 -1
- package/dist/b2b-core-components/p-d0e930f2.entry.js +1 -0
- package/dist/b2b-core-components/{p-78becf06.entry.js → p-d3f86dfe.entry.js} +1 -1
- package/dist/b2b-core-components/{p-4f968e70.entry.js → p-d4ab2a73.entry.js} +1 -1
- package/dist/b2b-core-components/p-d51551c9.entry.js +1 -0
- package/dist/b2b-core-components/p-df71f2a8.entry.js +1 -0
- package/dist/b2b-core-components/{p-94ec1d3c.entry.js → p-e350e4ab.entry.js} +1 -1
- package/dist/b2b-core-components/{p-45981c03.entry.js → p-e9537c12.entry.js} +1 -1
- package/dist/b2b-core-components/{p-4c00a1dd.entry.js → p-f5fa0721.entry.js} +1 -1
- package/dist/b2b-core-components/{p-5f0a5aa1.entry.js → p-f8cf06c5.entry.js} +1 -1
- package/dist/cjs/b2b-background-box.cjs.entry.js +27 -0
- 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 +2 -2
- package/dist/cjs/b2b-card.cjs.entry.js +2 -2
- package/dist/cjs/b2b-checkbox-group.cjs.entry.js +2 -2
- package/dist/cjs/b2b-checkbox.cjs.entry.js +2 -2
- 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 +10 -10
- package/dist/cjs/b2b-date-picker.cjs.entry.js +28 -13
- package/dist/cjs/b2b-dropdown.cjs.entry.js +2 -2
- package/dist/cjs/b2b-flyout-menu-option.cjs.entry.js +2 -2
- package/dist/cjs/b2b-flyout-menu.cjs.entry.js +23 -9
- package/dist/cjs/b2b-grid-col.cjs.entry.js +1 -1
- 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-input-group_2.cjs.entry.js +3 -3
- package/dist/cjs/b2b-input-label.cjs.entry.js +2 -2
- package/dist/cjs/b2b-input_2.cjs.entry.js +5 -5
- package/dist/cjs/b2b-label.cjs.entry.js +2 -2
- package/dist/cjs/b2b-modal.cjs.entry.js +2 -2
- package/dist/cjs/b2b-multiselect-dropdown.cjs.entry.js +15 -3
- package/dist/cjs/b2b-pagination.cjs.entry.js +1 -1
- package/dist/cjs/b2b-paragraph.cjs.entry.js +10 -3
- package/dist/cjs/b2b-progress-bar.cjs.entry.js +3 -3
- package/dist/cjs/b2b-radio-button.cjs.entry.js +2 -2
- package/dist/cjs/b2b-radio-group.cjs.entry.js +2 -2
- package/dist/cjs/b2b-required-separator.cjs.entry.js +1 -1
- package/dist/cjs/b2b-rounded-icon.cjs.entry.js +4 -4
- 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-tab-group.cjs.entry.js +1 -1
- package/dist/cjs/b2b-tab-panel.cjs.entry.js +1 -1
- package/dist/cjs/b2b-tab.cjs.entry.js +2 -2
- package/dist/cjs/b2b-table-cell_2.cjs.entry.js +3 -3
- package/dist/cjs/b2b-table-row.cjs.entry.js +2 -2
- package/dist/cjs/b2b-table-rowgroup.cjs.entry.js +2 -2
- package/dist/cjs/b2b-table.cjs.entry.js +2 -2
- package/dist/cjs/b2b-textarea.cjs.entry.js +2 -2
- package/dist/cjs/b2b-toggle-button.cjs.entry.js +3 -3
- package/dist/cjs/b2b-toggle-chip.cjs.entry.js +3 -3
- package/dist/cjs/b2b-toggle-group.cjs.entry.js +2 -2
- package/dist/cjs/b2b-toggle-switch.cjs.entry.js +4 -4
- package/dist/cjs/b2b-tooltip.cjs.entry.js +3 -3
- package/dist/cjs/b2b-wizard-icon.cjs.entry.js +1 -1
- package/dist/cjs/b2b-wizard-step.cjs.entry.js +2 -2
- package/dist/cjs/b2b-wizard.cjs.entry.js +1 -1
- package/dist/cjs/index-668808fd.js +4 -0
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/collection/collection-manifest.json +1 -0
- package/dist/collection/components/alert/alert.css +2 -2
- package/dist/collection/components/anchor/anchor.css +2 -2
- package/dist/collection/components/background-box/background-box.css +233 -0
- package/dist/collection/components/background-box/background-box.e2e.js +37 -0
- package/dist/collection/components/background-box/background-box.js +67 -0
- package/dist/collection/components/background-box/background-box.spec.js +45 -0
- package/dist/collection/components/background-box/background-box.stories.js +45 -0
- package/dist/collection/components/breadcrumb/breadcrumb-item.js +1 -1
- package/dist/collection/components/breadcrumb/breadcrumb.css +2 -2
- package/dist/collection/components/breadcrumb/breadcrumb.js +1 -1
- package/dist/collection/components/button/button.css +2 -2
- package/dist/collection/components/button/button.js +1 -1
- package/dist/collection/components/card/card.css +2 -2
- package/dist/collection/components/card/card.js +2 -2
- package/dist/collection/components/checkbox/checkbox.css +2 -2
- package/dist/collection/components/checkbox/checkbox.e2e.js +6 -0
- package/dist/collection/components/checkbox/checkbox.js +2 -2
- package/dist/collection/components/checkbox/checkbox.stories.js +4 -0
- package/dist/collection/components/checkbox-group/checkbox-group.css +2 -2
- package/dist/collection/components/checkbox-group/checkbox-group.js +2 -2
- package/dist/collection/components/chip/chip.css +2 -2
- package/dist/collection/components/chip/chip.js +2 -2
- package/dist/collection/components/date-picker/date-picker-days-header.css +2 -2
- package/dist/collection/components/date-picker/date-picker-days-header.js +1 -1
- package/dist/collection/components/date-picker/date-picker-days.css +2 -3
- package/dist/collection/components/date-picker/date-picker-days.js +1 -1
- package/dist/collection/components/date-picker/date-picker-header.css +2 -2
- package/dist/collection/components/date-picker/date-picker-header.js +5 -5
- package/dist/collection/components/date-picker/date-picker-months.css +2 -2
- package/dist/collection/components/date-picker/date-picker-months.js +1 -1
- package/dist/collection/components/date-picker/date-picker-years.css +2 -2
- package/dist/collection/components/date-picker/date-picker-years.js +1 -1
- package/dist/collection/components/date-picker/date-picker.css +3 -3
- package/dist/collection/components/date-picker/date-picker.js +27 -12
- package/dist/collection/components/dropdown/dropdown.css +2 -2
- package/dist/collection/components/dropdown/dropdown.js +2 -2
- package/dist/collection/components/flyout-menu/flyout-menu-option.css +8 -3
- package/dist/collection/components/flyout-menu/flyout-menu-option.js +1 -1
- package/dist/collection/components/flyout-menu/flyout-menu.css +2 -2
- package/dist/collection/components/flyout-menu/flyout-menu.js +23 -9
- package/dist/collection/components/grid/column.js +1 -1
- package/dist/collection/components/grid/grid.js +1 -1
- package/dist/collection/components/grid/row.js +2 -2
- package/dist/collection/components/headline/headline.css +2 -2
- package/dist/collection/components/icon/icon.css +2 -2
- package/dist/collection/components/icon/icons/b2b_icon-light-bulb.svg +2 -2
- package/dist/collection/components/icon/icons/b2b_icon-module-operations.svg +3 -1
- package/dist/collection/components/icon-100/icon-100.css +2 -2
- package/dist/collection/components/icon-100/icons-100/b2b_icon-light-bulb.svg +2 -2
- package/dist/collection/components/icon-100/icons-100/b2b_icon-module-operations.svg +3 -1
- package/dist/collection/components/icon-50/icon-50.css +2 -2
- package/dist/collection/components/input/input.css +2 -2
- package/dist/collection/components/input/input.js +4 -4
- package/dist/collection/components/input-group/input-group.css +2 -2
- package/dist/collection/components/input-group/input-group.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 +2 -2
- package/dist/collection/components/input-list/input-list.js +2 -2
- package/dist/collection/components/label/label.css +2 -2
- package/dist/collection/components/label/label.js +2 -2
- package/dist/collection/components/modal/modal.css +2 -2
- package/dist/collection/components/modal/modal.js +2 -2
- package/dist/collection/components/multiselect-dropdown/multiselect-dropdown.css +2 -2
- package/dist/collection/components/multiselect-dropdown/multiselect-dropdown.js +25 -9
- package/dist/collection/components/multiselect-dropdown/multiselect-option/multiselect-option.js +2 -2
- package/dist/collection/components/pagination/pagination.css +2 -2
- package/dist/collection/components/pagination/pagination.js +1 -1
- package/dist/collection/components/paragraph/paragraph.css +11 -3
- package/dist/collection/components/paragraph/paragraph.js +63 -2
- package/dist/collection/components/paragraph/paragraph.stories.js +130 -27
- package/dist/collection/components/progress-bar/progress-bar.css +2 -2
- package/dist/collection/components/progress-bar/progress-bar.js +3 -3
- package/dist/collection/components/radio/radio.css +2 -2
- package/dist/collection/components/radio/radio.js +2 -2
- package/dist/collection/components/radio-group/radio-group.css +2 -2
- package/dist/collection/components/radio-group/radio-group.js +2 -2
- package/dist/collection/components/required-separator/required-separator.css +2 -2
- package/dist/collection/components/required-separator/required-separator.js +1 -1
- package/dist/collection/components/rounded-icon/rounded-icon.css +2 -2
- package/dist/collection/components/rounded-icon/rounded-icon.js +4 -4
- package/dist/collection/components/scrollable-container/scrollable-container.css +2 -2
- package/dist/collection/components/scrollable-container/scrollable-container.js +1 -1
- package/dist/collection/components/search/search.js +1 -1
- package/dist/collection/components/separator/separator.css +2 -2
- package/dist/collection/components/separator/separator.js +1 -1
- package/dist/collection/components/spinner/spinner.css +2 -2
- package/dist/collection/components/spinner/spinner.js +1 -1
- package/dist/collection/components/tab/tab.css +2 -2
- 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-panel/tab-panel.css +2 -2
- package/dist/collection/components/tab-panel/tab-panel.js +1 -1
- package/dist/collection/components/table/table-cell/table-cell.css +2 -2
- package/dist/collection/components/table/table-cell/table-cell.js +2 -2
- package/dist/collection/components/table/table-header/table-header.css +2 -2
- package/dist/collection/components/table/table-header/table-header.js +1 -1
- package/dist/collection/components/table/table-row/table-row.css +2 -2
- package/dist/collection/components/table/table-row/table-row.js +2 -2
- package/dist/collection/components/table/table-rowgroup/table-rowgroup.css +2 -2
- package/dist/collection/components/table/table-rowgroup/table-rowgroup.js +2 -2
- package/dist/collection/components/table/table.css +2 -2
- package/dist/collection/components/table/table.js +2 -2
- package/dist/collection/components/textarea/textarea.css +2 -2
- package/dist/collection/components/textarea/textarea.js +2 -2
- package/dist/collection/components/toggle-button/toggle-button.css +2 -2
- package/dist/collection/components/toggle-button/toggle-button.js +3 -3
- package/dist/collection/components/toggle-chip/toggle-chip.css +2 -2
- package/dist/collection/components/toggle-chip/toggle-chip.js +3 -3
- package/dist/collection/components/toggle-group/toggle-group.css +2 -2
- package/dist/collection/components/toggle-group/toggle-group.js +2 -2
- package/dist/collection/components/toggle-switch/toggle-switch.css +2 -2
- package/dist/collection/components/toggle-switch/toggle-switch.js +4 -4
- package/dist/collection/components/tooltip/tooltip.css +2 -2
- package/dist/collection/components/tooltip/tooltip.js +3 -3
- package/dist/collection/components/wizard/wizard-step.js +2 -2
- package/dist/collection/components/wizard/wizard.css +2 -2
- package/dist/collection/components/wizard/wizard.js +1 -1
- package/dist/collection/components/wizard-icon/wizard-icon.css +2 -2
- package/dist/collection/components/wizard-icon/wizard-icon.js +1 -1
- package/dist/components/b2b-background-box.d.ts +11 -0
- package/dist/components/b2b-background-box.js +44 -0
- package/dist/components/b2b-breadcrumb-item.js +1 -1
- package/dist/components/b2b-breadcrumb.js +1 -1
- package/dist/components/b2b-card.js +2 -2
- package/dist/components/b2b-checkbox-group.js +2 -2
- package/dist/components/b2b-date-picker.js +28 -13
- package/dist/components/b2b-dropdown.js +2 -2
- package/dist/components/b2b-flyout-menu-option.js +2 -2
- package/dist/components/b2b-flyout-menu.js +23 -9
- package/dist/components/b2b-grid-col.js +1 -1
- package/dist/components/b2b-grid-row.js +2 -2
- package/dist/components/b2b-grid.js +1 -1
- package/dist/components/b2b-label.js +2 -2
- package/dist/components/b2b-modal.js +2 -2
- package/dist/components/b2b-multiselect-dropdown.js +17 -5
- package/dist/components/b2b-pagination.js +1 -1
- package/dist/components/b2b-paragraph.js +14 -4
- package/dist/components/b2b-progress-bar.js +3 -3
- package/dist/components/b2b-radio-button.js +2 -2
- package/dist/components/b2b-radio-group.js +2 -2
- package/dist/components/b2b-required-separator.js +1 -1
- package/dist/components/b2b-scrollable-container.js +1 -1
- package/dist/components/b2b-search.js +1 -1
- package/dist/components/b2b-tab-group.js +1 -1
- package/dist/components/b2b-tab-panel.js +1 -1
- package/dist/components/b2b-tab.js +2 -2
- package/dist/components/b2b-table-row.js +2 -2
- package/dist/components/b2b-table-rowgroup.js +2 -2
- package/dist/components/b2b-table.js +2 -2
- package/dist/components/b2b-textarea.js +2 -2
- package/dist/components/b2b-toggle-button.js +3 -3
- package/dist/components/b2b-toggle-chip.js +3 -3
- package/dist/components/b2b-toggle-group.js +2 -2
- package/dist/components/b2b-toggle-switch.js +4 -4
- package/dist/components/b2b-tooltip.js +3 -3
- package/dist/components/b2b-wizard-step.js +2 -2
- package/dist/components/b2b-wizard.js +1 -1
- package/dist/components/button.js +1 -1
- package/dist/components/checkbox.js +2 -2
- package/dist/components/chip.js +2 -2
- package/dist/components/date-picker-days-header.js +1 -1
- package/dist/components/date-picker-days.js +2 -2
- package/dist/components/date-picker-header.js +5 -5
- package/dist/components/date-picker-months.js +1 -1
- package/dist/components/date-picker-years.js +1 -1
- package/dist/components/input-group.js +1 -1
- package/dist/components/input-label.js +2 -2
- package/dist/components/input-list-option.js +1 -1
- package/dist/components/input-list.js +2 -2
- package/dist/components/input.js +4 -4
- package/dist/components/multiselect-option.js +2 -2
- package/dist/components/rounded-icon.js +4 -4
- package/dist/components/separator.js +1 -1
- package/dist/components/spinner.js +1 -1
- package/dist/components/table-cell.js +2 -2
- package/dist/components/table-header.js +1 -1
- package/dist/components/wizard-icon.js +1 -1
- package/dist/custom-elements.json +56 -0
- package/dist/esm/b2b-background-box.entry.js +23 -0
- 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 +2 -2
- package/dist/esm/b2b-card.entry.js +2 -2
- package/dist/esm/b2b-checkbox-group.entry.js +2 -2
- package/dist/esm/b2b-checkbox.entry.js +2 -2
- 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 +10 -10
- package/dist/esm/b2b-date-picker.entry.js +28 -13
- package/dist/esm/b2b-dropdown.entry.js +2 -2
- package/dist/esm/b2b-flyout-menu-option.entry.js +2 -2
- package/dist/esm/b2b-flyout-menu.entry.js +23 -9
- package/dist/esm/b2b-grid-col.entry.js +1 -1
- package/dist/esm/b2b-grid-row.entry.js +2 -2
- package/dist/esm/b2b-grid.entry.js +1 -1
- package/dist/esm/b2b-input-group_2.entry.js +3 -3
- package/dist/esm/b2b-input-label.entry.js +2 -2
- package/dist/esm/b2b-input_2.entry.js +5 -5
- package/dist/esm/b2b-label.entry.js +2 -2
- package/dist/esm/b2b-modal.entry.js +2 -2
- package/dist/esm/b2b-multiselect-dropdown.entry.js +15 -3
- package/dist/esm/b2b-pagination.entry.js +1 -1
- package/dist/esm/b2b-paragraph.entry.js +10 -3
- package/dist/esm/b2b-progress-bar.entry.js +3 -3
- package/dist/esm/b2b-radio-button.entry.js +2 -2
- package/dist/esm/b2b-radio-group.entry.js +2 -2
- package/dist/esm/b2b-required-separator.entry.js +1 -1
- package/dist/esm/b2b-rounded-icon.entry.js +4 -4
- 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-tab-group.entry.js +1 -1
- package/dist/esm/b2b-tab-panel.entry.js +1 -1
- package/dist/esm/b2b-tab.entry.js +2 -2
- package/dist/esm/b2b-table-cell_2.entry.js +3 -3
- package/dist/esm/b2b-table-row.entry.js +2 -2
- package/dist/esm/b2b-table-rowgroup.entry.js +2 -2
- package/dist/esm/b2b-table.entry.js +2 -2
- package/dist/esm/b2b-textarea.entry.js +2 -2
- package/dist/esm/b2b-toggle-button.entry.js +3 -3
- package/dist/esm/b2b-toggle-chip.entry.js +3 -3
- package/dist/esm/b2b-toggle-group.entry.js +2 -2
- package/dist/esm/b2b-toggle-switch.entry.js +4 -4
- package/dist/esm/b2b-tooltip.entry.js +3 -3
- package/dist/esm/b2b-wizard-icon.entry.js +1 -1
- package/dist/esm/b2b-wizard-step.entry.js +2 -2
- package/dist/esm/b2b-wizard.entry.js +1 -1
- package/dist/esm/index-ab9eb36d.js +4 -0
- 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 +7 -0
- package/dist/types/components/checkbox/checkbox.stories.d.ts +2 -1
- package/dist/types/components/date-picker/date-picker.d.ts +1 -0
- package/dist/types/components/flyout-menu/flyout-menu.d.ts +1 -1
- package/dist/types/components/multiselect-dropdown/multiselect-dropdown.d.ts +5 -3
- package/dist/types/components/paragraph/paragraph.d.ts +6 -0
- package/dist/types/components/paragraph/paragraph.stories.d.ts +13 -8
- package/dist/types/components.d.ts +57 -4
- package/dist/web-types.json +70 -7
- package/package.json +2 -2
- package/dist/b2b-core-components/p-14381771.entry.js +0 -1
- package/dist/b2b-core-components/p-1cbadece.entry.js +0 -1
- package/dist/b2b-core-components/p-28b72b5d.entry.js +0 -1
- package/dist/b2b-core-components/p-3a1d652c.entry.js +0 -1
- package/dist/b2b-core-components/p-63c69a7a.entry.js +0 -1
- package/dist/b2b-core-components/p-7b7d53ca.entry.js +0 -1
- package/dist/b2b-core-components/p-95b3ff43.entry.js +0 -1
- package/dist/b2b-core-components/p-b1156a34.entry.js +0 -1
- package/dist/b2b-core-components/p-def48eec.entry.js +0 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Do not edit directly
|
|
3
|
-
* Generated on
|
|
3
|
+
* Generated on Wed, 04 Dec 2024 06:52:18 GMT
|
|
4
4
|
*/
|
|
5
5
|
:root, :host {
|
|
6
6
|
--b2b-size-200: 5rem; /* 80px */
|
|
@@ -122,7 +122,7 @@
|
|
|
122
122
|
}
|
|
123
123
|
/**
|
|
124
124
|
* Do not edit directly
|
|
125
|
-
* Generated on
|
|
125
|
+
* Generated on Wed, 04 Dec 2024 06:52:18 GMT
|
|
126
126
|
*/
|
|
127
127
|
:root [data-theme="dark"] {
|
|
128
128
|
--b2b-size-200: 5rem; /* 80px */
|
|
@@ -26,10 +26,10 @@ export class CardComponent {
|
|
|
26
26
|
return 0;
|
|
27
27
|
}
|
|
28
28
|
render() {
|
|
29
|
-
return (h(Host, { key: '
|
|
29
|
+
return (h(Host, { key: 'f9fd7890d85a2c69fb416cacd1038a3e50ba8ce2', tabIndex: this.getTabIndex(), "aria-disabled": this.disabled ? 'true' : null, class: {
|
|
30
30
|
'b2b-card': true,
|
|
31
31
|
'b2b-card--disabled': this.disabled,
|
|
32
|
-
} }, this.href != '' && h("a", { href: this.href, target: `_${this.target}` }), this.disabled && h("div", { class: "b2b-card--disabled-overlay" }), h("slot", { key: '
|
|
32
|
+
} }, this.href != '' && h("a", { href: this.href, target: `_${this.target}` }), this.disabled && h("div", { class: "b2b-card--disabled-overlay" }), h("slot", { key: '1258394d2cf138a0625c70af043d4590a45262db' })));
|
|
33
33
|
}
|
|
34
34
|
static get is() { return "b2b-card"; }
|
|
35
35
|
static get encapsulation() { return "shadow"; }
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Do not edit directly
|
|
3
|
-
* Generated on
|
|
3
|
+
* Generated on Wed, 04 Dec 2024 06:52:18 GMT
|
|
4
4
|
*/
|
|
5
5
|
:root, :host {
|
|
6
6
|
--b2b-size-200: 5rem; /* 80px */
|
|
@@ -122,7 +122,7 @@
|
|
|
122
122
|
}
|
|
123
123
|
/**
|
|
124
124
|
* Do not edit directly
|
|
125
|
-
* Generated on
|
|
125
|
+
* Generated on Wed, 04 Dec 2024 06:52:18 GMT
|
|
126
126
|
*/
|
|
127
127
|
:root [data-theme="dark"] {
|
|
128
128
|
--b2b-size-200: 5rem; /* 80px */
|
|
@@ -27,4 +27,10 @@ describe('b2b-checkbox', () => {
|
|
|
27
27
|
await page.waitForChanges();
|
|
28
28
|
expect(element).toHaveClass('b2b-checkbox--checked');
|
|
29
29
|
});
|
|
30
|
+
it('use label slot if provided', async () => {
|
|
31
|
+
const page = await newE2EPage();
|
|
32
|
+
await page.setContent('<b2b-checkbox><span slot="label">Custom label</span></b2b-checkbox>');
|
|
33
|
+
const element = await page.find('span');
|
|
34
|
+
expect(element).toEqualText('Custom label');
|
|
35
|
+
});
|
|
30
36
|
});
|
|
@@ -65,14 +65,14 @@ export class CheckboxComponent {
|
|
|
65
65
|
}
|
|
66
66
|
}
|
|
67
67
|
render() {
|
|
68
|
-
return (h(Host, { key: '
|
|
68
|
+
return (h(Host, { key: 'f9b0a3ab1446715b218115bb5097d7de57ae71eb', onClick: this.onClick }, h("div", { key: 'da9c2edb1f46996f8e03aedf17a52f4b2c822f0d', class: {
|
|
69
69
|
'b2b-checkbox': true,
|
|
70
70
|
'b2b-checkbox--error': this.invalid && !this.disabled,
|
|
71
71
|
'b2b-checkbox--disabled': this.disabled || this.groupDisabled,
|
|
72
72
|
'b2b-checkbox--checked': this.checked,
|
|
73
73
|
'b2b-checkbox--standalone': this.standalone,
|
|
74
74
|
'b2b-checkbox--indeterminate': this.indeterminate,
|
|
75
|
-
} }, h("div", { key: '
|
|
75
|
+
} }, h("div", { key: '29a99d41fca9d51aea5ac58feb92910f10d58e46', class: "b2b-checkbox-items" }, this.renderIcon(), h("input", { key: 'a05a1ba84a49d775a887e393ade4a5c2ce993273', class: "b2b-checkbox__input", "aria-labelledby": this.name, type: "checkbox", name: this.name, id: this.name, value: this.value, checked: this.checked, disabled: this.disabled || this.groupDisabled, onFocus: this.onFocus, onBlur: this.onBlur }), !this.standalone && (h("b2b-input-label", { id: this.name, required: this.required, disabled: this.disabled }, h("slot", { name: "label" }, this.label)))), (this.hint !== undefined && !this.invalid) ||
|
|
76
76
|
(this.hint !== undefined && this.disabled) ? (h("span", null, this.hint)) : (''), this.error !== undefined && this.invalid && !this.disabled ? (h("span", null, this.error)) : (''))));
|
|
77
77
|
}
|
|
78
78
|
static get is() { return "b2b-checkbox"; }
|
|
@@ -41,6 +41,10 @@ story050Disabled.storyName = 'Disabled';
|
|
|
41
41
|
export const story060Required = Template.bind({});
|
|
42
42
|
story060Required.args = Object.assign(Object.assign({}, defaultArgs), { label: 'Required checkbox', required: true });
|
|
43
43
|
story060Required.storyName = 'Required';
|
|
44
|
+
export const story070LabelSlot = {
|
|
45
|
+
args: Object.assign({}, defaultArgs),
|
|
46
|
+
render: ({}) => html `<b2b-checkbox><span slot="label">Label Slot</span></b2b-input>`,
|
|
47
|
+
};
|
|
44
48
|
const controls = {};
|
|
45
49
|
const inputCheckboxArgs = getArgTypes('b2b-checkbox', controls);
|
|
46
50
|
export default {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Do not edit directly
|
|
3
|
-
* Generated on
|
|
3
|
+
* Generated on Wed, 04 Dec 2024 06:52:18 GMT
|
|
4
4
|
*/
|
|
5
5
|
:root, :host {
|
|
6
6
|
--b2b-size-200: 5rem; /* 80px */
|
|
@@ -122,7 +122,7 @@
|
|
|
122
122
|
}
|
|
123
123
|
/**
|
|
124
124
|
* Do not edit directly
|
|
125
|
-
* Generated on
|
|
125
|
+
* Generated on Wed, 04 Dec 2024 06:52:18 GMT
|
|
126
126
|
*/
|
|
127
127
|
:root [data-theme="dark"] {
|
|
128
128
|
--b2b-size-200: 5rem; /* 80px */
|
|
@@ -65,11 +65,11 @@ export class CheckboxGroupComponent {
|
|
|
65
65
|
}
|
|
66
66
|
}
|
|
67
67
|
render() {
|
|
68
|
-
return (h(Host, { key: '
|
|
68
|
+
return (h(Host, { key: 'a13345395b22ac918fcb5b4186f5bb3057af8ea4' }, h("div", { key: 'b388a4b209535c47c07b2720392abeb7191b0809', class: {
|
|
69
69
|
'b2b-checkbox-group': true,
|
|
70
70
|
'b2b-checkbox-group--error': this.invalid && !this.disabled,
|
|
71
71
|
[`b2b-checkbox-group--${this.alignment}`]: true,
|
|
72
|
-
} }, this.label && (h("b2b-input-label", { required: this.required }, this.label)), h("fieldset", { key: '
|
|
72
|
+
} }, this.label && (h("b2b-input-label", { required: this.required }, this.label)), h("fieldset", { key: '33ed6a29fc0742e786d7f82c93dea89fdf0127b8' }, h("div", { key: 'da3884cbef485588a36ea6dd6c92f0dc0bdff138', class: "b2b-checkbox-group__options" }, h("slot", { key: 'c4f2ef006d5c8f04e45315526d076ca69a49026e' }))), (this.hint !== undefined && !this.invalid) ||
|
|
73
73
|
(this.hint !== undefined && this.disabled) ? (h("span", null, this.hint)) : (''), this.error !== undefined && this.invalid && !this.disabled ? (h("span", null, this.error)) : (''))));
|
|
74
74
|
}
|
|
75
75
|
static get is() { return "b2b-checkbox-group"; }
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Do not edit directly
|
|
3
|
-
* Generated on
|
|
3
|
+
* Generated on Wed, 04 Dec 2024 06:52:18 GMT
|
|
4
4
|
*/
|
|
5
5
|
:root, :host {
|
|
6
6
|
--b2b-size-200: 5rem; /* 80px */
|
|
@@ -122,7 +122,7 @@
|
|
|
122
122
|
}
|
|
123
123
|
/**
|
|
124
124
|
* Do not edit directly
|
|
125
|
-
* Generated on
|
|
125
|
+
* Generated on Wed, 04 Dec 2024 06:52:18 GMT
|
|
126
126
|
*/
|
|
127
127
|
:root [data-theme="dark"] {
|
|
128
128
|
--b2b-size-200: 5rem; /* 80px */
|
|
@@ -22,11 +22,11 @@ export class B2bChipComponent {
|
|
|
22
22
|
this.value = undefined;
|
|
23
23
|
}
|
|
24
24
|
render() {
|
|
25
|
-
return (h(Host, { key: '
|
|
25
|
+
return (h(Host, { key: 'feff4de384d9ae0d55cf1683915bb15e865211a0' }, h("div", { key: '79b6ec48ae1a4c142ca8363670ecee5ddd0703cb', class: {
|
|
26
26
|
'b2b-chip': true,
|
|
27
27
|
[`b2b-chip--${this.type}`]: !this.disabled && this.type !== undefined,
|
|
28
28
|
'b2b-chip--disabled': this.disabled,
|
|
29
|
-
} }, h("span", { key: '
|
|
29
|
+
} }, h("span", { key: 'daa9ee334f78e1b9d3baa363ba7f6e941f3571dc', class: {
|
|
30
30
|
'b2b-chip__label': true,
|
|
31
31
|
[`b2b-chip__label--${this.labelStyle}`]: this.labelStyle !== undefined,
|
|
32
32
|
'b2b-chip__label--close-button': this.hasCloseButton,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Do not edit directly
|
|
3
|
-
* Generated on
|
|
3
|
+
* Generated on Wed, 04 Dec 2024 06:52:18 GMT
|
|
4
4
|
*/
|
|
5
5
|
:root, :host {
|
|
6
6
|
--b2b-size-200: 5rem; /* 80px */
|
|
@@ -122,7 +122,7 @@
|
|
|
122
122
|
}
|
|
123
123
|
/**
|
|
124
124
|
* Do not edit directly
|
|
125
|
-
* Generated on
|
|
125
|
+
* Generated on Wed, 04 Dec 2024 06:52:18 GMT
|
|
126
126
|
*/
|
|
127
127
|
:root [data-theme="dark"] {
|
|
128
128
|
--b2b-size-200: 5rem; /* 80px */
|
|
@@ -11,7 +11,7 @@ export class B2bDatePickerDaysHeader {
|
|
|
11
11
|
};
|
|
12
12
|
}
|
|
13
13
|
render() {
|
|
14
|
-
return (h(Host, { key: '
|
|
14
|
+
return (h(Host, { key: 'dd19aa810becf64b496f66534c7e81cff239507a' }, h("div", { key: '75a38a70e3152892458ab53116f9ed44487aaba6', class: "b2b-date-picker-days-header" }, this.displayWeekDays())));
|
|
15
15
|
}
|
|
16
16
|
static get is() { return "b2b-date-picker-days-header"; }
|
|
17
17
|
static get encapsulation() { return "shadow"; }
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Do not edit directly
|
|
3
|
-
* Generated on
|
|
3
|
+
* Generated on Wed, 04 Dec 2024 06:52:18 GMT
|
|
4
4
|
*/
|
|
5
5
|
:root, :host {
|
|
6
6
|
--b2b-size-200: 5rem; /* 80px */
|
|
@@ -122,7 +122,7 @@
|
|
|
122
122
|
}
|
|
123
123
|
/**
|
|
124
124
|
* Do not edit directly
|
|
125
|
-
* Generated on
|
|
125
|
+
* Generated on Wed, 04 Dec 2024 06:52:18 GMT
|
|
126
126
|
*/
|
|
127
127
|
:root [data-theme="dark"] {
|
|
128
128
|
--b2b-size-200: 5rem; /* 80px */
|
|
@@ -253,7 +253,6 @@
|
|
|
253
253
|
color: var(--b2b-color-white-100);
|
|
254
254
|
pointer-events: none;
|
|
255
255
|
width: 100%;
|
|
256
|
-
height: 100%;
|
|
257
256
|
}
|
|
258
257
|
.b2b-date-picker-days .b2b-date-picker-day--focussed {
|
|
259
258
|
background-color: var(--b2b-color-hover);
|
|
@@ -163,7 +163,7 @@ export class B2bDatePickerDays {
|
|
|
163
163
|
});
|
|
164
164
|
}
|
|
165
165
|
render() {
|
|
166
|
-
return (h(Host, { key: '
|
|
166
|
+
return (h(Host, { key: '932793a700279c0064a3a36c08d75517861f2420' }, h("div", { key: '98179650a1f3a4e4af1a8ddee3073c48cc46beab', class: "b2b-date-picker-days" }, this.renderDatePickerDays())));
|
|
167
167
|
}
|
|
168
168
|
static get is() { return "b2b-date-picker-days"; }
|
|
169
169
|
static get encapsulation() { return "shadow"; }
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Do not edit directly
|
|
3
|
-
* Generated on
|
|
3
|
+
* Generated on Wed, 04 Dec 2024 06:52:18 GMT
|
|
4
4
|
*/
|
|
5
5
|
:root, :host {
|
|
6
6
|
--b2b-size-200: 5rem; /* 80px */
|
|
@@ -122,7 +122,7 @@
|
|
|
122
122
|
}
|
|
123
123
|
/**
|
|
124
124
|
* Do not edit directly
|
|
125
|
-
* Generated on
|
|
125
|
+
* Generated on Wed, 04 Dec 2024 06:52:18 GMT
|
|
126
126
|
*/
|
|
127
127
|
:root [data-theme="dark"] {
|
|
128
128
|
--b2b-size-200: 5rem; /* 80px */
|
|
@@ -6,9 +6,9 @@ export class B2bDatePickerHeader {
|
|
|
6
6
|
this.selectedYear = undefined;
|
|
7
7
|
}
|
|
8
8
|
render() {
|
|
9
|
-
return (h(Host, { key: '
|
|
9
|
+
return (h(Host, { key: '8daf6532999d810a0d0cc69693f7220f705f5209' }, h("div", { key: 'b6e3e10fe7a0b7726201269a0c5695a6ae52ec32', class: "b2b-date-picker-header" }, h("button", { key: '2a71c4072fa1a41ba5572d4faeedf493603189a2', class: "b2b-date-picker-nav--left", onClick: this.b2bDatePickerPreviousMonth.emit, onMouseOut: event => {
|
|
10
10
|
event.target.blur();
|
|
11
|
-
}, "aria-label": "previous month" }, h("b2b-icon", { key: '
|
|
11
|
+
}, "aria-label": "previous month" }, h("b2b-icon", { key: 'e83c26f329aa68705ce39651d133050705f73d93', icon: "b2b_icon-arrow-left", clickable: true })), h("b2b-headline", { key: '5b84578186aa4f676b247ee6e31cad24a6e4f3f3', size: '100', align: 'center', class: "b2b-date-picker-month", "aria-label": "select month", tabindex: 0, onClick: () => {
|
|
12
12
|
this.b2bDatePickerViewChanged.emit({
|
|
13
13
|
value: DatePickerView.Months,
|
|
14
14
|
});
|
|
@@ -18,7 +18,7 @@ export class B2bDatePickerHeader {
|
|
|
18
18
|
value: DatePickerView.Months,
|
|
19
19
|
});
|
|
20
20
|
}
|
|
21
|
-
} }, Months[this.selectedMonth]), h("b2b-headline", { key: '
|
|
21
|
+
} }, Months[this.selectedMonth]), h("b2b-headline", { key: 'a16771e52873a8e99ebc86b702a59d49229a20c8', size: '100', align: 'center', class: "b2b-date-picker-year", "aria-label": "select year", tabindex: 0, onClick: () => {
|
|
22
22
|
this.b2bDatePickerViewChanged.emit({
|
|
23
23
|
value: DatePickerView.Years,
|
|
24
24
|
});
|
|
@@ -28,9 +28,9 @@ export class B2bDatePickerHeader {
|
|
|
28
28
|
value: DatePickerView.Years,
|
|
29
29
|
});
|
|
30
30
|
}
|
|
31
|
-
} }, this.selectedYear), h("button", { key: '
|
|
31
|
+
} }, this.selectedYear), h("button", { key: '189dea7aba624d2dc2d572ab6d502450bd2f8ec5', class: "b2b-date-picker-nav--right", onClick: this.b2bDatePickerNextMonth.emit, onMouseOut: event => {
|
|
32
32
|
event.target.blur();
|
|
33
|
-
}, "aria-label": "next month" }, h("b2b-icon", { key: '
|
|
33
|
+
}, "aria-label": "next month" }, h("b2b-icon", { key: '4c442c9f69dceec1b4d02d64a3d75a6fda18e2d1', icon: "b2b_icon-arrow-right", clickable: true })))));
|
|
34
34
|
}
|
|
35
35
|
static get is() { return "b2b-date-picker-header"; }
|
|
36
36
|
static get encapsulation() { return "shadow"; }
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Do not edit directly
|
|
3
|
-
* Generated on
|
|
3
|
+
* Generated on Wed, 04 Dec 2024 06:52:18 GMT
|
|
4
4
|
*/
|
|
5
5
|
:root, :host {
|
|
6
6
|
--b2b-size-200: 5rem; /* 80px */
|
|
@@ -122,7 +122,7 @@
|
|
|
122
122
|
}
|
|
123
123
|
/**
|
|
124
124
|
* Do not edit directly
|
|
125
|
-
* Generated on
|
|
125
|
+
* Generated on Wed, 04 Dec 2024 06:52:18 GMT
|
|
126
126
|
*/
|
|
127
127
|
:root [data-theme="dark"] {
|
|
128
128
|
--b2b-size-200: 5rem; /* 80px */
|
|
@@ -71,7 +71,7 @@ export class B2bDatePickerMonths {
|
|
|
71
71
|
this.focusCurrentMonth(months[index]);
|
|
72
72
|
}
|
|
73
73
|
render() {
|
|
74
|
-
return (h(Host, { key: '
|
|
74
|
+
return (h(Host, { key: '18baacddca5d04aa0641fdbdb4c7429c929d5080' }, h("div", { key: '55f0326e38f95bf371bb3a65e3cf235ee786ff59', class: "b2b-date-picker-months" }, this.renderDatePickerMonths())));
|
|
75
75
|
}
|
|
76
76
|
static get is() { return "b2b-date-picker-months"; }
|
|
77
77
|
static get encapsulation() { return "shadow"; }
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Do not edit directly
|
|
3
|
-
* Generated on
|
|
3
|
+
* Generated on Wed, 04 Dec 2024 06:52:18 GMT
|
|
4
4
|
*/
|
|
5
5
|
:root, :host {
|
|
6
6
|
--b2b-size-200: 5rem; /* 80px */
|
|
@@ -122,7 +122,7 @@
|
|
|
122
122
|
}
|
|
123
123
|
/**
|
|
124
124
|
* Do not edit directly
|
|
125
|
-
* Generated on
|
|
125
|
+
* Generated on Wed, 04 Dec 2024 06:52:18 GMT
|
|
126
126
|
*/
|
|
127
127
|
:root [data-theme="dark"] {
|
|
128
128
|
--b2b-size-200: 5rem; /* 80px */
|
|
@@ -98,7 +98,7 @@ export class B2bDatePickerYears {
|
|
|
98
98
|
}
|
|
99
99
|
}
|
|
100
100
|
render() {
|
|
101
|
-
return (h(Host, { key: '
|
|
101
|
+
return (h(Host, { key: '04068ca8f7b6604a6f2861f0b8892f03a1e21df3' }, h("div", { key: '8fa5bd3484d9d5766ce12f8e3e354f8beab88c56', class: "b2b-date-picker-years" }, this.renderDatePickerYears())));
|
|
102
102
|
}
|
|
103
103
|
static get is() { return "b2b-date-picker-years"; }
|
|
104
104
|
static get encapsulation() { return "shadow"; }
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Do not edit directly
|
|
3
|
-
* Generated on
|
|
3
|
+
* Generated on Wed, 04 Dec 2024 06:52:18 GMT
|
|
4
4
|
*/
|
|
5
5
|
:root, :host {
|
|
6
6
|
--b2b-size-200: 5rem; /* 80px */
|
|
@@ -122,7 +122,7 @@
|
|
|
122
122
|
}
|
|
123
123
|
/**
|
|
124
124
|
* Do not edit directly
|
|
125
|
-
* Generated on
|
|
125
|
+
* Generated on Wed, 04 Dec 2024 06:52:18 GMT
|
|
126
126
|
*/
|
|
127
127
|
:root [data-theme="dark"] {
|
|
128
128
|
--b2b-size-200: 5rem; /* 80px */
|
|
@@ -263,7 +263,7 @@
|
|
|
263
263
|
margin-left: 0;
|
|
264
264
|
padding-left: 0;
|
|
265
265
|
height: 100%;
|
|
266
|
-
width:
|
|
266
|
+
width: 100%;
|
|
267
267
|
color: var(--b2b-color-black-100);
|
|
268
268
|
font-size: var(--b2b-size-35);
|
|
269
269
|
line-height: var(--b2b-size-copy-line-height-100);
|
|
@@ -18,6 +18,9 @@ export class B2bDatePicker {
|
|
|
18
18
|
event.target.value = value;
|
|
19
19
|
if (value.length === 10) {
|
|
20
20
|
this.parseDateInput(value);
|
|
21
|
+
if (this.invalid) {
|
|
22
|
+
this.showDatePicker = false;
|
|
23
|
+
}
|
|
21
24
|
}
|
|
22
25
|
};
|
|
23
26
|
this.handleKeyDown = (event) => {
|
|
@@ -120,6 +123,7 @@ export class B2bDatePicker {
|
|
|
120
123
|
this.focused = false;
|
|
121
124
|
}
|
|
122
125
|
getPreviousMonth() {
|
|
126
|
+
this.invalid = false;
|
|
123
127
|
if (this.selectedMonth === 0) {
|
|
124
128
|
this.setCurrentMonth(11);
|
|
125
129
|
this.setCurrentYear(this.selectedYear - 1);
|
|
@@ -136,7 +140,6 @@ export class B2bDatePicker {
|
|
|
136
140
|
}
|
|
137
141
|
if (!regex.test(dateString)) {
|
|
138
142
|
this.invalid = true;
|
|
139
|
-
this.showDatePicker = false;
|
|
140
143
|
this.errorMessage = this.FORMATTING_ERROR_MESSAGE;
|
|
141
144
|
return;
|
|
142
145
|
}
|
|
@@ -161,9 +164,13 @@ export class B2bDatePicker {
|
|
|
161
164
|
}
|
|
162
165
|
isValidDate(day, month, year) {
|
|
163
166
|
const date = new Date(year, month - 1, day);
|
|
164
|
-
const isValidDay =
|
|
165
|
-
const isValidMonth =
|
|
166
|
-
const isValidYear = year
|
|
167
|
+
const isValidDay = date.getDate() === day;
|
|
168
|
+
const isValidMonth = date.getMonth() + 1 === month;
|
|
169
|
+
const isValidYear = date.getFullYear() === year && year >= 1900 && year <= 2100;
|
|
170
|
+
if (!isValidDay || !isValidMonth || !isValidYear) {
|
|
171
|
+
this.errorMessage = this.DISABLED_DATE_ERROR_MESSAGE;
|
|
172
|
+
return false;
|
|
173
|
+
}
|
|
167
174
|
let isValidRange = true;
|
|
168
175
|
if (this.disablePastDates && date < this.todayWithoutTime) {
|
|
169
176
|
this.errorMessage = this.DISABLED_DATE_ERROR_MESSAGE;
|
|
@@ -177,7 +184,7 @@ export class B2bDatePicker {
|
|
|
177
184
|
this.errorMessage = this.DISABLED_DATE_ERROR_MESSAGE;
|
|
178
185
|
isValidRange = false;
|
|
179
186
|
}
|
|
180
|
-
return
|
|
187
|
+
return isValidRange;
|
|
181
188
|
}
|
|
182
189
|
emitSelectedDate() {
|
|
183
190
|
this.b2bSelected.emit({
|
|
@@ -197,6 +204,7 @@ export class B2bDatePicker {
|
|
|
197
204
|
this.invalid = false;
|
|
198
205
|
}
|
|
199
206
|
getNextMonth() {
|
|
207
|
+
this.invalid = false;
|
|
200
208
|
if (this.selectedMonth === 11) {
|
|
201
209
|
this.setCurrentMonth(0);
|
|
202
210
|
this.setCurrentYear(this.selectedYear + 1);
|
|
@@ -246,6 +254,12 @@ export class B2bDatePicker {
|
|
|
246
254
|
closeIcon.focus();
|
|
247
255
|
}
|
|
248
256
|
}
|
|
257
|
+
handleFocusOut() {
|
|
258
|
+
if (this.userInputDate === '' || this.invalid) {
|
|
259
|
+
return;
|
|
260
|
+
}
|
|
261
|
+
this.parseDateInput(this.userInputDate);
|
|
262
|
+
}
|
|
249
263
|
moveFocusToInputComponent() {
|
|
250
264
|
const inputElement = this.host.shadowRoot.querySelector('input.b2b-date-picker-input');
|
|
251
265
|
if (inputElement !== undefined && !this.invalid) {
|
|
@@ -263,18 +277,19 @@ export class B2bDatePicker {
|
|
|
263
277
|
}
|
|
264
278
|
}
|
|
265
279
|
render() {
|
|
266
|
-
return (h(Host, { key: '
|
|
280
|
+
return (h(Host, { key: 'f55c64c00d67512d0e6c6f0e749fdc9868e44e41' }, h("div", { key: '31854fcd8b10c4349d7e8c3389be733368ca5f1a', class: "b2b-date-picker" }, h("div", { key: '2acd007a232a207870bec6e8ba944381dcdd28eb', class: "b2b-date-picker-label" }, this.label), h("div", { key: '2ae740717e19a9f1fe5a9946dbb6e891ef3103cd', class: {
|
|
267
281
|
'b2b-date-picker-input-wrapper': true,
|
|
268
282
|
'b2b-date-picker-input-wrapper--focused': this.focused || this.showDatePicker,
|
|
269
283
|
'b2b-date-picker-input-wrapper--error': this.invalid,
|
|
270
|
-
} }, h("div", { key: '
|
|
284
|
+
} }, h("div", { key: '81d58e40fc617d949442bf482bf1141c9968ed83', class: "b2b-date-picker-input-focus-wrapper", onClick: () => {
|
|
271
285
|
this.moveFocusToInputComponent();
|
|
272
|
-
} }, h("input", { key: '
|
|
286
|
+
} }, h("input", { key: '079990f5336387d1fdc473968f9ac0bd791bfdb0', type: "text", tabindex: 0, class: {
|
|
273
287
|
'b2b-date-picker-input': true,
|
|
274
288
|
'b2b-date-picker-input--error': this.invalid,
|
|
275
289
|
}, value: this.userInputDate, onInput: this.handleInputChange, onKeyDown: this.handleKeyDown, onFocus: this.handleInputFocus, onBlur: () => {
|
|
276
290
|
this.focused = false;
|
|
277
|
-
|
|
291
|
+
this.handleFocusOut();
|
|
292
|
+
} })), h("div", { key: '99cf6352447665b711284afb1f27e4d8dfc33b71', class: "b2b-icons" }, this.userInputDate && (h("div", { tabIndex: 0, onClick: () => {
|
|
278
293
|
this.invalid = false;
|
|
279
294
|
this.clearDateInput();
|
|
280
295
|
}, class: "b2b-close-icon", onKeyDown: event => {
|
|
@@ -282,7 +297,7 @@ export class B2bDatePicker {
|
|
|
282
297
|
this.invalid = false;
|
|
283
298
|
this.clearDateInput();
|
|
284
299
|
}
|
|
285
|
-
} }, h("b2b-icon", { icon: "b2b_icon-close", "aria-label": "clear input", clickable: true }))), h("div", { key: '
|
|
300
|
+
} }, h("b2b-icon", { icon: "b2b_icon-close", "aria-label": "clear input", clickable: true }))), h("div", { key: '1c4ca8455db22ea02c4d5000c625ac6da44194c4', tabindex: 0, onClick: () => {
|
|
286
301
|
if (this.invalid) {
|
|
287
302
|
this.invalid = false;
|
|
288
303
|
}
|
|
@@ -294,9 +309,9 @@ export class B2bDatePicker {
|
|
|
294
309
|
}
|
|
295
310
|
this.showHideDatePicker();
|
|
296
311
|
}
|
|
297
|
-
}, class: "b2b-event-icon" }, h("b2b-icon", { key: '
|
|
312
|
+
}, class: "b2b-event-icon" }, h("b2b-icon", { key: 'a0332088a5d68cd8e77f07d6ea2b079f34881e2f', "aria-label": this.showDatePicker
|
|
298
313
|
? 'close date picker'
|
|
299
|
-
: 'open date picker', icon: "b2b_icon-event", clickable: true }))))), h("div", { key: '
|
|
314
|
+
: 'open date picker', icon: "b2b_icon-event", clickable: true }))))), h("div", { key: '0b1d0a315fe80940f98a0d75df38b03a90175aaa', class: {
|
|
300
315
|
'b2b-date-picker-body': true,
|
|
301
316
|
'b2b-date-picker-body--hidden': !this.showDatePicker,
|
|
302
317
|
} }, this.datePickerView === DatePickerView.Days && (h("div", null, h("b2b-date-picker-header", { selectedMonth: this.selectedMonth, selectedYear: this.selectedYear }), h("b2b-date-picker-days-header", null), h("b2b-date-picker-days", { selectedMonth: this.selectedMonth, selectedYear: this.selectedYear, selectedDay: this.selectedDay, disableWeekends: this.disableWeekends, disableFutureDates: this.disableFutureDates, disablePastDates: this.disablePastDates }))), this.datePickerView === DatePickerView.Months && (h("b2b-date-picker-months", { selectedMonth: this.selectedMonth })), this.datePickerView === DatePickerView.Years && (h("b2b-date-picker-years", { selectedYear: this.selectedYear }))), this.showDatePicker && (h("div", { class: "b2b-date-picker__backdrop", onClick: this.handleBackdropDismiss })), !this.showDatePicker && (h("span", { class: {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Do not edit directly
|
|
3
|
-
* Generated on
|
|
3
|
+
* Generated on Wed, 04 Dec 2024 06:52:18 GMT
|
|
4
4
|
*/
|
|
5
5
|
:root, :host {
|
|
6
6
|
--b2b-size-200: 5rem; /* 80px */
|
|
@@ -122,7 +122,7 @@
|
|
|
122
122
|
}
|
|
123
123
|
/**
|
|
124
124
|
* Do not edit directly
|
|
125
|
-
* Generated on
|
|
125
|
+
* Generated on Wed, 04 Dec 2024 06:52:18 GMT
|
|
126
126
|
*/
|
|
127
127
|
:root [data-theme="dark"] {
|
|
128
128
|
--b2b-size-200: 5rem; /* 80px */
|
|
@@ -43,11 +43,11 @@ export class DropdownComponent {
|
|
|
43
43
|
selectElement.append(...options);
|
|
44
44
|
}
|
|
45
45
|
render() {
|
|
46
|
-
return (h(Host, { key: '
|
|
46
|
+
return (h(Host, { key: '5ab2b6da866b7dfa16a70986b930c4ab6c498820', class: {
|
|
47
47
|
'b2b-dropdown': true,
|
|
48
48
|
'b2b-dropdown--error': this.invalid && !this.disabled,
|
|
49
49
|
'b2b-dropdown--disabled': this.disabled,
|
|
50
|
-
} }, this.label && (h("b2b-input-label", { id: this.name, required: this.required }, this.label)), h("select", { key: '
|
|
50
|
+
} }, this.label && (h("b2b-input-label", { id: this.name, required: this.required }, this.label)), h("select", { key: 'e086977e610c986f0d6f3539ed31fdee0d7229e7', class: "b2b-dropdown__select", "aria-labelledby": this.name, name: this.name, disabled: this.disabled, onChange: this.onSelect, onFocus: this.onFocus, onBlur: this.onBlur }), (this.hint !== undefined && !this.invalid) ||
|
|
51
51
|
(this.hint !== undefined && this.disabled) ? (h("span", null, this.hint)) : (''), this.error !== undefined && this.invalid && !this.disabled ? (h("span", null, this.error)) : ('')));
|
|
52
52
|
}
|
|
53
53
|
static get is() { return "b2b-dropdown"; }
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Do not edit directly
|
|
3
|
-
* Generated on
|
|
3
|
+
* Generated on Wed, 04 Dec 2024 06:52:18 GMT
|
|
4
4
|
*/
|
|
5
5
|
:root, :host {
|
|
6
6
|
--b2b-size-200: 5rem; /* 80px */
|
|
@@ -122,7 +122,7 @@
|
|
|
122
122
|
}
|
|
123
123
|
/**
|
|
124
124
|
* Do not edit directly
|
|
125
|
-
* Generated on
|
|
125
|
+
* Generated on Wed, 04 Dec 2024 06:52:18 GMT
|
|
126
126
|
*/
|
|
127
127
|
:root [data-theme="dark"] {
|
|
128
128
|
--b2b-size-200: 5rem; /* 80px */
|
|
@@ -223,9 +223,14 @@
|
|
|
223
223
|
}
|
|
224
224
|
:host(.b2b-flyout-menu__option:hover),
|
|
225
225
|
:host(.b2b-flyout-menu__option:focus) {
|
|
226
|
-
background-color: var(--b2b-color-
|
|
226
|
+
background-color: var(--b2b-color-hover);
|
|
227
227
|
outline: none;
|
|
228
228
|
}
|
|
229
|
+
:host(.b2b-flyout-menu__option--disabled):hover,
|
|
230
|
+
:host(.b2b-flyout-menu__option--disabled:focus) {
|
|
231
|
+
background-color: transparent;
|
|
232
|
+
color: var(--b2b-color-grey-200);
|
|
233
|
+
}
|
|
229
234
|
:host(.b2b-flyout-menu__option--disabled) {
|
|
230
235
|
pointer-events: none;
|
|
231
236
|
color: var(--b2b-color-grey-200);
|
|
@@ -16,7 +16,7 @@ export class FlyoutMenuOptionComponent {
|
|
|
16
16
|
}
|
|
17
17
|
}
|
|
18
18
|
render() {
|
|
19
|
-
return (h(Host, { key: '
|
|
19
|
+
return (h(Host, { key: '549433cce616c4ecaaa63f78a9d28f5c1d90a0d1', class: {
|
|
20
20
|
'b2b-flyout-menu__option': true,
|
|
21
21
|
'b2b-flyout-menu__option--disabled': this.disabled,
|
|
22
22
|
'b2b-flyout-menu__option--separator': this.separator,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Do not edit directly
|
|
3
|
-
* Generated on
|
|
3
|
+
* Generated on Wed, 04 Dec 2024 06:52:18 GMT
|
|
4
4
|
*/
|
|
5
5
|
:root, :host {
|
|
6
6
|
--b2b-size-200: 5rem; /* 80px */
|
|
@@ -122,7 +122,7 @@
|
|
|
122
122
|
}
|
|
123
123
|
/**
|
|
124
124
|
* Do not edit directly
|
|
125
|
-
* Generated on
|
|
125
|
+
* Generated on Wed, 04 Dec 2024 06:52:18 GMT
|
|
126
126
|
*/
|
|
127
127
|
:root [data-theme="dark"] {
|
|
128
128
|
--b2b-size-200: 5rem; /* 80px */
|