@omnifyjp/ui 0.4.5 → 0.5.1

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 (420) hide show
  1. package/README.md +379 -133
  2. package/dist/chunk-2ZIFL2X3.js +189 -0
  3. package/dist/chunk-2ZIFL2X3.js.map +1 -0
  4. package/dist/chunk-5BL4VFRJ.js +57 -0
  5. package/dist/chunk-5BL4VFRJ.js.map +1 -0
  6. package/dist/chunk-5D3OAVOZ.js +91 -0
  7. package/dist/chunk-5D3OAVOZ.js.map +1 -0
  8. package/dist/chunk-DTM76EJD.js +235 -0
  9. package/dist/chunk-DTM76EJD.js.map +1 -0
  10. package/dist/chunk-EJEVW4RO.js +49 -0
  11. package/dist/chunk-EJEVW4RO.js.map +1 -0
  12. package/dist/chunk-O25D7DCP.js +72 -0
  13. package/dist/chunk-O25D7DCP.js.map +1 -0
  14. package/dist/chunk-OY3PSPA5.js +661 -0
  15. package/dist/chunk-OY3PSPA5.js.map +1 -0
  16. package/dist/chunk-RSCXIS4D.js +37 -0
  17. package/dist/chunk-RSCXIS4D.js.map +1 -0
  18. package/dist/chunk-SHHZRZMM.js +83 -0
  19. package/dist/chunk-SHHZRZMM.js.map +1 -0
  20. package/dist/chunk-X57K24P3.js +224 -0
  21. package/dist/chunk-X57K24P3.js.map +1 -0
  22. package/dist/chunk-XDXGUPCR.js +123 -0
  23. package/dist/chunk-XDXGUPCR.js.map +1 -0
  24. package/dist/components/AppShell.d.ts +27 -0
  25. package/dist/components/AppShell.js +11 -0
  26. package/dist/components/AppShell.js.map +1 -0
  27. package/dist/components/Header.d.ts +11 -0
  28. package/dist/components/Header.js +6 -0
  29. package/dist/components/Header.js.map +1 -0
  30. package/dist/components/OrganizationSelector.d.ts +8 -0
  31. package/dist/components/OrganizationSelector.js +4 -0
  32. package/dist/components/OrganizationSelector.js.map +1 -0
  33. package/dist/components/OrganizationSetupModal.d.ts +5 -0
  34. package/dist/components/OrganizationSetupModal.js +4 -0
  35. package/dist/components/OrganizationSetupModal.js.map +1 -0
  36. package/dist/components/PageContainer.d.ts +105 -0
  37. package/dist/components/PageContainer.js +3 -0
  38. package/dist/components/PageContainer.js.map +1 -0
  39. package/dist/components/ServiceMenu.d.ts +11 -0
  40. package/dist/components/ServiceMenu.js +3 -0
  41. package/dist/components/ServiceMenu.js.map +1 -0
  42. package/dist/components/Sidebar.d.ts +11 -0
  43. package/dist/components/Sidebar.js +5 -0
  44. package/dist/components/Sidebar.js.map +1 -0
  45. package/dist/components/accordion.d.ts +70 -37
  46. package/dist/components/accordion.js +1 -2
  47. package/dist/components/accordion.js.map +1 -1
  48. package/dist/components/alert-dialog.d.ts +1 -56
  49. package/dist/components/alert-dialog.js +1 -3
  50. package/dist/components/alert-dialog.js.map +1 -1
  51. package/dist/components/alert.d.ts +1 -68
  52. package/dist/components/alert.js +1 -2
  53. package/dist/components/alert.js.map +1 -1
  54. package/dist/components/aspect-ratio.d.ts +1 -23
  55. package/dist/components/aspect-ratio.js +1 -1
  56. package/dist/components/aspect-ratio.js.map +1 -1
  57. package/dist/components/avatar.d.ts +1 -48
  58. package/dist/components/avatar.js +1 -2
  59. package/dist/components/avatar.js.map +1 -1
  60. package/dist/components/badge.d.ts +1 -52
  61. package/dist/components/badge.js +1 -2
  62. package/dist/components/badge.js.map +1 -1
  63. package/dist/components/breadcrumb.d.ts +1 -50
  64. package/dist/components/breadcrumb.js +1 -2
  65. package/dist/components/breadcrumb.js.map +1 -1
  66. package/dist/components/button.d.ts +1 -81
  67. package/dist/components/button.js +1 -2
  68. package/dist/components/button.js.map +1 -1
  69. package/dist/components/calendar-category-badge.d.ts +1 -24
  70. package/dist/components/calendar-category-badge.js +1 -3
  71. package/dist/components/calendar-category-badge.js.map +1 -1
  72. package/dist/components/calendar-event-chip.d.ts +1 -41
  73. package/dist/components/calendar-event-chip.js +1 -2
  74. package/dist/components/calendar-event-chip.js.map +1 -1
  75. package/dist/components/calendar-event-sheet.d.ts +1 -68
  76. package/dist/components/calendar-event-sheet.js +1 -7
  77. package/dist/components/calendar-event-sheet.js.map +1 -1
  78. package/dist/components/calendar-mini.d.ts +1 -65
  79. package/dist/components/calendar-mini.js +1 -4
  80. package/dist/components/calendar-mini.js.map +1 -1
  81. package/dist/components/calendar-toolbar.d.ts +1 -58
  82. package/dist/components/calendar-toolbar.js +1 -5
  83. package/dist/components/calendar-toolbar.js.map +1 -1
  84. package/dist/components/calendar.d.ts +1 -19
  85. package/dist/components/calendar.js +1 -3
  86. package/dist/components/calendar.js.map +1 -1
  87. package/dist/components/card.d.ts +1 -43
  88. package/dist/components/card.js +1 -2
  89. package/dist/components/card.js.map +1 -1
  90. package/dist/components/carousel.d.ts +1 -53
  91. package/dist/components/carousel.js +1 -3
  92. package/dist/components/carousel.js.map +1 -1
  93. package/dist/components/chart.d.ts +1 -103
  94. package/dist/components/chart.js +1 -2
  95. package/dist/components/chart.js.map +1 -1
  96. package/dist/components/checkbox.d.ts +1 -24
  97. package/dist/components/checkbox.js +1 -2
  98. package/dist/components/checkbox.js.map +1 -1
  99. package/dist/components/collapsible.d.ts +1 -28
  100. package/dist/components/collapsible.js +1 -1
  101. package/dist/components/collapsible.js.map +1 -1
  102. package/dist/components/color-picker.d.ts +1 -35
  103. package/dist/components/color-picker.js +1 -5
  104. package/dist/components/color-picker.js.map +1 -1
  105. package/dist/components/combobox.d.ts +1 -98
  106. package/dist/components/combobox.js +1 -6
  107. package/dist/components/combobox.js.map +1 -1
  108. package/dist/components/command.d.ts +1 -63
  109. package/dist/components/command.js +1 -3
  110. package/dist/components/command.js.map +1 -1
  111. package/dist/components/context-menu.d.ts +1 -70
  112. package/dist/components/context-menu.js +1 -2
  113. package/dist/components/context-menu.js.map +1 -1
  114. package/dist/components/date-picker.d.ts +1 -71
  115. package/dist/components/date-picker.js +1 -5
  116. package/dist/components/date-picker.js.map +1 -1
  117. package/dist/components/dialog.d.ts +1 -58
  118. package/dist/components/dialog.js +1 -2
  119. package/dist/components/dialog.js.map +1 -1
  120. package/dist/components/drawer.d.ts +1 -60
  121. package/dist/components/drawer.js +1 -2
  122. package/dist/components/drawer.js.map +1 -1
  123. package/dist/components/dropdown-menu.d.ts +1 -76
  124. package/dist/components/dropdown-menu.js +1 -2
  125. package/dist/components/dropdown-menu.js.map +1 -1
  126. package/dist/components/file-upload.d.ts +1 -44
  127. package/dist/components/file-upload.js +1 -3
  128. package/dist/components/file-upload.js.map +1 -1
  129. package/dist/components/form.d.ts +1 -67
  130. package/dist/components/form.js +1 -3
  131. package/dist/components/form.js.map +1 -1
  132. package/dist/components/hover-card.d.ts +1 -43
  133. package/dist/components/hover-card.js +1 -2
  134. package/dist/components/hover-card.js.map +1 -1
  135. package/dist/components/input-otp.d.ts +1 -38
  136. package/dist/components/input-otp.js +1 -2
  137. package/dist/components/input-otp.js.map +1 -1
  138. package/dist/components/input.d.ts +1 -38
  139. package/dist/components/input.js +1 -2
  140. package/dist/components/input.js.map +1 -1
  141. package/dist/components/label.d.ts +1 -20
  142. package/dist/components/label.js +1 -2
  143. package/dist/components/label.js.map +1 -1
  144. package/dist/components/menubar.d.ts +1 -82
  145. package/dist/components/menubar.js +1 -2
  146. package/dist/components/menubar.js.map +1 -1
  147. package/dist/components/navigation-menu.d.ts +1 -64
  148. package/dist/components/navigation-menu.js +1 -2
  149. package/dist/components/navigation-menu.js.map +1 -1
  150. package/dist/components/pagination.d.ts +1 -59
  151. package/dist/components/pagination.js +1 -3
  152. package/dist/components/pagination.js.map +1 -1
  153. package/dist/components/password-input.d.ts +1 -32
  154. package/dist/components/password-input.js +1 -3
  155. package/dist/components/password-input.js.map +1 -1
  156. package/dist/components/permission-grid.d.ts +1 -67
  157. package/dist/components/permission-grid.js +1 -3
  158. package/dist/components/permission-grid.js.map +1 -1
  159. package/dist/components/popover.d.ts +1 -37
  160. package/dist/components/popover.js +1 -2
  161. package/dist/components/popover.js.map +1 -1
  162. package/dist/components/progress.d.ts +1 -20
  163. package/dist/components/progress.js +1 -2
  164. package/dist/components/progress.js.map +1 -1
  165. package/dist/components/radio-group.d.ts +1 -38
  166. package/dist/components/radio-group.js +1 -2
  167. package/dist/components/radio-group.js.map +1 -1
  168. package/dist/components/rating.d.ts +1 -35
  169. package/dist/components/rating.js +1 -2
  170. package/dist/components/rating.js.map +1 -1
  171. package/dist/components/resizable.d.ts +1 -36
  172. package/dist/components/resizable.js +1 -2
  173. package/dist/components/resizable.js.map +1 -1
  174. package/dist/components/scope-tree.d.ts +1 -78
  175. package/dist/components/scope-tree.js +1 -3
  176. package/dist/components/scope-tree.js.map +1 -1
  177. package/dist/components/scope-type-badge.d.ts +1 -35
  178. package/dist/components/scope-type-badge.js +1 -3
  179. package/dist/components/scope-type-badge.js.map +1 -1
  180. package/dist/components/scroll-area.d.ts +1 -29
  181. package/dist/components/scroll-area.js +1 -2
  182. package/dist/components/scroll-area.js.map +1 -1
  183. package/dist/components/select.d.ts +1 -52
  184. package/dist/components/select.js +1 -2
  185. package/dist/components/select.js.map +1 -1
  186. package/dist/components/separator.d.ts +1 -24
  187. package/dist/components/separator.js +1 -2
  188. package/dist/components/separator.js.map +1 -1
  189. package/dist/components/sheet.d.ts +1 -51
  190. package/dist/components/sheet.js +1 -2
  191. package/dist/components/sheet.js.map +1 -1
  192. package/dist/components/skeleton.d.ts +1 -25
  193. package/dist/components/skeleton.js +1 -2
  194. package/dist/components/skeleton.js.map +1 -1
  195. package/dist/components/slider.d.ts +1 -24
  196. package/dist/components/slider.js +1 -2
  197. package/dist/components/slider.js.map +1 -1
  198. package/dist/components/slug-input.d.ts +1 -50
  199. package/dist/components/slug-input.js +1 -4
  200. package/dist/components/slug-input.js.map +1 -1
  201. package/dist/components/sonner.d.ts +1 -22
  202. package/dist/components/sonner.js +1 -1
  203. package/dist/components/sonner.js.map +1 -1
  204. package/dist/components/stage-type-badge.d.ts +1 -30
  205. package/dist/components/stage-type-badge.js +1 -3
  206. package/dist/components/stage-type-badge.js.map +1 -1
  207. package/dist/components/switch.d.ts +1 -26
  208. package/dist/components/switch.js +1 -2
  209. package/dist/components/switch.js.map +1 -1
  210. package/dist/components/table.d.ts +1 -57
  211. package/dist/components/table.js +1 -2
  212. package/dist/components/table.js.map +1 -1
  213. package/dist/components/tabs.d.ts +1 -39
  214. package/dist/components/tabs.js +1 -2
  215. package/dist/components/tabs.js.map +1 -1
  216. package/dist/components/tag-input.d.ts +1 -40
  217. package/dist/components/tag-input.js +1 -3
  218. package/dist/components/tag-input.js.map +1 -1
  219. package/dist/components/textarea.d.ts +1 -21
  220. package/dist/components/textarea.js +1 -2
  221. package/dist/components/textarea.js.map +1 -1
  222. package/dist/components/time-picker.d.ts +1 -57
  223. package/dist/components/time-picker.js +1 -6
  224. package/dist/components/time-picker.js.map +1 -1
  225. package/dist/components/toggle-group.d.ts +1 -45
  226. package/dist/components/toggle-group.js +1 -3
  227. package/dist/components/toggle-group.js.map +1 -1
  228. package/dist/components/toggle.d.ts +1 -31
  229. package/dist/components/toggle.js +1 -2
  230. package/dist/components/toggle.js.map +1 -1
  231. package/dist/components/tooltip.d.ts +1 -34
  232. package/dist/components/tooltip.js +1 -2
  233. package/dist/components/tooltip.js.map +1 -1
  234. package/dist/components/workflow-category-badge.d.ts +1 -32
  235. package/dist/components/workflow-category-badge.js +1 -3
  236. package/dist/components/workflow-category-badge.js.map +1 -1
  237. package/dist/components/workflow-diagram.d.ts +1 -63
  238. package/dist/components/workflow-diagram.js +1 -3
  239. package/dist/components/workflow-diagram.js.map +1 -1
  240. package/dist/components/workflow-status-badge.d.ts +1 -30
  241. package/dist/components/workflow-status-badge.js +1 -3
  242. package/dist/components/workflow-status-badge.js.map +1 -1
  243. package/dist/components/workflow-stepper.d.ts +1 -52
  244. package/dist/components/workflow-stepper.js +1 -2
  245. package/dist/components/workflow-stepper.js.map +1 -1
  246. package/dist/contexts/OrganizationContext.d.ts +26 -0
  247. package/dist/contexts/OrganizationContext.js +3 -0
  248. package/dist/contexts/OrganizationContext.js.map +1 -0
  249. package/dist/contexts/ThemeContext.d.ts +14 -0
  250. package/dist/contexts/ThemeContext.js +3 -0
  251. package/dist/contexts/ThemeContext.js.map +1 -0
  252. package/dist/hooks/use-mobile.d.ts +1 -3
  253. package/dist/hooks/use-mobile.js +1 -1
  254. package/dist/hooks/use-mobile.js.map +1 -1
  255. package/dist/hooks/useDateFormat.d.ts +28 -0
  256. package/dist/hooks/useDateFormat.js +4 -0
  257. package/dist/hooks/useDateFormat.js.map +1 -0
  258. package/dist/i18n.d.ts +38 -0
  259. package/dist/i18n.js +3 -0
  260. package/dist/i18n.js.map +1 -0
  261. package/dist/index.d.ts +13 -109
  262. package/dist/index.js +11 -70
  263. package/dist/lib/types.d.ts +1 -0
  264. package/dist/lib/types.js +3 -0
  265. package/dist/lib/types.js.map +1 -0
  266. package/dist/lib/utils.d.ts +1 -5
  267. package/dist/lib/utils.js +1 -1
  268. package/dist/lib/utils.js.map +1 -1
  269. package/dist/types.d.ts +89 -0
  270. package/dist/types.js +3 -0
  271. package/dist/types.js.map +1 -0
  272. package/package.json +31 -70
  273. package/dist/chunk-2C2HRGM7.js +0 -51
  274. package/dist/chunk-2C2HRGM7.js.map +0 -1
  275. package/dist/chunk-2TUWDXAC.js +0 -196
  276. package/dist/chunk-2TUWDXAC.js.map +0 -1
  277. package/dist/chunk-34ARZSNP.js +0 -63
  278. package/dist/chunk-34ARZSNP.js.map +0 -1
  279. package/dist/chunk-35DNN46W.js +0 -13
  280. package/dist/chunk-35DNN46W.js.map +0 -1
  281. package/dist/chunk-35U6QG4P.js +0 -116
  282. package/dist/chunk-35U6QG4P.js.map +0 -1
  283. package/dist/chunk-36YYHIJU.js +0 -52
  284. package/dist/chunk-36YYHIJU.js.map +0 -1
  285. package/dist/chunk-3EOHW4QN.js +0 -35
  286. package/dist/chunk-3EOHW4QN.js.map +0 -1
  287. package/dist/chunk-3UPBCOS4.js +0 -39
  288. package/dist/chunk-3UPBCOS4.js.map +0 -1
  289. package/dist/chunk-3VU56V66.js +0 -41
  290. package/dist/chunk-3VU56V66.js.map +0 -1
  291. package/dist/chunk-55E7D2HR.js +0 -99
  292. package/dist/chunk-55E7D2HR.js.map +0 -1
  293. package/dist/chunk-67YUL2ZS.js +0 -53
  294. package/dist/chunk-67YUL2ZS.js.map +0 -1
  295. package/dist/chunk-6DIDQ4TB.js +0 -131
  296. package/dist/chunk-6DIDQ4TB.js.map +0 -1
  297. package/dist/chunk-6GWVQB3Q.js +0 -155
  298. package/dist/chunk-6GWVQB3Q.js.map +0 -1
  299. package/dist/chunk-75WZR6HF.js +0 -44
  300. package/dist/chunk-75WZR6HF.js.map +0 -1
  301. package/dist/chunk-7IRLBU2I.js +0 -114
  302. package/dist/chunk-7IRLBU2I.js.map +0 -1
  303. package/dist/chunk-7RMTPT6O.js +0 -99
  304. package/dist/chunk-7RMTPT6O.js.map +0 -1
  305. package/dist/chunk-7XH3MGBR.js +0 -128
  306. package/dist/chunk-7XH3MGBR.js.map +0 -1
  307. package/dist/chunk-A3BB5ZOC.js +0 -77
  308. package/dist/chunk-A3BB5ZOC.js.map +0 -1
  309. package/dist/chunk-B434PORR.js +0 -239
  310. package/dist/chunk-B434PORR.js.map +0 -1
  311. package/dist/chunk-BAQWGQJG.js +0 -106
  312. package/dist/chunk-BAQWGQJG.js.map +0 -1
  313. package/dist/chunk-BRSM3SZP.js +0 -46
  314. package/dist/chunk-BRSM3SZP.js.map +0 -1
  315. package/dist/chunk-C34KSTWA.js +0 -43
  316. package/dist/chunk-C34KSTWA.js.map +0 -1
  317. package/dist/chunk-C5NZAOA7.js +0 -54
  318. package/dist/chunk-C5NZAOA7.js.map +0 -1
  319. package/dist/chunk-CUZR4JWM.js +0 -23
  320. package/dist/chunk-CUZR4JWM.js.map +0 -1
  321. package/dist/chunk-DGPY4WP3.js +0 -11
  322. package/dist/chunk-DGPY4WP3.js.map +0 -1
  323. package/dist/chunk-EWBCV7VA.js +0 -65
  324. package/dist/chunk-EWBCV7VA.js.map +0 -1
  325. package/dist/chunk-F2ZJLKDP.js +0 -119
  326. package/dist/chunk-F2ZJLKDP.js.map +0 -1
  327. package/dist/chunk-FLWMT4DB.js +0 -66
  328. package/dist/chunk-FLWMT4DB.js.map +0 -1
  329. package/dist/chunk-FRKG7JQY.js +0 -48
  330. package/dist/chunk-FRKG7JQY.js.map +0 -1
  331. package/dist/chunk-G7HTZBUR.js +0 -187
  332. package/dist/chunk-G7HTZBUR.js.map +0 -1
  333. package/dist/chunk-HWTW64R5.js +0 -90
  334. package/dist/chunk-HWTW64R5.js.map +0 -1
  335. package/dist/chunk-IAWKX5W4.js +0 -219
  336. package/dist/chunk-IAWKX5W4.js.map +0 -1
  337. package/dist/chunk-INLM7UJC.js +0 -238
  338. package/dist/chunk-INLM7UJC.js.map +0 -1
  339. package/dist/chunk-JAJMM32I.js +0 -18
  340. package/dist/chunk-JAJMM32I.js.map +0 -1
  341. package/dist/chunk-JJSVA3TH.js +0 -61
  342. package/dist/chunk-JJSVA3TH.js.map +0 -1
  343. package/dist/chunk-JLTBUACL.js +0 -121
  344. package/dist/chunk-JLTBUACL.js.map +0 -1
  345. package/dist/chunk-JRU2QX7T.js +0 -38
  346. package/dist/chunk-JRU2QX7T.js.map +0 -1
  347. package/dist/chunk-JXGRW2MR.js +0 -17
  348. package/dist/chunk-JXGRW2MR.js.map +0 -1
  349. package/dist/chunk-KTBOZ4NE.js +0 -93
  350. package/dist/chunk-KTBOZ4NE.js.map +0 -1
  351. package/dist/chunk-LMT327XH.js +0 -56
  352. package/dist/chunk-LMT327XH.js.map +0 -1
  353. package/dist/chunk-LTTNCAAA.js +0 -138
  354. package/dist/chunk-LTTNCAAA.js.map +0 -1
  355. package/dist/chunk-LVZNNIK4.js +0 -111
  356. package/dist/chunk-LVZNNIK4.js.map +0 -1
  357. package/dist/chunk-MJLFJPUG.js +0 -143
  358. package/dist/chunk-MJLFJPUG.js.map +0 -1
  359. package/dist/chunk-MZ2P566X.js +0 -65
  360. package/dist/chunk-MZ2P566X.js.map +0 -1
  361. package/dist/chunk-N47H4MHX.js +0 -41
  362. package/dist/chunk-N47H4MHX.js.map +0 -1
  363. package/dist/chunk-NNJTKHCE.js +0 -160
  364. package/dist/chunk-NNJTKHCE.js.map +0 -1
  365. package/dist/chunk-NPL2R5LD.js +0 -171
  366. package/dist/chunk-NPL2R5LD.js.map +0 -1
  367. package/dist/chunk-NU56GKGM.js +0 -44
  368. package/dist/chunk-NU56GKGM.js.map +0 -1
  369. package/dist/chunk-P3M5TZD2.js +0 -24
  370. package/dist/chunk-P3M5TZD2.js.map +0 -1
  371. package/dist/chunk-PGWNOZDX.js +0 -28
  372. package/dist/chunk-PGWNOZDX.js.map +0 -1
  373. package/dist/chunk-QB3UWRZH.js +0 -92
  374. package/dist/chunk-QB3UWRZH.js.map +0 -1
  375. package/dist/chunk-R2CDE5DO.js +0 -33
  376. package/dist/chunk-R2CDE5DO.js.map +0 -1
  377. package/dist/chunk-RQNZDWY3.js +0 -65
  378. package/dist/chunk-RQNZDWY3.js.map +0 -1
  379. package/dist/chunk-S6PDRGR5.js +0 -109
  380. package/dist/chunk-S6PDRGR5.js.map +0 -1
  381. package/dist/chunk-TGYQ3AKH.js +0 -95
  382. package/dist/chunk-TGYQ3AKH.js.map +0 -1
  383. package/dist/chunk-THQUH6WX.js +0 -81
  384. package/dist/chunk-THQUH6WX.js.map +0 -1
  385. package/dist/chunk-TJMK2KBE.js +0 -112
  386. package/dist/chunk-TJMK2KBE.js.map +0 -1
  387. package/dist/chunk-TTH7TWVX.js +0 -30
  388. package/dist/chunk-TTH7TWVX.js.map +0 -1
  389. package/dist/chunk-USIHM7FV.js +0 -211
  390. package/dist/chunk-USIHM7FV.js.map +0 -1
  391. package/dist/chunk-VVYSAGB3.js +0 -104
  392. package/dist/chunk-VVYSAGB3.js.map +0 -1
  393. package/dist/chunk-WD5KZE25.js +0 -25
  394. package/dist/chunk-WD5KZE25.js.map +0 -1
  395. package/dist/chunk-WL4ZO2H3.js +0 -33
  396. package/dist/chunk-WL4ZO2H3.js.map +0 -1
  397. package/dist/chunk-WRCHR4AK.js +0 -23
  398. package/dist/chunk-WRCHR4AK.js.map +0 -1
  399. package/dist/chunk-XOJJBNDX.js +0 -33
  400. package/dist/chunk-XOJJBNDX.js.map +0 -1
  401. package/dist/chunk-XUVLD65E.js +0 -617
  402. package/dist/chunk-XUVLD65E.js.map +0 -1
  403. package/dist/chunk-YBMEQZX7.js +0 -164
  404. package/dist/chunk-YBMEQZX7.js.map +0 -1
  405. package/dist/chunk-Z2QAABLM.js +0 -86
  406. package/dist/chunk-Z2QAABLM.js.map +0 -1
  407. package/dist/chunk-ZHEKDP5X.js +0 -41
  408. package/dist/chunk-ZHEKDP5X.js.map +0 -1
  409. package/dist/chunk-ZPMXRW2A.js +0 -63
  410. package/dist/chunk-ZPMXRW2A.js.map +0 -1
  411. package/dist/chunk-ZYEGBF7G.js +0 -25
  412. package/dist/chunk-ZYEGBF7G.js.map +0 -1
  413. package/dist/components/sidebar.d.ts +0 -169
  414. package/dist/components/sidebar.js +0 -11
  415. package/dist/components/sidebar.js.map +0 -1
  416. package/dist/types-CBVkScfB.d.ts +0 -84
  417. package/src/styles/fonts.css +0 -0
  418. package/src/styles/index.css +0 -3
  419. package/src/styles/tailwind.css +0 -4
  420. package/src/styles/theme.css +0 -461
@@ -1,6 +1,3 @@
1
- export { CalendarMini } from '../chunk-KTBOZ4NE.js';
2
- import '../chunk-WL4ZO2H3.js';
3
- import '../chunk-PGWNOZDX.js';
4
- import '../chunk-DGPY4WP3.js';
1
+ export * from '@omnifyjp/ui-components/components/calendar-mini';
5
2
  //# sourceMappingURL=calendar-mini.js.map
6
3
  //# sourceMappingURL=calendar-mini.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":[],"names":[],"mappings":"","file":"calendar-mini.js"}
1
+ {"version":3,"sources":[],"names":[],"mappings":"","file":"calendar-mini.js","sourcesContent":[]}
@@ -1,58 +1 @@
1
- import * as react_jsx_runtime from 'react/jsx-runtime';
2
-
3
- /** Supported calendar view modes. */
4
- type CalendarView = 'month' | 'week' | 'day';
5
- /** Localizable labels for the calendar toolbar. All have English defaults. */
6
- interface CalendarToolbarLabels {
7
- /** Label for the "Today" button. */
8
- today?: string;
9
- /** Label for the "Month" view toggle. */
10
- month?: string;
11
- /** Label for the "Week" view toggle. */
12
- week?: string;
13
- /** Label for the "Day" view toggle. */
14
- day?: string;
15
- /** Label for the "Create Event" button. */
16
- createEvent?: string;
17
- }
18
- interface CalendarToolbarProps {
19
- /** The date currently being viewed. Used for the title display. */
20
- currentDate: Date;
21
- /** The active calendar view mode. */
22
- view: CalendarView;
23
- /** Callback when the user switches between month/week/day views. */
24
- onViewChange: (view: CalendarView) => void;
25
- /** Navigate to the previous period. */
26
- onPrev: () => void;
27
- /** Navigate to the next period. */
28
- onNext: () => void;
29
- /** Navigate to today. */
30
- onToday: () => void;
31
- /** Optional callback for the "Create Event" button. Button is hidden when omitted. */
32
- onCreateEvent?: () => void;
33
- /** Localizable UI labels with English defaults. */
34
- labels?: CalendarToolbarLabels;
35
- /** date-fns format string for the title. Defaults to `"MMMM yyyy"` or `"EEEE, MMMM d, yyyy"` for day view. */
36
- titleFormat?: string;
37
- }
38
- /**
39
- * Toolbar for calendar views with navigation controls (prev/next/today),
40
- * view mode toggle (month/week/day), and an optional "Create Event" button.
41
- * Locale-agnostic via the `labels` prop.
42
- *
43
- * @example
44
- * ```tsx
45
- * <CalendarToolbar
46
- * currentDate={currentDate}
47
- * view="month"
48
- * onViewChange={setView}
49
- * onPrev={handlePrev}
50
- * onNext={handleNext}
51
- * onToday={handleToday}
52
- * onCreateEvent={() => setDialogOpen(true)}
53
- * />
54
- * ```
55
- */
56
- declare function CalendarToolbar({ currentDate, view, onViewChange, onPrev, onNext, onToday, onCreateEvent, labels: labelsProp, titleFormat: titleFormatProp, }: CalendarToolbarProps): react_jsx_runtime.JSX.Element;
57
-
58
- export { CalendarToolbar, type CalendarToolbarLabels, type CalendarToolbarProps, type CalendarView };
1
+ export * from '@omnifyjp/ui-components/components/calendar-toolbar';
@@ -1,7 +1,3 @@
1
- export { CalendarToolbar } from '../chunk-36YYHIJU.js';
2
- import '../chunk-ZPMXRW2A.js';
3
- import '../chunk-NU56GKGM.js';
4
- import '../chunk-55E7D2HR.js';
5
- import '../chunk-DGPY4WP3.js';
1
+ export * from '@omnifyjp/ui-components/components/calendar-toolbar';
6
2
  //# sourceMappingURL=calendar-toolbar.js.map
7
3
  //# sourceMappingURL=calendar-toolbar.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":[],"names":[],"mappings":"","file":"calendar-toolbar.js"}
1
+ {"version":3,"sources":[],"names":[],"mappings":"","file":"calendar-toolbar.js","sourcesContent":[]}
@@ -1,19 +1 @@
1
- import * as react_jsx_runtime from 'react/jsx-runtime';
2
- import * as React from 'react';
3
- import { DayPicker } from 'react-day-picker';
4
-
5
- /**
6
- * Date picker calendar built on `react-day-picker` v9. Supports single, multiple,
7
- * and range selection modes. Styled with Shadcn UI conventions.
8
- *
9
- * @param showOutsideDays - Whether to show days from adjacent months. Defaults to `true`.
10
- *
11
- * @example
12
- * ```tsx
13
- * const [date, setDate] = useState<Date | undefined>();
14
- * <Calendar mode="single" selected={date} onSelect={setDate} />
15
- * ```
16
- */
17
- declare function Calendar({ className, classNames, showOutsideDays, ...props }: React.ComponentProps<typeof DayPicker>): react_jsx_runtime.JSX.Element;
18
-
19
- export { Calendar };
1
+ export * from '@omnifyjp/ui-components/components/calendar';
@@ -1,5 +1,3 @@
1
- export { Calendar } from '../chunk-QB3UWRZH.js';
2
- import '../chunk-55E7D2HR.js';
3
- import '../chunk-DGPY4WP3.js';
1
+ export * from '@omnifyjp/ui-components/components/calendar';
4
2
  //# sourceMappingURL=calendar.js.map
5
3
  //# sourceMappingURL=calendar.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":[],"names":[],"mappings":"","file":"calendar.js"}
1
+ {"version":3,"sources":[],"names":[],"mappings":"","file":"calendar.js","sourcesContent":[]}
@@ -1,43 +1 @@
1
- import * as react_jsx_runtime from 'react/jsx-runtime';
2
- import * as React from 'react';
3
-
4
- /**
5
- * Styled card container with header, title, description, action, content, and footer sub-components.
6
- *
7
- * Uses density tokens (`px-card`, `pt-card`, `pb-card`, `gap-card`) for consistent
8
- * internal spacing that adapts to the design system.
9
- *
10
- * @example
11
- * ```tsx
12
- * <Card>
13
- * <CardHeader>
14
- * <CardTitle>Notifications</CardTitle>
15
- * <CardDescription>You have 3 unread messages.</CardDescription>
16
- * <CardAction>
17
- * <Button variant="outline">Mark all read</Button>
18
- * </CardAction>
19
- * </CardHeader>
20
- * <CardContent>
21
- * <p>Your recent activity will appear here.</p>
22
- * </CardContent>
23
- * <CardFooter>
24
- * <Button>View all</Button>
25
- * </CardFooter>
26
- * </Card>
27
- * ```
28
- */
29
- declare function Card({ className, ...props }: React.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
30
- /** Card header section. Lays out title, description, and optional action in a grid. */
31
- declare function CardHeader({ className, ...props }: React.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
32
- /** Card title rendered as an `<h4>` element. */
33
- declare function CardTitle({ className, ...props }: React.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
34
- /** Card description text displayed in muted foreground color. */
35
- declare function CardDescription({ className, ...props }: React.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
36
- /** Card action slot positioned at the top-right of `CardHeader`. Place buttons or menus here. */
37
- declare function CardAction({ className, ...props }: React.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
38
- /** Card content area with horizontal padding. Bottom padding applied when last child. */
39
- declare function CardContent({ className, ...props }: React.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
40
- /** Card footer with horizontal layout. Typically used for action buttons. */
41
- declare function CardFooter({ className, ...props }: React.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
42
-
43
- export { Card, CardAction, CardContent, CardDescription, CardFooter, CardHeader, CardTitle };
1
+ export * from '@omnifyjp/ui-components/components/card';
@@ -1,4 +1,3 @@
1
- export { Card, CardAction, CardContent, CardDescription, CardFooter, CardHeader, CardTitle } from '../chunk-Z2QAABLM.js';
2
- import '../chunk-DGPY4WP3.js';
1
+ export * from '@omnifyjp/ui-components/components/card';
3
2
  //# sourceMappingURL=card.js.map
4
3
  //# sourceMappingURL=card.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":[],"names":[],"mappings":"","file":"card.js"}
1
+ {"version":3,"sources":[],"names":[],"mappings":"","file":"card.js","sourcesContent":[]}
@@ -1,53 +1 @@
1
- import * as react_jsx_runtime from 'react/jsx-runtime';
2
- import * as React from 'react';
3
- import useEmblaCarousel from 'embla-carousel-react';
4
- import { Button } from './button.js';
5
- import 'class-variance-authority/types';
6
- import 'class-variance-authority';
7
- import '../types-CBVkScfB.js';
8
-
9
- type CarouselApi = ReturnType<typeof useEmblaCarousel>[1];
10
- type UseCarouselParameters = Parameters<typeof useEmblaCarousel>;
11
- type CarouselOptions = UseCarouselParameters[0];
12
- type CarouselPlugin = UseCarouselParameters[1];
13
- type CarouselProps = {
14
- /** Embla Carousel options (e.g., `{ loop: true, align: "start" }`). */
15
- opts?: CarouselOptions;
16
- /** Embla Carousel plugins (e.g., Autoplay, ClassNames). */
17
- plugins?: CarouselPlugin;
18
- /** Scroll axis direction. Defaults to `"horizontal"`. */
19
- orientation?: "horizontal" | "vertical";
20
- /** Callback to receive the Embla API instance for external control. */
21
- setApi?: (api: CarouselApi) => void;
22
- };
23
- /**
24
- * Carousel/slider component powered by Embla Carousel.
25
- *
26
- * Provides a context for child components (`CarouselContent`, `CarouselItem`,
27
- * `CarouselPrevious`, `CarouselNext`). Supports horizontal/vertical orientation,
28
- * keyboard navigation (arrow keys), and plugin extensibility.
29
- *
30
- * @example
31
- * ```tsx
32
- * <Carousel opts={{ loop: true }}>
33
- * <CarouselContent>
34
- * <CarouselItem>Slide 1</CarouselItem>
35
- * <CarouselItem>Slide 2</CarouselItem>
36
- * <CarouselItem>Slide 3</CarouselItem>
37
- * </CarouselContent>
38
- * <CarouselPrevious />
39
- * <CarouselNext />
40
- * </Carousel>
41
- * ```
42
- */
43
- declare function Carousel({ orientation, opts, setApi, plugins, className, children, ...props }: React.ComponentProps<"div"> & CarouselProps): react_jsx_runtime.JSX.Element;
44
- /** Scrollable container for `CarouselItem` elements. Manages the overflow viewport. */
45
- declare function CarouselContent({ className, ...props }: React.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
46
- /** Individual slide within the carousel. Defaults to full-width (`basis-full`). */
47
- declare function CarouselItem({ className, ...props }: React.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
48
- /** Navigation button to scroll to the previous slide. Automatically disabled when at the beginning. */
49
- declare function CarouselPrevious({ className, variant, size, ...props }: React.ComponentProps<typeof Button>): react_jsx_runtime.JSX.Element;
50
- /** Navigation button to scroll to the next slide. Automatically disabled when at the end. */
51
- declare function CarouselNext({ className, variant, size, ...props }: React.ComponentProps<typeof Button>): react_jsx_runtime.JSX.Element;
52
-
53
- export { Carousel, type CarouselApi, CarouselContent, CarouselItem, CarouselNext, CarouselPrevious };
1
+ export * from '@omnifyjp/ui-components/components/carousel';
@@ -1,5 +1,3 @@
1
- export { Carousel, CarouselContent, CarouselItem, CarouselNext, CarouselPrevious } from '../chunk-2TUWDXAC.js';
2
- import '../chunk-55E7D2HR.js';
3
- import '../chunk-DGPY4WP3.js';
1
+ export * from '@omnifyjp/ui-components/components/carousel';
4
2
  //# sourceMappingURL=carousel.js.map
5
3
  //# sourceMappingURL=carousel.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":[],"names":[],"mappings":"","file":"carousel.js"}
1
+ {"version":3,"sources":[],"names":[],"mappings":"","file":"carousel.js","sourcesContent":[]}
@@ -1,103 +1 @@
1
- import * as react_jsx_runtime from 'react/jsx-runtime';
2
- import * as React from 'react';
3
- import * as RechartsPrimitive from 'recharts';
4
-
5
- declare const THEMES: {
6
- readonly light: "";
7
- readonly dark: ".dark";
8
- };
9
- /**
10
- * Configuration object for chart data series. Each key maps to a data series
11
- * and defines its label, optional icon, and color (either a single color or
12
- * per-theme colors).
13
- *
14
- * @example
15
- * ```tsx
16
- * const config: ChartConfig = {
17
- * revenue: { label: "Revenue", color: "var(--color-blue-500)" },
18
- * expenses: { label: "Expenses", theme: { light: "#ef4444", dark: "#f87171" } },
19
- * };
20
- * ```
21
- */
22
- type ChartConfig = {
23
- [k in string]: {
24
- /** Display label for this data series. */
25
- label?: React.ReactNode;
26
- /** Optional icon component displayed in the legend. */
27
- icon?: React.ComponentType;
28
- } & ({
29
- color?: string;
30
- theme?: never;
31
- } | {
32
- color?: never; /** Per-theme color mapping (light/dark). */
33
- theme: Record<keyof typeof THEMES, string>;
34
- });
35
- };
36
- /**
37
- * Wrapper that provides chart configuration context, injects theme-aware CSS
38
- * custom properties for data series colors, and renders a Recharts
39
- * `ResponsiveContainer`.
40
- *
41
- * @param config - Chart configuration mapping data keys to labels, icons, and colors.
42
- *
43
- * @example
44
- * ```tsx
45
- * <ChartContainer config={{ revenue: { label: "Revenue", color: "#3b82f6" } }}>
46
- * <BarChart data={data}>
47
- * <Bar dataKey="revenue" fill="var(--color-revenue)" />
48
- * </BarChart>
49
- * </ChartContainer>
50
- * ```
51
- */
52
- declare function ChartContainer({ id, className, children, config, ...props }: React.ComponentProps<"div"> & {
53
- /** Chart configuration mapping data keys to labels, icons, and colors. */
54
- config: ChartConfig;
55
- /** Recharts chart element (e.g. BarChart, LineChart). */
56
- children: React.ComponentProps<typeof RechartsPrimitive.ResponsiveContainer>["children"];
57
- }): react_jsx_runtime.JSX.Element;
58
- /** Injects a `<style>` tag with CSS custom properties for chart colors, scoped to the chart container. */
59
- declare const ChartStyle: ({ id, config }: {
60
- id: string;
61
- config: ChartConfig;
62
- }) => react_jsx_runtime.JSX.Element | null;
63
- /** Re-export of Recharts Tooltip for use with ChartTooltipContent. */
64
- declare const ChartTooltip: typeof RechartsPrimitive.Tooltip;
65
- /**
66
- * Styled tooltip content for use inside `<ChartTooltip content={<ChartTooltipContent />} />`.
67
- * Renders data series with color indicators, labels from ChartConfig, and formatted values.
68
- *
69
- * @param indicator - Shape of the color indicator: `"dot"`, `"line"`, or `"dashed"`.
70
- * @param hideLabel - Whether to hide the tooltip header label.
71
- * @param hideIndicator - Whether to hide the color indicator.
72
- * @param nameKey - Data key to resolve series name from the payload.
73
- * @param labelKey - Data key to resolve the tooltip header label from config.
74
- */
75
- declare function ChartTooltipContent({ active, payload, className, indicator, hideLabel, hideIndicator, label, labelFormatter, labelClassName, formatter, color, nameKey, labelKey, }: React.ComponentProps<typeof RechartsPrimitive.Tooltip> & React.ComponentProps<"div"> & {
76
- /** Whether to hide the tooltip header label. */
77
- hideLabel?: boolean;
78
- /** Whether to hide the color indicator next to each series. */
79
- hideIndicator?: boolean;
80
- /** Shape of the color indicator. Defaults to `"dot"`. */
81
- indicator?: "line" | "dot" | "dashed";
82
- /** Data key used to resolve the series name from payload. */
83
- nameKey?: string;
84
- /** Data key used to resolve the header label from config. */
85
- labelKey?: string;
86
- }): react_jsx_runtime.JSX.Element | null;
87
- /** Re-export of Recharts Legend for use with ChartLegendContent. */
88
- declare const ChartLegend: typeof RechartsPrimitive.Legend;
89
- /**
90
- * Styled legend content for use inside `<ChartLegend content={<ChartLegendContent />} />`.
91
- * Renders a horizontal list of series labels with color indicators or custom icons from ChartConfig.
92
- *
93
- * @param hideIcon - Whether to hide the color dot / custom icon.
94
- * @param nameKey - Data key to resolve the series name from payload.
95
- */
96
- declare function ChartLegendContent({ className, hideIcon, payload, verticalAlign, nameKey, }: React.ComponentProps<"div"> & Pick<RechartsPrimitive.LegendProps, "payload" | "verticalAlign"> & {
97
- /** Whether to hide the color indicator or custom icon. */
98
- hideIcon?: boolean;
99
- /** Data key used to resolve the series name from payload. */
100
- nameKey?: string;
101
- }): react_jsx_runtime.JSX.Element | null;
102
-
103
- export { type ChartConfig, ChartContainer, ChartLegend, ChartLegendContent, ChartStyle, ChartTooltip, ChartTooltipContent };
1
+ export * from '@omnifyjp/ui-components/components/chart';
@@ -1,4 +1,3 @@
1
- export { ChartContainer, ChartLegend, ChartLegendContent, ChartStyle, ChartTooltip, ChartTooltipContent } from '../chunk-B434PORR.js';
2
- import '../chunk-DGPY4WP3.js';
1
+ export * from '@omnifyjp/ui-components/components/chart';
3
2
  //# sourceMappingURL=chart.js.map
4
3
  //# sourceMappingURL=chart.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":[],"names":[],"mappings":"","file":"chart.js"}
1
+ {"version":3,"sources":[],"names":[],"mappings":"","file":"chart.js","sourcesContent":[]}
@@ -1,24 +1 @@
1
- import * as React from 'react';
2
- import * as CheckboxPrimitive from '@radix-ui/react-checkbox';
3
-
4
- type CheckboxProps = React.ComponentPropsWithoutRef<typeof CheckboxPrimitive.Root>;
5
- /**
6
- * Checkable input that allows selecting one or more options from a set.
7
- * Supports checked, unchecked, and indeterminate states.
8
- *
9
- * @example
10
- * ```tsx
11
- * // Basic usage
12
- * <Checkbox id="terms" />
13
- * <Label htmlFor="terms">Accept terms</Label>
14
- *
15
- * // Controlled
16
- * <Checkbox checked={accepted} onCheckedChange={setAccepted} />
17
- *
18
- * // Indeterminate (partial selection)
19
- * <Checkbox checked="indeterminate" />
20
- * ```
21
- */
22
- declare const Checkbox: React.ForwardRefExoticComponent<Omit<CheckboxPrimitive.CheckboxProps & React.RefAttributes<HTMLButtonElement>, "ref"> & React.RefAttributes<HTMLButtonElement>>;
23
-
24
- export { Checkbox, type CheckboxProps };
1
+ export * from '@omnifyjp/ui-components/components/checkbox';
@@ -1,4 +1,3 @@
1
- export { Checkbox } from '../chunk-WL4ZO2H3.js';
2
- import '../chunk-DGPY4WP3.js';
1
+ export * from '@omnifyjp/ui-components/components/checkbox';
3
2
  //# sourceMappingURL=checkbox.js.map
4
3
  //# sourceMappingURL=checkbox.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":[],"names":[],"mappings":"","file":"checkbox.js"}
1
+ {"version":3,"sources":[],"names":[],"mappings":"","file":"checkbox.js","sourcesContent":[]}
@@ -1,28 +1 @@
1
- import * as react_jsx_runtime from 'react/jsx-runtime';
2
- import * as CollapsiblePrimitive from '@radix-ui/react-collapsible';
3
-
4
- /**
5
- * Expandable/collapsible container built on Radix Collapsible.
6
- *
7
- * Manages open/closed state for a single content region. For multiple
8
- * collapsible sections, consider using `Accordion` instead.
9
- *
10
- * @example
11
- * ```tsx
12
- * <Collapsible>
13
- * <CollapsibleTrigger asChild>
14
- * <Button variant="ghost">Toggle details</Button>
15
- * </CollapsibleTrigger>
16
- * <CollapsibleContent>
17
- * <p>Hidden content revealed on toggle.</p>
18
- * </CollapsibleContent>
19
- * </Collapsible>
20
- * ```
21
- */
22
- declare function Collapsible({ ...props }: React.ComponentProps<typeof CollapsiblePrimitive.Root>): react_jsx_runtime.JSX.Element;
23
- /** Button or element that toggles the collapsible open/closed state. Supports `asChild` for custom trigger elements. */
24
- declare function CollapsibleTrigger({ ...props }: React.ComponentProps<typeof CollapsiblePrimitive.CollapsibleTrigger>): react_jsx_runtime.JSX.Element;
25
- /** Content region that shows/hides when the collapsible is toggled. */
26
- declare function CollapsibleContent({ ...props }: React.ComponentProps<typeof CollapsiblePrimitive.CollapsibleContent>): react_jsx_runtime.JSX.Element;
27
-
28
- export { Collapsible, CollapsibleContent, CollapsibleTrigger };
1
+ export * from '@omnifyjp/ui-components/components/collapsible';
@@ -1,3 +1,3 @@
1
- export { Collapsible, CollapsibleContent, CollapsibleTrigger } from '../chunk-3EOHW4QN.js';
1
+ export * from '@omnifyjp/ui-components/components/collapsible';
2
2
  //# sourceMappingURL=collapsible.js.map
3
3
  //# sourceMappingURL=collapsible.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":[],"names":[],"mappings":"","file":"collapsible.js"}
1
+ {"version":3,"sources":[],"names":[],"mappings":"","file":"collapsible.js","sourcesContent":[]}
@@ -1,35 +1 @@
1
- import * as react_jsx_runtime from 'react/jsx-runtime';
2
-
3
- interface ColorPickerProps {
4
- /** Currently selected color as a hex string (e.g., `"#3B82F6"`). */
5
- value?: string;
6
- /** Callback fired when a color is selected. Receives a hex string. */
7
- onChange?: (color: string) => void;
8
- /** Additional CSS class for the trigger button. */
9
- className?: string;
10
- /** Whether the color picker is disabled. */
11
- disabled?: boolean;
12
- /** Whether to show the preset color grid. Defaults to `true`. */
13
- showPresets?: boolean;
14
- /** Whether to show the custom hex input with native color picker. Defaults to `true`. */
15
- showInput?: boolean;
16
- }
17
- /**
18
- * Color picker with a popover containing preset color swatches and an optional custom hex input.
19
- * The trigger button shows the currently selected color swatch and its hex value.
20
- *
21
- * @example
22
- * ```tsx
23
- * const [color, setColor] = useState("#3B82F6");
24
- *
25
- * <ColorPicker
26
- * value={color}
27
- * onChange={setColor}
28
- * showPresets
29
- * showInput
30
- * />
31
- * ```
32
- */
33
- declare function ColorPicker({ value, onChange, className, disabled, showPresets, showInput, }: ColorPickerProps): react_jsx_runtime.JSX.Element;
34
-
35
- export { ColorPicker };
1
+ export * from '@omnifyjp/ui-components/components/color-picker';
@@ -1,7 +1,3 @@
1
- export { ColorPicker } from '../chunk-MJLFJPUG.js';
2
- import '../chunk-3VU56V66.js';
3
- import '../chunk-C34KSTWA.js';
4
- import '../chunk-55E7D2HR.js';
5
- import '../chunk-DGPY4WP3.js';
1
+ export * from '@omnifyjp/ui-components/components/color-picker';
6
2
  //# sourceMappingURL=color-picker.js.map
7
3
  //# sourceMappingURL=color-picker.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":[],"names":[],"mappings":"","file":"color-picker.js"}
1
+ {"version":3,"sources":[],"names":[],"mappings":"","file":"color-picker.js","sourcesContent":[]}
@@ -1,98 +1 @@
1
- import * as react_jsx_runtime from 'react/jsx-runtime';
2
-
3
- /** A single option in the Combobox dropdown. */
4
- interface ComboboxOption {
5
- /** Unique value for this option. */
6
- value: string;
7
- /** Display label shown in the dropdown list. */
8
- label: string;
9
- /** Whether this option is non-selectable. */
10
- disabled?: boolean;
11
- }
12
- interface ComboboxProps {
13
- /** Available options to display in the dropdown. */
14
- options: ComboboxOption[];
15
- /** Currently selected value. */
16
- value?: string;
17
- /** Callback fired when the selected value changes. */
18
- onChange?: (value: string) => void;
19
- /** Placeholder text shown when no value is selected. */
20
- placeholder?: string;
21
- /** Placeholder text for the search input inside the dropdown. */
22
- searchPlaceholder?: string;
23
- /** Text shown when no options match the search query. */
24
- emptyText?: string;
25
- /** Additional CSS class for the trigger button. */
26
- className?: string;
27
- /** Whether the combobox is disabled. */
28
- disabled?: boolean;
29
- /** Whether to show a clear button when a value is selected. */
30
- clearable?: boolean;
31
- }
32
- /**
33
- * Searchable single-select combobox built on cmdk and Radix Popover.
34
- * Combines a text search input with a selectable option list.
35
- *
36
- * @example
37
- * ```tsx
38
- * const [value, setValue] = useState("");
39
- *
40
- * <Combobox
41
- * options={[
42
- * { value: "react", label: "React" },
43
- * { value: "vue", label: "Vue" },
44
- * { value: "svelte", label: "Svelte" },
45
- * ]}
46
- * value={value}
47
- * onChange={setValue}
48
- * placeholder="Select framework..."
49
- * searchPlaceholder="Search..."
50
- * clearable
51
- * />
52
- * ```
53
- */
54
- declare function Combobox({ options, value, onChange, placeholder, searchPlaceholder, emptyText, className, disabled, clearable, }: ComboboxProps): react_jsx_runtime.JSX.Element;
55
- interface MultiComboboxProps {
56
- /** Available options to display in the dropdown. */
57
- options: ComboboxOption[];
58
- /** Array of currently selected values. */
59
- value?: string[];
60
- /** Callback fired when the selection changes. */
61
- onChange?: (value: string[]) => void;
62
- /** Placeholder text shown when no values are selected. */
63
- placeholder?: string;
64
- /** Placeholder text for the search input inside the dropdown. */
65
- searchPlaceholder?: string;
66
- /** Text shown when no options match the search query. */
67
- emptyText?: string;
68
- /** Additional CSS class for the trigger button. */
69
- className?: string;
70
- /** Whether the combobox is disabled. */
71
- disabled?: boolean;
72
- /** Maximum number of items that can be selected. */
73
- maxSelected?: number;
74
- }
75
- /**
76
- * Searchable multi-select combobox that allows selecting multiple values.
77
- * Selected items are shown as a count in the trigger button.
78
- *
79
- * @example
80
- * ```tsx
81
- * const [selected, setSelected] = useState<string[]>([]);
82
- *
83
- * <MultiCombobox
84
- * options={[
85
- * { value: "react", label: "React" },
86
- * { value: "vue", label: "Vue" },
87
- * { value: "svelte", label: "Svelte" },
88
- * ]}
89
- * value={selected}
90
- * onChange={setSelected}
91
- * placeholder="Select frameworks..."
92
- * maxSelected={3}
93
- * />
94
- * ```
95
- */
96
- declare function MultiCombobox({ options, value, onChange, placeholder, searchPlaceholder, emptyText, className, disabled, maxSelected, }: MultiComboboxProps): react_jsx_runtime.JSX.Element;
97
-
98
- export { Combobox, type ComboboxOption, MultiCombobox };
1
+ export * from '@omnifyjp/ui-components/components/combobox';
@@ -1,8 +1,3 @@
1
- export { Combobox, MultiCombobox } from '../chunk-NPL2R5LD.js';
2
- import '../chunk-C34KSTWA.js';
3
- import '../chunk-6GWVQB3Q.js';
4
- import '../chunk-F2ZJLKDP.js';
5
- import '../chunk-55E7D2HR.js';
6
- import '../chunk-DGPY4WP3.js';
1
+ export * from '@omnifyjp/ui-components/components/combobox';
7
2
  //# sourceMappingURL=combobox.js.map
8
3
  //# sourceMappingURL=combobox.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":[],"names":[],"mappings":"","file":"combobox.js"}
1
+ {"version":3,"sources":[],"names":[],"mappings":"","file":"combobox.js","sourcesContent":[]}