@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.
Files changed (168) hide show
  1. package/dist/cjs/cura-accordion_22.cjs.entry.js +65 -74
  2. package/dist/cjs/cura-checkbox.cjs.entry.js +1 -1
  3. package/dist/cjs/cura-display.cjs.entry.js +1 -1
  4. package/dist/cjs/cura-dropdown-search-not-found.cjs.entry.js +1 -1
  5. package/dist/cjs/cura-icons-view.cjs.entry.js +1 -1
  6. package/dist/cjs/cura-input-date.cjs.entry.js +1 -1
  7. package/dist/cjs/cura-input-textarea.cjs.entry.js +236 -0
  8. package/dist/cjs/cura-loader-bar.cjs.entry.js +1 -1
  9. package/dist/cjs/cura-modal.cjs.entry.js +1 -1
  10. package/dist/cjs/cura-progress-bar_2.cjs.entry.js +2 -2
  11. package/dist/cjs/cura-radio.cjs.entry.js +1 -1
  12. package/dist/cjs/cura-stepper.cjs.entry.js +1 -1
  13. package/dist/cjs/cura-switch.cjs.entry.js +1 -1
  14. package/dist/cjs/cura-tabs-button.cjs.entry.js +1 -1
  15. package/dist/cjs/cura-tabs-transparent.cjs.entry.js +1 -1
  16. package/dist/cjs/cura-toast.cjs.entry.js +1 -1
  17. package/dist/cjs/cura-tooltip.cjs.entry.js +1 -1
  18. package/dist/cjs/cura.cjs.js +1 -1
  19. package/dist/cjs/loader.cjs.js +1 -1
  20. package/dist/cjs/utils-DMHZ2n4p.js +47 -0
  21. package/dist/collection/collection-manifest.json +1 -0
  22. package/dist/collection/components/cura-calendar/cura-calendar.css +13 -1
  23. package/dist/collection/components/cura-calendar/cura-calendar.js +92 -11
  24. package/dist/collection/components/cura-calendar/cura-calendar.stories.js +29 -1
  25. package/dist/collection/components/cura-calendar/cura-calendar.type.js +1 -0
  26. package/dist/collection/components/cura-card/cura-card.js +1 -1
  27. package/dist/collection/components/cura-dropdown-search/cura-dropdown-search-category/cura-dropdown-search-category.js +1 -1
  28. package/dist/collection/components/cura-dropdown-search/cura-dropdown-search-not-found/cura-dropdown-search-not-found.js +1 -1
  29. package/dist/collection/components/cura-dropdown-search/cura-dropdown-search-option/cura-dropdown-search-option.js +1 -1
  30. package/dist/collection/components/cura-dropdown-search/cura-dropdown-search.js +1 -1
  31. package/dist/collection/components/cura-icon/cura-icon.js +1 -1
  32. package/dist/collection/components/cura-icons-view/cura-icons-view.js +1 -1
  33. package/dist/collection/components/cura-modal/cura-modal.js +1 -1
  34. package/dist/collection/components/cura-page-template/cura-page-template.js +1 -1
  35. package/dist/collection/components/cura-stepper/cura-progress-bar/cura-progress-bar.js +1 -1
  36. package/dist/collection/components/cura-stepper/cura-stepper-item/cura-stepper-item.js +1 -1
  37. package/dist/collection/components/cura-stepper/cura-stepper.js +1 -1
  38. package/dist/collection/components/cura-toast/cura-toast.js +1 -1
  39. package/dist/collection/components/cura-tooltip/cura-tooltip.js +1 -1
  40. package/dist/collection/components/forms/cura-checkbox/cura-checkbox.js +1 -1
  41. package/dist/collection/components/forms/cura-input-date/cura-input-date.js +1 -1
  42. package/dist/collection/components/forms/cura-input-textarea/cura-input-textarea.css +174 -0
  43. package/dist/collection/components/forms/cura-input-textarea/cura-input-textarea.js +613 -0
  44. package/dist/collection/components/forms/cura-input-textarea/cura-input-textarea.stories.js +222 -0
  45. package/dist/collection/components/forms/cura-label/cura-label.js +1 -1
  46. package/dist/collection/components/forms/cura-radio/cura-radio.js +1 -1
  47. package/dist/collection/components/forms/cura-select/cura-select.js +3 -3
  48. package/dist/collection/components/forms/cura-select-options/cura-select-option.js +1 -1
  49. package/dist/collection/components/forms/cura-switch/cura-switch.js +1 -1
  50. package/dist/collection/components/loaders/cura-loader-bar/cura-loader-bar.js +1 -1
  51. package/dist/collection/components/loaders/cura-loader-circle/cura-loader-circle.js +1 -1
  52. package/dist/collection/components/tabs/cura-tabs/cura-tabs.js +1 -1
  53. package/dist/collection/components/tabs/cura-tabs-button/cura-tabs-button.js +1 -1
  54. package/dist/collection/components/tabs/cura-tabs-group/cura-tabs-group.js +1 -1
  55. package/dist/collection/components/tabs/cura-tabs-transparent/cura-tabs-transparent.js +1 -1
  56. package/dist/collection/components/text/cura-display/cura-display.js +1 -1
  57. package/dist/collection/components/text/cura-heading/cura-heading.js +1 -1
  58. package/dist/collection/components/text/cura-paragraph/cura-paragraph.js +1 -1
  59. package/dist/components/cura-accordion-item.js +1 -1
  60. package/dist/components/cura-alert.js +1 -1
  61. package/dist/components/cura-badge-counter.js +1 -1
  62. package/dist/components/cura-badge-distance.js +1 -1
  63. package/dist/components/cura-badge-pill.js +1 -1
  64. package/dist/components/cura-button-outline.js +1 -1
  65. package/dist/components/cura-button-select.js +1 -1
  66. package/dist/components/cura-button-transparent.js +1 -1
  67. package/dist/components/cura-button.js +1 -1
  68. package/dist/components/cura-calendar.js +1 -1
  69. package/dist/components/cura-card.js +1 -1
  70. package/dist/components/cura-checkbox.js +1 -1
  71. package/dist/components/cura-display.js +1 -1
  72. package/dist/components/cura-dropdown-search-category.js +1 -1
  73. package/dist/components/cura-dropdown-search-not-found.js +1 -1
  74. package/dist/components/cura-dropdown-search-option.js +1 -1
  75. package/dist/components/cura-dropdown-search.js +1 -1
  76. package/dist/components/cura-heading.js +1 -1
  77. package/dist/components/cura-icon.js +1 -1
  78. package/dist/components/cura-icons-view.js +1 -1
  79. package/dist/components/cura-input-date.js +1 -1
  80. package/dist/components/cura-input-text.js +1 -1
  81. package/dist/components/cura-input-textarea.d.ts +11 -0
  82. package/dist/components/cura-input-textarea.js +1 -0
  83. package/dist/components/cura-label.js +1 -1
  84. package/dist/components/cura-loader-bar.js +1 -1
  85. package/dist/components/cura-loader-circle.js +1 -1
  86. package/dist/components/cura-modal.js +1 -1
  87. package/dist/components/cura-page-template.js +1 -1
  88. package/dist/components/cura-paragraph.js +1 -1
  89. package/dist/components/cura-progress-bar.js +1 -1
  90. package/dist/components/cura-radio.js +1 -1
  91. package/dist/components/cura-select-option.js +1 -1
  92. package/dist/components/cura-select.js +1 -1
  93. package/dist/components/cura-stepper-item.js +1 -1
  94. package/dist/components/cura-stepper.js +1 -1
  95. package/dist/components/cura-switch.js +1 -1
  96. package/dist/components/cura-tabs-button.js +1 -1
  97. package/dist/components/cura-tabs-group.js +1 -1
  98. package/dist/components/cura-tabs-transparent.js +1 -1
  99. package/dist/components/cura-tabs.js +1 -1
  100. package/dist/components/cura-toast.js +1 -1
  101. package/dist/components/cura-tooltip.js +1 -1
  102. package/dist/components/index.js +1 -1
  103. package/dist/components/p-B2TDH4aP.js +1 -0
  104. package/dist/components/{p-C05r6CQV.js → p-BHVSbubb.js} +1 -1
  105. package/dist/components/{p-B2RN7oe_.js → p-BKDpza6x.js} +1 -1
  106. package/dist/components/{p-BYA8glxD.js → p-BuETJyzc.js} +1 -1
  107. package/dist/components/p-CalvBU-U.js +1 -0
  108. package/dist/components/{p-CCkEqDZb.js → p-CksTHXxZ.js} +1 -1
  109. package/dist/components/{p-DxJedO3K.js → p-D4hCuriT.js} +1 -1
  110. package/dist/components/{p-fn4zJrKE.js → p-DI66_jP6.js} +1 -1
  111. package/dist/components/{p-Bf21UQXV.js → p-DQP7jRHp.js} +1 -1
  112. package/dist/components/p-DgK8dEko.js +1 -0
  113. package/dist/components/{p-DXlGQp3a.js → p-DgQJ968V.js} +1 -1
  114. package/dist/components/{p-fR02COZb.js → p-Dmalf4Oj.js} +1 -1
  115. package/dist/components/{p-D6xuYQiO.js → p-KovUKiTX.js} +1 -1
  116. package/dist/components/{p-D7WNwjv-.js → p-PiUhcFob.js} +1 -1
  117. package/dist/components/{p-C7so9xnO.js → p-TnCIk87O.js} +1 -1
  118. package/dist/components/{p-BSdkRryc.js → p-i55vIhdM.js} +1 -1
  119. package/dist/cura/cura.esm.js +1 -1
  120. package/dist/cura/{p-bf99e8bf.entry.js → p-18a1cadf.entry.js} +1 -1
  121. package/dist/cura/{p-ddf4d240.entry.js → p-1c48aaa7.entry.js} +1 -1
  122. package/dist/cura/{p-b7369d04.entry.js → p-4178e3e6.entry.js} +1 -1
  123. package/dist/cura/p-5b26a166.entry.js +1 -0
  124. package/dist/cura/{p-42e72d12.entry.js → p-604f1c1d.entry.js} +1 -1
  125. package/dist/cura/{p-9de85de6.entry.js → p-906c8b66.entry.js} +1 -1
  126. package/dist/cura/p-CUmwazb8.js +1 -0
  127. package/dist/cura/p-a305e17a.entry.js +1 -0
  128. package/dist/cura/{p-3a3202f0.entry.js → p-a72db13d.entry.js} +1 -1
  129. package/dist/cura/{p-c247c93b.entry.js → p-b157025d.entry.js} +1 -1
  130. package/dist/cura/{p-f911a6c5.entry.js → p-b447fca2.entry.js} +1 -1
  131. package/dist/cura/{p-2e2e2b4d.entry.js → p-bd649bed.entry.js} +1 -1
  132. package/dist/cura/{p-c18d7f16.entry.js → p-c987ddde.entry.js} +1 -1
  133. package/dist/cura/{p-b14ae206.entry.js → p-d43fb791.entry.js} +1 -1
  134. package/dist/cura/{p-7965fe63.entry.js → p-d64ef37d.entry.js} +1 -1
  135. package/dist/cura/{p-1dc9c478.entry.js → p-f072b011.entry.js} +1 -1
  136. package/dist/cura/{p-5357f7bd.entry.js → p-f407bd73.entry.js} +1 -1
  137. package/dist/cura/p-f638eda8.entry.js +1 -0
  138. package/dist/esm/cura-accordion_22.entry.js +58 -67
  139. package/dist/esm/cura-checkbox.entry.js +1 -1
  140. package/dist/esm/cura-display.entry.js +1 -1
  141. package/dist/esm/cura-dropdown-search-not-found.entry.js +1 -1
  142. package/dist/esm/cura-icons-view.entry.js +1 -1
  143. package/dist/esm/cura-input-date.entry.js +1 -1
  144. package/dist/esm/cura-input-textarea.entry.js +234 -0
  145. package/dist/esm/cura-loader-bar.entry.js +1 -1
  146. package/dist/esm/cura-modal.entry.js +1 -1
  147. package/dist/esm/cura-progress-bar_2.entry.js +2 -2
  148. package/dist/esm/cura-radio.entry.js +1 -1
  149. package/dist/esm/cura-stepper.entry.js +1 -1
  150. package/dist/esm/cura-switch.entry.js +1 -1
  151. package/dist/esm/cura-tabs-button.entry.js +1 -1
  152. package/dist/esm/cura-tabs-transparent.entry.js +1 -1
  153. package/dist/esm/cura-toast.entry.js +1 -1
  154. package/dist/esm/cura-tooltip.entry.js +1 -1
  155. package/dist/esm/cura.js +1 -1
  156. package/dist/esm/loader.js +1 -1
  157. package/dist/esm/utils-BZCR971L.js +41 -0
  158. package/dist/types/components/cura-calendar/cura-calendar.d.ts +20 -2
  159. package/dist/types/components/cura-calendar/cura-calendar.stories.d.ts +29 -0
  160. package/dist/types/components/cura-calendar/cura-calendar.type.d.ts +4 -0
  161. package/dist/types/components/forms/cura-input-textarea/cura-input-textarea.d.ts +116 -0
  162. package/dist/types/components/forms/cura-input-textarea/cura-input-textarea.stories.d.ts +188 -0
  163. package/dist/types/components.d.ts +232 -0
  164. package/package.json +2 -2
  165. package/dist/components/p-B8xnU6YS.js +0 -1
  166. package/dist/components/p-CG1lz5DR.js +0 -1
  167. package/dist/cura/p-47fdb124.entry.js +0 -1
  168. 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: '6593f8a294abd6f729cbf493e3a773f358c10cf7' }, this.variant === 'default' ? this.renderStepper() : this.renderCompactStepper());
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: 'c65f4295ed41485cdeb992dc29a76b4aeef87a39', role: "alert", "aria-live": "polite", "aria-atomic": "true", "aria-label": this.label }, h("div", { key: '62ec0a3170f862d0634df42ac4ccf0708c80fa32', class: this.getClasses(), style: this.styles }, h("cura-icon", { key: 'bdb68633080a0032c4fdc2f3bb53a668e5b8ab1b', class: "default-icon", name: this.getNameIcon(), size: 16, color: `${this.type}-dark` }), h("div", { key: '42516aa76455a7b2c7e96613d6e0f38d8f9fbfba', class: "content" }, h("cura-heading", { key: '07402cf186ed3626248d682239b1105378dc2ae6', level: 4, size: "xsmall", color: `${this.type}-dark`, weight: "bold", "margin-block": "0" }, this.label), h("cura-paragraph", { key: 'f8239bb5c4ca52e3ce55cc50fab46bd45440e2ee', color: `${this.type}-darker`, size: "xsmall", marginBlock: "0", lineHeight: "133.33%" }, h("slot", { key: 'd0491202942530967ddb5d34ecf1333975c8dda0' })), h("slot", { key: '3024563fbc18c2b4a4954849f74014b0be6b34ee', name: "actions" })), this.closeButton && h("cura-icon", { key: '20b315655b9d8ff4ddfc6c2cec6ebc8981f64643', class: "close-icon", name: "close", size: 16, color: "error-dark", onClick: this.handleClose }), this.loader && !!this.autoCloseDelay && h("cura-loader-bar", { key: 'a81f9da8704799af13009fa046b58e9d6eeb453c', color: `${this.type}-base`, progress: this.progress }))));
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: '655c6aae9efc3aad790c6a45a7192ef01baeac97', role: "tooltip", id: this.elementId }, h("div", { key: 'c552ffd20262eed5e71f4cd93c078852cc52c1ca', class: "container", style: this.styles }, h("div", { key: '110f11205496428b674431e1b2bc8c3f95f9397a', class: "content" }, h("cura-heading", { key: 'd2a0caf6a338c9c0b839ea8671c6d524b943ca86', level: 4, size: "xsmall", color: "neutral-black", weight: "bold", "margin-block": "0" }, this.label), h("cura-paragraph", { key: 'bd7addb352119fead424151294e01eae111915e2', color: "neutral-dark", "spot-color": "secondary-darker", size: "xsmall", marginBlock: "0", lineHeight: "133.33%" }, h("slot", { key: '2323f1af541803e16caa042e9969953557a28976' }))), this.closeButton && !this.isMobile && h("cura-icon", { key: '92a672d383b057c53ce1771bea1ff9374a9a50a7', class: "close-icon", name: "close", size: 16, color: "error-dark", onClick: this.handleClose }), this.isMobile && h("cura-button-transparent", { key: 'a31de7e78e092b4fbf6b0e0b85c0c664399081a0', class: "close-button", size: "small", type: "button", color: "error", "icon-name": "close", "icon-position": "right", onClick: this.handleClose }, "OK, entendi."))));
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: '2e951be46f80c67ea87aaf1c613e29ae7a1cc856', role: "checkbox", "aria-checked": this.checked, "aria-disabled": this.disabled, "aria-required": this.required, "aria-invalid": this.status === 'error' }, h("div", { key: '341a30934dd6660b03e6be161999fad24fb005ef', class: this.getClasses(), style: this.styles, onClick: this.handleClick }, h("div", { key: '58f32f6b047d19b8af2468b6007cf2dfb1297476', class: "info" }, h("div", { key: 'e23407390368c638e4e8cd9119ad3ccd1767d861', class: "label-wrapper" }, h("cura-label", { key: 'd7ce7b39441203e9058b0227edbfc75dd320806f', 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: '0684b9ab1f517083bc681bd0731aedf6d38c9873', lineHeight: "0%", marginBlock: "0", color: "error-base" }, "*", ' '))), h("cura-label", { key: '499419ee720a7c7ba7e42fc8fcebccfb4e0b0c42', textOverflow: this.overflowHelper, color: this.assignColor('message'), size: "xsmall", class: "message" }, h("slot", { key: '7c9637fa4a8082f6451851452db1b751218a20ec' }))), h("div", { key: '91b0a1f42d65d72aca24ff8a852d3c6f461a9cb7', class: 'checkbox', tabIndex: this.ontabindex }, h("input", { key: '4f1db30730b2d68d3d0f3036fd5924a9da1b541b', type: "checkbox", name: this.name, value: this.value, disabled: this.disabled, required: this.required, checked: this.checked, indeterminate: this.indeterminate }), this.getIcon()))));
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: 'a274509eede61a43a6677fbf20dc4645c745d41d' }, h("div", { key: '857056581ab374e280ab442aecc49d6b93a21cd2', class: "container", style: this.styles }, h("cura-input-text", { key: '417fd4a96ea71a747f7fee55e7a5b524c6b51ef5', 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()))));
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
+ }