@rededor/cura 1.7.0 → 1.8.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (569) hide show
  1. package/dist/assets/assets/icons/iconset-default-list.ts +1 -1
  2. package/dist/assets/assets/icons/iconset-default-tmp.svg +26 -0
  3. package/dist/assets/assets/icons/iconset-default.svg +1 -1
  4. package/dist/cjs/cura-accordion_20.cjs.entry.js +485 -138
  5. package/dist/cjs/cura-accordion_20.cjs.entry.js.map +1 -1
  6. package/dist/cjs/cura-alert.cjs.entry.js +9 -12
  7. package/dist/cjs/cura-alert.cjs.entry.js.map +1 -1
  8. package/dist/cjs/cura-alert.entry.cjs.js.map +1 -0
  9. package/dist/cjs/cura-badge-counter.cjs.entry.js +16 -8
  10. package/dist/cjs/cura-badge-counter.cjs.entry.js.map +1 -1
  11. package/dist/cjs/cura-badge-counter.entry.cjs.js.map +1 -0
  12. package/dist/cjs/cura-badge-dot.cjs.entry.js +14 -5
  13. package/dist/cjs/cura-badge-dot.cjs.entry.js.map +1 -1
  14. package/dist/cjs/cura-badge-dot.entry.cjs.js.map +1 -0
  15. package/dist/cjs/cura-badge-pill.cjs.entry.js +23 -7
  16. package/dist/cjs/cura-badge-pill.cjs.entry.js.map +1 -1
  17. package/dist/cjs/cura-badge-pill.entry.cjs.js.map +1 -0
  18. package/dist/cjs/cura-button-outline.cjs.entry.js +46 -8
  19. package/dist/cjs/cura-button-outline.cjs.entry.js.map +1 -1
  20. package/dist/cjs/cura-button-outline.entry.cjs.js.map +1 -0
  21. package/dist/cjs/cura-button-select.cjs.entry.js +7 -12
  22. package/dist/cjs/cura-button-select.cjs.entry.js.map +1 -1
  23. package/dist/cjs/cura-button-select.entry.cjs.js.map +1 -0
  24. package/dist/cjs/{cura-button.definitions-f036371c.js → cura-button.definitions-B3SK8MaV.js} +2 -1
  25. package/dist/cjs/cura-button.definitions-B3SK8MaV.js.map +1 -0
  26. package/dist/cjs/cura-calendar.cjs.entry.js +203 -94
  27. package/dist/cjs/cura-calendar.cjs.entry.js.map +1 -1
  28. package/dist/cjs/cura-calendar.entry.cjs.js.map +1 -0
  29. package/dist/cjs/cura-card.cjs.entry.js +34 -6
  30. package/dist/cjs/cura-card.cjs.entry.js.map +1 -1
  31. package/dist/cjs/cura-card.entry.cjs.js.map +1 -0
  32. package/dist/cjs/cura-checkbox.cjs.entry.js +72 -20
  33. package/dist/cjs/cura-checkbox.cjs.entry.js.map +1 -1
  34. package/dist/cjs/cura-checkbox.entry.cjs.js.map +1 -0
  35. package/dist/cjs/cura-display.cjs.entry.js +25 -7
  36. package/dist/cjs/cura-display.cjs.entry.js.map +1 -1
  37. package/dist/cjs/cura-display.entry.cjs.js.map +1 -0
  38. package/dist/cjs/cura-dropdown-search-not-found.cjs.entry.js +5 -6
  39. package/dist/cjs/cura-dropdown-search-not-found.cjs.entry.js.map +1 -1
  40. package/dist/cjs/cura-dropdown-search-not-found.entry.cjs.js.map +1 -0
  41. package/dist/cjs/{cura-forms.definitions-c164f1b8.js → cura-forms.definitions-DVLuO67c.js} +2 -1
  42. package/dist/cjs/cura-forms.definitions-DVLuO67c.js.map +1 -0
  43. package/dist/cjs/{cura-icon.definitions-5223028b.js → cura-icon.definitions-DT0wF67y.js} +2 -1
  44. package/dist/cjs/cura-icon.definitions-DT0wF67y.js.map +1 -0
  45. package/dist/cjs/cura-icons-view.cjs.entry.js +7 -8
  46. package/dist/cjs/cura-icons-view.cjs.entry.js.map +1 -1
  47. package/dist/cjs/cura-icons-view.entry.cjs.js.map +1 -0
  48. package/dist/cjs/cura-input-date.cjs.entry.js +32 -15
  49. package/dist/cjs/cura-input-date.cjs.entry.js.map +1 -1
  50. package/dist/cjs/cura-input-date.entry.cjs.js.map +1 -0
  51. package/dist/cjs/cura-loader-bar.cjs.entry.js +4 -5
  52. package/dist/cjs/cura-loader-bar.cjs.entry.js.map +1 -1
  53. package/dist/cjs/cura-loader-bar.entry.cjs.js.map +1 -0
  54. package/dist/cjs/cura-modal.cjs.entry.js +46 -15
  55. package/dist/cjs/cura-modal.cjs.entry.js.map +1 -1
  56. package/dist/cjs/cura-modal.entry.cjs.js.map +1 -0
  57. package/dist/cjs/cura-progress-bar.cura-stepper-item.entry.cjs.js.map +1 -0
  58. package/dist/cjs/cura-progress-bar_2.cjs.entry.js +25 -15
  59. package/dist/cjs/cura-progress-bar_2.cjs.entry.js.map +1 -1
  60. package/dist/cjs/cura-radio.cjs.entry.js +73 -21
  61. package/dist/cjs/cura-radio.cjs.entry.js.map +1 -1
  62. package/dist/cjs/cura-radio.entry.cjs.js.map +1 -0
  63. package/dist/cjs/cura-stepper.cjs.entry.js +23 -6
  64. package/dist/cjs/cura-stepper.cjs.entry.js.map +1 -1
  65. package/dist/cjs/cura-stepper.entry.cjs.js.map +1 -0
  66. package/dist/cjs/cura-switch.cjs.entry.js +61 -18
  67. package/dist/cjs/cura-switch.cjs.entry.js.map +1 -1
  68. package/dist/cjs/cura-switch.entry.cjs.js.map +1 -0
  69. package/dist/cjs/cura-tabs-button.cjs.entry.js +6 -9
  70. package/dist/cjs/cura-tabs-button.cjs.entry.js.map +1 -1
  71. package/dist/cjs/cura-tabs-button.entry.cjs.js.map +1 -0
  72. package/dist/cjs/cura-tabs-transparent.cjs.entry.js +6 -9
  73. package/dist/cjs/cura-tabs-transparent.cjs.entry.js.map +1 -1
  74. package/dist/cjs/cura-tabs-transparent.entry.cjs.js.map +1 -0
  75. package/dist/cjs/{cura-tabs.definitions-b8955ad4.js → cura-tabs.definitions-CGqqGE2e.js} +2 -1
  76. package/dist/cjs/cura-tabs.definitions-CGqqGE2e.js.map +1 -0
  77. package/dist/cjs/{cura-theme-module-09bb63a4.js → cura-theme-module-CJkmAxBA.js} +94 -9
  78. package/dist/cjs/cura-theme-module-CJkmAxBA.js.map +1 -0
  79. package/dist/cjs/cura-toast.cjs.entry.js +8 -11
  80. package/dist/cjs/cura-toast.cjs.entry.js.map +1 -1
  81. package/dist/cjs/cura-toast.entry.cjs.js.map +1 -0
  82. package/dist/cjs/cura-tooltip.cjs.entry.js +9 -11
  83. package/dist/cjs/cura-tooltip.cjs.entry.js.map +1 -1
  84. package/dist/cjs/cura-tooltip.entry.cjs.js.map +1 -0
  85. package/dist/cjs/cura.cjs.js +9 -10
  86. package/dist/cjs/cura.cjs.js.map +1 -1
  87. package/dist/cjs/{index-60783089.js → index-BK9MSAiE.js} +947 -289
  88. package/dist/cjs/index-BK9MSAiE.js.map +1 -0
  89. package/dist/cjs/{index-6dc29195.js → index-EyP6Zlkd.js} +2 -1
  90. package/dist/cjs/index-EyP6Zlkd.js.map +1 -0
  91. package/dist/cjs/index.cjs.js +2 -4
  92. package/dist/cjs/index.cjs.js.map +1 -1
  93. package/dist/cjs/loader.cjs.js +5 -8
  94. package/dist/cjs/loader.cjs.js.map +1 -1
  95. package/dist/collection/assets/icons/iconset-default-list.js +1 -1
  96. package/dist/collection/assets/icons/iconset-default-list.js.map +1 -1
  97. package/dist/collection/assets/icons/iconset-default-tmp.svg +26 -0
  98. package/dist/collection/assets/icons/iconset-default.svg +1 -1
  99. package/dist/collection/assets-raw/icons/default/bike.svg +3 -0
  100. package/dist/collection/assets-raw/icons/default/cart.svg +3 -0
  101. package/dist/collection/assets-raw/icons/default/coffee.svg +3 -0
  102. package/dist/collection/assets-raw/icons/default/id.svg +3 -0
  103. package/dist/collection/assets-raw/icons/default/image.svg +5 -0
  104. package/dist/collection/assets-raw/icons/default/store.svg +3 -0
  105. package/dist/collection/collection-manifest.json +1 -1
  106. package/dist/collection/components/accordion/cura-accordion/cura-accordion.js +57 -18
  107. package/dist/collection/components/accordion/cura-accordion/cura-accordion.js.map +1 -1
  108. package/dist/collection/components/accordion/cura-accordion-item/cura-accordion-item.js +45 -9
  109. package/dist/collection/components/accordion/cura-accordion-item/cura-accordion-item.js.map +1 -1
  110. package/dist/collection/components/badges/cura-badge-counter/cura-badge-counter.js +24 -7
  111. package/dist/collection/components/badges/cura-badge-counter/cura-badge-counter.js.map +1 -1
  112. package/dist/collection/components/badges/cura-badge-distance/cura-badge-distance.js +8 -4
  113. package/dist/collection/components/badges/cura-badge-distance/cura-badge-distance.js.map +1 -1
  114. package/dist/collection/components/badges/cura-badge-dot/cura-badge-dot.js +19 -3
  115. package/dist/collection/components/badges/cura-badge-dot/cura-badge-dot.js.map +1 -1
  116. package/dist/collection/components/badges/cura-badge-pill/cura-badge-pill.js +40 -9
  117. package/dist/collection/components/badges/cura-badge-pill/cura-badge-pill.js.map +1 -1
  118. package/dist/collection/components/buttons/cura-button/cura-button.js +86 -17
  119. package/dist/collection/components/buttons/cura-button/cura-button.js.map +1 -1
  120. package/dist/collection/components/buttons/cura-button-outline/cura-button-outline.js +86 -17
  121. package/dist/collection/components/buttons/cura-button-outline/cura-button-outline.js.map +1 -1
  122. package/dist/collection/components/buttons/cura-button-select/cura-button-select.js +25 -13
  123. package/dist/collection/components/buttons/cura-button-select/cura-button-select.js.map +1 -1
  124. package/dist/collection/components/buttons/cura-button-transparent/cura-button-transparent.js +81 -16
  125. package/dist/collection/components/buttons/cura-button-transparent/cura-button-transparent.js.map +1 -1
  126. package/dist/collection/components/cura-alert/cura-alert.js +19 -11
  127. package/dist/collection/components/cura-alert/cura-alert.js.map +1 -1
  128. package/dist/collection/components/cura-avatar/cura-avatar.js +48 -13
  129. package/dist/collection/components/cura-avatar/cura-avatar.js.map +1 -1
  130. package/dist/collection/components/cura-calendar/cura-calendar.js +196 -24
  131. package/dist/collection/components/cura-calendar/cura-calendar.js.map +1 -1
  132. package/dist/collection/components/cura-card/cura-card.js +48 -7
  133. package/dist/collection/components/cura-card/cura-card.js.map +1 -1
  134. package/dist/collection/components/cura-dropdown-search/cura-dropdown-search-option/cura-dropdown-search-option.js +31 -9
  135. package/dist/collection/components/cura-dropdown-search/cura-dropdown-search-option/cura-dropdown-search-option.js.map +1 -1
  136. package/dist/collection/components/cura-dropdown-search/cura-dropdown-search.js +91 -28
  137. package/dist/collection/components/cura-dropdown-search/cura-dropdown-search.js.map +1 -1
  138. package/dist/collection/components/cura-icon/cura-icon.js +15 -6
  139. package/dist/collection/components/cura-icon/cura-icon.js.map +1 -1
  140. package/dist/collection/components/cura-icons-view/cura-icons-view.js +1 -1
  141. package/dist/collection/components/cura-icons-view/cura-icons-view.js.map +1 -1
  142. package/dist/collection/components/cura-modal/cura-modal.css +0 -1
  143. package/dist/collection/components/cura-modal/cura-modal.js +65 -17
  144. package/dist/collection/components/cura-modal/cura-modal.js.map +1 -1
  145. package/dist/collection/components/cura-page-template/cura-page-template.js +3 -1
  146. package/dist/collection/components/cura-page-template/cura-page-template.js.map +1 -1
  147. package/dist/collection/components/cura-stepper/cura-progress-bar/cura-progress-bar.js +21 -8
  148. package/dist/collection/components/cura-stepper/cura-progress-bar/cura-progress-bar.js.map +1 -1
  149. package/dist/collection/components/cura-stepper/cura-stepper-item/cura-stepper-item.js +26 -9
  150. package/dist/collection/components/cura-stepper/cura-stepper-item/cura-stepper-item.js.map +1 -1
  151. package/dist/collection/components/cura-stepper/cura-stepper.js +34 -6
  152. package/dist/collection/components/cura-stepper/cura-stepper.js.map +1 -1
  153. package/dist/collection/components/cura-toast/cura-toast.js +24 -12
  154. package/dist/collection/components/cura-toast/cura-toast.js.map +1 -1
  155. package/dist/collection/components/cura-tooltip/cura-tooltip.js +25 -12
  156. package/dist/collection/components/cura-tooltip/cura-tooltip.js.map +1 -1
  157. package/dist/collection/components/forms/cura-checkbox/cura-checkbox.js +114 -29
  158. package/dist/collection/components/forms/cura-checkbox/cura-checkbox.js.map +1 -1
  159. package/dist/collection/components/forms/cura-input-date/cura-input-date.css +1 -1
  160. package/dist/collection/components/forms/cura-input-date/cura-input-date.js +74 -16
  161. package/dist/collection/components/forms/cura-input-date/cura-input-date.js.map +1 -1
  162. package/dist/collection/components/forms/cura-input-date/cura-input-date.stories.js +13 -0
  163. package/dist/collection/components/forms/cura-input-date/cura-input-date.stories.js.map +1 -1
  164. package/dist/collection/components/forms/cura-input-text/cura-input-text.js +132 -28
  165. package/dist/collection/components/forms/cura-input-text/cura-input-text.js.map +1 -1
  166. package/dist/collection/components/forms/cura-label/cura-label.js +46 -9
  167. package/dist/collection/components/forms/cura-label/cura-label.js.map +1 -1
  168. package/dist/collection/components/forms/cura-radio/cura-radio.js +109 -28
  169. package/dist/collection/components/forms/cura-radio/cura-radio.js.map +1 -1
  170. package/dist/collection/components/forms/cura-select/cura-select.js +114 -34
  171. package/dist/collection/components/forms/cura-select/cura-select.js.map +1 -1
  172. package/dist/collection/components/forms/cura-select-options/cura-select-option.js +13 -6
  173. package/dist/collection/components/forms/cura-select-options/cura-select-option.js.map +1 -1
  174. package/dist/collection/components/forms/cura-switch/cura-switch.js +85 -21
  175. package/dist/collection/components/forms/cura-switch/cura-switch.js.map +1 -1
  176. package/dist/collection/components/loaders/cura-loader-bar/cura-loader-bar.js +6 -2
  177. package/dist/collection/components/loaders/cura-loader-bar/cura-loader-bar.js.map +1 -1
  178. package/dist/collection/components/loaders/cura-loader-circle/cura-loader-circle.js +14 -4
  179. package/dist/collection/components/loaders/cura-loader-circle/cura-loader-circle.js.map +1 -1
  180. package/dist/collection/components/tabs/cura-tabs/cura-tabs.js +21 -9
  181. package/dist/collection/components/tabs/cura-tabs/cura-tabs.js.map +1 -1
  182. package/dist/collection/components/tabs/cura-tabs-button/cura-tabs-button.js +21 -9
  183. package/dist/collection/components/tabs/cura-tabs-button/cura-tabs-button.js.map +1 -1
  184. package/dist/collection/components/tabs/cura-tabs-group/cura-tabs-group.js +9 -3
  185. package/dist/collection/components/tabs/cura-tabs-group/cura-tabs-group.js.map +1 -1
  186. package/dist/collection/components/tabs/cura-tabs-transparent/cura-tabs-transparent.js +21 -9
  187. package/dist/collection/components/tabs/cura-tabs-transparent/cura-tabs-transparent.js.map +1 -1
  188. package/dist/collection/components/text/cura-display/cura-display.js +39 -8
  189. package/dist/collection/components/text/cura-display/cura-display.js.map +1 -1
  190. package/dist/collection/components/text/cura-heading/cura-heading.js +53 -10
  191. package/dist/collection/components/text/cura-heading/cura-heading.js.map +1 -1
  192. package/dist/collection/components/text/cura-paragraph/cura-paragraph.js +39 -8
  193. package/dist/collection/components/text/cura-paragraph/cura-paragraph.js.map +1 -1
  194. package/dist/components/cura-accordion-item.js +24 -6
  195. package/dist/components/cura-accordion-item.js.map +1 -1
  196. package/dist/components/cura-accordion.js +34 -13
  197. package/dist/components/cura-accordion.js.map +1 -1
  198. package/dist/components/cura-alert.js +12 -14
  199. package/dist/components/cura-alert.js.map +1 -1
  200. package/dist/components/cura-avatar.js +25 -8
  201. package/dist/components/cura-avatar.js.map +1 -1
  202. package/dist/components/cura-badge-counter.js +2 -1
  203. package/dist/components/cura-badge-distance.js +7 -7
  204. package/dist/components/cura-badge-distance.js.map +1 -1
  205. package/dist/components/cura-badge-dot.js +14 -4
  206. package/dist/components/cura-badge-dot.js.map +1 -1
  207. package/dist/components/cura-badge-pill.js +2 -1
  208. package/dist/components/cura-button-outline.js +49 -10
  209. package/dist/components/cura-button-outline.js.map +1 -1
  210. package/dist/components/cura-button-select.js +10 -14
  211. package/dist/components/cura-button-select.js.map +1 -1
  212. package/dist/components/cura-button-transparent.js +2 -1
  213. package/dist/components/cura-button.js +49 -10
  214. package/dist/components/cura-button.js.map +1 -1
  215. package/dist/components/cura-calendar.js +2 -1
  216. package/dist/components/cura-card.js +34 -5
  217. package/dist/components/cura-card.js.map +1 -1
  218. package/dist/components/cura-checkbox.js +75 -22
  219. package/dist/components/cura-checkbox.js.map +1 -1
  220. package/dist/components/cura-display.js +25 -6
  221. package/dist/components/cura-display.js.map +1 -1
  222. package/dist/components/cura-dropdown-search-category.js +5 -5
  223. package/dist/components/cura-dropdown-search-category.js.map +1 -1
  224. package/dist/components/cura-dropdown-search-not-found.js +6 -6
  225. package/dist/components/cura-dropdown-search-not-found.js.map +1 -1
  226. package/dist/components/cura-dropdown-search-option.js +22 -10
  227. package/dist/components/cura-dropdown-search-option.js.map +1 -1
  228. package/dist/components/cura-dropdown-search.js +66 -27
  229. package/dist/components/cura-dropdown-search.js.map +1 -1
  230. package/dist/components/cura-heading.js +2 -1
  231. package/dist/components/cura-icon.js +2 -1
  232. package/dist/components/cura-icons-view.js +9 -9
  233. package/dist/components/cura-icons-view.js.map +1 -1
  234. package/dist/components/cura-input-date.js +40 -21
  235. package/dist/components/cura-input-date.js.map +1 -1
  236. package/dist/components/cura-input-text.js +2 -1
  237. package/dist/components/cura-label.js +2 -1
  238. package/dist/components/cura-loader-bar.js +2 -1
  239. package/dist/components/cura-loader-circle.js +2 -1
  240. package/dist/components/cura-modal.js +50 -18
  241. package/dist/components/cura-modal.js.map +1 -1
  242. package/dist/components/cura-page-template.js +4 -4
  243. package/dist/components/cura-page-template.js.map +1 -1
  244. package/dist/components/cura-paragraph.js +2 -1
  245. package/dist/components/cura-progress-bar.js +2 -1
  246. package/dist/components/cura-radio.js +75 -22
  247. package/dist/components/cura-radio.js.map +1 -1
  248. package/dist/components/cura-select-option.js +2 -1
  249. package/dist/components/cura-select.js +2 -1
  250. package/dist/components/cura-stepper-item.js +2 -1
  251. package/dist/components/cura-stepper.js +30 -12
  252. package/dist/components/cura-stepper.js.map +1 -1
  253. package/dist/components/cura-switch.js +62 -18
  254. package/dist/components/cura-switch.js.map +1 -1
  255. package/dist/components/cura-tabs-button.js +9 -11
  256. package/dist/components/cura-tabs-button.js.map +1 -1
  257. package/dist/components/cura-tabs-group.js +5 -5
  258. package/dist/components/cura-tabs-group.js.map +1 -1
  259. package/dist/components/cura-tabs-transparent.js +8 -10
  260. package/dist/components/cura-tabs-transparent.js.map +1 -1
  261. package/dist/components/cura-tabs.js +8 -10
  262. package/dist/components/cura-tabs.js.map +1 -1
  263. package/dist/components/cura-toast.js +12 -14
  264. package/dist/components/cura-toast.js.map +1 -1
  265. package/dist/components/cura-tooltip.js +15 -16
  266. package/dist/components/cura-tooltip.js.map +1 -1
  267. package/dist/components/index.js +3 -547
  268. package/dist/components/index.js.map +1 -1
  269. package/dist/components/{cura-icon2.js → p-B5aO1chh.js} +5 -6
  270. package/dist/components/p-B5aO1chh.js.map +1 -0
  271. package/dist/components/{cura-heading2.js → p-BHEafDKD.js} +34 -7
  272. package/dist/components/p-BHEafDKD.js.map +1 -0
  273. package/dist/components/{cura-button-transparent2.js → p-BRDqwZ4N.js} +48 -11
  274. package/dist/components/p-BRDqwZ4N.js.map +1 -0
  275. package/dist/{esm/cura-button.definitions-617d3bad.js → components/p-BSI2FkNn.js} +2 -1
  276. package/dist/components/p-BSI2FkNn.js.map +1 -0
  277. package/dist/components/{cura-badge-counter2.js → p-C72aF-gL.js} +18 -9
  278. package/dist/components/p-C72aF-gL.js.map +1 -0
  279. package/dist/components/{cura-tabs.definitions.js → p-CHcd-uKK.js} +2 -1
  280. package/dist/components/p-CHcd-uKK.js.map +1 -0
  281. package/dist/components/p-D1cPOZpG.js +2617 -0
  282. package/dist/components/p-D1cPOZpG.js.map +1 -0
  283. package/dist/components/{cura-paragraph2.js → p-DI4g-ZH4.js} +26 -7
  284. package/dist/components/p-DI4g-ZH4.js.map +1 -0
  285. package/dist/components/{cura-label2.js → p-DR1RHrEX.js} +30 -7
  286. package/dist/components/p-DR1RHrEX.js.map +1 -0
  287. package/dist/components/{cura-stepper-item2.js → p-DaPc6Dxl.js} +23 -14
  288. package/dist/components/p-DaPc6Dxl.js.map +1 -0
  289. package/dist/components/{cura-forms.definitions.js → p-Dot54hbB.js} +2 -1
  290. package/dist/components/p-Dot54hbB.js.map +1 -0
  291. package/dist/components/{cura-select-option2.js → p-DpIu_Oxz.js} +8 -9
  292. package/dist/components/p-DpIu_Oxz.js.map +1 -0
  293. package/dist/components/{cura-loader-circle2.js → p-Dqm2sAwv.js} +13 -7
  294. package/dist/components/p-Dqm2sAwv.js.map +1 -0
  295. package/dist/components/{cura-progress-bar2.js → p-FTSrgi0q.js} +11 -8
  296. package/dist/components/p-FTSrgi0q.js.map +1 -0
  297. package/dist/components/{cura-loader-bar2.js → p-KIQMkSRF.js} +5 -5
  298. package/dist/components/p-KIQMkSRF.js.map +1 -0
  299. package/dist/components/{cura-badge-pill2.js → p-cOEGtL9C.js} +26 -9
  300. package/dist/components/p-cOEGtL9C.js.map +1 -0
  301. package/dist/components/{cura-calendar2.js → p-e-P5qR3J.js} +210 -100
  302. package/dist/components/p-e-P5qR3J.js.map +1 -0
  303. package/dist/components/{cura-select2.js → p-y6Cly9DJ.js} +87 -31
  304. package/dist/components/p-y6Cly9DJ.js.map +1 -0
  305. package/dist/components/{cura-input-text2.js → p-zz_zOPBZ.js} +75 -102
  306. package/dist/components/p-zz_zOPBZ.js.map +1 -0
  307. package/dist/cura/cura-alert.entry.esm.js.map +1 -0
  308. package/dist/cura/cura-badge-counter.entry.esm.js.map +1 -0
  309. package/dist/cura/cura-badge-dot.entry.esm.js.map +1 -0
  310. package/dist/cura/cura-badge-pill.entry.esm.js.map +1 -0
  311. package/dist/cura/cura-button-outline.entry.esm.js.map +1 -0
  312. package/dist/cura/cura-button-select.entry.esm.js.map +1 -0
  313. package/dist/cura/{p-12a4ae7e.entry.js.map → cura-calendar.entry.esm.js.map} +1 -1
  314. package/dist/cura/{p-53d68d72.entry.js.map → cura-card.entry.esm.js.map} +1 -1
  315. package/dist/cura/cura-checkbox.entry.esm.js.map +1 -0
  316. package/dist/cura/cura-display.entry.esm.js.map +1 -0
  317. package/dist/cura/cura-dropdown-search-not-found.entry.esm.js.map +1 -0
  318. package/dist/cura/cura-icons-view.entry.esm.js.map +1 -0
  319. package/dist/cura/cura-input-date.entry.esm.js.map +1 -0
  320. package/dist/cura/cura-loader-bar.entry.esm.js.map +1 -0
  321. package/dist/cura/{p-1ef21ae9.entry.js.map → cura-modal.entry.esm.js.map} +1 -1
  322. package/dist/cura/cura-progress-bar.cura-stepper-item.entry.esm.js.map +1 -0
  323. package/dist/cura/cura-radio.entry.esm.js.map +1 -0
  324. package/dist/cura/cura-stepper.entry.esm.js.map +1 -0
  325. package/dist/cura/cura-switch.entry.esm.js.map +1 -0
  326. package/dist/cura/cura-tabs-button.entry.esm.js.map +1 -0
  327. package/dist/cura/cura-tabs-transparent.entry.esm.js.map +1 -0
  328. package/dist/cura/cura-toast.entry.esm.js.map +1 -0
  329. package/dist/cura/cura-tooltip.entry.esm.js.map +1 -0
  330. package/dist/cura/cura.esm.js +1 -1
  331. package/dist/cura/cura.esm.js.map +1 -1
  332. package/dist/cura/index.esm.js +1 -1
  333. package/dist/cura/index.esm.js.map +1 -1
  334. package/dist/cura/loader.esm.js.map +1 -0
  335. package/dist/cura/p-077019da.entry.js +2 -0
  336. package/dist/cura/p-077019da.entry.js.map +1 -0
  337. package/dist/cura/p-07783235.entry.js +2 -0
  338. package/dist/cura/p-07783235.entry.js.map +1 -0
  339. package/dist/cura/p-090e297c.entry.js +2 -0
  340. package/dist/cura/p-090e297c.entry.js.map +1 -0
  341. package/dist/cura/p-16c0b52c.entry.js +2 -0
  342. package/dist/cura/p-16c0b52c.entry.js.map +1 -0
  343. package/dist/cura/p-2632183e.entry.js +2 -0
  344. package/dist/cura/p-2632183e.entry.js.map +1 -0
  345. package/dist/cura/p-32015dcc.entry.js +2 -0
  346. package/dist/cura/p-32015dcc.entry.js.map +1 -0
  347. package/dist/cura/p-32f94709.entry.js +2 -0
  348. package/dist/cura/p-32f94709.entry.js.map +1 -0
  349. package/dist/cura/p-3d6040e2.entry.js +2 -0
  350. package/dist/cura/p-3d6040e2.entry.js.map +1 -0
  351. package/dist/cura/p-4ac578a6.entry.js +2 -0
  352. package/dist/cura/p-4ac578a6.entry.js.map +1 -0
  353. package/dist/cura/p-4bde448e.entry.js +2 -0
  354. package/dist/cura/p-4bde448e.entry.js.map +1 -0
  355. package/dist/cura/p-6feba852.entry.js +2 -0
  356. package/dist/cura/p-6feba852.entry.js.map +1 -0
  357. package/dist/cura/p-7586fd07.entry.js +2 -0
  358. package/dist/cura/p-7586fd07.entry.js.map +1 -0
  359. package/dist/cura/p-76cbb798.entry.js +2 -0
  360. package/dist/cura/p-76cbb798.entry.js.map +1 -0
  361. package/dist/cura/p-7fd143aa.entry.js +2 -0
  362. package/dist/cura/p-7fd143aa.entry.js.map +1 -0
  363. package/dist/cura/p-8c83f259.entry.js +2 -0
  364. package/dist/cura/p-8c83f259.entry.js.map +1 -0
  365. package/dist/cura/p-95cd7918.entry.js +2 -0
  366. package/dist/cura/p-95cd7918.entry.js.map +1 -0
  367. package/dist/cura/{p-272c784a.js → p-964stZ3D.js} +1 -1
  368. package/dist/cura/p-964stZ3D.js.map +1 -0
  369. package/dist/cura/p-9ef5444e.entry.js +2 -0
  370. package/dist/cura/p-9ef5444e.entry.js.map +1 -0
  371. package/dist/cura/p-BPKQjAwN.js +2 -0
  372. package/dist/cura/p-BPKQjAwN.js.map +1 -0
  373. package/dist/cura/{p-53c18ed4.js → p-BSI2FkNn.js} +1 -1
  374. package/dist/cura/p-BSI2FkNn.js.map +1 -0
  375. package/dist/cura/{p-efcb32eb.js → p-CHcd-uKK.js} +1 -1
  376. package/dist/cura/p-CHcd-uKK.js.map +1 -0
  377. package/dist/cura/{p-f9b8f665.js → p-Dot54hbB.js} +1 -1
  378. package/dist/cura/p-Dot54hbB.js.map +1 -0
  379. package/dist/cura/p-PPMZr_VE.js +3 -0
  380. package/dist/cura/p-PPMZr_VE.js.map +1 -0
  381. package/dist/cura/p-c6f240f0.entry.js +2 -0
  382. package/dist/cura/p-c6f240f0.entry.js.map +1 -0
  383. package/dist/cura/p-ceb646df.entry.js +2 -0
  384. package/dist/cura/p-ceb646df.entry.js.map +1 -0
  385. package/dist/cura/p-d040f8b9.entry.js +2 -0
  386. package/dist/cura/p-d040f8b9.entry.js.map +1 -0
  387. package/dist/cura/p-deb0b764.entry.js +2 -0
  388. package/dist/cura/p-deb0b764.entry.js.map +1 -0
  389. package/dist/cura/p-df7cb250.entry.js +2 -0
  390. package/dist/cura/p-df7cb250.entry.js.map +1 -0
  391. package/dist/cura/p-f9af3a3b.entry.js +2 -0
  392. package/dist/cura/p-f9af3a3b.entry.js.map +1 -0
  393. package/dist/cura/p-fc3b57a8.entry.js +2 -0
  394. package/dist/cura/p-fc3b57a8.entry.js.map +1 -0
  395. package/dist/cura/{p-48f9289b.js → p-sjLA93YY.js} +1 -1
  396. package/dist/cura/p-sjLA93YY.js.map +1 -0
  397. package/dist/esm/cura-accordion_20.entry.js +484 -135
  398. package/dist/esm/cura-accordion_20.entry.js.map +1 -1
  399. package/dist/esm/cura-alert.entry.js +9 -10
  400. package/dist/esm/cura-alert.entry.js.map +1 -1
  401. package/dist/esm/cura-badge-counter.entry.js +16 -6
  402. package/dist/esm/cura-badge-counter.entry.js.map +1 -1
  403. package/dist/esm/cura-badge-dot.entry.js +14 -3
  404. package/dist/esm/cura-badge-dot.entry.js.map +1 -1
  405. package/dist/esm/cura-badge-pill.entry.js +23 -5
  406. package/dist/esm/cura-badge-pill.entry.js.map +1 -1
  407. package/dist/esm/cura-button-outline.entry.js +46 -6
  408. package/dist/esm/cura-button-outline.entry.js.map +1 -1
  409. package/dist/esm/cura-button-select.entry.js +7 -10
  410. package/dist/esm/cura-button-select.entry.js.map +1 -1
  411. package/dist/{components/cura-button.definitions.js → esm/cura-button.definitions-BSI2FkNn.js} +2 -1
  412. package/dist/esm/cura-button.definitions-BSI2FkNn.js.map +1 -0
  413. package/dist/esm/cura-calendar.entry.js +203 -92
  414. package/dist/esm/cura-calendar.entry.js.map +1 -1
  415. package/dist/esm/cura-card.entry.js +34 -4
  416. package/dist/esm/cura-card.entry.js.map +1 -1
  417. package/dist/esm/cura-checkbox.entry.js +72 -18
  418. package/dist/esm/cura-checkbox.entry.js.map +1 -1
  419. package/dist/esm/cura-display.entry.js +25 -5
  420. package/dist/esm/cura-display.entry.js.map +1 -1
  421. package/dist/esm/cura-dropdown-search-not-found.entry.js +5 -4
  422. package/dist/esm/cura-dropdown-search-not-found.entry.js.map +1 -1
  423. package/dist/esm/{cura-forms.definitions-2f963167.js → cura-forms.definitions-Dot54hbB.js} +2 -1
  424. package/dist/esm/cura-forms.definitions-Dot54hbB.js.map +1 -0
  425. package/dist/esm/{cura-icon.definitions-a892c0e2.js → cura-icon.definitions-sjLA93YY.js} +2 -1
  426. package/dist/esm/cura-icon.definitions-sjLA93YY.js.map +1 -0
  427. package/dist/esm/cura-icons-view.entry.js +7 -6
  428. package/dist/esm/cura-icons-view.entry.js.map +1 -1
  429. package/dist/esm/cura-input-date.entry.js +32 -13
  430. package/dist/esm/cura-input-date.entry.js.map +1 -1
  431. package/dist/esm/cura-loader-bar.entry.js +4 -3
  432. package/dist/esm/cura-loader-bar.entry.js.map +1 -1
  433. package/dist/esm/cura-modal.entry.js +46 -13
  434. package/dist/esm/cura-modal.entry.js.map +1 -1
  435. package/dist/esm/cura-progress-bar.cura-stepper-item.entry.js.map +1 -0
  436. package/dist/esm/cura-progress-bar_2.entry.js +25 -13
  437. package/dist/esm/cura-progress-bar_2.entry.js.map +1 -1
  438. package/dist/esm/cura-radio.entry.js +73 -19
  439. package/dist/esm/cura-radio.entry.js.map +1 -1
  440. package/dist/esm/cura-stepper.entry.js +23 -4
  441. package/dist/esm/cura-stepper.entry.js.map +1 -1
  442. package/dist/esm/cura-switch.entry.js +61 -16
  443. package/dist/esm/cura-switch.entry.js.map +1 -1
  444. package/dist/esm/cura-tabs-button.entry.js +6 -7
  445. package/dist/esm/cura-tabs-button.entry.js.map +1 -1
  446. package/dist/esm/cura-tabs-transparent.entry.js +6 -7
  447. package/dist/esm/cura-tabs-transparent.entry.js.map +1 -1
  448. package/dist/esm/{cura-tabs.definitions-a017126e.js → cura-tabs.definitions-CHcd-uKK.js} +2 -1
  449. package/dist/esm/cura-tabs.definitions-CHcd-uKK.js.map +1 -0
  450. package/dist/esm/{cura-theme-module-bf286f68.js → cura-theme-module-BPKQjAwN.js} +88 -4
  451. package/dist/esm/cura-theme-module-BPKQjAwN.js.map +1 -0
  452. package/dist/esm/cura-toast.entry.js +8 -9
  453. package/dist/esm/cura-toast.entry.js.map +1 -1
  454. package/dist/esm/cura-tooltip.entry.js +9 -9
  455. package/dist/esm/cura-tooltip.entry.js.map +1 -1
  456. package/dist/esm/cura.js +7 -7
  457. package/dist/esm/cura.js.map +1 -1
  458. package/dist/esm/{index-fbee309a.js → index-964stZ3D.js} +2 -1
  459. package/dist/esm/index-964stZ3D.js.map +1 -0
  460. package/dist/esm/{index-21683715.js → index-OdKytJIH.js} +947 -270
  461. package/dist/esm/index-OdKytJIH.js.map +1 -0
  462. package/dist/esm/index.js +2 -2
  463. package/dist/esm/index.js.map +1 -1
  464. package/dist/esm/loader.js +5 -6
  465. package/dist/esm/loader.js.map +1 -1
  466. package/dist/types/components/forms/cura-input-date/cura-input-date.d.ts +4 -0
  467. package/dist/types/components/forms/cura-input-date/cura-input-date.stories.d.ts +14 -0
  468. package/dist/types/components.d.ts +718 -0
  469. package/dist/types/stencil-public-runtime.d.ts +25 -1
  470. package/package.json +13 -16
  471. package/dist/cjs/app-globals-6d5b51b6.js +0 -70
  472. package/dist/cjs/app-globals-6d5b51b6.js.map +0 -1
  473. package/dist/cjs/cura-button.definitions-f036371c.js.map +0 -1
  474. package/dist/cjs/cura-forms.definitions-c164f1b8.js.map +0 -1
  475. package/dist/cjs/cura-icon.definitions-5223028b.js.map +0 -1
  476. package/dist/cjs/cura-tabs.definitions-b8955ad4.js.map +0 -1
  477. package/dist/cjs/cura-theme-module-09bb63a4.js.map +0 -1
  478. package/dist/cjs/index-60783089.js.map +0 -1
  479. package/dist/cjs/index-6dc29195.js.map +0 -1
  480. package/dist/cjs/static-44199808.js +0 -90
  481. package/dist/cjs/static-44199808.js.map +0 -1
  482. package/dist/components/cura-badge-counter2.js.map +0 -1
  483. package/dist/components/cura-badge-pill2.js.map +0 -1
  484. package/dist/components/cura-button-transparent2.js.map +0 -1
  485. package/dist/components/cura-button.definitions.js.map +0 -1
  486. package/dist/components/cura-calendar2.js.map +0 -1
  487. package/dist/components/cura-forms.definitions.js.map +0 -1
  488. package/dist/components/cura-heading2.js.map +0 -1
  489. package/dist/components/cura-icon2.js.map +0 -1
  490. package/dist/components/cura-input-text2.js.map +0 -1
  491. package/dist/components/cura-label2.js.map +0 -1
  492. package/dist/components/cura-loader-bar2.js.map +0 -1
  493. package/dist/components/cura-loader-circle2.js.map +0 -1
  494. package/dist/components/cura-paragraph2.js.map +0 -1
  495. package/dist/components/cura-progress-bar2.js.map +0 -1
  496. package/dist/components/cura-select-option2.js.map +0 -1
  497. package/dist/components/cura-select2.js.map +0 -1
  498. package/dist/components/cura-stepper-item2.js.map +0 -1
  499. package/dist/components/cura-tabs.definitions.js.map +0 -1
  500. package/dist/cura/p-0aeaf57a.entry.js +0 -2
  501. package/dist/cura/p-0aeaf57a.entry.js.map +0 -1
  502. package/dist/cura/p-0b872499.entry.js +0 -2
  503. package/dist/cura/p-0b872499.entry.js.map +0 -1
  504. package/dist/cura/p-0ccde0ff.entry.js +0 -2
  505. package/dist/cura/p-0ccde0ff.entry.js.map +0 -1
  506. package/dist/cura/p-12a4ae7e.entry.js +0 -2
  507. package/dist/cura/p-137f003b.entry.js +0 -2
  508. package/dist/cura/p-137f003b.entry.js.map +0 -1
  509. package/dist/cura/p-197213c0.entry.js +0 -2
  510. package/dist/cura/p-197213c0.entry.js.map +0 -1
  511. package/dist/cura/p-1ef21ae9.entry.js +0 -2
  512. package/dist/cura/p-202dc01a.entry.js +0 -2
  513. package/dist/cura/p-202dc01a.entry.js.map +0 -1
  514. package/dist/cura/p-20b05d8f.entry.js +0 -2
  515. package/dist/cura/p-20b05d8f.entry.js.map +0 -1
  516. package/dist/cura/p-272c784a.js.map +0 -1
  517. package/dist/cura/p-2db4deb3.js +0 -2
  518. package/dist/cura/p-2db4deb3.js.map +0 -1
  519. package/dist/cura/p-48f9289b.js.map +0 -1
  520. package/dist/cura/p-4ee8efca.js +0 -3
  521. package/dist/cura/p-4ee8efca.js.map +0 -1
  522. package/dist/cura/p-53c18ed4.js.map +0 -1
  523. package/dist/cura/p-53d68d72.entry.js +0 -2
  524. package/dist/cura/p-5a43e745.entry.js +0 -2
  525. package/dist/cura/p-5a43e745.entry.js.map +0 -1
  526. package/dist/cura/p-5c6f9593.entry.js +0 -2
  527. package/dist/cura/p-5c6f9593.entry.js.map +0 -1
  528. package/dist/cura/p-633c13cd.entry.js +0 -2
  529. package/dist/cura/p-633c13cd.entry.js.map +0 -1
  530. package/dist/cura/p-6cbd49dd.js +0 -2
  531. package/dist/cura/p-6cbd49dd.js.map +0 -1
  532. package/dist/cura/p-7a68835f.entry.js +0 -2
  533. package/dist/cura/p-7a68835f.entry.js.map +0 -1
  534. package/dist/cura/p-7e10b146.entry.js +0 -2
  535. package/dist/cura/p-7e10b146.entry.js.map +0 -1
  536. package/dist/cura/p-7e2d1229.entry.js +0 -2
  537. package/dist/cura/p-7e2d1229.entry.js.map +0 -1
  538. package/dist/cura/p-8aade007.entry.js +0 -2
  539. package/dist/cura/p-8aade007.entry.js.map +0 -1
  540. package/dist/cura/p-9f460031.js +0 -2
  541. package/dist/cura/p-9f460031.js.map +0 -1
  542. package/dist/cura/p-ac0c90af.entry.js +0 -2
  543. package/dist/cura/p-ac0c90af.entry.js.map +0 -1
  544. package/dist/cura/p-b254bbe4.entry.js +0 -2
  545. package/dist/cura/p-b254bbe4.entry.js.map +0 -1
  546. package/dist/cura/p-b4ee956b.entry.js +0 -2
  547. package/dist/cura/p-b4ee956b.entry.js.map +0 -1
  548. package/dist/cura/p-b60a6aaa.entry.js +0 -2
  549. package/dist/cura/p-b60a6aaa.entry.js.map +0 -1
  550. package/dist/cura/p-b6ff8ac1.entry.js +0 -2
  551. package/dist/cura/p-b6ff8ac1.entry.js.map +0 -1
  552. package/dist/cura/p-d8e1e182.entry.js +0 -2
  553. package/dist/cura/p-d8e1e182.entry.js.map +0 -1
  554. package/dist/cura/p-d97719bc.entry.js +0 -2
  555. package/dist/cura/p-d97719bc.entry.js.map +0 -1
  556. package/dist/cura/p-efcb32eb.js.map +0 -1
  557. package/dist/cura/p-f9b8f665.js.map +0 -1
  558. package/dist/esm/app-globals-c2abb41c.js +0 -68
  559. package/dist/esm/app-globals-c2abb41c.js.map +0 -1
  560. package/dist/esm/cura-button.definitions-617d3bad.js.map +0 -1
  561. package/dist/esm/cura-forms.definitions-2f963167.js.map +0 -1
  562. package/dist/esm/cura-icon.definitions-a892c0e2.js.map +0 -1
  563. package/dist/esm/cura-tabs.definitions-a017126e.js.map +0 -1
  564. package/dist/esm/cura-theme-module-bf286f68.js.map +0 -1
  565. package/dist/esm/index-21683715.js.map +0 -1
  566. package/dist/esm/index-fbee309a.js.map +0 -1
  567. package/dist/esm/static-090f0088.js +0 -88
  568. package/dist/esm/static-090f0088.js.map +0 -1
  569. package/dist/loader/package.json +0 -11
@@ -0,0 +1 @@
1
+ {"file":"p-B5aO1chh.js","mappings":";;AAAa,MAAA,SAAS,GAAG;IACvB,KAAK,EAAE,EAAC,IAAI,EAAE,GAAG,EAAE,MAAM,EAAE,IAAI,EAAC;IAChC,IAAI,EAAE,EAAC,IAAI,EAAE,EAAE,EAAE,MAAM,EAAE,GAAG,EAAC;IAC7B,IAAI,EAAE,EAAC,IAAI,EAAE,EAAE,EAAE,MAAM,EAAE,IAAI,EAAC;IAC9B,IAAI,EAAE,EAAC,IAAI,EAAE,EAAE,EAAE,MAAM,EAAE,IAAI,EAAC;IAC9B,IAAI,EAAE,EAAC,IAAI,EAAE,EAAE,EAAE,MAAM,EAAE,GAAG,EAAC;IAC7B,IAAI,EAAE,EAAC,IAAI,EAAE,EAAE,EAAE,MAAM,EAAE,IAAI,EAAC;IAC9B,IAAI,EAAE,EAAC,IAAI,EAAE,EAAE,EAAE,MAAM,EAAE,CAAC,EAAC;IAC3B,IAAI,EAAE,EAAC,IAAI,EAAE,EAAE,EAAE,MAAM,EAAE,IAAI,EAAC;IAC9B,IAAI,EAAE,EAAC,IAAI,EAAE,EAAE,EAAE,MAAM,EAAE,GAAG,EAAC;IAC7B,OAAO,EAAE,EAAC,IAAI,EAAE,EAAE,EAAE,MAAM,EAAE,IAAI,EAAE;IAClC,SAAS,EAAE,EAAC,IAAI,EAAE,EAAE,EAAE,MAAM,EAAE,CAAC;;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,MAAM,CAAC,OAAO,CAAC,eAAe;AAChD,QAAA,IAAI,CAAC,WAAW,CAAC,IAAI,CAAC,IAAI,CAAC;QAC3B,IAAI,CAAC,YAAY,EAAE;;IAGrB,eAAe,CAAC,IAAY,EAAE,KAAa,EAAA;QACzC,IAAI,CAAC,IAAI,CAAC,KAAK,CAAC,WAAW,CAAC,IAAI,EAAE,KAAK,CAAC;;IAG1C,MAAM,GAAA;AACJ,QAAA,QACE,CAAC,CAAA,IAAI,EAAC,EAAA,GAAA,EAAA,0CAAA,EAAA,IAAI,EAAC,KAAK,EAAA,EACd,CAAA,CAAA,KAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EACE,OAAO,EAAC,KAAK,EACb,OAAO,EAAC,WAAW,EACnB,mBAAmB,EAAC,eAAe,EACnC,KAAK,EAAC,4BAA4B,EAAA,EAClC,CAAA,CAAA,KAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EACE,SAAS,EAAE,CAAA,EAAG,IAAI,CAAC,UAAU,CAAA,eAAA,EAAkB,IAAI,CAAC,OAAO,CAAQ,KAAA,EAAA,IAAI,CAAC,IAAI,EAAE,GAC1E,CACF,CACD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","names":["__stencil_proxyCustomElement","HTMLElement"],"sources":["src/components/cura-icon/cura-icon.definitions.tsx","src/components/cura-icon/cura-icon.scss?tag=cura-icon&encapsulation=shadow","src/components/cura-icon/cura-icon.tsx"],"sourcesContent":["export const iconSizes = {\n \"128\": {size: 128, stroke: 5.25},\n \"72\": {size: 72, stroke: 3.5},\n \"64\": {size: 64, stroke: 3.25},\n \"48\": {size: 48, stroke: 2.75},\n \"40\": {size: 40, stroke: 2.5},\n \"32\": {size: 32, stroke: 2.25},\n \"24\": {size: 24, stroke: 2},\n \"20\": {size: 20, stroke: 1.75},\n \"16\": {size: 16, stroke: 1.5},\n \"micro\": {size: 12, stroke: 1.25 },\n \"default\": {size: 24, stroke: 2}\n};\n",":host {\n width: var(--size);\n height: var(--size);\n display: inline-block;\n\n svg {\n display: inline-block;\n stroke: var(--color);\n width: var(--size);\n height: var(--size);\n stroke-width: var(--stroke);\n fill: none;\n }\n}\n","import { Component, Host, h, Prop, Element, Watch } from '@stencil/core';\nimport { iconSizes } from './cura-icon.definitions';\n\n@Component({\n tag: 'cura-icon',\n styleUrl: 'cura-icon.scss',\n shadow: true\n})\nexport class CuraIcon {\n\n @Prop({reflect: true}) name = '';\n @Prop() color = 'neutral-base';\n @Prop() size: string | number;\n @Prop({reflect: true}) iconset = 'default';\n @Prop() disabled = false;\n\n @Element() host: HTMLElement;\n\n @Watch('size')\n sizeHandler(size: string | number) {\n const scaledStroke = (iconSize: string | number) => {\n return `${iconSizes[iconSize].stroke * (iconSizes.default.size / iconSizes[iconSize].size)}px`;\n }\n this.setHostProperty('--size', iconSizes[`${size}`] ? `${iconSizes[size].size}px` : `${iconSizes.default.size}px`);\n this.setHostProperty('--stroke', iconSizes[`${size}`] ? scaledStroke(size) : scaledStroke(\"default\"));\n }\n\n @Watch('color')\n @Watch('disabled')\n colorHandler() {\n this.setHostProperty('--color', window.CuraAPI.theme.colors.getColor(this.disabled ? 'neutral-light' : this.color || 'neutral'));\n }\n\n assetsPath: string;\n\n connectedCallback() {\n this.assetsPath = window.CuraAPI.localAssetsPath;\n this.sizeHandler(this.size);\n this.colorHandler();\n }\n\n setHostProperty(prop: string, value: string) {\n this.host.style.setProperty(prop, value);\n }\n\n render() {\n return (\n <Host role=\"img\">\n <svg\n version=\"1.1\"\n viewBox=\"0 0 24 24\"\n preserveAspectRatio=\"xMidYMid meet\"\n xmlns=\"http://www.w3.org/2000/svg\">\n <use\n xlinkHref={`${this.assetsPath}/icons/iconset-${this.iconset}.svg#${this.name}`}>\n </use>\n </svg>\n </Host>\n );\n }\n\n}\n"],"version":3}
@@ -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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A,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,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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Y,CAAA,YAAA,EAAA,EAAA,IAAI,EAAE,SAAS,EAAE,UAAU,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,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,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AC,gBAAgB,CAAC,GAAG,IAAI,CAAC,KAAK,CAAC,OAAO,CAAC,UAAU,EAAE;QAC/D,IAAI,CAAC,SAAS,EAAE;;IAGlB,UAAU,GAAA;AACR,QAAA,MAAM,OAAO,GAAG;AACd,YAAA,WAAW,EAAE;SACd;QACD,OAAO,CAAC,IAAI,CAAC,IAAI,CAAC,WAAW,EAAE,CAAC,GAAG,IAAI;AACvC,QAAA,OAAO,OAAO;;IAIhB,MAAM,GAAA;AACJ,QAAA,QACE,CAAA,CAAC,IAAI,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}