@rededor/cura 0.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (218) hide show
  1. package/LICENSE +21 -0
  2. package/dist/assets/icons/iconset-default-list.ts +1 -0
  3. package/dist/assets/icons/iconset-default.svg +1 -0
  4. package/dist/cjs/app-globals-e5cfde65.js +182 -0
  5. package/dist/cjs/cura-icon_2.cjs.entry.js +52 -0
  6. package/dist/cjs/cura.cjs.js +21 -0
  7. package/dist/cjs/dummy-component.cjs.entry.js +19 -0
  8. package/dist/cjs/index-2f9830d5.js +1362 -0
  9. package/dist/cjs/index.cjs.js +2 -0
  10. package/dist/cjs/loader.cjs.js +23 -0
  11. package/dist/collection/api/cura-api.js +17 -0
  12. package/dist/collection/api/cura-api.type.js +6 -0
  13. package/dist/collection/api/modules/cura-theme-module.js +74 -0
  14. package/dist/collection/api/theme-presets/theme-default.js +43 -0
  15. package/dist/collection/api/theme-presets/theme-maternity.js +26 -0
  16. package/dist/collection/api/theme-presets/theme-presets.js +6 -0
  17. package/dist/collection/assets/icons/iconset-default-list.js +1 -0
  18. package/dist/collection/assets/icons/iconset-default.svg +1 -0
  19. package/dist/collection/assets-raw/icons/default/360.svg +8 -0
  20. package/dist/collection/assets-raw/icons/default/accessibility.svg +5 -0
  21. package/dist/collection/assets-raw/icons/default/alertCircle.svg +5 -0
  22. package/dist/collection/assets-raw/icons/default/alertTriangle.svg +5 -0
  23. package/dist/collection/assets-raw/icons/default/arrowDown.svg +3 -0
  24. package/dist/collection/assets-raw/icons/default/arrowDownCircle.svg +4 -0
  25. package/dist/collection/assets-raw/icons/default/arrowLeft.svg +3 -0
  26. package/dist/collection/assets-raw/icons/default/arrowLeftCircle.svg +4 -0
  27. package/dist/collection/assets-raw/icons/default/arrowRight.svg +3 -0
  28. package/dist/collection/assets-raw/icons/default/arrowRightCircle.svg +4 -0
  29. package/dist/collection/assets-raw/icons/default/arrowUp.svg +3 -0
  30. package/dist/collection/assets-raw/icons/default/arrowUpCircle.svg +4 -0
  31. package/dist/collection/assets-raw/icons/default/attach.svg +3 -0
  32. package/dist/collection/assets-raw/icons/default/avatarF.svg +6 -0
  33. package/dist/collection/assets-raw/icons/default/avatarM.svg +5 -0
  34. package/dist/collection/assets-raw/icons/default/biometry.svg +3 -0
  35. package/dist/collection/assets-raw/icons/default/bloodGroup.svg +3 -0
  36. package/dist/collection/assets-raw/icons/default/calendar.svg +8 -0
  37. package/dist/collection/assets-raw/icons/default/cam.svg +4 -0
  38. package/dist/collection/assets-raw/icons/default/camOff.svg +5 -0
  39. package/dist/collection/assets-raw/icons/default/central.svg +7 -0
  40. package/dist/collection/assets-raw/icons/default/chatCircle.svg +6 -0
  41. package/dist/collection/assets-raw/icons/default/check.svg +3 -0
  42. package/dist/collection/assets-raw/icons/default/checkBadge.svg +4 -0
  43. package/dist/collection/assets-raw/icons/default/checkCircle.svg +4 -0
  44. package/dist/collection/assets-raw/icons/default/checkDouble.svg +4 -0
  45. package/dist/collection/assets-raw/icons/default/clock.svg +5 -0
  46. package/dist/collection/assets-raw/icons/default/close.svg +3 -0
  47. package/dist/collection/assets-raw/icons/default/closeCircle.svg +5 -0
  48. package/dist/collection/assets-raw/icons/default/collapse.svg +4 -0
  49. package/dist/collection/assets-raw/icons/default/config.svg +4 -0
  50. package/dist/collection/assets-raw/icons/default/delete.svg +7 -0
  51. package/dist/collection/assets-raw/icons/default/desktop.svg +6 -0
  52. package/dist/collection/assets-raw/icons/default/deslike.svg +6 -0
  53. package/dist/collection/assets-raw/icons/default/download.svg +3 -0
  54. package/dist/collection/assets-raw/icons/default/duplicate.svg +4 -0
  55. package/dist/collection/assets-raw/icons/default/edit.svg +5 -0
  56. package/dist/collection/assets-raw/icons/default/exam.svg +6 -0
  57. package/dist/collection/assets-raw/icons/default/expand.svg +4 -0
  58. package/dist/collection/assets-raw/icons/default/fileBmp.svg +17 -0
  59. package/dist/collection/assets-raw/icons/default/fileJpg.svg +8 -0
  60. package/dist/collection/assets-raw/icons/default/filePdf.svg +10 -0
  61. package/dist/collection/assets-raw/icons/default/filePng.svg +10 -0
  62. package/dist/collection/assets-raw/icons/default/fileUpload.svg +5 -0
  63. package/dist/collection/assets-raw/icons/default/fileXls.svg +8 -0
  64. package/dist/collection/assets-raw/icons/default/filter.svg +11 -0
  65. package/dist/collection/assets-raw/icons/default/fullscreen.svg +6 -0
  66. package/dist/collection/assets-raw/icons/default/gallery.svg +6 -0
  67. package/dist/collection/assets-raw/icons/default/geotag.svg +4 -0
  68. package/dist/collection/assets-raw/icons/default/hate.svg +6 -0
  69. package/dist/collection/assets-raw/icons/default/healthPlan.svg +6 -0
  70. package/dist/collection/assets-raw/icons/default/height.svg +10 -0
  71. package/dist/collection/assets-raw/icons/default/height2.svg +8 -0
  72. package/dist/collection/assets-raw/icons/default/home.svg +6 -0
  73. package/dist/collection/assets-raw/icons/default/horizontalList.svg +4 -0
  74. package/dist/collection/assets-raw/icons/default/imageUp.svg +5 -0
  75. package/dist/collection/assets-raw/icons/default/info2.svg +12 -0
  76. package/dist/collection/assets-raw/icons/default/infoCircle.svg +5 -0
  77. package/dist/collection/assets-raw/icons/default/key.svg +4 -0
  78. package/dist/collection/assets-raw/icons/default/language.svg +9 -0
  79. package/dist/collection/assets-raw/icons/default/language2.svg +4 -0
  80. package/dist/collection/assets-raw/icons/default/languageEN.svg +5 -0
  81. package/dist/collection/assets-raw/icons/default/languagePT.svg +5 -0
  82. package/dist/collection/assets-raw/icons/default/like.svg +6 -0
  83. package/dist/collection/assets-raw/icons/default/link.svg +4 -0
  84. package/dist/collection/assets-raw/icons/default/linkExternal.svg +4 -0
  85. package/dist/collection/assets-raw/icons/default/list.svg +8 -0
  86. package/dist/collection/assets-raw/icons/default/login.svg +4 -0
  87. package/dist/collection/assets-raw/icons/default/logout.svg +3 -0
  88. package/dist/collection/assets-raw/icons/default/love.svg +6 -0
  89. package/dist/collection/assets-raw/icons/default/mail.svg +6 -0
  90. package/dist/collection/assets-raw/icons/default/mail2.svg +6 -0
  91. package/dist/collection/assets-raw/icons/default/medical.svg +9 -0
  92. package/dist/collection/assets-raw/icons/default/menuHamburguer.svg +5 -0
  93. package/dist/collection/assets-raw/icons/default/menuKebab.svg +5 -0
  94. package/dist/collection/assets-raw/icons/default/menuMeatballs.svg +5 -0
  95. package/dist/collection/assets-raw/icons/default/mic.svg +5 -0
  96. package/dist/collection/assets-raw/icons/default/micOff.svg +6 -0
  97. package/dist/collection/assets-raw/icons/default/minus.svg +3 -0
  98. package/dist/collection/assets-raw/icons/default/minusCircle.svg +4 -0
  99. package/dist/collection/assets-raw/icons/default/minusSquare.svg +4 -0
  100. package/dist/collection/assets-raw/icons/default/mobile.svg +4 -0
  101. package/dist/collection/assets-raw/icons/default/neutral.svg +6 -0
  102. package/dist/collection/assets-raw/icons/default/news.svg +8 -0
  103. package/dist/collection/assets-raw/icons/default/notification.svg +6 -0
  104. package/dist/collection/assets-raw/icons/default/order.svg +6 -0
  105. package/dist/collection/assets-raw/icons/default/partner.svg +5 -0
  106. package/dist/collection/assets-raw/icons/default/phone.svg +5 -0
  107. package/dist/collection/assets-raw/icons/default/play.svg +4 -0
  108. package/dist/collection/assets-raw/icons/default/plus.svg +4 -0
  109. package/dist/collection/assets-raw/icons/default/plusCircle.svg +5 -0
  110. package/dist/collection/assets-raw/icons/default/plusSquare.svg +5 -0
  111. package/dist/collection/assets-raw/icons/default/print.svg +7 -0
  112. package/dist/collection/assets-raw/icons/default/profile.svg +4 -0
  113. package/dist/collection/assets-raw/icons/default/profile2.svg +4 -0
  114. package/dist/collection/assets-raw/icons/default/pulldownG.svg +3 -0
  115. package/dist/collection/assets-raw/icons/default/pulldownP.svg +3 -0
  116. package/dist/collection/assets-raw/icons/default/pullupG.svg +3 -0
  117. package/dist/collection/assets-raw/icons/default/pullupP.svg +3 -0
  118. package/dist/collection/assets-raw/icons/default/questionCircle.svg +4 -0
  119. package/dist/collection/assets-raw/icons/default/questionSquare.svg +4 -0
  120. package/dist/collection/assets-raw/icons/default/range.svg +5 -0
  121. package/dist/collection/assets-raw/icons/default/reload.svg +4 -0
  122. package/dist/collection/assets-raw/icons/default/schedule.svg +9 -0
  123. package/dist/collection/assets-raw/icons/default/search.svg +4 -0
  124. package/dist/collection/assets-raw/icons/default/secure.svg +6 -0
  125. package/dist/collection/assets-raw/icons/default/share.svg +7 -0
  126. package/dist/collection/assets-raw/icons/default/share2.svg +5 -0
  127. package/dist/collection/assets-raw/icons/default/sound.svg +5 -0
  128. package/dist/collection/assets-raw/icons/default/soundOff.svg +4 -0
  129. package/dist/collection/assets-raw/icons/default/subItem.svg +4 -0
  130. package/dist/collection/assets-raw/icons/default/target.svg +8 -0
  131. package/dist/collection/assets-raw/icons/default/team.svg +6 -0
  132. package/dist/collection/assets-raw/icons/default/unLink.svg +10 -0
  133. package/dist/collection/assets-raw/icons/default/unSecure.svg +6 -0
  134. package/dist/collection/assets-raw/icons/default/upload.svg +3 -0
  135. package/dist/collection/assets-raw/icons/default/verticalList.svg +4 -0
  136. package/dist/collection/assets-raw/icons/default/viewFalse.svg +5 -0
  137. package/dist/collection/assets-raw/icons/default/viewTrue.svg +4 -0
  138. package/dist/collection/assets-raw/icons/default/weight.svg +5 -0
  139. package/dist/collection/assets-raw/icons/default/wifi.svg +6 -0
  140. package/dist/collection/assets-raw/icons/default/zoomIn.svg +6 -0
  141. package/dist/collection/assets-raw/icons/default/zoomOut.svg +5 -0
  142. package/dist/collection/collection-manifest.json +15 -0
  143. package/dist/collection/components/cura-icon/cura-icon.css +99 -0
  144. package/dist/collection/components/cura-icon/cura-icon.js +126 -0
  145. package/dist/collection/components/dscore-icons-view/dscore-icons-view.css +82 -0
  146. package/dist/collection/components/dscore-icons-view/dscore-icons-view.js +31 -0
  147. package/dist/collection/components/dummy-component/dummy-component.css +3 -0
  148. package/dist/collection/components/dummy-component/dummy-component.js +18 -0
  149. package/dist/collection/index.js +1 -0
  150. package/dist/collection/rededor-cura-start.js +11 -0
  151. package/dist/collection/utils/utils.js +3 -0
  152. package/dist/components/cura-icon.d.ts +11 -0
  153. package/dist/components/cura-icon.js +6 -0
  154. package/dist/components/cura-icon2.js +50 -0
  155. package/dist/components/dscore-icons-view.d.ts +11 -0
  156. package/dist/components/dscore-icons-view.js +49 -0
  157. package/dist/components/dummy-component.d.ts +11 -0
  158. package/dist/components/dummy-component.js +34 -0
  159. package/dist/components/index.d.ts +24 -0
  160. package/dist/components/index.js +184 -0
  161. package/dist/cura/cura.esm.js +1 -0
  162. package/dist/cura/cura.js +131 -0
  163. package/dist/cura/index.esm.js +0 -0
  164. package/dist/cura/p-2525165f.system.entry.js +1 -0
  165. package/dist/cura/p-363e0aa1.system.js +1 -0
  166. package/dist/cura/p-50ea2036.system.js +1 -0
  167. package/dist/cura/p-55523400.js +2 -0
  168. package/dist/cura/p-5d11ae38.system.js +2 -0
  169. package/dist/cura/p-62567192.system.entry.js +1 -0
  170. package/dist/cura/p-632702eb.entry.js +1 -0
  171. package/dist/cura/p-dd552650.system.js +1 -0
  172. package/dist/cura/p-e66c2bf6.entry.js +1 -0
  173. package/dist/cura/p-fb6827d8.js +1 -0
  174. package/dist/esm/app-globals-d6124a10.js +180 -0
  175. package/dist/esm/cura-icon_2.entry.js +47 -0
  176. package/dist/esm/cura.js +19 -0
  177. package/dist/esm/dummy-component.entry.js +15 -0
  178. package/dist/esm/index-9d6a33bc.js +1334 -0
  179. package/dist/esm/index.js +1 -0
  180. package/dist/esm/loader.js +19 -0
  181. package/dist/esm/polyfills/core-js.js +11 -0
  182. package/dist/esm/polyfills/css-shim.js +1 -0
  183. package/dist/esm/polyfills/dom.js +79 -0
  184. package/dist/esm/polyfills/es5-html-element.js +1 -0
  185. package/dist/esm/polyfills/index.js +34 -0
  186. package/dist/esm/polyfills/system.js +6 -0
  187. package/dist/esm-es5/app-globals-d6124a10.js +1 -0
  188. package/dist/esm-es5/cura-icon_2.entry.js +1 -0
  189. package/dist/esm-es5/cura.js +1 -0
  190. package/dist/esm-es5/dummy-component.entry.js +1 -0
  191. package/dist/esm-es5/index-9d6a33bc.js +2 -0
  192. package/dist/esm-es5/index.js +0 -0
  193. package/dist/esm-es5/loader.js +1 -0
  194. package/dist/index.cjs.js +1 -0
  195. package/dist/index.js +1 -0
  196. package/dist/loader/cdn.js +3 -0
  197. package/dist/loader/index.cjs.js +3 -0
  198. package/dist/loader/index.d.ts +12 -0
  199. package/dist/loader/index.es2017.js +3 -0
  200. package/dist/loader/index.js +4 -0
  201. package/dist/loader/package.json +11 -0
  202. package/dist/types/api/cura-api.d.ts +5 -0
  203. package/dist/types/api/cura-api.type.d.ts +50 -0
  204. package/dist/types/api/modules/cura-theme-module.d.ts +24 -0
  205. package/dist/types/api/theme-presets/theme-default.d.ts +40 -0
  206. package/dist/types/api/theme-presets/theme-maternity.d.ts +32 -0
  207. package/dist/types/api/theme-presets/theme-presets.d.ts +71 -0
  208. package/dist/types/assets/icons/iconset-default-list.d.ts +2 -0
  209. package/dist/types/components/cura-icon/cura-icon.d.ts +9 -0
  210. package/dist/types/components/dscore-icons-view/dscore-icons-view.d.ts +6 -0
  211. package/dist/types/components/dummy-component/dummy-component.d.ts +3 -0
  212. package/dist/types/components.d.ts +73 -0
  213. package/dist/types/index.d.ts +1 -0
  214. package/dist/types/rededor-cura-start.d.ts +9 -0
  215. package/dist/types/stencil-public-runtime.d.ts +1576 -0
  216. package/dist/types/utils/utils.d.ts +1 -0
  217. package/package.json +41 -0
  218. package/readme.md +75 -0
@@ -0,0 +1,3 @@
1
+ <svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <path d="M16 10L12 14L8 10" stroke="#2F80ED" stroke-width="2" stroke-miterlimit="10" stroke-linecap="round" stroke-linejoin="round"/>
3
+ </svg>
@@ -0,0 +1,3 @@
1
+ <svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <path d="M4 15L12 7L20 15" stroke="#2F80ED" stroke-width="2" stroke-miterlimit="10" stroke-linecap="round" stroke-linejoin="round"/>
3
+ </svg>
@@ -0,0 +1,3 @@
1
+ <svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <path d="M8 13L12 9L16 13" stroke="#2F80ED" stroke-width="2" stroke-miterlimit="10" stroke-linecap="round" stroke-linejoin="round"/>
3
+ </svg>
@@ -0,0 +1,4 @@
1
+ <svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <path d="M2 12C2 6.47715 6.47715 2 12 2C17.5228 2 22 6.47715 22 12C22 17.5228 17.5228 22 12 22C6.47715 22 2 17.5228 2 12Z" stroke="#2F80ED" stroke-width="2" stroke-miterlimit="10" stroke-linecap="round" stroke-linejoin="round"/>
3
+ <path d="M9 8.94314C9 7.31769 10.3431 6 12 6C13.6569 6 15 7.31769 15 8.94314C15 10.5686 13.6569 12 12 12V14M12 18V17" stroke="#2F80ED" stroke-width="2" stroke-miterlimit="10" stroke-linecap="round" stroke-linejoin="round"/>
4
+ </svg>
@@ -0,0 +1,4 @@
1
+ <svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <rect x="2" y="2" width="20" height="20" stroke="#2F80ED" stroke-width="2" stroke-miterlimit="10" stroke-linecap="round" stroke-linejoin="round"/>
3
+ <path d="M9 8.94314C9 7.31769 10.3431 6 12 6C13.6569 6 15 7.31769 15 8.94314C15 10.5686 13.6569 12 12 12V14M12 18V17" stroke="#2F80ED" stroke-width="2" stroke-miterlimit="10" stroke-linecap="round" stroke-linejoin="round"/>
4
+ </svg>
@@ -0,0 +1,5 @@
1
+ <svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <path d="M2.01855 11.9946H22.0001" stroke="#2F80ED" stroke-width="2" stroke-miterlimit="10" stroke-linecap="round" stroke-linejoin="round"/>
3
+ <path d="M7 6H22M2 6H3" stroke="#2F80ED" stroke-width="2" stroke-miterlimit="10" stroke-linecap="round" stroke-linejoin="round"/>
4
+ <path d="M17 17.9888H2M22 17.9888H20.9825" stroke="#2F80ED" stroke-width="2" stroke-miterlimit="10" stroke-linecap="round" stroke-linejoin="round"/>
5
+ </svg>
@@ -0,0 +1,4 @@
1
+ <svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <path d="M22 12C22 17.5228 17.5228 22 12 22C6.47715 22 2 17.5228 2 12C2 6.47715 6.47715 2 12 2C15.3911 2 18.388 3.68797 20.1963 6.26954" stroke="#2F80ED" stroke-width="2" stroke-miterlimit="10" stroke-linecap="round" stroke-linejoin="round"/>
3
+ <path d="M20.3334 2V6.44444H15.8889" stroke="#2F80ED" stroke-width="2" stroke-miterlimit="10" stroke-linecap="round" stroke-linejoin="round"/>
4
+ </svg>
@@ -0,0 +1,9 @@
1
+ <svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <path d="M2 7.99365H22" stroke="#2F80ED" stroke-width="2" stroke-miterlimit="10" stroke-linecap="round" stroke-linejoin="round"/>
3
+ <path d="M8 2V3.99781" stroke="#2F80ED" stroke-width="2" stroke-miterlimit="10" stroke-linecap="round" stroke-linejoin="round"/>
4
+ <path d="M16 2V3.99781" stroke="#2F80ED" stroke-width="2" stroke-miterlimit="10" stroke-linecap="round" stroke-linejoin="round"/>
5
+ <path d="M5 3.01166H2L2.00005 21.9789H22V2.99951H19" stroke="#2F80ED" stroke-width="2" stroke-miterlimit="10" stroke-linecap="round" stroke-linejoin="round"/>
6
+ <path d="M11 2.99902H13" stroke="#2F80ED" stroke-width="2" stroke-miterlimit="10" stroke-linecap="round" stroke-linejoin="round"/>
7
+ <path d="M12 11.9888L12 17.9822" stroke="#2F80ED" stroke-width="2" stroke-miterlimit="10" stroke-linecap="round" stroke-linejoin="round"/>
8
+ <path d="M15 14.9858L9.00001 14.9858" stroke="#2F80ED" stroke-width="2" stroke-miterlimit="10" stroke-linecap="round" stroke-linejoin="round"/>
9
+ </svg>
@@ -0,0 +1,4 @@
1
+ <svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <path d="M17 15L22 20L20 22L15 17" stroke="#2F80ED" stroke-width="2" stroke-miterlimit="10" stroke-linecap="round" stroke-linejoin="round"/>
3
+ <path d="M10 18C14.4183 18 18 14.4183 18 10C18 5.58172 14.4183 2 10 2C5.58172 2 2 5.58172 2 10C2 14.4183 5.58172 18 10 18Z" stroke="#2F80ED" stroke-width="2" stroke-miterlimit="10" stroke-linecap="round" stroke-linejoin="round"/>
4
+ </svg>
@@ -0,0 +1,6 @@
1
+ <svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <path d="M12 22C15.3137 22 18 19.3137 18 16C18 12.6863 15.3137 10 12 10C8.68629 10 6 12.6863 6 16C6 19.3137 8.68629 22 12 22Z" stroke="#2F80ED" stroke-width="2" stroke-miterlimit="10" stroke-linecap="round" stroke-linejoin="round"/>
3
+ <path d="M8 11V6.05041C8 3.81458 9.792 2 12 2C13.104 2 14.104 2.45365 14.832 3.18272C15.552 3.91989 16 4.93249 16 6.05041V11" stroke="#2F80ED" stroke-width="2" stroke-miterlimit="10" stroke-linecap="round" stroke-linejoin="round"/>
4
+ <path d="M12 17V19" stroke="#2F80ED" stroke-width="2" stroke-miterlimit="10" stroke-linecap="round" stroke-linejoin="round"/>
5
+ <path d="M12 17C13.1046 17 14 16.1046 14 15C14 13.8954 13.1046 13 12 13C10.8954 13 10 13.8954 10 15C10 16.1046 10.8954 17 12 17Z" stroke="#2F80ED" stroke-width="2" stroke-miterlimit="10" stroke-linecap="round" stroke-linejoin="round"/>
6
+ </svg>
@@ -0,0 +1,7 @@
1
+ <svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <path d="M19 22C20.6569 22 22 20.6569 22 19C22 17.3431 20.6569 16 19 16C17.3431 16 16 17.3431 16 19C16 20.6569 17.3431 22 19 22Z" stroke="#4F4F4F" stroke-width="2" stroke-miterlimit="10" stroke-linecap="round" stroke-linejoin="round"/>
3
+ <path d="M19 8C20.6569 8 22 6.65685 22 5C22 3.34315 20.6569 2 19 2C17.3431 2 16 3.34315 16 5C16 6.65685 17.3431 8 19 8Z" stroke="#4F4F4F" stroke-width="2" stroke-miterlimit="10" stroke-linecap="round" stroke-linejoin="round"/>
4
+ <path d="M5 15C6.65685 15 8 13.6569 8 12C8 10.3431 6.65685 9 5 9C3.34315 9 2 10.3431 2 12C2 13.6569 3.34315 15 5 15Z" stroke="#4F4F4F" stroke-width="2" stroke-miterlimit="10" stroke-linecap="round" stroke-linejoin="round"/>
5
+ <path d="M8 11L16 6.5" stroke="#4F4F4F" stroke-width="2" stroke-miterlimit="10" stroke-linecap="round" stroke-linejoin="round"/>
6
+ <path d="M8 13L16 17.5" stroke="#4F4F4F" stroke-width="2" stroke-miterlimit="10" stroke-linecap="round" stroke-linejoin="round"/>
7
+ </svg>
@@ -0,0 +1,5 @@
1
+ <svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <path d="M8 2.00049H2V22.0005H22V16" stroke="#2F80ED" stroke-width="2" stroke-miterlimit="10" stroke-linecap="round" stroke-linejoin="round"/>
3
+ <path d="M20.5 5.99951H11.5C8.46243 5.99951 6 8.46195 6 11.4995C6 14.5371 8.46243 16.9995 11.5 16.9995H14" stroke="#2F80ED" stroke-width="2" stroke-miterlimit="10" stroke-linecap="round" stroke-linejoin="round"/>
4
+ <path d="M18 2L22 6L18 10" stroke="#2F80ED" stroke-width="2" stroke-miterlimit="10" stroke-linecap="round" stroke-linejoin="round"/>
5
+ </svg>
@@ -0,0 +1,5 @@
1
+ <svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <path d="M2 9V15H5.98269L11 21V3L5.98269 9H2Z" stroke="#2F80ED" stroke-width="2" stroke-miterlimit="10" stroke-linecap="round" stroke-linejoin="round"/>
3
+ <path d="M15 9C16.5 9.5 17 11 17 12C17 13 16.5 14.5 15 15" stroke="#2F80ED" stroke-width="2" stroke-miterlimit="10" stroke-linecap="round" stroke-linejoin="round"/>
4
+ <path d="M15 4C19 4.5 22 8 22 12C22 16 19 19.5 15 20" stroke="#2F80ED" stroke-width="2" stroke-miterlimit="10" stroke-linecap="round" stroke-linejoin="round"/>
5
+ </svg>
@@ -0,0 +1,4 @@
1
+ <svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <path d="M8.98269 15H5V9H8.98269L14 3V8.5M14 14V21L11 17" stroke="#2F80ED" stroke-width="2" stroke-miterlimit="10" stroke-linecap="round" stroke-linejoin="round"/>
3
+ <path d="M19 3L4 21" stroke="#2F80ED" stroke-width="2" stroke-miterlimit="10" stroke-linecap="round" stroke-linejoin="round"/>
4
+ </svg>
@@ -0,0 +1,4 @@
1
+ <svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <path d="M15 19L20 14L15 9" stroke="#2F80ED" stroke-width="2" stroke-miterlimit="10" stroke-linecap="round" stroke-linejoin="round"/>
3
+ <path d="M19.5294 14H5.6C4.8 14 4 13.2 4 12.4L4.00003 5" stroke="#2F80ED" stroke-width="2" stroke-miterlimit="10" stroke-linecap="round" stroke-linejoin="round"/>
4
+ </svg>
@@ -0,0 +1,8 @@
1
+ <svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <path d="M12 19C15.866 19 19 15.866 19 12C19 8.13401 15.866 5 12 5C8.13401 5 5 8.13401 5 12C5 15.866 8.13401 19 12 19Z" stroke="#2F80ED" stroke-width="2" stroke-miterlimit="10" stroke-linecap="round" stroke-linejoin="round"/>
3
+ <path d="M12 15C13.6569 15 15 13.6569 15 12C15 10.3431 13.6569 9 12 9C10.3431 9 9 10.3431 9 12C9 13.6569 10.3431 15 12 15Z" stroke="#2F80ED" stroke-width="2" stroke-miterlimit="10" stroke-linecap="round" stroke-linejoin="round"/>
4
+ <path d="M20 12L22 12" stroke="#2F80ED" stroke-width="2" stroke-miterlimit="10" stroke-linecap="round" stroke-linejoin="round"/>
5
+ <path d="M2 12L4 12" stroke="#2F80ED" stroke-width="2" stroke-miterlimit="10" stroke-linecap="round" stroke-linejoin="round"/>
6
+ <path d="M12 4L12 2" stroke="#2F80ED" stroke-width="2" stroke-miterlimit="10" stroke-linecap="round" stroke-linejoin="round"/>
7
+ <path d="M12 22L12 20" stroke="#2F80ED" stroke-width="2" stroke-miterlimit="10" stroke-linecap="round" stroke-linejoin="round"/>
8
+ </svg>
@@ -0,0 +1,6 @@
1
+ <svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <path d="M16.5454 20V18.6364C16.5454 17.6719 16.1623 16.747 15.4804 16.0651C14.7984 15.3831 13.8735 15 12.9091 15H5.63636C4.67194 15 3.74702 15.3831 3.06507 16.0651C2.38312 16.747 2 17.6719 2 18.6364V20" stroke="#2F80ED" stroke-width="2" stroke-miterlimit="10" stroke-linecap="round" stroke-linejoin="round"/>
3
+ <path d="M9.5 11C11.433 11 13 9.433 13 7.5C13 5.567 11.433 4 9.5 4C7.567 4 6 5.567 6 7.5C6 9.433 7.567 11 9.5 11Z" stroke="#2F80ED" stroke-width="2" stroke-miterlimit="10" stroke-linecap="round" stroke-linejoin="round"/>
4
+ <path d="M22 20V18.545C21.9994 17.7393 21.7312 16.9566 21.2376 16.3199C20.744 15.6831 20.0528 15.2283 19.2727 15.0269" stroke="#2F80ED" stroke-width="2" stroke-miterlimit="10" stroke-linecap="round" stroke-linejoin="round"/>
5
+ <path d="M15.6362 4C16.4184 4.20027 17.1117 4.65518 17.6068 5.29301C18.1019 5.93084 18.3706 6.7153 18.3706 7.52273C18.3706 8.33015 18.1019 9.11462 17.6068 9.75244C17.1117 10.3903 16.4184 10.8452 15.6362 11.0455" stroke="#2F80ED" stroke-width="2" stroke-miterlimit="10" stroke-linecap="round" stroke-linejoin="round"/>
6
+ </svg>
@@ -0,0 +1,10 @@
1
+ <svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <path d="M11.5183 6.74707L15.2654 2.99497C16.5902 1.66834 18.7448 1.66834 20.0697 2.99497L21.0064 3.933C22.3313 5.25963 22.3313 7.41709 21.0064 8.74372L17.2192 12.536" stroke="#2F80ED" stroke-width="2" stroke-miterlimit="10" stroke-linecap="round" stroke-linejoin="round"/>
3
+ <path d="M12.4282 17.3329L8.7347 21.0046C7.40984 22.3313 5.25527 22.3313 3.93041 21.0046L2.99364 20.0666C1.66879 18.74 1.66879 16.5825 2.99364 15.2559L6.70057 11.5708" stroke="#2F80ED" stroke-width="2" stroke-miterlimit="10" stroke-linecap="round" stroke-linejoin="round"/>
4
+ <path d="M3.5 8L5.5 8" stroke="#2F80ED" stroke-width="2" stroke-miterlimit="10" stroke-linecap="round" stroke-linejoin="round"/>
5
+ <path d="M8 3.5V5.5" stroke="#2F80ED" stroke-width="2" stroke-miterlimit="10" stroke-linecap="round" stroke-linejoin="round"/>
6
+ <path d="M3.5 3.5L5 5" stroke="#2F80ED" stroke-width="2" stroke-miterlimit="10" stroke-linecap="round" stroke-linejoin="round"/>
7
+ <path d="M20.5 16L18.5 16" stroke="#2F80ED" stroke-width="2" stroke-miterlimit="10" stroke-linecap="round" stroke-linejoin="round"/>
8
+ <path d="M16 20.5V18.5" stroke="#2F80ED" stroke-width="2" stroke-miterlimit="10" stroke-linecap="round" stroke-linejoin="round"/>
9
+ <path d="M20.5 20.5L19 19" stroke="#2F80ED" stroke-width="2" stroke-miterlimit="10" stroke-linecap="round" stroke-linejoin="round"/>
10
+ </svg>
@@ -0,0 +1,6 @@
1
+ <svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <path d="M12 22C15.3137 22 18 19.3137 18 16C18 12.6863 15.3137 10 12 10C8.68629 10 6 12.6863 6 16C6 19.3137 8.68629 22 12 22Z" stroke="#2F80ED" stroke-width="2" stroke-miterlimit="10" stroke-linecap="round" stroke-linejoin="round"/>
3
+ <path d="M8 11V6.05041C8 3.81458 9.792 2 12 2C13.104 2 14.104 2.45365 14.832 3.18272C15.552 3.91989 16 4.93249 16 6.05041" stroke="#2F80ED" stroke-width="2" stroke-miterlimit="10" stroke-linecap="round" stroke-linejoin="round"/>
4
+ <path d="M12 17V19" stroke="#2F80ED" stroke-width="2" stroke-miterlimit="10" stroke-linecap="round" stroke-linejoin="round"/>
5
+ <path d="M12 17C13.1046 17 14 16.1046 14 15C14 13.8954 13.1046 13 12 13C10.8954 13 10 13.8954 10 15C10 16.1046 10.8954 17 12 17Z" stroke="#2F80ED" stroke-width="2" stroke-miterlimit="10" stroke-linecap="round" stroke-linejoin="round"/>
6
+ </svg>
@@ -0,0 +1,3 @@
1
+ <svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <path d="M12 7V20M12 7L19 13.456M12 7L5 13.456M5 4H19" stroke="#2F80ED" stroke-width="2" stroke-miterlimit="10" stroke-linecap="round" stroke-linejoin="round"/>
3
+ </svg>
@@ -0,0 +1,4 @@
1
+ <svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <rect x="2" y="2" width="20" height="8" stroke="#2F80ED" stroke-width="2" stroke-miterlimit="10" stroke-linecap="round" stroke-linejoin="round"/>
3
+ <rect x="2" y="14" width="20" height="8" stroke="#2F80ED" stroke-width="2" stroke-miterlimit="10" stroke-linecap="round" stroke-linejoin="round"/>
4
+ </svg>
@@ -0,0 +1,5 @@
1
+ <svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <path d="M6.11367 16C4.04285 14.5995 2.55665 12.835 2 12C3 10.5 7 6 12 6C13.0503 6 14.0565 6.19857 15 6.52618M18.5828 8.5C20.2894 9.79733 21.5079 11.2619 22 12C21 13.5 17 18 12 18C11.1331 18 10.2963 17.8647 9.5 17.6333" stroke="#2F80ED" stroke-width="2" stroke-miterlimit="10" stroke-linecap="round" stroke-linejoin="round"/>
3
+ <path d="M15.874 11C15.9562 11.3196 16 11.6547 16 12C16 14.2091 14.2091 16 12 16C11.6547 16 11.3196 15.9562 11 15.874M13.938 8.5C13.3639 8.18142 12.7031 8 12 8C9.79086 8 8 9.79086 8 12C8 12.7286 8.19479 13.4117 8.53513 14" stroke="#2F80ED" stroke-width="2" stroke-miterlimit="10" stroke-linecap="round" stroke-linejoin="round"/>
4
+ <path d="M4 19L19 4" stroke="#2F80ED" stroke-width="2" stroke-miterlimit="10" stroke-linecap="round" stroke-linejoin="round"/>
5
+ </svg>
@@ -0,0 +1,4 @@
1
+ <svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <path d="M22 12C21 13.5 17 18 12 18C7 18 3 13.5 2 12C3 10.5 7 6 12 6C17 6 21 10.5 22 12Z" stroke="#2F80ED" stroke-width="2" stroke-miterlimit="10" stroke-linecap="round" stroke-linejoin="round"/>
3
+ <path d="M12 16C14.2091 16 16 14.2091 16 12C16 9.79086 14.2091 8 12 8C9.79086 8 8 9.79086 8 12C8 14.2091 9.79086 16 12 16Z" stroke="#2F80ED" stroke-width="2" stroke-miterlimit="10" stroke-linecap="round" stroke-linejoin="round"/>
4
+ </svg>
@@ -0,0 +1,5 @@
1
+ <svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <path d="M17 12.0002L19 7.00036C17.5 6 15 5 12 5C9 5 6.5 6 5 7.00036L7 12.0002C8.5 11.5 9.5 11 12 11.0002C14.5 11.0005 15.5 11.5 17 12.0002Z" stroke="#2F80ED" stroke-width="2" stroke-miterlimit="10" stroke-linecap="round" stroke-linejoin="round"/>
3
+ <path d="M12 10.5L10 8.5" stroke="#2F80ED" stroke-width="2" stroke-miterlimit="10" stroke-linecap="round" stroke-linejoin="round"/>
4
+ <path d="M2 20V4C2 2.89543 2.89543 2 4 2H20C21.1046 2 22 2.89543 22 4V20C22 21.1046 21.1046 22 20 22H4C2.89543 22 2 21.1046 2 20Z" stroke="#2F80ED" stroke-width="2" stroke-miterlimit="10" stroke-linecap="round" stroke-linejoin="round"/>
5
+ </svg>
@@ -0,0 +1,6 @@
1
+ <svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <path d="M14 19.0005C14 20.1074 13.1071 21 12 21C10.8929 21 10 20.1074 10 19.0005C10 17.8936 10.8929 17.001 12 17.001C13.1071 16.9653 14 17.8936 14 19.0005Z" stroke="#2F80ED" stroke-width="2" stroke-miterlimit="10" stroke-linecap="round" stroke-linejoin="round"/>
3
+ <path d="M8 14.8752C10 12.3749 14 12.375 16 14.8753" stroke="#2F80ED" stroke-width="2" stroke-miterlimit="10" stroke-linecap="round" stroke-linejoin="round"/>
4
+ <path d="M5 10.9999C8.5 6.99994 15.5 7 19 10.9999" stroke="#2F80ED" stroke-width="2" stroke-miterlimit="10" stroke-linecap="round" stroke-linejoin="round"/>
5
+ <path d="M3 6.7503C8 1.74996 16 1.75 21 6.74993" stroke="#2F80ED" stroke-width="2" stroke-miterlimit="10" stroke-linecap="round" stroke-linejoin="round"/>
6
+ </svg>
@@ -0,0 +1,6 @@
1
+ <svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <path d="M17 15L22 20L20 22L15 17" stroke="#2F80ED" stroke-width="2" stroke-miterlimit="10" stroke-linecap="round" stroke-linejoin="round"/>
3
+ <path d="M10 18C14.4183 18 18 14.4183 18 10C18 5.58172 14.4183 2 10 2C5.58172 2 2 5.58172 2 10C2 14.4183 5.58172 18 10 18Z" stroke="#2F80ED" stroke-width="2" stroke-miterlimit="10" stroke-linecap="round" stroke-linejoin="round"/>
4
+ <path d="M10 7L10 13" stroke="#2F80ED" stroke-width="2" stroke-miterlimit="10" stroke-linecap="round" stroke-linejoin="round"/>
5
+ <path d="M13 10.0005L7.00001 10.0005" stroke="#2F80ED" stroke-width="2" stroke-miterlimit="10" stroke-linecap="round" stroke-linejoin="round"/>
6
+ </svg>
@@ -0,0 +1,5 @@
1
+ <svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <path d="M17 15L22 20L20 22L15 17" stroke="#2F80ED" stroke-width="2" stroke-miterlimit="10" stroke-linecap="round" stroke-linejoin="round"/>
3
+ <path d="M10 18C14.4183 18 18 14.4183 18 10C18 5.58172 14.4183 2 10 2C5.58172 2 2 5.58172 2 10C2 14.4183 5.58172 18 10 18Z" stroke="#2F80ED" stroke-width="2" stroke-miterlimit="10" stroke-linecap="round" stroke-linejoin="round"/>
4
+ <path d="M13 10.0005L7.00001 10.0005" stroke="#2F80ED" stroke-width="2" stroke-miterlimit="10" stroke-linecap="round" stroke-linejoin="round"/>
5
+ </svg>
@@ -0,0 +1,15 @@
1
+ {
2
+ "entries": [
3
+ "./components/cura-icon/cura-icon.js",
4
+ "./components/dscore-icons-view/dscore-icons-view.js",
5
+ "./components/dummy-component/dummy-component.js"
6
+ ],
7
+ "compiler": {
8
+ "name": "@stencil/core",
9
+ "version": "2.18.1",
10
+ "typescriptVersion": "4.7.4"
11
+ },
12
+ "collections": [],
13
+ "bundles": [],
14
+ "global": "rededor-cura-start.js"
15
+ }
@@ -0,0 +1,99 @@
1
+ /* SASS Variables Map */
2
+ /* Private */
3
+ /* Colors */
4
+ /* Lists */
5
+ /* Sizes */
6
+ /* Strokes */
7
+ :host {
8
+ --stroke-color: #B7B7B7;
9
+ --stroke-width: 2px;
10
+ --width: 24px;
11
+ --height: 24px;
12
+ }
13
+ :host svg.icon-128 {
14
+ --width: 128px;
15
+ --height: 128px;
16
+ --stroke-width: 0.984375px;
17
+ }
18
+ :host svg.icon-72 {
19
+ --width: 72px;
20
+ --height: 72px;
21
+ --stroke-width: 1.1666666667px;
22
+ }
23
+ :host svg.icon-64 {
24
+ --width: 64px;
25
+ --height: 64px;
26
+ --stroke-width: 1.21875px;
27
+ }
28
+ :host svg.icon-48 {
29
+ --width: 48px;
30
+ --height: 48px;
31
+ --stroke-width: 1.375px;
32
+ }
33
+ :host svg.icon-40 {
34
+ --width: 40px;
35
+ --height: 40px;
36
+ --stroke-width: 1.5px;
37
+ }
38
+ :host svg.icon-32 {
39
+ --width: 32px;
40
+ --height: 32px;
41
+ --stroke-width: 1.6875px;
42
+ }
43
+ :host svg.icon-24 {
44
+ --width: 24px;
45
+ --height: 24px;
46
+ --stroke-width: 2px;
47
+ }
48
+ :host svg.icon-20 {
49
+ --width: 20px;
50
+ --height: 20px;
51
+ --stroke-width: 2.1px;
52
+ }
53
+ :host svg.icon-16 {
54
+ --width: 16px;
55
+ --height: 16px;
56
+ --stroke-width: 2.25px;
57
+ }
58
+ :host svg.icon-neutral {
59
+ --stroke-color: #B7B7B7;
60
+ }
61
+ :host svg.icon-primary {
62
+ --stroke-color: var(--cura-color-primary-base, #004186);
63
+ }
64
+ :host svg.icon-secondary {
65
+ --stroke-color: var(--cura-color-secondary-base, #AA8E0B);
66
+ }
67
+ :host svg.icon-accent {
68
+ --stroke-color: var(--cura-color-accent-base, #DF8D2C);
69
+ }
70
+ :host svg.icon-success {
71
+ --stroke-color: #5FD290;
72
+ }
73
+ :host svg.icon-info {
74
+ --stroke-color: #6EA8FF;
75
+ }
76
+ :host svg.icon-error {
77
+ --stroke-color: #EB5757;
78
+ }
79
+ :host svg.icon-warning {
80
+ --stroke-color: #FFCF3C;
81
+ }
82
+ :host svg.icon-white {
83
+ --stroke-color: #F6F6F6;
84
+ }
85
+ :host svg.icon-black {
86
+ --stroke-color: #262626;
87
+ }
88
+ :host svg.icon-disabled {
89
+ --stroke-color: #D4D4D4;
90
+ }
91
+
92
+ :host svg {
93
+ display: inline-block;
94
+ stroke: var(--stroke-color);
95
+ width: var(--width);
96
+ height: var(--height);
97
+ stroke-width: var(--stroke-width);
98
+ fill: none;
99
+ }
@@ -0,0 +1,126 @@
1
+ import { Host, h, getAssetPath } from '@stencil/core';
2
+ export class DscoreIcon {
3
+ constructor() {
4
+ this.name = '';
5
+ this.color = 'neutral';
6
+ this.iconset = 'default';
7
+ this.disabled = false;
8
+ }
9
+ getClasses() {
10
+ const classes = {};
11
+ classes[`icon-${this.color}`] = true;
12
+ if (this.size)
13
+ classes[`icon-${this.size}`] = true;
14
+ if (this.disabled)
15
+ classes[`icon-disabled`] = true;
16
+ return classes;
17
+ }
18
+ render() {
19
+ return (h(Host, null, h("svg", { version: "1.1", viewBox: "0 0 24 24", preserveAspectRatio: "xMidYMid meet", xmlns: "http://www.w3.org/2000/svg", class: this.getClasses() }, h("use", { xlinkHref: `${getAssetPath(`../assets/icons/iconset-${this.iconset}.svg`)}#${this.name}` }))));
20
+ }
21
+ static get is() { return "cura-icon"; }
22
+ static get encapsulation() { return "shadow"; }
23
+ static get originalStyleUrls() {
24
+ return {
25
+ "$": ["cura-icon.scss"]
26
+ };
27
+ }
28
+ static get styleUrls() {
29
+ return {
30
+ "$": ["cura-icon.css"]
31
+ };
32
+ }
33
+ static get properties() {
34
+ return {
35
+ "name": {
36
+ "type": "string",
37
+ "mutable": false,
38
+ "complexType": {
39
+ "original": "string",
40
+ "resolved": "string",
41
+ "references": {}
42
+ },
43
+ "required": false,
44
+ "optional": false,
45
+ "docs": {
46
+ "tags": [],
47
+ "text": ""
48
+ },
49
+ "attribute": "name",
50
+ "reflect": true,
51
+ "defaultValue": "''"
52
+ },
53
+ "color": {
54
+ "type": "string",
55
+ "mutable": false,
56
+ "complexType": {
57
+ "original": "string",
58
+ "resolved": "string",
59
+ "references": {}
60
+ },
61
+ "required": false,
62
+ "optional": false,
63
+ "docs": {
64
+ "tags": [],
65
+ "text": ""
66
+ },
67
+ "attribute": "color",
68
+ "reflect": true,
69
+ "defaultValue": "'neutral'"
70
+ },
71
+ "size": {
72
+ "type": "any",
73
+ "mutable": false,
74
+ "complexType": {
75
+ "original": "string | number",
76
+ "resolved": "number | string",
77
+ "references": {}
78
+ },
79
+ "required": false,
80
+ "optional": false,
81
+ "docs": {
82
+ "tags": [],
83
+ "text": ""
84
+ },
85
+ "attribute": "size",
86
+ "reflect": true
87
+ },
88
+ "iconset": {
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": ""
101
+ },
102
+ "attribute": "iconset",
103
+ "reflect": true,
104
+ "defaultValue": "'default'"
105
+ },
106
+ "disabled": {
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": ""
119
+ },
120
+ "attribute": "disabled",
121
+ "reflect": true,
122
+ "defaultValue": "false"
123
+ }
124
+ };
125
+ }
126
+ }
@@ -0,0 +1,82 @@
1
+ /* SASS Variables Map */
2
+ /* Private */
3
+ /*
4
+ * Family
5
+ * $scope: body (default) | title.
6
+ */
7
+ /*
8
+ * Size
9
+ * $scope: base (default) | title.
10
+ * $level (for titles): 1 (default) | 2 | 3 | 4 | 5 | 6
11
+ */
12
+ /* Private */
13
+ /* Colors */
14
+ /* Lists */
15
+ :host {
16
+ display: block;
17
+ padding: 24px;
18
+ font-family: var(--cura-font-family-body);
19
+ }
20
+
21
+ .iconDetail {
22
+ display: block;
23
+ }
24
+
25
+ .iconSizes {
26
+ display: flex;
27
+ align-items: center;
28
+ }
29
+ .iconSizes .size {
30
+ display: flex;
31
+ flex-direction: column;
32
+ text-align: center;
33
+ margin-right: 9px;
34
+ padding: 8px;
35
+ }
36
+ .iconSizes .size:last-child {
37
+ margin-right: 0;
38
+ }
39
+ .iconSizes .size span {
40
+ font-size: 10px;
41
+ }
42
+ .iconSizes.invert {
43
+ margin-top: 12px;
44
+ }
45
+ .iconSizes.invert .size {
46
+ background-color: #262626;
47
+ color: #F6F6F6;
48
+ border-radius: 3px;
49
+ }
50
+
51
+ .icons {
52
+ margin-top: 28px;
53
+ display: flex;
54
+ flex-wrap: wrap;
55
+ position: relative;
56
+ }
57
+ .icons .icon {
58
+ position: relative;
59
+ padding: 4px;
60
+ cursor: pointer;
61
+ opacity: 0.6;
62
+ transition: opacity 0.2s linear;
63
+ }
64
+ .icons .icon span {
65
+ font-size: 12px;
66
+ padding: 6px;
67
+ box-sizing: border-box;
68
+ background: #000;
69
+ color: #FFF;
70
+ border-radius: 2px;
71
+ position: absolute;
72
+ top: -2px;
73
+ left: 50%;
74
+ transform: translateX(-50%) translateY(-100%);
75
+ display: none;
76
+ }
77
+ .icons .icon:hover {
78
+ opacity: 1;
79
+ }
80
+ .icons .icon:hover span {
81
+ display: block;
82
+ }
@@ -0,0 +1,31 @@
1
+ import { Host, h } from '@stencil/core';
2
+ import iconsetdefaulticons from '../../assets/icons/iconset-default-list';
3
+ export class DscoreIconsView {
4
+ constructor() {
5
+ this.sizes = [16, 20, 24, 32, 40, 48, 64, 72, 128];
6
+ this.selected = '360';
7
+ this.setSelected = (icon) => {
8
+ this.selected = icon;
9
+ };
10
+ }
11
+ render() {
12
+ return (h(Host, null, h("div", { class: "iconDetail" }, h("h4", null, this.selected), h("div", { class: "iconSizes" }, this.sizes.map(size => h("div", { class: "size" }, h("cura-icon", { name: this.selected, size: size }), h("span", null, size)))), h("div", { class: "iconSizes invert" }, this.sizes.map(size => h("div", { class: "size" }, h("cura-icon", { name: this.selected, size: size, color: "white" }), h("span", null, size)))), h("div", { class: "iconSizes" }, h("div", { class: "size" }, h("cura-icon", { name: this.selected, color: "primary" }), h("span", null, "Primary")), h("div", { class: "size" }, h("cura-icon", { name: this.selected, color: "secondary" }), h("span", null, "Secondary")), h("div", { class: "size" }, h("cura-icon", { name: this.selected, color: "accent" }), h("span", null, "Accent")), h("div", { class: "size" }, h("cura-icon", { name: this.selected, color: "info" }), h("span", null, "Info")), h("div", { class: "size" }, h("cura-icon", { name: this.selected, color: "warning" }), h("span", null, "Warning")), h("div", { class: "size" }, h("cura-icon", { name: this.selected, color: "error" }), h("span", null, "Error")), h("div", { class: "size" }, h("cura-icon", { name: this.selected, color: "success" }), h("span", null, "Success")), h("div", { class: "size" }, h("cura-icon", { name: this.selected, color: "neutral" }), h("span", null, "Neutral")), h("div", { class: "size" }, h("cura-icon", { name: this.selected, color: "primary", disabled: true }), h("span", null, "Disabled")))), h("div", { class: "icons" }, iconsetdefaulticons.map(icon => h("div", { class: "icon", onClick: () => this.setSelected(icon) }, h("cura-icon", { name: icon }), h("span", null, icon))))));
13
+ }
14
+ static get is() { return "dscore-icons-view"; }
15
+ static get encapsulation() { return "shadow"; }
16
+ static get originalStyleUrls() {
17
+ return {
18
+ "$": ["dscore-icons-view.scss"]
19
+ };
20
+ }
21
+ static get styleUrls() {
22
+ return {
23
+ "$": ["dscore-icons-view.css"]
24
+ };
25
+ }
26
+ static get states() {
27
+ return {
28
+ "selected": {}
29
+ };
30
+ }
31
+ }
@@ -0,0 +1,3 @@
1
+ :host {
2
+ display: block;
3
+ }
@@ -0,0 +1,18 @@
1
+ import { Host, h } from '@stencil/core';
2
+ export class DummyComponent {
3
+ render() {
4
+ return (h(Host, null, h("h1", null, h("slot", null))));
5
+ }
6
+ static get is() { return "dummy-component"; }
7
+ static get encapsulation() { return "shadow"; }
8
+ static get originalStyleUrls() {
9
+ return {
10
+ "$": ["dummy-component.scss"]
11
+ };
12
+ }
13
+ static get styleUrls() {
14
+ return {
15
+ "$": ["dummy-component.css"]
16
+ };
17
+ }
18
+ }
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,11 @@
1
+ import CuraAPI from './api/cura-api';
2
+ import { setAssetPath } from '@stencil/core';
3
+ setAssetPath(import.meta.url);
4
+ export default function () {
5
+ const config = window.CuraInit;
6
+ window.CuraAPI = config ? new CuraAPI(config) : new CuraAPI();
7
+ const api = window.CuraAPI;
8
+ window.dispatchEvent(new CustomEvent("CuraAPIReady", { detail: { api } }));
9
+ if (config && typeof config.onReady === 'function')
10
+ config.onReady(api);
11
+ }
@@ -0,0 +1,3 @@
1
+ export function format(first, middle, last) {
2
+ return (first || '') + (middle ? ` ${middle}` : '') + (last ? ` ${last}` : '');
3
+ }
@@ -0,0 +1,11 @@
1
+ import type { Components, JSX } from "../types/components";
2
+
3
+ interface CuraIcon extends Components.CuraIcon, HTMLElement {}
4
+ export const CuraIcon: {
5
+ prototype: CuraIcon;
6
+ new (): CuraIcon;
7
+ };
8
+ /**
9
+ * Used to define this component and all nested components recursively.
10
+ */
11
+ export const defineCustomElement: () => void;