@rededor/cura 1.4.0 → 1.5.0-alpha.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/{cura-accordion_12.cjs.entry.js → cura-accordion_13.cjs.entry.js} +77 -12
- package/dist/cjs/cura-accordion_13.cjs.entry.js.map +1 -0
- package/dist/cjs/cura-alert.cjs.entry.js +1 -1
- package/dist/cjs/cura-avatar.cjs.entry.js +1 -1
- package/dist/cjs/cura-badge-counter.cjs.entry.js +2 -2
- package/dist/cjs/cura-badge-counter.cjs.entry.js.map +1 -1
- package/dist/cjs/cura-badge-dot.cjs.entry.js +44 -0
- package/dist/cjs/cura-badge-dot.cjs.entry.js.map +1 -0
- package/dist/cjs/cura-badge-pill.cjs.entry.js +2 -1
- package/dist/cjs/cura-badge-pill.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 +1 -1
- package/dist/cjs/cura-button-transparent.cjs.entry.js +1 -1
- package/dist/cjs/cura-calendar.cjs.entry.js +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 +27 -21
- package/dist/cjs/cura-dropdown-search.cjs.entry.js.map +1 -1
- package/dist/cjs/cura-icons-view.cjs.entry.js +1 -1
- package/dist/cjs/cura-input-date.cjs.entry.js +1 -1
- package/dist/cjs/cura-loader-bar.cjs.entry.js +1 -1
- package/dist/cjs/cura-progress-bar_2.cjs.entry.js +98 -0
- package/dist/cjs/cura-progress-bar_2.cjs.entry.js.map +1 -0
- package/dist/cjs/cura-radio.cjs.entry.js +1 -1
- package/dist/cjs/cura-stepper.cjs.entry.js +123 -0
- package/dist/cjs/cura-stepper.cjs.entry.js.map +1 -0
- 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 +9 -8
- package/dist/cjs/cura-tooltip.cjs.entry.js.map +1 -1
- package/dist/cjs/cura.cjs.js +1 -1
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/collection/collection-manifest.json +4 -0
- package/dist/collection/components/badges/cura-badge-counter/cura-badge-counter.js +2 -2
- package/dist/collection/components/badges/cura-badge-counter/cura-badge-counter.js.map +1 -1
- package/dist/collection/components/badges/cura-badge-dot/cura-badge-dot.css +61 -0
- package/dist/collection/components/badges/cura-badge-dot/cura-badge-dot.js +108 -0
- package/dist/collection/components/badges/cura-badge-dot/cura-badge-dot.js.map +1 -0
- package/dist/collection/components/badges/cura-badge-dot/cura-badge-dot.stories.js +65 -0
- package/dist/collection/components/badges/cura-badge-dot/cura-badge-dot.stories.js.map +1 -0
- package/dist/collection/components/badges/cura-badge-pill/cura-badge-pill.js +2 -1
- package/dist/collection/components/badges/cura-badge-pill/cura-badge-pill.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.js +1 -1
- package/dist/collection/components/buttons/cura-button-transparent/cura-button-transparent.js +1 -1
- package/dist/collection/components/cura-alert/cura-alert.js +1 -1
- package/dist/collection/components/cura-avatar/cura-avatar.js +1 -1
- 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 +1 -1
- package/dist/collection/components/cura-modal/cura-modal.css +3 -3
- package/dist/collection/components/cura-modal/cura-modal.js +39 -1
- package/dist/collection/components/cura-modal/cura-modal.js.map +1 -1
- package/dist/collection/components/cura-modal/cura-modal.stories.js +18 -0
- package/dist/collection/components/cura-modal/cura-modal.stories.js.map +1 -1
- package/dist/collection/components/cura-page-template/cura-page-template.js +1 -1
- package/dist/collection/components/cura-stepper/cura-progress-bar/cura-progress-bar.css +15 -0
- package/dist/collection/components/cura-stepper/cura-progress-bar/cura-progress-bar.js +121 -0
- package/dist/collection/components/cura-stepper/cura-progress-bar/cura-progress-bar.js.map +1 -0
- package/dist/collection/components/cura-stepper/cura-stepper-item/cura-stepper-item.css +10 -0
- package/dist/collection/components/cura-stepper/cura-stepper-item/cura-stepper-item.js +153 -0
- package/dist/collection/components/cura-stepper/cura-stepper-item/cura-stepper-item.js.map +1 -0
- package/dist/collection/components/cura-stepper/cura-stepper.css +72 -0
- package/dist/collection/components/cura-stepper/cura-stepper.js +227 -0
- package/dist/collection/components/cura-stepper/cura-stepper.js.map +1 -0
- package/dist/collection/components/cura-stepper/cura-stepper.stories.js +97 -0
- package/dist/collection/components/cura-stepper/cura-stepper.stories.js.map +1 -0
- package/dist/collection/components/cura-stepper/stepper.type.js +2 -0
- package/dist/collection/components/cura-stepper/stepper.type.js.map +1 -0
- package/dist/collection/components/cura-toast/cura-toast.js +1 -1
- package/dist/collection/components/cura-tooltip/cura-tooltip.js +9 -8
- package/dist/collection/components/cura-tooltip/cura-tooltip.js.map +1 -1
- 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 +4 -2
- package/dist/collection/components/forms/cura-dropdown-search/cura-dropdown-search.js +28 -21
- 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.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/cura-select.stories.js +1 -1
- package/dist/collection/components/forms/cura-select/cura-select.stories.js.map +1 -1
- 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.js +1 -1
- package/dist/collection/components/text/cura-paragraph/cura-paragraph.js +1 -1
- package/dist/components/cura-alert.js +1 -1
- package/dist/components/cura-avatar.js +1 -1
- package/dist/components/cura-badge-counter2.js +2 -2
- package/dist/components/cura-badge-counter2.js.map +1 -1
- package/dist/components/cura-badge-dot.d.ts +11 -0
- package/dist/components/cura-badge-dot.js +63 -0
- package/dist/components/cura-badge-dot.js.map +1 -0
- package/dist/components/cura-badge-pill.js +1 -113
- package/dist/components/cura-badge-pill.js.map +1 -1
- package/dist/components/cura-badge-pill2.js +118 -0
- package/dist/components/cura-badge-pill2.js.map +1 -0
- package/dist/components/cura-button-outline.js +1 -1
- package/dist/components/cura-button-select.js +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 +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 +29 -22
- package/dist/components/cura-dropdown-search.js.map +1 -1
- package/dist/components/cura-heading2.js +1 -1
- package/dist/components/cura-icon2.js +1 -1
- package/dist/components/cura-icons-view.js +1 -1
- package/dist/components/cura-input-date.js +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-modal.js +6 -2
- package/dist/components/cura-modal.js.map +1 -1
- package/dist/components/cura-page-template.js +1 -1
- package/dist/components/cura-paragraph2.js +1 -1
- package/dist/components/cura-progress-bar.d.ts +11 -0
- package/dist/components/cura-progress-bar.js +8 -0
- package/dist/components/cura-progress-bar.js.map +1 -0
- package/dist/components/cura-progress-bar2.js +48 -0
- package/dist/components/cura-progress-bar2.js.map +1 -0
- 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-stepper-item.d.ts +11 -0
- package/dist/components/cura-stepper-item.js +8 -0
- package/dist/components/cura-stepper-item.js.map +1 -0
- package/dist/components/cura-stepper-item2.js +116 -0
- package/dist/components/cura-stepper-item2.js.map +1 -0
- package/dist/components/cura-stepper.d.ts +11 -0
- package/dist/components/cura-stepper.js +187 -0
- package/dist/components/cura-stepper.js.map +1 -0
- package/dist/components/cura-switch.js +1 -1
- package/dist/components/cura-toast.js +1 -1
- package/dist/components/cura-tooltip.js +9 -8
- package/dist/components/cura-tooltip.js.map +1 -1
- package/dist/components/index.js +8 -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-a91d451f.entry.js → p-04006a3e.entry.js} +2 -2
- package/dist/cura/{p-576c65b4.entry.js → p-0a133399.entry.js} +2 -2
- package/dist/cura/{p-116a1cd6.entry.js → p-164ddb46.entry.js} +2 -2
- package/dist/cura/{p-36dbec98.entry.js → p-235ac0b4.entry.js} +2 -2
- package/dist/cura/p-23fa2246.entry.js +2 -0
- package/dist/cura/p-23fa2246.entry.js.map +1 -0
- package/dist/cura/{p-c4da4c44.entry.js → p-2af6216a.entry.js} +2 -2
- package/dist/cura/{p-3d958d45.entry.js → p-3c0931d3.entry.js} +2 -2
- package/dist/cura/{p-3eca0f0c.entry.js → p-46b21329.entry.js} +2 -2
- package/dist/cura/{p-bdb1a0c5.entry.js → p-4aefe237.entry.js} +2 -2
- package/dist/cura/{p-aa65cb50.entry.js → p-529332d3.entry.js} +2 -2
- package/dist/cura/{p-aa65cb50.entry.js.map → p-529332d3.entry.js.map} +1 -1
- package/dist/cura/{p-19f28fa8.entry.js → p-545e8e55.entry.js} +2 -2
- package/dist/cura/p-557b90c4.entry.js +2 -0
- package/dist/cura/p-557b90c4.entry.js.map +1 -0
- package/dist/cura/p-6624108e.entry.js +2 -0
- package/dist/cura/p-6b627841.entry.js +2 -0
- package/dist/cura/p-6b627841.entry.js.map +1 -0
- package/dist/cura/{p-ef593f12.entry.js → p-6f1a3fe5.entry.js} +2 -2
- package/dist/cura/p-6f1a3fe5.entry.js.map +1 -0
- package/dist/cura/{p-52f854e0.entry.js → p-7ba80d78.entry.js} +2 -2
- package/dist/cura/{p-52f854e0.entry.js.map → p-7ba80d78.entry.js.map} +1 -1
- package/dist/cura/p-8622c492.entry.js +2 -0
- package/dist/cura/p-8622c492.entry.js.map +1 -0
- package/dist/cura/{p-42258230.entry.js → p-a5af4225.entry.js} +2 -2
- package/dist/cura/{p-b1a51e81.entry.js → p-a7c60a4e.entry.js} +2 -2
- package/dist/cura/{p-2545cfc7.entry.js → p-b3e93e74.entry.js} +2 -2
- package/dist/cura/{p-dcd2e5bb.entry.js → p-bce10f9b.entry.js} +2 -2
- package/dist/cura/p-cfbe2bce.entry.js +2 -0
- package/dist/cura/p-cfbe2bce.entry.js.map +1 -0
- package/dist/cura/{p-818c581f.entry.js → p-d13e3295.entry.js} +2 -2
- package/dist/cura/{p-e1a41792.entry.js → p-ec7876d3.entry.js} +2 -2
- package/dist/cura/{p-4b496c51.entry.js → p-f96b0923.entry.js} +2 -2
- package/dist/esm/{cura-accordion_12.entry.js → cura-accordion_13.entry.js} +77 -13
- package/dist/esm/cura-accordion_13.entry.js.map +1 -0
- package/dist/esm/cura-alert.entry.js +1 -1
- package/dist/esm/cura-avatar.entry.js +1 -1
- package/dist/esm/cura-badge-counter.entry.js +2 -2
- package/dist/esm/cura-badge-counter.entry.js.map +1 -1
- package/dist/esm/cura-badge-dot.entry.js +40 -0
- package/dist/esm/cura-badge-dot.entry.js.map +1 -0
- package/dist/esm/cura-badge-pill.entry.js +2 -1
- package/dist/esm/cura-badge-pill.entry.js.map +1 -1
- package/dist/esm/cura-button-outline.entry.js +1 -1
- package/dist/esm/cura-button-select.entry.js +1 -1
- package/dist/esm/cura-button-transparent.entry.js +1 -1
- package/dist/esm/cura-calendar.entry.js +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 +27 -21
- package/dist/esm/cura-dropdown-search.entry.js.map +1 -1
- package/dist/esm/cura-icons-view.entry.js +1 -1
- package/dist/esm/cura-input-date.entry.js +1 -1
- package/dist/esm/cura-loader-bar.entry.js +1 -1
- package/dist/esm/cura-progress-bar_2.entry.js +93 -0
- package/dist/esm/cura-progress-bar_2.entry.js.map +1 -0
- package/dist/esm/cura-radio.entry.js +1 -1
- package/dist/esm/cura-stepper.entry.js +119 -0
- package/dist/esm/cura-stepper.entry.js.map +1 -0
- 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 +9 -8
- package/dist/esm/cura-tooltip.entry.js.map +1 -1
- package/dist/esm/cura.js +1 -1
- package/dist/esm/loader.js +1 -1
- package/dist/types/components/badges/cura-badge-dot/cura-badge-dot.d.ts +24 -0
- package/dist/types/components/badges/cura-badge-dot/cura-badge-dot.stories.d.ts +53 -0
- package/dist/types/components/cura-modal/cura-modal.d.ts +10 -0
- package/dist/types/components/cura-modal/cura-modal.stories.d.ts +20 -0
- package/dist/types/components/cura-stepper/cura-progress-bar/cura-progress-bar.d.ts +23 -0
- package/dist/types/components/cura-stepper/cura-stepper-item/cura-stepper-item.d.ts +60 -0
- package/dist/types/components/cura-stepper/cura-stepper.d.ts +62 -0
- package/dist/types/components/cura-stepper/cura-stepper.stories.d.ts +77 -0
- package/dist/types/components/cura-stepper/stepper.type.d.ts +4 -0
- package/dist/types/components/forms/cura-dropdown-search/cura-dropdown-search.d.ts +3 -1
- package/dist/types/components/forms/cura-select/cura-select.stories.d.ts +1 -1
- package/dist/types/components.d.ts +206 -0
- package/package.json +2 -2
- package/dist/cjs/cura-accordion_12.cjs.entry.js.map +0 -1
- package/dist/cjs/cura-modal.cjs.entry.js +0 -71
- package/dist/cjs/cura-modal.cjs.entry.js.map +0 -1
- package/dist/cura/p-35920ac0.entry.js +0 -2
- package/dist/cura/p-35920ac0.entry.js.map +0 -1
- package/dist/cura/p-3e4ca7e7.entry.js +0 -2
- package/dist/cura/p-3e4ca7e7.entry.js.map +0 -1
- package/dist/cura/p-ef593f12.entry.js.map +0 -1
- package/dist/cura/p-f23c4ed8.entry.js +0 -2
- package/dist/cura/p-f23c4ed8.entry.js.map +0 -1
- package/dist/cura/p-f5d45776.entry.js +0 -2
- package/dist/esm/cura-accordion_12.entry.js.map +0 -1
- package/dist/esm/cura-modal.entry.js +0 -67
- package/dist/esm/cura-modal.entry.js.map +0 -1
- /package/dist/cura/{p-a91d451f.entry.js.map → p-04006a3e.entry.js.map} +0 -0
- /package/dist/cura/{p-576c65b4.entry.js.map → p-0a133399.entry.js.map} +0 -0
- /package/dist/cura/{p-116a1cd6.entry.js.map → p-164ddb46.entry.js.map} +0 -0
- /package/dist/cura/{p-36dbec98.entry.js.map → p-235ac0b4.entry.js.map} +0 -0
- /package/dist/cura/{p-c4da4c44.entry.js.map → p-2af6216a.entry.js.map} +0 -0
- /package/dist/cura/{p-3d958d45.entry.js.map → p-3c0931d3.entry.js.map} +0 -0
- /package/dist/cura/{p-3eca0f0c.entry.js.map → p-46b21329.entry.js.map} +0 -0
- /package/dist/cura/{p-bdb1a0c5.entry.js.map → p-4aefe237.entry.js.map} +0 -0
- /package/dist/cura/{p-19f28fa8.entry.js.map → p-545e8e55.entry.js.map} +0 -0
- /package/dist/cura/{p-f5d45776.entry.js.map → p-6624108e.entry.js.map} +0 -0
- /package/dist/cura/{p-42258230.entry.js.map → p-a5af4225.entry.js.map} +0 -0
- /package/dist/cura/{p-b1a51e81.entry.js.map → p-a7c60a4e.entry.js.map} +0 -0
- /package/dist/cura/{p-2545cfc7.entry.js.map → p-b3e93e74.entry.js.map} +0 -0
- /package/dist/cura/{p-dcd2e5bb.entry.js.map → p-bce10f9b.entry.js.map} +0 -0
- /package/dist/cura/{p-818c581f.entry.js.map → p-d13e3295.entry.js.map} +0 -0
- /package/dist/cura/{p-e1a41792.entry.js.map → p-ec7876d3.entry.js.map} +0 -0
- /package/dist/cura/{p-4b496c51.entry.js.map → p-f96b0923.entry.js.map} +0 -0
|
@@ -6,7 +6,9 @@
|
|
|
6
6
|
*/
|
|
7
7
|
import { HTMLStencilElement, JSXBase } from "./stencil-public-runtime";
|
|
8
8
|
import { MaskPreset } from "./components/forms/cura-input-text/cura-input-text";
|
|
9
|
+
import { Step } from "./components/cura-stepper/stepper.type";
|
|
9
10
|
export { MaskPreset } from "./components/forms/cura-input-text/cura-input-text";
|
|
11
|
+
export { Step } from "./components/cura-stepper/stepper.type";
|
|
10
12
|
export namespace Components {
|
|
11
13
|
interface CuraAccordion {
|
|
12
14
|
/**
|
|
@@ -103,6 +105,20 @@ export namespace Components {
|
|
|
103
105
|
"distance": number;
|
|
104
106
|
"label": string;
|
|
105
107
|
}
|
|
108
|
+
interface CuraBadgeDot {
|
|
109
|
+
/**
|
|
110
|
+
* Cor fundamental do design system sem profundidade. Ex.: primary (padrão)
|
|
111
|
+
*/
|
|
112
|
+
"color": string;
|
|
113
|
+
/**
|
|
114
|
+
* Define o estado do badge como desabilitado ou habilitado.
|
|
115
|
+
*/
|
|
116
|
+
"disabled": boolean;
|
|
117
|
+
/**
|
|
118
|
+
* Define o estilo visual entre solid (default), outline ou transparent.
|
|
119
|
+
*/
|
|
120
|
+
"type": 'solid' | 'outline' | 'transparent' | string;
|
|
121
|
+
}
|
|
106
122
|
interface CuraBadgePill {
|
|
107
123
|
/**
|
|
108
124
|
* Set border-radius.
|
|
@@ -827,6 +843,10 @@ export namespace Components {
|
|
|
827
843
|
* Property left to control modal left position. Default: 0px
|
|
828
844
|
*/
|
|
829
845
|
"left"?: number;
|
|
846
|
+
/**
|
|
847
|
+
* Defines the label for the close button when the modal is viewed on mobile. Default: Fechar
|
|
848
|
+
*/
|
|
849
|
+
"mobileCloseLabel": string;
|
|
830
850
|
/**
|
|
831
851
|
* Property open to control modal visibility. Default: false
|
|
832
852
|
*/
|
|
@@ -839,6 +859,10 @@ export namespace Components {
|
|
|
839
859
|
* Property top to control modal top position. Default: 0px
|
|
840
860
|
*/
|
|
841
861
|
"top"?: number;
|
|
862
|
+
/**
|
|
863
|
+
* Property zindex to control the z-index value of the component. Default: 100
|
|
864
|
+
*/
|
|
865
|
+
"zindex": string;
|
|
842
866
|
}
|
|
843
867
|
interface CuraPageTemplate {
|
|
844
868
|
"contentwidth": 'default' | 'centered';
|
|
@@ -865,6 +889,28 @@ export namespace Components {
|
|
|
865
889
|
*/
|
|
866
890
|
"spotColor": string;
|
|
867
891
|
}
|
|
892
|
+
interface CuraProgressBar {
|
|
893
|
+
/**
|
|
894
|
+
* Defines whether the progress bar is active
|
|
895
|
+
*/
|
|
896
|
+
"active": boolean;
|
|
897
|
+
/**
|
|
898
|
+
* Defines the percentage of progress
|
|
899
|
+
*/
|
|
900
|
+
"progress": number;
|
|
901
|
+
/**
|
|
902
|
+
* Defines the color of the progress bar
|
|
903
|
+
*/
|
|
904
|
+
"progressColor": string;
|
|
905
|
+
/**
|
|
906
|
+
* Defines the size of the progress bar
|
|
907
|
+
*/
|
|
908
|
+
"size": number;
|
|
909
|
+
/**
|
|
910
|
+
* Defines the width of the stroke (outline) of the progress circle
|
|
911
|
+
*/
|
|
912
|
+
"strokeWidth": number;
|
|
913
|
+
}
|
|
868
914
|
interface CuraRadio {
|
|
869
915
|
/**
|
|
870
916
|
* Background theme of the radio button. Can be 'dark' or 'light'.
|
|
@@ -959,6 +1005,46 @@ export namespace Components {
|
|
|
959
1005
|
"size": 'xsmall' | 'small' | 'medium' | 'large';
|
|
960
1006
|
"value": string;
|
|
961
1007
|
}
|
|
1008
|
+
interface CuraStepper {
|
|
1009
|
+
/**
|
|
1010
|
+
* The current active step index
|
|
1011
|
+
*/
|
|
1012
|
+
"activeStepIndex": number;
|
|
1013
|
+
/**
|
|
1014
|
+
* Whether to display the title (default: false)
|
|
1015
|
+
*/
|
|
1016
|
+
"displayHeading": boolean;
|
|
1017
|
+
/**
|
|
1018
|
+
* Indicates if a step has encountered an error If `true`, the current step will be marked as 'stop'
|
|
1019
|
+
*/
|
|
1020
|
+
"errorInCurrentStep": boolean;
|
|
1021
|
+
/**
|
|
1022
|
+
* List of steps in the stepper.
|
|
1023
|
+
*/
|
|
1024
|
+
"steps": Step[] | string;
|
|
1025
|
+
/**
|
|
1026
|
+
* Allows you to set the appearance of the component (default: default)
|
|
1027
|
+
*/
|
|
1028
|
+
"variant": 'compact' | 'default';
|
|
1029
|
+
}
|
|
1030
|
+
interface CuraStepperItem {
|
|
1031
|
+
/**
|
|
1032
|
+
* Determines if the step title is displayed (default: false)
|
|
1033
|
+
*/
|
|
1034
|
+
"displayHeading": boolean;
|
|
1035
|
+
/**
|
|
1036
|
+
* The title of the step (displayed if `displayHeading` is true)
|
|
1037
|
+
*/
|
|
1038
|
+
"heading": string;
|
|
1039
|
+
/**
|
|
1040
|
+
* The label displayed inside the badge
|
|
1041
|
+
*/
|
|
1042
|
+
"label": string;
|
|
1043
|
+
/**
|
|
1044
|
+
* The current status of the step Can be: - 'done' for completed steps - 'stop' for failed steps - 'active' for the current active step - 'default' for steps that are neither done, active nor stopped.
|
|
1045
|
+
*/
|
|
1046
|
+
"status": 'done' | 'stop' | 'active' | 'default';
|
|
1047
|
+
}
|
|
962
1048
|
interface CuraSwitch {
|
|
963
1049
|
/**
|
|
964
1050
|
* Background style of the switch. Can be 'dark' or 'light'.
|
|
@@ -1116,6 +1202,12 @@ declare global {
|
|
|
1116
1202
|
prototype: HTMLCuraBadgeDistanceElement;
|
|
1117
1203
|
new (): HTMLCuraBadgeDistanceElement;
|
|
1118
1204
|
};
|
|
1205
|
+
interface HTMLCuraBadgeDotElement extends Components.CuraBadgeDot, HTMLStencilElement {
|
|
1206
|
+
}
|
|
1207
|
+
var HTMLCuraBadgeDotElement: {
|
|
1208
|
+
prototype: HTMLCuraBadgeDotElement;
|
|
1209
|
+
new (): HTMLCuraBadgeDotElement;
|
|
1210
|
+
};
|
|
1119
1211
|
interface HTMLCuraBadgePillElement extends Components.CuraBadgePill, HTMLStencilElement {
|
|
1120
1212
|
}
|
|
1121
1213
|
var HTMLCuraBadgePillElement: {
|
|
@@ -1344,6 +1436,12 @@ declare global {
|
|
|
1344
1436
|
prototype: HTMLCuraParagraphElement;
|
|
1345
1437
|
new (): HTMLCuraParagraphElement;
|
|
1346
1438
|
};
|
|
1439
|
+
interface HTMLCuraProgressBarElement extends Components.CuraProgressBar, HTMLStencilElement {
|
|
1440
|
+
}
|
|
1441
|
+
var HTMLCuraProgressBarElement: {
|
|
1442
|
+
prototype: HTMLCuraProgressBarElement;
|
|
1443
|
+
new (): HTMLCuraProgressBarElement;
|
|
1444
|
+
};
|
|
1347
1445
|
interface HTMLCuraRadioElementEventMap {
|
|
1348
1446
|
"onchange": { value: string, checked: boolean };
|
|
1349
1447
|
}
|
|
@@ -1384,6 +1482,18 @@ declare global {
|
|
|
1384
1482
|
prototype: HTMLCuraSelectOptionElement;
|
|
1385
1483
|
new (): HTMLCuraSelectOptionElement;
|
|
1386
1484
|
};
|
|
1485
|
+
interface HTMLCuraStepperElement extends Components.CuraStepper, HTMLStencilElement {
|
|
1486
|
+
}
|
|
1487
|
+
var HTMLCuraStepperElement: {
|
|
1488
|
+
prototype: HTMLCuraStepperElement;
|
|
1489
|
+
new (): HTMLCuraStepperElement;
|
|
1490
|
+
};
|
|
1491
|
+
interface HTMLCuraStepperItemElement extends Components.CuraStepperItem, HTMLStencilElement {
|
|
1492
|
+
}
|
|
1493
|
+
var HTMLCuraStepperItemElement: {
|
|
1494
|
+
prototype: HTMLCuraStepperItemElement;
|
|
1495
|
+
new (): HTMLCuraStepperItemElement;
|
|
1496
|
+
};
|
|
1387
1497
|
interface HTMLCuraSwitchElementEventMap {
|
|
1388
1498
|
"onchange": { checked: boolean };
|
|
1389
1499
|
}
|
|
@@ -1442,6 +1552,7 @@ declare global {
|
|
|
1442
1552
|
"cura-avatar": HTMLCuraAvatarElement;
|
|
1443
1553
|
"cura-badge-counter": HTMLCuraBadgeCounterElement;
|
|
1444
1554
|
"cura-badge-distance": HTMLCuraBadgeDistanceElement;
|
|
1555
|
+
"cura-badge-dot": HTMLCuraBadgeDotElement;
|
|
1445
1556
|
"cura-badge-pill": HTMLCuraBadgePillElement;
|
|
1446
1557
|
"cura-button": HTMLCuraButtonElement;
|
|
1447
1558
|
"cura-button-outline": HTMLCuraButtonOutlineElement;
|
|
@@ -1465,9 +1576,12 @@ declare global {
|
|
|
1465
1576
|
"cura-modal": HTMLCuraModalElement;
|
|
1466
1577
|
"cura-page-template": HTMLCuraPageTemplateElement;
|
|
1467
1578
|
"cura-paragraph": HTMLCuraParagraphElement;
|
|
1579
|
+
"cura-progress-bar": HTMLCuraProgressBarElement;
|
|
1468
1580
|
"cura-radio": HTMLCuraRadioElement;
|
|
1469
1581
|
"cura-select": HTMLCuraSelectElement;
|
|
1470
1582
|
"cura-select-option": HTMLCuraSelectOptionElement;
|
|
1583
|
+
"cura-stepper": HTMLCuraStepperElement;
|
|
1584
|
+
"cura-stepper-item": HTMLCuraStepperItemElement;
|
|
1471
1585
|
"cura-switch": HTMLCuraSwitchElement;
|
|
1472
1586
|
"cura-toast": HTMLCuraToastElement;
|
|
1473
1587
|
"cura-tooltip": HTMLCuraTooltipElement;
|
|
@@ -1570,6 +1684,20 @@ declare namespace LocalJSX {
|
|
|
1570
1684
|
"distance"?: number;
|
|
1571
1685
|
"label"?: string;
|
|
1572
1686
|
}
|
|
1687
|
+
interface CuraBadgeDot {
|
|
1688
|
+
/**
|
|
1689
|
+
* Cor fundamental do design system sem profundidade. Ex.: primary (padrão)
|
|
1690
|
+
*/
|
|
1691
|
+
"color"?: string;
|
|
1692
|
+
/**
|
|
1693
|
+
* Define o estado do badge como desabilitado ou habilitado.
|
|
1694
|
+
*/
|
|
1695
|
+
"disabled"?: boolean;
|
|
1696
|
+
/**
|
|
1697
|
+
* Define o estilo visual entre solid (default), outline ou transparent.
|
|
1698
|
+
*/
|
|
1699
|
+
"type"?: 'solid' | 'outline' | 'transparent' | string;
|
|
1700
|
+
}
|
|
1573
1701
|
interface CuraBadgePill {
|
|
1574
1702
|
/**
|
|
1575
1703
|
* Set border-radius.
|
|
@@ -2326,6 +2454,10 @@ declare namespace LocalJSX {
|
|
|
2326
2454
|
* Property left to control modal left position. Default: 0px
|
|
2327
2455
|
*/
|
|
2328
2456
|
"left"?: number;
|
|
2457
|
+
/**
|
|
2458
|
+
* Defines the label for the close button when the modal is viewed on mobile. Default: Fechar
|
|
2459
|
+
*/
|
|
2460
|
+
"mobileCloseLabel"?: string;
|
|
2329
2461
|
/**
|
|
2330
2462
|
* Event close to handle modal close.
|
|
2331
2463
|
*/
|
|
@@ -2342,6 +2474,10 @@ declare namespace LocalJSX {
|
|
|
2342
2474
|
* Property top to control modal top position. Default: 0px
|
|
2343
2475
|
*/
|
|
2344
2476
|
"top"?: number;
|
|
2477
|
+
/**
|
|
2478
|
+
* Property zindex to control the z-index value of the component. Default: 100
|
|
2479
|
+
*/
|
|
2480
|
+
"zindex"?: string;
|
|
2345
2481
|
}
|
|
2346
2482
|
interface CuraPageTemplate {
|
|
2347
2483
|
"contentwidth"?: 'default' | 'centered';
|
|
@@ -2368,6 +2504,28 @@ declare namespace LocalJSX {
|
|
|
2368
2504
|
*/
|
|
2369
2505
|
"spotColor"?: string;
|
|
2370
2506
|
}
|
|
2507
|
+
interface CuraProgressBar {
|
|
2508
|
+
/**
|
|
2509
|
+
* Defines whether the progress bar is active
|
|
2510
|
+
*/
|
|
2511
|
+
"active"?: boolean;
|
|
2512
|
+
/**
|
|
2513
|
+
* Defines the percentage of progress
|
|
2514
|
+
*/
|
|
2515
|
+
"progress"?: number;
|
|
2516
|
+
/**
|
|
2517
|
+
* Defines the color of the progress bar
|
|
2518
|
+
*/
|
|
2519
|
+
"progressColor"?: string;
|
|
2520
|
+
/**
|
|
2521
|
+
* Defines the size of the progress bar
|
|
2522
|
+
*/
|
|
2523
|
+
"size"?: number;
|
|
2524
|
+
/**
|
|
2525
|
+
* Defines the width of the stroke (outline) of the progress circle
|
|
2526
|
+
*/
|
|
2527
|
+
"strokeWidth"?: number;
|
|
2528
|
+
}
|
|
2371
2529
|
interface CuraRadio {
|
|
2372
2530
|
/**
|
|
2373
2531
|
* Background theme of the radio button. Can be 'dark' or 'light'.
|
|
@@ -2467,6 +2625,46 @@ declare namespace LocalJSX {
|
|
|
2467
2625
|
"size"?: 'xsmall' | 'small' | 'medium' | 'large';
|
|
2468
2626
|
"value"?: string;
|
|
2469
2627
|
}
|
|
2628
|
+
interface CuraStepper {
|
|
2629
|
+
/**
|
|
2630
|
+
* The current active step index
|
|
2631
|
+
*/
|
|
2632
|
+
"activeStepIndex"?: number;
|
|
2633
|
+
/**
|
|
2634
|
+
* Whether to display the title (default: false)
|
|
2635
|
+
*/
|
|
2636
|
+
"displayHeading"?: boolean;
|
|
2637
|
+
/**
|
|
2638
|
+
* Indicates if a step has encountered an error If `true`, the current step will be marked as 'stop'
|
|
2639
|
+
*/
|
|
2640
|
+
"errorInCurrentStep"?: boolean;
|
|
2641
|
+
/**
|
|
2642
|
+
* List of steps in the stepper.
|
|
2643
|
+
*/
|
|
2644
|
+
"steps"?: Step[] | string;
|
|
2645
|
+
/**
|
|
2646
|
+
* Allows you to set the appearance of the component (default: default)
|
|
2647
|
+
*/
|
|
2648
|
+
"variant"?: 'compact' | 'default';
|
|
2649
|
+
}
|
|
2650
|
+
interface CuraStepperItem {
|
|
2651
|
+
/**
|
|
2652
|
+
* Determines if the step title is displayed (default: false)
|
|
2653
|
+
*/
|
|
2654
|
+
"displayHeading"?: boolean;
|
|
2655
|
+
/**
|
|
2656
|
+
* The title of the step (displayed if `displayHeading` is true)
|
|
2657
|
+
*/
|
|
2658
|
+
"heading"?: string;
|
|
2659
|
+
/**
|
|
2660
|
+
* The label displayed inside the badge
|
|
2661
|
+
*/
|
|
2662
|
+
"label"?: string;
|
|
2663
|
+
/**
|
|
2664
|
+
* The current status of the step Can be: - 'done' for completed steps - 'stop' for failed steps - 'active' for the current active step - 'default' for steps that are neither done, active nor stopped.
|
|
2665
|
+
*/
|
|
2666
|
+
"status"?: 'done' | 'stop' | 'active' | 'default';
|
|
2667
|
+
}
|
|
2470
2668
|
interface CuraSwitch {
|
|
2471
2669
|
/**
|
|
2472
2670
|
* Background style of the switch. Can be 'dark' or 'light'.
|
|
@@ -2529,6 +2727,7 @@ declare namespace LocalJSX {
|
|
|
2529
2727
|
"cura-avatar": CuraAvatar;
|
|
2530
2728
|
"cura-badge-counter": CuraBadgeCounter;
|
|
2531
2729
|
"cura-badge-distance": CuraBadgeDistance;
|
|
2730
|
+
"cura-badge-dot": CuraBadgeDot;
|
|
2532
2731
|
"cura-badge-pill": CuraBadgePill;
|
|
2533
2732
|
"cura-button": CuraButton;
|
|
2534
2733
|
"cura-button-outline": CuraButtonOutline;
|
|
@@ -2552,9 +2751,12 @@ declare namespace LocalJSX {
|
|
|
2552
2751
|
"cura-modal": CuraModal;
|
|
2553
2752
|
"cura-page-template": CuraPageTemplate;
|
|
2554
2753
|
"cura-paragraph": CuraParagraph;
|
|
2754
|
+
"cura-progress-bar": CuraProgressBar;
|
|
2555
2755
|
"cura-radio": CuraRadio;
|
|
2556
2756
|
"cura-select": CuraSelect;
|
|
2557
2757
|
"cura-select-option": CuraSelectOption;
|
|
2758
|
+
"cura-stepper": CuraStepper;
|
|
2759
|
+
"cura-stepper-item": CuraStepperItem;
|
|
2558
2760
|
"cura-switch": CuraSwitch;
|
|
2559
2761
|
"cura-toast": CuraToast;
|
|
2560
2762
|
"cura-tooltip": CuraTooltip;
|
|
@@ -2570,6 +2772,7 @@ declare module "@stencil/core" {
|
|
|
2570
2772
|
"cura-avatar": LocalJSX.CuraAvatar & JSXBase.HTMLAttributes<HTMLCuraAvatarElement>;
|
|
2571
2773
|
"cura-badge-counter": LocalJSX.CuraBadgeCounter & JSXBase.HTMLAttributes<HTMLCuraBadgeCounterElement>;
|
|
2572
2774
|
"cura-badge-distance": LocalJSX.CuraBadgeDistance & JSXBase.HTMLAttributes<HTMLCuraBadgeDistanceElement>;
|
|
2775
|
+
"cura-badge-dot": LocalJSX.CuraBadgeDot & JSXBase.HTMLAttributes<HTMLCuraBadgeDotElement>;
|
|
2573
2776
|
"cura-badge-pill": LocalJSX.CuraBadgePill & JSXBase.HTMLAttributes<HTMLCuraBadgePillElement>;
|
|
2574
2777
|
"cura-button": LocalJSX.CuraButton & JSXBase.HTMLAttributes<HTMLCuraButtonElement>;
|
|
2575
2778
|
"cura-button-outline": LocalJSX.CuraButtonOutline & JSXBase.HTMLAttributes<HTMLCuraButtonOutlineElement>;
|
|
@@ -2593,9 +2796,12 @@ declare module "@stencil/core" {
|
|
|
2593
2796
|
"cura-modal": LocalJSX.CuraModal & JSXBase.HTMLAttributes<HTMLCuraModalElement>;
|
|
2594
2797
|
"cura-page-template": LocalJSX.CuraPageTemplate & JSXBase.HTMLAttributes<HTMLCuraPageTemplateElement>;
|
|
2595
2798
|
"cura-paragraph": LocalJSX.CuraParagraph & JSXBase.HTMLAttributes<HTMLCuraParagraphElement>;
|
|
2799
|
+
"cura-progress-bar": LocalJSX.CuraProgressBar & JSXBase.HTMLAttributes<HTMLCuraProgressBarElement>;
|
|
2596
2800
|
"cura-radio": LocalJSX.CuraRadio & JSXBase.HTMLAttributes<HTMLCuraRadioElement>;
|
|
2597
2801
|
"cura-select": LocalJSX.CuraSelect & JSXBase.HTMLAttributes<HTMLCuraSelectElement>;
|
|
2598
2802
|
"cura-select-option": LocalJSX.CuraSelectOption & JSXBase.HTMLAttributes<HTMLCuraSelectOptionElement>;
|
|
2803
|
+
"cura-stepper": LocalJSX.CuraStepper & JSXBase.HTMLAttributes<HTMLCuraStepperElement>;
|
|
2804
|
+
"cura-stepper-item": LocalJSX.CuraStepperItem & JSXBase.HTMLAttributes<HTMLCuraStepperItemElement>;
|
|
2599
2805
|
"cura-switch": LocalJSX.CuraSwitch & JSXBase.HTMLAttributes<HTMLCuraSwitchElement>;
|
|
2600
2806
|
"cura-toast": LocalJSX.CuraToast & JSXBase.HTMLAttributes<HTMLCuraToastElement>;
|
|
2601
2807
|
"cura-tooltip": LocalJSX.CuraTooltip & JSXBase.HTMLAttributes<HTMLCuraTooltipElement>;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rededor/cura",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.5.0-alpha.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": "e2e00fc5fd80fdcb510c15eaa51c21c0172f53ec"
|
|
55
55
|
}
|