@rededor/cura 2.0.0-alpha.13 → 2.0.0-alpha.16
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_22.cjs.entry.js +65 -74
- 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-not-found.cjs.entry.js +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-input-textarea.cjs.entry.js +236 -0
- package/dist/cjs/cura-loader-bar.cjs.entry.js +1 -1
- package/dist/cjs/cura-modal.cjs.entry.js +1 -1
- package/dist/cjs/cura-progress-bar_2.cjs.entry.js +2 -2
- package/dist/cjs/cura-radio.cjs.entry.js +1 -1
- package/dist/cjs/cura-stepper.cjs.entry.js +1 -1
- package/dist/cjs/cura-switch.cjs.entry.js +1 -1
- package/dist/cjs/cura-tabs-button.cjs.entry.js +1 -1
- package/dist/cjs/cura-tabs-transparent.cjs.entry.js +1 -1
- package/dist/cjs/cura-toast.cjs.entry.js +1 -1
- package/dist/cjs/cura-tooltip.cjs.entry.js +1 -1
- package/dist/cjs/cura.cjs.js +1 -1
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/utils-DMHZ2n4p.js +47 -0
- package/dist/collection/collection-manifest.json +1 -0
- package/dist/collection/components/cura-calendar/cura-calendar.css +13 -1
- package/dist/collection/components/cura-calendar/cura-calendar.js +92 -11
- package/dist/collection/components/cura-calendar/cura-calendar.stories.js +29 -1
- package/dist/collection/components/cura-calendar/cura-calendar.type.js +1 -0
- package/dist/collection/components/cura-card/cura-card.js +1 -1
- package/dist/collection/components/cura-dropdown-search/cura-dropdown-search-category/cura-dropdown-search-category.js +1 -1
- package/dist/collection/components/cura-dropdown-search/cura-dropdown-search-not-found/cura-dropdown-search-not-found.js +1 -1
- package/dist/collection/components/cura-dropdown-search/cura-dropdown-search-option/cura-dropdown-search-option.js +1 -1
- package/dist/collection/components/cura-dropdown-search/cura-dropdown-search.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.js +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.js +1 -1
- package/dist/collection/components/cura-stepper/cura-stepper-item/cura-stepper-item.js +1 -1
- package/dist/collection/components/cura-stepper/cura-stepper.js +1 -1
- package/dist/collection/components/cura-toast/cura-toast.js +1 -1
- package/dist/collection/components/cura-tooltip/cura-tooltip.js +1 -1
- package/dist/collection/components/forms/cura-checkbox/cura-checkbox.js +1 -1
- package/dist/collection/components/forms/cura-input-date/cura-input-date.js +1 -1
- package/dist/collection/components/forms/cura-input-textarea/cura-input-textarea.css +174 -0
- package/dist/collection/components/forms/cura-input-textarea/cura-input-textarea.js +613 -0
- package/dist/collection/components/forms/cura-input-textarea/cura-input-textarea.stories.js +222 -0
- 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/tabs/cura-tabs/cura-tabs.js +1 -1
- package/dist/collection/components/tabs/cura-tabs-button/cura-tabs-button.js +1 -1
- package/dist/collection/components/tabs/cura-tabs-group/cura-tabs-group.js +1 -1
- package/dist/collection/components/tabs/cura-tabs-transparent/cura-tabs-transparent.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-accordion-item.js +1 -1
- package/dist/components/cura-alert.js +1 -1
- package/dist/components/cura-badge-counter.js +1 -1
- package/dist/components/cura-badge-distance.js +1 -1
- package/dist/components/cura-badge-pill.js +1 -1
- package/dist/components/cura-button-outline.js +1 -1
- package/dist/components/cura-button-select.js +1 -1
- package/dist/components/cura-button-transparent.js +1 -1
- package/dist/components/cura-button.js +1 -1
- package/dist/components/cura-calendar.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-category.js +1 -1
- package/dist/components/cura-dropdown-search-not-found.js +1 -1
- package/dist/components/cura-dropdown-search-option.js +1 -1
- package/dist/components/cura-dropdown-search.js +1 -1
- package/dist/components/cura-heading.js +1 -1
- package/dist/components/cura-icon.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-input-text.js +1 -1
- package/dist/components/cura-input-textarea.d.ts +11 -0
- package/dist/components/cura-input-textarea.js +1 -0
- package/dist/components/cura-label.js +1 -1
- package/dist/components/cura-loader-bar.js +1 -1
- package/dist/components/cura-loader-circle.js +1 -1
- package/dist/components/cura-modal.js +1 -1
- package/dist/components/cura-page-template.js +1 -1
- package/dist/components/cura-paragraph.js +1 -1
- package/dist/components/cura-progress-bar.js +1 -1
- package/dist/components/cura-radio.js +1 -1
- package/dist/components/cura-select-option.js +1 -1
- package/dist/components/cura-select.js +1 -1
- package/dist/components/cura-stepper-item.js +1 -1
- package/dist/components/cura-stepper.js +1 -1
- package/dist/components/cura-switch.js +1 -1
- package/dist/components/cura-tabs-button.js +1 -1
- package/dist/components/cura-tabs-group.js +1 -1
- package/dist/components/cura-tabs-transparent.js +1 -1
- package/dist/components/cura-tabs.js +1 -1
- package/dist/components/cura-toast.js +1 -1
- package/dist/components/cura-tooltip.js +1 -1
- package/dist/components/index.js +1 -1
- package/dist/components/p-B2TDH4aP.js +1 -0
- package/dist/components/{p-C05r6CQV.js → p-BHVSbubb.js} +1 -1
- package/dist/components/{p-B2RN7oe_.js → p-BKDpza6x.js} +1 -1
- package/dist/components/{p-BYA8glxD.js → p-BuETJyzc.js} +1 -1
- package/dist/components/p-CalvBU-U.js +1 -0
- package/dist/components/{p-CCkEqDZb.js → p-CksTHXxZ.js} +1 -1
- package/dist/components/{p-DxJedO3K.js → p-D4hCuriT.js} +1 -1
- package/dist/components/{p-fn4zJrKE.js → p-DI66_jP6.js} +1 -1
- package/dist/components/{p-Bf21UQXV.js → p-DQP7jRHp.js} +1 -1
- package/dist/components/p-DgK8dEko.js +1 -0
- package/dist/components/{p-DXlGQp3a.js → p-DgQJ968V.js} +1 -1
- package/dist/components/{p-fR02COZb.js → p-Dmalf4Oj.js} +1 -1
- package/dist/components/{p-D6xuYQiO.js → p-KovUKiTX.js} +1 -1
- package/dist/components/{p-D7WNwjv-.js → p-PiUhcFob.js} +1 -1
- package/dist/components/{p-C7so9xnO.js → p-TnCIk87O.js} +1 -1
- package/dist/components/{p-BSdkRryc.js → p-i55vIhdM.js} +1 -1
- package/dist/cura/cura.esm.js +1 -1
- package/dist/cura/{p-bf99e8bf.entry.js → p-18a1cadf.entry.js} +1 -1
- package/dist/cura/{p-ddf4d240.entry.js → p-1c48aaa7.entry.js} +1 -1
- package/dist/cura/{p-b7369d04.entry.js → p-4178e3e6.entry.js} +1 -1
- package/dist/cura/p-5b26a166.entry.js +1 -0
- package/dist/cura/{p-42e72d12.entry.js → p-604f1c1d.entry.js} +1 -1
- package/dist/cura/{p-9de85de6.entry.js → p-906c8b66.entry.js} +1 -1
- package/dist/cura/p-CUmwazb8.js +1 -0
- package/dist/cura/p-a305e17a.entry.js +1 -0
- package/dist/cura/{p-3a3202f0.entry.js → p-a72db13d.entry.js} +1 -1
- package/dist/cura/{p-c247c93b.entry.js → p-b157025d.entry.js} +1 -1
- package/dist/cura/{p-f911a6c5.entry.js → p-b447fca2.entry.js} +1 -1
- package/dist/cura/{p-2e2e2b4d.entry.js → p-bd649bed.entry.js} +1 -1
- package/dist/cura/{p-c18d7f16.entry.js → p-c987ddde.entry.js} +1 -1
- package/dist/cura/{p-b14ae206.entry.js → p-d43fb791.entry.js} +1 -1
- package/dist/cura/{p-7965fe63.entry.js → p-d64ef37d.entry.js} +1 -1
- package/dist/cura/{p-1dc9c478.entry.js → p-f072b011.entry.js} +1 -1
- package/dist/cura/{p-5357f7bd.entry.js → p-f407bd73.entry.js} +1 -1
- package/dist/cura/p-f638eda8.entry.js +1 -0
- package/dist/esm/cura-accordion_22.entry.js +58 -67
- package/dist/esm/cura-checkbox.entry.js +1 -1
- package/dist/esm/cura-display.entry.js +1 -1
- package/dist/esm/cura-dropdown-search-not-found.entry.js +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-input-textarea.entry.js +234 -0
- package/dist/esm/cura-loader-bar.entry.js +1 -1
- package/dist/esm/cura-modal.entry.js +1 -1
- package/dist/esm/cura-progress-bar_2.entry.js +2 -2
- package/dist/esm/cura-radio.entry.js +1 -1
- package/dist/esm/cura-stepper.entry.js +1 -1
- package/dist/esm/cura-switch.entry.js +1 -1
- package/dist/esm/cura-tabs-button.entry.js +1 -1
- package/dist/esm/cura-tabs-transparent.entry.js +1 -1
- package/dist/esm/cura-toast.entry.js +1 -1
- package/dist/esm/cura-tooltip.entry.js +1 -1
- package/dist/esm/cura.js +1 -1
- package/dist/esm/loader.js +1 -1
- package/dist/esm/utils-BZCR971L.js +41 -0
- package/dist/types/components/cura-calendar/cura-calendar.d.ts +20 -2
- package/dist/types/components/cura-calendar/cura-calendar.stories.d.ts +29 -0
- package/dist/types/components/cura-calendar/cura-calendar.type.d.ts +4 -0
- package/dist/types/components/forms/cura-input-textarea/cura-input-textarea.d.ts +116 -0
- package/dist/types/components/forms/cura-input-textarea/cura-input-textarea.stories.d.ts +188 -0
- package/dist/types/components.d.ts +232 -0
- package/package.json +2 -2
- package/dist/components/p-B8xnU6YS.js +0 -1
- package/dist/components/p-CG1lz5DR.js +0 -1
- package/dist/cura/p-47fdb124.entry.js +0 -1
- package/dist/cura/p-cbe8c690.entry.js +0 -1
|
@@ -121,7 +121,7 @@ export class CuraStepper {
|
|
|
121
121
|
return (h("div", { class: "container", style: this.styles }, h("div", { class: "stepper-list" }, this.stepList.map((step, stepIndex) => this.renderStep(step, stepIndex)))));
|
|
122
122
|
}
|
|
123
123
|
render() {
|
|
124
|
-
return h(Host, { key: '
|
|
124
|
+
return h(Host, { key: '34f5acc0bded7a19276667cbdb84e0617232d73b' }, this.variant === 'default' ? this.renderStepper() : this.renderCompactStepper());
|
|
125
125
|
}
|
|
126
126
|
static get is() { return "cura-stepper"; }
|
|
127
127
|
static get encapsulation() { return "shadow"; }
|
|
@@ -25,7 +25,7 @@ export class CuraToast {
|
|
|
25
25
|
this.setStyle();
|
|
26
26
|
}
|
|
27
27
|
render() {
|
|
28
|
-
return (h(Host, { key: '
|
|
28
|
+
return (h(Host, { key: '3ed410c2082acf963a9bc034ba0698d3d5a8c05e', role: "alert", "aria-live": "polite", "aria-atomic": "true", "aria-label": this.label }, h("div", { key: '7da959ad2aa5d8b57e509bfc5c1241cfe2aab078', class: this.getClasses(), style: this.styles }, h("cura-icon", { key: 'f88bbe2ad57d6d5a2cdd707a753fe6a37d2fb13a', class: "default-icon", name: this.getNameIcon(), size: 16, color: `${this.type}-dark` }), h("div", { key: 'b6d1cf4f6d5cd42b331f19c7996f3de36c29f09e', class: "content" }, h("cura-heading", { key: 'ab72f2ffea1f653cd956c5ac1b1c80a053e07673', level: 4, size: "xsmall", color: `${this.type}-dark`, weight: "bold", "margin-block": "0" }, this.label), h("cura-paragraph", { key: '29e40bf6759c4a2c53beed9028d4d4a5472c8d1d', color: `${this.type}-darker`, size: "xsmall", marginBlock: "0", lineHeight: "133.33%" }, h("slot", { key: 'b76073439ef46c084eb681a1639d3644b862db00' })), h("slot", { key: 'a5d6b28128d692d84990654e5b74c13c91f1fcb5', name: "actions" })), this.closeButton && h("cura-icon", { key: 'bd46e61b4280815f9cb8a683838cceda7b3349c1', class: "close-icon", name: "close", size: 16, color: "error-dark", onClick: this.handleClose }), this.loader && !!this.autoCloseDelay && h("cura-loader-bar", { key: 'bffd92fb6e1c162ff5ead3d3fa84168ef80ca240', color: `${this.type}-base`, progress: this.progress }))));
|
|
29
29
|
}
|
|
30
30
|
componentDidLoad() {
|
|
31
31
|
this.openContainer();
|
|
@@ -24,7 +24,7 @@ export class CuraTooltip {
|
|
|
24
24
|
this.setStyle();
|
|
25
25
|
}
|
|
26
26
|
render() {
|
|
27
|
-
return (h(Host, { key: '
|
|
27
|
+
return (h(Host, { key: '721cf76abdc6eb079edbc8540d2deaa74559c809', role: "tooltip", id: this.elementId }, h("div", { key: '51c94531a0d28de3844ac109f0b941062b17c013', class: "container", style: this.styles }, h("div", { key: 'b80521a83e983ba8939fb21183570de5dfacf544', class: "content" }, h("cura-heading", { key: 'fc16d66d76800d5c8b778bea1cf325d1ce500f72', level: 4, size: "xsmall", color: "neutral-black", weight: "bold", "margin-block": "0" }, this.label), h("cura-paragraph", { key: '1e0bd7fcbec98be145c83ef8cfa62e2b8e40211c', color: "neutral-dark", "spot-color": "secondary-darker", size: "xsmall", marginBlock: "0", lineHeight: "133.33%" }, h("slot", { key: '4c4509441c4aa22b3810e1b66939e4cea05f48aa' }))), this.closeButton && !this.isMobile && h("cura-icon", { key: '35910c2bb5122c25f10c38ed90c5c633daeb7891', class: "close-icon", name: "close", size: 16, color: "error-dark", onClick: this.handleClose }), this.isMobile && h("cura-button-transparent", { key: '1cec8c66efb24e8eda4e09354dd335e03abd99ed', class: "close-button", size: "small", type: "button", color: "error", "icon-name": "close", "icon-position": "right", onClick: this.handleClose }, "OK, entendi."))));
|
|
28
28
|
}
|
|
29
29
|
componentDidLoad() {
|
|
30
30
|
var _a, _b, _c, _d, _e;
|
|
@@ -202,7 +202,7 @@ export class CuraCheckbox {
|
|
|
202
202
|
return h("cura-icon", { class: "icon", name: iconName, size: iconSize, color: iconColor });
|
|
203
203
|
}
|
|
204
204
|
render() {
|
|
205
|
-
return (h(Host, { key: '
|
|
205
|
+
return (h(Host, { key: '9236b8f9d487c042e00800a624e1b729e36b296d', role: "checkbox", "aria-checked": this.checked, "aria-disabled": this.disabled, "aria-required": this.required, "aria-invalid": this.status === 'error' }, h("div", { key: '4472e8ee4fa4d1ea6c6f4cf9ba347acc66f7df2a', class: this.getClasses(), style: this.styles, onClick: this.handleClick }, h("div", { key: '1c74e35fbfbcfcbe113edcd5522e674d197b2212', class: "info" }, h("div", { key: '75e7fdf6050f38473379fb3e4a5880f9eb34e88e', class: "label-wrapper" }, h("cura-label", { key: 'eeac634dd87a72922c0d89e1877d0e0b132e6cd9', textOverflow: this.overflowLabel, class: `label${this.overflowLabel === 'single' ? ' textoverflow-single' : ''}`, weight: "bold", size: this.size === 'large' ? 'medium' : 'xsmall', color: this.assignColor('label') }, this.label), this.required && (h("cura-paragraph", { key: '7d590fd046c2ba90dbef7846f51a774d50418ca7', lineHeight: "0%", marginBlock: "0", color: "error-base" }, "*", ' '))), h("cura-label", { key: 'f7c750b3d3ce6afaaba514ac835ceed38674a048', textOverflow: this.overflowHelper, color: this.assignColor('message'), size: "xsmall", class: "message" }, h("slot", { key: 'd83d9f24b5a5274233e61256add788bfa2ee0f92' }))), h("div", { key: '3f67839bbbf8a583d41765a2a6450c71f5063066', class: 'checkbox', tabIndex: this.ontabindex }, h("input", { key: 'ab742442fc98838433f6db949478bef6ee2e0d45', type: "checkbox", name: this.name, value: this.value, disabled: this.disabled, required: this.required, checked: this.checked, indeterminate: this.indeterminate }), this.getIcon()))));
|
|
206
206
|
}
|
|
207
207
|
static get is() { return "cura-checkbox"; }
|
|
208
208
|
static get encapsulation() { return "shadow"; }
|
|
@@ -180,7 +180,7 @@ export class CuraInputDate {
|
|
|
180
180
|
}
|
|
181
181
|
}
|
|
182
182
|
render() {
|
|
183
|
-
return (h(Host, { key: '
|
|
183
|
+
return (h(Host, { key: 'fe506eeb9ca1193994e8988f59f7d39aa09afb7c' }, h("div", { key: '33b50ee8b32c70855ec061a0fb9747203f473a62', class: "container", style: this.styles }, h("cura-input-text", { key: '8c3d0254c3b6dcd0b24a5c5a27e1b4aeda4c83df', label: this.label, name: this.name, status: this.status, value: this.value, onFocus: () => this.showCalendar(), size: this.size, "icon-name": this.iconName, placeholder: this.dateSettings.placeholder, "mask-preset": this.dateSettings.mask, "enable-selection-mode": true, onKeyUp: event => this.handleInputDates(event), autocomplete: "off", onValueChange: event => this.handleChangeDates(event) }, this.renderCalendarOrHelperText()))));
|
|
184
184
|
}
|
|
185
185
|
static get is() { return "cura-input-date"; }
|
|
186
186
|
static get encapsulation() { return "shadow"; }
|
|
@@ -0,0 +1,174 @@
|
|
|
1
|
+
:host {
|
|
2
|
+
display: block;
|
|
3
|
+
box-sizing: border-box;
|
|
4
|
+
width: 100%;
|
|
5
|
+
}
|
|
6
|
+
|
|
7
|
+
.required {
|
|
8
|
+
color: var(--error-base);
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
.cura-textarea-group {
|
|
12
|
+
width: 100%;
|
|
13
|
+
font-family: var(--font-family);
|
|
14
|
+
text-align: left !important;
|
|
15
|
+
}
|
|
16
|
+
.cura-textarea-group .helper-max-wrapper {
|
|
17
|
+
display: flex;
|
|
18
|
+
justify-content: space-between;
|
|
19
|
+
align-items: center;
|
|
20
|
+
}
|
|
21
|
+
.cura-textarea-group .helper-text {
|
|
22
|
+
margin-top: 8px;
|
|
23
|
+
color: var(--neutral-dark);
|
|
24
|
+
}
|
|
25
|
+
.cura-textarea-group .max-length {
|
|
26
|
+
display: flex;
|
|
27
|
+
}
|
|
28
|
+
.cura-textarea-group cura-label {
|
|
29
|
+
margin-bottom: 8px;
|
|
30
|
+
}
|
|
31
|
+
.cura-textarea-group .cura-textarea-field {
|
|
32
|
+
width: 100%;
|
|
33
|
+
height: 64px;
|
|
34
|
+
display: flex;
|
|
35
|
+
flex-direction: row;
|
|
36
|
+
background-color: var(--neutral-purewhite);
|
|
37
|
+
border: 2px solid var(--neutral-medium);
|
|
38
|
+
border-radius: 4px;
|
|
39
|
+
color: var(--primary-base);
|
|
40
|
+
letter-spacing: 0.32px;
|
|
41
|
+
line-height: 20px;
|
|
42
|
+
overflow: hidden;
|
|
43
|
+
box-sizing: border-box;
|
|
44
|
+
}
|
|
45
|
+
.cura-textarea-group .cura-textarea-field textarea {
|
|
46
|
+
flex: 1;
|
|
47
|
+
width: 100%;
|
|
48
|
+
height: 100%;
|
|
49
|
+
background: transparent;
|
|
50
|
+
border: none;
|
|
51
|
+
outline: none;
|
|
52
|
+
color: var(--neutral-dark);
|
|
53
|
+
font-family: var(--font-family);
|
|
54
|
+
font-weight: var(--font-weight-medium);
|
|
55
|
+
font-size: 14px;
|
|
56
|
+
box-sizing: border-box;
|
|
57
|
+
padding: 16px 16px 0px 8px;
|
|
58
|
+
min-height: 64px;
|
|
59
|
+
resize: vertical;
|
|
60
|
+
}
|
|
61
|
+
.cura-textarea-group .cura-textarea-field textarea:not(.resizable) {
|
|
62
|
+
resize: none;
|
|
63
|
+
}
|
|
64
|
+
.cura-textarea-group .cura-textarea-field textarea::placeholder {
|
|
65
|
+
color: var(--neutral-dark);
|
|
66
|
+
}
|
|
67
|
+
.cura-textarea-group .cura-textarea-field .feedback-icon {
|
|
68
|
+
padding-left: 16px;
|
|
69
|
+
padding-top: 16px;
|
|
70
|
+
}
|
|
71
|
+
.cura-textarea-group .cura-textarea-field cura-loader-circle {
|
|
72
|
+
margin: 0px 12px;
|
|
73
|
+
}
|
|
74
|
+
.cura-textarea-group:hover:not(.disabled):not(.isLoading):not(.success):not(.error):not(.isFocused):not(.readOnly) .cura-textarea-field {
|
|
75
|
+
border-color: var(--neutral-dark);
|
|
76
|
+
}
|
|
77
|
+
.cura-textarea-group:hover:not(.disabled):not(.isLoading):not(.success):not(.error):not(.isFocused):not(.readOnly) .cura-textarea-field textarea {
|
|
78
|
+
color: var(--neutral-dark);
|
|
79
|
+
}
|
|
80
|
+
.cura-textarea-group:hover:not(.disabled):not(.isLoading):not(.success):not(.error):not(.isFocused):not(.readOnly) .cura-textarea-field textarea::placeholder {
|
|
81
|
+
color: var(--neutral-dark);
|
|
82
|
+
}
|
|
83
|
+
.cura-textarea-group:focus-within .cura-textarea-field {
|
|
84
|
+
border: 2px solid var(--info-base) !important;
|
|
85
|
+
background-color: var(--neutral-purewhite);
|
|
86
|
+
outline: none;
|
|
87
|
+
}
|
|
88
|
+
.cura-textarea-group:focus-within .cura-textarea-field textarea {
|
|
89
|
+
color: var(--neutral-black) !important;
|
|
90
|
+
}
|
|
91
|
+
.cura-textarea-group.success .cura-textarea-field {
|
|
92
|
+
border: 2px solid var(--success-dark) !important;
|
|
93
|
+
background-color: var(--success-lighter) !important;
|
|
94
|
+
}
|
|
95
|
+
.cura-textarea-group.success .cura-textarea-field textarea {
|
|
96
|
+
color: var(--success-darker) !important;
|
|
97
|
+
}
|
|
98
|
+
.cura-textarea-group.success .cura-textarea-field textarea::placeholder {
|
|
99
|
+
color: var(--success-darker) !important;
|
|
100
|
+
}
|
|
101
|
+
.cura-textarea-group.error .cura-textarea-field {
|
|
102
|
+
border: 2px solid var(--error-dark) !important;
|
|
103
|
+
background-color: var(--error-lighter) !important;
|
|
104
|
+
}
|
|
105
|
+
.cura-textarea-group.error .cura-textarea-field textarea {
|
|
106
|
+
color: var(--error-darker) !important;
|
|
107
|
+
}
|
|
108
|
+
.cura-textarea-group.error .cura-textarea-field textarea::placeholder {
|
|
109
|
+
color: var(--error-darker) !important;
|
|
110
|
+
}
|
|
111
|
+
.cura-textarea-group.isLoading {
|
|
112
|
+
cursor: wait;
|
|
113
|
+
}
|
|
114
|
+
.cura-textarea-group.isLoading .cura-textarea-field {
|
|
115
|
+
background-color: var(--neutral-white) !important;
|
|
116
|
+
border: 2px solid var(--primary-base) !important;
|
|
117
|
+
}
|
|
118
|
+
.cura-textarea-group.isLoading .cura-textarea-field textarea {
|
|
119
|
+
cursor: wait;
|
|
120
|
+
color: var(--primary-base) !important;
|
|
121
|
+
}
|
|
122
|
+
.cura-textarea-group.isLoading .cura-textarea-field textarea::placeholder {
|
|
123
|
+
color: var(--primary-base) !important;
|
|
124
|
+
}
|
|
125
|
+
.cura-textarea-group.disabled .cura-textarea-field {
|
|
126
|
+
background-color: var(--neutral-white);
|
|
127
|
+
border: 2px solid var(--neutral-base);
|
|
128
|
+
}
|
|
129
|
+
.cura-textarea-group.disabled .cura-textarea-field textarea {
|
|
130
|
+
color: var(--neutral-medium);
|
|
131
|
+
}
|
|
132
|
+
.cura-textarea-group.disabled .cura-textarea-field textarea::placeholder {
|
|
133
|
+
color: var(--neutral-medium);
|
|
134
|
+
}
|
|
135
|
+
.cura-textarea-group.readOnly[read-only] .cura-textarea-field {
|
|
136
|
+
cursor: default;
|
|
137
|
+
}
|
|
138
|
+
.cura-textarea-group.readOnly[read-only] .cura-textarea-field textarea {
|
|
139
|
+
cursor: default;
|
|
140
|
+
}
|
|
141
|
+
.cura-textarea-group.small .cura-textarea-field {
|
|
142
|
+
height: 64px;
|
|
143
|
+
}
|
|
144
|
+
.cura-textarea-group.small .cura-textarea-field textarea {
|
|
145
|
+
font-size: 12px;
|
|
146
|
+
line-height: 13px;
|
|
147
|
+
letter-spacing: 0.72px;
|
|
148
|
+
min-height: 64px;
|
|
149
|
+
}
|
|
150
|
+
.cura-textarea-group.small .helper-text {
|
|
151
|
+
font-weight: var(--font-weight-regular);
|
|
152
|
+
}
|
|
153
|
+
.cura-textarea-group.medium .cura-textarea-field {
|
|
154
|
+
height: 64px;
|
|
155
|
+
}
|
|
156
|
+
.cura-textarea-group.medium .cura-textarea-field textarea {
|
|
157
|
+
font-size: 14px;
|
|
158
|
+
line-height: 16px;
|
|
159
|
+
letter-spacing: 0.56px;
|
|
160
|
+
min-height: 64px;
|
|
161
|
+
}
|
|
162
|
+
.cura-textarea-group.medium .helper-text {
|
|
163
|
+
font-weight: var(--font-weight-regular);
|
|
164
|
+
}
|
|
165
|
+
.cura-textarea-group.large .cura-textarea-field {
|
|
166
|
+
height: 64px;
|
|
167
|
+
}
|
|
168
|
+
.cura-textarea-group.large .cura-textarea-field textarea {
|
|
169
|
+
font-size: 16px;
|
|
170
|
+
min-height: 64px;
|
|
171
|
+
}
|
|
172
|
+
.cura-textarea-group.large .helper-text {
|
|
173
|
+
font-weight: var(--font-weight-bold);
|
|
174
|
+
}
|