@rededor/cura 1.2.0 → 1.3.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/{app-globals-4d07f363.js → app-globals-f33ceef8.js} +32 -1
- package/dist/cjs/app-globals-f33ceef8.js.map +1 -0
- package/dist/cjs/cura-accordion_12.cjs.entry.js +39 -38
- package/dist/cjs/cura-accordion_12.cjs.entry.js.map +1 -1
- package/dist/cjs/cura-alert.cjs.entry.js +3 -2
- package/dist/cjs/cura-alert.cjs.entry.js.map +1 -1
- package/dist/cjs/cura-avatar.cjs.entry.js +1 -1
- package/dist/cjs/cura-badge-distance.cjs.entry.js +1 -1
- package/dist/cjs/cura-badge-number.cjs.entry.js +2 -2
- package/dist/cjs/cura-badge-number.cjs.entry.js.map +1 -1
- package/dist/cjs/cura-button-outline.cjs.entry.js +1 -1
- package/dist/cjs/cura-button-select.cjs.entry.js +17 -9
- package/dist/cjs/cura-button-select.cjs.entry.js.map +1 -1
- package/dist/cjs/cura-button-transparent.cjs.entry.js +1 -1
- package/dist/cjs/cura-calendar.cjs.entry.js +2 -2
- package/dist/cjs/cura-calendar.cjs.entry.js.map +1 -1
- package/dist/cjs/cura-card.cjs.entry.js +1 -1
- package/dist/cjs/cura-checkbox.cjs.entry.js +1 -1
- package/dist/cjs/cura-display.cjs.entry.js +1 -1
- package/dist/cjs/cura-dropdown-search-option-title.cjs.entry.js +1 -1
- package/dist/cjs/cura-dropdown-search-option.cjs.entry.js +2 -2
- package/dist/cjs/cura-dropdown-search.cjs.entry.js +21 -11
- package/dist/cjs/cura-dropdown-search.cjs.entry.js.map +1 -1
- package/dist/cjs/cura-icons-view.cjs.entry.js +3 -3
- package/dist/cjs/cura-input-date.cjs.entry.js +45 -45
- package/dist/cjs/cura-input-date.cjs.entry.js.map +1 -1
- package/dist/cjs/cura-loader-bar.cjs.entry.js +1 -1
- package/dist/cjs/cura-radio.cjs.entry.js +1 -1
- package/dist/cjs/cura-switch.cjs.entry.js +1 -1
- package/dist/cjs/cura-toast.cjs.entry.js +1 -1
- package/dist/cjs/cura-tooltip.cjs.entry.js +232 -0
- package/dist/cjs/cura-tooltip.cjs.entry.js.map +1 -0
- package/dist/cjs/cura.cjs.js +2 -2
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/collection/api/theme-presets/theme-presets.js +2 -0
- package/dist/collection/api/theme-presets/theme-presets.js.map +1 -1
- package/dist/collection/api/theme-presets/theme-richet.js +32 -0
- package/dist/collection/api/theme-presets/theme-richet.js.map +1 -0
- package/dist/collection/collection-manifest.json +1 -0
- package/dist/collection/components/accordion/cura-accordion/cura-accordion.css +0 -6
- package/dist/collection/components/accordion/cura-accordion/cura-accordion.js +41 -43
- package/dist/collection/components/accordion/cura-accordion/cura-accordion.js.map +1 -1
- package/dist/collection/components/accordion/cura-accordion/cura-accordion.stories.js +54 -36
- package/dist/collection/components/accordion/cura-accordion/cura-accordion.stories.js.map +1 -1
- package/dist/collection/components/accordion/cura-accordion-item/cura-accordion-item.css +61 -60
- package/dist/collection/components/accordion/cura-accordion-item/cura-accordion-item.js +41 -23
- package/dist/collection/components/accordion/cura-accordion-item/cura-accordion-item.js.map +1 -1
- package/dist/collection/components/badges/cura-badge-distance/cura-badge-distance.js +1 -1
- package/dist/collection/components/badges/cura-badge-number/cura-badge-number.css +0 -2
- package/dist/collection/components/badges/cura-badge-number/cura-badge-number.js +1 -1
- package/dist/collection/components/badges/cura-badge-number/cura-badge-number.js.map +1 -1
- package/dist/collection/components/buttons/cura-button/cura-button.js +1 -1
- package/dist/collection/components/buttons/cura-button-outline/cura-button-outline.js +1 -1
- package/dist/collection/components/buttons/cura-button-select/cura-button-select.css +36 -2
- package/dist/collection/components/buttons/cura-button-select/cura-button-select.js +39 -11
- package/dist/collection/components/buttons/cura-button-select/cura-button-select.js.map +1 -1
- package/dist/collection/components/buttons/cura-button-select/cura-button-select.stories.js +18 -7
- package/dist/collection/components/buttons/cura-button-select/cura-button-select.stories.js.map +1 -1
- package/dist/collection/components/buttons/cura-button-transparent/cura-button-transparent.js +1 -1
- package/dist/collection/components/cura-alert/cura-alert.css +25 -11
- package/dist/collection/components/cura-alert/cura-alert.js +2 -1
- package/dist/collection/components/cura-alert/cura-alert.js.map +1 -1
- package/dist/collection/components/cura-avatar/cura-avatar.js +1 -1
- package/dist/collection/components/cura-calendar/cura-calendar.css +1 -0
- package/dist/collection/components/cura-calendar/cura-calendar.js +1 -1
- package/dist/collection/components/cura-card/cura-card.js +1 -1
- package/dist/collection/components/cura-icon/cura-icon.js +1 -1
- package/dist/collection/components/cura-icons-view/cura-icons-view.js +3 -3
- package/dist/collection/components/cura-page-template/cura-page-template.js +1 -1
- package/dist/collection/components/cura-toast/cura-toast.js +1 -1
- package/dist/collection/components/cura-tooltip/cura-tooltip.css +159 -0
- package/dist/collection/components/cura-tooltip/cura-tooltip.js +397 -0
- package/dist/collection/components/cura-tooltip/cura-tooltip.js.map +1 -0
- package/dist/collection/components/cura-tooltip/cura-tooltip.stories.js +137 -0
- package/dist/collection/components/cura-tooltip/cura-tooltip.stories.js.map +1 -0
- package/dist/collection/components/forms/cura-checkbox/cura-checkbox.js +1 -1
- package/dist/collection/components/forms/cura-dropdown-search/cura-dropdown-search-option/cura-dropdown-search-option.js +2 -2
- package/dist/collection/components/forms/cura-dropdown-search/cura-dropdown-search-option-title/cura-dropdown-search-option-title.js +1 -1
- package/dist/collection/components/forms/cura-dropdown-search/cura-dropdown-search.css +1 -1
- package/dist/collection/components/forms/cura-dropdown-search/cura-dropdown-search.js +20 -10
- package/dist/collection/components/forms/cura-dropdown-search/cura-dropdown-search.js.map +1 -1
- package/dist/collection/components/forms/cura-input-date/cura-input-date.css +15 -0
- package/dist/collection/components/forms/cura-input-date/cura-input-date.js +69 -68
- package/dist/collection/components/forms/cura-input-date/cura-input-date.js.map +1 -1
- package/dist/collection/components/forms/cura-input-date/cura-input-date.stories.js +29 -10
- package/dist/collection/components/forms/cura-input-date/cura-input-date.stories.js.map +1 -1
- package/dist/collection/components/forms/cura-input-text/cura-input-text.js +1 -1
- package/dist/collection/components/forms/cura-label/cura-label.js +1 -1
- package/dist/collection/components/forms/cura-radio/cura-radio.js +1 -1
- package/dist/collection/components/forms/cura-select/cura-select.js +3 -3
- package/dist/collection/components/forms/cura-select-options/cura-select-option.js +1 -1
- package/dist/collection/components/forms/cura-switch/cura-switch.js +1 -1
- package/dist/collection/components/loaders/cura-loader-bar/cura-loader-bar.js +1 -1
- package/dist/collection/components/loaders/cura-loader-circle/cura-loader-circle.js +1 -1
- package/dist/collection/components/text/cura-display/cura-display.js +1 -1
- package/dist/collection/components/text/cura-heading/cura-heading.css +5 -1
- package/dist/collection/components/text/cura-heading/cura-heading.js +7 -6
- package/dist/collection/components/text/cura-heading/cura-heading.js.map +1 -1
- package/dist/collection/components/text/cura-paragraph/cura-paragraph.js +1 -1
- package/dist/components/cura-accordion-item.js +19 -12
- package/dist/components/cura-accordion-item.js.map +1 -1
- package/dist/components/cura-accordion.js +14 -15
- package/dist/components/cura-accordion.js.map +1 -1
- package/dist/components/cura-alert.js +3 -2
- package/dist/components/cura-alert.js.map +1 -1
- package/dist/components/cura-avatar.js +1 -1
- package/dist/components/cura-badge-distance.js +1 -1
- package/dist/components/cura-badge-number2.js +2 -2
- package/dist/components/cura-badge-number2.js.map +1 -1
- package/dist/components/cura-button-outline.js +1 -1
- package/dist/components/cura-button-select.js +18 -9
- package/dist/components/cura-button-select.js.map +1 -1
- package/dist/components/cura-button-transparent2.js +1 -1
- package/dist/components/cura-button.js +1 -1
- package/dist/components/cura-calendar2.js +2 -2
- package/dist/components/cura-calendar2.js.map +1 -1
- package/dist/components/cura-card.js +1 -1
- package/dist/components/cura-checkbox.js +1 -1
- package/dist/components/cura-display.js +1 -1
- package/dist/components/cura-dropdown-search-option-title.js +1 -1
- package/dist/components/cura-dropdown-search-option.js +2 -2
- package/dist/components/cura-dropdown-search.js +21 -11
- package/dist/components/cura-dropdown-search.js.map +1 -1
- package/dist/components/cura-heading2.js +8 -7
- package/dist/components/cura-heading2.js.map +1 -1
- package/dist/components/cura-icon2.js +1 -1
- package/dist/components/cura-icons-view.js +3 -3
- package/dist/components/cura-input-date.js +54 -57
- package/dist/components/cura-input-date.js.map +1 -1
- package/dist/components/cura-label2.js +1 -1
- package/dist/components/cura-loader-bar2.js +1 -1
- package/dist/components/cura-loader-circle2.js +1 -1
- package/dist/components/cura-page-template.js +1 -1
- package/dist/components/cura-paragraph2.js +1 -1
- package/dist/components/cura-radio.js +1 -1
- package/dist/components/cura-select-option2.js +1 -1
- package/dist/components/cura-select2.js +3 -3
- package/dist/components/cura-switch.js +1 -1
- package/dist/components/cura-toast.js +1 -1
- package/dist/components/cura-tooltip.d.ts +11 -0
- package/dist/components/cura-tooltip.js +291 -0
- package/dist/components/cura-tooltip.js.map +1 -0
- package/dist/components/index.js +33 -0
- package/dist/components/index.js.map +1 -1
- package/dist/cura/cura.esm.js +1 -1
- package/dist/cura/cura.esm.js.map +1 -1
- package/dist/cura/{p-116a1cd6.entry.js → p-01e301d4.entry.js} +2 -2
- package/dist/cura/{p-c6508bd7.entry.js → p-022b22b6.entry.js} +2 -2
- package/dist/cura/p-0308cf6b.entry.js +2 -0
- package/dist/cura/p-0308cf6b.entry.js.map +1 -0
- package/dist/cura/p-22e921d9.entry.js +2 -0
- package/dist/cura/p-22e921d9.entry.js.map +1 -0
- package/dist/cura/p-2b9eadc7.entry.js +2 -0
- package/dist/cura/p-2b9eadc7.entry.js.map +1 -0
- package/dist/cura/{p-b2d5db22.entry.js → p-2c0f5497.entry.js} +2 -2
- package/dist/cura/p-5bb8302c.entry.js +2 -0
- package/dist/cura/p-5bb8302c.entry.js.map +1 -0
- package/dist/cura/{p-fcbf4311.entry.js → p-639c1b67.entry.js} +2 -2
- package/dist/cura/{p-2956f120.entry.js → p-7853ab16.entry.js} +2 -2
- package/dist/cura/{p-2956f120.entry.js.map → p-7853ab16.entry.js.map} +1 -1
- package/dist/cura/{p-41c3d47d.entry.js → p-81c66f2b.entry.js} +2 -2
- package/dist/cura/p-82b99090.js +2 -0
- package/dist/cura/p-82b99090.js.map +1 -0
- package/dist/cura/p-93525d68.entry.js +2 -0
- package/dist/cura/p-93525d68.entry.js.map +1 -0
- package/dist/cura/p-9991f7db.entry.js +2 -0
- package/dist/cura/p-9e3d26fe.entry.js +2 -0
- package/dist/cura/p-9e3d26fe.entry.js.map +1 -0
- package/dist/cura/{p-dcd2e5bb.entry.js → p-a7ecea4a.entry.js} +2 -2
- package/dist/cura/{p-33772510.entry.js → p-b0451cb3.entry.js} +2 -2
- package/dist/cura/{p-8f3db0fe.entry.js → p-b883e098.entry.js} +2 -2
- package/dist/cura/{p-907b3d12.entry.js → p-bfb5e9e1.entry.js} +2 -2
- package/dist/cura/{p-e5023e34.entry.js → p-c444e692.entry.js} +2 -2
- package/dist/cura/{p-fdce91a7.entry.js → p-d635501a.entry.js} +2 -2
- package/dist/cura/{p-fd083399.entry.js → p-df851816.entry.js} +2 -2
- package/dist/cura/{p-44e3325a.entry.js → p-e3d3bc3d.entry.js} +2 -2
- package/dist/cura/p-eda28278.entry.js +2 -0
- package/dist/cura/p-eda28278.entry.js.map +1 -0
- package/dist/esm/{app-globals-6ca7103d.js → app-globals-e54ee4c3.js} +32 -1
- package/dist/esm/app-globals-e54ee4c3.js.map +1 -0
- package/dist/esm/cura-accordion_12.entry.js +39 -38
- package/dist/esm/cura-accordion_12.entry.js.map +1 -1
- package/dist/esm/cura-alert.entry.js +3 -2
- package/dist/esm/cura-alert.entry.js.map +1 -1
- package/dist/esm/cura-avatar.entry.js +1 -1
- package/dist/esm/cura-badge-distance.entry.js +1 -1
- package/dist/esm/cura-badge-number.entry.js +2 -2
- package/dist/esm/cura-badge-number.entry.js.map +1 -1
- package/dist/esm/cura-button-outline.entry.js +1 -1
- package/dist/esm/cura-button-select.entry.js +17 -9
- package/dist/esm/cura-button-select.entry.js.map +1 -1
- package/dist/esm/cura-button-transparent.entry.js +1 -1
- package/dist/esm/cura-calendar.entry.js +2 -2
- package/dist/esm/cura-calendar.entry.js.map +1 -1
- package/dist/esm/cura-card.entry.js +1 -1
- package/dist/esm/cura-checkbox.entry.js +1 -1
- package/dist/esm/cura-display.entry.js +1 -1
- package/dist/esm/cura-dropdown-search-option-title.entry.js +1 -1
- package/dist/esm/cura-dropdown-search-option.entry.js +2 -2
- package/dist/esm/cura-dropdown-search.entry.js +21 -11
- package/dist/esm/cura-dropdown-search.entry.js.map +1 -1
- package/dist/esm/cura-icons-view.entry.js +3 -3
- package/dist/esm/cura-input-date.entry.js +45 -45
- package/dist/esm/cura-input-date.entry.js.map +1 -1
- package/dist/esm/cura-loader-bar.entry.js +1 -1
- package/dist/esm/cura-radio.entry.js +1 -1
- package/dist/esm/cura-switch.entry.js +1 -1
- package/dist/esm/cura-toast.entry.js +1 -1
- package/dist/esm/cura-tooltip.entry.js +228 -0
- package/dist/esm/cura-tooltip.entry.js.map +1 -0
- package/dist/esm/cura.js +2 -2
- package/dist/esm/loader.js +2 -2
- package/dist/types/api/theme-presets/theme-presets.d.ts +43 -0
- package/dist/types/api/theme-presets/theme-richet.d.ts +43 -0
- package/dist/types/components/accordion/cura-accordion/cura-accordion.d.ts +7 -3
- package/dist/types/components/accordion/cura-accordion/cura-accordion.stories.d.ts +38 -16
- package/dist/types/components/accordion/cura-accordion-item/cura-accordion-item.d.ts +8 -3
- package/dist/types/components/buttons/cura-button-select/cura-button-select.d.ts +2 -0
- package/dist/types/components/buttons/cura-button-select/cura-button-select.stories.d.ts +14 -0
- package/dist/types/components/cura-tooltip/cura-tooltip.d.ts +25 -0
- package/dist/types/components/cura-tooltip/cura-tooltip.stories.d.ts +119 -0
- package/dist/types/components/forms/cura-dropdown-search/cura-dropdown-search.d.ts +1 -0
- package/dist/types/components/forms/cura-input-date/cura-input-date.d.ts +19 -19
- package/dist/types/components/text/cura-heading/cura-heading.d.ts +1 -0
- package/dist/types/components.d.ts +75 -10
- package/package.json +2 -2
- package/dist/cjs/app-globals-4d07f363.js.map +0 -1
- package/dist/cura/p-0b7a7306.js +0 -2
- package/dist/cura/p-0b7a7306.js.map +0 -1
- package/dist/cura/p-2d267d23.entry.js +0 -2
- package/dist/cura/p-2d267d23.entry.js.map +0 -1
- package/dist/cura/p-4e14c01c.entry.js +0 -2
- package/dist/cura/p-b43b69f3.entry.js +0 -2
- package/dist/cura/p-b43b69f3.entry.js.map +0 -1
- package/dist/cura/p-be10b681.entry.js +0 -2
- package/dist/cura/p-be10b681.entry.js.map +0 -1
- package/dist/cura/p-cda24a1e.entry.js +0 -2
- package/dist/cura/p-cda24a1e.entry.js.map +0 -1
- package/dist/cura/p-e8bc6381.entry.js +0 -2
- package/dist/cura/p-e8bc6381.entry.js.map +0 -1
- package/dist/cura/p-ed97cf3c.entry.js +0 -2
- package/dist/cura/p-ed97cf3c.entry.js.map +0 -1
- package/dist/esm/app-globals-6ca7103d.js.map +0 -1
- /package/dist/cura/{p-116a1cd6.entry.js.map → p-01e301d4.entry.js.map} +0 -0
- /package/dist/cura/{p-c6508bd7.entry.js.map → p-022b22b6.entry.js.map} +0 -0
- /package/dist/cura/{p-b2d5db22.entry.js.map → p-2c0f5497.entry.js.map} +0 -0
- /package/dist/cura/{p-fcbf4311.entry.js.map → p-639c1b67.entry.js.map} +0 -0
- /package/dist/cura/{p-41c3d47d.entry.js.map → p-81c66f2b.entry.js.map} +0 -0
- /package/dist/cura/{p-4e14c01c.entry.js.map → p-9991f7db.entry.js.map} +0 -0
- /package/dist/cura/{p-dcd2e5bb.entry.js.map → p-a7ecea4a.entry.js.map} +0 -0
- /package/dist/cura/{p-33772510.entry.js.map → p-b0451cb3.entry.js.map} +0 -0
- /package/dist/cura/{p-8f3db0fe.entry.js.map → p-b883e098.entry.js.map} +0 -0
- /package/dist/cura/{p-907b3d12.entry.js.map → p-bfb5e9e1.entry.js.map} +0 -0
- /package/dist/cura/{p-e5023e34.entry.js.map → p-c444e692.entry.js.map} +0 -0
- /package/dist/cura/{p-fdce91a7.entry.js.map → p-d635501a.entry.js.map} +0 -0
- /package/dist/cura/{p-fd083399.entry.js.map → p-df851816.entry.js.map} +0 -0
- /package/dist/cura/{p-44e3325a.entry.js.map → p-e3d3bc3d.entry.js.map} +0 -0
|
@@ -19,7 +19,7 @@ declare const _default: {
|
|
|
19
19
|
};
|
|
20
20
|
name: string;
|
|
21
21
|
};
|
|
22
|
-
|
|
22
|
+
colorMode: {
|
|
23
23
|
control: {
|
|
24
24
|
type: string;
|
|
25
25
|
};
|
|
@@ -33,7 +33,7 @@ declare const _default: {
|
|
|
33
33
|
};
|
|
34
34
|
name: string;
|
|
35
35
|
};
|
|
36
|
-
|
|
36
|
+
behavior: {
|
|
37
37
|
control: {
|
|
38
38
|
type: string;
|
|
39
39
|
};
|
|
@@ -47,21 +47,22 @@ declare const _default: {
|
|
|
47
47
|
};
|
|
48
48
|
name: string;
|
|
49
49
|
};
|
|
50
|
-
|
|
50
|
+
level: {
|
|
51
51
|
control: {
|
|
52
52
|
type: string;
|
|
53
|
+
min: number;
|
|
54
|
+
max: number;
|
|
55
|
+
step: number;
|
|
53
56
|
};
|
|
54
|
-
options: string[];
|
|
55
57
|
description: string;
|
|
56
58
|
table: {
|
|
57
59
|
category: string;
|
|
58
60
|
defaultValue: {
|
|
59
|
-
summary:
|
|
61
|
+
summary: number;
|
|
60
62
|
};
|
|
61
63
|
};
|
|
62
|
-
name: string;
|
|
63
64
|
};
|
|
64
|
-
|
|
65
|
+
labelIcon: {
|
|
65
66
|
control: {
|
|
66
67
|
type: string;
|
|
67
68
|
};
|
|
@@ -69,13 +70,10 @@ declare const _default: {
|
|
|
69
70
|
description: string;
|
|
70
71
|
table: {
|
|
71
72
|
category: string;
|
|
72
|
-
defaultValue: {
|
|
73
|
-
summary: string;
|
|
74
|
-
};
|
|
75
73
|
};
|
|
76
74
|
name: string;
|
|
77
75
|
};
|
|
78
|
-
|
|
76
|
+
openIcon: {
|
|
79
77
|
control: {
|
|
80
78
|
type: string;
|
|
81
79
|
};
|
|
@@ -89,7 +87,7 @@ declare const _default: {
|
|
|
89
87
|
};
|
|
90
88
|
name: string;
|
|
91
89
|
};
|
|
92
|
-
|
|
90
|
+
closeIcon: {
|
|
93
91
|
control: {
|
|
94
92
|
type: string;
|
|
95
93
|
};
|
|
@@ -103,7 +101,7 @@ declare const _default: {
|
|
|
103
101
|
};
|
|
104
102
|
name: string;
|
|
105
103
|
};
|
|
106
|
-
|
|
104
|
+
iconSize: {
|
|
107
105
|
control: {
|
|
108
106
|
type: string;
|
|
109
107
|
};
|
|
@@ -111,10 +109,13 @@ declare const _default: {
|
|
|
111
109
|
description: string;
|
|
112
110
|
table: {
|
|
113
111
|
category: string;
|
|
112
|
+
defaultValue: {
|
|
113
|
+
summary: string;
|
|
114
|
+
};
|
|
114
115
|
};
|
|
115
116
|
name: string;
|
|
116
117
|
};
|
|
117
|
-
|
|
118
|
+
iconColor: {
|
|
118
119
|
control: {
|
|
119
120
|
type: string;
|
|
120
121
|
};
|
|
@@ -135,20 +136,41 @@ declare const _default: {
|
|
|
135
136
|
};
|
|
136
137
|
};
|
|
137
138
|
};
|
|
139
|
+
label: {
|
|
140
|
+
control: string;
|
|
141
|
+
description: string;
|
|
142
|
+
table: {
|
|
143
|
+
category: string;
|
|
144
|
+
};
|
|
145
|
+
name: string;
|
|
146
|
+
};
|
|
147
|
+
labelIconItem: {
|
|
148
|
+
control: {
|
|
149
|
+
type: string;
|
|
150
|
+
};
|
|
151
|
+
options: string[];
|
|
152
|
+
description: string;
|
|
153
|
+
table: {
|
|
154
|
+
category: string;
|
|
155
|
+
};
|
|
156
|
+
name: string;
|
|
157
|
+
};
|
|
138
158
|
};
|
|
139
159
|
};
|
|
140
160
|
export default _default;
|
|
141
161
|
export declare const Accordion: {
|
|
142
162
|
args: {
|
|
143
163
|
color: string;
|
|
144
|
-
activeColor: string;
|
|
145
164
|
colorMode: string;
|
|
165
|
+
labelIcon: string;
|
|
146
166
|
openIcon: string;
|
|
147
167
|
closeIcon: string;
|
|
148
168
|
iconSize: string;
|
|
149
169
|
iconColor: string;
|
|
150
|
-
iconActiveColor: string;
|
|
151
170
|
behavior: string;
|
|
171
|
+
level: string;
|
|
152
172
|
darkBackground: boolean;
|
|
173
|
+
label: string;
|
|
174
|
+
labelIconItem: string;
|
|
153
175
|
};
|
|
154
176
|
};
|
|
@@ -8,22 +8,27 @@ export declare class CuraAccordionItem {
|
|
|
8
8
|
* Accordion items icons
|
|
9
9
|
*/
|
|
10
10
|
iconSize: number;
|
|
11
|
+
labelIcon: string;
|
|
11
12
|
openIcon: string;
|
|
12
13
|
closeIcon: string;
|
|
13
14
|
/**
|
|
14
15
|
* Color scheme base color
|
|
15
|
-
* (By default, the icon will use the same color of 'color'
|
|
16
|
+
* (By default, the icon will use the same color of 'color')
|
|
16
17
|
*/
|
|
17
18
|
iconColor: string;
|
|
18
|
-
iconActiveColor: string;
|
|
19
19
|
/**
|
|
20
20
|
* Set the color mode to dark or light
|
|
21
21
|
*/
|
|
22
22
|
colorMode: 'dark' | 'light';
|
|
23
|
+
/**
|
|
24
|
+
* Heading level for semantics. Will render the related HTML tag <h1>, <h2>, ...
|
|
25
|
+
* Values: 1 to 6 (3 default).
|
|
26
|
+
*/
|
|
27
|
+
level: 1 | 2 | 3 | 4 | 5 | 6;
|
|
23
28
|
opened: boolean;
|
|
24
29
|
styles: {};
|
|
25
|
-
getIconColor(): string;
|
|
26
30
|
getClasses(): {};
|
|
27
31
|
accordionItemClick(_: Event): void;
|
|
32
|
+
renderIcon(): any;
|
|
28
33
|
render(): any;
|
|
29
34
|
}
|
|
@@ -8,6 +8,7 @@ export declare class CuraButtonSelect {
|
|
|
8
8
|
disabled: boolean;
|
|
9
9
|
background: 'dark' | 'light';
|
|
10
10
|
color: string;
|
|
11
|
+
iconPosition: 'left' | 'right';
|
|
11
12
|
hovered: boolean;
|
|
12
13
|
styles: {};
|
|
13
14
|
onclick: EventEmitter<{
|
|
@@ -23,6 +24,7 @@ export declare class CuraButtonSelect {
|
|
|
23
24
|
getColorBagdeNumber(): string;
|
|
24
25
|
getIcon(): any;
|
|
25
26
|
getCounter(): any;
|
|
27
|
+
getCheckIconRight(): any;
|
|
26
28
|
handleMouseEnter(): void;
|
|
27
29
|
handleMouseLeave(): void;
|
|
28
30
|
handleClick(e: Event): void;
|
|
@@ -88,6 +88,19 @@ declare const _default: {
|
|
|
88
88
|
};
|
|
89
89
|
};
|
|
90
90
|
};
|
|
91
|
+
iconPosition: {
|
|
92
|
+
control: {
|
|
93
|
+
type: string;
|
|
94
|
+
};
|
|
95
|
+
options: string[];
|
|
96
|
+
description: string;
|
|
97
|
+
table: {
|
|
98
|
+
category: string;
|
|
99
|
+
defaultValue: {
|
|
100
|
+
summary: string;
|
|
101
|
+
};
|
|
102
|
+
};
|
|
103
|
+
};
|
|
91
104
|
};
|
|
92
105
|
};
|
|
93
106
|
export default _default;
|
|
@@ -101,5 +114,6 @@ export declare const Button: {
|
|
|
101
114
|
background: string;
|
|
102
115
|
color: string;
|
|
103
116
|
label: string;
|
|
117
|
+
iconPosition: string;
|
|
104
118
|
};
|
|
105
119
|
};
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { EventEmitter } from '../../stencil-public-runtime';
|
|
2
|
+
export declare class CuraTooltip {
|
|
3
|
+
host: HTMLElement;
|
|
4
|
+
elementId: string;
|
|
5
|
+
interactive: boolean;
|
|
6
|
+
delay: number;
|
|
7
|
+
maxWidth: string;
|
|
8
|
+
position: 'top-start' | 'top' | 'top-end' | 'right-start' | 'right' | 'right-end' | 'bottom-start' | 'bottom' | 'bottom-end' | 'left-start' | 'left' | 'left-end';
|
|
9
|
+
label: string;
|
|
10
|
+
closeButton: boolean;
|
|
11
|
+
isMobile: boolean;
|
|
12
|
+
tooltipClosed: EventEmitter<void>;
|
|
13
|
+
targetElement: HTMLElement;
|
|
14
|
+
styles: {};
|
|
15
|
+
onWindowResize(): void;
|
|
16
|
+
onWindowScroll(): void;
|
|
17
|
+
connectedCallback(): void;
|
|
18
|
+
render(): any;
|
|
19
|
+
componentDidLoad(): void;
|
|
20
|
+
setStyle(): void;
|
|
21
|
+
getClasses(): {};
|
|
22
|
+
setPosition(element: HTMLElement): void;
|
|
23
|
+
closeContainer(): void;
|
|
24
|
+
handleClose: () => void;
|
|
25
|
+
}
|
|
@@ -0,0 +1,119 @@
|
|
|
1
|
+
declare const _default: {
|
|
2
|
+
title: string;
|
|
3
|
+
tags: string[];
|
|
4
|
+
render: ({ ...args }: {
|
|
5
|
+
[x: string]: any;
|
|
6
|
+
}) => string;
|
|
7
|
+
argTypes: {
|
|
8
|
+
targetElementId: {
|
|
9
|
+
control: string;
|
|
10
|
+
description: string;
|
|
11
|
+
table: {
|
|
12
|
+
category: string;
|
|
13
|
+
};
|
|
14
|
+
name: string;
|
|
15
|
+
};
|
|
16
|
+
interactive: {
|
|
17
|
+
control: string;
|
|
18
|
+
description: string;
|
|
19
|
+
table: {
|
|
20
|
+
category: string;
|
|
21
|
+
};
|
|
22
|
+
name: string;
|
|
23
|
+
};
|
|
24
|
+
delay: {
|
|
25
|
+
control: string;
|
|
26
|
+
description: string;
|
|
27
|
+
table: {
|
|
28
|
+
category: string;
|
|
29
|
+
defaultValue: {
|
|
30
|
+
summary: number;
|
|
31
|
+
};
|
|
32
|
+
};
|
|
33
|
+
name: string;
|
|
34
|
+
};
|
|
35
|
+
maxWidth: {
|
|
36
|
+
control: string;
|
|
37
|
+
description: string;
|
|
38
|
+
table: {
|
|
39
|
+
category: string;
|
|
40
|
+
defaultValue: {
|
|
41
|
+
summary: string;
|
|
42
|
+
};
|
|
43
|
+
};
|
|
44
|
+
name: string;
|
|
45
|
+
};
|
|
46
|
+
label: {
|
|
47
|
+
control: string;
|
|
48
|
+
description: string;
|
|
49
|
+
table: {
|
|
50
|
+
category: string;
|
|
51
|
+
};
|
|
52
|
+
name: string;
|
|
53
|
+
};
|
|
54
|
+
position: {
|
|
55
|
+
control: {
|
|
56
|
+
type: string;
|
|
57
|
+
};
|
|
58
|
+
options: string[];
|
|
59
|
+
description: string;
|
|
60
|
+
table: {
|
|
61
|
+
category: string;
|
|
62
|
+
defaultValue: {
|
|
63
|
+
summary: string;
|
|
64
|
+
};
|
|
65
|
+
};
|
|
66
|
+
name: string;
|
|
67
|
+
};
|
|
68
|
+
closeButton: {
|
|
69
|
+
control: string;
|
|
70
|
+
description: string;
|
|
71
|
+
table: {
|
|
72
|
+
category: string;
|
|
73
|
+
defaultValue: {
|
|
74
|
+
summary: boolean;
|
|
75
|
+
};
|
|
76
|
+
};
|
|
77
|
+
name: string;
|
|
78
|
+
};
|
|
79
|
+
targetElement: {
|
|
80
|
+
control: string;
|
|
81
|
+
description: string;
|
|
82
|
+
table: {
|
|
83
|
+
category: string;
|
|
84
|
+
};
|
|
85
|
+
name: string;
|
|
86
|
+
};
|
|
87
|
+
content: {
|
|
88
|
+
control: string;
|
|
89
|
+
description: string;
|
|
90
|
+
defaultValue: string;
|
|
91
|
+
table: {
|
|
92
|
+
category: string;
|
|
93
|
+
};
|
|
94
|
+
};
|
|
95
|
+
closeEvent: {
|
|
96
|
+
control: string;
|
|
97
|
+
description: string;
|
|
98
|
+
name: string;
|
|
99
|
+
table: {
|
|
100
|
+
category: string;
|
|
101
|
+
};
|
|
102
|
+
};
|
|
103
|
+
};
|
|
104
|
+
};
|
|
105
|
+
export default _default;
|
|
106
|
+
export declare const Tooltip: {
|
|
107
|
+
args: {
|
|
108
|
+
targetElement: string;
|
|
109
|
+
targetElementId: string;
|
|
110
|
+
interactive: boolean;
|
|
111
|
+
delay: number;
|
|
112
|
+
maxWidth: string;
|
|
113
|
+
label: string;
|
|
114
|
+
position: string;
|
|
115
|
+
closeButton: boolean;
|
|
116
|
+
content: string;
|
|
117
|
+
};
|
|
118
|
+
closeEvent: string;
|
|
119
|
+
};
|
|
@@ -47,36 +47,35 @@ export declare class CuraInputDate {
|
|
|
47
47
|
* @type {EventEmitter<string>}
|
|
48
48
|
*/
|
|
49
49
|
dateChange: EventEmitter<string>;
|
|
50
|
+
/**
|
|
51
|
+
* Emitted when the value of the status changes
|
|
52
|
+
* @type {EventEmitter<string>}
|
|
53
|
+
*/
|
|
54
|
+
statusInputChange: EventEmitter<string>;
|
|
50
55
|
styles: {};
|
|
51
56
|
isCalendarVisible: boolean;
|
|
52
57
|
dates: Date[];
|
|
53
58
|
value?: string;
|
|
59
|
+
dateSettings: {
|
|
60
|
+
placeholder: any;
|
|
61
|
+
mask: string;
|
|
62
|
+
mode: string;
|
|
63
|
+
};
|
|
54
64
|
connectedCallback(): void;
|
|
65
|
+
componentWillLoad(): void;
|
|
55
66
|
/**
|
|
56
67
|
* Callback for form association
|
|
57
68
|
*/
|
|
58
69
|
formAssociatedCallback(form: {
|
|
59
70
|
ariaLabel: string;
|
|
60
71
|
}): void;
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
/**
|
|
69
|
-
* Sets the mask type based on the enableRangeDates flag
|
|
70
|
-
*
|
|
71
|
-
* @returns {string} The mask type, either 'dateRange' or 'date'
|
|
72
|
-
*/
|
|
73
|
-
setMask(): string;
|
|
74
|
-
/**
|
|
75
|
-
* Sets the mode type based on the enableRangeDates flag
|
|
76
|
-
*
|
|
77
|
-
* @returns {'range' | 'single'}
|
|
78
|
-
*/
|
|
79
|
-
setMode(): 'range' | 'single';
|
|
72
|
+
updateDateSettings(): void;
|
|
73
|
+
getDateSettings(isRange: boolean): {
|
|
74
|
+
placeholder: string;
|
|
75
|
+
mask: string;
|
|
76
|
+
mode: string;
|
|
77
|
+
};
|
|
78
|
+
shouldUpdateDateSettings(newSettings: any): boolean;
|
|
80
79
|
handleClick(ev: {
|
|
81
80
|
target: Node;
|
|
82
81
|
}): void;
|
|
@@ -87,6 +86,7 @@ export declare class CuraInputDate {
|
|
|
87
86
|
isDateValid(date: Date): boolean;
|
|
88
87
|
parseStringToDate(dateString: string): Date;
|
|
89
88
|
parseDateToString(date: Date): string;
|
|
89
|
+
resetDates(): void;
|
|
90
90
|
renderCalendarOrHelperText(): any;
|
|
91
91
|
render(): any;
|
|
92
92
|
}
|
|
@@ -9,7 +9,6 @@ import { MaskPreset } from "./components/forms/cura-input-text/cura-input-text";
|
|
|
9
9
|
export { MaskPreset } from "./components/forms/cura-input-text/cura-input-text";
|
|
10
10
|
export namespace Components {
|
|
11
11
|
interface CuraAccordion {
|
|
12
|
-
"activeColor": string;
|
|
13
12
|
/**
|
|
14
13
|
* Accordion behavior when item is clicked (The default will close all items except the current one)
|
|
15
14
|
*/
|
|
@@ -23,15 +22,19 @@ export namespace Components {
|
|
|
23
22
|
* Set the color mode to dark or light
|
|
24
23
|
*/
|
|
25
24
|
"colorMode": 'dark' | 'light';
|
|
26
|
-
"iconActiveColor": string;
|
|
27
25
|
/**
|
|
28
|
-
* Color scheme base color (By default, the icon will use the same color of 'color'
|
|
26
|
+
* Color scheme base color (By default, the icon will use the same color of 'color')
|
|
29
27
|
*/
|
|
30
28
|
"iconColor": string;
|
|
31
29
|
/**
|
|
32
30
|
* Accordion items icons
|
|
33
31
|
*/
|
|
34
32
|
"iconSize": number;
|
|
33
|
+
"labelIcon": string;
|
|
34
|
+
/**
|
|
35
|
+
* Heading level for semantics. Will render the related HTML tag <h1>, <h2>, ... Values: 1 to 6 (3 default).
|
|
36
|
+
*/
|
|
37
|
+
"level": 1 | 2 | 3 | 4 | 5 | 6;
|
|
35
38
|
"openIcon": string;
|
|
36
39
|
}
|
|
37
40
|
interface CuraAccordionItem {
|
|
@@ -40,9 +43,8 @@ export namespace Components {
|
|
|
40
43
|
* Set the color mode to dark or light
|
|
41
44
|
*/
|
|
42
45
|
"colorMode": 'dark' | 'light';
|
|
43
|
-
"iconActiveColor": string;
|
|
44
46
|
/**
|
|
45
|
-
* Color scheme base color (By default, the icon will use the same color of 'color'
|
|
47
|
+
* Color scheme base color (By default, the icon will use the same color of 'color')
|
|
46
48
|
*/
|
|
47
49
|
"iconColor": string;
|
|
48
50
|
/**
|
|
@@ -53,6 +55,11 @@ export namespace Components {
|
|
|
53
55
|
* Text label for accordion item
|
|
54
56
|
*/
|
|
55
57
|
"label": string;
|
|
58
|
+
"labelIcon": string;
|
|
59
|
+
/**
|
|
60
|
+
* Heading level for semantics. Will render the related HTML tag <h1>, <h2>, ... Values: 1 to 6 (3 default).
|
|
61
|
+
*/
|
|
62
|
+
"level": 1 | 2 | 3 | 4 | 5 | 6;
|
|
56
63
|
"openIcon": string;
|
|
57
64
|
"opened": boolean;
|
|
58
65
|
}
|
|
@@ -212,6 +219,7 @@ export namespace Components {
|
|
|
212
219
|
"counter": string | number | null;
|
|
213
220
|
"disabled": boolean;
|
|
214
221
|
"iconName": string;
|
|
222
|
+
"iconPosition": 'left' | 'right';
|
|
215
223
|
"selected": boolean;
|
|
216
224
|
"size": 'small' | 'medium' | 'large';
|
|
217
225
|
}
|
|
@@ -924,6 +932,15 @@ export namespace Components {
|
|
|
924
932
|
"position": 'top-left' | 'top-center' | 'top-right' | 'bottom-left' | 'bottom-center' | 'bottom-right';
|
|
925
933
|
"type": 'info' | 'success' | 'warning' | 'error';
|
|
926
934
|
}
|
|
935
|
+
interface CuraTooltip {
|
|
936
|
+
"closeButton": boolean;
|
|
937
|
+
"delay": number;
|
|
938
|
+
"elementId": string;
|
|
939
|
+
"interactive": boolean;
|
|
940
|
+
"label": string;
|
|
941
|
+
"maxWidth": string;
|
|
942
|
+
"position": 'top-start' | 'top' | 'top-end' | 'right-start' | 'right' | 'right-end' | 'bottom-start' | 'bottom' | 'bottom-end' | 'left-start' | 'left' | 'left-end';
|
|
943
|
+
}
|
|
927
944
|
}
|
|
928
945
|
export interface CuraAlertCustomEvent<T> extends CustomEvent<T> {
|
|
929
946
|
detail: T;
|
|
@@ -973,6 +990,10 @@ export interface CuraToastCustomEvent<T> extends CustomEvent<T> {
|
|
|
973
990
|
detail: T;
|
|
974
991
|
target: HTMLCuraToastElement;
|
|
975
992
|
}
|
|
993
|
+
export interface CuraTooltipCustomEvent<T> extends CustomEvent<T> {
|
|
994
|
+
detail: T;
|
|
995
|
+
target: HTMLCuraTooltipElement;
|
|
996
|
+
}
|
|
976
997
|
declare global {
|
|
977
998
|
interface HTMLCuraAccordionElement extends Components.CuraAccordion, HTMLStencilElement {
|
|
978
999
|
}
|
|
@@ -1163,6 +1184,7 @@ declare global {
|
|
|
1163
1184
|
};
|
|
1164
1185
|
interface HTMLCuraInputDateElementEventMap {
|
|
1165
1186
|
"dateChange": string;
|
|
1187
|
+
"statusInputChange": string;
|
|
1166
1188
|
}
|
|
1167
1189
|
interface HTMLCuraInputDateElement extends Components.CuraInputDate, HTMLStencilElement {
|
|
1168
1190
|
addEventListener<K extends keyof HTMLCuraInputDateElementEventMap>(type: K, listener: (this: HTMLCuraInputDateElement, ev: CuraInputDateCustomEvent<HTMLCuraInputDateElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
|
|
@@ -1299,6 +1321,23 @@ declare global {
|
|
|
1299
1321
|
prototype: HTMLCuraToastElement;
|
|
1300
1322
|
new (): HTMLCuraToastElement;
|
|
1301
1323
|
};
|
|
1324
|
+
interface HTMLCuraTooltipElementEventMap {
|
|
1325
|
+
"tooltipClosed": void;
|
|
1326
|
+
}
|
|
1327
|
+
interface HTMLCuraTooltipElement extends Components.CuraTooltip, HTMLStencilElement {
|
|
1328
|
+
addEventListener<K extends keyof HTMLCuraTooltipElementEventMap>(type: K, listener: (this: HTMLCuraTooltipElement, ev: CuraTooltipCustomEvent<HTMLCuraTooltipElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
|
|
1329
|
+
addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
1330
|
+
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
1331
|
+
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
1332
|
+
removeEventListener<K extends keyof HTMLCuraTooltipElementEventMap>(type: K, listener: (this: HTMLCuraTooltipElement, ev: CuraTooltipCustomEvent<HTMLCuraTooltipElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
|
|
1333
|
+
removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
1334
|
+
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
1335
|
+
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
|
|
1336
|
+
}
|
|
1337
|
+
var HTMLCuraTooltipElement: {
|
|
1338
|
+
prototype: HTMLCuraTooltipElement;
|
|
1339
|
+
new (): HTMLCuraTooltipElement;
|
|
1340
|
+
};
|
|
1302
1341
|
interface HTMLElementTagNameMap {
|
|
1303
1342
|
"cura-accordion": HTMLCuraAccordionElement;
|
|
1304
1343
|
"cura-accordion-item": HTMLCuraAccordionItemElement;
|
|
@@ -1332,11 +1371,11 @@ declare global {
|
|
|
1332
1371
|
"cura-select-option": HTMLCuraSelectOptionElement;
|
|
1333
1372
|
"cura-switch": HTMLCuraSwitchElement;
|
|
1334
1373
|
"cura-toast": HTMLCuraToastElement;
|
|
1374
|
+
"cura-tooltip": HTMLCuraTooltipElement;
|
|
1335
1375
|
}
|
|
1336
1376
|
}
|
|
1337
1377
|
declare namespace LocalJSX {
|
|
1338
1378
|
interface CuraAccordion {
|
|
1339
|
-
"activeColor"?: string;
|
|
1340
1379
|
/**
|
|
1341
1380
|
* Accordion behavior when item is clicked (The default will close all items except the current one)
|
|
1342
1381
|
*/
|
|
@@ -1350,15 +1389,19 @@ declare namespace LocalJSX {
|
|
|
1350
1389
|
* Set the color mode to dark or light
|
|
1351
1390
|
*/
|
|
1352
1391
|
"colorMode"?: 'dark' | 'light';
|
|
1353
|
-
"iconActiveColor"?: string;
|
|
1354
1392
|
/**
|
|
1355
|
-
* Color scheme base color (By default, the icon will use the same color of 'color'
|
|
1393
|
+
* Color scheme base color (By default, the icon will use the same color of 'color')
|
|
1356
1394
|
*/
|
|
1357
1395
|
"iconColor"?: string;
|
|
1358
1396
|
/**
|
|
1359
1397
|
* Accordion items icons
|
|
1360
1398
|
*/
|
|
1361
1399
|
"iconSize"?: number;
|
|
1400
|
+
"labelIcon"?: string;
|
|
1401
|
+
/**
|
|
1402
|
+
* Heading level for semantics. Will render the related HTML tag <h1>, <h2>, ... Values: 1 to 6 (3 default).
|
|
1403
|
+
*/
|
|
1404
|
+
"level"?: 1 | 2 | 3 | 4 | 5 | 6;
|
|
1362
1405
|
"openIcon"?: string;
|
|
1363
1406
|
}
|
|
1364
1407
|
interface CuraAccordionItem {
|
|
@@ -1367,9 +1410,8 @@ declare namespace LocalJSX {
|
|
|
1367
1410
|
* Set the color mode to dark or light
|
|
1368
1411
|
*/
|
|
1369
1412
|
"colorMode"?: 'dark' | 'light';
|
|
1370
|
-
"iconActiveColor"?: string;
|
|
1371
1413
|
/**
|
|
1372
|
-
* Color scheme base color (By default, the icon will use the same color of 'color'
|
|
1414
|
+
* Color scheme base color (By default, the icon will use the same color of 'color')
|
|
1373
1415
|
*/
|
|
1374
1416
|
"iconColor"?: string;
|
|
1375
1417
|
/**
|
|
@@ -1380,6 +1422,11 @@ declare namespace LocalJSX {
|
|
|
1380
1422
|
* Text label for accordion item
|
|
1381
1423
|
*/
|
|
1382
1424
|
"label"?: string;
|
|
1425
|
+
"labelIcon"?: string;
|
|
1426
|
+
/**
|
|
1427
|
+
* Heading level for semantics. Will render the related HTML tag <h1>, <h2>, ... Values: 1 to 6 (3 default).
|
|
1428
|
+
*/
|
|
1429
|
+
"level"?: 1 | 2 | 3 | 4 | 5 | 6;
|
|
1383
1430
|
"openIcon"?: string;
|
|
1384
1431
|
"opened"?: boolean;
|
|
1385
1432
|
}
|
|
@@ -1540,6 +1587,7 @@ declare namespace LocalJSX {
|
|
|
1540
1587
|
"counter"?: string | number | null;
|
|
1541
1588
|
"disabled"?: boolean;
|
|
1542
1589
|
"iconName"?: string;
|
|
1590
|
+
"iconPosition"?: 'left' | 'right';
|
|
1543
1591
|
"onOnclick"?: (event: CuraButtonSelectCustomEvent<{ selected: boolean }>) => void;
|
|
1544
1592
|
"selected"?: boolean;
|
|
1545
1593
|
"size"?: 'small' | 'medium' | 'large';
|
|
@@ -1965,6 +2013,11 @@ declare namespace LocalJSX {
|
|
|
1965
2013
|
* @type {EventEmitter<string>}
|
|
1966
2014
|
*/
|
|
1967
2015
|
"onDateChange"?: (event: CuraInputDateCustomEvent<string>) => void;
|
|
2016
|
+
/**
|
|
2017
|
+
* Emitted when the value of the status changes
|
|
2018
|
+
* @type {EventEmitter<string>}
|
|
2019
|
+
*/
|
|
2020
|
+
"onStatusInputChange"?: (event: CuraInputDateCustomEvent<string>) => void;
|
|
1968
2021
|
/**
|
|
1969
2022
|
* Placeholder text for the input
|
|
1970
2023
|
*/
|
|
@@ -2286,6 +2339,16 @@ declare namespace LocalJSX {
|
|
|
2286
2339
|
"position"?: 'top-left' | 'top-center' | 'top-right' | 'bottom-left' | 'bottom-center' | 'bottom-right';
|
|
2287
2340
|
"type"?: 'info' | 'success' | 'warning' | 'error';
|
|
2288
2341
|
}
|
|
2342
|
+
interface CuraTooltip {
|
|
2343
|
+
"closeButton"?: boolean;
|
|
2344
|
+
"delay"?: number;
|
|
2345
|
+
"elementId"?: string;
|
|
2346
|
+
"interactive"?: boolean;
|
|
2347
|
+
"label"?: string;
|
|
2348
|
+
"maxWidth"?: string;
|
|
2349
|
+
"onTooltipClosed"?: (event: CuraTooltipCustomEvent<void>) => void;
|
|
2350
|
+
"position"?: 'top-start' | 'top' | 'top-end' | 'right-start' | 'right' | 'right-end' | 'bottom-start' | 'bottom' | 'bottom-end' | 'left-start' | 'left' | 'left-end';
|
|
2351
|
+
}
|
|
2289
2352
|
interface IntrinsicElements {
|
|
2290
2353
|
"cura-accordion": CuraAccordion;
|
|
2291
2354
|
"cura-accordion-item": CuraAccordionItem;
|
|
@@ -2319,6 +2382,7 @@ declare namespace LocalJSX {
|
|
|
2319
2382
|
"cura-select-option": CuraSelectOption;
|
|
2320
2383
|
"cura-switch": CuraSwitch;
|
|
2321
2384
|
"cura-toast": CuraToast;
|
|
2385
|
+
"cura-tooltip": CuraTooltip;
|
|
2322
2386
|
}
|
|
2323
2387
|
}
|
|
2324
2388
|
export { LocalJSX as JSX };
|
|
@@ -2357,6 +2421,7 @@ declare module "@stencil/core" {
|
|
|
2357
2421
|
"cura-select-option": LocalJSX.CuraSelectOption & JSXBase.HTMLAttributes<HTMLCuraSelectOptionElement>;
|
|
2358
2422
|
"cura-switch": LocalJSX.CuraSwitch & JSXBase.HTMLAttributes<HTMLCuraSwitchElement>;
|
|
2359
2423
|
"cura-toast": LocalJSX.CuraToast & JSXBase.HTMLAttributes<HTMLCuraToastElement>;
|
|
2424
|
+
"cura-tooltip": LocalJSX.CuraTooltip & JSXBase.HTMLAttributes<HTMLCuraTooltipElement>;
|
|
2360
2425
|
}
|
|
2361
2426
|
}
|
|
2362
2427
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rededor/cura",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.3.0",
|
|
4
4
|
"description": "Cura Design System",
|
|
5
5
|
"author": "Rede D`Or São Luiz",
|
|
6
6
|
"license": "MIT",
|
|
@@ -51,5 +51,5 @@
|
|
|
51
51
|
"storybook": "^7.6.7",
|
|
52
52
|
"svgo": "^3.3.2"
|
|
53
53
|
},
|
|
54
|
-
"gitHead": "
|
|
54
|
+
"gitHead": "b983f1ab6163aedbee5aa077b50f53e1ffbaceb0"
|
|
55
55
|
}
|