@otto-de/b2b-core-components 1.26.3 → 1.28.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-100/b2b_icon-arrow-graph-axis.svg +3 -0
- package/dist/b2b-core-components/icons-100/b2b_icon-radio.svg +3 -0
- package/dist/b2b-core-components/p-07a49843.entry.js +1 -0
- package/dist/b2b-core-components/p-08c8a952.entry.js +1 -0
- package/dist/b2b-core-components/p-14a72105.entry.js +1 -0
- package/dist/b2b-core-components/p-2202abf9.entry.js +1 -0
- package/dist/b2b-core-components/p-22dd07cc.entry.js +1 -0
- package/dist/b2b-core-components/p-2647450d.entry.js +1 -0
- package/dist/b2b-core-components/p-2a64d962.entry.js +1 -0
- package/dist/b2b-core-components/p-348f152b.entry.js +1 -0
- package/dist/b2b-core-components/p-3568c300.entry.js +1 -0
- package/dist/b2b-core-components/p-383d0a10.entry.js +1 -0
- package/dist/b2b-core-components/p-3cc11116.entry.js +1 -0
- package/dist/b2b-core-components/p-3fda7682.entry.js +1 -0
- package/dist/b2b-core-components/p-400fa973.entry.js +1 -0
- package/dist/b2b-core-components/p-5450ce1c.entry.js +1 -0
- package/dist/b2b-core-components/p-561b8fd3.entry.js +1 -0
- package/dist/b2b-core-components/p-5b9fabe6.entry.js +1 -0
- package/dist/b2b-core-components/p-5e6aa5f2.entry.js +1 -0
- package/dist/b2b-core-components/p-659c5d92.entry.js +1 -0
- package/dist/b2b-core-components/{p-48d75dc1.entry.js → p-661b0094.entry.js} +1 -1
- package/dist/b2b-core-components/p-6723772d.entry.js +1 -0
- package/dist/b2b-core-components/p-6cf5561b.entry.js +1 -0
- package/dist/b2b-core-components/p-6ff0ffdf.entry.js +1 -0
- package/dist/b2b-core-components/p-77eabb15.entry.js +1 -0
- package/dist/b2b-core-components/p-7e5a8e61.entry.js +1 -0
- package/dist/b2b-core-components/p-80c5af85.entry.js +1 -0
- package/dist/b2b-core-components/p-816190a6.entry.js +1 -0
- package/dist/b2b-core-components/p-8abf78b9.entry.js +1 -0
- package/dist/b2b-core-components/p-8d73c38a.entry.js +1 -0
- package/dist/b2b-core-components/p-9356a466.entry.js +1 -0
- package/dist/b2b-core-components/p-93bf8bbe.entry.js +1 -0
- package/dist/b2b-core-components/p-9487b0bf.entry.js +1 -0
- package/dist/b2b-core-components/{p-ee371752.entry.js → p-a155219a.entry.js} +1 -1
- package/dist/b2b-core-components/p-a9ba47d6.entry.js +1 -0
- package/dist/b2b-core-components/p-aa8b6283.entry.js +1 -0
- package/dist/b2b-core-components/p-b5b0f18e.entry.js +1 -0
- package/dist/b2b-core-components/p-bb32be62.entry.js +1 -0
- package/dist/b2b-core-components/p-bbbbd519.entry.js +1 -0
- package/dist/b2b-core-components/p-bf0a5d26.entry.js +1 -0
- package/dist/b2b-core-components/p-c2a7f367.entry.js +1 -0
- package/dist/b2b-core-components/p-c6cc2dea.entry.js +1 -0
- package/dist/b2b-core-components/p-c8a68b79.entry.js +1 -0
- package/dist/b2b-core-components/{p-bbcc4de6.entry.js → p-d1c8105b.entry.js} +1 -1
- package/dist/b2b-core-components/p-d93b45d6.entry.js +1 -0
- package/dist/b2b-core-components/p-dad8f664.entry.js +1 -0
- package/dist/b2b-core-components/p-db205434.entry.js +1 -0
- package/dist/b2b-core-components/p-dbc638ef.entry.js +1 -0
- package/dist/b2b-core-components/p-dd96c384.entry.js +1 -0
- package/dist/b2b-core-components/p-e81d0f3a.entry.js +1 -0
- package/dist/b2b-core-components/p-f51f72d4.entry.js +1 -0
- package/dist/b2b-core-components/p-f5786cad.entry.js +1 -0
- package/dist/b2b-core-components/p-f67e3fbe.entry.js +1 -0
- package/dist/b2b-core-components/p-f982a075.entry.js +1 -0
- package/dist/b2b-core-components/p-fbb917b5.entry.js +1 -0
- package/dist/b2b-core-components/p-fdc01d9c.entry.js +1 -0
- package/dist/b2b-core-components/p-fe75bd7e.entry.js +1 -0
- package/dist/b2b-core-components/p-fe7c7068.entry.js +1 -0
- package/dist/cjs/b2b-alert.cjs.entry.js +1 -1
- package/dist/cjs/b2b-anchor.cjs.entry.js +1 -1
- package/dist/cjs/b2b-background-box.cjs.entry.js +1 -1
- 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 +3 -3
- 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 +6 -5
- package/dist/cjs/b2b-core-components.cjs.js +1 -1
- package/dist/cjs/b2b-date-picker-days_5.cjs.entry.js +5 -5
- package/dist/cjs/b2b-date-picker.cjs.entry.js +36 -12
- package/dist/cjs/b2b-dropdown.cjs.entry.js +115 -32
- 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 +1 -1
- package/dist/cjs/b2b-grid-row.cjs.entry.js +2 -2
- package/dist/cjs/b2b-grid.cjs.entry.js +2 -2
- package/dist/cjs/b2b-headline.cjs.entry.js +1 -1
- package/dist/cjs/b2b-icon-100.cjs.entry.js +4 -2
- 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 +7 -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 +65 -22
- 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-shimmer.cjs.entry.js +2 -2
- package/dist/cjs/b2b-snackbar.cjs.entry.js +20 -14
- 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 +3 -3
- 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 +4 -4
- 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 +2 -2
- package/dist/cjs/b2b-wizard-step.cjs.entry.js +3 -3
- package/dist/cjs/b2b-wizard.cjs.entry.js +2 -2
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/collection/components/alert/alert.css +5 -3
- package/dist/collection/components/anchor/anchor.css +5 -3
- package/dist/collection/components/background-box/background-box.css +5 -3
- package/dist/collection/components/breadcrumb/breadcrumb.css +5 -3
- package/dist/collection/components/button/button.css +5 -3
- package/dist/collection/components/card/card.css +5 -3
- package/dist/collection/components/checkbox/checkbox.css +5 -3
- package/dist/collection/components/checkbox-group/checkbox-group.css +5 -3
- package/dist/collection/components/chip/chip.css +5 -3
- package/dist/collection/components/chip/chip.js +21 -2
- package/dist/collection/components/chip/chip.stories.js +10 -0
- package/dist/collection/components/date-picker/date-picker-days-header.css +5 -3
- package/dist/collection/components/date-picker/date-picker-days.css +5 -3
- package/dist/collection/components/date-picker/date-picker-header.css +5 -3
- package/dist/collection/components/date-picker/date-picker-months.css +5 -3
- package/dist/collection/components/date-picker/date-picker-years.css +5 -3
- package/dist/collection/components/date-picker/date-picker.css +5 -3
- package/dist/collection/components/date-picker/date-picker.e2e.js +3 -2
- package/dist/collection/components/date-picker/date-picker.js +40 -11
- package/dist/collection/components/dropdown/dropdown.css +62 -5
- package/dist/collection/components/dropdown/dropdown.e2e.js +8 -0
- package/dist/collection/components/dropdown/dropdown.js +147 -31
- package/dist/collection/components/flyout-menu/flyout-menu-option.css +5 -3
- package/dist/collection/components/flyout-menu/flyout-menu-option.js +1 -1
- package/dist/collection/components/flyout-menu/flyout-menu.css +5 -3
- package/dist/collection/components/flyout-menu/flyout-menu.js +3 -3
- package/dist/collection/components/grid/column.js +2 -2
- package/dist/collection/components/grid/grid.css +0 -6
- 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 +5 -3
- package/dist/collection/components/icon/icon.css +5 -3
- package/dist/collection/components/icon-100/icon-100.css +5 -3
- package/dist/collection/components/icon-100/icon-100.js +1 -1
- package/dist/collection/components/icon-100/icons-100/b2b_icon-arrow-graph-axis.svg +3 -0
- package/dist/collection/components/icon-100/icons-100/b2b_icon-radio.svg +3 -0
- package/dist/collection/components/icon-100/types.js +3 -1
- package/dist/collection/components/icon-50/icon-50.css +5 -3
- package/dist/collection/components/input/input.css +5 -3
- package/dist/collection/components/input/input.js +4 -4
- package/dist/collection/components/input-group/input-group.css +5 -3
- 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 +5 -3
- package/dist/collection/components/input-list/input-list.js +2 -2
- package/dist/collection/components/label/label.css +5 -3
- package/dist/collection/components/label/label.js +2 -2
- package/dist/collection/components/modal/modal.css +5 -3
- package/dist/collection/components/modal/modal.js +2 -2
- package/dist/collection/components/multiselect-dropdown/multiselect-dropdown.css +76 -15
- package/dist/collection/components/multiselect-dropdown/multiselect-dropdown.e2e.js +60 -87
- package/dist/collection/components/multiselect-dropdown/multiselect-dropdown.js +155 -21
- package/dist/collection/components/multiselect-dropdown/multiselect-dropdown.stories.js +32 -2
- package/dist/collection/components/multiselect-dropdown/multiselect-option/multiselect-option.js +2 -2
- package/dist/collection/components/pagination/pagination.css +5 -3
- package/dist/collection/components/pagination/pagination.js +1 -1
- package/dist/collection/components/paragraph/paragraph.css +5 -3
- package/dist/collection/components/paragraph/paragraph.js +2 -2
- package/dist/collection/components/progress-bar/progress-bar.css +5 -3
- package/dist/collection/components/progress-bar/progress-bar.js +3 -3
- package/dist/collection/components/radio/radio.css +5 -3
- package/dist/collection/components/radio/radio.js +2 -2
- package/dist/collection/components/radio-group/radio-group.css +5 -3
- package/dist/collection/components/radio-group/radio-group.js +2 -2
- package/dist/collection/components/required-separator/required-separator.css +5 -3
- package/dist/collection/components/required-separator/required-separator.js +1 -1
- package/dist/collection/components/rounded-icon/rounded-icon.css +5 -3
- package/dist/collection/components/rounded-icon/rounded-icon.js +4 -4
- package/dist/collection/components/scrollable-container/scrollable-container.css +5 -3
- 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 +5 -3
- package/dist/collection/components/separator/separator.js +1 -1
- package/dist/collection/components/shimmer/shimmer.css +5 -3
- package/dist/collection/components/shimmer/shimmer.js +1 -1
- package/dist/collection/components/snackbar/snackbar.css +5 -3
- package/dist/collection/components/snackbar/snackbar.e2e.js +0 -2
- package/dist/collection/components/snackbar/snackbar.js +20 -14
- package/dist/collection/components/snackbar/snackbar.stories.js +4 -3
- package/dist/collection/components/spinner/spinner.css +5 -3
- package/dist/collection/components/spinner/spinner.js +1 -1
- package/dist/collection/components/tab/tab.css +5 -3
- 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 +5 -3
- package/dist/collection/components/tab-panel/tab-panel.js +1 -1
- package/dist/collection/components/table/table-cell/table-cell.css +5 -3
- package/dist/collection/components/table/table-cell/table-cell.js +2 -2
- package/dist/collection/components/table/table-header/table-header.css +5 -3
- package/dist/collection/components/table/table-header/table-header.js +1 -1
- package/dist/collection/components/table/table-row/table-row.css +5 -3
- package/dist/collection/components/table/table-row/table-row.js +2 -2
- package/dist/collection/components/table/table-rowgroup/table-rowgroup.css +5 -3
- package/dist/collection/components/table/table-rowgroup/table-rowgroup.js +2 -2
- package/dist/collection/components/table/table.css +5 -3
- package/dist/collection/components/table/table.js +2 -2
- package/dist/collection/components/textarea/textarea.css +5 -3
- package/dist/collection/components/textarea/textarea.js +2 -2
- package/dist/collection/components/toggle-button/toggle-button.css +5 -3
- package/dist/collection/components/toggle-button/toggle-button.js +3 -3
- package/dist/collection/components/toggle-chip/toggle-chip.css +5 -3
- package/dist/collection/components/toggle-chip/toggle-chip.js +3 -3
- package/dist/collection/components/toggle-group/toggle-group.css +5 -3
- package/dist/collection/components/toggle-group/toggle-group.js +2 -2
- package/dist/collection/components/toggle-switch/toggle-switch.css +5 -3
- package/dist/collection/components/toggle-switch/toggle-switch.js +4 -4
- package/dist/collection/components/tooltip/tooltip.css +5 -3
- 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 +5 -3
- package/dist/collection/components/wizard/wizard.js +1 -1
- package/dist/collection/components/wizard-icon/wizard-icon.css +5 -3
- package/dist/collection/components/wizard-icon/wizard-icon.js +1 -1
- package/dist/components/b2b-alert.js +1 -1
- package/dist/components/b2b-anchor.js +1 -1
- package/dist/components/b2b-background-box.js +1 -1
- 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 +40 -13
- package/dist/components/b2b-dropdown.js +124 -33
- 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 +1 -1
- package/dist/components/b2b-grid-row.js +2 -2
- package/dist/components/b2b-grid.js +2 -2
- package/dist/components/b2b-icon-50.js +1 -1
- package/dist/components/b2b-icon.js +1 -1
- package/dist/components/b2b-label.js +3 -3
- package/dist/components/b2b-modal.js +3 -3
- package/dist/components/b2b-multiselect-dropdown.js +72 -22
- 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 +1 -1
- package/dist/components/b2b-shimmer.js +2 -2
- package/dist/components/b2b-snackbar.js +21 -15
- 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 +3 -3
- package/dist/components/b2b-table-rowgroup.js +3 -3
- package/dist/components/b2b-table.js +3 -3
- package/dist/components/b2b-textarea.js +3 -3
- package/dist/components/b2b-toggle-button.js +4 -4
- package/dist/components/b2b-toggle-chip.js +4 -4
- 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 +3 -3
- package/dist/components/b2b-wizard.js +2 -2
- package/dist/components/button.js +1 -1
- package/dist/components/checkbox.js +1 -1
- package/dist/components/chip.js +6 -4
- package/dist/components/date-picker-days-header.js +1 -1
- package/dist/components/date-picker-days.js +1 -1
- package/dist/components/date-picker-header.js +1 -1
- package/dist/components/date-picker-months.js +1 -1
- package/dist/components/date-picker-years.js +1 -1
- package/dist/components/headline.js +1 -1
- package/dist/components/icon-100.js +4 -2
- 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 +3 -3
- package/dist/components/input.js +5 -5
- package/dist/components/multiselect-option.js +2 -2
- 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 +2 -2
- package/dist/custom-elements.json +32 -2
- package/dist/esm/b2b-alert.entry.js +1 -1
- package/dist/esm/b2b-anchor.entry.js +1 -1
- package/dist/esm/b2b-background-box.entry.js +1 -1
- 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 +3 -3
- 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 +6 -5
- package/dist/esm/b2b-core-components.js +1 -1
- package/dist/esm/b2b-date-picker-days_5.entry.js +5 -5
- package/dist/esm/b2b-date-picker.entry.js +36 -12
- package/dist/esm/b2b-dropdown.entry.js +115 -32
- 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 +1 -1
- package/dist/esm/b2b-grid-row.entry.js +2 -2
- package/dist/esm/b2b-grid.entry.js +2 -2
- package/dist/esm/b2b-headline.entry.js +1 -1
- package/dist/esm/b2b-icon-100.entry.js +4 -2
- 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 +7 -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 +65 -22
- 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-shimmer.entry.js +2 -2
- package/dist/esm/b2b-snackbar.entry.js +20 -14
- 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 +3 -3
- 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 +4 -4
- 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 +2 -2
- package/dist/esm/b2b-wizard-step.entry.js +3 -3
- package/dist/esm/b2b-wizard.entry.js +2 -2
- package/dist/esm/loader.js +1 -1
- package/dist/types/components/chip/chip.d.ts +2 -0
- package/dist/types/components/chip/chip.stories.d.ts +2 -0
- package/dist/types/components/date-picker/date-picker.d.ts +2 -0
- package/dist/types/components/dropdown/dropdown.d.ts +24 -5
- package/dist/types/components/grid/column.d.ts +1 -1
- package/dist/types/components/icon-100/types.d.ts +1 -1
- package/dist/types/components/multiselect-dropdown/multiselect-dropdown.d.ts +15 -3
- package/dist/types/components/multiselect-dropdown/multiselect-dropdown.stories.d.ts +5 -0
- package/dist/types/components/snackbar/snackbar.d.ts +2 -0
- package/dist/types/components.d.ts +54 -2
- package/dist/web-types.json +62 -4
- package/package.json +2 -2
- package/dist/b2b-core-components/p-01a5c813.entry.js +0 -1
- package/dist/b2b-core-components/p-01aea1a4.entry.js +0 -1
- package/dist/b2b-core-components/p-02b5dcb1.entry.js +0 -1
- package/dist/b2b-core-components/p-10e9a961.entry.js +0 -1
- package/dist/b2b-core-components/p-150f78f4.entry.js +0 -1
- package/dist/b2b-core-components/p-1758bea9.entry.js +0 -1
- package/dist/b2b-core-components/p-1ac1ed23.entry.js +0 -1
- package/dist/b2b-core-components/p-201b438d.entry.js +0 -1
- package/dist/b2b-core-components/p-225e561a.entry.js +0 -1
- package/dist/b2b-core-components/p-247b295d.entry.js +0 -1
- package/dist/b2b-core-components/p-28674643.entry.js +0 -1
- package/dist/b2b-core-components/p-30dce961.entry.js +0 -1
- package/dist/b2b-core-components/p-371efcb7.entry.js +0 -1
- package/dist/b2b-core-components/p-37cdfc83.entry.js +0 -1
- package/dist/b2b-core-components/p-3e50a85d.entry.js +0 -1
- package/dist/b2b-core-components/p-40c31c85.entry.js +0 -1
- package/dist/b2b-core-components/p-438ab795.entry.js +0 -1
- package/dist/b2b-core-components/p-45e19c6e.entry.js +0 -1
- package/dist/b2b-core-components/p-4d96ee04.entry.js +0 -1
- package/dist/b2b-core-components/p-51dab4f2.entry.js +0 -1
- package/dist/b2b-core-components/p-572f9f64.entry.js +0 -1
- package/dist/b2b-core-components/p-5c576b32.entry.js +0 -1
- package/dist/b2b-core-components/p-71f1d9a1.entry.js +0 -1
- package/dist/b2b-core-components/p-74c0757b.entry.js +0 -1
- package/dist/b2b-core-components/p-8c3b4f01.entry.js +0 -1
- package/dist/b2b-core-components/p-8fa70a00.entry.js +0 -1
- package/dist/b2b-core-components/p-900f47c2.entry.js +0 -1
- package/dist/b2b-core-components/p-925553cd.entry.js +0 -1
- package/dist/b2b-core-components/p-95570f8e.entry.js +0 -1
- package/dist/b2b-core-components/p-96bde9dd.entry.js +0 -1
- package/dist/b2b-core-components/p-99060fad.entry.js +0 -1
- package/dist/b2b-core-components/p-9de02b91.entry.js +0 -1
- package/dist/b2b-core-components/p-9e3d9908.entry.js +0 -1
- package/dist/b2b-core-components/p-a0ab40f0.entry.js +0 -1
- package/dist/b2b-core-components/p-a6dec156.entry.js +0 -1
- package/dist/b2b-core-components/p-b6916793.entry.js +0 -1
- package/dist/b2b-core-components/p-b7afa702.entry.js +0 -1
- package/dist/b2b-core-components/p-b98f7c3c.entry.js +0 -1
- package/dist/b2b-core-components/p-bf8db809.entry.js +0 -1
- package/dist/b2b-core-components/p-c3d76d28.entry.js +0 -1
- package/dist/b2b-core-components/p-c69df063.entry.js +0 -1
- package/dist/b2b-core-components/p-c8838f46.entry.js +0 -1
- package/dist/b2b-core-components/p-cc0ad9b7.entry.js +0 -1
- package/dist/b2b-core-components/p-d2c93cb5.entry.js +0 -1
- package/dist/b2b-core-components/p-d56a8c1a.entry.js +0 -1
- package/dist/b2b-core-components/p-d895f199.entry.js +0 -1
- package/dist/b2b-core-components/p-e4359302.entry.js +0 -1
- package/dist/b2b-core-components/p-e73552ea.entry.js +0 -1
- package/dist/b2b-core-components/p-ef0bbdd1.entry.js +0 -1
- package/dist/b2b-core-components/p-f31cc91d.entry.js +0 -1
- package/dist/b2b-core-components/p-f6bd827c.entry.js +0 -1
- package/dist/b2b-core-components/p-f6e8c4e9.entry.js +0 -1
- package/dist/b2b-core-components/p-fbd31067.entry.js +0 -1
- /package/dist/b2b-core-components/icons-100/{b2b_icon-sprache.svg → b2b_icon-sphere.svg} +0 -0
- /package/dist/collection/components/icon-100/icons-100/{b2b_icon-sprache.svg → b2b_icon-sphere.svg} +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Do not edit directly
|
|
3
|
-
* Generated on
|
|
3
|
+
* Generated on Tue, 29 Apr 2025 06:54:24 GMT
|
|
4
4
|
*/
|
|
5
5
|
:root, :host {
|
|
6
6
|
--b2b-size-200: 5rem; /* 80px */
|
|
@@ -58,6 +58,7 @@
|
|
|
58
58
|
--b2b-color-grey-100: #e6e6e6;
|
|
59
59
|
--b2b-color-grey-50: #eeeeee;
|
|
60
60
|
--b2b-color-grey-25: #f6f6f6;
|
|
61
|
+
--b2b-color-grey-10: #f0f0f0;
|
|
61
62
|
--b2b-color-white-100: #ffffff;
|
|
62
63
|
--b2b-color-black-100: #222222;
|
|
63
64
|
--b2b-color-black-50: #333333;
|
|
@@ -118,12 +119,12 @@
|
|
|
118
119
|
--b2b-color-background-overlay: var(--b2b-color-black-100);
|
|
119
120
|
--b2b-color-background-card: var(--b2b-color-white-100);
|
|
120
121
|
--b2b-color-background-box: var(--b2b-color-white-100);
|
|
121
|
-
--b2b-color-background-page: var(--b2b-color-grey-
|
|
122
|
+
--b2b-color-background-page: var(--b2b-color-grey-10);
|
|
122
123
|
--b2b-color-error-50: var(--b2b-color-red-50);
|
|
123
124
|
}
|
|
124
125
|
/**
|
|
125
126
|
* Do not edit directly
|
|
126
|
-
* Generated on
|
|
127
|
+
* Generated on Tue, 29 Apr 2025 06:54:24 GMT
|
|
127
128
|
*/
|
|
128
129
|
:root [data-theme="dark"] {
|
|
129
130
|
--b2b-size-200: 5rem; /* 80px */
|
|
@@ -177,6 +178,7 @@
|
|
|
177
178
|
--b2b-color-grey-100: #e6e6e6;
|
|
178
179
|
--b2b-color-grey-50: #eeeeee;
|
|
179
180
|
--b2b-color-grey-25: #f6f6f6;
|
|
181
|
+
--b2b-color-grey-10: #f0f0f0;
|
|
180
182
|
--b2b-color-white-100: #ffffff;
|
|
181
183
|
--b2b-color-black-100: #222222;
|
|
182
184
|
--b2b-color-black-50: #333333;
|
|
@@ -221,12 +223,20 @@
|
|
|
221
223
|
--b2b-border-radius: var(--b2b-size-border-radius-100);
|
|
222
224
|
--b2b-border-right: 1px solid var(--b2b-color-grey-200);
|
|
223
225
|
display: block;
|
|
226
|
+
position: relative;
|
|
224
227
|
width: 100%;
|
|
225
228
|
min-width: fit-content;
|
|
226
229
|
font-family: var(--b2b-font-family-default);
|
|
227
230
|
font-size: var(--b2b-size-copy-100);
|
|
228
231
|
max-width: 600px;
|
|
229
232
|
}
|
|
233
|
+
:host(.b2b-dropdown) .b2b-dropdown__wrapper {
|
|
234
|
+
display: flex;
|
|
235
|
+
position: relative;
|
|
236
|
+
width: 100%;
|
|
237
|
+
box-sizing: border-box;
|
|
238
|
+
flex: 1;
|
|
239
|
+
}
|
|
230
240
|
:host(.b2b-dropdown) .b2b-dropdown__select {
|
|
231
241
|
font-family: var(--b2b-font-family-default);
|
|
232
242
|
font-size: var(--b2b-size-copy-100);
|
|
@@ -246,15 +256,62 @@
|
|
|
246
256
|
height: var(--b2b-size-90);
|
|
247
257
|
line-height: var(--b2b-size-copy-line-height-100);
|
|
248
258
|
box-sizing: border-box;
|
|
249
|
-
|
|
259
|
+
text-align: left;
|
|
260
|
+
overflow-x: auto;
|
|
261
|
+
overflow-y: hidden;
|
|
250
262
|
}
|
|
251
|
-
:host(.b2b-dropdown) .b2b-dropdown__select
|
|
263
|
+
:host(.b2b-dropdown) .b2b-dropdown__select--focused {
|
|
252
264
|
outline: 2px solid Highlight;
|
|
253
265
|
outline: 2px solid -webkit-focus-ring-color;
|
|
254
266
|
border-radius: var(--b2b-border-radius);
|
|
255
267
|
outline-offset: -1px;
|
|
256
268
|
z-index: 9999;
|
|
257
269
|
}
|
|
270
|
+
:host(.b2b-dropdown) .b2b-dropdown__select--open {
|
|
271
|
+
outline: 2px solid Highlight;
|
|
272
|
+
outline: 2px solid -webkit-focus-ring-color;
|
|
273
|
+
border-radius: var(--b2b-border-radius);
|
|
274
|
+
outline-offset: -1px;
|
|
275
|
+
z-index: 9999;
|
|
276
|
+
}
|
|
277
|
+
:host(.b2b-dropdown) .b2b-dropdown__options {
|
|
278
|
+
display: block;
|
|
279
|
+
background-color: var(--b2b-color-white-100);
|
|
280
|
+
max-height: 200px;
|
|
281
|
+
margin: 0;
|
|
282
|
+
border-right: var(--b2b-size-1) solid var(--b2b-color-black-100);
|
|
283
|
+
border-left: var(--b2b-size-1) solid var(--b2b-color-black-100);
|
|
284
|
+
border-bottom: var(--b2b-size-1) solid var(--b2b-color-black-100);
|
|
285
|
+
margin-top: 0;
|
|
286
|
+
border-top: none;
|
|
287
|
+
text-align: left;
|
|
288
|
+
top: 100%;
|
|
289
|
+
position: absolute;
|
|
290
|
+
left: 0;
|
|
291
|
+
right: 0;
|
|
292
|
+
width: 100%;
|
|
293
|
+
z-index: 10;
|
|
294
|
+
box-sizing: border-box;
|
|
295
|
+
white-space: pre-wrap;
|
|
296
|
+
}
|
|
297
|
+
:host(.b2b-dropdown) .b2b-dropdown__option {
|
|
298
|
+
padding: 10px;
|
|
299
|
+
cursor: pointer;
|
|
300
|
+
font-size: var(--b2b-size-copy-100);
|
|
301
|
+
margin-top: 0;
|
|
302
|
+
border-top: none;
|
|
303
|
+
display: block;
|
|
304
|
+
width: 100%;
|
|
305
|
+
box-sizing: border-box;
|
|
306
|
+
}
|
|
307
|
+
:host(.b2b-dropdown) .b2b-dropdown__option:hover {
|
|
308
|
+
background-color: var(--b2b-color-hover-default);
|
|
309
|
+
}
|
|
310
|
+
:host(.b2b-dropdown) .b2b-dropdown__option--disabled {
|
|
311
|
+
color: var(--b2b-color-grey-250);
|
|
312
|
+
background-color: var(--b2b-color-white-100);
|
|
313
|
+
pointer-events: none;
|
|
314
|
+
}
|
|
258
315
|
:host(.b2b-dropdown) b2b-input-label {
|
|
259
316
|
display: block;
|
|
260
317
|
margin-bottom: var(--b2b-size-5);
|
|
@@ -45,4 +45,12 @@ describe('B2B-Dropdown', () => {
|
|
|
45
45
|
await page.waitForChanges();
|
|
46
46
|
expect(element).toHaveClass('b2b-dropdown--error');
|
|
47
47
|
});
|
|
48
|
+
it('should clear the selection and reset to placeholder', async () => {
|
|
49
|
+
const dropdown = await page.find('b2b-dropdown');
|
|
50
|
+
await dropdown.callMethod('clearSelection');
|
|
51
|
+
await page.waitForChanges();
|
|
52
|
+
const selectedTextElementAfter = await dropdown.shadowRoot.querySelector('.b2b-dropdown__select');
|
|
53
|
+
expect(selectedTextElementAfter).not.toBeNull();
|
|
54
|
+
expect(selectedTextElementAfter.textContent).toBe('Select an option...');
|
|
55
|
+
});
|
|
48
56
|
});
|
|
@@ -1,26 +1,60 @@
|
|
|
1
1
|
import { h, Host, } from "@stencil/core";
|
|
2
2
|
export class DropdownComponent {
|
|
3
3
|
constructor() {
|
|
4
|
-
this.
|
|
5
|
-
|
|
6
|
-
this.
|
|
4
|
+
this.truncatedText = '';
|
|
5
|
+
this.onClickOutside = (ev) => {
|
|
6
|
+
if (!this.hostElement.contains(ev.target))
|
|
7
|
+
this.isOpen = false;
|
|
8
|
+
};
|
|
9
|
+
this.toggleDropdown = () => {
|
|
10
|
+
if (!this.disabled)
|
|
11
|
+
this.isOpen = !this.isOpen;
|
|
7
12
|
};
|
|
8
13
|
this.onFocus = (ev) => {
|
|
14
|
+
this.focused = true;
|
|
9
15
|
this.b2bFocus.emit(ev);
|
|
10
16
|
};
|
|
11
17
|
this.onBlur = (ev) => {
|
|
18
|
+
this.focused = false;
|
|
12
19
|
this.b2bBlur.emit(ev);
|
|
13
20
|
};
|
|
14
|
-
this.
|
|
15
|
-
|
|
21
|
+
this.onSelect = (event) => {
|
|
22
|
+
var _a;
|
|
23
|
+
const target = event.target;
|
|
24
|
+
const value = target.getAttribute('data-value');
|
|
25
|
+
const label = (_a = target.textContent) === null || _a === void 0 ? void 0 : _a.trim();
|
|
26
|
+
if (value) {
|
|
27
|
+
this.selectedValue = value;
|
|
28
|
+
this.selectedText = label || '';
|
|
29
|
+
this.b2bChange.emit(value);
|
|
30
|
+
this.options = this.options.map(opt => (Object.assign(Object.assign({}, opt), { selected: opt.value === value })));
|
|
31
|
+
this.isOpen = false;
|
|
32
|
+
this.updateTruncatedText();
|
|
33
|
+
}
|
|
16
34
|
};
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
35
|
+
this.updateTruncatedText = () => {
|
|
36
|
+
if (!this.selectEl)
|
|
37
|
+
return;
|
|
38
|
+
const rawText = this.selectedText || this.placeholder;
|
|
39
|
+
const style = window.getComputedStyle(this.selectEl);
|
|
40
|
+
const canvas = document.createElement('canvas');
|
|
41
|
+
const ctx = canvas.getContext('2d');
|
|
42
|
+
if (!ctx)
|
|
43
|
+
return;
|
|
44
|
+
ctx.font = `${style.fontWeight} ${style.fontSize} ${style.fontFamily}`;
|
|
45
|
+
const availableWidth = this.selectEl.clientWidth - parseFloat(style.paddingRight || '0') - 24;
|
|
46
|
+
if (ctx.measureText(rawText).width <= availableWidth) {
|
|
47
|
+
this.truncatedText = rawText;
|
|
48
|
+
return;
|
|
23
49
|
}
|
|
50
|
+
let truncated = '';
|
|
51
|
+
for (let i = 0; i < rawText.length; i++) {
|
|
52
|
+
const test = rawText.slice(0, i + 1) + '…';
|
|
53
|
+
if (ctx.measureText(test).width > availableWidth)
|
|
54
|
+
break;
|
|
55
|
+
truncated = rawText.slice(0, i + 1);
|
|
56
|
+
}
|
|
57
|
+
this.truncatedText = truncated + '…';
|
|
24
58
|
};
|
|
25
59
|
this.label = undefined;
|
|
26
60
|
this.required = false;
|
|
@@ -31,33 +65,79 @@ export class DropdownComponent {
|
|
|
31
65
|
this.invalid = false;
|
|
32
66
|
this.hint = undefined;
|
|
33
67
|
this.error = undefined;
|
|
68
|
+
this.isOpen = false;
|
|
69
|
+
this.focused = false;
|
|
70
|
+
this.selectedValue = '';
|
|
71
|
+
this.selectedText = '';
|
|
72
|
+
this.options = [];
|
|
73
|
+
}
|
|
74
|
+
/** Method to programmatically clear selection of the dropdown. */
|
|
75
|
+
async clearSelection() {
|
|
76
|
+
this.selectedValue = this.placeholderValue || '';
|
|
77
|
+
this.selectedText = this.placeholder || 'Select an option...';
|
|
78
|
+
this.options = this.options.map(opt => (Object.assign(Object.assign({}, opt), { selected: false })));
|
|
79
|
+
this.isOpen = false;
|
|
80
|
+
this.updateTruncatedText();
|
|
81
|
+
}
|
|
82
|
+
componentWillLoad() {
|
|
83
|
+
this.selectedValue = this.placeholderValue || '';
|
|
84
|
+
this.selectedText = '';
|
|
85
|
+
}
|
|
86
|
+
componentDidLoad() {
|
|
87
|
+
this.initializeOptions();
|
|
88
|
+
this.updateTruncatedText();
|
|
89
|
+
document.addEventListener('click', this.onClickOutside);
|
|
90
|
+
window.addEventListener('resize', this.updateTruncatedText);
|
|
91
|
+
}
|
|
92
|
+
disconnectedCallback() {
|
|
93
|
+
document.removeEventListener('click', this.onClickOutside);
|
|
94
|
+
window.removeEventListener('resize', this.updateTruncatedText);
|
|
34
95
|
}
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
96
|
+
watchDropdownState() {
|
|
97
|
+
if (this.isOpen)
|
|
98
|
+
this.closeOtherDropdowns();
|
|
99
|
+
}
|
|
100
|
+
initializeOptions() {
|
|
101
|
+
const nativeOptions = Array.from(this.hostElement.querySelectorAll('option'));
|
|
102
|
+
this.options = nativeOptions.map(opt => {
|
|
103
|
+
var _a;
|
|
104
|
+
return ({
|
|
105
|
+
value: opt.value,
|
|
106
|
+
label: ((_a = opt.textContent) === null || _a === void 0 ? void 0 : _a.trim()) || '',
|
|
107
|
+
selected: opt.hasAttribute('selected'),
|
|
108
|
+
disabled: opt.hasAttribute('disabled'),
|
|
109
|
+
});
|
|
110
|
+
});
|
|
111
|
+
const selected = this.options.find(o => o.selected);
|
|
112
|
+
if (selected) {
|
|
113
|
+
this.selectedValue = selected.value;
|
|
114
|
+
this.selectedText = selected.label;
|
|
39
115
|
}
|
|
40
116
|
}
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
placeholderOption.value = this.placeholderValue;
|
|
48
|
-
placeholderOption.textContent = this.placeholder;
|
|
49
|
-
placeholderOption.disabled = true;
|
|
50
|
-
placeholderOption.selected = true;
|
|
51
|
-
selectElement.append(placeholderOption);
|
|
52
|
-
selectElement.append(...options);
|
|
117
|
+
closeOtherDropdowns() {
|
|
118
|
+
const others = document.querySelectorAll('b2b-dropdown');
|
|
119
|
+
others.forEach(el => {
|
|
120
|
+
if (el !== this.hostElement)
|
|
121
|
+
el.isOpen = false;
|
|
122
|
+
});
|
|
53
123
|
}
|
|
54
124
|
render() {
|
|
55
|
-
|
|
125
|
+
const hasError = this.invalid && !this.disabled;
|
|
126
|
+
const showHint = this.hint && (!this.invalid || this.disabled);
|
|
127
|
+
const showError = this.error && hasError;
|
|
128
|
+
return (h(Host, { key: '09be0fe07181c102f688599b581973d03c6347ae', class: {
|
|
56
129
|
'b2b-dropdown': true,
|
|
57
|
-
'b2b-dropdown--error':
|
|
130
|
+
'b2b-dropdown--error': hasError,
|
|
58
131
|
'b2b-dropdown--disabled': this.disabled,
|
|
59
|
-
} }, this.label && (h("b2b-input-label", { id: this.name, required: this.required }, this.label)), h("
|
|
60
|
-
|
|
132
|
+
} }, this.label && (h("b2b-input-label", { id: this.name, required: this.required }, this.label)), h("div", { key: 'f4756d9f9550c1adc4aa618e9e7c673bfd89037a', class: "b2b-dropdown__wrapper", onFocus: this.onFocus, onBlur: this.onBlur }, h("div", { key: '5fed7fbb2599116576887c05d85b884367e2bf0e', class: {
|
|
133
|
+
'b2b-dropdown__select': true,
|
|
134
|
+
'b2b-dropdown__select--open': this.isOpen,
|
|
135
|
+
'b2b-dropdown__select--focused': this.focused,
|
|
136
|
+
}, ref: el => (this.selectEl = el), onClick: this.toggleDropdown, role: "combobox", "aria-expanded": `${this.isOpen}`, "aria-labelledby": this.name }, this.selectedText ? this.truncatedText : this.placeholder), this.isOpen && (h("div", { class: "b2b-dropdown__options", role: "listbox" }, this.options.map(option => (h("div", { key: option.value, class: {
|
|
137
|
+
'b2b-dropdown__option': true,
|
|
138
|
+
'b2b-dropdown__option--selected': option.selected,
|
|
139
|
+
'b2b-dropdown__option--disabled': option.disabled,
|
|
140
|
+
}, "data-value": option.value, onClick: !option.disabled ? this.onSelect : undefined, role: "option", "aria-selected": option.selected ? 'true' : 'false', "aria-disabled": option.disabled ? 'true' : 'false' }, option.label)))))), showHint && h("span", null, this.hint), showError && h("span", null, this.error)));
|
|
61
141
|
}
|
|
62
142
|
static get is() { return "b2b-dropdown"; }
|
|
63
143
|
static get encapsulation() { return "shadow"; }
|
|
@@ -233,6 +313,15 @@ export class DropdownComponent {
|
|
|
233
313
|
}
|
|
234
314
|
};
|
|
235
315
|
}
|
|
316
|
+
static get states() {
|
|
317
|
+
return {
|
|
318
|
+
"isOpen": {},
|
|
319
|
+
"focused": {},
|
|
320
|
+
"selectedValue": {},
|
|
321
|
+
"selectedText": {},
|
|
322
|
+
"options": {}
|
|
323
|
+
};
|
|
324
|
+
}
|
|
236
325
|
static get events() {
|
|
237
326
|
return [{
|
|
238
327
|
"method": "b2bChange",
|
|
@@ -291,5 +380,32 @@ export class DropdownComponent {
|
|
|
291
380
|
}
|
|
292
381
|
}];
|
|
293
382
|
}
|
|
383
|
+
static get methods() {
|
|
384
|
+
return {
|
|
385
|
+
"clearSelection": {
|
|
386
|
+
"complexType": {
|
|
387
|
+
"signature": "() => Promise<void>",
|
|
388
|
+
"parameters": [],
|
|
389
|
+
"references": {
|
|
390
|
+
"Promise": {
|
|
391
|
+
"location": "global",
|
|
392
|
+
"id": "global::Promise"
|
|
393
|
+
}
|
|
394
|
+
},
|
|
395
|
+
"return": "Promise<void>"
|
|
396
|
+
},
|
|
397
|
+
"docs": {
|
|
398
|
+
"text": "Method to programmatically clear selection of the dropdown.",
|
|
399
|
+
"tags": []
|
|
400
|
+
}
|
|
401
|
+
}
|
|
402
|
+
};
|
|
403
|
+
}
|
|
294
404
|
static get elementRef() { return "hostElement"; }
|
|
405
|
+
static get watchers() {
|
|
406
|
+
return [{
|
|
407
|
+
"propName": "isOpen",
|
|
408
|
+
"methodName": "watchDropdownState"
|
|
409
|
+
}];
|
|
410
|
+
}
|
|
295
411
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Do not edit directly
|
|
3
|
-
* Generated on
|
|
3
|
+
* Generated on Tue, 29 Apr 2025 06:54:24 GMT
|
|
4
4
|
*/
|
|
5
5
|
:root, :host {
|
|
6
6
|
--b2b-size-200: 5rem; /* 80px */
|
|
@@ -58,6 +58,7 @@
|
|
|
58
58
|
--b2b-color-grey-100: #e6e6e6;
|
|
59
59
|
--b2b-color-grey-50: #eeeeee;
|
|
60
60
|
--b2b-color-grey-25: #f6f6f6;
|
|
61
|
+
--b2b-color-grey-10: #f0f0f0;
|
|
61
62
|
--b2b-color-white-100: #ffffff;
|
|
62
63
|
--b2b-color-black-100: #222222;
|
|
63
64
|
--b2b-color-black-50: #333333;
|
|
@@ -118,12 +119,12 @@
|
|
|
118
119
|
--b2b-color-background-overlay: var(--b2b-color-black-100);
|
|
119
120
|
--b2b-color-background-card: var(--b2b-color-white-100);
|
|
120
121
|
--b2b-color-background-box: var(--b2b-color-white-100);
|
|
121
|
-
--b2b-color-background-page: var(--b2b-color-grey-
|
|
122
|
+
--b2b-color-background-page: var(--b2b-color-grey-10);
|
|
122
123
|
--b2b-color-error-50: var(--b2b-color-red-50);
|
|
123
124
|
}
|
|
124
125
|
/**
|
|
125
126
|
* Do not edit directly
|
|
126
|
-
* Generated on
|
|
127
|
+
* Generated on Tue, 29 Apr 2025 06:54:24 GMT
|
|
127
128
|
*/
|
|
128
129
|
:root [data-theme="dark"] {
|
|
129
130
|
--b2b-size-200: 5rem; /* 80px */
|
|
@@ -177,6 +178,7 @@
|
|
|
177
178
|
--b2b-color-grey-100: #e6e6e6;
|
|
178
179
|
--b2b-color-grey-50: #eeeeee;
|
|
179
180
|
--b2b-color-grey-25: #f6f6f6;
|
|
181
|
+
--b2b-color-grey-10: #f0f0f0;
|
|
180
182
|
--b2b-color-white-100: #ffffff;
|
|
181
183
|
--b2b-color-black-100: #222222;
|
|
182
184
|
--b2b-color-black-50: #333333;
|
|
@@ -16,7 +16,7 @@ export class FlyoutMenuOptionComponent {
|
|
|
16
16
|
}
|
|
17
17
|
}
|
|
18
18
|
render() {
|
|
19
|
-
return (h(Host, { key: '
|
|
19
|
+
return (h(Host, { key: '091032b33e9695886e133e065d4b5c72480373e8', 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 Tue, 29 Apr 2025 06:54:24 GMT
|
|
4
4
|
*/
|
|
5
5
|
:root, :host {
|
|
6
6
|
--b2b-size-200: 5rem; /* 80px */
|
|
@@ -58,6 +58,7 @@
|
|
|
58
58
|
--b2b-color-grey-100: #e6e6e6;
|
|
59
59
|
--b2b-color-grey-50: #eeeeee;
|
|
60
60
|
--b2b-color-grey-25: #f6f6f6;
|
|
61
|
+
--b2b-color-grey-10: #f0f0f0;
|
|
61
62
|
--b2b-color-white-100: #ffffff;
|
|
62
63
|
--b2b-color-black-100: #222222;
|
|
63
64
|
--b2b-color-black-50: #333333;
|
|
@@ -118,12 +119,12 @@
|
|
|
118
119
|
--b2b-color-background-overlay: var(--b2b-color-black-100);
|
|
119
120
|
--b2b-color-background-card: var(--b2b-color-white-100);
|
|
120
121
|
--b2b-color-background-box: var(--b2b-color-white-100);
|
|
121
|
-
--b2b-color-background-page: var(--b2b-color-grey-
|
|
122
|
+
--b2b-color-background-page: var(--b2b-color-grey-10);
|
|
122
123
|
--b2b-color-error-50: var(--b2b-color-red-50);
|
|
123
124
|
}
|
|
124
125
|
/**
|
|
125
126
|
* Do not edit directly
|
|
126
|
-
* Generated on
|
|
127
|
+
* Generated on Tue, 29 Apr 2025 06:54:24 GMT
|
|
127
128
|
*/
|
|
128
129
|
:root [data-theme="dark"] {
|
|
129
130
|
--b2b-size-200: 5rem; /* 80px */
|
|
@@ -177,6 +178,7 @@
|
|
|
177
178
|
--b2b-color-grey-100: #e6e6e6;
|
|
178
179
|
--b2b-color-grey-50: #eeeeee;
|
|
179
180
|
--b2b-color-grey-25: #f6f6f6;
|
|
181
|
+
--b2b-color-grey-10: #f0f0f0;
|
|
180
182
|
--b2b-color-white-100: #ffffff;
|
|
181
183
|
--b2b-color-black-100: #222222;
|
|
182
184
|
--b2b-color-black-50: #333333;
|
|
@@ -144,12 +144,12 @@ export class FlyoutMenuComponent {
|
|
|
144
144
|
options[index].focus();
|
|
145
145
|
}
|
|
146
146
|
render() {
|
|
147
|
-
return (h(Host, { key: '
|
|
147
|
+
return (h(Host, { key: '2c09480c749bcee0f8fd7807deb41b4862c1221e' }, h("div", { key: 'a087ad4e5ff06f7fdc586b415f2cc1196daae515', class: {
|
|
148
148
|
'b2b-flyout-menu': true,
|
|
149
|
-
} }, h("div", { key: '
|
|
149
|
+
} }, h("div", { key: 'e36aff2c778c2277e5d5d90c13d7f7d92ef7e04c', class: "b2b-flyout-menu__trigger" }, h("slot", { key: '1581b6010ef02e5745b726d0f73fd3cc8caf67fe', name: "trigger" })), h("div", { key: '3d2f97df8aad17d0963601f62c4c18b488393d6d', onFocusout: this.blurMenu, class: {
|
|
150
150
|
'b2b-flyout-menu__options__container': true,
|
|
151
151
|
'b2b-flyout-menu__options__container--on': this.opened,
|
|
152
|
-
} }, h("div", { key: '
|
|
152
|
+
} }, h("div", { key: 'db72e397e2dde6129468e657aaf49fdf5a470426', class: "b2b-flyout-menu__arrow" }), h("slot", { key: 'ac802410833c596abdf5056f8a6e09bc12f885a6', name: "option" })))));
|
|
153
153
|
}
|
|
154
154
|
static get is() { return "b2b-flyout-menu"; }
|
|
155
155
|
static get encapsulation() { return "shadow"; }
|
|
@@ -13,7 +13,7 @@ export class B2bGridColumnComponent {
|
|
|
13
13
|
this.textAlign = 'left';
|
|
14
14
|
}
|
|
15
15
|
render() {
|
|
16
|
-
return (h(Host, { key: '
|
|
16
|
+
return (h(Host, { key: '935d5d42d247393cdcf7d247212182bb040998da', style: Object.assign(Object.assign({}, this.calculateGrowDimension(this.span)), { ['text-align']: `${this.textAlign}` }) }, h("slot", { key: 'd3d0ce4a59f9d17b2b5dc9bdae249135c31b771c' })));
|
|
17
17
|
}
|
|
18
18
|
static get is() { return "b2b-grid-col"; }
|
|
19
19
|
static get encapsulation() { return "shadow"; }
|
|
@@ -48,7 +48,7 @@ export class B2bGridColumnComponent {
|
|
|
48
48
|
"optional": false,
|
|
49
49
|
"docs": {
|
|
50
50
|
"tags": [],
|
|
51
|
-
"text": "The alignment of text placed inside
|
|
51
|
+
"text": "The alignment of text placed inside a column. Note that this will apply to all children."
|
|
52
52
|
},
|
|
53
53
|
"attribute": "text-align",
|
|
54
54
|
"reflect": false,
|
|
@@ -4,7 +4,7 @@ export class B2bGridComponent {
|
|
|
4
4
|
this.margin = 24;
|
|
5
5
|
}
|
|
6
6
|
render() {
|
|
7
|
-
return (h(Host, { key: '
|
|
7
|
+
return (h(Host, { key: 'a07f27f3ed6961913c048630d3860ba7a9668cc8', style: { ['padding']: `${this.margin}px` }, class: "b2b-grid" }, h("slot", { key: '6390574c52c986c73c84912586d073383ee035d8' })));
|
|
8
8
|
}
|
|
9
9
|
static get is() { return "b2b-grid"; }
|
|
10
10
|
static get encapsulation() { return "shadow"; }
|
|
@@ -66,7 +66,7 @@ export class B2bGridRowComponent {
|
|
|
66
66
|
});
|
|
67
67
|
}
|
|
68
68
|
render() {
|
|
69
|
-
return (h(Host, { key: '
|
|
69
|
+
return (h(Host, { key: '9c863ba4e90c06366599c6244f2307c842448d6a', style: {
|
|
70
70
|
['justify-content']: `${this.justify}`,
|
|
71
71
|
['gap']: `${this.columnGap}px`,
|
|
72
72
|
['margin']: `${this.rowGap}px 0`,
|
|
@@ -74,7 +74,7 @@ export class B2bGridRowComponent {
|
|
|
74
74
|
['display']: 'flex',
|
|
75
75
|
['flex-wrap']: 'wrap',
|
|
76
76
|
['box-sizing']: 'border-box',
|
|
77
|
-
} }, h("slot", { key: '
|
|
77
|
+
} }, h("slot", { key: 'c71d99c0c3f9073620237493528a4216033ce02e' })));
|
|
78
78
|
}
|
|
79
79
|
static get is() { return "b2b-grid-row"; }
|
|
80
80
|
static get encapsulation() { return "shadow"; }
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Do not edit directly
|
|
3
|
-
* Generated on
|
|
3
|
+
* Generated on Tue, 29 Apr 2025 06:54:24 GMT
|
|
4
4
|
*/
|
|
5
5
|
:root, :host {
|
|
6
6
|
--b2b-size-200: 5rem; /* 80px */
|
|
@@ -58,6 +58,7 @@
|
|
|
58
58
|
--b2b-color-grey-100: #e6e6e6;
|
|
59
59
|
--b2b-color-grey-50: #eeeeee;
|
|
60
60
|
--b2b-color-grey-25: #f6f6f6;
|
|
61
|
+
--b2b-color-grey-10: #f0f0f0;
|
|
61
62
|
--b2b-color-white-100: #ffffff;
|
|
62
63
|
--b2b-color-black-100: #222222;
|
|
63
64
|
--b2b-color-black-50: #333333;
|
|
@@ -118,12 +119,12 @@
|
|
|
118
119
|
--b2b-color-background-overlay: var(--b2b-color-black-100);
|
|
119
120
|
--b2b-color-background-card: var(--b2b-color-white-100);
|
|
120
121
|
--b2b-color-background-box: var(--b2b-color-white-100);
|
|
121
|
-
--b2b-color-background-page: var(--b2b-color-grey-
|
|
122
|
+
--b2b-color-background-page: var(--b2b-color-grey-10);
|
|
122
123
|
--b2b-color-error-50: var(--b2b-color-red-50);
|
|
123
124
|
}
|
|
124
125
|
/**
|
|
125
126
|
* Do not edit directly
|
|
126
|
-
* Generated on
|
|
127
|
+
* Generated on Tue, 29 Apr 2025 06:54:24 GMT
|
|
127
128
|
*/
|
|
128
129
|
:root [data-theme="dark"] {
|
|
129
130
|
--b2b-size-200: 5rem; /* 80px */
|
|
@@ -177,6 +178,7 @@
|
|
|
177
178
|
--b2b-color-grey-100: #e6e6e6;
|
|
178
179
|
--b2b-color-grey-50: #eeeeee;
|
|
179
180
|
--b2b-color-grey-25: #f6f6f6;
|
|
181
|
+
--b2b-color-grey-10: #f0f0f0;
|
|
180
182
|
--b2b-color-white-100: #ffffff;
|
|
181
183
|
--b2b-color-black-100: #222222;
|
|
182
184
|
--b2b-color-black-50: #333333;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Do not edit directly
|
|
3
|
-
* Generated on
|
|
3
|
+
* Generated on Tue, 29 Apr 2025 06:54:24 GMT
|
|
4
4
|
*/
|
|
5
5
|
:root, :host {
|
|
6
6
|
--b2b-size-200: 5rem; /* 80px */
|
|
@@ -58,6 +58,7 @@
|
|
|
58
58
|
--b2b-color-grey-100: #e6e6e6;
|
|
59
59
|
--b2b-color-grey-50: #eeeeee;
|
|
60
60
|
--b2b-color-grey-25: #f6f6f6;
|
|
61
|
+
--b2b-color-grey-10: #f0f0f0;
|
|
61
62
|
--b2b-color-white-100: #ffffff;
|
|
62
63
|
--b2b-color-black-100: #222222;
|
|
63
64
|
--b2b-color-black-50: #333333;
|
|
@@ -118,12 +119,12 @@
|
|
|
118
119
|
--b2b-color-background-overlay: var(--b2b-color-black-100);
|
|
119
120
|
--b2b-color-background-card: var(--b2b-color-white-100);
|
|
120
121
|
--b2b-color-background-box: var(--b2b-color-white-100);
|
|
121
|
-
--b2b-color-background-page: var(--b2b-color-grey-
|
|
122
|
+
--b2b-color-background-page: var(--b2b-color-grey-10);
|
|
122
123
|
--b2b-color-error-50: var(--b2b-color-red-50);
|
|
123
124
|
}
|
|
124
125
|
/**
|
|
125
126
|
* Do not edit directly
|
|
126
|
-
* Generated on
|
|
127
|
+
* Generated on Tue, 29 Apr 2025 06:54:24 GMT
|
|
127
128
|
*/
|
|
128
129
|
:root [data-theme="dark"] {
|
|
129
130
|
--b2b-size-200: 5rem; /* 80px */
|
|
@@ -177,6 +178,7 @@
|
|
|
177
178
|
--b2b-color-grey-100: #e6e6e6;
|
|
178
179
|
--b2b-color-grey-50: #eeeeee;
|
|
179
180
|
--b2b-color-grey-25: #f6f6f6;
|
|
181
|
+
--b2b-color-grey-10: #f0f0f0;
|
|
180
182
|
--b2b-color-white-100: #ffffff;
|
|
181
183
|
--b2b-color-black-100: #222222;
|
|
182
184
|
--b2b-color-black-50: #333333;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Do not edit directly
|
|
3
|
-
* Generated on
|
|
3
|
+
* Generated on Tue, 29 Apr 2025 06:54:24 GMT
|
|
4
4
|
*/
|
|
5
5
|
:root, :host {
|
|
6
6
|
--b2b-size-200: 5rem; /* 80px */
|
|
@@ -58,6 +58,7 @@
|
|
|
58
58
|
--b2b-color-grey-100: #e6e6e6;
|
|
59
59
|
--b2b-color-grey-50: #eeeeee;
|
|
60
60
|
--b2b-color-grey-25: #f6f6f6;
|
|
61
|
+
--b2b-color-grey-10: #f0f0f0;
|
|
61
62
|
--b2b-color-white-100: #ffffff;
|
|
62
63
|
--b2b-color-black-100: #222222;
|
|
63
64
|
--b2b-color-black-50: #333333;
|
|
@@ -118,12 +119,12 @@
|
|
|
118
119
|
--b2b-color-background-overlay: var(--b2b-color-black-100);
|
|
119
120
|
--b2b-color-background-card: var(--b2b-color-white-100);
|
|
120
121
|
--b2b-color-background-box: var(--b2b-color-white-100);
|
|
121
|
-
--b2b-color-background-page: var(--b2b-color-grey-
|
|
122
|
+
--b2b-color-background-page: var(--b2b-color-grey-10);
|
|
122
123
|
--b2b-color-error-50: var(--b2b-color-red-50);
|
|
123
124
|
}
|
|
124
125
|
/**
|
|
125
126
|
* Do not edit directly
|
|
126
|
-
* Generated on
|
|
127
|
+
* Generated on Tue, 29 Apr 2025 06:54:24 GMT
|
|
127
128
|
*/
|
|
128
129
|
:root [data-theme="dark"] {
|
|
129
130
|
--b2b-size-200: 5rem; /* 80px */
|
|
@@ -177,6 +178,7 @@
|
|
|
177
178
|
--b2b-color-grey-100: #e6e6e6;
|
|
178
179
|
--b2b-color-grey-50: #eeeeee;
|
|
179
180
|
--b2b-color-grey-25: #f6f6f6;
|
|
181
|
+
--b2b-color-grey-10: #f0f0f0;
|
|
180
182
|
--b2b-color-white-100: #ffffff;
|
|
181
183
|
--b2b-color-black-100: #222222;
|
|
182
184
|
--b2b-color-black-50: #333333;
|