@firstnoodle-ui/bui 0.0.13 → 0.0.15

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (275) hide show
  1. package/dist/bui.css +1 -1
  2. package/dist/components/checkbox/Checkbox.vue.d.ts +5 -9
  3. package/dist/components/checkbox/CircleIndicator.vue.d.ts +3 -2
  4. package/dist/components/checkbox/DefaultIndicator.vue.d.ts +3 -2
  5. package/dist/components/collapse/Collapse.vue.d.ts +0 -2
  6. package/dist/components/confirm-cancel/ConfirmCancel.vue.d.ts +7 -21
  7. package/dist/components/confirm-cancel/types.d.ts +17 -0
  8. package/dist/components/input/Input.vue.d.ts +3 -1
  9. package/dist/components/pagination/Pagination.vue.d.ts +4 -4
  10. package/dist/components/pop-confirm/PopConfirm.vue.d.ts +5 -13
  11. package/dist/components/text-editor/components/InsertLinkDialog.vue.d.ts +5 -2
  12. package/dist/components/text-editor/components/InsertTextDialog.vue.d.ts +5 -2
  13. package/dist/components/types.d.ts +2 -0
  14. package/dist/index.mjs +4759 -4763
  15. package/package.json +9 -2
  16. package/dist/components/scrollbar/scrollbarWidth.d.ts +0 -1
  17. package/src/components/application-wrapper/ApplicationWrapper.vue +0 -8
  18. package/src/components/application-wrapper/index.ts +0 -1
  19. package/src/components/aside-section-label/AsideSectionLabel.vue +0 -16
  20. package/src/components/aside-section-label/index.ts +0 -1
  21. package/src/components/button/Button.vue +0 -245
  22. package/src/components/button/NotificationBadge.vue +0 -15
  23. package/src/components/button/index.ts +0 -1
  24. package/src/components/button-group/ButtonGroup.vue +0 -97
  25. package/src/components/button-group/index.ts +0 -1
  26. package/src/components/checkbox/Checkbox.vue +0 -52
  27. package/src/components/checkbox/CircleIndicator.vue +0 -27
  28. package/src/components/checkbox/DefaultIndicator.vue +0 -22
  29. package/src/components/checkbox/index.ts +0 -1
  30. package/src/components/collapse/Collapse.vue +0 -120
  31. package/src/components/collapse/index.ts +0 -1
  32. package/src/components/confirm-cancel/ConfirmCancel.vue +0 -79
  33. package/src/components/confirm-cancel/index.ts +0 -1
  34. package/src/components/data-point/DataPoint.vue +0 -5
  35. package/src/components/data-point/index.ts +0 -1
  36. package/src/components/dialog/Dialog.vue +0 -70
  37. package/src/components/dialog/index.ts +0 -1
  38. package/src/components/fade-in-up/FadeInUp.vue +0 -17
  39. package/src/components/fade-in-up/index.ts +0 -1
  40. package/src/components/first-paint/FirstPaint.vue +0 -21
  41. package/src/components/first-paint/index.ts +0 -1
  42. package/src/components/first-paint/style.scss +0 -23
  43. package/src/components/flexbox/Flexbox.vue +0 -50
  44. package/src/components/flexbox/index.ts +0 -1
  45. package/src/components/horizontal-layout/Aside.vue +0 -113
  46. package/src/components/horizontal-layout/HorizontalLayout.vue +0 -118
  47. package/src/components/horizontal-layout/index.ts +0 -2
  48. package/src/components/icon/Icon.vue +0 -1159
  49. package/src/components/icon/index.ts +0 -1
  50. package/src/components/icon/utils/combine-svgs.cjs +0 -55
  51. package/src/components/icon/utils/combined-svgs.txt +0 -1150
  52. package/src/components/icon/utils/svgs/admin.svg +0 -16
  53. package/src/components/icon/utils/svgs/arrow-deviate.svg +0 -3
  54. package/src/components/icon/utils/svgs/arrow-down-plus.svg +0 -4
  55. package/src/components/icon/utils/svgs/arrow-down.svg +0 -3
  56. package/src/components/icon/utils/svgs/arrow-from.svg +0 -3
  57. package/src/components/icon/utils/svgs/arrow-left.svg +0 -3
  58. package/src/components/icon/utils/svgs/arrow-move.svg +0 -15
  59. package/src/components/icon/utils/svgs/arrow-right.svg +0 -3
  60. package/src/components/icon/utils/svgs/arrow-sub.svg +0 -3
  61. package/src/components/icon/utils/svgs/arrow-trend.svg +0 -15
  62. package/src/components/icon/utils/svgs/arrow-up-plus.svg +0 -4
  63. package/src/components/icon/utils/svgs/arrow-up.svg +0 -3
  64. package/src/components/icon/utils/svgs/authority.svg +0 -5
  65. package/src/components/icon/utils/svgs/beams.svg +0 -5
  66. package/src/components/icon/utils/svgs/bell.svg +0 -15
  67. package/src/components/icon/utils/svgs/bold.svg +0 -3
  68. package/src/components/icon/utils/svgs/box.svg +0 -5
  69. package/src/components/icon/utils/svgs/building.svg +0 -15
  70. package/src/components/icon/utils/svgs/bullet-list.svg +0 -8
  71. package/src/components/icon/utils/svgs/calendar.svg +0 -21
  72. package/src/components/icon/utils/svgs/camera.svg +0 -5
  73. package/src/components/icon/utils/svgs/categories.svg +0 -3
  74. package/src/components/icon/utils/svgs/check-circled.svg +0 -16
  75. package/src/components/icon/utils/svgs/check-outline.svg +0 -15
  76. package/src/components/icon/utils/svgs/check.svg +0 -3
  77. package/src/components/icon/utils/svgs/chevron-down.svg +0 -3
  78. package/src/components/icon/utils/svgs/chevron-left-double.svg +0 -4
  79. package/src/components/icon/utils/svgs/chevron-left.svg +0 -3
  80. package/src/components/icon/utils/svgs/chevron-right-double.svg +0 -4
  81. package/src/components/icon/utils/svgs/chevron-right.svg +0 -3
  82. package/src/components/icon/utils/svgs/chevron-up.svg +0 -3
  83. package/src/components/icon/utils/svgs/clock.svg +0 -4
  84. package/src/components/icon/utils/svgs/close-outline.svg +0 -3
  85. package/src/components/icon/utils/svgs/close.svg +0 -3
  86. package/src/components/icon/utils/svgs/columns.svg +0 -3
  87. package/src/components/icon/utils/svgs/conclusion.svg +0 -17
  88. package/src/components/icon/utils/svgs/copy.svg +0 -16
  89. package/src/components/icon/utils/svgs/crosshair.svg +0 -15
  90. package/src/components/icon/utils/svgs/dash.svg +0 -3
  91. package/src/components/icon/utils/svgs/dashboard.svg +0 -3
  92. package/src/components/icon/utils/svgs/delete.svg +0 -4
  93. package/src/components/icon/utils/svgs/delta.svg +0 -3
  94. package/src/components/icon/utils/svgs/download.svg +0 -3
  95. package/src/components/icon/utils/svgs/drag.svg +0 -8
  96. package/src/components/icon/utils/svgs/drilldown.svg +0 -8
  97. package/src/components/icon/utils/svgs/edit.svg +0 -16
  98. package/src/components/icon/utils/svgs/envelope.svg +0 -3
  99. package/src/components/icon/utils/svgs/error.svg +0 -3
  100. package/src/components/icon/utils/svgs/export-document.svg +0 -16
  101. package/src/components/icon/utils/svgs/filter.svg +0 -6
  102. package/src/components/icon/utils/svgs/filters.svg +0 -4
  103. package/src/components/icon/utils/svgs/flag.svg +0 -3
  104. package/src/components/icon/utils/svgs/folder.svg +0 -15
  105. package/src/components/icon/utils/svgs/frequency.svg +0 -3
  106. package/src/components/icon/utils/svgs/fullscreen-off.svg +0 -3
  107. package/src/components/icon/utils/svgs/fullscreen-on.svg +0 -3
  108. package/src/components/icon/utils/svgs/graduate.svg +0 -3
  109. package/src/components/icon/utils/svgs/hamburger.svg +0 -5
  110. package/src/components/icon/utils/svgs/handshake.svg +0 -15
  111. package/src/components/icon/utils/svgs/heading-1.svg +0 -4
  112. package/src/components/icon/utils/svgs/heading-2.svg +0 -4
  113. package/src/components/icon/utils/svgs/heading.svg +0 -3
  114. package/src/components/icon/utils/svgs/home.svg +0 -3
  115. package/src/components/icon/utils/svgs/id-card.svg +0 -6
  116. package/src/components/icon/utils/svgs/id.svg +0 -4
  117. package/src/components/icon/utils/svgs/indent-left.svg +0 -7
  118. package/src/components/icon/utils/svgs/indent-right.svg +0 -7
  119. package/src/components/icon/utils/svgs/information.svg +0 -17
  120. package/src/components/icon/utils/svgs/italics.svg +0 -3
  121. package/src/components/icon/utils/svgs/itenary.svg +0 -11
  122. package/src/components/icon/utils/svgs/keyboard.svg +0 -11
  123. package/src/components/icon/utils/svgs/lightning.svg +0 -15
  124. package/src/components/icon/utils/svgs/link.svg +0 -4
  125. package/src/components/icon/utils/svgs/list-collapse.svg +0 -6
  126. package/src/components/icon/utils/svgs/list-expand.svg +0 -6
  127. package/src/components/icon/utils/svgs/location.svg +0 -4
  128. package/src/components/icon/utils/svgs/lock-locked.svg +0 -4
  129. package/src/components/icon/utils/svgs/lock-unlocked.svg +0 -4
  130. package/src/components/icon/utils/svgs/magnifying-glass.svg +0 -15
  131. package/src/components/icon/utils/svgs/map.svg +0 -3
  132. package/src/components/icon/utils/svgs/megaphone.svg +0 -3
  133. package/src/components/icon/utils/svgs/message.svg +0 -15
  134. package/src/components/icon/utils/svgs/microscope.svg +0 -3
  135. package/src/components/icon/utils/svgs/moon.svg +0 -3
  136. package/src/components/icon/utils/svgs/new-document.svg +0 -4
  137. package/src/components/icon/utils/svgs/news.svg +0 -15
  138. package/src/components/icon/utils/svgs/numbered-list.svg +0 -7
  139. package/src/components/icon/utils/svgs/open-link.svg +0 -16
  140. package/src/components/icon/utils/svgs/options.svg +0 -5
  141. package/src/components/icon/utils/svgs/page.svg +0 -7
  142. package/src/components/icon/utils/svgs/paper-plane.svg +0 -15
  143. package/src/components/icon/utils/svgs/paper.svg +0 -3
  144. package/src/components/icon/utils/svgs/pen-and-paper.svg +0 -4
  145. package/src/components/icon/utils/svgs/phase.svg +0 -15
  146. package/src/components/icon/utils/svgs/photo.svg +0 -4
  147. package/src/components/icon/utils/svgs/pie-chart.svg +0 -3
  148. package/src/components/icon/utils/svgs/plus.svg +0 -3
  149. package/src/components/icon/utils/svgs/point-left.svg +0 -3
  150. package/src/components/icon/utils/svgs/point-up.svg +0 -3
  151. package/src/components/icon/utils/svgs/popup.svg +0 -16
  152. package/src/components/icon/utils/svgs/question.svg +0 -17
  153. package/src/components/icon/utils/svgs/radio-tower.svg +0 -3
  154. package/src/components/icon/utils/svgs/recycle.svg +0 -3
  155. package/src/components/icon/utils/svgs/redo.svg +0 -3
  156. package/src/components/icon/utils/svgs/refresh.svg +0 -3
  157. package/src/components/icon/utils/svgs/route.svg +0 -3
  158. package/src/components/icon/utils/svgs/rows.svg +0 -3
  159. package/src/components/icon/utils/svgs/scope.svg +0 -7
  160. package/src/components/icon/utils/svgs/settings.svg +0 -16
  161. package/src/components/icon/utils/svgs/share.svg +0 -11
  162. package/src/components/icon/utils/svgs/sign-in.svg +0 -4
  163. package/src/components/icon/utils/svgs/sign-up.svg +0 -3
  164. package/src/components/icon/utils/svgs/sort-down.svg +0 -20
  165. package/src/components/icon/utils/svgs/sort-up.svg +0 -20
  166. package/src/components/icon/utils/svgs/sort.svg +0 -7
  167. package/src/components/icon/utils/svgs/square-solid.svg +0 -3
  168. package/src/components/icon/utils/svgs/star-solid.svg +0 -15
  169. package/src/components/icon/utils/svgs/star.svg +0 -15
  170. package/src/components/icon/utils/svgs/stop-watch.svg +0 -5
  171. package/src/components/icon/utils/svgs/structure.svg +0 -3
  172. package/src/components/icon/utils/svgs/sun.svg +0 -23
  173. package/src/components/icon/utils/svgs/table.svg +0 -3
  174. package/src/components/icon/utils/svgs/tag.svg +0 -15
  175. package/src/components/icon/utils/svgs/team.svg +0 -15
  176. package/src/components/icon/utils/svgs/telescope.svg +0 -15
  177. package/src/components/icon/utils/svgs/trash.svg +0 -6
  178. package/src/components/icon/utils/svgs/triangle-angle.svg +0 -3
  179. package/src/components/icon/utils/svgs/triangle-side.svg +0 -3
  180. package/src/components/icon/utils/svgs/underline.svg +0 -4
  181. package/src/components/icon/utils/svgs/undo.svg +0 -3
  182. package/src/components/icon/utils/svgs/user.svg +0 -16
  183. package/src/components/icon/utils/svgs/venn.svg +0 -3
  184. package/src/components/icon/utils/svgs/video.svg +0 -3
  185. package/src/components/icon/utils/svgs/visibility-off-alt.svg +0 -19
  186. package/src/components/icon/utils/svgs/visibility-off.svg +0 -3
  187. package/src/components/icon/utils/svgs/visibility-on.svg +0 -16
  188. package/src/components/icon/utils/svgs/warning.svg +0 -5
  189. package/src/components/index.ts +0 -38
  190. package/src/components/input/Input.vue +0 -87
  191. package/src/components/input/index.ts +0 -1
  192. package/src/components/load-spinner/LoadSpinner.vue +0 -13
  193. package/src/components/load-spinner/index.ts +0 -1
  194. package/src/components/modal/Modal.vue +0 -111
  195. package/src/components/modal/index.ts +0 -1
  196. package/src/components/nav-item/NavItem.vue +0 -62
  197. package/src/components/nav-item/index.ts +0 -1
  198. package/src/components/notification/Notification.vue +0 -34
  199. package/src/components/notification/index.ts +0 -1
  200. package/src/components/pagination/Pagination.vue +0 -72
  201. package/src/components/pagination/index.ts +0 -1
  202. package/src/components/pill/Pill.vue +0 -52
  203. package/src/components/pill/index.ts +0 -2
  204. package/src/components/pill/pill-types.ts +0 -2
  205. package/src/components/pop-confirm/PopConfirm.vue +0 -69
  206. package/src/components/pop-confirm/index.ts +0 -1
  207. package/src/components/pop-select/FooterButton.vue +0 -5
  208. package/src/components/pop-select/PopSelect.vue +0 -346
  209. package/src/components/pop-select/ResultFilters.vue +0 -31
  210. package/src/components/pop-select/enums.ts +0 -7
  211. package/src/components/pop-select/index.ts +0 -2
  212. package/src/components/pop-select/option.vue +0 -51
  213. package/src/components/popper/Popper.vue +0 -239
  214. package/src/components/popper/PopperContent.vue +0 -5
  215. package/src/components/popper/index.ts +0 -2
  216. package/src/components/popper/middleware.ts +0 -19
  217. package/src/components/screen-overlay/ScreenOverlay.vue +0 -53
  218. package/src/components/screen-overlay/index.ts +0 -1
  219. package/src/components/scrollbar/Bar.vue +0 -106
  220. package/src/components/scrollbar/ScrollBottomLoader.vue +0 -25
  221. package/src/components/scrollbar/Scrollbar.vue +0 -220
  222. package/src/components/scrollbar/enums.ts +0 -23
  223. package/src/components/scrollbar/index.ts +0 -2
  224. package/src/components/scrollbar/scrollbarWidth.ts +0 -26
  225. package/src/components/scrollbar/style.scss +0 -75
  226. package/src/components/scrollbar/types.ts +0 -32
  227. package/src/components/side-over/SideOver.vue +0 -87
  228. package/src/components/side-over/index.ts +0 -1
  229. package/src/components/status-select/StatusIndicator.vue +0 -78
  230. package/src/components/status-select/StatusSelect.vue +0 -62
  231. package/src/components/status-select/index.ts +0 -1
  232. package/src/components/switch/Switch.vue +0 -52
  233. package/src/components/switch/index.ts +0 -1
  234. package/src/components/tab/Tab.vue +0 -59
  235. package/src/components/tab/index.ts +0 -1
  236. package/src/components/tag/Tag.vue +0 -34
  237. package/src/components/tag/index.ts +0 -1
  238. package/src/components/text-editor/TextEditor.vue +0 -399
  239. package/src/components/text-editor/components/Dialog.vue +0 -11
  240. package/src/components/text-editor/components/FormattingButton.vue +0 -46
  241. package/src/components/text-editor/components/InsertLinkDialog.vue +0 -81
  242. package/src/components/text-editor/components/InsertTextDialog.vue +0 -36
  243. package/src/components/text-editor/components/index.ts +0 -3
  244. package/src/components/text-editor/index.ts +0 -1
  245. package/src/components/text-highlight/TextHighlight.vue +0 -113
  246. package/src/components/text-highlight/index.ts +0 -1
  247. package/src/components/text-viewer/TextViewer.vue +0 -5
  248. package/src/components/text-viewer/index.ts +0 -1
  249. package/src/components/tooltip/Tooltip.vue +0 -54
  250. package/src/components/tooltip/index.ts +0 -1
  251. package/src/components/types.ts +0 -221
  252. package/src/components/vertical-layout/RunningSection.vue +0 -54
  253. package/src/components/vertical-layout/VerticalLayout.vue +0 -37
  254. package/src/components/vertical-layout/index.ts +0 -3
  255. package/src/components/vertical-layout/types.ts +0 -2
  256. package/src/components/window-frame/WindowFrame.vue +0 -20
  257. package/src/components/window-frame/index.ts +0 -1
  258. package/src/composables/index.ts +0 -5
  259. package/src/composables/useClickOutside.ts +0 -48
  260. package/src/composables/useEscapeKey.ts +0 -12
  261. package/src/composables/useMounted.ts +0 -7
  262. package/src/composables/useNextFrame.ts +0 -10
  263. package/src/composables/useTrapFocus.ts +0 -61
  264. package/src/index.ts +0 -5
  265. package/src/main.css +0 -116
  266. package/src/utils/array.ts +0 -11
  267. package/src/utils/clamp.ts +0 -1
  268. package/src/utils/debounce.ts +0 -8
  269. package/src/utils/index.ts +0 -5
  270. package/src/utils/scrollIntoView.ts +0 -25
  271. package/src/utils/scrollbarWidth.ts +0 -27
  272. package/tsconfig.app.json +0 -4
  273. package/tsconfig.json +0 -11
  274. package/tsconfig.node.json +0 -21
  275. package/vite.config.ts +0 -27
@@ -1 +0,0 @@
1
- export { default as BIcon } from "./Icon.vue";
@@ -1,55 +0,0 @@
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
- });