@rededor/cura 0.5.1 → 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 (375) 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/{app-globals-0e3b7fc6.js → app-globals-2988084b.js} +5 -5
  5. package/dist/cjs/app-globals-2988084b.js.map +1 -0
  6. package/dist/cjs/cura-accordion_8.cjs.entry.js +445 -0
  7. package/dist/cjs/cura-accordion_8.cjs.entry.js.map +1 -0
  8. package/dist/cjs/cura-alert.cjs.entry.js +67 -0
  9. package/dist/cjs/cura-alert.cjs.entry.js.map +1 -0
  10. package/dist/cjs/cura-button-outline.cjs.entry.js +83 -0
  11. package/dist/cjs/cura-button-outline.cjs.entry.js.map +1 -0
  12. package/dist/cjs/cura-button-select.cjs.entry.js +97 -0
  13. package/dist/cjs/cura-button-select.cjs.entry.js.map +1 -0
  14. package/dist/cjs/cura-button-transparent.cjs.entry.js +83 -0
  15. package/dist/cjs/cura-button-transparent.cjs.entry.js.map +1 -0
  16. package/dist/cjs/cura-checkbox.cjs.entry.js +144 -0
  17. package/dist/cjs/cura-checkbox.cjs.entry.js.map +1 -0
  18. package/dist/cjs/cura-display.cjs.entry.js +74 -0
  19. package/dist/cjs/cura-display.cjs.entry.js.map +1 -0
  20. package/dist/cjs/cura-forms.definitions-11be2ebd.js +20 -0
  21. package/dist/cjs/cura-forms.definitions-11be2ebd.js.map +1 -0
  22. package/dist/cjs/cura-icon.definitions-b73b0178.js +21 -0
  23. package/dist/cjs/cura-icon.definitions-b73b0178.js.map +1 -0
  24. package/dist/cjs/cura-icons-view.cjs.entry.js +36 -0
  25. package/dist/cjs/cura-icons-view.cjs.entry.js.map +1 -0
  26. package/dist/cjs/cura-input-text.cjs.entry.js +3907 -0
  27. package/dist/cjs/cura-input-text.cjs.entry.js.map +1 -0
  28. package/dist/cjs/cura-label.cjs.entry.js +69 -0
  29. package/dist/cjs/cura-label.cjs.entry.js.map +1 -0
  30. package/dist/cjs/cura-radio.cjs.entry.js +114 -0
  31. package/dist/cjs/cura-radio.cjs.entry.js.map +1 -0
  32. package/dist/cjs/cura-switch.cjs.entry.js +89 -0
  33. package/dist/cjs/cura-switch.cjs.entry.js.map +1 -0
  34. package/dist/cjs/cura.cjs.js +3 -3
  35. package/dist/cjs/{index-404d93e9.js → index-7616f620.js} +35 -1
  36. package/dist/cjs/index-7616f620.js.map +1 -0
  37. package/dist/cjs/index.cjs.js +7 -0
  38. package/dist/cjs/index.cjs.js.map +1 -1
  39. package/dist/cjs/loader.cjs.js +3 -3
  40. package/dist/collection/api/cura-api.type.js.map +1 -1
  41. package/dist/collection/api/modules/cura-theme-breakpoints-module.js +1 -1
  42. package/dist/collection/api/modules/cura-theme-breakpoints-module.js.map +1 -1
  43. package/dist/collection/api/modules/cura-theme-colors-module.js +1 -1
  44. package/dist/collection/api/modules/cura-theme-colors-module.js.map +1 -1
  45. package/dist/collection/api/theme-presets/static.js +2 -2
  46. package/dist/collection/api/theme-presets/static.js.map +1 -1
  47. package/dist/collection/assets/icons/iconset-default-list.js +1 -1
  48. package/dist/collection/assets/icons/iconset-default-list.js.map +1 -1
  49. package/dist/collection/assets/icons/iconset-default-tmp.svg +4 -0
  50. package/dist/collection/assets/icons/iconset-default.svg +1 -1
  51. package/dist/collection/assets-raw/icons/default/swap.svg +3 -0
  52. package/dist/collection/collection-manifest.json +7 -0
  53. package/dist/collection/components/accordion/cura-accordion-item/cura-accordion-item.css +10 -6
  54. package/dist/collection/components/buttons/cura-button/cura-button.css +4 -0
  55. package/dist/collection/components/buttons/cura-button/cura-button.stories.js +2 -2
  56. package/dist/collection/components/buttons/cura-button/cura-button.stories.js.map +1 -1
  57. package/dist/collection/components/buttons/cura-button-outline/cura-button-outline.css +4 -0
  58. package/dist/collection/components/buttons/cura-button-outline/cura-button-outline.stories.js +2 -2
  59. package/dist/collection/components/buttons/cura-button-outline/cura-button-outline.stories.js.map +1 -1
  60. package/dist/collection/components/buttons/cura-button-select/cura-button-select.css +139 -0
  61. package/dist/collection/components/buttons/cura-button-select/cura-button-select.js +263 -0
  62. package/dist/collection/components/buttons/cura-button-select/cura-button-select.js.map +1 -0
  63. package/dist/collection/components/buttons/cura-button-transparent/cura-button-transparent.css +4 -0
  64. package/dist/collection/components/buttons/cura-button-transparent/cura-button-transparent.stories.js +2 -2
  65. package/dist/collection/components/buttons/cura-button-transparent/cura-button-transparent.stories.js.map +1 -1
  66. package/dist/collection/components/cura-alert/cura-alert.css +30 -0
  67. package/dist/collection/components/cura-alert/cura-alert.js +167 -0
  68. package/dist/collection/components/cura-alert/cura-alert.js.map +1 -0
  69. package/dist/collection/components/cura-alert/cura-alert.stories.js +95 -0
  70. package/dist/collection/components/cura-alert/cura-alert.stories.js.map +1 -0
  71. package/dist/collection/components/cura-icon/cura-icon.definitions.js +15 -0
  72. package/dist/collection/components/cura-icon/cura-icon.definitions.js.map +1 -0
  73. package/dist/collection/components/cura-icon/cura-icon.js +9 -16
  74. package/dist/collection/components/cura-icon/cura-icon.js.map +1 -1
  75. package/dist/collection/components/cura-icon/cura-icon.stories.js +7 -6
  76. package/dist/collection/components/cura-icon/cura-icon.stories.js.map +1 -1
  77. package/dist/collection/components/cura-icons-view/cura-icons-view.css +16 -17
  78. package/dist/collection/components/cura-icons-view/cura-icons-view.js +10 -3
  79. package/dist/collection/components/cura-icons-view/cura-icons-view.js.map +1 -1
  80. package/dist/collection/components/cura-page-template/cura-page-template.css +13 -9
  81. package/dist/collection/components/forms/cura-checkbox/cura-checkbox.css +163 -0
  82. package/dist/collection/components/forms/cura-checkbox/cura-checkbox.js +431 -0
  83. package/dist/collection/components/forms/cura-checkbox/cura-checkbox.js.map +1 -0
  84. package/dist/collection/components/forms/cura-checkbox/cura-checkbox.stories.js +196 -0
  85. package/dist/collection/components/forms/cura-checkbox/cura-checkbox.stories.js.map +1 -0
  86. package/dist/collection/components/forms/cura-forms.definitions.js +15 -0
  87. package/dist/collection/components/forms/cura-forms.definitions.js.map +1 -0
  88. package/dist/collection/components/forms/cura-input-text/cura-input-text.css +326 -0
  89. package/dist/collection/components/forms/cura-input-text/cura-input-text.js +655 -0
  90. package/dist/collection/components/forms/cura-input-text/cura-input-text.js.map +1 -0
  91. package/dist/collection/components/forms/cura-input-text/cura-input-text.stories.js +224 -0
  92. package/dist/collection/components/forms/cura-input-text/cura-input-text.stories.js.map +1 -0
  93. package/dist/collection/components/forms/cura-input-text/mask-presets/input-mask-presets.js +46 -0
  94. package/dist/collection/components/forms/cura-input-text/mask-presets/input-mask-presets.js.map +1 -0
  95. package/dist/collection/components/forms/cura-label/cura-label.css +70 -0
  96. package/dist/collection/components/forms/cura-label/cura-label.js +190 -0
  97. package/dist/collection/components/forms/cura-label/cura-label.js.map +1 -0
  98. package/dist/collection/components/forms/cura-label/cura-label.stories.js +137 -0
  99. package/dist/collection/components/forms/cura-label/cura-label.stories.js.map +1 -0
  100. package/dist/collection/components/forms/cura-radio/cura-radio.css +146 -0
  101. package/dist/collection/components/forms/cura-radio/cura-radio.js +365 -0
  102. package/dist/collection/components/forms/cura-radio/cura-radio.js.map +1 -0
  103. package/dist/collection/components/forms/cura-radio/cura-radio.stories.js +175 -0
  104. package/dist/collection/components/forms/cura-radio/cura-radio.stories.js.map +1 -0
  105. package/dist/collection/components/forms/cura-switch/cura-switch.css +100 -0
  106. package/dist/collection/components/forms/cura-switch/cura-switch.js +266 -0
  107. package/dist/collection/components/forms/cura-switch/cura-switch.js.map +1 -0
  108. package/dist/collection/components/forms/cura-switch/cura-switch.stories.js +137 -0
  109. package/dist/collection/components/forms/cura-switch/cura-switch.stories.js.map +1 -0
  110. package/dist/collection/components/text/cura-display/cura-display.css +21 -38
  111. package/dist/collection/components/text/cura-display/cura-display.js +80 -49
  112. package/dist/collection/components/text/cura-display/cura-display.js.map +1 -1
  113. package/dist/collection/components/text/cura-display/cura-display.stories.js +78 -33
  114. package/dist/collection/components/text/cura-display/cura-display.stories.js.map +1 -1
  115. package/dist/collection/components/text/cura-heading/cura-heading.css +50 -24
  116. package/dist/collection/components/text/cura-heading/cura-heading.js +94 -39
  117. package/dist/collection/components/text/cura-heading/cura-heading.js.map +1 -1
  118. package/dist/collection/components/text/cura-heading/cura-heading.stories.js +92 -36
  119. package/dist/collection/components/text/cura-heading/cura-heading.stories.js.map +1 -1
  120. package/dist/collection/components/text/cura-paragraph/cura-paragraph.css +37 -38
  121. package/dist/collection/components/text/cura-paragraph/cura-paragraph.js +62 -41
  122. package/dist/collection/components/text/cura-paragraph/cura-paragraph.js.map +1 -1
  123. package/dist/collection/components/text/cura-paragraph/cura-paragraph.stories.js +78 -46
  124. package/dist/collection/components/text/cura-paragraph/cura-paragraph.stories.js.map +1 -1
  125. package/dist/collection/index.js +3 -1
  126. package/dist/collection/index.js.map +1 -1
  127. package/dist/components/cura-accordion-item.js +1 -1
  128. package/dist/components/cura-accordion-item.js.map +1 -1
  129. package/dist/components/cura-alert.d.ts +11 -0
  130. package/dist/components/cura-alert.js +105 -0
  131. package/dist/components/cura-alert.js.map +1 -0
  132. package/dist/components/cura-button-select.d.ts +11 -0
  133. package/dist/components/cura-button-select.js +127 -0
  134. package/dist/components/cura-button-select.js.map +1 -0
  135. package/dist/components/cura-checkbox.d.ts +11 -0
  136. package/dist/components/cura-checkbox.js +192 -0
  137. package/dist/components/cura-checkbox.js.map +1 -0
  138. package/dist/components/cura-display.js +41 -35
  139. package/dist/components/cura-display.js.map +1 -1
  140. package/dist/components/cura-forms.definitions.js +18 -0
  141. package/dist/components/cura-forms.definitions.js.map +1 -0
  142. package/dist/components/cura-heading.js +1 -87
  143. package/dist/components/cura-heading.js.map +1 -1
  144. package/dist/components/cura-heading2.js +104 -0
  145. package/dist/components/cura-heading2.js.map +1 -0
  146. package/dist/components/cura-icon2.js +24 -17
  147. package/dist/components/cura-icon2.js.map +1 -1
  148. package/dist/components/cura-icons-view.js +31 -7
  149. package/dist/components/cura-icons-view.js.map +1 -1
  150. package/dist/components/cura-input-text.d.ts +11 -0
  151. package/dist/components/cura-input-text.js +3961 -0
  152. package/dist/components/cura-input-text.js.map +1 -0
  153. package/dist/components/cura-label.d.ts +11 -0
  154. package/dist/components/cura-label.js +8 -0
  155. package/dist/components/cura-label.js.map +1 -0
  156. package/dist/components/cura-label2.js +88 -0
  157. package/dist/components/cura-label2.js.map +1 -0
  158. package/dist/components/cura-page-template.js +1 -1
  159. package/dist/components/cura-page-template.js.map +1 -1
  160. package/dist/components/cura-paragraph.js +1 -80
  161. package/dist/components/cura-paragraph.js.map +1 -1
  162. package/dist/components/cura-paragraph2.js +86 -0
  163. package/dist/components/cura-paragraph2.js.map +1 -0
  164. package/dist/components/cura-radio.d.ts +11 -0
  165. package/dist/components/cura-radio.js +154 -0
  166. package/dist/components/cura-radio.js.map +1 -0
  167. package/dist/components/cura-switch.d.ts +11 -0
  168. package/dist/components/cura-switch.js +119 -0
  169. package/dist/components/cura-switch.js.map +1 -0
  170. package/dist/components/index.js +23 -5
  171. package/dist/components/index.js.map +1 -1
  172. package/dist/cura/cura.esm.js +1 -1
  173. package/dist/cura/cura.esm.js.map +1 -1
  174. package/dist/cura/cura.js +1 -1
  175. package/dist/cura/index.esm.js +1 -1
  176. package/dist/cura/index.esm.js.map +1 -1
  177. package/dist/cura/p-120926c5.system.js +2 -0
  178. package/dist/cura/p-120926c5.system.js.map +1 -0
  179. package/dist/cura/p-1228e771.entry.js +2 -0
  180. package/dist/cura/p-1228e771.entry.js.map +1 -0
  181. package/dist/cura/p-2d42ccf4.entry.js +2 -0
  182. package/dist/cura/p-2d42ccf4.entry.js.map +1 -0
  183. package/dist/cura/p-3688570d.js +2 -0
  184. package/dist/cura/p-3688570d.js.map +1 -0
  185. package/dist/cura/p-36a83bc7.system.js +3 -0
  186. package/dist/cura/p-36a83bc7.system.js.map +1 -0
  187. package/dist/cura/p-3f3355f3.system.entry.js +2 -0
  188. package/dist/cura/p-3f3355f3.system.entry.js.map +1 -0
  189. package/dist/cura/p-48426f60.system.js +2 -0
  190. package/dist/cura/p-48426f60.system.js.map +1 -0
  191. package/dist/cura/p-4df84c9e.entry.js +2 -0
  192. package/dist/cura/p-4df84c9e.entry.js.map +1 -0
  193. package/dist/cura/p-70cefaf8.entry.js +2 -0
  194. package/dist/cura/p-70cefaf8.entry.js.map +1 -0
  195. package/dist/cura/p-72a9ed55.entry.js +2 -0
  196. package/dist/cura/p-72a9ed55.entry.js.map +1 -0
  197. package/dist/cura/p-75b2e4d1.system.entry.js +2 -0
  198. package/dist/cura/p-75b2e4d1.system.entry.js.map +1 -0
  199. package/dist/cura/p-880917c1.entry.js +2 -0
  200. package/dist/cura/p-880917c1.entry.js.map +1 -0
  201. package/dist/cura/p-9471c93e.system.entry.js +2 -0
  202. package/dist/cura/p-9471c93e.system.entry.js.map +1 -0
  203. package/dist/cura/p-98014544.entry.js +2 -0
  204. package/dist/cura/p-98014544.entry.js.map +1 -0
  205. package/dist/cura/p-98352c92.system.entry.js +2 -0
  206. package/dist/cura/p-98352c92.system.entry.js.map +1 -0
  207. package/dist/cura/p-a32889a4.system.js +2 -0
  208. package/dist/cura/p-a32889a4.system.js.map +1 -0
  209. package/dist/cura/p-a6d20c12.system.entry.js +2 -0
  210. package/dist/cura/p-a6d20c12.system.entry.js.map +1 -0
  211. package/dist/cura/p-ab8c9a8f.system.entry.js +2 -0
  212. package/dist/cura/p-ab8c9a8f.system.entry.js.map +1 -0
  213. package/dist/cura/p-ad194144.entry.js +2 -0
  214. package/dist/cura/p-ad194144.entry.js.map +1 -0
  215. package/dist/cura/p-b0e13882.system.entry.js +2 -0
  216. package/dist/cura/p-b0e13882.system.entry.js.map +1 -0
  217. package/dist/cura/p-ba66d7be.js +3 -0
  218. package/dist/cura/{p-c0c00396.system.js.map → p-ba66d7be.js.map} +1 -1
  219. package/dist/cura/p-bb3f9d05.entry.js +2 -0
  220. package/dist/cura/p-bb3f9d05.entry.js.map +1 -0
  221. package/dist/cura/p-c791725b.js +2 -0
  222. package/dist/cura/p-c791725b.js.map +1 -0
  223. package/dist/cura/p-c9afb94f.entry.js +2 -0
  224. package/dist/cura/p-c9afb94f.entry.js.map +1 -0
  225. package/dist/cura/p-d3f9c888.system.js +2 -0
  226. package/dist/cura/p-d3f9c888.system.js.map +1 -0
  227. package/dist/cura/p-e5e259fd.system.entry.js +2 -0
  228. package/dist/cura/p-e5e259fd.system.entry.js.map +1 -0
  229. package/dist/cura/p-edeffbfc.entry.js +2 -0
  230. package/dist/cura/p-edeffbfc.entry.js.map +1 -0
  231. package/dist/cura/p-eea5ca70.system.entry.js +2 -0
  232. package/dist/cura/p-eea5ca70.system.entry.js.map +1 -0
  233. package/dist/cura/p-f6e61abf.system.entry.js +2 -0
  234. package/dist/cura/p-f6e61abf.system.entry.js.map +1 -0
  235. package/dist/cura/p-f89f2ecc.system.entry.js +2 -0
  236. package/dist/cura/p-f89f2ecc.system.entry.js.map +1 -0
  237. package/dist/cura/p-f8fffdc1.js +2 -0
  238. package/dist/cura/p-f8fffdc1.js.map +1 -0
  239. package/dist/cura/p-fc4ba4ce.system.js +2 -0
  240. package/dist/cura/p-fc4ba4ce.system.js.map +1 -0
  241. package/dist/cura/p-fef52079.entry.js +2 -0
  242. package/dist/cura/p-fef52079.entry.js.map +1 -0
  243. package/dist/cura/p-ffd41520.system.entry.js +2 -0
  244. package/dist/cura/p-ffd41520.system.entry.js.map +1 -0
  245. package/dist/esm/{app-globals-cc003eaf.js → app-globals-29001758.js} +5 -5
  246. package/dist/esm/app-globals-29001758.js.map +1 -0
  247. package/dist/esm/cura-accordion_8.entry.js +434 -0
  248. package/dist/esm/cura-accordion_8.entry.js.map +1 -0
  249. package/dist/esm/cura-alert.entry.js +63 -0
  250. package/dist/esm/cura-alert.entry.js.map +1 -0
  251. package/dist/esm/cura-button-outline.entry.js +79 -0
  252. package/dist/esm/cura-button-outline.entry.js.map +1 -0
  253. package/dist/esm/cura-button-select.entry.js +93 -0
  254. package/dist/esm/cura-button-select.entry.js.map +1 -0
  255. package/dist/esm/cura-button-transparent.entry.js +79 -0
  256. package/dist/esm/cura-button-transparent.entry.js.map +1 -0
  257. package/dist/esm/cura-checkbox.entry.js +140 -0
  258. package/dist/esm/cura-checkbox.entry.js.map +1 -0
  259. package/dist/esm/cura-display.entry.js +70 -0
  260. package/dist/esm/cura-display.entry.js.map +1 -0
  261. package/dist/esm/cura-forms.definitions-0f774253.js +18 -0
  262. package/dist/esm/cura-forms.definitions-0f774253.js.map +1 -0
  263. package/dist/esm/cura-icon.definitions-a63d1862.js +18 -0
  264. package/dist/esm/cura-icon.definitions-a63d1862.js.map +1 -0
  265. package/dist/esm/cura-icons-view.entry.js +32 -0
  266. package/dist/esm/cura-icons-view.entry.js.map +1 -0
  267. package/dist/esm/cura-input-text.entry.js +3903 -0
  268. package/dist/esm/cura-input-text.entry.js.map +1 -0
  269. package/dist/esm/cura-label.entry.js +65 -0
  270. package/dist/esm/cura-label.entry.js.map +1 -0
  271. package/dist/esm/cura-radio.entry.js +110 -0
  272. package/dist/esm/cura-radio.entry.js.map +1 -0
  273. package/dist/esm/cura-switch.entry.js +85 -0
  274. package/dist/esm/cura-switch.entry.js.map +1 -0
  275. package/dist/esm/cura.js +4 -4
  276. package/dist/esm/{index-d99da69e.js → index-81f1a268.js} +35 -2
  277. package/dist/{esm-es5/index-d99da69e.js.map → esm/index-81f1a268.js.map} +1 -1
  278. package/dist/esm/index.js +4 -0
  279. package/dist/esm/index.js.map +1 -1
  280. package/dist/esm/loader.js +4 -4
  281. package/dist/esm-es5/app-globals-29001758.js +2 -0
  282. package/dist/esm-es5/app-globals-29001758.js.map +1 -0
  283. package/dist/esm-es5/cura-accordion_8.entry.js +2 -0
  284. package/dist/esm-es5/cura-accordion_8.entry.js.map +1 -0
  285. package/dist/esm-es5/cura-alert.entry.js +2 -0
  286. package/dist/esm-es5/cura-alert.entry.js.map +1 -0
  287. package/dist/esm-es5/cura-button-outline.entry.js +2 -0
  288. package/dist/esm-es5/cura-button-outline.entry.js.map +1 -0
  289. package/dist/esm-es5/cura-button-select.entry.js +2 -0
  290. package/dist/esm-es5/cura-button-select.entry.js.map +1 -0
  291. package/dist/esm-es5/cura-button-transparent.entry.js +2 -0
  292. package/dist/esm-es5/cura-button-transparent.entry.js.map +1 -0
  293. package/dist/esm-es5/cura-checkbox.entry.js +2 -0
  294. package/dist/esm-es5/cura-checkbox.entry.js.map +1 -0
  295. package/dist/esm-es5/cura-display.entry.js +2 -0
  296. package/dist/esm-es5/cura-display.entry.js.map +1 -0
  297. package/dist/esm-es5/cura-forms.definitions-0f774253.js +2 -0
  298. package/dist/esm-es5/cura-forms.definitions-0f774253.js.map +1 -0
  299. package/dist/esm-es5/cura-icon.definitions-a63d1862.js +2 -0
  300. package/dist/esm-es5/cura-icon.definitions-a63d1862.js.map +1 -0
  301. package/dist/esm-es5/cura-icons-view.entry.js +2 -0
  302. package/dist/esm-es5/cura-icons-view.entry.js.map +1 -0
  303. package/dist/esm-es5/cura-input-text.entry.js +2 -0
  304. package/dist/esm-es5/cura-input-text.entry.js.map +1 -0
  305. package/dist/esm-es5/cura-label.entry.js +2 -0
  306. package/dist/esm-es5/cura-label.entry.js.map +1 -0
  307. package/dist/esm-es5/cura-radio.entry.js +2 -0
  308. package/dist/esm-es5/cura-radio.entry.js.map +1 -0
  309. package/dist/esm-es5/cura-switch.entry.js +2 -0
  310. package/dist/esm-es5/cura-switch.entry.js.map +1 -0
  311. package/dist/esm-es5/cura.js +1 -1
  312. package/dist/esm-es5/cura.js.map +1 -1
  313. package/dist/esm-es5/index-81f1a268.js +3 -0
  314. package/dist/esm-es5/index-81f1a268.js.map +1 -0
  315. package/dist/esm-es5/index.js +1 -1
  316. package/dist/esm-es5/index.js.map +1 -1
  317. package/dist/esm-es5/loader.js +1 -1
  318. package/dist/esm-es5/loader.js.map +1 -1
  319. package/dist/types/api/cura-api.type.d.ts +1 -0
  320. package/dist/types/components/buttons/cura-button/cura-button.d.ts +1 -1
  321. package/dist/types/components/buttons/cura-button-select/cura-button-select.d.ts +51 -0
  322. package/dist/types/components/cura-alert/cura-alert.d.ts +16 -0
  323. package/dist/types/components/cura-alert/cura-alert.stories.d.ts +79 -0
  324. package/dist/types/components/cura-icon/cura-icon.d.ts +0 -42
  325. package/dist/types/components/cura-icon/cura-icon.definitions.d.ts +47 -0
  326. package/dist/types/components/cura-icons-view/cura-icons-view.d.ts +2 -1
  327. package/dist/types/components/forms/cura-checkbox/cura-checkbox.d.ts +100 -0
  328. package/dist/types/components/forms/cura-checkbox/cura-checkbox.stories.d.ts +199 -0
  329. package/dist/types/components/forms/cura-forms.definitions.d.ts +14 -0
  330. package/dist/types/components/forms/cura-input-text/cura-input-text.d.ts +138 -0
  331. package/dist/types/components/forms/cura-input-text/cura-input-text.stories.d.ts +224 -0
  332. package/dist/types/components/forms/cura-input-text/mask-presets/input-mask-presets.d.ts +5 -0
  333. package/dist/types/components/forms/cura-label/cura-label.d.ts +54 -0
  334. package/dist/types/components/forms/cura-label/cura-label.stories.d.ts +126 -0
  335. package/dist/types/components/forms/cura-radio/cura-radio.d.ts +81 -0
  336. package/dist/types/components/forms/cura-radio/cura-radio.stories.d.ts +180 -0
  337. package/dist/types/components/forms/cura-switch/cura-switch.d.ts +62 -0
  338. package/dist/types/components/forms/cura-switch/cura-switch.stories.d.ts +135 -0
  339. package/dist/types/components/text/cura-display/cura-display.d.ts +29 -18
  340. package/dist/types/components/text/cura-display/cura-display.stories.d.ts +52 -14
  341. package/dist/types/components/text/cura-heading/cura-heading.d.ts +34 -17
  342. package/dist/types/components/text/cura-heading/cura-heading.stories.d.ts +58 -6
  343. package/dist/types/components/text/cura-paragraph/cura-paragraph.d.ts +24 -12
  344. package/dist/types/components/text/cura-paragraph/cura-paragraph.stories.d.ts +47 -9
  345. package/dist/types/components.d.ts +741 -46
  346. package/dist/types/index.d.ts +9 -0
  347. package/package.json +5 -6
  348. package/dist/cjs/app-globals-0e3b7fc6.js.map +0 -1
  349. package/dist/cjs/cura-accordion_12.cjs.entry.js +0 -674
  350. package/dist/cjs/cura-accordion_12.cjs.entry.js.map +0 -1
  351. package/dist/cjs/index-404d93e9.js.map +0 -1
  352. package/dist/cura/p-319699df.entry.js +0 -2
  353. package/dist/cura/p-319699df.entry.js.map +0 -1
  354. package/dist/cura/p-46d20db3.js +0 -3
  355. package/dist/cura/p-46d20db3.js.map +0 -1
  356. package/dist/cura/p-50ea2036.system.js +0 -2
  357. package/dist/cura/p-50ea2036.system.js.map +0 -1
  358. package/dist/cura/p-5250cb43.system.js +0 -2
  359. package/dist/cura/p-5250cb43.system.js.map +0 -1
  360. package/dist/cura/p-5cc3c8bd.system.entry.js +0 -2
  361. package/dist/cura/p-5cc3c8bd.system.entry.js.map +0 -1
  362. package/dist/cura/p-788e035b.system.js +0 -2
  363. package/dist/cura/p-788e035b.system.js.map +0 -1
  364. package/dist/cura/p-c0c00396.system.js +0 -3
  365. package/dist/cura/p-d5c64a5f.js +0 -2
  366. package/dist/cura/p-d5c64a5f.js.map +0 -1
  367. package/dist/esm/app-globals-cc003eaf.js.map +0 -1
  368. package/dist/esm/cura-accordion_12.entry.js +0 -659
  369. package/dist/esm/cura-accordion_12.entry.js.map +0 -1
  370. package/dist/esm/index-d99da69e.js.map +0 -1
  371. package/dist/esm-es5/app-globals-cc003eaf.js +0 -2
  372. package/dist/esm-es5/app-globals-cc003eaf.js.map +0 -1
  373. package/dist/esm-es5/cura-accordion_12.entry.js +0 -2
  374. package/dist/esm-es5/cura-accordion_12.entry.js.map +0 -1
  375. package/dist/esm-es5/index-d99da69e.js +0 -3
@@ -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,54 @@
1
+ export declare class CuraLabel {
2
+ /**
3
+ * Set size of body text.
4
+ * Values: medium (default) | large | small | xsmall.
5
+ */
6
+ size: 'medium' | 'large' | 'small' | 'xsmall';
7
+ /**
8
+ * Label font weight. It is possible to use regular HTML tags like <b> or <strong> as well.
9
+ * Values: regular (default) | bold.
10
+ */
11
+ weight: 'regular' | 'bold';
12
+ /**
13
+ * Apply design system color to interactive elements like <a> and <abbr> inside the text.
14
+ * Values: Color from design system scheme. Default to 'accent-dark'.
15
+ */
16
+ spotColor: string;
17
+ /**
18
+ * Text color.
19
+ * Values: Color from design system scheme. Default to the font color from the theme.
20
+ */
21
+ color: string;
22
+ handleChangeColor(): void;
23
+ /**
24
+ * CSS margin-block property values.
25
+ * Default to 1.25em
26
+ */
27
+ marginBlock: string;
28
+ /**
29
+ * CSS line-height property values.
30
+ * Default to 140%
31
+ */
32
+ lineHeight: string;
33
+ /**
34
+ * Host element <cura-label>
35
+ */
36
+ host: HTMLElement;
37
+ /**
38
+ * Internal Props
39
+ */
40
+ weights: any;
41
+ fontSizeBase: string;
42
+ styles: {};
43
+ theme: import("../../../api/cura-api.type").APIThemeFunctions;
44
+ connectedCallback(): void;
45
+ getClasses(): {};
46
+ setFontProperties(): void;
47
+ setColors(): void;
48
+ hostCSSProperties(): {
49
+ '--margin-block': string;
50
+ '--font-size-base': string;
51
+ '--line-height': string;
52
+ };
53
+ render(): any;
54
+ }
@@ -0,0 +1,126 @@
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
+ label: {
10
+ control: string;
11
+ description: string;
12
+ name: string;
13
+ };
14
+ size: {
15
+ control: {
16
+ type: string;
17
+ };
18
+ options: string[];
19
+ description: string;
20
+ table: {
21
+ category: string;
22
+ defaultValue: {
23
+ summary: string;
24
+ };
25
+ };
26
+ };
27
+ weight: {
28
+ control: {
29
+ type: string;
30
+ };
31
+ options: string[];
32
+ description: string;
33
+ table: {
34
+ category: string;
35
+ defaultValue: {
36
+ summary: string;
37
+ };
38
+ };
39
+ };
40
+ color: {
41
+ control: {
42
+ type: string;
43
+ };
44
+ options: string[];
45
+ description: string;
46
+ table: {
47
+ category: string;
48
+ defaultValue: {
49
+ summary: string;
50
+ };
51
+ };
52
+ };
53
+ spotColor: {
54
+ control: {
55
+ type: string;
56
+ };
57
+ options: string[];
58
+ description: string;
59
+ name: string;
60
+ table: {
61
+ category: string;
62
+ defaultValue: {
63
+ summary: string;
64
+ };
65
+ };
66
+ };
67
+ marginBlock: {
68
+ control: string;
69
+ description: string;
70
+ name: string;
71
+ table: {
72
+ category: string;
73
+ defaultValue: {
74
+ summary: string;
75
+ };
76
+ };
77
+ };
78
+ lineHeight: {
79
+ control: string;
80
+ description: string;
81
+ name: string;
82
+ table: {
83
+ category: string;
84
+ defaultValue: {
85
+ summary: string;
86
+ };
87
+ };
88
+ };
89
+ cssMarginBlock: {
90
+ control: string;
91
+ description: string;
92
+ name: string;
93
+ table: {
94
+ category: string;
95
+ defaultValue: {
96
+ summary: string;
97
+ };
98
+ };
99
+ };
100
+ cssLineHeight: {
101
+ control: string;
102
+ description: string;
103
+ name: string;
104
+ table: {
105
+ category: string;
106
+ defaultValue: {
107
+ summary: string;
108
+ };
109
+ };
110
+ };
111
+ };
112
+ };
113
+ export default _default;
114
+ export declare const Label: {
115
+ args: {
116
+ label: string;
117
+ size: string;
118
+ weight: string;
119
+ color: string;
120
+ spotColor: string;
121
+ marginBlock: string;
122
+ lineHeight: string;
123
+ cssMarginBlock: string;
124
+ cssLineHeight: string;
125
+ };
126
+ };
@@ -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
+ };