@rededor/cura 2.0.0-alpha.10 → 2.0.0-alpha.12

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 (851) hide show
  1. package/dist/cjs/app-globals-e8cmvmo1.js +69 -0
  2. package/dist/cjs/cura-accordion_21.cjs.entry.js +267 -208
  3. package/dist/cjs/cura-alert.cjs.entry.js +7 -8
  4. package/dist/cjs/cura-badge-counter.cjs.entry.js +13 -10
  5. package/dist/cjs/cura-badge-dot.cjs.entry.js +4 -7
  6. package/dist/cjs/cura-badge-pill.cjs.entry.js +7 -8
  7. package/dist/cjs/cura-button-outline.cjs.entry.js +15 -10
  8. package/dist/cjs/cura-button-select.cjs.entry.js +10 -9
  9. package/dist/cjs/cura-button.definitions-B3SK8MaV.js +0 -3
  10. package/dist/cjs/cura-calendar.cjs.entry.js +12 -9
  11. package/dist/cjs/cura-checkbox.cjs.entry.js +18 -11
  12. package/dist/cjs/cura-display.cjs.entry.js +10 -9
  13. package/dist/cjs/cura-dropdown-search-not-found.cjs.entry.js +4 -7
  14. package/dist/cjs/cura-forms.definitions-DVLuO67c.js +0 -3
  15. package/dist/cjs/cura-icon.definitions-DT0wF67y.js +0 -3
  16. package/dist/cjs/cura-icons-view.cjs.entry.js +4 -7
  17. package/dist/cjs/cura-input-date.cjs.entry.js +7 -8
  18. package/dist/cjs/cura-loader-bar.cjs.entry.js +10 -9
  19. package/dist/cjs/cura-modal.cjs.entry.js +19 -12
  20. package/dist/cjs/cura-progress-bar_2.cjs.entry.js +6 -9
  21. package/dist/cjs/cura-radio.cjs.entry.js +15 -10
  22. package/dist/cjs/cura-stepper.cjs.entry.js +4 -7
  23. package/dist/cjs/cura-switch.cjs.entry.js +13 -10
  24. package/dist/cjs/cura-tabs-button.cjs.entry.js +7 -8
  25. package/dist/cjs/cura-tabs-transparent.cjs.entry.js +7 -8
  26. package/dist/cjs/cura-tabs.definitions-CGqqGE2e.js +0 -3
  27. package/dist/cjs/cura-theme-module-Dg1d3VUN.js +237 -0
  28. package/dist/cjs/cura-toast.cjs.entry.js +10 -9
  29. package/dist/cjs/cura-tooltip.cjs.entry.js +4 -7
  30. package/dist/cjs/cura.cjs.js +8 -8
  31. package/dist/cjs/{index-BK9MSAiE.js → index-BLhmsPd0.js} +705 -579
  32. package/dist/cjs/index-EyP6Zlkd.js +0 -3
  33. package/dist/cjs/index.cjs.js +3 -4
  34. package/dist/cjs/loader.cjs.js +7 -7
  35. package/dist/cjs/static-DHz-FA_O.js +88 -0
  36. package/dist/cjs/theme-legacy-default-COE-hjD7.js +264 -0
  37. package/dist/collection/api/cura-api.js +0 -1
  38. package/dist/collection/api/cura-api.type.js +0 -1
  39. package/dist/collection/api/modules/cura-theme-breakpoints-module.js +0 -1
  40. package/dist/collection/api/modules/cura-theme-colors-module.js +0 -1
  41. package/dist/collection/api/modules/cura-theme-fonts-module.js +0 -1
  42. package/dist/collection/api/modules/cura-theme-module.js +0 -1
  43. package/dist/collection/api/modules/cura-theme-spacing-module.js +0 -1
  44. package/dist/collection/api/theme-presets/static.js +0 -1
  45. package/dist/collection/api/theme-presets/theme-default.js +0 -1
  46. package/dist/collection/api/theme-presets/theme-legacy-default.js +0 -1
  47. package/dist/collection/api/theme-presets/theme-maternity.js +0 -1
  48. package/dist/collection/api/theme-presets/theme-oncology.js +0 -1
  49. package/dist/collection/api/theme-presets/theme-perinatal-temporary.js +0 -1
  50. package/dist/collection/api/theme-presets/theme-presets.js +0 -1
  51. package/dist/collection/api/theme-presets/theme-richet.js +0 -1
  52. package/dist/collection/assets/icons/iconset-default-list.js +0 -1
  53. package/dist/collection/collection-manifest.json +3 -2
  54. package/dist/collection/components/accordion/cura-accordion/cura-accordion.css +0 -0
  55. package/dist/collection/components/accordion/cura-accordion/cura-accordion.js +9 -10
  56. package/dist/collection/components/accordion/cura-accordion/cura-accordion.stories.js +0 -1
  57. package/dist/collection/components/accordion/cura-accordion-item/cura-accordion-item.css +0 -0
  58. package/dist/collection/components/accordion/cura-accordion-item/cura-accordion-item.js +9 -10
  59. package/dist/collection/components/badges/cura-badge-counter/cura-badge-counter.css +0 -0
  60. package/dist/collection/components/badges/cura-badge-counter/cura-badge-counter.js +5 -6
  61. package/dist/collection/components/badges/cura-badge-counter/cura-badge-counter.stories.js +0 -1
  62. package/dist/collection/components/badges/cura-badge-distance/cura-badge-distance.css +0 -0
  63. package/dist/collection/components/badges/cura-badge-distance/cura-badge-distance.js +2 -3
  64. package/dist/collection/components/badges/cura-badge-distance/cura-badge-distance.stories.js +0 -1
  65. package/dist/collection/components/badges/cura-badge-dot/cura-badge-dot.css +0 -0
  66. package/dist/collection/components/badges/cura-badge-dot/cura-badge-dot.js +3 -4
  67. package/dist/collection/components/badges/cura-badge-dot/cura-badge-dot.stories.js +0 -1
  68. package/dist/collection/components/badges/cura-badge-pill/cura-badge-pill.css +0 -0
  69. package/dist/collection/components/badges/cura-badge-pill/cura-badge-pill.js +8 -9
  70. package/dist/collection/components/badges/cura-badge-pill/cura-badge-pill.stories.js +0 -1
  71. package/dist/collection/components/buttons/cura-button/cura-button.css +0 -0
  72. package/dist/collection/components/buttons/cura-button/cura-button.js +24 -25
  73. package/dist/collection/components/buttons/cura-button/cura-button.stories.js +0 -1
  74. package/dist/collection/components/buttons/cura-button-outline/cura-button-outline.css +0 -0
  75. package/dist/collection/components/buttons/cura-button-outline/cura-button-outline.js +17 -18
  76. package/dist/collection/components/buttons/cura-button-outline/cura-button-outline.stories.js +0 -1
  77. package/dist/collection/components/buttons/cura-button-select/cura-button-select.css +0 -0
  78. package/dist/collection/components/buttons/cura-button-select/cura-button-select.js +12 -13
  79. package/dist/collection/components/buttons/cura-button-select/cura-button-select.stories.js +0 -1
  80. package/dist/collection/components/buttons/cura-button-transparent/cura-button-transparent.css +0 -0
  81. package/dist/collection/components/buttons/cura-button-transparent/cura-button-transparent.js +16 -17
  82. package/dist/collection/components/buttons/cura-button-transparent/cura-button-transparent.stories.js +0 -1
  83. package/dist/collection/components/buttons/cura-button.definitions.js +0 -1
  84. package/dist/collection/components/cura-alert/cura-alert.css +0 -0
  85. package/dist/collection/components/cura-alert/cura-alert.js +7 -8
  86. package/dist/collection/components/cura-alert/cura-alert.stories.js +0 -1
  87. package/dist/collection/components/cura-avatar/cura-avatar.css +0 -0
  88. package/dist/collection/components/cura-avatar/cura-avatar.definitions.js +0 -1
  89. package/dist/collection/components/cura-avatar/cura-avatar.js +13 -14
  90. package/dist/collection/components/cura-avatar/cura-avatar.stories.js +0 -1
  91. package/dist/collection/components/cura-calendar/cura-calendar.css +0 -0
  92. package/dist/collection/components/cura-calendar/cura-calendar.js +21 -25
  93. package/dist/collection/components/cura-calendar/cura-calendar.stories.js +0 -1
  94. package/dist/collection/components/cura-card/cura-card.css +0 -0
  95. package/dist/collection/components/cura-card/cura-card.js +7 -8
  96. package/dist/collection/components/cura-card/cura-card.stories.js +0 -1
  97. package/dist/collection/components/cura-dropdown-search/cura-dropdown-search-category/cura-dropdown-search-category.css +0 -0
  98. package/dist/collection/components/cura-dropdown-search/cura-dropdown-search-category/cura-dropdown-search-category.js +0 -1
  99. package/dist/collection/components/cura-dropdown-search/cura-dropdown-search-category/cura-dropdown-search-category.stories.js +0 -1
  100. package/dist/collection/components/cura-dropdown-search/cura-dropdown-search-not-found/cura-dropdown-search-not-found.css +0 -0
  101. package/dist/collection/components/cura-dropdown-search/cura-dropdown-search-not-found/cura-dropdown-search-not-found.js +0 -1
  102. package/dist/collection/components/cura-dropdown-search/cura-dropdown-search-not-found/cura-dropdown-search-not-found.stories.js +0 -1
  103. package/dist/collection/components/cura-dropdown-search/cura-dropdown-search-option/cura-dropdown-search-option.css +0 -0
  104. package/dist/collection/components/cura-dropdown-search/cura-dropdown-search-option/cura-dropdown-search-option.js +7 -8
  105. package/dist/collection/components/cura-dropdown-search/cura-dropdown-search-option/cura-dropdown-search-option.stories.js +0 -1
  106. package/dist/collection/components/cura-dropdown-search/cura-dropdown-search.css +0 -0
  107. package/dist/collection/components/cura-dropdown-search/cura-dropdown-search.js +13 -14
  108. package/dist/collection/components/cura-dropdown-search/cura-dropdown-search.stories.js +0 -1
  109. package/dist/collection/components/cura-icon/cura-icon.css +0 -0
  110. package/dist/collection/components/cura-icon/cura-icon.definitions.js +0 -1
  111. package/dist/collection/components/cura-icon/cura-icon.js +6 -7
  112. package/dist/collection/components/cura-icon/cura-icon.stories.js +0 -1
  113. package/dist/collection/components/cura-icons-view/cura-icons-view.css +0 -0
  114. package/dist/collection/components/cura-icons-view/cura-icons-view.js +0 -1
  115. package/dist/collection/components/cura-icons-view/cura-icons-view.stories.js +0 -1
  116. package/dist/collection/components/cura-modal/cura-modal.css +0 -0
  117. package/dist/collection/components/cura-modal/cura-modal.js +9 -10
  118. package/dist/collection/components/cura-modal/cura-modal.stories.js +0 -1
  119. package/dist/collection/components/cura-page-template/cura-page-template.css +0 -0
  120. package/dist/collection/components/cura-page-template/cura-page-template.js +1 -2
  121. package/dist/collection/components/cura-stepper/cura-progress-bar/cura-progress-bar.css +0 -0
  122. package/dist/collection/components/cura-stepper/cura-progress-bar/cura-progress-bar.js +8 -9
  123. package/dist/collection/components/cura-stepper/cura-stepper-item/cura-stepper-item.css +0 -0
  124. package/dist/collection/components/cura-stepper/cura-stepper-item/cura-stepper-item.js +6 -7
  125. package/dist/collection/components/cura-stepper/cura-stepper.css +0 -0
  126. package/dist/collection/components/cura-stepper/cura-stepper.js +8 -8
  127. package/dist/collection/components/cura-stepper/cura-stepper.stories.js +0 -1
  128. package/dist/collection/components/cura-stepper/stepper.type.js +0 -1
  129. package/dist/collection/components/cura-toast/cura-toast.css +0 -0
  130. package/dist/collection/components/cura-toast/cura-toast.js +9 -10
  131. package/dist/collection/components/cura-toast/cura-toast.stories.js +0 -1
  132. package/dist/collection/components/cura-tooltip/cura-tooltip.css +0 -0
  133. package/dist/collection/components/cura-tooltip/cura-tooltip.js +8 -9
  134. package/dist/collection/components/cura-tooltip/cura-tooltip.stories.js +0 -1
  135. package/dist/collection/components/forms/cura-checkbox/cura-checkbox.css +0 -0
  136. package/dist/collection/components/forms/cura-checkbox/cura-checkbox.js +19 -20
  137. package/dist/collection/components/forms/cura-checkbox/cura-checkbox.stories.js +0 -1
  138. package/dist/collection/components/forms/cura-forms.definitions.js +0 -1
  139. package/dist/collection/components/forms/cura-input-date/cura-input-date.css +0 -0
  140. package/dist/collection/components/forms/cura-input-date/cura-input-date.js +15 -16
  141. package/dist/collection/components/forms/cura-input-date/cura-input-date.stories.js +0 -1
  142. package/dist/collection/components/forms/cura-input-text/cura-input-text.css +0 -0
  143. package/dist/collection/components/forms/cura-input-text/cura-input-text.js +29 -30
  144. package/dist/collection/components/forms/cura-input-text/cura-input-text.stories.js +0 -1
  145. package/dist/collection/components/forms/cura-input-text/mask-presets/input-mask-presets.js +0 -1
  146. package/dist/collection/components/forms/cura-label/cura-label.css +0 -0
  147. package/dist/collection/components/forms/cura-label/cura-label.js +8 -9
  148. package/dist/collection/components/forms/cura-label/cura-label.stories.js +0 -1
  149. package/dist/collection/components/forms/cura-radio/cura-radio.css +0 -0
  150. package/dist/collection/components/forms/cura-radio/cura-radio.js +15 -16
  151. package/dist/collection/components/forms/cura-radio/cura-radio.stories.js +0 -1
  152. package/dist/collection/components/forms/cura-select/cura-select.css +0 -0
  153. package/dist/collection/components/forms/cura-select/cura-select.js +13 -14
  154. package/dist/collection/components/forms/cura-select/cura-select.stories.js +0 -1
  155. package/dist/collection/components/forms/cura-select-options/cura-select-option.css +0 -0
  156. package/dist/collection/components/forms/cura-select-options/cura-select-option.js +5 -6
  157. package/dist/collection/components/forms/cura-switch/cura-switch.css +0 -0
  158. package/dist/collection/components/forms/cura-switch/cura-switch.js +10 -11
  159. package/dist/collection/components/forms/cura-switch/cura-switch.stories.js +0 -1
  160. package/dist/collection/components/loaders/cura-loader-bar/cura-loader-bar.css +0 -0
  161. package/dist/collection/components/loaders/cura-loader-bar/cura-loader-bar.js +2 -3
  162. package/dist/collection/components/loaders/cura-loader-bar/cura-loader-bar.stories.js +0 -1
  163. package/dist/collection/components/loaders/cura-loader-circle/cura-loader-circle.css +0 -0
  164. package/dist/collection/components/loaders/cura-loader-circle/cura-loader-circle.js +2 -3
  165. package/dist/collection/components/loaders/cura-loader-circle/cura-loader-circle.stories.js +0 -1
  166. package/dist/collection/components/tabs/cura-tabs/cura-tabs.css +0 -0
  167. package/dist/collection/components/tabs/cura-tabs/cura-tabs.js +9 -10
  168. package/dist/collection/components/tabs/cura-tabs/cura-tabs.stories.js +0 -1
  169. package/dist/collection/components/tabs/cura-tabs-button/cura-tabs-button.css +0 -0
  170. package/dist/collection/components/tabs/cura-tabs-button/cura-tabs-button.js +9 -10
  171. package/dist/collection/components/tabs/cura-tabs-button/cura-tabs-button.stories.js +0 -1
  172. package/dist/collection/components/tabs/cura-tabs-group/cura-tabs-group.css +0 -0
  173. package/dist/collection/components/tabs/cura-tabs-group/cura-tabs-group.js +3 -4
  174. package/dist/collection/components/tabs/cura-tabs-group/cura-tabs-group.stories.js +0 -1
  175. package/dist/collection/components/tabs/cura-tabs-transparent/cura-tabs-transparent.css +0 -0
  176. package/dist/collection/components/tabs/cura-tabs-transparent/cura-tabs-transparent.js +9 -10
  177. package/dist/collection/components/tabs/cura-tabs-transparent/cura-tabs-transparent.stories.js +0 -1
  178. package/dist/collection/components/tabs/cura-tabs.definitions.js +0 -1
  179. package/dist/collection/components/text/cura-display/cura-display.css +0 -0
  180. package/dist/collection/components/text/cura-display/cura-display.js +7 -8
  181. package/dist/collection/components/text/cura-display/cura-display.stories.js +0 -1
  182. package/dist/collection/components/text/cura-heading/cura-heading.css +0 -0
  183. package/dist/collection/components/text/cura-heading/cura-heading.js +9 -10
  184. package/dist/collection/components/text/cura-heading/cura-heading.stories.js +0 -1
  185. package/dist/collection/components/text/cura-paragraph/cura-paragraph.css +0 -0
  186. package/dist/collection/components/text/cura-paragraph/cura-paragraph.js +7 -8
  187. package/dist/collection/components/text/cura-paragraph/cura-paragraph.stories.js +0 -1
  188. package/dist/collection/index.js +0 -1
  189. package/dist/collection/rededor-cura-start.js +0 -1
  190. package/dist/collection/utils/FixedElementScrollBehavior.js +0 -1
  191. package/dist/collection/utils/utils.js +0 -1
  192. package/dist/components/cura-accordion-item.d.ts +0 -0
  193. package/dist/components/cura-accordion-item.js +1 -102
  194. package/dist/components/cura-accordion.d.ts +0 -0
  195. package/dist/components/cura-accordion.js +1 -144
  196. package/dist/components/cura-alert.d.ts +0 -0
  197. package/dist/components/cura-alert.js +1 -110
  198. package/dist/components/cura-avatar.d.ts +0 -0
  199. package/dist/components/cura-avatar.js +1 -112
  200. package/dist/components/cura-badge-counter.d.ts +0 -0
  201. package/dist/components/cura-badge-counter.js +1 -9
  202. package/dist/components/cura-badge-distance.d.ts +0 -0
  203. package/dist/components/cura-badge-distance.js +1 -73
  204. package/dist/components/cura-badge-dot.d.ts +0 -0
  205. package/dist/components/cura-badge-dot.js +1 -73
  206. package/dist/components/cura-badge-pill.d.ts +0 -0
  207. package/dist/components/cura-badge-pill.js +1 -9
  208. package/dist/components/cura-button-outline.d.ts +0 -0
  209. package/dist/components/cura-button-outline.js +1 -206
  210. package/dist/components/cura-button-select.d.ts +0 -0
  211. package/dist/components/cura-button-select.js +1 -163
  212. package/dist/components/cura-button-transparent.d.ts +0 -0
  213. package/dist/components/cura-button-transparent.js +1 -9
  214. package/dist/components/cura-button.d.ts +0 -0
  215. package/dist/components/cura-button.js +1 -205
  216. package/dist/components/cura-calendar.d.ts +0 -0
  217. package/dist/components/cura-calendar.js +1 -9
  218. package/dist/components/cura-card.d.ts +0 -0
  219. package/dist/components/cura-card.js +1 -104
  220. package/dist/components/cura-checkbox.d.ts +0 -0
  221. package/dist/components/cura-checkbox.js +1 -286
  222. package/dist/components/cura-display.d.ts +0 -0
  223. package/dist/components/cura-display.js +1 -128
  224. package/dist/components/cura-dropdown-search-category.d.ts +0 -0
  225. package/dist/components/cura-dropdown-search-category.js +1 -49
  226. package/dist/components/cura-dropdown-search-not-found.d.ts +0 -0
  227. package/dist/components/cura-dropdown-search-not-found.js +1 -48
  228. package/dist/components/cura-dropdown-search-option.d.ts +0 -0
  229. package/dist/components/cura-dropdown-search-option.js +1 -93
  230. package/dist/components/cura-dropdown-search.d.ts +0 -0
  231. package/dist/components/cura-dropdown-search.js +1 -467
  232. package/dist/components/cura-heading.d.ts +0 -0
  233. package/dist/components/cura-heading.js +1 -9
  234. package/dist/components/cura-icon.d.ts +0 -0
  235. package/dist/components/cura-icon.js +1 -9
  236. package/dist/components/cura-icons-view.d.ts +0 -0
  237. package/dist/components/cura-icons-view.js +1 -67
  238. package/dist/components/cura-input-date.d.ts +0 -0
  239. package/dist/components/cura-input-date.js +1 -286
  240. package/dist/components/cura-input-text.d.ts +0 -0
  241. package/dist/components/cura-input-text.js +1 -9
  242. package/dist/components/cura-label.d.ts +0 -0
  243. package/dist/components/cura-label.js +1 -9
  244. package/dist/components/cura-loader-bar.d.ts +0 -0
  245. package/dist/components/cura-loader-bar.js +1 -9
  246. package/dist/components/cura-loader-circle.d.ts +0 -0
  247. package/dist/components/cura-loader-circle.js +1 -9
  248. package/dist/components/cura-modal.d.ts +0 -0
  249. package/dist/components/cura-modal.js +1 -181
  250. package/dist/components/cura-page-template.d.ts +0 -0
  251. package/dist/components/cura-page-template.js +1 -50
  252. package/dist/components/cura-paragraph.d.ts +0 -0
  253. package/dist/components/cura-paragraph.js +1 -9
  254. package/dist/components/cura-progress-bar.d.ts +0 -0
  255. package/dist/components/cura-progress-bar.js +1 -9
  256. package/dist/components/cura-radio.d.ts +0 -0
  257. package/dist/components/cura-radio.js +1 -249
  258. package/dist/components/cura-select-option.d.ts +0 -0
  259. package/dist/components/cura-select-option.js +1 -9
  260. package/dist/components/cura-select.d.ts +0 -0
  261. package/dist/components/cura-select.js +1 -9
  262. package/dist/components/cura-stepper-item.d.ts +0 -0
  263. package/dist/components/cura-stepper-item.js +1 -9
  264. package/dist/components/cura-stepper.d.ts +0 -0
  265. package/dist/components/cura-stepper.js +1 -205
  266. package/dist/components/cura-switch.d.ts +0 -0
  267. package/dist/components/cura-switch.js +1 -201
  268. package/dist/components/cura-tabs-button.d.ts +0 -0
  269. package/dist/components/cura-tabs-button.js +1 -148
  270. package/dist/components/cura-tabs-group.d.ts +0 -0
  271. package/dist/components/cura-tabs-group.js +1 -64
  272. package/dist/components/cura-tabs-transparent.d.ts +0 -0
  273. package/dist/components/cura-tabs-transparent.js +1 -141
  274. package/dist/components/cura-tabs.d.ts +0 -0
  275. package/dist/components/cura-tabs.js +1 -146
  276. package/dist/components/cura-toast.d.ts +0 -0
  277. package/dist/components/cura-toast.js +1 -162
  278. package/dist/components/cura-tooltip.d.ts +0 -0
  279. package/dist/components/cura-tooltip.js +1 -291
  280. package/dist/components/index.d.ts +2 -0
  281. package/dist/components/index.js +1 -115
  282. package/dist/components/p-B2RN7oe_.js +1 -0
  283. package/dist/components/p-B8xnU6YS.js +1 -0
  284. package/dist/components/p-BSI2FkNn.js +1 -11
  285. package/dist/components/p-BSdkRryc.js +1 -0
  286. package/dist/components/p-BYA8glxD.js +1 -0
  287. package/dist/components/p-Bf21UQXV.js +1 -0
  288. package/dist/components/p-C7so9xnO.js +1 -0
  289. package/dist/components/p-CCkEqDZb.js +1 -0
  290. package/dist/components/p-CG1lz5DR.js +1 -0
  291. package/dist/components/p-CHcd-uKK.js +1 -11
  292. package/dist/components/p-CpmZ68rD.js +1 -0
  293. package/dist/components/p-D6xuYQiO.js +1 -0
  294. package/dist/components/p-D7WNwjv-.js +1 -0
  295. package/dist/components/p-DBXUEjWh.js +1 -0
  296. package/dist/components/p-DXlGQp3a.js +1 -0
  297. package/dist/components/p-Dot54hbB.js +1 -19
  298. package/dist/components/p-DxJedO3K.js +1 -0
  299. package/dist/components/p-fR02COZb.js +1 -0
  300. package/dist/components/p-fn4zJrKE.js +1 -0
  301. package/dist/cura/cura.esm.js +1 -2
  302. package/dist/cura/index.esm.js +1 -2
  303. package/dist/cura/p-1dc9c478.entry.js +1 -0
  304. package/dist/cura/p-27ba7ef5.entry.js +1 -0
  305. package/dist/cura/p-2db704a6.entry.js +1 -0
  306. package/dist/cura/p-2e2e2b4d.entry.js +1 -0
  307. package/dist/cura/p-31373db7.entry.js +1 -0
  308. package/dist/cura/p-3a3202f0.entry.js +1 -0
  309. package/dist/cura/p-42e72d12.entry.js +1 -0
  310. package/dist/cura/p-5357f7bd.entry.js +1 -0
  311. package/dist/cura/p-54624944.entry.js +1 -0
  312. package/dist/cura/p-582f8b72.entry.js +1 -0
  313. package/dist/cura/p-7965fe63.entry.js +1 -0
  314. package/dist/cura/p-964stZ3D.js +1 -2
  315. package/dist/cura/p-9de85de6.entry.js +1 -0
  316. package/dist/cura/p-BM8Akv15.js +1 -0
  317. package/dist/cura/p-BSI2FkNn.js +1 -2
  318. package/dist/cura/p-BTIDzOyO.js +1 -0
  319. package/dist/cura/p-BxFVLGIR.js +2 -0
  320. package/dist/cura/p-CHcd-uKK.js +1 -2
  321. package/dist/cura/p-DQopj-k5.js +1 -0
  322. package/dist/cura/p-DfJS7YqS.js +1 -0
  323. package/dist/cura/p-Dot54hbB.js +1 -2
  324. package/dist/cura/p-b14ae206.entry.js +1 -0
  325. package/dist/cura/p-b7369d04.entry.js +1 -0
  326. package/dist/cura/p-bf99e8bf.entry.js +1 -0
  327. package/dist/cura/p-c18d7f16.entry.js +1 -0
  328. package/dist/cura/p-c247c93b.entry.js +1 -0
  329. package/dist/cura/p-cbe8c690.entry.js +1 -0
  330. package/dist/cura/p-d2f670f6.entry.js +1 -0
  331. package/dist/cura/p-d5c6d2b4.entry.js +1 -0
  332. package/dist/cura/p-ddf4d240.entry.js +1 -0
  333. package/dist/cura/p-f534123f.entry.js +1 -0
  334. package/dist/cura/p-f911a6c5.entry.js +1 -0
  335. package/dist/cura/p-sjLA93YY.js +1 -2
  336. package/dist/esm/app-globals-B7bpkHH3.js +67 -0
  337. package/dist/esm/cura-accordion_21.entry.js +266 -207
  338. package/dist/esm/cura-alert.entry.js +7 -8
  339. package/dist/esm/cura-badge-counter.entry.js +13 -10
  340. package/dist/esm/cura-badge-dot.entry.js +4 -7
  341. package/dist/esm/cura-badge-pill.entry.js +7 -8
  342. package/dist/esm/cura-button-outline.entry.js +15 -10
  343. package/dist/esm/cura-button-select.entry.js +10 -9
  344. package/dist/esm/cura-button.definitions-BSI2FkNn.js +0 -3
  345. package/dist/esm/cura-calendar.entry.js +12 -9
  346. package/dist/esm/cura-checkbox.entry.js +18 -11
  347. package/dist/esm/cura-display.entry.js +10 -9
  348. package/dist/esm/cura-dropdown-search-not-found.entry.js +4 -7
  349. package/dist/esm/cura-forms.definitions-Dot54hbB.js +0 -3
  350. package/dist/esm/cura-icon.definitions-sjLA93YY.js +0 -3
  351. package/dist/esm/cura-icons-view.entry.js +4 -7
  352. package/dist/esm/cura-input-date.entry.js +7 -8
  353. package/dist/esm/cura-loader-bar.entry.js +10 -9
  354. package/dist/esm/cura-modal.entry.js +19 -12
  355. package/dist/esm/cura-progress-bar_2.entry.js +6 -9
  356. package/dist/esm/cura-radio.entry.js +15 -10
  357. package/dist/esm/cura-stepper.entry.js +4 -7
  358. package/dist/esm/cura-switch.entry.js +13 -10
  359. package/dist/esm/cura-tabs-button.entry.js +7 -8
  360. package/dist/esm/cura-tabs-transparent.entry.js +7 -8
  361. package/dist/esm/cura-tabs.definitions-CHcd-uKK.js +0 -3
  362. package/dist/esm/{cura-theme-module-BPKQjAwN.js → cura-theme-module-BrK961-w.js} +3 -339
  363. package/dist/esm/cura-toast.entry.js +10 -9
  364. package/dist/esm/cura-tooltip.entry.js +4 -7
  365. package/dist/esm/cura.js +8 -8
  366. package/dist/esm/index-964stZ3D.js +0 -3
  367. package/dist/esm/{index-OdKytJIH.js → index-Ce1Pxw3V.js} +706 -579
  368. package/dist/esm/index.js +3 -4
  369. package/dist/esm/loader.js +7 -7
  370. package/dist/esm/static-DfJS7YqS.js +86 -0
  371. package/dist/esm/theme-legacy-default-BTIDzOyO.js +257 -0
  372. package/dist/index.cjs.js +0 -0
  373. package/dist/index.js +0 -0
  374. package/dist/loader/cdn.js +0 -0
  375. package/dist/loader/index.cjs.js +0 -0
  376. package/dist/loader/index.d.ts +0 -0
  377. package/dist/loader/index.es2017.js +0 -0
  378. package/dist/loader/index.js +0 -0
  379. package/dist/types/api/cura-api.d.ts +0 -0
  380. package/dist/types/api/cura-api.type.d.ts +0 -0
  381. package/dist/types/api/modules/cura-theme-breakpoints-module.d.ts +0 -0
  382. package/dist/types/api/modules/cura-theme-colors-module.d.ts +0 -0
  383. package/dist/types/api/modules/cura-theme-fonts-module.d.ts +0 -0
  384. package/dist/types/api/modules/cura-theme-module.d.ts +0 -0
  385. package/dist/types/api/modules/cura-theme-spacing-module.d.ts +0 -0
  386. package/dist/types/api/theme-presets/static.d.ts +0 -0
  387. package/dist/types/api/theme-presets/theme-default.d.ts +0 -0
  388. package/dist/types/api/theme-presets/theme-legacy-default.d.ts +0 -0
  389. package/dist/types/api/theme-presets/theme-maternity.d.ts +0 -0
  390. package/dist/types/api/theme-presets/theme-oncology.d.ts +0 -0
  391. package/dist/types/api/theme-presets/theme-perinatal-temporary.d.ts +0 -0
  392. package/dist/types/api/theme-presets/theme-presets.d.ts +0 -0
  393. package/dist/types/api/theme-presets/theme-richet.d.ts +0 -0
  394. package/dist/types/assets/icons/iconset-default-list.d.ts +0 -0
  395. package/dist/types/components/accordion/cura-accordion/cura-accordion.d.ts +0 -0
  396. package/dist/types/components/accordion/cura-accordion/cura-accordion.stories.d.ts +0 -0
  397. package/dist/types/components/accordion/cura-accordion-item/cura-accordion-item.d.ts +0 -0
  398. package/dist/types/components/badges/cura-badge-counter/cura-badge-counter.d.ts +0 -0
  399. package/dist/types/components/badges/cura-badge-counter/cura-badge-counter.stories.d.ts +0 -0
  400. package/dist/types/components/badges/cura-badge-distance/cura-badge-distance.d.ts +0 -0
  401. package/dist/types/components/badges/cura-badge-distance/cura-badge-distance.stories.d.ts +0 -0
  402. package/dist/types/components/badges/cura-badge-dot/cura-badge-dot.d.ts +0 -0
  403. package/dist/types/components/badges/cura-badge-dot/cura-badge-dot.stories.d.ts +0 -0
  404. package/dist/types/components/badges/cura-badge-pill/cura-badge-pill.d.ts +0 -0
  405. package/dist/types/components/badges/cura-badge-pill/cura-badge-pill.stories.d.ts +0 -0
  406. package/dist/types/components/buttons/cura-button/cura-button.d.ts +0 -0
  407. package/dist/types/components/buttons/cura-button/cura-button.stories.d.ts +0 -0
  408. package/dist/types/components/buttons/cura-button-outline/cura-button-outline.d.ts +0 -0
  409. package/dist/types/components/buttons/cura-button-outline/cura-button-outline.stories.d.ts +0 -0
  410. package/dist/types/components/buttons/cura-button-select/cura-button-select.d.ts +0 -0
  411. package/dist/types/components/buttons/cura-button-select/cura-button-select.stories.d.ts +0 -0
  412. package/dist/types/components/buttons/cura-button-transparent/cura-button-transparent.d.ts +0 -0
  413. package/dist/types/components/buttons/cura-button-transparent/cura-button-transparent.stories.d.ts +0 -0
  414. package/dist/types/components/buttons/cura-button.definitions.d.ts +0 -0
  415. package/dist/types/components/cura-alert/cura-alert.d.ts +0 -0
  416. package/dist/types/components/cura-alert/cura-alert.stories.d.ts +0 -0
  417. package/dist/types/components/cura-avatar/cura-avatar.d.ts +0 -0
  418. package/dist/types/components/cura-avatar/cura-avatar.definitions.d.ts +0 -0
  419. package/dist/types/components/cura-avatar/cura-avatar.stories.d.ts +0 -0
  420. package/dist/types/components/cura-calendar/cura-calendar.d.ts +0 -0
  421. package/dist/types/components/cura-calendar/cura-calendar.stories.d.ts +0 -0
  422. package/dist/types/components/cura-card/cura-card.d.ts +0 -0
  423. package/dist/types/components/cura-card/cura-card.stories.d.ts +0 -0
  424. package/dist/types/components/cura-dropdown-search/cura-dropdown-search-category/cura-dropdown-search-category.d.ts +0 -0
  425. package/dist/types/components/cura-dropdown-search/cura-dropdown-search-category/cura-dropdown-search-category.stories.d.ts +0 -0
  426. package/dist/types/components/cura-dropdown-search/cura-dropdown-search-not-found/cura-dropdown-search-not-found.d.ts +0 -0
  427. package/dist/types/components/cura-dropdown-search/cura-dropdown-search-not-found/cura-dropdown-search-not-found.stories.d.ts +0 -0
  428. package/dist/types/components/cura-dropdown-search/cura-dropdown-search-option/cura-dropdown-search-option.d.ts +0 -0
  429. package/dist/types/components/cura-dropdown-search/cura-dropdown-search-option/cura-dropdown-search-option.stories.d.ts +0 -0
  430. package/dist/types/components/cura-dropdown-search/cura-dropdown-search.d.ts +0 -0
  431. package/dist/types/components/cura-dropdown-search/cura-dropdown-search.stories.d.ts +0 -0
  432. package/dist/types/components/cura-icon/cura-icon.d.ts +0 -0
  433. package/dist/types/components/cura-icon/cura-icon.definitions.d.ts +0 -0
  434. package/dist/types/components/cura-icon/cura-icon.stories.d.ts +0 -0
  435. package/dist/types/components/cura-icons-view/cura-icons-view.d.ts +0 -0
  436. package/dist/types/components/cura-icons-view/cura-icons-view.stories.d.ts +0 -0
  437. package/dist/types/components/cura-modal/cura-modal.d.ts +0 -0
  438. package/dist/types/components/cura-modal/cura-modal.stories.d.ts +0 -0
  439. package/dist/types/components/cura-page-template/cura-page-template.d.ts +0 -0
  440. package/dist/types/components/cura-stepper/cura-progress-bar/cura-progress-bar.d.ts +0 -0
  441. package/dist/types/components/cura-stepper/cura-stepper-item/cura-stepper-item.d.ts +0 -0
  442. package/dist/types/components/cura-stepper/cura-stepper.d.ts +0 -0
  443. package/dist/types/components/cura-stepper/cura-stepper.stories.d.ts +0 -0
  444. package/dist/types/components/cura-stepper/stepper.type.d.ts +0 -0
  445. package/dist/types/components/cura-toast/cura-toast.d.ts +0 -0
  446. package/dist/types/components/cura-toast/cura-toast.stories.d.ts +0 -0
  447. package/dist/types/components/cura-tooltip/cura-tooltip.d.ts +0 -0
  448. package/dist/types/components/cura-tooltip/cura-tooltip.stories.d.ts +0 -0
  449. package/dist/types/components/forms/cura-checkbox/cura-checkbox.d.ts +0 -0
  450. package/dist/types/components/forms/cura-checkbox/cura-checkbox.stories.d.ts +0 -0
  451. package/dist/types/components/forms/cura-forms.definitions.d.ts +0 -0
  452. package/dist/types/components/forms/cura-input-date/cura-input-date.d.ts +0 -0
  453. package/dist/types/components/forms/cura-input-date/cura-input-date.stories.d.ts +0 -0
  454. package/dist/types/components/forms/cura-input-text/cura-input-text.d.ts +0 -0
  455. package/dist/types/components/forms/cura-input-text/cura-input-text.stories.d.ts +0 -0
  456. package/dist/types/components/forms/cura-input-text/mask-presets/input-mask-presets.d.ts +0 -0
  457. package/dist/types/components/forms/cura-label/cura-label.d.ts +0 -0
  458. package/dist/types/components/forms/cura-label/cura-label.stories.d.ts +0 -0
  459. package/dist/types/components/forms/cura-radio/cura-radio.d.ts +0 -0
  460. package/dist/types/components/forms/cura-radio/cura-radio.stories.d.ts +0 -0
  461. package/dist/types/components/forms/cura-select/cura-select.d.ts +0 -0
  462. package/dist/types/components/forms/cura-select/cura-select.stories.d.ts +0 -0
  463. package/dist/types/components/forms/cura-select-options/cura-select-option.d.ts +0 -0
  464. package/dist/types/components/forms/cura-switch/cura-switch.d.ts +0 -0
  465. package/dist/types/components/forms/cura-switch/cura-switch.stories.d.ts +0 -0
  466. package/dist/types/components/loaders/cura-loader-bar/cura-loader-bar.d.ts +0 -0
  467. package/dist/types/components/loaders/cura-loader-bar/cura-loader-bar.stories.d.ts +0 -0
  468. package/dist/types/components/loaders/cura-loader-circle/cura-loader-circle.d.ts +0 -0
  469. package/dist/types/components/loaders/cura-loader-circle/cura-loader-circle.stories.d.ts +0 -0
  470. package/dist/types/components/tabs/cura-tabs/cura-tabs.d.ts +0 -0
  471. package/dist/types/components/tabs/cura-tabs/cura-tabs.stories.d.ts +0 -0
  472. package/dist/types/components/tabs/cura-tabs-button/cura-tabs-button.d.ts +0 -0
  473. package/dist/types/components/tabs/cura-tabs-button/cura-tabs-button.stories.d.ts +0 -0
  474. package/dist/types/components/tabs/cura-tabs-group/cura-tabs-group.d.ts +0 -0
  475. package/dist/types/components/tabs/cura-tabs-group/cura-tabs-group.stories.d.ts +0 -0
  476. package/dist/types/components/tabs/cura-tabs-transparent/cura-tabs-transparent.d.ts +0 -0
  477. package/dist/types/components/tabs/cura-tabs-transparent/cura-tabs-transparent.stories.d.ts +0 -0
  478. package/dist/types/components/tabs/cura-tabs.definitions.d.ts +0 -0
  479. package/dist/types/components/text/cura-display/cura-display.d.ts +0 -0
  480. package/dist/types/components/text/cura-display/cura-display.stories.d.ts +0 -0
  481. package/dist/types/components/text/cura-heading/cura-heading.d.ts +0 -0
  482. package/dist/types/components/text/cura-heading/cura-heading.stories.d.ts +0 -0
  483. package/dist/types/components/text/cura-paragraph/cura-paragraph.d.ts +0 -0
  484. package/dist/types/components/text/cura-paragraph/cura-paragraph.stories.d.ts +0 -0
  485. package/dist/types/components.d.ts +559 -85
  486. package/dist/types/index.d.ts +0 -0
  487. package/dist/types/rededor-cura-start.d.ts +0 -0
  488. package/dist/types/stencil-public-runtime.d.ts +169 -11
  489. package/dist/types/utils/FixedElementScrollBehavior.d.ts +0 -0
  490. package/dist/types/utils/utils.d.ts +0 -0
  491. package/package.json +4 -3
  492. package/dist/cjs/cura-accordion_21.cjs.entry.js.map +0 -1
  493. package/dist/cjs/cura-alert.cjs.entry.js.map +0 -1
  494. package/dist/cjs/cura-alert.entry.cjs.js.map +0 -1
  495. package/dist/cjs/cura-badge-counter.cjs.entry.js.map +0 -1
  496. package/dist/cjs/cura-badge-counter.entry.cjs.js.map +0 -1
  497. package/dist/cjs/cura-badge-dot.cjs.entry.js.map +0 -1
  498. package/dist/cjs/cura-badge-dot.entry.cjs.js.map +0 -1
  499. package/dist/cjs/cura-badge-pill.cjs.entry.js.map +0 -1
  500. package/dist/cjs/cura-badge-pill.entry.cjs.js.map +0 -1
  501. package/dist/cjs/cura-button-outline.cjs.entry.js.map +0 -1
  502. package/dist/cjs/cura-button-outline.entry.cjs.js.map +0 -1
  503. package/dist/cjs/cura-button-select.cjs.entry.js.map +0 -1
  504. package/dist/cjs/cura-button-select.entry.cjs.js.map +0 -1
  505. package/dist/cjs/cura-button.definitions-B3SK8MaV.js.map +0 -1
  506. package/dist/cjs/cura-calendar.cjs.entry.js.map +0 -1
  507. package/dist/cjs/cura-calendar.entry.cjs.js.map +0 -1
  508. package/dist/cjs/cura-checkbox.cjs.entry.js.map +0 -1
  509. package/dist/cjs/cura-checkbox.entry.cjs.js.map +0 -1
  510. package/dist/cjs/cura-display.cjs.entry.js.map +0 -1
  511. package/dist/cjs/cura-display.entry.cjs.js.map +0 -1
  512. package/dist/cjs/cura-dropdown-search-not-found.cjs.entry.js.map +0 -1
  513. package/dist/cjs/cura-dropdown-search-not-found.entry.cjs.js.map +0 -1
  514. package/dist/cjs/cura-forms.definitions-DVLuO67c.js.map +0 -1
  515. package/dist/cjs/cura-icon.definitions-DT0wF67y.js.map +0 -1
  516. package/dist/cjs/cura-icons-view.cjs.entry.js.map +0 -1
  517. package/dist/cjs/cura-icons-view.entry.cjs.js.map +0 -1
  518. package/dist/cjs/cura-input-date.cjs.entry.js.map +0 -1
  519. package/dist/cjs/cura-input-date.entry.cjs.js.map +0 -1
  520. package/dist/cjs/cura-loader-bar.cjs.entry.js.map +0 -1
  521. package/dist/cjs/cura-loader-bar.entry.cjs.js.map +0 -1
  522. package/dist/cjs/cura-modal.cjs.entry.js.map +0 -1
  523. package/dist/cjs/cura-modal.entry.cjs.js.map +0 -1
  524. package/dist/cjs/cura-progress-bar.cura-stepper-item.entry.cjs.js.map +0 -1
  525. package/dist/cjs/cura-progress-bar_2.cjs.entry.js.map +0 -1
  526. package/dist/cjs/cura-radio.cjs.entry.js.map +0 -1
  527. package/dist/cjs/cura-radio.entry.cjs.js.map +0 -1
  528. package/dist/cjs/cura-stepper.cjs.entry.js.map +0 -1
  529. package/dist/cjs/cura-stepper.entry.cjs.js.map +0 -1
  530. package/dist/cjs/cura-switch.cjs.entry.js.map +0 -1
  531. package/dist/cjs/cura-switch.entry.cjs.js.map +0 -1
  532. package/dist/cjs/cura-tabs-button.cjs.entry.js.map +0 -1
  533. package/dist/cjs/cura-tabs-button.entry.cjs.js.map +0 -1
  534. package/dist/cjs/cura-tabs-transparent.cjs.entry.js.map +0 -1
  535. package/dist/cjs/cura-tabs-transparent.entry.cjs.js.map +0 -1
  536. package/dist/cjs/cura-tabs.definitions-CGqqGE2e.js.map +0 -1
  537. package/dist/cjs/cura-theme-module-CJkmAxBA.js +0 -574
  538. package/dist/cjs/cura-theme-module-CJkmAxBA.js.map +0 -1
  539. package/dist/cjs/cura-toast.cjs.entry.js.map +0 -1
  540. package/dist/cjs/cura-toast.entry.cjs.js.map +0 -1
  541. package/dist/cjs/cura-tooltip.cjs.entry.js.map +0 -1
  542. package/dist/cjs/cura-tooltip.entry.cjs.js.map +0 -1
  543. package/dist/cjs/cura.cjs.js.map +0 -1
  544. package/dist/cjs/index-BK9MSAiE.js.map +0 -1
  545. package/dist/cjs/index-EyP6Zlkd.js.map +0 -1
  546. package/dist/cjs/index.cjs.js.map +0 -1
  547. package/dist/cjs/loader.cjs.js.map +0 -1
  548. package/dist/collection/api/cura-api.js.map +0 -1
  549. package/dist/collection/api/cura-api.type.js.map +0 -1
  550. package/dist/collection/api/modules/cura-theme-breakpoints-module.js.map +0 -1
  551. package/dist/collection/api/modules/cura-theme-colors-module.js.map +0 -1
  552. package/dist/collection/api/modules/cura-theme-fonts-module.js.map +0 -1
  553. package/dist/collection/api/modules/cura-theme-module.js.map +0 -1
  554. package/dist/collection/api/modules/cura-theme-spacing-module.js.map +0 -1
  555. package/dist/collection/api/theme-presets/static.js.map +0 -1
  556. package/dist/collection/api/theme-presets/theme-default.js.map +0 -1
  557. package/dist/collection/api/theme-presets/theme-legacy-default.js.map +0 -1
  558. package/dist/collection/api/theme-presets/theme-maternity.js.map +0 -1
  559. package/dist/collection/api/theme-presets/theme-oncology.js.map +0 -1
  560. package/dist/collection/api/theme-presets/theme-perinatal-temporary.js.map +0 -1
  561. package/dist/collection/api/theme-presets/theme-presets.js.map +0 -1
  562. package/dist/collection/api/theme-presets/theme-richet.js.map +0 -1
  563. package/dist/collection/assets/icons/iconset-default-list.js.map +0 -1
  564. package/dist/collection/components/accordion/cura-accordion/cura-accordion.js.map +0 -1
  565. package/dist/collection/components/accordion/cura-accordion/cura-accordion.stories.js.map +0 -1
  566. package/dist/collection/components/accordion/cura-accordion-item/cura-accordion-item.js.map +0 -1
  567. package/dist/collection/components/badges/cura-badge-counter/cura-badge-counter.js.map +0 -1
  568. package/dist/collection/components/badges/cura-badge-counter/cura-badge-counter.stories.js.map +0 -1
  569. package/dist/collection/components/badges/cura-badge-distance/cura-badge-distance.js.map +0 -1
  570. package/dist/collection/components/badges/cura-badge-distance/cura-badge-distance.stories.js.map +0 -1
  571. package/dist/collection/components/badges/cura-badge-dot/cura-badge-dot.js.map +0 -1
  572. package/dist/collection/components/badges/cura-badge-dot/cura-badge-dot.stories.js.map +0 -1
  573. package/dist/collection/components/badges/cura-badge-pill/cura-badge-pill.js.map +0 -1
  574. package/dist/collection/components/badges/cura-badge-pill/cura-badge-pill.stories.js.map +0 -1
  575. package/dist/collection/components/buttons/cura-button/cura-button.js.map +0 -1
  576. package/dist/collection/components/buttons/cura-button/cura-button.stories.js.map +0 -1
  577. package/dist/collection/components/buttons/cura-button-outline/cura-button-outline.js.map +0 -1
  578. package/dist/collection/components/buttons/cura-button-outline/cura-button-outline.stories.js.map +0 -1
  579. package/dist/collection/components/buttons/cura-button-select/cura-button-select.js.map +0 -1
  580. package/dist/collection/components/buttons/cura-button-select/cura-button-select.stories.js.map +0 -1
  581. package/dist/collection/components/buttons/cura-button-transparent/cura-button-transparent.js.map +0 -1
  582. package/dist/collection/components/buttons/cura-button-transparent/cura-button-transparent.stories.js.map +0 -1
  583. package/dist/collection/components/buttons/cura-button.definitions.js.map +0 -1
  584. package/dist/collection/components/cura-alert/cura-alert.js.map +0 -1
  585. package/dist/collection/components/cura-alert/cura-alert.stories.js.map +0 -1
  586. package/dist/collection/components/cura-avatar/cura-avatar.definitions.js.map +0 -1
  587. package/dist/collection/components/cura-avatar/cura-avatar.js.map +0 -1
  588. package/dist/collection/components/cura-avatar/cura-avatar.stories.js.map +0 -1
  589. package/dist/collection/components/cura-calendar/cura-calendar.js.map +0 -1
  590. package/dist/collection/components/cura-calendar/cura-calendar.stories.js.map +0 -1
  591. package/dist/collection/components/cura-card/cura-card.js.map +0 -1
  592. package/dist/collection/components/cura-card/cura-card.stories.js.map +0 -1
  593. package/dist/collection/components/cura-dropdown-search/cura-dropdown-search-category/cura-dropdown-search-category.js.map +0 -1
  594. package/dist/collection/components/cura-dropdown-search/cura-dropdown-search-category/cura-dropdown-search-category.stories.js.map +0 -1
  595. package/dist/collection/components/cura-dropdown-search/cura-dropdown-search-not-found/cura-dropdown-search-not-found.js.map +0 -1
  596. package/dist/collection/components/cura-dropdown-search/cura-dropdown-search-not-found/cura-dropdown-search-not-found.stories.js.map +0 -1
  597. package/dist/collection/components/cura-dropdown-search/cura-dropdown-search-option/cura-dropdown-search-option.js.map +0 -1
  598. package/dist/collection/components/cura-dropdown-search/cura-dropdown-search-option/cura-dropdown-search-option.stories.js.map +0 -1
  599. package/dist/collection/components/cura-dropdown-search/cura-dropdown-search.js.map +0 -1
  600. package/dist/collection/components/cura-dropdown-search/cura-dropdown-search.stories.js.map +0 -1
  601. package/dist/collection/components/cura-icon/cura-icon.definitions.js.map +0 -1
  602. package/dist/collection/components/cura-icon/cura-icon.js.map +0 -1
  603. package/dist/collection/components/cura-icon/cura-icon.stories.js.map +0 -1
  604. package/dist/collection/components/cura-icons-view/cura-icons-view.js.map +0 -1
  605. package/dist/collection/components/cura-icons-view/cura-icons-view.stories.js.map +0 -1
  606. package/dist/collection/components/cura-modal/cura-modal.js.map +0 -1
  607. package/dist/collection/components/cura-modal/cura-modal.stories.js.map +0 -1
  608. package/dist/collection/components/cura-page-template/cura-page-template.js.map +0 -1
  609. package/dist/collection/components/cura-stepper/cura-progress-bar/cura-progress-bar.js.map +0 -1
  610. package/dist/collection/components/cura-stepper/cura-stepper-item/cura-stepper-item.js.map +0 -1
  611. package/dist/collection/components/cura-stepper/cura-stepper.js.map +0 -1
  612. package/dist/collection/components/cura-stepper/cura-stepper.stories.js.map +0 -1
  613. package/dist/collection/components/cura-stepper/stepper.type.js.map +0 -1
  614. package/dist/collection/components/cura-toast/cura-toast.js.map +0 -1
  615. package/dist/collection/components/cura-toast/cura-toast.stories.js.map +0 -1
  616. package/dist/collection/components/cura-tooltip/cura-tooltip.js.map +0 -1
  617. package/dist/collection/components/cura-tooltip/cura-tooltip.stories.js.map +0 -1
  618. package/dist/collection/components/forms/cura-checkbox/cura-checkbox.js.map +0 -1
  619. package/dist/collection/components/forms/cura-checkbox/cura-checkbox.stories.js.map +0 -1
  620. package/dist/collection/components/forms/cura-forms.definitions.js.map +0 -1
  621. package/dist/collection/components/forms/cura-input-date/cura-input-date.js.map +0 -1
  622. package/dist/collection/components/forms/cura-input-date/cura-input-date.stories.js.map +0 -1
  623. package/dist/collection/components/forms/cura-input-text/cura-input-text.js.map +0 -1
  624. package/dist/collection/components/forms/cura-input-text/cura-input-text.stories.js.map +0 -1
  625. package/dist/collection/components/forms/cura-input-text/mask-presets/input-mask-presets.js.map +0 -1
  626. package/dist/collection/components/forms/cura-label/cura-label.js.map +0 -1
  627. package/dist/collection/components/forms/cura-label/cura-label.stories.js.map +0 -1
  628. package/dist/collection/components/forms/cura-radio/cura-radio.js.map +0 -1
  629. package/dist/collection/components/forms/cura-radio/cura-radio.stories.js.map +0 -1
  630. package/dist/collection/components/forms/cura-select/cura-select.js.map +0 -1
  631. package/dist/collection/components/forms/cura-select/cura-select.stories.js.map +0 -1
  632. package/dist/collection/components/forms/cura-select-options/cura-select-option.js.map +0 -1
  633. package/dist/collection/components/forms/cura-switch/cura-switch.js.map +0 -1
  634. package/dist/collection/components/forms/cura-switch/cura-switch.stories.js.map +0 -1
  635. package/dist/collection/components/loaders/cura-loader-bar/cura-loader-bar.js.map +0 -1
  636. package/dist/collection/components/loaders/cura-loader-bar/cura-loader-bar.stories.js.map +0 -1
  637. package/dist/collection/components/loaders/cura-loader-circle/cura-loader-circle.js.map +0 -1
  638. package/dist/collection/components/loaders/cura-loader-circle/cura-loader-circle.stories.js.map +0 -1
  639. package/dist/collection/components/tabs/cura-tabs/cura-tabs.js.map +0 -1
  640. package/dist/collection/components/tabs/cura-tabs/cura-tabs.stories.js.map +0 -1
  641. package/dist/collection/components/tabs/cura-tabs-button/cura-tabs-button.js.map +0 -1
  642. package/dist/collection/components/tabs/cura-tabs-button/cura-tabs-button.stories.js.map +0 -1
  643. package/dist/collection/components/tabs/cura-tabs-group/cura-tabs-group.js.map +0 -1
  644. package/dist/collection/components/tabs/cura-tabs-group/cura-tabs-group.stories.js.map +0 -1
  645. package/dist/collection/components/tabs/cura-tabs-transparent/cura-tabs-transparent.js.map +0 -1
  646. package/dist/collection/components/tabs/cura-tabs-transparent/cura-tabs-transparent.stories.js.map +0 -1
  647. package/dist/collection/components/tabs/cura-tabs.definitions.js.map +0 -1
  648. package/dist/collection/components/text/cura-display/cura-display.js.map +0 -1
  649. package/dist/collection/components/text/cura-display/cura-display.stories.js.map +0 -1
  650. package/dist/collection/components/text/cura-heading/cura-heading.js.map +0 -1
  651. package/dist/collection/components/text/cura-heading/cura-heading.stories.js.map +0 -1
  652. package/dist/collection/components/text/cura-paragraph/cura-paragraph.js.map +0 -1
  653. package/dist/collection/components/text/cura-paragraph/cura-paragraph.stories.js.map +0 -1
  654. package/dist/collection/index.js.map +0 -1
  655. package/dist/collection/rededor-cura-start.js.map +0 -1
  656. package/dist/collection/utils/FixedElementScrollBehavior.js.map +0 -1
  657. package/dist/collection/utils/utils.js.map +0 -1
  658. package/dist/components/cura-accordion-item.js.map +0 -1
  659. package/dist/components/cura-accordion.js.map +0 -1
  660. package/dist/components/cura-alert.js.map +0 -1
  661. package/dist/components/cura-avatar.js.map +0 -1
  662. package/dist/components/cura-badge-counter.js.map +0 -1
  663. package/dist/components/cura-badge-distance.js.map +0 -1
  664. package/dist/components/cura-badge-dot.js.map +0 -1
  665. package/dist/components/cura-badge-pill.js.map +0 -1
  666. package/dist/components/cura-button-outline.js.map +0 -1
  667. package/dist/components/cura-button-select.js.map +0 -1
  668. package/dist/components/cura-button-transparent.js.map +0 -1
  669. package/dist/components/cura-button.js.map +0 -1
  670. package/dist/components/cura-calendar.js.map +0 -1
  671. package/dist/components/cura-card.js.map +0 -1
  672. package/dist/components/cura-checkbox.js.map +0 -1
  673. package/dist/components/cura-display.js.map +0 -1
  674. package/dist/components/cura-dropdown-search-category.js.map +0 -1
  675. package/dist/components/cura-dropdown-search-not-found.js.map +0 -1
  676. package/dist/components/cura-dropdown-search-option.js.map +0 -1
  677. package/dist/components/cura-dropdown-search.js.map +0 -1
  678. package/dist/components/cura-heading.js.map +0 -1
  679. package/dist/components/cura-icon.js.map +0 -1
  680. package/dist/components/cura-icons-view.js.map +0 -1
  681. package/dist/components/cura-input-date.js.map +0 -1
  682. package/dist/components/cura-input-text.js.map +0 -1
  683. package/dist/components/cura-label.js.map +0 -1
  684. package/dist/components/cura-loader-bar.js.map +0 -1
  685. package/dist/components/cura-loader-circle.js.map +0 -1
  686. package/dist/components/cura-modal.js.map +0 -1
  687. package/dist/components/cura-page-template.js.map +0 -1
  688. package/dist/components/cura-paragraph.js.map +0 -1
  689. package/dist/components/cura-progress-bar.js.map +0 -1
  690. package/dist/components/cura-radio.js.map +0 -1
  691. package/dist/components/cura-select-option.js.map +0 -1
  692. package/dist/components/cura-select.js.map +0 -1
  693. package/dist/components/cura-stepper-item.js.map +0 -1
  694. package/dist/components/cura-stepper.js.map +0 -1
  695. package/dist/components/cura-switch.js.map +0 -1
  696. package/dist/components/cura-tabs-button.js.map +0 -1
  697. package/dist/components/cura-tabs-group.js.map +0 -1
  698. package/dist/components/cura-tabs-transparent.js.map +0 -1
  699. package/dist/components/cura-tabs.js.map +0 -1
  700. package/dist/components/cura-toast.js.map +0 -1
  701. package/dist/components/cura-tooltip.js.map +0 -1
  702. package/dist/components/index.js.map +0 -1
  703. package/dist/components/p-B5aO1chh.js +0 -85
  704. package/dist/components/p-B5aO1chh.js.map +0 -1
  705. package/dist/components/p-BHEafDKD.js +0 -127
  706. package/dist/components/p-BHEafDKD.js.map +0 -1
  707. package/dist/components/p-BRDqwZ4N.js +0 -187
  708. package/dist/components/p-BRDqwZ4N.js.map +0 -1
  709. package/dist/components/p-BSI2FkNn.js.map +0 -1
  710. package/dist/components/p-BrJsfk5q.js +0 -4140
  711. package/dist/components/p-BrJsfk5q.js.map +0 -1
  712. package/dist/components/p-C72aF-gL.js +0 -99
  713. package/dist/components/p-C72aF-gL.js.map +0 -1
  714. package/dist/components/p-CHcd-uKK.js.map +0 -1
  715. package/dist/components/p-CvdWbsfO.js +0 -2147
  716. package/dist/components/p-CvdWbsfO.js.map +0 -1
  717. package/dist/components/p-D1cPOZpG.js +0 -2617
  718. package/dist/components/p-D1cPOZpG.js.map +0 -1
  719. package/dist/components/p-DETZu2ie.js +0 -7032
  720. package/dist/components/p-DETZu2ie.js.map +0 -1
  721. package/dist/components/p-DI4g-ZH4.js +0 -101
  722. package/dist/components/p-DI4g-ZH4.js.map +0 -1
  723. package/dist/components/p-DR1RHrEX.js +0 -120
  724. package/dist/components/p-DR1RHrEX.js.map +0 -1
  725. package/dist/components/p-DaPc6Dxl.js +0 -125
  726. package/dist/components/p-DaPc6Dxl.js.map +0 -1
  727. package/dist/components/p-Dot54hbB.js.map +0 -1
  728. package/dist/components/p-Dqm2sAwv.js +0 -58
  729. package/dist/components/p-Dqm2sAwv.js.map +0 -1
  730. package/dist/components/p-Dt450DkQ.js +0 -86
  731. package/dist/components/p-Dt450DkQ.js.map +0 -1
  732. package/dist/components/p-FTSrgi0q.js +0 -51
  733. package/dist/components/p-FTSrgi0q.js.map +0 -1
  734. package/dist/components/p-KIQMkSRF.js +0 -64
  735. package/dist/components/p-KIQMkSRF.js.map +0 -1
  736. package/dist/components/p-cOEGtL9C.js +0 -131
  737. package/dist/components/p-cOEGtL9C.js.map +0 -1
  738. package/dist/cura/cura-alert.entry.esm.js.map +0 -1
  739. package/dist/cura/cura-badge-counter.entry.esm.js.map +0 -1
  740. package/dist/cura/cura-badge-dot.entry.esm.js.map +0 -1
  741. package/dist/cura/cura-badge-pill.entry.esm.js.map +0 -1
  742. package/dist/cura/cura-button-outline.entry.esm.js.map +0 -1
  743. package/dist/cura/cura-button-select.entry.esm.js.map +0 -1
  744. package/dist/cura/cura-calendar.entry.esm.js.map +0 -1
  745. package/dist/cura/cura-checkbox.entry.esm.js.map +0 -1
  746. package/dist/cura/cura-display.entry.esm.js.map +0 -1
  747. package/dist/cura/cura-dropdown-search-not-found.entry.esm.js.map +0 -1
  748. package/dist/cura/cura-icons-view.entry.esm.js.map +0 -1
  749. package/dist/cura/cura-input-date.entry.esm.js.map +0 -1
  750. package/dist/cura/cura-loader-bar.entry.esm.js.map +0 -1
  751. package/dist/cura/cura-modal.entry.esm.js.map +0 -1
  752. package/dist/cura/cura-progress-bar.cura-stepper-item.entry.esm.js.map +0 -1
  753. package/dist/cura/cura-radio.entry.esm.js.map +0 -1
  754. package/dist/cura/cura-stepper.entry.esm.js.map +0 -1
  755. package/dist/cura/cura-switch.entry.esm.js.map +0 -1
  756. package/dist/cura/cura-tabs-button.entry.esm.js.map +0 -1
  757. package/dist/cura/cura-tabs-transparent.entry.esm.js.map +0 -1
  758. package/dist/cura/cura-toast.entry.esm.js.map +0 -1
  759. package/dist/cura/cura-tooltip.entry.esm.js.map +0 -1
  760. package/dist/cura/cura.esm.js.map +0 -1
  761. package/dist/cura/index.esm.js.map +0 -1
  762. package/dist/cura/loader.esm.js.map +0 -1
  763. package/dist/cura/p-077019da.entry.js +0 -2
  764. package/dist/cura/p-077019da.entry.js.map +0 -1
  765. package/dist/cura/p-07783235.entry.js +0 -2
  766. package/dist/cura/p-07783235.entry.js.map +0 -1
  767. package/dist/cura/p-090e297c.entry.js +0 -2
  768. package/dist/cura/p-090e297c.entry.js.map +0 -1
  769. package/dist/cura/p-16c0b52c.entry.js +0 -2
  770. package/dist/cura/p-16c0b52c.entry.js.map +0 -1
  771. package/dist/cura/p-32015dcc.entry.js +0 -2
  772. package/dist/cura/p-32015dcc.entry.js.map +0 -1
  773. package/dist/cura/p-32f94709.entry.js +0 -2
  774. package/dist/cura/p-32f94709.entry.js.map +0 -1
  775. package/dist/cura/p-3d6040e2.entry.js +0 -2
  776. package/dist/cura/p-3d6040e2.entry.js.map +0 -1
  777. package/dist/cura/p-4ac578a6.entry.js +0 -2
  778. package/dist/cura/p-4ac578a6.entry.js.map +0 -1
  779. package/dist/cura/p-4bde448e.entry.js +0 -2
  780. package/dist/cura/p-4bde448e.entry.js.map +0 -1
  781. package/dist/cura/p-5ed7ce95.entry.js +0 -2
  782. package/dist/cura/p-5ed7ce95.entry.js.map +0 -1
  783. package/dist/cura/p-7586fd07.entry.js +0 -2
  784. package/dist/cura/p-7586fd07.entry.js.map +0 -1
  785. package/dist/cura/p-76603652.entry.js +0 -2
  786. package/dist/cura/p-76603652.entry.js.map +0 -1
  787. package/dist/cura/p-76cbb798.entry.js +0 -2
  788. package/dist/cura/p-76cbb798.entry.js.map +0 -1
  789. package/dist/cura/p-7fd143aa.entry.js +0 -2
  790. package/dist/cura/p-7fd143aa.entry.js.map +0 -1
  791. package/dist/cura/p-8c83f259.entry.js +0 -2
  792. package/dist/cura/p-8c83f259.entry.js.map +0 -1
  793. package/dist/cura/p-8d10a5a2.entry.js +0 -2
  794. package/dist/cura/p-8d10a5a2.entry.js.map +0 -1
  795. package/dist/cura/p-95cd7918.entry.js +0 -2
  796. package/dist/cura/p-95cd7918.entry.js.map +0 -1
  797. package/dist/cura/p-964stZ3D.js.map +0 -1
  798. package/dist/cura/p-9ef5444e.entry.js +0 -2
  799. package/dist/cura/p-9ef5444e.entry.js.map +0 -1
  800. package/dist/cura/p-BPKQjAwN.js +0 -2
  801. package/dist/cura/p-BPKQjAwN.js.map +0 -1
  802. package/dist/cura/p-BSI2FkNn.js.map +0 -1
  803. package/dist/cura/p-CHcd-uKK.js.map +0 -1
  804. package/dist/cura/p-Dot54hbB.js.map +0 -1
  805. package/dist/cura/p-PPMZr_VE.js +0 -3
  806. package/dist/cura/p-PPMZr_VE.js.map +0 -1
  807. package/dist/cura/p-bdfe9af2.entry.js +0 -2
  808. package/dist/cura/p-bdfe9af2.entry.js.map +0 -1
  809. package/dist/cura/p-c6f240f0.entry.js +0 -2
  810. package/dist/cura/p-c6f240f0.entry.js.map +0 -1
  811. package/dist/cura/p-ceb646df.entry.js +0 -2
  812. package/dist/cura/p-ceb646df.entry.js.map +0 -1
  813. package/dist/cura/p-d040f8b9.entry.js +0 -2
  814. package/dist/cura/p-d040f8b9.entry.js.map +0 -1
  815. package/dist/cura/p-f9af3a3b.entry.js +0 -2
  816. package/dist/cura/p-f9af3a3b.entry.js.map +0 -1
  817. package/dist/cura/p-sjLA93YY.js.map +0 -1
  818. package/dist/esm/cura-accordion_21.entry.js.map +0 -1
  819. package/dist/esm/cura-alert.entry.js.map +0 -1
  820. package/dist/esm/cura-badge-counter.entry.js.map +0 -1
  821. package/dist/esm/cura-badge-dot.entry.js.map +0 -1
  822. package/dist/esm/cura-badge-pill.entry.js.map +0 -1
  823. package/dist/esm/cura-button-outline.entry.js.map +0 -1
  824. package/dist/esm/cura-button-select.entry.js.map +0 -1
  825. package/dist/esm/cura-button.definitions-BSI2FkNn.js.map +0 -1
  826. package/dist/esm/cura-calendar.entry.js.map +0 -1
  827. package/dist/esm/cura-checkbox.entry.js.map +0 -1
  828. package/dist/esm/cura-display.entry.js.map +0 -1
  829. package/dist/esm/cura-dropdown-search-not-found.entry.js.map +0 -1
  830. package/dist/esm/cura-forms.definitions-Dot54hbB.js.map +0 -1
  831. package/dist/esm/cura-icon.definitions-sjLA93YY.js.map +0 -1
  832. package/dist/esm/cura-icons-view.entry.js.map +0 -1
  833. package/dist/esm/cura-input-date.entry.js.map +0 -1
  834. package/dist/esm/cura-loader-bar.entry.js.map +0 -1
  835. package/dist/esm/cura-modal.entry.js.map +0 -1
  836. package/dist/esm/cura-progress-bar.cura-stepper-item.entry.js.map +0 -1
  837. package/dist/esm/cura-progress-bar_2.entry.js.map +0 -1
  838. package/dist/esm/cura-radio.entry.js.map +0 -1
  839. package/dist/esm/cura-stepper.entry.js.map +0 -1
  840. package/dist/esm/cura-switch.entry.js.map +0 -1
  841. package/dist/esm/cura-tabs-button.entry.js.map +0 -1
  842. package/dist/esm/cura-tabs-transparent.entry.js.map +0 -1
  843. package/dist/esm/cura-tabs.definitions-CHcd-uKK.js.map +0 -1
  844. package/dist/esm/cura-theme-module-BPKQjAwN.js.map +0 -1
  845. package/dist/esm/cura-toast.entry.js.map +0 -1
  846. package/dist/esm/cura-tooltip.entry.js.map +0 -1
  847. package/dist/esm/cura.js.map +0 -1
  848. package/dist/esm/index-964stZ3D.js.map +0 -1
  849. package/dist/esm/index-OdKytJIH.js.map +0 -1
  850. package/dist/esm/index.js.map +0 -1
  851. package/dist/esm/loader.js.map +0 -1
@@ -1,127 +0,0 @@
1
- import { p as proxyCustomElement, H, h, d as Host } from './p-D1cPOZpG.js';
2
-
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
-
5
- const CuraHeading = /*@__PURE__*/ proxyCustomElement(class CuraHeading extends H {
6
- constructor() {
7
- super();
8
- this.__registerHost();
9
- this.__attachShadow();
10
- /**
11
- * Heading level for semantics. Will render the related HTML tag <h1>, <h2>, ...
12
- * Values: 1(default) to 6.
13
- */
14
- this.level = 1;
15
- /**
16
- * Heading style size.
17
- * Values: regular (deprecated), medium (default) | large | small | caption (deprecated) | xsmall.
18
- */
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
- */
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
- */
29
- this.spotColor = 'accent-dark';
30
- /**
31
- * CSS margin-block property values.
32
- * Default to 1.25em
33
- */
34
- this.marginBlock = '1.25em';
35
- /**
36
- * CSS line-height property values.
37
- * Default to 130%
38
- */
39
- this.lineHeight = '130%';
40
- /**
41
- * Apply text-overflow ellipsis definitions.
42
- * Default to none
43
- */
44
- this.textOverflow = 'none';
45
- this.styles = {};
46
- this.theme = window.CuraAPI.theme;
47
- }
48
- connectedCallback() {
49
- this.setFontProperties();
50
- }
51
- getClasses() {
52
- const classes = {
53
- 'textoverflow-single': this.textOverflow === 'single'
54
- };
55
- classes[this.size.toLowerCase()] = true;
56
- classes[`${this.weight.toLowerCase()}-weight`] = true;
57
- return classes;
58
- }
59
- setFontProperties() {
60
- this.weights = this.theme.fonts.getWeights();
61
- this.fontSizeBase = this.theme.fonts.getSize();
62
- this.styles = {
63
- '--font-family': window.CuraAPI.theme.fonts.getFamily('heading'),
64
- '--font-weight-regular': this.weights.regular,
65
- '--font-weight-medium': this.weights.medium,
66
- '--font-weight-bold': this.weights.bold,
67
- '--font-weight-black': this.weights.black
68
- };
69
- }
70
- hostCSSProperties() {
71
- const fontColor = this.color
72
- ? this.theme.colors.getColor(this.color)
73
- : this.theme.fonts.getColor();
74
- return {
75
- '--margin-block': this.marginBlock,
76
- '--font-size-base': this.fontSizeBase,
77
- '--line-height': this.lineHeight,
78
- '--color-body': fontColor || this.theme.colors.getColor('neutral-darker'),
79
- '--color-spot': this.theme.colors.getColor(`${this.spotColor}`)
80
- };
81
- }
82
- getHeadingTag() {
83
- const tags = {
84
- '1': h("h1", { style: this.styles, class: this.getClasses() }, h("slot", null)),
85
- '2': h("h2", { style: this.styles, class: this.getClasses() }, h("slot", null)),
86
- '3': h("h3", { style: this.styles, class: this.getClasses() }, h("slot", null)),
87
- '4': h("h4", { style: this.styles, class: this.getClasses() }, h("slot", null)),
88
- '5': h("h5", { style: this.styles, class: this.getClasses() }, h("slot", null)),
89
- '6': h("h6", { style: this.styles, class: this.getClasses() }, h("slot", null)),
90
- 'default': h("h1", { style: this.styles, class: this.getClasses() }, h("slot", null))
91
- };
92
- return tags[`${this.level}`] || tags['default'];
93
- }
94
- render() {
95
- return (h(Host, { key: 'd32c25d0110f82182f4559789f3d2db04e040afe', style: this.hostCSSProperties(), role: "heading", "aria-level": this.level }, this.getHeadingTag()));
96
- }
97
- get host() { return this; }
98
- static get style() { return curaHeadingCss; }
99
- }, [1, "cura-heading", {
100
- "level": [514],
101
- "size": [513],
102
- "weight": [513],
103
- "spotColor": [513, "spot-color"],
104
- "color": [513],
105
- "marginBlock": [513, "margin-block"],
106
- "lineHeight": [513, "line-height"],
107
- "textOverflow": [513, "text-overflow"],
108
- "styles": [32]
109
- }]);
110
- function defineCustomElement() {
111
- if (typeof customElements === "undefined") {
112
- return;
113
- }
114
- const components = ["cura-heading"];
115
- components.forEach(tagName => { switch (tagName) {
116
- case "cura-heading":
117
- if (!customElements.get(tagName)) {
118
- customElements.define(tagName, CuraHeading);
119
- }
120
- break;
121
- } });
122
- }
123
-
124
- export { CuraHeading as C, defineCustomElement as d };
125
- //# sourceMappingURL=p-BHEafDKD.js.map
126
-
127
- //# sourceMappingURL=p-BHEafDKD.js.map
@@ -1 +0,0 @@
1
- {"file":"p-BHEafDKD.js","mappings":";;AAAA,MAAM,cAAc,GAAG,8vJAA8vJ;;MCOxwJ,WAAW,iBAAAA,kBAAA,CAAA,MAAA,WAAA,SA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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,187 +0,0 @@
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
-
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
-
9
- const CuraButtonTransparent = /*@__PURE__*/ proxyCustomElement(class CuraButtonTransparent extends H {
10
- constructor() {
11
- super();
12
- this.__registerHost();
13
- this.__attachShadow();
14
- this.internals = this.attachInternals();
15
- /**
16
- * Button type: button (default) | submit | reset
17
- */
18
- this.type = 'button';
19
- /**
20
- * Button size: small | medium | large (default)
21
- */
22
- this.size = 'large';
23
- /**
24
- * Disabled state. Boolean.
25
- */
26
- this.disabled = false;
27
- /**
28
- * Loading state. Boolean.
29
- */
30
- this.isLoading = false;
31
- /**
32
- * Custom iconset if needed.
33
- */
34
- this.iconset = 'default';
35
- /**
36
- * Icon position: left (default) | right.
37
- */
38
- this.iconPosition = 'left';
39
- /**
40
- * Set button to FAB/icon only.
41
- */
42
- this.iconOnly = false;
43
- /**
44
- * Set target if link.
45
- */
46
- this.target = "_self";
47
- /**
48
- * Color base from color scheme. Default: accent.
49
- */
50
- this.color = 'primary';
51
- /**
52
- * Set the font color to dark or light.
53
- * Default: dark.
54
- */
55
- this.fontColor = 'dark';
56
- /**
57
- * Set text aligment for the button label.
58
- * Vales: left (default) | center | right.
59
- */
60
- this.textAlign = 'left';
61
- /**
62
- * Justify icons and label inside the button.
63
- * Vales: false (default) | true.
64
- */
65
- this.justify = false;
66
- this.hovered = false;
67
- this.styles = {};
68
- }
69
- connectedCallback() {
70
- this.weights = window.CuraAPI.theme.fonts.getWeights();
71
- this.styles['--base-spacing'] = window.CuraAPI.theme.spacing.getSpacing();
72
- this.styles['--neutral-white'] = window.CuraAPI.theme.colors.getColor(`neutral-white`);
73
- this.styles['--neutral-base'] = window.CuraAPI.theme.colors.getColor(`neutral-base`);
74
- this.styles['--neutral-dark'] = window.CuraAPI.theme.colors.getColor(`neutral-dark`);
75
- this.styles['--font-size'] = window.CuraAPI.theme.fonts.getSize();
76
- this.styles['--font-family'] = window.CuraAPI.theme.fonts.getFamily();
77
- this.styles['--font-weight-medium'] = this.weights.medium;
78
- this.styles['--text-align'] = this.textAlign;
79
- }
80
- getClasses() {
81
- const classes = {};
82
- classes[`${this.size.toLowerCase()}`] = true;
83
- classes[`icon-${this.iconPosition.toLowerCase()}`] = true;
84
- classes[`icon-only`] = this.iconOnly;
85
- classes['disabled'] = this.disabled;
86
- classes['isLoading'] = this.isLoading;
87
- classes['justify'] = this.justify;
88
- return classes;
89
- }
90
- getIcon() {
91
- if (!this.iconName)
92
- return null;
93
- const iconSize = this.size === 'large' ? 20 : 16;
94
- return h("cura-icon", { name: this.iconName, iconset: this.iconset, size: iconSize, color: this.getSymbolColor() });
95
- }
96
- handleMouseEnter() {
97
- if (this.disabled)
98
- return;
99
- this.hovered = true;
100
- }
101
- handleMouseLeave() {
102
- this.hovered = false;
103
- }
104
- getSymbolColor() {
105
- if (this.disabled)
106
- return 'neutral-dark';
107
- if (this.hovered && !this.isLoading)
108
- return this.fontColor === 'light' ? `${this.color}-light` : `${this.color}-darker`;
109
- return this.fontColor === 'light' ? 'neutral-white' : `${this.color}-dark`;
110
- }
111
- handleClick(e) {
112
- if (this.disabled || this.isLoading) {
113
- e.preventDefault();
114
- return;
115
- }
116
- if (!this.href) {
117
- if (this.type === 'submit' && this.internals.form)
118
- this.internals.form.submit();
119
- if (this.type === 'reset' && this.internals.form)
120
- this.internals.form.reset();
121
- }
122
- }
123
- render() {
124
- const symbolColor = this.getSymbolColor();
125
- const labelSize = labelSizes[this.size] || labelSizes["default"];
126
- return (h(Host, { key: 'b10c4c589085d0e4d5d1c8311ec039d42060674c', role: this.href ? 'link' : this.type, "aria-disabled": this.disabled }, this.href ? (h("a", { href: this.disabled ? '' : this.href, target: this.target, class: this.getClasses(), style: this.styles, onClick: (e) => this.handleClick(e), onMouseEnter: () => this.handleMouseEnter(), onMouseLeave: () => this.handleMouseLeave() }, h("span", { class: "button-container" }, this.getIcon(), h("cura-label", { size: labelSize, lineHeight: 'normal', color: symbolColor }, h("slot", null))), h("cura-loader-circle", { size: this.size, color: symbolColor }))) : (h("button", { class: this.getClasses(), style: this.styles, disabled: this.disabled || null, onClick: (e) => this.handleClick(e), onMouseEnter: () => this.handleMouseEnter(), onMouseLeave: () => this.handleMouseLeave(), type: this.type }, h("span", { class: "button-container" }, this.getIcon(), h("cura-label", { size: labelSize, lineHeight: 'normal', color: symbolColor }, h("slot", null))), h("cura-loader-circle", { size: this.size, color: symbolColor })))));
127
- }
128
- static get formAssociated() { return true; }
129
- static get watchers() { return {
130
- "fontColor": ["getSymbolColor"],
131
- "color": ["getSymbolColor"]
132
- }; }
133
- static get style() { return curaButtonTransparentCss; }
134
- }, [65, "cura-button-transparent", {
135
- "type": [513],
136
- "size": [513],
137
- "disabled": [516],
138
- "isLoading": [516, "is-loading"],
139
- "iconName": [513, "icon-name"],
140
- "iconset": [513],
141
- "iconPosition": [513, "icon-position"],
142
- "iconOnly": [516, "icon-only"],
143
- "href": [513],
144
- "target": [513],
145
- "color": [513],
146
- "fontColor": [513, "font-color"],
147
- "textAlign": [513, "text-align"],
148
- "justify": [516],
149
- "hovered": [32],
150
- "styles": [32]
151
- }, undefined, {
152
- "fontColor": ["getSymbolColor"],
153
- "color": ["getSymbolColor"]
154
- }]);
155
- function defineCustomElement() {
156
- if (typeof customElements === "undefined") {
157
- return;
158
- }
159
- const components = ["cura-button-transparent", "cura-icon", "cura-label", "cura-loader-circle"];
160
- components.forEach(tagName => { switch (tagName) {
161
- case "cura-button-transparent":
162
- if (!customElements.get(tagName)) {
163
- customElements.define(tagName, CuraButtonTransparent);
164
- }
165
- break;
166
- case "cura-icon":
167
- if (!customElements.get(tagName)) {
168
- defineCustomElement$3();
169
- }
170
- break;
171
- case "cura-label":
172
- if (!customElements.get(tagName)) {
173
- defineCustomElement$2();
174
- }
175
- break;
176
- case "cura-loader-circle":
177
- if (!customElements.get(tagName)) {
178
- defineCustomElement$1();
179
- }
180
- break;
181
- } });
182
- }
183
-
184
- export { CuraButtonTransparent as C, defineCustomElement as d };
185
- //# sourceMappingURL=p-BRDqwZ4N.js.map
186
-
187
- //# sourceMappingURL=p-BRDqwZ4N.js.map
@@ -1 +0,0 @@
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,IAAK,CAAA,KAAA,GAAG,SAAS;AAE1C;;;AAGG;AACsB,QAAA,IAAS,CAAA,SAAA,GAAqB,MAAM;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,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}
@@ -1 +0,0 @@
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}