@rededor/cura 0.5.2 → 0.5.4

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 (283) hide show
  1. package/dist/assets/icons/iconset-default-list.ts +1 -1
  2. package/dist/assets/icons/iconset-default-tmp.svg +4 -0
  3. package/dist/assets/icons/iconset-default.svg +1 -1
  4. package/dist/cjs/cura-accordion_8.cjs.entry.js +10 -17
  5. package/dist/cjs/cura-accordion_8.cjs.entry.js.map +1 -1
  6. package/dist/cjs/cura-alert.cjs.entry.js +67 -0
  7. package/dist/cjs/cura-alert.cjs.entry.js.map +1 -0
  8. package/dist/cjs/cura-button-outline.cjs.entry.js +1 -1
  9. package/dist/cjs/cura-button-select.cjs.entry.js +97 -0
  10. package/dist/cjs/cura-button-select.cjs.entry.js.map +1 -0
  11. package/dist/cjs/cura-button-transparent.cjs.entry.js +1 -1
  12. package/dist/cjs/cura-checkbox.cjs.entry.js +145 -0
  13. package/dist/cjs/cura-checkbox.cjs.entry.js.map +1 -0
  14. package/dist/cjs/cura-display.cjs.entry.js +1 -1
  15. package/dist/cjs/cura-forms.definitions-11be2ebd.js +20 -0
  16. package/dist/cjs/cura-forms.definitions-11be2ebd.js.map +1 -0
  17. package/dist/cjs/cura-icon.definitions-b73b0178.js +21 -0
  18. package/dist/cjs/cura-icon.definitions-b73b0178.js.map +1 -0
  19. package/dist/cjs/cura-icons-view.cjs.entry.js +13 -6
  20. package/dist/cjs/cura-icons-view.cjs.entry.js.map +1 -1
  21. package/dist/cjs/cura-input-text.cjs.entry.js +3907 -0
  22. package/dist/cjs/cura-input-text.cjs.entry.js.map +1 -0
  23. package/dist/cjs/cura-label.cjs.entry.js +1 -1
  24. package/dist/cjs/cura-radio.cjs.entry.js +115 -0
  25. package/dist/cjs/cura-radio.cjs.entry.js.map +1 -0
  26. package/dist/cjs/cura-switch.cjs.entry.js +90 -0
  27. package/dist/cjs/cura-switch.cjs.entry.js.map +1 -0
  28. package/dist/cjs/cura.cjs.js +2 -2
  29. package/dist/cjs/{index-404d93e9.js → index-7616f620.js} +35 -1
  30. package/dist/cjs/index-7616f620.js.map +1 -0
  31. package/dist/cjs/loader.cjs.js +2 -2
  32. package/dist/collection/assets/icons/iconset-default-list.js +1 -1
  33. package/dist/collection/assets/icons/iconset-default-list.js.map +1 -1
  34. package/dist/collection/assets/icons/iconset-default-tmp.svg +4 -0
  35. package/dist/collection/assets/icons/iconset-default.svg +1 -1
  36. package/dist/collection/assets-raw/icons/default/swap.svg +3 -0
  37. package/dist/collection/collection-manifest.json +6 -0
  38. package/dist/collection/components/buttons/cura-button/cura-button.css +4 -0
  39. package/dist/collection/components/buttons/cura-button/cura-button.stories.js +2 -2
  40. package/dist/collection/components/buttons/cura-button/cura-button.stories.js.map +1 -1
  41. package/dist/collection/components/buttons/cura-button-outline/cura-button-outline.css +4 -0
  42. package/dist/collection/components/buttons/cura-button-outline/cura-button-outline.stories.js +2 -2
  43. package/dist/collection/components/buttons/cura-button-outline/cura-button-outline.stories.js.map +1 -1
  44. package/dist/collection/components/buttons/cura-button-select/cura-button-select.css +139 -0
  45. package/dist/collection/components/buttons/cura-button-select/cura-button-select.js +263 -0
  46. package/dist/collection/components/buttons/cura-button-select/cura-button-select.js.map +1 -0
  47. package/dist/collection/components/buttons/cura-button-transparent/cura-button-transparent.css +4 -0
  48. package/dist/collection/components/buttons/cura-button-transparent/cura-button-transparent.stories.js +2 -2
  49. package/dist/collection/components/buttons/cura-button-transparent/cura-button-transparent.stories.js.map +1 -1
  50. package/dist/collection/components/cura-alert/cura-alert.css +30 -0
  51. package/dist/collection/components/cura-alert/cura-alert.js +167 -0
  52. package/dist/collection/components/cura-alert/cura-alert.js.map +1 -0
  53. package/dist/collection/components/cura-alert/cura-alert.stories.js +95 -0
  54. package/dist/collection/components/cura-alert/cura-alert.stories.js.map +1 -0
  55. package/dist/collection/components/cura-icon/cura-icon.definitions.js +15 -0
  56. package/dist/collection/components/cura-icon/cura-icon.definitions.js.map +1 -0
  57. package/dist/collection/components/cura-icon/cura-icon.js +9 -16
  58. package/dist/collection/components/cura-icon/cura-icon.js.map +1 -1
  59. package/dist/collection/components/cura-icon/cura-icon.stories.js +7 -6
  60. package/dist/collection/components/cura-icon/cura-icon.stories.js.map +1 -1
  61. package/dist/collection/components/cura-icons-view/cura-icons-view.css +16 -17
  62. package/dist/collection/components/cura-icons-view/cura-icons-view.js +10 -3
  63. package/dist/collection/components/cura-icons-view/cura-icons-view.js.map +1 -1
  64. package/dist/collection/components/forms/cura-checkbox/cura-checkbox.css +163 -0
  65. package/dist/collection/components/forms/cura-checkbox/cura-checkbox.js +432 -0
  66. package/dist/collection/components/forms/cura-checkbox/cura-checkbox.js.map +1 -0
  67. package/dist/collection/components/forms/cura-checkbox/cura-checkbox.stories.js +196 -0
  68. package/dist/collection/components/forms/cura-checkbox/cura-checkbox.stories.js.map +1 -0
  69. package/dist/collection/components/forms/cura-forms.definitions.js +15 -0
  70. package/dist/collection/components/forms/cura-forms.definitions.js.map +1 -0
  71. package/dist/collection/components/forms/cura-input-text/cura-input-text.css +326 -0
  72. package/dist/collection/components/forms/cura-input-text/cura-input-text.js +655 -0
  73. package/dist/collection/components/forms/cura-input-text/cura-input-text.js.map +1 -0
  74. package/dist/collection/components/forms/cura-input-text/cura-input-text.stories.js +224 -0
  75. package/dist/collection/components/forms/cura-input-text/cura-input-text.stories.js.map +1 -0
  76. package/dist/collection/components/forms/cura-input-text/mask-presets/input-mask-presets.js +46 -0
  77. package/dist/collection/components/forms/cura-input-text/mask-presets/input-mask-presets.js.map +1 -0
  78. package/dist/collection/components/forms/cura-radio/cura-radio.css +146 -0
  79. package/dist/collection/components/forms/cura-radio/cura-radio.js +366 -0
  80. package/dist/collection/components/forms/cura-radio/cura-radio.js.map +1 -0
  81. package/dist/collection/components/forms/cura-radio/cura-radio.stories.js +175 -0
  82. package/dist/collection/components/forms/cura-radio/cura-radio.stories.js.map +1 -0
  83. package/dist/collection/components/forms/cura-switch/cura-switch.css +100 -0
  84. package/dist/collection/components/forms/cura-switch/cura-switch.js +267 -0
  85. package/dist/collection/components/forms/cura-switch/cura-switch.js.map +1 -0
  86. package/dist/collection/components/forms/cura-switch/cura-switch.stories.js +137 -0
  87. package/dist/collection/components/forms/cura-switch/cura-switch.stories.js.map +1 -0
  88. package/dist/components/cura-alert.d.ts +11 -0
  89. package/dist/components/cura-alert.js +105 -0
  90. package/dist/components/cura-alert.js.map +1 -0
  91. package/dist/components/cura-button-select.d.ts +11 -0
  92. package/dist/components/cura-button-select.js +127 -0
  93. package/dist/components/cura-button-select.js.map +1 -0
  94. package/dist/components/cura-checkbox.d.ts +11 -0
  95. package/dist/components/cura-checkbox.js +193 -0
  96. package/dist/components/cura-checkbox.js.map +1 -0
  97. package/dist/components/cura-forms.definitions.js +18 -0
  98. package/dist/components/cura-forms.definitions.js.map +1 -0
  99. package/dist/components/cura-heading.js +1 -100
  100. package/dist/components/cura-heading.js.map +1 -1
  101. package/dist/components/cura-heading2.js +104 -0
  102. package/dist/components/cura-heading2.js.map +1 -0
  103. package/dist/components/cura-icon2.js +24 -17
  104. package/dist/components/cura-icon2.js.map +1 -1
  105. package/dist/components/cura-icons-view.js +31 -7
  106. package/dist/components/cura-icons-view.js.map +1 -1
  107. package/dist/components/cura-input-text.d.ts +11 -0
  108. package/dist/components/cura-input-text.js +3961 -0
  109. package/dist/components/cura-input-text.js.map +1 -0
  110. package/dist/components/cura-label.js +1 -84
  111. package/dist/components/cura-label.js.map +1 -1
  112. package/dist/components/cura-label2.js +88 -0
  113. package/dist/components/cura-label2.js.map +1 -0
  114. package/dist/components/cura-paragraph.js +1 -82
  115. package/dist/components/cura-paragraph.js.map +1 -1
  116. package/dist/components/cura-paragraph2.js +86 -0
  117. package/dist/components/cura-paragraph2.js.map +1 -0
  118. package/dist/components/cura-radio.d.ts +11 -0
  119. package/dist/components/cura-radio.js +155 -0
  120. package/dist/components/cura-radio.js.map +1 -0
  121. package/dist/components/cura-switch.d.ts +11 -0
  122. package/dist/components/cura-switch.js +120 -0
  123. package/dist/components/cura-switch.js.map +1 -0
  124. package/dist/components/index.js +12 -0
  125. package/dist/components/index.js.map +1 -1
  126. package/dist/cura/cura.esm.js +1 -1
  127. package/dist/cura/cura.esm.js.map +1 -1
  128. package/dist/cura/cura.js +1 -1
  129. package/dist/cura/p-1228e771.entry.js +2 -0
  130. package/dist/cura/p-1228e771.entry.js.map +1 -0
  131. package/dist/cura/p-2d42ccf4.entry.js +2 -0
  132. package/dist/cura/p-2d42ccf4.entry.js.map +1 -0
  133. package/dist/cura/p-3688570d.js +2 -0
  134. package/dist/cura/p-3688570d.js.map +1 -0
  135. package/dist/cura/p-36a83bc7.system.js +3 -0
  136. package/dist/cura/p-36a83bc7.system.js.map +1 -0
  137. package/dist/cura/p-3f3355f3.system.entry.js +2 -0
  138. package/dist/cura/p-3f3355f3.system.entry.js.map +1 -0
  139. package/dist/cura/p-3f5de5e2.entry.js +2 -0
  140. package/dist/cura/p-3f5de5e2.entry.js.map +1 -0
  141. package/dist/cura/p-4db87e8d.system.entry.js +2 -0
  142. package/dist/cura/p-4db87e8d.system.entry.js.map +1 -0
  143. package/dist/cura/p-51e00a16.entry.js +2 -0
  144. package/dist/cura/p-51e00a16.entry.js.map +1 -0
  145. package/dist/cura/{p-0c79c54e.entry.js → p-72a9ed55.entry.js} +2 -2
  146. package/dist/cura/{p-7c8f3c77.system.entry.js → p-75b2e4d1.system.entry.js} +2 -2
  147. package/dist/cura/{p-03047b3e.entry.js → p-880917c1.entry.js} +2 -2
  148. package/dist/cura/p-8d959fb2.entry.js +2 -0
  149. package/dist/cura/p-8d959fb2.entry.js.map +1 -0
  150. package/dist/cura/{p-d47b9cfe.system.entry.js → p-9471c93e.system.entry.js} +2 -2
  151. package/dist/cura/p-98014544.entry.js +2 -0
  152. package/dist/cura/p-98014544.entry.js.map +1 -0
  153. package/dist/cura/{p-223924fb.system.entry.js → p-98352c92.system.entry.js} +2 -2
  154. package/dist/cura/p-a32889a4.system.js +2 -0
  155. package/dist/cura/p-a32889a4.system.js.map +1 -0
  156. package/dist/cura/p-ab8c9a8f.system.entry.js +2 -0
  157. package/dist/cura/p-ab8c9a8f.system.entry.js.map +1 -0
  158. package/dist/cura/{p-91b0f78e.entry.js → p-ad194144.entry.js} +2 -2
  159. package/dist/cura/p-b0e13882.system.entry.js +2 -0
  160. package/dist/cura/p-b0e13882.system.entry.js.map +1 -0
  161. package/dist/cura/p-ba66d7be.js +3 -0
  162. package/dist/cura/{p-c0c00396.system.js.map → p-ba66d7be.js.map} +1 -1
  163. package/dist/cura/p-bb3f9d05.entry.js +2 -0
  164. package/dist/cura/p-bb3f9d05.entry.js.map +1 -0
  165. package/dist/cura/p-c791725b.js +2 -0
  166. package/dist/cura/p-c791725b.js.map +1 -0
  167. package/dist/cura/p-cb4e2a0c.system.entry.js +2 -0
  168. package/dist/cura/p-cb4e2a0c.system.entry.js.map +1 -0
  169. package/dist/cura/p-d3f9c888.system.js +2 -0
  170. package/dist/cura/p-d3f9c888.system.js.map +1 -0
  171. package/dist/cura/{p-ca054b07.system.entry.js → p-e5e259fd.system.entry.js} +2 -2
  172. package/dist/cura/{p-49813052.entry.js → p-edeffbfc.entry.js} +2 -2
  173. package/dist/cura/p-f51705c2.system.entry.js +2 -0
  174. package/dist/cura/p-f51705c2.system.entry.js.map +1 -0
  175. package/dist/cura/p-f89f2ecc.system.entry.js +2 -0
  176. package/dist/cura/p-f89f2ecc.system.entry.js.map +1 -0
  177. package/dist/cura/p-fc4ba4ce.system.js +2 -0
  178. package/dist/cura/p-fc4ba4ce.system.js.map +1 -0
  179. package/dist/cura/p-fef52079.entry.js +2 -0
  180. package/dist/cura/p-fef52079.entry.js.map +1 -0
  181. package/dist/cura/p-ffd41520.system.entry.js +2 -0
  182. package/dist/cura/p-ffd41520.system.entry.js.map +1 -0
  183. package/dist/esm/cura-accordion_8.entry.js +10 -17
  184. package/dist/esm/cura-accordion_8.entry.js.map +1 -1
  185. package/dist/esm/cura-alert.entry.js +63 -0
  186. package/dist/esm/cura-alert.entry.js.map +1 -0
  187. package/dist/esm/cura-button-outline.entry.js +1 -1
  188. package/dist/esm/cura-button-select.entry.js +93 -0
  189. package/dist/esm/cura-button-select.entry.js.map +1 -0
  190. package/dist/esm/cura-button-transparent.entry.js +1 -1
  191. package/dist/esm/cura-checkbox.entry.js +141 -0
  192. package/dist/esm/cura-checkbox.entry.js.map +1 -0
  193. package/dist/esm/cura-display.entry.js +1 -1
  194. package/dist/esm/cura-forms.definitions-0f774253.js +18 -0
  195. package/dist/esm/cura-forms.definitions-0f774253.js.map +1 -0
  196. package/dist/esm/cura-icon.definitions-a63d1862.js +18 -0
  197. package/dist/esm/cura-icon.definitions-a63d1862.js.map +1 -0
  198. package/dist/esm/cura-icons-view.entry.js +13 -6
  199. package/dist/esm/cura-icons-view.entry.js.map +1 -1
  200. package/dist/esm/cura-input-text.entry.js +3903 -0
  201. package/dist/esm/cura-input-text.entry.js.map +1 -0
  202. package/dist/esm/cura-label.entry.js +1 -1
  203. package/dist/esm/cura-radio.entry.js +111 -0
  204. package/dist/esm/cura-radio.entry.js.map +1 -0
  205. package/dist/esm/cura-switch.entry.js +86 -0
  206. package/dist/esm/cura-switch.entry.js.map +1 -0
  207. package/dist/esm/cura.js +3 -3
  208. package/dist/esm/{index-d99da69e.js → index-81f1a268.js} +35 -2
  209. package/dist/{esm-es5/index-d99da69e.js.map → esm/index-81f1a268.js.map} +1 -1
  210. package/dist/esm/loader.js +3 -3
  211. package/dist/esm-es5/cura-accordion_8.entry.js +1 -1
  212. package/dist/esm-es5/cura-accordion_8.entry.js.map +1 -1
  213. package/dist/esm-es5/cura-alert.entry.js +2 -0
  214. package/dist/esm-es5/cura-alert.entry.js.map +1 -0
  215. package/dist/esm-es5/cura-button-outline.entry.js +1 -1
  216. package/dist/esm-es5/cura-button-select.entry.js +2 -0
  217. package/dist/esm-es5/cura-button-select.entry.js.map +1 -0
  218. package/dist/esm-es5/cura-button-transparent.entry.js +1 -1
  219. package/dist/esm-es5/cura-checkbox.entry.js +2 -0
  220. package/dist/esm-es5/cura-checkbox.entry.js.map +1 -0
  221. package/dist/esm-es5/cura-display.entry.js +1 -1
  222. package/dist/esm-es5/cura-forms.definitions-0f774253.js +2 -0
  223. package/dist/esm-es5/cura-forms.definitions-0f774253.js.map +1 -0
  224. package/dist/esm-es5/cura-icon.definitions-a63d1862.js +2 -0
  225. package/dist/esm-es5/cura-icon.definitions-a63d1862.js.map +1 -0
  226. package/dist/esm-es5/cura-icons-view.entry.js +1 -1
  227. package/dist/esm-es5/cura-icons-view.entry.js.map +1 -1
  228. package/dist/esm-es5/cura-input-text.entry.js +2 -0
  229. package/dist/esm-es5/cura-input-text.entry.js.map +1 -0
  230. package/dist/esm-es5/cura-label.entry.js +1 -1
  231. package/dist/esm-es5/cura-radio.entry.js +2 -0
  232. package/dist/esm-es5/cura-radio.entry.js.map +1 -0
  233. package/dist/esm-es5/cura-switch.entry.js +2 -0
  234. package/dist/esm-es5/cura-switch.entry.js.map +1 -0
  235. package/dist/esm-es5/cura.js +1 -1
  236. package/dist/esm-es5/cura.js.map +1 -1
  237. package/dist/esm-es5/index-81f1a268.js +3 -0
  238. package/dist/esm-es5/index-81f1a268.js.map +1 -0
  239. package/dist/esm-es5/loader.js +1 -1
  240. package/dist/esm-es5/loader.js.map +1 -1
  241. package/dist/types/components/buttons/cura-button/cura-button.d.ts +1 -1
  242. package/dist/types/components/buttons/cura-button-select/cura-button-select.d.ts +51 -0
  243. package/dist/types/components/cura-alert/cura-alert.d.ts +16 -0
  244. package/dist/types/components/cura-alert/cura-alert.stories.d.ts +79 -0
  245. package/dist/types/components/cura-icon/cura-icon.d.ts +0 -42
  246. package/dist/types/components/cura-icon/cura-icon.definitions.d.ts +47 -0
  247. package/dist/types/components/cura-icons-view/cura-icons-view.d.ts +2 -1
  248. package/dist/types/components/forms/cura-checkbox/cura-checkbox.d.ts +100 -0
  249. package/dist/types/components/forms/cura-checkbox/cura-checkbox.stories.d.ts +199 -0
  250. package/dist/types/components/forms/cura-forms.definitions.d.ts +14 -0
  251. package/dist/types/components/forms/cura-input-text/cura-input-text.d.ts +138 -0
  252. package/dist/types/components/forms/cura-input-text/cura-input-text.stories.d.ts +224 -0
  253. package/dist/types/components/forms/cura-input-text/mask-presets/input-mask-presets.d.ts +5 -0
  254. package/dist/types/components/forms/cura-radio/cura-radio.d.ts +81 -0
  255. package/dist/types/components/forms/cura-radio/cura-radio.stories.d.ts +180 -0
  256. package/dist/types/components/forms/cura-switch/cura-switch.d.ts +62 -0
  257. package/dist/types/components/forms/cura-switch/cura-switch.stories.d.ts +135 -0
  258. package/dist/types/components.d.ts +602 -0
  259. package/package.json +5 -4
  260. package/dist/cjs/index-404d93e9.js.map +0 -1
  261. package/dist/cura/p-46d20db3.js +0 -3
  262. package/dist/cura/p-46d20db3.js.map +0 -1
  263. package/dist/cura/p-4bdbcdf0.system.entry.js +0 -2
  264. package/dist/cura/p-4bdbcdf0.system.entry.js.map +0 -1
  265. package/dist/cura/p-8b18b5f7.system.js +0 -2
  266. package/dist/cura/p-8b18b5f7.system.js.map +0 -1
  267. package/dist/cura/p-a0395f90.entry.js +0 -2
  268. package/dist/cura/p-a0395f90.entry.js.map +0 -1
  269. package/dist/cura/p-a7ef255f.entry.js +0 -2
  270. package/dist/cura/p-a7ef255f.entry.js.map +0 -1
  271. package/dist/cura/p-c0c00396.system.js +0 -3
  272. package/dist/cura/p-fc77814b.system.entry.js +0 -2
  273. package/dist/cura/p-fc77814b.system.entry.js.map +0 -1
  274. package/dist/esm/index-d99da69e.js.map +0 -1
  275. package/dist/esm-es5/index-d99da69e.js +0 -3
  276. /package/dist/cura/{p-0c79c54e.entry.js.map → p-72a9ed55.entry.js.map} +0 -0
  277. /package/dist/cura/{p-7c8f3c77.system.entry.js.map → p-75b2e4d1.system.entry.js.map} +0 -0
  278. /package/dist/cura/{p-03047b3e.entry.js.map → p-880917c1.entry.js.map} +0 -0
  279. /package/dist/cura/{p-d47b9cfe.system.entry.js.map → p-9471c93e.system.entry.js.map} +0 -0
  280. /package/dist/cura/{p-223924fb.system.entry.js.map → p-98352c92.system.entry.js.map} +0 -0
  281. /package/dist/cura/{p-91b0f78e.entry.js.map → p-ad194144.entry.js.map} +0 -0
  282. /package/dist/cura/{p-ca054b07.system.entry.js.map → p-e5e259fd.system.entry.js.map} +0 -0
  283. /package/dist/cura/{p-49813052.entry.js.map → p-edeffbfc.entry.js.map} +0 -0
@@ -0,0 +1,51 @@
1
+ import { EventEmitter } from '../../../stencil-public-runtime';
2
+ export declare class CuraButtonOutline {
3
+ /**
4
+ * Button size: small | medium (default) | large = medium
5
+ */
6
+ size: 'small' | 'medium' | 'large';
7
+ /**
8
+ * Disabled state. Boolean.
9
+ */
10
+ disabled: boolean;
11
+ /**
12
+ * selected state. Boolean.
13
+ */
14
+ selected: boolean;
15
+ /**
16
+ * Icon position: left (default) | right.
17
+ */
18
+ iconPosition: 'left' | 'right';
19
+ /**
20
+ * Color base from color scheme. Default: accent.
21
+ */
22
+ color: string;
23
+ /**
24
+ * Set the font color to dark or light.
25
+ */
26
+ background: 'dark' | 'light';
27
+ /**
28
+ * fontcolor theme of the checkbox.
29
+ * Can be 'dark' or 'light'.
30
+ */
31
+ fontcolor: 'dark' | 'light';
32
+ /**
33
+ * hovered state. Boolean.
34
+ */
35
+ hovered: boolean;
36
+ styles: {};
37
+ onclick: EventEmitter<{
38
+ selected: boolean;
39
+ }>;
40
+ theme: import("../../../api/cura-api.type").APIThemeFunctions;
41
+ weights: any;
42
+ setColors(): void;
43
+ setStyles(): void;
44
+ connectedCallback(): void;
45
+ handleMouseEnter(): void;
46
+ handleMouseLeave(): void;
47
+ getIcon(): any;
48
+ handleClick(e: Event): void;
49
+ getClasses(): {};
50
+ render(): any;
51
+ }
@@ -0,0 +1,16 @@
1
+ import { EventEmitter } from '../../stencil-public-runtime';
2
+ export declare class CuraAlert {
3
+ host: HTMLElement;
4
+ type: 'info' | 'success' | 'warning' | 'error';
5
+ floating: boolean;
6
+ label: string;
7
+ closeable: boolean;
8
+ styles: {};
9
+ close: EventEmitter<void>;
10
+ setColors(): void;
11
+ connectedCallback(): void;
12
+ getClasses(): {};
13
+ getNameIcon(): string;
14
+ handleClose: () => void;
15
+ render(): any;
16
+ }
@@ -0,0 +1,79 @@
1
+ declare const _default: {
2
+ title: string;
3
+ tags: string[];
4
+ render: ({ label, ...args }: {
5
+ [x: string]: any;
6
+ label: any;
7
+ }) => string;
8
+ argTypes: {
9
+ floating: {
10
+ control: string;
11
+ description: string;
12
+ table: {
13
+ category: string;
14
+ defaultValue: {
15
+ summary: boolean;
16
+ };
17
+ };
18
+ };
19
+ closeable: {
20
+ control: string;
21
+ description: string;
22
+ table: {
23
+ category: string;
24
+ defaultValue: {
25
+ summary: boolean;
26
+ };
27
+ };
28
+ };
29
+ type: {
30
+ control: {
31
+ type: string;
32
+ };
33
+ options: string[];
34
+ description: string;
35
+ table: {
36
+ category: string;
37
+ defaultValue: {
38
+ summary: string;
39
+ };
40
+ };
41
+ name: string;
42
+ };
43
+ label: {
44
+ control: string;
45
+ description: string;
46
+ table: {
47
+ category: string;
48
+ };
49
+ name: string;
50
+ };
51
+ actions: {
52
+ control: string;
53
+ description: string;
54
+ defaultValue: string;
55
+ table: {
56
+ category: string;
57
+ };
58
+ };
59
+ content: {
60
+ control: string;
61
+ description: string;
62
+ defaultValue: string;
63
+ table: {
64
+ category: string;
65
+ };
66
+ };
67
+ };
68
+ };
69
+ export default _default;
70
+ export declare const Alert: {
71
+ args: {
72
+ label: string;
73
+ type: string;
74
+ closeable: boolean;
75
+ floating: boolean;
76
+ content: string;
77
+ actions: string;
78
+ };
79
+ };
@@ -5,48 +5,6 @@ export declare class CuraIcon {
5
5
  iconset: string;
6
6
  disabled: boolean;
7
7
  host: HTMLElement;
8
- sizes: {
9
- "128": {
10
- size: number;
11
- stroke: number;
12
- };
13
- "72": {
14
- size: number;
15
- stroke: number;
16
- };
17
- "64": {
18
- size: number;
19
- stroke: number;
20
- };
21
- "48": {
22
- size: number;
23
- stroke: number;
24
- };
25
- "40": {
26
- size: number;
27
- stroke: number;
28
- };
29
- "32": {
30
- size: number;
31
- stroke: number;
32
- };
33
- "24": {
34
- size: number;
35
- stroke: number;
36
- };
37
- "20": {
38
- size: number;
39
- stroke: number;
40
- };
41
- "16": {
42
- size: number;
43
- stroke: number;
44
- };
45
- default: {
46
- size: number;
47
- stroke: number;
48
- };
49
- };
50
8
  sizeHandler(size: string | number): void;
51
9
  colorHandler(): void;
52
10
  assetsPath: string;
@@ -0,0 +1,47 @@
1
+ export declare const microIcons: string[];
2
+ export declare const iconSizes: {
3
+ "128": {
4
+ size: number;
5
+ stroke: number;
6
+ };
7
+ "72": {
8
+ size: number;
9
+ stroke: number;
10
+ };
11
+ "64": {
12
+ size: number;
13
+ stroke: number;
14
+ };
15
+ "48": {
16
+ size: number;
17
+ stroke: number;
18
+ };
19
+ "40": {
20
+ size: number;
21
+ stroke: number;
22
+ };
23
+ "32": {
24
+ size: number;
25
+ stroke: number;
26
+ };
27
+ "24": {
28
+ size: number;
29
+ stroke: number;
30
+ };
31
+ "20": {
32
+ size: number;
33
+ stroke: number;
34
+ };
35
+ "16": {
36
+ size: number;
37
+ stroke: number;
38
+ };
39
+ micro: {
40
+ size: number;
41
+ stroke: number;
42
+ };
43
+ default: {
44
+ size: number;
45
+ stroke: number;
46
+ };
47
+ };
@@ -1,7 +1,8 @@
1
1
  export declare class CuraIconsView {
2
- sizes: number[];
2
+ sizes: string[];
3
3
  colors: string[];
4
4
  selected: string;
5
+ connectedCallback(): void;
5
6
  setSelected: (icon: any) => void;
6
7
  render(): any;
7
8
  }
@@ -0,0 +1,100 @@
1
+ import { EventEmitter } from '../../../stencil-public-runtime';
2
+ export declare class CuraCheckbox {
3
+ /**
4
+ * Reflects the checked state of the checkbox.
5
+ * Mutable property allowing state change.
6
+ */
7
+ checked: boolean;
8
+ /**
9
+ * Reflects the indeterminate state of the checkbox.
10
+ * Mutable property allowing state change.
11
+ */
12
+ indeterminate: boolean;
13
+ /**
14
+ * Status of the checkbox.
15
+ * Can be 'error', 'success', or 'default'.
16
+ */
17
+ status: 'error' | 'success' | 'default';
18
+ /**
19
+ * Reflects the disabled state of the checkbox.
20
+ */
21
+ disabled: boolean;
22
+ /**
23
+ * Reflects the required state of the checkbox.
24
+ */
25
+ required: boolean;
26
+ /**
27
+ * Text label associated with the checkbox.
28
+ */
29
+ label: string;
30
+ /**
31
+ * Specifies the tabindex of the checkbox.
32
+ */
33
+ ontabindex: number;
34
+ /**
35
+ * Position of the label relative to the checkbox.
36
+ * Can be 'left' or 'right'.
37
+ */
38
+ position: 'left' | 'right';
39
+ /**
40
+ * Value associated with the checkbox.
41
+ */
42
+ value: string;
43
+ /**
44
+ * Name attribute of the checkbox.
45
+ */
46
+ name: string;
47
+ /**
48
+ * Size of the checkbox.
49
+ * Can be 'small', 'medium', or 'large'.
50
+ */
51
+ size: 'small' | 'medium' | 'large';
52
+ /**
53
+ * Background theme of the checkbox.
54
+ * Can be 'dark' or 'light'.
55
+ */
56
+ background: 'dark' | 'light';
57
+ /**
58
+ * iconColor theme of the checkbox.
59
+ * Can be 'dark' or 'light'.
60
+ */
61
+ iconColor: 'dark' | 'light';
62
+ /**
63
+ * Color theme of the checkbox.
64
+ */
65
+ color: string;
66
+ styles: {};
67
+ host: HTMLElement;
68
+ onchange: EventEmitter<{
69
+ value: string;
70
+ checked: boolean;
71
+ indeterminate: boolean;
72
+ }>;
73
+ isDarkbackground: () => boolean;
74
+ isDarkIconColor: () => boolean;
75
+ sizeHandler(): void;
76
+ /**
77
+ * Watches changes in color and background properties to update styles.
78
+ */
79
+ setColors(): void;
80
+ connectedCallback(): void;
81
+ /**
82
+ * Handles click event on the checkbox.
83
+ * Emits onchange event with value, checked, and indeterminate states.
84
+ */
85
+ handleClick: () => void;
86
+ /**
87
+ * Retrieves classes based on component state for conditional styling.
88
+ */
89
+ getClasses(): {};
90
+ /**
91
+ * Assigns color based on status and background theme.
92
+ * @param defaultColor Default color.
93
+ */
94
+ assignColor(type: 'icon' | 'label' | 'message'): string;
95
+ /**
96
+ * Retrieves icon element based on checkbox state.
97
+ */
98
+ getIcon(): any;
99
+ render(): any;
100
+ }
@@ -0,0 +1,199 @@
1
+ declare const _default: {
2
+ title: string;
3
+ tags: string[];
4
+ render: ({ label, message, ...args }: {
5
+ [x: string]: any;
6
+ label: any;
7
+ message: any;
8
+ }) => string;
9
+ argTypes: {
10
+ label: {
11
+ control: string;
12
+ description: string;
13
+ name: string;
14
+ table: {
15
+ category: string;
16
+ };
17
+ };
18
+ message: {
19
+ control: string;
20
+ name: string;
21
+ description: string;
22
+ table: {
23
+ category: string;
24
+ };
25
+ };
26
+ checked: {
27
+ control: string;
28
+ description: string;
29
+ table: {
30
+ category: string;
31
+ defaultValue: {
32
+ summary: boolean;
33
+ };
34
+ };
35
+ };
36
+ required: {
37
+ control: string;
38
+ description: string;
39
+ table: {
40
+ category: string;
41
+ defaultValue: {
42
+ summary: boolean;
43
+ };
44
+ };
45
+ };
46
+ status: {
47
+ control: {
48
+ type: string;
49
+ };
50
+ options: string[];
51
+ description: string;
52
+ table: {
53
+ category: string;
54
+ defaultValue: {
55
+ summary: string;
56
+ };
57
+ };
58
+ };
59
+ indeterminate: {
60
+ control: string;
61
+ description: string;
62
+ table: {
63
+ category: string;
64
+ defaultValue: {
65
+ summary: boolean;
66
+ };
67
+ };
68
+ };
69
+ disabled: {
70
+ control: string;
71
+ description: string;
72
+ table: {
73
+ category: string;
74
+ defaultValue: {
75
+ summary: boolean;
76
+ };
77
+ };
78
+ };
79
+ ontabindex: {
80
+ control: string;
81
+ description: string;
82
+ table: {
83
+ category: string;
84
+ };
85
+ name: string;
86
+ };
87
+ position: {
88
+ control: {
89
+ type: string;
90
+ };
91
+ options: string[];
92
+ description: string;
93
+ table: {
94
+ category: string;
95
+ defaultValue: {
96
+ summary: string;
97
+ };
98
+ };
99
+ name: string;
100
+ };
101
+ size: {
102
+ control: {
103
+ type: string;
104
+ };
105
+ options: string[];
106
+ description: string;
107
+ table: {
108
+ category: string;
109
+ defaultValue: {
110
+ summary: string;
111
+ };
112
+ };
113
+ };
114
+ value: {
115
+ control: string;
116
+ description: string;
117
+ table: {
118
+ category: string;
119
+ };
120
+ };
121
+ name: {
122
+ control: string;
123
+ description: string;
124
+ table: {
125
+ category: string;
126
+ };
127
+ };
128
+ background: {
129
+ control: {
130
+ type: string;
131
+ };
132
+ options: string[];
133
+ description: string;
134
+ table: {
135
+ category: string;
136
+ defaultValue: {
137
+ summary: string;
138
+ };
139
+ };
140
+ };
141
+ iconColor: {
142
+ control: {
143
+ type: string;
144
+ };
145
+ options: string[];
146
+ description: string;
147
+ name: string;
148
+ table: {
149
+ category: string;
150
+ defaultValue: {
151
+ summary: string;
152
+ };
153
+ };
154
+ };
155
+ color: {
156
+ control: {
157
+ type: string;
158
+ };
159
+ options: string[];
160
+ description: string;
161
+ table: {
162
+ category: string;
163
+ defaultValue: {
164
+ summary: string;
165
+ };
166
+ };
167
+ };
168
+ onchange: {
169
+ control: string;
170
+ description: string;
171
+ table: {
172
+ category: string;
173
+ defaultValue: {
174
+ summary: string;
175
+ };
176
+ };
177
+ };
178
+ };
179
+ };
180
+ export default _default;
181
+ export declare const Checkbox: {
182
+ args: {
183
+ label: string;
184
+ size: string;
185
+ status: string;
186
+ color: string;
187
+ position: string;
188
+ background: string;
189
+ iconColor: string;
190
+ value: string;
191
+ name: string;
192
+ ontabindex: number;
193
+ message: string;
194
+ checked: boolean;
195
+ required: boolean;
196
+ indeterminate: boolean;
197
+ disabled: boolean;
198
+ };
199
+ };
@@ -0,0 +1,14 @@
1
+ export declare const formsSizes: {
2
+ large: {
3
+ size: number;
4
+ gap: number;
5
+ };
6
+ medium: {
7
+ size: number;
8
+ gap: number;
9
+ };
10
+ small: {
11
+ size: number;
12
+ gap: number;
13
+ };
14
+ };
@@ -0,0 +1,138 @@
1
+ import { EventEmitter } from '../../../stencil-public-runtime';
2
+ import { FactoryArg, InputMask, MaskedRegExp } from 'imask';
3
+ import { MaskOptionsMap } from './mask-presets/input-mask-presets';
4
+ export type MaskPreset = keyof MaskOptionsMap;
5
+ export declare class CuraInputText {
6
+ /**
7
+ * Mode of the input: 'default' or 'transparent' (default: 'default')
8
+ */
9
+ mode: 'default' | 'transparent';
10
+ /**
11
+ * Indicates input status(default: default)
12
+ */
13
+ status: 'error' | 'success' | 'default';
14
+ /**
15
+ * Size of the input mode default: 'small', 'medium', or 'large' (default: 'medium')
16
+ */
17
+ size: 'small' | 'medium' | 'large';
18
+ /**
19
+ * Type of the input: 'text', 'number' (default: 'text')
20
+ */
21
+ type: 'text' | 'number';
22
+ /**
23
+ * Label text for the input
24
+ */
25
+ label: string;
26
+ /**
27
+ * Placeholder text for the input
28
+ */
29
+ placeholder?: string | null;
30
+ /**
31
+ * Value of the input field
32
+ */
33
+ value: string | number;
34
+ /**
35
+ * Whether to display a cura icon (default: null)
36
+ */
37
+ iconName?: string;
38
+ /**
39
+ * Helper text displayed below the input
40
+ */
41
+ helperText?: string;
42
+ /**
43
+ * Whether the input is disabled (default: false)
44
+ */
45
+ disabled?: boolean;
46
+ /**
47
+ * Whether the input is required (default: false)
48
+ */
49
+ required?: boolean;
50
+ /**
51
+ * Mask preset for input formatting: 'cpf', 'cnpj', 'phone', 'date', etc. Uses IMask library.
52
+ * @see: https://imask.js.org/
53
+ */
54
+ maskPreset?: MaskPreset;
55
+ /**
56
+ * Regular expression for custom input masking. Uses IMask library.
57
+ * @see: https://imask.js.org/
58
+ */
59
+ maskRegex?: MaskedRegExp['mask'] | string | null;
60
+ /**
61
+ * Advanced mask object to be used with IMask library
62
+ * @see: https://imask.js.org/
63
+ */
64
+ maskAdvanced?: FactoryArg | string | null;
65
+ /**
66
+ * Maximum length of the input value (default: undefined)
67
+ */
68
+ maxlength?: number | undefined;
69
+ /**
70
+ * Whether the input is read-only (default: false)
71
+ */
72
+ readOnly?: boolean;
73
+ /**
74
+ * Whether the input is in loading state (default: false)
75
+ */
76
+ isLoading?: boolean;
77
+ /**
78
+ * Internal state: Whether the input is hovered (default: false)
79
+ */
80
+ isHovered: boolean;
81
+ /**
82
+ * Internal state: Whether the input is focused (default: false)
83
+ */
84
+ isFocused: boolean;
85
+ /**
86
+ * Internal state: Styles object for dynamic styling
87
+ */
88
+ styles: {
89
+ [key: string]: string;
90
+ };
91
+ /**
92
+ * Icon button name for the clear button (default: 'closeCircle')
93
+ */
94
+ clearIcon?: boolean;
95
+ /**
96
+ * Emitted when the value of the input changes
97
+ * @type {EventEmitter<string | number>}
98
+ */
99
+ valueChange: EventEmitter<string | number>;
100
+ inputRef: HTMLInputElement;
101
+ /**
102
+ * Instance of InputMask is returned when IMask constructor is called.
103
+ */
104
+ maskedInput: InputMask<FactoryArg>;
105
+ weights: {
106
+ [key: string]: string;
107
+ };
108
+ connectedCallback(): void;
109
+ getClasses(): {
110
+ [x: string]: boolean;
111
+ disabled: boolean;
112
+ isLoading: boolean;
113
+ isFocused: boolean;
114
+ isHovered: boolean;
115
+ isSuccess: boolean;
116
+ isError: boolean;
117
+ transparent: boolean;
118
+ };
119
+ getLabelColor(): "neutral-black" | "neutral-medium" | "neutral-dark";
120
+ renderIcon(): any;
121
+ renderHelperText(): any;
122
+ componentDidLoad(): void;
123
+ handleMouseEnter(): void;
124
+ handleMouseLeave(): void;
125
+ handleMaskUpdate(): void;
126
+ handleClearInput(): void;
127
+ handleInputFocus(): void;
128
+ handleInputBlur(): void;
129
+ handleMaskPresetChange(): void;
130
+ handleMaskRegexChange(): void;
131
+ handlemaskAdvancedChange(): void;
132
+ handleValueChange(newValue: string): void;
133
+ initializeMask(): void;
134
+ handleInputChange(event: any): void;
135
+ handleKeyDown(event: KeyboardEvent): void;
136
+ handleBlockInvalidNumber(e: KeyboardEvent): void;
137
+ render(): any;
138
+ }