@otto-de/b2b-core-components 1.4.0 → 1.6.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/b2b-core-components/b2b-core-components.css +1 -1
- package/dist/b2b-core-components/b2b-core-components.esm.js +1 -1
- package/dist/b2b-core-components/p-01fd54a1.entry.js +1 -0
- package/dist/b2b-core-components/p-04fc18cd.entry.js +1 -0
- package/dist/b2b-core-components/p-06aa96a8.entry.js +1 -0
- package/dist/b2b-core-components/p-077217b3.entry.js +1 -0
- package/dist/b2b-core-components/p-0965b990.entry.js +1 -0
- package/dist/b2b-core-components/p-0beabdb4.entry.js +1 -0
- package/dist/b2b-core-components/p-163466cf.entry.js +1 -0
- package/dist/b2b-core-components/{p-c2bcf0a8.entry.js → p-197c1a6d.entry.js} +1 -1
- package/dist/b2b-core-components/p-1d007eea.entry.js +1 -0
- package/dist/b2b-core-components/{p-400b3111.entry.js → p-1e2752b2.entry.js} +1 -1
- package/dist/b2b-core-components/p-2328144b.entry.js +1 -0
- package/dist/b2b-core-components/{p-9184036b.entry.js → p-2ad8bdb6.entry.js} +1 -1
- package/dist/b2b-core-components/p-2d01e68a.entry.js +1 -0
- package/dist/b2b-core-components/{p-34f6555e.entry.js → p-3c0671ef.entry.js} +1 -1
- package/dist/b2b-core-components/p-42e7f397.entry.js +1 -0
- package/dist/b2b-core-components/p-44ccd8f4.entry.js +1 -0
- package/dist/b2b-core-components/p-542a358a.entry.js +1 -0
- package/dist/b2b-core-components/p-54fd68eb.entry.js +1 -0
- package/dist/b2b-core-components/p-60badad5.entry.js +1 -0
- package/dist/b2b-core-components/p-6140304e.entry.js +1 -0
- package/dist/b2b-core-components/{p-f0aa5e83.entry.js → p-681d6880.entry.js} +1 -1
- package/dist/b2b-core-components/p-8ad1bb92.entry.js +1 -0
- package/dist/b2b-core-components/p-90a3ffed.entry.js +1 -0
- package/dist/b2b-core-components/p-97ef9805.entry.js +1 -0
- package/dist/b2b-core-components/{p-48d4d224.entry.js → p-a50ea33f.entry.js} +1 -1
- package/dist/b2b-core-components/p-b3ccfc58.entry.js +1 -0
- package/dist/b2b-core-components/p-b6a8a06f.entry.js +1 -0
- package/dist/b2b-core-components/p-b8049234.entry.js +1 -0
- package/dist/b2b-core-components/p-bb5e7c53.js +1 -0
- package/dist/b2b-core-components/p-c294dd0c.entry.js +1 -0
- package/dist/b2b-core-components/p-d07210e2.entry.js +1 -0
- package/dist/b2b-core-components/p-d7bb8aa1.entry.js +1 -0
- package/dist/b2b-core-components/p-d83c2084.entry.js +1 -0
- package/dist/b2b-core-components/p-db7d2ec3.entry.js +1 -0
- package/dist/b2b-core-components/{p-9facba86.entry.js → p-dd79ab5b.entry.js} +1 -1
- package/dist/b2b-core-components/p-e5b78075.entry.js +1 -0
- package/dist/b2b-core-components/p-e811411a.entry.js +1 -0
- package/dist/b2b-core-components/p-f190bf79.entry.js +1 -0
- package/dist/b2b-core-components/p-f24515bf.entry.js +1 -0
- package/dist/b2b-core-components/p-f3ce95bf.js +2 -0
- package/dist/b2b-core-components/p-f7e9f889.entry.js +1 -0
- package/dist/cjs/b2b-alert.cjs.entry.js +4 -4
- package/dist/cjs/b2b-anchor.cjs.entry.js +2 -2
- package/dist/cjs/b2b-button_2.cjs.entry.js +13 -9
- package/dist/cjs/b2b-card.cjs.entry.js +2 -2
- package/dist/cjs/b2b-checkbox-group.cjs.entry.js +7 -5
- package/dist/cjs/b2b-checkbox_3.cjs.entry.js +206 -0
- package/dist/cjs/b2b-core-components.cjs.js +3 -3
- package/dist/cjs/b2b-dropdown.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-headline.cjs.entry.js +2 -2
- package/dist/cjs/b2b-icon.cjs.entry.js +4 -4
- package/dist/cjs/b2b-input-group_2.cjs.entry.js +12 -9
- package/dist/cjs/b2b-input-label.cjs.entry.js +1 -1
- package/dist/cjs/b2b-input_2.cjs.entry.js +8 -7
- package/dist/cjs/b2b-label.cjs.entry.js +2 -2
- package/dist/cjs/b2b-modal.cjs.entry.js +5 -5
- package/dist/cjs/b2b-pagination.cjs.entry.js +5 -5
- package/dist/cjs/b2b-paragraph.cjs.entry.js +5 -5
- 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 +3 -3
- package/dist/cjs/b2b-rounded-icon.cjs.entry.js +4 -2
- package/dist/cjs/b2b-scrollable-container.cjs.entry.js +2 -2
- package/dist/cjs/b2b-search.cjs.entry.js +6 -1
- package/dist/cjs/b2b-separator.cjs.entry.js +2 -2
- package/dist/cjs/b2b-tab-group.cjs.entry.js +1 -1
- package/dist/cjs/b2b-tab-panel.cjs.entry.js +2 -2
- package/dist/cjs/b2b-tab.cjs.entry.js +2 -2
- package/dist/cjs/b2b-table-row.cjs.entry.js +78 -23
- package/dist/cjs/b2b-table-rowgroup.cjs.entry.js +87 -26
- package/dist/cjs/b2b-table.cjs.entry.js +13 -13
- package/dist/cjs/b2b-textarea.cjs.entry.js +2 -2
- package/dist/cjs/b2b-toggle-button.cjs.entry.js +7 -7
- package/dist/cjs/b2b-toggle-group.cjs.entry.js +3 -3
- package/dist/cjs/b2b-tooltip.cjs.entry.js +4 -4
- package/dist/cjs/b2b-wizard-icon.cjs.entry.js +6 -4
- package/dist/cjs/b2b-wizard-step.cjs.entry.js +26 -0
- package/dist/cjs/b2b-wizard.cjs.entry.js +61 -0
- package/dist/cjs/{index-496aa5dd.js → index-04e07a00.js} +100 -35
- package/dist/cjs/loader.cjs.js +3 -3
- package/dist/cjs/{types-ef85a0bf.js → table.types-00c8228a.js} +4 -4
- package/dist/cjs/wizard.types-690c64bb.js +10 -0
- package/dist/collection/collection-manifest.json +4 -2
- package/dist/collection/components/alert/alert.css +8 -9
- package/dist/collection/components/alert/alert.e2e.js +67 -0
- package/dist/collection/components/alert/alert.js +2 -2
- package/dist/collection/components/anchor/anchor.css +3 -4
- package/dist/collection/components/anchor/anchor.spec.js +68 -0
- package/dist/collection/components/button/button.css +36 -41
- package/dist/collection/components/button/button.e2e.js +80 -0
- package/dist/collection/components/button/button.js +31 -6
- package/dist/collection/components/card/card.css +3 -4
- package/dist/collection/components/card/card.e2e.js +110 -0
- package/dist/collection/components/card/card.spec.js +32 -0
- package/dist/collection/components/checkbox/checkbox.css +36 -16
- package/dist/collection/components/checkbox/checkbox.e2e.js +30 -0
- package/dist/collection/components/checkbox/checkbox.js +81 -6
- package/dist/collection/components/checkbox/checkbox.spec.js +45 -0
- package/dist/collection/components/checkbox-group/checkbox-group.css +7 -8
- package/dist/collection/components/checkbox-group/checkbox-group.e2e.js +78 -0
- package/dist/collection/components/checkbox-group/checkbox-group.js +5 -3
- package/dist/collection/components/checkbox-group/checkbox-group.spec.js +38 -0
- package/dist/collection/components/dropdown/dropdown.css +9 -10
- package/dist/collection/components/dropdown/dropdown.e2e.js +48 -0
- package/dist/collection/components/dropdown/dropdown.js +1 -1
- package/dist/collection/components/dropdown/dropdown.spec.js +52 -0
- package/dist/collection/components/grid/grid.e2e.js +17 -0
- package/dist/collection/components/grid/row.js +1 -1
- package/dist/collection/components/headline/headline.css +3 -4
- package/dist/collection/components/headline/headline.e2e.js +13 -0
- package/dist/collection/components/headline/headline.spec.js +67 -0
- package/dist/collection/components/icon/icon.css +10 -11
- package/dist/collection/components/icon/icon.js +2 -2
- package/dist/collection/components/icon/icon.spec.js +21 -0
- package/dist/collection/components/input/input.css +16 -17
- package/dist/collection/components/input/input.e2e.js +43 -0
- package/dist/collection/components/input/input.js +26 -4
- package/dist/collection/components/input/input.spec.js +45 -0
- package/dist/collection/components/input-group/input-group.css +6 -7
- package/dist/collection/components/input-group/input-group.e2e.js +76 -0
- package/dist/collection/components/input-group/input-group.js +6 -4
- 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-list/input-list.css +8 -9
- package/dist/collection/components/input-list/input-list.e2e.js +227 -0
- package/dist/collection/components/input-list/input-list.js +24 -2
- package/dist/collection/components/label/label.css +4 -5
- package/dist/collection/components/label/label.e2e.js +17 -0
- package/dist/collection/components/label/label.spec.js +58 -0
- package/dist/collection/components/modal/modal.css +14 -20
- package/dist/collection/components/modal/modal.e2e.js +115 -0
- package/dist/collection/components/modal/modal.js +3 -3
- package/dist/collection/components/pagination/pagination.css +8 -9
- package/dist/collection/components/pagination/pagination.e2e.js +256 -0
- package/dist/collection/components/pagination/pagination.js +3 -3
- package/dist/collection/components/pagination/pagination.spec.js +104 -0
- package/dist/collection/components/paragraph/paragraph.css +11 -12
- package/dist/collection/components/paragraph/paragraph.e2e.js +13 -0
- package/dist/collection/components/paragraph/paragraph.js +3 -3
- package/dist/collection/components/radio/radio.css +4 -5
- package/dist/collection/components/radio/radio.e2e.js +36 -0
- package/dist/collection/components/radio/radio.spec.js +38 -0
- package/dist/collection/components/radio-group/radio-group.css +4 -5
- package/dist/collection/components/radio-group/radio-group.e2e.js +71 -0
- package/dist/collection/components/radio-group/radio-group.spec.js +31 -0
- package/dist/collection/components/required-separator/required-separator.css +5 -6
- package/dist/collection/components/required-separator/required-separator.e2e.js +17 -0
- package/dist/collection/components/required-separator/required-separator.js +1 -1
- package/dist/collection/components/rounded-icon/rounded-icon.css +4 -5
- package/dist/collection/components/rounded-icon/rounded-icon.js +19 -0
- package/dist/collection/components/scrollable-container/scrollable-container.css +3 -4
- package/dist/collection/components/search/search.e2e.js +97 -0
- package/dist/collection/components/search/search.js +14 -0
- package/dist/collection/components/separator/separator.css +3 -4
- package/dist/collection/components/separator/separator.e2e.js +22 -0
- package/dist/collection/components/spinner/spinner.css +3 -4
- package/dist/collection/components/spinner/spinner.e2e.js +12 -0
- package/dist/collection/components/spinner/spinner.spec.js +41 -0
- package/dist/collection/components/tab/tab.css +3 -4
- package/dist/collection/components/tab/tab.e2e.js +35 -0
- package/dist/collection/components/tab/tab.spec.js +31 -0
- package/dist/collection/components/tab-group/tab-group.e2e.js +98 -0
- package/dist/collection/components/tab-panel/tab-panel.css +3 -4
- package/dist/collection/components/tab-panel/tab-panel.e2e.js +12 -0
- package/dist/collection/components/tab-panel/tab-panel.spec.js +10 -0
- package/dist/collection/components/table/stories.data.js +6 -6
- package/dist/collection/components/table/table-cell/table-cell.css +3 -4
- package/dist/collection/components/table/table-cell/table-cell.js +4 -4
- package/dist/collection/components/table/table-header/table-header.css +18 -19
- package/dist/collection/components/table/table-header/table-header.js +7 -7
- package/dist/collection/components/table/table-row/table-row.css +4 -5
- package/dist/collection/components/table/table-row/table-row.js +187 -28
- package/dist/collection/components/table/table-rowgroup/table-rowgroup.css +4 -5
- package/dist/collection/components/table/table-rowgroup/table-rowgroup.js +119 -24
- package/dist/collection/components/table/table.css +3 -4
- package/dist/collection/components/table/table.e2e.js +370 -0
- package/dist/collection/components/table/table.js +10 -10
- package/dist/collection/components/table/table.stories.js +17 -8
- package/dist/collection/components/table/utils.js +18 -0
- package/dist/collection/components/textarea/textarea.css +4 -5
- package/dist/collection/components/textarea/textarea.e2e.js +91 -0
- package/dist/collection/components/toggle-button/toggle-button.css +10 -11
- package/dist/collection/components/toggle-button/toggle-button.e2e.js +44 -0
- package/dist/collection/components/toggle-button/toggle-button.js +5 -5
- package/dist/collection/components/toggle-group/toggle-group.css +4 -5
- package/dist/collection/components/toggle-group/toggle-group.e2e.js +65 -0
- package/dist/collection/components/toggle-group/toggle-group.js +1 -1
- package/dist/collection/components/tooltip/tooltip.css +16 -17
- package/dist/collection/components/tooltip/tooltip.e2e.js +64 -0
- package/dist/collection/components/tooltip/tooltip.js +2 -2
- package/dist/collection/components/wizard/wizard-step.js +95 -0
- package/dist/collection/components/wizard/wizard.css +240 -0
- package/dist/collection/components/wizard/wizard.e2e.js +149 -0
- package/dist/collection/components/wizard/wizard.js +125 -0
- package/dist/collection/components/wizard/wizard.stories.js +44 -0
- package/dist/collection/components/wizard-icon/wizard-icon.css +3 -4
- package/dist/collection/components/wizard-icon/wizard-icon.js +38 -8
- package/dist/collection/components/wizard-icon/wizard-icon.stories.js +14 -3
- package/dist/collection/docs/config/replace-prop-controls.spec.js +32 -0
- package/dist/collection/{components/table/types.js → utils/types/table.types.js} +7 -3
- package/dist/collection/utils/types/wizard.types.js +6 -0
- package/dist/collection/utils/utils.spec.js +15 -0
- package/dist/components/b2b-alert.js +4 -4
- package/dist/components/b2b-anchor.js +2 -2
- package/dist/components/b2b-card.js +2 -2
- package/dist/components/b2b-checkbox-group.js +7 -5
- package/dist/components/b2b-checkbox.js +1 -99
- package/dist/components/b2b-dropdown.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-label.js +2 -2
- package/dist/components/b2b-modal.js +5 -5
- package/dist/components/b2b-pagination.js +5 -5
- package/dist/components/b2b-paragraph.js +5 -5
- 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 +3 -3
- package/dist/components/b2b-scrollable-container.js +2 -2
- package/dist/components/b2b-search.js +7 -2
- package/dist/components/b2b-tab-group.js +1 -1
- package/dist/components/b2b-tab-panel.js +2 -2
- package/dist/components/b2b-tab.js +2 -2
- package/dist/components/b2b-table-row.js +97 -26
- package/dist/components/b2b-table-rowgroup.js +91 -27
- package/dist/components/b2b-table.js +11 -11
- package/dist/components/b2b-textarea.js +2 -2
- package/dist/components/b2b-toggle-button.js +7 -7
- package/dist/components/b2b-toggle-group.js +3 -3
- package/dist/components/b2b-tooltip.js +4 -4
- package/dist/components/b2b-wizard-icon.js +1 -47
- package/dist/components/b2b-wizard-step.d.ts +11 -0
- package/dist/components/b2b-wizard-step.js +62 -0
- package/dist/components/b2b-wizard.d.ts +11 -0
- package/dist/components/b2b-wizard.js +79 -0
- package/dist/components/button.js +13 -8
- package/dist/components/checkbox.js +123 -0
- package/dist/components/headline.js +2 -2
- package/dist/components/icon.js +4 -4
- package/dist/components/input-group.js +8 -6
- package/dist/components/input-label.js +1 -1
- package/dist/components/input-list-option.js +2 -2
- package/dist/components/input-list.js +6 -4
- package/dist/components/input.js +8 -6
- package/dist/components/rounded-icon.js +5 -2
- package/dist/components/separator.js +2 -2
- package/dist/components/spinner.js +2 -2
- package/dist/components/table-cell.js +3 -3
- package/dist/components/table-header.js +7 -7
- package/dist/components/{types.js → table.types.js} +4 -4
- package/dist/components/wizard-icon.js +52 -0
- package/dist/components/wizard.types.js +8 -0
- package/dist/custom-elements.json +132 -13
- package/dist/esm/b2b-alert.entry.js +4 -4
- package/dist/esm/b2b-anchor.entry.js +2 -2
- package/dist/esm/b2b-button_2.entry.js +13 -9
- package/dist/esm/b2b-card.entry.js +2 -2
- package/dist/esm/b2b-checkbox-group.entry.js +7 -5
- package/dist/esm/b2b-checkbox_3.entry.js +200 -0
- package/dist/esm/b2b-core-components.js +4 -4
- package/dist/esm/b2b-dropdown.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-headline.entry.js +2 -2
- package/dist/esm/b2b-icon.entry.js +4 -4
- package/dist/esm/b2b-input-group_2.entry.js +12 -9
- package/dist/esm/b2b-input-label.entry.js +1 -1
- package/dist/esm/b2b-input_2.entry.js +8 -7
- package/dist/esm/b2b-label.entry.js +2 -2
- package/dist/esm/b2b-modal.entry.js +5 -5
- package/dist/esm/b2b-pagination.entry.js +5 -5
- package/dist/esm/b2b-paragraph.entry.js +5 -5
- 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 +3 -3
- package/dist/esm/b2b-rounded-icon.entry.js +4 -2
- package/dist/esm/b2b-scrollable-container.entry.js +2 -2
- package/dist/esm/b2b-search.entry.js +6 -1
- package/dist/esm/b2b-separator.entry.js +2 -2
- package/dist/esm/b2b-tab-group.entry.js +1 -1
- package/dist/esm/b2b-tab-panel.entry.js +2 -2
- package/dist/esm/b2b-tab.entry.js +2 -2
- package/dist/esm/b2b-table-row.entry.js +77 -22
- package/dist/esm/b2b-table-rowgroup.entry.js +85 -24
- package/dist/esm/b2b-table.entry.js +11 -11
- package/dist/esm/b2b-textarea.entry.js +2 -2
- package/dist/esm/b2b-toggle-button.entry.js +7 -7
- package/dist/esm/b2b-toggle-group.entry.js +3 -3
- package/dist/esm/b2b-tooltip.entry.js +4 -4
- package/dist/esm/b2b-wizard-icon.entry.js +6 -4
- package/dist/esm/b2b-wizard-step.entry.js +22 -0
- package/dist/esm/b2b-wizard.entry.js +57 -0
- package/dist/esm/{index-026605c2.js → index-dfdbf4b9.js} +100 -35
- package/dist/esm/loader.js +4 -4
- package/dist/esm/{types-5aa59787.js → table.types-dd829d83.js} +4 -4
- package/dist/esm/wizard.types-2a03b8e0.js +8 -0
- package/dist/types/components/alert/alert.stories.d.ts +1 -1
- package/dist/types/components/anchor/anchor.stories.d.ts +1 -1
- package/dist/types/components/button/button.d.ts +2 -0
- package/dist/types/components/button/button.stories.d.ts +1 -1
- package/dist/types/components/card/card.stories.d.ts +1 -1
- package/dist/types/components/checkbox/checkbox.d.ts +8 -1
- package/dist/types/components/checkbox/checkbox.stories.d.ts +1 -1
- package/dist/types/components/checkbox-group/checkbox-group.stories.d.ts +1 -1
- package/dist/types/components/dropdown/dropdown.stories.d.ts +1 -1
- package/dist/types/components/grid/grid.stories.d.ts +1 -1
- package/dist/types/components/headline/headline.stories.d.ts +1 -1
- package/dist/types/components/icon/icon.stories.d.ts +1 -1
- package/dist/types/components/input/input.d.ts +2 -0
- package/dist/types/components/input/input.stories.d.ts +1 -1
- package/dist/types/components/input-group/input-group.stories.d.ts +1 -1
- package/dist/types/components/input-list/input-list.d.ts +2 -0
- package/dist/types/components/input-list/input-list.stories.d.ts +1 -1
- package/dist/types/components/label/label.stories.d.ts +1 -1
- package/dist/types/components/modal/modal.stories.d.ts +1 -1
- package/dist/types/components/pagination/pagination.stories.d.ts +1 -1
- package/dist/types/components/paragraph/paragraph.stories.d.ts +1 -1
- package/dist/types/components/radio/radio.stories.d.ts +1 -1
- package/dist/types/components/radio-group/radio-group.stories.d.ts +1 -1
- package/dist/types/components/required-separator/required-separator.stories.d.ts +1 -1
- package/dist/types/components/rounded-icon/rounded-icon.d.ts +4 -0
- package/dist/types/components/rounded-icon/rounded-icon.stories.d.ts +1 -1
- package/dist/types/components/scrollable-container/scrollable-container.stories.d.ts +1 -1
- package/dist/types/components/search/search.d.ts +1 -0
- package/dist/types/components/search/search.stories.d.ts +1 -1
- package/dist/types/components/separator/separator.stories.d.ts +1 -1
- package/dist/types/components/spinner/spinner.stories.d.ts +1 -1
- package/dist/types/components/tab-group/tab-group.stories.d.ts +1 -1
- package/dist/types/components/table/table-cell/table-cell.d.ts +1 -1
- package/dist/types/components/table/table-header/table-header.d.ts +1 -1
- package/dist/types/components/table/table-row/table-row.d.ts +23 -7
- package/dist/types/components/table/table-rowgroup/table-rowgroup.d.ts +13 -3
- package/dist/types/components/table/table.d.ts +2 -2
- package/dist/types/components/table/table.stories.d.ts +2 -1
- package/dist/types/components/table/utils.d.ts +4 -0
- package/dist/types/components/textarea/textarea.stories.d.ts +1 -1
- package/dist/types/components/toggle-group/toggle-group.stories.d.ts +1 -1
- package/dist/types/components/tooltip/tooltip.stories.d.ts +1 -1
- package/dist/types/components/wizard/wizard-step.d.ts +11 -0
- package/dist/types/components/wizard/wizard.d.ts +19 -0
- package/dist/types/components/wizard/wizard.stories.d.ts +5 -0
- package/dist/types/components/wizard-icon/wizard-icon.d.ts +6 -2
- package/dist/types/components/wizard-icon/wizard-icon.stories.d.ts +3 -1
- package/dist/types/components.d.ts +167 -13
- package/dist/types/docs/tokens/color.stories.d.ts +1 -1
- package/dist/types/docs/tokens/font.stories.d.ts +1 -1
- package/dist/types/docs/tokens/size.stories.d.ts +1 -1
- package/dist/types/stencil-public-runtime.d.ts +3 -0
- package/dist/types/utils/interfaces/content.interface.d.ts +4 -0
- package/dist/types/utils/interfaces/form.interface.d.ts +1 -0
- package/dist/types/{components/table/types.d.ts → utils/types/table.types.d.ts} +7 -2
- package/dist/types/utils/types/wizard.types.d.ts +8 -0
- package/dist/web-types.json +184 -9
- package/loader/index.d.ts +1 -1
- package/package.json +5 -5
- package/dist/b2b-core-components/p-08a50b6c.entry.js +0 -1
- package/dist/b2b-core-components/p-10414c0b.entry.js +0 -1
- package/dist/b2b-core-components/p-144a3c59.entry.js +0 -1
- package/dist/b2b-core-components/p-1493f7df.entry.js +0 -1
- package/dist/b2b-core-components/p-14f1b674.entry.js +0 -1
- package/dist/b2b-core-components/p-15a499b0.entry.js +0 -1
- package/dist/b2b-core-components/p-22dab2b4.entry.js +0 -1
- package/dist/b2b-core-components/p-4b25559c.entry.js +0 -1
- package/dist/b2b-core-components/p-515eb49e.entry.js +0 -1
- package/dist/b2b-core-components/p-541ffefb.entry.js +0 -1
- package/dist/b2b-core-components/p-5572aab3.entry.js +0 -1
- package/dist/b2b-core-components/p-5c316460.entry.js +0 -1
- package/dist/b2b-core-components/p-686d6598.entry.js +0 -1
- package/dist/b2b-core-components/p-6e0e6acc.entry.js +0 -1
- package/dist/b2b-core-components/p-6e3b27cd.entry.js +0 -1
- package/dist/b2b-core-components/p-7af1b977.entry.js +0 -1
- package/dist/b2b-core-components/p-7ca9b704.entry.js +0 -1
- package/dist/b2b-core-components/p-81a52d1a.entry.js +0 -1
- package/dist/b2b-core-components/p-8970ae74.entry.js +0 -1
- package/dist/b2b-core-components/p-925e40af.entry.js +0 -1
- package/dist/b2b-core-components/p-965ae161.entry.js +0 -1
- package/dist/b2b-core-components/p-99f8cf34.entry.js +0 -1
- package/dist/b2b-core-components/p-a6248754.entry.js +0 -1
- package/dist/b2b-core-components/p-a7417890.js +0 -2
- package/dist/b2b-core-components/p-b6e0a6ea.entry.js +0 -1
- package/dist/b2b-core-components/p-ba74cde5.entry.js +0 -1
- package/dist/b2b-core-components/p-bf4c58dc.entry.js +0 -1
- package/dist/b2b-core-components/p-d6ce3259.entry.js +0 -1
- package/dist/b2b-core-components/p-da6a1f55.entry.js +0 -1
- package/dist/b2b-core-components/p-f0c565ef.entry.js +0 -1
- package/dist/b2b-core-components/p-fc639b29.entry.js +0 -1
- package/dist/b2b-core-components/p-ff49e330.entry.js +0 -1
- package/dist/cjs/b2b-checkbox.cjs.entry.js +0 -74
- package/dist/cjs/b2b-table-cell_2.cjs.entry.js +0 -119
- package/dist/esm/b2b-checkbox.entry.js +0 -70
- package/dist/esm/b2b-table-cell_2.entry.js +0 -114
- /package/dist/b2b-core-components/{p-4130f1ae.js → p-34eb99cb.js} +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Do not edit directly
|
|
3
|
-
* Generated on Tue,
|
|
3
|
+
* Generated on Tue, 22 Aug 2023 11:28:34 GMT
|
|
4
4
|
*/
|
|
5
5
|
:root, :host {
|
|
6
6
|
--b2b-size-200: 5rem; /* 80px */
|
|
@@ -76,8 +76,7 @@
|
|
|
76
76
|
--b2b-size-copy-200: var(--b2b-size-45);
|
|
77
77
|
--b2b-size-copy-125: var(--b2b-size-40);
|
|
78
78
|
--b2b-size-copy-100: var(--b2b-size-35);
|
|
79
|
-
--b2b-size-copy-
|
|
80
|
-
--b2b-size-copy-50: var(--b2b-size-25);
|
|
79
|
+
--b2b-size-copy-50: var(--b2b-size-30);
|
|
81
80
|
--b2b-size-border-no-radius-bottom: var(--b2b-size-7) var(--b2b-size-7) 0 0;
|
|
82
81
|
--b2b-size-border-no-radius-top: 0 0 var(--b2b-size-7) var(--b2b-size-7);
|
|
83
82
|
--b2b-size-border-no-radius-right: var(--b2b-size-7) 0 0 var(--b2b-size-7);
|
|
@@ -123,7 +122,7 @@
|
|
|
123
122
|
}
|
|
124
123
|
/**
|
|
125
124
|
* Do not edit directly
|
|
126
|
-
* Generated on Tue,
|
|
125
|
+
* Generated on Tue, 22 Aug 2023 11:28:34 GMT
|
|
127
126
|
*/
|
|
128
127
|
:root [data-theme="dark"] {
|
|
129
128
|
--b2b-size-200: 5rem; /* 80px */
|
|
@@ -226,50 +225,50 @@
|
|
|
226
225
|
border-top: 1px solid var(--b2b-color-grey-200);
|
|
227
226
|
border-bottom: 2px solid var(--b2b-color-grey-300);
|
|
228
227
|
}
|
|
229
|
-
:host .b2b-table-
|
|
228
|
+
:host .b2b-table-header__heading {
|
|
230
229
|
cursor: pointer;
|
|
231
230
|
user-select: none;
|
|
232
231
|
display: flex;
|
|
233
232
|
height: var(--b2b-size-icon-100);
|
|
234
233
|
line-height: var(--b2b-size-icon-100);
|
|
235
234
|
}
|
|
236
|
-
:host .b2b-table-
|
|
235
|
+
:host .b2b-table-header__heading:hover, :host .b2b-table-header__heading:focus-visible {
|
|
237
236
|
outline: none;
|
|
238
237
|
}
|
|
239
|
-
:host .b2b-table-
|
|
238
|
+
:host .b2b-table-header__heading:hover .b2b-table-header__sort, :host .b2b-table-header__heading:focus-visible .b2b-table-header__sort {
|
|
240
239
|
fill: var(--b2b-color-grey-300);
|
|
241
240
|
}
|
|
242
|
-
:host .b2b-table-
|
|
241
|
+
:host .b2b-table-header__heading:hover .b2b-table-header__sort--not-sorted, :host .b2b-table-header__heading:focus-visible .b2b-table-header__sort--not-sorted {
|
|
243
242
|
visibility: visible;
|
|
244
243
|
}
|
|
245
|
-
:host .b2b-table-
|
|
244
|
+
:host .b2b-table-header__heading:hover .b2b-table-header__sort--descending, :host .b2b-table-header__heading:focus-visible .b2b-table-header__sort--descending {
|
|
246
245
|
transform: initial;
|
|
247
246
|
transition: transform 0.4s ease;
|
|
248
247
|
}
|
|
249
|
-
:host .b2b-table-
|
|
248
|
+
:host .b2b-table-header__heading:hover .b2b-table-header__sort--ascending, :host .b2b-table-header__heading:focus-visible .b2b-table-header__sort--ascending {
|
|
250
249
|
transform: rotate(180deg);
|
|
251
250
|
transition: transform 0.4s ease;
|
|
252
251
|
}
|
|
253
|
-
:host .b2b-table-
|
|
254
|
-
:host .b2b-table-
|
|
252
|
+
:host .b2b-table-header__heading.b2b-table-header__sort--active .b2b-table-header__sort,
|
|
253
|
+
:host .b2b-table-header__heading .b2b-table-header__sort--active:hover .b2b-table-header__sort {
|
|
255
254
|
fill: var(--b2b-color-black-100);
|
|
256
255
|
}
|
|
257
|
-
:host .b2b-table-
|
|
258
|
-
:host .b2b-table-
|
|
256
|
+
:host .b2b-table-header__heading.b2b-table-header__sort--active .b2b-table-header__sort--descending,
|
|
257
|
+
:host .b2b-table-header__heading .b2b-table-header__sort--active:hover .b2b-table-header__sort--descending {
|
|
259
258
|
transform: rotate(180deg);
|
|
260
259
|
}
|
|
261
|
-
:host .b2b-table-
|
|
262
|
-
:host .b2b-table-
|
|
260
|
+
:host .b2b-table-header__heading.b2b-table-header__sort--active .b2b-table-header__sort-ascending,
|
|
261
|
+
:host .b2b-table-header__heading .b2b-table-header__sort--active:hover .b2b-table-header__sort-ascending {
|
|
263
262
|
transform: initial;
|
|
264
263
|
}
|
|
265
|
-
:host .b2b-table-
|
|
264
|
+
:host .b2b-table-header__sort {
|
|
266
265
|
height: var(--b2b-size-icon-100);
|
|
267
266
|
fill: var(--b2b-color-black-100);
|
|
268
267
|
}
|
|
269
|
-
:host .b2b-table-
|
|
268
|
+
:host .b2b-table-header__sort--not-sorted {
|
|
270
269
|
visibility: hidden;
|
|
271
270
|
}
|
|
272
|
-
:host .b2b-table-
|
|
271
|
+
:host .b2b-table-header__sort--descending {
|
|
273
272
|
transform: rotate(180deg);
|
|
274
273
|
}
|
|
275
274
|
:host(.b2b-table-header--divider) {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { h, Host, } from '@stencil/core';
|
|
2
|
-
import { TableSortDirections } from '
|
|
2
|
+
import { TableSortDirections } from '../../../utils/types/table.types';
|
|
3
3
|
export class TableHeaderComponent {
|
|
4
4
|
constructor() {
|
|
5
5
|
this.sortIcon = (h("svg", { viewBox: "0 0 24 24", height: "24px", width: "24px", xmlns: "http://www.w3.org/2000/svg" }, h("path", { d: "M19.1831 8.47552L12.8541 2.14703C12.8079 2.10065 12.7524 2.06384 12.6909 2.03839C12.5687 1.98785 12.4313 1.98785 12.3091 2.03839C12.2476 2.06384 12.1921 2.10065 12.1459 2.14703L5.81689 8.47552C5.62158 8.67084 5.62158 8.98724 5.81689 9.18256C6.01221 9.37787 6.32861 9.37787 6.52393 9.18256L12 3.70691V21.4999C12 21.7763 12.2236 21.9999 12.5 21.9999C12.7764 21.9999 13 21.7763 13 21.4999V3.70691L18.4761 9.18256C18.5737 9.28021 18.7017 9.32904 18.8296 9.32904C18.9575 9.32904 19.0854 9.28021 19.1831 9.18256C19.3784 8.98724 19.3784 8.67084 19.1831 8.47552Z" })));
|
|
@@ -53,11 +53,11 @@ export class TableHeaderComponent {
|
|
|
53
53
|
this.sortDirection === undefined
|
|
54
54
|
? 'other'
|
|
55
55
|
: this.sortDirection }, this.sortDirection !== undefined ? (h("div", { tabIndex: 0, class: {
|
|
56
|
-
'b2b-table-
|
|
57
|
-
'b2b-table-
|
|
56
|
+
'b2b-table-header__heading': true,
|
|
57
|
+
'b2b-table-header__sort--active': this.active,
|
|
58
58
|
}, onClick: this.changeSortDirection, onKeyDown: this.changeSortDirection, onMouseLeave: this.setInactive, onBlur: this.setInactive }, h("slot", null), h("span", { class: {
|
|
59
|
-
'b2b-table-
|
|
60
|
-
[`b2b-table-
|
|
59
|
+
'b2b-table-header__sort': true,
|
|
60
|
+
[`b2b-table-header__sort--${this.sortDirection}`]: true,
|
|
61
61
|
} }, this.sortIcon))) : (h("slot", null))));
|
|
62
62
|
}
|
|
63
63
|
static get is() { return "b2b-table-header"; }
|
|
@@ -119,7 +119,7 @@ export class TableHeaderComponent {
|
|
|
119
119
|
"references": {
|
|
120
120
|
"TableSortDirections": {
|
|
121
121
|
"location": "import",
|
|
122
|
-
"path": "
|
|
122
|
+
"path": "../../../utils/types/table.types"
|
|
123
123
|
}
|
|
124
124
|
}
|
|
125
125
|
},
|
|
@@ -173,7 +173,7 @@ export class TableHeaderComponent {
|
|
|
173
173
|
"references": {
|
|
174
174
|
"TableSortDirections": {
|
|
175
175
|
"location": "import",
|
|
176
|
-
"path": "
|
|
176
|
+
"path": "../../../utils/types/table.types"
|
|
177
177
|
}
|
|
178
178
|
}
|
|
179
179
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Do not edit directly
|
|
3
|
-
* Generated on Tue,
|
|
3
|
+
* Generated on Tue, 22 Aug 2023 11:28:34 GMT
|
|
4
4
|
*/
|
|
5
5
|
:root, :host {
|
|
6
6
|
--b2b-size-200: 5rem; /* 80px */
|
|
@@ -76,8 +76,7 @@
|
|
|
76
76
|
--b2b-size-copy-200: var(--b2b-size-45);
|
|
77
77
|
--b2b-size-copy-125: var(--b2b-size-40);
|
|
78
78
|
--b2b-size-copy-100: var(--b2b-size-35);
|
|
79
|
-
--b2b-size-copy-
|
|
80
|
-
--b2b-size-copy-50: var(--b2b-size-25);
|
|
79
|
+
--b2b-size-copy-50: var(--b2b-size-30);
|
|
81
80
|
--b2b-size-border-no-radius-bottom: var(--b2b-size-7) var(--b2b-size-7) 0 0;
|
|
82
81
|
--b2b-size-border-no-radius-top: 0 0 var(--b2b-size-7) var(--b2b-size-7);
|
|
83
82
|
--b2b-size-border-no-radius-right: var(--b2b-size-7) 0 0 var(--b2b-size-7);
|
|
@@ -123,7 +122,7 @@
|
|
|
123
122
|
}
|
|
124
123
|
/**
|
|
125
124
|
* Do not edit directly
|
|
126
|
-
* Generated on Tue,
|
|
125
|
+
* Generated on Tue, 22 Aug 2023 11:28:34 GMT
|
|
127
126
|
*/
|
|
128
127
|
:root [data-theme="dark"] {
|
|
129
128
|
--b2b-size-200: 5rem; /* 80px */
|
|
@@ -259,7 +258,7 @@
|
|
|
259
258
|
:host(.b2b-table-row--color-group:hover) ::slotted(*) {
|
|
260
259
|
--b2b-table-cell-text-expand-bg: var(--b2b-color-table-expand-hover);
|
|
261
260
|
}
|
|
262
|
-
.b2b-table-
|
|
261
|
+
.b2b-table-header__control-cell {
|
|
263
262
|
/* For equal width the control cell will automatically grow.
|
|
264
263
|
We should fix the size and this size
|
|
265
264
|
*/
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { h, Host, } from '@stencil/core';
|
|
2
|
-
import {
|
|
2
|
+
import { TableAccordionRowTypes, TableColourOptions, } from '../../../utils/types/table.types';
|
|
3
3
|
export class TableRowComponent {
|
|
4
4
|
constructor() {
|
|
5
5
|
this.toggleOpen = () => {
|
|
@@ -7,46 +7,100 @@ export class TableRowComponent {
|
|
|
7
7
|
this.b2bOpen.emit(this.isOpen);
|
|
8
8
|
};
|
|
9
9
|
this.getRowColor = () => {
|
|
10
|
-
if (this.
|
|
10
|
+
if (this.accordionType === TableAccordionRowTypes.PARENT)
|
|
11
11
|
return TableColourOptions.GROUP;
|
|
12
12
|
return this.color;
|
|
13
13
|
};
|
|
14
|
-
this.
|
|
15
|
-
const parentTable = this.hostElement.closest('b2b-table');
|
|
16
|
-
return parentTable.getAttribute('size');
|
|
17
|
-
};
|
|
18
|
-
// This is needed for table size equal, so that control cell size remains as big
|
|
19
|
-
// as the elements it contains. Feel free to improve this
|
|
20
|
-
this.getRowWidthForEqualSize = () => {
|
|
14
|
+
this.getRowWidth = () => {
|
|
21
15
|
const accordionIconSize = '24px';
|
|
22
|
-
|
|
16
|
+
const checkboxSize = '16px';
|
|
17
|
+
if (Boolean(this.accordionType)) {
|
|
23
18
|
return accordionIconSize;
|
|
24
|
-
|
|
25
|
-
|
|
19
|
+
}
|
|
20
|
+
else if (Boolean(this.selectable)) {
|
|
21
|
+
return checkboxSize;
|
|
22
|
+
}
|
|
23
|
+
else if (Boolean(this.accordionType && this.selectable)) {
|
|
24
|
+
return accordionIconSize + checkboxSize;
|
|
25
|
+
}
|
|
26
|
+
else {
|
|
27
|
+
return;
|
|
28
|
+
}
|
|
29
|
+
};
|
|
30
|
+
this.shouldAddCheckbox = () => {
|
|
31
|
+
let checkbox = this.hostElement.querySelector('b2b-checkbox');
|
|
32
|
+
return this.selectable && !Boolean(checkbox);
|
|
33
|
+
};
|
|
34
|
+
this.getParentRowGroup = () => {
|
|
35
|
+
return this.hostElement.closest('b2b-table-rowgroup');
|
|
36
|
+
};
|
|
37
|
+
this.getCheckbox = () => {
|
|
38
|
+
let parent = this.getParentRowGroup();
|
|
39
|
+
if (this.shouldAddCheckbox()) {
|
|
40
|
+
if (parent.type === 'header') {
|
|
41
|
+
return (h("b2b-table-header", { style: {
|
|
42
|
+
['width']: this.getRowWidth(),
|
|
43
|
+
} }, h("b2b-checkbox", { standalone: true, checked: this.checked, indeterminate: this.indeterminate })));
|
|
44
|
+
}
|
|
45
|
+
else {
|
|
46
|
+
return (h("b2b-table-cell", null, h("b2b-checkbox", { standalone: true, checked: this.checked, value: this.value, indeterminate: this.indeterminate })));
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
};
|
|
50
|
+
this.getAccordionColumns = () => {
|
|
51
|
+
if (this.accordionType != undefined) {
|
|
52
|
+
switch (this.accordionType) {
|
|
53
|
+
case TableAccordionRowTypes.HEADER:
|
|
54
|
+
return (h("b2b-table-header", { style: {
|
|
55
|
+
['width']: this.getRowWidth(),
|
|
56
|
+
} }));
|
|
57
|
+
case TableAccordionRowTypes.PARENT:
|
|
58
|
+
return (h("b2b-table-cell", null, h("button", { onClick: this.toggleOpen, class: {
|
|
59
|
+
'b2b-table-row__accordion-icon': true,
|
|
60
|
+
'b2b-table-row__accordion-icon--open': this.isOpen,
|
|
61
|
+
} }, h("b2b-icon", { icon: "b2b_icon-arrow-right", clickable: true }))));
|
|
62
|
+
case TableAccordionRowTypes.CHILD:
|
|
63
|
+
return h("b2b-table-cell", null);
|
|
64
|
+
}
|
|
26
65
|
}
|
|
27
66
|
};
|
|
28
67
|
this.highlight = true;
|
|
29
68
|
this.color = 'default';
|
|
30
|
-
this.
|
|
69
|
+
this.accordionType = undefined;
|
|
70
|
+
this.selectable = undefined;
|
|
71
|
+
this.value = undefined;
|
|
72
|
+
this.indeterminate = false;
|
|
73
|
+
this.checked = false;
|
|
31
74
|
this.isOpen = false;
|
|
32
75
|
}
|
|
76
|
+
toggleSelected(event) {
|
|
77
|
+
var _a;
|
|
78
|
+
if (this.selectable) {
|
|
79
|
+
this.checked = event.detail.checked;
|
|
80
|
+
this.b2bSelected.emit({
|
|
81
|
+
checked: event.detail.checked,
|
|
82
|
+
value: (_a = event.detail.value) !== null && _a !== void 0 ? _a : 'header',
|
|
83
|
+
});
|
|
84
|
+
}
|
|
85
|
+
}
|
|
33
86
|
/** Will toggle the accordion opened or closed. */
|
|
34
87
|
async toggleAccordion(isOpen) {
|
|
35
88
|
this.isOpen = isOpen;
|
|
36
89
|
this.b2bOpen.emit(isOpen);
|
|
37
90
|
}
|
|
91
|
+
componentWillLoad() {
|
|
92
|
+
if (this.selectable &&
|
|
93
|
+
!Boolean(this.value) &&
|
|
94
|
+
this.getParentRowGroup().type !== 'header') {
|
|
95
|
+
console.warn('You need to associate a value with the row as a unique identifier.');
|
|
96
|
+
}
|
|
97
|
+
}
|
|
38
98
|
render() {
|
|
39
|
-
console.log(this.getRowWidthForEqualSize());
|
|
40
99
|
return (h(Host, { class: {
|
|
41
100
|
'b2b-table-row': true,
|
|
42
101
|
['b2b-table-row--highlight']: this.highlight,
|
|
43
102
|
[`b2b-table-row--color-${this.getRowColor()}`]: true,
|
|
44
|
-
}, role: "row" }, this.
|
|
45
|
-
'b2b-table-row__accordion-icon': true,
|
|
46
|
-
'b2b-table-row__accordion-icon--open': this.isOpen,
|
|
47
|
-
} }, h("b2b-icon", { icon: "b2b_icon-arrow-right", clickable: true })))), this.type === TableRowTypes.CHILD && h("b2b-table-cell", null), this.type === TableRowTypes.HEADER && (h("b2b-table-header", { style: {
|
|
48
|
-
['width']: this.getRowWidthForEqualSize(),
|
|
49
|
-
} })), h("slot", null)));
|
|
103
|
+
}, role: "row" }, this.getAccordionColumns(), this.getCheckbox(), h("slot", null)));
|
|
50
104
|
}
|
|
51
105
|
static get is() { return "b2b-table-row"; }
|
|
52
106
|
static get encapsulation() { return "shadow"; }
|
|
@@ -89,7 +143,7 @@ export class TableRowComponent {
|
|
|
89
143
|
"references": {
|
|
90
144
|
"TableColourOptions": {
|
|
91
145
|
"location": "import",
|
|
92
|
-
"path": "
|
|
146
|
+
"path": "../../../utils/types/table.types"
|
|
93
147
|
}
|
|
94
148
|
}
|
|
95
149
|
},
|
|
@@ -103,27 +157,103 @@ export class TableRowComponent {
|
|
|
103
157
|
"reflect": false,
|
|
104
158
|
"defaultValue": "'default'"
|
|
105
159
|
},
|
|
106
|
-
"
|
|
160
|
+
"accordionType": {
|
|
107
161
|
"type": "string",
|
|
108
162
|
"mutable": false,
|
|
109
163
|
"complexType": {
|
|
110
|
-
"original": "
|
|
164
|
+
"original": "TableAccordionRowTypes",
|
|
111
165
|
"resolved": "\"child\" | \"header\" | \"parent\"",
|
|
112
166
|
"references": {
|
|
113
|
-
"
|
|
167
|
+
"TableAccordionRowTypes": {
|
|
114
168
|
"location": "import",
|
|
115
|
-
"path": "
|
|
169
|
+
"path": "../../../utils/types/table.types"
|
|
116
170
|
}
|
|
117
171
|
}
|
|
118
172
|
},
|
|
119
173
|
"required": false,
|
|
120
174
|
"optional": false,
|
|
175
|
+
"docs": {
|
|
176
|
+
"tags": [{
|
|
177
|
+
"name": "internal",
|
|
178
|
+
"text": "Determined by the parent rowgroup for accordion rowgroups."
|
|
179
|
+
}],
|
|
180
|
+
"text": ""
|
|
181
|
+
},
|
|
182
|
+
"attribute": "accordion-type",
|
|
183
|
+
"reflect": false
|
|
184
|
+
},
|
|
185
|
+
"selectable": {
|
|
186
|
+
"type": "boolean",
|
|
187
|
+
"mutable": false,
|
|
188
|
+
"complexType": {
|
|
189
|
+
"original": "boolean",
|
|
190
|
+
"resolved": "boolean",
|
|
191
|
+
"references": {}
|
|
192
|
+
},
|
|
193
|
+
"required": false,
|
|
194
|
+
"optional": false,
|
|
195
|
+
"docs": {
|
|
196
|
+
"tags": [{
|
|
197
|
+
"name": "internal",
|
|
198
|
+
"text": "Whether the parent rowgroup is selectable."
|
|
199
|
+
}],
|
|
200
|
+
"text": ""
|
|
201
|
+
},
|
|
202
|
+
"attribute": "selectable",
|
|
203
|
+
"reflect": false
|
|
204
|
+
},
|
|
205
|
+
"value": {
|
|
206
|
+
"type": "string",
|
|
207
|
+
"mutable": false,
|
|
208
|
+
"complexType": {
|
|
209
|
+
"original": "string",
|
|
210
|
+
"resolved": "string",
|
|
211
|
+
"references": {}
|
|
212
|
+
},
|
|
213
|
+
"required": false,
|
|
214
|
+
"optional": true,
|
|
121
215
|
"docs": {
|
|
122
216
|
"tags": [],
|
|
123
|
-
"text": "
|
|
217
|
+
"text": "The unique identifier for a selectable row. It is emitted when the row is selected."
|
|
124
218
|
},
|
|
125
|
-
"attribute": "
|
|
219
|
+
"attribute": "value",
|
|
126
220
|
"reflect": false
|
|
221
|
+
},
|
|
222
|
+
"indeterminate": {
|
|
223
|
+
"type": "boolean",
|
|
224
|
+
"mutable": false,
|
|
225
|
+
"complexType": {
|
|
226
|
+
"original": "boolean",
|
|
227
|
+
"resolved": "boolean",
|
|
228
|
+
"references": {}
|
|
229
|
+
},
|
|
230
|
+
"required": false,
|
|
231
|
+
"optional": false,
|
|
232
|
+
"docs": {
|
|
233
|
+
"tags": [],
|
|
234
|
+
"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."
|
|
235
|
+
},
|
|
236
|
+
"attribute": "indeterminate",
|
|
237
|
+
"reflect": false,
|
|
238
|
+
"defaultValue": "false"
|
|
239
|
+
},
|
|
240
|
+
"checked": {
|
|
241
|
+
"type": "boolean",
|
|
242
|
+
"mutable": true,
|
|
243
|
+
"complexType": {
|
|
244
|
+
"original": "boolean",
|
|
245
|
+
"resolved": "boolean",
|
|
246
|
+
"references": {}
|
|
247
|
+
},
|
|
248
|
+
"required": false,
|
|
249
|
+
"optional": false,
|
|
250
|
+
"docs": {
|
|
251
|
+
"tags": [],
|
|
252
|
+
"text": "If a selectable row is currently checked. Per default, it is false."
|
|
253
|
+
},
|
|
254
|
+
"attribute": "checked",
|
|
255
|
+
"reflect": false,
|
|
256
|
+
"defaultValue": "false"
|
|
127
257
|
}
|
|
128
258
|
};
|
|
129
259
|
}
|
|
@@ -148,13 +278,33 @@ export class TableRowComponent {
|
|
|
148
278
|
"resolved": "boolean",
|
|
149
279
|
"references": {}
|
|
150
280
|
}
|
|
281
|
+
}, {
|
|
282
|
+
"method": "b2bSelected",
|
|
283
|
+
"name": "b2b-row-selected",
|
|
284
|
+
"bubbles": true,
|
|
285
|
+
"cancelable": true,
|
|
286
|
+
"composed": true,
|
|
287
|
+
"docs": {
|
|
288
|
+
"tags": [],
|
|
289
|
+
"text": "Emits if the row is selectable and it is selected or unselected. Emits both unique value and the checkbox status."
|
|
290
|
+
},
|
|
291
|
+
"complexType": {
|
|
292
|
+
"original": "CheckboxEventDetail",
|
|
293
|
+
"resolved": "CheckboxEventDetail<any>",
|
|
294
|
+
"references": {
|
|
295
|
+
"CheckboxEventDetail": {
|
|
296
|
+
"location": "import",
|
|
297
|
+
"path": "../../../components"
|
|
298
|
+
}
|
|
299
|
+
}
|
|
300
|
+
}
|
|
151
301
|
}];
|
|
152
302
|
}
|
|
153
303
|
static get methods() {
|
|
154
304
|
return {
|
|
155
305
|
"toggleAccordion": {
|
|
156
306
|
"complexType": {
|
|
157
|
-
"signature": "(isOpen:
|
|
307
|
+
"signature": "(isOpen: boolean) => Promise<void>",
|
|
158
308
|
"parameters": [{
|
|
159
309
|
"tags": [],
|
|
160
310
|
"text": ""
|
|
@@ -174,4 +324,13 @@ export class TableRowComponent {
|
|
|
174
324
|
};
|
|
175
325
|
}
|
|
176
326
|
static get elementRef() { return "hostElement"; }
|
|
327
|
+
static get listeners() {
|
|
328
|
+
return [{
|
|
329
|
+
"name": "b2b-change",
|
|
330
|
+
"method": "toggleSelected",
|
|
331
|
+
"target": undefined,
|
|
332
|
+
"capture": false,
|
|
333
|
+
"passive": false
|
|
334
|
+
}];
|
|
335
|
+
}
|
|
177
336
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Do not edit directly
|
|
3
|
-
* Generated on Tue,
|
|
3
|
+
* Generated on Tue, 22 Aug 2023 11:28:34 GMT
|
|
4
4
|
*/
|
|
5
5
|
:root, :host {
|
|
6
6
|
--b2b-size-200: 5rem; /* 80px */
|
|
@@ -76,8 +76,7 @@
|
|
|
76
76
|
--b2b-size-copy-200: var(--b2b-size-45);
|
|
77
77
|
--b2b-size-copy-125: var(--b2b-size-40);
|
|
78
78
|
--b2b-size-copy-100: var(--b2b-size-35);
|
|
79
|
-
--b2b-size-copy-
|
|
80
|
-
--b2b-size-copy-50: var(--b2b-size-25);
|
|
79
|
+
--b2b-size-copy-50: var(--b2b-size-30);
|
|
81
80
|
--b2b-size-border-no-radius-bottom: var(--b2b-size-7) var(--b2b-size-7) 0 0;
|
|
82
81
|
--b2b-size-border-no-radius-top: 0 0 var(--b2b-size-7) var(--b2b-size-7);
|
|
83
82
|
--b2b-size-border-no-radius-right: var(--b2b-size-7) 0 0 var(--b2b-size-7);
|
|
@@ -123,7 +122,7 @@
|
|
|
123
122
|
}
|
|
124
123
|
/**
|
|
125
124
|
* Do not edit directly
|
|
126
|
-
* Generated on Tue,
|
|
125
|
+
* Generated on Tue, 22 Aug 2023 11:28:34 GMT
|
|
127
126
|
*/
|
|
128
127
|
:root [data-theme="dark"] {
|
|
129
128
|
--b2b-size-200: 5rem; /* 80px */
|
|
@@ -217,6 +216,6 @@
|
|
|
217
216
|
:host {
|
|
218
217
|
display: table-row-group;
|
|
219
218
|
}
|
|
220
|
-
:host(.b2b-table-
|
|
219
|
+
:host(.b2b-table-rowgroup__header) {
|
|
221
220
|
display: table-header-group;
|
|
222
221
|
}
|