@yourdash/uikit 1.0.24 → 1.0.26

Sign up to get free protection for your applications and to get access to all the features.
Files changed (948) hide show
  1. package/dist/accessibility-16-uva4fZex.js +4 -0
  2. package/dist/accessibility-inset-16-DWzB3IjG.js +4 -0
  3. package/dist/alert-16-DwAQwyBK.js +4 -0
  4. package/dist/app-launcher-16-C7hnENpC.js +4 -0
  5. package/dist/apps-16-CVfbC2bb.js +4 -0
  6. package/dist/archive-16-BZGSPJkx.js +4 -0
  7. package/dist/arrow-both-16-D4pAyV4U.js +4 -0
  8. package/dist/arrow-down-16-DK9ag-gk.js +4 -0
  9. package/dist/arrow-left-16-DYkryq2D.js +4 -0
  10. package/dist/arrow-right-16-OTyXEvHz.js +4 -0
  11. package/dist/arrow-switch-16-DFOully_.js +4 -0
  12. package/dist/arrow-up-16-Dxwb5Tzb.js +4 -0
  13. package/dist/beaker-16-CnNc9r-O.js +4 -0
  14. package/dist/bell-16-Dp6XEu_P.js +4 -0
  15. package/dist/bell-fill-16-DC8GZ_ml.js +4 -0
  16. package/dist/bell-slash-16-CNGnmeTn.js +4 -0
  17. package/dist/blocked-16-D4zjCHxV.js +4 -0
  18. package/dist/bold-16-BfSacKBr.js +4 -0
  19. package/dist/book-16-Cbx7nhRf.js +4 -0
  20. package/dist/bookmark-16-liEsGE05.js +4 -0
  21. package/dist/bookmark-slash-16-BpA1ZKFT.js +4 -0
  22. package/dist/briefcase-16-D-qCbq6J.js +4 -0
  23. package/dist/broadcast-16-Crd5FtS2.js +4 -0
  24. package/dist/browser-16-CVb22dcd.js +4 -0
  25. package/dist/bug-16-CtJpjfbz.js +4 -0
  26. package/dist/cache-16-DDgjAWW5.js +4 -0
  27. package/dist/calendar-16-C6dCLIvL.js +4 -0
  28. package/dist/check-16-6YNaQNFN.js +4 -0
  29. package/dist/check-circle-16-BjKfoe5_.js +4 -0
  30. package/dist/check-circle-fill-16-DdMO2wXu.js +4 -0
  31. package/dist/checkbox-16-B2oKipWw.js +4 -0
  32. package/dist/checklist-16-Zf6Kygb8.js +4 -0
  33. package/dist/chevron-down-16-DEpquzJ_.js +4 -0
  34. package/dist/chevron-left-16-BIGn1PV5.js +4 -0
  35. package/dist/chevron-right-16-B8LafSsi.js +4 -0
  36. package/dist/chevron-up-16-CugMIitk.js +4 -0
  37. package/dist/circle-16-B593gRA3.js +4 -0
  38. package/dist/circle-slash-16-B5Ww73vU.js +4 -0
  39. package/dist/clock-16-qUwX1NRV.js +4 -0
  40. package/dist/cloud-16-Rhl-Y4cv.js +4 -0
  41. package/dist/cloud-offline-16-ChdtXP8s.js +4 -0
  42. package/dist/code-16-CyMDCYbk.js +4 -0
  43. package/dist/code-of-conduct-16-3jxiG7BK.js +4 -0
  44. package/dist/code-review-16-DMtB7Dru.js +4 -0
  45. package/dist/code-square-16-dgSkAxDY.js +4 -0
  46. package/dist/codescan-16-CkGjDIRJ.js +4 -0
  47. package/dist/codescan-checkmark-16-CTHqRJ7Z.js +4 -0
  48. package/dist/codespaces-16-CoZQ8Psv.js +4 -0
  49. package/dist/columns-16-DKbJWXAg.js +4 -0
  50. package/dist/command-palette-16-DZ0Q7ffJ.js +4 -0
  51. package/dist/comment-16-B09NEr6-.js +4 -0
  52. package/dist/comment-discussion-16-gcMEsg_Q.js +4 -0
  53. package/dist/components/box/box.d.ts +7 -0
  54. package/dist/components/button/button.d.ts +8 -0
  55. package/dist/components/buttonCombo/buttonCombo.d.ts +6 -0
  56. package/dist/components/buttonLink/buttonLink.d.ts +7 -0
  57. package/dist/components/buttonWithIcon/buttonWithIcon.d.ts +10 -0
  58. package/dist/components/card/card.d.ts +14 -0
  59. package/dist/components/container/container.d.ts +7 -0
  60. package/dist/components/contextMenu/contextMenu.d.ts +10 -0
  61. package/dist/components/contextMenu/contextMenuRoot.d.ts +5 -0
  62. package/dist/components/contextMenu/contextMenuRootContext.d.ts +14 -0
  63. package/dist/components/flex/flex.d.ts +10 -0
  64. package/dist/components/heading/heading.d.ts +7 -0
  65. package/dist/components/icon/icon.d.ts +10 -0
  66. package/dist/components/icon/iconDictionary.d.ts +285 -0
  67. package/dist/components/iconButton/iconButton.d.ts +10 -0
  68. package/dist/components/image/image.d.ts +12 -0
  69. package/dist/components/index.d.ts +21 -0
  70. package/dist/components/link/link.d.ts +8 -0
  71. package/dist/components/progressBar/progressBar.d.ts +8 -0
  72. package/dist/components/redirect/redirect.d.ts +5 -0
  73. package/dist/components/separator/separator.d.ts +6 -0
  74. package/dist/components/spinner/spinner.d.ts +5 -0
  75. package/dist/components/subtext/subtext.d.ts +6 -0
  76. package/dist/components/tag/tag.d.ts +7 -0
  77. package/dist/components/text/text.d.ts +6 -0
  78. package/dist/components/textButton/textButton.d.ts +7 -0
  79. package/dist/components/textInput/textInput.d.ts +15 -0
  80. package/dist/container-16-BdSF_CC6.js +4 -0
  81. package/dist/copilot-16-tzDSkzaO.js +4 -0
  82. package/dist/copilot-48-C7o3SsdM.js +4 -0
  83. package/dist/copilot-96-DRWtudKT.js +4 -0
  84. package/dist/copilot-error-16-mS3AFeBJ.js +4 -0
  85. package/dist/copilot-warning-16-DDHrbpjQ.js +4 -0
  86. package/dist/copy-16-U4bBESsW.js +4 -0
  87. package/dist/core/decrementLevel.d.ts +5 -0
  88. package/dist/core/incrementLevel.d.ts +5 -0
  89. package/dist/core/index.d.ts +4 -0
  90. package/dist/core/level.d.ts +4 -0
  91. package/dist/core/remToPx.d.ts +1 -0
  92. package/dist/core/root.d.ts +5 -0
  93. package/dist/core/toasts/toast.d.ts +10 -0
  94. package/dist/core/toasts/toastAction.d.ts +6 -0
  95. package/dist/core/toasts/toastContext.d.ts +6 -0
  96. package/dist/core/toasts/toasts.d.ts +6 -0
  97. package/dist/core/toasts/useToast.d.ts +4 -0
  98. package/dist/cpu-16-B1nGSXjd.js +4 -0
  99. package/dist/credit-card-16-uQInMwnT.js +4 -0
  100. package/dist/cross-reference-16-BXVZtDhD.js +4 -0
  101. package/dist/dash-16-Dj70y9jI.js +4 -0
  102. package/dist/database-16-OKZrFj7L.js +4 -0
  103. package/dist/dependabot-16-ybT9-lhR.js +4 -0
  104. package/dist/desktop-download-16-1OhnJTN6.js +4 -0
  105. package/dist/device-camera-16-Bh1yGmqu.js +4 -0
  106. package/dist/device-camera-video-16-BmT22xsn.js +4 -0
  107. package/dist/device-desktop-16-m5wh49qs.js +4 -0
  108. package/dist/device-mobile-16-C1ZEWPwb.js +4 -0
  109. package/dist/diamond-16-D-w62P-X.js +4 -0
  110. package/dist/diff-16-Cylk8iSK.js +4 -0
  111. package/dist/diff-added-16-BlJ2cb6b.js +4 -0
  112. package/dist/diff-ignored-16-Ccd8OFzb.js +4 -0
  113. package/dist/diff-modified-16-BlXb7Wwh.js +4 -0
  114. package/dist/diff-removed-16-Cn0mhKYP.js +4 -0
  115. package/dist/diff-renamed-16-DIu8aDPG.js +4 -0
  116. package/dist/dot-16-BvkuaxUz.js +4 -0
  117. package/dist/dot-fill-16-D1FNypdu.js +4 -0
  118. package/dist/download-16-fugL3zxY.js +4 -0
  119. package/dist/duplicate-16-OiUFntSI.js +4 -0
  120. package/dist/ellipsis-16-ClTH0fbr.js +4 -0
  121. package/dist/ewsgit-jMFOdurQ.js +4 -0
  122. package/dist/eye-16-Dpz-OhId.js +4 -0
  123. package/dist/eye-closed-16-DIUAb4Xb.js +4 -0
  124. package/dist/feed-discussion-16-DNcL8nZw.js +4 -0
  125. package/dist/feed-forked-16-DMU2yXdo.js +4 -0
  126. package/dist/feed-heart-16-CBrg58q-.js +4 -0
  127. package/dist/feed-merged-16-CQYwGlvM.js +4 -0
  128. package/dist/feed-person-16-BVo_agig.js +4 -0
  129. package/dist/feed-repo-16-DNHxzukP.js +4 -0
  130. package/dist/feed-rocket-16-DJ4yF4T8.js +4 -0
  131. package/dist/feed-star-16-4DcJOBOK.js +4 -0
  132. package/dist/feed-tag-16-BMokDbhr.js +4 -0
  133. package/dist/feed-trophy-16-B91fsGEY.js +4 -0
  134. package/dist/file-16-DIeKUUYi.js +4 -0
  135. package/dist/file-added-16-D2CFL7Uo.js +4 -0
  136. package/dist/file-badge-16-CBU42y9Y.js +4 -0
  137. package/dist/file-binary-16-Fe6xRdy_.js +4 -0
  138. package/dist/file-code-16-DUeOa2n1.js +4 -0
  139. package/dist/file-diff-16-fcHLvRjr.js +4 -0
  140. package/dist/file-directory-16-DTq8L7XZ.js +4 -0
  141. package/dist/file-directory-fill-16-DvR6seEJ.js +4 -0
  142. package/dist/file-directory-open-fill-16-D99Fi0Uv.js +4 -0
  143. package/dist/file-moved-16-J4r90OBP.js +4 -0
  144. package/dist/file-removed-16-C96WF_Jl.js +4 -0
  145. package/dist/file-submodule-16-Cx_q19a2.js +4 -0
  146. package/dist/file-symlink-file-16-87lgtC6n.js +4 -0
  147. package/dist/file-zip-16-CY1OP2oH.js +4 -0
  148. package/dist/filter-16-BBY8gRAj.js +4 -0
  149. package/dist/flame-16-BQjUkHlk.js +4 -0
  150. package/dist/fold-16-c5GFBwTE.js +4 -0
  151. package/dist/fold-down-16-COVTHOOm.js +4 -0
  152. package/dist/fold-up-16-CKn_S_xy.js +4 -0
  153. package/dist/gear-16-DumL4R2n.js +4 -0
  154. package/dist/gift-16-Cwzr0gsC.js +4 -0
  155. package/dist/git-branch-16-DvVGm5c4.js +4 -0
  156. package/dist/git-commit-16-B_7xQW9c.js +4 -0
  157. package/dist/git-compare-16-DlK0CGps.js +4 -0
  158. package/dist/git-merge-16-BDUp3rix.js +4 -0
  159. package/dist/git-merge-queue-16-BU1k9bjJ.js +4 -0
  160. package/dist/git-pull-request-16-1aj8YV_B.js +4 -0
  161. package/dist/git-pull-request-closed-16-hBv3wiW6.js +4 -0
  162. package/dist/git-pull-request-draft-16-DVlwk56b.js +4 -0
  163. package/dist/globe-16-BZn8GRSm.js +4 -0
  164. package/dist/grabber-16-XsiP6L33.js +4 -0
  165. package/dist/graph-16-C3jugR5U.js +4 -0
  166. package/dist/hash-16-INeZLwfH.js +4 -0
  167. package/dist/heading-16-DZ2y6_f4.js +4 -0
  168. package/dist/heart-16-C164hwwe.js +4 -0
  169. package/dist/heart-fill-16-BLIsvQib.js +4 -0
  170. package/dist/history-16-BdsiN28s.js +4 -0
  171. package/dist/home-16-BnAzc0t0.js +4 -0
  172. package/dist/horizontal-rule-16-CkgtCsRk.js +4 -0
  173. package/dist/hourglass-16-DCYwuA1E.js +4 -0
  174. package/dist/hubot-16-CB8ALc4b.js +4 -0
  175. package/dist/id-badge-16-BfWbvypi.js +4 -0
  176. package/dist/image-16-CI2AKWja.js +4 -0
  177. package/dist/inbox-16-BwPN_Pqp.js +4 -0
  178. package/dist/infinity-16-C3WWt8iw.js +4 -0
  179. package/dist/info-16-HbLgChx_.js +4 -0
  180. package/dist/issue-closed-16-BxAFCRD_.js +4 -0
  181. package/dist/issue-draft-16-BlDzM4WD.js +4 -0
  182. package/dist/issue-opened-16-D7Oxfpbr.js +4 -0
  183. package/dist/issue-reopened-16-BBhYiACa.js +4 -0
  184. package/dist/italic-16-YevyopkT.js +4 -0
  185. package/dist/iterations-16-ct_Zy_ha.js +4 -0
  186. package/dist/kebab-horizontal-16-BAtFnPV1.js +4 -0
  187. package/dist/key-16-cK5chQrW.js +4 -0
  188. package/dist/key-asterisk-16-tFceMwFA.js +4 -0
  189. package/dist/law-16-B05_CbgH.js +4 -0
  190. package/dist/light-bulb-16-Deu3ygRK.js +4 -0
  191. package/dist/link-16-gr8iDaj6.js +4 -0
  192. package/dist/link-external-16-DydJR9tS.js +4 -0
  193. package/dist/list-ordered-16-zTd4ngaN.js +4 -0
  194. package/dist/list-unordered-16-cwkrOE2e.js +4 -0
  195. package/dist/location-16-ydwVyd5Q.js +4 -0
  196. package/dist/lock-16-CLq3uwix.js +4 -0
  197. package/dist/log-16-C0L4He2w.js +4 -0
  198. package/dist/login-BwNjTSN_.js +4 -0
  199. package/dist/logo-gist-16-TtSc--Ox.js +4 -0
  200. package/dist/logo-github-16-BeUjNLEP.js +4 -0
  201. package/dist/logout-BitCiQuQ.js +4 -0
  202. package/dist/mail-16-CSJcliU3.js +4 -0
  203. package/dist/main.d.ts +3 -0
  204. package/dist/mark-github-16-BTmYlr1K.js +4 -0
  205. package/dist/markdown-16-7RbG-T2H.js +4 -0
  206. package/dist/megaphone-16-B42g-tb0.js +4 -0
  207. package/dist/mention-16-DKNmD-e-.js +4 -0
  208. package/dist/meter-16-p57sJ2Ki.js +4 -0
  209. package/dist/milestone-16-Dq1pZDo8.js +4 -0
  210. package/dist/mirror-16-BhrpmWlZ.js +4 -0
  211. package/dist/moon-16-CtR6e7uz.js +4 -0
  212. package/dist/mortar-board-16-C1wVPMZe.js +4 -0
  213. package/dist/multi-select-16-jlz6eIXl.js +4 -0
  214. package/dist/mute-16-BaaR3TM4.js +4 -0
  215. package/dist/no-entry-16-Jl3LIHGk.js +4 -0
  216. package/dist/north-star-16-KtvX4ZHg.js +4 -0
  217. package/dist/note-16-BzYoUHl3.js +4 -0
  218. package/dist/number-16-790SB7b2.js +4 -0
  219. package/dist/organization-16-DaJvLPdY.js +4 -0
  220. package/dist/package-16-Dt3hnR7v.js +4 -0
  221. package/dist/package-dependencies-16-Ca4D2ZGA.js +4 -0
  222. package/dist/package-dependents-16-qTuTdgtV.js +4 -0
  223. package/dist/paintbrush-16-DjNZ3TYq.js +4 -0
  224. package/dist/paper-airplane-16-BYjlaU1X.js +4 -0
  225. package/dist/paperclip-16-dZHoanH1.js +4 -0
  226. package/dist/paste-16-D4rAp7H6.js +4 -0
  227. package/dist/pencil-16-yVA3cW9W.js +4 -0
  228. package/dist/people-16-Dhralm-7.js +4 -0
  229. package/dist/person-16-eRHtJ0rn.js +4 -0
  230. package/dist/person-add-16-DKthdM_G.js +4 -0
  231. package/dist/person-fill-16-ChkxtXd7.js +4 -0
  232. package/dist/pin-16-CVBFK8YL.js +4 -0
  233. package/dist/play-16-DQFcHXSC.js +4 -0
  234. package/dist/plug-16-1JhHgUhG.js +4 -0
  235. package/dist/plus-16-Baask508.js +4 -0
  236. package/dist/plus-circle-16-BMJZhn7g.js +4 -0
  237. package/dist/project-16-CeAT1XdX.js +4 -0
  238. package/dist/pulse-16-BX0IQseD.js +4 -0
  239. package/dist/question-16-Dmzmugo4.js +4 -0
  240. package/dist/quote-16-DRb6SNg5.js +4 -0
  241. package/dist/reply-16-XmiLb2fd.js +4 -0
  242. package/dist/repo-16-DGftjbNe.js +4 -0
  243. package/dist/repo-clone-16-BmxJcB0F.js +4 -0
  244. package/dist/repo-deleted-16-g76QeX-X.js +4 -0
  245. package/dist/repo-forked-16-63FNDYK-.js +4 -0
  246. package/dist/repo-locked-16-Dy05PUmf.js +4 -0
  247. package/dist/repo-pull-16-BTh0zEQS.js +4 -0
  248. package/dist/repo-push-16-4AG6clSy.js +4 -0
  249. package/dist/repo-template-16-Caw2Hpe_.js +4 -0
  250. package/dist/report-16-CyRJbIap.js +4 -0
  251. package/dist/rocket-16-Dggo49wd.js +4 -0
  252. package/dist/rows-16-fGIr0S01.js +4 -0
  253. package/dist/rss-16-DWle3roS.js +4 -0
  254. package/dist/ruby-16-BreboEYi.js +4 -0
  255. package/dist/screen-full-16-vKKvRK_T.js +4 -0
  256. package/dist/screen-normal-16-BFiON6jh.js +4 -0
  257. package/dist/search-16-d9YAifw3.js +4 -0
  258. package/dist/server-16-PXkdGIz7.js +4 -0
  259. package/dist/share-16-CeaKGzF6.js +4 -0
  260. package/dist/share-android-16-Y0jPvfBW.js +4 -0
  261. package/dist/shield-16-B9tadaQL.js +4 -0
  262. package/dist/shield-check-16-BWKJFQV-.js +4 -0
  263. package/dist/shield-lock-16-DUfTkk8o.js +4 -0
  264. package/dist/shield-slash-16-BWh26Hd4.js +4 -0
  265. package/dist/shield-x-16-Df1cfMy1.js +4 -0
  266. package/dist/sidebar-collapse-16-DO-Oh_kH.js +4 -0
  267. package/dist/sidebar-expand-16-C3pxNr67.js +4 -0
  268. package/dist/sign-in-16-D6p2_-5k.js +4 -0
  269. package/dist/sign-out-16-JjnZ1Tho.js +4 -0
  270. package/dist/single-select-16-Byk6XVox.js +4 -0
  271. package/dist/skip-16-Bs6yOqrX.js +4 -0
  272. package/dist/sliders-16-BHKGoJhB.js +4 -0
  273. package/dist/smiley-16-DPhwU_6u.js +4 -0
  274. package/dist/sort-asc-16-B7XOWdSg.js +4 -0
  275. package/dist/sort-desc-16-B5iS9cqk.js +4 -0
  276. package/dist/square-16-B9kJQ-hA.js +4 -0
  277. package/dist/square-fill-16-XEr3NJ2b.js +4 -0
  278. package/dist/squirrel-16-tH5Qgxz7.js +4 -0
  279. package/dist/stack-16-BM0NXNCR.js +4 -0
  280. package/dist/star-16-CskIof-_.js +4 -0
  281. package/dist/star-fill-16-EG_wS7u5.js +4 -0
  282. package/dist/stop-16-SDgo6czX.js +4 -0
  283. package/dist/stopwatch-16-BbHE3PgN.js +4 -0
  284. package/dist/store-CoWUtwnO.js +4 -0
  285. package/dist/strikethrough-16-R4mZSVbu.js +4 -0
  286. package/dist/style.css +10 -0
  287. package/dist/sun-16-hrWRillM.js +4 -0
  288. package/dist/sync-16-BUhljzac.js +4 -0
  289. package/dist/tab-external-16-DlFayM4z.js +4 -0
  290. package/dist/table-16-D23Tuy3n.js +4 -0
  291. package/dist/tag-16-CSbX60Y0.js +4 -0
  292. package/dist/tasklist-16-BGUg5t2o.js +4 -0
  293. package/dist/telescope-16-CkqdZV2W.js +4 -0
  294. package/dist/telescope-fill-16-Bc_8rywi.js +4 -0
  295. package/dist/terminal-16-CS4NLijU.js +4 -0
  296. package/dist/three-bars-16-RtW9hDLk.js +4 -0
  297. package/dist/thumbsdown-16-DXmfxQSW.js +4 -0
  298. package/dist/thumbsup-16-DBMF-Hkr.js +4 -0
  299. package/dist/tools-16-CCmSf4Mt.js +4 -0
  300. package/dist/trash-16-D-qAwcOJ.js +4 -0
  301. package/dist/triangle-down-16-T-DZZA9H.js +4 -0
  302. package/dist/triangle-left-16-CteMjjMD.js +4 -0
  303. package/dist/triangle-right-16-D9ClWREJ.js +4 -0
  304. package/dist/triangle-up-16-FS6az6-y.js +4 -0
  305. package/dist/trophy-16-NGT_1p4C.js +4 -0
  306. package/dist/typography-16-IirtJXxN.js +4 -0
  307. package/dist/uikit.js +3649 -0
  308. package/dist/unfold-16-DjzHMoJW.js +4 -0
  309. package/dist/unlock-16-CJgQHziq.js +4 -0
  310. package/dist/unmute-16-DCRFpFL7.js +4 -0
  311. package/dist/unverified-16-CAAVyiPH.js +4 -0
  312. package/dist/upload-16-BNFqJc1F.js +4 -0
  313. package/dist/utilityComponent/hasBeenShown/hasBeenShown.d.ts +6 -0
  314. package/dist/utilityComponent/onInView/onInView.d.ts +7 -0
  315. package/dist/verified-16-CTElcDEy.js +4 -0
  316. package/dist/versions-16-DI9tKMFX.js +4 -0
  317. package/dist/video-16-DAXLpsgq.js +4 -0
  318. package/dist/views/carousel/carousel.d.ts +9 -0
  319. package/dist/views/dialog/dialog.d.ts +6 -0
  320. package/dist/views/header/header.d.ts +6 -0
  321. package/dist/views/index.d.ts +12 -0
  322. package/dist/views/infiniteScroll/infiniteScroll.d.ts +11 -0
  323. package/dist/views/navBar/components/navImage/navImage.d.ts +5 -0
  324. package/dist/views/navBar/components/navTitle/navTitle.d.ts +5 -0
  325. package/dist/views/navBar/navBar.d.ts +8 -0
  326. package/dist/views/onBoarding/onBoarding.d.ts +20 -0
  327. package/dist/views/panAndZoom/panAndZoom.d.ts +8 -0
  328. package/dist/views/sidebar/sidebar.d.ts +5 -0
  329. package/dist/views/sidebar/sidebarContainer.d.ts +7 -0
  330. package/dist/views/sidebar/sidebarContext.d.ts +7 -0
  331. package/dist/views/sidebar/sidebarToggleButton.d.ts +3 -0
  332. package/dist/webhook-16-B63wCkFf.js +4 -0
  333. package/dist/workflow-16-BrP4zNK0.js +4 -0
  334. package/dist/x-16-B7iyXdcL.js +4 -0
  335. package/dist/x-circle-16-C79HwlWA.js +4 -0
  336. package/dist/x-circle-fill-16-4KWscQI9.js +4 -0
  337. package/dist/yourdash-xKqdwKGy.js +4 -0
  338. package/dist/zap-16-hscWSFVd.js +4 -0
  339. package/package.json +11 -2
  340. package/src/components/box/box.module.scss +0 -21
  341. package/src/components/box/box.tsx +0 -22
  342. package/src/components/button/button.module.scss +0 -47
  343. package/src/components/button/button.tsx +0 -24
  344. package/src/components/buttonCombo/buttonCombo.module.scss +0 -23
  345. package/src/components/buttonCombo/buttonCombo.tsx +0 -14
  346. package/src/components/buttonLink/buttonLink.module.scss +0 -50
  347. package/src/components/buttonLink/buttonLink.tsx +0 -27
  348. package/src/components/buttonWithIcon/buttonWithIcon.module.scss +0 -54
  349. package/src/components/buttonWithIcon/buttonWithIcon.tsx +0 -36
  350. package/src/components/card/card.module.scss +0 -78
  351. package/src/components/card/card.tsx +0 -64
  352. package/src/components/container/container.module.scss +0 -20
  353. package/src/components/container/container.tsx +0 -22
  354. package/src/components/contextMenu/contextMenu.tsx +0 -55
  355. package/src/components/contextMenu/contextMenuRoot.module.scss +0 -31
  356. package/src/components/contextMenu/contextMenuRoot.tsx +0 -83
  357. package/src/components/contextMenu/contextMenuRootContext.tsx +0 -22
  358. package/src/components/flex/flex.module.scss +0 -31
  359. package/src/components/flex/flex.tsx +0 -34
  360. package/src/components/heading/heading.module.scss +0 -43
  361. package/src/components/heading/heading.tsx +0 -27
  362. package/src/components/icon/icon.module.scss +0 -26
  363. package/src/components/icon/icon.tsx +0 -42
  364. package/src/components/icon/iconDictionary.ts +0 -292
  365. package/src/components/icon/icons/accessibility-16.svg +0 -6
  366. package/src/components/icon/icons/accessibility-inset-16.svg +0 -6
  367. package/src/components/icon/icons/alert-16.svg +0 -6
  368. package/src/components/icon/icons/alert-24.svg +0 -7
  369. package/src/components/icon/icons/alert-fill-12.svg +0 -6
  370. package/src/components/icon/icons/app-launcher-16.svg +0 -8
  371. package/src/components/icon/icons/apps-16.svg +0 -6
  372. package/src/components/icon/icons/archive-16.svg +0 -6
  373. package/src/components/icon/icons/archive-24.svg +0 -9
  374. package/src/components/icon/icons/arrow-both-16.svg +0 -6
  375. package/src/components/icon/icons/arrow-both-24.svg +0 -3
  376. package/src/components/icon/icons/arrow-down-16.svg +0 -6
  377. package/src/components/icon/icons/arrow-down-24.svg +0 -6
  378. package/src/components/icon/icons/arrow-down-left-24.svg +0 -6
  379. package/src/components/icon/icons/arrow-down-right-24.svg +0 -6
  380. package/src/components/icon/icons/arrow-left-16.svg +0 -6
  381. package/src/components/icon/icons/arrow-left-24.svg +0 -6
  382. package/src/components/icon/icons/arrow-right-16.svg +0 -6
  383. package/src/components/icon/icons/arrow-right-24.svg +0 -6
  384. package/src/components/icon/icons/arrow-switch-16.svg +0 -3
  385. package/src/components/icon/icons/arrow-switch-24.svg +0 -3
  386. package/src/components/icon/icons/arrow-up-16.svg +0 -6
  387. package/src/components/icon/icons/arrow-up-24.svg +0 -6
  388. package/src/components/icon/icons/arrow-up-left-24.svg +0 -6
  389. package/src/components/icon/icons/arrow-up-right-24.svg +0 -6
  390. package/src/components/icon/icons/beaker-16.svg +0 -6
  391. package/src/components/icon/icons/beaker-24.svg +0 -6
  392. package/src/components/icon/icons/bell-16.svg +0 -7
  393. package/src/components/icon/icons/bell-24.svg +0 -6
  394. package/src/components/icon/icons/bell-fill-16.svg +0 -3
  395. package/src/components/icon/icons/bell-fill-24.svg +0 -6
  396. package/src/components/icon/icons/bell-slash-16.svg +0 -6
  397. package/src/components/icon/icons/bell-slash-24.svg +0 -8
  398. package/src/components/icon/icons/blocked-16.svg +0 -6
  399. package/src/components/icon/icons/blocked-24.svg +0 -6
  400. package/src/components/icon/icons/bold-16.svg +0 -6
  401. package/src/components/icon/icons/bold-24.svg +0 -6
  402. package/src/components/icon/icons/book-16.svg +0 -6
  403. package/src/components/icon/icons/book-24.svg +0 -6
  404. package/src/components/icon/icons/bookmark-16.svg +0 -6
  405. package/src/components/icon/icons/bookmark-24.svg +0 -6
  406. package/src/components/icon/icons/bookmark-fill-24.svg +0 -6
  407. package/src/components/icon/icons/bookmark-slash-16.svg +0 -6
  408. package/src/components/icon/icons/bookmark-slash-24.svg +0 -7
  409. package/src/components/icon/icons/bookmark-slash-fill-24.svg +0 -6
  410. package/src/components/icon/icons/briefcase-16.svg +0 -6
  411. package/src/components/icon/icons/briefcase-24.svg +0 -6
  412. package/src/components/icon/icons/broadcast-16.svg +0 -6
  413. package/src/components/icon/icons/broadcast-24.svg +0 -3
  414. package/src/components/icon/icons/browser-16.svg +0 -6
  415. package/src/components/icon/icons/browser-24.svg +0 -6
  416. package/src/components/icon/icons/bug-16.svg +0 -6
  417. package/src/components/icon/icons/bug-24.svg +0 -6
  418. package/src/components/icon/icons/cache-16.svg +0 -8
  419. package/src/components/icon/icons/calendar-16.svg +0 -6
  420. package/src/components/icon/icons/calendar-24.svg +0 -6
  421. package/src/components/icon/icons/check-16.svg +0 -6
  422. package/src/components/icon/icons/check-24.svg +0 -6
  423. package/src/components/icon/icons/check-circle-16.svg +0 -6
  424. package/src/components/icon/icons/check-circle-24.svg +0 -7
  425. package/src/components/icon/icons/check-circle-fill-12.svg +0 -6
  426. package/src/components/icon/icons/check-circle-fill-16.svg +0 -6
  427. package/src/components/icon/icons/check-circle-fill-24.svg +0 -6
  428. package/src/components/icon/icons/checkbox-16.svg +0 -6
  429. package/src/components/icon/icons/checkbox-24.svg +0 -7
  430. package/src/components/icon/icons/checklist-16.svg +0 -6
  431. package/src/components/icon/icons/checklist-24.svg +0 -3
  432. package/src/components/icon/icons/chevron-down-16.svg +0 -6
  433. package/src/components/icon/icons/chevron-down-24.svg +0 -6
  434. package/src/components/icon/icons/chevron-left-16.svg +0 -6
  435. package/src/components/icon/icons/chevron-left-24.svg +0 -6
  436. package/src/components/icon/icons/chevron-right-16.svg +0 -6
  437. package/src/components/icon/icons/chevron-right-24.svg +0 -6
  438. package/src/components/icon/icons/chevron-up-16.svg +0 -6
  439. package/src/components/icon/icons/chevron-up-24.svg +0 -6
  440. package/src/components/icon/icons/circle-16.svg +0 -5
  441. package/src/components/icon/icons/circle-24.svg +0 -6
  442. package/src/components/icon/icons/circle-slash-16.svg +0 -6
  443. package/src/components/icon/icons/circle-slash-24.svg +0 -6
  444. package/src/components/icon/icons/clock-16.svg +0 -6
  445. package/src/components/icon/icons/clock-24.svg +0 -7
  446. package/src/components/icon/icons/cloud-16.svg +0 -6
  447. package/src/components/icon/icons/cloud-24.svg +0 -6
  448. package/src/components/icon/icons/cloud-offline-16.svg +0 -8
  449. package/src/components/icon/icons/cloud-offline-24.svg +0 -8
  450. package/src/components/icon/icons/code-16.svg +0 -6
  451. package/src/components/icon/icons/code-24.svg +0 -6
  452. package/src/components/icon/icons/code-of-conduct-16.svg +0 -6
  453. package/src/components/icon/icons/code-of-conduct-24.svg +0 -6
  454. package/src/components/icon/icons/code-review-16.svg +0 -6
  455. package/src/components/icon/icons/code-review-24.svg +0 -8
  456. package/src/components/icon/icons/code-square-16.svg +0 -6
  457. package/src/components/icon/icons/code-square-24.svg +0 -8
  458. package/src/components/icon/icons/codescan-16.svg +0 -8
  459. package/src/components/icon/icons/codescan-24.svg +0 -8
  460. package/src/components/icon/icons/codescan-checkmark-16.svg +0 -7
  461. package/src/components/icon/icons/codescan-checkmark-24.svg +0 -7
  462. package/src/components/icon/icons/codespaces-16.svg +0 -8
  463. package/src/components/icon/icons/codespaces-24.svg +0 -8
  464. package/src/components/icon/icons/columns-16.svg +0 -6
  465. package/src/components/icon/icons/columns-24.svg +0 -6
  466. package/src/components/icon/icons/command-palette-16.svg +0 -3
  467. package/src/components/icon/icons/command-palette-24.svg +0 -3
  468. package/src/components/icon/icons/comment-16.svg +0 -6
  469. package/src/components/icon/icons/comment-24.svg +0 -6
  470. package/src/components/icon/icons/comment-discussion-16.svg +0 -6
  471. package/src/components/icon/icons/comment-discussion-24.svg +0 -8
  472. package/src/components/icon/icons/commit-24.svg +0 -7
  473. package/src/components/icon/icons/container-16.svg +0 -6
  474. package/src/components/icon/icons/container-24.svg +0 -6
  475. package/src/components/icon/icons/copilot-16.svg +0 -7
  476. package/src/components/icon/icons/copilot-24.svg +0 -7
  477. package/src/components/icon/icons/copilot-48.svg +0 -7
  478. package/src/components/icon/icons/copilot-96.svg +0 -7
  479. package/src/components/icon/icons/copilot-error-16.svg +0 -6
  480. package/src/components/icon/icons/copilot-warning-16.svg +0 -8
  481. package/src/components/icon/icons/copy-16.svg +0 -8
  482. package/src/components/icon/icons/copy-24.svg +0 -8
  483. package/src/components/icon/icons/cpu-16.svg +0 -6
  484. package/src/components/icon/icons/cpu-24.svg +0 -8
  485. package/src/components/icon/icons/credit-card-16.svg +0 -7
  486. package/src/components/icon/icons/credit-card-24.svg +0 -7
  487. package/src/components/icon/icons/cross-reference-16.svg +0 -6
  488. package/src/components/icon/icons/cross-reference-24.svg +0 -3
  489. package/src/components/icon/icons/dash-16.svg +0 -5
  490. package/src/components/icon/icons/dash-24.svg +0 -5
  491. package/src/components/icon/icons/database-16.svg +0 -6
  492. package/src/components/icon/icons/database-24.svg +0 -6
  493. package/src/components/icon/icons/dependabot-16.svg +0 -7
  494. package/src/components/icon/icons/dependabot-24.svg +0 -7
  495. package/src/components/icon/icons/desktop-download-16.svg +0 -3
  496. package/src/components/icon/icons/desktop-download-24.svg +0 -8
  497. package/src/components/icon/icons/device-camera-16.svg +0 -6
  498. package/src/components/icon/icons/device-camera-video-16.svg +0 -6
  499. package/src/components/icon/icons/device-camera-video-24.svg +0 -6
  500. package/src/components/icon/icons/device-desktop-16.svg +0 -6
  501. package/src/components/icon/icons/device-desktop-24.svg +0 -6
  502. package/src/components/icon/icons/device-mobile-16.svg +0 -6
  503. package/src/components/icon/icons/device-mobile-24.svg +0 -7
  504. package/src/components/icon/icons/diamond-16.svg +0 -6
  505. package/src/components/icon/icons/diamond-24.svg +0 -6
  506. package/src/components/icon/icons/diff-16.svg +0 -6
  507. package/src/components/icon/icons/diff-24.svg +0 -6
  508. package/src/components/icon/icons/diff-added-16.svg +0 -6
  509. package/src/components/icon/icons/diff-ignored-16.svg +0 -6
  510. package/src/components/icon/icons/diff-modified-16.svg +0 -6
  511. package/src/components/icon/icons/diff-removed-16.svg +0 -6
  512. package/src/components/icon/icons/diff-renamed-16.svg +0 -6
  513. package/src/components/icon/icons/dot-16.svg +0 -5
  514. package/src/components/icon/icons/dot-24.svg +0 -5
  515. package/src/components/icon/icons/dot-fill-16.svg +0 -5
  516. package/src/components/icon/icons/dot-fill-24.svg +0 -3
  517. package/src/components/icon/icons/download-16.svg +0 -6
  518. package/src/components/icon/icons/download-24.svg +0 -3
  519. package/src/components/icon/icons/duplicate-16.svg +0 -9
  520. package/src/components/icon/icons/duplicate-24.svg +0 -9
  521. package/src/components/icon/icons/ellipsis-16.svg +0 -6
  522. package/src/components/icon/icons/ewsgit.svg +0 -14
  523. package/src/components/icon/icons/eye-16.svg +0 -6
  524. package/src/components/icon/icons/eye-24.svg +0 -7
  525. package/src/components/icon/icons/eye-closed-16.svg +0 -6
  526. package/src/components/icon/icons/eye-closed-24.svg +0 -8
  527. package/src/components/icon/icons/feed-discussion-16.svg +0 -6
  528. package/src/components/icon/icons/feed-forked-16.svg +0 -6
  529. package/src/components/icon/icons/feed-heart-16.svg +0 -6
  530. package/src/components/icon/icons/feed-merged-16.svg +0 -6
  531. package/src/components/icon/icons/feed-person-16.svg +0 -6
  532. package/src/components/icon/icons/feed-repo-16.svg +0 -6
  533. package/src/components/icon/icons/feed-rocket-16.svg +0 -6
  534. package/src/components/icon/icons/feed-star-16.svg +0 -6
  535. package/src/components/icon/icons/feed-tag-16.svg +0 -7
  536. package/src/components/icon/icons/feed-trophy-16.svg +0 -7
  537. package/src/components/icon/icons/file-16.svg +0 -6
  538. package/src/components/icon/icons/file-24.svg +0 -6
  539. package/src/components/icon/icons/file-added-16.svg +0 -6
  540. package/src/components/icon/icons/file-badge-16.svg +0 -8
  541. package/src/components/icon/icons/file-binary-16.svg +0 -6
  542. package/src/components/icon/icons/file-binary-24.svg +0 -9
  543. package/src/components/icon/icons/file-code-16.svg +0 -6
  544. package/src/components/icon/icons/file-code-24.svg +0 -8
  545. package/src/components/icon/icons/file-diff-16.svg +0 -6
  546. package/src/components/icon/icons/file-diff-24.svg +0 -8
  547. package/src/components/icon/icons/file-directory-16.svg +0 -6
  548. package/src/components/icon/icons/file-directory-24.svg +0 -6
  549. package/src/components/icon/icons/file-directory-fill-16.svg +0 -3
  550. package/src/components/icon/icons/file-directory-fill-24.svg +0 -6
  551. package/src/components/icon/icons/file-directory-open-fill-16.svg +0 -3
  552. package/src/components/icon/icons/file-media-24.svg +0 -6
  553. package/src/components/icon/icons/file-moved-16.svg +0 -3
  554. package/src/components/icon/icons/file-removed-16.svg +0 -6
  555. package/src/components/icon/icons/file-submodule-16.svg +0 -6
  556. package/src/components/icon/icons/file-submodule-24.svg +0 -6
  557. package/src/components/icon/icons/file-symlink-file-16.svg +0 -6
  558. package/src/components/icon/icons/file-symlink-file-24.svg +0 -6
  559. package/src/components/icon/icons/file-zip-16.svg +0 -6
  560. package/src/components/icon/icons/file-zip-24.svg +0 -10
  561. package/src/components/icon/icons/filter-16.svg +0 -6
  562. package/src/components/icon/icons/filter-24.svg +0 -3
  563. package/src/components/icon/icons/flame-16.svg +0 -6
  564. package/src/components/icon/icons/flame-24.svg +0 -6
  565. package/src/components/icon/icons/fold-16.svg +0 -3
  566. package/src/components/icon/icons/fold-24.svg +0 -10
  567. package/src/components/icon/icons/fold-down-16.svg +0 -3
  568. package/src/components/icon/icons/fold-down-24.svg +0 -8
  569. package/src/components/icon/icons/fold-up-16.svg +0 -3
  570. package/src/components/icon/icons/fold-up-24.svg +0 -8
  571. package/src/components/icon/icons/gear-16.svg +0 -6
  572. package/src/components/icon/icons/gear-24.svg +0 -7
  573. package/src/components/icon/icons/gift-16.svg +0 -6
  574. package/src/components/icon/icons/gift-24.svg +0 -6
  575. package/src/components/icon/icons/git-branch-16.svg +0 -6
  576. package/src/components/icon/icons/git-branch-24.svg +0 -9
  577. package/src/components/icon/icons/git-commit-16.svg +0 -6
  578. package/src/components/icon/icons/git-commit-24.svg +0 -6
  579. package/src/components/icon/icons/git-compare-16.svg +0 -6
  580. package/src/components/icon/icons/git-compare-24.svg +0 -9
  581. package/src/components/icon/icons/git-merge-16.svg +0 -6
  582. package/src/components/icon/icons/git-merge-24.svg +0 -8
  583. package/src/components/icon/icons/git-merge-queue-16.svg +0 -8
  584. package/src/components/icon/icons/git-pull-request-16.svg +0 -6
  585. package/src/components/icon/icons/git-pull-request-24.svg +0 -8
  586. package/src/components/icon/icons/git-pull-request-closed-16.svg +0 -6
  587. package/src/components/icon/icons/git-pull-request-closed-24.svg +0 -8
  588. package/src/components/icon/icons/git-pull-request-draft-16.svg +0 -7
  589. package/src/components/icon/icons/git-pull-request-draft-24.svg +0 -7
  590. package/src/components/icon/icons/globe-16.svg +0 -6
  591. package/src/components/icon/icons/globe-24.svg +0 -6
  592. package/src/components/icon/icons/grabber-16.svg +0 -6
  593. package/src/components/icon/icons/grabber-24.svg +0 -6
  594. package/src/components/icon/icons/graph-16.svg +0 -6
  595. package/src/components/icon/icons/graph-24.svg +0 -3
  596. package/src/components/icon/icons/hash-16.svg +0 -6
  597. package/src/components/icon/icons/hash-24.svg +0 -6
  598. package/src/components/icon/icons/heading-16.svg +0 -6
  599. package/src/components/icon/icons/heading-24.svg +0 -6
  600. package/src/components/icon/icons/heart-16.svg +0 -6
  601. package/src/components/icon/icons/heart-24.svg +0 -6
  602. package/src/components/icon/icons/heart-fill-16.svg +0 -6
  603. package/src/components/icon/icons/heart-fill-24.svg +0 -3
  604. package/src/components/icon/icons/history-16.svg +0 -6
  605. package/src/components/icon/icons/history-24.svg +0 -3
  606. package/src/components/icon/icons/home-16.svg +0 -3
  607. package/src/components/icon/icons/home-24.svg +0 -6
  608. package/src/components/icon/icons/home-fill-24.svg +0 -3
  609. package/src/components/icon/icons/horizontal-rule-16.svg +0 -5
  610. package/src/components/icon/icons/horizontal-rule-24.svg +0 -5
  611. package/src/components/icon/icons/hourglass-16.svg +0 -6
  612. package/src/components/icon/icons/hourglass-24.svg +0 -6
  613. package/src/components/icon/icons/hubot-16.svg +0 -6
  614. package/src/components/icon/icons/hubot-24.svg +0 -8
  615. package/src/components/icon/icons/id-badge-16.svg +0 -8
  616. package/src/components/icon/icons/image-16.svg +0 -6
  617. package/src/components/icon/icons/image-24.svg +0 -6
  618. package/src/components/icon/icons/inbox-16.svg +0 -6
  619. package/src/components/icon/icons/inbox-24.svg +0 -6
  620. package/src/components/icon/icons/infinity-16.svg +0 -6
  621. package/src/components/icon/icons/infinity-24.svg +0 -6
  622. package/src/components/icon/icons/info-16.svg +0 -6
  623. package/src/components/icon/icons/info-24.svg +0 -8
  624. package/src/components/icon/icons/issue-closed-16.svg +0 -6
  625. package/src/components/icon/icons/issue-closed-24.svg +0 -7
  626. package/src/components/icon/icons/issue-draft-16.svg +0 -6
  627. package/src/components/icon/icons/issue-draft-24.svg +0 -6
  628. package/src/components/icon/icons/issue-opened-16.svg +0 -6
  629. package/src/components/icon/icons/issue-opened-24.svg +0 -6
  630. package/src/components/icon/icons/issue-reopened-16.svg +0 -3
  631. package/src/components/icon/icons/issue-reopened-24.svg +0 -3
  632. package/src/components/icon/icons/italic-16.svg +0 -6
  633. package/src/components/icon/icons/italic-24.svg +0 -6
  634. package/src/components/icon/icons/iterations-16.svg +0 -3
  635. package/src/components/icon/icons/iterations-24.svg +0 -3
  636. package/src/components/icon/icons/kebab-horizontal-16.svg +0 -3
  637. package/src/components/icon/icons/kebab-horizontal-24.svg +0 -5
  638. package/src/components/icon/icons/key-16.svg +0 -6
  639. package/src/components/icon/icons/key-24.svg +0 -7
  640. package/src/components/icon/icons/key-asterisk-16.svg +0 -8
  641. package/src/components/icon/icons/law-16.svg +0 -6
  642. package/src/components/icon/icons/law-24.svg +0 -6
  643. package/src/components/icon/icons/light-bulb-16.svg +0 -6
  644. package/src/components/icon/icons/light-bulb-24.svg +0 -6
  645. package/src/components/icon/icons/link-16.svg +0 -6
  646. package/src/components/icon/icons/link-24.svg +0 -3
  647. package/src/components/icon/icons/link-external-16.svg +0 -6
  648. package/src/components/icon/icons/link-external-24.svg +0 -3
  649. package/src/components/icon/icons/list-ordered-16.svg +0 -6
  650. package/src/components/icon/icons/list-ordered-24.svg +0 -3
  651. package/src/components/icon/icons/list-unordered-16.svg +0 -6
  652. package/src/components/icon/icons/list-unordered-24.svg +0 -6
  653. package/src/components/icon/icons/location-16.svg +0 -6
  654. package/src/components/icon/icons/location-24.svg +0 -7
  655. package/src/components/icon/icons/lock-16.svg +0 -6
  656. package/src/components/icon/icons/lock-24.svg +0 -6
  657. package/src/components/icon/icons/log-16.svg +0 -7
  658. package/src/components/icon/icons/login.svg +0 -6
  659. package/src/components/icon/icons/logo-gist-16.svg +0 -6
  660. package/src/components/icon/icons/logo-github-16.svg +0 -6
  661. package/src/components/icon/icons/logout.svg +0 -6
  662. package/src/components/icon/icons/mail-16.svg +0 -6
  663. package/src/components/icon/icons/mail-24.svg +0 -6
  664. package/src/components/icon/icons/mark-github-16.svg +0 -6
  665. package/src/components/icon/icons/markdown-16.svg +0 -6
  666. package/src/components/icon/icons/megaphone-16.svg +0 -11
  667. package/src/components/icon/icons/megaphone-24.svg +0 -6
  668. package/src/components/icon/icons/mention-16.svg +0 -6
  669. package/src/components/icon/icons/mention-24.svg +0 -6
  670. package/src/components/icon/icons/meter-16.svg +0 -6
  671. package/src/components/icon/icons/milestone-16.svg +0 -6
  672. package/src/components/icon/icons/milestone-24.svg +0 -6
  673. package/src/components/icon/icons/mirror-16.svg +0 -6
  674. package/src/components/icon/icons/mirror-24.svg +0 -6
  675. package/src/components/icon/icons/moon-16.svg +0 -6
  676. package/src/components/icon/icons/moon-24.svg +0 -6
  677. package/src/components/icon/icons/mortar-board-16.svg +0 -6
  678. package/src/components/icon/icons/mortar-board-24.svg +0 -6
  679. package/src/components/icon/icons/multi-select-16.svg +0 -7
  680. package/src/components/icon/icons/multi-select-24.svg +0 -7
  681. package/src/components/icon/icons/mute-16.svg +0 -6
  682. package/src/components/icon/icons/mute-24.svg +0 -8
  683. package/src/components/icon/icons/no-entry-16.svg +0 -6
  684. package/src/components/icon/icons/no-entry-24.svg +0 -6
  685. package/src/components/icon/icons/no-entry-fill-12.svg +0 -5
  686. package/src/components/icon/icons/north-star-16.svg +0 -3
  687. package/src/components/icon/icons/north-star-24.svg +0 -3
  688. package/src/components/icon/icons/note-16.svg +0 -6
  689. package/src/components/icon/icons/note-24.svg +0 -8
  690. package/src/components/icon/icons/number-16.svg +0 -6
  691. package/src/components/icon/icons/number-24.svg +0 -6
  692. package/src/components/icon/icons/organization-16.svg +0 -6
  693. package/src/components/icon/icons/organization-24.svg +0 -8
  694. package/src/components/icon/icons/package-16.svg +0 -6
  695. package/src/components/icon/icons/package-24.svg +0 -6
  696. package/src/components/icon/icons/package-dependencies-16.svg +0 -6
  697. package/src/components/icon/icons/package-dependencies-24.svg +0 -8
  698. package/src/components/icon/icons/package-dependents-16.svg +0 -6
  699. package/src/components/icon/icons/package-dependents-24.svg +0 -8
  700. package/src/components/icon/icons/paintbrush-16.svg +0 -6
  701. package/src/components/icon/icons/paper-airplane-16.svg +0 -6
  702. package/src/components/icon/icons/paper-airplane-24.svg +0 -6
  703. package/src/components/icon/icons/paperclip-16.svg +0 -6
  704. package/src/components/icon/icons/paperclip-24.svg +0 -6
  705. package/src/components/icon/icons/paste-16.svg +0 -6
  706. package/src/components/icon/icons/paste-24.svg +0 -8
  707. package/src/components/icon/icons/pencil-16.svg +0 -6
  708. package/src/components/icon/icons/pencil-24.svg +0 -6
  709. package/src/components/icon/icons/people-16.svg +0 -6
  710. package/src/components/icon/icons/people-24.svg +0 -8
  711. package/src/components/icon/icons/person-16.svg +0 -6
  712. package/src/components/icon/icons/person-24.svg +0 -6
  713. package/src/components/icon/icons/person-add-16.svg +0 -6
  714. package/src/components/icon/icons/person-add-24.svg +0 -6
  715. package/src/components/icon/icons/person-fill-16.svg +0 -3
  716. package/src/components/icon/icons/person-fill-24.svg +0 -3
  717. package/src/components/icon/icons/pin-16.svg +0 -6
  718. package/src/components/icon/icons/pin-24.svg +0 -6
  719. package/src/components/icon/icons/play-16.svg +0 -6
  720. package/src/components/icon/icons/play-24.svg +0 -7
  721. package/src/components/icon/icons/plug-16.svg +0 -6
  722. package/src/components/icon/icons/plug-24.svg +0 -6
  723. package/src/components/icon/icons/plus-16.svg +0 -6
  724. package/src/components/icon/icons/plus-24.svg +0 -6
  725. package/src/components/icon/icons/plus-circle-16.svg +0 -6
  726. package/src/components/icon/icons/plus-circle-24.svg +0 -7
  727. package/src/components/icon/icons/project-16.svg +0 -6
  728. package/src/components/icon/icons/project-24.svg +0 -8
  729. package/src/components/icon/icons/pulse-16.svg +0 -6
  730. package/src/components/icon/icons/pulse-24.svg +0 -6
  731. package/src/components/icon/icons/question-16.svg +0 -6
  732. package/src/components/icon/icons/question-24.svg +0 -8
  733. package/src/components/icon/icons/quote-16.svg +0 -6
  734. package/src/components/icon/icons/quote-24.svg +0 -6
  735. package/src/components/icon/icons/reply-16.svg +0 -6
  736. package/src/components/icon/icons/reply-24.svg +0 -3
  737. package/src/components/icon/icons/repo-16.svg +0 -6
  738. package/src/components/icon/icons/repo-24.svg +0 -7
  739. package/src/components/icon/icons/repo-clone-16.svg +0 -6
  740. package/src/components/icon/icons/repo-deleted-16.svg +0 -3
  741. package/src/components/icon/icons/repo-forked-16.svg +0 -6
  742. package/src/components/icon/icons/repo-forked-24.svg +0 -9
  743. package/src/components/icon/icons/repo-locked-16.svg +0 -8
  744. package/src/components/icon/icons/repo-locked-24.svg +0 -8
  745. package/src/components/icon/icons/repo-pull-16.svg +0 -6
  746. package/src/components/icon/icons/repo-push-16.svg +0 -6
  747. package/src/components/icon/icons/repo-push-24.svg +0 -3
  748. package/src/components/icon/icons/repo-template-16.svg +0 -6
  749. package/src/components/icon/icons/repo-template-24.svg +0 -3
  750. package/src/components/icon/icons/report-16.svg +0 -6
  751. package/src/components/icon/icons/report-24.svg +0 -6
  752. package/src/components/icon/icons/rocket-16.svg +0 -6
  753. package/src/components/icon/icons/rocket-24.svg +0 -6
  754. package/src/components/icon/icons/rows-16.svg +0 -6
  755. package/src/components/icon/icons/rows-24.svg +0 -6
  756. package/src/components/icon/icons/rss-16.svg +0 -6
  757. package/src/components/icon/icons/rss-24.svg +0 -6
  758. package/src/components/icon/icons/ruby-16.svg +0 -6
  759. package/src/components/icon/icons/ruby-24.svg +0 -6
  760. package/src/components/icon/icons/screen-full-16.svg +0 -6
  761. package/src/components/icon/icons/screen-full-24.svg +0 -6
  762. package/src/components/icon/icons/screen-normal-16.svg +0 -6
  763. package/src/components/icon/icons/screen-normal-24.svg +0 -6
  764. package/src/components/icon/icons/search-16.svg +0 -6
  765. package/src/components/icon/icons/search-24.svg +0 -6
  766. package/src/components/icon/icons/server-16.svg +0 -6
  767. package/src/components/icon/icons/server-24.svg +0 -8
  768. package/src/components/icon/icons/server-error.svg +0 -5
  769. package/src/components/icon/icons/share-16.svg +0 -6
  770. package/src/components/icon/icons/share-24.svg +0 -6
  771. package/src/components/icon/icons/share-android-16.svg +0 -6
  772. package/src/components/icon/icons/share-android-24.svg +0 -6
  773. package/src/components/icon/icons/shield-16.svg +0 -6
  774. package/src/components/icon/icons/shield-24.svg +0 -7
  775. package/src/components/icon/icons/shield-check-16.svg +0 -6
  776. package/src/components/icon/icons/shield-check-24.svg +0 -7
  777. package/src/components/icon/icons/shield-lock-16.svg +0 -6
  778. package/src/components/icon/icons/shield-lock-24.svg +0 -6
  779. package/src/components/icon/icons/shield-slash-16.svg +0 -8
  780. package/src/components/icon/icons/shield-x-16.svg +0 -6
  781. package/src/components/icon/icons/shield-x-24.svg +0 -8
  782. package/src/components/icon/icons/sidebar-collapse-16.svg +0 -7
  783. package/src/components/icon/icons/sidebar-collapse-24.svg +0 -7
  784. package/src/components/icon/icons/sidebar-expand-16.svg +0 -7
  785. package/src/components/icon/icons/sidebar-expand-24.svg +0 -7
  786. package/src/components/icon/icons/sign-in-16.svg +0 -6
  787. package/src/components/icon/icons/sign-in-24.svg +0 -6
  788. package/src/components/icon/icons/sign-out-16.svg +0 -6
  789. package/src/components/icon/icons/sign-out-24.svg +0 -6
  790. package/src/components/icon/icons/single-select-16.svg +0 -7
  791. package/src/components/icon/icons/single-select-24.svg +0 -7
  792. package/src/components/icon/icons/skip-16.svg +0 -6
  793. package/src/components/icon/icons/skip-24.svg +0 -7
  794. package/src/components/icon/icons/sliders-16.svg +0 -3
  795. package/src/components/icon/icons/smiley-16.svg +0 -6
  796. package/src/components/icon/icons/smiley-24.svg +0 -9
  797. package/src/components/icon/icons/sort-asc-16.svg +0 -6
  798. package/src/components/icon/icons/sort-asc-24.svg +0 -3
  799. package/src/components/icon/icons/sort-desc-16.svg +0 -7
  800. package/src/components/icon/icons/sort-desc-24.svg +0 -3
  801. package/src/components/icon/icons/square-16.svg +0 -6
  802. package/src/components/icon/icons/square-24.svg +0 -6
  803. package/src/components/icon/icons/square-fill-16.svg +0 -6
  804. package/src/components/icon/icons/square-fill-24.svg +0 -6
  805. package/src/components/icon/icons/squirrel-16.svg +0 -6
  806. package/src/components/icon/icons/squirrel-24.svg +0 -3
  807. package/src/components/icon/icons/stack-16.svg +0 -6
  808. package/src/components/icon/icons/stack-24.svg +0 -10
  809. package/src/components/icon/icons/star-16.svg +0 -6
  810. package/src/components/icon/icons/star-24.svg +0 -6
  811. package/src/components/icon/icons/star-fill-16.svg +0 -6
  812. package/src/components/icon/icons/star-fill-24.svg +0 -6
  813. package/src/components/icon/icons/stop-16.svg +0 -6
  814. package/src/components/icon/icons/stop-24.svg +0 -7
  815. package/src/components/icon/icons/stopwatch-16.svg +0 -6
  816. package/src/components/icon/icons/stopwatch-24.svg +0 -6
  817. package/src/components/icon/icons/store.svg +0 -7
  818. package/src/components/icon/icons/strikethrough-16.svg +0 -6
  819. package/src/components/icon/icons/strikethrough-24.svg +0 -6
  820. package/src/components/icon/icons/sun-16.svg +0 -6
  821. package/src/components/icon/icons/sun-24.svg +0 -6
  822. package/src/components/icon/icons/sync-16.svg +0 -6
  823. package/src/components/icon/icons/sync-24.svg +0 -3
  824. package/src/components/icon/icons/tab-24.svg +0 -3
  825. package/src/components/icon/icons/tab-external-16.svg +0 -3
  826. package/src/components/icon/icons/table-16.svg +0 -6
  827. package/src/components/icon/icons/table-24.svg +0 -6
  828. package/src/components/icon/icons/tag-16.svg +0 -6
  829. package/src/components/icon/icons/tag-24.svg +0 -7
  830. package/src/components/icon/icons/tasklist-16.svg +0 -6
  831. package/src/components/icon/icons/tasklist-24.svg +0 -7
  832. package/src/components/icon/icons/telescope-16.svg +0 -6
  833. package/src/components/icon/icons/telescope-24.svg +0 -8
  834. package/src/components/icon/icons/telescope-fill-16.svg +0 -6
  835. package/src/components/icon/icons/telescope-fill-24.svg +0 -8
  836. package/src/components/icon/icons/terminal-16.svg +0 -6
  837. package/src/components/icon/icons/terminal-24.svg +0 -8
  838. package/src/components/icon/icons/three-bars-16.svg +0 -6
  839. package/src/components/icon/icons/thumbsdown-16.svg +0 -6
  840. package/src/components/icon/icons/thumbsdown-24.svg +0 -6
  841. package/src/components/icon/icons/thumbsup-16.svg +0 -6
  842. package/src/components/icon/icons/thumbsup-24.svg +0 -6
  843. package/src/components/icon/icons/tools-16.svg +0 -6
  844. package/src/components/icon/icons/tools-24.svg +0 -6
  845. package/src/components/icon/icons/trash-16.svg +0 -6
  846. package/src/components/icon/icons/trash-24.svg +0 -10
  847. package/src/components/icon/icons/triangle-down-16.svg +0 -3
  848. package/src/components/icon/icons/triangle-down-24.svg +0 -3
  849. package/src/components/icon/icons/triangle-left-16.svg +0 -3
  850. package/src/components/icon/icons/triangle-left-24.svg +0 -3
  851. package/src/components/icon/icons/triangle-right-16.svg +0 -3
  852. package/src/components/icon/icons/triangle-right-24.svg +0 -3
  853. package/src/components/icon/icons/triangle-up-16.svg +0 -3
  854. package/src/components/icon/icons/triangle-up-24.svg +0 -3
  855. package/src/components/icon/icons/trophy-16.svg +0 -6
  856. package/src/components/icon/icons/trophy-24.svg +0 -6
  857. package/src/components/icon/icons/typography-16.svg +0 -6
  858. package/src/components/icon/icons/typography-24.svg +0 -6
  859. package/src/components/icon/icons/unfold-16.svg +0 -3
  860. package/src/components/icon/icons/unfold-24.svg +0 -9
  861. package/src/components/icon/icons/unlock-16.svg +0 -6
  862. package/src/components/icon/icons/unlock-24.svg +0 -6
  863. package/src/components/icon/icons/unmute-16.svg +0 -6
  864. package/src/components/icon/icons/unmute-24.svg +0 -8
  865. package/src/components/icon/icons/unverified-16.svg +0 -6
  866. package/src/components/icon/icons/unverified-24.svg +0 -8
  867. package/src/components/icon/icons/upload-16.svg +0 -6
  868. package/src/components/icon/icons/upload-24.svg +0 -6
  869. package/src/components/icon/icons/verified-16.svg +0 -6
  870. package/src/components/icon/icons/verified-24.svg +0 -7
  871. package/src/components/icon/icons/versions-16.svg +0 -6
  872. package/src/components/icon/icons/versions-24.svg +0 -6
  873. package/src/components/icon/icons/video-16.svg +0 -7
  874. package/src/components/icon/icons/video-24.svg +0 -7
  875. package/src/components/icon/icons/webhook-16.svg +0 -3
  876. package/src/components/icon/icons/workflow-16.svg +0 -6
  877. package/src/components/icon/icons/workflow-24.svg +0 -6
  878. package/src/components/icon/icons/x-16.svg +0 -6
  879. package/src/components/icon/icons/x-24.svg +0 -6
  880. package/src/components/icon/icons/x-circle-16.svg +0 -6
  881. package/src/components/icon/icons/x-circle-24.svg +0 -8
  882. package/src/components/icon/icons/x-circle-fill-12.svg +0 -6
  883. package/src/components/icon/icons/x-circle-fill-16.svg +0 -6
  884. package/src/components/icon/icons/x-circle-fill-24.svg +0 -6
  885. package/src/components/icon/icons/yourdash.svg +0 -61
  886. package/src/components/icon/icons/zap-16.svg +0 -6
  887. package/src/components/icon/icons/zap-24.svg +0 -6
  888. package/src/components/iconButton/iconButton.module.scss +0 -40
  889. package/src/components/iconButton/iconButton.tsx +0 -34
  890. package/src/components/image/image.module.scss +0 -81
  891. package/src/components/image/image.tsx +0 -83
  892. package/src/components/link/link.module.scss +0 -36
  893. package/src/components/link/link.tsx +0 -29
  894. package/src/components/progressBar/progressBar.module.scss +0 -25
  895. package/src/components/progressBar/progressBar.tsx +0 -29
  896. package/src/components/redirect/redirect.tsx +0 -23
  897. package/src/components/separator/separator.module.scss +0 -38
  898. package/src/components/separator/separator.tsx +0 -14
  899. package/src/components/spinner/spinner.module.scss +0 -88
  900. package/src/components/spinner/spinner.tsx +0 -31
  901. package/src/components/subtext/subtext.module.scss +0 -17
  902. package/src/components/subtext/subtext.tsx +0 -14
  903. package/src/components/tag/tag.module.scss +0 -13
  904. package/src/components/tag/tag.tsx +0 -21
  905. package/src/components/text/text.module.scss +0 -13
  906. package/src/components/text/text.tsx +0 -14
  907. package/src/components/textButton/textButton.module.scss +0 -30
  908. package/src/components/textButton/textButton.tsx +0 -22
  909. package/src/components/textInput/textInput.module.scss +0 -52
  910. package/src/components/textInput/textInput.tsx +0 -78
  911. package/src/components/toast/toast.module.scss +0 -71
  912. package/src/components/toast/toast.ts +0 -12
  913. package/src/components/toast/toastAction.ts +0 -12
  914. package/src/components/toast/toastContext.ts +0 -16
  915. package/src/components/toast/toasts.tsx +0 -99
  916. package/src/core/decrementLevel.tsx +0 -13
  917. package/src/core/incrementLevel.tsx +0 -13
  918. package/src/core/level.tsx +0 -27
  919. package/src/core/remToPx.ts +0 -8
  920. package/src/core/root.tsx +0 -26
  921. package/src/core/toast.ts +0 -18
  922. package/src/theme/defaultTheme.module.scss +0 -361
  923. package/src/theme/themeValues.scss +0 -49
  924. package/src/utilityComponent/hasBeenShown/hasBeenShown.tsx +0 -47
  925. package/src/utilityComponent/onInView/onInView.tsx +0 -83
  926. package/src/views/carousel/carousel.module.scss +0 -77
  927. package/src/views/carousel/carousel.tsx +0 -138
  928. package/src/views/dialog/dialog.module.scss +0 -44
  929. package/src/views/dialog/dialog.tsx +0 -23
  930. package/src/views/header/header.module.scss +0 -16
  931. package/src/views/header/header.tsx +0 -28
  932. package/src/views/infiniteScroll/infiniteScroll.module.scss +0 -26
  933. package/src/views/infiniteScroll/infiniteScroll.tsx +0 -90
  934. package/src/views/navBar/components/navImage/navImage.module.scss +0 -7
  935. package/src/views/navBar/components/navImage/navImage.tsx +0 -15
  936. package/src/views/navBar/components/navTitle/navTitle.tsx +0 -13
  937. package/src/views/navBar/navBar.module.scss +0 -22
  938. package/src/views/navBar/navBar.tsx +0 -37
  939. package/src/views/onBoarding/onBoarding.module.scss +0 -84
  940. package/src/views/onBoarding/onBoarding.tsx +0 -143
  941. package/src/views/panAndZoom/panAndZoom.tsx +0 -121
  942. package/src/views/sidebar/Sidebar.module.scss +0 -49
  943. package/src/views/sidebar/Sidebar.tsx +0 -30
  944. package/src/views/sidebar/SidebarContainer.module.scss +0 -22
  945. package/src/views/sidebar/SidebarContainer.tsx +0 -38
  946. package/src/views/sidebar/SidebarContext.tsx +0 -15
  947. package/src/views/sidebar/SidebarToggleButton.tsx +0 -25
  948. package/tsconfig.json +0 -32
@@ -1,121 +0,0 @@
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 React, { FC, useEffect, useRef, useState } from "react";
7
-
8
- const PanAndZoom: FC<{ children: React.ReactNode; minZoom?: number; maxZoom?: number; onScaleChange?: (scale: number) => void }> = ({
9
- children,
10
- minZoom,
11
- maxZoom,
12
- onScaleChange,
13
- }) => {
14
- const containerRef = useRef<HTMLDivElement>(null);
15
- const [translateX, setTranslateX] = useState(0);
16
- const [translateY, setTranslateY] = useState(0);
17
- const [scale, setScale] = useState(1);
18
-
19
- if (onScaleChange) {
20
- useEffect(() => {
21
- onScaleChange(scale);
22
- }, [scale]);
23
- }
24
-
25
- const handleWheel = (event: WheelEvent) => {
26
- event.stopPropagation();
27
- const delta = event.deltaY;
28
- const newScale = scale + delta / 1000;
29
- setScale(Math.min(Math.max(newScale, minZoom ?? 0.1), maxZoom ?? 10));
30
- };
31
-
32
- const handleMouseDown = (event: React.MouseEvent<HTMLDivElement>) => {
33
- event.stopPropagation();
34
- const startX = event.clientX;
35
- const startY = event.clientY;
36
- const startTranslateX = translateX;
37
- const startTranslateY = translateY;
38
-
39
- // eslint-disable-next-line @typescript-eslint/no-shadow
40
- const handleMouseMove = (event: MouseEvent) => {
41
- event.stopPropagation();
42
- const deltaX = event.clientX - startX;
43
- const deltaY = event.clientY - startY;
44
- setTranslateX(startTranslateX + deltaX);
45
- setTranslateY(startTranslateY + deltaY);
46
- };
47
-
48
- const handleMouseUp = () => {
49
- event.stopPropagation();
50
- document.removeEventListener("mousemove", handleMouseMove);
51
- document.removeEventListener("mouseup", handleMouseUp);
52
- };
53
-
54
- document.addEventListener("mousemove", handleMouseMove);
55
- document.addEventListener("mouseup", handleMouseUp);
56
- };
57
-
58
- const handleTouchStart = (event: React.TouchEvent<HTMLDivElement>) => {
59
- event.stopPropagation();
60
- const startTouches = event.touches;
61
- const startTranslateX = translateX;
62
- const startTranslateY = translateY;
63
-
64
- // eslint-disable-next-line @typescript-eslint/no-shadow
65
- const handleTouchMove = (event: TouchEvent) => {
66
- event.stopPropagation();
67
- const currentTouches = event.touches;
68
- const deltaX = currentTouches[0].clientX - startTouches[0].clientX;
69
- const deltaY = currentTouches[0].clientY - startTouches[0].clientY;
70
- setTranslateX(startTranslateX + deltaX);
71
- setTranslateY(startTranslateY + deltaY);
72
- };
73
-
74
- const handleTouchEnd = () => {
75
- event.stopPropagation();
76
- document.removeEventListener("touchmove", handleTouchMove);
77
- document.removeEventListener("touchend", handleTouchEnd);
78
- };
79
-
80
- document.addEventListener("touchmove", handleTouchMove);
81
- document.addEventListener("touchend", handleTouchEnd);
82
- };
83
-
84
- return (
85
- <div
86
- ref={containerRef}
87
- style={{
88
- width: "100%",
89
- height: "100%",
90
- overflow: "hidden",
91
- display: "flex",
92
- alignItems: "center",
93
- justifyContent: "center",
94
- }}
95
- onWheel={handleWheel as unknown as React.WheelEventHandler<HTMLDivElement>}
96
- onMouseDown={handleMouseDown}
97
- onTouchStart={handleTouchStart}
98
- onDragStart={(event) => {
99
- event.stopPropagation();
100
- event.preventDefault();
101
- }}
102
- onContextMenu={(event) => {
103
- event.preventDefault();
104
- event.stopPropagation();
105
- }}
106
- >
107
- <div
108
- style={{
109
- transform: `translate(${translateX}px, ${translateY}px) scale(${scale})`,
110
- transformOrigin: "center center",
111
- maxWidth: "max-content",
112
- pointerEvents: "none",
113
- }}
114
- >
115
- {children}
116
- </div>
117
- </div>
118
- );
119
- };
120
-
121
- export default PanAndZoom;
@@ -1,49 +0,0 @@
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/src/theme/themeValues" as *;
7
-
8
- .component {
9
- height: 100%;
10
- background: var(#{$theme+$background});
11
- pointer-events: none;
12
- opacity: 0;
13
- border: var(#{$theme+$border});
14
- border-top: 0;
15
- border-bottom: 0;
16
- border-left: 0;
17
- flex-direction: column;
18
- max-height: 100%;
19
- max-width: 0;
20
- transition: transform var(#{$theme+$transition+$transition}), max-height var(#{$theme+$transition+$transition});
21
- transform: translateX(-100%);
22
- visibility: hidden;
23
- padding: 0;
24
-
25
- @media (max-width: $sizeTablet) {
26
- max-width: 100%;
27
- max-height: 0;
28
- height: max-content;
29
- border-right: 0;
30
- border-bottom: unset;
31
- }
32
-
33
- >*[type="button"] {
34
- min-width: 100%;
35
- }
36
- }
37
-
38
- .open {
39
- pointer-events: all;
40
- opacity: 1;
41
- transform: translateX(0);
42
- visibility: visible;
43
- max-width: 32rem;
44
- padding: var(#{$theme+$padding});
45
-
46
- @media (max-width: $sizeTablet) {
47
- height: max-content;
48
- }
49
- }
@@ -1,30 +0,0 @@
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 Flex from "../../components/flex/flex.tsx";
8
- import IncrementLevel from "../../core/incrementLevel.tsx";
9
- import { useLevel, useLevelClass } from "../../core/level.tsx";
10
- import styles from "./Sidebar.module.scss";
11
- import SidebarContext from "./SidebarContext.tsx";
12
- import { FC, useContext } from "react";
13
-
14
- const Sidebar: FC<{ children: React.ReactNode | React.ReactNode[] }> = ({ children }) => {
15
- const sidebarContext = useContext(SidebarContext);
16
- const level = useLevel();
17
-
18
- return (
19
- <IncrementLevel>
20
- <Flex
21
- direction={"column"}
22
- className={clippy(styles.component, sidebarContext.isOpen && styles.open, useLevelClass(level + 1))}
23
- >
24
- {children}
25
- </Flex>
26
- </IncrementLevel>
27
- );
28
- };
29
-
30
- export default Sidebar;
@@ -1,22 +0,0 @@
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/src/theme/themeValues" as *;
7
-
8
- .component {
9
- display: flex;
10
- flex-direction: row;
11
- width: 100%;
12
- height: 100%;
13
- overflow: hidden;
14
-
15
- &[dir=rtl] {
16
- flex-direction: row-reverse;
17
- }
18
-
19
- @media (max-width: $sizeTablet) {
20
- flex-direction: column;
21
- }
22
- }
@@ -1,38 +0,0 @@
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 React, { FC, useState } from "react";
7
- import SidebarContext from "./SidebarContext.tsx";
8
- import styles from "./SidebarContainer.module.scss";
9
- import clippy from "@yourdash/shared/web/helpers/clippy.ts";
10
-
11
- const SidebarContainer: FC<{ children: React.ReactNode | React.ReactNode[]; showSidebarByDefault?: boolean; className?: string }> = ({
12
- children,
13
- showSidebarByDefault,
14
- className,
15
- }) => {
16
- const [showSidebar, setShowSidebar] = useState<boolean>(showSidebarByDefault || true);
17
-
18
- return (
19
- <SidebarContext.Provider
20
- value={{
21
- closeSidebar: () => {
22
- setShowSidebar(false);
23
- },
24
- toggleSidebar: () => {
25
- setShowSidebar(!showSidebar);
26
- },
27
- openSidebar: () => {
28
- setShowSidebar(true);
29
- },
30
- isOpen: showSidebar,
31
- }}
32
- >
33
- <div className={clippy(styles.component, className)}>{children}</div>
34
- </SidebarContext.Provider>
35
- );
36
- };
37
-
38
- export default SidebarContainer;
@@ -1,15 +0,0 @@
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 { createContext } from "react";
7
-
8
- const SidebarContext = createContext({
9
- openSidebar: () => {},
10
- closeSidebar: () => {},
11
- toggleSidebar: () => {},
12
- isOpen: true,
13
- });
14
-
15
- export default SidebarContext;
@@ -1,25 +0,0 @@
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 { FC, useContext } from "react";
7
- import { UKIcon } from "../../components/icon/iconDictionary.ts";
8
- import SidebarContext from "./SidebarContext.tsx";
9
- import IconButton from "../../components/iconButton/iconButton.tsx";
10
-
11
- const SidebarToggleButton: FC = () => {
12
- const sidebarContext = useContext(SidebarContext);
13
-
14
- return (
15
- <IconButton
16
- accessibleLabel={sidebarContext.isOpen ? "Collapse Sidebar" : "Expand Sidebar"}
17
- icon={sidebarContext.isOpen ? UKIcon.SidebarCollapse : UKIcon.SidebarExpand}
18
- onClick={() => {
19
- sidebarContext.toggleSidebar();
20
- }}
21
- />
22
- );
23
- };
24
-
25
- export default SidebarToggleButton;
package/tsconfig.json DELETED
@@ -1,32 +0,0 @@
1
- {
2
- "compilerOptions": {
3
- "target": "ESNext",
4
- "module": "ESNext",
5
- "useDefineForClassFields": true,
6
- "lib": [
7
- "DOM",
8
- "DOM.Iterable",
9
- "ESNext"
10
- ],
11
- "allowJs": false,
12
- "skipLibCheck": true,
13
- "esModuleInterop": true,
14
- "allowSyntheticDefaultImports": true,
15
- "strict": true,
16
- "forceConsistentCasingInFileNames": true,
17
- "resolveJsonModule": true,
18
- "moduleResolution": "bundler",
19
- "allowImportingTsExtensions": true,
20
- "isolatedModules": true,
21
- "moduleDetection": "force",
22
- "noEmit": true,
23
- "jsx": "react-jsx",
24
-
25
- /* Vite types */
26
- "types": ["vite/client"]
27
- },
28
- "include": [
29
- "../shared/**/*",
30
- "./src/**/*"
31
- ]
32
- }