@kahitsan/ksui 0.48.0 → 0.50.0

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 (426) hide show
  1. package/README.md +2 -2
  2. package/package.json +24 -7
  3. package/src/components/base/ActionMenu.test.tsx +1 -1
  4. package/src/components/base/ActionMenu.tsx +1 -1
  5. package/src/components/base/AddAttachmentTile.tsx +3 -3
  6. package/src/components/base/CameraCapture.tsx +2 -2
  7. package/src/components/base/CopyButton.tsx +2 -2
  8. package/src/components/base/DataTable.tsx +8 -8
  9. package/src/components/base/DatePicker.tsx +6 -6
  10. package/src/components/base/Dropdown.tsx +2 -2
  11. package/src/components/base/ExistingAttachmentTile.tsx +4 -4
  12. package/src/components/base/ImageCropper.tsx +1 -1
  13. package/src/components/base/ImageViewer.tsx +1 -1
  14. package/src/components/base/ModalHeader.tsx +1 -1
  15. package/src/components/base/MonthCalendar.tsx +2 -2
  16. package/src/components/base/ProgressBar.tsx +1 -1
  17. package/src/components/base/SegmentedFilter.test.tsx +1 -1
  18. package/src/components/base/SocialLinksBar.tsx +2 -2
  19. package/src/components/base/ThemeToggle.tsx +3 -3
  20. package/src/components/composite/ComboBox.tsx +6 -6
  21. package/src/components/composite/CustomRenderer.tsx +1 -1
  22. package/src/components/composite/FileField.tsx +4 -4
  23. package/src/components/composite/FlowGraph.tsx +12 -12
  24. package/src/components/composite/FormAdvancedSection.tsx +1 -1
  25. package/src/components/composite/LiveTimer.tsx +5 -5
  26. package/src/components/composite/MentionTextarea.tsx +2 -2
  27. package/src/components/composite/MultiPeriodPicker.tsx +5 -5
  28. package/src/components/composite/NotFound.tsx +2 -2
  29. package/src/components/composite/PaymentAccountPicker.tsx +2 -2
  30. package/src/components/composite/SalesBodyEditor.tsx +5 -5
  31. package/src/components/composite/SearchableSelect.tsx +2 -2
  32. package/src/components/composite/SecretReveal.tsx +1 -1
  33. package/src/components/composite/TransactionForm.tsx +9 -9
  34. package/src/components/composite/TransactionPayableFields.tsx +1 -1
  35. package/src/components/composite/TransferAccountsPicker.tsx +2 -2
  36. package/src/components/composite/TransferFeeChip.tsx +1 -1
  37. package/src/components/composite/VoucherPicker.tsx +5 -5
  38. package/src/components/composite/resource/ResourcePage.tsx +5 -5
  39. package/src/icons/README.md +29 -0
  40. package/src/icons/activity.tsx +4 -0
  41. package/src/icons/alert-circle.tsx +1 -0
  42. package/src/icons/alert-triangle.tsx +1 -0
  43. package/src/icons/app-window.tsx +4 -0
  44. package/src/icons/archive-restore.tsx +4 -0
  45. package/src/icons/archive.tsx +4 -0
  46. package/src/icons/arrow-down-left.tsx +4 -0
  47. package/src/icons/arrow-down.tsx +4 -0
  48. package/src/icons/arrow-left-right.tsx +4 -0
  49. package/src/icons/arrow-left.tsx +4 -0
  50. package/src/icons/arrow-right-left.tsx +4 -0
  51. package/src/icons/arrow-right.tsx +4 -0
  52. package/src/icons/arrow-up-down.tsx +4 -0
  53. package/src/icons/arrow-up-right.tsx +4 -0
  54. package/src/icons/arrow-up.tsx +4 -0
  55. package/src/icons/artwork/activity.ts +2 -0
  56. package/src/icons/artwork/app-window.png +0 -0
  57. package/src/icons/artwork/app-window.ts +3 -0
  58. package/src/icons/artwork/archive-restore.ts +2 -0
  59. package/src/icons/artwork/archive.ts +2 -0
  60. package/src/icons/artwork/arrow-down.ts +2 -0
  61. package/src/icons/artwork/arrow-left-right.ts +2 -0
  62. package/src/icons/artwork/at-sign.png +0 -0
  63. package/src/icons/artwork/at-sign.ts +3 -0
  64. package/src/icons/artwork/ban.png +0 -0
  65. package/src/icons/artwork/ban.ts +3 -0
  66. package/src/icons/artwork/banknote.ts +2 -0
  67. package/src/icons/artwork/bell.ts +2 -0
  68. package/src/icons/artwork/bir-form-0619-e.png +0 -0
  69. package/src/icons/artwork/bir-form-0619-e.ts +3 -0
  70. package/src/icons/artwork/bir-form-1601-eq.png +0 -0
  71. package/src/icons/artwork/bir-form-1601-eq.ts +3 -0
  72. package/src/icons/artwork/bir-form-2307.png +0 -0
  73. package/src/icons/artwork/bir-form-2307.ts +3 -0
  74. package/src/icons/artwork/bir-office.ts +2 -0
  75. package/src/icons/artwork/blocks.png +0 -0
  76. package/src/icons/artwork/blocks.ts +3 -0
  77. package/src/icons/artwork/book-open.ts +2 -0
  78. package/src/icons/artwork/boxes.ts +2 -0
  79. package/src/icons/artwork/briefcase.png +0 -0
  80. package/src/icons/artwork/briefcase.ts +3 -0
  81. package/src/icons/artwork/building-2.ts +2 -0
  82. package/src/icons/artwork/building.png +0 -0
  83. package/src/icons/artwork/building.ts +3 -0
  84. package/src/icons/artwork/calculator.png +0 -0
  85. package/src/icons/artwork/calculator.ts +3 -0
  86. package/src/icons/artwork/calendar-clock.png +0 -0
  87. package/src/icons/artwork/calendar-clock.ts +3 -0
  88. package/src/icons/artwork/calendar.png +0 -0
  89. package/src/icons/artwork/calendar.ts +3 -0
  90. package/src/icons/artwork/camera.ts +2 -0
  91. package/src/icons/artwork/chart-bar.ts +2 -0
  92. package/src/icons/artwork/chart-column.ts +2 -0
  93. package/src/icons/artwork/check-bold.ts +2 -0
  94. package/src/icons/artwork/check-check.ts +2 -0
  95. package/src/icons/artwork/check.ts +2 -0
  96. package/src/icons/artwork/chevron-right.ts +2 -0
  97. package/src/icons/artwork/chevrons-up-down.ts +2 -0
  98. package/src/icons/artwork/circle-alert.ts +2 -0
  99. package/src/icons/artwork/circle-check-bold.png +0 -0
  100. package/src/icons/artwork/circle-check-bold.ts +3 -0
  101. package/src/icons/artwork/circle-check.png +0 -0
  102. package/src/icons/artwork/circle-check.ts +3 -0
  103. package/src/icons/artwork/circle-dot.ts +2 -0
  104. package/src/icons/artwork/circle-question-mark.png +0 -0
  105. package/src/icons/artwork/circle-question-mark.ts +3 -0
  106. package/src/icons/artwork/circle-x.ts +2 -0
  107. package/src/icons/artwork/circle.ts +2 -0
  108. package/src/icons/artwork/clipboard-list.ts +2 -0
  109. package/src/icons/artwork/clock.png +0 -0
  110. package/src/icons/artwork/clock.ts +3 -0
  111. package/src/icons/artwork/cloud-download.ts +2 -0
  112. package/src/icons/artwork/coins.ts +2 -0
  113. package/src/icons/artwork/compass.png +0 -0
  114. package/src/icons/artwork/compass.ts +3 -0
  115. package/src/icons/artwork/copy.png +0 -0
  116. package/src/icons/artwork/copy.ts +3 -0
  117. package/src/icons/artwork/corner-down-right.ts +2 -0
  118. package/src/icons/artwork/credit-card.png +0 -0
  119. package/src/icons/artwork/credit-card.ts +3 -0
  120. package/src/icons/artwork/crown.ts +2 -0
  121. package/src/icons/artwork/database.png +0 -0
  122. package/src/icons/artwork/database.ts +3 -0
  123. package/src/icons/artwork/dollar-sign.ts +2 -0
  124. package/src/icons/artwork/door-open.png +0 -0
  125. package/src/icons/artwork/door-open.ts +3 -0
  126. package/src/icons/artwork/download.ts +2 -0
  127. package/src/icons/artwork/ellipsis.ts +2 -0
  128. package/src/icons/artwork/equal.ts +2 -0
  129. package/src/icons/artwork/external-link.ts +2 -0
  130. package/src/icons/artwork/eye-off.ts +2 -0
  131. package/src/icons/artwork/eye.ts +2 -0
  132. package/src/icons/artwork/file-spreadsheet.png +0 -0
  133. package/src/icons/artwork/file-spreadsheet.ts +3 -0
  134. package/src/icons/artwork/file-text.png +0 -0
  135. package/src/icons/artwork/file-text.ts +3 -0
  136. package/src/icons/artwork/file.ts +2 -0
  137. package/src/icons/artwork/funnel.ts +2 -0
  138. package/src/icons/artwork/git-branch.ts +2 -0
  139. package/src/icons/artwork/github.ts +2 -0
  140. package/src/icons/artwork/globe.png +0 -0
  141. package/src/icons/artwork/globe.ts +3 -0
  142. package/src/icons/artwork/grip-vertical.ts +2 -0
  143. package/src/icons/artwork/history.png +0 -0
  144. package/src/icons/artwork/history.ts +3 -0
  145. package/src/icons/artwork/house.ts +2 -0
  146. package/src/icons/artwork/image-off.png +0 -0
  147. package/src/icons/artwork/image-off.ts +3 -0
  148. package/src/icons/artwork/inbox.ts +2 -0
  149. package/src/icons/artwork/info.ts +2 -0
  150. package/src/icons/artwork/key.ts +2 -0
  151. package/src/icons/artwork/landmark.ts +2 -0
  152. package/src/icons/artwork/layers.png +0 -0
  153. package/src/icons/artwork/layers.ts +3 -0
  154. package/src/icons/artwork/layout-dashboard.ts +2 -0
  155. package/src/icons/artwork/layout-grid.ts +2 -0
  156. package/src/icons/artwork/layout-list.png +0 -0
  157. package/src/icons/artwork/layout-list.ts +3 -0
  158. package/src/icons/artwork/link-2.ts +2 -0
  159. package/src/icons/artwork/list.ts +2 -0
  160. package/src/icons/artwork/loader-circle.ts +2 -0
  161. package/src/icons/artwork/lock-keyhole.ts +2 -0
  162. package/src/icons/artwork/lock.ts +2 -0
  163. package/src/icons/artwork/log-in.ts +2 -0
  164. package/src/icons/artwork/log-out.ts +2 -0
  165. package/src/icons/artwork/mail-open.ts +2 -0
  166. package/src/icons/artwork/mail.ts +2 -0
  167. package/src/icons/artwork/map-pin.ts +2 -0
  168. package/src/icons/artwork/megaphone.ts +2 -0
  169. package/src/icons/artwork/menu.ts +2 -0
  170. package/src/icons/artwork/message-square.ts +2 -0
  171. package/src/icons/artwork/minus.ts +2 -0
  172. package/src/icons/artwork/moon.ts +2 -0
  173. package/src/icons/artwork/mouse-pointer-click.ts +2 -0
  174. package/src/icons/artwork/move.ts +2 -0
  175. package/src/icons/artwork/package.ts +2 -0
  176. package/src/icons/artwork/palette.png +0 -0
  177. package/src/icons/artwork/palette.ts +3 -0
  178. package/src/icons/artwork/panel-left-close.ts +2 -0
  179. package/src/icons/artwork/panel-left.png +0 -0
  180. package/src/icons/artwork/panel-left.ts +3 -0
  181. package/src/icons/artwork/paperclip.png +0 -0
  182. package/src/icons/artwork/paperclip.ts +3 -0
  183. package/src/icons/artwork/pause.ts +2 -0
  184. package/src/icons/artwork/pencil.ts +2 -0
  185. package/src/icons/artwork/phone-call.png +0 -0
  186. package/src/icons/artwork/phone-call.ts +3 -0
  187. package/src/icons/artwork/phone.ts +2 -0
  188. package/src/icons/artwork/piggy-bank.ts +2 -0
  189. package/src/icons/artwork/play.ts +2 -0
  190. package/src/icons/artwork/plus.ts +2 -0
  191. package/src/icons/artwork/power.ts +2 -0
  192. package/src/icons/artwork/radio.png +0 -0
  193. package/src/icons/artwork/radio.ts +3 -0
  194. package/src/icons/artwork/receipt.ts +2 -0
  195. package/src/icons/artwork/refresh-cw.ts +2 -0
  196. package/src/icons/artwork/rotate-ccw.ts +2 -0
  197. package/src/icons/artwork/rss.ts +2 -0
  198. package/src/icons/artwork/sales.ts +2 -0
  199. package/src/icons/artwork/save.ts +2 -0
  200. package/src/icons/artwork/search.ts +2 -0
  201. package/src/icons/artwork/settings.ts +2 -0
  202. package/src/icons/artwork/shield-alert.ts +2 -0
  203. package/src/icons/artwork/shield-check.ts +2 -0
  204. package/src/icons/artwork/shield-off.ts +2 -0
  205. package/src/icons/artwork/shield.ts +2 -0
  206. package/src/icons/artwork/shopping-bag.png +0 -0
  207. package/src/icons/artwork/shopping-bag.ts +3 -0
  208. package/src/icons/artwork/shopping-cart.ts +2 -0
  209. package/src/icons/artwork/shuffle.ts +2 -0
  210. package/src/icons/artwork/sliders-horizontal.ts +2 -0
  211. package/src/icons/artwork/smartphone.ts +2 -0
  212. package/src/icons/artwork/sparkles.ts +2 -0
  213. package/src/icons/artwork/square.ts +2 -0
  214. package/src/icons/artwork/star-filled.ts +2 -0
  215. package/src/icons/artwork/star.ts +2 -0
  216. package/src/icons/artwork/sticky-note.png +0 -0
  217. package/src/icons/artwork/sticky-note.ts +3 -0
  218. package/src/icons/artwork/store.png +0 -0
  219. package/src/icons/artwork/store.ts +3 -0
  220. package/src/icons/artwork/sun.ts +2 -0
  221. package/src/icons/artwork/tag.ts +2 -0
  222. package/src/icons/artwork/target.png +0 -0
  223. package/src/icons/artwork/target.ts +3 -0
  224. package/src/icons/artwork/tax-document.ts +2 -0
  225. package/src/icons/artwork/ticket.png +0 -0
  226. package/src/icons/artwork/ticket.ts +3 -0
  227. package/src/icons/artwork/timer.ts +2 -0
  228. package/src/icons/artwork/trash-2.png +0 -0
  229. package/src/icons/artwork/trash-2.ts +3 -0
  230. package/src/icons/artwork/trending-up.ts +2 -0
  231. package/src/icons/artwork/triangle-alert.ts +2 -0
  232. package/src/icons/artwork/trophy.ts +2 -0
  233. package/src/icons/artwork/undo-2.ts +2 -0
  234. package/src/icons/artwork/upload.ts +2 -0
  235. package/src/icons/artwork/user-check.png +0 -0
  236. package/src/icons/artwork/user-check.ts +3 -0
  237. package/src/icons/artwork/user-plus.ts +2 -0
  238. package/src/icons/artwork/user.ts +2 -0
  239. package/src/icons/artwork/users.ts +2 -0
  240. package/src/icons/artwork/volume-2.ts +2 -0
  241. package/src/icons/artwork/volume-x.ts +2 -0
  242. package/src/icons/artwork/wallet.ts +2 -0
  243. package/src/icons/artwork/workflow.ts +2 -0
  244. package/src/icons/artwork/x.ts +2 -0
  245. package/src/icons/artwork/zap.ts +2 -0
  246. package/src/icons/artwork/zoom-in.png +0 -0
  247. package/src/icons/artwork/zoom-in.ts +3 -0
  248. package/src/icons/asset-modules.d.ts +4 -0
  249. package/src/icons/at-sign.tsx +4 -0
  250. package/src/icons/ban.tsx +4 -0
  251. package/src/icons/banknote.tsx +4 -0
  252. package/src/icons/bar-chart-3.tsx +1 -0
  253. package/src/icons/bar-chart3.tsx +1 -0
  254. package/src/icons/bell.tsx +4 -0
  255. package/src/icons/bir-form-0619-e.tsx +4 -0
  256. package/src/icons/bir-form-1601-eq.tsx +4 -0
  257. package/src/icons/bir-form-2307.tsx +4 -0
  258. package/src/icons/bir-office.tsx +4 -0
  259. package/src/icons/blocks.tsx +4 -0
  260. package/src/icons/book-open.tsx +4 -0
  261. package/src/icons/boxes.tsx +4 -0
  262. package/src/icons/briefcase.tsx +4 -0
  263. package/src/icons/building-2.tsx +4 -0
  264. package/src/icons/building.tsx +4 -0
  265. package/src/icons/building2.tsx +1 -0
  266. package/src/icons/calculator.tsx +4 -0
  267. package/src/icons/calendar-clock.tsx +4 -0
  268. package/src/icons/calendar-days.tsx +4 -0
  269. package/src/icons/calendar.tsx +4 -0
  270. package/src/icons/camera.tsx +4 -0
  271. package/src/icons/chart-bar.tsx +4 -0
  272. package/src/icons/chart-column.tsx +4 -0
  273. package/src/icons/check-bold.tsx +4 -0
  274. package/src/icons/check-check.tsx +4 -0
  275. package/src/icons/check-circle-2.tsx +1 -0
  276. package/src/icons/check-circle.tsx +1 -0
  277. package/src/icons/check.tsx +5 -0
  278. package/src/icons/chevron-down.tsx +4 -0
  279. package/src/icons/chevron-left.tsx +4 -0
  280. package/src/icons/chevron-right.tsx +4 -0
  281. package/src/icons/chevron-up.tsx +4 -0
  282. package/src/icons/chevrons-up-down.tsx +4 -0
  283. package/src/icons/circle-alert.tsx +4 -0
  284. package/src/icons/circle-check-big.tsx +5 -0
  285. package/src/icons/circle-check-bold.tsx +4 -0
  286. package/src/icons/circle-check.tsx +5 -0
  287. package/src/icons/circle-dot.tsx +4 -0
  288. package/src/icons/circle-help.tsx +1 -0
  289. package/src/icons/circle-question-mark.tsx +4 -0
  290. package/src/icons/circle-slash.tsx +4 -0
  291. package/src/icons/circle-x.tsx +4 -0
  292. package/src/icons/circle.tsx +4 -0
  293. package/src/icons/clipboard-list.tsx +4 -0
  294. package/src/icons/clock.tsx +4 -0
  295. package/src/icons/cloud-download.tsx +4 -0
  296. package/src/icons/cloud-upload.tsx +4 -0
  297. package/src/icons/coins.tsx +4 -0
  298. package/src/icons/compass.tsx +4 -0
  299. package/src/icons/copy.tsx +4 -0
  300. package/src/icons/corner-down-right.tsx +4 -0
  301. package/src/icons/create-artwork-icon.test.tsx +123 -0
  302. package/src/icons/create-artwork-icon.tsx +139 -0
  303. package/src/icons/credit-card.tsx +4 -0
  304. package/src/icons/crown.tsx +4 -0
  305. package/src/icons/database.tsx +4 -0
  306. package/src/icons/dollar-sign.tsx +4 -0
  307. package/src/icons/door-open.tsx +4 -0
  308. package/src/icons/download-cloud.tsx +1 -0
  309. package/src/icons/download.tsx +4 -0
  310. package/src/icons/ellipsis-vertical.tsx +4 -0
  311. package/src/icons/ellipsis.tsx +4 -0
  312. package/src/icons/equal.tsx +4 -0
  313. package/src/icons/external-link.tsx +4 -0
  314. package/src/icons/eye-off.tsx +4 -0
  315. package/src/icons/eye.tsx +4 -0
  316. package/src/icons/file-spreadsheet.tsx +4 -0
  317. package/src/icons/file-text.tsx +4 -0
  318. package/src/icons/file.tsx +4 -0
  319. package/src/icons/filter.tsx +1 -0
  320. package/src/icons/funnel.tsx +4 -0
  321. package/src/icons/git-branch.tsx +4 -0
  322. package/src/icons/github.tsx +4 -0
  323. package/src/icons/globe.tsx +4 -0
  324. package/src/icons/grip-vertical.tsx +4 -0
  325. package/src/icons/history.tsx +4 -0
  326. package/src/icons/house.tsx +4 -0
  327. package/src/icons/image-off.tsx +4 -0
  328. package/src/icons/inbox.tsx +4 -0
  329. package/src/icons/index.ts +184 -0
  330. package/src/icons/info.tsx +4 -0
  331. package/src/icons/key-round.tsx +4 -0
  332. package/src/icons/key.tsx +4 -0
  333. package/src/icons/landmark.tsx +4 -0
  334. package/src/icons/layers.tsx +4 -0
  335. package/src/icons/layout-dashboard.tsx +4 -0
  336. package/src/icons/layout-grid.tsx +4 -0
  337. package/src/icons/layout-list.tsx +4 -0
  338. package/src/icons/link-2.tsx +4 -0
  339. package/src/icons/list.tsx +4 -0
  340. package/src/icons/loader-2.tsx +1 -0
  341. package/src/icons/loader-circle.tsx +4 -0
  342. package/src/icons/lock-keyhole.tsx +4 -0
  343. package/src/icons/lock.tsx +4 -0
  344. package/src/icons/log-in.tsx +4 -0
  345. package/src/icons/log-out.tsx +4 -0
  346. package/src/icons/mail-open.tsx +4 -0
  347. package/src/icons/mail.tsx +4 -0
  348. package/src/icons/map-pin.tsx +4 -0
  349. package/src/icons/megaphone.tsx +4 -0
  350. package/src/icons/menu.tsx +4 -0
  351. package/src/icons/message-square.tsx +4 -0
  352. package/src/icons/minus.tsx +4 -0
  353. package/src/icons/moon.tsx +4 -0
  354. package/src/icons/more-horizontal.tsx +1 -0
  355. package/src/icons/more-vertical.tsx +1 -0
  356. package/src/icons/mouse-pointer-click.tsx +4 -0
  357. package/src/icons/move.tsx +4 -0
  358. package/src/icons/package.tsx +4 -0
  359. package/src/icons/palette.tsx +4 -0
  360. package/src/icons/panel-left-close.tsx +4 -0
  361. package/src/icons/panel-left.tsx +4 -0
  362. package/src/icons/paperclip.tsx +4 -0
  363. package/src/icons/pause.tsx +4 -0
  364. package/src/icons/pencil.tsx +4 -0
  365. package/src/icons/phone-call.tsx +4 -0
  366. package/src/icons/phone.tsx +4 -0
  367. package/src/icons/piggy-bank.tsx +4 -0
  368. package/src/icons/play.tsx +4 -0
  369. package/src/icons/plus.tsx +4 -0
  370. package/src/icons/power.tsx +4 -0
  371. package/src/icons/radio.tsx +4 -0
  372. package/src/icons/receipt.tsx +4 -0
  373. package/src/icons/refresh-cw.tsx +4 -0
  374. package/src/icons/registry.ts +202 -0
  375. package/src/icons/rotate-ccw.tsx +4 -0
  376. package/src/icons/rss.tsx +4 -0
  377. package/src/icons/sales.tsx +4 -0
  378. package/src/icons/save.tsx +4 -0
  379. package/src/icons/search.tsx +4 -0
  380. package/src/icons/settings-2.tsx +4 -0
  381. package/src/icons/settings.tsx +4 -0
  382. package/src/icons/settings2.tsx +1 -0
  383. package/src/icons/shield-alert.tsx +4 -0
  384. package/src/icons/shield-check.tsx +4 -0
  385. package/src/icons/shield-off.tsx +4 -0
  386. package/src/icons/shield.tsx +4 -0
  387. package/src/icons/shopping-bag.tsx +4 -0
  388. package/src/icons/shopping-cart.tsx +4 -0
  389. package/src/icons/shuffle.tsx +4 -0
  390. package/src/icons/sliders-horizontal.tsx +4 -0
  391. package/src/icons/smartphone.tsx +4 -0
  392. package/src/icons/sparkles.tsx +4 -0
  393. package/src/icons/square.tsx +4 -0
  394. package/src/icons/star-filled.tsx +4 -0
  395. package/src/icons/star.tsx +5 -0
  396. package/src/icons/sticky-note.tsx +4 -0
  397. package/src/icons/store.tsx +4 -0
  398. package/src/icons/sun.tsx +4 -0
  399. package/src/icons/tag.tsx +4 -0
  400. package/src/icons/target.tsx +4 -0
  401. package/src/icons/tax-document.tsx +4 -0
  402. package/src/icons/ticket.tsx +4 -0
  403. package/src/icons/timer.tsx +4 -0
  404. package/src/icons/trash-2.tsx +4 -0
  405. package/src/icons/trash2.tsx +1 -0
  406. package/src/icons/trending-up.tsx +4 -0
  407. package/src/icons/triangle-alert.tsx +4 -0
  408. package/src/icons/trophy.tsx +4 -0
  409. package/src/icons/undo-2.tsx +4 -0
  410. package/src/icons/upload.tsx +4 -0
  411. package/src/icons/user-check.tsx +4 -0
  412. package/src/icons/user-plus.tsx +4 -0
  413. package/src/icons/user-round.tsx +4 -0
  414. package/src/icons/user.tsx +4 -0
  415. package/src/icons/users-round.tsx +4 -0
  416. package/src/icons/users.tsx +4 -0
  417. package/src/icons/volume-2.tsx +4 -0
  418. package/src/icons/volume-x.tsx +4 -0
  419. package/src/icons/wallet.tsx +4 -0
  420. package/src/icons/workflow.tsx +4 -0
  421. package/src/icons/x-circle.tsx +1 -0
  422. package/src/icons/x.tsx +4 -0
  423. package/src/icons/zap.tsx +4 -0
  424. package/src/icons/zoom-in.tsx +4 -0
  425. package/src/index.ts +3 -3
  426. package/src/utils/account-icons.ts +12 -12
package/README.md CHANGED
@@ -32,7 +32,7 @@ There are two ways to use KSUI.
32
32
  own copy.
33
33
 
34
34
  One honest note so nothing surprises you. Every component is self-contained: the
35
- library depends only on `solid-js` and `lucide-solid` and injects its own CSS, so
35
+ library depends only on `solid-js` and includes original icon artwork and injects its own CSS, so
36
36
  there is no host UI kit and no Tailwind to wire up. A handful of components (the
37
37
  voucher and payment account pickers, the attachment tiles) call a backend that
38
38
  answers certain requests, so they shine inside an app built the KahitSan way, but
@@ -124,7 +124,7 @@ One thing this library expects from the app around it:
124
124
 
125
125
  That is the whole setup. There is no host UI kit, no Tailwind, and no app-provided
126
126
  primitives to wire up — every component injects its own CSS and depends only on
127
- `solid-js` + `lucide-solid`. A few components can do *more* when the surrounding
127
+ `solid-js` and the included original icons. A few components can do *more* when the surrounding
128
128
  app feeds them context (a permission check, the active workspace id) through the
129
129
  optional `configurePermissions` / `configureActiveWorkspace` helpers, but they
130
130
  degrade gracefully when those are not configured.
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@kahitsan/ksui",
3
- "version": "0.48.0",
4
- "description": "ksui is a standalone set of SolidJS UI components for KahitSan/Hilinga and any SolidJS app. Published to the public npm registry and consumed as a normal dependency. Ships source under a `solid` export condition so the consumer's vite-plugin-solid compiles it with only solid-js externalized; it depends on nothing but solid-js + lucide-solid and injects its own CSS.",
3
+ "version": "0.50.0",
4
+ "description": "Standalone SolidJS UI components with original owned icon artwork. Ships source for the consumer compiler and has no runtime dependency beyond solid-js.",
5
5
  "type": "module",
6
6
  "main": "./src/index.ts",
7
7
  "types": "./src/index.ts",
@@ -24,7 +24,22 @@
24
24
  "development": "./src/utils/*.ts",
25
25
  "import": "./src/utils/*.ts"
26
26
  },
27
- "./tailwind": "./tailwind.js"
27
+ "./tailwind": "./tailwind.js",
28
+ "./icons": {
29
+ "solid": "./src/icons/index.ts",
30
+ "types": "./src/icons/index.ts",
31
+ "import": "./src/icons/index.ts"
32
+ },
33
+ "./icons/registry": {
34
+ "solid": "./src/icons/registry.ts",
35
+ "types": "./src/icons/registry.ts",
36
+ "import": "./src/icons/registry.ts"
37
+ },
38
+ "./icons/*": {
39
+ "solid": "./src/icons/*.tsx",
40
+ "types": "./src/icons/*.tsx",
41
+ "import": "./src/icons/*.tsx"
42
+ }
28
43
  },
29
44
  "files": [
30
45
  "src",
@@ -42,10 +57,9 @@
42
57
  "dev:e2e": "vite --config e2e/vite.config.ts",
43
58
  "changeset": "changeset",
44
59
  "version": "changeset version",
45
- "release": "changeset publish"
46
- },
47
- "dependencies": {
48
- "lucide-solid": "^1.7.0"
60
+ "release": "changeset publish",
61
+ "build:icons": "node scripts/build-icon-assets.mjs",
62
+ "test:icon-sources": "node --test scripts/icon-source-manifest.test.mjs scripts/write-icon-modules.test.mjs scripts/trace-icon-artwork.test.mjs"
49
63
  },
50
64
  "peerDependencies": {
51
65
  "solid-js": "^1.9.0",
@@ -61,7 +75,10 @@
61
75
  "@playwright/test": "^1.50.0",
62
76
  "@solidjs/testing-library": "^0.8.0",
63
77
  "jsdom": "^26.0.0",
78
+ "potrace": "^2.1.8",
79
+ "sharp": "^0.35.5",
64
80
  "solid-js": "^1.9.0",
81
+ "svgo": "^4.1.0",
65
82
  "typescript": "^5.6.0",
66
83
  "vite": "^6.0.0",
67
84
  "vite-plugin-solid": "^2.11.0",
@@ -1,6 +1,6 @@
1
1
  import { fireEvent, render, screen } from "@solidjs/testing-library";
2
2
  import { describe, expect, it, vi } from "vitest";
3
- import Pencil from "lucide-solid/icons/pencil";
3
+ import Pencil from "../../icons/pencil";
4
4
  import ActionMenu, { RowMenu } from "./ActionMenu";
5
5
 
6
6
  const items = [
@@ -1,6 +1,6 @@
1
1
  import { For, Show, createSignal, createUniqueId, onCleanup, onMount, type Component, type JSX } from "solid-js";
2
2
  import { Dynamic, Portal } from "solid-js/web";
3
- import MoreHorizontal from "lucide-solid/icons/more-horizontal";
3
+ import MoreHorizontal from "../../icons/more-horizontal";
4
4
  import { injectCSS } from "../../utils/inject-css";
5
5
  import { usePopoverMount } from "../../utils/modal-layer";
6
6
  import { useTopLayer } from "../../utils/top-layer";
@@ -5,9 +5,9 @@ import { createSignal, onCleanup, onMount, Show } from "solid-js";
5
5
  import { Portal } from "solid-js/web";
6
6
  import { useTopLayer } from "../../utils/top-layer";
7
7
  import { usePopoverMount } from "../../utils/modal-layer";
8
- import Plus from "lucide-solid/icons/plus";
9
- import Camera from "lucide-solid/icons/camera";
10
- import FileIcon from "lucide-solid/icons/file";
8
+ import Plus from "../../icons/plus";
9
+ import Camera from "../../icons/camera";
10
+ import FileIcon from "../../icons/file";
11
11
 
12
12
  interface Props {
13
13
  uploading: boolean;
@@ -3,8 +3,8 @@
3
3
 
4
4
  import { createSignal, onCleanup, onMount, Show } from "solid-js";
5
5
  import Button from "./Button";
6
- import Camera from "lucide-solid/icons/camera";
7
- import X from "lucide-solid/icons/x";
6
+ import Camera from "../../icons/camera";
7
+ import X from "../../icons/x";
8
8
 
9
9
  interface Props {
10
10
  onCapture: (file: File) => void;
@@ -1,6 +1,6 @@
1
1
  import { createSignal, onCleanup, type JSX } from "solid-js";
2
- import Copy from "lucide-solid/icons/copy";
3
- import Check from "lucide-solid/icons/check";
2
+ import Copy from "../../icons/copy";
3
+ import Check from "../../icons/check";
4
4
 
5
5
  interface CopyButtonProps {
6
6
  /** The text written to the clipboard on click. Caller owns the value. */
@@ -11,7 +11,7 @@
11
11
  // names. Surface / border / accent colors read from CSS custom properties
12
12
  // (`--ksui-dt-*`) with the host's dark zinc + amber values as fallbacks, so a
13
13
  // consumer can retint without forking. The component depends only on solid-js +
14
- // lucide-solid plus ksui's own DatePicker — the same self-contained calendar
14
+ // owned icons plus ksui's own DatePicker — the same self-contained calendar
15
15
  // popover the host DataTable used for its date filter (single + range), so the
16
16
  // library carries no host primitive and no native `<input type="date">`.
17
17
  //
@@ -38,13 +38,13 @@ import {
38
38
  type JSX,
39
39
  type ParentComponent,
40
40
  } from "solid-js";
41
- import Search from "lucide-solid/icons/search";
42
- import Filter from "lucide-solid/icons/filter";
43
- import ChevronLeft from "lucide-solid/icons/chevron-left";
44
- import ChevronRight from "lucide-solid/icons/chevron-right";
45
- import ChevronDown from "lucide-solid/icons/chevron-down";
46
- import ChevronUp from "lucide-solid/icons/chevron-up";
47
- import ChevronsUpDown from "lucide-solid/icons/chevrons-up-down";
41
+ import Search from "../../icons/search";
42
+ import Filter from "../../icons/filter";
43
+ import ChevronLeft from "../../icons/chevron-left";
44
+ import ChevronRight from "../../icons/chevron-right";
45
+ import ChevronDown from "../../icons/chevron-down";
46
+ import ChevronUp from "../../icons/chevron-up";
47
+ import ChevronsUpDown from "../../icons/chevrons-up-down";
48
48
  import DatePicker from "./DatePicker";
49
49
  import { injectCSS } from "../../utils/inject-css";
50
50
 
@@ -15,7 +15,7 @@
15
15
  // fallback after each `var(...)` is the host's exact zinc + amber value.
16
16
  //
17
17
  // The host's `DatePickerURLSync` child (which read `?date=` via @solidjs/router)
18
- // is intentionally dropped: ksui depends only on solid-js + lucide-solid, never
18
+ // is intentionally dropped: ksui depends only on solid-js and owned icon artwork, never
19
19
  // the router. Callers that want URL persistence wire it from the outside.
20
20
 
21
21
  import {
@@ -29,11 +29,11 @@ import {
29
29
  onCleanup,
30
30
  } from "solid-js";
31
31
  import { Portal } from "solid-js/web";
32
- import Calendar from "lucide-solid/icons/calendar";
33
- import ChevronLeft from "lucide-solid/icons/chevron-left";
34
- import ChevronRight from "lucide-solid/icons/chevron-right";
35
- import Clock from "lucide-solid/icons/clock";
36
- import X from "lucide-solid/icons/x";
32
+ import Calendar from "../../icons/calendar";
33
+ import ChevronLeft from "../../icons/chevron-left";
34
+ import ChevronRight from "../../icons/chevron-right";
35
+ import Clock from "../../icons/clock";
36
+ import X from "../../icons/x";
37
37
  import {
38
38
  parseDateInput,
39
39
  formatDateDisplay,
@@ -1,8 +1,8 @@
1
1
  import { createSignal, For, onCleanup, onMount, Show, type Component, type JSX } from "solid-js";
2
2
  import { Dynamic } from "solid-js/web";
3
- import ChevronDown from "lucide-solid/icons/chevron-down";
3
+ import ChevronDown from "../../icons/chevron-down";
4
4
 
5
- /** A lucide-solid icon component (or any component taking size/class). */
5
+ /** A owned icons icon component (or any component taking size/class). */
6
6
  type IconComponent = Component<{ size?: number; class?: string }>;
7
7
 
8
8
  /** The status of a dropdown item, used to render a small leading colored dot
@@ -11,10 +11,10 @@
11
11
  // ignored for rendering; a spinner shows while the bytes stream.
12
12
 
13
13
  import { Show, createEffect, createSignal, onCleanup, type Component } from "solid-js";
14
- import Paperclip from "lucide-solid/icons/paperclip";
15
- import X from "lucide-solid/icons/x";
16
- import TriangleAlert from "lucide-solid/icons/triangle-alert";
17
- import Loader2 from "lucide-solid/icons/loader-2";
14
+ import Paperclip from "../../icons/paperclip";
15
+ import X from "../../icons/x";
16
+ import TriangleAlert from "../../icons/triangle-alert";
17
+ import Loader2 from "../../icons/loader-2";
18
18
  import { confirm } from "../../utils/confirm";
19
19
  import { attachmentUrl, isResolvableAttachment } from "../../utils/attachments";
20
20
  import ImageViewer from "./ImageViewer";
@@ -10,7 +10,7 @@
10
10
  import { createSignal, onCleanup, onMount, Show } from "solid-js";
11
11
  import Modal from "./Modal";
12
12
  import Button from "./Button";
13
- import X from "lucide-solid/icons/x";
13
+ import X from "../../icons/x";
14
14
 
15
15
  interface ImageCropperProps {
16
16
  file: File;
@@ -14,7 +14,7 @@
14
14
  // (wrap in `<Show when={…}>`).
15
15
 
16
16
  import { createSignal, onCleanup, onMount } from "solid-js";
17
- import X from "lucide-solid/icons/x";
17
+ import X from "../../icons/x";
18
18
  import { lockPullToRefresh, unlockPullToRefresh } from "../../utils/dom";
19
19
  import { injectCSS } from "../../utils/inject-css";
20
20
 
@@ -1,5 +1,5 @@
1
1
  import { Show, createUniqueId, type JSX } from "solid-js";
2
- import X from "lucide-solid/icons/x";
2
+ import X from "../../icons/x";
3
3
  import { injectCSS } from "../../utils/inject-css";
4
4
 
5
5
  const STYLE_ID = "ksui-modal-header-style";
@@ -1,6 +1,6 @@
1
1
  import { For, createMemo, createUniqueId, type JSX } from "solid-js";
2
- import ChevronLeft from "lucide-solid/icons/chevron-left";
3
- import ChevronRight from "lucide-solid/icons/chevron-right";
2
+ import ChevronLeft from "../../icons/chevron-left";
3
+ import ChevronRight from "../../icons/chevron-right";
4
4
  import { injectCSS } from "../../utils/inject-css";
5
5
  import {
6
6
  addCivilMonths,
@@ -1,7 +1,7 @@
1
1
  // Source: archive/pillar app/pillar-ui/base/ProgressBar/ProgressBar.tsx
2
2
  // Ported into the library so the counter cards can reuse the same realtime
3
3
  // progress visualization the session manager uses on the home page.
4
- // Adapted to the library's TS + lucide-solid conventions.
4
+ // Adapted to the library's TS + shared icon conventions.
5
5
 
6
6
  import type { Component, JSX } from "solid-js";
7
7
  import { createMemo, splitProps, Show } from "solid-js";
@@ -1,6 +1,6 @@
1
1
  import { describe, expect, it, vi } from "vitest";
2
2
  import { render, fireEvent } from "@solidjs/testing-library";
3
- import List from "lucide-solid/icons/list";
3
+ import List from "../../icons/list";
4
4
  import SegmentedFilter, { type SegmentedFilterOption } from "./SegmentedFilter";
5
5
 
6
6
  // Back-compat: bare-string options are still accepted alongside the object
@@ -2,13 +2,13 @@ import { For, type Component, type JSX } from "solid-js";
2
2
  import { injectCSS } from "../../utils/inject-css";
3
3
 
4
4
  /** Icon component shape: any component that accepts a numeric `size`
5
- * (lucide-solid icons satisfy this, as does any custom SVG component). */
5
+ * (owned icons satisfy this, as does any custom SVG component). */
6
6
  export type SocialIcon = Component<{ size?: number }>;
7
7
 
8
8
  export interface SocialLink {
9
9
  /** Destination URL. Opened in a new tab with rel="noopener noreferrer". */
10
10
  href: string;
11
- /** Icon component rendered inside the button (e.g. a lucide-solid icon). */
11
+ /** Icon component rendered inside the button (e.g. an owned icon). */
12
12
  icon: SocialIcon;
13
13
  /** Accessible label, used for `aria-label` and `title`. */
14
14
  label: string;
@@ -2,7 +2,7 @@
2
2
  // + its CSS in src/assets/css/button.css (.ks-theme-toggle*).
3
3
  // Extracted as a domain-free, controlled primitive: the theme state is lifted
4
4
  // to props (`value` + `onToggle`) so it carries no dependency on kahitsan's
5
- // ~/lib/theme. Only solid-js + lucide-solid.
5
+ // ~/lib/theme. Only solid-js and owned icon artwork.
6
6
  //
7
7
  // ksui ships no sibling .css and no sidecar CSS in the published package, so
8
8
  // the custom track/thumb/icon styles (transitions, the sliding ::after thumb)
@@ -11,8 +11,8 @@
11
11
 
12
12
  import type { JSX } from "solid-js";
13
13
  import { splitProps } from "solid-js";
14
- import Sun from "lucide-solid/icons/sun";
15
- import Moon from "lucide-solid/icons/moon";
14
+ import Sun from "../../icons/sun";
15
+ import Moon from "../../icons/moon";
16
16
  import { injectCSS } from "../../utils/inject-css";
17
17
 
18
18
  const THEME_TOGGLE_STYLE_ID = "ks-theme-toggle-inline-style";
@@ -24,11 +24,11 @@ import { createEffect, createSignal, For, onCleanup, onMount, Show, type JSX } f
24
24
  import { useTopLayer } from "../../utils/top-layer";
25
25
  import { usePopoverMount } from "../../utils/modal-layer";
26
26
  import { highlightMatch } from "../../utils/highlight";
27
- import UserPlus from "lucide-solid/icons/user-plus";
28
- import Search from "lucide-solid/icons/search";
29
- import Star from "lucide-solid/icons/star";
30
- import X from "lucide-solid/icons/x";
31
- import Loader2 from "lucide-solid/icons/loader-2";
27
+ import UserPlus from "../../icons/user-plus";
28
+ import Search from "../../icons/search";
29
+ import Star from "../../icons/star";
30
+ import X from "../../icons/x";
31
+ import Loader2 from "../../icons/loader-2";
32
32
  import { createPickerPopup } from "./picker-engine";
33
33
 
34
34
  interface ComboBoxCommonProps<T> {
@@ -48,7 +48,7 @@ interface ComboBoxCommonProps<T> {
48
48
  /** Optional muted secondary line under the label in results. */
49
49
  secondaryOf?: (item: T) => string | null;
50
50
 
51
- /** Leading icon component (lucide-solid), e.g. Store / UserRound. */
51
+ /** Leading icon component, e.g. Store / UserRound. */
52
52
  icon: (p: { size?: number; class?: string }) => JSX.Element;
53
53
  /** Singular noun for UI copy: "payee", "client". */
54
54
  noun: string;
@@ -10,7 +10,7 @@
10
10
  import type { Component } from "solid-js";
11
11
  import { Show, createMemo } from "solid-js";
12
12
  import { Dynamic } from "solid-js/web";
13
- import AlertTriangle from "lucide-solid/icons/triangle-alert";
13
+ import AlertTriangle from "../../icons/triangle-alert";
14
14
  import {
15
15
  getRenderer,
16
16
  validateConsumes,
@@ -15,10 +15,10 @@
15
15
 
16
16
  import type { Component, JSX } from "solid-js";
17
17
  import { Match, Show, Switch, createSignal } from "solid-js";
18
- import UploadCloud from "lucide-solid/icons/cloud-upload";
19
- import FileIcon from "lucide-solid/icons/file";
20
- import ImageOff from "lucide-solid/icons/image-off";
21
- import X from "lucide-solid/icons/x";
18
+ import UploadCloud from "../../icons/cloud-upload";
19
+ import FileIcon from "../../icons/file";
20
+ import ImageOff from "../../icons/image-off";
21
+ import X from "../../icons/x";
22
22
  import { injectCSS } from "../../utils/inject-css";
23
23
 
24
24
  /** The opaque asset handle the field stores as its value (§11). */
@@ -14,18 +14,18 @@
14
14
  import type { Component, JSX } from "solid-js";
15
15
  import { Dynamic } from "solid-js/web";
16
16
  import { For, Show, createEffect, createMemo, createSignal } from "solid-js";
17
- import Database from "lucide-solid/icons/database";
18
- import MousePointerClick from "lucide-solid/icons/mouse-pointer-click";
19
- import AppWindow from "lucide-solid/icons/app-window";
20
- import DownloadCloud from "lucide-solid/icons/download-cloud";
21
- import ArrowLeftRight from "lucide-solid/icons/arrow-left-right";
22
- import Calculator from "lucide-solid/icons/calculator";
23
- import GitBranch from "lucide-solid/icons/git-branch";
24
- import Save from "lucide-solid/icons/save";
25
- import Radio from "lucide-solid/icons/radio";
26
- import Sparkles from "lucide-solid/icons/sparkles";
27
- import CircleCheck from "lucide-solid/icons/circle-check-big";
28
- import Circle from "lucide-solid/icons/circle";
17
+ import Database from "../../icons/database";
18
+ import MousePointerClick from "../../icons/mouse-pointer-click";
19
+ import AppWindow from "../../icons/app-window";
20
+ import DownloadCloud from "../../icons/download-cloud";
21
+ import ArrowLeftRight from "../../icons/arrow-left-right";
22
+ import Calculator from "../../icons/calculator";
23
+ import GitBranch from "../../icons/git-branch";
24
+ import Save from "../../icons/save";
25
+ import Radio from "../../icons/radio";
26
+ import Sparkles from "../../icons/sparkles";
27
+ import CircleCheck from "../../icons/circle-check-big";
28
+ import Circle from "../../icons/circle";
29
29
  import {
30
30
  layoutGraph,
31
31
  type GraphDirection,
@@ -6,7 +6,7 @@
6
6
  // are a verbatim subset of TransactionFormProps.
7
7
 
8
8
  import { For, Show } from "solid-js";
9
- import Lock from "lucide-solid/icons/lock";
9
+ import Lock from "../../icons/lock";
10
10
  import FormField from "../base/FormField";
11
11
  import SegmentedFilter from "../base/SegmentedFilter";
12
12
  import { formatPHP } from "../../utils/formatPHP";
@@ -6,11 +6,11 @@
6
6
 
7
7
  import type { Component, JSX } from "solid-js";
8
8
  import { Show, createMemo, createSignal, onCleanup, splitProps } from "solid-js";
9
- import Clock from "lucide-solid/icons/clock";
10
- import Play from "lucide-solid/icons/play";
11
- import AlertTriangle from "lucide-solid/icons/triangle-alert";
12
- import Check from "lucide-solid/icons/check";
13
- import Calendar from "lucide-solid/icons/calendar";
9
+ import Clock from "../../icons/clock";
10
+ import Play from "../../icons/play";
11
+ import AlertTriangle from "../../icons/triangle-alert";
12
+ import Check from "../../icons/check";
13
+ import Calendar from "../../icons/calendar";
14
14
  import ProgressBar, { type ProgressColor } from "../base/ProgressBar";
15
15
 
16
16
  export interface LiveTimerProps extends Omit<JSX.HTMLAttributes<HTMLDivElement>, "class"> {
@@ -10,8 +10,8 @@ import { Portal } from "solid-js/web";
10
10
  import { useTopLayer } from "../../utils/top-layer";
11
11
  import { usePopoverMount } from "../../utils/modal-layer";
12
12
  import { createEffect, createSignal, createUniqueId, For, onCleanup, onMount, Show, type JSX } from "solid-js";
13
- import UserRound from "lucide-solid/icons/user-round";
14
- import Loader2 from "lucide-solid/icons/loader-2";
13
+ import UserRound from "../../icons/user-round";
14
+ import Loader2 from "../../icons/loader-2";
15
15
 
16
16
  const POPUP_MAX_HEIGHT = 240;
17
17
  const POPUP_MIN_WIDTH = 280;
@@ -1,10 +1,10 @@
1
1
  import { createMemo, createSignal, For, Show, type JSX } from "solid-js";
2
2
  import { Portal } from "solid-js/web";
3
- import CalendarDays from "lucide-solid/icons/calendar-days";
4
- import ChevronDown from "lucide-solid/icons/chevron-down";
5
- import ChevronLeft from "lucide-solid/icons/chevron-left";
6
- import ChevronRight from "lucide-solid/icons/chevron-right";
7
- import X from "lucide-solid/icons/x";
3
+ import CalendarDays from "../../icons/calendar-days";
4
+ import ChevronDown from "../../icons/chevron-down";
5
+ import ChevronLeft from "../../icons/chevron-left";
6
+ import ChevronRight from "../../icons/chevron-right";
7
+ import X from "../../icons/x";
8
8
  import { injectCSS } from "../../utils/inject-css";
9
9
 
10
10
  export type MultiPeriodGranularity = "day" | "week" | "month" | "year";
@@ -5,7 +5,7 @@
5
5
  // is hard-coded.
6
6
  //
7
7
  // Unlike the host-owned Button, this is a standalone primitive: it imports only
8
- // solid-js and lucide-solid, never the host UI kit or a router. The default
8
+ // solid-js and owned icons, never the host UI kit or a router. The default
9
9
  // action renders a plain, self-styled button. Navigation is left to the caller
10
10
  // via `onButtonClick` (or `href`, which renders an anchor instead). Callers who
11
11
  // want the host Button can pass it through the `action` slot, which fully
@@ -13,7 +13,7 @@
13
13
 
14
14
  import type { JSX } from "solid-js";
15
15
  import { Show, splitProps } from "solid-js";
16
- import { ArrowLeft } from "lucide-solid";
16
+ import { ArrowLeft } from "../../icons/index";
17
17
 
18
18
  export interface NotFoundProps
19
19
  extends Omit<JSX.HTMLAttributes<HTMLDivElement>, "title"> {
@@ -11,8 +11,8 @@ import {
11
11
  Show,
12
12
  type JSX,
13
13
  } from "solid-js";
14
- import Banknote from "lucide-solid/icons/banknote";
15
- import Loader2 from "lucide-solid/icons/loader-2";
14
+ import Banknote from "../../icons/banknote";
15
+ import Loader2 from "../../icons/loader-2";
16
16
  import AccountAvatar from "../base/AccountAvatar";
17
17
 
18
18
  export interface PaymentAccountOption {
@@ -18,8 +18,8 @@ import ComboBox from "./ComboBox";
18
18
  import type { ClientOption } from "./picker-types";
19
19
  import VoucherPicker, { calculateDiscount } from "./VoucherPicker";
20
20
  import type { VoucherOption } from "./VoucherPicker";
21
- import UserRound from "lucide-solid/icons/user-round";
22
- import Plus from "lucide-solid/icons/plus";
21
+ import UserRound from "../../icons/user-round";
22
+ import Plus from "../../icons/plus";
23
23
 
24
24
  // Client data-wiring for the generic ComboBox engine. Search/create hit the
25
25
  // host app's /api/clients endpoint directly. Degrades gracefully when that
@@ -61,9 +61,9 @@ async function createClient(name: string): Promise<ClientOption> {
61
61
  function clientSecondary(c: ClientOption): string | null {
62
62
  return [c.email, c.phone].filter(Boolean).join(" · ") || null;
63
63
  }
64
- import Minus from "lucide-solid/icons/minus";
65
- import Trash2 from "lucide-solid/icons/trash-2";
66
- import PackageIcon from "lucide-solid/icons/package";
64
+ import Minus from "../../icons/minus";
65
+ import Trash2 from "../../icons/trash-2";
66
+ import PackageIcon from "../../icons/package";
67
67
 
68
68
  interface Variant {
69
69
  id: number;
@@ -2,8 +2,8 @@ import { createEffect, createMemo, createSignal, For, onCleanup, Show, type JSX
2
2
  import { Portal } from "solid-js/web";
3
3
  import { useTopLayer } from "../../utils/top-layer";
4
4
  import { usePopoverMount } from "../../utils/modal-layer";
5
- import ChevronsUpDown from "lucide-solid/icons/chevrons-up-down";
6
- import X from "lucide-solid/icons/x";
5
+ import ChevronsUpDown from "../../icons/chevrons-up-down";
6
+ import X from "../../icons/x";
7
7
 
8
8
  export interface SearchableOption {
9
9
  value: string | number;
@@ -7,7 +7,7 @@
7
7
 
8
8
  import type { Component } from "solid-js";
9
9
  import { Show, createSignal, splitProps } from "solid-js";
10
- import Copy from "lucide-solid/icons/copy";
10
+ import Copy from "../../icons/copy";
11
11
 
12
12
  export interface SecretRevealProps {
13
13
  /** The secret string to display and copy. */
@@ -8,15 +8,15 @@
8
8
  // value and never needs EWT/sharing (e.g. a "record my own expense" surface).
9
9
 
10
10
  import { batch, createEffect, createSignal, Show, For } from "solid-js";
11
- import X from "lucide-solid/icons/x";
12
- import Upload from "lucide-solid/icons/upload";
13
- import FileIcon from "lucide-solid/icons/file";
14
- import CalendarDays from "lucide-solid/icons/calendar-days";
15
- import Paperclip from "lucide-solid/icons/paperclip";
16
- import Store from "lucide-solid/icons/store";
17
- import ArrowDownLeft from "lucide-solid/icons/arrow-down-left";
18
- import ArrowUpRight from "lucide-solid/icons/arrow-up-right";
19
- import ArrowRightLeft from "lucide-solid/icons/arrow-right-left";
11
+ import X from "../../icons/x";
12
+ import Upload from "../../icons/upload";
13
+ import FileIcon from "../../icons/file";
14
+ import CalendarDays from "../../icons/calendar-days";
15
+ import Paperclip from "../../icons/paperclip";
16
+ import Store from "../../icons/store";
17
+ import ArrowDownLeft from "../../icons/arrow-down-left";
18
+ import ArrowUpRight from "../../icons/arrow-up-right";
19
+ import ArrowRightLeft from "../../icons/arrow-right-left";
20
20
 
21
21
  import FormAdvancedSection from "./FormAdvancedSection";
22
22
  import SalesBodyEditor, { type SalesLine } from "./SalesBodyEditor";
@@ -1,5 +1,5 @@
1
1
  import { For, Show } from "solid-js";
2
- import CalendarDays from "lucide-solid/icons/calendar-days";
2
+ import CalendarDays from "../../icons/calendar-days";
3
3
  import FormField from "../base/FormField";
4
4
  import DatePicker from "../base/DatePicker";
5
5
  import SegmentedFilter from "../base/SegmentedFilter";
@@ -1,6 +1,6 @@
1
1
  import { Show, type JSX } from "solid-js";
2
- import ArrowRightLeft from "lucide-solid/icons/arrow-right-left";
3
- import Plus from "lucide-solid/icons/plus";
2
+ import ArrowRightLeft from "../../icons/arrow-right-left";
3
+ import Plus from "../../icons/plus";
4
4
  import AccountAvatar from "../base/AccountAvatar";
5
5
  import FormField from "../base/FormField";
6
6
  import AccountRadioPicker from "./AccountRadioPicker";
@@ -1,4 +1,4 @@
1
- import X from "lucide-solid/icons/x";
1
+ import X from "../../icons/x";
2
2
 
3
3
  export interface TransferFeeChipProps {
4
4
  enabled: boolean;
@@ -10,11 +10,11 @@
10
10
  import { Modal } from "../base/Modal";
11
11
  import { highlightMatch } from "../../utils/highlight";
12
12
  import { createEffect, createMemo, createSignal, For, onCleanup, Show, type JSX } from "solid-js";
13
- import Ticket from "lucide-solid/icons/ticket";
14
- import X from "lucide-solid/icons/x";
15
- import Search from "lucide-solid/icons/search";
16
- import Loader2 from "lucide-solid/icons/loader-2";
17
- import CalendarClock from "lucide-solid/icons/calendar-clock";
13
+ import Ticket from "../../icons/ticket";
14
+ import X from "../../icons/x";
15
+ import Search from "../../icons/search";
16
+ import Loader2 from "../../icons/loader-2";
17
+ import CalendarClock from "../../icons/calendar-clock";
18
18
 
19
19
  export interface VoucherOption {
20
20
  id: number;