@rededor/cura 0.4.6 → 0.5.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 (388) hide show
  1. package/package.json +5 -3
  2. package/dist/assets/icons/iconset-default-list.ts +0 -1
  3. package/dist/assets/icons/iconset-default-tmp.svg +0 -942
  4. package/dist/assets/icons/iconset-default.svg +0 -1
  5. package/dist/cjs/app-globals-11fb6b23.js +0 -479
  6. package/dist/cjs/app-globals-11fb6b23.js.map +0 -1
  7. package/dist/cjs/css-shim-83cf0349.js +0 -8
  8. package/dist/cjs/css-shim-83cf0349.js.map +0 -1
  9. package/dist/cjs/cura-button_10.cjs.entry.js +0 -549
  10. package/dist/cjs/cura-button_10.cjs.entry.js.map +0 -1
  11. package/dist/cjs/cura.cjs.js +0 -36
  12. package/dist/cjs/cura.cjs.js.map +0 -1
  13. package/dist/cjs/index-0e874533.js +0 -1995
  14. package/dist/cjs/index-0e874533.js.map +0 -1
  15. package/dist/cjs/index.cjs.js +0 -4
  16. package/dist/cjs/index.cjs.js.map +0 -1
  17. package/dist/cjs/loader.cjs.js +0 -42
  18. package/dist/cjs/loader.cjs.js.map +0 -1
  19. package/dist/cjs/shadow-css-8baae635.js +0 -391
  20. package/dist/cjs/shadow-css-8baae635.js.map +0 -1
  21. package/dist/collection/api/cura-api.js +0 -34
  22. package/dist/collection/api/cura-api.js.map +0 -1
  23. package/dist/collection/api/cura-api.type.js +0 -7
  24. package/dist/collection/api/cura-api.type.js.map +0 -1
  25. package/dist/collection/api/modules/cura-theme-breakpoints-module.js +0 -14
  26. package/dist/collection/api/modules/cura-theme-breakpoints-module.js.map +0 -1
  27. package/dist/collection/api/modules/cura-theme-colors-module.js +0 -75
  28. package/dist/collection/api/modules/cura-theme-colors-module.js.map +0 -1
  29. package/dist/collection/api/modules/cura-theme-fonts-module.js +0 -36
  30. package/dist/collection/api/modules/cura-theme-fonts-module.js.map +0 -1
  31. package/dist/collection/api/modules/cura-theme-module.js +0 -78
  32. package/dist/collection/api/modules/cura-theme-module.js.map +0 -1
  33. package/dist/collection/api/modules/cura-theme-spacing-module.js +0 -13
  34. package/dist/collection/api/modules/cura-theme-spacing-module.js.map +0 -1
  35. package/dist/collection/api/theme-presets/static.js +0 -71
  36. package/dist/collection/api/theme-presets/static.js.map +0 -1
  37. package/dist/collection/api/theme-presets/theme-default.js +0 -50
  38. package/dist/collection/api/theme-presets/theme-default.js.map +0 -1
  39. package/dist/collection/api/theme-presets/theme-maternity.js +0 -46
  40. package/dist/collection/api/theme-presets/theme-maternity.js.map +0 -1
  41. package/dist/collection/api/theme-presets/theme-oncology.js +0 -53
  42. package/dist/collection/api/theme-presets/theme-oncology.js.map +0 -1
  43. package/dist/collection/api/theme-presets/theme-presets.js +0 -9
  44. package/dist/collection/api/theme-presets/theme-presets.js.map +0 -1
  45. package/dist/collection/assets/icons/iconset-default-list.js +0 -2
  46. package/dist/collection/assets/icons/iconset-default-list.js.map +0 -1
  47. package/dist/collection/assets/icons/iconset-default-tmp.svg +0 -942
  48. package/dist/collection/assets/icons/iconset-default.svg +0 -1
  49. package/dist/collection/assets-raw/icons/default/360.svg +0 -8
  50. package/dist/collection/assets-raw/icons/default/accessibility.svg +0 -5
  51. package/dist/collection/assets-raw/icons/default/addUser.svg +0 -6
  52. package/dist/collection/assets-raw/icons/default/airdrop.svg +0 -6
  53. package/dist/collection/assets-raw/icons/default/alertCircle.svg +0 -5
  54. package/dist/collection/assets-raw/icons/default/alertTriangle.svg +0 -5
  55. package/dist/collection/assets-raw/icons/default/arrowDown.svg +0 -3
  56. package/dist/collection/assets-raw/icons/default/arrowDownCircle.svg +0 -4
  57. package/dist/collection/assets-raw/icons/default/arrowLeft.svg +0 -3
  58. package/dist/collection/assets-raw/icons/default/arrowLeftCircle.svg +0 -4
  59. package/dist/collection/assets-raw/icons/default/arrowRight.svg +0 -3
  60. package/dist/collection/assets-raw/icons/default/arrowRightCircle.svg +0 -4
  61. package/dist/collection/assets-raw/icons/default/arrowUp.svg +0 -3
  62. package/dist/collection/assets-raw/icons/default/arrowUpCircle.svg +0 -4
  63. package/dist/collection/assets-raw/icons/default/attach.svg +0 -3
  64. package/dist/collection/assets-raw/icons/default/avatarF.svg +0 -6
  65. package/dist/collection/assets-raw/icons/default/avatarM.svg +0 -5
  66. package/dist/collection/assets-raw/icons/default/biometry.svg +0 -3
  67. package/dist/collection/assets-raw/icons/default/bloodGroup.svg +0 -3
  68. package/dist/collection/assets-raw/icons/default/calendar.svg +0 -8
  69. package/dist/collection/assets-raw/icons/default/cam.svg +0 -4
  70. package/dist/collection/assets-raw/icons/default/camOff.svg +0 -5
  71. package/dist/collection/assets-raw/icons/default/central.svg +0 -7
  72. package/dist/collection/assets-raw/icons/default/chatCircle.svg +0 -6
  73. package/dist/collection/assets-raw/icons/default/check.svg +0 -3
  74. package/dist/collection/assets-raw/icons/default/checkBadge.svg +0 -4
  75. package/dist/collection/assets-raw/icons/default/checkCircle.svg +0 -4
  76. package/dist/collection/assets-raw/icons/default/checkDouble.svg +0 -4
  77. package/dist/collection/assets-raw/icons/default/clock.svg +0 -5
  78. package/dist/collection/assets-raw/icons/default/close.svg +0 -3
  79. package/dist/collection/assets-raw/icons/default/closeCircle.svg +0 -5
  80. package/dist/collection/assets-raw/icons/default/collapse.svg +0 -4
  81. package/dist/collection/assets-raw/icons/default/config.svg +0 -4
  82. package/dist/collection/assets-raw/icons/default/delete.svg +0 -7
  83. package/dist/collection/assets-raw/icons/default/desktop.svg +0 -6
  84. package/dist/collection/assets-raw/icons/default/doc.svg +0 -7
  85. package/dist/collection/assets-raw/icons/default/down.svg +0 -3
  86. package/dist/collection/assets-raw/icons/default/download.svg +0 -3
  87. package/dist/collection/assets-raw/icons/default/duplicate.svg +0 -4
  88. package/dist/collection/assets-raw/icons/default/edit.svg +0 -5
  89. package/dist/collection/assets-raw/icons/default/exam.svg +0 -6
  90. package/dist/collection/assets-raw/icons/default/expand.svg +0 -4
  91. package/dist/collection/assets-raw/icons/default/facebook.svg +0 -3
  92. package/dist/collection/assets-raw/icons/default/fileBmp.svg +0 -17
  93. package/dist/collection/assets-raw/icons/default/fileJpg.svg +0 -8
  94. package/dist/collection/assets-raw/icons/default/filePdf.svg +0 -10
  95. package/dist/collection/assets-raw/icons/default/filePng.svg +0 -10
  96. package/dist/collection/assets-raw/icons/default/fileUpload.svg +0 -5
  97. package/dist/collection/assets-raw/icons/default/fileXls.svg +0 -8
  98. package/dist/collection/assets-raw/icons/default/filter.svg +0 -11
  99. package/dist/collection/assets-raw/icons/default/fullscreen.svg +0 -6
  100. package/dist/collection/assets-raw/icons/default/gallery.svg +0 -6
  101. package/dist/collection/assets-raw/icons/default/geotag.svg +0 -4
  102. package/dist/collection/assets-raw/icons/default/geotagUnity.svg +0 -5
  103. package/dist/collection/assets-raw/icons/default/google.svg +0 -3
  104. package/dist/collection/assets-raw/icons/default/graph.svg +0 -6
  105. package/dist/collection/assets-raw/icons/default/healthPlan.svg +0 -6
  106. package/dist/collection/assets-raw/icons/default/height.svg +0 -10
  107. package/dist/collection/assets-raw/icons/default/height2.svg +0 -8
  108. package/dist/collection/assets-raw/icons/default/home.svg +0 -6
  109. package/dist/collection/assets-raw/icons/default/horizontalList.svg +0 -4
  110. package/dist/collection/assets-raw/icons/default/imageUp.svg +0 -5
  111. package/dist/collection/assets-raw/icons/default/infoCircle.svg +0 -5
  112. package/dist/collection/assets-raw/icons/default/instagram.svg +0 -5
  113. package/dist/collection/assets-raw/icons/default/key.svg +0 -4
  114. package/dist/collection/assets-raw/icons/default/lamp.svg +0 -12
  115. package/dist/collection/assets-raw/icons/default/language.svg +0 -9
  116. package/dist/collection/assets-raw/icons/default/language2.svg +0 -4
  117. package/dist/collection/assets-raw/icons/default/languageEN.svg +0 -5
  118. package/dist/collection/assets-raw/icons/default/languagePT.svg +0 -5
  119. package/dist/collection/assets-raw/icons/default/lattes.svg +0 -3
  120. package/dist/collection/assets-raw/icons/default/left.svg +0 -3
  121. package/dist/collection/assets-raw/icons/default/like.svg +0 -4
  122. package/dist/collection/assets-raw/icons/default/link.svg +0 -4
  123. package/dist/collection/assets-raw/icons/default/linkExternal.svg +0 -4
  124. package/dist/collection/assets-raw/icons/default/linkedin.svg +0 -5
  125. package/dist/collection/assets-raw/icons/default/list.svg +0 -8
  126. package/dist/collection/assets-raw/icons/default/login.svg +0 -4
  127. package/dist/collection/assets-raw/icons/default/logout.svg +0 -3
  128. package/dist/collection/assets-raw/icons/default/mail.svg +0 -6
  129. package/dist/collection/assets-raw/icons/default/maintenance.svg +0 -4
  130. package/dist/collection/assets-raw/icons/default/medDoc.svg +0 -5
  131. package/dist/collection/assets-raw/icons/default/medEspec.svg +0 -4
  132. package/dist/collection/assets-raw/icons/default/medImg.svg +0 -5
  133. package/dist/collection/assets-raw/icons/default/medUser.svg +0 -10
  134. package/dist/collection/assets-raw/icons/default/medical.svg +0 -9
  135. package/dist/collection/assets-raw/icons/default/menuHamburguer.svg +0 -5
  136. package/dist/collection/assets-raw/icons/default/menuKebab.svg +0 -5
  137. package/dist/collection/assets-raw/icons/default/menuMeatballs.svg +0 -5
  138. package/dist/collection/assets-raw/icons/default/mic.svg +0 -5
  139. package/dist/collection/assets-raw/icons/default/micOff.svg +0 -6
  140. package/dist/collection/assets-raw/icons/default/minus.svg +0 -3
  141. package/dist/collection/assets-raw/icons/default/minusCircle.svg +0 -4
  142. package/dist/collection/assets-raw/icons/default/minusSquare.svg +0 -4
  143. package/dist/collection/assets-raw/icons/default/mobile.svg +0 -4
  144. package/dist/collection/assets-raw/icons/default/news.svg +0 -8
  145. package/dist/collection/assets-raw/icons/default/notification.svg +0 -6
  146. package/dist/collection/assets-raw/icons/default/npsDeslike.svg +0 -6
  147. package/dist/collection/assets-raw/icons/default/npsHate.svg +0 -6
  148. package/dist/collection/assets-raw/icons/default/npsLike.svg +0 -6
  149. package/dist/collection/assets-raw/icons/default/npsLove.svg +0 -6
  150. package/dist/collection/assets-raw/icons/default/npsNeutral.svg +0 -6
  151. package/dist/collection/assets-raw/icons/default/order.svg +0 -6
  152. package/dist/collection/assets-raw/icons/default/partner.svg +0 -5
  153. package/dist/collection/assets-raw/icons/default/phone.svg +0 -5
  154. package/dist/collection/assets-raw/icons/default/play.svg +0 -4
  155. package/dist/collection/assets-raw/icons/default/plus.svg +0 -4
  156. package/dist/collection/assets-raw/icons/default/plusCircle.svg +0 -5
  157. package/dist/collection/assets-raw/icons/default/plusSquare.svg +0 -5
  158. package/dist/collection/assets-raw/icons/default/print.svg +0 -7
  159. package/dist/collection/assets-raw/icons/default/profile.svg +0 -4
  160. package/dist/collection/assets-raw/icons/default/profileCircle.svg +0 -4
  161. package/dist/collection/assets-raw/icons/default/questionCircle.svg +0 -4
  162. package/dist/collection/assets-raw/icons/default/questionSquare.svg +0 -4
  163. package/dist/collection/assets-raw/icons/default/range.svg +0 -5
  164. package/dist/collection/assets-raw/icons/default/reload.svg +0 -4
  165. package/dist/collection/assets-raw/icons/default/ribbon.svg +0 -4
  166. package/dist/collection/assets-raw/icons/default/right.svg +0 -3
  167. package/dist/collection/assets-raw/icons/default/schedule.svg +0 -9
  168. package/dist/collection/assets-raw/icons/default/scheduleCheck.svg +0 -8
  169. package/dist/collection/assets-raw/icons/default/scheduleHistorico.svg +0 -9
  170. package/dist/collection/assets-raw/icons/default/search.svg +0 -4
  171. package/dist/collection/assets-raw/icons/default/secure.svg +0 -6
  172. package/dist/collection/assets-raw/icons/default/share.svg +0 -7
  173. package/dist/collection/assets-raw/icons/default/sound.svg +0 -5
  174. package/dist/collection/assets-raw/icons/default/soundOff.svg +0 -4
  175. package/dist/collection/assets-raw/icons/default/subItem.svg +0 -4
  176. package/dist/collection/assets-raw/icons/default/target.svg +0 -8
  177. package/dist/collection/assets-raw/icons/default/team.svg +0 -6
  178. package/dist/collection/assets-raw/icons/default/telegram.svg +0 -3
  179. package/dist/collection/assets-raw/icons/default/twitter.svg +0 -5
  180. package/dist/collection/assets-raw/icons/default/unLink.svg +0 -10
  181. package/dist/collection/assets-raw/icons/default/unSecure.svg +0 -6
  182. package/dist/collection/assets-raw/icons/default/unity.svg +0 -13
  183. package/dist/collection/assets-raw/icons/default/unlike.svg +0 -4
  184. package/dist/collection/assets-raw/icons/default/up.svg +0 -3
  185. package/dist/collection/assets-raw/icons/default/upload.svg +0 -3
  186. package/dist/collection/assets-raw/icons/default/verticalList.svg +0 -4
  187. package/dist/collection/assets-raw/icons/default/viewFalse.svg +0 -5
  188. package/dist/collection/assets-raw/icons/default/viewTrue.svg +0 -4
  189. package/dist/collection/assets-raw/icons/default/weight.svg +0 -5
  190. package/dist/collection/assets-raw/icons/default/whatsapp.svg +0 -4
  191. package/dist/collection/assets-raw/icons/default/wifi.svg +0 -6
  192. package/dist/collection/assets-raw/icons/default/wifiOff.svg +0 -7
  193. package/dist/collection/assets-raw/icons/default/youtube.svg +0 -4
  194. package/dist/collection/assets-raw/icons/default/zoomIn.svg +0 -6
  195. package/dist/collection/assets-raw/icons/default/zoomOut.svg +0 -5
  196. package/dist/collection/collection-manifest.json +0 -22
  197. package/dist/collection/components/buttons/cura-button/cura-button.css +0 -185
  198. package/dist/collection/components/buttons/cura-button/cura-button.js +0 -308
  199. package/dist/collection/components/buttons/cura-button/cura-button.js.map +0 -1
  200. package/dist/collection/components/buttons/cura-button/cura-button.stories.js +0 -122
  201. package/dist/collection/components/buttons/cura-button/cura-button.stories.js.map +0 -1
  202. package/dist/collection/components/buttons/cura-button-outline/cura-button-outline.css +0 -220
  203. package/dist/collection/components/buttons/cura-button-outline/cura-button-outline.js +0 -308
  204. package/dist/collection/components/buttons/cura-button-outline/cura-button-outline.js.map +0 -1
  205. package/dist/collection/components/buttons/cura-button-transparent/cura-button-transparent.css +0 -204
  206. package/dist/collection/components/buttons/cura-button-transparent/cura-button-transparent.js +0 -308
  207. package/dist/collection/components/buttons/cura-button-transparent/cura-button-transparent.js.map +0 -1
  208. package/dist/collection/components/cura-icon/cura-icon.css +0 -12
  209. package/dist/collection/components/cura-icon/cura-icon.js +0 -162
  210. package/dist/collection/components/cura-icon/cura-icon.js.map +0 -1
  211. package/dist/collection/components/cura-icons-view/cura-icons-view.css +0 -68
  212. package/dist/collection/components/cura-icons-view/cura-icons-view.js +0 -33
  213. package/dist/collection/components/cura-icons-view/cura-icons-view.js.map +0 -1
  214. package/dist/collection/components/cura-page-template/cura-page-template.css +0 -105
  215. package/dist/collection/components/cura-page-template/cura-page-template.js +0 -55
  216. package/dist/collection/components/cura-page-template/cura-page-template.js.map +0 -1
  217. package/dist/collection/components/loaders/cura-loader-circle/cura-loader-circle.css +0 -33
  218. package/dist/collection/components/loaders/cura-loader-circle/cura-loader-circle.js +0 -77
  219. package/dist/collection/components/loaders/cura-loader-circle/cura-loader-circle.js.map +0 -1
  220. package/dist/collection/components/text/cura-display/cura-display.css +0 -84
  221. package/dist/collection/components/text/cura-display/cura-display.js +0 -146
  222. package/dist/collection/components/text/cura-display/cura-display.js.map +0 -1
  223. package/dist/collection/components/text/cura-heading/cura-heading.css +0 -92
  224. package/dist/collection/components/text/cura-heading/cura-heading.js +0 -168
  225. package/dist/collection/components/text/cura-heading/cura-heading.js.map +0 -1
  226. package/dist/collection/components/text/cura-paragraph/cura-paragraph.css +0 -115
  227. package/dist/collection/components/text/cura-paragraph/cura-paragraph.js +0 -150
  228. package/dist/collection/components/text/cura-paragraph/cura-paragraph.js.map +0 -1
  229. package/dist/collection/index.js +0 -2
  230. package/dist/collection/index.js.map +0 -1
  231. package/dist/collection/rededor-cura-start.js +0 -10
  232. package/dist/collection/rededor-cura-start.js.map +0 -1
  233. package/dist/collection/stories/Button.js +0 -21
  234. package/dist/collection/stories/Button.stories.js +0 -50
  235. package/dist/collection/stories/Header.js +0 -47
  236. package/dist/collection/stories/Header.stories.js +0 -28
  237. package/dist/collection/stories/Page.js +0 -94
  238. package/dist/collection/stories/Page.stories.js +0 -27
  239. package/dist/collection/stories/assets/accessibility.svg +0 -5
  240. package/dist/collection/stories/assets/discord.svg +0 -15
  241. package/dist/collection/stories/assets/github.svg +0 -3
  242. package/dist/collection/stories/assets/tutorials.svg +0 -12
  243. package/dist/collection/stories/assets/youtube.svg +0 -4
  244. package/dist/collection/utils/utils.js +0 -4
  245. package/dist/collection/utils/utils.js.map +0 -1
  246. package/dist/collection/utils/utils.spec.js +0 -16
  247. package/dist/collection/utils/utils.spec.js.map +0 -1
  248. package/dist/components/cura-button-outline.d.ts +0 -11
  249. package/dist/components/cura-button-outline.js +0 -123
  250. package/dist/components/cura-button-outline.js.map +0 -1
  251. package/dist/components/cura-button-transparent.d.ts +0 -11
  252. package/dist/components/cura-button-transparent.js +0 -123
  253. package/dist/components/cura-button-transparent.js.map +0 -1
  254. package/dist/components/cura-button.d.ts +0 -11
  255. package/dist/components/cura-button.js +0 -123
  256. package/dist/components/cura-button.js.map +0 -1
  257. package/dist/components/cura-display.d.ts +0 -11
  258. package/dist/components/cura-display.js +0 -89
  259. package/dist/components/cura-display.js.map +0 -1
  260. package/dist/components/cura-heading.d.ts +0 -11
  261. package/dist/components/cura-heading.js +0 -94
  262. package/dist/components/cura-heading.js.map +0 -1
  263. package/dist/components/cura-icon.d.ts +0 -11
  264. package/dist/components/cura-icon.js +0 -8
  265. package/dist/components/cura-icon.js.map +0 -1
  266. package/dist/components/cura-icon2.js +0 -79
  267. package/dist/components/cura-icon2.js.map +0 -1
  268. package/dist/components/cura-icons-view.d.ts +0 -11
  269. package/dist/components/cura-icons-view.js +0 -51
  270. package/dist/components/cura-icons-view.js.map +0 -1
  271. package/dist/components/cura-loader-circle.d.ts +0 -11
  272. package/dist/components/cura-loader-circle.js +0 -8
  273. package/dist/components/cura-loader-circle.js.map +0 -1
  274. package/dist/components/cura-loader-circle2.js +0 -51
  275. package/dist/components/cura-loader-circle2.js.map +0 -1
  276. package/dist/components/cura-page-template.d.ts +0 -11
  277. package/dist/components/cura-page-template.js +0 -49
  278. package/dist/components/cura-page-template.js.map +0 -1
  279. package/dist/components/cura-paragraph.d.ts +0 -11
  280. package/dist/components/cura-paragraph.js +0 -87
  281. package/dist/components/cura-paragraph.js.map +0 -1
  282. package/dist/components/index.d.ts +0 -39
  283. package/dist/components/index.js +0 -511
  284. package/dist/components/index.js.map +0 -1
  285. package/dist/cura/cura.esm.js +0 -2
  286. package/dist/cura/cura.esm.js.map +0 -1
  287. package/dist/cura/cura.js +0 -133
  288. package/dist/cura/index.esm.js +0 -2
  289. package/dist/cura/index.esm.js.map +0 -1
  290. package/dist/cura/p-0bb24006.system.js +0 -2
  291. package/dist/cura/p-0bb24006.system.js.map +0 -1
  292. package/dist/cura/p-0e6b48da.js +0 -2
  293. package/dist/cura/p-0e6b48da.js.map +0 -1
  294. package/dist/cura/p-118112e5.system.js +0 -14
  295. package/dist/cura/p-118112e5.system.js.map +0 -1
  296. package/dist/cura/p-183305c3.js +0 -2
  297. package/dist/cura/p-183305c3.js.map +0 -1
  298. package/dist/cura/p-19176c44.system.js +0 -2
  299. package/dist/cura/p-19176c44.system.js.map +0 -1
  300. package/dist/cura/p-3f6aaefc.system.js +0 -2
  301. package/dist/cura/p-3f6aaefc.system.js.map +0 -1
  302. package/dist/cura/p-50ea2036.system.js +0 -2
  303. package/dist/cura/p-50ea2036.system.js.map +0 -1
  304. package/dist/cura/p-a84ae34f.system.js +0 -3
  305. package/dist/cura/p-a84ae34f.system.js.map +0 -1
  306. package/dist/cura/p-b7e3230a.entry.js +0 -2
  307. package/dist/cura/p-b7e3230a.entry.js.map +0 -1
  308. package/dist/cura/p-beab48cd.js +0 -13
  309. package/dist/cura/p-beab48cd.js.map +0 -1
  310. package/dist/cura/p-cbc91ac5.js +0 -3
  311. package/dist/cura/p-cbc91ac5.js.map +0 -1
  312. package/dist/cura/p-e45582d9.system.entry.js +0 -2
  313. package/dist/cura/p-e45582d9.system.entry.js.map +0 -1
  314. package/dist/esm/app-globals-5009a324.js +0 -477
  315. package/dist/esm/app-globals-5009a324.js.map +0 -1
  316. package/dist/esm/css-shim-d13f0738.js +0 -6
  317. package/dist/esm/css-shim-d13f0738.js.map +0 -1
  318. package/dist/esm/cura-button_10.entry.js +0 -536
  319. package/dist/esm/cura-button_10.entry.js.map +0 -1
  320. package/dist/esm/cura.js +0 -31
  321. package/dist/esm/cura.js.map +0 -1
  322. package/dist/esm/index-92c824be.js +0 -1964
  323. package/dist/esm/index-92c824be.js.map +0 -1
  324. package/dist/esm/index.js +0 -3
  325. package/dist/esm/index.js.map +0 -1
  326. package/dist/esm/loader.js +0 -38
  327. package/dist/esm/loader.js.map +0 -1
  328. package/dist/esm/polyfills/core-js.js +0 -11
  329. package/dist/esm/polyfills/css-shim.js +0 -1
  330. package/dist/esm/polyfills/dom.js +0 -79
  331. package/dist/esm/polyfills/es5-html-element.js +0 -1
  332. package/dist/esm/polyfills/index.js +0 -34
  333. package/dist/esm/polyfills/system.js +0 -6
  334. package/dist/esm/shadow-css-07b0c8c8.js +0 -389
  335. package/dist/esm/shadow-css-07b0c8c8.js.map +0 -1
  336. package/dist/esm-es5/app-globals-5009a324.js +0 -2
  337. package/dist/esm-es5/app-globals-5009a324.js.map +0 -1
  338. package/dist/esm-es5/css-shim-d13f0738.js +0 -2
  339. package/dist/esm-es5/css-shim-d13f0738.js.map +0 -1
  340. package/dist/esm-es5/cura-button_10.entry.js +0 -2
  341. package/dist/esm-es5/cura-button_10.entry.js.map +0 -1
  342. package/dist/esm-es5/cura.js +0 -2
  343. package/dist/esm-es5/cura.js.map +0 -1
  344. package/dist/esm-es5/index-92c824be.js +0 -3
  345. package/dist/esm-es5/index-92c824be.js.map +0 -1
  346. package/dist/esm-es5/index.js +0 -2
  347. package/dist/esm-es5/index.js.map +0 -1
  348. package/dist/esm-es5/loader.js +0 -2
  349. package/dist/esm-es5/loader.js.map +0 -1
  350. package/dist/esm-es5/shadow-css-07b0c8c8.js +0 -13
  351. package/dist/esm-es5/shadow-css-07b0c8c8.js.map +0 -1
  352. package/dist/index.cjs.js +0 -1
  353. package/dist/index.js +0 -1
  354. package/dist/loader/cdn.js +0 -3
  355. package/dist/loader/index.cjs.js +0 -3
  356. package/dist/loader/index.d.ts +0 -21
  357. package/dist/loader/index.es2017.js +0 -3
  358. package/dist/loader/index.js +0 -4
  359. package/dist/loader/package.json +0 -11
  360. package/dist/types/api/cura-api.d.ts +0 -6
  361. package/dist/types/api/cura-api.type.d.ts +0 -65
  362. package/dist/types/api/modules/cura-theme-breakpoints-module.d.ts +0 -5
  363. package/dist/types/api/modules/cura-theme-colors-module.d.ts +0 -48
  364. package/dist/types/api/modules/cura-theme-fonts-module.d.ts +0 -24
  365. package/dist/types/api/modules/cura-theme-module.d.ts +0 -32
  366. package/dist/types/api/modules/cura-theme-spacing-module.d.ts +0 -6
  367. package/dist/types/api/theme-presets/static.d.ts +0 -69
  368. package/dist/types/api/theme-presets/theme-default.d.ts +0 -46
  369. package/dist/types/api/theme-presets/theme-maternity.d.ts +0 -43
  370. package/dist/types/api/theme-presets/theme-oncology.d.ts +0 -50
  371. package/dist/types/api/theme-presets/theme-presets.d.ts +0 -138
  372. package/dist/types/assets/icons/iconset-default-list.d.ts +0 -2
  373. package/dist/types/components/buttons/cura-button/cura-button.d.ts +0 -61
  374. package/dist/types/components/buttons/cura-button/cura-button.stories.d.ts +0 -119
  375. package/dist/types/components/buttons/cura-button-outline/cura-button-outline.d.ts +0 -61
  376. package/dist/types/components/buttons/cura-button-transparent/cura-button-transparent.d.ts +0 -61
  377. package/dist/types/components/cura-icon/cura-icon.d.ts +0 -56
  378. package/dist/types/components/cura-icons-view/cura-icons-view.d.ts +0 -7
  379. package/dist/types/components/cura-page-template/cura-page-template.d.ts +0 -8
  380. package/dist/types/components/loaders/cura-loader-circle/cura-loader-circle.d.ts +0 -23
  381. package/dist/types/components/text/cura-display/cura-display.d.ts +0 -38
  382. package/dist/types/components/text/cura-heading/cura-heading.d.ts +0 -43
  383. package/dist/types/components/text/cura-paragraph/cura-paragraph.d.ts +0 -37
  384. package/dist/types/components.d.ts +0 -574
  385. package/dist/types/index.d.ts +0 -1
  386. package/dist/types/rededor-cura-start.d.ts +0 -9
  387. package/dist/types/stencil-public-runtime.d.ts +0 -1638
  388. package/dist/types/utils/utils.d.ts +0 -1
@@ -1 +0,0 @@
1
- {"version":3,"names":["safeSelector","selector","placeholders","index","replace","_","keep","replaceBy","concat","push","content","pseudo","exp","ss","restoreSafeSelector","_polyfillHost","_polyfillSlotted","_polyfillHostContext","_parenSuffix","_cssColonHostRe","RegExp","_cssColonHostContextRe","_cssColonSlottedRe","_polyfillHostNoCombinator","_polyfillHostNoCombinatorRe","_shadowDOMSelectorsRe","_selectorReSuffix","_polyfillHostRe","_colonHostRe","_colonSlottedRe","_colonHostContextRe","_commentRe","stripComments","input","_commentWithHashRe","extractCommentsWithHash","match","_ruleRe","_curlyRe","_selectorPartsRe","OPEN_CURLY","CLOSE_CURLY","BLOCK_PLACEHOLDER","processRules","ruleCallback","inputWithEscapedBlocks","escapeBlocks","nextBlockIndex","escapedString","m","_i","arguments","length","suffix","contentPrefix","startsWith","blocks","substring","cssRule","rule","inputParts","split","resultParts","escapedBlocks","bracketCount","currentBlockParts","partIndex","part","join","strEscapedBlocks","insertPolyfillHostInCssText","convertColonRule","cssText","regExp","partReplacer","parts","r","i","p","trim","colonHostPartReplacer","host","convertColonHost","colonHostContextPartReplacer","indexOf","convertColonSlotted","slotScopeId","slotClass","selectors","compound","slottedSelector","prefixSelector","char","orgSelector","addedSelector","trimRight","updatedSelector","convertColonHostContext","convertShadowDOMSelectors","reduce","result","pattern","makeScopeMatcher","scopeSelector","lre","rre","selectorNeedsScoping","re","test","injectScopingSelector","scopingSelector","before","_colonGroup","colon","after","applySimpleSelectorScope","hostSelector","lastIndex","replaceBy_1","applyStrictSelectorScope","isRe","className","_scopeSelectorPart","scopedP","t","safeContent","scopedSelector","startIndex","res","sep","hasHost","shouldScope","exec","separator","part_1","slice","scopedPart","scopeSelectorText","slotSelector","map","shallowPart","scopeSelectors","commentOriginalSelector","scopeCssText","scopeId","hostScopeId","slotted","slottedSelectors","scopeCss","commentsWithHash","orgSelectors","processCommentedSelector_1","placeholder","comment","scoped","__spreadArray","forEach","_a"],"sources":["node_modules/@stencil/core/internal/client/shadow-css.js"],"sourcesContent":["/*\n Stencil Client Platform v3.3.0 | MIT Licensed | https://stenciljs.com\n */\n/**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n *\n * This file is a port of shadowCSS from webcomponents.js to TypeScript.\n * https://github.com/webcomponents/webcomponentsjs/blob/4efecd7e0e/src/ShadowCSS/ShadowCSS.js\n * https://github.com/angular/angular/blob/master/packages/compiler/src/shadow_css.ts\n */\nconst safeSelector = (selector) => {\n const placeholders = [];\n let index = 0;\n // Replaces attribute selectors with placeholders.\n // The WS in [attr=\"va lue\"] would otherwise be interpreted as a selector separator.\n selector = selector.replace(/(\\[[^\\]]*\\])/g, (_, keep) => {\n const replaceBy = `__ph-${index}__`;\n placeholders.push(keep);\n index++;\n return replaceBy;\n });\n // Replaces the expression in `:nth-child(2n + 1)` with a placeholder.\n // WS and \"+\" would otherwise be interpreted as selector separators.\n const content = selector.replace(/(:nth-[-\\w]+)(\\([^)]+\\))/g, (_, pseudo, exp) => {\n const replaceBy = `__ph-${index}__`;\n placeholders.push(exp);\n index++;\n return pseudo + replaceBy;\n });\n const ss = {\n content,\n placeholders,\n };\n return ss;\n};\nconst restoreSafeSelector = (placeholders, content) => {\n return content.replace(/__ph-(\\d+)__/g, (_, index) => placeholders[+index]);\n};\nconst _polyfillHost = '-shadowcsshost';\nconst _polyfillSlotted = '-shadowcssslotted';\n// note: :host-context pre-processed to -shadowcsshostcontext.\nconst _polyfillHostContext = '-shadowcsscontext';\nconst _parenSuffix = ')(?:\\\\((' + '(?:\\\\([^)(]*\\\\)|[^)(]*)+?' + ')\\\\))?([^,{]*)';\nconst _cssColonHostRe = new RegExp('(' + _polyfillHost + _parenSuffix, 'gim');\nconst _cssColonHostContextRe = new RegExp('(' + _polyfillHostContext + _parenSuffix, 'gim');\nconst _cssColonSlottedRe = new RegExp('(' + _polyfillSlotted + _parenSuffix, 'gim');\nconst _polyfillHostNoCombinator = _polyfillHost + '-no-combinator';\nconst _polyfillHostNoCombinatorRe = /-shadowcsshost-no-combinator([^\\s]*)/;\nconst _shadowDOMSelectorsRe = [/::shadow/g, /::content/g];\nconst _selectorReSuffix = '([>\\\\s~+[.,{:][\\\\s\\\\S]*)?$';\nconst _polyfillHostRe = /-shadowcsshost/gim;\nconst _colonHostRe = /:host/gim;\nconst _colonSlottedRe = /::slotted/gim;\nconst _colonHostContextRe = /:host-context/gim;\nconst _commentRe = /\\/\\*\\s*[\\s\\S]*?\\*\\//g;\nconst stripComments = (input) => {\n return input.replace(_commentRe, '');\n};\nconst _commentWithHashRe = /\\/\\*\\s*#\\s*source(Mapping)?URL=[\\s\\S]+?\\*\\//g;\nconst extractCommentsWithHash = (input) => {\n return input.match(_commentWithHashRe) || [];\n};\nconst _ruleRe = /(\\s*)([^;\\{\\}]+?)(\\s*)((?:{%BLOCK%}?\\s*;?)|(?:\\s*;))/g;\nconst _curlyRe = /([{}])/g;\nconst _selectorPartsRe = /(^.*?[^\\\\])??((:+)(.*)|$)/;\nconst OPEN_CURLY = '{';\nconst CLOSE_CURLY = '}';\nconst BLOCK_PLACEHOLDER = '%BLOCK%';\nconst processRules = (input, ruleCallback) => {\n const inputWithEscapedBlocks = escapeBlocks(input);\n let nextBlockIndex = 0;\n return inputWithEscapedBlocks.escapedString.replace(_ruleRe, (...m) => {\n const selector = m[2];\n let content = '';\n let suffix = m[4];\n let contentPrefix = '';\n if (suffix && suffix.startsWith('{' + BLOCK_PLACEHOLDER)) {\n content = inputWithEscapedBlocks.blocks[nextBlockIndex++];\n suffix = suffix.substring(BLOCK_PLACEHOLDER.length + 1);\n contentPrefix = '{';\n }\n const cssRule = {\n selector,\n content,\n };\n const rule = ruleCallback(cssRule);\n return `${m[1]}${rule.selector}${m[3]}${contentPrefix}${rule.content}${suffix}`;\n });\n};\nconst escapeBlocks = (input) => {\n const inputParts = input.split(_curlyRe);\n const resultParts = [];\n const escapedBlocks = [];\n let bracketCount = 0;\n let currentBlockParts = [];\n for (let partIndex = 0; partIndex < inputParts.length; partIndex++) {\n const part = inputParts[partIndex];\n if (part === CLOSE_CURLY) {\n bracketCount--;\n }\n if (bracketCount > 0) {\n currentBlockParts.push(part);\n }\n else {\n if (currentBlockParts.length > 0) {\n escapedBlocks.push(currentBlockParts.join(''));\n resultParts.push(BLOCK_PLACEHOLDER);\n currentBlockParts = [];\n }\n resultParts.push(part);\n }\n if (part === OPEN_CURLY) {\n bracketCount++;\n }\n }\n if (currentBlockParts.length > 0) {\n escapedBlocks.push(currentBlockParts.join(''));\n resultParts.push(BLOCK_PLACEHOLDER);\n }\n const strEscapedBlocks = {\n escapedString: resultParts.join(''),\n blocks: escapedBlocks,\n };\n return strEscapedBlocks;\n};\nconst insertPolyfillHostInCssText = (selector) => {\n selector = selector\n .replace(_colonHostContextRe, _polyfillHostContext)\n .replace(_colonHostRe, _polyfillHost)\n .replace(_colonSlottedRe, _polyfillSlotted);\n return selector;\n};\nconst convertColonRule = (cssText, regExp, partReplacer) => {\n // m[1] = :host(-context), m[2] = contents of (), m[3] rest of rule\n return cssText.replace(regExp, (...m) => {\n if (m[2]) {\n const parts = m[2].split(',');\n const r = [];\n for (let i = 0; i < parts.length; i++) {\n const p = parts[i].trim();\n if (!p)\n break;\n r.push(partReplacer(_polyfillHostNoCombinator, p, m[3]));\n }\n return r.join(',');\n }\n else {\n return _polyfillHostNoCombinator + m[3];\n }\n });\n};\nconst colonHostPartReplacer = (host, part, suffix) => {\n return host + part.replace(_polyfillHost, '') + suffix;\n};\nconst convertColonHost = (cssText) => {\n return convertColonRule(cssText, _cssColonHostRe, colonHostPartReplacer);\n};\nconst colonHostContextPartReplacer = (host, part, suffix) => {\n if (part.indexOf(_polyfillHost) > -1) {\n return colonHostPartReplacer(host, part, suffix);\n }\n else {\n return host + part + suffix + ', ' + part + ' ' + host + suffix;\n }\n};\nconst convertColonSlotted = (cssText, slotScopeId) => {\n const slotClass = '.' + slotScopeId + ' > ';\n const selectors = [];\n cssText = cssText.replace(_cssColonSlottedRe, (...m) => {\n if (m[2]) {\n const compound = m[2].trim();\n const suffix = m[3];\n const slottedSelector = slotClass + compound + suffix;\n let prefixSelector = '';\n for (let i = m[4] - 1; i >= 0; i--) {\n const char = m[5][i];\n if (char === '}' || char === ',') {\n break;\n }\n prefixSelector = char + prefixSelector;\n }\n const orgSelector = prefixSelector + slottedSelector;\n const addedSelector = `${prefixSelector.trimRight()}${slottedSelector.trim()}`;\n if (orgSelector.trim() !== addedSelector.trim()) {\n const updatedSelector = `${addedSelector}, ${orgSelector}`;\n selectors.push({\n orgSelector,\n updatedSelector,\n });\n }\n return slottedSelector;\n }\n else {\n return _polyfillHostNoCombinator + m[3];\n }\n });\n return {\n selectors,\n cssText,\n };\n};\nconst convertColonHostContext = (cssText) => {\n return convertColonRule(cssText, _cssColonHostContextRe, colonHostContextPartReplacer);\n};\nconst convertShadowDOMSelectors = (cssText) => {\n return _shadowDOMSelectorsRe.reduce((result, pattern) => result.replace(pattern, ' '), cssText);\n};\nconst makeScopeMatcher = (scopeSelector) => {\n const lre = /\\[/g;\n const rre = /\\]/g;\n scopeSelector = scopeSelector.replace(lre, '\\\\[').replace(rre, '\\\\]');\n return new RegExp('^(' + scopeSelector + ')' + _selectorReSuffix, 'm');\n};\nconst selectorNeedsScoping = (selector, scopeSelector) => {\n const re = makeScopeMatcher(scopeSelector);\n return !re.test(selector);\n};\nconst injectScopingSelector = (selector, scopingSelector) => {\n return selector.replace(_selectorPartsRe, (_, before = '', _colonGroup, colon = '', after = '') => {\n return before + scopingSelector + colon + after;\n });\n};\nconst applySimpleSelectorScope = (selector, scopeSelector, hostSelector) => {\n // In Android browser, the lastIndex is not reset when the regex is used in String.replace()\n _polyfillHostRe.lastIndex = 0;\n if (_polyfillHostRe.test(selector)) {\n const replaceBy = `.${hostSelector}`;\n return selector\n .replace(_polyfillHostNoCombinatorRe, (_, selector) => injectScopingSelector(selector, replaceBy))\n .replace(_polyfillHostRe, replaceBy + ' ');\n }\n return scopeSelector + ' ' + selector;\n};\nconst applyStrictSelectorScope = (selector, scopeSelector, hostSelector) => {\n const isRe = /\\[is=([^\\]]*)\\]/g;\n scopeSelector = scopeSelector.replace(isRe, (_, ...parts) => parts[0]);\n const className = '.' + scopeSelector;\n const _scopeSelectorPart = (p) => {\n let scopedP = p.trim();\n if (!scopedP) {\n return '';\n }\n if (p.indexOf(_polyfillHostNoCombinator) > -1) {\n scopedP = applySimpleSelectorScope(p, scopeSelector, hostSelector);\n }\n else {\n // remove :host since it should be unnecessary\n const t = p.replace(_polyfillHostRe, '');\n if (t.length > 0) {\n scopedP = injectScopingSelector(t, className);\n }\n }\n return scopedP;\n };\n const safeContent = safeSelector(selector);\n selector = safeContent.content;\n let scopedSelector = '';\n let startIndex = 0;\n let res;\n const sep = /( |>|\\+|~(?!=))\\s*/g;\n // If a selector appears before :host it should not be shimmed as it\n // matches on ancestor elements and not on elements in the host's shadow\n // `:host-context(div)` is transformed to\n // `-shadowcsshost-no-combinatordiv, div -shadowcsshost-no-combinator`\n // the `div` is not part of the component in the 2nd selectors and should not be scoped.\n // Historically `component-tag:host` was matching the component so we also want to preserve\n // this behavior to avoid breaking legacy apps (it should not match).\n // The behavior should be:\n // - `tag:host` -> `tag[h]` (this is to avoid breaking legacy apps, should not match anything)\n // - `tag :host` -> `tag [h]` (`tag` is not scoped because it's considered part of a\n // `:host-context(tag)`)\n const hasHost = selector.indexOf(_polyfillHostNoCombinator) > -1;\n // Only scope parts after the first `-shadowcsshost-no-combinator` when it is present\n let shouldScope = !hasHost;\n while ((res = sep.exec(selector)) !== null) {\n const separator = res[1];\n const part = selector.slice(startIndex, res.index).trim();\n shouldScope = shouldScope || part.indexOf(_polyfillHostNoCombinator) > -1;\n const scopedPart = shouldScope ? _scopeSelectorPart(part) : part;\n scopedSelector += `${scopedPart} ${separator} `;\n startIndex = sep.lastIndex;\n }\n const part = selector.substring(startIndex);\n shouldScope = shouldScope || part.indexOf(_polyfillHostNoCombinator) > -1;\n scopedSelector += shouldScope ? _scopeSelectorPart(part) : part;\n // replace the placeholders with their original values\n return restoreSafeSelector(safeContent.placeholders, scopedSelector);\n};\nconst scopeSelector = (selector, scopeSelectorText, hostSelector, slotSelector) => {\n return selector\n .split(',')\n .map((shallowPart) => {\n if (slotSelector && shallowPart.indexOf('.' + slotSelector) > -1) {\n return shallowPart.trim();\n }\n if (selectorNeedsScoping(shallowPart, scopeSelectorText)) {\n return applyStrictSelectorScope(shallowPart, scopeSelectorText, hostSelector).trim();\n }\n else {\n return shallowPart.trim();\n }\n })\n .join(', ');\n};\nconst scopeSelectors = (cssText, scopeSelectorText, hostSelector, slotSelector, commentOriginalSelector) => {\n return processRules(cssText, (rule) => {\n let selector = rule.selector;\n let content = rule.content;\n if (rule.selector[0] !== '@') {\n selector = scopeSelector(rule.selector, scopeSelectorText, hostSelector, slotSelector);\n }\n else if (rule.selector.startsWith('@media') ||\n rule.selector.startsWith('@supports') ||\n rule.selector.startsWith('@page') ||\n rule.selector.startsWith('@document')) {\n content = scopeSelectors(rule.content, scopeSelectorText, hostSelector, slotSelector);\n }\n const cssRule = {\n selector: selector.replace(/\\s{2,}/g, ' ').trim(),\n content,\n };\n return cssRule;\n });\n};\nconst scopeCssText = (cssText, scopeId, hostScopeId, slotScopeId, commentOriginalSelector) => {\n cssText = insertPolyfillHostInCssText(cssText);\n cssText = convertColonHost(cssText);\n cssText = convertColonHostContext(cssText);\n const slotted = convertColonSlotted(cssText, slotScopeId);\n cssText = slotted.cssText;\n cssText = convertShadowDOMSelectors(cssText);\n if (scopeId) {\n cssText = scopeSelectors(cssText, scopeId, hostScopeId, slotScopeId);\n }\n cssText = cssText.replace(/-shadowcsshost-no-combinator/g, `.${hostScopeId}`);\n cssText = cssText.replace(/>\\s*\\*\\s+([^{, ]+)/gm, ' $1 ');\n return {\n cssText: cssText.trim(),\n slottedSelectors: slotted.selectors,\n };\n};\nconst scopeCss = (cssText, scopeId, commentOriginalSelector) => {\n const hostScopeId = scopeId + '-h';\n const slotScopeId = scopeId + '-s';\n const commentsWithHash = extractCommentsWithHash(cssText);\n cssText = stripComments(cssText);\n const orgSelectors = [];\n if (commentOriginalSelector) {\n const processCommentedSelector = (rule) => {\n const placeholder = `/*!@___${orgSelectors.length}___*/`;\n const comment = `/*!@${rule.selector}*/`;\n orgSelectors.push({ placeholder, comment });\n rule.selector = placeholder + rule.selector;\n return rule;\n };\n cssText = processRules(cssText, (rule) => {\n if (rule.selector[0] !== '@') {\n return processCommentedSelector(rule);\n }\n else if (rule.selector.startsWith('@media') ||\n rule.selector.startsWith('@supports') ||\n rule.selector.startsWith('@page') ||\n rule.selector.startsWith('@document')) {\n rule.content = processRules(rule.content, processCommentedSelector);\n return rule;\n }\n return rule;\n });\n }\n const scoped = scopeCssText(cssText, scopeId, hostScopeId, slotScopeId);\n cssText = [scoped.cssText, ...commentsWithHash].join('\\n');\n if (commentOriginalSelector) {\n orgSelectors.forEach(({ placeholder, comment }) => {\n cssText = cssText.replace(placeholder, comment);\n });\n }\n scoped.slottedSelectors.forEach((slottedSelector) => {\n cssText = cssText.replace(slottedSelector.orgSelector, slottedSelector.updatedSelector);\n });\n return cssText;\n};\n\nexport { scopeCss };\n"],"mappings":";;;;;;;;;;;GAcA,IAAMA,aAAe,SAACC,GAClB,IAAMC,EAAe,GACrB,IAAIC,EAAQ,EAGZF,EAAWA,EAASG,QAAQ,iBAAiB,SAACC,EAAGC,GAC7C,IAAMC,EAAY,QAAAC,OAAQL,EAAK,MAC/BD,EAAaO,KAAKH,GAClBH,IACA,OAAOI,CACf,IAGI,IAAMG,EAAUT,EAASG,QAAQ,6BAA6B,SAACC,EAAGM,EAAQC,GACtE,IAAML,EAAY,QAAAC,OAAQL,EAAK,MAC/BD,EAAaO,KAAKG,GAClBT,IACA,OAAOQ,EAASJ,CACxB,IACI,IAAMM,EAAK,CACPH,QAAOA,EACPR,aAAYA,GAEh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9BI,EAAK1D,SAASsD,WAAW,cACzBI,EAAK1D,SAASsD,WAAW,UACzBI,EAAK1D,SAASsD,WAAW,aAAc,CACvCI,EAAKjD,QAAUiC,aAAagB,EAAKjD,QAAS6I,GAC1C,OAAO5F,C,CAEX,OAAOA,CACnB,G,CAEI,IAAM+F,EAASX,aAAavE,EAASwE,EAASC,EAAa3D,GAC3Dd,EAAUmF,cAAA,CAACD,EAAOlF,SAAY6E,EAAgB,MAAEjF,KAAK,MACrD,GAAI0E,EAAyB,CACzBQ,EAAaM,SAAQ,SAACC,G,IAAEL,EAAWK,EAAAL,YAAEC,EAAOI,EAAAJ,QACxCjF,EAAUA,EAAQpE,QAAQoJ,EAAaC,EACnD,G,CAEIC,EAAOP,iBAAiBS,SAAQ,SAAClE,GAC7BlB,EAAUA,EAAQpE,QAAQsF,EAAgBG,YAAaH,EAAgBM,gBAC/E,IACI,OAAOxB,CACX,S"}
package/dist/index.cjs.js DELETED
@@ -1 +0,0 @@
1
- module.exports = require('./cjs/index.cjs.js');
package/dist/index.js DELETED
@@ -1 +0,0 @@
1
- export * from './esm-es5/index.js';
@@ -1,3 +0,0 @@
1
-
2
- module.exports = require('../cjs/loader.cjs.js');
3
- module.exports.applyPolyfills = function() { return Promise.resolve() };
@@ -1,3 +0,0 @@
1
-
2
- module.exports = require('../cjs/loader.cjs.js');
3
- module.exports.applyPolyfills = function() { return Promise.resolve() };
@@ -1,21 +0,0 @@
1
- export * from '../types/components';
2
- export interface CustomElementsDefineOptions {
3
- exclude?: string[];
4
- resourcesUrl?: string;
5
- syncQueue?: boolean;
6
- jmp?: (c: Function) => any;
7
- raf?: (c: FrameRequestCallback) => number;
8
- ael?: (el: EventTarget, eventName: string, listener: EventListenerOrEventListenerObject, options: boolean | AddEventListenerOptions) => void;
9
- rel?: (el: EventTarget, eventName: string, listener: EventListenerOrEventListenerObject, options: boolean | AddEventListenerOptions) => void;
10
- }
11
- export declare function defineCustomElements(win?: Window, opts?: CustomElementsDefineOptions): Promise<void>;
12
- export declare function applyPolyfills(): Promise<void>;
13
-
14
- /**
15
- * Used to specify a nonce value that corresponds with an application's CSP.
16
- * When set, the nonce will be added to all dynamically created script and style tags at runtime.
17
- * Alternatively, the nonce value can be set on a meta tag in the DOM head
18
- * (<meta name="csp-nonce" content="{ nonce value here }" />) which
19
- * will result in the same behavior.
20
- */
21
- export declare function setNonce(nonce: string): void;
@@ -1,3 +0,0 @@
1
-
2
- export * from '../esm/polyfills/index.js';
3
- export * from '../esm/loader.js';
@@ -1,4 +0,0 @@
1
-
2
- (function(){if("undefined"!==typeof window&&void 0!==window.Reflect&&void 0!==window.customElements){var a=HTMLElement;window.HTMLElement=function(){return Reflect.construct(a,[],this.constructor)};HTMLElement.prototype=a.prototype;HTMLElement.prototype.constructor=HTMLElement;Object.setPrototypeOf(HTMLElement,a)}})();
3
- export * from '../esm/polyfills/index.js';
4
- export * from '../esm-es5/loader.js';
@@ -1,11 +0,0 @@
1
- {
2
- "name": "cura-loader",
3
- "private": true,
4
- "typings": "./index.d.ts",
5
- "module": "./index.js",
6
- "main": "./index.cjs.js",
7
- "jsnext:main": "./index.es2017.js",
8
- "es2015": "./index.es2017.js",
9
- "es2017": "./index.es2017.js",
10
- "unpkg": "./cdn.js"
11
- }
@@ -1,6 +0,0 @@
1
- import { CuraConfig, APIThemeFunctions } from './cura-api.type';
2
- export default class CuraAPI {
3
- theme: APIThemeFunctions;
4
- localAssetsPath: string;
5
- constructor(config?: CuraConfig);
6
- }
@@ -1,65 +0,0 @@
1
- export interface CuraCustomThemeColorDepth {
2
- base?: string;
3
- depth0?: string;
4
- depth20?: string;
5
- depth40?: string;
6
- depth80?: string;
7
- depth100?: string;
8
- }
9
- export interface CuraCustomThemeColors {
10
- primary?: CuraCustomThemeColorDepth;
11
- secondary?: CuraCustomThemeColorDepth;
12
- }
13
- export interface CuraCustomThemeSpacing {
14
- base?: string;
15
- }
16
- export interface CuraCustomThemeFontFamily {
17
- title?: string;
18
- body?: string;
19
- }
20
- export interface CuraCustomThemeFontSize {
21
- base?: string;
22
- }
23
- export interface CuraCustomThemeFont {
24
- family?: CuraCustomThemeFontFamily;
25
- size?: CuraCustomThemeFontSize;
26
- }
27
- export interface CuraCustomThemeDefinitions {
28
- colors?: CuraCustomThemeColors;
29
- spacing?: CuraCustomThemeSpacing;
30
- font?: CuraCustomThemeFont;
31
- }
32
- export interface CuraCustomTheme {
33
- name: string;
34
- definitions: CuraCustomThemeDefinitions;
35
- fromPreset?: string;
36
- }
37
- export interface CuraConfig {
38
- localAssetsPath?: string;
39
- theme?: string;
40
- customTheme?: CuraCustomTheme;
41
- onReady?(api?: any): any;
42
- }
43
- export declare enum InterfaceModes {
44
- LIGHT = "light",
45
- DARK = "dark"
46
- }
47
- export interface APIThemeFunctions {
48
- load(themeTag: string): unknown;
49
- setCustom(customThemeDefinitions: CuraCustomTheme): unknown;
50
- colors: {
51
- getColor(colorWithDepth?: string): string;
52
- };
53
- fonts: {
54
- getFamily(type?: string): string;
55
- getWeights(): any;
56
- getSize(): string;
57
- getColor(): string;
58
- };
59
- spacing: {
60
- getSpacing(): string;
61
- };
62
- breakpoints: {
63
- get(): any;
64
- };
65
- }
@@ -1,5 +0,0 @@
1
- export default class CuraThemeBreakpointsModule {
2
- constructor();
3
- /** Returns the base spacing var defined in the theme */
4
- get(size?: 'xsmall' | 'small' | 'medium' | 'large' | 'xlarge', position?: 'min' | 'max'): any;
5
- }
@@ -1,48 +0,0 @@
1
- export default class CuraThemeColorsModule {
2
- NeutralDepthAlias: {
3
- purewhite: string;
4
- white: string;
5
- pale: string;
6
- lighter: string;
7
- light: string;
8
- base: string;
9
- medium: string;
10
- dark: string;
11
- darker: string;
12
- black: string;
13
- };
14
- ColorDepthAlias: {
15
- lighter: string;
16
- light: string;
17
- base: string;
18
- dark: string;
19
- darker: string;
20
- };
21
- constructor();
22
- /**
23
- * Get theme color.
24
- * @param colorWithDepth string Ex.: primary-light
25
- * @returns css color property. Color definition or related css var from the theme.
26
- */
27
- getColor(colorWithDepth?: string): string;
28
- /**
29
- * Internal: Look for static color by name and depth.
30
- * @param color Color name.
31
- * @param depth Depth number or alias.
32
- * @returns Static color definition.
33
- */
34
- getStatic(color: string, depth: string): any;
35
- /**
36
- * Internal: Look for theme dynamic colors.
37
- * @param color Color name.
38
- * @param depth Depth number or alias.
39
- * @returns Related CSS variable defined by the theme.
40
- */
41
- getDynamic(color: string, depth: string): string;
42
- /**
43
- * Internal: Split color strings
44
- * @param colorWithDepth Color string [color]-[depth]. Ex.: primary-dark or primary-700.
45
- * @returns Object { color: string, depth: string }.
46
- */
47
- private splitColorDepth;
48
- }
@@ -1,24 +0,0 @@
1
- export default class CuraThemeFontsModule {
2
- constructor();
3
- /**
4
- * Get the CSS variable related to the font family defined by the theme.
5
- * @param type 'body' | 'heading' | 'display'
6
- * @returns Related css variable as a string.
7
- */
8
- getFamily(type?: string): string;
9
- /**
10
- * Get the CSS variables related to font weights defined by the theme.
11
- * @returns Object with CSS vars weights definitions for thin, light, regular, medium, bold and black fonts.
12
- */
13
- getWeights(): any;
14
- /**
15
- * Get the CSS variable related to the font size base defined by the theme.
16
- * @returns Related CSS variable as a string.
17
- */
18
- getSize: () => string;
19
- /**
20
- * Get CSS variable related to the font color defined by the theme.
21
- * @returns Related CSS variable as a string.
22
- */
23
- getColor: () => string;
24
- }
@@ -1,32 +0,0 @@
1
- import { CuraCustomTheme } from "../cura-api.type";
2
- import CuraThemeColorsModule from "./cura-theme-colors-module";
3
- import CuraThemeSpacingModule from "./cura-theme-spacing-module";
4
- import CuraThemeFontsModule from "./cura-theme-fonts-module";
5
- import CuraThemeBreakpointsModule from "./cura-theme-breakpoints-module";
6
- export default class CuraThemeModule {
7
- body: HTMLBodyElement;
8
- prefix: string;
9
- colors: CuraThemeColorsModule;
10
- spacing: CuraThemeSpacingModule;
11
- fonts: CuraThemeFontsModule;
12
- breakpoints: CuraThemeBreakpointsModule;
13
- constructor();
14
- /**
15
- * Load a theme.
16
- * @param theme Theme tag.
17
- */
18
- load(theme?: string): void;
19
- /**
20
- * Define a custom theme
21
- * @param customTheme Custom theme object definition
22
- */
23
- setCustom(customTheme: CuraCustomTheme): void;
24
- /** Set css var based on object structure */
25
- setCssVar: (prop: any, path: any) => void;
26
- groupPath: (a: any, b: any) => string;
27
- isObject: (val: any) => boolean;
28
- /** Deep merge objects */
29
- mergeObject: (from: any, to: any) => void;
30
- /** Set css vars from preset object */
31
- buildCssVars: (path: any, obj: any) => void;
32
- }
@@ -1,6 +0,0 @@
1
- export default class CuraThemeSpacingModule {
2
- private curaSpacing;
3
- constructor();
4
- /** Returns the base spacing var defined in the theme */
5
- getSpacing(): string;
6
- }
@@ -1,69 +0,0 @@
1
- /**
2
- * Static
3
- */
4
- export declare const Static: {
5
- color: {
6
- success: {
7
- '100': string;
8
- '300': string;
9
- '500': string;
10
- '700': string;
11
- '900': string;
12
- };
13
- info: {
14
- '100': string;
15
- '300': string;
16
- '500': string;
17
- '700': string;
18
- '900': string;
19
- };
20
- error: {
21
- '100': string;
22
- '300': string;
23
- '500': string;
24
- '700': string;
25
- '900': string;
26
- };
27
- warning: {
28
- '100': string;
29
- '300': string;
30
- '500': string;
31
- '700': string;
32
- '900': string;
33
- };
34
- neutral: {
35
- '0': string;
36
- '100': string;
37
- '200': string;
38
- '300': string;
39
- '400': string;
40
- '500': string;
41
- '600': string;
42
- '700': string;
43
- '800': string;
44
- '900': string;
45
- };
46
- };
47
- breakpoints: {
48
- xsmall: {
49
- min: number;
50
- max: number;
51
- };
52
- small: {
53
- min: number;
54
- max: number;
55
- };
56
- medium: {
57
- min: number;
58
- max: number;
59
- };
60
- large: {
61
- min: number;
62
- max: number;
63
- };
64
- xlarge: {
65
- min: number;
66
- max: number;
67
- };
68
- };
69
- };
@@ -1,46 +0,0 @@
1
- /**
2
- * Cura Default Theme
3
- */
4
- export declare const ThemeDefault: {
5
- color: {
6
- primary: {
7
- '100': string;
8
- '300': string;
9
- '500': string;
10
- '700': string;
11
- '900': string;
12
- };
13
- secondary: {
14
- '100': string;
15
- '300': string;
16
- '500': string;
17
- '700': string;
18
- '900': string;
19
- };
20
- accent: {
21
- '100': string;
22
- '300': string;
23
- '500': string;
24
- '700': string;
25
- '900': string;
26
- };
27
- };
28
- spacing: {
29
- base: number;
30
- };
31
- font: {
32
- size: string;
33
- color: string;
34
- body: string;
35
- heading: string;
36
- display: string;
37
- weights: {
38
- thin: number;
39
- light: number;
40
- regular: number;
41
- medium: number;
42
- bold: number;
43
- black: number;
44
- };
45
- };
46
- };
@@ -1,43 +0,0 @@
1
- export declare const ThemeMaternity: {
2
- color: {
3
- primary: {
4
- '100': string;
5
- '300': string;
6
- '500': string;
7
- '700': string;
8
- '900': string;
9
- };
10
- secondary: {
11
- '100': string;
12
- '300': string;
13
- '500': string;
14
- '700': string;
15
- '900': string;
16
- };
17
- accent: {
18
- '100': string;
19
- '300': string;
20
- '500': string;
21
- '700': string;
22
- '900': string;
23
- };
24
- };
25
- font: {
26
- size: string;
27
- color: string;
28
- body: string;
29
- heading: string;
30
- display: string;
31
- weights: {
32
- thin: number;
33
- light: number;
34
- regular: number;
35
- medium: number;
36
- bold: number;
37
- black: number;
38
- };
39
- };
40
- spacing: {
41
- base: number;
42
- };
43
- };
@@ -1,50 +0,0 @@
1
- export declare const ThemeOncology: {
2
- color: {
3
- primary: {
4
- '100': string;
5
- '300': string;
6
- '500': string;
7
- '700': string;
8
- '900': string;
9
- };
10
- secondary: {
11
- '100': string;
12
- '300': string;
13
- '500': string;
14
- '700': string;
15
- '900': string;
16
- };
17
- accent: {
18
- '100': string;
19
- '300': string;
20
- '500': string;
21
- '700': string;
22
- '900': string;
23
- };
24
- aux: {
25
- '100': string;
26
- '300': string;
27
- '500': string;
28
- '700': string;
29
- '900': string;
30
- };
31
- };
32
- font: {
33
- size: string;
34
- color: string;
35
- body: string;
36
- heading: string;
37
- display: string;
38
- weights: {
39
- thin: number;
40
- light: number;
41
- regular: number;
42
- medium: number;
43
- bold: number;
44
- black: number;
45
- };
46
- };
47
- spacing: {
48
- base: number;
49
- };
50
- };
@@ -1,138 +0,0 @@
1
- export declare const ThemePresets: {
2
- default: {
3
- color: {
4
- primary: {
5
- '100': string;
6
- '300': string;
7
- '500': string;
8
- '700': string;
9
- '900': string;
10
- };
11
- secondary: {
12
- '100': string;
13
- '300': string;
14
- '500': string;
15
- '700': string;
16
- '900': string;
17
- };
18
- accent: {
19
- '100': string;
20
- '300': string;
21
- '500': string;
22
- '700': string;
23
- '900': string;
24
- };
25
- };
26
- spacing: {
27
- base: number;
28
- };
29
- font: {
30
- size: string;
31
- color: string;
32
- body: string;
33
- heading: string;
34
- display: string;
35
- weights: {
36
- thin: number;
37
- light: number;
38
- regular: number;
39
- medium: number;
40
- bold: number;
41
- black: number;
42
- };
43
- };
44
- };
45
- maternidade: {
46
- color: {
47
- primary: {
48
- '100': string;
49
- '300': string;
50
- '500': string;
51
- '700': string;
52
- '900': string;
53
- };
54
- secondary: {
55
- '100': string;
56
- '300': string;
57
- '500': string;
58
- '700': string;
59
- '900': string;
60
- };
61
- accent: {
62
- '100': string;
63
- '300': string;
64
- '500': string;
65
- '700': string;
66
- '900': string;
67
- };
68
- };
69
- font: {
70
- size: string;
71
- color: string;
72
- body: string;
73
- heading: string;
74
- display: string;
75
- weights: {
76
- thin: number;
77
- light: number;
78
- regular: number;
79
- medium: number;
80
- bold: number;
81
- black: number;
82
- };
83
- };
84
- spacing: {
85
- base: number;
86
- };
87
- };
88
- oncologia: {
89
- color: {
90
- primary: {
91
- '100': string;
92
- '300': string;
93
- '500': string;
94
- '700': string;
95
- '900': string;
96
- };
97
- secondary: {
98
- '100': string;
99
- '300': string;
100
- '500': string;
101
- '700': string;
102
- '900': string;
103
- };
104
- accent: {
105
- '100': string;
106
- '300': string;
107
- '500': string;
108
- '700': string;
109
- '900': string;
110
- };
111
- aux: {
112
- '100': string;
113
- '300': string;
114
- '500': string;
115
- '700': string;
116
- '900': string;
117
- };
118
- };
119
- font: {
120
- size: string;
121
- color: string;
122
- body: string;
123
- heading: string;
124
- display: string;
125
- weights: {
126
- thin: number;
127
- light: number;
128
- regular: number;
129
- medium: number;
130
- bold: number;
131
- black: number;
132
- };
133
- };
134
- spacing: {
135
- base: number;
136
- };
137
- };
138
- };
@@ -1,2 +0,0 @@
1
- declare const _default: string[];
2
- export default _default;