@rededor/cura 0.4.5 → 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 (368) hide show
  1. package/package.json +18 -4
  2. package/dist/assets/icons/iconset-default-list.ts +0 -1
  3. package/dist/assets/icons/iconset-default.svg +0 -1
  4. package/dist/cjs/app-globals-858f45bf.js +0 -479
  5. package/dist/cjs/app-globals-858f45bf.js.map +0 -1
  6. package/dist/cjs/css-shim-83cf0349.js +0 -8
  7. package/dist/cjs/css-shim-83cf0349.js.map +0 -1
  8. package/dist/cjs/cura-button_10.cjs.entry.js +0 -549
  9. package/dist/cjs/cura-button_10.cjs.entry.js.map +0 -1
  10. package/dist/cjs/cura.cjs.js +0 -36
  11. package/dist/cjs/cura.cjs.js.map +0 -1
  12. package/dist/cjs/index-0e874533.js +0 -1995
  13. package/dist/cjs/index-0e874533.js.map +0 -1
  14. package/dist/cjs/index.cjs.js +0 -4
  15. package/dist/cjs/index.cjs.js.map +0 -1
  16. package/dist/cjs/loader.cjs.js +0 -42
  17. package/dist/cjs/loader.cjs.js.map +0 -1
  18. package/dist/cjs/shadow-css-8baae635.js +0 -391
  19. package/dist/cjs/shadow-css-8baae635.js.map +0 -1
  20. package/dist/collection/api/cura-api.js +0 -34
  21. package/dist/collection/api/cura-api.js.map +0 -1
  22. package/dist/collection/api/cura-api.type.js +0 -7
  23. package/dist/collection/api/cura-api.type.js.map +0 -1
  24. package/dist/collection/api/modules/cura-theme-breakpoints-module.js +0 -14
  25. package/dist/collection/api/modules/cura-theme-breakpoints-module.js.map +0 -1
  26. package/dist/collection/api/modules/cura-theme-colors-module.js +0 -75
  27. package/dist/collection/api/modules/cura-theme-colors-module.js.map +0 -1
  28. package/dist/collection/api/modules/cura-theme-fonts-module.js +0 -36
  29. package/dist/collection/api/modules/cura-theme-fonts-module.js.map +0 -1
  30. package/dist/collection/api/modules/cura-theme-module.js +0 -78
  31. package/dist/collection/api/modules/cura-theme-module.js.map +0 -1
  32. package/dist/collection/api/modules/cura-theme-spacing-module.js +0 -13
  33. package/dist/collection/api/modules/cura-theme-spacing-module.js.map +0 -1
  34. package/dist/collection/api/theme-presets/static.js +0 -71
  35. package/dist/collection/api/theme-presets/static.js.map +0 -1
  36. package/dist/collection/api/theme-presets/theme-default.js +0 -50
  37. package/dist/collection/api/theme-presets/theme-default.js.map +0 -1
  38. package/dist/collection/api/theme-presets/theme-maternity.js +0 -46
  39. package/dist/collection/api/theme-presets/theme-maternity.js.map +0 -1
  40. package/dist/collection/api/theme-presets/theme-oncology.js +0 -53
  41. package/dist/collection/api/theme-presets/theme-oncology.js.map +0 -1
  42. package/dist/collection/api/theme-presets/theme-presets.js +0 -9
  43. package/dist/collection/api/theme-presets/theme-presets.js.map +0 -1
  44. package/dist/collection/assets/icons/iconset-default-list.js +0 -2
  45. package/dist/collection/assets/icons/iconset-default-list.js.map +0 -1
  46. package/dist/collection/assets/icons/iconset-default.svg +0 -1
  47. package/dist/collection/assets-raw/icons/default/360.svg +0 -8
  48. package/dist/collection/assets-raw/icons/default/accessibility.svg +0 -5
  49. package/dist/collection/assets-raw/icons/default/addUser.svg +0 -6
  50. package/dist/collection/assets-raw/icons/default/alertCircle.svg +0 -5
  51. package/dist/collection/assets-raw/icons/default/alertTriangle.svg +0 -5
  52. package/dist/collection/assets-raw/icons/default/arrowDown.svg +0 -3
  53. package/dist/collection/assets-raw/icons/default/arrowDownCircle.svg +0 -4
  54. package/dist/collection/assets-raw/icons/default/arrowLeft.svg +0 -3
  55. package/dist/collection/assets-raw/icons/default/arrowLeftCircle.svg +0 -4
  56. package/dist/collection/assets-raw/icons/default/arrowRight.svg +0 -3
  57. package/dist/collection/assets-raw/icons/default/arrowRightCircle.svg +0 -4
  58. package/dist/collection/assets-raw/icons/default/arrowUp.svg +0 -3
  59. package/dist/collection/assets-raw/icons/default/arrowUpCircle.svg +0 -4
  60. package/dist/collection/assets-raw/icons/default/attach.svg +0 -3
  61. package/dist/collection/assets-raw/icons/default/avatarF.svg +0 -6
  62. package/dist/collection/assets-raw/icons/default/avatarM.svg +0 -5
  63. package/dist/collection/assets-raw/icons/default/biometry.svg +0 -3
  64. package/dist/collection/assets-raw/icons/default/bloodGroup.svg +0 -3
  65. package/dist/collection/assets-raw/icons/default/calendar.svg +0 -8
  66. package/dist/collection/assets-raw/icons/default/cam.svg +0 -4
  67. package/dist/collection/assets-raw/icons/default/camOff.svg +0 -5
  68. package/dist/collection/assets-raw/icons/default/central.svg +0 -7
  69. package/dist/collection/assets-raw/icons/default/chatCircle.svg +0 -6
  70. package/dist/collection/assets-raw/icons/default/check.svg +0 -3
  71. package/dist/collection/assets-raw/icons/default/checkBadge.svg +0 -4
  72. package/dist/collection/assets-raw/icons/default/checkCircle.svg +0 -4
  73. package/dist/collection/assets-raw/icons/default/checkDouble.svg +0 -4
  74. package/dist/collection/assets-raw/icons/default/clock.svg +0 -5
  75. package/dist/collection/assets-raw/icons/default/close.svg +0 -3
  76. package/dist/collection/assets-raw/icons/default/closeCircle.svg +0 -5
  77. package/dist/collection/assets-raw/icons/default/collapse.svg +0 -4
  78. package/dist/collection/assets-raw/icons/default/config.svg +0 -4
  79. package/dist/collection/assets-raw/icons/default/delete.svg +0 -7
  80. package/dist/collection/assets-raw/icons/default/desktop.svg +0 -6
  81. package/dist/collection/assets-raw/icons/default/doc.svg +0 -4
  82. package/dist/collection/assets-raw/icons/default/down.svg +0 -3
  83. package/dist/collection/assets-raw/icons/default/download.svg +0 -3
  84. package/dist/collection/assets-raw/icons/default/duplicate.svg +0 -4
  85. package/dist/collection/assets-raw/icons/default/edit.svg +0 -5
  86. package/dist/collection/assets-raw/icons/default/exam.svg +0 -6
  87. package/dist/collection/assets-raw/icons/default/expand.svg +0 -4
  88. package/dist/collection/assets-raw/icons/default/facebook.svg +0 -3
  89. package/dist/collection/assets-raw/icons/default/fileBmp.svg +0 -17
  90. package/dist/collection/assets-raw/icons/default/fileJpg.svg +0 -8
  91. package/dist/collection/assets-raw/icons/default/filePdf.svg +0 -10
  92. package/dist/collection/assets-raw/icons/default/filePng.svg +0 -10
  93. package/dist/collection/assets-raw/icons/default/fileUpload.svg +0 -5
  94. package/dist/collection/assets-raw/icons/default/fileXls.svg +0 -8
  95. package/dist/collection/assets-raw/icons/default/filter.svg +0 -11
  96. package/dist/collection/assets-raw/icons/default/fullscreen.svg +0 -6
  97. package/dist/collection/assets-raw/icons/default/gallery.svg +0 -6
  98. package/dist/collection/assets-raw/icons/default/geotag.svg +0 -4
  99. package/dist/collection/assets-raw/icons/default/geotagUnity.svg +0 -5
  100. package/dist/collection/assets-raw/icons/default/google.svg +0 -3
  101. package/dist/collection/assets-raw/icons/default/graph.svg +0 -6
  102. package/dist/collection/assets-raw/icons/default/healthPlan.svg +0 -6
  103. package/dist/collection/assets-raw/icons/default/height.svg +0 -10
  104. package/dist/collection/assets-raw/icons/default/height2.svg +0 -8
  105. package/dist/collection/assets-raw/icons/default/home.svg +0 -6
  106. package/dist/collection/assets-raw/icons/default/horizontalList.svg +0 -4
  107. package/dist/collection/assets-raw/icons/default/imageUp.svg +0 -5
  108. package/dist/collection/assets-raw/icons/default/infoCircle.svg +0 -5
  109. package/dist/collection/assets-raw/icons/default/instagram.svg +0 -5
  110. package/dist/collection/assets-raw/icons/default/key.svg +0 -4
  111. package/dist/collection/assets-raw/icons/default/lamp.svg +0 -12
  112. package/dist/collection/assets-raw/icons/default/language.svg +0 -9
  113. package/dist/collection/assets-raw/icons/default/language2.svg +0 -4
  114. package/dist/collection/assets-raw/icons/default/languageEN.svg +0 -5
  115. package/dist/collection/assets-raw/icons/default/languagePT.svg +0 -5
  116. package/dist/collection/assets-raw/icons/default/lattes.svg +0 -3
  117. package/dist/collection/assets-raw/icons/default/left.svg +0 -3
  118. package/dist/collection/assets-raw/icons/default/like.svg +0 -4
  119. package/dist/collection/assets-raw/icons/default/link.svg +0 -4
  120. package/dist/collection/assets-raw/icons/default/linkExternal.svg +0 -4
  121. package/dist/collection/assets-raw/icons/default/linkedin.svg +0 -5
  122. package/dist/collection/assets-raw/icons/default/list.svg +0 -8
  123. package/dist/collection/assets-raw/icons/default/login.svg +0 -4
  124. package/dist/collection/assets-raw/icons/default/logout.svg +0 -3
  125. package/dist/collection/assets-raw/icons/default/mail.svg +0 -6
  126. package/dist/collection/assets-raw/icons/default/medDoc.svg +0 -5
  127. package/dist/collection/assets-raw/icons/default/medEspec.svg +0 -4
  128. package/dist/collection/assets-raw/icons/default/medImg.svg +0 -5
  129. package/dist/collection/assets-raw/icons/default/medUser.svg +0 -10
  130. package/dist/collection/assets-raw/icons/default/medical.svg +0 -9
  131. package/dist/collection/assets-raw/icons/default/menuHamburguer.svg +0 -5
  132. package/dist/collection/assets-raw/icons/default/menuKebab.svg +0 -5
  133. package/dist/collection/assets-raw/icons/default/menuMeatballs.svg +0 -5
  134. package/dist/collection/assets-raw/icons/default/mic.svg +0 -5
  135. package/dist/collection/assets-raw/icons/default/micOff.svg +0 -6
  136. package/dist/collection/assets-raw/icons/default/minus.svg +0 -3
  137. package/dist/collection/assets-raw/icons/default/minusCircle.svg +0 -4
  138. package/dist/collection/assets-raw/icons/default/minusSquare.svg +0 -4
  139. package/dist/collection/assets-raw/icons/default/mobile.svg +0 -4
  140. package/dist/collection/assets-raw/icons/default/news.svg +0 -8
  141. package/dist/collection/assets-raw/icons/default/notification.svg +0 -6
  142. package/dist/collection/assets-raw/icons/default/npsDeslike.svg +0 -6
  143. package/dist/collection/assets-raw/icons/default/npsHate.svg +0 -6
  144. package/dist/collection/assets-raw/icons/default/npsLike.svg +0 -6
  145. package/dist/collection/assets-raw/icons/default/npsLove.svg +0 -6
  146. package/dist/collection/assets-raw/icons/default/npsNeutral.svg +0 -6
  147. package/dist/collection/assets-raw/icons/default/order.svg +0 -6
  148. package/dist/collection/assets-raw/icons/default/partner.svg +0 -5
  149. package/dist/collection/assets-raw/icons/default/phone.svg +0 -5
  150. package/dist/collection/assets-raw/icons/default/play.svg +0 -4
  151. package/dist/collection/assets-raw/icons/default/plus.svg +0 -4
  152. package/dist/collection/assets-raw/icons/default/plusCircle.svg +0 -5
  153. package/dist/collection/assets-raw/icons/default/plusSquare.svg +0 -5
  154. package/dist/collection/assets-raw/icons/default/print.svg +0 -7
  155. package/dist/collection/assets-raw/icons/default/profile.svg +0 -4
  156. package/dist/collection/assets-raw/icons/default/profile2.svg +0 -4
  157. package/dist/collection/assets-raw/icons/default/questionCircle.svg +0 -4
  158. package/dist/collection/assets-raw/icons/default/questionSquare.svg +0 -4
  159. package/dist/collection/assets-raw/icons/default/range.svg +0 -5
  160. package/dist/collection/assets-raw/icons/default/reload.svg +0 -4
  161. package/dist/collection/assets-raw/icons/default/ribbon.svg +0 -4
  162. package/dist/collection/assets-raw/icons/default/right.svg +0 -3
  163. package/dist/collection/assets-raw/icons/default/schedule.svg +0 -9
  164. package/dist/collection/assets-raw/icons/default/scheduleHistorico.svg +0 -9
  165. package/dist/collection/assets-raw/icons/default/search.svg +0 -4
  166. package/dist/collection/assets-raw/icons/default/secure.svg +0 -6
  167. package/dist/collection/assets-raw/icons/default/share.svg +0 -7
  168. package/dist/collection/assets-raw/icons/default/sound.svg +0 -5
  169. package/dist/collection/assets-raw/icons/default/soundOff.svg +0 -4
  170. package/dist/collection/assets-raw/icons/default/subItem.svg +0 -4
  171. package/dist/collection/assets-raw/icons/default/target.svg +0 -8
  172. package/dist/collection/assets-raw/icons/default/team.svg +0 -6
  173. package/dist/collection/assets-raw/icons/default/twitter.svg +0 -3
  174. package/dist/collection/assets-raw/icons/default/unLink.svg +0 -10
  175. package/dist/collection/assets-raw/icons/default/unSecure.svg +0 -6
  176. package/dist/collection/assets-raw/icons/default/unity.svg +0 -13
  177. package/dist/collection/assets-raw/icons/default/unlike.svg +0 -4
  178. package/dist/collection/assets-raw/icons/default/up.svg +0 -3
  179. package/dist/collection/assets-raw/icons/default/upload.svg +0 -3
  180. package/dist/collection/assets-raw/icons/default/verticalList.svg +0 -4
  181. package/dist/collection/assets-raw/icons/default/viewFalse.svg +0 -5
  182. package/dist/collection/assets-raw/icons/default/viewTrue.svg +0 -4
  183. package/dist/collection/assets-raw/icons/default/weight.svg +0 -5
  184. package/dist/collection/assets-raw/icons/default/whatsapp.svg +0 -4
  185. package/dist/collection/assets-raw/icons/default/wifi.svg +0 -6
  186. package/dist/collection/assets-raw/icons/default/wifiOff.svg +0 -7
  187. package/dist/collection/assets-raw/icons/default/youtube.svg +0 -4
  188. package/dist/collection/assets-raw/icons/default/zoomIn.svg +0 -6
  189. package/dist/collection/assets-raw/icons/default/zoomOut.svg +0 -5
  190. package/dist/collection/collection-manifest.json +0 -22
  191. package/dist/collection/components/buttons/cura-button/cura-button.css +0 -185
  192. package/dist/collection/components/buttons/cura-button/cura-button.js +0 -308
  193. package/dist/collection/components/buttons/cura-button/cura-button.js.map +0 -1
  194. package/dist/collection/components/buttons/cura-button-outline/cura-button-outline.css +0 -220
  195. package/dist/collection/components/buttons/cura-button-outline/cura-button-outline.js +0 -308
  196. package/dist/collection/components/buttons/cura-button-outline/cura-button-outline.js.map +0 -1
  197. package/dist/collection/components/buttons/cura-button-transparent/cura-button-transparent.css +0 -204
  198. package/dist/collection/components/buttons/cura-button-transparent/cura-button-transparent.js +0 -308
  199. package/dist/collection/components/buttons/cura-button-transparent/cura-button-transparent.js.map +0 -1
  200. package/dist/collection/components/cura-icon/cura-icon.css +0 -12
  201. package/dist/collection/components/cura-icon/cura-icon.js +0 -162
  202. package/dist/collection/components/cura-icon/cura-icon.js.map +0 -1
  203. package/dist/collection/components/cura-icons-view/cura-icons-view.css +0 -68
  204. package/dist/collection/components/cura-icons-view/cura-icons-view.js +0 -33
  205. package/dist/collection/components/cura-icons-view/cura-icons-view.js.map +0 -1
  206. package/dist/collection/components/cura-page-template/cura-page-template.css +0 -105
  207. package/dist/collection/components/cura-page-template/cura-page-template.js +0 -55
  208. package/dist/collection/components/cura-page-template/cura-page-template.js.map +0 -1
  209. package/dist/collection/components/loaders/cura-loader-circle/cura-loader-circle.css +0 -33
  210. package/dist/collection/components/loaders/cura-loader-circle/cura-loader-circle.js +0 -77
  211. package/dist/collection/components/loaders/cura-loader-circle/cura-loader-circle.js.map +0 -1
  212. package/dist/collection/components/text/cura-display/cura-display.css +0 -84
  213. package/dist/collection/components/text/cura-display/cura-display.js +0 -146
  214. package/dist/collection/components/text/cura-display/cura-display.js.map +0 -1
  215. package/dist/collection/components/text/cura-heading/cura-heading.css +0 -92
  216. package/dist/collection/components/text/cura-heading/cura-heading.js +0 -168
  217. package/dist/collection/components/text/cura-heading/cura-heading.js.map +0 -1
  218. package/dist/collection/components/text/cura-paragraph/cura-paragraph.css +0 -115
  219. package/dist/collection/components/text/cura-paragraph/cura-paragraph.js +0 -150
  220. package/dist/collection/components/text/cura-paragraph/cura-paragraph.js.map +0 -1
  221. package/dist/collection/index.js +0 -2
  222. package/dist/collection/index.js.map +0 -1
  223. package/dist/collection/rededor-cura-start.js +0 -10
  224. package/dist/collection/rededor-cura-start.js.map +0 -1
  225. package/dist/collection/utils/utils.js +0 -4
  226. package/dist/collection/utils/utils.js.map +0 -1
  227. package/dist/collection/utils/utils.spec.js +0 -16
  228. package/dist/collection/utils/utils.spec.js.map +0 -1
  229. package/dist/components/cura-button-outline.d.ts +0 -11
  230. package/dist/components/cura-button-outline.js +0 -123
  231. package/dist/components/cura-button-outline.js.map +0 -1
  232. package/dist/components/cura-button-transparent.d.ts +0 -11
  233. package/dist/components/cura-button-transparent.js +0 -123
  234. package/dist/components/cura-button-transparent.js.map +0 -1
  235. package/dist/components/cura-button.d.ts +0 -11
  236. package/dist/components/cura-button.js +0 -123
  237. package/dist/components/cura-button.js.map +0 -1
  238. package/dist/components/cura-display.d.ts +0 -11
  239. package/dist/components/cura-display.js +0 -89
  240. package/dist/components/cura-display.js.map +0 -1
  241. package/dist/components/cura-heading.d.ts +0 -11
  242. package/dist/components/cura-heading.js +0 -94
  243. package/dist/components/cura-heading.js.map +0 -1
  244. package/dist/components/cura-icon.d.ts +0 -11
  245. package/dist/components/cura-icon.js +0 -8
  246. package/dist/components/cura-icon.js.map +0 -1
  247. package/dist/components/cura-icon2.js +0 -79
  248. package/dist/components/cura-icon2.js.map +0 -1
  249. package/dist/components/cura-icons-view.d.ts +0 -11
  250. package/dist/components/cura-icons-view.js +0 -51
  251. package/dist/components/cura-icons-view.js.map +0 -1
  252. package/dist/components/cura-loader-circle.d.ts +0 -11
  253. package/dist/components/cura-loader-circle.js +0 -8
  254. package/dist/components/cura-loader-circle.js.map +0 -1
  255. package/dist/components/cura-loader-circle2.js +0 -51
  256. package/dist/components/cura-loader-circle2.js.map +0 -1
  257. package/dist/components/cura-page-template.d.ts +0 -11
  258. package/dist/components/cura-page-template.js +0 -49
  259. package/dist/components/cura-page-template.js.map +0 -1
  260. package/dist/components/cura-paragraph.d.ts +0 -11
  261. package/dist/components/cura-paragraph.js +0 -87
  262. package/dist/components/cura-paragraph.js.map +0 -1
  263. package/dist/components/index.d.ts +0 -39
  264. package/dist/components/index.js +0 -511
  265. package/dist/components/index.js.map +0 -1
  266. package/dist/cura/cura.esm.js +0 -2
  267. package/dist/cura/cura.esm.js.map +0 -1
  268. package/dist/cura/cura.js +0 -133
  269. package/dist/cura/index.esm.js +0 -2
  270. package/dist/cura/index.esm.js.map +0 -1
  271. package/dist/cura/p-118112e5.system.js +0 -14
  272. package/dist/cura/p-118112e5.system.js.map +0 -1
  273. package/dist/cura/p-183305c3.js +0 -2
  274. package/dist/cura/p-183305c3.js.map +0 -1
  275. package/dist/cura/p-2b6e4727.entry.js +0 -2
  276. package/dist/cura/p-2b6e4727.entry.js.map +0 -1
  277. package/dist/cura/p-3f6aaefc.system.js +0 -2
  278. package/dist/cura/p-3f6aaefc.system.js.map +0 -1
  279. package/dist/cura/p-50ea2036.system.js +0 -2
  280. package/dist/cura/p-50ea2036.system.js.map +0 -1
  281. package/dist/cura/p-8e62c529.system.entry.js +0 -2
  282. package/dist/cura/p-8e62c529.system.entry.js.map +0 -1
  283. package/dist/cura/p-a84ae34f.system.js +0 -3
  284. package/dist/cura/p-a84ae34f.system.js.map +0 -1
  285. package/dist/cura/p-aa9ad33b.system.js +0 -2
  286. package/dist/cura/p-aa9ad33b.system.js.map +0 -1
  287. package/dist/cura/p-b1ae12e5.system.js +0 -2
  288. package/dist/cura/p-b1ae12e5.system.js.map +0 -1
  289. package/dist/cura/p-beab48cd.js +0 -13
  290. package/dist/cura/p-beab48cd.js.map +0 -1
  291. package/dist/cura/p-cbc91ac5.js +0 -3
  292. package/dist/cura/p-cbc91ac5.js.map +0 -1
  293. package/dist/cura/p-deafb1b5.js +0 -2
  294. package/dist/cura/p-deafb1b5.js.map +0 -1
  295. package/dist/esm/app-globals-66a65edd.js +0 -477
  296. package/dist/esm/app-globals-66a65edd.js.map +0 -1
  297. package/dist/esm/css-shim-d13f0738.js +0 -6
  298. package/dist/esm/css-shim-d13f0738.js.map +0 -1
  299. package/dist/esm/cura-button_10.entry.js +0 -536
  300. package/dist/esm/cura-button_10.entry.js.map +0 -1
  301. package/dist/esm/cura.js +0 -31
  302. package/dist/esm/cura.js.map +0 -1
  303. package/dist/esm/index-92c824be.js +0 -1964
  304. package/dist/esm/index-92c824be.js.map +0 -1
  305. package/dist/esm/index.js +0 -3
  306. package/dist/esm/index.js.map +0 -1
  307. package/dist/esm/loader.js +0 -38
  308. package/dist/esm/loader.js.map +0 -1
  309. package/dist/esm/polyfills/core-js.js +0 -11
  310. package/dist/esm/polyfills/css-shim.js +0 -1
  311. package/dist/esm/polyfills/dom.js +0 -79
  312. package/dist/esm/polyfills/es5-html-element.js +0 -1
  313. package/dist/esm/polyfills/index.js +0 -34
  314. package/dist/esm/polyfills/system.js +0 -6
  315. package/dist/esm/shadow-css-07b0c8c8.js +0 -389
  316. package/dist/esm/shadow-css-07b0c8c8.js.map +0 -1
  317. package/dist/esm-es5/app-globals-66a65edd.js +0 -2
  318. package/dist/esm-es5/app-globals-66a65edd.js.map +0 -1
  319. package/dist/esm-es5/css-shim-d13f0738.js +0 -2
  320. package/dist/esm-es5/css-shim-d13f0738.js.map +0 -1
  321. package/dist/esm-es5/cura-button_10.entry.js +0 -2
  322. package/dist/esm-es5/cura-button_10.entry.js.map +0 -1
  323. package/dist/esm-es5/cura.js +0 -2
  324. package/dist/esm-es5/cura.js.map +0 -1
  325. package/dist/esm-es5/index-92c824be.js +0 -3
  326. package/dist/esm-es5/index-92c824be.js.map +0 -1
  327. package/dist/esm-es5/index.js +0 -2
  328. package/dist/esm-es5/index.js.map +0 -1
  329. package/dist/esm-es5/loader.js +0 -2
  330. package/dist/esm-es5/loader.js.map +0 -1
  331. package/dist/esm-es5/shadow-css-07b0c8c8.js +0 -13
  332. package/dist/esm-es5/shadow-css-07b0c8c8.js.map +0 -1
  333. package/dist/index.cjs.js +0 -1
  334. package/dist/index.js +0 -1
  335. package/dist/loader/cdn.js +0 -3
  336. package/dist/loader/index.cjs.js +0 -3
  337. package/dist/loader/index.d.ts +0 -21
  338. package/dist/loader/index.es2017.js +0 -3
  339. package/dist/loader/index.js +0 -4
  340. package/dist/loader/package.json +0 -11
  341. package/dist/types/api/cura-api.d.ts +0 -6
  342. package/dist/types/api/cura-api.type.d.ts +0 -65
  343. package/dist/types/api/modules/cura-theme-breakpoints-module.d.ts +0 -5
  344. package/dist/types/api/modules/cura-theme-colors-module.d.ts +0 -48
  345. package/dist/types/api/modules/cura-theme-fonts-module.d.ts +0 -24
  346. package/dist/types/api/modules/cura-theme-module.d.ts +0 -32
  347. package/dist/types/api/modules/cura-theme-spacing-module.d.ts +0 -6
  348. package/dist/types/api/theme-presets/static.d.ts +0 -69
  349. package/dist/types/api/theme-presets/theme-default.d.ts +0 -46
  350. package/dist/types/api/theme-presets/theme-maternity.d.ts +0 -43
  351. package/dist/types/api/theme-presets/theme-oncology.d.ts +0 -50
  352. package/dist/types/api/theme-presets/theme-presets.d.ts +0 -138
  353. package/dist/types/assets/icons/iconset-default-list.d.ts +0 -2
  354. package/dist/types/components/buttons/cura-button/cura-button.d.ts +0 -61
  355. package/dist/types/components/buttons/cura-button-outline/cura-button-outline.d.ts +0 -61
  356. package/dist/types/components/buttons/cura-button-transparent/cura-button-transparent.d.ts +0 -61
  357. package/dist/types/components/cura-icon/cura-icon.d.ts +0 -56
  358. package/dist/types/components/cura-icons-view/cura-icons-view.d.ts +0 -7
  359. package/dist/types/components/cura-page-template/cura-page-template.d.ts +0 -8
  360. package/dist/types/components/loaders/cura-loader-circle/cura-loader-circle.d.ts +0 -23
  361. package/dist/types/components/text/cura-display/cura-display.d.ts +0 -38
  362. package/dist/types/components/text/cura-heading/cura-heading.d.ts +0 -43
  363. package/dist/types/components/text/cura-paragraph/cura-paragraph.d.ts +0 -37
  364. package/dist/types/components.d.ts +0 -574
  365. package/dist/types/index.d.ts +0 -1
  366. package/dist/types/rededor-cura-start.d.ts +0 -9
  367. package/dist/types/stencil-public-runtime.d.ts +0 -1638
  368. 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(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AC9B,IAAMK,EAAmBlH,wBAAwBqC,GACjDA,EAAUxC,cAAcwC,GACxB,IAAM8E,EAAe,GACrB,GAAIR,EAAyB,CACzB,IAAMS,EAA2B,SAAC5F,GAC9B,IAAM6F,EAAc,UAAAhJ,OAAU8I,EAAalG,OAAM,SACjD,IAAMqG,EAAU,OAAAjJ,OAAOmD,EAAK1D,SAAQ,MACpCqJ,EAAa7I,KAAK,CAAE+I,YAAWA,EAAEC,QAAOA,IACxC9F,EAAK1D,SAAWuJ,EAAc7F,EAAK1D,SACnC,OAAO0D,CACnB,EACQa,EAAU7B,aAAa6B,GAAS,SAACb,GAC7B,GAAIA,EAAK1D,SAAS,KAAO,IAAK,CAC1B,OAAOsJ,EAAyB5F,E,MAE/B,GAAIA,EAAK1D,SAASsD,WAAW,WAC9BI,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;