@otto-de/b2b-core-components 1.9.0-beta.1 → 1.9.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/b2b-core-components/b2b-core-components.css +1 -1
- package/dist/b2b-core-components/b2b-core-components.esm.js +1 -1
- package/dist/b2b-core-components/icons/b2b_icon-ellipsis.svg +2 -2
- package/dist/b2b-core-components/icons/b2b_icon-trend-left.svg +12 -0
- package/dist/b2b-core-components/icons/b2b_icon-trend-right.svg +12 -0
- package/dist/b2b-core-components/icons/b2b_icon-warning-hint.svg +4 -4
- package/dist/b2b-core-components/p-13fa3a4b.entry.js +1 -0
- package/dist/b2b-core-components/p-14877996.entry.js +1 -0
- package/dist/b2b-core-components/p-14ddd82d.entry.js +1 -0
- package/dist/b2b-core-components/p-1c910821.entry.js +1 -0
- package/dist/b2b-core-components/p-234c9f55.entry.js +1 -0
- package/dist/b2b-core-components/p-248aecd5.entry.js +1 -0
- package/dist/b2b-core-components/p-2ba2b197.entry.js +1 -0
- package/dist/b2b-core-components/p-2da63e79.entry.js +1 -0
- package/dist/b2b-core-components/{p-a4c859d6.entry.js → p-2f9dfb71.entry.js} +1 -1
- package/dist/b2b-core-components/p-32baa768.entry.js +1 -0
- package/dist/b2b-core-components/p-3770da05.entry.js +1 -0
- package/dist/b2b-core-components/{p-d92add70.entry.js → p-3819c303.entry.js} +1 -1
- package/dist/b2b-core-components/p-4442a592.entry.js +1 -0
- package/dist/b2b-core-components/p-4667ced4.entry.js +1 -0
- package/dist/b2b-core-components/p-4835ee48.entry.js +1 -0
- package/dist/b2b-core-components/{p-6463d394.entry.js → p-5cce2644.entry.js} +1 -1
- package/dist/b2b-core-components/p-5e0def0d.entry.js +1 -0
- package/dist/b2b-core-components/p-6855efb8.entry.js +1 -0
- package/dist/b2b-core-components/p-699c3c91.js +1 -0
- package/dist/b2b-core-components/{p-75cff1be.entry.js → p-6a6d2b46.entry.js} +1 -1
- package/dist/b2b-core-components/p-6e7aff80.entry.js +1 -0
- package/dist/b2b-core-components/{p-024220fb.entry.js → p-6f18a232.entry.js} +1 -1
- package/dist/b2b-core-components/p-6f991dbb.entry.js +1 -0
- package/dist/b2b-core-components/p-753858f9.entry.js +1 -0
- package/dist/b2b-core-components/p-7a1a5afc.entry.js +1 -0
- package/dist/b2b-core-components/p-7cc4b76a.entry.js +1 -0
- package/dist/b2b-core-components/p-7d0a8bb5.entry.js +1 -0
- package/dist/b2b-core-components/p-808eb548.entry.js +1 -0
- package/dist/b2b-core-components/{p-5c18c291.js → p-844e306b.js} +2 -2
- package/dist/b2b-core-components/{p-af7e9d0b.entry.js → p-8e3fb1f8.entry.js} +1 -1
- package/dist/b2b-core-components/p-98d0d2ff.js +1 -0
- package/dist/b2b-core-components/p-a1313d78.entry.js +1 -0
- package/dist/b2b-core-components/p-acd597e0.entry.js +1 -0
- package/dist/b2b-core-components/p-b27d0a36.entry.js +1 -0
- package/dist/b2b-core-components/p-b315985b.entry.js +1 -0
- package/dist/b2b-core-components/p-b36f0e3b.entry.js +1 -0
- package/dist/b2b-core-components/p-b74ef511.entry.js +1 -0
- package/dist/b2b-core-components/p-b82636f4.entry.js +1 -0
- package/dist/b2b-core-components/p-bf601862.entry.js +1 -0
- package/dist/b2b-core-components/{p-a635b768.entry.js → p-bf7a6f93.entry.js} +1 -1
- package/dist/b2b-core-components/p-c812257d.entry.js +1 -0
- package/dist/b2b-core-components/p-d5f6f1ec.entry.js +1 -0
- package/dist/b2b-core-components/p-dd0771f1.entry.js +1 -0
- package/dist/b2b-core-components/p-dfce95eb.entry.js +1 -0
- package/dist/b2b-core-components/{p-2b0b7edf.entry.js → p-dff862c4.entry.js} +1 -1
- package/dist/b2b-core-components/p-e10d8020.entry.js +1 -0
- package/dist/b2b-core-components/p-e3b360a8.entry.js +1 -0
- package/dist/b2b-core-components/p-f2da9141.entry.js +1 -0
- package/dist/b2b-core-components/p-fcd25ead.entry.js +1 -0
- package/dist/cjs/b2b-alert.cjs.entry.js +2 -2
- package/dist/cjs/b2b-anchor.cjs.entry.js +4 -4
- package/dist/cjs/b2b-breadcrumb-item.cjs.entry.js +2 -2
- package/dist/cjs/b2b-breadcrumb.cjs.entry.js +2 -2
- package/dist/cjs/b2b-button_2.cjs.entry.js +5 -3
- 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 +93 -0
- package/dist/cjs/b2b-chip-component_2.cjs.entry.js +73 -0
- package/dist/cjs/b2b-core-components.cjs.js +2 -2
- package/dist/cjs/b2b-dropdown.cjs.entry.js +2 -2
- package/dist/cjs/b2b-grid-col.cjs.entry.js +1 -1
- package/dist/cjs/b2b-grid-row.cjs.entry.js +1 -1
- package/dist/cjs/b2b-grid.cjs.entry.js +1 -1
- package/dist/cjs/b2b-headline.cjs.entry.js +2 -2
- package/dist/cjs/b2b-icon.cjs.entry.js +5 -3
- package/dist/cjs/b2b-input-group_2.cjs.entry.js +4 -4
- package/dist/cjs/b2b-input-label.cjs.entry.js +1 -1
- package/dist/cjs/b2b-input_2.cjs.entry.js +3 -3
- 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 +166 -0
- package/dist/cjs/b2b-pagination.cjs.entry.js +2 -2
- package/dist/cjs/b2b-paragraph.cjs.entry.js +2 -2
- package/dist/cjs/b2b-progress-bar.cjs.entry.js +42 -0
- 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 +2 -2
- package/dist/cjs/b2b-rounded-icon.cjs.entry.js +2 -2
- 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-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 +2 -2
- package/dist/cjs/b2b-table-cell_2.cjs.entry.js +157 -0
- package/dist/cjs/b2b-table-row.cjs.entry.js +23 -24
- package/dist/cjs/b2b-table-rowgroup.cjs.entry.js +44 -41
- package/dist/cjs/b2b-table.cjs.entry.js +32 -11
- package/dist/cjs/b2b-textarea.cjs.entry.js +2 -2
- package/dist/cjs/b2b-toggle-button.cjs.entry.js +2 -2
- package/dist/cjs/b2b-toggle-chip.cjs.entry.js +59 -0
- package/dist/cjs/b2b-toggle-group.cjs.entry.js +2 -2
- package/dist/cjs/b2b-tooltip.cjs.entry.js +2 -2
- package/dist/cjs/b2b-wizard-icon.cjs.entry.js +2 -2
- package/dist/cjs/b2b-wizard-step.cjs.entry.js +2 -2
- package/dist/cjs/b2b-wizard.cjs.entry.js +2 -2
- package/dist/cjs/{index-ceb9958a.js → index-8ed011c3.js} +25 -6
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/cjs/{table.types-679aefd5.js → table.types-d3ab0872.js} +1 -0
- package/dist/cjs/utils-3b16cd5d.js +40 -0
- package/dist/collection/collection-manifest.json +4 -0
- package/dist/collection/components/alert/alert.css +6 -4
- package/dist/collection/components/anchor/anchor.css +18 -8
- package/dist/collection/components/anchor/anchor.js +3 -3
- package/dist/collection/components/breadcrumb/breadcrumb.css +6 -4
- package/dist/collection/components/button/button.css +32 -4
- package/dist/collection/components/button/button.js +20 -0
- package/dist/collection/components/button/button.stories.js +18 -0
- package/dist/collection/components/card/card.css +6 -4
- package/dist/collection/components/checkbox/checkbox.css +6 -4
- package/dist/collection/components/checkbox-group/checkbox-group.css +6 -4
- package/dist/collection/components/chip/chip.css +10 -6
- package/dist/collection/components/chip/chip.js +8 -1
- package/dist/collection/components/chip/chip.stories.js +0 -1
- package/dist/collection/components/dropdown/dropdown.css +6 -4
- package/dist/collection/components/headline/headline.css +6 -4
- package/dist/collection/components/icon/icon.css +6 -4
- package/dist/collection/components/icon/icon.js +2 -2
- package/dist/collection/components/icon/icons/b2b_icon-ellipsis.svg +2 -2
- package/dist/collection/components/icon/icons/b2b_icon-trend-left.svg +12 -0
- package/dist/collection/components/icon/icons/b2b_icon-trend-right.svg +12 -0
- package/dist/collection/components/icon/icons/b2b_icon-warning-hint.svg +4 -4
- package/dist/collection/components/icon/types.js +2 -0
- package/dist/collection/components/input/input.css +6 -4
- package/dist/collection/components/input-group/input-group.css +6 -4
- package/dist/collection/components/input-list/input-list.css +6 -4
- package/dist/collection/components/input-list/input-list.e2e.js +15 -1
- package/dist/collection/components/input-list/input-list.js +1 -1
- package/dist/collection/components/input-list/input-list.stories.js +31 -3
- package/dist/collection/components/label/label.css +6 -4
- package/dist/collection/components/modal/modal.css +6 -4
- package/dist/collection/components/multiselect-dropdown/multiselect-dropdown.css +293 -0
- package/dist/collection/components/multiselect-dropdown/multiselect-dropdown.e2e.js +101 -0
- package/dist/collection/components/multiselect-dropdown/multiselect-dropdown.js +304 -0
- package/dist/collection/components/multiselect-dropdown/multiselect-dropdown.stories.js +46 -0
- package/dist/collection/components/multiselect-dropdown/multiselect-option/multiselect-option.css +10 -0
- package/dist/collection/components/multiselect-dropdown/multiselect-option/multiselect-option.js +115 -0
- package/dist/collection/components/pagination/pagination.css +6 -4
- package/dist/collection/components/paragraph/paragraph.css +6 -4
- package/dist/collection/components/progress-bar/progress-bar.css +266 -0
- package/dist/collection/components/progress-bar/progress-bar.e2e.js +43 -0
- package/dist/collection/components/progress-bar/progress-bar.js +117 -0
- package/dist/collection/components/progress-bar/progress-bar.stories.js +54 -0
- package/dist/collection/components/radio/radio.css +6 -4
- package/dist/collection/components/radio-group/radio-group.css +6 -4
- package/dist/collection/components/required-separator/required-separator.css +6 -4
- package/dist/collection/components/rounded-icon/rounded-icon.css +6 -4
- package/dist/collection/components/scrollable-container/scrollable-container.css +6 -4
- package/dist/collection/components/separator/separator.css +6 -4
- package/dist/collection/components/spinner/spinner.css +6 -4
- package/dist/collection/components/tab/tab.css +6 -4
- package/dist/collection/components/tab-panel/tab-panel.css +6 -4
- package/dist/collection/components/table/stories.data.js +0 -1
- package/dist/collection/components/table/table-cell/table-cell.css +14 -7
- package/dist/collection/components/table/table-cell/table-cell.js +52 -4
- package/dist/collection/components/table/table-header/table-header.css +12 -18
- package/dist/collection/components/table/table-header/table-header.js +94 -15
- package/dist/collection/components/table/table-row/table-row.css +17 -9
- package/dist/collection/components/table/table-row/table-row.js +47 -22
- package/dist/collection/components/table/table-rowgroup/table-rowgroup.css +15 -4
- package/dist/collection/components/table/table-rowgroup/table-rowgroup.js +75 -11
- package/dist/collection/components/table/table.css +12 -7
- package/dist/collection/components/table/table.e2e.js +31 -5
- package/dist/collection/components/table/table.js +31 -10
- package/dist/collection/components/table/table.stories.js +52 -17
- package/dist/collection/components/table/utils.js +14 -0
- package/dist/collection/components/textarea/textarea.css +6 -4
- package/dist/collection/components/toggle-button/toggle-button.css +6 -4
- package/dist/collection/components/toggle-chip/toggle-chip.css +273 -0
- package/dist/collection/components/toggle-chip/toggle-chip.e2e.js +47 -0
- package/dist/collection/components/toggle-chip/toggle-chip.js +192 -0
- package/dist/collection/components/toggle-group/toggle-group.css +6 -4
- package/dist/collection/components/tooltip/tooltip.css +6 -4
- package/dist/collection/components/wizard/wizard.css +6 -4
- package/dist/collection/components/wizard-icon/wizard-icon.css +6 -4
- package/dist/collection/utils/types/table.types.js +1 -0
- package/dist/components/b2b-alert.js +1 -1
- package/dist/components/b2b-anchor.js +4 -4
- package/dist/components/b2b-breadcrumb-item.js +1 -1
- package/dist/components/b2b-breadcrumb.js +1 -1
- package/dist/components/b2b-card.js +1 -1
- package/dist/components/b2b-checkbox-group.js +1 -1
- package/dist/components/b2b-chip-component.js +1 -54
- package/dist/components/b2b-dropdown.js +1 -1
- package/dist/components/b2b-label.js +1 -1
- package/dist/components/b2b-modal.js +1 -1
- package/dist/components/b2b-multiselect-dropdown.d.ts +11 -0
- package/dist/components/b2b-multiselect-dropdown.js +225 -0
- package/dist/components/b2b-multiselect-option.d.ts +11 -0
- package/dist/components/b2b-multiselect-option.js +6 -0
- package/dist/components/b2b-pagination.js +1 -1
- package/dist/components/b2b-paragraph.js +1 -1
- package/dist/components/b2b-progress-bar.d.ts +11 -0
- package/dist/components/b2b-progress-bar.js +61 -0
- package/dist/components/b2b-radio-button.js +1 -1
- package/dist/components/b2b-radio-group.js +1 -1
- package/dist/components/b2b-required-separator.js +1 -1
- package/dist/components/b2b-scrollable-container.js +1 -1
- package/dist/components/b2b-tab-panel.js +1 -1
- package/dist/components/b2b-tab.js +1 -1
- package/dist/components/b2b-table-row.js +23 -23
- package/dist/components/b2b-table-rowgroup.js +34 -31
- package/dist/components/b2b-table.js +30 -10
- package/dist/components/b2b-textarea.js +1 -1
- package/dist/components/b2b-toggle-button.js +1 -1
- package/dist/components/b2b-toggle-chip.d.ts +11 -0
- package/dist/components/b2b-toggle-chip.js +80 -0
- package/dist/components/b2b-toggle-group.js +1 -1
- package/dist/components/b2b-tooltip.js +1 -1
- package/dist/components/b2b-wizard-step.js +1 -1
- package/dist/components/b2b-wizard.js +1 -1
- package/dist/components/button.js +4 -1
- package/dist/components/checkbox.js +1 -1
- package/dist/components/chip.js +63 -0
- package/dist/components/headline.js +1 -1
- package/dist/components/icon.js +4 -2
- package/dist/components/input-group.js +1 -1
- package/dist/components/input-list-option.js +1 -1
- package/dist/components/input-list.js +2 -2
- package/dist/components/input.js +1 -1
- package/dist/components/multiselect-option.js +58 -0
- package/dist/components/rounded-icon.js +1 -1
- package/dist/components/separator.js +1 -1
- package/dist/components/spinner.js +1 -1
- package/dist/components/table-cell.js +12 -3
- package/dist/components/table-header.js +31 -14
- package/dist/components/utils.js +70 -0
- package/dist/components/wizard-icon.js +1 -1
- package/dist/custom-elements.json +181 -14
- package/dist/esm/b2b-alert.entry.js +2 -2
- package/dist/esm/b2b-anchor.entry.js +4 -4
- package/dist/esm/b2b-breadcrumb-item.entry.js +2 -2
- package/dist/esm/b2b-breadcrumb.entry.js +2 -2
- package/dist/esm/b2b-button_2.entry.js +5 -3
- 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 +89 -0
- package/dist/esm/b2b-chip-component_2.entry.js +68 -0
- package/dist/esm/b2b-core-components.js +3 -3
- package/dist/esm/b2b-dropdown.entry.js +2 -2
- package/dist/esm/b2b-grid-col.entry.js +1 -1
- package/dist/esm/b2b-grid-row.entry.js +1 -1
- package/dist/esm/b2b-grid.entry.js +1 -1
- package/dist/esm/b2b-headline.entry.js +2 -2
- package/dist/esm/b2b-icon.entry.js +5 -3
- package/dist/esm/b2b-input-group_2.entry.js +4 -4
- package/dist/esm/b2b-input-label.entry.js +1 -1
- package/dist/esm/b2b-input_2.entry.js +3 -3
- 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 +162 -0
- package/dist/esm/b2b-pagination.entry.js +2 -2
- package/dist/esm/b2b-paragraph.entry.js +2 -2
- package/dist/esm/b2b-progress-bar.entry.js +38 -0
- 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 +2 -2
- package/dist/esm/b2b-rounded-icon.entry.js +2 -2
- 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-tab-group.entry.js +1 -1
- package/dist/esm/b2b-tab-panel.entry.js +2 -2
- package/dist/esm/b2b-tab.entry.js +2 -2
- package/dist/esm/b2b-table-cell_2.entry.js +152 -0
- package/dist/esm/b2b-table-row.entry.js +23 -24
- package/dist/esm/b2b-table-rowgroup.entry.js +33 -30
- package/dist/esm/b2b-table.entry.js +32 -11
- package/dist/esm/b2b-textarea.entry.js +2 -2
- package/dist/esm/b2b-toggle-button.entry.js +2 -2
- package/dist/esm/b2b-toggle-chip.entry.js +55 -0
- package/dist/esm/b2b-toggle-group.entry.js +2 -2
- package/dist/esm/b2b-tooltip.entry.js +2 -2
- package/dist/esm/b2b-wizard-icon.entry.js +2 -2
- package/dist/esm/b2b-wizard-step.entry.js +2 -2
- package/dist/esm/b2b-wizard.entry.js +2 -2
- package/dist/esm/{index-f0a4762b.js → index-1916a410.js} +25 -6
- package/dist/esm/loader.js +3 -3
- package/dist/{components/table.types.js → esm/table.types-aedae1a4.js} +1 -0
- package/dist/esm/utils-5221c150.js +34 -0
- package/dist/types/components/button/button.d.ts +2 -0
- package/dist/types/components/button/button.stories.d.ts +1 -0
- package/dist/types/components/chip/chip.d.ts +1 -0
- package/dist/types/components/icon/types.d.ts +1 -1
- package/dist/types/components/input-list/input-list.stories.d.ts +2 -1
- package/dist/types/components/multiselect-dropdown/multiselect-dropdown.d.ts +43 -0
- package/dist/types/components/multiselect-dropdown/multiselect-dropdown.stories.d.ts +5 -0
- package/dist/types/components/multiselect-dropdown/multiselect-option/multiselect-option.d.ts +14 -0
- package/dist/types/components/progress-bar/progress-bar.d.ts +13 -0
- package/dist/types/components/progress-bar/progress-bar.stories.d.ts +9 -0
- package/dist/types/components/table/table-cell/table-cell.d.ts +6 -2
- package/dist/types/components/table/table-header/table-header.d.ts +14 -3
- package/dist/types/components/table/table-row/table-row.d.ts +5 -2
- package/dist/types/components/table/table-rowgroup/table-rowgroup.d.ts +5 -2
- package/dist/types/components/table/table.d.ts +6 -0
- package/dist/types/components/table/table.stories.d.ts +2 -1
- package/dist/types/components/table/utils.d.ts +2 -0
- package/dist/types/components/toggle-chip/toggle-chip.d.ts +21 -0
- package/dist/types/components.d.ts +306 -15
- package/dist/types/utils/interfaces/form.interface.d.ts +5 -0
- package/dist/types/utils/interfaces/interaction.interface.d.ts +4 -0
- package/dist/types/utils/types/table.types.d.ts +1 -0
- package/dist/web-types.json +307 -14
- package/package.json +2 -2
- package/dist/b2b-core-components/p-0034d167.entry.js +0 -1
- package/dist/b2b-core-components/p-0354d337.entry.js +0 -1
- package/dist/b2b-core-components/p-068eb8ba.entry.js +0 -1
- package/dist/b2b-core-components/p-0f60ff5a.entry.js +0 -1
- package/dist/b2b-core-components/p-220d5f79.entry.js +0 -1
- package/dist/b2b-core-components/p-299d5c71.entry.js +0 -1
- package/dist/b2b-core-components/p-2ad195d3.entry.js +0 -1
- package/dist/b2b-core-components/p-340f01f8.entry.js +0 -1
- package/dist/b2b-core-components/p-381bd00a.entry.js +0 -1
- package/dist/b2b-core-components/p-39f965f2.entry.js +0 -1
- package/dist/b2b-core-components/p-46f1d12d.entry.js +0 -1
- package/dist/b2b-core-components/p-50633227.entry.js +0 -1
- package/dist/b2b-core-components/p-57a842ba.entry.js +0 -1
- package/dist/b2b-core-components/p-66048f63.entry.js +0 -1
- package/dist/b2b-core-components/p-6814fed4.entry.js +0 -1
- package/dist/b2b-core-components/p-71bcb908.entry.js +0 -1
- package/dist/b2b-core-components/p-7a1e9ef2.entry.js +0 -1
- package/dist/b2b-core-components/p-7d05e787.entry.js +0 -1
- package/dist/b2b-core-components/p-89dc58cc.entry.js +0 -1
- package/dist/b2b-core-components/p-8fb5f715.entry.js +0 -1
- package/dist/b2b-core-components/p-a4ba259c.entry.js +0 -1
- package/dist/b2b-core-components/p-a7d829d8.entry.js +0 -1
- package/dist/b2b-core-components/p-a8043eb7.entry.js +0 -1
- package/dist/b2b-core-components/p-b1064afb.js +0 -1
- package/dist/b2b-core-components/p-c59bffbe.entry.js +0 -1
- package/dist/b2b-core-components/p-c93fc43f.entry.js +0 -1
- package/dist/b2b-core-components/p-cfd92648.entry.js +0 -1
- package/dist/b2b-core-components/p-da2823f1.entry.js +0 -1
- package/dist/b2b-core-components/p-e8d1236b.entry.js +0 -1
- package/dist/b2b-core-components/p-e9f3a7af.entry.js +0 -1
- package/dist/b2b-core-components/p-edbe9fc0.entry.js +0 -1
- package/dist/b2b-core-components/p-f1625da0.entry.js +0 -1
- package/dist/b2b-core-components/p-f6f7c598.entry.js +0 -1
- package/dist/b2b-core-components/p-f72b7607.entry.js +0 -1
- package/dist/b2b-core-components/p-ff36af9f.entry.js +0 -1
- package/dist/cjs/b2b-checkbox_3.cjs.entry.js +0 -222
- package/dist/cjs/b2b-chip-component.cjs.entry.js +0 -40
- package/dist/esm/b2b-checkbox_3.entry.js +0 -216
- package/dist/esm/b2b-chip-component.entry.js +0 -36
- package/dist/esm/table.types-c4d9046e.js +0 -36
|
@@ -5,16 +5,16 @@
|
|
|
5
5
|
* It contains typing information for all components that exist in this project.
|
|
6
6
|
*/
|
|
7
7
|
import { HTMLStencilElement, JSXBase } from "./stencil-public-runtime";
|
|
8
|
-
import { BreadCrumbChangeEventDetail, ColumnSortChangeEventDetail, PageChangeEventDetail, TabChangeEventDetail } from "./utils/interfaces/interaction.interface";
|
|
9
|
-
import { CheckboxEventDetail, ChipComponentEventDetail, InputChangeEvent, InputClear, OptionSelectedEventDetail, RadioEventDetail, SearchClickEventDetail, ToggleButtonEventDetail } from "./utils/interfaces/form.interface";
|
|
8
|
+
import { BreadCrumbChangeEventDetail, ColumnSortChangeEventDetail, PageChangeEventDetail, TabChangeEventDetail, ToggleChipEventDetail } from "./utils/interfaces/interaction.interface";
|
|
9
|
+
import { CheckboxEventDetail, ChipComponentEventDetail, InputChangeEvent, InputClear, MultiSelectOptionEventDetail, OptionSelectedEventDetail, RadioEventDetail, SearchClickEventDetail, ToggleButtonEventDetail } from "./utils/interfaces/form.interface";
|
|
10
10
|
import { IconName } from "./components/icon/types";
|
|
11
11
|
import { BeforeCloseEventDetail } from "./utils/interfaces/status.interface";
|
|
12
12
|
import { ContentAlignment, TableAccordionRowTypes, TableColourOptions, TableRowgroupTypes, TableSizes, TableSortDirections } from "./utils/types/table.types";
|
|
13
13
|
import { CheckboxEventDetail as CheckboxEventDetail1 } from "./components";
|
|
14
14
|
import { TableAccordionSelectedEventDetail } from "./utils/interfaces/content.interface";
|
|
15
15
|
import { WizardStatus, WizardSteps } from "./utils/types/wizard.types";
|
|
16
|
-
export { BreadCrumbChangeEventDetail, ColumnSortChangeEventDetail, PageChangeEventDetail, TabChangeEventDetail } from "./utils/interfaces/interaction.interface";
|
|
17
|
-
export { CheckboxEventDetail, ChipComponentEventDetail, InputChangeEvent, InputClear, OptionSelectedEventDetail, RadioEventDetail, SearchClickEventDetail, ToggleButtonEventDetail } from "./utils/interfaces/form.interface";
|
|
16
|
+
export { BreadCrumbChangeEventDetail, ColumnSortChangeEventDetail, PageChangeEventDetail, TabChangeEventDetail, ToggleChipEventDetail } from "./utils/interfaces/interaction.interface";
|
|
17
|
+
export { CheckboxEventDetail, ChipComponentEventDetail, InputChangeEvent, InputClear, MultiSelectOptionEventDetail, OptionSelectedEventDetail, RadioEventDetail, SearchClickEventDetail, ToggleButtonEventDetail } from "./utils/interfaces/form.interface";
|
|
18
18
|
export { IconName } from "./components/icon/types";
|
|
19
19
|
export { BeforeCloseEventDetail } from "./utils/interfaces/status.interface";
|
|
20
20
|
export { ContentAlignment, TableAccordionRowTypes, TableColourOptions, TableRowgroupTypes, TableSizes, TableSortDirections } from "./utils/types/table.types";
|
|
@@ -120,6 +120,10 @@ export namespace Components {
|
|
|
120
120
|
* The button variant. If not specified, the button will be the secondary variant.
|
|
121
121
|
*/
|
|
122
122
|
"variant": 'primary' | 'secondary';
|
|
123
|
+
/**
|
|
124
|
+
* The width of the button. Per default, it will fit the content
|
|
125
|
+
*/
|
|
126
|
+
"width": 'fit-content' | 'fit-container' | 'custom';
|
|
123
127
|
}
|
|
124
128
|
interface B2bCard {
|
|
125
129
|
/**
|
|
@@ -504,6 +508,43 @@ export namespace Components {
|
|
|
504
508
|
*/
|
|
505
509
|
"variant": 'default' | 'large';
|
|
506
510
|
}
|
|
511
|
+
interface B2bMultiselectDropdown {
|
|
512
|
+
/**
|
|
513
|
+
* The input label.
|
|
514
|
+
*/
|
|
515
|
+
"label": string;
|
|
516
|
+
/**
|
|
517
|
+
* The maximum amount of chips visible. Adjust this depending on available size of the dropdown.
|
|
518
|
+
*/
|
|
519
|
+
"maxOptionsVisible": number;
|
|
520
|
+
/**
|
|
521
|
+
* The list of options passed into the search dropdown. Can be static or dynamic, i.e. updated when the b2b-search or b2b-input emitters fire.
|
|
522
|
+
*/
|
|
523
|
+
"optionsList": string[];
|
|
524
|
+
/**
|
|
525
|
+
* The placeholder shown in the input field.
|
|
526
|
+
*/
|
|
527
|
+
"placeholder": string;
|
|
528
|
+
/**
|
|
529
|
+
* The placeholder shown in the search bar.
|
|
530
|
+
*/
|
|
531
|
+
"searchPlaceholder": string;
|
|
532
|
+
/**
|
|
533
|
+
* The string displayed as the select all label.
|
|
534
|
+
*/
|
|
535
|
+
"selectAllLabel": string;
|
|
536
|
+
}
|
|
537
|
+
interface B2bMultiselectOption {
|
|
538
|
+
"indeterminate"?: boolean;
|
|
539
|
+
/**
|
|
540
|
+
* The label of the option.
|
|
541
|
+
*/
|
|
542
|
+
"option": string;
|
|
543
|
+
/**
|
|
544
|
+
* Whether the option is currently selected.
|
|
545
|
+
*/
|
|
546
|
+
"selected": boolean;
|
|
547
|
+
}
|
|
507
548
|
interface B2bPagination {
|
|
508
549
|
/**
|
|
509
550
|
* Use this property to set programmatically the active page
|
|
@@ -540,6 +581,24 @@ export namespace Components {
|
|
|
540
581
|
*/
|
|
541
582
|
"weight": 'bold' | 'normal';
|
|
542
583
|
}
|
|
584
|
+
interface B2bProgressBar {
|
|
585
|
+
/**
|
|
586
|
+
* The label of the progress bar.
|
|
587
|
+
*/
|
|
588
|
+
"label"?: string;
|
|
589
|
+
/**
|
|
590
|
+
* Whether the label should be displayed on the right or left of the progress bar.
|
|
591
|
+
*/
|
|
592
|
+
"labelPosition"?: 'left' | 'right';
|
|
593
|
+
/**
|
|
594
|
+
* Whether the label should be displayed below or on the side of the progress bar.
|
|
595
|
+
*/
|
|
596
|
+
"labelType"?: 'below' | 'side';
|
|
597
|
+
/**
|
|
598
|
+
* The percentage of progress from 0 to 100.
|
|
599
|
+
*/
|
|
600
|
+
"progress": number;
|
|
601
|
+
}
|
|
543
602
|
interface B2bRadioButton {
|
|
544
603
|
/**
|
|
545
604
|
* Whether or not the radio button is currently checked. Per default it is false.
|
|
@@ -696,7 +755,7 @@ export namespace Components {
|
|
|
696
755
|
}
|
|
697
756
|
interface B2bTable {
|
|
698
757
|
/**
|
|
699
|
-
* The size of the table. Both will expand to 100% of parent size. Expand cells will use as much space as content needs and text will wrap. Equal will keep all column sizes proportional to the number of columns.
|
|
758
|
+
* The size of the table. Both will expand to 100% of parent size. Expand cells will use as much space as content needs and text will wrap. Equal will keep all column sizes proportional to the number of columns. Colspan behaves same as equal, but allows you to set a colspan attribute on individual columns or cells to make them span more than one column.
|
|
700
759
|
*/
|
|
701
760
|
"size": TableSizes;
|
|
702
761
|
}
|
|
@@ -710,19 +769,25 @@ export namespace Components {
|
|
|
710
769
|
*/
|
|
711
770
|
"color": TableColourOptions;
|
|
712
771
|
/**
|
|
713
|
-
*
|
|
772
|
+
* How many columns the cell should span. Accepts numbers greater than one.
|
|
714
773
|
*/
|
|
715
|
-
"
|
|
774
|
+
"colspan"?: number;
|
|
716
775
|
/**
|
|
717
|
-
*
|
|
776
|
+
* adds a border to the right of the cell. *
|
|
718
777
|
*/
|
|
778
|
+
"divider": boolean;
|
|
719
779
|
"size": TableSizes;
|
|
720
780
|
/**
|
|
721
781
|
* Whether text should wrap or truncate. It will only truncate when table size is equal *
|
|
722
782
|
*/
|
|
723
783
|
"textWrap": boolean;
|
|
784
|
+
"totalCols"?: number;
|
|
724
785
|
}
|
|
725
786
|
interface B2bTableHeader {
|
|
787
|
+
/**
|
|
788
|
+
* The width of the column. Increase it to change the size of the column relative to other columns.
|
|
789
|
+
*/
|
|
790
|
+
"colspan"?: number;
|
|
726
791
|
/**
|
|
727
792
|
* Alignment of the content of the cell, by default is to the left. *
|
|
728
793
|
*/
|
|
@@ -732,9 +797,13 @@ export namespace Components {
|
|
|
732
797
|
*/
|
|
733
798
|
"divider": boolean;
|
|
734
799
|
/**
|
|
735
|
-
*
|
|
800
|
+
* @deprecated Use fixed on the rowgroup instead. Sets the header position to sticky. Use it when table is inside a scrollable container. *
|
|
736
801
|
*/
|
|
737
802
|
"fixed": boolean;
|
|
803
|
+
/**
|
|
804
|
+
* The size of the cell. Follows table size. When size is equal and textWrap is false, the text will truncate with Ellipsis. Other sizes won't affect cell current implementation.
|
|
805
|
+
*/
|
|
806
|
+
"size": TableSizes;
|
|
738
807
|
/**
|
|
739
808
|
* The direction in which the column data is sorted. Per default, it is unsorted and no button is visible. If your data comes presorted, you need to adjust this.
|
|
740
809
|
*/
|
|
@@ -743,6 +812,7 @@ export namespace Components {
|
|
|
743
812
|
* Optional string to uniquely represent the header, this id will be emitted by the table b2b-sort-change event. If not provided, the event will emit the header textContent.
|
|
744
813
|
*/
|
|
745
814
|
"sortId"?: string;
|
|
815
|
+
"totalCols"?: number;
|
|
746
816
|
}
|
|
747
817
|
interface B2bTableRow {
|
|
748
818
|
"accordionType": TableAccordionRowTypes;
|
|
@@ -763,6 +833,7 @@ export namespace Components {
|
|
|
763
833
|
*/
|
|
764
834
|
"indeterminate": boolean;
|
|
765
835
|
"selectable": boolean;
|
|
836
|
+
"size"?: TableSizes;
|
|
766
837
|
/**
|
|
767
838
|
* Will toggle the accordion opened or closed.
|
|
768
839
|
*/
|
|
@@ -777,6 +848,10 @@ export namespace Components {
|
|
|
777
848
|
* Renders the rowgroup as an accordion. Both header and body must have accordion set to true. One table can contain multiple rowgroups of type body, each of which represents an accordion row with children.
|
|
778
849
|
*/
|
|
779
850
|
"accordion": boolean;
|
|
851
|
+
/**
|
|
852
|
+
* Sets the header rowgroup position to sticky. Use this in a scrollable container.
|
|
853
|
+
*/
|
|
854
|
+
"fixed": boolean;
|
|
780
855
|
/**
|
|
781
856
|
* Only use when accordion property is true. Will render the accordion opened if set to true. By default, is false.
|
|
782
857
|
*/
|
|
@@ -785,6 +860,7 @@ export namespace Components {
|
|
|
785
860
|
* If the rows in the rowgroup can be selected via checkmark. Per default, it is false.
|
|
786
861
|
*/
|
|
787
862
|
"selectable": boolean;
|
|
863
|
+
"size": TableSizes;
|
|
788
864
|
/**
|
|
789
865
|
* Rowgroup allows grouping rows by context: header, body or footer. Header rows are by default not highlightable on mouse over.
|
|
790
866
|
*/
|
|
@@ -873,6 +949,32 @@ export namespace Components {
|
|
|
873
949
|
*/
|
|
874
950
|
"value": string;
|
|
875
951
|
}
|
|
952
|
+
interface B2bToggleChip {
|
|
953
|
+
/**
|
|
954
|
+
* Whether or not the chip is currently active. Per default, it is false.
|
|
955
|
+
*/
|
|
956
|
+
"active": boolean;
|
|
957
|
+
/**
|
|
958
|
+
* Whether or not the chip is currently disabled. Per default it is false.
|
|
959
|
+
*/
|
|
960
|
+
"disabled": boolean;
|
|
961
|
+
/**
|
|
962
|
+
* The chip's label. This is required.
|
|
963
|
+
*/
|
|
964
|
+
"label": string;
|
|
965
|
+
/**
|
|
966
|
+
* The name of the toggle chip. Use it to group toggle buttons together and assign the label to the input element for better accessibility. This is required.
|
|
967
|
+
*/
|
|
968
|
+
"name": string;
|
|
969
|
+
/**
|
|
970
|
+
* The value associated with the toggle chip. This is emitted when the chip is interacted with.
|
|
971
|
+
*/
|
|
972
|
+
"value": any;
|
|
973
|
+
/**
|
|
974
|
+
* The color scheme of the toggle button. Use white for grey backgrounds and grey for white backgrounds. Per default, it is grey
|
|
975
|
+
*/
|
|
976
|
+
"variant": 'grey' | 'white';
|
|
977
|
+
}
|
|
876
978
|
interface B2bToggleGroup {
|
|
877
979
|
/**
|
|
878
980
|
* Whether or not the toggle group is disabled as a whole. Per default it is false.
|
|
@@ -996,6 +1098,14 @@ export interface B2bModalCustomEvent<T> extends CustomEvent<T> {
|
|
|
996
1098
|
detail: T;
|
|
997
1099
|
target: HTMLB2bModalElement;
|
|
998
1100
|
}
|
|
1101
|
+
export interface B2bMultiselectDropdownCustomEvent<T> extends CustomEvent<T> {
|
|
1102
|
+
detail: T;
|
|
1103
|
+
target: HTMLB2bMultiselectDropdownElement;
|
|
1104
|
+
}
|
|
1105
|
+
export interface B2bMultiselectOptionCustomEvent<T> extends CustomEvent<T> {
|
|
1106
|
+
detail: T;
|
|
1107
|
+
target: HTMLB2bMultiselectOptionElement;
|
|
1108
|
+
}
|
|
999
1109
|
export interface B2bPaginationCustomEvent<T> extends CustomEvent<T> {
|
|
1000
1110
|
detail: T;
|
|
1001
1111
|
target: HTMLB2bPaginationElement;
|
|
@@ -1044,6 +1154,10 @@ export interface B2bToggleButtonCustomEvent<T> extends CustomEvent<T> {
|
|
|
1044
1154
|
detail: T;
|
|
1045
1155
|
target: HTMLB2bToggleButtonElement;
|
|
1046
1156
|
}
|
|
1157
|
+
export interface B2bToggleChipCustomEvent<T> extends CustomEvent<T> {
|
|
1158
|
+
detail: T;
|
|
1159
|
+
target: HTMLB2bToggleChipElement;
|
|
1160
|
+
}
|
|
1047
1161
|
export interface B2bToggleGroupCustomEvent<T> extends CustomEvent<T> {
|
|
1048
1162
|
detail: T;
|
|
1049
1163
|
target: HTMLB2bToggleGroupElement;
|
|
@@ -1332,6 +1446,40 @@ declare global {
|
|
|
1332
1446
|
prototype: HTMLB2bModalElement;
|
|
1333
1447
|
new (): HTMLB2bModalElement;
|
|
1334
1448
|
};
|
|
1449
|
+
interface HTMLB2bMultiselectDropdownElementEventMap {
|
|
1450
|
+
"b2b-selected": string[];
|
|
1451
|
+
}
|
|
1452
|
+
interface HTMLB2bMultiselectDropdownElement extends Components.B2bMultiselectDropdown, HTMLStencilElement {
|
|
1453
|
+
addEventListener<K extends keyof HTMLB2bMultiselectDropdownElementEventMap>(type: K, listener: (this: HTMLB2bMultiselectDropdownElement, ev: B2bMultiselectDropdownCustomEvent<HTMLB2bMultiselectDropdownElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
|
|
1454
|
+
addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
1455
|
+
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
1456
|
+
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
1457
|
+
removeEventListener<K extends keyof HTMLB2bMultiselectDropdownElementEventMap>(type: K, listener: (this: HTMLB2bMultiselectDropdownElement, ev: B2bMultiselectDropdownCustomEvent<HTMLB2bMultiselectDropdownElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
|
|
1458
|
+
removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
1459
|
+
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
1460
|
+
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
|
|
1461
|
+
}
|
|
1462
|
+
var HTMLB2bMultiselectDropdownElement: {
|
|
1463
|
+
prototype: HTMLB2bMultiselectDropdownElement;
|
|
1464
|
+
new (): HTMLB2bMultiselectDropdownElement;
|
|
1465
|
+
};
|
|
1466
|
+
interface HTMLB2bMultiselectOptionElementEventMap {
|
|
1467
|
+
"b2b-option-selected": MultiSelectOptionEventDetail;
|
|
1468
|
+
}
|
|
1469
|
+
interface HTMLB2bMultiselectOptionElement extends Components.B2bMultiselectOption, HTMLStencilElement {
|
|
1470
|
+
addEventListener<K extends keyof HTMLB2bMultiselectOptionElementEventMap>(type: K, listener: (this: HTMLB2bMultiselectOptionElement, ev: B2bMultiselectOptionCustomEvent<HTMLB2bMultiselectOptionElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
|
|
1471
|
+
addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
1472
|
+
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
1473
|
+
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
1474
|
+
removeEventListener<K extends keyof HTMLB2bMultiselectOptionElementEventMap>(type: K, listener: (this: HTMLB2bMultiselectOptionElement, ev: B2bMultiselectOptionCustomEvent<HTMLB2bMultiselectOptionElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
|
|
1475
|
+
removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
1476
|
+
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
1477
|
+
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
|
|
1478
|
+
}
|
|
1479
|
+
var HTMLB2bMultiselectOptionElement: {
|
|
1480
|
+
prototype: HTMLB2bMultiselectOptionElement;
|
|
1481
|
+
new (): HTMLB2bMultiselectOptionElement;
|
|
1482
|
+
};
|
|
1335
1483
|
interface HTMLB2bPaginationElementEventMap {
|
|
1336
1484
|
"b2b-page-change": PageChangeEventDetail;
|
|
1337
1485
|
}
|
|
@@ -1359,6 +1507,12 @@ declare global {
|
|
|
1359
1507
|
prototype: HTMLB2bParagraphElement;
|
|
1360
1508
|
new (): HTMLB2bParagraphElement;
|
|
1361
1509
|
};
|
|
1510
|
+
interface HTMLB2bProgressBarElement extends Components.B2bProgressBar, HTMLStencilElement {
|
|
1511
|
+
}
|
|
1512
|
+
var HTMLB2bProgressBarElement: {
|
|
1513
|
+
prototype: HTMLB2bProgressBarElement;
|
|
1514
|
+
new (): HTMLB2bProgressBarElement;
|
|
1515
|
+
};
|
|
1362
1516
|
interface HTMLB2bRadioButtonElementEventMap {
|
|
1363
1517
|
"b2b-focus": FocusEvent;
|
|
1364
1518
|
"b2b-blur": FocusEvent;
|
|
@@ -1601,6 +1755,23 @@ declare global {
|
|
|
1601
1755
|
prototype: HTMLB2bToggleButtonElement;
|
|
1602
1756
|
new (): HTMLB2bToggleButtonElement;
|
|
1603
1757
|
};
|
|
1758
|
+
interface HTMLB2bToggleChipElementEventMap {
|
|
1759
|
+
"b2b-selected": ToggleChipEventDetail;
|
|
1760
|
+
}
|
|
1761
|
+
interface HTMLB2bToggleChipElement extends Components.B2bToggleChip, HTMLStencilElement {
|
|
1762
|
+
addEventListener<K extends keyof HTMLB2bToggleChipElementEventMap>(type: K, listener: (this: HTMLB2bToggleChipElement, ev: B2bToggleChipCustomEvent<HTMLB2bToggleChipElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
|
|
1763
|
+
addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
1764
|
+
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
1765
|
+
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
1766
|
+
removeEventListener<K extends keyof HTMLB2bToggleChipElementEventMap>(type: K, listener: (this: HTMLB2bToggleChipElement, ev: B2bToggleChipCustomEvent<HTMLB2bToggleChipElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
|
|
1767
|
+
removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
1768
|
+
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
1769
|
+
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
|
|
1770
|
+
}
|
|
1771
|
+
var HTMLB2bToggleChipElement: {
|
|
1772
|
+
prototype: HTMLB2bToggleChipElement;
|
|
1773
|
+
new (): HTMLB2bToggleChipElement;
|
|
1774
|
+
};
|
|
1604
1775
|
interface HTMLB2bToggleGroupElementEventMap {
|
|
1605
1776
|
"b2b-group-change": ToggleButtonEventDetail;
|
|
1606
1777
|
}
|
|
@@ -1669,8 +1840,11 @@ declare global {
|
|
|
1669
1840
|
"b2b-input-list-option": HTMLB2bInputListOptionElement;
|
|
1670
1841
|
"b2b-label": HTMLB2bLabelElement;
|
|
1671
1842
|
"b2b-modal": HTMLB2bModalElement;
|
|
1843
|
+
"b2b-multiselect-dropdown": HTMLB2bMultiselectDropdownElement;
|
|
1844
|
+
"b2b-multiselect-option": HTMLB2bMultiselectOptionElement;
|
|
1672
1845
|
"b2b-pagination": HTMLB2bPaginationElement;
|
|
1673
1846
|
"b2b-paragraph": HTMLB2bParagraphElement;
|
|
1847
|
+
"b2b-progress-bar": HTMLB2bProgressBarElement;
|
|
1674
1848
|
"b2b-radio-button": HTMLB2bRadioButtonElement;
|
|
1675
1849
|
"b2b-radio-group": HTMLB2bRadioGroupElement;
|
|
1676
1850
|
"b2b-required-separator": HTMLB2bRequiredSeparatorElement;
|
|
@@ -1689,6 +1863,7 @@ declare global {
|
|
|
1689
1863
|
"b2b-table-rowgroup": HTMLB2bTableRowgroupElement;
|
|
1690
1864
|
"b2b-textarea": HTMLB2bTextareaElement;
|
|
1691
1865
|
"b2b-toggle-button": HTMLB2bToggleButtonElement;
|
|
1866
|
+
"b2b-toggle-chip": HTMLB2bToggleChipElement;
|
|
1692
1867
|
"b2b-toggle-group": HTMLB2bToggleGroupElement;
|
|
1693
1868
|
"b2b-tooltip": HTMLB2bTooltipElement;
|
|
1694
1869
|
"b2b-wizard": HTMLB2bWizardElement;
|
|
@@ -1798,6 +1973,10 @@ declare namespace LocalJSX {
|
|
|
1798
1973
|
* The button variant. If not specified, the button will be the secondary variant.
|
|
1799
1974
|
*/
|
|
1800
1975
|
"variant"?: 'primary' | 'secondary';
|
|
1976
|
+
/**
|
|
1977
|
+
* The width of the button. Per default, it will fit the content
|
|
1978
|
+
*/
|
|
1979
|
+
"width"?: 'fit-content' | 'fit-container' | 'custom';
|
|
1801
1980
|
}
|
|
1802
1981
|
interface B2bCard {
|
|
1803
1982
|
/**
|
|
@@ -2235,6 +2414,50 @@ declare namespace LocalJSX {
|
|
|
2235
2414
|
*/
|
|
2236
2415
|
"variant"?: 'default' | 'large';
|
|
2237
2416
|
}
|
|
2417
|
+
interface B2bMultiselectDropdown {
|
|
2418
|
+
/**
|
|
2419
|
+
* The input label.
|
|
2420
|
+
*/
|
|
2421
|
+
"label": string;
|
|
2422
|
+
/**
|
|
2423
|
+
* The maximum amount of chips visible. Adjust this depending on available size of the dropdown.
|
|
2424
|
+
*/
|
|
2425
|
+
"maxOptionsVisible"?: number;
|
|
2426
|
+
/**
|
|
2427
|
+
* Emits when there is a change to the currently selected values.
|
|
2428
|
+
*/
|
|
2429
|
+
"onB2b-selected"?: (event: B2bMultiselectDropdownCustomEvent<string[]>) => void;
|
|
2430
|
+
/**
|
|
2431
|
+
* The list of options passed into the search dropdown. Can be static or dynamic, i.e. updated when the b2b-search or b2b-input emitters fire.
|
|
2432
|
+
*/
|
|
2433
|
+
"optionsList"?: string[];
|
|
2434
|
+
/**
|
|
2435
|
+
* The placeholder shown in the input field.
|
|
2436
|
+
*/
|
|
2437
|
+
"placeholder"?: string;
|
|
2438
|
+
/**
|
|
2439
|
+
* The placeholder shown in the search bar.
|
|
2440
|
+
*/
|
|
2441
|
+
"searchPlaceholder"?: string;
|
|
2442
|
+
/**
|
|
2443
|
+
* The string displayed as the select all label.
|
|
2444
|
+
*/
|
|
2445
|
+
"selectAllLabel"?: string;
|
|
2446
|
+
}
|
|
2447
|
+
interface B2bMultiselectOption {
|
|
2448
|
+
/**
|
|
2449
|
+
* Emits the option as a string whenever an option is selected.
|
|
2450
|
+
*/
|
|
2451
|
+
"onB2b-option-selected"?: (event: B2bMultiselectOptionCustomEvent<MultiSelectOptionEventDetail>) => void;
|
|
2452
|
+
/**
|
|
2453
|
+
* The label of the option.
|
|
2454
|
+
*/
|
|
2455
|
+
"option": string;
|
|
2456
|
+
/**
|
|
2457
|
+
* Whether the option is currently selected.
|
|
2458
|
+
*/
|
|
2459
|
+
"selected"?: boolean;
|
|
2460
|
+
}
|
|
2238
2461
|
interface B2bPagination {
|
|
2239
2462
|
/**
|
|
2240
2463
|
* Use this property to set programmatically the active page
|
|
@@ -2275,6 +2498,24 @@ declare namespace LocalJSX {
|
|
|
2275
2498
|
*/
|
|
2276
2499
|
"weight"?: 'bold' | 'normal';
|
|
2277
2500
|
}
|
|
2501
|
+
interface B2bProgressBar {
|
|
2502
|
+
/**
|
|
2503
|
+
* The label of the progress bar.
|
|
2504
|
+
*/
|
|
2505
|
+
"label"?: string;
|
|
2506
|
+
/**
|
|
2507
|
+
* Whether the label should be displayed on the right or left of the progress bar.
|
|
2508
|
+
*/
|
|
2509
|
+
"labelPosition"?: 'left' | 'right';
|
|
2510
|
+
/**
|
|
2511
|
+
* Whether the label should be displayed below or on the side of the progress bar.
|
|
2512
|
+
*/
|
|
2513
|
+
"labelType"?: 'below' | 'side';
|
|
2514
|
+
/**
|
|
2515
|
+
* The percentage of progress from 0 to 100.
|
|
2516
|
+
*/
|
|
2517
|
+
"progress"?: number;
|
|
2518
|
+
}
|
|
2278
2519
|
interface B2bRadioButton {
|
|
2279
2520
|
/**
|
|
2280
2521
|
* Whether or not the radio button is currently checked. Per default it is false.
|
|
@@ -2463,7 +2704,7 @@ declare namespace LocalJSX {
|
|
|
2463
2704
|
*/
|
|
2464
2705
|
"onB2b-sort-change"?: (event: B2bTableCustomEvent<ColumnSortChangeEventDetail>) => void;
|
|
2465
2706
|
/**
|
|
2466
|
-
* The size of the table. Both will expand to 100% of parent size. Expand cells will use as much space as content needs and text will wrap. Equal will keep all column sizes proportional to the number of columns.
|
|
2707
|
+
* The size of the table. Both will expand to 100% of parent size. Expand cells will use as much space as content needs and text will wrap. Equal will keep all column sizes proportional to the number of columns. Colspan behaves same as equal, but allows you to set a colspan attribute on individual columns or cells to make them span more than one column.
|
|
2467
2708
|
*/
|
|
2468
2709
|
"size"?: TableSizes;
|
|
2469
2710
|
}
|
|
@@ -2477,19 +2718,23 @@ declare namespace LocalJSX {
|
|
|
2477
2718
|
*/
|
|
2478
2719
|
"color"?: TableColourOptions;
|
|
2479
2720
|
/**
|
|
2480
|
-
*
|
|
2721
|
+
* How many columns the cell should span. Accepts numbers greater than one.
|
|
2481
2722
|
*/
|
|
2482
|
-
"
|
|
2723
|
+
"colspan"?: number;
|
|
2483
2724
|
/**
|
|
2484
|
-
*
|
|
2725
|
+
* adds a border to the right of the cell. *
|
|
2485
2726
|
*/
|
|
2486
|
-
"
|
|
2727
|
+
"divider"?: boolean;
|
|
2487
2728
|
/**
|
|
2488
2729
|
* Whether text should wrap or truncate. It will only truncate when table size is equal *
|
|
2489
2730
|
*/
|
|
2490
2731
|
"textWrap"?: boolean;
|
|
2491
2732
|
}
|
|
2492
2733
|
interface B2bTableHeader {
|
|
2734
|
+
/**
|
|
2735
|
+
* The width of the column. Increase it to change the size of the column relative to other columns.
|
|
2736
|
+
*/
|
|
2737
|
+
"colspan"?: number;
|
|
2493
2738
|
/**
|
|
2494
2739
|
* Alignment of the content of the cell, by default is to the left. *
|
|
2495
2740
|
*/
|
|
@@ -2499,13 +2744,17 @@ declare namespace LocalJSX {
|
|
|
2499
2744
|
*/
|
|
2500
2745
|
"divider"?: boolean;
|
|
2501
2746
|
/**
|
|
2502
|
-
*
|
|
2747
|
+
* @deprecated Use fixed on the rowgroup instead. Sets the header position to sticky. Use it when table is inside a scrollable container. *
|
|
2503
2748
|
*/
|
|
2504
2749
|
"fixed"?: boolean;
|
|
2505
2750
|
/**
|
|
2506
2751
|
* Emits whenever the sort direction changes.
|
|
2507
2752
|
*/
|
|
2508
2753
|
"onB2b-change"?: (event: B2bTableHeaderCustomEvent<TableSortDirections>) => void;
|
|
2754
|
+
/**
|
|
2755
|
+
* The size of the cell. Follows table size. When size is equal and textWrap is false, the text will truncate with Ellipsis. Other sizes won't affect cell current implementation.
|
|
2756
|
+
*/
|
|
2757
|
+
"size"?: TableSizes;
|
|
2509
2758
|
/**
|
|
2510
2759
|
* The direction in which the column data is sorted. Per default, it is unsorted and no button is visible. If your data comes presorted, you need to adjust this.
|
|
2511
2760
|
*/
|
|
@@ -2550,6 +2799,10 @@ declare namespace LocalJSX {
|
|
|
2550
2799
|
* Renders the rowgroup as an accordion. Both header and body must have accordion set to true. One table can contain multiple rowgroups of type body, each of which represents an accordion row with children.
|
|
2551
2800
|
*/
|
|
2552
2801
|
"accordion"?: boolean;
|
|
2802
|
+
/**
|
|
2803
|
+
* Sets the header rowgroup position to sticky. Use this in a scrollable container.
|
|
2804
|
+
*/
|
|
2805
|
+
"fixed"?: boolean;
|
|
2553
2806
|
/**
|
|
2554
2807
|
* Emits when the rowgroup as a whole is selected.
|
|
2555
2808
|
*/
|
|
@@ -2666,6 +2919,36 @@ declare namespace LocalJSX {
|
|
|
2666
2919
|
*/
|
|
2667
2920
|
"value": string;
|
|
2668
2921
|
}
|
|
2922
|
+
interface B2bToggleChip {
|
|
2923
|
+
/**
|
|
2924
|
+
* Whether or not the chip is currently active. Per default, it is false.
|
|
2925
|
+
*/
|
|
2926
|
+
"active"?: boolean;
|
|
2927
|
+
/**
|
|
2928
|
+
* Whether or not the chip is currently disabled. Per default it is false.
|
|
2929
|
+
*/
|
|
2930
|
+
"disabled"?: boolean;
|
|
2931
|
+
/**
|
|
2932
|
+
* The chip's label. This is required.
|
|
2933
|
+
*/
|
|
2934
|
+
"label": string;
|
|
2935
|
+
/**
|
|
2936
|
+
* The name of the toggle chip. Use it to group toggle buttons together and assign the label to the input element for better accessibility. This is required.
|
|
2937
|
+
*/
|
|
2938
|
+
"name": string;
|
|
2939
|
+
/**
|
|
2940
|
+
* Emits the value whenever the toggle chip is selected.
|
|
2941
|
+
*/
|
|
2942
|
+
"onB2b-selected"?: (event: B2bToggleChipCustomEvent<ToggleChipEventDetail>) => void;
|
|
2943
|
+
/**
|
|
2944
|
+
* The value associated with the toggle chip. This is emitted when the chip is interacted with.
|
|
2945
|
+
*/
|
|
2946
|
+
"value": any;
|
|
2947
|
+
/**
|
|
2948
|
+
* The color scheme of the toggle button. Use white for grey backgrounds and grey for white backgrounds. Per default, it is grey
|
|
2949
|
+
*/
|
|
2950
|
+
"variant"?: 'grey' | 'white';
|
|
2951
|
+
}
|
|
2669
2952
|
interface B2bToggleGroup {
|
|
2670
2953
|
/**
|
|
2671
2954
|
* Whether or not the toggle group is disabled as a whole. Per default it is false.
|
|
@@ -2767,8 +3050,11 @@ declare namespace LocalJSX {
|
|
|
2767
3050
|
"b2b-input-list-option": B2bInputListOption;
|
|
2768
3051
|
"b2b-label": B2bLabel;
|
|
2769
3052
|
"b2b-modal": B2bModal;
|
|
3053
|
+
"b2b-multiselect-dropdown": B2bMultiselectDropdown;
|
|
3054
|
+
"b2b-multiselect-option": B2bMultiselectOption;
|
|
2770
3055
|
"b2b-pagination": B2bPagination;
|
|
2771
3056
|
"b2b-paragraph": B2bParagraph;
|
|
3057
|
+
"b2b-progress-bar": B2bProgressBar;
|
|
2772
3058
|
"b2b-radio-button": B2bRadioButton;
|
|
2773
3059
|
"b2b-radio-group": B2bRadioGroup;
|
|
2774
3060
|
"b2b-required-separator": B2bRequiredSeparator;
|
|
@@ -2787,6 +3073,7 @@ declare namespace LocalJSX {
|
|
|
2787
3073
|
"b2b-table-rowgroup": B2bTableRowgroup;
|
|
2788
3074
|
"b2b-textarea": B2bTextarea;
|
|
2789
3075
|
"b2b-toggle-button": B2bToggleButton;
|
|
3076
|
+
"b2b-toggle-chip": B2bToggleChip;
|
|
2790
3077
|
"b2b-toggle-group": B2bToggleGroup;
|
|
2791
3078
|
"b2b-tooltip": B2bTooltip;
|
|
2792
3079
|
"b2b-wizard": B2bWizard;
|
|
@@ -2832,12 +3119,15 @@ declare module "@stencil/core" {
|
|
|
2832
3119
|
* Initial story: https://otto-eg.atlassian.net/browse/B2BDS-53
|
|
2833
3120
|
*/
|
|
2834
3121
|
"b2b-modal": LocalJSX.B2bModal & JSXBase.HTMLAttributes<HTMLB2bModalElement>;
|
|
3122
|
+
"b2b-multiselect-dropdown": LocalJSX.B2bMultiselectDropdown & JSXBase.HTMLAttributes<HTMLB2bMultiselectDropdownElement>;
|
|
3123
|
+
"b2b-multiselect-option": LocalJSX.B2bMultiselectOption & JSXBase.HTMLAttributes<HTMLB2bMultiselectOptionElement>;
|
|
2835
3124
|
"b2b-pagination": LocalJSX.B2bPagination & JSXBase.HTMLAttributes<HTMLB2bPaginationElement>;
|
|
2836
3125
|
/**
|
|
2837
3126
|
* Paragraph component to render text content.
|
|
2838
3127
|
* Initial story: https://otto-eg.atlassian.net/browse/B2BDS-45
|
|
2839
3128
|
*/
|
|
2840
3129
|
"b2b-paragraph": LocalJSX.B2bParagraph & JSXBase.HTMLAttributes<HTMLB2bParagraphElement>;
|
|
3130
|
+
"b2b-progress-bar": LocalJSX.B2bProgressBar & JSXBase.HTMLAttributes<HTMLB2bProgressBarElement>;
|
|
2841
3131
|
"b2b-radio-button": LocalJSX.B2bRadioButton & JSXBase.HTMLAttributes<HTMLB2bRadioButtonElement>;
|
|
2842
3132
|
"b2b-radio-group": LocalJSX.B2bRadioGroup & JSXBase.HTMLAttributes<HTMLB2bRadioGroupElement>;
|
|
2843
3133
|
"b2b-required-separator": LocalJSX.B2bRequiredSeparator & JSXBase.HTMLAttributes<HTMLB2bRequiredSeparatorElement>;
|
|
@@ -2864,6 +3154,7 @@ declare module "@stencil/core" {
|
|
|
2864
3154
|
*/
|
|
2865
3155
|
"b2b-textarea": LocalJSX.B2bTextarea & JSXBase.HTMLAttributes<HTMLB2bTextareaElement>;
|
|
2866
3156
|
"b2b-toggle-button": LocalJSX.B2bToggleButton & JSXBase.HTMLAttributes<HTMLB2bToggleButtonElement>;
|
|
3157
|
+
"b2b-toggle-chip": LocalJSX.B2bToggleChip & JSXBase.HTMLAttributes<HTMLB2bToggleChipElement>;
|
|
2867
3158
|
"b2b-toggle-group": LocalJSX.B2bToggleGroup & JSXBase.HTMLAttributes<HTMLB2bToggleGroupElement>;
|
|
2868
3159
|
/**
|
|
2869
3160
|
* The tooltip can display additional information, and will be visible based on
|
|
@@ -20,6 +20,11 @@ export interface OptionSelectedEventDetail<T = any> {
|
|
|
20
20
|
selectedOption: string;
|
|
21
21
|
}
|
|
22
22
|
|
|
23
|
+
export interface MultiSelectOptionEventDetail {
|
|
24
|
+
selected: boolean;
|
|
25
|
+
selectedOption: string;
|
|
26
|
+
}
|
|
27
|
+
|
|
23
28
|
export interface InputClear<T = any> {}
|
|
24
29
|
|
|
25
30
|
export interface HTMLB2bFormElement {
|