@db-ux/wc-core-components 2.4.3 → 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
package/dist/web-types.json
CHANGED
|
@@ -366,9 +366,14 @@
|
|
|
366
366
|
},
|
|
367
367
|
{
|
|
368
368
|
"name": "db-button",
|
|
369
|
-
"description": "\n---\n\n\n### **Slots:**\n - **children** - default slot",
|
|
369
|
+
"description": "\n---\n\n\n### **Events:**\n - **click**\n\n### **Slots:**\n - **children** - default slot",
|
|
370
370
|
"doc-url": "https://design-system.deutschebahn.com/core-web/review/main/components/button/properties",
|
|
371
371
|
"attributes": [
|
|
372
|
+
{
|
|
373
|
+
"name": "type",
|
|
374
|
+
"description": "The type attribute specifies the [type of button](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/button#type).",
|
|
375
|
+
"value": { "type": "\"button\" | \"reset\" | \"submit\"" }
|
|
376
|
+
},
|
|
372
377
|
{
|
|
373
378
|
"name": "id",
|
|
374
379
|
"description": "[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.",
|
|
@@ -379,41 +384,46 @@
|
|
|
379
384
|
"description": "React specific for adding className to the component.",
|
|
380
385
|
"value": { "type": "string" }
|
|
381
386
|
},
|
|
382
|
-
{
|
|
383
|
-
"name": "type",
|
|
384
|
-
"description": "The type attribute specifies the [type of button](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/button#type).",
|
|
385
|
-
"value": { "type": "\"button\" | \"reset\" | \"submit\"" }
|
|
386
|
-
},
|
|
387
387
|
{
|
|
388
388
|
"name": "disabled",
|
|
389
389
|
"description": "The disabled attribute can be set to [keep a user from clicking on the button](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/button#disabled).",
|
|
390
390
|
"value": { "type": "boolean | string" }
|
|
391
391
|
},
|
|
392
392
|
{
|
|
393
|
-
"name": "
|
|
394
|
-
"description": "
|
|
395
|
-
"value": { "type": "
|
|
393
|
+
"name": "icon-leading",
|
|
394
|
+
"description": "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.",
|
|
395
|
+
"value": { "type": "IconTypes" }
|
|
396
396
|
},
|
|
397
397
|
{
|
|
398
398
|
"name": "icon",
|
|
399
399
|
"description": "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.",
|
|
400
400
|
"value": { "type": "IconTypes" }
|
|
401
401
|
},
|
|
402
|
+
{
|
|
403
|
+
"name": "show-icon-leading",
|
|
404
|
+
"description": "Enables or disables the visibility of the leading icon.\nFor many components this property is optional to reflect Figma properties.",
|
|
405
|
+
"value": { "type": "boolean | string" }
|
|
406
|
+
},
|
|
402
407
|
{
|
|
403
408
|
"name": "show-icon",
|
|
404
409
|
"description": "Enables or disables the visibility of the icon. The default value depends on the component.\nFor many components this property is optional to reflect Figma properties.",
|
|
405
410
|
"value": { "type": "boolean | string" }
|
|
406
411
|
},
|
|
412
|
+
{
|
|
413
|
+
"name": "icon-trailing",
|
|
414
|
+
"description": "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.",
|
|
415
|
+
"value": { "type": "IconTypes" }
|
|
416
|
+
},
|
|
417
|
+
{
|
|
418
|
+
"name": "show-icon-trailing",
|
|
419
|
+
"description": "Enables or disables the visibility of the trailing icon.\nFor many components this property is optional to reflect Figma properties.",
|
|
420
|
+
"value": { "type": "boolean | string" }
|
|
421
|
+
},
|
|
407
422
|
{
|
|
408
423
|
"name": "size",
|
|
409
424
|
"description": "The size attribute changes the font-size and other related sizes of the component.",
|
|
410
425
|
"value": { "type": "\"small\" | \"medium\"" }
|
|
411
426
|
},
|
|
412
|
-
{
|
|
413
|
-
"name": "state",
|
|
414
|
-
"description": "Show loading progress inside button.",
|
|
415
|
-
"value": { "type": "\"loading\"" }
|
|
416
|
-
},
|
|
417
427
|
{
|
|
418
428
|
"name": "width",
|
|
419
429
|
"description": "Width of the component. Auto width based on children size, full width based on parent elements width.",
|
|
@@ -446,21 +456,6 @@
|
|
|
446
456
|
"description": "The value attribute specifies an initial [value for the button](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/button#value).",
|
|
447
457
|
"value": { "type": "string" }
|
|
448
458
|
},
|
|
449
|
-
{
|
|
450
|
-
"name": "describedbyid",
|
|
451
|
-
"description": "",
|
|
452
|
-
"value": { "type": "string" }
|
|
453
|
-
},
|
|
454
|
-
{
|
|
455
|
-
"name": "ariaexpanded",
|
|
456
|
-
"description": "If the button controls a grouping of other elements, the ariaexpanded state [indicates whether the controlled grouping is currently expanded or collapsed](https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Attributes/aria-expanded).",
|
|
457
|
-
"value": { "type": "boolean" }
|
|
458
|
-
},
|
|
459
|
-
{
|
|
460
|
-
"name": "ariapressed",
|
|
461
|
-
"description": "Defines the button as a toggle button. The value of [ariapressed describes the state of the button](https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Attributes/aria-pressed).",
|
|
462
|
-
"value": { "type": "boolean" }
|
|
463
|
-
},
|
|
464
459
|
{
|
|
465
460
|
"name": "text",
|
|
466
461
|
"description": "Alternative for default slot/children.",
|
|
@@ -468,9 +463,19 @@
|
|
|
468
463
|
}
|
|
469
464
|
],
|
|
470
465
|
"slots": [{ "name": "children", "description": "default slot" }],
|
|
471
|
-
"events": [
|
|
466
|
+
"events": [
|
|
467
|
+
{
|
|
468
|
+
"name": "click",
|
|
469
|
+
"type": "EventEmitter<\n Parameters<Required<DBButtonProps>[\"onClick\"]>[number]\n > | void"
|
|
470
|
+
}
|
|
471
|
+
],
|
|
472
472
|
"js": {
|
|
473
473
|
"properties": [
|
|
474
|
+
{
|
|
475
|
+
"name": "type",
|
|
476
|
+
"description": "The type attribute specifies the [type of button](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/button#type).",
|
|
477
|
+
"type": "\"button\" | \"reset\" | \"submit\""
|
|
478
|
+
},
|
|
474
479
|
{
|
|
475
480
|
"name": "id",
|
|
476
481
|
"description": "[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.",
|
|
@@ -481,41 +486,46 @@
|
|
|
481
486
|
"description": "React specific for adding className to the component.",
|
|
482
487
|
"type": "string"
|
|
483
488
|
},
|
|
484
|
-
{
|
|
485
|
-
"name": "type",
|
|
486
|
-
"description": "The type attribute specifies the [type of button](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/button#type).",
|
|
487
|
-
"type": "\"button\" | \"reset\" | \"submit\""
|
|
488
|
-
},
|
|
489
489
|
{
|
|
490
490
|
"name": "disabled",
|
|
491
491
|
"description": "The disabled attribute can be set to [keep a user from clicking on the button](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/button#disabled).",
|
|
492
492
|
"type": "boolean | string"
|
|
493
493
|
},
|
|
494
494
|
{
|
|
495
|
-
"name": "
|
|
496
|
-
"description": "
|
|
497
|
-
"type": "
|
|
495
|
+
"name": "iconLeading",
|
|
496
|
+
"description": "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.",
|
|
497
|
+
"type": "IconTypes"
|
|
498
498
|
},
|
|
499
499
|
{
|
|
500
500
|
"name": "icon",
|
|
501
501
|
"description": "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.",
|
|
502
502
|
"type": "IconTypes"
|
|
503
503
|
},
|
|
504
|
+
{
|
|
505
|
+
"name": "showIconLeading",
|
|
506
|
+
"description": "Enables or disables the visibility of the leading icon.\nFor many components this property is optional to reflect Figma properties.",
|
|
507
|
+
"type": "boolean | string"
|
|
508
|
+
},
|
|
504
509
|
{
|
|
505
510
|
"name": "showIcon",
|
|
506
511
|
"description": "Enables or disables the visibility of the icon. The default value depends on the component.\nFor many components this property is optional to reflect Figma properties.",
|
|
507
512
|
"type": "boolean | string"
|
|
508
513
|
},
|
|
514
|
+
{
|
|
515
|
+
"name": "iconTrailing",
|
|
516
|
+
"description": "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.",
|
|
517
|
+
"type": "IconTypes"
|
|
518
|
+
},
|
|
519
|
+
{
|
|
520
|
+
"name": "showIconTrailing",
|
|
521
|
+
"description": "Enables or disables the visibility of the trailing icon.\nFor many components this property is optional to reflect Figma properties.",
|
|
522
|
+
"type": "boolean | string"
|
|
523
|
+
},
|
|
509
524
|
{
|
|
510
525
|
"name": "size",
|
|
511
526
|
"description": "The size attribute changes the font-size and other related sizes of the component.",
|
|
512
527
|
"type": "\"small\" | \"medium\""
|
|
513
528
|
},
|
|
514
|
-
{
|
|
515
|
-
"name": "state",
|
|
516
|
-
"description": "Show loading progress inside button.",
|
|
517
|
-
"type": "\"loading\""
|
|
518
|
-
},
|
|
519
529
|
{
|
|
520
530
|
"name": "width",
|
|
521
531
|
"description": "Width of the component. Auto width based on children size, full width based on parent elements width.",
|
|
@@ -546,24 +556,18 @@
|
|
|
546
556
|
"description": "The value attribute specifies an initial [value for the button](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/button#value).",
|
|
547
557
|
"type": "string"
|
|
548
558
|
},
|
|
549
|
-
{ "name": "describedbyid", "description": "", "type": "string" },
|
|
550
|
-
{
|
|
551
|
-
"name": "ariaexpanded",
|
|
552
|
-
"description": "If the button controls a grouping of other elements, the ariaexpanded state [indicates whether the controlled grouping is currently expanded or collapsed](https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Attributes/aria-expanded).",
|
|
553
|
-
"type": "boolean"
|
|
554
|
-
},
|
|
555
|
-
{
|
|
556
|
-
"name": "ariapressed",
|
|
557
|
-
"description": "Defines the button as a toggle button. The value of [ariapressed describes the state of the button](https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Attributes/aria-pressed).",
|
|
558
|
-
"type": "boolean"
|
|
559
|
-
},
|
|
560
559
|
{
|
|
561
560
|
"name": "text",
|
|
562
561
|
"description": "Alternative for default slot/children.",
|
|
563
562
|
"type": "string"
|
|
564
563
|
}
|
|
565
564
|
],
|
|
566
|
-
"events": [
|
|
565
|
+
"events": [
|
|
566
|
+
{
|
|
567
|
+
"name": "click",
|
|
568
|
+
"type": "EventEmitter<\n Parameters<Required<DBButtonProps>[\"onClick\"]>[number]\n > | void"
|
|
569
|
+
}
|
|
570
|
+
]
|
|
567
571
|
}
|
|
568
572
|
},
|
|
569
573
|
{
|
|
@@ -1287,18 +1291,28 @@
|
|
|
1287
1291
|
"description": "Enables/disables the visibility of the label",
|
|
1288
1292
|
"value": { "type": "boolean | string" }
|
|
1289
1293
|
},
|
|
1294
|
+
{
|
|
1295
|
+
"name": "show-icon-leading",
|
|
1296
|
+
"description": "Enables or disables the visibility of the leading icon.\nFor many components this property is optional to reflect Figma properties.",
|
|
1297
|
+
"value": { "type": "boolean | string" }
|
|
1298
|
+
},
|
|
1290
1299
|
{
|
|
1291
1300
|
"name": "show-icon",
|
|
1292
1301
|
"description": "Enables or disables the visibility of the icon. The default value depends on the component.\nFor many components this property is optional to reflect Figma properties.",
|
|
1293
1302
|
"value": { "type": "boolean | string" }
|
|
1294
1303
|
},
|
|
1304
|
+
{
|
|
1305
|
+
"name": "icon-leading",
|
|
1306
|
+
"description": "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.",
|
|
1307
|
+
"value": { "type": "IconTypes" }
|
|
1308
|
+
},
|
|
1295
1309
|
{
|
|
1296
1310
|
"name": "icon",
|
|
1297
1311
|
"description": "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.",
|
|
1298
1312
|
"value": { "type": "IconTypes" }
|
|
1299
1313
|
},
|
|
1300
1314
|
{
|
|
1301
|
-
"name": "icon-
|
|
1315
|
+
"name": "icon-trailing",
|
|
1302
1316
|
"description": "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.",
|
|
1303
1317
|
"value": { "type": "IconTypes" }
|
|
1304
1318
|
},
|
|
@@ -1307,6 +1321,11 @@
|
|
|
1307
1321
|
"description": "This attribute allows to specify whether a form field which is marked as required will show a visual indicator (an asterisk '*').\nIt allows to prevent adding the visual indicator but still keep the field semantically required by setting its value to `false`.\nBy default, its value is `true`, so the asterisk is shown when `required` is set.",
|
|
1308
1322
|
"value": { "type": "boolean | string" }
|
|
1309
1323
|
},
|
|
1324
|
+
{
|
|
1325
|
+
"name": "show-icon-trailing",
|
|
1326
|
+
"description": "Enables or disables the visibility of the trailing icon.\nFor many components this property is optional to reflect Figma properties.",
|
|
1327
|
+
"value": { "type": "boolean | string" }
|
|
1328
|
+
},
|
|
1310
1329
|
{
|
|
1311
1330
|
"name": "label",
|
|
1312
1331
|
"description": "The label attribute specifies the caption of the form element.",
|
|
@@ -1329,6 +1348,11 @@
|
|
|
1329
1348
|
"type": "\"color\" | \"date\" | \"datetime-local\" | \"email\" | \"file\" | \"hidden\" | \"month\" | \"number\" | \"password\" | \"range\" | \"search\" | \"tel\" | \"text\" | \"time\" | \"url\" | \"week\" | string"
|
|
1330
1349
|
}
|
|
1331
1350
|
},
|
|
1351
|
+
{
|
|
1352
|
+
"name": "multiple",
|
|
1353
|
+
"description": "Allow selecting multiple files. https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Elements/input/file#multiple",
|
|
1354
|
+
"value": { "type": "boolean | string" }
|
|
1355
|
+
},
|
|
1332
1356
|
{
|
|
1333
1357
|
"name": "placeholder",
|
|
1334
1358
|
"description": "Text that appears in the form control when it has no value set",
|
|
@@ -1508,18 +1532,28 @@
|
|
|
1508
1532
|
"description": "Enables/disables the visibility of the label",
|
|
1509
1533
|
"type": "boolean | string"
|
|
1510
1534
|
},
|
|
1535
|
+
{
|
|
1536
|
+
"name": "showIconLeading",
|
|
1537
|
+
"description": "Enables or disables the visibility of the leading icon.\nFor many components this property is optional to reflect Figma properties.",
|
|
1538
|
+
"type": "boolean | string"
|
|
1539
|
+
},
|
|
1511
1540
|
{
|
|
1512
1541
|
"name": "showIcon",
|
|
1513
1542
|
"description": "Enables or disables the visibility of the icon. The default value depends on the component.\nFor many components this property is optional to reflect Figma properties.",
|
|
1514
1543
|
"type": "boolean | string"
|
|
1515
1544
|
},
|
|
1545
|
+
{
|
|
1546
|
+
"name": "iconLeading",
|
|
1547
|
+
"description": "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.",
|
|
1548
|
+
"type": "IconTypes"
|
|
1549
|
+
},
|
|
1516
1550
|
{
|
|
1517
1551
|
"name": "icon",
|
|
1518
1552
|
"description": "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.",
|
|
1519
1553
|
"type": "IconTypes"
|
|
1520
1554
|
},
|
|
1521
1555
|
{
|
|
1522
|
-
"name": "
|
|
1556
|
+
"name": "iconTrailing",
|
|
1523
1557
|
"description": "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.",
|
|
1524
1558
|
"type": "IconTypes"
|
|
1525
1559
|
},
|
|
@@ -1528,6 +1562,11 @@
|
|
|
1528
1562
|
"description": "This attribute allows to specify whether a form field which is marked as required will show a visual indicator (an asterisk '*').\nIt allows to prevent adding the visual indicator but still keep the field semantically required by setting its value to `false`.\nBy default, its value is `true`, so the asterisk is shown when `required` is set.",
|
|
1529
1563
|
"type": "boolean | string"
|
|
1530
1564
|
},
|
|
1565
|
+
{
|
|
1566
|
+
"name": "showIconTrailing",
|
|
1567
|
+
"description": "Enables or disables the visibility of the trailing icon.\nFor many components this property is optional to reflect Figma properties.",
|
|
1568
|
+
"type": "boolean | string"
|
|
1569
|
+
},
|
|
1531
1570
|
{
|
|
1532
1571
|
"name": "label",
|
|
1533
1572
|
"description": "The label attribute specifies the caption of the form element.",
|
|
@@ -1548,6 +1587,11 @@
|
|
|
1548
1587
|
"description": "Type of form control",
|
|
1549
1588
|
"type": "\"color\" | \"date\" | \"datetime-local\" | \"email\" | \"file\" | \"hidden\" | \"month\" | \"number\" | \"password\" | \"range\" | \"search\" | \"tel\" | \"text\" | \"time\" | \"url\" | \"week\" | string"
|
|
1550
1589
|
},
|
|
1590
|
+
{
|
|
1591
|
+
"name": "multiple",
|
|
1592
|
+
"description": "Allow selecting multiple files. https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Elements/input/file#multiple",
|
|
1593
|
+
"type": "boolean | string"
|
|
1594
|
+
},
|
|
1551
1595
|
{
|
|
1552
1596
|
"name": "placeholder",
|
|
1553
1597
|
"description": "Text that appears in the form control when it has no value set",
|
|
@@ -1766,11 +1810,6 @@
|
|
|
1766
1810
|
"description": "\n---\n\n\n### **Events:**\n - **remove**\n\n### **Slots:**\n - **children** - default slot\n- **content** - Default slot which is used to pass in additional content.",
|
|
1767
1811
|
"doc-url": "https://design-system.deutschebahn.com/core-web/review/main/components/tag/properties",
|
|
1768
1812
|
"attributes": [
|
|
1769
|
-
{
|
|
1770
|
-
"name": "disabled",
|
|
1771
|
-
"description": "",
|
|
1772
|
-
"value": { "type": "boolean | string" }
|
|
1773
|
-
},
|
|
1774
1813
|
{
|
|
1775
1814
|
"name": "remove-button",
|
|
1776
1815
|
"description": "The removeButton attribute shows the cancel button.",
|
|
@@ -1849,11 +1888,6 @@
|
|
|
1849
1888
|
],
|
|
1850
1889
|
"js": {
|
|
1851
1890
|
"properties": [
|
|
1852
|
-
{
|
|
1853
|
-
"name": "disabled",
|
|
1854
|
-
"description": "",
|
|
1855
|
-
"type": "boolean | string"
|
|
1856
|
-
},
|
|
1857
1891
|
{
|
|
1858
1892
|
"name": "removeButton",
|
|
1859
1893
|
"description": "The removeButton attribute shows the cancel button.",
|
|
@@ -1913,8 +1947,7 @@
|
|
|
1913
1947
|
"name": "behavior",
|
|
1914
1948
|
"description": "Defines the behavior of the component:\n- static: default behavior without remove button\n - removable: add a remove button at the end of the tag",
|
|
1915
1949
|
"type": "\"static\" | \"removable\" | string"
|
|
1916
|
-
}
|
|
1917
|
-
{ "name": "initialized", "type": "boolean" }
|
|
1950
|
+
}
|
|
1918
1951
|
],
|
|
1919
1952
|
"events": [
|
|
1920
1953
|
{
|
|
@@ -2957,23 +2990,6 @@
|
|
|
2957
2990
|
"description": "Disables the link.",
|
|
2958
2991
|
"value": { "type": "boolean | string" }
|
|
2959
2992
|
},
|
|
2960
|
-
{
|
|
2961
|
-
"name": "selected",
|
|
2962
|
-
"description": "Sets aria role based on [`aria-selected`](https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Attributes/aria-selected).",
|
|
2963
|
-
"value": { "type": "boolean | string" }
|
|
2964
|
-
},
|
|
2965
|
-
{
|
|
2966
|
-
"name": "label",
|
|
2967
|
-
"description": "Sets aria attribute based on [`aria-label`](https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Attributes/aria-label).",
|
|
2968
|
-
"value": { "type": "string" }
|
|
2969
|
-
},
|
|
2970
|
-
{
|
|
2971
|
-
"name": "current",
|
|
2972
|
-
"description": "Sets aria attribute based on [`aria-current`](https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Attributes/aria-current).",
|
|
2973
|
-
"value": {
|
|
2974
|
-
"type": "boolean | \"time\" | \"true\" | \"false\" | \"date\" | \"page\" | \"step\" | \"location\""
|
|
2975
|
-
}
|
|
2976
|
-
},
|
|
2977
2993
|
{
|
|
2978
2994
|
"name": "size",
|
|
2979
2995
|
"description": "Change the size of the link",
|
|
@@ -2987,13 +3003,18 @@
|
|
|
2987
3003
|
{
|
|
2988
3004
|
"name": "variant",
|
|
2989
3005
|
"description": "Change the styling of the link. `inline` will remove the arrow. Defaults to adaptive.",
|
|
2990
|
-
"value": { "type": "\"adaptive\" | \"brand\"" }
|
|
3006
|
+
"value": { "type": "\"adaptive\" | \"brand\" | \"inline\"" }
|
|
2991
3007
|
},
|
|
2992
3008
|
{
|
|
2993
3009
|
"name": "content",
|
|
2994
3010
|
"description": "Adds a different arrow after the link to indicate external or internal link",
|
|
2995
3011
|
"value": { "type": "\"external\" | \"internal\"" }
|
|
2996
3012
|
},
|
|
3013
|
+
{
|
|
3014
|
+
"name": "wrap",
|
|
3015
|
+
"description": "Determines whether the text should wrap when its parent container is too small, preventing overflow.",
|
|
3016
|
+
"value": { "type": "boolean | string" }
|
|
3017
|
+
},
|
|
2997
3018
|
{
|
|
2998
3019
|
"name": "text",
|
|
2999
3020
|
"description": "Alternative for default slot/children.",
|
|
@@ -3044,21 +3065,6 @@
|
|
|
3044
3065
|
"description": "Disables the link.",
|
|
3045
3066
|
"type": "boolean | string"
|
|
3046
3067
|
},
|
|
3047
|
-
{
|
|
3048
|
-
"name": "selected",
|
|
3049
|
-
"description": "Sets aria role based on [`aria-selected`](https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Attributes/aria-selected).",
|
|
3050
|
-
"type": "boolean | string"
|
|
3051
|
-
},
|
|
3052
|
-
{
|
|
3053
|
-
"name": "label",
|
|
3054
|
-
"description": "Sets aria attribute based on [`aria-label`](https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Attributes/aria-label).",
|
|
3055
|
-
"type": "string"
|
|
3056
|
-
},
|
|
3057
|
-
{
|
|
3058
|
-
"name": "current",
|
|
3059
|
-
"description": "Sets aria attribute based on [`aria-current`](https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Attributes/aria-current).",
|
|
3060
|
-
"type": "boolean | \"time\" | \"true\" | \"false\" | \"date\" | \"page\" | \"step\" | \"location\""
|
|
3061
|
-
},
|
|
3062
3068
|
{
|
|
3063
3069
|
"name": "size",
|
|
3064
3070
|
"description": "Change the size of the link",
|
|
@@ -3072,13 +3078,18 @@
|
|
|
3072
3078
|
{
|
|
3073
3079
|
"name": "variant",
|
|
3074
3080
|
"description": "Change the styling of the link. `inline` will remove the arrow. Defaults to adaptive.",
|
|
3075
|
-
"type": "\"adaptive\" | \"brand\""
|
|
3081
|
+
"type": "\"adaptive\" | \"brand\" | \"inline\""
|
|
3076
3082
|
},
|
|
3077
3083
|
{
|
|
3078
3084
|
"name": "content",
|
|
3079
3085
|
"description": "Adds a different arrow after the link to indicate external or internal link",
|
|
3080
3086
|
"type": "\"external\" | \"internal\""
|
|
3081
3087
|
},
|
|
3088
|
+
{
|
|
3089
|
+
"name": "wrap",
|
|
3090
|
+
"description": "Determines whether the text should wrap when its parent container is too small, preventing overflow.",
|
|
3091
|
+
"type": "boolean | string"
|
|
3092
|
+
},
|
|
3082
3093
|
{
|
|
3083
3094
|
"name": "text",
|
|
3084
3095
|
"description": "Alternative for default slot/children.",
|
|
@@ -3098,11 +3109,6 @@
|
|
|
3098
3109
|
"description": "[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.",
|
|
3099
3110
|
"value": { "type": "string" }
|
|
3100
3111
|
},
|
|
3101
|
-
{
|
|
3102
|
-
"name": "labelled-by",
|
|
3103
|
-
"description": "Pass `aria-labelledby` to inner element",
|
|
3104
|
-
"value": { "type": "string" }
|
|
3105
|
-
},
|
|
3106
3112
|
{
|
|
3107
3113
|
"name": "classname",
|
|
3108
3114
|
"description": "React specific for adding className to the component.",
|
|
@@ -3118,11 +3124,6 @@
|
|
|
3118
3124
|
"description": "[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.",
|
|
3119
3125
|
"type": "string"
|
|
3120
3126
|
},
|
|
3121
|
-
{
|
|
3122
|
-
"name": "labelledBy",
|
|
3123
|
-
"description": "Pass `aria-labelledby` to inner element",
|
|
3124
|
-
"type": "string"
|
|
3125
|
-
},
|
|
3126
3127
|
{
|
|
3127
3128
|
"name": "className",
|
|
3128
3129
|
"description": "React specific for adding className to the component.",
|
|
@@ -3737,16 +3738,6 @@
|
|
|
3737
3738
|
"description": "The disabled attribute can be set to keep a user from clicking on the form element.",
|
|
3738
3739
|
"value": { "type": "boolean | string" }
|
|
3739
3740
|
},
|
|
3740
|
-
{
|
|
3741
|
-
"name": "describedbyid",
|
|
3742
|
-
"description": "",
|
|
3743
|
-
"value": { "type": "string" }
|
|
3744
|
-
},
|
|
3745
|
-
{
|
|
3746
|
-
"name": "aria-described-by",
|
|
3747
|
-
"description": "Overwrites auto handling for aria-describedby.",
|
|
3748
|
-
"value": { "type": "string" }
|
|
3749
|
-
},
|
|
3750
3741
|
{
|
|
3751
3742
|
"name": "value",
|
|
3752
3743
|
"description": "The value property is to receive results from the native form element.",
|
|
@@ -3825,12 +3816,6 @@
|
|
|
3825
3816
|
"description": "The disabled attribute can be set to keep a user from clicking on the form element.",
|
|
3826
3817
|
"type": "boolean | string"
|
|
3827
3818
|
},
|
|
3828
|
-
{ "name": "describedbyid", "description": "", "type": "string" },
|
|
3829
|
-
{
|
|
3830
|
-
"name": "ariaDescribedBy",
|
|
3831
|
-
"description": "Overwrites auto handling for aria-describedby.",
|
|
3832
|
-
"type": "string"
|
|
3833
|
-
},
|
|
3834
3819
|
{
|
|
3835
3820
|
"name": "value",
|
|
3836
3821
|
"description": "The value property is to receive results from the native form element.",
|
|
@@ -4383,16 +4368,6 @@
|
|
|
4383
4368
|
"description": "The disabled attribute can be set to keep a user from clicking on the form element.",
|
|
4384
4369
|
"value": { "type": "boolean | string" }
|
|
4385
4370
|
},
|
|
4386
|
-
{
|
|
4387
|
-
"name": "describedbyid",
|
|
4388
|
-
"description": "",
|
|
4389
|
-
"value": { "type": "string" }
|
|
4390
|
-
},
|
|
4391
|
-
{
|
|
4392
|
-
"name": "aria-described-by",
|
|
4393
|
-
"description": "Overwrites auto handling for aria-describedby.",
|
|
4394
|
-
"value": { "type": "string" }
|
|
4395
|
-
},
|
|
4396
4371
|
{
|
|
4397
4372
|
"name": "validation",
|
|
4398
4373
|
"description": "Marks an input element as invalid (red) / valid (green) / no-validation (grey). Overwrites the :user-valid selector.",
|
|
@@ -4408,13 +4383,18 @@
|
|
|
4408
4383
|
"description": "When the required attribute specified, the user will be required to fill the form element before submitting the form.\nThe form element will be marked semantically as required and by default also visually with an asterisk '*' next to the label (unless the property `showRequiredAsterisk` is also set with the value `false`).",
|
|
4409
4384
|
"value": { "type": "boolean | string" }
|
|
4410
4385
|
},
|
|
4386
|
+
{
|
|
4387
|
+
"name": "icon-leading",
|
|
4388
|
+
"description": "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.",
|
|
4389
|
+
"value": { "type": "IconTypes" }
|
|
4390
|
+
},
|
|
4411
4391
|
{
|
|
4412
4392
|
"name": "icon",
|
|
4413
4393
|
"description": "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.",
|
|
4414
4394
|
"value": { "type": "IconTypes" }
|
|
4415
4395
|
},
|
|
4416
4396
|
{
|
|
4417
|
-
"name": "icon-
|
|
4397
|
+
"name": "icon-trailing",
|
|
4418
4398
|
"description": "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.",
|
|
4419
4399
|
"value": { "type": "IconTypes" }
|
|
4420
4400
|
},
|
|
@@ -4491,12 +4471,6 @@
|
|
|
4491
4471
|
"description": "The disabled attribute can be set to keep a user from clicking on the form element.",
|
|
4492
4472
|
"type": "boolean | string"
|
|
4493
4473
|
},
|
|
4494
|
-
{ "name": "describedbyid", "description": "", "type": "string" },
|
|
4495
|
-
{
|
|
4496
|
-
"name": "ariaDescribedBy",
|
|
4497
|
-
"description": "Overwrites auto handling for aria-describedby.",
|
|
4498
|
-
"type": "string"
|
|
4499
|
-
},
|
|
4500
4474
|
{
|
|
4501
4475
|
"name": "validation",
|
|
4502
4476
|
"description": "Marks an input element as invalid (red) / valid (green) / no-validation (grey). Overwrites the :user-valid selector.",
|
|
@@ -4512,13 +4486,18 @@
|
|
|
4512
4486
|
"description": "When the required attribute specified, the user will be required to fill the form element before submitting the form.\nThe form element will be marked semantically as required and by default also visually with an asterisk '*' next to the label (unless the property `showRequiredAsterisk` is also set with the value `false`).",
|
|
4513
4487
|
"type": "boolean | string"
|
|
4514
4488
|
},
|
|
4489
|
+
{
|
|
4490
|
+
"name": "iconLeading",
|
|
4491
|
+
"description": "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.",
|
|
4492
|
+
"type": "IconTypes"
|
|
4493
|
+
},
|
|
4515
4494
|
{
|
|
4516
4495
|
"name": "icon",
|
|
4517
4496
|
"description": "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.",
|
|
4518
4497
|
"type": "IconTypes"
|
|
4519
4498
|
},
|
|
4520
4499
|
{
|
|
4521
|
-
"name": "
|
|
4500
|
+
"name": "iconTrailing",
|
|
4522
4501
|
"description": "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.",
|
|
4523
4502
|
"type": "IconTypes"
|
|
4524
4503
|
},
|
|
@@ -4570,21 +4549,36 @@
|
|
|
4570
4549
|
"description": "[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.",
|
|
4571
4550
|
"value": { "type": "string" }
|
|
4572
4551
|
},
|
|
4552
|
+
{
|
|
4553
|
+
"name": "icon-leading",
|
|
4554
|
+
"description": "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.",
|
|
4555
|
+
"value": { "type": "IconTypes" }
|
|
4556
|
+
},
|
|
4573
4557
|
{
|
|
4574
4558
|
"name": "icon",
|
|
4575
4559
|
"description": "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.",
|
|
4576
4560
|
"value": { "type": "IconTypes" }
|
|
4577
4561
|
},
|
|
4578
4562
|
{
|
|
4579
|
-
"name": "icon-
|
|
4563
|
+
"name": "icon-trailing",
|
|
4580
4564
|
"description": "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.",
|
|
4581
4565
|
"value": { "type": "IconTypes" }
|
|
4582
4566
|
},
|
|
4567
|
+
{
|
|
4568
|
+
"name": "show-icon-leading",
|
|
4569
|
+
"description": "Enables or disables the visibility of the leading icon.\nFor many components this property is optional to reflect Figma properties.",
|
|
4570
|
+
"value": { "type": "boolean | string" }
|
|
4571
|
+
},
|
|
4583
4572
|
{
|
|
4584
4573
|
"name": "show-icon",
|
|
4585
4574
|
"description": "Enables or disables the visibility of the icon. The default value depends on the component.\nFor many components this property is optional to reflect Figma properties.",
|
|
4586
4575
|
"value": { "type": "boolean | string" }
|
|
4587
4576
|
},
|
|
4577
|
+
{
|
|
4578
|
+
"name": "show-icon-trailing",
|
|
4579
|
+
"description": "Enables or disables the visibility of the trailing icon.\nFor many components this property is optional to reflect Figma properties.",
|
|
4580
|
+
"value": { "type": "boolean | string" }
|
|
4581
|
+
},
|
|
4588
4582
|
{
|
|
4589
4583
|
"name": "no-text",
|
|
4590
4584
|
"description": "Define the text next to the icon specified via the icon Property to get hidden.",
|
|
@@ -4595,11 +4589,6 @@
|
|
|
4595
4589
|
"description": "The disabled attribute can be set to keep a user from clicking on the tab-item.",
|
|
4596
4590
|
"value": { "type": "boolean | string" }
|
|
4597
4591
|
},
|
|
4598
|
-
{
|
|
4599
|
-
"name": "controls",
|
|
4600
|
-
"description": "Pass `aria-controls` to inner element",
|
|
4601
|
-
"value": { "type": "string" }
|
|
4602
|
-
},
|
|
4603
4592
|
{
|
|
4604
4593
|
"name": "checked",
|
|
4605
4594
|
"description": "To control the component",
|
|
@@ -4640,21 +4629,36 @@
|
|
|
4640
4629
|
"description": "[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.",
|
|
4641
4630
|
"type": "string"
|
|
4642
4631
|
},
|
|
4632
|
+
{
|
|
4633
|
+
"name": "iconLeading",
|
|
4634
|
+
"description": "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.",
|
|
4635
|
+
"type": "IconTypes"
|
|
4636
|
+
},
|
|
4643
4637
|
{
|
|
4644
4638
|
"name": "icon",
|
|
4645
4639
|
"description": "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.",
|
|
4646
4640
|
"type": "IconTypes"
|
|
4647
4641
|
},
|
|
4648
4642
|
{
|
|
4649
|
-
"name": "
|
|
4643
|
+
"name": "iconTrailing",
|
|
4650
4644
|
"description": "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.",
|
|
4651
4645
|
"type": "IconTypes"
|
|
4652
4646
|
},
|
|
4647
|
+
{
|
|
4648
|
+
"name": "showIconLeading",
|
|
4649
|
+
"description": "Enables or disables the visibility of the leading icon.\nFor many components this property is optional to reflect Figma properties.",
|
|
4650
|
+
"type": "boolean | string"
|
|
4651
|
+
},
|
|
4653
4652
|
{
|
|
4654
4653
|
"name": "showIcon",
|
|
4655
4654
|
"description": "Enables or disables the visibility of the icon. The default value depends on the component.\nFor many components this property is optional to reflect Figma properties.",
|
|
4656
4655
|
"type": "boolean | string"
|
|
4657
4656
|
},
|
|
4657
|
+
{
|
|
4658
|
+
"name": "showIconTrailing",
|
|
4659
|
+
"description": "Enables or disables the visibility of the trailing icon.\nFor many components this property is optional to reflect Figma properties.",
|
|
4660
|
+
"type": "boolean | string"
|
|
4661
|
+
},
|
|
4658
4662
|
{
|
|
4659
4663
|
"name": "noText",
|
|
4660
4664
|
"description": "Define the text next to the icon specified via the icon Property to get hidden.",
|
|
@@ -4665,11 +4669,6 @@
|
|
|
4665
4669
|
"description": "The disabled attribute can be set to keep a user from clicking on the tab-item.",
|
|
4666
4670
|
"type": "boolean | string"
|
|
4667
4671
|
},
|
|
4668
|
-
{
|
|
4669
|
-
"name": "controls",
|
|
4670
|
-
"description": "Pass `aria-controls` to inner element",
|
|
4671
|
-
"type": "string"
|
|
4672
|
-
},
|
|
4673
4672
|
{
|
|
4674
4673
|
"name": "checked",
|
|
4675
4674
|
"description": "To control the component",
|
|
@@ -4742,11 +4741,6 @@
|
|
|
4742
4741
|
"description": "[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.",
|
|
4743
4742
|
"value": { "type": "string" }
|
|
4744
4743
|
},
|
|
4745
|
-
{
|
|
4746
|
-
"name": "labelled-by",
|
|
4747
|
-
"description": "Pass `aria-labelledby` to inner element",
|
|
4748
|
-
"value": { "type": "string" }
|
|
4749
|
-
},
|
|
4750
4744
|
{
|
|
4751
4745
|
"name": "content",
|
|
4752
4746
|
"description": "The content if you don't want to use children.",
|
|
@@ -4767,11 +4761,6 @@
|
|
|
4767
4761
|
"description": "[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.",
|
|
4768
4762
|
"type": "string"
|
|
4769
4763
|
},
|
|
4770
|
-
{
|
|
4771
|
-
"name": "labelledBy",
|
|
4772
|
-
"description": "Pass `aria-labelledby` to inner element",
|
|
4773
|
-
"type": "string"
|
|
4774
|
-
},
|
|
4775
4764
|
{
|
|
4776
4765
|
"name": "content",
|
|
4777
4766
|
"description": "The content if you don't want to use children.",
|