@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
|
@@ -22,7 +22,7 @@ describe('B2B-Alert', () => {
|
|
|
22
22
|
});
|
|
23
23
|
it('should not render text in a small alert', async () => {
|
|
24
24
|
const page = await newE2EPage();
|
|
25
|
-
await page.setContent(`<b2b-alert opened>test</b2b-alert>`);
|
|
25
|
+
await page.setContent(`<b2b-alert opened size="small">test</b2b-alert>`);
|
|
26
26
|
const element = await page.find('b2b-alert >>> p');
|
|
27
27
|
expect(element).toBeNull();
|
|
28
28
|
});
|
|
@@ -54,7 +54,7 @@ describe('B2B-Alert', () => {
|
|
|
54
54
|
});
|
|
55
55
|
it('should not render a close button in a small alert', async () => {
|
|
56
56
|
const page = await newE2EPage();
|
|
57
|
-
await page.setContent(`<b2b-alert opened>test</b2b-alert>`);
|
|
57
|
+
await page.setContent(`<b2b-alert opened size="small">test</b2b-alert>`);
|
|
58
58
|
const element = await page.find('b2b-alert >>> div.b2b-alert__close-icon');
|
|
59
59
|
expect(element).toBeNull();
|
|
60
60
|
});
|
|
@@ -16,7 +16,7 @@ export class AlertComponent {
|
|
|
16
16
|
return this.size === 'small' && this.customIcon;
|
|
17
17
|
};
|
|
18
18
|
this.type = 'info';
|
|
19
|
-
this.size = '
|
|
19
|
+
this.size = 'large';
|
|
20
20
|
this.opened = false;
|
|
21
21
|
this.hasCloseButton = true;
|
|
22
22
|
this.customIcon = false;
|
|
@@ -82,7 +82,7 @@ export class AlertComponent {
|
|
|
82
82
|
},
|
|
83
83
|
"attribute": "size",
|
|
84
84
|
"reflect": false,
|
|
85
|
-
"defaultValue": "'
|
|
85
|
+
"defaultValue": "'large'"
|
|
86
86
|
},
|
|
87
87
|
"opened": {
|
|
88
88
|
"type": "boolean",
|
|
@@ -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 */
|
|
@@ -224,18 +224,27 @@
|
|
|
224
224
|
:host .b2b-anchor {
|
|
225
225
|
font-family: var(--b2b-font-family-default);
|
|
226
226
|
color: var(--b2b-color-copy-default);
|
|
227
|
-
text-decoration: underline;
|
|
228
227
|
transition: all 0.3s ease;
|
|
229
228
|
z-index: 1001;
|
|
230
229
|
position: relative;
|
|
231
230
|
}
|
|
232
|
-
:host .b2b-anchor:hover {
|
|
233
|
-
color: var(--b2b-color-red-100);
|
|
234
|
-
cursor: pointer;
|
|
235
|
-
}
|
|
236
231
|
:host .b2b-anchor--100 {
|
|
237
232
|
font-size: var(--b2b-size-copy-100);
|
|
238
233
|
}
|
|
239
234
|
:host .b2b-anchor--inherit {
|
|
240
235
|
font-size: inherit;
|
|
236
|
+
}
|
|
237
|
+
:host .b2b-anchor-hover--default:hover {
|
|
238
|
+
color: var(--b2b-color-red-100);
|
|
239
|
+
cursor: pointer;
|
|
240
|
+
}
|
|
241
|
+
:host .b2b-anchor-hover--inherit:hover {
|
|
242
|
+
color: inherit;
|
|
243
|
+
cursor: pointer;
|
|
244
|
+
}
|
|
245
|
+
:host .b2b-anchor--underline-text {
|
|
246
|
+
text-decoration: underline;
|
|
247
|
+
}
|
|
248
|
+
:host .b2b-anchor:not(.b2b-anchor--underline-text) {
|
|
249
|
+
text-decoration: none;
|
|
241
250
|
}
|
|
@@ -5,12 +5,16 @@ export class AnchorComponent {
|
|
|
5
5
|
this.download = null;
|
|
6
6
|
this.target = 'self';
|
|
7
7
|
this.size = 'inherit';
|
|
8
|
+
this.hoverColor = 'default';
|
|
9
|
+
this.underlineText = true;
|
|
8
10
|
}
|
|
9
11
|
render() {
|
|
10
|
-
return (h(Host, { key: '
|
|
12
|
+
return (h(Host, { key: '60d94771fa6bf9cf9d8e688ecd7eba179a8e28a3' }, h("a", { key: 'f18239735b64a33cf80167e98a8cec01c0b42fb3', href: this.href, download: this.download, target: `_${this.target}`, class: {
|
|
11
13
|
'b2b-anchor': true,
|
|
12
14
|
[`b2b-anchor--${this.size}`]: true,
|
|
13
|
-
|
|
15
|
+
[`b2b-anchor-hover--${this.hoverColor}`]: true,
|
|
16
|
+
'b2b-anchor--underline-text': this.underlineText,
|
|
17
|
+
} }, h("slot", { key: '9bc35228a2265b620e8e32adf9ea8040cf259192' }))));
|
|
14
18
|
}
|
|
15
19
|
static get is() { return "b2b-anchor"; }
|
|
16
20
|
static get encapsulation() { return "shadow"; }
|
|
@@ -96,6 +100,42 @@ export class AnchorComponent {
|
|
|
96
100
|
"attribute": "size",
|
|
97
101
|
"reflect": false,
|
|
98
102
|
"defaultValue": "'inherit'"
|
|
103
|
+
},
|
|
104
|
+
"hoverColor": {
|
|
105
|
+
"type": "string",
|
|
106
|
+
"mutable": false,
|
|
107
|
+
"complexType": {
|
|
108
|
+
"original": "'inherit' | 'default'",
|
|
109
|
+
"resolved": "\"default\" | \"inherit\"",
|
|
110
|
+
"references": {}
|
|
111
|
+
},
|
|
112
|
+
"required": false,
|
|
113
|
+
"optional": false,
|
|
114
|
+
"docs": {
|
|
115
|
+
"tags": [],
|
|
116
|
+
"text": "The hoverColor of the link. Per default, it is set to b2b-color-red-100. If specified as inherit, it is inherited from the parent element."
|
|
117
|
+
},
|
|
118
|
+
"attribute": "hover-color",
|
|
119
|
+
"reflect": false,
|
|
120
|
+
"defaultValue": "'default'"
|
|
121
|
+
},
|
|
122
|
+
"underlineText": {
|
|
123
|
+
"type": "boolean",
|
|
124
|
+
"mutable": false,
|
|
125
|
+
"complexType": {
|
|
126
|
+
"original": "boolean",
|
|
127
|
+
"resolved": "boolean",
|
|
128
|
+
"references": {}
|
|
129
|
+
},
|
|
130
|
+
"required": false,
|
|
131
|
+
"optional": false,
|
|
132
|
+
"docs": {
|
|
133
|
+
"tags": [],
|
|
134
|
+
"text": "The underlineText of the link. If set to false, the link text will not be underlined."
|
|
135
|
+
},
|
|
136
|
+
"attribute": "underline-text",
|
|
137
|
+
"reflect": false,
|
|
138
|
+
"defaultValue": "true"
|
|
99
139
|
}
|
|
100
140
|
};
|
|
101
141
|
}
|
|
@@ -10,10 +10,10 @@ it('should render the anchor component with default values', async () => {
|
|
|
10
10
|
expect(page.root).toEqualHtml(`
|
|
11
11
|
<b2b-anchor>
|
|
12
12
|
<mock:shadow-root>
|
|
13
|
-
<a href="https://www.otto.de" class="b2b-anchor b2b-anchor--inherit" target="_self">
|
|
13
|
+
<a href="https://www.otto.de" class="b2b-anchor b2b-anchor--inherit b2b-anchor-hover--default b2b-anchor--underline-text" target="_self">
|
|
14
14
|
<slot></slot>
|
|
15
15
|
</a>
|
|
16
|
-
</mock:shadow-root>
|
|
16
|
+
</mock:shadow-root>
|
|
17
17
|
This is a test anchor.
|
|
18
18
|
</b2b-anchor>
|
|
19
19
|
`);
|
|
@@ -26,10 +26,10 @@ it('should change the font size of the anchor component if specified', async ()
|
|
|
26
26
|
expect(page.root).toEqualHtml(`
|
|
27
27
|
<b2b-anchor>
|
|
28
28
|
<mock:shadow-root>
|
|
29
|
-
<a href="https://www.otto.de" class="b2b-anchor b2b-anchor--100" target="_self">
|
|
29
|
+
<a href="https://www.otto.de" class="b2b-anchor b2b-anchor--100 b2b-anchor-hover--default b2b-anchor--underline-text" target="_self">
|
|
30
30
|
<slot></slot>
|
|
31
31
|
</a>
|
|
32
|
-
</mock:shadow-root>
|
|
32
|
+
</mock:shadow-root>
|
|
33
33
|
This is a test anchor.
|
|
34
34
|
</b2b-anchor>
|
|
35
35
|
`);
|
|
@@ -42,10 +42,10 @@ it('should change the download string if specified', async () => {
|
|
|
42
42
|
expect(page.root).toEqualHtml(`
|
|
43
43
|
<b2b-anchor>
|
|
44
44
|
<mock:shadow-root>
|
|
45
|
-
<a href="https://www.otto.de" class="b2b-anchor b2b-anchor--inherit" target="_self" download="This is a test download">
|
|
45
|
+
<a href="https://www.otto.de" class="b2b-anchor b2b-anchor--inherit b2b-anchor-hover--default b2b-anchor--underline-text" target="_self" download="This is a test download">
|
|
46
46
|
<slot></slot>
|
|
47
47
|
</a>
|
|
48
|
-
</mock:shadow-root>
|
|
48
|
+
</mock:shadow-root>
|
|
49
49
|
This is a test anchor.
|
|
50
50
|
</b2b-anchor>
|
|
51
51
|
`);
|
|
@@ -58,10 +58,10 @@ it('should change the target property if specified', async () => {
|
|
|
58
58
|
expect(page.root).toEqualHtml(`
|
|
59
59
|
<b2b-anchor>
|
|
60
60
|
<mock:shadow-root>
|
|
61
|
-
<a href="https://www.otto.de" class="b2b-anchor b2b-anchor--inherit" target="_parent">
|
|
61
|
+
<a href="https://www.otto.de" class="b2b-anchor b2b-anchor--inherit b2b-anchor-hover--default b2b-anchor--underline-text" target="_parent">
|
|
62
62
|
<slot></slot>
|
|
63
63
|
</a>
|
|
64
|
-
</mock:shadow-root>
|
|
64
|
+
</mock:shadow-root>
|
|
65
65
|
This is a test anchor.
|
|
66
66
|
</b2b-anchor>
|
|
67
67
|
`);
|
|
@@ -1,11 +1,13 @@
|
|
|
1
1
|
import { html } from "lit-html";
|
|
2
2
|
import { getArgTypes } from "../../docs/config/utils";
|
|
3
|
-
const Template = ({ href, download, size, target }) => {
|
|
3
|
+
const Template = ({ href, download, size, target, hoverColor, underlineText, }) => {
|
|
4
4
|
return html ` <b2b-anchor
|
|
5
5
|
href="${href}"
|
|
6
6
|
download="${download}"
|
|
7
7
|
size="${size}"
|
|
8
|
-
|
|
8
|
+
hover-color="${hoverColor}"
|
|
9
|
+
target="${target}"
|
|
10
|
+
underline-text="${underlineText}">
|
|
9
11
|
Click me!
|
|
10
12
|
</b2b-anchor>`;
|
|
11
13
|
};
|
|
@@ -14,6 +16,7 @@ const defaultArgs = {
|
|
|
14
16
|
download: null,
|
|
15
17
|
target: 'blank',
|
|
16
18
|
size: 'inherit',
|
|
19
|
+
hoverColor: 'default',
|
|
17
20
|
};
|
|
18
21
|
export const story010Default = Template.bind({});
|
|
19
22
|
story010Default.args = defaultArgs;
|
|
@@ -24,11 +27,28 @@ story020Size100.storyName = 'Size 100';
|
|
|
24
27
|
export const story030TargetBlank = Template.bind({});
|
|
25
28
|
story030TargetBlank.args = Object.assign(Object.assign({}, defaultArgs), { target: 'blank' });
|
|
26
29
|
story030TargetBlank.storyName = 'Target Blank';
|
|
30
|
+
export const story040BlueHoverColor = {
|
|
31
|
+
args: Object.assign(Object.assign({}, defaultArgs), { hoverColor: 'inherit' }),
|
|
32
|
+
render: ({}) => html `<div style="color:blue; ">
|
|
33
|
+
<b2b-anchor
|
|
34
|
+
href="https://www.otto.de"
|
|
35
|
+
target="blank"
|
|
36
|
+
hover-color="inherit"
|
|
37
|
+
>Anchor Hover Color Change</b2b-anchor
|
|
38
|
+
>
|
|
39
|
+
</div>`,
|
|
40
|
+
};
|
|
41
|
+
story040BlueHoverColor.storyName = 'Hover Color Inherit';
|
|
42
|
+
export const story050NoUnderline = Template.bind({});
|
|
43
|
+
story050NoUnderline.args = Object.assign(Object.assign({}, defaultArgs), { underlineText: false });
|
|
44
|
+
story050NoUnderline.storyName = 'No underline';
|
|
27
45
|
const controls = {
|
|
28
46
|
href: 'string',
|
|
29
47
|
download: 'string',
|
|
30
48
|
size: 'radio',
|
|
31
49
|
target: 'radio',
|
|
50
|
+
hoverColor: 'radio',
|
|
51
|
+
underlineText: 'radio',
|
|
32
52
|
};
|
|
33
53
|
const anchorArgs = getArgTypes('b2b-anchor', controls);
|
|
34
54
|
export default {
|
|
@@ -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,7 +1,7 @@
|
|
|
1
1
|
@charset "UTF-8";
|
|
2
2
|
/**
|
|
3
3
|
* Do not edit directly
|
|
4
|
-
* Generated on
|
|
4
|
+
* Generated on Tue, 21 Jan 2025 10:05:32 GMT
|
|
5
5
|
*/
|
|
6
6
|
:root, :host {
|
|
7
7
|
--b2b-size-200: 5rem; /* 80px */
|
|
@@ -123,7 +123,7 @@
|
|
|
123
123
|
}
|
|
124
124
|
/**
|
|
125
125
|
* Do not edit directly
|
|
126
|
-
* Generated on
|
|
126
|
+
* Generated on Tue, 21 Jan 2025 10:05:32 GMT
|
|
127
127
|
*/
|
|
128
128
|
:root [data-theme="dark"] {
|
|
129
129
|
--b2b-size-200: 5rem; /* 80px */
|
|
@@ -216,32 +216,34 @@
|
|
|
216
216
|
font-family: ObcIcons;
|
|
217
217
|
src: url("https://pattern-library.portal.otto.market/static/assets/fonts/obc-icons.woff");
|
|
218
218
|
}
|
|
219
|
-
:host
|
|
219
|
+
:host {
|
|
220
|
+
display: block;
|
|
221
|
+
}
|
|
222
|
+
.b2b-breadcrumb-nav {
|
|
220
223
|
z-index: 99;
|
|
221
224
|
display: flex;
|
|
222
225
|
flex-flow: row nowrap;
|
|
223
|
-
padding: 0.75rem 0;
|
|
224
226
|
height: var(--b2b-size-90);
|
|
225
227
|
margin-bottom: 1.125rem;
|
|
226
228
|
border-bottom: var(--b2b-size-border-width-50) solid var(--b2b-color-grey-200);
|
|
227
229
|
}
|
|
228
|
-
|
|
230
|
+
.b2b-breadcrumb-nav__item {
|
|
229
231
|
font-size: var(--b2b-size-copy-125);
|
|
230
232
|
line-height: var(--b2b-size-copy-line-height-125);
|
|
231
233
|
display: inline-flex;
|
|
232
|
-
color: var(--b2b-color-
|
|
234
|
+
color: var(--b2b-color-copy-secondary);
|
|
233
235
|
cursor: pointer;
|
|
234
236
|
}
|
|
235
|
-
|
|
237
|
+
.b2b-breadcrumb-nav__item a {
|
|
236
238
|
color: var(--b2b-color-grey-400);
|
|
237
239
|
text-decoration: none;
|
|
238
240
|
}
|
|
239
|
-
|
|
240
|
-
|
|
241
|
+
.b2b-breadcrumb-nav__item:hover,
|
|
242
|
+
.b2b-breadcrumb-nav__item a:hover {
|
|
241
243
|
color: var(--b2b-color-red-100);
|
|
242
244
|
}
|
|
243
|
-
|
|
244
|
-
|
|
245
|
+
.b2b-breadcrumb-nav__item--active:hover,
|
|
246
|
+
.b2b-breadcrumb-nav__item--active a:hover {
|
|
245
247
|
cursor: default;
|
|
246
248
|
color: var(--b2b-color-grey-400);
|
|
247
249
|
}
|
|
@@ -6,9 +6,11 @@ export class B2bBreadCrumbComponent {
|
|
|
6
6
|
};
|
|
7
7
|
this.updateActiveItem = (newItem) => {
|
|
8
8
|
this.getBreadcrumbItems()
|
|
9
|
-
.filter(x => x.value
|
|
9
|
+
.filter(x => x.value !== newItem.value)
|
|
10
10
|
.forEach(x => (x.active = false));
|
|
11
11
|
};
|
|
12
|
+
this.paddingTop = 0;
|
|
13
|
+
this.paddingBottom = 0;
|
|
12
14
|
}
|
|
13
15
|
onSelectedChange(event) {
|
|
14
16
|
const item = event.target;
|
|
@@ -16,7 +18,10 @@ export class B2bBreadCrumbComponent {
|
|
|
16
18
|
this.b2bSelected.emit({ value: item.value });
|
|
17
19
|
}
|
|
18
20
|
render() {
|
|
19
|
-
return (h(Host, { key: '
|
|
21
|
+
return (h(Host, { key: '28af1dc12b85c9c3a77829b9db6bc28d4ef8c079', style: {
|
|
22
|
+
paddingTop: `${this.paddingTop}px`,
|
|
23
|
+
paddingBottom: `${this.paddingBottom}px`,
|
|
24
|
+
} }, h("div", { key: 'e422ae486a483f52cb54ea114a51e1ae67c5241f', class: "b2b-breadcrumb-nav" }, h("slot", { key: '017dd20d5b8463563aa4f4d74e72557f5c703af5' }))));
|
|
20
25
|
}
|
|
21
26
|
static get is() { return "b2b-breadcrumb"; }
|
|
22
27
|
static get encapsulation() { return "shadow"; }
|
|
@@ -30,6 +35,46 @@ export class B2bBreadCrumbComponent {
|
|
|
30
35
|
"$": ["breadcrumb.css"]
|
|
31
36
|
};
|
|
32
37
|
}
|
|
38
|
+
static get properties() {
|
|
39
|
+
return {
|
|
40
|
+
"paddingTop": {
|
|
41
|
+
"type": "number",
|
|
42
|
+
"mutable": false,
|
|
43
|
+
"complexType": {
|
|
44
|
+
"original": "number",
|
|
45
|
+
"resolved": "number",
|
|
46
|
+
"references": {}
|
|
47
|
+
},
|
|
48
|
+
"required": false,
|
|
49
|
+
"optional": false,
|
|
50
|
+
"docs": {
|
|
51
|
+
"tags": [],
|
|
52
|
+
"text": "Padding for the top of the breadcrumb component"
|
|
53
|
+
},
|
|
54
|
+
"attribute": "padding-top",
|
|
55
|
+
"reflect": false,
|
|
56
|
+
"defaultValue": "0"
|
|
57
|
+
},
|
|
58
|
+
"paddingBottom": {
|
|
59
|
+
"type": "number",
|
|
60
|
+
"mutable": false,
|
|
61
|
+
"complexType": {
|
|
62
|
+
"original": "number",
|
|
63
|
+
"resolved": "number",
|
|
64
|
+
"references": {}
|
|
65
|
+
},
|
|
66
|
+
"required": false,
|
|
67
|
+
"optional": false,
|
|
68
|
+
"docs": {
|
|
69
|
+
"tags": [],
|
|
70
|
+
"text": "Padding for the bottom of the breadcrumb component"
|
|
71
|
+
},
|
|
72
|
+
"attribute": "padding-bottom",
|
|
73
|
+
"reflect": false,
|
|
74
|
+
"defaultValue": "0"
|
|
75
|
+
}
|
|
76
|
+
};
|
|
77
|
+
}
|
|
33
78
|
static get events() {
|
|
34
79
|
return [{
|
|
35
80
|
"method": "b2bSelected",
|
|
@@ -1,19 +1,28 @@
|
|
|
1
1
|
import { html } from "lit-html";
|
|
2
2
|
import { getArgTypes } from "../../docs/config/utils";
|
|
3
|
-
const Template = ({ href, active }) => {
|
|
4
|
-
return html `
|
|
5
|
-
<b2b-breadcrumb
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
3
|
+
const Template = ({ href, active, paddingTop, paddingBottom }) => {
|
|
4
|
+
return html `
|
|
5
|
+
<b2b-breadcrumb
|
|
6
|
+
padding-top="${paddingTop}"
|
|
7
|
+
padding-bottom="${paddingBottom}">
|
|
8
|
+
<b2b-breadcrumb-item href="${href}">Start</b2b-breadcrumb-item>
|
|
9
|
+
<b2b-breadcrumb-item>Weiter</b2b-breadcrumb-item>
|
|
10
|
+
<b2b-breadcrumb-item active="${active}">Ende</b2b-breadcrumb-item>
|
|
11
|
+
</b2b-breadcrumb>
|
|
12
|
+
`;
|
|
9
13
|
};
|
|
10
14
|
const defaultArgs = {
|
|
11
15
|
href: 'https://www.otto.de',
|
|
12
16
|
active: true,
|
|
17
|
+
paddingTop: 0, // Default padding top in px
|
|
18
|
+
paddingBottom: 0, // Default padding bottom in px
|
|
13
19
|
};
|
|
14
20
|
export const story010Default = Template.bind({});
|
|
15
21
|
story010Default.args = Object.assign({}, defaultArgs);
|
|
16
22
|
story010Default.storyName = 'Default Breadcrumb';
|
|
23
|
+
export const story020PaddingTopBottom = Template.bind({});
|
|
24
|
+
story020PaddingTopBottom.args = Object.assign(Object.assign({}, defaultArgs), { paddingTop: 10, paddingBottom: 15 });
|
|
25
|
+
story020PaddingTopBottom.storyName = 'Custom Padding';
|
|
17
26
|
const breadcrumbArgs = getArgTypes('b2b-breadcrumb');
|
|
18
27
|
export default {
|
|
19
28
|
title: 'Components/Interaction/Breadcrumb',
|
|
@@ -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,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,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 CheckboxComponent {
|
|
|
72
72
|
'b2b-checkbox--checked': this.checked,
|
|
73
73
|
'b2b-checkbox--standalone': this.standalone,
|
|
74
74
|
'b2b-checkbox--indeterminate': this.indeterminate,
|
|
75
|
-
} }, h("div", { key: '
|
|
75
|
+
} }, h("div", { key: 'dab97157c87fbc3a9599355113b930039afeb1d0', class: "b2b-checkbox__items" }, this.renderIcon(), h("input", { key: '253f9206dc69ce6c404c7e4b3c260da6772d2786', class: "b2b-checkbox__input", "aria-labelledby": this.name, type: "checkbox", name: this.name, id: this.name, value: this.value, checked: this.checked, disabled: this.disabled || this.groupDisabled, onFocus: this.onFocus, onBlur: this.onBlur }), !this.standalone && (h("b2b-input-label", { id: this.name, required: this.required, disabled: this.disabled }, h("slot", { name: "label" }, this.label)))), (this.hint !== undefined && !this.invalid) ||
|
|
76
76
|
(this.hint !== undefined && this.disabled) ? (h("span", null, this.hint)) : (''), this.error !== undefined && this.invalid && !this.disabled ? (h("span", null, this.error)) : (''))));
|
|
77
77
|
}
|
|
78
78
|
static get is() { return "b2b-checkbox"; }
|
|
@@ -45,6 +45,7 @@ export const story070LabelSlot = {
|
|
|
45
45
|
args: Object.assign({}, defaultArgs),
|
|
46
46
|
render: ({}) => html `<b2b-checkbox><span slot="label">Label Slot</span></b2b-input>`,
|
|
47
47
|
};
|
|
48
|
+
story070LabelSlot.storyName = 'Label slot';
|
|
48
49
|
const controls = {};
|
|
49
50
|
const inputCheckboxArgs = getArgTypes('b2b-checkbox', controls);
|
|
50
51
|
export default {
|
|
@@ -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,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,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,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,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,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,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 */
|