@otto-de/b2b-core-components 1.5.0 → 1.6.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-01fd54a1.entry.js +1 -0
- package/dist/b2b-core-components/{p-b95089a7.entry.js → p-04fc18cd.entry.js} +1 -1
- package/dist/b2b-core-components/{p-c20baf90.entry.js → p-077217b3.entry.js} +1 -1
- package/dist/b2b-core-components/{p-03beebf5.entry.js → p-0965b990.entry.js} +1 -1
- 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-197c1a6d.entry.js +1 -0
- package/dist/b2b-core-components/{p-75f84f53.entry.js → p-1d007eea.entry.js} +1 -1
- package/dist/b2b-core-components/{p-6997ceb0.entry.js → p-1e2752b2.entry.js} +1 -1
- package/dist/b2b-core-components/{p-06ef4c5e.entry.js → p-2328144b.entry.js} +1 -1
- 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-60c7f6f7.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-163fe245.entry.js → p-44ccd8f4.entry.js} +1 -1
- package/dist/b2b-core-components/{p-38791fb9.entry.js → p-542a358a.entry.js} +1 -1
- 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-e1622cb8.entry.js → p-6140304e.entry.js} +1 -1
- package/dist/b2b-core-components/p-62e43f91.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-bcf36531.entry.js → p-8ad1bb92.entry.js} +1 -1
- 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-c8294029.entry.js → p-b3ccfc58.entry.js} +1 -1
- package/dist/b2b-core-components/{p-2b3a67db.entry.js → p-b6a8a06f.entry.js} +1 -1
- package/dist/b2b-core-components/{p-5c2db521.entry.js → p-b8049234.entry.js} +1 -1
- package/dist/b2b-core-components/p-c294dd0c.entry.js +1 -0
- package/dist/b2b-core-components/{p-5d7866e8.entry.js → p-d07210e2.entry.js} +1 -1
- package/dist/b2b-core-components/p-d7bb8aa1.entry.js +1 -0
- package/dist/b2b-core-components/{p-76e240f8.entry.js → p-d83c2084.entry.js} +1 -1
- package/dist/b2b-core-components/{p-dcd80266.entry.js → p-db7d2ec3.entry.js} +1 -1
- package/dist/b2b-core-components/{p-9facba86.entry.js → p-dd79ab5b.entry.js} +1 -1
- package/dist/b2b-core-components/{p-bda69b9a.entry.js → p-e5b78075.entry.js} +1 -1
- package/dist/b2b-core-components/{p-7b04f40b.entry.js → p-e811411a.entry.js} +1 -1
- package/dist/b2b-core-components/p-f190bf79.entry.js +1 -0
- package/dist/b2b-core-components/{p-1e1bdb50.entry.js → p-f24515bf.entry.js} +1 -1
- 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 +1 -1
- package/dist/cjs/b2b-button_2.cjs.entry.js +12 -8
- package/dist/cjs/b2b-card.cjs.entry.js +1 -1
- package/dist/cjs/b2b-checkbox-group.cjs.entry.js +7 -5
- package/dist/cjs/{b2b-table-cell_2.cjs.entry.js → b2b-checkbox_3.cjs.entry.js} +94 -7
- 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 +1 -1
- package/dist/cjs/b2b-icon.cjs.entry.js +4 -4
- package/dist/cjs/b2b-input-group_2.cjs.entry.js +10 -21
- 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 +1 -1
- 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 +1 -1
- package/dist/cjs/b2b-radio-group.cjs.entry.js +1 -1
- package/dist/cjs/b2b-required-separator.cjs.entry.js +3 -3
- package/dist/cjs/b2b-rounded-icon.cjs.entry.js +1 -1
- package/dist/cjs/b2b-scrollable-container.cjs.entry.js +1 -1
- package/dist/cjs/b2b-search.cjs.entry.js +1 -1
- package/dist/cjs/b2b-separator.cjs.entry.js +1 -1
- package/dist/cjs/b2b-tab-group.cjs.entry.js +1 -1
- package/dist/cjs/b2b-tab-panel.cjs.entry.js +1 -1
- package/dist/cjs/b2b-tab.cjs.entry.js +1 -1
- package/dist/cjs/b2b-table-row.cjs.entry.js +77 -21
- package/dist/cjs/b2b-table-rowgroup.cjs.entry.js +85 -24
- package/dist/cjs/b2b-table.cjs.entry.js +10 -10
- package/dist/cjs/b2b-textarea.cjs.entry.js +1 -1
- 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 +1 -1
- package/dist/cjs/b2b-wizard-step.cjs.entry.js +4 -4
- package/dist/cjs/b2b-wizard.cjs.entry.js +2 -2
- package/dist/cjs/{index-496aa5dd.js → index-04e07a00.js} +88 -31
- package/dist/cjs/loader.cjs.js +3 -3
- package/dist/cjs/{table.types-bb0926c7.js → table.types-00c8228a.js} +2 -2
- package/dist/collection/collection-manifest.json +2 -2
- package/dist/collection/components/alert/alert.css +7 -7
- 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 +2 -2
- package/dist/collection/components/anchor/anchor.spec.js +68 -0
- package/dist/collection/components/button/button.css +35 -39
- 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 +2 -2
- 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 +34 -13
- 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 +5 -5
- 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 +7 -7
- 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 +2 -2
- 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 +9 -9
- 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 +14 -14
- 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 +4 -4
- package/dist/collection/components/input-group/input-group.e2e.js +76 -0
- package/dist/collection/components/input-group/input-group.js +4 -21
- 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 +7 -7
- 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 +2 -2
- 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 +13 -18
- 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 +7 -7
- 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 +9 -9
- 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 +2 -2
- 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 +2 -2
- 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 +4 -4
- 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 +2 -2
- package/dist/collection/components/scrollable-container/scrollable-container.css +2 -2
- package/dist/collection/components/search/search.e2e.js +97 -0
- package/dist/collection/components/separator/separator.css +2 -2
- package/dist/collection/components/separator/separator.e2e.js +22 -0
- package/dist/collection/components/spinner/spinner.css +2 -2
- 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 +2 -2
- 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 +2 -2
- 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 +2 -2
- package/dist/collection/components/table/table-header/table-header.css +17 -17
- package/dist/collection/components/table/table-header/table-header.js +4 -4
- package/dist/collection/components/table/table-row/table-row.css +3 -3
- package/dist/collection/components/table/table-row/table-row.js +185 -25
- package/dist/collection/components/table/table-rowgroup/table-rowgroup.css +3 -3
- package/dist/collection/components/table/table-rowgroup/table-rowgroup.js +118 -23
- package/dist/collection/components/table/table.css +2 -2
- package/dist/collection/components/table/table.e2e.js +370 -0
- package/dist/collection/components/table/table.js +8 -8
- package/dist/collection/components/table/table.stories.js +16 -7
- package/dist/collection/components/table/utils.js +18 -0
- package/dist/collection/components/textarea/textarea.css +2 -2
- package/dist/collection/components/textarea/textarea.e2e.js +91 -0
- package/dist/collection/components/toggle-button/toggle-button.css +9 -9
- 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 +3 -3
- 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 +14 -14
- 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 +2 -2
- package/dist/collection/components/wizard/wizard.css +3 -3
- package/dist/collection/components/wizard/wizard.e2e.js +149 -0
- package/dist/collection/components/wizard-icon/wizard-icon.css +2 -2
- package/dist/collection/docs/config/replace-prop-controls.spec.js +32 -0
- package/dist/collection/utils/types/table.types.js +5 -1
- package/dist/collection/utils/utils.spec.js +15 -0
- package/dist/components/b2b-alert.js +4 -4
- package/dist/components/b2b-anchor.js +1 -1
- package/dist/components/b2b-card.js +1 -1
- 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 +1 -1
- 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 +1 -1
- package/dist/components/b2b-radio-group.js +1 -1
- package/dist/components/b2b-required-separator.js +3 -3
- package/dist/components/b2b-scrollable-container.js +1 -1
- package/dist/components/b2b-search.js +1 -1
- package/dist/components/b2b-tab-group.js +1 -1
- package/dist/components/b2b-tab-panel.js +1 -1
- package/dist/components/b2b-tab.js +1 -1
- package/dist/components/b2b-table-row.js +97 -25
- package/dist/components/b2b-table-rowgroup.js +91 -27
- package/dist/components/b2b-table.js +9 -9
- package/dist/components/b2b-textarea.js +1 -1
- 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-step.js +4 -4
- package/dist/components/b2b-wizard.js +2 -2
- package/dist/components/button.js +13 -8
- package/dist/{esm/b2b-checkbox.entry.js → components/checkbox.js} +66 -13
- package/dist/components/headline.js +1 -1
- package/dist/components/icon.js +4 -4
- package/dist/components/input-group.js +7 -20
- 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 +1 -1
- package/dist/components/separator.js +1 -1
- package/dist/components/spinner.js +1 -1
- package/dist/components/table-cell.js +1 -1
- package/dist/components/table-header.js +6 -6
- package/dist/components/table.types.js +2 -2
- package/dist/components/wizard-icon.js +1 -1
- package/dist/custom-elements.json +22 -13
- package/dist/esm/b2b-alert.entry.js +4 -4
- package/dist/esm/b2b-anchor.entry.js +1 -1
- package/dist/esm/b2b-button_2.entry.js +12 -8
- package/dist/esm/b2b-card.entry.js +1 -1
- package/dist/esm/b2b-checkbox-group.entry.js +7 -5
- package/dist/esm/{b2b-table-cell_2.entry.js → b2b-checkbox_3.entry.js} +94 -8
- 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 +1 -1
- package/dist/esm/b2b-icon.entry.js +4 -4
- package/dist/esm/b2b-input-group_2.entry.js +10 -21
- 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 +1 -1
- 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 +1 -1
- package/dist/esm/b2b-radio-group.entry.js +1 -1
- package/dist/esm/b2b-required-separator.entry.js +3 -3
- package/dist/esm/b2b-rounded-icon.entry.js +1 -1
- package/dist/esm/b2b-scrollable-container.entry.js +1 -1
- package/dist/esm/b2b-search.entry.js +1 -1
- package/dist/esm/b2b-separator.entry.js +1 -1
- package/dist/esm/b2b-tab-group.entry.js +1 -1
- package/dist/esm/b2b-tab-panel.entry.js +1 -1
- package/dist/esm/b2b-tab.entry.js +1 -1
- package/dist/esm/b2b-table-row.entry.js +77 -21
- package/dist/esm/b2b-table-rowgroup.entry.js +85 -24
- package/dist/esm/b2b-table.entry.js +10 -10
- package/dist/esm/b2b-textarea.entry.js +1 -1
- 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 +1 -1
- package/dist/esm/b2b-wizard-step.entry.js +4 -4
- package/dist/esm/b2b-wizard.entry.js +2 -2
- package/dist/esm/{index-026605c2.js → index-dfdbf4b9.js} +88 -31
- package/dist/esm/loader.js +4 -4
- package/dist/esm/{table.types-9943c937.js → table.types-dd829d83.js} +2 -2
- 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.d.ts +0 -4
- 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.stories.d.ts +1 -1
- package/dist/types/components/scrollable-container/scrollable-container.stories.d.ts +1 -1
- 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-row/table-row.d.ts +23 -7
- package/dist/types/components/table/table-rowgroup/table-rowgroup.d.ts +12 -2
- package/dist/types/components/table/table.d.ts +1 -1
- 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.stories.d.ts +1 -1
- package/dist/types/components/wizard-icon/wizard-icon.stories.d.ts +1 -1
- package/dist/types/components.d.ts +71 -9
- 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/utils/types/table.types.d.ts +7 -2
- package/dist/web-types.json +76 -6
- package/loader/index.d.ts +1 -1
- package/package.json +4 -4
- package/dist/b2b-core-components/p-0675225a.entry.js +0 -1
- package/dist/b2b-core-components/p-080a0741.entry.js +0 -1
- package/dist/b2b-core-components/p-0f8bd310.entry.js +0 -1
- package/dist/b2b-core-components/p-14f1b674.entry.js +0 -1
- package/dist/b2b-core-components/p-1eb784f9.entry.js +0 -1
- package/dist/b2b-core-components/p-21bfe96a.entry.js +0 -1
- package/dist/b2b-core-components/p-3cd9088a.entry.js +0 -1
- package/dist/b2b-core-components/p-42da7a57.entry.js +0 -1
- package/dist/b2b-core-components/p-4fc894c8.entry.js +0 -1
- package/dist/b2b-core-components/p-710600ca.entry.js +0 -1
- package/dist/b2b-core-components/p-83cb9d03.entry.js +0 -1
- package/dist/b2b-core-components/p-a7417890.js +0 -2
- package/dist/b2b-core-components/p-c9dcb35a.entry.js +0 -1
- package/dist/b2b-core-components/p-cf010e88.entry.js +0 -1
- package/dist/b2b-core-components/p-e3cd216c.entry.js +0 -1
- package/dist/b2b-core-components/p-fa6cd2ac.entry.js +0 -1
- package/dist/b2b-core-components/p-fe96d81a.entry.js +0 -1
- package/dist/cjs/b2b-checkbox.cjs.entry.js +0 -74
- /package/dist/b2b-core-components/{p-de2c1003.js → p-34eb99cb.js} +0 -0
package/dist/esm/loader.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { p as promiseResolve, b as bootstrapLazy } from './index-
|
|
2
|
-
export { s as setNonce } from './index-
|
|
1
|
+
import { p as promiseResolve, b as bootstrapLazy } from './index-dfdbf4b9.js';
|
|
2
|
+
export { s as setNonce } from './index-dfdbf4b9.js';
|
|
3
3
|
|
|
4
4
|
/*
|
|
5
|
-
Stencil Client Patch Esm v3.
|
|
5
|
+
Stencil Client Patch Esm v3.4.2 | MIT Licensed | https://stenciljs.com
|
|
6
6
|
*/
|
|
7
7
|
const patchEsm = () => {
|
|
8
8
|
return promiseResolve();
|
|
@@ -11,7 +11,7 @@ const patchEsm = () => {
|
|
|
11
11
|
const defineCustomElements = (win, options) => {
|
|
12
12
|
if (typeof window === 'undefined') return Promise.resolve();
|
|
13
13
|
return patchEsm().then(() => {
|
|
14
|
-
return bootstrapLazy([["b2b-search",[[1,"b2b-search",{"placeholder":[1],"optionsList":[16],"value":[1537],"disabled":[516],"closed":[32]},[[0,"keydown","handleKeyDown"]]]]],["b2b-table-row",[[1,"b2b-table-row",{"highlight":[4],"color":[1],"type":[1],"isOpen":[32],"toggleAccordion":[64]}]]],["b2b-wizard-step",[[1,"b2b-wizard-step",{"state":[1],"step":[1],"checkIcon":[4,"check-icon"]}]]],["b2b-modal",[[1,"b2b-modal",{"heading":[1],"opened":[1540],"backdropDismiss":[4,"backdrop-dismiss"],"escDismiss":[4,"esc-dismiss"],"variant":[1],"iconHover":[32],"isOpen":[32]},[[0,"keydown","handleKeypress"]]]]],["b2b-pagination",[[1,"b2b-pagination",{"totalPages":[2,"total-pages"],"activePage":[1538,"active-page"],"ariaLabelNextPage":[1,"aria-label-next-page"],"ariaLabelPreviousPage":[1,"aria-label-previous-page"]}]]],["b2b-alert",[[1,"b2b-alert",{"type":[1],"size":[1],"opened":[1028],"hasCloseButton":[4,"has-close-button"],"customIcon":[4,"custom-icon"]}]]],["b2b-checkbox
|
|
14
|
+
return bootstrapLazy([["b2b-search",[[1,"b2b-search",{"placeholder":[1],"optionsList":[16],"value":[1537],"disabled":[516],"closed":[32]},[[0,"keydown","handleKeyDown"]]]]],["b2b-table-row",[[1,"b2b-table-row",{"highlight":[4],"color":[1],"accordionType":[1,"accordion-type"],"selectable":[4],"value":[1],"indeterminate":[4],"checked":[1028],"isOpen":[32],"toggleAccordion":[64]},[[0,"b2b-change","toggleSelected"]]]]],["b2b-wizard-step",[[1,"b2b-wizard-step",{"state":[1],"step":[1],"checkIcon":[4,"check-icon"]}]]],["b2b-modal",[[1,"b2b-modal",{"heading":[1],"opened":[1540],"backdropDismiss":[4,"backdrop-dismiss"],"escDismiss":[4,"esc-dismiss"],"variant":[1],"iconHover":[32],"isOpen":[32]},[[0,"keydown","handleKeypress"]]]]],["b2b-pagination",[[1,"b2b-pagination",{"totalPages":[2,"total-pages"],"activePage":[1538,"active-page"],"ariaLabelNextPage":[1,"aria-label-next-page"],"ariaLabelPreviousPage":[1,"aria-label-previous-page"]}]]],["b2b-alert",[[1,"b2b-alert",{"type":[1],"size":[1],"opened":[1028],"hasCloseButton":[4,"has-close-button"],"customIcon":[4,"custom-icon"]}]]],["b2b-checkbox-group",[[1,"b2b-checkbox-group",{"label":[1],"required":[4],"disabled":[4],"invalid":[4],"alignment":[1],"hint":[1],"error":[1]},[[0,"b2b-change","handleCheckboxChange"]]]]],["b2b-dropdown",[[1,"b2b-dropdown",{"label":[1],"required":[516],"name":[513],"disabled":[516],"invalid":[516],"hint":[1],"error":[1]}]]],["b2b-radio-button",[[1,"b2b-radio-button",{"label":[1],"required":[516],"name":[513],"checked":[1540],"disabled":[516],"invalid":[4],"value":[513],"hint":[1],"error":[1]}]]],["b2b-radio-group",[[1,"b2b-radio-group",{"name":[1],"label":[1],"required":[4],"alignment":[1],"disabled":[516],"invalid":[516],"hint":[1],"error":[1],"currentValue":[32]},[[0,"b2b-change","handleRadioButtonChange"]]]]],["b2b-required-separator",[[1,"b2b-required-separator",{"label":[1]}]]],["b2b-tab-group",[[1,"b2b-tab-group",{"useRouter":[4,"use-router"]},[[0,"click","handleClick"],[0,"keydown","handleKeydown"]]]]],["b2b-textarea",[[1,"b2b-textarea",{"label":[1],"required":[516],"placeholder":[513],"disabled":[516],"invalid":[516],"autofocus":[516],"resize":[513],"hint":[1],"error":[1],"value":[1537],"name":[513],"maxLength":[514,"max-length"]}]]],["b2b-anchor",[[1,"b2b-anchor",{"href":[1],"download":[1],"target":[1],"size":[1]}]]],["b2b-card",[[1,"b2b-card",{"disabled":[4],"href":[1],"target":[1]},[[0,"click","onClick"],[0,"keydown","onKeyDown"]]]]],["b2b-grid",[[1,"b2b-grid",{"margin":[2]}]]],["b2b-grid-col",[[1,"b2b-grid-col",{"span":[514],"textAlign":[1,"text-align"]}]]],["b2b-grid-row",[[1,"b2b-grid-row",{"columnGap":[2,"column-gap"],"rowGap":[2,"row-gap"],"alignItems":[1,"align-items"],"justify":[1]}]]],["b2b-label",[[1,"b2b-label",{"type":[1]}]]],["b2b-paragraph",[[1,"b2b-paragraph",{"weight":[1],"size":[1],"align":[1]}]]],["b2b-scrollable-container",[[1,"b2b-scrollable-container"]]],["b2b-tab",[[1,"b2b-tab",{"selected":[516],"disabled":[4],"invalid":[4]}]]],["b2b-tab-panel",[[1,"b2b-tab-panel"]]],["b2b-table",[[1,"b2b-table",{"size":[1]},[[0,"b2b-change","onColumnSelected"]]]]],["b2b-table-rowgroup",[[1,"b2b-table-rowgroup",{"type":[1],"accordion":[4],"selectable":[4],"opened":[516],"selectedValues":[32],"indeterminate":[32]},[[0,"b2b-open","handleOpenChange"],[0,"b2b-row-selected","handleSelectedChange"]]]]],["b2b-toggle-button",[[1,"b2b-toggle-button",{"label":[1],"name":[513],"checked":[1540],"disabled":[516],"value":[513]}]]],["b2b-toggle-group",[[1,"b2b-toggle-group",{"name":[1],"disabled":[516],"currentValue":[32]},[[0,"b2b-change","handleToggleButtonChange"]]]]],["b2b-tooltip",[[1,"b2b-tooltip",{"position":[1],"content":[1],"trigger":[1],"opened":[1540]}]]],["b2b-wizard",[[1,"b2b-wizard",{"activeStep":[1,"active-step"],"custom":[4],"checkIcon":[4,"check-icon"]}]]],["b2b-wizard-icon",[[1,"b2b-wizard-icon",{"step":[1],"state":[1],"checkIcon":[4,"check-icon"]}]]],["b2b-headline",[[1,"b2b-headline",{"size":[1],"align":[1],"noMargin":[4,"no-margin"]}]]],["b2b-input-group_2",[[1,"b2b-input-list",{"label":[1],"required":[516],"placeholder":[513],"optionsList":[16],"value":[1537],"disabled":[516],"groupDisabled":[4,"group-disabled"],"hasOptionList":[32],"isElementFocused":[32]},[[0,"keydown","handleKeyDown"]]],[1,"b2b-input-group",{"invalid":[4],"disabled":[4],"error":[1],"hint":[1]}]]],["b2b-rounded-icon",[[1,"b2b-rounded-icon",{"color":[1],"borderColor":[1,"border-color"],"contentColor":[1,"content-color"]}]]],["b2b-separator",[[1,"b2b-separator",{"alignment":[1]}]]],["b2b-input-label",[[1,"b2b-input-label",{"required":[4],"disabled":[4]}]]],["b2b-checkbox_3",[[1,"b2b-checkbox",{"label":[1],"required":[516],"checked":[1540],"disabled":[516],"indeterminate":[1028],"error":[1],"hint":[1],"name":[513],"value":[520],"invalid":[4],"standalone":[4],"groupDisabled":[4,"group-disabled"]}],[1,"b2b-table-cell",{"textWrap":[516,"text-wrap"],"size":[1],"align":[1],"divider":[4],"color":[1],"useTextEllipsis":[32]}],[1,"b2b-table-header",{"divider":[4],"fixed":[4],"sortDirection":[1537,"sort-direction"],"sortId":[1,"sort-id"],"active":[32]}]]],["b2b-input_2",[[1,"b2b-input",{"label":[1],"required":[516],"type":[513],"disabled":[516],"invalid":[516],"placeholder":[513],"value":[1537],"name":[513],"hint":[1],"error":[1],"autofocus":[4],"groupDisabled":[4,"group-disabled"],"hasFocus":[32],"hasTextPrefix":[32],"hasTextSuffix":[32],"setFocus":[64],"clearInput":[64]}],[0,"b2b-input-list-option",{"option":[1]},[[0,"keydown","handleKeyDown"]]]]],["b2b-button_2",[[1,"b2b-button",{"variant":[1],"type":[1],"size":[1],"disabled":[516],"loading":[4],"active":[516],"href":[1],"target":[1],"download":[1],"groupDisabled":[4,"group-disabled"],"setFocus":[64]},[[2,"click","handleHostClick"]]],[1,"b2b-spinner",{"size":[1],"color":[1]}]]],["b2b-icon",[[1,"b2b-icon",{"icon":[1],"color":[1],"size":[1],"clickable":[4],"pathData":[32]}]]]], options);
|
|
15
15
|
});
|
|
16
16
|
};
|
|
17
17
|
|
|
@@ -17,7 +17,7 @@ const TableSortDirections = {
|
|
|
17
17
|
ASC: 'ascending',
|
|
18
18
|
DESC: 'descending',
|
|
19
19
|
};
|
|
20
|
-
const
|
|
20
|
+
const TableAccordionRowTypes = {
|
|
21
21
|
PARENT: 'parent',
|
|
22
22
|
CHILD: 'child',
|
|
23
23
|
HEADER: 'header',
|
|
@@ -28,4 +28,4 @@ const TableColourOptions = {
|
|
|
28
28
|
GROUP: 'group',
|
|
29
29
|
};
|
|
30
30
|
|
|
31
|
-
export { ContentAlignment as C, TableSizes as T, TableSortDirections as a,
|
|
31
|
+
export { ContentAlignment as C, TableSizes as T, TableSortDirections as a, TableAccordionRowTypes as b, TableColourOptions as c, TableRowgroupTypes as d };
|
|
@@ -4,5 +4,5 @@ export declare const story020Success: any;
|
|
|
4
4
|
export declare const story030Warning: any;
|
|
5
5
|
export declare const story040Error: any;
|
|
6
6
|
export declare const story050Small: any;
|
|
7
|
-
declare const _default: Meta
|
|
7
|
+
declare const _default: Meta;
|
|
8
8
|
export default _default;
|
|
@@ -2,5 +2,5 @@ import { Meta } from '@storybook/web-components';
|
|
|
2
2
|
export declare const story010Default: any;
|
|
3
3
|
export declare const story020Size100: any;
|
|
4
4
|
export declare const story030TargetBlank: any;
|
|
5
|
-
declare const _default: Meta
|
|
5
|
+
declare const _default: Meta;
|
|
6
6
|
export default _default;
|
|
@@ -19,6 +19,8 @@ export declare class ButtonComponent {
|
|
|
19
19
|
/** If set to true, the browser will attempt to donwload and save the URL instead of opening it. The name of the created file
|
|
20
20
|
* defaults to the URL string, but can be changed by the user. */
|
|
21
21
|
download?: string;
|
|
22
|
+
/** @internal Whether the parent input group is disabled. Per default, it is false. */
|
|
23
|
+
groupDisabled: boolean;
|
|
22
24
|
private focusableElement;
|
|
23
25
|
/** Manually set focus to button element */
|
|
24
26
|
setFocus(): Promise<void>;
|
|
@@ -8,5 +8,5 @@ export declare const story055IconStartPali: any;
|
|
|
8
8
|
export declare const story060IconSearch: any;
|
|
9
9
|
export declare const story070Disabled: any;
|
|
10
10
|
export declare const story080Anchor: any;
|
|
11
|
-
declare const _default: Meta
|
|
11
|
+
declare const _default: Meta;
|
|
12
12
|
export default _default;
|
|
@@ -2,5 +2,5 @@ import { Meta } from '@storybook/web-components';
|
|
|
2
2
|
export declare const story010Card: any;
|
|
3
3
|
export declare const story020DisabledCard: any;
|
|
4
4
|
export declare const story030LinkCard: any;
|
|
5
|
-
declare const _default: Meta
|
|
5
|
+
declare const _default: Meta;
|
|
6
6
|
export default _default;
|
|
@@ -3,13 +3,15 @@ import { CheckboxEventDetail } from '../../utils/interfaces/form.interface';
|
|
|
3
3
|
export declare class CheckboxComponent {
|
|
4
4
|
hostElement: HTMLB2bCheckboxElement;
|
|
5
5
|
/** The checkbox label. This attribute is required. */
|
|
6
|
-
label
|
|
6
|
+
label?: string;
|
|
7
7
|
/** Adds an asterisk at the end of the label to signify that the field is required. */
|
|
8
8
|
required: boolean;
|
|
9
9
|
/** Whether or not the checkbox is checked. Default value is false and can be set to true if the checkbox should come pre-checked. */
|
|
10
10
|
checked: boolean;
|
|
11
11
|
/** Whether or not the checkbox is disabled. The default value is false. */
|
|
12
12
|
disabled: boolean;
|
|
13
|
+
/** If used in combination with other checkboxes, this state indicates that some checkboxes are checked, but not all. Per default, it is false. */
|
|
14
|
+
indeterminate: boolean;
|
|
13
15
|
/** The error message. It is undefined by default. If a string is passed in, it will render the checkbox with error styles. */
|
|
14
16
|
error?: string;
|
|
15
17
|
/** The hint text belonging to the checkbox. It is undefined by default. If an error is specified, it will be shown instead of the hint. */
|
|
@@ -20,6 +22,10 @@ export declare class CheckboxComponent {
|
|
|
20
22
|
value?: any;
|
|
21
23
|
/** Whether or not the checkbox is rendered with error styles. Defaults to false. */
|
|
22
24
|
invalid?: boolean;
|
|
25
|
+
/** If true, renders a standalone inline checkbox with no label and hint/error. */
|
|
26
|
+
standalone: boolean;
|
|
27
|
+
/** @internal whether the parent checkbox-group is disabled. */
|
|
28
|
+
groupDisabled: boolean;
|
|
23
29
|
/** Emits whenever the checkbox receives focus. */
|
|
24
30
|
b2bFocus: EventEmitter<FocusEvent>;
|
|
25
31
|
/** Emits whenever the checkbox loses focus. */
|
|
@@ -32,5 +38,6 @@ export declare class CheckboxComponent {
|
|
|
32
38
|
private onFocus;
|
|
33
39
|
private onBlur;
|
|
34
40
|
private onClick;
|
|
41
|
+
private renderIcon;
|
|
35
42
|
render(): any;
|
|
36
43
|
}
|
|
@@ -5,5 +5,5 @@ export declare const story030Hint: any;
|
|
|
5
5
|
export declare const story040Error: any;
|
|
6
6
|
export declare const story050Disabled: any;
|
|
7
7
|
export declare const story060Required: any;
|
|
8
|
-
declare const _default: Meta
|
|
8
|
+
declare const _default: Meta;
|
|
9
9
|
export default _default;
|
|
@@ -5,5 +5,5 @@ export declare const story030Error: any;
|
|
|
5
5
|
export declare const story040Disabled: any;
|
|
6
6
|
export declare const story050Horizontal: any;
|
|
7
7
|
export declare const story060Required: any;
|
|
8
|
-
declare const _default: Meta
|
|
8
|
+
declare const _default: Meta;
|
|
9
9
|
export default _default;
|
|
@@ -3,5 +3,5 @@ export declare const story010Default: any;
|
|
|
3
3
|
export declare const story020Disabled: any;
|
|
4
4
|
export declare const story030Error: any;
|
|
5
5
|
export declare const story040Required: any;
|
|
6
|
-
declare const _default: Meta
|
|
6
|
+
declare const _default: Meta;
|
|
7
7
|
export default _default;
|
|
@@ -3,5 +3,5 @@ export declare const story010Grid: any;
|
|
|
3
3
|
export declare const story020AlignItems: any;
|
|
4
4
|
export declare const story030TextAlign: any;
|
|
5
5
|
export declare const story040Justify: any;
|
|
6
|
-
declare const _default: Meta
|
|
6
|
+
declare const _default: Meta;
|
|
7
7
|
export default _default;
|
|
@@ -4,5 +4,5 @@ export declare const story030Size200: any;
|
|
|
4
4
|
export declare const story040Size100: any;
|
|
5
5
|
export declare const story050Center: any;
|
|
6
6
|
export declare const story060Right: any;
|
|
7
|
-
declare const _default: Meta
|
|
7
|
+
declare const _default: Meta;
|
|
8
8
|
export default _default;
|
|
@@ -8,5 +8,5 @@ export declare const story040Size50: any;
|
|
|
8
8
|
export declare const story050Size100: any;
|
|
9
9
|
export declare const story060Size200: any;
|
|
10
10
|
export declare const story070AllIcons: Story;
|
|
11
|
-
declare const _default: Meta
|
|
11
|
+
declare const _default: Meta;
|
|
12
12
|
export default _default;
|
|
@@ -27,6 +27,8 @@ export declare class InputComponent {
|
|
|
27
27
|
error?: string;
|
|
28
28
|
/** When setting the autofocus to true, the input element will be focused when the page loads. */
|
|
29
29
|
autofocus: boolean;
|
|
30
|
+
/** @internal Whether the parent input group is disabled. Per default, it is false. */
|
|
31
|
+
groupDisabled: boolean;
|
|
30
32
|
/** Emits whenever the input receives focus. */
|
|
31
33
|
b2bFocus: EventEmitter<FocusEvent>;
|
|
32
34
|
/** Emits whenever the input loses focus. */
|
|
@@ -9,5 +9,5 @@ export declare const story060IconEnd: any;
|
|
|
9
9
|
export declare const story080Prefix: any;
|
|
10
10
|
export declare const story090PrefixSuffix: any;
|
|
11
11
|
export declare const story070AllArgs: any;
|
|
12
|
-
declare const _default: Meta
|
|
12
|
+
declare const _default: Meta;
|
|
13
13
|
export default _default;
|
|
@@ -8,13 +8,9 @@ export declare class B2BInputGroup {
|
|
|
8
8
|
error?: string;
|
|
9
9
|
/** The hint text that appears underneath the input group. */
|
|
10
10
|
hint?: string;
|
|
11
|
-
/** We keep track of the initial disabled state in case individual children are disabled, group is disabled and re-enabled. */
|
|
12
|
-
initialDisabled: any[];
|
|
13
11
|
protected invalidChanged(): void;
|
|
14
12
|
protected disabledChanged(): void;
|
|
15
13
|
connectedCallback(): void;
|
|
16
|
-
componentWillLoad(): void;
|
|
17
|
-
private getInitialState;
|
|
18
14
|
private removeText;
|
|
19
15
|
private toggleAllError;
|
|
20
16
|
private toggleAllDisabled;
|
|
@@ -3,5 +3,5 @@ export declare const story010Default: any;
|
|
|
3
3
|
export declare const story020Disabled: any;
|
|
4
4
|
export declare const story030Error: any;
|
|
5
5
|
export declare const story040Complex: any;
|
|
6
|
-
declare const _default: Meta
|
|
6
|
+
declare const _default: Meta;
|
|
7
7
|
export default _default;
|
|
@@ -14,6 +14,8 @@ export declare class InputListComponent {
|
|
|
14
14
|
value: string;
|
|
15
15
|
/** Whether or not the input is disabled. Default is false. */
|
|
16
16
|
disabled: boolean;
|
|
17
|
+
/** @internal Whether the parent input group is disabled. Per default, it is false. */
|
|
18
|
+
groupDisabled: boolean;
|
|
17
19
|
/** Emits when the user clicks the clear button. */
|
|
18
20
|
b2bClear: EventEmitter<InputClear>;
|
|
19
21
|
hasOptionList: boolean;
|
|
@@ -3,5 +3,5 @@ export declare const story010InputList: any;
|
|
|
3
3
|
export declare const story020InputListFocused: any;
|
|
4
4
|
export declare const story025InputListDisabled: any;
|
|
5
5
|
export declare const story030CustomList: any;
|
|
6
|
-
declare const _default: Meta
|
|
6
|
+
declare const _default: Meta;
|
|
7
7
|
export default _default;
|
|
@@ -4,5 +4,5 @@ export declare const story020Info: any;
|
|
|
4
4
|
export declare const story030Success: any;
|
|
5
5
|
export declare const story040Warning: any;
|
|
6
6
|
export declare const story050Error: any;
|
|
7
|
-
declare const _default: Meta
|
|
7
|
+
declare const _default: Meta;
|
|
8
8
|
export default _default;
|
|
@@ -3,5 +3,5 @@ export declare const story010BackdropDismiss: any;
|
|
|
3
3
|
export declare const story020EscDismiss: any;
|
|
4
4
|
export declare const story030Default: any;
|
|
5
5
|
export declare const story040Large: any;
|
|
6
|
-
declare const _default: Meta
|
|
6
|
+
declare const _default: Meta;
|
|
7
7
|
export default _default;
|
|
@@ -2,5 +2,5 @@ import { Meta } from '@storybook/web-components';
|
|
|
2
2
|
export declare const story010Pagination: any;
|
|
3
3
|
export declare const story020PaginationMiddle: any;
|
|
4
4
|
export declare const story010PaginationLast: any;
|
|
5
|
-
declare const _default: Meta
|
|
5
|
+
declare const _default: Meta;
|
|
6
6
|
export default _default;
|
|
@@ -5,5 +5,5 @@ export declare const story030Small: any;
|
|
|
5
5
|
export declare const story040Center: any;
|
|
6
6
|
export declare const story050Right: any;
|
|
7
7
|
export declare const story900Playground: any;
|
|
8
|
-
declare const _default: Meta
|
|
8
|
+
declare const _default: Meta;
|
|
9
9
|
export default _default;
|
|
@@ -4,5 +4,5 @@ export declare const story020Hint: any;
|
|
|
4
4
|
export declare const story030Error: any;
|
|
5
5
|
export declare const story040Disabled: any;
|
|
6
6
|
export declare const story050Required: any;
|
|
7
|
-
declare const _default: Meta
|
|
7
|
+
declare const _default: Meta;
|
|
8
8
|
export default _default;
|
|
@@ -5,5 +5,5 @@ export declare const story030Error: any;
|
|
|
5
5
|
export declare const story040Disabled: any;
|
|
6
6
|
export declare const story050Horizontal: any;
|
|
7
7
|
export declare const story060Required: any;
|
|
8
|
-
declare const _default: Meta
|
|
8
|
+
declare const _default: Meta;
|
|
9
9
|
export default _default;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Meta } from '@storybook/web-components';
|
|
2
2
|
export declare const story010HorizontalScroll: any;
|
|
3
3
|
export declare const story020VerticalScroll: any;
|
|
4
|
-
declare const _default: Meta
|
|
4
|
+
declare const _default: Meta;
|
|
5
5
|
export default _default;
|
|
@@ -2,5 +2,5 @@ import { Meta } from '@storybook/web-components';
|
|
|
2
2
|
export declare const story010Search: any;
|
|
3
3
|
export declare const story020SearchDisabled: any;
|
|
4
4
|
export declare const story030CustomSearch: any;
|
|
5
|
-
declare const _default: Meta
|
|
5
|
+
declare const _default: Meta;
|
|
6
6
|
export default _default;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Meta } from '@storybook/web-components';
|
|
2
2
|
export declare const story010Horizontal: any;
|
|
3
3
|
export declare const story020Vertical: any;
|
|
4
|
-
declare const _default: Meta
|
|
4
|
+
declare const _default: Meta;
|
|
5
5
|
export default _default;
|
|
@@ -4,5 +4,5 @@ export declare const story020Secondary: any;
|
|
|
4
4
|
export declare const story025Inverse: any;
|
|
5
5
|
export declare const story030Small: any;
|
|
6
6
|
export declare const story040Large: any;
|
|
7
|
-
declare const _default: Meta
|
|
7
|
+
declare const _default: Meta;
|
|
8
8
|
export default _default;
|
|
@@ -1,21 +1,37 @@
|
|
|
1
1
|
import { EventEmitter } from '../../../stencil-public-runtime';
|
|
2
|
-
import {
|
|
2
|
+
import { TableAccordionRowTypes, TableColourOptions } from '../../../utils/types/table.types';
|
|
3
|
+
import { B2bCheckboxCustomEvent, CheckboxEventDetail } from '../../../components';
|
|
3
4
|
export declare class TableRowComponent {
|
|
4
5
|
hostElement: HTMLB2bTableRowElement;
|
|
5
6
|
/** Whether the row will be highlighted on mouse over **/
|
|
6
7
|
highlight: boolean;
|
|
7
8
|
/** Background color of the row. Use it semantically. This color selection have hover states **/
|
|
8
9
|
color: TableColourOptions;
|
|
9
|
-
/** Determined by the parent rowgroup for accordion rowgroups.
|
|
10
|
-
|
|
10
|
+
/** @internal Determined by the parent rowgroup for accordion rowgroups. */
|
|
11
|
+
accordionType: TableAccordionRowTypes;
|
|
12
|
+
/** @internal Whether the parent rowgroup is selectable. */
|
|
13
|
+
selectable: boolean;
|
|
14
|
+
/** The unique identifier for a selectable row. It is emitted when the row is selected. */
|
|
15
|
+
value?: string;
|
|
16
|
+
/** If a selectable row is a parent for an accordion, it becomes indeterminate when some of it's children are checked, but not all. */
|
|
17
|
+
indeterminate: boolean;
|
|
18
|
+
/** If a selectable row is currently checked. Per default, it is false. */
|
|
19
|
+
checked: boolean;
|
|
11
20
|
/** Emits if the parent rowgroup is an accordion and the row is a top-level accordion row. Determines if the child rows will be shown. */
|
|
12
21
|
b2bOpen: EventEmitter<boolean>;
|
|
22
|
+
/** Emits if the row is selectable and it is selected or unselected. Emits both unique value and the checkbox status. */
|
|
23
|
+
b2bSelected: EventEmitter<CheckboxEventDetail>;
|
|
13
24
|
isOpen: boolean;
|
|
14
|
-
|
|
25
|
+
toggleSelected(event: B2bCheckboxCustomEvent<CheckboxEventDetail>): void;
|
|
15
26
|
/** Will toggle the accordion opened or closed. */
|
|
16
|
-
toggleAccordion(isOpen:
|
|
27
|
+
toggleAccordion(isOpen: boolean): Promise<void>;
|
|
28
|
+
componentWillLoad(): void;
|
|
29
|
+
private toggleOpen;
|
|
17
30
|
private getRowColor;
|
|
18
|
-
private
|
|
19
|
-
private
|
|
31
|
+
private getRowWidth;
|
|
32
|
+
private shouldAddCheckbox;
|
|
33
|
+
private getParentRowGroup;
|
|
34
|
+
private getCheckbox;
|
|
35
|
+
private getAccordionColumns;
|
|
20
36
|
render(): any;
|
|
21
37
|
}
|
|
@@ -1,4 +1,6 @@
|
|
|
1
|
+
import { EventEmitter } from '../../../stencil-public-runtime';
|
|
1
2
|
import { TableRowgroupTypes } from '../../../utils/types/table.types';
|
|
3
|
+
import { TableAccordionSelectedEventDetail } from '../../../utils/interfaces/content.interface';
|
|
2
4
|
export declare class TableRowgroupComponent {
|
|
3
5
|
host: HTMLB2bTableRowgroupElement;
|
|
4
6
|
/** Rowgroup allows grouping rows by context: header, body or footer.
|
|
@@ -9,15 +11,23 @@ export declare class TableRowgroupComponent {
|
|
|
9
11
|
* One table can contain multiple rowgroups of type body, each of which represents an accordion row with children.
|
|
10
12
|
*/
|
|
11
13
|
accordion: boolean;
|
|
14
|
+
/** If the rows in the rowgroup can be selected via checkmark. Per default, it is false. */
|
|
15
|
+
selectable: boolean;
|
|
12
16
|
/** Only use when accordion property is true.
|
|
13
17
|
* Will render the accordion opened if set to true. By default, is false.
|
|
14
18
|
*/
|
|
15
19
|
opened: boolean;
|
|
20
|
+
/** Emits when the rowgroup as a whole is selected. */
|
|
21
|
+
b2bSelect: EventEmitter<TableAccordionSelectedEventDetail>;
|
|
22
|
+
selectedValues: any[];
|
|
23
|
+
indeterminate: boolean;
|
|
16
24
|
handleOpenChange(event: any): void;
|
|
17
|
-
|
|
18
|
-
private
|
|
25
|
+
handleSelectedChange(event: any): void;
|
|
26
|
+
private toggleSelectAll;
|
|
27
|
+
private toggleList;
|
|
19
28
|
private makeHeaderRowNotSelectable;
|
|
20
29
|
private addAccordionControlColumn;
|
|
30
|
+
private addCheckboxColumn;
|
|
21
31
|
private toggleInitialVisibility;
|
|
22
32
|
private toggleChildRowVisibility;
|
|
23
33
|
componentWillLoad(): void;
|
|
@@ -10,10 +10,10 @@ export declare class TableComponent {
|
|
|
10
10
|
size: TableSizes;
|
|
11
11
|
/** Emits whenever the sort direction of any column in the table changes. */
|
|
12
12
|
b2bSortChange: EventEmitter<ColumnSortChangeEventDetail>;
|
|
13
|
+
onColumnSelected(event: any): void;
|
|
13
14
|
private setCellSize;
|
|
14
15
|
private setFixedHeaders;
|
|
15
16
|
componentDidRender(): void;
|
|
16
17
|
componentDidLoad(): void;
|
|
17
|
-
onColumnSelected(event: any): void;
|
|
18
18
|
render(): any;
|
|
19
19
|
}
|
|
@@ -11,5 +11,6 @@ export declare const story090TableColor: any;
|
|
|
11
11
|
export declare const story100ScrollableTable: any;
|
|
12
12
|
export declare const story110Sorting: any;
|
|
13
13
|
export declare const story120Accordion: any;
|
|
14
|
-
declare const
|
|
14
|
+
export declare const story130Selectable: any;
|
|
15
|
+
declare const _default: Meta;
|
|
15
16
|
export default _default;
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
export declare function updateCheckboxState(rows: HTMLB2bTableRowElement[], header: HTMLB2bTableRowElement): void;
|
|
2
|
+
export declare function getAllRows(hostEl: HTMLB2bTableElement | HTMLB2bTableRowgroupElement): HTMLB2bTableRowElement[];
|
|
3
|
+
export declare function getRemainingRows(hostEl: HTMLB2bTableElement | HTMLB2bTableRowgroupElement): HTMLB2bTableRowElement[];
|
|
4
|
+
export declare function getFirstRow(hostEl: HTMLB2bTableElement | HTMLB2bTableRowgroupElement): HTMLB2bTableRowElement;
|
|
@@ -6,5 +6,5 @@ export declare const story040Hint: any;
|
|
|
6
6
|
export declare const story050Error: any;
|
|
7
7
|
export declare const story055Required: any;
|
|
8
8
|
export declare const story060AllArgs: any;
|
|
9
|
-
declare const _default: Meta
|
|
9
|
+
declare const _default: Meta;
|
|
10
10
|
export default _default;
|
|
@@ -2,5 +2,5 @@ import { Meta } from '@storybook/web-components';
|
|
|
2
2
|
export declare const story010Default: any;
|
|
3
3
|
export declare const story020Disabled: any;
|
|
4
4
|
export declare const story030SingleDisabled: any;
|
|
5
|
-
declare const _default: Meta
|
|
5
|
+
declare const _default: Meta;
|
|
6
6
|
export default _default;
|
|
@@ -8,5 +8,5 @@ export declare const story060Left: any;
|
|
|
8
8
|
export declare const story070Right: any;
|
|
9
9
|
export declare const story080Right: any;
|
|
10
10
|
export declare const story090BlockElement: any;
|
|
11
|
-
declare const _default: Meta
|
|
11
|
+
declare const _default: Meta;
|
|
12
12
|
export default _default;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Meta } from '@storybook/web-components';
|
|
2
2
|
export declare const story010Wizard: any;
|
|
3
3
|
export declare const story020WizardStates: any;
|
|
4
|
-
declare const _default: Meta
|
|
4
|
+
declare const _default: Meta;
|
|
5
5
|
export default _default;
|
|
@@ -4,5 +4,5 @@ export declare const story010Completed: any;
|
|
|
4
4
|
export declare const story015CompletedWithNumber: any;
|
|
5
5
|
export declare const story020Pending: any;
|
|
6
6
|
export declare const story030Disabled: any;
|
|
7
|
-
declare const _default: Meta
|
|
7
|
+
declare const _default: Meta;
|
|
8
8
|
export default _default;
|