@rededor/cura 0.5.2 → 0.5.3
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/assets/icons/iconset-default-list.ts +1 -1
- package/dist/assets/icons/iconset-default-tmp.svg +4 -0
- package/dist/assets/icons/iconset-default.svg +1 -1
- package/dist/cjs/cura-accordion_8.cjs.entry.js +10 -17
- package/dist/cjs/cura-accordion_8.cjs.entry.js.map +1 -1
- package/dist/cjs/cura-alert.cjs.entry.js +67 -0
- package/dist/cjs/cura-alert.cjs.entry.js.map +1 -0
- package/dist/cjs/cura-button-outline.cjs.entry.js +1 -1
- package/dist/cjs/cura-button-select.cjs.entry.js +97 -0
- package/dist/cjs/cura-button-select.cjs.entry.js.map +1 -0
- package/dist/cjs/cura-button-transparent.cjs.entry.js +1 -1
- package/dist/cjs/cura-checkbox.cjs.entry.js +144 -0
- package/dist/cjs/cura-checkbox.cjs.entry.js.map +1 -0
- package/dist/cjs/cura-display.cjs.entry.js +1 -1
- package/dist/cjs/cura-forms.definitions-11be2ebd.js +20 -0
- package/dist/cjs/cura-forms.definitions-11be2ebd.js.map +1 -0
- package/dist/cjs/cura-icon.definitions-b73b0178.js +21 -0
- package/dist/cjs/cura-icon.definitions-b73b0178.js.map +1 -0
- package/dist/cjs/cura-icons-view.cjs.entry.js +13 -6
- package/dist/cjs/cura-icons-view.cjs.entry.js.map +1 -1
- package/dist/cjs/cura-input-text.cjs.entry.js +3907 -0
- package/dist/cjs/cura-input-text.cjs.entry.js.map +1 -0
- package/dist/cjs/cura-label.cjs.entry.js +1 -1
- package/dist/cjs/cura-radio.cjs.entry.js +114 -0
- package/dist/cjs/cura-radio.cjs.entry.js.map +1 -0
- package/dist/cjs/cura-switch.cjs.entry.js +89 -0
- package/dist/cjs/cura-switch.cjs.entry.js.map +1 -0
- package/dist/cjs/cura.cjs.js +2 -2
- package/dist/cjs/{index-404d93e9.js → index-7616f620.js} +35 -1
- package/dist/cjs/index-7616f620.js.map +1 -0
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/collection/assets/icons/iconset-default-list.js +1 -1
- package/dist/collection/assets/icons/iconset-default-list.js.map +1 -1
- package/dist/collection/assets/icons/iconset-default-tmp.svg +4 -0
- package/dist/collection/assets/icons/iconset-default.svg +1 -1
- package/dist/collection/assets-raw/icons/default/swap.svg +3 -0
- package/dist/collection/collection-manifest.json +6 -0
- package/dist/collection/components/buttons/cura-button/cura-button.css +4 -0
- package/dist/collection/components/buttons/cura-button/cura-button.stories.js +2 -2
- package/dist/collection/components/buttons/cura-button/cura-button.stories.js.map +1 -1
- package/dist/collection/components/buttons/cura-button-outline/cura-button-outline.css +4 -0
- package/dist/collection/components/buttons/cura-button-outline/cura-button-outline.stories.js +2 -2
- package/dist/collection/components/buttons/cura-button-outline/cura-button-outline.stories.js.map +1 -1
- package/dist/collection/components/buttons/cura-button-select/cura-button-select.css +139 -0
- package/dist/collection/components/buttons/cura-button-select/cura-button-select.js +263 -0
- package/dist/collection/components/buttons/cura-button-select/cura-button-select.js.map +1 -0
- package/dist/collection/components/buttons/cura-button-transparent/cura-button-transparent.css +4 -0
- package/dist/collection/components/buttons/cura-button-transparent/cura-button-transparent.stories.js +2 -2
- package/dist/collection/components/buttons/cura-button-transparent/cura-button-transparent.stories.js.map +1 -1
- package/dist/collection/components/cura-alert/cura-alert.css +30 -0
- package/dist/collection/components/cura-alert/cura-alert.js +167 -0
- package/dist/collection/components/cura-alert/cura-alert.js.map +1 -0
- package/dist/collection/components/cura-alert/cura-alert.stories.js +95 -0
- package/dist/collection/components/cura-alert/cura-alert.stories.js.map +1 -0
- package/dist/collection/components/cura-icon/cura-icon.definitions.js +15 -0
- package/dist/collection/components/cura-icon/cura-icon.definitions.js.map +1 -0
- package/dist/collection/components/cura-icon/cura-icon.js +9 -16
- package/dist/collection/components/cura-icon/cura-icon.js.map +1 -1
- package/dist/collection/components/cura-icon/cura-icon.stories.js +7 -6
- package/dist/collection/components/cura-icon/cura-icon.stories.js.map +1 -1
- package/dist/collection/components/cura-icons-view/cura-icons-view.css +16 -17
- package/dist/collection/components/cura-icons-view/cura-icons-view.js +10 -3
- package/dist/collection/components/cura-icons-view/cura-icons-view.js.map +1 -1
- package/dist/collection/components/forms/cura-checkbox/cura-checkbox.css +163 -0
- package/dist/collection/components/forms/cura-checkbox/cura-checkbox.js +431 -0
- package/dist/collection/components/forms/cura-checkbox/cura-checkbox.js.map +1 -0
- package/dist/collection/components/forms/cura-checkbox/cura-checkbox.stories.js +196 -0
- package/dist/collection/components/forms/cura-checkbox/cura-checkbox.stories.js.map +1 -0
- package/dist/collection/components/forms/cura-forms.definitions.js +15 -0
- package/dist/collection/components/forms/cura-forms.definitions.js.map +1 -0
- package/dist/collection/components/forms/cura-input-text/cura-input-text.css +326 -0
- package/dist/collection/components/forms/cura-input-text/cura-input-text.js +655 -0
- package/dist/collection/components/forms/cura-input-text/cura-input-text.js.map +1 -0
- package/dist/collection/components/forms/cura-input-text/cura-input-text.stories.js +224 -0
- package/dist/collection/components/forms/cura-input-text/cura-input-text.stories.js.map +1 -0
- package/dist/collection/components/forms/cura-input-text/mask-presets/input-mask-presets.js +46 -0
- package/dist/collection/components/forms/cura-input-text/mask-presets/input-mask-presets.js.map +1 -0
- package/dist/collection/components/forms/cura-radio/cura-radio.css +146 -0
- package/dist/collection/components/forms/cura-radio/cura-radio.js +365 -0
- package/dist/collection/components/forms/cura-radio/cura-radio.js.map +1 -0
- package/dist/collection/components/forms/cura-radio/cura-radio.stories.js +175 -0
- package/dist/collection/components/forms/cura-radio/cura-radio.stories.js.map +1 -0
- package/dist/collection/components/forms/cura-switch/cura-switch.css +100 -0
- package/dist/collection/components/forms/cura-switch/cura-switch.js +266 -0
- package/dist/collection/components/forms/cura-switch/cura-switch.js.map +1 -0
- package/dist/collection/components/forms/cura-switch/cura-switch.stories.js +137 -0
- package/dist/collection/components/forms/cura-switch/cura-switch.stories.js.map +1 -0
- package/dist/components/cura-alert.d.ts +11 -0
- package/dist/components/cura-alert.js +105 -0
- package/dist/components/cura-alert.js.map +1 -0
- package/dist/components/cura-button-select.d.ts +11 -0
- package/dist/components/cura-button-select.js +127 -0
- package/dist/components/cura-button-select.js.map +1 -0
- package/dist/components/cura-checkbox.d.ts +11 -0
- package/dist/components/cura-checkbox.js +192 -0
- package/dist/components/cura-checkbox.js.map +1 -0
- package/dist/components/cura-forms.definitions.js +18 -0
- package/dist/components/cura-forms.definitions.js.map +1 -0
- package/dist/components/cura-heading.js +1 -100
- package/dist/components/cura-heading.js.map +1 -1
- package/dist/components/cura-heading2.js +104 -0
- package/dist/components/cura-heading2.js.map +1 -0
- package/dist/components/cura-icon2.js +24 -17
- package/dist/components/cura-icon2.js.map +1 -1
- package/dist/components/cura-icons-view.js +31 -7
- package/dist/components/cura-icons-view.js.map +1 -1
- package/dist/components/cura-input-text.d.ts +11 -0
- package/dist/components/cura-input-text.js +3961 -0
- package/dist/components/cura-input-text.js.map +1 -0
- package/dist/components/cura-label.js +1 -84
- package/dist/components/cura-label.js.map +1 -1
- package/dist/components/cura-label2.js +88 -0
- package/dist/components/cura-label2.js.map +1 -0
- package/dist/components/cura-paragraph.js +1 -82
- package/dist/components/cura-paragraph.js.map +1 -1
- package/dist/components/cura-paragraph2.js +86 -0
- package/dist/components/cura-paragraph2.js.map +1 -0
- package/dist/components/cura-radio.d.ts +11 -0
- package/dist/components/cura-radio.js +154 -0
- package/dist/components/cura-radio.js.map +1 -0
- package/dist/components/cura-switch.d.ts +11 -0
- package/dist/components/cura-switch.js +119 -0
- package/dist/components/cura-switch.js.map +1 -0
- package/dist/components/index.js +12 -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/cura.js +1 -1
- package/dist/cura/p-1228e771.entry.js +2 -0
- package/dist/cura/p-1228e771.entry.js.map +1 -0
- package/dist/cura/p-2d42ccf4.entry.js +2 -0
- package/dist/cura/p-2d42ccf4.entry.js.map +1 -0
- package/dist/cura/p-3688570d.js +2 -0
- package/dist/cura/p-3688570d.js.map +1 -0
- package/dist/cura/p-36a83bc7.system.js +3 -0
- package/dist/cura/p-36a83bc7.system.js.map +1 -0
- package/dist/cura/p-3f3355f3.system.entry.js +2 -0
- package/dist/cura/p-3f3355f3.system.entry.js.map +1 -0
- package/dist/cura/p-4df84c9e.entry.js +2 -0
- package/dist/cura/p-4df84c9e.entry.js.map +1 -0
- package/dist/cura/p-70cefaf8.entry.js +2 -0
- package/dist/cura/p-70cefaf8.entry.js.map +1 -0
- package/dist/cura/{p-0c79c54e.entry.js → p-72a9ed55.entry.js} +2 -2
- package/dist/cura/{p-7c8f3c77.system.entry.js → p-75b2e4d1.system.entry.js} +2 -2
- package/dist/cura/{p-03047b3e.entry.js → p-880917c1.entry.js} +2 -2
- package/dist/cura/{p-d47b9cfe.system.entry.js → p-9471c93e.system.entry.js} +2 -2
- package/dist/cura/p-98014544.entry.js +2 -0
- package/dist/cura/p-98014544.entry.js.map +1 -0
- package/dist/cura/{p-223924fb.system.entry.js → p-98352c92.system.entry.js} +2 -2
- package/dist/cura/p-a32889a4.system.js +2 -0
- package/dist/cura/p-a32889a4.system.js.map +1 -0
- package/dist/cura/p-a6d20c12.system.entry.js +2 -0
- package/dist/cura/p-a6d20c12.system.entry.js.map +1 -0
- package/dist/cura/p-ab8c9a8f.system.entry.js +2 -0
- package/dist/cura/p-ab8c9a8f.system.entry.js.map +1 -0
- package/dist/cura/{p-91b0f78e.entry.js → p-ad194144.entry.js} +2 -2
- package/dist/cura/p-b0e13882.system.entry.js +2 -0
- package/dist/cura/p-b0e13882.system.entry.js.map +1 -0
- package/dist/cura/p-ba66d7be.js +3 -0
- package/dist/cura/{p-c0c00396.system.js.map → p-ba66d7be.js.map} +1 -1
- package/dist/cura/p-bb3f9d05.entry.js +2 -0
- package/dist/cura/p-bb3f9d05.entry.js.map +1 -0
- package/dist/cura/p-c791725b.js +2 -0
- package/dist/cura/p-c791725b.js.map +1 -0
- package/dist/cura/p-c9afb94f.entry.js +2 -0
- package/dist/cura/p-c9afb94f.entry.js.map +1 -0
- package/dist/cura/p-d3f9c888.system.js +2 -0
- package/dist/cura/p-d3f9c888.system.js.map +1 -0
- package/dist/cura/{p-ca054b07.system.entry.js → p-e5e259fd.system.entry.js} +2 -2
- package/dist/cura/{p-49813052.entry.js → p-edeffbfc.entry.js} +2 -2
- package/dist/cura/p-eea5ca70.system.entry.js +2 -0
- package/dist/cura/p-eea5ca70.system.entry.js.map +1 -0
- package/dist/cura/p-f6e61abf.system.entry.js +2 -0
- package/dist/cura/p-f6e61abf.system.entry.js.map +1 -0
- package/dist/cura/p-f89f2ecc.system.entry.js +2 -0
- package/dist/cura/p-f89f2ecc.system.entry.js.map +1 -0
- package/dist/cura/p-fc4ba4ce.system.js +2 -0
- package/dist/cura/p-fc4ba4ce.system.js.map +1 -0
- package/dist/cura/p-fef52079.entry.js +2 -0
- package/dist/cura/p-fef52079.entry.js.map +1 -0
- package/dist/cura/p-ffd41520.system.entry.js +2 -0
- package/dist/cura/p-ffd41520.system.entry.js.map +1 -0
- package/dist/esm/cura-accordion_8.entry.js +10 -17
- package/dist/esm/cura-accordion_8.entry.js.map +1 -1
- package/dist/esm/cura-alert.entry.js +63 -0
- package/dist/esm/cura-alert.entry.js.map +1 -0
- package/dist/esm/cura-button-outline.entry.js +1 -1
- package/dist/esm/cura-button-select.entry.js +93 -0
- package/dist/esm/cura-button-select.entry.js.map +1 -0
- package/dist/esm/cura-button-transparent.entry.js +1 -1
- package/dist/esm/cura-checkbox.entry.js +140 -0
- package/dist/esm/cura-checkbox.entry.js.map +1 -0
- package/dist/esm/cura-display.entry.js +1 -1
- package/dist/esm/cura-forms.definitions-0f774253.js +18 -0
- package/dist/esm/cura-forms.definitions-0f774253.js.map +1 -0
- package/dist/esm/cura-icon.definitions-a63d1862.js +18 -0
- package/dist/esm/cura-icon.definitions-a63d1862.js.map +1 -0
- package/dist/esm/cura-icons-view.entry.js +13 -6
- package/dist/esm/cura-icons-view.entry.js.map +1 -1
- package/dist/esm/cura-input-text.entry.js +3903 -0
- package/dist/esm/cura-input-text.entry.js.map +1 -0
- package/dist/esm/cura-label.entry.js +1 -1
- package/dist/esm/cura-radio.entry.js +110 -0
- package/dist/esm/cura-radio.entry.js.map +1 -0
- package/dist/esm/cura-switch.entry.js +85 -0
- package/dist/esm/cura-switch.entry.js.map +1 -0
- package/dist/esm/cura.js +3 -3
- package/dist/esm/{index-d99da69e.js → index-81f1a268.js} +35 -2
- package/dist/{esm-es5/index-d99da69e.js.map → esm/index-81f1a268.js.map} +1 -1
- package/dist/esm/loader.js +3 -3
- package/dist/esm-es5/cura-accordion_8.entry.js +1 -1
- package/dist/esm-es5/cura-accordion_8.entry.js.map +1 -1
- package/dist/esm-es5/cura-alert.entry.js +2 -0
- package/dist/esm-es5/cura-alert.entry.js.map +1 -0
- package/dist/esm-es5/cura-button-outline.entry.js +1 -1
- package/dist/esm-es5/cura-button-select.entry.js +2 -0
- package/dist/esm-es5/cura-button-select.entry.js.map +1 -0
- package/dist/esm-es5/cura-button-transparent.entry.js +1 -1
- package/dist/esm-es5/cura-checkbox.entry.js +2 -0
- package/dist/esm-es5/cura-checkbox.entry.js.map +1 -0
- package/dist/esm-es5/cura-display.entry.js +1 -1
- package/dist/esm-es5/cura-forms.definitions-0f774253.js +2 -0
- package/dist/esm-es5/cura-forms.definitions-0f774253.js.map +1 -0
- package/dist/esm-es5/cura-icon.definitions-a63d1862.js +2 -0
- package/dist/esm-es5/cura-icon.definitions-a63d1862.js.map +1 -0
- package/dist/esm-es5/cura-icons-view.entry.js +1 -1
- package/dist/esm-es5/cura-icons-view.entry.js.map +1 -1
- package/dist/esm-es5/cura-input-text.entry.js +2 -0
- package/dist/esm-es5/cura-input-text.entry.js.map +1 -0
- package/dist/esm-es5/cura-label.entry.js +1 -1
- package/dist/esm-es5/cura-radio.entry.js +2 -0
- package/dist/esm-es5/cura-radio.entry.js.map +1 -0
- package/dist/esm-es5/cura-switch.entry.js +2 -0
- package/dist/esm-es5/cura-switch.entry.js.map +1 -0
- package/dist/esm-es5/cura.js +1 -1
- package/dist/esm-es5/cura.js.map +1 -1
- package/dist/esm-es5/index-81f1a268.js +3 -0
- package/dist/esm-es5/index-81f1a268.js.map +1 -0
- package/dist/esm-es5/loader.js +1 -1
- package/dist/esm-es5/loader.js.map +1 -1
- package/dist/types/components/buttons/cura-button/cura-button.d.ts +1 -1
- package/dist/types/components/buttons/cura-button-select/cura-button-select.d.ts +51 -0
- package/dist/types/components/cura-alert/cura-alert.d.ts +16 -0
- package/dist/types/components/cura-alert/cura-alert.stories.d.ts +79 -0
- package/dist/types/components/cura-icon/cura-icon.d.ts +0 -42
- package/dist/types/components/cura-icon/cura-icon.definitions.d.ts +47 -0
- package/dist/types/components/cura-icons-view/cura-icons-view.d.ts +2 -1
- package/dist/types/components/forms/cura-checkbox/cura-checkbox.d.ts +100 -0
- package/dist/types/components/forms/cura-checkbox/cura-checkbox.stories.d.ts +199 -0
- package/dist/types/components/forms/cura-forms.definitions.d.ts +14 -0
- package/dist/types/components/forms/cura-input-text/cura-input-text.d.ts +138 -0
- package/dist/types/components/forms/cura-input-text/cura-input-text.stories.d.ts +224 -0
- package/dist/types/components/forms/cura-input-text/mask-presets/input-mask-presets.d.ts +5 -0
- package/dist/types/components/forms/cura-radio/cura-radio.d.ts +81 -0
- package/dist/types/components/forms/cura-radio/cura-radio.stories.d.ts +180 -0
- package/dist/types/components/forms/cura-switch/cura-switch.d.ts +62 -0
- package/dist/types/components/forms/cura-switch/cura-switch.stories.d.ts +135 -0
- package/dist/types/components.d.ts +602 -0
- package/package.json +5 -4
- package/dist/cjs/index-404d93e9.js.map +0 -1
- package/dist/cura/p-46d20db3.js +0 -3
- package/dist/cura/p-46d20db3.js.map +0 -1
- package/dist/cura/p-4bdbcdf0.system.entry.js +0 -2
- package/dist/cura/p-4bdbcdf0.system.entry.js.map +0 -1
- package/dist/cura/p-8b18b5f7.system.js +0 -2
- package/dist/cura/p-8b18b5f7.system.js.map +0 -1
- package/dist/cura/p-a0395f90.entry.js +0 -2
- package/dist/cura/p-a0395f90.entry.js.map +0 -1
- package/dist/cura/p-a7ef255f.entry.js +0 -2
- package/dist/cura/p-a7ef255f.entry.js.map +0 -1
- package/dist/cura/p-c0c00396.system.js +0 -3
- package/dist/cura/p-fc77814b.system.entry.js +0 -2
- package/dist/cura/p-fc77814b.system.entry.js.map +0 -1
- package/dist/esm/index-d99da69e.js.map +0 -1
- package/dist/esm-es5/index-d99da69e.js +0 -3
- /package/dist/cura/{p-0c79c54e.entry.js.map → p-72a9ed55.entry.js.map} +0 -0
- /package/dist/cura/{p-7c8f3c77.system.entry.js.map → p-75b2e4d1.system.entry.js.map} +0 -0
- /package/dist/cura/{p-03047b3e.entry.js.map → p-880917c1.entry.js.map} +0 -0
- /package/dist/cura/{p-d47b9cfe.system.entry.js.map → p-9471c93e.system.entry.js.map} +0 -0
- /package/dist/cura/{p-223924fb.system.entry.js.map → p-98352c92.system.entry.js.map} +0 -0
- /package/dist/cura/{p-91b0f78e.entry.js.map → p-ad194144.entry.js.map} +0 -0
- /package/dist/cura/{p-ca054b07.system.entry.js.map → p-e5e259fd.system.entry.js.map} +0 -0
- /package/dist/cura/{p-49813052.entry.js.map → p-edeffbfc.entry.js.map} +0 -0
|
@@ -0,0 +1,224 @@
|
|
|
1
|
+
declare const _default: {
|
|
2
|
+
title: string;
|
|
3
|
+
tags: string[];
|
|
4
|
+
render: ({ helperText, ...args }: {
|
|
5
|
+
[x: string]: any;
|
|
6
|
+
helperText: any;
|
|
7
|
+
}) => string;
|
|
8
|
+
argTypes: {
|
|
9
|
+
mode: {
|
|
10
|
+
control: {
|
|
11
|
+
type: string;
|
|
12
|
+
};
|
|
13
|
+
options: string[];
|
|
14
|
+
description: string;
|
|
15
|
+
table: {
|
|
16
|
+
category: string;
|
|
17
|
+
defaultValue: {
|
|
18
|
+
summary: string;
|
|
19
|
+
};
|
|
20
|
+
};
|
|
21
|
+
};
|
|
22
|
+
status: {
|
|
23
|
+
control: {
|
|
24
|
+
type: string;
|
|
25
|
+
};
|
|
26
|
+
options: string[];
|
|
27
|
+
description: string;
|
|
28
|
+
table: {
|
|
29
|
+
category: string;
|
|
30
|
+
defaultValue: {
|
|
31
|
+
summary: string;
|
|
32
|
+
};
|
|
33
|
+
};
|
|
34
|
+
};
|
|
35
|
+
size: {
|
|
36
|
+
control: {
|
|
37
|
+
type: string;
|
|
38
|
+
};
|
|
39
|
+
options: string[];
|
|
40
|
+
description: string;
|
|
41
|
+
table: {
|
|
42
|
+
category: string;
|
|
43
|
+
defaultValue: {
|
|
44
|
+
summary: string;
|
|
45
|
+
};
|
|
46
|
+
};
|
|
47
|
+
};
|
|
48
|
+
type: {
|
|
49
|
+
control: {
|
|
50
|
+
type: string;
|
|
51
|
+
};
|
|
52
|
+
options: string[];
|
|
53
|
+
description: string;
|
|
54
|
+
table: {
|
|
55
|
+
category: string;
|
|
56
|
+
defaultValue: {
|
|
57
|
+
summary: string;
|
|
58
|
+
};
|
|
59
|
+
};
|
|
60
|
+
};
|
|
61
|
+
label: {
|
|
62
|
+
control: string;
|
|
63
|
+
description: string;
|
|
64
|
+
required: boolean;
|
|
65
|
+
table: {
|
|
66
|
+
category: string;
|
|
67
|
+
};
|
|
68
|
+
};
|
|
69
|
+
placeholder: {
|
|
70
|
+
control: string;
|
|
71
|
+
description: string;
|
|
72
|
+
required: boolean;
|
|
73
|
+
table: {
|
|
74
|
+
category: string;
|
|
75
|
+
};
|
|
76
|
+
};
|
|
77
|
+
helperText: {
|
|
78
|
+
control: string;
|
|
79
|
+
description: string;
|
|
80
|
+
table: {
|
|
81
|
+
category: string;
|
|
82
|
+
};
|
|
83
|
+
};
|
|
84
|
+
value: {
|
|
85
|
+
control: string;
|
|
86
|
+
description: string;
|
|
87
|
+
table: {
|
|
88
|
+
category: string;
|
|
89
|
+
};
|
|
90
|
+
};
|
|
91
|
+
maskPreset: {
|
|
92
|
+
control: {
|
|
93
|
+
type: string;
|
|
94
|
+
};
|
|
95
|
+
options: string[];
|
|
96
|
+
description: string;
|
|
97
|
+
required: boolean;
|
|
98
|
+
table: {
|
|
99
|
+
category: string;
|
|
100
|
+
};
|
|
101
|
+
};
|
|
102
|
+
maskRegex: {
|
|
103
|
+
control: string;
|
|
104
|
+
description: string;
|
|
105
|
+
required: boolean;
|
|
106
|
+
table: {
|
|
107
|
+
category: string;
|
|
108
|
+
};
|
|
109
|
+
};
|
|
110
|
+
maskAdvanced: {
|
|
111
|
+
control: {
|
|
112
|
+
type: string;
|
|
113
|
+
};
|
|
114
|
+
description: string;
|
|
115
|
+
required: boolean;
|
|
116
|
+
table: {
|
|
117
|
+
category: string;
|
|
118
|
+
defaultValue: {
|
|
119
|
+
summary: JSON;
|
|
120
|
+
};
|
|
121
|
+
};
|
|
122
|
+
};
|
|
123
|
+
required: {
|
|
124
|
+
control: string;
|
|
125
|
+
description: string;
|
|
126
|
+
table: {
|
|
127
|
+
category: string;
|
|
128
|
+
defaultValue: {
|
|
129
|
+
summary: boolean;
|
|
130
|
+
};
|
|
131
|
+
};
|
|
132
|
+
};
|
|
133
|
+
maxlength: {
|
|
134
|
+
control: string;
|
|
135
|
+
description: string;
|
|
136
|
+
required: boolean;
|
|
137
|
+
table: {
|
|
138
|
+
category: string;
|
|
139
|
+
defaultValue: {
|
|
140
|
+
summary: any;
|
|
141
|
+
};
|
|
142
|
+
};
|
|
143
|
+
};
|
|
144
|
+
clearIcon: {
|
|
145
|
+
control: string;
|
|
146
|
+
description: string;
|
|
147
|
+
table: {
|
|
148
|
+
category: string;
|
|
149
|
+
defaultValue: {
|
|
150
|
+
summary: boolean;
|
|
151
|
+
};
|
|
152
|
+
};
|
|
153
|
+
};
|
|
154
|
+
iconName: {
|
|
155
|
+
control: {
|
|
156
|
+
type: string;
|
|
157
|
+
};
|
|
158
|
+
options: string[];
|
|
159
|
+
description: string;
|
|
160
|
+
required: boolean;
|
|
161
|
+
table: {
|
|
162
|
+
category: string;
|
|
163
|
+
defaultValue: {
|
|
164
|
+
summary: string;
|
|
165
|
+
};
|
|
166
|
+
};
|
|
167
|
+
};
|
|
168
|
+
disabled: {
|
|
169
|
+
control: string;
|
|
170
|
+
description: string;
|
|
171
|
+
table: {
|
|
172
|
+
category: string;
|
|
173
|
+
defaultValue: {
|
|
174
|
+
summary: boolean;
|
|
175
|
+
};
|
|
176
|
+
};
|
|
177
|
+
};
|
|
178
|
+
readOnly: {
|
|
179
|
+
control: string;
|
|
180
|
+
description: string;
|
|
181
|
+
category: string;
|
|
182
|
+
required: boolean;
|
|
183
|
+
table: {
|
|
184
|
+
category: string;
|
|
185
|
+
defaultValue: {
|
|
186
|
+
summary: boolean;
|
|
187
|
+
};
|
|
188
|
+
};
|
|
189
|
+
};
|
|
190
|
+
isLoading: {
|
|
191
|
+
control: string;
|
|
192
|
+
description: string;
|
|
193
|
+
table: {
|
|
194
|
+
category: string;
|
|
195
|
+
defaultValue: {
|
|
196
|
+
summary: boolean;
|
|
197
|
+
};
|
|
198
|
+
};
|
|
199
|
+
};
|
|
200
|
+
};
|
|
201
|
+
};
|
|
202
|
+
export default _default;
|
|
203
|
+
export declare const InputText: {
|
|
204
|
+
args: {
|
|
205
|
+
mode: string;
|
|
206
|
+
status: string;
|
|
207
|
+
size: string;
|
|
208
|
+
type: string;
|
|
209
|
+
label: string;
|
|
210
|
+
placeholder: string;
|
|
211
|
+
value: string;
|
|
212
|
+
iconName: string;
|
|
213
|
+
clearIcon: boolean;
|
|
214
|
+
helperText: string;
|
|
215
|
+
maskPreset: any;
|
|
216
|
+
maskRegex: any;
|
|
217
|
+
maskAdvanced: any;
|
|
218
|
+
disabled: boolean;
|
|
219
|
+
required: boolean;
|
|
220
|
+
isLoading: boolean;
|
|
221
|
+
readOnly: boolean;
|
|
222
|
+
maxlength: any;
|
|
223
|
+
};
|
|
224
|
+
};
|
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
import { EventEmitter } from '../../../stencil-public-runtime';
|
|
2
|
+
export declare class CuraRadio {
|
|
3
|
+
/**
|
|
4
|
+
* Reflects the checked state of the radio button.
|
|
5
|
+
* Mutable property allowing state change.
|
|
6
|
+
*/
|
|
7
|
+
checked: boolean;
|
|
8
|
+
/**
|
|
9
|
+
* Status of the radio button.
|
|
10
|
+
* Can be 'error', 'success', or 'default'.
|
|
11
|
+
*/
|
|
12
|
+
status: 'error' | 'success' | 'default';
|
|
13
|
+
/**
|
|
14
|
+
* Reflects the disabled state of the radio button.
|
|
15
|
+
*/
|
|
16
|
+
disabled: boolean;
|
|
17
|
+
/**
|
|
18
|
+
* Reflects the required state of the radio button.
|
|
19
|
+
*/
|
|
20
|
+
required: boolean;
|
|
21
|
+
/**
|
|
22
|
+
* Text label associated with the radio button.
|
|
23
|
+
*/
|
|
24
|
+
label: string;
|
|
25
|
+
/**
|
|
26
|
+
* Specifies the tabindex of the radio button.
|
|
27
|
+
*/
|
|
28
|
+
ontabindex: number;
|
|
29
|
+
/**
|
|
30
|
+
* Position of the label relative to the radio button.
|
|
31
|
+
* Can be 'left' or 'right'.
|
|
32
|
+
*/
|
|
33
|
+
position: "left" | "right";
|
|
34
|
+
/**
|
|
35
|
+
* Value associated with the radio button.
|
|
36
|
+
*/
|
|
37
|
+
value: string;
|
|
38
|
+
/**
|
|
39
|
+
* Name attribute of the radio button.
|
|
40
|
+
*/
|
|
41
|
+
name: string;
|
|
42
|
+
/**
|
|
43
|
+
* Background theme of the radio button.
|
|
44
|
+
* Can be 'dark' or 'light'.
|
|
45
|
+
*/
|
|
46
|
+
background: 'dark' | 'light';
|
|
47
|
+
/**
|
|
48
|
+
* Size of the radio button.
|
|
49
|
+
* Can be 'small', 'medium', or 'large'.
|
|
50
|
+
*/
|
|
51
|
+
size: 'small' | 'medium' | 'large';
|
|
52
|
+
/**
|
|
53
|
+
* Color theme of the radio button.
|
|
54
|
+
*/
|
|
55
|
+
color: string;
|
|
56
|
+
styles: {};
|
|
57
|
+
host: HTMLElement;
|
|
58
|
+
onchange: EventEmitter<{
|
|
59
|
+
value: string;
|
|
60
|
+
checked: boolean;
|
|
61
|
+
}>;
|
|
62
|
+
sizes: {
|
|
63
|
+
large: {
|
|
64
|
+
size: number;
|
|
65
|
+
};
|
|
66
|
+
medium: {
|
|
67
|
+
size: number;
|
|
68
|
+
};
|
|
69
|
+
small: {
|
|
70
|
+
size: number;
|
|
71
|
+
};
|
|
72
|
+
};
|
|
73
|
+
isDarkbackground: () => boolean;
|
|
74
|
+
sizeHandler(): void;
|
|
75
|
+
setColors(): void;
|
|
76
|
+
connectedCallback(): void;
|
|
77
|
+
handleClick: () => void;
|
|
78
|
+
getClasses(): {};
|
|
79
|
+
assignColor(type: 'label' | 'message'): string;
|
|
80
|
+
render(): any;
|
|
81
|
+
}
|
|
@@ -0,0 +1,180 @@
|
|
|
1
|
+
declare const _default: {
|
|
2
|
+
title: string;
|
|
3
|
+
tags: string[];
|
|
4
|
+
render: ({ message, ...args }: {
|
|
5
|
+
[x: string]: any;
|
|
6
|
+
message: any;
|
|
7
|
+
}) => string;
|
|
8
|
+
argTypes: {
|
|
9
|
+
label: {
|
|
10
|
+
control: string;
|
|
11
|
+
description: string;
|
|
12
|
+
table: {
|
|
13
|
+
category: string;
|
|
14
|
+
};
|
|
15
|
+
};
|
|
16
|
+
message: {
|
|
17
|
+
control: string;
|
|
18
|
+
description: string;
|
|
19
|
+
name: string;
|
|
20
|
+
table: {
|
|
21
|
+
category: string;
|
|
22
|
+
};
|
|
23
|
+
};
|
|
24
|
+
checked: {
|
|
25
|
+
control: string;
|
|
26
|
+
description: string;
|
|
27
|
+
table: {
|
|
28
|
+
category: string;
|
|
29
|
+
defaultValue: {
|
|
30
|
+
summary: boolean;
|
|
31
|
+
};
|
|
32
|
+
};
|
|
33
|
+
};
|
|
34
|
+
disabled: {
|
|
35
|
+
control: string;
|
|
36
|
+
description: string;
|
|
37
|
+
table: {
|
|
38
|
+
category: string;
|
|
39
|
+
defaultValue: {
|
|
40
|
+
summary: boolean;
|
|
41
|
+
};
|
|
42
|
+
};
|
|
43
|
+
};
|
|
44
|
+
required: {
|
|
45
|
+
control: string;
|
|
46
|
+
description: string;
|
|
47
|
+
table: {
|
|
48
|
+
category: string;
|
|
49
|
+
defaultValue: {
|
|
50
|
+
summary: boolean;
|
|
51
|
+
};
|
|
52
|
+
};
|
|
53
|
+
};
|
|
54
|
+
ontabindex: {
|
|
55
|
+
control: string;
|
|
56
|
+
description: string;
|
|
57
|
+
table: {
|
|
58
|
+
category: string;
|
|
59
|
+
defaultValue: {
|
|
60
|
+
summary: number;
|
|
61
|
+
};
|
|
62
|
+
};
|
|
63
|
+
name: string;
|
|
64
|
+
};
|
|
65
|
+
position: {
|
|
66
|
+
control: {
|
|
67
|
+
type: string;
|
|
68
|
+
};
|
|
69
|
+
options: string[];
|
|
70
|
+
description: string;
|
|
71
|
+
table: {
|
|
72
|
+
category: string;
|
|
73
|
+
defaultValue: {
|
|
74
|
+
summary: string;
|
|
75
|
+
};
|
|
76
|
+
};
|
|
77
|
+
name: string;
|
|
78
|
+
};
|
|
79
|
+
size: {
|
|
80
|
+
control: {
|
|
81
|
+
type: string;
|
|
82
|
+
};
|
|
83
|
+
options: string[];
|
|
84
|
+
description: string;
|
|
85
|
+
table: {
|
|
86
|
+
category: string;
|
|
87
|
+
defaultValue: {
|
|
88
|
+
summary: string;
|
|
89
|
+
};
|
|
90
|
+
};
|
|
91
|
+
};
|
|
92
|
+
background: {
|
|
93
|
+
control: {
|
|
94
|
+
type: string;
|
|
95
|
+
};
|
|
96
|
+
options: string[];
|
|
97
|
+
description: string;
|
|
98
|
+
table: {
|
|
99
|
+
category: string;
|
|
100
|
+
defaultValue: {
|
|
101
|
+
summary: string;
|
|
102
|
+
};
|
|
103
|
+
};
|
|
104
|
+
};
|
|
105
|
+
color: {
|
|
106
|
+
control: {
|
|
107
|
+
type: string;
|
|
108
|
+
};
|
|
109
|
+
options: string[];
|
|
110
|
+
description: string;
|
|
111
|
+
table: {
|
|
112
|
+
category: string;
|
|
113
|
+
defaultValue: {
|
|
114
|
+
summary: string;
|
|
115
|
+
};
|
|
116
|
+
};
|
|
117
|
+
};
|
|
118
|
+
value: {
|
|
119
|
+
control: string;
|
|
120
|
+
description: string;
|
|
121
|
+
table: {
|
|
122
|
+
category: string;
|
|
123
|
+
defaultValue: {
|
|
124
|
+
summary: string;
|
|
125
|
+
};
|
|
126
|
+
};
|
|
127
|
+
};
|
|
128
|
+
name: {
|
|
129
|
+
control: string;
|
|
130
|
+
description: string;
|
|
131
|
+
table: {
|
|
132
|
+
category: string;
|
|
133
|
+
defaultValue: {
|
|
134
|
+
summary: string;
|
|
135
|
+
};
|
|
136
|
+
};
|
|
137
|
+
};
|
|
138
|
+
status: {
|
|
139
|
+
control: {
|
|
140
|
+
type: string;
|
|
141
|
+
};
|
|
142
|
+
options: string[];
|
|
143
|
+
description: string;
|
|
144
|
+
table: {
|
|
145
|
+
category: string;
|
|
146
|
+
defaultValue: {
|
|
147
|
+
summary: string;
|
|
148
|
+
};
|
|
149
|
+
};
|
|
150
|
+
};
|
|
151
|
+
onchange: {
|
|
152
|
+
control: string;
|
|
153
|
+
description: string;
|
|
154
|
+
table: {
|
|
155
|
+
category: string;
|
|
156
|
+
defaultValue: {
|
|
157
|
+
summary: string;
|
|
158
|
+
};
|
|
159
|
+
};
|
|
160
|
+
};
|
|
161
|
+
};
|
|
162
|
+
};
|
|
163
|
+
export default _default;
|
|
164
|
+
export declare const CuraRadioStory: {
|
|
165
|
+
args: {
|
|
166
|
+
label: string;
|
|
167
|
+
message: string;
|
|
168
|
+
checked: boolean;
|
|
169
|
+
required: boolean;
|
|
170
|
+
disabled: boolean;
|
|
171
|
+
size: string;
|
|
172
|
+
position: string;
|
|
173
|
+
background: string;
|
|
174
|
+
status: string;
|
|
175
|
+
color: string;
|
|
176
|
+
value: string;
|
|
177
|
+
name: string;
|
|
178
|
+
ontabindex: number;
|
|
179
|
+
};
|
|
180
|
+
};
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
import { EventEmitter } from '../../../stencil-public-runtime';
|
|
2
|
+
export declare class CuraSwitch {
|
|
3
|
+
/**
|
|
4
|
+
* Indicates whether the switch is checked or not.
|
|
5
|
+
*/
|
|
6
|
+
checked: boolean;
|
|
7
|
+
/**
|
|
8
|
+
* Indicates whether the switch is disabled or not.
|
|
9
|
+
*/
|
|
10
|
+
disabled: boolean;
|
|
11
|
+
/**
|
|
12
|
+
* The label text to display next to the switch.
|
|
13
|
+
*/
|
|
14
|
+
label: string;
|
|
15
|
+
/**
|
|
16
|
+
* Tab index for the switch element.
|
|
17
|
+
* Reflects as an HTML attribute.
|
|
18
|
+
*/
|
|
19
|
+
ontabindex: number;
|
|
20
|
+
/**
|
|
21
|
+
* Position of the label relative to the switch.
|
|
22
|
+
* Can be 'left' or 'right'.
|
|
23
|
+
*/
|
|
24
|
+
position: "left" | "right";
|
|
25
|
+
/**
|
|
26
|
+
* Size of the switch.
|
|
27
|
+
* Can be 'small', 'medium', or 'large'.
|
|
28
|
+
*/
|
|
29
|
+
size: 'small' | 'medium' | 'large';
|
|
30
|
+
/**
|
|
31
|
+
* Background style of the switch.
|
|
32
|
+
* Can be 'dark' or 'light'.
|
|
33
|
+
*/
|
|
34
|
+
background: 'dark' | 'light';
|
|
35
|
+
/**
|
|
36
|
+
* Accent color of the switch.
|
|
37
|
+
*/
|
|
38
|
+
color: string;
|
|
39
|
+
styles: {};
|
|
40
|
+
onchange: EventEmitter<{
|
|
41
|
+
checked: boolean;
|
|
42
|
+
}>;
|
|
43
|
+
sizes: {
|
|
44
|
+
large: {
|
|
45
|
+
size: number;
|
|
46
|
+
};
|
|
47
|
+
medium: {
|
|
48
|
+
size: number;
|
|
49
|
+
};
|
|
50
|
+
small: {
|
|
51
|
+
size: number;
|
|
52
|
+
};
|
|
53
|
+
};
|
|
54
|
+
isDarkbackground: () => boolean;
|
|
55
|
+
sizeHandler(): void;
|
|
56
|
+
setColors(): void;
|
|
57
|
+
connectedCallback(): void;
|
|
58
|
+
toggleSwitch: () => any;
|
|
59
|
+
assignColor(colorDark: string, colorLight: string): string;
|
|
60
|
+
getClasses(): {};
|
|
61
|
+
render(): any;
|
|
62
|
+
}
|
|
@@ -0,0 +1,135 @@
|
|
|
1
|
+
declare const _default: {
|
|
2
|
+
title: string;
|
|
3
|
+
tags: string[];
|
|
4
|
+
render: ({ label, message, ...args }: {
|
|
5
|
+
[x: string]: any;
|
|
6
|
+
label: any;
|
|
7
|
+
message: any;
|
|
8
|
+
}) => string;
|
|
9
|
+
argTypes: {
|
|
10
|
+
label: {
|
|
11
|
+
control: string;
|
|
12
|
+
description: string;
|
|
13
|
+
name: string;
|
|
14
|
+
table: {
|
|
15
|
+
category: string;
|
|
16
|
+
};
|
|
17
|
+
};
|
|
18
|
+
message: {
|
|
19
|
+
control: string;
|
|
20
|
+
description: string;
|
|
21
|
+
name: string;
|
|
22
|
+
table: {
|
|
23
|
+
category: string;
|
|
24
|
+
};
|
|
25
|
+
};
|
|
26
|
+
checked: {
|
|
27
|
+
control: string;
|
|
28
|
+
description: string;
|
|
29
|
+
table: {
|
|
30
|
+
category: string;
|
|
31
|
+
defaultValue: {
|
|
32
|
+
summary: boolean;
|
|
33
|
+
};
|
|
34
|
+
};
|
|
35
|
+
};
|
|
36
|
+
disabled: {
|
|
37
|
+
control: string;
|
|
38
|
+
description: string;
|
|
39
|
+
table: {
|
|
40
|
+
category: string;
|
|
41
|
+
defaultValue: {
|
|
42
|
+
summary: boolean;
|
|
43
|
+
};
|
|
44
|
+
};
|
|
45
|
+
};
|
|
46
|
+
ontabindex: {
|
|
47
|
+
control: string;
|
|
48
|
+
description: string;
|
|
49
|
+
table: {
|
|
50
|
+
category: string;
|
|
51
|
+
defaultValue: {
|
|
52
|
+
summary: number;
|
|
53
|
+
};
|
|
54
|
+
};
|
|
55
|
+
name: string;
|
|
56
|
+
};
|
|
57
|
+
position: {
|
|
58
|
+
control: {
|
|
59
|
+
type: string;
|
|
60
|
+
};
|
|
61
|
+
options: string[];
|
|
62
|
+
description: string;
|
|
63
|
+
table: {
|
|
64
|
+
category: string;
|
|
65
|
+
defaultValue: {
|
|
66
|
+
summary: string;
|
|
67
|
+
};
|
|
68
|
+
};
|
|
69
|
+
name: string;
|
|
70
|
+
};
|
|
71
|
+
size: {
|
|
72
|
+
control: {
|
|
73
|
+
type: string;
|
|
74
|
+
};
|
|
75
|
+
options: string[];
|
|
76
|
+
description: string;
|
|
77
|
+
table: {
|
|
78
|
+
category: string;
|
|
79
|
+
defaultValue: {
|
|
80
|
+
summary: string;
|
|
81
|
+
};
|
|
82
|
+
};
|
|
83
|
+
};
|
|
84
|
+
background: {
|
|
85
|
+
control: {
|
|
86
|
+
type: string;
|
|
87
|
+
};
|
|
88
|
+
options: string[];
|
|
89
|
+
description: string;
|
|
90
|
+
table: {
|
|
91
|
+
category: string;
|
|
92
|
+
defaultValue: {
|
|
93
|
+
summary: string;
|
|
94
|
+
};
|
|
95
|
+
};
|
|
96
|
+
};
|
|
97
|
+
color: {
|
|
98
|
+
control: {
|
|
99
|
+
type: string;
|
|
100
|
+
};
|
|
101
|
+
options: string[];
|
|
102
|
+
description: string;
|
|
103
|
+
table: {
|
|
104
|
+
category: string;
|
|
105
|
+
defaultValue: {
|
|
106
|
+
summary: string;
|
|
107
|
+
};
|
|
108
|
+
};
|
|
109
|
+
};
|
|
110
|
+
onchange: {
|
|
111
|
+
control: string;
|
|
112
|
+
description: string;
|
|
113
|
+
table: {
|
|
114
|
+
category: string;
|
|
115
|
+
defaultValue: {
|
|
116
|
+
summary: string;
|
|
117
|
+
};
|
|
118
|
+
};
|
|
119
|
+
};
|
|
120
|
+
};
|
|
121
|
+
};
|
|
122
|
+
export default _default;
|
|
123
|
+
export declare const CuraSwitchStory: {
|
|
124
|
+
args: {
|
|
125
|
+
label: string;
|
|
126
|
+
color: string;
|
|
127
|
+
message: string;
|
|
128
|
+
checked: boolean;
|
|
129
|
+
size: string;
|
|
130
|
+
disabled: boolean;
|
|
131
|
+
position: string;
|
|
132
|
+
background: string;
|
|
133
|
+
ontabindex: number;
|
|
134
|
+
};
|
|
135
|
+
};
|