@rededor/cura 1.2.0 → 1.4.0-alpha.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (273) hide show
  1. package/dist/cjs/{app-globals-4d07f363.js → app-globals-f33ceef8.js} +32 -1
  2. package/dist/cjs/app-globals-f33ceef8.js.map +1 -0
  3. package/dist/cjs/cura-accordion_12.cjs.entry.js +39 -38
  4. package/dist/cjs/cura-accordion_12.cjs.entry.js.map +1 -1
  5. package/dist/cjs/cura-alert.cjs.entry.js +3 -2
  6. package/dist/cjs/cura-alert.cjs.entry.js.map +1 -1
  7. package/dist/cjs/cura-avatar.cjs.entry.js +1 -1
  8. package/dist/cjs/cura-badge-distance.cjs.entry.js +1 -1
  9. package/dist/cjs/cura-badge-number.cjs.entry.js +2 -2
  10. package/dist/cjs/cura-badge-number.cjs.entry.js.map +1 -1
  11. package/dist/cjs/cura-button-outline.cjs.entry.js +1 -1
  12. package/dist/cjs/cura-button-select.cjs.entry.js +17 -9
  13. package/dist/cjs/cura-button-select.cjs.entry.js.map +1 -1
  14. package/dist/cjs/cura-button-transparent.cjs.entry.js +1 -1
  15. package/dist/cjs/cura-calendar.cjs.entry.js +2 -2
  16. package/dist/cjs/cura-calendar.cjs.entry.js.map +1 -1
  17. package/dist/cjs/cura-card.cjs.entry.js +1 -1
  18. package/dist/cjs/cura-checkbox.cjs.entry.js +1 -1
  19. package/dist/cjs/cura-display.cjs.entry.js +1 -1
  20. package/dist/cjs/cura-dropdown-search-option-title.cjs.entry.js +1 -1
  21. package/dist/cjs/cura-dropdown-search-option.cjs.entry.js +2 -2
  22. package/dist/cjs/cura-dropdown-search.cjs.entry.js +21 -11
  23. package/dist/cjs/cura-dropdown-search.cjs.entry.js.map +1 -1
  24. package/dist/cjs/cura-icons-view.cjs.entry.js +3 -3
  25. package/dist/cjs/cura-input-date.cjs.entry.js +45 -45
  26. package/dist/cjs/cura-input-date.cjs.entry.js.map +1 -1
  27. package/dist/cjs/cura-loader-bar.cjs.entry.js +1 -1
  28. package/dist/cjs/cura-modal.cjs.entry.js +50 -0
  29. package/dist/cjs/cura-modal.cjs.entry.js.map +1 -0
  30. package/dist/cjs/cura-radio.cjs.entry.js +1 -1
  31. package/dist/cjs/cura-switch.cjs.entry.js +1 -1
  32. package/dist/cjs/cura-toast.cjs.entry.js +1 -1
  33. package/dist/cjs/cura-tooltip.cjs.entry.js +232 -0
  34. package/dist/cjs/cura-tooltip.cjs.entry.js.map +1 -0
  35. package/dist/cjs/cura.cjs.js +2 -2
  36. package/dist/cjs/loader.cjs.js +2 -2
  37. package/dist/collection/api/theme-presets/theme-presets.js +2 -0
  38. package/dist/collection/api/theme-presets/theme-presets.js.map +1 -1
  39. package/dist/collection/api/theme-presets/theme-richet.js +32 -0
  40. package/dist/collection/api/theme-presets/theme-richet.js.map +1 -0
  41. package/dist/collection/collection-manifest.json +2 -0
  42. package/dist/collection/components/accordion/cura-accordion/cura-accordion.css +0 -6
  43. package/dist/collection/components/accordion/cura-accordion/cura-accordion.js +41 -43
  44. package/dist/collection/components/accordion/cura-accordion/cura-accordion.js.map +1 -1
  45. package/dist/collection/components/accordion/cura-accordion/cura-accordion.stories.js +54 -36
  46. package/dist/collection/components/accordion/cura-accordion/cura-accordion.stories.js.map +1 -1
  47. package/dist/collection/components/accordion/cura-accordion-item/cura-accordion-item.css +61 -60
  48. package/dist/collection/components/accordion/cura-accordion-item/cura-accordion-item.js +41 -23
  49. package/dist/collection/components/accordion/cura-accordion-item/cura-accordion-item.js.map +1 -1
  50. package/dist/collection/components/badges/cura-badge-distance/cura-badge-distance.js +1 -1
  51. package/dist/collection/components/badges/cura-badge-number/cura-badge-number.css +0 -2
  52. package/dist/collection/components/badges/cura-badge-number/cura-badge-number.js +1 -1
  53. package/dist/collection/components/badges/cura-badge-number/cura-badge-number.js.map +1 -1
  54. package/dist/collection/components/buttons/cura-button/cura-button.js +1 -1
  55. package/dist/collection/components/buttons/cura-button-outline/cura-button-outline.js +1 -1
  56. package/dist/collection/components/buttons/cura-button-select/cura-button-select.css +36 -2
  57. package/dist/collection/components/buttons/cura-button-select/cura-button-select.js +39 -11
  58. package/dist/collection/components/buttons/cura-button-select/cura-button-select.js.map +1 -1
  59. package/dist/collection/components/buttons/cura-button-select/cura-button-select.stories.js +18 -7
  60. package/dist/collection/components/buttons/cura-button-select/cura-button-select.stories.js.map +1 -1
  61. package/dist/collection/components/buttons/cura-button-transparent/cura-button-transparent.js +1 -1
  62. package/dist/collection/components/cura-alert/cura-alert.css +25 -11
  63. package/dist/collection/components/cura-alert/cura-alert.js +2 -1
  64. package/dist/collection/components/cura-alert/cura-alert.js.map +1 -1
  65. package/dist/collection/components/cura-avatar/cura-avatar.js +1 -1
  66. package/dist/collection/components/cura-calendar/cura-calendar.css +1 -0
  67. package/dist/collection/components/cura-calendar/cura-calendar.js +1 -1
  68. package/dist/collection/components/cura-card/cura-card.js +1 -1
  69. package/dist/collection/components/cura-icon/cura-icon.js +1 -1
  70. package/dist/collection/components/cura-icons-view/cura-icons-view.js +3 -3
  71. package/dist/collection/components/cura-modal/cura-modal.css +211 -0
  72. package/dist/collection/components/cura-modal/cura-modal.js +134 -0
  73. package/dist/collection/components/cura-modal/cura-modal.js.map +1 -0
  74. package/dist/collection/components/cura-modal/cura-modal.stories.js +85 -0
  75. package/dist/collection/components/cura-modal/cura-modal.stories.js.map +1 -0
  76. package/dist/collection/components/cura-page-template/cura-page-template.js +1 -1
  77. package/dist/collection/components/cura-toast/cura-toast.js +1 -1
  78. package/dist/collection/components/cura-tooltip/cura-tooltip.css +159 -0
  79. package/dist/collection/components/cura-tooltip/cura-tooltip.js +397 -0
  80. package/dist/collection/components/cura-tooltip/cura-tooltip.js.map +1 -0
  81. package/dist/collection/components/cura-tooltip/cura-tooltip.stories.js +137 -0
  82. package/dist/collection/components/cura-tooltip/cura-tooltip.stories.js.map +1 -0
  83. package/dist/collection/components/forms/cura-checkbox/cura-checkbox.js +1 -1
  84. package/dist/collection/components/forms/cura-dropdown-search/cura-dropdown-search-option/cura-dropdown-search-option.js +2 -2
  85. package/dist/collection/components/forms/cura-dropdown-search/cura-dropdown-search-option-title/cura-dropdown-search-option-title.js +1 -1
  86. package/dist/collection/components/forms/cura-dropdown-search/cura-dropdown-search.css +1 -1
  87. package/dist/collection/components/forms/cura-dropdown-search/cura-dropdown-search.js +20 -10
  88. package/dist/collection/components/forms/cura-dropdown-search/cura-dropdown-search.js.map +1 -1
  89. package/dist/collection/components/forms/cura-input-date/cura-input-date.css +15 -0
  90. package/dist/collection/components/forms/cura-input-date/cura-input-date.js +69 -68
  91. package/dist/collection/components/forms/cura-input-date/cura-input-date.js.map +1 -1
  92. package/dist/collection/components/forms/cura-input-date/cura-input-date.stories.js +29 -10
  93. package/dist/collection/components/forms/cura-input-date/cura-input-date.stories.js.map +1 -1
  94. package/dist/collection/components/forms/cura-input-text/cura-input-text.js +1 -1
  95. package/dist/collection/components/forms/cura-label/cura-label.js +1 -1
  96. package/dist/collection/components/forms/cura-radio/cura-radio.js +1 -1
  97. package/dist/collection/components/forms/cura-select/cura-select.js +3 -3
  98. package/dist/collection/components/forms/cura-select-options/cura-select-option.js +1 -1
  99. package/dist/collection/components/forms/cura-switch/cura-switch.js +1 -1
  100. package/dist/collection/components/loaders/cura-loader-bar/cura-loader-bar.js +1 -1
  101. package/dist/collection/components/loaders/cura-loader-circle/cura-loader-circle.js +1 -1
  102. package/dist/collection/components/text/cura-display/cura-display.js +1 -1
  103. package/dist/collection/components/text/cura-heading/cura-heading.css +5 -1
  104. package/dist/collection/components/text/cura-heading/cura-heading.js +7 -6
  105. package/dist/collection/components/text/cura-heading/cura-heading.js.map +1 -1
  106. package/dist/collection/components/text/cura-paragraph/cura-paragraph.js +1 -1
  107. package/dist/components/cura-accordion-item.js +19 -12
  108. package/dist/components/cura-accordion-item.js.map +1 -1
  109. package/dist/components/cura-accordion.js +14 -15
  110. package/dist/components/cura-accordion.js.map +1 -1
  111. package/dist/components/cura-alert.js +3 -2
  112. package/dist/components/cura-alert.js.map +1 -1
  113. package/dist/components/cura-avatar.js +1 -1
  114. package/dist/components/cura-badge-distance.js +1 -1
  115. package/dist/components/cura-badge-number2.js +2 -2
  116. package/dist/components/cura-badge-number2.js.map +1 -1
  117. package/dist/components/cura-button-outline.js +1 -1
  118. package/dist/components/cura-button-select.js +18 -9
  119. package/dist/components/cura-button-select.js.map +1 -1
  120. package/dist/components/cura-button-transparent2.js +1 -1
  121. package/dist/components/cura-button.js +1 -1
  122. package/dist/components/cura-calendar2.js +2 -2
  123. package/dist/components/cura-calendar2.js.map +1 -1
  124. package/dist/components/cura-card.js +1 -1
  125. package/dist/components/cura-checkbox.js +1 -1
  126. package/dist/components/cura-display.js +1 -1
  127. package/dist/components/cura-dropdown-search-option-title.js +1 -1
  128. package/dist/components/cura-dropdown-search-option.js +2 -2
  129. package/dist/components/cura-dropdown-search.js +21 -11
  130. package/dist/components/cura-dropdown-search.js.map +1 -1
  131. package/dist/components/cura-heading2.js +8 -7
  132. package/dist/components/cura-heading2.js.map +1 -1
  133. package/dist/components/cura-icon2.js +1 -1
  134. package/dist/components/cura-icons-view.js +3 -3
  135. package/dist/components/cura-input-date.js +54 -57
  136. package/dist/components/cura-input-date.js.map +1 -1
  137. package/dist/components/cura-label2.js +1 -1
  138. package/dist/components/cura-loader-bar2.js +1 -1
  139. package/dist/components/cura-loader-circle2.js +1 -1
  140. package/dist/components/cura-modal.d.ts +11 -0
  141. package/dist/components/cura-modal.js +84 -0
  142. package/dist/components/cura-modal.js.map +1 -0
  143. package/dist/components/cura-page-template.js +1 -1
  144. package/dist/components/cura-paragraph2.js +1 -1
  145. package/dist/components/cura-radio.js +1 -1
  146. package/dist/components/cura-select-option2.js +1 -1
  147. package/dist/components/cura-select2.js +3 -3
  148. package/dist/components/cura-switch.js +1 -1
  149. package/dist/components/cura-toast.js +1 -1
  150. package/dist/components/cura-tooltip.d.ts +11 -0
  151. package/dist/components/cura-tooltip.js +291 -0
  152. package/dist/components/cura-tooltip.js.map +1 -0
  153. package/dist/components/index.js +35 -0
  154. package/dist/components/index.js.map +1 -1
  155. package/dist/cura/cura.esm.js +1 -1
  156. package/dist/cura/cura.esm.js.map +1 -1
  157. package/dist/cura/{p-116a1cd6.entry.js → p-01e301d4.entry.js} +2 -2
  158. package/dist/cura/p-0308cf6b.entry.js +2 -0
  159. package/dist/cura/p-0308cf6b.entry.js.map +1 -0
  160. package/dist/cura/{p-c6508bd7.entry.js → p-075b02de.entry.js} +2 -2
  161. package/dist/cura/{p-fd083399.entry.js → p-0e28f1c8.entry.js} +2 -2
  162. package/dist/cura/{p-e5023e34.entry.js → p-1f53580a.entry.js} +2 -2
  163. package/dist/cura/p-3536c96b.entry.js +2 -0
  164. package/dist/cura/p-3536c96b.entry.js.map +1 -0
  165. package/dist/cura/p-5bb8302c.entry.js +2 -0
  166. package/dist/cura/p-5bb8302c.entry.js.map +1 -0
  167. package/dist/cura/p-7090d4a7.entry.js +2 -0
  168. package/dist/cura/p-7090d4a7.entry.js.map +1 -0
  169. package/dist/cura/p-71a2dcef.entry.js +2 -0
  170. package/dist/cura/p-71a2dcef.entry.js.map +1 -0
  171. package/dist/cura/{p-2956f120.entry.js → p-7853ab16.entry.js} +2 -2
  172. package/dist/cura/{p-2956f120.entry.js.map → p-7853ab16.entry.js.map} +1 -1
  173. package/dist/cura/{p-41c3d47d.entry.js → p-81c66f2b.entry.js} +2 -2
  174. package/dist/cura/p-82b99090.js +2 -0
  175. package/dist/cura/p-82b99090.js.map +1 -0
  176. package/dist/cura/p-9a7e3f48.entry.js +2 -0
  177. package/dist/cura/p-9a7e3f48.entry.js.map +1 -0
  178. package/dist/cura/{p-dcd2e5bb.entry.js → p-a7ecea4a.entry.js} +2 -2
  179. package/dist/cura/{p-33772510.entry.js → p-b0451cb3.entry.js} +2 -2
  180. package/dist/cura/{p-907b3d12.entry.js → p-bfb5e9e1.entry.js} +2 -2
  181. package/dist/cura/{p-fdce91a7.entry.js → p-d635501a.entry.js} +2 -2
  182. package/dist/cura/{p-44e3325a.entry.js → p-dbd9eab3.entry.js} +2 -2
  183. package/dist/cura/{p-8f3db0fe.entry.js → p-e5b0dd74.entry.js} +2 -2
  184. package/dist/cura/p-ebed83d1.entry.js +2 -0
  185. package/dist/cura/{p-fcbf4311.entry.js → p-ed839f1e.entry.js} +2 -2
  186. package/dist/cura/p-eda28278.entry.js +2 -0
  187. package/dist/cura/p-eda28278.entry.js.map +1 -0
  188. package/dist/cura/{p-b2d5db22.entry.js → p-eea093b2.entry.js} +2 -2
  189. package/dist/cura/p-f375a612.entry.js +2 -0
  190. package/dist/cura/p-f375a612.entry.js.map +1 -0
  191. package/dist/esm/{app-globals-6ca7103d.js → app-globals-e54ee4c3.js} +32 -1
  192. package/dist/esm/app-globals-e54ee4c3.js.map +1 -0
  193. package/dist/esm/cura-accordion_12.entry.js +39 -38
  194. package/dist/esm/cura-accordion_12.entry.js.map +1 -1
  195. package/dist/esm/cura-alert.entry.js +3 -2
  196. package/dist/esm/cura-alert.entry.js.map +1 -1
  197. package/dist/esm/cura-avatar.entry.js +1 -1
  198. package/dist/esm/cura-badge-distance.entry.js +1 -1
  199. package/dist/esm/cura-badge-number.entry.js +2 -2
  200. package/dist/esm/cura-badge-number.entry.js.map +1 -1
  201. package/dist/esm/cura-button-outline.entry.js +1 -1
  202. package/dist/esm/cura-button-select.entry.js +17 -9
  203. package/dist/esm/cura-button-select.entry.js.map +1 -1
  204. package/dist/esm/cura-button-transparent.entry.js +1 -1
  205. package/dist/esm/cura-calendar.entry.js +2 -2
  206. package/dist/esm/cura-calendar.entry.js.map +1 -1
  207. package/dist/esm/cura-card.entry.js +1 -1
  208. package/dist/esm/cura-checkbox.entry.js +1 -1
  209. package/dist/esm/cura-display.entry.js +1 -1
  210. package/dist/esm/cura-dropdown-search-option-title.entry.js +1 -1
  211. package/dist/esm/cura-dropdown-search-option.entry.js +2 -2
  212. package/dist/esm/cura-dropdown-search.entry.js +21 -11
  213. package/dist/esm/cura-dropdown-search.entry.js.map +1 -1
  214. package/dist/esm/cura-icons-view.entry.js +3 -3
  215. package/dist/esm/cura-input-date.entry.js +45 -45
  216. package/dist/esm/cura-input-date.entry.js.map +1 -1
  217. package/dist/esm/cura-loader-bar.entry.js +1 -1
  218. package/dist/esm/cura-modal.entry.js +46 -0
  219. package/dist/esm/cura-modal.entry.js.map +1 -0
  220. package/dist/esm/cura-radio.entry.js +1 -1
  221. package/dist/esm/cura-switch.entry.js +1 -1
  222. package/dist/esm/cura-toast.entry.js +1 -1
  223. package/dist/esm/cura-tooltip.entry.js +228 -0
  224. package/dist/esm/cura-tooltip.entry.js.map +1 -0
  225. package/dist/esm/cura.js +2 -2
  226. package/dist/esm/loader.js +2 -2
  227. package/dist/types/api/theme-presets/theme-presets.d.ts +43 -0
  228. package/dist/types/api/theme-presets/theme-richet.d.ts +43 -0
  229. package/dist/types/components/accordion/cura-accordion/cura-accordion.d.ts +7 -3
  230. package/dist/types/components/accordion/cura-accordion/cura-accordion.stories.d.ts +38 -16
  231. package/dist/types/components/accordion/cura-accordion-item/cura-accordion-item.d.ts +8 -3
  232. package/dist/types/components/buttons/cura-button-select/cura-button-select.d.ts +2 -0
  233. package/dist/types/components/buttons/cura-button-select/cura-button-select.stories.d.ts +14 -0
  234. package/dist/types/components/cura-modal/cura-modal.d.ts +28 -0
  235. package/dist/types/components/cura-modal/cura-modal.stories.d.ts +70 -0
  236. package/dist/types/components/cura-tooltip/cura-tooltip.d.ts +25 -0
  237. package/dist/types/components/cura-tooltip/cura-tooltip.stories.d.ts +119 -0
  238. package/dist/types/components/forms/cura-dropdown-search/cura-dropdown-search.d.ts +1 -0
  239. package/dist/types/components/forms/cura-input-date/cura-input-date.d.ts +19 -19
  240. package/dist/types/components/text/cura-heading/cura-heading.d.ts +1 -0
  241. package/dist/types/components.d.ts +131 -10
  242. package/package.json +2 -2
  243. package/dist/cjs/app-globals-4d07f363.js.map +0 -1
  244. package/dist/cura/p-0b7a7306.js +0 -2
  245. package/dist/cura/p-0b7a7306.js.map +0 -1
  246. package/dist/cura/p-2d267d23.entry.js +0 -2
  247. package/dist/cura/p-2d267d23.entry.js.map +0 -1
  248. package/dist/cura/p-4e14c01c.entry.js +0 -2
  249. package/dist/cura/p-b43b69f3.entry.js +0 -2
  250. package/dist/cura/p-b43b69f3.entry.js.map +0 -1
  251. package/dist/cura/p-be10b681.entry.js +0 -2
  252. package/dist/cura/p-be10b681.entry.js.map +0 -1
  253. package/dist/cura/p-cda24a1e.entry.js +0 -2
  254. package/dist/cura/p-cda24a1e.entry.js.map +0 -1
  255. package/dist/cura/p-e8bc6381.entry.js +0 -2
  256. package/dist/cura/p-e8bc6381.entry.js.map +0 -1
  257. package/dist/cura/p-ed97cf3c.entry.js +0 -2
  258. package/dist/cura/p-ed97cf3c.entry.js.map +0 -1
  259. package/dist/esm/app-globals-6ca7103d.js.map +0 -1
  260. /package/dist/cura/{p-116a1cd6.entry.js.map → p-01e301d4.entry.js.map} +0 -0
  261. /package/dist/cura/{p-c6508bd7.entry.js.map → p-075b02de.entry.js.map} +0 -0
  262. /package/dist/cura/{p-fd083399.entry.js.map → p-0e28f1c8.entry.js.map} +0 -0
  263. /package/dist/cura/{p-e5023e34.entry.js.map → p-1f53580a.entry.js.map} +0 -0
  264. /package/dist/cura/{p-41c3d47d.entry.js.map → p-81c66f2b.entry.js.map} +0 -0
  265. /package/dist/cura/{p-dcd2e5bb.entry.js.map → p-a7ecea4a.entry.js.map} +0 -0
  266. /package/dist/cura/{p-33772510.entry.js.map → p-b0451cb3.entry.js.map} +0 -0
  267. /package/dist/cura/{p-907b3d12.entry.js.map → p-bfb5e9e1.entry.js.map} +0 -0
  268. /package/dist/cura/{p-fdce91a7.entry.js.map → p-d635501a.entry.js.map} +0 -0
  269. /package/dist/cura/{p-44e3325a.entry.js.map → p-dbd9eab3.entry.js.map} +0 -0
  270. /package/dist/cura/{p-8f3db0fe.entry.js.map → p-e5b0dd74.entry.js.map} +0 -0
  271. /package/dist/cura/{p-4e14c01c.entry.js.map → p-ebed83d1.entry.js.map} +0 -0
  272. /package/dist/cura/{p-fcbf4311.entry.js.map → p-ed839f1e.entry.js.map} +0 -0
  273. /package/dist/cura/{p-b2d5db22.entry.js.map → p-eea093b2.entry.js.map} +0 -0
@@ -145,6 +145,36 @@ const ThemeOncology = Object.assign(Object.assign({}, ThemeDefault), {
145
145
  },
146
146
  } });
147
147
 
148
+ /**
149
+ * Richet Theme
150
+ */
151
+ const ThemeRichet = Object.assign(Object.assign({}, ThemeDefault), {
152
+ /* Custom */
153
+ /* Colors */
154
+ color: {
155
+ primary: {
156
+ '100': '153,197,255',
157
+ '300': '67,142,241',
158
+ '500': '0,47,108',
159
+ '700': '1,39,91',
160
+ '900': '0,33,77'
161
+ },
162
+ secondary: {
163
+ '100': '243,237,227',
164
+ '300': '216,194,163',
165
+ '500': '208,173,103',
166
+ '700': '201,155,64',
167
+ '900': '149,104,15'
168
+ },
169
+ accent: {
170
+ '100': '167,230,215',
171
+ '300': '130,225,209',
172
+ '500': '44,213,196',
173
+ '700': '26,188,169',
174
+ '900': '0,150,129'
175
+ }
176
+ } });
177
+
148
178
  /**
149
179
  * Legacy Default Theme
150
180
  */
@@ -195,6 +225,7 @@ const ThemePresets = {
195
225
  'default': ThemeDefault,
196
226
  'maternidade': ThemeMaternity,
197
227
  'oncologia': ThemeOncology,
228
+ 'richet': ThemeRichet,
198
229
  'legacyDefault': ThemeLegacyDefault
199
230
  };
200
231
 
@@ -524,4 +555,4 @@ const globalScripts = appGlobalScript;
524
555
 
525
556
  exports.globalScripts = globalScripts;
526
557
 
527
- //# sourceMappingURL=app-globals-4d07f363.js.map
558
+ //# sourceMappingURL=app-globals-f33ceef8.js.map
@@ -0,0 +1 @@
1
+ {"file":"app-globals-f33ceef8.js","mappings":";;AAAA;;;AAGO,MAAM,YAAY,GAAG;;IAE1B,KAAK,EAAE;QACL,OAAO,EAAE;YACP,KAAK,EAAE,aAAa;YACpB,KAAK,EAAE,YAAY;YACnB,KAAK,E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,CAAC,IAAI,EAAE,QAAQ,CAAC,CAAC,EAAE;aAC3J;SACH,CAAC;QACD,IAAI,MAAM,IAAI,MAAM,CAAC,WAAW,EAAE;YAChC,IAAI,CAAC,KAAK,CAAC,SAAS,CAAC,MAAM,CAAC,WAAW,CAAC,CAAC;SAC1C;aAAM;YACL,MAAM,KAAK,GAAG,MAAM,IAAI,MAAM,CAAC,KAAK,GAAG,MAAM,CAAC,KAAK,GAAG,SAAS,CAAC;YAChE,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;SACxB;KACF;;;;ICvBD,MAAM,MAAM,GAAG,MAAM,CAAC,QAAQ,CAAC;IAC/B,MAAM,CAAC,OAAO,GAAG,MAAM,GAAG,IAAI,OAAO,CAAC,MAAM,CAAC,GAAG,IAAI,OAAO,EAAE,CAAC;IAC9D,MAAM,GAAG,GAAG,MAAM,CAAC,OAAO,CAAC;IAC3B,MAAM,CAAC,aAAa,CAAC,IAAI,WAAW,CAAC,cAAc,EAAE,EAAE,MAAM,EAAE,EAAC,GAAG,EAAC,EAAE,CAAC,CAAC,CAAC;IACzE,IAAI,MAAM,IAAI,OAAO,MAAM,CAAC,OAAO,KAAK,UAAU;QAAE,MAAM,CAAC,OAAO,CAAC,GAAG,CAAC,CAAC;AAC1E;;ACjBY,MAAC,aAAa,GAAG;;;;","names":[],"sources":["src/api/theme-presets/theme-default.ts","src/api/theme-presets/theme-maternity.ts","src/api/theme-presets/theme-oncology.ts","src/api/theme-presets/theme-richet.ts","src/api/theme-presets/theme-legacy-default.ts","src/api/theme-presets/theme-presets.ts","src/api/theme-presets/static.ts","src/api/modules/cura-theme-colors-module.ts","src/api/modules/cura-theme-spacing-module.ts","src/api/modules/cura-theme-fonts-module.ts","src/api/modules/cura-theme-breakpoints-module.ts","src/api/modules/cura-theme-module.ts","src/api/cura-api.ts","src/rededor-cura-start.ts","@stencil/core/internal/app-globals"],"sourcesContent":["/**\n * Cura Default Theme\n */\nexport const ThemeDefault = {\n /* Colors */\n color: {\n primary: {\n '100': '113,197,232',\n '300': '68,142,205',\n '500': '0,61,165',\n '700': '0,48,117',\n '900': '0,40,85'\n },\n secondary: {\n '100': '245,236,227',\n '300': '221,192,162',\n '500': '204,160,116',\n '700': '136,107,77',\n '900': '41,32,23'\n },\n accent: {\n '100': '255,194,123',\n '300': '255,168,74',\n '500': '255,130,0',\n '700': '215,114,10',\n '900': '155,90,26'\n }\n },\n /* Spacing */\n spacing: {\n base: 4,\n },\n /* Fonts */\n font: {\n size: '14px',\n color: '#4A4A4A',\n body: \"'Gotham', Arial, Helvetica, sans-serif\",\n heading: \"'Gotham', Arial, Helvetica, sans-serif\",\n display: \"'Gotham', Arial, Helvetica, sans-serif\",\n weights: {\n thin: 100,\n light: 300,\n regular: 400,\n medium: 500,\n bold: 700,\n black: 900\n },\n }\n};\n","/**\n * Maternity Theme\n */\nimport { ThemeDefault } from \"./theme-default\";\n\nexport const ThemeMaternity = {\n /* Get default theme */\n ...ThemeDefault,\n\n /* Custom */\n /* Colors */\n color: {\n primary: {\n '100': '248,227,226',\n '300': '255,179,171',\n '500': '218,113,111',\n '700': '145,75,74',\n '900': '73,38,37'\n },\n secondary: {\n '100': '253,251,249',\n '300': '247,244,238',\n '500': '245,236,227',\n '700': '204,197,189',\n '900': '163,157,151'\n },\n accent: {\n '100': '236,239,249',\n '300': '133,153,203',\n '500': '11,20,151',\n '700': '7,13,101',\n '900': '4,7,50'\n }\n },\n font: {\n size: '14px',\n color: '#4A4A4A',\n body: \"'Gotham', Arial, Helvetica, sans-serif\",\n heading: \"'Gotham', Arial, Helvetica, sans-serif\",\n display: \"'Gotham', Arial, Helvetica, sans-serif\",\n weights: {\n thin: 100,\n light: 300,\n regular: 400,\n medium: 500,\n bold: 700,\n black: 900\n },\n }\n};\n","/**\n * Oncology Theme\n */\nimport { ThemeDefault } from \"./theme-default\";\n\nexport const ThemeOncology = {\n /* Get default theme */\n ...ThemeDefault,\n\n /* Custom */\n /* Colors */\n color: {\n primary: {\n '100': '170,190,225',\n '300': '85,126,196',\n '500': '0,61,166',\n '700': '0,41,111',\n '900': '0,12,33'\n },\n secondary: {\n '100': '205,215,227',\n '300': '155,175,199',\n '500': '104,134,171',\n '700': '54,95,143',\n '900': '4,54,115',\n },\n accent: {\n '100': '153,207,255',\n '300': '71,169,255',\n '500': '0,131,245',\n '700': '0,109,204',\n '900': '0,88,164',\n },\n aux: {\n '100': '218,242,239',\n '300': '132,212,202',\n '500': '71,191,176',\n '700': '33,100,92',\n '900': '14,38,35',\n },\n },\n font: {\n size: '14px',\n color: '#4A4A4A',\n body: \"'Hanken Grotesk', Arial, Helvetica, sans-serif\",\n heading: \"'Hanken Grotesk', Arial, Helvetica, sans-serif\",\n display: \"'Hanken Grotesk', Arial, Helvetica, sans-serif\",\n weights: {\n thin: 100,\n light: 300,\n regular: 400,\n medium: 500,\n bold: 700,\n black: 900\n },\n }\n};\n","/**\n * Richet Theme\n */\nimport { ThemeDefault } from \"./theme-default\";\n\nexport const ThemeRichet = {\n /* Get default theme */\n ...ThemeDefault,\n\n /* Custom */\n /* Colors */\n color: {\n primary: {\n '100': '153,197,255',\n '300': '67,142,241',\n '500': '0,47,108',\n '700': '1,39,91',\n '900': '0,33,77'\n },\n secondary: {\n '100': '243,237,227',\n '300': '216,194,163',\n '500': '208,173,103',\n '700': '201,155,64',\n '900': '149,104,15'\n },\n accent: {\n '100': '167,230,215',\n '300': '130,225,209',\n '500': '44,213,196',\n '700': '26,188,169',\n '900': '0,150,129'\n }\n },\n};\n","/**\n * Legacy Default Theme\n */\nimport { ThemeDefault } from \"./theme-default\";\n\nexport const ThemeLegacyDefault = {\n /* Get default theme */\n ...ThemeDefault,\n\n /* Custom */\n /* Colors */\n color: {\n primary: {\n '100': '204,217,231',\n '300': '85,128,174',\n '500': '0,65,134',\n '700': '0,43,89',\n '900': '0,13,27'\n },\n secondary: {\n '100': '238,232,206',\n '300': '198,180,92',\n '500': '170,142,11',\n '700': '113,95,7',\n '900': '34,28,2'\n },\n accent: {\n '100': '249,232,213',\n '300': '228,160,79',\n '500': '223,141,44',\n '700': '149,94,29',\n '900': '45,28,9'\n }\n },\n /* Fonts */\n font: {\n size: '14px',\n color: '#4A4A4A',\n body: \"'Roboto', Arial, Helvetica, sans-serif\",\n heading: \"'Roboto', Arial, Helvetica, sans-serif\",\n display: \"'Roboto', Arial, Helvetica, sans-serif\",\n weights: {\n thin: 100,\n light: 300,\n regular: 400,\n medium: 500,\n bold: 700,\n black: 900\n },\n }\n};\n","import { ThemeDefault } from './theme-default';\nimport { ThemeMaternity } from './theme-maternity';\nimport { ThemeOncology } from './theme-oncology';\nimport { ThemeRichet } from './theme-richet';\nimport { ThemeLegacyDefault } from './theme-legacy-default';\n\nexport const ThemePresets = {\n 'default': ThemeDefault,\n 'maternidade': ThemeMaternity,\n 'oncologia': ThemeOncology,\n 'richet': ThemeRichet,\n 'legacyDefault': ThemeLegacyDefault\n};\n","/**\n * Static\n */\nexport const Static = {\n /* Colors */\n color: {\n success: {\n '100': '223,246,233',\n '300': '148,225,181',\n '500': '95,210,144',\n '700': '49,115,77',\n '900': '19,42,29',\n },\n info: {\n '100': '207,226,255',\n '300': '149,191,255',\n '500': '110,168,255',\n '700': '66,100,153',\n '900': '37,56,85',\n },\n error: {\n '100': '251,221,221',\n '300': '242,143,143',\n '500': '235,87,87',\n '700': '157,58,58',\n '900': '47,17,17',\n },\n warning: {\n '100': '252,250,196',\n '300': '248,244,137',\n '500': '245,239,78',\n '700': '108,106,32',\n '900': '49,48,16',\n },\n neutral: {\n '0': '255,255,255',\n '100': '246,246,246',\n '200': '233,233,233',\n '300': '226,226,226',\n '400': '212,212,212',\n '500': '183,183,183',\n '600': '146,146,146',\n '700': '110,110,110',\n '800': '74,74,74',\n '900': '38,38,38',\n },\n },\n breakpoints: {\n xsmall: {\n min: 0,\n max: 480\n },\n small: {\n min: 481,\n max: 768\n },\n medium: {\n min: 769,\n max: 992\n },\n large: {\n min: 993,\n max: 1920\n },\n xlarge: {\n min: 1921,\n max: 4096\n }\n }\n};\n","import { Static } from \"../theme-presets/static\";\n\nexport default class CuraThemeColorsModule {\n\n NeutralDepthAlias = {\n 'purewhite': '0',\n 'white': '100',\n 'pale': '200',\n 'lighter': '300',\n 'light': '400',\n 'base': '500',\n 'medium': '600',\n 'dark': '700',\n 'darker': '800',\n 'black': '900',\n };\n\n ColorDepthAlias = {\n 'lighter': '100',\n 'light': '300',\n 'base': '500',\n 'dark': '700',\n 'darker': '900'\n }\n\n constructor() {}\n\n /**\n * Get theme color.\n * @param colorWithDepth string Ex.: primary-light\n * @returns RGBA value.\n */\n getColor(colorWithDepth: string = \"primary-base\", opacity = 1): string {\n const { color, depth } = this.splitColorDepth(colorWithDepth);\n const staticColor = this.getStatic(color, depth, opacity);\n if (staticColor) return staticColor;\n return this.getDynamic(color, depth, opacity);\n }\n\n /**\n * Internal: Look for static color by name and depth.\n * @param color Color name.\n * @param depth Depth number or alias.\n * @returns RGBA value.\n */\n getStatic(color: string, depth: string, opacity = 1) {\n const colorObj = Static.color[color];\n if (!colorObj) return null;\n const alias = color === 'neutral' ? this.NeutralDepthAlias[depth] : this.ColorDepthAlias[depth];\n return Static.color[color]?.[alias]\n ? `rgba(${Static.color[color]?.[alias]}, ${opacity})`\n : `rgba(${Static.color[color]?.[depth]}, ${opacity})`;\n }\n\n /**\n * Internal: Look for theme dynamic colors.\n * @param color Color name.\n * @param depth Color depth.\n * @returns RGBA value.\n */\n getDynamic(color: string, depth: string, opacity: number) {\n const themeVar = this.ColorDepthAlias[depth]\n ? `--cura-color-${color}-${this.ColorDepthAlias[depth]}`\n : `--cura-color-${color}-${depth}`;\n return getComputedStyle(document.documentElement).getPropertyValue(themeVar)\n ? `rgba(var(${themeVar}), ${opacity})`\n : `rgba(var(--cura-color-primary-500), ${opacity})`;\n }\n\n /**\n * Internal: Split color strings\n * @param colorWithDepth Color string [color]-[depth]. Ex.: primary-dark.\n * @returns Object { color: string, depth: string }.\n */\n private splitColorDepth(colorWithDepth: string): { color: string, depth: string } {\n const [ color, depth ] = colorWithDepth.toLowerCase().split(/-(.*)/);\n return { color: color ?? \"primary\", depth: depth ?? \"base\" };\n }\n\n}\n","export default class CuraThemeSpacingModule {\n\n private curaSpacing = '--cura-spacing-base';\n\n constructor() {}\n\n /** Returns the base spacing var defined in the theme */\n getSpacing(): string {\n if (getComputedStyle(document.body).getPropertyValue(this.curaSpacing)) {\n return `var(${this.curaSpacing})`;\n }\n return '4';\n }\n}\n","import { ThemeDefault } from \"../theme-presets/theme-default\";\n\nexport default class CuraThemeFontsModule {\n\n constructor() {}\n\n /**\n * Get the CSS variable related to the font family defined by the theme.\n * @param type 'body' | 'heading' | 'display'\n * @returns Related css variable as a string.\n */\n getFamily(type: string = \"body\"): string {\n const curaFontFamilyCSSVar = `--cura-font-${type.toLowerCase()}`;\n return getComputedStyle(document.body).getPropertyValue(curaFontFamilyCSSVar)\n ? `var(${curaFontFamilyCSSVar})`\n : 'var(--cura-font-body)';\n }\n\n /**\n * Get the CSS variables related to font weights defined by the theme.\n * @returns Object with CSS vars weights definitions for thin, light, regular, medium, bold and black fonts.\n */\n getWeights(): any {\n const weights = {};\n Object.keys(ThemeDefault.font.weights).forEach((key) => weights[key] = `var(--cura-font-weights-${key})`);\n return weights;\n }\n\n /**\n * Get the CSS variable related to the font size base defined by the theme.\n * @returns Related CSS variable as a string.\n */\n getSize = () => `var(--cura-font-size)`;\n\n /**\n * Get CSS variable related to the font color defined by the theme.\n * @returns Related CSS variable as a string.\n */\n getColor = () => `var(--cura-font-color)`;\n\n}\n","import { Static } from '../theme-presets/static';\n\nexport default class CuraThemeBreakpointsModule {\n\n constructor() {}\n\n /** Returns the base spacing var defined in the theme */\n get(size: 'xsmall' | 'small' | 'medium' | 'large' | 'xlarge' = null, position: 'min' | 'max' = null): any {\n if (size) {\n const breakpoint = position ? Static.breakpoints[size][position] : Static.breakpoints[size];\n if (breakpoint || breakpoint === 0) return breakpoint;\n }\n return Static.breakpoints;\n }\n}\n","import { ThemePresets } from \"../theme-presets/theme-presets\";\nimport { CuraCustomTheme } from \"../cura-api.type\";\nimport CuraThemeColorsModule from \"./cura-theme-colors-module\";\nimport CuraThemeSpacingModule from \"./cura-theme-spacing-module\";\nimport CuraThemeFontsModule from \"./cura-theme-fonts-module\";\nimport CuraThemeBreakpointsModule from \"./cura-theme-breakpoints-module\";\n\nexport default class CuraThemeModule {\n\n rootElement: HTMLElement;\n prefix = '--cura';\n colors = new CuraThemeColorsModule();\n spacing = new CuraThemeSpacingModule();\n fonts = new CuraThemeFontsModule();\n breakpoints = new CuraThemeBreakpointsModule();\n\n constructor() {\n this.rootElement = window.document.documentElement;\n }\n\n /**\n * Load a theme.\n * @param theme Theme tag.\n */\n load(theme = 'default') {\n const preset = ThemePresets[theme] ? ThemePresets[theme] : ThemePresets.default;\n this.buildCssVars(this.prefix, preset);\n }\n\n /**\n * Define a custom theme\n * @param customTheme Custom theme object definition\n */\n setCustom(customTheme: CuraCustomTheme) {\n const customTag = customTheme.name;\n if (customTag in ThemePresets) {\n console.log('Error building custom theme. Theme %s already exists. Loading default theme.', customTag);\n this.load('default');\n } else {\n const preset = customTheme.fromPreset && customTheme.fromPreset in ThemePresets\n ? ThemePresets[customTheme.fromPreset]\n : ThemePresets.default;\n const newTheme = {...JSON.parse(JSON.stringify(preset))};\n this.mergeObject(customTheme.definitions, newTheme);\n ThemePresets[customTag] = newTheme;\n this.load(customTag);\n }\n }\n\n /* Private */\n\n /** Set css var based on object structure */\n setCssVar = (prop, path) => {\n const varName = this.groupPath(path, prop[0]);\n this.rootElement.style.setProperty(varName, prop[1]);\n }\n\n groupPath = (a, b) => `${a}-${b}`;\n\n isObject = (val) => {\n return val && typeof val === 'object' && !Array.isArray(val);\n }\n\n /** Deep merge objects */\n mergeObject = (from, to) => {\n const entries = Object.entries(from);\n for (let e of entries) {\n if (this.isObject(e[1])) {\n this.mergeObject(e[1], to[e[0]]);\n } else {\n to[e[0]] = e[1];\n }\n }\n }\n\n /** Set css vars from preset object */\n buildCssVars = (path, obj) => {\n const entries = Object.entries(obj);\n for (let e of entries) {\n if (this.isObject(e[1])) {\n this.buildCssVars(this.groupPath(path, e[0]), e[1]);\n } else {\n this.setCssVar(e, path);\n }\n }\n }\n}\n","import { CuraConfig, APIThemeFunctions, CuraCustomTheme } from './cura-api.type';\nimport CuraThemeModule from './modules/cura-theme-module';\n\nexport default class CuraAPI {\n\n theme: APIThemeFunctions;\n localAssetsPath: string;\n\n constructor (config?: CuraConfig) {\n this.localAssetsPath = config && config.localAssetsPath ? config.localAssetsPath : `/assets`;\n const themeModule = new CuraThemeModule();\n this.theme = {\n load: function(themeTag: string) { themeModule.load(themeTag); },\n setCustom: function(customThemeDefinitions: CuraCustomTheme) { themeModule.setCustom(customThemeDefinitions); },\n colors: {\n getColor: function(colorWithDepth?: string, opacity?: number) { return themeModule.colors.getColor(colorWithDepth, opacity) },\n },\n fonts: {\n getFamily: function(type?: string) { return themeModule.fonts.getFamily(type) },\n getWeights: function() { return themeModule.fonts.getWeights() },\n getSize: function() { return themeModule.fonts.getSize() },\n getColor: function() { return themeModule.fonts.getColor() }\n },\n spacing: {\n getSpacing: function() { return themeModule.spacing.getSpacing(); },\n },\n breakpoints: {\n get: function(size?: 'xsmall' | 'small' | 'medium' | 'large' | 'xlarge', position?: 'min' | 'max') { return themeModule.breakpoints.get(size, position); }\n }\n };\n if (config && config.customTheme) {\n this.theme.setCustom(config.customTheme);\n } else {\n const theme = config && config.theme ? config.theme : 'default';\n this.theme.load(theme);\n }\n }\n\n}\n","import CuraAPI from './api/cura-api';\nimport { CuraConfig } from './api/cura-api.type';\n// import { setAssetPath } from '@stencil/core';\n\n// setAssetPath(import.meta.url);\ndeclare global {\n interface Window {\n CuraAPI?: CuraAPI,\n CuraInit?: CuraConfig\n }\n}\n\nexport default function() {\n const config = window.CuraInit;\n window.CuraAPI = config ? new CuraAPI(config) : new CuraAPI();\n const api = window.CuraAPI;\n window.dispatchEvent(new CustomEvent(\"CuraAPIReady\", { detail: {api} }));\n if (config && typeof config.onReady === 'function') config.onReady(api);\n}\n","import appGlobalScript from '/Users/fellipesoares/Code/cura/packages/component-lib/src/rededor-cura-start.ts';\nexport const globalScripts = appGlobalScript;\n"],"version":3}
@@ -6,7 +6,7 @@ const index = require('./index-e6d728ec.js');
6
6
  const curaButton_definitions = require('./cura-button.definitions-f036371c.js');
7
7
  const curaIcon_definitions = require('./cura-icon.definitions-8d714f6a.js');
8
8
 
9
- const curaAccordionCss = ":host{display:block;color:var(--font-color);font-size:var(--font-size);font-size:var(--font-size);font-family:var(--font-family);font-weight:var(--font-weight-regular)}:host::after{content:\"\";display:block;border-bottom:solid 1px var(--neutral-base);width:100%}";
9
+ const curaAccordionCss = ":host{display:block;color:var(--font-color);font-size:var(--font-size);font-size:var(--font-size);font-family:var(--font-family);font-weight:var(--font-weight-regular)}";
10
10
  const CuraAccordionStyle0 = curaAccordionCss;
11
11
 
12
12
  const CuraAccordion = class {
@@ -34,14 +34,14 @@ const CuraAccordion = class {
34
34
  };
35
35
  this.mutationObserver = new MutationObserver(this.mutationObserverCallback);
36
36
  this.color = 'primary';
37
- this.activeColor = 'accent';
38
37
  this.colorMode = 'dark';
39
- this.iconSize = 32;
38
+ this.iconSize = 20;
39
+ this.labelIcon = '';
40
40
  this.openIcon = 'down';
41
41
  this.closeIcon = 'up';
42
42
  this.iconColor = '';
43
- this.iconActiveColor = '';
44
43
  this.behavior = 'default';
44
+ this.level = 3;
45
45
  this.styles = {};
46
46
  }
47
47
  handleChangeColor() {
@@ -50,8 +50,6 @@ const CuraAccordion = class {
50
50
  connectedCallback() {
51
51
  const weights = window.CuraAPI.theme.fonts.getWeights();
52
52
  this.styles['--base-spacing'] = window.CuraAPI.theme.spacing.getSpacing();
53
- this.styles['--neutral-purewhite'] = window.CuraAPI.theme.colors.getColor(`neutral-purewhite`);
54
- this.styles['--neutral-lighter'] = window.CuraAPI.theme.colors.getColor(`neutral-lighter`);
55
53
  this.styles['--neutral-base'] = window.CuraAPI.theme.colors.getColor(`neutral-base`);
56
54
  this.styles['--font-size'] = window.CuraAPI.theme.fonts.getSize();
57
55
  this.styles['--font-color'] = window.CuraAPI.theme.fonts.getColor();
@@ -73,48 +71,45 @@ const CuraAccordion = class {
73
71
  // Theme
74
72
  item.colorMode = this.colorMode;
75
73
  item.iconColor = this.iconColor || this.color;
76
- item.iconActiveColor = this.iconActiveColor || this.activeColor;
77
74
  // Icon
78
75
  item.iconSize = this.iconSize;
76
+ if (this.labelIcon)
77
+ item.labelIcon = this.labelIcon; // It's possible to define a specific icon for each item.
79
78
  item.openIcon = this.openIcon;
80
79
  item.closeIcon = this.closeIcon;
80
+ // Level
81
+ item.level = this.level;
81
82
  }
82
83
  setColors() {
83
- this.styles = Object.assign(Object.assign({}, this.styles), { '--color-lighter': window.CuraAPI.theme.colors.getColor(`${this.color}-lighter`), '--color-light': window.CuraAPI.theme.colors.getColor(`${this.color}-light`), '--color-base': window.CuraAPI.theme.colors.getColor(`${this.color}-base`), '--color-dark': window.CuraAPI.theme.colors.getColor(`${this.color}-dark`), '--color-active-lighter': window.CuraAPI.theme.colors.getColor(`${this.activeColor}-lighter`), '--color-active-light': window.CuraAPI.theme.colors.getColor(`${this.activeColor}-light`), '--color-active-base': window.CuraAPI.theme.colors.getColor(`${this.activeColor}-base`), '--color-active-dark': window.CuraAPI.theme.colors.getColor(`${this.activeColor}-dark`), '--icon-color-lighter': window.CuraAPI.theme.colors.getColor(`${this.iconColor || this.color}-lighter`), '--icon-color-light': window.CuraAPI.theme.colors.getColor(`${this.iconColor || this.color}-light`), '--icon-color-base': window.CuraAPI.theme.colors.getColor(`${this.iconColor || this.color}-base`), '--icon-color-dark': window.CuraAPI.theme.colors.getColor(`${this.iconColor || this.color}-dark`), '--icon-color-active-lighter': window.CuraAPI.theme.colors.getColor(`${this.iconActiveColor || this.activeColor}-lighter`), '--icon-color-active-light': window.CuraAPI.theme.colors.getColor(`${this.iconActiveColor || this.activeColor}-light`), '--icon-color-active-base': window.CuraAPI.theme.colors.getColor(`${this.iconActiveColor || this.activeColor}-base`), '--icon-color-active-dark': window.CuraAPI.theme.colors.getColor(`${this.iconActiveColor || this.activeColor}-dark`) });
84
+ this.styles = Object.assign(Object.assign({}, this.styles), { "--acc-color": window.CuraAPI.theme.colors.getColor("neutral-black"), "--acc-color-hover": window.CuraAPI.theme.colors.getColor(`${this.color}-base`), "--acc-color-icon": window.CuraAPI.theme.colors.getColor(`${this.iconColor || this.color}-base`), "--acc-color-icon-hover": window.CuraAPI.theme.colors.getColor(`${this.iconColor || this.color}-darker`), "--acc-color-inverted": window.CuraAPI.theme.colors.getColor("neutral-white"), "--acc-color-hover-inverted": window.CuraAPI.theme.colors.getColor(`${this.color}-lighter`), "--acc-color-icon-inverted": window.CuraAPI.theme.colors.getColor("neutral-white"), "--acc-color-icon-hover-inverted": window.CuraAPI.theme.colors.getColor(`${this.iconColor || this.color}-lighter`) });
84
85
  }
85
86
  render() {
86
- return (index.h(index.Host, { key: '6d25b84df610918423ce8eac4213e4f012af6a20', style: this.styles }, index.h("slot", { key: '812c3195ec83ecee009a221bc3bec303903c1e68', name: 'accordion-item' })));
87
+ return (index.h(index.Host, { key: 'a56103203dd352195eaac03957350c73a1fcfb06', style: this.styles }, index.h("slot", { key: '3226a757908201e1c91d6a9a195980d9020f2327', name: 'accordion-item' })));
87
88
  }
88
89
  get host() { return index.getElement(this); }
89
90
  static get watchers() { return {
90
- "color": ["handleChangeColor"],
91
- "activeColor": ["handleChangeColor"]
91
+ "color": ["handleChangeColor"]
92
92
  }; }
93
93
  };
94
94
  CuraAccordion.style = CuraAccordionStyle0;
95
95
 
96
- const curaAccordionItemCss = ":host{display:block}:host .accordion-item{width:100%}:host .accordion-item .label{display:flex;flex-direction:column}:host .accordion-item .label::before{content:\"\";display:block;border-top:solid 1px var(--neutral-base);width:100%}:host .accordion-item .label .label-container{display:flex;flex-grow:1;justify-content:space-between;align-items:center;gap:calc(var(--base-spacing) * 2px);min-height:40px;word-break:break-word;cursor:pointer;font-size:1.14em;font-weight:var(--font-weight-regular);color:var(--color-base);padding:0px}:host .accordion-item .label .label-container cura-icon{margin-right:4px}:host .accordion-item .label .label-container:hover{color:var(--color-light)}:host .accordion-item .label .label-container:hover cura-icon{--color:var(--icon-color-light) !important}:host .accordion-item .label .label-container:active{color:var(--color-dark)}:host .accordion-item .label .label-container:active cura-icon{--color:var(--icon-color-dark) !important}:host .accordion-item .content{font-size:1em;overflow:hidden;max-height:0;transition:max-height 0.25s ease}:host .accordion-item .content .content-wrapper{padding:calc(var(--base-spacing) * 2px) 0px;border-top:solid 1px var(--neutral-base)}:host .accordion-item.active .label .label-container{color:var(--color-active-base)}:host .accordion-item.active .label .label-container:hover{color:var(--color-active-light)}:host .accordion-item.active .label .label-container:hover cura-icon{--color:var(--icon-color-active-light) !important}:host .accordion-item.active .label .label-container:active{color:var(--color-active-dark)}:host .accordion-item.active .label .label-container:active cura-icon{--color:var(--icon-color-active-dark) !important}:host .accordion-item.active .content{max-height:200vh;overflow-y:auto;transition:max-height 0.5s ease 0.14s}:host .accordion-item.inverted .label .label-container{color:var(--neutral-lighter)}:host .accordion-item.inverted .label .label-container:hover{color:var(--color-lighter)}:host .accordion-item.inverted .label .label-container:hover cura-icon{--color:var(--icon-color-lighter) !important}:host .accordion-item.inverted .label .label-container:active{color:var(--color-light)}:host .accordion-item.inverted .label .label-container:active cura-icon{--color:var(--icon-color-light) !important}:host .accordion-item.active.inverted .label .label-container{color:var(--neutral-purewhite)}:host .accordion-item.active.inverted .label .label-container:hover{color:var(--color-active-lighter)}:host .accordion-item.active.inverted .label .label-container:hover cura-icon{--color:var(--icon-color-active-lighter) !important}:host .accordion-item.active.inverted .label .label-container:active{color:var(--color-active-light)}:host .accordion-item.active.inverted .label .label-container:active cura-icon{--color:var(--icon-color-active-light) !important}@media (min-width: 769px) and (max-width: 992px){:host .accordion-item .label .label-container{font-size:1.29em}:host .accordion-item .content{font-size:1.14em}}@media (min-width: 993px){:host .accordion-item .label .label-container{font-size:1.29em}:host .accordion-item .content{font-size:1.14em}}";
96
+ const curaAccordionItemCss = ":host{display:block}:host .accordion-item{width:100%}:host .accordion-item::after{content:\"\";display:block;border-top:solid 1px var(--neutral-base);width:100%}:host .accordion-item:hover:not(.active)::after{content:\"\";display:block;border-top:solid 1px var(--acc-color-icon-hover);width:100%}:host .accordion-item .label{display:flex;flex-direction:column}:host .accordion-item .label .label-container{display:flex;flex-grow:1;justify-content:space-between;align-items:center;gap:calc(var(--base-spacing) * 3px);padding:calc(var(--base-spacing) * 3px);word-break:break-word;cursor:pointer;font-size:1.14em;font-weight:var(--font-weight-regular)}:host .accordion-item .label .label-container .label-content{display:flex;justify-content:center;align-items:center;gap:calc(var(--base-spacing) * 3px)}:host .accordion-item .label .label-container .label-content cura-icon{--color:var(--acc-color) !important}:host .accordion-item .label .label-container .label-content cura-heading{--color-body:var(--acc-color) !important}:host .accordion-item .label .label-container cura-icon{--color:var(--acc-color-icon) !important;margin-right:4px}:host .accordion-item .label .label-container:hover cura-heading{--color-body:var(--acc-color-hover) !important}:host .accordion-item .label .label-container:hover cura-icon{--color:var(--acc-color-icon-hover) !important}:host .accordion-item .content{font-size:1em;overflow:hidden;max-height:0;transition:max-height 0.25s ease}:host .accordion-item .content .content-wrapper{padding:calc(var(--base-spacing) * 3px)}:host .accordion-item.inverted:hover:not(.active)::after{content:\"\";display:block;border-top:solid 1px var(--acc-color-icon-hover-inverted);width:100%}:host .accordion-item.inverted .label .label-container cura-heading{--color-body:var(--acc-color-inverted) !important}:host .accordion-item.inverted .label .label-container cura-icon{--color:var(--acc-color-icon-inverted) !important}:host .accordion-item.inverted .label .label-container:hover cura-heading{--color-body:var(--acc-color-hover-inverted) !important}:host .accordion-item.inverted .label .label-container:hover cura-icon{--color:var(--acc-color-icon-hover-inverted) !important}:host .accordion-item.active .content{max-height:200vh;overflow-y:auto;transition:max-height 0.5s ease 0.14s}@media (min-width: 769px) and (max-width: 992px){:host .accordion-item .label .label-container{font-size:1.29em}:host .accordion-item .content{font-size:1.14em}}@media (min-width: 993px){:host .accordion-item .label .label-container{font-size:1.29em}:host .accordion-item .content{font-size:1.14em}}";
97
97
  const CuraAccordionItemStyle0 = curaAccordionItemCss;
98
98
 
99
99
  const CuraAccordionItem = class {
100
100
  constructor(hostRef) {
101
101
  index.registerInstance(this, hostRef);
102
102
  this.label = '';
103
- this.iconSize = 32;
103
+ this.iconSize = 20;
104
+ this.labelIcon = '';
104
105
  this.openIcon = 'down';
105
106
  this.closeIcon = 'up';
106
107
  this.iconColor = '';
107
- this.iconActiveColor = '';
108
108
  this.colorMode = 'dark';
109
+ this.level = 3;
109
110
  this.opened = false;
110
111
  this.styles = {};
111
112
  }
112
- getIconColor() {
113
- const inverted = this.colorMode === 'light';
114
- const iconColor = inverted ? 'neutral-lighter' : `${this.iconColor}-base`;
115
- const iconActiveColor = inverted ? 'neutral-purewhite' : `${this.iconActiveColor}-base`;
116
- return this.opened ? iconActiveColor : iconColor;
117
- }
118
113
  getClasses() {
119
114
  const classes = {};
120
115
  classes['accordion-item'] = true;
@@ -125,8 +120,13 @@ const CuraAccordionItem = class {
125
120
  accordionItemClick(_) {
126
121
  this.opened = !this.opened;
127
122
  }
123
+ renderIcon() {
124
+ if (!this.labelIcon)
125
+ return '';
126
+ return index.h("cura-icon", { name: this.labelIcon, size: this.iconSize, color: "neutral-black" });
127
+ }
128
128
  render() {
129
- return (index.h(index.Host, { key: '8d46e9fd7c698c049a9020375cd77b5ebb9d38fd', slot: "accordion-item" }, index.h("div", { key: 'fdc11f228f3051f2452b0beb56e232de836fa382', class: this.getClasses(), style: this.styles }, index.h("div", { key: '7507b6c72d3433550b1590530c8070fe07431389', class: "label", onClick: e => this.accordionItemClick(e) }, index.h("div", { key: '8f6d6deb3fc2e864ac81abb744c5d4a32ad6b974', class: "label-container" }, index.h("span", { key: '7b1a4e96fa8c3dfdfffa7890c17ed8afacf3032f' }, this.label), index.h("cura-icon", { key: '0f9c6f9dc664ad96a7b02c084700fd8f75fbc677', name: this.opened ? this.closeIcon : this.openIcon, size: this.iconSize, color: this.getIconColor() }))), index.h("div", { key: 'fb1860aa74170ff18edc03b8171356cd1a1fd271', class: 'content' }, index.h("div", { key: '4d3c9252658e9c30521353579f0b3ef9bc8a3087', class: "content-wrapper" }, index.h("slot", { key: '067f12a534860a5942d01d5945d1e4d272e5a541' }))))));
129
+ return (index.h(index.Host, { key: '3dd53ab4a597b1726045ec4d3ed066c6c30050d0', slot: "accordion-item" }, index.h("div", { key: '209291c7c9b587ac546e8b9e40b7d94a11a2489e', class: this.getClasses(), style: this.styles }, index.h("div", { key: '9c2de1103c7f30bc9d2cb0a86fc660c98b94be84', class: "label", onClick: e => this.accordionItemClick(e) }, index.h("div", { key: '052a8be2c00edf3907e49970120d9b65937ab031', class: "label-container" }, index.h("div", { key: 'da543cdbcb0c0d5f691c3d2fcabfbfc9ec46f506', class: "label-content" }, this.renderIcon(), index.h("cura-heading", { key: 'f587de080f2c1779ffacf0b557827c24edf5e1ee', size: "small", level: this.level, weight: 'bold', "margin-block": "0", color: "neutral-black" }, this.label)), index.h("cura-icon", { key: '611b48e32dfd7056a563aab56401feb3c8febee2', name: this.opened ? this.closeIcon : this.openIcon, size: this.iconSize, color: "neutral-black" }))), index.h("div", { key: 'e1d5e606f3e9415570a2a5c2ba3d96264d430bd0', class: 'content' }, index.h("div", { key: '62b76ef21093a4d051120e2502936049a186c36a', class: "content-wrapper" }, index.h("slot", { key: '646b3d0163edf473c1a2e824f251f4db85b2fc18' }))))));
130
130
  }
131
131
  };
132
132
  CuraAccordionItem.style = CuraAccordionItemStyle0;
@@ -230,7 +230,7 @@ const CuraButton = class {
230
230
  render() {
231
231
  const symbolColor = this.getSymbolColor();
232
232
  const labelSize = curaButton_definitions.labelSizes[this.size] || curaButton_definitions.labelSizes["default"];
233
- return (index.h(index.Host, { key: '69971f4a6e86d948b2eb7c3c6bbc0dd5da6826e5' }, this.href ? (index.h("a", { href: this.disabled ? '' : this.href, target: this.target, class: this.getClasses(), style: this.styles, onClick: (e) => this.handleClick(e), onMouseEnter: () => this.handleMouseEnter(), onMouseLeave: () => this.handleMouseLeave() }, index.h("span", { class: "button-container" }, this.getIcon(), index.h("cura-label", { class: "label", size: labelSize, lineHeight: '105%', color: symbolColor }, index.h("slot", null))), index.h("cura-loader-circle", { size: this.size, color: symbolColor }))) : (index.h("button", { class: this.getClasses(), style: this.styles, disabled: this.disabled || null, onClick: (e) => this.handleClick(e), onMouseEnter: () => this.handleMouseEnter(), onMouseLeave: () => this.handleMouseLeave(), type: this.type }, index.h("span", { class: "button-container" }, this.getIcon(), index.h("cura-label", { class: "label", size: labelSize, lineHeight: '105%', color: symbolColor }, index.h("slot", null))), index.h("cura-loader-circle", { size: this.size, color: symbolColor })))));
233
+ return (index.h(index.Host, { key: '2831f74cc53bbadcaf1648c759090204cf3c20ea' }, this.href ? (index.h("a", { href: this.disabled ? '' : this.href, target: this.target, class: this.getClasses(), style: this.styles, onClick: (e) => this.handleClick(e), onMouseEnter: () => this.handleMouseEnter(), onMouseLeave: () => this.handleMouseLeave() }, index.h("span", { class: "button-container" }, this.getIcon(), index.h("cura-label", { class: "label", size: labelSize, lineHeight: '105%', color: symbolColor }, index.h("slot", null))), index.h("cura-loader-circle", { size: this.size, color: symbolColor }))) : (index.h("button", { class: this.getClasses(), style: this.styles, disabled: this.disabled || null, onClick: (e) => this.handleClick(e), onMouseEnter: () => this.handleMouseEnter(), onMouseLeave: () => this.handleMouseLeave(), type: this.type }, index.h("span", { class: "button-container" }, this.getIcon(), index.h("cura-label", { class: "label", size: labelSize, lineHeight: '105%', color: symbolColor }, index.h("slot", null))), index.h("cura-loader-circle", { size: this.size, color: symbolColor })))));
234
234
  }
235
235
  static get formAssociated() { return true; }
236
236
  static get watchers() { return {
@@ -240,7 +240,7 @@ const CuraButton = class {
240
240
  };
241
241
  CuraButton.style = CuraButtonStyle0;
242
242
 
243
- const curaHeadingCss = ":host{display:block;font-size:var(--font-size-base)}:host h1,:host h2,:host h3,:host h4,:host h5,:host h6{font-family:var(--font-family);font-size:1.714em;font-weight:var(--font-weight-regular);color:var(--color-body);line-height:var(--line-height);margin-block:var(--margin-block);letter-spacing:0px}:host h1.bold-weight,:host h2.bold-weight,:host h3.bold-weight,:host h4.bold-weight,:host h5.bold-weight,:host h6.bold-weight{font-weight:var(--font-weight-medium)}:host h1.large,:host h2.large,:host h3.large,:host h4.large,:host h5.large,:host h6.large{font-size:2.071em;letter-spacing:-0.58px}:host h1.small,:host h2.small,:host h3.small,:host h4.small,:host h5.small,:host h6.small{font-size:1.214em;line-height:calc(var(--line-height) + 20%)}:host h1.small.bold-weight,:host h1.small ::slotted(b),:host h1.small ::slotted(strong),:host h2.small.bold-weight,:host h2.small ::slotted(b),:host h2.small ::slotted(strong),:host h3.small.bold-weight,:host h3.small ::slotted(b),:host h3.small ::slotted(strong),:host h4.small.bold-weight,:host h4.small ::slotted(b),:host h4.small ::slotted(strong),:host h5.small.bold-weight,:host h5.small ::slotted(b),:host h5.small ::slotted(strong),:host h6.small.bold-weight,:host h6.small ::slotted(b),:host h6.small ::slotted(strong){font-weight:var(--font-weight-bold)}:host h1.xsmall,:host h2.xsmall,:host h3.xsmall,:host h4.xsmall,:host h5.xsmall,:host h6.xsmall{font-size:0.714em;font-weight:var(--font-weight-medium);letter-spacing:0.6px}:host h1.xsmall.bold-weight,:host h1.xsmall ::slotted(b),:host h1.xsmall ::slotted(strong),:host h2.xsmall.bold-weight,:host h2.xsmall ::slotted(b),:host h2.xsmall ::slotted(strong),:host h3.xsmall.bold-weight,:host h3.xsmall ::slotted(b),:host h3.xsmall ::slotted(strong),:host h4.xsmall.bold-weight,:host h4.xsmall ::slotted(b),:host h4.xsmall ::slotted(strong),:host h5.xsmall.bold-weight,:host h5.xsmall ::slotted(b),:host h5.xsmall ::slotted(strong),:host h6.xsmall.bold-weight,:host h6.xsmall ::slotted(b),:host h6.xsmall ::slotted(strong){font-weight:var(--font-weight-bold)}@media (min-width: 769px) and (max-width: 1920px){:host h1,:host h2,:host h3,:host h4,:host h5,:host h6{font-size:2em}:host h1.large,:host h2.large,:host h3.large,:host h4.large,:host h5.large,:host h6.large{font-size:2.357em;letter-spacing:-0.66px}:host h1.small,:host h2.small,:host h3.small,:host h4.small,:host h5.small,:host h6.small{font-size:1.357em}:host h1.xsmall,:host h2.xsmall,:host h3.xsmall,:host h4.xsmall,:host h5.xsmall,:host h6.xsmall{font-size:0.857em;line-height:calc(var(--line-height) + 3%);letter-spacing:0.72px}}@media (min-width: 1921px){:host h1,:host h2,:host h3,:host h4,:host h5,:host h6{font-size:2.5em;line-height:calc(var(--line-height) + 5%);letter-spacing:-0.82px}:host h1.large,:host h2.large,:host h3.large,:host h4.large,:host h5.large,:host h6.large{font-size:2.929em}:host h1.small,:host h2.small,:host h3.small,:host h4.small,:host h5.small,:host h6.small{font-size:1.714em;line-height:calc(var(--line-height) + 30%);letter-spacing:0%}:host h1.xsmall,:host h2.xsmall,:host h3.xsmall,:host h4.xsmall,:host h5.xsmall,:host h6.xsmall{font-size:1em;line-height:calc(var(--line-height) + 12.857%);letter-spacing:0.28px}}:host ::slotted(b),:host ::slotted(strong){font-weight:var(--font-weight-medium)}:host ::slotted(a){font-weight:var(--font-weight-bold);color:var(--color-link);text-underline-offset:10%;cursor:pointer}:host ::slotted(u){text-underline-offset:10%}:host ::slotted(abbr){color:var(--color-link);text-decoration:underline dashed 1px var(--color-link);text-underline-offset:10%;cursor:default}:host ::slotted(i),:host ::slotted(em){font-weight:var(--font-weight-medium)}";
243
+ const curaHeadingCss = ":host{display:block;font-size:var(--font-size-base)}:host h1,:host h2,:host h3,:host h4,:host h5,:host h6{font-family:var(--font-family);font-size:1.714em;font-weight:var(--font-weight-regular);color:var(--color-body);line-height:var(--line-height);margin-block:var(--margin-block);letter-spacing:0px}:host h1.bold-weight,:host h2.bold-weight,:host h3.bold-weight,:host h4.bold-weight,:host h5.bold-weight,:host h6.bold-weight{font-weight:var(--font-weight-medium)}:host h1.large,:host h2.large,:host h3.large,:host h4.large,:host h5.large,:host h6.large{font-size:2.071em;letter-spacing:-0.58px}:host h1.small,:host h2.small,:host h3.small,:host h4.small,:host h5.small,:host h6.small{font-size:1.214em;line-height:calc(var(--line-height) + 20%)}:host h1.small.bold-weight,:host h1.small ::slotted(b),:host h1.small ::slotted(strong),:host h2.small.bold-weight,:host h2.small ::slotted(b),:host h2.small ::slotted(strong),:host h3.small.bold-weight,:host h3.small ::slotted(b),:host h3.small ::slotted(strong),:host h4.small.bold-weight,:host h4.small ::slotted(b),:host h4.small ::slotted(strong),:host h5.small.bold-weight,:host h5.small ::slotted(b),:host h5.small ::slotted(strong),:host h6.small.bold-weight,:host h6.small ::slotted(b),:host h6.small ::slotted(strong){font-weight:var(--font-weight-bold)}:host h1.xsmall,:host h2.xsmall,:host h3.xsmall,:host h4.xsmall,:host h5.xsmall,:host h6.xsmall{font-size:0.714em;font-weight:var(--font-weight-medium);letter-spacing:0.6px}:host h1.xsmall.bold-weight,:host h1.xsmall ::slotted(b),:host h1.xsmall ::slotted(strong),:host h2.xsmall.bold-weight,:host h2.xsmall ::slotted(b),:host h2.xsmall ::slotted(strong),:host h3.xsmall.bold-weight,:host h3.xsmall ::slotted(b),:host h3.xsmall ::slotted(strong),:host h4.xsmall.bold-weight,:host h4.xsmall ::slotted(b),:host h4.xsmall ::slotted(strong),:host h5.xsmall.bold-weight,:host h5.xsmall ::slotted(b),:host h5.xsmall ::slotted(strong),:host h6.xsmall.bold-weight,:host h6.xsmall ::slotted(b),:host h6.xsmall ::slotted(strong){font-weight:var(--font-weight-bold)}@media (min-width: 769px) and (max-width: 1920px){:host h1,:host h2,:host h3,:host h4,:host h5,:host h6{font-size:2em}:host h1.large,:host h2.large,:host h3.large,:host h4.large,:host h5.large,:host h6.large{font-size:2.357em;letter-spacing:-0.66px}:host h1.small,:host h2.small,:host h3.small,:host h4.small,:host h5.small,:host h6.small{font-size:1.357em}:host h1.xsmall,:host h2.xsmall,:host h3.xsmall,:host h4.xsmall,:host h5.xsmall,:host h6.xsmall{font-size:0.857em;line-height:calc(var(--line-height) + 3%);letter-spacing:0.72px}}@media (min-width: 1921px){:host h1,:host h2,:host h3,:host h4,:host h5,:host h6{font-size:2.5em;line-height:calc(var(--line-height) + 5%);letter-spacing:-0.82px}:host h1.large,:host h2.large,:host h3.large,:host h4.large,:host h5.large,:host h6.large{font-size:2.929em}:host h1.small,:host h2.small,:host h3.small,:host h4.small,:host h5.small,:host h6.small{font-size:1.714em;line-height:calc(var(--line-height) + 30%);letter-spacing:0%}:host h1.xsmall,:host h2.xsmall,:host h3.xsmall,:host h4.xsmall,:host h5.xsmall,:host h6.xsmall{font-size:1em;line-height:calc(var(--line-height) + 12.857%);letter-spacing:0.28px}}:host ::slotted(b),:host ::slotted(strong){font-weight:var(--font-weight-medium)}:host ::slotted(a){font-weight:var(--font-weight-bold);color:var(--color-link);text-underline-offset:10%;cursor:pointer}:host ::slotted(u){text-underline-offset:10%}:host ::slotted(abbr){color:var(--color-link);text-decoration:underline dashed 1px var(--color-link);text-underline-offset:10%;cursor:default}:host ::slotted(i){font-weight:var(--font-weight-medium)}:host ::slotted(em){color:var(--color-link);font-style:normal}";
244
244
  const CuraHeadingStyle0 = curaHeadingCss;
245
245
 
246
246
  const CuraHeading = class {
@@ -281,17 +281,18 @@ const CuraHeading = class {
281
281
  };
282
282
  }
283
283
  hostCSSProperties() {
284
+ const fontColor = this.color
285
+ ? this.theme.colors.getColor(this.color)
286
+ : this.theme.fonts.getColor();
284
287
  return {
285
288
  '--margin-block': this.marginBlock,
286
289
  '--font-size-base': this.fontSizeBase,
287
- '--line-height': this.lineHeight
290
+ '--line-height': this.lineHeight,
291
+ '--color-body': fontColor || this.theme.colors.getColor('neutral-darker'),
288
292
  };
289
293
  }
290
294
  setColors() {
291
- const fontColor = this.color
292
- ? this.theme.colors.getColor(this.color)
293
- : this.theme.fonts.getColor();
294
- this.styles = Object.assign(Object.assign({}, this.styles), { '--color-body': fontColor || this.theme.colors.getColor('neutral-darker'), '--color-link': this.theme.colors.getColor(`${this.spotColor}`) });
295
+ this.styles = Object.assign(Object.assign({}, this.styles), { '--color-link': this.theme.colors.getColor(`${this.spotColor}`) });
295
296
  }
296
297
  getHeadingTag() {
297
298
  const tags = {
@@ -306,7 +307,7 @@ const CuraHeading = class {
306
307
  return tags[`${this.level}`] || tags['default'];
307
308
  }
308
309
  render() {
309
- return (index.h(index.Host, { key: 'd16fc33c4b20770439fd4d48f4eb099564668b1e', style: this.hostCSSProperties() }, this.getHeadingTag()));
310
+ return (index.h(index.Host, { key: '83a6a2a08051c3654f609f0e1824f41f48a6ff83', style: this.hostCSSProperties() }, this.getHeadingTag()));
310
311
  }
311
312
  get host() { return index.getElement(this); }
312
313
  static get watchers() { return {
@@ -351,7 +352,7 @@ const CuraIcon = class {
351
352
  this.host.style.setProperty(prop, value);
352
353
  }
353
354
  render() {
354
- return (index.h(index.Host, { key: '8955586152a043a308ad539516973dba36bd145d' }, index.h("svg", { key: 'f383174620a5dcaa33d3d969a6cd57e814b96140', version: "1.1", viewBox: "0 0 24 24", preserveAspectRatio: "xMidYMid meet", xmlns: "http://www.w3.org/2000/svg" }, index.h("use", { key: '1f0550ed5a7826c7f7ef36ed34f45b3da4f4e80d', xlinkHref: `${this.assetsPath}/icons/iconset-${this.iconset}.svg#${this.name}` }))));
355
+ return (index.h(index.Host, { key: '0ab55b86ccb41c3be1c1a114c35c81d8488e12cc' }, index.h("svg", { key: 'c787e2ff356af580215cef7c05225ef5ac716d21', version: "1.1", viewBox: "0 0 24 24", preserveAspectRatio: "xMidYMid meet", xmlns: "http://www.w3.org/2000/svg" }, index.h("use", { key: '71c4f67a6d50cd2112fcef7cbac7b506d662911e', xlinkHref: `${this.assetsPath}/icons/iconset-${this.iconset}.svg#${this.name}` }))));
355
356
  }
356
357
  get host() { return index.getElement(this); }
357
358
  static get watchers() { return {
@@ -4368,7 +4369,7 @@ const CuraLabel = class {
4368
4369
  };
4369
4370
  }
4370
4371
  render() {
4371
- return (index.h(index.Host, { key: '08a9753ada3d3d7e94f80256d375f9c40bd7eb52', style: this.hostCSSProperties() }, index.h("p", { key: 'abd0b048fa46c15038595459eb173dbebe54b3f8', style: this.styles, class: this.getClasses() }, index.h("slot", { key: '9f950127eaa32d0137be06592a9872861ec927a7' }))));
4372
+ return (index.h(index.Host, { key: '8d691e1d4c38c30d1e50bc981b9e6de89b3506e0', style: this.hostCSSProperties() }, index.h("p", { key: 'b68944f4fe1e65aecf6a627f3bba547418bc125b', style: this.styles, class: this.getClasses() }, index.h("slot", { key: 'f8ac467674d94fe94adc075743b12111d1e32469' }))));
4372
4373
  }
4373
4374
  get host() { return index.getElement(this); }
4374
4375
  static get watchers() { return {
@@ -4402,7 +4403,7 @@ const CuraLoaderCircle = class {
4402
4403
  };
4403
4404
  }
4404
4405
  render() {
4405
- return (index.h(index.Host, { key: '2697e72f8af894a6bea7092d3f56de4855788ea1', style: this.getStyles() }, index.h("svg", { key: 'ef5ae4cb6f02d80a79be4d066714e5d658d48a31', viewBox: "0 0 16 16", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, index.h("g", { key: '476fb5af3fdd8f4002de31ac2282dfe0c3e94a0f' }, index.h("circle", { key: '937db497c08019f64fb38974ace4262c6bc29ebb', cx: "8", cy: "8", r: "7", stroke: "url(#paint0_linear_13485_11488)", "stroke-width": "2" }), index.h("path", { key: 'ee611cdaa0b77ba3ef3c4ef61580e5e176b650cf', d: "M1 8C1 4.13401 4.11877 1 7.96596 1C9.53445 1 10.9819 1.52093 12.1462 2.4C12.8959 2.96601 13.5282 3.68049 14 4.5", "stroke-width": "2" })), index.h("defs", { key: '86fe212f1d47f69c403e82360464fe2e344947cd' }, index.h("linearGradient", { key: '73399f5eda1ca0fb206bf5322417431add8cfec6', id: "paint0_linear_13485_11488", x1: "15.7", y1: "4.5", x2: "4.15", y2: "11.5", gradientUnits: "userSpaceOnUse" }, index.h("stop", { key: 'bb9f60898d5b63dd7841e2cd94137280a553176b' }), index.h("stop", { key: '1e1dda3b14f7c5c5cfef85dd39a43eb71048171e', offset: "1" }))))));
4406
+ return (index.h(index.Host, { key: '9ef3dd91b5958a5aeb90fe51120f5d9cc768ca62', style: this.getStyles() }, index.h("svg", { key: '96b6a2ac1ee77c14b68ea7ee462bae4a122f0c1f', viewBox: "0 0 16 16", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, index.h("g", { key: '01e9425e96b2f8b63a0115dfba358a46d86574c5' }, index.h("circle", { key: '5ba2e9d288de3b48d33c57ef9c8c282511683739', cx: "8", cy: "8", r: "7", stroke: "url(#paint0_linear_13485_11488)", "stroke-width": "2" }), index.h("path", { key: 'b2069b38fc2a810c6b838eb4c924619a14ef5648', d: "M1 8C1 4.13401 4.11877 1 7.96596 1C9.53445 1 10.9819 1.52093 12.1462 2.4C12.8959 2.96601 13.5282 3.68049 14 4.5", "stroke-width": "2" })), index.h("defs", { key: '4e04a92c3cb8ba0084112f1a14a7815317ca92c5' }, index.h("linearGradient", { key: '4369f1a5c6d66b37cc00ca88c3e5c77867867fbf', id: "paint0_linear_13485_11488", x1: "15.7", y1: "4.5", x2: "4.15", y2: "11.5", gradientUnits: "userSpaceOnUse" }, index.h("stop", { key: '224eac239fcd4f22e3ca7b044d89942757381b9e' }), index.h("stop", { key: '35236a39f2156fefea7878a60dd1e559d3d1f850', offset: "1" }))))));
4406
4407
  }
4407
4408
  };
4408
4409
  CuraLoaderCircle.style = CuraLoaderCircleStyle0;
@@ -4426,7 +4427,7 @@ const CuraPageTemplate = class {
4426
4427
  return classes;
4427
4428
  }
4428
4429
  render() {
4429
- return (index.h(index.Host, { key: 'ab4b10fe60c2d8cac394e1d4ab9e9415901e5e80' }, index.h("div", { key: 'bb1136f5c7dff53c8de05a1e4c2a0a16416f1c6e', style: this.styles, class: "grid-template" }, index.h("div", { key: 'eab90c228293eb3213380d8f2d74231dce0a3723', id: "sub-header" }, index.h("slot", { key: '5857d627c6038ada32dacd9840fd51f002245215', name: 'sub-header' })), index.h("div", { key: '9ebdd52e3f31f24b5a45c855539ee5c68f16b099', id: "header" }, index.h("slot", { key: 'ea50789c8628109a2d599f2a8a94dc3ac54f8b43', name: 'header' })), index.h("div", { key: 'c37250f3054ba97f31f6b6cff428ffbdf96869e9', id: "pre-content" }, index.h("slot", { key: 'e2c81d9af2c587356b26eaff85dec7318ddf52e2', name: 'pre-content' })), index.h("div", { key: 'ddd4aa8338ce668e42511b38d6b5ee8012f01c5b', id: "content-container", class: this.getClasses() }, index.h("div", { key: '31ebabdf53749aec5b526308b063f3c2c0d4821b', id: "sidebar-left" }, index.h("slot", { key: '01a4ce493250b17e7bef8c173bc66a10217f2f53', name: 'sidebar-left' })), index.h("div", { key: 'bde5a719d07f67230a56192ecc412721ff4d36bb', id: "content" }, index.h("slot", { key: '3cf647a29db3e59ccc7827f3ec01d55fa0a90109', name: "content" }), index.h("slot", { key: '8f8d9b784f5d65bbedace6378f7df09cc659968a' })), index.h("div", { key: '1dd69a2f8d28faa4a204d024b5884bd4ec37bf42', id: "sidebar-right" }, index.h("slot", { key: '4052cf77ae1be773f58a0b9c6bf39960591e1aa8', name: 'sidebar-right' }))), index.h("div", { key: '76188d32df6addc6f41018ba2bcb869b0811eaf2', id: "post-body" }, index.h("slot", { key: 'a9aa2d75a63a204ff2e24f525e9a4cbbacbb2dfa', name: 'post-body' })), index.h("div", { key: 'bd12d4cc7c2cde9428565899f0f89aaf6eaee04c', id: "footer" }, index.h("slot", { key: '3797061c1debbe0f415771def9068e56c96f9a5a', name: 'footer' })), index.h("div", { key: 'b5f292bd394bebc7394769827730daa4496c66b2', id: "sub-footer" }, index.h("slot", { key: '20f8a50ea6c385a2c4348508c2aab8558d3139cf', name: 'sub-footer' })))));
4430
+ return (index.h(index.Host, { key: 'd79c3d22ccbd93d8a56c700e3016507d18720464' }, index.h("div", { key: 'a717f44d6b5df9f00ffe61fff816721705748040', style: this.styles, class: "grid-template" }, index.h("div", { key: '7a3d585d4213799b32e2043327442b21833fd4fc', id: "sub-header" }, index.h("slot", { key: 'dbab9738fe221a426642e5d63e88130e1f351591', name: 'sub-header' })), index.h("div", { key: '39f2878cac260b70b8e53b57b6b9b5b07f658251', id: "header" }, index.h("slot", { key: '511af91f30dfcfde3ced7bce4c341a2802c88db8', name: 'header' })), index.h("div", { key: 'ed8d1b1e0d5ffca939c525ee8320da7f2afde95d', id: "pre-content" }, index.h("slot", { key: 'dd8c722ddd113f49965a6397625980aace8b78e8', name: 'pre-content' })), index.h("div", { key: '64a5767bbc858f18e44a3339b6bb567b3e5a8c0d', id: "content-container", class: this.getClasses() }, index.h("div", { key: '919e9d54e10f1469264f193545e80b680b63c801', id: "sidebar-left" }, index.h("slot", { key: '8ddeb7358bd9f6d0e08b1e3f323219b8980eec9c', name: 'sidebar-left' })), index.h("div", { key: '48e3860c1674658c386124c80a35b85bdb085e3e', id: "content" }, index.h("slot", { key: '8bc21a187897a5e9cd2e922285364a02425cefa6', name: "content" }), index.h("slot", { key: '587d13eed3fedcbf9e33dc4084cb2554ba70125d' })), index.h("div", { key: '7f620fd04b4cf4a051954dca8a95293c2a7c1d9a', id: "sidebar-right" }, index.h("slot", { key: '3499275e67a00fcaab4f044535dbeb19c1040569', name: 'sidebar-right' }))), index.h("div", { key: '59b9e4a5fe541f2ad6dac53a40588482b33e0cad', id: "post-body" }, index.h("slot", { key: '7493b3b330cabf263990a149c1b526501260de95', name: 'post-body' })), index.h("div", { key: '4a35c95f7ad04f04bb8673babc06d243e1b8f931', id: "footer" }, index.h("slot", { key: 'f69ffbd9c9cabe72e1ee4f147f7a1448311a7f0c', name: 'footer' })), index.h("div", { key: 'd53b60b2d9170797e7dc12b3179c24b7f76ac41d', id: "sub-footer" }, index.h("slot", { key: '75dcebb2f223ed1d0b1181ea3773fbb6bf096e33', name: 'sub-footer' })))));
4430
4431
  }
4431
4432
  get host() { return index.getElement(this); }
4432
4433
  };
@@ -4482,7 +4483,7 @@ const CuraParagraph = class {
4482
4483
  };
4483
4484
  }
4484
4485
  render() {
4485
- return (index.h(index.Host, { key: '88f0638f1da31a7410e90bfd9fabc5e47036fbb4', style: this.hostCSSProperties() }, index.h("p", { key: 'e6c76e6a066ed9ca9f843ceff95c07472fd32824', style: this.styles, class: this.setsizeClass() }, index.h("slot", { key: 'e6266e05137adb1efc9a2acabab323a507cca9a9' }))));
4486
+ return (index.h(index.Host, { key: 'fc146c5173887dd80bb1798d58b7fbe29775e2de', style: this.hostCSSProperties() }, index.h("p", { key: '0defc510c08182261e22a4ab47a24d939199db24', style: this.styles, class: this.setsizeClass() }, index.h("slot", { key: 'e70c68a1da0596dc8d2273f5679c9193a354e313' }))));
4486
4487
  }
4487
4488
  get host() { return index.getElement(this); }
4488
4489
  static get watchers() { return {
@@ -4770,13 +4771,13 @@ const CuraSelect = class {
4770
4771
  return (index.h("cura-icon", { class: 'feedback-icon', name: icon, iconset: 'default', size: this.size === 'large' ? 20 : 16, color: this.getColor('icon'), style: this.styles }));
4771
4772
  }
4772
4773
  render() {
4773
- return (index.h(index.Host, { key: '69d335e3f52f520b2067033a3bd3cf5e854bb53e', style: this.styles }, index.h("div", { key: 'c058baef8309f53fbe15244f48e5233211c6b834', class: this.getClasses(), onMouseEnter: () => (this.isHovered = true), onMouseLeave: () => (this.isHovered = false), onClick: this.handleClick }, this.label && (index.h("cura-label", { key: '3dd4ae204d4d497c167a98bb978c268333c46d73', class: 'label', weight: 'bold', size: this.size === 'large' ? 'small' : 'xsmall', color: this.getColor('label') }, this.label, " ", this.required && index.h("span", { key: '7aaeb56f48d4e5e3677218783bf67f27273b0cd9', class: 'required' }, "* "))), index.h("div", { key: 'b17d285023de7b91db356283fa7ed2d4ca47329c', class: {
4774
+ return (index.h(index.Host, { key: 'f01b52d0da1c417723c9da0ce7002155b3cbb07d', style: this.styles }, index.h("div", { key: '2798e5cd7f16e8679520900374e569cca1e5bee8', class: this.getClasses(), onMouseEnter: () => (this.isHovered = true), onMouseLeave: () => (this.isHovered = false), onClick: this.handleClick }, this.label && (index.h("cura-label", { key: '5f9f645c3199e6299f000f5ab167139f536442b8', class: 'label', weight: 'bold', size: this.size === 'large' ? 'small' : 'xsmall', color: this.getColor('label') }, this.label, " ", this.required && index.h("span", { key: '2bca7ed64c1d44152161c2d71173f70b8b2fbacc', class: 'required' }, "* "))), index.h("div", { key: 'c1e77ccc2d1853b8749fea57e5ca3554363ef168', class: {
4774
4775
  'cura-input-field': true,
4775
4776
  'open': this.isOpen
4776
- } }, this.renderIcon(), index.h("input", { key: '9328823501e2a439efc2e73e01a018496c98346a', type: "text", autocomplete: 'off', onFocus: () => (this.isFocused = true), onBlur: () => (this.isFocused = false), onKeyDown: this.handleKeyNavigation, "aria-required": String(this.required), "aria-disabled": String(this.disabled), "aria-invalid": String(this.status === 'error'), onInput: this.handleInputChange, style: this.styles, placeholder: this.placeholder, disabled: this.disabled, required: this.required, value: this.textInput, readonly: this.searchBehavior ? null : true }), index.h("cura-icon", { key: 'aa8b5271161e8bdbe6ab7234460f4208a030c18b', name: this.isOpen ? 'up' : 'down', class: "up-down-icon", color: this.disabled ? 'neutral-dark' : 'primary-base', size: 16, iconset: 'default' })), index.h("cura-label", { key: 'c4ddeead44a36fd2d072d33d9b97cc5367af66bc', class: "helper-text", size: 'xsmall', color: this.getColor('text'), weight: this.mode === 'transparent' ? 'bold' : 'regular' }, index.h("slot", { key: 'a9fd3b810963a65a7ab1733f21864a18e7838bf1' })), this.isOpen && (index.h("div", { key: '8a9301c541bf7e72ee2e26c6ea48636982a52147', class: {
4777
+ } }, this.renderIcon(), index.h("input", { key: '66e99e0a7c3b00516cc2f1240d08511c9434201b', type: "text", autocomplete: 'off', onFocus: () => (this.isFocused = true), onBlur: () => (this.isFocused = false), onKeyDown: this.handleKeyNavigation, "aria-required": String(this.required), "aria-disabled": String(this.disabled), "aria-invalid": String(this.status === 'error'), onInput: this.handleInputChange, style: this.styles, placeholder: this.placeholder, disabled: this.disabled, required: this.required, value: this.textInput, readonly: this.searchBehavior ? null : true }), index.h("cura-icon", { key: '4efde985b30016b633818f9fafe6c1f538b4776e', name: this.isOpen ? 'up' : 'down', class: "up-down-icon", color: this.disabled ? 'neutral-dark' : 'primary-base', size: 16, iconset: 'default' })), index.h("cura-label", { key: 'ead6b6a9f95acc7f2cf2e7474f72c1627e0bd8cd', class: "helper-text", size: 'xsmall', color: this.getColor('text'), weight: this.mode === 'transparent' ? 'bold' : 'regular' }, index.h("slot", { key: 'e01c6c99fecb78822d092a41db0b969ca160cea1' })), this.isOpen && (index.h("div", { key: '0fedad3cac056457810c984eb471bd9a703f2ff4', class: {
4777
4778
  'menu': true,
4778
4779
  'open': this.isOpen
4779
- } }, index.h("slot", { key: '1ea4f761f96bd85021eefbf50280403ae4064317', name: 'option' }))))));
4780
+ } }, index.h("slot", { key: '1330a45037f002b5fd20a356f1fe5b982999e512', name: 'option' }))))));
4780
4781
  }
4781
4782
  static get formAssociated() { return true; }
4782
4783
  get host() { return index.getElement(this); }
@@ -4826,7 +4827,7 @@ const CuraSelectOption = class {
4826
4827
  };
4827
4828
  }
4828
4829
  render() {
4829
- return (index.h(index.Host, { key: '9c6496e905c81df28315112ab5f12ff114c127dd', slot: "option" }, index.h("div", { key: '4e8fc83e9fc9f8ac7ecbb17887ed98c6ebc86457', class: this.getClasses(), style: this.styles }, index.h("cura-label", { key: '818b5dae2fd6f2a907de9077e88999ae264df7e1', color: `${this.selected ? 'primary-base' : 'neutral-black'}`, size: this.getSize('label'), "margin-block": "0" }, index.h("slot", { key: '1f295646eda004443b66005544ee514ce9e095d8' })), this.selected && index.h("cura-icon", { key: 'db126766232531ea18e28f10b77176e21268db1b', name: 'check', size: this.getSize('icon'), color: "primary-base" }))));
4830
+ return (index.h(index.Host, { key: '42fe72a8cadcb2745fa41cced2bf8f571ca0fb81', slot: "option" }, index.h("div", { key: '275c6ba6baaf1c28af3c6cce6abc36dc8c496e13', class: this.getClasses(), style: this.styles }, index.h("cura-label", { key: 'a5f2e672f55fe16b749f6f5d33c1ba64eb415ca8', color: `${this.selected ? 'primary-base' : 'neutral-black'}`, size: this.getSize('label'), "margin-block": "0" }, index.h("slot", { key: '37b09097f6f51515fe63f07a5b6bb2449ba51e60' })), this.selected && index.h("cura-icon", { key: '88b01b9505ea9c46ddd19be78db4bd084601687d', name: 'check', size: this.getSize('icon'), color: "primary-base" }))));
4830
4831
  }
4831
4832
  get host() { return index.getElement(this); }
4832
4833
  static get watchers() { return {