@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,101 +0,0 @@
1
- import { p as proxyCustomElement, H, h, d as Host } from './p-D1cPOZpG.js';
2
-
3
- const curaParagraphCss = ":host{display:block;font-size:var(--font-size-base);min-width:0}:host p{font-family:var(--font-family);font-size:var(--font-size-base);font-weight:var(--font-weight-regular);color:var(--color-body);line-height:var(--line-height);margin-block:var(--margin-block);letter-spacing:0.28px;width:100%}:host p.large{font-size:1.214em;line-height:calc(var(--line-height) + 10%);letter-spacing:0px}:host p.small{font-size:0.85em;line-height:calc(var(--line-height) - 5%);letter-spacing:0.48px}:host p.caption,:host p.xsmall{font-size:0.8571428571em;line-height:calc(var(--line-height) - 5%);letter-spacing:0.6px}:host p.textoverflow-single{text-overflow:ellipsis;white-space:nowrap;overflow:hidden;display:block}:host p ::slotted(b),:host p ::slotted(strong){font-weight:var(--font-weight-bold)}:host p ::slotted(a),:host p ::slotted(a:-webkit-any-link){font-weight:var(--font-weight-medium);color:var(--color-spot);text-underline-offset:10%}:host p ::slotted(u){font-weight:var(--font-weight-medium);text-underline-offset:10%}:host p ::slotted(i){font-style:italic}:host p ::slotted(em){font-weight:var(--font-weight-bold);color:var(--color-spot);font-style:normal}:host p ::slotted(abbr){color:var(--color-spot);text-decoration:underline dashed 1px var(--color-spot);text-underline-offset:10%;cursor:default}@media (min-width: 769px) and (max-width: 1920px){:host p{font-size:1.143em;line-height:calc(var(--line-height) + 5%);letter-spacing:0.32px}:host p.large{font-size:1.357em;line-height:calc(var(--line-height) + 10%);letter-spacing:0px}:host p.small{font-size:1em;line-height:calc(var(--line-height) - 5%);letter-spacing:0.56px}:host p.caption,:host p.xsmall{font-size:0.8571428571em;line-height:calc(var(--line-height) - 5%);letter-spacing:0.72px}}@media (min-width: 1921px){:host p{font-size:1.429em;line-height:calc(var(--line-height) + 10%);letter-spacing:0px}:host p.large{font-size:1.714em;line-height:calc(var(--line-height) + 20%)}:host p.small{font-size:1.21em;line-height:calc(var(--line-height) + 5%);letter-spacing:0px}:host p.caption,:host p.xsmall{font-size:1em;line-height:calc(var(--line-height) + 5%);letter-spacing:0.28px}}";
4
-
5
- const CuraParagraph = /*@__PURE__*/ proxyCustomElement(class CuraParagraph extends H {
6
- constructor() {
7
- super();
8
- this.__registerHost();
9
- this.__attachShadow();
10
- /**
11
- * Set size of body text.
12
- * Values: regular (deprecated), medium (default) | large | small | caption (deprecated) | xsmall.
13
- */
14
- this.size = 'medium';
15
- /**
16
- * Apply design system color to interactive elements like <a> and <abbr> inside the text.
17
- * Values: Color from design system scheme. Default to 'accent-dark'.
18
- */
19
- this.spotColor = 'accent-dark';
20
- /**
21
- * CSS margin-block property values.
22
- * Default to 1.25em
23
- */
24
- this.marginBlock = '1.25em';
25
- /**
26
- * CSS line-height property values.
27
- * Default to 140%
28
- */
29
- this.lineHeight = '140%';
30
- /**
31
- * Apply text-overflow ellipsis definitions.
32
- * Default to none
33
- */
34
- this.textOverflow = 'none';
35
- this.styles = {};
36
- this.theme = window.CuraAPI.theme;
37
- }
38
- connectedCallback() {
39
- this.setFontProperties();
40
- }
41
- setFontProperties() {
42
- this.weights = this.theme.fonts.getWeights();
43
- this.fontSizeBase = this.theme.fonts.getSize();
44
- this.styles = {
45
- '--font-family': this.theme.fonts.getFamily('body'),
46
- '--font-weight-regular': this.weights.regular,
47
- '--font-weight-medium': this.weights.medium,
48
- '--font-weight-bold': this.weights.bold
49
- };
50
- }
51
- hostCSSProperties() {
52
- const fontColor = this.color
53
- ? this.theme.colors.getColor(this.color)
54
- : this.theme.fonts.getColor();
55
- return {
56
- '--margin-block': this.marginBlock,
57
- '--font-size-base': this.fontSizeBase,
58
- '--line-height': this.lineHeight,
59
- '--color-body': fontColor || this.theme.colors.getColor('neutral-darker'),
60
- '--color-spot': this.theme.colors.getColor(`${this.spotColor}`)
61
- };
62
- }
63
- getClasses() {
64
- const classes = {
65
- 'textoverflow-single': this.textOverflow === 'single',
66
- };
67
- classes[this.size.toLowerCase()] = true;
68
- return classes;
69
- }
70
- render() {
71
- return (h(Host, { key: 'c3789e60b50107cc39c51e4a3ec317e86c966689', style: this.hostCSSProperties() }, h("p", { key: 'f70ffc6277b6164dfc8d230123820efb3d5daa64', style: this.styles, class: this.getClasses() }, h("slot", { key: '66251e59d51637fc7820516b17af8947cc9168e8' }))));
72
- }
73
- get host() { return this; }
74
- static get style() { return curaParagraphCss; }
75
- }, [1, "cura-paragraph", {
76
- "size": [513],
77
- "spotColor": [513, "spot-color"],
78
- "color": [513],
79
- "marginBlock": [513, "margin-block"],
80
- "lineHeight": [513, "line-height"],
81
- "textOverflow": [513, "text-overflow"],
82
- "styles": [32]
83
- }]);
84
- function defineCustomElement() {
85
- if (typeof customElements === "undefined") {
86
- return;
87
- }
88
- const components = ["cura-paragraph"];
89
- components.forEach(tagName => { switch (tagName) {
90
- case "cura-paragraph":
91
- if (!customElements.get(tagName)) {
92
- customElements.define(tagName, CuraParagraph);
93
- }
94
- break;
95
- } });
96
- }
97
-
98
- export { CuraParagraph as C, defineCustomElement as d };
99
- //# sourceMappingURL=p-DI4g-ZH4.js.map
100
-
101
- //# sourceMappingURL=p-DI4g-ZH4.js.map
@@ -1 +0,0 @@
1
- {"file":"p-DI4g-ZH4.js","mappings":";;AAAA,MAAM,gBAAgB,GAAG,8lEAA8lE;;MCO1mE,aAAa,iBAAAA,kBAAA,CAAA,MAAA,aAAA,SAAAC,CAAA,CAAA;AAL1B,IAAA,WAAA,GAAA;;;;AAOE;;;AAGG;AACoB,QAAA,IAAI,CAAA,IAAA,GAAoE,QAAQ;AAEvG;;;AAGE;AACqB,QAAA,IAAS,CAAA,SAAA,GAAG,aAAa;AAQhD;;;AAGG;AACoB,QAAA,IAAW,CAAA,WAAA,GAAG,QAAQ;AAE7C;;;AAGG;AACoB,QAAA,IAAU,CAAA,UAAA,GAAG,MAAM;AAE1C;;;AAGG;AACoB,QAAA,IAAY,CAAA,YAAA,GAA+B,MAAM;AAY/D,QAAA,IAAM,CAAA,MAAA,GAAG,EAAE;QACpB,IAAA,CAAA,KAAK,GAAG,MAAM,CAAC,OAAO,CAAC,KAAK;AAgD7B;IA9CC,iBAAiB,GAAA;QACf,IAAI,CAAC,iBAAiB,EAAE;;IAG1B,iBAAiB,GAAA;QACf,IAAI,CAAC,OAAO,GAAG,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,UAAU,EAAE;QAC5C,IAAI,CAAC,YAAY,GAAG,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,OAAO,EAAE;QAC9C,IAAI,CAAC,MAAM,GAAG;YACZ,eAAe,EAAE,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,SAAS,CAAC,MAAM,CAAC;AACnD,YAAA,uBAAuB,EAAE,IAAI,CAAC,OAAO,CAAC,OAAO;AAC7C,YAAA,sBAAsB,EAAE,IAAI,CAAC,OAAO,CAAC,MAAM;AAC3C,YAAA,oBAAoB,EAAE,IAAI,CAAC,OAAO,CAAC;SACpC;;IAGH,iBAAiB,GAAA;AACf,QAAA,MAAM,SAAS,GAAG,IAAI,CAAC;AACrB,cAAE,IAAI,CAAC,KAAK,CAAC,MAAM,CAAC,QAAQ,CAAC,IAAI,CAAC,KAAK;cACrC,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,QAAQ,EAAE;QAC/B,OAAO;YACL,gBAAgB,EAAE,IAAI,CAAC,WAAW;YAClC,kBAAkB,EAAE,IAAI,CAAC,YAAY;YACrC,eAAe,EAAE,IAAI,CAAC,UAAU;AAChC,YAAA,cAAc,EAAE,SAAS,IAAI,IAAI,CAAC,KAAK,CAAC,MAAM,CAAC,QAAQ,CAAC,gBAAgB,CAAC;AACzE,YAAA,cAAc,EAAE,IAAI,CAAC,KAAK,CAAC,MAAM,CAAC,QAAQ,CAAC,CAAG,EAAA,IAAI,CAAC,SAAS,EAAE;SAC/D;;IAGH,UAAU,GAAA;AACR,QAAA,MAAM,OAAO,GAAG;AACd,YAAA,qBAAqB,EAAE,IAAI,CAAC,YAAY,KAAK,QAAQ;SACtD;QACD,OAAO,CAAC,IAAI,CAAC,IAAI,CAAC,WAAW,EAAE,CAAC,GAAG,IAAI;AACvC,QAAA,OAAO,OAAO;;IAGhB,MAAM,GAAA;QACJ,QACE,EAAC,IAAI,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAC,KAAK,EAAE,IAAI,CAAC,iBAAiB,EAAE,EAAA,EACnC,CAAG,CAAA,GAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAA,KAAK,EAAE,IAAI,CAAC,MAAM,EAAE,KAAK,EAAE,IAAI,CAAC,UAAU,EAAE,EAAA,EAC7C,CAAa,CAAA,MAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAA,CAAA,CACX,CACC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","names":["__stencil_proxyCustomElement","HTMLElement"],"sources":["src/components/text/cura-paragraph/cura-paragraph.scss?tag=cura-paragraph&encapsulation=shadow","src/components/text/cura-paragraph/cura-paragraph.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 min-width: 0;\n\n p {\n font-family: var(--font-family);\n font-size: var(--font-size-base);\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: 0.28px;\n width: 100%;\n\n &.large {\n font-size: 1.214em;\n line-height: calc(var(--line-height) + 10%);\n letter-spacing: 0px;\n }\n\n &.small {\n font-size: 0.85em;\n line-height: calc(var(--line-height) - 5%);\n letter-spacing: 0.48px;\n }\n\n &.caption, &.xsmall {\n font-size: 0.8571428571428571em;\n line-height: calc(var(--line-height) - 5%);\n letter-spacing: 0.6px;\n }\n\n &.textoverflow-single {\n @include truncate-single();\n }\n\n ::slotted(b), ::slotted(strong) {\n font-weight: var(--font-weight-bold);\n }\n\n ::slotted(a),\n ::slotted(a:-webkit-any-link) {\n font-weight: var(--font-weight-medium);\n color: var(--color-spot);\n text-underline-offset: 10%;\n }\n\n ::slotted(u) {\n font-weight: var(--font-weight-medium);\n text-underline-offset: 10%;\n }\n\n ::slotted(i) {\n font-style: italic;\n }\n\n ::slotted(em) {\n font-weight: var(--font-weight-bold);\n color: var(--color-spot);\n font-style: normal;\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\n @include medium-large() {\n p {\n font-size: 1.143em;\n line-height: calc(var(--line-height) + 5%);\n letter-spacing: 0.32px;\n\n &.large {\n font-size: 1.357em;\n line-height: calc(var(--line-height) + 10%);\n letter-spacing: 0px;\n }\n\n &.small {\n font-size: 1em;\n line-height: calc(var(--line-height) - 5%);\n letter-spacing: 0.56px;\n }\n\n &.caption, &.xsmall {\n font-size: 0.8571428571428571em;\n line-height: calc(var(--line-height) - 5%);\n letter-spacing: 0.72px;\n }\n }\n }\n\n @include xlarge-only() {\n p {\n font-size: 1.429em;\n line-height: calc(var(--line-height) + 10%);\n letter-spacing: 0px;\n\n &.large {\n font-size: 1.714em;\n line-height: calc(var(--line-height) + 20%);\n }\n\n &.small {\n font-size: 1.21em;\n line-height: calc(var(--line-height) + 5%);\n letter-spacing: 0px;\n }\n\n &.caption, &.xsmall {\n font-size: 1em;\n line-height: calc(var(--line-height) + 5%);\n letter-spacing: 0.28px;\n }\n }\n }\n\n}\n\n","import { Component, Host, Prop, h, Element, State } from '@stencil/core';\n\n@Component({\n tag: 'cura-paragraph',\n styleUrl: 'cura-paragraph.scss',\n shadow: true,\n})\nexport class CuraParagraph {\n\n /**\n * Set size of body text.\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 * 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 140%\n */\n @Prop({reflect: true}) lineHeight = '140%';\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-paragraph>\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 setFontProperties() {\n this.weights = this.theme.fonts.getWeights();\n this.fontSizeBase = this.theme.fonts.getSize();\n this.styles = {\n '--font-family': this.theme.fonts.getFamily('body'),\n '--font-weight-regular': this.weights.regular,\n '--font-weight-medium': this.weights.medium,\n '--font-weight-bold': this.weights.bold\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 getClasses() {\n const classes = {\n 'textoverflow-single': this.textOverflow === 'single',\n }\n classes[this.size.toLowerCase()] = true;\n return classes;\n }\n\n render() {\n return (\n <Host style={this.hostCSSProperties()}>\n <p style={this.styles} class={this.getClasses()}>\n <slot></slot>\n </p>\n </Host>\n );\n }\n\n}\n"],"version":3}
@@ -1,120 +0,0 @@
1
- import { p as proxyCustomElement, H, h, d as Host } from './p-D1cPOZpG.js';
2
-
3
- const curaLabelCss = ":host{display:block;font-size:var(--font-size-base)}:host p{font-family:var(--font-family);font-size:1.143em;font-weight:var(--font-weight-medium);color:var(--color-body);line-height:var(--line-height);margin-block:var(--margin-block);letter-spacing:0.32px}:host p.bold-weight,:host p ::slotted(b),:host p ::slotted(strong),:host p ::slotted(u){font-weight:var(--font-weight-bold)}:host p.large{font-size:1.357em;line-height:calc(var(--line-height) - 4%);letter-spacing:0px}:host p.small{font-size:1em;line-height:calc(var(--line-height) - 4%);letter-spacing:0.56px}:host p.xsmall{font-size:0.857em;line-height:calc(var(--line-height) - 17%);letter-spacing:0.72px}:host p.textoverflow-single{text-overflow:ellipsis;white-space:nowrap;overflow:hidden;display:block}:host p ::slotted(a){font-weight:var(--font-weight-bold);color:var(--color-link);text-underline-offset:10%}:host p ::slotted(u){text-underline-offset:10%}:host p ::slotted(abbr){color:var(--color-link);text-decoration:underline dashed 1px var(--color-link);text-underline-offset:10%;cursor:default}";
4
-
5
- const CuraLabel = /*@__PURE__*/ proxyCustomElement(class CuraLabel extends H {
6
- constructor() {
7
- super();
8
- this.__registerHost();
9
- this.__attachShadow();
10
- /**
11
- * Set size of body text.
12
- * Values: medium (default) | large | small | xsmall.
13
- */
14
- this.size = 'medium';
15
- /**
16
- * Label font weight. It is possible to use regular HTML tags like <b> or <strong> as well.
17
- * Values: regular (default) | bold.
18
- */
19
- this.weight = 'regular';
20
- /**
21
- * Apply design system color to interactive elements like <a> and <abbr> inside the text.
22
- * Values: Color from design system scheme. Default to 'accent-dark'.
23
- */
24
- this.spotColor = 'accent-dark';
25
- /**
26
- * CSS margin-block property values.
27
- * Default to 1.25em
28
- */
29
- this.marginBlock = '0';
30
- /**
31
- * CSS line-height property values.
32
- * Default to 140%
33
- */
34
- this.lineHeight = '125%';
35
- /**
36
- * Apply text-overflow ellipsis definitions.
37
- * Default to none
38
- */
39
- this.textOverflow = 'none';
40
- this.styles = {};
41
- this.theme = window.CuraAPI.theme;
42
- }
43
- handleChangeColor() {
44
- this.setColors();
45
- }
46
- connectedCallback() {
47
- this.setFontProperties();
48
- this.setColors();
49
- }
50
- getClasses() {
51
- const classes = {
52
- 'textoverflow-single': this.textOverflow === 'single',
53
- };
54
- classes[this.size.toLowerCase()] = true;
55
- classes[`${this.weight.toLowerCase()}-weight`] = true;
56
- return classes;
57
- }
58
- setFontProperties() {
59
- this.weights = this.theme.fonts.getWeights();
60
- this.fontSizeBase = this.theme.fonts.getSize();
61
- this.styles = {
62
- '--font-family': this.theme.fonts.getFamily('body'),
63
- '--font-weight-medium': this.weights.medium,
64
- '--font-weight-bold': this.weights.bold
65
- };
66
- }
67
- setColors() {
68
- this.styles = Object.assign(Object.assign({}, this.styles), { '--color-link': this.theme.colors.getColor(`${this.spotColor}`) });
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
- };
80
- }
81
- render() {
82
- return (h(Host, { key: '7d49bffcd8408352d48e9d2f4d1a085232b0a388', style: this.hostCSSProperties() }, h("p", { key: '9479efc64405d2653e2aaf185138c37c4ecca95c', style: this.styles, class: this.getClasses() }, h("slot", { key: '6de7990505b1f2e4af8988e9a9cc3a96ae18cf75' }))));
83
- }
84
- get host() { return this; }
85
- static get watchers() { return {
86
- "color": ["handleChangeColor"],
87
- "spotColor": ["handleChangeColor"]
88
- }; }
89
- static get style() { return curaLabelCss; }
90
- }, [1, "cura-label", {
91
- "size": [513],
92
- "weight": [513],
93
- "spotColor": [513, "spot-color"],
94
- "color": [1],
95
- "marginBlock": [513, "margin-block"],
96
- "lineHeight": [513, "line-height"],
97
- "textOverflow": [513, "text-overflow"],
98
- "styles": [32]
99
- }, undefined, {
100
- "color": ["handleChangeColor"],
101
- "spotColor": ["handleChangeColor"]
102
- }]);
103
- function defineCustomElement() {
104
- if (typeof customElements === "undefined") {
105
- return;
106
- }
107
- const components = ["cura-label"];
108
- components.forEach(tagName => { switch (tagName) {
109
- case "cura-label":
110
- if (!customElements.get(tagName)) {
111
- customElements.define(tagName, CuraLabel);
112
- }
113
- break;
114
- } });
115
- }
116
-
117
- export { CuraLabel as C, defineCustomElement as d };
118
- //# sourceMappingURL=p-DR1RHrEX.js.map
119
-
120
- //# sourceMappingURL=p-DR1RHrEX.js.map
@@ -1 +0,0 @@
1
- {"file":"p-DR1RHrEX.js","mappings":";;AAAA,MAAM,YAAY,GAAG,wiCAAwiC;;MCOhjC,SAAS,iBAAAA,kBAAA,CAAA,MAAA,SAAA,SAAAC,CAAA,CAAA;AALtB,IAAA,WAAA,GAAA;;;;AAOE;;;AAGG;AACoB,QAAA,IAAI,CAAA,IAAA,GAAqD,QAAQ;AAExF;;;AAGG;AACoB,QAAA,IAAM,CAAA,MAAA,GAAuB,SAAS;AAE7D;;;AAGE;AACqB,QAAA,IAAS,CAAA,SAAA,GAAG,aAAa;AAahD;;;AAGG;AACoB,QAAA,IAAW,CAAA,WAAA,GAAG,GAAG;AAExC;;;AAGG;AACoB,QAAA,IAAU,CAAA,UAAA,GAAG,MAAM;AAE1C;;;AAGG;AACoB,QAAA,IAAY,CAAA,YAAA,GAA+B,MAAM;AAY/D,QAAA,IAAM,CAAA,MAAA,GAAG,EAAE;QACpB,IAAA,CAAA,KAAK,GAAG,MAAM,CAAC,OAAO,CAAC,KAAK;AAuD7B;IAxFC,iBAAiB,GAAA;QACf,IAAI,CAAC,SAAS,EAAE;;IAkClB,iBAAiB,GAAA;QACf,IAAI,CAAC,iBAAiB,EAAE;QACxB,IAAI,CAAC,SAAS,EAAE;;IAGlB,UAAU,GAAA;AACR,QAAA,MAAM,OAAO,GAAG;AACd,YAAA,qBAAqB,EAAE,IAAI,CAAC,YAAY,KAAK,QAAQ;SACtD;QACD,OAAO,CAAC,IAAI,CAAC,IAAI,CAAC,WAAW,EAAE,CAAC,GAAG,IAAI;AACvC,QAAA,OAAO,CAAC,CAAA,EAAG,IAAI,CAAC,MAAM,CAAC,WAAW,EAAE,CAAS,OAAA,CAAA,CAAC,GAAG,IAAI;AACrD,QAAA,OAAO,OAAO;;IAGhB,iBAAiB,GAAA;QACf,IAAI,CAAC,OAAO,GAAG,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,UAAU,EAAE;QAC5C,IAAI,CAAC,YAAY,GAAG,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,OAAO,EAAE;QAC9C,IAAI,CAAC,MAAM,GAAG;YACZ,eAAe,EAAE,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,SAAS,CAAC,MAAM,CAAC;AACnD,YAAA,sBAAsB,EAAE,IAAI,CAAC,OAAO,CAAC,MAAM;AAC3C,YAAA,oBAAoB,EAAE,IAAI,CAAC,OAAO,CAAC;SACpC;;IAGH,SAAS,GAAA;AACP,QAAA,IAAI,CAAC,MAAM,GAAA,MAAA,CAAA,MAAA,CAAA,MAAA,CAAA,MAAA,CAAA,EAAA,EACN,IAAI,CAAC,MAAM,CACd,EAAA,EAAA,cAAc,EAAE,IAAI,CAAC,KAAK,CAAC,MAAM,CAAC,QAAQ,CAAC,CAAA,EAAG,IAAI,CAAC,SAAS,EAAE,CAAC,EAAA,CAChE;;IAGH,iBAAiB,GAAA;AACf,QAAA,MAAM,SAAS,GAAG,IAAI,CAAC;AACrB,cAAE,IAAI,CAAC,KAAK,CAAC,MAAM,CAAC,QAAQ,CAAC,IAAI,CAAC,KAAK;cACrC,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,QAAQ,EAAE;QAC/B,OAAO;YACL,gBAAgB,EAAE,IAAI,CAAC,WAAW;YAClC,kBAAkB,EAAE,IAAI,CAAC,YAAY;YACrC,eAAe,EAAE,IAAI,CAAC,UAAU;AAChC,YAAA,cAAc,EAAE,SAAS,IAAI,IAAI,CAAC,KAAK,CAAC,MAAM,CAAC,QAAQ,CAAC,gBAAgB,CAAC;SAC1E;;IAGH,MAAM,GAAA;QACJ,QACE,EAAC,IAAI,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAC,KAAK,EAAE,IAAI,CAAC,iBAAiB,EAAE,EAAA,EACnC,CAAG,CAAA,GAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAA,KAAK,EAAE,IAAI,CAAC,MAAM,EAAE,KAAK,EAAE,IAAI,CAAC,UAAU,EAAE,EAAA,EAC7C,CAAa,CAAA,MAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAA,CAAA,CACX,CACC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","names":["__stencil_proxyCustomElement","HTMLElement"],"sources":["src/components/forms/cura-label/cura-label.scss?tag=cura-label&encapsulation=shadow","src/components/forms/cura-label/cura-label.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\n p {\n font-family: var(--font-family);\n font-size: 1.143em;\n font-weight: var(--font-weight-medium);\n color: var(--color-body);\n line-height: var(--line-height);\n margin-block: var(--margin-block);\n letter-spacing: 0.32px;\n\n &.bold-weight, ::slotted(b), ::slotted(strong), ::slotted(u) {\n font-weight: var(--font-weight-bold);\n }\n\n &.large {\n font-size: 1.357em;\n line-height: calc(var(--line-height) - 4%);\n letter-spacing: 0px;\n }\n\n &.small {\n font-size: 1em;\n line-height: calc(var(--line-height) - 4%);\n letter-spacing: 0.56px;\n }\n\n &.xsmall {\n font-size: 0.857em;\n line-height: calc(var(--line-height) - 17%);\n letter-spacing: 0.72px;\n }\n\n &.textoverflow-single {\n @include truncate-single();\n }\n\n ::slotted(a) {\n font-weight: var(--font-weight-bold);\n color: var(--color-link);\n text-underline-offset: 10%;\n }\n\n ::slotted(u) {\n text-underline-offset: 10%;\n }\n\n ::slotted(abbr) {\n color: var(--color-link);\n text-decoration: underline dashed 1px var(--color-link);\n text-underline-offset: 10%;\n cursor: default;\n }\n }\n}\n\n","import { Component, Host, Prop, h, Element, Watch, State } from '@stencil/core';\n\n@Component({\n tag: 'cura-label',\n styleUrl: 'cura-label.scss',\n shadow: true,\n})\nexport class CuraLabel {\n\n /**\n * Set size of body text.\n * Values: medium (default) | large | small | xsmall.\n */\n @Prop({reflect: true}) size: 'medium' | 'large' | 'small' | 'xsmall' | string = 'medium';\n\n /**\n * Label 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() color: string;\n @Watch('color')\n @Watch('spotColor')\n handleChangeColor() {\n this.setColors();\n }\n\n /**\n * CSS margin-block property values.\n * Default to 1.25em\n */\n @Prop({reflect: true}) marginBlock = '0';\n\n /**\n * CSS line-height property values.\n * Default to 140%\n */\n @Prop({reflect: true}) lineHeight = '125%';\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-label>\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 this.setColors();\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': this.theme.fonts.getFamily('body'),\n '--font-weight-medium': this.weights.medium,\n '--font-weight-bold': this.weights.bold\n };\n }\n\n setColors() {\n this.styles = {\n ...this.styles,\n '--color-link': this.theme.colors.getColor(`${this.spotColor}`)\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 };\n }\n\n render() {\n return (\n <Host style={this.hostCSSProperties()}>\n <p style={this.styles} class={this.getClasses()}>\n <slot></slot>\n </p>\n </Host>\n );\n }\n\n}\n"],"version":3}
@@ -1,125 +0,0 @@
1
- import { p as proxyCustomElement, H, h, d as Host } from './p-D1cPOZpG.js';
2
- import { d as defineCustomElement$4 } from './p-cOEGtL9C.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-DI4g-ZH4.js';
6
-
7
- const curaStepperItemCss = ":host{display:block;box-sizing:border-box}.item-container{display:flex;gap:4px;align-items:center}";
8
-
9
- const CuraStepperItem = /*@__PURE__*/ proxyCustomElement(class CuraStepperItem extends H {
10
- constructor() {
11
- super();
12
- this.__registerHost();
13
- this.__attachShadow();
14
- /**
15
- * Determines if the step title is displayed (default: false)
16
- */
17
- this.displayHeading = false;
18
- /**
19
- * The current status of the step
20
- * Can be:
21
- * - 'done' for completed steps
22
- * - 'stop' for failed steps
23
- * - 'active' for the current active step
24
- * - 'default' for steps that are neither done, active nor stopped.
25
- */
26
- this.status = 'default';
27
- this.styles = {};
28
- this.statusMap = {
29
- active: {
30
- badgeColor: 'info',
31
- textColor: 'info-dark',
32
- icon: '',
33
- iconOnly: false,
34
- },
35
- stop: {
36
- badgeColor: 'error',
37
- textColor: 'error-darker',
38
- icon: 'alertCircle',
39
- iconOnly: true,
40
- },
41
- done: {
42
- badgeColor: 'success',
43
- textColor: 'success-darker',
44
- icon: 'checkCircle',
45
- iconOnly: true,
46
- },
47
- default: {
48
- badgeColor: 'neutral',
49
- textColor: 'neutral',
50
- icon: '',
51
- iconOnly: false,
52
- },
53
- };
54
- }
55
- connectedCallback() {
56
- this.updateStyles();
57
- }
58
- getStatusProperties() {
59
- return this.statusMap[this.status] || this.statusMap.default;
60
- }
61
- updateStyles() {
62
- const { fonts, colors, spacing } = window.CuraAPI.theme;
63
- const weights = fonts.getWeights();
64
- this.styles = {
65
- '--base-spacing': spacing.getSpacing(),
66
- '--neutral-purewhite': colors.getColor('neutral-purewhite'),
67
- '--neutral-lighter': colors.getColor('neutral-lighter'),
68
- '--neutral-base': colors.getColor('neutral-base'),
69
- '--font-size': fonts.getSize(),
70
- '--font-color': fonts.getColor(),
71
- '--font-family': fonts.getFamily(),
72
- '--font-weight-regular': weights.regular,
73
- };
74
- }
75
- render() {
76
- const { badgeColor, textColor, icon, iconOnly } = this.getStatusProperties();
77
- return (h(Host, { key: '0a92b438c1ab33d0e6b1986214b6c57790a3aea6' }, h("div", { key: '0f003c91a0d95441f250dbcb539af753a124948c', class: "item-container", style: this.styles }, h("cura-badge-pill", { key: '7b631c3be3a59b510f16565f9ad321c485cda952', type: "solid", color: badgeColor, "icon-name": icon, "icon-only": iconOnly, "border-radius": "50%" }, this.label), this.displayHeading && this.heading && (h("cura-paragraph", { key: '87f046eac4d4359b564ca85d9e95dbc15499c147', marginBlock: "0", size: "xsmall", color: textColor }, this.heading)))));
78
- }
79
- get hostElement() { return this; }
80
- static get style() { return curaStepperItemCss; }
81
- }, [1, "cura-stepper-item", {
82
- "displayHeading": [516, "display-heading"],
83
- "heading": [513],
84
- "label": [513],
85
- "status": [513],
86
- "styles": [32]
87
- }]);
88
- function defineCustomElement() {
89
- if (typeof customElements === "undefined") {
90
- return;
91
- }
92
- const components = ["cura-stepper-item", "cura-badge-pill", "cura-icon", "cura-label", "cura-paragraph"];
93
- components.forEach(tagName => { switch (tagName) {
94
- case "cura-stepper-item":
95
- if (!customElements.get(tagName)) {
96
- customElements.define(tagName, CuraStepperItem);
97
- }
98
- break;
99
- case "cura-badge-pill":
100
- if (!customElements.get(tagName)) {
101
- defineCustomElement$4();
102
- }
103
- break;
104
- case "cura-icon":
105
- if (!customElements.get(tagName)) {
106
- defineCustomElement$3();
107
- }
108
- break;
109
- case "cura-label":
110
- if (!customElements.get(tagName)) {
111
- defineCustomElement$2();
112
- }
113
- break;
114
- case "cura-paragraph":
115
- if (!customElements.get(tagName)) {
116
- defineCustomElement$1();
117
- }
118
- break;
119
- } });
120
- }
121
-
122
- export { CuraStepperItem as C, defineCustomElement as d };
123
- //# sourceMappingURL=p-DaPc6Dxl.js.map
124
-
125
- //# sourceMappingURL=p-DaPc6Dxl.js.map
@@ -1 +0,0 @@
1
- {"file":"p-DaPc6Dxl.js","mappings":"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","names":["__stencil_proxyCustomElement","HTMLElement"],"sources":["src/components/cura-stepper/cura-stepper-item/cura-stepper-item.scss?tag=cura-stepper-item&encapsulation=shadow","src/components/cura-stepper/cura-stepper-item/cura-stepper-item.tsx"],"sourcesContent":[":host {\n display: block;\n box-sizing: border-box;\n}\n\n.item-container{\n display: flex;\n gap: 4px;\n align-items: center;\n}\n","import { Component, Element, Host, Prop, State, h } from '@stencil/core';\n\n@Component({\n tag: 'cura-stepper-item',\n styleUrl: 'cura-stepper-item.scss',\n shadow: true,\n})\nexport class CuraStepperItem {\n /**\n * Determines if the step title is displayed (default: false)\n */\n @Prop({ reflect: true }) displayHeading: boolean = false;\n\n /**\n * The title of the step (displayed if `displayHeading` is true)\n */\n @Prop({ reflect: true }) heading: string;\n\n /**\n * The label displayed inside the badge\n */\n @Prop({ reflect: true }) label: string;\n\n /**\n * The current status of the step\n * Can be:\n * - 'done' for completed steps\n * - 'stop' for failed steps\n * - 'active' for the current active step\n * - 'default' for steps that are neither done, active nor stopped.\n */\n @Prop({ reflect: true }) status: 'done' | 'stop' | 'active' | 'default' = 'default';\n\n @State() styles = {};\n\n @Element() hostElement: HTMLElement;\n\n connectedCallback() {\n this.updateStyles();\n }\n\n statusMap = {\n active: {\n badgeColor: 'info',\n textColor: 'info-dark',\n icon: '',\n iconOnly: false,\n },\n stop: {\n badgeColor: 'error',\n textColor: 'error-darker',\n icon: 'alertCircle',\n iconOnly: true,\n },\n done: {\n badgeColor: 'success',\n textColor: 'success-darker',\n icon: 'checkCircle',\n iconOnly: true,\n },\n default: {\n badgeColor: 'neutral',\n textColor: 'neutral',\n icon: '',\n iconOnly: false,\n },\n };\n\n getStatusProperties() {\n return this.statusMap[this.status] || this.statusMap.default;\n }\n\n updateStyles() {\n const { fonts, colors, spacing } = window.CuraAPI.theme;\n const weights = fonts.getWeights();\n\n this.styles = {\n '--base-spacing': spacing.getSpacing(),\n '--neutral-purewhite': colors.getColor('neutral-purewhite'),\n '--neutral-lighter': colors.getColor('neutral-lighter'),\n '--neutral-base': colors.getColor('neutral-base'),\n '--font-size': fonts.getSize(),\n '--font-color': fonts.getColor(),\n '--font-family': fonts.getFamily(),\n '--font-weight-regular': weights.regular,\n };\n }\n\n render() {\n const { badgeColor, textColor, icon, iconOnly } = this.getStatusProperties();\n return (\n <Host>\n <div class=\"item-container\" style={this.styles}>\n <cura-badge-pill\n type=\"solid\"\n color={badgeColor as 'info' | 'error' | 'success' | 'neutral' | 'primary' | 'secondary' | 'accent' | 'warning'}\n icon-name={icon}\n icon-only={iconOnly}\n border-radius=\"50%\"\n >\n {this.label}\n </cura-badge-pill>\n {this.displayHeading && this.heading && (\n <cura-paragraph marginBlock=\"0\" size=\"xsmall\" color={textColor}>\n {this.heading}\n </cura-paragraph>\n )}\n </div>\n </Host>\n );\n }\n}\n"],"version":3}
@@ -1 +0,0 @@
1
- {"file":"p-Dot54hbB.js","mappings":"AAAa,MAAA,UAAU,GAAG;AACxB,IAAA,OAAO,EAAE;AACP,QAAA,IAAI,EAAE,EAAE;AACR,QAAA,GAAG,EAAE,EAAE;AACR,KAAA;AACD,IAAA,QAAQ,EAAE;AACR,QAAA,IAAI,EAAE,EAAE;AACR,QAAA,GAAG,EAAE,EAAE;AACR,KAAA;AACD,IAAA,OAAO,EAAE;AACP,QAAA,IAAI,EAAE,EAAE;AACR,QAAA,GAAG,EAAE,CAAC;AACP,KAAA;;;;;","names":[],"sources":["src/components/forms/cura-forms.definitions.tsx"],"sourcesContent":["export const formsSizes = {\n \"large\": {\n size: 32,\n gap: 16,\n },\n \"medium\": {\n size: 24,\n gap: 12,\n },\n \"small\": {\n size: 20,\n gap: 8,\n },\n};\n"],"version":3}
@@ -1,58 +0,0 @@
1
- import { p as proxyCustomElement, H, h, d as Host } from './p-D1cPOZpG.js';
2
-
3
- const curaLoaderCircleCss = ":host{display:inline-block;width:var(--size);height:var(--size)}:host svg{width:var(--size);height:var(--size);animation:rotate 0.7s linear infinite}:host circle,:host path{stroke-miterlimit:10;stroke-linecap:round;stroke-linejoin:round}:host path{stroke:var(--color)}:host stop{stop-color:var(--color)}:host linearGradient stop:first-child{stop-opacity:0.14}@keyframes rotate{0%{transform:rotate(0)}100%{transform:rotate(360deg)}}";
4
-
5
- const CuraLoaderCircle = /*@__PURE__*/ proxyCustomElement(class CuraLoaderCircle extends H {
6
- constructor() {
7
- super();
8
- this.__registerHost();
9
- this.__attachShadow();
10
- /**
11
- * Loader size. Values: small, medium or large.
12
- */
13
- this.size = 'medium';
14
- /**
15
- * One from color scheme. Default: neutral-white.
16
- */
17
- this.color = 'neutral-white';
18
- this.sizes = {
19
- xlarge: 32,
20
- large: 24,
21
- medium: 20,
22
- small: 16,
23
- default: 16,
24
- };
25
- this.getPxSize = () => this.sizes[this.size] || this.sizes['default'];
26
- }
27
- getStyles() {
28
- return {
29
- '--size': `${this.getPxSize()}px`,
30
- '--color': window.CuraAPI.theme.colors.getColor(this.color)
31
- };
32
- }
33
- render() {
34
- return (h(Host, { key: '09f72e4ec206571c1bfb4333a76da3113f2b386d', style: this.getStyles(), role: "progressbar" }, h("svg", { key: 'd446c093c9ae6c1ebca50e023f2eba592f37eb07', viewBox: "0 0 16 16", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, h("g", { key: '8d8bf0fefcb924af391977d672f777face8bf24f' }, h("circle", { key: 'd77eaba65fc61c265b7c495e95dae22d9732732b', cx: "8", cy: "8", r: "7", stroke: "url(#paint0_linear_13485_11488)", "stroke-width": "2" }), h("path", { key: 'ab82247a03c327a6eac8f5c0770932e3520aa32c', d: "M1 8C1 4.13401 4.11877 1 7.96596 1C9.53445 1 10.9819 1.52093 12.1462 2.4C12.8959 2.96601 13.5282 3.68049 14 4.5", "stroke-width": "2" })), h("defs", { key: '6291d976f90dd54aecaead32f8314e977dad4c3f' }, h("linearGradient", { key: '8f213ed3cb1e55f9aae79f18d43f414b48f45a19', id: "paint0_linear_13485_11488", x1: "15.7", y1: "4.5", x2: "4.15", y2: "11.5", gradientUnits: "userSpaceOnUse" }, h("stop", { key: 'c723178770cb0d49746a72fff6c9c8dc7fbb07b4' }), h("stop", { key: '07bb208a3ca3f3b7a317b1e2386dc9cf683fd155', offset: "1" }))))));
35
- }
36
- static get style() { return curaLoaderCircleCss; }
37
- }, [1, "cura-loader-circle", {
38
- "size": [513],
39
- "color": [513]
40
- }]);
41
- function defineCustomElement() {
42
- if (typeof customElements === "undefined") {
43
- return;
44
- }
45
- const components = ["cura-loader-circle"];
46
- components.forEach(tagName => { switch (tagName) {
47
- case "cura-loader-circle":
48
- if (!customElements.get(tagName)) {
49
- customElements.define(tagName, CuraLoaderCircle);
50
- }
51
- break;
52
- } });
53
- }
54
-
55
- export { CuraLoaderCircle as C, defineCustomElement as d };
56
- //# sourceMappingURL=p-Dqm2sAwv.js.map
57
-
58
- //# sourceMappingURL=p-Dqm2sAwv.js.map
@@ -1 +0,0 @@
1
- {"file":"p-Dqm2sAwv.js","mappings":";;AAAA,MAAM,mBAAmB,GAAG,ibAAib;;MCOhc,gBAAgB,iBAAAA,kBAAA,CAAA,MAAA,gBAAA,SAAAC,CAAA,CAAA;AAL7B,IAAA,WAAA,GAAA;;;;AAOE;;AAEG;AACoB,QAAA,IAAI,CAAA,IAAA,GAA4C,QAAQ;AAC/E;;AAEG;AACoB,QAAA,IAAK,CAAA,KAAA,GAAG,eAAe;QAE9C,IAAA,CAAA,KAAK,GAAG;AACN,YAAA,MAAM,EAAE,EAAE;AACV,YAAA,KAAK,EAAE,EAAE;AACT,YAAA,MAAM,EAAE,EAAE;AACV,YAAA,KAAK,EAAE,EAAE;AACT,YAAA,OAAO,EAAE,EAAE;SACZ;QAED,IAAA,CAAA,SAAS,GAAG,MAAM,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,IAAI,CAAC,IAAI,IAAI,CAAC,KAAK,CAAC,SAAS,CAAC;AA8BjE;IA5BC,SAAS,GAAA;QACP,OAAO;AACL,YAAA,QAAQ,EAAE,CAAG,EAAA,IAAI,CAAC,SAAS,EAAE,CAAI,EAAA,CAAA;AACjC,YAAA,SAAS,EAAE,MAAM,CAAC,OAAO,CAAC,KAAK,CAAC,MAAM,CAAC,QAAQ,CAAC,IAAI,CAAC,KAAK;SAC3D;;IAGH,MAAM,GAAA;AACJ,QAAA,QACE,CAAA,CAAC,IAAI,EAAA,EAAA,GAAA,EAAA,0CAAA,EACH,KAAK,EAAE,IAAI,CAAC,SAAS,EAAE,EACvB,IAAI,EAAC,aAAa,EAAA,EAClB,CAAK,CAAA,KAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAA,OAAO,EAAC,WAAW,EAAC,IAAI,EAAC,MAAM,EAAC,KAAK,EAAC,4BAA4B,EAAA,EACrE,CAAA,CAAA,GAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAA,EACE,CAAA,CAAA,QAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAQ,EAAE,EAAC,GAAG,EAAC,EAAE,EAAC,GAAG,EAAC,CAAC,EAAC,GAAG,EAAC,MAAM,EAAC,iCAAiC,EAAA,cAAA,EAAc,GAAG,EAAE,CAAA,EACvF,CAAA,CAAA,MAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAM,CAAC,EAAC,iHAAiH,EAAc,cAAA,EAAA,GAAG,GAAE,CAC1I,EACJ,CAAA,CAAA,MAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAA,EACE,CAAgB,CAAA,gBAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAA,EAAE,EAAC,2BAA2B,EAAC,EAAE,EAAC,MAAM,EAAC,EAAE,EAAC,KAAK,EAAC,EAAE,EAAC,MAAM,EAAC,EAAE,EAAC,MAAM,EAAC,aAAa,EAAC,gBAAgB,EAAA,EAClH,CAAO,CAAA,MAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAA,CAAA,EACP,CAAM,CAAA,MAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAA,MAAM,EAAC,GAAG,EAAA,CAAE,CACH,CACZ,CACH,CACD;;;;;;;;;;;;;;;;;;;;;;;","names":["__stencil_proxyCustomElement","HTMLElement"],"sources":["src/components/loaders/cura-loader-circle/cura-loader-circle.scss?tag=cura-loader-circle&encapsulation=shadow","src/components/loaders/cura-loader-circle/cura-loader-circle.tsx"],"sourcesContent":["@import '../../../scss/mixins/animations.scss';\n\n:host {\n display: inline-block;\n width: var(--size);\n height: var(--size);\n \n svg {\n width: var(--size);\n height: var(--size);\n animation: rotate .7s linear infinite;\n }\n\n circle, path {\n stroke-miterlimit: 10;\n stroke-linecap: round;\n stroke-linejoin: round;\n }\n\n path { stroke: var(--color); }\n\n stop { stop-color: var(--color); }\n linearGradient stop:first-child {\n stop-opacity: 0.14;\n }\n}\n\n@include rotate();\n\n","import { Component, Host, h, Prop } from '@stencil/core';\n\n@Component({\n tag: 'cura-loader-circle',\n styleUrl: 'cura-loader-circle.scss',\n shadow: true,\n})\nexport class CuraLoaderCircle {\n\n /**\n * Loader size. Values: small, medium or large.\n */\n @Prop({reflect: true}) size: 'small' | 'medium' | 'large' | 'xlarge' = 'medium';\n /**\n * One from color scheme. Default: neutral-white.\n */\n @Prop({reflect: true}) color = 'neutral-white';\n\n sizes = {\n xlarge: 32,\n large: 24,\n medium: 20,\n small: 16,\n default: 16,\n };\n\n getPxSize = () => this.sizes[this.size] || this.sizes['default'];\n\n getStyles() {\n return {\n '--size': `${this.getPxSize()}px`,\n '--color': window.CuraAPI.theme.colors.getColor(this.color)\n }\n }\n\n render() {\n return (\n <Host\n style={this.getStyles()}\n role=\"progressbar\">\n <svg viewBox=\"0 0 16 16\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n <g>\n <circle cx=\"8\" cy=\"8\" r=\"7\" stroke=\"url(#paint0_linear_13485_11488)\" stroke-width=\"2\"/>\n <path d=\"M1 8C1 4.13401 4.11877 1 7.96596 1C9.53445 1 10.9819 1.52093 12.1462 2.4C12.8959 2.96601 13.5282 3.68049 14 4.5\" stroke-width=\"2\"/>\n </g>\n <defs>\n <linearGradient id=\"paint0_linear_13485_11488\" x1=\"15.7\" y1=\"4.5\" x2=\"4.15\" y2=\"11.5\" gradientUnits=\"userSpaceOnUse\">\n <stop/>\n <stop offset=\"1\"/>\n </linearGradient>\n </defs>\n </svg>\n </Host>\n );\n }\n\n}\n"],"version":3}
@@ -1,86 +0,0 @@
1
- import { p as proxyCustomElement, H, h, d as Host } from './p-D1cPOZpG.js';
2
- import { d as defineCustomElement$2 } from './p-B5aO1chh.js';
3
- import { d as defineCustomElement$1 } from './p-DR1RHrEX.js';
4
-
5
- const curaSelectOptionCss = ":host{display:block}.item{display:flex;padding:12px 8px;cursor:pointer;justify-content:space-between;align-items:center;box-sizing:border-box;background:var(--neutral-purewhite);border-bottom:1px solid transparent}.item.selected{background-color:var(--primary-lighter-50);border-bottom:1px solid var(--primary-light)}.item:hover:not(.selected){background:var(--neutral-white)}.item:hover:not(.selected){border-bottom:1px solid var(--neutral-light)}.item.active{background:var(--neutral-white) !important}.item.active{border-bottom:1px solid var(--neutral-light)}.item.selected.active{background-color:var(--primary-lighter-50) !important;box-shadow:none}:host(:last-of-type) .item{border-bottom:none}:host(:last-of-type) .item:hover,:host(:last-of-type) .item.active,:host(:last-of-type) .item.selected{border-bottom:none}";
6
-
7
- const CuraSelectOption = /*@__PURE__*/ proxyCustomElement(class CuraSelectOption extends H {
8
- constructor() {
9
- super();
10
- this.__registerHost();
11
- this.__attachShadow();
12
- this.selected = false;
13
- this.active = false;
14
- this.size = 'small';
15
- this.styles = {};
16
- this.theme = window.CuraAPI.theme;
17
- }
18
- connectedCallback() {
19
- const colors = [
20
- { name: '--primary-lighter-50', theme: 'primary-lighter', opacity: 0.5 },
21
- { name: '--primary-light', theme: 'primary-light' },
22
- { name: '--neutral-light', theme: 'neutral-light' },
23
- { name: '--neutral-purewhite', theme: 'neutral-purewhite' },
24
- ];
25
- colors.forEach(color => this.styles = Object.assign(Object.assign({}, this.styles), { [color.name]: this.theme.colors.getColor(color.theme, color === null || color === void 0 ? void 0 : color.opacity) }));
26
- }
27
- getSize(element) {
28
- const sizeMap = {
29
- large: element === 'label' ? 'medium' : 20,
30
- medium: element === 'label' ? 'small' : 16,
31
- small: element === 'label' ? 'xsmall' : 'micro',
32
- };
33
- return sizeMap[this.size] || sizeMap['medium'];
34
- }
35
- getClasses() {
36
- return {
37
- 'item': true,
38
- 'selected': this.selected,
39
- 'active': this.active
40
- };
41
- }
42
- render() {
43
- return (h(Host, { key: '0822f9ef2bf99e9f2fd9b82757c232449cec3397', slot: "option", role: "option", "aria-selected": this.selected }, h("div", { key: '97ce07635ab1e67676cdf80bce6b1eada30e035c', class: this.getClasses(), style: this.styles }, h("cura-label", { key: 'd6fb19b666f1d12d713ba1e6270ebb62a12d86ab', color: `${this.selected ? 'primary-base' : 'neutral-black'}`, size: this.getSize('label'), "margin-block": "0" }, h("slot", { key: '78f64d9347185fd398e1adbc45650cf247894481' })), this.selected && h("cura-icon", { key: '948e0d36d71e4c236a2472032703dbb47a371910', name: 'check', size: this.getSize('icon'), color: "primary-base" }))));
44
- }
45
- get host() { return this; }
46
- static get watchers() { return {
47
- "size": ["getSize"]
48
- }; }
49
- static get style() { return curaSelectOptionCss; }
50
- }, [1, "cura-select-option", {
51
- "value": [513],
52
- "selected": [516],
53
- "active": [516],
54
- "size": [1],
55
- "styles": [32]
56
- }, undefined, {
57
- "size": ["getSize"]
58
- }]);
59
- function defineCustomElement() {
60
- if (typeof customElements === "undefined") {
61
- return;
62
- }
63
- const components = ["cura-select-option", "cura-icon", "cura-label"];
64
- components.forEach(tagName => { switch (tagName) {
65
- case "cura-select-option":
66
- if (!customElements.get(tagName)) {
67
- customElements.define(tagName, CuraSelectOption);
68
- }
69
- break;
70
- case "cura-icon":
71
- if (!customElements.get(tagName)) {
72
- defineCustomElement$2();
73
- }
74
- break;
75
- case "cura-label":
76
- if (!customElements.get(tagName)) {
77
- defineCustomElement$1();
78
- }
79
- break;
80
- } });
81
- }
82
-
83
- export { CuraSelectOption as C, defineCustomElement as d };
84
- //# sourceMappingURL=p-Dt450DkQ.js.map
85
-
86
- //# sourceMappingURL=p-Dt450DkQ.js.map
@@ -1 +0,0 @@
1
- {"file":"p-Dt450DkQ.js","mappings":"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","names":["__stencil_proxyCustomElement","HTMLElement"],"sources":["src/components/forms/cura-select-options/cura-select-option.scss?tag=cura-select-option&encapsulation=shadow","src/components/forms/cura-select-options/cura-select-option.tsx"],"sourcesContent":[":host {\n display: block;\n}\n\n.item {\n display: flex;\n padding: 12px 8px;\n cursor: pointer;\n justify-content: space-between;\n align-items: center;\n box-sizing: border-box;\n background: var(--neutral-purewhite);\n border-bottom: 1px solid transparent;\n\n &.selected {\n background-color: var(--primary-lighter-50);\n border-bottom: 1px solid var(--primary-light);\n }\n\n &:hover:not(.selected) {\n background: var(--neutral-white);\n }\n\n &:hover:not(.selected) {\n border-bottom: 1px solid var(--neutral-light);\n }\n\n &.active {\n background: var(--neutral-white) !important;\n }\n\n &.active {\n border-bottom: 1px solid var(--neutral-light);\n }\n\n &.selected.active {\n background-color: var(--primary-lighter-50) !important;\n box-shadow: none;\n }\n}\n\n:host(:last-of-type) .item {\n border-bottom: none;\n}\n\n:host(:last-of-type) .item:hover,\n:host(:last-of-type) .item.active,\n:host(:last-of-type) .item.selected {\n border-bottom: none;\n}\n","import { Component, h, Host, Prop, State, Element, Watch } from '@stencil/core';\n\n@Component({\n tag: 'cura-select-option',\n styleUrl: 'cura-select-option.scss',\n shadow: true,\n})\nexport class CuraSelectOption {\n @Prop({ reflect: true }) value: string;\n @Prop({ reflect: true }) selected: boolean = false;\n @Prop({ reflect: true }) active: boolean = false;\n @Prop() size: 'xsmall' | 'small' | 'medium' | 'large' = 'small'\n @State() styles = {};\n @Element() host: HTMLElement;\n\n theme = window.CuraAPI.theme;\n\n connectedCallback() {\n const colors = [\n { name: '--primary-lighter-50', theme: 'primary-lighter', opacity: 0.5 },\n { name: '--primary-light', theme: 'primary-light' },\n { name: '--neutral-light', theme: 'neutral-light' },\n { name: '--neutral-purewhite', theme: 'neutral-purewhite' },\n ];\n\n colors.forEach(color => this.styles = { ...this.styles, [color.name]: this.theme.colors.getColor(color.theme, color?.opacity) });\n }\n\n @Watch('size')\n getSize(element: string) {\n const sizeMap = {\n large: element === 'label' ? 'medium' : 20,\n medium: element === 'label' ? 'small' : 16,\n small: element === 'label' ? 'xsmall' : 'micro',\n };\n\n return sizeMap[this.size] || sizeMap['medium'];\n }\n\n getClasses() {\n return {\n 'item': true,\n 'selected': this.selected,\n 'active':this.active\n };\n }\n\n render() {\n return (\n <Host slot=\"option\" role=\"option\" aria-selected={this.selected}>\n <div class={this.getClasses()} style={this.styles}>\n <cura-label color={`${this.selected ? 'primary-base' : 'neutral-black'}`} size={this.getSize('label')} margin-block=\"0\">\n <slot></slot>\n </cura-label>\n {this.selected && <cura-icon name='check' size={this.getSize('icon')} color=\"primary-base\"></cura-icon>}\n </div>\n </Host>\n );\n }\n}\n"],"version":3}
@@ -1,51 +0,0 @@
1
- import { p as proxyCustomElement, H, h, d as Host } from './p-D1cPOZpG.js';
2
-
3
- const curaProgressBarCss = ":host{display:block;box-sizing:border-box}.progress-bar{position:relative;display:flex;align-items:center;justify-content:center}.progress-bar span{position:absolute;display:flex}";
4
-
5
- const CuraProgressBar = /*@__PURE__*/ proxyCustomElement(class CuraProgressBar extends H {
6
- constructor() {
7
- super();
8
- this.__registerHost();
9
- this.__attachShadow();
10
- /**
11
- * Defines the size of the progress bar
12
- */
13
- this.size = 40;
14
- /**
15
- * Defines the width of the stroke (outline) of the progress circle
16
- */
17
- this.strokeWidth = 3.25;
18
- }
19
- render() {
20
- const radius = (this.size - this.strokeWidth) / 2;
21
- const circumference = radius * Math.PI * 2;
22
- const dash = (this.progress * circumference) / 100;
23
- const viewBox = `0 0 ${this.size} ${this.size}`;
24
- return (h(Host, { key: '6deebf97271b84fcecb9e1d688c79ae88b2aa618' }, h("div", { key: 'f6556e004e4d0cc4de342292610764b74495e3b0', class: "progress-bar" }, h("svg", { key: 'ffc1de55ded85602db1840812cd1f296a413c39e', width: this.size, height: this.size, viewBox: viewBox }, h("circle", { key: '691beeaf7b5fb5d670bfde48d8023b742bd97126', fill: "none", stroke: "#ccc", cx: this.size / 2, cy: this.size / 2, r: radius, "stroke-width": `${this.strokeWidth}px` }), this.active && (h("circle", { key: '0fee97b7da871d6b242786bbcf175e9792da69f8', fill: "none", stroke: this.progressColor, cx: this.size / 2, cy: this.size / 2, r: radius, "stroke-width": `${this.strokeWidth}px`, transform: `rotate(-90 ${this.size / 2} ${this.size / 2})`, "stroke-dasharray": `${dash}px ${circumference - dash}px`, "stroke-linecap": "round", style: { transition: 'all 0.5s' } }))), h("span", { key: '8e78dd28e8fad5ee4d9aef8029a73b6cf6d778cc' }, h("slot", { key: 'aa7155860e7aa0bcd2aef87bed2a5530161de4aa' })))));
25
- }
26
- static get style() { return curaProgressBarCss; }
27
- }, [1, "cura-progress-bar", {
28
- "progressColor": [513, "progress-color"],
29
- "progress": [514],
30
- "size": [514],
31
- "strokeWidth": [514, "stroke-width"],
32
- "active": [516]
33
- }]);
34
- function defineCustomElement() {
35
- if (typeof customElements === "undefined") {
36
- return;
37
- }
38
- const components = ["cura-progress-bar"];
39
- components.forEach(tagName => { switch (tagName) {
40
- case "cura-progress-bar":
41
- if (!customElements.get(tagName)) {
42
- customElements.define(tagName, CuraProgressBar);
43
- }
44
- break;
45
- } });
46
- }
47
-
48
- export { CuraProgressBar as C, defineCustomElement as d };
49
- //# sourceMappingURL=p-FTSrgi0q.js.map
50
-
51
- //# sourceMappingURL=p-FTSrgi0q.js.map