@rededor/cura 1.0.0-alpha.8 → 1.1.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 (344) hide show
  1. package/dist/assets/assets/cura-assets.zip +0 -0
  2. package/dist/assets/assets/fonts/Gotham/Gotham-Black.woff2 +0 -0
  3. package/dist/assets/assets/fonts/Gotham/Gotham-BlackItalic.woff2 +0 -0
  4. package/dist/assets/assets/fonts/Gotham/Gotham-Bold.woff2 +0 -0
  5. package/dist/assets/assets/fonts/Gotham/Gotham-BoldItalic.woff2 +0 -0
  6. package/dist/assets/assets/fonts/Gotham/Gotham-Book.woff2 +0 -0
  7. package/dist/assets/assets/fonts/Gotham/Gotham-BookItalic.woff2 +0 -0
  8. package/dist/assets/assets/fonts/Gotham/Gotham-ExtraLight.woff2 +0 -0
  9. package/dist/assets/assets/fonts/Gotham/Gotham-ExtraLightItalic.woff2 +0 -0
  10. package/dist/assets/assets/fonts/Gotham/Gotham-Light.woff2 +0 -0
  11. package/dist/assets/assets/fonts/Gotham/Gotham-LightItalic.woff2 +0 -0
  12. package/dist/assets/assets/fonts/Gotham/Gotham-Medium.woff2 +0 -0
  13. package/dist/assets/assets/fonts/Gotham/Gotham-MediumItalic.woff2 +0 -0
  14. package/dist/assets/assets/fonts/Gotham/Gotham-Thin.woff2 +0 -0
  15. package/dist/assets/assets/fonts/Gotham/Gotham-ThinItalic.woff2 +0 -0
  16. package/dist/assets/assets/fonts/Gotham/Gotham-Ultra.woff2 +0 -0
  17. package/dist/assets/assets/fonts/Gotham/Gotham-UltraItalic.woff2 +0 -0
  18. package/dist/assets/assets/fonts/Gotham/style.css +90 -0
  19. package/dist/assets/assets/fonts/HankenGrotesk/HankenGrotesk-Italic-VariableFont_wght.woff2 +0 -0
  20. package/dist/assets/assets/fonts/HankenGrotesk/HankenGrotesk-VariableFont_wght.woff2 +0 -0
  21. package/dist/assets/assets/fonts/HankenGrotesk/style-webfont.css +72 -0
  22. package/dist/assets/assets/fonts/HankenGrotesk/style.css +16 -0
  23. package/dist/assets/assets/fonts/Roboto/Roboto-Black.woff2 +0 -0
  24. package/dist/assets/assets/fonts/Roboto/Roboto-BlackItalic.woff2 +0 -0
  25. package/dist/assets/assets/fonts/Roboto/Roboto-Bold.woff2 +0 -0
  26. package/dist/assets/assets/fonts/Roboto/Roboto-BoldItalic.woff2 +0 -0
  27. package/dist/assets/assets/fonts/Roboto/Roboto-Italic.woff2 +0 -0
  28. package/dist/assets/assets/fonts/Roboto/Roboto-Light.woff2 +0 -0
  29. package/dist/assets/assets/fonts/Roboto/Roboto-LightItalic.woff2 +0 -0
  30. package/dist/assets/assets/fonts/Roboto/Roboto-Medium.woff2 +0 -0
  31. package/dist/assets/assets/fonts/Roboto/Roboto-MediumItalic.woff2 +0 -0
  32. package/dist/assets/assets/fonts/Roboto/Roboto-Regular.woff2 +0 -0
  33. package/dist/assets/assets/fonts/Roboto/Roboto-Thin.woff2 +0 -0
  34. package/dist/assets/assets/fonts/Roboto/Roboto-ThinItalic.woff2 +0 -0
  35. package/dist/assets/assets/fonts/Roboto/style-webfont.css +756 -0
  36. package/dist/assets/assets/fonts/Roboto/style.css +90 -0
  37. package/dist/assets/assets/icons/iconset-default-list.ts +1 -1
  38. package/dist/assets/assets/icons/iconset-default-tmp.svg +4 -0
  39. package/dist/assets/assets/icons/iconset-default.svg +1 -1
  40. package/dist/assets/assets/images/avatar/doctor-default.svg +6 -7
  41. package/dist/assets/assets/images/avatar/doctor-default_old.svg +8 -0
  42. package/dist/assets/assets/images/avatar/dora-default.svg +3 -4
  43. package/dist/assets/assets/images/avatar/dora-default_old.svg +5 -0
  44. package/dist/assets/assets/images/avatar/patient-default.svg +16 -10
  45. package/dist/assets/assets/images/avatar/patient-default_old.svg +12 -0
  46. package/dist/assets/assets/images/avatar/unit-default.svg +7 -8
  47. package/dist/assets/assets/images/avatar/unit-default_old.svg +9 -0
  48. package/dist/cjs/{app-globals-bcffd819.js → app-globals-4d07f363.js} +26 -10
  49. package/dist/cjs/app-globals-4d07f363.js.map +1 -0
  50. package/dist/cjs/cura-accordion_12.cjs.entry.js +23 -17
  51. package/dist/cjs/cura-accordion_12.cjs.entry.js.map +1 -1
  52. package/dist/cjs/cura-alert.cjs.entry.js +1 -1
  53. package/dist/cjs/cura-avatar.cjs.entry.js +1 -1
  54. package/dist/cjs/cura-badge-distance.cjs.entry.js +46 -0
  55. package/dist/cjs/cura-badge-distance.cjs.entry.js.map +1 -0
  56. package/dist/cjs/cura-button-outline.cjs.entry.js +10 -6
  57. package/dist/cjs/cura-button-outline.cjs.entry.js.map +1 -1
  58. package/dist/cjs/cura-button-select.cjs.entry.js +2 -2
  59. package/dist/cjs/cura-button-select.cjs.entry.js.map +1 -1
  60. package/dist/cjs/cura-button-transparent.cjs.entry.js +11 -7
  61. package/dist/cjs/cura-button-transparent.cjs.entry.js.map +1 -1
  62. package/dist/cjs/cura-button.definitions-f036371c.js +12 -0
  63. package/dist/cjs/cura-button.definitions-f036371c.js.map +1 -0
  64. package/dist/cjs/cura-calendar.cjs.entry.js +104 -10
  65. package/dist/cjs/cura-calendar.cjs.entry.js.map +1 -1
  66. package/dist/cjs/cura-card.cjs.entry.js +1 -1
  67. package/dist/cjs/cura-checkbox.cjs.entry.js +2 -2
  68. package/dist/cjs/cura-checkbox.cjs.entry.js.map +1 -1
  69. package/dist/cjs/cura-display.cjs.entry.js +19 -10
  70. package/dist/cjs/cura-display.cjs.entry.js.map +1 -1
  71. package/dist/cjs/cura-dropdown-search-option-title.cjs.entry.js +1 -1
  72. package/dist/cjs/cura-dropdown-search-option.cjs.entry.js +5 -3
  73. package/dist/cjs/cura-dropdown-search-option.cjs.entry.js.map +1 -1
  74. package/dist/cjs/cura-dropdown-search.cjs.entry.js +6 -5
  75. package/dist/cjs/cura-dropdown-search.cjs.entry.js.map +1 -1
  76. package/dist/cjs/cura-icons-view.cjs.entry.js +4 -4
  77. package/dist/cjs/cura-icons-view.cjs.entry.js.map +1 -1
  78. package/dist/cjs/cura-loader-bar.cjs.entry.js +1 -1
  79. package/dist/cjs/cura-radio.cjs.entry.js +1 -1
  80. package/dist/cjs/cura-switch.cjs.entry.js +1 -1
  81. package/dist/cjs/cura-toast.cjs.entry.js +1 -1
  82. package/dist/cjs/cura.cjs.js +2 -2
  83. package/dist/cjs/loader.cjs.js +2 -2
  84. package/dist/collection/api/theme-presets/theme-default.js +3 -3
  85. package/dist/collection/api/theme-presets/theme-default.js.map +1 -1
  86. package/dist/collection/api/theme-presets/theme-legacy-default.js +16 -0
  87. package/dist/collection/api/theme-presets/theme-legacy-default.js.map +1 -1
  88. package/dist/collection/api/theme-presets/theme-maternity.js +6 -6
  89. package/dist/collection/api/theme-presets/theme-maternity.js.map +1 -1
  90. package/dist/collection/assets/icons/iconset-default-list.js +1 -1
  91. package/dist/collection/assets/icons/iconset-default-list.js.map +1 -1
  92. package/dist/collection/assets/icons/iconset-default-tmp.svg +4 -0
  93. package/dist/collection/assets/icons/iconset-default.svg +1 -1
  94. package/dist/collection/assets/images/avatar/doctor-default.svg +6 -7
  95. package/dist/collection/assets/images/avatar/doctor-default_old.svg +8 -0
  96. package/dist/collection/assets/images/avatar/dora-default.svg +3 -4
  97. package/dist/collection/assets/images/avatar/dora-default_old.svg +5 -0
  98. package/dist/collection/assets/images/avatar/patient-default.svg +16 -10
  99. package/dist/collection/assets/images/avatar/patient-default_old.svg +12 -0
  100. package/dist/collection/assets/images/avatar/unit-default.svg +7 -8
  101. package/dist/collection/assets/images/avatar/unit-default_old.svg +9 -0
  102. package/dist/collection/assets-raw/icons/default/drug.svg +3 -0
  103. package/dist/collection/collection-manifest.json +1 -0
  104. package/dist/collection/components/badges/cura-badge-distance/cura-badge-distance.css +28 -0
  105. package/dist/collection/components/badges/cura-badge-distance/cura-badge-distance.js +94 -0
  106. package/dist/collection/components/badges/cura-badge-distance/cura-badge-distance.js.map +1 -0
  107. package/dist/collection/components/badges/cura-badge-distance/cura-badge-distance.stories.js +56 -0
  108. package/dist/collection/components/badges/cura-badge-distance/cura-badge-distance.stories.js.map +1 -0
  109. package/dist/collection/components/buttons/cura-button/cura-button.css +61 -65
  110. package/dist/collection/components/buttons/cura-button/cura-button.js +26 -3
  111. package/dist/collection/components/buttons/cura-button/cura-button.js.map +1 -1
  112. package/dist/collection/components/buttons/cura-button/cura-button.stories.js +28 -2
  113. package/dist/collection/components/buttons/cura-button/cura-button.stories.js.map +1 -1
  114. package/dist/collection/components/buttons/cura-button-outline/cura-button-outline.css +50 -53
  115. package/dist/collection/components/buttons/cura-button-outline/cura-button-outline.js +28 -6
  116. package/dist/collection/components/buttons/cura-button-outline/cura-button-outline.js.map +1 -1
  117. package/dist/collection/components/buttons/cura-button-outline/cura-button-outline.stories.js +28 -2
  118. package/dist/collection/components/buttons/cura-button-outline/cura-button-outline.stories.js.map +1 -1
  119. package/dist/collection/components/buttons/cura-button-select/cura-button-select.css +29 -33
  120. package/dist/collection/components/buttons/cura-button-select/cura-button-select.js +1 -1
  121. package/dist/collection/components/buttons/cura-button-transparent/cura-button-transparent.css +37 -54
  122. package/dist/collection/components/buttons/cura-button-transparent/cura-button-transparent.js +31 -9
  123. package/dist/collection/components/buttons/cura-button-transparent/cura-button-transparent.js.map +1 -1
  124. package/dist/collection/components/buttons/cura-button-transparent/cura-button-transparent.stories.js +16 -6
  125. package/dist/collection/components/buttons/cura-button-transparent/cura-button-transparent.stories.js.map +1 -1
  126. package/dist/collection/components/buttons/cura-button.definitions.js +7 -0
  127. package/dist/collection/components/buttons/cura-button.definitions.js.map +1 -0
  128. package/dist/collection/components/cura-alert/cura-alert.js +1 -1
  129. package/dist/collection/components/cura-avatar/cura-avatar.js +1 -1
  130. package/dist/collection/components/cura-calendar/cura-calendar.css +30 -5
  131. package/dist/collection/components/cura-calendar/cura-calendar.js +148 -17
  132. package/dist/collection/components/cura-calendar/cura-calendar.js.map +1 -1
  133. package/dist/collection/components/cura-calendar/cura-calendar.stories.js +55 -5
  134. package/dist/collection/components/cura-calendar/cura-calendar.stories.js.map +1 -1
  135. package/dist/collection/components/cura-card/cura-card.js +1 -1
  136. package/dist/collection/components/cura-icon/cura-icon.js +1 -1
  137. package/dist/collection/components/cura-icons-view/cura-icons-view.js +3 -3
  138. package/dist/collection/components/cura-page-template/cura-page-template.js +1 -1
  139. package/dist/collection/components/cura-toast/cura-toast.js +1 -1
  140. package/dist/collection/components/forms/cura-checkbox/cura-checkbox.css +13 -5
  141. package/dist/collection/components/forms/cura-checkbox/cura-checkbox.js +1 -1
  142. package/dist/collection/components/forms/cura-dropdown-search/cura-dropdown-search-option/cura-dropdown-search-option.css +48 -29
  143. package/dist/collection/components/forms/cura-dropdown-search/cura-dropdown-search-option/cura-dropdown-search-option.js +4 -2
  144. package/dist/collection/components/forms/cura-dropdown-search/cura-dropdown-search-option/cura-dropdown-search-option.js.map +1 -1
  145. package/dist/collection/components/forms/cura-dropdown-search/cura-dropdown-search-option-title/cura-dropdown-search-option-title.js +1 -1
  146. package/dist/collection/components/forms/cura-dropdown-search/cura-dropdown-search.js +24 -5
  147. package/dist/collection/components/forms/cura-dropdown-search/cura-dropdown-search.js.map +1 -1
  148. package/dist/collection/components/forms/cura-dropdown-search/cura-dropdown-search.stories.js +19 -6
  149. package/dist/collection/components/forms/cura-dropdown-search/cura-dropdown-search.stories.js.map +1 -1
  150. package/dist/collection/components/forms/cura-label/cura-label.js +3 -3
  151. package/dist/collection/components/forms/cura-label/cura-label.js.map +1 -1
  152. package/dist/collection/components/forms/cura-radio/cura-radio.js +1 -1
  153. package/dist/collection/components/forms/cura-select/cura-select.css +1 -0
  154. package/dist/collection/components/forms/cura-select/cura-select.js +23 -4
  155. package/dist/collection/components/forms/cura-select/cura-select.js.map +1 -1
  156. package/dist/collection/components/forms/cura-select/cura-select.stories.js +11 -1
  157. package/dist/collection/components/forms/cura-select/cura-select.stories.js.map +1 -1
  158. package/dist/collection/components/forms/cura-select-options/cura-select-option.js +1 -1
  159. package/dist/collection/components/forms/cura-switch/cura-switch.js +1 -1
  160. package/dist/collection/components/loaders/cura-loader-bar/cura-loader-bar.js +1 -1
  161. package/dist/collection/components/loaders/cura-loader-circle/cura-loader-circle.js +1 -1
  162. package/dist/collection/components/text/cura-display/cura-display.css +16 -0
  163. package/dist/collection/components/text/cura-display/cura-display.js +37 -10
  164. package/dist/collection/components/text/cura-display/cura-display.js.map +1 -1
  165. package/dist/collection/components/text/cura-display/cura-display.stories.js +13 -2
  166. package/dist/collection/components/text/cura-display/cura-display.stories.js.map +1 -1
  167. package/dist/collection/components/text/cura-heading/cura-heading.js +1 -1
  168. package/dist/collection/components/text/cura-paragraph/cura-paragraph.css +12 -2
  169. package/dist/collection/components/text/cura-paragraph/cura-paragraph.js +1 -1
  170. package/dist/collection/components/text/cura-paragraph/cura-paragraph.stories.js +1 -1
  171. package/dist/collection/components/text/cura-paragraph/cura-paragraph.stories.js.map +1 -1
  172. package/dist/collection/stories/blocks/index.js +85 -0
  173. package/dist/components/cura-alert.js +1 -1
  174. package/dist/components/cura-avatar.js +1 -1
  175. package/dist/components/cura-badge-distance.d.ts +11 -0
  176. package/dist/components/cura-badge-distance.js +73 -0
  177. package/dist/components/cura-badge-distance.js.map +1 -0
  178. package/dist/components/cura-button-outline.js +11 -6
  179. package/dist/components/cura-button-outline.js.map +1 -1
  180. package/dist/components/cura-button-select.js +2 -2
  181. package/dist/components/cura-button-select.js.map +1 -1
  182. package/dist/components/cura-button-transparent2.js +13 -8
  183. package/dist/components/cura-button-transparent2.js.map +1 -1
  184. package/dist/components/cura-button.definitions.js +10 -0
  185. package/dist/components/cura-button.definitions.js.map +1 -0
  186. package/dist/components/cura-button.js +10 -4
  187. package/dist/components/cura-button.js.map +1 -1
  188. package/dist/components/cura-calendar.js +126 -15
  189. package/dist/components/cura-calendar.js.map +1 -1
  190. package/dist/components/cura-card.js +1 -1
  191. package/dist/components/cura-checkbox.js +2 -2
  192. package/dist/components/cura-checkbox.js.map +1 -1
  193. package/dist/components/cura-display.js +21 -11
  194. package/dist/components/cura-display.js.map +1 -1
  195. package/dist/components/cura-dropdown-search-option-title.js +1 -1
  196. package/dist/components/cura-dropdown-search-option.js +5 -3
  197. package/dist/components/cura-dropdown-search-option.js.map +1 -1
  198. package/dist/components/cura-dropdown-search.js +7 -5
  199. package/dist/components/cura-dropdown-search.js.map +1 -1
  200. package/dist/components/cura-heading2.js +1 -1
  201. package/dist/components/cura-icon2.js +1 -1
  202. package/dist/components/cura-icons-view.js +4 -4
  203. package/dist/components/cura-icons-view.js.map +1 -1
  204. package/dist/components/cura-label2.js +1 -1
  205. package/dist/components/cura-label2.js.map +1 -1
  206. package/dist/components/cura-loader-bar2.js +1 -1
  207. package/dist/components/cura-loader-circle2.js +1 -1
  208. package/dist/components/cura-page-template.js +1 -1
  209. package/dist/components/cura-paragraph2.js +2 -2
  210. package/dist/components/cura-paragraph2.js.map +1 -1
  211. package/dist/components/cura-radio.js +1 -1
  212. package/dist/components/cura-select-option2.js +1 -1
  213. package/dist/components/cura-select2.js +7 -5
  214. package/dist/components/cura-select2.js.map +1 -1
  215. package/dist/components/cura-switch.js +1 -1
  216. package/dist/components/cura-toast.js +1 -1
  217. package/dist/components/index.js +27 -9
  218. package/dist/components/index.js.map +1 -1
  219. package/dist/cura/cura.esm.js +1 -1
  220. package/dist/cura/cura.esm.js.map +1 -1
  221. package/dist/cura/p-0b7a7306.js +2 -0
  222. package/dist/cura/p-0b7a7306.js.map +1 -0
  223. package/dist/cura/{p-260edb61.entry.js → p-0d435e42.entry.js} +2 -2
  224. package/dist/cura/{p-c63f4695.entry.js → p-2203e829.entry.js} +2 -2
  225. package/dist/cura/p-42dfa3a7.entry.js +2 -0
  226. package/dist/cura/p-42dfa3a7.entry.js.map +1 -0
  227. package/dist/cura/{p-6373c7cd.entry.js → p-4c7a2419.entry.js} +2 -2
  228. package/dist/cura/p-57b8b468.entry.js +2 -0
  229. package/dist/cura/p-57b8b468.entry.js.map +1 -0
  230. package/dist/cura/p-5ac9d510.entry.js +2 -0
  231. package/dist/cura/p-5ac9d510.entry.js.map +1 -0
  232. package/dist/cura/p-6682619b.entry.js +2 -0
  233. package/dist/cura/p-6682619b.entry.js.map +1 -0
  234. package/dist/cura/{p-5fcfbf32.entry.js → p-66c5cf5f.entry.js} +2 -2
  235. package/dist/cura/{p-4eaeb590.entry.js → p-84d8c67d.entry.js} +2 -2
  236. package/dist/cura/p-9b658260.entry.js +2 -0
  237. package/dist/cura/p-9b658260.entry.js.map +1 -0
  238. package/dist/cura/p-a00d2c68.entry.js +2 -0
  239. package/dist/cura/p-a00d2c68.entry.js.map +1 -0
  240. package/dist/cura/{p-a9dad622.entry.js → p-a5cf0fd6.entry.js} +2 -2
  241. package/dist/cura/p-a9cda3b1.entry.js +2 -0
  242. package/dist/cura/p-a9cda3b1.entry.js.map +1 -0
  243. package/dist/cura/{p-f016eb62.entry.js → p-ad8a7e0f.entry.js} +2 -2
  244. package/dist/cura/p-afd2c148.entry.js +2 -0
  245. package/dist/cura/p-afd2c148.entry.js.map +1 -0
  246. package/dist/cura/p-df5c3a86.entry.js +2 -0
  247. package/dist/cura/{p-17a878d4.entry.js.map → p-df5c3a86.entry.js.map} +1 -1
  248. package/dist/cura/p-dfc65f66.entry.js +2 -0
  249. package/dist/cura/p-efcb32eb.js +2 -0
  250. package/dist/cura/p-efcb32eb.js.map +1 -0
  251. package/dist/cura/p-f9433d24.entry.js +2 -0
  252. package/dist/cura/p-f9433d24.entry.js.map +1 -0
  253. package/dist/cura/p-fbf20e5a.entry.js +2 -0
  254. package/dist/cura/p-fbf20e5a.entry.js.map +1 -0
  255. package/dist/esm/{app-globals-f2da2b14.js → app-globals-6ca7103d.js} +26 -10
  256. package/dist/esm/app-globals-6ca7103d.js.map +1 -0
  257. package/dist/esm/cura-accordion_12.entry.js +23 -17
  258. package/dist/esm/cura-accordion_12.entry.js.map +1 -1
  259. package/dist/esm/cura-alert.entry.js +1 -1
  260. package/dist/esm/cura-avatar.entry.js +1 -1
  261. package/dist/esm/cura-badge-distance.entry.js +42 -0
  262. package/dist/esm/cura-badge-distance.entry.js.map +1 -0
  263. package/dist/esm/cura-button-outline.entry.js +10 -6
  264. package/dist/esm/cura-button-outline.entry.js.map +1 -1
  265. package/dist/esm/cura-button-select.entry.js +2 -2
  266. package/dist/esm/cura-button-select.entry.js.map +1 -1
  267. package/dist/esm/cura-button-transparent.entry.js +11 -7
  268. package/dist/esm/cura-button-transparent.entry.js.map +1 -1
  269. package/dist/esm/cura-button.definitions-617d3bad.js +10 -0
  270. package/dist/esm/cura-button.definitions-617d3bad.js.map +1 -0
  271. package/dist/esm/cura-calendar.entry.js +104 -10
  272. package/dist/esm/cura-calendar.entry.js.map +1 -1
  273. package/dist/esm/cura-card.entry.js +1 -1
  274. package/dist/esm/cura-checkbox.entry.js +2 -2
  275. package/dist/esm/cura-checkbox.entry.js.map +1 -1
  276. package/dist/esm/cura-display.entry.js +19 -10
  277. package/dist/esm/cura-display.entry.js.map +1 -1
  278. package/dist/esm/cura-dropdown-search-option-title.entry.js +1 -1
  279. package/dist/esm/cura-dropdown-search-option.entry.js +5 -3
  280. package/dist/esm/cura-dropdown-search-option.entry.js.map +1 -1
  281. package/dist/esm/cura-dropdown-search.entry.js +6 -5
  282. package/dist/esm/cura-dropdown-search.entry.js.map +1 -1
  283. package/dist/esm/cura-icons-view.entry.js +4 -4
  284. package/dist/esm/cura-icons-view.entry.js.map +1 -1
  285. package/dist/esm/cura-loader-bar.entry.js +1 -1
  286. package/dist/esm/cura-radio.entry.js +1 -1
  287. package/dist/esm/cura-switch.entry.js +1 -1
  288. package/dist/esm/cura-toast.entry.js +1 -1
  289. package/dist/esm/cura.js +2 -2
  290. package/dist/esm/loader.js +2 -2
  291. package/dist/types/api/theme-presets/theme-legacy-default.d.ts +3 -3
  292. package/dist/types/api/theme-presets/theme-presets.d.ts +3 -3
  293. package/dist/types/components/badges/cura-badge-distance/cura-badge-distance.d.ts +12 -0
  294. package/dist/types/components/badges/cura-badge-distance/cura-badge-distance.stories.d.ts +39 -0
  295. package/dist/types/components/buttons/cura-button/cura-button.d.ts +5 -0
  296. package/dist/types/components/buttons/cura-button/cura-button.stories.d.ts +23 -0
  297. package/dist/types/components/buttons/cura-button-outline/cura-button-outline.d.ts +6 -1
  298. package/dist/types/components/buttons/cura-button-outline/cura-button-outline.stories.d.ts +23 -0
  299. package/dist/types/components/buttons/cura-button-transparent/cura-button-transparent.d.ts +6 -0
  300. package/dist/types/components/buttons/cura-button-transparent/cura-button-transparent.stories.d.ts +11 -0
  301. package/dist/types/components/buttons/cura-button.definitions.d.ts +6 -0
  302. package/dist/types/components/cura-calendar/cura-calendar.d.ts +16 -7
  303. package/dist/types/components/cura-calendar/cura-calendar.stories.d.ts +56 -1
  304. package/dist/types/components/forms/cura-dropdown-search/cura-dropdown-search.d.ts +7 -3
  305. package/dist/types/components/forms/cura-dropdown-search/cura-dropdown-search.stories.d.ts +14 -0
  306. package/dist/types/components/forms/cura-label/cura-label.d.ts +1 -1
  307. package/dist/types/components/forms/cura-select/cura-select.d.ts +5 -0
  308. package/dist/types/components/forms/cura-select/cura-select.stories.d.ts +11 -0
  309. package/dist/types/components/text/cura-display/cura-display.d.ts +6 -0
  310. package/dist/types/components/text/cura-display/cura-display.stories.d.ts +14 -0
  311. package/dist/types/components.d.ts +89 -14
  312. package/package.json +5 -3
  313. package/dist/cjs/app-globals-bcffd819.js.map +0 -1
  314. package/dist/cura/p-0b1829ed.entry.js +0 -2
  315. package/dist/cura/p-0b1829ed.entry.js.map +0 -1
  316. package/dist/cura/p-17a878d4.entry.js +0 -2
  317. package/dist/cura/p-335323b5.entry.js +0 -2
  318. package/dist/cura/p-335323b5.entry.js.map +0 -1
  319. package/dist/cura/p-3c4215a8.entry.js +0 -2
  320. package/dist/cura/p-3c4215a8.entry.js.map +0 -1
  321. package/dist/cura/p-67e34464.entry.js +0 -2
  322. package/dist/cura/p-67e34464.entry.js.map +0 -1
  323. package/dist/cura/p-70c369b1.js +0 -2
  324. package/dist/cura/p-70c369b1.js.map +0 -1
  325. package/dist/cura/p-79fa3b97.entry.js +0 -2
  326. package/dist/cura/p-79fa3b97.entry.js.map +0 -1
  327. package/dist/cura/p-8433fec9.entry.js +0 -2
  328. package/dist/cura/p-8433fec9.entry.js.map +0 -1
  329. package/dist/cura/p-9a4094e3.entry.js +0 -2
  330. package/dist/cura/p-9a4094e3.entry.js.map +0 -1
  331. package/dist/cura/p-af2036a7.entry.js +0 -2
  332. package/dist/cura/p-b0d66386.entry.js +0 -2
  333. package/dist/cura/p-b0d66386.entry.js.map +0 -1
  334. package/dist/cura/p-c518a91c.entry.js +0 -2
  335. package/dist/cura/p-c518a91c.entry.js.map +0 -1
  336. package/dist/esm/app-globals-f2da2b14.js.map +0 -1
  337. /package/dist/cura/{p-260edb61.entry.js.map → p-0d435e42.entry.js.map} +0 -0
  338. /package/dist/cura/{p-c63f4695.entry.js.map → p-2203e829.entry.js.map} +0 -0
  339. /package/dist/cura/{p-6373c7cd.entry.js.map → p-4c7a2419.entry.js.map} +0 -0
  340. /package/dist/cura/{p-5fcfbf32.entry.js.map → p-66c5cf5f.entry.js.map} +0 -0
  341. /package/dist/cura/{p-4eaeb590.entry.js.map → p-84d8c67d.entry.js.map} +0 -0
  342. /package/dist/cura/{p-a9dad622.entry.js.map → p-a5cf0fd6.entry.js.map} +0 -0
  343. /package/dist/cura/{p-f016eb62.entry.js.map → p-ad8a7e0f.entry.js.map} +0 -0
  344. /package/dist/cura/{p-af2036a7.entry.js.map → p-dfc65f66.entry.js.map} +0 -0
@@ -12,7 +12,7 @@ declare const _default: {
12
12
  table: {
13
13
  category: string;
14
14
  defaultValue: {
15
- summary: string;
15
+ summary: any;
16
16
  };
17
17
  };
18
18
  };
@@ -109,6 +109,56 @@ declare const _default: {
109
109
  };
110
110
  };
111
111
  };
112
+ disablePassDates: {
113
+ control: string;
114
+ description: string;
115
+ table: {
116
+ category: string;
117
+ defaultValue: {
118
+ summary: boolean;
119
+ };
120
+ };
121
+ };
122
+ disableFutureDates: {
123
+ control: string;
124
+ description: string;
125
+ table: {
126
+ category: string;
127
+ defaultValue: {
128
+ summary: boolean;
129
+ };
130
+ };
131
+ };
132
+ collapsed: {
133
+ control: string;
134
+ description: string;
135
+ table: {
136
+ category: string;
137
+ defaultValue: {
138
+ summary: any;
139
+ };
140
+ };
141
+ };
142
+ floating: {
143
+ control: string;
144
+ description: string;
145
+ table: {
146
+ category: string;
147
+ defaultValue: {
148
+ summary: boolean;
149
+ };
150
+ };
151
+ };
152
+ embedded: {
153
+ control: string;
154
+ description: string;
155
+ table: {
156
+ category: string;
157
+ defaultValue: {
158
+ summary: boolean;
159
+ };
160
+ };
161
+ };
112
162
  };
113
163
  };
114
164
  export default _default;
@@ -124,5 +174,10 @@ export declare const Calendar: {
124
174
  enable: any[];
125
175
  disable: any[];
126
176
  limitRange: any;
177
+ disablePassDates: boolean;
178
+ disableFutureDates: boolean;
179
+ collapsed: any;
180
+ floating: boolean;
181
+ embedded: boolean;
127
182
  };
128
183
  };
@@ -1,13 +1,17 @@
1
1
  import { EventEmitter } from '../../../stencil-public-runtime';
2
2
  export declare class CuraDropdownSearch {
3
+ /**
4
+ * Size of the dropdown search mode default: 'small', 'medium', or 'large' (default: 'large')
5
+ */
6
+ size: 'small' | 'medium' | 'large';
3
7
  /**
4
8
  * Define the status of the dropdown search.
5
9
  */
6
10
  status: 'error' | 'default';
7
11
  /**
8
- * Whether the select component is disabled.
9
- * Reflects as an attribute in the DOM.
10
- */
12
+ * Whether the select component is disabled.
13
+ * Reflects as an attribute in the DOM.
14
+ */
11
15
  disabled: boolean;
12
16
  /**
13
17
  * The name of the dropdown search component.
@@ -31,6 +31,19 @@ declare const _default: {
31
31
  category: string;
32
32
  };
33
33
  };
34
+ size: {
35
+ control: {
36
+ type: string;
37
+ };
38
+ options: string[];
39
+ description: string;
40
+ table: {
41
+ category: string;
42
+ defaultValue: {
43
+ summary: string;
44
+ };
45
+ };
46
+ };
34
47
  iconName: {
35
48
  control: {
36
49
  type: string;
@@ -117,6 +130,7 @@ declare const _default: {
117
130
  export default _default;
118
131
  export declare const DropdownSearch: {
119
132
  args: {
133
+ size: string;
120
134
  status: string;
121
135
  name: string;
122
136
  iconName: string;
@@ -3,7 +3,7 @@ export declare class CuraLabel {
3
3
  * Set size of body text.
4
4
  * Values: medium (default) | large | small | xsmall.
5
5
  */
6
- size: 'medium' | 'large' | 'small' | 'xsmall';
6
+ size: 'medium' | 'large' | 'small' | 'xsmall' | string;
7
7
  /**
8
8
  * Label font weight. It is possible to use regular HTML tags like <b> or <strong> as well.
9
9
  * Values: regular (default) | bold.
@@ -40,6 +40,11 @@ export declare class CuraSelect {
40
40
  * Reflects as an attribute in the DOM.
41
41
  */
42
42
  required: boolean;
43
+ /**
44
+ * Enable / Disable search at options by term.
45
+ * Default: false
46
+ */
47
+ searchBehavior: boolean;
43
48
  /**
44
49
  * Internal state: Whether the input is hovered.
45
50
  * Default: false
@@ -103,6 +103,16 @@ declare const _default: {
103
103
  };
104
104
  };
105
105
  };
106
+ searchBehavior: {
107
+ control: string;
108
+ description: string;
109
+ table: {
110
+ category: string;
111
+ defaultValue: {
112
+ summary: string;
113
+ };
114
+ };
115
+ };
106
116
  helperText: {
107
117
  name: string;
108
118
  control: string;
@@ -151,6 +161,7 @@ export declare const CuraSelect: {
151
161
  status: string;
152
162
  disabled: boolean;
153
163
  required: boolean;
164
+ searchBehavior: boolean;
154
165
  helperText: string;
155
166
  };
156
167
  };
@@ -4,6 +4,11 @@ export declare class CuraDisplay {
4
4
  * Values: 1(default) to 6.
5
5
  */
6
6
  level: 1 | 2 | 3 | 4 | 5 | 6;
7
+ /**
8
+ * Display size.
9
+ * Values: 'large' (default) | 'small'.
10
+ */
11
+ size: 'large' | 'small';
7
12
  /**
8
13
  * Apply design system color to interactive elements like <a> and <abbr> inside the text.
9
14
  * Values: Color from design system scheme. Default to 'accent-dark'.
@@ -44,6 +49,7 @@ export declare class CuraDisplay {
44
49
  '--line-height': string;
45
50
  };
46
51
  setColors(): void;
52
+ getClasses(): {};
47
53
  getHeadingTag(): any;
48
54
  render(): any;
49
55
  }
@@ -11,6 +11,19 @@ declare const _default: {
11
11
  description: string;
12
12
  name: string;
13
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
+ };
14
27
  color: {
15
28
  control: {
16
29
  type: string;
@@ -104,6 +117,7 @@ export declare const Display: {
104
117
  args: {
105
118
  label: string;
106
119
  level: string;
120
+ size: string;
107
121
  color: string;
108
122
  spotColor: string;
109
123
  marginBlock: string;
@@ -74,6 +74,10 @@ export namespace Components {
74
74
  "size": '80' | '40' | '32' | '24';
75
75
  "type": 'default' | 'branding';
76
76
  }
77
+ interface CuraBadgeDistance {
78
+ "distance": number;
79
+ "label": string;
80
+ }
77
81
  interface CuraButton {
78
82
  /**
79
83
  * Set the background color to dark or light.
@@ -115,6 +119,10 @@ export namespace Components {
115
119
  * Loading state. Boolean.
116
120
  */
117
121
  "isLoading": boolean;
122
+ /**
123
+ * Justify icons and label inside the button. Vales: false (default) | true.
124
+ */
125
+ "justify": boolean;
118
126
  /**
119
127
  * Button size: small | medium | large (default)
120
128
  */
@@ -138,7 +146,7 @@ export namespace Components {
138
146
  */
139
147
  "background": 'dark' | 'light';
140
148
  /**
141
- * Color base from color scheme. Default: accent.
149
+ * Color base from color scheme. Default: primary.
142
150
  */
143
151
  "color": string;
144
152
  /**
@@ -173,6 +181,10 @@ export namespace Components {
173
181
  * Loading state. Boolean.
174
182
  */
175
183
  "isLoading": boolean;
184
+ /**
185
+ * Justify icons and label inside the button. Vales: false (default) | true.
186
+ */
187
+ "justify": boolean;
176
188
  /**
177
189
  * Button size: small | medium | large (default)
178
190
  */
@@ -230,7 +242,7 @@ export namespace Components {
230
242
  */
231
243
  "disabled": boolean;
232
244
  /**
233
- * Set the font color to dark or light.
245
+ * Set the font color to dark or light. Default: dark.
234
246
  */
235
247
  "fontColor": 'dark' | 'light';
236
248
  /**
@@ -257,6 +269,10 @@ export namespace Components {
257
269
  * Loading state. Boolean.
258
270
  */
259
271
  "isLoading": boolean;
272
+ /**
273
+ * Justify icons and label inside the button. Vales: false (default) | true.
274
+ */
275
+ "justify": boolean;
260
276
  /**
261
277
  * Button size: small | medium | large (default)
262
278
  */
@@ -275,6 +291,7 @@ export namespace Components {
275
291
  "type": 'button' | 'reset' | 'submit';
276
292
  }
277
293
  interface CuraCalendar {
294
+ "collapsed": boolean | null;
278
295
  /**
279
296
  * Date format used for display and parsing.
280
297
  * @type {string}
@@ -292,13 +309,17 @@ export namespace Components {
292
309
  * @type {string[]}
293
310
  * @default []
294
311
  */
295
- "disable": string[];
312
+ "disable": string[] | null;
313
+ "disableFutureDates": boolean;
314
+ "disablePassDates": boolean;
315
+ "embedded": boolean;
296
316
  /**
297
317
  * List of dates to enable.
298
318
  * @type {string[]}
299
319
  * @default []
300
320
  */
301
- "enable": string[];
321
+ "enable": string[] | null;
322
+ "floating": boolean;
302
323
  /**
303
324
  * Limits the selectable date range.
304
325
  * @type {Date | null}
@@ -323,7 +344,7 @@ export namespace Components {
323
344
  * @default []
324
345
  * @example // Example usage period = ["2024-08-01", "2024-08-30"];
325
346
  */
326
- "period": string[] | string;
347
+ "period": null | string[] | string;
327
348
  /**
328
349
  * Display type of the date picker.
329
350
  * @type {'dropdown' | 'static'}
@@ -333,7 +354,7 @@ export namespace Components {
333
354
  /**
334
355
  * Width of the component.
335
356
  * @type {string}
336
- * @default '300px'
357
+ * @default '280px'
337
358
  */
338
359
  "width": string;
339
360
  }
@@ -449,6 +470,10 @@ export namespace Components {
449
470
  * CSS margin-block property values. Default to 1.25em
450
471
  */
451
472
  "marginBlock": string;
473
+ /**
474
+ * Display size. Values: 'large' (default) | 'small'.
475
+ */
476
+ "size": 'large' | 'small';
452
477
  /**
453
478
  * Apply design system color to interactive elements like <a> and <abbr> inside the text. Values: Color from design system scheme. Default to 'accent-dark'.
454
479
  */
@@ -487,6 +512,10 @@ export namespace Components {
487
512
  * Indicates if the dropdown search is selected.
488
513
  */
489
514
  "selected": boolean;
515
+ /**
516
+ * Size of the dropdown search mode default: 'small', 'medium', or 'large' (default: 'large')
517
+ */
518
+ "size": 'small' | 'medium' | 'large';
490
519
  /**
491
520
  * Define the status of the dropdown search.
492
521
  */
@@ -660,7 +689,7 @@ export namespace Components {
660
689
  /**
661
690
  * Set size of body text. Values: medium (default) | large | small | xsmall.
662
691
  */
663
- "size": 'medium' | 'large' | 'small' | 'xsmall';
692
+ "size": 'medium' | 'large' | 'small' | 'xsmall' | string;
664
693
  /**
665
694
  * Apply design system color to interactive elements like <a> and <abbr> inside the text. Values: Color from design system scheme. Default to 'accent-dark'.
666
695
  */
@@ -780,6 +809,10 @@ export namespace Components {
780
809
  * Whether the select component is required. Reflects as an attribute in the DOM.
781
810
  */
782
811
  "required": boolean;
812
+ /**
813
+ * Enable / Disable search at options by term. Default: false
814
+ */
815
+ "searchBehavior": boolean;
783
816
  /**
784
817
  * Size of the select component. Can be 'small', 'medium', or 'large'.
785
818
  */
@@ -923,6 +956,12 @@ declare global {
923
956
  prototype: HTMLCuraAvatarElement;
924
957
  new (): HTMLCuraAvatarElement;
925
958
  };
959
+ interface HTMLCuraBadgeDistanceElement extends Components.CuraBadgeDistance, HTMLStencilElement {
960
+ }
961
+ var HTMLCuraBadgeDistanceElement: {
962
+ prototype: HTMLCuraBadgeDistanceElement;
963
+ new (): HTMLCuraBadgeDistanceElement;
964
+ };
926
965
  interface HTMLCuraButtonElement extends Components.CuraButton, HTMLStencilElement {
927
966
  }
928
967
  var HTMLCuraButtonElement: {
@@ -1189,6 +1228,7 @@ declare global {
1189
1228
  "cura-accordion-item": HTMLCuraAccordionItemElement;
1190
1229
  "cura-alert": HTMLCuraAlertElement;
1191
1230
  "cura-avatar": HTMLCuraAvatarElement;
1231
+ "cura-badge-distance": HTMLCuraBadgeDistanceElement;
1192
1232
  "cura-button": HTMLCuraButtonElement;
1193
1233
  "cura-button-outline": HTMLCuraButtonOutlineElement;
1194
1234
  "cura-button-select": HTMLCuraButtonSelectElement;
@@ -1284,6 +1324,10 @@ declare namespace LocalJSX {
1284
1324
  "size"?: '80' | '40' | '32' | '24';
1285
1325
  "type"?: 'default' | 'branding';
1286
1326
  }
1327
+ interface CuraBadgeDistance {
1328
+ "distance"?: number;
1329
+ "label"?: string;
1330
+ }
1287
1331
  interface CuraButton {
1288
1332
  /**
1289
1333
  * Set the background color to dark or light.
@@ -1325,6 +1369,10 @@ declare namespace LocalJSX {
1325
1369
  * Loading state. Boolean.
1326
1370
  */
1327
1371
  "isLoading"?: boolean;
1372
+ /**
1373
+ * Justify icons and label inside the button. Vales: false (default) | true.
1374
+ */
1375
+ "justify"?: boolean;
1328
1376
  /**
1329
1377
  * Button size: small | medium | large (default)
1330
1378
  */
@@ -1348,7 +1396,7 @@ declare namespace LocalJSX {
1348
1396
  */
1349
1397
  "background"?: 'dark' | 'light';
1350
1398
  /**
1351
- * Color base from color scheme. Default: accent.
1399
+ * Color base from color scheme. Default: primary.
1352
1400
  */
1353
1401
  "color"?: string;
1354
1402
  /**
@@ -1383,6 +1431,10 @@ declare namespace LocalJSX {
1383
1431
  * Loading state. Boolean.
1384
1432
  */
1385
1433
  "isLoading"?: boolean;
1434
+ /**
1435
+ * Justify icons and label inside the button. Vales: false (default) | true.
1436
+ */
1437
+ "justify"?: boolean;
1386
1438
  /**
1387
1439
  * Button size: small | medium | large (default)
1388
1440
  */
@@ -1441,7 +1493,7 @@ declare namespace LocalJSX {
1441
1493
  */
1442
1494
  "disabled"?: boolean;
1443
1495
  /**
1444
- * Set the font color to dark or light.
1496
+ * Set the font color to dark or light. Default: dark.
1445
1497
  */
1446
1498
  "fontColor"?: 'dark' | 'light';
1447
1499
  /**
@@ -1468,6 +1520,10 @@ declare namespace LocalJSX {
1468
1520
  * Loading state. Boolean.
1469
1521
  */
1470
1522
  "isLoading"?: boolean;
1523
+ /**
1524
+ * Justify icons and label inside the button. Vales: false (default) | true.
1525
+ */
1526
+ "justify"?: boolean;
1471
1527
  /**
1472
1528
  * Button size: small | medium | large (default)
1473
1529
  */
@@ -1486,6 +1542,7 @@ declare namespace LocalJSX {
1486
1542
  "type"?: 'button' | 'reset' | 'submit';
1487
1543
  }
1488
1544
  interface CuraCalendar {
1545
+ "collapsed"?: boolean | null;
1489
1546
  /**
1490
1547
  * Date format used for display and parsing.
1491
1548
  * @type {string}
@@ -1503,13 +1560,17 @@ declare namespace LocalJSX {
1503
1560
  * @type {string[]}
1504
1561
  * @default []
1505
1562
  */
1506
- "disable"?: string[];
1563
+ "disable"?: string[] | null;
1564
+ "disableFutureDates"?: boolean;
1565
+ "disablePassDates"?: boolean;
1566
+ "embedded"?: boolean;
1507
1567
  /**
1508
1568
  * List of dates to enable.
1509
1569
  * @type {string[]}
1510
1570
  * @default []
1511
1571
  */
1512
- "enable"?: string[];
1572
+ "enable"?: string[] | null;
1573
+ "floating"?: boolean;
1513
1574
  /**
1514
1575
  * Limits the selectable date range.
1515
1576
  * @type {Date | null}
@@ -1540,7 +1601,7 @@ declare namespace LocalJSX {
1540
1601
  * @default []
1541
1602
  * @example // Example usage period = ["2024-08-01", "2024-08-30"];
1542
1603
  */
1543
- "period"?: string[] | string;
1604
+ "period"?: null | string[] | string;
1544
1605
  /**
1545
1606
  * Display type of the date picker.
1546
1607
  * @type {'dropdown' | 'static'}
@@ -1550,7 +1611,7 @@ declare namespace LocalJSX {
1550
1611
  /**
1551
1612
  * Width of the component.
1552
1613
  * @type {string}
1553
- * @default '300px'
1614
+ * @default '280px'
1554
1615
  */
1555
1616
  "width"?: string;
1556
1617
  }
@@ -1667,6 +1728,10 @@ declare namespace LocalJSX {
1667
1728
  * CSS margin-block property values. Default to 1.25em
1668
1729
  */
1669
1730
  "marginBlock"?: string;
1731
+ /**
1732
+ * Display size. Values: 'large' (default) | 'small'.
1733
+ */
1734
+ "size"?: 'large' | 'small';
1670
1735
  /**
1671
1736
  * Apply design system color to interactive elements like <a> and <abbr> inside the text. Values: Color from design system scheme. Default to 'accent-dark'.
1672
1737
  */
@@ -1710,6 +1775,10 @@ declare namespace LocalJSX {
1710
1775
  * Indicates if the dropdown search is selected.
1711
1776
  */
1712
1777
  "selected"?: boolean;
1778
+ /**
1779
+ * Size of the dropdown search mode default: 'small', 'medium', or 'large' (default: 'large')
1780
+ */
1781
+ "size"?: 'small' | 'medium' | 'large';
1713
1782
  /**
1714
1783
  * Define the status of the dropdown search.
1715
1784
  */
@@ -1892,7 +1961,7 @@ declare namespace LocalJSX {
1892
1961
  /**
1893
1962
  * Set size of body text. Values: medium (default) | large | small | xsmall.
1894
1963
  */
1895
- "size"?: 'medium' | 'large' | 'small' | 'xsmall';
1964
+ "size"?: 'medium' | 'large' | 'small' | 'xsmall' | string;
1896
1965
  /**
1897
1966
  * Apply design system color to interactive elements like <a> and <abbr> inside the text. Values: Color from design system scheme. Default to 'accent-dark'.
1898
1967
  */
@@ -2017,6 +2086,10 @@ declare namespace LocalJSX {
2017
2086
  * Whether the select component is required. Reflects as an attribute in the DOM.
2018
2087
  */
2019
2088
  "required"?: boolean;
2089
+ /**
2090
+ * Enable / Disable search at options by term. Default: false
2091
+ */
2092
+ "searchBehavior"?: boolean;
2020
2093
  /**
2021
2094
  * Size of the select component. Can be 'small', 'medium', or 'large'.
2022
2095
  */
@@ -2086,6 +2159,7 @@ declare namespace LocalJSX {
2086
2159
  "cura-accordion-item": CuraAccordionItem;
2087
2160
  "cura-alert": CuraAlert;
2088
2161
  "cura-avatar": CuraAvatar;
2162
+ "cura-badge-distance": CuraBadgeDistance;
2089
2163
  "cura-button": CuraButton;
2090
2164
  "cura-button-outline": CuraButtonOutline;
2091
2165
  "cura-button-select": CuraButtonSelect;
@@ -2121,6 +2195,7 @@ declare module "@stencil/core" {
2121
2195
  "cura-accordion-item": LocalJSX.CuraAccordionItem & JSXBase.HTMLAttributes<HTMLCuraAccordionItemElement>;
2122
2196
  "cura-alert": LocalJSX.CuraAlert & JSXBase.HTMLAttributes<HTMLCuraAlertElement>;
2123
2197
  "cura-avatar": LocalJSX.CuraAvatar & JSXBase.HTMLAttributes<HTMLCuraAvatarElement>;
2198
+ "cura-badge-distance": LocalJSX.CuraBadgeDistance & JSXBase.HTMLAttributes<HTMLCuraBadgeDistanceElement>;
2124
2199
  "cura-button": LocalJSX.CuraButton & JSXBase.HTMLAttributes<HTMLCuraButtonElement>;
2125
2200
  "cura-button-outline": LocalJSX.CuraButtonOutline & JSXBase.HTMLAttributes<HTMLCuraButtonOutlineElement>;
2126
2201
  "cura-button-select": LocalJSX.CuraButtonSelect & JSXBase.HTMLAttributes<HTMLCuraButtonSelectElement>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rededor/cura",
3
- "version": "1.0.0-alpha.8",
3
+ "version": "1.1.0",
4
4
  "description": "Cura Design System",
5
5
  "author": "Rede D`Or São Luiz",
6
6
  "license": "MIT",
@@ -28,7 +28,9 @@
28
28
  },
29
29
  "dependencies": {
30
30
  "@stencil/core": "^4.22.0",
31
- "imask": "^7.6.1"
31
+ "imask": "^7.6.1",
32
+ "react-markdown": "^9.0.1",
33
+ "rehype-raw": "^7.0.0"
32
34
  },
33
35
  "devDependencies": {
34
36
  "@stencil/react-output-target": "^0.5.3",
@@ -49,5 +51,5 @@
49
51
  "storybook": "^7.6.7",
50
52
  "svgo": "^3.3.2"
51
53
  },
52
- "gitHead": "9266c063aa7587485539a18af6468010e6f33465"
54
+ "gitHead": "f32672fb57aecdb32b2e424381e810673edb6be8"
53
55
  }
@@ -1 +0,0 @@
1
- {"file":"app-globals-bcffd819.js","mappings":";;AAAA;;;AAGO,MAAM,YAAY,GAAG;;IAE1B,KAAK,EAAE;QACL,OAAO,EAAE;YACP,KAAK,EAAE,aAAa;YACpB,KAAK,EAAE,YAAY;YACnB,KAAK,EAAE,UAAU;YACjB,KAAK,EAAE,UAAU;YACjB,KAAK,EAAE,SAAS;SACjB;QACD,SAAS,EAAE;YACT,KAAK,EAAE,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AE;gBAC1D,QAAQ,EAAE,cAAa,OAAO,WAAW,CAAC,KAAK,CAAC,QAAQ,EAAE,CAAA,EAAE;aAC7D;YACD,OAAO,EAAE;gBACP,UAAU,EAAE,cAAa,OAAO,WAAW,CAAC,OAAO,CAAC,UAAU,EAAE,CAAC,EAAE;aACpE;YACD,WAAW,EAAE;gBACX,GAAG,EAAE,UAAS,IAAyD,EAAE,QAAwB,IAAI,OAAO,WAAW,CAAC,WAAW,CAAC,GAAG,CAAC,IAAI,EAAE,QAAQ,CAAC,CAAC,EAAE;aAC3J;SACH,CAAC;QACD,IAAI,MAAM,IAAI,MAAM,CAAC,WAAW,EAAE;YAChC,IAAI,CAAC,KAAK,CAAC,SAAS,CAAC,MAAM,CAAC,WAAW,CAAC,CAAC;SAC1C;aAAM;YACL,MAAM,KAAK,GAAG,MAAM,IAAI,MAAM,CAAC,KAAK,GAAG,MAAM,CAAC,KAAK,GAAG,SAAS,CAAC;YAChE,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;SACxB;KACF;;;;ICvBD,MAAM,MAAM,GAAG,MAAM,CAAC,QAAQ,CAAC;IAC/B,MAAM,CAAC,OAAO,GAAG,MAAM,GAAG,IAAI,OAAO,CAAC,MAAM,CAAC,GAAG,IAAI,OAAO,EAAE,CAAC;IAC9D,MAAM,GAAG,GAAG,MAAM,CAAC,OAAO,CAAC;IAC3B,MAAM,CAAC,aAAa,CAAC,IAAI,WAAW,CAAC,cAAc,EAAE,EAAE,MAAM,EAAE,EAAC,GAAG,EAAC,EAAE,CAAC,CAAC,CAAC;IACzE,IAAI,MAAM,IAAI,OAAO,MAAM,CAAC,OAAO,KAAK,UAAU;QAAE,MAAM,CAAC,OAAO,CAAC,GAAG,CAAC,CAAC;AAC1E;;ACjBY,MAAC,aAAa,GAAG;;;;","names":[],"sources":["src/api/theme-presets/theme-default.ts","src/api/theme-presets/theme-maternity.ts","src/api/theme-presets/theme-oncology.ts","src/api/theme-presets/theme-legacy-default.ts","src/api/theme-presets/theme-presets.ts","src/api/theme-presets/static.ts","src/api/modules/cura-theme-colors-module.ts","src/api/modules/cura-theme-spacing-module.ts","src/api/modules/cura-theme-fonts-module.ts","src/api/modules/cura-theme-breakpoints-module.ts","src/api/modules/cura-theme-module.ts","src/api/cura-api.ts","src/rededor-cura-start.ts","@stencil/core/internal/app-globals"],"sourcesContent":["/**\n * Cura Default Theme\n */\nexport const ThemeDefault = {\n /* Colors */\n color: {\n primary: {\n '100': '113,197,232',\n '300': '68,142,205',\n '500': '0,61,165',\n '700': '0,48,117',\n '900': '0,40,85'\n },\n secondary: {\n '100': '245,236,227',\n '300': '221,192,162',\n '500': '204,160,116',\n '700': '136,107,77',\n '900': '41,32,23'\n },\n accent: {\n '100': '255,194,123',\n '300': '255,168,74',\n '500': '255,130,0',\n '700': '215,114,10',\n '900': '155,90,26'\n }\n },\n /* Spacing */\n spacing: {\n base: 4,\n },\n /* Fonts */\n font: {\n size: '14px',\n color: '#4A4A4A',\n body: \"'Roboto', Arial, Helvetica, sans-serif\",\n heading: \"'Roboto', Arial, Helvetica, sans-serif\",\n display: \"'Roboto', Arial, Helvetica, sans-serif\",\n weights: {\n thin: 100,\n light: 300,\n regular: 400,\n medium: 500,\n bold: 700,\n black: 900\n },\n }\n};\n","/**\n * Maternity Theme\n */\nimport { ThemeDefault } from \"./theme-default\";\n\nexport const ThemeMaternity = {\n /* Get default theme */\n ...ThemeDefault,\n\n /* Custom */\n /* Colors */\n color: {\n primary: {\n '100': '248,227,226',\n '300': '255,179,171',\n '500': '218,113,111',\n '700': '145,75,74',\n '900': '73,38,37'\n },\n secondary: {\n '100': '253,251,249',\n '300': '247,244,238',\n '500': '245,236,227',\n '700': '204,197,189',\n '900': '163,157,151'\n },\n accent: {\n '100': '236,239,249',\n '300': '133,153,203',\n '500': '11,20,151',\n '700': '7,13,101',\n '900': '4,7,50'\n }\n },\n font: {\n size: '14px',\n color: '#4A4A4A',\n body: \"'Gotham', Arial, Helvetica, sans-serif\",\n heading: \"'Gotham', Arial, Helvetica, sans-serif\",\n display: \"'Gotham', Arial, Helvetica, sans-serif\",\n weights: {\n thin: 325,\n light: 325,\n regular: 325,\n medium: 350,\n bold: 400,\n black: 425\n },\n }\n};\n","/**\n * Oncology Theme\n */\nimport { ThemeDefault } from \"./theme-default\";\n\nexport const ThemeOncology = {\n /* Get default theme */\n ...ThemeDefault,\n\n /* Custom */\n /* Colors */\n color: {\n primary: {\n '100': '170,190,225',\n '300': '85,126,196',\n '500': '0,61,166',\n '700': '0,41,111',\n '900': '0,12,33'\n },\n secondary: {\n '100': '205,215,227',\n '300': '155,175,199',\n '500': '104,134,171',\n '700': '54,95,143',\n '900': '4,54,115',\n },\n accent: {\n '100': '153,207,255',\n '300': '71,169,255',\n '500': '0,131,245',\n '700': '0,109,204',\n '900': '0,88,164',\n },\n aux: {\n '100': '218,242,239',\n '300': '132,212,202',\n '500': '71,191,176',\n '700': '33,100,92',\n '900': '14,38,35',\n },\n },\n font: {\n size: '14px',\n color: '#4A4A4A',\n body: \"'Hanken Grotesk', Arial, Helvetica, sans-serif\",\n heading: \"'Hanken Grotesk', Arial, Helvetica, sans-serif\",\n display: \"'Hanken Grotesk', Arial, Helvetica, sans-serif\",\n weights: {\n thin: 100,\n light: 300,\n regular: 400,\n medium: 500,\n bold: 700,\n black: 900\n },\n }\n};\n","/**\n * Legacy Default Theme\n */\nimport { ThemeDefault } from \"./theme-default\";\n\nexport const ThemeLegacyDefault = {\n /* Get default theme */\n ...ThemeDefault,\n\n /* Custom */\n /* Colors */\n color: {\n primary: {\n '100': '204,217,231',\n '300': '85,128,174',\n '500': '0,65,134',\n '700': '0,43,89',\n '900': '0,13,27'\n },\n secondary: {\n '100': '238,232,206',\n '300': '198,180,92',\n '500': '170,142,11',\n '700': '113,95,7',\n '900': '34,28,2'\n },\n accent: {\n '100': '249,232,213',\n '300': '228,160,79',\n '500': '223,141,44',\n '700': '149,94,29',\n '900': '45,28,9'\n }\n }\n};\n","import { ThemeDefault } from './theme-default';\nimport { ThemeMaternity } from './theme-maternity';\nimport { ThemeOncology } from './theme-oncology';\nimport { ThemeLegacyDefault } from './theme-legacy-default';\n\nexport const ThemePresets = {\n 'default': ThemeDefault,\n 'maternidade': ThemeMaternity,\n 'oncologia': ThemeOncology,\n 'legacyDefault': ThemeLegacyDefault\n};\n","/**\n * Static\n */\nexport const Static = {\n /* Colors */\n color: {\n success: {\n '100': '223,246,233',\n '300': '148,225,181',\n '500': '95,210,144',\n '700': '49,115,77',\n '900': '19,42,29',\n },\n info: {\n '100': '207,226,255',\n '300': '149,191,255',\n '500': '110,168,255',\n '700': '66,100,153',\n '900': '37,56,85',\n },\n error: {\n '100': '251,221,221',\n '300': '242,143,143',\n '500': '235,87,87',\n '700': '157,58,58',\n '900': '47,17,17',\n },\n warning: {\n '100': '252,250,196',\n '300': '248,244,137',\n '500': '245,239,78',\n '700': '108,106,32',\n '900': '49,48,16',\n },\n neutral: {\n '0': '255,255,255',\n '100': '246,246,246',\n '200': '233,233,233',\n '300': '226,226,226',\n '400': '212,212,212',\n '500': '183,183,183',\n '600': '146,146,146',\n '700': '110,110,110',\n '800': '74,74,74',\n '900': '38,38,38',\n },\n },\n breakpoints: {\n xsmall: {\n min: 0,\n max: 480\n },\n small: {\n min: 481,\n max: 768\n },\n medium: {\n min: 769,\n max: 992\n },\n large: {\n min: 993,\n max: 1920\n },\n xlarge: {\n min: 1921,\n max: 4096\n }\n }\n};\n","import { Static } from \"../theme-presets/static\";\n\nexport default class CuraThemeColorsModule {\n\n NeutralDepthAlias = {\n 'purewhite': '0',\n 'white': '100',\n 'pale': '200',\n 'lighter': '300',\n 'light': '400',\n 'base': '500',\n 'medium': '600',\n 'dark': '700',\n 'darker': '800',\n 'black': '900',\n };\n\n ColorDepthAlias = {\n 'lighter': '100',\n 'light': '300',\n 'base': '500',\n 'dark': '700',\n 'darker': '900'\n }\n\n constructor() {}\n\n /**\n * Get theme color.\n * @param colorWithDepth string Ex.: primary-light\n * @returns RGBA value.\n */\n getColor(colorWithDepth: string = \"primary-base\", opacity = 1): string {\n const { color, depth } = this.splitColorDepth(colorWithDepth);\n const staticColor = this.getStatic(color, depth, opacity);\n if (staticColor) return staticColor;\n return this.getDynamic(color, depth, opacity);\n }\n\n /**\n * Internal: Look for static color by name and depth.\n * @param color Color name.\n * @param depth Depth number or alias.\n * @returns RGBA value.\n */\n getStatic(color: string, depth: string, opacity = 1) {\n const colorObj = Static.color[color];\n if (!colorObj) return null;\n const alias = color === 'neutral' ? this.NeutralDepthAlias[depth] : this.ColorDepthAlias[depth];\n return Static.color[color]?.[alias]\n ? `rgba(${Static.color[color]?.[alias]}, ${opacity})`\n : `rgba(${Static.color[color]?.[depth]}, ${opacity})`;\n }\n\n /**\n * Internal: Look for theme dynamic colors.\n * @param color Color name.\n * @param depth Color depth.\n * @returns RGBA value.\n */\n getDynamic(color: string, depth: string, opacity: number) {\n const themeVar = this.ColorDepthAlias[depth]\n ? `--cura-color-${color}-${this.ColorDepthAlias[depth]}`\n : `--cura-color-${color}-${depth}`;\n return getComputedStyle(document.documentElement).getPropertyValue(themeVar)\n ? `rgba(var(${themeVar}), ${opacity})`\n : `rgba(var(--cura-color-primary-500), ${opacity})`;\n }\n\n /**\n * Internal: Split color strings\n * @param colorWithDepth Color string [color]-[depth]. Ex.: primary-dark.\n * @returns Object { color: string, depth: string }.\n */\n private splitColorDepth(colorWithDepth: string): { color: string, depth: string } {\n const [ color, depth ] = colorWithDepth.toLowerCase().split(/-(.*)/);\n return { color: color ?? \"primary\", depth: depth ?? \"base\" };\n }\n\n}\n","export default class CuraThemeSpacingModule {\n\n private curaSpacing = '--cura-spacing-base';\n\n constructor() {}\n\n /** Returns the base spacing var defined in the theme */\n getSpacing(): string {\n if (getComputedStyle(document.body).getPropertyValue(this.curaSpacing)) {\n return `var(${this.curaSpacing})`;\n }\n return '4';\n }\n}\n","import { ThemeDefault } from \"../theme-presets/theme-default\";\n\nexport default class CuraThemeFontsModule {\n\n constructor() {}\n\n /**\n * Get the CSS variable related to the font family defined by the theme.\n * @param type 'body' | 'heading' | 'display'\n * @returns Related css variable as a string.\n */\n getFamily(type: string = \"body\"): string {\n const curaFontFamilyCSSVar = `--cura-font-${type.toLowerCase()}`;\n return getComputedStyle(document.body).getPropertyValue(curaFontFamilyCSSVar)\n ? `var(${curaFontFamilyCSSVar})`\n : 'var(--cura-font-body)';\n }\n\n /**\n * Get the CSS variables related to font weights defined by the theme.\n * @returns Object with CSS vars weights definitions for thin, light, regular, medium, bold and black fonts.\n */\n getWeights(): any {\n const weights = {};\n Object.keys(ThemeDefault.font.weights).forEach((key) => weights[key] = `var(--cura-font-weights-${key})`);\n return weights;\n }\n\n /**\n * Get the CSS variable related to the font size base defined by the theme.\n * @returns Related CSS variable as a string.\n */\n getSize = () => `var(--cura-font-size)`;\n\n /**\n * Get CSS variable related to the font color defined by the theme.\n * @returns Related CSS variable as a string.\n */\n getColor = () => `var(--cura-font-color)`;\n\n}\n","import { Static } from '../theme-presets/static';\n\nexport default class CuraThemeBreakpointsModule {\n\n constructor() {}\n\n /** Returns the base spacing var defined in the theme */\n get(size: 'xsmall' | 'small' | 'medium' | 'large' | 'xlarge' = null, position: 'min' | 'max' = null): any {\n if (size) {\n const breakpoint = position ? Static.breakpoints[size][position] : Static.breakpoints[size];\n if (breakpoint || breakpoint === 0) return breakpoint;\n }\n return Static.breakpoints;\n }\n}\n","import { ThemePresets } from \"../theme-presets/theme-presets\";\nimport { CuraCustomTheme } from \"../cura-api.type\";\nimport CuraThemeColorsModule from \"./cura-theme-colors-module\";\nimport CuraThemeSpacingModule from \"./cura-theme-spacing-module\";\nimport CuraThemeFontsModule from \"./cura-theme-fonts-module\";\nimport CuraThemeBreakpointsModule from \"./cura-theme-breakpoints-module\";\n\nexport default class CuraThemeModule {\n\n rootElement: HTMLElement;\n prefix = '--cura';\n colors = new CuraThemeColorsModule();\n spacing = new CuraThemeSpacingModule();\n fonts = new CuraThemeFontsModule();\n breakpoints = new CuraThemeBreakpointsModule();\n\n constructor() {\n this.rootElement = window.document.documentElement;\n }\n\n /**\n * Load a theme.\n * @param theme Theme tag.\n */\n load(theme = 'default') {\n const preset = ThemePresets[theme] ? ThemePresets[theme] : ThemePresets.default;\n this.buildCssVars(this.prefix, preset);\n }\n\n /**\n * Define a custom theme\n * @param customTheme Custom theme object definition\n */\n setCustom(customTheme: CuraCustomTheme) {\n const customTag = customTheme.name;\n if (customTag in ThemePresets) {\n console.log('Error building custom theme. Theme %s already exists. Loading default theme.', customTag);\n this.load('default');\n } else {\n const preset = customTheme.fromPreset && customTheme.fromPreset in ThemePresets\n ? ThemePresets[customTheme.fromPreset]\n : ThemePresets.default;\n const newTheme = {...JSON.parse(JSON.stringify(preset))};\n this.mergeObject(customTheme.definitions, newTheme);\n ThemePresets[customTag] = newTheme;\n this.load(customTag);\n }\n }\n\n /* Private */\n\n /** Set css var based on object structure */\n setCssVar = (prop, path) => {\n const varName = this.groupPath(path, prop[0]);\n this.rootElement.style.setProperty(varName, prop[1]);\n }\n\n groupPath = (a, b) => `${a}-${b}`;\n\n isObject = (val) => {\n return val && typeof val === 'object' && !Array.isArray(val);\n }\n\n /** Deep merge objects */\n mergeObject = (from, to) => {\n const entries = Object.entries(from);\n for (let e of entries) {\n if (this.isObject(e[1])) {\n this.mergeObject(e[1], to[e[0]]);\n } else {\n to[e[0]] = e[1];\n }\n }\n }\n\n /** Set css vars from preset object */\n buildCssVars = (path, obj) => {\n const entries = Object.entries(obj);\n for (let e of entries) {\n if (this.isObject(e[1])) {\n this.buildCssVars(this.groupPath(path, e[0]), e[1]);\n } else {\n this.setCssVar(e, path);\n }\n }\n }\n}\n","import { CuraConfig, APIThemeFunctions, CuraCustomTheme } from './cura-api.type';\nimport CuraThemeModule from './modules/cura-theme-module';\n\nexport default class CuraAPI {\n\n theme: APIThemeFunctions;\n localAssetsPath: string;\n\n constructor (config?: CuraConfig) {\n this.localAssetsPath = config && config.localAssetsPath ? config.localAssetsPath : `/assets`;\n const themeModule = new CuraThemeModule();\n this.theme = {\n load: function(themeTag: string) { themeModule.load(themeTag); },\n setCustom: function(customThemeDefinitions: CuraCustomTheme) { themeModule.setCustom(customThemeDefinitions); },\n colors: {\n getColor: function(colorWithDepth?: string, opacity?: number) { return themeModule.colors.getColor(colorWithDepth, opacity) },\n },\n fonts: {\n getFamily: function(type?: string) { return themeModule.fonts.getFamily(type) },\n getWeights: function() { return themeModule.fonts.getWeights() },\n getSize: function() { return themeModule.fonts.getSize() },\n getColor: function() { return themeModule.fonts.getColor() }\n },\n spacing: {\n getSpacing: function() { return themeModule.spacing.getSpacing(); },\n },\n breakpoints: {\n get: function(size?: 'xsmall' | 'small' | 'medium' | 'large' | 'xlarge', position?: 'min' | 'max') { return themeModule.breakpoints.get(size, position); }\n }\n };\n if (config && config.customTheme) {\n this.theme.setCustom(config.customTheme);\n } else {\n const theme = config && config.theme ? config.theme : 'default';\n this.theme.load(theme);\n }\n }\n\n}\n","import CuraAPI from './api/cura-api';\nimport { CuraConfig } from './api/cura-api.type';\n// import { setAssetPath } from '@stencil/core';\n\n// setAssetPath(import.meta.url);\ndeclare global {\n interface Window {\n CuraAPI?: CuraAPI,\n CuraInit?: CuraConfig\n }\n}\n\nexport default function() {\n const config = window.CuraInit;\n window.CuraAPI = config ? new CuraAPI(config) : new CuraAPI();\n const api = window.CuraAPI;\n window.dispatchEvent(new CustomEvent(\"CuraAPIReady\", { detail: {api} }));\n if (config && typeof config.onReady === 'function') config.onReady(api);\n}\n","import appGlobalScript from '/Users/fellipesoares/Code/cura/packages/component-lib/src/rededor-cura-start.ts';\nexport const globalScripts = appGlobalScript;\n"],"version":3}