@rededor/cura 1.5.1 → 1.6.0-alpha.1

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