@otto-de/b2b-core-components 1.21.0 → 1.22.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/b2b-core-components/b2b-core-components.esm.js +1 -1
- package/dist/b2b-core-components/icons/b2b_icon-chatbot.svg +2 -20
- package/dist/b2b-core-components/icons-100/b2b_icon-bullet-list.svg +1 -0
- package/dist/b2b-core-components/icons-100/b2b_icon-ordered-list.svg +1 -0
- package/dist/b2b-core-components/{p-7a9088d2.entry.js → p-01c05f0c.entry.js} +1 -1
- package/dist/b2b-core-components/{p-15a24ba4.entry.js → p-05ad52a3.entry.js} +1 -1
- package/dist/b2b-core-components/{p-19b13dcc.entry.js → p-078a9f04.entry.js} +1 -1
- package/dist/b2b-core-components/{p-164d8803.entry.js → p-15988a15.entry.js} +1 -1
- package/dist/b2b-core-components/{p-2b214797.entry.js → p-1930be42.entry.js} +1 -1
- package/dist/b2b-core-components/{p-d42c90d1.entry.js → p-19b5503c.entry.js} +1 -1
- package/dist/b2b-core-components/{p-799b194b.entry.js → p-20d53606.entry.js} +1 -1
- package/dist/b2b-core-components/p-212fa6a0.entry.js +1 -0
- package/dist/b2b-core-components/{p-33ba40ee.entry.js → p-228e1449.entry.js} +1 -1
- package/dist/b2b-core-components/{p-d51551c9.entry.js → p-232acfe1.entry.js} +1 -1
- package/dist/b2b-core-components/{p-72e23a4e.entry.js → p-271d44a7.entry.js} +1 -1
- package/dist/b2b-core-components/{p-56573a91.entry.js → p-296f824d.entry.js} +1 -1
- package/dist/b2b-core-components/{p-00700a00.entry.js → p-2c8f2fa9.entry.js} +1 -1
- package/dist/b2b-core-components/{p-8fc792f9.entry.js → p-3ef45a4b.entry.js} +1 -1
- package/dist/b2b-core-components/{p-0f2249e0.entry.js → p-48e693a5.entry.js} +1 -1
- package/dist/b2b-core-components/p-545b6ba2.entry.js +1 -0
- package/dist/b2b-core-components/{p-9fc53916.entry.js → p-5958af69.entry.js} +1 -1
- package/dist/b2b-core-components/{p-f8cf06c5.entry.js → p-5a7e3db7.entry.js} +1 -1
- package/dist/b2b-core-components/{p-947f2e2c.entry.js → p-6f3a6904.entry.js} +1 -1
- package/dist/b2b-core-components/{p-7b711ed3.entry.js → p-7264f359.entry.js} +1 -1
- package/dist/b2b-core-components/{p-a7221803.entry.js → p-744e8fc3.entry.js} +1 -1
- package/dist/b2b-core-components/{p-2de83995.entry.js → p-752d38c8.entry.js} +1 -1
- package/dist/b2b-core-components/{p-0dc06432.entry.js → p-7afbfa3b.entry.js} +1 -1
- package/dist/b2b-core-components/{p-1e8416a3.entry.js → p-88c0c97c.entry.js} +1 -1
- package/dist/b2b-core-components/p-928ab618.entry.js +1 -0
- package/dist/b2b-core-components/p-92a809de.entry.js +1 -0
- package/dist/b2b-core-components/p-94f80a44.entry.js +1 -0
- package/dist/b2b-core-components/{p-869095a0.entry.js → p-9f453acb.entry.js} +1 -1
- package/dist/b2b-core-components/p-a923feb6.js +1 -0
- package/dist/b2b-core-components/{p-f6fa3212.entry.js → p-ad0df2f2.entry.js} +1 -1
- package/dist/b2b-core-components/{p-57d487e2.entry.js → p-b03d197a.entry.js} +1 -1
- package/dist/b2b-core-components/{p-1525a056.entry.js → p-b045e097.entry.js} +1 -1
- package/dist/b2b-core-components/{p-f5fa0721.entry.js → p-b368015e.entry.js} +1 -1
- package/dist/b2b-core-components/p-b7afa702.entry.js +1 -0
- package/dist/b2b-core-components/{p-11e5143c.entry.js → p-c10ee62f.entry.js} +1 -1
- package/dist/b2b-core-components/{p-ad99ec44.entry.js → p-c365567c.entry.js} +1 -1
- package/dist/b2b-core-components/{p-67ad8770.entry.js → p-c97990e8.entry.js} +1 -1
- package/dist/b2b-core-components/p-cad3574a.entry.js +1 -0
- package/dist/b2b-core-components/{p-9a0a4a74.entry.js → p-cd520262.entry.js} +1 -1
- package/dist/b2b-core-components/{p-1c8825d1.entry.js → p-d0035d7d.entry.js} +1 -1
- package/dist/b2b-core-components/{p-1b7201e1.entry.js → p-d3a04423.entry.js} +1 -1
- package/dist/b2b-core-components/{p-a155219a.entry.js → p-ef01f7b2.entry.js} +1 -1
- package/dist/b2b-core-components/p-f1287a36.entry.js +1 -0
- package/dist/b2b-core-components/{p-acc7ae99.entry.js → p-f8f280fc.entry.js} +1 -1
- package/dist/cjs/b2b-button_2.cjs.entry.js +1 -1
- package/dist/cjs/b2b-chip-component_2.cjs.entry.js +2 -2
- package/dist/cjs/b2b-core-components.cjs.js +1 -1
- package/dist/cjs/b2b-date-picker-days_5.cjs.entry.js +35 -33
- package/dist/cjs/b2b-date-picker.cjs.entry.js +73 -27
- package/dist/cjs/b2b-dropdown.cjs.entry.js +2 -2
- package/dist/cjs/b2b-flyout-menu-option.cjs.entry.js +1 -1
- package/dist/cjs/b2b-flyout-menu.cjs.entry.js +3 -3
- package/dist/cjs/b2b-grid-col.cjs.entry.js +1 -1
- package/dist/cjs/b2b-grid-row.cjs.entry.js +2 -2
- package/dist/cjs/b2b-grid.cjs.entry.js +1 -1
- package/dist/cjs/b2b-icon-100.cjs.entry.js +2 -0
- package/dist/cjs/b2b-input-group_2.cjs.entry.js +3 -3
- package/dist/cjs/b2b-input-label.cjs.entry.js +2 -2
- package/dist/cjs/b2b-input_2.cjs.entry.js +5 -5
- package/dist/cjs/b2b-label.cjs.entry.js +2 -2
- package/dist/cjs/b2b-modal.cjs.entry.js +2 -2
- package/dist/cjs/b2b-multiselect-dropdown.cjs.entry.js +4 -4
- package/dist/cjs/b2b-pagination.cjs.entry.js +1 -1
- package/dist/cjs/b2b-paragraph.cjs.entry.js +2 -2
- package/dist/cjs/b2b-progress-bar.cjs.entry.js +3 -3
- package/dist/cjs/b2b-radio-button.cjs.entry.js +2 -2
- package/dist/cjs/b2b-radio-group.cjs.entry.js +2 -2
- package/dist/cjs/b2b-required-separator.cjs.entry.js +1 -1
- package/dist/cjs/b2b-rounded-icon.cjs.entry.js +4 -4
- package/dist/cjs/b2b-scrollable-container.cjs.entry.js +1 -1
- package/dist/cjs/b2b-search.cjs.entry.js +1 -1
- package/dist/cjs/b2b-separator.cjs.entry.js +1 -1
- package/dist/cjs/b2b-tab-group.cjs.entry.js +1 -1
- package/dist/cjs/b2b-tab-panel.cjs.entry.js +1 -1
- package/dist/cjs/b2b-tab.cjs.entry.js +2 -2
- package/dist/cjs/b2b-table-cell_2.cjs.entry.js +3 -3
- package/dist/cjs/b2b-table-row.cjs.entry.js +29 -8
- package/dist/cjs/b2b-table-rowgroup.cjs.entry.js +2 -2
- package/dist/cjs/b2b-table.cjs.entry.js +2 -2
- package/dist/cjs/b2b-textarea.cjs.entry.js +2 -2
- package/dist/cjs/b2b-toggle-button.cjs.entry.js +3 -3
- package/dist/cjs/b2b-toggle-chip.cjs.entry.js +3 -3
- package/dist/cjs/b2b-toggle-group.cjs.entry.js +2 -2
- package/dist/cjs/b2b-toggle-switch.cjs.entry.js +4 -4
- package/dist/cjs/b2b-tooltip.cjs.entry.js +3 -3
- package/dist/cjs/b2b-wizard-icon.cjs.entry.js +1 -1
- package/dist/cjs/b2b-wizard-step.cjs.entry.js +2 -2
- package/dist/cjs/b2b-wizard.cjs.entry.js +1 -1
- package/dist/cjs/date-picker-util-8596688b.js +109 -0
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/collection/components/alert/alert.css +2 -2
- package/dist/collection/components/anchor/anchor.css +2 -2
- package/dist/collection/components/background-box/background-box.css +2 -2
- package/dist/collection/components/breadcrumb/breadcrumb.css +2 -2
- 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-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-header.js +27 -3
- package/dist/collection/components/date-picker/date-picker-days.css +2 -2
- package/dist/collection/components/date-picker/date-picker-days.js +93 -19
- package/dist/collection/components/date-picker/date-picker-header.css +2 -2
- package/dist/collection/components/date-picker/date-picker-header.js +26 -6
- package/dist/collection/components/date-picker/date-picker-months.css +2 -2
- package/dist/collection/components/date-picker/date-picker-months.e2e.js +3 -3
- package/dist/collection/components/date-picker/date-picker-months.js +22 -2
- package/dist/collection/components/date-picker/date-picker-years.css +2 -2
- package/dist/collection/components/date-picker/date-picker.css +2 -4
- package/dist/collection/components/date-picker/date-picker.js +216 -23
- package/dist/collection/components/date-picker/date-picker.stories.js +103 -7
- package/dist/collection/components/date-picker/date-picker.types.js +33 -2
- package/dist/collection/components/dropdown/dropdown.css +2 -2
- package/dist/collection/components/dropdown/dropdown.js +2 -2
- package/dist/collection/components/flyout-menu/flyout-menu-option.css +2 -2
- package/dist/collection/components/flyout-menu/flyout-menu-option.js +1 -1
- package/dist/collection/components/flyout-menu/flyout-menu.css +2 -2
- package/dist/collection/components/flyout-menu/flyout-menu.js +3 -3
- package/dist/collection/components/grid/column.js +1 -1
- package/dist/collection/components/grid/grid.js +1 -1
- package/dist/collection/components/grid/row.js +2 -2
- package/dist/collection/components/headline/headline.css +2 -2
- package/dist/collection/components/icon/icon.css +2 -2
- package/dist/collection/components/icon/icons/b2b_icon-chatbot.svg +2 -20
- package/dist/collection/components/icon-100/icon-100.css +2 -2
- package/dist/collection/components/icon-100/icon-100.js +1 -1
- package/dist/collection/components/icon-100/icons-100/b2b_icon-bullet-list.svg +1 -0
- package/dist/collection/components/icon-100/icons-100/b2b_icon-ordered-list.svg +1 -0
- package/dist/collection/components/icon-100/types.js +2 -0
- package/dist/collection/components/icon-50/icon-50.css +2 -2
- package/dist/collection/components/input/input.css +2 -2
- package/dist/collection/components/input/input.js +4 -4
- package/dist/collection/components/input-group/input-group.css +2 -2
- package/dist/collection/components/input-group/input-group.js +1 -1
- package/dist/collection/components/input-label/input-label.js +2 -2
- package/dist/collection/components/input-list/input-list-option.js +1 -1
- package/dist/collection/components/input-list/input-list.css +2 -2
- package/dist/collection/components/input-list/input-list.js +2 -2
- package/dist/collection/components/label/label.css +2 -2
- package/dist/collection/components/label/label.js +2 -2
- package/dist/collection/components/modal/modal.css +2 -2
- package/dist/collection/components/modal/modal.js +2 -2
- package/dist/collection/components/multiselect-dropdown/multiselect-dropdown.css +2 -2
- package/dist/collection/components/multiselect-dropdown/multiselect-dropdown.js +4 -4
- package/dist/collection/components/multiselect-dropdown/multiselect-option/multiselect-option.js +2 -2
- package/dist/collection/components/pagination/pagination.css +2 -2
- package/dist/collection/components/pagination/pagination.js +1 -1
- package/dist/collection/components/paragraph/paragraph.css +2 -2
- package/dist/collection/components/paragraph/paragraph.js +2 -2
- package/dist/collection/components/progress-bar/progress-bar.css +2 -2
- package/dist/collection/components/progress-bar/progress-bar.js +3 -3
- package/dist/collection/components/radio/radio.css +2 -2
- package/dist/collection/components/radio/radio.e2e.js +3 -2
- package/dist/collection/components/radio/radio.js +2 -2
- package/dist/collection/components/radio-group/radio-group.css +2 -2
- package/dist/collection/components/radio-group/radio-group.e2e.js +4 -3
- package/dist/collection/components/radio-group/radio-group.js +2 -2
- package/dist/collection/components/required-separator/required-separator.css +2 -2
- package/dist/collection/components/required-separator/required-separator.js +1 -1
- package/dist/collection/components/rounded-icon/rounded-icon.css +2 -2
- package/dist/collection/components/rounded-icon/rounded-icon.js +4 -4
- package/dist/collection/components/scrollable-container/scrollable-container.css +2 -2
- package/dist/collection/components/scrollable-container/scrollable-container.js +1 -1
- package/dist/collection/components/search/search.js +1 -1
- package/dist/collection/components/separator/separator.css +2 -2
- package/dist/collection/components/separator/separator.js +1 -1
- package/dist/collection/components/spinner/spinner.css +2 -2
- package/dist/collection/components/spinner/spinner.js +1 -1
- package/dist/collection/components/tab/tab.css +2 -2
- package/dist/collection/components/tab/tab.js +2 -2
- package/dist/collection/components/tab-group/tab-group.js +1 -1
- package/dist/collection/components/tab-panel/tab-panel.css +2 -2
- package/dist/collection/components/tab-panel/tab-panel.js +1 -1
- package/dist/collection/components/table/table-cell/table-cell.css +2 -2
- package/dist/collection/components/table/table-cell/table-cell.js +2 -2
- package/dist/collection/components/table/table-header/table-header.css +2 -2
- package/dist/collection/components/table/table-header/table-header.js +1 -1
- package/dist/collection/components/table/table-row/table-row.css +2 -2
- package/dist/collection/components/table/table-row/table-row.js +31 -9
- package/dist/collection/components/table/table-rowgroup/table-rowgroup.css +2 -2
- package/dist/collection/components/table/table-rowgroup/table-rowgroup.js +3 -3
- package/dist/collection/components/table/table.css +2 -2
- package/dist/collection/components/table/table.js +2 -2
- package/dist/collection/components/textarea/textarea.css +2 -2
- package/dist/collection/components/textarea/textarea.js +2 -2
- package/dist/collection/components/toggle-button/toggle-button.css +2 -2
- package/dist/collection/components/toggle-button/toggle-button.js +3 -3
- package/dist/collection/components/toggle-chip/toggle-chip.css +2 -2
- package/dist/collection/components/toggle-chip/toggle-chip.js +3 -3
- package/dist/collection/components/toggle-group/toggle-group.css +2 -2
- package/dist/collection/components/toggle-group/toggle-group.js +2 -2
- package/dist/collection/components/toggle-switch/toggle-switch.css +2 -2
- package/dist/collection/components/toggle-switch/toggle-switch.js +4 -4
- package/dist/collection/components/tooltip/tooltip.css +2 -2
- package/dist/collection/components/tooltip/tooltip.js +3 -3
- package/dist/collection/components/wizard/wizard-step.js +2 -2
- package/dist/collection/components/wizard/wizard.css +2 -2
- package/dist/collection/components/wizard/wizard.js +1 -1
- package/dist/collection/components/wizard-icon/wizard-icon.css +2 -2
- package/dist/collection/components/wizard-icon/wizard-icon.js +1 -1
- package/dist/collection/utils/datepicker/date-picker-util.js +48 -0
- package/dist/components/b2b-date-picker.js +82 -24
- package/dist/components/b2b-dropdown.js +2 -2
- package/dist/components/b2b-flyout-menu-option.js +1 -1
- package/dist/components/b2b-flyout-menu.js +3 -3
- package/dist/components/b2b-grid-col.js +1 -1
- package/dist/components/b2b-grid-row.js +2 -2
- package/dist/components/b2b-grid.js +1 -1
- package/dist/components/b2b-icon-100.js +2 -0
- package/dist/components/b2b-label.js +2 -2
- package/dist/components/b2b-modal.js +2 -2
- package/dist/components/b2b-multiselect-dropdown.js +4 -4
- package/dist/components/b2b-pagination.js +1 -1
- package/dist/components/b2b-paragraph.js +2 -2
- package/dist/components/b2b-progress-bar.js +3 -3
- package/dist/components/b2b-radio-button.js +2 -2
- package/dist/components/b2b-radio-group.js +2 -2
- package/dist/components/b2b-required-separator.js +1 -1
- package/dist/components/b2b-scrollable-container.js +1 -1
- package/dist/components/b2b-search.js +1 -1
- package/dist/components/b2b-tab-group.js +1 -1
- package/dist/components/b2b-tab-panel.js +1 -1
- package/dist/components/b2b-tab.js +2 -2
- package/dist/components/b2b-table-row.js +30 -8
- package/dist/components/b2b-table-rowgroup.js +3 -3
- 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/date-picker-days-header.js +8 -4
- package/dist/components/date-picker-days.js +69 -20
- package/dist/components/date-picker-header.js +10 -7
- package/dist/components/date-picker-months.js +6 -3
- package/dist/components/date-picker.types.js +34 -3
- package/dist/components/input-group.js +1 -1
- package/dist/components/input-label.js +2 -2
- package/dist/components/input-list-option.js +1 -1
- package/dist/components/input-list.js +2 -2
- package/dist/components/input.js +4 -4
- package/dist/components/multiselect-option.js +2 -2
- package/dist/components/rounded-icon.js +4 -4
- package/dist/components/separator.js +1 -1
- package/dist/components/spinner.js +1 -1
- package/dist/components/table-cell.js +2 -2
- package/dist/components/table-header.js +1 -1
- package/dist/components/wizard-icon.js +1 -1
- package/dist/custom-elements.json +84 -1
- package/dist/esm/b2b-button_2.entry.js +1 -1
- package/dist/esm/b2b-chip-component_2.entry.js +2 -2
- package/dist/esm/b2b-core-components.js +1 -1
- package/dist/esm/b2b-date-picker-days_5.entry.js +30 -28
- package/dist/esm/b2b-date-picker.entry.js +69 -23
- package/dist/esm/b2b-dropdown.entry.js +2 -2
- package/dist/esm/b2b-flyout-menu-option.entry.js +1 -1
- package/dist/esm/b2b-flyout-menu.entry.js +3 -3
- package/dist/esm/b2b-grid-col.entry.js +1 -1
- package/dist/esm/b2b-grid-row.entry.js +2 -2
- package/dist/esm/b2b-grid.entry.js +1 -1
- package/dist/esm/b2b-icon-100.entry.js +2 -0
- package/dist/esm/b2b-input-group_2.entry.js +3 -3
- package/dist/esm/b2b-input-label.entry.js +2 -2
- package/dist/esm/b2b-input_2.entry.js +5 -5
- package/dist/esm/b2b-label.entry.js +2 -2
- package/dist/esm/b2b-modal.entry.js +2 -2
- package/dist/esm/b2b-multiselect-dropdown.entry.js +4 -4
- package/dist/esm/b2b-pagination.entry.js +1 -1
- package/dist/esm/b2b-paragraph.entry.js +2 -2
- package/dist/esm/b2b-progress-bar.entry.js +3 -3
- package/dist/esm/b2b-radio-button.entry.js +2 -2
- package/dist/esm/b2b-radio-group.entry.js +2 -2
- package/dist/esm/b2b-required-separator.entry.js +1 -1
- package/dist/esm/b2b-rounded-icon.entry.js +4 -4
- package/dist/esm/b2b-scrollable-container.entry.js +1 -1
- package/dist/esm/b2b-search.entry.js +1 -1
- package/dist/esm/b2b-separator.entry.js +1 -1
- package/dist/esm/b2b-tab-group.entry.js +1 -1
- package/dist/esm/b2b-tab-panel.entry.js +1 -1
- package/dist/esm/b2b-tab.entry.js +2 -2
- package/dist/esm/b2b-table-cell_2.entry.js +3 -3
- package/dist/esm/b2b-table-row.entry.js +29 -8
- package/dist/esm/b2b-table-rowgroup.entry.js +2 -2
- package/dist/esm/b2b-table.entry.js +2 -2
- package/dist/esm/b2b-textarea.entry.js +2 -2
- package/dist/esm/b2b-toggle-button.entry.js +3 -3
- package/dist/esm/b2b-toggle-chip.entry.js +3 -3
- package/dist/esm/b2b-toggle-group.entry.js +2 -2
- package/dist/esm/b2b-toggle-switch.entry.js +4 -4
- package/dist/esm/b2b-tooltip.entry.js +3 -3
- package/dist/esm/b2b-wizard-icon.entry.js +1 -1
- package/dist/esm/b2b-wizard-step.entry.js +2 -2
- package/dist/esm/b2b-wizard.entry.js +1 -1
- package/dist/esm/date-picker-util-10878a70.js +103 -0
- package/dist/esm/loader.js +1 -1
- package/dist/types/components/date-picker/date-picker-days-header.d.ts +2 -0
- package/dist/types/components/date-picker/date-picker-days.d.ts +8 -1
- package/dist/types/components/date-picker/date-picker-header.d.ts +2 -0
- package/dist/types/components/date-picker/date-picker-months.d.ts +2 -0
- package/dist/types/components/date-picker/date-picker.d.ts +24 -2
- package/dist/types/components/date-picker/date-picker.stories.d.ts +8 -0
- package/dist/types/components/date-picker/date-picker.types.d.ts +4 -2
- package/dist/types/components/icon-100/types.d.ts +1 -1
- package/dist/types/components/table/table-row/table-row.d.ts +6 -2
- package/dist/types/components.d.ts +145 -1
- package/dist/types/utils/datepicker/date-picker-util.d.ts +14 -0
- package/dist/web-types.json +153 -6
- package/package.json +3 -2
- package/dist/b2b-core-components/p-101e08d9.entry.js +0 -1
- package/dist/b2b-core-components/p-376ba9ef.entry.js +0 -1
- package/dist/b2b-core-components/p-441657b2.js +0 -1
- package/dist/b2b-core-components/p-68a836cb.entry.js +0 -1
- package/dist/b2b-core-components/p-931c9dc7.entry.js +0 -1
- package/dist/b2b-core-components/p-a0c1c775.entry.js +0 -1
- package/dist/b2b-core-components/p-d0e8d48b.entry.js +0 -1
- package/dist/b2b-core-components/p-d0e930f2.entry.js +0 -1
- package/dist/b2b-core-components/p-e1d7f335.entry.js +0 -1
- package/dist/cjs/date-picker.types-79f4bba0.js +0 -26
- package/dist/esm/date-picker.types-e21b2096.js +0 -23
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Do not edit directly
|
|
3
|
-
* Generated on
|
|
3
|
+
* Generated on Thu, 30 Jan 2025 18:09:12 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 Thu, 30 Jan 2025 18:09:12 GMT
|
|
126
126
|
*/
|
|
127
127
|
:root [data-theme="dark"] {
|
|
128
128
|
--b2b-size-200: 5rem; /* 80px */
|
|
@@ -34,11 +34,12 @@ describe('b2b-radio', () => {
|
|
|
34
34
|
expect(spy).not.toHaveReceivedEvent();
|
|
35
35
|
});
|
|
36
36
|
it('should use label slot if provided', async () => {
|
|
37
|
-
await
|
|
37
|
+
const slotPage = await newE2EPage();
|
|
38
|
+
await slotPage.setContent(`
|
|
38
39
|
<b2b-radio-button value="one">
|
|
39
40
|
<span slot="label">Custom label</span>
|
|
40
41
|
</b2b-radio-button>`);
|
|
41
|
-
const element = await
|
|
42
|
+
const element = await slotPage.find('span');
|
|
42
43
|
expect(element).toEqualText('Custom label');
|
|
43
44
|
});
|
|
44
45
|
});
|
|
@@ -53,11 +53,11 @@ export class B2bRadioButtonComponent {
|
|
|
53
53
|
return Array.from(document.querySelectorAll(`b2b-radio-button[name="${this.name}"]`)).filter((radio) => radio.value !== this.value);
|
|
54
54
|
}
|
|
55
55
|
render() {
|
|
56
|
-
return (h(Host, { key: '
|
|
56
|
+
return (h(Host, { key: 'c6a48de040535714aa894821869b17a09bd7c0bc', onClick: this.onClick }, h("div", { key: 'c7330bbaad0413b440b630607a7f036ae4ede8bd', class: {
|
|
57
57
|
'b2b-radio': true,
|
|
58
58
|
'b2b-radio--error': this.invalid && !this.disabled,
|
|
59
59
|
'b2b-radio--disabled': this.disabled,
|
|
60
|
-
} }, h("div", { key: '
|
|
60
|
+
} }, h("div", { key: 'fa4653ef9abfffb7bccc3450d5fd024a3167297c', class: "b2b-radio-items" }, h("input", { key: '0ada5794f7abd8f5a10078e06a6d0ad8a2d2053e', class: "b2b-radio-input", "aria-labelledby": this.name, type: "radio", checked: this.checked, disabled: this.disabled, name: this.name, onBlur: this.onBlur, onFocus: this.onFocus, value: this.value }), h("b2b-input-label", { key: '1486659420211964f3a59c4465717170eaffb7ec', id: this.name, required: this.required, disabled: this.disabled }, h("slot", { key: 'deac0ee6f41f57b312837c8e24534f0e9416144b', name: "label" }, this.label))), (this.hint !== undefined && !this.invalid) ||
|
|
61
61
|
(this.hint !== undefined && this.disabled) ? (h("span", null, this.hint)) : (''), this.error !== undefined && this.invalid && !this.disabled ? (h("span", null, this.error)) : (''))));
|
|
62
62
|
}
|
|
63
63
|
static get is() { return "b2b-radio-button"; }
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Do not edit directly
|
|
3
|
-
* Generated on
|
|
3
|
+
* Generated on Thu, 30 Jan 2025 18:09:12 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 Thu, 30 Jan 2025 18:09:12 GMT
|
|
126
126
|
*/
|
|
127
127
|
:root [data-theme="dark"] {
|
|
128
128
|
--b2b-size-200: 5rem; /* 80px */
|
|
@@ -68,15 +68,16 @@ describe('B2B-Radio-Group', () => {
|
|
|
68
68
|
expect(hint).not.toBeDefined;
|
|
69
69
|
expect(error).not.toBeDefined;
|
|
70
70
|
});
|
|
71
|
-
it('should use label slot if provided', async () => {
|
|
72
|
-
await
|
|
71
|
+
it('should use label slot if provided ', async () => {
|
|
72
|
+
const slotPage = await newE2EPage();
|
|
73
|
+
await slotPage.setContent(`
|
|
73
74
|
<b2b-radio-group name="test-group">
|
|
74
75
|
<span slot="label">Custom label</span>
|
|
75
76
|
<b2b-radio-button label="one" value="one" name="test-group" id="one" hint="test" error="test"></b2b-radio-button>
|
|
76
77
|
<b2b-radio-button label="two" value="two" name="test-group" id="two"</b2b-radio-button>
|
|
77
78
|
</b2b-radio-group>
|
|
78
79
|
`);
|
|
79
|
-
const element = await
|
|
80
|
+
const element = await slotPage.find('span');
|
|
80
81
|
expect(element).toEqualText('Custom label');
|
|
81
82
|
});
|
|
82
83
|
});
|
|
@@ -69,11 +69,11 @@ export class RadioButtonGroupComponent {
|
|
|
69
69
|
this.removeChildText();
|
|
70
70
|
}
|
|
71
71
|
render() {
|
|
72
|
-
return (h(Host, { key: '
|
|
72
|
+
return (h(Host, { key: '7d9c1d82a8e36e51555112beb36140829d971c22' }, h("div", { key: 'c3a003fe8e873cdcf0f998087fb9ca88cd8cf829', class: {
|
|
73
73
|
'b2b-radio-group': true,
|
|
74
74
|
'b2b-radio-group--error': this.invalid && !this.disabled,
|
|
75
75
|
[`b2b-radio-group--${this.alignment}`]: true,
|
|
76
|
-
} }, (this.label || this.labelSlot) && (h("b2b-input-label", { id: this.name, required: this.required }, h("slot", { name: "label" }, this.label))), h("fieldset", { key: '
|
|
76
|
+
} }, (this.label || this.labelSlot) && (h("b2b-input-label", { id: this.name, required: this.required }, h("slot", { name: "label" }, this.label))), h("fieldset", { key: '4d513eb53eb50d556d3e9b3635b0560dd337dd46' }, h("div", { key: '18268876504e9af54aa1815c76365ad41ff5b0ee', class: "b2b-radio-group-options" }, h("slot", { key: '78b7c3a6a05ace18d201b6fc600969df040ad531' }))), (this.hint !== undefined && !this.invalid) ||
|
|
77
77
|
(this.hint !== undefined && this.disabled) ? (h("span", null, this.hint)) : (''), this.error !== undefined && this.invalid && !this.disabled ? (h("span", null, this.error)) : (''))));
|
|
78
78
|
}
|
|
79
79
|
static get is() { return "b2b-radio-group"; }
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Do not edit directly
|
|
3
|
-
* Generated on
|
|
3
|
+
* Generated on Thu, 30 Jan 2025 18:09:12 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 Thu, 30 Jan 2025 18:09:12 GMT
|
|
126
126
|
*/
|
|
127
127
|
:root [data-theme="dark"] {
|
|
128
128
|
--b2b-size-200: 5rem; /* 80px */
|
|
@@ -4,7 +4,7 @@ export class B2BRequiredSeparator {
|
|
|
4
4
|
this.label = 'Pflichtfeld';
|
|
5
5
|
}
|
|
6
6
|
render() {
|
|
7
|
-
return (h(Host, { key: '
|
|
7
|
+
return (h(Host, { key: 'cab5659fd608d598bfdea6c24da780f5b1c8f0a4' }, h("div", { key: '107780204e6bc22b6d87014639307a1ddf0a3077', class: "b2b-required-separator__label" }, h("span", { key: '1997e65a06747f06779950ad793ddd221dcd9974', class: "b2b-required-separator__asterisk" }, "* "), h("span", { key: '44b6faacf88b76a13dcc2fcf2529354279103d83' }, this.label)), h("b2b-separator", { key: 'cf1747b9ec17ea9eb352f777f0ad25c8d6b2a927' })));
|
|
8
8
|
}
|
|
9
9
|
static get is() { return "b2b-required-separator"; }
|
|
10
10
|
static get encapsulation() { return "shadow"; }
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Do not edit directly
|
|
3
|
-
* Generated on
|
|
3
|
+
* Generated on Thu, 30 Jan 2025 18:09:12 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 Thu, 30 Jan 2025 18:09:12 GMT
|
|
126
126
|
*/
|
|
127
127
|
:root [data-theme="dark"] {
|
|
128
128
|
--b2b-size-200: 5rem; /* 80px */
|
|
@@ -6,16 +6,16 @@ export class RoundedIconComponent {
|
|
|
6
6
|
this.contentColor = 'var(--b2b-color-copy-default)';
|
|
7
7
|
}
|
|
8
8
|
render() {
|
|
9
|
-
return (h(Host, { key: '
|
|
9
|
+
return (h(Host, { key: 'aeaecbab894eae02bf8cc6c441175ec07b5540e2' }, h("div", { key: '1b25b7d2d917c742361c8126b11d5254a9fac9c1', style: {
|
|
10
10
|
['background-color']: this.color,
|
|
11
11
|
['border']: `1px solid ${this.borderColor || this.color}`,
|
|
12
12
|
}, class: {
|
|
13
13
|
'b2b-rounded-icon': true,
|
|
14
|
-
} }, h("div", { key: '
|
|
14
|
+
} }, h("div", { key: '0c5f34202db459eb45f37d1fb16bede9dd50a2e7', style: {
|
|
15
15
|
['color']: this.contentColor,
|
|
16
|
-
} }, h("slot", { key: '
|
|
16
|
+
} }, h("slot", { key: 'f87224fdf932a13ed106c10a2ff9b173fc833bee', name: "icon" })), h("div", { key: 'a0cbad312cc610ee4f18a76b32c3d690dcd6a7b2', style: {
|
|
17
17
|
['color']: this.contentColor,
|
|
18
|
-
} }, h("slot", { key: '
|
|
18
|
+
} }, h("slot", { key: '518902a11b10391fdb5d654baaf84ba6f7c0c65e', name: "text" })))));
|
|
19
19
|
}
|
|
20
20
|
static get is() { return "b2b-rounded-icon"; }
|
|
21
21
|
static get encapsulation() { return "shadow"; }
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Do not edit directly
|
|
3
|
-
* Generated on
|
|
3
|
+
* Generated on Thu, 30 Jan 2025 18:09:12 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 Thu, 30 Jan 2025 18:09:12 GMT
|
|
126
126
|
*/
|
|
127
127
|
:root [data-theme="dark"] {
|
|
128
128
|
--b2b-size-200: 5rem; /* 80px */
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { h, Host } from "@stencil/core";
|
|
2
2
|
export class ScrollableContainerComponent {
|
|
3
3
|
render() {
|
|
4
|
-
return (h(Host, { key: '
|
|
4
|
+
return (h(Host, { key: '2fd5cba6708e2ec70567ea9b582ad5c2cbc9531f' }, h("slot", { key: '9998b1dcb05a6396e288317365d56e983baeb002' })));
|
|
5
5
|
}
|
|
6
6
|
static get is() { return "b2b-scrollable-container"; }
|
|
7
7
|
static get encapsulation() { return "shadow"; }
|
|
@@ -22,7 +22,7 @@ export class SearchComponent {
|
|
|
22
22
|
}
|
|
23
23
|
}
|
|
24
24
|
render() {
|
|
25
|
-
return (h(Host, { key: '
|
|
25
|
+
return (h(Host, { key: 'b24052966f06f771d924c1fc7a2257155aa1fafe' }, h("b2b-input-group", { key: '35c7d7926e6d014a87d39174ba83e3eb7a323e32', disabled: this.disabled }, h("b2b-input-list", { key: 'ccf3037cf0f7d64ae7e5f37c1789a082886db2f2', slot: "start", value: this.value, placeholder: this.placeholder, optionsList: this.optionsList, "onb2b-input": this.onInput, "onb2b-option-selected": this.onOptionSelected }, h("slot", { key: '59a0f64d0f39498ddf04b3cdced2c8111de1ada9' })), h("b2b-button", { key: '7a09cbe052e0c17e9c76a53fc3c7e4694ff71461', slot: "end", variant: "primary", onClick: this.onSearchClicked }, h("b2b-icon", { key: '65d2f0468e9c8a8300ae4905e5644841dc80072c', icon: "b2b_icon-search", clickable: true })))));
|
|
26
26
|
}
|
|
27
27
|
static get is() { return "b2b-search"; }
|
|
28
28
|
static get encapsulation() { return "shadow"; }
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Do not edit directly
|
|
3
|
-
* Generated on
|
|
3
|
+
* Generated on Thu, 30 Jan 2025 18:09:12 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 Thu, 30 Jan 2025 18:09:12 GMT
|
|
126
126
|
*/
|
|
127
127
|
:root [data-theme="dark"] {
|
|
128
128
|
--b2b-size-200: 5rem; /* 80px */
|
|
@@ -4,7 +4,7 @@ export class B2bSeparatorComponent {
|
|
|
4
4
|
this.alignment = 'horizontal';
|
|
5
5
|
}
|
|
6
6
|
render() {
|
|
7
|
-
return (h(Host, { key: '
|
|
7
|
+
return (h(Host, { key: '2a85d5e6381c1c666d57d9439ee6df185b7e41d3' }, h("div", { key: '6939b9e06e5c27d2ea0299a1165accaeeb33bc3e', class: {
|
|
8
8
|
[`b2b-separator--${this.alignment}`]: true,
|
|
9
9
|
} })));
|
|
10
10
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Do not edit directly
|
|
3
|
-
* Generated on
|
|
3
|
+
* Generated on Thu, 30 Jan 2025 18:09:12 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 Thu, 30 Jan 2025 18:09:12 GMT
|
|
126
126
|
*/
|
|
127
127
|
:root [data-theme="dark"] {
|
|
128
128
|
--b2b-size-200: 5rem; /* 80px */
|
|
@@ -9,7 +9,7 @@ export class SpinnerComponent {
|
|
|
9
9
|
this.color = 'primary';
|
|
10
10
|
}
|
|
11
11
|
render() {
|
|
12
|
-
return (h("div", { key: '
|
|
12
|
+
return (h("div", { key: 'cc460c988fe2e7cf684ad7e6ebca7089a67a9de8', class: {
|
|
13
13
|
'b2b-spinner': true,
|
|
14
14
|
['b2b-spinner--size-' + this.size]: true,
|
|
15
15
|
['b2b-spinner--color-' + this.color]: true,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Do not edit directly
|
|
3
|
-
* Generated on
|
|
3
|
+
* Generated on Thu, 30 Jan 2025 18:09:12 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 Thu, 30 Jan 2025 18:09:12 GMT
|
|
126
126
|
*/
|
|
127
127
|
:root [data-theme="dark"] {
|
|
128
128
|
--b2b-size-200: 5rem; /* 80px */
|
|
@@ -17,12 +17,12 @@ export class B2bTabComponent {
|
|
|
17
17
|
}
|
|
18
18
|
}
|
|
19
19
|
render() {
|
|
20
|
-
return (h(Host, { key: '
|
|
20
|
+
return (h(Host, { key: 'b0ce35de40859cbe4ac92fb7590dbcdf7ba2a856', id: `b2b-tab-${this.generatedId}`, "aria-role": "tab", "aria-selected": this.selected, role: this.disabled ? false : 'tab', disabled: this.disabled, tabindex: this.disabled ? false : this.selected ? '0' : '-1' }, h("span", { key: 'b40f64090aa72ad05ca09c7346adc0fd454e78fd', class: {
|
|
21
21
|
'b2b-tab': true,
|
|
22
22
|
'b2b-tab--selected': this.selected,
|
|
23
23
|
'b2b-tab--disabled': this.disabled,
|
|
24
24
|
'b2b-tab--error': this.invalid,
|
|
25
|
-
} }, h("slot", { key: '
|
|
25
|
+
} }, h("slot", { key: '973bf596f14c101d95811440e0a610d96858f1ad' }))));
|
|
26
26
|
}
|
|
27
27
|
static get is() { return "b2b-tab"; }
|
|
28
28
|
static get encapsulation() { return "shadow"; }
|
|
@@ -121,7 +121,7 @@ export class B2bTabGroupComponent {
|
|
|
121
121
|
});
|
|
122
122
|
}
|
|
123
123
|
render() {
|
|
124
|
-
return (h(Host, { key: '
|
|
124
|
+
return (h(Host, { key: '9909139cbb9146d9f0362472c86d1f386b579ba6' }, h("slot", { key: 'ab007fd2e3db59a53a1a11e716fc20993390272d', name: "tab" }), h("b2b-separator", { key: '75c80e51f6b78a6bc19c7ab20507e6f47a66a6d6' }), h("slot", { key: 'c996bbfd3439a1db26b70e066766a9af99d825b4', name: "panel" })));
|
|
125
125
|
}
|
|
126
126
|
static get is() { return "b2b-tab-group"; }
|
|
127
127
|
static get encapsulation() { return "shadow"; }
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Do not edit directly
|
|
3
|
-
* Generated on
|
|
3
|
+
* Generated on Thu, 30 Jan 2025 18:09:12 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 Thu, 30 Jan 2025 18:09:12 GMT
|
|
126
126
|
*/
|
|
127
127
|
:root [data-theme="dark"] {
|
|
128
128
|
--b2b-size-200: 5rem; /* 80px */
|
|
@@ -5,7 +5,7 @@ export class B2bTabPanelComponent {
|
|
|
5
5
|
this.generatedId = i++;
|
|
6
6
|
}
|
|
7
7
|
render() {
|
|
8
|
-
return (h(Host, { key: '
|
|
8
|
+
return (h(Host, { key: '7ef09ad5f34e94032ee3f48352980080998fe35c', id: `b2b-tab-panel-${this.generatedId}`, role: "tabpanel" }, h("div", { key: '68e0f565985114d15d1be05d3fed2a2fa25687d7', class: "b2b-tab-panel" }, h("slot", { key: '8ca942618a4efd0d7866c56080a50f49550799b4' }))));
|
|
9
9
|
}
|
|
10
10
|
static get is() { return "b2b-tab-panel"; }
|
|
11
11
|
static get encapsulation() { return "shadow"; }
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Do not edit directly
|
|
3
|
-
* Generated on
|
|
3
|
+
* Generated on Thu, 30 Jan 2025 18:09:12 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 Thu, 30 Jan 2025 18:09:12 GMT
|
|
126
126
|
*/
|
|
127
127
|
:root [data-theme="dark"] {
|
|
128
128
|
--b2b-size-200: 5rem; /* 80px */
|
|
@@ -36,14 +36,14 @@ export class TableCellComponent {
|
|
|
36
36
|
}
|
|
37
37
|
}
|
|
38
38
|
render() {
|
|
39
|
-
return (h(Host, { key: '
|
|
39
|
+
return (h(Host, { key: 'b03771e3e73de98b729b18d86fdc9ae083db2c8a', 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: '122acda5bae14213fd2e702b65edbcc0bfe9f672' })));
|
|
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 Thu, 30 Jan 2025 18:09:12 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 Thu, 30 Jan 2025 18:09:12 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: 'd96004629017b2e728289da6bf899886d3598548', 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 Thu, 30 Jan 2025 18:09:12 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 Thu, 30 Jan 2025 18:09:12 GMT
|
|
126
126
|
*/
|
|
127
127
|
:root [data-theme="dark"] {
|
|
128
128
|
--b2b-size-200: 5rem; /* 80px */
|
|
@@ -3,6 +3,8 @@ import { TableColourOptions, TableSizes, } from "../../../utils/types/table.type
|
|
|
3
3
|
import { isFirstRow } from "../utils";
|
|
4
4
|
export class TableRowComponent {
|
|
5
5
|
constructor() {
|
|
6
|
+
this.parentRowGroup = null;
|
|
7
|
+
this.observer = null;
|
|
6
8
|
this.toggleOpen = () => {
|
|
7
9
|
this.isOpen = !this.isOpen;
|
|
8
10
|
this.b2bOpen.emit(this.isOpen);
|
|
@@ -18,7 +20,7 @@ export class TableRowComponent {
|
|
|
18
20
|
});
|
|
19
21
|
};
|
|
20
22
|
this.getRowColor = () => {
|
|
21
|
-
if (this.
|
|
23
|
+
if (this.isAccordionValue &&
|
|
22
24
|
isFirstRow(this.hostElement) &&
|
|
23
25
|
!this.isHeader()) {
|
|
24
26
|
return TableColourOptions.GROUP;
|
|
@@ -33,9 +35,6 @@ export class TableRowComponent {
|
|
|
33
35
|
this.getParentRowGroup = () => {
|
|
34
36
|
return this.hostElement.closest('b2b-table-rowgroup');
|
|
35
37
|
};
|
|
36
|
-
this.isAccordion = () => {
|
|
37
|
-
return this.getParentRowGroup().hasAttribute('accordion');
|
|
38
|
-
};
|
|
39
38
|
this.isHeader = () => {
|
|
40
39
|
return this.getParentRowGroup().type === 'header';
|
|
41
40
|
};
|
|
@@ -51,7 +50,7 @@ export class TableRowComponent {
|
|
|
51
50
|
}
|
|
52
51
|
};
|
|
53
52
|
this.getAccordionColumns = () => {
|
|
54
|
-
if (this.
|
|
53
|
+
if (this.isAccordionValue && !this.isHeader()) {
|
|
55
54
|
if (isFirstRow(this.hostElement)) {
|
|
56
55
|
return (h("b2b-table-cell", null, h("button", { onClick: this.toggleOpen, class: {
|
|
57
56
|
'b2b-table-row__accordion-icon': true,
|
|
@@ -60,7 +59,7 @@ export class TableRowComponent {
|
|
|
60
59
|
}
|
|
61
60
|
return (h("b2b-table-cell", { class: "b2b-table-row__control-cell--accordion" }));
|
|
62
61
|
}
|
|
63
|
-
else if (this.
|
|
62
|
+
else if (this.isAccordionValue && this.isHeader()) {
|
|
64
63
|
return (h("b2b-table-header", { class: "b2b-table-row__control-cell--accordion" }));
|
|
65
64
|
}
|
|
66
65
|
};
|
|
@@ -71,6 +70,7 @@ export class TableRowComponent {
|
|
|
71
70
|
this.value = undefined;
|
|
72
71
|
this.indeterminate = false;
|
|
73
72
|
this.checked = false;
|
|
73
|
+
this.isAccordionValue = false;
|
|
74
74
|
this.isOpen = false;
|
|
75
75
|
}
|
|
76
76
|
toggleSelected(event) {
|
|
@@ -97,14 +97,35 @@ export class TableRowComponent {
|
|
|
97
97
|
this.getParentRowGroup().type !== 'header') {
|
|
98
98
|
console.warn('You need to associate a value with the row as a unique identifier.');
|
|
99
99
|
}
|
|
100
|
+
this.findParentAndObserve();
|
|
101
|
+
}
|
|
102
|
+
disconnectedCallback() {
|
|
103
|
+
if (this.observer !== undefined && this.observer !== null) {
|
|
104
|
+
this.observer.disconnect();
|
|
105
|
+
this.observer = null;
|
|
106
|
+
}
|
|
107
|
+
}
|
|
108
|
+
findParentAndObserve() {
|
|
109
|
+
this.parentRowGroup = this.hostElement.closest('b2b-table-rowgroup');
|
|
110
|
+
if (this.parentRowGroup !== undefined && this.parentRowGroup !== null) {
|
|
111
|
+
this.observer = new MutationObserver(() => {
|
|
112
|
+
var _a;
|
|
113
|
+
this.isAccordionValue =
|
|
114
|
+
((_a = this.parentRowGroup) === null || _a === void 0 ? void 0 : _a.hasAttribute('accordion')) || false;
|
|
115
|
+
});
|
|
116
|
+
this.observer.observe(this.parentRowGroup, { attributes: true });
|
|
117
|
+
}
|
|
118
|
+
else {
|
|
119
|
+
console.warn('Parent b2b-table-rowgroup not found!');
|
|
120
|
+
}
|
|
100
121
|
}
|
|
101
122
|
render() {
|
|
102
|
-
return (h(Host, { key: '
|
|
123
|
+
return (h(Host, { key: 'c39eb58624347736a167fef2e4aa9fc9ca7c7e48', class: {
|
|
103
124
|
'b2b-table-row': true,
|
|
104
125
|
['b2b-table-row--colspan']: this.size === TableSizes.COLSPAN,
|
|
105
126
|
['b2b-table-row--highlight']: this.highlight,
|
|
106
127
|
[`b2b-table-row--color-${this.getRowColor()}`]: true,
|
|
107
|
-
}, role: "row" }, this.getAccordionColumns(), this.getCheckbox(), h("slot", { key: '
|
|
128
|
+
}, role: "row" }, this.getAccordionColumns(), this.getCheckbox(), h("slot", { key: 'e224986cde05a3e6fc60c087953512bca87999ef' })));
|
|
108
129
|
}
|
|
109
130
|
static get is() { return "b2b-table-row"; }
|
|
110
131
|
static get encapsulation() { return "shadow"; }
|
|
@@ -265,6 +286,7 @@ export class TableRowComponent {
|
|
|
265
286
|
}
|
|
266
287
|
static get states() {
|
|
267
288
|
return {
|
|
289
|
+
"isAccordionValue": {},
|
|
268
290
|
"isOpen": {}
|
|
269
291
|
};
|
|
270
292
|
}
|
|
@@ -292,7 +314,7 @@ export class TableRowComponent {
|
|
|
292
314
|
"composed": true,
|
|
293
315
|
"docs": {
|
|
294
316
|
"tags": [],
|
|
295
|
-
"text": "Emits if the row is selectable and it is selected or unselected. Emits both unique value and the checkbox status."
|
|
317
|
+
"text": "Emits if the row is selectable and if it is selected or unselected. Emits both unique value and the checkbox status."
|
|
296
318
|
},
|
|
297
319
|
"complexType": {
|
|
298
320
|
"original": "CheckboxEventDetail",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Do not edit directly
|
|
3
|
-
* Generated on
|
|
3
|
+
* Generated on Thu, 30 Jan 2025 18:09:12 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 Thu, 30 Jan 2025 18:09:12 GMT
|
|
126
126
|
*/
|
|
127
127
|
:root [data-theme="dark"] {
|
|
128
128
|
--b2b-size-200: 5rem; /* 80px */
|
|
@@ -113,11 +113,11 @@ export class TableRowgroupComponent {
|
|
|
113
113
|
this.makeHeaderRowNotSelectable();
|
|
114
114
|
}
|
|
115
115
|
render() {
|
|
116
|
-
return (h(Host, { key: '
|
|
116
|
+
return (h(Host, { key: 'faa8967bf314a57aaa29bf32e4a8dd9fb1d31229', class: {
|
|
117
117
|
['b2b-table-rowgroup__' + this.type]: true,
|
|
118
118
|
'b2b-table-rowgroup--fixed': this.fixed,
|
|
119
119
|
'b2b-table-rowgroup--colspan': this.size === TableSizes.COLSPAN,
|
|
120
|
-
}, role: "rowgroup" }, h("slot", { key: '
|
|
120
|
+
}, role: "rowgroup" }, h("slot", { key: 'bf00c613d18b138e715d9840141e06399e4f5309' })));
|
|
121
121
|
}
|
|
122
122
|
static get is() { return "b2b-table-rowgroup"; }
|
|
123
123
|
static get encapsulation() { return "shadow"; }
|
|
@@ -198,7 +198,7 @@ export class TableRowgroupComponent {
|
|
|
198
198
|
"text": "Renders the rowgroup as an accordion. Both header and body must have accordion set to true.\nOne table can contain multiple rowgroups of type body, each of which represents an accordion row with children."
|
|
199
199
|
},
|
|
200
200
|
"attribute": "accordion",
|
|
201
|
-
"reflect":
|
|
201
|
+
"reflect": true,
|
|
202
202
|
"defaultValue": "false"
|
|
203
203
|
},
|
|
204
204
|
"selectable": {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Do not edit directly
|
|
3
|
-
* Generated on
|
|
3
|
+
* Generated on Thu, 30 Jan 2025 18:09:12 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 Thu, 30 Jan 2025 18:09:12 GMT
|
|
126
126
|
*/
|
|
127
127
|
:root [data-theme="dark"] {
|
|
128
128
|
--b2b-size-200: 5rem; /* 80px */
|
|
@@ -60,9 +60,9 @@ export class TableComponent {
|
|
|
60
60
|
}
|
|
61
61
|
}
|
|
62
62
|
render() {
|
|
63
|
-
return (h(Host, { key: '
|
|
63
|
+
return (h(Host, { key: 'd69ea87cde7434a9555464edaf081268ee850bdb', class: {
|
|
64
64
|
['b2b-table--' + this.size]: true,
|
|
65
|
-
}, role: "table" }, h("slot", { key: '
|
|
65
|
+
}, role: "table" }, h("slot", { key: '196c2f61af014d04a842543ea66ff806edbb8e5f' })));
|
|
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 Thu, 30 Jan 2025 18:09:12 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 Thu, 30 Jan 2025 18:09:12 GMT
|
|
126
126
|
*/
|
|
127
127
|
:root [data-theme="dark"] {
|
|
128
128
|
--b2b-size-200: 5rem; /* 80px */
|