@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,105 +0,0 @@
1
- /* Breakpoints variables */
2
- /**
3
- * Responsive media for mobile (small) only.
4
- * Use: @include mobile-only() { ... }
5
- */
6
- /**
7
- * Responsive media for medium only.
8
- * Use: @include medium-only() { ... }
9
- */
10
- /**
11
- * Responsive media for large only.
12
- * Use: @include large-only() { ... }
13
- */
14
- /**
15
- * Responsive media for large and up.
16
- * Use: @include large-up() { ... }
17
- */
18
- /**
19
- * Responsive media for xlarge only.
20
- * Use: @include xlarge-only() { ... }
21
- */
22
- :host {
23
- display: block;
24
- }
25
- :host .grid-template {
26
- display: grid;
27
- grid-template-rows: auto;
28
- grid-template-columns: auto;
29
- grid-template-areas: "sub-header" "header" "pre-content" "content-container" "post-body" "footer" "sub-footer";
30
- }
31
- :host .grid-template #sub-header {
32
- grid-area: sub-header;
33
- }
34
- :host .grid-template #header {
35
- grid-area: header;
36
- }
37
- :host .grid-template #pre-content {
38
- grid-area: pre-content;
39
- }
40
- :host .grid-template #content-container {
41
- grid-area: content-container;
42
- }
43
- :host .grid-template #post-body {
44
- grid-area: post-body;
45
- }
46
- :host .grid-template #footer {
47
- grid-area: footer;
48
- }
49
- :host .grid-template #sub-footer {
50
- grid-area: sub-footer;
51
- }
52
- @media (max-width: 360px) {
53
- :host .grid-template {
54
- padding: 0px;
55
- }
56
- }
57
- @media (min-width: 768px) and (max-width: 1365px) {
58
- :host .grid-template {
59
- padding: 0px;
60
- }
61
- }
62
- @media (min-width: 1366px) and (max-width: 1919px) {
63
- :host .grid-template {
64
- padding: 0px;
65
- }
66
- :host .grid-template #content-container #sidebar-left ::slotted(div[slot=sidebar-left]) {
67
- margin-right: calc(var(--spacing) * 5px);
68
- }
69
- :host .grid-template #content-container #sidebar-right ::slotted(div[slot=sidebar-right]) {
70
- margin-left: calc(var(--spacing) * 5px);
71
- }
72
- :host .grid-template #content-container {
73
- display: flex;
74
- }
75
- :host .grid-template #content-container #content {
76
- flex-grow: 1;
77
- }
78
- :host .grid-template #content-container #sidebar-left, :host .grid-template #content-container #sidebar-right {
79
- max-width: 20%;
80
- }
81
- }
82
- @media (min-width: 1920px) {
83
- :host .grid-template {
84
- padding: 0px;
85
- }
86
- :host .grid-template #content-container #sidebar-left ::slotted(div[slot=sidebar-left]) {
87
- margin-right: calc(var(--spacing) * 7px);
88
- }
89
- :host .grid-template #content-container #sidebar-right ::slotted(div[slot=sidebar-right]) {
90
- margin-left: calc(var(--spacing) * 7px);
91
- }
92
- :host .grid-template #content-container {
93
- display: flex;
94
- }
95
- :host .grid-template #content-container #content {
96
- flex-grow: 1;
97
- }
98
- :host .grid-template #content-container #sidebar-left, :host .grid-template #content-container #sidebar-right {
99
- max-width: 20%;
100
- }
101
- :host .grid-template #content-container.centered {
102
- max-width: 1920px;
103
- justify-self: center;
104
- }
105
- }
@@ -1,55 +0,0 @@
1
- import { Host, h } from '@stencil/core';
2
- export class CuraPageTemplate {
3
- constructor() {
4
- this.contentwidth = 'default';
5
- }
6
- connectedCallback() {
7
- this.styles = {
8
- '--spacing': window.CuraAPI.theme.spacing.getSpacing(),
9
- };
10
- }
11
- getClasses() {
12
- const classes = {};
13
- classes[this.contentwidth.toLowerCase()] = true;
14
- return classes;
15
- }
16
- render() {
17
- return (h(Host, null, h("div", { style: this.styles, class: "grid-template" }, h("div", { id: "sub-header" }, h("slot", { name: 'sub-header' })), h("div", { id: "header" }, h("slot", { name: 'header' })), h("div", { id: "pre-content" }, h("slot", { name: 'pre-content' })), h("div", { id: "content-container", class: this.getClasses() }, h("div", { id: "sidebar-left" }, h("slot", { name: 'sidebar-left' })), h("div", { id: "content" }, h("slot", { name: "content" }), h("slot", null)), h("div", { id: "sidebar-right" }, h("slot", { name: 'sidebar-right' }))), h("div", { id: "post-body" }, h("slot", { name: 'post-body' })), h("div", { id: "footer" }, h("slot", { name: 'footer' })), h("div", { id: "sub-footer" }, h("slot", { name: 'sub-footer' })))));
18
- }
19
- static get is() { return "cura-page-template"; }
20
- static get encapsulation() { return "shadow"; }
21
- static get originalStyleUrls() {
22
- return {
23
- "$": ["cura-page-template.scss"]
24
- };
25
- }
26
- static get styleUrls() {
27
- return {
28
- "$": ["cura-page-template.css"]
29
- };
30
- }
31
- static get properties() {
32
- return {
33
- "contentwidth": {
34
- "type": "string",
35
- "mutable": false,
36
- "complexType": {
37
- "original": "'default' | 'centered'",
38
- "resolved": "\"centered\" | \"default\"",
39
- "references": {}
40
- },
41
- "required": false,
42
- "optional": false,
43
- "docs": {
44
- "tags": [],
45
- "text": ""
46
- },
47
- "attribute": "contentwidth",
48
- "reflect": true,
49
- "defaultValue": "'default'"
50
- }
51
- };
52
- }
53
- static get elementRef() { return "host"; }
54
- }
55
- //# sourceMappingURL=cura-page-template.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"cura-page-template.js","sourceRoot":"","sources":["../../../src/components/cura-page-template/cura-page-template.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,OAAO,EAAE,IAAI,EAAE,IAAI,EAAE,CAAC,EAAE,MAAM,eAAe,CAAC;AAOlE,MAAM,OAAO,gBAAgB;;wBAEmC,SAAS;;EAMvE,iBAAiB;IACf,IAAI,CAAC,MAAM,GAAG;MACZ,WAAW,EAAE,MAAM,CAAC,OAAO,CAAC,KAAK,CAAC,OAAO,CAAC,UAAU,EAAE;KACvD,CAAA;EACH,CAAC;EAED,UAAU;IACR,MAAM,OAAO,GAAG,EAAE,CAAC;IACnB,OAAO,CAAC,IAAI,CAAC,YAAY,CAAC,WAAW,EAAE,CAAC,GAAG,IAAI,CAAC;IAChD,OAAO,OAAO,CAAC;EACjB,CAAC;EAED,MAAM;IACJ,OAAO,CACL,EAAC,IAAI;MACH,WAAK,KAAK,EAAE,IAAI,CAAC,MAAM,EAAE,KAAK,EAAC,eAAe;QAC5C,WAAK,EAAE,EAAC,YAAY;UAClB,YAAM,IAAI,EAAC,YAAY,GAAQ,CAC3B;QACN,WAAK,EAAE,EAAC,QAAQ;UACd,YAAM,IAAI,EAAC,QAAQ,GAAQ,CACvB;QACN,WAAK,EAAE,EAAC,aAAa;UACnB,YAAM,IAAI,EAAC,aAAa,GAAQ,CAC5B;QACN,WAAK,EAAE,EAAC,mBAAmB,EAAC,KAAK,EAAE,IAAI,CAAC,UAAU,EAAE;UAClD,WAAK,EAAE,EAAC,cAAc;YACpB,YAAM,IAAI,EAAC,cAAc,GAAQ,CAC7B;UACN,WAAK,EAAE,EAAC,SAAS;YACf,YAAM,IAAI,EAAC,SAAS,GAAQ;YAC5B,eAAa,CACT;UACN,WAAK,EAAE,EAAC,eAAe;YACrB,YAAM,IAAI,EAAC,eAAe,GAAQ,CAC9B,CACF;QACN,WAAK,EAAE,EAAC,WAAW;UACjB,YAAM,IAAI,EAAC,WAAW,GAAQ,CAC1B;QACN,WAAK,EAAE,EAAC,QAAQ;UACd,YAAM,IAAI,EAAC,QAAQ,GAAQ,CACvB;QACN,WAAK,EAAE,EAAC,YAAY;UAClB,YAAM,IAAI,EAAC,YAAY,GAAQ,CAC3B,CACF,CACD,CACR,CAAC;EACJ,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAEF","sourcesContent":["import { Component, Element, Host, Prop, h } from '@stencil/core';\n\n@Component({\n tag: 'cura-page-template',\n styleUrl: 'cura-page-template.scss',\n shadow: true,\n})\nexport class CuraPageTemplate {\n\n @Prop({reflect: true}) contentwidth: 'default' | 'centered' = 'default';\n\n @Element() host: HTMLElement;\n\n styles: any;\n\n connectedCallback() {\n this.styles = {\n '--spacing': window.CuraAPI.theme.spacing.getSpacing(),\n }\n }\n\n getClasses() {\n const classes = {};\n classes[this.contentwidth.toLowerCase()] = true;\n return classes;\n }\n\n render() {\n return (\n <Host>\n <div style={this.styles} class=\"grid-template\">\n <div id=\"sub-header\">\n <slot name='sub-header'></slot>\n </div>\n <div id=\"header\">\n <slot name='header'></slot>\n </div>\n <div id=\"pre-content\">\n <slot name='pre-content'></slot>\n </div>\n <div id=\"content-container\" class={this.getClasses()}>\n <div id=\"sidebar-left\">\n <slot name='sidebar-left'></slot>\n </div>\n <div id=\"content\">\n <slot name=\"content\"></slot>\n <slot></slot>\n </div>\n <div id=\"sidebar-right\">\n <slot name='sidebar-right'></slot>\n </div>\n </div>\n <div id=\"post-body\">\n <slot name='post-body'></slot>\n </div>\n <div id=\"footer\">\n <slot name='footer'></slot>\n </div>\n <div id=\"sub-footer\">\n <slot name='sub-footer'></slot>\n </div>\n </div>\n </Host>\n );\n }\n\n}\n"]}
@@ -1,33 +0,0 @@
1
- :host {
2
- display: inline-block;
3
- width: var(--size);
4
- height: var(--size);
5
- }
6
- :host svg {
7
- width: var(--size);
8
- height: var(--size);
9
- animation: rotate 0.7s linear infinite;
10
- }
11
- :host circle, :host path {
12
- stroke-miterlimit: 10;
13
- stroke-linecap: round;
14
- stroke-linejoin: round;
15
- }
16
- :host path {
17
- stroke: var(--color);
18
- }
19
- :host stop {
20
- stop-color: var(--color);
21
- }
22
- :host linearGradient stop:first-child {
23
- stop-opacity: 0.14;
24
- }
25
-
26
- @keyframes rotate {
27
- 0% {
28
- transform: rotate(0);
29
- }
30
- 100% {
31
- transform: rotate(360deg);
32
- }
33
- }
@@ -1,77 +0,0 @@
1
- import { Host, h } from '@stencil/core';
2
- export class CuraLoaderCircle {
3
- constructor() {
4
- this.sizes = {
5
- xlarge: 32,
6
- large: 24,
7
- medium: 20,
8
- small: 16,
9
- default: 16,
10
- };
11
- this.getPxSize = () => this.sizes[this.size] || this.sizes['default'];
12
- this.size = 'medium';
13
- this.color = 'neutral-white';
14
- }
15
- getStyles() {
16
- return {
17
- '--size': `${this.getPxSize()}px`,
18
- '--color': window.CuraAPI.theme.colors.getColor(this.color)
19
- };
20
- }
21
- render() {
22
- return (h(Host, { style: this.getStyles() }, h("svg", { viewBox: "0 0 16 16", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, h("g", null, h("circle", { cx: "8", cy: "8", r: "7", stroke: "url(#paint0_linear_13485_11488)", "stroke-width": "2" }), h("path", { d: "M1 8C1 4.13401 4.11877 1 7.96596 1C9.53445 1 10.9819 1.52093 12.1462 2.4C12.8959 2.96601 13.5282 3.68049 14 4.5", "stroke-width": "2" })), h("defs", null, h("linearGradient", { id: "paint0_linear_13485_11488", x1: "15.7", y1: "4.5", x2: "4.15", y2: "11.5", gradientUnits: "userSpaceOnUse" }, h("stop", null), h("stop", { offset: "1" }))))));
23
- }
24
- static get is() { return "cura-loader-circle"; }
25
- static get encapsulation() { return "shadow"; }
26
- static get originalStyleUrls() {
27
- return {
28
- "$": ["cura-loader-circle.scss"]
29
- };
30
- }
31
- static get styleUrls() {
32
- return {
33
- "$": ["cura-loader-circle.css"]
34
- };
35
- }
36
- static get properties() {
37
- return {
38
- "size": {
39
- "type": "string",
40
- "mutable": false,
41
- "complexType": {
42
- "original": "'small' | 'medium' | 'large' | 'xlarge'",
43
- "resolved": "\"large\" | \"medium\" | \"small\" | \"xlarge\"",
44
- "references": {}
45
- },
46
- "required": false,
47
- "optional": false,
48
- "docs": {
49
- "tags": [],
50
- "text": "Loader size. Values: small, medium or large."
51
- },
52
- "attribute": "size",
53
- "reflect": true,
54
- "defaultValue": "'medium'"
55
- },
56
- "color": {
57
- "type": "string",
58
- "mutable": false,
59
- "complexType": {
60
- "original": "string",
61
- "resolved": "string",
62
- "references": {}
63
- },
64
- "required": false,
65
- "optional": false,
66
- "docs": {
67
- "tags": [],
68
- "text": "One from color scheme. Default: neutral-white."
69
- },
70
- "attribute": "color",
71
- "reflect": true,
72
- "defaultValue": "'neutral-white'"
73
- }
74
- };
75
- }
76
- }
77
- //# sourceMappingURL=cura-loader-circle.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"cura-loader-circle.js","sourceRoot":"","sources":["../../../../src/components/loaders/cura-loader-circle/cura-loader-circle.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,IAAI,EAAE,CAAC,EAAE,IAAI,EAAE,MAAM,eAAe,CAAC;AAOzD,MAAM,OAAO,gBAAgB;;IAW3B,UAAK,GAAG;MACN,MAAM,EAAE,EAAE;MACV,KAAK,EAAE,EAAE;MACT,MAAM,EAAE,EAAE;MACV,KAAK,EAAE,EAAE;MACT,OAAO,EAAE,EAAE;KACZ,CAAC;IAEF,cAAS,GAAG,GAAG,EAAE,CAAC,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,IAAI,CAAC,IAAI,IAAI,CAAC,KAAK,CAAC,SAAS,CAAC,CAAC;gBAdM,QAAQ;iBAIhD,eAAe;;EAY9C,SAAS;IACP,OAAO;MACL,QAAQ,EAAE,GAAG,IAAI,CAAC,SAAS,EAAE,IAAI;MACjC,SAAS,EAAE,MAAM,CAAC,OAAO,CAAC,KAAK,CAAC,MAAM,CAAC,QAAQ,CAAC,IAAI,CAAC,KAAK,CAAC;KAC5D,CAAA;EACH,CAAC;EAED,MAAM;IACJ,OAAO,CACL,EAAC,IAAI,IAAC,KAAK,EAAE,IAAI,CAAC,SAAS,EAAE;MAC3B,WAAK,OAAO,EAAC,WAAW,EAAC,IAAI,EAAC,MAAM,EAAC,KAAK,EAAC,4BAA4B;QACrE;UACE,cAAQ,EAAE,EAAC,GAAG,EAAC,EAAE,EAAC,GAAG,EAAC,CAAC,EAAC,GAAG,EAAC,MAAM,EAAC,iCAAiC,kBAAc,GAAG,GAAE;UACvF,YAAM,CAAC,EAAC,iHAAiH,kBAAc,GAAG,GAAE,CAC1I;QACJ;UACE,sBAAgB,EAAE,EAAC,2BAA2B,EAAC,EAAE,EAAC,MAAM,EAAC,EAAE,EAAC,KAAK,EAAC,EAAE,EAAC,MAAM,EAAC,EAAE,EAAC,MAAM,EAAC,aAAa,EAAC,gBAAgB;YAClH,eAAO;YACP,YAAM,MAAM,EAAC,GAAG,GAAE,CACH,CACZ,CACH,CACD,CACR,CAAC;EACJ,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAEF","sourcesContent":["import { Component, Host, h, Prop } from '@stencil/core';\n\n@Component({\n tag: 'cura-loader-circle',\n styleUrl: 'cura-loader-circle.scss',\n shadow: true,\n})\nexport class CuraLoaderCircle {\n\n /**\n * Loader size. Values: small, medium or large.\n */\n @Prop({reflect: true}) size: 'small' | 'medium' | 'large' | 'xlarge' = 'medium';\n /**\n * One from color scheme. Default: neutral-white.\n */\n @Prop({reflect: true}) color = 'neutral-white';\n\n sizes = {\n xlarge: 32,\n large: 24,\n medium: 20,\n small: 16,\n default: 16,\n };\n\n getPxSize = () => this.sizes[this.size] || this.sizes['default'];\n\n getStyles() {\n return {\n '--size': `${this.getPxSize()}px`,\n '--color': window.CuraAPI.theme.colors.getColor(this.color)\n }\n }\n\n render() {\n return (\n <Host style={this.getStyles()}>\n <svg viewBox=\"0 0 16 16\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n <g>\n <circle cx=\"8\" cy=\"8\" r=\"7\" stroke=\"url(#paint0_linear_13485_11488)\" stroke-width=\"2\"/>\n <path d=\"M1 8C1 4.13401 4.11877 1 7.96596 1C9.53445 1 10.9819 1.52093 12.1462 2.4C12.8959 2.96601 13.5282 3.68049 14 4.5\" stroke-width=\"2\"/>\n </g>\n <defs>\n <linearGradient id=\"paint0_linear_13485_11488\" x1=\"15.7\" y1=\"4.5\" x2=\"4.15\" y2=\"11.5\" gradientUnits=\"userSpaceOnUse\">\n <stop/>\n <stop offset=\"1\"/>\n </linearGradient>\n </defs>\n </svg>\n </Host>\n );\n }\n\n}\n"]}
@@ -1,84 +0,0 @@
1
- /* Breakpoints variables */
2
- /**
3
- * Responsive media for mobile (small) only.
4
- * Use: @include mobile-only() { ... }
5
- */
6
- /**
7
- * Responsive media for medium only.
8
- * Use: @include medium-only() { ... }
9
- */
10
- /**
11
- * Responsive media for large only.
12
- * Use: @include large-only() { ... }
13
- */
14
- /**
15
- * Responsive media for large and up.
16
- * Use: @include large-up() { ... }
17
- */
18
- /**
19
- * Responsive media for xlarge only.
20
- * Use: @include xlarge-only() { ... }
21
- */
22
- :host {
23
- display: block;
24
- font-size: var(--font-size);
25
- text-transform: uppercase;
26
- }
27
- :host h1, :host h2, :host h3, :host h4, :host h5, :host h6 {
28
- font-family: var(--font-family);
29
- font-size: 4.285em;
30
- font-weight: var(--font-weight-black);
31
- color: var(--color-body);
32
- line-height: 120%;
33
- letter-spacing: -4%;
34
- margin-block-start: var(--block-margin);
35
- margin-block-end: var(--block-margin);
36
- }
37
- :host h1.large, :host h2.large, :host h3.large, :host h4.large, :host h5.large, :host h6.large {
38
- font-size: 6.21em;
39
- }
40
- :host h1.small, :host h2.small, :host h3.small, :host h4.small, :host h5.small, :host h6.small {
41
- font-size: 3em;
42
- font-weight: var(--font-weight-bold);
43
- }
44
- @media (min-width: 768px) and (max-width: 1365px) {
45
- :host h1, :host h2, :host h3, :host h4, :host h5, :host h6 {
46
- font-size: 4.92em;
47
- }
48
- :host h1.large, :host h2.large, :host h3.large, :host h4.large, :host h5.large, :host h6.large {
49
- font-size: 7.07em;
50
- }
51
- :host h1.small, :host h2.small, :host h3.small, :host h4.small, :host h5.small, :host h6.small {
52
- font-size: 3.428em;
53
- }
54
- }
55
- @media (min-width: 1366px) {
56
- :host h1, :host h2, :host h3, :host h4, :host h5, :host h6 {
57
- font-size: 6.14em;
58
- line-height: 125%;
59
- }
60
- :host h1.large, :host h2.large, :host h3.large, :host h4.large, :host h5.large, :host h6.large {
61
- font-size: 8.857em;
62
- letter-spacing: -6%;
63
- }
64
- :host h1.small, :host h2.small, :host h3.small, :host h4.small, :host h5.small, :host h6.small {
65
- font-size: 4.285em;
66
- letter-spacing: -2%;
67
- }
68
- }
69
- :host ::slotted(b), :host ::slotted(strong) {
70
- font-weight: var(--font-weight-bold);
71
- }
72
- :host ::slotted(a) {
73
- font-weight: var(--font-weight-bold);
74
- color: var(--color-link);
75
- text-decoration: none;
76
- text-underline-offset: 10%;
77
- cursor: pointer;
78
- }
79
- :host ::slotted(abbr) {
80
- color: var(--color-link);
81
- text-decoration: underline dashed 1px var(--color-link);
82
- text-underline-offset: 10%;
83
- cursor: default;
84
- }
@@ -1,146 +0,0 @@
1
- import { Host, h } from '@stencil/core';
2
- export class CuraDisplay {
3
- constructor() {
4
- this.level = 1;
5
- this.size = 'regular';
6
- this.inverted = false;
7
- this.spotColor = 'primary';
8
- }
9
- connectedCallback() {
10
- this.weights = window.CuraAPI.theme.fonts.getWeights();
11
- this.setFontProperties();
12
- this.setColors();
13
- }
14
- getClasses() {
15
- const classes = {};
16
- classes[this.size.toLowerCase()] = true;
17
- return classes;
18
- }
19
- setFontProperties() {
20
- this.styles = {
21
- '--font-family': window.CuraAPI.theme.fonts.getFamily('display'),
22
- '--font-size': window.CuraAPI.theme.fonts.getSize(),
23
- '--font-weight-bold': this.weights.bold,
24
- '--font-weight-black': this.weights.black
25
- };
26
- this.setHostProperty('--font-size', window.CuraAPI.theme.fonts.getSize());
27
- this.setHostProperty('--block-margin', '0.5em');
28
- }
29
- setColors() {
30
- const fontColor = this.inverted
31
- ? window.CuraAPI.theme.colors.getColor('neutral-white')
32
- : window.CuraAPI.theme.fonts.getColor();
33
- this.styles['--color-body'] = fontColor || window.CuraAPI.theme.colors.getColor('neutral-darker');
34
- this.styles['--color-link'] = this.inverted
35
- ? window.CuraAPI.theme.colors.getColor(`${this.spotColor}-lighter`)
36
- : window.CuraAPI.theme.colors.getColor(`${this.spotColor}-dark`);
37
- }
38
- setHostProperty(prop, value) {
39
- this.host.style.setProperty(prop, value);
40
- }
41
- getHeadingTag() {
42
- const tags = {
43
- '1': h("h1", { style: this.styles, class: this.getClasses() }, h("slot", null)),
44
- '2': h("h2", { style: this.styles, class: this.getClasses() }, h("slot", null)),
45
- '3': h("h3", { style: this.styles, class: this.getClasses() }, h("slot", null)),
46
- '4': h("h4", { style: this.styles, class: this.getClasses() }, h("slot", null)),
47
- '5': h("h5", { style: this.styles, class: this.getClasses() }, h("slot", null)),
48
- '6': h("h6", { style: this.styles, class: this.getClasses() }, h("slot", null)),
49
- 'default': h("h1", { style: this.styles, class: this.getClasses() }, h("slot", null))
50
- };
51
- return tags[`${this.level}`] || tags['default'];
52
- }
53
- render() {
54
- return (h(Host, null, this.getHeadingTag()));
55
- }
56
- static get is() { return "cura-display"; }
57
- static get encapsulation() { return "shadow"; }
58
- static get originalStyleUrls() {
59
- return {
60
- "$": ["cura-display.scss"]
61
- };
62
- }
63
- static get styleUrls() {
64
- return {
65
- "$": ["cura-display.css"]
66
- };
67
- }
68
- static get properties() {
69
- return {
70
- "level": {
71
- "type": "number",
72
- "mutable": false,
73
- "complexType": {
74
- "original": "number",
75
- "resolved": "number",
76
- "references": {}
77
- },
78
- "required": false,
79
- "optional": false,
80
- "docs": {
81
- "tags": [],
82
- "text": "Heading level for semantics.\nValues: 1(default)-6."
83
- },
84
- "attribute": "level",
85
- "reflect": true,
86
- "defaultValue": "1"
87
- },
88
- "size": {
89
- "type": "string",
90
- "mutable": false,
91
- "complexType": {
92
- "original": "string",
93
- "resolved": "string",
94
- "references": {}
95
- },
96
- "required": false,
97
- "optional": false,
98
- "docs": {
99
- "tags": [],
100
- "text": "Heading style size.\nValues: small | regular(default) | large."
101
- },
102
- "attribute": "size",
103
- "reflect": true,
104
- "defaultValue": "'regular'"
105
- },
106
- "inverted": {
107
- "type": "boolean",
108
- "mutable": false,
109
- "complexType": {
110
- "original": "boolean",
111
- "resolved": "boolean",
112
- "references": {}
113
- },
114
- "required": false,
115
- "optional": false,
116
- "docs": {
117
- "tags": [],
118
- "text": "Apply light color to text in dark background.\nValues: boolean."
119
- },
120
- "attribute": "inverted",
121
- "reflect": true,
122
- "defaultValue": "false"
123
- },
124
- "spotColor": {
125
- "type": "string",
126
- "mutable": false,
127
- "complexType": {
128
- "original": "string",
129
- "resolved": "string",
130
- "references": {}
131
- },
132
- "required": false,
133
- "optional": false,
134
- "docs": {
135
- "tags": [],
136
- "text": "Apply base system color to elements like <a> and <abbr>.\nValues: String primary(default) | secondary | accent | neutral | success | error | warning | info."
137
- },
138
- "attribute": "spot-color",
139
- "reflect": true,
140
- "defaultValue": "'primary'"
141
- }
142
- };
143
- }
144
- static get elementRef() { return "host"; }
145
- }
146
- //# sourceMappingURL=cura-display.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"cura-display.js","sourceRoot":"","sources":["../../../../src/components/text/cura-display/cura-display.tsx"],"names":[],"mappings":"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","sourcesContent":["import { Component, Host, h, Element, Prop } from '@stencil/core';\n\n@Component({\n tag: 'cura-display',\n styleUrl: 'cura-display.scss',\n shadow: true,\n})\nexport class CuraDisplay {\n\n /**\n * Heading level for semantics.\n * Values: 1(default)-6.\n */\n @Prop({reflect: true}) level = 1;\n /**\n * Heading style size.\n * Values: small | regular(default) | large.\n */\n @Prop({reflect: true}) size = 'regular';\n /**\n * Apply light color to text in dark background.\n * Values: boolean.\n */\n @Prop({reflect: true}) inverted = false;\n /**\n * Apply base system color to elements like <a> and <abbr>.\n * Values: String primary(default) | secondary | accent | neutral | success | error | warning | info.\n */\n @Prop({reflect: true}) spotColor = 'primary';\n \n /**\n * Host element <cura-heading>\n */\n @Element() host: HTMLElement;\n \n /**\n * Internal Props\n */\n weights: any;\n styles: any;\n\n connectedCallback() {\n this.weights = window.CuraAPI.theme.fonts.getWeights();\n this.setFontProperties();\n this.setColors();\n }\n\n getClasses() {\n const classes = {};\n classes[this.size.toLowerCase()] = true;\n return classes;\n }\n\n setFontProperties() {\n this.styles = {\n '--font-family': window.CuraAPI.theme.fonts.getFamily('display'),\n '--font-size': window.CuraAPI.theme.fonts.getSize(),\n '--font-weight-bold': this.weights.bold,\n '--font-weight-black': this.weights.black\n }\n this.setHostProperty('--font-size', window.CuraAPI.theme.fonts.getSize());\n this.setHostProperty('--block-margin', '0.5em');\n }\n\n setColors() {\n const fontColor = this.inverted \n ? window.CuraAPI.theme.colors.getColor('neutral-white') \n : window.CuraAPI.theme.fonts.getColor();\n this.styles['--color-body'] = fontColor || window.CuraAPI.theme.colors.getColor('neutral-darker');\n this.styles['--color-link'] = this.inverted \n ? window.CuraAPI.theme.colors.getColor(`${this.spotColor}-lighter`)\n : window.CuraAPI.theme.colors.getColor(`${this.spotColor}-dark`);\n }\n\n setHostProperty(prop: string, value: string) {\n this.host.style.setProperty(prop, value);\n }\n\n getHeadingTag() {\n const tags = {\n '1': <h1 style={this.styles} class={this.getClasses()}><slot></slot></h1>,\n '2': <h2 style={this.styles} class={this.getClasses()}><slot></slot></h2>,\n '3': <h3 style={this.styles} class={this.getClasses()}><slot></slot></h3>,\n '4': <h4 style={this.styles} class={this.getClasses()}><slot></slot></h4>,\n '5': <h5 style={this.styles} class={this.getClasses()}><slot></slot></h5>,\n '6': <h6 style={this.styles} class={this.getClasses()}><slot></slot></h6>,\n 'default': <h1 style={this.styles} class={this.getClasses()}><slot></slot></h1>\n };\n return tags[`${this.level}`] || tags['default'];\n }\n\n render() {\n return (\n <Host>\n { this.getHeadingTag() }\n </Host>\n );\n }\n\n}\n"]}
@@ -1,92 +0,0 @@
1
- /* Breakpoints variables */
2
- /**
3
- * Responsive media for mobile (small) only.
4
- * Use: @include mobile-only() { ... }
5
- */
6
- /**
7
- * Responsive media for medium only.
8
- * Use: @include medium-only() { ... }
9
- */
10
- /**
11
- * Responsive media for large only.
12
- * Use: @include large-only() { ... }
13
- */
14
- /**
15
- * Responsive media for large and up.
16
- * Use: @include large-up() { ... }
17
- */
18
- /**
19
- * Responsive media for xlarge only.
20
- * Use: @include xlarge-only() { ... }
21
- */
22
- :host {
23
- display: block;
24
- font-size: var(--font-size);
25
- }
26
- :host h1, :host h2, :host h3, :host h4, :host h5, :host h6 {
27
- font-family: var(--font-family);
28
- font-size: 1.71em;
29
- font-weight: var(--font-weight-regular);
30
- color: var(--color-body);
31
- line-height: 130%;
32
- letter-spacing: 0%;
33
- margin-block-start: var(--block-margin);
34
- margin-block-end: var(--block-margin);
35
- }
36
- :host h1.bold-weight, :host h2.bold-weight, :host h3.bold-weight, :host h4.bold-weight, :host h5.bold-weight, :host h6.bold-weight {
37
- font-weight: var(--font-weight-medium);
38
- }
39
- :host h1.large, :host h2.large, :host h3.large, :host h4.large, :host h5.large, :host h6.large {
40
- font-size: 2.07em;
41
- letter-spacing: -2%;
42
- }
43
- :host h1.small, :host h2.small, :host h3.small, :host h4.small, :host h5.small, :host h6.small {
44
- font-size: 1.214em;
45
- line-height: 150%;
46
- letter-spacing: 0%;
47
- }
48
- :host h1.small.bold-weight, :host h2.small.bold-weight, :host h3.small.bold-weight, :host h4.small.bold-weight, :host h5.small.bold-weight, :host h6.small.bold-weight {
49
- font-weight: var(--font-weight-bold);
50
- }
51
- @media (min-width: 768px) and (max-width: 1365px) {
52
- :host h1, :host h2, :host h3, :host h4, :host h5, :host h6 {
53
- font-size: 2em;
54
- }
55
- :host h1.large, :host h2.large, :host h3.large, :host h4.large, :host h5.large, :host h6.large {
56
- font-size: 2.357em;
57
- }
58
- :host h1.small, :host h2.small, :host h3.small, :host h4.small, :host h5.small, :host h6.small {
59
- font-size: 1.357em;
60
- }
61
- }
62
- @media (min-width: 1366px) {
63
- :host h1, :host h2, :host h3, :host h4, :host h5, :host h6 {
64
- font-size: 2.5em;
65
- line-height: 135%;
66
- letter-spacing: -2%;
67
- }
68
- :host h1.large, :host h2.large, :host h3.large, :host h4.large, :host h5.large, :host h6.large {
69
- font-size: 2.92em;
70
- }
71
- :host h1.small, :host h2.small, :host h3.small, :host h4.small, :host h5.small, :host h6.small {
72
- font-size: 1.71em;
73
- line-height: 160%;
74
- letter-spacing: 0%;
75
- }
76
- }
77
- :host ::slotted(b), :host ::slotted(strong) {
78
- font-weight: var(--font-weight-bold);
79
- }
80
- :host ::slotted(a) {
81
- font-weight: var(--font-weight-bold);
82
- color: var(--color-link);
83
- text-decoration: none;
84
- text-underline-offset: 10%;
85
- cursor: pointer;
86
- }
87
- :host ::slotted(abbr) {
88
- color: var(--color-link);
89
- text-decoration: underline dashed 1px var(--color-link);
90
- text-underline-offset: 10%;
91
- cursor: default;
92
- }