@rededor/cura 1.6.1-alpha.0 → 1.6.1-alpha.10

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 (307) hide show
  1. package/dist/cjs/{app-globals-5a7ddb39.js → app-globals-28c6f5c4.js} +2 -2
  2. package/dist/cjs/{app-globals-5a7ddb39.js.map → app-globals-28c6f5c4.js.map} +1 -1
  3. package/dist/cjs/cura-accordion_18.cjs.entry.js +39 -19
  4. package/dist/cjs/cura-accordion_18.cjs.entry.js.map +1 -1
  5. package/dist/cjs/cura-alert.cjs.entry.js +1 -1
  6. package/dist/cjs/cura-alert.cjs.entry.js.map +1 -1
  7. package/dist/cjs/cura-badge-pill.cjs.entry.js +1 -1
  8. package/dist/cjs/cura-badge-pill.cjs.entry.js.map +1 -1
  9. package/dist/cjs/cura-button-outline.cjs.entry.js +1 -1
  10. package/dist/cjs/cura-button-outline.cjs.entry.js.map +1 -1
  11. package/dist/cjs/cura-button-select.cjs.entry.js +1 -1
  12. package/dist/cjs/cura-button-select.cjs.entry.js.map +1 -1
  13. package/dist/cjs/cura-calendar.cjs.entry.js +15 -13
  14. package/dist/cjs/cura-calendar.cjs.entry.js.map +1 -1
  15. package/dist/cjs/cura-checkbox.cjs.entry.js +4 -2
  16. package/dist/cjs/cura-checkbox.cjs.entry.js.map +1 -1
  17. package/dist/cjs/cura-display.cjs.entry.js +1 -1
  18. package/dist/cjs/cura-display.cjs.entry.js.map +1 -1
  19. package/dist/cjs/cura-input-date.cjs.entry.js +1 -1
  20. package/dist/cjs/cura-loader-bar.cjs.entry.js +1 -1
  21. package/dist/cjs/cura-loader-bar.cjs.entry.js.map +1 -1
  22. package/dist/cjs/cura-modal.cjs.entry.js +15 -2
  23. package/dist/cjs/cura-modal.cjs.entry.js.map +1 -1
  24. package/dist/cjs/cura-progress-bar_2.cjs.entry.js +2 -2
  25. package/dist/cjs/cura-radio.cjs.entry.js +19 -17
  26. package/dist/cjs/cura-radio.cjs.entry.js.map +1 -1
  27. package/dist/cjs/cura-stepper.cjs.entry.js +1 -1
  28. package/dist/cjs/cura-switch.cjs.entry.js +4 -2
  29. package/dist/cjs/cura-switch.cjs.entry.js.map +1 -1
  30. package/dist/cjs/{cura-theme-module-a100c643.js → cura-theme-module-f1e4a309.js} +2 -2
  31. package/dist/cjs/{cura-theme-module-a100c643.js.map → cura-theme-module-f1e4a309.js.map} +1 -1
  32. package/dist/cjs/cura-toast.cjs.entry.js +2 -2
  33. package/dist/cjs/cura-toast.cjs.entry.js.map +1 -1
  34. package/dist/cjs/cura-tooltip.cjs.entry.js +1 -1
  35. package/dist/cjs/cura.cjs.js +4 -4
  36. package/dist/cjs/index.cjs.js +2 -2
  37. package/dist/cjs/loader.cjs.js +4 -4
  38. package/dist/cjs/{static-4e83652c.js → static-44199808.js} +16 -2
  39. package/dist/cjs/static-44199808.js.map +1 -0
  40. package/dist/collection/api/theme-presets/static.js +15 -1
  41. package/dist/collection/api/theme-presets/static.js.map +1 -1
  42. package/dist/collection/components/accordion/cura-accordion/cura-accordion.stories.js +3 -2
  43. package/dist/collection/components/accordion/cura-accordion/cura-accordion.stories.js.map +1 -1
  44. package/dist/collection/components/badges/cura-badge-pill/cura-badge-pill.js +3 -3
  45. package/dist/collection/components/badges/cura-badge-pill/cura-badge-pill.js.map +1 -1
  46. package/dist/collection/components/badges/cura-badge-pill/cura-badge-pill.stories.js +2 -1
  47. package/dist/collection/components/badges/cura-badge-pill/cura-badge-pill.stories.js.map +1 -1
  48. package/dist/collection/components/buttons/cura-button/cura-button.js +1 -1
  49. package/dist/collection/components/buttons/cura-button/cura-button.js.map +1 -1
  50. package/dist/collection/components/buttons/cura-button/cura-button.stories.js +2 -1
  51. package/dist/collection/components/buttons/cura-button/cura-button.stories.js.map +1 -1
  52. package/dist/collection/components/buttons/cura-button-outline/cura-button-outline.js +1 -1
  53. package/dist/collection/components/buttons/cura-button-outline/cura-button-outline.js.map +1 -1
  54. package/dist/collection/components/buttons/cura-button-outline/cura-button-outline.stories.js +2 -1
  55. package/dist/collection/components/buttons/cura-button-outline/cura-button-outline.stories.js.map +1 -1
  56. package/dist/collection/components/buttons/cura-button-select/cura-button-select.js +1 -1
  57. package/dist/collection/components/buttons/cura-button-select/cura-button-select.js.map +1 -1
  58. package/dist/collection/components/buttons/cura-button-select/cura-button-select.stories.js +2 -1
  59. package/dist/collection/components/buttons/cura-button-select/cura-button-select.stories.js.map +1 -1
  60. package/dist/collection/components/buttons/cura-button-transparent/cura-button-transparent.js +1 -1
  61. package/dist/collection/components/buttons/cura-button-transparent/cura-button-transparent.js.map +1 -1
  62. package/dist/collection/components/buttons/cura-button-transparent/cura-button-transparent.stories.js +2 -1
  63. package/dist/collection/components/buttons/cura-button-transparent/cura-button-transparent.stories.js.map +1 -1
  64. package/dist/collection/components/cura-alert/cura-alert.js +1 -1
  65. package/dist/collection/components/cura-alert/cura-alert.js.map +1 -1
  66. package/dist/collection/components/cura-avatar/cura-avatar.js +34 -16
  67. package/dist/collection/components/cura-avatar/cura-avatar.js.map +1 -1
  68. package/dist/collection/components/cura-calendar/cura-calendar.js +39 -13
  69. package/dist/collection/components/cura-calendar/cura-calendar.js.map +1 -1
  70. package/dist/collection/components/cura-calendar/cura-calendar.stories.js +19 -6
  71. package/dist/collection/components/cura-calendar/cura-calendar.stories.js.map +1 -1
  72. package/dist/collection/components/cura-card/cura-card.stories.js +56 -25
  73. package/dist/collection/components/cura-card/cura-card.stories.js.map +1 -1
  74. package/dist/collection/components/cura-dropdown-search/cura-dropdown-search.js +7 -2
  75. package/dist/collection/components/cura-dropdown-search/cura-dropdown-search.js.map +1 -1
  76. package/dist/collection/components/cura-icon/cura-icon.js +1 -1
  77. package/dist/collection/components/cura-icon/cura-icon.js.map +1 -1
  78. package/dist/collection/components/cura-modal/cura-modal.css +4 -2
  79. package/dist/collection/components/cura-modal/cura-modal.js +14 -1
  80. package/dist/collection/components/cura-modal/cura-modal.js.map +1 -1
  81. package/dist/collection/components/cura-page-template/cura-page-template.js +1 -1
  82. package/dist/collection/components/cura-stepper/cura-progress-bar/cura-progress-bar.js +1 -1
  83. package/dist/collection/components/cura-stepper/cura-stepper-item/cura-stepper-item.js +1 -1
  84. package/dist/collection/components/cura-stepper/cura-stepper.js +1 -1
  85. package/dist/collection/components/cura-toast/cura-toast.css +1 -1
  86. package/dist/collection/components/cura-toast/cura-toast.js +1 -1
  87. package/dist/collection/components/cura-toast/cura-toast.js.map +1 -1
  88. package/dist/collection/components/cura-tooltip/cura-tooltip.js +1 -1
  89. package/dist/collection/components/forms/cura-checkbox/cura-checkbox.css +17 -1
  90. package/dist/collection/components/forms/cura-checkbox/cura-checkbox.js +45 -1
  91. package/dist/collection/components/forms/cura-checkbox/cura-checkbox.js.map +1 -1
  92. package/dist/collection/components/forms/cura-checkbox/cura-checkbox.stories.js +16 -2
  93. package/dist/collection/components/forms/cura-checkbox/cura-checkbox.stories.js.map +1 -1
  94. package/dist/collection/components/forms/cura-input-date/cura-input-date.js +1 -1
  95. package/dist/collection/components/forms/cura-input-text/cura-input-text.js +1 -1
  96. package/dist/collection/components/forms/cura-input-text/cura-input-text.js.map +1 -1
  97. package/dist/collection/components/forms/cura-label/cura-label.js +1 -1
  98. package/dist/collection/components/forms/cura-radio/cura-radio.css +16 -1
  99. package/dist/collection/components/forms/cura-radio/cura-radio.js +62 -18
  100. package/dist/collection/components/forms/cura-radio/cura-radio.js.map +1 -1
  101. package/dist/collection/components/forms/cura-radio/cura-radio.stories.js +19 -5
  102. package/dist/collection/components/forms/cura-radio/cura-radio.stories.js.map +1 -1
  103. package/dist/collection/components/forms/cura-select/cura-select.css +3 -2
  104. package/dist/collection/components/forms/cura-select/cura-select.js +36 -3
  105. package/dist/collection/components/forms/cura-select/cura-select.js.map +1 -1
  106. package/dist/collection/components/forms/cura-select/cura-select.stories.js +12 -0
  107. package/dist/collection/components/forms/cura-select/cura-select.stories.js.map +1 -1
  108. package/dist/collection/components/forms/cura-select-options/cura-select-option.css +2 -1
  109. package/dist/collection/components/forms/cura-select-options/cura-select-option.js +1 -1
  110. package/dist/collection/components/forms/cura-select-options/cura-select-option.js.map +1 -1
  111. package/dist/collection/components/forms/cura-switch/cura-switch.css +11 -1
  112. package/dist/collection/components/forms/cura-switch/cura-switch.js +45 -1
  113. package/dist/collection/components/forms/cura-switch/cura-switch.js.map +1 -1
  114. package/dist/collection/components/forms/cura-switch/cura-switch.stories.js +16 -2
  115. package/dist/collection/components/forms/cura-switch/cura-switch.stories.js.map +1 -1
  116. package/dist/collection/components/loaders/cura-loader-bar/cura-loader-bar.js +1 -1
  117. package/dist/collection/components/loaders/cura-loader-bar/cura-loader-bar.js.map +1 -1
  118. package/dist/collection/components/loaders/cura-loader-bar/cura-loader-bar.stories.js +1 -1
  119. package/dist/collection/components/loaders/cura-loader-bar/cura-loader-bar.stories.js.map +1 -1
  120. package/dist/collection/components/loaders/cura-loader-circle/cura-loader-circle.js +1 -1
  121. package/dist/collection/components/loaders/cura-loader-circle/cura-loader-circle.js.map +1 -1
  122. package/dist/collection/components/loaders/cura-loader-circle/cura-loader-circle.stories.js +1 -1
  123. package/dist/collection/components/loaders/cura-loader-circle/cura-loader-circle.stories.js.map +1 -1
  124. package/dist/collection/components/text/cura-display/cura-display.js +1 -1
  125. package/dist/collection/components/text/cura-display/cura-display.js.map +1 -1
  126. package/dist/collection/components/text/cura-heading/cura-heading.js +1 -1
  127. package/dist/collection/components/text/cura-heading/cura-heading.js.map +1 -1
  128. package/dist/collection/components/text/cura-paragraph/cura-paragraph.js +1 -1
  129. package/dist/collection/stories/blocks/index.js +9 -0
  130. package/dist/collection/utils/utils.js +2 -2
  131. package/dist/collection/utils/utils.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-avatar.js +1 -1
  135. package/dist/components/cura-avatar.js.map +1 -1
  136. package/dist/components/cura-badge-pill2.js +1 -1
  137. package/dist/components/cura-badge-pill2.js.map +1 -1
  138. package/dist/components/cura-button-outline.js +1 -1
  139. package/dist/components/cura-button-outline.js.map +1 -1
  140. package/dist/components/cura-button-select.js +1 -1
  141. package/dist/components/cura-button-select.js.map +1 -1
  142. package/dist/components/cura-button-transparent2.js +1 -1
  143. package/dist/components/cura-button-transparent2.js.map +1 -1
  144. package/dist/components/cura-button.js +1 -1
  145. package/dist/components/cura-button.js.map +1 -1
  146. package/dist/components/cura-calendar2.js +16 -13
  147. package/dist/components/cura-calendar2.js.map +1 -1
  148. package/dist/components/cura-checkbox.js +6 -2
  149. package/dist/components/cura-checkbox.js.map +1 -1
  150. package/dist/components/cura-display.js +1 -1
  151. package/dist/components/cura-display.js.map +1 -1
  152. package/dist/components/cura-dropdown-search.js +7 -2
  153. package/dist/components/cura-dropdown-search.js.map +1 -1
  154. package/dist/components/cura-heading2.js +1 -1
  155. package/dist/components/cura-heading2.js.map +1 -1
  156. package/dist/components/cura-icon2.js +1 -1
  157. package/dist/components/cura-icon2.js.map +1 -1
  158. package/dist/components/cura-input-date.js +1 -1
  159. package/dist/components/cura-input-text2.js +16 -2
  160. package/dist/components/cura-input-text2.js.map +1 -1
  161. package/dist/components/cura-label2.js +1 -1
  162. package/dist/components/cura-loader-bar2.js +1 -1
  163. package/dist/components/cura-loader-bar2.js.map +1 -1
  164. package/dist/components/cura-loader-circle2.js +1 -1
  165. package/dist/components/cura-loader-circle2.js.map +1 -1
  166. package/dist/components/cura-modal.js +31 -6
  167. package/dist/components/cura-modal.js.map +1 -1
  168. package/dist/components/cura-page-template.js +1 -1
  169. package/dist/components/cura-paragraph2.js +1 -1
  170. package/dist/components/cura-progress-bar2.js +1 -1
  171. package/dist/components/cura-radio.js +21 -17
  172. package/dist/components/cura-radio.js.map +1 -1
  173. package/dist/components/cura-select-option2.js +2 -2
  174. package/dist/components/cura-select-option2.js.map +1 -1
  175. package/dist/components/cura-select2.js +20 -4
  176. package/dist/components/cura-select2.js.map +1 -1
  177. package/dist/components/cura-stepper-item2.js +1 -1
  178. package/dist/components/cura-stepper.js +1 -1
  179. package/dist/components/cura-switch.js +6 -2
  180. package/dist/components/cura-switch.js.map +1 -1
  181. package/dist/components/cura-toast.js +2 -2
  182. package/dist/components/cura-toast.js.map +1 -1
  183. package/dist/components/cura-tooltip.js +1 -1
  184. package/dist/cura/cura.esm.js +1 -1
  185. package/dist/cura/cura.esm.js.map +1 -1
  186. package/dist/cura/index.esm.js +1 -1
  187. package/dist/cura/{p-3519d0ba.entry.js → p-0aeaf57a.entry.js} +2 -2
  188. package/dist/cura/p-0aeaf57a.entry.js.map +1 -0
  189. package/dist/cura/{p-25932952.entry.js → p-0b872499.entry.js} +2 -2
  190. package/dist/cura/{p-daf9feac.js → p-0c25333f.js} +2 -2
  191. package/dist/cura/p-0ccde0ff.entry.js +2 -0
  192. package/dist/cura/p-0ccde0ff.entry.js.map +1 -0
  193. package/dist/cura/{p-2090e71a.entry.js → p-12a4ae7e.entry.js} +2 -2
  194. package/dist/cura/p-12a4ae7e.entry.js.map +1 -0
  195. package/dist/cura/{p-777decf9.entry.js → p-137f003b.entry.js} +2 -2
  196. package/dist/cura/{p-3c305dbd.entry.js → p-202dc01a.entry.js} +2 -2
  197. package/dist/cura/p-20b05d8f.entry.js +2 -0
  198. package/dist/cura/p-20b05d8f.entry.js.map +1 -0
  199. package/dist/cura/p-2db4deb3.js +2 -0
  200. package/dist/cura/p-2db4deb3.js.map +1 -0
  201. package/dist/cura/p-5a43e745.entry.js +2 -0
  202. package/dist/cura/p-5a43e745.entry.js.map +1 -0
  203. package/dist/cura/{p-fc1fd622.entry.js → p-633c13cd.entry.js} +2 -2
  204. package/dist/cura/p-633c13cd.entry.js.map +1 -0
  205. package/dist/cura/p-7a68835f.entry.js +2 -0
  206. package/dist/cura/p-7a68835f.entry.js.map +1 -0
  207. package/dist/cura/{p-e1916252.entry.js → p-7e10b146.entry.js} +2 -2
  208. package/dist/cura/p-7e10b146.entry.js.map +1 -0
  209. package/dist/cura/p-9fce5ec5.entry.js +2 -0
  210. package/dist/cura/p-9fce5ec5.entry.js.map +1 -0
  211. package/dist/cura/{p-a1782f0e.entry.js → p-ac01bec2.entry.js} +2 -2
  212. package/dist/cura/p-ac01bec2.entry.js.map +1 -0
  213. package/dist/cura/{p-6f7f157e.entry.js → p-b60a6aaa.entry.js} +2 -2
  214. package/dist/cura/p-b60a6aaa.entry.js.map +1 -0
  215. package/dist/cura/{p-ec4996c2.js → p-bf8e2037.js} +2 -2
  216. package/dist/cura/p-d8e1e182.entry.js +2 -0
  217. package/dist/cura/p-d8e1e182.entry.js.map +1 -0
  218. package/dist/cura/p-d936d5cf.entry.js +2 -0
  219. package/dist/cura/p-d936d5cf.entry.js.map +1 -0
  220. package/dist/cura/{p-d7f46266.entry.js → p-d97719bc.entry.js} +2 -2
  221. package/dist/esm/{app-globals-83a601d0.js → app-globals-ca1945d1.js} +2 -2
  222. package/dist/esm/{app-globals-83a601d0.js.map → app-globals-ca1945d1.js.map} +1 -1
  223. package/dist/esm/cura-accordion_18.entry.js +39 -19
  224. package/dist/esm/cura-accordion_18.entry.js.map +1 -1
  225. package/dist/esm/cura-alert.entry.js +1 -1
  226. package/dist/esm/cura-alert.entry.js.map +1 -1
  227. package/dist/esm/cura-badge-pill.entry.js +1 -1
  228. package/dist/esm/cura-badge-pill.entry.js.map +1 -1
  229. package/dist/esm/cura-button-outline.entry.js +1 -1
  230. package/dist/esm/cura-button-outline.entry.js.map +1 -1
  231. package/dist/esm/cura-button-select.entry.js +1 -1
  232. package/dist/esm/cura-button-select.entry.js.map +1 -1
  233. package/dist/esm/cura-calendar.entry.js +15 -13
  234. package/dist/esm/cura-calendar.entry.js.map +1 -1
  235. package/dist/esm/cura-checkbox.entry.js +4 -2
  236. package/dist/esm/cura-checkbox.entry.js.map +1 -1
  237. package/dist/esm/cura-display.entry.js +1 -1
  238. package/dist/esm/cura-display.entry.js.map +1 -1
  239. package/dist/esm/cura-input-date.entry.js +1 -1
  240. package/dist/esm/cura-loader-bar.entry.js +1 -1
  241. package/dist/esm/cura-loader-bar.entry.js.map +1 -1
  242. package/dist/esm/cura-modal.entry.js +15 -2
  243. package/dist/esm/cura-modal.entry.js.map +1 -1
  244. package/dist/esm/cura-progress-bar_2.entry.js +2 -2
  245. package/dist/esm/cura-radio.entry.js +19 -17
  246. package/dist/esm/cura-radio.entry.js.map +1 -1
  247. package/dist/esm/cura-stepper.entry.js +1 -1
  248. package/dist/esm/cura-switch.entry.js +4 -2
  249. package/dist/esm/cura-switch.entry.js.map +1 -1
  250. package/dist/esm/{cura-theme-module-59e8e460.js → cura-theme-module-0fa5ee0b.js} +2 -2
  251. package/dist/esm/{cura-theme-module-59e8e460.js.map → cura-theme-module-0fa5ee0b.js.map} +1 -1
  252. package/dist/esm/cura-toast.entry.js +2 -2
  253. package/dist/esm/cura-toast.entry.js.map +1 -1
  254. package/dist/esm/cura-tooltip.entry.js +1 -1
  255. package/dist/esm/cura.js +4 -4
  256. package/dist/esm/index.js +2 -2
  257. package/dist/esm/loader.js +4 -4
  258. package/dist/esm/{static-061aa850.js → static-090f0088.js} +16 -2
  259. package/dist/esm/static-090f0088.js.map +1 -0
  260. package/dist/types/api/theme-presets/static.d.ts +7 -0
  261. package/dist/types/components/badges/cura-badge-pill/cura-badge-pill.d.ts +1 -1
  262. package/dist/types/components/cura-avatar/cura-avatar.d.ts +37 -0
  263. package/dist/types/components/cura-calendar/cura-calendar.d.ts +7 -0
  264. package/dist/types/components/cura-calendar/cura-calendar.stories.d.ts +11 -3
  265. package/dist/types/components/cura-card/cura-card.stories.d.ts +7 -98
  266. package/dist/types/components/cura-dropdown-search/cura-dropdown-search.d.ts +1 -0
  267. package/dist/types/components/cura-modal/cura-modal.d.ts +3 -0
  268. package/dist/types/components/forms/cura-checkbox/cura-checkbox.d.ts +18 -0
  269. package/dist/types/components/forms/cura-checkbox/cura-checkbox.stories.d.ts +15 -0
  270. package/dist/types/components/forms/cura-radio/cura-radio.d.ts +30 -12
  271. package/dist/types/components/forms/cura-radio/cura-radio.stories.d.ts +15 -0
  272. package/dist/types/components/forms/cura-select/cura-select.d.ts +9 -0
  273. package/dist/types/components/forms/cura-select/cura-select.stories.d.ts +11 -0
  274. package/dist/types/components/forms/cura-switch/cura-switch.d.ts +18 -0
  275. package/dist/types/components/forms/cura-switch/cura-switch.stories.d.ts +15 -0
  276. package/dist/types/components.d.ts +152 -6
  277. package/package.json +15 -11
  278. package/dist/cjs/static-4e83652c.js.map +0 -1
  279. package/dist/cura/p-1016108a.entry.js +0 -2
  280. package/dist/cura/p-1016108a.entry.js.map +0 -1
  281. package/dist/cura/p-174d220e.entry.js +0 -2
  282. package/dist/cura/p-174d220e.entry.js.map +0 -1
  283. package/dist/cura/p-186392b7.entry.js +0 -2
  284. package/dist/cura/p-186392b7.entry.js.map +0 -1
  285. package/dist/cura/p-1b201271.js +0 -2
  286. package/dist/cura/p-1b201271.js.map +0 -1
  287. package/dist/cura/p-2090e71a.entry.js.map +0 -1
  288. package/dist/cura/p-3519d0ba.entry.js.map +0 -1
  289. package/dist/cura/p-38777561.entry.js +0 -2
  290. package/dist/cura/p-38777561.entry.js.map +0 -1
  291. package/dist/cura/p-405a50de.entry.js +0 -2
  292. package/dist/cura/p-405a50de.entry.js.map +0 -1
  293. package/dist/cura/p-5b928e46.entry.js +0 -2
  294. package/dist/cura/p-5b928e46.entry.js.map +0 -1
  295. package/dist/cura/p-6f7f157e.entry.js.map +0 -1
  296. package/dist/cura/p-a1782f0e.entry.js.map +0 -1
  297. package/dist/cura/p-d77df3f0.entry.js +0 -2
  298. package/dist/cura/p-d77df3f0.entry.js.map +0 -1
  299. package/dist/cura/p-e1916252.entry.js.map +0 -1
  300. package/dist/cura/p-fc1fd622.entry.js.map +0 -1
  301. package/dist/esm/static-061aa850.js.map +0 -1
  302. /package/dist/cura/{p-25932952.entry.js.map → p-0b872499.entry.js.map} +0 -0
  303. /package/dist/cura/{p-daf9feac.js.map → p-0c25333f.js.map} +0 -0
  304. /package/dist/cura/{p-777decf9.entry.js.map → p-137f003b.entry.js.map} +0 -0
  305. /package/dist/cura/{p-3c305dbd.entry.js.map → p-202dc01a.entry.js.map} +0 -0
  306. /package/dist/cura/{p-ec4996c2.js.map → p-bf8e2037.js.map} +0 -0
  307. /package/dist/cura/{p-d7f46266.entry.js.map → p-d97719bc.entry.js.map} +0 -0
@@ -18,10 +18,17 @@ const Static = {
18
18
  '700': '66,100,153',
19
19
  '900': '37,56,85',
20
20
  },
21
+ /* error: {
22
+ '100': '251,221,221',
23
+ '300': '242,143,143',
24
+ '500': '235,87,87',
25
+ '700': '157,58,58',
26
+ '900': '47,17,17',
27
+ }, */
21
28
  error: {
22
29
  '100': '251,221,221',
23
30
  '300': '242,143,143',
24
- '500': '235,87,87',
31
+ '500': '206,42,42',
25
32
  '700': '157,58,58',
26
33
  '900': '47,17,17',
27
34
  },
@@ -32,6 +39,13 @@ const Static = {
32
39
  '700': '108,106,32',
33
40
  '900': '49,48,16',
34
41
  },
42
+ whatsapp: {
43
+ '100': '182,240,204',
44
+ '300': '110,226,153',
45
+ '500': '37,211,102',
46
+ '700': '25,141,68',
47
+ '900': '7,42,20',
48
+ },
35
49
  neutral: {
36
50
  '0': '255,255,255',
37
51
  '100': '246,246,246',
@@ -71,4 +85,4 @@ const Static = {
71
85
 
72
86
  export { Static as S };
73
87
 
74
- //# sourceMappingURL=static-061aa850.js.map
88
+ //# sourceMappingURL=static-090f0088.js.map
@@ -0,0 +1 @@
1
+ {"file":"static-090f0088.js","mappings":"AAAA;;;MAGa,MAAM,GAAG;;IAEpB,KAAK,EAAE;QACL,OAAO,EAAE;YACP,KAAK,EAAE,aAAa;YACpB,KAAK,EAAE,aAAa;YACpB,KAAK,EAAE,YAAY;YACnB,KAAK,EAAE,WAAW;YAClB,KAAK,EAAE,UAAU;SAClB;QACD,IAAI,EAAE;YACJ,KAAK,EAAE,aAAa;YACpB,KAAK,EAAE,aAAa;YACpB,KAAK,EAAE,aAAa;YACpB,KAAK,EAAE,YAAY;YACnB,KAAK,EAAE,UAAU;SAClB;;;;;;;;QAQD,KAAK,EAAE;YACL,KAAK,EAAE,aAAa;YACpB,KAAK,EAAE,aAAa;YACpB,KAAK,EAAE,WAAW;YAClB,KAAK,EAAE,WAAW;YAClB,KAAK,EAAE,UAAU;SAClB;QACD,OAAO,EAAE;YACP,KAAK,EAAE,aAAa;YACpB,KAAK,EAAE,aAAa;YACpB,KAAK,EAAE,YAAY;YACnB,KAAK,EAAE,YAAY;YACnB,KAAK,EAAE,UAAU;SAClB;QACD,QAAQ,EAAE;YACR,KAAK,EAAE,aAAa;YACpB,KAAK,EAAE,aAAa;YACpB,KAAK,EAAE,YAAY;YACnB,KAAK,EAAE,WAAW;YAClB,KAAK,EAAE,SAAS;SACjB;QACD,OAAO,EAAE;YACP,GAAG,EAAE,aAAa;YAClB,KAAK,EAAE,aAAa;YACpB,KAAK,EAAE,aAAa;YACpB,KAAK,EAAE,aAAa;YACpB,KAAK,EAAE,aAAa;YACpB,KAAK,EAAE,aAAa;YACpB,KAAK,EAAE,aAAa;YACpB,KAAK,EAAE,aAAa;YACpB,KAAK,EAAE,UAAU;YACjB,KAAK,EAAE,UAAU;SAClB;KACF;IACD,WAAW,EAAE;QACX,MAAM,EAAE;YACN,GAAG,EAAE,CAAC;YACN,GAAG,EAAE,GAAG;SACT;QACD,KAAK,EAAE;YACL,GAAG,EAAE,GAAG;YACR,GAAG,EAAE,GAAG;SACT;QACD,MAAM,EAAE;YACN,GAAG,EAAE,GAAG;YACR,GAAG,EAAE,GAAG;SACT;QACD,KAAK,EAAE;YACL,GAAG,EAAE,GAAG;YACR,GAAG,EAAE,IAAI;SACV;QACD,MAAM,EAAE;YACN,GAAG,EAAE,IAAI;YACT,GAAG,EAAE,IAAI;SACV;KACF;;;;;","names":[],"sources":["src/api/theme-presets/static.ts"],"sourcesContent":["/**\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 error: {\n '100': '251,221,221',\n '300': '242,143,143',\n '500': '206,42,42',\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 whatsapp: {\n '100': '182,240,204',\n '300': '110,226,153',\n '500': '37,211,102',\n '700': '25,141,68',\n '900': '7,42,20',\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"],"version":3}
@@ -31,6 +31,13 @@ export declare const Static: {
31
31
  '700': string;
32
32
  '900': string;
33
33
  };
34
+ whatsapp: {
35
+ '100': string;
36
+ '300': string;
37
+ '500': string;
38
+ '700': string;
39
+ '900': string;
40
+ };
34
41
  neutral: {
35
42
  '0': string;
36
43
  '100': string;
@@ -7,7 +7,7 @@ export declare class CuraBadgePill {
7
7
  /**
8
8
  * Color base from color scheme. Default: primary
9
9
  */
10
- color: 'primary' | 'secondary' | 'accent' | 'neutral' | 'info' | 'success' | 'warning' | 'error';
10
+ color: 'primary' | 'secondary' | 'accent' | 'neutral' | 'info' | 'success' | 'warning' | 'error' | 'whatsapp';
11
11
  /**
12
12
  * Name of the icon to be used from iconset
13
13
  */
@@ -1,13 +1,50 @@
1
1
  export declare class CuraAvatar {
2
2
  host: HTMLElement;
3
+ /**
4
+ * Size of the avatar. Values: 80, 40, 32, 24.
5
+ * @default 80
6
+ */
3
7
  size: '80' | '40' | '32' | '24';
8
+ /**
9
+ * Background color of the avatar.
10
+ * Accepts any color from the theme.
11
+ * @default neutral-purewhite
12
+ */
4
13
  backgroundColor: string;
14
+ /**
15
+ * Border color of the avatar.
16
+ * Accepts any color from the theme.
17
+ */
5
18
  borderColor: string;
19
+ /**
20
+ * Border radius of the avatar.
21
+ * @default 50%
22
+ */
6
23
  borderRadius: string;
24
+ /**
25
+ * Show border of the avatar.
26
+ * @default false
27
+ */
7
28
  border: boolean;
29
+ /**
30
+ * Type of the avatar.
31
+ * @default default
32
+ */
8
33
  type: 'default' | 'branding';
34
+ /**
35
+ * Image source of the avatar.
36
+ * Accepts any image source. If not provided, the default image will be used.
37
+ */
9
38
  imageSrc: string;
39
+ /**
40
+ * Default image source of the avatar.
41
+ * Some predefined images are available in the design system assets folder.
42
+ */
10
43
  imageSrcDefault: string;
44
+ /**
45
+ * Floating state of the avatar.
46
+ * @default false
47
+ */
11
48
  floating: boolean;
12
49
  styles: {};
13
50
  sizeHandler(size: string): void;
@@ -84,6 +84,13 @@ export declare class CuraCalendar {
84
84
  * defaultDate = '["2024-08-01", "2024-08-30"]'
85
85
  */
86
86
  defaultDate: string[] | string;
87
+ /**
88
+ * Hide today mark.
89
+ *
90
+ * @type {boolean}
91
+ * @default true
92
+ */
93
+ showToday: boolean;
87
94
  /**
88
95
  * Array of dates chosen by the user, can be updated dynamically.
89
96
  *
@@ -1,9 +1,6 @@
1
1
  declare const _default: {
2
2
  title: string;
3
3
  tags: string[];
4
- parameters: {
5
- layout: string;
6
- };
7
4
  render: (args: any) => string;
8
5
  argTypes: {
9
6
  period: {
@@ -129,6 +126,16 @@ declare const _default: {
129
126
  };
130
127
  };
131
128
  };
129
+ showToday: {
130
+ control: string;
131
+ description: string;
132
+ table: {
133
+ category: string;
134
+ defaultValue: {
135
+ summary: boolean;
136
+ };
137
+ };
138
+ };
132
139
  disablePassDates: {
133
140
  control: string;
134
141
  description: string;
@@ -203,6 +210,7 @@ export declare const Calendar: {
203
210
  minWidth: string;
204
211
  mode: string;
205
212
  type: string;
213
+ showToday: boolean;
206
214
  locale: string;
207
215
  dateFormat: string;
208
216
  defaultDate: string[];
@@ -1,98 +1,7 @@
1
- declare const _default: {
2
- title: string;
3
- tags: string[];
4
- render: ({ slot, ...args }: {
5
- [x: string]: any;
6
- slot: any;
7
- }) => string;
8
- argTypes: {
9
- hasPadding: {
10
- name: string;
11
- control: string;
12
- description: string;
13
- table: {
14
- category: string;
15
- defaultValue: {
16
- summary: string;
17
- };
18
- };
19
- };
20
- hasShadow: {
21
- name: string;
22
- control: string;
23
- description: string;
24
- table: {
25
- category: string;
26
- defaultValue: {
27
- summary: string;
28
- };
29
- };
30
- };
31
- type: {
32
- control: {
33
- type: string;
34
- };
35
- options: string[];
36
- description: string;
37
- table: {
38
- category: string;
39
- defaultValue: {
40
- summary: string;
41
- };
42
- };
43
- };
44
- href: {
45
- control: string;
46
- description: string;
47
- name: string;
48
- table: {
49
- category: string;
50
- };
51
- };
52
- target: {
53
- control: string;
54
- description: string;
55
- name: string;
56
- table: {
57
- category: string;
58
- defaultValue: {
59
- summary: string;
60
- };
61
- };
62
- };
63
- colorMode: {
64
- control: {
65
- type: string;
66
- };
67
- options: string[];
68
- description: string;
69
- table: {
70
- category: string;
71
- defaultValue: {
72
- summary: string;
73
- };
74
- };
75
- name: string;
76
- };
77
- slot: {
78
- name: string;
79
- control: string;
80
- description: string;
81
- table: {
82
- category: string;
83
- };
84
- };
85
- };
86
- };
87
- export default _default;
88
- export declare const CuraCard: {
89
- args: {
90
- hasPadding: boolean;
91
- hasShadow: boolean;
92
- type: string;
93
- colorMode: string;
94
- target: string;
95
- href: string;
96
- slot: string;
97
- };
98
- };
1
+ import type { Meta, StoryObj } from '@storybook/html';
2
+ declare const meta: Meta;
3
+ export default meta;
4
+ type Story = StoryObj;
5
+ export declare const Default: Story;
6
+ export declare const WithLink: Story;
7
+ export declare const Transparent: Story;
@@ -91,6 +91,7 @@ export declare class CuraDropdownSearch {
91
91
  connectedCallback(): void;
92
92
  componentDidLoad(): void;
93
93
  disconnectedCallback(): void;
94
+ removeAllListeners(): void;
94
95
  handleSlotChange: () => void;
95
96
  handleWindowResize: () => void;
96
97
  handleFocus: () => void;
@@ -51,7 +51,10 @@ export declare class CuraModal {
51
51
  setBottom(): void;
52
52
  setLeft(): void;
53
53
  setRight(): void;
54
+ handleCloseOnEsc: (evt: KeyboardEvent) => void;
54
55
  connectedCallback(): void;
55
56
  private handleClose;
57
+ disconnectedCallback(): void;
58
+ componentDidLoad(): void;
56
59
  render(): any;
57
60
  }
@@ -63,6 +63,24 @@ export declare class CuraCheckbox {
63
63
  * Color theme of the checkbox.
64
64
  */
65
65
  color: string;
66
+ /**
67
+ * Controls how the label text should handle overflow.
68
+ * - `'none'`: No overflow handling; the label displays normally.
69
+ * - `'single'`: The label will be truncated with an ellipsis if it overflows a single line.
70
+ * - `string`: Custom overflow handling mode.
71
+ *
72
+ * @default 'none'
73
+ */
74
+ overflowLabel: 'none' | 'single' | string;
75
+ /**
76
+ * Controls how the helper text should handle overflow.
77
+ * - `'none'`: No overflow handling; the label displays normally.
78
+ * - `'single'`: The label will be truncated with an ellipsis if it overflows a single line.
79
+ * - `string`: Custom overflow handling mode.
80
+ *
81
+ * @default 'none'
82
+ */
83
+ overflowHelper: 'none' | 'single' | string;
66
84
  styles: {};
67
85
  host: HTMLElement;
68
86
  onchange: EventEmitter<{
@@ -175,6 +175,20 @@ declare const _default: {
175
175
  };
176
176
  };
177
177
  };
178
+ textOverflow: {
179
+ control: {
180
+ type: string;
181
+ };
182
+ options: string[];
183
+ description: string;
184
+ name: string;
185
+ table: {
186
+ category: string;
187
+ defaultValue: {
188
+ summary: string;
189
+ };
190
+ };
191
+ };
178
192
  };
179
193
  };
180
194
  export default _default;
@@ -195,5 +209,6 @@ export declare const Checkbox: {
195
209
  required: boolean;
196
210
  indeterminate: boolean;
197
211
  disabled: boolean;
212
+ textOverflow: string;
198
213
  };
199
214
  };
@@ -8,15 +8,15 @@ export declare class CuraRadio {
8
8
  /**
9
9
  * Status of the radio button.
10
10
  * Can be 'error', 'success', or 'default'.
11
- */
11
+ */
12
12
  status: 'error' | 'success' | 'default';
13
13
  /**
14
14
  * Reflects the disabled state of the radio button.
15
15
  */
16
16
  disabled: boolean;
17
17
  /**
18
- * Reflects the required state of the radio button.
19
- */
18
+ * Reflects the required state of the radio button.
19
+ */
20
20
  required: boolean;
21
21
  /**
22
22
  * Text label associated with the radio button.
@@ -30,7 +30,7 @@ export declare class CuraRadio {
30
30
  * Position of the label relative to the radio button.
31
31
  * Can be 'left' or 'right'.
32
32
  */
33
- position: "left" | "right";
33
+ position: 'left' | 'right';
34
34
  /**
35
35
  * Value associated with the radio button.
36
36
  */
@@ -53,6 +53,24 @@ export declare class CuraRadio {
53
53
  * Color theme of the radio button.
54
54
  */
55
55
  color: string;
56
+ /**
57
+ * Controls how the label text should handle overflow.
58
+ * - `'none'`: No overflow handling; the label displays normally.
59
+ * - `'single'`: The label will be truncated with an ellipsis if it overflows a single line.
60
+ * - `string`: Custom overflow handling mode.
61
+ *
62
+ * @default 'none'
63
+ */
64
+ overflowLabel: 'none' | 'single' | string;
65
+ /**
66
+ * Controls how the helper text should handle overflow.
67
+ * - `'none'`: No overflow handling; the label displays normally.
68
+ * - `'single'`: The label will be truncated with an ellipsis if it overflows a single line.
69
+ * - `string`: Custom overflow handling mode.
70
+ *
71
+ * @default 'none'
72
+ */
73
+ overflowHelper: 'none' | 'single' | string;
56
74
  styles: {};
57
75
  host: HTMLElement;
58
76
  onchange: EventEmitter<{
@@ -75,25 +93,25 @@ export declare class CuraRadio {
75
93
  sizeHandler(): void;
76
94
  setColors(): void;
77
95
  /**
78
- * Callback for form association.
79
- */
96
+ * Callback for form association.
97
+ */
80
98
  formAssociatedCallback(form: {
81
99
  ariaLabel: string;
82
100
  }): void;
83
101
  /**
84
- * Callback to restore the switch state from the form.
85
- */
102
+ * Callback to restore the switch state from the form.
103
+ */
86
104
  formStateRestoreCallback(state: {
87
105
  value: string;
88
106
  checked: boolean;
89
107
  }): void;
90
108
  /**
91
- * Callback to reset the switch state when the form is reset.
92
- */
109
+ * Callback to reset the switch state when the form is reset.
110
+ */
93
111
  formResetCallback(): void;
94
112
  /**
95
- * Callback to update the switch's disabled state when the form's disabled state changes.
96
- */
113
+ * Callback to update the switch's disabled state when the form's disabled state changes.
114
+ */
97
115
  formDisabledCallback(disabled: boolean): void;
98
116
  connectedCallback(): void;
99
117
  handleClick: () => void;
@@ -158,6 +158,20 @@ declare const _default: {
158
158
  };
159
159
  };
160
160
  };
161
+ textOverflow: {
162
+ control: {
163
+ type: string;
164
+ };
165
+ options: string[];
166
+ description: string;
167
+ name: string;
168
+ table: {
169
+ category: string;
170
+ defaultValue: {
171
+ summary: string;
172
+ };
173
+ };
174
+ };
161
175
  };
162
176
  };
163
177
  export default _default;
@@ -176,5 +190,6 @@ export declare const CuraRadioStory: {
176
190
  value: string;
177
191
  name: string;
178
192
  ontabindex: number;
193
+ textOverflow: string;
179
194
  };
180
195
  };
@@ -51,6 +51,12 @@ export declare class CuraSelect {
51
51
  * Default: true
52
52
  */
53
53
  caseSensitive: boolean;
54
+ /**
55
+ * CSS max-height property for dropdown item.
56
+ * Can also be used by css property --max-height.
57
+ * Default: 285px
58
+ */
59
+ maxHeight: string;
54
60
  /**
55
61
  * Internal state: Whether the input is hovered.
56
62
  * Default: false
@@ -185,5 +191,8 @@ export declare class CuraSelect {
185
191
  */
186
192
  renderIcon(): any;
187
193
  handleClick: (event: MouseEvent) => void;
194
+ handleClickOutside: (event: MouseEvent) => void;
195
+ private addOutsideClickListener;
196
+ private removeOutsideClickListener;
188
197
  render(): any;
189
198
  }
@@ -167,6 +167,16 @@ declare const _default: {
167
167
  };
168
168
  };
169
169
  };
170
+ maxHeight: {
171
+ control: string;
172
+ description: string;
173
+ table: {
174
+ category: string;
175
+ defaultValue: {
176
+ summary: string;
177
+ };
178
+ };
179
+ };
170
180
  };
171
181
  };
172
182
  export default _default;
@@ -188,5 +198,6 @@ export declare const CuraSelect: {
188
198
  searchBehavior: boolean;
189
199
  helperText: string;
190
200
  caseSensitive: boolean;
201
+ maxHeight: string;
191
202
  };
192
203
  };
@@ -36,6 +36,24 @@ export declare class CuraSwitch {
36
36
  * Accent color of the switch.
37
37
  */
38
38
  color: string;
39
+ /**
40
+ * Controls how the label text should handle overflow.
41
+ * - `'none'`: No overflow handling; the label displays normally.
42
+ * - `'single'`: The label will be truncated with an ellipsis if it overflows a single line.
43
+ * - `string`: Custom overflow handling mode.
44
+ *
45
+ * @default 'none'
46
+ */
47
+ overflowLabel: 'none' | 'single' | string;
48
+ /**
49
+ * Controls how the helper text should handle overflow.
50
+ * - `'none'`: No overflow handling; the label displays normally.
51
+ * - `'single'`: The label will be truncated with an ellipsis if it overflows a single line.
52
+ * - `string`: Custom overflow handling mode.
53
+ *
54
+ * @default 'none'
55
+ */
56
+ overflowHelper: 'none' | 'single' | string;
39
57
  styles: {};
40
58
  onchange: EventEmitter<{
41
59
  checked: boolean;
@@ -117,6 +117,20 @@ declare const _default: {
117
117
  };
118
118
  };
119
119
  };
120
+ textOverflow: {
121
+ control: {
122
+ type: string;
123
+ };
124
+ options: string[];
125
+ description: string;
126
+ name: string;
127
+ table: {
128
+ category: string;
129
+ defaultValue: {
130
+ summary: string;
131
+ };
132
+ };
133
+ };
120
134
  };
121
135
  };
122
136
  export default _default;
@@ -131,5 +145,6 @@ export declare const CuraSwitchStory: {
131
145
  position: string;
132
146
  background: string;
133
147
  ontabindex: number;
148
+ textOverflow: string;
134
149
  };
135
150
  };