@rededor/cura 1.2.0 → 1.4.0-alpha.0

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 (273) hide show
  1. package/dist/cjs/{app-globals-4d07f363.js → app-globals-f33ceef8.js} +32 -1
  2. package/dist/cjs/app-globals-f33ceef8.js.map +1 -0
  3. package/dist/cjs/cura-accordion_12.cjs.entry.js +39 -38
  4. package/dist/cjs/cura-accordion_12.cjs.entry.js.map +1 -1
  5. package/dist/cjs/cura-alert.cjs.entry.js +3 -2
  6. package/dist/cjs/cura-alert.cjs.entry.js.map +1 -1
  7. package/dist/cjs/cura-avatar.cjs.entry.js +1 -1
  8. package/dist/cjs/cura-badge-distance.cjs.entry.js +1 -1
  9. package/dist/cjs/cura-badge-number.cjs.entry.js +2 -2
  10. package/dist/cjs/cura-badge-number.cjs.entry.js.map +1 -1
  11. package/dist/cjs/cura-button-outline.cjs.entry.js +1 -1
  12. package/dist/cjs/cura-button-select.cjs.entry.js +17 -9
  13. package/dist/cjs/cura-button-select.cjs.entry.js.map +1 -1
  14. package/dist/cjs/cura-button-transparent.cjs.entry.js +1 -1
  15. package/dist/cjs/cura-calendar.cjs.entry.js +2 -2
  16. package/dist/cjs/cura-calendar.cjs.entry.js.map +1 -1
  17. package/dist/cjs/cura-card.cjs.entry.js +1 -1
  18. package/dist/cjs/cura-checkbox.cjs.entry.js +1 -1
  19. package/dist/cjs/cura-display.cjs.entry.js +1 -1
  20. package/dist/cjs/cura-dropdown-search-option-title.cjs.entry.js +1 -1
  21. package/dist/cjs/cura-dropdown-search-option.cjs.entry.js +2 -2
  22. package/dist/cjs/cura-dropdown-search.cjs.entry.js +21 -11
  23. package/dist/cjs/cura-dropdown-search.cjs.entry.js.map +1 -1
  24. package/dist/cjs/cura-icons-view.cjs.entry.js +3 -3
  25. package/dist/cjs/cura-input-date.cjs.entry.js +45 -45
  26. package/dist/cjs/cura-input-date.cjs.entry.js.map +1 -1
  27. package/dist/cjs/cura-loader-bar.cjs.entry.js +1 -1
  28. package/dist/cjs/cura-modal.cjs.entry.js +50 -0
  29. package/dist/cjs/cura-modal.cjs.entry.js.map +1 -0
  30. package/dist/cjs/cura-radio.cjs.entry.js +1 -1
  31. package/dist/cjs/cura-switch.cjs.entry.js +1 -1
  32. package/dist/cjs/cura-toast.cjs.entry.js +1 -1
  33. package/dist/cjs/cura-tooltip.cjs.entry.js +232 -0
  34. package/dist/cjs/cura-tooltip.cjs.entry.js.map +1 -0
  35. package/dist/cjs/cura.cjs.js +2 -2
  36. package/dist/cjs/loader.cjs.js +2 -2
  37. package/dist/collection/api/theme-presets/theme-presets.js +2 -0
  38. package/dist/collection/api/theme-presets/theme-presets.js.map +1 -1
  39. package/dist/collection/api/theme-presets/theme-richet.js +32 -0
  40. package/dist/collection/api/theme-presets/theme-richet.js.map +1 -0
  41. package/dist/collection/collection-manifest.json +2 -0
  42. package/dist/collection/components/accordion/cura-accordion/cura-accordion.css +0 -6
  43. package/dist/collection/components/accordion/cura-accordion/cura-accordion.js +41 -43
  44. package/dist/collection/components/accordion/cura-accordion/cura-accordion.js.map +1 -1
  45. package/dist/collection/components/accordion/cura-accordion/cura-accordion.stories.js +54 -36
  46. package/dist/collection/components/accordion/cura-accordion/cura-accordion.stories.js.map +1 -1
  47. package/dist/collection/components/accordion/cura-accordion-item/cura-accordion-item.css +61 -60
  48. package/dist/collection/components/accordion/cura-accordion-item/cura-accordion-item.js +41 -23
  49. package/dist/collection/components/accordion/cura-accordion-item/cura-accordion-item.js.map +1 -1
  50. package/dist/collection/components/badges/cura-badge-distance/cura-badge-distance.js +1 -1
  51. package/dist/collection/components/badges/cura-badge-number/cura-badge-number.css +0 -2
  52. package/dist/collection/components/badges/cura-badge-number/cura-badge-number.js +1 -1
  53. package/dist/collection/components/badges/cura-badge-number/cura-badge-number.js.map +1 -1
  54. package/dist/collection/components/buttons/cura-button/cura-button.js +1 -1
  55. package/dist/collection/components/buttons/cura-button-outline/cura-button-outline.js +1 -1
  56. package/dist/collection/components/buttons/cura-button-select/cura-button-select.css +36 -2
  57. package/dist/collection/components/buttons/cura-button-select/cura-button-select.js +39 -11
  58. package/dist/collection/components/buttons/cura-button-select/cura-button-select.js.map +1 -1
  59. package/dist/collection/components/buttons/cura-button-select/cura-button-select.stories.js +18 -7
  60. package/dist/collection/components/buttons/cura-button-select/cura-button-select.stories.js.map +1 -1
  61. package/dist/collection/components/buttons/cura-button-transparent/cura-button-transparent.js +1 -1
  62. package/dist/collection/components/cura-alert/cura-alert.css +25 -11
  63. package/dist/collection/components/cura-alert/cura-alert.js +2 -1
  64. package/dist/collection/components/cura-alert/cura-alert.js.map +1 -1
  65. package/dist/collection/components/cura-avatar/cura-avatar.js +1 -1
  66. package/dist/collection/components/cura-calendar/cura-calendar.css +1 -0
  67. package/dist/collection/components/cura-calendar/cura-calendar.js +1 -1
  68. package/dist/collection/components/cura-card/cura-card.js +1 -1
  69. package/dist/collection/components/cura-icon/cura-icon.js +1 -1
  70. package/dist/collection/components/cura-icons-view/cura-icons-view.js +3 -3
  71. package/dist/collection/components/cura-modal/cura-modal.css +211 -0
  72. package/dist/collection/components/cura-modal/cura-modal.js +134 -0
  73. package/dist/collection/components/cura-modal/cura-modal.js.map +1 -0
  74. package/dist/collection/components/cura-modal/cura-modal.stories.js +85 -0
  75. package/dist/collection/components/cura-modal/cura-modal.stories.js.map +1 -0
  76. package/dist/collection/components/cura-page-template/cura-page-template.js +1 -1
  77. package/dist/collection/components/cura-toast/cura-toast.js +1 -1
  78. package/dist/collection/components/cura-tooltip/cura-tooltip.css +159 -0
  79. package/dist/collection/components/cura-tooltip/cura-tooltip.js +397 -0
  80. package/dist/collection/components/cura-tooltip/cura-tooltip.js.map +1 -0
  81. package/dist/collection/components/cura-tooltip/cura-tooltip.stories.js +137 -0
  82. package/dist/collection/components/cura-tooltip/cura-tooltip.stories.js.map +1 -0
  83. package/dist/collection/components/forms/cura-checkbox/cura-checkbox.js +1 -1
  84. package/dist/collection/components/forms/cura-dropdown-search/cura-dropdown-search-option/cura-dropdown-search-option.js +2 -2
  85. package/dist/collection/components/forms/cura-dropdown-search/cura-dropdown-search-option-title/cura-dropdown-search-option-title.js +1 -1
  86. package/dist/collection/components/forms/cura-dropdown-search/cura-dropdown-search.css +1 -1
  87. package/dist/collection/components/forms/cura-dropdown-search/cura-dropdown-search.js +20 -10
  88. package/dist/collection/components/forms/cura-dropdown-search/cura-dropdown-search.js.map +1 -1
  89. package/dist/collection/components/forms/cura-input-date/cura-input-date.css +15 -0
  90. package/dist/collection/components/forms/cura-input-date/cura-input-date.js +69 -68
  91. package/dist/collection/components/forms/cura-input-date/cura-input-date.js.map +1 -1
  92. package/dist/collection/components/forms/cura-input-date/cura-input-date.stories.js +29 -10
  93. package/dist/collection/components/forms/cura-input-date/cura-input-date.stories.js.map +1 -1
  94. package/dist/collection/components/forms/cura-input-text/cura-input-text.js +1 -1
  95. package/dist/collection/components/forms/cura-label/cura-label.js +1 -1
  96. package/dist/collection/components/forms/cura-radio/cura-radio.js +1 -1
  97. package/dist/collection/components/forms/cura-select/cura-select.js +3 -3
  98. package/dist/collection/components/forms/cura-select-options/cura-select-option.js +1 -1
  99. package/dist/collection/components/forms/cura-switch/cura-switch.js +1 -1
  100. package/dist/collection/components/loaders/cura-loader-bar/cura-loader-bar.js +1 -1
  101. package/dist/collection/components/loaders/cura-loader-circle/cura-loader-circle.js +1 -1
  102. package/dist/collection/components/text/cura-display/cura-display.js +1 -1
  103. package/dist/collection/components/text/cura-heading/cura-heading.css +5 -1
  104. package/dist/collection/components/text/cura-heading/cura-heading.js +7 -6
  105. package/dist/collection/components/text/cura-heading/cura-heading.js.map +1 -1
  106. package/dist/collection/components/text/cura-paragraph/cura-paragraph.js +1 -1
  107. package/dist/components/cura-accordion-item.js +19 -12
  108. package/dist/components/cura-accordion-item.js.map +1 -1
  109. package/dist/components/cura-accordion.js +14 -15
  110. package/dist/components/cura-accordion.js.map +1 -1
  111. package/dist/components/cura-alert.js +3 -2
  112. package/dist/components/cura-alert.js.map +1 -1
  113. package/dist/components/cura-avatar.js +1 -1
  114. package/dist/components/cura-badge-distance.js +1 -1
  115. package/dist/components/cura-badge-number2.js +2 -2
  116. package/dist/components/cura-badge-number2.js.map +1 -1
  117. package/dist/components/cura-button-outline.js +1 -1
  118. package/dist/components/cura-button-select.js +18 -9
  119. package/dist/components/cura-button-select.js.map +1 -1
  120. package/dist/components/cura-button-transparent2.js +1 -1
  121. package/dist/components/cura-button.js +1 -1
  122. package/dist/components/cura-calendar2.js +2 -2
  123. package/dist/components/cura-calendar2.js.map +1 -1
  124. package/dist/components/cura-card.js +1 -1
  125. package/dist/components/cura-checkbox.js +1 -1
  126. package/dist/components/cura-display.js +1 -1
  127. package/dist/components/cura-dropdown-search-option-title.js +1 -1
  128. package/dist/components/cura-dropdown-search-option.js +2 -2
  129. package/dist/components/cura-dropdown-search.js +21 -11
  130. package/dist/components/cura-dropdown-search.js.map +1 -1
  131. package/dist/components/cura-heading2.js +8 -7
  132. package/dist/components/cura-heading2.js.map +1 -1
  133. package/dist/components/cura-icon2.js +1 -1
  134. package/dist/components/cura-icons-view.js +3 -3
  135. package/dist/components/cura-input-date.js +54 -57
  136. package/dist/components/cura-input-date.js.map +1 -1
  137. package/dist/components/cura-label2.js +1 -1
  138. package/dist/components/cura-loader-bar2.js +1 -1
  139. package/dist/components/cura-loader-circle2.js +1 -1
  140. package/dist/components/cura-modal.d.ts +11 -0
  141. package/dist/components/cura-modal.js +84 -0
  142. package/dist/components/cura-modal.js.map +1 -0
  143. package/dist/components/cura-page-template.js +1 -1
  144. package/dist/components/cura-paragraph2.js +1 -1
  145. package/dist/components/cura-radio.js +1 -1
  146. package/dist/components/cura-select-option2.js +1 -1
  147. package/dist/components/cura-select2.js +3 -3
  148. package/dist/components/cura-switch.js +1 -1
  149. package/dist/components/cura-toast.js +1 -1
  150. package/dist/components/cura-tooltip.d.ts +11 -0
  151. package/dist/components/cura-tooltip.js +291 -0
  152. package/dist/components/cura-tooltip.js.map +1 -0
  153. package/dist/components/index.js +35 -0
  154. package/dist/components/index.js.map +1 -1
  155. package/dist/cura/cura.esm.js +1 -1
  156. package/dist/cura/cura.esm.js.map +1 -1
  157. package/dist/cura/{p-116a1cd6.entry.js → p-01e301d4.entry.js} +2 -2
  158. package/dist/cura/p-0308cf6b.entry.js +2 -0
  159. package/dist/cura/p-0308cf6b.entry.js.map +1 -0
  160. package/dist/cura/{p-c6508bd7.entry.js → p-075b02de.entry.js} +2 -2
  161. package/dist/cura/{p-fd083399.entry.js → p-0e28f1c8.entry.js} +2 -2
  162. package/dist/cura/{p-e5023e34.entry.js → p-1f53580a.entry.js} +2 -2
  163. package/dist/cura/p-3536c96b.entry.js +2 -0
  164. package/dist/cura/p-3536c96b.entry.js.map +1 -0
  165. package/dist/cura/p-5bb8302c.entry.js +2 -0
  166. package/dist/cura/p-5bb8302c.entry.js.map +1 -0
  167. package/dist/cura/p-7090d4a7.entry.js +2 -0
  168. package/dist/cura/p-7090d4a7.entry.js.map +1 -0
  169. package/dist/cura/p-71a2dcef.entry.js +2 -0
  170. package/dist/cura/p-71a2dcef.entry.js.map +1 -0
  171. package/dist/cura/{p-2956f120.entry.js → p-7853ab16.entry.js} +2 -2
  172. package/dist/cura/{p-2956f120.entry.js.map → p-7853ab16.entry.js.map} +1 -1
  173. package/dist/cura/{p-41c3d47d.entry.js → p-81c66f2b.entry.js} +2 -2
  174. package/dist/cura/p-82b99090.js +2 -0
  175. package/dist/cura/p-82b99090.js.map +1 -0
  176. package/dist/cura/p-9a7e3f48.entry.js +2 -0
  177. package/dist/cura/p-9a7e3f48.entry.js.map +1 -0
  178. package/dist/cura/{p-dcd2e5bb.entry.js → p-a7ecea4a.entry.js} +2 -2
  179. package/dist/cura/{p-33772510.entry.js → p-b0451cb3.entry.js} +2 -2
  180. package/dist/cura/{p-907b3d12.entry.js → p-bfb5e9e1.entry.js} +2 -2
  181. package/dist/cura/{p-fdce91a7.entry.js → p-d635501a.entry.js} +2 -2
  182. package/dist/cura/{p-44e3325a.entry.js → p-dbd9eab3.entry.js} +2 -2
  183. package/dist/cura/{p-8f3db0fe.entry.js → p-e5b0dd74.entry.js} +2 -2
  184. package/dist/cura/p-ebed83d1.entry.js +2 -0
  185. package/dist/cura/{p-fcbf4311.entry.js → p-ed839f1e.entry.js} +2 -2
  186. package/dist/cura/p-eda28278.entry.js +2 -0
  187. package/dist/cura/p-eda28278.entry.js.map +1 -0
  188. package/dist/cura/{p-b2d5db22.entry.js → p-eea093b2.entry.js} +2 -2
  189. package/dist/cura/p-f375a612.entry.js +2 -0
  190. package/dist/cura/p-f375a612.entry.js.map +1 -0
  191. package/dist/esm/{app-globals-6ca7103d.js → app-globals-e54ee4c3.js} +32 -1
  192. package/dist/esm/app-globals-e54ee4c3.js.map +1 -0
  193. package/dist/esm/cura-accordion_12.entry.js +39 -38
  194. package/dist/esm/cura-accordion_12.entry.js.map +1 -1
  195. package/dist/esm/cura-alert.entry.js +3 -2
  196. package/dist/esm/cura-alert.entry.js.map +1 -1
  197. package/dist/esm/cura-avatar.entry.js +1 -1
  198. package/dist/esm/cura-badge-distance.entry.js +1 -1
  199. package/dist/esm/cura-badge-number.entry.js +2 -2
  200. package/dist/esm/cura-badge-number.entry.js.map +1 -1
  201. package/dist/esm/cura-button-outline.entry.js +1 -1
  202. package/dist/esm/cura-button-select.entry.js +17 -9
  203. package/dist/esm/cura-button-select.entry.js.map +1 -1
  204. package/dist/esm/cura-button-transparent.entry.js +1 -1
  205. package/dist/esm/cura-calendar.entry.js +2 -2
  206. package/dist/esm/cura-calendar.entry.js.map +1 -1
  207. package/dist/esm/cura-card.entry.js +1 -1
  208. package/dist/esm/cura-checkbox.entry.js +1 -1
  209. package/dist/esm/cura-display.entry.js +1 -1
  210. package/dist/esm/cura-dropdown-search-option-title.entry.js +1 -1
  211. package/dist/esm/cura-dropdown-search-option.entry.js +2 -2
  212. package/dist/esm/cura-dropdown-search.entry.js +21 -11
  213. package/dist/esm/cura-dropdown-search.entry.js.map +1 -1
  214. package/dist/esm/cura-icons-view.entry.js +3 -3
  215. package/dist/esm/cura-input-date.entry.js +45 -45
  216. package/dist/esm/cura-input-date.entry.js.map +1 -1
  217. package/dist/esm/cura-loader-bar.entry.js +1 -1
  218. package/dist/esm/cura-modal.entry.js +46 -0
  219. package/dist/esm/cura-modal.entry.js.map +1 -0
  220. package/dist/esm/cura-radio.entry.js +1 -1
  221. package/dist/esm/cura-switch.entry.js +1 -1
  222. package/dist/esm/cura-toast.entry.js +1 -1
  223. package/dist/esm/cura-tooltip.entry.js +228 -0
  224. package/dist/esm/cura-tooltip.entry.js.map +1 -0
  225. package/dist/esm/cura.js +2 -2
  226. package/dist/esm/loader.js +2 -2
  227. package/dist/types/api/theme-presets/theme-presets.d.ts +43 -0
  228. package/dist/types/api/theme-presets/theme-richet.d.ts +43 -0
  229. package/dist/types/components/accordion/cura-accordion/cura-accordion.d.ts +7 -3
  230. package/dist/types/components/accordion/cura-accordion/cura-accordion.stories.d.ts +38 -16
  231. package/dist/types/components/accordion/cura-accordion-item/cura-accordion-item.d.ts +8 -3
  232. package/dist/types/components/buttons/cura-button-select/cura-button-select.d.ts +2 -0
  233. package/dist/types/components/buttons/cura-button-select/cura-button-select.stories.d.ts +14 -0
  234. package/dist/types/components/cura-modal/cura-modal.d.ts +28 -0
  235. package/dist/types/components/cura-modal/cura-modal.stories.d.ts +70 -0
  236. package/dist/types/components/cura-tooltip/cura-tooltip.d.ts +25 -0
  237. package/dist/types/components/cura-tooltip/cura-tooltip.stories.d.ts +119 -0
  238. package/dist/types/components/forms/cura-dropdown-search/cura-dropdown-search.d.ts +1 -0
  239. package/dist/types/components/forms/cura-input-date/cura-input-date.d.ts +19 -19
  240. package/dist/types/components/text/cura-heading/cura-heading.d.ts +1 -0
  241. package/dist/types/components.d.ts +131 -10
  242. package/package.json +2 -2
  243. package/dist/cjs/app-globals-4d07f363.js.map +0 -1
  244. package/dist/cura/p-0b7a7306.js +0 -2
  245. package/dist/cura/p-0b7a7306.js.map +0 -1
  246. package/dist/cura/p-2d267d23.entry.js +0 -2
  247. package/dist/cura/p-2d267d23.entry.js.map +0 -1
  248. package/dist/cura/p-4e14c01c.entry.js +0 -2
  249. package/dist/cura/p-b43b69f3.entry.js +0 -2
  250. package/dist/cura/p-b43b69f3.entry.js.map +0 -1
  251. package/dist/cura/p-be10b681.entry.js +0 -2
  252. package/dist/cura/p-be10b681.entry.js.map +0 -1
  253. package/dist/cura/p-cda24a1e.entry.js +0 -2
  254. package/dist/cura/p-cda24a1e.entry.js.map +0 -1
  255. package/dist/cura/p-e8bc6381.entry.js +0 -2
  256. package/dist/cura/p-e8bc6381.entry.js.map +0 -1
  257. package/dist/cura/p-ed97cf3c.entry.js +0 -2
  258. package/dist/cura/p-ed97cf3c.entry.js.map +0 -1
  259. package/dist/esm/app-globals-6ca7103d.js.map +0 -1
  260. /package/dist/cura/{p-116a1cd6.entry.js.map → p-01e301d4.entry.js.map} +0 -0
  261. /package/dist/cura/{p-c6508bd7.entry.js.map → p-075b02de.entry.js.map} +0 -0
  262. /package/dist/cura/{p-fd083399.entry.js.map → p-0e28f1c8.entry.js.map} +0 -0
  263. /package/dist/cura/{p-e5023e34.entry.js.map → p-1f53580a.entry.js.map} +0 -0
  264. /package/dist/cura/{p-41c3d47d.entry.js.map → p-81c66f2b.entry.js.map} +0 -0
  265. /package/dist/cura/{p-dcd2e5bb.entry.js.map → p-a7ecea4a.entry.js.map} +0 -0
  266. /package/dist/cura/{p-33772510.entry.js.map → p-b0451cb3.entry.js.map} +0 -0
  267. /package/dist/cura/{p-907b3d12.entry.js.map → p-bfb5e9e1.entry.js.map} +0 -0
  268. /package/dist/cura/{p-fdce91a7.entry.js.map → p-d635501a.entry.js.map} +0 -0
  269. /package/dist/cura/{p-44e3325a.entry.js.map → p-dbd9eab3.entry.js.map} +0 -0
  270. /package/dist/cura/{p-8f3db0fe.entry.js.map → p-e5b0dd74.entry.js.map} +0 -0
  271. /package/dist/cura/{p-4e14c01c.entry.js.map → p-ebed83d1.entry.js.map} +0 -0
  272. /package/dist/cura/{p-fcbf4311.entry.js.map → p-ed839f1e.entry.js.map} +0 -0
  273. /package/dist/cura/{p-b2d5db22.entry.js.map → p-eea093b2.entry.js.map} +0 -0
@@ -4,7 +4,6 @@ export declare class CuraAccordion {
4
4
  * Color scheme base color
5
5
  */
6
6
  color: string;
7
- activeColor: string;
8
7
  handleChangeColor(): void;
9
8
  /**
10
9
  * Set the color mode to dark or light
@@ -14,19 +13,24 @@ export declare class CuraAccordion {
14
13
  * Accordion items icons
15
14
  */
16
15
  iconSize: number;
16
+ labelIcon: string;
17
17
  openIcon: string;
18
18
  closeIcon: string;
19
19
  /**
20
20
  * Color scheme base color
21
- * (By default, the icon will use the same color of 'color' and 'activeColor')
21
+ * (By default, the icon will use the same color of 'color')
22
22
  */
23
23
  iconColor: string;
24
- iconActiveColor: string;
25
24
  /**
26
25
  * Accordion behavior when item is clicked
27
26
  * (The default will close all items except the current one)
28
27
  */
29
28
  behavior: 'default' | 'keep-open';
29
+ /**
30
+ * Heading level for semantics. Will render the related HTML tag <h1>, <h2>, ...
31
+ * Values: 1 to 6 (3 default).
32
+ */
33
+ level: 1 | 2 | 3 | 4 | 5 | 6;
30
34
  mutationObserverCallback: (mutations: MutationRecord[], _: MutationObserver) => void;
31
35
  mutationObserver: MutationObserver;
32
36
  styles: {};
@@ -19,7 +19,7 @@ declare const _default: {
19
19
  };
20
20
  name: string;
21
21
  };
22
- activeColor: {
22
+ colorMode: {
23
23
  control: {
24
24
  type: string;
25
25
  };
@@ -33,7 +33,7 @@ declare const _default: {
33
33
  };
34
34
  name: string;
35
35
  };
36
- colorMode: {
36
+ behavior: {
37
37
  control: {
38
38
  type: string;
39
39
  };
@@ -47,21 +47,22 @@ declare const _default: {
47
47
  };
48
48
  name: string;
49
49
  };
50
- behavior: {
50
+ level: {
51
51
  control: {
52
52
  type: string;
53
+ min: number;
54
+ max: number;
55
+ step: number;
53
56
  };
54
- options: string[];
55
57
  description: string;
56
58
  table: {
57
59
  category: string;
58
60
  defaultValue: {
59
- summary: string;
61
+ summary: number;
60
62
  };
61
63
  };
62
- name: string;
63
64
  };
64
- openIcon: {
65
+ labelIcon: {
65
66
  control: {
66
67
  type: string;
67
68
  };
@@ -69,13 +70,10 @@ declare const _default: {
69
70
  description: string;
70
71
  table: {
71
72
  category: string;
72
- defaultValue: {
73
- summary: string;
74
- };
75
73
  };
76
74
  name: string;
77
75
  };
78
- closeIcon: {
76
+ openIcon: {
79
77
  control: {
80
78
  type: string;
81
79
  };
@@ -89,7 +87,7 @@ declare const _default: {
89
87
  };
90
88
  name: string;
91
89
  };
92
- iconSize: {
90
+ closeIcon: {
93
91
  control: {
94
92
  type: string;
95
93
  };
@@ -103,7 +101,7 @@ declare const _default: {
103
101
  };
104
102
  name: string;
105
103
  };
106
- iconColor: {
104
+ iconSize: {
107
105
  control: {
108
106
  type: string;
109
107
  };
@@ -111,10 +109,13 @@ declare const _default: {
111
109
  description: string;
112
110
  table: {
113
111
  category: string;
112
+ defaultValue: {
113
+ summary: string;
114
+ };
114
115
  };
115
116
  name: string;
116
117
  };
117
- iconActiveColor: {
118
+ iconColor: {
118
119
  control: {
119
120
  type: string;
120
121
  };
@@ -135,20 +136,41 @@ declare const _default: {
135
136
  };
136
137
  };
137
138
  };
139
+ label: {
140
+ control: string;
141
+ description: string;
142
+ table: {
143
+ category: string;
144
+ };
145
+ name: string;
146
+ };
147
+ labelIconItem: {
148
+ control: {
149
+ type: string;
150
+ };
151
+ options: string[];
152
+ description: string;
153
+ table: {
154
+ category: string;
155
+ };
156
+ name: string;
157
+ };
138
158
  };
139
159
  };
140
160
  export default _default;
141
161
  export declare const Accordion: {
142
162
  args: {
143
163
  color: string;
144
- activeColor: string;
145
164
  colorMode: string;
165
+ labelIcon: string;
146
166
  openIcon: string;
147
167
  closeIcon: string;
148
168
  iconSize: string;
149
169
  iconColor: string;
150
- iconActiveColor: string;
151
170
  behavior: string;
171
+ level: string;
152
172
  darkBackground: boolean;
173
+ label: string;
174
+ labelIconItem: string;
153
175
  };
154
176
  };
@@ -8,22 +8,27 @@ export declare class CuraAccordionItem {
8
8
  * Accordion items icons
9
9
  */
10
10
  iconSize: number;
11
+ labelIcon: string;
11
12
  openIcon: string;
12
13
  closeIcon: string;
13
14
  /**
14
15
  * Color scheme base color
15
- * (By default, the icon will use the same color of 'color' and 'activeColor')
16
+ * (By default, the icon will use the same color of 'color')
16
17
  */
17
18
  iconColor: string;
18
- iconActiveColor: string;
19
19
  /**
20
20
  * Set the color mode to dark or light
21
21
  */
22
22
  colorMode: 'dark' | 'light';
23
+ /**
24
+ * Heading level for semantics. Will render the related HTML tag <h1>, <h2>, ...
25
+ * Values: 1 to 6 (3 default).
26
+ */
27
+ level: 1 | 2 | 3 | 4 | 5 | 6;
23
28
  opened: boolean;
24
29
  styles: {};
25
- getIconColor(): string;
26
30
  getClasses(): {};
27
31
  accordionItemClick(_: Event): void;
32
+ renderIcon(): any;
28
33
  render(): any;
29
34
  }
@@ -8,6 +8,7 @@ export declare class CuraButtonSelect {
8
8
  disabled: boolean;
9
9
  background: 'dark' | 'light';
10
10
  color: string;
11
+ iconPosition: 'left' | 'right';
11
12
  hovered: boolean;
12
13
  styles: {};
13
14
  onclick: EventEmitter<{
@@ -23,6 +24,7 @@ export declare class CuraButtonSelect {
23
24
  getColorBagdeNumber(): string;
24
25
  getIcon(): any;
25
26
  getCounter(): any;
27
+ getCheckIconRight(): any;
26
28
  handleMouseEnter(): void;
27
29
  handleMouseLeave(): void;
28
30
  handleClick(e: Event): void;
@@ -88,6 +88,19 @@ declare const _default: {
88
88
  };
89
89
  };
90
90
  };
91
+ iconPosition: {
92
+ control: {
93
+ type: string;
94
+ };
95
+ options: string[];
96
+ description: string;
97
+ table: {
98
+ category: string;
99
+ defaultValue: {
100
+ summary: string;
101
+ };
102
+ };
103
+ };
91
104
  };
92
105
  };
93
106
  export default _default;
@@ -101,5 +114,6 @@ export declare const Button: {
101
114
  background: string;
102
115
  color: string;
103
116
  label: string;
117
+ iconPosition: string;
104
118
  };
105
119
  };
@@ -0,0 +1,28 @@
1
+ import { EventEmitter } from '../../stencil-public-runtime';
2
+ export declare class CuraModal {
3
+ /**
4
+ * Property open to control modal visibility.
5
+ * Default: false
6
+ */
7
+ open?: boolean;
8
+ /**
9
+ * Property background to control modal backdrop color.
10
+ * Default: light
11
+ */
12
+ background?: 'dark' | 'light';
13
+ /**
14
+ * Property offsetTop to control modal top position.
15
+ * Default: 0px
16
+ */
17
+ topOffset?: number;
18
+ /**
19
+ * Event close to handle modal close.
20
+ */
21
+ modalClose: EventEmitter<void>;
22
+ styles: {};
23
+ setColors(): void;
24
+ setOffsetTop(): void;
25
+ connectedCallback(): void;
26
+ private handleClose;
27
+ render(): any;
28
+ }
@@ -0,0 +1,70 @@
1
+ declare const _default: {
2
+ title: string;
3
+ tags: string[];
4
+ render: ({ ...args }: {
5
+ [x: string]: any;
6
+ }) => string;
7
+ argTypes: {
8
+ open: {
9
+ control: string;
10
+ description: string;
11
+ table: {
12
+ category: string;
13
+ defaultValue: {
14
+ summary: boolean;
15
+ };
16
+ };
17
+ };
18
+ background: {
19
+ control: {
20
+ type: string;
21
+ };
22
+ options: string[];
23
+ description: string;
24
+ table: {
25
+ category: string;
26
+ defaultValue: {
27
+ summary: string;
28
+ };
29
+ };
30
+ };
31
+ topOffset: {
32
+ control: {
33
+ type: string;
34
+ };
35
+ description: string;
36
+ table: {
37
+ category: string;
38
+ defaultValue: {
39
+ summary: string;
40
+ };
41
+ };
42
+ };
43
+ content: {
44
+ control: {
45
+ type: string;
46
+ };
47
+ description: string;
48
+ table: {
49
+ category: string;
50
+ };
51
+ };
52
+ close: {
53
+ action: string;
54
+ description: string;
55
+ name: string;
56
+ table: {
57
+ category: string;
58
+ };
59
+ };
60
+ };
61
+ };
62
+ export default _default;
63
+ export declare const CuraModal: {
64
+ args: {
65
+ background: string;
66
+ open: boolean;
67
+ content: string;
68
+ topOffset: number;
69
+ };
70
+ };
@@ -0,0 +1,25 @@
1
+ import { EventEmitter } from '../../stencil-public-runtime';
2
+ export declare class CuraTooltip {
3
+ host: HTMLElement;
4
+ elementId: string;
5
+ interactive: boolean;
6
+ delay: number;
7
+ maxWidth: string;
8
+ position: 'top-start' | 'top' | 'top-end' | 'right-start' | 'right' | 'right-end' | 'bottom-start' | 'bottom' | 'bottom-end' | 'left-start' | 'left' | 'left-end';
9
+ label: string;
10
+ closeButton: boolean;
11
+ isMobile: boolean;
12
+ tooltipClosed: EventEmitter<void>;
13
+ targetElement: HTMLElement;
14
+ styles: {};
15
+ onWindowResize(): void;
16
+ onWindowScroll(): void;
17
+ connectedCallback(): void;
18
+ render(): any;
19
+ componentDidLoad(): void;
20
+ setStyle(): void;
21
+ getClasses(): {};
22
+ setPosition(element: HTMLElement): void;
23
+ closeContainer(): void;
24
+ handleClose: () => void;
25
+ }
@@ -0,0 +1,119 @@
1
+ declare const _default: {
2
+ title: string;
3
+ tags: string[];
4
+ render: ({ ...args }: {
5
+ [x: string]: any;
6
+ }) => string;
7
+ argTypes: {
8
+ targetElementId: {
9
+ control: string;
10
+ description: string;
11
+ table: {
12
+ category: string;
13
+ };
14
+ name: string;
15
+ };
16
+ interactive: {
17
+ control: string;
18
+ description: string;
19
+ table: {
20
+ category: string;
21
+ };
22
+ name: string;
23
+ };
24
+ delay: {
25
+ control: string;
26
+ description: string;
27
+ table: {
28
+ category: string;
29
+ defaultValue: {
30
+ summary: number;
31
+ };
32
+ };
33
+ name: string;
34
+ };
35
+ maxWidth: {
36
+ control: string;
37
+ description: string;
38
+ table: {
39
+ category: string;
40
+ defaultValue: {
41
+ summary: string;
42
+ };
43
+ };
44
+ name: string;
45
+ };
46
+ label: {
47
+ control: string;
48
+ description: string;
49
+ table: {
50
+ category: string;
51
+ };
52
+ name: string;
53
+ };
54
+ position: {
55
+ control: {
56
+ type: string;
57
+ };
58
+ options: string[];
59
+ description: string;
60
+ table: {
61
+ category: string;
62
+ defaultValue: {
63
+ summary: string;
64
+ };
65
+ };
66
+ name: string;
67
+ };
68
+ closeButton: {
69
+ control: string;
70
+ description: string;
71
+ table: {
72
+ category: string;
73
+ defaultValue: {
74
+ summary: boolean;
75
+ };
76
+ };
77
+ name: string;
78
+ };
79
+ targetElement: {
80
+ control: string;
81
+ description: string;
82
+ table: {
83
+ category: string;
84
+ };
85
+ name: string;
86
+ };
87
+ content: {
88
+ control: string;
89
+ description: string;
90
+ defaultValue: string;
91
+ table: {
92
+ category: string;
93
+ };
94
+ };
95
+ closeEvent: {
96
+ control: string;
97
+ description: string;
98
+ name: string;
99
+ table: {
100
+ category: string;
101
+ };
102
+ };
103
+ };
104
+ };
105
+ export default _default;
106
+ export declare const Tooltip: {
107
+ args: {
108
+ targetElement: string;
109
+ targetElementId: string;
110
+ interactive: boolean;
111
+ delay: number;
112
+ maxWidth: string;
113
+ label: string;
114
+ position: string;
115
+ closeButton: boolean;
116
+ content: string;
117
+ };
118
+ closeEvent: string;
119
+ };
@@ -127,5 +127,6 @@ export declare class CuraDropdownSearch {
127
127
  '--dropdown-max-height': string;
128
128
  };
129
129
  handleOnFocus(): void;
130
+ getDropdownSearchListHeight(): void;
130
131
  render(): any;
131
132
  }
@@ -47,36 +47,35 @@ export declare class CuraInputDate {
47
47
  * @type {EventEmitter<string>}
48
48
  */
49
49
  dateChange: EventEmitter<string>;
50
+ /**
51
+ * Emitted when the value of the status changes
52
+ * @type {EventEmitter<string>}
53
+ */
54
+ statusInputChange: EventEmitter<string>;
50
55
  styles: {};
51
56
  isCalendarVisible: boolean;
52
57
  dates: Date[];
53
58
  value?: string;
59
+ dateSettings: {
60
+ placeholder: any;
61
+ mask: string;
62
+ mode: string;
63
+ };
54
64
  connectedCallback(): void;
65
+ componentWillLoad(): void;
55
66
  /**
56
67
  * Callback for form association
57
68
  */
58
69
  formAssociatedCallback(form: {
59
70
  ariaLabel: string;
60
71
  }): void;
61
- /**
62
- * Formats the placeholder based on the enableRangeDates flag
63
- *
64
- * @returns {string} A string representing the placeholder format,
65
- * either for a date range ('dd/mm/yyyy - dd/mm/yyyy') or a single date ('dd/mm/yyyy')
66
- */
67
- setPlaceholder(): string;
68
- /**
69
- * Sets the mask type based on the enableRangeDates flag
70
- *
71
- * @returns {string} The mask type, either 'dateRange' or 'date'
72
- */
73
- setMask(): string;
74
- /**
75
- * Sets the mode type based on the enableRangeDates flag
76
- *
77
- * @returns {'range' | 'single'}
78
- */
79
- setMode(): 'range' | 'single';
72
+ updateDateSettings(): void;
73
+ getDateSettings(isRange: boolean): {
74
+ placeholder: string;
75
+ mask: string;
76
+ mode: string;
77
+ };
78
+ shouldUpdateDateSettings(newSettings: any): boolean;
80
79
  handleClick(ev: {
81
80
  target: Node;
82
81
  }): void;
@@ -87,6 +86,7 @@ export declare class CuraInputDate {
87
86
  isDateValid(date: Date): boolean;
88
87
  parseStringToDate(dateString: string): Date;
89
88
  parseDateToString(date: Date): string;
89
+ resetDates(): void;
90
90
  renderCalendarOrHelperText(): any;
91
91
  render(): any;
92
92
  }
@@ -53,6 +53,7 @@ export declare class CuraHeading {
53
53
  '--margin-block': string;
54
54
  '--font-size-base': string;
55
55
  '--line-height': string;
56
+ '--color-body': string;
56
57
  };
57
58
  setColors(): void;
58
59
  getHeadingTag(): any;