@yourdash/uikit 0.1.13 → 0.1.15

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 (684) hide show
  1. package/dist/index.css +1 -1
  2. package/dist/index.d.ts +292 -846
  3. package/dist/index.mjs +508 -474
  4. package/package.json +63 -63
  5. package/lib/components/box/UKBox.tsx +0 -27
  6. package/lib/components/box/box.module.css +0 -24
  7. package/lib/components/box/box.module.css.map +0 -1
  8. package/lib/components/box/box.module.scss +0 -21
  9. package/lib/components/button/UKButton.tsx +0 -24
  10. package/lib/components/button/button.module.css +0 -47
  11. package/lib/components/button/button.module.css.map +0 -1
  12. package/lib/components/button/button.module.scss +0 -47
  13. package/lib/components/buttonCombo/UKButtonCombo.tsx +0 -14
  14. package/lib/components/buttonCombo/buttonCombo.module.css +0 -22
  15. package/lib/components/buttonCombo/buttonCombo.module.css.map +0 -1
  16. package/lib/components/buttonCombo/buttonCombo.module.scss +0 -23
  17. package/lib/components/buttonLink/UKButtonLink.tsx +0 -27
  18. package/lib/components/buttonLink/buttonLink.module.css +0 -49
  19. package/lib/components/buttonLink/buttonLink.module.css.map +0 -1
  20. package/lib/components/buttonLink/buttonLink.module.scss +0 -49
  21. package/lib/components/buttonWithIcon/UKButtonWithIcon.tsx +0 -36
  22. package/lib/components/buttonWithIcon/buttonWithIcon.module.css +0 -54
  23. package/lib/components/buttonWithIcon/buttonWithIcon.module.css.map +0 -1
  24. package/lib/components/buttonWithIcon/buttonWithIcon.module.scss +0 -54
  25. package/lib/components/card/UKCard.tsx +0 -64
  26. package/lib/components/card/card.module.css +0 -76
  27. package/lib/components/card/card.module.css.map +0 -1
  28. package/lib/components/card/card.module.scss +0 -78
  29. package/lib/components/container/UKContainer.tsx +0 -24
  30. package/lib/components/container/container.module.css +0 -23
  31. package/lib/components/container/container.module.css.map +0 -1
  32. package/lib/components/container/container.module.scss +0 -24
  33. package/lib/components/contextMenu/UKContextMenu.tsx +0 -55
  34. package/lib/components/contextMenu/contextMenuRoot.module.css +0 -34
  35. package/lib/components/contextMenu/contextMenuRoot.module.css.map +0 -1
  36. package/lib/components/contextMenu/contextMenuRoot.module.scss +0 -31
  37. package/lib/components/contextMenu/contextMenuRoot.tsx +0 -83
  38. package/lib/components/contextMenu/contextMenuRootContext.tsx +0 -16
  39. package/lib/components/flex/UKFlex.tsx +0 -38
  40. package/lib/components/flex/flex.module.css +0 -35
  41. package/lib/components/flex/flex.module.css.map +0 -1
  42. package/lib/components/flex/flex.module.scss +0 -31
  43. package/lib/components/heading/UKHeading.tsx +0 -72
  44. package/lib/components/heading/heading.module.css +0 -47
  45. package/lib/components/heading/heading.module.css.map +0 -1
  46. package/lib/components/heading/heading.module.scss +0 -43
  47. package/lib/components/icon/UKIcon.tsx +0 -42
  48. package/lib/components/icon/icon.module.scss +0 -26
  49. package/lib/components/iconButton/UKIconButton.tsx +0 -36
  50. package/lib/components/iconButton/iconButton.module.css +0 -42
  51. package/lib/components/iconButton/iconButton.module.css.map +0 -1
  52. package/lib/components/iconButton/iconButton.module.scss +0 -40
  53. package/lib/components/image/UKImage.tsx +0 -111
  54. package/lib/components/image/image.module.css +0 -76
  55. package/lib/components/image/image.module.css.map +0 -1
  56. package/lib/components/image/image.module.scss +0 -81
  57. package/lib/components/link/UKLink.tsx +0 -29
  58. package/lib/components/link/link.module.css +0 -33
  59. package/lib/components/link/link.module.css.map +0 -1
  60. package/lib/components/link/link.module.scss +0 -36
  61. package/lib/components/progressBar/UKProgressBar.tsx +0 -29
  62. package/lib/components/progressBar/progressBar.module.css +0 -29
  63. package/lib/components/progressBar/progressBar.module.css.map +0 -1
  64. package/lib/components/progressBar/progressBar.module.scss +0 -25
  65. package/lib/components/redirect/UKRedirect.tsx +0 -23
  66. package/lib/components/separator/UKSeparator.tsx +0 -14
  67. package/lib/components/separator/separator.module.css +0 -40
  68. package/lib/components/separator/separator.module.css.map +0 -1
  69. package/lib/components/separator/separator.module.scss +0 -38
  70. package/lib/components/spinner/UKSpinner.tsx +0 -31
  71. package/lib/components/spinner/spinner.module.css +0 -93
  72. package/lib/components/spinner/spinner.module.css.map +0 -1
  73. package/lib/components/spinner/spinner.module.scss +0 -88
  74. package/lib/components/subtext/UKSubtext.tsx +0 -14
  75. package/lib/components/subtext/subtext.module.css +0 -21
  76. package/lib/components/subtext/subtext.module.css.map +0 -1
  77. package/lib/components/subtext/subtext.module.scss +0 -17
  78. package/lib/components/tag/UKTag.tsx +0 -21
  79. package/lib/components/tag/tag.module.css +0 -17
  80. package/lib/components/tag/tag.module.css.map +0 -1
  81. package/lib/components/tag/tag.module.scss +0 -13
  82. package/lib/components/text/UKText.tsx +0 -14
  83. package/lib/components/text/text.module.css +0 -17
  84. package/lib/components/text/text.module.css.map +0 -1
  85. package/lib/components/text/text.module.scss +0 -13
  86. package/lib/components/textButton/UKTextButton.tsx +0 -22
  87. package/lib/components/textButton/textButton.module.css +0 -32
  88. package/lib/components/textButton/textButton.module.css.map +0 -1
  89. package/lib/components/textButton/textButton.module.scss +0 -30
  90. package/lib/components/textInput/UKTextInput.tsx +0 -78
  91. package/lib/components/textInput/textInput.module.css +0 -51
  92. package/lib/components/textInput/textInput.module.css.map +0 -1
  93. package/lib/components/textInput/textInput.module.scss +0 -52
  94. package/lib/core/clippy.ts +0 -14
  95. package/lib/core/decrementLevel.tsx +0 -15
  96. package/lib/core/iconDictionary.ts +0 -293
  97. package/lib/core/icons/accessibility-16.svg +0 -6
  98. package/lib/core/icons/accessibility-inset-16.svg +0 -6
  99. package/lib/core/icons/alert-16.svg +0 -6
  100. package/lib/core/icons/alert-24.svg +0 -7
  101. package/lib/core/icons/alert-fill-12.svg +0 -6
  102. package/lib/core/icons/app-launcher-16.svg +0 -8
  103. package/lib/core/icons/apps-16.svg +0 -6
  104. package/lib/core/icons/archive-16.svg +0 -6
  105. package/lib/core/icons/archive-24.svg +0 -9
  106. package/lib/core/icons/arrow-both-16.svg +0 -6
  107. package/lib/core/icons/arrow-both-24.svg +0 -3
  108. package/lib/core/icons/arrow-down-16.svg +0 -6
  109. package/lib/core/icons/arrow-down-24.svg +0 -6
  110. package/lib/core/icons/arrow-down-left-24.svg +0 -6
  111. package/lib/core/icons/arrow-down-right-24.svg +0 -6
  112. package/lib/core/icons/arrow-left-16.svg +0 -6
  113. package/lib/core/icons/arrow-left-24.svg +0 -6
  114. package/lib/core/icons/arrow-right-16.svg +0 -6
  115. package/lib/core/icons/arrow-right-24.svg +0 -6
  116. package/lib/core/icons/arrow-switch-16.svg +0 -3
  117. package/lib/core/icons/arrow-switch-24.svg +0 -3
  118. package/lib/core/icons/arrow-up-16.svg +0 -6
  119. package/lib/core/icons/arrow-up-24.svg +0 -6
  120. package/lib/core/icons/arrow-up-left-24.svg +0 -6
  121. package/lib/core/icons/arrow-up-right-24.svg +0 -6
  122. package/lib/core/icons/beaker-16.svg +0 -6
  123. package/lib/core/icons/beaker-24.svg +0 -6
  124. package/lib/core/icons/bell-16.svg +0 -7
  125. package/lib/core/icons/bell-24.svg +0 -6
  126. package/lib/core/icons/bell-fill-16.svg +0 -3
  127. package/lib/core/icons/bell-fill-24.svg +0 -6
  128. package/lib/core/icons/bell-slash-16.svg +0 -6
  129. package/lib/core/icons/bell-slash-24.svg +0 -8
  130. package/lib/core/icons/blocked-16.svg +0 -6
  131. package/lib/core/icons/blocked-24.svg +0 -6
  132. package/lib/core/icons/bold-16.svg +0 -6
  133. package/lib/core/icons/bold-24.svg +0 -6
  134. package/lib/core/icons/book-16.svg +0 -6
  135. package/lib/core/icons/book-24.svg +0 -6
  136. package/lib/core/icons/bookmark-16.svg +0 -6
  137. package/lib/core/icons/bookmark-24.svg +0 -6
  138. package/lib/core/icons/bookmark-fill-24.svg +0 -6
  139. package/lib/core/icons/bookmark-slash-16.svg +0 -6
  140. package/lib/core/icons/bookmark-slash-24.svg +0 -7
  141. package/lib/core/icons/bookmark-slash-fill-24.svg +0 -6
  142. package/lib/core/icons/briefcase-16.svg +0 -6
  143. package/lib/core/icons/briefcase-24.svg +0 -6
  144. package/lib/core/icons/broadcast-16.svg +0 -6
  145. package/lib/core/icons/broadcast-24.svg +0 -3
  146. package/lib/core/icons/browser-16.svg +0 -6
  147. package/lib/core/icons/browser-24.svg +0 -6
  148. package/lib/core/icons/bug-16.svg +0 -6
  149. package/lib/core/icons/bug-24.svg +0 -6
  150. package/lib/core/icons/cache-16.svg +0 -8
  151. package/lib/core/icons/calendar-16.svg +0 -6
  152. package/lib/core/icons/calendar-24.svg +0 -6
  153. package/lib/core/icons/check-16.svg +0 -6
  154. package/lib/core/icons/check-24.svg +0 -6
  155. package/lib/core/icons/check-circle-16.svg +0 -6
  156. package/lib/core/icons/check-circle-24.svg +0 -7
  157. package/lib/core/icons/check-circle-fill-12.svg +0 -6
  158. package/lib/core/icons/check-circle-fill-16.svg +0 -6
  159. package/lib/core/icons/check-circle-fill-24.svg +0 -6
  160. package/lib/core/icons/checkbox-16.svg +0 -6
  161. package/lib/core/icons/checkbox-24.svg +0 -7
  162. package/lib/core/icons/checklist-16.svg +0 -6
  163. package/lib/core/icons/checklist-24.svg +0 -3
  164. package/lib/core/icons/chevron-down-16.svg +0 -6
  165. package/lib/core/icons/chevron-down-24.svg +0 -6
  166. package/lib/core/icons/chevron-left-16.svg +0 -6
  167. package/lib/core/icons/chevron-left-24.svg +0 -6
  168. package/lib/core/icons/chevron-right-16.svg +0 -6
  169. package/lib/core/icons/chevron-right-24.svg +0 -6
  170. package/lib/core/icons/chevron-up-16.svg +0 -6
  171. package/lib/core/icons/chevron-up-24.svg +0 -6
  172. package/lib/core/icons/circle-16.svg +0 -5
  173. package/lib/core/icons/circle-24.svg +0 -6
  174. package/lib/core/icons/circle-slash-16.svg +0 -6
  175. package/lib/core/icons/circle-slash-24.svg +0 -6
  176. package/lib/core/icons/clock-16.svg +0 -6
  177. package/lib/core/icons/clock-24.svg +0 -7
  178. package/lib/core/icons/cloud-16.svg +0 -6
  179. package/lib/core/icons/cloud-24.svg +0 -6
  180. package/lib/core/icons/cloud-offline-16.svg +0 -8
  181. package/lib/core/icons/cloud-offline-24.svg +0 -8
  182. package/lib/core/icons/code-16.svg +0 -6
  183. package/lib/core/icons/code-24.svg +0 -6
  184. package/lib/core/icons/code-of-conduct-16.svg +0 -6
  185. package/lib/core/icons/code-of-conduct-24.svg +0 -6
  186. package/lib/core/icons/code-review-16.svg +0 -6
  187. package/lib/core/icons/code-review-24.svg +0 -8
  188. package/lib/core/icons/code-square-16.svg +0 -6
  189. package/lib/core/icons/code-square-24.svg +0 -8
  190. package/lib/core/icons/codescan-16.svg +0 -8
  191. package/lib/core/icons/codescan-24.svg +0 -8
  192. package/lib/core/icons/codescan-checkmark-16.svg +0 -7
  193. package/lib/core/icons/codescan-checkmark-24.svg +0 -7
  194. package/lib/core/icons/codespaces-16.svg +0 -8
  195. package/lib/core/icons/codespaces-24.svg +0 -8
  196. package/lib/core/icons/columns-16.svg +0 -6
  197. package/lib/core/icons/columns-24.svg +0 -6
  198. package/lib/core/icons/command-palette-16.svg +0 -3
  199. package/lib/core/icons/command-palette-24.svg +0 -3
  200. package/lib/core/icons/comment-16.svg +0 -6
  201. package/lib/core/icons/comment-24.svg +0 -6
  202. package/lib/core/icons/comment-discussion-16.svg +0 -6
  203. package/lib/core/icons/comment-discussion-24.svg +0 -8
  204. package/lib/core/icons/commit-24.svg +0 -7
  205. package/lib/core/icons/container-16.svg +0 -6
  206. package/lib/core/icons/container-24.svg +0 -6
  207. package/lib/core/icons/copilot-16.svg +0 -7
  208. package/lib/core/icons/copilot-24.svg +0 -7
  209. package/lib/core/icons/copilot-48.svg +0 -7
  210. package/lib/core/icons/copilot-96.svg +0 -7
  211. package/lib/core/icons/copilot-error-16.svg +0 -6
  212. package/lib/core/icons/copilot-warning-16.svg +0 -8
  213. package/lib/core/icons/copy-16.svg +0 -8
  214. package/lib/core/icons/copy-24.svg +0 -8
  215. package/lib/core/icons/cpu-16.svg +0 -6
  216. package/lib/core/icons/cpu-24.svg +0 -8
  217. package/lib/core/icons/credit-card-16.svg +0 -7
  218. package/lib/core/icons/credit-card-24.svg +0 -7
  219. package/lib/core/icons/cross-reference-16.svg +0 -6
  220. package/lib/core/icons/cross-reference-24.svg +0 -3
  221. package/lib/core/icons/dash-16.svg +0 -5
  222. package/lib/core/icons/dash-24.svg +0 -5
  223. package/lib/core/icons/database-16.svg +0 -6
  224. package/lib/core/icons/database-24.svg +0 -6
  225. package/lib/core/icons/dependabot-16.svg +0 -7
  226. package/lib/core/icons/dependabot-24.svg +0 -7
  227. package/lib/core/icons/desktop-download-16.svg +0 -3
  228. package/lib/core/icons/desktop-download-24.svg +0 -8
  229. package/lib/core/icons/device-camera-16.svg +0 -6
  230. package/lib/core/icons/device-camera-video-16.svg +0 -6
  231. package/lib/core/icons/device-camera-video-24.svg +0 -6
  232. package/lib/core/icons/device-desktop-16.svg +0 -6
  233. package/lib/core/icons/device-desktop-24.svg +0 -6
  234. package/lib/core/icons/device-mobile-16.svg +0 -6
  235. package/lib/core/icons/device-mobile-24.svg +0 -7
  236. package/lib/core/icons/diamond-16.svg +0 -6
  237. package/lib/core/icons/diamond-24.svg +0 -6
  238. package/lib/core/icons/diff-16.svg +0 -6
  239. package/lib/core/icons/diff-24.svg +0 -6
  240. package/lib/core/icons/diff-added-16.svg +0 -6
  241. package/lib/core/icons/diff-ignored-16.svg +0 -6
  242. package/lib/core/icons/diff-modified-16.svg +0 -6
  243. package/lib/core/icons/diff-removed-16.svg +0 -6
  244. package/lib/core/icons/diff-renamed-16.svg +0 -6
  245. package/lib/core/icons/dot-16.svg +0 -5
  246. package/lib/core/icons/dot-24.svg +0 -5
  247. package/lib/core/icons/dot-fill-16.svg +0 -5
  248. package/lib/core/icons/dot-fill-24.svg +0 -3
  249. package/lib/core/icons/download-16.svg +0 -6
  250. package/lib/core/icons/download-24.svg +0 -3
  251. package/lib/core/icons/duplicate-16.svg +0 -9
  252. package/lib/core/icons/duplicate-24.svg +0 -9
  253. package/lib/core/icons/ellipsis-16.svg +0 -6
  254. package/lib/core/icons/ewsgit.svg +0 -14
  255. package/lib/core/icons/eye-16.svg +0 -6
  256. package/lib/core/icons/eye-24.svg +0 -7
  257. package/lib/core/icons/eye-closed-16.svg +0 -6
  258. package/lib/core/icons/eye-closed-24.svg +0 -8
  259. package/lib/core/icons/feed-discussion-16.svg +0 -6
  260. package/lib/core/icons/feed-forked-16.svg +0 -6
  261. package/lib/core/icons/feed-heart-16.svg +0 -6
  262. package/lib/core/icons/feed-merged-16.svg +0 -6
  263. package/lib/core/icons/feed-person-16.svg +0 -6
  264. package/lib/core/icons/feed-repo-16.svg +0 -6
  265. package/lib/core/icons/feed-rocket-16.svg +0 -6
  266. package/lib/core/icons/feed-star-16.svg +0 -6
  267. package/lib/core/icons/feed-tag-16.svg +0 -7
  268. package/lib/core/icons/feed-trophy-16.svg +0 -7
  269. package/lib/core/icons/file-16.svg +0 -6
  270. package/lib/core/icons/file-24.svg +0 -6
  271. package/lib/core/icons/file-added-16.svg +0 -6
  272. package/lib/core/icons/file-badge-16.svg +0 -8
  273. package/lib/core/icons/file-binary-16.svg +0 -6
  274. package/lib/core/icons/file-binary-24.svg +0 -9
  275. package/lib/core/icons/file-code-16.svg +0 -6
  276. package/lib/core/icons/file-code-24.svg +0 -8
  277. package/lib/core/icons/file-diff-16.svg +0 -6
  278. package/lib/core/icons/file-diff-24.svg +0 -8
  279. package/lib/core/icons/file-directory-16.svg +0 -6
  280. package/lib/core/icons/file-directory-24.svg +0 -6
  281. package/lib/core/icons/file-directory-fill-16.svg +0 -3
  282. package/lib/core/icons/file-directory-fill-24.svg +0 -6
  283. package/lib/core/icons/file-directory-open-fill-16.svg +0 -3
  284. package/lib/core/icons/file-media-24.svg +0 -6
  285. package/lib/core/icons/file-moved-16.svg +0 -3
  286. package/lib/core/icons/file-removed-16.svg +0 -6
  287. package/lib/core/icons/file-submodule-16.svg +0 -6
  288. package/lib/core/icons/file-submodule-24.svg +0 -6
  289. package/lib/core/icons/file-symlink-file-16.svg +0 -6
  290. package/lib/core/icons/file-symlink-file-24.svg +0 -6
  291. package/lib/core/icons/file-zip-16.svg +0 -6
  292. package/lib/core/icons/file-zip-24.svg +0 -10
  293. package/lib/core/icons/filter-16.svg +0 -6
  294. package/lib/core/icons/filter-24.svg +0 -3
  295. package/lib/core/icons/flame-16.svg +0 -6
  296. package/lib/core/icons/flame-24.svg +0 -6
  297. package/lib/core/icons/fold-16.svg +0 -3
  298. package/lib/core/icons/fold-24.svg +0 -10
  299. package/lib/core/icons/fold-down-16.svg +0 -3
  300. package/lib/core/icons/fold-down-24.svg +0 -8
  301. package/lib/core/icons/fold-up-16.svg +0 -3
  302. package/lib/core/icons/fold-up-24.svg +0 -8
  303. package/lib/core/icons/gear-16.svg +0 -6
  304. package/lib/core/icons/gear-24.svg +0 -7
  305. package/lib/core/icons/gift-16.svg +0 -6
  306. package/lib/core/icons/gift-24.svg +0 -6
  307. package/lib/core/icons/git-branch-16.svg +0 -6
  308. package/lib/core/icons/git-branch-24.svg +0 -9
  309. package/lib/core/icons/git-commit-16.svg +0 -6
  310. package/lib/core/icons/git-commit-24.svg +0 -6
  311. package/lib/core/icons/git-compare-16.svg +0 -6
  312. package/lib/core/icons/git-compare-24.svg +0 -9
  313. package/lib/core/icons/git-merge-16.svg +0 -6
  314. package/lib/core/icons/git-merge-24.svg +0 -8
  315. package/lib/core/icons/git-merge-queue-16.svg +0 -8
  316. package/lib/core/icons/git-pull-request-16.svg +0 -6
  317. package/lib/core/icons/git-pull-request-24.svg +0 -8
  318. package/lib/core/icons/git-pull-request-closed-16.svg +0 -6
  319. package/lib/core/icons/git-pull-request-closed-24.svg +0 -8
  320. package/lib/core/icons/git-pull-request-draft-16.svg +0 -7
  321. package/lib/core/icons/git-pull-request-draft-24.svg +0 -7
  322. package/lib/core/icons/globe-16.svg +0 -6
  323. package/lib/core/icons/globe-24.svg +0 -6
  324. package/lib/core/icons/grabber-16.svg +0 -6
  325. package/lib/core/icons/grabber-24.svg +0 -6
  326. package/lib/core/icons/graph-16.svg +0 -6
  327. package/lib/core/icons/graph-24.svg +0 -3
  328. package/lib/core/icons/hash-16.svg +0 -6
  329. package/lib/core/icons/hash-24.svg +0 -6
  330. package/lib/core/icons/heading-16.svg +0 -6
  331. package/lib/core/icons/heading-24.svg +0 -6
  332. package/lib/core/icons/heart-16.svg +0 -6
  333. package/lib/core/icons/heart-24.svg +0 -6
  334. package/lib/core/icons/heart-fill-16.svg +0 -6
  335. package/lib/core/icons/heart-fill-24.svg +0 -3
  336. package/lib/core/icons/history-16.svg +0 -6
  337. package/lib/core/icons/history-24.svg +0 -3
  338. package/lib/core/icons/home-16.svg +0 -3
  339. package/lib/core/icons/home-24.svg +0 -6
  340. package/lib/core/icons/home-fill-24.svg +0 -3
  341. package/lib/core/icons/horizontal-rule-16.svg +0 -5
  342. package/lib/core/icons/horizontal-rule-24.svg +0 -5
  343. package/lib/core/icons/hourglass-16.svg +0 -6
  344. package/lib/core/icons/hourglass-24.svg +0 -6
  345. package/lib/core/icons/hubot-16.svg +0 -6
  346. package/lib/core/icons/hubot-24.svg +0 -8
  347. package/lib/core/icons/id-badge-16.svg +0 -8
  348. package/lib/core/icons/image-16.svg +0 -6
  349. package/lib/core/icons/image-24.svg +0 -6
  350. package/lib/core/icons/inbox-16.svg +0 -6
  351. package/lib/core/icons/inbox-24.svg +0 -6
  352. package/lib/core/icons/infinity-16.svg +0 -6
  353. package/lib/core/icons/infinity-24.svg +0 -6
  354. package/lib/core/icons/info-16.svg +0 -6
  355. package/lib/core/icons/info-24.svg +0 -8
  356. package/lib/core/icons/issue-closed-16.svg +0 -6
  357. package/lib/core/icons/issue-closed-24.svg +0 -7
  358. package/lib/core/icons/issue-draft-16.svg +0 -6
  359. package/lib/core/icons/issue-draft-24.svg +0 -6
  360. package/lib/core/icons/issue-opened-16.svg +0 -6
  361. package/lib/core/icons/issue-opened-24.svg +0 -6
  362. package/lib/core/icons/issue-reopened-16.svg +0 -3
  363. package/lib/core/icons/issue-reopened-24.svg +0 -3
  364. package/lib/core/icons/italic-16.svg +0 -6
  365. package/lib/core/icons/italic-24.svg +0 -6
  366. package/lib/core/icons/iterations-16.svg +0 -3
  367. package/lib/core/icons/iterations-24.svg +0 -3
  368. package/lib/core/icons/kebab-horizontal-16.svg +0 -3
  369. package/lib/core/icons/kebab-horizontal-24.svg +0 -5
  370. package/lib/core/icons/key-16.svg +0 -6
  371. package/lib/core/icons/key-24.svg +0 -7
  372. package/lib/core/icons/key-asterisk-16.svg +0 -8
  373. package/lib/core/icons/law-16.svg +0 -6
  374. package/lib/core/icons/law-24.svg +0 -6
  375. package/lib/core/icons/light-bulb-16.svg +0 -6
  376. package/lib/core/icons/light-bulb-24.svg +0 -6
  377. package/lib/core/icons/link-16.svg +0 -6
  378. package/lib/core/icons/link-24.svg +0 -3
  379. package/lib/core/icons/link-external-16.svg +0 -6
  380. package/lib/core/icons/link-external-24.svg +0 -3
  381. package/lib/core/icons/list-ordered-16.svg +0 -6
  382. package/lib/core/icons/list-ordered-24.svg +0 -3
  383. package/lib/core/icons/list-unordered-16.svg +0 -6
  384. package/lib/core/icons/list-unordered-24.svg +0 -6
  385. package/lib/core/icons/location-16.svg +0 -6
  386. package/lib/core/icons/location-24.svg +0 -7
  387. package/lib/core/icons/lock-16.svg +0 -6
  388. package/lib/core/icons/lock-24.svg +0 -6
  389. package/lib/core/icons/log-16.svg +0 -7
  390. package/lib/core/icons/login.svg +0 -6
  391. package/lib/core/icons/logo-gist-16.svg +0 -6
  392. package/lib/core/icons/logo-github-16.svg +0 -6
  393. package/lib/core/icons/logout.svg +0 -6
  394. package/lib/core/icons/mail-16.svg +0 -6
  395. package/lib/core/icons/mail-24.svg +0 -6
  396. package/lib/core/icons/mark-github-16.svg +0 -6
  397. package/lib/core/icons/markdown-16.svg +0 -6
  398. package/lib/core/icons/megaphone-16.svg +0 -11
  399. package/lib/core/icons/megaphone-24.svg +0 -6
  400. package/lib/core/icons/mention-16.svg +0 -6
  401. package/lib/core/icons/mention-24.svg +0 -6
  402. package/lib/core/icons/meter-16.svg +0 -6
  403. package/lib/core/icons/milestone-16.svg +0 -6
  404. package/lib/core/icons/milestone-24.svg +0 -6
  405. package/lib/core/icons/mirror-16.svg +0 -6
  406. package/lib/core/icons/mirror-24.svg +0 -6
  407. package/lib/core/icons/moon-16.svg +0 -6
  408. package/lib/core/icons/moon-24.svg +0 -6
  409. package/lib/core/icons/mortar-board-16.svg +0 -6
  410. package/lib/core/icons/mortar-board-24.svg +0 -6
  411. package/lib/core/icons/multi-select-16.svg +0 -7
  412. package/lib/core/icons/multi-select-24.svg +0 -7
  413. package/lib/core/icons/mute-16.svg +0 -6
  414. package/lib/core/icons/mute-24.svg +0 -8
  415. package/lib/core/icons/no-entry-16.svg +0 -6
  416. package/lib/core/icons/no-entry-24.svg +0 -6
  417. package/lib/core/icons/no-entry-fill-12.svg +0 -5
  418. package/lib/core/icons/north-star-16.svg +0 -3
  419. package/lib/core/icons/north-star-24.svg +0 -3
  420. package/lib/core/icons/note-16.svg +0 -6
  421. package/lib/core/icons/note-24.svg +0 -8
  422. package/lib/core/icons/number-16.svg +0 -6
  423. package/lib/core/icons/number-24.svg +0 -6
  424. package/lib/core/icons/organization-16.svg +0 -6
  425. package/lib/core/icons/organization-24.svg +0 -8
  426. package/lib/core/icons/package-16.svg +0 -6
  427. package/lib/core/icons/package-24.svg +0 -6
  428. package/lib/core/icons/package-dependencies-16.svg +0 -6
  429. package/lib/core/icons/package-dependencies-24.svg +0 -8
  430. package/lib/core/icons/package-dependents-16.svg +0 -6
  431. package/lib/core/icons/package-dependents-24.svg +0 -8
  432. package/lib/core/icons/paintbrush-16.svg +0 -6
  433. package/lib/core/icons/paper-airplane-16.svg +0 -6
  434. package/lib/core/icons/paper-airplane-24.svg +0 -6
  435. package/lib/core/icons/paperclip-16.svg +0 -6
  436. package/lib/core/icons/paperclip-24.svg +0 -6
  437. package/lib/core/icons/paste-16.svg +0 -6
  438. package/lib/core/icons/paste-24.svg +0 -8
  439. package/lib/core/icons/pencil-16.svg +0 -6
  440. package/lib/core/icons/pencil-24.svg +0 -6
  441. package/lib/core/icons/people-16.svg +0 -6
  442. package/lib/core/icons/people-24.svg +0 -8
  443. package/lib/core/icons/person-16.svg +0 -6
  444. package/lib/core/icons/person-24.svg +0 -6
  445. package/lib/core/icons/person-add-16.svg +0 -6
  446. package/lib/core/icons/person-add-24.svg +0 -6
  447. package/lib/core/icons/person-fill-16.svg +0 -3
  448. package/lib/core/icons/person-fill-24.svg +0 -3
  449. package/lib/core/icons/pin-16.svg +0 -6
  450. package/lib/core/icons/pin-24.svg +0 -6
  451. package/lib/core/icons/play-16.svg +0 -6
  452. package/lib/core/icons/play-24.svg +0 -7
  453. package/lib/core/icons/plug-16.svg +0 -6
  454. package/lib/core/icons/plug-24.svg +0 -6
  455. package/lib/core/icons/plus-16.svg +0 -6
  456. package/lib/core/icons/plus-24.svg +0 -6
  457. package/lib/core/icons/plus-circle-16.svg +0 -6
  458. package/lib/core/icons/plus-circle-24.svg +0 -7
  459. package/lib/core/icons/project-16.svg +0 -6
  460. package/lib/core/icons/project-24.svg +0 -8
  461. package/lib/core/icons/pulse-16.svg +0 -6
  462. package/lib/core/icons/pulse-24.svg +0 -6
  463. package/lib/core/icons/question-16.svg +0 -6
  464. package/lib/core/icons/question-24.svg +0 -8
  465. package/lib/core/icons/quote-16.svg +0 -6
  466. package/lib/core/icons/quote-24.svg +0 -6
  467. package/lib/core/icons/reply-16.svg +0 -6
  468. package/lib/core/icons/reply-24.svg +0 -3
  469. package/lib/core/icons/repo-16.svg +0 -6
  470. package/lib/core/icons/repo-24.svg +0 -7
  471. package/lib/core/icons/repo-clone-16.svg +0 -6
  472. package/lib/core/icons/repo-deleted-16.svg +0 -3
  473. package/lib/core/icons/repo-forked-16.svg +0 -6
  474. package/lib/core/icons/repo-forked-24.svg +0 -9
  475. package/lib/core/icons/repo-locked-16.svg +0 -8
  476. package/lib/core/icons/repo-locked-24.svg +0 -8
  477. package/lib/core/icons/repo-pull-16.svg +0 -6
  478. package/lib/core/icons/repo-push-16.svg +0 -6
  479. package/lib/core/icons/repo-push-24.svg +0 -3
  480. package/lib/core/icons/repo-template-16.svg +0 -6
  481. package/lib/core/icons/repo-template-24.svg +0 -3
  482. package/lib/core/icons/report-16.svg +0 -6
  483. package/lib/core/icons/report-24.svg +0 -6
  484. package/lib/core/icons/rocket-16.svg +0 -6
  485. package/lib/core/icons/rocket-24.svg +0 -6
  486. package/lib/core/icons/rows-16.svg +0 -6
  487. package/lib/core/icons/rows-24.svg +0 -6
  488. package/lib/core/icons/rss-16.svg +0 -6
  489. package/lib/core/icons/rss-24.svg +0 -6
  490. package/lib/core/icons/ruby-16.svg +0 -6
  491. package/lib/core/icons/ruby-24.svg +0 -6
  492. package/lib/core/icons/screen-full-16.svg +0 -6
  493. package/lib/core/icons/screen-full-24.svg +0 -6
  494. package/lib/core/icons/screen-normal-16.svg +0 -6
  495. package/lib/core/icons/screen-normal-24.svg +0 -6
  496. package/lib/core/icons/search-16.svg +0 -6
  497. package/lib/core/icons/search-24.svg +0 -6
  498. package/lib/core/icons/server-16.svg +0 -6
  499. package/lib/core/icons/server-24.svg +0 -8
  500. package/lib/core/icons/server-error.svg +0 -5
  501. package/lib/core/icons/share-16.svg +0 -6
  502. package/lib/core/icons/share-24.svg +0 -6
  503. package/lib/core/icons/share-android-16.svg +0 -6
  504. package/lib/core/icons/share-android-24.svg +0 -6
  505. package/lib/core/icons/shield-16.svg +0 -6
  506. package/lib/core/icons/shield-24.svg +0 -7
  507. package/lib/core/icons/shield-check-16.svg +0 -6
  508. package/lib/core/icons/shield-check-24.svg +0 -7
  509. package/lib/core/icons/shield-lock-16.svg +0 -6
  510. package/lib/core/icons/shield-lock-24.svg +0 -6
  511. package/lib/core/icons/shield-slash-16.svg +0 -8
  512. package/lib/core/icons/shield-x-16.svg +0 -6
  513. package/lib/core/icons/shield-x-24.svg +0 -8
  514. package/lib/core/icons/sidebar-collapse-16.svg +0 -7
  515. package/lib/core/icons/sidebar-collapse-24.svg +0 -7
  516. package/lib/core/icons/sidebar-expand-16.svg +0 -7
  517. package/lib/core/icons/sidebar-expand-24.svg +0 -7
  518. package/lib/core/icons/sign-in-16.svg +0 -6
  519. package/lib/core/icons/sign-in-24.svg +0 -6
  520. package/lib/core/icons/sign-out-16.svg +0 -6
  521. package/lib/core/icons/sign-out-24.svg +0 -6
  522. package/lib/core/icons/single-select-16.svg +0 -7
  523. package/lib/core/icons/single-select-24.svg +0 -7
  524. package/lib/core/icons/skip-16.svg +0 -6
  525. package/lib/core/icons/skip-24.svg +0 -7
  526. package/lib/core/icons/sliders-16.svg +0 -3
  527. package/lib/core/icons/smiley-16.svg +0 -6
  528. package/lib/core/icons/smiley-24.svg +0 -9
  529. package/lib/core/icons/sort-asc-16.svg +0 -6
  530. package/lib/core/icons/sort-asc-24.svg +0 -3
  531. package/lib/core/icons/sort-desc-16.svg +0 -7
  532. package/lib/core/icons/sort-desc-24.svg +0 -3
  533. package/lib/core/icons/square-16.svg +0 -6
  534. package/lib/core/icons/square-24.svg +0 -6
  535. package/lib/core/icons/square-fill-16.svg +0 -6
  536. package/lib/core/icons/square-fill-24.svg +0 -6
  537. package/lib/core/icons/squirrel-16.svg +0 -6
  538. package/lib/core/icons/squirrel-24.svg +0 -3
  539. package/lib/core/icons/stack-16.svg +0 -6
  540. package/lib/core/icons/stack-24.svg +0 -10
  541. package/lib/core/icons/star-16.svg +0 -6
  542. package/lib/core/icons/star-24.svg +0 -6
  543. package/lib/core/icons/star-fill-16.svg +0 -6
  544. package/lib/core/icons/star-fill-24.svg +0 -6
  545. package/lib/core/icons/stop-16.svg +0 -6
  546. package/lib/core/icons/stop-24.svg +0 -7
  547. package/lib/core/icons/stopwatch-16.svg +0 -6
  548. package/lib/core/icons/stopwatch-24.svg +0 -6
  549. package/lib/core/icons/store.svg +0 -7
  550. package/lib/core/icons/strikethrough-16.svg +0 -6
  551. package/lib/core/icons/strikethrough-24.svg +0 -6
  552. package/lib/core/icons/sun-16.svg +0 -6
  553. package/lib/core/icons/sun-24.svg +0 -6
  554. package/lib/core/icons/sync-16.svg +0 -6
  555. package/lib/core/icons/sync-24.svg +0 -3
  556. package/lib/core/icons/tab-24.svg +0 -3
  557. package/lib/core/icons/tab-external-16.svg +0 -3
  558. package/lib/core/icons/table-16.svg +0 -6
  559. package/lib/core/icons/table-24.svg +0 -6
  560. package/lib/core/icons/tag-16.svg +0 -6
  561. package/lib/core/icons/tag-24.svg +0 -7
  562. package/lib/core/icons/tasklist-16.svg +0 -6
  563. package/lib/core/icons/tasklist-24.svg +0 -7
  564. package/lib/core/icons/telescope-16.svg +0 -6
  565. package/lib/core/icons/telescope-24.svg +0 -8
  566. package/lib/core/icons/telescope-fill-16.svg +0 -6
  567. package/lib/core/icons/telescope-fill-24.svg +0 -8
  568. package/lib/core/icons/terminal-16.svg +0 -6
  569. package/lib/core/icons/terminal-24.svg +0 -8
  570. package/lib/core/icons/three-bars-16.svg +0 -6
  571. package/lib/core/icons/thumbsdown-16.svg +0 -6
  572. package/lib/core/icons/thumbsdown-24.svg +0 -6
  573. package/lib/core/icons/thumbsup-16.svg +0 -6
  574. package/lib/core/icons/thumbsup-24.svg +0 -6
  575. package/lib/core/icons/tools-16.svg +0 -6
  576. package/lib/core/icons/tools-24.svg +0 -6
  577. package/lib/core/icons/trash-16.svg +0 -6
  578. package/lib/core/icons/trash-24.svg +0 -10
  579. package/lib/core/icons/triangle-down-16.svg +0 -3
  580. package/lib/core/icons/triangle-down-24.svg +0 -3
  581. package/lib/core/icons/triangle-left-16.svg +0 -3
  582. package/lib/core/icons/triangle-left-24.svg +0 -3
  583. package/lib/core/icons/triangle-right-16.svg +0 -3
  584. package/lib/core/icons/triangle-right-24.svg +0 -3
  585. package/lib/core/icons/triangle-up-16.svg +0 -3
  586. package/lib/core/icons/triangle-up-24.svg +0 -3
  587. package/lib/core/icons/trophy-16.svg +0 -6
  588. package/lib/core/icons/trophy-24.svg +0 -6
  589. package/lib/core/icons/typography-16.svg +0 -6
  590. package/lib/core/icons/typography-24.svg +0 -6
  591. package/lib/core/icons/unfold-16.svg +0 -3
  592. package/lib/core/icons/unfold-24.svg +0 -9
  593. package/lib/core/icons/unlock-16.svg +0 -6
  594. package/lib/core/icons/unlock-24.svg +0 -6
  595. package/lib/core/icons/unmute-16.svg +0 -6
  596. package/lib/core/icons/unmute-24.svg +0 -8
  597. package/lib/core/icons/unverified-16.svg +0 -6
  598. package/lib/core/icons/unverified-24.svg +0 -8
  599. package/lib/core/icons/upload-16.svg +0 -6
  600. package/lib/core/icons/upload-24.svg +0 -6
  601. package/lib/core/icons/verified-16.svg +0 -6
  602. package/lib/core/icons/verified-24.svg +0 -7
  603. package/lib/core/icons/versions-16.svg +0 -6
  604. package/lib/core/icons/versions-24.svg +0 -6
  605. package/lib/core/icons/video-16.svg +0 -7
  606. package/lib/core/icons/video-24.svg +0 -7
  607. package/lib/core/icons/webhook-16.svg +0 -3
  608. package/lib/core/icons/workflow-16.svg +0 -6
  609. package/lib/core/icons/workflow-24.svg +0 -6
  610. package/lib/core/icons/x-16.svg +0 -6
  611. package/lib/core/icons/x-24.svg +0 -6
  612. package/lib/core/icons/x-circle-16.svg +0 -6
  613. package/lib/core/icons/x-circle-24.svg +0 -8
  614. package/lib/core/icons/x-circle-fill-12.svg +0 -6
  615. package/lib/core/icons/x-circle-fill-16.svg +0 -6
  616. package/lib/core/icons/x-circle-fill-24.svg +0 -6
  617. package/lib/core/icons/yourdash.svg +0 -61
  618. package/lib/core/icons/zap-16.svg +0 -6
  619. package/lib/core/icons/zap-24.svg +0 -6
  620. package/lib/core/incrementLevel.tsx +0 -15
  621. package/lib/core/isPhone.ts +0 -30
  622. package/lib/core/level.tsx +0 -27
  623. package/lib/core/remToPx.ts +0 -8
  624. package/lib/core/root.tsx +0 -26
  625. package/lib/core/toasts/toast.module.css +0 -68
  626. package/lib/core/toasts/toast.module.css.map +0 -1
  627. package/lib/core/toasts/toast.module.scss +0 -71
  628. package/lib/core/toasts/toast.ts +0 -12
  629. package/lib/core/toasts/toastAction.ts +0 -12
  630. package/lib/core/toasts/toastContext.ts +0 -16
  631. package/lib/core/toasts/toasts.tsx +0 -96
  632. package/lib/core/toasts/useToast.ts +0 -18
  633. package/lib/core/utils.ts +0 -4
  634. package/lib/core/uuid.ts +0 -12
  635. package/lib/theme/defaultTheme.module.css +0 -297
  636. package/lib/theme/defaultTheme.module.css.map +0 -1
  637. package/lib/theme/defaultTheme.module.scss +0 -361
  638. package/lib/theme/themeValues.css +0 -7
  639. package/lib/theme/themeValues.css.map +0 -1
  640. package/lib/theme/themeValues.scss +0 -129
  641. package/lib/utilityComponent/hasBeenShown/hasBeenShown.tsx +0 -47
  642. package/lib/utilityComponent/onInView/onInView.tsx +0 -83
  643. package/lib/views/carousel/UKCarousel.tsx +0 -147
  644. package/lib/views/carousel/carousel.module.css +0 -77
  645. package/lib/views/carousel/carousel.module.css.map +0 -1
  646. package/lib/views/carousel/carousel.module.scss +0 -94
  647. package/lib/views/dialog/UKDialog.tsx +0 -34
  648. package/lib/views/dialog/dialog.module.css +0 -44
  649. package/lib/views/dialog/dialog.module.css.map +0 -1
  650. package/lib/views/dialog/dialog.module.scss +0 -44
  651. package/lib/views/infiniteScroll/UKInfiniteScroll.tsx +0 -90
  652. package/lib/views/infiniteScroll/infiniteScroll.module.css +0 -30
  653. package/lib/views/infiniteScroll/infiniteScroll.module.css.map +0 -1
  654. package/lib/views/infiniteScroll/infiniteScroll.module.scss +0 -26
  655. package/lib/views/layout/UKLayout.module.scss +0 -24
  656. package/lib/views/layout/UKLayout.tsx +0 -30
  657. package/lib/views/navBar/UKNavBar.tsx +0 -37
  658. package/lib/views/navBar/components/navImage/UKNavbarNavImage.tsx +0 -15
  659. package/lib/views/navBar/components/navImage/navImage.module.css +0 -12
  660. package/lib/views/navBar/components/navImage/navImage.module.css.map +0 -1
  661. package/lib/views/navBar/components/navImage/navImage.module.scss +0 -7
  662. package/lib/views/navBar/components/navTitle/UKNavbarNavTitle.tsx +0 -13
  663. package/lib/views/navBar/navBar.module.css +0 -26
  664. package/lib/views/navBar/navBar.module.css.map +0 -1
  665. package/lib/views/navBar/navBar.module.scss +0 -22
  666. package/lib/views/onBoarding/UKOnBoarding.tsx +0 -146
  667. package/lib/views/onBoarding/onBoarding.module.css +0 -74
  668. package/lib/views/onBoarding/onBoarding.module.css.map +0 -1
  669. package/lib/views/onBoarding/onBoarding.module.scss +0 -84
  670. package/lib/views/pageHeader/UKPageHeader.tsx +0 -28
  671. package/lib/views/pageHeader/header.module.css +0 -20
  672. package/lib/views/pageHeader/header.module.css.map +0 -1
  673. package/lib/views/pageHeader/header.module.scss +0 -16
  674. package/lib/views/panAndZoom/UKPanAndZoom.tsx +0 -121
  675. package/lib/views/sidebar/UKSidebar.tsx +0 -30
  676. package/lib/views/sidebar/UKSidebarContainer.tsx +0 -38
  677. package/lib/views/sidebar/UKSidebarContext.tsx +0 -15
  678. package/lib/views/sidebar/UKSidebarToggleButton.tsx +0 -27
  679. package/lib/views/sidebar/sidebar.module.css +0 -54
  680. package/lib/views/sidebar/sidebar.module.css.map +0 -1
  681. package/lib/views/sidebar/sidebar.module.scss +0 -49
  682. package/lib/views/sidebar/sidebarContainer.module.css +0 -26
  683. package/lib/views/sidebar/sidebarContainer.module.css.map +0 -1
  684. package/lib/views/sidebar/sidebarContainer.module.scss +0 -22
@@ -1,31 +0,0 @@
1
- /*!
2
- * Copyright ©2025 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 "../../theme/themeValues.scss" as *;
7
-
8
- .component {
9
- display: flex;
10
- gap: var(#{$theme}#{$gap});
11
- }
12
-
13
- .row {
14
- flex-direction: row;
15
- }
16
-
17
- .column {
18
- flex-direction: column;
19
- }
20
-
21
- .centerHorizontally {
22
- align-items: center;
23
- }
24
-
25
- .centerVertically {
26
- justify-content: center;
27
- }
28
-
29
- .padding {
30
- padding: var(#{$theme+$padding});
31
- }
@@ -1,72 +0,0 @@
1
- /*
2
- * Copyright ©2025 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 styles from "./heading.module.scss";
7
- import clippy from "../../core/clippy.ts";
8
- import React, { FC, useContext } from "react";
9
- import LevelContext from "../../core/level";
10
-
11
- const UKHeading: FC<{ text: string; level?: 1 | 2 | 3 | 4 | 5 | 6; className?: string; style?: React.CSSProperties }> = (props) => {
12
- const level = useContext(LevelContext);
13
-
14
- switch (props.level || level || 1) {
15
- case 1:
16
- return (
17
- <h1
18
- className={clippy(styles.component, styles.h1component, props.className)}
19
- style={props.style}
20
- >
21
- {props.text}
22
- </h1>
23
- );
24
- case 2:
25
- return (
26
- <h2
27
- className={clippy(styles.component, styles.h2component, props.className)}
28
- style={props.style}
29
- >
30
- {props.text}
31
- </h2>
32
- );
33
- case 3:
34
- return (
35
- <h3
36
- className={clippy(styles.component, styles.h3component, props.className)}
37
- style={props.style}
38
- >
39
- {props.text}
40
- </h3>
41
- );
42
- case 4:
43
- return (
44
- <h4
45
- className={clippy(styles.component, styles.h4component, props.className)}
46
- style={props.style}
47
- >
48
- {props.text}
49
- </h4>
50
- );
51
- case 5:
52
- return (
53
- <h5
54
- className={clippy(styles.component, styles.h5component, props.className)}
55
- style={props.style}
56
- >
57
- {props.text}
58
- </h5>
59
- );
60
- case 6:
61
- return (
62
- <h6
63
- className={clippy(styles.component, styles.h6component, props.className)}
64
- style={props.style}
65
- >
66
- {props.text}
67
- </h6>
68
- );
69
- }
70
- };
71
-
72
- export default UKHeading;
@@ -1,47 +0,0 @@
1
- @charset "UTF-8";
2
- /*!
3
- * Copyright ©2025 Ewsgit<https://github.com/ewsgit> and YourDash<https://github.com/yourdash> contributors.
4
- * YourDash is licensed under the MIT License. (https://ewsgit.mit-license.org)
5
- */
6
- /*!
7
- * Copyright ©2025 Ewsgit <https://ewsgit.uk> and YourDash <https://yourdash.ewsgit.uk> contributors.
8
- * YourDash is licensed under the MIT License. (https://mit.ewsgit.uk)
9
- */
10
- .component {
11
- display: inline-block;
12
- text-align: center;
13
- margin: 0;
14
- line-height: 1;
15
- }
16
-
17
- .h1component {
18
- font-size: var(--uthedhe1size);
19
- font-weight: var(--uthedhe1wgt);
20
- }
21
-
22
- .h2component {
23
- font-size: var(--uthedhe2size);
24
- font-weight: var(--uthedhe2wgt);
25
- }
26
-
27
- .h3component {
28
- font-size: var(--uthedhe3size);
29
- font-weight: var(--uthedhe3wgt);
30
- }
31
-
32
- .h4component {
33
- font-size: var(--uthedhe4size);
34
- font-weight: var(--uthedhe4wgt);
35
- }
36
-
37
- .h5component {
38
- font-size: var(--uthedhe5size);
39
- font-weight: var(--uthedhe5wgt);
40
- }
41
-
42
- .h6component {
43
- font-size: var(--uthedhe6size);
44
- font-weight: var(--uthedhe6wgt);
45
- }
46
-
47
- /*# sourceMappingURL=heading.module.css.map */
@@ -1 +0,0 @@
1
- {"version":3,"sourceRoot":"","sources":["heading.module.scss","../../theme/themeValues.scss"],"names":[],"mappings":";AAAA;AAAA;AAAA;AAAA;ACAA;AAAA;AAAA;AAAA;ADOA;EACE;EACA;EACA;EACA;;;AAGF;EACE;EACA;;;AAGF;EACE;EACA;;;AAGF;EACE;EACA;;;AAGF;EACE;EACA;;;AAGF;EACE;EACA;;;AAGF;EACE;EACA","file":"heading.module.css"}
@@ -1,43 +0,0 @@
1
- /*!
2
- * Copyright ©2025 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 "../../theme/themeValues.scss" as *;
7
-
8
- .component {
9
- display: inline-block;
10
- text-align: center;
11
- margin: 0;
12
- line-height: 1;
13
- }
14
-
15
- .h1component {
16
- font-size: var(#{$theme}#{$heading}#{$h1}#{$size});
17
- font-weight: var(#{$theme}#{$heading}#{$h1}#{$weight});
18
- }
19
-
20
- .h2component {
21
- font-size: var(#{$theme}#{$heading}#{$h2}#{$size});
22
- font-weight: var(#{$theme}#{$heading}#{$h2}#{$weight});
23
- }
24
-
25
- .h3component {
26
- font-size: var(#{$theme}#{$heading}#{$h3}#{$size});
27
- font-weight: var(#{$theme}#{$heading}#{$h3}#{$weight});
28
- }
29
-
30
- .h4component {
31
- font-size: var(#{$theme}#{$heading}#{$h4}#{$size});
32
- font-weight: var(#{$theme}#{$heading}#{$h4}#{$weight});
33
- }
34
-
35
- .h5component {
36
- font-size: var(#{$theme}#{$heading}#{$h5}#{$size});
37
- font-weight: var(#{$theme}#{$heading}#{$h5}#{$weight});
38
- }
39
-
40
- .h6component {
41
- font-size: var(#{$theme}#{$heading}#{$h6}#{$size});
42
- font-weight: var(#{$theme}#{$heading}#{$h6}#{$weight});
43
- }
@@ -1,42 +0,0 @@
1
- /*
2
- * Copyright ©2025 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 styles from "./icon.module.scss";
7
- import { type FC, useEffect, useState } from "react";
8
- import ServerErrorIcon from "../../core/icons/server-error.svg";
9
- import { UKIconType } from "../../core/iconDictionary.ts";
10
-
11
- const UKIcon: FC<{
12
- // noinspection TypeScriptDuplicateUnionOrIntersectionType
13
- icon: UKIconType;
14
- size?: string;
15
- color?: string;
16
- preserveColor?: boolean;
17
- className?: string;
18
- }> = (props) => {
19
- const [icon, setIcon] = useState(ServerErrorIcon);
20
-
21
- useEffect(() => {
22
- if (typeof props.icon === "function") {
23
- props.icon().then((val) => {
24
- setIcon(val.default);
25
- });
26
- }
27
- }, [props.icon]);
28
-
29
- return (
30
- <div
31
- className={`${styles.component} ${props.className} ${props.preserveColor ? styles.preserveColor : ""}`}
32
- style={{
33
- "--icon": `url("${icon}")`,
34
- ...(!props.preserveColor ? { "--color": props.color } : {}),
35
- // @ts-ignore
36
- "--size": props.size,
37
- }}
38
- />
39
- );
40
- };
41
-
42
- export default UKIcon;
@@ -1,26 +0,0 @@
1
- /*!
2
- * Copyright ©2025 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
- .component {
7
- aspect-ratio: 1 / 1;
8
- width: var(--size);
9
-
10
- background-color: var(--color, currentColor);
11
- -webkit-mask-image: var(--icon);
12
- -webkit-mask-position: center;
13
- -webkit-mask-repeat: no-repeat;
14
- -webkit-mask-size: cover;
15
- mask-image: var(--icon);
16
- mask-position: center;
17
- mask-repeat: no-repeat;
18
- mask-size: cover;
19
- }
20
-
21
- .preserveColor {
22
- background-image: var(--icon);
23
- background-position: center;
24
- background-repeat: no-repeat;
25
- background-size: cover;
26
- }
@@ -1,36 +0,0 @@
1
- /*
2
- * Copyright ©2025 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 "../../core/clippy.ts";
7
- import UKIcon from "../icon/UKIcon.tsx";
8
- import { UKIcons } from "../../core/iconDictionary.ts";
9
- import styles from "./iconButton.module.scss";
10
- import React, { FC } from "react";
11
-
12
- const UKIconButton: FC<{
13
- icon: (typeof UKIcons)[keyof typeof UKIcons];
14
- accessibleLabel: string;
15
- onClick: () => void;
16
- style?: React.CSSProperties;
17
- className?: string;
18
- preserveColor?: boolean;
19
- }> = (props) => {
20
- return (
21
- <button
22
- style={props.style}
23
- onClick={props.onClick}
24
- aria-label={props.accessibleLabel}
25
- className={clippy(styles.component, props.className)}
26
- >
27
- <UKIcon
28
- size={"1.25rem"}
29
- preserveColor={props.preserveColor}
30
- icon={props.icon}
31
- />
32
- </button>
33
- );
34
- };
35
-
36
- export default UKIconButton;
@@ -1,42 +0,0 @@
1
- @charset "UTF-8";
2
- /*!
3
- * Copyright ©2025 Ewsgit<https://github.com/ewsgit> and YourDash<https://github.com/yourdash> contributors.
4
- * YourDash is licensed under the MIT License. (https://ewsgit.mit-license.org)
5
- */
6
- /*!
7
- * Copyright ©2025 Ewsgit <https://ewsgit.uk> and YourDash <https://yourdash.ewsgit.uk> contributors.
8
- * YourDash is licensed under the MIT License. (https://mit.ewsgit.uk)
9
- */
10
- .component {
11
- font-family: var(--utfontfam);
12
- text-align: center;
13
- aspect-ratio: 1/1;
14
- color: var(--utbtncol);
15
- border: var(--utbtnbrd);
16
- border-radius: var(--utbtnrad);
17
- background: var(--utbtnbgn);
18
- transition: var(--utbtntrans);
19
- height: var(--utinphei);
20
- width: max-content;
21
- display: flex;
22
- align-items: center;
23
- justify-content: center;
24
- padding: 0;
25
- cursor: pointer;
26
- }
27
- .component:hover {
28
- color: var(--utbtnhvrcol);
29
- border: var(--utbtnhvrbrd);
30
- border-radius: var(--utbtnhvrrad);
31
- background: var(--utbtnhvrbgn);
32
- transition: var(--utbtnhvrtrans);
33
- }
34
- .component:active {
35
- color: var(--utbtnatvcol);
36
- border: var(--utbtnatvbrd);
37
- border-radius: var(--utbtnatvrad);
38
- background: var(--utbtnatvbgn);
39
- transition: var(--utbtnatvtrans);
40
- }
41
-
42
- /*# sourceMappingURL=iconButton.module.css.map */
@@ -1 +0,0 @@
1
- {"version":3,"sourceRoot":"","sources":["iconButton.module.scss","../../theme/themeValues.scss"],"names":[],"mappings":";AAAA;AAAA;AAAA;AAAA;ACAA;AAAA;AAAA;AAAA;ADOA;EACE;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;AAEA;EACE;EACA;EACA;EACA;EACA;;AAGF;EACE;EACA;EACA;EACA;EACA","file":"iconButton.module.css"}
@@ -1,40 +0,0 @@
1
- /*!
2
- * Copyright ©2025 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 "../../theme/themeValues.scss" as *;
7
-
8
- .component {
9
- font-family: var(#{$theme}#{$font}#{$family});
10
- text-align: center;
11
- aspect-ratio: 1 / 1;
12
- color: rgb(var(#{$theme}#{$button}#{$color}));
13
- border: var(#{$theme}#{$button}#{$border});
14
- border-radius: var(#{$theme}#{$button}#{$radius});
15
- background: rgb(var(#{$theme}#{$button}#{$background}));
16
- transition: var(#{$theme}#{$button}#{$transition});
17
- height: var(#{$theme+$input+$height});
18
- width: max-content;
19
- display: flex;
20
- align-items: center;
21
- justify-content: center;
22
- padding: 0;
23
- cursor: pointer;
24
-
25
- &:hover {
26
- color: rgb(var(#{$theme}#{$button}#{$hover}#{$color}));
27
- border: var(#{$theme}#{$button}#{$hover}#{$border});
28
- border-radius: var(#{$theme}#{$button}#{$hover}#{$radius});
29
- background: rgb(var(#{$theme}#{$button}#{$hover}#{$background}));
30
- transition: var(#{$theme}#{$button}#{$hover}#{$transition});
31
- }
32
-
33
- &:active {
34
- color: rgb(var(#{$theme}#{$button}#{$active}#{$color}));
35
- border: var(#{$theme}#{$button}#{$active}#{$border});
36
- border-radius: var(#{$theme}#{$button}#{$active}#{$radius});
37
- background: rgb(var(#{$theme}#{$button}#{$active}#{$background}));
38
- transition: var(#{$theme}#{$button}#{$active}#{$transition});
39
- }
40
- }
@@ -1,111 +0,0 @@
1
- /*
2
- * Copyright ©2025 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 { UKIcons } from "../../core/iconDictionary.ts";
7
- import styles from "./image.module.scss";
8
- import React, { FC, useEffect, useRef, useState } from "react";
9
- import clippy from "../../core/clippy.ts";
10
- import UKIcon from "../icon/UKIcon.tsx";
11
- import { useLevel, useLevelClass } from "../../core/level.tsx";
12
-
13
- const UKImage: FC<{
14
- src: string;
15
- accessibleLabel: string;
16
- containerClassName?: string;
17
- className?: string;
18
- disableLazyLoading?: boolean;
19
- noRounding?: boolean;
20
- width?: number;
21
- height?: number;
22
- style?: React.CSSProperties;
23
- onClick?: () => void;
24
-
25
- }> = (props) => {
26
- const ref = useRef<HTMLDivElement>(null);
27
- const level= useLevel()
28
- const [src, setSrc] = useState<string>(props.src);
29
- const [loaded, setLoaded] = useState<boolean>(false);
30
- const [hasFailed, setHasFailed] = useState<boolean>(false);
31
- const [backgroundSize, setBackgroundSize] = useState<number>(0);
32
- const attempts = useRef<number>(0);
33
-
34
- useEffect(() => {
35
- const rc = ref.current;
36
-
37
- if (!rc) {
38
- return;
39
- }
40
-
41
- setTimeout(() => {
42
- const bounds = rc.getBoundingClientRect();
43
-
44
- setBackgroundSize(bounds.height > bounds.width ? bounds.height : bounds.width);
45
- }, 20);
46
- }, [src]);
47
-
48
- useEffect(() => {
49
- setHasFailed(false);
50
- setLoaded(false);
51
- }, [src]);
52
-
53
- useEffect(() => {
54
- if (props.src !== src) {
55
- setSrc(props.src);
56
- }
57
- }, [props.src]);
58
-
59
- return (
60
- <div
61
- data-src={src}
62
- ref={ref}
63
- onClick={props.onClick}
64
- className={clippy(styles.componentContainer, props.containerClassName, !loaded && styles.loading, hasFailed && styles.serverError)}
65
- style={{
66
- // @ts-ignore
67
- "--background-size": backgroundSize + "px",
68
- ...props.style,
69
- }}
70
- >
71
- {!hasFailed ? (
72
- <img
73
- className={clippy(styles.component, useLevelClass(level), props.className, loaded && styles.loaded, props.noRounding && styles.noRounding)}
74
- draggable={false}
75
- width={props.width}
76
- height={props.height}
77
- onError={() => {
78
- setHasFailed(true);
79
- attempts.current++;
80
-
81
- setTimeout(() => {
82
- if (attempts.current && attempts.current <= 3) {
83
- setSrc((old) => {
84
- if (old.includes("?refresh=")) {
85
- return old.slice(0, old.indexOf("?refresh=")) + "?refresh=" + Date.now();
86
- }
87
-
88
- return `${old}?refresh=${Date.now()}`;
89
- });
90
- }
91
- }, 500);
92
- }}
93
- loading={props.disableLazyLoading ? "eager" : "lazy"}
94
- alt={props.accessibleLabel}
95
- onLoad={(e) => {
96
- setLoaded(e.currentTarget.complete);
97
- attempts.current = 0;
98
- }}
99
- onLoadStart={() => {
100
- setLoaded(false);
101
- }}
102
- src={src ?? "/assets/branding/yourdash256.png"}
103
- />
104
- ) : (
105
- <UKIcon icon={UKIcons.ServerError} />
106
- )}
107
- </div>
108
- );
109
- };
110
-
111
- export default UKImage;
@@ -1,76 +0,0 @@
1
- @charset "UTF-8";
2
- /*!
3
- * Copyright ©2025 Ewsgit<https://github.com/ewsgit> and YourDash<https://github.com/yourdash> contributors.
4
- * YourDash is licensed under the MIT License. (https://ewsgit.mit-license.org)
5
- */
6
- /*!
7
- * Copyright ©2025 Ewsgit <https://ewsgit.uk> and YourDash <https://yourdash.ewsgit.uk> contributors.
8
- * YourDash is licensed under the MIT License. (https://mit.ewsgit.uk)
9
- */
10
- .componentContainer {
11
- position: relative;
12
- }
13
-
14
- .component {
15
- border-radius: var(--utrad);
16
- opacity: 0;
17
- max-width: 100%;
18
- max-height: 100%;
19
- min-width: 2rem;
20
- min-height: 2rem;
21
- -webkit-user-select: none;
22
- -moz-user-select: none;
23
- -ms-user-select: none;
24
- user-select: none;
25
- pointer-events: none;
26
- }
27
- .component.noRounding {
28
- border-radius: 0;
29
- }
30
-
31
- .loaded {
32
- transition: opacity 750ms linear;
33
- opacity: 1;
34
- }
35
-
36
- @keyframes loading {
37
- from {
38
- background-position: calc(var(--background-size) * -1) calc(var(--background-size) * -1);
39
- }
40
- to {
41
- background-position: var(--background-size) var(--background-size);
42
- }
43
- }
44
- .loading {
45
- background: linear-gradient(to bottom right, transparent 12.5%, #bbbbbb, #ffffff 25%, transparent 12.5%, transparent 12.5%, #bbbbbb, #ffffff 25%, transparent 12.5%);
46
- background-repeat: no-repeat;
47
- background-size: calc(var(--background-size) * 4) calc(var(--background-size) * 4);
48
- animation: loading 1.25s infinite forwards cubic-bezier(0.25, 0.5, 0.5, 0.25);
49
- box-shadow: inset 0 0 0.5rem rgba(0, 0, 0, 0.2);
50
- }
51
-
52
- .serverError {
53
- --size: 4rem;
54
- }
55
- @keyframes fail {
56
- 0% {
57
- background-size: var(--background-size) var(--background-size);
58
- }
59
- 50% {
60
- background-size: calc(var(--background-size) * 4) calc(var(--background-size) * 4);
61
- }
62
- 100% {
63
- background-size: var(--background-size) var(--background-size);
64
- }
65
- }
66
- .serverError {
67
- background: radial-gradient(transparent, #ff0000);
68
- background-repeat: no-repeat;
69
- background-size: var(--background-size) var(--background-size);
70
- background-position: center center;
71
- animation: fail 1s infinite forwards cubic-bezier(0.4, 0, 0.2, 1);
72
- box-shadow: 0 0 1rem #fff;
73
- border-radius: 0;
74
- }
75
-
76
- /*# sourceMappingURL=image.module.css.map */
@@ -1 +0,0 @@
1
- {"version":3,"sourceRoot":"","sources":["image.module.scss","../../theme/themeValues.scss"],"names":[],"mappings":";AAAA;AAAA;AAAA;AAAA;ACAA;AAAA;AAAA;AAAA;ADOA;EACE;;;AAGF;EACE;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;AAEA;EACE;;;AAIJ;EACE;EACA;;;AAIA;EACE;IACE;;EAGF;IACE;;;AAIJ;EACE;EACA;EACA;EACA;EACA;;;AAIJ;EACE;;AAEA;EACE;IACE;;EAGF;IACE;;EAGF;IACE;;;AAIJ;EACE;EACA;EACA;EACA;EACA;EACA;EACA","file":"image.module.css"}
@@ -1,81 +0,0 @@
1
- /*!
2
- * Copyright ©2025 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 "../../theme/themeValues.scss" as *;
7
-
8
- .componentContainer {
9
- position: relative;
10
- }
11
-
12
- .component {
13
- border-radius: $UKRadius;
14
- opacity: 0;
15
- width: 100%;
16
- height: 100%;
17
- min-width: 2rem;
18
- min-height: 2rem;
19
- -webkit-user-select: none;
20
- -moz-user-select: none;
21
- -ms-user-select: none;
22
- user-select: none;
23
- pointer-events: none;
24
-
25
- &.noRounding {
26
- border-radius: 0;
27
- }
28
- }
29
-
30
- .loaded {
31
- transition: opacity 250ms ease-out;
32
- opacity: 1;
33
- }
34
-
35
- .loading {
36
- @keyframes loading {
37
- from {
38
- background-position: calc(var(--background-size) * -1) calc(var(--background-size) * -1);
39
- }
40
-
41
- to {
42
- background-position: var(--background-size) var(--background-size);
43
- }
44
- }
45
-
46
- & {
47
- background: linear-gradient(to bottom right, transparent 12.5%, #bbbbbb, #ffffff 25%, transparent 12.5%, transparent 12.5%, #bbbbbb, #ffffff 25%, transparent 12.5%);
48
- background-repeat: no-repeat;
49
- background-size: calc(var(--background-size) * 4) calc(var(--background-size) * 4);
50
- animation: loading 1.25s infinite forwards cubic-bezier(0.25, 0.5, 0.5, 0.25);
51
- box-shadow: inset 0 0 0.5rem #0003;
52
- }
53
- }
54
-
55
- .serverError {
56
- --size: 4rem;
57
-
58
- @keyframes fail {
59
- 0% {
60
- background-size: var(--background-size) var(--background-size);
61
- }
62
-
63
- 50% {
64
- background-size: calc(var(--background-size) * 4) calc(var(--background-size) * 4);
65
- }
66
-
67
- 100% {
68
- background-size: var(--background-size) var(--background-size);
69
- }
70
- }
71
-
72
- & {
73
- background: radial-gradient(transparent, #ff0000);
74
- background-repeat: no-repeat;
75
- background-size: var(--background-size) var(--background-size);
76
- background-position: center center;
77
- animation: fail 1s infinite forwards cubic-bezier(0.4, 0, 0.2, 1);
78
- box-shadow: 0 0 1rem #fff;
79
- border-radius: 0;
80
- }
81
- }