@otto-de/b2b-core-components 1.19.0 → 1.21.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/b2b-core-components/b2b-core-components.esm.js +1 -1
- package/dist/b2b-core-components/icons-100/b2b_icon-chatbot.svg +2 -20
- package/dist/b2b-core-components/icons-50/b2b_icon-arrow-down.svg +2 -1
- package/dist/b2b-core-components/icons-50/b2b_icon-arrow-left.svg +2 -1
- package/dist/b2b-core-components/icons-50/b2b_icon-arrow-right.svg +2 -1
- package/dist/b2b-core-components/icons-50/b2b_icon-arrow-up.svg +2 -1
- package/dist/b2b-core-components/icons-50/b2b_icon-basket.svg +3 -2
- package/dist/b2b-core-components/icons-50/b2b_icon-check.svg +2 -1
- package/dist/b2b-core-components/icons-50/b2b_icon-close.svg +2 -1
- package/dist/b2b-core-components/icons-50/b2b_icon-delete.svg +5 -4
- package/dist/b2b-core-components/icons-50/b2b_icon-error-hint.svg +2 -1
- package/dist/b2b-core-components/icons-50/b2b_icon-filter.svg +4 -3
- package/dist/b2b-core-components/icons-50/b2b_icon-info-hint.svg +2 -1
- package/dist/b2b-core-components/icons-50/b2b_icon-info.svg +2 -1
- package/dist/b2b-core-components/icons-50/b2b_icon-leaving-page.svg +3 -2
- package/dist/b2b-core-components/icons-50/b2b_icon-minus.svg +2 -1
- package/dist/b2b-core-components/icons-50/b2b_icon-pin.svg +3 -2
- package/dist/b2b-core-components/icons-50/b2b_icon-plus.svg +2 -1
- package/dist/b2b-core-components/icons-50/b2b_icon-question-hint.svg +2 -1
- package/dist/b2b-core-components/icons-50/b2b_icon-question.svg +2 -1
- package/dist/b2b-core-components/icons-50/b2b_icon-rating-empty.svg +2 -1
- package/dist/b2b-core-components/icons-50/b2b_icon-rating-filled.svg +2 -1
- package/dist/b2b-core-components/icons-50/b2b_icon-rating-half.svg +2 -1
- package/dist/b2b-core-components/icons-50/b2b_icon-refresh.svg +2 -1
- package/dist/b2b-core-components/icons-50/b2b_icon-reply.svg +2 -1
- package/dist/b2b-core-components/icons-50/b2b_icon-smiley-positive.svg +5 -4
- package/dist/b2b-core-components/icons-50/b2b_icon-sort-ascending.svg +2 -1
- package/dist/b2b-core-components/icons-50/b2b_icon-sort-descending.svg +2 -1
- package/dist/b2b-core-components/icons-50/b2b_icon-sort.svg +6 -5
- package/dist/b2b-core-components/icons-50/b2b_icon-success-hint.svg +2 -1
- package/dist/b2b-core-components/icons-50/b2b_icon-trend-down.svg +2 -1
- package/dist/b2b-core-components/icons-50/b2b_icon-trend-up.svg +2 -1
- package/dist/b2b-core-components/icons-50/b2b_icon-warning-hint.svg +2 -1
- package/dist/b2b-core-components/icons-50/b2b_icon-wishlist-active.svg +2 -1
- package/dist/b2b-core-components/icons-50/b2b_icon-wishlist.svg +2 -1
- package/dist/b2b-core-components/p-0dc06432.entry.js +1 -0
- package/dist/b2b-core-components/{p-bcb7e042.entry.js → p-0f2249e0.entry.js} +1 -1
- package/dist/b2b-core-components/{p-1135d0ce.entry.js → p-11e5143c.entry.js} +1 -1
- package/dist/b2b-core-components/{p-6847b3bf.entry.js → p-1525a056.entry.js} +1 -1
- package/dist/b2b-core-components/{p-64a2aebd.entry.js → p-15a24ba4.entry.js} +1 -1
- package/dist/b2b-core-components/p-164d8803.entry.js +1 -0
- package/dist/b2b-core-components/p-19392020.js +1 -0
- package/dist/b2b-core-components/p-1b7201e1.entry.js +1 -0
- package/dist/b2b-core-components/{p-189f3e25.entry.js → p-1c048a27.entry.js} +1 -1
- package/dist/b2b-core-components/{p-e9537c12.entry.js → p-1e8416a3.entry.js} +1 -1
- package/dist/b2b-core-components/{p-171722c3.entry.js → p-2b214797.entry.js} +1 -1
- package/dist/b2b-core-components/p-2bab8c7f.entry.js +1 -0
- package/dist/b2b-core-components/{p-c33bc1a2.entry.js → p-2de83995.entry.js} +1 -1
- package/dist/b2b-core-components/{p-4e7ad473.entry.js → p-33ba40ee.entry.js} +1 -1
- package/dist/b2b-core-components/{p-7128c388.entry.js → p-3665d675.entry.js} +1 -1
- package/dist/b2b-core-components/p-376ba9ef.entry.js +1 -0
- package/dist/b2b-core-components/{p-35dca1b0.entry.js → p-57d487e2.entry.js} +1 -1
- package/dist/b2b-core-components/p-6e031b32.entry.js +1 -0
- package/dist/b2b-core-components/{p-d4ab2a73.entry.js → p-72e23a4e.entry.js} +1 -1
- package/dist/b2b-core-components/{p-ae0d9209.entry.js → p-799b194b.entry.js} +1 -1
- package/dist/b2b-core-components/{p-39651255.entry.js → p-7b711ed3.entry.js} +1 -1
- package/dist/b2b-core-components/{p-54d15111.entry.js → p-869095a0.entry.js} +1 -1
- package/dist/b2b-core-components/{p-31df26eb.entry.js → p-8fc792f9.entry.js} +1 -1
- package/dist/b2b-core-components/p-947f2e2c.entry.js +1 -0
- package/dist/b2b-core-components/{p-0e7e3e44.entry.js → p-9a0a4a74.entry.js} +1 -1
- package/dist/b2b-core-components/p-9fc53916.entry.js +1 -0
- package/dist/b2b-core-components/p-a0c1c775.entry.js +1 -0
- package/dist/b2b-core-components/{p-30d6787c.entry.js → p-a155219a.entry.js} +1 -1
- package/dist/b2b-core-components/{p-e350e4ab.entry.js → p-acc7ae99.entry.js} +1 -1
- package/dist/b2b-core-components/p-c03d0533.entry.js +1 -0
- package/dist/b2b-core-components/{p-1887174e.entry.js → p-d42c90d1.entry.js} +1 -1
- package/dist/b2b-core-components/p-e1d7f335.entry.js +1 -0
- package/dist/b2b-core-components/{p-758ff932.entry.js → p-f6fa3212.entry.js} +1 -1
- package/dist/cjs/b2b-alert.cjs.entry.js +1 -1
- package/dist/cjs/b2b-anchor.cjs.entry.js +7 -3
- package/dist/cjs/b2b-breadcrumb-item.cjs.entry.js +1 -1
- package/dist/cjs/b2b-breadcrumb.cjs.entry.js +8 -3
- package/dist/cjs/b2b-button_2.cjs.entry.js +1 -1
- package/dist/cjs/b2b-checkbox.cjs.entry.js +1 -1
- package/dist/cjs/b2b-core-components.cjs.js +1 -1
- package/dist/cjs/b2b-date-picker.cjs.entry.js +8 -9
- package/dist/cjs/b2b-modal.cjs.entry.js +1 -1
- package/dist/cjs/b2b-progress-bar.cjs.entry.js +1 -1
- package/dist/cjs/b2b-radio-button.cjs.entry.js +1 -1
- package/dist/cjs/b2b-radio-group.cjs.entry.js +5 -2
- package/dist/cjs/b2b-required-separator.cjs.entry.js +1 -1
- package/dist/cjs/b2b-rounded-icon.cjs.entry.js +4 -4
- package/dist/cjs/b2b-scrollable-container.cjs.entry.js +1 -1
- package/dist/cjs/b2b-search.cjs.entry.js +1 -1
- package/dist/cjs/b2b-separator.cjs.entry.js +1 -1
- package/dist/cjs/b2b-tab-group.cjs.entry.js +1 -1
- package/dist/cjs/b2b-tab-panel.cjs.entry.js +1 -1
- package/dist/cjs/b2b-tab.cjs.entry.js +2 -2
- package/dist/cjs/b2b-table-cell_2.cjs.entry.js +21 -22
- package/dist/cjs/b2b-table-row.cjs.entry.js +27 -20
- package/dist/cjs/b2b-table-rowgroup.cjs.entry.js +10 -27
- package/dist/cjs/b2b-table.cjs.entry.js +5 -6
- package/dist/cjs/b2b-textarea.cjs.entry.js +2 -2
- package/dist/cjs/b2b-toggle-button.cjs.entry.js +3 -3
- package/dist/cjs/b2b-toggle-chip.cjs.entry.js +3 -3
- package/dist/cjs/b2b-toggle-group.cjs.entry.js +2 -2
- package/dist/cjs/b2b-toggle-switch.cjs.entry.js +4 -4
- package/dist/cjs/b2b-tooltip.cjs.entry.js +3 -3
- package/dist/cjs/b2b-wizard-icon.cjs.entry.js +1 -1
- package/dist/cjs/b2b-wizard-step.cjs.entry.js +2 -2
- package/dist/cjs/b2b-wizard.cjs.entry.js +1 -1
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/{utils-41f7ffa8.js → utils-499e9db5.js} +43 -0
- package/dist/collection/components/alert/alert.css +2 -2
- package/dist/collection/components/alert/alert.e2e.js +2 -2
- package/dist/collection/components/alert/alert.js +2 -2
- package/dist/collection/components/anchor/anchor.css +16 -7
- package/dist/collection/components/anchor/anchor.js +42 -2
- package/dist/collection/components/anchor/anchor.spec.js +8 -8
- package/dist/collection/components/anchor/anchor.stories.js +22 -2
- package/dist/collection/components/background-box/background-box.css +2 -2
- package/dist/collection/components/breadcrumb/breadcrumb.css +13 -11
- package/dist/collection/components/breadcrumb/breadcrumb.js +47 -2
- package/dist/collection/components/breadcrumb/breadcrumb.stories.js +15 -6
- package/dist/collection/components/button/button.css +2 -2
- package/dist/collection/components/card/card.css +2 -2
- package/dist/collection/components/checkbox/checkbox.css +2 -2
- package/dist/collection/components/checkbox/checkbox.js +1 -1
- package/dist/collection/components/checkbox/checkbox.stories.js +1 -0
- package/dist/collection/components/checkbox-group/checkbox-group.css +2 -2
- package/dist/collection/components/chip/chip.css +2 -2
- package/dist/collection/components/date-picker/date-picker-days-header.css +2 -2
- package/dist/collection/components/date-picker/date-picker-days.css +2 -2
- package/dist/collection/components/date-picker/date-picker-header.css +2 -2
- package/dist/collection/components/date-picker/date-picker-months.css +2 -2
- package/dist/collection/components/date-picker/date-picker-years.css +2 -2
- package/dist/collection/components/date-picker/date-picker.css +4 -4
- package/dist/collection/components/date-picker/date-picker.js +7 -8
- package/dist/collection/components/dropdown/dropdown.css +2 -2
- package/dist/collection/components/flyout-menu/flyout-menu-option.css +2 -2
- package/dist/collection/components/flyout-menu/flyout-menu.css +2 -2
- package/dist/collection/components/headline/headline.css +2 -2
- package/dist/collection/components/headline/headline.stories.js +9 -2
- package/dist/collection/components/icon/icon.css +2 -2
- package/dist/collection/components/icon-100/icon-100.css +2 -2
- package/dist/collection/components/icon-100/icons-100/b2b_icon-chatbot.svg +2 -20
- package/dist/collection/components/icon-50/icon-50.css +2 -2
- package/dist/collection/components/icon-50/icons-50/b2b_icon-arrow-down.svg +2 -1
- package/dist/collection/components/icon-50/icons-50/b2b_icon-arrow-left.svg +2 -1
- package/dist/collection/components/icon-50/icons-50/b2b_icon-arrow-right.svg +2 -1
- package/dist/collection/components/icon-50/icons-50/b2b_icon-arrow-up.svg +2 -1
- package/dist/collection/components/icon-50/icons-50/b2b_icon-basket.svg +3 -2
- package/dist/collection/components/icon-50/icons-50/b2b_icon-check.svg +2 -1
- package/dist/collection/components/icon-50/icons-50/b2b_icon-close.svg +2 -1
- package/dist/collection/components/icon-50/icons-50/b2b_icon-delete.svg +5 -4
- package/dist/collection/components/icon-50/icons-50/b2b_icon-error-hint.svg +2 -1
- package/dist/collection/components/icon-50/icons-50/b2b_icon-filter.svg +4 -3
- package/dist/collection/components/icon-50/icons-50/b2b_icon-info-hint.svg +2 -1
- package/dist/collection/components/icon-50/icons-50/b2b_icon-info.svg +2 -1
- package/dist/collection/components/icon-50/icons-50/b2b_icon-leaving-page.svg +3 -2
- package/dist/collection/components/icon-50/icons-50/b2b_icon-minus.svg +2 -1
- package/dist/collection/components/icon-50/icons-50/b2b_icon-pin.svg +3 -2
- package/dist/collection/components/icon-50/icons-50/b2b_icon-plus.svg +2 -1
- package/dist/collection/components/icon-50/icons-50/b2b_icon-question-hint.svg +2 -1
- package/dist/collection/components/icon-50/icons-50/b2b_icon-question.svg +2 -1
- package/dist/collection/components/icon-50/icons-50/b2b_icon-rating-empty.svg +2 -1
- package/dist/collection/components/icon-50/icons-50/b2b_icon-rating-filled.svg +2 -1
- package/dist/collection/components/icon-50/icons-50/b2b_icon-rating-half.svg +2 -1
- package/dist/collection/components/icon-50/icons-50/b2b_icon-refresh.svg +2 -1
- package/dist/collection/components/icon-50/icons-50/b2b_icon-reply.svg +2 -1
- package/dist/collection/components/icon-50/icons-50/b2b_icon-smiley-positive.svg +5 -4
- package/dist/collection/components/icon-50/icons-50/b2b_icon-sort-ascending.svg +2 -1
- package/dist/collection/components/icon-50/icons-50/b2b_icon-sort-descending.svg +2 -1
- package/dist/collection/components/icon-50/icons-50/b2b_icon-sort.svg +6 -5
- package/dist/collection/components/icon-50/icons-50/b2b_icon-success-hint.svg +2 -1
- package/dist/collection/components/icon-50/icons-50/b2b_icon-trend-down.svg +2 -1
- package/dist/collection/components/icon-50/icons-50/b2b_icon-trend-up.svg +2 -1
- package/dist/collection/components/icon-50/icons-50/b2b_icon-warning-hint.svg +2 -1
- package/dist/collection/components/icon-50/icons-50/b2b_icon-wishlist-active.svg +2 -1
- package/dist/collection/components/icon-50/icons-50/b2b_icon-wishlist.svg +2 -1
- package/dist/collection/components/input/input.css +2 -2
- package/dist/collection/components/input-group/input-group.css +2 -2
- package/dist/collection/components/input-list/input-list.css +2 -2
- package/dist/collection/components/label/label.css +2 -2
- package/dist/collection/components/modal/modal.css +3 -3
- package/dist/collection/components/multiselect-dropdown/multiselect-dropdown.css +2 -2
- package/dist/collection/components/pagination/pagination.css +2 -2
- package/dist/collection/components/paragraph/paragraph.css +2 -2
- package/dist/collection/components/paragraph/paragraph.stories.js +1 -1
- package/dist/collection/components/progress-bar/progress-bar.css +5 -2
- package/dist/collection/components/radio/radio.css +2 -2
- package/dist/collection/components/radio/radio.e2e.js +8 -0
- package/dist/collection/components/radio/radio.js +1 -1
- package/dist/collection/components/radio/radio.stories.js +7 -0
- package/dist/collection/components/radio-group/radio-group.css +2 -2
- package/dist/collection/components/radio-group/radio-group.e2e.js +11 -0
- package/dist/collection/components/radio-group/radio-group.js +5 -2
- package/dist/collection/components/radio-group/radio-group.stories.js +15 -0
- package/dist/collection/components/required-separator/required-separator.css +2 -2
- package/dist/collection/components/required-separator/required-separator.js +1 -1
- package/dist/collection/components/rounded-icon/rounded-icon.css +2 -2
- package/dist/collection/components/rounded-icon/rounded-icon.js +4 -4
- package/dist/collection/components/scrollable-container/scrollable-container.css +2 -2
- package/dist/collection/components/scrollable-container/scrollable-container.js +1 -1
- package/dist/collection/components/search/search.js +1 -1
- package/dist/collection/components/separator/separator.css +2 -2
- package/dist/collection/components/separator/separator.js +1 -1
- package/dist/collection/components/spinner/spinner.css +2 -2
- package/dist/collection/components/spinner/spinner.js +1 -1
- package/dist/collection/components/tab/tab.css +2 -2
- package/dist/collection/components/tab/tab.js +2 -2
- package/dist/collection/components/tab-group/tab-group.js +1 -1
- package/dist/collection/components/tab-panel/tab-panel.css +2 -2
- package/dist/collection/components/tab-panel/tab-panel.js +1 -1
- package/dist/collection/components/table/table-cell/table-cell.css +2 -2
- package/dist/collection/components/table/table-cell/table-cell.js +2 -2
- package/dist/collection/components/table/table-header/table-header.css +2 -2
- package/dist/collection/components/table/table-header/table-header.js +1 -1
- package/dist/collection/components/table/table-row/table-row.css +2 -2
- package/dist/collection/components/table/table-row/table-row.js +25 -43
- package/dist/collection/components/table/table-rowgroup/table-rowgroup.css +2 -2
- package/dist/collection/components/table/table-rowgroup/table-rowgroup.js +6 -22
- package/dist/collection/components/table/table.css +2 -2
- package/dist/collection/components/table/table.e2e.js +5 -5
- package/dist/collection/components/table/table.js +2 -2
- package/dist/collection/components/table/utils.js +5 -0
- package/dist/collection/components/textarea/textarea.css +2 -2
- package/dist/collection/components/textarea/textarea.js +2 -2
- package/dist/collection/components/toggle-button/toggle-button.css +2 -2
- package/dist/collection/components/toggle-button/toggle-button.js +3 -3
- package/dist/collection/components/toggle-chip/toggle-chip.css +2 -2
- package/dist/collection/components/toggle-chip/toggle-chip.js +3 -3
- package/dist/collection/components/toggle-group/toggle-group.css +2 -2
- package/dist/collection/components/toggle-group/toggle-group.js +2 -2
- package/dist/collection/components/toggle-switch/toggle-switch.css +2 -2
- package/dist/collection/components/toggle-switch/toggle-switch.js +4 -4
- package/dist/collection/components/tooltip/tooltip.css +2 -2
- package/dist/collection/components/tooltip/tooltip.js +3 -3
- package/dist/collection/components/wizard/wizard-step.js +2 -2
- package/dist/collection/components/wizard/wizard.css +2 -2
- package/dist/collection/components/wizard/wizard.js +1 -1
- package/dist/collection/components/wizard-icon/wizard-icon.css +2 -2
- package/dist/collection/components/wizard-icon/wizard-icon.js +1 -1
- package/dist/collection/utils/types/table.types.js +0 -5
- package/dist/components/b2b-alert.js +1 -1
- package/dist/components/b2b-anchor.js +10 -4
- package/dist/components/b2b-breadcrumb-item.js +1 -1
- package/dist/components/b2b-breadcrumb.js +12 -4
- package/dist/components/b2b-date-picker.js +8 -9
- package/dist/components/b2b-modal.js +1 -1
- package/dist/components/b2b-progress-bar.js +1 -1
- package/dist/components/b2b-radio-button.js +1 -1
- package/dist/components/b2b-radio-group.js +5 -2
- package/dist/components/b2b-required-separator.js +1 -1
- package/dist/components/b2b-scrollable-container.js +1 -1
- package/dist/components/b2b-search.js +1 -1
- package/dist/components/b2b-tab-group.js +1 -1
- package/dist/components/b2b-tab-panel.js +1 -1
- package/dist/components/b2b-tab.js +2 -2
- package/dist/components/b2b-table-row.js +24 -18
- package/dist/components/b2b-table-rowgroup.js +5 -21
- package/dist/components/b2b-table.js +2 -2
- package/dist/components/b2b-textarea.js +2 -2
- package/dist/components/b2b-toggle-button.js +3 -3
- package/dist/components/b2b-toggle-chip.js +3 -3
- package/dist/components/b2b-toggle-group.js +2 -2
- package/dist/components/b2b-toggle-switch.js +4 -4
- package/dist/components/b2b-tooltip.js +3 -3
- package/dist/components/b2b-wizard-step.js +2 -2
- package/dist/components/b2b-wizard.js +1 -1
- package/dist/components/checkbox.js +1 -1
- package/dist/components/rounded-icon.js +4 -4
- package/dist/components/separator.js +1 -1
- package/dist/components/spinner.js +1 -1
- package/dist/components/table-cell.js +2 -2
- package/dist/components/table-header.js +1 -1
- package/dist/components/utils.js +6 -6
- package/dist/components/wizard-icon.js +1 -1
- package/dist/custom-elements.json +26 -1
- package/dist/esm/b2b-alert.entry.js +1 -1
- package/dist/esm/b2b-anchor.entry.js +7 -3
- package/dist/esm/b2b-breadcrumb-item.entry.js +1 -1
- package/dist/esm/b2b-breadcrumb.entry.js +8 -3
- package/dist/esm/b2b-button_2.entry.js +1 -1
- package/dist/esm/b2b-checkbox.entry.js +1 -1
- package/dist/esm/b2b-core-components.js +1 -1
- package/dist/esm/b2b-date-picker.entry.js +8 -9
- package/dist/esm/b2b-modal.entry.js +1 -1
- package/dist/esm/b2b-progress-bar.entry.js +1 -1
- package/dist/esm/b2b-radio-button.entry.js +1 -1
- package/dist/esm/b2b-radio-group.entry.js +5 -2
- package/dist/esm/b2b-required-separator.entry.js +1 -1
- package/dist/esm/b2b-rounded-icon.entry.js +4 -4
- package/dist/esm/b2b-scrollable-container.entry.js +1 -1
- package/dist/esm/b2b-search.entry.js +1 -1
- package/dist/esm/b2b-separator.entry.js +1 -1
- package/dist/esm/b2b-tab-group.entry.js +1 -1
- package/dist/esm/b2b-tab-panel.entry.js +1 -1
- package/dist/esm/b2b-tab.entry.js +2 -2
- package/dist/esm/b2b-table-cell_2.entry.js +4 -5
- package/dist/esm/b2b-table-row.entry.js +24 -17
- package/dist/esm/b2b-table-rowgroup.entry.js +5 -22
- package/dist/esm/b2b-table.entry.js +3 -4
- package/dist/esm/b2b-textarea.entry.js +2 -2
- package/dist/esm/b2b-toggle-button.entry.js +3 -3
- package/dist/esm/b2b-toggle-chip.entry.js +3 -3
- package/dist/esm/b2b-toggle-group.entry.js +2 -2
- package/dist/esm/b2b-toggle-switch.entry.js +4 -4
- package/dist/esm/b2b-tooltip.entry.js +3 -3
- package/dist/esm/b2b-wizard-icon.entry.js +1 -1
- package/dist/esm/b2b-wizard-step.entry.js +2 -2
- package/dist/esm/b2b-wizard.entry.js +1 -1
- package/dist/esm/loader.js +1 -1
- package/dist/esm/{utils-71968b12.js → utils-868299de.js} +37 -1
- package/dist/types/components/anchor/anchor.d.ts +4 -0
- package/dist/types/components/anchor/anchor.stories.d.ts +3 -1
- package/dist/types/components/breadcrumb/breadcrumb.d.ts +4 -0
- package/dist/types/components/breadcrumb/breadcrumb.stories.d.ts +1 -0
- package/dist/types/components/headline/headline.stories.d.ts +1 -0
- package/dist/types/components/radio/radio.stories.d.ts +2 -1
- package/dist/types/components/radio-group/radio-group.d.ts +2 -0
- package/dist/types/components/radio-group/radio-group.stories.d.ts +2 -1
- package/dist/types/components/table/table-row/table-row.d.ts +3 -3
- package/dist/types/components/table/table-rowgroup/table-rowgroup.d.ts +0 -1
- package/dist/types/components/table/utils.d.ts +1 -0
- package/dist/types/components.d.ts +34 -3
- package/dist/types/utils/types/table.types.d.ts +0 -6
- package/dist/web-types.json +44 -3
- package/package.json +2 -2
- package/dist/b2b-core-components/p-062b3042.entry.js +0 -1
- package/dist/b2b-core-components/p-0af31837.entry.js +0 -1
- package/dist/b2b-core-components/p-21cd256f.entry.js +0 -1
- package/dist/b2b-core-components/p-2c60a909.entry.js +0 -1
- package/dist/b2b-core-components/p-2d3de3a7.entry.js +0 -1
- package/dist/b2b-core-components/p-39254a15.entry.js +0 -1
- package/dist/b2b-core-components/p-6148866a.entry.js +0 -1
- package/dist/b2b-core-components/p-6f17d047.entry.js +0 -1
- package/dist/b2b-core-components/p-baa99f00.entry.js +0 -1
- package/dist/b2b-core-components/p-bff69403.js +0 -1
- package/dist/b2b-core-components/p-d3f86dfe.entry.js +0 -1
- package/dist/b2b-core-components/p-d6400aa5.js +0 -1
- package/dist/b2b-core-components/p-df71f2a8.entry.js +0 -1
- package/dist/cjs/table.types-5df665b6.js +0 -45
- package/dist/esm/table.types-083a173a.js +0 -37
|
@@ -36,14 +36,14 @@ export class TableCellComponent {
|
|
|
36
36
|
}
|
|
37
37
|
}
|
|
38
38
|
render() {
|
|
39
|
-
return (h(Host, { key: '
|
|
39
|
+
return (h(Host, { key: '571ec5bc494057bfbe9c9146da086bb6a192f298', onMouseEnter: this.addExpandStyles, onMouseLeave: this.removeExpandStyles, class: {
|
|
40
40
|
'b2b-table-cell': true,
|
|
41
41
|
['b2b-table-cell--colspan']: this.size === TableSizes.COLSPAN,
|
|
42
42
|
['b2b-table-cell--ellipsis']: this.useTextEllipsis,
|
|
43
43
|
['b2b-table-cell--' + this.align]: true,
|
|
44
44
|
['b2b-table-cell--divider']: this.divider,
|
|
45
45
|
[`b2b-table-cell-color-${this.color}`]: true,
|
|
46
|
-
}, role: "cell" }, h("slot", { key: '
|
|
46
|
+
}, role: "cell" }, h("slot", { key: '10385f497f0061d09b227b88456205bac24f272f' })));
|
|
47
47
|
}
|
|
48
48
|
static get is() { return "b2b-table-cell"; }
|
|
49
49
|
static get encapsulation() { return "shadow"; }
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Do not edit directly
|
|
3
|
-
* Generated on
|
|
3
|
+
* Generated on Tue, 21 Jan 2025 10:05:32 GMT
|
|
4
4
|
*/
|
|
5
5
|
:root, :host {
|
|
6
6
|
--b2b-size-200: 5rem; /* 80px */
|
|
@@ -122,7 +122,7 @@
|
|
|
122
122
|
}
|
|
123
123
|
/**
|
|
124
124
|
* Do not edit directly
|
|
125
|
-
* Generated on
|
|
125
|
+
* Generated on Tue, 21 Jan 2025 10:05:32 GMT
|
|
126
126
|
*/
|
|
127
127
|
:root [data-theme="dark"] {
|
|
128
128
|
--b2b-size-200: 5rem; /* 80px */
|
|
@@ -72,7 +72,7 @@ export class TableHeaderComponent {
|
|
|
72
72
|
this.setIconPlacement();
|
|
73
73
|
}
|
|
74
74
|
render() {
|
|
75
|
-
return (h(Host, { key: '
|
|
75
|
+
return (h(Host, { key: '34f96e3a7c5c36cafadb463a72f1acec6550d367', class: {
|
|
76
76
|
[`b2b-table-header--${this.sortDirection && this.iconAlign}`]: true,
|
|
77
77
|
'b2b-table-header--divider': this.divider,
|
|
78
78
|
[`b2b-table-header--${this.size}`]: true,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Do not edit directly
|
|
3
|
-
* Generated on
|
|
3
|
+
* Generated on Tue, 21 Jan 2025 10:05:32 GMT
|
|
4
4
|
*/
|
|
5
5
|
:root, :host {
|
|
6
6
|
--b2b-size-200: 5rem; /* 80px */
|
|
@@ -122,7 +122,7 @@
|
|
|
122
122
|
}
|
|
123
123
|
/**
|
|
124
124
|
* Do not edit directly
|
|
125
|
-
* Generated on
|
|
125
|
+
* Generated on Tue, 21 Jan 2025 10:05:32 GMT
|
|
126
126
|
*/
|
|
127
127
|
:root [data-theme="dark"] {
|
|
128
128
|
--b2b-size-200: 5rem; /* 80px */
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { h, Host, } from "@stencil/core";
|
|
2
|
-
import {
|
|
2
|
+
import { TableColourOptions, TableSizes, } from "../../../utils/types/table.types";
|
|
3
|
+
import { isFirstRow } from "../utils";
|
|
3
4
|
export class TableRowComponent {
|
|
4
5
|
constructor() {
|
|
5
6
|
this.toggleOpen = () => {
|
|
@@ -17,8 +18,11 @@ export class TableRowComponent {
|
|
|
17
18
|
});
|
|
18
19
|
};
|
|
19
20
|
this.getRowColor = () => {
|
|
20
|
-
if (this.
|
|
21
|
+
if (this.isAccordion() &&
|
|
22
|
+
isFirstRow(this.hostElement) &&
|
|
23
|
+
!this.isHeader()) {
|
|
21
24
|
return TableColourOptions.GROUP;
|
|
25
|
+
}
|
|
22
26
|
return this.color;
|
|
23
27
|
};
|
|
24
28
|
/** Only needs to be added if we control the state of the selection. */
|
|
@@ -29,8 +33,14 @@ export class TableRowComponent {
|
|
|
29
33
|
this.getParentRowGroup = () => {
|
|
30
34
|
return this.hostElement.closest('b2b-table-rowgroup');
|
|
31
35
|
};
|
|
36
|
+
this.isAccordion = () => {
|
|
37
|
+
return this.getParentRowGroup().hasAttribute('accordion');
|
|
38
|
+
};
|
|
39
|
+
this.isHeader = () => {
|
|
40
|
+
return this.getParentRowGroup().type === 'header';
|
|
41
|
+
};
|
|
32
42
|
this.getCheckbox = () => {
|
|
33
|
-
|
|
43
|
+
const parent = this.getParentRowGroup();
|
|
34
44
|
if (this.shouldAddCheckbox()) {
|
|
35
45
|
if (parent.type === 'header') {
|
|
36
46
|
return (h("b2b-table-header", { class: "b2b-table-row__control-cell--checkbox" }, h("b2b-checkbox", { standalone: true, checked: this.checked, indeterminate: this.indeterminate })));
|
|
@@ -41,23 +51,21 @@ export class TableRowComponent {
|
|
|
41
51
|
}
|
|
42
52
|
};
|
|
43
53
|
this.getAccordionColumns = () => {
|
|
44
|
-
if (this.
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
'b2b-table-row__accordion-icon': true,
|
|
51
|
-
'b2b-table-row__accordion-icon--open': this.isOpen,
|
|
52
|
-
} }, h("b2b-icon", { icon: "b2b_icon-arrow-right", clickable: true }))));
|
|
53
|
-
case TableAccordionRowTypes.CHILD:
|
|
54
|
-
return (h("b2b-table-cell", { class: "b2b-table-row__control-cell--accordion" }));
|
|
54
|
+
if (this.isAccordion() && !this.isHeader()) {
|
|
55
|
+
if (isFirstRow(this.hostElement)) {
|
|
56
|
+
return (h("b2b-table-cell", null, h("button", { onClick: this.toggleOpen, class: {
|
|
57
|
+
'b2b-table-row__accordion-icon': true,
|
|
58
|
+
'b2b-table-row__accordion-icon--open': this.isOpen,
|
|
59
|
+
} }, h("b2b-icon", { icon: "b2b_icon-arrow-right", clickable: true }))));
|
|
55
60
|
}
|
|
61
|
+
return (h("b2b-table-cell", { class: "b2b-table-row__control-cell--accordion" }));
|
|
62
|
+
}
|
|
63
|
+
else if (this.isAccordion() && this.isHeader()) {
|
|
64
|
+
return (h("b2b-table-header", { class: "b2b-table-row__control-cell--accordion" }));
|
|
56
65
|
}
|
|
57
66
|
};
|
|
58
67
|
this.highlight = true;
|
|
59
68
|
this.color = 'default';
|
|
60
|
-
this.accordionType = undefined;
|
|
61
69
|
this.selectable = undefined;
|
|
62
70
|
this.size = undefined;
|
|
63
71
|
this.value = undefined;
|
|
@@ -91,12 +99,12 @@ export class TableRowComponent {
|
|
|
91
99
|
}
|
|
92
100
|
}
|
|
93
101
|
render() {
|
|
94
|
-
return (h(Host, { key: '
|
|
102
|
+
return (h(Host, { key: 'f92b4349e74b6f9f4ff5da3661a268c0554cacf1', class: {
|
|
95
103
|
'b2b-table-row': true,
|
|
96
104
|
['b2b-table-row--colspan']: this.size === TableSizes.COLSPAN,
|
|
97
105
|
['b2b-table-row--highlight']: this.highlight,
|
|
98
106
|
[`b2b-table-row--color-${this.getRowColor()}`]: true,
|
|
99
|
-
}, role: "row" }, this.getAccordionColumns(), this.getCheckbox(), h("slot", { key: '
|
|
107
|
+
}, role: "row" }, this.getAccordionColumns(), this.getCheckbox(), h("slot", { key: '08f7b690c3b0a7ae8e8083254b9a975989306e57' })));
|
|
100
108
|
}
|
|
101
109
|
static get is() { return "b2b-table-row"; }
|
|
102
110
|
static get encapsulation() { return "shadow"; }
|
|
@@ -154,32 +162,6 @@ export class TableRowComponent {
|
|
|
154
162
|
"reflect": false,
|
|
155
163
|
"defaultValue": "'default'"
|
|
156
164
|
},
|
|
157
|
-
"accordionType": {
|
|
158
|
-
"type": "string",
|
|
159
|
-
"mutable": false,
|
|
160
|
-
"complexType": {
|
|
161
|
-
"original": "TableAccordionRowTypes",
|
|
162
|
-
"resolved": "\"child\" | \"header\" | \"parent\"",
|
|
163
|
-
"references": {
|
|
164
|
-
"TableAccordionRowTypes": {
|
|
165
|
-
"location": "import",
|
|
166
|
-
"path": "../../../utils/types/table.types",
|
|
167
|
-
"id": "src/utils/types/table.types.ts::TableAccordionRowTypes"
|
|
168
|
-
}
|
|
169
|
-
}
|
|
170
|
-
},
|
|
171
|
-
"required": false,
|
|
172
|
-
"optional": false,
|
|
173
|
-
"docs": {
|
|
174
|
-
"tags": [{
|
|
175
|
-
"name": "internal",
|
|
176
|
-
"text": "Determined by the parent rowgroup for accordion rowgroups."
|
|
177
|
-
}],
|
|
178
|
-
"text": ""
|
|
179
|
-
},
|
|
180
|
-
"attribute": "accordion-type",
|
|
181
|
-
"reflect": false
|
|
182
|
-
},
|
|
183
165
|
"selectable": {
|
|
184
166
|
"type": "boolean",
|
|
185
167
|
"mutable": false,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Do not edit directly
|
|
3
|
-
* Generated on
|
|
3
|
+
* Generated on Tue, 21 Jan 2025 10:05:32 GMT
|
|
4
4
|
*/
|
|
5
5
|
:root, :host {
|
|
6
6
|
--b2b-size-200: 5rem; /* 80px */
|
|
@@ -122,7 +122,7 @@
|
|
|
122
122
|
}
|
|
123
123
|
/**
|
|
124
124
|
* Do not edit directly
|
|
125
|
-
* Generated on
|
|
125
|
+
* Generated on Tue, 21 Jan 2025 10:05:32 GMT
|
|
126
126
|
*/
|
|
127
127
|
:root [data-theme="dark"] {
|
|
128
128
|
--b2b-size-200: 5rem; /* 80px */
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { h, Host, } from "@stencil/core";
|
|
2
|
-
import {
|
|
3
|
-
import { updateCheckboxState, getFirstRow, getAllRows, getRemainingRows, } from "../utils";
|
|
2
|
+
import { TableRowgroupTypes, TableSizes, } from "../../../utils/types/table.types";
|
|
3
|
+
import { updateCheckboxState, getFirstRow, getAllRows, getRemainingRows, isFirstRow, } from "../utils";
|
|
4
4
|
export class TableRowgroupComponent {
|
|
5
5
|
constructor() {
|
|
6
6
|
this.toggleSelectAll = (event, children) => {
|
|
7
7
|
this.toggleList(children, event);
|
|
8
|
-
const rows = children.filter(child => child
|
|
8
|
+
const rows = children.filter(child => !isFirstRow(child));
|
|
9
9
|
this.selectedValues = [...rows]
|
|
10
10
|
.filter(child => child.checked)
|
|
11
11
|
.map(child => child.value);
|
|
@@ -13,20 +13,6 @@ export class TableRowgroupComponent {
|
|
|
13
13
|
this.toggleList = (list, event) => {
|
|
14
14
|
list.forEach(child => ((child.checked = event.detail.checked), (child.indeterminate = false)));
|
|
15
15
|
};
|
|
16
|
-
this.addAccordionControlColumn = () => {
|
|
17
|
-
const firstRow = getFirstRow(this.host);
|
|
18
|
-
if (this.type === TableRowgroupTypes.HEADER) {
|
|
19
|
-
firstRow && (firstRow.accordionType = TableAccordionRowTypes.HEADER);
|
|
20
|
-
}
|
|
21
|
-
else {
|
|
22
|
-
firstRow && (firstRow.accordionType = TableAccordionRowTypes.PARENT);
|
|
23
|
-
}
|
|
24
|
-
const children = getRemainingRows(this.host);
|
|
25
|
-
children &&
|
|
26
|
-
children.forEach(child => {
|
|
27
|
-
child.accordionType = TableAccordionRowTypes.CHILD;
|
|
28
|
-
});
|
|
29
|
-
};
|
|
30
16
|
this.addCheckboxColumn = () => {
|
|
31
17
|
const children = getAllRows(this.host);
|
|
32
18
|
children.forEach(child => (child.selectable = true));
|
|
@@ -84,8 +70,7 @@ export class TableRowgroupComponent {
|
|
|
84
70
|
const target = event.target;
|
|
85
71
|
const table = this.host.closest('b2b-table');
|
|
86
72
|
const parentValue = (_a = getFirstRow(this.host).value) !== null && _a !== void 0 ? _a : 'header';
|
|
87
|
-
if (this.accordion &&
|
|
88
|
-
target.accordionType === TableAccordionRowTypes.PARENT) {
|
|
73
|
+
if (this.accordion && isFirstRow(target) && parentValue != 'header') {
|
|
89
74
|
const children = getRemainingRows(this.host);
|
|
90
75
|
this.toggleSelectAll(event, children);
|
|
91
76
|
}
|
|
@@ -118,7 +103,6 @@ export class TableRowgroupComponent {
|
|
|
118
103
|
}
|
|
119
104
|
componentWillLoad() {
|
|
120
105
|
if (this.accordion) {
|
|
121
|
-
this.addAccordionControlColumn();
|
|
122
106
|
this.toggleInitialVisibility();
|
|
123
107
|
}
|
|
124
108
|
if (this.selectable) {
|
|
@@ -129,11 +113,11 @@ export class TableRowgroupComponent {
|
|
|
129
113
|
this.makeHeaderRowNotSelectable();
|
|
130
114
|
}
|
|
131
115
|
render() {
|
|
132
|
-
return (h(Host, { key: '
|
|
116
|
+
return (h(Host, { key: '4dd4d9fe40cbb15bbbdd8aeff90d31372da60cdd', class: {
|
|
133
117
|
['b2b-table-rowgroup__' + this.type]: true,
|
|
134
118
|
'b2b-table-rowgroup--fixed': this.fixed,
|
|
135
119
|
'b2b-table-rowgroup--colspan': this.size === TableSizes.COLSPAN,
|
|
136
|
-
}, role: "rowgroup" }, h("slot", { key: '
|
|
120
|
+
}, role: "rowgroup" }, h("slot", { key: 'd4492ca4f42bde66052ed61c9d3bfebc74e790e7' })));
|
|
137
121
|
}
|
|
138
122
|
static get is() { return "b2b-table-rowgroup"; }
|
|
139
123
|
static get encapsulation() { return "shadow"; }
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Do not edit directly
|
|
3
|
-
* Generated on
|
|
3
|
+
* Generated on Tue, 21 Jan 2025 10:05:32 GMT
|
|
4
4
|
*/
|
|
5
5
|
:root, :host {
|
|
6
6
|
--b2b-size-200: 5rem; /* 80px */
|
|
@@ -122,7 +122,7 @@
|
|
|
122
122
|
}
|
|
123
123
|
/**
|
|
124
124
|
* Do not edit directly
|
|
125
|
-
* Generated on
|
|
125
|
+
* Generated on Tue, 21 Jan 2025 10:05:32 GMT
|
|
126
126
|
*/
|
|
127
127
|
:root [data-theme="dark"] {
|
|
128
128
|
--b2b-size-200: 5rem; /* 80px */
|
|
@@ -200,15 +200,15 @@ describe('B2B-Table', () => {
|
|
|
200
200
|
page = await newE2EPage();
|
|
201
201
|
await page.setContent(tableWithAccordion);
|
|
202
202
|
const firstRow = await page.find('#test-parent');
|
|
203
|
-
const
|
|
204
|
-
expect(
|
|
203
|
+
const arrowCell = await firstRow.find('b2b-table-row__accordion-icon');
|
|
204
|
+
expect(arrowCell).toBeDefined();
|
|
205
205
|
});
|
|
206
206
|
it('should render all rows as accordion children when they are in the same rowgroup of type body in which accordion is true', async () => {
|
|
207
207
|
page = await newE2EPage();
|
|
208
208
|
await page.setContent(tableWithAccordion);
|
|
209
|
-
const
|
|
210
|
-
const
|
|
211
|
-
expect(
|
|
209
|
+
const childRow = await page.find('#test-child');
|
|
210
|
+
const controlCell = await childRow.find('.b2b-table-row__control-cell--accordion');
|
|
211
|
+
expect(controlCell).toBeDefined();
|
|
212
212
|
});
|
|
213
213
|
it('should add an extra column for controls if accordion is true on a rowgroup', async () => {
|
|
214
214
|
page = await newE2EPage();
|
|
@@ -60,9 +60,9 @@ export class TableComponent {
|
|
|
60
60
|
}
|
|
61
61
|
}
|
|
62
62
|
render() {
|
|
63
|
-
return (h(Host, { key: '
|
|
63
|
+
return (h(Host, { key: '70f900f2160167e3f808c9c432cfa3bb134624c0', class: {
|
|
64
64
|
['b2b-table--' + this.size]: true,
|
|
65
|
-
}, role: "table" }, h("slot", { key: '
|
|
65
|
+
}, role: "table" }, h("slot", { key: 'c0b35190bb004dd3332e3b2bb856e30a1adee829' })));
|
|
66
66
|
}
|
|
67
67
|
static get is() { return "b2b-table"; }
|
|
68
68
|
static get encapsulation() { return "shadow"; }
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Do not edit directly
|
|
3
|
-
* Generated on
|
|
3
|
+
* Generated on Tue, 21 Jan 2025 10:05:32 GMT
|
|
4
4
|
*/
|
|
5
5
|
:root, :host {
|
|
6
6
|
--b2b-size-200: 5rem; /* 80px */
|
|
@@ -122,7 +122,7 @@
|
|
|
122
122
|
}
|
|
123
123
|
/**
|
|
124
124
|
* Do not edit directly
|
|
125
|
-
* Generated on
|
|
125
|
+
* Generated on Tue, 21 Jan 2025 10:05:32 GMT
|
|
126
126
|
*/
|
|
127
127
|
:root [data-theme="dark"] {
|
|
128
128
|
--b2b-size-200: 5rem; /* 80px */
|
|
@@ -45,10 +45,10 @@ export class B2BTextareaComponent {
|
|
|
45
45
|
}
|
|
46
46
|
}
|
|
47
47
|
render() {
|
|
48
|
-
return (h(Host, { key: '
|
|
48
|
+
return (h(Host, { key: 'adf829a538a8234008981a3f1a56d5f370b859ec', class: {
|
|
49
49
|
'b2b-textarea': true,
|
|
50
50
|
'b2b-textarea--error': this.invalid && !this.disabled,
|
|
51
|
-
} }, this.label && (h("b2b-input-label", { id: this.name, required: this.required }, this.label)), h("textarea", { key: '
|
|
51
|
+
} }, this.label && (h("b2b-input-label", { id: this.name, required: this.required }, this.label)), h("textarea", { key: 'c64d67fb1eb2a7552643815f10b139d34a7a46bd', class: "textarea-input", "aria-labelledby": this.name, style: Object.assign({ height: this.height }, (Boolean(this.resize) && { resize: this.resize })), value: this.value, name: this.name, placeholder: this.placeholder, disabled: this.disabled, autoFocus: this.autofocus, onFocus: this.onFocus, onBlur: this.onBlur, onInput: this.onInput, maxLength: this.maxLength }), (this.hint !== undefined && !this.invalid) ||
|
|
52
52
|
(this.hint !== undefined && this.disabled) ? (h("span", null, this.hint)) : (''), this.error !== undefined && this.invalid && !this.disabled ? (h("span", null, this.error)) : ('')));
|
|
53
53
|
}
|
|
54
54
|
static get is() { return "b2b-textarea"; }
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Do not edit directly
|
|
3
|
-
* Generated on
|
|
3
|
+
* Generated on Tue, 21 Jan 2025 10:05:32 GMT
|
|
4
4
|
*/
|
|
5
5
|
:root, :host {
|
|
6
6
|
--b2b-size-200: 5rem; /* 80px */
|
|
@@ -122,7 +122,7 @@
|
|
|
122
122
|
}
|
|
123
123
|
/**
|
|
124
124
|
* Do not edit directly
|
|
125
|
-
* Generated on
|
|
125
|
+
* Generated on Tue, 21 Jan 2025 10:05:32 GMT
|
|
126
126
|
*/
|
|
127
127
|
:root [data-theme="dark"] {
|
|
128
128
|
--b2b-size-200: 5rem; /* 80px */
|
|
@@ -31,13 +31,13 @@ export class B2bToggleButtonComponent {
|
|
|
31
31
|
return Array.from(document.querySelectorAll(`b2b-toggle-button[name="${this.name}"]`)).filter((toggle) => toggle.value !== this.value);
|
|
32
32
|
}
|
|
33
33
|
render() {
|
|
34
|
-
return (h(Host, { key: '
|
|
34
|
+
return (h(Host, { key: '72a27c904d091619da19fb5dab2da588326688df', onClick: this.onClick }, h("span", { key: '165c0254153fa4a3bff6d76f58f844830344f8c2', class: {
|
|
35
35
|
'b2b-toggle-button': true,
|
|
36
36
|
'b2b-toggle-button--disabled': this.disabled,
|
|
37
|
-
} }, h("input", { key: '
|
|
37
|
+
} }, h("input", { key: '0d6ee278d5db9f360e7ab466daeaebced17063e6', tabindex: 0, class: {
|
|
38
38
|
'b2b-toggle-button__input': true,
|
|
39
39
|
'b2b-toggle-button__input--disabled': this.disabled,
|
|
40
|
-
}, "aria-labelledby": this.name, type: "radio", checked: this.checked && !this.disabled, disabled: this.disabled, name: this.name, value: this.value }), h("label", { key: '
|
|
40
|
+
}, "aria-labelledby": this.name, type: "radio", checked: this.checked && !this.disabled, disabled: this.disabled, name: this.name, value: this.value }), h("label", { key: 'f073f01258465886c9fe70e99692ffee84db38bc', id: this.name, tabindex: -1, class: {
|
|
41
41
|
'b2b-toggle-button__label': true,
|
|
42
42
|
'b2b-toggle-button__label--disabled': this.disabled,
|
|
43
43
|
'b2b-toggle-button__label--checked': this.checked && !this.disabled,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Do not edit directly
|
|
3
|
-
* Generated on
|
|
3
|
+
* Generated on Tue, 21 Jan 2025 10:05:32 GMT
|
|
4
4
|
*/
|
|
5
5
|
:root, :host {
|
|
6
6
|
--b2b-size-200: 5rem; /* 80px */
|
|
@@ -122,7 +122,7 @@
|
|
|
122
122
|
}
|
|
123
123
|
/**
|
|
124
124
|
* Do not edit directly
|
|
125
|
-
* Generated on
|
|
125
|
+
* Generated on Tue, 21 Jan 2025 10:05:32 GMT
|
|
126
126
|
*/
|
|
127
127
|
:root [data-theme="dark"] {
|
|
128
128
|
--b2b-size-200: 5rem; /* 80px */
|
|
@@ -33,11 +33,11 @@ export class B2BToggleChipComponent {
|
|
|
33
33
|
this.disabled = false;
|
|
34
34
|
}
|
|
35
35
|
render() {
|
|
36
|
-
return (h(Host, { key: '
|
|
36
|
+
return (h(Host, { key: '521c77d6f300a1e0a3f978a6645c37f7ca3a7aeb' }, h("span", { key: '73ee23bfcf46564a32afac2892479830c25b81b8', onClick: this.onClick, onKeyDown: this.onKeyDown, class: {
|
|
37
37
|
'b2b-toggle-chip': true,
|
|
38
|
-
} }, h("input", { key: '
|
|
38
|
+
} }, h("input", { key: '1b0fa2b361fc41d011e7d71d56dc48c614cc478a', "aria-labelledby": this.name, tabindex: this.disabled ? -1 : 0, class: {
|
|
39
39
|
'b2b-toggle-chip__input': true,
|
|
40
|
-
}, type: "checkbox", checked: this.active && !this.disabled, disabled: this.disabled, name: this.name, value: this.value }), h("label", { key: '
|
|
40
|
+
}, type: "checkbox", checked: this.active && !this.disabled, disabled: this.disabled, name: this.name, value: this.value }), h("label", { key: '6de8f234f543595ab2995854c1f995ce1c724f8b', id: this.name, tabIndex: -1, class: {
|
|
41
41
|
'b2b-toggle-chip__label': true,
|
|
42
42
|
[`b2b-toggle-chip__label--${this.variant}`]: true,
|
|
43
43
|
'b2b-toggle-chip__label--active': this.active,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Do not edit directly
|
|
3
|
-
* Generated on
|
|
3
|
+
* Generated on Tue, 21 Jan 2025 10:05:32 GMT
|
|
4
4
|
*/
|
|
5
5
|
:root, :host {
|
|
6
6
|
--b2b-size-200: 5rem; /* 80px */
|
|
@@ -122,7 +122,7 @@
|
|
|
122
122
|
}
|
|
123
123
|
/**
|
|
124
124
|
* Do not edit directly
|
|
125
|
-
* Generated on
|
|
125
|
+
* Generated on Tue, 21 Jan 2025 10:05:32 GMT
|
|
126
126
|
*/
|
|
127
127
|
:root [data-theme="dark"] {
|
|
128
128
|
--b2b-size-200: 5rem; /* 80px */
|
|
@@ -45,10 +45,10 @@ export class B2BToggleGroup {
|
|
|
45
45
|
}
|
|
46
46
|
}
|
|
47
47
|
render() {
|
|
48
|
-
return (h(Host, { key: '
|
|
48
|
+
return (h(Host, { key: 'e81f98de29ab06594da8b9e19e68f4ec9f3c878f' }, h("div", { key: 'a590585c94ab40ea54abd08031ab9b1482bc4a78', class: {
|
|
49
49
|
'b2b-toggle-group': true,
|
|
50
50
|
'b2b-toggle-group--disabled': this.disabled,
|
|
51
|
-
} }, h("fieldset", { key: '
|
|
51
|
+
} }, h("fieldset", { key: 'f8a20fb30c7b5fd958171f91a2219a2efbd7a5ca' }, h("slot", { key: '3e0bc10d09053d008a9d771721c57463ce437e27' })))));
|
|
52
52
|
}
|
|
53
53
|
static get is() { return "b2b-toggle-group"; }
|
|
54
54
|
static get encapsulation() { return "shadow"; }
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Do not edit directly
|
|
3
|
-
* Generated on
|
|
3
|
+
* Generated on Tue, 21 Jan 2025 10:05:32 GMT
|
|
4
4
|
*/
|
|
5
5
|
:root, :host {
|
|
6
6
|
--b2b-size-200: 5rem; /* 80px */
|
|
@@ -122,7 +122,7 @@
|
|
|
122
122
|
}
|
|
123
123
|
/**
|
|
124
124
|
* Do not edit directly
|
|
125
|
-
* Generated on
|
|
125
|
+
* Generated on Tue, 21 Jan 2025 10:05:32 GMT
|
|
126
126
|
*/
|
|
127
127
|
:root [data-theme="dark"] {
|
|
128
128
|
--b2b-size-200: 5rem; /* 80px */
|
|
@@ -38,17 +38,17 @@ export class B2bToggleSwitchComponent {
|
|
|
38
38
|
render() {
|
|
39
39
|
// workaround for purgecss as safelist doesn't work
|
|
40
40
|
const isLeft = this.labelPosition === 'left';
|
|
41
|
-
return (h(Host, { key: '
|
|
41
|
+
return (h(Host, { key: 'ead51ac66423aad33f3714724dd943f76c9a5a2d' }, h("div", { key: 'bd253f3dac1128d188d1fcee84fd35c1dcb07a2d', class: {
|
|
42
42
|
'b2b-toggle': true,
|
|
43
43
|
'b2b-toggle--disabled': this.disabled,
|
|
44
44
|
'b2b-toggle--checked': this.state,
|
|
45
|
-
} }, h("div", { key: '
|
|
45
|
+
} }, h("div", { key: '69f605ce7363e4aa7aa89b0783721ae30c8897ca', class: {
|
|
46
46
|
'b2b-toggle__label': true,
|
|
47
47
|
'b2b-toggle__label--left': isLeft,
|
|
48
|
-
} }, h("span", { key: '
|
|
48
|
+
} }, h("span", { key: 'b52b3852d95df99a32aa095532d7fe6897e7b638', class: "b2b-toggle__switch", role: "switch", tabIndex: 0, onKeyDown: this.onKeyDown, onClick: this.onClick }, h("svg", { key: 'c8752f6668e05da681f6682e604441fdac6b1365', class: {
|
|
49
49
|
'b2b-toggle__icon': true,
|
|
50
50
|
'b2b-toggle__icon--show': this.state,
|
|
51
|
-
}, xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 30 30" }, h("path", { key: '
|
|
51
|
+
}, xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 30 30" }, h("path", { key: '09d63539b5f10f54089658ea44fa081bbd3fceb7', d: "M11.798 25.082c-.341 0-.681-.13-.942-.389l-7.132-7.115a1.334 1.334 0 0 1 1.884-1.888l6.19 6.175L26.391 7.307a1.334 1.334 0 0 1 1.884 1.888L12.74 24.693c-.26.259-.601.389-.942.389z" }))), this.label && (h("span", { class: {
|
|
52
52
|
'b2b-toggle__text': true,
|
|
53
53
|
'b2b-toggle__text--left': isLeft,
|
|
54
54
|
} }, this.label))))));
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Do not edit directly
|
|
3
|
-
* Generated on
|
|
3
|
+
* Generated on Tue, 21 Jan 2025 10:05:32 GMT
|
|
4
4
|
*/
|
|
5
5
|
:root, :host {
|
|
6
6
|
--b2b-size-200: 5rem; /* 80px */
|
|
@@ -122,7 +122,7 @@
|
|
|
122
122
|
}
|
|
123
123
|
/**
|
|
124
124
|
* Do not edit directly
|
|
125
|
-
* Generated on
|
|
125
|
+
* Generated on Tue, 21 Jan 2025 10:05:32 GMT
|
|
126
126
|
*/
|
|
127
127
|
:root [data-theme="dark"] {
|
|
128
128
|
--b2b-size-200: 5rem; /* 80px */
|
|
@@ -59,13 +59,13 @@ export class B2BTooltipComponent {
|
|
|
59
59
|
}
|
|
60
60
|
}
|
|
61
61
|
render() {
|
|
62
|
-
return (h(Host, { key: '
|
|
62
|
+
return (h(Host, { key: '85d4ea6d00cc0a1cb3f411e2ea2d57f064ba114d', onMouseEnter: this.onMouseEnter, onMouseLeave: this.onMouseLeave }, h("span", { key: '8503ac0f0638dd3501a62741a9cb668bd08a4c55', class: {
|
|
63
63
|
[`b2b-tooltip--${this.position}`]: true,
|
|
64
64
|
'b2b-tooltip__trigger': true,
|
|
65
|
-
} }, h("slot", { key: '
|
|
65
|
+
} }, h("slot", { key: '009c743af15c9ebc54bdf6dee620f15e43e306ee' }), h("div", { key: '7b655965e432651456d26f147fef251bdd505cce', class: {
|
|
66
66
|
'b2b-tooltip__content': true,
|
|
67
67
|
'b2b-tooltip--visible': this.opened,
|
|
68
|
-
} }, h("slot", { key: '
|
|
68
|
+
} }, h("slot", { key: 'f653061d233472af5731448814e16872c189c4c9', name: "content" }, this.content)))));
|
|
69
69
|
}
|
|
70
70
|
static get is() { return "b2b-tooltip"; }
|
|
71
71
|
static get encapsulation() { return "shadow"; }
|
|
@@ -7,10 +7,10 @@ export class WizardStepComponent {
|
|
|
7
7
|
this.checkIcon = true;
|
|
8
8
|
}
|
|
9
9
|
render() {
|
|
10
|
-
return (h(Host, { key: '
|
|
10
|
+
return (h(Host, { key: '549e0e7ff5030f4a5fc472e046f65fbe964f89cf' }, h("div", { key: 'a2f9dd5665eb063c5c51df700765509dca2c1616', class: "b2b_wizard__step" }, h("b2b-wizard-icon", { key: 'cdd5ed4aa979be3b2f878c7f735afc11fa2936bd', step: this.step, state: this.state, checkIcon: this.checkIcon }), h("div", { key: '84c4d7608daf542354ca707881730de8a3c65783', class: {
|
|
11
11
|
'b2b_wizard__step__label': true,
|
|
12
12
|
'b2b_wizard__step__label--default': this.state === WizardStatus.DEFAULT,
|
|
13
|
-
} }, h("slot", { key: '
|
|
13
|
+
} }, h("slot", { key: '00837facfab31ae121002e62277c0bc907161bf6' })))));
|
|
14
14
|
}
|
|
15
15
|
static get is() { return "b2b-wizard-step"; }
|
|
16
16
|
static get encapsulation() { return "shadow"; }
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Do not edit directly
|
|
3
|
-
* Generated on
|
|
3
|
+
* Generated on Tue, 21 Jan 2025 10:05:32 GMT
|
|
4
4
|
*/
|
|
5
5
|
:root, :host {
|
|
6
6
|
--b2b-size-200: 5rem; /* 80px */
|
|
@@ -122,7 +122,7 @@
|
|
|
122
122
|
}
|
|
123
123
|
/**
|
|
124
124
|
* Do not edit directly
|
|
125
|
-
* Generated on
|
|
125
|
+
* Generated on Tue, 21 Jan 2025 10:05:32 GMT
|
|
126
126
|
*/
|
|
127
127
|
:root [data-theme="dark"] {
|
|
128
128
|
--b2b-size-200: 5rem; /* 80px */
|
|
@@ -44,7 +44,7 @@ export class WizardComponent {
|
|
|
44
44
|
this.setStepsState();
|
|
45
45
|
}
|
|
46
46
|
render() {
|
|
47
|
-
return (h(Host, { key: '
|
|
47
|
+
return (h(Host, { key: '82f36879396d38b9423200ba7a73601b327335b8' }, h("div", { key: '83b2827e4c284420456b76c4b39c683851992731', class: "b2b_wizard" }, h("slot", { key: 'b88f8ab6a5831168bd5ab9b6f0e2c4cc9cabccec' }))));
|
|
48
48
|
}
|
|
49
49
|
static get is() { return "b2b-wizard"; }
|
|
50
50
|
static get encapsulation() { return "shadow"; }
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Do not edit directly
|
|
3
|
-
* Generated on
|
|
3
|
+
* Generated on Tue, 21 Jan 2025 10:05:32 GMT
|
|
4
4
|
*/
|
|
5
5
|
:root, :host {
|
|
6
6
|
--b2b-size-200: 5rem; /* 80px */
|
|
@@ -122,7 +122,7 @@
|
|
|
122
122
|
}
|
|
123
123
|
/**
|
|
124
124
|
* Do not edit directly
|
|
125
|
-
* Generated on
|
|
125
|
+
* Generated on Tue, 21 Jan 2025 10:05:32 GMT
|
|
126
126
|
*/
|
|
127
127
|
:root [data-theme="dark"] {
|
|
128
128
|
--b2b-size-200: 5rem; /* 80px */
|
|
@@ -7,7 +7,7 @@ export class WizardIconComponent {
|
|
|
7
7
|
this.checkIcon = true;
|
|
8
8
|
}
|
|
9
9
|
render() {
|
|
10
|
-
return (h(Host, { key: '
|
|
10
|
+
return (h(Host, { key: '5c3ab4531997f298489cef25f5b4cee243588e74' }, h("div", { key: '9b212fbab1c0dcb54787c39da4081f1f911b7d85', class: {
|
|
11
11
|
'b2b-wizard-icon': true,
|
|
12
12
|
} }, this.state === WizardStatus.COMPLETED && (h("b2b-rounded-icon", { color: "var(--b2b-color-success-50)", "content-color": "var(--b2b-color-success-100)" }, this.checkIcon ? (h("b2b-icon", { slot: "icon", icon: "b2b_icon-check" })) : (h("span", { slot: "text" }, this.step)))), this.state === WizardStatus.PENDING && (h("b2b-rounded-icon", { color: "var(--b2b-color-icon-default)", "content-color": "var(--b2b-color-icon-inverted)" }, h("span", { slot: "text" }, this.step))), this.state === WizardStatus.DISABLED && (h("b2b-rounded-icon", { color: "var(--b2b-color-grey-100)", "content-color": "var(--b2b-color-grey-400)" }, h("span", { slot: "text" }, this.step))), this.state === WizardStatus.DEFAULT && (h("b2b-rounded-icon", { color: "transparent", "border-color": "var(--b2b-color-icon-secondary)", "content-color": "var(--b2b-color-icon-secondary)" }, h("span", { slot: "text" }, this.step))))));
|
|
13
13
|
}
|