@yourdash/uikit 1.0.2 → 1.0.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (608) hide show
  1. package/README.md +2 -2
  2. package/components/box/box.module.scss +21 -21
  3. package/components/box/box.tsx +22 -22
  4. package/components/button/button.module.scss +47 -46
  5. package/components/button/button.tsx +24 -24
  6. package/components/buttonLink/buttonLink.module.scss +51 -51
  7. package/components/buttonLink/buttonLink.tsx +27 -27
  8. package/components/buttonWithIcon/buttonWithIcon.module.scss +56 -56
  9. package/components/buttonWithIcon/buttonWithIcon.tsx +36 -36
  10. package/components/card/card.module.scss +78 -78
  11. package/components/card/card.tsx +64 -64
  12. package/components/container/container.module.scss +20 -20
  13. package/components/container/container.tsx +22 -22
  14. package/components/contextMenu/contextMenu.tsx +55 -55
  15. package/components/contextMenu/contextMenuRoot.module.scss +31 -31
  16. package/components/contextMenu/contextMenuRoot.tsx +83 -83
  17. package/components/contextMenu/contextMenuRootContext.tsx +22 -22
  18. package/components/flex/flex.module.scss +31 -31
  19. package/components/flex/flex.tsx +34 -34
  20. package/components/heading/heading.module.scss +41 -41
  21. package/components/heading/heading.tsx +27 -27
  22. package/components/icon/icon.module.scss +26 -26
  23. package/components/icon/icon.tsx +30 -30
  24. package/components/icon/iconDictionary.ts +573 -573
  25. package/components/icon/icons/accessibility-16.svg +8 -8
  26. package/components/icon/icons/accessibility-inset-16.svg +8 -8
  27. package/components/icon/icons/alert-16.svg +8 -8
  28. package/components/icon/icons/alert-24.svg +9 -9
  29. package/components/icon/icons/alert-fill-12.svg +8 -8
  30. package/components/icon/icons/app-launcher-16.svg +11 -11
  31. package/components/icon/icons/apps-16.svg +8 -8
  32. package/components/icon/icons/archive-16.svg +8 -8
  33. package/components/icon/icons/archive-24.svg +11 -11
  34. package/components/icon/icons/arrow-both-16.svg +8 -8
  35. package/components/icon/icons/arrow-both-24.svg +5 -5
  36. package/components/icon/icons/arrow-down-16.svg +8 -8
  37. package/components/icon/icons/arrow-down-24.svg +8 -8
  38. package/components/icon/icons/arrow-down-left-24.svg +8 -8
  39. package/components/icon/icons/arrow-down-right-24.svg +8 -8
  40. package/components/icon/icons/arrow-left-16.svg +8 -8
  41. package/components/icon/icons/arrow-left-24.svg +8 -8
  42. package/components/icon/icons/arrow-right-16.svg +8 -8
  43. package/components/icon/icons/arrow-right-24.svg +8 -8
  44. package/components/icon/icons/arrow-switch-16.svg +5 -5
  45. package/components/icon/icons/arrow-switch-24.svg +5 -5
  46. package/components/icon/icons/arrow-up-16.svg +8 -8
  47. package/components/icon/icons/arrow-up-24.svg +8 -8
  48. package/components/icon/icons/arrow-up-left-24.svg +8 -8
  49. package/components/icon/icons/arrow-up-right-24.svg +8 -8
  50. package/components/icon/icons/beaker-16.svg +8 -8
  51. package/components/icon/icons/beaker-24.svg +8 -8
  52. package/components/icon/icons/bell-16.svg +9 -9
  53. package/components/icon/icons/bell-24.svg +8 -8
  54. package/components/icon/icons/bell-fill-16.svg +5 -5
  55. package/components/icon/icons/bell-fill-24.svg +8 -8
  56. package/components/icon/icons/bell-slash-16.svg +8 -8
  57. package/components/icon/icons/bell-slash-24.svg +10 -10
  58. package/components/icon/icons/blocked-16.svg +8 -8
  59. package/components/icon/icons/blocked-24.svg +8 -8
  60. package/components/icon/icons/bold-16.svg +8 -8
  61. package/components/icon/icons/bold-24.svg +8 -8
  62. package/components/icon/icons/book-16.svg +8 -8
  63. package/components/icon/icons/book-24.svg +8 -8
  64. package/components/icon/icons/bookmark-16.svg +8 -8
  65. package/components/icon/icons/bookmark-24.svg +8 -8
  66. package/components/icon/icons/bookmark-fill-24.svg +8 -8
  67. package/components/icon/icons/bookmark-slash-16.svg +8 -8
  68. package/components/icon/icons/bookmark-slash-24.svg +9 -9
  69. package/components/icon/icons/bookmark-slash-fill-24.svg +8 -8
  70. package/components/icon/icons/briefcase-16.svg +8 -8
  71. package/components/icon/icons/briefcase-24.svg +8 -8
  72. package/components/icon/icons/broadcast-16.svg +8 -8
  73. package/components/icon/icons/broadcast-24.svg +5 -5
  74. package/components/icon/icons/browser-16.svg +8 -8
  75. package/components/icon/icons/browser-24.svg +8 -8
  76. package/components/icon/icons/bug-16.svg +8 -8
  77. package/components/icon/icons/bug-24.svg +8 -8
  78. package/components/icon/icons/cache-16.svg +10 -10
  79. package/components/icon/icons/calendar-16.svg +8 -8
  80. package/components/icon/icons/calendar-24.svg +8 -8
  81. package/components/icon/icons/check-16.svg +8 -8
  82. package/components/icon/icons/check-24.svg +8 -8
  83. package/components/icon/icons/check-circle-16.svg +8 -8
  84. package/components/icon/icons/check-circle-24.svg +9 -9
  85. package/components/icon/icons/check-circle-fill-12.svg +8 -8
  86. package/components/icon/icons/check-circle-fill-16.svg +8 -8
  87. package/components/icon/icons/check-circle-fill-24.svg +8 -8
  88. package/components/icon/icons/checkbox-16.svg +8 -8
  89. package/components/icon/icons/checkbox-24.svg +9 -9
  90. package/components/icon/icons/checklist-16.svg +8 -8
  91. package/components/icon/icons/checklist-24.svg +5 -5
  92. package/components/icon/icons/chevron-down-16.svg +8 -8
  93. package/components/icon/icons/chevron-down-24.svg +8 -8
  94. package/components/icon/icons/chevron-left-16.svg +8 -8
  95. package/components/icon/icons/chevron-left-24.svg +8 -8
  96. package/components/icon/icons/chevron-right-16.svg +8 -8
  97. package/components/icon/icons/chevron-right-24.svg +8 -8
  98. package/components/icon/icons/chevron-up-16.svg +8 -8
  99. package/components/icon/icons/chevron-up-24.svg +8 -8
  100. package/components/icon/icons/circle-16.svg +7 -7
  101. package/components/icon/icons/circle-24.svg +8 -8
  102. package/components/icon/icons/circle-slash-16.svg +8 -8
  103. package/components/icon/icons/circle-slash-24.svg +8 -8
  104. package/components/icon/icons/clock-16.svg +8 -8
  105. package/components/icon/icons/clock-24.svg +9 -9
  106. package/components/icon/icons/cloud-16.svg +8 -8
  107. package/components/icon/icons/cloud-24.svg +8 -8
  108. package/components/icon/icons/cloud-offline-16.svg +10 -10
  109. package/components/icon/icons/cloud-offline-24.svg +10 -10
  110. package/components/icon/icons/code-16.svg +8 -8
  111. package/components/icon/icons/code-24.svg +8 -8
  112. package/components/icon/icons/code-of-conduct-16.svg +8 -8
  113. package/components/icon/icons/code-of-conduct-24.svg +8 -8
  114. package/components/icon/icons/code-review-16.svg +8 -8
  115. package/components/icon/icons/code-review-24.svg +10 -10
  116. package/components/icon/icons/code-square-16.svg +8 -8
  117. package/components/icon/icons/code-square-24.svg +10 -10
  118. package/components/icon/icons/codescan-16.svg +10 -10
  119. package/components/icon/icons/codescan-24.svg +10 -10
  120. package/components/icon/icons/codescan-checkmark-16.svg +9 -9
  121. package/components/icon/icons/codescan-checkmark-24.svg +9 -9
  122. package/components/icon/icons/codespaces-16.svg +10 -10
  123. package/components/icon/icons/codespaces-24.svg +10 -10
  124. package/components/icon/icons/columns-16.svg +8 -8
  125. package/components/icon/icons/columns-24.svg +8 -8
  126. package/components/icon/icons/command-palette-16.svg +5 -5
  127. package/components/icon/icons/command-palette-24.svg +5 -5
  128. package/components/icon/icons/comment-16.svg +8 -8
  129. package/components/icon/icons/comment-24.svg +8 -8
  130. package/components/icon/icons/comment-discussion-16.svg +8 -8
  131. package/components/icon/icons/comment-discussion-24.svg +10 -10
  132. package/components/icon/icons/commit-24.svg +9 -9
  133. package/components/icon/icons/container-16.svg +8 -8
  134. package/components/icon/icons/container-24.svg +8 -8
  135. package/components/icon/icons/copilot-16.svg +9 -9
  136. package/components/icon/icons/copilot-24.svg +9 -9
  137. package/components/icon/icons/copilot-48.svg +9 -9
  138. package/components/icon/icons/copilot-96.svg +9 -9
  139. package/components/icon/icons/copilot-error-16.svg +8 -8
  140. package/components/icon/icons/copilot-warning-16.svg +10 -10
  141. package/components/icon/icons/copy-16.svg +10 -10
  142. package/components/icon/icons/copy-24.svg +10 -10
  143. package/components/icon/icons/cpu-16.svg +8 -8
  144. package/components/icon/icons/cpu-24.svg +10 -10
  145. package/components/icon/icons/credit-card-16.svg +9 -9
  146. package/components/icon/icons/credit-card-24.svg +9 -9
  147. package/components/icon/icons/cross-reference-16.svg +8 -8
  148. package/components/icon/icons/cross-reference-24.svg +5 -5
  149. package/components/icon/icons/dash-16.svg +7 -7
  150. package/components/icon/icons/dash-24.svg +7 -7
  151. package/components/icon/icons/database-16.svg +8 -8
  152. package/components/icon/icons/database-24.svg +8 -8
  153. package/components/icon/icons/dependabot-16.svg +9 -9
  154. package/components/icon/icons/dependabot-24.svg +9 -9
  155. package/components/icon/icons/desktop-download-16.svg +5 -5
  156. package/components/icon/icons/desktop-download-24.svg +10 -10
  157. package/components/icon/icons/device-camera-16.svg +8 -8
  158. package/components/icon/icons/device-camera-video-16.svg +8 -8
  159. package/components/icon/icons/device-camera-video-24.svg +8 -8
  160. package/components/icon/icons/device-desktop-16.svg +8 -8
  161. package/components/icon/icons/device-desktop-24.svg +8 -8
  162. package/components/icon/icons/device-mobile-16.svg +8 -8
  163. package/components/icon/icons/device-mobile-24.svg +9 -9
  164. package/components/icon/icons/diamond-16.svg +8 -8
  165. package/components/icon/icons/diamond-24.svg +8 -8
  166. package/components/icon/icons/diff-16.svg +8 -8
  167. package/components/icon/icons/diff-24.svg +8 -8
  168. package/components/icon/icons/diff-added-16.svg +8 -8
  169. package/components/icon/icons/diff-ignored-16.svg +8 -8
  170. package/components/icon/icons/diff-modified-16.svg +8 -8
  171. package/components/icon/icons/diff-removed-16.svg +8 -8
  172. package/components/icon/icons/diff-renamed-16.svg +8 -8
  173. package/components/icon/icons/dot-16.svg +7 -7
  174. package/components/icon/icons/dot-24.svg +7 -7
  175. package/components/icon/icons/dot-fill-16.svg +7 -7
  176. package/components/icon/icons/dot-fill-24.svg +5 -5
  177. package/components/icon/icons/download-16.svg +8 -8
  178. package/components/icon/icons/download-24.svg +5 -5
  179. package/components/icon/icons/duplicate-16.svg +11 -11
  180. package/components/icon/icons/duplicate-24.svg +11 -11
  181. package/components/icon/icons/ellipsis-16.svg +8 -8
  182. package/components/icon/icons/ewsgit.svg +14 -14
  183. package/components/icon/icons/eye-16.svg +8 -8
  184. package/components/icon/icons/eye-24.svg +9 -9
  185. package/components/icon/icons/eye-closed-16.svg +8 -8
  186. package/components/icon/icons/eye-closed-24.svg +10 -10
  187. package/components/icon/icons/feed-discussion-16.svg +8 -8
  188. package/components/icon/icons/feed-forked-16.svg +8 -8
  189. package/components/icon/icons/feed-heart-16.svg +8 -8
  190. package/components/icon/icons/feed-merged-16.svg +8 -8
  191. package/components/icon/icons/feed-person-16.svg +8 -8
  192. package/components/icon/icons/feed-repo-16.svg +8 -8
  193. package/components/icon/icons/feed-rocket-16.svg +8 -8
  194. package/components/icon/icons/feed-star-16.svg +8 -8
  195. package/components/icon/icons/feed-tag-16.svg +9 -9
  196. package/components/icon/icons/feed-trophy-16.svg +9 -9
  197. package/components/icon/icons/file-16.svg +8 -8
  198. package/components/icon/icons/file-24.svg +8 -8
  199. package/components/icon/icons/file-added-16.svg +8 -8
  200. package/components/icon/icons/file-badge-16.svg +10 -10
  201. package/components/icon/icons/file-binary-16.svg +8 -8
  202. package/components/icon/icons/file-binary-24.svg +11 -11
  203. package/components/icon/icons/file-code-16.svg +8 -8
  204. package/components/icon/icons/file-code-24.svg +10 -10
  205. package/components/icon/icons/file-diff-16.svg +8 -8
  206. package/components/icon/icons/file-diff-24.svg +10 -10
  207. package/components/icon/icons/file-directory-16.svg +8 -8
  208. package/components/icon/icons/file-directory-24.svg +8 -8
  209. package/components/icon/icons/file-directory-fill-16.svg +5 -5
  210. package/components/icon/icons/file-directory-fill-24.svg +8 -8
  211. package/components/icon/icons/file-directory-open-fill-16.svg +5 -5
  212. package/components/icon/icons/file-media-24.svg +8 -8
  213. package/components/icon/icons/file-moved-16.svg +5 -5
  214. package/components/icon/icons/file-removed-16.svg +8 -8
  215. package/components/icon/icons/file-submodule-16.svg +8 -8
  216. package/components/icon/icons/file-submodule-24.svg +8 -8
  217. package/components/icon/icons/file-symlink-file-16.svg +8 -8
  218. package/components/icon/icons/file-symlink-file-24.svg +8 -8
  219. package/components/icon/icons/file-zip-16.svg +8 -8
  220. package/components/icon/icons/file-zip-24.svg +12 -12
  221. package/components/icon/icons/filter-16.svg +8 -8
  222. package/components/icon/icons/filter-24.svg +5 -5
  223. package/components/icon/icons/flame-16.svg +8 -8
  224. package/components/icon/icons/flame-24.svg +8 -8
  225. package/components/icon/icons/fold-16.svg +5 -5
  226. package/components/icon/icons/fold-24.svg +12 -12
  227. package/components/icon/icons/fold-down-16.svg +5 -5
  228. package/components/icon/icons/fold-down-24.svg +10 -10
  229. package/components/icon/icons/fold-up-16.svg +5 -5
  230. package/components/icon/icons/fold-up-24.svg +10 -10
  231. package/components/icon/icons/gear-16.svg +8 -8
  232. package/components/icon/icons/gear-24.svg +9 -9
  233. package/components/icon/icons/gift-16.svg +8 -8
  234. package/components/icon/icons/gift-24.svg +8 -8
  235. package/components/icon/icons/git-branch-16.svg +8 -8
  236. package/components/icon/icons/git-branch-24.svg +11 -11
  237. package/components/icon/icons/git-commit-16.svg +8 -8
  238. package/components/icon/icons/git-commit-24.svg +8 -8
  239. package/components/icon/icons/git-compare-16.svg +8 -8
  240. package/components/icon/icons/git-compare-24.svg +11 -11
  241. package/components/icon/icons/git-merge-16.svg +8 -8
  242. package/components/icon/icons/git-merge-24.svg +10 -10
  243. package/components/icon/icons/git-merge-queue-16.svg +10 -10
  244. package/components/icon/icons/git-pull-request-16.svg +8 -8
  245. package/components/icon/icons/git-pull-request-24.svg +10 -10
  246. package/components/icon/icons/git-pull-request-closed-16.svg +8 -8
  247. package/components/icon/icons/git-pull-request-closed-24.svg +10 -10
  248. package/components/icon/icons/git-pull-request-draft-16.svg +9 -9
  249. package/components/icon/icons/git-pull-request-draft-24.svg +9 -9
  250. package/components/icon/icons/globe-16.svg +8 -8
  251. package/components/icon/icons/globe-24.svg +8 -8
  252. package/components/icon/icons/grabber-16.svg +8 -8
  253. package/components/icon/icons/grabber-24.svg +8 -8
  254. package/components/icon/icons/graph-16.svg +8 -8
  255. package/components/icon/icons/graph-24.svg +5 -5
  256. package/components/icon/icons/hash-16.svg +8 -8
  257. package/components/icon/icons/hash-24.svg +8 -8
  258. package/components/icon/icons/heading-16.svg +8 -8
  259. package/components/icon/icons/heading-24.svg +8 -8
  260. package/components/icon/icons/heart-16.svg +8 -8
  261. package/components/icon/icons/heart-24.svg +8 -8
  262. package/components/icon/icons/heart-fill-16.svg +8 -8
  263. package/components/icon/icons/heart-fill-24.svg +5 -5
  264. package/components/icon/icons/history-16.svg +8 -8
  265. package/components/icon/icons/history-24.svg +5 -5
  266. package/components/icon/icons/home-16.svg +5 -5
  267. package/components/icon/icons/home-24.svg +8 -8
  268. package/components/icon/icons/home-fill-24.svg +5 -5
  269. package/components/icon/icons/horizontal-rule-16.svg +7 -7
  270. package/components/icon/icons/horizontal-rule-24.svg +7 -7
  271. package/components/icon/icons/hourglass-16.svg +8 -8
  272. package/components/icon/icons/hourglass-24.svg +8 -8
  273. package/components/icon/icons/hubot-16.svg +8 -8
  274. package/components/icon/icons/hubot-24.svg +10 -10
  275. package/components/icon/icons/id-badge-16.svg +10 -10
  276. package/components/icon/icons/image-16.svg +8 -8
  277. package/components/icon/icons/image-24.svg +8 -8
  278. package/components/icon/icons/inbox-16.svg +8 -8
  279. package/components/icon/icons/inbox-24.svg +8 -8
  280. package/components/icon/icons/infinity-16.svg +8 -8
  281. package/components/icon/icons/infinity-24.svg +8 -8
  282. package/components/icon/icons/info-16.svg +8 -8
  283. package/components/icon/icons/info-24.svg +10 -10
  284. package/components/icon/icons/issue-closed-16.svg +8 -8
  285. package/components/icon/icons/issue-closed-24.svg +9 -9
  286. package/components/icon/icons/issue-draft-16.svg +8 -8
  287. package/components/icon/icons/issue-draft-24.svg +8 -8
  288. package/components/icon/icons/issue-opened-16.svg +8 -8
  289. package/components/icon/icons/issue-opened-24.svg +8 -8
  290. package/components/icon/icons/issue-reopened-16.svg +5 -5
  291. package/components/icon/icons/issue-reopened-24.svg +5 -5
  292. package/components/icon/icons/italic-16.svg +8 -8
  293. package/components/icon/icons/italic-24.svg +8 -8
  294. package/components/icon/icons/iterations-16.svg +5 -5
  295. package/components/icon/icons/iterations-24.svg +5 -5
  296. package/components/icon/icons/kebab-horizontal-16.svg +5 -5
  297. package/components/icon/icons/kebab-horizontal-24.svg +7 -7
  298. package/components/icon/icons/key-16.svg +8 -8
  299. package/components/icon/icons/key-24.svg +9 -9
  300. package/components/icon/icons/key-asterisk-16.svg +10 -10
  301. package/components/icon/icons/law-16.svg +8 -8
  302. package/components/icon/icons/law-24.svg +8 -8
  303. package/components/icon/icons/light-bulb-16.svg +8 -8
  304. package/components/icon/icons/light-bulb-24.svg +8 -8
  305. package/components/icon/icons/link-16.svg +8 -8
  306. package/components/icon/icons/link-24.svg +5 -5
  307. package/components/icon/icons/link-external-16.svg +8 -8
  308. package/components/icon/icons/link-external-24.svg +5 -5
  309. package/components/icon/icons/list-ordered-16.svg +8 -8
  310. package/components/icon/icons/list-ordered-24.svg +5 -5
  311. package/components/icon/icons/list-unordered-16.svg +8 -8
  312. package/components/icon/icons/list-unordered-24.svg +8 -8
  313. package/components/icon/icons/location-16.svg +8 -8
  314. package/components/icon/icons/location-24.svg +9 -9
  315. package/components/icon/icons/lock-16.svg +8 -8
  316. package/components/icon/icons/lock-24.svg +8 -8
  317. package/components/icon/icons/log-16.svg +9 -9
  318. package/components/icon/icons/login.svg +9 -9
  319. package/components/icon/icons/logo-gist-16.svg +8 -8
  320. package/components/icon/icons/logo-github-16.svg +8 -8
  321. package/components/icon/icons/logout.svg +9 -9
  322. package/components/icon/icons/mail-16.svg +8 -8
  323. package/components/icon/icons/mail-24.svg +8 -8
  324. package/components/icon/icons/mark-github-16.svg +8 -8
  325. package/components/icon/icons/markdown-16.svg +8 -8
  326. package/components/icon/icons/megaphone-16.svg +13 -13
  327. package/components/icon/icons/megaphone-24.svg +8 -8
  328. package/components/icon/icons/mention-16.svg +8 -8
  329. package/components/icon/icons/mention-24.svg +8 -8
  330. package/components/icon/icons/meter-16.svg +8 -8
  331. package/components/icon/icons/milestone-16.svg +8 -8
  332. package/components/icon/icons/milestone-24.svg +8 -8
  333. package/components/icon/icons/mirror-16.svg +8 -8
  334. package/components/icon/icons/mirror-24.svg +8 -8
  335. package/components/icon/icons/moon-16.svg +8 -8
  336. package/components/icon/icons/moon-24.svg +8 -8
  337. package/components/icon/icons/mortar-board-16.svg +8 -8
  338. package/components/icon/icons/mortar-board-24.svg +8 -8
  339. package/components/icon/icons/multi-select-16.svg +9 -9
  340. package/components/icon/icons/multi-select-24.svg +9 -9
  341. package/components/icon/icons/mute-16.svg +8 -8
  342. package/components/icon/icons/mute-24.svg +10 -10
  343. package/components/icon/icons/no-entry-16.svg +8 -8
  344. package/components/icon/icons/no-entry-24.svg +8 -8
  345. package/components/icon/icons/no-entry-fill-12.svg +7 -7
  346. package/components/icon/icons/north-star-16.svg +5 -5
  347. package/components/icon/icons/north-star-24.svg +5 -5
  348. package/components/icon/icons/note-16.svg +8 -8
  349. package/components/icon/icons/note-24.svg +10 -10
  350. package/components/icon/icons/number-16.svg +8 -8
  351. package/components/icon/icons/number-24.svg +8 -8
  352. package/components/icon/icons/organization-16.svg +8 -8
  353. package/components/icon/icons/organization-24.svg +10 -10
  354. package/components/icon/icons/package-16.svg +8 -8
  355. package/components/icon/icons/package-24.svg +8 -8
  356. package/components/icon/icons/package-dependencies-16.svg +8 -8
  357. package/components/icon/icons/package-dependencies-24.svg +10 -10
  358. package/components/icon/icons/package-dependents-16.svg +8 -8
  359. package/components/icon/icons/package-dependents-24.svg +10 -10
  360. package/components/icon/icons/paintbrush-16.svg +8 -8
  361. package/components/icon/icons/paper-airplane-16.svg +8 -8
  362. package/components/icon/icons/paper-airplane-24.svg +8 -8
  363. package/components/icon/icons/paperclip-16.svg +8 -8
  364. package/components/icon/icons/paperclip-24.svg +8 -8
  365. package/components/icon/icons/paste-16.svg +8 -8
  366. package/components/icon/icons/paste-24.svg +10 -10
  367. package/components/icon/icons/pencil-16.svg +8 -8
  368. package/components/icon/icons/pencil-24.svg +8 -8
  369. package/components/icon/icons/people-16.svg +8 -8
  370. package/components/icon/icons/people-24.svg +10 -10
  371. package/components/icon/icons/person-16.svg +8 -8
  372. package/components/icon/icons/person-24.svg +8 -8
  373. package/components/icon/icons/person-add-16.svg +8 -8
  374. package/components/icon/icons/person-add-24.svg +8 -8
  375. package/components/icon/icons/person-fill-16.svg +5 -5
  376. package/components/icon/icons/person-fill-24.svg +5 -5
  377. package/components/icon/icons/pin-16.svg +8 -8
  378. package/components/icon/icons/pin-24.svg +8 -8
  379. package/components/icon/icons/play-16.svg +8 -8
  380. package/components/icon/icons/play-24.svg +9 -9
  381. package/components/icon/icons/plug-16.svg +8 -8
  382. package/components/icon/icons/plug-24.svg +8 -8
  383. package/components/icon/icons/plus-16.svg +8 -8
  384. package/components/icon/icons/plus-24.svg +8 -8
  385. package/components/icon/icons/plus-circle-16.svg +8 -8
  386. package/components/icon/icons/plus-circle-24.svg +9 -9
  387. package/components/icon/icons/project-16.svg +8 -8
  388. package/components/icon/icons/project-24.svg +10 -10
  389. package/components/icon/icons/pulse-16.svg +8 -8
  390. package/components/icon/icons/pulse-24.svg +8 -8
  391. package/components/icon/icons/question-16.svg +8 -8
  392. package/components/icon/icons/question-24.svg +10 -10
  393. package/components/icon/icons/quote-16.svg +8 -8
  394. package/components/icon/icons/quote-24.svg +8 -8
  395. package/components/icon/icons/reply-16.svg +8 -8
  396. package/components/icon/icons/reply-24.svg +5 -5
  397. package/components/icon/icons/repo-16.svg +8 -8
  398. package/components/icon/icons/repo-24.svg +9 -9
  399. package/components/icon/icons/repo-clone-16.svg +8 -8
  400. package/components/icon/icons/repo-deleted-16.svg +5 -5
  401. package/components/icon/icons/repo-forked-16.svg +8 -8
  402. package/components/icon/icons/repo-forked-24.svg +11 -11
  403. package/components/icon/icons/repo-locked-16.svg +10 -10
  404. package/components/icon/icons/repo-locked-24.svg +10 -10
  405. package/components/icon/icons/repo-pull-16.svg +8 -8
  406. package/components/icon/icons/repo-push-16.svg +8 -8
  407. package/components/icon/icons/repo-push-24.svg +5 -5
  408. package/components/icon/icons/repo-template-16.svg +8 -8
  409. package/components/icon/icons/repo-template-24.svg +5 -5
  410. package/components/icon/icons/report-16.svg +8 -8
  411. package/components/icon/icons/report-24.svg +8 -8
  412. package/components/icon/icons/rocket-16.svg +8 -8
  413. package/components/icon/icons/rocket-24.svg +8 -8
  414. package/components/icon/icons/rows-16.svg +8 -8
  415. package/components/icon/icons/rows-24.svg +8 -8
  416. package/components/icon/icons/rss-16.svg +8 -8
  417. package/components/icon/icons/rss-24.svg +8 -8
  418. package/components/icon/icons/ruby-16.svg +8 -8
  419. package/components/icon/icons/ruby-24.svg +8 -8
  420. package/components/icon/icons/screen-full-16.svg +8 -8
  421. package/components/icon/icons/screen-full-24.svg +8 -8
  422. package/components/icon/icons/screen-normal-16.svg +8 -8
  423. package/components/icon/icons/screen-normal-24.svg +8 -8
  424. package/components/icon/icons/search-16.svg +8 -8
  425. package/components/icon/icons/search-24.svg +8 -8
  426. package/components/icon/icons/server-16.svg +8 -8
  427. package/components/icon/icons/server-24.svg +10 -10
  428. package/components/icon/icons/server-error.svg +8 -8
  429. package/components/icon/icons/share-16.svg +8 -8
  430. package/components/icon/icons/share-24.svg +8 -8
  431. package/components/icon/icons/share-android-16.svg +8 -8
  432. package/components/icon/icons/share-android-24.svg +8 -8
  433. package/components/icon/icons/shield-16.svg +8 -8
  434. package/components/icon/icons/shield-24.svg +9 -9
  435. package/components/icon/icons/shield-check-16.svg +8 -8
  436. package/components/icon/icons/shield-check-24.svg +9 -9
  437. package/components/icon/icons/shield-lock-16.svg +8 -8
  438. package/components/icon/icons/shield-lock-24.svg +8 -8
  439. package/components/icon/icons/shield-slash-16.svg +10 -10
  440. package/components/icon/icons/shield-x-16.svg +8 -8
  441. package/components/icon/icons/shield-x-24.svg +10 -10
  442. package/components/icon/icons/sidebar-collapse-16.svg +9 -9
  443. package/components/icon/icons/sidebar-collapse-24.svg +9 -9
  444. package/components/icon/icons/sidebar-expand-16.svg +9 -9
  445. package/components/icon/icons/sidebar-expand-24.svg +9 -9
  446. package/components/icon/icons/sign-in-16.svg +8 -8
  447. package/components/icon/icons/sign-in-24.svg +8 -8
  448. package/components/icon/icons/sign-out-16.svg +8 -8
  449. package/components/icon/icons/sign-out-24.svg +8 -8
  450. package/components/icon/icons/single-select-16.svg +9 -9
  451. package/components/icon/icons/single-select-24.svg +9 -9
  452. package/components/icon/icons/skip-16.svg +8 -8
  453. package/components/icon/icons/skip-24.svg +9 -9
  454. package/components/icon/icons/sliders-16.svg +5 -5
  455. package/components/icon/icons/smiley-16.svg +8 -8
  456. package/components/icon/icons/smiley-24.svg +11 -11
  457. package/components/icon/icons/sort-asc-16.svg +8 -8
  458. package/components/icon/icons/sort-asc-24.svg +5 -5
  459. package/components/icon/icons/sort-desc-16.svg +9 -9
  460. package/components/icon/icons/sort-desc-24.svg +5 -5
  461. package/components/icon/icons/square-16.svg +8 -8
  462. package/components/icon/icons/square-24.svg +8 -8
  463. package/components/icon/icons/square-fill-16.svg +8 -8
  464. package/components/icon/icons/square-fill-24.svg +8 -8
  465. package/components/icon/icons/squirrel-16.svg +8 -8
  466. package/components/icon/icons/squirrel-24.svg +5 -5
  467. package/components/icon/icons/stack-16.svg +8 -8
  468. package/components/icon/icons/stack-24.svg +12 -12
  469. package/components/icon/icons/star-16.svg +8 -8
  470. package/components/icon/icons/star-24.svg +8 -8
  471. package/components/icon/icons/star-fill-16.svg +8 -8
  472. package/components/icon/icons/star-fill-24.svg +8 -8
  473. package/components/icon/icons/stop-16.svg +8 -8
  474. package/components/icon/icons/stop-24.svg +9 -9
  475. package/components/icon/icons/stopwatch-16.svg +8 -8
  476. package/components/icon/icons/stopwatch-24.svg +8 -8
  477. package/components/icon/icons/store.svg +10 -10
  478. package/components/icon/icons/strikethrough-16.svg +8 -8
  479. package/components/icon/icons/strikethrough-24.svg +8 -8
  480. package/components/icon/icons/sun-16.svg +8 -8
  481. package/components/icon/icons/sun-24.svg +8 -8
  482. package/components/icon/icons/sync-16.svg +8 -8
  483. package/components/icon/icons/sync-24.svg +5 -5
  484. package/components/icon/icons/tab-24.svg +5 -5
  485. package/components/icon/icons/tab-external-16.svg +5 -5
  486. package/components/icon/icons/table-16.svg +8 -8
  487. package/components/icon/icons/table-24.svg +8 -8
  488. package/components/icon/icons/tag-16.svg +8 -8
  489. package/components/icon/icons/tag-24.svg +9 -9
  490. package/components/icon/icons/tasklist-16.svg +8 -8
  491. package/components/icon/icons/tasklist-24.svg +9 -9
  492. package/components/icon/icons/telescope-16.svg +8 -8
  493. package/components/icon/icons/telescope-24.svg +10 -10
  494. package/components/icon/icons/telescope-fill-16.svg +8 -8
  495. package/components/icon/icons/telescope-fill-24.svg +10 -10
  496. package/components/icon/icons/terminal-16.svg +8 -8
  497. package/components/icon/icons/terminal-24.svg +10 -10
  498. package/components/icon/icons/three-bars-16.svg +8 -8
  499. package/components/icon/icons/thumbsdown-16.svg +8 -8
  500. package/components/icon/icons/thumbsdown-24.svg +8 -8
  501. package/components/icon/icons/thumbsup-16.svg +8 -8
  502. package/components/icon/icons/thumbsup-24.svg +8 -8
  503. package/components/icon/icons/tools-16.svg +8 -8
  504. package/components/icon/icons/tools-24.svg +8 -8
  505. package/components/icon/icons/trash-16.svg +8 -8
  506. package/components/icon/icons/trash-24.svg +12 -12
  507. package/components/icon/icons/triangle-down-16.svg +5 -5
  508. package/components/icon/icons/triangle-down-24.svg +5 -5
  509. package/components/icon/icons/triangle-left-16.svg +5 -5
  510. package/components/icon/icons/triangle-left-24.svg +5 -5
  511. package/components/icon/icons/triangle-right-16.svg +5 -5
  512. package/components/icon/icons/triangle-right-24.svg +5 -5
  513. package/components/icon/icons/triangle-up-16.svg +5 -5
  514. package/components/icon/icons/triangle-up-24.svg +5 -5
  515. package/components/icon/icons/trophy-16.svg +8 -8
  516. package/components/icon/icons/trophy-24.svg +8 -8
  517. package/components/icon/icons/typography-16.svg +8 -8
  518. package/components/icon/icons/typography-24.svg +8 -8
  519. package/components/icon/icons/unfold-16.svg +5 -5
  520. package/components/icon/icons/unfold-24.svg +11 -11
  521. package/components/icon/icons/unlock-16.svg +8 -8
  522. package/components/icon/icons/unlock-24.svg +8 -8
  523. package/components/icon/icons/unmute-16.svg +8 -8
  524. package/components/icon/icons/unmute-24.svg +10 -10
  525. package/components/icon/icons/unverified-16.svg +8 -8
  526. package/components/icon/icons/unverified-24.svg +10 -10
  527. package/components/icon/icons/upload-16.svg +8 -8
  528. package/components/icon/icons/upload-24.svg +8 -8
  529. package/components/icon/icons/verified-16.svg +8 -8
  530. package/components/icon/icons/verified-24.svg +9 -9
  531. package/components/icon/icons/versions-16.svg +8 -8
  532. package/components/icon/icons/versions-24.svg +8 -8
  533. package/components/icon/icons/video-16.svg +9 -9
  534. package/components/icon/icons/video-24.svg +9 -9
  535. package/components/icon/icons/webhook-16.svg +5 -5
  536. package/components/icon/icons/workflow-16.svg +8 -8
  537. package/components/icon/icons/workflow-24.svg +8 -8
  538. package/components/icon/icons/x-16.svg +8 -8
  539. package/components/icon/icons/x-24.svg +8 -8
  540. package/components/icon/icons/x-circle-16.svg +8 -8
  541. package/components/icon/icons/x-circle-24.svg +10 -10
  542. package/components/icon/icons/x-circle-fill-12.svg +8 -8
  543. package/components/icon/icons/x-circle-fill-16.svg +8 -8
  544. package/components/icon/icons/x-circle-fill-24.svg +8 -8
  545. package/components/icon/icons/yourdash.svg +64 -64
  546. package/components/icon/icons/zap-16.svg +8 -8
  547. package/components/icon/icons/zap-24.svg +8 -8
  548. package/components/iconButton/iconButton.module.scss +40 -40
  549. package/components/iconButton/iconButton.tsx +34 -34
  550. package/components/image/image.module.scss +81 -81
  551. package/components/image/image.tsx +5 -3
  552. package/components/link/link.module.scss +32 -32
  553. package/components/link/link.tsx +21 -21
  554. package/components/progressBar/progressBar.module.scss +25 -25
  555. package/components/progressBar/progressBar.tsx +21 -21
  556. package/components/redirect/redirect.tsx +17 -17
  557. package/components/separator/separator.module.scss +33 -33
  558. package/components/separator/separator.tsx +14 -14
  559. package/components/spinner/spinner.module.scss +88 -93
  560. package/components/spinner/spinner.tsx +31 -31
  561. package/components/subtext/subtext.module.scss +17 -17
  562. package/components/subtext/subtext.tsx +14 -14
  563. package/components/tag/tag.module.scss +13 -13
  564. package/components/tag/tag.tsx +21 -21
  565. package/components/text/text.module.scss +13 -13
  566. package/components/text/text.tsx +14 -14
  567. package/components/textButton/textButton.module.scss +30 -30
  568. package/components/textButton/textButton.tsx +22 -22
  569. package/components/textInput/textInput.module.scss +52 -52
  570. package/components/textInput/textInput.tsx +84 -84
  571. package/components/toast/toast.module.scss +71 -71
  572. package/components/toast/toast.ts +12 -12
  573. package/components/toast/toastAction.ts +12 -12
  574. package/components/toast/toastContext.ts +16 -16
  575. package/components/toast/toasts.tsx +99 -99
  576. package/core/decrementLevel.tsx +13 -13
  577. package/core/incrementLevel.tsx +13 -13
  578. package/core/level.tsx +27 -27
  579. package/core/remToPx.ts +8 -8
  580. package/core/root.tsx +26 -26
  581. package/core/toast.ts +18 -18
  582. package/imports.d.ts +81 -81
  583. package/package.json +20 -19
  584. package/theme/defaultTheme.module.scss +361 -361
  585. package/theme/themeValues.scss +49 -49
  586. package/tsconfig.json +30 -30
  587. package/utilityComponent/hasBeenShown/hasBeenShown.tsx +47 -47
  588. package/utilityComponent/onInView/onInView.tsx +83 -83
  589. package/views/carousel/carousel.module.scss +77 -77
  590. package/views/carousel/carousel.tsx +138 -138
  591. package/views/header/header.module.scss +16 -16
  592. package/views/header/header.tsx +28 -28
  593. package/views/infiniteScroll/infiniteScroll.module.scss +26 -26
  594. package/views/infiniteScroll/infiniteScroll.tsx +90 -90
  595. package/views/navBar/components/navImage/navImage.module.scss +7 -7
  596. package/views/navBar/components/navImage/navImage.tsx +15 -15
  597. package/views/navBar/components/navTitle/navTitle.tsx +13 -13
  598. package/views/navBar/navBar.module.scss +22 -22
  599. package/views/navBar/navBar.tsx +37 -37
  600. package/views/onBoarding/onBoarding.module.scss +84 -79
  601. package/views/onBoarding/onBoarding.tsx +138 -138
  602. package/views/panAndZoom/panAndZoom.tsx +121 -121
  603. package/views/sidebar/Sidebar.module.scss +49 -49
  604. package/views/sidebar/Sidebar.tsx +30 -30
  605. package/views/sidebar/SidebarContainer.module.scss +22 -22
  606. package/views/sidebar/SidebarContainer.tsx +38 -38
  607. package/views/sidebar/SidebarContext.tsx +15 -15
  608. package/views/sidebar/SidebarToggleButton.tsx +25 -25
@@ -1,33 +1,33 @@
1
- /*!
2
- * Copyright ©2024 Ewsgit<https://github.com/ewsgit> and YourDash<https://github.com/yourdash> contributors.
3
- * YourDash is licensed under the MIT License. (https://ewsgit.mit-license.org)
4
- */
5
-
6
- @import "../../theme/themeValues";
7
-
8
- .component {
9
- display: flex;
10
- border: var(#{$theme}#{$border});
11
- border-bottom: none;
12
- border-radius: var(#{$theme}#{$radius});
13
- }
14
-
15
- .row {
16
- width: 0;
17
- height: calc(100% - calc(var(#{$theme}#{$gap})) * 2);
18
- margin: var(#{$theme}#{$gap});
19
-
20
- &.disableMargin {
21
- height: 100%;
22
- }
23
- }
24
-
25
- .column {
26
- width: calc(100% - calc(var(#{$theme}#{$gap})) * 2);
27
- height: 0;
28
- margin: var(#{$theme}#{$gap});
29
-
30
- &.disableMargin {
31
- width: 100%;
32
- }
33
- }
1
+ /*!
2
+ * Copyright ©2024 Ewsgit<https://github.com/ewsgit> and YourDash<https://github.com/yourdash> contributors.
3
+ * YourDash is licensed under the MIT License. (https://ewsgit.mit-license.org)
4
+ */
5
+
6
+ @use "@yourdash/uikit/theme/themeValues" as *;
7
+
8
+ .component {
9
+ display: flex;
10
+ border: var(#{$theme}#{$border});
11
+ border-bottom: none;
12
+ border-radius: var(#{$theme}#{$radius});
13
+ }
14
+
15
+ .row {
16
+ width: 0;
17
+ height: calc(100% - calc(var(#{$theme}#{$gap})) * 2);
18
+ margin: var(#{$theme}#{$gap});
19
+
20
+ &.disableMargin {
21
+ height: 100%;
22
+ }
23
+ }
24
+
25
+ .column {
26
+ width: calc(100% - calc(var(#{$theme}#{$gap})) * 2);
27
+ height: 0;
28
+ margin: var(#{$theme}#{$gap});
29
+
30
+ &.disableMargin {
31
+ width: 100%;
32
+ }
33
+ }
@@ -1,14 +1,14 @@
1
- /*
2
- * Copyright ©2024 Ewsgit<https://github.com/ewsgit> and YourDash<https://github.com/yourdash> contributors.
3
- * YourDash is licensed under the MIT License. (https://ewsgit.mit-license.org)
4
- */
5
-
6
- import clippy from "@yourdash/shared/web/helpers/clippy.ts";
7
- import styles from "./separator.module.scss";
8
- import { FC } from "react";
9
-
10
- const Separator: FC<{ direction: "column" | "row"; disableMargin?: boolean }> = (props) => {
11
- return <div className={clippy(styles.component, styles[props.direction], props.disableMargin && styles.disableMargin)} />;
12
- };
13
-
14
- export default Separator;
1
+ /*
2
+ * Copyright ©2024 Ewsgit<https://github.com/ewsgit> and YourDash<https://github.com/yourdash> contributors.
3
+ * YourDash is licensed under the MIT License. (https://ewsgit.mit-license.org)
4
+ */
5
+
6
+ import clippy from "@yourdash/shared/web/helpers/clippy.ts";
7
+ import styles from "./separator.module.scss";
8
+ import { FC } from "react";
9
+
10
+ const Separator: FC<{ direction: "column" | "row"; disableMargin?: boolean }> = (props) => {
11
+ return <div className={clippy(styles.component, styles[props.direction], props.disableMargin && styles.disableMargin)} />;
12
+ };
13
+
14
+ export default Separator;
@@ -1,93 +1,88 @@
1
- /*!
2
- * Copyright ©2024 Ewsgit<https://github.com/ewsgit> and YourDash<https://github.com/yourdash> contributors.
3
- * YourDash is licensed under the MIT License. (https://ewsgit.mit-license.org)
4
- */
5
-
6
- @import "@yourdash/uikit/theme/themeValues";
7
-
8
- .component {
9
- padding: var(#{$theme+$padding});
10
- border: var(#{$theme+$border});
11
- border-radius: var(#{$theme+$radius});
12
- background-color: var(#{$theme+$background});
13
- user-select: none;
14
- position: relative;
15
- width: 8rem;
16
- aspect-ratio: 1 / 1;
17
- }
18
-
19
- .container {
20
- position: relative;
21
- width: 100%;
22
- height: 100%;
23
- aspect-ratio: 1 / 1;
24
- rotate: 135deg;
25
- animation: 1.1s infinite ease-in-out infiniteSpin;
26
- }
27
-
28
- .spinnerBack {
29
- position: absolute;
30
- top: 50%;
31
- left: 50%;
32
- transform: translate(-50%, -50%);
33
- height: 3rem;
34
- aspect-ratio: 1 / 1;
35
- border-radius: 100rem;
36
- background: #00000077;
37
- }
38
-
39
- .spinnerBorder {
40
- position: absolute;
41
- top: 50%;
42
- left: 50%;
43
- transform: translate(-50%, -50%);
44
- height: 3.5rem;
45
- aspect-ratio: 1 / 1;
46
- border-radius: 100rem;
47
- background: var(#{$theme+$accent});
48
- }
49
-
50
- .spinnerCutoutContainer {
51
- position: absolute;
52
- top: 50%;
53
- left: 50%;
54
- transform: translate(-50%, -50%);
55
- height: 3.5rem;
56
- aspect-ratio: 1 / 1;
57
- border-radius: 100rem;
58
- }
59
-
60
- .spinnerCutout {
61
- position: absolute;
62
- height: 1.75rem;
63
- aspect-ratio: 1 / 1;
64
- background: var(#{$theme+$background});
65
- }
66
-
67
- .spinnerCutoutOne {
68
- top: 0;
69
- left: 0;
70
- }
71
-
72
- .spinnerCutoutTwo {
73
- bottom: 0;
74
- right: 0;
75
- }
76
-
77
- @keyframes infiniteSpin {
78
- 0% {
79
- transform: rotate(0deg);
80
- }
81
- 50% {
82
- transform: rotate(200deg);
83
- }
84
- 70% {
85
- transform: rotate(175deg);
86
- }
87
- 80% {
88
- transform: rotate(180deg);
89
- }
90
- 100% {
91
- transform: rotate(180deg);
92
- }
93
- }
1
+ @use "@yourdash/uikit/theme/themeValues" as *;
2
+
3
+ .component {
4
+ padding: var(#{$theme+$padding});
5
+ border: var(#{$theme+$border});
6
+ border-radius: var(#{$theme+$radius});
7
+ background-color: var(#{$theme+$background});
8
+ user-select: none;
9
+ position: relative;
10
+ width: 8rem;
11
+ aspect-ratio: 1 / 1;
12
+ }
13
+
14
+ .container {
15
+ position: relative;
16
+ width: 100%;
17
+ height: 100%;
18
+ aspect-ratio: 1 / 1;
19
+ rotate: 135deg;
20
+ animation: 1.1s infinite ease-in-out infiniteSpin;
21
+ }
22
+
23
+ .spinnerBack {
24
+ position: absolute;
25
+ top: 50%;
26
+ left: 50%;
27
+ transform: translate(-50%, -50%);
28
+ height: 3rem;
29
+ aspect-ratio: 1 / 1;
30
+ border-radius: 100rem;
31
+ background: #00000077;
32
+ }
33
+
34
+ .spinnerBorder {
35
+ position: absolute;
36
+ top: 50%;
37
+ left: 50%;
38
+ transform: translate(-50%, -50%);
39
+ height: 3.5rem;
40
+ aspect-ratio: 1 / 1;
41
+ border-radius: 100rem;
42
+ background: var(#{$theme+$accent});
43
+ }
44
+
45
+ .spinnerCutoutContainer {
46
+ position: absolute;
47
+ top: 50%;
48
+ left: 50%;
49
+ transform: translate(-50%, -50%);
50
+ height: 3.5rem;
51
+ aspect-ratio: 1 / 1;
52
+ border-radius: 100rem;
53
+ }
54
+
55
+ .spinnerCutout {
56
+ position: absolute;
57
+ height: 1.75rem;
58
+ aspect-ratio: 1 / 1;
59
+ background: var(#{$theme+$background});
60
+ }
61
+
62
+ .spinnerCutoutOne {
63
+ top: 0;
64
+ left: 0;
65
+ }
66
+
67
+ .spinnerCutoutTwo {
68
+ bottom: 0;
69
+ right: 0;
70
+ }
71
+
72
+ @keyframes infiniteSpin {
73
+ 0% {
74
+ transform: rotate(0deg);
75
+ }
76
+ 50% {
77
+ transform: rotate(200deg);
78
+ }
79
+ 70% {
80
+ transform: rotate(175deg);
81
+ }
82
+ 80% {
83
+ transform: rotate(180deg);
84
+ }
85
+ 100% {
86
+ transform: rotate(180deg);
87
+ }
88
+ }
@@ -1,31 +1,31 @@
1
- /*
2
- * Copyright ©2024 Ewsgit<https://github.com/ewsgit> and YourDash<https://github.com/yourdash> contributors.
3
- * YourDash is licensed under the MIT License. (https://ewsgit.mit-license.org)
4
- */
5
-
6
- import clippy from "@yourdash/shared/web/helpers/clippy.ts";
7
- import styles from "./spinner.module.scss";
8
- import { FC } from "react";
9
-
10
- const Spinner: FC<{
11
- // eslint-disable-next-line
12
- style?: any;
13
- }> = (props) => {
14
- return (
15
- <div
16
- className={styles.component}
17
- style={props.style}
18
- >
19
- <section className={styles.container}>
20
- <div className={styles.spinnerBorder} />
21
- <div className={styles.spinnerBack} />
22
- <div className={styles.spinnerCutoutContainer}>
23
- <div className={clippy(styles.spinnerCutoutOne, styles.spinnerCutout)} />
24
- <div className={clippy(styles.spinnerCutoutTwo, styles.spinnerCutout)} />
25
- </div>
26
- </section>
27
- </div>
28
- );
29
- };
30
-
31
- export default Spinner;
1
+ /*
2
+ * Copyright ©2024 Ewsgit<https://github.com/ewsgit> and YourDash<https://github.com/yourdash> contributors.
3
+ * YourDash is licensed under the MIT License. (https://ewsgit.mit-license.org)
4
+ */
5
+
6
+ import clippy from "@yourdash/shared/web/helpers/clippy.ts";
7
+ import styles from "./spinner.module.scss";
8
+ import { FC } from "react";
9
+
10
+ const Spinner: FC<{
11
+ // eslint-disable-next-line
12
+ style?: any;
13
+ }> = (props) => {
14
+ return (
15
+ <div
16
+ className={styles.component}
17
+ style={props.style}
18
+ >
19
+ <section className={styles.container}>
20
+ <div className={styles.spinnerBorder} />
21
+ <div className={styles.spinnerBack} />
22
+ <div className={styles.spinnerCutoutContainer}>
23
+ <div className={clippy(styles.spinnerCutoutOne, styles.spinnerCutout)} />
24
+ <div className={clippy(styles.spinnerCutoutTwo, styles.spinnerCutout)} />
25
+ </div>
26
+ </section>
27
+ </div>
28
+ );
29
+ };
30
+
31
+ export default Spinner;
@@ -1,17 +1,17 @@
1
- /*!
2
- * Copyright ©2024 Ewsgit<https://github.com/ewsgit> and YourDash<https://github.com/yourdash> contributors.
3
- * YourDash is licensed under the MIT License. (https://ewsgit.mit-license.org)
4
- */
5
-
6
- @import "../../theme/themeValues";
7
-
8
- .component {
9
- color: var(#{$theme+$subcolor});
10
- display: inline-block;
11
- }
12
-
13
- .levelDefault {
14
- font-weight: var(#{$theme}#{$font}#{$weight});
15
- font-size: var(#{$theme}#{$font}#{$size});
16
- font-family: var(#{$theme}#{$font}#{$family});
17
- }
1
+ /*!
2
+ * Copyright ©2024 Ewsgit<https://github.com/ewsgit> and YourDash<https://github.com/yourdash> contributors.
3
+ * YourDash is licensed under the MIT License. (https://ewsgit.mit-license.org)
4
+ */
5
+
6
+ @use "@yourdash/uikit/theme/themeValues" as *;
7
+
8
+ .component {
9
+ color: var(#{$theme+$subcolor});
10
+ display: inline-block;
11
+ }
12
+
13
+ .levelDefault {
14
+ font-weight: var(#{$theme}#{$font}#{$weight});
15
+ font-size: var(#{$theme}#{$font}#{$size});
16
+ font-family: var(#{$theme}#{$font}#{$family});
17
+ }
@@ -1,14 +1,14 @@
1
- /*
2
- * Copyright ©2024 Ewsgit<https://github.com/ewsgit> and YourDash<https://github.com/yourdash> contributors.
3
- * YourDash is licensed under the MIT License. (https://ewsgit.mit-license.org)
4
- */
5
-
6
- import clippy from "@yourdash/shared/web/helpers/clippy.ts";
7
- import styles from "./subtext.module.scss";
8
- import { FC } from "react";
9
-
10
- const Subtext: FC<{ text: string; className?: string }> = (props) => {
11
- return <div className={clippy(styles.component, props.className)}>{props.text}</div>;
12
- };
13
-
14
- export default Subtext;
1
+ /*
2
+ * Copyright ©2024 Ewsgit<https://github.com/ewsgit> and YourDash<https://github.com/yourdash> contributors.
3
+ * YourDash is licensed under the MIT License. (https://ewsgit.mit-license.org)
4
+ */
5
+
6
+ import clippy from "@yourdash/shared/web/helpers/clippy.ts";
7
+ import styles from "./subtext.module.scss";
8
+ import { FC } from "react";
9
+
10
+ const Subtext: FC<{ text: string; className?: string }> = (props) => {
11
+ return <div className={clippy(styles.component, props.className)}>{props.text}</div>;
12
+ };
13
+
14
+ export default Subtext;
@@ -1,13 +1,13 @@
1
- /*!
2
- * Copyright ©2024 Ewsgit<https://github.com/ewsgit> and YourDash<https://github.com/yourdash> contributors.
3
- * YourDash is licensed under the MIT License. (https://ewsgit.mit-license.org)
4
- */
5
-
6
- @import "../../theme/themeValues";
7
-
8
- .component {
9
- display: inline-block;
10
- font-weight: var(#{$theme+$font+$weight});
11
- font-size: var(#{$theme+$font+$size});
12
- font-family: var(#{$theme+$font+$family});
13
- }
1
+ /*!
2
+ * Copyright ©2024 Ewsgit<https://github.com/ewsgit> and YourDash<https://github.com/yourdash> contributors.
3
+ * YourDash is licensed under the MIT License. (https://ewsgit.mit-license.org)
4
+ */
5
+
6
+ @use "@yourdash/uikit/theme/themeValues" as *;
7
+
8
+ .component {
9
+ display: inline-block;
10
+ font-weight: var(#{$theme+$font+$weight});
11
+ font-size: var(#{$theme+$font+$size});
12
+ font-family: var(#{$theme+$font+$family});
13
+ }
@@ -1,21 +1,21 @@
1
- /*
2
- * Copyright ©2024 Ewsgit<https://github.com/ewsgit> and YourDash<https://github.com/yourdash> contributors.
3
- * YourDash is licensed under the MIT License. (https://ewsgit.mit-license.org)
4
- */
5
-
6
- import clippy from "@yourdash/shared/web/helpers/clippy.ts";
7
- import styles from "./text.module.scss";
8
- import { FC } from "react";
9
-
10
- const Tag: FC<{ text: string; color: string; className?: string }> = (props) => {
11
- return (
12
- <div
13
- className={clippy(styles.component, props.className)}
14
- style={{ backgroundColor: props.color }}
15
- >
16
- {props.text}
17
- </div>
18
- );
19
- };
20
-
21
- export default Tag;
1
+ /*
2
+ * Copyright ©2024 Ewsgit<https://github.com/ewsgit> and YourDash<https://github.com/yourdash> contributors.
3
+ * YourDash is licensed under the MIT License. (https://ewsgit.mit-license.org)
4
+ */
5
+
6
+ import clippy from "@yourdash/shared/web/helpers/clippy.ts";
7
+ import styles from "./text.module.scss";
8
+ import { FC } from "react";
9
+
10
+ const Tag: FC<{ text: string; color: string; className?: string }> = (props) => {
11
+ return (
12
+ <div
13
+ className={clippy(styles.component, props.className)}
14
+ style={{ backgroundColor: props.color }}
15
+ >
16
+ {props.text}
17
+ </div>
18
+ );
19
+ };
20
+
21
+ export default Tag;
@@ -1,13 +1,13 @@
1
- /*!
2
- * Copyright ©2024 Ewsgit<https://github.com/ewsgit> and YourDash<https://github.com/yourdash> contributors.
3
- * YourDash is licensed under the MIT License. (https://ewsgit.mit-license.org)
4
- */
5
-
6
- @import "../../theme/themeValues";
7
-
8
- .component {
9
- display: inline-block;
10
- font-weight: var(#{$theme+$font+$weight});
11
- font-size: var(#{$theme+$font+$size});
12
- font-family: var(#{$theme+$font+$family});
13
- }
1
+ /*!
2
+ * Copyright ©2024 Ewsgit<https://github.com/ewsgit> and YourDash<https://github.com/yourdash> contributors.
3
+ * YourDash is licensed under the MIT License. (https://ewsgit.mit-license.org)
4
+ */
5
+
6
+ @use "@yourdash/uikit/theme/themeValues" as *;
7
+
8
+ .component {
9
+ display: inline-block;
10
+ font-weight: var(#{$theme+$font+$weight});
11
+ font-size: var(#{$theme+$font+$size});
12
+ font-family: var(#{$theme+$font+$family});
13
+ }
@@ -1,14 +1,14 @@
1
- /*
2
- * Copyright ©2024 Ewsgit<https://github.com/ewsgit> and YourDash<https://github.com/yourdash> contributors.
3
- * YourDash is licensed under the MIT License. (https://ewsgit.mit-license.org)
4
- */
5
-
6
- import clippy from "@yourdash/shared/web/helpers/clippy.ts";
7
- import styles from "./text.module.scss";
8
- import { FC } from "react";
9
-
10
- const Text: FC<{ text: string; className?: string }> = (props) => {
11
- return <div className={clippy(styles.component, props.className)}>{props.text}</div>;
12
- };
13
-
14
- export default Text;
1
+ /*
2
+ * Copyright ©2024 Ewsgit<https://github.com/ewsgit> and YourDash<https://github.com/yourdash> contributors.
3
+ * YourDash is licensed under the MIT License. (https://ewsgit.mit-license.org)
4
+ */
5
+
6
+ import clippy from "@yourdash/shared/web/helpers/clippy.ts";
7
+ import styles from "./text.module.scss";
8
+ import { FC } from "react";
9
+
10
+ const Text: FC<{ text: string; className?: string }> = (props) => {
11
+ return <div className={clippy(styles.component, props.className)}>{props.text}</div>;
12
+ };
13
+
14
+ export default Text;
@@ -1,30 +1,30 @@
1
- /*!
2
- * Copyright ©2024 Ewsgit<https://github.com/ewsgit> and YourDash<https://github.com/yourdash> contributors.
3
- * YourDash is licensed under the MIT License. (https://ewsgit.mit-license.org)
4
- */
5
-
6
- @import "../../theme/themeValues";
7
-
8
- .component {
9
- font-family: var(#{$theme}#{$font}#{$family});
10
- text-align: center;
11
- color: var(#{$theme}#{$button}#{$color});
12
- transition: var(#{$theme}#{$button}#{$transition});
13
- width: max-content;
14
- cursor: pointer;
15
- border: none;
16
- background: transparent;
17
- font-weight: var(#{$theme+$textbutton+$font+$weight});
18
-
19
- &:hover {
20
- color: var(#{$theme}#{$accent});
21
- opacity: 0.8;
22
- transition: var(#{$theme}#{$button}#{$hover}#{$transition});
23
- }
24
-
25
- &:active {
26
- color: var(#{$theme}#{$accent});
27
- opacity: 1;
28
- transition: var(#{$theme}#{$button}#{$active}#{$transition});
29
- }
30
- }
1
+ /*!
2
+ * Copyright ©2024 Ewsgit<https://github.com/ewsgit> and YourDash<https://github.com/yourdash> contributors.
3
+ * YourDash is licensed under the MIT License. (https://ewsgit.mit-license.org)
4
+ */
5
+
6
+ @use "@yourdash/uikit/theme/themeValues" as *;
7
+
8
+ .component {
9
+ font-family: var(#{$theme}#{$font}#{$family});
10
+ text-align: center;
11
+ color: var(#{$theme}#{$button}#{$color});
12
+ transition: var(#{$theme}#{$button}#{$transition});
13
+ width: max-content;
14
+ cursor: pointer;
15
+ border: none;
16
+ background: transparent;
17
+ font-weight: var(#{$theme+$textbutton+$font+$weight});
18
+
19
+ &:hover {
20
+ color: var(#{$theme}#{$accent});
21
+ opacity: 0.8;
22
+ transition: var(#{$theme}#{$button}#{$hover}#{$transition});
23
+ }
24
+
25
+ &:active {
26
+ color: var(#{$theme}#{$accent});
27
+ opacity: 1;
28
+ transition: var(#{$theme}#{$button}#{$active}#{$transition});
29
+ }
30
+ }
@@ -1,22 +1,22 @@
1
- /*
2
- * Copyright ©2024 Ewsgit<https://github.com/ewsgit> and YourDash<https://github.com/yourdash> contributors.
3
- * YourDash is licensed under the MIT License. (https://ewsgit.mit-license.org)
4
- */
5
-
6
- import clippy from "@yourdash/shared/web/helpers/clippy.ts";
7
- import styles from "./textButton.module.scss";
8
- import { FC } from "react";
9
-
10
- const TextButton: FC<{ onClick: () => void; text: string; className?: string }> = (props) => {
11
- return (
12
- <button
13
- className={clippy(styles.component, props.className)}
14
- onClick={props.onClick}
15
- aria-label={props.text}
16
- >
17
- {props.text}
18
- </button>
19
- );
20
- };
21
-
22
- export default TextButton;
1
+ /*
2
+ * Copyright ©2024 Ewsgit<https://github.com/ewsgit> and YourDash<https://github.com/yourdash> contributors.
3
+ * YourDash is licensed under the MIT License. (https://ewsgit.mit-license.org)
4
+ */
5
+
6
+ import clippy from "@yourdash/shared/web/helpers/clippy.ts";
7
+ import styles from "./textButton.module.scss";
8
+ import { FC } from "react";
9
+
10
+ const TextButton: FC<{ onClick: () => void; text: string; className?: string }> = (props) => {
11
+ return (
12
+ <button
13
+ className={clippy(styles.component, props.className)}
14
+ onClick={props.onClick}
15
+ aria-label={props.text}
16
+ >
17
+ {props.text}
18
+ </button>
19
+ );
20
+ };
21
+
22
+ export default TextButton;