@rededor/cura 1.8.3-alpha.0 → 2.0.0-alpha.11

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 (674) hide show
  1. package/dist/assets/assets/icons/iconset-default-list.ts +1 -1
  2. package/dist/assets/assets/icons/iconset-default-tmp.svg +40 -0
  3. package/dist/assets/assets/icons/iconset-default.svg +1 -1
  4. package/dist/cjs/app-globals-e8cmvmo1.js +69 -0
  5. package/dist/cjs/{cura-accordion_20.cjs.entry.js → cura-accordion_21.cjs.entry.js} +1957 -98
  6. package/dist/cjs/cura-alert.cjs.entry.js +11 -11
  7. package/dist/cjs/cura-badge-counter.cjs.entry.js +13 -10
  8. package/dist/cjs/cura-badge-dot.cjs.entry.js +4 -7
  9. package/dist/cjs/cura-badge-pill.cjs.entry.js +7 -8
  10. package/dist/cjs/cura-button-outline.cjs.entry.js +15 -10
  11. package/dist/cjs/cura-button-select.cjs.entry.js +10 -9
  12. package/dist/cjs/cura-button.definitions-B3SK8MaV.js +0 -3
  13. package/dist/cjs/cura-calendar.cjs.entry.js +12 -9
  14. package/dist/cjs/cura-checkbox.cjs.entry.js +18 -11
  15. package/dist/cjs/cura-display.cjs.entry.js +10 -9
  16. package/dist/cjs/cura-dropdown-search-not-found.cjs.entry.js +4 -7
  17. package/dist/cjs/cura-forms.definitions-DVLuO67c.js +0 -3
  18. package/dist/cjs/cura-icon.definitions-DT0wF67y.js +0 -3
  19. package/dist/cjs/cura-icons-view.cjs.entry.js +5 -8
  20. package/dist/cjs/cura-input-date.cjs.entry.js +7 -8
  21. package/dist/cjs/cura-loader-bar.cjs.entry.js +10 -9
  22. package/dist/cjs/cura-modal.cjs.entry.js +19 -12
  23. package/dist/cjs/cura-progress-bar_2.cjs.entry.js +6 -9
  24. package/dist/cjs/cura-radio.cjs.entry.js +15 -10
  25. package/dist/cjs/cura-stepper.cjs.entry.js +4 -7
  26. package/dist/cjs/cura-switch.cjs.entry.js +13 -10
  27. package/dist/cjs/cura-tabs-button.cjs.entry.js +7 -8
  28. package/dist/cjs/cura-tabs-transparent.cjs.entry.js +7 -8
  29. package/dist/cjs/cura-tabs.definitions-CGqqGE2e.js +0 -3
  30. package/dist/cjs/cura-theme-module-Dg1d3VUN.js +237 -0
  31. package/dist/cjs/cura-toast.cjs.entry.js +10 -9
  32. package/dist/cjs/cura-tooltip.cjs.entry.js +4 -7
  33. package/dist/cjs/cura.cjs.js +8 -8
  34. package/dist/cjs/{index-BK9MSAiE.js → index-BLhmsPd0.js} +705 -579
  35. package/dist/cjs/index-EyP6Zlkd.js +0 -3
  36. package/dist/cjs/index.cjs.js +3 -4
  37. package/dist/cjs/loader.cjs.js +7 -7
  38. package/dist/cjs/static-DHz-FA_O.js +88 -0
  39. package/dist/cjs/theme-legacy-default-COE-hjD7.js +264 -0
  40. package/dist/collection/api/cura-api.js +0 -1
  41. package/dist/collection/api/cura-api.type.js +0 -1
  42. package/dist/collection/api/modules/cura-theme-breakpoints-module.js +0 -1
  43. package/dist/collection/api/modules/cura-theme-colors-module.js +0 -1
  44. package/dist/collection/api/modules/cura-theme-fonts-module.js +0 -1
  45. package/dist/collection/api/modules/cura-theme-module.js +0 -1
  46. package/dist/collection/api/modules/cura-theme-spacing-module.js +0 -1
  47. package/dist/collection/api/theme-presets/static.js +0 -1
  48. package/dist/collection/api/theme-presets/theme-default.js +0 -1
  49. package/dist/collection/api/theme-presets/theme-legacy-default.js +0 -1
  50. package/dist/collection/api/theme-presets/theme-maternity.js +0 -1
  51. package/dist/collection/api/theme-presets/theme-oncology.js +0 -1
  52. package/dist/collection/api/theme-presets/theme-perinatal-temporary.js +0 -1
  53. package/dist/collection/api/theme-presets/theme-presets.js +0 -1
  54. package/dist/collection/api/theme-presets/theme-richet.js +0 -1
  55. package/dist/collection/assets/icons/iconset-default-list.js +1 -2
  56. package/dist/collection/assets/icons/iconset-default-tmp.svg +40 -0
  57. package/dist/collection/assets/icons/iconset-default.svg +1 -1
  58. package/dist/collection/assets-raw/icons/default/autism.svg +3 -0
  59. package/dist/collection/assets-raw/icons/default/biop.svg +3 -0
  60. package/dist/collection/assets-raw/icons/default/lab.svg +3 -0
  61. package/dist/collection/assets-raw/icons/default/mobileClick.svg +3 -0
  62. package/dist/collection/assets-raw/icons/default/mobileRotate1.svg +3 -0
  63. package/dist/collection/assets-raw/icons/default/mobileRotate2.svg +3 -0
  64. package/dist/collection/assets-raw/icons/default/mobileRotate3.svg +3 -0
  65. package/dist/collection/assets-raw/icons/default/star.svg +3 -0
  66. package/dist/collection/assets-raw/icons/default/stop.svg +3 -0
  67. package/dist/collection/assets-raw/icons/default/xray.svg +3 -0
  68. package/dist/collection/collection-manifest.json +3 -2
  69. package/dist/collection/components/accordion/cura-accordion/cura-accordion.js +9 -10
  70. package/dist/collection/components/accordion/cura-accordion/cura-accordion.stories.js +0 -1
  71. package/dist/collection/components/accordion/cura-accordion-item/cura-accordion-item.js +9 -10
  72. package/dist/collection/components/badges/cura-badge-counter/cura-badge-counter.js +5 -6
  73. package/dist/collection/components/badges/cura-badge-counter/cura-badge-counter.stories.js +0 -1
  74. package/dist/collection/components/badges/cura-badge-distance/cura-badge-distance.js +2 -3
  75. package/dist/collection/components/badges/cura-badge-distance/cura-badge-distance.stories.js +0 -1
  76. package/dist/collection/components/badges/cura-badge-dot/cura-badge-dot.js +3 -4
  77. package/dist/collection/components/badges/cura-badge-dot/cura-badge-dot.stories.js +0 -1
  78. package/dist/collection/components/badges/cura-badge-pill/cura-badge-pill.js +8 -9
  79. package/dist/collection/components/badges/cura-badge-pill/cura-badge-pill.stories.js +0 -1
  80. package/dist/collection/components/buttons/cura-button/cura-button.js +24 -25
  81. package/dist/collection/components/buttons/cura-button/cura-button.stories.js +0 -1
  82. package/dist/collection/components/buttons/cura-button-outline/cura-button-outline.js +17 -18
  83. package/dist/collection/components/buttons/cura-button-outline/cura-button-outline.stories.js +0 -1
  84. package/dist/collection/components/buttons/cura-button-select/cura-button-select.js +12 -13
  85. package/dist/collection/components/buttons/cura-button-select/cura-button-select.stories.js +0 -1
  86. package/dist/collection/components/buttons/cura-button-transparent/cura-button-transparent.js +16 -17
  87. package/dist/collection/components/buttons/cura-button-transparent/cura-button-transparent.stories.js +0 -1
  88. package/dist/collection/components/buttons/cura-button.definitions.js +0 -1
  89. package/dist/collection/components/cura-alert/cura-alert.js +11 -11
  90. package/dist/collection/components/cura-alert/cura-alert.stories.js +0 -1
  91. package/dist/collection/components/cura-avatar/cura-avatar.definitions.js +0 -1
  92. package/dist/collection/components/cura-avatar/cura-avatar.js +13 -14
  93. package/dist/collection/components/cura-avatar/cura-avatar.stories.js +0 -1
  94. package/dist/collection/components/cura-calendar/cura-calendar.js +21 -25
  95. package/dist/collection/components/cura-calendar/cura-calendar.stories.js +0 -1
  96. package/dist/collection/components/cura-card/cura-card.js +7 -8
  97. package/dist/collection/components/cura-card/cura-card.stories.js +0 -1
  98. package/dist/collection/components/cura-dropdown-search/cura-dropdown-search-category/cura-dropdown-search-category.js +0 -1
  99. package/dist/collection/components/cura-dropdown-search/cura-dropdown-search-category/cura-dropdown-search-category.stories.js +0 -1
  100. package/dist/collection/components/cura-dropdown-search/cura-dropdown-search-not-found/cura-dropdown-search-not-found.js +0 -1
  101. package/dist/collection/components/cura-dropdown-search/cura-dropdown-search-not-found/cura-dropdown-search-not-found.stories.js +0 -1
  102. package/dist/collection/components/cura-dropdown-search/cura-dropdown-search-option/cura-dropdown-search-option.js +7 -8
  103. package/dist/collection/components/cura-dropdown-search/cura-dropdown-search-option/cura-dropdown-search-option.stories.js +0 -1
  104. package/dist/collection/components/cura-dropdown-search/cura-dropdown-search.css +1 -1
  105. package/dist/collection/components/cura-dropdown-search/cura-dropdown-search.js +40 -19
  106. package/dist/collection/components/cura-dropdown-search/cura-dropdown-search.stories.js +0 -1
  107. package/dist/collection/components/cura-icon/cura-icon.definitions.js +0 -1
  108. package/dist/collection/components/cura-icon/cura-icon.js +6 -7
  109. package/dist/collection/components/cura-icon/cura-icon.stories.js +0 -1
  110. package/dist/collection/components/cura-icons-view/cura-icons-view.js +0 -1
  111. package/dist/collection/components/cura-icons-view/cura-icons-view.stories.js +0 -1
  112. package/dist/collection/components/cura-modal/cura-modal.js +9 -10
  113. package/dist/collection/components/cura-modal/cura-modal.stories.js +0 -1
  114. package/dist/collection/components/cura-page-template/cura-page-template.js +1 -2
  115. package/dist/collection/components/cura-stepper/cura-progress-bar/cura-progress-bar.js +8 -9
  116. package/dist/collection/components/cura-stepper/cura-stepper-item/cura-stepper-item.js +6 -7
  117. package/dist/collection/components/cura-stepper/cura-stepper.js +8 -8
  118. package/dist/collection/components/cura-stepper/cura-stepper.stories.js +0 -1
  119. package/dist/collection/components/cura-stepper/stepper.type.js +0 -1
  120. package/dist/collection/components/cura-toast/cura-toast.js +9 -10
  121. package/dist/collection/components/cura-toast/cura-toast.stories.js +0 -1
  122. package/dist/collection/components/cura-tooltip/cura-tooltip.js +8 -9
  123. package/dist/collection/components/cura-tooltip/cura-tooltip.stories.js +0 -1
  124. package/dist/collection/components/forms/cura-checkbox/cura-checkbox.js +19 -20
  125. package/dist/collection/components/forms/cura-checkbox/cura-checkbox.stories.js +0 -1
  126. package/dist/collection/components/forms/cura-forms.definitions.js +0 -1
  127. package/dist/collection/components/forms/cura-input-date/cura-input-date.js +15 -16
  128. package/dist/collection/components/forms/cura-input-date/cura-input-date.stories.js +0 -1
  129. package/dist/collection/components/forms/cura-input-text/cura-input-text.js +37 -35
  130. package/dist/collection/components/forms/cura-input-text/cura-input-text.stories.js +0 -1
  131. package/dist/collection/components/forms/cura-input-text/mask-presets/input-mask-presets.js +0 -1
  132. package/dist/collection/components/forms/cura-label/cura-label.js +8 -9
  133. package/dist/collection/components/forms/cura-label/cura-label.stories.js +0 -1
  134. package/dist/collection/components/forms/cura-radio/cura-radio.js +15 -16
  135. package/dist/collection/components/forms/cura-radio/cura-radio.stories.js +0 -1
  136. package/dist/collection/components/forms/cura-select/cura-select.css +3 -148
  137. package/dist/collection/components/forms/cura-select/cura-select.js +116 -25
  138. package/dist/collection/components/forms/cura-select/cura-select.stories.js +0 -1
  139. package/dist/collection/components/forms/cura-select-options/cura-select-option.css +15 -0
  140. package/dist/collection/components/forms/cura-select-options/cura-select-option.js +5 -6
  141. package/dist/collection/components/forms/cura-switch/cura-switch.js +10 -11
  142. package/dist/collection/components/forms/cura-switch/cura-switch.stories.js +0 -1
  143. package/dist/collection/components/loaders/cura-loader-bar/cura-loader-bar.js +2 -3
  144. package/dist/collection/components/loaders/cura-loader-bar/cura-loader-bar.stories.js +0 -1
  145. package/dist/collection/components/loaders/cura-loader-circle/cura-loader-circle.js +2 -3
  146. package/dist/collection/components/loaders/cura-loader-circle/cura-loader-circle.stories.js +0 -1
  147. package/dist/collection/components/tabs/cura-tabs/cura-tabs.js +9 -10
  148. package/dist/collection/components/tabs/cura-tabs/cura-tabs.stories.js +0 -1
  149. package/dist/collection/components/tabs/cura-tabs-button/cura-tabs-button.js +9 -10
  150. package/dist/collection/components/tabs/cura-tabs-button/cura-tabs-button.stories.js +0 -1
  151. package/dist/collection/components/tabs/cura-tabs-group/cura-tabs-group.js +3 -4
  152. package/dist/collection/components/tabs/cura-tabs-group/cura-tabs-group.stories.js +0 -1
  153. package/dist/collection/components/tabs/cura-tabs-transparent/cura-tabs-transparent.js +9 -10
  154. package/dist/collection/components/tabs/cura-tabs-transparent/cura-tabs-transparent.stories.js +0 -1
  155. package/dist/collection/components/tabs/cura-tabs.definitions.js +0 -1
  156. package/dist/collection/components/text/cura-display/cura-display.js +7 -8
  157. package/dist/collection/components/text/cura-display/cura-display.stories.js +0 -1
  158. package/dist/collection/components/text/cura-heading/cura-heading.js +9 -10
  159. package/dist/collection/components/text/cura-heading/cura-heading.stories.js +0 -1
  160. package/dist/collection/components/text/cura-paragraph/cura-paragraph.js +7 -8
  161. package/dist/collection/components/text/cura-paragraph/cura-paragraph.stories.js +0 -1
  162. package/dist/collection/index.js +0 -1
  163. package/dist/collection/rededor-cura-start.js +0 -1
  164. package/dist/collection/utils/FixedElementScrollBehavior.js +0 -1
  165. package/dist/collection/utils/utils.js +0 -1
  166. package/dist/components/cura-accordion-item.js +1 -102
  167. package/dist/components/cura-accordion.js +1 -144
  168. package/dist/components/cura-alert.js +1 -109
  169. package/dist/components/cura-avatar.js +1 -112
  170. package/dist/components/cura-badge-counter.js +1 -9
  171. package/dist/components/cura-badge-distance.js +1 -73
  172. package/dist/components/cura-badge-dot.js +1 -73
  173. package/dist/components/cura-badge-pill.js +1 -9
  174. package/dist/components/cura-button-outline.js +1 -206
  175. package/dist/components/cura-button-select.js +1 -163
  176. package/dist/components/cura-button-transparent.js +1 -9
  177. package/dist/components/cura-button.js +1 -205
  178. package/dist/components/cura-calendar.js +1 -9
  179. package/dist/components/cura-card.js +1 -104
  180. package/dist/components/cura-checkbox.js +1 -286
  181. package/dist/components/cura-display.js +1 -128
  182. package/dist/components/cura-dropdown-search-category.js +1 -49
  183. package/dist/components/cura-dropdown-search-not-found.js +1 -48
  184. package/dist/components/cura-dropdown-search-option.js +1 -93
  185. package/dist/components/cura-dropdown-search.js +1 -445
  186. package/dist/components/cura-heading.js +1 -9
  187. package/dist/components/cura-icon.js +1 -9
  188. package/dist/components/cura-icons-view.js +1 -67
  189. package/dist/components/cura-input-date.js +1 -286
  190. package/dist/components/cura-input-text.js +1 -9
  191. package/dist/components/cura-label.js +1 -9
  192. package/dist/components/cura-loader-bar.js +1 -9
  193. package/dist/components/cura-loader-circle.js +1 -9
  194. package/dist/components/cura-modal.js +1 -181
  195. package/dist/components/cura-page-template.js +1 -50
  196. package/dist/components/cura-paragraph.js +1 -9
  197. package/dist/components/cura-progress-bar.js +1 -9
  198. package/dist/components/cura-radio.js +1 -249
  199. package/dist/components/cura-select-option.js +1 -9
  200. package/dist/components/cura-select.js +1 -9
  201. package/dist/components/cura-stepper-item.js +1 -9
  202. package/dist/components/cura-stepper.js +1 -205
  203. package/dist/components/cura-switch.js +1 -201
  204. package/dist/components/cura-tabs-button.js +1 -148
  205. package/dist/components/cura-tabs-group.js +1 -64
  206. package/dist/components/cura-tabs-transparent.js +1 -141
  207. package/dist/components/cura-tabs.js +1 -146
  208. package/dist/components/cura-toast.js +1 -162
  209. package/dist/components/cura-tooltip.js +1 -291
  210. package/dist/components/index.d.ts +2 -0
  211. package/dist/components/index.js +1 -115
  212. package/dist/components/p-B2RN7oe_.js +1 -0
  213. package/dist/components/p-B8xnU6YS.js +1 -0
  214. package/dist/components/p-BSI2FkNn.js +1 -11
  215. package/dist/components/p-BSdkRryc.js +1 -0
  216. package/dist/components/p-BYA8glxD.js +1 -0
  217. package/dist/components/p-Bf21UQXV.js +1 -0
  218. package/dist/components/p-C7so9xnO.js +1 -0
  219. package/dist/components/p-CCkEqDZb.js +1 -0
  220. package/dist/components/p-CG1lz5DR.js +1 -0
  221. package/dist/components/p-CHcd-uKK.js +1 -11
  222. package/dist/components/p-CpmZ68rD.js +1 -0
  223. package/dist/components/p-D6xuYQiO.js +1 -0
  224. package/dist/components/p-D7WNwjv-.js +1 -0
  225. package/dist/components/p-DBXUEjWh.js +1 -0
  226. package/dist/components/p-DXlGQp3a.js +1 -0
  227. package/dist/components/p-Dot54hbB.js +1 -19
  228. package/dist/components/p-DxJedO3K.js +1 -0
  229. package/dist/components/p-fR02COZb.js +1 -0
  230. package/dist/components/p-fn4zJrKE.js +1 -0
  231. package/dist/cura/cura.esm.js +1 -2
  232. package/dist/cura/index.esm.js +1 -2
  233. package/dist/cura/p-1dc9c478.entry.js +1 -0
  234. package/dist/cura/p-27ba7ef5.entry.js +1 -0
  235. package/dist/cura/p-2db704a6.entry.js +1 -0
  236. package/dist/cura/p-2e2e2b4d.entry.js +1 -0
  237. package/dist/cura/p-31373db7.entry.js +1 -0
  238. package/dist/cura/p-3a3202f0.entry.js +1 -0
  239. package/dist/cura/p-42e72d12.entry.js +1 -0
  240. package/dist/cura/p-5357f7bd.entry.js +1 -0
  241. package/dist/cura/p-54624944.entry.js +1 -0
  242. package/dist/cura/p-582f8b72.entry.js +1 -0
  243. package/dist/cura/p-7965fe63.entry.js +1 -0
  244. package/dist/cura/p-964stZ3D.js +1 -2
  245. package/dist/cura/p-9de85de6.entry.js +1 -0
  246. package/dist/cura/p-BM8Akv15.js +1 -0
  247. package/dist/cura/p-BSI2FkNn.js +1 -2
  248. package/dist/cura/p-BTIDzOyO.js +1 -0
  249. package/dist/cura/p-BxFVLGIR.js +2 -0
  250. package/dist/cura/p-CHcd-uKK.js +1 -2
  251. package/dist/cura/p-DQopj-k5.js +1 -0
  252. package/dist/cura/p-DfJS7YqS.js +1 -0
  253. package/dist/cura/p-Dot54hbB.js +1 -2
  254. package/dist/cura/p-b14ae206.entry.js +1 -0
  255. package/dist/cura/p-b7369d04.entry.js +1 -0
  256. package/dist/cura/p-bf99e8bf.entry.js +1 -0
  257. package/dist/cura/p-c18d7f16.entry.js +1 -0
  258. package/dist/cura/p-c247c93b.entry.js +1 -0
  259. package/dist/cura/p-cbe8c690.entry.js +1 -0
  260. package/dist/cura/p-d2f670f6.entry.js +1 -0
  261. package/dist/cura/p-d5c6d2b4.entry.js +1 -0
  262. package/dist/cura/p-ddf4d240.entry.js +1 -0
  263. package/dist/cura/p-f534123f.entry.js +1 -0
  264. package/dist/cura/p-f911a6c5.entry.js +1 -0
  265. package/dist/cura/p-sjLA93YY.js +1 -2
  266. package/dist/esm/app-globals-B7bpkHH3.js +67 -0
  267. package/dist/esm/{cura-accordion_20.entry.js → cura-accordion_21.entry.js} +1956 -98
  268. package/dist/esm/cura-alert.entry.js +11 -11
  269. package/dist/esm/cura-badge-counter.entry.js +13 -10
  270. package/dist/esm/cura-badge-dot.entry.js +4 -7
  271. package/dist/esm/cura-badge-pill.entry.js +7 -8
  272. package/dist/esm/cura-button-outline.entry.js +15 -10
  273. package/dist/esm/cura-button-select.entry.js +10 -9
  274. package/dist/esm/cura-button.definitions-BSI2FkNn.js +0 -3
  275. package/dist/esm/cura-calendar.entry.js +12 -9
  276. package/dist/esm/cura-checkbox.entry.js +18 -11
  277. package/dist/esm/cura-display.entry.js +10 -9
  278. package/dist/esm/cura-dropdown-search-not-found.entry.js +4 -7
  279. package/dist/esm/cura-forms.definitions-Dot54hbB.js +0 -3
  280. package/dist/esm/cura-icon.definitions-sjLA93YY.js +0 -3
  281. package/dist/esm/cura-icons-view.entry.js +5 -8
  282. package/dist/esm/cura-input-date.entry.js +7 -8
  283. package/dist/esm/cura-loader-bar.entry.js +10 -9
  284. package/dist/esm/cura-modal.entry.js +19 -12
  285. package/dist/esm/cura-progress-bar_2.entry.js +6 -9
  286. package/dist/esm/cura-radio.entry.js +15 -10
  287. package/dist/esm/cura-stepper.entry.js +4 -7
  288. package/dist/esm/cura-switch.entry.js +13 -10
  289. package/dist/esm/cura-tabs-button.entry.js +7 -8
  290. package/dist/esm/cura-tabs-transparent.entry.js +7 -8
  291. package/dist/esm/cura-tabs.definitions-CHcd-uKK.js +0 -3
  292. package/dist/esm/{cura-theme-module-BPKQjAwN.js → cura-theme-module-BrK961-w.js} +3 -339
  293. package/dist/esm/cura-toast.entry.js +10 -9
  294. package/dist/esm/cura-tooltip.entry.js +4 -7
  295. package/dist/esm/cura.js +8 -8
  296. package/dist/esm/index-964stZ3D.js +0 -3
  297. package/dist/esm/{index-OdKytJIH.js → index-Ce1Pxw3V.js} +706 -579
  298. package/dist/esm/index.js +3 -4
  299. package/dist/esm/loader.js +7 -7
  300. package/dist/esm/static-DfJS7YqS.js +86 -0
  301. package/dist/esm/theme-legacy-default-BTIDzOyO.js +257 -0
  302. package/dist/types/components/cura-dropdown-search/cura-dropdown-search.d.ts +2 -0
  303. package/dist/types/components/forms/cura-select/cura-select.d.ts +21 -0
  304. package/dist/types/components.d.ts +559 -85
  305. package/dist/types/stencil-public-runtime.d.ts +169 -11
  306. package/package.json +4 -3
  307. package/dist/cjs/cura-accordion_20.cjs.entry.js.map +0 -1
  308. package/dist/cjs/cura-alert.cjs.entry.js.map +0 -1
  309. package/dist/cjs/cura-alert.entry.cjs.js.map +0 -1
  310. package/dist/cjs/cura-badge-counter.cjs.entry.js.map +0 -1
  311. package/dist/cjs/cura-badge-counter.entry.cjs.js.map +0 -1
  312. package/dist/cjs/cura-badge-dot.cjs.entry.js.map +0 -1
  313. package/dist/cjs/cura-badge-dot.entry.cjs.js.map +0 -1
  314. package/dist/cjs/cura-badge-pill.cjs.entry.js.map +0 -1
  315. package/dist/cjs/cura-badge-pill.entry.cjs.js.map +0 -1
  316. package/dist/cjs/cura-button-outline.cjs.entry.js.map +0 -1
  317. package/dist/cjs/cura-button-outline.entry.cjs.js.map +0 -1
  318. package/dist/cjs/cura-button-select.cjs.entry.js.map +0 -1
  319. package/dist/cjs/cura-button-select.entry.cjs.js.map +0 -1
  320. package/dist/cjs/cura-button.definitions-B3SK8MaV.js.map +0 -1
  321. package/dist/cjs/cura-calendar.cjs.entry.js.map +0 -1
  322. package/dist/cjs/cura-calendar.entry.cjs.js.map +0 -1
  323. package/dist/cjs/cura-card.cjs.entry.js +0 -81
  324. package/dist/cjs/cura-card.cjs.entry.js.map +0 -1
  325. package/dist/cjs/cura-card.entry.cjs.js.map +0 -1
  326. package/dist/cjs/cura-checkbox.cjs.entry.js.map +0 -1
  327. package/dist/cjs/cura-checkbox.entry.cjs.js.map +0 -1
  328. package/dist/cjs/cura-display.cjs.entry.js.map +0 -1
  329. package/dist/cjs/cura-display.entry.cjs.js.map +0 -1
  330. package/dist/cjs/cura-dropdown-search-not-found.cjs.entry.js.map +0 -1
  331. package/dist/cjs/cura-dropdown-search-not-found.entry.cjs.js.map +0 -1
  332. package/dist/cjs/cura-forms.definitions-DVLuO67c.js.map +0 -1
  333. package/dist/cjs/cura-icon.definitions-DT0wF67y.js.map +0 -1
  334. package/dist/cjs/cura-icons-view.cjs.entry.js.map +0 -1
  335. package/dist/cjs/cura-icons-view.entry.cjs.js.map +0 -1
  336. package/dist/cjs/cura-input-date.cjs.entry.js.map +0 -1
  337. package/dist/cjs/cura-input-date.entry.cjs.js.map +0 -1
  338. package/dist/cjs/cura-loader-bar.cjs.entry.js.map +0 -1
  339. package/dist/cjs/cura-loader-bar.entry.cjs.js.map +0 -1
  340. package/dist/cjs/cura-modal.cjs.entry.js.map +0 -1
  341. package/dist/cjs/cura-modal.entry.cjs.js.map +0 -1
  342. package/dist/cjs/cura-progress-bar.cura-stepper-item.entry.cjs.js.map +0 -1
  343. package/dist/cjs/cura-progress-bar_2.cjs.entry.js.map +0 -1
  344. package/dist/cjs/cura-radio.cjs.entry.js.map +0 -1
  345. package/dist/cjs/cura-radio.entry.cjs.js.map +0 -1
  346. package/dist/cjs/cura-stepper.cjs.entry.js.map +0 -1
  347. package/dist/cjs/cura-stepper.entry.cjs.js.map +0 -1
  348. package/dist/cjs/cura-switch.cjs.entry.js.map +0 -1
  349. package/dist/cjs/cura-switch.entry.cjs.js.map +0 -1
  350. package/dist/cjs/cura-tabs-button.cjs.entry.js.map +0 -1
  351. package/dist/cjs/cura-tabs-button.entry.cjs.js.map +0 -1
  352. package/dist/cjs/cura-tabs-transparent.cjs.entry.js.map +0 -1
  353. package/dist/cjs/cura-tabs-transparent.entry.cjs.js.map +0 -1
  354. package/dist/cjs/cura-tabs.definitions-CGqqGE2e.js.map +0 -1
  355. package/dist/cjs/cura-theme-module-CJkmAxBA.js +0 -574
  356. package/dist/cjs/cura-theme-module-CJkmAxBA.js.map +0 -1
  357. package/dist/cjs/cura-toast.cjs.entry.js.map +0 -1
  358. package/dist/cjs/cura-toast.entry.cjs.js.map +0 -1
  359. package/dist/cjs/cura-tooltip.cjs.entry.js.map +0 -1
  360. package/dist/cjs/cura-tooltip.entry.cjs.js.map +0 -1
  361. package/dist/cjs/cura.cjs.js.map +0 -1
  362. package/dist/cjs/index-BK9MSAiE.js.map +0 -1
  363. package/dist/cjs/index-EyP6Zlkd.js.map +0 -1
  364. package/dist/cjs/index.cjs.js.map +0 -1
  365. package/dist/cjs/loader.cjs.js.map +0 -1
  366. package/dist/collection/api/cura-api.js.map +0 -1
  367. package/dist/collection/api/cura-api.type.js.map +0 -1
  368. package/dist/collection/api/modules/cura-theme-breakpoints-module.js.map +0 -1
  369. package/dist/collection/api/modules/cura-theme-colors-module.js.map +0 -1
  370. package/dist/collection/api/modules/cura-theme-fonts-module.js.map +0 -1
  371. package/dist/collection/api/modules/cura-theme-module.js.map +0 -1
  372. package/dist/collection/api/modules/cura-theme-spacing-module.js.map +0 -1
  373. package/dist/collection/api/theme-presets/static.js.map +0 -1
  374. package/dist/collection/api/theme-presets/theme-default.js.map +0 -1
  375. package/dist/collection/api/theme-presets/theme-legacy-default.js.map +0 -1
  376. package/dist/collection/api/theme-presets/theme-maternity.js.map +0 -1
  377. package/dist/collection/api/theme-presets/theme-oncology.js.map +0 -1
  378. package/dist/collection/api/theme-presets/theme-perinatal-temporary.js.map +0 -1
  379. package/dist/collection/api/theme-presets/theme-presets.js.map +0 -1
  380. package/dist/collection/api/theme-presets/theme-richet.js.map +0 -1
  381. package/dist/collection/assets/icons/iconset-default-list.js.map +0 -1
  382. package/dist/collection/components/accordion/cura-accordion/cura-accordion.js.map +0 -1
  383. package/dist/collection/components/accordion/cura-accordion/cura-accordion.stories.js.map +0 -1
  384. package/dist/collection/components/accordion/cura-accordion-item/cura-accordion-item.js.map +0 -1
  385. package/dist/collection/components/badges/cura-badge-counter/cura-badge-counter.js.map +0 -1
  386. package/dist/collection/components/badges/cura-badge-counter/cura-badge-counter.stories.js.map +0 -1
  387. package/dist/collection/components/badges/cura-badge-distance/cura-badge-distance.js.map +0 -1
  388. package/dist/collection/components/badges/cura-badge-distance/cura-badge-distance.stories.js.map +0 -1
  389. package/dist/collection/components/badges/cura-badge-dot/cura-badge-dot.js.map +0 -1
  390. package/dist/collection/components/badges/cura-badge-dot/cura-badge-dot.stories.js.map +0 -1
  391. package/dist/collection/components/badges/cura-badge-pill/cura-badge-pill.js.map +0 -1
  392. package/dist/collection/components/badges/cura-badge-pill/cura-badge-pill.stories.js.map +0 -1
  393. package/dist/collection/components/buttons/cura-button/cura-button.js.map +0 -1
  394. package/dist/collection/components/buttons/cura-button/cura-button.stories.js.map +0 -1
  395. package/dist/collection/components/buttons/cura-button-outline/cura-button-outline.js.map +0 -1
  396. package/dist/collection/components/buttons/cura-button-outline/cura-button-outline.stories.js.map +0 -1
  397. package/dist/collection/components/buttons/cura-button-select/cura-button-select.js.map +0 -1
  398. package/dist/collection/components/buttons/cura-button-select/cura-button-select.stories.js.map +0 -1
  399. package/dist/collection/components/buttons/cura-button-transparent/cura-button-transparent.js.map +0 -1
  400. package/dist/collection/components/buttons/cura-button-transparent/cura-button-transparent.stories.js.map +0 -1
  401. package/dist/collection/components/buttons/cura-button.definitions.js.map +0 -1
  402. package/dist/collection/components/cura-alert/cura-alert.js.map +0 -1
  403. package/dist/collection/components/cura-alert/cura-alert.stories.js.map +0 -1
  404. package/dist/collection/components/cura-avatar/cura-avatar.definitions.js.map +0 -1
  405. package/dist/collection/components/cura-avatar/cura-avatar.js.map +0 -1
  406. package/dist/collection/components/cura-avatar/cura-avatar.stories.js.map +0 -1
  407. package/dist/collection/components/cura-calendar/cura-calendar.js.map +0 -1
  408. package/dist/collection/components/cura-calendar/cura-calendar.stories.js.map +0 -1
  409. package/dist/collection/components/cura-card/cura-card.js.map +0 -1
  410. package/dist/collection/components/cura-card/cura-card.stories.js.map +0 -1
  411. package/dist/collection/components/cura-dropdown-search/cura-dropdown-search-category/cura-dropdown-search-category.js.map +0 -1
  412. package/dist/collection/components/cura-dropdown-search/cura-dropdown-search-category/cura-dropdown-search-category.stories.js.map +0 -1
  413. package/dist/collection/components/cura-dropdown-search/cura-dropdown-search-not-found/cura-dropdown-search-not-found.js.map +0 -1
  414. package/dist/collection/components/cura-dropdown-search/cura-dropdown-search-not-found/cura-dropdown-search-not-found.stories.js.map +0 -1
  415. package/dist/collection/components/cura-dropdown-search/cura-dropdown-search-option/cura-dropdown-search-option.js.map +0 -1
  416. package/dist/collection/components/cura-dropdown-search/cura-dropdown-search-option/cura-dropdown-search-option.stories.js.map +0 -1
  417. package/dist/collection/components/cura-dropdown-search/cura-dropdown-search.js.map +0 -1
  418. package/dist/collection/components/cura-dropdown-search/cura-dropdown-search.stories.js.map +0 -1
  419. package/dist/collection/components/cura-icon/cura-icon.definitions.js.map +0 -1
  420. package/dist/collection/components/cura-icon/cura-icon.js.map +0 -1
  421. package/dist/collection/components/cura-icon/cura-icon.stories.js.map +0 -1
  422. package/dist/collection/components/cura-icons-view/cura-icons-view.js.map +0 -1
  423. package/dist/collection/components/cura-icons-view/cura-icons-view.stories.js.map +0 -1
  424. package/dist/collection/components/cura-modal/cura-modal.js.map +0 -1
  425. package/dist/collection/components/cura-modal/cura-modal.stories.js.map +0 -1
  426. package/dist/collection/components/cura-page-template/cura-page-template.js.map +0 -1
  427. package/dist/collection/components/cura-stepper/cura-progress-bar/cura-progress-bar.js.map +0 -1
  428. package/dist/collection/components/cura-stepper/cura-stepper-item/cura-stepper-item.js.map +0 -1
  429. package/dist/collection/components/cura-stepper/cura-stepper.js.map +0 -1
  430. package/dist/collection/components/cura-stepper/cura-stepper.stories.js.map +0 -1
  431. package/dist/collection/components/cura-stepper/stepper.type.js.map +0 -1
  432. package/dist/collection/components/cura-toast/cura-toast.js.map +0 -1
  433. package/dist/collection/components/cura-toast/cura-toast.stories.js.map +0 -1
  434. package/dist/collection/components/cura-tooltip/cura-tooltip.js.map +0 -1
  435. package/dist/collection/components/cura-tooltip/cura-tooltip.stories.js.map +0 -1
  436. package/dist/collection/components/forms/cura-checkbox/cura-checkbox.js.map +0 -1
  437. package/dist/collection/components/forms/cura-checkbox/cura-checkbox.stories.js.map +0 -1
  438. package/dist/collection/components/forms/cura-forms.definitions.js.map +0 -1
  439. package/dist/collection/components/forms/cura-input-date/cura-input-date.js.map +0 -1
  440. package/dist/collection/components/forms/cura-input-date/cura-input-date.stories.js.map +0 -1
  441. package/dist/collection/components/forms/cura-input-text/cura-input-text.js.map +0 -1
  442. package/dist/collection/components/forms/cura-input-text/cura-input-text.stories.js.map +0 -1
  443. package/dist/collection/components/forms/cura-input-text/mask-presets/input-mask-presets.js.map +0 -1
  444. package/dist/collection/components/forms/cura-label/cura-label.js.map +0 -1
  445. package/dist/collection/components/forms/cura-label/cura-label.stories.js.map +0 -1
  446. package/dist/collection/components/forms/cura-radio/cura-radio.js.map +0 -1
  447. package/dist/collection/components/forms/cura-radio/cura-radio.stories.js.map +0 -1
  448. package/dist/collection/components/forms/cura-select/cura-select.js.map +0 -1
  449. package/dist/collection/components/forms/cura-select/cura-select.stories.js.map +0 -1
  450. package/dist/collection/components/forms/cura-select-options/cura-select-option.js.map +0 -1
  451. package/dist/collection/components/forms/cura-switch/cura-switch.js.map +0 -1
  452. package/dist/collection/components/forms/cura-switch/cura-switch.stories.js.map +0 -1
  453. package/dist/collection/components/loaders/cura-loader-bar/cura-loader-bar.js.map +0 -1
  454. package/dist/collection/components/loaders/cura-loader-bar/cura-loader-bar.stories.js.map +0 -1
  455. package/dist/collection/components/loaders/cura-loader-circle/cura-loader-circle.js.map +0 -1
  456. package/dist/collection/components/loaders/cura-loader-circle/cura-loader-circle.stories.js.map +0 -1
  457. package/dist/collection/components/tabs/cura-tabs/cura-tabs.js.map +0 -1
  458. package/dist/collection/components/tabs/cura-tabs/cura-tabs.stories.js.map +0 -1
  459. package/dist/collection/components/tabs/cura-tabs-button/cura-tabs-button.js.map +0 -1
  460. package/dist/collection/components/tabs/cura-tabs-button/cura-tabs-button.stories.js.map +0 -1
  461. package/dist/collection/components/tabs/cura-tabs-group/cura-tabs-group.js.map +0 -1
  462. package/dist/collection/components/tabs/cura-tabs-group/cura-tabs-group.stories.js.map +0 -1
  463. package/dist/collection/components/tabs/cura-tabs-transparent/cura-tabs-transparent.js.map +0 -1
  464. package/dist/collection/components/tabs/cura-tabs-transparent/cura-tabs-transparent.stories.js.map +0 -1
  465. package/dist/collection/components/tabs/cura-tabs.definitions.js.map +0 -1
  466. package/dist/collection/components/text/cura-display/cura-display.js.map +0 -1
  467. package/dist/collection/components/text/cura-display/cura-display.stories.js.map +0 -1
  468. package/dist/collection/components/text/cura-heading/cura-heading.js.map +0 -1
  469. package/dist/collection/components/text/cura-heading/cura-heading.stories.js.map +0 -1
  470. package/dist/collection/components/text/cura-paragraph/cura-paragraph.js.map +0 -1
  471. package/dist/collection/components/text/cura-paragraph/cura-paragraph.stories.js.map +0 -1
  472. package/dist/collection/index.js.map +0 -1
  473. package/dist/collection/rededor-cura-start.js.map +0 -1
  474. package/dist/collection/utils/FixedElementScrollBehavior.js.map +0 -1
  475. package/dist/collection/utils/utils.js.map +0 -1
  476. package/dist/components/cura-accordion-item.js.map +0 -1
  477. package/dist/components/cura-accordion.js.map +0 -1
  478. package/dist/components/cura-alert.js.map +0 -1
  479. package/dist/components/cura-avatar.js.map +0 -1
  480. package/dist/components/cura-badge-counter.js.map +0 -1
  481. package/dist/components/cura-badge-distance.js.map +0 -1
  482. package/dist/components/cura-badge-dot.js.map +0 -1
  483. package/dist/components/cura-badge-pill.js.map +0 -1
  484. package/dist/components/cura-button-outline.js.map +0 -1
  485. package/dist/components/cura-button-select.js.map +0 -1
  486. package/dist/components/cura-button-transparent.js.map +0 -1
  487. package/dist/components/cura-button.js.map +0 -1
  488. package/dist/components/cura-calendar.js.map +0 -1
  489. package/dist/components/cura-card.js.map +0 -1
  490. package/dist/components/cura-checkbox.js.map +0 -1
  491. package/dist/components/cura-display.js.map +0 -1
  492. package/dist/components/cura-dropdown-search-category.js.map +0 -1
  493. package/dist/components/cura-dropdown-search-not-found.js.map +0 -1
  494. package/dist/components/cura-dropdown-search-option.js.map +0 -1
  495. package/dist/components/cura-dropdown-search.js.map +0 -1
  496. package/dist/components/cura-heading.js.map +0 -1
  497. package/dist/components/cura-icon.js.map +0 -1
  498. package/dist/components/cura-icons-view.js.map +0 -1
  499. package/dist/components/cura-input-date.js.map +0 -1
  500. package/dist/components/cura-input-text.js.map +0 -1
  501. package/dist/components/cura-label.js.map +0 -1
  502. package/dist/components/cura-loader-bar.js.map +0 -1
  503. package/dist/components/cura-loader-circle.js.map +0 -1
  504. package/dist/components/cura-modal.js.map +0 -1
  505. package/dist/components/cura-page-template.js.map +0 -1
  506. package/dist/components/cura-paragraph.js.map +0 -1
  507. package/dist/components/cura-progress-bar.js.map +0 -1
  508. package/dist/components/cura-radio.js.map +0 -1
  509. package/dist/components/cura-select-option.js.map +0 -1
  510. package/dist/components/cura-select.js.map +0 -1
  511. package/dist/components/cura-stepper-item.js.map +0 -1
  512. package/dist/components/cura-stepper.js.map +0 -1
  513. package/dist/components/cura-switch.js.map +0 -1
  514. package/dist/components/cura-tabs-button.js.map +0 -1
  515. package/dist/components/cura-tabs-group.js.map +0 -1
  516. package/dist/components/cura-tabs-transparent.js.map +0 -1
  517. package/dist/components/cura-tabs.js.map +0 -1
  518. package/dist/components/cura-toast.js.map +0 -1
  519. package/dist/components/cura-tooltip.js.map +0 -1
  520. package/dist/components/index.js.map +0 -1
  521. package/dist/components/p-B5aO1chh.js +0 -85
  522. package/dist/components/p-B5aO1chh.js.map +0 -1
  523. package/dist/components/p-BGnJiNyu.js +0 -7032
  524. package/dist/components/p-BGnJiNyu.js.map +0 -1
  525. package/dist/components/p-BHEafDKD.js +0 -127
  526. package/dist/components/p-BHEafDKD.js.map +0 -1
  527. package/dist/components/p-BRDqwZ4N.js +0 -187
  528. package/dist/components/p-BRDqwZ4N.js.map +0 -1
  529. package/dist/components/p-BSI2FkNn.js.map +0 -1
  530. package/dist/components/p-BTt-pVTn.js +0 -442
  531. package/dist/components/p-BTt-pVTn.js.map +0 -1
  532. package/dist/components/p-C72aF-gL.js +0 -99
  533. package/dist/components/p-C72aF-gL.js.map +0 -1
  534. package/dist/components/p-CHcd-uKK.js.map +0 -1
  535. package/dist/components/p-CgMS6FUK.js +0 -4137
  536. package/dist/components/p-CgMS6FUK.js.map +0 -1
  537. package/dist/components/p-D1cPOZpG.js +0 -2617
  538. package/dist/components/p-D1cPOZpG.js.map +0 -1
  539. package/dist/components/p-DI4g-ZH4.js +0 -101
  540. package/dist/components/p-DI4g-ZH4.js.map +0 -1
  541. package/dist/components/p-DR1RHrEX.js +0 -120
  542. package/dist/components/p-DR1RHrEX.js.map +0 -1
  543. package/dist/components/p-DaPc6Dxl.js +0 -125
  544. package/dist/components/p-DaPc6Dxl.js.map +0 -1
  545. package/dist/components/p-Dot54hbB.js.map +0 -1
  546. package/dist/components/p-DpIu_Oxz.js +0 -86
  547. package/dist/components/p-DpIu_Oxz.js.map +0 -1
  548. package/dist/components/p-Dqm2sAwv.js +0 -58
  549. package/dist/components/p-Dqm2sAwv.js.map +0 -1
  550. package/dist/components/p-FTSrgi0q.js +0 -51
  551. package/dist/components/p-FTSrgi0q.js.map +0 -1
  552. package/dist/components/p-KIQMkSRF.js +0 -64
  553. package/dist/components/p-KIQMkSRF.js.map +0 -1
  554. package/dist/components/p-cOEGtL9C.js +0 -131
  555. package/dist/components/p-cOEGtL9C.js.map +0 -1
  556. package/dist/cura/cura-alert.entry.esm.js.map +0 -1
  557. package/dist/cura/cura-badge-counter.entry.esm.js.map +0 -1
  558. package/dist/cura/cura-badge-dot.entry.esm.js.map +0 -1
  559. package/dist/cura/cura-badge-pill.entry.esm.js.map +0 -1
  560. package/dist/cura/cura-button-outline.entry.esm.js.map +0 -1
  561. package/dist/cura/cura-button-select.entry.esm.js.map +0 -1
  562. package/dist/cura/cura-calendar.entry.esm.js.map +0 -1
  563. package/dist/cura/cura-card.entry.esm.js.map +0 -1
  564. package/dist/cura/cura-checkbox.entry.esm.js.map +0 -1
  565. package/dist/cura/cura-display.entry.esm.js.map +0 -1
  566. package/dist/cura/cura-dropdown-search-not-found.entry.esm.js.map +0 -1
  567. package/dist/cura/cura-icons-view.entry.esm.js.map +0 -1
  568. package/dist/cura/cura-input-date.entry.esm.js.map +0 -1
  569. package/dist/cura/cura-loader-bar.entry.esm.js.map +0 -1
  570. package/dist/cura/cura-modal.entry.esm.js.map +0 -1
  571. package/dist/cura/cura-progress-bar.cura-stepper-item.entry.esm.js.map +0 -1
  572. package/dist/cura/cura-radio.entry.esm.js.map +0 -1
  573. package/dist/cura/cura-stepper.entry.esm.js.map +0 -1
  574. package/dist/cura/cura-switch.entry.esm.js.map +0 -1
  575. package/dist/cura/cura-tabs-button.entry.esm.js.map +0 -1
  576. package/dist/cura/cura-tabs-transparent.entry.esm.js.map +0 -1
  577. package/dist/cura/cura-toast.entry.esm.js.map +0 -1
  578. package/dist/cura/cura-tooltip.entry.esm.js.map +0 -1
  579. package/dist/cura/cura.esm.js.map +0 -1
  580. package/dist/cura/index.esm.js.map +0 -1
  581. package/dist/cura/loader.esm.js.map +0 -1
  582. package/dist/cura/p-077019da.entry.js +0 -2
  583. package/dist/cura/p-077019da.entry.js.map +0 -1
  584. package/dist/cura/p-07783235.entry.js +0 -2
  585. package/dist/cura/p-07783235.entry.js.map +0 -1
  586. package/dist/cura/p-090e297c.entry.js +0 -2
  587. package/dist/cura/p-090e297c.entry.js.map +0 -1
  588. package/dist/cura/p-16c0b52c.entry.js +0 -2
  589. package/dist/cura/p-16c0b52c.entry.js.map +0 -1
  590. package/dist/cura/p-2632183e.entry.js +0 -2
  591. package/dist/cura/p-2632183e.entry.js.map +0 -1
  592. package/dist/cura/p-32015dcc.entry.js +0 -2
  593. package/dist/cura/p-32015dcc.entry.js.map +0 -1
  594. package/dist/cura/p-32f94709.entry.js +0 -2
  595. package/dist/cura/p-32f94709.entry.js.map +0 -1
  596. package/dist/cura/p-3d6040e2.entry.js +0 -2
  597. package/dist/cura/p-3d6040e2.entry.js.map +0 -1
  598. package/dist/cura/p-4ac578a6.entry.js +0 -2
  599. package/dist/cura/p-4ac578a6.entry.js.map +0 -1
  600. package/dist/cura/p-4bde448e.entry.js +0 -2
  601. package/dist/cura/p-4bde448e.entry.js.map +0 -1
  602. package/dist/cura/p-5ed7ce95.entry.js +0 -2
  603. package/dist/cura/p-5ed7ce95.entry.js.map +0 -1
  604. package/dist/cura/p-6feba852.entry.js +0 -2
  605. package/dist/cura/p-6feba852.entry.js.map +0 -1
  606. package/dist/cura/p-7586fd07.entry.js +0 -2
  607. package/dist/cura/p-7586fd07.entry.js.map +0 -1
  608. package/dist/cura/p-76cbb798.entry.js +0 -2
  609. package/dist/cura/p-76cbb798.entry.js.map +0 -1
  610. package/dist/cura/p-7fd143aa.entry.js +0 -2
  611. package/dist/cura/p-7fd143aa.entry.js.map +0 -1
  612. package/dist/cura/p-8c83f259.entry.js +0 -2
  613. package/dist/cura/p-8c83f259.entry.js.map +0 -1
  614. package/dist/cura/p-95cd7918.entry.js +0 -2
  615. package/dist/cura/p-95cd7918.entry.js.map +0 -1
  616. package/dist/cura/p-964stZ3D.js.map +0 -1
  617. package/dist/cura/p-9ef5444e.entry.js +0 -2
  618. package/dist/cura/p-9ef5444e.entry.js.map +0 -1
  619. package/dist/cura/p-BPKQjAwN.js +0 -2
  620. package/dist/cura/p-BPKQjAwN.js.map +0 -1
  621. package/dist/cura/p-BSI2FkNn.js.map +0 -1
  622. package/dist/cura/p-CHcd-uKK.js.map +0 -1
  623. package/dist/cura/p-Dot54hbB.js.map +0 -1
  624. package/dist/cura/p-PPMZr_VE.js +0 -3
  625. package/dist/cura/p-PPMZr_VE.js.map +0 -1
  626. package/dist/cura/p-c6f240f0.entry.js +0 -2
  627. package/dist/cura/p-c6f240f0.entry.js.map +0 -1
  628. package/dist/cura/p-ceb646df.entry.js +0 -2
  629. package/dist/cura/p-ceb646df.entry.js.map +0 -1
  630. package/dist/cura/p-d040f8b9.entry.js +0 -2
  631. package/dist/cura/p-d040f8b9.entry.js.map +0 -1
  632. package/dist/cura/p-d8aeca82.entry.js +0 -2
  633. package/dist/cura/p-d8aeca82.entry.js.map +0 -1
  634. package/dist/cura/p-deb0b764.entry.js +0 -2
  635. package/dist/cura/p-deb0b764.entry.js.map +0 -1
  636. package/dist/cura/p-f9af3a3b.entry.js +0 -2
  637. package/dist/cura/p-f9af3a3b.entry.js.map +0 -1
  638. package/dist/cura/p-sjLA93YY.js.map +0 -1
  639. package/dist/esm/cura-accordion_20.entry.js.map +0 -1
  640. package/dist/esm/cura-alert.entry.js.map +0 -1
  641. package/dist/esm/cura-badge-counter.entry.js.map +0 -1
  642. package/dist/esm/cura-badge-dot.entry.js.map +0 -1
  643. package/dist/esm/cura-badge-pill.entry.js.map +0 -1
  644. package/dist/esm/cura-button-outline.entry.js.map +0 -1
  645. package/dist/esm/cura-button-select.entry.js.map +0 -1
  646. package/dist/esm/cura-button.definitions-BSI2FkNn.js.map +0 -1
  647. package/dist/esm/cura-calendar.entry.js.map +0 -1
  648. package/dist/esm/cura-card.entry.js +0 -79
  649. package/dist/esm/cura-card.entry.js.map +0 -1
  650. package/dist/esm/cura-checkbox.entry.js.map +0 -1
  651. package/dist/esm/cura-display.entry.js.map +0 -1
  652. package/dist/esm/cura-dropdown-search-not-found.entry.js.map +0 -1
  653. package/dist/esm/cura-forms.definitions-Dot54hbB.js.map +0 -1
  654. package/dist/esm/cura-icon.definitions-sjLA93YY.js.map +0 -1
  655. package/dist/esm/cura-icons-view.entry.js.map +0 -1
  656. package/dist/esm/cura-input-date.entry.js.map +0 -1
  657. package/dist/esm/cura-loader-bar.entry.js.map +0 -1
  658. package/dist/esm/cura-modal.entry.js.map +0 -1
  659. package/dist/esm/cura-progress-bar.cura-stepper-item.entry.js.map +0 -1
  660. package/dist/esm/cura-progress-bar_2.entry.js.map +0 -1
  661. package/dist/esm/cura-radio.entry.js.map +0 -1
  662. package/dist/esm/cura-stepper.entry.js.map +0 -1
  663. package/dist/esm/cura-switch.entry.js.map +0 -1
  664. package/dist/esm/cura-tabs-button.entry.js.map +0 -1
  665. package/dist/esm/cura-tabs-transparent.entry.js.map +0 -1
  666. package/dist/esm/cura-tabs.definitions-CHcd-uKK.js.map +0 -1
  667. package/dist/esm/cura-theme-module-BPKQjAwN.js.map +0 -1
  668. package/dist/esm/cura-toast.entry.js.map +0 -1
  669. package/dist/esm/cura-tooltip.entry.js.map +0 -1
  670. package/dist/esm/cura.js.map +0 -1
  671. package/dist/esm/index-964stZ3D.js.map +0 -1
  672. package/dist/esm/index-OdKytJIH.js.map +0 -1
  673. package/dist/esm/index.js.map +0 -1
  674. package/dist/esm/loader.js.map +0 -1
@@ -1,12 +1,13 @@
1
1
  'use strict';
2
2
 
3
- var index = require('./index-BK9MSAiE.js');
3
+ var index = require('./index-BLhmsPd0.js');
4
4
  var curaButton_definitions = require('./cura-button.definitions-B3SK8MaV.js');
5
- var curaThemeModule = require('./cura-theme-module-CJkmAxBA.js');
5
+ var _static = require('./static-DHz-FA_O.js');
6
6
  var curaIcon_definitions = require('./cura-icon.definitions-DT0wF67y.js');
7
7
  var curaTabs_definitions = require('./cura-tabs.definitions-CGqqGE2e.js');
8
+ require('./theme-legacy-default-COE-hjD7.js');
8
9
 
9
- 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)}";
10
+ const curaAccordionCss = () => `:host{display:block;color:var(--font-color);font-size:var(--font-size);font-size:var(--font-size);font-family:var(--font-family);font-weight:var(--font-weight-regular)}`;
10
11
 
11
12
  const CuraAccordion = class {
12
13
  constructor(hostRef) {
@@ -108,12 +109,14 @@ const CuraAccordion = class {
108
109
  }
109
110
  get host() { return index.getElement(this); }
110
111
  static get watchers() { return {
111
- "color": ["handleChangeColor"]
112
+ "color": [{
113
+ "handleChangeColor": 0
114
+ }]
112
115
  }; }
113
116
  };
114
- CuraAccordion.style = curaAccordionCss;
117
+ CuraAccordion.style = curaAccordionCss();
115
118
 
116
- 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}}";
119
+ 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}}`;
117
120
 
118
121
  const CuraAccordionItem = class {
119
122
  constructor(hostRef) {
@@ -166,7 +169,7 @@ const CuraAccordionItem = class {
166
169
  return (index.h(index.Host, { key: '3dd53ab4a597b1726045ec4d3ed066c6c30050d0', slot: "accordion-item" }, index.h("div", { key: '209291c7c9b587ac546e8b9e40b7d94a11a2489e', class: this.getClasses(), style: this.styles }, index.h("div", { key: '9c2de1103c7f30bc9d2cb0a86fc660c98b94be84', class: "label", onClick: e => this.accordionItemClick(e) }, index.h("div", { key: '052a8be2c00edf3907e49970120d9b65937ab031', class: "label-container" }, index.h("div", { key: 'da543cdbcb0c0d5f691c3d2fcabfbfc9ec46f506', class: "label-content" }, this.renderIcon(), index.h("cura-heading", { key: 'f587de080f2c1779ffacf0b557827c24edf5e1ee', size: "small", level: this.level, weight: 'bold', "margin-block": "0", color: "neutral-black" }, this.label)), index.h("cura-icon", { key: '611b48e32dfd7056a563aab56401feb3c8febee2', name: this.opened ? this.closeIcon : this.openIcon, size: this.iconSize, color: "neutral-black" }))), index.h("div", { key: 'e1d5e606f3e9415570a2a5c2ba3d96264d430bd0', class: 'content' }, index.h("div", { key: '62b76ef21093a4d051120e2502936049a186c36a', class: "content-wrapper" }, index.h("slot", { key: '646b3d0163edf473c1a2e824f251f4db85b2fc18' }))))));
167
170
  }
168
171
  };
169
- CuraAccordionItem.style = curaAccordionItemCss;
172
+ CuraAccordionItem.style = curaAccordionItemCss();
170
173
 
171
174
  const avatarSizes = {
172
175
  '80': { border: 2.5 },
@@ -175,7 +178,7 @@ const avatarSizes = {
175
178
  '24': { border: 1.75 },
176
179
  };
177
180
 
178
- 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%}";
181
+ 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%}`;
179
182
 
180
183
  const CuraAvatar = class {
181
184
  constructor(hostRef) {
@@ -238,12 +241,14 @@ const CuraAvatar = class {
238
241
  }
239
242
  get host() { return index.getElement(this); }
240
243
  static get watchers() { return {
241
- "size": ["sizeHandler"]
244
+ "size": [{
245
+ "sizeHandler": 0
246
+ }]
242
247
  }; }
243
248
  };
244
- CuraAvatar.style = curaAvatarCss;
249
+ CuraAvatar.style = curaAvatarCss();
245
250
 
246
- 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)}";
251
+ 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)}`;
247
252
 
248
253
  const CuraDistance = class {
249
254
  constructor(hostRef) {
@@ -274,12 +279,14 @@ const CuraDistance = class {
274
279
  };
275
280
  }
276
281
  static get watchers() { return {
277
- "distance": ["formatDistance"]
282
+ "distance": [{
283
+ "formatDistance": 0
284
+ }]
278
285
  }; }
279
286
  };
280
- CuraDistance.style = curaBadgeDistanceCss;
287
+ CuraDistance.style = curaBadgeDistanceCss();
281
288
 
282
- 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}";
289
+ 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}`;
283
290
 
284
291
  const CuraButton = class {
285
292
  constructor(hostRef) {
@@ -394,12 +401,12 @@ const CuraButton = class {
394
401
  return index.h("cura-icon", { name: this.iconName, iconset: this.iconset, size: iconSize, color: this.getSymbolColor() });
395
402
  }
396
403
  getSymbolColor() {
397
- if (this.isLoading && this.fontColor === 'light' ? 'neutral-white' : 'neutral-black')
398
- return this.disabled
399
- ? 'neutral-dark'
400
- : this.fontColor === 'light'
401
- ? 'neutral-white'
402
- : 'neutral-black';
404
+ // if (this.isLoading && this.fontColor === 'light' ? 'neutral-white' : 'neutral-black')
405
+ return this.disabled
406
+ ? 'neutral-dark'
407
+ : this.fontColor === 'light'
408
+ ? 'neutral-white'
409
+ : 'neutral-black';
403
410
  }
404
411
  handleClick(e) {
405
412
  if (this.disabled || this.isLoading) {
@@ -416,17 +423,21 @@ const CuraButton = class {
416
423
  render() {
417
424
  const symbolColor = this.getSymbolColor();
418
425
  const labelSize = curaButton_definitions.labelSizes[this.size] || curaButton_definitions.labelSizes["default"];
419
- return (index.h(index.Host, { key: '2af171ed5b5a3ce783c6729503e27b01e3e84d01', role: this.href ? 'link' : this.type, "aria-disabled": this.disabled }, this.href ? (index.h("a", { href: this.disabled ? '' : this.href, target: this.target, class: this.getClasses(), style: this.styles, onClick: (e) => this.handleClick(e), onMouseEnter: () => this.handleMouseEnter(), onMouseLeave: () => this.handleMouseLeave() }, index.h("span", { class: "button-container" }, this.getIcon(), index.h("cura-label", { class: "label", size: labelSize, lineHeight: 'normal', color: symbolColor }, index.h("slot", null))), index.h("cura-loader-circle", { size: this.size, color: symbolColor }))) : (index.h("button", { class: this.getClasses(), style: this.styles, disabled: this.disabled || null, onClick: (e) => this.handleClick(e), onMouseEnter: () => this.handleMouseEnter(), onMouseLeave: () => this.handleMouseLeave(), type: this.type }, index.h("span", { class: "button-container" }, this.getIcon(), index.h("cura-label", { class: "label", size: labelSize, lineHeight: 'normal', color: symbolColor }, index.h("slot", null))), index.h("cura-loader-circle", { size: this.size, color: symbolColor })))));
426
+ return (index.h(index.Host, { key: '7f9528e42c3c38a3aed09ac8bbe669aabde4c0d9', role: this.href ? 'link' : this.type, "aria-disabled": this.disabled }, this.href ? (index.h("a", { href: this.disabled ? '' : this.href, target: this.target, class: this.getClasses(), style: this.styles, onClick: (e) => this.handleClick(e), onMouseEnter: () => this.handleMouseEnter(), onMouseLeave: () => this.handleMouseLeave() }, index.h("span", { class: "button-container" }, this.getIcon(), index.h("cura-label", { class: "label", size: labelSize, lineHeight: 'normal', color: symbolColor }, index.h("slot", null))), index.h("cura-loader-circle", { size: this.size, color: symbolColor }))) : (index.h("button", { class: this.getClasses(), style: this.styles, disabled: this.disabled || null, onClick: (e) => this.handleClick(e), onMouseEnter: () => this.handleMouseEnter(), onMouseLeave: () => this.handleMouseLeave(), type: this.type }, index.h("span", { class: "button-container" }, this.getIcon(), index.h("cura-label", { class: "label", size: labelSize, lineHeight: 'normal', color: symbolColor }, index.h("slot", null))), index.h("cura-loader-circle", { size: this.size, color: symbolColor })))));
420
427
  }
421
428
  static get formAssociated() { return true; }
422
429
  static get watchers() { return {
423
- "background": ["setColors"],
424
- "color": ["setColors"]
430
+ "background": [{
431
+ "setColors": 0
432
+ }],
433
+ "color": [{
434
+ "setColors": 0
435
+ }]
425
436
  }; }
426
437
  };
427
- CuraButton.style = curaButtonCss;
438
+ CuraButton.style = curaButtonCss();
428
439
 
429
- 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}";
440
+ 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}`;
430
441
 
431
442
  const CuraButtonTransparent = class {
432
443
  constructor(hostRef) {
@@ -553,14 +564,90 @@ const CuraButtonTransparent = class {
553
564
  }
554
565
  static get formAssociated() { return true; }
555
566
  static get watchers() { return {
556
- "fontColor": ["getSymbolColor"],
557
- "color": ["getSymbolColor"]
567
+ "fontColor": [{
568
+ "getSymbolColor": 0
569
+ }],
570
+ "color": [{
571
+ "getSymbolColor": 0
572
+ }]
558
573
  }; }
559
574
  };
560
- CuraButtonTransparent.style = curaButtonTransparentCss;
575
+ CuraButtonTransparent.style = curaButtonTransparentCss();
576
+
577
+ const curaCardCss = () => `:host{display:block;box-sizing:border-box;font-size:var(--font-size);font-family:var(--font-family)}:host ::slotted(*){display:flex;align-items:center;justify-content:center;font-size:var(--font-size);font-family:var(--font-family)}a{display:block;text-decoration:none !important;color:inherit}.solid{background-color:var(--neutral-purewhite);border:2px solid var(--neutral-base);border-radius:12px;overflow:hidden;padding:0px;box-shadow:none}.solid ::slotted(*){border-radius:0}.solid.hasPadding{padding:20px}.solid.hasPadding ::slotted(*){border-radius:4px !important}.solid.hasShadow{border:2px solid var(--neutral-base);box-shadow:0px 1px 4px 0px var(--neutral-black-shadow, rgba(38, 38, 38, 0.16))}.solid.cardLink{background-color:var(--neutral-purewhite);border:2px solid var(--primary-base);border-radius:12px;padding:0px;box-shadow:none;cursor:pointer}.solid.cardLink ::slotted(*){border-radius:0px}.solid.cardLink:hover{border:2px solid var(--primary-lighter) !important}.solid.cardLink.hasPadding{padding:20px}.solid.cardLink.hasPadding ::slotted(*){border-radius:4px !important}.solid.cardLink.hasPadding:hover{border:2px solid var(--primary-lighter) !important}.solid.cardLink.hasShadow{border:2px solid var(--primary-base);box-shadow:0px 4px 8px 0px var(--neutral-black-shadow, rgba(38, 38, 38, 0.16))}.solid.cardLink:not(.hasPadding).hasShadow ::slotted(*){border-radius:12px !important}.solid.cardLink.dark{background-color:var(--neutral-purewhite);border:2px solid var(--neutral-purewhite)}.solid.cardLink.dark:hover{border:2px solid var(--primary-lighter)}.transparent{background-color:transparent;border:0;border-radius:12px;padding:0px;overflow:hidden}.transparent ::slotted(*){border-radius:12px}.transparent.hasPadding{padding:20px}.transparent.hasPadding ::slotted(*){border-radius:4px}.transparent.cardLink{background-color:transparent;border:2px solid var(--primary-base);overflow:hidden;border-radius:12px;padding:0px;box-shadow:none}.transparent.cardLink ::slotted(*){border-radius:0px !important}.transparent.cardLink:hover{border:2px solid var(--primary-lighter) !important}.transparent.cardLink.light{background-color:var(--neutral-purewhite);border:2px solid var(--primary-base)}.transparent.cardLink.light ::slotted(*){border-radius:12px !important}.transparent.cardLink.light:hover{border-color:var(--primary-lighter) !important}.transparent.cardLink.dark{background-color:transparent;border:2px solid var(--neutral-purewhite)}.transparent.cardLink.dark:hover{border:0}.transparent.cardLink.hasPadding{padding:20px}.transparent.cardLink.hasPadding ::slotted(*){border-radius:4px !important}`;
578
+
579
+ const CuraCard = class {
580
+ constructor(hostRef) {
581
+ index.registerInstance(this, hostRef);
582
+ /**
583
+ * Determines whether the card should have padding.
584
+ * @type {boolean}
585
+ * @default false
586
+ */
587
+ this.hasPadding = true;
588
+ /**
589
+ * Determines whether the card should have a shadow effect.
590
+ * @type {boolean}
591
+ * @default false
592
+ */
593
+ this.hasShadow = false;
594
+ /**
595
+ * Sets the type of the card background.
596
+ * - 'solid': A solid background.
597
+ * - 'transparent': A transparent background.
598
+ * @type {'solid' | 'transparent'}
599
+ * @default 'solid'
600
+ */
601
+ this.type = 'solid';
602
+ /**
603
+ * Sets the color mode of the card.
604
+ * - 'light': Light mode for the card.
605
+ * - 'dark': Dark mode for the card.
606
+ * @type {'light' | 'dark'}
607
+ * @default 'light'
608
+ */
609
+ this.colorMode = 'light';
610
+ /**
611
+ * The target attribute for the link.
612
+ * Applicable only if `href` is set.
613
+ * @type {string}
614
+ * @default '_self'
615
+ */
616
+ this.target = '_self';
617
+ this.styles = {};
618
+ }
619
+ connectedCallback() {
620
+ this.weights = window.CuraAPI.theme.fonts.getWeights();
621
+ this.styles['--base-spacing'] = window.CuraAPI.theme.spacing.getSpacing();
622
+ this.styles['--neutral-purewhite'] = window.CuraAPI.theme.colors.getColor(`neutral-purewhite`);
623
+ this.styles['--neutral-white'] = window.CuraAPI.theme.colors.getColor(`neutral-white`);
624
+ this.styles['--neutral-base'] = window.CuraAPI.theme.colors.getColor(`neutral-base`);
625
+ this.styles['--neutral-dark'] = window.CuraAPI.theme.colors.getColor(`neutral-dark`);
626
+ this.styles['--neutral-black'] = window.CuraAPI.theme.colors.getColor(`neutral-black`);
627
+ this.styles['--neutral-black-shadow'] = window.CuraAPI.theme.colors.getColor(`neutral-black`, 0.16);
628
+ this.styles['--primary-lighter'] = window.CuraAPI.theme.colors.getColor(`primary-lighter`);
629
+ this.styles['--primary-base'] = window.CuraAPI.theme.colors.getColor(`primary-base`);
630
+ this.styles['--font-size'] = window.CuraAPI.theme.fonts.getSize();
631
+ this.styles['--font-family'] = window.CuraAPI.theme.fonts.getFamily();
632
+ this.styles['--font-weight-medium'] = this.weights.medium;
633
+ }
634
+ getClasses() {
635
+ const classes = {};
636
+ classes[this.type] = true;
637
+ classes[`cardLink`] = this.href;
638
+ classes[this.colorMode] = true;
639
+ classes[`hasPadding`] = this.hasPadding;
640
+ classes[`hasShadow`] = this.hasShadow;
641
+ return classes;
642
+ }
643
+ render() {
644
+ return (index.h(index.Host, { key: '9478ce754c108db722dbc5bcbb00a0884b6c6f38', role: this.href ? 'link' : 'div' }, this.href ? (index.h("a", { class: this.getClasses(), target: this.target, style: this.styles, href: this.href }, index.h("slot", null))) : (index.h("div", { class: this.getClasses(), style: this.styles }, index.h("slot", null)))));
645
+ }
646
+ };
647
+ CuraCard.style = curaCardCss();
561
648
 
562
649
  function checkMobile() {
563
- return (window === null || window === void 0 ? void 0 : window.innerWidth) < curaThemeModule.Static.breakpoints.medium.min;
650
+ return (window === null || window === void 0 ? void 0 : window.innerWidth) < _static.Static.breakpoints.medium.min;
564
651
  }
565
652
  function checkIOS() {
566
653
  return [
@@ -650,7 +737,7 @@ class FixedElementScrollBehavior {
650
737
  }
651
738
  }
652
739
 
653
- const curaDropdownSearchCss = ":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}";
740
+ const curaDropdownSearchCss = () => `: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:var(--top-offset, 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}`;
654
741
 
655
742
  const CuraDropdownSearch = class {
656
743
  constructor(hostRef) {
@@ -726,6 +813,13 @@ const CuraDropdownSearch = class {
726
813
  this.setZoomHeight();
727
814
  }, this.resizeTimeoutMs);
728
815
  };
816
+ this.handleVisualViewportChange = () => {
817
+ if (!this.zoomState)
818
+ return;
819
+ if (this.viewportTimeout)
820
+ clearTimeout(this.viewportTimeout);
821
+ this.viewportTimeout = setTimeout(() => this.setZoomHeight(), this.resizeTimeoutMs);
822
+ };
729
823
  this.handleFocus = () => {
730
824
  if (this.focusTimeout)
731
825
  clearTimeout(this.focusTimeout);
@@ -824,6 +918,10 @@ const CuraDropdownSearch = class {
824
918
  this.styles['--font-weight-medium'] = this.weights.medium;
825
919
  window === null || window === void 0 ? void 0 : window.addEventListener('resize', this.handleWindowResize);
826
920
  window === null || window === void 0 ? void 0 : window.addEventListener('orientationchange', this.handleWindowResize);
921
+ if (window === null || window === void 0 ? void 0 : window.visualViewport) {
922
+ window.visualViewport.addEventListener('resize', this.handleVisualViewportChange);
923
+ window.visualViewport.addEventListener('scroll', this.handleVisualViewportChange);
924
+ }
827
925
  this.isMobile = checkMobile();
828
926
  }
829
927
  componentDidLoad() {
@@ -840,6 +938,10 @@ const CuraDropdownSearch = class {
840
938
  removeAllListeners() {
841
939
  window === null || window === void 0 ? void 0 : window.removeEventListener('resize', this.handleWindowResize);
842
940
  window === null || window === void 0 ? void 0 : window.removeEventListener('orientationchange', this.handleWindowResize);
941
+ if (window === null || window === void 0 ? void 0 : window.visualViewport) {
942
+ window.visualViewport.removeEventListener('resize', this.handleVisualViewportChange);
943
+ window.visualViewport.removeEventListener('scroll', this.handleVisualViewportChange);
944
+ }
843
945
  this.host.removeEventListener('actionclick', this.handleOptionActionClick);
844
946
  this.host.removeEventListener('selectoption', this.handleSelectOption);
845
947
  }
@@ -885,7 +987,9 @@ const CuraDropdownSearch = class {
885
987
  if (this.valueTimeout)
886
988
  clearTimeout(this.valueTimeout);
887
989
  this.valueTimeout = setTimeout(() => {
888
- this.termchange.emit(this.value === '' || this.value.length < this.searchminchars ? '' : this.value);
990
+ var _a;
991
+ const value = (_a = this.value) !== null && _a !== void 0 ? _a : '';
992
+ this.termchange.emit(value === '' || value.length < this.searchminchars ? '' : value);
889
993
  }, this.searchdelay || 300);
890
994
  }
891
995
  }
@@ -944,9 +1048,14 @@ const CuraDropdownSearch = class {
944
1048
  setTimeout(() => { this.zoomState = false; }, 300);
945
1049
  }
946
1050
  setZoomHeight() {
947
- var _a;
948
- const h = window ? `${((_a = window.visualViewport) === null || _a === void 0 ? void 0 : _a.height) || window.innerHeight}px` : '100vh';
949
- this.styles = Object.assign(Object.assign({}, this.styles), { '--height': h });
1051
+ if (window === null || window === void 0 ? void 0 : window.visualViewport) {
1052
+ const height = `${window.visualViewport.height}px`;
1053
+ const topOffset = `${window.visualViewport.offsetTop}px`;
1054
+ this.styles = Object.assign(Object.assign({}, this.styles), { '--height': height, '--top-offset': topOffset });
1055
+ return;
1056
+ }
1057
+ const h = window ? `${window.innerHeight}px` : '100vh';
1058
+ this.styles = Object.assign(Object.assign({}, this.styles), { '--height': h, '--top-offset': '0px' });
950
1059
  }
951
1060
  getClasses() {
952
1061
  return {
@@ -963,13 +1072,13 @@ const CuraDropdownSearch = class {
963
1072
  };
964
1073
  }
965
1074
  render() {
966
- return (index.h(index.Host, { key: '06350dc474b86ca27d1f78559fc6296fbc3aa73e', style: this.getHostCSSProperties(), role: "search", "aria-label": this.label, "aria-required": this.required, "aria-disabled": this.disabled, "aria-expanded": this.zoomState }, index.h("div", { key: 'e5cc22f978f014b4fb5bd9d33c73154d19991ef3', class: this.getClasses(), style: this.styles }, index.h("div", { key: '2f0ccd3de2ab3dd3b5b93f5225c25c6dbec517c1', class: "component-controls" }, this.isMobile && this.zoomState ? (index.h("cura-button-transparent", { fontColor: "dark", onClick: () => this.handleBackClick(), iconName: "arrowLeft", size: "large", iconOnly: true, color: "primary", id: "button-back" })) : '', index.h("cura-input-text", { key: '9c98bf9e910d5503e93addc3d34ae9739bccf9ab', disabled: this.disabled, label: this.label, part: "cura-input-field", mode: this.zoomState ? 'transparent' : 'default', required: this.required, iconName: this.icon || 'search', value: this.value, status: this.status, onValueChange: (ev) => this.handleInputValueChange(ev), onInput: (ev) => this._preventEvent(ev), onFocus: () => this.handleFocus(), onClick: (ev) => this._preventEvent(ev), onBlur: () => this.handleBlur(), onFocusout: () => this.handleFocusout(), onInputClear: (ev) => this.handleInputClear(ev), placeholder: this.placeholder, size: this.size, onKeyDown: (ev) => this.handleKeyDown(ev) }, index.h("slot", { key: 'e6c0a8578436f1fa1392defb6fc7b0126bb3ae33', name: "helperText" }))), index.h("div", { key: '06c4fb438972a42558072600bf91af9b5c94a538', class: "dropdown-container", onMouseOver: () => this.handleDropdownMouseOver() }, index.h("slot", { key: 'c0a63a14785e15a6fcb555732f47efa94efec930', onSlotchange: () => this.handleSlotChange() })))));
1075
+ return (index.h(index.Host, { key: '7a312071ecc60fe462636ad7b32bcb82b5d5c1a2', style: this.getHostCSSProperties(), role: "search", "aria-label": this.label, "aria-required": this.required, "aria-disabled": this.disabled, "aria-expanded": this.zoomState }, index.h("div", { key: 'c4b906871b300013208649f8dcf9b27cf161daae', class: this.getClasses(), style: this.styles }, index.h("div", { key: '97d3d3ae67dc79f2d04456555388cce9aec36f7d', class: "component-controls" }, this.isMobile && this.zoomState ? (index.h("cura-button-transparent", { fontColor: "dark", onClick: () => this.handleBackClick(), iconName: "arrowLeft", size: "large", iconOnly: true, color: "primary", id: "button-back" })) : '', index.h("cura-input-text", { key: '53aa07646542b9941804f7a7f0d66f8c340ce664', disabled: this.disabled, label: this.label, part: "cura-input-field", mode: this.zoomState ? 'transparent' : 'default', required: this.required, iconName: this.icon || 'search', value: this.value, status: this.status, onValueChange: (ev) => this.handleInputValueChange(ev), onInput: (ev) => this._preventEvent(ev), onFocus: () => this.handleFocus(), onClick: (ev) => this._preventEvent(ev), onBlur: () => this.handleBlur(), onFocusout: () => this.handleFocusout(), onInputClear: (ev) => this.handleInputClear(ev), placeholder: this.placeholder, size: this.size, onKeyDown: (ev) => this.handleKeyDown(ev) }, index.h("slot", { key: 'fb206e8295b0139082b79cc747bfe8e424df33fa', name: "helperText" }))), index.h("div", { key: '8ab0ad70e667c4b01b2f7a31fc5df6056b170565', class: "dropdown-container", onMouseOver: () => this.handleDropdownMouseOver() }, index.h("slot", { key: 'dc3cda02f7a70d7229457d6c225a606ee2e03f52', onSlotchange: () => this.handleSlotChange() })))));
967
1076
  }
968
1077
  get host() { return index.getElement(this); }
969
1078
  };
970
- CuraDropdownSearch.style = curaDropdownSearchCss;
1079
+ CuraDropdownSearch.style = curaDropdownSearchCss();
971
1080
 
972
- 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}";
1081
+ 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}`;
973
1082
 
974
1083
  const CuraDropdownSearchCategory = class {
975
1084
  constructor(hostRef) {
@@ -986,9 +1095,9 @@ const CuraDropdownSearchCategory = class {
986
1095
  return (index.h(index.Host, { key: '511391a8c6c1c998b04e3093838173ae76549715' }, index.h("div", { key: '63da720bb3d2cc354ef5f1e9ceaf0f2f9c396f4e', class: "component-container", style: this.styles }, index.h("cura-heading", { key: 'ba003607e581d4abaf2e6d617f94e3174d04a4b3', size: 'xsmall', weight: 'bold', color: 'neutral-dark', marginBlock: '0', lineHeight: '1em' }, index.h("slot", { key: '80b14ff99b42a64082895db81b4dbe78cd7545a3' })))));
987
1096
  }
988
1097
  };
989
- CuraDropdownSearchCategory.style = curaDropdownSearchCategoryCss;
1098
+ CuraDropdownSearchCategory.style = curaDropdownSearchCategoryCss();
990
1099
 
991
- const curaDropdownSearchOptionCss = ":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);min-width:0;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);min-width:0}: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}";
1100
+ const curaDropdownSearchOptionCss = () => `: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);min-width:0;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);min-width:0}: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}`;
992
1101
 
993
1102
  const CuraDropdownSearchOption = class {
994
1103
  constructor(hostRef) {
@@ -1049,9 +1158,9 @@ const CuraDropdownSearchOption = class {
1049
1158
  return (index.h(index.Host, { key: '6168a95a628d07878f472c310390bf9c45bd5057' }, index.h("div", { key: '29763282f101a9fbe205c91e7b3c70fa51878e63', class: this.getClasses(), style: this.styles }, index.h("div", { key: '46bd7a250ad866b984e6f4184aa4800e89b741c9', class: "selectable-container", onClick: () => this.handleSelect() }, index.h("slot", { key: '77088405f3cc4f077e49a4266fb926348774d9e9', name: 'image' }), index.h("div", { key: '96baef2af4ffe7c5ec809a5adbd0512120b6c71c', class: "content" }, index.h("slot", { key: 'e41794e8eaff6bfe1516e88e8591ca915eb7ad3f' }))), index.h("div", { key: '991bca3b0956519b531d576a1738bc3f200cc73f', class: "actions-container", onClick: () => this.handleActionsClick() }, index.h("slot", { key: '098e8c29ab48ef8e0cfff2a48a31860eafb62487', name: 'actions' })))));
1050
1159
  }
1051
1160
  };
1052
- CuraDropdownSearchOption.style = curaDropdownSearchOptionCss;
1161
+ CuraDropdownSearchOption.style = curaDropdownSearchOptionCss();
1053
1162
 
1054
- 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)}:host h1.textoverflow-single,:host h2.textoverflow-single,:host h3.textoverflow-single,:host h4.textoverflow-single,:host h5.textoverflow-single,:host h6.textoverflow-single{text-overflow:ellipsis;white-space:nowrap;overflow:hidden;display:block}:host h1 ::slotted(b),:host h1 ::slotted(strong),:host h2 ::slotted(b),:host h2 ::slotted(strong),:host h3 ::slotted(b),:host h3 ::slotted(strong),:host h4 ::slotted(b),:host h4 ::slotted(strong),:host h5 ::slotted(b),:host h5 ::slotted(strong),:host h6 ::slotted(b),:host h6 ::slotted(strong){font-weight:var(--font-weight-medium)}:host h1 ::slotted(a),:host h2 ::slotted(a),:host h3 ::slotted(a),:host h4 ::slotted(a),:host h5 ::slotted(a),:host h6 ::slotted(a){font-weight:var(--font-weight-bold);color:var(--color-spot);text-underline-offset:10%;cursor:pointer}:host h1 ::slotted(u),:host h2 ::slotted(u),:host h3 ::slotted(u),:host h4 ::slotted(u),:host h5 ::slotted(u),:host h6 ::slotted(u){text-underline-offset:10%}:host h1 ::slotted(abbr),:host h2 ::slotted(abbr),:host h3 ::slotted(abbr),:host h4 ::slotted(abbr),:host h5 ::slotted(abbr),:host h6 ::slotted(abbr){color:var(--color-spot);text-decoration:underline dashed 1px var(--color-spot);text-underline-offset:10%;cursor:default}:host h1 ::slotted(i),:host h2 ::slotted(i),:host h3 ::slotted(i),:host h4 ::slotted(i),:host h5 ::slotted(i),:host h6 ::slotted(i){font-weight:var(--font-weight-medium)}:host h1 ::slotted(em),:host h2 ::slotted(em),:host h3 ::slotted(em),:host h4 ::slotted(em),:host h5 ::slotted(em),:host h6 ::slotted(em){color:var(--color-spot);font-weight:var(--font-weight-bold);font-style:normal}@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}}";
1163
+ 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)}:host h1.textoverflow-single,:host h2.textoverflow-single,:host h3.textoverflow-single,:host h4.textoverflow-single,:host h5.textoverflow-single,:host h6.textoverflow-single{text-overflow:ellipsis;white-space:nowrap;overflow:hidden;display:block}:host h1 ::slotted(b),:host h1 ::slotted(strong),:host h2 ::slotted(b),:host h2 ::slotted(strong),:host h3 ::slotted(b),:host h3 ::slotted(strong),:host h4 ::slotted(b),:host h4 ::slotted(strong),:host h5 ::slotted(b),:host h5 ::slotted(strong),:host h6 ::slotted(b),:host h6 ::slotted(strong){font-weight:var(--font-weight-medium)}:host h1 ::slotted(a),:host h2 ::slotted(a),:host h3 ::slotted(a),:host h4 ::slotted(a),:host h5 ::slotted(a),:host h6 ::slotted(a){font-weight:var(--font-weight-bold);color:var(--color-spot);text-underline-offset:10%;cursor:pointer}:host h1 ::slotted(u),:host h2 ::slotted(u),:host h3 ::slotted(u),:host h4 ::slotted(u),:host h5 ::slotted(u),:host h6 ::slotted(u){text-underline-offset:10%}:host h1 ::slotted(abbr),:host h2 ::slotted(abbr),:host h3 ::slotted(abbr),:host h4 ::slotted(abbr),:host h5 ::slotted(abbr),:host h6 ::slotted(abbr){color:var(--color-spot);text-decoration:underline dashed 1px var(--color-spot);text-underline-offset:10%;cursor:default}:host h1 ::slotted(i),:host h2 ::slotted(i),:host h3 ::slotted(i),:host h4 ::slotted(i),:host h5 ::slotted(i),:host h6 ::slotted(i){font-weight:var(--font-weight-medium)}:host h1 ::slotted(em),:host h2 ::slotted(em),:host h3 ::slotted(em),:host h4 ::slotted(em),:host h5 ::slotted(em),:host h6 ::slotted(em){color:var(--color-spot);font-weight:var(--font-weight-bold);font-style:normal}@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}}`;
1055
1164
 
1056
1165
  const CuraHeading = class {
1057
1166
  constructor(hostRef) {
@@ -1145,9 +1254,9 @@ const CuraHeading = class {
1145
1254
  }
1146
1255
  get host() { return index.getElement(this); }
1147
1256
  };
1148
- CuraHeading.style = curaHeadingCss;
1257
+ CuraHeading.style = curaHeadingCss();
1149
1258
 
1150
- 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}";
1259
+ 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}`;
1151
1260
 
1152
1261
  const CuraIcon = class {
1153
1262
  constructor(hostRef) {
@@ -1180,12 +1289,18 @@ const CuraIcon = class {
1180
1289
  }
1181
1290
  get host() { return index.getElement(this); }
1182
1291
  static get watchers() { return {
1183
- "size": ["sizeHandler"],
1184
- "color": ["colorHandler"],
1185
- "disabled": ["colorHandler"]
1292
+ "size": [{
1293
+ "sizeHandler": 0
1294
+ }],
1295
+ "color": [{
1296
+ "colorHandler": 0
1297
+ }],
1298
+ "disabled": [{
1299
+ "colorHandler": 0
1300
+ }]
1186
1301
  }; }
1187
1302
  };
1188
- CuraIcon.style = curaIconCss;
1303
+ CuraIcon.style = curaIconCss();
1189
1304
 
1190
1305
  /** Checks if value is string */
1191
1306
  function isString(str) {
@@ -4830,7 +4945,7 @@ const maskOptions = {
4830
4945
  },
4831
4946
  };
4832
4947
 
4833
- 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}";
4948
+ 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}`;
4834
4949
 
4835
4950
  const CuraInputText = class {
4836
4951
  constructor(hostRef) {
@@ -4944,9 +5059,10 @@ const CuraInputText = class {
4944
5059
  * Callback to restore the switch state from the form.
4945
5060
  */
4946
5061
  formStateRestoreCallback(state) {
5062
+ var _a;
4947
5063
  this.value = state.value;
4948
5064
  this.applyValueToMask();
4949
- this.internals.setFormValue(this.value);
5065
+ (_a = this.internals) === null || _a === void 0 ? void 0 : _a.setFormValue(this.value);
4950
5066
  }
4951
5067
  /**
4952
5068
  * Callback for form association.
@@ -4958,9 +5074,10 @@ const CuraInputText = class {
4958
5074
  * Callback to reset the switch state when the form is reset.
4959
5075
  */
4960
5076
  formResetCallback() {
5077
+ var _a, _b;
4961
5078
  this.handleClearInput();
4962
- this.internals.setValidity({});
4963
- this.internals.setFormValue('');
5079
+ (_a = this.internals) === null || _a === void 0 ? void 0 : _a.setValidity({});
5080
+ (_b = this.internals) === null || _b === void 0 ? void 0 : _b.setFormValue('');
4964
5081
  }
4965
5082
  /**
4966
5083
  * Callback to update the switch's disabled state when the form's disabled state changes.
@@ -5160,6 +5277,7 @@ const CuraInputText = class {
5160
5277
  }
5161
5278
  }
5162
5279
  handleInputChange(event) {
5280
+ var _a;
5163
5281
  const inputValue = event.target.value;
5164
5282
  this.valueChange.emit(inputValue);
5165
5283
  if (this.type === 'number') {
@@ -5168,7 +5286,7 @@ const CuraInputText = class {
5168
5286
  else {
5169
5287
  this.handleTextInputChange(inputValue);
5170
5288
  }
5171
- this.internals.setFormValue(this.value);
5289
+ (_a = this.internals) === null || _a === void 0 ? void 0 : _a.setFormValue(this.value);
5172
5290
  }
5173
5291
  handleNumberInputChange(inputValue) {
5174
5292
  const numericValue = parseFloat(inputValue);
@@ -5201,23 +5319,37 @@ const CuraInputText = class {
5201
5319
  e.preventDefault();
5202
5320
  }
5203
5321
  render() {
5204
- return (index.h(index.Host, { key: 'ca2aecb12b93ceb875b3009b250aaad74cdae987', role: "textbox", "aria-disabled": this.disabled, "aria-required": this.required, "aria-invalid": this.status === 'error' }, index.h("div", { key: 'cf01002eab6f77101c36e03c5cf849d7aaeac09e', style: this.styles, onMouseEnter: () => this.handleMouseEnter(), onMouseLeave: () => this.handleMouseLeave(), class: Object.assign({ 'cura-input-group': true }, this.getClasses()) }, index.h("div", { key: '632acdd25d3b425b26c6bd10b60f92f37af834c3', class: "input-wrapper" }, this.label && (index.h("cura-label", { key: '0cc9fa6b402907f8292188ff7450945d6e31edd8', class: "label", weight: "bold", size: this.size === 'large' ? 'small' : 'xsmall', color: this.getLabelColor() }, this.label, " ", this.required && index.h("span", { key: 'aebf6ded909742c6d09c963172064b3035a5f141', class: "required" }, "* "))), index.h("div", { key: '8906d48f519c5053936d55d4ad9c4bc3570c70d4', class: "cura-input-field", part: "cura-input-field", style: this.styles }, this.renderIcon(), index.h("input", { key: 'e0954c117932336172cb4bc83ccc18038341dcd3', name: this.name ? this.name : '', type: this.type, onKeyDown: event => this.handleKeyDown(event), onBlur: this.handleInputBlur.bind(this), onFocus: this.handleInputFocus.bind(this), onInput: event => this.handleInputChange(event), class: this.getClasses(), style: this.styles, placeholder: this.placeholder, disabled: this.disabled || this.isLoading, required: this.required, readonly: this.readOnly, maxlength: this.maxlength, value: this.value !== undefined && this.value !== null ? this.value : '', inputmode: this.maskPreset ? 'tel' : this.inputMode, ref: ref => (this.inputRef = ref), autocomplete: this.autocomplete }), !!this.clearIcon && !this.readOnly && !this.isLoading && !this.disabled && this.value && this.isFocused && (index.h("cura-icon", { key: '26ea6fcc1cd8df12ee9d0c40f1d20600d696fbe9', size: this.size === 'large' || this.mode === 'transparent' ? 20 : 16, color: "primary-base", name: "closeCircle", iconset: "default", class: "clear-button", onMouseDown: () => this.handleClearInput() })), this.isLoading && index.h("cura-loader-circle", { key: '292a9c476520f9d03a9d7c2f4242d103dd157b90', size: this.size === 'large' ? 'medium' : 'small', color: "primary-base" })), this.renderHelperText()))));
5322
+ return (index.h(index.Host, { key: '7794e2a816baa0438c256ba584d14ddbeb9cc9b8', role: "textbox", "aria-disabled": this.disabled, "aria-required": this.required, "aria-invalid": this.status === 'error' }, index.h("div", { key: '60fd4d3edebfe6aeb720dd079efb94970626d975', style: this.styles, onMouseEnter: () => this.handleMouseEnter(), onMouseLeave: () => this.handleMouseLeave(), class: Object.assign({ 'cura-input-group': true }, this.getClasses()) }, index.h("div", { key: '55db1933b3eb29807029669e5c66002556b3bd03', class: "input-wrapper" }, this.label && (index.h("cura-label", { key: '1c4119cc0b2190fbdb1ddcc3f55c41c68ec88957', class: "label", weight: "bold", size: this.size === 'large' ? 'small' : 'xsmall', color: this.getLabelColor() }, this.label, " ", this.required && index.h("span", { key: '779e4726201110a6daf2c474b494f6baa9db5dc0', class: "required" }, "* "))), index.h("div", { key: 'a409f41993833fea3eb3212821c26a63f62e970f', class: "cura-input-field", part: "cura-input-field", style: this.styles }, this.renderIcon(), index.h("input", { key: '75b3de8e8ca33eb2b9e8e8a285de19d172490552', name: this.name ? this.name : '', type: this.type, onKeyDown: event => this.handleKeyDown(event), onBlur: this.handleInputBlur.bind(this), onFocus: this.handleInputFocus.bind(this), onInput: event => this.handleInputChange(event), class: this.getClasses(), style: this.styles, placeholder: this.placeholder, disabled: this.disabled || this.isLoading, required: this.required, readonly: this.readOnly, maxlength: this.maxlength, value: this.value !== undefined && this.value !== null ? this.value : '', inputmode: this.maskPreset ? 'tel' : this.inputMode, ref: ref => (this.inputRef = ref), autocomplete: this.autocomplete }), !!this.clearIcon && !this.readOnly && !this.isLoading && !this.disabled && this.value && this.isFocused && (index.h("cura-icon", { key: '4a22b5b1608c5dc57a99b7edc93ab11ce2de4048', size: this.size === 'large' || this.mode === 'transparent' ? 20 : 16, color: "primary-base", name: "closeCircle", iconset: "default", class: "clear-button", onMouseDown: () => this.handleClearInput() })), this.isLoading && index.h("cura-loader-circle", { key: '65a078642ac17f1779726749b29516c018bc317d', size: this.size === 'large' ? 'medium' : 'small', color: "primary-base" })), this.renderHelperText()))));
5205
5323
  }
5206
5324
  static get formAssociated() { return true; }
5207
5325
  get host() { return index.getElement(this); }
5208
5326
  static get watchers() { return {
5209
- "styles": ["connectedCallback"],
5210
- "size": ["getClasses"],
5211
- "status": ["renderIcon"],
5212
- "mode": ["renderIcon"],
5213
- "maskPreset": ["initializeMask"],
5214
- "maskRegex": ["initializeMask"],
5215
- "maskAdvanced": ["initializeMask"]
5327
+ "styles": [{
5328
+ "connectedCallback": 0
5329
+ }],
5330
+ "size": [{
5331
+ "getClasses": 0
5332
+ }],
5333
+ "status": [{
5334
+ "renderIcon": 0
5335
+ }],
5336
+ "mode": [{
5337
+ "renderIcon": 0
5338
+ }],
5339
+ "maskPreset": [{
5340
+ "initializeMask": 0
5341
+ }],
5342
+ "maskRegex": [{
5343
+ "initializeMask": 0
5344
+ }],
5345
+ "maskAdvanced": [{
5346
+ "initializeMask": 0
5347
+ }]
5216
5348
  }; }
5217
5349
  };
5218
- CuraInputText.style = curaInputTextCss;
5350
+ CuraInputText.style = curaInputTextCss();
5219
5351
 
5220
- const curaLabelCss = ":host{display:block;font-size:var(--font-size-base)}:host p{font-family:var(--font-family);font-size:1.143em;font-weight:var(--font-weight-medium);color:var(--color-body);line-height:var(--line-height);margin-block:var(--margin-block);letter-spacing:0.32px}:host p.bold-weight,:host p ::slotted(b),:host p ::slotted(strong),:host p ::slotted(u){font-weight:var(--font-weight-bold)}:host p.large{font-size:1.357em;line-height:calc(var(--line-height) - 4%);letter-spacing:0px}:host p.small{font-size:1em;line-height:calc(var(--line-height) - 4%);letter-spacing:0.56px}:host p.xsmall{font-size:0.857em;line-height:calc(var(--line-height) - 17%);letter-spacing:0.72px}:host p.textoverflow-single{text-overflow:ellipsis;white-space:nowrap;overflow:hidden;display:block}:host p ::slotted(a){font-weight:var(--font-weight-bold);color:var(--color-link);text-underline-offset:10%}:host p ::slotted(u){text-underline-offset:10%}:host p ::slotted(abbr){color:var(--color-link);text-decoration:underline dashed 1px var(--color-link);text-underline-offset:10%;cursor:default}";
5352
+ const curaLabelCss = () => `:host{display:block;font-size:var(--font-size-base)}:host p{font-family:var(--font-family);font-size:1.143em;font-weight:var(--font-weight-medium);color:var(--color-body);line-height:var(--line-height);margin-block:var(--margin-block);letter-spacing:0.32px}:host p.bold-weight,:host p ::slotted(b),:host p ::slotted(strong),:host p ::slotted(u){font-weight:var(--font-weight-bold)}:host p.large{font-size:1.357em;line-height:calc(var(--line-height) - 4%);letter-spacing:0px}:host p.small{font-size:1em;line-height:calc(var(--line-height) - 4%);letter-spacing:0.56px}:host p.xsmall{font-size:0.857em;line-height:calc(var(--line-height) - 17%);letter-spacing:0.72px}:host p.textoverflow-single{text-overflow:ellipsis;white-space:nowrap;overflow:hidden;display:block}:host p ::slotted(a){font-weight:var(--font-weight-bold);color:var(--color-link);text-underline-offset:10%}:host p ::slotted(u){text-underline-offset:10%}:host p ::slotted(abbr){color:var(--color-link);text-decoration:underline dashed 1px var(--color-link);text-underline-offset:10%;cursor:default}`;
5221
5353
 
5222
5354
  const CuraLabel = class {
5223
5355
  constructor(hostRef) {
@@ -5298,13 +5430,17 @@ const CuraLabel = class {
5298
5430
  }
5299
5431
  get host() { return index.getElement(this); }
5300
5432
  static get watchers() { return {
5301
- "color": ["handleChangeColor"],
5302
- "spotColor": ["handleChangeColor"]
5433
+ "color": [{
5434
+ "handleChangeColor": 0
5435
+ }],
5436
+ "spotColor": [{
5437
+ "handleChangeColor": 0
5438
+ }]
5303
5439
  }; }
5304
5440
  };
5305
- CuraLabel.style = curaLabelCss;
5441
+ CuraLabel.style = curaLabelCss();
5306
5442
 
5307
- const curaLoaderCircleCss = ":host{display:inline-block;width:var(--size);height:var(--size)}:host svg{width:var(--size);height:var(--size);animation:rotate 0.7s linear infinite}:host circle,:host path{stroke-miterlimit:10;stroke-linecap:round;stroke-linejoin:round}:host path{stroke:var(--color)}:host stop{stop-color:var(--color)}:host linearGradient stop:first-child{stop-opacity:0.14}@keyframes rotate{0%{transform:rotate(0)}100%{transform:rotate(360deg)}}";
5443
+ const curaLoaderCircleCss = () => `:host{display:inline-block;width:var(--size);height:var(--size)}:host svg{width:var(--size);height:var(--size);animation:rotate 0.7s linear infinite}:host circle,:host path{stroke-miterlimit:10;stroke-linecap:round;stroke-linejoin:round}:host path{stroke:var(--color)}:host stop{stop-color:var(--color)}:host linearGradient stop:first-child{stop-opacity:0.14}@keyframes rotate{0%{transform:rotate(0)}100%{transform:rotate(360deg)}}`;
5308
5444
 
5309
5445
  const CuraLoaderCircle = class {
5310
5446
  constructor(hostRef) {
@@ -5336,9 +5472,9 @@ const CuraLoaderCircle = class {
5336
5472
  return (index.h(index.Host, { key: '09f72e4ec206571c1bfb4333a76da3113f2b386d', style: this.getStyles(), role: "progressbar" }, index.h("svg", { key: 'd446c093c9ae6c1ebca50e023f2eba592f37eb07', viewBox: "0 0 16 16", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, index.h("g", { key: '8d8bf0fefcb924af391977d672f777face8bf24f' }, index.h("circle", { key: 'd77eaba65fc61c265b7c495e95dae22d9732732b', cx: "8", cy: "8", r: "7", stroke: "url(#paint0_linear_13485_11488)", "stroke-width": "2" }), index.h("path", { key: 'ab82247a03c327a6eac8f5c0770932e3520aa32c', d: "M1 8C1 4.13401 4.11877 1 7.96596 1C9.53445 1 10.9819 1.52093 12.1462 2.4C12.8959 2.96601 13.5282 3.68049 14 4.5", "stroke-width": "2" })), index.h("defs", { key: '6291d976f90dd54aecaead32f8314e977dad4c3f' }, index.h("linearGradient", { key: '8f213ed3cb1e55f9aae79f18d43f414b48f45a19', id: "paint0_linear_13485_11488", x1: "15.7", y1: "4.5", x2: "4.15", y2: "11.5", gradientUnits: "userSpaceOnUse" }, index.h("stop", { key: 'c723178770cb0d49746a72fff6c9c8dc7fbb07b4' }), index.h("stop", { key: '07bb208a3ca3f3b7a317b1e2386dc9cf683fd155', offset: "1" }))))));
5337
5473
  }
5338
5474
  };
5339
- CuraLoaderCircle.style = curaLoaderCircleCss;
5475
+ CuraLoaderCircle.style = curaLoaderCircleCss();
5340
5476
 
5341
- const curaPageTemplateCss = ":host{display:block}:host .grid-template{display:grid;grid-template-rows:auto;grid-template-columns:auto;grid-template-areas:\"sub-header\" \"header\" \"pre-content\" \"content-container\" \"post-body\" \"footer\" \"sub-footer\"}:host .grid-template #sub-header{grid-area:sub-header}:host .grid-template #header{grid-area:header}:host .grid-template #pre-content{grid-area:pre-content}:host .grid-template #content-container{grid-area:content-container}:host .grid-template #post-body{grid-area:post-body}:host .grid-template #footer{grid-area:footer}:host .grid-template #sub-footer{grid-area:sub-footer}@media (max-width: 768px){:host .grid-template{padding:0px}}@media (min-width: 769px) and (max-width: 992px){:host .grid-template{padding:0px}}@media (min-width: 993px) and (max-width: 1920px){:host .grid-template{padding:0px}:host .grid-template #content-container #sidebar-left ::slotted(div[slot=sidebar-left]){margin-right:calc(var(--spacing) * 5px)}:host .grid-template #content-container #sidebar-right ::slotted(div[slot=sidebar-right]){margin-left:calc(var(--spacing) * 5px)}:host .grid-template #content-container{display:flex}:host .grid-template #content-container #content{flex-grow:1}:host .grid-template #content-container #sidebar-left,:host .grid-template #content-container #sidebar-right{max-width:20%}}@media (min-width: 1921px){:host .grid-template{padding:0px}:host .grid-template #content-container #sidebar-left ::slotted(div[slot=sidebar-left]){margin-right:calc(var(--spacing) * 7px)}:host .grid-template #content-container #sidebar-right ::slotted(div[slot=sidebar-right]){margin-left:calc(var(--spacing) * 7px)}:host .grid-template #content-container{display:flex}:host .grid-template #content-container #content{flex-grow:1}:host .grid-template #content-container #sidebar-left,:host .grid-template #content-container #sidebar-right{max-width:20%}:host .grid-template #content-container.centered{max-width:1921px;justify-self:center}}";
5477
+ const curaPageTemplateCss = () => `:host{display:block}:host .grid-template{display:grid;grid-template-rows:auto;grid-template-columns:auto;grid-template-areas:"sub-header" "header" "pre-content" "content-container" "post-body" "footer" "sub-footer"}:host .grid-template #sub-header{grid-area:sub-header}:host .grid-template #header{grid-area:header}:host .grid-template #pre-content{grid-area:pre-content}:host .grid-template #content-container{grid-area:content-container}:host .grid-template #post-body{grid-area:post-body}:host .grid-template #footer{grid-area:footer}:host .grid-template #sub-footer{grid-area:sub-footer}@media (max-width: 768px){:host .grid-template{padding:0px}}@media (min-width: 769px) and (max-width: 992px){:host .grid-template{padding:0px}}@media (min-width: 993px) and (max-width: 1920px){:host .grid-template{padding:0px}:host .grid-template #content-container #sidebar-left ::slotted(div[slot=sidebar-left]){margin-right:calc(var(--spacing) * 5px)}:host .grid-template #content-container #sidebar-right ::slotted(div[slot=sidebar-right]){margin-left:calc(var(--spacing) * 5px)}:host .grid-template #content-container{display:flex}:host .grid-template #content-container #content{flex-grow:1}:host .grid-template #content-container #sidebar-left,:host .grid-template #content-container #sidebar-right{max-width:20%}}@media (min-width: 1921px){:host .grid-template{padding:0px}:host .grid-template #content-container #sidebar-left ::slotted(div[slot=sidebar-left]){margin-right:calc(var(--spacing) * 7px)}:host .grid-template #content-container #sidebar-right ::slotted(div[slot=sidebar-right]){margin-left:calc(var(--spacing) * 7px)}:host .grid-template #content-container{display:flex}:host .grid-template #content-container #content{flex-grow:1}:host .grid-template #content-container #sidebar-left,:host .grid-template #content-container #sidebar-right{max-width:20%}:host .grid-template #content-container.centered{max-width:1921px;justify-self:center}}`;
5342
5478
 
5343
5479
  const CuraPageTemplate = class {
5344
5480
  constructor(hostRef) {
@@ -5360,9 +5496,9 @@ const CuraPageTemplate = class {
5360
5496
  }
5361
5497
  get host() { return index.getElement(this); }
5362
5498
  };
5363
- CuraPageTemplate.style = curaPageTemplateCss;
5499
+ CuraPageTemplate.style = curaPageTemplateCss();
5364
5500
 
5365
- const curaParagraphCss = ":host{display:block;font-size:var(--font-size-base);min-width:0}: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;width:100%}: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}:host p.textoverflow-single{text-overflow:ellipsis;white-space:nowrap;overflow:hidden;display:block}:host p ::slotted(b),:host p ::slotted(strong){font-weight:var(--font-weight-bold)}:host p ::slotted(a),:host p ::slotted(a:-webkit-any-link){font-weight:var(--font-weight-medium);color:var(--color-spot);text-underline-offset:10%}:host p ::slotted(u){font-weight:var(--font-weight-medium);text-underline-offset:10%}:host p ::slotted(i){font-style:italic}:host p ::slotted(em){font-weight:var(--font-weight-bold);color:var(--color-spot);font-style:normal}:host p ::slotted(abbr){color:var(--color-spot);text-decoration:underline dashed 1px var(--color-spot);text-underline-offset:10%;cursor:default}@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}}";
5501
+ const curaParagraphCss = () => `:host{display:block;font-size:var(--font-size-base);min-width:0}: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;width:100%}: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}:host p.textoverflow-single{text-overflow:ellipsis;white-space:nowrap;overflow:hidden;display:block}:host p ::slotted(b),:host p ::slotted(strong){font-weight:var(--font-weight-bold)}:host p ::slotted(a),:host p ::slotted(a:-webkit-any-link){font-weight:var(--font-weight-medium);color:var(--color-spot);text-underline-offset:10%}:host p ::slotted(u){font-weight:var(--font-weight-medium);text-underline-offset:10%}:host p ::slotted(i){font-style:italic}:host p ::slotted(em){font-weight:var(--font-weight-bold);color:var(--color-spot);font-style:normal}:host p ::slotted(abbr){color:var(--color-spot);text-decoration:underline dashed 1px var(--color-spot);text-underline-offset:10%;cursor:default}@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}}`;
5366
5502
 
5367
5503
  const CuraParagraph = class {
5368
5504
  constructor(hostRef) {
@@ -5432,9 +5568,1636 @@ const CuraParagraph = class {
5432
5568
  }
5433
5569
  get host() { return index.getElement(this); }
5434
5570
  };
5435
- CuraParagraph.style = curaParagraphCss;
5571
+ CuraParagraph.style = curaParagraphCss();
5572
+
5573
+ /**
5574
+ * Custom positioning reference element.
5575
+ * @see https://floating-ui.com/docs/virtual-elements
5576
+ */
5577
+
5578
+ const min = Math.min;
5579
+ const max = Math.max;
5580
+ const round = Math.round;
5581
+ const floor = Math.floor;
5582
+ const createCoords = v => ({
5583
+ x: v,
5584
+ y: v
5585
+ });
5586
+ const oppositeSideMap = {
5587
+ left: 'right',
5588
+ right: 'left',
5589
+ bottom: 'top',
5590
+ top: 'bottom'
5591
+ };
5592
+ function clamp(start, value, end) {
5593
+ return max(start, min(value, end));
5594
+ }
5595
+ function evaluate(value, param) {
5596
+ return typeof value === 'function' ? value(param) : value;
5597
+ }
5598
+ function getSide(placement) {
5599
+ return placement.split('-')[0];
5600
+ }
5601
+ function getAlignment(placement) {
5602
+ return placement.split('-')[1];
5603
+ }
5604
+ function getOppositeAxis(axis) {
5605
+ return axis === 'x' ? 'y' : 'x';
5606
+ }
5607
+ function getAxisLength(axis) {
5608
+ return axis === 'y' ? 'height' : 'width';
5609
+ }
5610
+ function getSideAxis(placement) {
5611
+ const firstChar = placement[0];
5612
+ return firstChar === 't' || firstChar === 'b' ? 'y' : 'x';
5613
+ }
5614
+ function getAlignmentAxis(placement) {
5615
+ return getOppositeAxis(getSideAxis(placement));
5616
+ }
5617
+ function getAlignmentSides(placement, rects, rtl) {
5618
+ if (rtl === void 0) {
5619
+ rtl = false;
5620
+ }
5621
+ const alignment = getAlignment(placement);
5622
+ const alignmentAxis = getAlignmentAxis(placement);
5623
+ const length = getAxisLength(alignmentAxis);
5624
+ let mainAlignmentSide = alignmentAxis === 'x' ? alignment === (rtl ? 'end' : 'start') ? 'right' : 'left' : alignment === 'start' ? 'bottom' : 'top';
5625
+ if (rects.reference[length] > rects.floating[length]) {
5626
+ mainAlignmentSide = getOppositePlacement(mainAlignmentSide);
5627
+ }
5628
+ return [mainAlignmentSide, getOppositePlacement(mainAlignmentSide)];
5629
+ }
5630
+ function getExpandedPlacements(placement) {
5631
+ const oppositePlacement = getOppositePlacement(placement);
5632
+ return [getOppositeAlignmentPlacement(placement), oppositePlacement, getOppositeAlignmentPlacement(oppositePlacement)];
5633
+ }
5634
+ function getOppositeAlignmentPlacement(placement) {
5635
+ return placement.includes('start') ? placement.replace('start', 'end') : placement.replace('end', 'start');
5636
+ }
5637
+ const lrPlacement = ['left', 'right'];
5638
+ const rlPlacement = ['right', 'left'];
5639
+ const tbPlacement = ['top', 'bottom'];
5640
+ const btPlacement = ['bottom', 'top'];
5641
+ function getSideList(side, isStart, rtl) {
5642
+ switch (side) {
5643
+ case 'top':
5644
+ case 'bottom':
5645
+ if (rtl) return isStart ? rlPlacement : lrPlacement;
5646
+ return isStart ? lrPlacement : rlPlacement;
5647
+ case 'left':
5648
+ case 'right':
5649
+ return isStart ? tbPlacement : btPlacement;
5650
+ default:
5651
+ return [];
5652
+ }
5653
+ }
5654
+ function getOppositeAxisPlacements(placement, flipAlignment, direction, rtl) {
5655
+ const alignment = getAlignment(placement);
5656
+ let list = getSideList(getSide(placement), direction === 'start', rtl);
5657
+ if (alignment) {
5658
+ list = list.map(side => side + "-" + alignment);
5659
+ if (flipAlignment) {
5660
+ list = list.concat(list.map(getOppositeAlignmentPlacement));
5661
+ }
5662
+ }
5663
+ return list;
5664
+ }
5665
+ function getOppositePlacement(placement) {
5666
+ const side = getSide(placement);
5667
+ return oppositeSideMap[side] + placement.slice(side.length);
5668
+ }
5669
+ function expandPaddingObject(padding) {
5670
+ return {
5671
+ top: 0,
5672
+ right: 0,
5673
+ bottom: 0,
5674
+ left: 0,
5675
+ ...padding
5676
+ };
5677
+ }
5678
+ function getPaddingObject(padding) {
5679
+ return typeof padding !== 'number' ? expandPaddingObject(padding) : {
5680
+ top: padding,
5681
+ right: padding,
5682
+ bottom: padding,
5683
+ left: padding
5684
+ };
5685
+ }
5686
+ function rectToClientRect(rect) {
5687
+ const {
5688
+ x,
5689
+ y,
5690
+ width,
5691
+ height
5692
+ } = rect;
5693
+ return {
5694
+ width,
5695
+ height,
5696
+ top: y,
5697
+ left: x,
5698
+ right: x + width,
5699
+ bottom: y + height,
5700
+ x,
5701
+ y
5702
+ };
5703
+ }
5704
+
5705
+ function computeCoordsFromPlacement(_ref, placement, rtl) {
5706
+ let {
5707
+ reference,
5708
+ floating
5709
+ } = _ref;
5710
+ const sideAxis = getSideAxis(placement);
5711
+ const alignmentAxis = getAlignmentAxis(placement);
5712
+ const alignLength = getAxisLength(alignmentAxis);
5713
+ const side = getSide(placement);
5714
+ const isVertical = sideAxis === 'y';
5715
+ const commonX = reference.x + reference.width / 2 - floating.width / 2;
5716
+ const commonY = reference.y + reference.height / 2 - floating.height / 2;
5717
+ const commonAlign = reference[alignLength] / 2 - floating[alignLength] / 2;
5718
+ let coords;
5719
+ switch (side) {
5720
+ case 'top':
5721
+ coords = {
5722
+ x: commonX,
5723
+ y: reference.y - floating.height
5724
+ };
5725
+ break;
5726
+ case 'bottom':
5727
+ coords = {
5728
+ x: commonX,
5729
+ y: reference.y + reference.height
5730
+ };
5731
+ break;
5732
+ case 'right':
5733
+ coords = {
5734
+ x: reference.x + reference.width,
5735
+ y: commonY
5736
+ };
5737
+ break;
5738
+ case 'left':
5739
+ coords = {
5740
+ x: reference.x - floating.width,
5741
+ y: commonY
5742
+ };
5743
+ break;
5744
+ default:
5745
+ coords = {
5746
+ x: reference.x,
5747
+ y: reference.y
5748
+ };
5749
+ }
5750
+ switch (getAlignment(placement)) {
5751
+ case 'start':
5752
+ coords[alignmentAxis] -= commonAlign * (rtl && isVertical ? -1 : 1);
5753
+ break;
5754
+ case 'end':
5755
+ coords[alignmentAxis] += commonAlign * (rtl && isVertical ? -1 : 1);
5756
+ break;
5757
+ }
5758
+ return coords;
5759
+ }
5760
+
5761
+ /**
5762
+ * Resolves with an object of overflow side offsets that determine how much the
5763
+ * element is overflowing a given clipping boundary on each side.
5764
+ * - positive = overflowing the boundary by that number of pixels
5765
+ * - negative = how many pixels left before it will overflow
5766
+ * - 0 = lies flush with the boundary
5767
+ * @see https://floating-ui.com/docs/detectOverflow
5768
+ */
5769
+ async function detectOverflow(state, options) {
5770
+ var _await$platform$isEle;
5771
+ if (options === void 0) {
5772
+ options = {};
5773
+ }
5774
+ const {
5775
+ x,
5776
+ y,
5777
+ platform,
5778
+ rects,
5779
+ elements,
5780
+ strategy
5781
+ } = state;
5782
+ const {
5783
+ boundary = 'clippingAncestors',
5784
+ rootBoundary = 'viewport',
5785
+ elementContext = 'floating',
5786
+ altBoundary = false,
5787
+ padding = 0
5788
+ } = evaluate(options, state);
5789
+ const paddingObject = getPaddingObject(padding);
5790
+ const altContext = elementContext === 'floating' ? 'reference' : 'floating';
5791
+ const element = elements[altBoundary ? altContext : elementContext];
5792
+ const clippingClientRect = rectToClientRect(await platform.getClippingRect({
5793
+ element: ((_await$platform$isEle = await (platform.isElement == null ? void 0 : platform.isElement(element))) != null ? _await$platform$isEle : true) ? element : element.contextElement || (await (platform.getDocumentElement == null ? void 0 : platform.getDocumentElement(elements.floating))),
5794
+ boundary,
5795
+ rootBoundary,
5796
+ strategy
5797
+ }));
5798
+ const rect = elementContext === 'floating' ? {
5799
+ x,
5800
+ y,
5801
+ width: rects.floating.width,
5802
+ height: rects.floating.height
5803
+ } : rects.reference;
5804
+ const offsetParent = await (platform.getOffsetParent == null ? void 0 : platform.getOffsetParent(elements.floating));
5805
+ const offsetScale = (await (platform.isElement == null ? void 0 : platform.isElement(offsetParent))) ? (await (platform.getScale == null ? void 0 : platform.getScale(offsetParent))) || {
5806
+ x: 1,
5807
+ y: 1
5808
+ } : {
5809
+ x: 1,
5810
+ y: 1
5811
+ };
5812
+ const elementClientRect = rectToClientRect(platform.convertOffsetParentRelativeRectToViewportRelativeRect ? await platform.convertOffsetParentRelativeRectToViewportRelativeRect({
5813
+ elements,
5814
+ rect,
5815
+ offsetParent,
5816
+ strategy
5817
+ }) : rect);
5818
+ return {
5819
+ top: (clippingClientRect.top - elementClientRect.top + paddingObject.top) / offsetScale.y,
5820
+ bottom: (elementClientRect.bottom - clippingClientRect.bottom + paddingObject.bottom) / offsetScale.y,
5821
+ left: (clippingClientRect.left - elementClientRect.left + paddingObject.left) / offsetScale.x,
5822
+ right: (elementClientRect.right - clippingClientRect.right + paddingObject.right) / offsetScale.x
5823
+ };
5824
+ }
5825
+
5826
+ // Maximum number of resets that can occur before bailing to avoid infinite reset loops.
5827
+ const MAX_RESET_COUNT = 50;
5828
+
5829
+ /**
5830
+ * Computes the `x` and `y` coordinates that will place the floating element
5831
+ * next to a given reference element.
5832
+ *
5833
+ * This export does not have any `platform` interface logic. You will need to
5834
+ * write one for the platform you are using Floating UI with.
5835
+ */
5836
+ const computePosition$1 = async (reference, floating, config) => {
5837
+ const {
5838
+ placement = 'bottom',
5839
+ strategy = 'absolute',
5840
+ middleware = [],
5841
+ platform
5842
+ } = config;
5843
+ const platformWithDetectOverflow = platform.detectOverflow ? platform : {
5844
+ ...platform,
5845
+ detectOverflow
5846
+ };
5847
+ const rtl = await (platform.isRTL == null ? void 0 : platform.isRTL(floating));
5848
+ let rects = await platform.getElementRects({
5849
+ reference,
5850
+ floating,
5851
+ strategy
5852
+ });
5853
+ let {
5854
+ x,
5855
+ y
5856
+ } = computeCoordsFromPlacement(rects, placement, rtl);
5857
+ let statefulPlacement = placement;
5858
+ let resetCount = 0;
5859
+ const middlewareData = {};
5860
+ for (let i = 0; i < middleware.length; i++) {
5861
+ const currentMiddleware = middleware[i];
5862
+ if (!currentMiddleware) {
5863
+ continue;
5864
+ }
5865
+ const {
5866
+ name,
5867
+ fn
5868
+ } = currentMiddleware;
5869
+ const {
5870
+ x: nextX,
5871
+ y: nextY,
5872
+ data,
5873
+ reset
5874
+ } = await fn({
5875
+ x,
5876
+ y,
5877
+ initialPlacement: placement,
5878
+ placement: statefulPlacement,
5879
+ strategy,
5880
+ middlewareData,
5881
+ rects,
5882
+ platform: platformWithDetectOverflow,
5883
+ elements: {
5884
+ reference,
5885
+ floating
5886
+ }
5887
+ });
5888
+ x = nextX != null ? nextX : x;
5889
+ y = nextY != null ? nextY : y;
5890
+ middlewareData[name] = {
5891
+ ...middlewareData[name],
5892
+ ...data
5893
+ };
5894
+ if (reset && resetCount < MAX_RESET_COUNT) {
5895
+ resetCount++;
5896
+ if (typeof reset === 'object') {
5897
+ if (reset.placement) {
5898
+ statefulPlacement = reset.placement;
5899
+ }
5900
+ if (reset.rects) {
5901
+ rects = reset.rects === true ? await platform.getElementRects({
5902
+ reference,
5903
+ floating,
5904
+ strategy
5905
+ }) : reset.rects;
5906
+ }
5907
+ ({
5908
+ x,
5909
+ y
5910
+ } = computeCoordsFromPlacement(rects, statefulPlacement, rtl));
5911
+ }
5912
+ i = -1;
5913
+ }
5914
+ }
5915
+ return {
5916
+ x,
5917
+ y,
5918
+ placement: statefulPlacement,
5919
+ strategy,
5920
+ middlewareData
5921
+ };
5922
+ };
5923
+
5924
+ /**
5925
+ * Optimizes the visibility of the floating element by flipping the `placement`
5926
+ * in order to keep it in view when the preferred placement(s) will overflow the
5927
+ * clipping boundary. Alternative to `autoPlacement`.
5928
+ * @see https://floating-ui.com/docs/flip
5929
+ */
5930
+ const flip$1 = function (options) {
5931
+ if (options === void 0) {
5932
+ options = {};
5933
+ }
5934
+ return {
5935
+ name: 'flip',
5936
+ options,
5937
+ async fn(state) {
5938
+ var _middlewareData$arrow, _middlewareData$flip;
5939
+ const {
5940
+ placement,
5941
+ middlewareData,
5942
+ rects,
5943
+ initialPlacement,
5944
+ platform,
5945
+ elements
5946
+ } = state;
5947
+ const {
5948
+ mainAxis: checkMainAxis = true,
5949
+ crossAxis: checkCrossAxis = true,
5950
+ fallbackPlacements: specifiedFallbackPlacements,
5951
+ fallbackStrategy = 'bestFit',
5952
+ fallbackAxisSideDirection = 'none',
5953
+ flipAlignment = true,
5954
+ ...detectOverflowOptions
5955
+ } = evaluate(options, state);
5956
+
5957
+ // If a reset by the arrow was caused due to an alignment offset being
5958
+ // added, we should skip any logic now since `flip()` has already done its
5959
+ // work.
5960
+ // https://github.com/floating-ui/floating-ui/issues/2549#issuecomment-1719601643
5961
+ if ((_middlewareData$arrow = middlewareData.arrow) != null && _middlewareData$arrow.alignmentOffset) {
5962
+ return {};
5963
+ }
5964
+ const side = getSide(placement);
5965
+ const initialSideAxis = getSideAxis(initialPlacement);
5966
+ const isBasePlacement = getSide(initialPlacement) === initialPlacement;
5967
+ const rtl = await (platform.isRTL == null ? void 0 : platform.isRTL(elements.floating));
5968
+ const fallbackPlacements = specifiedFallbackPlacements || (isBasePlacement || !flipAlignment ? [getOppositePlacement(initialPlacement)] : getExpandedPlacements(initialPlacement));
5969
+ const hasFallbackAxisSideDirection = fallbackAxisSideDirection !== 'none';
5970
+ if (!specifiedFallbackPlacements && hasFallbackAxisSideDirection) {
5971
+ fallbackPlacements.push(...getOppositeAxisPlacements(initialPlacement, flipAlignment, fallbackAxisSideDirection, rtl));
5972
+ }
5973
+ const placements = [initialPlacement, ...fallbackPlacements];
5974
+ const overflow = await platform.detectOverflow(state, detectOverflowOptions);
5975
+ const overflows = [];
5976
+ let overflowsData = ((_middlewareData$flip = middlewareData.flip) == null ? void 0 : _middlewareData$flip.overflows) || [];
5977
+ if (checkMainAxis) {
5978
+ overflows.push(overflow[side]);
5979
+ }
5980
+ if (checkCrossAxis) {
5981
+ const sides = getAlignmentSides(placement, rects, rtl);
5982
+ overflows.push(overflow[sides[0]], overflow[sides[1]]);
5983
+ }
5984
+ overflowsData = [...overflowsData, {
5985
+ placement,
5986
+ overflows
5987
+ }];
5988
+
5989
+ // One or more sides is overflowing.
5990
+ if (!overflows.every(side => side <= 0)) {
5991
+ var _middlewareData$flip2, _overflowsData$filter;
5992
+ const nextIndex = (((_middlewareData$flip2 = middlewareData.flip) == null ? void 0 : _middlewareData$flip2.index) || 0) + 1;
5993
+ const nextPlacement = placements[nextIndex];
5994
+ if (nextPlacement) {
5995
+ const ignoreCrossAxisOverflow = checkCrossAxis === 'alignment' ? initialSideAxis !== getSideAxis(nextPlacement) : false;
5996
+ if (!ignoreCrossAxisOverflow ||
5997
+ // We leave the current main axis only if every placement on that axis
5998
+ // overflows the main axis.
5999
+ overflowsData.every(d => getSideAxis(d.placement) === initialSideAxis ? d.overflows[0] > 0 : true)) {
6000
+ // Try next placement and re-run the lifecycle.
6001
+ return {
6002
+ data: {
6003
+ index: nextIndex,
6004
+ overflows: overflowsData
6005
+ },
6006
+ reset: {
6007
+ placement: nextPlacement
6008
+ }
6009
+ };
6010
+ }
6011
+ }
6012
+
6013
+ // First, find the candidates that fit on the mainAxis side of overflow,
6014
+ // then find the placement that fits the best on the main crossAxis side.
6015
+ let resetPlacement = (_overflowsData$filter = overflowsData.filter(d => d.overflows[0] <= 0).sort((a, b) => a.overflows[1] - b.overflows[1])[0]) == null ? void 0 : _overflowsData$filter.placement;
6016
+
6017
+ // Otherwise fallback.
6018
+ if (!resetPlacement) {
6019
+ switch (fallbackStrategy) {
6020
+ case 'bestFit':
6021
+ {
6022
+ var _overflowsData$filter2;
6023
+ const placement = (_overflowsData$filter2 = overflowsData.filter(d => {
6024
+ if (hasFallbackAxisSideDirection) {
6025
+ const currentSideAxis = getSideAxis(d.placement);
6026
+ return currentSideAxis === initialSideAxis ||
6027
+ // Create a bias to the `y` side axis due to horizontal
6028
+ // reading directions favoring greater width.
6029
+ currentSideAxis === 'y';
6030
+ }
6031
+ return true;
6032
+ }).map(d => [d.placement, d.overflows.filter(overflow => overflow > 0).reduce((acc, overflow) => acc + overflow, 0)]).sort((a, b) => a[1] - b[1])[0]) == null ? void 0 : _overflowsData$filter2[0];
6033
+ if (placement) {
6034
+ resetPlacement = placement;
6035
+ }
6036
+ break;
6037
+ }
6038
+ case 'initialPlacement':
6039
+ resetPlacement = initialPlacement;
6040
+ break;
6041
+ }
6042
+ }
6043
+ if (placement !== resetPlacement) {
6044
+ return {
6045
+ reset: {
6046
+ placement: resetPlacement
6047
+ }
6048
+ };
6049
+ }
6050
+ }
6051
+ return {};
6052
+ }
6053
+ };
6054
+ };
6055
+
6056
+ const originSides = /*#__PURE__*/new Set(['left', 'top']);
6057
+
6058
+ // For type backwards-compatibility, the `OffsetOptions` type was also
6059
+ // Derivable.
6060
+
6061
+ async function convertValueToCoords(state, options) {
6062
+ const {
6063
+ placement,
6064
+ platform,
6065
+ elements
6066
+ } = state;
6067
+ const rtl = await (platform.isRTL == null ? void 0 : platform.isRTL(elements.floating));
6068
+ const side = getSide(placement);
6069
+ const alignment = getAlignment(placement);
6070
+ const isVertical = getSideAxis(placement) === 'y';
6071
+ const mainAxisMulti = originSides.has(side) ? -1 : 1;
6072
+ const crossAxisMulti = rtl && isVertical ? -1 : 1;
6073
+ const rawValue = evaluate(options, state);
6074
+
6075
+ // eslint-disable-next-line prefer-const
6076
+ let {
6077
+ mainAxis,
6078
+ crossAxis,
6079
+ alignmentAxis
6080
+ } = typeof rawValue === 'number' ? {
6081
+ mainAxis: rawValue,
6082
+ crossAxis: 0,
6083
+ alignmentAxis: null
6084
+ } : {
6085
+ mainAxis: rawValue.mainAxis || 0,
6086
+ crossAxis: rawValue.crossAxis || 0,
6087
+ alignmentAxis: rawValue.alignmentAxis
6088
+ };
6089
+ if (alignment && typeof alignmentAxis === 'number') {
6090
+ crossAxis = alignment === 'end' ? alignmentAxis * -1 : alignmentAxis;
6091
+ }
6092
+ return isVertical ? {
6093
+ x: crossAxis * crossAxisMulti,
6094
+ y: mainAxis * mainAxisMulti
6095
+ } : {
6096
+ x: mainAxis * mainAxisMulti,
6097
+ y: crossAxis * crossAxisMulti
6098
+ };
6099
+ }
6100
+
6101
+ /**
6102
+ * Modifies the placement by translating the floating element along the
6103
+ * specified axes.
6104
+ * A number (shorthand for `mainAxis` or distance), or an axes configuration
6105
+ * object may be passed.
6106
+ * @see https://floating-ui.com/docs/offset
6107
+ */
6108
+ const offset$1 = function (options) {
6109
+ if (options === void 0) {
6110
+ options = 0;
6111
+ }
6112
+ return {
6113
+ name: 'offset',
6114
+ options,
6115
+ async fn(state) {
6116
+ var _middlewareData$offse, _middlewareData$arrow;
6117
+ const {
6118
+ x,
6119
+ y,
6120
+ placement,
6121
+ middlewareData
6122
+ } = state;
6123
+ const diffCoords = await convertValueToCoords(state, options);
6124
+
6125
+ // If the placement is the same and the arrow caused an alignment offset
6126
+ // then we don't need to change the positioning coordinates.
6127
+ if (placement === ((_middlewareData$offse = middlewareData.offset) == null ? void 0 : _middlewareData$offse.placement) && (_middlewareData$arrow = middlewareData.arrow) != null && _middlewareData$arrow.alignmentOffset) {
6128
+ return {};
6129
+ }
6130
+ return {
6131
+ x: x + diffCoords.x,
6132
+ y: y + diffCoords.y,
6133
+ data: {
6134
+ ...diffCoords,
6135
+ placement
6136
+ }
6137
+ };
6138
+ }
6139
+ };
6140
+ };
6141
+
6142
+ /**
6143
+ * Optimizes the visibility of the floating element by shifting it in order to
6144
+ * keep it in view when it will overflow the clipping boundary.
6145
+ * @see https://floating-ui.com/docs/shift
6146
+ */
6147
+ const shift$1 = function (options) {
6148
+ if (options === void 0) {
6149
+ options = {};
6150
+ }
6151
+ return {
6152
+ name: 'shift',
6153
+ options,
6154
+ async fn(state) {
6155
+ const {
6156
+ x,
6157
+ y,
6158
+ placement,
6159
+ platform
6160
+ } = state;
6161
+ const {
6162
+ mainAxis: checkMainAxis = true,
6163
+ crossAxis: checkCrossAxis = false,
6164
+ limiter = {
6165
+ fn: _ref => {
6166
+ let {
6167
+ x,
6168
+ y
6169
+ } = _ref;
6170
+ return {
6171
+ x,
6172
+ y
6173
+ };
6174
+ }
6175
+ },
6176
+ ...detectOverflowOptions
6177
+ } = evaluate(options, state);
6178
+ const coords = {
6179
+ x,
6180
+ y
6181
+ };
6182
+ const overflow = await platform.detectOverflow(state, detectOverflowOptions);
6183
+ const crossAxis = getSideAxis(getSide(placement));
6184
+ const mainAxis = getOppositeAxis(crossAxis);
6185
+ let mainAxisCoord = coords[mainAxis];
6186
+ let crossAxisCoord = coords[crossAxis];
6187
+ if (checkMainAxis) {
6188
+ const minSide = mainAxis === 'y' ? 'top' : 'left';
6189
+ const maxSide = mainAxis === 'y' ? 'bottom' : 'right';
6190
+ const min = mainAxisCoord + overflow[minSide];
6191
+ const max = mainAxisCoord - overflow[maxSide];
6192
+ mainAxisCoord = clamp(min, mainAxisCoord, max);
6193
+ }
6194
+ if (checkCrossAxis) {
6195
+ const minSide = crossAxis === 'y' ? 'top' : 'left';
6196
+ const maxSide = crossAxis === 'y' ? 'bottom' : 'right';
6197
+ const min = crossAxisCoord + overflow[minSide];
6198
+ const max = crossAxisCoord - overflow[maxSide];
6199
+ crossAxisCoord = clamp(min, crossAxisCoord, max);
6200
+ }
6201
+ const limitedCoords = limiter.fn({
6202
+ ...state,
6203
+ [mainAxis]: mainAxisCoord,
6204
+ [crossAxis]: crossAxisCoord
6205
+ });
6206
+ return {
6207
+ ...limitedCoords,
6208
+ data: {
6209
+ x: limitedCoords.x - x,
6210
+ y: limitedCoords.y - y,
6211
+ enabled: {
6212
+ [mainAxis]: checkMainAxis,
6213
+ [crossAxis]: checkCrossAxis
6214
+ }
6215
+ }
6216
+ };
6217
+ }
6218
+ };
6219
+ };
5436
6220
 
5437
- const curaSelectCss = ":host{display:block;position:relative;font-family:var(--font-family)}.wrapper{width:100%;user-select:none;text-align:left !important}.wrapper cura-label{margin-bottom:8px}.wrapper .helper-text{margin-top:8px;color:var(--neutral-dark)}.wrapper .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}.wrapper .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}.wrapper .cura-input-field input::placeholder{color:var(--neutral-dark)}.wrapper .cura-input-field .feedback-icon{padding-left:12px}.wrapper .cura-input-field .up-down-icon{order:3;padding-right:6px;cursor:pointer;pointer-events:all}.wrapper .cura-input-field .up-down-button{background-color:transparent;border:none}.wrapper .cura-input-field input{padding:0px 12px 0px 8px;cursor:pointer}.wrapper .cura-input-field.open{border-radius:4px 4px 0 0 !important}.wrapper.transparent{background-color:transparent;padding:0px;max-height:80px}.wrapper.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}.wrapper.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}.wrapper.transparent .cura-input-field input::placeholder{color:var(--neutral-dark)}.wrapper.transparent .cura-input-field .feedback-icon{padding-left:12px}.wrapper.transparent .cura-input-field input{color:var(--neutral-black) !important;font-size:16px;font-weight:var(--font-weight-bold) !important;padding:0}.wrapper.transparent .cura-input-field input::placeholder{color:var(--neutral-black)}.wrapper.transparent .cura-input-field .feedback-icon{order:3;margin:0 20px 0 0}.wrapper.transparent:focus-within .cura-input-field{border:none !important;background-color:transparent !important}.wrapper.transparent:focus-within .cura-input-field input{border:none !important;outline:none}.wrapper.transparent .helper-text{margin-top:0px}.wrapper:hover:not(.disabled):not(.isLoading):not(.success):not(.error):not(.isFocused):not(.readOnly):not(.transparent) .cura-input-field{border-color:var(--neutral-dark)}.wrapper:hover:not(.disabled):not(.isLoading):not(.success):not(.error):not(.isFocused):not(.readOnly):not(.transparent) .cura-input-field input{color:var(--neutral-dark)}.wrapper:hover:not(.disabled):not(.isLoading):not(.success):not(.error):not(.isFocused):not(.readOnly):not(.transparent) .cura-input-field input::placeholder{color:var(--neutral-dark)}.wrapper:focus-within:not(.selection) .cura-input-field{border:2px solid var(--info-base) !important;background-color:var(--neutral-purewhite);outline:none}.wrapper:focus-within:not(.selection) .cura-input-field input{color:var(--neutral-black) !important}.wrapper:focus-within.selection .cura-input-field{border-radius:4px 4px 0px 0px}.wrapper.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}.wrapper.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}.wrapper.success .cura-input-field input::placeholder{color:var(--neutral-dark)}.wrapper.success .cura-input-field .feedback-icon{padding-left:12px}.wrapper.success .cura-input-field input{color:var(--success-darker) !important}.wrapper.success .cura-input-field input::placeholder{color:var(--success-darker) !important}.wrapper.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}.wrapper.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}.wrapper.success:not(.transparent) .cura-input-field input::placeholder{color:var(--neutral-dark)}.wrapper.success:not(.transparent) .cura-input-field .feedback-icon{padding-left:12px}.wrapper.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}.wrapper.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}.wrapper.error .cura-input-field input::placeholder{color:var(--neutral-dark)}.wrapper.error .cura-input-field .feedback-icon{padding-left:12px}.wrapper.error .cura-input-field input{color:var(--error-darker) !important}.wrapper.error .cura-input-field input::placeholder{color:var(--error-darker) !important}.wrapper.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}.wrapper.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}.wrapper.error:not(.transparent) .cura-input-field input::placeholder{color:var(--neutral-dark)}.wrapper.error:not(.transparent) .cura-input-field .feedback-icon{padding-left:12px}.wrapper.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}.wrapper.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}.wrapper.small .cura-input-field input::placeholder{color:var(--neutral-dark)}.wrapper.small .cura-input-field .feedback-icon{padding-left:12px}.wrapper.small .cura-input-field input{line-height:13px;letter-spacing:0.72px}.wrapper.small .helper-text{margin-top:8px;color:var(--neutral-dark);font-weight:var(--font-weight-regular)}.wrapper.small.label .menu{top:53px}.wrapper.small .menu{top:33px}.wrapper.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}.wrapper.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}.wrapper.medium .cura-input-field input::placeholder{color:var(--neutral-dark)}.wrapper.medium .cura-input-field .feedback-icon{padding-left:12px}.wrapper.medium .cura-input-field input{line-height:16px;letter-spacing:0.56px}.wrapper.medium .helper-text{margin-top:8px;color:var(--neutral-dark);font-weight:var(--font-weight-regular)}.wrapper.medium.label .menu{top:61px}.wrapper.medium .menu{top:40px}.wrapper.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}.wrapper.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}.wrapper.large .cura-input-field input::placeholder{color:var(--neutral-dark)}.wrapper.large .cura-input-field .feedback-icon{padding-left:12px}.wrapper.large .helper-text{margin-top:8px;color:var(--neutral-dark);font-weight:var(--font-weight-bold)}.wrapper.large.label .menu{top:69px}.wrapper.large .menu{top:47px}.wrapper.disabled .cura-input-field{background-color:var(--neutral-white);border:2px solid var(--neutral-base)}.wrapper.disabled .cura-input-field input{color:var(--neutral-medium)}.wrapper.disabled .cura-input-field input::placeholder{color:var(--neutral-medium)}.required{color:red}.menu{position:absolute;left:0;right:-1px;background:#fff;border:2px solid var(--neutral-light);border-radius:4px;z-index:1000;max-height:var(--max-height);overflow:hidden;border-top:transparent;align-items:center;scrollbar-color:var(--neutral-medium) var(--neutral-black-20);overflow-y:auto;box-shadow:0px 4px 8px 0px rgba(38, 38, 38, 0.16)}.menu.open{border-radius:0 !important;padding:12px}";
6221
+ /**
6222
+ * Provides data that allows you to change the size of the floating element —
6223
+ * for instance, prevent it from overflowing the clipping boundary or match the
6224
+ * width of the reference element.
6225
+ * @see https://floating-ui.com/docs/size
6226
+ */
6227
+ const size$1 = function (options) {
6228
+ if (options === void 0) {
6229
+ options = {};
6230
+ }
6231
+ return {
6232
+ name: 'size',
6233
+ options,
6234
+ async fn(state) {
6235
+ var _state$middlewareData, _state$middlewareData2;
6236
+ const {
6237
+ placement,
6238
+ rects,
6239
+ platform,
6240
+ elements
6241
+ } = state;
6242
+ const {
6243
+ apply = () => {},
6244
+ ...detectOverflowOptions
6245
+ } = evaluate(options, state);
6246
+ const overflow = await platform.detectOverflow(state, detectOverflowOptions);
6247
+ const side = getSide(placement);
6248
+ const alignment = getAlignment(placement);
6249
+ const isYAxis = getSideAxis(placement) === 'y';
6250
+ const {
6251
+ width,
6252
+ height
6253
+ } = rects.floating;
6254
+ let heightSide;
6255
+ let widthSide;
6256
+ if (side === 'top' || side === 'bottom') {
6257
+ heightSide = side;
6258
+ widthSide = alignment === ((await (platform.isRTL == null ? void 0 : platform.isRTL(elements.floating))) ? 'start' : 'end') ? 'left' : 'right';
6259
+ } else {
6260
+ widthSide = side;
6261
+ heightSide = alignment === 'end' ? 'top' : 'bottom';
6262
+ }
6263
+ const maximumClippingHeight = height - overflow.top - overflow.bottom;
6264
+ const maximumClippingWidth = width - overflow.left - overflow.right;
6265
+ const overflowAvailableHeight = min(height - overflow[heightSide], maximumClippingHeight);
6266
+ const overflowAvailableWidth = min(width - overflow[widthSide], maximumClippingWidth);
6267
+ const noShift = !state.middlewareData.shift;
6268
+ let availableHeight = overflowAvailableHeight;
6269
+ let availableWidth = overflowAvailableWidth;
6270
+ if ((_state$middlewareData = state.middlewareData.shift) != null && _state$middlewareData.enabled.x) {
6271
+ availableWidth = maximumClippingWidth;
6272
+ }
6273
+ if ((_state$middlewareData2 = state.middlewareData.shift) != null && _state$middlewareData2.enabled.y) {
6274
+ availableHeight = maximumClippingHeight;
6275
+ }
6276
+ if (noShift && !alignment) {
6277
+ const xMin = max(overflow.left, 0);
6278
+ const xMax = max(overflow.right, 0);
6279
+ const yMin = max(overflow.top, 0);
6280
+ const yMax = max(overflow.bottom, 0);
6281
+ if (isYAxis) {
6282
+ availableWidth = width - 2 * (xMin !== 0 || xMax !== 0 ? xMin + xMax : max(overflow.left, overflow.right));
6283
+ } else {
6284
+ availableHeight = height - 2 * (yMin !== 0 || yMax !== 0 ? yMin + yMax : max(overflow.top, overflow.bottom));
6285
+ }
6286
+ }
6287
+ await apply({
6288
+ ...state,
6289
+ availableWidth,
6290
+ availableHeight
6291
+ });
6292
+ const nextDimensions = await platform.getDimensions(elements.floating);
6293
+ if (width !== nextDimensions.width || height !== nextDimensions.height) {
6294
+ return {
6295
+ reset: {
6296
+ rects: true
6297
+ }
6298
+ };
6299
+ }
6300
+ return {};
6301
+ }
6302
+ };
6303
+ };
6304
+
6305
+ function hasWindow() {
6306
+ return typeof window !== 'undefined';
6307
+ }
6308
+ function getNodeName(node) {
6309
+ if (isNode(node)) {
6310
+ return (node.nodeName || '').toLowerCase();
6311
+ }
6312
+ // Mocked nodes in testing environments may not be instances of Node. By
6313
+ // returning `#document` an infinite loop won't occur.
6314
+ // https://github.com/floating-ui/floating-ui/issues/2317
6315
+ return '#document';
6316
+ }
6317
+ function getWindow(node) {
6318
+ var _node$ownerDocument;
6319
+ return (node == null || (_node$ownerDocument = node.ownerDocument) == null ? void 0 : _node$ownerDocument.defaultView) || window;
6320
+ }
6321
+ function getDocumentElement(node) {
6322
+ var _ref;
6323
+ return (_ref = (isNode(node) ? node.ownerDocument : node.document) || window.document) == null ? void 0 : _ref.documentElement;
6324
+ }
6325
+ function isNode(value) {
6326
+ if (!hasWindow()) {
6327
+ return false;
6328
+ }
6329
+ return value instanceof Node || value instanceof getWindow(value).Node;
6330
+ }
6331
+ function isElement(value) {
6332
+ if (!hasWindow()) {
6333
+ return false;
6334
+ }
6335
+ return value instanceof Element || value instanceof getWindow(value).Element;
6336
+ }
6337
+ function isHTMLElement(value) {
6338
+ if (!hasWindow()) {
6339
+ return false;
6340
+ }
6341
+ return value instanceof HTMLElement || value instanceof getWindow(value).HTMLElement;
6342
+ }
6343
+ function isShadowRoot(value) {
6344
+ if (!hasWindow() || typeof ShadowRoot === 'undefined') {
6345
+ return false;
6346
+ }
6347
+ return value instanceof ShadowRoot || value instanceof getWindow(value).ShadowRoot;
6348
+ }
6349
+ function isOverflowElement(element) {
6350
+ const {
6351
+ overflow,
6352
+ overflowX,
6353
+ overflowY,
6354
+ display
6355
+ } = getComputedStyle$1(element);
6356
+ return /auto|scroll|overlay|hidden|clip/.test(overflow + overflowY + overflowX) && display !== 'inline' && display !== 'contents';
6357
+ }
6358
+ function isTableElement(element) {
6359
+ return /^(table|td|th)$/.test(getNodeName(element));
6360
+ }
6361
+ function isTopLayer(element) {
6362
+ try {
6363
+ if (element.matches(':popover-open')) {
6364
+ return true;
6365
+ }
6366
+ } catch (_e) {
6367
+ // no-op
6368
+ }
6369
+ try {
6370
+ return element.matches(':modal');
6371
+ } catch (_e) {
6372
+ return false;
6373
+ }
6374
+ }
6375
+ const willChangeRe = /transform|translate|scale|rotate|perspective|filter/;
6376
+ const containRe = /paint|layout|strict|content/;
6377
+ const isNotNone = value => !!value && value !== 'none';
6378
+ let isWebKitValue;
6379
+ function isContainingBlock(elementOrCss) {
6380
+ const css = isElement(elementOrCss) ? getComputedStyle$1(elementOrCss) : elementOrCss;
6381
+
6382
+ // https://developer.mozilla.org/en-US/docs/Web/CSS/Containing_block#identifying_the_containing_block
6383
+ // https://drafts.csswg.org/css-transforms-2/#individual-transforms
6384
+ return isNotNone(css.transform) || isNotNone(css.translate) || isNotNone(css.scale) || isNotNone(css.rotate) || isNotNone(css.perspective) || !isWebKit() && (isNotNone(css.backdropFilter) || isNotNone(css.filter)) || willChangeRe.test(css.willChange || '') || containRe.test(css.contain || '');
6385
+ }
6386
+ function getContainingBlock(element) {
6387
+ let currentNode = getParentNode(element);
6388
+ while (isHTMLElement(currentNode) && !isLastTraversableNode(currentNode)) {
6389
+ if (isContainingBlock(currentNode)) {
6390
+ return currentNode;
6391
+ } else if (isTopLayer(currentNode)) {
6392
+ return null;
6393
+ }
6394
+ currentNode = getParentNode(currentNode);
6395
+ }
6396
+ return null;
6397
+ }
6398
+ function isWebKit() {
6399
+ if (isWebKitValue == null) {
6400
+ isWebKitValue = typeof CSS !== 'undefined' && CSS.supports && CSS.supports('-webkit-backdrop-filter', 'none');
6401
+ }
6402
+ return isWebKitValue;
6403
+ }
6404
+ function isLastTraversableNode(node) {
6405
+ return /^(html|body|#document)$/.test(getNodeName(node));
6406
+ }
6407
+ function getComputedStyle$1(element) {
6408
+ return getWindow(element).getComputedStyle(element);
6409
+ }
6410
+ function getNodeScroll(element) {
6411
+ if (isElement(element)) {
6412
+ return {
6413
+ scrollLeft: element.scrollLeft,
6414
+ scrollTop: element.scrollTop
6415
+ };
6416
+ }
6417
+ return {
6418
+ scrollLeft: element.scrollX,
6419
+ scrollTop: element.scrollY
6420
+ };
6421
+ }
6422
+ function getParentNode(node) {
6423
+ if (getNodeName(node) === 'html') {
6424
+ return node;
6425
+ }
6426
+ const result =
6427
+ // Step into the shadow DOM of the parent of a slotted node.
6428
+ node.assignedSlot ||
6429
+ // DOM Element detected.
6430
+ node.parentNode ||
6431
+ // ShadowRoot detected.
6432
+ isShadowRoot(node) && node.host ||
6433
+ // Fallback.
6434
+ getDocumentElement(node);
6435
+ return isShadowRoot(result) ? result.host : result;
6436
+ }
6437
+ function getNearestOverflowAncestor(node) {
6438
+ const parentNode = getParentNode(node);
6439
+ if (isLastTraversableNode(parentNode)) {
6440
+ return node.ownerDocument ? node.ownerDocument.body : node.body;
6441
+ }
6442
+ if (isHTMLElement(parentNode) && isOverflowElement(parentNode)) {
6443
+ return parentNode;
6444
+ }
6445
+ return getNearestOverflowAncestor(parentNode);
6446
+ }
6447
+ function getOverflowAncestors(node, list, traverseIframes) {
6448
+ var _node$ownerDocument2;
6449
+ if (list === void 0) {
6450
+ list = [];
6451
+ }
6452
+ if (traverseIframes === void 0) {
6453
+ traverseIframes = true;
6454
+ }
6455
+ const scrollableAncestor = getNearestOverflowAncestor(node);
6456
+ const isBody = scrollableAncestor === ((_node$ownerDocument2 = node.ownerDocument) == null ? void 0 : _node$ownerDocument2.body);
6457
+ const win = getWindow(scrollableAncestor);
6458
+ if (isBody) {
6459
+ const frameElement = getFrameElement(win);
6460
+ return list.concat(win, win.visualViewport || [], isOverflowElement(scrollableAncestor) ? scrollableAncestor : [], frameElement && traverseIframes ? getOverflowAncestors(frameElement) : []);
6461
+ } else {
6462
+ return list.concat(scrollableAncestor, getOverflowAncestors(scrollableAncestor, [], traverseIframes));
6463
+ }
6464
+ }
6465
+ function getFrameElement(win) {
6466
+ return win.parent && Object.getPrototypeOf(win.parent) ? win.frameElement : null;
6467
+ }
6468
+
6469
+ function getCssDimensions(element) {
6470
+ const css = getComputedStyle$1(element);
6471
+ // In testing environments, the `width` and `height` properties are empty
6472
+ // strings for SVG elements, returning NaN. Fallback to `0` in this case.
6473
+ let width = parseFloat(css.width) || 0;
6474
+ let height = parseFloat(css.height) || 0;
6475
+ const hasOffset = isHTMLElement(element);
6476
+ const offsetWidth = hasOffset ? element.offsetWidth : width;
6477
+ const offsetHeight = hasOffset ? element.offsetHeight : height;
6478
+ const shouldFallback = round(width) !== offsetWidth || round(height) !== offsetHeight;
6479
+ if (shouldFallback) {
6480
+ width = offsetWidth;
6481
+ height = offsetHeight;
6482
+ }
6483
+ return {
6484
+ width,
6485
+ height,
6486
+ $: shouldFallback
6487
+ };
6488
+ }
6489
+
6490
+ function unwrapElement(element) {
6491
+ return !isElement(element) ? element.contextElement : element;
6492
+ }
6493
+
6494
+ function getScale(element) {
6495
+ const domElement = unwrapElement(element);
6496
+ if (!isHTMLElement(domElement)) {
6497
+ return createCoords(1);
6498
+ }
6499
+ const rect = domElement.getBoundingClientRect();
6500
+ const {
6501
+ width,
6502
+ height,
6503
+ $
6504
+ } = getCssDimensions(domElement);
6505
+ let x = ($ ? round(rect.width) : rect.width) / width;
6506
+ let y = ($ ? round(rect.height) : rect.height) / height;
6507
+
6508
+ // 0, NaN, or Infinity should always fallback to 1.
6509
+
6510
+ if (!x || !Number.isFinite(x)) {
6511
+ x = 1;
6512
+ }
6513
+ if (!y || !Number.isFinite(y)) {
6514
+ y = 1;
6515
+ }
6516
+ return {
6517
+ x,
6518
+ y
6519
+ };
6520
+ }
6521
+
6522
+ const noOffsets = /*#__PURE__*/createCoords(0);
6523
+ function getVisualOffsets(element) {
6524
+ const win = getWindow(element);
6525
+ if (!isWebKit() || !win.visualViewport) {
6526
+ return noOffsets;
6527
+ }
6528
+ return {
6529
+ x: win.visualViewport.offsetLeft,
6530
+ y: win.visualViewport.offsetTop
6531
+ };
6532
+ }
6533
+ function shouldAddVisualOffsets(element, isFixed, floatingOffsetParent) {
6534
+ if (isFixed === void 0) {
6535
+ isFixed = false;
6536
+ }
6537
+ if (!floatingOffsetParent || isFixed && floatingOffsetParent !== getWindow(element)) {
6538
+ return false;
6539
+ }
6540
+ return isFixed;
6541
+ }
6542
+
6543
+ function getBoundingClientRect(element, includeScale, isFixedStrategy, offsetParent) {
6544
+ if (includeScale === void 0) {
6545
+ includeScale = false;
6546
+ }
6547
+ if (isFixedStrategy === void 0) {
6548
+ isFixedStrategy = false;
6549
+ }
6550
+ const clientRect = element.getBoundingClientRect();
6551
+ const domElement = unwrapElement(element);
6552
+ let scale = createCoords(1);
6553
+ if (includeScale) {
6554
+ if (offsetParent) {
6555
+ if (isElement(offsetParent)) {
6556
+ scale = getScale(offsetParent);
6557
+ }
6558
+ } else {
6559
+ scale = getScale(element);
6560
+ }
6561
+ }
6562
+ const visualOffsets = shouldAddVisualOffsets(domElement, isFixedStrategy, offsetParent) ? getVisualOffsets(domElement) : createCoords(0);
6563
+ let x = (clientRect.left + visualOffsets.x) / scale.x;
6564
+ let y = (clientRect.top + visualOffsets.y) / scale.y;
6565
+ let width = clientRect.width / scale.x;
6566
+ let height = clientRect.height / scale.y;
6567
+ if (domElement) {
6568
+ const win = getWindow(domElement);
6569
+ const offsetWin = offsetParent && isElement(offsetParent) ? getWindow(offsetParent) : offsetParent;
6570
+ let currentWin = win;
6571
+ let currentIFrame = getFrameElement(currentWin);
6572
+ while (currentIFrame && offsetParent && offsetWin !== currentWin) {
6573
+ const iframeScale = getScale(currentIFrame);
6574
+ const iframeRect = currentIFrame.getBoundingClientRect();
6575
+ const css = getComputedStyle$1(currentIFrame);
6576
+ const left = iframeRect.left + (currentIFrame.clientLeft + parseFloat(css.paddingLeft)) * iframeScale.x;
6577
+ const top = iframeRect.top + (currentIFrame.clientTop + parseFloat(css.paddingTop)) * iframeScale.y;
6578
+ x *= iframeScale.x;
6579
+ y *= iframeScale.y;
6580
+ width *= iframeScale.x;
6581
+ height *= iframeScale.y;
6582
+ x += left;
6583
+ y += top;
6584
+ currentWin = getWindow(currentIFrame);
6585
+ currentIFrame = getFrameElement(currentWin);
6586
+ }
6587
+ }
6588
+ return rectToClientRect({
6589
+ width,
6590
+ height,
6591
+ x,
6592
+ y
6593
+ });
6594
+ }
6595
+
6596
+ // If <html> has a CSS width greater than the viewport, then this will be
6597
+ // incorrect for RTL.
6598
+ function getWindowScrollBarX(element, rect) {
6599
+ const leftScroll = getNodeScroll(element).scrollLeft;
6600
+ if (!rect) {
6601
+ return getBoundingClientRect(getDocumentElement(element)).left + leftScroll;
6602
+ }
6603
+ return rect.left + leftScroll;
6604
+ }
6605
+
6606
+ function getHTMLOffset(documentElement, scroll) {
6607
+ const htmlRect = documentElement.getBoundingClientRect();
6608
+ const x = htmlRect.left + scroll.scrollLeft - getWindowScrollBarX(documentElement, htmlRect);
6609
+ const y = htmlRect.top + scroll.scrollTop;
6610
+ return {
6611
+ x,
6612
+ y
6613
+ };
6614
+ }
6615
+
6616
+ function convertOffsetParentRelativeRectToViewportRelativeRect(_ref) {
6617
+ let {
6618
+ elements,
6619
+ rect,
6620
+ offsetParent,
6621
+ strategy
6622
+ } = _ref;
6623
+ const isFixed = strategy === 'fixed';
6624
+ const documentElement = getDocumentElement(offsetParent);
6625
+ const topLayer = elements ? isTopLayer(elements.floating) : false;
6626
+ if (offsetParent === documentElement || topLayer && isFixed) {
6627
+ return rect;
6628
+ }
6629
+ let scroll = {
6630
+ scrollLeft: 0,
6631
+ scrollTop: 0
6632
+ };
6633
+ let scale = createCoords(1);
6634
+ const offsets = createCoords(0);
6635
+ const isOffsetParentAnElement = isHTMLElement(offsetParent);
6636
+ if (isOffsetParentAnElement || !isOffsetParentAnElement && !isFixed) {
6637
+ if (getNodeName(offsetParent) !== 'body' || isOverflowElement(documentElement)) {
6638
+ scroll = getNodeScroll(offsetParent);
6639
+ }
6640
+ if (isOffsetParentAnElement) {
6641
+ const offsetRect = getBoundingClientRect(offsetParent);
6642
+ scale = getScale(offsetParent);
6643
+ offsets.x = offsetRect.x + offsetParent.clientLeft;
6644
+ offsets.y = offsetRect.y + offsetParent.clientTop;
6645
+ }
6646
+ }
6647
+ const htmlOffset = documentElement && !isOffsetParentAnElement && !isFixed ? getHTMLOffset(documentElement, scroll) : createCoords(0);
6648
+ return {
6649
+ width: rect.width * scale.x,
6650
+ height: rect.height * scale.y,
6651
+ x: rect.x * scale.x - scroll.scrollLeft * scale.x + offsets.x + htmlOffset.x,
6652
+ y: rect.y * scale.y - scroll.scrollTop * scale.y + offsets.y + htmlOffset.y
6653
+ };
6654
+ }
6655
+
6656
+ function getClientRects(element) {
6657
+ return Array.from(element.getClientRects());
6658
+ }
6659
+
6660
+ // Gets the entire size of the scrollable document area, even extending outside
6661
+ // of the `<html>` and `<body>` rect bounds if horizontally scrollable.
6662
+ function getDocumentRect(element) {
6663
+ const html = getDocumentElement(element);
6664
+ const scroll = getNodeScroll(element);
6665
+ const body = element.ownerDocument.body;
6666
+ const width = max(html.scrollWidth, html.clientWidth, body.scrollWidth, body.clientWidth);
6667
+ const height = max(html.scrollHeight, html.clientHeight, body.scrollHeight, body.clientHeight);
6668
+ let x = -scroll.scrollLeft + getWindowScrollBarX(element);
6669
+ const y = -scroll.scrollTop;
6670
+ if (getComputedStyle$1(body).direction === 'rtl') {
6671
+ x += max(html.clientWidth, body.clientWidth) - width;
6672
+ }
6673
+ return {
6674
+ width,
6675
+ height,
6676
+ x,
6677
+ y
6678
+ };
6679
+ }
6680
+
6681
+ // Safety check: ensure the scrollbar space is reasonable in case this
6682
+ // calculation is affected by unusual styles.
6683
+ // Most scrollbars leave 15-18px of space.
6684
+ const SCROLLBAR_MAX = 25;
6685
+ function getViewportRect(element, strategy) {
6686
+ const win = getWindow(element);
6687
+ const html = getDocumentElement(element);
6688
+ const visualViewport = win.visualViewport;
6689
+ let width = html.clientWidth;
6690
+ let height = html.clientHeight;
6691
+ let x = 0;
6692
+ let y = 0;
6693
+ if (visualViewport) {
6694
+ width = visualViewport.width;
6695
+ height = visualViewport.height;
6696
+ const visualViewportBased = isWebKit();
6697
+ if (!visualViewportBased || visualViewportBased && strategy === 'fixed') {
6698
+ x = visualViewport.offsetLeft;
6699
+ y = visualViewport.offsetTop;
6700
+ }
6701
+ }
6702
+ const windowScrollbarX = getWindowScrollBarX(html);
6703
+ // <html> `overflow: hidden` + `scrollbar-gutter: stable` reduces the
6704
+ // visual width of the <html> but this is not considered in the size
6705
+ // of `html.clientWidth`.
6706
+ if (windowScrollbarX <= 0) {
6707
+ const doc = html.ownerDocument;
6708
+ const body = doc.body;
6709
+ const bodyStyles = getComputedStyle(body);
6710
+ const bodyMarginInline = doc.compatMode === 'CSS1Compat' ? parseFloat(bodyStyles.marginLeft) + parseFloat(bodyStyles.marginRight) || 0 : 0;
6711
+ const clippingStableScrollbarWidth = Math.abs(html.clientWidth - body.clientWidth - bodyMarginInline);
6712
+ if (clippingStableScrollbarWidth <= SCROLLBAR_MAX) {
6713
+ width -= clippingStableScrollbarWidth;
6714
+ }
6715
+ } else if (windowScrollbarX <= SCROLLBAR_MAX) {
6716
+ // If the <body> scrollbar is on the left, the width needs to be extended
6717
+ // by the scrollbar amount so there isn't extra space on the right.
6718
+ width += windowScrollbarX;
6719
+ }
6720
+ return {
6721
+ width,
6722
+ height,
6723
+ x,
6724
+ y
6725
+ };
6726
+ }
6727
+
6728
+ // Returns the inner client rect, subtracting scrollbars if present.
6729
+ function getInnerBoundingClientRect(element, strategy) {
6730
+ const clientRect = getBoundingClientRect(element, true, strategy === 'fixed');
6731
+ const top = clientRect.top + element.clientTop;
6732
+ const left = clientRect.left + element.clientLeft;
6733
+ const scale = isHTMLElement(element) ? getScale(element) : createCoords(1);
6734
+ const width = element.clientWidth * scale.x;
6735
+ const height = element.clientHeight * scale.y;
6736
+ const x = left * scale.x;
6737
+ const y = top * scale.y;
6738
+ return {
6739
+ width,
6740
+ height,
6741
+ x,
6742
+ y
6743
+ };
6744
+ }
6745
+ function getClientRectFromClippingAncestor(element, clippingAncestor, strategy) {
6746
+ let rect;
6747
+ if (clippingAncestor === 'viewport') {
6748
+ rect = getViewportRect(element, strategy);
6749
+ } else if (clippingAncestor === 'document') {
6750
+ rect = getDocumentRect(getDocumentElement(element));
6751
+ } else if (isElement(clippingAncestor)) {
6752
+ rect = getInnerBoundingClientRect(clippingAncestor, strategy);
6753
+ } else {
6754
+ const visualOffsets = getVisualOffsets(element);
6755
+ rect = {
6756
+ x: clippingAncestor.x - visualOffsets.x,
6757
+ y: clippingAncestor.y - visualOffsets.y,
6758
+ width: clippingAncestor.width,
6759
+ height: clippingAncestor.height
6760
+ };
6761
+ }
6762
+ return rectToClientRect(rect);
6763
+ }
6764
+ function hasFixedPositionAncestor(element, stopNode) {
6765
+ const parentNode = getParentNode(element);
6766
+ if (parentNode === stopNode || !isElement(parentNode) || isLastTraversableNode(parentNode)) {
6767
+ return false;
6768
+ }
6769
+ return getComputedStyle$1(parentNode).position === 'fixed' || hasFixedPositionAncestor(parentNode, stopNode);
6770
+ }
6771
+
6772
+ // A "clipping ancestor" is an `overflow` element with the characteristic of
6773
+ // clipping (or hiding) child elements. This returns all clipping ancestors
6774
+ // of the given element up the tree.
6775
+ function getClippingElementAncestors(element, cache) {
6776
+ const cachedResult = cache.get(element);
6777
+ if (cachedResult) {
6778
+ return cachedResult;
6779
+ }
6780
+ let result = getOverflowAncestors(element, [], false).filter(el => isElement(el) && getNodeName(el) !== 'body');
6781
+ let currentContainingBlockComputedStyle = null;
6782
+ const elementIsFixed = getComputedStyle$1(element).position === 'fixed';
6783
+ let currentNode = elementIsFixed ? getParentNode(element) : element;
6784
+
6785
+ // https://developer.mozilla.org/en-US/docs/Web/CSS/Containing_block#identifying_the_containing_block
6786
+ while (isElement(currentNode) && !isLastTraversableNode(currentNode)) {
6787
+ const computedStyle = getComputedStyle$1(currentNode);
6788
+ const currentNodeIsContaining = isContainingBlock(currentNode);
6789
+ if (!currentNodeIsContaining && computedStyle.position === 'fixed') {
6790
+ currentContainingBlockComputedStyle = null;
6791
+ }
6792
+ const shouldDropCurrentNode = elementIsFixed ? !currentNodeIsContaining && !currentContainingBlockComputedStyle : !currentNodeIsContaining && computedStyle.position === 'static' && !!currentContainingBlockComputedStyle && (currentContainingBlockComputedStyle.position === 'absolute' || currentContainingBlockComputedStyle.position === 'fixed') || isOverflowElement(currentNode) && !currentNodeIsContaining && hasFixedPositionAncestor(element, currentNode);
6793
+ if (shouldDropCurrentNode) {
6794
+ // Drop non-containing blocks.
6795
+ result = result.filter(ancestor => ancestor !== currentNode);
6796
+ } else {
6797
+ // Record last containing block for next iteration.
6798
+ currentContainingBlockComputedStyle = computedStyle;
6799
+ }
6800
+ currentNode = getParentNode(currentNode);
6801
+ }
6802
+ cache.set(element, result);
6803
+ return result;
6804
+ }
6805
+
6806
+ // Gets the maximum area that the element is visible in due to any number of
6807
+ // clipping ancestors.
6808
+ function getClippingRect(_ref) {
6809
+ let {
6810
+ element,
6811
+ boundary,
6812
+ rootBoundary,
6813
+ strategy
6814
+ } = _ref;
6815
+ const elementClippingAncestors = boundary === 'clippingAncestors' ? isTopLayer(element) ? [] : getClippingElementAncestors(element, this._c) : [].concat(boundary);
6816
+ const clippingAncestors = [...elementClippingAncestors, rootBoundary];
6817
+ const firstRect = getClientRectFromClippingAncestor(element, clippingAncestors[0], strategy);
6818
+ let top = firstRect.top;
6819
+ let right = firstRect.right;
6820
+ let bottom = firstRect.bottom;
6821
+ let left = firstRect.left;
6822
+ for (let i = 1; i < clippingAncestors.length; i++) {
6823
+ const rect = getClientRectFromClippingAncestor(element, clippingAncestors[i], strategy);
6824
+ top = max(rect.top, top);
6825
+ right = min(rect.right, right);
6826
+ bottom = min(rect.bottom, bottom);
6827
+ left = max(rect.left, left);
6828
+ }
6829
+ return {
6830
+ width: right - left,
6831
+ height: bottom - top,
6832
+ x: left,
6833
+ y: top
6834
+ };
6835
+ }
6836
+
6837
+ function getDimensions(element) {
6838
+ const {
6839
+ width,
6840
+ height
6841
+ } = getCssDimensions(element);
6842
+ return {
6843
+ width,
6844
+ height
6845
+ };
6846
+ }
6847
+
6848
+ function getRectRelativeToOffsetParent(element, offsetParent, strategy) {
6849
+ const isOffsetParentAnElement = isHTMLElement(offsetParent);
6850
+ const documentElement = getDocumentElement(offsetParent);
6851
+ const isFixed = strategy === 'fixed';
6852
+ const rect = getBoundingClientRect(element, true, isFixed, offsetParent);
6853
+ let scroll = {
6854
+ scrollLeft: 0,
6855
+ scrollTop: 0
6856
+ };
6857
+ const offsets = createCoords(0);
6858
+
6859
+ // If the <body> scrollbar appears on the left (e.g. RTL systems). Use
6860
+ // Firefox with layout.scrollbar.side = 3 in about:config to test this.
6861
+ function setLeftRTLScrollbarOffset() {
6862
+ offsets.x = getWindowScrollBarX(documentElement);
6863
+ }
6864
+ if (isOffsetParentAnElement || !isOffsetParentAnElement && !isFixed) {
6865
+ if (getNodeName(offsetParent) !== 'body' || isOverflowElement(documentElement)) {
6866
+ scroll = getNodeScroll(offsetParent);
6867
+ }
6868
+ if (isOffsetParentAnElement) {
6869
+ const offsetRect = getBoundingClientRect(offsetParent, true, isFixed, offsetParent);
6870
+ offsets.x = offsetRect.x + offsetParent.clientLeft;
6871
+ offsets.y = offsetRect.y + offsetParent.clientTop;
6872
+ } else if (documentElement) {
6873
+ setLeftRTLScrollbarOffset();
6874
+ }
6875
+ }
6876
+ if (isFixed && !isOffsetParentAnElement && documentElement) {
6877
+ setLeftRTLScrollbarOffset();
6878
+ }
6879
+ const htmlOffset = documentElement && !isOffsetParentAnElement && !isFixed ? getHTMLOffset(documentElement, scroll) : createCoords(0);
6880
+ const x = rect.left + scroll.scrollLeft - offsets.x - htmlOffset.x;
6881
+ const y = rect.top + scroll.scrollTop - offsets.y - htmlOffset.y;
6882
+ return {
6883
+ x,
6884
+ y,
6885
+ width: rect.width,
6886
+ height: rect.height
6887
+ };
6888
+ }
6889
+
6890
+ function isStaticPositioned(element) {
6891
+ return getComputedStyle$1(element).position === 'static';
6892
+ }
6893
+
6894
+ function getTrueOffsetParent(element, polyfill) {
6895
+ if (!isHTMLElement(element) || getComputedStyle$1(element).position === 'fixed') {
6896
+ return null;
6897
+ }
6898
+ if (polyfill) {
6899
+ return polyfill(element);
6900
+ }
6901
+ let rawOffsetParent = element.offsetParent;
6902
+
6903
+ // Firefox returns the <html> element as the offsetParent if it's non-static,
6904
+ // while Chrome and Safari return the <body> element. The <body> element must
6905
+ // be used to perform the correct calculations even if the <html> element is
6906
+ // non-static.
6907
+ if (getDocumentElement(element) === rawOffsetParent) {
6908
+ rawOffsetParent = rawOffsetParent.ownerDocument.body;
6909
+ }
6910
+ return rawOffsetParent;
6911
+ }
6912
+
6913
+ // Gets the closest ancestor positioned element. Handles some edge cases,
6914
+ // such as table ancestors and cross browser bugs.
6915
+ function getOffsetParent(element, polyfill) {
6916
+ const win = getWindow(element);
6917
+ if (isTopLayer(element)) {
6918
+ return win;
6919
+ }
6920
+ if (!isHTMLElement(element)) {
6921
+ let svgOffsetParent = getParentNode(element);
6922
+ while (svgOffsetParent && !isLastTraversableNode(svgOffsetParent)) {
6923
+ if (isElement(svgOffsetParent) && !isStaticPositioned(svgOffsetParent)) {
6924
+ return svgOffsetParent;
6925
+ }
6926
+ svgOffsetParent = getParentNode(svgOffsetParent);
6927
+ }
6928
+ return win;
6929
+ }
6930
+ let offsetParent = getTrueOffsetParent(element, polyfill);
6931
+ while (offsetParent && isTableElement(offsetParent) && isStaticPositioned(offsetParent)) {
6932
+ offsetParent = getTrueOffsetParent(offsetParent, polyfill);
6933
+ }
6934
+ if (offsetParent && isLastTraversableNode(offsetParent) && isStaticPositioned(offsetParent) && !isContainingBlock(offsetParent)) {
6935
+ return win;
6936
+ }
6937
+ return offsetParent || getContainingBlock(element) || win;
6938
+ }
6939
+
6940
+ const getElementRects = async function (data) {
6941
+ const getOffsetParentFn = this.getOffsetParent || getOffsetParent;
6942
+ const getDimensionsFn = this.getDimensions;
6943
+ const floatingDimensions = await getDimensionsFn(data.floating);
6944
+ return {
6945
+ reference: getRectRelativeToOffsetParent(data.reference, await getOffsetParentFn(data.floating), data.strategy),
6946
+ floating: {
6947
+ x: 0,
6948
+ y: 0,
6949
+ width: floatingDimensions.width,
6950
+ height: floatingDimensions.height
6951
+ }
6952
+ };
6953
+ };
6954
+
6955
+ function isRTL(element) {
6956
+ return getComputedStyle$1(element).direction === 'rtl';
6957
+ }
6958
+
6959
+ const platform = {
6960
+ convertOffsetParentRelativeRectToViewportRelativeRect,
6961
+ getDocumentElement,
6962
+ getClippingRect,
6963
+ getOffsetParent,
6964
+ getElementRects,
6965
+ getClientRects,
6966
+ getDimensions,
6967
+ getScale,
6968
+ isElement,
6969
+ isRTL
6970
+ };
6971
+
6972
+ function rectsAreEqual(a, b) {
6973
+ return a.x === b.x && a.y === b.y && a.width === b.width && a.height === b.height;
6974
+ }
6975
+
6976
+ // https://samthor.au/2021/observing-dom/
6977
+ function observeMove(element, onMove) {
6978
+ let io = null;
6979
+ let timeoutId;
6980
+ const root = getDocumentElement(element);
6981
+ function cleanup() {
6982
+ var _io;
6983
+ clearTimeout(timeoutId);
6984
+ (_io = io) == null || _io.disconnect();
6985
+ io = null;
6986
+ }
6987
+ function refresh(skip, threshold) {
6988
+ if (skip === void 0) {
6989
+ skip = false;
6990
+ }
6991
+ if (threshold === void 0) {
6992
+ threshold = 1;
6993
+ }
6994
+ cleanup();
6995
+ const elementRectForRootMargin = element.getBoundingClientRect();
6996
+ const {
6997
+ left,
6998
+ top,
6999
+ width,
7000
+ height
7001
+ } = elementRectForRootMargin;
7002
+ if (!skip) {
7003
+ onMove();
7004
+ }
7005
+ if (!width || !height) {
7006
+ return;
7007
+ }
7008
+ const insetTop = floor(top);
7009
+ const insetRight = floor(root.clientWidth - (left + width));
7010
+ const insetBottom = floor(root.clientHeight - (top + height));
7011
+ const insetLeft = floor(left);
7012
+ const rootMargin = -insetTop + "px " + -insetRight + "px " + -insetBottom + "px " + -insetLeft + "px";
7013
+ const options = {
7014
+ rootMargin,
7015
+ threshold: max(0, min(1, threshold)) || 1
7016
+ };
7017
+ let isFirstUpdate = true;
7018
+ function handleObserve(entries) {
7019
+ const ratio = entries[0].intersectionRatio;
7020
+ if (ratio !== threshold) {
7021
+ if (!isFirstUpdate) {
7022
+ return refresh();
7023
+ }
7024
+ if (!ratio) {
7025
+ // If the reference is clipped, the ratio is 0. Throttle the refresh
7026
+ // to prevent an infinite loop of updates.
7027
+ timeoutId = setTimeout(() => {
7028
+ refresh(false, 1e-7);
7029
+ }, 1000);
7030
+ } else {
7031
+ refresh(false, ratio);
7032
+ }
7033
+ }
7034
+ if (ratio === 1 && !rectsAreEqual(elementRectForRootMargin, element.getBoundingClientRect())) {
7035
+ // It's possible that even though the ratio is reported as 1, the
7036
+ // element is not actually fully within the IntersectionObserver's root
7037
+ // area anymore. This can happen under performance constraints. This may
7038
+ // be a bug in the browser's IntersectionObserver implementation. To
7039
+ // work around this, we compare the element's bounding rect now with
7040
+ // what it was at the time we created the IntersectionObserver. If they
7041
+ // are not equal then the element moved, so we refresh.
7042
+ refresh();
7043
+ }
7044
+ isFirstUpdate = false;
7045
+ }
7046
+
7047
+ // Older browsers don't support a `document` as the root and will throw an
7048
+ // error.
7049
+ try {
7050
+ io = new IntersectionObserver(handleObserve, {
7051
+ ...options,
7052
+ // Handle <iframe>s
7053
+ root: root.ownerDocument
7054
+ });
7055
+ } catch (_e) {
7056
+ io = new IntersectionObserver(handleObserve, options);
7057
+ }
7058
+ io.observe(element);
7059
+ }
7060
+ refresh(true);
7061
+ return cleanup;
7062
+ }
7063
+
7064
+ /**
7065
+ * Automatically updates the position of the floating element when necessary.
7066
+ * Should only be called when the floating element is mounted on the DOM or
7067
+ * visible on the screen.
7068
+ * @returns cleanup function that should be invoked when the floating element is
7069
+ * removed from the DOM or hidden from the screen.
7070
+ * @see https://floating-ui.com/docs/autoUpdate
7071
+ */
7072
+ function autoUpdate(reference, floating, update, options) {
7073
+ if (options === void 0) {
7074
+ options = {};
7075
+ }
7076
+ const {
7077
+ ancestorScroll = true,
7078
+ ancestorResize = true,
7079
+ elementResize = typeof ResizeObserver === 'function',
7080
+ layoutShift = typeof IntersectionObserver === 'function',
7081
+ animationFrame = false
7082
+ } = options;
7083
+ const referenceEl = unwrapElement(reference);
7084
+ const ancestors = ancestorScroll || ancestorResize ? [...(referenceEl ? getOverflowAncestors(referenceEl) : []), ...(floating ? getOverflowAncestors(floating) : [])] : [];
7085
+ ancestors.forEach(ancestor => {
7086
+ ancestorScroll && ancestor.addEventListener('scroll', update, {
7087
+ passive: true
7088
+ });
7089
+ ancestorResize && ancestor.addEventListener('resize', update);
7090
+ });
7091
+ const cleanupIo = referenceEl && layoutShift ? observeMove(referenceEl, update) : null;
7092
+ let reobserveFrame = -1;
7093
+ let resizeObserver = null;
7094
+ if (elementResize) {
7095
+ resizeObserver = new ResizeObserver(_ref => {
7096
+ let [firstEntry] = _ref;
7097
+ if (firstEntry && firstEntry.target === referenceEl && resizeObserver && floating) {
7098
+ // Prevent update loops when using the `size` middleware.
7099
+ // https://github.com/floating-ui/floating-ui/issues/1740
7100
+ resizeObserver.unobserve(floating);
7101
+ cancelAnimationFrame(reobserveFrame);
7102
+ reobserveFrame = requestAnimationFrame(() => {
7103
+ var _resizeObserver;
7104
+ (_resizeObserver = resizeObserver) == null || _resizeObserver.observe(floating);
7105
+ });
7106
+ }
7107
+ update();
7108
+ });
7109
+ if (referenceEl && !animationFrame) {
7110
+ resizeObserver.observe(referenceEl);
7111
+ }
7112
+ if (floating) {
7113
+ resizeObserver.observe(floating);
7114
+ }
7115
+ }
7116
+ let frameId;
7117
+ let prevRefRect = animationFrame ? getBoundingClientRect(reference) : null;
7118
+ if (animationFrame) {
7119
+ frameLoop();
7120
+ }
7121
+ function frameLoop() {
7122
+ const nextRefRect = getBoundingClientRect(reference);
7123
+ if (prevRefRect && !rectsAreEqual(prevRefRect, nextRefRect)) {
7124
+ update();
7125
+ }
7126
+ prevRefRect = nextRefRect;
7127
+ frameId = requestAnimationFrame(frameLoop);
7128
+ }
7129
+ update();
7130
+ return () => {
7131
+ var _resizeObserver2;
7132
+ ancestors.forEach(ancestor => {
7133
+ ancestorScroll && ancestor.removeEventListener('scroll', update);
7134
+ ancestorResize && ancestor.removeEventListener('resize', update);
7135
+ });
7136
+ cleanupIo == null || cleanupIo();
7137
+ (_resizeObserver2 = resizeObserver) == null || _resizeObserver2.disconnect();
7138
+ resizeObserver = null;
7139
+ if (animationFrame) {
7140
+ cancelAnimationFrame(frameId);
7141
+ }
7142
+ };
7143
+ }
7144
+
7145
+ /**
7146
+ * Modifies the placement by translating the floating element along the
7147
+ * specified axes.
7148
+ * A number (shorthand for `mainAxis` or distance), or an axes configuration
7149
+ * object may be passed.
7150
+ * @see https://floating-ui.com/docs/offset
7151
+ */
7152
+ const offset = offset$1;
7153
+
7154
+ /**
7155
+ * Optimizes the visibility of the floating element by shifting it in order to
7156
+ * keep it in view when it will overflow the clipping boundary.
7157
+ * @see https://floating-ui.com/docs/shift
7158
+ */
7159
+ const shift = shift$1;
7160
+
7161
+ /**
7162
+ * Optimizes the visibility of the floating element by flipping the `placement`
7163
+ * in order to keep it in view when the preferred placement(s) will overflow the
7164
+ * clipping boundary. Alternative to `autoPlacement`.
7165
+ * @see https://floating-ui.com/docs/flip
7166
+ */
7167
+ const flip = flip$1;
7168
+
7169
+ /**
7170
+ * Provides data that allows you to change the size of the floating element —
7171
+ * for instance, prevent it from overflowing the clipping boundary or match the
7172
+ * width of the reference element.
7173
+ * @see https://floating-ui.com/docs/size
7174
+ */
7175
+ const size = size$1;
7176
+
7177
+ /**
7178
+ * Computes the `x` and `y` coordinates that will place the floating element
7179
+ * next to a given reference element.
7180
+ */
7181
+ const computePosition = (reference, floating, options) => {
7182
+ // This caches the expensive `getClippingElementAncestors` function so that
7183
+ // multiple lifecycle resets re-use the same result. It only lives for a
7184
+ // single call. If other functions become expensive, we can add them as well.
7185
+ const cache = new Map();
7186
+ const mergedOptions = {
7187
+ platform,
7188
+ ...options
7189
+ };
7190
+ const platformWithCache = {
7191
+ ...mergedOptions.platform,
7192
+ _c: cache
7193
+ };
7194
+ return computePosition$1(reference, floating, {
7195
+ ...mergedOptions,
7196
+ platform: platformWithCache
7197
+ });
7198
+ };
7199
+
7200
+ const curaSelectCss = () => `:host{display:block;position:relative;font-family:var(--font-family)}.wrapper{width:100%;user-select:none;text-align:left !important}.wrapper cura-label{margin-bottom:8px}.wrapper .helper-text{margin-top:8px;color:var(--neutral-dark)}.wrapper .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}.wrapper .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}.wrapper .cura-input-field input::placeholder{color:var(--neutral-dark)}.wrapper .cura-input-field .feedback-icon{padding-left:12px}.wrapper .cura-input-field .up-down-icon{order:3;padding-right:6px;cursor:pointer;pointer-events:all}.wrapper .cura-input-field .up-down-button{background-color:transparent;border:none}.wrapper .cura-input-field input{padding:0px 12px 0px 8px;cursor:pointer}.wrapper .cura-input-field.open{border-radius:4px 4px 0 0 !important}.wrapper.transparent{background-color:transparent;padding:0px;max-height:80px}.wrapper.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}.wrapper.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}.wrapper.transparent .cura-input-field input::placeholder{color:var(--neutral-dark)}.wrapper.transparent .cura-input-field .feedback-icon{padding-left:12px}.wrapper.transparent .cura-input-field input{color:var(--neutral-black) !important;font-size:16px;font-weight:var(--font-weight-bold) !important;padding:0}.wrapper.transparent .cura-input-field input::placeholder{color:var(--neutral-black)}.wrapper.transparent .cura-input-field .feedback-icon{order:3;margin:0 20px 0 0}.wrapper.transparent:focus-within .cura-input-field{border:none !important;background-color:transparent !important}.wrapper.transparent:focus-within .cura-input-field input{border:none !important;outline:none}.wrapper.transparent .helper-text{margin-top:0px}.wrapper:hover:not(.disabled):not(.isLoading):not(.success):not(.error):not(.isFocused):not(.readOnly):not(.transparent) .cura-input-field{border-color:var(--neutral-dark)}.wrapper:hover:not(.disabled):not(.isLoading):not(.success):not(.error):not(.isFocused):not(.readOnly):not(.transparent) .cura-input-field input{color:var(--neutral-dark)}.wrapper:hover:not(.disabled):not(.isLoading):not(.success):not(.error):not(.isFocused):not(.readOnly):not(.transparent) .cura-input-field input::placeholder{color:var(--neutral-dark)}.wrapper:focus-within:not(.selection) .cura-input-field{border:2px solid var(--info-base) !important;background-color:var(--neutral-purewhite);outline:none}.wrapper:focus-within:not(.selection) .cura-input-field input{color:var(--neutral-black) !important}.wrapper:focus-within.selection .cura-input-field{border-radius:4px 4px 0px 0px}.wrapper.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}.wrapper.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}.wrapper.success .cura-input-field input::placeholder{color:var(--neutral-dark)}.wrapper.success .cura-input-field .feedback-icon{padding-left:12px}.wrapper.success .cura-input-field input{color:var(--success-darker) !important}.wrapper.success .cura-input-field input::placeholder{color:var(--success-darker) !important}.wrapper.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}.wrapper.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}.wrapper.success:not(.transparent) .cura-input-field input::placeholder{color:var(--neutral-dark)}.wrapper.success:not(.transparent) .cura-input-field .feedback-icon{padding-left:12px}.wrapper.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}.wrapper.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}.wrapper.error .cura-input-field input::placeholder{color:var(--neutral-dark)}.wrapper.error .cura-input-field .feedback-icon{padding-left:12px}.wrapper.error .cura-input-field input{color:var(--error-darker) !important}.wrapper.error .cura-input-field input::placeholder{color:var(--error-darker) !important}.wrapper.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}.wrapper.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}.wrapper.error:not(.transparent) .cura-input-field input::placeholder{color:var(--neutral-dark)}.wrapper.error:not(.transparent) .cura-input-field .feedback-icon{padding-left:12px}.wrapper.disabled .cura-input-field{background-color:var(--neutral-white);border:2px solid var(--neutral-base)}.wrapper.disabled .cura-input-field input{color:var(--neutral-medium)}.wrapper.disabled .cura-input-field input::placeholder{color:var(--neutral-medium)}.required{color:red}.menu{position:fixed;left:0;top:0;box-sizing:border-box;background:#fff;border:2px solid var(--neutral-light);border-radius:4px;z-index:1000;max-height:var(--max-height);overflow:hidden;border-top:transparent;align-items:center;scrollbar-color:var(--neutral-medium) var(--neutral-black-20);overflow-y:auto;box-shadow:0px 4px 8px 0px rgba(38, 38, 38, 0.16)}.menu.open{border-radius:0 !important;padding:12px}`;
5438
7201
 
5439
7202
  const CuraSelect = class {
5440
7203
  constructor(hostRef) {
@@ -5519,8 +7282,17 @@ const CuraSelect = class {
5519
7282
  * Default: false
5520
7283
  */
5521
7284
  this.isOpen = false;
7285
+ this.isPositioned = false;
7286
+ this.menuStyle = {
7287
+ top: '0px',
7288
+ left: '0px',
7289
+ width: '0px',
7290
+ maxHeight: this.maxHeight,
7291
+ };
5522
7292
  this.activeIndex = -1;
7293
+ this.preferredPlacement = 'bottom';
5523
7294
  this.textInput = '';
7295
+ this.floatingPlacement = 'bottom-start';
5524
7296
  /**
5525
7297
  * Styles to be applied to the component.
5526
7298
  */
@@ -5553,7 +7325,7 @@ const CuraSelect = class {
5553
7325
  var _a;
5554
7326
  const { code: keyCode } = event;
5555
7327
  if (!this.isOpen && keyCode === 'ArrowDown') {
5556
- this.isOpen = true;
7328
+ this.openMenu();
5557
7329
  this.activeIndex = 0;
5558
7330
  return;
5559
7331
  }
@@ -5569,12 +7341,17 @@ const CuraSelect = class {
5569
7341
  (_a = this.options[this.activeIndex]) === null || _a === void 0 ? void 0 : _a.click();
5570
7342
  }
5571
7343
  if (keyCode === 'Escape') {
5572
- this.isOpen = false;
7344
+ this.closeMenu();
5573
7345
  }
5574
7346
  };
5575
7347
  this.handleInputChange = (e) => {
5576
7348
  this.textInput = e.target.value;
5577
- this.isOpen = this.textInput.length > 0;
7349
+ if (this.searchBehavior) {
7350
+ if (this.textInput.length > 0 && !this.isOpen)
7351
+ this.openMenu();
7352
+ if (this.textInput.length === 0 && this.isOpen)
7353
+ this.closeMenu();
7354
+ }
5578
7355
  this.internals.setFormValue(this.textInput);
5579
7356
  };
5580
7357
  this.handleClick = (event) => {
@@ -5583,14 +7360,20 @@ const CuraSelect = class {
5583
7360
  const target = event.target;
5584
7361
  if (target.tagName === 'CURA-SELECT-OPTION')
5585
7362
  return this.onOptiselected(event);
5586
- this.isOpen = !this.isOpen;
7363
+ this.isOpen ? this.closeMenu() : this.openMenu();
5587
7364
  };
5588
7365
  this.handleClickOutside = (event) => {
5589
- const clickedOutside = !this.host.contains(event.target);
7366
+ const path = (event.composedPath && event.composedPath()) || [];
7367
+ const clickedOutside = !path.includes(this.host) && !(this.menuElement && path.includes(this.menuElement));
5590
7368
  if (clickedOutside) {
5591
- this.isOpen = false;
7369
+ this.closeMenu();
5592
7370
  }
5593
7371
  };
7372
+ this.handleViewportChange = () => {
7373
+ if (!this.isOpen)
7374
+ return;
7375
+ this.updateMenuPosition();
7376
+ };
5594
7377
  }
5595
7378
  updateOptionHighlights(newActiveINdex) {
5596
7379
  this.options.forEach((option, index) => (option.active = index === newActiveINdex));
@@ -5662,6 +7445,7 @@ const CuraSelect = class {
5662
7445
  // this.initializeOptions();
5663
7446
  this.setupMutationObserver();
5664
7447
  this.addOutsideClickListener();
7448
+ this.addPositionListeners();
5665
7449
  }
5666
7450
  /**
5667
7451
  * Lifecycle method called when the component is connected to the DOM.
@@ -5675,9 +7459,11 @@ const CuraSelect = class {
5675
7459
  * Disconnects the MutationObserver if it exists.
5676
7460
  */
5677
7461
  disconnectedCallback() {
5678
- var _a;
7462
+ var _a, _b;
5679
7463
  (_a = this.mutationObserver) === null || _a === void 0 ? void 0 : _a.disconnect();
5680
7464
  this.removeOutsideClickListener();
7465
+ this.removePositionListeners();
7466
+ (_b = this.cleanupAutoUpdate) === null || _b === void 0 ? void 0 : _b.call(this);
5681
7467
  }
5682
7468
  initializeOptions() {
5683
7469
  var _a;
@@ -5746,7 +7532,7 @@ const CuraSelect = class {
5746
7532
  this.internals.setFormValue(this.value);
5747
7533
  if (this.textInput !== selectedOptionElement.textContent) {
5748
7534
  this.textInput = selectedOptionElement.textContent;
5749
- this.isOpen = false;
7535
+ this.closeMenu();
5750
7536
  this.selected.emit(selectedOptionElement.value);
5751
7537
  }
5752
7538
  }
@@ -5801,32 +7587,103 @@ const CuraSelect = class {
5801
7587
  const icon = { default: this.iconName, success: 'checkCircle', error: 'alertCircle' }[this.status];
5802
7588
  return index.h("cura-icon", { class: "feedback-icon", name: icon, iconset: "default", size: this.size === 'large' ? 20 : 16, color: this.getColor('icon'), style: this.styles });
5803
7589
  }
7590
+ openMenu() {
7591
+ this.isOpen = true;
7592
+ this.isPositioned = false;
7593
+ requestAnimationFrame(() => this.setupFloating());
7594
+ }
7595
+ closeMenu() {
7596
+ var _a;
7597
+ this.isOpen = false;
7598
+ this.isPositioned = false;
7599
+ (_a = this.cleanupAutoUpdate) === null || _a === void 0 ? void 0 : _a.call(this);
7600
+ }
5804
7601
  addOutsideClickListener() {
5805
7602
  document.addEventListener('click', this.handleClickOutside);
5806
7603
  }
5807
7604
  removeOutsideClickListener() {
5808
7605
  document.removeEventListener('click', this.handleClickOutside);
5809
7606
  }
7607
+ addPositionListeners() {
7608
+ window.addEventListener('resize', this.handleViewportChange, { passive: true });
7609
+ window.addEventListener('scroll', this.handleViewportChange, true);
7610
+ }
7611
+ removePositionListeners() {
7612
+ window.removeEventListener('resize', this.handleViewportChange);
7613
+ window.removeEventListener('scroll', this.handleViewportChange, true);
7614
+ }
7615
+ parseMaxHeight() {
7616
+ const numeric = parseFloat(this.maxHeight);
7617
+ return Number.isFinite(numeric) ? numeric : 285;
7618
+ }
7619
+ setupFloating() {
7620
+ var _a;
7621
+ if (!this.inputWrapper || !this.menuElement)
7622
+ return;
7623
+ (_a = this.cleanupAutoUpdate) === null || _a === void 0 ? void 0 : _a.call(this);
7624
+ this.cleanupAutoUpdate = autoUpdate(this.inputWrapper, this.menuElement, () => {
7625
+ this.updateMenuPosition();
7626
+ });
7627
+ this.updateMenuPosition();
7628
+ }
7629
+ updateMenuPosition() {
7630
+ if (!this.inputWrapper || !this.menuElement)
7631
+ return;
7632
+ computePosition(this.inputWrapper, this.menuElement, {
7633
+ strategy: 'fixed',
7634
+ placement: this.floatingPlacement,
7635
+ middleware: [
7636
+ offset(0),
7637
+ flip(),
7638
+ shift({ padding: 8 }),
7639
+ size({
7640
+ apply: ({ rects, availableHeight }) => {
7641
+ this.menuStyle = Object.assign(Object.assign({}, this.menuStyle), { width: `${rects.reference.width}px`, maxHeight: `${Math.min(availableHeight, this.parseMaxHeight())}px` });
7642
+ },
7643
+ }),
7644
+ ],
7645
+ }).then(({ x, y, placement }) => {
7646
+ this.preferredPlacement = placement.startsWith('top') ? 'top' : 'bottom';
7647
+ this.menuStyle = Object.assign(Object.assign({}, this.menuStyle), { top: `${y}px`, left: `${x}px` });
7648
+ this.isPositioned = true;
7649
+ });
7650
+ }
5810
7651
  render() {
5811
- return (index.h(index.Host, { key: '3aeecef0bff82a4b14c4dee8b222fdf6eb33b2f8', style: this.styles, role: "combobox", "aria-label": this.label, "aria-required": String(this.required), "aria-disabled": String(this.disabled), "aria-invalid": String(this.status === 'error') }, index.h("div", { key: '00dd10ed04cd3bf0e848d9facc44db794e3580cf', class: this.getClasses(), onMouseEnter: () => (this.isHovered = true), onMouseLeave: () => (this.isHovered = false), onClick: this.handleClick }, this.label && (index.h("cura-label", { key: 'd0c7293af9ba728293f2b531c2cc0354ba6f9fa0', class: "label", weight: "bold", size: this.size === 'large' ? 'small' : 'xsmall', color: this.getColor('label') }, this.label, " ", this.required && index.h("span", { key: '2d1e87303eab87280dc8668e390bd5aa696814d9', class: "required" }, "* "))), index.h("div", { key: 'd0e8464016796145e088f459532a37dfb1852f96', class: {
7652
+ return (index.h(index.Host, { key: '8a05e5365062b5a2da4f10d7e3ca04f9d3136fba', style: this.styles, role: "combobox", "aria-label": this.label, "aria-required": String(this.required), "aria-disabled": String(this.disabled), "aria-invalid": String(this.status === 'error') }, index.h("div", { key: 'ab28fd73d68ccdc5ad6dd6cc7f79d879eaf25818', class: this.getClasses(), onMouseEnter: () => (this.isHovered = true), onMouseLeave: () => (this.isHovered = false), onClick: this.handleClick }, this.label && (index.h("cura-label", { key: '5405aa3706b07640fdfdaa681ad22ea9c5fd9997', class: "label", weight: "bold", size: this.size === 'large' ? 'small' : 'xsmall', color: this.getColor('label') }, this.label, " ", this.required && index.h("span", { key: '39b37aefbf4e61572607d891eb63c737c332793c', class: "required" }, "* "))), index.h("div", { key: 'c339ab1ff49699fb0a348a169ba7f545b89bd593', class: {
5812
7653
  'cura-input-field': true,
5813
7654
  'open': this.isOpen,
5814
- } }, this.renderIcon(), index.h("input", { key: '8110997e13827855169e58bfee9695a60bf4dbfa', type: "text", autocomplete: "off", onFocus: () => (this.isFocused = true), onBlur: () => (this.isFocused = false), onKeyDown: this.handleKeyNavigation, "aria-required": String(this.required), "aria-disabled": String(this.disabled), "aria-invalid": String(this.status === 'error'), onInput: this.handleInputChange, style: this.styles, placeholder: this.placeholder, disabled: this.disabled, required: this.required, value: this.textInput, readonly: this.searchBehavior ? null : true }), index.h("button", { key: '7b9b18aebd379b004c08f4bcdb4c72357f29c56c', class: "up-down-button" }, index.h("cura-icon", { key: '4e1fac2b43502e38db450e319e2283b97ed22fd7', name: this.isOpen ? 'up' : 'down', class: "up-down-icon", color: this.disabled ? 'neutral-dark' : 'primary-base', size: 16, iconset: "default" }))), index.h("cura-label", { key: '8e89021a023d6ff69a2adb2fe1b9052d1d813d06', class: "helper-text", size: "xsmall", color: this.getColor('text'), weight: this.mode === 'transparent' ? 'bold' : 'regular' }, index.h("slot", { key: 'a253ffc9f1f1ee84c9dcbc81dc3a650c5105c11e' })), this.isOpen && (index.h("div", { key: '938f552bebac510a7345c8e7b46d2ef911c19e12', class: {
7655
+ }, ref: el => (this.inputWrapper = el) }, this.renderIcon(), index.h("input", { key: '5118ad409b6b9c48c856670857d3cae26d28fd46', type: "text", autocomplete: "off", onFocus: () => (this.isFocused = true), onBlur: () => (this.isFocused = false), onKeyDown: this.handleKeyNavigation, "aria-required": String(this.required), "aria-disabled": String(this.disabled), "aria-invalid": String(this.status === 'error'), onInput: this.handleInputChange, style: this.styles, placeholder: this.placeholder, disabled: this.disabled, required: this.required, value: this.textInput, readonly: this.searchBehavior ? null : true }), index.h("button", { key: '53bddc2b1e56462a9181ce99749d98568f1c5dd9', class: "up-down-button" }, index.h("cura-icon", { key: '01cb20504d2e0506e7210d33e3ca75978a598eff', name: this.isOpen ? 'up' : 'down', class: "up-down-icon", color: this.disabled ? 'neutral-dark' : 'primary-base', size: 16, iconset: "default" }))), index.h("cura-label", { key: '550c24779f690ebd16bec881770b200ce06f5390', class: "helper-text", size: "xsmall", color: this.getColor('text'), weight: this.mode === 'transparent' ? 'bold' : 'regular' }, index.h("slot", { key: '530f64f99df6328d3a49a449f8f924e57bb03f21' })), this.isOpen && (index.h("div", { key: '3ee7a6439c98a0837a3f39d27646ed7a55c630b3', class: {
5815
7656
  menu: true,
5816
7657
  open: this.isOpen,
5817
- }, style: { '--max-height': this.maxHeight } }, index.h("slot", { key: '2d54c15bb8df7dfe33fac77cee7778c450946cf7', name: "option" }))))));
7658
+ [this.preferredPlacement]: true,
7659
+ }, ref: el => (this.menuElement = el), style: {
7660
+ '--max-height': this.maxHeight,
7661
+ top: this.menuStyle.top,
7662
+ left: this.menuStyle.left,
7663
+ width: this.menuStyle.width,
7664
+ maxHeight: this.menuStyle.maxHeight,
7665
+ visibility: this.isPositioned ? 'visible' : 'hidden',
7666
+ opacity: this.isPositioned ? '1' : '0',
7667
+ pointerEvents: this.isPositioned ? 'auto' : 'none',
7668
+ } }, index.h("slot", { key: '84c3bb501966175635102b2ccbfa0cf43d2112f1', name: "option" }))))));
5818
7669
  }
5819
7670
  static get formAssociated() { return true; }
5820
7671
  get host() { return index.getElement(this); }
5821
7672
  static get watchers() { return {
5822
- "activeIndex": ["updateOptionHighlights"],
5823
- "textInput": ["filterOptions"],
5824
- "value": ["handleValueChange"]
7673
+ "activeIndex": [{
7674
+ "updateOptionHighlights": 0
7675
+ }],
7676
+ "textInput": [{
7677
+ "filterOptions": 0
7678
+ }],
7679
+ "value": [{
7680
+ "handleValueChange": 0
7681
+ }]
5825
7682
  }; }
5826
7683
  };
5827
- CuraSelect.style = curaSelectCss;
7684
+ CuraSelect.style = curaSelectCss();
5828
7685
 
5829
- const curaSelectOptionCss = ":host{display:block}.item{display:flex;padding:12px 8px;cursor:pointer;justify-content:space-between;align-items:center;box-sizing:border-box;background:var(--neutral-purewhite)}.item.selected{background-color:var(--primary-lighter-50);border-bottom:1px solid var(--primary-light)}.item:hover:not(.selected){background:var(--neutral-white);border-bottom:1px solid var(--neutral-light)}.item.active{background:var(--neutral-white) !important;border-bottom:1px solid var(--neutral-light)}.item.selected.active{background-color:var(--primary-lighter-50) !important;box-shadow:none}";
7686
+ const curaSelectOptionCss = () => `:host{display:block}.item{display:flex;padding:12px 8px;cursor:pointer;justify-content:space-between;align-items:center;box-sizing:border-box;background:var(--neutral-purewhite);border-bottom:1px solid transparent}.item.selected{background-color:var(--primary-lighter-50);border-bottom:1px solid var(--primary-light)}.item:hover:not(.selected){background:var(--neutral-white)}.item:hover:not(.selected){border-bottom:1px solid var(--neutral-light)}.item.active{background:var(--neutral-white) !important}.item.active{border-bottom:1px solid var(--neutral-light)}.item.selected.active{background-color:var(--primary-lighter-50) !important;box-shadow:none}:host(:last-of-type) .item{border-bottom:none}:host(:last-of-type) .item:hover,:host(:last-of-type) .item.active,:host(:last-of-type) .item.selected{border-bottom:none}`;
5830
7687
 
5831
7688
  const CuraSelectOption = class {
5832
7689
  constructor(hostRef) {
@@ -5866,12 +7723,14 @@ const CuraSelectOption = class {
5866
7723
  }
5867
7724
  get host() { return index.getElement(this); }
5868
7725
  static get watchers() { return {
5869
- "size": ["getSize"]
7726
+ "size": [{
7727
+ "getSize": 0
7728
+ }]
5870
7729
  }; }
5871
7730
  };
5872
- CuraSelectOption.style = curaSelectOptionCss;
7731
+ CuraSelectOption.style = curaSelectOptionCss();
5873
7732
 
5874
- const curaTabsCss = ":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;box-sizing:border-box;border:none;min-width:120px;width:fit-content;display:flex;align-items:center;justify-content:center;border-radius:4px 4px 0 0}:host button:focus,:host a:focus{outline:2px solid #6EA8FF}:host button.border-bottom,:host a.border-bottom{border-bottom:1px solid var(--border-bottom-color)}:host button:not(.disabled,.selected):hover,:host a:not(.disabled,.selected):hover{background-color:var(--background-color-hover)}:host button:not(.disabled,.selected):hover.light,:host a:not(.disabled,.selected):hover.light{border-bottom-color:var(--primary-dark)}:host button:not(.disabled,.selected):hover.dark,:host a:not(.disabled,.selected):hover.dark{border-bottom-color:var(--neutral-purewhite)}:host button.small,:host a.small{padding:calc(var(--cura-spacing-base) * 2px) calc(var(--cura-spacing-base) * 2px)}:host button.medium,:host a.medium{padding:calc(var(--cura-spacing-base) * 3px) calc(var(--cura-spacing-base) * 3px)}:host button.large,:host a.large{padding:calc(var(--cura-spacing-base) * 3px) calc(var(--cura-spacing-base) * 4px)}:host button:focus,:host a:focus{border:2px solid var(--primary-light)}:host button cura-icon,:host a cura-icon{margin-right:calc(var(--cura-spacing-base) * 2px)}:host button.selected,:host a.selected{cursor:pointer;background-color:var(--background-color-selected)}:host button.selected.disabled,:host a.selected.disabled{background-color:var(--background-disabled-selected)}:host button.disabled,:host a.disabled{cursor:not-allowed}";
7733
+ const curaTabsCss = () => `: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;box-sizing:border-box;border:none;min-width:120px;width:fit-content;display:flex;align-items:center;justify-content:center;border-radius:4px 4px 0 0}:host button:focus,:host a:focus{outline:2px solid #6EA8FF}:host button.border-bottom,:host a.border-bottom{border-bottom:1px solid var(--border-bottom-color)}:host button:not(.disabled,.selected):hover,:host a:not(.disabled,.selected):hover{background-color:var(--background-color-hover)}:host button:not(.disabled,.selected):hover.light,:host a:not(.disabled,.selected):hover.light{border-bottom-color:var(--primary-dark)}:host button:not(.disabled,.selected):hover.dark,:host a:not(.disabled,.selected):hover.dark{border-bottom-color:var(--neutral-purewhite)}:host button.small,:host a.small{padding:calc(var(--cura-spacing-base) * 2px) calc(var(--cura-spacing-base) * 2px)}:host button.medium,:host a.medium{padding:calc(var(--cura-spacing-base) * 3px) calc(var(--cura-spacing-base) * 3px)}:host button.large,:host a.large{padding:calc(var(--cura-spacing-base) * 3px) calc(var(--cura-spacing-base) * 4px)}:host button:focus,:host a:focus{border:2px solid var(--primary-light)}:host button cura-icon,:host a cura-icon{margin-right:calc(var(--cura-spacing-base) * 2px)}:host button.selected,:host a.selected{cursor:pointer;background-color:var(--background-color-selected)}:host button.selected.disabled,:host a.selected.disabled{background-color:var(--background-disabled-selected)}:host button.disabled,:host a.disabled{cursor:not-allowed}`;
5875
7734
 
5876
7735
  const CuraTabs = class {
5877
7736
  constructor(hostRef) {
@@ -5963,12 +7822,14 @@ const CuraTabs = class {
5963
7822
  return (index.h(index.Host, { key: '3966968b73a9a51ec26f3206cdb09fbfcb3d3daf', role: "button", "aria-pressed": this.selected, "aria-disabled": this.disabled }, index.h("button", { key: '00cc6382c635a05c52fd74b3e02e968c2d94cacb', class: this.getClasses(), style: this.styles, onClick: e => this.handleClick(e), disabled: this.disabled, onMouseEnter: this.handleMouseEnter.bind(this), onMouseLeave: this.handleMouseLeave.bind(this) }, this.getIcon(), index.h("cura-label", { key: 'e193500f156c10cf0442e6f504e19d552c19f849', size: labelSize, color: labelColor, lineHeight: "0", marginBlock: "0" }, index.h("slot", { key: '8a0ac7c4b2ff4990093d13b4110e370616cf39f4' })))));
5964
7823
  }
5965
7824
  static get watchers() { return {
5966
- "colorMode": ["setColors"]
7825
+ "colorMode": [{
7826
+ "setColors": 0
7827
+ }]
5967
7828
  }; }
5968
7829
  };
5969
- CuraTabs.style = curaTabsCss;
7830
+ CuraTabs.style = curaTabsCss();
5970
7831
 
5971
- const curaTabsGroupCss = ":host{display:flex;gap:var(--gap)}:host(.border-bottom){position:relative}:host(.border-bottom)::after{content:\"\";position:absolute;bottom:0;left:0;right:0;height:1px;background:var(--border-color);z-index:0}::slotted(cura-tabs),::slotted(cura-tabs-transparent){position:relative;z-index:1}";
7832
+ const curaTabsGroupCss = () => `:host{display:flex;gap:var(--gap)}:host(.border-bottom){position:relative}:host(.border-bottom)::after{content:"";position:absolute;bottom:0;left:0;right:0;height:1px;background:var(--border-color);z-index:0}::slotted(cura-tabs),::slotted(cura-tabs-transparent){position:relative;z-index:1}`;
5972
7833
 
5973
7834
  const CuraTabsGroup = class {
5974
7835
  constructor(hostRef) {
@@ -6001,7 +7862,7 @@ const CuraTabsGroup = class {
6001
7862
  }
6002
7863
  get host() { return index.getElement(this); }
6003
7864
  };
6004
- CuraTabsGroup.style = curaTabsGroupCss;
7865
+ CuraTabsGroup.style = curaTabsGroupCss();
6005
7866
 
6006
7867
  exports.cura_accordion = CuraAccordion;
6007
7868
  exports.cura_accordion_item = CuraAccordionItem;
@@ -6009,6 +7870,7 @@ exports.cura_avatar = CuraAvatar;
6009
7870
  exports.cura_badge_distance = CuraDistance;
6010
7871
  exports.cura_button = CuraButton;
6011
7872
  exports.cura_button_transparent = CuraButtonTransparent;
7873
+ exports.cura_card = CuraCard;
6012
7874
  exports.cura_dropdown_search = CuraDropdownSearch;
6013
7875
  exports.cura_dropdown_search_category = CuraDropdownSearchCategory;
6014
7876
  exports.cura_dropdown_search_option = CuraDropdownSearchOption;
@@ -6023,6 +7885,3 @@ exports.cura_select = CuraSelect;
6023
7885
  exports.cura_select_option = CuraSelectOption;
6024
7886
  exports.cura_tabs = CuraTabs;
6025
7887
  exports.cura_tabs_group = CuraTabsGroup;
6026
- //# sourceMappingURL=cura-accordion.cura-accordion-item.cura-avatar.cura-badge-distance.cura-button.cura-button-transparent.cura-dropdown-search.cura-dropdown-search-category.cura-dropdown-search-option.cura-heading.cura-icon.cura-input-text.cura-label.cura-loader-circle.cura-page-template.cura-paragraph.cura-select.cura-select-option.cura-tabs.cura-tabs-group.entry.cjs.js.map
6027
-
6028
- //# sourceMappingURL=cura-accordion_20.cjs.entry.js.map