@rededor/cura 1.5.0 → 1.6.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 (373) hide show
  1. package/dist/cjs/{app-globals-57c5b283.js → app-globals-5a7ddb39.js} +21 -2
  2. package/dist/cjs/app-globals-5a7ddb39.js.map +1 -0
  3. package/dist/cjs/{cura-accordion_12.cjs.entry.js → cura-accordion_18.cjs.entry.js} +689 -50
  4. package/dist/cjs/cura-accordion_18.cjs.entry.js.map +1 -0
  5. package/dist/cjs/cura-alert.cjs.entry.js +2 -2
  6. package/dist/cjs/cura-alert.cjs.entry.js.map +1 -1
  7. package/dist/cjs/cura-badge-counter.cjs.entry.js +2 -2
  8. package/dist/cjs/cura-badge-counter.cjs.entry.js.map +1 -1
  9. package/dist/cjs/cura-badge-dot.cjs.entry.js +2 -2
  10. package/dist/cjs/cura-badge-dot.cjs.entry.js.map +1 -1
  11. package/dist/cjs/cura-badge-pill.cjs.entry.js +2 -2
  12. package/dist/cjs/cura-badge-pill.cjs.entry.js.map +1 -1
  13. package/dist/cjs/cura-button-outline.cjs.entry.js +2 -2
  14. package/dist/cjs/cura-button-outline.cjs.entry.js.map +1 -1
  15. package/dist/cjs/cura-button-select.cjs.entry.js +2 -2
  16. package/dist/cjs/cura-button-select.cjs.entry.js.map +1 -1
  17. package/dist/cjs/cura-calendar.cjs.entry.js +1 -1
  18. package/dist/cjs/cura-card.cjs.entry.js +1 -1
  19. package/dist/cjs/cura-checkbox.cjs.entry.js +2 -2
  20. package/dist/cjs/cura-display.cjs.entry.js +2 -2
  21. package/dist/cjs/cura-dropdown-search-not-found.cjs.entry.js +28 -0
  22. package/dist/cjs/cura-dropdown-search-not-found.cjs.entry.js.map +1 -0
  23. package/dist/cjs/cura-dropdown-search-option-title.cjs.entry.js +2 -2
  24. package/dist/cjs/cura-dropdown-search-option.cjs.entry.js +4 -4
  25. package/dist/cjs/cura-dropdown-search-option.cjs.entry.js.map +1 -1
  26. package/dist/cjs/cura-dropdown-search.cjs.entry.js +3 -3
  27. package/dist/cjs/cura-icons-view.cjs.entry.js +2 -2
  28. package/dist/cjs/cura-input-date.cjs.entry.js +3 -3
  29. package/dist/cjs/cura-input-date.cjs.entry.js.map +1 -1
  30. package/dist/cjs/cura-loader-bar.cjs.entry.js +2 -2
  31. package/dist/cjs/cura-modal.cjs.entry.js +3 -3
  32. package/dist/cjs/cura-modal.cjs.entry.js.map +1 -1
  33. package/dist/cjs/cura-progress-bar_2.cjs.entry.js +3 -3
  34. package/dist/cjs/cura-radio.cjs.entry.js +2 -2
  35. package/dist/cjs/cura-stepper.cjs.entry.js +2 -2
  36. package/dist/cjs/cura-switch.cjs.entry.js +2 -2
  37. package/dist/cjs/{cura-theme-module-14544f5f.js → cura-theme-module-a100c643.js} +9 -78
  38. package/dist/cjs/cura-theme-module-a100c643.js.map +1 -0
  39. package/dist/cjs/cura-toast.cjs.entry.js +2 -2
  40. package/dist/cjs/cura-tooltip.cjs.entry.js +3 -3
  41. package/dist/cjs/cura-tooltip.cjs.entry.js.map +1 -1
  42. package/dist/cjs/cura.cjs.js +5 -4
  43. package/dist/cjs/cura.cjs.js.map +1 -1
  44. package/dist/cjs/{index-e6d728ec.js → index-12d54921.js} +19 -2
  45. package/dist/cjs/index-12d54921.js.map +1 -0
  46. package/dist/cjs/index.cjs.js +2 -1
  47. package/dist/cjs/index.cjs.js.map +1 -1
  48. package/dist/cjs/loader.cjs.js +5 -4
  49. package/dist/cjs/loader.cjs.js.map +1 -1
  50. package/dist/cjs/static-4e83652c.js +76 -0
  51. package/dist/cjs/static-4e83652c.js.map +1 -0
  52. package/dist/collection/api/cura-api.js +19 -0
  53. package/dist/collection/api/cura-api.js.map +1 -1
  54. package/dist/collection/api/cura-api.type.js.map +1 -1
  55. package/dist/collection/collection-manifest.json +4 -0
  56. package/dist/collection/components/accordion/cura-accordion/cura-accordion.js +2 -2
  57. package/dist/collection/components/accordion/cura-accordion/cura-accordion.js.map +1 -1
  58. package/dist/collection/components/accordion/cura-accordion-item/cura-accordion-item.css +6 -6
  59. package/dist/collection/components/badges/cura-badge-counter/cura-badge-counter.css +8 -8
  60. package/dist/collection/components/badges/cura-badge-distance/cura-badge-distance.css +5 -5
  61. package/dist/collection/components/badges/cura-badge-dot/cura-badge-dot.css +4 -4
  62. package/dist/collection/components/badges/cura-badge-pill/cura-badge-pill.css +6 -6
  63. package/dist/collection/components/buttons/cura-button/cura-button.css +15 -15
  64. package/dist/collection/components/buttons/cura-button-outline/cura-button-outline.css +15 -15
  65. package/dist/collection/components/buttons/cura-button-select/cura-button-select.css +12 -12
  66. package/dist/collection/components/buttons/cura-button-transparent/cura-button-transparent.css +15 -15
  67. package/dist/collection/components/cura-alert/cura-alert.css +5 -5
  68. package/dist/collection/components/cura-dropdown-search-new/cura-dropdown-search-category/cura-dropdown-search-category.css +61 -0
  69. package/dist/collection/components/cura-dropdown-search-new/cura-dropdown-search-category/cura-dropdown-search-category.js +28 -0
  70. package/dist/collection/components/cura-dropdown-search-new/cura-dropdown-search-category/cura-dropdown-search-category.js.map +1 -0
  71. package/dist/collection/components/cura-dropdown-search-new/cura-dropdown-search-category/cura-dropdown-search-category.stories.js +37 -0
  72. package/dist/collection/components/cura-dropdown-search-new/cura-dropdown-search-category/cura-dropdown-search-category.stories.js.map +1 -0
  73. package/dist/collection/components/cura-dropdown-search-new/cura-dropdown-search-new.css +138 -0
  74. package/dist/collection/components/cura-dropdown-search-new/cura-dropdown-search-new.js +592 -0
  75. package/dist/collection/components/cura-dropdown-search-new/cura-dropdown-search-new.js.map +1 -0
  76. package/dist/collection/components/cura-dropdown-search-new/cura-dropdown-search-new.stories.js +278 -0
  77. package/dist/collection/components/cura-dropdown-search-new/cura-dropdown-search-new.stories.js.map +1 -0
  78. package/dist/collection/components/cura-dropdown-search-new/cura-dropdown-search-not-found/cura-dropdown-search-not-found.css +62 -0
  79. package/dist/collection/components/cura-dropdown-search-new/cura-dropdown-search-not-found/cura-dropdown-search-not-found.js +44 -0
  80. package/dist/collection/components/cura-dropdown-search-new/cura-dropdown-search-not-found/cura-dropdown-search-not-found.js.map +1 -0
  81. package/dist/collection/components/cura-dropdown-search-new/cura-dropdown-search-not-found/cura-dropdown-search-not-found.stories.js +38 -0
  82. package/dist/collection/components/cura-dropdown-search-new/cura-dropdown-search-not-found/cura-dropdown-search-not-found.stories.js.map +1 -0
  83. package/dist/collection/components/cura-dropdown-search-new/cura-dropdown-search-option-new/cura-dropdown-search-option-new.css +121 -0
  84. package/dist/collection/components/cura-dropdown-search-new/cura-dropdown-search-option-new/cura-dropdown-search-option-new.js +183 -0
  85. package/dist/collection/components/cura-dropdown-search-new/cura-dropdown-search-option-new/cura-dropdown-search-option-new.js.map +1 -0
  86. package/dist/collection/components/cura-dropdown-search-new/cura-dropdown-search-option-new/cura-dropdown-search-option-new.stories.js +85 -0
  87. package/dist/collection/components/cura-dropdown-search-new/cura-dropdown-search-option-new/cura-dropdown-search-option-new.stories.js.map +1 -0
  88. package/dist/collection/components/cura-icon/cura-icon.js +1 -1
  89. package/dist/collection/components/cura-icons-view/cura-icons-view.js +1 -1
  90. package/dist/collection/components/cura-modal/cura-modal.css +11 -11
  91. package/dist/collection/components/cura-modal/cura-modal.js +1 -1
  92. package/dist/collection/components/cura-page-template/cura-page-template.js +1 -1
  93. package/dist/collection/components/cura-stepper/cura-progress-bar/cura-progress-bar.js +1 -1
  94. package/dist/collection/components/cura-stepper/cura-stepper-item/cura-stepper-item.js +1 -1
  95. package/dist/collection/components/cura-stepper/cura-stepper.js +1 -1
  96. package/dist/collection/components/cura-toast/cura-toast.js +1 -1
  97. package/dist/collection/components/cura-tooltip/cura-tooltip.css +12 -12
  98. package/dist/collection/components/cura-tooltip/cura-tooltip.js +1 -1
  99. package/dist/collection/components/forms/cura-checkbox/cura-checkbox.js +1 -1
  100. package/dist/collection/components/forms/cura-dropdown-search/cura-dropdown-search-option/cura-dropdown-search-option.css +5 -5
  101. package/dist/collection/components/forms/cura-dropdown-search/cura-dropdown-search-option/cura-dropdown-search-option.js +2 -2
  102. package/dist/collection/components/forms/cura-dropdown-search/cura-dropdown-search-option-title/cura-dropdown-search-option-title.js +1 -1
  103. package/dist/collection/components/forms/cura-dropdown-search/cura-dropdown-search.js +2 -2
  104. package/dist/collection/components/forms/cura-input-date/cura-input-date.css +3 -3
  105. package/dist/collection/components/forms/cura-input-date/cura-input-date.js +1 -1
  106. package/dist/collection/components/forms/cura-input-text/cura-input-text.css +4 -0
  107. package/dist/collection/components/forms/cura-input-text/cura-input-text.js +65 -11
  108. package/dist/collection/components/forms/cura-input-text/cura-input-text.js.map +1 -1
  109. package/dist/collection/components/forms/cura-label/cura-label.js +6 -5
  110. package/dist/collection/components/forms/cura-label/cura-label.js.map +1 -1
  111. package/dist/collection/components/forms/cura-radio/cura-radio.js +1 -1
  112. package/dist/collection/components/forms/cura-select/cura-select.js +3 -3
  113. package/dist/collection/components/forms/cura-select-options/cura-select-option.js +1 -1
  114. package/dist/collection/components/forms/cura-switch/cura-switch.js +1 -1
  115. package/dist/collection/components/loaders/cura-loader-bar/cura-loader-bar.js +1 -1
  116. package/dist/collection/components/loaders/cura-loader-circle/cura-loader-circle.js +1 -1
  117. package/dist/collection/components/text/cura-display/cura-display.js +1 -1
  118. package/dist/collection/components/text/cura-heading/cura-heading.css +7 -6
  119. package/dist/collection/components/text/cura-heading/cura-heading.js +4 -19
  120. package/dist/collection/components/text/cura-heading/cura-heading.js.map +1 -1
  121. package/dist/collection/components/text/cura-paragraph/cura-paragraph.css +7 -7
  122. package/dist/collection/components/text/cura-paragraph/cura-paragraph.js +6 -20
  123. package/dist/collection/components/text/cura-paragraph/cura-paragraph.js.map +1 -1
  124. package/dist/collection/utils/FixedElementScrollBehavior.js +54 -0
  125. package/dist/collection/utils/FixedElementScrollBehavior.js.map +1 -0
  126. package/dist/collection/utils/utils.js +38 -0
  127. package/dist/collection/utils/utils.js.map +1 -1
  128. package/dist/components/cura-accordion-item.js +1 -1
  129. package/dist/components/cura-accordion-item.js.map +1 -1
  130. package/dist/components/cura-accordion.js +2 -2
  131. package/dist/components/cura-accordion.js.map +1 -1
  132. package/dist/components/cura-alert.js +1 -1
  133. package/dist/components/cura-alert.js.map +1 -1
  134. package/dist/components/cura-badge-counter2.js +1 -1
  135. package/dist/components/cura-badge-counter2.js.map +1 -1
  136. package/dist/components/cura-badge-distance.js +1 -1
  137. package/dist/components/cura-badge-distance.js.map +1 -1
  138. package/dist/components/cura-badge-dot.js +1 -1
  139. package/dist/components/cura-badge-dot.js.map +1 -1
  140. package/dist/components/cura-badge-pill2.js +1 -1
  141. package/dist/components/cura-badge-pill2.js.map +1 -1
  142. package/dist/components/cura-button-outline.js +1 -1
  143. package/dist/components/cura-button-outline.js.map +1 -1
  144. package/dist/components/cura-button-select.js +1 -1
  145. package/dist/components/cura-button-select.js.map +1 -1
  146. package/dist/components/cura-button-transparent2.js +1 -1
  147. package/dist/components/cura-button-transparent2.js.map +1 -1
  148. package/dist/components/cura-button.js +1 -1
  149. package/dist/components/cura-button.js.map +1 -1
  150. package/dist/components/cura-checkbox.js +1 -1
  151. package/dist/components/cura-display.js +1 -1
  152. package/dist/components/cura-dropdown-search-category.d.ts +11 -0
  153. package/dist/components/cura-dropdown-search-category.js +49 -0
  154. package/dist/components/cura-dropdown-search-category.js.map +1 -0
  155. package/dist/components/cura-dropdown-search-new.d.ts +11 -0
  156. package/dist/components/cura-dropdown-search-new.js +406 -0
  157. package/dist/components/cura-dropdown-search-new.js.map +1 -0
  158. package/dist/components/cura-dropdown-search-not-found.d.ts +11 -0
  159. package/dist/components/cura-dropdown-search-not-found.js +48 -0
  160. package/dist/components/cura-dropdown-search-not-found.js.map +1 -0
  161. package/dist/components/cura-dropdown-search-option-new.d.ts +11 -0
  162. package/dist/components/cura-dropdown-search-option-new.js +81 -0
  163. package/dist/components/cura-dropdown-search-option-new.js.map +1 -0
  164. package/dist/components/cura-dropdown-search-option-title.js +1 -1
  165. package/dist/components/cura-dropdown-search-option.js +3 -3
  166. package/dist/components/cura-dropdown-search-option.js.map +1 -1
  167. package/dist/components/cura-dropdown-search.js +2 -2
  168. package/dist/components/cura-heading2.js +4 -17
  169. package/dist/components/cura-heading2.js.map +1 -1
  170. package/dist/components/cura-icon2.js +1 -1
  171. package/dist/components/cura-icons-view.js +1 -1
  172. package/dist/components/cura-input-date.js +2 -2
  173. package/dist/components/cura-input-date.js.map +1 -1
  174. package/dist/components/cura-input-text2.js +132 -7
  175. package/dist/components/cura-input-text2.js.map +1 -1
  176. package/dist/components/cura-label2.js +6 -5
  177. package/dist/components/cura-label2.js.map +1 -1
  178. package/dist/components/cura-loader-bar2.js +1 -1
  179. package/dist/components/cura-loader-circle2.js +1 -1
  180. package/dist/components/cura-modal.js +2 -2
  181. package/dist/components/cura-modal.js.map +1 -1
  182. package/dist/components/cura-page-template.js +1 -1
  183. package/dist/components/cura-paragraph2.js +7 -19
  184. package/dist/components/cura-paragraph2.js.map +1 -1
  185. package/dist/components/cura-progress-bar2.js +1 -1
  186. package/dist/components/cura-radio.js +1 -1
  187. package/dist/components/cura-select-option2.js +1 -1
  188. package/dist/components/cura-select2.js +3 -3
  189. package/dist/components/cura-stepper-item2.js +1 -1
  190. package/dist/components/cura-stepper.js +1 -1
  191. package/dist/components/cura-switch.js +1 -1
  192. package/dist/components/cura-toast.js +1 -1
  193. package/dist/components/cura-tooltip.js +2 -2
  194. package/dist/components/cura-tooltip.js.map +1 -1
  195. package/dist/components/index.js +28 -71
  196. package/dist/components/index.js.map +1 -1
  197. package/dist/cura/cura.esm.js +1 -1
  198. package/dist/cura/cura.esm.js.map +1 -1
  199. package/dist/cura/index.esm.js +1 -1
  200. package/dist/cura/index.esm.js.map +1 -1
  201. package/dist/cura/p-02717e7d.entry.js +2 -0
  202. package/dist/cura/{p-629c34fe.entry.js.map → p-02717e7d.entry.js.map} +1 -1
  203. package/dist/cura/p-0a391c03.entry.js +2 -0
  204. package/dist/cura/{p-dbab7864.entry.js.map → p-0a391c03.entry.js.map} +1 -1
  205. package/dist/cura/p-18af52e4.entry.js +2 -0
  206. package/dist/cura/{p-4aefe237.entry.js.map → p-18af52e4.entry.js.map} +1 -1
  207. package/dist/cura/p-1b201271.js +2 -0
  208. package/dist/cura/p-1b201271.js.map +1 -0
  209. package/dist/cura/{p-3030774e.entry.js → p-24cd591e.entry.js} +2 -2
  210. package/dist/cura/p-24d9f1f4.entry.js +2 -0
  211. package/dist/cura/p-24d9f1f4.entry.js.map +1 -0
  212. package/dist/cura/{p-ec7876d3.entry.js → p-2afb14e9.entry.js} +2 -2
  213. package/dist/cura/{p-3c0931d3.entry.js → p-3576b633.entry.js} +2 -2
  214. package/dist/cura/p-46994182.entry.js +2 -0
  215. package/dist/cura/p-500f1256.entry.js +2 -0
  216. package/dist/cura/{p-545e8e55.entry.js.map → p-500f1256.entry.js.map} +1 -1
  217. package/dist/cura/{p-7f25f4dc.entry.js → p-5afb630e.entry.js} +2 -2
  218. package/dist/cura/{p-bd99ef4c.entry.js → p-6243742a.entry.js} +2 -2
  219. package/dist/cura/p-635c0f4d.entry.js +2 -0
  220. package/dist/cura/p-86d317f3.entry.js +2 -0
  221. package/dist/cura/p-86d317f3.entry.js.map +1 -0
  222. package/dist/cura/{p-ee8db3dc.entry.js → p-9214ee88.entry.js} +2 -2
  223. package/dist/cura/{p-70adcf7b.entry.js → p-9dd47ec6.entry.js} +2 -2
  224. package/dist/cura/p-af3ac476.js +3 -0
  225. package/dist/cura/p-af3ac476.js.map +1 -0
  226. package/dist/cura/{p-f30270f0.entry.js → p-b1d6ee8d.entry.js} +2 -2
  227. package/dist/cura/{p-bce10f9b.entry.js → p-bfaf9964.entry.js} +2 -2
  228. package/dist/cura/p-c0f445b5.entry.js +2 -0
  229. package/dist/cura/{p-8622c492.entry.js.map → p-c0f445b5.entry.js.map} +1 -1
  230. package/dist/cura/{p-d13e3295.entry.js → p-d227469a.entry.js} +2 -2
  231. package/dist/cura/p-d25142cd.entry.js +2 -0
  232. package/dist/cura/{p-529332d3.entry.js.map → p-d25142cd.entry.js.map} +1 -1
  233. package/dist/cura/p-d2da92d9.entry.js +2 -0
  234. package/dist/cura/{p-6b627841.entry.js.map → p-d2da92d9.entry.js.map} +1 -1
  235. package/dist/cura/p-daf9feac.js +2 -0
  236. package/dist/cura/p-daf9feac.js.map +1 -0
  237. package/dist/cura/p-e98a1ad2.entry.js +2 -0
  238. package/dist/cura/{p-b3e93e74.entry.js.map → p-e98a1ad2.entry.js.map} +1 -1
  239. package/dist/cura/p-ec4996c2.js +2 -0
  240. package/dist/cura/p-ec4996c2.js.map +1 -0
  241. package/dist/cura/p-ee7328a5.entry.js +2 -0
  242. package/dist/cura/{p-235ac0b4.entry.js.map → p-ee7328a5.entry.js.map} +1 -1
  243. package/dist/cura/{p-f96b0923.entry.js → p-f1098b41.entry.js} +2 -2
  244. package/dist/cura/p-fc9584dd.entry.js +2 -0
  245. package/dist/cura/{p-a4a1f6c6.entry.js.map → p-fc9584dd.entry.js.map} +1 -1
  246. package/dist/esm/{app-globals-036c3b80.js → app-globals-83a601d0.js} +21 -2
  247. package/dist/esm/app-globals-83a601d0.js.map +1 -0
  248. package/dist/esm/{cura-accordion_12.entry.js → cura-accordion_18.entry.js} +684 -51
  249. package/dist/esm/cura-accordion_18.entry.js.map +1 -0
  250. package/dist/esm/cura-alert.entry.js +2 -2
  251. package/dist/esm/cura-alert.entry.js.map +1 -1
  252. package/dist/esm/cura-badge-counter.entry.js +2 -2
  253. package/dist/esm/cura-badge-counter.entry.js.map +1 -1
  254. package/dist/esm/cura-badge-dot.entry.js +2 -2
  255. package/dist/esm/cura-badge-dot.entry.js.map +1 -1
  256. package/dist/esm/cura-badge-pill.entry.js +2 -2
  257. package/dist/esm/cura-badge-pill.entry.js.map +1 -1
  258. package/dist/esm/cura-button-outline.entry.js +2 -2
  259. package/dist/esm/cura-button-outline.entry.js.map +1 -1
  260. package/dist/esm/cura-button-select.entry.js +2 -2
  261. package/dist/esm/cura-button-select.entry.js.map +1 -1
  262. package/dist/esm/cura-calendar.entry.js +1 -1
  263. package/dist/esm/cura-card.entry.js +1 -1
  264. package/dist/esm/cura-checkbox.entry.js +2 -2
  265. package/dist/esm/cura-display.entry.js +2 -2
  266. package/dist/esm/cura-dropdown-search-not-found.entry.js +24 -0
  267. package/dist/esm/cura-dropdown-search-not-found.entry.js.map +1 -0
  268. package/dist/esm/cura-dropdown-search-option-title.entry.js +2 -2
  269. package/dist/esm/cura-dropdown-search-option.entry.js +4 -4
  270. package/dist/esm/cura-dropdown-search-option.entry.js.map +1 -1
  271. package/dist/esm/cura-dropdown-search.entry.js +3 -3
  272. package/dist/esm/cura-icons-view.entry.js +2 -2
  273. package/dist/esm/cura-input-date.entry.js +3 -3
  274. package/dist/esm/cura-input-date.entry.js.map +1 -1
  275. package/dist/esm/cura-loader-bar.entry.js +2 -2
  276. package/dist/esm/cura-modal.entry.js +3 -3
  277. package/dist/esm/cura-modal.entry.js.map +1 -1
  278. package/dist/esm/cura-progress-bar_2.entry.js +3 -3
  279. package/dist/esm/cura-radio.entry.js +2 -2
  280. package/dist/esm/cura-stepper.entry.js +2 -2
  281. package/dist/esm/cura-switch.entry.js +2 -2
  282. package/dist/esm/{cura-theme-module-b23f8ac8.js → cura-theme-module-59e8e460.js} +3 -72
  283. package/dist/esm/cura-theme-module-59e8e460.js.map +1 -0
  284. package/dist/esm/cura-toast.entry.js +2 -2
  285. package/dist/esm/cura-tooltip.entry.js +3 -3
  286. package/dist/esm/cura-tooltip.entry.js.map +1 -1
  287. package/dist/esm/cura.js +6 -5
  288. package/dist/esm/cura.js.map +1 -1
  289. package/dist/esm/{index-747aad85.js → index-717b36df.js} +19 -2
  290. package/dist/esm/index-717b36df.js.map +1 -0
  291. package/dist/esm/index.js +2 -1
  292. package/dist/esm/index.js.map +1 -1
  293. package/dist/esm/loader.js +6 -5
  294. package/dist/esm/loader.js.map +1 -1
  295. package/dist/esm/static-061aa850.js +74 -0
  296. package/dist/esm/static-061aa850.js.map +1 -0
  297. package/dist/types/api/cura-api.d.ts +1 -0
  298. package/dist/types/api/cura-api.type.d.ts +1 -1
  299. package/dist/types/components/cura-dropdown-search-new/cura-dropdown-search-category/cura-dropdown-search-category.d.ts +6 -0
  300. package/dist/types/components/cura-dropdown-search-new/cura-dropdown-search-category/cura-dropdown-search-category.stories.d.ts +27 -0
  301. package/dist/types/components/cura-dropdown-search-new/cura-dropdown-search-new.d.ts +127 -0
  302. package/dist/types/components/cura-dropdown-search-new/cura-dropdown-search-new.stories.d.ts +186 -0
  303. package/dist/types/components/cura-dropdown-search-new/cura-dropdown-search-not-found/cura-dropdown-search-not-found.d.ts +6 -0
  304. package/dist/types/components/cura-dropdown-search-new/cura-dropdown-search-not-found/cura-dropdown-search-not-found.stories.d.ts +27 -0
  305. package/dist/types/components/cura-dropdown-search-new/cura-dropdown-search-option-new/cura-dropdown-search-option-new.d.ts +44 -0
  306. package/dist/types/components/cura-dropdown-search-new/cura-dropdown-search-option-new/cura-dropdown-search-option-new.stories.d.ts +72 -0
  307. package/dist/types/components/forms/cura-input-text/cura-input-text.d.ts +12 -4
  308. package/dist/types/components/forms/cura-label/cura-label.d.ts +1 -0
  309. package/dist/types/components/text/cura-heading/cura-heading.d.ts +2 -3
  310. package/dist/types/components/text/cura-paragraph/cura-paragraph.d.ts +2 -2
  311. package/dist/types/components.d.ts +264 -9
  312. package/dist/types/utils/FixedElementScrollBehavior.d.ts +12 -0
  313. package/dist/types/utils/utils.d.ts +5 -0
  314. package/package.json +2 -2
  315. package/dist/cjs/app-globals-57c5b283.js.map +0 -1
  316. package/dist/cjs/cura-accordion_12.cjs.entry.js.map +0 -1
  317. package/dist/cjs/cura-avatar.cjs.entry.js +0 -68
  318. package/dist/cjs/cura-avatar.cjs.entry.js.map +0 -1
  319. package/dist/cjs/cura-badge-distance.cjs.entry.js +0 -46
  320. package/dist/cjs/cura-badge-distance.cjs.entry.js.map +0 -1
  321. package/dist/cjs/cura-button-transparent.cjs.entry.js +0 -107
  322. package/dist/cjs/cura-button-transparent.cjs.entry.js.map +0 -1
  323. package/dist/cjs/cura-theme-module-14544f5f.js.map +0 -1
  324. package/dist/cjs/index-e6d728ec.js.map +0 -1
  325. package/dist/cura/p-1051a947.js +0 -2
  326. package/dist/cura/p-1051a947.js.map +0 -1
  327. package/dist/cura/p-164ddb46.entry.js +0 -2
  328. package/dist/cura/p-164ddb46.entry.js.map +0 -1
  329. package/dist/cura/p-235ac0b4.entry.js +0 -2
  330. package/dist/cura/p-4aefe237.entry.js +0 -2
  331. package/dist/cura/p-529332d3.entry.js +0 -2
  332. package/dist/cura/p-545e8e55.entry.js +0 -2
  333. package/dist/cura/p-557b90c4.entry.js +0 -2
  334. package/dist/cura/p-57ad7c56.entry.js +0 -2
  335. package/dist/cura/p-57ad7c56.entry.js.map +0 -1
  336. package/dist/cura/p-629c34fe.entry.js +0 -2
  337. package/dist/cura/p-62a3056f.entry.js +0 -2
  338. package/dist/cura/p-62a3056f.entry.js.map +0 -1
  339. package/dist/cura/p-6624108e.entry.js +0 -2
  340. package/dist/cura/p-6b627841.entry.js +0 -2
  341. package/dist/cura/p-8622c492.entry.js +0 -2
  342. package/dist/cura/p-935eeb7b.entry.js +0 -2
  343. package/dist/cura/p-935eeb7b.entry.js.map +0 -1
  344. package/dist/cura/p-a4a1f6c6.entry.js +0 -2
  345. package/dist/cura/p-b3e93e74.entry.js +0 -2
  346. package/dist/cura/p-d21364b2.js +0 -2
  347. package/dist/cura/p-d21364b2.js.map +0 -1
  348. package/dist/cura/p-dbab7864.entry.js +0 -2
  349. package/dist/cura/p-fd5ed6b0.js +0 -3
  350. package/dist/cura/p-fd5ed6b0.js.map +0 -1
  351. package/dist/esm/app-globals-036c3b80.js.map +0 -1
  352. package/dist/esm/cura-accordion_12.entry.js.map +0 -1
  353. package/dist/esm/cura-avatar.entry.js +0 -64
  354. package/dist/esm/cura-avatar.entry.js.map +0 -1
  355. package/dist/esm/cura-badge-distance.entry.js +0 -42
  356. package/dist/esm/cura-badge-distance.entry.js.map +0 -1
  357. package/dist/esm/cura-button-transparent.entry.js +0 -103
  358. package/dist/esm/cura-button-transparent.entry.js.map +0 -1
  359. package/dist/esm/cura-theme-module-b23f8ac8.js.map +0 -1
  360. package/dist/esm/index-747aad85.js.map +0 -1
  361. /package/dist/cura/{p-3030774e.entry.js.map → p-24cd591e.entry.js.map} +0 -0
  362. /package/dist/cura/{p-ec7876d3.entry.js.map → p-2afb14e9.entry.js.map} +0 -0
  363. /package/dist/cura/{p-3c0931d3.entry.js.map → p-3576b633.entry.js.map} +0 -0
  364. /package/dist/cura/{p-6624108e.entry.js.map → p-46994182.entry.js.map} +0 -0
  365. /package/dist/cura/{p-7f25f4dc.entry.js.map → p-5afb630e.entry.js.map} +0 -0
  366. /package/dist/cura/{p-bd99ef4c.entry.js.map → p-6243742a.entry.js.map} +0 -0
  367. /package/dist/cura/{p-557b90c4.entry.js.map → p-635c0f4d.entry.js.map} +0 -0
  368. /package/dist/cura/{p-ee8db3dc.entry.js.map → p-9214ee88.entry.js.map} +0 -0
  369. /package/dist/cura/{p-70adcf7b.entry.js.map → p-9dd47ec6.entry.js.map} +0 -0
  370. /package/dist/cura/{p-f30270f0.entry.js.map → p-b1d6ee8d.entry.js.map} +0 -0
  371. /package/dist/cura/{p-bce10f9b.entry.js.map → p-bfaf9964.entry.js.map} +0 -0
  372. /package/dist/cura/{p-d13e3295.entry.js.map → p-d227469a.entry.js.map} +0 -0
  373. /package/dist/cura/{p-f96b0923.entry.js.map → p-f1098b41.entry.js.map} +0 -0
@@ -0,0 +1,183 @@
1
+ import { Host, h } from "@stencil/core";
2
+ export class CuraDropdownSearchOptionNew {
3
+ constructor() {
4
+ this.styles = {};
5
+ this.theme = window.CuraAPI.theme;
6
+ this.value = undefined;
7
+ this.optionid = undefined;
8
+ this.selectable = true;
9
+ this.selected = false;
10
+ this.highlighted = false;
11
+ }
12
+ connectedCallback() {
13
+ this.styles = {
14
+ '--neutral-light': this.theme.colors.getColor('neutral-light'),
15
+ '--neutral-white': this.theme.colors.getColor('neutral-white'),
16
+ '--neutral-dark': this.theme.colors.getColor('neutral-dark'),
17
+ '--neutral-black': this.theme.colors.getColor('neutral-black'),
18
+ '--primary-lighter-50': this.theme.colors.getColor('primary-lighter', .5),
19
+ '--primary-light': this.theme.colors.getColor('primary-light'),
20
+ '--primary': this.theme.colors.getColor('primary-base')
21
+ };
22
+ }
23
+ handleSelect() {
24
+ if (this.selectable) {
25
+ this.selectoption.emit(this.optionid);
26
+ }
27
+ else {
28
+ this.actionclick.emit();
29
+ }
30
+ }
31
+ handleActionsClick() {
32
+ this.actionclick.emit();
33
+ }
34
+ getClasses() {
35
+ return {
36
+ 'component-container': true,
37
+ 'selected': this.selected,
38
+ 'highlighted': this.highlighted,
39
+ 'not-selectable': !this.selectable
40
+ };
41
+ }
42
+ render() {
43
+ return (h(Host, { key: '270721328007e38163582a288da503001dfd28f7' }, h("div", { key: 'bbcfeca78e0cfb86d3bdcf5d23a25c27ba2bd0ed', class: this.getClasses(), style: this.styles }, h("div", { key: '86774ca830346536a6591310c42c3806abed7273', class: "selectable-container", onClick: () => this.handleSelect() }, h("slot", { key: '2fe370d3a1cd2df9226634cc0a6812b4131de60e', name: 'image' }), h("div", { key: 'ebafc4dcffdc7bf44414605424b4e86400f87602', class: "content" }, h("slot", { key: '2666ee970d53d21dd04c58fea2725163e936d96d' }))), h("div", { key: '55f0cdbd76d03921722796e1b261500dce39ada5', class: "actions-container", onClick: () => this.handleActionsClick() }, h("slot", { key: '34528c19855eca4ecd151310959d8a496deb152b', name: 'actions' })))));
44
+ }
45
+ static get is() { return "cura-dropdown-search-option-new"; }
46
+ static get encapsulation() { return "shadow"; }
47
+ static get originalStyleUrls() {
48
+ return {
49
+ "$": ["cura-dropdown-search-option-new.scss"]
50
+ };
51
+ }
52
+ static get styleUrls() {
53
+ return {
54
+ "$": ["cura-dropdown-search-option-new.css"]
55
+ };
56
+ }
57
+ static get properties() {
58
+ return {
59
+ "value": {
60
+ "type": "string",
61
+ "mutable": false,
62
+ "complexType": {
63
+ "original": "string",
64
+ "resolved": "string",
65
+ "references": {}
66
+ },
67
+ "required": true,
68
+ "optional": false,
69
+ "docs": {
70
+ "tags": [],
71
+ "text": "Required. The value for item term reference.\nThis will set the value of the seaarch field when the option is selected."
72
+ },
73
+ "attribute": "value",
74
+ "reflect": false
75
+ },
76
+ "optionid": {
77
+ "type": "string",
78
+ "mutable": false,
79
+ "complexType": {
80
+ "original": "string",
81
+ "resolved": "string",
82
+ "references": {}
83
+ },
84
+ "required": true,
85
+ "optional": false,
86
+ "docs": {
87
+ "tags": [],
88
+ "text": "Required. The unique identifier for the option.\nThis will reference the option element for the parent."
89
+ },
90
+ "attribute": "optionid",
91
+ "reflect": false
92
+ },
93
+ "selectable": {
94
+ "type": "boolean",
95
+ "mutable": false,
96
+ "complexType": {
97
+ "original": "boolean",
98
+ "resolved": "boolean",
99
+ "references": {}
100
+ },
101
+ "required": false,
102
+ "optional": false,
103
+ "docs": {
104
+ "tags": [],
105
+ "text": "Enable selection for this option.\nDefault is true."
106
+ },
107
+ "attribute": "selectable",
108
+ "reflect": true,
109
+ "defaultValue": "true"
110
+ },
111
+ "selected": {
112
+ "type": "boolean",
113
+ "mutable": false,
114
+ "complexType": {
115
+ "original": "boolean",
116
+ "resolved": "boolean",
117
+ "references": {}
118
+ },
119
+ "required": false,
120
+ "optional": false,
121
+ "docs": {
122
+ "tags": [],
123
+ "text": "Selected state.\nThis will be managed by the parent component.\nDefault is false."
124
+ },
125
+ "attribute": "selected",
126
+ "reflect": true,
127
+ "defaultValue": "false"
128
+ },
129
+ "highlighted": {
130
+ "type": "boolean",
131
+ "mutable": false,
132
+ "complexType": {
133
+ "original": "boolean",
134
+ "resolved": "boolean",
135
+ "references": {}
136
+ },
137
+ "required": false,
138
+ "optional": false,
139
+ "docs": {
140
+ "tags": [],
141
+ "text": "Highlighted state.\nThis will be managed by the parent component.\nDefault is false."
142
+ },
143
+ "attribute": "highlighted",
144
+ "reflect": true,
145
+ "defaultValue": "false"
146
+ }
147
+ };
148
+ }
149
+ static get events() {
150
+ return [{
151
+ "method": "actionclick",
152
+ "name": "actionclick",
153
+ "bubbles": true,
154
+ "cancelable": true,
155
+ "composed": true,
156
+ "docs": {
157
+ "tags": [],
158
+ "text": ""
159
+ },
160
+ "complexType": {
161
+ "original": "any",
162
+ "resolved": "any",
163
+ "references": {}
164
+ }
165
+ }, {
166
+ "method": "selectoption",
167
+ "name": "selectoption",
168
+ "bubbles": true,
169
+ "cancelable": true,
170
+ "composed": true,
171
+ "docs": {
172
+ "tags": [],
173
+ "text": ""
174
+ },
175
+ "complexType": {
176
+ "original": "string",
177
+ "resolved": "string",
178
+ "references": {}
179
+ }
180
+ }];
181
+ }
182
+ }
183
+ //# sourceMappingURL=cura-dropdown-search-option-new.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"cura-dropdown-search-option-new.js","sourceRoot":"","sources":["../../../../src/components/cura-dropdown-search-new/cura-dropdown-search-option-new/cura-dropdown-search-option-new.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,IAAI,EAAE,CAAC,EAAE,IAAI,EAAE,KAAK,EAAgB,MAAM,eAAe,CAAC;AAO9E,MAAM,OAAO,2BAA2B;;QAiCtC,WAAM,GAAG,EAAE,CAAC;QACZ,UAAK,GAAG,MAAM,CAAC,OAAO,CAAC,KAAK,CAAC;;;0BAlBgB,IAAI;wBAMN,KAAK;2BAMF,KAAK;;IAQnD,iBAAiB;QACf,IAAI,CAAC,MAAM,GAAG;YACZ,iBAAiB,EAAE,IAAI,CAAC,KAAK,CAAC,MAAM,CAAC,QAAQ,CAAC,eAAe,CAAC;YAC9D,iBAAiB,EAAE,IAAI,CAAC,KAAK,CAAC,MAAM,CAAC,QAAQ,CAAC,eAAe,CAAC;YAC9D,gBAAgB,EAAE,IAAI,CAAC,KAAK,CAAC,MAAM,CAAC,QAAQ,CAAC,cAAc,CAAC;YAC5D,iBAAiB,EAAE,IAAI,CAAC,KAAK,CAAC,MAAM,CAAC,QAAQ,CAAC,eAAe,CAAC;YAC9D,sBAAsB,EAAE,IAAI,CAAC,KAAK,CAAC,MAAM,CAAC,QAAQ,CAAC,iBAAiB,EAAE,EAAE,CAAC;YACzE,iBAAiB,EAAE,IAAI,CAAC,KAAK,CAAC,MAAM,CAAC,QAAQ,CAAC,eAAe,CAAC;YAC9D,WAAW,EAAE,IAAI,CAAC,KAAK,CAAC,MAAM,CAAC,QAAQ,CAAC,cAAc,CAAC;SACxD,CAAC;IACJ,CAAC;IAED,YAAY;QACV,IAAI,IAAI,CAAC,UAAU,EAAG,CAAC;YACrB,IAAI,CAAC,YAAY,CAAC,IAAI,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC;QACxC,CAAC;aAAM,CAAC;YACN,IAAI,CAAC,WAAW,CAAC,IAAI,EAAE,CAAC;QAC1B,CAAC;IACH,CAAC;IAED,kBAAkB;QAChB,IAAI,CAAC,WAAW,CAAC,IAAI,EAAE,CAAC;IAC1B,CAAC;IAED,UAAU;QACR,OAAO;YACL,qBAAqB,EAAE,IAAI;YAC3B,UAAU,EAAE,IAAI,CAAC,QAAQ;YACzB,aAAa,EAAE,IAAI,CAAC,WAAW;YAC/B,gBAAgB,EAAE,CAAC,IAAI,CAAC,UAAU;SACnC,CAAA;IACH,CAAC;IAED,MAAM;QACJ,OAAO,CACL,EAAC,IAAI;YACH,4DAAK,KAAK,EAAE,IAAI,CAAC,UAAU,EAAE,EAAE,KAAK,EAAE,IAAI,CAAC,MAAM;gBAC/C,4DAAK,KAAK,EAAC,sBAAsB,EAAC,OAAO,EAAG,GAAG,EAAE,CAAC,IAAI,CAAC,YAAY,EAAE;oBACnE,6DAAM,IAAI,EAAC,OAAO,GAAQ;oBAC1B,4DAAK,KAAK,EAAC,SAAS;wBAClB,8DAAa,CACT,CACF;gBACN,4DAAK,KAAK,EAAC,mBAAmB,EAAC,OAAO,EAAG,GAAG,EAAE,CAAC,IAAI,CAAC,kBAAkB,EAAE;oBACtE,6DAAM,IAAI,EAAC,SAAS,GAAQ,CACxB,CACF,CACD,CACR,CAAC;IACJ,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACF","sourcesContent":["import { Component, Host, h, Prop, Event, EventEmitter } from '@stencil/core';\n\n@Component({\n tag: 'cura-dropdown-search-option-new',\n styleUrl: 'cura-dropdown-search-option-new.scss',\n shadow: true,\n})\nexport class CuraDropdownSearchOptionNew {\n\n /**\n * Required. The value for item term reference.\n * This will set the value of the seaarch field when the option is selected.\n */\n @Prop() value!: string;\n /**\n * Required. The unique identifier for the option.\n * This will reference the option element for the parent.\n */\n @Prop() optionid!: string;\n /**\n * Enable selection for this option.\n * Default is true.\n */\n @Prop({reflect: true}) selectable: boolean = true;\n /**\n * Selected state.\n * This will be managed by the parent component.\n * Default is false.\n */\n @Prop({reflect: true}) selected: boolean = false;\n /**\n * Highlighted state.\n * This will be managed by the parent component.\n * Default is false.\n */\n @Prop({reflect: true}) highlighted: boolean = false;\n\n @Event() actionclick: EventEmitter<any>;\n @Event() selectoption: EventEmitter<string>;\n\n styles = {};\n theme = window.CuraAPI.theme;\n\n connectedCallback() {\n this.styles = {\n '--neutral-light': this.theme.colors.getColor('neutral-light'),\n '--neutral-white': this.theme.colors.getColor('neutral-white'),\n '--neutral-dark': this.theme.colors.getColor('neutral-dark'),\n '--neutral-black': this.theme.colors.getColor('neutral-black'),\n '--primary-lighter-50': this.theme.colors.getColor('primary-lighter', .5),\n '--primary-light': this.theme.colors.getColor('primary-light'),\n '--primary': this.theme.colors.getColor('primary-base')\n };\n }\n\n handleSelect() {\n if( this.selectable ) {\n this.selectoption.emit(this.optionid);\n } else {\n this.actionclick.emit();\n }\n }\n\n handleActionsClick() {\n this.actionclick.emit();\n }\n\n getClasses() {\n return {\n 'component-container': true,\n 'selected': this.selected,\n 'highlighted': this.highlighted,\n 'not-selectable': !this.selectable\n }\n }\n\n render() {\n return (\n <Host>\n <div class={this.getClasses()} style={this.styles}>\n <div class=\"selectable-container\" onClick={ () => this.handleSelect() }>\n <slot name='image'></slot>\n <div class=\"content\">\n <slot></slot>\n </div>\n </div>\n <div class=\"actions-container\" onClick={ () => this.handleActionsClick() }>\n <slot name='actions'></slot>\n </div>\n </div>\n </Host>\n );\n }\n}\n"]}
@@ -0,0 +1,85 @@
1
+ const renderCuraDropdownSearchOption = (args) => {
2
+ return `<cura-dropdown-search-option-new${args.value ? `
3
+ value="${args.value}"` : ''}${args.optionid ? `
4
+ optionid="${args.optionid}"` : ''}${args.selectable === false ? `
5
+ selectable="false"` : ''}>${args.image ? `
6
+ ${args.image}` : ''}${args.default ? `
7
+ ${args.default}` : ''}${args.actions ? `
8
+ ${args.actions}` : ''}
9
+ </cura-dropdown-search-option-new>`;
10
+ };
11
+ export default {
12
+ title: 'Componentes/DropdownSearchNew/Options/Option',
13
+ tags: ['autodocs'],
14
+ parameters: {
15
+ docs: {
16
+ description: {
17
+ component: `<cura-paragraph size="small">
18
+ Representa uma opção de seleção para o componente dropdown-search.
19
+ </cura-paragraph>`,
20
+ },
21
+ },
22
+ },
23
+ render: args => {
24
+ return renderCuraDropdownSearchOption(args);
25
+ },
26
+ argTypes: {
27
+ value: {
28
+ control: 'text',
29
+ description: 'Representa o texto a ser aplicado no campo quando a opção é selecionada.<br/><b>É uma propriedade obrigatória.</b>',
30
+ required: true,
31
+ table: {
32
+ category: 'Properties',
33
+ },
34
+ },
35
+ optionid: {
36
+ control: 'text',
37
+ description: 'Identificador único para a opção.<br/><b>É uma propriedade obrigatória.</b>',
38
+ required: true,
39
+ table: {
40
+ category: 'Properties',
41
+ },
42
+ },
43
+ selectable: {
44
+ control: 'boolean',
45
+ description: 'Habilita ou desabilita seleção da opção.',
46
+ table: {
47
+ category: 'Properties',
48
+ defaultValue: { summary: true },
49
+ },
50
+ },
51
+ image: {
52
+ control: 'text',
53
+ description: 'Slot para aplicação de ícones, indicadores, avatares e demais imagens.',
54
+ table: {
55
+ category: 'Slots'
56
+ },
57
+ },
58
+ default: {
59
+ control: 'text',
60
+ description: 'Slot padrão para o conteúdo da opção.<br/>Não é necessário nomear o slot.<br/>Recebe, geralmente, elementos como títulos e parágrafos, os quais formata automaticamente.',
61
+ table: {
62
+ category: 'Slots'
63
+ },
64
+ },
65
+ actions: {
66
+ control: 'text',
67
+ description: 'Slot para componentes de ação secundária da opção, como botões e links.',
68
+ table: {
69
+ category: 'Slots'
70
+ },
71
+ },
72
+ }
73
+ };
74
+ export const DropdownSearchOptionNew = {
75
+ args: {
76
+ value: 'Opção 1',
77
+ optionid: 'opt1',
78
+ selectable: true,
79
+ default: `<cura-heading size="xsmall" weight="bold">Título da <em>Opção</em>.</cura-heading>
80
+ <cura-paragraph size="xsmall">Descrição da <em>opção</em>.</cura-paragraph>`,
81
+ image: '<cura-icon slot="image" name="unity" size="20"></cura-icon>',
82
+ actions: '<cura-button-transparent slot="actions" icon-only="true" icon-name="delete"></cura-button-transparent>'
83
+ }
84
+ };
85
+ //# sourceMappingURL=cura-dropdown-search-option-new.stories.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"cura-dropdown-search-option-new.stories.js","sourceRoot":"","sources":["../../../../src/components/cura-dropdown-search-new/cura-dropdown-search-option-new/cura-dropdown-search-option-new.stories.ts"],"names":[],"mappings":"AAAA,MAAM,8BAA8B,GAAG,CAAC,IAAI,EAAE,EAAE;IAC9C,OAAO,mCAAoC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC;WAC/C,IAAI,CAAC,KAAK,GAAG,CAAC,CAAC,CAAC,EAAE,GAAI,IAAI,CAAC,QAAQ,CAAC,CAAC,CAAC;cACnC,IAAI,CAAC,QAAQ,GAAG,CAAC,CAAC,CAAC,EAAE,GAAI,IAAI,CAAC,UAAU,KAAK,KAAK,CAAC,CAAC,CAAC;qBAC9C,CAAC,CAAC,CAAC,EAAE,IAAK,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC;IACvC,IAAI,CAAC,KAAM,EAAE,CAAC,CAAC,CAAC,EAAE,GAAI,IAAI,CAAC,OAAO,CAAC,CAAC,CAAC;IACrC,IAAI,CAAC,OAAQ,EAAE,CAAC,CAAC,CAAC,EAAE,GAAI,IAAI,CAAC,OAAO,CAAC,CAAC,CAAC;IACvC,IAAI,CAAC,OAAQ,EAAE,CAAC,CAAC,CAAC,EAAE;mCACU,CAAA;AACnC,CAAC,CAAA;AAED,eAAe;IACb,KAAK,EAAE,8CAA8C;IACrD,IAAI,EAAE,CAAC,UAAU,CAAC;IAClB,UAAU,EAAE;QACV,IAAI,EAAE;YACJ,WAAW,EAAE;gBACX,SAAS,EAAE;;wBAEK;aACjB;SACF;KACF;IACD,MAAM,EAAE,IAAI,CAAC,EAAE;QACb,OAAO,8BAA8B,CAAC,IAAI,CAAC,CAAC;IAC9C,CAAC;IACD,QAAQ,EAAE;QACR,KAAK,EAAE;YACL,OAAO,EAAE,MAAM;YACf,WAAW,EAAE,oHAAoH;YACjI,QAAQ,EAAE,IAAI;YACd,KAAK,EAAE;gBACL,QAAQ,EAAE,YAAY;aACvB;SACF;QACD,QAAQ,EAAE;YACR,OAAO,EAAE,MAAM;YACf,WAAW,EAAE,6EAA6E;YAC1F,QAAQ,EAAE,IAAI;YACd,KAAK,EAAE;gBACL,QAAQ,EAAE,YAAY;aACvB;SACF;QACD,UAAU,EAAE;YACV,OAAO,EAAE,SAAS;YAClB,WAAW,EAAE,0CAA0C;YACvD,KAAK,EAAE;gBACL,QAAQ,EAAE,YAAY;gBACtB,YAAY,EAAE,EAAE,OAAO,EAAE,IAAI,EAAE;aAChC;SACF;QACD,KAAK,EAAE;YACL,OAAO,EAAE,MAAM;YACf,WAAW,EAAE,wEAAwE;YACrF,KAAK,EAAE;gBACL,QAAQ,EAAE,OAAO;aAClB;SACF;QACD,OAAO,EAAE;YACP,OAAO,EAAE,MAAM;YACf,WAAW,EAAE,0KAA0K;YACvL,KAAK,EAAE;gBACL,QAAQ,EAAE,OAAO;aAClB;SACF;QACD,OAAO,EAAE;YACP,OAAO,EAAE,MAAM;YACf,WAAW,EAAE,yEAAyE;YACtF,KAAK,EAAE;gBACL,QAAQ,EAAE,OAAO;aAClB;SACF;KACF;CACF,CAAA;AAED,MAAM,CAAC,MAAM,uBAAuB,GAAG;IACrC,IAAI,EAAE;QACJ,KAAK,EAAE,SAAS;QAChB,QAAQ,EAAE,MAAM;QAChB,UAAU,EAAE,IAAI;QAChB,OAAO,EAAE;8EACiE;QAC1E,KAAK,EAAE,6DAA6D;QACpE,OAAO,EAAE,wGAAwG;KAClH;CACF,CAAA","sourcesContent":["const renderCuraDropdownSearchOption = (args) => {\n return `<cura-dropdown-search-option-new${ args.value ? `\n value=\"${args.value}\"` : ''}${ args.optionid ? `\n optionid=\"${args.optionid}\"` : ''}${ args.selectable === false ? `\n selectable=\"false\"` : ''}>${ args.image ? `\n ${ args.image }` : ''}${ args.default ? `\n ${ args.default }` : ''}${ args.actions ? `\n ${ args.actions }` : ''}\n</cura-dropdown-search-option-new>`\n}\n\nexport default {\n title: 'Componentes/DropdownSearchNew/Options/Option',\n tags: ['autodocs'],\n parameters: {\n docs: {\n description: {\n component: `<cura-paragraph size=\"small\">\n Representa uma opção de seleção para o componente dropdown-search.\n </cura-paragraph>`,\n },\n },\n },\n render: args => {\n return renderCuraDropdownSearchOption(args);\n },\n argTypes: {\n value: {\n control: 'text',\n description: 'Representa o texto a ser aplicado no campo quando a opção é selecionada.<br/><b>É uma propriedade obrigatória.</b>',\n required: true,\n table: {\n category: 'Properties',\n },\n },\n optionid: {\n control: 'text',\n description: 'Identificador único para a opção.<br/><b>É uma propriedade obrigatória.</b>',\n required: true,\n table: {\n category: 'Properties',\n },\n },\n selectable: {\n control: 'boolean',\n description: 'Habilita ou desabilita seleção da opção.',\n table: {\n category: 'Properties',\n defaultValue: { summary: true },\n },\n },\n image: {\n control: 'text',\n description: 'Slot para aplicação de ícones, indicadores, avatares e demais imagens.',\n table: {\n category: 'Slots'\n },\n },\n default: {\n control: 'text',\n description: 'Slot padrão para o conteúdo da opção.<br/>Não é necessário nomear o slot.<br/>Recebe, geralmente, elementos como títulos e parágrafos, os quais formata automaticamente.',\n table: {\n category: 'Slots'\n },\n },\n actions: {\n control: 'text',\n description: 'Slot para componentes de ação secundária da opção, como botões e links.',\n table: {\n category: 'Slots'\n },\n },\n }\n}\n\nexport const DropdownSearchOptionNew = {\n args: {\n value: 'Opção 1',\n optionid: 'opt1',\n selectable: true,\n default: `<cura-heading size=\"xsmall\" weight=\"bold\">Título da <em>Opção</em>.</cura-heading>\n <cura-paragraph size=\"xsmall\">Descrição da <em>opção</em>.</cura-paragraph>`,\n image: '<cura-icon slot=\"image\" name=\"unity\" size=\"20\"></cura-icon>',\n actions: '<cura-button-transparent slot=\"actions\" icon-only=\"true\" icon-name=\"delete\"></cura-button-transparent>'\n }\n}\n"]}
@@ -27,7 +27,7 @@ export class CuraIcon {
27
27
  this.host.style.setProperty(prop, value);
28
28
  }
29
29
  render() {
30
- return (h(Host, { key: '09f68d2b455427bf45dca2e6b30e993ebfa6b3a0' }, h("svg", { key: 'f15fea7564efac510263f06f8d15288fec004f66', version: "1.1", viewBox: "0 0 24 24", preserveAspectRatio: "xMidYMid meet", xmlns: "http://www.w3.org/2000/svg" }, h("use", { key: 'b88136d10453dc9e1d2c41ceb10676b348430ae3', xlinkHref: `${this.assetsPath}/icons/iconset-${this.iconset}.svg#${this.name}` }))));
30
+ return (h(Host, { key: 'd2c7487f9fadebc1da94bc4b8cd661a75e0d93ef' }, h("svg", { key: 'd8d0a70bf11cce073da95cce58c2fca4705b4b9f', version: "1.1", viewBox: "0 0 24 24", preserveAspectRatio: "xMidYMid meet", xmlns: "http://www.w3.org/2000/svg" }, h("use", { key: '10f2f6c34ce7cc782de70d9e9cdd22f54e08acc9', xlinkHref: `${this.assetsPath}/icons/iconset-${this.iconset}.svg#${this.name}` }))));
31
31
  }
32
32
  static get is() { return "cura-icon"; }
33
33
  static get encapsulation() { return "shadow"; }
@@ -14,7 +14,7 @@ export class CuraIconsView {
14
14
  this.sizes.unshift(this.sizes.pop());
15
15
  }
16
16
  render() {
17
- return (h(Host, { key: '4918bc5d13f24f3133af45ce5991b3f3f43e99cf' }, h("div", { key: '837d47976a39702b13ceb5a7c5ac8ae097d34988', class: "iconDetail" }, h("cura-heading", { key: 'de4c75c4652b464991aa173cf7243db65f9ba2ba', size: "small", "margin-block": "0 24px" }, "Icon: ", h("b", { key: '77591ce199e5140ddcde3d7b956586d27fe6bc05' }, this.selected)), h("div", { key: '6da36b174603d48ab3b11a8490c424f164855147', class: "iconSizes" }, this.sizes.map(size => h("div", { class: "size" }, h("cura-icon", { name: this.selected, size: size }), h("span", null, size)))), h("div", { key: '4920c8010e0a55f80bb557f4ba0e537b7861ae36', class: "iconSizes invert" }, this.sizes.map(size => h("div", { class: "size" }, h("cura-icon", { name: this.selected, size: size, color: "neutral-white" }), h("span", null, size))))), h("div", { key: '99739b351fb25036efd4b55774c0f077058be8fc', class: "icons" }, iconsetdefaulticons.map(icon => h("div", { class: { icon: true, selected: icon === this.selected }, onClick: () => this.setSelected(icon) }, h("cura-icon", { name: icon, size: "32", color: icon === this.selected ? 'accent-dark' : 'neutral-dark' }), h("cura-label", { size: "xsmall", weight: icon === this.selected ? 'bold' : 'regular', color: icon === this.selected ? 'accent-dark' : 'neutral-dark' }, icon))))));
17
+ return (h(Host, { key: '08ac6235b9218c2202cd4957bb78100216b5b680' }, h("div", { key: '71856330d5f050d46b83c06125d29a235532bf98', class: "iconDetail" }, h("cura-heading", { key: '2520247cde8d71b1a31ce028c4525b04e6302bf1', size: "small", "margin-block": "0 24px" }, "Icon: ", h("b", { key: '5cf48d96ed36dd5514357c65b0ec8c9f137bb1e4' }, this.selected)), h("div", { key: '7eda1e7db5efc89abb583631a5e959e31397684f', class: "iconSizes" }, this.sizes.map(size => h("div", { class: "size" }, h("cura-icon", { name: this.selected, size: size }), h("span", null, size)))), h("div", { key: 'f443dab7e85fe89a207da8fbefb024b0c22fa084', class: "iconSizes invert" }, this.sizes.map(size => h("div", { class: "size" }, h("cura-icon", { name: this.selected, size: size, color: "neutral-white" }), h("span", null, size))))), h("div", { key: '5ea3b71259ae5454297a94aef4ce1e154c968512', class: "icons" }, iconsetdefaulticons.map(icon => h("div", { class: { icon: true, selected: icon === this.selected }, onClick: () => this.setSelected(icon) }, h("cura-icon", { name: icon, size: "32", color: icon === this.selected ? 'accent-dark' : 'neutral-dark' }), h("cura-label", { size: "xsmall", weight: icon === this.selected ? 'bold' : 'regular', color: icon === this.selected ? 'accent-dark' : 'neutral-dark' }, icon))))));
18
18
  }
19
19
  static get is() { return "cura-icons-view"; }
20
20
  static get encapsulation() { return "shadow"; }
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * Global Spacing Definitions.
3
- * Required CSS Properties:
4
- * --base-spacing
3
+ * Required CSS Properties from Cura:
4
+ * --cura-spacing-base
5
5
  */
6
6
  /* None: 0px */
7
7
  /* Tiny default: 4px */
@@ -132,10 +132,10 @@
132
132
  position: fixed;
133
133
  background-color: var(--neutral-white);
134
134
  border: 2px solid var(--neutral-light);
135
- border-radius: calc(var(--base-spacing) * 3px);
135
+ border-radius: calc(var(--cura-spacing-base) * 3px);
136
136
  max-width: 600px;
137
137
  min-width: 200px;
138
- padding: 0px calc(var(--base-spacing) * 4px) calc(var(--base-spacing) * 4px) calc(var(--base-spacing) * 4px);
138
+ padding: 0px calc(var(--cura-spacing-base) * 4px) calc(var(--cura-spacing-base) * 4px) calc(var(--cura-spacing-base) * 4px);
139
139
  z-index: var(--zIndex);
140
140
  box-shadow: 0px 8px 16px 0px var(--neutral-black-shadow-4, rgba(38, 38, 38, 0.12));
141
141
  transform: scale(0.95);
@@ -144,7 +144,7 @@
144
144
  .wrapper ::slotted(*) {
145
145
  max-height: 80vh;
146
146
  overflow: auto;
147
- padding-right: calc(var(--base-spacing) * 5px);
147
+ padding-right: calc(var(--cura-spacing-base) * 5px);
148
148
  }
149
149
 
150
150
  .modal.open .wrapper {
@@ -155,7 +155,7 @@
155
155
 
156
156
  .close {
157
157
  justify-self: flex-end;
158
- padding-top: calc(var(--base-spacing) * 4px);
158
+ padding-top: calc(var(--cura-spacing-base) * 4px);
159
159
  background: none;
160
160
  border: none;
161
161
  cursor: pointer;
@@ -172,23 +172,23 @@
172
172
  position: fixed;
173
173
  bottom: 0px;
174
174
  width: 80%;
175
- padding-top: calc(var(--base-spacing) * 4px);
175
+ padding-top: calc(var(--cura-spacing-base) * 4px);
176
176
  padding-bottom: 0px;
177
- border-radius: calc(var(--base-spacing) * 3px) calc(var(--base-spacing) * 3px) 0px 0px;
177
+ border-radius: calc(var(--cura-spacing-base) * 3px) calc(var(--cura-spacing-base) * 3px) 0px 0px;
178
178
  border-bottom: none;
179
179
  }
180
180
 
181
181
  .close {
182
182
  align-items: center;
183
183
  border-top: 1px dashed var(--neutral-light);
184
- margin-top: calc(var(--base-spacing) * 4px);
185
- padding: calc(var(--base-spacing) * 4px) 0px;
184
+ margin-top: calc(var(--cura-spacing-base) * 4px);
185
+ padding: calc(var(--cura-spacing-base) * 4px) 0px;
186
186
  justify-content: center;
187
187
  width: 100%;
188
188
  }
189
189
  .close.mobile {
190
190
  display: flex;
191
- gap: calc(var(--base-spacing) * 2px);
191
+ gap: calc(var(--cura-spacing-base) * 2px);
192
192
  }
193
193
  .close.desktop {
194
194
  display: none;
@@ -46,7 +46,7 @@ export class CuraModal {
46
46
  this.setRight();
47
47
  }
48
48
  render() {
49
- return (h(Host, { key: '50f4146aed5392ae16803fb060d4921a5e8a3271', role: "dialog", "aria-modal": "true", style: { '--zIndex': this.zindex } }, h("div", { key: '149e99a4b8b479515ed3d67c5c8aea08d4d96d1c', class: this.open ? 'modal container open' : 'modal container', style: this.styles }, h("div", { key: 'f32f7f7e16475c51babf95e1ca5f4fea449c1bb0', class: this.open ? 'modal backdrop open' : 'modal backdrop', onClick: this.handleClose }), h("div", { key: '183f7ab8f2cee8106795f6104c38a2c93272387f', class: "wrapper" }, h("button", { key: '28778c8120c92dfcae0443dccd21f55a204bd82e', class: "close desktop", onClick: this.handleClose }, h("cura-icon", { key: 'a847de5c1314ea1460673870334f3f98e98f1cf9', name: "close", color: "error-dark", size: "small" })), h("slot", { key: 'e08b556b7232425c2b83a21dac75d30fb4361a83' }), h("button", { key: 'e736a95f878ff5a2ad6897d9140fd74b26939445', class: "close mobile", onClick: this.handleClose }, h("cura-icon", { key: '9eaeaca6f4ea9d3cde5fd44e108de389c727f991', name: "close", color: "error-dark", size: "16" }), h("cura-paragraph", { key: '2476b85e5dd7d6092d3d1d1714ee4a79b73b12d0', color: "error-dark", size: "small", marginBlock: "0" }, this.mobileCloseLabel))))));
49
+ return (h(Host, { key: 'cec1266a4daaac89f69e4f08c94574db9cd970f8', role: "dialog", "aria-modal": "true", style: { '--zIndex': this.zindex } }, h("div", { key: '5b330fb69c2360e9c6053d2650c43cbf643eb751', class: this.open ? 'modal container open' : 'modal container', style: this.styles }, h("div", { key: '8187dd2df05750a19f85e156059b66d8d56c8b00', class: this.open ? 'modal backdrop open' : 'modal backdrop', onClick: this.handleClose }), h("div", { key: '6a34bc7d67fa48c86d2ada7c167a834c09713ad7', class: "wrapper" }, h("button", { key: '6e268d5260404b51dd8779007725c19635066881', class: "close desktop", onClick: this.handleClose }, h("cura-icon", { key: '7b5644d466b0b9282b6b9d484ea1c0f4384e2aef', name: "close", color: "error-dark", size: "small" })), h("slot", { key: '890dc7befdbd96fc8d5cc62a4ad856631b6a7f1e' }), h("button", { key: '5f7610ea323e3cad1e12acac7cb66345c8eacf98', class: "close mobile", onClick: this.handleClose }, h("cura-icon", { key: 'e9e82d2d4fe0b181131bd0bd7fae8feebaabfd9c', name: "close", color: "error-dark", size: "16" }), h("cura-paragraph", { key: 'b9930dd44ca205ec4747c62c005beb36e974698b', color: "error-dark", size: "small", marginBlock: "0" }, this.mobileCloseLabel))))));
50
50
  }
51
51
  static get is() { return "cura-modal"; }
52
52
  static get encapsulation() { return "shadow"; }
@@ -14,7 +14,7 @@ export class CuraPageTemplate {
14
14
  return classes;
15
15
  }
16
16
  render() {
17
- return (h(Host, { key: '9f26fb8ceb8b22ed9223bd215c07b6a19f6d78f1' }, h("div", { key: '38541ca9be4feecb9911c96cc954ba7501dc9b5e', style: this.styles, class: "grid-template" }, h("div", { key: 'daf436a589d75bb270f4b16230d1db1d7365c47e', id: "sub-header" }, h("slot", { key: '547c858a5913c600c1b745f400319d207a04c7ce', name: 'sub-header' })), h("div", { key: 'ba69ae91e87af01a8001a347f6de7d8ba7088619', id: "header" }, h("slot", { key: '6f72885d42d005f234942f2cbf8eefd98f4d0241', name: 'header' })), h("div", { key: 'd21dbb37e236b1b22e886a036a37fb2e65e538f3', id: "pre-content" }, h("slot", { key: '31b14b314d1ee2672f15883ea4bcc3c542520558', name: 'pre-content' })), h("div", { key: 'a1297f482f15b4947043401b25e2c4ecbedd31fd', id: "content-container", class: this.getClasses() }, h("div", { key: '9c0c466a46c5fc81c64663dd0aff4e073cc6cb72', id: "sidebar-left" }, h("slot", { key: '10364527d218b1c05064095a5a69a411cb23322a', name: 'sidebar-left' })), h("div", { key: '23029f84833a0959f43f30b4dcc5d8bc08a0bf05', id: "content" }, h("slot", { key: '8dbcf34f4808d0983df99c77b52f927b8f1a69d7', name: "content" }), h("slot", { key: '6a235586dfb316c6449d531a566940d8de4e4a40' })), h("div", { key: 'b88f94db774c17aaa312ca55c9e67d611cabace3', id: "sidebar-right" }, h("slot", { key: '5efbbf777d7acb28e91f4dace10558926dafef60', name: 'sidebar-right' }))), h("div", { key: 'f40b983f2266e565faba96e8906cd69073b6598c', id: "post-body" }, h("slot", { key: 'd0f047c73b5b777f1eb9d61191bf172473c100cf', name: 'post-body' })), h("div", { key: 'b54482672a8017036b060203b5426bb2897c75fa', id: "footer" }, h("slot", { key: '4c65d471dcd2dfabc32e163cb9575f3d05fb2cda', name: 'footer' })), h("div", { key: '24c5d5a19e6d3fb943a1e99a7dfcfe9ad7cbb283', id: "sub-footer" }, h("slot", { key: '6f595500cac9906db6902685f172feaa7ee9e711', name: 'sub-footer' })))));
17
+ return (h(Host, { key: '23b61f04dccd33e0abd6ac08f6521f5a9ec8bbd4' }, h("div", { key: 'd1e86808dab1b1c46b2d6b6b8093420dae7e27fb', style: this.styles, class: "grid-template" }, h("div", { key: 'e84d57b008abe440e59aa3734568b530a7440bdd', id: "sub-header" }, h("slot", { key: '0e9942affc593384ec18a47b93a7aaba703ce62a', name: 'sub-header' })), h("div", { key: 'a5ebc56a9ac49acdfebc7f83560c8a51b63619b0', id: "header" }, h("slot", { key: '5957130f5f0df86ca0b3e915d48ac1b6973be2d5', name: 'header' })), h("div", { key: '54c62c8f7bb9e774d1e9b2213db30da5cdd630a7', id: "pre-content" }, h("slot", { key: '160871f4ceede7169d77e2d2bcba5b415ac33c44', name: 'pre-content' })), h("div", { key: '1c69ecfcd2c605bc1024714b00854f072b3c3d2d', id: "content-container", class: this.getClasses() }, h("div", { key: '6d3102743e3e602edb04d461e4604e0a60df350f', id: "sidebar-left" }, h("slot", { key: '07f0c274f6fe9ec703ea5a11833bb5ae02a2db73', name: 'sidebar-left' })), h("div", { key: '3d4a8dff0a572edc9bbeef15bed2f7de45b8e1c1', id: "content" }, h("slot", { key: '5ca4395665823640d9c94dd71c3f746d413e0fb9', name: "content" }), h("slot", { key: '49e69afad551228a6b9602457f7811a625b943ec' })), h("div", { key: '43455d2bae0ffde066b6c31b3ff6ee4c3fe96723', id: "sidebar-right" }, h("slot", { key: '6b047fcc8249614710886954f082910b14e91608', name: 'sidebar-right' }))), h("div", { key: '49001b8066d664a180e9211cff345037f39a726d', id: "post-body" }, h("slot", { key: '8dde2d8f83c93e8b7b2a74086678ba98e54cb9f6', name: 'post-body' })), h("div", { key: '1091ad3443a6897ae879b31fead876ab891bb2d6', id: "footer" }, h("slot", { key: '49d1a5efdf5c0ffd29b7469bef9a36db8fe9d3f0', name: 'footer' })), h("div", { key: '8d20703614c90d4f2aabd0cef201a4850239b6e8', id: "sub-footer" }, h("slot", { key: 'b9c393c804a563b34a1c55f33789b047c1bff095', name: 'sub-footer' })))));
18
18
  }
19
19
  static get is() { return "cura-page-template"; }
20
20
  static get encapsulation() { return "shadow"; }
@@ -12,7 +12,7 @@ export class CuraProgressBar {
12
12
  const circumference = radius * Math.PI * 2;
13
13
  const dash = (this.progress * circumference) / 100;
14
14
  const viewBox = `0 0 ${this.size} ${this.size}`;
15
- return (h(Host, { key: 'e0da7ede087161c67c9dd0371d15030dd5107a19' }, h("div", { key: 'ebe68fb426b46e94b7d03ded4e8aaed852337f30', class: "progress-bar" }, h("svg", { key: 'ace46878d45bfbe51dae29c3020d74f43c2f5147', width: this.size, height: this.size, viewBox: viewBox }, h("circle", { key: 'dbbde61a95a7f13dc14a72fe538da43953852d7b', fill: "none", stroke: "#ccc", cx: this.size / 2, cy: this.size / 2, r: radius, "stroke-width": `${this.strokeWidth}px` }), this.active && (h("circle", { key: '272c197451a47c73cfa91d7f7578a50b26958732', 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: 'a80f024e09fb54218fe97039459472855226c063' }, h("slot", { key: '5683f5edd5b54bd852fc1036b284656bfda066c4' })))));
15
+ return (h(Host, { key: '9453ea7e8d763048b3a789ca720ed1fea987cd71' }, h("div", { key: 'cf9624ef2a367e6d246a488af50e7a5534864dce', class: "progress-bar" }, h("svg", { key: '54f0788b7d9cd26baebd3fa07a573f3cca9071c7', width: this.size, height: this.size, viewBox: viewBox }, h("circle", { key: '3eb559fbde401961eb14e38113d38a32dd947165', fill: "none", stroke: "#ccc", cx: this.size / 2, cy: this.size / 2, r: radius, "stroke-width": `${this.strokeWidth}px` }), this.active && (h("circle", { key: '838fcf3567ff35a23a361ba1999e5c83f751179a', 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: '1cc5c38639225399117c7ad34095a44dfe5093f4' }, h("slot", { key: 'be0129c555a7e6a2901857e70a5540b087c04a81' })))));
16
16
  }
17
17
  static get is() { return "cura-progress-bar"; }
18
18
  static get encapsulation() { return "shadow"; }
@@ -55,7 +55,7 @@ export class CuraStepperItem {
55
55
  }
56
56
  render() {
57
57
  const { badgeColor, textColor, icon, iconOnly } = this.getStatusProperties();
58
- return (h(Host, { key: 'c226daf451d9c861d5303474ef0fc31c1602371b' }, h("div", { key: '7aece988946e4bef02c597a80ea1a505c201e188', class: "item-container", style: this.styles }, h("cura-badge-pill", { key: 'd0362b4a4ee3c047173399ea5f7c912a5a0f7810', type: "solid", color: badgeColor, "icon-name": icon, "icon-only": iconOnly, "border-radius": "50%" }, this.label), this.displayHeading && this.heading && (h("cura-paragraph", { key: '015effecdb26be22386363e77bd5a0e671701d60', marginBlock: "0", size: "xsmall", color: textColor }, this.heading)))));
58
+ return (h(Host, { key: '779f6c1eb875477b8ceb8ed223e8432081f67bc9' }, h("div", { key: '14f773ffa6d576f2894fa0515f878eddf48205fb', class: "item-container", style: this.styles }, h("cura-badge-pill", { key: '492f9988b7f7f6f4fc0838a99a015da3411017fe', type: "solid", color: badgeColor, "icon-name": icon, "icon-only": iconOnly, "border-radius": "50%" }, this.label), this.displayHeading && this.heading && (h("cura-paragraph", { key: 'b0d3cafa0bfddd990ee745b3b82b44df9daaca71', marginBlock: "0", size: "xsmall", color: textColor }, this.heading)))));
59
59
  }
60
60
  static get is() { return "cura-stepper-item"; }
61
61
  static get encapsulation() { return "shadow"; }
@@ -103,7 +103,7 @@ export class CuraStepper {
103
103
  return (h("div", { class: "container", style: this.styles }, h("div", { class: "stepper-list" }, this.stepList.map((step, stepIndex) => this.renderStep(step, stepIndex)))));
104
104
  }
105
105
  render() {
106
- return h(Host, { key: 'a6562de52fefff80eb2d310555ce56956cce64d9' }, this.variant === 'default' ? this.renderStepper() : this.renderCompactStepper());
106
+ return h(Host, { key: '55bff7769007721f0c0366d1a6a9b197bbaebfbd' }, this.variant === 'default' ? this.renderStepper() : this.renderCompactStepper());
107
107
  }
108
108
  static get is() { return "cura-stepper"; }
109
109
  static get encapsulation() { return "shadow"; }
@@ -21,7 +21,7 @@ export class CuraToast {
21
21
  this.setStyle();
22
22
  }
23
23
  render() {
24
- return (h(Host, { key: '4dc290042792d96f31c2e63936d70a77bc37917d' }, h("div", { key: '668c102d3a31d0a0e39c390546fcf5422e954246', class: this.getClasses(), style: this.styles }, h("cura-icon", { key: '502b24915e1000877ccd4ae25806b152b4a72948', class: "default-icon", name: this.getNameIcon(), size: 16, color: `${this.type}-dark` }), h("div", { key: 'd7afe4d1a9740d3bd1bce04858f6e71e0c857da2', class: "content" }, h("cura-heading", { key: '419e0d64e12e828efa2fecebe0eb86c74ff86dda', level: 4, size: "xsmall", color: `${this.type}-dark`, weight: "bold", "margin-block": "0" }, this.label), h("cura-paragraph", { key: 'bc6f5c120f0b32858cbda9ebf16c5d79366452bb', color: `${this.type}-darker`, size: "xsmall", marginBlock: "0", lineHeight: "133.33%" }, h("slot", { key: '9cc8ba28b3e5ee5d8137351cfbb5dc07b417b7e9' })), h("slot", { key: 'f260ca44fa6cc515a1bda3ecb94dd1ac90f880d7', name: "actions" })), this.closeButton && h("cura-icon", { key: '7db6c2e5c3c66ab0b12822fc8099e17b77ed2c39', class: "close-icon", name: "close", size: 16, color: "error-dark", onClick: this.handleClose }), this.loader && !!this.autoCloseDelay && h("cura-loader-bar", { key: 'd0a6f1e838ec98f6dac5773214e1e5cf501e3e2e', color: `${this.type}-base`, progress: this.progress }))));
24
+ return (h(Host, { key: 'cccef02cf7786461ab403fecd52476a42bb98374' }, h("div", { key: '64385fa4aab3d08e0815276e0bde817b1f3c09f4', class: this.getClasses(), style: this.styles }, h("cura-icon", { key: '0d759de0780902eec4276adfa3f758c1f2b0b53c', class: "default-icon", name: this.getNameIcon(), size: 16, color: `${this.type}-dark` }), h("div", { key: '2c4baf72eb99c8d400eb704879febe1a57167373', class: "content" }, h("cura-heading", { key: '771e4762bb36bf47064ed90a98f7786973093e8c', level: 4, size: "xsmall", color: `${this.type}-dark`, weight: "bold", "margin-block": "0" }, this.label), h("cura-paragraph", { key: 'a8ef8dca7e4ddfac612bd48f19688fae8c0a015e', color: `${this.type}-darker`, size: "xsmall", marginBlock: "0", lineHeight: "133.33%" }, h("slot", { key: '86408523353f831f6ede1acaf0214a00f5fac8a5' })), h("slot", { key: 'c69f99edb9577df1a6ce9b6667c719df740daa49', name: "actions" })), this.closeButton && h("cura-icon", { key: 'cacd29615f1dbff708ed10811c4e94c0b120c325', class: "close-icon", name: "close", size: 16, color: "error-dark", onClick: this.handleClose }), this.loader && !!this.autoCloseDelay && h("cura-loader-bar", { key: '65a88d82da0ad2a9c987e26c2ffba983ff1c60b6', color: `${this.type}-base`, progress: this.progress }))));
25
25
  }
26
26
  componentDidLoad() {
27
27
  this.openContainer();
@@ -68,8 +68,8 @@
68
68
  */
69
69
  /**
70
70
  * Global Spacing Definitions.
71
- * Required CSS Properties:
72
- * --base-spacing
71
+ * Required CSS Properties from Cura:
72
+ * --cura-spacing-base
73
73
  */
74
74
  /* None: 0px */
75
75
  /* Tiny default: 4px */
@@ -102,9 +102,9 @@
102
102
  box-sizing: border-box;
103
103
  max-width: var(--max-width);
104
104
  height: auto;
105
- padding: calc(var(--base-spacing) * 2px);
105
+ padding: calc(var(--cura-spacing-base) * 2px);
106
106
  border: 1px solid var(--neutral-light);
107
- border-radius: calc(var(--base-spacing) * 1px);
107
+ border-radius: calc(var(--cura-spacing-base) * 1px);
108
108
  background-color: var(--neutral-purewhite);
109
109
  box-shadow: 0px 4px 8px 0px var(--neutral-black-shadow, rgba(38, 38, 38, 0.16));
110
110
  }
@@ -112,10 +112,10 @@
112
112
  :host .container {
113
113
  max-width: 90%;
114
114
  height: fit-content;
115
- padding: calc(var(--base-spacing) * 4px) calc(var(--base-spacing) * 4px) 0 calc(var(--base-spacing) * 4px);
115
+ padding: calc(var(--cura-spacing-base) * 4px) calc(var(--cura-spacing-base) * 4px) 0 calc(var(--cura-spacing-base) * 4px);
116
116
  margin: 0 auto;
117
117
  border: 2px solid;
118
- border-radius: calc(var(--base-spacing) * 3px) calc(var(--base-spacing) * 3px) 0 0;
118
+ border-radius: calc(var(--cura-spacing-base) * 3px) calc(var(--cura-spacing-base) * 3px) 0 0;
119
119
  border-color: var(--neutral-light) var(--neutral-light) transparent var(--neutral-light);
120
120
  }
121
121
  }
@@ -123,8 +123,8 @@
123
123
  content: "";
124
124
  position: absolute;
125
125
  z-index: 99999;
126
- width: calc(var(--base-spacing) * 2.5px);
127
- height: calc(var(--base-spacing) * 2.5px);
126
+ width: calc(var(--cura-spacing-base) * 2.5px);
127
+ height: calc(var(--cura-spacing-base) * 2.5px);
128
128
  border: 1px solid;
129
129
  border-radius: 2px;
130
130
  background-color: var(--neutral-purewhite);
@@ -142,18 +142,18 @@
142
142
  flex: 1 1 0;
143
143
  display: flex;
144
144
  flex-direction: column;
145
- gap: calc(var(--base-spacing) * 1px);
145
+ gap: calc(var(--cura-spacing-base) * 1px);
146
146
  }
147
147
  @media (max-width: 768px) {
148
148
  :host .container .content {
149
- padding-bottom: calc(var(--base-spacing) * 4px);
149
+ padding-bottom: calc(var(--cura-spacing-base) * 4px);
150
150
  border-bottom: 1px dashed var(--neutral-light);
151
151
  }
152
152
  }
153
153
  :host .container .close-icon {
154
- margin-left: calc(var(--base-spacing) * 3px);
154
+ margin-left: calc(var(--cura-spacing-base) * 3px);
155
155
  cursor: pointer;
156
156
  }
157
157
  :host .container .close-button {
158
- padding: calc(var(--base-spacing) * 2px) 0;
158
+ padding: calc(var(--cura-spacing-base) * 2px) 0;
159
159
  }
@@ -25,7 +25,7 @@ export class CuraTooltip {
25
25
  this.setStyle();
26
26
  }
27
27
  render() {
28
- return (h(Host, { key: '3fe89da4d5b3a2830d4ab6a88e705b4cf2433289', role: "tooltip", id: this.elementId }, h("div", { key: '6cece3dcbf275a851e0d53cb154b9dcf50a76948', class: "container", style: this.styles }, h("div", { key: '802840b89feb6c4d89303da156f6f130e552a83b', class: "content" }, h("cura-heading", { key: 'ea98692d4fc34f05dcf8fcd5c325b8a1cd408226', level: 4, size: "xsmall", color: "neutral-black", weight: "bold", "margin-block": "0" }, this.label), h("cura-paragraph", { key: '38bb7bf9f0a837813b490062ba5645f7148ac74b', color: "neutral-dark", "spot-color": "secondary-darker", size: "xsmall", marginBlock: "0", lineHeight: "133.33%" }, h("slot", { key: '960b6b6d8ee4636a31c2058aa4779050973e143e' }))), this.closeButton && !this.isMobile && h("cura-icon", { key: 'd0bf72702fa8d24d1f5fac6fa473747bdaadcdaf', class: "close-icon", name: "close", size: 16, color: "error-dark", onClick: this.handleClose }), this.isMobile && h("cura-button-transparent", { key: '2213a6353b3d326ecde2e9eefe84811bd3161727', class: "close-button", size: "small", type: "button", color: "error", "icon-name": "close", "icon-position": "right", onClick: this.handleClose }, "OK, entendi."))));
28
+ return (h(Host, { key: '8d60e1300b236087fdb740e018c1c0537cae8d14', role: "tooltip", id: this.elementId }, h("div", { key: '1ee4abd823d291a62a0890f15e6dcf7de93d27ce', class: "container", style: this.styles }, h("div", { key: '5b77522f5bfa31f0c57d1461c4fe74bb28056853', class: "content" }, h("cura-heading", { key: '1829def9107ea1a6d4c26a7529f6342b9d1c3a4e', level: 4, size: "xsmall", color: "neutral-black", weight: "bold", "margin-block": "0" }, this.label), h("cura-paragraph", { key: 'd7ef9857d141ef5aea60b1d9d1d79f47ebe1f6f8', color: "neutral-dark", "spot-color": "secondary-darker", size: "xsmall", marginBlock: "0", lineHeight: "133.33%" }, h("slot", { key: 'f2dc8c8e8142205d0553af200875131a0cc09111' }))), this.closeButton && !this.isMobile && h("cura-icon", { key: 'e7666bb54a3366f8c2ab3b0429237f7b5307b36a', class: "close-icon", name: "close", size: 16, color: "error-dark", onClick: this.handleClose }), this.isMobile && h("cura-button-transparent", { key: 'cc64d822bf10b1d7788fd2df85a6b97287b7f7ee', class: "close-button", size: "small", type: "button", color: "error", "icon-name": "close", "icon-position": "right", onClick: this.handleClose }, "OK, entendi."))));
29
29
  }
30
30
  componentDidLoad() {
31
31
  var _a, _b, _c, _d, _e;
@@ -147,7 +147,7 @@ export class CuraCheckbox {
147
147
  return h("cura-icon", { class: "icon", name: iconName, size: iconSize, color: iconColor });
148
148
  }
149
149
  render() {
150
- return (h(Host, { key: 'c589b642a730e09b8d5ba60b69b45f131560ffda' }, h("div", { key: '85ee55dc52042e513e070d68af348dc78d1990e2', class: this.getClasses(), style: this.styles, onClick: this.handleClick }, h("div", { key: '59e78d3b717b0bbd77d98da09ab7f1da30d02f14', class: "info" }, h("div", { key: '64d683966633a625e7e477fcf1b00364d5fd3fa7', class: "label-wrapper" }, h("cura-label", { key: '76d34006ffd837285cb899278f759d95862097c5', class: "label", weight: 'bold', size: this.size === 'large' ? 'medium' : 'xsmall', color: this.assignColor('label') }, this.label), this.required && h("cura-paragraph", { key: '01394587736d7402d5c6729e9f7e93f7b08ad742', lineHeight: '0%', marginBlock: '0', color: "error-base" }, "* ")), h("cura-label", { key: 'fcbbea9a05b9299a814111ea36d7412df6f54e92', color: this.assignColor('message'), size: "xsmall", class: "message" }, h("slot", { key: '99c46ed2eb8492cbebb114d828935f1ec0bf7796' }))), h("div", { key: '6291780f613af4e320c486b46697df6f19bdce0e', class: 'checkbox', tabIndex: this.ontabindex }, h("input", { key: 'b922e6498ecfd28391843cdfa45c850f045f3ab6', type: "checkbox", name: this.name, value: this.value, disabled: this.disabled, required: this.required, checked: this.checked, indeterminate: this.indeterminate }), this.getIcon()))));
150
+ return (h(Host, { key: '8c4fdab5276ff9eb200299a5584ac8e96ef11974' }, h("div", { key: '3074370b481f50e7c3b8183e1aa643a37992f05b', class: this.getClasses(), style: this.styles, onClick: this.handleClick }, h("div", { key: 'adb656d2d5dc3212735c427e08c7d03d8c94f83e', class: "info" }, h("div", { key: '55747701dd4ed57a6ed3132d996639219ba950e1', class: "label-wrapper" }, h("cura-label", { key: 'b5224ec0a274789c03f6b8e0a5c5ed7fda911c58', class: "label", weight: 'bold', size: this.size === 'large' ? 'medium' : 'xsmall', color: this.assignColor('label') }, this.label), this.required && h("cura-paragraph", { key: '188a2ed6c915cec53d495edd77ec2dd88fafe714', lineHeight: '0%', marginBlock: '0', color: "error-base" }, "* ")), h("cura-label", { key: '6b63e628f4aeb066dc73feaca720edb12dc207f1', color: this.assignColor('message'), size: "xsmall", class: "message" }, h("slot", { key: '880c28c63878169f84a14c96d12c925edc3611bb' }))), h("div", { key: '01dd5e638a5043c4349193c97dd7acfe57dc4498', class: 'checkbox', tabIndex: this.ontabindex }, h("input", { key: '5ff82da2b58e7bd88f2866a2677151fb49814b3c', type: "checkbox", name: this.name, value: this.value, disabled: this.disabled, required: this.required, checked: this.checked, indeterminate: this.indeterminate }), this.getIcon()))));
151
151
  }
152
152
  static get is() { return "cura-checkbox"; }
153
153
  static get encapsulation() { return "shadow"; }
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * Global Spacing Definitions.
3
- * Required CSS Properties:
4
- * --base-spacing
3
+ * Required CSS Properties from Cura:
4
+ * --cura-spacing-base
5
5
  */
6
6
  /* None: 0px */
7
7
  /* Tiny default: 4px */
@@ -44,7 +44,7 @@
44
44
  display: flex;
45
45
  width: 100%;
46
46
  box-sizing: border-box;
47
- padding: calc(var(--base-spacing) * 2px) calc(var(--base-spacing) * 1px);
47
+ padding: calc(var(--cura-spacing-base) * 2px) calc(var(--cura-spacing-base) * 1px);
48
48
  background-color: var(--neutral-purewhite);
49
49
  border-bottom: 1px solid var(--neutral-light);
50
50
  }
@@ -59,7 +59,7 @@
59
59
  align-items: center;
60
60
  align-content: center;
61
61
  justify-content: center;
62
- gap: calc(var(--base-spacing) * 2px);
62
+ gap: calc(var(--cura-spacing-base) * 2px);
63
63
  flex-direction: row;
64
64
  box-sizing: border-box;
65
65
  cursor: pointer;
@@ -69,7 +69,7 @@
69
69
  margin-block: 0px;
70
70
  }
71
71
  .option-info ::slotted(div[slot=image]) {
72
- min-width: calc(var(--base-spacing) * 8px);
72
+ min-width: calc(var(--cura-spacing-base) * 8px);
73
73
  display: flex;
74
74
  justify-content: center;
75
75
  align-items: center;