@db-ux/wc-core-components 4.9.0 → 4.10.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +19 -1
- package/README.md +114 -25
- package/bundle/db-accordion-item.d.ts +11 -0
- package/bundle/db-accordion-item.js +1 -0
- package/bundle/db-accordion.d.ts +11 -0
- package/bundle/db-accordion.js +1 -0
- package/bundle/db-badge.d.ts +11 -0
- package/bundle/db-badge.js +1 -0
- package/bundle/db-brand.d.ts +11 -0
- package/bundle/db-brand.js +1 -0
- package/bundle/db-button.d.ts +11 -0
- package/bundle/db-button.js +1 -0
- package/bundle/db-card.d.ts +11 -0
- package/bundle/db-card.js +1 -0
- package/bundle/db-checkbox.d.ts +11 -0
- package/bundle/db-checkbox.js +1 -0
- package/bundle/db-custom-button.d.ts +11 -0
- package/bundle/db-custom-button.js +1 -0
- package/bundle/db-custom-select-dropdown.d.ts +11 -0
- package/bundle/db-custom-select-dropdown.js +1 -0
- package/bundle/db-custom-select-form-field.d.ts +11 -0
- package/bundle/db-custom-select-form-field.js +1 -0
- package/bundle/db-custom-select-list-item.d.ts +11 -0
- package/bundle/db-custom-select-list-item.js +1 -0
- package/bundle/db-custom-select-list.d.ts +11 -0
- package/bundle/db-custom-select-list.js +1 -0
- package/bundle/db-custom-select.d.ts +11 -0
- package/bundle/db-custom-select.js +1 -0
- package/bundle/db-divider.d.ts +11 -0
- package/bundle/db-divider.js +1 -0
- package/bundle/db-drawer.d.ts +11 -0
- package/bundle/db-drawer.js +1 -0
- package/bundle/db-header.d.ts +11 -0
- package/bundle/db-header.js +1 -0
- package/bundle/db-icon.d.ts +11 -0
- package/bundle/db-icon.js +1 -0
- package/bundle/db-infotext.d.ts +11 -0
- package/bundle/db-infotext.js +1 -0
- package/bundle/db-input.d.ts +11 -0
- package/bundle/db-input.js +1 -0
- package/bundle/db-link.d.ts +11 -0
- package/bundle/db-link.js +1 -0
- package/bundle/db-navigation-item.d.ts +11 -0
- package/bundle/db-navigation-item.js +1 -0
- package/bundle/db-navigation.d.ts +11 -0
- package/bundle/db-navigation.js +1 -0
- package/bundle/db-notification.d.ts +11 -0
- package/bundle/db-notification.js +1 -0
- package/bundle/db-page.d.ts +11 -0
- package/bundle/db-page.js +1 -0
- package/bundle/db-popover.d.ts +11 -0
- package/bundle/db-popover.js +1 -0
- package/bundle/db-radio.d.ts +11 -0
- package/bundle/db-radio.js +1 -0
- package/bundle/db-section.d.ts +11 -0
- package/bundle/db-section.js +1 -0
- package/bundle/db-select.d.ts +11 -0
- package/bundle/db-select.js +1 -0
- package/bundle/db-stack.d.ts +11 -0
- package/bundle/db-stack.js +1 -0
- package/bundle/db-switch.d.ts +11 -0
- package/bundle/db-switch.js +1 -0
- package/bundle/db-tab-item.d.ts +11 -0
- package/bundle/db-tab-item.js +1 -0
- package/bundle/db-tab-list.d.ts +11 -0
- package/bundle/db-tab-list.js +1 -0
- package/bundle/db-tab-panel.d.ts +11 -0
- package/bundle/db-tab-panel.js +1 -0
- package/bundle/db-tabs.d.ts +11 -0
- package/bundle/db-tabs.js +1 -0
- package/bundle/db-tag.d.ts +11 -0
- package/bundle/db-tag.js +1 -0
- package/bundle/db-textarea.d.ts +11 -0
- package/bundle/db-textarea.js +1 -0
- package/bundle/db-tooltip.d.ts +11 -0
- package/bundle/db-tooltip.js +1 -0
- package/bundle/index.d.ts +47 -0
- package/bundle/index.js +1 -0
- package/bundle/p-4TaCoruo.js +1 -0
- package/bundle/p-4nwUOzw7.js +1 -0
- package/bundle/p-BJJFATCC.js +1 -0
- package/bundle/p-BdL-nI5y.js +1 -0
- package/bundle/p-BuBrj57D.js +1 -0
- package/bundle/p-CCbaTFJ9.js +1 -0
- package/bundle/p-CEiQBevg.js +1 -0
- package/bundle/p-CV8l9qaA.js +1 -0
- package/bundle/p-CmqAwQNR.js +1 -0
- package/bundle/p-D4Ym01qf.js +1 -0
- package/bundle/p-DE_eDJiD.js +1 -0
- package/bundle/p-DOPXnIzL.js +1 -0
- package/bundle/p-DS39nEhJ.js +1 -0
- package/bundle/p-DVYa1bHg.js +1 -0
- package/bundle/p-DwwxAylo.js +1 -0
- package/bundle/p-QNp8H1KD.js +1 -0
- package/bundle/p-_2t1bnPD.js +1 -0
- package/bundle/p-bzxfqhtq.js +1 -0
- package/bundle/p-e18AQLns.js +1 -0
- package/dist/cjs/db-accordion-item.cjs.entry.js +26 -4
- package/dist/cjs/db-accordion.cjs.entry.js +10 -3
- package/dist/cjs/db-badge.cjs.entry.js +10 -3
- package/dist/cjs/db-brand.cjs.entry.js +10 -3
- package/dist/cjs/db-button.cjs.entry.js +10 -3
- package/dist/cjs/db-card.cjs.entry.js +10 -3
- package/dist/cjs/db-checkbox.cjs.entry.js +10 -3
- package/dist/cjs/db-custom-button.cjs.entry.js +10 -3
- package/dist/cjs/db-custom-select-dropdown_5.cjs.entry.js +45 -10
- package/dist/cjs/db-custom-select-form-field.cjs.entry.js +10 -3
- package/dist/cjs/db-custom-select.cjs.entry.js +13 -6
- package/dist/cjs/db-divider.cjs.entry.js +9 -2
- package/dist/cjs/db-drawer.cjs.entry.js +14 -7
- package/dist/cjs/db-header.cjs.entry.js +10 -3
- package/dist/cjs/db-icon.cjs.entry.js +10 -3
- package/dist/cjs/db-infotext.cjs.entry.js +10 -3
- package/dist/cjs/db-link.cjs.entry.js +10 -3
- package/dist/cjs/db-navigation-item.cjs.entry.js +11 -3
- package/dist/cjs/db-navigation.cjs.entry.js +10 -3
- package/dist/cjs/db-notification.cjs.entry.js +10 -3
- package/dist/cjs/db-page.cjs.entry.js +10 -3
- package/dist/cjs/db-popover.cjs.entry.js +10 -3
- package/dist/cjs/db-radio.cjs.entry.js +10 -3
- package/dist/cjs/db-section.cjs.entry.js +10 -3
- package/dist/cjs/db-select.cjs.entry.js +10 -3
- package/dist/cjs/db-stack.cjs.entry.js +10 -3
- package/dist/cjs/db-switch.cjs.entry.js +10 -3
- package/dist/cjs/db-tab-item_3.cjs.entry.js +28 -7
- package/dist/cjs/db-tabs.cjs.entry.js +10 -3
- package/dist/cjs/db-textarea.cjs.entry.js +10 -3
- package/dist/cjs/db-tooltip.cjs.entry.js +10 -3
- package/dist/cjs/db-ux.cjs.js +2 -2
- package/dist/cjs/{index-BoC-BWt4.js → index-DLuhzJ0p.js} +1 -0
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/collection/components/accordion/accordion.js +9 -2
- package/dist/collection/components/accordion-item/accordion-item.js +53 -5
- package/dist/collection/components/badge/badge.js +9 -2
- package/dist/collection/components/brand/brand.js +9 -2
- package/dist/collection/components/button/button.js +10 -3
- package/dist/collection/components/card/card.js +10 -3
- package/dist/collection/components/checkbox/checkbox.js +10 -3
- package/dist/collection/components/custom-button/custom-button.js +9 -2
- package/dist/collection/components/custom-select/custom-select.js +13 -6
- package/dist/collection/components/custom-select-dropdown/custom-select-dropdown.js +9 -2
- package/dist/collection/components/custom-select-form-field/custom-select-form-field.js +9 -2
- package/dist/collection/components/custom-select-list/custom-select-list.js +9 -2
- package/dist/collection/components/custom-select-list-item/custom-select-list-item.js +9 -2
- package/dist/collection/components/divider/divider.js +8 -1
- package/dist/collection/components/drawer/drawer.js +15 -8
- package/dist/collection/components/header/header.js +20 -13
- package/dist/collection/components/icon/icon.js +9 -2
- package/dist/collection/components/infotext/infotext.js +9 -2
- package/dist/collection/components/input/input.js +10 -3
- package/dist/collection/components/link/link.js +9 -2
- package/dist/collection/components/navigation/navigation.js +9 -2
- package/dist/collection/components/navigation-item/navigation-item.js +37 -3
- package/dist/collection/components/notification/notification.js +10 -3
- package/dist/collection/components/page/page.js +9 -2
- package/dist/collection/components/popover/popover.js +9 -2
- package/dist/collection/components/radio/radio.js +10 -3
- package/dist/collection/components/section/section.js +9 -2
- package/dist/collection/components/select/select.js +10 -3
- package/dist/collection/components/stack/stack.js +9 -2
- package/dist/collection/components/switch/switch.js +10 -3
- package/dist/collection/components/tab-item/tab-item.js +10 -3
- package/dist/collection/components/tab-list/tab-list.js +9 -2
- package/dist/collection/components/tab-panel/tab-panel.js +9 -2
- package/dist/collection/components/tabs/tabs.js +10 -3
- package/dist/collection/components/tag/tag.js +10 -3
- package/dist/collection/components/textarea/textarea.js +10 -3
- package/dist/collection/components/tooltip/tooltip.js +9 -2
- package/dist/custom-elements.json +2276 -36
- package/dist/db-ux/db-ux.esm.js +1 -1
- package/dist/db-ux/p-0ae85978.entry.js +1 -0
- package/dist/db-ux/p-13afb969.entry.js +1 -0
- package/dist/db-ux/p-174d2486.entry.js +1 -0
- package/dist/db-ux/p-28c257d5.entry.js +1 -0
- package/dist/db-ux/p-293510ca.entry.js +1 -0
- package/dist/db-ux/p-331ad11c.entry.js +1 -0
- package/dist/db-ux/p-339a6ca0.entry.js +1 -0
- package/dist/db-ux/p-34e21986.entry.js +1 -0
- package/dist/db-ux/p-368d25ab.entry.js +1 -0
- package/dist/db-ux/p-4580938f.entry.js +1 -0
- package/dist/db-ux/p-47910fdc.entry.js +1 -0
- package/dist/db-ux/p-5d2e2a8d.entry.js +1 -0
- package/dist/db-ux/p-691ae341.entry.js +1 -0
- package/dist/db-ux/p-7c58337d.entry.js +1 -0
- package/dist/db-ux/p-7f4d00df.entry.js +1 -0
- package/dist/db-ux/p-9712c9c9.entry.js +1 -0
- package/dist/db-ux/p-9b907b56.entry.js +1 -0
- package/dist/db-ux/p-9c3ff50e.entry.js +1 -0
- package/dist/db-ux/p-Cr2cgn5B.js +2 -0
- package/dist/db-ux/p-a56886ea.entry.js +1 -0
- package/dist/db-ux/p-a617da42.entry.js +1 -0
- package/dist/db-ux/p-aad0c4ef.entry.js +1 -0
- package/dist/db-ux/p-ae3183f0.entry.js +1 -0
- package/dist/db-ux/p-ae457f95.entry.js +1 -0
- package/dist/db-ux/p-b1e7ba0f.entry.js +1 -0
- package/dist/db-ux/p-cac5b161.entry.js +1 -0
- package/dist/db-ux/p-dcf02351.entry.js +1 -0
- package/dist/db-ux/p-e46dc907.entry.js +1 -0
- package/dist/db-ux/p-f27c6655.entry.js +1 -0
- package/dist/db-ux/p-f583f756.entry.js +1 -0
- package/dist/db-ux/p-f65e1db8.entry.js +1 -0
- package/dist/db-ux/p-fe5d3eb6.entry.js +1 -0
- package/dist/esm/db-accordion-item.entry.js +27 -5
- package/dist/esm/db-accordion.entry.js +10 -3
- package/dist/esm/db-badge.entry.js +10 -3
- package/dist/esm/db-brand.entry.js +10 -3
- package/dist/esm/db-button.entry.js +10 -3
- package/dist/esm/db-card.entry.js +10 -3
- package/dist/esm/db-checkbox.entry.js +10 -3
- package/dist/esm/db-custom-button.entry.js +10 -3
- package/dist/esm/db-custom-select-dropdown_5.entry.js +45 -10
- package/dist/esm/db-custom-select-form-field.entry.js +10 -3
- package/dist/esm/db-custom-select.entry.js +13 -6
- package/dist/esm/db-divider.entry.js +9 -2
- package/dist/esm/db-drawer.entry.js +15 -8
- package/dist/esm/db-header.entry.js +10 -3
- package/dist/esm/db-icon.entry.js +10 -3
- package/dist/esm/db-infotext.entry.js +10 -3
- package/dist/esm/db-link.entry.js +10 -3
- package/dist/esm/db-navigation-item.entry.js +11 -3
- package/dist/esm/db-navigation.entry.js +10 -3
- package/dist/esm/db-notification.entry.js +10 -3
- package/dist/esm/db-page.entry.js +10 -3
- package/dist/esm/db-popover.entry.js +10 -3
- package/dist/esm/db-radio.entry.js +10 -3
- package/dist/esm/db-section.entry.js +10 -3
- package/dist/esm/db-select.entry.js +10 -3
- package/dist/esm/db-stack.entry.js +10 -3
- package/dist/esm/db-switch.entry.js +10 -3
- package/dist/esm/db-tab-item_3.entry.js +28 -7
- package/dist/esm/db-tabs.entry.js +10 -3
- package/dist/esm/db-textarea.entry.js +10 -3
- package/dist/esm/db-tooltip.entry.js +10 -3
- package/dist/esm/db-ux.js +3 -3
- package/dist/esm/{index-K4o-AcjZ.js → index-Cr2cgn5B.js} +1 -1
- package/dist/esm/loader.js +3 -3
- package/dist/types/components/accordion/accordion.d.ts +1 -0
- package/dist/types/components/accordion/model.d.ts +2 -2
- package/dist/types/components/accordion-item/accordion-item.d.ts +4 -0
- package/dist/types/components/accordion-item/model.d.ts +5 -1
- package/dist/types/components/badge/badge.d.ts +1 -0
- package/dist/types/components/badge/model.d.ts +1 -1
- package/dist/types/components/brand/brand.d.ts +1 -0
- package/dist/types/components/brand/model.d.ts +1 -1
- package/dist/types/components/button/button.d.ts +1 -0
- package/dist/types/components/button/model.d.ts +1 -1
- package/dist/types/components/card/card.d.ts +1 -0
- package/dist/types/components/card/model.d.ts +1 -1
- package/dist/types/components/checkbox/checkbox.d.ts +1 -0
- package/dist/types/components/checkbox/model.d.ts +1 -1
- package/dist/types/components/custom-button/custom-button.d.ts +1 -0
- package/dist/types/components/custom-button/model.d.ts +2 -2
- package/dist/types/components/custom-select/custom-select.d.ts +1 -0
- package/dist/types/components/custom-select/model.d.ts +4 -4
- package/dist/types/components/custom-select-dropdown/custom-select-dropdown.d.ts +1 -0
- package/dist/types/components/custom-select-dropdown/model.d.ts +1 -1
- package/dist/types/components/custom-select-form-field/custom-select-form-field.d.ts +1 -0
- package/dist/types/components/custom-select-form-field/model.d.ts +1 -1
- package/dist/types/components/custom-select-list/custom-select-list.d.ts +1 -0
- package/dist/types/components/custom-select-list/model.d.ts +1 -1
- package/dist/types/components/custom-select-list-item/custom-select-list-item.d.ts +1 -0
- package/dist/types/components/custom-select-list-item/model.d.ts +1 -1
- package/dist/types/components/divider/divider.d.ts +1 -0
- package/dist/types/components/divider/model.d.ts +1 -1
- package/dist/types/components/drawer/drawer.d.ts +1 -0
- package/dist/types/components/drawer/model.d.ts +1 -1
- package/dist/types/components/header/header.d.ts +3 -2
- package/dist/types/components/header/model.d.ts +1 -1
- package/dist/types/components/icon/icon.d.ts +1 -0
- package/dist/types/components/icon/model.d.ts +1 -1
- package/dist/types/components/infotext/infotext.d.ts +1 -0
- package/dist/types/components/infotext/model.d.ts +1 -1
- package/dist/types/components/input/input.d.ts +1 -0
- package/dist/types/components/input/model.d.ts +1 -1
- package/dist/types/components/link/link.d.ts +1 -0
- package/dist/types/components/link/model.d.ts +1 -1
- package/dist/types/components/navigation/model.d.ts +1 -1
- package/dist/types/components/navigation/navigation.d.ts +1 -0
- package/dist/types/components/navigation-item/model.d.ts +6 -2
- package/dist/types/components/navigation-item/navigation-item.d.ts +2 -0
- package/dist/types/components/notification/model.d.ts +1 -1
- package/dist/types/components/notification/notification.d.ts +1 -0
- package/dist/types/components/page/model.d.ts +1 -1
- package/dist/types/components/page/page.d.ts +1 -0
- package/dist/types/components/popover/model.d.ts +1 -1
- package/dist/types/components/popover/popover.d.ts +1 -0
- package/dist/types/components/radio/model.d.ts +1 -1
- package/dist/types/components/radio/radio.d.ts +1 -0
- package/dist/types/components/section/model.d.ts +1 -1
- package/dist/types/components/section/section.d.ts +1 -0
- package/dist/types/components/select/model.d.ts +1 -1
- package/dist/types/components/select/select.d.ts +1 -0
- package/dist/types/components/stack/model.d.ts +1 -1
- package/dist/types/components/stack/stack.d.ts +1 -0
- package/dist/types/components/switch/model.d.ts +1 -1
- package/dist/types/components/switch/switch.d.ts +1 -0
- package/dist/types/components/tab-item/model.d.ts +1 -1
- package/dist/types/components/tab-item/tab-item.d.ts +1 -0
- package/dist/types/components/tab-list/model.d.ts +1 -1
- package/dist/types/components/tab-list/tab-list.d.ts +1 -0
- package/dist/types/components/tab-panel/model.d.ts +1 -1
- package/dist/types/components/tab-panel/tab-panel.d.ts +1 -0
- package/dist/types/components/tabs/model.d.ts +3 -3
- package/dist/types/components/tabs/tabs.d.ts +1 -0
- package/dist/types/components/tag/model.d.ts +1 -1
- package/dist/types/components/tag/tag.d.ts +1 -0
- package/dist/types/components/textarea/model.d.ts +1 -1
- package/dist/types/components/textarea/textarea.d.ts +1 -0
- package/dist/types/components/tooltip/model.d.ts +1 -1
- package/dist/types/components/tooltip/tooltip.d.ts +1 -0
- package/dist/types/components.d.ts +7 -1
- package/dist/types/shared/figma.d.ts +12 -6
- package/dist/vscode.html-custom-data.json +16 -6
- package/dist/web-types.json +1032 -248
- package/package.json +15 -9
- package/dist/db-ux/p-1b5d76a8.entry.js +0 -1
- package/dist/db-ux/p-296f989b.entry.js +0 -1
- package/dist/db-ux/p-3ae13ff1.entry.js +0 -1
- package/dist/db-ux/p-43f94079.entry.js +0 -1
- package/dist/db-ux/p-54508bad.entry.js +0 -1
- package/dist/db-ux/p-55e8b0b4.entry.js +0 -1
- package/dist/db-ux/p-69a59559.entry.js +0 -1
- package/dist/db-ux/p-6e7126c6.entry.js +0 -1
- package/dist/db-ux/p-7bed4611.entry.js +0 -1
- package/dist/db-ux/p-8ce816c0.entry.js +0 -1
- package/dist/db-ux/p-8e080864.entry.js +0 -1
- package/dist/db-ux/p-K4o-AcjZ.js +0 -2
- package/dist/db-ux/p-a0eccc08.entry.js +0 -1
- package/dist/db-ux/p-a7c6ec23.entry.js +0 -1
- package/dist/db-ux/p-a82c9875.entry.js +0 -1
- package/dist/db-ux/p-ae445d5d.entry.js +0 -1
- package/dist/db-ux/p-b33abf8d.entry.js +0 -1
- package/dist/db-ux/p-b8ab2bd4.entry.js +0 -1
- package/dist/db-ux/p-bb7c59d2.entry.js +0 -1
- package/dist/db-ux/p-bc510135.entry.js +0 -1
- package/dist/db-ux/p-c85d4be6.entry.js +0 -1
- package/dist/db-ux/p-d206ac6f.entry.js +0 -1
- package/dist/db-ux/p-e22b3725.entry.js +0 -1
- package/dist/db-ux/p-e432c81f.entry.js +0 -1
- package/dist/db-ux/p-e64606e2.entry.js +0 -1
- package/dist/db-ux/p-e8ee154f.entry.js +0 -1
- package/dist/db-ux/p-efb9d9bc.entry.js +0 -1
- package/dist/db-ux/p-f35229a1.entry.js +0 -1
- package/dist/db-ux/p-f582c886.entry.js +0 -1
- package/dist/db-ux/p-f6be9a48.entry.js +0 -1
- package/dist/db-ux/p-fb39506f.entry.js +0 -1
- package/dist/db-ux/p-fb9500ba.entry.js +0 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { AlignmentProps, GlobalProps, InitializedState, InputEvent, OrientationProps, WidthProps } from '../../shared/model';
|
|
2
|
-
import { DBTabItemProps } from '../tab-item/model';
|
|
3
|
-
import { DBTabPanelProps } from '../tab-panel/model';
|
|
1
|
+
import type { AlignmentProps, GlobalProps, InitializedState, InputEvent, OrientationProps, WidthProps } from '../../shared/model';
|
|
2
|
+
import type { DBTabItemProps } from '../tab-item/model';
|
|
3
|
+
import type { DBTabPanelProps } from '../tab-panel/model';
|
|
4
4
|
export declare const TabsBehaviorList: readonly ["scrollbar", "arrows"];
|
|
5
5
|
export type TabsBehaviorType = (typeof TabsBehaviorList)[number];
|
|
6
6
|
export declare const TabsInitialSelectedModeList: readonly ["auto", "manually"];
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ClickEvent, ContentSlotProps, EmphasisProps, GlobalProps, GlobalState, IconProps, NoTextProps, OverflowProps, SemanticProps, ShowIconProps } from '../../shared/model';
|
|
1
|
+
import type { ClickEvent, ContentSlotProps, EmphasisProps, GlobalProps, GlobalState, IconProps, NoTextProps, 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 = {
|
|
@@ -6,6 +6,7 @@ import { EventEmitter } from "../../stencil-public-runtime";
|
|
|
6
6
|
* @slot content - TODO: Add description for slotContent
|
|
7
7
|
*/
|
|
8
8
|
export declare class DBTag {
|
|
9
|
+
rootElement: HTMLElement;
|
|
9
10
|
private _ref;
|
|
10
11
|
remove: EventEmitter<Parameters<Required<DBTagProps>["remove"]>[number]> | void;
|
|
11
12
|
removeButton: DBTagProps["removeButton"];
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ChangeEventProps, ChangeEventState, FocusEventProps, FocusEventState, FormMessageProps, FormProps, FormState, FormTextProps, FromValidState, GlobalProps, GlobalState, InputEventProps, InputEventState } from '../../shared/model';
|
|
1
|
+
import type { ChangeEventProps, ChangeEventState, FocusEventProps, FocusEventState, FormMessageProps, FormProps, FormState, FormTextProps, FromValidState, GlobalProps, GlobalState, InputEventProps, InputEventState } from '../../shared/model';
|
|
2
2
|
export declare const TextareaResizeList: readonly ["none", "both", "horizontal", "vertical"];
|
|
3
3
|
export type TextareaResizeType = (typeof TextareaResizeList)[number];
|
|
4
4
|
export declare const TextareaWrapList: readonly ["hard", "soft", "off"];
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ClickEventState, DocumentScrollState, EmphasisProps, GlobalProps, GlobalState, InitializedState, PlacementProps, PopoverProps, PopoverState, ResetIdState, TextProps, WrapProps } from '../../shared/model';
|
|
1
|
+
import type { ClickEventState, DocumentScrollState, EmphasisProps, GlobalProps, GlobalState, InitializedState, PlacementProps, PopoverProps, PopoverState, ResetIdState, TextProps, WrapProps } from '../../shared/model';
|
|
2
2
|
export declare const TooltipVariantList: readonly ["description", "label"];
|
|
3
3
|
export type TooltipVariantType = (typeof TooltipVariantList)[number];
|
|
4
4
|
export type DBTooltipDefaultProps = {
|
|
@@ -97,6 +97,7 @@ export namespace Components {
|
|
|
97
97
|
"headlinePlain": DBAccordionItemProps["headlinePlain"];
|
|
98
98
|
"id": DBAccordionItemProps["id"];
|
|
99
99
|
"name": DBAccordionItemProps["name"];
|
|
100
|
+
"open": DBAccordionItemProps["open"];
|
|
100
101
|
"propOverrides": DBAccordionItemProps["propOverrides"];
|
|
101
102
|
"text": DBAccordionItemProps["text"];
|
|
102
103
|
}
|
|
@@ -419,6 +420,7 @@ export namespace Components {
|
|
|
419
420
|
"backButtonText": DBNavigationItemProps["backButtonText"];
|
|
420
421
|
"className": DBNavigationItemProps["className"];
|
|
421
422
|
"disabled": DBNavigationItemProps["disabled"];
|
|
423
|
+
"hideSubNavigation": DBNavigationItemProps["hideSubNavigation"];
|
|
422
424
|
"icon": DBNavigationItemProps["icon"];
|
|
423
425
|
"id": DBNavigationItemProps["id"];
|
|
424
426
|
"propOverrides": DBNavigationItemProps["propOverrides"];
|
|
@@ -1237,6 +1239,7 @@ declare namespace LocalJSX {
|
|
|
1237
1239
|
"id"?: DBAccordionItemProps["id"];
|
|
1238
1240
|
"name"?: DBAccordionItemProps["name"];
|
|
1239
1241
|
"onToggle"?: (event: DbAccordionItemCustomEvent<any>) => void;
|
|
1242
|
+
"open"?: DBAccordionItemProps["open"];
|
|
1240
1243
|
"propOverrides"?: DBAccordionItemProps["propOverrides"];
|
|
1241
1244
|
"text"?: DBAccordionItemProps["text"];
|
|
1242
1245
|
}
|
|
@@ -1575,6 +1578,7 @@ declare namespace LocalJSX {
|
|
|
1575
1578
|
"backButtonText"?: DBNavigationItemProps["backButtonText"];
|
|
1576
1579
|
"className"?: DBNavigationItemProps["className"];
|
|
1577
1580
|
"disabled"?: DBNavigationItemProps["disabled"];
|
|
1581
|
+
"hideSubNavigation"?: DBNavigationItemProps["hideSubNavigation"];
|
|
1578
1582
|
"icon"?: DBNavigationItemProps["icon"];
|
|
1579
1583
|
"id"?: DBNavigationItemProps["id"];
|
|
1580
1584
|
"onClick"?: (event: DbNavigationItemCustomEvent<any>) => void;
|
|
@@ -1853,6 +1857,7 @@ declare namespace LocalJSX {
|
|
|
1853
1857
|
interface DbAccordionItemAttributes {
|
|
1854
1858
|
"defaultOpen": DBAccordionItemProps["defaultOpen"];
|
|
1855
1859
|
"name": DBAccordionItemProps["name"];
|
|
1860
|
+
"open": string;
|
|
1856
1861
|
"id": DBAccordionItemProps["id"];
|
|
1857
1862
|
"className": DBAccordionItemProps["className"];
|
|
1858
1863
|
"disabled": string;
|
|
@@ -2044,9 +2049,9 @@ declare namespace LocalJSX {
|
|
|
2044
2049
|
"className": DBHeaderProps["className"];
|
|
2045
2050
|
"id": DBHeaderProps["id"];
|
|
2046
2051
|
"width": DBHeaderProps["width"];
|
|
2052
|
+
"burgerMenuLabel": DBHeaderProps["burgerMenuLabel"];
|
|
2047
2053
|
"closeButtonId": DBHeaderProps["closeButtonId"];
|
|
2048
2054
|
"closeButtonText": DBHeaderProps["closeButtonText"];
|
|
2049
|
-
"burgerMenuLabel": DBHeaderProps["burgerMenuLabel"];
|
|
2050
2055
|
}
|
|
2051
2056
|
interface DbIconAttributes {
|
|
2052
2057
|
"id": DBIconProps["id"];
|
|
@@ -2148,6 +2153,7 @@ declare namespace LocalJSX {
|
|
|
2148
2153
|
"active": DBNavigationItemProps["active"];
|
|
2149
2154
|
"wrap": string;
|
|
2150
2155
|
"disabled": string;
|
|
2156
|
+
"hideSubNavigation": string;
|
|
2151
2157
|
"text": DBNavigationItemProps["text"];
|
|
2152
2158
|
"backButtonId": DBNavigationItemProps["backButtonId"];
|
|
2153
2159
|
"backButtonText": DBNavigationItemProps["backButtonText"];
|
|
@@ -12,6 +12,12 @@ export type FigmaEnumProp = {
|
|
|
12
12
|
key: string;
|
|
13
13
|
/** Map of Figma variant value → code value. Values can be strings, booleans, numbers, or instance swaps. */
|
|
14
14
|
value: Record<string, string | boolean | number | FigmaInstanceProp>;
|
|
15
|
+
/**
|
|
16
|
+
* Optional Figma boolean property key that guards this prop.
|
|
17
|
+
* When set, the resolved value is only emitted if getPropertyValue(guardKey) === 'True'.
|
|
18
|
+
* Useful for icon swaps that are only present when a show-flag is enabled.
|
|
19
|
+
*/
|
|
20
|
+
guardKey?: string;
|
|
15
21
|
};
|
|
16
22
|
/** A simple scalar prop. */
|
|
17
23
|
export type FigmaSimpleProp = {
|
|
@@ -86,19 +92,19 @@ export type FigmaConnectedInstancesProp = {
|
|
|
86
92
|
*/
|
|
87
93
|
export type FigmaNestedConnectedInstancesProp = {
|
|
88
94
|
type: 'nestedConnectedInstances';
|
|
89
|
-
/** Import string to filter by (e.g. 'DBAccordionItem'). Only instances whose template nestedImports contain this string are included. */
|
|
90
|
-
filter
|
|
95
|
+
/** Import string to filter by (e.g. 'DBAccordionItem'). Only instances whose template nestedImports contain this string are included. When omitted, all connected instances are included. */
|
|
96
|
+
filter?: string;
|
|
91
97
|
};
|
|
92
98
|
/**
|
|
93
|
-
* Wraps an iconSwap prop so it is only rendered when a boolean
|
|
94
|
-
* Generates: let icon = ''; if (
|
|
99
|
+
* Wraps an iconSwap prop so it is only rendered when a boolean Figma property is enabled.
|
|
100
|
+
* Generates: let icon = ''; if (getPropertyValue(guardKey) === true || getPropertyValue(guardKey) === 'True') { icon = `\n\t\ticon="${iconLeading}"` }
|
|
95
101
|
*/
|
|
96
102
|
export type FigmaConditionalProp = {
|
|
97
103
|
type: 'conditionalProp';
|
|
98
104
|
/** The Figma property key of the icon instance swap. */
|
|
99
105
|
key: string;
|
|
100
|
-
/** The
|
|
101
|
-
|
|
106
|
+
/** The Figma boolean property key that guards this prop (e.g. 'Show Icon Leading'). */
|
|
107
|
+
guardKey: string;
|
|
102
108
|
/** The attribute name to render (e.g. 'icon'). */
|
|
103
109
|
attrName: string;
|
|
104
110
|
};
|
|
@@ -16,6 +16,11 @@
|
|
|
16
16
|
"description": "The name attribute gives the name of the element to group it.",
|
|
17
17
|
"values": []
|
|
18
18
|
},
|
|
19
|
+
{
|
|
20
|
+
"name": "open",
|
|
21
|
+
"description": "State for the accordion item",
|
|
22
|
+
"values": []
|
|
23
|
+
},
|
|
19
24
|
{
|
|
20
25
|
"name": "id",
|
|
21
26
|
"values": [{ "name": "DBAccordionItemProps[\"id\"]" }]
|
|
@@ -1556,7 +1561,7 @@
|
|
|
1556
1561
|
},
|
|
1557
1562
|
{
|
|
1558
1563
|
"name": "db-header",
|
|
1559
|
-
"description": "\n---\n\n\n### **Events:**\n - **toggle**\n\n### **Slots:**\n - **children** - This is a default/unnamed slot\n- **metaNavigation** - Slot to pass in a meta navigation.\n- Desktop: Above the regular header\n- Mobile: Inside the drawer\n- **
|
|
1564
|
+
"description": "\n---\n\n\n### **Events:**\n - **toggle**\n\n### **Slots:**\n - **children** - This is a default/unnamed slot\n- **metaNavigation** - Slot to pass in a meta navigation.\n- Desktop: Above the regular header\n- Mobile: Inside the drawer\n- **brand** - Slot to pass in the DBBrand component\n- **primaryAction** - Slot to pass one or more elements like DBButton (e.g. search) as primary action.\n- Desktop: Shown next to the main-navigation\n- Mobile: Shown next to the brand\n- **secondaryAction** - Slot to pass one or more elements like DBButton (e.g. profile, language, etc.) as secondary action.\n- Desktop: Shown separated by divider at the end of the header\n- Mobile: Shown inside the drawer at the bottom.",
|
|
1560
1565
|
"attributes": [
|
|
1561
1566
|
{
|
|
1562
1567
|
"name": "force-mobile",
|
|
@@ -1587,6 +1592,11 @@
|
|
|
1587
1592
|
{ "name": "small" }
|
|
1588
1593
|
]
|
|
1589
1594
|
},
|
|
1595
|
+
{
|
|
1596
|
+
"name": "burger-menu-label",
|
|
1597
|
+
"description": "This attribute sets the label for the burger menu button for mobile headers.",
|
|
1598
|
+
"values": []
|
|
1599
|
+
},
|
|
1590
1600
|
{
|
|
1591
1601
|
"name": "close-button-id",
|
|
1592
1602
|
"description": "The closeButtonId attribute changes the id inside the close button.",
|
|
@@ -1596,11 +1606,6 @@
|
|
|
1596
1606
|
"name": "close-button-text",
|
|
1597
1607
|
"description": "The closeButtonText attribute changes the text inside the close button.",
|
|
1598
1608
|
"values": []
|
|
1599
|
-
},
|
|
1600
|
-
{
|
|
1601
|
-
"name": "burger-menu-label",
|
|
1602
|
-
"description": "This attribute sets the label for the burger menu button for mobile headers.",
|
|
1603
|
-
"values": []
|
|
1604
1609
|
}
|
|
1605
1610
|
],
|
|
1606
1611
|
"references": []
|
|
@@ -1823,6 +1828,11 @@
|
|
|
1823
1828
|
"description": "The disabled attribute can be set to [keep a user from clicking on the item](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/button#disabled).",
|
|
1824
1829
|
"values": []
|
|
1825
1830
|
},
|
|
1831
|
+
{
|
|
1832
|
+
"name": "hide-sub-navigation",
|
|
1833
|
+
"description": "Force hide sub-navigation - for web component output",
|
|
1834
|
+
"values": []
|
|
1835
|
+
},
|
|
1826
1836
|
{
|
|
1827
1837
|
"name": "text",
|
|
1828
1838
|
"description": "Alternative for default slot/children. Do not use together with a text children/slot, as both will be rendered and result in duplicate labels.",
|