@firstnoodle-ui/bui 0.0.13

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 (375) hide show
  1. package/LICENSE +21 -0
  2. package/dist/bui.css +1 -0
  3. package/dist/components/application-wrapper/ApplicationWrapper.vue.d.ts +17 -0
  4. package/dist/components/application-wrapper/index.d.ts +1 -0
  5. package/dist/components/aside-section-label/AsideSectionLabel.vue.d.ts +5 -0
  6. package/dist/components/aside-section-label/index.d.ts +1 -0
  7. package/dist/components/button/Button.vue.d.ts +52 -0
  8. package/dist/components/button/NotificationBadge.vue.d.ts +5 -0
  9. package/dist/components/button/index.d.ts +1 -0
  10. package/dist/components/button-group/ButtonGroup.vue.d.ts +29 -0
  11. package/dist/components/button-group/index.d.ts +1 -0
  12. package/dist/components/checkbox/Checkbox.vue.d.ts +18 -0
  13. package/dist/components/checkbox/CircleIndicator.vue.d.ts +6 -0
  14. package/dist/components/checkbox/DefaultIndicator.vue.d.ts +6 -0
  15. package/dist/components/checkbox/index.d.ts +1 -0
  16. package/dist/components/collapse/Collapse.vue.d.ts +50 -0
  17. package/dist/components/collapse/index.d.ts +1 -0
  18. package/dist/components/confirm-cancel/ConfirmCancel.vue.d.ts +36 -0
  19. package/dist/components/confirm-cancel/index.d.ts +1 -0
  20. package/dist/components/data-point/DataPoint.vue.d.ts +2 -0
  21. package/dist/components/data-point/index.d.ts +1 -0
  22. package/dist/components/dialog/Dialog.vue.d.ts +128 -0
  23. package/dist/components/dialog/index.d.ts +1 -0
  24. package/dist/components/fade-in-up/FadeInUp.vue.d.ts +21 -0
  25. package/dist/components/fade-in-up/index.d.ts +1 -0
  26. package/dist/components/first-paint/FirstPaint.vue.d.ts +20 -0
  27. package/dist/components/first-paint/index.d.ts +1 -0
  28. package/dist/components/flexbox/Flexbox.vue.d.ts +31 -0
  29. package/dist/components/flexbox/index.d.ts +1 -0
  30. package/dist/components/horizontal-layout/Aside.vue.d.ts +48 -0
  31. package/dist/components/horizontal-layout/HorizontalLayout.vue.d.ts +48 -0
  32. package/dist/components/horizontal-layout/index.d.ts +2 -0
  33. package/dist/components/icon/Icon.vue.d.ts +6 -0
  34. package/dist/components/icon/index.d.ts +1 -0
  35. package/dist/components/index.d.ts +38 -0
  36. package/dist/components/input/Input.vue.d.ts +26 -0
  37. package/dist/components/input/index.d.ts +1 -0
  38. package/dist/components/load-spinner/LoadSpinner.vue.d.ts +2 -0
  39. package/dist/components/load-spinner/index.d.ts +1 -0
  40. package/dist/components/modal/Modal.vue.d.ts +135 -0
  41. package/dist/components/modal/index.d.ts +1 -0
  42. package/dist/components/nav-item/NavItem.vue.d.ts +43 -0
  43. package/dist/components/nav-item/index.d.ts +1 -0
  44. package/dist/components/notification/Notification.vue.d.ts +14 -0
  45. package/dist/components/notification/index.d.ts +1 -0
  46. package/dist/components/pagination/Pagination.vue.d.ts +13 -0
  47. package/dist/components/pagination/index.d.ts +1 -0
  48. package/dist/components/pill/Pill.vue.d.ts +32 -0
  49. package/dist/components/pill/index.d.ts +2 -0
  50. package/dist/components/pill/pill-types.d.ts +2 -0
  51. package/dist/components/pop-confirm/PopConfirm.vue.d.ts +357 -0
  52. package/dist/components/pop-confirm/index.d.ts +1 -0
  53. package/dist/components/pop-select/FooterButton.vue.d.ts +2 -0
  54. package/dist/components/pop-select/PopSelect.vue.d.ts +51 -0
  55. package/dist/components/pop-select/ResultFilters.vue.d.ts +20 -0
  56. package/dist/components/pop-select/enums.d.ts +7 -0
  57. package/dist/components/pop-select/index.d.ts +2 -0
  58. package/dist/components/pop-select/option.vue.d.ts +39 -0
  59. package/dist/components/popper/Popper.vue.d.ts +79 -0
  60. package/dist/components/popper/PopperContent.vue.d.ts +17 -0
  61. package/dist/components/popper/index.d.ts +2 -0
  62. package/dist/components/popper/middleware.d.ts +10 -0
  63. package/dist/components/screen-overlay/ScreenOverlay.vue.d.ts +31 -0
  64. package/dist/components/screen-overlay/index.d.ts +1 -0
  65. package/dist/components/scrollbar/Bar.vue.d.ts +19 -0
  66. package/dist/components/scrollbar/ScrollBottomLoader.vue.d.ts +25 -0
  67. package/dist/components/scrollbar/Scrollbar.vue.d.ts +62 -0
  68. package/dist/components/scrollbar/enums.d.ts +3 -0
  69. package/dist/components/scrollbar/index.d.ts +2 -0
  70. package/dist/components/scrollbar/scrollbarWidth.d.ts +1 -0
  71. package/dist/components/scrollbar/types.d.ts +27 -0
  72. package/dist/components/side-over/SideOver.vue.d.ts +43 -0
  73. package/dist/components/side-over/index.d.ts +1 -0
  74. package/dist/components/status-select/StatusSelect.vue.d.ts +2 -0
  75. package/dist/components/status-select/index.d.ts +1 -0
  76. package/dist/components/switch/Switch.vue.d.ts +17 -0
  77. package/dist/components/switch/index.d.ts +1 -0
  78. package/dist/components/tab/Tab.vue.d.ts +22 -0
  79. package/dist/components/tab/index.d.ts +1 -0
  80. package/dist/components/tag/Tag.vue.d.ts +29 -0
  81. package/dist/components/tag/index.d.ts +1 -0
  82. package/dist/components/text-editor/TextEditor.vue.d.ts +79 -0
  83. package/dist/components/text-editor/components/Dialog.vue.d.ts +17 -0
  84. package/dist/components/text-editor/components/FormattingButton.vue.d.ts +19 -0
  85. package/dist/components/text-editor/components/InsertLinkDialog.vue.d.ts +57 -0
  86. package/dist/components/text-editor/components/InsertTextDialog.vue.d.ts +54 -0
  87. package/dist/components/text-editor/components/index.d.ts +3 -0
  88. package/dist/components/text-editor/index.d.ts +1 -0
  89. package/dist/components/text-highlight/TextHighlight.vue.d.ts +16 -0
  90. package/dist/components/text-highlight/index.d.ts +1 -0
  91. package/dist/components/text-viewer/TextViewer.vue.d.ts +17 -0
  92. package/dist/components/text-viewer/index.d.ts +1 -0
  93. package/dist/components/tooltip/Tooltip.vue.d.ts +42 -0
  94. package/dist/components/tooltip/index.d.ts +1 -0
  95. package/dist/components/types.d.ts +64 -0
  96. package/dist/components/vertical-layout/RunningSection.vue.d.ts +31 -0
  97. package/dist/components/vertical-layout/VerticalLayout.vue.d.ts +32 -0
  98. package/dist/components/vertical-layout/index.d.ts +3 -0
  99. package/dist/components/vertical-layout/types.d.ts +2 -0
  100. package/dist/components/window-frame/WindowFrame.vue.d.ts +21 -0
  101. package/dist/components/window-frame/index.d.ts +1 -0
  102. package/dist/composables/index.d.ts +5 -0
  103. package/dist/composables/useClickOutside.d.ts +5 -0
  104. package/dist/composables/useEscapeKey.d.ts +1 -0
  105. package/dist/composables/useMounted.d.ts +3 -0
  106. package/dist/composables/useNextFrame.d.ts +3 -0
  107. package/dist/composables/useTrapFocus.d.ts +8 -0
  108. package/dist/index.d.ts +3 -0
  109. package/dist/index.mjs +20754 -0
  110. package/dist/utils/array.d.ts +5 -0
  111. package/dist/utils/clamp.d.ts +1 -0
  112. package/dist/utils/debounce.d.ts +1 -0
  113. package/dist/utils/index.d.ts +5 -0
  114. package/dist/utils/scrollIntoView.d.ts +1 -0
  115. package/dist/utils/scrollbarWidth.d.ts +1 -0
  116. package/package.json +65 -0
  117. package/src/components/application-wrapper/ApplicationWrapper.vue +8 -0
  118. package/src/components/application-wrapper/index.ts +1 -0
  119. package/src/components/aside-section-label/AsideSectionLabel.vue +16 -0
  120. package/src/components/aside-section-label/index.ts +1 -0
  121. package/src/components/button/Button.vue +245 -0
  122. package/src/components/button/NotificationBadge.vue +15 -0
  123. package/src/components/button/index.ts +1 -0
  124. package/src/components/button-group/ButtonGroup.vue +97 -0
  125. package/src/components/button-group/index.ts +1 -0
  126. package/src/components/checkbox/Checkbox.vue +52 -0
  127. package/src/components/checkbox/CircleIndicator.vue +27 -0
  128. package/src/components/checkbox/DefaultIndicator.vue +22 -0
  129. package/src/components/checkbox/index.ts +1 -0
  130. package/src/components/collapse/Collapse.vue +120 -0
  131. package/src/components/collapse/index.ts +1 -0
  132. package/src/components/confirm-cancel/ConfirmCancel.vue +79 -0
  133. package/src/components/confirm-cancel/index.ts +1 -0
  134. package/src/components/data-point/DataPoint.vue +5 -0
  135. package/src/components/data-point/index.ts +1 -0
  136. package/src/components/dialog/Dialog.vue +70 -0
  137. package/src/components/dialog/index.ts +1 -0
  138. package/src/components/fade-in-up/FadeInUp.vue +17 -0
  139. package/src/components/fade-in-up/index.ts +1 -0
  140. package/src/components/first-paint/FirstPaint.vue +21 -0
  141. package/src/components/first-paint/index.ts +1 -0
  142. package/src/components/first-paint/style.scss +23 -0
  143. package/src/components/flexbox/Flexbox.vue +50 -0
  144. package/src/components/flexbox/index.ts +1 -0
  145. package/src/components/horizontal-layout/Aside.vue +113 -0
  146. package/src/components/horizontal-layout/HorizontalLayout.vue +118 -0
  147. package/src/components/horizontal-layout/index.ts +2 -0
  148. package/src/components/icon/Icon.vue +1159 -0
  149. package/src/components/icon/index.ts +1 -0
  150. package/src/components/icon/utils/combine-svgs.cjs +55 -0
  151. package/src/components/icon/utils/combined-svgs.txt +1150 -0
  152. package/src/components/icon/utils/svgs/admin.svg +16 -0
  153. package/src/components/icon/utils/svgs/arrow-deviate.svg +3 -0
  154. package/src/components/icon/utils/svgs/arrow-down-plus.svg +4 -0
  155. package/src/components/icon/utils/svgs/arrow-down.svg +3 -0
  156. package/src/components/icon/utils/svgs/arrow-from.svg +3 -0
  157. package/src/components/icon/utils/svgs/arrow-left.svg +3 -0
  158. package/src/components/icon/utils/svgs/arrow-move.svg +15 -0
  159. package/src/components/icon/utils/svgs/arrow-right.svg +3 -0
  160. package/src/components/icon/utils/svgs/arrow-sub.svg +3 -0
  161. package/src/components/icon/utils/svgs/arrow-trend.svg +15 -0
  162. package/src/components/icon/utils/svgs/arrow-up-plus.svg +4 -0
  163. package/src/components/icon/utils/svgs/arrow-up.svg +3 -0
  164. package/src/components/icon/utils/svgs/authority.svg +5 -0
  165. package/src/components/icon/utils/svgs/beams.svg +5 -0
  166. package/src/components/icon/utils/svgs/bell.svg +15 -0
  167. package/src/components/icon/utils/svgs/bold.svg +3 -0
  168. package/src/components/icon/utils/svgs/box.svg +5 -0
  169. package/src/components/icon/utils/svgs/building.svg +15 -0
  170. package/src/components/icon/utils/svgs/bullet-list.svg +8 -0
  171. package/src/components/icon/utils/svgs/calendar.svg +21 -0
  172. package/src/components/icon/utils/svgs/camera.svg +5 -0
  173. package/src/components/icon/utils/svgs/categories.svg +3 -0
  174. package/src/components/icon/utils/svgs/check-circled.svg +16 -0
  175. package/src/components/icon/utils/svgs/check-outline.svg +15 -0
  176. package/src/components/icon/utils/svgs/check.svg +3 -0
  177. package/src/components/icon/utils/svgs/chevron-down.svg +3 -0
  178. package/src/components/icon/utils/svgs/chevron-left-double.svg +4 -0
  179. package/src/components/icon/utils/svgs/chevron-left.svg +3 -0
  180. package/src/components/icon/utils/svgs/chevron-right-double.svg +4 -0
  181. package/src/components/icon/utils/svgs/chevron-right.svg +3 -0
  182. package/src/components/icon/utils/svgs/chevron-up.svg +3 -0
  183. package/src/components/icon/utils/svgs/clock.svg +4 -0
  184. package/src/components/icon/utils/svgs/close-outline.svg +3 -0
  185. package/src/components/icon/utils/svgs/close.svg +3 -0
  186. package/src/components/icon/utils/svgs/columns.svg +3 -0
  187. package/src/components/icon/utils/svgs/conclusion.svg +17 -0
  188. package/src/components/icon/utils/svgs/copy.svg +16 -0
  189. package/src/components/icon/utils/svgs/crosshair.svg +15 -0
  190. package/src/components/icon/utils/svgs/dash.svg +3 -0
  191. package/src/components/icon/utils/svgs/dashboard.svg +3 -0
  192. package/src/components/icon/utils/svgs/delete.svg +4 -0
  193. package/src/components/icon/utils/svgs/delta.svg +3 -0
  194. package/src/components/icon/utils/svgs/download.svg +3 -0
  195. package/src/components/icon/utils/svgs/drag.svg +8 -0
  196. package/src/components/icon/utils/svgs/drilldown.svg +8 -0
  197. package/src/components/icon/utils/svgs/edit.svg +16 -0
  198. package/src/components/icon/utils/svgs/envelope.svg +3 -0
  199. package/src/components/icon/utils/svgs/error.svg +3 -0
  200. package/src/components/icon/utils/svgs/export-document.svg +16 -0
  201. package/src/components/icon/utils/svgs/filter.svg +6 -0
  202. package/src/components/icon/utils/svgs/filters.svg +4 -0
  203. package/src/components/icon/utils/svgs/flag.svg +3 -0
  204. package/src/components/icon/utils/svgs/folder.svg +15 -0
  205. package/src/components/icon/utils/svgs/frequency.svg +3 -0
  206. package/src/components/icon/utils/svgs/fullscreen-off.svg +3 -0
  207. package/src/components/icon/utils/svgs/fullscreen-on.svg +3 -0
  208. package/src/components/icon/utils/svgs/graduate.svg +3 -0
  209. package/src/components/icon/utils/svgs/hamburger.svg +5 -0
  210. package/src/components/icon/utils/svgs/handshake.svg +15 -0
  211. package/src/components/icon/utils/svgs/heading-1.svg +4 -0
  212. package/src/components/icon/utils/svgs/heading-2.svg +4 -0
  213. package/src/components/icon/utils/svgs/heading.svg +3 -0
  214. package/src/components/icon/utils/svgs/home.svg +3 -0
  215. package/src/components/icon/utils/svgs/id-card.svg +6 -0
  216. package/src/components/icon/utils/svgs/id.svg +4 -0
  217. package/src/components/icon/utils/svgs/indent-left.svg +7 -0
  218. package/src/components/icon/utils/svgs/indent-right.svg +7 -0
  219. package/src/components/icon/utils/svgs/information.svg +17 -0
  220. package/src/components/icon/utils/svgs/italics.svg +3 -0
  221. package/src/components/icon/utils/svgs/itenary.svg +11 -0
  222. package/src/components/icon/utils/svgs/keyboard.svg +11 -0
  223. package/src/components/icon/utils/svgs/lightning.svg +15 -0
  224. package/src/components/icon/utils/svgs/link.svg +4 -0
  225. package/src/components/icon/utils/svgs/list-collapse.svg +6 -0
  226. package/src/components/icon/utils/svgs/list-expand.svg +6 -0
  227. package/src/components/icon/utils/svgs/location.svg +4 -0
  228. package/src/components/icon/utils/svgs/lock-locked.svg +4 -0
  229. package/src/components/icon/utils/svgs/lock-unlocked.svg +4 -0
  230. package/src/components/icon/utils/svgs/magnifying-glass.svg +15 -0
  231. package/src/components/icon/utils/svgs/map.svg +3 -0
  232. package/src/components/icon/utils/svgs/megaphone.svg +3 -0
  233. package/src/components/icon/utils/svgs/message.svg +15 -0
  234. package/src/components/icon/utils/svgs/microscope.svg +3 -0
  235. package/src/components/icon/utils/svgs/moon.svg +3 -0
  236. package/src/components/icon/utils/svgs/new-document.svg +4 -0
  237. package/src/components/icon/utils/svgs/news.svg +15 -0
  238. package/src/components/icon/utils/svgs/numbered-list.svg +7 -0
  239. package/src/components/icon/utils/svgs/open-link.svg +16 -0
  240. package/src/components/icon/utils/svgs/options.svg +5 -0
  241. package/src/components/icon/utils/svgs/page.svg +7 -0
  242. package/src/components/icon/utils/svgs/paper-plane.svg +15 -0
  243. package/src/components/icon/utils/svgs/paper.svg +3 -0
  244. package/src/components/icon/utils/svgs/pen-and-paper.svg +4 -0
  245. package/src/components/icon/utils/svgs/phase.svg +15 -0
  246. package/src/components/icon/utils/svgs/photo.svg +4 -0
  247. package/src/components/icon/utils/svgs/pie-chart.svg +3 -0
  248. package/src/components/icon/utils/svgs/plus.svg +3 -0
  249. package/src/components/icon/utils/svgs/point-left.svg +3 -0
  250. package/src/components/icon/utils/svgs/point-up.svg +3 -0
  251. package/src/components/icon/utils/svgs/popup.svg +16 -0
  252. package/src/components/icon/utils/svgs/question.svg +17 -0
  253. package/src/components/icon/utils/svgs/radio-tower.svg +3 -0
  254. package/src/components/icon/utils/svgs/recycle.svg +3 -0
  255. package/src/components/icon/utils/svgs/redo.svg +3 -0
  256. package/src/components/icon/utils/svgs/refresh.svg +3 -0
  257. package/src/components/icon/utils/svgs/route.svg +3 -0
  258. package/src/components/icon/utils/svgs/rows.svg +3 -0
  259. package/src/components/icon/utils/svgs/scope.svg +7 -0
  260. package/src/components/icon/utils/svgs/settings.svg +16 -0
  261. package/src/components/icon/utils/svgs/share.svg +11 -0
  262. package/src/components/icon/utils/svgs/sign-in.svg +4 -0
  263. package/src/components/icon/utils/svgs/sign-up.svg +3 -0
  264. package/src/components/icon/utils/svgs/sort-down.svg +20 -0
  265. package/src/components/icon/utils/svgs/sort-up.svg +20 -0
  266. package/src/components/icon/utils/svgs/sort.svg +7 -0
  267. package/src/components/icon/utils/svgs/square-solid.svg +3 -0
  268. package/src/components/icon/utils/svgs/star-solid.svg +15 -0
  269. package/src/components/icon/utils/svgs/star.svg +15 -0
  270. package/src/components/icon/utils/svgs/stop-watch.svg +5 -0
  271. package/src/components/icon/utils/svgs/structure.svg +3 -0
  272. package/src/components/icon/utils/svgs/sun.svg +23 -0
  273. package/src/components/icon/utils/svgs/table.svg +3 -0
  274. package/src/components/icon/utils/svgs/tag.svg +15 -0
  275. package/src/components/icon/utils/svgs/team.svg +15 -0
  276. package/src/components/icon/utils/svgs/telescope.svg +15 -0
  277. package/src/components/icon/utils/svgs/trash.svg +6 -0
  278. package/src/components/icon/utils/svgs/triangle-angle.svg +3 -0
  279. package/src/components/icon/utils/svgs/triangle-side.svg +3 -0
  280. package/src/components/icon/utils/svgs/underline.svg +4 -0
  281. package/src/components/icon/utils/svgs/undo.svg +3 -0
  282. package/src/components/icon/utils/svgs/user.svg +16 -0
  283. package/src/components/icon/utils/svgs/venn.svg +3 -0
  284. package/src/components/icon/utils/svgs/video.svg +3 -0
  285. package/src/components/icon/utils/svgs/visibility-off-alt.svg +19 -0
  286. package/src/components/icon/utils/svgs/visibility-off.svg +3 -0
  287. package/src/components/icon/utils/svgs/visibility-on.svg +16 -0
  288. package/src/components/icon/utils/svgs/warning.svg +5 -0
  289. package/src/components/index.ts +38 -0
  290. package/src/components/input/Input.vue +87 -0
  291. package/src/components/input/index.ts +1 -0
  292. package/src/components/load-spinner/LoadSpinner.vue +13 -0
  293. package/src/components/load-spinner/index.ts +1 -0
  294. package/src/components/modal/Modal.vue +111 -0
  295. package/src/components/modal/index.ts +1 -0
  296. package/src/components/nav-item/NavItem.vue +62 -0
  297. package/src/components/nav-item/index.ts +1 -0
  298. package/src/components/notification/Notification.vue +34 -0
  299. package/src/components/notification/index.ts +1 -0
  300. package/src/components/pagination/Pagination.vue +72 -0
  301. package/src/components/pagination/index.ts +1 -0
  302. package/src/components/pill/Pill.vue +52 -0
  303. package/src/components/pill/index.ts +2 -0
  304. package/src/components/pill/pill-types.ts +2 -0
  305. package/src/components/pop-confirm/PopConfirm.vue +69 -0
  306. package/src/components/pop-confirm/index.ts +1 -0
  307. package/src/components/pop-select/FooterButton.vue +5 -0
  308. package/src/components/pop-select/PopSelect.vue +346 -0
  309. package/src/components/pop-select/ResultFilters.vue +31 -0
  310. package/src/components/pop-select/enums.ts +7 -0
  311. package/src/components/pop-select/index.ts +2 -0
  312. package/src/components/pop-select/option.vue +51 -0
  313. package/src/components/popper/Popper.vue +239 -0
  314. package/src/components/popper/PopperContent.vue +5 -0
  315. package/src/components/popper/index.ts +2 -0
  316. package/src/components/popper/middleware.ts +19 -0
  317. package/src/components/screen-overlay/ScreenOverlay.vue +53 -0
  318. package/src/components/screen-overlay/index.ts +1 -0
  319. package/src/components/scrollbar/Bar.vue +106 -0
  320. package/src/components/scrollbar/ScrollBottomLoader.vue +25 -0
  321. package/src/components/scrollbar/Scrollbar.vue +220 -0
  322. package/src/components/scrollbar/enums.ts +23 -0
  323. package/src/components/scrollbar/index.ts +2 -0
  324. package/src/components/scrollbar/scrollbarWidth.ts +26 -0
  325. package/src/components/scrollbar/style.scss +75 -0
  326. package/src/components/scrollbar/types.ts +32 -0
  327. package/src/components/side-over/SideOver.vue +87 -0
  328. package/src/components/side-over/index.ts +1 -0
  329. package/src/components/status-select/StatusIndicator.vue +78 -0
  330. package/src/components/status-select/StatusSelect.vue +62 -0
  331. package/src/components/status-select/index.ts +1 -0
  332. package/src/components/switch/Switch.vue +52 -0
  333. package/src/components/switch/index.ts +1 -0
  334. package/src/components/tab/Tab.vue +59 -0
  335. package/src/components/tab/index.ts +1 -0
  336. package/src/components/tag/Tag.vue +34 -0
  337. package/src/components/tag/index.ts +1 -0
  338. package/src/components/text-editor/TextEditor.vue +399 -0
  339. package/src/components/text-editor/components/Dialog.vue +11 -0
  340. package/src/components/text-editor/components/FormattingButton.vue +46 -0
  341. package/src/components/text-editor/components/InsertLinkDialog.vue +81 -0
  342. package/src/components/text-editor/components/InsertTextDialog.vue +36 -0
  343. package/src/components/text-editor/components/index.ts +3 -0
  344. package/src/components/text-editor/index.ts +1 -0
  345. package/src/components/text-highlight/TextHighlight.vue +113 -0
  346. package/src/components/text-highlight/index.ts +1 -0
  347. package/src/components/text-viewer/TextViewer.vue +5 -0
  348. package/src/components/text-viewer/index.ts +1 -0
  349. package/src/components/tooltip/Tooltip.vue +54 -0
  350. package/src/components/tooltip/index.ts +1 -0
  351. package/src/components/types.ts +221 -0
  352. package/src/components/vertical-layout/RunningSection.vue +54 -0
  353. package/src/components/vertical-layout/VerticalLayout.vue +37 -0
  354. package/src/components/vertical-layout/index.ts +3 -0
  355. package/src/components/vertical-layout/types.ts +2 -0
  356. package/src/components/window-frame/WindowFrame.vue +20 -0
  357. package/src/components/window-frame/index.ts +1 -0
  358. package/src/composables/index.ts +5 -0
  359. package/src/composables/useClickOutside.ts +48 -0
  360. package/src/composables/useEscapeKey.ts +12 -0
  361. package/src/composables/useMounted.ts +7 -0
  362. package/src/composables/useNextFrame.ts +10 -0
  363. package/src/composables/useTrapFocus.ts +61 -0
  364. package/src/index.ts +5 -0
  365. package/src/main.css +116 -0
  366. package/src/utils/array.ts +11 -0
  367. package/src/utils/clamp.ts +1 -0
  368. package/src/utils/debounce.ts +8 -0
  369. package/src/utils/index.ts +5 -0
  370. package/src/utils/scrollIntoView.ts +25 -0
  371. package/src/utils/scrollbarWidth.ts +27 -0
  372. package/tsconfig.app.json +4 -0
  373. package/tsconfig.json +11 -0
  374. package/tsconfig.node.json +21 -0
  375. package/vite.config.ts +27 -0
@@ -0,0 +1 @@
1
+ export { default as BIcon } from "./Icon.vue";
@@ -0,0 +1,55 @@
1
+ /*
2
+ * This script combines all SVG files in the "svgs" folder into a single file.
3
+ * It removes the <svg> tag, replaces fill="black" with :fill="fillColor",
4
+ * and wraps each SVG in a <template> tag.
5
+ * run this script with `node PATH-TO-combine-svgs.cjs` in the terminal.
6
+ */
7
+
8
+ const fs = require("node:fs");
9
+ const path = require("node:path");
10
+
11
+ // Path to the svgs folder (current directory)
12
+ const svgsFolder = path.join(__dirname, "svgs");
13
+
14
+ // Output file path (inside the svgs folder)
15
+ const outputFile = path.join(__dirname, "combined-svgs.txt");
16
+
17
+ // Read all files in the svgs folder
18
+ fs.readdir(svgsFolder, (err, files) => {
19
+ if (err) {
20
+ console.error("Error reading the svgs folder:", err);
21
+ return;
22
+ }
23
+
24
+ // Filter only .svg files
25
+ const svgFiles = files.filter(file => file.endsWith(".svg"));
26
+
27
+ // Read and transform all SVG content
28
+ const combinedSVGs = svgFiles.map((file) => {
29
+ const filePath = path.join(svgsFolder, file);
30
+ const content = fs.readFileSync(filePath, "utf-8");
31
+
32
+ // Extract the filename without extension and convert to lowercase
33
+ const fileName = path.basename(file, ".svg").toLowerCase();
34
+
35
+ // Remove the <svg> tag, replace fill="black" with :fill="fillColor", and wrap in a <template> tag
36
+ const svgContent = content
37
+ .replace(/<svg[^>]*>/, "") // Remove opening <svg> tag
38
+ .replace(/<\/svg>/, "") // Remove closing </svg> tag
39
+ .replace(/fill="black"/g, ":fill=\"fillColor\"") // Replace fill="black" with :fill="fillColor"
40
+ .replace(/fill="white"/g, ":fill=\"bgColor\"") // Replace fill="black" with :fill="fillColor"
41
+ .replace(/height="16"/g, ":height=\"height\"")
42
+ .replace(/width="16"/g, ":width=\"width\"")
43
+ .trim();
44
+
45
+ return `<template v-else-if="name === '${fileName}'">\n${svgContent}\n</template>`;
46
+ });
47
+
48
+ // Create a string array of all filenames
49
+ const iconNames = svgFiles.map(file => `"${path.basename(file, ".svg").toLowerCase()}"`);
50
+ const iconsArray = `\n\nconst icons = [${iconNames.join(", ")}];`;
51
+
52
+ // Write the transformed SVGs and the icons array to the output file
53
+ fs.writeFileSync(outputFile, combinedSVGs.join("\n\n") + iconsArray, "utf-8");
54
+ // console.log(`Combined SVGs written to ${outputFile}`);
55
+ });