@db-ux/wc-core-components 2.4.4 → 3.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/db-accordion-item.cjs.entry.js +1 -1
- package/dist/cjs/db-accordion.cjs.entry.js +1 -1
- package/dist/cjs/db-badge.cjs.entry.js +1 -1
- package/dist/cjs/db-brand.cjs.entry.js +3 -3
- package/dist/cjs/db-brand.cjs.entry.js.map +1 -1
- package/dist/cjs/db-brand.entry.cjs.js.map +1 -1
- package/dist/cjs/db-button.cjs.entry.js +14 -3
- package/dist/cjs/db-button.cjs.entry.js.map +1 -1
- package/dist/cjs/db-button.entry.cjs.js.map +1 -1
- package/dist/cjs/db-card.cjs.entry.js +3 -3
- package/dist/cjs/db-card.cjs.entry.js.map +1 -1
- package/dist/cjs/db-card.entry.cjs.js.map +1 -1
- package/dist/cjs/db-checkbox.cjs.entry.js +1 -1
- package/dist/cjs/db-custom-select-dropdown.db-custom-select-list.db-custom-select-list-item.db-input.db-tag.entry.cjs.js.map +1 -1
- package/dist/cjs/db-custom-select-dropdown_5.cjs.entry.js +10 -32
- package/dist/cjs/db-custom-select-dropdown_5.cjs.entry.js.map +1 -1
- package/dist/cjs/db-custom-select-form-field.cjs.entry.js +1 -1
- package/dist/cjs/db-custom-select.cjs.entry.js +6 -6
- package/dist/cjs/db-custom-select.cjs.entry.js.map +1 -1
- package/dist/cjs/db-custom-select.entry.cjs.js.map +1 -1
- package/dist/cjs/db-divider.cjs.entry.js +1 -1
- package/dist/cjs/db-drawer.cjs.entry.js +1 -1
- package/dist/cjs/db-header.cjs.entry.js +1 -1
- package/dist/cjs/db-icon.cjs.entry.js +1 -1
- package/dist/cjs/db-infotext.cjs.entry.js +3 -3
- package/dist/cjs/db-infotext.cjs.entry.js.map +1 -1
- package/dist/cjs/db-infotext.entry.cjs.js.map +1 -1
- package/dist/cjs/db-link.cjs.entry.js +3 -3
- package/dist/cjs/db-link.cjs.entry.js.map +1 -1
- package/dist/cjs/db-link.entry.cjs.js.map +1 -1
- package/dist/cjs/db-navigation-item.cjs.entry.js +3 -3
- package/dist/cjs/db-navigation-item.cjs.entry.js.map +1 -1
- package/dist/cjs/db-navigation-item.entry.cjs.js.map +1 -1
- package/dist/cjs/db-navigation.cjs.entry.js +3 -3
- package/dist/cjs/db-navigation.cjs.entry.js.map +1 -1
- package/dist/cjs/db-navigation.entry.cjs.js.map +1 -1
- package/dist/cjs/db-notification.cjs.entry.js +3 -3
- package/dist/cjs/db-notification.cjs.entry.js.map +1 -1
- package/dist/cjs/db-notification.entry.cjs.js.map +1 -1
- package/dist/cjs/db-page.cjs.entry.js +1 -1
- package/dist/cjs/db-popover.cjs.entry.js +1 -1
- package/dist/cjs/db-radio.cjs.entry.js +3 -4
- package/dist/cjs/db-radio.cjs.entry.js.map +1 -1
- package/dist/cjs/db-radio.entry.cjs.js.map +1 -1
- package/dist/cjs/db-section.cjs.entry.js +1 -1
- package/dist/cjs/db-select.cjs.entry.js +4 -4
- package/dist/cjs/db-select.cjs.entry.js.map +1 -1
- package/dist/cjs/db-select.entry.cjs.js.map +1 -1
- package/dist/cjs/db-stack.cjs.entry.js +1 -1
- package/dist/cjs/db-switch.cjs.entry.js +3 -3
- package/dist/cjs/db-switch.cjs.entry.js.map +1 -1
- package/dist/cjs/db-switch.entry.cjs.js.map +1 -1
- package/dist/cjs/db-tab-item.db-tab-list.db-tab-panel.entry.cjs.js.map +1 -1
- package/dist/cjs/db-tab-item_3.cjs.entry.js +6 -5
- package/dist/cjs/db-tab-item_3.cjs.entry.js.map +1 -1
- package/dist/cjs/db-tabs.cjs.entry.js +3 -3
- package/dist/cjs/db-tabs.cjs.entry.js.map +1 -1
- package/dist/cjs/db-tabs.entry.cjs.js.map +1 -1
- package/dist/cjs/db-textarea.cjs.entry.js +1 -1
- package/dist/cjs/db-tooltip.cjs.entry.js +1 -1
- package/dist/cjs/db-ux.cjs.js +3 -3
- package/dist/cjs/db-ux.cjs.js.map +1 -1
- package/dist/cjs/{index-DRg3L2am.js → index-9urL1KCD.js} +3 -3
- package/dist/{esm/index-B-IYTj4g.js.map → cjs/index-9urL1KCD.js.map} +1 -1
- package/dist/cjs/index.cjs.js +1 -3
- package/dist/cjs/index.cjs.js.map +1 -1
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/collection/collection-manifest.json +1 -1
- package/dist/collection/components/brand/brand.js +3 -3
- package/dist/collection/components/brand/brand.js.map +1 -1
- package/dist/collection/components/button/button.js +92 -89
- package/dist/collection/components/button/button.js.map +1 -1
- package/dist/collection/components/button/model.js +0 -1
- package/dist/collection/components/button/model.js.map +1 -1
- package/dist/collection/components/card/card.js +2 -2
- package/dist/collection/components/card/card.js.map +1 -1
- package/dist/collection/components/custom-select/custom-select.js +5 -5
- package/dist/collection/components/custom-select/custom-select.js.map +1 -1
- package/dist/collection/components/custom-select-list-item/custom-select-list-item.js +4 -4
- package/dist/collection/components/custom-select-list-item/custom-select-list-item.js.map +1 -1
- package/dist/collection/components/custom-select-list-item/model.js.map +1 -1
- package/dist/collection/components/infotext/infotext.js +3 -3
- package/dist/collection/components/infotext/infotext.js.map +1 -1
- package/dist/collection/components/input/input.js +108 -8
- package/dist/collection/components/input/input.js.map +1 -1
- package/dist/collection/components/input/model.js.map +1 -1
- package/dist/collection/components/link/link.js +24 -74
- package/dist/collection/components/link/link.js.map +1 -1
- package/dist/collection/components/link/model.js +1 -1
- package/dist/collection/components/link/model.js.map +1 -1
- package/dist/collection/components/navigation/model.js.map +1 -1
- package/dist/collection/components/navigation/navigation.js +2 -27
- package/dist/collection/components/navigation/navigation.js.map +1 -1
- package/dist/collection/components/navigation-item/model.js.map +1 -1
- package/dist/collection/components/navigation-item/navigation-item.js +3 -3
- package/dist/collection/components/navigation-item/navigation-item.js.map +1 -1
- package/dist/collection/components/notification/notification.js +3 -3
- package/dist/collection/components/notification/notification.js.map +1 -1
- package/dist/collection/components/radio/radio.js +2 -53
- package/dist/collection/components/radio/radio.js.map +1 -1
- package/dist/collection/components/select/select.js +4 -4
- package/dist/collection/components/select/select.js.map +1 -1
- package/dist/collection/components/switch/model.js.map +1 -1
- package/dist/collection/components/switch/switch.js +21 -46
- package/dist/collection/components/switch/switch.js.map +1 -1
- package/dist/collection/components/tab-item/model.js.map +1 -1
- package/dist/collection/components/tab-item/tab-item.js +68 -17
- package/dist/collection/components/tab-item/tab-item.js.map +1 -1
- package/dist/collection/components/tab-panel/model.js.map +1 -1
- package/dist/collection/components/tab-panel/tab-panel.js +2 -27
- package/dist/collection/components/tab-panel/tab-panel.js.map +1 -1
- package/dist/collection/components/tabs/tabs.js +2 -2
- package/dist/collection/components/tabs/tabs.js.map +1 -1
- package/dist/collection/components/tag/model.js.map +1 -1
- package/dist/collection/components/tag/tag.js +3 -64
- package/dist/collection/components/tag/tag.js.map +1 -1
- package/dist/collection/shared/model.js +0 -1
- package/dist/collection/shared/model.js.map +1 -1
- package/dist/custom-elements.json +520 -549
- package/dist/db-ux/db-brand.entry.esm.js.map +1 -1
- package/dist/db-ux/db-button.entry.esm.js.map +1 -1
- package/dist/db-ux/db-card.entry.esm.js.map +1 -1
- package/dist/db-ux/db-custom-select-dropdown.db-custom-select-list.db-custom-select-list-item.db-input.db-tag.entry.esm.js.map +1 -1
- package/dist/db-ux/db-custom-select.entry.esm.js.map +1 -1
- package/dist/db-ux/db-infotext.entry.esm.js.map +1 -1
- package/dist/db-ux/db-link.entry.esm.js.map +1 -1
- package/dist/db-ux/db-navigation-item.entry.esm.js.map +1 -1
- package/dist/db-ux/db-navigation.entry.esm.js.map +1 -1
- package/dist/db-ux/db-notification.entry.esm.js.map +1 -1
- package/dist/db-ux/db-radio.entry.esm.js.map +1 -1
- package/dist/db-ux/db-select.entry.esm.js.map +1 -1
- package/dist/db-ux/db-switch.entry.esm.js.map +1 -1
- package/dist/db-ux/db-tab-item.db-tab-list.db-tab-panel.entry.esm.js.map +1 -1
- package/dist/db-ux/db-tabs.entry.esm.js.map +1 -1
- package/dist/db-ux/db-ux.esm.js +1 -1
- package/dist/db-ux/db-ux.esm.js.map +1 -1
- package/dist/db-ux/index.esm.js +1 -1
- package/dist/db-ux/index.esm.js.map +1 -1
- package/dist/db-ux/{p-26531856.entry.js → p-02fcd4a8.entry.js} +2 -2
- package/dist/db-ux/{p-d4cc20df.entry.js → p-07594af1.entry.js} +2 -2
- package/dist/db-ux/{p-4da7f4bb.entry.js → p-16f1fa7c.entry.js} +2 -2
- package/dist/db-ux/p-209cf793.entry.js +2 -0
- package/dist/db-ux/p-209cf793.entry.js.map +1 -0
- package/dist/db-ux/p-30023526.entry.js +2 -0
- package/dist/db-ux/p-30023526.entry.js.map +1 -0
- package/dist/db-ux/{p-6243b16c.entry.js → p-44142b26.entry.js} +2 -2
- package/dist/db-ux/p-51de401e.entry.js +2 -0
- package/dist/db-ux/p-51de401e.entry.js.map +1 -0
- package/dist/db-ux/{p-723c465c.entry.js → p-58007675.entry.js} +2 -2
- package/dist/db-ux/p-58007675.entry.js.map +1 -0
- package/dist/db-ux/p-5b45664d.entry.js +2 -0
- package/dist/db-ux/p-5b45664d.entry.js.map +1 -0
- package/dist/db-ux/p-5c6da0f3.entry.js +2 -0
- package/dist/db-ux/p-5c6da0f3.entry.js.map +1 -0
- package/dist/db-ux/{p-52fc60a6.entry.js → p-6c4115c8.entry.js} +2 -2
- package/dist/db-ux/p-6c4115c8.entry.js.map +1 -0
- package/dist/db-ux/{p-291a3bb4.entry.js → p-7d77b648.entry.js} +2 -2
- package/dist/db-ux/p-86df8645.entry.js +2 -0
- package/dist/db-ux/p-86df8645.entry.js.map +1 -0
- package/dist/db-ux/{p-109b88a5.entry.js → p-914ca50e.entry.js} +2 -2
- package/dist/db-ux/p-93a9f369.entry.js +2 -0
- package/dist/db-ux/p-93a9f369.entry.js.map +1 -0
- package/dist/db-ux/{p-9f122b1e.entry.js → p-971a16c3.entry.js} +2 -2
- package/dist/db-ux/{p-e5984435.entry.js → p-9d0996e9.entry.js} +2 -2
- package/dist/db-ux/{p-B-IYTj4g.js → p-CNzNv7KB.js} +1 -1
- package/dist/db-ux/{p-B-IYTj4g.js.map → p-CNzNv7KB.js.map} +1 -1
- package/dist/db-ux/p-a2b55626.entry.js +2 -0
- package/dist/db-ux/p-a2b55626.entry.js.map +1 -0
- package/dist/db-ux/{p-1d4ee600.entry.js → p-b7f2a0b9.entry.js} +2 -2
- package/dist/db-ux/{p-c6ac54c3.entry.js → p-bd7d1646.entry.js} +2 -2
- package/dist/db-ux/p-c5ff3d3f.entry.js +2 -0
- package/dist/db-ux/p-c5ff3d3f.entry.js.map +1 -0
- package/dist/db-ux/{p-42c60f21.entry.js → p-c8bdd952.entry.js} +2 -2
- package/dist/db-ux/{p-f6c1d4b7.entry.js → p-c8cdde8c.entry.js} +2 -2
- package/dist/db-ux/p-ce895e0c.entry.js +2 -0
- package/dist/db-ux/p-ce895e0c.entry.js.map +1 -0
- package/dist/db-ux/p-d6aeabf0.entry.js +2 -0
- package/dist/db-ux/p-d6aeabf0.entry.js.map +1 -0
- package/dist/db-ux/{p-2fade21b.entry.js → p-d7168627.entry.js} +2 -2
- package/dist/db-ux/{p-6d2da8ea.entry.js → p-e6e7719e.entry.js} +2 -2
- package/dist/db-ux/{p-32c21508.entry.js → p-ec957247.entry.js} +2 -2
- package/dist/db-ux/p-f03f7076.entry.js +2 -0
- package/dist/db-ux/p-f03f7076.entry.js.map +1 -0
- package/dist/db-ux/{p-a8d63224.entry.js → p-fedcbc94.entry.js} +2 -2
- package/dist/db-ux/{p-a8d63224.entry.js.map → p-fedcbc94.entry.js.map} +1 -1
- package/dist/esm/db-accordion-item.entry.js +1 -1
- package/dist/esm/db-accordion.entry.js +1 -1
- package/dist/esm/db-badge.entry.js +1 -1
- package/dist/esm/db-brand.entry.js +4 -4
- package/dist/esm/db-brand.entry.js.map +1 -1
- package/dist/esm/db-button.entry.js +15 -4
- package/dist/esm/db-button.entry.js.map +1 -1
- package/dist/esm/db-card.entry.js +3 -3
- package/dist/esm/db-card.entry.js.map +1 -1
- package/dist/esm/db-checkbox.entry.js +1 -1
- package/dist/esm/db-custom-select-dropdown.db-custom-select-list.db-custom-select-list-item.db-input.db-tag.entry.js.map +1 -1
- package/dist/esm/db-custom-select-dropdown_5.entry.js +11 -33
- package/dist/esm/db-custom-select-dropdown_5.entry.js.map +1 -1
- package/dist/esm/db-custom-select-form-field.entry.js +1 -1
- package/dist/esm/db-custom-select.entry.js +6 -6
- package/dist/esm/db-custom-select.entry.js.map +1 -1
- package/dist/esm/db-divider.entry.js +1 -1
- package/dist/esm/db-drawer.entry.js +1 -1
- package/dist/esm/db-header.entry.js +1 -1
- package/dist/esm/db-icon.entry.js +1 -1
- package/dist/esm/db-infotext.entry.js +4 -4
- package/dist/esm/db-infotext.entry.js.map +1 -1
- package/dist/esm/db-link.entry.js +4 -4
- package/dist/esm/db-link.entry.js.map +1 -1
- package/dist/esm/db-navigation-item.entry.js +4 -4
- package/dist/esm/db-navigation-item.entry.js.map +1 -1
- package/dist/esm/db-navigation.entry.js +3 -3
- package/dist/esm/db-navigation.entry.js.map +1 -1
- package/dist/esm/db-notification.entry.js +4 -4
- package/dist/esm/db-notification.entry.js.map +1 -1
- package/dist/esm/db-page.entry.js +1 -1
- package/dist/esm/db-popover.entry.js +1 -1
- package/dist/esm/db-radio.entry.js +3 -4
- package/dist/esm/db-radio.entry.js.map +1 -1
- package/dist/esm/db-section.entry.js +1 -1
- package/dist/esm/db-select.entry.js +5 -5
- package/dist/esm/db-select.entry.js.map +1 -1
- package/dist/esm/db-stack.entry.js +1 -1
- package/dist/esm/db-switch.entry.js +3 -3
- package/dist/esm/db-switch.entry.js.map +1 -1
- package/dist/esm/db-tab-item.db-tab-list.db-tab-panel.entry.js.map +1 -1
- package/dist/esm/db-tab-item_3.entry.js +7 -6
- package/dist/esm/db-tab-item_3.entry.js.map +1 -1
- package/dist/esm/db-tabs.entry.js +3 -3
- package/dist/esm/db-tabs.entry.js.map +1 -1
- package/dist/esm/db-textarea.entry.js +1 -1
- package/dist/esm/db-tooltip.entry.js +1 -1
- package/dist/esm/db-ux.js +4 -4
- package/dist/esm/db-ux.js.map +1 -1
- package/dist/esm/{index-B-IYTj4g.js → index-CNzNv7KB.js} +3 -3
- package/dist/{cjs/index-DRg3L2am.js.map → esm/index-CNzNv7KB.js.map} +1 -1
- package/dist/esm/index.js +2 -3
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/loader.js +3 -3
- package/dist/types/components/button/button.d.ts +8 -6
- package/dist/types/components/button/model.d.ts +6 -22
- package/dist/types/components/custom-select-list-item/custom-select-list-item.d.ts +1 -1
- package/dist/types/components/custom-select-list-item/model.d.ts +1 -1
- package/dist/types/components/input/input.d.ts +5 -1
- package/dist/types/components/input/model.d.ts +6 -2
- package/dist/types/components/link/link.d.ts +1 -3
- package/dist/types/components/link/model.d.ts +3 -3
- package/dist/types/components/navigation/model.d.ts +2 -2
- package/dist/types/components/navigation/navigation.d.ts +0 -1
- package/dist/types/components/navigation-item/model.d.ts +2 -6
- package/dist/types/components/radio/radio.d.ts +0 -2
- package/dist/types/components/switch/model.d.ts +2 -2
- package/dist/types/components/switch/switch.d.ts +2 -3
- package/dist/types/components/tab-item/model.d.ts +2 -2
- package/dist/types/components/tab-item/tab-item.d.ts +4 -2
- package/dist/types/components/tab-panel/model.d.ts +2 -2
- package/dist/types/components/tab-panel/tab-panel.d.ts +0 -1
- package/dist/types/components/tag/model.d.ts +2 -6
- package/dist/types/components/tag/tag.d.ts +0 -4
- package/dist/types/components.d.ts +48 -38
- package/dist/types/shared/model.d.ts +28 -27
- package/dist/vscode.html-custom-data.json +81 -84
- package/dist/web-types.json +158 -169
- package/package.json +4 -4
- package/dist/db-ux/p-3320cac1.entry.js +0 -2
- package/dist/db-ux/p-3320cac1.entry.js.map +0 -1
- package/dist/db-ux/p-40f5e6e7.entry.js +0 -2
- package/dist/db-ux/p-40f5e6e7.entry.js.map +0 -1
- package/dist/db-ux/p-4296343b.entry.js +0 -2
- package/dist/db-ux/p-4296343b.entry.js.map +0 -1
- package/dist/db-ux/p-52fc60a6.entry.js.map +0 -1
- package/dist/db-ux/p-60b8eb25.entry.js +0 -2
- package/dist/db-ux/p-60b8eb25.entry.js.map +0 -1
- package/dist/db-ux/p-723c465c.entry.js.map +0 -1
- package/dist/db-ux/p-738954c8.entry.js +0 -2
- package/dist/db-ux/p-738954c8.entry.js.map +0 -1
- package/dist/db-ux/p-766ce40b.entry.js +0 -2
- package/dist/db-ux/p-766ce40b.entry.js.map +0 -1
- package/dist/db-ux/p-8643bd7b.entry.js +0 -2
- package/dist/db-ux/p-8643bd7b.entry.js.map +0 -1
- package/dist/db-ux/p-9da8c824.entry.js +0 -2
- package/dist/db-ux/p-9da8c824.entry.js.map +0 -1
- package/dist/db-ux/p-ac31c402.entry.js +0 -2
- package/dist/db-ux/p-ac31c402.entry.js.map +0 -1
- package/dist/db-ux/p-d1835c57.entry.js +0 -2
- package/dist/db-ux/p-d1835c57.entry.js.map +0 -1
- package/dist/db-ux/p-e9301996.entry.js +0 -2
- package/dist/db-ux/p-e9301996.entry.js.map +0 -1
- package/dist/db-ux/p-f8eec3af.entry.js +0 -2
- package/dist/db-ux/p-f8eec3af.entry.js.map +0 -1
- /package/dist/db-ux/{p-26531856.entry.js.map → p-02fcd4a8.entry.js.map} +0 -0
- /package/dist/db-ux/{p-d4cc20df.entry.js.map → p-07594af1.entry.js.map} +0 -0
- /package/dist/db-ux/{p-4da7f4bb.entry.js.map → p-16f1fa7c.entry.js.map} +0 -0
- /package/dist/db-ux/{p-6243b16c.entry.js.map → p-44142b26.entry.js.map} +0 -0
- /package/dist/db-ux/{p-291a3bb4.entry.js.map → p-7d77b648.entry.js.map} +0 -0
- /package/dist/db-ux/{p-109b88a5.entry.js.map → p-914ca50e.entry.js.map} +0 -0
- /package/dist/db-ux/{p-9f122b1e.entry.js.map → p-971a16c3.entry.js.map} +0 -0
- /package/dist/db-ux/{p-e5984435.entry.js.map → p-9d0996e9.entry.js.map} +0 -0
- /package/dist/db-ux/{p-1d4ee600.entry.js.map → p-b7f2a0b9.entry.js.map} +0 -0
- /package/dist/db-ux/{p-c6ac54c3.entry.js.map → p-bd7d1646.entry.js.map} +0 -0
- /package/dist/db-ux/{p-42c60f21.entry.js.map → p-c8bdd952.entry.js.map} +0 -0
- /package/dist/db-ux/{p-f6c1d4b7.entry.js.map → p-c8cdde8c.entry.js.map} +0 -0
- /package/dist/db-ux/{p-2fade21b.entry.js.map → p-d7168627.entry.js.map} +0 -0
- /package/dist/db-ux/{p-6d2da8ea.entry.js.map → p-e6e7719e.entry.js.map} +0 -0
- /package/dist/db-ux/{p-32c21508.entry.js.map → p-ec957247.entry.js.map} +0 -0
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ClickEvent, ContentSlotProps, EmphasisProps, GlobalProps, GlobalState, IconProps,
|
|
1
|
+
import { ClickEvent, ContentSlotProps, EmphasisProps, GlobalProps, GlobalState, IconProps, OverflowProps, SemanticProps, ShowIconProps } from '../../shared/model';
|
|
2
2
|
export declare const TagBehaviorList: readonly ["static", "removable"];
|
|
3
3
|
export type TagBehaviorType = (typeof TagBehaviorList)[number];
|
|
4
4
|
export type DBTagEventsProps = {
|
|
@@ -18,10 +18,6 @@ export type DBTagDefaultProps = {
|
|
|
18
18
|
* - removable: add a remove button at the end of the tag
|
|
19
19
|
*/
|
|
20
20
|
behavior?: TagBehaviorType | string;
|
|
21
|
-
/**
|
|
22
|
-
* @deprecated Disable tag
|
|
23
|
-
*/
|
|
24
|
-
disabled?: boolean | string;
|
|
25
21
|
/**
|
|
26
22
|
* Define the text next to the icon specified via the icon Property to get hidden.
|
|
27
23
|
*/
|
|
@@ -48,4 +44,4 @@ export type DBTagDefaultState = {
|
|
|
48
44
|
getRemoveButtonText: () => string;
|
|
49
45
|
handleRemove: (event?: ClickEvent<HTMLButtonElement> | void) => void;
|
|
50
46
|
};
|
|
51
|
-
export type DBTagState = DBTagDefaultState & GlobalState
|
|
47
|
+
export type DBTagState = DBTagDefaultState & GlobalState;
|
|
@@ -7,7 +7,6 @@ import { EventEmitter } from "../../stencil-public-runtime";
|
|
|
7
7
|
*/
|
|
8
8
|
export declare class DBTag {
|
|
9
9
|
private _ref;
|
|
10
|
-
disabled: DBTagProps["disabled"];
|
|
11
10
|
remove: EventEmitter<Parameters<Required<DBTagProps>["remove"]>[number]> | void;
|
|
12
11
|
removeButton: DBTagProps["removeButton"];
|
|
13
12
|
id: DBTagProps["id"];
|
|
@@ -21,7 +20,6 @@ export declare class DBTag {
|
|
|
21
20
|
overflow: DBTagProps["overflow"];
|
|
22
21
|
text: DBTagProps["text"];
|
|
23
22
|
behavior: DBTagProps["behavior"];
|
|
24
|
-
initialized: boolean;
|
|
25
23
|
handleRemove(event?: ClickEvent<HTMLButtonElement> | void): void;
|
|
26
24
|
getRemoveButtonText(): string;
|
|
27
25
|
/**
|
|
@@ -30,8 +28,6 @@ export declare class DBTag {
|
|
|
30
28
|
* @param customElementSelector the custom element like `my-component`
|
|
31
29
|
*/
|
|
32
30
|
private enableAttributePassing;
|
|
33
|
-
watch0Fn(): void;
|
|
34
|
-
watch0(): void;
|
|
35
31
|
componentDidLoad(): void;
|
|
36
32
|
render(): any;
|
|
37
33
|
}
|
|
@@ -115,20 +115,19 @@ export namespace Components {
|
|
|
115
115
|
"text": DBBrandProps["text"];
|
|
116
116
|
}
|
|
117
117
|
interface DbButton {
|
|
118
|
-
"ariaexpanded": DBButtonProps["ariaexpanded"];
|
|
119
|
-
"ariapressed": DBButtonProps["ariapressed"];
|
|
120
118
|
"className": DBButtonProps["className"];
|
|
121
|
-
"describedbyid": DBButtonProps["describedbyid"];
|
|
122
119
|
"disabled": DBButtonProps["disabled"];
|
|
123
120
|
"form": DBButtonProps["form"];
|
|
124
121
|
"icon": DBButtonProps["icon"];
|
|
122
|
+
"iconLeading": DBButtonProps["iconLeading"];
|
|
123
|
+
"iconTrailing": DBButtonProps["iconTrailing"];
|
|
125
124
|
"id": DBButtonProps["id"];
|
|
126
|
-
"label": DBButtonProps["label"];
|
|
127
125
|
"name": DBButtonProps["name"];
|
|
128
126
|
"noText": DBButtonProps["noText"];
|
|
129
127
|
"showIcon": DBButtonProps["showIcon"];
|
|
128
|
+
"showIconLeading": DBButtonProps["showIconLeading"];
|
|
129
|
+
"showIconTrailing": DBButtonProps["showIconTrailing"];
|
|
130
130
|
"size": DBButtonProps["size"];
|
|
131
|
-
"state": DBButtonProps["state"];
|
|
132
131
|
"text": DBButtonProps["text"];
|
|
133
132
|
"type": DBButtonProps["type"];
|
|
134
133
|
"value": DBButtonProps["value"];
|
|
@@ -309,7 +308,8 @@ export namespace Components {
|
|
|
309
308
|
"fieldSizing": DBInputProps["fieldSizing"];
|
|
310
309
|
"form": DBInputProps["form"];
|
|
311
310
|
"icon": DBInputProps["icon"];
|
|
312
|
-
"
|
|
311
|
+
"iconLeading": DBInputProps["iconLeading"];
|
|
312
|
+
"iconTrailing": DBInputProps["iconTrailing"];
|
|
313
313
|
"id": DBInputProps["id"];
|
|
314
314
|
"invalidMessage": DBInputProps["invalidMessage"];
|
|
315
315
|
"label": DBInputProps["label"];
|
|
@@ -321,6 +321,7 @@ export namespace Components {
|
|
|
321
321
|
"min": DBInputProps["min"];
|
|
322
322
|
"minLength": DBInputProps["minLength"];
|
|
323
323
|
"minlength": DBInputProps["minlength"];
|
|
324
|
+
"multiple": DBInputProps["multiple"];
|
|
324
325
|
"name": DBInputProps["name"];
|
|
325
326
|
"pattern": DBInputProps["pattern"];
|
|
326
327
|
"placeholder": DBInputProps["placeholder"];
|
|
@@ -328,6 +329,8 @@ export namespace Components {
|
|
|
328
329
|
"readonly": DBInputProps["readonly"];
|
|
329
330
|
"required": DBInputProps["required"];
|
|
330
331
|
"showIcon": DBInputProps["showIcon"];
|
|
332
|
+
"showIconLeading": DBInputProps["showIconLeading"];
|
|
333
|
+
"showIconTrailing": DBInputProps["showIconTrailing"];
|
|
331
334
|
"showLabel": DBInputProps["showLabel"];
|
|
332
335
|
"showMessage": DBInputProps["showMessage"];
|
|
333
336
|
"showRequiredAsterisk": DBInputProps["showRequiredAsterisk"];
|
|
@@ -342,25 +345,22 @@ export namespace Components {
|
|
|
342
345
|
interface DbLink {
|
|
343
346
|
"className": DBLinkProps["className"];
|
|
344
347
|
"content": DBLinkProps["content"];
|
|
345
|
-
"current": DBLinkProps["current"];
|
|
346
348
|
"disabled": DBLinkProps["disabled"];
|
|
347
349
|
"href": DBLinkProps["href"];
|
|
348
350
|
"hreflang": DBLinkProps["hreflang"];
|
|
349
351
|
"id": DBLinkProps["id"];
|
|
350
|
-
"label": DBLinkProps["label"];
|
|
351
352
|
"rel": DBLinkProps["rel"];
|
|
352
353
|
"role": DBLinkProps["role"];
|
|
353
|
-
"selected": DBLinkProps["selected"];
|
|
354
354
|
"showIcon": DBLinkProps["showIcon"];
|
|
355
355
|
"size": DBLinkProps["size"];
|
|
356
356
|
"target": DBLinkProps["target"];
|
|
357
357
|
"text": DBLinkProps["text"];
|
|
358
358
|
"variant": DBLinkProps["variant"];
|
|
359
|
+
"wrap": DBLinkProps["wrap"];
|
|
359
360
|
}
|
|
360
361
|
interface DbNavigation {
|
|
361
362
|
"className": DBNavigationProps["className"];
|
|
362
363
|
"id": DBNavigationProps["id"];
|
|
363
|
-
"labelledBy": DBNavigationProps["labelledBy"];
|
|
364
364
|
}
|
|
365
365
|
interface DbNavigationItem {
|
|
366
366
|
"active": DBNavigationItemProps["active"];
|
|
@@ -414,10 +414,8 @@ export namespace Components {
|
|
|
414
414
|
"width": DBPopoverProps["width"];
|
|
415
415
|
}
|
|
416
416
|
interface DbRadio {
|
|
417
|
-
"ariaDescribedBy": DBRadioProps["ariaDescribedBy"];
|
|
418
417
|
"checked": DBRadioProps["checked"];
|
|
419
418
|
"className": DBRadioProps["className"];
|
|
420
|
-
"describedbyid": DBRadioProps["describedbyid"];
|
|
421
419
|
"disabled": DBRadioProps["disabled"];
|
|
422
420
|
"id": DBRadioProps["id"];
|
|
423
421
|
"label": DBRadioProps["label"];
|
|
@@ -472,14 +470,13 @@ export namespace Components {
|
|
|
472
470
|
"wrap": DBStackProps["wrap"];
|
|
473
471
|
}
|
|
474
472
|
interface DbSwitch {
|
|
475
|
-
"ariaDescribedBy": DBSwitchProps["ariaDescribedBy"];
|
|
476
473
|
"checked": DBSwitchProps["checked"];
|
|
477
474
|
"className": DBSwitchProps["className"];
|
|
478
|
-
"describedbyid": DBSwitchProps["describedbyid"];
|
|
479
475
|
"disabled": DBSwitchProps["disabled"];
|
|
480
476
|
"emphasis": DBSwitchProps["emphasis"];
|
|
481
477
|
"icon": DBSwitchProps["icon"];
|
|
482
|
-
"
|
|
478
|
+
"iconLeading": DBSwitchProps["iconLeading"];
|
|
479
|
+
"iconTrailing": DBSwitchProps["iconTrailing"];
|
|
483
480
|
"id": DBSwitchProps["id"];
|
|
484
481
|
"label": DBSwitchProps["label"];
|
|
485
482
|
"name": DBSwitchProps["name"];
|
|
@@ -495,15 +492,17 @@ export namespace Components {
|
|
|
495
492
|
"active": DBTabItemProps["active"];
|
|
496
493
|
"checked": DBTabItemProps["checked"];
|
|
497
494
|
"className": DBTabItemProps["className"];
|
|
498
|
-
"controls": DBTabItemProps["controls"];
|
|
499
495
|
"disabled": DBTabItemProps["disabled"];
|
|
500
496
|
"icon": DBTabItemProps["icon"];
|
|
501
|
-
"
|
|
497
|
+
"iconLeading": DBTabItemProps["iconLeading"];
|
|
498
|
+
"iconTrailing": DBTabItemProps["iconTrailing"];
|
|
502
499
|
"id": DBTabItemProps["id"];
|
|
503
500
|
"label": DBTabItemProps["label"];
|
|
504
501
|
"name": DBTabItemProps["name"];
|
|
505
502
|
"noText": DBTabItemProps["noText"];
|
|
506
503
|
"showIcon": DBTabItemProps["showIcon"];
|
|
504
|
+
"showIconLeading": DBTabItemProps["showIconLeading"];
|
|
505
|
+
"showIconTrailing": DBTabItemProps["showIconTrailing"];
|
|
507
506
|
}
|
|
508
507
|
interface DbTabList {
|
|
509
508
|
"className": DBTabListProps["className"];
|
|
@@ -513,7 +512,6 @@ export namespace Components {
|
|
|
513
512
|
"className": DBTabPanelProps["className"];
|
|
514
513
|
"content": DBTabPanelProps["content"];
|
|
515
514
|
"id": DBTabPanelProps["id"];
|
|
516
|
-
"labelledBy": DBTabPanelProps["labelledBy"];
|
|
517
515
|
}
|
|
518
516
|
interface DbTabs {
|
|
519
517
|
"alignment": DBTabsProps["alignment"];
|
|
@@ -531,7 +529,6 @@ export namespace Components {
|
|
|
531
529
|
interface DbTag {
|
|
532
530
|
"behavior": DBTagProps["behavior"];
|
|
533
531
|
"className": DBTagProps["className"];
|
|
534
|
-
"disabled": DBTagProps["disabled"];
|
|
535
532
|
"emphasis": DBTagProps["emphasis"];
|
|
536
533
|
"icon": DBTagProps["icon"];
|
|
537
534
|
"id": DBTagProps["id"];
|
|
@@ -594,6 +591,10 @@ export interface DbAccordionItemCustomEvent<T> extends CustomEvent<T> {
|
|
|
594
591
|
detail: T;
|
|
595
592
|
target: HTMLDbAccordionItemElement;
|
|
596
593
|
}
|
|
594
|
+
export interface DbButtonCustomEvent<T> extends CustomEvent<T> {
|
|
595
|
+
detail: T;
|
|
596
|
+
target: HTMLDbButtonElement;
|
|
597
|
+
}
|
|
597
598
|
export interface DbCardCustomEvent<T> extends CustomEvent<T> {
|
|
598
599
|
detail: T;
|
|
599
600
|
target: HTMLDbCardElement;
|
|
@@ -694,7 +695,18 @@ declare global {
|
|
|
694
695
|
prototype: HTMLDbBrandElement;
|
|
695
696
|
new (): HTMLDbBrandElement;
|
|
696
697
|
};
|
|
698
|
+
interface HTMLDbButtonElementEventMap {
|
|
699
|
+
"click": any;
|
|
700
|
+
}
|
|
697
701
|
interface HTMLDbButtonElement extends Components.DbButton, HTMLStencilElement {
|
|
702
|
+
addEventListener<K extends keyof HTMLDbButtonElementEventMap>(type: K, listener: (this: HTMLDbButtonElement, ev: DbButtonCustomEvent<HTMLDbButtonElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
|
|
703
|
+
addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
704
|
+
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
705
|
+
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
706
|
+
removeEventListener<K extends keyof HTMLDbButtonElementEventMap>(type: K, listener: (this: HTMLDbButtonElement, ev: DbButtonCustomEvent<HTMLDbButtonElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
|
|
707
|
+
removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
708
|
+
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
709
|
+
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
|
|
698
710
|
}
|
|
699
711
|
var HTMLDbButtonElement: {
|
|
700
712
|
prototype: HTMLDbButtonElement;
|
|
@@ -1160,20 +1172,20 @@ declare namespace LocalJSX {
|
|
|
1160
1172
|
"text"?: DBBrandProps["text"];
|
|
1161
1173
|
}
|
|
1162
1174
|
interface DbButton {
|
|
1163
|
-
"ariaexpanded"?: DBButtonProps["ariaexpanded"];
|
|
1164
|
-
"ariapressed"?: DBButtonProps["ariapressed"];
|
|
1165
1175
|
"className"?: DBButtonProps["className"];
|
|
1166
|
-
"describedbyid"?: DBButtonProps["describedbyid"];
|
|
1167
1176
|
"disabled"?: DBButtonProps["disabled"];
|
|
1168
1177
|
"form"?: DBButtonProps["form"];
|
|
1169
1178
|
"icon"?: DBButtonProps["icon"];
|
|
1179
|
+
"iconLeading"?: DBButtonProps["iconLeading"];
|
|
1180
|
+
"iconTrailing"?: DBButtonProps["iconTrailing"];
|
|
1170
1181
|
"id"?: DBButtonProps["id"];
|
|
1171
|
-
"label"?: DBButtonProps["label"];
|
|
1172
1182
|
"name"?: DBButtonProps["name"];
|
|
1173
1183
|
"noText"?: DBButtonProps["noText"];
|
|
1184
|
+
"onClick"?: (event: DbButtonCustomEvent<any>) => void;
|
|
1174
1185
|
"showIcon"?: DBButtonProps["showIcon"];
|
|
1186
|
+
"showIconLeading"?: DBButtonProps["showIconLeading"];
|
|
1187
|
+
"showIconTrailing"?: DBButtonProps["showIconTrailing"];
|
|
1175
1188
|
"size"?: DBButtonProps["size"];
|
|
1176
|
-
"state"?: DBButtonProps["state"];
|
|
1177
1189
|
"text"?: DBButtonProps["text"];
|
|
1178
1190
|
"type"?: DBButtonProps["type"];
|
|
1179
1191
|
"value"?: DBButtonProps["value"];
|
|
@@ -1365,7 +1377,8 @@ declare namespace LocalJSX {
|
|
|
1365
1377
|
"fieldSizing"?: DBInputProps["fieldSizing"];
|
|
1366
1378
|
"form"?: DBInputProps["form"];
|
|
1367
1379
|
"icon"?: DBInputProps["icon"];
|
|
1368
|
-
"
|
|
1380
|
+
"iconLeading"?: DBInputProps["iconLeading"];
|
|
1381
|
+
"iconTrailing"?: DBInputProps["iconTrailing"];
|
|
1369
1382
|
"id"?: DBInputProps["id"];
|
|
1370
1383
|
"invalidMessage"?: DBInputProps["invalidMessage"];
|
|
1371
1384
|
"label"?: DBInputProps["label"];
|
|
@@ -1377,6 +1390,7 @@ declare namespace LocalJSX {
|
|
|
1377
1390
|
"min"?: DBInputProps["min"];
|
|
1378
1391
|
"minLength"?: DBInputProps["minLength"];
|
|
1379
1392
|
"minlength"?: DBInputProps["minlength"];
|
|
1393
|
+
"multiple"?: DBInputProps["multiple"];
|
|
1380
1394
|
"name"?: DBInputProps["name"];
|
|
1381
1395
|
"onBlur"?: (event: DbInputCustomEvent<any>) => void;
|
|
1382
1396
|
"onChange"?: (event: DbInputCustomEvent<any>) => void;
|
|
@@ -1388,6 +1402,8 @@ declare namespace LocalJSX {
|
|
|
1388
1402
|
"readonly"?: DBInputProps["readonly"];
|
|
1389
1403
|
"required"?: DBInputProps["required"];
|
|
1390
1404
|
"showIcon"?: DBInputProps["showIcon"];
|
|
1405
|
+
"showIconLeading"?: DBInputProps["showIconLeading"];
|
|
1406
|
+
"showIconTrailing"?: DBInputProps["showIconTrailing"];
|
|
1391
1407
|
"showLabel"?: DBInputProps["showLabel"];
|
|
1392
1408
|
"showMessage"?: DBInputProps["showMessage"];
|
|
1393
1409
|
"showRequiredAsterisk"?: DBInputProps["showRequiredAsterisk"];
|
|
@@ -1402,25 +1418,22 @@ declare namespace LocalJSX {
|
|
|
1402
1418
|
interface DbLink {
|
|
1403
1419
|
"className"?: DBLinkProps["className"];
|
|
1404
1420
|
"content"?: DBLinkProps["content"];
|
|
1405
|
-
"current"?: DBLinkProps["current"];
|
|
1406
1421
|
"disabled"?: DBLinkProps["disabled"];
|
|
1407
1422
|
"href"?: DBLinkProps["href"];
|
|
1408
1423
|
"hreflang"?: DBLinkProps["hreflang"];
|
|
1409
1424
|
"id"?: DBLinkProps["id"];
|
|
1410
|
-
"label"?: DBLinkProps["label"];
|
|
1411
1425
|
"rel"?: DBLinkProps["rel"];
|
|
1412
1426
|
"role"?: DBLinkProps["role"];
|
|
1413
|
-
"selected"?: DBLinkProps["selected"];
|
|
1414
1427
|
"showIcon"?: DBLinkProps["showIcon"];
|
|
1415
1428
|
"size"?: DBLinkProps["size"];
|
|
1416
1429
|
"target"?: DBLinkProps["target"];
|
|
1417
1430
|
"text"?: DBLinkProps["text"];
|
|
1418
1431
|
"variant"?: DBLinkProps["variant"];
|
|
1432
|
+
"wrap"?: DBLinkProps["wrap"];
|
|
1419
1433
|
}
|
|
1420
1434
|
interface DbNavigation {
|
|
1421
1435
|
"className"?: DBNavigationProps["className"];
|
|
1422
1436
|
"id"?: DBNavigationProps["id"];
|
|
1423
|
-
"labelledBy"?: DBNavigationProps["labelledBy"];
|
|
1424
1437
|
}
|
|
1425
1438
|
interface DbNavigationItem {
|
|
1426
1439
|
"active"?: DBNavigationItemProps["active"];
|
|
@@ -1476,10 +1489,8 @@ declare namespace LocalJSX {
|
|
|
1476
1489
|
"width"?: DBPopoverProps["width"];
|
|
1477
1490
|
}
|
|
1478
1491
|
interface DbRadio {
|
|
1479
|
-
"ariaDescribedBy"?: DBRadioProps["ariaDescribedBy"];
|
|
1480
1492
|
"checked"?: DBRadioProps["checked"];
|
|
1481
1493
|
"className"?: DBRadioProps["className"];
|
|
1482
|
-
"describedbyid"?: DBRadioProps["describedbyid"];
|
|
1483
1494
|
"disabled"?: DBRadioProps["disabled"];
|
|
1484
1495
|
"id"?: DBRadioProps["id"];
|
|
1485
1496
|
"label"?: DBRadioProps["label"];
|
|
@@ -1542,14 +1553,13 @@ declare namespace LocalJSX {
|
|
|
1542
1553
|
"wrap"?: DBStackProps["wrap"];
|
|
1543
1554
|
}
|
|
1544
1555
|
interface DbSwitch {
|
|
1545
|
-
"ariaDescribedBy"?: DBSwitchProps["ariaDescribedBy"];
|
|
1546
1556
|
"checked"?: DBSwitchProps["checked"];
|
|
1547
1557
|
"className"?: DBSwitchProps["className"];
|
|
1548
|
-
"describedbyid"?: DBSwitchProps["describedbyid"];
|
|
1549
1558
|
"disabled"?: DBSwitchProps["disabled"];
|
|
1550
1559
|
"emphasis"?: DBSwitchProps["emphasis"];
|
|
1551
1560
|
"icon"?: DBSwitchProps["icon"];
|
|
1552
|
-
"
|
|
1561
|
+
"iconLeading"?: DBSwitchProps["iconLeading"];
|
|
1562
|
+
"iconTrailing"?: DBSwitchProps["iconTrailing"];
|
|
1553
1563
|
"id"?: DBSwitchProps["id"];
|
|
1554
1564
|
"label"?: DBSwitchProps["label"];
|
|
1555
1565
|
"name"?: DBSwitchProps["name"];
|
|
@@ -1568,16 +1578,18 @@ declare namespace LocalJSX {
|
|
|
1568
1578
|
"active"?: DBTabItemProps["active"];
|
|
1569
1579
|
"checked"?: DBTabItemProps["checked"];
|
|
1570
1580
|
"className"?: DBTabItemProps["className"];
|
|
1571
|
-
"controls"?: DBTabItemProps["controls"];
|
|
1572
1581
|
"disabled"?: DBTabItemProps["disabled"];
|
|
1573
1582
|
"icon"?: DBTabItemProps["icon"];
|
|
1574
|
-
"
|
|
1583
|
+
"iconLeading"?: DBTabItemProps["iconLeading"];
|
|
1584
|
+
"iconTrailing"?: DBTabItemProps["iconTrailing"];
|
|
1575
1585
|
"id"?: DBTabItemProps["id"];
|
|
1576
1586
|
"label"?: DBTabItemProps["label"];
|
|
1577
1587
|
"name"?: DBTabItemProps["name"];
|
|
1578
1588
|
"noText"?: DBTabItemProps["noText"];
|
|
1579
1589
|
"onChange"?: (event: DbTabItemCustomEvent<any>) => void;
|
|
1580
1590
|
"showIcon"?: DBTabItemProps["showIcon"];
|
|
1591
|
+
"showIconLeading"?: DBTabItemProps["showIconLeading"];
|
|
1592
|
+
"showIconTrailing"?: DBTabItemProps["showIconTrailing"];
|
|
1581
1593
|
}
|
|
1582
1594
|
interface DbTabList {
|
|
1583
1595
|
"className"?: DBTabListProps["className"];
|
|
@@ -1587,7 +1599,6 @@ declare namespace LocalJSX {
|
|
|
1587
1599
|
"className"?: DBTabPanelProps["className"];
|
|
1588
1600
|
"content"?: DBTabPanelProps["content"];
|
|
1589
1601
|
"id"?: DBTabPanelProps["id"];
|
|
1590
|
-
"labelledBy"?: DBTabPanelProps["labelledBy"];
|
|
1591
1602
|
}
|
|
1592
1603
|
interface DbTabs {
|
|
1593
1604
|
"alignment"?: DBTabsProps["alignment"];
|
|
@@ -1607,7 +1618,6 @@ declare namespace LocalJSX {
|
|
|
1607
1618
|
interface DbTag {
|
|
1608
1619
|
"behavior"?: DBTagProps["behavior"];
|
|
1609
1620
|
"className"?: DBTagProps["className"];
|
|
1610
|
-
"disabled"?: DBTagProps["disabled"];
|
|
1611
1621
|
"emphasis"?: DBTagProps["emphasis"];
|
|
1612
1622
|
"icon"?: DBTagProps["icon"];
|
|
1613
1623
|
"id"?: DBTagProps["id"];
|
|
@@ -12,11 +12,6 @@ export type GlobalProps = {
|
|
|
12
12
|
* Workaround for TypeScript using class for all components.
|
|
13
13
|
*/
|
|
14
14
|
class?: string | any;
|
|
15
|
-
/**
|
|
16
|
-
* @deprecated
|
|
17
|
-
* [`aria-describedby`](https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Attributes/aria-describedby) is used to link to the elements that describe the element with the set attribute.
|
|
18
|
-
*/
|
|
19
|
-
describedbyid?: string;
|
|
20
15
|
/**
|
|
21
16
|
* [ID](https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/id) of the component, generated automatically for some components as a fallback if unset.
|
|
22
17
|
*/
|
|
@@ -50,11 +45,31 @@ export type ShowIconProps = {
|
|
|
50
45
|
*/
|
|
51
46
|
showIcon?: boolean | string;
|
|
52
47
|
};
|
|
53
|
-
export type
|
|
48
|
+
export type ShowIconLeadingProps = {
|
|
49
|
+
/**
|
|
50
|
+
* Enables or disables the visibility of the leading icon.
|
|
51
|
+
* For many components this property is optional to reflect Figma properties.
|
|
52
|
+
*/
|
|
53
|
+
showIconLeading?: boolean | string;
|
|
54
|
+
};
|
|
55
|
+
export type ShowIconTrailingProps = {
|
|
56
|
+
/**
|
|
57
|
+
* Enables or disables the visibility of the trailing icon.
|
|
58
|
+
* For many components this property is optional to reflect Figma properties.
|
|
59
|
+
*/
|
|
60
|
+
showIconTrailing?: boolean | string;
|
|
61
|
+
};
|
|
62
|
+
export type IconLeadingProps = {
|
|
63
|
+
/**
|
|
64
|
+
* Define an icon by its identifier (like e.g. _user_, compare to [Icons](https://design-system.deutschebahn.com/core-web/review/main/foundations/icons/overview)) to get displayed in front of the elements content.
|
|
65
|
+
*/
|
|
66
|
+
iconLeading?: IconTypes;
|
|
67
|
+
};
|
|
68
|
+
export type IconTrailingProps = {
|
|
54
69
|
/**
|
|
55
70
|
* Define an icon by its identifier (like e.g. _user_, compare to [Icons](https://design-system.deutschebahn.com/core-web/review/main/foundations/icons/overview)) to get displayed in front of the elements content.
|
|
56
71
|
*/
|
|
57
|
-
|
|
72
|
+
iconTrailing?: IconTypes;
|
|
58
73
|
};
|
|
59
74
|
export declare const SpacingList: readonly ["medium", "small", "large", "none"];
|
|
60
75
|
export type SpacingType = (typeof SpacingList)[number];
|
|
@@ -107,6 +122,12 @@ export type OverflowProps = {
|
|
|
107
122
|
*/
|
|
108
123
|
overflow?: boolean | string;
|
|
109
124
|
};
|
|
125
|
+
export type WrapProps = {
|
|
126
|
+
/**
|
|
127
|
+
* Determines whether the text should wrap when its parent container is too small, preventing overflow.
|
|
128
|
+
*/
|
|
129
|
+
wrap?: boolean | string;
|
|
130
|
+
};
|
|
110
131
|
export declare const OrientationList: readonly ["horizontal", "vertical"];
|
|
111
132
|
export type OrientationType = (typeof OrientationList)[number];
|
|
112
133
|
export type OrientationProps = {
|
|
@@ -345,17 +366,11 @@ export type FormState = {
|
|
|
345
366
|
export type InitializedState = {
|
|
346
367
|
initialized: boolean;
|
|
347
368
|
};
|
|
348
|
-
export declare const LinkCurrentList: readonly ["time", "true", "false", "date", "page", "step", "location"];
|
|
349
|
-
export type LinkCurrentType = (typeof LinkCurrentList)[number];
|
|
350
369
|
export declare const LinkTargetList: readonly ["_self", "_blank", "_parent", "_top"];
|
|
351
370
|
export type LinkTargetType = (typeof LinkTargetList)[number];
|
|
352
371
|
export declare const LinkReferrerPolicyList: readonly ["no-referrer", "no-referrer-when-downgrade", "origin", "origin-when-cross-origin", "same-origin", "strict-origin", "strict-origin-when-cross-origin", "unsafe-url"];
|
|
353
372
|
export type LinkReferrerPolicyType = (typeof LinkReferrerPolicyList)[number];
|
|
354
373
|
export type LinkProps = {
|
|
355
|
-
/**
|
|
356
|
-
* Sets aria attribute based on [`aria-current`](https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Attributes/aria-current).
|
|
357
|
-
*/
|
|
358
|
-
current?: boolean | LinkCurrentType;
|
|
359
374
|
/**
|
|
360
375
|
* Disables the link.
|
|
361
376
|
*/
|
|
@@ -368,10 +383,6 @@ export type LinkProps = {
|
|
|
368
383
|
* Hints for the human [language of the linked page or document](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a#hreflang).
|
|
369
384
|
*/
|
|
370
385
|
hreflang?: string;
|
|
371
|
-
/**
|
|
372
|
-
* Sets aria attribute based on [`aria-label`](https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Attributes/aria-label).
|
|
373
|
-
*/
|
|
374
|
-
label?: string;
|
|
375
386
|
/**
|
|
376
387
|
* Where to open the linked URL, as the name for a [browsing context](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a#target).
|
|
377
388
|
*/
|
|
@@ -388,10 +399,6 @@ export type LinkProps = {
|
|
|
388
399
|
* How much of the referrer to send when following the link.
|
|
389
400
|
*/
|
|
390
401
|
referrerpolicy?: LinkReferrerPolicyType;
|
|
391
|
-
/**
|
|
392
|
-
* Sets aria role based on [`aria-selected`](https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Attributes/aria-selected).
|
|
393
|
-
*/
|
|
394
|
-
selected?: boolean | string;
|
|
395
402
|
};
|
|
396
403
|
export type TextProps = {
|
|
397
404
|
/**
|
|
@@ -492,12 +499,6 @@ export type NavigationBackButtonProps = {
|
|
|
492
499
|
*/
|
|
493
500
|
backButtonText?: string;
|
|
494
501
|
};
|
|
495
|
-
export type AriaLabelledByProps = {
|
|
496
|
-
/**
|
|
497
|
-
* Pass `aria-labelledby` to inner element
|
|
498
|
-
*/
|
|
499
|
-
labelledBy?: string;
|
|
500
|
-
};
|
|
501
502
|
export type AriaControlsProps = {
|
|
502
503
|
/**
|
|
503
504
|
* Pass `aria-controls` to inner element
|