@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
@@ -2,8 +2,9 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const index = require('./index-e6d728ec.js');
5
+ const index = require('./index-12d54921.js');
6
6
  const curaButton_definitions = require('./cura-button.definitions-f036371c.js');
7
+ const _static = require('./static-4e83652c.js');
7
8
  const curaIcon_definitions = require('./cura-icon.definitions-5223028b.js');
8
9
 
9
10
  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)}";
@@ -61,7 +62,7 @@ const CuraAccordion = class {
61
62
  this.host.querySelectorAll('cura-accordion-item').forEach(item => {
62
63
  this.setChildProperties(item);
63
64
  });
64
- const options = { childList: true, subtree: true, attributes: true };
65
+ const options = { childList: true, subtree: false, attributes: false };
65
66
  this.mutationObserver.observe(this.host, options);
66
67
  }
67
68
  disconnectedCallback() {
@@ -84,7 +85,7 @@ const CuraAccordion = class {
84
85
  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`) });
85
86
  }
86
87
  render() {
87
- return (index.h(index.Host, { key: 'a56103203dd352195eaac03957350c73a1fcfb06', style: this.styles }, index.h("slot", { key: '3226a757908201e1c91d6a9a195980d9020f2327', name: 'accordion-item' })));
88
+ return (index.h(index.Host, { key: '58c69f7911698dae68dacaeb4cd226d61e09fe17', style: this.styles }, index.h("slot", { key: 'd808861eb471bfd7c356fb942121d20d547abfcb', name: 'accordion-item' })));
88
89
  }
89
90
  get host() { return index.getElement(this); }
90
91
  static get watchers() { return {
@@ -93,7 +94,7 @@ const CuraAccordion = class {
93
94
  };
94
95
  CuraAccordion.style = CuraAccordionStyle0;
95
96
 
96
- 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}}";
97
+ 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}}";
97
98
  const CuraAccordionItemStyle0 = curaAccordionItemCss;
98
99
 
99
100
  const CuraAccordionItem = class {
@@ -131,7 +132,103 @@ const CuraAccordionItem = class {
131
132
  };
132
133
  CuraAccordionItem.style = CuraAccordionItemStyle0;
133
134
 
134
- 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}";
135
+ const avatarSizes = {
136
+ '80': { border: 2.5 },
137
+ '40': { border: 2.25 },
138
+ '32': { border: 2 },
139
+ '24': { border: 1.75 },
140
+ };
141
+
142
+ 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%}";
143
+ const CuraAvatarStyle0 = curaAvatarCss;
144
+
145
+ const CuraAvatar = class {
146
+ constructor(hostRef) {
147
+ index.registerInstance(this, hostRef);
148
+ this.size = '80';
149
+ this.backgroundColor = 'neutral-purewhite';
150
+ this.borderColor = undefined;
151
+ this.borderRadius = '50%';
152
+ this.border = false;
153
+ this.type = 'default';
154
+ this.imageSrc = undefined;
155
+ this.imageSrcDefault = undefined;
156
+ this.floating = undefined;
157
+ this.styles = {};
158
+ }
159
+ sizeHandler(size) {
160
+ const avatarSize = avatarSizes[size];
161
+ this.styles['--border'] = this.border && `${avatarSize.border}px`;
162
+ this.styles['--size'] = `${this.size}px`;
163
+ }
164
+ getClasses() {
165
+ const classes = {};
166
+ classes['conteiner'] = true;
167
+ classes['floating'] = this.floating;
168
+ return classes;
169
+ }
170
+ connectedCallback() {
171
+ this.assetsPath = window.CuraAPI.localAssetsPath;
172
+ this.sizeHandler(this.size);
173
+ }
174
+ hostCSSProperties() {
175
+ return {
176
+ '--background-color': window.CuraAPI.theme.colors.getColor(this.backgroundColor),
177
+ '--border-color': window.CuraAPI.theme.colors.getColor(this.borderColor),
178
+ '--border-radius': `${this.borderRadius}`,
179
+ };
180
+ }
181
+ onSrcError() {
182
+ this.imageSrc = this.imageSrcDefault || `${this.assetsPath}/images/avatar/patient-default.svg`;
183
+ }
184
+ render() {
185
+ return (index.h(index.Host, { key: '467e74004b400e80a2d7f8e1a40cd9d7e782ff8a', style: this.hostCSSProperties(), role: "img" }, index.h("div", { key: 'c38a163b8aeebd07f8aece7aea9889c336df92a5', class: this.getClasses(), style: this.styles }, index.h("img", { key: 'a22868d4aae4029afb9b325a5c8f5556fa8984ea', src: this.imageSrc || this.imageSrcDefault || `${this.assetsPath}/images/avatar/patient-default.svg`, onError: () => this.onSrcError() }))));
186
+ }
187
+ get host() { return index.getElement(this); }
188
+ static get watchers() { return {
189
+ "size": ["sizeHandler"]
190
+ }; }
191
+ };
192
+ CuraAvatar.style = CuraAvatarStyle0;
193
+
194
+ 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)}";
195
+ const CuraBadgeDistanceStyle0 = curaBadgeDistanceCss;
196
+
197
+ const CuraDistance = class {
198
+ constructor(hostRef) {
199
+ index.registerInstance(this, hostRef);
200
+ this.isThousandRounded = false;
201
+ this.theme = window.CuraAPI.theme;
202
+ this.distance = 0;
203
+ this.label = 'km';
204
+ this.styles = {};
205
+ this.displayDistance = 0;
206
+ }
207
+ formatDistance() {
208
+ const roundedDistance = this.distance % 1 !== 0 ? parseFloat(this.distance.toFixed(1)) : this.distance;
209
+ this.isThousandRounded = Math.abs(roundedDistance) >= 1000;
210
+ this.displayDistance = this.isThousandRounded ? parseFloat((roundedDistance / 1000).toFixed(1)) : roundedDistance;
211
+ }
212
+ connectedCallback() {
213
+ this.setCssProperties();
214
+ this.formatDistance();
215
+ }
216
+ render() {
217
+ return (index.h(index.Host, { key: 'cdc206deecbed2e069befda5d21ddcaf03049afc' }, index.h("div", { key: 'd22d2b5b97964281e8588fbc17a66f3fddcd875e', class: "container", style: this.styles }, index.h("cura-label", { key: '0d54ab1ad403ba23a57fb78a422ed8c577cd627e', size: 'xsmall', weight: 'bold', color: 'neutral-black' }, this.displayDistance, this.isThousandRounded ? 'K' : ''), index.h("cura-label", { key: 'd4929a67484bbfd6d6f3edce82414951ea4778c8', size: 'xsmall', weight: 'bold', color: 'neutral-dark' }, this.label))));
218
+ }
219
+ setCssProperties() {
220
+ this.styles = {
221
+ '--neutral-pale': this.theme.colors.getColor(`neutral-pale`),
222
+ '--base-spacing': this.theme.spacing.getSpacing()
223
+ };
224
+ }
225
+ static get watchers() { return {
226
+ "distance": ["formatDistance"]
227
+ }; }
228
+ };
229
+ CuraDistance.style = CuraBadgeDistanceStyle0;
230
+
231
+ 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}";
135
232
  const CuraButtonStyle0 = curaButtonCss;
136
233
 
137
234
  const CuraButton = class {
@@ -240,7 +337,546 @@ const CuraButton = class {
240
337
  };
241
338
  CuraButton.style = CuraButtonStyle0;
242
339
 
243
- 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}";
340
+ 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}";
341
+ const CuraButtonTransparentStyle0 = curaButtonTransparentCss;
342
+
343
+ const CuraButtonTransparent = class {
344
+ constructor(hostRef) {
345
+ index.registerInstance(this, hostRef);
346
+ if (hostRef.$hostElement$["s-ei"]) {
347
+ this.internals = hostRef.$hostElement$["s-ei"];
348
+ }
349
+ else {
350
+ this.internals = hostRef.$hostElement$.attachInternals();
351
+ hostRef.$hostElement$["s-ei"] = this.internals;
352
+ }
353
+ this.type = 'button';
354
+ this.size = 'large';
355
+ this.disabled = false;
356
+ this.isLoading = false;
357
+ this.iconName = undefined;
358
+ this.iconset = 'default';
359
+ this.iconPosition = 'left';
360
+ this.iconOnly = false;
361
+ this.href = undefined;
362
+ this.target = "_self";
363
+ this.color = 'primary';
364
+ this.fontColor = 'dark';
365
+ this.textAlign = 'left';
366
+ this.justify = false;
367
+ this.hovered = false;
368
+ this.styles = {};
369
+ }
370
+ connectedCallback() {
371
+ this.weights = window.CuraAPI.theme.fonts.getWeights();
372
+ this.styles['--base-spacing'] = window.CuraAPI.theme.spacing.getSpacing();
373
+ this.styles['--neutral-white'] = window.CuraAPI.theme.colors.getColor(`neutral-white`);
374
+ this.styles['--neutral-base'] = window.CuraAPI.theme.colors.getColor(`neutral-base`);
375
+ this.styles['--neutral-dark'] = window.CuraAPI.theme.colors.getColor(`neutral-dark`);
376
+ this.styles['--font-size'] = window.CuraAPI.theme.fonts.getSize();
377
+ this.styles['--font-family'] = window.CuraAPI.theme.fonts.getFamily();
378
+ this.styles['--font-weight-medium'] = this.weights.medium;
379
+ this.styles['--text-align'] = this.textAlign;
380
+ }
381
+ getClasses() {
382
+ const classes = {};
383
+ classes[`${this.size.toLowerCase()}`] = true;
384
+ classes[`icon-${this.iconPosition.toLowerCase()}`] = true;
385
+ classes[`icon-only`] = this.iconOnly;
386
+ classes['disabled'] = this.disabled;
387
+ classes['isLoading'] = this.isLoading;
388
+ classes['justify'] = this.justify;
389
+ return classes;
390
+ }
391
+ getIcon() {
392
+ if (!this.iconName)
393
+ return null;
394
+ const iconSize = this.size === 'large' ? 20 : 16;
395
+ return index.h("cura-icon", { name: this.iconName, iconset: this.iconset, size: iconSize, color: this.getSymbolColor() });
396
+ }
397
+ handleMouseEnter() {
398
+ if (this.disabled)
399
+ return;
400
+ this.hovered = true;
401
+ }
402
+ handleMouseLeave() {
403
+ this.hovered = false;
404
+ }
405
+ getSymbolColor() {
406
+ if (this.disabled)
407
+ return 'neutral-dark';
408
+ if (this.hovered && !this.isLoading)
409
+ return this.fontColor === 'light' ? `${this.color}-light` : `${this.color}-darker`;
410
+ return this.fontColor === 'light' ? 'neutral-white' : `${this.color}-dark`;
411
+ }
412
+ handleClick(e) {
413
+ if (this.disabled || this.isLoading) {
414
+ e.preventDefault();
415
+ return;
416
+ }
417
+ if (!this.href) {
418
+ if (this.type === 'submit' && this.internals.form)
419
+ this.internals.form.submit();
420
+ if (this.type === 'reset' && this.internals.form)
421
+ this.internals.form.reset();
422
+ }
423
+ }
424
+ render() {
425
+ const symbolColor = this.getSymbolColor();
426
+ const labelSize = curaButton_definitions.labelSizes[this.size] || curaButton_definitions.labelSizes["default"];
427
+ return (index.h(index.Host, { key: 'f93f2f1b495403127238468c57edfcb5e9f69d43' }, this.href ? (index.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() }, index.h("span", { class: "button-container" }, this.getIcon(), index.h("cura-label", { size: labelSize, lineHeight: 'normal', color: symbolColor }, index.h("slot", null))), index.h("cura-loader-circle", { size: this.size, color: symbolColor }))) : (index.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 }, index.h("span", { class: "button-container" }, this.getIcon(), index.h("cura-label", { size: labelSize, lineHeight: 'normal', color: symbolColor }, index.h("slot", null))), index.h("cura-loader-circle", { size: this.size, color: symbolColor })))));
428
+ }
429
+ static get formAssociated() { return true; }
430
+ static get watchers() { return {
431
+ "fontColor": ["getSymbolColor"],
432
+ "color": ["getSymbolColor"]
433
+ }; }
434
+ };
435
+ CuraButtonTransparent.style = CuraButtonTransparentStyle0;
436
+
437
+ 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}";
438
+ const CuraDropdownSearchCategoryStyle0 = curaDropdownSearchCategoryCss;
439
+
440
+ const CuraDropdownSearchCategory = class {
441
+ constructor(hostRef) {
442
+ index.registerInstance(this, hostRef);
443
+ this.styles = {};
444
+ this.theme = window.CuraAPI.theme;
445
+ }
446
+ connectedCallback() {
447
+ this.styles = {
448
+ '--neutral-light': this.theme.colors.getColor('neutral-light')
449
+ };
450
+ }
451
+ render() {
452
+ return (index.h(index.Host, { key: '511391a8c6c1c998b04e3093838173ae76549715' }, index.h("div", { key: '63da720bb3d2cc354ef5f1e9ceaf0f2f9c396f4e', class: "component-container", style: this.styles }, index.h("cura-heading", { key: 'ba003607e581d4abaf2e6d617f94e3174d04a4b3', size: 'xsmall', weight: 'bold', color: 'neutral-dark', marginBlock: '0', lineHeight: '1em' }, index.h("slot", { key: '80b14ff99b42a64082895db81b4dbe78cd7545a3' })))));
453
+ }
454
+ };
455
+ CuraDropdownSearchCategory.style = CuraDropdownSearchCategoryStyle0;
456
+
457
+ function checkMobile() {
458
+ return (window === null || window === void 0 ? void 0 : window.innerWidth) < _static.Static.breakpoints.medium.min;
459
+ }
460
+ function checkIOS() {
461
+ return [
462
+ 'iPad Simulator',
463
+ 'iPhone Simulator',
464
+ 'iPod Simulator',
465
+ 'iPad',
466
+ 'iPhone',
467
+ 'iPod'
468
+ ].includes(navigator.userAgent)
469
+ // iPad on iOS 13 detection
470
+ || (navigator.userAgent.includes("Mac") && "ontouchend" in document);
471
+ }
472
+ function fakeInputIOSHack(targetElement) {
473
+ if (!checkMobile() || !checkIOS())
474
+ return null;
475
+ const fakeInput = document.createElement('input');
476
+ fakeInput.setAttribute('type', 'text');
477
+ fakeInput.style.position = 'absolute';
478
+ fakeInput.style.opacity = '0';
479
+ fakeInput.style.height = '0';
480
+ fakeInput.style.fontSize = '16px'; // disable auto zoom
481
+ targetElement.prepend(fakeInput);
482
+ // focus so that subsequent async focus will work
483
+ fakeInput.focus();
484
+ return fakeInput;
485
+ }
486
+ function addBodyScrollLockClass() {
487
+ document.body.classList.add("cura-body-scroll-lock");
488
+ }
489
+ function removeBodyScrollLockClass() {
490
+ if (document.body.classList.contains("cura-body-scroll-lock")) {
491
+ document.body.classList.remove("cura-body-scroll-lock");
492
+ }
493
+ }
494
+
495
+ class FixedElementScrollBehavior {
496
+ constructor(hostElement, scrollableElement) {
497
+ this._stopPropagationEvent = (e) => {
498
+ if (this.scrollableElement.scrollHeight <= this.scrollableElement.clientHeight) {
499
+ e.preventDefault();
500
+ }
501
+ e.stopPropagation();
502
+ };
503
+ this._preventEvent = (ev) => {
504
+ ev.preventDefault();
505
+ ev.stopPropagation();
506
+ };
507
+ if (!hostElement || !scrollableElement) {
508
+ console.error("Componentes host ou scrollable não foram informados corretamente ou não existem.");
509
+ }
510
+ else {
511
+ this.hostElement = hostElement;
512
+ this.scrollableElement = scrollableElement;
513
+ }
514
+ }
515
+ disableScroll() {
516
+ this.scrollPosition = window.scrollY;
517
+ window.scrollTo({ top: 0, behavior: 'instant' });
518
+ addBodyScrollLockClass();
519
+ this._addEvents();
520
+ }
521
+ enableScroll() {
522
+ removeBodyScrollLockClass();
523
+ window.scrollTo({ top: this.scrollPosition, behavior: 'instant' });
524
+ this._removeEvents();
525
+ }
526
+ _addEvents() {
527
+ this.hostElement.addEventListener('wheel', this._preventEvent, { passive: false });
528
+ this.hostElement.addEventListener('mousewheel', this._preventEvent, { passive: false });
529
+ this.hostElement.addEventListener('touchmove', this._preventEvent, { passive: false });
530
+ this.hostElement.addEventListener('scroll', this._preventEvent, { passive: false });
531
+ this.scrollableElement.addEventListener('wheel', this._stopPropagationEvent, { passive: false });
532
+ this.scrollableElement.addEventListener('mousewheel', this._stopPropagationEvent, { passive: false });
533
+ this.scrollableElement.addEventListener('touchmove', this._stopPropagationEvent, { passive: false });
534
+ this.scrollableElement.addEventListener('scroll', this._stopPropagationEvent, { passive: false });
535
+ }
536
+ _removeEvents() {
537
+ this.hostElement.removeEventListener('wheel', this._preventEvent);
538
+ this.hostElement.removeEventListener('mousewheel', this._preventEvent);
539
+ this.hostElement.removeEventListener('touchmove', this._preventEvent);
540
+ this.hostElement.removeEventListener('scroll', this._preventEvent);
541
+ this.scrollableElement.removeEventListener('wheel', this._stopPropagationEvent);
542
+ this.scrollableElement.removeEventListener('mousewheel', this._stopPropagationEvent);
543
+ this.scrollableElement.removeEventListener('touchmove', this._stopPropagationEvent);
544
+ this.scrollableElement.removeEventListener('scroll', this._stopPropagationEvent);
545
+ }
546
+ }
547
+
548
+ 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}";
549
+ const CuraDropdownSearchNewStyle0 = curaDropdownSearchNewCss;
550
+
551
+ const CuraDropdownSearchNew = class {
552
+ constructor(hostRef) {
553
+ index.registerInstance(this, hostRef);
554
+ this.termchange = index.createEvent(this, "termchange", 7);
555
+ this.optionselect = index.createEvent(this, "optionselect", 7);
556
+ this.resizeTimeoutMs = 66;
557
+ this.focusTimeoutMs = 300;
558
+ this.blurTimeoutMs = 300;
559
+ this.highlightedIndex = -1;
560
+ this.dropdownSelectableItems = [];
561
+ this.handleSlotChange = () => { this.getSlotElements(); };
562
+ this.handleWindowResize = () => {
563
+ if (this.resizeTimeout)
564
+ clearTimeout(this.resizeTimeout);
565
+ this.resizeTimeout = setTimeout(() => {
566
+ this.isMobile = checkMobile();
567
+ this.setZoomHeight();
568
+ }, this.resizeTimeoutMs);
569
+ };
570
+ this.handleFocus = () => {
571
+ if (this.focusTimeout)
572
+ clearTimeout(this.focusTimeout);
573
+ this.focusTimeout = setTimeout(() => {
574
+ this.isOnFocus = true;
575
+ this.clearHighlight();
576
+ if (this.isMobile && !this.zoomState)
577
+ this.enterZoom();
578
+ if (this.zoomState)
579
+ this.setZoomHeight();
580
+ setTimeout(() => {
581
+ var _a;
582
+ (_a = this.selectedOptionElement) === null || _a === void 0 ? void 0 : _a.scrollIntoView({ behavior: 'instant', block: 'nearest', inline: 'nearest' });
583
+ }, 10);
584
+ }, this.focusTimeoutMs);
585
+ };
586
+ this.handleBlur = () => {
587
+ if (this.blurTimeout)
588
+ clearTimeout(this.blurTimeout);
589
+ this.blurTimeout = setTimeout(() => {
590
+ if (this.zoomState) {
591
+ const delay = checkIOS ? 500 : 100;
592
+ setTimeout(() => this.setZoomHeight(), delay);
593
+ }
594
+ this.isOnFocus = false;
595
+ }, this.blurTimeoutMs);
596
+ };
597
+ this.handleFocusout = () => {
598
+ if (this.zoomState)
599
+ this.setZoomHeight();
600
+ };
601
+ this.handleBackClick = () => { this.exitZoom(); };
602
+ this.handleOptionActionClick = (ev) => {
603
+ this.getInputElement().setFocus();
604
+ this._preventEvent(ev);
605
+ };
606
+ this.handleInputClear = (ev) => {
607
+ this.setValue('');
608
+ this.clearSelectedOptions();
609
+ this._preventEvent(ev);
610
+ };
611
+ this.handleSelectOption = (ev) => {
612
+ this._selectOption(ev.detail);
613
+ this._preventEvent(ev);
614
+ };
615
+ this.handleInputValueChange = (ev) => {
616
+ this.setValue(ev.detail);
617
+ if (this.selectedOptionElement && ev.detail !== this.selectedOptionElement.value) {
618
+ this.clearSelectedOptions();
619
+ }
620
+ this._preventEvent(ev);
621
+ };
622
+ this.handleDropdownMouseOver = () => {
623
+ if (this.highlightedElement || this.highlightedIndex >= 0)
624
+ this.clearHighlight();
625
+ };
626
+ this.handleKeyDown = (ev) => {
627
+ if (ev.key === 'ArrowDown')
628
+ this.moveHighlight('next');
629
+ if (ev.key === 'ArrowUp')
630
+ this.moveHighlight('prev');
631
+ if (ev.key === 'Enter')
632
+ this.selectHighlight();
633
+ };
634
+ this.getInputElement = () => { var _a; return (_a = this.host.shadowRoot) === null || _a === void 0 ? void 0 : _a.querySelector('cura-input-text'); };
635
+ this._preventEvent = (ev) => {
636
+ ev.preventDefault();
637
+ ev.stopPropagation();
638
+ };
639
+ this.name = undefined;
640
+ this.size = 'large';
641
+ this.status = 'default';
642
+ this.disabled = false;
643
+ this.required = false;
644
+ this.placeholder = '';
645
+ this.label = '';
646
+ this.icon = 'search';
647
+ this.maxheight = '400px';
648
+ this.value = '';
649
+ this.searchdelay = 400;
650
+ this.searchminchars = 3;
651
+ this.styles = {};
652
+ this.zoomState = false;
653
+ this.isOnFocus = false;
654
+ this.dropdownItems = [];
655
+ }
656
+ handleMaxHeightChange(newValue, oldValue) {
657
+ if (newValue !== oldValue)
658
+ this.styles = Object.assign(Object.assign({}, this.styles), { '--max-height': newValue });
659
+ }
660
+ /**
661
+ * Set focus to input field.
662
+ */
663
+ async setFocus() {
664
+ this.getInputElement().setFocus();
665
+ }
666
+ /**
667
+ * Select by optionid property of a selectable option component.
668
+ */
669
+ async selectOption(optionid) {
670
+ this._selectOption(optionid);
671
+ }
672
+ connectedCallback() {
673
+ this.weights = window.CuraAPI.theme.fonts.getWeights();
674
+ this.breakpoints = window.CuraAPI.theme.breakpoints.get();
675
+ this.styles['--info'] = window.CuraAPI.theme.colors.getColor('info-base');
676
+ this.styles['--purewhite'] = window.CuraAPI.theme.colors.getColor('neutral-purewhite');
677
+ this.styles['--neutral-light'] = window.CuraAPI.theme.colors.getColor('neutral-light');
678
+ this.styles['--neutral-dark'] = window.CuraAPI.theme.colors.getColor('neutral-dark');
679
+ this.styles['--neutral-black-shadow'] = window.CuraAPI.theme.colors.getColor(`neutral-black`, 0.16);
680
+ this.styles['--error-dark'] = window.CuraAPI.theme.colors.getColor('error-dark');
681
+ this.styles['--error-lighter'] = window.CuraAPI.theme.colors.getColor('error-lighter');
682
+ this.styles['--primary'] = window.CuraAPI.theme.colors.getColor('primary');
683
+ this.styles['--font-size'] = window.CuraAPI.theme.fonts.getSize();
684
+ this.styles['--font-family'] = window.CuraAPI.theme.fonts.getFamily();
685
+ this.styles['--font-weight-medium'] = this.weights.medium;
686
+ this.handleMaxHeightChange(this.maxheight, '');
687
+ window === null || window === void 0 ? void 0 : window.addEventListener('resize', this.handleWindowResize);
688
+ window === null || window === void 0 ? void 0 : window.addEventListener('orientationchange', this.handleWindowResize);
689
+ this.isMobile = checkMobile();
690
+ }
691
+ componentDidLoad() {
692
+ var _a;
693
+ this.dropdownElement = (_a = this.host.shadowRoot) === null || _a === void 0 ? void 0 : _a.querySelector('.dropdown-container');
694
+ this.host.addEventListener('actionclick', this.handleOptionActionClick);
695
+ this.host.addEventListener('selectoption', this.handleSelectOption);
696
+ this.scrollBehavior = new FixedElementScrollBehavior(this.host, this.dropdownElement);
697
+ setTimeout(() => this.getSlotElements(), 10);
698
+ }
699
+ disconnectedCallback() {
700
+ window === null || window === void 0 ? void 0 : window.removeEventListener('resize', this.handleWindowResize);
701
+ window === null || window === void 0 ? void 0 : window.removeEventListener('orientationchange', this.handleWindowResize);
702
+ }
703
+ moveHighlight(direction) {
704
+ if (!this.dropdownSelectableItems.length)
705
+ return;
706
+ let position = direction === 'next' ? this.highlightedIndex + 1 : this.highlightedIndex - 1;
707
+ if (position < 0) {
708
+ this.clearHighlight();
709
+ return;
710
+ }
711
+ if (position > this.dropdownSelectableItems.length - 1)
712
+ position = this.dropdownSelectableItems.length - 1;
713
+ if (this.highlightedElement)
714
+ this.highlightedElement.highlighted = false;
715
+ this.highlightedIndex = position;
716
+ this.highlightedElement = this.dropdownSelectableItems[position];
717
+ if (this.highlightedElement.selected) {
718
+ this.moveHighlight(direction);
719
+ return;
720
+ }
721
+ this.highlightedElement.highlighted = true;
722
+ this.highlightedElement.scrollIntoView({ behavior: 'instant', block: 'nearest', inline: 'nearest' });
723
+ }
724
+ clearHighlight() {
725
+ if (this.highlightedElement) {
726
+ this.highlightedElement.highlighted = false;
727
+ this.highlightedElement = null;
728
+ }
729
+ this.highlightedIndex = -1;
730
+ }
731
+ selectHighlight() {
732
+ if (this.highlightedElement) {
733
+ this._selectOption(this.highlightedElement.optionid);
734
+ this.clearHighlight();
735
+ this.getInputElement().blur();
736
+ }
737
+ }
738
+ setValue(value) {
739
+ if (this.value !== value) {
740
+ this.value = value;
741
+ if (this.valueTimeout)
742
+ clearTimeout(this.valueTimeout);
743
+ this.valueTimeout = setTimeout(() => {
744
+ this.termchange.emit(this.value === '' || this.value.length < this.searchminchars ? '' : this.value);
745
+ }, this.searchdelay || 300);
746
+ }
747
+ }
748
+ _selectOption(optionid) {
749
+ if (!optionid) {
750
+ this.clearSelectedOptions();
751
+ this.setValue('');
752
+ return;
753
+ }
754
+ const optionElement = this.dropdownSelectableItems.find(option => option.optionid === optionid);
755
+ if (optionElement && !optionElement.selected) {
756
+ this.clearSelectedOptions();
757
+ this.selectedOptionElement = optionElement;
758
+ this.selectedOptionElement.selected = true;
759
+ this.setValue(this.selectedOptionElement.value);
760
+ this.optionselect.emit(this.selectedOptionElement.optionid);
761
+ if (this.zoomState)
762
+ setTimeout(() => this.exitZoom(), this.blurTimeoutMs);
763
+ }
764
+ }
765
+ clearSelectedOptions() {
766
+ this.dropdownSelectableItems.forEach(option => {
767
+ if (option.selected)
768
+ option.selected = false;
769
+ });
770
+ this.selectedOptionElement = null;
771
+ }
772
+ getSlotElements() {
773
+ const elements = [];
774
+ const selectable = [];
775
+ let hasNotFound = false;
776
+ if (this.dropdownElement) {
777
+ this.dropdownElement
778
+ .querySelector('slot')
779
+ .assignedElements()
780
+ .forEach(item => {
781
+ elements.push(item);
782
+ if (item.localName === 'cura-dropdown-search-option-new' && item["selectable"])
783
+ selectable.push(item);
784
+ if (item.localName === 'cura-dropdown-search-not-found')
785
+ hasNotFound = true;
786
+ });
787
+ }
788
+ this.dropdownSelectableItems = selectable;
789
+ this.dropdownItems = elements;
790
+ if (hasNotFound)
791
+ this.status = 'error';
792
+ }
793
+ enterZoom() {
794
+ this.scrollBehavior.disableScroll();
795
+ this.setZoomHeight();
796
+ this.zoomState = true;
797
+ }
798
+ exitZoom() {
799
+ this.scrollBehavior.enableScroll();
800
+ this.setZoomHeight();
801
+ this.zoomState = false;
802
+ }
803
+ setZoomHeight() {
804
+ var _a;
805
+ const h = window ? `${((_a = window.visualViewport) === null || _a === void 0 ? void 0 : _a.height) || window.innerHeight}px` : '100vh';
806
+ this.styles = Object.assign(Object.assign({}, this.styles), { '--height': h });
807
+ }
808
+ getClasses() {
809
+ return {
810
+ "component-container": true,
811
+ "mobile": this.isMobile,
812
+ "zoom": this.zoomState,
813
+ "dropdown-visible": this.isOnFocus && (this.dropdownItems.length > 0 && !this.zoomState),
814
+ "error": this.status === 'error'
815
+ };
816
+ }
817
+ render() {
818
+ return (index.h(index.Host, { key: '2fddf33d55ce7fd0e9648270012a462827fed62b' }, index.h("div", { key: 'c45c76906309db7a3bd9789bc87bebeef5fdfdb0', class: this.getClasses(), style: this.styles }, index.h("div", { key: 'be29c3debdb21abcdf90dd2446dfef2de8f1f5f6', class: "component-controls" }, this.isMobile && this.zoomState ? (index.h("cura-button-transparent", { fontColor: "dark", onClick: () => this.handleBackClick(), iconName: "arrowLeft", size: "large", iconOnly: true, color: "primary", id: "button-back" })) : '', index.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) }, index.h("slot", { key: 'b96c64c5f5b01a487c6fc190e19af136576eb45f', name: "helperText" }))), index.h("div", { key: '249a0fd49fd854c7b69565194a06b27781b93b9b', class: "dropdown-container", onMouseOver: () => this.handleDropdownMouseOver() }, index.h("slot", { key: '9e2e0ea5eaaade2a22956383baab4d8fc84d35a2', onSlotchange: () => this.handleSlotChange() })))));
819
+ }
820
+ get host() { return index.getElement(this); }
821
+ static get watchers() { return {
822
+ "maxheight": ["handleMaxHeightChange"]
823
+ }; }
824
+ };
825
+ CuraDropdownSearchNew.style = CuraDropdownSearchNewStyle0;
826
+
827
+ 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}";
828
+ const CuraDropdownSearchOptionNewStyle0 = curaDropdownSearchOptionNewCss;
829
+
830
+ const CuraDropdownSearchOptionNew = class {
831
+ constructor(hostRef) {
832
+ index.registerInstance(this, hostRef);
833
+ this.actionclick = index.createEvent(this, "actionclick", 7);
834
+ this.selectoption = index.createEvent(this, "selectoption", 7);
835
+ this.styles = {};
836
+ this.theme = window.CuraAPI.theme;
837
+ this.value = undefined;
838
+ this.optionid = undefined;
839
+ this.selectable = true;
840
+ this.selected = false;
841
+ this.highlighted = false;
842
+ }
843
+ connectedCallback() {
844
+ this.styles = {
845
+ '--neutral-light': this.theme.colors.getColor('neutral-light'),
846
+ '--neutral-white': this.theme.colors.getColor('neutral-white'),
847
+ '--neutral-dark': this.theme.colors.getColor('neutral-dark'),
848
+ '--neutral-black': this.theme.colors.getColor('neutral-black'),
849
+ '--primary-lighter-50': this.theme.colors.getColor('primary-lighter', .5),
850
+ '--primary-light': this.theme.colors.getColor('primary-light'),
851
+ '--primary': this.theme.colors.getColor('primary-base')
852
+ };
853
+ }
854
+ handleSelect() {
855
+ if (this.selectable) {
856
+ this.selectoption.emit(this.optionid);
857
+ }
858
+ else {
859
+ this.actionclick.emit();
860
+ }
861
+ }
862
+ handleActionsClick() {
863
+ this.actionclick.emit();
864
+ }
865
+ getClasses() {
866
+ return {
867
+ 'component-container': true,
868
+ 'selected': this.selected,
869
+ 'highlighted': this.highlighted,
870
+ 'not-selectable': !this.selectable
871
+ };
872
+ }
873
+ render() {
874
+ return (index.h(index.Host, { key: '270721328007e38163582a288da503001dfd28f7' }, index.h("div", { key: 'bbcfeca78e0cfb86d3bdcf5d23a25c27ba2bd0ed', class: this.getClasses(), style: this.styles }, index.h("div", { key: '86774ca830346536a6591310c42c3806abed7273', class: "selectable-container", onClick: () => this.handleSelect() }, index.h("slot", { key: '2fe370d3a1cd2df9226634cc0a6812b4131de60e', name: 'image' }), index.h("div", { key: 'ebafc4dcffdc7bf44414605424b4e86400f87602', class: "content" }, index.h("slot", { key: '2666ee970d53d21dd04c58fea2725163e936d96d' }))), index.h("div", { key: '55f0cdbd76d03921722796e1b261500dce39ada5', class: "actions-container", onClick: () => this.handleActionsClick() }, index.h("slot", { key: '34528c19855eca4ecd151310959d8a496deb152b', name: 'actions' })))));
875
+ }
876
+ };
877
+ CuraDropdownSearchOptionNew.style = CuraDropdownSearchOptionNewStyle0;
878
+
879
+ 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}";
244
880
  const CuraHeadingStyle0 = curaHeadingCss;
245
881
 
246
882
  const CuraHeading = class {
@@ -256,12 +892,8 @@ const CuraHeading = class {
256
892
  this.lineHeight = '130%';
257
893
  this.styles = {};
258
894
  }
259
- handleChangeColor() {
260
- this.setColors();
261
- }
262
895
  connectedCallback() {
263
896
  this.setFontProperties();
264
- this.setColors();
265
897
  }
266
898
  getClasses() {
267
899
  const classes = {};
@@ -289,11 +921,9 @@ const CuraHeading = class {
289
921
  '--font-size-base': this.fontSizeBase,
290
922
  '--line-height': this.lineHeight,
291
923
  '--color-body': fontColor || this.theme.colors.getColor('neutral-darker'),
924
+ '--color-spot': this.theme.colors.getColor(`${this.spotColor}`)
292
925
  };
293
926
  }
294
- setColors() {
295
- this.styles = Object.assign(Object.assign({}, this.styles), { '--color-link': this.theme.colors.getColor(`${this.spotColor}`) });
296
- }
297
927
  getHeadingTag() {
298
928
  const tags = {
299
929
  '1': index.h("h1", { style: this.styles, class: this.getClasses() }, index.h("slot", null)),
@@ -307,13 +937,9 @@ const CuraHeading = class {
307
937
  return tags[`${this.level}`] || tags['default'];
308
938
  }
309
939
  render() {
310
- return (index.h(index.Host, { key: '6384b5f7302399cca695c7c51d403ee704c95a48', style: this.hostCSSProperties() }, this.getHeadingTag()));
940
+ return (index.h(index.Host, { key: '4391dea57899c00ccd536f007f3054c162957fad', style: this.hostCSSProperties() }, this.getHeadingTag()));
311
941
  }
312
942
  get host() { return index.getElement(this); }
313
- static get watchers() { return {
314
- "color": ["handleChangeColor"],
315
- "spotColor": ["handleChangeColor"]
316
- }; }
317
943
  };
318
944
  CuraHeading.style = CuraHeadingStyle0;
319
945
 
@@ -348,7 +974,7 @@ const CuraIcon = class {
348
974
  this.host.style.setProperty(prop, value);
349
975
  }
350
976
  render() {
351
- return (index.h(index.Host, { key: '09f68d2b455427bf45dca2e6b30e993ebfa6b3a0' }, index.h("svg", { key: 'f15fea7564efac510263f06f8d15288fec004f66', version: "1.1", viewBox: "0 0 24 24", preserveAspectRatio: "xMidYMid meet", xmlns: "http://www.w3.org/2000/svg" }, index.h("use", { key: 'b88136d10453dc9e1d2c41ceb10676b348430ae3', xlinkHref: `${this.assetsPath}/icons/iconset-${this.iconset}.svg#${this.name}` }))));
977
+ return (index.h(index.Host, { key: 'd2c7487f9fadebc1da94bc4b8cd661a75e0d93ef' }, index.h("svg", { key: 'd8d0a70bf11cce073da95cce58c2fca4705b4b9f', version: "1.1", viewBox: "0 0 24 24", preserveAspectRatio: "xMidYMid meet", xmlns: "http://www.w3.org/2000/svg" }, index.h("use", { key: '10f2f6c34ce7cc782de70d9e9cdd22f54e08acc9', xlinkHref: `${this.assetsPath}/icons/iconset-${this.iconset}.svg#${this.name}` }))));
352
978
  }
353
979
  get host() { return index.getElement(this); }
354
980
  static get watchers() { return {
@@ -4002,13 +4628,14 @@ const maskOptions = {
4002
4628
  },
4003
4629
  };
4004
4630
 
4005
- 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}";
4631
+ 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}";
4006
4632
  const CuraInputTextStyle0 = curaInputTextCss;
4007
4633
 
4008
4634
  const CuraInputText = class {
4009
4635
  constructor(hostRef) {
4010
4636
  index.registerInstance(this, hostRef);
4011
4637
  this.valueChange = index.createEvent(this, "valueChange", 7);
4638
+ this.inputClear = index.createEvent(this, "inputClear", 7);
4012
4639
  if (hostRef.$hostElement$["s-ei"]) {
4013
4640
  this.internals = hostRef.$hostElement$["s-ei"];
4014
4641
  }
@@ -4043,6 +4670,17 @@ const CuraInputText = class {
4043
4670
  this.hideErrorIcon = false;
4044
4671
  this.autocomplete = 'on';
4045
4672
  }
4673
+ async setFocus() {
4674
+ // IOS needs large timeout value to work
4675
+ const timeoutMs = checkMobile() && checkIOS() ? 1000 : 200;
4676
+ // IOS fake input hack
4677
+ let fakeInput = fakeInputIOSHack(this.host);
4678
+ setTimeout(() => {
4679
+ this.inputRef.focus();
4680
+ if (fakeInput)
4681
+ fakeInput.remove();
4682
+ }, timeoutMs);
4683
+ }
4046
4684
  /**
4047
4685
  * Callback to restore the switch state from the form.
4048
4686
  */
@@ -4091,6 +4729,7 @@ const CuraInputText = class {
4091
4729
  this.styles['--font-size'] = window.CuraAPI.theme.fonts.getSize();
4092
4730
  this.styles['--font-color'] = window.CuraAPI.theme.fonts.getColor();
4093
4731
  this.weights = window.CuraAPI.theme.fonts.getWeights();
4732
+ this.breakpoints = window.CuraAPI.theme.breakpoints.get();
4094
4733
  this.styles['--font-weight-medium'] = this.weights.medium;
4095
4734
  this.styles['--font-weight-bold'] = this.weights.bold;
4096
4735
  this.styles['--font-weight-regular'] = this.weights.regular;
@@ -4145,7 +4784,6 @@ const CuraInputText = class {
4145
4784
  const isSuccess = this.status === 'success';
4146
4785
  const isDefault = this.status === 'default';
4147
4786
  const helperTextSize = this.size === 'large' ? 'small' : 'xsmall';
4148
- const helperTextWeight = this.mode === 'transparent' ? 'bold' : 'regular';
4149
4787
  const colorText = (() => {
4150
4788
  if (this.disabled)
4151
4789
  return 'neutral-medium';
@@ -4155,7 +4793,7 @@ const CuraInputText = class {
4155
4793
  return 'neutral-black';
4156
4794
  return 'neutral-dark';
4157
4795
  })();
4158
- return (index.h("div", { style: this.styles, class: "helper-text" }, isDefault && (index.h("cura-label", { size: helperTextSize, lineHeight: "xsmall", color: colorText, weight: helperTextWeight }, index.h("slot", null))), isError && (index.h("cura-label", { size: helperTextSize, lineHeight: "xsmall", color: "error-dark", weight: helperTextWeight }, index.h("slot", null))), isSuccess && (index.h("cura-label", { size: helperTextSize, lineHeight: "xsmall", color: "success-dark", weight: helperTextWeight }, index.h("slot", null)))));
4796
+ return (index.h("div", { style: this.styles, class: "helper-text", part: "cura-input-text-helper" }, isDefault && (index.h("cura-label", { size: helperTextSize, lineHeight: "xsmall", color: colorText }, index.h("slot", null))), isError && this.mode === "default" && (index.h("cura-label", { size: helperTextSize, lineHeight: "xsmall", color: "error-dark" }, index.h("slot", null))), isError && this.mode === "transparent" && (index.h("cura-label", { size: helperTextSize, lineHeight: "xsmall", color: "neutral-black" }, index.h("slot", null))), isSuccess && (index.h("cura-label", { size: helperTextSize, lineHeight: "xsmall", color: "success-dark" }, index.h("slot", null)))));
4159
4797
  }
4160
4798
  handleMouseEnter() {
4161
4799
  this.isHovered = true;
@@ -4179,7 +4817,9 @@ const CuraInputText = class {
4179
4817
  this.value = '';
4180
4818
  this.inputRef.value = '';
4181
4819
  this.valueChange.emit(this.value);
4820
+ this.inputClear.emit(this.value);
4182
4821
  this.handleMaskUpdate();
4822
+ this.setFocus();
4183
4823
  }
4184
4824
  handleInputFocus() {
4185
4825
  this.handleMaskUpdate();
@@ -4301,9 +4941,10 @@ const CuraInputText = class {
4301
4941
  e.preventDefault();
4302
4942
  }
4303
4943
  render() {
4304
- return (index.h(index.Host, { key: '0aebf7d545af0e2eec1f542e5545ef34d0356e33' }, index.h("div", { key: '22e428a2706273d1613e39f860a721a73cab6d03', style: this.styles, onMouseEnter: () => this.handleMouseEnter(), onMouseLeave: () => this.handleMouseLeave(), class: Object.assign({ 'cura-input-group': true }, this.getClasses()) }, index.h("div", { key: '8ef0bc3f5bf3427abdbd247a8c78b722eaaca541', class: "input-wrapper" }, this.label && (index.h("cura-label", { key: '4aef20d0c2880ed38c1821e2690829a31fe7fea8', class: "label", weight: "bold", size: this.size === 'large' ? 'small' : 'xsmall', color: this.getLabelColor() }, this.label, " ", this.required && index.h("span", { key: 'a3bb15165ae1ffedae59a32a1e299c9a36ad9b2c', class: "required" }, "* "))), index.h("div", { key: '0b12a41f21a4c26273390dd15f362a5baccb0f2d', class: "cura-input-field", part: "cura-input-field", style: this.styles }, this.renderIcon(), index.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 && (index.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 && index.h("cura-loader-circle", { key: '2ecef2f802b1807f214a9ca72099b690189898fd', size: this.size === 'large' ? 'medium' : 'small', color: "primary-base" })), this.renderHelperText()))));
4944
+ return (index.h(index.Host, { key: '6c14493558642a993e4fa541b2a932e6cf9308a1' }, index.h("div", { key: '0084cfcd8ba41736f0cd2ca56a5183b1921c9c52', style: this.styles, onMouseEnter: () => this.handleMouseEnter(), onMouseLeave: () => this.handleMouseLeave(), class: Object.assign({ 'cura-input-group': true }, this.getClasses()) }, index.h("div", { key: '27998cb277338c329ee0c4afefd7dbf2a7621990', class: "input-wrapper" }, this.label && (index.h("cura-label", { key: '2f57bdcff2b1bdbfcfb9bd01faedec5f372dfe5d', class: "label", weight: "bold", size: this.size === 'large' ? 'small' : 'xsmall', color: this.getLabelColor() }, this.label, " ", this.required && index.h("span", { key: 'da05203184e4772fd25853407640de241382f050', class: "required" }, "* "))), index.h("div", { key: '03cbae962e628e3ea3bb7ba0d8cfd0f89f37b758', class: "cura-input-field", part: "cura-input-field", style: this.styles }, this.renderIcon(), index.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 && (index.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 && index.h("cura-loader-circle", { key: 'ecb67fbc7e3796009f30bd16b0a1c2ce82052666', size: this.size === 'large' ? 'medium' : 'small', color: "primary-base" })), this.renderHelperText()))));
4305
4945
  }
4306
4946
  static get formAssociated() { return true; }
4947
+ get host() { return index.getElement(this); }
4307
4948
  static get watchers() { return {
4308
4949
  "styles": ["connectedCallback"],
4309
4950
  "size": ["getClasses"],
@@ -4354,20 +4995,21 @@ const CuraLabel = class {
4354
4995
  };
4355
4996
  }
4356
4997
  setColors() {
4998
+ this.styles = Object.assign(Object.assign({}, this.styles), { '--color-link': this.theme.colors.getColor(`${this.spotColor}`) });
4999
+ }
5000
+ hostCSSProperties() {
4357
5001
  const fontColor = this.color
4358
5002
  ? this.theme.colors.getColor(this.color)
4359
5003
  : this.theme.fonts.getColor();
4360
- 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}`) });
4361
- }
4362
- hostCSSProperties() {
4363
5004
  return {
4364
5005
  '--margin-block': this.marginBlock,
4365
5006
  '--font-size-base': this.fontSizeBase,
4366
- '--line-height': this.lineHeight
5007
+ '--line-height': this.lineHeight,
5008
+ '--color-body': fontColor || this.theme.colors.getColor('neutral-darker'),
4367
5009
  };
4368
5010
  }
4369
5011
  render() {
4370
- return (index.h(index.Host, { key: '0155daf05e29fca75db8d8b8b103a4d3b60c1bc9', style: this.hostCSSProperties() }, index.h("p", { key: 'cd63e97738f18f2842e3f6e3a0d086dd0c240651', style: this.styles, class: this.getClasses() }, index.h("slot", { key: 'e20da850c970c10f03f832d59db1050f2329c856' }))));
5012
+ return (index.h(index.Host, { key: '185d6a679086dfc3fc2e1bb2b8e55759e7a68506', style: this.hostCSSProperties() }, index.h("p", { key: 'c5514dcec410d3f2b9b1c0a0cb7ee182b4d082ec', style: this.styles, class: this.getClasses() }, index.h("slot", { key: '6dde4081303f411728cf3c8769252d9565859b67' }))));
4371
5013
  }
4372
5014
  get host() { return index.getElement(this); }
4373
5015
  static get watchers() { return {
@@ -4401,7 +5043,7 @@ const CuraLoaderCircle = class {
4401
5043
  };
4402
5044
  }
4403
5045
  render() {
4404
- return (index.h(index.Host, { key: '627023f3e413d6a28e802eaf011f0ca39ccc17d9', style: this.getStyles() }, index.h("svg", { key: '1f7dab1ef6e82d81ffacf336660c508c039e7430', viewBox: "0 0 16 16", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, index.h("g", { key: '4baeff0f8c83335be93cd067dbed2cfa5d0be88a' }, index.h("circle", { key: '7929b1120288af1f17976a69463bf8965f2e4fae', cx: "8", cy: "8", r: "7", stroke: "url(#paint0_linear_13485_11488)", "stroke-width": "2" }), index.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" })), index.h("defs", { key: 'ad393945da8c664faed05c17ed1c51cae3a02edb' }, index.h("linearGradient", { key: 'bf42d208d369c60bbdad5adf81c4c61144ad34eb', id: "paint0_linear_13485_11488", x1: "15.7", y1: "4.5", x2: "4.15", y2: "11.5", gradientUnits: "userSpaceOnUse" }, index.h("stop", { key: '445c119c6cebcfb057826ebd090b883aa479a8cd' }), index.h("stop", { key: '47555985163574e69556490d1d09c6283d31845c', offset: "1" }))))));
5046
+ return (index.h(index.Host, { key: '269527f065adf8cd35d6bbe6109e117f26c5e02c', style: this.getStyles() }, index.h("svg", { key: '4541cd3ee1003f93e7ea83e6cbdc9effcd5ef61b', viewBox: "0 0 16 16", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, index.h("g", { key: '64939f37a9dd55e9431cd0848f561f346f43be87' }, index.h("circle", { key: 'a7202aa4be9776b2f035dab40922a346d7284f19', cx: "8", cy: "8", r: "7", stroke: "url(#paint0_linear_13485_11488)", "stroke-width": "2" }), index.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" })), index.h("defs", { key: '94af0657b89a161ac617957b0ae24d53872b1139' }, index.h("linearGradient", { key: '29406a4830366edc3a945be2c31096eebaa70e48', id: "paint0_linear_13485_11488", x1: "15.7", y1: "4.5", x2: "4.15", y2: "11.5", gradientUnits: "userSpaceOnUse" }, index.h("stop", { key: '356c8c0347b272e6cee5c47191b2381d08346b66' }), index.h("stop", { key: '02fa4f0ed3d994ca274bc9175da6f3e7a4246b2d', offset: "1" }))))));
4405
5047
  }
4406
5048
  };
4407
5049
  CuraLoaderCircle.style = CuraLoaderCircleStyle0;
@@ -4425,13 +5067,13 @@ const CuraPageTemplate = class {
4425
5067
  return classes;
4426
5068
  }
4427
5069
  render() {
4428
- return (index.h(index.Host, { key: '9f26fb8ceb8b22ed9223bd215c07b6a19f6d78f1' }, index.h("div", { key: '38541ca9be4feecb9911c96cc954ba7501dc9b5e', style: this.styles, class: "grid-template" }, index.h("div", { key: 'daf436a589d75bb270f4b16230d1db1d7365c47e', id: "sub-header" }, index.h("slot", { key: '547c858a5913c600c1b745f400319d207a04c7ce', name: 'sub-header' })), index.h("div", { key: 'ba69ae91e87af01a8001a347f6de7d8ba7088619', id: "header" }, index.h("slot", { key: '6f72885d42d005f234942f2cbf8eefd98f4d0241', name: 'header' })), index.h("div", { key: 'd21dbb37e236b1b22e886a036a37fb2e65e538f3', id: "pre-content" }, index.h("slot", { key: '31b14b314d1ee2672f15883ea4bcc3c542520558', name: 'pre-content' })), index.h("div", { key: 'a1297f482f15b4947043401b25e2c4ecbedd31fd', id: "content-container", class: this.getClasses() }, index.h("div", { key: '9c0c466a46c5fc81c64663dd0aff4e073cc6cb72', id: "sidebar-left" }, index.h("slot", { key: '10364527d218b1c05064095a5a69a411cb23322a', name: 'sidebar-left' })), index.h("div", { key: '23029f84833a0959f43f30b4dcc5d8bc08a0bf05', id: "content" }, index.h("slot", { key: '8dbcf34f4808d0983df99c77b52f927b8f1a69d7', name: "content" }), index.h("slot", { key: '6a235586dfb316c6449d531a566940d8de4e4a40' })), index.h("div", { key: 'b88f94db774c17aaa312ca55c9e67d611cabace3', id: "sidebar-right" }, index.h("slot", { key: '5efbbf777d7acb28e91f4dace10558926dafef60', name: 'sidebar-right' }))), index.h("div", { key: 'f40b983f2266e565faba96e8906cd69073b6598c', id: "post-body" }, index.h("slot", { key: 'd0f047c73b5b777f1eb9d61191bf172473c100cf', name: 'post-body' })), index.h("div", { key: 'b54482672a8017036b060203b5426bb2897c75fa', id: "footer" }, index.h("slot", { key: '4c65d471dcd2dfabc32e163cb9575f3d05fb2cda', name: 'footer' })), index.h("div", { key: '24c5d5a19e6d3fb943a1e99a7dfcfe9ad7cbb283', id: "sub-footer" }, index.h("slot", { key: '6f595500cac9906db6902685f172feaa7ee9e711', name: 'sub-footer' })))));
5070
+ return (index.h(index.Host, { key: '23b61f04dccd33e0abd6ac08f6521f5a9ec8bbd4' }, index.h("div", { key: 'd1e86808dab1b1c46b2d6b6b8093420dae7e27fb', style: this.styles, class: "grid-template" }, index.h("div", { key: 'e84d57b008abe440e59aa3734568b530a7440bdd', id: "sub-header" }, index.h("slot", { key: '0e9942affc593384ec18a47b93a7aaba703ce62a', name: 'sub-header' })), index.h("div", { key: 'a5ebc56a9ac49acdfebc7f83560c8a51b63619b0', id: "header" }, index.h("slot", { key: '5957130f5f0df86ca0b3e915d48ac1b6973be2d5', name: 'header' })), index.h("div", { key: '54c62c8f7bb9e774d1e9b2213db30da5cdd630a7', id: "pre-content" }, index.h("slot", { key: '160871f4ceede7169d77e2d2bcba5b415ac33c44', name: 'pre-content' })), index.h("div", { key: '1c69ecfcd2c605bc1024714b00854f072b3c3d2d', id: "content-container", class: this.getClasses() }, index.h("div", { key: '6d3102743e3e602edb04d461e4604e0a60df350f', id: "sidebar-left" }, index.h("slot", { key: '07f0c274f6fe9ec703ea5a11833bb5ae02a2db73', name: 'sidebar-left' })), index.h("div", { key: '3d4a8dff0a572edc9bbeef15bed2f7de45b8e1c1', id: "content" }, index.h("slot", { key: '5ca4395665823640d9c94dd71c3f746d413e0fb9', name: "content" }), index.h("slot", { key: '49e69afad551228a6b9602457f7811a625b943ec' })), index.h("div", { key: '43455d2bae0ffde066b6c31b3ff6ee4c3fe96723', id: "sidebar-right" }, index.h("slot", { key: '6b047fcc8249614710886954f082910b14e91608', name: 'sidebar-right' }))), index.h("div", { key: '49001b8066d664a180e9211cff345037f39a726d', id: "post-body" }, index.h("slot", { key: '8dde2d8f83c93e8b7b2a74086678ba98e54cb9f6', name: 'post-body' })), index.h("div", { key: '1091ad3443a6897ae879b31fead876ab891bb2d6', id: "footer" }, index.h("slot", { key: '49d1a5efdf5c0ffd29b7469bef9a36db8fe9d3f0', name: 'footer' })), index.h("div", { key: '8d20703614c90d4f2aabd0cef201a4850239b6e8', id: "sub-footer" }, index.h("slot", { key: 'b9c393c804a563b34a1c55f33789b047c1bff095', name: 'sub-footer' })))));
4429
5071
  }
4430
5072
  get host() { return index.getElement(this); }
4431
5073
  };
4432
5074
  CuraPageTemplate.style = CuraPageTemplateStyle0;
4433
5075
 
4434
- 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}";
5076
+ 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}";
4435
5077
  const CuraParagraphStyle0 = curaParagraphCss;
4436
5078
 
4437
5079
  const CuraParagraph = class {
@@ -4445,12 +5087,8 @@ const CuraParagraph = class {
4445
5087
  this.lineHeight = '140%';
4446
5088
  this.styles = {};
4447
5089
  }
4448
- handleChangeColor() {
4449
- this.setColors();
4450
- }
4451
5090
  connectedCallback() {
4452
5091
  this.setFontProperties();
4453
- this.setColors();
4454
5092
  }
4455
5093
  setsizeClass() {
4456
5094
  const sizeclass = {};
@@ -4467,27 +5105,22 @@ const CuraParagraph = class {
4467
5105
  '--font-weight-bold': this.weights.bold
4468
5106
  };
4469
5107
  }
4470
- setColors() {
5108
+ hostCSSProperties() {
4471
5109
  const fontColor = this.color
4472
5110
  ? this.theme.colors.getColor(this.color)
4473
5111
  : this.theme.fonts.getColor();
4474
- 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}`) });
4475
- }
4476
- hostCSSProperties() {
4477
5112
  return {
4478
5113
  '--margin-block': this.marginBlock,
4479
5114
  '--font-size-base': this.fontSizeBase,
4480
- '--line-height': this.lineHeight
5115
+ '--line-height': this.lineHeight,
5116
+ '--color-body': fontColor || this.theme.colors.getColor('neutral-darker'),
5117
+ '--color-spot': this.theme.colors.getColor(`${this.spotColor}`)
4481
5118
  };
4482
5119
  }
4483
5120
  render() {
4484
- return (index.h(index.Host, { key: '2ca388b3d1c31588765768ece303decb6e421a81', style: this.hostCSSProperties() }, index.h("p", { key: '1f31f6b9831cceed88606754581f282a515e3598', style: this.styles, class: this.setsizeClass() }, index.h("slot", { key: 'f50ffaf10f933daac9e2ae901556bbfc62ac8a72' }))));
5121
+ return (index.h(index.Host, { key: '25f7b2e93068638f8268c4b5910d533d0e95f0bf', style: this.hostCSSProperties() }, index.h("p", { key: '359c72d839b3782871e7831dfbe1495908c2c7af', style: this.styles, class: this.setsizeClass() }, index.h("slot", { key: '7d3b014c67bc239efb2cafe532f87105208600d8' }))));
4485
5122
  }
4486
5123
  get host() { return index.getElement(this); }
4487
- static get watchers() { return {
4488
- "color": ["handleChangeColor"],
4489
- "spotColor": ["handleChangeColor"]
4490
- }; }
4491
5124
  };
4492
5125
  CuraParagraph.style = CuraParagraphStyle0;
4493
5126
 
@@ -4795,13 +5428,13 @@ const CuraSelect = class {
4795
5428
  return index.h("cura-icon", { class: "feedback-icon", name: icon, iconset: "default", size: this.size === 'large' ? 20 : 16, color: this.getColor('icon'), style: this.styles });
4796
5429
  }
4797
5430
  render() {
4798
- return (index.h(index.Host, { key: 'c4d3b518ddf6b9498e3a038b42d96cc36ea5b9af', style: this.styles }, index.h("div", { key: 'b469ec6460df4faa9dbf33ae46efd25b16e8dede', class: this.getClasses(), onMouseEnter: () => (this.isHovered = true), onMouseLeave: () => (this.isHovered = false), onClick: this.handleClick }, this.label && (index.h("cura-label", { key: 'b1e96f454e136f74a34d3fe2ad915a76b8892383', class: "label", weight: "bold", size: this.size === 'large' ? 'small' : 'xsmall', color: this.getColor('label') }, this.label, " ", this.required && index.h("span", { key: 'f6df4c9fd66179b157545354c9d7bce3a1965383', class: "required" }, "* "))), index.h("div", { key: '3c99013ba59cbc7520fcd9e54e4911be88e257e8', class: {
5431
+ return (index.h(index.Host, { key: '38228fe7771c15276afbc2322617f808b098a93c', style: this.styles }, index.h("div", { key: '03bce7f977543eb2cf03e2c6cebc82a2bbd27d11', class: this.getClasses(), onMouseEnter: () => (this.isHovered = true), onMouseLeave: () => (this.isHovered = false), onClick: this.handleClick }, this.label && (index.h("cura-label", { key: '653fa837432fce57c96d7335dd5558a49c7c89ee', class: "label", weight: "bold", size: this.size === 'large' ? 'small' : 'xsmall', color: this.getColor('label') }, this.label, " ", this.required && index.h("span", { key: 'a5a30e27dc5da4b5b58e5aa7ddce9eca4f2087e3', class: "required" }, "* "))), index.h("div", { key: 'bed979aede3272b64b73a09bc6fc0d011ccd4519', class: {
4799
5432
  'cura-input-field': true,
4800
5433
  'open': this.isOpen,
4801
- } }, this.renderIcon(), index.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 }), index.h("button", { key: '0e4ae1fc33090cb1c2a5f6616302262093c709f3', class: "up-down-button" }, index.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" }))), index.h("cura-label", { key: 'b37bbce2d092b368509778cb39e830fbfba40107', class: "helper-text", size: "xsmall", color: this.getColor('text'), weight: this.mode === 'transparent' ? 'bold' : 'regular' }, index.h("slot", { key: 'b8090f03acc7d34e75088cdd8b7f375b2be21aaf' })), this.isOpen && (index.h("div", { key: '4d279e833a3c4311972b11c259d616b7480fc5b5', class: {
5434
+ } }, this.renderIcon(), index.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 }), index.h("button", { key: '9801d6b98926af53c553fa980dd15004c4276e89', class: "up-down-button" }, index.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" }))), index.h("cura-label", { key: '43c75e852af717b868070c38f160c30aea3961d9', class: "helper-text", size: "xsmall", color: this.getColor('text'), weight: this.mode === 'transparent' ? 'bold' : 'regular' }, index.h("slot", { key: '3e0252e13b20b0909cab47efbe0532eaa6a32b69' })), this.isOpen && (index.h("div", { key: 'b628c4161e555ea8277728cf021b5ad789e5df0c', class: {
4802
5435
  menu: true,
4803
5436
  open: this.isOpen,
4804
- } }, index.h("slot", { key: '0c20c0bbfb9ed727825bb6cc7e06ab671350d37b', name: "option" }))))));
5437
+ } }, index.h("slot", { key: '7aefc066eee503e408aacf4a542834968fc7433b', name: "option" }))))));
4805
5438
  }
4806
5439
  static get formAssociated() { return true; }
4807
5440
  get host() { return index.getElement(this); }
@@ -4851,7 +5484,7 @@ const CuraSelectOption = class {
4851
5484
  };
4852
5485
  }
4853
5486
  render() {
4854
- return (index.h(index.Host, { key: '7633d57e0ab5ba265c31e53dde513bdb0bc934e8', slot: "option" }, index.h("div", { key: 'aa301dd963ffde79251ad79428934609ba70d713', class: this.getClasses(), style: this.styles }, index.h("cura-label", { key: '2a55fc05a9bb9a47a4a4b191e85ce5fdb6c7d5cf', color: `${this.selected ? 'primary-base' : 'neutral-black'}`, size: this.getSize('label'), "margin-block": "0" }, index.h("slot", { key: '4f28e0d1142cf847174f72614470b89ac3495197' })), this.selected && index.h("cura-icon", { key: '189b1b8877e68648f5282281df144ead39b64441', name: 'check', size: this.getSize('icon'), color: "primary-base" }))));
5487
+ return (index.h(index.Host, { key: '2e26a1c7816b58feffe9086588d0a3dcb4526fd1', slot: "option" }, index.h("div", { key: 'cfdad50aec30db07e9d5dc15f77ed542f6fcd9b0', class: this.getClasses(), style: this.styles }, index.h("cura-label", { key: 'a53291891ba265b0d7c9828792597fcce7cc2c90', color: `${this.selected ? 'primary-base' : 'neutral-black'}`, size: this.getSize('label'), "margin-block": "0" }, index.h("slot", { key: 'eca7922d5bd4ebf929907ec9e630aee96250c818' })), this.selected && index.h("cura-icon", { key: 'c3bdf4f0ac3b71b2932c050467a65bc44fc76670', name: 'check', size: this.getSize('icon'), color: "primary-base" }))));
4855
5488
  }
4856
5489
  get host() { return index.getElement(this); }
4857
5490
  static get watchers() { return {
@@ -4862,7 +5495,13 @@ CuraSelectOption.style = CuraSelectOptionStyle0;
4862
5495
 
4863
5496
  exports.cura_accordion = CuraAccordion;
4864
5497
  exports.cura_accordion_item = CuraAccordionItem;
5498
+ exports.cura_avatar = CuraAvatar;
5499
+ exports.cura_badge_distance = CuraDistance;
4865
5500
  exports.cura_button = CuraButton;
5501
+ exports.cura_button_transparent = CuraButtonTransparent;
5502
+ exports.cura_dropdown_search_category = CuraDropdownSearchCategory;
5503
+ exports.cura_dropdown_search_new = CuraDropdownSearchNew;
5504
+ exports.cura_dropdown_search_option_new = CuraDropdownSearchOptionNew;
4866
5505
  exports.cura_heading = CuraHeading;
4867
5506
  exports.cura_icon = CuraIcon;
4868
5507
  exports.cura_input_text = CuraInputText;
@@ -4873,4 +5512,4 @@ exports.cura_paragraph = CuraParagraph;
4873
5512
  exports.cura_select = CuraSelect;
4874
5513
  exports.cura_select_option = CuraSelectOption;
4875
5514
 
4876
- //# sourceMappingURL=cura-accordion_12.cjs.entry.js.map
5515
+ //# sourceMappingURL=cura-accordion_18.cjs.entry.js.map