@rededor/cura 1.5.0 → 1.6.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.
Files changed (373) hide show
  1. package/dist/cjs/{app-globals-57c5b283.js → app-globals-5a7ddb39.js} +21 -2
  2. package/dist/cjs/app-globals-5a7ddb39.js.map +1 -0
  3. package/dist/cjs/{cura-accordion_12.cjs.entry.js → cura-accordion_18.cjs.entry.js} +689 -50
  4. package/dist/cjs/cura-accordion_18.cjs.entry.js.map +1 -0
  5. package/dist/cjs/cura-alert.cjs.entry.js +2 -2
  6. package/dist/cjs/cura-alert.cjs.entry.js.map +1 -1
  7. package/dist/cjs/cura-badge-counter.cjs.entry.js +2 -2
  8. package/dist/cjs/cura-badge-counter.cjs.entry.js.map +1 -1
  9. package/dist/cjs/cura-badge-dot.cjs.entry.js +2 -2
  10. package/dist/cjs/cura-badge-dot.cjs.entry.js.map +1 -1
  11. package/dist/cjs/cura-badge-pill.cjs.entry.js +2 -2
  12. package/dist/cjs/cura-badge-pill.cjs.entry.js.map +1 -1
  13. package/dist/cjs/cura-button-outline.cjs.entry.js +2 -2
  14. package/dist/cjs/cura-button-outline.cjs.entry.js.map +1 -1
  15. package/dist/cjs/cura-button-select.cjs.entry.js +2 -2
  16. package/dist/cjs/cura-button-select.cjs.entry.js.map +1 -1
  17. package/dist/cjs/cura-calendar.cjs.entry.js +1 -1
  18. package/dist/cjs/cura-card.cjs.entry.js +1 -1
  19. package/dist/cjs/cura-checkbox.cjs.entry.js +2 -2
  20. package/dist/cjs/cura-display.cjs.entry.js +2 -2
  21. package/dist/cjs/cura-dropdown-search-not-found.cjs.entry.js +28 -0
  22. package/dist/cjs/cura-dropdown-search-not-found.cjs.entry.js.map +1 -0
  23. package/dist/cjs/cura-dropdown-search-option-title.cjs.entry.js +2 -2
  24. package/dist/cjs/cura-dropdown-search-option.cjs.entry.js +4 -4
  25. package/dist/cjs/cura-dropdown-search-option.cjs.entry.js.map +1 -1
  26. package/dist/cjs/cura-dropdown-search.cjs.entry.js +3 -3
  27. package/dist/cjs/cura-icons-view.cjs.entry.js +2 -2
  28. package/dist/cjs/cura-input-date.cjs.entry.js +3 -3
  29. package/dist/cjs/cura-input-date.cjs.entry.js.map +1 -1
  30. package/dist/cjs/cura-loader-bar.cjs.entry.js +2 -2
  31. package/dist/cjs/cura-modal.cjs.entry.js +3 -3
  32. package/dist/cjs/cura-modal.cjs.entry.js.map +1 -1
  33. package/dist/cjs/cura-progress-bar_2.cjs.entry.js +3 -3
  34. package/dist/cjs/cura-radio.cjs.entry.js +2 -2
  35. package/dist/cjs/cura-stepper.cjs.entry.js +2 -2
  36. package/dist/cjs/cura-switch.cjs.entry.js +2 -2
  37. package/dist/cjs/{cura-theme-module-14544f5f.js → cura-theme-module-a100c643.js} +9 -78
  38. package/dist/cjs/cura-theme-module-a100c643.js.map +1 -0
  39. package/dist/cjs/cura-toast.cjs.entry.js +2 -2
  40. package/dist/cjs/cura-tooltip.cjs.entry.js +3 -3
  41. package/dist/cjs/cura-tooltip.cjs.entry.js.map +1 -1
  42. package/dist/cjs/cura.cjs.js +5 -4
  43. package/dist/cjs/cura.cjs.js.map +1 -1
  44. package/dist/cjs/{index-e6d728ec.js → index-12d54921.js} +19 -2
  45. package/dist/cjs/index-12d54921.js.map +1 -0
  46. package/dist/cjs/index.cjs.js +2 -1
  47. package/dist/cjs/index.cjs.js.map +1 -1
  48. package/dist/cjs/loader.cjs.js +5 -4
  49. package/dist/cjs/loader.cjs.js.map +1 -1
  50. package/dist/cjs/static-4e83652c.js +76 -0
  51. package/dist/cjs/static-4e83652c.js.map +1 -0
  52. package/dist/collection/api/cura-api.js +19 -0
  53. package/dist/collection/api/cura-api.js.map +1 -1
  54. package/dist/collection/api/cura-api.type.js.map +1 -1
  55. package/dist/collection/collection-manifest.json +4 -0
  56. package/dist/collection/components/accordion/cura-accordion/cura-accordion.js +2 -2
  57. package/dist/collection/components/accordion/cura-accordion/cura-accordion.js.map +1 -1
  58. package/dist/collection/components/accordion/cura-accordion-item/cura-accordion-item.css +6 -6
  59. package/dist/collection/components/badges/cura-badge-counter/cura-badge-counter.css +8 -8
  60. package/dist/collection/components/badges/cura-badge-distance/cura-badge-distance.css +5 -5
  61. package/dist/collection/components/badges/cura-badge-dot/cura-badge-dot.css +4 -4
  62. package/dist/collection/components/badges/cura-badge-pill/cura-badge-pill.css +6 -6
  63. package/dist/collection/components/buttons/cura-button/cura-button.css +15 -15
  64. package/dist/collection/components/buttons/cura-button-outline/cura-button-outline.css +15 -15
  65. package/dist/collection/components/buttons/cura-button-select/cura-button-select.css +12 -12
  66. package/dist/collection/components/buttons/cura-button-transparent/cura-button-transparent.css +15 -15
  67. package/dist/collection/components/cura-alert/cura-alert.css +5 -5
  68. package/dist/collection/components/cura-dropdown-search-new/cura-dropdown-search-category/cura-dropdown-search-category.css +61 -0
  69. package/dist/collection/components/cura-dropdown-search-new/cura-dropdown-search-category/cura-dropdown-search-category.js +28 -0
  70. package/dist/collection/components/cura-dropdown-search-new/cura-dropdown-search-category/cura-dropdown-search-category.js.map +1 -0
  71. package/dist/collection/components/cura-dropdown-search-new/cura-dropdown-search-category/cura-dropdown-search-category.stories.js +37 -0
  72. package/dist/collection/components/cura-dropdown-search-new/cura-dropdown-search-category/cura-dropdown-search-category.stories.js.map +1 -0
  73. package/dist/collection/components/cura-dropdown-search-new/cura-dropdown-search-new.css +138 -0
  74. package/dist/collection/components/cura-dropdown-search-new/cura-dropdown-search-new.js +592 -0
  75. package/dist/collection/components/cura-dropdown-search-new/cura-dropdown-search-new.js.map +1 -0
  76. package/dist/collection/components/cura-dropdown-search-new/cura-dropdown-search-new.stories.js +278 -0
  77. package/dist/collection/components/cura-dropdown-search-new/cura-dropdown-search-new.stories.js.map +1 -0
  78. package/dist/collection/components/cura-dropdown-search-new/cura-dropdown-search-not-found/cura-dropdown-search-not-found.css +62 -0
  79. package/dist/collection/components/cura-dropdown-search-new/cura-dropdown-search-not-found/cura-dropdown-search-not-found.js +44 -0
  80. package/dist/collection/components/cura-dropdown-search-new/cura-dropdown-search-not-found/cura-dropdown-search-not-found.js.map +1 -0
  81. package/dist/collection/components/cura-dropdown-search-new/cura-dropdown-search-not-found/cura-dropdown-search-not-found.stories.js +38 -0
  82. package/dist/collection/components/cura-dropdown-search-new/cura-dropdown-search-not-found/cura-dropdown-search-not-found.stories.js.map +1 -0
  83. package/dist/collection/components/cura-dropdown-search-new/cura-dropdown-search-option-new/cura-dropdown-search-option-new.css +121 -0
  84. package/dist/collection/components/cura-dropdown-search-new/cura-dropdown-search-option-new/cura-dropdown-search-option-new.js +183 -0
  85. package/dist/collection/components/cura-dropdown-search-new/cura-dropdown-search-option-new/cura-dropdown-search-option-new.js.map +1 -0
  86. package/dist/collection/components/cura-dropdown-search-new/cura-dropdown-search-option-new/cura-dropdown-search-option-new.stories.js +85 -0
  87. package/dist/collection/components/cura-dropdown-search-new/cura-dropdown-search-option-new/cura-dropdown-search-option-new.stories.js.map +1 -0
  88. package/dist/collection/components/cura-icon/cura-icon.js +1 -1
  89. package/dist/collection/components/cura-icons-view/cura-icons-view.js +1 -1
  90. package/dist/collection/components/cura-modal/cura-modal.css +11 -11
  91. package/dist/collection/components/cura-modal/cura-modal.js +1 -1
  92. package/dist/collection/components/cura-page-template/cura-page-template.js +1 -1
  93. package/dist/collection/components/cura-stepper/cura-progress-bar/cura-progress-bar.js +1 -1
  94. package/dist/collection/components/cura-stepper/cura-stepper-item/cura-stepper-item.js +1 -1
  95. package/dist/collection/components/cura-stepper/cura-stepper.js +1 -1
  96. package/dist/collection/components/cura-toast/cura-toast.js +1 -1
  97. package/dist/collection/components/cura-tooltip/cura-tooltip.css +12 -12
  98. package/dist/collection/components/cura-tooltip/cura-tooltip.js +1 -1
  99. package/dist/collection/components/forms/cura-checkbox/cura-checkbox.js +1 -1
  100. package/dist/collection/components/forms/cura-dropdown-search/cura-dropdown-search-option/cura-dropdown-search-option.css +5 -5
  101. package/dist/collection/components/forms/cura-dropdown-search/cura-dropdown-search-option/cura-dropdown-search-option.js +2 -2
  102. package/dist/collection/components/forms/cura-dropdown-search/cura-dropdown-search-option-title/cura-dropdown-search-option-title.js +1 -1
  103. package/dist/collection/components/forms/cura-dropdown-search/cura-dropdown-search.js +2 -2
  104. package/dist/collection/components/forms/cura-input-date/cura-input-date.css +3 -3
  105. package/dist/collection/components/forms/cura-input-date/cura-input-date.js +1 -1
  106. package/dist/collection/components/forms/cura-input-text/cura-input-text.css +4 -0
  107. package/dist/collection/components/forms/cura-input-text/cura-input-text.js +65 -11
  108. package/dist/collection/components/forms/cura-input-text/cura-input-text.js.map +1 -1
  109. package/dist/collection/components/forms/cura-label/cura-label.js +6 -5
  110. package/dist/collection/components/forms/cura-label/cura-label.js.map +1 -1
  111. package/dist/collection/components/forms/cura-radio/cura-radio.js +1 -1
  112. package/dist/collection/components/forms/cura-select/cura-select.js +3 -3
  113. package/dist/collection/components/forms/cura-select-options/cura-select-option.js +1 -1
  114. package/dist/collection/components/forms/cura-switch/cura-switch.js +1 -1
  115. package/dist/collection/components/loaders/cura-loader-bar/cura-loader-bar.js +1 -1
  116. package/dist/collection/components/loaders/cura-loader-circle/cura-loader-circle.js +1 -1
  117. package/dist/collection/components/text/cura-display/cura-display.js +1 -1
  118. package/dist/collection/components/text/cura-heading/cura-heading.css +7 -6
  119. package/dist/collection/components/text/cura-heading/cura-heading.js +4 -19
  120. package/dist/collection/components/text/cura-heading/cura-heading.js.map +1 -1
  121. package/dist/collection/components/text/cura-paragraph/cura-paragraph.css +7 -7
  122. package/dist/collection/components/text/cura-paragraph/cura-paragraph.js +6 -20
  123. package/dist/collection/components/text/cura-paragraph/cura-paragraph.js.map +1 -1
  124. package/dist/collection/utils/FixedElementScrollBehavior.js +54 -0
  125. package/dist/collection/utils/FixedElementScrollBehavior.js.map +1 -0
  126. package/dist/collection/utils/utils.js +38 -0
  127. package/dist/collection/utils/utils.js.map +1 -1
  128. package/dist/components/cura-accordion-item.js +1 -1
  129. package/dist/components/cura-accordion-item.js.map +1 -1
  130. package/dist/components/cura-accordion.js +2 -2
  131. package/dist/components/cura-accordion.js.map +1 -1
  132. package/dist/components/cura-alert.js +1 -1
  133. package/dist/components/cura-alert.js.map +1 -1
  134. package/dist/components/cura-badge-counter2.js +1 -1
  135. package/dist/components/cura-badge-counter2.js.map +1 -1
  136. package/dist/components/cura-badge-distance.js +1 -1
  137. package/dist/components/cura-badge-distance.js.map +1 -1
  138. package/dist/components/cura-badge-dot.js +1 -1
  139. package/dist/components/cura-badge-dot.js.map +1 -1
  140. package/dist/components/cura-badge-pill2.js +1 -1
  141. package/dist/components/cura-badge-pill2.js.map +1 -1
  142. package/dist/components/cura-button-outline.js +1 -1
  143. package/dist/components/cura-button-outline.js.map +1 -1
  144. package/dist/components/cura-button-select.js +1 -1
  145. package/dist/components/cura-button-select.js.map +1 -1
  146. package/dist/components/cura-button-transparent2.js +1 -1
  147. package/dist/components/cura-button-transparent2.js.map +1 -1
  148. package/dist/components/cura-button.js +1 -1
  149. package/dist/components/cura-button.js.map +1 -1
  150. package/dist/components/cura-checkbox.js +1 -1
  151. package/dist/components/cura-display.js +1 -1
  152. package/dist/components/cura-dropdown-search-category.d.ts +11 -0
  153. package/dist/components/cura-dropdown-search-category.js +49 -0
  154. package/dist/components/cura-dropdown-search-category.js.map +1 -0
  155. package/dist/components/cura-dropdown-search-new.d.ts +11 -0
  156. package/dist/components/cura-dropdown-search-new.js +406 -0
  157. package/dist/components/cura-dropdown-search-new.js.map +1 -0
  158. package/dist/components/cura-dropdown-search-not-found.d.ts +11 -0
  159. package/dist/components/cura-dropdown-search-not-found.js +48 -0
  160. package/dist/components/cura-dropdown-search-not-found.js.map +1 -0
  161. package/dist/components/cura-dropdown-search-option-new.d.ts +11 -0
  162. package/dist/components/cura-dropdown-search-option-new.js +81 -0
  163. package/dist/components/cura-dropdown-search-option-new.js.map +1 -0
  164. package/dist/components/cura-dropdown-search-option-title.js +1 -1
  165. package/dist/components/cura-dropdown-search-option.js +3 -3
  166. package/dist/components/cura-dropdown-search-option.js.map +1 -1
  167. package/dist/components/cura-dropdown-search.js +2 -2
  168. package/dist/components/cura-heading2.js +4 -17
  169. package/dist/components/cura-heading2.js.map +1 -1
  170. package/dist/components/cura-icon2.js +1 -1
  171. package/dist/components/cura-icons-view.js +1 -1
  172. package/dist/components/cura-input-date.js +2 -2
  173. package/dist/components/cura-input-date.js.map +1 -1
  174. package/dist/components/cura-input-text2.js +132 -7
  175. package/dist/components/cura-input-text2.js.map +1 -1
  176. package/dist/components/cura-label2.js +6 -5
  177. package/dist/components/cura-label2.js.map +1 -1
  178. package/dist/components/cura-loader-bar2.js +1 -1
  179. package/dist/components/cura-loader-circle2.js +1 -1
  180. package/dist/components/cura-modal.js +2 -2
  181. package/dist/components/cura-modal.js.map +1 -1
  182. package/dist/components/cura-page-template.js +1 -1
  183. package/dist/components/cura-paragraph2.js +7 -19
  184. package/dist/components/cura-paragraph2.js.map +1 -1
  185. package/dist/components/cura-progress-bar2.js +1 -1
  186. package/dist/components/cura-radio.js +1 -1
  187. package/dist/components/cura-select-option2.js +1 -1
  188. package/dist/components/cura-select2.js +3 -3
  189. package/dist/components/cura-stepper-item2.js +1 -1
  190. package/dist/components/cura-stepper.js +1 -1
  191. package/dist/components/cura-switch.js +1 -1
  192. package/dist/components/cura-toast.js +1 -1
  193. package/dist/components/cura-tooltip.js +2 -2
  194. package/dist/components/cura-tooltip.js.map +1 -1
  195. package/dist/components/index.js +28 -71
  196. package/dist/components/index.js.map +1 -1
  197. package/dist/cura/cura.esm.js +1 -1
  198. package/dist/cura/cura.esm.js.map +1 -1
  199. package/dist/cura/index.esm.js +1 -1
  200. package/dist/cura/index.esm.js.map +1 -1
  201. package/dist/cura/p-02717e7d.entry.js +2 -0
  202. package/dist/cura/{p-629c34fe.entry.js.map → p-02717e7d.entry.js.map} +1 -1
  203. package/dist/cura/p-0a391c03.entry.js +2 -0
  204. package/dist/cura/{p-dbab7864.entry.js.map → p-0a391c03.entry.js.map} +1 -1
  205. package/dist/cura/p-18af52e4.entry.js +2 -0
  206. package/dist/cura/{p-4aefe237.entry.js.map → p-18af52e4.entry.js.map} +1 -1
  207. package/dist/cura/p-1b201271.js +2 -0
  208. package/dist/cura/p-1b201271.js.map +1 -0
  209. package/dist/cura/{p-3030774e.entry.js → p-24cd591e.entry.js} +2 -2
  210. package/dist/cura/p-24d9f1f4.entry.js +2 -0
  211. package/dist/cura/p-24d9f1f4.entry.js.map +1 -0
  212. package/dist/cura/{p-ec7876d3.entry.js → p-2afb14e9.entry.js} +2 -2
  213. package/dist/cura/{p-3c0931d3.entry.js → p-3576b633.entry.js} +2 -2
  214. package/dist/cura/p-46994182.entry.js +2 -0
  215. package/dist/cura/p-500f1256.entry.js +2 -0
  216. package/dist/cura/{p-545e8e55.entry.js.map → p-500f1256.entry.js.map} +1 -1
  217. package/dist/cura/{p-7f25f4dc.entry.js → p-5afb630e.entry.js} +2 -2
  218. package/dist/cura/{p-bd99ef4c.entry.js → p-6243742a.entry.js} +2 -2
  219. package/dist/cura/p-635c0f4d.entry.js +2 -0
  220. package/dist/cura/p-86d317f3.entry.js +2 -0
  221. package/dist/cura/p-86d317f3.entry.js.map +1 -0
  222. package/dist/cura/{p-ee8db3dc.entry.js → p-9214ee88.entry.js} +2 -2
  223. package/dist/cura/{p-70adcf7b.entry.js → p-9dd47ec6.entry.js} +2 -2
  224. package/dist/cura/p-af3ac476.js +3 -0
  225. package/dist/cura/p-af3ac476.js.map +1 -0
  226. package/dist/cura/{p-f30270f0.entry.js → p-b1d6ee8d.entry.js} +2 -2
  227. package/dist/cura/{p-bce10f9b.entry.js → p-bfaf9964.entry.js} +2 -2
  228. package/dist/cura/p-c0f445b5.entry.js +2 -0
  229. package/dist/cura/{p-8622c492.entry.js.map → p-c0f445b5.entry.js.map} +1 -1
  230. package/dist/cura/{p-d13e3295.entry.js → p-d227469a.entry.js} +2 -2
  231. package/dist/cura/p-d25142cd.entry.js +2 -0
  232. package/dist/cura/{p-529332d3.entry.js.map → p-d25142cd.entry.js.map} +1 -1
  233. package/dist/cura/p-d2da92d9.entry.js +2 -0
  234. package/dist/cura/{p-6b627841.entry.js.map → p-d2da92d9.entry.js.map} +1 -1
  235. package/dist/cura/p-daf9feac.js +2 -0
  236. package/dist/cura/p-daf9feac.js.map +1 -0
  237. package/dist/cura/p-e98a1ad2.entry.js +2 -0
  238. package/dist/cura/{p-b3e93e74.entry.js.map → p-e98a1ad2.entry.js.map} +1 -1
  239. package/dist/cura/p-ec4996c2.js +2 -0
  240. package/dist/cura/p-ec4996c2.js.map +1 -0
  241. package/dist/cura/p-ee7328a5.entry.js +2 -0
  242. package/dist/cura/{p-235ac0b4.entry.js.map → p-ee7328a5.entry.js.map} +1 -1
  243. package/dist/cura/{p-f96b0923.entry.js → p-f1098b41.entry.js} +2 -2
  244. package/dist/cura/p-fc9584dd.entry.js +2 -0
  245. package/dist/cura/{p-a4a1f6c6.entry.js.map → p-fc9584dd.entry.js.map} +1 -1
  246. package/dist/esm/{app-globals-036c3b80.js → app-globals-83a601d0.js} +21 -2
  247. package/dist/esm/app-globals-83a601d0.js.map +1 -0
  248. package/dist/esm/{cura-accordion_12.entry.js → cura-accordion_18.entry.js} +684 -51
  249. package/dist/esm/cura-accordion_18.entry.js.map +1 -0
  250. package/dist/esm/cura-alert.entry.js +2 -2
  251. package/dist/esm/cura-alert.entry.js.map +1 -1
  252. package/dist/esm/cura-badge-counter.entry.js +2 -2
  253. package/dist/esm/cura-badge-counter.entry.js.map +1 -1
  254. package/dist/esm/cura-badge-dot.entry.js +2 -2
  255. package/dist/esm/cura-badge-dot.entry.js.map +1 -1
  256. package/dist/esm/cura-badge-pill.entry.js +2 -2
  257. package/dist/esm/cura-badge-pill.entry.js.map +1 -1
  258. package/dist/esm/cura-button-outline.entry.js +2 -2
  259. package/dist/esm/cura-button-outline.entry.js.map +1 -1
  260. package/dist/esm/cura-button-select.entry.js +2 -2
  261. package/dist/esm/cura-button-select.entry.js.map +1 -1
  262. package/dist/esm/cura-calendar.entry.js +1 -1
  263. package/dist/esm/cura-card.entry.js +1 -1
  264. package/dist/esm/cura-checkbox.entry.js +2 -2
  265. package/dist/esm/cura-display.entry.js +2 -2
  266. package/dist/esm/cura-dropdown-search-not-found.entry.js +24 -0
  267. package/dist/esm/cura-dropdown-search-not-found.entry.js.map +1 -0
  268. package/dist/esm/cura-dropdown-search-option-title.entry.js +2 -2
  269. package/dist/esm/cura-dropdown-search-option.entry.js +4 -4
  270. package/dist/esm/cura-dropdown-search-option.entry.js.map +1 -1
  271. package/dist/esm/cura-dropdown-search.entry.js +3 -3
  272. package/dist/esm/cura-icons-view.entry.js +2 -2
  273. package/dist/esm/cura-input-date.entry.js +3 -3
  274. package/dist/esm/cura-input-date.entry.js.map +1 -1
  275. package/dist/esm/cura-loader-bar.entry.js +2 -2
  276. package/dist/esm/cura-modal.entry.js +3 -3
  277. package/dist/esm/cura-modal.entry.js.map +1 -1
  278. package/dist/esm/cura-progress-bar_2.entry.js +3 -3
  279. package/dist/esm/cura-radio.entry.js +2 -2
  280. package/dist/esm/cura-stepper.entry.js +2 -2
  281. package/dist/esm/cura-switch.entry.js +2 -2
  282. package/dist/esm/{cura-theme-module-b23f8ac8.js → cura-theme-module-59e8e460.js} +3 -72
  283. package/dist/esm/cura-theme-module-59e8e460.js.map +1 -0
  284. package/dist/esm/cura-toast.entry.js +2 -2
  285. package/dist/esm/cura-tooltip.entry.js +3 -3
  286. package/dist/esm/cura-tooltip.entry.js.map +1 -1
  287. package/dist/esm/cura.js +6 -5
  288. package/dist/esm/cura.js.map +1 -1
  289. package/dist/esm/{index-747aad85.js → index-717b36df.js} +19 -2
  290. package/dist/esm/index-717b36df.js.map +1 -0
  291. package/dist/esm/index.js +2 -1
  292. package/dist/esm/index.js.map +1 -1
  293. package/dist/esm/loader.js +6 -5
  294. package/dist/esm/loader.js.map +1 -1
  295. package/dist/esm/static-061aa850.js +74 -0
  296. package/dist/esm/static-061aa850.js.map +1 -0
  297. package/dist/types/api/cura-api.d.ts +1 -0
  298. package/dist/types/api/cura-api.type.d.ts +1 -1
  299. package/dist/types/components/cura-dropdown-search-new/cura-dropdown-search-category/cura-dropdown-search-category.d.ts +6 -0
  300. package/dist/types/components/cura-dropdown-search-new/cura-dropdown-search-category/cura-dropdown-search-category.stories.d.ts +27 -0
  301. package/dist/types/components/cura-dropdown-search-new/cura-dropdown-search-new.d.ts +127 -0
  302. package/dist/types/components/cura-dropdown-search-new/cura-dropdown-search-new.stories.d.ts +186 -0
  303. package/dist/types/components/cura-dropdown-search-new/cura-dropdown-search-not-found/cura-dropdown-search-not-found.d.ts +6 -0
  304. package/dist/types/components/cura-dropdown-search-new/cura-dropdown-search-not-found/cura-dropdown-search-not-found.stories.d.ts +27 -0
  305. package/dist/types/components/cura-dropdown-search-new/cura-dropdown-search-option-new/cura-dropdown-search-option-new.d.ts +44 -0
  306. package/dist/types/components/cura-dropdown-search-new/cura-dropdown-search-option-new/cura-dropdown-search-option-new.stories.d.ts +72 -0
  307. package/dist/types/components/forms/cura-input-text/cura-input-text.d.ts +12 -4
  308. package/dist/types/components/forms/cura-label/cura-label.d.ts +1 -0
  309. package/dist/types/components/text/cura-heading/cura-heading.d.ts +2 -3
  310. package/dist/types/components/text/cura-paragraph/cura-paragraph.d.ts +2 -2
  311. package/dist/types/components.d.ts +264 -9
  312. package/dist/types/utils/FixedElementScrollBehavior.d.ts +12 -0
  313. package/dist/types/utils/utils.d.ts +5 -0
  314. package/package.json +2 -2
  315. package/dist/cjs/app-globals-57c5b283.js.map +0 -1
  316. package/dist/cjs/cura-accordion_12.cjs.entry.js.map +0 -1
  317. package/dist/cjs/cura-avatar.cjs.entry.js +0 -68
  318. package/dist/cjs/cura-avatar.cjs.entry.js.map +0 -1
  319. package/dist/cjs/cura-badge-distance.cjs.entry.js +0 -46
  320. package/dist/cjs/cura-badge-distance.cjs.entry.js.map +0 -1
  321. package/dist/cjs/cura-button-transparent.cjs.entry.js +0 -107
  322. package/dist/cjs/cura-button-transparent.cjs.entry.js.map +0 -1
  323. package/dist/cjs/cura-theme-module-14544f5f.js.map +0 -1
  324. package/dist/cjs/index-e6d728ec.js.map +0 -1
  325. package/dist/cura/p-1051a947.js +0 -2
  326. package/dist/cura/p-1051a947.js.map +0 -1
  327. package/dist/cura/p-164ddb46.entry.js +0 -2
  328. package/dist/cura/p-164ddb46.entry.js.map +0 -1
  329. package/dist/cura/p-235ac0b4.entry.js +0 -2
  330. package/dist/cura/p-4aefe237.entry.js +0 -2
  331. package/dist/cura/p-529332d3.entry.js +0 -2
  332. package/dist/cura/p-545e8e55.entry.js +0 -2
  333. package/dist/cura/p-557b90c4.entry.js +0 -2
  334. package/dist/cura/p-57ad7c56.entry.js +0 -2
  335. package/dist/cura/p-57ad7c56.entry.js.map +0 -1
  336. package/dist/cura/p-629c34fe.entry.js +0 -2
  337. package/dist/cura/p-62a3056f.entry.js +0 -2
  338. package/dist/cura/p-62a3056f.entry.js.map +0 -1
  339. package/dist/cura/p-6624108e.entry.js +0 -2
  340. package/dist/cura/p-6b627841.entry.js +0 -2
  341. package/dist/cura/p-8622c492.entry.js +0 -2
  342. package/dist/cura/p-935eeb7b.entry.js +0 -2
  343. package/dist/cura/p-935eeb7b.entry.js.map +0 -1
  344. package/dist/cura/p-a4a1f6c6.entry.js +0 -2
  345. package/dist/cura/p-b3e93e74.entry.js +0 -2
  346. package/dist/cura/p-d21364b2.js +0 -2
  347. package/dist/cura/p-d21364b2.js.map +0 -1
  348. package/dist/cura/p-dbab7864.entry.js +0 -2
  349. package/dist/cura/p-fd5ed6b0.js +0 -3
  350. package/dist/cura/p-fd5ed6b0.js.map +0 -1
  351. package/dist/esm/app-globals-036c3b80.js.map +0 -1
  352. package/dist/esm/cura-accordion_12.entry.js.map +0 -1
  353. package/dist/esm/cura-avatar.entry.js +0 -64
  354. package/dist/esm/cura-avatar.entry.js.map +0 -1
  355. package/dist/esm/cura-badge-distance.entry.js +0 -42
  356. package/dist/esm/cura-badge-distance.entry.js.map +0 -1
  357. package/dist/esm/cura-button-transparent.entry.js +0 -103
  358. package/dist/esm/cura-button-transparent.entry.js.map +0 -1
  359. package/dist/esm/cura-theme-module-b23f8ac8.js.map +0 -1
  360. package/dist/esm/index-747aad85.js.map +0 -1
  361. /package/dist/cura/{p-3030774e.entry.js.map → p-24cd591e.entry.js.map} +0 -0
  362. /package/dist/cura/{p-ec7876d3.entry.js.map → p-2afb14e9.entry.js.map} +0 -0
  363. /package/dist/cura/{p-3c0931d3.entry.js.map → p-3576b633.entry.js.map} +0 -0
  364. /package/dist/cura/{p-6624108e.entry.js.map → p-46994182.entry.js.map} +0 -0
  365. /package/dist/cura/{p-7f25f4dc.entry.js.map → p-5afb630e.entry.js.map} +0 -0
  366. /package/dist/cura/{p-bd99ef4c.entry.js.map → p-6243742a.entry.js.map} +0 -0
  367. /package/dist/cura/{p-557b90c4.entry.js.map → p-635c0f4d.entry.js.map} +0 -0
  368. /package/dist/cura/{p-ee8db3dc.entry.js.map → p-9214ee88.entry.js.map} +0 -0
  369. /package/dist/cura/{p-70adcf7b.entry.js.map → p-9dd47ec6.entry.js.map} +0 -0
  370. /package/dist/cura/{p-f30270f0.entry.js.map → p-b1d6ee8d.entry.js.map} +0 -0
  371. /package/dist/cura/{p-bce10f9b.entry.js.map → p-bfaf9964.entry.js.map} +0 -0
  372. /package/dist/cura/{p-d13e3295.entry.js.map → p-d227469a.entry.js.map} +0 -0
  373. /package/dist/cura/{p-f96b0923.entry.js.map → p-f1098b41.entry.js.map} +0 -0
@@ -1,5 +1,6 @@
1
- import { r as registerInstance, h, H as Host, g as getElement, c as createEvent } from './index-747aad85.js';
1
+ import { r as registerInstance, h, H as Host, g as getElement, c as createEvent } from './index-717b36df.js';
2
2
  import { l as labelSizes } from './cura-button.definitions-617d3bad.js';
3
+ import { S as Static } from './static-061aa850.js';
3
4
  import { i as iconSizes } from './cura-icon.definitions-a892c0e2.js';
4
5
 
5
6
  const curaAccordionCss = ":host{display:block;color:var(--font-color);font-size:var(--font-size);font-size:var(--font-size);font-family:var(--font-family);font-weight:var(--font-weight-regular)}";
@@ -57,7 +58,7 @@ const CuraAccordion = class {
57
58
  this.host.querySelectorAll('cura-accordion-item').forEach(item => {
58
59
  this.setChildProperties(item);
59
60
  });
60
- const options = { childList: true, subtree: true, attributes: true };
61
+ const options = { childList: true, subtree: false, attributes: false };
61
62
  this.mutationObserver.observe(this.host, options);
62
63
  }
63
64
  disconnectedCallback() {
@@ -80,7 +81,7 @@ const CuraAccordion = class {
80
81
  this.styles = Object.assign(Object.assign({}, this.styles), { "--acc-color": window.CuraAPI.theme.colors.getColor("neutral-black"), "--acc-color-hover": window.CuraAPI.theme.colors.getColor(`${this.color}-base`), "--acc-color-icon": window.CuraAPI.theme.colors.getColor(`${this.iconColor || this.color}-base`), "--acc-color-icon-hover": window.CuraAPI.theme.colors.getColor(`${this.iconColor || this.color}-darker`), "--acc-color-inverted": window.CuraAPI.theme.colors.getColor("neutral-white"), "--acc-color-hover-inverted": window.CuraAPI.theme.colors.getColor(`${this.color}-lighter`), "--acc-color-icon-inverted": window.CuraAPI.theme.colors.getColor("neutral-white"), "--acc-color-icon-hover-inverted": window.CuraAPI.theme.colors.getColor(`${this.iconColor || this.color}-lighter`) });
81
82
  }
82
83
  render() {
83
- return (h(Host, { key: 'a56103203dd352195eaac03957350c73a1fcfb06', style: this.styles }, h("slot", { key: '3226a757908201e1c91d6a9a195980d9020f2327', name: 'accordion-item' })));
84
+ return (h(Host, { key: '58c69f7911698dae68dacaeb4cd226d61e09fe17', style: this.styles }, h("slot", { key: 'd808861eb471bfd7c356fb942121d20d547abfcb', name: 'accordion-item' })));
84
85
  }
85
86
  get host() { return getElement(this); }
86
87
  static get watchers() { return {
@@ -89,7 +90,7 @@ const CuraAccordion = class {
89
90
  };
90
91
  CuraAccordion.style = CuraAccordionStyle0;
91
92
 
92
- const curaAccordionItemCss = ":host{display:block}:host .accordion-item{width:100%}:host .accordion-item::after{content:\"\";display:block;border-top:solid 1px var(--neutral-base);width:100%}:host .accordion-item:hover:not(.active)::after{content:\"\";display:block;border-top:solid 1px var(--acc-color-icon-hover);width:100%}:host .accordion-item .label{display:flex;flex-direction:column}:host .accordion-item .label .label-container{display:flex;flex-grow:1;justify-content:space-between;align-items:center;gap:calc(var(--base-spacing) * 3px);padding:calc(var(--base-spacing) * 3px);word-break:break-word;cursor:pointer;font-size:1.14em;font-weight:var(--font-weight-regular)}:host .accordion-item .label .label-container .label-content{display:flex;justify-content:center;align-items:center;gap:calc(var(--base-spacing) * 3px)}:host .accordion-item .label .label-container .label-content cura-icon{--color:var(--acc-color) !important}:host .accordion-item .label .label-container .label-content cura-heading{--color-body:var(--acc-color) !important}:host .accordion-item .label .label-container cura-icon{--color:var(--acc-color-icon) !important;margin-right:4px}:host .accordion-item .label .label-container:hover cura-heading{--color-body:var(--acc-color-hover) !important}:host .accordion-item .label .label-container:hover cura-icon{--color:var(--acc-color-icon-hover) !important}:host .accordion-item .content{font-size:1em;overflow:hidden;max-height:0;transition:max-height 0.25s ease}:host .accordion-item .content .content-wrapper{padding:calc(var(--base-spacing) * 3px)}:host .accordion-item.inverted:hover:not(.active)::after{content:\"\";display:block;border-top:solid 1px var(--acc-color-icon-hover-inverted);width:100%}:host .accordion-item.inverted .label .label-container cura-heading{--color-body:var(--acc-color-inverted) !important}:host .accordion-item.inverted .label .label-container cura-icon{--color:var(--acc-color-icon-inverted) !important}:host .accordion-item.inverted .label .label-container:hover cura-heading{--color-body:var(--acc-color-hover-inverted) !important}:host .accordion-item.inverted .label .label-container:hover cura-icon{--color:var(--acc-color-icon-hover-inverted) !important}:host .accordion-item.active .content{max-height:200vh;overflow-y:auto;transition:max-height 0.5s ease 0.14s}@media (min-width: 769px) and (max-width: 992px){:host .accordion-item .label .label-container{font-size:1.29em}:host .accordion-item .content{font-size:1.14em}}@media (min-width: 993px){:host .accordion-item .label .label-container{font-size:1.29em}:host .accordion-item .content{font-size:1.14em}}";
93
+ const curaAccordionItemCss = ":host{display:block}:host .accordion-item{width:100%}:host .accordion-item::after{content:\"\";display:block;border-top:solid 1px var(--neutral-base);width:100%}:host .accordion-item:hover:not(.active)::after{content:\"\";display:block;border-top:solid 1px var(--acc-color-icon-hover);width:100%}:host .accordion-item .label{display:flex;flex-direction:column}:host .accordion-item .label .label-container{display:flex;flex-grow:1;justify-content:space-between;align-items:center;gap:calc(var(--cura-spacing-base) * 3px);padding:calc(var(--cura-spacing-base) * 3px);word-break:break-word;cursor:pointer;font-size:1.14em;font-weight:var(--font-weight-regular)}:host .accordion-item .label .label-container .label-content{display:flex;justify-content:center;align-items:center;gap:calc(var(--cura-spacing-base) * 3px)}:host .accordion-item .label .label-container .label-content cura-icon{--color:var(--acc-color) !important}:host .accordion-item .label .label-container .label-content cura-heading{--color-body:var(--acc-color) !important}:host .accordion-item .label .label-container cura-icon{--color:var(--acc-color-icon) !important;margin-right:4px}:host .accordion-item .label .label-container:hover cura-heading{--color-body:var(--acc-color-hover) !important}:host .accordion-item .label .label-container:hover cura-icon{--color:var(--acc-color-icon-hover) !important}:host .accordion-item .content{font-size:1em;overflow:hidden;max-height:0;transition:max-height 0.25s ease}:host .accordion-item .content .content-wrapper{padding:calc(var(--cura-spacing-base) * 3px)}:host .accordion-item.inverted:hover:not(.active)::after{content:\"\";display:block;border-top:solid 1px var(--acc-color-icon-hover-inverted);width:100%}:host .accordion-item.inverted .label .label-container cura-heading{--color-body:var(--acc-color-inverted) !important}:host .accordion-item.inverted .label .label-container cura-icon{--color:var(--acc-color-icon-inverted) !important}:host .accordion-item.inverted .label .label-container:hover cura-heading{--color-body:var(--acc-color-hover-inverted) !important}:host .accordion-item.inverted .label .label-container:hover cura-icon{--color:var(--acc-color-icon-hover-inverted) !important}:host .accordion-item.active .content{max-height:200vh;overflow-y:auto;transition:max-height 0.5s ease 0.14s}@media (min-width: 769px) and (max-width: 992px){:host .accordion-item .label .label-container{font-size:1.29em}:host .accordion-item .content{font-size:1.14em}}@media (min-width: 993px){:host .accordion-item .label .label-container{font-size:1.29em}:host .accordion-item .content{font-size:1.14em}}";
93
94
  const CuraAccordionItemStyle0 = curaAccordionItemCss;
94
95
 
95
96
  const CuraAccordionItem = class {
@@ -127,7 +128,103 @@ const CuraAccordionItem = class {
127
128
  };
128
129
  CuraAccordionItem.style = CuraAccordionItemStyle0;
129
130
 
130
- const curaButtonCss = ":host{--border-radius:4px;display:inline-block;vertical-align:middle;position:relative}:host button,:host a{outline:none;box-shadow:none;box-sizing:border-box;display:flex;width:100%;align-items:center;justify-content:center;text-decoration:none !important;font-size:var(--font-size);cursor:pointer;transition:background-color 0.07s linear, box-shadow 0.07s linear, border-color 0.07s linear;border-radius:var(--border-radius);position:relative;background-color:var(--color-base-neutral-purewhite);box-sizing:border-box;border:none}:host button:focus,:host a:focus{outline:2px solid #6EA8FF}:host button::before,:host a::before{content:\"\";width:100%;height:100%;position:absolute;left:0px;top:0px;box-sizing:border-box;border:2px solid transparent;border-radius:var(--border-radius)}:host button:not(.disabled):not(.isLoading)::before,:host a:not(.disabled):not(.isLoading)::before{border:2px solid var(--color-base-color-light)}:host button:not(.disabled):hover,:host a:not(.disabled):hover{background:var(--color-base-color-light);box-shadow:0px 4px 8px 0px rgba(38, 38, 38, 0.16)}:host button:not(.disabled):not(.isLoading):hover::before,:host a:not(.disabled):not(.isLoading):hover::before{border-color:var(--color-dark-color-base)}:host button:not(.isLoading):not(.disabled):active,:host a:not(.isLoading):not(.disabled):active{background-color:var(--color-dark-color-light)}:host button:not(.isLoading):not(.disabled):active::before,:host a:not(.isLoading):not(.disabled):active::before{border-color:var(--color-dark-color-light)}:host button:hover,:host a:hover{box-shadow:0 4px 8px 0 rgba(38, 38, 38, 0.16)}:host button.medium:hover,:host a.medium:hover{box-shadow:0 3px 6px 0 rgba(38, 38, 38, 0.16)}:host button.small:hover,:host a.small:hover{box-shadow:0 2px 5px 0 rgba(38, 38, 38, 0.16)}:host button:active,:host button.disabled:hover,:host button.isLoading:hover,:host a:active,:host a.disabled:hover,:host a.isLoading:hover{box-shadow:none !important}:host button.large,:host a.large{padding:calc(var(--base-spacing) * 3px) calc(var(--base-spacing) * 4px);min-height:calc(var(--base-spacing) * 11px)}:host button.medium,:host a.medium{padding:calc(var(--base-spacing) * 3px);min-height:calc(var(--base-spacing) * 10px)}:host button.small,:host a.small{padding:calc(var(--base-spacing) * 2px);min-height:calc(var(--base-spacing) * 8px)}:host button .button-container,:host a .button-container{display:flex;align-items:center;opacity:1;transition:opacity 0.2s linear;position:relative}:host button.icon-right .button-container,:host a.icon-right .button-container{flex-direction:row-reverse}:host button.justify .button-container,:host a.justify .button-container{width:100%}:host button cura-label,:host a cura-label{flex:1;text-align:var(--text-align, \"left\")}:host button.icon-left cura-icon,:host a.icon-left cura-icon{margin-right:calc(var(--base-spacing) * 3px)}:host button.icon-right cura-icon,:host a.icon-right cura-icon{margin-left:calc(var(--base-spacing) * 3px)}:host button.medium.icon-left cura-icon,:host button.small.icon-left cura-icon,:host a.medium.icon-left cura-icon,:host a.small.icon-left cura-icon{margin-right:calc(var(--base-spacing) * 2px)}:host button.medium.icon-right cura-icon,:host button.small.icon-right cura-icon,:host a.medium.icon-right cura-icon,:host a.small.icon-right cura-icon{margin-left:calc(var(--base-spacing) * 2px)}:host button.disabled,:host a.disabled{cursor:not-allowed;background-color:var(--neutral-pale-neutral-black)}:host button.icon-only,:host a.icon-only{padding:calc(var(--base-spacing) * 3px) calc(var(--base-spacing) * 3px)}:host button.icon-only cura-label,:host a.icon-only cura-label{display:none}:host button.icon-only cura-icon,:host a.icon-only cura-icon{margin-left:0 !important;margin-right:0 !important}:host button.icon-only.medium,:host a.icon-only.medium{padding:calc(var(--base-spacing) * 3px)}:host button.icon-only.small,:host a.icon-only.small{padding:calc(var(--base-spacing) * 2px)}:host button cura-loader-circle,:host a cura-loader-circle{position:absolute;display:none}:host button.isLoading,:host a.isLoading{cursor:wait}:host button.isLoading .button-container,:host a.isLoading .button-container{opacity:0}:host button.isLoading cura-loader-circle,:host a.isLoading cura-loader-circle{display:block}";
131
+ const avatarSizes = {
132
+ '80': { border: 2.5 },
133
+ '40': { border: 2.25 },
134
+ '32': { border: 2 },
135
+ '24': { border: 1.75 },
136
+ };
137
+
138
+ const curaAvatarCss = ":host{display:inline-flex}:host .conteiner{display:flex;box-sizing:border-box;justify-content:center;align-items:center;width:var(--size);height:var(--size);border:var(--border) solid var(--border-color);border-radius:var(--border-radius);background:var(--background-color);overflow:hidden}:host .conteiner.floating{box-shadow:0px 4px 8px 0px rgba(38, 38, 38, 0.16)}:host .conteiner img{outline:none;object-fit:contain;width:100%;height:100%}";
139
+ const CuraAvatarStyle0 = curaAvatarCss;
140
+
141
+ const CuraAvatar = class {
142
+ constructor(hostRef) {
143
+ registerInstance(this, hostRef);
144
+ this.size = '80';
145
+ this.backgroundColor = 'neutral-purewhite';
146
+ this.borderColor = undefined;
147
+ this.borderRadius = '50%';
148
+ this.border = false;
149
+ this.type = 'default';
150
+ this.imageSrc = undefined;
151
+ this.imageSrcDefault = undefined;
152
+ this.floating = undefined;
153
+ this.styles = {};
154
+ }
155
+ sizeHandler(size) {
156
+ const avatarSize = avatarSizes[size];
157
+ this.styles['--border'] = this.border && `${avatarSize.border}px`;
158
+ this.styles['--size'] = `${this.size}px`;
159
+ }
160
+ getClasses() {
161
+ const classes = {};
162
+ classes['conteiner'] = true;
163
+ classes['floating'] = this.floating;
164
+ return classes;
165
+ }
166
+ connectedCallback() {
167
+ this.assetsPath = window.CuraAPI.localAssetsPath;
168
+ this.sizeHandler(this.size);
169
+ }
170
+ hostCSSProperties() {
171
+ return {
172
+ '--background-color': window.CuraAPI.theme.colors.getColor(this.backgroundColor),
173
+ '--border-color': window.CuraAPI.theme.colors.getColor(this.borderColor),
174
+ '--border-radius': `${this.borderRadius}`,
175
+ };
176
+ }
177
+ onSrcError() {
178
+ this.imageSrc = this.imageSrcDefault || `${this.assetsPath}/images/avatar/patient-default.svg`;
179
+ }
180
+ render() {
181
+ return (h(Host, { key: '467e74004b400e80a2d7f8e1a40cd9d7e782ff8a', style: this.hostCSSProperties(), role: "img" }, h("div", { key: 'c38a163b8aeebd07f8aece7aea9889c336df92a5', class: this.getClasses(), style: this.styles }, h("img", { key: 'a22868d4aae4029afb9b325a5c8f5556fa8984ea', src: this.imageSrc || this.imageSrcDefault || `${this.assetsPath}/images/avatar/patient-default.svg`, onError: () => this.onSrcError() }))));
182
+ }
183
+ get host() { return getElement(this); }
184
+ static get watchers() { return {
185
+ "size": ["sizeHandler"]
186
+ }; }
187
+ };
188
+ CuraAvatar.style = CuraAvatarStyle0;
189
+
190
+ const curaBadgeDistanceCss = ":host .container{display:flex;flex-direction:column;justify-content:center;align-items:center;width:calc(var(--cura-spacing-base) * 10px);height:calc(var(--cura-spacing-base) * 10px);border-radius:calc(var(--cura-spacing-base) * 1px);background:var(--neutral-pale)}";
191
+ const CuraBadgeDistanceStyle0 = curaBadgeDistanceCss;
192
+
193
+ const CuraDistance = class {
194
+ constructor(hostRef) {
195
+ registerInstance(this, hostRef);
196
+ this.isThousandRounded = false;
197
+ this.theme = window.CuraAPI.theme;
198
+ this.distance = 0;
199
+ this.label = 'km';
200
+ this.styles = {};
201
+ this.displayDistance = 0;
202
+ }
203
+ formatDistance() {
204
+ const roundedDistance = this.distance % 1 !== 0 ? parseFloat(this.distance.toFixed(1)) : this.distance;
205
+ this.isThousandRounded = Math.abs(roundedDistance) >= 1000;
206
+ this.displayDistance = this.isThousandRounded ? parseFloat((roundedDistance / 1000).toFixed(1)) : roundedDistance;
207
+ }
208
+ connectedCallback() {
209
+ this.setCssProperties();
210
+ this.formatDistance();
211
+ }
212
+ render() {
213
+ return (h(Host, { key: 'cdc206deecbed2e069befda5d21ddcaf03049afc' }, h("div", { key: 'd22d2b5b97964281e8588fbc17a66f3fddcd875e', class: "container", style: this.styles }, h("cura-label", { key: '0d54ab1ad403ba23a57fb78a422ed8c577cd627e', size: 'xsmall', weight: 'bold', color: 'neutral-black' }, this.displayDistance, this.isThousandRounded ? 'K' : ''), h("cura-label", { key: 'd4929a67484bbfd6d6f3edce82414951ea4778c8', size: 'xsmall', weight: 'bold', color: 'neutral-dark' }, this.label))));
214
+ }
215
+ setCssProperties() {
216
+ this.styles = {
217
+ '--neutral-pale': this.theme.colors.getColor(`neutral-pale`),
218
+ '--base-spacing': this.theme.spacing.getSpacing()
219
+ };
220
+ }
221
+ static get watchers() { return {
222
+ "distance": ["formatDistance"]
223
+ }; }
224
+ };
225
+ CuraDistance.style = CuraBadgeDistanceStyle0;
226
+
227
+ const curaButtonCss = ":host{--border-radius:4px;display:inline-block;vertical-align:middle;position:relative}:host button,:host a{outline:none;box-shadow:none;box-sizing:border-box;display:flex;width:100%;align-items:center;justify-content:center;text-decoration:none !important;font-size:var(--font-size);cursor:pointer;transition:background-color 0.07s linear, box-shadow 0.07s linear, border-color 0.07s linear;border-radius:var(--border-radius);position:relative;background-color:var(--color-base-neutral-purewhite);box-sizing:border-box;border:none}:host button:focus,:host a:focus{outline:2px solid #6EA8FF}:host button::before,:host a::before{content:\"\";width:100%;height:100%;position:absolute;left:0px;top:0px;box-sizing:border-box;border:2px solid transparent;border-radius:var(--border-radius)}:host button:not(.disabled):not(.isLoading)::before,:host a:not(.disabled):not(.isLoading)::before{border:2px solid var(--color-base-color-light)}:host button:not(.disabled):hover,:host a:not(.disabled):hover{background:var(--color-base-color-light);box-shadow:0px 4px 8px 0px rgba(38, 38, 38, 0.16)}:host button:not(.disabled):not(.isLoading):hover::before,:host a:not(.disabled):not(.isLoading):hover::before{border-color:var(--color-dark-color-base)}:host button:not(.isLoading):not(.disabled):active,:host a:not(.isLoading):not(.disabled):active{background-color:var(--color-dark-color-light)}:host button:not(.isLoading):not(.disabled):active::before,:host a:not(.isLoading):not(.disabled):active::before{border-color:var(--color-dark-color-light)}:host button:hover,:host a:hover{box-shadow:0 4px 8px 0 rgba(38, 38, 38, 0.16)}:host button.medium:hover,:host a.medium:hover{box-shadow:0 3px 6px 0 rgba(38, 38, 38, 0.16)}:host button.small:hover,:host a.small:hover{box-shadow:0 2px 5px 0 rgba(38, 38, 38, 0.16)}:host button:active,:host button.disabled:hover,:host button.isLoading:hover,:host a:active,:host a.disabled:hover,:host a.isLoading:hover{box-shadow:none !important}:host button.large,:host a.large{padding:calc(var(--cura-spacing-base) * 3px) calc(var(--cura-spacing-base) * 4px);min-height:calc(var(--cura-spacing-base) * 11px)}:host button.medium,:host a.medium{padding:calc(var(--cura-spacing-base) * 3px);min-height:calc(var(--cura-spacing-base) * 10px)}:host button.small,:host a.small{padding:calc(var(--cura-spacing-base) * 2px);min-height:calc(var(--cura-spacing-base) * 8px)}:host button .button-container,:host a .button-container{display:flex;align-items:center;opacity:1;transition:opacity 0.2s linear;position:relative}:host button.icon-right .button-container,:host a.icon-right .button-container{flex-direction:row-reverse}:host button.justify .button-container,:host a.justify .button-container{width:100%}:host button cura-label,:host a cura-label{flex:1;text-align:var(--text-align, \"left\")}:host button.icon-left cura-icon,:host a.icon-left cura-icon{margin-right:calc(var(--cura-spacing-base) * 3px)}:host button.icon-right cura-icon,:host a.icon-right cura-icon{margin-left:calc(var(--cura-spacing-base) * 3px)}:host button.medium.icon-left cura-icon,:host button.small.icon-left cura-icon,:host a.medium.icon-left cura-icon,:host a.small.icon-left cura-icon{margin-right:calc(var(--cura-spacing-base) * 2px)}:host button.medium.icon-right cura-icon,:host button.small.icon-right cura-icon,:host a.medium.icon-right cura-icon,:host a.small.icon-right cura-icon{margin-left:calc(var(--cura-spacing-base) * 2px)}:host button.disabled,:host a.disabled{cursor:not-allowed;background-color:var(--neutral-pale-neutral-black)}:host button.icon-only,:host a.icon-only{padding:calc(var(--cura-spacing-base) * 3px) calc(var(--cura-spacing-base) * 3px)}:host button.icon-only cura-label,:host a.icon-only cura-label{display:none}:host button.icon-only cura-icon,:host a.icon-only cura-icon{margin-left:0 !important;margin-right:0 !important}:host button.icon-only.medium,:host a.icon-only.medium{padding:calc(var(--cura-spacing-base) * 3px)}:host button.icon-only.small,:host a.icon-only.small{padding:calc(var(--cura-spacing-base) * 2px)}:host button cura-loader-circle,:host a cura-loader-circle{position:absolute;display:none}:host button.isLoading,:host a.isLoading{cursor:wait}:host button.isLoading .button-container,:host a.isLoading .button-container{opacity:0}:host button.isLoading cura-loader-circle,:host a.isLoading cura-loader-circle{display:block}";
131
228
  const CuraButtonStyle0 = curaButtonCss;
132
229
 
133
230
  const CuraButton = class {
@@ -236,7 +333,546 @@ const CuraButton = class {
236
333
  };
237
334
  CuraButton.style = CuraButtonStyle0;
238
335
 
239
- const curaHeadingCss = ":host{display:block;font-size:var(--font-size-base)}:host h1,:host h2,:host h3,:host h4,:host h5,:host h6{font-family:var(--font-family);font-size:1.714em;font-weight:var(--font-weight-regular);color:var(--color-body);line-height:var(--line-height);margin-block:var(--margin-block);letter-spacing:0px}:host h1.bold-weight,:host h2.bold-weight,:host h3.bold-weight,:host h4.bold-weight,:host h5.bold-weight,:host h6.bold-weight{font-weight:var(--font-weight-medium)}:host h1.large,:host h2.large,:host h3.large,:host h4.large,:host h5.large,:host h6.large{font-size:2.071em;letter-spacing:-0.58px}:host h1.small,:host h2.small,:host h3.small,:host h4.small,:host h5.small,:host h6.small{font-size:1.214em;line-height:calc(var(--line-height) + 20%)}:host h1.small.bold-weight,:host h1.small ::slotted(b),:host h1.small ::slotted(strong),:host h2.small.bold-weight,:host h2.small ::slotted(b),:host h2.small ::slotted(strong),:host h3.small.bold-weight,:host h3.small ::slotted(b),:host h3.small ::slotted(strong),:host h4.small.bold-weight,:host h4.small ::slotted(b),:host h4.small ::slotted(strong),:host h5.small.bold-weight,:host h5.small ::slotted(b),:host h5.small ::slotted(strong),:host h6.small.bold-weight,:host h6.small ::slotted(b),:host h6.small ::slotted(strong){font-weight:var(--font-weight-bold)}:host h1.xsmall,:host h2.xsmall,:host h3.xsmall,:host h4.xsmall,:host h5.xsmall,:host h6.xsmall{font-size:0.714em;font-weight:var(--font-weight-medium);letter-spacing:0.6px}:host h1.xsmall.bold-weight,:host h1.xsmall ::slotted(b),:host h1.xsmall ::slotted(strong),:host h2.xsmall.bold-weight,:host h2.xsmall ::slotted(b),:host h2.xsmall ::slotted(strong),:host h3.xsmall.bold-weight,:host h3.xsmall ::slotted(b),:host h3.xsmall ::slotted(strong),:host h4.xsmall.bold-weight,:host h4.xsmall ::slotted(b),:host h4.xsmall ::slotted(strong),:host h5.xsmall.bold-weight,:host h5.xsmall ::slotted(b),:host h5.xsmall ::slotted(strong),:host h6.xsmall.bold-weight,:host h6.xsmall ::slotted(b),:host h6.xsmall ::slotted(strong){font-weight:var(--font-weight-bold)}@media (min-width: 769px) and (max-width: 1920px){:host h1,:host h2,:host h3,:host h4,:host h5,:host h6{font-size:2em}:host h1.large,:host h2.large,:host h3.large,:host h4.large,:host h5.large,:host h6.large{font-size:2.357em;letter-spacing:-0.66px}:host h1.small,:host h2.small,:host h3.small,:host h4.small,:host h5.small,:host h6.small{font-size:1.357em}:host h1.xsmall,:host h2.xsmall,:host h3.xsmall,:host h4.xsmall,:host h5.xsmall,:host h6.xsmall{font-size:0.857em;line-height:calc(var(--line-height) + 3%);letter-spacing:0.72px}}@media (min-width: 1921px){:host h1,:host h2,:host h3,:host h4,:host h5,:host h6{font-size:2.5em;line-height:calc(var(--line-height) + 5%);letter-spacing:-0.82px}:host h1.large,:host h2.large,:host h3.large,:host h4.large,:host h5.large,:host h6.large{font-size:2.929em}:host h1.small,:host h2.small,:host h3.small,:host h4.small,:host h5.small,:host h6.small{font-size:1.714em;line-height:calc(var(--line-height) + 30%);letter-spacing:0%}:host h1.xsmall,:host h2.xsmall,:host h3.xsmall,:host h4.xsmall,:host h5.xsmall,:host h6.xsmall{font-size:1em;line-height:calc(var(--line-height) + 12.857%);letter-spacing:0.28px}}:host ::slotted(b),:host ::slotted(strong){font-weight:var(--font-weight-medium)}:host ::slotted(a){font-weight:var(--font-weight-bold);color:var(--color-link);text-underline-offset:10%;cursor:pointer}:host ::slotted(u){text-underline-offset:10%}:host ::slotted(abbr){color:var(--color-link);text-decoration:underline dashed 1px var(--color-link);text-underline-offset:10%;cursor:default}:host ::slotted(i){font-weight:var(--font-weight-medium)}:host ::slotted(em){color:var(--color-link);font-style:normal}";
336
+ const curaButtonTransparentCss = ":host{--border-radius:4px;display:inline-block;vertical-align:middle;position:relative}:host button,:host a{outline:none;box-shadow:none;box-sizing:border-box;display:flex;width:100%;align-items:center;justify-content:center;text-decoration:none !important;font-size:var(--font-size);cursor:pointer;transition:background-color 0.07s linear, box-shadow 0.07s linear, border-color 0.07s linear;border-radius:var(--border-radius);position:relative;background-color:transparent;border:none}:host button:focus,:host a:focus{outline:2px solid #6EA8FF}:host button.large,:host a.large{padding:calc(var(--cura-spacing-base) * 3px) calc(var(--cura-spacing-base) * 4px);min-height:calc(var(--cura-spacing-base) * 11px)}:host button.medium,:host a.medium{padding:calc(var(--cura-spacing-base) * 3px);min-height:calc(var(--cura-spacing-base) * 10px)}:host button.small,:host a.small{padding:calc(var(--cura-spacing-base) * 2px);min-height:calc(var(--cura-spacing-base) * 8px)}:host button .button-container,:host a .button-container{display:flex;align-items:center;opacity:1;transition:opacity 0.2s linear;position:relative}:host button.icon-right .button-container,:host a.icon-right .button-container{flex-direction:row-reverse}:host button.justify .button-container,:host a.justify .button-container{width:100%}:host button cura-label,:host a cura-label{flex:1;text-align:var(--text-align, \"left\")}:host button.icon-left cura-icon,:host a.icon-left cura-icon{margin-right:calc(var(--cura-spacing-base) * 3px)}:host button.icon-right cura-icon,:host a.icon-right cura-icon{margin-left:calc(var(--cura-spacing-base) * 3px)}:host button.medium.icon-left cura-icon,:host button.small.icon-left cura-icon,:host a.medium.icon-left cura-icon,:host a.small.icon-left cura-icon{margin-right:calc(var(--cura-spacing-base) * 2px)}:host button.medium.icon-right cura-icon,:host button.small.icon-right cura-icon,:host a.medium.icon-right cura-icon,:host a.small.icon-right cura-icon{margin-left:calc(var(--cura-spacing-base) * 2px)}:host button.disabled,:host a.disabled{cursor:not-allowed}:host button.icon-only,:host a.icon-only{padding:calc(var(--cura-spacing-base) * 3px) calc(var(--cura-spacing-base) * 3px)}:host button.icon-only cura-label,:host a.icon-only cura-label{display:none}:host button.icon-only cura-icon,:host a.icon-only cura-icon{margin-left:0 !important;margin-right:0 !important}:host button.icon-only.medium,:host a.icon-only.medium{padding:calc(var(--cura-spacing-base) * 3px)}:host button.icon-only.small,:host a.icon-only.small{padding:calc(var(--cura-spacing-base) * 2px)}:host button cura-loader-circle,:host a cura-loader-circle{position:absolute;display:none}:host button.isLoading,:host a.isLoading{cursor:wait}:host button.isLoading .button-container,:host a.isLoading .button-container{opacity:0}:host button.isLoading cura-loader-circle,:host a.isLoading cura-loader-circle{display:block}";
337
+ const CuraButtonTransparentStyle0 = curaButtonTransparentCss;
338
+
339
+ const CuraButtonTransparent = class {
340
+ constructor(hostRef) {
341
+ registerInstance(this, hostRef);
342
+ if (hostRef.$hostElement$["s-ei"]) {
343
+ this.internals = hostRef.$hostElement$["s-ei"];
344
+ }
345
+ else {
346
+ this.internals = hostRef.$hostElement$.attachInternals();
347
+ hostRef.$hostElement$["s-ei"] = this.internals;
348
+ }
349
+ this.type = 'button';
350
+ this.size = 'large';
351
+ this.disabled = false;
352
+ this.isLoading = false;
353
+ this.iconName = undefined;
354
+ this.iconset = 'default';
355
+ this.iconPosition = 'left';
356
+ this.iconOnly = false;
357
+ this.href = undefined;
358
+ this.target = "_self";
359
+ this.color = 'primary';
360
+ this.fontColor = 'dark';
361
+ this.textAlign = 'left';
362
+ this.justify = false;
363
+ this.hovered = false;
364
+ this.styles = {};
365
+ }
366
+ connectedCallback() {
367
+ this.weights = window.CuraAPI.theme.fonts.getWeights();
368
+ this.styles['--base-spacing'] = window.CuraAPI.theme.spacing.getSpacing();
369
+ this.styles['--neutral-white'] = window.CuraAPI.theme.colors.getColor(`neutral-white`);
370
+ this.styles['--neutral-base'] = window.CuraAPI.theme.colors.getColor(`neutral-base`);
371
+ this.styles['--neutral-dark'] = window.CuraAPI.theme.colors.getColor(`neutral-dark`);
372
+ this.styles['--font-size'] = window.CuraAPI.theme.fonts.getSize();
373
+ this.styles['--font-family'] = window.CuraAPI.theme.fonts.getFamily();
374
+ this.styles['--font-weight-medium'] = this.weights.medium;
375
+ this.styles['--text-align'] = this.textAlign;
376
+ }
377
+ getClasses() {
378
+ const classes = {};
379
+ classes[`${this.size.toLowerCase()}`] = true;
380
+ classes[`icon-${this.iconPosition.toLowerCase()}`] = true;
381
+ classes[`icon-only`] = this.iconOnly;
382
+ classes['disabled'] = this.disabled;
383
+ classes['isLoading'] = this.isLoading;
384
+ classes['justify'] = this.justify;
385
+ return classes;
386
+ }
387
+ getIcon() {
388
+ if (!this.iconName)
389
+ return null;
390
+ const iconSize = this.size === 'large' ? 20 : 16;
391
+ return h("cura-icon", { name: this.iconName, iconset: this.iconset, size: iconSize, color: this.getSymbolColor() });
392
+ }
393
+ handleMouseEnter() {
394
+ if (this.disabled)
395
+ return;
396
+ this.hovered = true;
397
+ }
398
+ handleMouseLeave() {
399
+ this.hovered = false;
400
+ }
401
+ getSymbolColor() {
402
+ if (this.disabled)
403
+ return 'neutral-dark';
404
+ if (this.hovered && !this.isLoading)
405
+ return this.fontColor === 'light' ? `${this.color}-light` : `${this.color}-darker`;
406
+ return this.fontColor === 'light' ? 'neutral-white' : `${this.color}-dark`;
407
+ }
408
+ handleClick(e) {
409
+ if (this.disabled || this.isLoading) {
410
+ e.preventDefault();
411
+ return;
412
+ }
413
+ if (!this.href) {
414
+ if (this.type === 'submit' && this.internals.form)
415
+ this.internals.form.submit();
416
+ if (this.type === 'reset' && this.internals.form)
417
+ this.internals.form.reset();
418
+ }
419
+ }
420
+ render() {
421
+ const symbolColor = this.getSymbolColor();
422
+ const labelSize = labelSizes[this.size] || labelSizes["default"];
423
+ return (h(Host, { key: 'f93f2f1b495403127238468c57edfcb5e9f69d43' }, this.href ? (h("a", { href: this.disabled ? '' : this.href, target: this.target, class: this.getClasses(), style: this.styles, onClick: (e) => this.handleClick(e), onMouseEnter: () => this.handleMouseEnter(), onMouseLeave: () => this.handleMouseLeave() }, h("span", { class: "button-container" }, this.getIcon(), h("cura-label", { size: labelSize, lineHeight: 'normal', color: symbolColor }, h("slot", null))), h("cura-loader-circle", { size: this.size, color: symbolColor }))) : (h("button", { class: this.getClasses(), style: this.styles, disabled: this.disabled || null, onClick: (e) => this.handleClick(e), onMouseEnter: () => this.handleMouseEnter(), onMouseLeave: () => this.handleMouseLeave(), type: this.type }, h("span", { class: "button-container" }, this.getIcon(), h("cura-label", { size: labelSize, lineHeight: 'normal', color: symbolColor }, h("slot", null))), h("cura-loader-circle", { size: this.size, color: symbolColor })))));
424
+ }
425
+ static get formAssociated() { return true; }
426
+ static get watchers() { return {
427
+ "fontColor": ["getSymbolColor"],
428
+ "color": ["getSymbolColor"]
429
+ }; }
430
+ };
431
+ CuraButtonTransparent.style = CuraButtonTransparentStyle0;
432
+
433
+ const curaDropdownSearchCategoryCss = ":host{display:block;box-sizing:border-box}:host .component-container{box-sizing:border-box;-moz-box-sizing:border-box;-webkit-box-sizing:border-box;display:flex;align-items:center;justify-content:flex-start;min-height:calc(var(--cura-spacing-base) * 10px);padding:0 calc(var(--cura-spacing-base) * 1px);border-bottom:1px solid var(--neutral-light);padding:calc(var(--cura-spacing-base) * 3px) 0}:host(:last-child) .component-container{border-bottom:none !important}";
434
+ const CuraDropdownSearchCategoryStyle0 = curaDropdownSearchCategoryCss;
435
+
436
+ const CuraDropdownSearchCategory = class {
437
+ constructor(hostRef) {
438
+ registerInstance(this, hostRef);
439
+ this.styles = {};
440
+ this.theme = window.CuraAPI.theme;
441
+ }
442
+ connectedCallback() {
443
+ this.styles = {
444
+ '--neutral-light': this.theme.colors.getColor('neutral-light')
445
+ };
446
+ }
447
+ render() {
448
+ return (h(Host, { key: '511391a8c6c1c998b04e3093838173ae76549715' }, h("div", { key: '63da720bb3d2cc354ef5f1e9ceaf0f2f9c396f4e', class: "component-container", style: this.styles }, h("cura-heading", { key: 'ba003607e581d4abaf2e6d617f94e3174d04a4b3', size: 'xsmall', weight: 'bold', color: 'neutral-dark', marginBlock: '0', lineHeight: '1em' }, h("slot", { key: '80b14ff99b42a64082895db81b4dbe78cd7545a3' })))));
449
+ }
450
+ };
451
+ CuraDropdownSearchCategory.style = CuraDropdownSearchCategoryStyle0;
452
+
453
+ function checkMobile() {
454
+ return (window === null || window === void 0 ? void 0 : window.innerWidth) < Static.breakpoints.medium.min;
455
+ }
456
+ function checkIOS() {
457
+ return [
458
+ 'iPad Simulator',
459
+ 'iPhone Simulator',
460
+ 'iPod Simulator',
461
+ 'iPad',
462
+ 'iPhone',
463
+ 'iPod'
464
+ ].includes(navigator.userAgent)
465
+ // iPad on iOS 13 detection
466
+ || (navigator.userAgent.includes("Mac") && "ontouchend" in document);
467
+ }
468
+ function fakeInputIOSHack(targetElement) {
469
+ if (!checkMobile() || !checkIOS())
470
+ return null;
471
+ const fakeInput = document.createElement('input');
472
+ fakeInput.setAttribute('type', 'text');
473
+ fakeInput.style.position = 'absolute';
474
+ fakeInput.style.opacity = '0';
475
+ fakeInput.style.height = '0';
476
+ fakeInput.style.fontSize = '16px'; // disable auto zoom
477
+ targetElement.prepend(fakeInput);
478
+ // focus so that subsequent async focus will work
479
+ fakeInput.focus();
480
+ return fakeInput;
481
+ }
482
+ function addBodyScrollLockClass() {
483
+ document.body.classList.add("cura-body-scroll-lock");
484
+ }
485
+ function removeBodyScrollLockClass() {
486
+ if (document.body.classList.contains("cura-body-scroll-lock")) {
487
+ document.body.classList.remove("cura-body-scroll-lock");
488
+ }
489
+ }
490
+
491
+ class FixedElementScrollBehavior {
492
+ constructor(hostElement, scrollableElement) {
493
+ this._stopPropagationEvent = (e) => {
494
+ if (this.scrollableElement.scrollHeight <= this.scrollableElement.clientHeight) {
495
+ e.preventDefault();
496
+ }
497
+ e.stopPropagation();
498
+ };
499
+ this._preventEvent = (ev) => {
500
+ ev.preventDefault();
501
+ ev.stopPropagation();
502
+ };
503
+ if (!hostElement || !scrollableElement) {
504
+ console.error("Componentes host ou scrollable não foram informados corretamente ou não existem.");
505
+ }
506
+ else {
507
+ this.hostElement = hostElement;
508
+ this.scrollableElement = scrollableElement;
509
+ }
510
+ }
511
+ disableScroll() {
512
+ this.scrollPosition = window.scrollY;
513
+ window.scrollTo({ top: 0, behavior: 'instant' });
514
+ addBodyScrollLockClass();
515
+ this._addEvents();
516
+ }
517
+ enableScroll() {
518
+ removeBodyScrollLockClass();
519
+ window.scrollTo({ top: this.scrollPosition, behavior: 'instant' });
520
+ this._removeEvents();
521
+ }
522
+ _addEvents() {
523
+ this.hostElement.addEventListener('wheel', this._preventEvent, { passive: false });
524
+ this.hostElement.addEventListener('mousewheel', this._preventEvent, { passive: false });
525
+ this.hostElement.addEventListener('touchmove', this._preventEvent, { passive: false });
526
+ this.hostElement.addEventListener('scroll', this._preventEvent, { passive: false });
527
+ this.scrollableElement.addEventListener('wheel', this._stopPropagationEvent, { passive: false });
528
+ this.scrollableElement.addEventListener('mousewheel', this._stopPropagationEvent, { passive: false });
529
+ this.scrollableElement.addEventListener('touchmove', this._stopPropagationEvent, { passive: false });
530
+ this.scrollableElement.addEventListener('scroll', this._stopPropagationEvent, { passive: false });
531
+ }
532
+ _removeEvents() {
533
+ this.hostElement.removeEventListener('wheel', this._preventEvent);
534
+ this.hostElement.removeEventListener('mousewheel', this._preventEvent);
535
+ this.hostElement.removeEventListener('touchmove', this._preventEvent);
536
+ this.hostElement.removeEventListener('scroll', this._preventEvent);
537
+ this.scrollableElement.removeEventListener('wheel', this._stopPropagationEvent);
538
+ this.scrollableElement.removeEventListener('mousewheel', this._stopPropagationEvent);
539
+ this.scrollableElement.removeEventListener('touchmove', this._stopPropagationEvent);
540
+ this.scrollableElement.removeEventListener('scroll', this._stopPropagationEvent);
541
+ }
542
+ }
543
+
544
+ const curaDropdownSearchNewCss = ":host{display:block;box-sizing:border-box;position:relative}:host .component-controls{display:flex;align-items:center;justify-content:center;gap:calc(var(--cura-spacing-base) * 1px)}:host .component-controls #button-back{padding:0 0 0 calc(var(--cura-spacing-base) * 3px);width:max-content}:host .component-container{box-sizing:border-box;width:100%;position:relative;display:grid;grid-template-columns:1fr;grid-template-rows:min-content 1fr}:host .component-container.zoom{position:fixed;top:0;left:0;width:100vw;background:var(--purewhite);height:var(--height);z-index:9999;overscroll-behavior:contain}:host .component-container.zoom .component-controls{border-bottom:2px solid var(--primary);padding:calc(var(--cura-spacing-base) * 3px) 0}:host .component-container.zoom.error .component-controls{border-bottom:2px solid var(--error-dark);background-color:var(--error-lighter)}:host .component-container .dropdown-container{box-sizing:border-box;width:100%;overflow-y:auto;overflow-x:hidden;display:flex;flex-direction:column;padding:calc(var(--cura-spacing-base) * 3px);overscroll-behavior:contain}:host .component-container:not(.zoom) .dropdown-container{box-shadow:0px 4px 8px 0px var(--neutral-black-shadow, rgba(38, 38, 38, 0.16));position:absolute;bottom:0;left:0;transform:translateY(100%);max-height:var(--max-height);background-color:var(--purewhite);border-radius:0px 0px calc(var(--cura-spacing-base) * 1px) calc(var(--cura-spacing-base) * 1px);border-bottom:2px solid var(--neutral-light);border-left:2px solid var(--neutral-light);border-right:2px solid var(--neutral-light);display:none;z-index:9997}:host .component-container:not(.zoom).dropdown-visible ::part(cura-input-field){border-radius:4px 4px 0px 0px}:host .component-container:not(.zoom).dropdown-visible ::part(cura-input-text-helper){height:0px;overflow:hidden;margin-top:0px}:host .component-container:not(.zoom).dropdown-visible .dropdown-container{display:block}";
545
+ const CuraDropdownSearchNewStyle0 = curaDropdownSearchNewCss;
546
+
547
+ const CuraDropdownSearchNew = class {
548
+ constructor(hostRef) {
549
+ registerInstance(this, hostRef);
550
+ this.termchange = createEvent(this, "termchange", 7);
551
+ this.optionselect = createEvent(this, "optionselect", 7);
552
+ this.resizeTimeoutMs = 66;
553
+ this.focusTimeoutMs = 300;
554
+ this.blurTimeoutMs = 300;
555
+ this.highlightedIndex = -1;
556
+ this.dropdownSelectableItems = [];
557
+ this.handleSlotChange = () => { this.getSlotElements(); };
558
+ this.handleWindowResize = () => {
559
+ if (this.resizeTimeout)
560
+ clearTimeout(this.resizeTimeout);
561
+ this.resizeTimeout = setTimeout(() => {
562
+ this.isMobile = checkMobile();
563
+ this.setZoomHeight();
564
+ }, this.resizeTimeoutMs);
565
+ };
566
+ this.handleFocus = () => {
567
+ if (this.focusTimeout)
568
+ clearTimeout(this.focusTimeout);
569
+ this.focusTimeout = setTimeout(() => {
570
+ this.isOnFocus = true;
571
+ this.clearHighlight();
572
+ if (this.isMobile && !this.zoomState)
573
+ this.enterZoom();
574
+ if (this.zoomState)
575
+ this.setZoomHeight();
576
+ setTimeout(() => {
577
+ var _a;
578
+ (_a = this.selectedOptionElement) === null || _a === void 0 ? void 0 : _a.scrollIntoView({ behavior: 'instant', block: 'nearest', inline: 'nearest' });
579
+ }, 10);
580
+ }, this.focusTimeoutMs);
581
+ };
582
+ this.handleBlur = () => {
583
+ if (this.blurTimeout)
584
+ clearTimeout(this.blurTimeout);
585
+ this.blurTimeout = setTimeout(() => {
586
+ if (this.zoomState) {
587
+ const delay = checkIOS ? 500 : 100;
588
+ setTimeout(() => this.setZoomHeight(), delay);
589
+ }
590
+ this.isOnFocus = false;
591
+ }, this.blurTimeoutMs);
592
+ };
593
+ this.handleFocusout = () => {
594
+ if (this.zoomState)
595
+ this.setZoomHeight();
596
+ };
597
+ this.handleBackClick = () => { this.exitZoom(); };
598
+ this.handleOptionActionClick = (ev) => {
599
+ this.getInputElement().setFocus();
600
+ this._preventEvent(ev);
601
+ };
602
+ this.handleInputClear = (ev) => {
603
+ this.setValue('');
604
+ this.clearSelectedOptions();
605
+ this._preventEvent(ev);
606
+ };
607
+ this.handleSelectOption = (ev) => {
608
+ this._selectOption(ev.detail);
609
+ this._preventEvent(ev);
610
+ };
611
+ this.handleInputValueChange = (ev) => {
612
+ this.setValue(ev.detail);
613
+ if (this.selectedOptionElement && ev.detail !== this.selectedOptionElement.value) {
614
+ this.clearSelectedOptions();
615
+ }
616
+ this._preventEvent(ev);
617
+ };
618
+ this.handleDropdownMouseOver = () => {
619
+ if (this.highlightedElement || this.highlightedIndex >= 0)
620
+ this.clearHighlight();
621
+ };
622
+ this.handleKeyDown = (ev) => {
623
+ if (ev.key === 'ArrowDown')
624
+ this.moveHighlight('next');
625
+ if (ev.key === 'ArrowUp')
626
+ this.moveHighlight('prev');
627
+ if (ev.key === 'Enter')
628
+ this.selectHighlight();
629
+ };
630
+ this.getInputElement = () => { var _a; return (_a = this.host.shadowRoot) === null || _a === void 0 ? void 0 : _a.querySelector('cura-input-text'); };
631
+ this._preventEvent = (ev) => {
632
+ ev.preventDefault();
633
+ ev.stopPropagation();
634
+ };
635
+ this.name = undefined;
636
+ this.size = 'large';
637
+ this.status = 'default';
638
+ this.disabled = false;
639
+ this.required = false;
640
+ this.placeholder = '';
641
+ this.label = '';
642
+ this.icon = 'search';
643
+ this.maxheight = '400px';
644
+ this.value = '';
645
+ this.searchdelay = 400;
646
+ this.searchminchars = 3;
647
+ this.styles = {};
648
+ this.zoomState = false;
649
+ this.isOnFocus = false;
650
+ this.dropdownItems = [];
651
+ }
652
+ handleMaxHeightChange(newValue, oldValue) {
653
+ if (newValue !== oldValue)
654
+ this.styles = Object.assign(Object.assign({}, this.styles), { '--max-height': newValue });
655
+ }
656
+ /**
657
+ * Set focus to input field.
658
+ */
659
+ async setFocus() {
660
+ this.getInputElement().setFocus();
661
+ }
662
+ /**
663
+ * Select by optionid property of a selectable option component.
664
+ */
665
+ async selectOption(optionid) {
666
+ this._selectOption(optionid);
667
+ }
668
+ connectedCallback() {
669
+ this.weights = window.CuraAPI.theme.fonts.getWeights();
670
+ this.breakpoints = window.CuraAPI.theme.breakpoints.get();
671
+ this.styles['--info'] = window.CuraAPI.theme.colors.getColor('info-base');
672
+ this.styles['--purewhite'] = window.CuraAPI.theme.colors.getColor('neutral-purewhite');
673
+ this.styles['--neutral-light'] = window.CuraAPI.theme.colors.getColor('neutral-light');
674
+ this.styles['--neutral-dark'] = window.CuraAPI.theme.colors.getColor('neutral-dark');
675
+ this.styles['--neutral-black-shadow'] = window.CuraAPI.theme.colors.getColor(`neutral-black`, 0.16);
676
+ this.styles['--error-dark'] = window.CuraAPI.theme.colors.getColor('error-dark');
677
+ this.styles['--error-lighter'] = window.CuraAPI.theme.colors.getColor('error-lighter');
678
+ this.styles['--primary'] = window.CuraAPI.theme.colors.getColor('primary');
679
+ this.styles['--font-size'] = window.CuraAPI.theme.fonts.getSize();
680
+ this.styles['--font-family'] = window.CuraAPI.theme.fonts.getFamily();
681
+ this.styles['--font-weight-medium'] = this.weights.medium;
682
+ this.handleMaxHeightChange(this.maxheight, '');
683
+ window === null || window === void 0 ? void 0 : window.addEventListener('resize', this.handleWindowResize);
684
+ window === null || window === void 0 ? void 0 : window.addEventListener('orientationchange', this.handleWindowResize);
685
+ this.isMobile = checkMobile();
686
+ }
687
+ componentDidLoad() {
688
+ var _a;
689
+ this.dropdownElement = (_a = this.host.shadowRoot) === null || _a === void 0 ? void 0 : _a.querySelector('.dropdown-container');
690
+ this.host.addEventListener('actionclick', this.handleOptionActionClick);
691
+ this.host.addEventListener('selectoption', this.handleSelectOption);
692
+ this.scrollBehavior = new FixedElementScrollBehavior(this.host, this.dropdownElement);
693
+ setTimeout(() => this.getSlotElements(), 10);
694
+ }
695
+ disconnectedCallback() {
696
+ window === null || window === void 0 ? void 0 : window.removeEventListener('resize', this.handleWindowResize);
697
+ window === null || window === void 0 ? void 0 : window.removeEventListener('orientationchange', this.handleWindowResize);
698
+ }
699
+ moveHighlight(direction) {
700
+ if (!this.dropdownSelectableItems.length)
701
+ return;
702
+ let position = direction === 'next' ? this.highlightedIndex + 1 : this.highlightedIndex - 1;
703
+ if (position < 0) {
704
+ this.clearHighlight();
705
+ return;
706
+ }
707
+ if (position > this.dropdownSelectableItems.length - 1)
708
+ position = this.dropdownSelectableItems.length - 1;
709
+ if (this.highlightedElement)
710
+ this.highlightedElement.highlighted = false;
711
+ this.highlightedIndex = position;
712
+ this.highlightedElement = this.dropdownSelectableItems[position];
713
+ if (this.highlightedElement.selected) {
714
+ this.moveHighlight(direction);
715
+ return;
716
+ }
717
+ this.highlightedElement.highlighted = true;
718
+ this.highlightedElement.scrollIntoView({ behavior: 'instant', block: 'nearest', inline: 'nearest' });
719
+ }
720
+ clearHighlight() {
721
+ if (this.highlightedElement) {
722
+ this.highlightedElement.highlighted = false;
723
+ this.highlightedElement = null;
724
+ }
725
+ this.highlightedIndex = -1;
726
+ }
727
+ selectHighlight() {
728
+ if (this.highlightedElement) {
729
+ this._selectOption(this.highlightedElement.optionid);
730
+ this.clearHighlight();
731
+ this.getInputElement().blur();
732
+ }
733
+ }
734
+ setValue(value) {
735
+ if (this.value !== value) {
736
+ this.value = value;
737
+ if (this.valueTimeout)
738
+ clearTimeout(this.valueTimeout);
739
+ this.valueTimeout = setTimeout(() => {
740
+ this.termchange.emit(this.value === '' || this.value.length < this.searchminchars ? '' : this.value);
741
+ }, this.searchdelay || 300);
742
+ }
743
+ }
744
+ _selectOption(optionid) {
745
+ if (!optionid) {
746
+ this.clearSelectedOptions();
747
+ this.setValue('');
748
+ return;
749
+ }
750
+ const optionElement = this.dropdownSelectableItems.find(option => option.optionid === optionid);
751
+ if (optionElement && !optionElement.selected) {
752
+ this.clearSelectedOptions();
753
+ this.selectedOptionElement = optionElement;
754
+ this.selectedOptionElement.selected = true;
755
+ this.setValue(this.selectedOptionElement.value);
756
+ this.optionselect.emit(this.selectedOptionElement.optionid);
757
+ if (this.zoomState)
758
+ setTimeout(() => this.exitZoom(), this.blurTimeoutMs);
759
+ }
760
+ }
761
+ clearSelectedOptions() {
762
+ this.dropdownSelectableItems.forEach(option => {
763
+ if (option.selected)
764
+ option.selected = false;
765
+ });
766
+ this.selectedOptionElement = null;
767
+ }
768
+ getSlotElements() {
769
+ const elements = [];
770
+ const selectable = [];
771
+ let hasNotFound = false;
772
+ if (this.dropdownElement) {
773
+ this.dropdownElement
774
+ .querySelector('slot')
775
+ .assignedElements()
776
+ .forEach(item => {
777
+ elements.push(item);
778
+ if (item.localName === 'cura-dropdown-search-option-new' && item["selectable"])
779
+ selectable.push(item);
780
+ if (item.localName === 'cura-dropdown-search-not-found')
781
+ hasNotFound = true;
782
+ });
783
+ }
784
+ this.dropdownSelectableItems = selectable;
785
+ this.dropdownItems = elements;
786
+ if (hasNotFound)
787
+ this.status = 'error';
788
+ }
789
+ enterZoom() {
790
+ this.scrollBehavior.disableScroll();
791
+ this.setZoomHeight();
792
+ this.zoomState = true;
793
+ }
794
+ exitZoom() {
795
+ this.scrollBehavior.enableScroll();
796
+ this.setZoomHeight();
797
+ this.zoomState = false;
798
+ }
799
+ setZoomHeight() {
800
+ var _a;
801
+ const h = window ? `${((_a = window.visualViewport) === null || _a === void 0 ? void 0 : _a.height) || window.innerHeight}px` : '100vh';
802
+ this.styles = Object.assign(Object.assign({}, this.styles), { '--height': h });
803
+ }
804
+ getClasses() {
805
+ return {
806
+ "component-container": true,
807
+ "mobile": this.isMobile,
808
+ "zoom": this.zoomState,
809
+ "dropdown-visible": this.isOnFocus && (this.dropdownItems.length > 0 && !this.zoomState),
810
+ "error": this.status === 'error'
811
+ };
812
+ }
813
+ render() {
814
+ return (h(Host, { key: '2fddf33d55ce7fd0e9648270012a462827fed62b' }, h("div", { key: 'c45c76906309db7a3bd9789bc87bebeef5fdfdb0', class: this.getClasses(), style: this.styles }, h("div", { key: 'be29c3debdb21abcdf90dd2446dfef2de8f1f5f6', class: "component-controls" }, this.isMobile && this.zoomState ? (h("cura-button-transparent", { fontColor: "dark", onClick: () => this.handleBackClick(), iconName: "arrowLeft", size: "large", iconOnly: true, color: "primary", id: "button-back" })) : '', h("cura-input-text", { key: 'a27635ad3101a80d7116c3d6a605d37577b45893', disabled: this.disabled, label: this.label, part: "cura-input-field", mode: this.zoomState ? 'transparent' : 'default', required: this.required, iconName: this.icon || 'search', value: this.value, status: this.status, onValueChange: (ev) => this.handleInputValueChange(ev), onInput: (ev) => this._preventEvent(ev), onFocus: () => this.handleFocus(), onClick: (ev) => this._preventEvent(ev), onBlur: () => this.handleBlur(), onFocusout: () => this.handleFocusout(), onInputClear: (ev) => this.handleInputClear(ev), placeholder: this.placeholder, size: this.size, onKeyDown: (ev) => this.handleKeyDown(ev) }, h("slot", { key: 'b96c64c5f5b01a487c6fc190e19af136576eb45f', name: "helperText" }))), h("div", { key: '249a0fd49fd854c7b69565194a06b27781b93b9b', class: "dropdown-container", onMouseOver: () => this.handleDropdownMouseOver() }, h("slot", { key: '9e2e0ea5eaaade2a22956383baab4d8fc84d35a2', onSlotchange: () => this.handleSlotChange() })))));
815
+ }
816
+ get host() { return getElement(this); }
817
+ static get watchers() { return {
818
+ "maxheight": ["handleMaxHeightChange"]
819
+ }; }
820
+ };
821
+ CuraDropdownSearchNew.style = CuraDropdownSearchNewStyle0;
822
+
823
+ const curaDropdownSearchOptionNewCss = ":host{display:block;box-sizing:border-box}:host .component-container{box-sizing:border-box;-moz-box-sizing:border-box;-webkit-box-sizing:border-box;display:flex;align-items:center;justify-content:flex-start;min-height:calc(var(--cura-spacing-base) * 10px);padding:0 calc(var(--cura-spacing-base) * 1px);border-bottom:1px solid var(--neutral-light);transition:background-color 0.15s linear}:host .component-container:not(.selected):not(.not-selectable):has(.selectable-container:hover),:host .component-container:not(.selected):not(.not-selectable).highlighted{background-color:var(--neutral-white)}:host .selectable-container{flex:1;display:flex;align-items:center;justify-content:flex-start;padding:calc(var(--cura-spacing-base) * 3px) 0;min-height:calc(var(--cura-spacing-base) * 10px);gap:calc(var(--cura-spacing-base) * 1px);cursor:pointer}:host .selectable-container .content{flex:1;align-items:center;justify-content:flex-end;padding-right:calc(var(--cura-spacing-base) * 1px)}:host .selectable-container ::slotted(cura-icon){--color:var(--neutral-dark) !important;margin:0 10px}:host .selectable-container ::slotted(cura-avatar){margin:0 calc(var(--cura-spacing-base) * 1px)}:host .selectable-container ::slotted(cura-heading),:host .selectable-container ::slotted(cura-paragraph){--margin-block:0 !important;--color-spot:var(--primary) !important}:host .selectable-container ::slotted(cura-heading){--color-body:var(--neutral-black) !important}:host .selectable-container ::slotted(cura-paragraph){--color-body:var(--neutral-dark) !important}:host .selected{background-color:var(--primary-lighter-50);border-bottom-color:var(--primary-light)}:host .selected .selectable-container{cursor:default}:host .selected .selectable-container ::slotted(cura-icon){--color:var(--primary) !important}:host .selected .selectable-container ::slotted(cura-heading){--color-body:var(--primary) !important}:host .actions-container{display:flex}:host .actions-container ::slotted(*){padding-left:calc(var(--cura-spacing-base) * 1px)}:host .not-selectable .selectable-container{cursor:default}:host(:last-child) .component-container{border-bottom:none !important}";
824
+ const CuraDropdownSearchOptionNewStyle0 = curaDropdownSearchOptionNewCss;
825
+
826
+ const CuraDropdownSearchOptionNew = class {
827
+ constructor(hostRef) {
828
+ registerInstance(this, hostRef);
829
+ this.actionclick = createEvent(this, "actionclick", 7);
830
+ this.selectoption = createEvent(this, "selectoption", 7);
831
+ this.styles = {};
832
+ this.theme = window.CuraAPI.theme;
833
+ this.value = undefined;
834
+ this.optionid = undefined;
835
+ this.selectable = true;
836
+ this.selected = false;
837
+ this.highlighted = false;
838
+ }
839
+ connectedCallback() {
840
+ this.styles = {
841
+ '--neutral-light': this.theme.colors.getColor('neutral-light'),
842
+ '--neutral-white': this.theme.colors.getColor('neutral-white'),
843
+ '--neutral-dark': this.theme.colors.getColor('neutral-dark'),
844
+ '--neutral-black': this.theme.colors.getColor('neutral-black'),
845
+ '--primary-lighter-50': this.theme.colors.getColor('primary-lighter', .5),
846
+ '--primary-light': this.theme.colors.getColor('primary-light'),
847
+ '--primary': this.theme.colors.getColor('primary-base')
848
+ };
849
+ }
850
+ handleSelect() {
851
+ if (this.selectable) {
852
+ this.selectoption.emit(this.optionid);
853
+ }
854
+ else {
855
+ this.actionclick.emit();
856
+ }
857
+ }
858
+ handleActionsClick() {
859
+ this.actionclick.emit();
860
+ }
861
+ getClasses() {
862
+ return {
863
+ 'component-container': true,
864
+ 'selected': this.selected,
865
+ 'highlighted': this.highlighted,
866
+ 'not-selectable': !this.selectable
867
+ };
868
+ }
869
+ render() {
870
+ return (h(Host, { key: '270721328007e38163582a288da503001dfd28f7' }, h("div", { key: 'bbcfeca78e0cfb86d3bdcf5d23a25c27ba2bd0ed', class: this.getClasses(), style: this.styles }, h("div", { key: '86774ca830346536a6591310c42c3806abed7273', class: "selectable-container", onClick: () => this.handleSelect() }, h("slot", { key: '2fe370d3a1cd2df9226634cc0a6812b4131de60e', name: 'image' }), h("div", { key: 'ebafc4dcffdc7bf44414605424b4e86400f87602', class: "content" }, h("slot", { key: '2666ee970d53d21dd04c58fea2725163e936d96d' }))), h("div", { key: '55f0cdbd76d03921722796e1b261500dce39ada5', class: "actions-container", onClick: () => this.handleActionsClick() }, h("slot", { key: '34528c19855eca4ecd151310959d8a496deb152b', name: 'actions' })))));
871
+ }
872
+ };
873
+ CuraDropdownSearchOptionNew.style = CuraDropdownSearchOptionNewStyle0;
874
+
875
+ const curaHeadingCss = ":host{display:block;font-size:var(--font-size-base)}:host h1,:host h2,:host h3,:host h4,:host h5,:host h6{font-family:var(--font-family);font-size:1.714em;font-weight:var(--font-weight-regular);color:var(--color-body);line-height:var(--line-height);margin-block:var(--margin-block);letter-spacing:0px}:host h1.bold-weight,:host h2.bold-weight,:host h3.bold-weight,:host h4.bold-weight,:host h5.bold-weight,:host h6.bold-weight{font-weight:var(--font-weight-medium)}:host h1.large,:host h2.large,:host h3.large,:host h4.large,:host h5.large,:host h6.large{font-size:2.071em;letter-spacing:-0.58px}:host h1.small,:host h2.small,:host h3.small,:host h4.small,:host h5.small,:host h6.small{font-size:1.214em;line-height:calc(var(--line-height) + 20%)}:host h1.small.bold-weight,:host h1.small ::slotted(b),:host h1.small ::slotted(strong),:host h2.small.bold-weight,:host h2.small ::slotted(b),:host h2.small ::slotted(strong),:host h3.small.bold-weight,:host h3.small ::slotted(b),:host h3.small ::slotted(strong),:host h4.small.bold-weight,:host h4.small ::slotted(b),:host h4.small ::slotted(strong),:host h5.small.bold-weight,:host h5.small ::slotted(b),:host h5.small ::slotted(strong),:host h6.small.bold-weight,:host h6.small ::slotted(b),:host h6.small ::slotted(strong){font-weight:var(--font-weight-bold)}:host h1.xsmall,:host h2.xsmall,:host h3.xsmall,:host h4.xsmall,:host h5.xsmall,:host h6.xsmall{font-size:0.8571428571em;font-weight:var(--font-weight-medium);letter-spacing:0.6px}:host h1.xsmall.bold-weight,:host h1.xsmall ::slotted(b),:host h1.xsmall ::slotted(strong),:host h2.xsmall.bold-weight,:host h2.xsmall ::slotted(b),:host h2.xsmall ::slotted(strong),:host h3.xsmall.bold-weight,:host h3.xsmall ::slotted(b),:host h3.xsmall ::slotted(strong),:host h4.xsmall.bold-weight,:host h4.xsmall ::slotted(b),:host h4.xsmall ::slotted(strong),:host h5.xsmall.bold-weight,:host h5.xsmall ::slotted(b),:host h5.xsmall ::slotted(strong),:host h6.xsmall.bold-weight,:host h6.xsmall ::slotted(b),:host h6.xsmall ::slotted(strong){font-weight:var(--font-weight-bold)}@media (min-width: 769px) and (max-width: 1920px){:host h1,:host h2,:host h3,:host h4,:host h5,:host h6{font-size:2em}:host h1.large,:host h2.large,:host h3.large,:host h4.large,:host h5.large,:host h6.large{font-size:2.357em;letter-spacing:-0.66px}:host h1.small,:host h2.small,:host h3.small,:host h4.small,:host h5.small,:host h6.small{font-size:1.357em}:host h1.xsmall,:host h2.xsmall,:host h3.xsmall,:host h4.xsmall,:host h5.xsmall,:host h6.xsmall{font-size:0.8571428571em;line-height:calc(var(--line-height) + 3%);letter-spacing:0.72px}}@media (min-width: 1921px){:host h1,:host h2,:host h3,:host h4,:host h5,:host h6{font-size:2.5em;line-height:calc(var(--line-height) + 5%);letter-spacing:-0.82px}:host h1.large,:host h2.large,:host h3.large,:host h4.large,:host h5.large,:host h6.large{font-size:2.929em}:host h1.small,:host h2.small,:host h3.small,:host h4.small,:host h5.small,:host h6.small{font-size:1.714em;line-height:calc(var(--line-height) + 30%);letter-spacing:0%}:host h1.xsmall,:host h2.xsmall,:host h3.xsmall,:host h4.xsmall,:host h5.xsmall,:host h6.xsmall{font-size:1em;line-height:calc(var(--line-height) + 12.857%);letter-spacing:0.28px}}:host ::slotted(b),:host ::slotted(strong){font-weight:var(--font-weight-medium)}:host ::slotted(a){font-weight:var(--font-weight-bold);color:var(--color-spot);text-underline-offset:10%;cursor:pointer}:host ::slotted(u){text-underline-offset:10%}:host ::slotted(abbr){color:var(--color-spot);text-decoration:underline dashed 1px var(--color-spot);text-underline-offset:10%;cursor:default}:host ::slotted(i){font-weight:var(--font-weight-medium)}:host ::slotted(em){color:var(--color-spot);font-weight:var(--font-weight-bold);font-style:normal}";
240
876
  const CuraHeadingStyle0 = curaHeadingCss;
241
877
 
242
878
  const CuraHeading = class {
@@ -252,12 +888,8 @@ const CuraHeading = class {
252
888
  this.lineHeight = '130%';
253
889
  this.styles = {};
254
890
  }
255
- handleChangeColor() {
256
- this.setColors();
257
- }
258
891
  connectedCallback() {
259
892
  this.setFontProperties();
260
- this.setColors();
261
893
  }
262
894
  getClasses() {
263
895
  const classes = {};
@@ -285,11 +917,9 @@ const CuraHeading = class {
285
917
  '--font-size-base': this.fontSizeBase,
286
918
  '--line-height': this.lineHeight,
287
919
  '--color-body': fontColor || this.theme.colors.getColor('neutral-darker'),
920
+ '--color-spot': this.theme.colors.getColor(`${this.spotColor}`)
288
921
  };
289
922
  }
290
- setColors() {
291
- this.styles = Object.assign(Object.assign({}, this.styles), { '--color-link': this.theme.colors.getColor(`${this.spotColor}`) });
292
- }
293
923
  getHeadingTag() {
294
924
  const tags = {
295
925
  '1': h("h1", { style: this.styles, class: this.getClasses() }, h("slot", null)),
@@ -303,13 +933,9 @@ const CuraHeading = class {
303
933
  return tags[`${this.level}`] || tags['default'];
304
934
  }
305
935
  render() {
306
- return (h(Host, { key: '6384b5f7302399cca695c7c51d403ee704c95a48', style: this.hostCSSProperties() }, this.getHeadingTag()));
936
+ return (h(Host, { key: '4391dea57899c00ccd536f007f3054c162957fad', style: this.hostCSSProperties() }, this.getHeadingTag()));
307
937
  }
308
938
  get host() { return getElement(this); }
309
- static get watchers() { return {
310
- "color": ["handleChangeColor"],
311
- "spotColor": ["handleChangeColor"]
312
- }; }
313
939
  };
314
940
  CuraHeading.style = CuraHeadingStyle0;
315
941
 
@@ -344,7 +970,7 @@ const CuraIcon = class {
344
970
  this.host.style.setProperty(prop, value);
345
971
  }
346
972
  render() {
347
- return (h(Host, { key: '09f68d2b455427bf45dca2e6b30e993ebfa6b3a0' }, h("svg", { key: 'f15fea7564efac510263f06f8d15288fec004f66', version: "1.1", viewBox: "0 0 24 24", preserveAspectRatio: "xMidYMid meet", xmlns: "http://www.w3.org/2000/svg" }, h("use", { key: 'b88136d10453dc9e1d2c41ceb10676b348430ae3', xlinkHref: `${this.assetsPath}/icons/iconset-${this.iconset}.svg#${this.name}` }))));
973
+ return (h(Host, { key: 'd2c7487f9fadebc1da94bc4b8cd661a75e0d93ef' }, h("svg", { key: 'd8d0a70bf11cce073da95cce58c2fca4705b4b9f', version: "1.1", viewBox: "0 0 24 24", preserveAspectRatio: "xMidYMid meet", xmlns: "http://www.w3.org/2000/svg" }, h("use", { key: '10f2f6c34ce7cc782de70d9e9cdd22f54e08acc9', xlinkHref: `${this.assetsPath}/icons/iconset-${this.iconset}.svg#${this.name}` }))));
348
974
  }
349
975
  get host() { return getElement(this); }
350
976
  static get watchers() { return {
@@ -3998,13 +4624,14 @@ const maskOptions = {
3998
4624
  },
3999
4625
  };
4000
4626
 
4001
- const curaInputTextCss = ":host{display:block;box-sizing:border-box;width:100%}.required{color:var(--error-base)}.cura-input-group{width:100%;font-family:var(--font-family);text-align:left !important}.cura-input-group .helper-text{margin-top:8px;color:var(--neutral-dark)}.cura-input-group cura-label{margin-bottom:8px}.cura-input-group .cura-input-field{width:100%;height:40px;display:flex;flex-direction:row;align-items:center;background-color:var(--neutral-purewhite);border:2px solid var(--neutral-medium);border-radius:4px;color:var(--primary-base);letter-spacing:0.32px;line-height:20px;overflow:hidden;box-sizing:border-box}.cura-input-group .cura-input-field input{flex:1;width:100%;height:100%;background:transparent;border:none;outline:none;color:var(--neutral-dark);font-family:var(--font-family);font-weight:var(--font-weight-medium);font-size:14px;box-sizing:border-box;padding:0px 12px 0px 8px}.cura-input-group .cura-input-field input::placeholder{color:var(--neutral-dark)}.cura-input-group .cura-input-field .feedback-icon{padding-left:12px}.cura-input-group .cura-input-field cura-loader-circle{margin:0px 12px}.cura-input-group .cura-input-field .feedback-icon{padding-left:12px;padding-top:6px}.cura-input-group .cura-input-field .clear-button{padding-right:12px;cursor:pointer}.cura-input-group .helper-text{margin-top:8px;color:var(--neutral-dark)}.cura-input-group.success .cura-input-field{width:100%;height:40px;display:flex;flex-direction:row;align-items:center;background-color:var(--neutral-purewhite);border:2px solid var(--neutral-medium);border-radius:4px;color:var(--primary-base);letter-spacing:0.32px;line-height:20px;overflow:hidden;box-sizing:border-box}.cura-input-group.success .cura-input-field input{flex:1;width:100%;height:100%;background:transparent;border:none;outline:none;color:var(--neutral-dark);font-family:var(--font-family);font-weight:var(--font-weight-medium);font-size:14px;box-sizing:border-box;padding:0px 12px 0px 8px}.cura-input-group.success .cura-input-field input::placeholder{color:var(--neutral-dark)}.cura-input-group.success .cura-input-field .feedback-icon{padding-left:12px}.cura-input-group.success .cura-input-field input{color:var(--success-darker) !important}.cura-input-group.success .cura-input-field input::placeholder{color:var(--success-darker) !important}.cura-input-group.success:not(.transparent) .cura-input-field{width:100%;height:40px;display:flex;flex-direction:row;align-items:center;background-color:var(--neutral-purewhite);border:2px solid var(--neutral-medium);border-radius:4px;color:var(--primary-base);letter-spacing:0.32px;line-height:20px;overflow:hidden;box-sizing:border-box;border:2px solid var(--success-dark) !important;background-color:var(--success-lighter) !important}.cura-input-group.success:not(.transparent) .cura-input-field input{flex:1;width:100%;height:100%;background:transparent;border:none;outline:none;color:var(--neutral-dark);font-family:var(--font-family);font-weight:var(--font-weight-medium);font-size:14px;box-sizing:border-box;padding:0px 12px 0px 8px}.cura-input-group.success:not(.transparent) .cura-input-field input::placeholder{color:var(--neutral-dark)}.cura-input-group.success:not(.transparent) .cura-input-field .feedback-icon{padding-left:12px}.cura-input-group.error .cura-input-field{width:100%;height:40px;display:flex;flex-direction:row;align-items:center;background-color:var(--neutral-purewhite);border:2px solid var(--neutral-medium);border-radius:4px;color:var(--primary-base);letter-spacing:0.32px;line-height:20px;overflow:hidden;box-sizing:border-box}.cura-input-group.error .cura-input-field input{flex:1;width:100%;height:100%;background:transparent;border:none;outline:none;color:var(--neutral-dark);font-family:var(--font-family);font-weight:var(--font-weight-medium);font-size:14px;box-sizing:border-box;padding:0px 12px 0px 8px}.cura-input-group.error .cura-input-field input::placeholder{color:var(--neutral-dark)}.cura-input-group.error .cura-input-field .feedback-icon{padding-left:12px}.cura-input-group.error .cura-input-field input{color:var(--error-darker) !important}.cura-input-group.error .cura-input-field input::placeholder{color:var(--error-darker) !important}.cura-input-group.error:not(.transparent) .cura-input-field{width:100%;height:40px;display:flex;flex-direction:row;align-items:center;background-color:var(--neutral-purewhite);border:2px solid var(--neutral-medium);border-radius:4px;color:var(--primary-base);letter-spacing:0.32px;line-height:20px;overflow:hidden;box-sizing:border-box;border:2px solid var(--error-dark) !important;background-color:var(--error-lighter) !important}.cura-input-group.error:not(.transparent) .cura-input-field input{flex:1;width:100%;height:100%;background:transparent;border:none;outline:none;color:var(--neutral-dark);font-family:var(--font-family);font-weight:var(--font-weight-medium);font-size:14px;box-sizing:border-box;padding:0px 12px 0px 8px}.cura-input-group.error:not(.transparent) .cura-input-field input::placeholder{color:var(--neutral-dark)}.cura-input-group.error:not(.transparent) .cura-input-field .feedback-icon{padding-left:12px}.cura-input-group:hover:not(.disabled):not(.isLoading):not(.success):not(.error):not(.isFocused):not(.readOnly):not(.transparent) .cura-input-field{border-color:var(--neutral-dark)}.cura-input-group:hover:not(.disabled):not(.isLoading):not(.success):not(.error):not(.isFocused):not(.readOnly):not(.transparent) .cura-input-field input{color:var(--neutral-dark)}.cura-input-group:hover:not(.disabled):not(.isLoading):not(.success):not(.error):not(.isFocused):not(.readOnly):not(.transparent) .cura-input-field input::placeholder{color:var(--neutral-dark)}.cura-input-group:focus-within:not(.selection) .cura-input-field{border:2px solid var(--info-base) !important;background-color:var(--neutral-purewhite);outline:none}.cura-input-group:focus-within:not(.selection) .cura-input-field input{color:var(--neutral-black) !important}.cura-input-group:focus-within.selection .cura-input-field{border-radius:4px 4px 0px 0px}.cura-input-group.isLoading{cursor:wait}.cura-input-group.isLoading .cura-input-field{width:100%;height:40px;display:flex;flex-direction:row;align-items:center;background-color:var(--neutral-purewhite);border:2px solid var(--neutral-medium);border-radius:4px;color:var(--primary-base);letter-spacing:0.32px;line-height:20px;overflow:hidden;box-sizing:border-box;background-color:var(--neutral-white) !important;border:2px solid var(--primary-base) !important}.cura-input-group.isLoading .cura-input-field input{flex:1;width:100%;height:100%;background:transparent;border:none;outline:none;color:var(--neutral-dark);font-family:var(--font-family);font-weight:var(--font-weight-medium);font-size:14px;box-sizing:border-box;padding:0px 12px 0px 8px}.cura-input-group.isLoading .cura-input-field input::placeholder{color:var(--neutral-dark)}.cura-input-group.isLoading .cura-input-field .feedback-icon{padding-left:12px}.cura-input-group.isLoading .cura-input-field input{cursor:wait;color:var(--primary-base) !important}.cura-input-group.isLoading .cura-input-field input::placeholder{color:var(--primary-base) !important}.cura-input-group.readOnly[read-only] .cura-input-field{cursor:default}.cura-input-group.readOnly[read-only] .cura-input-field input{cursor:default}.cura-input-group.small .cura-input-field{width:100%;height:32px;display:flex;flex-direction:row;align-items:center;background-color:var(--neutral-purewhite);border:2px solid var(--neutral-medium);border-radius:4px;color:var(--primary-base);letter-spacing:0.32px;line-height:20px;overflow:hidden;box-sizing:border-box}.cura-input-group.small .cura-input-field input{flex:1;width:100%;height:100%;background:transparent;border:none;outline:none;color:var(--neutral-dark);font-family:var(--font-family);font-weight:var(--font-weight-medium);font-size:12px;box-sizing:border-box;padding:0px 12px 0px 8px}.cura-input-group.small .cura-input-field input::placeholder{color:var(--neutral-dark)}.cura-input-group.small .cura-input-field .feedback-icon{padding-left:12px}.cura-input-group.small .cura-input-field input{line-height:13px;letter-spacing:0.72px}.cura-input-group.small .helper-text{margin-top:8px;color:var(--neutral-dark);font-weight:var(--font-weight-regular)}.cura-input-group.medium .cura-input-field{width:100%;height:40px;display:flex;flex-direction:row;align-items:center;background-color:var(--neutral-purewhite);border:2px solid var(--neutral-medium);border-radius:4px;color:var(--primary-base);letter-spacing:0.32px;line-height:20px;overflow:hidden;box-sizing:border-box}.cura-input-group.medium .cura-input-field input{flex:1;width:100%;height:100%;background:transparent;border:none;outline:none;color:var(--neutral-dark);font-family:var(--font-family);font-weight:var(--font-weight-medium);font-size:14px;box-sizing:border-box;padding:0px 12px 0px 8px}.cura-input-group.medium .cura-input-field input::placeholder{color:var(--neutral-dark)}.cura-input-group.medium .cura-input-field .feedback-icon{padding-left:12px}.cura-input-group.medium .cura-input-field input{line-height:16px;letter-spacing:0.56px}.cura-input-group.medium .helper-text{margin-top:8px;color:var(--neutral-dark);font-weight:var(--font-weight-regular)}.cura-input-group.large .cura-input-field{width:100%;height:44px;display:flex;flex-direction:row;align-items:center;background-color:var(--neutral-purewhite);border:2px solid var(--neutral-medium);border-radius:4px;color:var(--primary-base);letter-spacing:0.32px;line-height:20px;overflow:hidden;box-sizing:border-box}.cura-input-group.large .cura-input-field input{flex:1;width:100%;height:100%;background:transparent;border:none;outline:none;color:var(--neutral-dark);font-family:var(--font-family);font-weight:var(--font-weight-medium);font-size:16px;box-sizing:border-box;padding:0px 12px 0px 8px}.cura-input-group.large .cura-input-field input::placeholder{color:var(--neutral-dark)}.cura-input-group.large .cura-input-field .feedback-icon{padding-left:12px}.cura-input-group.large .helper-text{margin-top:8px;color:var(--neutral-dark);font-weight:var(--font-weight-bold)}.cura-input-group.disabled .cura-input-field{background-color:var(--neutral-white);border:2px solid var(--neutral-base)}.cura-input-group.disabled .cura-input-field input{color:var(--neutral-medium)}.cura-input-group.disabled .cura-input-field input::placeholder{color:var(--neutral-medium)}.cura-input-group.transparent{background-color:transparent;padding:0px;max-height:80px}.cura-input-group.transparent .cura-input-field{width:100%;height:40px;display:flex;flex-direction:row;align-items:center;background-color:var(--neutral-purewhite);border:2px solid var(--neutral-medium);border-radius:4px;color:var(--primary-base);letter-spacing:0.32px;line-height:20px;overflow:hidden;box-sizing:border-box;background-color:transparent !important;border:none !important;border-radius:0;height:27px}.cura-input-group.transparent .cura-input-field input{flex:1;width:100%;height:100%;background:transparent;border:none;outline:none;color:var(--neutral-dark);font-family:var(--font-family);font-weight:var(--font-weight-medium);font-size:14px;box-sizing:border-box;padding:0px 12px 0px 8px}.cura-input-group.transparent .cura-input-field input::placeholder{color:var(--neutral-dark)}.cura-input-group.transparent .cura-input-field .feedback-icon{padding-left:12px}.cura-input-group.transparent .cura-input-field input{color:var(--neutral-black) !important;font-size:16px;font-weight:var(--font-weight-bold) !important;padding:0}.cura-input-group.transparent .cura-input-field input::placeholder{color:var(--neutral-black)}.cura-input-group.transparent .cura-input-field .feedback-icon{order:3;margin:0 20px 0 0}.cura-input-group.transparent:focus-within .cura-input-field{border:none !important;background-color:transparent !important}.cura-input-group.transparent:focus-within .cura-input-field input{border:none !important;outline:none}.cura-input-group.transparent .helper-text{margin-top:0px}.cura-input-group.transparent.transparent{display:flex;background-color:transparent;padding:0px;justify-content:start;align-items:center;max-height:80px;gap:4px}.cura-input-group.transparent.transparent .input-wrapper{display:flex;width:100%;flex-direction:column;justify-content:start}.cura-input-group.transparent.transparent cura-label{margin-bottom:4px}.cura-input-group.transparent.transparent .cura-input-field{width:100%;height:40px;display:flex;flex-direction:row;align-items:center;background-color:var(--neutral-purewhite);border:2px solid var(--neutral-medium);border-radius:4px;color:var(--primary-base);letter-spacing:0.32px;line-height:20px;overflow:hidden;box-sizing:border-box;background-color:transparent !important;border:none !important;border-radius:0;height:27px;overflow:hidden}.cura-input-group.transparent.transparent .cura-input-field input{flex:1;width:100%;height:100%;background:transparent;border:none;outline:none;color:var(--neutral-dark);font-family:var(--font-family);font-weight:var(--font-weight-medium);font-size:14px;box-sizing:border-box;padding:0px 12px 0px 8px}.cura-input-group.transparent.transparent .cura-input-field input::placeholder{color:var(--neutral-dark)}.cura-input-group.transparent.transparent .cura-input-field .feedback-icon{padding-left:12px}.cura-input-group.transparent.transparent .cura-input-field input{order:1;color:var(--neutral-black) !important;font-size:16px;font-weight:var(--font-weight-bold) !important;padding:0}.cura-input-group.transparent.transparent .cura-input-field input::placeholder{color:var(--neutral-black)}.cura-input-group.transparent.transparent .cura-input-field .clear-button{order:2;cursor:pointer;margin:0 20px 0 0;padding:0}.cura-input-group.transparent.transparent .cura-input-field .feedback-icon{padding:6px 0 0 0}.cura-input-group.transparent.transparent .cura-input-field cura-loader-circle{order:2;margin:0 20px 0 0}.cura-input-group.error .cura-input-field{width:100%;height:40px;display:flex;flex-direction:row;align-items:center;background-color:var(--neutral-purewhite);border:2px solid var(--neutral-medium);border-radius:4px;color:var(--primary-base);letter-spacing:0.32px;line-height:20px;overflow:hidden;box-sizing:border-box}.cura-input-group.error .cura-input-field input{flex:1;width:100%;height:100%;background:transparent;border:none;outline:none;color:var(--neutral-dark);font-family:var(--font-family);font-weight:var(--font-weight-medium);font-size:14px;box-sizing:border-box;padding:0px 12px 0px 8px}.cura-input-group.error .cura-input-field input::placeholder{color:var(--neutral-dark)}.cura-input-group.error .cura-input-field .feedback-icon{padding-left:12px}.cura-input-group.error .cura-input-field input{color:var(--error-darker) !important}.cura-input-group.error .cura-input-field input::placeholder{color:var(--error-darker) !important}.cura-input-group.error.small .cura-input-field{width:100%;height:32px;display:flex;flex-direction:row;align-items:center;background-color:var(--neutral-purewhite);border:2px solid var(--neutral-medium);border-radius:4px;color:var(--primary-base);letter-spacing:0.32px;line-height:20px;overflow:hidden;box-sizing:border-box}.cura-input-group.error.small .cura-input-field input{flex:1;width:100%;height:100%;background:transparent;border:none;outline:none;color:var(--neutral-dark);font-family:var(--font-family);font-weight:var(--font-weight-medium);font-size:12px;box-sizing:border-box;padding:0px 12px 0px 8px}.cura-input-group.error.small .cura-input-field input::placeholder{color:var(--neutral-dark)}.cura-input-group.error.small .cura-input-field .feedback-icon{padding-left:12px}.cura-input-group.error.small .cura-input-field input{line-height:13px;letter-spacing:0.72px}.cura-input-group.error.small .helper-text{margin-top:8px;color:var(--neutral-dark);font-weight:var(--font-weight-regular)}.cura-input-group.error.medium .cura-input-field{width:100%;height:40px;display:flex;flex-direction:row;align-items:center;background-color:var(--neutral-purewhite);border:2px solid var(--neutral-medium);border-radius:4px;color:var(--primary-base);letter-spacing:0.32px;line-height:20px;overflow:hidden;box-sizing:border-box}.cura-input-group.error.medium .cura-input-field input{flex:1;width:100%;height:100%;background:transparent;border:none;outline:none;color:var(--neutral-dark);font-family:var(--font-family);font-weight:var(--font-weight-medium);font-size:14px;box-sizing:border-box;padding:0px 12px 0px 8px}.cura-input-group.error.medium .cura-input-field input::placeholder{color:var(--neutral-dark)}.cura-input-group.error.medium .cura-input-field .feedback-icon{padding-left:12px}.cura-input-group.error.medium .cura-input-field input{line-height:16px;letter-spacing:0.56px}.cura-input-group.error.medium .helper-text{margin-top:8px;color:var(--neutral-dark);font-weight:var(--font-weight-regular)}.cura-input-group.error.large .cura-input-field{width:100%;height:44px;display:flex;flex-direction:row;align-items:center;background-color:var(--neutral-purewhite);border:2px solid var(--neutral-medium);border-radius:4px;color:var(--primary-base);letter-spacing:0.32px;line-height:20px;overflow:hidden;box-sizing:border-box}.cura-input-group.error.large .cura-input-field input{flex:1;width:100%;height:100%;background:transparent;border:none;outline:none;color:var(--neutral-dark);font-family:var(--font-family);font-weight:var(--font-weight-medium);font-size:16px;box-sizing:border-box;padding:0px 12px 0px 8px}.cura-input-group.error.large .cura-input-field input::placeholder{color:var(--neutral-dark)}.cura-input-group.error.large .cura-input-field .feedback-icon{padding-left:12px}.cura-input-group.error.large .helper-text{margin-top:8px;color:var(--neutral-dark);font-weight:var(--font-weight-bold)}.cura-input-group.error:not(.transparent).large .cura-input-field{width:100%;height:44px;display:flex;flex-direction:row;align-items:center;background-color:var(--neutral-purewhite);border:2px solid var(--neutral-medium);border-radius:4px;color:var(--primary-base);letter-spacing:0.32px;line-height:20px;overflow:hidden;box-sizing:border-box;border:2px solid var(--error-dark) !important;background-color:var(--error-lighter) !important}.cura-input-group.error:not(.transparent).large .cura-input-field input{flex:1;width:100%;height:100%;background:transparent;border:none;outline:none;color:var(--neutral-dark);font-family:var(--font-family);font-weight:var(--font-weight-medium);font-size:16px;box-sizing:border-box;padding:0px 12px 0px 8px}.cura-input-group.error:not(.transparent).large .cura-input-field input::placeholder{color:var(--neutral-dark)}.cura-input-group.error:not(.transparent).large .cura-input-field .feedback-icon{padding-left:12px}.cura-input-group.success .cura-input-field{width:100%;height:40px;display:flex;flex-direction:row;align-items:center;background-color:var(--neutral-purewhite);border:2px solid var(--neutral-medium);border-radius:4px;color:var(--primary-base);letter-spacing:0.32px;line-height:20px;overflow:hidden;box-sizing:border-box}.cura-input-group.success .cura-input-field input{flex:1;width:100%;height:100%;background:transparent;border:none;outline:none;color:var(--neutral-dark);font-family:var(--font-family);font-weight:var(--font-weight-medium);font-size:14px;box-sizing:border-box;padding:0px 12px 0px 8px}.cura-input-group.success .cura-input-field input::placeholder{color:var(--neutral-dark)}.cura-input-group.success .cura-input-field .feedback-icon{padding-left:12px}.cura-input-group.success .cura-input-field input{color:var(--success-darker) !important}.cura-input-group.success .cura-input-field input::placeholder{color:var(--success-darker) !important}.cura-input-group.success.small .cura-input-field{width:100%;height:32px;display:flex;flex-direction:row;align-items:center;background-color:var(--neutral-purewhite);border:2px solid var(--neutral-medium);border-radius:4px;color:var(--primary-base);letter-spacing:0.32px;line-height:20px;overflow:hidden;box-sizing:border-box}.cura-input-group.success.small .cura-input-field input{flex:1;width:100%;height:100%;background:transparent;border:none;outline:none;color:var(--neutral-dark);font-family:var(--font-family);font-weight:var(--font-weight-medium);font-size:12px;box-sizing:border-box;padding:0px 12px 0px 8px}.cura-input-group.success.small .cura-input-field input::placeholder{color:var(--neutral-dark)}.cura-input-group.success.small .cura-input-field .feedback-icon{padding-left:12px}.cura-input-group.success.small .cura-input-field input{line-height:13px;letter-spacing:0.72px}.cura-input-group.success.small .helper-text{margin-top:8px;color:var(--neutral-dark);font-weight:var(--font-weight-regular)}.cura-input-group.success.medium .cura-input-field{width:100%;height:40px;display:flex;flex-direction:row;align-items:center;background-color:var(--neutral-purewhite);border:2px solid var(--neutral-medium);border-radius:4px;color:var(--primary-base);letter-spacing:0.32px;line-height:20px;overflow:hidden;box-sizing:border-box}.cura-input-group.success.medium .cura-input-field input{flex:1;width:100%;height:100%;background:transparent;border:none;outline:none;color:var(--neutral-dark);font-family:var(--font-family);font-weight:var(--font-weight-medium);font-size:14px;box-sizing:border-box;padding:0px 12px 0px 8px}.cura-input-group.success.medium .cura-input-field input::placeholder{color:var(--neutral-dark)}.cura-input-group.success.medium .cura-input-field .feedback-icon{padding-left:12px}.cura-input-group.success.medium .cura-input-field input{line-height:16px;letter-spacing:0.56px}.cura-input-group.success.medium .helper-text{margin-top:8px;color:var(--neutral-dark);font-weight:var(--font-weight-regular)}.cura-input-group.success.large .cura-input-field{width:100%;height:44px;display:flex;flex-direction:row;align-items:center;background-color:var(--neutral-purewhite);border:2px solid var(--neutral-medium);border-radius:4px;color:var(--primary-base);letter-spacing:0.32px;line-height:20px;overflow:hidden;box-sizing:border-box}.cura-input-group.success.large .cura-input-field input{flex:1;width:100%;height:100%;background:transparent;border:none;outline:none;color:var(--neutral-dark);font-family:var(--font-family);font-weight:var(--font-weight-medium);font-size:16px;box-sizing:border-box;padding:0px 12px 0px 8px}.cura-input-group.success.large .cura-input-field input::placeholder{color:var(--neutral-dark)}.cura-input-group.success.large .cura-input-field .feedback-icon{padding-left:12px}.cura-input-group.success.large .helper-text{margin-top:8px;color:var(--neutral-dark);font-weight:var(--font-weight-bold)}.cura-input-group.success:not(.transparent).large .cura-input-field{width:100%;height:44px;display:flex;flex-direction:row;align-items:center;background-color:var(--neutral-purewhite);border:2px solid var(--neutral-medium);border-radius:4px;color:var(--primary-base);letter-spacing:0.32px;line-height:20px;overflow:hidden;box-sizing:border-box;border:2px solid var(--success-dark) !important;background-color:var(--success-lighter) !important}.cura-input-group.success:not(.transparent).large .cura-input-field input{flex:1;width:100%;height:100%;background:transparent;border:none;outline:none;color:var(--neutral-dark);font-family:var(--font-family);font-weight:var(--font-weight-medium);font-size:16px;box-sizing:border-box;padding:0px 12px 0px 8px}.cura-input-group.success:not(.transparent).large .cura-input-field input::placeholder{color:var(--neutral-dark)}.cura-input-group.success:not(.transparent).large .cura-input-field .feedback-icon{padding-left:12px}input[type=number]::-webkit-inner-spin-button,input[type=number]::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}";
4627
+ const curaInputTextCss = ":host{display:block;box-sizing:border-box;width:100%}.required{color:var(--error-base)}.cura-input-group{width:100%;font-family:var(--font-family);text-align:left !important}.cura-input-group .helper-text{margin-top:8px;color:var(--neutral-dark)}.cura-input-group cura-label{margin-bottom:8px}.cura-input-group .cura-input-field{width:100%;height:40px;display:flex;flex-direction:row;align-items:center;background-color:var(--neutral-purewhite);border:2px solid var(--neutral-medium);border-radius:4px;color:var(--primary-base);letter-spacing:0.32px;line-height:20px;overflow:hidden;box-sizing:border-box}.cura-input-group .cura-input-field input{flex:1;width:100%;height:100%;background:transparent;border:none;outline:none;color:var(--neutral-dark);font-family:var(--font-family);font-weight:var(--font-weight-medium);font-size:14px;box-sizing:border-box;padding:0px 12px 0px 8px}.cura-input-group .cura-input-field input::placeholder{color:var(--neutral-dark)}.cura-input-group .cura-input-field .feedback-icon{padding-left:12px}.cura-input-group .cura-input-field cura-loader-circle{margin:0px 12px}.cura-input-group .cura-input-field .feedback-icon{padding-left:12px;padding-top:6px}.cura-input-group .cura-input-field .clear-button{padding-right:12px;cursor:pointer}.cura-input-group .helper-text{margin-top:8px;color:var(--neutral-dark)}.cura-input-group.success .cura-input-field{width:100%;height:40px;display:flex;flex-direction:row;align-items:center;background-color:var(--neutral-purewhite);border:2px solid var(--neutral-medium);border-radius:4px;color:var(--primary-base);letter-spacing:0.32px;line-height:20px;overflow:hidden;box-sizing:border-box}.cura-input-group.success .cura-input-field input{flex:1;width:100%;height:100%;background:transparent;border:none;outline:none;color:var(--neutral-dark);font-family:var(--font-family);font-weight:var(--font-weight-medium);font-size:14px;box-sizing:border-box;padding:0px 12px 0px 8px}.cura-input-group.success .cura-input-field input::placeholder{color:var(--neutral-dark)}.cura-input-group.success .cura-input-field .feedback-icon{padding-left:12px}.cura-input-group.success .cura-input-field input{color:var(--success-darker) !important}.cura-input-group.success .cura-input-field input::placeholder{color:var(--success-darker) !important}.cura-input-group.success:not(.transparent) .cura-input-field{width:100%;height:40px;display:flex;flex-direction:row;align-items:center;background-color:var(--neutral-purewhite);border:2px solid var(--neutral-medium);border-radius:4px;color:var(--primary-base);letter-spacing:0.32px;line-height:20px;overflow:hidden;box-sizing:border-box;border:2px solid var(--success-dark) !important;background-color:var(--success-lighter) !important}.cura-input-group.success:not(.transparent) .cura-input-field input{flex:1;width:100%;height:100%;background:transparent;border:none;outline:none;color:var(--neutral-dark);font-family:var(--font-family);font-weight:var(--font-weight-medium);font-size:14px;box-sizing:border-box;padding:0px 12px 0px 8px}.cura-input-group.success:not(.transparent) .cura-input-field input::placeholder{color:var(--neutral-dark)}.cura-input-group.success:not(.transparent) .cura-input-field .feedback-icon{padding-left:12px}.cura-input-group.error .cura-input-field{width:100%;height:40px;display:flex;flex-direction:row;align-items:center;background-color:var(--neutral-purewhite);border:2px solid var(--neutral-medium);border-radius:4px;color:var(--primary-base);letter-spacing:0.32px;line-height:20px;overflow:hidden;box-sizing:border-box}.cura-input-group.error .cura-input-field input{flex:1;width:100%;height:100%;background:transparent;border:none;outline:none;color:var(--neutral-dark);font-family:var(--font-family);font-weight:var(--font-weight-medium);font-size:14px;box-sizing:border-box;padding:0px 12px 0px 8px}.cura-input-group.error .cura-input-field input::placeholder{color:var(--neutral-dark)}.cura-input-group.error .cura-input-field .feedback-icon{padding-left:12px}.cura-input-group.error .cura-input-field input{color:var(--error-darker) !important}.cura-input-group.error .cura-input-field input::placeholder{color:var(--error-darker) !important}.cura-input-group.error:not(.transparent) .cura-input-field{width:100%;height:40px;display:flex;flex-direction:row;align-items:center;background-color:var(--neutral-purewhite);border:2px solid var(--neutral-medium);border-radius:4px;color:var(--primary-base);letter-spacing:0.32px;line-height:20px;overflow:hidden;box-sizing:border-box;border:2px solid var(--error-dark) !important;background-color:var(--error-lighter) !important}.cura-input-group.error:not(.transparent) .cura-input-field input{flex:1;width:100%;height:100%;background:transparent;border:none;outline:none;color:var(--neutral-dark);font-family:var(--font-family);font-weight:var(--font-weight-medium);font-size:14px;box-sizing:border-box;padding:0px 12px 0px 8px}.cura-input-group.error:not(.transparent) .cura-input-field input::placeholder{color:var(--neutral-dark)}.cura-input-group.error:not(.transparent) .cura-input-field .feedback-icon{padding-left:12px}.cura-input-group:hover:not(.disabled):not(.isLoading):not(.success):not(.error):not(.isFocused):not(.readOnly):not(.transparent) .cura-input-field{border-color:var(--neutral-dark)}.cura-input-group:hover:not(.disabled):not(.isLoading):not(.success):not(.error):not(.isFocused):not(.readOnly):not(.transparent) .cura-input-field input{color:var(--neutral-dark)}.cura-input-group:hover:not(.disabled):not(.isLoading):not(.success):not(.error):not(.isFocused):not(.readOnly):not(.transparent) .cura-input-field input::placeholder{color:var(--neutral-dark)}.cura-input-group:focus-within:not(.selection) .cura-input-field{border:2px solid var(--info-base) !important;background-color:var(--neutral-purewhite);outline:none}.cura-input-group:focus-within:not(.selection) .cura-input-field input{color:var(--neutral-black) !important}.cura-input-group:focus-within.selection .cura-input-field{border-radius:4px 4px 0px 0px}.cura-input-group.isLoading{cursor:wait}.cura-input-group.isLoading .cura-input-field{width:100%;height:40px;display:flex;flex-direction:row;align-items:center;background-color:var(--neutral-purewhite);border:2px solid var(--neutral-medium);border-radius:4px;color:var(--primary-base);letter-spacing:0.32px;line-height:20px;overflow:hidden;box-sizing:border-box;background-color:var(--neutral-white) !important;border:2px solid var(--primary-base) !important}.cura-input-group.isLoading .cura-input-field input{flex:1;width:100%;height:100%;background:transparent;border:none;outline:none;color:var(--neutral-dark);font-family:var(--font-family);font-weight:var(--font-weight-medium);font-size:14px;box-sizing:border-box;padding:0px 12px 0px 8px}.cura-input-group.isLoading .cura-input-field input::placeholder{color:var(--neutral-dark)}.cura-input-group.isLoading .cura-input-field .feedback-icon{padding-left:12px}.cura-input-group.isLoading .cura-input-field input{cursor:wait;color:var(--primary-base) !important}.cura-input-group.isLoading .cura-input-field input::placeholder{color:var(--primary-base) !important}.cura-input-group.readOnly[read-only] .cura-input-field{cursor:default}.cura-input-group.readOnly[read-only] .cura-input-field input{cursor:default}.cura-input-group.small .cura-input-field{width:100%;height:32px;display:flex;flex-direction:row;align-items:center;background-color:var(--neutral-purewhite);border:2px solid var(--neutral-medium);border-radius:4px;color:var(--primary-base);letter-spacing:0.32px;line-height:20px;overflow:hidden;box-sizing:border-box}.cura-input-group.small .cura-input-field input{flex:1;width:100%;height:100%;background:transparent;border:none;outline:none;color:var(--neutral-dark);font-family:var(--font-family);font-weight:var(--font-weight-medium);font-size:12px;box-sizing:border-box;padding:0px 12px 0px 8px}.cura-input-group.small .cura-input-field input::placeholder{color:var(--neutral-dark)}.cura-input-group.small .cura-input-field .feedback-icon{padding-left:12px}.cura-input-group.small .cura-input-field input{line-height:13px;letter-spacing:0.72px}.cura-input-group.small .helper-text{margin-top:8px;color:var(--neutral-dark);font-weight:var(--font-weight-regular)}.cura-input-group.medium .cura-input-field{width:100%;height:40px;display:flex;flex-direction:row;align-items:center;background-color:var(--neutral-purewhite);border:2px solid var(--neutral-medium);border-radius:4px;color:var(--primary-base);letter-spacing:0.32px;line-height:20px;overflow:hidden;box-sizing:border-box}.cura-input-group.medium .cura-input-field input{flex:1;width:100%;height:100%;background:transparent;border:none;outline:none;color:var(--neutral-dark);font-family:var(--font-family);font-weight:var(--font-weight-medium);font-size:14px;box-sizing:border-box;padding:0px 12px 0px 8px}.cura-input-group.medium .cura-input-field input::placeholder{color:var(--neutral-dark)}.cura-input-group.medium .cura-input-field .feedback-icon{padding-left:12px}.cura-input-group.medium .cura-input-field input{line-height:16px;letter-spacing:0.56px}.cura-input-group.medium .helper-text{margin-top:8px;color:var(--neutral-dark);font-weight:var(--font-weight-regular)}.cura-input-group.large .cura-input-field{width:100%;height:44px;display:flex;flex-direction:row;align-items:center;background-color:var(--neutral-purewhite);border:2px solid var(--neutral-medium);border-radius:4px;color:var(--primary-base);letter-spacing:0.32px;line-height:20px;overflow:hidden;box-sizing:border-box}.cura-input-group.large .cura-input-field input{flex:1;width:100%;height:100%;background:transparent;border:none;outline:none;color:var(--neutral-dark);font-family:var(--font-family);font-weight:var(--font-weight-medium);font-size:16px;box-sizing:border-box;padding:0px 12px 0px 8px}.cura-input-group.large .cura-input-field input::placeholder{color:var(--neutral-dark)}.cura-input-group.large .cura-input-field .feedback-icon{padding-left:12px}.cura-input-group.large .helper-text{margin-top:8px;color:var(--neutral-dark);font-weight:var(--font-weight-bold)}.cura-input-group.disabled .cura-input-field{background-color:var(--neutral-white);border:2px solid var(--neutral-base)}.cura-input-group.disabled .cura-input-field input{color:var(--neutral-medium)}.cura-input-group.disabled .cura-input-field input::placeholder{color:var(--neutral-medium)}.cura-input-group.transparent{background-color:transparent;padding:0px;max-height:80px}.cura-input-group.transparent .cura-input-field{width:100%;height:40px;display:flex;flex-direction:row;align-items:center;background-color:var(--neutral-purewhite);border:2px solid var(--neutral-medium);border-radius:4px;color:var(--primary-base);letter-spacing:0.32px;line-height:20px;overflow:hidden;box-sizing:border-box;background-color:transparent !important;border:none !important;border-radius:0;height:27px}.cura-input-group.transparent .cura-input-field input{flex:1;width:100%;height:100%;background:transparent;border:none;outline:none;color:var(--neutral-dark);font-family:var(--font-family);font-weight:var(--font-weight-medium);font-size:14px;box-sizing:border-box;padding:0px 12px 0px 8px}.cura-input-group.transparent .cura-input-field input::placeholder{color:var(--neutral-dark)}.cura-input-group.transparent .cura-input-field .feedback-icon{padding-left:12px}.cura-input-group.transparent .cura-input-field input{color:var(--neutral-black) !important;font-size:16px;font-weight:var(--font-weight-bold) !important;padding:0}.cura-input-group.transparent .cura-input-field input::placeholder{color:var(--neutral-black)}.cura-input-group.transparent .cura-input-field .feedback-icon{order:3;margin:0 20px 0 0}.cura-input-group.transparent:focus-within .cura-input-field{border:none !important;background-color:transparent !important}.cura-input-group.transparent:focus-within .cura-input-field input{border:none !important;outline:none}.cura-input-group.transparent .helper-text{margin-top:0px}.cura-input-group.transparent.transparent{display:flex;background-color:transparent;padding:0px;justify-content:start;align-items:center;max-height:80px;gap:4px}.cura-input-group.transparent.transparent .input-wrapper{display:flex;width:100%;flex-direction:column;justify-content:start}.cura-input-group.transparent.transparent cura-label{margin-bottom:4px;--color-body:var(--neutral-dark) !important}.cura-input-group.transparent.transparent.error cura-label{--color-body:var(--neutral-black) !important}.cura-input-group.transparent.transparent .cura-input-field{width:100%;height:40px;display:flex;flex-direction:row;align-items:center;background-color:var(--neutral-purewhite);border:2px solid var(--neutral-medium);border-radius:4px;color:var(--primary-base);letter-spacing:0.32px;line-height:20px;overflow:hidden;box-sizing:border-box;background-color:transparent !important;border:none !important;border-radius:0;height:27px;overflow:hidden}.cura-input-group.transparent.transparent .cura-input-field input{flex:1;width:100%;height:100%;background:transparent;border:none;outline:none;color:var(--neutral-dark);font-family:var(--font-family);font-weight:var(--font-weight-medium);font-size:14px;box-sizing:border-box;padding:0px 12px 0px 8px}.cura-input-group.transparent.transparent .cura-input-field input::placeholder{color:var(--neutral-dark)}.cura-input-group.transparent.transparent .cura-input-field .feedback-icon{padding-left:12px}.cura-input-group.transparent.transparent .cura-input-field input{order:1;color:var(--neutral-black) !important;font-size:16px;font-weight:var(--font-weight-bold) !important;padding:0}.cura-input-group.transparent.transparent .cura-input-field input::placeholder{color:var(--neutral-black)}.cura-input-group.transparent.transparent .cura-input-field .clear-button{order:2;cursor:pointer;margin:0 20px 0 0;padding:0}.cura-input-group.transparent.transparent .cura-input-field .feedback-icon{padding:6px 0 0 0}.cura-input-group.transparent.transparent .cura-input-field cura-loader-circle{order:2;margin:0 20px 0 0}.cura-input-group.error .cura-input-field{width:100%;height:40px;display:flex;flex-direction:row;align-items:center;background-color:var(--neutral-purewhite);border:2px solid var(--neutral-medium);border-radius:4px;color:var(--primary-base);letter-spacing:0.32px;line-height:20px;overflow:hidden;box-sizing:border-box}.cura-input-group.error .cura-input-field input{flex:1;width:100%;height:100%;background:transparent;border:none;outline:none;color:var(--neutral-dark);font-family:var(--font-family);font-weight:var(--font-weight-medium);font-size:14px;box-sizing:border-box;padding:0px 12px 0px 8px}.cura-input-group.error .cura-input-field input::placeholder{color:var(--neutral-dark)}.cura-input-group.error .cura-input-field .feedback-icon{padding-left:12px}.cura-input-group.error .cura-input-field input{color:var(--error-darker) !important}.cura-input-group.error .cura-input-field input::placeholder{color:var(--error-darker) !important}.cura-input-group.error.small .cura-input-field{width:100%;height:32px;display:flex;flex-direction:row;align-items:center;background-color:var(--neutral-purewhite);border:2px solid var(--neutral-medium);border-radius:4px;color:var(--primary-base);letter-spacing:0.32px;line-height:20px;overflow:hidden;box-sizing:border-box}.cura-input-group.error.small .cura-input-field input{flex:1;width:100%;height:100%;background:transparent;border:none;outline:none;color:var(--neutral-dark);font-family:var(--font-family);font-weight:var(--font-weight-medium);font-size:12px;box-sizing:border-box;padding:0px 12px 0px 8px}.cura-input-group.error.small .cura-input-field input::placeholder{color:var(--neutral-dark)}.cura-input-group.error.small .cura-input-field .feedback-icon{padding-left:12px}.cura-input-group.error.small .cura-input-field input{line-height:13px;letter-spacing:0.72px}.cura-input-group.error.small .helper-text{margin-top:8px;color:var(--neutral-dark);font-weight:var(--font-weight-regular)}.cura-input-group.error.medium .cura-input-field{width:100%;height:40px;display:flex;flex-direction:row;align-items:center;background-color:var(--neutral-purewhite);border:2px solid var(--neutral-medium);border-radius:4px;color:var(--primary-base);letter-spacing:0.32px;line-height:20px;overflow:hidden;box-sizing:border-box}.cura-input-group.error.medium .cura-input-field input{flex:1;width:100%;height:100%;background:transparent;border:none;outline:none;color:var(--neutral-dark);font-family:var(--font-family);font-weight:var(--font-weight-medium);font-size:14px;box-sizing:border-box;padding:0px 12px 0px 8px}.cura-input-group.error.medium .cura-input-field input::placeholder{color:var(--neutral-dark)}.cura-input-group.error.medium .cura-input-field .feedback-icon{padding-left:12px}.cura-input-group.error.medium .cura-input-field input{line-height:16px;letter-spacing:0.56px}.cura-input-group.error.medium .helper-text{margin-top:8px;color:var(--neutral-dark);font-weight:var(--font-weight-regular)}.cura-input-group.error.large .cura-input-field{width:100%;height:44px;display:flex;flex-direction:row;align-items:center;background-color:var(--neutral-purewhite);border:2px solid var(--neutral-medium);border-radius:4px;color:var(--primary-base);letter-spacing:0.32px;line-height:20px;overflow:hidden;box-sizing:border-box}.cura-input-group.error.large .cura-input-field input{flex:1;width:100%;height:100%;background:transparent;border:none;outline:none;color:var(--neutral-dark);font-family:var(--font-family);font-weight:var(--font-weight-medium);font-size:16px;box-sizing:border-box;padding:0px 12px 0px 8px}.cura-input-group.error.large .cura-input-field input::placeholder{color:var(--neutral-dark)}.cura-input-group.error.large .cura-input-field .feedback-icon{padding-left:12px}.cura-input-group.error.large .helper-text{margin-top:8px;color:var(--neutral-dark);font-weight:var(--font-weight-bold)}.cura-input-group.error:not(.transparent).large .cura-input-field{width:100%;height:44px;display:flex;flex-direction:row;align-items:center;background-color:var(--neutral-purewhite);border:2px solid var(--neutral-medium);border-radius:4px;color:var(--primary-base);letter-spacing:0.32px;line-height:20px;overflow:hidden;box-sizing:border-box;border:2px solid var(--error-dark) !important;background-color:var(--error-lighter) !important}.cura-input-group.error:not(.transparent).large .cura-input-field input{flex:1;width:100%;height:100%;background:transparent;border:none;outline:none;color:var(--neutral-dark);font-family:var(--font-family);font-weight:var(--font-weight-medium);font-size:16px;box-sizing:border-box;padding:0px 12px 0px 8px}.cura-input-group.error:not(.transparent).large .cura-input-field input::placeholder{color:var(--neutral-dark)}.cura-input-group.error:not(.transparent).large .cura-input-field .feedback-icon{padding-left:12px}.cura-input-group.success .cura-input-field{width:100%;height:40px;display:flex;flex-direction:row;align-items:center;background-color:var(--neutral-purewhite);border:2px solid var(--neutral-medium);border-radius:4px;color:var(--primary-base);letter-spacing:0.32px;line-height:20px;overflow:hidden;box-sizing:border-box}.cura-input-group.success .cura-input-field input{flex:1;width:100%;height:100%;background:transparent;border:none;outline:none;color:var(--neutral-dark);font-family:var(--font-family);font-weight:var(--font-weight-medium);font-size:14px;box-sizing:border-box;padding:0px 12px 0px 8px}.cura-input-group.success .cura-input-field input::placeholder{color:var(--neutral-dark)}.cura-input-group.success .cura-input-field .feedback-icon{padding-left:12px}.cura-input-group.success .cura-input-field input{color:var(--success-darker) !important}.cura-input-group.success .cura-input-field input::placeholder{color:var(--success-darker) !important}.cura-input-group.success.small .cura-input-field{width:100%;height:32px;display:flex;flex-direction:row;align-items:center;background-color:var(--neutral-purewhite);border:2px solid var(--neutral-medium);border-radius:4px;color:var(--primary-base);letter-spacing:0.32px;line-height:20px;overflow:hidden;box-sizing:border-box}.cura-input-group.success.small .cura-input-field input{flex:1;width:100%;height:100%;background:transparent;border:none;outline:none;color:var(--neutral-dark);font-family:var(--font-family);font-weight:var(--font-weight-medium);font-size:12px;box-sizing:border-box;padding:0px 12px 0px 8px}.cura-input-group.success.small .cura-input-field input::placeholder{color:var(--neutral-dark)}.cura-input-group.success.small .cura-input-field .feedback-icon{padding-left:12px}.cura-input-group.success.small .cura-input-field input{line-height:13px;letter-spacing:0.72px}.cura-input-group.success.small .helper-text{margin-top:8px;color:var(--neutral-dark);font-weight:var(--font-weight-regular)}.cura-input-group.success.medium .cura-input-field{width:100%;height:40px;display:flex;flex-direction:row;align-items:center;background-color:var(--neutral-purewhite);border:2px solid var(--neutral-medium);border-radius:4px;color:var(--primary-base);letter-spacing:0.32px;line-height:20px;overflow:hidden;box-sizing:border-box}.cura-input-group.success.medium .cura-input-field input{flex:1;width:100%;height:100%;background:transparent;border:none;outline:none;color:var(--neutral-dark);font-family:var(--font-family);font-weight:var(--font-weight-medium);font-size:14px;box-sizing:border-box;padding:0px 12px 0px 8px}.cura-input-group.success.medium .cura-input-field input::placeholder{color:var(--neutral-dark)}.cura-input-group.success.medium .cura-input-field .feedback-icon{padding-left:12px}.cura-input-group.success.medium .cura-input-field input{line-height:16px;letter-spacing:0.56px}.cura-input-group.success.medium .helper-text{margin-top:8px;color:var(--neutral-dark);font-weight:var(--font-weight-regular)}.cura-input-group.success.large .cura-input-field{width:100%;height:44px;display:flex;flex-direction:row;align-items:center;background-color:var(--neutral-purewhite);border:2px solid var(--neutral-medium);border-radius:4px;color:var(--primary-base);letter-spacing:0.32px;line-height:20px;overflow:hidden;box-sizing:border-box}.cura-input-group.success.large .cura-input-field input{flex:1;width:100%;height:100%;background:transparent;border:none;outline:none;color:var(--neutral-dark);font-family:var(--font-family);font-weight:var(--font-weight-medium);font-size:16px;box-sizing:border-box;padding:0px 12px 0px 8px}.cura-input-group.success.large .cura-input-field input::placeholder{color:var(--neutral-dark)}.cura-input-group.success.large .cura-input-field .feedback-icon{padding-left:12px}.cura-input-group.success.large .helper-text{margin-top:8px;color:var(--neutral-dark);font-weight:var(--font-weight-bold)}.cura-input-group.success:not(.transparent).large .cura-input-field{width:100%;height:44px;display:flex;flex-direction:row;align-items:center;background-color:var(--neutral-purewhite);border:2px solid var(--neutral-medium);border-radius:4px;color:var(--primary-base);letter-spacing:0.32px;line-height:20px;overflow:hidden;box-sizing:border-box;border:2px solid var(--success-dark) !important;background-color:var(--success-lighter) !important}.cura-input-group.success:not(.transparent).large .cura-input-field input{flex:1;width:100%;height:100%;background:transparent;border:none;outline:none;color:var(--neutral-dark);font-family:var(--font-family);font-weight:var(--font-weight-medium);font-size:16px;box-sizing:border-box;padding:0px 12px 0px 8px}.cura-input-group.success:not(.transparent).large .cura-input-field input::placeholder{color:var(--neutral-dark)}.cura-input-group.success:not(.transparent).large .cura-input-field .feedback-icon{padding-left:12px}input[type=number]::-webkit-inner-spin-button,input[type=number]::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}";
4002
4628
  const CuraInputTextStyle0 = curaInputTextCss;
4003
4629
 
4004
4630
  const CuraInputText = class {
4005
4631
  constructor(hostRef) {
4006
4632
  registerInstance(this, hostRef);
4007
4633
  this.valueChange = createEvent(this, "valueChange", 7);
4634
+ this.inputClear = createEvent(this, "inputClear", 7);
4008
4635
  if (hostRef.$hostElement$["s-ei"]) {
4009
4636
  this.internals = hostRef.$hostElement$["s-ei"];
4010
4637
  }
@@ -4039,6 +4666,17 @@ const CuraInputText = class {
4039
4666
  this.hideErrorIcon = false;
4040
4667
  this.autocomplete = 'on';
4041
4668
  }
4669
+ async setFocus() {
4670
+ // IOS needs large timeout value to work
4671
+ const timeoutMs = checkMobile() && checkIOS() ? 1000 : 200;
4672
+ // IOS fake input hack
4673
+ let fakeInput = fakeInputIOSHack(this.host);
4674
+ setTimeout(() => {
4675
+ this.inputRef.focus();
4676
+ if (fakeInput)
4677
+ fakeInput.remove();
4678
+ }, timeoutMs);
4679
+ }
4042
4680
  /**
4043
4681
  * Callback to restore the switch state from the form.
4044
4682
  */
@@ -4087,6 +4725,7 @@ const CuraInputText = class {
4087
4725
  this.styles['--font-size'] = window.CuraAPI.theme.fonts.getSize();
4088
4726
  this.styles['--font-color'] = window.CuraAPI.theme.fonts.getColor();
4089
4727
  this.weights = window.CuraAPI.theme.fonts.getWeights();
4728
+ this.breakpoints = window.CuraAPI.theme.breakpoints.get();
4090
4729
  this.styles['--font-weight-medium'] = this.weights.medium;
4091
4730
  this.styles['--font-weight-bold'] = this.weights.bold;
4092
4731
  this.styles['--font-weight-regular'] = this.weights.regular;
@@ -4141,7 +4780,6 @@ const CuraInputText = class {
4141
4780
  const isSuccess = this.status === 'success';
4142
4781
  const isDefault = this.status === 'default';
4143
4782
  const helperTextSize = this.size === 'large' ? 'small' : 'xsmall';
4144
- const helperTextWeight = this.mode === 'transparent' ? 'bold' : 'regular';
4145
4783
  const colorText = (() => {
4146
4784
  if (this.disabled)
4147
4785
  return 'neutral-medium';
@@ -4151,7 +4789,7 @@ const CuraInputText = class {
4151
4789
  return 'neutral-black';
4152
4790
  return 'neutral-dark';
4153
4791
  })();
4154
- return (h("div", { style: this.styles, class: "helper-text" }, isDefault && (h("cura-label", { size: helperTextSize, lineHeight: "xsmall", color: colorText, weight: helperTextWeight }, h("slot", null))), isError && (h("cura-label", { size: helperTextSize, lineHeight: "xsmall", color: "error-dark", weight: helperTextWeight }, h("slot", null))), isSuccess && (h("cura-label", { size: helperTextSize, lineHeight: "xsmall", color: "success-dark", weight: helperTextWeight }, h("slot", null)))));
4792
+ return (h("div", { style: this.styles, class: "helper-text", part: "cura-input-text-helper" }, isDefault && (h("cura-label", { size: helperTextSize, lineHeight: "xsmall", color: colorText }, h("slot", null))), isError && this.mode === "default" && (h("cura-label", { size: helperTextSize, lineHeight: "xsmall", color: "error-dark" }, h("slot", null))), isError && this.mode === "transparent" && (h("cura-label", { size: helperTextSize, lineHeight: "xsmall", color: "neutral-black" }, h("slot", null))), isSuccess && (h("cura-label", { size: helperTextSize, lineHeight: "xsmall", color: "success-dark" }, h("slot", null)))));
4155
4793
  }
4156
4794
  handleMouseEnter() {
4157
4795
  this.isHovered = true;
@@ -4175,7 +4813,9 @@ const CuraInputText = class {
4175
4813
  this.value = '';
4176
4814
  this.inputRef.value = '';
4177
4815
  this.valueChange.emit(this.value);
4816
+ this.inputClear.emit(this.value);
4178
4817
  this.handleMaskUpdate();
4818
+ this.setFocus();
4179
4819
  }
4180
4820
  handleInputFocus() {
4181
4821
  this.handleMaskUpdate();
@@ -4297,9 +4937,10 @@ const CuraInputText = class {
4297
4937
  e.preventDefault();
4298
4938
  }
4299
4939
  render() {
4300
- return (h(Host, { key: '0aebf7d545af0e2eec1f542e5545ef34d0356e33' }, h("div", { key: '22e428a2706273d1613e39f860a721a73cab6d03', style: this.styles, onMouseEnter: () => this.handleMouseEnter(), onMouseLeave: () => this.handleMouseLeave(), class: Object.assign({ 'cura-input-group': true }, this.getClasses()) }, h("div", { key: '8ef0bc3f5bf3427abdbd247a8c78b722eaaca541', class: "input-wrapper" }, this.label && (h("cura-label", { key: '4aef20d0c2880ed38c1821e2690829a31fe7fea8', class: "label", weight: "bold", size: this.size === 'large' ? 'small' : 'xsmall', color: this.getLabelColor() }, this.label, " ", this.required && h("span", { key: 'a3bb15165ae1ffedae59a32a1e299c9a36ad9b2c', class: "required" }, "* "))), h("div", { key: '0b12a41f21a4c26273390dd15f362a5baccb0f2d', class: "cura-input-field", part: "cura-input-field", style: this.styles }, this.renderIcon(), h("input", { key: 'da03ef422267592fa3c732cb553e16fd1209bdf0', name: this.name ? this.name : '', type: this.type, onKeyDown: event => this.handleKeyDown(event), onBlur: this.handleInputBlur.bind(this), onFocus: this.handleInputFocus.bind(this), onInput: event => this.handleInputChange(event), class: this.getClasses(), style: this.styles, placeholder: this.placeholder, disabled: this.disabled || this.isLoading, required: this.required, readonly: this.readOnly, maxlength: this.maxlength, value: this.value !== undefined && this.value !== null ? this.value : '', inputmode: this.maskPreset ? 'tel' : this.inputMode, ref: ref => (this.inputRef = ref), autocomplete: this.autocomplete }), !!this.clearIcon && !this.readOnly && !this.isLoading && !this.disabled && this.value && this.isFocused && (h("cura-icon", { key: '7d46e420487a37b6fa90d93b25ba8d84d9197e43', size: this.size === 'large' || this.mode === 'transparent' ? 20 : 16, color: "primary-base", name: "closeCircle", iconset: "default", class: "clear-button", onClick: () => this.handleClearInput() })), this.isLoading && h("cura-loader-circle", { key: '2ecef2f802b1807f214a9ca72099b690189898fd', size: this.size === 'large' ? 'medium' : 'small', color: "primary-base" })), this.renderHelperText()))));
4940
+ return (h(Host, { key: '6c14493558642a993e4fa541b2a932e6cf9308a1' }, h("div", { key: '0084cfcd8ba41736f0cd2ca56a5183b1921c9c52', style: this.styles, onMouseEnter: () => this.handleMouseEnter(), onMouseLeave: () => this.handleMouseLeave(), class: Object.assign({ 'cura-input-group': true }, this.getClasses()) }, h("div", { key: '27998cb277338c329ee0c4afefd7dbf2a7621990', class: "input-wrapper" }, this.label && (h("cura-label", { key: '2f57bdcff2b1bdbfcfb9bd01faedec5f372dfe5d', class: "label", weight: "bold", size: this.size === 'large' ? 'small' : 'xsmall', color: this.getLabelColor() }, this.label, " ", this.required && h("span", { key: 'da05203184e4772fd25853407640de241382f050', class: "required" }, "* "))), h("div", { key: '03cbae962e628e3ea3bb7ba0d8cfd0f89f37b758', class: "cura-input-field", part: "cura-input-field", style: this.styles }, this.renderIcon(), h("input", { key: 'e89fdaf2fc20169474afc960b320d64fcc8579bd', name: this.name ? this.name : '', type: this.type, onKeyDown: event => this.handleKeyDown(event), onBlur: this.handleInputBlur.bind(this), onFocus: this.handleInputFocus.bind(this), onInput: event => this.handleInputChange(event), class: this.getClasses(), style: this.styles, placeholder: this.placeholder, disabled: this.disabled || this.isLoading, required: this.required, readonly: this.readOnly, maxlength: this.maxlength, value: this.value !== undefined && this.value !== null ? this.value : '', inputmode: this.maskPreset ? 'tel' : this.inputMode, ref: ref => (this.inputRef = ref), autocomplete: this.autocomplete }), !!this.clearIcon && !this.readOnly && !this.isLoading && !this.disabled && this.value && this.isFocused && (h("cura-icon", { key: 'ea541b239b97920ab02fd88aafec39169c20c5a0', size: this.size === 'large' || this.mode === 'transparent' ? 20 : 16, color: "primary-base", name: "closeCircle", iconset: "default", class: "clear-button", onClick: () => this.handleClearInput() })), this.isLoading && h("cura-loader-circle", { key: 'ecb67fbc7e3796009f30bd16b0a1c2ce82052666', size: this.size === 'large' ? 'medium' : 'small', color: "primary-base" })), this.renderHelperText()))));
4301
4941
  }
4302
4942
  static get formAssociated() { return true; }
4943
+ get host() { return getElement(this); }
4303
4944
  static get watchers() { return {
4304
4945
  "styles": ["connectedCallback"],
4305
4946
  "size": ["getClasses"],
@@ -4350,20 +4991,21 @@ const CuraLabel = class {
4350
4991
  };
4351
4992
  }
4352
4993
  setColors() {
4994
+ this.styles = Object.assign(Object.assign({}, this.styles), { '--color-link': this.theme.colors.getColor(`${this.spotColor}`) });
4995
+ }
4996
+ hostCSSProperties() {
4353
4997
  const fontColor = this.color
4354
4998
  ? this.theme.colors.getColor(this.color)
4355
4999
  : this.theme.fonts.getColor();
4356
- this.styles = Object.assign(Object.assign({}, this.styles), { '--color-body': fontColor || this.theme.colors.getColor('neutral-darker'), '--color-link': this.theme.colors.getColor(`${this.spotColor}`) });
4357
- }
4358
- hostCSSProperties() {
4359
5000
  return {
4360
5001
  '--margin-block': this.marginBlock,
4361
5002
  '--font-size-base': this.fontSizeBase,
4362
- '--line-height': this.lineHeight
5003
+ '--line-height': this.lineHeight,
5004
+ '--color-body': fontColor || this.theme.colors.getColor('neutral-darker'),
4363
5005
  };
4364
5006
  }
4365
5007
  render() {
4366
- return (h(Host, { key: '0155daf05e29fca75db8d8b8b103a4d3b60c1bc9', style: this.hostCSSProperties() }, h("p", { key: 'cd63e97738f18f2842e3f6e3a0d086dd0c240651', style: this.styles, class: this.getClasses() }, h("slot", { key: 'e20da850c970c10f03f832d59db1050f2329c856' }))));
5008
+ return (h(Host, { key: '185d6a679086dfc3fc2e1bb2b8e55759e7a68506', style: this.hostCSSProperties() }, h("p", { key: 'c5514dcec410d3f2b9b1c0a0cb7ee182b4d082ec', style: this.styles, class: this.getClasses() }, h("slot", { key: '6dde4081303f411728cf3c8769252d9565859b67' }))));
4367
5009
  }
4368
5010
  get host() { return getElement(this); }
4369
5011
  static get watchers() { return {
@@ -4397,7 +5039,7 @@ const CuraLoaderCircle = class {
4397
5039
  };
4398
5040
  }
4399
5041
  render() {
4400
- return (h(Host, { key: '627023f3e413d6a28e802eaf011f0ca39ccc17d9', style: this.getStyles() }, h("svg", { key: '1f7dab1ef6e82d81ffacf336660c508c039e7430', viewBox: "0 0 16 16", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, h("g", { key: '4baeff0f8c83335be93cd067dbed2cfa5d0be88a' }, h("circle", { key: '7929b1120288af1f17976a69463bf8965f2e4fae', cx: "8", cy: "8", r: "7", stroke: "url(#paint0_linear_13485_11488)", "stroke-width": "2" }), h("path", { key: '832582680715bedebca8f025d141d40785832a86', d: "M1 8C1 4.13401 4.11877 1 7.96596 1C9.53445 1 10.9819 1.52093 12.1462 2.4C12.8959 2.96601 13.5282 3.68049 14 4.5", "stroke-width": "2" })), h("defs", { key: 'ad393945da8c664faed05c17ed1c51cae3a02edb' }, h("linearGradient", { key: 'bf42d208d369c60bbdad5adf81c4c61144ad34eb', id: "paint0_linear_13485_11488", x1: "15.7", y1: "4.5", x2: "4.15", y2: "11.5", gradientUnits: "userSpaceOnUse" }, h("stop", { key: '445c119c6cebcfb057826ebd090b883aa479a8cd' }), h("stop", { key: '47555985163574e69556490d1d09c6283d31845c', offset: "1" }))))));
5042
+ return (h(Host, { key: '269527f065adf8cd35d6bbe6109e117f26c5e02c', style: this.getStyles() }, h("svg", { key: '4541cd3ee1003f93e7ea83e6cbdc9effcd5ef61b', viewBox: "0 0 16 16", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, h("g", { key: '64939f37a9dd55e9431cd0848f561f346f43be87' }, h("circle", { key: 'a7202aa4be9776b2f035dab40922a346d7284f19', cx: "8", cy: "8", r: "7", stroke: "url(#paint0_linear_13485_11488)", "stroke-width": "2" }), h("path", { key: '490f083e9fe14ca62a8f8b530973d981098f2cef', d: "M1 8C1 4.13401 4.11877 1 7.96596 1C9.53445 1 10.9819 1.52093 12.1462 2.4C12.8959 2.96601 13.5282 3.68049 14 4.5", "stroke-width": "2" })), h("defs", { key: '94af0657b89a161ac617957b0ae24d53872b1139' }, h("linearGradient", { key: '29406a4830366edc3a945be2c31096eebaa70e48', id: "paint0_linear_13485_11488", x1: "15.7", y1: "4.5", x2: "4.15", y2: "11.5", gradientUnits: "userSpaceOnUse" }, h("stop", { key: '356c8c0347b272e6cee5c47191b2381d08346b66' }), h("stop", { key: '02fa4f0ed3d994ca274bc9175da6f3e7a4246b2d', offset: "1" }))))));
4401
5043
  }
4402
5044
  };
4403
5045
  CuraLoaderCircle.style = CuraLoaderCircleStyle0;
@@ -4421,13 +5063,13 @@ const CuraPageTemplate = class {
4421
5063
  return classes;
4422
5064
  }
4423
5065
  render() {
4424
- return (h(Host, { key: '9f26fb8ceb8b22ed9223bd215c07b6a19f6d78f1' }, h("div", { key: '38541ca9be4feecb9911c96cc954ba7501dc9b5e', style: this.styles, class: "grid-template" }, h("div", { key: 'daf436a589d75bb270f4b16230d1db1d7365c47e', id: "sub-header" }, h("slot", { key: '547c858a5913c600c1b745f400319d207a04c7ce', name: 'sub-header' })), h("div", { key: 'ba69ae91e87af01a8001a347f6de7d8ba7088619', id: "header" }, h("slot", { key: '6f72885d42d005f234942f2cbf8eefd98f4d0241', name: 'header' })), h("div", { key: 'd21dbb37e236b1b22e886a036a37fb2e65e538f3', id: "pre-content" }, h("slot", { key: '31b14b314d1ee2672f15883ea4bcc3c542520558', name: 'pre-content' })), h("div", { key: 'a1297f482f15b4947043401b25e2c4ecbedd31fd', id: "content-container", class: this.getClasses() }, h("div", { key: '9c0c466a46c5fc81c64663dd0aff4e073cc6cb72', id: "sidebar-left" }, h("slot", { key: '10364527d218b1c05064095a5a69a411cb23322a', name: 'sidebar-left' })), h("div", { key: '23029f84833a0959f43f30b4dcc5d8bc08a0bf05', id: "content" }, h("slot", { key: '8dbcf34f4808d0983df99c77b52f927b8f1a69d7', name: "content" }), h("slot", { key: '6a235586dfb316c6449d531a566940d8de4e4a40' })), h("div", { key: 'b88f94db774c17aaa312ca55c9e67d611cabace3', id: "sidebar-right" }, h("slot", { key: '5efbbf777d7acb28e91f4dace10558926dafef60', name: 'sidebar-right' }))), h("div", { key: 'f40b983f2266e565faba96e8906cd69073b6598c', id: "post-body" }, h("slot", { key: 'd0f047c73b5b777f1eb9d61191bf172473c100cf', name: 'post-body' })), h("div", { key: 'b54482672a8017036b060203b5426bb2897c75fa', id: "footer" }, h("slot", { key: '4c65d471dcd2dfabc32e163cb9575f3d05fb2cda', name: 'footer' })), h("div", { key: '24c5d5a19e6d3fb943a1e99a7dfcfe9ad7cbb283', id: "sub-footer" }, h("slot", { key: '6f595500cac9906db6902685f172feaa7ee9e711', name: 'sub-footer' })))));
5066
+ return (h(Host, { key: '23b61f04dccd33e0abd6ac08f6521f5a9ec8bbd4' }, h("div", { key: 'd1e86808dab1b1c46b2d6b6b8093420dae7e27fb', style: this.styles, class: "grid-template" }, h("div", { key: 'e84d57b008abe440e59aa3734568b530a7440bdd', id: "sub-header" }, h("slot", { key: '0e9942affc593384ec18a47b93a7aaba703ce62a', name: 'sub-header' })), h("div", { key: 'a5ebc56a9ac49acdfebc7f83560c8a51b63619b0', id: "header" }, h("slot", { key: '5957130f5f0df86ca0b3e915d48ac1b6973be2d5', name: 'header' })), h("div", { key: '54c62c8f7bb9e774d1e9b2213db30da5cdd630a7', id: "pre-content" }, h("slot", { key: '160871f4ceede7169d77e2d2bcba5b415ac33c44', name: 'pre-content' })), h("div", { key: '1c69ecfcd2c605bc1024714b00854f072b3c3d2d', id: "content-container", class: this.getClasses() }, h("div", { key: '6d3102743e3e602edb04d461e4604e0a60df350f', id: "sidebar-left" }, h("slot", { key: '07f0c274f6fe9ec703ea5a11833bb5ae02a2db73', name: 'sidebar-left' })), h("div", { key: '3d4a8dff0a572edc9bbeef15bed2f7de45b8e1c1', id: "content" }, h("slot", { key: '5ca4395665823640d9c94dd71c3f746d413e0fb9', name: "content" }), h("slot", { key: '49e69afad551228a6b9602457f7811a625b943ec' })), h("div", { key: '43455d2bae0ffde066b6c31b3ff6ee4c3fe96723', id: "sidebar-right" }, h("slot", { key: '6b047fcc8249614710886954f082910b14e91608', name: 'sidebar-right' }))), h("div", { key: '49001b8066d664a180e9211cff345037f39a726d', id: "post-body" }, h("slot", { key: '8dde2d8f83c93e8b7b2a74086678ba98e54cb9f6', name: 'post-body' })), h("div", { key: '1091ad3443a6897ae879b31fead876ab891bb2d6', id: "footer" }, h("slot", { key: '49d1a5efdf5c0ffd29b7469bef9a36db8fe9d3f0', name: 'footer' })), h("div", { key: '8d20703614c90d4f2aabd0cef201a4850239b6e8', id: "sub-footer" }, h("slot", { key: 'b9c393c804a563b34a1c55f33789b047c1bff095', name: 'sub-footer' })))));
4425
5067
  }
4426
5068
  get host() { return getElement(this); }
4427
5069
  };
4428
5070
  CuraPageTemplate.style = CuraPageTemplateStyle0;
4429
5071
 
4430
- const curaParagraphCss = ":host{display:block;font-size:var(--font-size-base)}:host p{font-family:var(--font-family);font-size:var(--font-size-base);font-weight:var(--font-weight-regular);color:var(--color-body);line-height:var(--line-height);margin-block:var(--margin-block);letter-spacing:0.28px}:host p.large{font-size:1.214em;line-height:calc(var(--line-height) + 10%);letter-spacing:0px}:host p.small{font-size:0.85em;line-height:calc(var(--line-height) - 5%);letter-spacing:0.48px}:host p.caption,:host p.xsmall{font-size:0.7142857143em;line-height:calc(var(--line-height) - 5%);letter-spacing:0.6px}@media (min-width: 769px) and (max-width: 1920px){:host p{font-size:1.143em;line-height:calc(var(--line-height) + 5%);letter-spacing:0.32px}:host p.large{font-size:1.357em;line-height:calc(var(--line-height) + 10%);letter-spacing:0px}:host p.small{font-size:1em;line-height:calc(var(--line-height) - 5%);letter-spacing:0.56px}:host p.caption,:host p.xsmall{font-size:0.85em;line-height:calc(var(--line-height) - 5%);letter-spacing:0.72px}}@media (min-width: 1921px){:host p{font-size:1.429em;line-height:calc(var(--line-height) + 10%);letter-spacing:0px}:host p.large{font-size:1.714em;line-height:calc(var(--line-height) + 20%)}:host p.small{font-size:1.21em;line-height:calc(var(--line-height) + 5%);letter-spacing:0px}:host p.caption,:host p.xsmall{font-size:1em;line-height:calc(var(--line-height) + 5%);letter-spacing:0.28px}}:host ::slotted(b),:host ::slotted(strong){font-weight:var(--font-weight-bold)}:host ::slotted(a),:host ::slotted(span a),:host ::slotted(a:-webkit-any-link),:host p a{font-weight:var(--font-weight-medium);color:var(--color-link);text-underline-offset:10%}:host ::slotted(u){font-weight:var(--font-weight-medium);text-underline-offset:10%}:host ::slotted(i){font-style:italic}:host ::slotted(em){font-weight:var(--font-weight-medium);color:var(--color-link);font-style:normal}:host ::slotted(abbr){color:var(--color-link);text-decoration:underline dashed 1px var(--color-link);text-underline-offset:10%;cursor:default}";
5072
+ const curaParagraphCss = ":host{display:block;font-size:var(--font-size-base)}:host p{font-family:var(--font-family);font-size:var(--font-size-base);font-weight:var(--font-weight-regular);color:var(--color-body);line-height:var(--line-height);margin-block:var(--margin-block);letter-spacing:0.28px}:host p.large{font-size:1.214em;line-height:calc(var(--line-height) + 10%);letter-spacing:0px}:host p.small{font-size:0.85em;line-height:calc(var(--line-height) - 5%);letter-spacing:0.48px}:host p.caption,:host p.xsmall{font-size:0.8571428571em;line-height:calc(var(--line-height) - 5%);letter-spacing:0.6px}@media (min-width: 769px) and (max-width: 1920px){:host p{font-size:1.143em;line-height:calc(var(--line-height) + 5%);letter-spacing:0.32px}:host p.large{font-size:1.357em;line-height:calc(var(--line-height) + 10%);letter-spacing:0px}:host p.small{font-size:1em;line-height:calc(var(--line-height) - 5%);letter-spacing:0.56px}:host p.caption,:host p.xsmall{font-size:0.8571428571em;line-height:calc(var(--line-height) - 5%);letter-spacing:0.72px}}@media (min-width: 1921px){:host p{font-size:1.429em;line-height:calc(var(--line-height) + 10%);letter-spacing:0px}:host p.large{font-size:1.714em;line-height:calc(var(--line-height) + 20%)}:host p.small{font-size:1.21em;line-height:calc(var(--line-height) + 5%);letter-spacing:0px}:host p.caption,:host p.xsmall{font-size:1em;line-height:calc(var(--line-height) + 5%);letter-spacing:0.28px}}:host ::slotted(b),:host ::slotted(strong){font-weight:var(--font-weight-bold)}:host ::slotted(a),:host ::slotted(span a),:host ::slotted(a:-webkit-any-link),:host p a{font-weight:var(--font-weight-medium);color:var(--color-spot);text-underline-offset:10%}:host ::slotted(u){font-weight:var(--font-weight-medium);text-underline-offset:10%}:host ::slotted(i){font-style:italic}:host ::slotted(em){font-weight:var(--font-weight-bold);color:var(--color-spot);font-style:normal}:host ::slotted(abbr){color:var(--color-spot);text-decoration:underline dashed 1px var(--color-spot);text-underline-offset:10%;cursor:default}";
4431
5073
  const CuraParagraphStyle0 = curaParagraphCss;
4432
5074
 
4433
5075
  const CuraParagraph = class {
@@ -4441,12 +5083,8 @@ const CuraParagraph = class {
4441
5083
  this.lineHeight = '140%';
4442
5084
  this.styles = {};
4443
5085
  }
4444
- handleChangeColor() {
4445
- this.setColors();
4446
- }
4447
5086
  connectedCallback() {
4448
5087
  this.setFontProperties();
4449
- this.setColors();
4450
5088
  }
4451
5089
  setsizeClass() {
4452
5090
  const sizeclass = {};
@@ -4463,27 +5101,22 @@ const CuraParagraph = class {
4463
5101
  '--font-weight-bold': this.weights.bold
4464
5102
  };
4465
5103
  }
4466
- setColors() {
5104
+ hostCSSProperties() {
4467
5105
  const fontColor = this.color
4468
5106
  ? this.theme.colors.getColor(this.color)
4469
5107
  : this.theme.fonts.getColor();
4470
- this.styles = Object.assign(Object.assign({}, this.styles), { '--color-body': fontColor || this.theme.colors.getColor('neutral-darker'), '--color-link': this.theme.colors.getColor(`${this.spotColor}`) });
4471
- }
4472
- hostCSSProperties() {
4473
5108
  return {
4474
5109
  '--margin-block': this.marginBlock,
4475
5110
  '--font-size-base': this.fontSizeBase,
4476
- '--line-height': this.lineHeight
5111
+ '--line-height': this.lineHeight,
5112
+ '--color-body': fontColor || this.theme.colors.getColor('neutral-darker'),
5113
+ '--color-spot': this.theme.colors.getColor(`${this.spotColor}`)
4477
5114
  };
4478
5115
  }
4479
5116
  render() {
4480
- return (h(Host, { key: '2ca388b3d1c31588765768ece303decb6e421a81', style: this.hostCSSProperties() }, h("p", { key: '1f31f6b9831cceed88606754581f282a515e3598', style: this.styles, class: this.setsizeClass() }, h("slot", { key: 'f50ffaf10f933daac9e2ae901556bbfc62ac8a72' }))));
5117
+ return (h(Host, { key: '25f7b2e93068638f8268c4b5910d533d0e95f0bf', style: this.hostCSSProperties() }, h("p", { key: '359c72d839b3782871e7831dfbe1495908c2c7af', style: this.styles, class: this.setsizeClass() }, h("slot", { key: '7d3b014c67bc239efb2cafe532f87105208600d8' }))));
4481
5118
  }
4482
5119
  get host() { return getElement(this); }
4483
- static get watchers() { return {
4484
- "color": ["handleChangeColor"],
4485
- "spotColor": ["handleChangeColor"]
4486
- }; }
4487
5120
  };
4488
5121
  CuraParagraph.style = CuraParagraphStyle0;
4489
5122
 
@@ -4791,13 +5424,13 @@ const CuraSelect = class {
4791
5424
  return h("cura-icon", { class: "feedback-icon", name: icon, iconset: "default", size: this.size === 'large' ? 20 : 16, color: this.getColor('icon'), style: this.styles });
4792
5425
  }
4793
5426
  render() {
4794
- return (h(Host, { key: 'c4d3b518ddf6b9498e3a038b42d96cc36ea5b9af', style: this.styles }, h("div", { key: 'b469ec6460df4faa9dbf33ae46efd25b16e8dede', class: this.getClasses(), onMouseEnter: () => (this.isHovered = true), onMouseLeave: () => (this.isHovered = false), onClick: this.handleClick }, this.label && (h("cura-label", { key: 'b1e96f454e136f74a34d3fe2ad915a76b8892383', class: "label", weight: "bold", size: this.size === 'large' ? 'small' : 'xsmall', color: this.getColor('label') }, this.label, " ", this.required && h("span", { key: 'f6df4c9fd66179b157545354c9d7bce3a1965383', class: "required" }, "* "))), h("div", { key: '3c99013ba59cbc7520fcd9e54e4911be88e257e8', class: {
5427
+ return (h(Host, { key: '38228fe7771c15276afbc2322617f808b098a93c', style: this.styles }, h("div", { key: '03bce7f977543eb2cf03e2c6cebc82a2bbd27d11', class: this.getClasses(), onMouseEnter: () => (this.isHovered = true), onMouseLeave: () => (this.isHovered = false), onClick: this.handleClick }, this.label && (h("cura-label", { key: '653fa837432fce57c96d7335dd5558a49c7c89ee', class: "label", weight: "bold", size: this.size === 'large' ? 'small' : 'xsmall', color: this.getColor('label') }, this.label, " ", this.required && h("span", { key: 'a5a30e27dc5da4b5b58e5aa7ddce9eca4f2087e3', class: "required" }, "* "))), h("div", { key: 'bed979aede3272b64b73a09bc6fc0d011ccd4519', class: {
4795
5428
  'cura-input-field': true,
4796
5429
  'open': this.isOpen,
4797
- } }, this.renderIcon(), h("input", { key: '5c4cca3aa11ca5a43679551ef0db5d3b4a2672c1', type: "text", autocomplete: "off", onFocus: () => (this.isFocused = true), onBlur: () => (this.isFocused = false), onKeyDown: this.handleKeyNavigation, "aria-required": String(this.required), "aria-disabled": String(this.disabled), "aria-invalid": String(this.status === 'error'), onInput: this.handleInputChange, style: this.styles, placeholder: this.placeholder, disabled: this.disabled, required: this.required, value: this.textInput, readonly: this.searchBehavior ? null : true }), h("button", { key: '0e4ae1fc33090cb1c2a5f6616302262093c709f3', class: "up-down-button" }, h("cura-icon", { key: '7aa46c48d670725d6010e00ff74772dd76f04358', name: this.isOpen ? 'up' : 'down', class: "up-down-icon", color: this.disabled ? 'neutral-dark' : 'primary-base', size: 16, iconset: "default" }))), h("cura-label", { key: 'b37bbce2d092b368509778cb39e830fbfba40107', class: "helper-text", size: "xsmall", color: this.getColor('text'), weight: this.mode === 'transparent' ? 'bold' : 'regular' }, h("slot", { key: 'b8090f03acc7d34e75088cdd8b7f375b2be21aaf' })), this.isOpen && (h("div", { key: '4d279e833a3c4311972b11c259d616b7480fc5b5', class: {
5430
+ } }, this.renderIcon(), h("input", { key: '87bf279f2b649d46201b8bed68bacef35cdbc885', type: "text", autocomplete: "off", onFocus: () => (this.isFocused = true), onBlur: () => (this.isFocused = false), onKeyDown: this.handleKeyNavigation, "aria-required": String(this.required), "aria-disabled": String(this.disabled), "aria-invalid": String(this.status === 'error'), onInput: this.handleInputChange, style: this.styles, placeholder: this.placeholder, disabled: this.disabled, required: this.required, value: this.textInput, readonly: this.searchBehavior ? null : true }), h("button", { key: '9801d6b98926af53c553fa980dd15004c4276e89', class: "up-down-button" }, h("cura-icon", { key: '573e9f48cb5f8f42ce7e866c92266bd60b10e0c0', name: this.isOpen ? 'up' : 'down', class: "up-down-icon", color: this.disabled ? 'neutral-dark' : 'primary-base', size: 16, iconset: "default" }))), h("cura-label", { key: '43c75e852af717b868070c38f160c30aea3961d9', class: "helper-text", size: "xsmall", color: this.getColor('text'), weight: this.mode === 'transparent' ? 'bold' : 'regular' }, h("slot", { key: '3e0252e13b20b0909cab47efbe0532eaa6a32b69' })), this.isOpen && (h("div", { key: 'b628c4161e555ea8277728cf021b5ad789e5df0c', class: {
4798
5431
  menu: true,
4799
5432
  open: this.isOpen,
4800
- } }, h("slot", { key: '0c20c0bbfb9ed727825bb6cc7e06ab671350d37b', name: "option" }))))));
5433
+ } }, h("slot", { key: '7aefc066eee503e408aacf4a542834968fc7433b', name: "option" }))))));
4801
5434
  }
4802
5435
  static get formAssociated() { return true; }
4803
5436
  get host() { return getElement(this); }
@@ -4847,7 +5480,7 @@ const CuraSelectOption = class {
4847
5480
  };
4848
5481
  }
4849
5482
  render() {
4850
- return (h(Host, { key: '7633d57e0ab5ba265c31e53dde513bdb0bc934e8', slot: "option" }, h("div", { key: 'aa301dd963ffde79251ad79428934609ba70d713', class: this.getClasses(), style: this.styles }, h("cura-label", { key: '2a55fc05a9bb9a47a4a4b191e85ce5fdb6c7d5cf', color: `${this.selected ? 'primary-base' : 'neutral-black'}`, size: this.getSize('label'), "margin-block": "0" }, h("slot", { key: '4f28e0d1142cf847174f72614470b89ac3495197' })), this.selected && h("cura-icon", { key: '189b1b8877e68648f5282281df144ead39b64441', name: 'check', size: this.getSize('icon'), color: "primary-base" }))));
5483
+ return (h(Host, { key: '2e26a1c7816b58feffe9086588d0a3dcb4526fd1', slot: "option" }, h("div", { key: 'cfdad50aec30db07e9d5dc15f77ed542f6fcd9b0', class: this.getClasses(), style: this.styles }, h("cura-label", { key: 'a53291891ba265b0d7c9828792597fcce7cc2c90', color: `${this.selected ? 'primary-base' : 'neutral-black'}`, size: this.getSize('label'), "margin-block": "0" }, h("slot", { key: 'eca7922d5bd4ebf929907ec9e630aee96250c818' })), this.selected && h("cura-icon", { key: 'c3bdf4f0ac3b71b2932c050467a65bc44fc76670', name: 'check', size: this.getSize('icon'), color: "primary-base" }))));
4851
5484
  }
4852
5485
  get host() { return getElement(this); }
4853
5486
  static get watchers() { return {
@@ -4856,6 +5489,6 @@ const CuraSelectOption = class {
4856
5489
  };
4857
5490
  CuraSelectOption.style = CuraSelectOptionStyle0;
4858
5491
 
4859
- export { CuraAccordion as cura_accordion, CuraAccordionItem as cura_accordion_item, CuraButton as cura_button, CuraHeading as cura_heading, CuraIcon as cura_icon, CuraInputText as cura_input_text, CuraLabel as cura_label, CuraLoaderCircle as cura_loader_circle, CuraPageTemplate as cura_page_template, CuraParagraph as cura_paragraph, CuraSelect as cura_select, CuraSelectOption as cura_select_option };
5492
+ export { CuraAccordion as cura_accordion, CuraAccordionItem as cura_accordion_item, CuraAvatar as cura_avatar, CuraDistance as cura_badge_distance, CuraButton as cura_button, CuraButtonTransparent as cura_button_transparent, CuraDropdownSearchCategory as cura_dropdown_search_category, CuraDropdownSearchNew as cura_dropdown_search_new, CuraDropdownSearchOptionNew as cura_dropdown_search_option_new, CuraHeading as cura_heading, CuraIcon as cura_icon, CuraInputText as cura_input_text, CuraLabel as cura_label, CuraLoaderCircle as cura_loader_circle, CuraPageTemplate as cura_page_template, CuraParagraph as cura_paragraph, CuraSelect as cura_select, CuraSelectOption as cura_select_option };
4860
5493
 
4861
- //# sourceMappingURL=cura-accordion_12.entry.js.map
5494
+ //# sourceMappingURL=cura-accordion_18.entry.js.map