@otto-de/b2b-core-components 1.30.0 → 1.31.1
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/p-00666ca7.entry.js +1 -0
- package/dist/b2b-core-components/p-0a63f5f8.entry.js +1 -0
- package/dist/b2b-core-components/{p-9cfba835.entry.js → p-0bf05f33.entry.js} +1 -1
- package/dist/b2b-core-components/{p-68e07419.entry.js → p-0edac105.entry.js} +1 -1
- package/dist/b2b-core-components/p-0ffc90ee.entry.js +1 -0
- package/dist/b2b-core-components/p-168c8684.entry.js +1 -0
- package/dist/b2b-core-components/p-19392020.js +1 -0
- package/dist/b2b-core-components/p-1a908833.entry.js +1 -0
- package/dist/b2b-core-components/{p-a37d6cea.entry.js → p-1dff8b34.entry.js} +1 -1
- package/dist/b2b-core-components/p-2d5df8f7.entry.js +1 -0
- package/dist/b2b-core-components/p-2dc0c5c0.entry.js +1 -0
- package/dist/b2b-core-components/p-318eb15e.entry.js +1 -0
- package/dist/b2b-core-components/p-33c01bb2.entry.js +1 -0
- package/dist/b2b-core-components/p-375cefbd.entry.js +1 -0
- package/dist/b2b-core-components/p-383d0a10.entry.js +1 -0
- package/dist/b2b-core-components/{p-08577a40.entry.js → p-400fa973.entry.js} +1 -1
- package/dist/b2b-core-components/p-413729d1.entry.js +1 -0
- package/dist/b2b-core-components/p-4528e98c.entry.js +1 -0
- package/dist/b2b-core-components/p-49bafb74.entry.js +1 -0
- package/dist/b2b-core-components/{p-745ad406.entry.js → p-4bc0ec9a.entry.js} +1 -1
- package/dist/b2b-core-components/p-564c62d0.entry.js +1 -0
- package/dist/b2b-core-components/{p-6040dca2.entry.js → p-6025d667.entry.js} +1 -1
- package/dist/b2b-core-components/p-61b2a6ad.js +1 -0
- package/dist/b2b-core-components/{p-54d478b6.entry.js → p-661d0249.entry.js} +1 -1
- package/dist/b2b-core-components/p-6dd7fd7b.entry.js +1 -0
- package/dist/b2b-core-components/p-6ff5114b.entry.js +1 -0
- package/dist/b2b-core-components/p-742a18f1.entry.js +1 -0
- package/dist/b2b-core-components/{p-23acc468.entry.js → p-781611fb.entry.js} +1 -1
- package/dist/b2b-core-components/{p-0847e62e.entry.js → p-7bb6f06e.entry.js} +1 -1
- package/dist/b2b-core-components/p-7dd8f3cb.entry.js +1 -0
- package/dist/b2b-core-components/p-815d7a53.entry.js +1 -0
- package/dist/b2b-core-components/{p-5063e5b7.entry.js → p-850c8e01.entry.js} +1 -1
- package/dist/b2b-core-components/{p-e8b1fee4.entry.js → p-86ff8e6c.entry.js} +1 -1
- package/dist/b2b-core-components/{p-552f43c1.entry.js → p-9819f622.entry.js} +1 -1
- package/dist/b2b-core-components/{p-ccf78e23.entry.js → p-9dde1af0.entry.js} +1 -1
- package/dist/b2b-core-components/{p-24c94653.entry.js → p-9f88b476.entry.js} +1 -1
- package/dist/b2b-core-components/p-a155219a.entry.js +1 -0
- package/dist/b2b-core-components/p-a96c8ba0.entry.js +1 -0
- package/dist/b2b-core-components/p-b33059ab.entry.js +1 -0
- package/dist/b2b-core-components/p-b5fdf7df.entry.js +1 -0
- package/dist/b2b-core-components/p-b6a753e8.js +2 -0
- package/dist/b2b-core-components/p-bba0b41b.entry.js +1 -0
- package/dist/b2b-core-components/p-be93498d.entry.js +1 -0
- package/dist/b2b-core-components/p-bfbe4aff.entry.js +1 -0
- package/dist/b2b-core-components/p-c597637e.entry.js +1 -0
- package/dist/b2b-core-components/{p-eb01bb4f.entry.js → p-c67bcebc.entry.js} +1 -1
- package/dist/b2b-core-components/p-cb4cc427.entry.js +1 -0
- package/dist/b2b-core-components/{p-a63dfd99.entry.js → p-d1c8105b.entry.js} +1 -1
- package/dist/b2b-core-components/{p-2f9efe3f.entry.js → p-d26ec403.entry.js} +1 -1
- package/dist/b2b-core-components/p-d3204d75.entry.js +1 -0
- package/dist/b2b-core-components/p-d6457a1d.entry.js +1 -0
- package/dist/b2b-core-components/p-db205434.entry.js +1 -0
- package/dist/b2b-core-components/p-e1255160.js +1 -0
- package/dist/b2b-core-components/p-e520c7cf.entry.js +1 -0
- package/dist/b2b-core-components/p-f2fdce36.entry.js +1 -0
- package/dist/b2b-core-components/p-f5786cad.entry.js +1 -0
- package/dist/b2b-core-components/{p-58fb3508.entry.js → p-f5e9dbf4.entry.js} +1 -1
- package/dist/b2b-core-components/p-f9e278da.entry.js +1 -0
- package/dist/b2b-core-components/p-fa85955c.entry.js +1 -0
- package/dist/b2b-core-components/{p-eb78706f.entry.js → p-fae54521.entry.js} +1 -1
- package/dist/cjs/app-globals-3a1e7e63.js +5 -0
- package/dist/cjs/b2b-alert.cjs.entry.js +13 -15
- package/dist/cjs/b2b-anchor.cjs.entry.js +8 -10
- package/dist/cjs/b2b-background-box.cjs.entry.js +7 -10
- package/dist/cjs/b2b-breadcrumb-item.cjs.entry.js +10 -8
- package/dist/cjs/b2b-breadcrumb.cjs.entry.js +10 -9
- package/dist/cjs/b2b-button_2.cjs.entry.js +20 -25
- package/dist/cjs/b2b-card.cjs.entry.js +8 -8
- package/dist/cjs/b2b-checkbox-group.cjs.entry.js +15 -13
- package/dist/cjs/b2b-checkbox.cjs.entry.js +22 -19
- package/dist/cjs/b2b-chip-component_2.cjs.entry.js +24 -20
- package/dist/cjs/b2b-core-components.cjs.js +14 -13
- package/dist/cjs/b2b-date-picker-days_5.cjs.entry.js +50 -40
- package/dist/cjs/b2b-date-picker.cjs.entry.js +37 -36
- package/dist/cjs/b2b-dropdown.cjs.entry.js +26 -24
- package/dist/cjs/b2b-flyout-menu-option.cjs.entry.js +10 -8
- package/dist/cjs/b2b-flyout-menu.cjs.entry.js +9 -7
- package/dist/cjs/b2b-grid-col.cjs.entry.js +6 -4
- package/dist/cjs/b2b-grid-row.cjs.entry.js +5 -7
- package/dist/cjs/b2b-grid.cjs.entry.js +6 -4
- package/dist/cjs/b2b-headline.cjs.entry.js +5 -5
- package/dist/cjs/b2b-icon-100.cjs.entry.js +12 -12
- package/dist/cjs/b2b-icon-50.cjs.entry.js +10 -9
- package/dist/cjs/b2b-icon.cjs.entry.js +12 -12
- package/dist/cjs/b2b-input-group_2.cjs.entry.js +24 -24
- package/dist/cjs/b2b-input-label.cjs.entry.js +7 -6
- package/dist/cjs/b2b-input_2.cjs.entry.js +33 -33
- package/dist/cjs/b2b-label.cjs.entry.js +7 -5
- package/dist/cjs/b2b-modal.cjs.entry.js +16 -18
- package/dist/cjs/b2b-multiselect-dropdown.cjs.entry.js +27 -24
- package/dist/cjs/b2b-pagination.cjs.entry.js +12 -13
- package/dist/cjs/b2b-paragraph.cjs.entry.js +7 -10
- package/dist/cjs/b2b-progress-bar.cjs.entry.js +12 -9
- package/dist/cjs/b2b-radio-button.cjs.entry.js +19 -15
- package/dist/cjs/b2b-radio-group.cjs.entry.js +17 -13
- package/dist/cjs/b2b-required-separator.cjs.entry.js +6 -4
- package/dist/cjs/b2b-rounded-icon.cjs.entry.js +10 -12
- package/dist/cjs/b2b-scrollable-container.cjs.entry.js +6 -3
- package/dist/cjs/b2b-search.cjs.entry.js +10 -9
- package/dist/cjs/b2b-separator.cjs.entry.js +6 -4
- package/dist/cjs/b2b-shimmer.cjs.entry.js +9 -3
- package/dist/cjs/b2b-snackbar.cjs.entry.js +19 -18
- package/dist/cjs/b2b-tab-group.cjs.entry.js +6 -6
- package/dist/cjs/b2b-tab-panel.cjs.entry.js +6 -3
- package/dist/cjs/b2b-tab.cjs.entry.js +8 -8
- package/dist/cjs/b2b-table-cell_2.cjs.entry.js +30 -37
- package/dist/cjs/b2b-table-row.cjs.entry.js +19 -17
- package/dist/cjs/b2b-table-rowgroup.cjs.entry.js +16 -23
- package/dist/cjs/b2b-table.cjs.entry.js +10 -13
- package/dist/cjs/b2b-textarea.cjs.entry.js +23 -17
- package/dist/cjs/b2b-toggle-button.cjs.entry.js +14 -10
- package/dist/cjs/b2b-toggle-chip.cjs.entry.js +14 -10
- package/dist/cjs/b2b-toggle-group.cjs.entry.js +11 -7
- package/dist/cjs/b2b-toggle-switch.cjs.entry.js +15 -13
- package/dist/cjs/b2b-tooltip.cjs.entry.js +12 -11
- package/dist/cjs/b2b-wizard-icon.cjs.entry.js +9 -8
- package/dist/cjs/b2b-wizard-step.cjs.entry.js +8 -9
- package/dist/cjs/b2b-wizard.cjs.entry.js +10 -12
- package/dist/cjs/index-668808fd.js +2516 -0
- package/dist/cjs/loader.cjs.js +6 -3
- package/dist/cjs/{request-Dwsj-gbA.js → request-801c6ba1.js} +0 -2
- package/dist/cjs/{utils--ZrBSHVe.js → utils-499e9db5.js} +9 -2
- package/dist/collection/collection-manifest.json +2 -2
- package/dist/collection/components/alert/alert.e2e.js +67 -0
- package/dist/collection/components/alert/alert.js +12 -27
- package/dist/collection/components/anchor/anchor.js +9 -26
- package/dist/collection/components/anchor/anchor.spec.js +68 -0
- package/dist/collection/components/background-box/background-box.e2e.js +63 -0
- package/dist/collection/components/background-box/background-box.js +8 -26
- package/dist/collection/components/background-box/background-box.spec.js +64 -0
- package/dist/collection/components/breadcrumb/breadcrumb-item.js +7 -14
- package/dist/collection/components/breadcrumb/breadcrumb.e2e.js +50 -0
- package/dist/collection/components/breadcrumb/breadcrumb.js +6 -12
- package/dist/collection/components/button/button.e2e.js +80 -0
- package/dist/collection/components/button/button.js +23 -52
- package/dist/collection/components/card/card.e2e.js +110 -0
- package/dist/collection/components/card/card.js +5 -14
- package/dist/collection/components/card/card.spec.js +32 -0
- package/dist/collection/components/checkbox/checkbox.e2e.js +38 -0
- package/dist/collection/components/checkbox/checkbox.js +26 -50
- package/dist/collection/components/checkbox/checkbox.spec.js +45 -0
- package/dist/collection/components/checkbox-group/checkbox-group.e2e.js +83 -0
- package/dist/collection/components/checkbox-group/checkbox-group.js +16 -31
- package/dist/collection/components/checkbox-group/checkbox-group.spec.js +38 -0
- package/dist/collection/components/chip/chip.e2e.js +99 -0
- package/dist/collection/components/chip/chip.js +17 -30
- package/dist/collection/components/date-picker/date-picker-days-header.js +3 -6
- package/dist/collection/components/date-picker/date-picker-days.js +20 -44
- package/dist/collection/components/date-picker/date-picker-header.e2e.js +38 -0
- package/dist/collection/components/date-picker/date-picker-header.js +10 -15
- package/dist/collection/components/date-picker/date-picker-months.e2e.js +39 -0
- package/dist/collection/components/date-picker/date-picker-months.js +5 -9
- package/dist/collection/components/date-picker/date-picker-years.e2e.js +39 -0
- package/dist/collection/components/date-picker/date-picker-years.js +4 -5
- package/dist/collection/components/date-picker/date-picker.e2e.js +137 -0
- package/dist/collection/components/date-picker/date-picker.js +44 -76
- package/dist/collection/components/dropdown/dropdown.e2e.js +89 -0
- package/dist/collection/components/dropdown/dropdown.js +27 -46
- package/dist/collection/components/dropdown/dropdown.spec.js +52 -0
- package/dist/collection/components/flyout-menu/flyout-menu-option.js +7 -14
- package/dist/collection/components/flyout-menu/flyout-menu.e2e.js +97 -0
- package/dist/collection/components/flyout-menu/flyout-menu.js +5 -8
- package/dist/collection/components/grid/column.js +5 -9
- package/dist/collection/components/grid/grid.e2e.js +17 -0
- package/dist/collection/components/grid/grid.js +2 -5
- package/dist/collection/components/grid/row.js +6 -18
- package/dist/collection/components/headline/headline.e2e.js +13 -0
- package/dist/collection/components/headline/headline.js +3 -12
- package/dist/collection/components/headline/headline.spec.js +67 -0
- package/dist/collection/components/icon/icon.js +11 -24
- package/dist/collection/components/icon/icon.spec.js +21 -0
- package/dist/collection/components/icon-100/icon-100.e2e.js +40 -0
- package/dist/collection/components/icon-100/icon-100.js +11 -24
- package/dist/collection/components/icon-50/icon-50.e2e.js +32 -0
- package/dist/collection/components/icon-50/icon-50.js +8 -18
- package/dist/collection/components/input/input.e2e.js +84 -0
- package/dist/collection/components/input/input.js +33 -64
- package/dist/collection/components/input/input.spec.js +45 -0
- package/dist/collection/components/input-group/input-group.e2e.js +77 -0
- package/dist/collection/components/input-group/input-group.js +9 -17
- package/dist/collection/components/input-group/input-group.spec.js +56 -0
- package/dist/collection/components/input-label/input-label.e2e.js +10 -0
- package/dist/collection/components/input-label/input-label.js +4 -10
- package/dist/collection/components/input-list/input-list-option.js +3 -4
- package/dist/collection/components/input-list/input-list.e2e.js +242 -0
- package/dist/collection/components/input-list/input-list.js +17 -36
- package/dist/collection/components/label/label.e2e.js +17 -0
- package/dist/collection/components/label/label.js +3 -6
- package/dist/collection/components/label/label.spec.js +58 -0
- package/dist/collection/components/modal/modal.e2e.js +115 -0
- package/dist/collection/components/modal/modal.js +14 -29
- package/dist/collection/components/multiselect-dropdown/multiselect-dropdown.e2e.js +74 -0
- package/dist/collection/components/multiselect-dropdown/multiselect-dropdown.js +33 -57
- package/dist/collection/components/multiselect-dropdown/multiselect-option/multiselect-option.js +8 -15
- package/dist/collection/components/pagination/pagination.e2e.js +257 -0
- package/dist/collection/components/pagination/pagination.js +10 -22
- package/dist/collection/components/pagination/pagination.spec.js +103 -0
- package/dist/collection/components/paragraph/paragraph.e2e.js +13 -0
- package/dist/collection/components/paragraph/paragraph.js +8 -26
- package/dist/collection/components/progress-bar/progress-bar.e2e.js +43 -0
- package/dist/collection/components/progress-bar/progress-bar.js +11 -19
- package/dist/collection/components/radio/radio.e2e.js +45 -0
- package/dist/collection/components/radio/radio.js +20 -37
- package/dist/collection/components/radio/radio.spec.js +38 -0
- package/dist/collection/components/radio-group/radio-group.e2e.js +86 -0
- package/dist/collection/components/radio-group/radio-group.js +19 -34
- package/dist/collection/components/radio-group/radio-group.spec.js +31 -0
- package/dist/collection/components/required-separator/required-separator.e2e.js +17 -0
- package/dist/collection/components/required-separator/required-separator.js +2 -5
- package/dist/collection/components/rounded-icon/rounded-icon.js +8 -19
- package/dist/collection/components/scrollable-container/scrollable-container.js +1 -1
- package/dist/collection/components/search/search.e2e.js +98 -0
- package/dist/collection/components/search/search.js +9 -19
- package/dist/collection/components/separator/separator.e2e.js +22 -0
- package/dist/collection/components/separator/separator.js +2 -5
- package/dist/collection/components/shimmer/shimmer.e2e.js +18 -0
- package/dist/collection/components/shimmer/shimmer.js +9 -10
- package/dist/collection/components/shimmer/shimmer.spec.js +35 -0
- package/dist/collection/components/snackbar/snackbar.e2e.js +61 -0
- package/dist/collection/components/snackbar/snackbar.js +20 -38
- package/dist/collection/components/spinner/spinner.e2e.js +12 -0
- package/dist/collection/components/spinner/spinner.js +3 -9
- package/dist/collection/components/spinner/spinner.spec.js +41 -0
- package/dist/collection/components/tab/tab.e2e.js +35 -0
- package/dist/collection/components/tab/tab.js +5 -14
- package/dist/collection/components/tab/tab.spec.js +31 -0
- package/dist/collection/components/tab-group/tab-group.e2e.js +99 -0
- package/dist/collection/components/tab-group/tab-group.js +3 -7
- package/dist/collection/components/tab-panel/tab-panel.e2e.js +12 -0
- package/dist/collection/components/tab-panel/tab-panel.js +1 -1
- package/dist/collection/components/tab-panel/tab-panel.spec.js +10 -0
- package/dist/collection/components/table/table-cell/table-cell.js +17 -40
- package/dist/collection/components/table/table-header/table-header.js +19 -37
- package/dist/collection/components/table/table-row/table-row.js +18 -33
- package/dist/collection/components/table/table-rowgroup/table-rowgroup.js +15 -37
- package/dist/collection/components/table/table.e2e.js +405 -0
- package/dist/collection/components/table/table.js +4 -12
- package/dist/collection/components/textarea/textarea.e2e.js +91 -0
- package/dist/collection/components/textarea/textarea.js +30 -52
- package/dist/collection/components/toggle-button/toggle-button.e2e.js +44 -0
- package/dist/collection/components/toggle-button/toggle-button.js +13 -22
- package/dist/collection/components/toggle-chip/toggle-chip.e2e.js +47 -0
- package/dist/collection/components/toggle-chip/toggle-chip.js +13 -22
- package/dist/collection/components/toggle-group/toggle-group.e2e.js +65 -0
- package/dist/collection/components/toggle-group/toggle-group.js +7 -10
- package/dist/collection/components/toggle-switch/toggle-switch.e2e.js +50 -0
- package/dist/collection/components/toggle-switch/toggle-switch.js +14 -25
- package/dist/collection/components/tooltip/tooltip.e2e.js +64 -0
- package/dist/collection/components/tooltip/tooltip.js +11 -21
- package/dist/collection/components/wizard/wizard-step.js +5 -15
- package/dist/collection/components/wizard/wizard.e2e.js +149 -0
- package/dist/collection/components/wizard/wizard.js +7 -18
- package/dist/collection/components/wizard-icon/wizard-icon.js +6 -14
- package/dist/collection/docs/config/replace-prop-controls.spec.js +32 -0
- package/dist/collection/utils/utils.spec.js +15 -0
- package/dist/components/b2b-alert.js +13 -17
- package/dist/components/b2b-anchor.js +7 -11
- package/dist/components/b2b-background-box.js +6 -11
- package/dist/components/b2b-breadcrumb-item.js +9 -9
- package/dist/components/b2b-breadcrumb.js +9 -10
- package/dist/components/b2b-button.js +1 -1
- package/dist/components/b2b-card.js +7 -9
- package/dist/components/b2b-checkbox-group.js +15 -15
- package/dist/components/b2b-checkbox.js +1 -1
- package/dist/components/b2b-chip-component.js +1 -1
- package/dist/components/b2b-date-picker-days-header.js +1 -1
- package/dist/components/b2b-date-picker-days.js +1 -1
- package/dist/components/b2b-date-picker-header.js +1 -1
- package/dist/components/b2b-date-picker-months.js +1 -1
- package/dist/components/b2b-date-picker-years.js +1 -1
- package/dist/components/b2b-date-picker.js +43 -44
- package/dist/components/b2b-dropdown.js +26 -26
- package/dist/components/b2b-flyout-menu-option.js +9 -9
- package/dist/components/b2b-flyout-menu.js +8 -8
- package/dist/components/b2b-grid-col.js +5 -5
- package/dist/components/b2b-grid-row.js +4 -8
- package/dist/components/b2b-grid.js +5 -5
- package/dist/components/b2b-headline.js +1 -1
- package/dist/components/b2b-icon-100.js +1 -1
- package/dist/components/b2b-icon-50.js +13 -11
- package/dist/components/b2b-icon.js +16 -15
- package/dist/components/b2b-input-group.js +1 -1
- package/dist/components/b2b-input-label.js +1 -1
- package/dist/components/b2b-input-list-option.js +1 -1
- package/dist/components/b2b-input-list.js +1 -1
- package/dist/components/b2b-input.js +1 -1
- package/dist/components/b2b-label.js +6 -6
- package/dist/components/b2b-modal.js +17 -21
- package/dist/components/b2b-multiselect-dropdown.js +31 -30
- package/dist/components/b2b-multiselect-option.js +1 -1
- package/dist/components/b2b-pagination.js +13 -16
- package/dist/components/b2b-paragraph.js +6 -11
- package/dist/components/b2b-progress-bar.js +11 -10
- package/dist/components/b2b-radio-button.js +19 -17
- package/dist/components/b2b-radio-group.js +17 -15
- package/dist/components/b2b-required-separator.js +6 -6
- package/dist/components/b2b-rounded-icon.js +1 -1
- package/dist/components/b2b-scrollable-container.js +5 -4
- package/dist/components/b2b-search.js +18 -19
- package/dist/components/b2b-separator.js +1 -1
- package/dist/components/b2b-shimmer.js +8 -4
- package/dist/components/b2b-snackbar.js +19 -20
- package/dist/components/b2b-spinner.js +1 -1
- package/dist/components/b2b-tab-group.js +6 -8
- package/dist/components/b2b-tab-panel.js +5 -4
- package/dist/components/b2b-tab.js +7 -9
- package/dist/components/b2b-table-cell.js +1 -1
- package/dist/components/b2b-table-header.js +1 -1
- package/dist/components/b2b-table-row.js +23 -23
- package/dist/components/b2b-table-rowgroup.js +15 -24
- package/dist/components/b2b-table.js +9 -14
- package/dist/components/b2b-textarea.js +23 -19
- package/dist/components/b2b-toggle-button.js +13 -11
- package/dist/components/b2b-toggle-chip.js +13 -11
- package/dist/components/b2b-toggle-group.js +10 -8
- package/dist/components/b2b-toggle-switch.js +14 -14
- package/dist/components/b2b-tooltip.js +11 -12
- package/dist/components/b2b-wizard-icon.js +1 -1
- package/dist/components/b2b-wizard-step.js +10 -13
- package/dist/components/b2b-wizard.js +9 -13
- package/dist/components/{p-CE7t2D9r.js → button.js} +17 -23
- package/dist/components/{p-CLYM9t6v.js → checkbox.js} +22 -21
- package/dist/components/{p-ClL49BcQ.js → chip.js} +15 -13
- package/dist/components/{p-FI-HbnMh.js → date-picker-days-header.js} +7 -7
- package/dist/components/{p-0Vy4494O.js → date-picker-days.js} +24 -21
- package/dist/components/{p-C_U38W4s.js → date-picker-header.js} +17 -15
- package/dist/components/{p-1ZoTG5p9.js → date-picker-months.js} +9 -8
- package/dist/components/{p-dMZsx2Fh.js → date-picker-years.js} +8 -6
- package/dist/components/{p-Bo-B8kdb.js → headline.js} +4 -6
- package/dist/components/{p-B9RvgUY3.js → icon-100.js} +15 -14
- package/dist/components/index.js +1 -1929
- package/dist/components/{p-TB2jJFV6.js → input-group.js} +9 -8
- package/dist/components/{p-Zg4AtKjq.js → input-label.js} +6 -7
- package/dist/components/{p-QTGqu3he.js → input-list-option.js} +7 -5
- package/dist/components/{p-BacBJzW_.js → input-list.js} +21 -24
- package/dist/components/{p-CuUquHzL.js → input.js} +28 -32
- package/dist/components/{p-B7bjXySI.js → multiselect-option.js} +12 -12
- package/dist/{esm/request-B8W50WyB.js → components/request.js} +5 -2
- package/dist/components/{p-i758rnm2.js → rounded-icon.js} +9 -13
- package/dist/components/{p-DO7N8IC0.js → separator.js} +5 -5
- package/dist/components/{p-3cu_Madt.js → spinner.js} +5 -6
- package/dist/components/{p-9OQH2pET.js → table-cell.js} +15 -23
- package/dist/components/{p-BVLpVPNb.js → table-header.js} +17 -18
- package/dist/{esm/utils-BA6KE1BD.js → components/utils.js} +10 -3
- package/dist/components/{p-N6d2-6pL.js → wizard-icon.js} +10 -11
- package/dist/custom-elements.json +0 -24
- package/dist/esm/app-globals-0f993ce5.js +3 -0
- package/dist/esm/b2b-alert.entry.js +11 -15
- package/dist/esm/b2b-anchor.entry.js +6 -10
- package/dist/esm/b2b-background-box.entry.js +5 -10
- package/dist/esm/b2b-breadcrumb-item.entry.js +8 -8
- package/dist/esm/b2b-breadcrumb.entry.js +8 -9
- package/dist/esm/b2b-button_2.entry.js +18 -25
- package/dist/esm/b2b-card.entry.js +6 -8
- package/dist/esm/b2b-checkbox-group.entry.js +13 -13
- package/dist/esm/b2b-checkbox.entry.js +20 -19
- package/dist/esm/b2b-chip-component_2.entry.js +22 -20
- package/dist/esm/b2b-core-components.js +12 -12
- package/dist/esm/b2b-date-picker-days_5.entry.js +48 -40
- package/dist/esm/b2b-date-picker.entry.js +35 -36
- package/dist/esm/b2b-dropdown.entry.js +24 -24
- package/dist/esm/b2b-flyout-menu-option.entry.js +8 -8
- package/dist/esm/b2b-flyout-menu.entry.js +7 -7
- package/dist/esm/b2b-grid-col.entry.js +4 -4
- package/dist/esm/b2b-grid-row.entry.js +3 -7
- package/dist/esm/b2b-grid.entry.js +4 -4
- package/dist/esm/b2b-headline.entry.js +3 -5
- package/dist/esm/b2b-icon-100.entry.js +10 -12
- package/dist/esm/b2b-icon-50.entry.js +8 -9
- package/dist/esm/b2b-icon.entry.js +10 -12
- package/dist/esm/b2b-input-group_2.entry.js +22 -24
- package/dist/esm/b2b-input-label.entry.js +5 -6
- package/dist/esm/b2b-input_2.entry.js +31 -33
- package/dist/esm/b2b-label.entry.js +5 -5
- package/dist/esm/b2b-modal.entry.js +14 -18
- package/dist/esm/b2b-multiselect-dropdown.entry.js +25 -24
- package/dist/esm/b2b-pagination.entry.js +10 -13
- package/dist/esm/b2b-paragraph.entry.js +5 -10
- package/dist/esm/b2b-progress-bar.entry.js +10 -9
- package/dist/esm/b2b-radio-button.entry.js +17 -15
- package/dist/esm/b2b-radio-group.entry.js +15 -13
- package/dist/esm/b2b-required-separator.entry.js +4 -4
- package/dist/esm/b2b-rounded-icon.entry.js +8 -12
- package/dist/esm/b2b-scrollable-container.entry.js +4 -3
- package/dist/esm/b2b-search.entry.js +8 -9
- package/dist/esm/b2b-separator.entry.js +4 -4
- package/dist/esm/b2b-shimmer.entry.js +7 -3
- package/dist/esm/b2b-snackbar.entry.js +17 -18
- package/dist/esm/b2b-tab-group.entry.js +4 -6
- package/dist/esm/b2b-tab-panel.entry.js +4 -3
- package/dist/esm/b2b-tab.entry.js +6 -8
- package/dist/esm/b2b-table-cell_2.entry.js +28 -37
- package/dist/esm/b2b-table-row.entry.js +17 -17
- package/dist/esm/b2b-table-rowgroup.entry.js +14 -23
- package/dist/esm/b2b-table.entry.js +8 -13
- package/dist/esm/b2b-textarea.entry.js +21 -17
- package/dist/esm/b2b-toggle-button.entry.js +12 -10
- package/dist/esm/b2b-toggle-chip.entry.js +12 -10
- package/dist/esm/b2b-toggle-group.entry.js +9 -7
- package/dist/esm/b2b-toggle-switch.entry.js +13 -13
- package/dist/esm/b2b-tooltip.entry.js +10 -11
- package/dist/esm/b2b-wizard-icon.entry.js +7 -8
- package/dist/esm/b2b-wizard-step.entry.js +6 -9
- package/dist/esm/b2b-wizard.entry.js +8 -12
- package/dist/esm/index-ab9eb36d.js +2487 -0
- package/dist/esm/loader.js +4 -3
- package/dist/esm/polyfills/core-js.js +11 -0
- package/dist/esm/polyfills/dom.js +79 -0
- package/dist/esm/polyfills/es5-html-element.js +1 -0
- package/dist/esm/polyfills/index.js +34 -0
- package/dist/esm/polyfills/system.js +6 -0
- package/dist/{components/p-CPfvpKl5.js → esm/request-1d048f8a.js} +0 -2
- package/dist/{components/p-BA6KE1BD.js → esm/utils-868299de.js} +10 -3
- package/dist/loader/cdn.js +3 -1
- package/dist/loader/index.cjs.js +3 -1
- package/dist/loader/index.d.ts +0 -3
- package/dist/loader/index.es2017.js +3 -1
- package/dist/loader/index.js +3 -1
- package/dist/loader/package.json +11 -0
- package/dist/types/components.d.ts +0 -413
- package/dist/types/stencil-public-runtime.d.ts +11 -32
- package/dist/web-types.json +8 -7
- package/package.json +10 -11
- package/dist/b2b-core-components/p-0002d8d5.entry.js +0 -1
- package/dist/b2b-core-components/p-0386f660.entry.js +0 -1
- package/dist/b2b-core-components/p-0a08e2c8.entry.js +0 -1
- package/dist/b2b-core-components/p-0d8cc4eb.entry.js +0 -1
- package/dist/b2b-core-components/p-197dc9c0.entry.js +0 -1
- package/dist/b2b-core-components/p-220b8c79.entry.js +0 -1
- package/dist/b2b-core-components/p-2933f053.entry.js +0 -1
- package/dist/b2b-core-components/p-3a9f7db8.entry.js +0 -1
- package/dist/b2b-core-components/p-3e0919b3.entry.js +0 -1
- package/dist/b2b-core-components/p-42d9f79d.entry.js +0 -1
- package/dist/b2b-core-components/p-4bb42493.entry.js +0 -1
- package/dist/b2b-core-components/p-4c550170.entry.js +0 -1
- package/dist/b2b-core-components/p-50559efd.entry.js +0 -1
- package/dist/b2b-core-components/p-55db3d57.entry.js +0 -1
- package/dist/b2b-core-components/p-6e7abebc.entry.js +0 -1
- package/dist/b2b-core-components/p-7b75a0a4.entry.js +0 -1
- package/dist/b2b-core-components/p-7cbe33ef.entry.js +0 -1
- package/dist/b2b-core-components/p-8544b7e1.entry.js +0 -1
- package/dist/b2b-core-components/p-88037ad2.entry.js +0 -1
- package/dist/b2b-core-components/p-930425a1.entry.js +0 -1
- package/dist/b2b-core-components/p-B9l4NfeG.js +0 -1
- package/dist/b2b-core-components/p-BA6KE1BD.js +0 -1
- package/dist/b2b-core-components/p-a1a4efd4.entry.js +0 -1
- package/dist/b2b-core-components/p-a61eecf7.entry.js +0 -1
- package/dist/b2b-core-components/p-ada918c2.entry.js +0 -1
- package/dist/b2b-core-components/p-bb020c1c.entry.js +0 -1
- package/dist/b2b-core-components/p-bbb4c6f3.entry.js +0 -1
- package/dist/b2b-core-components/p-c0af184a.entry.js +0 -1
- package/dist/b2b-core-components/p-c40f7176.entry.js +0 -1
- package/dist/b2b-core-components/p-c6043d6a.entry.js +0 -1
- package/dist/b2b-core-components/p-c649c112.entry.js +0 -1
- package/dist/b2b-core-components/p-c69e9220.entry.js +0 -1
- package/dist/b2b-core-components/p-d1b46208.entry.js +0 -1
- package/dist/b2b-core-components/p-d2d40ae5.entry.js +0 -1
- package/dist/b2b-core-components/p-e8e156a4.entry.js +0 -1
- package/dist/b2b-core-components/p-ebcc2cce.entry.js +0 -1
- package/dist/b2b-core-components/p-edea84cc.entry.js +0 -1
- package/dist/b2b-core-components/p-f831e483.entry.js +0 -1
- package/dist/b2b-core-components/p-fdfb094e.entry.js +0 -1
- package/dist/b2b-core-components/p-zl-jO_Vq.js +0 -2
- package/dist/cjs/index-CIrNIFXs.js +0 -2406
- package/dist/esm/index-zl-jO_Vq.js +0 -2378
- /package/dist/b2b-core-components/{p-B8geQC3V.js → p-48608c23.js} +0 -0
- /package/dist/b2b-core-components/{p-BgHEmQ44.js → p-c500d93c.js} +0 -0
- /package/dist/cjs/{date-picker-util-VbL9p5ie.js → date-picker-util-51276571.js} +0 -0
- /package/dist/cjs/{wizard.types-uAv3s7tK.js → wizard.types-40a1058c.js} +0 -0
- /package/dist/components/{p-BsfreBZY.js → date-picker.types.js} +0 -0
- /package/dist/components/{p-BgHEmQ44.js → wizard.types.js} +0 -0
- /package/dist/esm/{date-picker-util-B8geQC3V.js → date-picker-util-44201ca6.js} +0 -0
- /package/dist/esm/{wizard.types-BgHEmQ44.js → wizard.types-40ae9b73.js} +0 -0
|
@@ -3,23 +3,6 @@ import { ContentAlignment, TableSizes, } from "../../../utils/types/table.types"
|
|
|
3
3
|
import { setFlexBase } from "../utils";
|
|
4
4
|
export class TableCellComponent {
|
|
5
5
|
constructor() {
|
|
6
|
-
/** Whether text should wrap or truncate.
|
|
7
|
-
* It will only truncate when table size is equal
|
|
8
|
-
* **/
|
|
9
|
-
this.textWrap = true;
|
|
10
|
-
/** @internal The size of the cell. Follows table size.
|
|
11
|
-
* When size is equal and textWrap is false, the text will truncate with Ellipsis.
|
|
12
|
-
* Other sizes won't affect cell current implementation.
|
|
13
|
-
**/
|
|
14
|
-
this.size = TableSizes.EXPAND;
|
|
15
|
-
// TODO: test via visual tests - storybook story
|
|
16
|
-
/** Alignment of the content of the cell, by default is to the left. **/
|
|
17
|
-
this.align = ContentAlignment.LEFT;
|
|
18
|
-
/** adds a border to the right of the cell. **/
|
|
19
|
-
this.divider = false;
|
|
20
|
-
/** Background color of the cell. This color selection does not have hover states, as it is handled from the row**/
|
|
21
|
-
this.color = 'default';
|
|
22
|
-
this.useTextEllipsis = false;
|
|
23
6
|
this.expandTextHoverWaitTime = 600;
|
|
24
7
|
this.addExpandStyles = () => {
|
|
25
8
|
this.expandTextHoverTimeoutId = setTimeout(() => {
|
|
@@ -36,6 +19,14 @@ export class TableCellComponent {
|
|
|
36
19
|
clearTimeout(this.expandTextHoverTimeoutId);
|
|
37
20
|
this.host.classList.remove('b2b-table-cell--expand-text');
|
|
38
21
|
};
|
|
22
|
+
this.textWrap = true;
|
|
23
|
+
this.size = TableSizes.EXPAND;
|
|
24
|
+
this.align = ContentAlignment.LEFT;
|
|
25
|
+
this.divider = false;
|
|
26
|
+
this.color = 'default';
|
|
27
|
+
this.colspan = undefined;
|
|
28
|
+
this.totalCols = undefined;
|
|
29
|
+
this.useTextEllipsis = false;
|
|
39
30
|
}
|
|
40
31
|
componentWillLoad() {
|
|
41
32
|
this.useTextEllipsis = !this.textWrap && this.size === TableSizes.EQUAL;
|
|
@@ -45,14 +36,14 @@ export class TableCellComponent {
|
|
|
45
36
|
}
|
|
46
37
|
}
|
|
47
38
|
render() {
|
|
48
|
-
return (h(Host, { key: '
|
|
39
|
+
return (h(Host, { key: '571ec5bc494057bfbe9c9146da086bb6a192f298', onMouseEnter: this.addExpandStyles, onMouseLeave: this.removeExpandStyles, class: {
|
|
49
40
|
'b2b-table-cell': true,
|
|
50
41
|
['b2b-table-cell--colspan']: this.size === TableSizes.COLSPAN,
|
|
51
42
|
['b2b-table-cell--ellipsis']: this.useTextEllipsis,
|
|
52
43
|
['b2b-table-cell--' + this.align]: true,
|
|
53
44
|
['b2b-table-cell--divider']: this.divider,
|
|
54
45
|
[`b2b-table-cell-color-${this.color}`]: true,
|
|
55
|
-
}, role: "cell" }, h("slot", { key: '
|
|
46
|
+
}, role: "cell" }, h("slot", { key: '10385f497f0061d09b227b88456205bac24f272f' })));
|
|
56
47
|
}
|
|
57
48
|
static get is() { return "b2b-table-cell"; }
|
|
58
49
|
static get encapsulation() { return "shadow"; }
|
|
@@ -70,7 +61,6 @@ export class TableCellComponent {
|
|
|
70
61
|
return {
|
|
71
62
|
"textWrap": {
|
|
72
63
|
"type": "boolean",
|
|
73
|
-
"attribute": "text-wrap",
|
|
74
64
|
"mutable": false,
|
|
75
65
|
"complexType": {
|
|
76
66
|
"original": "boolean",
|
|
@@ -83,14 +73,12 @@ export class TableCellComponent {
|
|
|
83
73
|
"tags": [],
|
|
84
74
|
"text": "Whether text should wrap or truncate.\nIt will only truncate when table size is equal\n*"
|
|
85
75
|
},
|
|
86
|
-
"
|
|
87
|
-
"setter": false,
|
|
76
|
+
"attribute": "text-wrap",
|
|
88
77
|
"reflect": true,
|
|
89
78
|
"defaultValue": "true"
|
|
90
79
|
},
|
|
91
80
|
"size": {
|
|
92
81
|
"type": "string",
|
|
93
|
-
"attribute": "size",
|
|
94
82
|
"mutable": false,
|
|
95
83
|
"complexType": {
|
|
96
84
|
"original": "TableSizes",
|
|
@@ -112,14 +100,12 @@ export class TableCellComponent {
|
|
|
112
100
|
}],
|
|
113
101
|
"text": ""
|
|
114
102
|
},
|
|
115
|
-
"
|
|
116
|
-
"setter": false,
|
|
103
|
+
"attribute": "size",
|
|
117
104
|
"reflect": false,
|
|
118
105
|
"defaultValue": "TableSizes.EXPAND"
|
|
119
106
|
},
|
|
120
107
|
"align": {
|
|
121
108
|
"type": "string",
|
|
122
|
-
"attribute": "align",
|
|
123
109
|
"mutable": false,
|
|
124
110
|
"complexType": {
|
|
125
111
|
"original": "ContentAlignment",
|
|
@@ -138,14 +124,12 @@ export class TableCellComponent {
|
|
|
138
124
|
"tags": [],
|
|
139
125
|
"text": "Alignment of the content of the cell, by default is to the left. *"
|
|
140
126
|
},
|
|
141
|
-
"
|
|
142
|
-
"setter": false,
|
|
127
|
+
"attribute": "align",
|
|
143
128
|
"reflect": false,
|
|
144
129
|
"defaultValue": "ContentAlignment.LEFT"
|
|
145
130
|
},
|
|
146
131
|
"divider": {
|
|
147
132
|
"type": "boolean",
|
|
148
|
-
"attribute": "divider",
|
|
149
133
|
"mutable": false,
|
|
150
134
|
"complexType": {
|
|
151
135
|
"original": "boolean",
|
|
@@ -158,14 +142,12 @@ export class TableCellComponent {
|
|
|
158
142
|
"tags": [],
|
|
159
143
|
"text": "adds a border to the right of the cell. *"
|
|
160
144
|
},
|
|
161
|
-
"
|
|
162
|
-
"setter": false,
|
|
145
|
+
"attribute": "divider",
|
|
163
146
|
"reflect": false,
|
|
164
147
|
"defaultValue": "false"
|
|
165
148
|
},
|
|
166
149
|
"color": {
|
|
167
150
|
"type": "string",
|
|
168
|
-
"attribute": "color",
|
|
169
151
|
"mutable": false,
|
|
170
152
|
"complexType": {
|
|
171
153
|
"original": "TableColourOptions",
|
|
@@ -184,14 +166,12 @@ export class TableCellComponent {
|
|
|
184
166
|
"tags": [],
|
|
185
167
|
"text": "Background color of the cell. This color selection does not have hover states, as it is handled from the row*"
|
|
186
168
|
},
|
|
187
|
-
"
|
|
188
|
-
"setter": false,
|
|
169
|
+
"attribute": "color",
|
|
189
170
|
"reflect": false,
|
|
190
171
|
"defaultValue": "'default'"
|
|
191
172
|
},
|
|
192
173
|
"colspan": {
|
|
193
174
|
"type": "number",
|
|
194
|
-
"attribute": "colspan",
|
|
195
175
|
"mutable": false,
|
|
196
176
|
"complexType": {
|
|
197
177
|
"original": "number",
|
|
@@ -204,13 +184,11 @@ export class TableCellComponent {
|
|
|
204
184
|
"tags": [],
|
|
205
185
|
"text": "How many columns the cell should span. Accepts numbers greater than one."
|
|
206
186
|
},
|
|
207
|
-
"
|
|
208
|
-
"setter": false,
|
|
187
|
+
"attribute": "colspan",
|
|
209
188
|
"reflect": false
|
|
210
189
|
},
|
|
211
190
|
"totalCols": {
|
|
212
191
|
"type": "number",
|
|
213
|
-
"attribute": "total-cols",
|
|
214
192
|
"mutable": false,
|
|
215
193
|
"complexType": {
|
|
216
194
|
"original": "number",
|
|
@@ -226,8 +204,7 @@ export class TableCellComponent {
|
|
|
226
204
|
}],
|
|
227
205
|
"text": ""
|
|
228
206
|
},
|
|
229
|
-
"
|
|
230
|
-
"setter": false,
|
|
207
|
+
"attribute": "total-cols",
|
|
231
208
|
"reflect": false
|
|
232
209
|
}
|
|
233
210
|
};
|
|
@@ -3,18 +3,6 @@ import { TableSizes, TableSortDirections, SortIconAlignment, ContentAlignment, }
|
|
|
3
3
|
import { setFlexBase } from "../utils";
|
|
4
4
|
export class TableHeaderComponent {
|
|
5
5
|
constructor() {
|
|
6
|
-
/** adds a border to the right of the header. **/
|
|
7
|
-
this.divider = false;
|
|
8
|
-
/** The size of the cell. Follows table size.
|
|
9
|
-
* When size is equal and textWrap is false, the text will truncate with Ellipsis.
|
|
10
|
-
* Other sizes won't affect cell current implementation.
|
|
11
|
-
**/
|
|
12
|
-
this.size = TableSizes.EXPAND;
|
|
13
|
-
/** @deprecated Use fixed on the rowgroup instead. Sets the header position to sticky. Use it when table is inside a scrollable container. **/
|
|
14
|
-
this.fixed = false;
|
|
15
|
-
/** Alignment of the content of the cell, by default is to the left. **/
|
|
16
|
-
this.contentAlign = ContentAlignment.LEFT;
|
|
17
|
-
this.active = false;
|
|
18
6
|
this.setIconPlacement = () => {
|
|
19
7
|
switch (this.contentAlign) {
|
|
20
8
|
case ContentAlignment.LEFT:
|
|
@@ -63,6 +51,16 @@ export class TableHeaderComponent {
|
|
|
63
51
|
this.setInactive = () => {
|
|
64
52
|
this.active = false;
|
|
65
53
|
};
|
|
54
|
+
this.divider = false;
|
|
55
|
+
this.size = TableSizes.EXPAND;
|
|
56
|
+
this.fixed = false;
|
|
57
|
+
this.sortDirection = undefined;
|
|
58
|
+
this.sortId = undefined;
|
|
59
|
+
this.colspan = undefined;
|
|
60
|
+
this.contentAlign = ContentAlignment.LEFT;
|
|
61
|
+
this.totalCols = undefined;
|
|
62
|
+
this.active = false;
|
|
63
|
+
this.iconAlign = undefined;
|
|
66
64
|
}
|
|
67
65
|
componentWillLoad() {
|
|
68
66
|
if (this.size === TableSizes.COLSPAN) {
|
|
@@ -74,7 +72,7 @@ export class TableHeaderComponent {
|
|
|
74
72
|
this.setIconPlacement();
|
|
75
73
|
}
|
|
76
74
|
render() {
|
|
77
|
-
return (h(Host, { key: '
|
|
75
|
+
return (h(Host, { key: '34f96e3a7c5c36cafadb463a72f1acec6550d367', class: {
|
|
78
76
|
[`b2b-table-header--${this.sortDirection && this.iconAlign}`]: true,
|
|
79
77
|
'b2b-table-header--divider': this.divider,
|
|
80
78
|
[`b2b-table-header--${this.size}`]: true,
|
|
@@ -109,7 +107,6 @@ export class TableHeaderComponent {
|
|
|
109
107
|
return {
|
|
110
108
|
"divider": {
|
|
111
109
|
"type": "boolean",
|
|
112
|
-
"attribute": "divider",
|
|
113
110
|
"mutable": false,
|
|
114
111
|
"complexType": {
|
|
115
112
|
"original": "boolean",
|
|
@@ -122,14 +119,12 @@ export class TableHeaderComponent {
|
|
|
122
119
|
"tags": [],
|
|
123
120
|
"text": "adds a border to the right of the header. *"
|
|
124
121
|
},
|
|
125
|
-
"
|
|
126
|
-
"setter": false,
|
|
122
|
+
"attribute": "divider",
|
|
127
123
|
"reflect": false,
|
|
128
124
|
"defaultValue": "false"
|
|
129
125
|
},
|
|
130
126
|
"size": {
|
|
131
127
|
"type": "string",
|
|
132
|
-
"attribute": "size",
|
|
133
128
|
"mutable": false,
|
|
134
129
|
"complexType": {
|
|
135
130
|
"original": "TableSizes",
|
|
@@ -148,14 +143,12 @@ export class TableHeaderComponent {
|
|
|
148
143
|
"tags": [],
|
|
149
144
|
"text": "The size of the cell. Follows table size.\nWhen size is equal and textWrap is false, the text will truncate with Ellipsis.\nOther sizes won't affect cell current implementation."
|
|
150
145
|
},
|
|
151
|
-
"
|
|
152
|
-
"setter": false,
|
|
146
|
+
"attribute": "size",
|
|
153
147
|
"reflect": false,
|
|
154
148
|
"defaultValue": "TableSizes.EXPAND"
|
|
155
149
|
},
|
|
156
150
|
"fixed": {
|
|
157
151
|
"type": "boolean",
|
|
158
|
-
"attribute": "fixed",
|
|
159
152
|
"mutable": false,
|
|
160
153
|
"complexType": {
|
|
161
154
|
"original": "boolean",
|
|
@@ -171,14 +164,12 @@ export class TableHeaderComponent {
|
|
|
171
164
|
}],
|
|
172
165
|
"text": ""
|
|
173
166
|
},
|
|
174
|
-
"
|
|
175
|
-
"setter": false,
|
|
167
|
+
"attribute": "fixed",
|
|
176
168
|
"reflect": false,
|
|
177
169
|
"defaultValue": "false"
|
|
178
170
|
},
|
|
179
171
|
"sortDirection": {
|
|
180
172
|
"type": "string",
|
|
181
|
-
"attribute": "sort-direction",
|
|
182
173
|
"mutable": true,
|
|
183
174
|
"complexType": {
|
|
184
175
|
"original": "TableSortDirections",
|
|
@@ -197,13 +188,11 @@ export class TableHeaderComponent {
|
|
|
197
188
|
"tags": [],
|
|
198
189
|
"text": "The direction in which the column data is sorted. Per default, it is unsorted and no button is visible. If your data comes presorted, you need to adjust this."
|
|
199
190
|
},
|
|
200
|
-
"
|
|
201
|
-
"setter": false,
|
|
191
|
+
"attribute": "sort-direction",
|
|
202
192
|
"reflect": true
|
|
203
193
|
},
|
|
204
194
|
"sortId": {
|
|
205
195
|
"type": "string",
|
|
206
|
-
"attribute": "sort-id",
|
|
207
196
|
"mutable": false,
|
|
208
197
|
"complexType": {
|
|
209
198
|
"original": "string",
|
|
@@ -216,13 +205,11 @@ export class TableHeaderComponent {
|
|
|
216
205
|
"tags": [],
|
|
217
206
|
"text": "Optional string to uniquely represent the header, this id will be emitted by the table b2b-sort-change event. If not provided, the event will emit the header textContent."
|
|
218
207
|
},
|
|
219
|
-
"
|
|
220
|
-
"setter": false,
|
|
208
|
+
"attribute": "sort-id",
|
|
221
209
|
"reflect": false
|
|
222
210
|
},
|
|
223
211
|
"colspan": {
|
|
224
212
|
"type": "number",
|
|
225
|
-
"attribute": "colspan",
|
|
226
213
|
"mutable": false,
|
|
227
214
|
"complexType": {
|
|
228
215
|
"original": "number",
|
|
@@ -235,13 +222,11 @@ export class TableHeaderComponent {
|
|
|
235
222
|
"tags": [],
|
|
236
223
|
"text": "The width of the column. Increase it to change the size of the column relative to other columns."
|
|
237
224
|
},
|
|
238
|
-
"
|
|
239
|
-
"setter": false,
|
|
225
|
+
"attribute": "colspan",
|
|
240
226
|
"reflect": false
|
|
241
227
|
},
|
|
242
228
|
"contentAlign": {
|
|
243
229
|
"type": "string",
|
|
244
|
-
"attribute": "content-align",
|
|
245
230
|
"mutable": false,
|
|
246
231
|
"complexType": {
|
|
247
232
|
"original": "ContentAlignment",
|
|
@@ -260,14 +245,12 @@ export class TableHeaderComponent {
|
|
|
260
245
|
"tags": [],
|
|
261
246
|
"text": "Alignment of the content of the cell, by default is to the left. *"
|
|
262
247
|
},
|
|
263
|
-
"
|
|
264
|
-
"setter": false,
|
|
248
|
+
"attribute": "content-align",
|
|
265
249
|
"reflect": false,
|
|
266
250
|
"defaultValue": "ContentAlignment.LEFT"
|
|
267
251
|
},
|
|
268
252
|
"totalCols": {
|
|
269
253
|
"type": "number",
|
|
270
|
-
"attribute": "total-cols",
|
|
271
254
|
"mutable": false,
|
|
272
255
|
"complexType": {
|
|
273
256
|
"original": "number",
|
|
@@ -283,8 +266,7 @@ export class TableHeaderComponent {
|
|
|
283
266
|
}],
|
|
284
267
|
"text": ""
|
|
285
268
|
},
|
|
286
|
-
"
|
|
287
|
-
"setter": false,
|
|
269
|
+
"attribute": "total-cols",
|
|
288
270
|
"reflect": false
|
|
289
271
|
}
|
|
290
272
|
};
|
|
@@ -3,17 +3,7 @@ import { TableColourOptions, TableSizes, } from "../../../utils/types/table.type
|
|
|
3
3
|
import { isFirstRow } from "../utils";
|
|
4
4
|
export class TableRowComponent {
|
|
5
5
|
constructor() {
|
|
6
|
-
/** Whether the row will be highlighted on mouse over **/
|
|
7
|
-
this.highlight = true;
|
|
8
|
-
/** Background color of the row. Use it semantically. This color selection have hover states **/
|
|
9
|
-
this.color = 'default';
|
|
10
|
-
/** If a selectable row is a parent for an accordion, it becomes indeterminate when some of it's children are checked, but not all. */
|
|
11
|
-
this.indeterminate = false;
|
|
12
|
-
/** If a selectable row is currently checked. Per default, it is false. */
|
|
13
|
-
this.checked = false;
|
|
14
6
|
this.parentRowGroup = null;
|
|
15
|
-
this.isAccordionValue = false;
|
|
16
|
-
this.isOpen = false;
|
|
17
7
|
this.toggleOpen = () => {
|
|
18
8
|
this.isOpen = !this.isOpen;
|
|
19
9
|
this.b2bOpen.emit(this.isOpen);
|
|
@@ -72,6 +62,15 @@ export class TableRowComponent {
|
|
|
72
62
|
return (h("b2b-table-header", { class: "b2b-table-row__control-cell--accordion" }));
|
|
73
63
|
}
|
|
74
64
|
};
|
|
65
|
+
this.highlight = true;
|
|
66
|
+
this.color = 'default';
|
|
67
|
+
this.selectable = undefined;
|
|
68
|
+
this.size = undefined;
|
|
69
|
+
this.value = undefined;
|
|
70
|
+
this.indeterminate = false;
|
|
71
|
+
this.checked = false;
|
|
72
|
+
this.isAccordionValue = false;
|
|
73
|
+
this.isOpen = false;
|
|
75
74
|
}
|
|
76
75
|
toggleSelected(event) {
|
|
77
76
|
var _a;
|
|
@@ -111,12 +110,12 @@ export class TableRowComponent {
|
|
|
111
110
|
}
|
|
112
111
|
}
|
|
113
112
|
render() {
|
|
114
|
-
return (h(Host, { key: '
|
|
113
|
+
return (h(Host, { key: '9a5b7dad23904822431e478a2cba8afd65d41d49', class: {
|
|
115
114
|
'b2b-table-row': true,
|
|
116
115
|
['b2b-table-row--colspan']: this.size === TableSizes.COLSPAN,
|
|
117
116
|
['b2b-table-row--highlight']: this.highlight,
|
|
118
117
|
[`b2b-table-row--color-${this.getRowColor()}`]: true,
|
|
119
|
-
}, role: "row" }, this.getAccordionColumns(), this.getCheckbox(), h("slot", { key: '
|
|
118
|
+
}, role: "row" }, this.getAccordionColumns(), this.getCheckbox(), h("slot", { key: 'ce9384518ed7337c3e0bd6e22a8b206af8a7452e' })));
|
|
120
119
|
}
|
|
121
120
|
static get is() { return "b2b-table-row"; }
|
|
122
121
|
static get encapsulation() { return "shadow"; }
|
|
@@ -134,7 +133,6 @@ export class TableRowComponent {
|
|
|
134
133
|
return {
|
|
135
134
|
"highlight": {
|
|
136
135
|
"type": "boolean",
|
|
137
|
-
"attribute": "highlight",
|
|
138
136
|
"mutable": false,
|
|
139
137
|
"complexType": {
|
|
140
138
|
"original": "boolean",
|
|
@@ -147,14 +145,12 @@ export class TableRowComponent {
|
|
|
147
145
|
"tags": [],
|
|
148
146
|
"text": "Whether the row will be highlighted on mouse over *"
|
|
149
147
|
},
|
|
150
|
-
"
|
|
151
|
-
"setter": false,
|
|
148
|
+
"attribute": "highlight",
|
|
152
149
|
"reflect": false,
|
|
153
150
|
"defaultValue": "true"
|
|
154
151
|
},
|
|
155
152
|
"color": {
|
|
156
153
|
"type": "string",
|
|
157
|
-
"attribute": "color",
|
|
158
154
|
"mutable": false,
|
|
159
155
|
"complexType": {
|
|
160
156
|
"original": "TableColourOptions",
|
|
@@ -173,14 +169,12 @@ export class TableRowComponent {
|
|
|
173
169
|
"tags": [],
|
|
174
170
|
"text": "Background color of the row. Use it semantically. This color selection have hover states *"
|
|
175
171
|
},
|
|
176
|
-
"
|
|
177
|
-
"setter": false,
|
|
172
|
+
"attribute": "color",
|
|
178
173
|
"reflect": false,
|
|
179
174
|
"defaultValue": "'default'"
|
|
180
175
|
},
|
|
181
176
|
"selectable": {
|
|
182
177
|
"type": "boolean",
|
|
183
|
-
"attribute": "selectable",
|
|
184
178
|
"mutable": false,
|
|
185
179
|
"complexType": {
|
|
186
180
|
"original": "boolean",
|
|
@@ -196,13 +190,11 @@ export class TableRowComponent {
|
|
|
196
190
|
}],
|
|
197
191
|
"text": ""
|
|
198
192
|
},
|
|
199
|
-
"
|
|
200
|
-
"setter": false,
|
|
193
|
+
"attribute": "selectable",
|
|
201
194
|
"reflect": false
|
|
202
195
|
},
|
|
203
196
|
"size": {
|
|
204
197
|
"type": "string",
|
|
205
|
-
"attribute": "size",
|
|
206
198
|
"mutable": false,
|
|
207
199
|
"complexType": {
|
|
208
200
|
"original": "TableSizes",
|
|
@@ -224,13 +216,11 @@ export class TableRowComponent {
|
|
|
224
216
|
}],
|
|
225
217
|
"text": ""
|
|
226
218
|
},
|
|
227
|
-
"
|
|
228
|
-
"setter": false,
|
|
219
|
+
"attribute": "size",
|
|
229
220
|
"reflect": false
|
|
230
221
|
},
|
|
231
222
|
"value": {
|
|
232
223
|
"type": "string",
|
|
233
|
-
"attribute": "value",
|
|
234
224
|
"mutable": false,
|
|
235
225
|
"complexType": {
|
|
236
226
|
"original": "string",
|
|
@@ -243,13 +233,11 @@ export class TableRowComponent {
|
|
|
243
233
|
"tags": [],
|
|
244
234
|
"text": "The unique identifier for a selectable row. It is emitted when the row is selected."
|
|
245
235
|
},
|
|
246
|
-
"
|
|
247
|
-
"setter": false,
|
|
236
|
+
"attribute": "value",
|
|
248
237
|
"reflect": false
|
|
249
238
|
},
|
|
250
239
|
"indeterminate": {
|
|
251
240
|
"type": "boolean",
|
|
252
|
-
"attribute": "indeterminate",
|
|
253
241
|
"mutable": false,
|
|
254
242
|
"complexType": {
|
|
255
243
|
"original": "boolean",
|
|
@@ -262,14 +250,12 @@ export class TableRowComponent {
|
|
|
262
250
|
"tags": [],
|
|
263
251
|
"text": "If a selectable row is a parent for an accordion, it becomes indeterminate when some of it's children are checked, but not all."
|
|
264
252
|
},
|
|
265
|
-
"
|
|
266
|
-
"setter": false,
|
|
253
|
+
"attribute": "indeterminate",
|
|
267
254
|
"reflect": false,
|
|
268
255
|
"defaultValue": "false"
|
|
269
256
|
},
|
|
270
257
|
"checked": {
|
|
271
258
|
"type": "boolean",
|
|
272
|
-
"attribute": "checked",
|
|
273
259
|
"mutable": true,
|
|
274
260
|
"complexType": {
|
|
275
261
|
"original": "boolean",
|
|
@@ -282,8 +268,7 @@ export class TableRowComponent {
|
|
|
282
268
|
"tags": [],
|
|
283
269
|
"text": "If a selectable row is currently checked. Per default, it is false."
|
|
284
270
|
},
|
|
285
|
-
"
|
|
286
|
-
"setter": false,
|
|
271
|
+
"attribute": "checked",
|
|
287
272
|
"reflect": false,
|
|
288
273
|
"defaultValue": "false"
|
|
289
274
|
}
|
|
@@ -3,23 +3,6 @@ import { TableRowgroupTypes, TableSizes, } from "../../../utils/types/table.type
|
|
|
3
3
|
import { updateCheckboxState, getFirstRow, getAllRows, getRemainingRows, isFirstRow, } from "../utils";
|
|
4
4
|
export class TableRowgroupComponent {
|
|
5
5
|
constructor() {
|
|
6
|
-
/** Rowgroup allows grouping rows by context: header, body or footer.
|
|
7
|
-
* Header rows are by default not highlightable on mouse over.
|
|
8
|
-
**/
|
|
9
|
-
this.type = TableRowgroupTypes.HEADER;
|
|
10
|
-
/** Renders the rowgroup as an accordion. Both header and body must have accordion set to true.
|
|
11
|
-
* One table can contain multiple rowgroups of type body, each of which represents an accordion row with children.
|
|
12
|
-
*/
|
|
13
|
-
this.accordion = false;
|
|
14
|
-
/** If the rows in the rowgroup can be selected via checkmark. Per default, it is false. */
|
|
15
|
-
this.selectable = false;
|
|
16
|
-
/** Sets the header rowgroup position to sticky. Use this in a scrollable container. */
|
|
17
|
-
this.fixed = false;
|
|
18
|
-
/** Only use when accordion property is true.
|
|
19
|
-
* Will render the accordion opened if set to true. By default, is false.
|
|
20
|
-
*/
|
|
21
|
-
this.opened = false;
|
|
22
|
-
this.selectedValues = [];
|
|
23
6
|
this.toggleSelectAll = (event, children) => {
|
|
24
7
|
this.toggleList(children, event);
|
|
25
8
|
const rows = children.filter(child => !isFirstRow(child));
|
|
@@ -71,6 +54,13 @@ export class TableRowgroupComponent {
|
|
|
71
54
|
}
|
|
72
55
|
}
|
|
73
56
|
};
|
|
57
|
+
this.type = TableRowgroupTypes.HEADER;
|
|
58
|
+
this.size = undefined;
|
|
59
|
+
this.accordion = false;
|
|
60
|
+
this.selectable = false;
|
|
61
|
+
this.fixed = false;
|
|
62
|
+
this.opened = false;
|
|
63
|
+
this.selectedValues = [];
|
|
74
64
|
}
|
|
75
65
|
handleOpenChange(event) {
|
|
76
66
|
this.toggleChildRowVisibility(event.detail);
|
|
@@ -123,11 +113,11 @@ export class TableRowgroupComponent {
|
|
|
123
113
|
this.makeHeaderRowNotSelectable();
|
|
124
114
|
}
|
|
125
115
|
render() {
|
|
126
|
-
return (h(Host, { key: '
|
|
116
|
+
return (h(Host, { key: '13fd30394de031e092fba44f9321c87a3e8429ec', class: {
|
|
127
117
|
['b2b-table-rowgroup__' + this.type]: true,
|
|
128
118
|
'b2b-table-rowgroup--fixed': this.fixed,
|
|
129
119
|
'b2b-table-rowgroup--colspan': this.size === TableSizes.COLSPAN,
|
|
130
|
-
}, role: "rowgroup" }, h("slot", { key: '
|
|
120
|
+
}, role: "rowgroup" }, h("slot", { key: '7858dfcb69a29d791bd419a30b9cc4f95e3b2280' })));
|
|
131
121
|
}
|
|
132
122
|
static get is() { return "b2b-table-rowgroup"; }
|
|
133
123
|
static get encapsulation() { return "shadow"; }
|
|
@@ -145,7 +135,6 @@ export class TableRowgroupComponent {
|
|
|
145
135
|
return {
|
|
146
136
|
"type": {
|
|
147
137
|
"type": "string",
|
|
148
|
-
"attribute": "type",
|
|
149
138
|
"mutable": false,
|
|
150
139
|
"complexType": {
|
|
151
140
|
"original": "TableRowgroupTypes",
|
|
@@ -164,14 +153,12 @@ export class TableRowgroupComponent {
|
|
|
164
153
|
"tags": [],
|
|
165
154
|
"text": "Rowgroup allows grouping rows by context: header, body or footer.\nHeader rows are by default not highlightable on mouse over."
|
|
166
155
|
},
|
|
167
|
-
"
|
|
168
|
-
"setter": false,
|
|
156
|
+
"attribute": "type",
|
|
169
157
|
"reflect": false,
|
|
170
158
|
"defaultValue": "TableRowgroupTypes.HEADER"
|
|
171
159
|
},
|
|
172
160
|
"size": {
|
|
173
161
|
"type": "string",
|
|
174
|
-
"attribute": "size",
|
|
175
162
|
"mutable": false,
|
|
176
163
|
"complexType": {
|
|
177
164
|
"original": "TableSizes",
|
|
@@ -193,13 +180,11 @@ export class TableRowgroupComponent {
|
|
|
193
180
|
}],
|
|
194
181
|
"text": ""
|
|
195
182
|
},
|
|
196
|
-
"
|
|
197
|
-
"setter": false,
|
|
183
|
+
"attribute": "size",
|
|
198
184
|
"reflect": false
|
|
199
185
|
},
|
|
200
186
|
"accordion": {
|
|
201
187
|
"type": "boolean",
|
|
202
|
-
"attribute": "accordion",
|
|
203
188
|
"mutable": false,
|
|
204
189
|
"complexType": {
|
|
205
190
|
"original": "boolean",
|
|
@@ -212,14 +197,12 @@ export class TableRowgroupComponent {
|
|
|
212
197
|
"tags": [],
|
|
213
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."
|
|
214
199
|
},
|
|
215
|
-
"
|
|
216
|
-
"setter": false,
|
|
200
|
+
"attribute": "accordion",
|
|
217
201
|
"reflect": true,
|
|
218
202
|
"defaultValue": "false"
|
|
219
203
|
},
|
|
220
204
|
"selectable": {
|
|
221
205
|
"type": "boolean",
|
|
222
|
-
"attribute": "selectable",
|
|
223
206
|
"mutable": false,
|
|
224
207
|
"complexType": {
|
|
225
208
|
"original": "boolean",
|
|
@@ -232,14 +215,12 @@ export class TableRowgroupComponent {
|
|
|
232
215
|
"tags": [],
|
|
233
216
|
"text": "If the rows in the rowgroup can be selected via checkmark. Per default, it is false."
|
|
234
217
|
},
|
|
235
|
-
"
|
|
236
|
-
"setter": false,
|
|
218
|
+
"attribute": "selectable",
|
|
237
219
|
"reflect": false,
|
|
238
220
|
"defaultValue": "false"
|
|
239
221
|
},
|
|
240
222
|
"fixed": {
|
|
241
223
|
"type": "boolean",
|
|
242
|
-
"attribute": "fixed",
|
|
243
224
|
"mutable": false,
|
|
244
225
|
"complexType": {
|
|
245
226
|
"original": "boolean",
|
|
@@ -252,14 +233,12 @@ export class TableRowgroupComponent {
|
|
|
252
233
|
"tags": [],
|
|
253
234
|
"text": "Sets the header rowgroup position to sticky. Use this in a scrollable container."
|
|
254
235
|
},
|
|
255
|
-
"
|
|
256
|
-
"setter": false,
|
|
236
|
+
"attribute": "fixed",
|
|
257
237
|
"reflect": false,
|
|
258
238
|
"defaultValue": "false"
|
|
259
239
|
},
|
|
260
240
|
"opened": {
|
|
261
241
|
"type": "boolean",
|
|
262
|
-
"attribute": "opened",
|
|
263
242
|
"mutable": false,
|
|
264
243
|
"complexType": {
|
|
265
244
|
"original": "boolean",
|
|
@@ -272,8 +251,7 @@ export class TableRowgroupComponent {
|
|
|
272
251
|
"tags": [],
|
|
273
252
|
"text": "Only use when accordion property is true.\nWill render the accordion opened if set to true. By default, is false."
|
|
274
253
|
},
|
|
275
|
-
"
|
|
276
|
-
"setter": false,
|
|
254
|
+
"attribute": "opened",
|
|
277
255
|
"reflect": true,
|
|
278
256
|
"defaultValue": "false"
|
|
279
257
|
}
|