@db-ux/wc-core-components 4.10.2 → 4.11.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/CHANGELOG.md +12 -0
- package/bundle/db-accordion-item.js +1 -1
- package/bundle/db-accordion.js +1 -1
- package/bundle/db-badge.js +1 -1
- package/bundle/db-brand.js +1 -1
- package/bundle/db-button.js +1 -1
- package/bundle/db-card.js +1 -1
- package/bundle/db-checkbox.js +1 -1
- package/bundle/db-custom-button.js +1 -1
- package/bundle/db-custom-select-dropdown.js +1 -1
- package/bundle/db-custom-select-form-field.js +1 -1
- package/bundle/db-custom-select-list-item.js +1 -1
- package/bundle/db-custom-select-list.js +1 -1
- package/bundle/db-custom-select.js +1 -1
- package/bundle/db-divider.js +1 -1
- package/bundle/db-drawer.js +1 -1
- package/bundle/db-header.js +1 -1
- package/bundle/db-icon.js +1 -1
- package/bundle/db-infotext.js +1 -1
- package/bundle/db-input.js +1 -1
- package/bundle/db-link.js +1 -1
- package/bundle/db-navigation-item.js +1 -1
- package/bundle/db-navigation.js +1 -1
- package/bundle/db-notification.js +1 -1
- package/bundle/db-page.js +1 -1
- package/bundle/db-popover.js +1 -1
- package/bundle/db-radio.js +1 -1
- package/bundle/db-section.js +1 -1
- package/bundle/db-select.js +1 -1
- package/bundle/db-stack.js +1 -1
- package/bundle/db-switch.js +1 -1
- package/bundle/db-tab-item.js +1 -1
- package/bundle/db-tab-list.js +1 -1
- package/bundle/db-tab-panel.js +1 -1
- package/bundle/db-table-body.d.ts +11 -0
- package/bundle/db-table-body.js +1 -0
- package/bundle/db-table-caption.d.ts +11 -0
- package/bundle/db-table-caption.js +1 -0
- package/bundle/db-table-data-cell.d.ts +11 -0
- package/bundle/db-table-data-cell.js +1 -0
- package/bundle/db-table-footer.d.ts +11 -0
- package/bundle/db-table-footer.js +1 -0
- package/bundle/db-table-head.d.ts +11 -0
- package/bundle/db-table-head.js +1 -0
- package/bundle/db-table-header-cell.d.ts +11 -0
- package/bundle/db-table-header-cell.js +1 -0
- package/bundle/db-table-row.d.ts +11 -0
- package/bundle/db-table-row.js +1 -0
- package/bundle/db-table.d.ts +11 -0
- package/bundle/db-table.js +1 -0
- package/bundle/db-tabs.js +1 -1
- package/bundle/db-tag.js +1 -1
- package/bundle/db-textarea.js +1 -1
- package/bundle/db-tooltip.js +1 -1
- package/bundle/index.js +1 -1
- package/bundle/{p-BGVLpaFn.js → p-B5ANMEnQ.js} +1 -1
- package/bundle/p-BJwvv-yT.js +1 -0
- package/bundle/{p-B5E_0kTi.js → p-BNiKxu3y.js} +1 -1
- package/bundle/p-B_bPnncM.js +1 -0
- package/bundle/p-BnLhi6Lz.js +1 -0
- package/bundle/p-BrBlnLrn.js +1 -0
- package/bundle/p-CByFfoSH.js +1 -0
- package/bundle/{p-LbPYp2oP.js → p-CQo0C7QE.js} +1 -1
- package/bundle/p-CR2ZbfYe.js +1 -0
- package/bundle/p-CYYSsu3p.js +1 -0
- package/bundle/p-CeDu282h.js +1 -0
- package/bundle/p-CfLPOLHz.js +1 -0
- package/bundle/p-CoOxyQb2.js +1 -0
- package/bundle/p-CqED0CfD.js +1 -0
- package/bundle/p-Cr_z1Jfi.js +1 -0
- package/bundle/{p-DisehhY5.js → p-D-XzX0R7.js} +1 -1
- package/{dist/db-ux/p-D5mInaY7.js → bundle/p-D6L0n3gO.js} +1 -1
- package/bundle/p-DJTpgiBy.js +1 -0
- package/bundle/p-DMSIvqcA.js +1 -0
- package/bundle/p-DUiroUyR.js +1 -0
- package/bundle/p-DdyMClpj.js +1 -0
- package/bundle/p-DjVjS2Tb.js +1 -0
- package/bundle/p-in4Kv88F.js +1 -0
- package/dist/cjs/db-accordion-item.cjs.entry.js +4 -4
- package/dist/cjs/db-accordion.cjs.entry.js +3 -3
- package/dist/cjs/db-badge.cjs.entry.js +4 -4
- package/dist/cjs/db-brand.cjs.entry.js +4 -4
- package/dist/cjs/db-button.cjs.entry.js +6 -5
- package/dist/cjs/db-card.cjs.entry.js +4 -4
- package/dist/cjs/db-checkbox.cjs.entry.js +5 -5
- package/dist/cjs/db-custom-button.cjs.entry.js +6 -5
- package/dist/cjs/db-custom-select-dropdown_5.cjs.entry.js +18 -17
- package/dist/cjs/db-custom-select-form-field.cjs.entry.js +4 -4
- package/dist/cjs/db-custom-select.cjs.entry.js +10 -10
- package/dist/cjs/db-divider.cjs.entry.js +3 -3
- package/dist/cjs/db-drawer.cjs.entry.js +5 -5
- package/dist/cjs/db-header.cjs.entry.js +4 -4
- package/dist/cjs/db-icon.cjs.entry.js +4 -4
- package/dist/cjs/db-infotext.cjs.entry.js +4 -4
- package/dist/cjs/db-link_4.cjs.entry.js +248 -0
- package/dist/cjs/db-navigation-item.cjs.entry.js +4 -4
- package/dist/cjs/db-navigation.cjs.entry.js +4 -4
- package/dist/cjs/db-notification.cjs.entry.js +4 -4
- package/dist/cjs/db-page.cjs.entry.js +4 -4
- package/dist/cjs/db-popover.cjs.entry.js +5 -5
- package/dist/cjs/db-radio.cjs.entry.js +5 -5
- package/dist/cjs/db-section.cjs.entry.js +4 -4
- package/dist/cjs/db-select.cjs.entry.js +6 -6
- package/dist/cjs/db-stack.cjs.entry.js +4 -4
- package/dist/cjs/db-switch.cjs.entry.js +5 -5
- package/dist/cjs/db-tab-item_3.cjs.entry.js +12 -11
- package/dist/cjs/db-table-body_3.cjs.entry.js +194 -0
- package/dist/cjs/{db-link.cjs.entry.js → db-table-caption.cjs.entry.js} +7 -8
- package/dist/cjs/db-table.cjs.entry.js +158 -0
- package/dist/cjs/db-tabs.cjs.entry.js +4 -4
- package/dist/cjs/db-textarea.cjs.entry.js +5 -5
- package/dist/cjs/db-tooltip.cjs.entry.js +5 -5
- package/dist/cjs/db-ux.cjs.js +2 -2
- package/dist/cjs/{document-click-listener-B2-xKJv3.js → document-click-listener-DdNXbErU.js} +1 -1
- package/dist/cjs/{document-scroll-listener-ChQ7XZRk.js → document-scroll-listener-CvAZ6uPr.js} +1 -1
- package/dist/cjs/{form-components-_ncB_U2D.js → form-components-CmQlkARp.js} +1 -1
- package/dist/cjs/{index-HN8AqU2e.js → index-C313bRqJ.js} +21 -0
- package/dist/cjs/{index-2_9ESkQu.js → index-spuu3sXz.js} +13 -8
- package/dist/cjs/index.cjs.js +23 -4
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/collection/collection-manifest.json +8 -0
- package/dist/collection/components/accordion/accordion.js +1 -1
- package/dist/collection/components/accordion-item/accordion-item.js +2 -2
- package/dist/collection/components/badge/badge.js +2 -2
- package/dist/collection/components/brand/brand.js +3 -3
- package/dist/collection/components/button/button.js +7 -6
- package/dist/collection/components/card/card.js +2 -2
- package/dist/collection/components/checkbox/checkbox.js +3 -3
- package/dist/collection/components/custom-button/custom-button.js +7 -6
- package/dist/collection/components/custom-select/custom-select.js +7 -7
- package/dist/collection/components/custom-select-dropdown/custom-select-dropdown.js +2 -2
- package/dist/collection/components/custom-select-form-field/custom-select-form-field.js +2 -2
- package/dist/collection/components/custom-select-list/custom-select-list.js +2 -2
- package/dist/collection/components/custom-select-list-item/custom-select-list-item.js +3 -3
- package/dist/collection/components/divider/divider.js +1 -1
- package/dist/collection/components/drawer/drawer.js +3 -3
- package/dist/collection/components/header/header.js +2 -2
- package/dist/collection/components/icon/icon.js +3 -3
- package/dist/collection/components/infotext/infotext.js +3 -3
- package/dist/collection/components/input/input.js +11 -10
- package/dist/collection/components/link/link.js +2 -2
- package/dist/collection/components/navigation/navigation.js +2 -2
- package/dist/collection/components/navigation-item/navigation-item.js +3 -3
- package/dist/collection/components/notification/notification.js +3 -3
- package/dist/collection/components/page/page.js +2 -2
- package/dist/collection/components/popover/popover.js +2 -2
- package/dist/collection/components/radio/radio.js +2 -2
- package/dist/collection/components/section/section.js +2 -2
- package/dist/collection/components/select/select.js +5 -5
- package/dist/collection/components/stack/stack.js +2 -2
- package/dist/collection/components/switch/switch.js +6 -6
- package/dist/collection/components/tab-item/tab-item.js +9 -8
- package/dist/collection/components/tab-list/tab-list.js +2 -2
- package/dist/collection/components/tab-panel/tab-panel.js +2 -2
- package/dist/collection/components/table/examples/data.js +258 -0
- package/dist/collection/components/table/index.js +2 -0
- package/dist/collection/components/table/model.js +6 -0
- package/dist/collection/components/table/table.js +478 -0
- package/dist/collection/components/table-body/index.js +2 -0
- package/dist/collection/components/table-body/model.js +1 -0
- package/dist/collection/components/table-body/table-body.js +144 -0
- package/dist/collection/components/table-caption/index.js +2 -0
- package/dist/collection/components/table-caption/model.js +1 -0
- package/dist/collection/components/table-caption/table-caption.js +116 -0
- package/dist/collection/components/table-data-cell/index.js +2 -0
- package/dist/collection/components/table-data-cell/model.js +1 -0
- package/dist/collection/components/table-data-cell/table-data-cell.js +298 -0
- package/dist/collection/components/table-footer/index.js +2 -0
- package/dist/collection/components/table-footer/model.js +1 -0
- package/dist/collection/components/table-footer/table-footer.js +144 -0
- package/dist/collection/components/table-head/index.js +2 -0
- package/dist/collection/components/table-head/model.js +1 -0
- package/dist/collection/components/table-head/table-head.js +147 -0
- package/dist/collection/components/table-header-cell/index.js +2 -0
- package/dist/collection/components/table-header-cell/model.js +1 -0
- package/dist/collection/components/table-header-cell/table-header-cell.js +376 -0
- package/dist/collection/components/table-row/index.js +2 -0
- package/dist/collection/components/table-row/model.js +1 -0
- package/dist/collection/components/table-row/table-row.js +202 -0
- package/dist/collection/components/tabs/tabs.js +2 -2
- package/dist/collection/components/tag/tag.js +3 -3
- package/dist/collection/components/textarea/textarea.js +3 -3
- package/dist/collection/components/tooltip/tooltip.js +2 -2
- package/dist/collection/index.js +16 -0
- package/dist/collection/shared/model.js +1 -1
- package/dist/collection/utils/index.js +13 -8
- package/dist/custom-elements.json +6998 -3826
- package/dist/db-ux/db-ux.esm.js +1 -1
- package/dist/db-ux/index.esm.js +1 -1
- package/dist/db-ux/{p-2461e08a.entry.js → p-08271c80.entry.js} +1 -1
- package/dist/db-ux/{p-0f524f6c.entry.js → p-105ffa74.entry.js} +1 -1
- package/dist/db-ux/p-15adca91.entry.js +1 -0
- package/dist/db-ux/{p-db71c251.entry.js → p-1a322a0c.entry.js} +1 -1
- package/dist/db-ux/{p-46e3033b.entry.js → p-1f7232c0.entry.js} +1 -1
- package/dist/db-ux/p-27e2f6f2.entry.js +1 -0
- package/dist/db-ux/p-2907f214.entry.js +1 -0
- package/dist/db-ux/p-2ff958e4.entry.js +1 -0
- package/dist/db-ux/p-3423b7af.entry.js +1 -0
- package/dist/db-ux/p-365e6edf.entry.js +1 -0
- package/dist/db-ux/{p-fd334f14.entry.js → p-42516007.entry.js} +1 -1
- package/dist/db-ux/p-5045182c.entry.js +1 -0
- package/dist/db-ux/{p-26b7e21f.entry.js → p-5e1d42e5.entry.js} +1 -1
- package/dist/db-ux/{p-94de5791.entry.js → p-61b28212.entry.js} +1 -1
- package/dist/db-ux/p-6850a53c.entry.js +1 -0
- package/dist/db-ux/p-6bff55b4.entry.js +1 -0
- package/dist/db-ux/p-6e7c5e42.entry.js +1 -0
- package/dist/db-ux/p-76adf385.entry.js +1 -0
- package/dist/db-ux/p-78f7b353.entry.js +1 -0
- package/dist/db-ux/p-7fa5d304.entry.js +1 -0
- package/dist/db-ux/p-95b69e71.entry.js +1 -0
- package/dist/db-ux/p-99ebe6ec.entry.js +1 -0
- package/dist/db-ux/p-BihrW11j.js +1 -0
- package/dist/db-ux/p-BlbKvvUv.js +2 -0
- package/{bundle/p-BLyvxOmU.js → dist/db-ux/p-BtImZ8Nt.js} +1 -1
- package/dist/db-ux/p-OOIf-5XP.js +1 -0
- package/dist/db-ux/p-a5dc355d.entry.js +1 -0
- package/dist/db-ux/{p-4d5201a3.entry.js → p-a6113789.entry.js} +1 -1
- package/dist/db-ux/p-b9c0feaf.entry.js +1 -0
- package/dist/db-ux/p-c14fa91a.entry.js +1 -0
- package/dist/db-ux/p-c65b807e.entry.js +1 -0
- package/dist/db-ux/{p-d173eace.entry.js → p-dd9cedbe.entry.js} +1 -1
- package/dist/db-ux/{p-652739e4.entry.js → p-e3f705fd.entry.js} +1 -1
- package/dist/db-ux/{p-5eae34e7.entry.js → p-e4cddc9f.entry.js} +1 -1
- package/dist/db-ux/p-e7a8612c.entry.js +1 -0
- package/dist/db-ux/{p-4c3a8823.entry.js → p-ee8c3243.entry.js} +1 -1
- package/dist/db-ux/p-f0d0acfc.entry.js +1 -0
- package/dist/db-ux/{p-e2740857.entry.js → p-f15748ea.entry.js} +1 -1
- package/dist/db-ux/p-fumiz06Y.js +1 -0
- package/dist/esm/db-accordion-item.entry.js +4 -4
- package/dist/esm/db-accordion.entry.js +3 -3
- package/dist/esm/db-badge.entry.js +4 -4
- package/dist/esm/db-brand.entry.js +4 -4
- package/dist/esm/db-button.entry.js +6 -5
- package/dist/esm/db-card.entry.js +4 -4
- package/dist/esm/db-checkbox.entry.js +5 -5
- package/dist/esm/db-custom-button.entry.js +6 -5
- package/dist/esm/db-custom-select-dropdown_5.entry.js +18 -17
- package/dist/esm/db-custom-select-form-field.entry.js +4 -4
- package/dist/esm/db-custom-select.entry.js +10 -10
- package/dist/esm/db-divider.entry.js +3 -3
- package/dist/esm/db-drawer.entry.js +5 -5
- package/dist/esm/db-header.entry.js +4 -4
- package/dist/esm/db-icon.entry.js +4 -4
- package/dist/esm/db-infotext.entry.js +4 -4
- package/dist/esm/db-link_4.entry.js +243 -0
- package/dist/esm/db-navigation-item.entry.js +4 -4
- package/dist/esm/db-navigation.entry.js +4 -4
- package/dist/esm/db-notification.entry.js +4 -4
- package/dist/esm/db-page.entry.js +4 -4
- package/dist/esm/db-popover.entry.js +5 -5
- package/dist/esm/db-radio.entry.js +5 -5
- package/dist/esm/db-section.entry.js +4 -4
- package/dist/esm/db-select.entry.js +6 -6
- package/dist/esm/db-stack.entry.js +4 -4
- package/dist/esm/db-switch.entry.js +5 -5
- package/dist/esm/db-tab-item_3.entry.js +12 -11
- package/dist/esm/db-table-body_3.entry.js +190 -0
- package/dist/esm/{db-link.entry.js → db-table-caption.entry.js} +7 -8
- package/dist/esm/db-table.entry.js +156 -0
- package/dist/esm/db-tabs.entry.js +4 -4
- package/dist/esm/db-textarea.entry.js +5 -5
- package/dist/esm/db-tooltip.entry.js +5 -5
- package/dist/esm/db-ux.js +3 -3
- package/dist/esm/{document-click-listener-D7W_VE5O.js → document-click-listener-9wJfRcvz.js} +1 -1
- package/dist/esm/{document-scroll-listener-DOBe3Oa9.js → document-scroll-listener-4F0ZAg9p.js} +1 -1
- package/dist/esm/{form-components-D6LQfJvq.js → form-components-ZV7IN0oG.js} +1 -1
- package/dist/esm/{index-BGaQ0Bx8.js → index-BlbKvvUv.js} +21 -0
- package/dist/esm/{index-xkoBSP8R.js → index-fumiz06Y.js} +13 -8
- package/dist/esm/index.js +16 -5
- package/dist/esm/loader.js +3 -3
- package/dist/types/components/table/examples/data.d.ts +9 -0
- package/dist/types/components/table/index.d.ts +2 -0
- package/dist/types/components/table/model.d.ts +74 -0
- package/dist/types/components/table/table.d.ts +38 -0
- package/dist/types/components/table-body/index.d.ts +2 -0
- package/dist/types/components/table-body/model.d.ts +8 -0
- package/dist/types/components/table-body/table-body.d.ts +20 -0
- package/dist/types/components/table-caption/index.d.ts +2 -0
- package/dist/types/components/table-caption/model.d.ts +5 -0
- package/dist/types/components/table-caption/table-caption.d.ts +19 -0
- package/dist/types/components/table-data-cell/index.d.ts +2 -0
- package/dist/types/components/table-data-cell/model.d.ts +5 -0
- package/dist/types/components/table-data-cell/table-data-cell.d.ts +26 -0
- package/dist/types/components/table-footer/index.d.ts +2 -0
- package/dist/types/components/table-footer/model.d.ts +8 -0
- package/dist/types/components/table-footer/table-footer.d.ts +20 -0
- package/dist/types/components/table-head/index.d.ts +2 -0
- package/dist/types/components/table-head/model.d.ts +10 -0
- package/dist/types/components/table-head/table-head.d.ts +59 -0
- package/dist/types/components/table-header-cell/index.d.ts +2 -0
- package/dist/types/components/table-header-cell/model.d.ts +24 -0
- package/dist/types/components/table-header-cell/table-header-cell.d.ts +29 -0
- package/dist/types/components/table-row/index.d.ts +2 -0
- package/dist/types/components/table-row/model.d.ts +30 -0
- package/dist/types/components/table-row/table-row.d.ts +24 -0
- package/dist/types/components.d.ts +278 -0
- package/dist/types/index.d.ts +16 -0
- package/dist/types/shared/figma.d.ts +70 -18
- package/dist/types/shared/model.d.ts +44 -2
- package/dist/types/utils/index.d.ts +9 -4
- package/dist/vscode.html-custom-data.json +400 -2
- package/dist/web-types.json +744 -5
- package/package.json +4 -4
- package/bundle/p--qzKkpB9.js +0 -1
- package/bundle/p-9fgrfYbf.js +0 -1
- package/bundle/p-BChikMGc.js +0 -1
- package/bundle/p-BPxBqqlc.js +0 -1
- package/bundle/p-C6_y8Tot.js +0 -1
- package/bundle/p-CKfRqzsn.js +0 -1
- package/bundle/p-CnYMRGX1.js +0 -1
- package/bundle/p-CwzdaLE3.js +0 -1
- package/bundle/p-CyxQfbGC.js +0 -1
- package/bundle/p-DstwggLZ.js +0 -1
- package/bundle/p-suxDlmXD.js +0 -1
- package/dist/db-ux/p-11211f1a.entry.js +0 -1
- package/dist/db-ux/p-1a4881de.entry.js +0 -1
- package/dist/db-ux/p-21e5f6d0.entry.js +0 -1
- package/dist/db-ux/p-272bdffc.entry.js +0 -1
- package/dist/db-ux/p-32c359a9.entry.js +0 -1
- package/dist/db-ux/p-33606da9.entry.js +0 -1
- package/dist/db-ux/p-44391c06.entry.js +0 -1
- package/dist/db-ux/p-4b99f205.entry.js +0 -1
- package/dist/db-ux/p-4c238643.entry.js +0 -1
- package/dist/db-ux/p-93a6b1ee.entry.js +0 -1
- package/dist/db-ux/p-9728504d.entry.js +0 -1
- package/dist/db-ux/p-BGaQ0Bx8.js +0 -2
- package/dist/db-ux/p-CHLgQ9vn.js +0 -1
- package/dist/db-ux/p-D_roHmuC.js +0 -1
- package/dist/db-ux/p-a6c3ceaa.entry.js +0 -1
- package/dist/db-ux/p-cd3cfb4e.entry.js +0 -1
- package/dist/db-ux/p-cf045f35.entry.js +0 -1
- package/dist/db-ux/p-d3ada4cb.entry.js +0 -1
- package/dist/db-ux/p-d858f147.entry.js +0 -1
- package/dist/db-ux/p-ed5b3877.entry.js +0 -1
- package/dist/db-ux/p-fed0fc42.entry.js +0 -1
- package/dist/db-ux/p-xkoBSP8R.js +0 -1
|
@@ -38,6 +38,14 @@ import { DBSwitchProps } from "./components/switch/model";
|
|
|
38
38
|
import { DBTabItemProps } from "./components/tab-item/model";
|
|
39
39
|
import { DBTabListProps } from "./components/tab-list/model";
|
|
40
40
|
import { DBTabPanelProps } from "./components/tab-panel/model";
|
|
41
|
+
import { DBTableProps } from "./components/table/model";
|
|
42
|
+
import { DBTableBodyProps } from "./components/table-body/model";
|
|
43
|
+
import { DBTableCaptionProps } from "./components/table-caption/model";
|
|
44
|
+
import { DBTableDataCellProps } from "./components/table-data-cell/model";
|
|
45
|
+
import { DBTableFooterProps } from "./components/table-footer/model";
|
|
46
|
+
import { DBTableHeadProps } from "./components/table-head/model";
|
|
47
|
+
import { DBTableHeaderCellProps } from "./components/table-header-cell/model";
|
|
48
|
+
import { DBTableRowProps } from "./components/table-row/model";
|
|
41
49
|
import { DBTabsProps } from "./components/tabs/model";
|
|
42
50
|
import { DBTagProps } from "./components/tag/model";
|
|
43
51
|
import { DBTextareaProps } from "./components/textarea/model";
|
|
@@ -75,6 +83,14 @@ export { DBSwitchProps } from "./components/switch/model";
|
|
|
75
83
|
export { DBTabItemProps } from "./components/tab-item/model";
|
|
76
84
|
export { DBTabListProps } from "./components/tab-list/model";
|
|
77
85
|
export { DBTabPanelProps } from "./components/tab-panel/model";
|
|
86
|
+
export { DBTableProps } from "./components/table/model";
|
|
87
|
+
export { DBTableBodyProps } from "./components/table-body/model";
|
|
88
|
+
export { DBTableCaptionProps } from "./components/table-caption/model";
|
|
89
|
+
export { DBTableDataCellProps } from "./components/table-data-cell/model";
|
|
90
|
+
export { DBTableFooterProps } from "./components/table-footer/model";
|
|
91
|
+
export { DBTableHeadProps } from "./components/table-head/model";
|
|
92
|
+
export { DBTableHeaderCellProps } from "./components/table-header-cell/model";
|
|
93
|
+
export { DBTableRowProps } from "./components/table-row/model";
|
|
78
94
|
export { DBTabsProps } from "./components/tabs/model";
|
|
79
95
|
export { DBTagProps } from "./components/tag/model";
|
|
80
96
|
export { DBTextareaProps } from "./components/textarea/model";
|
|
@@ -586,6 +602,71 @@ export namespace Components {
|
|
|
586
602
|
"id": DBTabPanelProps["id"];
|
|
587
603
|
"propOverrides": DBTabPanelProps["propOverrides"];
|
|
588
604
|
}
|
|
605
|
+
interface DbTable {
|
|
606
|
+
"captionPlain": DBTableProps["captionPlain"];
|
|
607
|
+
"className": DBTableProps["className"];
|
|
608
|
+
"columnSizes": DBTableProps["columnSizes"];
|
|
609
|
+
"data": DBTableProps["data"];
|
|
610
|
+
"divider": DBTableProps["divider"];
|
|
611
|
+
"id": DBTableProps["id"];
|
|
612
|
+
"mobileVariant": DBTableProps["mobileVariant"];
|
|
613
|
+
"showCaption": DBTableProps["showCaption"];
|
|
614
|
+
"size": DBTableProps["size"];
|
|
615
|
+
"stickyHeader": DBTableProps["stickyHeader"];
|
|
616
|
+
"variant": DBTableProps["variant"];
|
|
617
|
+
"width": DBTableProps["width"];
|
|
618
|
+
}
|
|
619
|
+
interface DbTableBody {
|
|
620
|
+
"className": DBTableBodyProps["className"];
|
|
621
|
+
"id": DBTableBodyProps["id"];
|
|
622
|
+
"rows": DBTableBodyProps["rows"];
|
|
623
|
+
}
|
|
624
|
+
interface DbTableCaption {
|
|
625
|
+
"className": DBTableCaptionProps["className"];
|
|
626
|
+
"id": DBTableCaptionProps["id"];
|
|
627
|
+
}
|
|
628
|
+
interface DbTableDataCell {
|
|
629
|
+
"className": DBTableDataCellProps["className"];
|
|
630
|
+
"colSpan": DBTableDataCellProps["colSpan"];
|
|
631
|
+
"colspan": DBTableDataCellProps["colspan"];
|
|
632
|
+
"headers": DBTableDataCellProps["headers"];
|
|
633
|
+
"horizontalAlignment": DBTableDataCellProps["horizontalAlignment"];
|
|
634
|
+
"id": DBTableDataCellProps["id"];
|
|
635
|
+
"rowSpan": DBTableDataCellProps["rowSpan"];
|
|
636
|
+
"rowspan": DBTableDataCellProps["rowspan"];
|
|
637
|
+
"verticalAlignment": DBTableDataCellProps["verticalAlignment"];
|
|
638
|
+
}
|
|
639
|
+
interface DbTableFooter {
|
|
640
|
+
"className": DBTableFooterProps["className"];
|
|
641
|
+
"id": DBTableFooterProps["id"];
|
|
642
|
+
"rows": DBTableFooterProps["rows"];
|
|
643
|
+
}
|
|
644
|
+
interface DbTableHead {
|
|
645
|
+
"className": DBTableHeadProps["className"];
|
|
646
|
+
"id": DBTableHeadProps["id"];
|
|
647
|
+
"rows": DBTableHeadProps["rows"];
|
|
648
|
+
}
|
|
649
|
+
interface DbTableHeaderCell {
|
|
650
|
+
"abbr": DBTableHeaderCellProps["abbr"];
|
|
651
|
+
"className": DBTableHeaderCellProps["className"];
|
|
652
|
+
"colSpan": DBTableHeaderCellProps["colSpan"];
|
|
653
|
+
"colspan": DBTableHeaderCellProps["colspan"];
|
|
654
|
+
"headers": DBTableHeaderCellProps["headers"];
|
|
655
|
+
"horizontalAlignment": DBTableHeaderCellProps["horizontalAlignment"];
|
|
656
|
+
"id": DBTableHeaderCellProps["id"];
|
|
657
|
+
"noText": DBTableHeaderCellProps["noText"];
|
|
658
|
+
"rowSpan": DBTableHeaderCellProps["rowSpan"];
|
|
659
|
+
"rowspan": DBTableHeaderCellProps["rowspan"];
|
|
660
|
+
"scope": DBTableHeaderCellProps["scope"];
|
|
661
|
+
"verticalAlignment": DBTableHeaderCellProps["verticalAlignment"];
|
|
662
|
+
}
|
|
663
|
+
interface DbTableRow {
|
|
664
|
+
"cells": DBTableRowProps["cells"];
|
|
665
|
+
"className": DBTableRowProps["className"];
|
|
666
|
+
"id": DBTableRowProps["id"];
|
|
667
|
+
"interactive": DBTableRowProps["interactive"];
|
|
668
|
+
"subHeaderEmphasis": DBTableRowProps["subHeaderEmphasis"];
|
|
669
|
+
}
|
|
589
670
|
interface DbTabs {
|
|
590
671
|
"alignment": DBTabsProps["alignment"];
|
|
591
672
|
"arrowScrollDistance": DBTabsProps["arrowScrollDistance"];
|
|
@@ -1119,6 +1200,54 @@ declare global {
|
|
|
1119
1200
|
prototype: HTMLDbTabPanelElement;
|
|
1120
1201
|
new (): HTMLDbTabPanelElement;
|
|
1121
1202
|
};
|
|
1203
|
+
interface HTMLDbTableElement extends Components.DbTable, HTMLStencilElement {
|
|
1204
|
+
}
|
|
1205
|
+
var HTMLDbTableElement: {
|
|
1206
|
+
prototype: HTMLDbTableElement;
|
|
1207
|
+
new (): HTMLDbTableElement;
|
|
1208
|
+
};
|
|
1209
|
+
interface HTMLDbTableBodyElement extends Components.DbTableBody, HTMLStencilElement {
|
|
1210
|
+
}
|
|
1211
|
+
var HTMLDbTableBodyElement: {
|
|
1212
|
+
prototype: HTMLDbTableBodyElement;
|
|
1213
|
+
new (): HTMLDbTableBodyElement;
|
|
1214
|
+
};
|
|
1215
|
+
interface HTMLDbTableCaptionElement extends Components.DbTableCaption, HTMLStencilElement {
|
|
1216
|
+
}
|
|
1217
|
+
var HTMLDbTableCaptionElement: {
|
|
1218
|
+
prototype: HTMLDbTableCaptionElement;
|
|
1219
|
+
new (): HTMLDbTableCaptionElement;
|
|
1220
|
+
};
|
|
1221
|
+
interface HTMLDbTableDataCellElement extends Components.DbTableDataCell, HTMLStencilElement {
|
|
1222
|
+
}
|
|
1223
|
+
var HTMLDbTableDataCellElement: {
|
|
1224
|
+
prototype: HTMLDbTableDataCellElement;
|
|
1225
|
+
new (): HTMLDbTableDataCellElement;
|
|
1226
|
+
};
|
|
1227
|
+
interface HTMLDbTableFooterElement extends Components.DbTableFooter, HTMLStencilElement {
|
|
1228
|
+
}
|
|
1229
|
+
var HTMLDbTableFooterElement: {
|
|
1230
|
+
prototype: HTMLDbTableFooterElement;
|
|
1231
|
+
new (): HTMLDbTableFooterElement;
|
|
1232
|
+
};
|
|
1233
|
+
interface HTMLDbTableHeadElement extends Components.DbTableHead, HTMLStencilElement {
|
|
1234
|
+
}
|
|
1235
|
+
var HTMLDbTableHeadElement: {
|
|
1236
|
+
prototype: HTMLDbTableHeadElement;
|
|
1237
|
+
new (): HTMLDbTableHeadElement;
|
|
1238
|
+
};
|
|
1239
|
+
interface HTMLDbTableHeaderCellElement extends Components.DbTableHeaderCell, HTMLStencilElement {
|
|
1240
|
+
}
|
|
1241
|
+
var HTMLDbTableHeaderCellElement: {
|
|
1242
|
+
prototype: HTMLDbTableHeaderCellElement;
|
|
1243
|
+
new (): HTMLDbTableHeaderCellElement;
|
|
1244
|
+
};
|
|
1245
|
+
interface HTMLDbTableRowElement extends Components.DbTableRow, HTMLStencilElement {
|
|
1246
|
+
}
|
|
1247
|
+
var HTMLDbTableRowElement: {
|
|
1248
|
+
prototype: HTMLDbTableRowElement;
|
|
1249
|
+
new (): HTMLDbTableRowElement;
|
|
1250
|
+
};
|
|
1122
1251
|
interface HTMLDbTabsElementEventMap {
|
|
1123
1252
|
"indexChange": any;
|
|
1124
1253
|
"tabSelect": any;
|
|
@@ -1214,6 +1343,14 @@ declare global {
|
|
|
1214
1343
|
"db-tab-item": HTMLDbTabItemElement;
|
|
1215
1344
|
"db-tab-list": HTMLDbTabListElement;
|
|
1216
1345
|
"db-tab-panel": HTMLDbTabPanelElement;
|
|
1346
|
+
"db-table": HTMLDbTableElement;
|
|
1347
|
+
"db-table-body": HTMLDbTableBodyElement;
|
|
1348
|
+
"db-table-caption": HTMLDbTableCaptionElement;
|
|
1349
|
+
"db-table-data-cell": HTMLDbTableDataCellElement;
|
|
1350
|
+
"db-table-footer": HTMLDbTableFooterElement;
|
|
1351
|
+
"db-table-head": HTMLDbTableHeadElement;
|
|
1352
|
+
"db-table-header-cell": HTMLDbTableHeaderCellElement;
|
|
1353
|
+
"db-table-row": HTMLDbTableRowElement;
|
|
1217
1354
|
"db-tabs": HTMLDbTabsElement;
|
|
1218
1355
|
"db-tag": HTMLDbTagElement;
|
|
1219
1356
|
"db-textarea": HTMLDbTextareaElement;
|
|
@@ -1759,6 +1896,71 @@ declare namespace LocalJSX {
|
|
|
1759
1896
|
"id"?: DBTabPanelProps["id"];
|
|
1760
1897
|
"propOverrides"?: DBTabPanelProps["propOverrides"];
|
|
1761
1898
|
}
|
|
1899
|
+
interface DbTable {
|
|
1900
|
+
"captionPlain"?: DBTableProps["captionPlain"];
|
|
1901
|
+
"className"?: DBTableProps["className"];
|
|
1902
|
+
"columnSizes"?: DBTableProps["columnSizes"];
|
|
1903
|
+
"data"?: DBTableProps["data"];
|
|
1904
|
+
"divider"?: DBTableProps["divider"];
|
|
1905
|
+
"id"?: DBTableProps["id"];
|
|
1906
|
+
"mobileVariant"?: DBTableProps["mobileVariant"];
|
|
1907
|
+
"showCaption"?: DBTableProps["showCaption"];
|
|
1908
|
+
"size"?: DBTableProps["size"];
|
|
1909
|
+
"stickyHeader"?: DBTableProps["stickyHeader"];
|
|
1910
|
+
"variant"?: DBTableProps["variant"];
|
|
1911
|
+
"width"?: DBTableProps["width"];
|
|
1912
|
+
}
|
|
1913
|
+
interface DbTableBody {
|
|
1914
|
+
"className"?: DBTableBodyProps["className"];
|
|
1915
|
+
"id"?: DBTableBodyProps["id"];
|
|
1916
|
+
"rows"?: DBTableBodyProps["rows"];
|
|
1917
|
+
}
|
|
1918
|
+
interface DbTableCaption {
|
|
1919
|
+
"className"?: DBTableCaptionProps["className"];
|
|
1920
|
+
"id"?: DBTableCaptionProps["id"];
|
|
1921
|
+
}
|
|
1922
|
+
interface DbTableDataCell {
|
|
1923
|
+
"className"?: DBTableDataCellProps["className"];
|
|
1924
|
+
"colSpan"?: DBTableDataCellProps["colSpan"];
|
|
1925
|
+
"colspan"?: DBTableDataCellProps["colspan"];
|
|
1926
|
+
"headers"?: DBTableDataCellProps["headers"];
|
|
1927
|
+
"horizontalAlignment"?: DBTableDataCellProps["horizontalAlignment"];
|
|
1928
|
+
"id"?: DBTableDataCellProps["id"];
|
|
1929
|
+
"rowSpan"?: DBTableDataCellProps["rowSpan"];
|
|
1930
|
+
"rowspan"?: DBTableDataCellProps["rowspan"];
|
|
1931
|
+
"verticalAlignment"?: DBTableDataCellProps["verticalAlignment"];
|
|
1932
|
+
}
|
|
1933
|
+
interface DbTableFooter {
|
|
1934
|
+
"className"?: DBTableFooterProps["className"];
|
|
1935
|
+
"id"?: DBTableFooterProps["id"];
|
|
1936
|
+
"rows"?: DBTableFooterProps["rows"];
|
|
1937
|
+
}
|
|
1938
|
+
interface DbTableHead {
|
|
1939
|
+
"className"?: DBTableHeadProps["className"];
|
|
1940
|
+
"id"?: DBTableHeadProps["id"];
|
|
1941
|
+
"rows"?: DBTableHeadProps["rows"];
|
|
1942
|
+
}
|
|
1943
|
+
interface DbTableHeaderCell {
|
|
1944
|
+
"abbr"?: DBTableHeaderCellProps["abbr"];
|
|
1945
|
+
"className"?: DBTableHeaderCellProps["className"];
|
|
1946
|
+
"colSpan"?: DBTableHeaderCellProps["colSpan"];
|
|
1947
|
+
"colspan"?: DBTableHeaderCellProps["colspan"];
|
|
1948
|
+
"headers"?: DBTableHeaderCellProps["headers"];
|
|
1949
|
+
"horizontalAlignment"?: DBTableHeaderCellProps["horizontalAlignment"];
|
|
1950
|
+
"id"?: DBTableHeaderCellProps["id"];
|
|
1951
|
+
"noText"?: DBTableHeaderCellProps["noText"];
|
|
1952
|
+
"rowSpan"?: DBTableHeaderCellProps["rowSpan"];
|
|
1953
|
+
"rowspan"?: DBTableHeaderCellProps["rowspan"];
|
|
1954
|
+
"scope"?: DBTableHeaderCellProps["scope"];
|
|
1955
|
+
"verticalAlignment"?: DBTableHeaderCellProps["verticalAlignment"];
|
|
1956
|
+
}
|
|
1957
|
+
interface DbTableRow {
|
|
1958
|
+
"cells"?: DBTableRowProps["cells"];
|
|
1959
|
+
"className"?: DBTableRowProps["className"];
|
|
1960
|
+
"id"?: DBTableRowProps["id"];
|
|
1961
|
+
"interactive"?: DBTableRowProps["interactive"];
|
|
1962
|
+
"subHeaderEmphasis"?: DBTableRowProps["subHeaderEmphasis"];
|
|
1963
|
+
}
|
|
1762
1964
|
interface DbTabs {
|
|
1763
1965
|
"alignment"?: DBTabsProps["alignment"];
|
|
1764
1966
|
"arrowScrollDistance"?: DBTabsProps["arrowScrollDistance"];
|
|
@@ -2302,6 +2504,66 @@ declare namespace LocalJSX {
|
|
|
2302
2504
|
"id": DBTabPanelProps["id"];
|
|
2303
2505
|
"content": DBTabPanelProps["content"];
|
|
2304
2506
|
}
|
|
2507
|
+
interface DbTableAttributes {
|
|
2508
|
+
"data": DBTableProps["data"];
|
|
2509
|
+
"mobileVariant": DBTableProps["mobileVariant"];
|
|
2510
|
+
"className": DBTableProps["className"];
|
|
2511
|
+
"width": DBTableProps["width"];
|
|
2512
|
+
"size": DBTableProps["size"];
|
|
2513
|
+
"divider": DBTableProps["divider"];
|
|
2514
|
+
"variant": DBTableProps["variant"];
|
|
2515
|
+
"showCaption": string;
|
|
2516
|
+
"stickyHeader": DBTableProps["stickyHeader"];
|
|
2517
|
+
"id": DBTableProps["id"];
|
|
2518
|
+
"captionPlain": DBTableProps["captionPlain"];
|
|
2519
|
+
}
|
|
2520
|
+
interface DbTableBodyAttributes {
|
|
2521
|
+
"id": DBTableBodyProps["id"];
|
|
2522
|
+
"className": DBTableBodyProps["className"];
|
|
2523
|
+
}
|
|
2524
|
+
interface DbTableCaptionAttributes {
|
|
2525
|
+
"id": DBTableCaptionProps["id"];
|
|
2526
|
+
"className": DBTableCaptionProps["className"];
|
|
2527
|
+
}
|
|
2528
|
+
interface DbTableDataCellAttributes {
|
|
2529
|
+
"id": DBTableDataCellProps["id"];
|
|
2530
|
+
"className": DBTableDataCellProps["className"];
|
|
2531
|
+
"horizontalAlignment": DBTableDataCellProps["horizontalAlignment"];
|
|
2532
|
+
"verticalAlignment": DBTableDataCellProps["verticalAlignment"];
|
|
2533
|
+
"colSpan": string;
|
|
2534
|
+
"colspan": string;
|
|
2535
|
+
"rowSpan": string;
|
|
2536
|
+
"rowspan": string;
|
|
2537
|
+
"headers": DBTableDataCellProps["headers"];
|
|
2538
|
+
}
|
|
2539
|
+
interface DbTableFooterAttributes {
|
|
2540
|
+
"id": DBTableFooterProps["id"];
|
|
2541
|
+
"className": DBTableFooterProps["className"];
|
|
2542
|
+
}
|
|
2543
|
+
interface DbTableHeadAttributes {
|
|
2544
|
+
"id": DBTableHeadProps["id"];
|
|
2545
|
+
"className": DBTableHeadProps["className"];
|
|
2546
|
+
}
|
|
2547
|
+
interface DbTableHeaderCellAttributes {
|
|
2548
|
+
"id": DBTableHeaderCellProps["id"];
|
|
2549
|
+
"className": DBTableHeaderCellProps["className"];
|
|
2550
|
+
"horizontalAlignment": DBTableHeaderCellProps["horizontalAlignment"];
|
|
2551
|
+
"verticalAlignment": DBTableHeaderCellProps["verticalAlignment"];
|
|
2552
|
+
"noText": string;
|
|
2553
|
+
"scope": DBTableHeaderCellProps["scope"];
|
|
2554
|
+
"colSpan": string;
|
|
2555
|
+
"colspan": string;
|
|
2556
|
+
"rowSpan": string;
|
|
2557
|
+
"rowspan": string;
|
|
2558
|
+
"headers": DBTableHeaderCellProps["headers"];
|
|
2559
|
+
"abbr": DBTableHeaderCellProps["abbr"];
|
|
2560
|
+
}
|
|
2561
|
+
interface DbTableRowAttributes {
|
|
2562
|
+
"id": DBTableRowProps["id"];
|
|
2563
|
+
"className": DBTableRowProps["className"];
|
|
2564
|
+
"interactive": string;
|
|
2565
|
+
"subHeaderEmphasis": DBTableRowProps["subHeaderEmphasis"];
|
|
2566
|
+
}
|
|
2305
2567
|
interface DbTabsAttributes {
|
|
2306
2568
|
"name": DBTabsProps["name"];
|
|
2307
2569
|
"tabs": DBTabsProps["tabs"];
|
|
@@ -2412,6 +2674,14 @@ declare namespace LocalJSX {
|
|
|
2412
2674
|
"db-tab-item": Omit<DbTabItem, keyof DbTabItemAttributes> & { [K in keyof DbTabItem & keyof DbTabItemAttributes]?: DbTabItem[K] } & { [K in keyof DbTabItem & keyof DbTabItemAttributes as `attr:${K}`]?: DbTabItemAttributes[K] } & { [K in keyof DbTabItem & keyof DbTabItemAttributes as `prop:${K}`]?: DbTabItem[K] };
|
|
2413
2675
|
"db-tab-list": Omit<DbTabList, keyof DbTabListAttributes> & { [K in keyof DbTabList & keyof DbTabListAttributes]?: DbTabList[K] } & { [K in keyof DbTabList & keyof DbTabListAttributes as `attr:${K}`]?: DbTabListAttributes[K] } & { [K in keyof DbTabList & keyof DbTabListAttributes as `prop:${K}`]?: DbTabList[K] };
|
|
2414
2676
|
"db-tab-panel": Omit<DbTabPanel, keyof DbTabPanelAttributes> & { [K in keyof DbTabPanel & keyof DbTabPanelAttributes]?: DbTabPanel[K] } & { [K in keyof DbTabPanel & keyof DbTabPanelAttributes as `attr:${K}`]?: DbTabPanelAttributes[K] } & { [K in keyof DbTabPanel & keyof DbTabPanelAttributes as `prop:${K}`]?: DbTabPanel[K] };
|
|
2677
|
+
"db-table": Omit<DbTable, keyof DbTableAttributes> & { [K in keyof DbTable & keyof DbTableAttributes]?: DbTable[K] } & { [K in keyof DbTable & keyof DbTableAttributes as `attr:${K}`]?: DbTableAttributes[K] } & { [K in keyof DbTable & keyof DbTableAttributes as `prop:${K}`]?: DbTable[K] };
|
|
2678
|
+
"db-table-body": Omit<DbTableBody, keyof DbTableBodyAttributes> & { [K in keyof DbTableBody & keyof DbTableBodyAttributes]?: DbTableBody[K] } & { [K in keyof DbTableBody & keyof DbTableBodyAttributes as `attr:${K}`]?: DbTableBodyAttributes[K] } & { [K in keyof DbTableBody & keyof DbTableBodyAttributes as `prop:${K}`]?: DbTableBody[K] };
|
|
2679
|
+
"db-table-caption": Omit<DbTableCaption, keyof DbTableCaptionAttributes> & { [K in keyof DbTableCaption & keyof DbTableCaptionAttributes]?: DbTableCaption[K] } & { [K in keyof DbTableCaption & keyof DbTableCaptionAttributes as `attr:${K}`]?: DbTableCaptionAttributes[K] } & { [K in keyof DbTableCaption & keyof DbTableCaptionAttributes as `prop:${K}`]?: DbTableCaption[K] };
|
|
2680
|
+
"db-table-data-cell": Omit<DbTableDataCell, keyof DbTableDataCellAttributes> & { [K in keyof DbTableDataCell & keyof DbTableDataCellAttributes]?: DbTableDataCell[K] } & { [K in keyof DbTableDataCell & keyof DbTableDataCellAttributes as `attr:${K}`]?: DbTableDataCellAttributes[K] } & { [K in keyof DbTableDataCell & keyof DbTableDataCellAttributes as `prop:${K}`]?: DbTableDataCell[K] };
|
|
2681
|
+
"db-table-footer": Omit<DbTableFooter, keyof DbTableFooterAttributes> & { [K in keyof DbTableFooter & keyof DbTableFooterAttributes]?: DbTableFooter[K] } & { [K in keyof DbTableFooter & keyof DbTableFooterAttributes as `attr:${K}`]?: DbTableFooterAttributes[K] } & { [K in keyof DbTableFooter & keyof DbTableFooterAttributes as `prop:${K}`]?: DbTableFooter[K] };
|
|
2682
|
+
"db-table-head": Omit<DbTableHead, keyof DbTableHeadAttributes> & { [K in keyof DbTableHead & keyof DbTableHeadAttributes]?: DbTableHead[K] } & { [K in keyof DbTableHead & keyof DbTableHeadAttributes as `attr:${K}`]?: DbTableHeadAttributes[K] } & { [K in keyof DbTableHead & keyof DbTableHeadAttributes as `prop:${K}`]?: DbTableHead[K] };
|
|
2683
|
+
"db-table-header-cell": Omit<DbTableHeaderCell, keyof DbTableHeaderCellAttributes> & { [K in keyof DbTableHeaderCell & keyof DbTableHeaderCellAttributes]?: DbTableHeaderCell[K] } & { [K in keyof DbTableHeaderCell & keyof DbTableHeaderCellAttributes as `attr:${K}`]?: DbTableHeaderCellAttributes[K] } & { [K in keyof DbTableHeaderCell & keyof DbTableHeaderCellAttributes as `prop:${K}`]?: DbTableHeaderCell[K] };
|
|
2684
|
+
"db-table-row": Omit<DbTableRow, keyof DbTableRowAttributes> & { [K in keyof DbTableRow & keyof DbTableRowAttributes]?: DbTableRow[K] } & { [K in keyof DbTableRow & keyof DbTableRowAttributes as `attr:${K}`]?: DbTableRowAttributes[K] } & { [K in keyof DbTableRow & keyof DbTableRowAttributes as `prop:${K}`]?: DbTableRow[K] };
|
|
2415
2685
|
"db-tabs": Omit<DbTabs, keyof DbTabsAttributes> & { [K in keyof DbTabs & keyof DbTabsAttributes]?: DbTabs[K] } & { [K in keyof DbTabs & keyof DbTabsAttributes as `attr:${K}`]?: DbTabsAttributes[K] } & { [K in keyof DbTabs & keyof DbTabsAttributes as `prop:${K}`]?: DbTabs[K] };
|
|
2416
2686
|
"db-tag": Omit<DbTag, keyof DbTagAttributes> & { [K in keyof DbTag & keyof DbTagAttributes]?: DbTag[K] } & { [K in keyof DbTag & keyof DbTagAttributes as `attr:${K}`]?: DbTagAttributes[K] } & { [K in keyof DbTag & keyof DbTagAttributes as `prop:${K}`]?: DbTag[K] };
|
|
2417
2687
|
"db-textarea": Omit<DbTextarea, keyof DbTextareaAttributes> & { [K in keyof DbTextarea & keyof DbTextareaAttributes]?: DbTextarea[K] } & { [K in keyof DbTextarea & keyof DbTextareaAttributes as `attr:${K}`]?: DbTextareaAttributes[K] } & { [K in keyof DbTextarea & keyof DbTextareaAttributes as `prop:${K}`]?: DbTextarea[K] };
|
|
@@ -2455,6 +2725,14 @@ declare module "@stencil/core" {
|
|
|
2455
2725
|
"db-tab-item": LocalJSX.IntrinsicElements["db-tab-item"] & JSXBase.HTMLAttributes<HTMLDbTabItemElement>;
|
|
2456
2726
|
"db-tab-list": LocalJSX.IntrinsicElements["db-tab-list"] & JSXBase.HTMLAttributes<HTMLDbTabListElement>;
|
|
2457
2727
|
"db-tab-panel": LocalJSX.IntrinsicElements["db-tab-panel"] & JSXBase.HTMLAttributes<HTMLDbTabPanelElement>;
|
|
2728
|
+
"db-table": LocalJSX.IntrinsicElements["db-table"] & JSXBase.HTMLAttributes<HTMLDbTableElement>;
|
|
2729
|
+
"db-table-body": LocalJSX.IntrinsicElements["db-table-body"] & JSXBase.HTMLAttributes<HTMLDbTableBodyElement>;
|
|
2730
|
+
"db-table-caption": LocalJSX.IntrinsicElements["db-table-caption"] & JSXBase.HTMLAttributes<HTMLDbTableCaptionElement>;
|
|
2731
|
+
"db-table-data-cell": LocalJSX.IntrinsicElements["db-table-data-cell"] & JSXBase.HTMLAttributes<HTMLDbTableDataCellElement>;
|
|
2732
|
+
"db-table-footer": LocalJSX.IntrinsicElements["db-table-footer"] & JSXBase.HTMLAttributes<HTMLDbTableFooterElement>;
|
|
2733
|
+
"db-table-head": LocalJSX.IntrinsicElements["db-table-head"] & JSXBase.HTMLAttributes<HTMLDbTableHeadElement>;
|
|
2734
|
+
"db-table-header-cell": LocalJSX.IntrinsicElements["db-table-header-cell"] & JSXBase.HTMLAttributes<HTMLDbTableHeaderCellElement>;
|
|
2735
|
+
"db-table-row": LocalJSX.IntrinsicElements["db-table-row"] & JSXBase.HTMLAttributes<HTMLDbTableRowElement>;
|
|
2458
2736
|
"db-tabs": LocalJSX.IntrinsicElements["db-tabs"] & JSXBase.HTMLAttributes<HTMLDbTabsElement>;
|
|
2459
2737
|
"db-tag": LocalJSX.IntrinsicElements["db-tag"] & JSXBase.HTMLAttributes<HTMLDbTagElement>;
|
|
2460
2738
|
"db-textarea": LocalJSX.IntrinsicElements["db-textarea"] & JSXBase.HTMLAttributes<HTMLDbTextareaElement>;
|
package/dist/types/index.d.ts
CHANGED
|
@@ -64,6 +64,22 @@ export * from './components/tab-list';
|
|
|
64
64
|
export * from './components/tab-list/model';
|
|
65
65
|
export * from './components/tab-panel';
|
|
66
66
|
export * from './components/tab-panel/model';
|
|
67
|
+
export * from './components/table';
|
|
68
|
+
export * from './components/table-body';
|
|
69
|
+
export * from './components/table-body/model';
|
|
70
|
+
export * from './components/table-caption';
|
|
71
|
+
export * from './components/table-caption/model';
|
|
72
|
+
export * from './components/table-data-cell';
|
|
73
|
+
export * from './components/table-data-cell/model';
|
|
74
|
+
export * from './components/table-footer';
|
|
75
|
+
export * from './components/table-footer/model';
|
|
76
|
+
export * from './components/table-head';
|
|
77
|
+
export * from './components/table-head/model';
|
|
78
|
+
export * from './components/table-header-cell';
|
|
79
|
+
export * from './components/table-header-cell/model';
|
|
80
|
+
export * from './components/table-row';
|
|
81
|
+
export * from './components/table-row/model';
|
|
82
|
+
export * from './components/table/model';
|
|
67
83
|
export * from './components/tabs';
|
|
68
84
|
export * from './components/tabs/model';
|
|
69
85
|
export * from './components/tag';
|
|
@@ -1,12 +1,24 @@
|
|
|
1
|
+
/** Base for all Figma prop definitions. */
|
|
2
|
+
export type FigmaBaseProp = {
|
|
3
|
+
/** The prop type discriminator. */
|
|
4
|
+
type: string;
|
|
5
|
+
/**
|
|
6
|
+
* Optional layer name substring to resolve this prop from a nested subcomponent instance
|
|
7
|
+
* instead of the root instance (e.g. 'Custom Select Form Field').
|
|
8
|
+
* When set, the plugin searches _ccLayers for an instance whose name includes this string
|
|
9
|
+
* and reads the property from that instance.
|
|
10
|
+
*/
|
|
11
|
+
layer?: string;
|
|
12
|
+
};
|
|
1
13
|
/** A nested Figma instance swap prop (e.g. icon components). */
|
|
2
|
-
export type FigmaInstanceProp = {
|
|
14
|
+
export type FigmaInstanceProp = FigmaBaseProp & {
|
|
3
15
|
/** Use 'instance' for generic instance swaps, 'iconSwap' for icon instances that resolve to a string name. */
|
|
4
16
|
type: 'instance' | 'iconSwap';
|
|
5
17
|
/** The Figma property key of the instance swap (e.g. '🔄 Icon Small'). */
|
|
6
18
|
key: string;
|
|
7
19
|
};
|
|
8
20
|
/** An enum prop mapping Figma variant values to code values. */
|
|
9
|
-
export type FigmaEnumProp = {
|
|
21
|
+
export type FigmaEnumProp = FigmaBaseProp & {
|
|
10
22
|
type: 'enum';
|
|
11
23
|
/** The Figma property key (e.g. 'Size', '💻 Variant'). */
|
|
12
24
|
key: string;
|
|
@@ -20,7 +32,7 @@ export type FigmaEnumProp = {
|
|
|
20
32
|
guardKey?: string;
|
|
21
33
|
};
|
|
22
34
|
/** A simple scalar prop. */
|
|
23
|
-
export type FigmaSimpleProp = {
|
|
35
|
+
export type FigmaSimpleProp = FigmaBaseProp & {
|
|
24
36
|
/**
|
|
25
37
|
* - 'string': maps to instance.getString()
|
|
26
38
|
* - 'boolean': maps to instance.getBoolean()
|
|
@@ -30,14 +42,12 @@ export type FigmaSimpleProp = {
|
|
|
30
42
|
type: 'string' | 'boolean' | 'children' | 'textContent';
|
|
31
43
|
/** The Figma property key (e.g. '✏️ Text', '✏️ Label'). */
|
|
32
44
|
key: string;
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
/** The Figma property key on the nested instance (e.g. '✏️ Text'). */
|
|
40
|
-
key: string;
|
|
45
|
+
/**
|
|
46
|
+
* Optional Figma boolean property keys that guard this prop.
|
|
47
|
+
* When set, the prop value is only emitted if at least one of the guard keys is true.
|
|
48
|
+
* Useful for conditionally showing labels, timestamps, etc.
|
|
49
|
+
*/
|
|
50
|
+
guardKeys?: string[];
|
|
41
51
|
};
|
|
42
52
|
/**
|
|
43
53
|
* Reads a text property from the first code-connected child instance.
|
|
@@ -46,7 +56,7 @@ export type FigmaNestedTextProp = {
|
|
|
46
56
|
* .filter((node) => !!node.properties[key])[0]
|
|
47
57
|
* .getString(key)
|
|
48
58
|
*/
|
|
49
|
-
export type FigmaConnectedTextProp = {
|
|
59
|
+
export type FigmaConnectedTextProp = FigmaBaseProp & {
|
|
50
60
|
type: 'connectedText';
|
|
51
61
|
/** The Figma property key to read from each connected instance (e.g. '✏️ Text'). */
|
|
52
62
|
key: string;
|
|
@@ -60,7 +70,7 @@ export type FigmaConnectedTextProp = {
|
|
|
60
70
|
* @example
|
|
61
71
|
* validationMessage: { type: 'validationMessage', key: '✏️ Text', conditionProp: 'validation', map: { 'invalid': 'invalidMessage', 'valid': 'validMessage', default: 'message' } }
|
|
62
72
|
*/
|
|
63
|
-
export type FigmaValidationMessageProp = {
|
|
73
|
+
export type FigmaValidationMessageProp = FigmaBaseProp & {
|
|
64
74
|
type: 'validationMessage';
|
|
65
75
|
/** The Figma property key to read from the connected instance (e.g. '✏️ Text'). */
|
|
66
76
|
key: string;
|
|
@@ -72,10 +82,16 @@ export type FigmaValidationMessageProp = {
|
|
|
72
82
|
/**
|
|
73
83
|
* Renders all direct code-connected child instances as children.
|
|
74
84
|
* Generates: instance.findConnectedInstances((node) => node.hasCodeConnect())
|
|
75
|
-
* .
|
|
85
|
+
* .flatMap((child) => child.executeTemplate().example)
|
|
86
|
+
*
|
|
87
|
+
* When `filter` is provided, only instances whose **name** includes the filter string
|
|
88
|
+
* are included. Note: this differs from `nestedConnectedInstances` where filter matches
|
|
89
|
+
* against nestedImports.
|
|
76
90
|
*/
|
|
77
|
-
export type FigmaConnectedInstancesProp = {
|
|
91
|
+
export type FigmaConnectedInstancesProp = FigmaBaseProp & {
|
|
78
92
|
type: 'connectedInstances';
|
|
93
|
+
/** Instance name substring to filter by (e.g. 'Navigation'). Only instances whose node name includes this string are included. When omitted, all connected instances are included. */
|
|
94
|
+
filter?: string;
|
|
79
95
|
};
|
|
80
96
|
/**
|
|
81
97
|
* Renders code-connected child instances recursively, filtered by a nestedImports string.
|
|
@@ -90,16 +106,45 @@ export type FigmaConnectedInstancesProp = {
|
|
|
90
106
|
* .some((section) => section.nestedImports?.some((i) => i.includes('DBAccordionItem'))))
|
|
91
107
|
* .map((child) => child.executeTemplate().example)
|
|
92
108
|
*/
|
|
93
|
-
export type FigmaNestedConnectedInstancesProp = {
|
|
109
|
+
export type FigmaNestedConnectedInstancesProp = FigmaBaseProp & {
|
|
94
110
|
type: 'nestedConnectedInstances';
|
|
95
111
|
/** Import string to filter by (e.g. 'DBAccordionItem'). Only instances whose template nestedImports contain this string are included. When omitted, all connected instances are included. */
|
|
96
112
|
filter?: string;
|
|
97
113
|
};
|
|
114
|
+
/**
|
|
115
|
+
* Maps multiple boolean Figma properties to a single enum code value.
|
|
116
|
+
* The first property whose value is `true` wins; if none match, the prop is omitted.
|
|
117
|
+
*
|
|
118
|
+
* @example
|
|
119
|
+
* linkVariant: { type: 'booleanToEnum', map: [{ key: '(Def) Link Variant: Block', value: 'block' }, { key: '↳ OR Link Variant: Inline', value: 'inline' }] }
|
|
120
|
+
*/
|
|
121
|
+
export type FigmaBooleanToEnumProp = FigmaBaseProp & {
|
|
122
|
+
type: 'booleanToEnum';
|
|
123
|
+
/** Ordered list of Figma boolean keys and the code value to emit when that key is true. */
|
|
124
|
+
map: Array<{
|
|
125
|
+
key: string;
|
|
126
|
+
value: string;
|
|
127
|
+
}>;
|
|
128
|
+
};
|
|
129
|
+
/**
|
|
130
|
+
* Finds all nested instances matching a filter and maps their properties to an array.
|
|
131
|
+
* Each matched instance produces one object in the array, with keys defined by `props`.
|
|
132
|
+
*
|
|
133
|
+
* @example
|
|
134
|
+
* options: { type: 'nestedInstancesToArray', filter: 'Custom Select List Item', props: { value: { type: 'string', key: '✏️ Value' }, label: { type: 'textContent', key: '✏️ Label' } } }
|
|
135
|
+
*/
|
|
136
|
+
export type FigmaNestedInstancesToArrayProp = FigmaBaseProp & {
|
|
137
|
+
type: 'nestedInstancesToArray';
|
|
138
|
+
/** Instance name substring to filter by (e.g. 'Custom Select List Item'). */
|
|
139
|
+
filter: string;
|
|
140
|
+
/** Map of output property names → Figma prop definitions to extract from each matched instance. */
|
|
141
|
+
props: Record<string, FigmaProp>;
|
|
142
|
+
};
|
|
98
143
|
/**
|
|
99
144
|
* Wraps an iconSwap prop so it is only rendered when a boolean Figma property is enabled.
|
|
100
145
|
* Generates: let icon = ''; if (getPropertyValue(guardKey) === true || getPropertyValue(guardKey) === 'True') { icon = `\n\t\ticon="${iconLeading}"` }
|
|
101
146
|
*/
|
|
102
|
-
export type FigmaConditionalProp = {
|
|
147
|
+
export type FigmaConditionalProp = FigmaBaseProp & {
|
|
103
148
|
type: 'conditionalProp';
|
|
104
149
|
/** The Figma property key of the icon instance swap. */
|
|
105
150
|
key: string;
|
|
@@ -108,10 +153,17 @@ export type FigmaConditionalProp = {
|
|
|
108
153
|
/** The attribute name to render (e.g. 'icon'). */
|
|
109
154
|
attrName: string;
|
|
110
155
|
};
|
|
111
|
-
export type FigmaProp = FigmaEnumProp |
|
|
156
|
+
export type FigmaProp = FigmaEnumProp | FigmaBooleanToEnumProp | FigmaInstanceProp | FigmaConnectedTextProp | FigmaValidationMessageProp | FigmaConditionalProp | FigmaConnectedInstancesProp | FigmaNestedConnectedInstancesProp | FigmaNestedInstancesToArrayProp | FigmaSimpleProp;
|
|
112
157
|
export type FigmaCodeConnect = {
|
|
113
158
|
/** Figma node URLs this component connects to. Use 'FIGMA_FILE' as placeholder for the file key. */
|
|
114
159
|
urls: string[];
|
|
115
160
|
/** Map of prop name → Figma prop definition. */
|
|
116
161
|
props: Record<string, FigmaProp>;
|
|
162
|
+
/**
|
|
163
|
+
* Optional additional layer name substrings to include in the _ccLayers filter.
|
|
164
|
+
* Each entry adds an `|| n.name.includes('...')` condition to the findLayers predicate.
|
|
165
|
+
* Use when Code Connect properties live inside named subcomponent instances
|
|
166
|
+
* (e.g. 'Custom Select Form Field', 'Custom Select Dropdown').
|
|
167
|
+
*/
|
|
168
|
+
ccLayerNames?: string[];
|
|
117
169
|
};
|
|
@@ -460,11 +460,11 @@ export type CloseEventProps<T> = {
|
|
|
460
460
|
export type CloseEventState<T> = {
|
|
461
461
|
handleClose: (event?: T | void, forceClose?: boolean) => void;
|
|
462
462
|
};
|
|
463
|
-
export declare const AlignmentList: readonly ["start", "center"];
|
|
463
|
+
export declare const AlignmentList: readonly ["start", "center", "end"];
|
|
464
464
|
export type AlignmentType = (typeof AlignmentList)[number];
|
|
465
465
|
export type AlignmentProps = {
|
|
466
466
|
/**
|
|
467
|
-
* Define the content alignment
|
|
467
|
+
* Define the content alignment
|
|
468
468
|
*/
|
|
469
469
|
alignment?: AlignmentType | string;
|
|
470
470
|
};
|
|
@@ -554,3 +554,45 @@ export interface PatternhubProps {
|
|
|
554
554
|
*/
|
|
555
555
|
isPatternhub?: boolean;
|
|
556
556
|
}
|
|
557
|
+
export type DBTableCellProps = {
|
|
558
|
+
/**
|
|
559
|
+
* The **`colSpan`** read-only property of the HTMLTableCellElement interface represents the number of columns this cell must span; this lets the cell occupy space across multiple columns of the table.
|
|
560
|
+
*
|
|
561
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTableCellElement/colSpan)
|
|
562
|
+
*/
|
|
563
|
+
colSpan?: number | string;
|
|
564
|
+
/**
|
|
565
|
+
* Lowercase HTML attribute alternative to `colSpan`. Use this in template languages that require lowercase attributes (e.g. Angular, Vue).
|
|
566
|
+
* If both `colSpan` and `colspan` are provided, `colSpan` takes precedence.
|
|
567
|
+
*
|
|
568
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTableCellElement/colSpan)
|
|
569
|
+
*/
|
|
570
|
+
colspan?: number | string;
|
|
571
|
+
/**
|
|
572
|
+
* The **`headers`** property of the HTMLTableCellElement interface contains a list of IDs of th elements that are _headers_ for this specific cell.
|
|
573
|
+
*
|
|
574
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTableCellElement/headers)
|
|
575
|
+
*/
|
|
576
|
+
headers?: string;
|
|
577
|
+
/**
|
|
578
|
+
* The **`rowSpan`** read-only property of the HTMLTableCellElement interface represents the number of rows this cell must span; this lets the cell occupy space across multiple rows of the table.
|
|
579
|
+
*
|
|
580
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTableCellElement/rowSpan)
|
|
581
|
+
*/
|
|
582
|
+
rowSpan?: number | string;
|
|
583
|
+
/**
|
|
584
|
+
* Lowercase HTML attribute alternative to `rowSpan`. Use this in template languages that require lowercase attributes (e.g. Angular, Vue).
|
|
585
|
+
* If both `rowSpan` and `rowspan` are provided, `rowSpan` takes precedence.
|
|
586
|
+
*
|
|
587
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTableCellElement/rowSpan)
|
|
588
|
+
*/
|
|
589
|
+
rowspan?: number | string;
|
|
590
|
+
/**
|
|
591
|
+
* Set the horizontal alignment of the cell content.
|
|
592
|
+
*/
|
|
593
|
+
horizontalAlignment?: AlignmentType;
|
|
594
|
+
/**
|
|
595
|
+
* Set the vertical alignment of the cell content.
|
|
596
|
+
*/
|
|
597
|
+
verticalAlignment?: AlignmentType;
|
|
598
|
+
};
|
|
@@ -22,11 +22,16 @@ export declare const hasVoiceOver: () => boolean;
|
|
|
22
22
|
export declare const isIOSSafari: () => boolean;
|
|
23
23
|
export declare const delay: (fn: () => void, ms: number) => Promise<unknown>;
|
|
24
24
|
/**
|
|
25
|
-
*
|
|
26
|
-
*
|
|
27
|
-
*
|
|
25
|
+
* Converts boolean-like inputs to "true" or "false" strings.
|
|
26
|
+
* Handles HTML-style boolean attributes where an empty string or the
|
|
27
|
+
* attribute's own name as value (e.g. noText="noText") should be treated as true.
|
|
28
|
+
* Some frameworks like Stencil do not add "true" as value for a prop
|
|
29
|
+
* if it is used in a framework like Angular e.g.: [disabled]="myDisabledProp"
|
|
30
|
+
* @param originBool Boolean or string value to convert
|
|
31
|
+
* @param propertyName The prop/attribute name — when originBool is a string equal
|
|
32
|
+
* to this name (case-insensitive), it is treated as true
|
|
28
33
|
*/
|
|
29
|
-
export declare const getBooleanAsString: (originBool?: boolean | string) => any;
|
|
34
|
+
export declare const getBooleanAsString: (originBool?: boolean | string, propertyName?: string) => any;
|
|
30
35
|
export declare const getBoolean: (originBool?: boolean | string, propertyName?: string) => boolean | undefined;
|
|
31
36
|
export declare const getNumber: (originNumber?: number | string, alternativeNumber?: number | string) => number | undefined;
|
|
32
37
|
/**
|