@rededor/cura 0.5.2 → 0.5.3

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 +144 -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 +114 -0
  25. package/dist/cjs/cura-radio.cjs.entry.js.map +1 -0
  26. package/dist/cjs/cura-switch.cjs.entry.js +89 -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 +431 -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 +365 -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 +266 -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 +192 -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 +154 -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 +119 -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-4df84c9e.entry.js +2 -0
  140. package/dist/cura/p-4df84c9e.entry.js.map +1 -0
  141. package/dist/cura/p-70cefaf8.entry.js +2 -0
  142. package/dist/cura/p-70cefaf8.entry.js.map +1 -0
  143. package/dist/cura/{p-0c79c54e.entry.js → p-72a9ed55.entry.js} +2 -2
  144. package/dist/cura/{p-7c8f3c77.system.entry.js → p-75b2e4d1.system.entry.js} +2 -2
  145. package/dist/cura/{p-03047b3e.entry.js → p-880917c1.entry.js} +2 -2
  146. package/dist/cura/{p-d47b9cfe.system.entry.js → p-9471c93e.system.entry.js} +2 -2
  147. package/dist/cura/p-98014544.entry.js +2 -0
  148. package/dist/cura/p-98014544.entry.js.map +1 -0
  149. package/dist/cura/{p-223924fb.system.entry.js → p-98352c92.system.entry.js} +2 -2
  150. package/dist/cura/p-a32889a4.system.js +2 -0
  151. package/dist/cura/p-a32889a4.system.js.map +1 -0
  152. package/dist/cura/p-a6d20c12.system.entry.js +2 -0
  153. package/dist/cura/p-a6d20c12.system.entry.js.map +1 -0
  154. package/dist/cura/p-ab8c9a8f.system.entry.js +2 -0
  155. package/dist/cura/p-ab8c9a8f.system.entry.js.map +1 -0
  156. package/dist/cura/{p-91b0f78e.entry.js → p-ad194144.entry.js} +2 -2
  157. package/dist/cura/p-b0e13882.system.entry.js +2 -0
  158. package/dist/cura/p-b0e13882.system.entry.js.map +1 -0
  159. package/dist/cura/p-ba66d7be.js +3 -0
  160. package/dist/cura/{p-c0c00396.system.js.map → p-ba66d7be.js.map} +1 -1
  161. package/dist/cura/p-bb3f9d05.entry.js +2 -0
  162. package/dist/cura/p-bb3f9d05.entry.js.map +1 -0
  163. package/dist/cura/p-c791725b.js +2 -0
  164. package/dist/cura/p-c791725b.js.map +1 -0
  165. package/dist/cura/p-c9afb94f.entry.js +2 -0
  166. package/dist/cura/p-c9afb94f.entry.js.map +1 -0
  167. package/dist/cura/p-d3f9c888.system.js +2 -0
  168. package/dist/cura/p-d3f9c888.system.js.map +1 -0
  169. package/dist/cura/{p-ca054b07.system.entry.js → p-e5e259fd.system.entry.js} +2 -2
  170. package/dist/cura/{p-49813052.entry.js → p-edeffbfc.entry.js} +2 -2
  171. package/dist/cura/p-eea5ca70.system.entry.js +2 -0
  172. package/dist/cura/p-eea5ca70.system.entry.js.map +1 -0
  173. package/dist/cura/p-f6e61abf.system.entry.js +2 -0
  174. package/dist/cura/p-f6e61abf.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 +140 -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 +110 -0
  204. package/dist/esm/cura-radio.entry.js.map +1 -0
  205. package/dist/esm/cura-switch.entry.js +85 -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,224 @@
1
+ declare const _default: {
2
+ title: string;
3
+ tags: string[];
4
+ render: ({ helperText, ...args }: {
5
+ [x: string]: any;
6
+ helperText: any;
7
+ }) => string;
8
+ argTypes: {
9
+ mode: {
10
+ control: {
11
+ type: string;
12
+ };
13
+ options: string[];
14
+ description: string;
15
+ table: {
16
+ category: string;
17
+ defaultValue: {
18
+ summary: string;
19
+ };
20
+ };
21
+ };
22
+ status: {
23
+ control: {
24
+ type: string;
25
+ };
26
+ options: string[];
27
+ description: string;
28
+ table: {
29
+ category: string;
30
+ defaultValue: {
31
+ summary: string;
32
+ };
33
+ };
34
+ };
35
+ size: {
36
+ control: {
37
+ type: string;
38
+ };
39
+ options: string[];
40
+ description: string;
41
+ table: {
42
+ category: string;
43
+ defaultValue: {
44
+ summary: string;
45
+ };
46
+ };
47
+ };
48
+ type: {
49
+ control: {
50
+ type: string;
51
+ };
52
+ options: string[];
53
+ description: string;
54
+ table: {
55
+ category: string;
56
+ defaultValue: {
57
+ summary: string;
58
+ };
59
+ };
60
+ };
61
+ label: {
62
+ control: string;
63
+ description: string;
64
+ required: boolean;
65
+ table: {
66
+ category: string;
67
+ };
68
+ };
69
+ placeholder: {
70
+ control: string;
71
+ description: string;
72
+ required: boolean;
73
+ table: {
74
+ category: string;
75
+ };
76
+ };
77
+ helperText: {
78
+ control: string;
79
+ description: string;
80
+ table: {
81
+ category: string;
82
+ };
83
+ };
84
+ value: {
85
+ control: string;
86
+ description: string;
87
+ table: {
88
+ category: string;
89
+ };
90
+ };
91
+ maskPreset: {
92
+ control: {
93
+ type: string;
94
+ };
95
+ options: string[];
96
+ description: string;
97
+ required: boolean;
98
+ table: {
99
+ category: string;
100
+ };
101
+ };
102
+ maskRegex: {
103
+ control: string;
104
+ description: string;
105
+ required: boolean;
106
+ table: {
107
+ category: string;
108
+ };
109
+ };
110
+ maskAdvanced: {
111
+ control: {
112
+ type: string;
113
+ };
114
+ description: string;
115
+ required: boolean;
116
+ table: {
117
+ category: string;
118
+ defaultValue: {
119
+ summary: JSON;
120
+ };
121
+ };
122
+ };
123
+ required: {
124
+ control: string;
125
+ description: string;
126
+ table: {
127
+ category: string;
128
+ defaultValue: {
129
+ summary: boolean;
130
+ };
131
+ };
132
+ };
133
+ maxlength: {
134
+ control: string;
135
+ description: string;
136
+ required: boolean;
137
+ table: {
138
+ category: string;
139
+ defaultValue: {
140
+ summary: any;
141
+ };
142
+ };
143
+ };
144
+ clearIcon: {
145
+ control: string;
146
+ description: string;
147
+ table: {
148
+ category: string;
149
+ defaultValue: {
150
+ summary: boolean;
151
+ };
152
+ };
153
+ };
154
+ iconName: {
155
+ control: {
156
+ type: string;
157
+ };
158
+ options: string[];
159
+ description: string;
160
+ required: boolean;
161
+ table: {
162
+ category: string;
163
+ defaultValue: {
164
+ summary: string;
165
+ };
166
+ };
167
+ };
168
+ disabled: {
169
+ control: string;
170
+ description: string;
171
+ table: {
172
+ category: string;
173
+ defaultValue: {
174
+ summary: boolean;
175
+ };
176
+ };
177
+ };
178
+ readOnly: {
179
+ control: string;
180
+ description: string;
181
+ category: string;
182
+ required: boolean;
183
+ table: {
184
+ category: string;
185
+ defaultValue: {
186
+ summary: boolean;
187
+ };
188
+ };
189
+ };
190
+ isLoading: {
191
+ control: string;
192
+ description: string;
193
+ table: {
194
+ category: string;
195
+ defaultValue: {
196
+ summary: boolean;
197
+ };
198
+ };
199
+ };
200
+ };
201
+ };
202
+ export default _default;
203
+ export declare const InputText: {
204
+ args: {
205
+ mode: string;
206
+ status: string;
207
+ size: string;
208
+ type: string;
209
+ label: string;
210
+ placeholder: string;
211
+ value: string;
212
+ iconName: string;
213
+ clearIcon: boolean;
214
+ helperText: string;
215
+ maskPreset: any;
216
+ maskRegex: any;
217
+ maskAdvanced: any;
218
+ disabled: boolean;
219
+ required: boolean;
220
+ isLoading: boolean;
221
+ readOnly: boolean;
222
+ maxlength: any;
223
+ };
224
+ };
@@ -0,0 +1,5 @@
1
+ import { FactoryArg } from 'imask/esm/index';
2
+ export type MaskOptionsMap = {
3
+ [key: string]: FactoryArg;
4
+ };
5
+ export declare const maskOptions: MaskOptionsMap;
@@ -0,0 +1,81 @@
1
+ import { EventEmitter } from '../../../stencil-public-runtime';
2
+ export declare class CuraRadio {
3
+ /**
4
+ * Reflects the checked state of the radio button.
5
+ * Mutable property allowing state change.
6
+ */
7
+ checked: boolean;
8
+ /**
9
+ * Status of the radio button.
10
+ * Can be 'error', 'success', or 'default'.
11
+ */
12
+ status: 'error' | 'success' | 'default';
13
+ /**
14
+ * Reflects the disabled state of the radio button.
15
+ */
16
+ disabled: boolean;
17
+ /**
18
+ * Reflects the required state of the radio button.
19
+ */
20
+ required: boolean;
21
+ /**
22
+ * Text label associated with the radio button.
23
+ */
24
+ label: string;
25
+ /**
26
+ * Specifies the tabindex of the radio button.
27
+ */
28
+ ontabindex: number;
29
+ /**
30
+ * Position of the label relative to the radio button.
31
+ * Can be 'left' or 'right'.
32
+ */
33
+ position: "left" | "right";
34
+ /**
35
+ * Value associated with the radio button.
36
+ */
37
+ value: string;
38
+ /**
39
+ * Name attribute of the radio button.
40
+ */
41
+ name: string;
42
+ /**
43
+ * Background theme of the radio button.
44
+ * Can be 'dark' or 'light'.
45
+ */
46
+ background: 'dark' | 'light';
47
+ /**
48
+ * Size of the radio button.
49
+ * Can be 'small', 'medium', or 'large'.
50
+ */
51
+ size: 'small' | 'medium' | 'large';
52
+ /**
53
+ * Color theme of the radio button.
54
+ */
55
+ color: string;
56
+ styles: {};
57
+ host: HTMLElement;
58
+ onchange: EventEmitter<{
59
+ value: string;
60
+ checked: boolean;
61
+ }>;
62
+ sizes: {
63
+ large: {
64
+ size: number;
65
+ };
66
+ medium: {
67
+ size: number;
68
+ };
69
+ small: {
70
+ size: number;
71
+ };
72
+ };
73
+ isDarkbackground: () => boolean;
74
+ sizeHandler(): void;
75
+ setColors(): void;
76
+ connectedCallback(): void;
77
+ handleClick: () => void;
78
+ getClasses(): {};
79
+ assignColor(type: 'label' | 'message'): string;
80
+ render(): any;
81
+ }
@@ -0,0 +1,180 @@
1
+ declare const _default: {
2
+ title: string;
3
+ tags: string[];
4
+ render: ({ message, ...args }: {
5
+ [x: string]: any;
6
+ message: any;
7
+ }) => string;
8
+ argTypes: {
9
+ label: {
10
+ control: string;
11
+ description: string;
12
+ table: {
13
+ category: string;
14
+ };
15
+ };
16
+ message: {
17
+ control: string;
18
+ description: string;
19
+ name: string;
20
+ table: {
21
+ category: string;
22
+ };
23
+ };
24
+ checked: {
25
+ control: string;
26
+ description: string;
27
+ table: {
28
+ category: string;
29
+ defaultValue: {
30
+ summary: boolean;
31
+ };
32
+ };
33
+ };
34
+ disabled: {
35
+ control: string;
36
+ description: string;
37
+ table: {
38
+ category: string;
39
+ defaultValue: {
40
+ summary: boolean;
41
+ };
42
+ };
43
+ };
44
+ required: {
45
+ control: string;
46
+ description: string;
47
+ table: {
48
+ category: string;
49
+ defaultValue: {
50
+ summary: boolean;
51
+ };
52
+ };
53
+ };
54
+ ontabindex: {
55
+ control: string;
56
+ description: string;
57
+ table: {
58
+ category: string;
59
+ defaultValue: {
60
+ summary: number;
61
+ };
62
+ };
63
+ name: string;
64
+ };
65
+ position: {
66
+ control: {
67
+ type: string;
68
+ };
69
+ options: string[];
70
+ description: string;
71
+ table: {
72
+ category: string;
73
+ defaultValue: {
74
+ summary: string;
75
+ };
76
+ };
77
+ name: string;
78
+ };
79
+ size: {
80
+ control: {
81
+ type: string;
82
+ };
83
+ options: string[];
84
+ description: string;
85
+ table: {
86
+ category: string;
87
+ defaultValue: {
88
+ summary: string;
89
+ };
90
+ };
91
+ };
92
+ background: {
93
+ control: {
94
+ type: string;
95
+ };
96
+ options: string[];
97
+ description: string;
98
+ table: {
99
+ category: string;
100
+ defaultValue: {
101
+ summary: string;
102
+ };
103
+ };
104
+ };
105
+ color: {
106
+ control: {
107
+ type: string;
108
+ };
109
+ options: string[];
110
+ description: string;
111
+ table: {
112
+ category: string;
113
+ defaultValue: {
114
+ summary: string;
115
+ };
116
+ };
117
+ };
118
+ value: {
119
+ control: string;
120
+ description: string;
121
+ table: {
122
+ category: string;
123
+ defaultValue: {
124
+ summary: string;
125
+ };
126
+ };
127
+ };
128
+ name: {
129
+ control: string;
130
+ description: string;
131
+ table: {
132
+ category: string;
133
+ defaultValue: {
134
+ summary: string;
135
+ };
136
+ };
137
+ };
138
+ status: {
139
+ control: {
140
+ type: string;
141
+ };
142
+ options: string[];
143
+ description: string;
144
+ table: {
145
+ category: string;
146
+ defaultValue: {
147
+ summary: string;
148
+ };
149
+ };
150
+ };
151
+ onchange: {
152
+ control: string;
153
+ description: string;
154
+ table: {
155
+ category: string;
156
+ defaultValue: {
157
+ summary: string;
158
+ };
159
+ };
160
+ };
161
+ };
162
+ };
163
+ export default _default;
164
+ export declare const CuraRadioStory: {
165
+ args: {
166
+ label: string;
167
+ message: string;
168
+ checked: boolean;
169
+ required: boolean;
170
+ disabled: boolean;
171
+ size: string;
172
+ position: string;
173
+ background: string;
174
+ status: string;
175
+ color: string;
176
+ value: string;
177
+ name: string;
178
+ ontabindex: number;
179
+ };
180
+ };
@@ -0,0 +1,62 @@
1
+ import { EventEmitter } from '../../../stencil-public-runtime';
2
+ export declare class CuraSwitch {
3
+ /**
4
+ * Indicates whether the switch is checked or not.
5
+ */
6
+ checked: boolean;
7
+ /**
8
+ * Indicates whether the switch is disabled or not.
9
+ */
10
+ disabled: boolean;
11
+ /**
12
+ * The label text to display next to the switch.
13
+ */
14
+ label: string;
15
+ /**
16
+ * Tab index for the switch element.
17
+ * Reflects as an HTML attribute.
18
+ */
19
+ ontabindex: number;
20
+ /**
21
+ * Position of the label relative to the switch.
22
+ * Can be 'left' or 'right'.
23
+ */
24
+ position: "left" | "right";
25
+ /**
26
+ * Size of the switch.
27
+ * Can be 'small', 'medium', or 'large'.
28
+ */
29
+ size: 'small' | 'medium' | 'large';
30
+ /**
31
+ * Background style of the switch.
32
+ * Can be 'dark' or 'light'.
33
+ */
34
+ background: 'dark' | 'light';
35
+ /**
36
+ * Accent color of the switch.
37
+ */
38
+ color: string;
39
+ styles: {};
40
+ onchange: EventEmitter<{
41
+ checked: boolean;
42
+ }>;
43
+ sizes: {
44
+ large: {
45
+ size: number;
46
+ };
47
+ medium: {
48
+ size: number;
49
+ };
50
+ small: {
51
+ size: number;
52
+ };
53
+ };
54
+ isDarkbackground: () => boolean;
55
+ sizeHandler(): void;
56
+ setColors(): void;
57
+ connectedCallback(): void;
58
+ toggleSwitch: () => any;
59
+ assignColor(colorDark: string, colorLight: string): string;
60
+ getClasses(): {};
61
+ render(): any;
62
+ }
@@ -0,0 +1,135 @@
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
+ description: string;
21
+ name: 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
+ disabled: {
37
+ control: string;
38
+ description: string;
39
+ table: {
40
+ category: string;
41
+ defaultValue: {
42
+ summary: boolean;
43
+ };
44
+ };
45
+ };
46
+ ontabindex: {
47
+ control: string;
48
+ description: string;
49
+ table: {
50
+ category: string;
51
+ defaultValue: {
52
+ summary: number;
53
+ };
54
+ };
55
+ name: string;
56
+ };
57
+ position: {
58
+ control: {
59
+ type: string;
60
+ };
61
+ options: string[];
62
+ description: string;
63
+ table: {
64
+ category: string;
65
+ defaultValue: {
66
+ summary: string;
67
+ };
68
+ };
69
+ name: string;
70
+ };
71
+ size: {
72
+ control: {
73
+ type: string;
74
+ };
75
+ options: string[];
76
+ description: string;
77
+ table: {
78
+ category: string;
79
+ defaultValue: {
80
+ summary: string;
81
+ };
82
+ };
83
+ };
84
+ background: {
85
+ control: {
86
+ type: string;
87
+ };
88
+ options: string[];
89
+ description: string;
90
+ table: {
91
+ category: string;
92
+ defaultValue: {
93
+ summary: string;
94
+ };
95
+ };
96
+ };
97
+ color: {
98
+ control: {
99
+ type: string;
100
+ };
101
+ options: string[];
102
+ description: string;
103
+ table: {
104
+ category: string;
105
+ defaultValue: {
106
+ summary: string;
107
+ };
108
+ };
109
+ };
110
+ onchange: {
111
+ control: string;
112
+ description: string;
113
+ table: {
114
+ category: string;
115
+ defaultValue: {
116
+ summary: string;
117
+ };
118
+ };
119
+ };
120
+ };
121
+ };
122
+ export default _default;
123
+ export declare const CuraSwitchStory: {
124
+ args: {
125
+ label: string;
126
+ color: string;
127
+ message: string;
128
+ checked: boolean;
129
+ size: string;
130
+ disabled: boolean;
131
+ position: string;
132
+ background: string;
133
+ ontabindex: number;
134
+ };
135
+ };