@rededor/cura 1.7.1 → 1.8.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (556) hide show
  1. package/dist/cjs/cura-accordion_20.cjs.entry.js +484 -137
  2. package/dist/cjs/cura-accordion_20.cjs.entry.js.map +1 -1
  3. package/dist/cjs/cura-alert.cjs.entry.js +9 -12
  4. package/dist/cjs/cura-alert.cjs.entry.js.map +1 -1
  5. package/dist/cjs/cura-alert.entry.cjs.js.map +1 -0
  6. package/dist/cjs/cura-badge-counter.cjs.entry.js +16 -8
  7. package/dist/cjs/cura-badge-counter.cjs.entry.js.map +1 -1
  8. package/dist/cjs/cura-badge-counter.entry.cjs.js.map +1 -0
  9. package/dist/cjs/cura-badge-dot.cjs.entry.js +14 -5
  10. package/dist/cjs/cura-badge-dot.cjs.entry.js.map +1 -1
  11. package/dist/cjs/cura-badge-dot.entry.cjs.js.map +1 -0
  12. package/dist/cjs/cura-badge-pill.cjs.entry.js +23 -7
  13. package/dist/cjs/cura-badge-pill.cjs.entry.js.map +1 -1
  14. package/dist/cjs/cura-badge-pill.entry.cjs.js.map +1 -0
  15. package/dist/cjs/cura-button-outline.cjs.entry.js +46 -8
  16. package/dist/cjs/cura-button-outline.cjs.entry.js.map +1 -1
  17. package/dist/cjs/cura-button-outline.entry.cjs.js.map +1 -0
  18. package/dist/cjs/cura-button-select.cjs.entry.js +7 -12
  19. package/dist/cjs/cura-button-select.cjs.entry.js.map +1 -1
  20. package/dist/cjs/cura-button-select.entry.cjs.js.map +1 -0
  21. package/dist/cjs/{cura-button.definitions-f036371c.js → cura-button.definitions-B3SK8MaV.js} +2 -1
  22. package/dist/cjs/cura-button.definitions-B3SK8MaV.js.map +1 -0
  23. package/dist/cjs/cura-calendar.cjs.entry.js +203 -94
  24. package/dist/cjs/cura-calendar.cjs.entry.js.map +1 -1
  25. package/dist/cjs/cura-calendar.entry.cjs.js.map +1 -0
  26. package/dist/cjs/cura-card.cjs.entry.js +34 -6
  27. package/dist/cjs/cura-card.cjs.entry.js.map +1 -1
  28. package/dist/cjs/cura-card.entry.cjs.js.map +1 -0
  29. package/dist/cjs/cura-checkbox.cjs.entry.js +72 -20
  30. package/dist/cjs/cura-checkbox.cjs.entry.js.map +1 -1
  31. package/dist/cjs/cura-checkbox.entry.cjs.js.map +1 -0
  32. package/dist/cjs/cura-display.cjs.entry.js +25 -7
  33. package/dist/cjs/cura-display.cjs.entry.js.map +1 -1
  34. package/dist/cjs/cura-display.entry.cjs.js.map +1 -0
  35. package/dist/cjs/cura-dropdown-search-not-found.cjs.entry.js +5 -6
  36. package/dist/cjs/cura-dropdown-search-not-found.cjs.entry.js.map +1 -1
  37. package/dist/cjs/cura-dropdown-search-not-found.entry.cjs.js.map +1 -0
  38. package/dist/cjs/{cura-forms.definitions-c164f1b8.js → cura-forms.definitions-DVLuO67c.js} +2 -1
  39. package/dist/cjs/cura-forms.definitions-DVLuO67c.js.map +1 -0
  40. package/dist/cjs/{cura-icon.definitions-5223028b.js → cura-icon.definitions-DT0wF67y.js} +2 -1
  41. package/dist/cjs/cura-icon.definitions-DT0wF67y.js.map +1 -0
  42. package/dist/cjs/cura-icons-view.cjs.entry.js +7 -8
  43. package/dist/cjs/cura-icons-view.cjs.entry.js.map +1 -1
  44. package/dist/cjs/cura-icons-view.entry.cjs.js.map +1 -0
  45. package/dist/cjs/cura-input-date.cjs.entry.js +32 -15
  46. package/dist/cjs/cura-input-date.cjs.entry.js.map +1 -1
  47. package/dist/cjs/cura-input-date.entry.cjs.js.map +1 -0
  48. package/dist/cjs/cura-loader-bar.cjs.entry.js +4 -5
  49. package/dist/cjs/cura-loader-bar.cjs.entry.js.map +1 -1
  50. package/dist/cjs/cura-loader-bar.entry.cjs.js.map +1 -0
  51. package/dist/cjs/cura-modal.cjs.entry.js +46 -15
  52. package/dist/cjs/cura-modal.cjs.entry.js.map +1 -1
  53. package/dist/cjs/cura-modal.entry.cjs.js.map +1 -0
  54. package/dist/cjs/cura-progress-bar.cura-stepper-item.entry.cjs.js.map +1 -0
  55. package/dist/cjs/cura-progress-bar_2.cjs.entry.js +25 -15
  56. package/dist/cjs/cura-progress-bar_2.cjs.entry.js.map +1 -1
  57. package/dist/cjs/cura-radio.cjs.entry.js +73 -21
  58. package/dist/cjs/cura-radio.cjs.entry.js.map +1 -1
  59. package/dist/cjs/cura-radio.entry.cjs.js.map +1 -0
  60. package/dist/cjs/cura-stepper.cjs.entry.js +23 -6
  61. package/dist/cjs/cura-stepper.cjs.entry.js.map +1 -1
  62. package/dist/cjs/cura-stepper.entry.cjs.js.map +1 -0
  63. package/dist/cjs/cura-switch.cjs.entry.js +61 -18
  64. package/dist/cjs/cura-switch.cjs.entry.js.map +1 -1
  65. package/dist/cjs/cura-switch.entry.cjs.js.map +1 -0
  66. package/dist/cjs/cura-tabs-button.cjs.entry.js +6 -9
  67. package/dist/cjs/cura-tabs-button.cjs.entry.js.map +1 -1
  68. package/dist/cjs/cura-tabs-button.entry.cjs.js.map +1 -0
  69. package/dist/cjs/cura-tabs-transparent.cjs.entry.js +6 -9
  70. package/dist/cjs/cura-tabs-transparent.cjs.entry.js.map +1 -1
  71. package/dist/cjs/cura-tabs-transparent.entry.cjs.js.map +1 -0
  72. package/dist/cjs/{cura-tabs.definitions-b8955ad4.js → cura-tabs.definitions-CGqqGE2e.js} +2 -1
  73. package/dist/cjs/cura-tabs.definitions-CGqqGE2e.js.map +1 -0
  74. package/dist/cjs/{cura-theme-module-09bb63a4.js → cura-theme-module-CJkmAxBA.js} +94 -9
  75. package/dist/cjs/cura-theme-module-CJkmAxBA.js.map +1 -0
  76. package/dist/cjs/cura-toast.cjs.entry.js +8 -11
  77. package/dist/cjs/cura-toast.cjs.entry.js.map +1 -1
  78. package/dist/cjs/cura-toast.entry.cjs.js.map +1 -0
  79. package/dist/cjs/cura-tooltip.cjs.entry.js +9 -11
  80. package/dist/cjs/cura-tooltip.cjs.entry.js.map +1 -1
  81. package/dist/cjs/cura-tooltip.entry.cjs.js.map +1 -0
  82. package/dist/cjs/cura.cjs.js +9 -10
  83. package/dist/cjs/cura.cjs.js.map +1 -1
  84. package/dist/cjs/{index-60783089.js → index-BK9MSAiE.js} +947 -289
  85. package/dist/cjs/index-BK9MSAiE.js.map +1 -0
  86. package/dist/cjs/{index-6dc29195.js → index-EyP6Zlkd.js} +2 -1
  87. package/dist/cjs/index-EyP6Zlkd.js.map +1 -0
  88. package/dist/cjs/index.cjs.js +2 -4
  89. package/dist/cjs/index.cjs.js.map +1 -1
  90. package/dist/cjs/loader.cjs.js +5 -8
  91. package/dist/cjs/loader.cjs.js.map +1 -1
  92. package/dist/collection/collection-manifest.json +1 -1
  93. package/dist/collection/components/accordion/cura-accordion/cura-accordion.js +57 -18
  94. package/dist/collection/components/accordion/cura-accordion/cura-accordion.js.map +1 -1
  95. package/dist/collection/components/accordion/cura-accordion-item/cura-accordion-item.js +45 -9
  96. package/dist/collection/components/accordion/cura-accordion-item/cura-accordion-item.js.map +1 -1
  97. package/dist/collection/components/badges/cura-badge-counter/cura-badge-counter.js +24 -7
  98. package/dist/collection/components/badges/cura-badge-counter/cura-badge-counter.js.map +1 -1
  99. package/dist/collection/components/badges/cura-badge-distance/cura-badge-distance.js +8 -4
  100. package/dist/collection/components/badges/cura-badge-distance/cura-badge-distance.js.map +1 -1
  101. package/dist/collection/components/badges/cura-badge-dot/cura-badge-dot.js +19 -3
  102. package/dist/collection/components/badges/cura-badge-dot/cura-badge-dot.js.map +1 -1
  103. package/dist/collection/components/badges/cura-badge-pill/cura-badge-pill.js +40 -9
  104. package/dist/collection/components/badges/cura-badge-pill/cura-badge-pill.js.map +1 -1
  105. package/dist/collection/components/buttons/cura-button/cura-button.js +86 -17
  106. package/dist/collection/components/buttons/cura-button/cura-button.js.map +1 -1
  107. package/dist/collection/components/buttons/cura-button-outline/cura-button-outline.js +86 -17
  108. package/dist/collection/components/buttons/cura-button-outline/cura-button-outline.js.map +1 -1
  109. package/dist/collection/components/buttons/cura-button-select/cura-button-select.js +25 -13
  110. package/dist/collection/components/buttons/cura-button-select/cura-button-select.js.map +1 -1
  111. package/dist/collection/components/buttons/cura-button-transparent/cura-button-transparent.js +81 -16
  112. package/dist/collection/components/buttons/cura-button-transparent/cura-button-transparent.js.map +1 -1
  113. package/dist/collection/components/cura-alert/cura-alert.js +19 -11
  114. package/dist/collection/components/cura-alert/cura-alert.js.map +1 -1
  115. package/dist/collection/components/cura-avatar/cura-avatar.js +48 -13
  116. package/dist/collection/components/cura-avatar/cura-avatar.js.map +1 -1
  117. package/dist/collection/components/cura-calendar/cura-calendar.js +196 -24
  118. package/dist/collection/components/cura-calendar/cura-calendar.js.map +1 -1
  119. package/dist/collection/components/cura-card/cura-card.js +48 -7
  120. package/dist/collection/components/cura-card/cura-card.js.map +1 -1
  121. package/dist/collection/components/cura-dropdown-search/cura-dropdown-search-option/cura-dropdown-search-option.js +31 -9
  122. package/dist/collection/components/cura-dropdown-search/cura-dropdown-search-option/cura-dropdown-search-option.js.map +1 -1
  123. package/dist/collection/components/cura-dropdown-search/cura-dropdown-search.js +91 -28
  124. package/dist/collection/components/cura-dropdown-search/cura-dropdown-search.js.map +1 -1
  125. package/dist/collection/components/cura-icon/cura-icon.js +15 -6
  126. package/dist/collection/components/cura-icon/cura-icon.js.map +1 -1
  127. package/dist/collection/components/cura-icons-view/cura-icons-view.js +1 -1
  128. package/dist/collection/components/cura-icons-view/cura-icons-view.js.map +1 -1
  129. package/dist/collection/components/cura-modal/cura-modal.css +0 -1
  130. package/dist/collection/components/cura-modal/cura-modal.js +65 -17
  131. package/dist/collection/components/cura-modal/cura-modal.js.map +1 -1
  132. package/dist/collection/components/cura-page-template/cura-page-template.js +3 -1
  133. package/dist/collection/components/cura-page-template/cura-page-template.js.map +1 -1
  134. package/dist/collection/components/cura-stepper/cura-progress-bar/cura-progress-bar.js +21 -8
  135. package/dist/collection/components/cura-stepper/cura-progress-bar/cura-progress-bar.js.map +1 -1
  136. package/dist/collection/components/cura-stepper/cura-stepper-item/cura-stepper-item.js +26 -9
  137. package/dist/collection/components/cura-stepper/cura-stepper-item/cura-stepper-item.js.map +1 -1
  138. package/dist/collection/components/cura-stepper/cura-stepper.js +34 -6
  139. package/dist/collection/components/cura-stepper/cura-stepper.js.map +1 -1
  140. package/dist/collection/components/cura-toast/cura-toast.js +24 -12
  141. package/dist/collection/components/cura-toast/cura-toast.js.map +1 -1
  142. package/dist/collection/components/cura-tooltip/cura-tooltip.js +25 -12
  143. package/dist/collection/components/cura-tooltip/cura-tooltip.js.map +1 -1
  144. package/dist/collection/components/forms/cura-checkbox/cura-checkbox.js +114 -29
  145. package/dist/collection/components/forms/cura-checkbox/cura-checkbox.js.map +1 -1
  146. package/dist/collection/components/forms/cura-input-date/cura-input-date.css +1 -1
  147. package/dist/collection/components/forms/cura-input-date/cura-input-date.js +74 -16
  148. package/dist/collection/components/forms/cura-input-date/cura-input-date.js.map +1 -1
  149. package/dist/collection/components/forms/cura-input-date/cura-input-date.stories.js +13 -0
  150. package/dist/collection/components/forms/cura-input-date/cura-input-date.stories.js.map +1 -1
  151. package/dist/collection/components/forms/cura-input-text/cura-input-text.js +132 -28
  152. package/dist/collection/components/forms/cura-input-text/cura-input-text.js.map +1 -1
  153. package/dist/collection/components/forms/cura-label/cura-label.js +46 -9
  154. package/dist/collection/components/forms/cura-label/cura-label.js.map +1 -1
  155. package/dist/collection/components/forms/cura-radio/cura-radio.js +109 -28
  156. package/dist/collection/components/forms/cura-radio/cura-radio.js.map +1 -1
  157. package/dist/collection/components/forms/cura-select/cura-select.js +113 -33
  158. package/dist/collection/components/forms/cura-select/cura-select.js.map +1 -1
  159. package/dist/collection/components/forms/cura-select-options/cura-select-option.js +13 -6
  160. package/dist/collection/components/forms/cura-select-options/cura-select-option.js.map +1 -1
  161. package/dist/collection/components/forms/cura-switch/cura-switch.js +85 -21
  162. package/dist/collection/components/forms/cura-switch/cura-switch.js.map +1 -1
  163. package/dist/collection/components/loaders/cura-loader-bar/cura-loader-bar.js +6 -2
  164. package/dist/collection/components/loaders/cura-loader-bar/cura-loader-bar.js.map +1 -1
  165. package/dist/collection/components/loaders/cura-loader-circle/cura-loader-circle.js +14 -4
  166. package/dist/collection/components/loaders/cura-loader-circle/cura-loader-circle.js.map +1 -1
  167. package/dist/collection/components/tabs/cura-tabs/cura-tabs.js +21 -9
  168. package/dist/collection/components/tabs/cura-tabs/cura-tabs.js.map +1 -1
  169. package/dist/collection/components/tabs/cura-tabs-button/cura-tabs-button.js +21 -9
  170. package/dist/collection/components/tabs/cura-tabs-button/cura-tabs-button.js.map +1 -1
  171. package/dist/collection/components/tabs/cura-tabs-group/cura-tabs-group.js +9 -3
  172. package/dist/collection/components/tabs/cura-tabs-group/cura-tabs-group.js.map +1 -1
  173. package/dist/collection/components/tabs/cura-tabs-transparent/cura-tabs-transparent.js +21 -9
  174. package/dist/collection/components/tabs/cura-tabs-transparent/cura-tabs-transparent.js.map +1 -1
  175. package/dist/collection/components/text/cura-display/cura-display.js +39 -8
  176. package/dist/collection/components/text/cura-display/cura-display.js.map +1 -1
  177. package/dist/collection/components/text/cura-heading/cura-heading.js +53 -10
  178. package/dist/collection/components/text/cura-heading/cura-heading.js.map +1 -1
  179. package/dist/collection/components/text/cura-paragraph/cura-paragraph.js +39 -8
  180. package/dist/collection/components/text/cura-paragraph/cura-paragraph.js.map +1 -1
  181. package/dist/components/cura-accordion-item.js +24 -6
  182. package/dist/components/cura-accordion-item.js.map +1 -1
  183. package/dist/components/cura-accordion.js +34 -13
  184. package/dist/components/cura-accordion.js.map +1 -1
  185. package/dist/components/cura-alert.js +12 -14
  186. package/dist/components/cura-alert.js.map +1 -1
  187. package/dist/components/cura-avatar.js +25 -8
  188. package/dist/components/cura-avatar.js.map +1 -1
  189. package/dist/components/cura-badge-counter.js +2 -1
  190. package/dist/components/cura-badge-distance.js +7 -7
  191. package/dist/components/cura-badge-distance.js.map +1 -1
  192. package/dist/components/cura-badge-dot.js +14 -4
  193. package/dist/components/cura-badge-dot.js.map +1 -1
  194. package/dist/components/cura-badge-pill.js +2 -1
  195. package/dist/components/cura-button-outline.js +49 -10
  196. package/dist/components/cura-button-outline.js.map +1 -1
  197. package/dist/components/cura-button-select.js +10 -14
  198. package/dist/components/cura-button-select.js.map +1 -1
  199. package/dist/components/cura-button-transparent.js +2 -1
  200. package/dist/components/cura-button.js +49 -10
  201. package/dist/components/cura-button.js.map +1 -1
  202. package/dist/components/cura-calendar.js +2 -1
  203. package/dist/components/cura-card.js +34 -5
  204. package/dist/components/cura-card.js.map +1 -1
  205. package/dist/components/cura-checkbox.js +75 -22
  206. package/dist/components/cura-checkbox.js.map +1 -1
  207. package/dist/components/cura-display.js +25 -6
  208. package/dist/components/cura-display.js.map +1 -1
  209. package/dist/components/cura-dropdown-search-category.js +5 -5
  210. package/dist/components/cura-dropdown-search-category.js.map +1 -1
  211. package/dist/components/cura-dropdown-search-not-found.js +6 -6
  212. package/dist/components/cura-dropdown-search-not-found.js.map +1 -1
  213. package/dist/components/cura-dropdown-search-option.js +22 -10
  214. package/dist/components/cura-dropdown-search-option.js.map +1 -1
  215. package/dist/components/cura-dropdown-search.js +66 -27
  216. package/dist/components/cura-dropdown-search.js.map +1 -1
  217. package/dist/components/cura-heading.js +2 -1
  218. package/dist/components/cura-icon.js +2 -1
  219. package/dist/components/cura-icons-view.js +9 -9
  220. package/dist/components/cura-icons-view.js.map +1 -1
  221. package/dist/components/cura-input-date.js +40 -21
  222. package/dist/components/cura-input-date.js.map +1 -1
  223. package/dist/components/cura-input-text.js +2 -1
  224. package/dist/components/cura-label.js +2 -1
  225. package/dist/components/cura-loader-bar.js +2 -1
  226. package/dist/components/cura-loader-circle.js +2 -1
  227. package/dist/components/cura-modal.js +50 -18
  228. package/dist/components/cura-modal.js.map +1 -1
  229. package/dist/components/cura-page-template.js +4 -4
  230. package/dist/components/cura-page-template.js.map +1 -1
  231. package/dist/components/cura-paragraph.js +2 -1
  232. package/dist/components/cura-progress-bar.js +2 -1
  233. package/dist/components/cura-radio.js +75 -22
  234. package/dist/components/cura-radio.js.map +1 -1
  235. package/dist/components/cura-select-option.js +2 -1
  236. package/dist/components/cura-select.js +2 -1
  237. package/dist/components/cura-stepper-item.js +2 -1
  238. package/dist/components/cura-stepper.js +30 -12
  239. package/dist/components/cura-stepper.js.map +1 -1
  240. package/dist/components/cura-switch.js +62 -18
  241. package/dist/components/cura-switch.js.map +1 -1
  242. package/dist/components/cura-tabs-button.js +9 -11
  243. package/dist/components/cura-tabs-button.js.map +1 -1
  244. package/dist/components/cura-tabs-group.js +5 -5
  245. package/dist/components/cura-tabs-group.js.map +1 -1
  246. package/dist/components/cura-tabs-transparent.js +8 -10
  247. package/dist/components/cura-tabs-transparent.js.map +1 -1
  248. package/dist/components/cura-tabs.js +8 -10
  249. package/dist/components/cura-tabs.js.map +1 -1
  250. package/dist/components/cura-toast.js +12 -14
  251. package/dist/components/cura-toast.js.map +1 -1
  252. package/dist/components/cura-tooltip.js +15 -16
  253. package/dist/components/cura-tooltip.js.map +1 -1
  254. package/dist/components/index.js +3 -547
  255. package/dist/components/index.js.map +1 -1
  256. package/dist/components/{cura-icon2.js → p-B5aO1chh.js} +5 -6
  257. package/dist/components/p-B5aO1chh.js.map +1 -0
  258. package/dist/components/{cura-calendar2.js → p-BGnJiNyu.js} +210 -100
  259. package/dist/components/p-BGnJiNyu.js.map +1 -0
  260. package/dist/components/{cura-heading2.js → p-BHEafDKD.js} +34 -7
  261. package/dist/components/p-BHEafDKD.js.map +1 -0
  262. package/dist/components/{cura-button-transparent2.js → p-BRDqwZ4N.js} +48 -11
  263. package/dist/components/p-BRDqwZ4N.js.map +1 -0
  264. package/dist/{esm/cura-button.definitions-617d3bad.js → components/p-BSI2FkNn.js} +2 -1
  265. package/dist/components/p-BSI2FkNn.js.map +1 -0
  266. package/dist/components/{cura-select2.js → p-BTt-pVTn.js} +86 -30
  267. package/dist/components/p-BTt-pVTn.js.map +1 -0
  268. package/dist/components/{cura-badge-counter2.js → p-C72aF-gL.js} +18 -9
  269. package/dist/components/p-C72aF-gL.js.map +1 -0
  270. package/dist/components/{cura-tabs.definitions.js → p-CHcd-uKK.js} +2 -1
  271. package/dist/components/p-CHcd-uKK.js.map +1 -0
  272. package/dist/components/p-D1cPOZpG.js +2617 -0
  273. package/dist/components/p-D1cPOZpG.js.map +1 -0
  274. package/dist/components/{cura-paragraph2.js → p-DI4g-ZH4.js} +26 -7
  275. package/dist/components/p-DI4g-ZH4.js.map +1 -0
  276. package/dist/components/{cura-label2.js → p-DR1RHrEX.js} +30 -7
  277. package/dist/components/p-DR1RHrEX.js.map +1 -0
  278. package/dist/components/{cura-stepper-item2.js → p-DaPc6Dxl.js} +23 -14
  279. package/dist/components/p-DaPc6Dxl.js.map +1 -0
  280. package/dist/components/{cura-forms.definitions.js → p-Dot54hbB.js} +2 -1
  281. package/dist/components/p-Dot54hbB.js.map +1 -0
  282. package/dist/components/{cura-select-option2.js → p-DpIu_Oxz.js} +8 -9
  283. package/dist/components/p-DpIu_Oxz.js.map +1 -0
  284. package/dist/components/{cura-loader-circle2.js → p-Dqm2sAwv.js} +13 -7
  285. package/dist/components/p-Dqm2sAwv.js.map +1 -0
  286. package/dist/components/{cura-progress-bar2.js → p-FTSrgi0q.js} +11 -8
  287. package/dist/components/p-FTSrgi0q.js.map +1 -0
  288. package/dist/components/{cura-loader-bar2.js → p-KIQMkSRF.js} +5 -5
  289. package/dist/components/p-KIQMkSRF.js.map +1 -0
  290. package/dist/components/{cura-badge-pill2.js → p-cOEGtL9C.js} +26 -9
  291. package/dist/components/p-cOEGtL9C.js.map +1 -0
  292. package/dist/components/{cura-input-text2.js → p-zz_zOPBZ.js} +75 -102
  293. package/dist/components/p-zz_zOPBZ.js.map +1 -0
  294. package/dist/cura/cura-alert.entry.esm.js.map +1 -0
  295. package/dist/cura/cura-badge-counter.entry.esm.js.map +1 -0
  296. package/dist/cura/cura-badge-dot.entry.esm.js.map +1 -0
  297. package/dist/cura/cura-badge-pill.entry.esm.js.map +1 -0
  298. package/dist/cura/cura-button-outline.entry.esm.js.map +1 -0
  299. package/dist/cura/cura-button-select.entry.esm.js.map +1 -0
  300. package/dist/cura/{p-12a4ae7e.entry.js.map → cura-calendar.entry.esm.js.map} +1 -1
  301. package/dist/cura/{p-53d68d72.entry.js.map → cura-card.entry.esm.js.map} +1 -1
  302. package/dist/cura/cura-checkbox.entry.esm.js.map +1 -0
  303. package/dist/cura/cura-display.entry.esm.js.map +1 -0
  304. package/dist/cura/cura-dropdown-search-not-found.entry.esm.js.map +1 -0
  305. package/dist/cura/cura-icons-view.entry.esm.js.map +1 -0
  306. package/dist/cura/cura-input-date.entry.esm.js.map +1 -0
  307. package/dist/cura/cura-loader-bar.entry.esm.js.map +1 -0
  308. package/dist/cura/{p-1ef21ae9.entry.js.map → cura-modal.entry.esm.js.map} +1 -1
  309. package/dist/cura/cura-progress-bar.cura-stepper-item.entry.esm.js.map +1 -0
  310. package/dist/cura/cura-radio.entry.esm.js.map +1 -0
  311. package/dist/cura/cura-stepper.entry.esm.js.map +1 -0
  312. package/dist/cura/cura-switch.entry.esm.js.map +1 -0
  313. package/dist/cura/cura-tabs-button.entry.esm.js.map +1 -0
  314. package/dist/cura/cura-tabs-transparent.entry.esm.js.map +1 -0
  315. package/dist/cura/cura-toast.entry.esm.js.map +1 -0
  316. package/dist/cura/cura-tooltip.entry.esm.js.map +1 -0
  317. package/dist/cura/cura.esm.js +1 -1
  318. package/dist/cura/cura.esm.js.map +1 -1
  319. package/dist/cura/index.esm.js +1 -1
  320. package/dist/cura/index.esm.js.map +1 -1
  321. package/dist/cura/loader.esm.js.map +1 -0
  322. package/dist/cura/p-077019da.entry.js +2 -0
  323. package/dist/cura/p-077019da.entry.js.map +1 -0
  324. package/dist/cura/p-07783235.entry.js +2 -0
  325. package/dist/cura/p-07783235.entry.js.map +1 -0
  326. package/dist/cura/p-090e297c.entry.js +2 -0
  327. package/dist/cura/p-090e297c.entry.js.map +1 -0
  328. package/dist/cura/p-16c0b52c.entry.js +2 -0
  329. package/dist/cura/p-16c0b52c.entry.js.map +1 -0
  330. package/dist/cura/p-2632183e.entry.js +2 -0
  331. package/dist/cura/p-2632183e.entry.js.map +1 -0
  332. package/dist/cura/p-32015dcc.entry.js +2 -0
  333. package/dist/cura/p-32015dcc.entry.js.map +1 -0
  334. package/dist/cura/p-32f94709.entry.js +2 -0
  335. package/dist/cura/p-32f94709.entry.js.map +1 -0
  336. package/dist/cura/p-3d6040e2.entry.js +2 -0
  337. package/dist/cura/p-3d6040e2.entry.js.map +1 -0
  338. package/dist/cura/p-4ac578a6.entry.js +2 -0
  339. package/dist/cura/p-4ac578a6.entry.js.map +1 -0
  340. package/dist/cura/p-4bde448e.entry.js +2 -0
  341. package/dist/cura/p-4bde448e.entry.js.map +1 -0
  342. package/dist/cura/p-6feba852.entry.js +2 -0
  343. package/dist/cura/p-6feba852.entry.js.map +1 -0
  344. package/dist/cura/p-7586fd07.entry.js +2 -0
  345. package/dist/cura/p-7586fd07.entry.js.map +1 -0
  346. package/dist/cura/p-76cbb798.entry.js +2 -0
  347. package/dist/cura/p-76cbb798.entry.js.map +1 -0
  348. package/dist/cura/p-7fd143aa.entry.js +2 -0
  349. package/dist/cura/p-7fd143aa.entry.js.map +1 -0
  350. package/dist/cura/p-8c83f259.entry.js +2 -0
  351. package/dist/cura/p-8c83f259.entry.js.map +1 -0
  352. package/dist/cura/p-95cd7918.entry.js +2 -0
  353. package/dist/cura/p-95cd7918.entry.js.map +1 -0
  354. package/dist/cura/{p-272c784a.js → p-964stZ3D.js} +1 -1
  355. package/dist/cura/p-964stZ3D.js.map +1 -0
  356. package/dist/cura/p-9759f26f.entry.js +2 -0
  357. package/dist/cura/p-9759f26f.entry.js.map +1 -0
  358. package/dist/cura/p-9ef5444e.entry.js +2 -0
  359. package/dist/cura/p-9ef5444e.entry.js.map +1 -0
  360. package/dist/cura/p-BPKQjAwN.js +2 -0
  361. package/dist/cura/p-BPKQjAwN.js.map +1 -0
  362. package/dist/cura/{p-53c18ed4.js → p-BSI2FkNn.js} +1 -1
  363. package/dist/cura/p-BSI2FkNn.js.map +1 -0
  364. package/dist/cura/{p-efcb32eb.js → p-CHcd-uKK.js} +1 -1
  365. package/dist/cura/p-CHcd-uKK.js.map +1 -0
  366. package/dist/cura/{p-f9b8f665.js → p-Dot54hbB.js} +1 -1
  367. package/dist/cura/p-Dot54hbB.js.map +1 -0
  368. package/dist/cura/p-PPMZr_VE.js +3 -0
  369. package/dist/cura/p-PPMZr_VE.js.map +1 -0
  370. package/dist/cura/p-c6f240f0.entry.js +2 -0
  371. package/dist/cura/p-c6f240f0.entry.js.map +1 -0
  372. package/dist/cura/p-ceb646df.entry.js +2 -0
  373. package/dist/cura/p-ceb646df.entry.js.map +1 -0
  374. package/dist/cura/p-d040f8b9.entry.js +2 -0
  375. package/dist/cura/p-d040f8b9.entry.js.map +1 -0
  376. package/dist/cura/p-deb0b764.entry.js +2 -0
  377. package/dist/cura/p-deb0b764.entry.js.map +1 -0
  378. package/dist/cura/p-df7cb250.entry.js +2 -0
  379. package/dist/cura/p-df7cb250.entry.js.map +1 -0
  380. package/dist/cura/p-f9af3a3b.entry.js +2 -0
  381. package/dist/cura/p-f9af3a3b.entry.js.map +1 -0
  382. package/dist/cura/{p-48f9289b.js → p-sjLA93YY.js} +1 -1
  383. package/dist/cura/p-sjLA93YY.js.map +1 -0
  384. package/dist/esm/cura-accordion_20.entry.js +483 -134
  385. package/dist/esm/cura-accordion_20.entry.js.map +1 -1
  386. package/dist/esm/cura-alert.entry.js +9 -10
  387. package/dist/esm/cura-alert.entry.js.map +1 -1
  388. package/dist/esm/cura-badge-counter.entry.js +16 -6
  389. package/dist/esm/cura-badge-counter.entry.js.map +1 -1
  390. package/dist/esm/cura-badge-dot.entry.js +14 -3
  391. package/dist/esm/cura-badge-dot.entry.js.map +1 -1
  392. package/dist/esm/cura-badge-pill.entry.js +23 -5
  393. package/dist/esm/cura-badge-pill.entry.js.map +1 -1
  394. package/dist/esm/cura-button-outline.entry.js +46 -6
  395. package/dist/esm/cura-button-outline.entry.js.map +1 -1
  396. package/dist/esm/cura-button-select.entry.js +7 -10
  397. package/dist/esm/cura-button-select.entry.js.map +1 -1
  398. package/dist/{components/cura-button.definitions.js → esm/cura-button.definitions-BSI2FkNn.js} +2 -1
  399. package/dist/esm/cura-button.definitions-BSI2FkNn.js.map +1 -0
  400. package/dist/esm/cura-calendar.entry.js +203 -92
  401. package/dist/esm/cura-calendar.entry.js.map +1 -1
  402. package/dist/esm/cura-card.entry.js +34 -4
  403. package/dist/esm/cura-card.entry.js.map +1 -1
  404. package/dist/esm/cura-checkbox.entry.js +72 -18
  405. package/dist/esm/cura-checkbox.entry.js.map +1 -1
  406. package/dist/esm/cura-display.entry.js +25 -5
  407. package/dist/esm/cura-display.entry.js.map +1 -1
  408. package/dist/esm/cura-dropdown-search-not-found.entry.js +5 -4
  409. package/dist/esm/cura-dropdown-search-not-found.entry.js.map +1 -1
  410. package/dist/esm/{cura-forms.definitions-2f963167.js → cura-forms.definitions-Dot54hbB.js} +2 -1
  411. package/dist/esm/cura-forms.definitions-Dot54hbB.js.map +1 -0
  412. package/dist/esm/{cura-icon.definitions-a892c0e2.js → cura-icon.definitions-sjLA93YY.js} +2 -1
  413. package/dist/esm/cura-icon.definitions-sjLA93YY.js.map +1 -0
  414. package/dist/esm/cura-icons-view.entry.js +7 -6
  415. package/dist/esm/cura-icons-view.entry.js.map +1 -1
  416. package/dist/esm/cura-input-date.entry.js +32 -13
  417. package/dist/esm/cura-input-date.entry.js.map +1 -1
  418. package/dist/esm/cura-loader-bar.entry.js +4 -3
  419. package/dist/esm/cura-loader-bar.entry.js.map +1 -1
  420. package/dist/esm/cura-modal.entry.js +46 -13
  421. package/dist/esm/cura-modal.entry.js.map +1 -1
  422. package/dist/esm/cura-progress-bar.cura-stepper-item.entry.js.map +1 -0
  423. package/dist/esm/cura-progress-bar_2.entry.js +25 -13
  424. package/dist/esm/cura-progress-bar_2.entry.js.map +1 -1
  425. package/dist/esm/cura-radio.entry.js +73 -19
  426. package/dist/esm/cura-radio.entry.js.map +1 -1
  427. package/dist/esm/cura-stepper.entry.js +23 -4
  428. package/dist/esm/cura-stepper.entry.js.map +1 -1
  429. package/dist/esm/cura-switch.entry.js +61 -16
  430. package/dist/esm/cura-switch.entry.js.map +1 -1
  431. package/dist/esm/cura-tabs-button.entry.js +6 -7
  432. package/dist/esm/cura-tabs-button.entry.js.map +1 -1
  433. package/dist/esm/cura-tabs-transparent.entry.js +6 -7
  434. package/dist/esm/cura-tabs-transparent.entry.js.map +1 -1
  435. package/dist/esm/{cura-tabs.definitions-a017126e.js → cura-tabs.definitions-CHcd-uKK.js} +2 -1
  436. package/dist/esm/cura-tabs.definitions-CHcd-uKK.js.map +1 -0
  437. package/dist/esm/{cura-theme-module-bf286f68.js → cura-theme-module-BPKQjAwN.js} +88 -4
  438. package/dist/esm/cura-theme-module-BPKQjAwN.js.map +1 -0
  439. package/dist/esm/cura-toast.entry.js +8 -9
  440. package/dist/esm/cura-toast.entry.js.map +1 -1
  441. package/dist/esm/cura-tooltip.entry.js +9 -9
  442. package/dist/esm/cura-tooltip.entry.js.map +1 -1
  443. package/dist/esm/cura.js +7 -7
  444. package/dist/esm/cura.js.map +1 -1
  445. package/dist/esm/{index-fbee309a.js → index-964stZ3D.js} +2 -1
  446. package/dist/esm/index-964stZ3D.js.map +1 -0
  447. package/dist/esm/{index-21683715.js → index-OdKytJIH.js} +947 -270
  448. package/dist/esm/index-OdKytJIH.js.map +1 -0
  449. package/dist/esm/index.js +2 -2
  450. package/dist/esm/index.js.map +1 -1
  451. package/dist/esm/loader.js +5 -6
  452. package/dist/esm/loader.js.map +1 -1
  453. package/dist/types/components/forms/cura-input-date/cura-input-date.d.ts +4 -0
  454. package/dist/types/components/forms/cura-input-date/cura-input-date.stories.d.ts +14 -0
  455. package/dist/types/components.d.ts +718 -0
  456. package/dist/types/stencil-public-runtime.d.ts +25 -1
  457. package/package.json +5 -5
  458. package/dist/cjs/app-globals-6d5b51b6.js +0 -70
  459. package/dist/cjs/app-globals-6d5b51b6.js.map +0 -1
  460. package/dist/cjs/cura-button.definitions-f036371c.js.map +0 -1
  461. package/dist/cjs/cura-forms.definitions-c164f1b8.js.map +0 -1
  462. package/dist/cjs/cura-icon.definitions-5223028b.js.map +0 -1
  463. package/dist/cjs/cura-tabs.definitions-b8955ad4.js.map +0 -1
  464. package/dist/cjs/cura-theme-module-09bb63a4.js.map +0 -1
  465. package/dist/cjs/index-60783089.js.map +0 -1
  466. package/dist/cjs/index-6dc29195.js.map +0 -1
  467. package/dist/cjs/static-44199808.js +0 -90
  468. package/dist/cjs/static-44199808.js.map +0 -1
  469. package/dist/components/cura-badge-counter2.js.map +0 -1
  470. package/dist/components/cura-badge-pill2.js.map +0 -1
  471. package/dist/components/cura-button-transparent2.js.map +0 -1
  472. package/dist/components/cura-button.definitions.js.map +0 -1
  473. package/dist/components/cura-calendar2.js.map +0 -1
  474. package/dist/components/cura-forms.definitions.js.map +0 -1
  475. package/dist/components/cura-heading2.js.map +0 -1
  476. package/dist/components/cura-icon2.js.map +0 -1
  477. package/dist/components/cura-input-text2.js.map +0 -1
  478. package/dist/components/cura-label2.js.map +0 -1
  479. package/dist/components/cura-loader-bar2.js.map +0 -1
  480. package/dist/components/cura-loader-circle2.js.map +0 -1
  481. package/dist/components/cura-paragraph2.js.map +0 -1
  482. package/dist/components/cura-progress-bar2.js.map +0 -1
  483. package/dist/components/cura-select-option2.js.map +0 -1
  484. package/dist/components/cura-select2.js.map +0 -1
  485. package/dist/components/cura-stepper-item2.js.map +0 -1
  486. package/dist/components/cura-tabs.definitions.js.map +0 -1
  487. package/dist/cura/p-0aeaf57a.entry.js +0 -2
  488. package/dist/cura/p-0aeaf57a.entry.js.map +0 -1
  489. package/dist/cura/p-0b872499.entry.js +0 -2
  490. package/dist/cura/p-0b872499.entry.js.map +0 -1
  491. package/dist/cura/p-0ccde0ff.entry.js +0 -2
  492. package/dist/cura/p-0ccde0ff.entry.js.map +0 -1
  493. package/dist/cura/p-12a4ae7e.entry.js +0 -2
  494. package/dist/cura/p-137f003b.entry.js +0 -2
  495. package/dist/cura/p-137f003b.entry.js.map +0 -1
  496. package/dist/cura/p-197213c0.entry.js +0 -2
  497. package/dist/cura/p-197213c0.entry.js.map +0 -1
  498. package/dist/cura/p-1ef21ae9.entry.js +0 -2
  499. package/dist/cura/p-202dc01a.entry.js +0 -2
  500. package/dist/cura/p-202dc01a.entry.js.map +0 -1
  501. package/dist/cura/p-20b05d8f.entry.js +0 -2
  502. package/dist/cura/p-20b05d8f.entry.js.map +0 -1
  503. package/dist/cura/p-272c784a.js.map +0 -1
  504. package/dist/cura/p-2db4deb3.js +0 -2
  505. package/dist/cura/p-2db4deb3.js.map +0 -1
  506. package/dist/cura/p-48f9289b.js.map +0 -1
  507. package/dist/cura/p-4ee8efca.js +0 -3
  508. package/dist/cura/p-4ee8efca.js.map +0 -1
  509. package/dist/cura/p-53c18ed4.js.map +0 -1
  510. package/dist/cura/p-53d68d72.entry.js +0 -2
  511. package/dist/cura/p-5a43e745.entry.js +0 -2
  512. package/dist/cura/p-5a43e745.entry.js.map +0 -1
  513. package/dist/cura/p-633c13cd.entry.js +0 -2
  514. package/dist/cura/p-633c13cd.entry.js.map +0 -1
  515. package/dist/cura/p-6cbd49dd.js +0 -2
  516. package/dist/cura/p-6cbd49dd.js.map +0 -1
  517. package/dist/cura/p-7a68835f.entry.js +0 -2
  518. package/dist/cura/p-7a68835f.entry.js.map +0 -1
  519. package/dist/cura/p-7e10b146.entry.js +0 -2
  520. package/dist/cura/p-7e10b146.entry.js.map +0 -1
  521. package/dist/cura/p-7e2d1229.entry.js +0 -2
  522. package/dist/cura/p-7e2d1229.entry.js.map +0 -1
  523. package/dist/cura/p-8aade007.entry.js +0 -2
  524. package/dist/cura/p-8aade007.entry.js.map +0 -1
  525. package/dist/cura/p-9f460031.js +0 -2
  526. package/dist/cura/p-9f460031.js.map +0 -1
  527. package/dist/cura/p-ac0c90af.entry.js +0 -2
  528. package/dist/cura/p-ac0c90af.entry.js.map +0 -1
  529. package/dist/cura/p-b254bbe4.entry.js +0 -2
  530. package/dist/cura/p-b254bbe4.entry.js.map +0 -1
  531. package/dist/cura/p-b4ee956b.entry.js +0 -2
  532. package/dist/cura/p-b4ee956b.entry.js.map +0 -1
  533. package/dist/cura/p-b60a6aaa.entry.js +0 -2
  534. package/dist/cura/p-b60a6aaa.entry.js.map +0 -1
  535. package/dist/cura/p-b6ff8ac1.entry.js +0 -2
  536. package/dist/cura/p-b6ff8ac1.entry.js.map +0 -1
  537. package/dist/cura/p-d8e1e182.entry.js +0 -2
  538. package/dist/cura/p-d8e1e182.entry.js.map +0 -1
  539. package/dist/cura/p-d97719bc.entry.js +0 -2
  540. package/dist/cura/p-d97719bc.entry.js.map +0 -1
  541. package/dist/cura/p-daf422ce.entry.js +0 -2
  542. package/dist/cura/p-daf422ce.entry.js.map +0 -1
  543. package/dist/cura/p-efcb32eb.js.map +0 -1
  544. package/dist/cura/p-f9b8f665.js.map +0 -1
  545. package/dist/esm/app-globals-c2abb41c.js +0 -68
  546. package/dist/esm/app-globals-c2abb41c.js.map +0 -1
  547. package/dist/esm/cura-button.definitions-617d3bad.js.map +0 -1
  548. package/dist/esm/cura-forms.definitions-2f963167.js.map +0 -1
  549. package/dist/esm/cura-icon.definitions-a892c0e2.js.map +0 -1
  550. package/dist/esm/cura-tabs.definitions-a017126e.js.map +0 -1
  551. package/dist/esm/cura-theme-module-bf286f68.js.map +0 -1
  552. package/dist/esm/index-21683715.js.map +0 -1
  553. package/dist/esm/index-fbee309a.js.map +0 -1
  554. package/dist/esm/static-090f0088.js +0 -88
  555. package/dist/esm/static-090f0088.js.map +0 -1
  556. package/dist/loader/package.json +0 -11
@@ -1,23 +1,49 @@
1
- import { proxyCustomElement, HTMLElement, h, Host } from '@stencil/core/internal/client';
1
+ import { p as proxyCustomElement, H, h, d as Host } from './p-D1cPOZpG.js';
2
2
 
3
3
  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}}";
4
- const CuraHeadingStyle0 = curaHeadingCss;
5
4
 
6
- const CuraHeading = /*@__PURE__*/ proxyCustomElement(class CuraHeading extends HTMLElement {
5
+ const CuraHeading = /*@__PURE__*/ proxyCustomElement(class CuraHeading extends H {
7
6
  constructor() {
8
7
  super();
9
8
  this.__registerHost();
10
9
  this.__attachShadow();
11
- this.theme = window.CuraAPI.theme;
10
+ /**
11
+ * Heading level for semantics. Will render the related HTML tag <h1>, <h2>, ...
12
+ * Values: 1(default) to 6.
13
+ */
12
14
  this.level = 1;
15
+ /**
16
+ * Heading style size.
17
+ * Values: regular (deprecated), medium (default) | large | small | caption (deprecated) | xsmall.
18
+ */
13
19
  this.size = 'medium';
20
+ /**
21
+ * Heading font weight. It is possible to use regular HTML tags like <b> or <strong> as well.
22
+ * Values: regular (default) | bold.
23
+ */
14
24
  this.weight = 'regular';
25
+ /**
26
+ * Apply design system color to interactive elements like <a> and <abbr> inside the text.
27
+ * Values: Color from design system scheme. Default to 'accent-dark'.
28
+ */
15
29
  this.spotColor = 'accent-dark';
16
- this.color = undefined;
30
+ /**
31
+ * CSS margin-block property values.
32
+ * Default to 1.25em
33
+ */
17
34
  this.marginBlock = '1.25em';
35
+ /**
36
+ * CSS line-height property values.
37
+ * Default to 130%
38
+ */
18
39
  this.lineHeight = '130%';
40
+ /**
41
+ * Apply text-overflow ellipsis definitions.
42
+ * Default to none
43
+ */
19
44
  this.textOverflow = 'none';
20
45
  this.styles = {};
46
+ this.theme = window.CuraAPI.theme;
21
47
  }
22
48
  connectedCallback() {
23
49
  this.setFontProperties();
@@ -69,7 +95,7 @@ const CuraHeading = /*@__PURE__*/ proxyCustomElement(class CuraHeading extends H
69
95
  return (h(Host, { key: 'd32c25d0110f82182f4559789f3d2db04e040afe', style: this.hostCSSProperties(), role: "heading", "aria-level": this.level }, this.getHeadingTag()));
70
96
  }
71
97
  get host() { return this; }
72
- static get style() { return CuraHeadingStyle0; }
98
+ static get style() { return curaHeadingCss; }
73
99
  }, [1, "cura-heading", {
74
100
  "level": [514],
75
101
  "size": [513],
@@ -96,5 +122,6 @@ function defineCustomElement() {
96
122
  }
97
123
 
98
124
  export { CuraHeading as C, defineCustomElement as d };
125
+ //# sourceMappingURL=p-BHEafDKD.js.map
99
126
 
100
- //# sourceMappingURL=cura-heading2.js.map
127
+ //# sourceMappingURL=p-BHEafDKD.js.map
@@ -0,0 +1 @@
1
+ {"file":"p-BHEafDKD.js","mappings":";;AAAA,MAAM,cAAc,GAAG,8vJAA8vJ;;MCOxwJ,WAAW,iBAAAA,kBAAA,CAAA,MAAA,WAAA,SAAAC,CAAA,CAAA;AALxB,IAAA,WAAA,GAAA;;;;AAOE;;;AAGG;AACoB,QAAA,IAAK,CAAA,KAAA,GAA2B,CAAC;AAExD;;;AAGG;AACoB,QAAA,IAAI,CAAA,IAAA,GAAoE,QAAQ;AAEvG;;;AAGG;AACoB,QAAA,IAAM,CAAA,MAAA,GAAuB,SAAS;AAE7D;;;AAGE;AACqB,QAAA,IAAS,CAAA,SAAA,GAAG,aAAa;AAQhD;;;AAGG;AACoB,QAAA,IAAW,CAAA,WAAA,GAAG,QAAQ;AAE7C;;;AAGG;AACoB,QAAA,I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,KAAK,EAAE,IAAI,CAAC,UAAU,EAAE,EAAA,EAAE,CAAA,CAAA,MAAA,EAAA,IAAA,CAAa,CAAK;YACzE,GAAG,EAAE,CAAA,CAAA,IAAA,EAAA,EAAI,KAAK,EAAE,IAAI,CAAC,MAAM,EAAE,KAAK,EAAE,IAAI,CAAC,UAAU,EAAE,EAAA,EAAE,CAAA,CAAA,MAAA,EAAA,IAAA,CAAa,CAAK;YACzE,SAAS,EAAE,CAAA,CAAA,IAAA,EAAA,EAAI,KAAK,EAAE,IAAI,CAAC,MAAM,EAAE,KAAK,EAAE,IAAI,CAAC,UAAU,EAAE,EAAA,EAAE,CAAA,CAAA,MAAA,EAAA,IAAA,CAAa;SAC3E;AACD,QAAA,OAAO,IAAI,CAAC,CAAG,EAAA,IAAI,CAAC,KAAK,CAAE,CAAA,CAAC,IAAI,IAAI,CAAC,SAAS,CAAC;;IAGjD,MAAM,GAAA;AACJ,QAAA,QACE,CAAC,CAAA,IAAI,EAAC,EAAA,GAAA,EAAA,0CAAA,EAAA,KAAK,EAAE,IAAI,CAAC,iBAAiB,EAAE,EAAE,IAAI,EAAC,SAAS,EAAA,YAAA,EAAa,IAAI,CAAC,KAAK,EAAA,EACxE,IAAI,CAAC,aAAa,EAAE,CACjB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","names":["__stencil_proxyCustomElement","HTMLElement"],"sources":["src/components/text/cura-heading/cura-heading.scss?tag=cura-heading&encapsulation=shadow","src/components/text/cura-heading/cura-heading.tsx"],"sourcesContent":["@import '../../../scss/mixins/responsive.scss';\n@import '../../../scss/mixins/text.scss';\n\n:host {\n display: block;\n font-size: var(--font-size-base);\n\n h1, h2, h3, h4, h5, h6 {\n font-family: var(--font-family);\n font-size: 1.714em;\n font-weight: var(--font-weight-regular);\n color: var(--color-body);\n line-height: var(--line-height);\n margin-block: var(--margin-block);\n letter-spacing: 0px;\n\n &.bold-weight {\n font-weight: var(--font-weight-medium);\n }\n\n &.large {\n font-size: 2.071em;\n letter-spacing: -0.58px;\n }\n\n &.small {\n font-size: 1.214em;\n line-height: calc(var(--line-height) + 20%);\n\n &.bold-weight, ::slotted(b), ::slotted(strong) {\n font-weight: var(--font-weight-bold);\n }\n }\n\n &.xsmall {\n font-size: 0.8571428571428571em;\n font-weight: var(--font-weight-medium);\n letter-spacing: 0.6px;\n\n &.bold-weight, ::slotted(b), ::slotted(strong) {\n font-weight: var(--font-weight-bold);\n }\n }\n\n &.textoverflow-single {\n @include truncate-single();\n }\n\n ::slotted(b), ::slotted(strong) {\n font-weight: var(--font-weight-medium);\n }\n\n ::slotted(a) {\n font-weight: var(--font-weight-bold);\n color: var(--color-spot);\n text-underline-offset: 10%;\n cursor: pointer;\n }\n\n ::slotted(u) {\n text-underline-offset: 10%;\n }\n\n ::slotted(abbr) {\n color: var(--color-spot);\n text-decoration: underline dashed 1px var(--color-spot);\n text-underline-offset: 10%;\n cursor: default;\n }\n\n ::slotted(i) {\n font-weight: var(--font-weight-medium);\n }\n\n ::slotted(em) {\n color: var(--color-spot);\n font-weight: var(--font-weight-bold);\n font-style: normal;\n }\n\n }\n\n @include medium-large() {\n h1, h2, h3, h4, h5, h6 {\n font-size: 2em;\n\n &.large {\n font-size: 2.357em;\n letter-spacing: -0.66px;\n }\n\n &.small {\n font-size: 1.357em;\n }\n\n &.xsmall {\n font-size: 0.8571428571428571em;\n line-height: calc(var(--line-height) + 3%);\n letter-spacing: 0.72px;\n }\n\n }\n }\n\n @include xlarge-only() {\n h1, h2, h3, h4, h5, h6 {\n font-size: 2.5em;\n line-height: calc(var(--line-height) + 5%);\n letter-spacing: -0.82px;\n\n &.large {\n font-size: 2.929em;\n }\n\n &.small {\n font-size: 1.714em;\n line-height: calc(var(--line-height) + 30%);\n letter-spacing: 0%;\n }\n\n &.xsmall {\n font-size: 1em;\n line-height: calc(var(--line-height) + 12.857%);\n letter-spacing: 0.28px;\n }\n }\n }\n\n}\n","import { Component, Host, h, Prop, Element, State } from '@stencil/core';\n\n@Component({\n tag: 'cura-heading',\n styleUrl: 'cura-heading.scss',\n shadow: true,\n})\nexport class CuraHeading {\n\n /**\n * Heading level for semantics. Will render the related HTML tag <h1>, <h2>, ...\n * Values: 1(default) to 6.\n */\n @Prop({reflect: true}) level: 1 | 2 | 3 | 4 | 5 | 6 = 1;\n\n /**\n * Heading style size.\n * Values: regular (deprecated), medium (default) | large | small | caption (deprecated) | xsmall.\n */\n @Prop({reflect: true}) size: 'regular' | 'medium' | 'large' | 'small' | 'caption' | 'xsmall' = 'medium';\n\n /**\n * Heading font weight. It is possible to use regular HTML tags like <b> or <strong> as well.\n * Values: regular (default) | bold.\n */\n @Prop({reflect: true}) weight: 'regular' | 'bold' = 'regular';\n\n /**\n * Apply design system color to interactive elements like <a> and <abbr> inside the text.\n * Values: Color from design system scheme. Default to 'accent-dark'.\n */\n @Prop({reflect: true}) spotColor = 'accent-dark';\n\n /**\n * Text color.\n * Values: Color from design system scheme. Default to the font color from the theme.\n */\n @Prop({reflect: true}) color: string;\n\n /**\n * CSS margin-block property values.\n * Default to 1.25em\n */\n @Prop({reflect: true}) marginBlock = '1.25em';\n\n /**\n * CSS line-height property values.\n * Default to 130%\n */\n @Prop({reflect: true}) lineHeight = '130%';\n\n /**\n * Apply text-overflow ellipsis definitions.\n * Default to none\n */\n @Prop({reflect: true}) textOverflow: 'none' | 'single' | string = 'none';\n\n /**\n * Host element <cura-heading>\n */\n @Element() host: HTMLElement;\n\n /**\n * Internal Props\n */\n weights: any;\n fontSizeBase: string;\n @State() styles = {};\n theme = window.CuraAPI.theme;\n\n connectedCallback() {\n this.setFontProperties();\n }\n\n getClasses() {\n const classes = {\n 'textoverflow-single': this.textOverflow === 'single'\n };\n classes[this.size.toLowerCase()] = true;\n classes[`${this.weight.toLowerCase()}-weight`] = true;\n return classes;\n }\n\n setFontProperties() {\n this.weights = this.theme.fonts.getWeights();\n this.fontSizeBase = this.theme.fonts.getSize();\n this.styles = {\n '--font-family': window.CuraAPI.theme.fonts.getFamily('heading'),\n '--font-weight-regular': this.weights.regular,\n '--font-weight-medium': this.weights.medium,\n '--font-weight-bold': this.weights.bold,\n '--font-weight-black': this.weights.black\n }\n }\n\n hostCSSProperties() {\n const fontColor = this.color\n ? this.theme.colors.getColor(this.color)\n : this.theme.fonts.getColor();\n return {\n '--margin-block': this.marginBlock,\n '--font-size-base': this.fontSizeBase,\n '--line-height': this.lineHeight,\n '--color-body': fontColor || this.theme.colors.getColor('neutral-darker'),\n '--color-spot': this.theme.colors.getColor(`${this.spotColor}`)\n };\n }\n\n getHeadingTag() {\n const tags = {\n '1': <h1 style={this.styles} class={this.getClasses()}><slot></slot></h1>,\n '2': <h2 style={this.styles} class={this.getClasses()}><slot></slot></h2>,\n '3': <h3 style={this.styles} class={this.getClasses()}><slot></slot></h3>,\n '4': <h4 style={this.styles} class={this.getClasses()}><slot></slot></h4>,\n '5': <h5 style={this.styles} class={this.getClasses()}><slot></slot></h5>,\n '6': <h6 style={this.styles} class={this.getClasses()}><slot></slot></h6>,\n 'default': <h1 style={this.styles} class={this.getClasses()}><slot></slot></h1>\n };\n return tags[`${this.level}`] || tags['default'];\n }\n\n render() {\n return (\n <Host style={this.hostCSSProperties()} role=\"heading\" aria-level={this.level}>\n { this.getHeadingTag() }\n </Host>\n );\n }\n\n}\n"],"version":3}
@@ -1,31 +1,67 @@
1
- import { proxyCustomElement, HTMLElement, h, Host } from '@stencil/core/internal/client';
2
- import { l as labelSizes } from './cura-button.definitions.js';
3
- import { d as defineCustomElement$3 } from './cura-icon2.js';
4
- import { d as defineCustomElement$2 } from './cura-label2.js';
5
- import { d as defineCustomElement$1 } from './cura-loader-circle2.js';
1
+ import { p as proxyCustomElement, H, h, d as Host } from './p-D1cPOZpG.js';
2
+ import { l as labelSizes } from './p-BSI2FkNn.js';
3
+ import { d as defineCustomElement$3 } from './p-B5aO1chh.js';
4
+ import { d as defineCustomElement$2 } from './p-DR1RHrEX.js';
5
+ import { d as defineCustomElement$1 } from './p-Dqm2sAwv.js';
6
6
 
7
7
  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}";
8
- const CuraButtonTransparentStyle0 = curaButtonTransparentCss;
9
8
 
10
- const CuraButtonTransparent = /*@__PURE__*/ proxyCustomElement(class CuraButtonTransparent extends HTMLElement {
9
+ const CuraButtonTransparent = /*@__PURE__*/ proxyCustomElement(class CuraButtonTransparent extends H {
11
10
  constructor() {
12
11
  super();
13
12
  this.__registerHost();
14
13
  this.__attachShadow();
15
14
  this.internals = this.attachInternals();
15
+ /**
16
+ * Button type: button (default) | submit | reset
17
+ */
16
18
  this.type = 'button';
19
+ /**
20
+ * Button size: small | medium | large (default)
21
+ */
17
22
  this.size = 'large';
23
+ /**
24
+ * Disabled state. Boolean.
25
+ */
18
26
  this.disabled = false;
27
+ /**
28
+ * Loading state. Boolean.
29
+ */
19
30
  this.isLoading = false;
20
- this.iconName = undefined;
31
+ /**
32
+ * Custom iconset if needed.
33
+ */
21
34
  this.iconset = 'default';
35
+ /**
36
+ * Icon position: left (default) | right.
37
+ */
22
38
  this.iconPosition = 'left';
39
+ /**
40
+ * Set button to FAB/icon only.
41
+ */
23
42
  this.iconOnly = false;
24
- this.href = undefined;
43
+ /**
44
+ * Set target if link.
45
+ */
25
46
  this.target = "_self";
47
+ /**
48
+ * Color base from color scheme. Default: accent.
49
+ */
26
50
  this.color = 'primary';
51
+ /**
52
+ * Set the font color to dark or light.
53
+ * Default: dark.
54
+ */
27
55
  this.fontColor = 'dark';
56
+ /**
57
+ * Set text aligment for the button label.
58
+ * Vales: left (default) | center | right.
59
+ */
28
60
  this.textAlign = 'left';
61
+ /**
62
+ * Justify icons and label inside the button.
63
+ * Vales: false (default) | true.
64
+ */
29
65
  this.justify = false;
30
66
  this.hovered = false;
31
67
  this.styles = {};
@@ -94,7 +130,7 @@ const CuraButtonTransparent = /*@__PURE__*/ proxyCustomElement(class CuraButtonT
94
130
  "fontColor": ["getSymbolColor"],
95
131
  "color": ["getSymbolColor"]
96
132
  }; }
97
- static get style() { return CuraButtonTransparentStyle0; }
133
+ static get style() { return curaButtonTransparentCss; }
98
134
  }, [65, "cura-button-transparent", {
99
135
  "type": [513],
100
136
  "size": [513],
@@ -146,5 +182,6 @@ function defineCustomElement() {
146
182
  }
147
183
 
148
184
  export { CuraButtonTransparent as C, defineCustomElement as d };
185
+ //# sourceMappingURL=p-BRDqwZ4N.js.map
149
186
 
150
- //# sourceMappingURL=cura-button-transparent2.js.map
187
+ //# sourceMappingURL=p-BRDqwZ4N.js.map
@@ -0,0 +1 @@
1
+ {"file":"p-BRDqwZ4N.js","mappings":";;;;;;AAAA,MAAM,wBAAwB,GAAG,y1FAAy1F;;MCS72F,qBAAqB,iBAAAA,kBAAA,CAAA,MAAA,qBAAA,SAAAC,CAAA,CAAA;AANlC,IAAA,WAAA,GAAA;;;;;AAUE;;AAEG;AACsB,QAAA,IAAI,CAAA,IAAA,GAAkC,QAAQ;AAEvE;;AAEG;AACsB,QAAA,IAAI,CAAA,IAAA,GAAiC,OAAO;AAErE;;AAEG;AACsB,QAAA,IAAQ,CAAA,QAAA,GAAG,KAAK;AACzC;;AAEG;AACsB,QAAA,IAAS,CAAA,SAAA,GAAG,KAAK;AAM1C;;AAEG;AACsB,QAAA,IAAO,CAAA,OAAA,GAAG,SAAS;AAC5C;;AAEG;AACsB,QAAA,IAAY,CAAA,YAAA,GAAqB,MAAM;AAChE;;AAEG;AACsB,QAAA,IAAQ,CAAA,QAAA,GAAG,KAAK;AAMzC;;AAEG;AACsB,QAAA,IAAM,CAAA,MAAA,GAAG,OAAO;AAEzC;;AAEG;AACsB,QAAA,IAA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,EAAC,QAAQ,EAAC,KAAK,EAAE,WAAW,EAAA,EAAE,CAAA,CAAA,MAAA,EAAA,IAAA,CAAa,CAAa,CAC1F,EACP,CAAA,CAAA,oBAAA,EAAA,EAAoB,IAAI,EAAE,IAAI,CAAC,IAAI,EAAE,KAAK,EAAE,WAAW,EAAuB,CAAA,CACvE,CACV,CACI;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","names":["__stencil_proxyCustomElement","HTMLElement"],"sources":["src/components/buttons/cura-button-transparent/cura-button-transparent.scss?tag=cura-button-transparent&encapsulation=shadow","src/components/buttons/cura-button-transparent/cura-button-transparent.tsx"],"sourcesContent":["@import \"../../../scss/mixins/buttons.scss\";\n\n:host {\n @include button-host();\n\n button, a {\n @include button-element() {\n background-color: transparent;\n border: none;\n }\n\n @include button-sizes();\n\n // Children Elements\n @include button-container();\n @include button-label();\n @include button-icon();\n\n // Disabled state\n @include button-disabled();\n\n // FAB / Icon-only\n @include button-icon-only-behavior();\n\n // Loading State\n @include button-loading();\n\n }\n}\n","import { Component, Host, h, Prop, State, Watch, AttachInternals } from '@stencil/core';\nimport { labelSizes } from '../cura-button.definitions';\n\n@Component({\n tag: 'cura-button-transparent',\n styleUrl: 'cura-button-transparent.scss',\n shadow: true,\n formAssociated: true\n})\nexport class CuraButtonTransparent {\n\n @AttachInternals() internals: ElementInternals;\n\n /**\n * Button type: button (default) | submit | reset\n */\n @Prop({ reflect: true }) type: 'button' | 'reset' | 'submit' = 'button';\n\n /**\n * Button size: small | medium | large (default)\n */\n @Prop({ reflect: true }) size: 'small' | 'medium' | 'large' = 'large';\n\n /**\n * Disabled state. Boolean.\n */\n @Prop({ reflect: true }) disabled = false;\n /**\n * Loading state. Boolean.\n */\n @Prop({ reflect: true }) isLoading = false;\n\n /**\n * Name of the icon to be used from iconset.\n */\n @Prop({ reflect: true }) iconName: string;\n /**\n * Custom iconset if needed.\n */\n @Prop({ reflect: true }) iconset = 'default';\n /**\n * Icon position: left (default) | right.\n */\n @Prop({ reflect: true }) iconPosition: 'left' | 'right' = 'left';\n /**\n * Set button to FAB/icon only.\n */\n @Prop({ reflect: true }) iconOnly = false;\n\n /**\n * Property href switch button to link.\n */\n @Prop({ reflect: true }) href: string;\n /**\n * Set target if link.\n */\n @Prop({ reflect: true }) target = \"_self\";\n\n /**\n * Color base from color scheme. Default: accent.\n */\n @Prop({ reflect: true }) color = 'primary';\n\n /**\n * Set the font color to dark or light.\n * Default: dark.\n */\n @Prop({ reflect: true }) fontColor: 'dark' | 'light' = 'dark';\n /**\n * Set text aligment for the button label.\n * Vales: left (default) | center | right.\n */\n @Prop({ reflect: true }) textAlign: 'left' | 'center' | 'right' = 'left';\n\n /**\n * Justify icons and label inside the button.\n * Vales: false (default) | true.\n */\n @Prop({ reflect: true }) justify = false;\n\n @State() hovered = false;\n\n @State() styles = {};\n\n weights;\n\n connectedCallback() {\n this.weights = window.CuraAPI.theme.fonts.getWeights();\n this.styles['--base-spacing'] = window.CuraAPI.theme.spacing.getSpacing();\n this.styles['--neutral-white'] = window.CuraAPI.theme.colors.getColor(`neutral-white`);\n this.styles['--neutral-base'] = window.CuraAPI.theme.colors.getColor(`neutral-base`);\n this.styles['--neutral-dark'] = window.CuraAPI.theme.colors.getColor(`neutral-dark`);\n this.styles['--font-size'] = window.CuraAPI.theme.fonts.getSize();\n this.styles['--font-family'] = window.CuraAPI.theme.fonts.getFamily();\n this.styles['--font-weight-medium'] = this.weights.medium;\n this.styles['--text-align'] = this.textAlign;\n }\n\n getClasses() {\n const classes = {};\n classes[`${this.size.toLowerCase()}`] = true;\n classes[`icon-${this.iconPosition.toLowerCase()}`] = true;\n classes[`icon-only`] = this.iconOnly;\n classes['disabled'] = this.disabled;\n classes['isLoading'] = this.isLoading;\n classes['justify'] = this.justify;\n return classes;\n }\n\n\n getIcon() {\n if (!this.iconName) return null;\n const iconSize = this.size === 'large' ? 20 : 16;\n return <cura-icon name={this.iconName} iconset={this.iconset} size={iconSize} color={this.getSymbolColor()}></cura-icon>;\n }\n\n handleMouseEnter() {\n if (this.disabled) return;\n this.hovered = true;\n }\n\n handleMouseLeave() {\n this.hovered = false;\n }\n\n @Watch('fontColor')\n @Watch('color')\n getSymbolColor() {\n if (this.disabled) return 'neutral-dark';\n if (this.hovered && !this.isLoading) return this.fontColor === 'light' ? `${this.color}-light` : `${this.color}-darker`;\n return this.fontColor === 'light' ? 'neutral-white' : `${this.color}-dark`;\n }\n\n handleClick(e: Event) {\n if (this.disabled || this.isLoading) {\n e.preventDefault();\n return;\n }\n if (!this.href) {\n if (this.type === 'submit' && this.internals.form) this.internals.form.submit();\n if (this.type === 'reset' && this.internals.form) this.internals.form.reset();\n }\n }\n\n render() {\n const symbolColor = this.getSymbolColor();\n const labelSize = labelSizes[this.size] || labelSizes[\"default\"];\n return (\n <Host role={ this.href ? 'link' : this.type }\n aria-disabled={this.disabled}>\n {this.href ? (\n <a href={this.disabled ? '' : this.href}\n target={this.target}\n class={this.getClasses()}\n style={this.styles}\n onClick={(e) => this.handleClick(e)}\n onMouseEnter={() => this.handleMouseEnter()}\n onMouseLeave={() => this.handleMouseLeave()}>\n <span class=\"button-container\">\n {this.getIcon()}\n <cura-label size={labelSize} lineHeight='normal' color={symbolColor}><slot></slot></cura-label>\n </span>\n <cura-loader-circle size={this.size} color={symbolColor}></cura-loader-circle>\n </a>\n ) : (\n <button class={this.getClasses()}\n style={this.styles}\n disabled={this.disabled || null}\n onClick={(e) => this.handleClick(e)}\n onMouseEnter={() => this.handleMouseEnter()}\n onMouseLeave={() => this.handleMouseLeave()}\n type={this.type}>\n <span class=\"button-container\">\n {this.getIcon()}\n <cura-label size={labelSize} lineHeight='normal' color={symbolColor}><slot></slot></cura-label>\n </span>\n <cura-loader-circle size={this.size} color={symbolColor}></cura-loader-circle>\n </button>\n )}\n </Host>\n );\n }\n\n}\n"],"version":3}
@@ -6,5 +6,6 @@ const labelSizes = {
6
6
  };
7
7
 
8
8
  export { labelSizes as l };
9
+ //# sourceMappingURL=p-BSI2FkNn.js.map
9
10
 
10
- //# sourceMappingURL=cura-button.definitions-617d3bad.js.map
11
+ //# sourceMappingURL=p-BSI2FkNn.js.map
@@ -0,0 +1 @@
1
+ {"file":"p-BSI2FkNn.js","mappings":"AAAa,MAAA,UAAU,GAAG;AACxB,IAAA,OAAO,EAAE,QAAQ;AACjB,IAAA,QAAQ,EAAE,OAAO;AACjB,IAAA,OAAO,EAAE,QAAQ;AACjB,IAAA,SAAS,EAAE;;;;;","names":[],"sources":["src/components/buttons/cura-button.definitions.tsx"],"sourcesContent":["export const labelSizes = {\n \"small\": \"xsmall\",\n \"medium\": \"small\",\n \"large\": \"medium\",\n \"default\": \"medium\"\n};\n"],"version":3}
@@ -1,18 +1,90 @@
1
- import { proxyCustomElement, HTMLElement, createEvent, h, Host } from '@stencil/core/internal/client';
2
- import { d as defineCustomElement$2 } from './cura-icon2.js';
3
- import { d as defineCustomElement$1 } from './cura-label2.js';
1
+ import { p as proxyCustomElement, H, e as createEvent, h, d as Host } from './p-D1cPOZpG.js';
2
+ import { d as defineCustomElement$2 } from './p-B5aO1chh.js';
3
+ import { d as defineCustomElement$1 } from './p-DR1RHrEX.js';
4
4
 
5
5
  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}";
6
- const CuraSelectStyle0 = curaSelectCss;
7
6
 
8
- const CuraSelect = /*@__PURE__*/ proxyCustomElement(class CuraSelect extends HTMLElement {
7
+ const CuraSelect = /*@__PURE__*/ proxyCustomElement(class CuraSelect extends H {
9
8
  constructor() {
10
9
  super();
11
10
  this.__registerHost();
12
11
  this.__attachShadow();
13
- this.selected = createEvent(this, "selected", 7);
14
- this.searchTermInput = createEvent(this, "searchTermInput", 7);
12
+ this.selected = createEvent(this, "selected");
13
+ this.searchTermInput = createEvent(this, "searchTermInput");
15
14
  this.internals = this.attachInternals();
15
+ /**
16
+ * The label text for the select component.
17
+ * Reflects as an attribute in the DOM.
18
+ */
19
+ this.label = '';
20
+ /**
21
+ * Placeholder text for the input field.
22
+ * Reflects as an attribute in the DOM.
23
+ */
24
+ this.placeholder = '';
25
+ /**
26
+ * Current value of the select component.
27
+ * Reflects as an attribute in the DOM and is mutable.
28
+ */
29
+ this.value = '';
30
+ /**
31
+ * Display mode of the select component.
32
+ * Can be 'default' or 'transparent'.
33
+ */
34
+ this.mode = 'default';
35
+ /**
36
+ * Size of the select component.
37
+ * Can be 'small', 'medium', or 'large'.
38
+ */
39
+ this.size = 'medium';
40
+ /**
41
+ * Status of the select component.
42
+ * Can be 'success', 'error', or 'default'.
43
+ */
44
+ this.status = 'default';
45
+ /**
46
+ * Whether the select component is disabled.
47
+ * Reflects as an attribute in the DOM.
48
+ */
49
+ this.disabled = false;
50
+ /**
51
+ * Whether the select component is required.
52
+ * Reflects as an attribute in the DOM.
53
+ */
54
+ this.required = false;
55
+ /**
56
+ * Enable / Disable search at options by term.
57
+ * Default: false
58
+ */
59
+ this.searchBehavior = false;
60
+ /**
61
+ * The search will be sensitive to accents.
62
+ * Default: true
63
+ */
64
+ this.caseSensitive = true;
65
+ /**
66
+ * CSS max-height property for dropdown item.
67
+ * Can also be used by css property --max-height.
68
+ * Default: 285px
69
+ */
70
+ this.maxHeight = '285px';
71
+ /**
72
+ * Internal state: Whether the input is hovered.
73
+ * Default: false
74
+ */
75
+ this.isHovered = false;
76
+ /**
77
+ * Internal state: Whether the input is focused.
78
+ * Default: false
79
+ */
80
+ this.isFocused = false;
81
+ /**
82
+ * Internal state: Whether the dropdown menu is open.
83
+ * Default: false
84
+ */
85
+ this.isOpen = false;
86
+ this.activeIndex = -1;
87
+ this.textInput = '';
16
88
  /**
17
89
  * Styles to be applied to the component.
18
90
  */
@@ -83,24 +155,6 @@ const CuraSelect = /*@__PURE__*/ proxyCustomElement(class CuraSelect extends HTM
83
155
  this.isOpen = false;
84
156
  }
85
157
  };
86
- this.label = '';
87
- this.placeholder = '';
88
- this.value = '';
89
- this.mode = 'default';
90
- this.size = 'medium';
91
- this.iconName = undefined;
92
- this.status = 'default';
93
- this.disabled = false;
94
- this.required = false;
95
- this.searchBehavior = false;
96
- this.caseSensitive = true;
97
- this.maxHeight = '285px';
98
- this.isHovered = false;
99
- this.isFocused = false;
100
- this.isOpen = false;
101
- this.options = undefined;
102
- this.activeIndex = -1;
103
- this.textInput = '';
104
158
  }
105
159
  updateOptionHighlights(newActiveINdex) {
106
160
  this.options.forEach((option, index) => (option.active = index === newActiveINdex));
@@ -169,6 +223,7 @@ const CuraSelect = /*@__PURE__*/ proxyCustomElement(class CuraSelect extends HTM
169
223
  * Initializes select-related functionality.
170
224
  */
171
225
  componentDidLoad() {
226
+ // this.initializeOptions();
172
227
  this.setupMutationObserver();
173
228
  this.addOutsideClickListener();
174
229
  }
@@ -317,13 +372,13 @@ const CuraSelect = /*@__PURE__*/ proxyCustomElement(class CuraSelect extends HTM
317
372
  document.removeEventListener('click', this.handleClickOutside);
318
373
  }
319
374
  render() {
320
- return (h(Host, { key: 'e9217707e382cf64c4a1d93ed0b07b06fe75cf5b', 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') }, h("div", { key: 'cd4017145d95d80e0f2df6daaeb96d699d21028e', class: this.getClasses(), onMouseEnter: () => (this.isHovered = true), onMouseLeave: () => (this.isHovered = false), onClick: this.handleClick }, this.label && (h("cura-label", { key: 'b004e05ae6b7998e01ce335323e434a0e4cc5b10', class: "label", weight: "bold", size: this.size === 'large' ? 'small' : 'xsmall', color: this.getColor('label') }, this.label, " ", this.required && h("span", { key: 'c8dc7ee9960208f7fd63803e3894d5c5ee225f84', class: "required" }, "* "))), h("div", { key: '6a4da3e7b43e297f58ccfaaa03dd8ae847bb40fe', class: {
375
+ return (h(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') }, h("div", { key: '00dd10ed04cd3bf0e848d9facc44db794e3580cf', class: this.getClasses(), onMouseEnter: () => (this.isHovered = true), onMouseLeave: () => (this.isHovered = false), onClick: this.handleClick }, this.label && (h("cura-label", { key: 'd0c7293af9ba728293f2b531c2cc0354ba6f9fa0', class: "label", weight: "bold", size: this.size === 'large' ? 'small' : 'xsmall', color: this.getColor('label') }, this.label, " ", this.required && h("span", { key: '2d1e87303eab87280dc8668e390bd5aa696814d9', class: "required" }, "* "))), h("div", { key: 'd0e8464016796145e088f459532a37dfb1852f96', class: {
321
376
  'cura-input-field': true,
322
377
  'open': this.isOpen,
323
- } }, this.renderIcon(), h("input", { key: 'af593857db2f30b9cc58b4d3218a8f86d20b8431', type: "text", autocomplete: "off", onFocus: () => (this.isFocused = true), onBlur: () => (this.isFocused = false), onKeyDown: this.handleKeyNavigation, "aria-required": String(this.required), "aria-disabled": String(this.disabled), "aria-invalid": String(this.status === 'error'), onInput: this.handleInputChange, style: this.styles, placeholder: this.placeholder, disabled: this.disabled, required: this.required, value: this.textInput, readonly: this.searchBehavior ? null : true }), h("button", { key: 'e87bafd632d2c91cb1ef5cc9380d8cd6040f39f4', class: "up-down-button" }, h("cura-icon", { key: 'fa20c2690f5b37d9d9ad636389b0f774b4fa24c7', name: this.isOpen ? 'up' : 'down', class: "up-down-icon", color: this.disabled ? 'neutral-dark' : 'primary-base', size: 16, iconset: "default" }))), h("cura-label", { key: '8755ec21f14adefa9e4cbc24a49057b6199b1ff8', class: "helper-text", size: "xsmall", color: this.getColor('text'), weight: this.mode === 'transparent' ? 'bold' : 'regular' }, h("slot", { key: '78e4f029a3d191450c7b3bd8f1a32565bae3ee23' })), this.isOpen && (h("div", { key: '2ba5af7297dd23d088a7fca7f166522769293301', class: {
378
+ } }, this.renderIcon(), 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 }), h("button", { key: '7b9b18aebd379b004c08f4bcdb4c72357f29c56c', class: "up-down-button" }, 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" }))), h("cura-label", { key: '8e89021a023d6ff69a2adb2fe1b9052d1d813d06', class: "helper-text", size: "xsmall", color: this.getColor('text'), weight: this.mode === 'transparent' ? 'bold' : 'regular' }, h("slot", { key: 'a253ffc9f1f1ee84c9dcbc81dc3a650c5105c11e' })), this.isOpen && (h("div", { key: '938f552bebac510a7345c8e7b46d2ef911c19e12', class: {
324
379
  menu: true,
325
380
  open: this.isOpen,
326
- }, style: { '--max-height': this.maxHeight } }, h("slot", { key: '08e5cbbdd57b42e15d854e4c335f22833075d941', name: "option" }))))));
381
+ }, style: { '--max-height': this.maxHeight } }, h("slot", { key: '2d54c15bb8df7dfe33fac77cee7778c450946cf7', name: "option" }))))));
327
382
  }
328
383
  static get formAssociated() { return true; }
329
384
  get host() { return this; }
@@ -332,7 +387,7 @@ const CuraSelect = /*@__PURE__*/ proxyCustomElement(class CuraSelect extends HTM
332
387
  "textInput": ["filterOptions"],
333
388
  "value": ["handleValueChange"]
334
389
  }; }
335
- static get style() { return CuraSelectStyle0; }
390
+ static get style() { return curaSelectCss; }
336
391
  }, [65, "cura-select", {
337
392
  "label": [513],
338
393
  "placeholder": [513],
@@ -382,5 +437,6 @@ function defineCustomElement() {
382
437
  }
383
438
 
384
439
  export { CuraSelect as C, defineCustomElement as d };
440
+ //# sourceMappingURL=p-BTt-pVTn.js.map
385
441
 
386
- //# sourceMappingURL=cura-select2.js.map
442
+ //# sourceMappingURL=p-BTt-pVTn.js.map
@@ -0,0 +1 @@
1
+ {"file":"p-BTt-pVTn.js","mappings":";;;;AAAA,MAAM,aAAa,GAAG,ghVAAghV;;MCQzhV,UAAU,iBAAAA,kBAAA,CAAA,MAAA,UAAA,SAAAC,CAAA,CAAA;AANvB,IAAA,WAAA,GAAA;;;;;;;AAOE;;;AAGG;AACsB,QAAA,IAAK,CAAA,KAAA,GAAW,EAAE;AAE3C;;;AAGG;AACsB,QAAA,IAAW,CAAA,WAAA,GAAW,EAAE;AAEjD;;;AAGG;AACqC,QAAA,IAAK,CAAA,KAAA,GAAW,EAAE;AAE1D;;;AAGG;AACsB,QAAA,IAAI,CAAA,IAAA,GAA8B,SAAS;AAEpE;;;AAGG;AACsB,QAAA,IAAI,CAAA,IAAA,GAAiC,QAAQ;AAItE;;;AAGG;AACqC,QAAA,IAAM,CAAA,MAAA,GAAoC,SAAS;AAE3F;;;AAGG;AACsB,QAAA,IAAQ,CAAA,QAAA,GAAY,KAAK;AAElD;;;AAGG;AACsB,QAAA,IAAQ,CAAA,QAAA,GA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AG,MAAM,GAAG,SAAS,EAAA,EAClI,CAAA,CAAA,MAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAA,CAAa,CACF,EACZ,IAAI,CAAC,MAAM,KACV,CAAA,CAAA,KAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EACE,KAAK,EAAE;AACL,gBAAA,IAAI,EAAE,IAAI;gBACV,IAAI,EAAE,IAAI,CAAC,MAAM;AAClB,aAAA,EACD,KAAK,EAAE,EAAE,cAAc,EAAE,IAAI,CAAC,SAAS,EAAE,EAAA,EAEzC,CAAM,CAAA,MAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAA,IAAI,EAAC,QAAQ,EAAA,CAAQ,CACvB,CACP,CACG,CACD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","names":["__stencil_proxyCustomElement","HTMLElement"],"sources":["src/components/forms/cura-select/cura-select.scss?tag=cura-select&encapsulation=shadow","src/components/forms/cura-select/cura-select.tsx"],"sourcesContent":["@import '../../../scss/mixins/forms.scss';\n\n:host {\n display: block;\n position: relative;\n font-family: var(--font-family);\n}\n\n.wrapper {\n width: 100%;\n user-select: none;\n text-align: left !important;\n\n @include cura-label();\n @include helper-text();\n\n @include cura-input-field() {\n .up-down-icon {\n order: 3;\n padding-right: 6px;\n cursor: pointer;\n pointer-events: all;\n }\n\n .up-down-button {\n background-color: transparent;\n border: none;\n }\n\n input {\n padding: 0px 12px 0px 8px;\n cursor: pointer;\n }\n\n &.open {\n border-radius: 4px 4px 0 0 !important;\n }\n }\n\n @include cura-input-transparent();\n\n @include cura-forms-hover();\n @include cura-forms-focused();\n\n @include cura-forms-success();\n @include cura-forms-error();\n\n @include cura-forms-small() {\n &.label {\n .menu {\n top: 53px;\n }\n }\n .menu {\n top: 33px;\n }\n }\n\n @include cura-forms-medium() {\n &.label {\n .menu {\n top: 61px;\n }\n }\n .menu {\n top: 40px;\n }\n }\n\n @include cura-forms-large() {\n &.label {\n .menu {\n top: 69px;\n }\n }\n .menu {\n top: 47px;\n }\n }\n\n @include cura-forms-disabled();\n}\n\n.required {\n color: red;\n}\n\n.menu {\n position: absolute;\n left: 0;\n right: -1px;\n background: #fff;\n border: 2px solid var(--neutral-light);\n border-radius: 4px;\n z-index: 1000;\n max-height: var(--max-height);\n overflow: hidden;\n border-top: transparent;\n align-items: center;\n\n scrollbar-color: var(--neutral-medium) var(--neutral-black-20);\n overflow-y: auto;\n box-shadow: 0px 4px 8px 0px rgba(38, 38, 38, 0.16);\n\n &.open {\n border-radius: 0 !important;\n padding: 12px;\n }\n}\n","import { Component, Element, Host, Prop, State, h, Event, EventEmitter, AttachInternals, Watch } from '@stencil/core';\n\n@Component({\n tag: 'cura-select',\n styleUrl: 'cura-select.scss',\n shadow: true,\n formAssociated: true,\n})\nexport class CuraSelect {\n /**\n * The label text for the select component.\n * Reflects as an attribute in the DOM.\n */\n @Prop({ reflect: true }) label: string = '';\n\n /**\n * Placeholder text for the input field.\n * Reflects as an attribute in the DOM.\n */\n @Prop({ reflect: true }) placeholder: string = '';\n\n /**\n * Current value of the select component.\n * Reflects as an attribute in the DOM and is mutable.\n */\n @Prop({ reflect: true, mutable: true }) value: string = '';\n\n /**\n * Display mode of the select component.\n * Can be 'default' or 'transparent'.\n */\n @Prop({ reflect: true }) mode: 'default' | 'transparent' = 'default';\n\n /**\n * Size of the select component.\n * Can be 'small', 'medium', or 'large'.\n */\n @Prop({ reflect: true }) size: 'small' | 'medium' | 'large' = 'medium';\n\n @Prop() iconName?: string;\n\n /**\n * Status of the select component.\n * Can be 'success', 'error', or 'default'.\n */\n @Prop({ reflect: true, mutable: true }) status: 'success' | 'error' | 'default' = 'default';\n\n /**\n * Whether the select component is disabled.\n * Reflects as an attribute in the DOM.\n */\n @Prop({ reflect: true }) disabled: boolean = false;\n\n /**\n * Whether the select component is required.\n * Reflects as an attribute in the DOM.\n */\n @Prop({ reflect: true }) required: boolean = false;\n\n /**\n * Enable / Disable search at options by term.\n * Default: false\n */\n @Prop({ reflect: true }) searchBehavior: boolean = false;\n\n /**\n * The search will be sensitive to accents.\n * Default: true\n */\n @Prop({ reflect: true }) caseSensitive: boolean = true;\n\n /**\n * CSS max-height property for dropdown item.\n * Can also be used by css property --max-height.\n * Default: 285px\n */\n @Prop({ reflect: true }) maxHeight: string = '285px';\n\n /**\n * Internal state: Whether the input is hovered.\n * Default: false\n */\n @State() isHovered: boolean = false;\n\n /**\n * Internal state: Whether the input is focused.\n * Default: false\n */\n @State() isFocused: boolean = false;\n\n /**\n * Internal state: Whether the dropdown menu is open.\n * Default: false\n */\n @State() isOpen: boolean = false;\n\n /**\n * Internal state: Collection of options for the select component.\n */\n @State() options: NodeListOf<HTMLCuraSelectOptionElement>;\n\n @State() activeIndex = -1;\n\n @Watch('activeIndex')\n updateOptionHighlights(newActiveINdex: number) {\n this.options.forEach((option, index) => ((option as any).active = index === newActiveINdex));\n }\n\n @State() textInput = '';\n\n @Watch('textInput')\n /**\n * Filters the options based on the current input value.\n */\n filterOptions(newText) {\n this.searchTermInput.emit(newText);\n\n if (!this.isOpen || !this.searchBehavior) {\n return;\n }\n\n const removeAccents = (str: string) => {\n return str.normalize('NFD').replace(/[\\u0300-\\u036f]/g, '');\n };\n\n let searchTerm = newText;\n if (!this.caseSensitive) {\n searchTerm = removeAccents(searchTerm).toLocaleLowerCase();\n }\n\n this.options.forEach(option => {\n let optionValue = option.textContent || '';\n if (!this.caseSensitive) {\n optionValue = removeAccents(optionValue?.toLowerCase());\n }\n const isVisible = optionValue.includes(searchTerm);\n option.style.display = isVisible ? 'block' : 'none';\n });\n }\n\n /**\n * Reference to the host element of the component.\n */\n @Element() host: HTMLElement;\n\n /**\n * Event emitted when an option is selected.\n */\n @Event() selected: EventEmitter;\n\n /**\n * Event emitted when an option is searched.\n */\n @Event() searchTermInput: EventEmitter;\n\n /**\n * MutationObserver to watch changes in the component.\n */\n mutationObserver: MutationObserver;\n\n /**\n * Styles to be applied to the component.\n */\n styles = {};\n\n /**\n * Theme object containing font and color information.\n */\n theme = window.CuraAPI.theme;\n\n @AttachInternals() internals: ElementInternals;\n\n /**\n * Callback for form association.\n */\n formAssociatedCallback(form: { ariaLabel: string }) {\n form.ariaLabel = this.label;\n }\n\n /**\n * Callback to restore the switch state from the form.\n */\n formStateRestoreCallback(state: { value: string }) {\n this.textInput = state.value;\n this.updateSelectedOption();\n }\n\n /**\n * Callback to reset the switch state when the form is reset.\n */\n formResetCallback() {\n this.textInput = '';\n this.clearSelectedAttributes();\n this.internals.setFormValue('');\n this.internals.setValidity({});\n }\n\n /**\n * Callback to update the switch's disabled state when the form's disabled state changes.\n */\n formDisabledCallback(disabled: boolean) {\n this.disabled = disabled;\n }\n\n /**\n * Lifecycle method called before the component is rendered.\n * Initializes the options for the select component.\n */\n componentWillLoad() {\n this.initializeOptions();\n }\n /**\n * Lifecycle method called after the component is rendered.\n * Initializes select-related functionality.\n */\n componentDidLoad() {\n // this.initializeOptions();\n this.setupMutationObserver();\n this.addOutsideClickListener();\n }\n /**\n * Lifecycle method called when the component is connected to the DOM.\n * Applies styles based on the theme.\n */\n connectedCallback() {\n this.applyStyles();\n }\n /**\n * Lifecycle method called when the component is disconnected from the DOM.\n * Disconnects the MutationObserver if it exists.\n */\n disconnectedCallback() {\n this.mutationObserver?.disconnect();\n this.removeOutsideClickListener();\n }\n\n initializeOptions() {\n this.options = this.host.querySelectorAll<HTMLCuraSelectOptionElement>('cura-select-option');\n this.options.forEach(option => {\n option.setAttribute('size', this.size);\n\n const isSelected = this.value === option.value;\n option.setAttribute('selected', JSON.stringify(isSelected));\n\n if (isSelected) {\n this.value = option.value;\n this.internals.setFormValue(option.value);\n }\n });\n\n this.textInput = Array.from(this.options).find(option => option.value === this.value)?.textContent || this.textInput;\n }\n /**\n * Applies styles to the component based on the theme.\n */\n applyStyles() {\n const { fonts, colors } = this.theme;\n const fontWeights = fonts.getWeights();\n\n this.styles = {\n ...this.styles,\n '--font-weight-medium': fontWeights.medium,\n '--font-weight-bold': fontWeights.bold,\n '--font-weight-regular': fontWeights.regular,\n '--font-color': fonts.getColor(),\n '--font-family': fonts.getFamily(),\n '--font-size': fonts.getSize(),\n };\n\n const colorKeys = [\n 'primary-base',\n 'neutral-purewhite',\n 'neutral-white',\n 'neutral-black',\n 'neutral-medium',\n 'neutral-light',\n 'neutral-base',\n 'neutral-dark',\n 'success-dark',\n 'success-darker',\n 'success-lighter',\n 'error-lighter',\n 'error-dark',\n 'error-darker',\n 'error-base',\n 'info-base',\n ];\n\n colorKeys.forEach(key => {\n this.styles[`--${key}`] = colors.getColor(key);\n });\n }\n /**\n * Sets up a MutationObserver to watch for changes in the component.\n */\n setupMutationObserver() {\n this.mutationObserver = new MutationObserver(this.handleMutations);\n this.mutationObserver.observe(this.host, { attributes: true, subtree: true, attributeFilter: ['selected', 'value'] });\n }\n /**\n * Handles mutations observed by the MutationObserver.\n * Updates the selected option or filters options based on the mutation type.\n */\n handleMutations = (mutations: MutationRecord[]) => {\n mutations.forEach(mutation => {\n if (mutation.type === 'attributes') {\n if (mutation.attributeName === 'selected') this.updateSelectedOption();\n }\n });\n };\n /**\n * Handles the selection of an option.\n */\n onOptiselected = (event: Event) => {\n const selectedOption = event.target as HTMLElement;\n this.clearSelectedAttributes();\n selectedOption.setAttribute('selected', 'true');\n };\n\n @Watch('value')\n handleValueChange(newValue: string) {\n this.clearSelectedAttributes();\n\n const selectedOption = this.host.querySelector(`cura-select-option[value=\"${newValue}\"]`);\n\n if (!selectedOption) {\n return;\n }\n\n selectedOption.setAttribute('selected', 'true');\n }\n\n updateSelectedOption() {\n const selectedOptionElement = this.host.querySelector<HTMLCuraSelectOptionElement>('cura-select-option[selected]');\n\n if (!selectedOptionElement) {\n return;\n }\n\n this.value = selectedOptionElement.value;\n this.internals.setFormValue(this.value);\n\n if (this.textInput !== selectedOptionElement.textContent) {\n this.textInput = selectedOptionElement.textContent;\n this.isOpen = false;\n this.selected.emit(selectedOptionElement.value);\n }\n }\n\n /**\n * Clears the 'selected' attribute from all options.\n */\n clearSelectedAttributes() {\n this.options.forEach(option => option.removeAttribute('selected'));\n }\n\n handleKeyNavigation = (event: KeyboardEvent) => {\n const { code: keyCode } = event;\n\n if (!this.isOpen && keyCode === 'ArrowDown') {\n this.isOpen = true;\n this.activeIndex = 0;\n\n return;\n }\n\n if (keyCode === 'ArrowDown') {\n event.preventDefault();\n this.updateActiveIndex(1);\n }\n\n if (keyCode === 'ArrowUp') {\n event.preventDefault();\n this.updateActiveIndex(-1);\n }\n\n if (keyCode === 'Enter' || keyCode === 'Space') {\n this.options[this.activeIndex]?.click();\n }\n\n if (keyCode === 'Escape') {\n this.isOpen = false;\n }\n };\n\n updateActiveIndex(direction: number) {\n if (this.options.length === 0) return;\n this.activeIndex = (this.activeIndex + direction + this.options.length) % this.options.length;\n }\n\n handleInputChange = (e: Event) => {\n this.textInput = (e.target as HTMLInputElement).value;\n this.isOpen = this.textInput.length > 0;\n this.internals.setFormValue(this.textInput);\n };\n\n getClasses() {\n return {\n wrapper: true,\n label: !!this.label,\n disabled: this.disabled,\n transparent: this.mode === 'transparent',\n [this.size.toLowerCase()]: true,\n [this.status.toLowerCase()]: true,\n };\n }\n\n /**\n * Determines the color based on the item type and component state.\n */\n getColor(item: 'label' | 'text' | 'icon') {\n if (this.disabled) return 'neutral-medium';\n\n const isStatusDefault = this.status === 'default';\n const isHoveredOrFocused = this.isFocused || this.isHovered;\n\n if (item === 'label') {\n if (!isStatusDefault || isHoveredOrFocused) return 'neutral-black';\n return 'neutral-dark';\n }\n\n if (isHoveredOrFocused && isStatusDefault) return 'neutral-black';\n if (this.status === 'success') return 'success-dark';\n if (this.status === 'error') return 'error-dark';\n\n return 'neutral-dark';\n }\n\n /**\n * Renders the icon based on the component's status.\n */\n renderIcon() {\n if (this.status === 'default' && !this.iconName) return null;\n const icon = { default: this.iconName, success: 'checkCircle', error: 'alertCircle' }[this.status];\n return <cura-icon class=\"feedback-icon\" name={icon} iconset=\"default\" size={this.size === 'large' ? 20 : 16} color={this.getColor('icon')} style={this.styles} />;\n }\n\n handleClick = (event: MouseEvent) => {\n if (this.disabled) return event.preventDefault();\n const target = event.target as HTMLElement;\n\n if (target.tagName === 'CURA-SELECT-OPTION') return this.onOptiselected(event);\n this.isOpen = !this.isOpen;\n };\n\n handleClickOutside = (event: MouseEvent) => {\n const clickedOutside = !this.host.contains(event.target as Node);\n if (clickedOutside) {\n this.isOpen = false;\n }\n };\n\n private addOutsideClickListener() {\n document.addEventListener('click', this.handleClickOutside);\n }\n\n private removeOutsideClickListener() {\n document.removeEventListener('click', this.handleClickOutside);\n }\n\n render() {\n return (\n <Host style={this.styles}\n role=\"combobox\"\n aria-label={this.label}\n aria-required={String(this.required)}\n aria-disabled={String(this.disabled)}\n aria-invalid={String(this.status === 'error')}>\n <div class={this.getClasses()} onMouseEnter={() => (this.isHovered = true)} onMouseLeave={() => (this.isHovered = false)} onClick={this.handleClick}>\n {this.label && (\n <cura-label class=\"label\" weight=\"bold\" size={this.size === 'large' ? 'small' : 'xsmall'} color={this.getColor('label')}>\n {this.label} {this.required && <span class=\"required\">* </span>}\n </cura-label>\n )}\n\n <div\n class={{\n 'cura-input-field': true,\n 'open': this.isOpen,\n }}\n >\n {this.renderIcon()}\n <input\n type=\"text\"\n autocomplete=\"off\"\n onFocus={() => (this.isFocused = true)}\n onBlur={() => (this.isFocused = false)}\n onKeyDown={this.handleKeyNavigation}\n aria-required={String(this.required)}\n aria-disabled={String(this.disabled)}\n aria-invalid={String(this.status === 'error')}\n onInput={this.handleInputChange}\n style={this.styles}\n placeholder={this.placeholder}\n disabled={this.disabled}\n required={this.required}\n value={this.textInput}\n readonly={this.searchBehavior ? null : true}\n />\n <button class=\"up-down-button\">\n <cura-icon name={this.isOpen ? 'up' : 'down'} class=\"up-down-icon\" color={this.disabled ? 'neutral-dark' : 'primary-base'} size={16} iconset=\"default\" />\n </button>\n </div>\n <cura-label class=\"helper-text\" size=\"xsmall\" color={this.getColor('text')} weight={this.mode === 'transparent' ? 'bold' : 'regular'}>\n <slot></slot>\n </cura-label>\n {this.isOpen && (\n <div\n class={{\n menu: true,\n open: this.isOpen,\n }}\n style={{ '--max-height': this.maxHeight }}\n >\n <slot name=\"option\"></slot>\n </div>\n )}\n </div>\n </Host>\n );\n }\n}\n"],"version":3}
@@ -1,22 +1,30 @@
1
- import { proxyCustomElement, HTMLElement, h, Host } from '@stencil/core/internal/client';
2
- import { d as defineCustomElement$1 } from './cura-label2.js';
1
+ import { p as proxyCustomElement, H, h, d as Host } from './p-D1cPOZpG.js';
2
+ import { d as defineCustomElement$1 } from './p-DR1RHrEX.js';
3
3
 
4
4
  const curaBadgeCounterCss = ":host{width:fit-content;display:inline-block;height:calc(var(--cura-spacing-base) * 4px);position:relative}:host .container{display:flex;min-width:calc(var(--cura-spacing-base) * 4px);width:fit-content;height:calc(var(--cura-spacing-base) * 4px);justify-content:center;align-items:center;border-radius:calc(calc(var(--cura-spacing-base) * 4px) / 2);background:var(--background-color);box-sizing:border-box;padding:0 calc(var(--cura-spacing-base) * 1px);position:relative}:host .container.outline,:host .container.transparent{background:transparent !important}:host .container.outline::before{content:\"\";width:100%;height:100%;position:absolute;left:0px;top:0px;box-sizing:border-box;border:1px solid var(--background-color);border-radius:calc(calc(var(--cura-spacing-base) * 4px) / 2)}";
5
- const CuraBadgeCounterStyle0 = curaBadgeCounterCss;
6
5
 
7
- const CuraBadgeNumber = /*@__PURE__*/ proxyCustomElement(class CuraBadgeNumber extends HTMLElement {
6
+ const CuraBadgeNumber = /*@__PURE__*/ proxyCustomElement(class CuraBadgeNumber extends H {
8
7
  constructor() {
9
8
  super();
10
9
  this.__registerHost();
11
10
  this.__attachShadow();
12
11
  this.theme = window.CuraAPI.theme;
13
- this.labelColor = 'primary-darker';
14
- this.bgColorName = 'primary-lighter';
15
- this.number = undefined;
12
+ /**
13
+ * Cor fundamental do design system sem profundidade.
14
+ * Ex.: primary (padrão)
15
+ */
16
16
  this.color = 'primary';
17
+ /**
18
+ * Define o estado do badge como desabilitado ou habilitado.
19
+ */
17
20
  this.disabled = false;
21
+ /**
22
+ * Define o estilo visual entre solid (default), outline ou transparent.
23
+ */
18
24
  this.type = 'solid';
19
25
  this.styles = {};
26
+ this.labelColor = 'primary-darker';
27
+ this.bgColorName = 'primary-lighter';
20
28
  }
21
29
  handleColorChange() {
22
30
  this.setColors();
@@ -54,7 +62,7 @@ const CuraBadgeNumber = /*@__PURE__*/ proxyCustomElement(class CuraBadgeNumber e
54
62
  "color": ["handleColorChange"],
55
63
  "type": ["handleColorChange"]
56
64
  }; }
57
- static get style() { return CuraBadgeCounterStyle0; }
65
+ static get style() { return curaBadgeCounterCss; }
58
66
  }, [1, "cura-badge-counter", {
59
67
  "number": [514],
60
68
  "color": [1],
@@ -86,5 +94,6 @@ function defineCustomElement() {
86
94
  }
87
95
 
88
96
  export { CuraBadgeNumber as C, defineCustomElement as d };
97
+ //# sourceMappingURL=p-C72aF-gL.js.map
89
98
 
90
- //# sourceMappingURL=cura-badge-counter2.js.map
99
+ //# sourceMappingURL=p-C72aF-gL.js.map
@@ -0,0 +1 @@
1
+ {"file":"p-C72aF-gL.js","mappings":";;;AAAA,MAAM,mBAAmB,GAAG,qxBAAqxB;;MCOpyB,eAAe,iBAAAA,kBAAA,CAAA,MAAA,eAAA,SAAAC,CAAA,CAAA;AAL5B,IAAA,WAAA,GAAA;;;;QAOE,IAAA,CAAA,KAAK,GAAG,MAAM,CAAC,OAAO,CAAC,KAAK;AAM5B;;;AAGG;AACK,QAAA,IAAK,CAAA,KAAA,GAAW,SAAS;AACjC;;AAEG;AACK,QAAA,IAAQ,CAAA,QAAA,GAAY,KAAK;AACjC;;AAEG;AACK,QAAA,IAAI,CAAA,IAAA,GAAiD,OAAO;AAE3D,QAAA,IAAM,CAAA,MAAA,GAAG,EAAE;AACpB,QAAA,IAAU,CAAA,UAAA,GAAG,gBAAgB;AAC7B,QAAA,IAAW,CAAA,WAAA,GAAG,iBAAiB;AAqDhC;IAhDC,iBAAiB,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EAAA,EAAA,GAAA,EAAA,0CAAA,EAAA,EACD,IAAI,CAAC,MAAM,IAAI,IAAI,CAAC,MAAM,IAAI,CAAC,GAAG,EAAE,IACtC,CAAA,CAAA,KAAA,EAAA,EAAK,KAAK,EAAE,IAAI,CAAC,UAAU,EAAE,EAAE,KAAK,EAAE,IAAI,CAAC,MAAM,EAAA,EAC/C,CAAA,CAAA,YAAA,EAAA,EAAY,IAAI,EAAC,QAAQ,EAAA,aAAA,EAAa,MAAM,EAAC,KAAK,EAAE,IAAI,CAAC,UAAU,EAChE,EAAA,IAAI,CAAC,MAAM,IAAI,GAAG,GAAG,KAAK,GAAG,IAAI,CAAC,MAAM,CAC9B,CACT,CACL,CACI;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","names":["__stencil_proxyCustomElement","HTMLElement"],"sources":["src/components/badges/cura-badge-counter/cura-badge-counter.scss?tag=cura-badge-counter&encapsulation=shadow","src/components/badges/cura-badge-counter/cura-badge-counter.tsx"],"sourcesContent":["@import '../../../scss/mixins/spacing.scss';\n\n:host {\n width: fit-content;\n display: inline-block;\n height: #{$spacing-xxs};\n position: relative;\n\n .container {\n display: flex;\n min-width: #{$spacing-xxs};\n width: fit-content;\n height: #{$spacing-xxs};\n justify-content: center;\n align-items: center;\n border-radius: calc(#{$spacing-xxs} / 2);\n background: var(--background-color);\n box-sizing: border-box;\n padding: 0 #{$spacing-tiny};\n position: relative;\n\n &.outline,\n &.transparent {\n background: transparent !important;\n }\n\n &.outline {\n &::before {\n content: \"\";\n width: 100%;\n height: 100%;\n position: absolute;\n left: 0px;\n top: 0px;\n box-sizing: border-box;\n border: 1px solid var(--background-color);\n border-radius: calc(#{$spacing-xxs} / 2);\n }\n }\n }\n\n}\n","import { Component, Host, Prop, h, State, Watch } from '@stencil/core';\n\n@Component({\n tag: 'cura-badge-counter',\n styleUrl: 'cura-badge-counter.scss',\n shadow: true,\n})\nexport class CuraBadgeNumber {\n\n theme = window.CuraAPI.theme;\n\n /** Número a ser representado no badge.\n * Apresentará 99+ para números acima desse valor.\n */\n @Prop({ reflect: true }) number: number | null;\n /**\n * Cor fundamental do design system sem profundidade.\n * Ex.: primary (padrão)\n */\n @Prop() color: string = 'primary';\n /**\n * Define o estado do badge como desabilitado ou habilitado.\n */\n @Prop() disabled: boolean = false;\n /**\n * Define o estilo visual entre solid (default), outline ou transparent.\n */\n @Prop() type: 'solid' | 'outline' | 'transparent' | string = 'solid';\n\n @State() styles = {};\n labelColor = 'primary-darker';\n bgColorName = 'primary-lighter';\n\n @Watch(\"disabled\")\n @Watch(\"color\")\n @Watch(\"type\")\n handleColorChange() {\n this.setColors();\n }\n\n setColors() {\n const color = this.color.toLowerCase();\n /** type outline and transparent */\n if (this.type === 'outline' || this.type === 'transparent') {\n this.bgColorName = this.disabled ? `neutral-medium` : `${color}-dark`;\n this.labelColor = this.bgColorName;\n /** type solid - default */\n } else {\n this.bgColorName = color === 'neutral' || this.disabled ? `neutral-pale` : `${color}-lighter`;\n this.labelColor = this.disabled ? 'neutral-medium' : `${color}-dark`;\n }\n this.styles = {\n ...this.styles,\n '--background-color': this.theme.colors.getColor(`${this.bgColorName}`),\n }\n }\n\n connectedCallback() {\n this.styles['--base-spacing'] = this.theme.spacing.getSpacing();\n this.setColors();\n }\n\n getClasses() {\n const classes = {\n 'container': true\n };\n classes[this.type.toLowerCase()] = true;\n return classes;\n }\n\n\n render() {\n return (\n <Host>\n { this.number && this.number <= 0 ? '' : (\n <div class={this.getClasses()} style={this.styles}>\n <cura-label size=\"xsmall\" line-height=\"none\" color={this.labelColor}>\n {this.number >= 100 ? '99+' : this.number}\n </cura-label>\n </div>\n )}\n </Host>\n );\n }\n}\n"],"version":3}
@@ -6,5 +6,6 @@ const labelSizes = {
6
6
  };
7
7
 
8
8
  export { labelSizes as l };
9
+ //# sourceMappingURL=p-CHcd-uKK.js.map
9
10
 
10
- //# sourceMappingURL=cura-tabs.definitions.js.map
11
+ //# sourceMappingURL=p-CHcd-uKK.js.map
@@ -0,0 +1 @@
1
+ {"file":"p-CHcd-uKK.js","mappings":"AAAa,MAAA,UAAU,GAAG;AACxB,IAAA,KAAK,EAAE,QAAQ;AACf,IAAA,MAAM,EAAE,OAAO;AACf,IAAA,KAAK,EAAE,QAAQ;AACf,IAAA,OAAO,EAAE,QAAQ;;;;;","names":[],"sources":["src/components/tabs/cura-tabs.definitions.tsx"],"sourcesContent":["export const labelSizes = {\n small: 'xsmall',\n medium: 'small',\n large: 'medium',\n default: 'medium',\n};\n"],"version":3}