@rededor/cura 0.5.5 → 1.0.0-alpha.1

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 (647) hide show
  1. package/dist/assets/assets/icons/iconset-default-list.ts +1 -0
  2. package/dist/assets/{icons → assets/icons}/iconset-default-tmp.svg +8 -0
  3. package/dist/assets/assets/icons/iconset-default.svg +1 -0
  4. package/dist/assets/assets/images/avatar/doctor-default.svg +8 -0
  5. package/dist/assets/assets/images/avatar/dora-default.svg +5 -0
  6. package/dist/assets/assets/images/avatar/patient-default.svg +12 -0
  7. package/dist/assets/assets/images/avatar/unit-default.svg +9 -0
  8. package/dist/assets/assets/images/logoCura.svg +15 -0
  9. package/dist/cjs/app-globals-bcffd819.js +511 -0
  10. package/dist/cjs/app-globals-bcffd819.js.map +1 -0
  11. package/dist/cjs/cura-accordion_9.cjs.entry.js +544 -0
  12. package/dist/cjs/cura-accordion_9.cjs.entry.js.map +1 -0
  13. package/dist/cjs/cura-alert.cjs.entry.js +57 -55
  14. package/dist/cjs/cura-alert.cjs.entry.js.map +1 -1
  15. package/dist/cjs/cura-avatar.cjs.entry.js +68 -0
  16. package/dist/cjs/cura-avatar.cjs.entry.js.map +1 -0
  17. package/dist/cjs/cura-button-outline.cjs.entry.js +102 -71
  18. package/dist/cjs/cura-button-outline.cjs.entry.js.map +1 -1
  19. package/dist/cjs/cura-button-select.cjs.entry.js +91 -85
  20. package/dist/cjs/cura-button-select.cjs.entry.js.map +1 -1
  21. package/dist/cjs/cura-button-transparent_2.cjs.entry.js +4055 -0
  22. package/dist/cjs/cura-button-transparent_2.cjs.entry.js.map +1 -0
  23. package/dist/cjs/cura-calendar.cjs.entry.js +3913 -0
  24. package/dist/cjs/cura-calendar.cjs.entry.js.map +1 -0
  25. package/dist/cjs/cura-card.cjs.entry.js +53 -0
  26. package/dist/cjs/cura-card.cjs.entry.js.map +1 -0
  27. package/dist/cjs/cura-checkbox.cjs.entry.js +168 -131
  28. package/dist/cjs/cura-checkbox.cjs.entry.js.map +1 -1
  29. package/dist/cjs/cura-display.cjs.entry.js +63 -62
  30. package/dist/cjs/cura-display.cjs.entry.js.map +1 -1
  31. package/dist/cjs/cura-dropdown-search-option-title.cjs.entry.js +22 -0
  32. package/dist/cjs/cura-dropdown-search-option-title.cjs.entry.js.map +1 -0
  33. package/dist/cjs/cura-dropdown-search-option.cjs.entry.js +55 -0
  34. package/dist/cjs/cura-dropdown-search-option.cjs.entry.js.map +1 -0
  35. package/dist/cjs/cura-dropdown-search.cjs.entry.js +217 -0
  36. package/dist/cjs/cura-dropdown-search.cjs.entry.js.map +1 -0
  37. package/dist/cjs/cura-forms.definitions-c164f1b8.js +20 -0
  38. package/dist/cjs/cura-forms.definitions-c164f1b8.js.map +1 -0
  39. package/dist/cjs/cura-icon.definitions-8d714f6a.js +21 -0
  40. package/dist/cjs/cura-icon.definitions-8d714f6a.js.map +1 -0
  41. package/dist/cjs/cura-icons-view.cjs.entry.js +24 -23
  42. package/dist/cjs/cura-icons-view.cjs.entry.js.map +1 -1
  43. package/dist/cjs/cura-radio.cjs.entry.js +142 -103
  44. package/dist/cjs/cura-radio.cjs.entry.js.map +1 -1
  45. package/dist/cjs/cura-select_2.cjs.entry.js +325 -0
  46. package/dist/cjs/cura-select_2.cjs.entry.js.map +1 -0
  47. package/dist/cjs/cura-switch.cjs.entry.js +113 -78
  48. package/dist/cjs/cura-switch.cjs.entry.js.map +1 -1
  49. package/dist/cjs/cura.cjs.js +13 -22
  50. package/dist/cjs/cura.cjs.js.map +1 -1
  51. package/dist/cjs/index-98e7ba54.js +1544 -0
  52. package/dist/cjs/index-98e7ba54.js.map +1 -0
  53. package/dist/cjs/index.cjs.js +1 -1
  54. package/dist/cjs/index.cjs.js.map +1 -1
  55. package/dist/cjs/loader.cjs.js +6 -31
  56. package/dist/cjs/loader.cjs.js.map +1 -1
  57. package/dist/collection/api/cura-api.js +30 -30
  58. package/dist/collection/api/cura-api.js.map +1 -1
  59. package/dist/collection/api/cura-api.type.js +2 -2
  60. package/dist/collection/api/cura-api.type.js.map +1 -1
  61. package/dist/collection/api/modules/cura-theme-breakpoints-module.js +10 -10
  62. package/dist/collection/api/modules/cura-theme-breakpoints-module.js.map +1 -1
  63. package/dist/collection/api/modules/cura-theme-colors-module.js +72 -72
  64. package/dist/collection/api/modules/cura-theme-colors-module.js.map +1 -1
  65. package/dist/collection/api/modules/cura-theme-fonts-module.js +28 -28
  66. package/dist/collection/api/modules/cura-theme-fonts-module.js.map +1 -1
  67. package/dist/collection/api/modules/cura-theme-module.js +66 -66
  68. package/dist/collection/api/modules/cura-theme-module.js.map +1 -1
  69. package/dist/collection/api/modules/cura-theme-spacing-module.js +9 -9
  70. package/dist/collection/api/modules/cura-theme-spacing-module.js.map +1 -1
  71. package/dist/collection/api/theme-presets/static.js +63 -63
  72. package/dist/collection/api/theme-presets/static.js.map +1 -1
  73. package/dist/collection/api/theme-presets/theme-default.js +41 -41
  74. package/dist/collection/api/theme-presets/theme-default.js.map +1 -1
  75. package/dist/collection/api/theme-presets/theme-legacy-default.js +24 -24
  76. package/dist/collection/api/theme-presets/theme-legacy-default.js.map +1 -1
  77. package/dist/collection/api/theme-presets/theme-maternity.js +38 -38
  78. package/dist/collection/api/theme-presets/theme-maternity.js.map +1 -1
  79. package/dist/collection/api/theme-presets/theme-oncology.js +46 -46
  80. package/dist/collection/api/theme-presets/theme-oncology.js.map +1 -1
  81. package/dist/collection/api/theme-presets/theme-presets.js +8 -8
  82. package/dist/collection/api/theme-presets/theme-presets.js.map +1 -1
  83. package/dist/collection/assets/icons/iconset-default-list.js +1 -1
  84. package/dist/collection/assets/icons/iconset-default-list.js.map +1 -1
  85. package/dist/collection/assets/icons/iconset-default-tmp.svg +8 -0
  86. package/dist/collection/assets/icons/iconset-default.svg +1 -1
  87. package/dist/collection/assets/images/avatar/doctor-default.svg +8 -0
  88. package/dist/collection/assets/images/avatar/dora-default.svg +5 -0
  89. package/dist/collection/assets/images/avatar/patient-default.svg +12 -0
  90. package/dist/collection/assets/images/avatar/unit-default.svg +9 -0
  91. package/dist/collection/assets/images/logoCura.svg +15 -0
  92. package/dist/collection/assets-raw/icons/default/contacts.svg +3 -0
  93. package/dist/collection/assets-raw/icons/default/scheduleCancel.svg +3 -0
  94. package/dist/collection/collection-manifest.json +29 -21
  95. package/dist/collection/components/accordion/cura-accordion/cura-accordion.js +267 -267
  96. package/dist/collection/components/accordion/cura-accordion/cura-accordion.js.map +1 -1
  97. package/dist/collection/components/accordion/cura-accordion/cura-accordion.stories.js +127 -127
  98. package/dist/collection/components/accordion/cura-accordion/cura-accordion.stories.js.map +1 -1
  99. package/dist/collection/components/accordion/cura-accordion-item/cura-accordion-item.js +196 -196
  100. package/dist/collection/components/accordion/cura-accordion-item/cura-accordion-item.js.map +1 -1
  101. package/dist/collection/components/buttons/cura-button/cura-button.css +109 -46
  102. package/dist/collection/components/buttons/cura-button/cura-button.js +368 -306
  103. package/dist/collection/components/buttons/cura-button/cura-button.js.map +1 -1
  104. package/dist/collection/components/buttons/cura-button/cura-button.stories.js +184 -159
  105. package/dist/collection/components/buttons/cura-button/cura-button.stories.js.map +1 -1
  106. package/dist/collection/components/buttons/cura-button-outline/cura-button-outline.css +34 -64
  107. package/dist/collection/components/buttons/cura-button-outline/cura-button-outline.js +374 -306
  108. package/dist/collection/components/buttons/cura-button-outline/cura-button-outline.js.map +1 -1
  109. package/dist/collection/components/buttons/cura-button-outline/cura-button-outline.stories.js +184 -159
  110. package/dist/collection/components/buttons/cura-button-outline/cura-button-outline.stories.js.map +1 -1
  111. package/dist/collection/components/buttons/cura-button-select/cura-button-select.css +33 -23
  112. package/dist/collection/components/buttons/cura-button-select/cura-button-select.js +265 -260
  113. package/dist/collection/components/buttons/cura-button-select/cura-button-select.js.map +1 -1
  114. package/dist/collection/components/buttons/cura-button-transparent/cura-button-transparent.css +29 -50
  115. package/dist/collection/components/buttons/cura-button-transparent/cura-button-transparent.js +339 -306
  116. package/dist/collection/components/buttons/cura-button-transparent/cura-button-transparent.js.map +1 -1
  117. package/dist/collection/components/buttons/cura-button-transparent/cura-button-transparent.stories.js +172 -159
  118. package/dist/collection/components/buttons/cura-button-transparent/cura-button-transparent.stories.js.map +1 -1
  119. package/dist/collection/components/cura-alert/cura-alert.js +182 -164
  120. package/dist/collection/components/cura-alert/cura-alert.js.map +1 -1
  121. package/dist/collection/components/cura-alert/cura-alert.stories.js +90 -77
  122. package/dist/collection/components/cura-alert/cura-alert.stories.js.map +1 -1
  123. package/dist/collection/components/cura-avatar/cura-avatar.css +24 -0
  124. package/dist/collection/components/cura-avatar/cura-avatar.definitions.js +7 -0
  125. package/dist/collection/components/cura-avatar/cura-avatar.definitions.js.map +1 -0
  126. package/dist/collection/components/cura-avatar/cura-avatar.js +231 -0
  127. package/dist/collection/components/cura-avatar/cura-avatar.js.map +1 -0
  128. package/dist/collection/components/cura-avatar/cura-avatar.stories.js +198 -0
  129. package/dist/collection/components/cura-avatar/cura-avatar.stories.js.map +1 -0
  130. package/dist/collection/components/cura-calendar/cura-calendar.css +181 -0
  131. package/dist/collection/components/cura-calendar/cura-calendar.js +681 -0
  132. package/dist/collection/components/cura-calendar/cura-calendar.js.map +1 -0
  133. package/dist/collection/components/cura-calendar/cura-calendar.stories.js +126 -0
  134. package/dist/collection/components/cura-calendar/cura-calendar.stories.js.map +1 -0
  135. package/dist/collection/components/cura-card/cura-card.css +175 -0
  136. package/dist/collection/components/cura-card/cura-card.js +201 -0
  137. package/dist/collection/components/cura-card/cura-card.js.map +1 -0
  138. package/dist/collection/components/cura-card/cura-card.stories.js +127 -0
  139. package/dist/collection/components/cura-card/cura-card.stories.js.map +1 -0
  140. package/dist/collection/components/cura-icon/cura-icon.definitions.js +11 -11
  141. package/dist/collection/components/cura-icon/cura-icon.definitions.js.map +1 -1
  142. package/dist/collection/components/cura-icon/cura-icon.js +151 -151
  143. package/dist/collection/components/cura-icon/cura-icon.js.map +1 -1
  144. package/dist/collection/components/cura-icon/cura-icon.stories.js +60 -60
  145. package/dist/collection/components/cura-icon/cura-icon.stories.js.map +1 -1
  146. package/dist/collection/components/cura-icons-view/cura-icons-view.js +37 -37
  147. package/dist/collection/components/cura-icons-view/cura-icons-view.js.map +1 -1
  148. package/dist/collection/components/cura-icons-view/cura-icons-view.stories.js +7 -7
  149. package/dist/collection/components/cura-icons-view/cura-icons-view.stories.js.map +1 -1
  150. package/dist/collection/components/cura-page-template/cura-page-template.js +52 -52
  151. package/dist/collection/components/cura-page-template/cura-page-template.js.map +1 -1
  152. package/dist/collection/components/forms/cura-checkbox/cura-checkbox.css +19 -11
  153. package/dist/collection/components/forms/cura-checkbox/cura-checkbox.js +457 -427
  154. package/dist/collection/components/forms/cura-checkbox/cura-checkbox.js.map +1 -1
  155. package/dist/collection/components/forms/cura-checkbox/cura-checkbox.stories.js +170 -170
  156. package/dist/collection/components/forms/cura-checkbox/cura-checkbox.stories.js.map +1 -1
  157. package/dist/collection/components/forms/cura-dropdown-search/cura-dropdown-search-option/cura-dropdown-search-option.css +50 -0
  158. package/dist/collection/components/forms/cura-dropdown-search/cura-dropdown-search-option/cura-dropdown-search-option.js +136 -0
  159. package/dist/collection/components/forms/cura-dropdown-search/cura-dropdown-search-option/cura-dropdown-search-option.js.map +1 -0
  160. package/dist/collection/components/forms/cura-dropdown-search/cura-dropdown-search-option/cura-dropdown-search-option.stories.js +56 -0
  161. package/dist/collection/components/forms/cura-dropdown-search/cura-dropdown-search-option/cura-dropdown-search-option.stories.js.map +1 -0
  162. package/dist/collection/components/forms/cura-dropdown-search/cura-dropdown-search-option-title/cura-dropdown-search-option-title.css +10 -0
  163. package/dist/collection/components/forms/cura-dropdown-search/cura-dropdown-search-option-title/cura-dropdown-search-option-title.js +19 -0
  164. package/dist/collection/components/forms/cura-dropdown-search/cura-dropdown-search-option-title/cura-dropdown-search-option-title.js.map +1 -0
  165. package/dist/collection/components/forms/cura-dropdown-search/cura-dropdown-search.css +153 -0
  166. package/dist/collection/components/forms/cura-dropdown-search/cura-dropdown-search.js +410 -0
  167. package/dist/collection/components/forms/cura-dropdown-search/cura-dropdown-search.js.map +1 -0
  168. package/dist/collection/components/forms/cura-dropdown-search/cura-dropdown-search.stories.js +193 -0
  169. package/dist/collection/components/forms/cura-dropdown-search/cura-dropdown-search.stories.js.map +1 -0
  170. package/dist/collection/components/forms/cura-forms.definitions.js +12 -12
  171. package/dist/collection/components/forms/cura-forms.definitions.js.map +1 -1
  172. package/dist/collection/components/forms/cura-input-text/cura-input-text.css +849 -139
  173. package/dist/collection/components/forms/cura-input-text/cura-input-text.js +732 -641
  174. package/dist/collection/components/forms/cura-input-text/cura-input-text.js.map +1 -1
  175. package/dist/collection/components/forms/cura-input-text/cura-input-text.stories.js +217 -196
  176. package/dist/collection/components/forms/cura-input-text/cura-input-text.stories.js.map +1 -1
  177. package/dist/collection/components/forms/cura-input-text/mask-presets/input-mask-presets.js +40 -40
  178. package/dist/collection/components/forms/cura-input-text/mask-presets/input-mask-presets.js.map +1 -1
  179. package/dist/collection/components/forms/cura-label/cura-label.js +187 -187
  180. package/dist/collection/components/forms/cura-label/cura-label.js.map +1 -1
  181. package/dist/collection/components/forms/cura-label/cura-label.stories.js +108 -108
  182. package/dist/collection/components/forms/cura-label/cura-label.stories.js.map +1 -1
  183. package/dist/collection/components/forms/cura-radio/cura-radio.js +395 -363
  184. package/dist/collection/components/forms/cura-radio/cura-radio.js.map +1 -1
  185. package/dist/collection/components/forms/cura-radio/cura-radio.stories.js +150 -150
  186. package/dist/collection/components/forms/cura-radio/cura-radio.stories.js.map +1 -1
  187. package/dist/collection/components/forms/cura-select/cura-select.css +519 -0
  188. package/dist/collection/components/forms/cura-select/cura-select.js +444 -0
  189. package/dist/collection/components/forms/cura-select/cura-select.js.map +1 -0
  190. package/dist/collection/components/forms/cura-select/cura-select.stories.js +144 -0
  191. package/dist/collection/components/forms/cura-select/cura-select.stories.js.map +1 -0
  192. package/dist/collection/components/forms/cura-select-options/cura-select-option.css +28 -0
  193. package/dist/collection/components/forms/cura-select-options/cura-select-option.js +138 -0
  194. package/dist/collection/components/forms/cura-select-options/cura-select-option.js.map +1 -0
  195. package/dist/collection/components/forms/cura-switch/cura-switch.css +80 -18
  196. package/dist/collection/components/forms/cura-switch/cura-switch.js +292 -264
  197. package/dist/collection/components/forms/cura-switch/cura-switch.js.map +1 -1
  198. package/dist/collection/components/forms/cura-switch/cura-switch.stories.js +115 -115
  199. package/dist/collection/components/forms/cura-switch/cura-switch.stories.js.map +1 -1
  200. package/dist/collection/components/loaders/cura-loader-circle/cura-loader-circle.js +74 -74
  201. package/dist/collection/components/loaders/cura-loader-circle/cura-loader-circle.js.map +1 -1
  202. package/dist/collection/components/loaders/cura-loader-circle/cura-loader-circle.stories.js +41 -41
  203. package/dist/collection/components/loaders/cura-loader-circle/cura-loader-circle.stories.js.map +1 -1
  204. package/dist/collection/components/text/cura-display/cura-display.js +174 -174
  205. package/dist/collection/components/text/cura-display/cura-display.js.map +1 -1
  206. package/dist/collection/components/text/cura-display/cura-display.stories.js +97 -97
  207. package/dist/collection/components/text/cura-display/cura-display.stories.js.map +1 -1
  208. package/dist/collection/components/text/cura-heading/cura-heading.js +220 -220
  209. package/dist/collection/components/text/cura-heading/cura-heading.js.map +1 -1
  210. package/dist/collection/components/text/cura-heading/cura-heading.stories.js +117 -117
  211. package/dist/collection/components/text/cura-heading/cura-heading.stories.js.map +1 -1
  212. package/dist/collection/components/text/cura-paragraph/cura-paragraph.js +168 -168
  213. package/dist/collection/components/text/cura-paragraph/cura-paragraph.js.map +1 -1
  214. package/dist/collection/components/text/cura-paragraph/cura-paragraph.stories.js +98 -98
  215. package/dist/collection/components/text/cura-paragraph/cura-paragraph.stories.js.map +1 -1
  216. package/dist/collection/index.js +1 -1
  217. package/dist/collection/index.js.map +1 -1
  218. package/dist/collection/rededor-cura-start.js +7 -7
  219. package/dist/collection/rededor-cura-start.js.map +1 -1
  220. package/dist/collection/utils/utils.js +11 -11
  221. package/dist/collection/utils/utils.js.map +1 -1
  222. package/dist/components/cura-accordion-item.d.ts +2 -2
  223. package/dist/components/cura-accordion-item.js +62 -61
  224. package/dist/components/cura-accordion-item.js.map +1 -1
  225. package/dist/components/cura-accordion.d.ts +2 -2
  226. package/dist/components/cura-accordion.js +108 -104
  227. package/dist/components/cura-accordion.js.map +1 -1
  228. package/dist/components/cura-alert.d.ts +2 -2
  229. package/dist/components/cura-alert.js +93 -88
  230. package/dist/components/cura-alert.js.map +1 -1
  231. package/dist/components/cura-avatar.d.ts +11 -0
  232. package/dist/components/cura-avatar.js +95 -0
  233. package/dist/components/cura-avatar.js.map +1 -0
  234. package/dist/components/cura-button-outline.d.ts +2 -2
  235. package/dist/components/cura-button-outline.js +147 -109
  236. package/dist/components/cura-button-outline.js.map +1 -1
  237. package/dist/components/cura-button-select.d.ts +2 -2
  238. package/dist/components/cura-button-select.js +129 -113
  239. package/dist/components/cura-button-select.js.map +1 -1
  240. package/dist/components/cura-button-transparent.d.ts +2 -2
  241. package/dist/components/cura-button-transparent.js +1 -116
  242. package/dist/components/cura-button-transparent.js.map +1 -1
  243. package/dist/components/cura-button-transparent2.js +144 -0
  244. package/dist/components/cura-button-transparent2.js.map +1 -0
  245. package/dist/components/cura-button.d.ts +2 -2
  246. package/dist/components/cura-button.js +145 -109
  247. package/dist/components/cura-button.js.map +1 -1
  248. package/dist/components/cura-calendar.d.ts +11 -0
  249. package/dist/components/cura-calendar.js +3969 -0
  250. package/dist/components/cura-calendar.js.map +1 -0
  251. package/dist/components/cura-card.d.ts +11 -0
  252. package/dist/components/cura-card.js +75 -0
  253. package/dist/components/cura-card.js.map +1 -0
  254. package/dist/components/cura-checkbox.d.ts +2 -2
  255. package/dist/components/cura-checkbox.js +210 -174
  256. package/dist/components/cura-checkbox.js.map +1 -1
  257. package/dist/components/cura-display.d.ts +2 -2
  258. package/dist/components/cura-display.js +85 -81
  259. package/dist/components/cura-display.js.map +1 -1
  260. package/dist/components/cura-dropdown-search-option-title.d.ts +11 -0
  261. package/dist/components/cura-dropdown-search-option-title.js +42 -0
  262. package/dist/components/cura-dropdown-search-option-title.js.map +1 -0
  263. package/dist/components/cura-dropdown-search-option.d.ts +11 -0
  264. package/dist/components/cura-dropdown-search-option.js +82 -0
  265. package/dist/components/cura-dropdown-search-option.js.map +1 -0
  266. package/dist/components/cura-dropdown-search.d.ts +11 -0
  267. package/dist/components/cura-dropdown-search.js +281 -0
  268. package/dist/components/cura-dropdown-search.js.map +1 -0
  269. package/dist/components/cura-forms.definitions.js +12 -12
  270. package/dist/components/cura-forms.definitions.js.map +1 -1
  271. package/dist/components/cura-heading.d.ts +2 -2
  272. package/dist/components/cura-heading2.js +97 -93
  273. package/dist/components/cura-heading2.js.map +1 -1
  274. package/dist/components/cura-icon.d.ts +2 -2
  275. package/dist/components/cura-icon2.js +74 -69
  276. package/dist/components/cura-icon2.js.map +1 -1
  277. package/dist/components/cura-icons-view.d.ts +2 -2
  278. package/dist/components/cura-icons-view.js +57 -56
  279. package/dist/components/cura-icons-view.js.map +1 -1
  280. package/dist/components/cura-input-text.d.ts +2 -2
  281. package/dist/components/cura-input-text.js +1 -3954
  282. package/dist/components/cura-input-text.js.map +1 -1
  283. package/dist/{cjs/cura-input-text.cjs.entry.js → components/cura-input-text2.js} +393 -283
  284. package/dist/components/cura-input-text2.js.map +1 -0
  285. package/dist/components/cura-label.d.ts +2 -2
  286. package/dist/components/cura-label2.js +81 -77
  287. package/dist/components/cura-label2.js.map +1 -1
  288. package/dist/components/cura-loader-circle.d.ts +2 -2
  289. package/dist/components/cura-loader-circle2.js +41 -40
  290. package/dist/components/cura-loader-circle2.js.map +1 -1
  291. package/dist/components/cura-page-template.d.ts +2 -2
  292. package/dist/components/cura-page-template.js +36 -35
  293. package/dist/components/cura-page-template.js.map +1 -1
  294. package/dist/components/cura-paragraph.d.ts +2 -2
  295. package/dist/components/cura-paragraph2.js +79 -75
  296. package/dist/components/cura-paragraph2.js.map +1 -1
  297. package/dist/components/cura-radio.d.ts +2 -2
  298. package/dist/components/cura-radio.js +176 -139
  299. package/dist/components/cura-radio.js.map +1 -1
  300. package/dist/components/cura-select-option.d.ts +11 -0
  301. package/dist/components/cura-select-option.js +8 -0
  302. package/dist/components/cura-select-option.js.map +1 -0
  303. package/dist/components/cura-select-option2.js +87 -0
  304. package/dist/components/cura-select-option2.js.map +1 -0
  305. package/dist/components/cura-select.d.ts +11 -0
  306. package/dist/components/cura-select.js +8 -0
  307. package/dist/components/cura-select.js.map +1 -0
  308. package/dist/components/cura-select2.js +308 -0
  309. package/dist/components/cura-select2.js.map +1 -0
  310. package/dist/components/cura-switch.d.ts +2 -2
  311. package/dist/components/cura-switch.js +138 -105
  312. package/dist/components/cura-switch.js.map +1 -1
  313. package/dist/components/index.d.ts +6 -0
  314. package/dist/components/index.js +482 -466
  315. package/dist/components/index.js.map +1 -1
  316. package/dist/cura/cura.esm.js +1 -1
  317. package/dist/cura/cura.esm.js.map +1 -1
  318. package/dist/cura/index.esm.js.map +1 -1
  319. package/dist/cura/p-17a878d4.entry.js +2 -0
  320. package/dist/cura/p-17a878d4.entry.js.map +1 -0
  321. package/dist/cura/p-251bd980.entry.js +2 -0
  322. package/dist/cura/p-251bd980.entry.js.map +1 -0
  323. package/dist/cura/p-260edb61.entry.js +2 -0
  324. package/dist/cura/p-260edb61.entry.js.map +1 -0
  325. package/dist/cura/p-312791fb.js +3 -0
  326. package/dist/cura/p-312791fb.js.map +1 -0
  327. package/dist/cura/p-31ae34e3.entry.js +2 -0
  328. package/dist/cura/p-31ae34e3.entry.js.map +1 -0
  329. package/dist/cura/p-3b4bf71e.entry.js +2 -0
  330. package/dist/cura/p-3b4bf71e.entry.js.map +1 -0
  331. package/dist/cura/p-3c39a9d8.entry.js +2 -0
  332. package/dist/cura/p-3c39a9d8.entry.js.map +1 -0
  333. package/dist/cura/p-5466758a.entry.js +2 -0
  334. package/dist/cura/p-5466758a.entry.js.map +1 -0
  335. package/dist/cura/p-578c74a4.entry.js +2 -0
  336. package/dist/cura/p-578c74a4.entry.js.map +1 -0
  337. package/dist/cura/p-61d20270.entry.js +2 -0
  338. package/dist/cura/p-61d20270.entry.js.map +1 -0
  339. package/dist/cura/p-6373c7cd.entry.js +2 -0
  340. package/dist/cura/p-6373c7cd.entry.js.map +1 -0
  341. package/dist/cura/{p-f8fffdc1.js → p-70c369b1.js} +1 -1
  342. package/dist/cura/p-70c369b1.js.map +1 -0
  343. package/dist/cura/p-93389727.entry.js +2 -0
  344. package/dist/cura/p-93389727.entry.js.map +1 -0
  345. package/dist/cura/p-9a4094e3.entry.js +2 -0
  346. package/dist/cura/p-9a4094e3.entry.js.map +1 -0
  347. package/dist/cura/{p-c791725b.js → p-a7221f0c.js} +1 -1
  348. package/dist/{esm-es5/cura-icon.definitions-a63d1862.js.map → cura/p-a7221f0c.js.map} +1 -1
  349. package/dist/cura/p-b0d66386.entry.js +2 -0
  350. package/dist/cura/p-b0d66386.entry.js.map +1 -0
  351. package/dist/cura/p-b3a50bcf.entry.js +2 -0
  352. package/dist/cura/p-b3a50bcf.entry.js.map +1 -0
  353. package/dist/cura/p-ba2e7222.entry.js +2 -0
  354. package/dist/cura/p-ba2e7222.entry.js.map +1 -0
  355. package/dist/cura/p-c63f4695.entry.js +2 -0
  356. package/dist/cura/p-c63f4695.entry.js.map +1 -0
  357. package/dist/cura/p-ced36448.entry.js +2 -0
  358. package/dist/cura/p-ced36448.entry.js.map +1 -0
  359. package/dist/cura/{p-3688570d.js → p-f9b8f665.js} +1 -1
  360. package/dist/{esm-es5/cura-forms.definitions-0f774253.js.map → cura/p-f9b8f665.js.map} +1 -1
  361. package/dist/esm/app-globals-f2da2b14.js +509 -0
  362. package/dist/esm/app-globals-f2da2b14.js.map +1 -0
  363. package/dist/esm/cura-accordion_9.entry.js +532 -0
  364. package/dist/esm/cura-accordion_9.entry.js.map +1 -0
  365. package/dist/esm/cura-alert.entry.js +57 -55
  366. package/dist/esm/cura-alert.entry.js.map +1 -1
  367. package/dist/esm/cura-avatar.entry.js +64 -0
  368. package/dist/esm/cura-avatar.entry.js.map +1 -0
  369. package/dist/esm/cura-button-outline.entry.js +102 -71
  370. package/dist/esm/cura-button-outline.entry.js.map +1 -1
  371. package/dist/esm/cura-button-select.entry.js +91 -85
  372. package/dist/esm/cura-button-select.entry.js.map +1 -1
  373. package/dist/esm/{cura-input-text.entry.js → cura-button-transparent_2.entry.js} +423 -276
  374. package/dist/esm/cura-button-transparent_2.entry.js.map +1 -0
  375. package/dist/esm/cura-calendar.entry.js +3909 -0
  376. package/dist/esm/cura-calendar.entry.js.map +1 -0
  377. package/dist/esm/cura-card.entry.js +49 -0
  378. package/dist/esm/cura-card.entry.js.map +1 -0
  379. package/dist/esm/cura-checkbox.entry.js +168 -131
  380. package/dist/esm/cura-checkbox.entry.js.map +1 -1
  381. package/dist/esm/cura-display.entry.js +63 -62
  382. package/dist/esm/cura-display.entry.js.map +1 -1
  383. package/dist/esm/cura-dropdown-search-option-title.entry.js +18 -0
  384. package/dist/esm/cura-dropdown-search-option-title.entry.js.map +1 -0
  385. package/dist/esm/cura-dropdown-search-option.entry.js +51 -0
  386. package/dist/esm/cura-dropdown-search-option.entry.js.map +1 -0
  387. package/dist/esm/cura-dropdown-search.entry.js +213 -0
  388. package/dist/esm/cura-dropdown-search.entry.js.map +1 -0
  389. package/dist/esm/cura-forms.definitions-2f963167.js +18 -0
  390. package/dist/esm/cura-forms.definitions-2f963167.js.map +1 -0
  391. package/dist/esm/cura-icon.definitions-aaa4e80f.js +18 -0
  392. package/dist/esm/cura-icon.definitions-aaa4e80f.js.map +1 -0
  393. package/dist/esm/cura-icons-view.entry.js +24 -23
  394. package/dist/esm/cura-icons-view.entry.js.map +1 -1
  395. package/dist/esm/cura-radio.entry.js +142 -103
  396. package/dist/esm/cura-radio.entry.js.map +1 -1
  397. package/dist/esm/cura-select_2.entry.js +320 -0
  398. package/dist/esm/cura-select_2.entry.js.map +1 -0
  399. package/dist/esm/cura-switch.entry.js +113 -78
  400. package/dist/esm/cura-switch.entry.js.map +1 -1
  401. package/dist/esm/cura.js +14 -23
  402. package/dist/esm/cura.js.map +1 -1
  403. package/dist/esm/index-1ad98520.js +1515 -0
  404. package/dist/esm/index-1ad98520.js.map +1 -0
  405. package/dist/esm/index.js +1 -1
  406. package/dist/esm/index.js.map +1 -1
  407. package/dist/esm/loader.js +8 -33
  408. package/dist/esm/loader.js.map +1 -1
  409. package/dist/index.js +1 -1
  410. package/dist/loader/cdn.js +1 -3
  411. package/dist/loader/index.cjs.js +1 -3
  412. package/dist/loader/index.d.ts +4 -1
  413. package/dist/loader/index.es2017.js +1 -3
  414. package/dist/loader/index.js +1 -3
  415. package/dist/types/api/cura-api.d.ts +3 -3
  416. package/dist/types/api/cura-api.type.d.ts +44 -44
  417. package/dist/types/api/modules/cura-theme-breakpoints-module.d.ts +3 -3
  418. package/dist/types/api/modules/cura-theme-colors-module.d.ts +46 -46
  419. package/dist/types/api/modules/cura-theme-fonts-module.d.ts +22 -22
  420. package/dist/types/api/modules/cura-theme-module.d.ts +25 -25
  421. package/dist/types/api/modules/cura-theme-spacing-module.d.ts +4 -4
  422. package/dist/types/api/theme-presets/static.d.ts +62 -62
  423. package/dist/types/api/theme-presets/theme-default.d.ts +38 -38
  424. package/dist/types/api/theme-presets/theme-legacy-default.d.ts +38 -38
  425. package/dist/types/api/theme-presets/theme-maternity.d.ts +38 -38
  426. package/dist/types/api/theme-presets/theme-oncology.d.ts +45 -45
  427. package/dist/types/api/theme-presets/theme-presets.d.ts +175 -175
  428. package/dist/types/components/accordion/cura-accordion/cura-accordion.d.ts +37 -37
  429. package/dist/types/components/accordion/cura-accordion/cura-accordion.stories.d.ts +140 -140
  430. package/dist/types/components/accordion/cura-accordion-item/cura-accordion-item.d.ts +27 -27
  431. package/dist/types/components/buttons/cura-button/cura-button.d.ts +70 -59
  432. package/dist/types/components/buttons/cura-button/cura-button.stories.d.ts +184 -155
  433. package/dist/types/components/buttons/cura-button-outline/cura-button-outline.d.ts +70 -59
  434. package/dist/types/components/buttons/cura-button-outline/cura-button-outline.stories.d.ts +184 -155
  435. package/dist/types/components/buttons/cura-button-select/cura-button-select.d.ts +48 -47
  436. package/dist/types/components/buttons/cura-button-transparent/cura-button-transparent.d.ts +65 -59
  437. package/dist/types/components/buttons/cura-button-transparent/cura-button-transparent.stories.d.ts +169 -155
  438. package/dist/types/components/cura-alert/cura-alert.d.ts +14 -13
  439. package/dist/types/components/cura-alert/cura-alert.stories.d.ts +85 -70
  440. package/dist/types/components/cura-avatar/cura-avatar.d.ts +24 -0
  441. package/dist/types/components/cura-avatar/cura-avatar.definitions.d.ts +14 -0
  442. package/dist/types/components/cura-avatar/cura-avatar.stories.d.ts +167 -0
  443. package/dist/types/components/cura-calendar/cura-calendar.d.ts +323 -0
  444. package/dist/types/components/cura-calendar/cura-calendar.stories.d.ts +128 -0
  445. package/dist/types/components/cura-card/cura-card.d.ts +48 -0
  446. package/dist/types/components/cura-card/cura-card.stories.d.ts +98 -0
  447. package/dist/types/components/cura-icon/cura-icon.d.ts +12 -12
  448. package/dist/types/components/cura-icon/cura-icon.definitions.d.ts +44 -44
  449. package/dist/types/components/cura-icon/cura-icon.stories.d.ts +56 -56
  450. package/dist/types/components/cura-icons-view/cura-icons-view.d.ts +6 -6
  451. package/dist/types/components/cura-icons-view/cura-icons-view.stories.d.ts +3 -3
  452. package/dist/types/components/cura-page-template/cura-page-template.d.ts +6 -6
  453. package/dist/types/components/forms/cura-checkbox/cura-checkbox.d.ts +111 -95
  454. package/dist/types/components/forms/cura-checkbox/cura-checkbox.stories.d.ts +193 -193
  455. package/dist/types/components/forms/cura-dropdown-search/cura-dropdown-search-option/cura-dropdown-search-option.d.ts +27 -0
  456. package/dist/types/components/forms/cura-dropdown-search/cura-dropdown-search-option/cura-dropdown-search-option.stories.d.ts +44 -0
  457. package/dist/types/components/forms/cura-dropdown-search/cura-dropdown-search-option-title/cura-dropdown-search-option-title.d.ts +3 -0
  458. package/dist/types/components/forms/cura-dropdown-search/cura-dropdown-search.d.ts +111 -0
  459. package/dist/types/components/forms/cura-dropdown-search/cura-dropdown-search.stories.d.ts +124 -0
  460. package/dist/types/components/forms/cura-forms.definitions.d.ts +12 -12
  461. package/dist/types/components/forms/cura-input-text/cura-input-text.d.ts +169 -132
  462. package/dist/types/components/forms/cura-input-text/cura-input-text.stories.d.ts +241 -218
  463. package/dist/types/components/forms/cura-input-text/mask-presets/input-mask-presets.d.ts +1 -2
  464. package/dist/types/components/forms/cura-label/cura-label.d.ts +52 -52
  465. package/dist/types/components/forms/cura-label/cura-label.stories.d.ts +112 -112
  466. package/dist/types/components/forms/cura-radio/cura-radio.d.ts +96 -74
  467. package/dist/types/components/forms/cura-radio/cura-radio.stories.d.ts +162 -162
  468. package/dist/types/components/forms/cura-select/cura-select.d.ts +176 -0
  469. package/dist/types/components/forms/cura-select/cura-select.stories.d.ts +156 -0
  470. package/dist/types/components/forms/cura-select-options/cura-select-option.d.ts +17 -0
  471. package/dist/types/components/forms/cura-switch/cura-switch.d.ts +78 -57
  472. package/dist/types/components/forms/cura-switch/cura-switch.stories.d.ts +121 -121
  473. package/dist/types/components/loaders/cura-loader-circle/cura-loader-circle.d.ts +21 -21
  474. package/dist/types/components/loaders/cura-loader-circle/cura-loader-circle.stories.d.ts +35 -35
  475. package/dist/types/components/text/cura-display/cura-display.d.ts +47 -47
  476. package/dist/types/components/text/cura-display/cura-display.stories.d.ts +101 -101
  477. package/dist/types/components/text/cura-heading/cura-heading.d.ts +58 -58
  478. package/dist/types/components/text/cura-heading/cura-heading.stories.d.ts +127 -127
  479. package/dist/types/components/text/cura-paragraph/cura-paragraph.d.ts +47 -47
  480. package/dist/types/components/text/cura-paragraph/cura-paragraph.stories.d.ts +99 -99
  481. package/dist/types/components.d.ts +697 -13
  482. package/dist/types/index.d.ts +4 -4
  483. package/dist/types/rededor-cura-start.d.ts +4 -4
  484. package/dist/types/stencil-public-runtime.d.ts +55 -15
  485. package/package.json +6 -6
  486. package/dist/assets/icons/iconset-default-list.ts +0 -1
  487. package/dist/assets/icons/iconset-default.svg +0 -1
  488. package/dist/cjs/app-globals-2988084b.js +0 -511
  489. package/dist/cjs/app-globals-2988084b.js.map +0 -1
  490. package/dist/cjs/css-shim-83cf0349.js +0 -8
  491. package/dist/cjs/css-shim-83cf0349.js.map +0 -1
  492. package/dist/cjs/cura-accordion_8.cjs.entry.js +0 -445
  493. package/dist/cjs/cura-accordion_8.cjs.entry.js.map +0 -1
  494. package/dist/cjs/cura-button-transparent.cjs.entry.js +0 -83
  495. package/dist/cjs/cura-button-transparent.cjs.entry.js.map +0 -1
  496. package/dist/cjs/cura-forms.definitions-11be2ebd.js +0 -20
  497. package/dist/cjs/cura-forms.definitions-11be2ebd.js.map +0 -1
  498. package/dist/cjs/cura-icon.definitions-b73b0178.js +0 -21
  499. package/dist/cjs/cura-icon.definitions-b73b0178.js.map +0 -1
  500. package/dist/cjs/cura-input-text.cjs.entry.js.map +0 -1
  501. package/dist/cjs/cura-label.cjs.entry.js +0 -69
  502. package/dist/cjs/cura-label.cjs.entry.js.map +0 -1
  503. package/dist/cjs/index-7616f620.js +0 -2281
  504. package/dist/cjs/index-7616f620.js.map +0 -1
  505. package/dist/cjs/shadow-css-8baae635.js +0 -391
  506. package/dist/cjs/shadow-css-8baae635.js.map +0 -1
  507. package/dist/collection/utils/utils.spec.js +0 -16
  508. package/dist/collection/utils/utils.spec.js.map +0 -1
  509. package/dist/cura/cura.js +0 -133
  510. package/dist/cura/p-0c2644aa.system.entry.js +0 -2
  511. package/dist/cura/p-0c2644aa.system.entry.js.map +0 -1
  512. package/dist/cura/p-118112e5.system.js +0 -14
  513. package/dist/cura/p-118112e5.system.js.map +0 -1
  514. package/dist/cura/p-120926c5.system.js +0 -2
  515. package/dist/cura/p-120926c5.system.js.map +0 -1
  516. package/dist/cura/p-1228e771.entry.js +0 -2
  517. package/dist/cura/p-1228e771.entry.js.map +0 -1
  518. package/dist/cura/p-183305c3.js +0 -2
  519. package/dist/cura/p-183305c3.js.map +0 -1
  520. package/dist/cura/p-2d42ccf4.entry.js +0 -2
  521. package/dist/cura/p-2d42ccf4.entry.js.map +0 -1
  522. package/dist/cura/p-3688570d.js.map +0 -1
  523. package/dist/cura/p-36a83bc7.system.js +0 -3
  524. package/dist/cura/p-36a83bc7.system.js.map +0 -1
  525. package/dist/cura/p-3f5de5e2.entry.js +0 -2
  526. package/dist/cura/p-3f5de5e2.entry.js.map +0 -1
  527. package/dist/cura/p-3f6aaefc.system.js +0 -2
  528. package/dist/cura/p-3f6aaefc.system.js.map +0 -1
  529. package/dist/cura/p-48426f60.system.js +0 -2
  530. package/dist/cura/p-48426f60.system.js.map +0 -1
  531. package/dist/cura/p-557c6eef.entry.js +0 -2
  532. package/dist/cura/p-557c6eef.entry.js.map +0 -1
  533. package/dist/cura/p-5a6c2cd2.system.entry.js +0 -2
  534. package/dist/cura/p-5a6c2cd2.system.entry.js.map +0 -1
  535. package/dist/cura/p-71ed26f4.entry.js +0 -2
  536. package/dist/cura/p-71ed26f4.entry.js.map +0 -1
  537. package/dist/cura/p-7c744ff0.system.entry.js +0 -2
  538. package/dist/cura/p-7c744ff0.system.entry.js.map +0 -1
  539. package/dist/cura/p-8d959fb2.entry.js +0 -2
  540. package/dist/cura/p-8d959fb2.entry.js.map +0 -1
  541. package/dist/cura/p-9471c93e.system.entry.js +0 -2
  542. package/dist/cura/p-9471c93e.system.entry.js.map +0 -1
  543. package/dist/cura/p-a32889a4.system.js +0 -2
  544. package/dist/cura/p-a32889a4.system.js.map +0 -1
  545. package/dist/cura/p-a56f9357.system.entry.js +0 -2
  546. package/dist/cura/p-a56f9357.system.entry.js.map +0 -1
  547. package/dist/cura/p-a719b444.system.entry.js +0 -2
  548. package/dist/cura/p-a719b444.system.entry.js.map +0 -1
  549. package/dist/cura/p-ab8c9a8f.system.entry.js +0 -2
  550. package/dist/cura/p-ab8c9a8f.system.entry.js.map +0 -1
  551. package/dist/cura/p-ad194144.entry.js +0 -2
  552. package/dist/cura/p-ad194144.entry.js.map +0 -1
  553. package/dist/cura/p-ba20f1b6.entry.js +0 -2
  554. package/dist/cura/p-ba20f1b6.entry.js.map +0 -1
  555. package/dist/cura/p-ba66d7be.js +0 -3
  556. package/dist/cura/p-ba66d7be.js.map +0 -1
  557. package/dist/cura/p-beab48cd.js +0 -13
  558. package/dist/cura/p-beab48cd.js.map +0 -1
  559. package/dist/cura/p-bfe9a9e2.entry.js +0 -2
  560. package/dist/cura/p-bfe9a9e2.entry.js.map +0 -1
  561. package/dist/cura/p-c0ff425e.entry.js +0 -2
  562. package/dist/cura/p-c0ff425e.entry.js.map +0 -1
  563. package/dist/cura/p-c791725b.js.map +0 -1
  564. package/dist/cura/p-cb4e2a0c.system.entry.js +0 -2
  565. package/dist/cura/p-cb4e2a0c.system.entry.js.map +0 -1
  566. package/dist/cura/p-d3f9c888.system.js +0 -2
  567. package/dist/cura/p-d3f9c888.system.js.map +0 -1
  568. package/dist/cura/p-e5e259fd.system.entry.js +0 -2
  569. package/dist/cura/p-e5e259fd.system.entry.js.map +0 -1
  570. package/dist/cura/p-edeffbfc.entry.js +0 -2
  571. package/dist/cura/p-edeffbfc.entry.js.map +0 -1
  572. package/dist/cura/p-f51705c2.system.entry.js +0 -2
  573. package/dist/cura/p-f51705c2.system.entry.js.map +0 -1
  574. package/dist/cura/p-f89f2ecc.system.entry.js +0 -2
  575. package/dist/cura/p-f89f2ecc.system.entry.js.map +0 -1
  576. package/dist/cura/p-f8fffdc1.js.map +0 -1
  577. package/dist/cura/p-fc4ba4ce.system.js +0 -2
  578. package/dist/cura/p-fc4ba4ce.system.js.map +0 -1
  579. package/dist/cura/p-fef52079.entry.js +0 -2
  580. package/dist/cura/p-fef52079.entry.js.map +0 -1
  581. package/dist/cura/p-ffd41520.system.entry.js +0 -2
  582. package/dist/cura/p-ffd41520.system.entry.js.map +0 -1
  583. package/dist/esm/app-globals-29001758.js +0 -509
  584. package/dist/esm/app-globals-29001758.js.map +0 -1
  585. package/dist/esm/css-shim-d13f0738.js +0 -6
  586. package/dist/esm/css-shim-d13f0738.js.map +0 -1
  587. package/dist/esm/cura-accordion_8.entry.js +0 -434
  588. package/dist/esm/cura-accordion_8.entry.js.map +0 -1
  589. package/dist/esm/cura-button-transparent.entry.js +0 -79
  590. package/dist/esm/cura-button-transparent.entry.js.map +0 -1
  591. package/dist/esm/cura-forms.definitions-0f774253.js +0 -18
  592. package/dist/esm/cura-forms.definitions-0f774253.js.map +0 -1
  593. package/dist/esm/cura-icon.definitions-a63d1862.js +0 -18
  594. package/dist/esm/cura-icon.definitions-a63d1862.js.map +0 -1
  595. package/dist/esm/cura-input-text.entry.js.map +0 -1
  596. package/dist/esm/cura-label.entry.js +0 -65
  597. package/dist/esm/cura-label.entry.js.map +0 -1
  598. package/dist/esm/index-81f1a268.js +0 -2249
  599. package/dist/esm/index-81f1a268.js.map +0 -1
  600. package/dist/esm/polyfills/core-js.js +0 -11
  601. package/dist/esm/polyfills/css-shim.js +0 -1
  602. package/dist/esm/polyfills/dom.js +0 -79
  603. package/dist/esm/polyfills/es5-html-element.js +0 -1
  604. package/dist/esm/polyfills/index.js +0 -34
  605. package/dist/esm/polyfills/system.js +0 -6
  606. package/dist/esm/shadow-css-07b0c8c8.js +0 -389
  607. package/dist/esm/shadow-css-07b0c8c8.js.map +0 -1
  608. package/dist/esm-es5/app-globals-29001758.js +0 -2
  609. package/dist/esm-es5/app-globals-29001758.js.map +0 -1
  610. package/dist/esm-es5/css-shim-d13f0738.js +0 -2
  611. package/dist/esm-es5/css-shim-d13f0738.js.map +0 -1
  612. package/dist/esm-es5/cura-accordion_8.entry.js +0 -2
  613. package/dist/esm-es5/cura-accordion_8.entry.js.map +0 -1
  614. package/dist/esm-es5/cura-alert.entry.js +0 -2
  615. package/dist/esm-es5/cura-alert.entry.js.map +0 -1
  616. package/dist/esm-es5/cura-button-outline.entry.js +0 -2
  617. package/dist/esm-es5/cura-button-outline.entry.js.map +0 -1
  618. package/dist/esm-es5/cura-button-select.entry.js +0 -2
  619. package/dist/esm-es5/cura-button-select.entry.js.map +0 -1
  620. package/dist/esm-es5/cura-button-transparent.entry.js +0 -2
  621. package/dist/esm-es5/cura-button-transparent.entry.js.map +0 -1
  622. package/dist/esm-es5/cura-checkbox.entry.js +0 -2
  623. package/dist/esm-es5/cura-checkbox.entry.js.map +0 -1
  624. package/dist/esm-es5/cura-display.entry.js +0 -2
  625. package/dist/esm-es5/cura-display.entry.js.map +0 -1
  626. package/dist/esm-es5/cura-forms.definitions-0f774253.js +0 -2
  627. package/dist/esm-es5/cura-icon.definitions-a63d1862.js +0 -2
  628. package/dist/esm-es5/cura-icons-view.entry.js +0 -2
  629. package/dist/esm-es5/cura-icons-view.entry.js.map +0 -1
  630. package/dist/esm-es5/cura-input-text.entry.js +0 -2
  631. package/dist/esm-es5/cura-input-text.entry.js.map +0 -1
  632. package/dist/esm-es5/cura-label.entry.js +0 -2
  633. package/dist/esm-es5/cura-label.entry.js.map +0 -1
  634. package/dist/esm-es5/cura-radio.entry.js +0 -2
  635. package/dist/esm-es5/cura-radio.entry.js.map +0 -1
  636. package/dist/esm-es5/cura-switch.entry.js +0 -2
  637. package/dist/esm-es5/cura-switch.entry.js.map +0 -1
  638. package/dist/esm-es5/cura.js +0 -2
  639. package/dist/esm-es5/cura.js.map +0 -1
  640. package/dist/esm-es5/index-81f1a268.js +0 -3
  641. package/dist/esm-es5/index-81f1a268.js.map +0 -1
  642. package/dist/esm-es5/index.js +0 -2
  643. package/dist/esm-es5/index.js.map +0 -1
  644. package/dist/esm-es5/loader.js +0 -2
  645. package/dist/esm-es5/loader.js.map +0 -1
  646. package/dist/esm-es5/shadow-css-07b0c8c8.js +0 -13
  647. package/dist/esm-es5/shadow-css-07b0c8c8.js.map +0 -1
@@ -6,9 +6,7 @@
6
6
  */
7
7
  import { HTMLStencilElement, JSXBase } from "./stencil-public-runtime";
8
8
  import { MaskPreset } from "./components/forms/cura-input-text/cura-input-text";
9
- import { FactoryArg, MaskedRegExp } from "imask";
10
9
  export { MaskPreset } from "./components/forms/cura-input-text/cura-input-text";
11
- export { FactoryArg, MaskedRegExp } from "imask";
12
10
  export namespace Components {
13
11
  interface CuraAccordion {
14
12
  "activeColor": string;
@@ -61,10 +59,26 @@ export namespace Components {
61
59
  interface CuraAlert {
62
60
  "closeable": boolean;
63
61
  "floating": boolean;
62
+ "icon": string;
64
63
  "label": string;
65
64
  "type": 'info' | 'success' | 'warning' | 'error';
66
65
  }
66
+ interface CuraAvatar {
67
+ "backgroundColor": string;
68
+ "border": boolean;
69
+ "borderColor": string;
70
+ "borderRadius": string;
71
+ "floating": boolean;
72
+ "imageSrc": string;
73
+ "imageSrcDefault": string;
74
+ "size": '80' | '40' | '32' | '24';
75
+ "type": 'default' | 'branding';
76
+ }
67
77
  interface CuraButton {
78
+ /**
79
+ * Set the background color to dark or light.
80
+ */
81
+ "background": 'dark' | 'light';
68
82
  /**
69
83
  * Color base from color scheme. Default: accent.
70
84
  */
@@ -113,8 +127,16 @@ export namespace Components {
113
127
  * Set text aligment for the button label. Vales: left (default) | center | right.
114
128
  */
115
129
  "textAlign": 'left' | 'center' | 'right';
130
+ /**
131
+ * Button type: button (default) | submit | reset
132
+ */
133
+ "type": 'button' | 'reset' | 'submit';
116
134
  }
117
135
  interface CuraButtonOutline {
136
+ /**
137
+ * Set the font background to dark or light.
138
+ */
139
+ "background": 'dark' | 'light';
118
140
  /**
119
141
  * Color base from color scheme. Default: accent.
120
142
  */
@@ -163,6 +185,10 @@ export namespace Components {
163
185
  * Set text aligment for the button label. Vales: left (default) | center | right.
164
186
  */
165
187
  "textAlign": 'left' | 'center' | 'right';
188
+ /**
189
+ * Button type: button (default) | submit | reset
190
+ */
191
+ "type": 'button' | 'reset' | 'submit';
166
192
  }
167
193
  interface CuraButtonSelect {
168
194
  /**
@@ -243,6 +269,110 @@ export namespace Components {
243
269
  * Set text aligment for the button label. Vales: left (default) | center | right.
244
270
  */
245
271
  "textAlign": 'left' | 'center' | 'right';
272
+ /**
273
+ * Button type: button (default) | submit | reset
274
+ */
275
+ "type": 'button' | 'reset' | 'submit';
276
+ }
277
+ interface CuraCalendar {
278
+ /**
279
+ * Date format used for display and parsing.
280
+ * @type {string}
281
+ * @default 'yyyy-MM-dd'
282
+ */
283
+ "dateFormat": string;
284
+ /**
285
+ * Default dates selected on initialization.
286
+ * @type {string[]}
287
+ * @default []
288
+ */
289
+ "defaultDate": string[];
290
+ /**
291
+ * List of dates to disable.
292
+ * @type {string[]}
293
+ * @default []
294
+ */
295
+ "disable": string[];
296
+ /**
297
+ * List of dates to enable.
298
+ * @type {string[]}
299
+ * @default []
300
+ */
301
+ "enable": string[];
302
+ /**
303
+ * Limits the selectable date range.
304
+ * @type {Date | null}
305
+ * @default null
306
+ */
307
+ "limitRange": number | null;
308
+ /**
309
+ * Locale for date formatting.
310
+ * @type {'pt-BR' | 'en-US'}
311
+ * @default 'pt-BR'
312
+ */
313
+ "locale": 'pt-BR' | 'en-US';
314
+ /**
315
+ * Selection mode of the date picker.
316
+ * @type {'single' | 'multiple' | 'range'}
317
+ * @default 'single'
318
+ */
319
+ "mode": 'single' | 'multiple' | 'range';
320
+ /**
321
+ * An array of specific dates to be highlighted or processed.
322
+ * @type {string[] | string}
323
+ * @default []
324
+ * @example // Example usage period = ["2024-08-01", "2024-08-30"];
325
+ */
326
+ "period": string[] | string;
327
+ /**
328
+ * Display type of the date picker.
329
+ * @type {'dropdown' | 'static'}
330
+ * @default 'dropdown'
331
+ */
332
+ "type": 'dropdown' | 'static';
333
+ /**
334
+ * Width of the component.
335
+ * @type {string}
336
+ * @default '300px'
337
+ */
338
+ "width": string;
339
+ }
340
+ interface CuraCard {
341
+ /**
342
+ * Sets the color mode of the card. - 'light': Light mode for the card. - 'dark': Dark mode for the card.
343
+ * @type {'light' | 'dark'}
344
+ * @default 'light'
345
+ */
346
+ "colorMode": 'light' | 'dark';
347
+ /**
348
+ * Determines whether the card should have padding.
349
+ * @type {boolean}
350
+ * @default false
351
+ */
352
+ "hasPadding": boolean;
353
+ /**
354
+ * Determines whether the card should have a shadow effect.
355
+ * @type {boolean}
356
+ * @default false
357
+ */
358
+ "hasShadow": boolean;
359
+ /**
360
+ * The URL that the card should link to (if set). If not set, the card acts as a normal card.
361
+ * @type {string | undefined}
362
+ */
363
+ "href"?: string;
364
+ /**
365
+ * The target attribute for the link. Applicable only if `href` is set.
366
+ * @type {string}
367
+ * @default '_self'
368
+ */
369
+ "target": string;
370
+ /**
371
+ * Sets the type of the card background. - 'solid': A solid background. - 'transparent': A transparent background.
372
+ * @type {'solid' | 'transparent'}
373
+ * @default 'solid'
374
+ */
375
+ "type": 'solid' | 'transparent';
246
376
  }
247
377
  interface CuraCheckbox {
248
378
  /**
@@ -324,6 +454,56 @@ export namespace Components {
324
454
  */
325
455
  "spotColor": string;
326
456
  }
457
+ interface CuraDropdownSearch {
458
+ /**
459
+ * Custom icon name. Default: search.
460
+ */
461
+ "iconName": string;
462
+ /**
463
+ * The label for the dropdown search.
464
+ */
465
+ "label": string;
466
+ /**
467
+ * The name of the dropdown search component.
468
+ */
469
+ "name": string;
470
+ /**
471
+ * The placeholder text for the dropdown search.
472
+ */
473
+ "placeholder": string;
474
+ /**
475
+ * Indicates if the dropdown search is required.
476
+ */
477
+ "required": boolean;
478
+ /**
479
+ * Indicates if the dropdown search is selected.
480
+ */
481
+ "selected": boolean;
482
+ /**
483
+ * Define the status of the dropdown search.
484
+ */
485
+ "status": 'error' | 'default';
486
+ /**
487
+ * The value of the dropdown search.
488
+ */
489
+ "value": string;
490
+ }
491
+ interface CuraDropdownSearchOption {
492
+ /**
493
+ * Indicates if the dropdown search option is hovered.
494
+ */
495
+ "hovered": boolean;
496
+ /**
497
+ * Indicates if the dropdown search option is selected.
498
+ */
499
+ "selected": boolean;
500
+ /**
501
+ * The value of the dropdown search option.
502
+ */
503
+ "value": string;
504
+ }
505
+ interface CuraDropdownSearchOptionTitle {
506
+ }
327
507
  interface CuraHeading {
328
508
  /**
329
509
  * Text color. Values: Color from design system scheme. Default to the font color from the theme.
@@ -376,10 +556,18 @@ export namespace Components {
376
556
  * Helper text displayed below the input
377
557
  */
378
558
  "helperText"?: string;
559
+ /**
560
+ * Removes the alertCircle icon when necessary(as used in CuraDropdownSearch)
561
+ */
562
+ "hideErrorIcon": boolean;
379
563
  /**
380
564
  * Whether to display a cura icon (default: null)
381
565
  */
382
566
  "iconName"?: string;
567
+ /**
568
+ * Type of the input: 'text', 'number' (default: 'text')
569
+ */
570
+ "inputMode": string;
383
571
  /**
384
572
  * Whether the input is in loading state (default: false)
385
573
  */
@@ -387,12 +575,12 @@ export namespace Components {
387
575
  /**
388
576
  * Label text for the input
389
577
  */
390
- "label": string;
578
+ "label"?: string;
391
579
  /**
392
580
  * Advanced mask object to be used with IMask library
393
581
  * @see : https://imask.js.org/
394
582
  */
395
- "maskAdvanced"?: FactoryArg | string | null;
583
+ "maskAdvanced"?: any | string | null;
396
584
  /**
397
585
  * Mask preset for input formatting: 'cpf', 'cnpj', 'phone', 'date', etc. Uses IMask library.
398
586
  * @see : https://imask.js.org/
@@ -402,7 +590,7 @@ export namespace Components {
402
590
  * Regular expression for custom input masking. Uses IMask library.
403
591
  * @see : https://imask.js.org/
404
592
  */
405
- "maskRegex"?: MaskedRegExp['mask'] | string | null;
593
+ "maskRegex"?: string | null;
406
594
  /**
407
595
  * Maximum length of the input value (default: undefined)
408
596
  */
@@ -411,6 +599,10 @@ export namespace Components {
411
599
  * Mode of the input: 'default' or 'transparent' (default: 'default')
412
600
  */
413
601
  "mode": 'default' | 'transparent';
602
+ /**
603
+ * Name text for the input
604
+ */
605
+ "name"?: string;
414
606
  /**
415
607
  * Placeholder text for the input
416
608
  */
@@ -434,11 +626,11 @@ export namespace Components {
434
626
  /**
435
627
  * Type of the input: 'text', 'number' (default: 'text')
436
628
  */
437
- "type": 'text' | 'number';
629
+ "type": string;
438
630
  /**
439
631
  * Value of the input field
440
632
  */
441
- "value": string | number;
633
+ "value"?: string | number;
442
634
  }
443
635
  interface CuraLabel {
444
636
  /**
@@ -551,6 +743,46 @@ export namespace Components {
551
743
  */
552
744
  "value": string;
553
745
  }
746
+ interface CuraSelect {
747
+ /**
748
+ * Whether the select component is disabled. Reflects as an attribute in the DOM.
749
+ */
750
+ "disabled": boolean;
751
+ /**
752
+ * The label text for the select component. Reflects as an attribute in the DOM.
753
+ */
754
+ "label": string;
755
+ /**
756
+ * Display mode of the select component. Can be 'default' or 'transparent'.
757
+ */
758
+ "mode": 'default' | 'transparent';
759
+ /**
760
+ * Placeholder text for the input field. Reflects as an attribute in the DOM.
761
+ */
762
+ "placeholder": string;
763
+ /**
764
+ * Whether the select component is required. Reflects as an attribute in the DOM.
765
+ */
766
+ "required": boolean;
767
+ /**
768
+ * Size of the select component. Can be 'small', 'medium', or 'large'.
769
+ */
770
+ "size": 'small' | 'medium' | 'large';
771
+ /**
772
+ * Status of the select component. Can be 'success', 'error', or 'default'.
773
+ */
774
+ "status": 'success' | 'error' | 'default';
775
+ /**
776
+ * Current value of the select component. Reflects as an attribute in the DOM and is mutable.
777
+ */
778
+ "value": string;
779
+ }
780
+ interface CuraSelectOption {
781
+ "active": boolean;
782
+ "selected": boolean;
783
+ "size": 'xsmall' | 'small' | 'medium' | 'large';
784
+ "value": string;
785
+ }
554
786
  interface CuraSwitch {
555
787
  /**
556
788
  * Background style of the switch. Can be 'dark' or 'light'.
@@ -579,7 +811,7 @@ export namespace Components {
579
811
  /**
580
812
  * Position of the label relative to the switch. Can be 'left' or 'right'.
581
813
  */
582
- "position": "left" | "right";
814
+ "position": 'left' | 'right';
583
815
  /**
584
816
  * Size of the switch. Can be 'small', 'medium', or 'large'.
585
817
  */
@@ -594,10 +826,22 @@ export interface CuraButtonSelectCustomEvent<T> extends CustomEvent<T> {
594
826
  detail: T;
595
827
  target: HTMLCuraButtonSelectElement;
596
828
  }
829
+ export interface CuraCalendarCustomEvent<T> extends CustomEvent<T> {
830
+ detail: T;
831
+ target: HTMLCuraCalendarElement;
832
+ }
597
833
  export interface CuraCheckboxCustomEvent<T> extends CustomEvent<T> {
598
834
  detail: T;
599
835
  target: HTMLCuraCheckboxElement;
600
836
  }
837
+ export interface CuraDropdownSearchCustomEvent<T> extends CustomEvent<T> {
838
+ detail: T;
839
+ target: HTMLCuraDropdownSearchElement;
840
+ }
841
+ export interface CuraDropdownSearchOptionCustomEvent<T> extends CustomEvent<T> {
842
+ detail: T;
843
+ target: HTMLCuraDropdownSearchOptionElement;
844
+ }
601
845
  export interface CuraInputTextCustomEvent<T> extends CustomEvent<T> {
602
846
  detail: T;
603
847
  target: HTMLCuraInputTextElement;
@@ -606,6 +850,10 @@ export interface CuraRadioCustomEvent<T> extends CustomEvent<T> {
606
850
  detail: T;
607
851
  target: HTMLCuraRadioElement;
608
852
  }
853
+ export interface CuraSelectCustomEvent<T> extends CustomEvent<T> {
854
+ detail: T;
855
+ target: HTMLCuraSelectElement;
856
+ }
609
857
  export interface CuraSwitchCustomEvent<T> extends CustomEvent<T> {
610
858
  detail: T;
611
859
  target: HTMLCuraSwitchElement;
@@ -623,12 +871,29 @@ declare global {
623
871
  prototype: HTMLCuraAccordionItemElement;
624
872
  new (): HTMLCuraAccordionItemElement;
625
873
  };
874
+ interface HTMLCuraAlertElementEventMap {
875
+ "close": void;
876
+ }
626
877
  interface HTMLCuraAlertElement extends Components.CuraAlert, HTMLStencilElement {
878
+ addEventListener<K extends keyof HTMLCuraAlertElementEventMap>(type: K, listener: (this: HTMLCuraAlertElement, ev: CuraAlertCustomEvent<HTMLCuraAlertElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
879
+ addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
880
+ addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
881
+ addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
882
+ removeEventListener<K extends keyof HTMLCuraAlertElementEventMap>(type: K, listener: (this: HTMLCuraAlertElement, ev: CuraAlertCustomEvent<HTMLCuraAlertElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
883
+ removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
884
+ removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
885
+ removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
627
886
  }
628
887
  var HTMLCuraAlertElement: {
629
888
  prototype: HTMLCuraAlertElement;
630
889
  new (): HTMLCuraAlertElement;
631
890
  };
891
+ interface HTMLCuraAvatarElement extends Components.CuraAvatar, HTMLStencilElement {
892
+ }
893
+ var HTMLCuraAvatarElement: {
894
+ prototype: HTMLCuraAvatarElement;
895
+ new (): HTMLCuraAvatarElement;
896
+ };
632
897
  interface HTMLCuraButtonElement extends Components.CuraButton, HTMLStencilElement {
633
898
  }
634
899
  var HTMLCuraButtonElement: {
@@ -641,7 +906,18 @@ declare global {
641
906
  prototype: HTMLCuraButtonOutlineElement;
642
907
  new (): HTMLCuraButtonOutlineElement;
643
908
  };
909
+ interface HTMLCuraButtonSelectElementEventMap {
910
+ "onclick": { selected: boolean; };
911
+ }
644
912
  interface HTMLCuraButtonSelectElement extends Components.CuraButtonSelect, HTMLStencilElement {
913
+ addEventListener<K extends keyof HTMLCuraButtonSelectElementEventMap>(type: K, listener: (this: HTMLCuraButtonSelectElement, ev: CuraButtonSelectCustomEvent<HTMLCuraButtonSelectElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
914
+ addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
915
+ addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
916
+ addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
917
+ removeEventListener<K extends keyof HTMLCuraButtonSelectElementEventMap>(type: K, listener: (this: HTMLCuraButtonSelectElement, ev: CuraButtonSelectCustomEvent<HTMLCuraButtonSelectElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
918
+ removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
919
+ removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
920
+ removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
645
921
  }
646
922
  var HTMLCuraButtonSelectElement: {
647
923
  prototype: HTMLCuraButtonSelectElement;
@@ -653,7 +929,41 @@ declare global {
653
929
  prototype: HTMLCuraButtonTransparentElement;
654
930
  new (): HTMLCuraButtonTransparentElement;
655
931
  };
932
+ interface HTMLCuraCalendarElementEventMap {
933
+ "onchangeday": { days: Date[] };
934
+ }
935
+ interface HTMLCuraCalendarElement extends Components.CuraCalendar, HTMLStencilElement {
936
+ addEventListener<K extends keyof HTMLCuraCalendarElementEventMap>(type: K, listener: (this: HTMLCuraCalendarElement, ev: CuraCalendarCustomEvent<HTMLCuraCalendarElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
937
+ addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
938
+ addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
939
+ addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
940
+ removeEventListener<K extends keyof HTMLCuraCalendarElementEventMap>(type: K, listener: (this: HTMLCuraCalendarElement, ev: CuraCalendarCustomEvent<HTMLCuraCalendarElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
941
+ removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
942
+ removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
943
+ removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
944
+ }
945
+ var HTMLCuraCalendarElement: {
946
+ prototype: HTMLCuraCalendarElement;
947
+ new (): HTMLCuraCalendarElement;
948
+ };
949
+ interface HTMLCuraCardElement extends Components.CuraCard, HTMLStencilElement {
950
+ }
951
+ var HTMLCuraCardElement: {
952
+ prototype: HTMLCuraCardElement;
953
+ new (): HTMLCuraCardElement;
954
+ };
955
+ interface HTMLCuraCheckboxElementEventMap {
956
+ "onchange": { value: string; checked: boolean; indeterminate: boolean };
957
+ }
656
958
  interface HTMLCuraCheckboxElement extends Components.CuraCheckbox, HTMLStencilElement {
959
+ addEventListener<K extends keyof HTMLCuraCheckboxElementEventMap>(type: K, listener: (this: HTMLCuraCheckboxElement, ev: CuraCheckboxCustomEvent<HTMLCuraCheckboxElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
960
+ addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
961
+ addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
962
+ addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
963
+ removeEventListener<K extends keyof HTMLCuraCheckboxElementEventMap>(type: K, listener: (this: HTMLCuraCheckboxElement, ev: CuraCheckboxCustomEvent<HTMLCuraCheckboxElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
964
+ removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
965
+ removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
966
+ removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
657
967
  }
658
968
  var HTMLCuraCheckboxElement: {
659
969
  prototype: HTMLCuraCheckboxElement;
@@ -665,6 +975,47 @@ declare global {
665
975
  prototype: HTMLCuraDisplayElement;
666
976
  new (): HTMLCuraDisplayElement;
667
977
  };
978
+ interface HTMLCuraDropdownSearchElementEventMap {
979
+ "valueChanged": string;
980
+ "onselect": any;
981
+ }
982
+ interface HTMLCuraDropdownSearchElement extends Components.CuraDropdownSearch, HTMLStencilElement {
983
+ addEventListener<K extends keyof HTMLCuraDropdownSearchElementEventMap>(type: K, listener: (this: HTMLCuraDropdownSearchElement, ev: CuraDropdownSearchCustomEvent<HTMLCuraDropdownSearchElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
984
+ addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
985
+ addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
986
+ addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
987
+ removeEventListener<K extends keyof HTMLCuraDropdownSearchElementEventMap>(type: K, listener: (this: HTMLCuraDropdownSearchElement, ev: CuraDropdownSearchCustomEvent<HTMLCuraDropdownSearchElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
988
+ removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
989
+ removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
990
+ removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
991
+ }
992
+ var HTMLCuraDropdownSearchElement: {
993
+ prototype: HTMLCuraDropdownSearchElement;
994
+ new (): HTMLCuraDropdownSearchElement;
995
+ };
996
+ interface HTMLCuraDropdownSearchOptionElementEventMap {
997
+ "optionSelected": string;
998
+ }
999
+ interface HTMLCuraDropdownSearchOptionElement extends Components.CuraDropdownSearchOption, HTMLStencilElement {
1000
+ addEventListener<K extends keyof HTMLCuraDropdownSearchOptionElementEventMap>(type: K, listener: (this: HTMLCuraDropdownSearchOptionElement, ev: CuraDropdownSearchOptionCustomEvent<HTMLCuraDropdownSearchOptionElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
1001
+ addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
1002
+ addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
1003
+ addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
1004
+ removeEventListener<K extends keyof HTMLCuraDropdownSearchOptionElementEventMap>(type: K, listener: (this: HTMLCuraDropdownSearchOptionElement, ev: CuraDropdownSearchOptionCustomEvent<HTMLCuraDropdownSearchOptionElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
1005
+ removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
1006
+ removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
1007
+ removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
1008
+ }
1009
+ var HTMLCuraDropdownSearchOptionElement: {
1010
+ prototype: HTMLCuraDropdownSearchOptionElement;
1011
+ new (): HTMLCuraDropdownSearchOptionElement;
1012
+ };
1013
+ interface HTMLCuraDropdownSearchOptionTitleElement extends Components.CuraDropdownSearchOptionTitle, HTMLStencilElement {
1014
+ }
1015
+ var HTMLCuraDropdownSearchOptionTitleElement: {
1016
+ prototype: HTMLCuraDropdownSearchOptionTitleElement;
1017
+ new (): HTMLCuraDropdownSearchOptionTitleElement;
1018
+ };
668
1019
  interface HTMLCuraHeadingElement extends Components.CuraHeading, HTMLStencilElement {
669
1020
  }
670
1021
  var HTMLCuraHeadingElement: {
@@ -683,7 +1034,18 @@ declare global {
683
1034
  prototype: HTMLCuraIconsViewElement;
684
1035
  new (): HTMLCuraIconsViewElement;
685
1036
  };
1037
+ interface HTMLCuraInputTextElementEventMap {
1038
+ "valueChange": string | number;
1039
+ }
686
1040
  interface HTMLCuraInputTextElement extends Components.CuraInputText, HTMLStencilElement {
1041
+ addEventListener<K extends keyof HTMLCuraInputTextElementEventMap>(type: K, listener: (this: HTMLCuraInputTextElement, ev: CuraInputTextCustomEvent<HTMLCuraInputTextElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
1042
+ addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
1043
+ addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
1044
+ addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
1045
+ removeEventListener<K extends keyof HTMLCuraInputTextElementEventMap>(type: K, listener: (this: HTMLCuraInputTextElement, ev: CuraInputTextCustomEvent<HTMLCuraInputTextElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
1046
+ removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
1047
+ removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
1048
+ removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
687
1049
  }
688
1050
  var HTMLCuraInputTextElement: {
689
1051
  prototype: HTMLCuraInputTextElement;
@@ -713,13 +1075,58 @@ declare global {
713
1075
  prototype: HTMLCuraParagraphElement;
714
1076
  new (): HTMLCuraParagraphElement;
715
1077
  };
1078
+ interface HTMLCuraRadioElementEventMap {
1079
+ "onchange": { value: string, checked: boolean };
1080
+ }
716
1081
  interface HTMLCuraRadioElement extends Components.CuraRadio, HTMLStencilElement {
1082
+ addEventListener<K extends keyof HTMLCuraRadioElementEventMap>(type: K, listener: (this: HTMLCuraRadioElement, ev: CuraRadioCustomEvent<HTMLCuraRadioElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
1083
+ addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
1084
+ addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
1085
+ addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
1086
+ removeEventListener<K extends keyof HTMLCuraRadioElementEventMap>(type: K, listener: (this: HTMLCuraRadioElement, ev: CuraRadioCustomEvent<HTMLCuraRadioElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
1087
+ removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
1088
+ removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
1089
+ removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
717
1090
  }
718
1091
  var HTMLCuraRadioElement: {
719
1092
  prototype: HTMLCuraRadioElement;
720
1093
  new (): HTMLCuraRadioElement;
721
1094
  };
1095
+ interface HTMLCuraSelectElementEventMap {
1096
+ "selected": any;
1097
+ }
1098
+ interface HTMLCuraSelectElement extends Components.CuraSelect, HTMLStencilElement {
1099
+ addEventListener<K extends keyof HTMLCuraSelectElementEventMap>(type: K, listener: (this: HTMLCuraSelectElement, ev: CuraSelectCustomEvent<HTMLCuraSelectElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
1100
+ addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
1101
+ addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
1102
+ addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
1103
+ removeEventListener<K extends keyof HTMLCuraSelectElementEventMap>(type: K, listener: (this: HTMLCuraSelectElement, ev: CuraSelectCustomEvent<HTMLCuraSelectElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
1104
+ removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
1105
+ removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
1106
+ removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
1107
+ }
1108
+ var HTMLCuraSelectElement: {
1109
+ prototype: HTMLCuraSelectElement;
1110
+ new (): HTMLCuraSelectElement;
1111
+ };
1112
+ interface HTMLCuraSelectOptionElement extends Components.CuraSelectOption, HTMLStencilElement {
1113
+ }
1114
+ var HTMLCuraSelectOptionElement: {
1115
+ prototype: HTMLCuraSelectOptionElement;
1116
+ new (): HTMLCuraSelectOptionElement;
1117
+ };
1118
+ interface HTMLCuraSwitchElementEventMap {
1119
+ "onchange": { checked: boolean };
1120
+ }
722
1121
  interface HTMLCuraSwitchElement extends Components.CuraSwitch, HTMLStencilElement {
1122
+ addEventListener<K extends keyof HTMLCuraSwitchElementEventMap>(type: K, listener: (this: HTMLCuraSwitchElement, ev: CuraSwitchCustomEvent<HTMLCuraSwitchElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
1123
+ addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
1124
+ addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
1125
+ addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
1126
+ removeEventListener<K extends keyof HTMLCuraSwitchElementEventMap>(type: K, listener: (this: HTMLCuraSwitchElement, ev: CuraSwitchCustomEvent<HTMLCuraSwitchElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
1127
+ removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
1128
+ removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
1129
+ removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
723
1130
  }
724
1131
  var HTMLCuraSwitchElement: {
725
1132
  prototype: HTMLCuraSwitchElement;
@@ -729,12 +1136,18 @@ declare global {
729
1136
  "cura-accordion": HTMLCuraAccordionElement;
730
1137
  "cura-accordion-item": HTMLCuraAccordionItemElement;
731
1138
  "cura-alert": HTMLCuraAlertElement;
1139
+ "cura-avatar": HTMLCuraAvatarElement;
732
1140
  "cura-button": HTMLCuraButtonElement;
733
1141
  "cura-button-outline": HTMLCuraButtonOutlineElement;
734
1142
  "cura-button-select": HTMLCuraButtonSelectElement;
735
1143
  "cura-button-transparent": HTMLCuraButtonTransparentElement;
1144
+ "cura-calendar": HTMLCuraCalendarElement;
1145
+ "cura-card": HTMLCuraCardElement;
736
1146
  "cura-checkbox": HTMLCuraCheckboxElement;
737
1147
  "cura-display": HTMLCuraDisplayElement;
1148
+ "cura-dropdown-search": HTMLCuraDropdownSearchElement;
1149
+ "cura-dropdown-search-option": HTMLCuraDropdownSearchOptionElement;
1150
+ "cura-dropdown-search-option-title": HTMLCuraDropdownSearchOptionTitleElement;
738
1151
  "cura-heading": HTMLCuraHeadingElement;
739
1152
  "cura-icon": HTMLCuraIconElement;
740
1153
  "cura-icons-view": HTMLCuraIconsViewElement;
@@ -744,6 +1157,8 @@ declare global {
744
1157
  "cura-page-template": HTMLCuraPageTemplateElement;
745
1158
  "cura-paragraph": HTMLCuraParagraphElement;
746
1159
  "cura-radio": HTMLCuraRadioElement;
1160
+ "cura-select": HTMLCuraSelectElement;
1161
+ "cura-select-option": HTMLCuraSelectOptionElement;
747
1162
  "cura-switch": HTMLCuraSwitchElement;
748
1163
  }
749
1164
  }
@@ -799,11 +1214,27 @@ declare namespace LocalJSX {
799
1214
  interface CuraAlert {
800
1215
  "closeable"?: boolean;
801
1216
  "floating"?: boolean;
1217
+ "icon"?: string;
802
1218
  "label"?: string;
803
1219
  "onClose"?: (event: CuraAlertCustomEvent<void>) => void;
804
1220
  "type"?: 'info' | 'success' | 'warning' | 'error';
805
1221
  }
1222
+ interface CuraAvatar {
1223
+ "backgroundColor"?: string;
1224
+ "border"?: boolean;
1225
+ "borderColor"?: string;
1226
+ "borderRadius"?: string;
1227
+ "floating"?: boolean;
1228
+ "imageSrc"?: string;
1229
+ "imageSrcDefault"?: string;
1230
+ "size"?: '80' | '40' | '32' | '24';
1231
+ "type"?: 'default' | 'branding';
1232
+ }
806
1233
  interface CuraButton {
1234
+ /**
1235
+ * Set the background color to dark or light.
1236
+ */
1237
+ "background"?: 'dark' | 'light';
807
1238
  /**
808
1239
  * Color base from color scheme. Default: accent.
809
1240
  */
@@ -852,8 +1283,16 @@ declare namespace LocalJSX {
852
1283
  * Set text aligment for the button label. Vales: left (default) | center | right.
853
1284
  */
854
1285
  "textAlign"?: 'left' | 'center' | 'right';
1286
+ /**
1287
+ * Button type: button (default) | submit | reset
1288
+ */
1289
+ "type"?: 'button' | 'reset' | 'submit';
855
1290
  }
856
1291
  interface CuraButtonOutline {
1292
+ /**
1293
+ * Set the font background to dark or light.
1294
+ */
1295
+ "background"?: 'dark' | 'light';
857
1296
  /**
858
1297
  * Color base from color scheme. Default: accent.
859
1298
  */
@@ -902,6 +1341,10 @@ declare namespace LocalJSX {
902
1341
  * Set text aligment for the button label. Vales: left (default) | center | right.
903
1342
  */
904
1343
  "textAlign"?: 'left' | 'center' | 'right';
1344
+ /**
1345
+ * Button type: button (default) | submit | reset
1346
+ */
1347
+ "type"?: 'button' | 'reset' | 'submit';
905
1348
  }
906
1349
  interface CuraButtonSelect {
907
1350
  /**
@@ -983,6 +1426,116 @@ declare namespace LocalJSX {
983
1426
  * Set text aligment for the button label. Vales: left (default) | center | right.
984
1427
  */
985
1428
  "textAlign"?: 'left' | 'center' | 'right';
1429
+ /**
1430
+ * Button type: button (default) | submit | reset
1431
+ */
1432
+ "type"?: 'button' | 'reset' | 'submit';
1433
+ }
1434
+ interface CuraCalendar {
1435
+ /**
1436
+ * Date format used for display and parsing.
1437
+ * @type {string}
1438
+ * @default 'yyyy-MM-dd'
1439
+ */
1440
+ "dateFormat"?: string;
1441
+ /**
1442
+ * Default dates selected on initialization.
1443
+ * @type {string[]}
1444
+ * @default []
1445
+ */
1446
+ "defaultDate"?: string[];
1447
+ /**
1448
+ * List of dates to disable.
1449
+ * @type {string[]}
1450
+ * @default []
1451
+ */
1452
+ "disable"?: string[];
1453
+ /**
1454
+ * List of dates to enable.
1455
+ * @type {string[]}
1456
+ * @default []
1457
+ */
1458
+ "enable"?: string[];
1459
+ /**
1460
+ * Limits the selectable date range.
1461
+ * @type {Date | null}
1462
+ * @default null
1463
+ */
1464
+ "limitRange"?: number | null;
1465
+ /**
1466
+ * Locale for date formatting.
1467
+ * @type {'pt-BR' | 'en-US'}
1468
+ * @default 'pt-BR'
1469
+ */
1470
+ "locale"?: 'pt-BR' | 'en-US';
1471
+ /**
1472
+ * Selection mode of the date picker.
1473
+ * @type {'single' | 'multiple' | 'range'}
1474
+ * @default 'single'
1475
+ */
1476
+ "mode"?: 'single' | 'multiple' | 'range';
1477
+ /**
1478
+ * Event emitted when a day is changed.
1479
+ * @event
1480
+ * @type {EventEmitter<{ days: Date[] }>}
1481
+ */
1482
+ "onOnchangeday"?: (event: CuraCalendarCustomEvent<{ days: Date[] }>) => void;
1483
+ /**
1484
+ * An array of specific dates to be highlighted or processed.
1485
+ * @type {string[] | string}
1486
+ * @default []
1487
+ * @example // Example usage period = ["2024-08-01", "2024-08-30"];
1488
+ */
1489
+ "period"?: string[] | string;
1490
+ /**
1491
+ * Display type of the date picker.
1492
+ * @type {'dropdown' | 'static'}
1493
+ * @default 'dropdown'
1494
+ */
1495
+ "type"?: 'dropdown' | 'static';
1496
+ /**
1497
+ * Width of the component.
1498
+ * @type {string}
1499
+ * @default '300px'
1500
+ */
1501
+ "width"?: string;
1502
+ }
1503
+ interface CuraCard {
1504
+ /**
1505
+ * Sets the color mode of the card. - 'light': Light mode for the card. - 'dark': Dark mode for the card.
1506
+ * @type {'light' | 'dark'}
1507
+ * @default 'light'
1508
+ */
1509
+ "colorMode"?: 'light' | 'dark';
1510
+ /**
1511
+ * Determines whether the card should have padding.
1512
+ * @type {boolean}
1513
+ * @default false
1514
+ */
1515
+ "hasPadding"?: boolean;
1516
+ /**
1517
+ * Determines whether the card should have a shadow effect.
1518
+ * @type {boolean}
1519
+ * @default false
1520
+ */
1521
+ "hasShadow"?: boolean;
1522
+ /**
1523
+ * The URL that the card should link to (if set). If not set, the card acts as a normal card.
1524
+ * @type {string | undefined}
1525
+ */
1526
+ "href"?: string;
1527
+ /**
1528
+ * The target attribute for the link. Applicable only if `href` is set.
1529
+ * @type {string}
1530
+ * @default '_self'
1531
+ */
1532
+ "target"?: string;
1533
+ /**
1534
+ * Sets the type of the card background. - 'solid': A solid background. - 'transparent': A transparent background.
1535
+ * @type {'solid' | 'transparent'}
1536
+ * @default 'solid'
1537
+ */
1538
+ "type"?: 'solid' | 'transparent';
986
1539
  }
987
1540
  interface CuraCheckbox {
988
1541
  /**
@@ -1017,7 +1570,7 @@ declare namespace LocalJSX {
1017
1570
  * Name attribute of the checkbox.
1018
1571
  */
1019
1572
  "name"?: string;
1020
- "onOnchange"?: (event: CuraCheckboxCustomEvent<{ value: string, checked: boolean, indeterminate: boolean }>) => void;
1573
+ "onOnchange"?: (event: CuraCheckboxCustomEvent<{ value: string; checked: boolean; indeterminate: boolean }>) => void;
1021
1574
  /**
1022
1575
  * Specifies the tabindex of the checkbox.
1023
1576
  */
@@ -1065,6 +1618,65 @@ declare namespace LocalJSX {
1065
1618
  */
1066
1619
  "spotColor"?: string;
1067
1620
  }
1621
+ interface CuraDropdownSearch {
1622
+ /**
1623
+ * Custom icon name. Default: search.
1624
+ */
1625
+ "iconName"?: string;
1626
+ /**
1627
+ * The label for the dropdown search.
1628
+ */
1629
+ "label"?: string;
1630
+ /**
1631
+ * The name of the dropdown search component.
1632
+ */
1633
+ "name"?: string;
1634
+ "onOnselect"?: (event: CuraDropdownSearchCustomEvent<any>) => void;
1635
+ /**
1636
+ * Event emitted when the value changes.
1637
+ */
1638
+ "onValueChanged"?: (event: CuraDropdownSearchCustomEvent<string>) => void;
1639
+ /**
1640
+ * The placeholder text for the dropdown search.
1641
+ */
1642
+ "placeholder"?: string;
1643
+ /**
1644
+ * Indicates if the dropdown search is required.
1645
+ */
1646
+ "required"?: boolean;
1647
+ /**
1648
+ * Indicates if the dropdown search is selected.
1649
+ */
1650
+ "selected"?: boolean;
1651
+ /**
1652
+ * Define the status of the dropdown search.
1653
+ */
1654
+ "status"?: 'error' | 'default';
1655
+ /**
1656
+ * The value of the dropdown search.
1657
+ */
1658
+ "value"?: string;
1659
+ }
1660
+ interface CuraDropdownSearchOption {
1661
+ /**
1662
+ * Indicates if the dropdown search option is hovered.
1663
+ */
1664
+ "hovered"?: boolean;
1665
+ /**
1666
+ * Event emitted when the option is selected.
1667
+ */
1668
+ "onOptionSelected"?: (event: CuraDropdownSearchOptionCustomEvent<string>) => void;
1669
+ /**
1670
+ * Indicates if the dropdown search option is selected.
1671
+ */
1672
+ "selected"?: boolean;
1673
+ /**
1674
+ * The value of the dropdown search option.
1675
+ */
1676
+ "value"?: string;
1677
+ }
1678
+ interface CuraDropdownSearchOptionTitle {
1679
+ }
1068
1680
  interface CuraHeading {
1069
1681
  /**
1070
1682
  * Text color. Values: Color from design system scheme. Default to the font color from the theme.
@@ -1117,10 +1729,18 @@ declare namespace LocalJSX {
1117
1729
  * Helper text displayed below the input
1118
1730
  */
1119
1731
  "helperText"?: string;
1732
+ /**
1733
+ * Removes the alertCircle icon when necessary(as used in CuraDropdownSearch)
1734
+ */
1735
+ "hideErrorIcon"?: boolean;
1120
1736
  /**
1121
1737
  * Whether to display a cura icon (default: null)
1122
1738
  */
1123
1739
  "iconName"?: string;
1740
+ /**
1741
+ * Type of the input: 'text', 'number' (default: 'text')
1742
+ */
1743
+ "inputMode"?: string;
1124
1744
  /**
1125
1745
  * Whether the input is in loading state (default: false)
1126
1746
  */
@@ -1133,7 +1753,7 @@ declare namespace LocalJSX {
1133
1753
  * Advanced mask object to be used with IMask library
1134
1754
  * @see : https://imask.js.org/
1135
1755
  */
1136
- "maskAdvanced"?: FactoryArg | string | null;
1756
+ "maskAdvanced"?: any | string | null;
1137
1757
  /**
1138
1758
  * Mask preset for input formatting: 'cpf', 'cnpj', 'phone', 'date', etc. Uses IMask library.
1139
1759
  * @see : https://imask.js.org/
@@ -1143,7 +1763,7 @@ declare namespace LocalJSX {
1143
1763
  * Regular expression for custom input masking. Uses IMask library.
1144
1764
  * @see : https://imask.js.org/
1145
1765
  */
1146
- "maskRegex"?: MaskedRegExp['mask'] | string | null;
1766
+ "maskRegex"?: string | null;
1147
1767
  /**
1148
1768
  * Maximum length of the input value (default: undefined)
1149
1769
  */
@@ -1152,6 +1772,10 @@ declare namespace LocalJSX {
1152
1772
  * Mode of the input: 'default' or 'transparent' (default: 'default')
1153
1773
  */
1154
1774
  "mode"?: 'default' | 'transparent';
1775
+ /**
1776
+ * Name text for the input
1777
+ */
1778
+ "name"?: string;
1155
1779
  /**
1156
1780
  * Emitted when the value of the input changes
1157
1781
  * @type {EventEmitter<string | number>}
@@ -1180,7 +1804,7 @@ declare namespace LocalJSX {
1180
1804
  /**
1181
1805
  * Type of the input: 'text', 'number' (default: 'text')
1182
1806
  */
1183
- "type"?: 'text' | 'number';
1807
+ "type"?: string;
1184
1808
  /**
1185
1809
  * Value of the input field
1186
1810
  */
@@ -1298,6 +1922,50 @@ declare namespace LocalJSX {
1298
1922
  */
1299
1923
  "value"?: string;
1300
1924
  }
1925
+ interface CuraSelect {
1926
+ /**
1927
+ * Whether the select component is disabled. Reflects as an attribute in the DOM.
1928
+ */
1929
+ "disabled"?: boolean;
1930
+ /**
1931
+ * The label text for the select component. Reflects as an attribute in the DOM.
1932
+ */
1933
+ "label"?: string;
1934
+ /**
1935
+ * Display mode of the select component. Can be 'default' or 'transparent'.
1936
+ */
1937
+ "mode"?: 'default' | 'transparent';
1938
+ /**
1939
+ * Event emitted when an option is selected.
1940
+ */
1941
+ "onSelected"?: (event: CuraSelectCustomEvent<any>) => void;
1942
+ /**
1943
+ * Placeholder text for the input field. Reflects as an attribute in the DOM.
1944
+ */
1945
+ "placeholder"?: string;
1946
+ /**
1947
+ * Whether the select component is required. Reflects as an attribute in the DOM.
1948
+ */
1949
+ "required"?: boolean;
1950
+ /**
1951
+ * Size of the select component. Can be 'small', 'medium', or 'large'.
1952
+ */
1953
+ "size"?: 'small' | 'medium' | 'large';
1954
+ /**
1955
+ * Status of the select component. Can be 'success', 'error', or 'default'.
1956
+ */
1957
+ "status"?: 'success' | 'error' | 'default';
1958
+ /**
1959
+ * Current value of the select component. Reflects as an attribute in the DOM and is mutable.
1960
+ */
1961
+ "value"?: string;
1962
+ }
1963
+ interface CuraSelectOption {
1964
+ "active"?: boolean;
1965
+ "selected"?: boolean;
1966
+ "size"?: 'xsmall' | 'small' | 'medium' | 'large';
1967
+ "value"?: string;
1968
+ }
1301
1969
  interface CuraSwitch {
1302
1970
  /**
1303
1971
  * Background style of the switch. Can be 'dark' or 'light'.
@@ -1327,7 +1995,7 @@ declare namespace LocalJSX {
1327
1995
  /**
1328
1996
  * Position of the label relative to the switch. Can be 'left' or 'right'.
1329
1997
  */
1330
- "position"?: "left" | "right";
1998
+ "position"?: 'left' | 'right';
1331
1999
  /**
1332
2000
  * Size of the switch. Can be 'small', 'medium', or 'large'.
1333
2001
  */
@@ -1337,12 +2005,18 @@ declare namespace LocalJSX {
1337
2005
  "cura-accordion": CuraAccordion;
1338
2006
  "cura-accordion-item": CuraAccordionItem;
1339
2007
  "cura-alert": CuraAlert;
2008
+ "cura-avatar": CuraAvatar;
1340
2009
  "cura-button": CuraButton;
1341
2010
  "cura-button-outline": CuraButtonOutline;
1342
2011
  "cura-button-select": CuraButtonSelect;
1343
2012
  "cura-button-transparent": CuraButtonTransparent;
2013
+ "cura-calendar": CuraCalendar;
2014
+ "cura-card": CuraCard;
1344
2015
  "cura-checkbox": CuraCheckbox;
1345
2016
  "cura-display": CuraDisplay;
2017
+ "cura-dropdown-search": CuraDropdownSearch;
2018
+ "cura-dropdown-search-option": CuraDropdownSearchOption;
2019
+ "cura-dropdown-search-option-title": CuraDropdownSearchOptionTitle;
1346
2020
  "cura-heading": CuraHeading;
1347
2021
  "cura-icon": CuraIcon;
1348
2022
  "cura-icons-view": CuraIconsView;
@@ -1352,6 +2026,8 @@ declare namespace LocalJSX {
1352
2026
  "cura-page-template": CuraPageTemplate;
1353
2027
  "cura-paragraph": CuraParagraph;
1354
2028
  "cura-radio": CuraRadio;
2029
+ "cura-select": CuraSelect;
2030
+ "cura-select-option": CuraSelectOption;
1355
2031
  "cura-switch": CuraSwitch;
1356
2032
  }
1357
2033
  }
@@ -1362,12 +2038,18 @@ declare module "@stencil/core" {
1362
2038
  "cura-accordion": LocalJSX.CuraAccordion & JSXBase.HTMLAttributes<HTMLCuraAccordionElement>;
1363
2039
  "cura-accordion-item": LocalJSX.CuraAccordionItem & JSXBase.HTMLAttributes<HTMLCuraAccordionItemElement>;
1364
2040
  "cura-alert": LocalJSX.CuraAlert & JSXBase.HTMLAttributes<HTMLCuraAlertElement>;
2041
+ "cura-avatar": LocalJSX.CuraAvatar & JSXBase.HTMLAttributes<HTMLCuraAvatarElement>;
1365
2042
  "cura-button": LocalJSX.CuraButton & JSXBase.HTMLAttributes<HTMLCuraButtonElement>;
1366
2043
  "cura-button-outline": LocalJSX.CuraButtonOutline & JSXBase.HTMLAttributes<HTMLCuraButtonOutlineElement>;
1367
2044
  "cura-button-select": LocalJSX.CuraButtonSelect & JSXBase.HTMLAttributes<HTMLCuraButtonSelectElement>;
1368
2045
  "cura-button-transparent": LocalJSX.CuraButtonTransparent & JSXBase.HTMLAttributes<HTMLCuraButtonTransparentElement>;
2046
+ "cura-calendar": LocalJSX.CuraCalendar & JSXBase.HTMLAttributes<HTMLCuraCalendarElement>;
2047
+ "cura-card": LocalJSX.CuraCard & JSXBase.HTMLAttributes<HTMLCuraCardElement>;
1369
2048
  "cura-checkbox": LocalJSX.CuraCheckbox & JSXBase.HTMLAttributes<HTMLCuraCheckboxElement>;
1370
2049
  "cura-display": LocalJSX.CuraDisplay & JSXBase.HTMLAttributes<HTMLCuraDisplayElement>;
2050
+ "cura-dropdown-search": LocalJSX.CuraDropdownSearch & JSXBase.HTMLAttributes<HTMLCuraDropdownSearchElement>;
2051
+ "cura-dropdown-search-option": LocalJSX.CuraDropdownSearchOption & JSXBase.HTMLAttributes<HTMLCuraDropdownSearchOptionElement>;
2052
+ "cura-dropdown-search-option-title": LocalJSX.CuraDropdownSearchOptionTitle & JSXBase.HTMLAttributes<HTMLCuraDropdownSearchOptionTitleElement>;
1371
2053
  "cura-heading": LocalJSX.CuraHeading & JSXBase.HTMLAttributes<HTMLCuraHeadingElement>;
1372
2054
  "cura-icon": LocalJSX.CuraIcon & JSXBase.HTMLAttributes<HTMLCuraIconElement>;
1373
2055
  "cura-icons-view": LocalJSX.CuraIconsView & JSXBase.HTMLAttributes<HTMLCuraIconsViewElement>;
@@ -1377,6 +2059,8 @@ declare module "@stencil/core" {
1377
2059
  "cura-page-template": LocalJSX.CuraPageTemplate & JSXBase.HTMLAttributes<HTMLCuraPageTemplateElement>;
1378
2060
  "cura-paragraph": LocalJSX.CuraParagraph & JSXBase.HTMLAttributes<HTMLCuraParagraphElement>;
1379
2061
  "cura-radio": LocalJSX.CuraRadio & JSXBase.HTMLAttributes<HTMLCuraRadioElement>;
2062
+ "cura-select": LocalJSX.CuraSelect & JSXBase.HTMLAttributes<HTMLCuraSelectElement>;
2063
+ "cura-select-option": LocalJSX.CuraSelectOption & JSXBase.HTMLAttributes<HTMLCuraSelectOptionElement>;
1380
2064
  "cura-switch": LocalJSX.CuraSwitch & JSXBase.HTMLAttributes<HTMLCuraSwitchElement>;
1381
2065
  }
1382
2066
  }