@db-ux/wc-core-components 4.4.2 → 4.5.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 +20 -0
- package/dist/cjs/db-accordion-item.cjs.entry.js +11 -6
- package/dist/cjs/db-accordion.cjs.entry.js +12 -8
- package/dist/cjs/db-badge.cjs.entry.js +11 -7
- package/dist/cjs/db-brand.cjs.entry.js +11 -7
- package/dist/cjs/db-button.cjs.entry.js +11 -7
- package/dist/cjs/db-card.cjs.entry.js +11 -6
- package/dist/cjs/db-checkbox.cjs.entry.js +59 -36
- package/dist/cjs/db-custom-button.cjs.entry.js +57 -0
- package/dist/cjs/db-custom-select-dropdown_5.cjs.entry.js +89 -47
- package/dist/cjs/db-custom-select-form-field.cjs.entry.js +11 -6
- package/dist/cjs/db-custom-select.cjs.entry.js +133 -110
- package/dist/cjs/db-divider.cjs.entry.js +11 -6
- package/dist/cjs/db-drawer.cjs.entry.js +12 -8
- package/dist/cjs/db-header.cjs.entry.js +13 -9
- package/dist/cjs/db-icon.cjs.entry.js +11 -6
- package/dist/cjs/db-infotext.cjs.entry.js +11 -7
- package/dist/cjs/db-link.cjs.entry.js +11 -7
- package/dist/cjs/db-navigation-item.cjs.entry.js +13 -9
- package/dist/cjs/db-navigation.cjs.entry.js +11 -6
- package/dist/cjs/db-notification.cjs.entry.js +12 -8
- package/dist/cjs/db-page.cjs.entry.js +11 -6
- package/dist/cjs/db-popover.cjs.entry.js +14 -10
- package/dist/cjs/db-radio.cjs.entry.js +39 -16
- package/dist/cjs/db-section.cjs.entry.js +11 -6
- package/dist/cjs/db-select.cjs.entry.js +54 -31
- package/dist/cjs/db-stack.cjs.entry.js +11 -6
- package/dist/cjs/db-switch.cjs.entry.js +64 -24
- package/dist/cjs/db-tab-item_3.cjs.entry.js +29 -15
- package/dist/cjs/db-tabs.cjs.entry.js +12 -8
- package/dist/cjs/db-textarea.cjs.entry.js +52 -29
- package/dist/cjs/db-tooltip.cjs.entry.js +25 -12
- package/dist/cjs/db-ux.cjs.js +3 -3
- package/dist/cjs/{document-click-listener-Bb3Tinb8.js → document-click-listener-B2-xKJv3.js} +1 -1
- package/dist/cjs/{document-scroll-listener-unypEU42.js → document-scroll-listener-ChQ7XZRk.js} +1 -1
- package/dist/cjs/{floating-components-ogUqz72V.js → floating-components-pYaTeNhp.js} +65 -15
- package/dist/cjs/{form-components-LsqVohyb.js → form-components-_ncB_U2D.js} +1 -1
- package/dist/cjs/{index-CsHqnQII.js → index-2_9ESkQu.js} +6 -7
- package/dist/cjs/{index-CEqZnn9s.js → index-CSMPhlzz.js} +2 -2
- package/dist/cjs/index.cjs.js +5 -5
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/cjs/{navigation-DauGE-qj.js → navigation-BztJmEHf.js} +1 -1
- package/dist/collection/collection-manifest.json +2 -1
- package/dist/collection/components/accordion/accordion.js +34 -6
- package/dist/collection/components/accordion-item/accordion-item.js +33 -4
- package/dist/collection/components/badge/badge.js +60 -6
- package/dist/collection/components/brand/brand.js +33 -5
- package/dist/collection/components/button/button.js +59 -5
- package/dist/collection/components/card/card.js +33 -4
- package/dist/collection/components/checkbox/checkbox.js +87 -40
- package/dist/collection/components/custom-button/custom-button.js +394 -0
- package/dist/collection/components/custom-button/index.js +2 -0
- package/dist/collection/components/custom-button/model.js +1 -0
- package/dist/collection/components/custom-select/custom-select.js +157 -110
- package/dist/collection/components/custom-select-dropdown/custom-select-dropdown.js +33 -4
- package/dist/collection/components/custom-select-form-field/custom-select-form-field.js +33 -4
- package/dist/collection/components/custom-select-list/custom-select-list.js +33 -4
- package/dist/collection/components/custom-select-list-item/custom-select-list-item.js +33 -4
- package/dist/collection/components/divider/divider.js +33 -4
- package/dist/collection/components/drawer/drawer.js +34 -6
- package/dist/collection/components/header/header.js +33 -5
- package/dist/collection/components/icon/icon.js +33 -4
- package/dist/collection/components/infotext/infotext.js +59 -5
- package/dist/collection/components/input/input.js +80 -33
- package/dist/collection/components/link/link.js +33 -5
- package/dist/collection/components/navigation/navigation.js +33 -4
- package/dist/collection/components/navigation-item/navigation-item.js +33 -5
- package/dist/collection/components/notification/notification.js +34 -6
- package/dist/collection/components/page/page.js +33 -4
- package/dist/collection/components/popover/popover.js +34 -6
- package/dist/collection/components/radio/radio.js +60 -13
- package/dist/collection/components/section/section.js +33 -4
- package/dist/collection/components/select/select.js +81 -34
- package/dist/collection/components/stack/stack.js +33 -4
- package/dist/collection/components/switch/switch.js +118 -50
- package/dist/collection/components/tab-item/tab-item.js +33 -5
- package/dist/collection/components/tab-list/tab-list.js +33 -4
- package/dist/collection/components/tab-panel/tab-panel.js +33 -4
- package/dist/collection/components/tabs/tabs.js +34 -6
- package/dist/collection/components/tag/tag.js +33 -5
- package/dist/collection/components/textarea/textarea.js +79 -32
- package/dist/collection/components/tooltip/tooltip.js +71 -8
- package/dist/collection/index.js +2 -0
- package/dist/collection/utils/floating-components.js +65 -15
- package/dist/collection/utils/index.js +6 -7
- package/dist/custom-elements.json +19735 -1796
- package/dist/db-ux/db-ux.esm.js +1 -1
- package/dist/db-ux/index.esm.js +1 -1
- package/dist/db-ux/p-00df7d53.entry.js +1 -0
- package/dist/db-ux/p-064ddad6.entry.js +1 -0
- package/dist/db-ux/p-0ff173fb.entry.js +1 -0
- package/dist/db-ux/p-1519dbbb.entry.js +1 -0
- package/dist/db-ux/p-16281dcb.entry.js +1 -0
- package/dist/db-ux/p-27eb6e88.entry.js +1 -0
- package/dist/db-ux/p-2898ebe6.entry.js +1 -0
- package/dist/db-ux/p-2e940d2e.entry.js +1 -0
- package/dist/db-ux/p-309259be.entry.js +1 -0
- package/dist/db-ux/p-4183b8e1.entry.js +1 -0
- package/dist/db-ux/p-4284c37f.entry.js +1 -0
- package/dist/db-ux/p-432ceb90.entry.js +1 -0
- package/dist/db-ux/p-503d5103.entry.js +1 -0
- package/dist/db-ux/p-6794144b.entry.js +1 -0
- package/dist/db-ux/p-6cb4232d.entry.js +1 -0
- package/dist/db-ux/p-6da70f61.entry.js +1 -0
- package/dist/db-ux/p-766057ea.entry.js +1 -0
- package/dist/db-ux/p-7a146dee.entry.js +1 -0
- package/dist/db-ux/p-7e274359.entry.js +1 -0
- package/dist/db-ux/p-Bs7RfNRP.js +2 -0
- package/dist/db-ux/p-CHLgQ9vn.js +1 -0
- package/dist/db-ux/{p-CAEpg8tJ.js → p-D5mInaY7.js} +1 -1
- package/dist/db-ux/p-D_roHmuC.js +1 -0
- package/dist/db-ux/p-DfYL98sI.js +1 -0
- package/dist/db-ux/p-aad9c604.entry.js +1 -0
- package/dist/db-ux/p-ad3d2cff.entry.js +1 -0
- package/dist/db-ux/p-b218b08b.entry.js +1 -0
- package/dist/db-ux/p-bfe27311.entry.js +1 -0
- package/dist/db-ux/p-c1cf7ea4.entry.js +1 -0
- package/dist/db-ux/{p-sP2NlPcu.js → p-cNk4ImpW.js} +1 -1
- package/dist/db-ux/p-cd8557dd.entry.js +1 -0
- package/dist/db-ux/p-d2674cff.entry.js +1 -0
- package/dist/db-ux/p-d4e79c33.entry.js +1 -0
- package/dist/db-ux/p-e19f2640.entry.js +1 -0
- package/dist/db-ux/p-e3def528.entry.js +1 -0
- package/dist/db-ux/p-e6b17374.entry.js +1 -0
- package/dist/db-ux/p-ea7219af.entry.js +1 -0
- package/dist/db-ux/p-xkoBSP8R.js +1 -0
- package/dist/esm/db-accordion-item.entry.js +11 -6
- package/dist/esm/db-accordion.entry.js +12 -8
- package/dist/esm/db-badge.entry.js +11 -7
- package/dist/esm/db-brand.entry.js +11 -7
- package/dist/esm/db-button.entry.js +11 -7
- package/dist/esm/db-card.entry.js +11 -6
- package/dist/esm/db-checkbox.entry.js +60 -37
- package/dist/esm/db-custom-button.entry.js +55 -0
- package/dist/esm/db-custom-select-dropdown_5.entry.js +90 -48
- package/dist/esm/db-custom-select-form-field.entry.js +11 -6
- package/dist/esm/db-custom-select.entry.js +134 -111
- package/dist/esm/db-divider.entry.js +11 -6
- package/dist/esm/db-drawer.entry.js +12 -8
- package/dist/esm/db-header.entry.js +13 -9
- package/dist/esm/db-icon.entry.js +11 -6
- package/dist/esm/db-infotext.entry.js +11 -7
- package/dist/esm/db-link.entry.js +11 -7
- package/dist/esm/db-navigation-item.entry.js +13 -9
- package/dist/esm/db-navigation.entry.js +11 -6
- package/dist/esm/db-notification.entry.js +12 -8
- package/dist/esm/db-page.entry.js +11 -6
- package/dist/esm/db-popover.entry.js +14 -10
- package/dist/esm/db-radio.entry.js +39 -16
- package/dist/esm/db-section.entry.js +11 -6
- package/dist/esm/db-select.entry.js +55 -32
- package/dist/esm/db-stack.entry.js +11 -6
- package/dist/esm/db-switch.entry.js +64 -24
- package/dist/esm/db-tab-item_3.entry.js +29 -15
- package/dist/esm/db-tabs.entry.js +12 -8
- package/dist/esm/db-textarea.entry.js +53 -30
- package/dist/esm/db-tooltip.entry.js +25 -12
- package/dist/esm/db-ux.js +4 -4
- package/dist/esm/{document-click-listener-CmYoXpGE.js → document-click-listener-D7W_VE5O.js} +1 -1
- package/dist/esm/{document-scroll-listener-65bHuFAN.js → document-scroll-listener-DOBe3Oa9.js} +1 -1
- package/dist/esm/{floating-components-G-TursYV.js → floating-components-DfYL98sI.js} +65 -15
- package/dist/esm/{form-components-BLsiOrPI.js → form-components-D6LQfJvq.js} +1 -1
- package/dist/esm/{index-BrThqi62.js → index-Bs7RfNRP.js} +2 -2
- package/dist/esm/{index-C4x0SOcx.js → index-xkoBSP8R.js} +6 -7
- package/dist/esm/index.js +5 -5
- package/dist/esm/loader.js +3 -3
- package/dist/esm/{navigation--UdC9CzO.js → navigation-DgsMCdfn.js} +1 -1
- package/dist/types/components/accordion/accordion.d.ts +1 -0
- package/dist/types/components/accordion-item/accordion-item.d.ts +1 -0
- package/dist/types/components/badge/badge.d.ts +2 -0
- package/dist/types/components/badge/model.d.ts +2 -2
- package/dist/types/components/brand/brand.d.ts +1 -0
- package/dist/types/components/button/button.d.ts +2 -0
- package/dist/types/components/button/model.d.ts +8 -10
- package/dist/types/components/card/card.d.ts +1 -0
- package/dist/types/components/checkbox/checkbox.d.ts +5 -1
- package/dist/types/components/custom-button/custom-button.d.ts +29 -0
- package/dist/types/components/custom-button/index.d.ts +2 -0
- package/dist/types/components/custom-button/model.d.ts +6 -0
- package/dist/types/components/custom-select/custom-select.d.ts +5 -1
- package/dist/types/components/custom-select-dropdown/custom-select-dropdown.d.ts +1 -0
- package/dist/types/components/custom-select-form-field/custom-select-form-field.d.ts +1 -0
- package/dist/types/components/custom-select-list/custom-select-list.d.ts +1 -0
- package/dist/types/components/custom-select-list-item/custom-select-list-item.d.ts +1 -0
- package/dist/types/components/divider/divider.d.ts +1 -0
- package/dist/types/components/drawer/drawer.d.ts +1 -0
- package/dist/types/components/header/header.d.ts +1 -0
- package/dist/types/components/icon/icon.d.ts +1 -0
- package/dist/types/components/infotext/infotext.d.ts +2 -0
- package/dist/types/components/infotext/model.d.ts +2 -2
- package/dist/types/components/input/input.d.ts +5 -1
- package/dist/types/components/link/link.d.ts +1 -0
- package/dist/types/components/navigation/navigation.d.ts +1 -0
- package/dist/types/components/navigation-item/navigation-item.d.ts +1 -0
- package/dist/types/components/notification/model.d.ts +2 -2
- package/dist/types/components/notification/notification.d.ts +1 -0
- package/dist/types/components/page/page.d.ts +1 -0
- package/dist/types/components/popover/popover.d.ts +1 -0
- package/dist/types/components/radio/radio.d.ts +4 -0
- package/dist/types/components/section/section.d.ts +1 -0
- package/dist/types/components/select/select.d.ts +5 -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 +7 -1
- package/dist/types/components/tab-item/tab-item.d.ts +1 -0
- package/dist/types/components/tab-list/tab-list.d.ts +1 -0
- package/dist/types/components/tab-panel/tab-panel.d.ts +1 -0
- package/dist/types/components/tabs/tabs.d.ts +1 -0
- package/dist/types/components/tag/model.d.ts +2 -6
- package/dist/types/components/tag/tag.d.ts +1 -0
- package/dist/types/components/textarea/textarea.d.ts +5 -1
- package/dist/types/components/tooltip/model.d.ts +3 -3
- package/dist/types/components/tooltip/tooltip.d.ts +3 -0
- package/dist/types/components.d.ts +146 -6
- package/dist/types/index.d.ts +2 -0
- package/dist/types/shared/model.d.ts +17 -3
- package/dist/types/stencil-public-runtime.d.ts +3 -1
- package/dist/vscode.html-custom-data.json +1981 -245
- package/dist/web-types.json +3299 -648
- package/package.json +4 -4
- package/dist/db-ux/p-07bf3657.entry.js +0 -1
- package/dist/db-ux/p-0a89cbcd.entry.js +0 -1
- package/dist/db-ux/p-15539d9d.entry.js +0 -1
- package/dist/db-ux/p-41cb4673.entry.js +0 -1
- package/dist/db-ux/p-460073dd.entry.js +0 -1
- package/dist/db-ux/p-4a9b9909.entry.js +0 -1
- package/dist/db-ux/p-4ec09cf1.entry.js +0 -1
- package/dist/db-ux/p-57205dfd.entry.js +0 -1
- package/dist/db-ux/p-5775bf7a.entry.js +0 -1
- package/dist/db-ux/p-5bcde39a.entry.js +0 -1
- package/dist/db-ux/p-6341aaa9.entry.js +0 -1
- package/dist/db-ux/p-64573104.entry.js +0 -1
- package/dist/db-ux/p-6b63156d.entry.js +0 -1
- package/dist/db-ux/p-70822a27.entry.js +0 -1
- package/dist/db-ux/p-710a430d.entry.js +0 -1
- package/dist/db-ux/p-72d712b0.entry.js +0 -1
- package/dist/db-ux/p-7b7f4d03.entry.js +0 -1
- package/dist/db-ux/p-7bd4c573.entry.js +0 -1
- package/dist/db-ux/p-819cf20a.entry.js +0 -1
- package/dist/db-ux/p-87fdbcfb.entry.js +0 -1
- package/dist/db-ux/p-9051e26c.entry.js +0 -1
- package/dist/db-ux/p-934a708c.entry.js +0 -1
- package/dist/db-ux/p-9ffa5c48.entry.js +0 -1
- package/dist/db-ux/p-BhXdfCpU.js +0 -1
- package/dist/db-ux/p-BrThqi62.js +0 -2
- package/dist/db-ux/p-C4x0SOcx.js +0 -1
- package/dist/db-ux/p-G-TursYV.js +0 -1
- package/dist/db-ux/p-RHqkTr-_.js +0 -1
- package/dist/db-ux/p-a9af70eb.entry.js +0 -1
- package/dist/db-ux/p-aa8383a3.entry.js +0 -1
- package/dist/db-ux/p-ba1f69bd.entry.js +0 -1
- package/dist/db-ux/p-d273b998.entry.js +0 -1
- package/dist/db-ux/p-da4ee6ee.entry.js +0 -1
- package/dist/db-ux/p-e584e927.entry.js +0 -1
- package/dist/db-ux/p-fe185f98.entry.js +0 -1
|
@@ -10,6 +10,7 @@ export declare class DBNotification {
|
|
|
10
10
|
private _ref;
|
|
11
11
|
close: EventEmitter<Parameters<Required<DBNotificationProps>["onClose"]>[number]> | void;
|
|
12
12
|
id: DBNotificationProps["id"];
|
|
13
|
+
propOverrides: DBNotificationProps["propOverrides"];
|
|
13
14
|
className: DBNotificationProps["className"];
|
|
14
15
|
semantic: DBNotificationProps["semantic"];
|
|
15
16
|
role: DBNotificationProps["role"];
|
|
@@ -10,6 +10,7 @@ export declare class DBPage {
|
|
|
10
10
|
documentOverflow: DBPageProps["documentOverflow"];
|
|
11
11
|
variant: DBPageProps["variant"];
|
|
12
12
|
id: DBPageProps["id"];
|
|
13
|
+
propOverrides: DBPageProps["propOverrides"];
|
|
13
14
|
className: DBPageProps["className"];
|
|
14
15
|
mainClass: DBPageProps["mainClass"];
|
|
15
16
|
fontsLoaded: boolean;
|
|
@@ -7,6 +7,7 @@ export declare class DBPopover {
|
|
|
7
7
|
private _ref;
|
|
8
8
|
placement: DBPopoverProps["placement"];
|
|
9
9
|
id: DBPopoverProps["id"];
|
|
10
|
+
propOverrides: DBPopoverProps["propOverrides"];
|
|
10
11
|
className: DBPopoverProps["className"];
|
|
11
12
|
spacing: DBPopoverProps["spacing"];
|
|
12
13
|
gap: DBPopoverProps["gap"];
|
|
@@ -8,6 +8,7 @@ import { EventEmitter } from "../../stencil-public-runtime";
|
|
|
8
8
|
export declare class DBRadio {
|
|
9
9
|
private _ref;
|
|
10
10
|
id: DBRadioProps["id"];
|
|
11
|
+
propOverrides: DBRadioProps["propOverrides"];
|
|
11
12
|
checked: DBRadioProps["checked"];
|
|
12
13
|
input: EventEmitter<Parameters<Required<DBRadioProps>["onInput"]>[number]> | void;
|
|
13
14
|
change: EventEmitter<Parameters<Required<DBRadioProps>["onChange"]>[number]> | void;
|
|
@@ -30,6 +31,7 @@ export declare class DBRadio {
|
|
|
30
31
|
handleChange(event: ChangeEvent<HTMLInputElement> | any, reset?: boolean): void;
|
|
31
32
|
handleBlur(event: InteractionEvent<HTMLInputElement> | any): void;
|
|
32
33
|
handleFocus(event: InteractionEvent<HTMLInputElement> | any): void;
|
|
34
|
+
resetIds(): void;
|
|
33
35
|
/**
|
|
34
36
|
* Passes `aria-*`, `data-*` & `class` attributes to correct child. Used in angular and stencil.
|
|
35
37
|
* @param element the ref for the component
|
|
@@ -40,6 +42,8 @@ export declare class DBRadio {
|
|
|
40
42
|
watch0(): void;
|
|
41
43
|
watch1Fn(): void;
|
|
42
44
|
watch1(): void;
|
|
45
|
+
watch2Fn(): void;
|
|
46
|
+
watch2(): void;
|
|
43
47
|
componentDidLoad(): void;
|
|
44
48
|
disconnectedCallback(): void;
|
|
45
49
|
render(): any;
|
|
@@ -6,6 +6,7 @@ import { DBSectionProps } from "./model";
|
|
|
6
6
|
export declare class DBSection {
|
|
7
7
|
private _ref;
|
|
8
8
|
id: DBSectionProps["id"];
|
|
9
|
+
propOverrides: DBSectionProps["propOverrides"];
|
|
9
10
|
className: DBSectionProps["className"];
|
|
10
11
|
spacing: DBSectionProps["spacing"];
|
|
11
12
|
width: DBSectionProps["width"];
|
|
@@ -7,8 +7,9 @@ import { EventEmitter } from "../../stencil-public-runtime";
|
|
|
7
7
|
*/
|
|
8
8
|
export declare class DBSelect {
|
|
9
9
|
private _ref;
|
|
10
|
-
id: DBSelectProps["id"];
|
|
11
10
|
invalidMessage: DBSelectProps["invalidMessage"];
|
|
11
|
+
id: DBSelectProps["id"];
|
|
12
|
+
propOverrides: DBSelectProps["propOverrides"];
|
|
12
13
|
message: DBSelectProps["message"];
|
|
13
14
|
showMessage: DBSelectProps["showMessage"];
|
|
14
15
|
placeholder: DBSelectProps["placeholder"];
|
|
@@ -57,6 +58,7 @@ export declare class DBSelect {
|
|
|
57
58
|
handleFocus(event: InteractionEvent<HTMLSelectElement> | any): void;
|
|
58
59
|
getOptionLabel(option: DBSelectOptionType): string;
|
|
59
60
|
shouldShowEmptyOption(): boolean;
|
|
61
|
+
resetIds(): void;
|
|
60
62
|
/**
|
|
61
63
|
* Passes `aria-*`, `data-*` & `class` attributes to correct child. Used in angular and stencil.
|
|
62
64
|
* @param element the ref for the component
|
|
@@ -71,6 +73,8 @@ export declare class DBSelect {
|
|
|
71
73
|
watch2(): void;
|
|
72
74
|
watch3Fn(): void;
|
|
73
75
|
watch3(): void;
|
|
76
|
+
watch4Fn(): void;
|
|
77
|
+
watch4(): void;
|
|
74
78
|
componentDidLoad(): void;
|
|
75
79
|
disconnectedCallback(): void;
|
|
76
80
|
render(): any;
|
|
@@ -6,6 +6,7 @@ import { DBStackProps } from "./model";
|
|
|
6
6
|
export declare class DBStack {
|
|
7
7
|
private _ref;
|
|
8
8
|
id: DBStackProps["id"];
|
|
9
|
+
propOverrides: DBStackProps["propOverrides"];
|
|
9
10
|
className: DBStackProps["className"];
|
|
10
11
|
gap: DBStackProps["gap"];
|
|
11
12
|
variant: DBStackProps["variant"];
|
|
@@ -9,7 +9,7 @@ export type DBSwitchDefaultProps = {
|
|
|
9
9
|
*/
|
|
10
10
|
variant?: LabelVariantHorizontalType;
|
|
11
11
|
};
|
|
12
|
-
export type DBSwitchProps = GlobalProps & ChangeEventProps<HTMLInputElement> & FocusEventProps<HTMLInputElement> & FormProps & FormCheckProps & FormMessageProps & SizeProps & IconProps & IconTrailingProps & IconLeadingProps & DBSwitchDefaultProps;
|
|
12
|
+
export type DBSwitchProps = GlobalProps & ChangeEventProps<HTMLInputElement> & FocusEventProps<HTMLInputElement> & FormProps & FormCheckProps & Omit<FormMessageProps, 'variant'> & SizeProps & IconProps & IconTrailingProps & IconLeadingProps & DBSwitchDefaultProps;
|
|
13
13
|
export type DBSwitchDefaultState = {
|
|
14
14
|
handleKeyDown: (event: GeneralKeyboardEvent<HTMLInputElement>) => void;
|
|
15
15
|
};
|
|
@@ -7,13 +7,14 @@ import { EventEmitter } from "../../stencil-public-runtime";
|
|
|
7
7
|
*/
|
|
8
8
|
export declare class DBSwitch {
|
|
9
9
|
private _ref;
|
|
10
|
+
invalidMessage: DBSwitchProps["invalidMessage"];
|
|
10
11
|
id: DBSwitchProps["id"];
|
|
12
|
+
propOverrides: DBSwitchProps["propOverrides"];
|
|
11
13
|
validation: DBSwitchProps["validation"];
|
|
12
14
|
required: DBSwitchProps["required"];
|
|
13
15
|
message: DBSwitchProps["message"];
|
|
14
16
|
showMessage: DBSwitchProps["showMessage"];
|
|
15
17
|
validMessage: DBSwitchProps["validMessage"];
|
|
16
|
-
invalidMessage: DBSwitchProps["invalidMessage"];
|
|
17
18
|
checked: DBSwitchProps["checked"];
|
|
18
19
|
change: EventEmitter<Parameters<Required<DBSwitchProps>["onChange"]>[number]> | void;
|
|
19
20
|
blur: EventEmitter<Parameters<Required<DBSwitchProps>["onBlur"]>[number]> | void;
|
|
@@ -46,6 +47,7 @@ export declare class DBSwitch {
|
|
|
46
47
|
handleBlur(event: InteractionEvent<HTMLInputElement>): void;
|
|
47
48
|
handleFocus(event: InteractionEvent<HTMLInputElement>): void;
|
|
48
49
|
handleKeyDown(event: GeneralKeyboardEvent<HTMLInputElement>): void;
|
|
50
|
+
resetIds(): void;
|
|
49
51
|
/**
|
|
50
52
|
* Passes `aria-*`, `data-*` & `class` attributes to correct child. Used in angular and stencil.
|
|
51
53
|
* @param element the ref for the component
|
|
@@ -56,6 +58,10 @@ export declare class DBSwitch {
|
|
|
56
58
|
watch0(): void;
|
|
57
59
|
watch1Fn(): void;
|
|
58
60
|
watch1(): void;
|
|
61
|
+
watch2Fn(): void;
|
|
62
|
+
watch2(): void;
|
|
63
|
+
watch3Fn(): void;
|
|
64
|
+
watch3(): void;
|
|
59
65
|
componentDidLoad(): void;
|
|
60
66
|
disconnectedCallback(): void;
|
|
61
67
|
render(): any;
|
|
@@ -11,6 +11,7 @@ export declare class DBTabItem {
|
|
|
11
11
|
change: EventEmitter<Parameters<Required<DBTabItemProps>["onChange"]>[number]> | void;
|
|
12
12
|
className: DBTabItemProps["className"];
|
|
13
13
|
id: DBTabItemProps["id"];
|
|
14
|
+
propOverrides: DBTabItemProps["propOverrides"];
|
|
14
15
|
iconLeading: DBTabItemProps["iconLeading"];
|
|
15
16
|
icon: DBTabItemProps["icon"];
|
|
16
17
|
iconTrailing: DBTabItemProps["iconTrailing"];
|
|
@@ -6,6 +6,7 @@ import { DBTabListProps } from "./model";
|
|
|
6
6
|
export declare class DBTabList {
|
|
7
7
|
private _ref;
|
|
8
8
|
id: DBTabListProps["id"];
|
|
9
|
+
propOverrides: DBTabListProps["propOverrides"];
|
|
9
10
|
className: DBTabListProps["className"];
|
|
10
11
|
/**
|
|
11
12
|
* Passes `aria-*`, `data-*` & `class` attributes to correct child. Used in angular and stencil.
|
|
@@ -7,6 +7,7 @@ export declare class DBTabPanel {
|
|
|
7
7
|
private _ref;
|
|
8
8
|
className: DBTabPanelProps["className"];
|
|
9
9
|
id: DBTabPanelProps["id"];
|
|
10
|
+
propOverrides: DBTabPanelProps["propOverrides"];
|
|
10
11
|
content: DBTabPanelProps["content"];
|
|
11
12
|
/**
|
|
12
13
|
* Passes `aria-*`, `data-*` & `class` attributes to correct child. Used in angular and stencil.
|
|
@@ -17,6 +17,7 @@ export declare class DBTabs {
|
|
|
17
17
|
indexChange: EventEmitter<Parameters<Required<DBTabsProps>["onIndexChange"]>[number]> | void;
|
|
18
18
|
tabSelect: EventEmitter<Parameters<Required<DBTabsProps>["onTabSelect"]>[number]> | void;
|
|
19
19
|
id: DBTabsProps["id"];
|
|
20
|
+
propOverrides: DBTabsProps["propOverrides"];
|
|
20
21
|
className: DBTabsProps["className"];
|
|
21
22
|
alignment: DBTabsProps["alignment"];
|
|
22
23
|
width: DBTabsProps["width"];
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ClickEvent, ContentSlotProps, EmphasisProps, GlobalProps, GlobalState, IconProps, OverflowProps, SemanticProps, ShowIconProps } from '../../shared/model';
|
|
1
|
+
import { 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 = {
|
|
@@ -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
|
-
* Define the text next to the icon specified via the icon Property to get hidden.
|
|
23
|
-
*/
|
|
24
|
-
noText?: boolean | string;
|
|
25
21
|
/**
|
|
26
22
|
* The removeButton attribute shows the cancel button.
|
|
27
23
|
*/
|
|
@@ -39,7 +35,7 @@ export type DBTagDefaultProps = {
|
|
|
39
35
|
*/
|
|
40
36
|
value?: string;
|
|
41
37
|
};
|
|
42
|
-
export type DBTagProps = DBTagDefaultProps & GlobalProps & IconProps & SemanticProps & OverflowProps & EmphasisProps & ShowIconProps & ContentSlotProps & DBTagEventsProps;
|
|
38
|
+
export type DBTagProps = DBTagDefaultProps & GlobalProps & IconProps & SemanticProps & OverflowProps & EmphasisProps & ShowIconProps & ContentSlotProps & DBTagEventsProps & NoTextProps;
|
|
43
39
|
export type DBTagDefaultState = {
|
|
44
40
|
getRemoveButtonText: () => string;
|
|
45
41
|
handleRemove: (event?: ClickEvent<HTMLButtonElement> | void) => void;
|
|
@@ -10,6 +10,7 @@ export declare class DBTag {
|
|
|
10
10
|
remove: EventEmitter<Parameters<Required<DBTagProps>["remove"]>[number]> | void;
|
|
11
11
|
removeButton: DBTagProps["removeButton"];
|
|
12
12
|
id: DBTagProps["id"];
|
|
13
|
+
propOverrides: DBTagProps["propOverrides"];
|
|
13
14
|
className: DBTagProps["className"];
|
|
14
15
|
semantic: DBTagProps["semantic"];
|
|
15
16
|
emphasis: DBTagProps["emphasis"];
|
|
@@ -7,8 +7,9 @@ import { EventEmitter } from "../../stencil-public-runtime";
|
|
|
7
7
|
*/
|
|
8
8
|
export declare class DBTextarea {
|
|
9
9
|
private _ref;
|
|
10
|
-
id: DBTextareaProps["id"];
|
|
11
10
|
invalidMessage: DBTextareaProps["invalidMessage"];
|
|
11
|
+
id: DBTextareaProps["id"];
|
|
12
|
+
propOverrides: DBTextareaProps["propOverrides"];
|
|
12
13
|
message: DBTextareaProps["message"];
|
|
13
14
|
showMessage: DBTextareaProps["showMessage"];
|
|
14
15
|
value: DBTextareaProps["value"];
|
|
@@ -59,6 +60,7 @@ export declare class DBTextarea {
|
|
|
59
60
|
handleChange(event: ChangeEvent<HTMLTextAreaElement>, reset?: boolean): void;
|
|
60
61
|
handleBlur(event: InteractionEvent<HTMLTextAreaElement> | any): void;
|
|
61
62
|
handleFocus(event: InteractionEvent<HTMLTextAreaElement> | any): void;
|
|
63
|
+
resetIds(): void;
|
|
62
64
|
/**
|
|
63
65
|
* Passes `aria-*`, `data-*` & `class` attributes to correct child. Used in angular and stencil.
|
|
64
66
|
* @param element the ref for the component
|
|
@@ -73,6 +75,8 @@ export declare class DBTextarea {
|
|
|
73
75
|
watch2(): void;
|
|
74
76
|
watch3Fn(): void;
|
|
75
77
|
watch3(): void;
|
|
78
|
+
watch4Fn(): void;
|
|
79
|
+
watch4(): void;
|
|
76
80
|
componentDidLoad(): void;
|
|
77
81
|
disconnectedCallback(): void;
|
|
78
82
|
render(): any;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ClickEventState, DocumentScrollState, EmphasisProps, GlobalProps, GlobalState, InitializedState, PlacementProps, PopoverProps, PopoverState } from '../../shared/model';
|
|
1
|
+
import { ClickEventState, DocumentScrollState, EmphasisProps, GlobalProps, GlobalState, InitializedState, PlacementProps, PopoverProps, PopoverState, ResetIdState, 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 = {
|
|
@@ -13,8 +13,8 @@ export type DBTooltipDefaultProps = {
|
|
|
13
13
|
*/
|
|
14
14
|
variant?: TooltipVariantType;
|
|
15
15
|
};
|
|
16
|
-
export type DBTooltipProps = DBTooltipDefaultProps & GlobalProps & EmphasisProps & PlacementProps & PopoverProps;
|
|
16
|
+
export type DBTooltipProps = DBTooltipDefaultProps & GlobalProps & EmphasisProps & PlacementProps & PopoverProps & WrapProps;
|
|
17
17
|
export type DBTooltipDefaultState = {
|
|
18
18
|
getParent: () => HTMLElement;
|
|
19
19
|
};
|
|
20
|
-
export type DBTooltipState = DBTooltipDefaultState & GlobalState & ClickEventState<HTMLElement> & PopoverState & InitializedState & DocumentScrollState;
|
|
20
|
+
export type DBTooltipState = DBTooltipDefaultState & GlobalState & ClickEventState<HTMLElement> & PopoverState & InitializedState & DocumentScrollState & ResetIdState;
|
|
@@ -7,10 +7,12 @@ import { DBTooltipProps } from "./model";
|
|
|
7
7
|
export declare class DBTooltip {
|
|
8
8
|
private _ref;
|
|
9
9
|
id: DBTooltipProps["id"];
|
|
10
|
+
propOverrides: DBTooltipProps["propOverrides"];
|
|
10
11
|
variant: DBTooltipProps["variant"];
|
|
11
12
|
placement: DBTooltipProps["placement"];
|
|
12
13
|
className: DBTooltipProps["className"];
|
|
13
14
|
emphasis: DBTooltipProps["emphasis"];
|
|
15
|
+
wrap: DBTooltipProps["wrap"];
|
|
14
16
|
animation: DBTooltipProps["animation"];
|
|
15
17
|
delay: DBTooltipProps["delay"];
|
|
16
18
|
width: DBTooltipProps["width"];
|
|
@@ -26,6 +28,7 @@ export declare class DBTooltip {
|
|
|
26
28
|
handleDocumentScroll(event: any, parent?: HTMLElement): void;
|
|
27
29
|
handleLeave(): void;
|
|
28
30
|
handleEnter(parent?: HTMLElement): void;
|
|
31
|
+
resetIds(): void;
|
|
29
32
|
/**
|
|
30
33
|
* Passes `aria-*`, `data-*` & `class` attributes to correct child. Used in angular and stencil.
|
|
31
34
|
* @param element the ref for the component
|