@kumix/ui 0.3.11 → 0.3.13

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (890) hide show
  1. package/README.md +13 -13
  2. package/dist/components/agents/agent-activity/activity-row.d.ts +1 -2
  3. package/dist/components/agents/agent-activity/activity-row.d.ts.map +1 -1
  4. package/dist/components/agents/agent-activity/activity-row.js +1 -1
  5. package/dist/components/agents/agent-activity/activity-row.js.map +1 -1
  6. package/dist/components/agents/agent-activity/index.d.ts +2 -2
  7. package/dist/components/agents/agent-activity/index.d.ts.map +1 -1
  8. package/dist/components/agents/agent-activity/index.js +1 -1
  9. package/dist/components/agents/agent-activity/index.js.map +1 -1
  10. package/dist/components/agents/agent-code.d.ts +8 -9
  11. package/dist/components/agents/agent-code.d.ts.map +1 -1
  12. package/dist/components/agents/agent-code.js +1 -1
  13. package/dist/components/agents/agent-code.js.map +1 -1
  14. package/dist/components/agents/agent-disclosure.d.ts +2 -3
  15. package/dist/components/agents/agent-disclosure.d.ts.map +1 -1
  16. package/dist/components/agents/agent-disclosure.js +1 -1
  17. package/dist/components/agents/agent-disclosure.js.map +1 -1
  18. package/dist/components/agents/ai-sidebar.d.ts +8 -9
  19. package/dist/components/agents/ai-sidebar.d.ts.map +1 -1
  20. package/dist/components/agents/ai-sidebar.js +1 -1
  21. package/dist/components/agents/ai-sidebar.js.map +1 -1
  22. package/dist/components/agents/approval-card/index.d.ts +2 -2
  23. package/dist/components/agents/approval-card/index.d.ts.map +1 -1
  24. package/dist/components/agents/approval-card/index.js +1 -1
  25. package/dist/components/agents/approval-card/index.js.map +1 -1
  26. package/dist/components/agents/chat-app.d.ts +2 -3
  27. package/dist/components/agents/chat-app.d.ts.map +1 -1
  28. package/dist/components/agents/chat-app.js +1 -1
  29. package/dist/components/agents/chat-app.js.map +1 -1
  30. package/dist/components/agents/citations.d.ts +10 -11
  31. package/dist/components/agents/citations.d.ts.map +1 -1
  32. package/dist/components/agents/citations.js +1 -1
  33. package/dist/components/agents/citations.js.map +1 -1
  34. package/dist/components/agents/code-block.d.ts +3 -4
  35. package/dist/components/agents/code-block.d.ts.map +1 -1
  36. package/dist/components/agents/code-block.js +1 -1
  37. package/dist/components/agents/code-block.js.map +1 -1
  38. package/dist/components/agents/file-diff.d.ts +5 -6
  39. package/dist/components/agents/file-diff.d.ts.map +1 -1
  40. package/dist/components/agents/file-diff.js +1 -1
  41. package/dist/components/agents/file-diff.js.map +1 -1
  42. package/dist/components/agents/image-generation.d.ts +3 -4
  43. package/dist/components/agents/image-generation.d.ts.map +1 -1
  44. package/dist/components/agents/image-generation.js +1 -1
  45. package/dist/components/agents/image-generation.js.map +1 -1
  46. package/dist/components/agents/loading-states/agent-progress.d.ts +2 -3
  47. package/dist/components/agents/loading-states/agent-progress.d.ts.map +1 -1
  48. package/dist/components/agents/loading-states/agent-progress.js +1 -1
  49. package/dist/components/agents/loading-states/agent-progress.js.map +1 -1
  50. package/dist/components/agents/loading-states/reasoning-text.d.ts +3 -4
  51. package/dist/components/agents/loading-states/reasoning-text.d.ts.map +1 -1
  52. package/dist/components/agents/loading-states/reasoning-text.js +1 -1
  53. package/dist/components/agents/loading-states/reasoning-text.js.map +1 -1
  54. package/dist/components/agents/loading-states/thinking-shimmer.d.ts +2 -3
  55. package/dist/components/agents/loading-states/thinking-shimmer.d.ts.map +1 -1
  56. package/dist/components/agents/loading-states/thinking-shimmer.js +1 -1
  57. package/dist/components/agents/loading-states/thinking-shimmer.js.map +1 -1
  58. package/dist/components/agents/message-bubble.d.ts +10 -11
  59. package/dist/components/agents/message-bubble.d.ts.map +1 -1
  60. package/dist/components/agents/message-bubble.js +1 -1
  61. package/dist/components/agents/message-bubble.js.map +1 -1
  62. package/dist/components/agents/message-context.d.ts +2 -3
  63. package/dist/components/agents/message-context.d.ts.map +1 -1
  64. package/dist/components/agents/message-scroller.d.ts +2 -3
  65. package/dist/components/agents/message-scroller.d.ts.map +1 -1
  66. package/dist/components/agents/message-scroller.js +1 -1
  67. package/dist/components/agents/message-scroller.js.map +1 -1
  68. package/dist/components/agents/message.d.ts +18 -18
  69. package/dist/components/agents/message.d.ts.map +1 -1
  70. package/dist/components/agents/message.js +1 -1
  71. package/dist/components/agents/message.js.map +1 -1
  72. package/dist/components/agents/prompt-input.d.ts +4 -5
  73. package/dist/components/agents/prompt-input.d.ts.map +1 -1
  74. package/dist/components/agents/prompt-input.js +1 -1
  75. package/dist/components/agents/prompt-input.js.map +1 -1
  76. package/dist/components/agents/streaming-response.d.ts +4 -5
  77. package/dist/components/agents/streaming-response.d.ts.map +1 -1
  78. package/dist/components/agents/streaming-response.js +1 -1
  79. package/dist/components/agents/streaming-response.js.map +1 -1
  80. package/dist/components/agents/todo-list.d.ts +4 -5
  81. package/dist/components/agents/todo-list.d.ts.map +1 -1
  82. package/dist/components/agents/todo-list.js +1 -1
  83. package/dist/components/agents/todo-list.js.map +1 -1
  84. package/dist/components/agents/tool-approval.d.ts +6 -7
  85. package/dist/components/agents/tool-approval.d.ts.map +1 -1
  86. package/dist/components/agents/tool-approval.js +1 -1
  87. package/dist/components/agents/tool-approval.js.map +1 -1
  88. package/dist/components/agents/tool-result.d.ts +6 -7
  89. package/dist/components/agents/tool-result.d.ts.map +1 -1
  90. package/dist/components/agents/tool-result.js +1 -1
  91. package/dist/components/agents/tool-result.js.map +1 -1
  92. package/dist/components/custom/confirm-dialog.d.ts +2 -3
  93. package/dist/components/custom/confirm-dialog.d.ts.map +1 -1
  94. package/dist/components/custom/toast.d.ts +6 -7
  95. package/dist/components/custom/toast.d.ts.map +1 -1
  96. package/dist/components/motion/action-swap-blur.d.ts +7 -7
  97. package/dist/components/motion/action-swap-blur.d.ts.map +1 -1
  98. package/dist/components/motion/action-swap-cascade.d.ts +7 -7
  99. package/dist/components/motion/action-swap-cascade.d.ts.map +1 -1
  100. package/dist/components/motion/action-swap-roll.d.ts +7 -7
  101. package/dist/components/motion/action-swap-roll.d.ts.map +1 -1
  102. package/dist/components/motion/action-swap.d.ts +10 -11
  103. package/dist/components/motion/action-swap.d.ts.map +1 -1
  104. package/dist/components/motion/action-swap.js +1 -1
  105. package/dist/components/motion/action-swap.js.map +1 -1
  106. package/dist/components/motion/adaptive-stepper.d.ts +7 -8
  107. package/dist/components/motion/adaptive-stepper.d.ts.map +1 -1
  108. package/dist/components/motion/adaptive-stepper.js +1 -1
  109. package/dist/components/motion/adaptive-stepper.js.map +1 -1
  110. package/dist/components/motion/animated-badge.d.ts +4 -5
  111. package/dist/components/motion/animated-badge.d.ts.map +1 -1
  112. package/dist/components/motion/animated-badge.js +1 -1
  113. package/dist/components/motion/animated-badge.js.map +1 -1
  114. package/dist/components/motion/animated-number.d.ts +2 -3
  115. package/dist/components/motion/animated-number.d.ts.map +1 -1
  116. package/dist/components/motion/animated-number.js +1 -1
  117. package/dist/components/motion/animated-number.js.map +1 -1
  118. package/dist/components/motion/animated-sidebar.d.ts +28 -29
  119. package/dist/components/motion/animated-sidebar.d.ts.map +1 -1
  120. package/dist/components/motion/animated-sidebar.js +1 -1
  121. package/dist/components/motion/animated-sidebar.js.map +1 -1
  122. package/dist/components/motion/animated-toast-stack.d.ts +10 -11
  123. package/dist/components/motion/animated-toast-stack.d.ts.map +1 -1
  124. package/dist/components/motion/animated-toast-stack.js +1 -1
  125. package/dist/components/motion/animated-toast-stack.js.map +1 -1
  126. package/dist/components/motion/attachment-upload.d.ts +7 -8
  127. package/dist/components/motion/attachment-upload.d.ts.map +1 -1
  128. package/dist/components/motion/attachment-upload.js +1 -1
  129. package/dist/components/motion/attachment-upload.js.map +1 -1
  130. package/dist/components/motion/availability-scheduler/copy-menu.d.ts +1 -2
  131. package/dist/components/motion/availability-scheduler/copy-menu.d.ts.map +1 -1
  132. package/dist/components/motion/availability-scheduler/day-row.d.ts +1 -2
  133. package/dist/components/motion/availability-scheduler/day-row.d.ts.map +1 -1
  134. package/dist/components/motion/availability-scheduler/icon-button.d.ts +1 -2
  135. package/dist/components/motion/availability-scheduler/icon-button.d.ts.map +1 -1
  136. package/dist/components/motion/availability-scheduler/icon-button.js +1 -1
  137. package/dist/components/motion/availability-scheduler/icon-button.js.map +1 -1
  138. package/dist/components/motion/availability-scheduler/index.d.ts +3 -3
  139. package/dist/components/motion/availability-scheduler/index.d.ts.map +1 -1
  140. package/dist/components/motion/availability-scheduler/index.js +1 -1
  141. package/dist/components/motion/availability-scheduler/index.js.map +1 -1
  142. package/dist/components/motion/availability-scheduler/time-select.d.ts +1 -2
  143. package/dist/components/motion/availability-scheduler/time-select.d.ts.map +1 -1
  144. package/dist/components/motion/bloom-menu.d.ts +2 -3
  145. package/dist/components/motion/bloom-menu.d.ts.map +1 -1
  146. package/dist/components/motion/bloom-menu.js +1 -1
  147. package/dist/components/motion/bloom-menu.js.map +1 -1
  148. package/dist/components/motion/bottom-sheet.d.ts +2 -3
  149. package/dist/components/motion/bottom-sheet.d.ts.map +1 -1
  150. package/dist/components/motion/bottom-sheet.js +1 -1
  151. package/dist/components/motion/bottom-sheet.js.map +1 -1
  152. package/dist/components/motion/bounce-sidebar.d.ts +3 -4
  153. package/dist/components/motion/bounce-sidebar.d.ts.map +1 -1
  154. package/dist/components/motion/bounce-sidebar.js +1 -1
  155. package/dist/components/motion/bounce-sidebar.js.map +1 -1
  156. package/dist/components/motion/bouncy-accordion.d.ts +4 -5
  157. package/dist/components/motion/bouncy-accordion.d.ts.map +1 -1
  158. package/dist/components/motion/bouncy-accordion.js +1 -1
  159. package/dist/components/motion/bouncy-accordion.js.map +1 -1
  160. package/dist/components/motion/button/base.d.ts +6 -7
  161. package/dist/components/motion/button/base.d.ts.map +1 -1
  162. package/dist/components/motion/button/base.js +1 -1
  163. package/dist/components/motion/button/base.js.map +1 -1
  164. package/dist/components/motion/button/magnetic.d.ts +2 -3
  165. package/dist/components/motion/button/magnetic.d.ts.map +1 -1
  166. package/dist/components/motion/button/metallic.d.ts +2 -3
  167. package/dist/components/motion/button/metallic.d.ts.map +1 -1
  168. package/dist/components/motion/button/metallic.js +1 -1
  169. package/dist/components/motion/button/metallic.js.map +1 -1
  170. package/dist/components/motion/button/stateful.d.ts +3 -4
  171. package/dist/components/motion/button/stateful.d.ts.map +1 -1
  172. package/dist/components/motion/card-folder.d.ts +30 -0
  173. package/dist/components/motion/card-folder.d.ts.map +1 -0
  174. package/dist/components/motion/card-folder.js +254 -0
  175. package/dist/components/motion/card-folder.js.map +1 -0
  176. package/dist/components/motion/center-morph-modal.d.ts +8 -9
  177. package/dist/components/motion/center-morph-modal.d.ts.map +1 -1
  178. package/dist/components/motion/center-morph-modal.js +1 -1
  179. package/dist/components/motion/center-morph-modal.js.map +1 -1
  180. package/dist/components/motion/checkbox.d.ts +2 -3
  181. package/dist/components/motion/checkbox.d.ts.map +1 -1
  182. package/dist/components/motion/checkbox.js +1 -1
  183. package/dist/components/motion/checkbox.js.map +1 -1
  184. package/dist/components/motion/chromatic-text-reveal.d.ts +2 -3
  185. package/dist/components/motion/chromatic-text-reveal.d.ts.map +1 -1
  186. package/dist/components/motion/chromatic-text-reveal.js +1 -1
  187. package/dist/components/motion/chromatic-text-reveal.js.map +1 -1
  188. package/dist/components/motion/combobox/content.d.ts +2 -3
  189. package/dist/components/motion/combobox/content.d.ts.map +1 -1
  190. package/dist/components/motion/combobox/content.js +1 -1
  191. package/dist/components/motion/combobox/content.js.map +1 -1
  192. package/dist/components/motion/combobox/context.d.ts +9 -10
  193. package/dist/components/motion/combobox/context.d.ts.map +1 -1
  194. package/dist/components/motion/combobox/context.js +1 -1
  195. package/dist/components/motion/combobox/context.js.map +1 -1
  196. package/dist/components/motion/combobox/list.d.ts +12 -13
  197. package/dist/components/motion/combobox/list.d.ts.map +1 -1
  198. package/dist/components/motion/combobox/list.js +1 -1
  199. package/dist/components/motion/combobox/list.js.map +1 -1
  200. package/dist/components/motion/combobox/trigger.d.ts +6 -7
  201. package/dist/components/motion/combobox/trigger.d.ts.map +1 -1
  202. package/dist/components/motion/combobox/trigger.js +1 -1
  203. package/dist/components/motion/combobox/trigger.js.map +1 -1
  204. package/dist/components/motion/command-palette.d.ts +3 -4
  205. package/dist/components/motion/command-palette.d.ts.map +1 -1
  206. package/dist/components/motion/command-palette.js +1 -1
  207. package/dist/components/motion/command-palette.js.map +1 -1
  208. package/dist/components/motion/context-menu.d.ts +20 -21
  209. package/dist/components/motion/context-menu.d.ts.map +1 -1
  210. package/dist/components/motion/context-menu.js +1 -1
  211. package/dist/components/motion/context-menu.js.map +1 -1
  212. package/dist/components/motion/cylinder-carousel.d.ts +2 -3
  213. package/dist/components/motion/cylinder-carousel.d.ts.map +1 -1
  214. package/dist/components/motion/cylinder-carousel.js +1 -1
  215. package/dist/components/motion/cylinder-carousel.js.map +1 -1
  216. package/dist/components/motion/digit-swap.d.ts +23 -0
  217. package/dist/components/motion/digit-swap.d.ts.map +1 -0
  218. package/dist/components/motion/digit-swap.js +77 -0
  219. package/dist/components/motion/digit-swap.js.map +1 -0
  220. package/dist/components/motion/dock.d.ts +5 -6
  221. package/dist/components/motion/dock.d.ts.map +1 -1
  222. package/dist/components/motion/dock.js +1 -1
  223. package/dist/components/motion/dock.js.map +1 -1
  224. package/dist/components/motion/drawer.d.ts +2 -3
  225. package/dist/components/motion/drawer.d.ts.map +1 -1
  226. package/dist/components/motion/drawer.js +1 -1
  227. package/dist/components/motion/drawer.js.map +1 -1
  228. package/dist/components/motion/dynamic-island.d.ts +4 -5
  229. package/dist/components/motion/dynamic-island.d.ts.map +1 -1
  230. package/dist/components/motion/dynamic-island.js +1 -1
  231. package/dist/components/motion/dynamic-island.js.map +1 -1
  232. package/dist/components/motion/expandable-action-bar.d.ts +6 -7
  233. package/dist/components/motion/expandable-action-bar.d.ts.map +1 -1
  234. package/dist/components/motion/expandable-action-bar.js +1 -1
  235. package/dist/components/motion/expandable-action-bar.js.map +1 -1
  236. package/dist/components/motion/expandable-control.d.ts +4 -5
  237. package/dist/components/motion/expandable-control.d.ts.map +1 -1
  238. package/dist/components/motion/expandable-control.js +1 -1
  239. package/dist/components/motion/expandable-control.js.map +1 -1
  240. package/dist/components/motion/expandable-tabs.d.ts +4 -5
  241. package/dist/components/motion/expandable-tabs.d.ts.map +1 -1
  242. package/dist/components/motion/expandable-tabs.js +1 -1
  243. package/dist/components/motion/expandable-tabs.js.map +1 -1
  244. package/dist/components/motion/expanding-arrow-button.d.ts +2 -3
  245. package/dist/components/motion/expanding-arrow-button.d.ts.map +1 -1
  246. package/dist/components/motion/expanding-arrow-button.js +1 -1
  247. package/dist/components/motion/expanding-arrow-button.js.map +1 -1
  248. package/dist/components/motion/feedback-widget.d.ts +3 -4
  249. package/dist/components/motion/feedback-widget.d.ts.map +1 -1
  250. package/dist/components/motion/feedback-widget.js +1 -1
  251. package/dist/components/motion/feedback-widget.js.map +1 -1
  252. package/dist/components/motion/file-tree.d.ts +7 -8
  253. package/dist/components/motion/file-tree.d.ts.map +1 -1
  254. package/dist/components/motion/file-tree.js +1 -1
  255. package/dist/components/motion/file-tree.js.map +1 -1
  256. package/dist/components/motion/file-upload.d.ts +7 -8
  257. package/dist/components/motion/file-upload.d.ts.map +1 -1
  258. package/dist/components/motion/file-upload.js +1 -1
  259. package/dist/components/motion/file-upload.js.map +1 -1
  260. package/dist/components/motion/hold-action-button.d.ts +2 -3
  261. package/dist/components/motion/hold-action-button.d.ts.map +1 -1
  262. package/dist/components/motion/hold-action-button.js +1 -1
  263. package/dist/components/motion/hold-action-button.js.map +1 -1
  264. package/dist/components/motion/infinite-masonry.d.ts +3 -4
  265. package/dist/components/motion/infinite-masonry.d.ts.map +1 -1
  266. package/dist/components/motion/infinite-masonry.js +1 -1
  267. package/dist/components/motion/infinite-masonry.js.map +1 -1
  268. package/dist/components/motion/input.d.ts +3 -4
  269. package/dist/components/motion/input.d.ts.map +1 -1
  270. package/dist/components/motion/input.js +1 -1
  271. package/dist/components/motion/input.js.map +1 -1
  272. package/dist/components/motion/liquid.d.ts +6 -7
  273. package/dist/components/motion/liquid.d.ts.map +1 -1
  274. package/dist/components/motion/liquid.js +1 -1
  275. package/dist/components/motion/liquid.js.map +1 -1
  276. package/dist/components/motion/loader.d.ts +3 -4
  277. package/dist/components/motion/loader.d.ts.map +1 -1
  278. package/dist/components/motion/loader.js +1 -1
  279. package/dist/components/motion/loader.js.map +1 -1
  280. package/dist/components/motion/magnetic.d.ts +2 -3
  281. package/dist/components/motion/magnetic.d.ts.map +1 -1
  282. package/dist/components/motion/magnetic.js +1 -1
  283. package/dist/components/motion/magnetic.js.map +1 -1
  284. package/dist/components/motion/marquee.d.ts +2 -3
  285. package/dist/components/motion/marquee.d.ts.map +1 -1
  286. package/dist/components/motion/marquee.js +1 -1
  287. package/dist/components/motion/marquee.js.map +1 -1
  288. package/dist/components/motion/morphing-modal.d.ts +2 -3
  289. package/dist/components/motion/morphing-modal.d.ts.map +1 -1
  290. package/dist/components/motion/morphing-modal.js +1 -1
  291. package/dist/components/motion/morphing-modal.js.map +1 -1
  292. package/dist/components/motion/morphing-search.d.ts +3 -4
  293. package/dist/components/motion/morphing-search.d.ts.map +1 -1
  294. package/dist/components/motion/morphing-search.js +1 -1
  295. package/dist/components/motion/morphing-search.js.map +1 -1
  296. package/dist/components/motion/morphing-tabs.d.ts +4 -5
  297. package/dist/components/motion/morphing-tabs.d.ts.map +1 -1
  298. package/dist/components/motion/morphing-tabs.js +1 -1
  299. package/dist/components/motion/morphing-tabs.js.map +1 -1
  300. package/dist/components/motion/multi-select/content.d.ts +2 -3
  301. package/dist/components/motion/multi-select/content.d.ts.map +1 -1
  302. package/dist/components/motion/multi-select/content.js +1 -1
  303. package/dist/components/motion/multi-select/content.js.map +1 -1
  304. package/dist/components/motion/multi-select/context.d.ts +9 -10
  305. package/dist/components/motion/multi-select/context.d.ts.map +1 -1
  306. package/dist/components/motion/multi-select/context.js +1 -1
  307. package/dist/components/motion/multi-select/context.js.map +1 -1
  308. package/dist/components/motion/multi-select/list.d.ts +12 -13
  309. package/dist/components/motion/multi-select/list.d.ts.map +1 -1
  310. package/dist/components/motion/multi-select/list.js +1 -1
  311. package/dist/components/motion/multi-select/list.js.map +1 -1
  312. package/dist/components/motion/multi-select/trigger.d.ts +6 -7
  313. package/dist/components/motion/multi-select/trigger.d.ts.map +1 -1
  314. package/dist/components/motion/multi-select/trigger.js +1 -1
  315. package/dist/components/motion/multi-select/trigger.js.map +1 -1
  316. package/dist/components/motion/not-found/glitch.d.ts +1 -2
  317. package/dist/components/motion/not-found/glitch.d.ts.map +1 -1
  318. package/dist/components/motion/not-found/magnetic.d.ts +1 -2
  319. package/dist/components/motion/not-found/magnetic.d.ts.map +1 -1
  320. package/dist/components/motion/not-found/magnetic.js +1 -1
  321. package/dist/components/motion/not-found/magnetic.js.map +1 -1
  322. package/dist/components/motion/not-found/shared.d.ts +4 -5
  323. package/dist/components/motion/not-found/shared.d.ts.map +1 -1
  324. package/dist/components/motion/not-found/shared.js +1 -1
  325. package/dist/components/motion/not-found/shared.js.map +1 -1
  326. package/dist/components/motion/not-found/spotlight.d.ts +1 -2
  327. package/dist/components/motion/not-found/spotlight.d.ts.map +1 -1
  328. package/dist/components/motion/not-found/spotlight.js +1 -1
  329. package/dist/components/motion/not-found/spotlight.js.map +1 -1
  330. package/dist/components/motion/not-found/stacked.d.ts +1 -2
  331. package/dist/components/motion/not-found/stacked.d.ts.map +1 -1
  332. package/dist/components/motion/not-found/terminal.d.ts +1 -2
  333. package/dist/components/motion/not-found/terminal.d.ts.map +1 -1
  334. package/dist/components/motion/notification-stack.d.ts +4 -5
  335. package/dist/components/motion/notification-stack.d.ts.map +1 -1
  336. package/dist/components/motion/notification-stack.js +1 -1
  337. package/dist/components/motion/notification-stack.js.map +1 -1
  338. package/dist/components/motion/number-ticker.d.ts +2 -3
  339. package/dist/components/motion/number-ticker.d.ts.map +1 -1
  340. package/dist/components/motion/number-ticker.js +1 -1
  341. package/dist/components/motion/number-ticker.js.map +1 -1
  342. package/dist/components/motion/otp-input.d.ts +3 -4
  343. package/dist/components/motion/otp-input.d.ts.map +1 -1
  344. package/dist/components/motion/otp-input.js +1 -1
  345. package/dist/components/motion/otp-input.js.map +1 -1
  346. package/dist/components/motion/overflow-actions.d.ts +5 -6
  347. package/dist/components/motion/overflow-actions.d.ts.map +1 -1
  348. package/dist/components/motion/overflow-actions.js +1 -1
  349. package/dist/components/motion/overflow-actions.js.map +1 -1
  350. package/dist/components/motion/parallax.d.ts +2 -3
  351. package/dist/components/motion/parallax.d.ts.map +1 -1
  352. package/dist/components/motion/parallax.js +1 -1
  353. package/dist/components/motion/parallax.js.map +1 -1
  354. package/dist/components/motion/popover-morph.d.ts +6 -7
  355. package/dist/components/motion/popover-morph.d.ts.map +1 -1
  356. package/dist/components/motion/popover-morph.js +1 -1
  357. package/dist/components/motion/popover-morph.js.map +1 -1
  358. package/dist/components/motion/popover.d.ts +6 -7
  359. package/dist/components/motion/popover.d.ts.map +1 -1
  360. package/dist/components/motion/popover.js +1 -1
  361. package/dist/components/motion/popover.js.map +1 -1
  362. package/dist/components/motion/preview-rail.d.ts +3 -4
  363. package/dist/components/motion/preview-rail.d.ts.map +1 -1
  364. package/dist/components/motion/preview-rail.js +1 -1
  365. package/dist/components/motion/preview-rail.js.map +1 -1
  366. package/dist/components/motion/project-folder.d.ts +3 -4
  367. package/dist/components/motion/project-folder.d.ts.map +1 -1
  368. package/dist/components/motion/project-folder.js +1 -1
  369. package/dist/components/motion/project-folder.js.map +1 -1
  370. package/dist/components/motion/pull-to-refresh.d.ts +3 -4
  371. package/dist/components/motion/pull-to-refresh.d.ts.map +1 -1
  372. package/dist/components/motion/pull-to-refresh.js +1 -1
  373. package/dist/components/motion/pull-to-refresh.js.map +1 -1
  374. package/dist/components/motion/radio.d.ts +4 -5
  375. package/dist/components/motion/radio.d.ts.map +1 -1
  376. package/dist/components/motion/radio.js +1 -1
  377. package/dist/components/motion/radio.js.map +1 -1
  378. package/dist/components/motion/range-slider-bubble.d.ts +2 -3
  379. package/dist/components/motion/range-slider-bubble.d.ts.map +1 -1
  380. package/dist/components/motion/range-slider-bubble.js +1 -1
  381. package/dist/components/motion/range-slider-bubble.js.map +1 -1
  382. package/dist/components/motion/range-slider-fluid.d.ts +2 -3
  383. package/dist/components/motion/range-slider-fluid.d.ts.map +1 -1
  384. package/dist/components/motion/range-slider-fluid.js +1 -1
  385. package/dist/components/motion/range-slider-fluid.js.map +1 -1
  386. package/dist/components/motion/range-slider-ruler.d.ts +2 -3
  387. package/dist/components/motion/range-slider-ruler.d.ts.map +1 -1
  388. package/dist/components/motion/range-slider-ruler.js +1 -1
  389. package/dist/components/motion/range-slider-ruler.js.map +1 -1
  390. package/dist/components/motion/range-slider-wave.d.ts +2 -3
  391. package/dist/components/motion/range-slider-wave.d.ts.map +1 -1
  392. package/dist/components/motion/range-slider-wave.js +1 -1
  393. package/dist/components/motion/range-slider-wave.js.map +1 -1
  394. package/dist/components/motion/range-slider.d.ts +2 -3
  395. package/dist/components/motion/range-slider.d.ts.map +1 -1
  396. package/dist/components/motion/range-slider.js +1 -1
  397. package/dist/components/motion/range-slider.js.map +1 -1
  398. package/dist/components/motion/scroll-progress.d.ts +4 -5
  399. package/dist/components/motion/scroll-progress.d.ts.map +1 -1
  400. package/dist/components/motion/scroll-progress.js +1 -1
  401. package/dist/components/motion/scroll-progress.js.map +1 -1
  402. package/dist/components/motion/scroll-reveal.d.ts +2 -3
  403. package/dist/components/motion/scroll-reveal.d.ts.map +1 -1
  404. package/dist/components/motion/scroll-reveal.js +1 -1
  405. package/dist/components/motion/scroll-reveal.js.map +1 -1
  406. package/dist/components/motion/scroll-to.d.ts +2 -3
  407. package/dist/components/motion/scroll-to.d.ts.map +1 -1
  408. package/dist/components/motion/scroll-to.js +1 -1
  409. package/dist/components/motion/scroll-to.js.map +1 -1
  410. package/dist/components/motion/select-morph.d.ts +10 -11
  411. package/dist/components/motion/select-morph.d.ts.map +1 -1
  412. package/dist/components/motion/select-morph.js +1 -1
  413. package/dist/components/motion/select-morph.js.map +1 -1
  414. package/dist/components/motion/select.d.ts +10 -11
  415. package/dist/components/motion/select.d.ts.map +1 -1
  416. package/dist/components/motion/select.js +1 -1
  417. package/dist/components/motion/select.js.map +1 -1
  418. package/dist/components/motion/shader-background.d.ts +4 -5
  419. package/dist/components/motion/shader-background.d.ts.map +1 -1
  420. package/dist/components/motion/shader-background.js +1 -1
  421. package/dist/components/motion/shader-background.js.map +1 -1
  422. package/dist/components/motion/shared-layout-bg.d.ts +2 -3
  423. package/dist/components/motion/shared-layout-bg.d.ts.map +1 -1
  424. package/dist/components/motion/shared-layout-bg.js +1 -1
  425. package/dist/components/motion/shared-layout-bg.js.map +1 -1
  426. package/dist/components/motion/signup-form.d.ts +7 -8
  427. package/dist/components/motion/signup-form.d.ts.map +1 -1
  428. package/dist/components/motion/signup-form.js +1 -1
  429. package/dist/components/motion/signup-form.js.map +1 -1
  430. package/dist/components/motion/slide-action-button.d.ts +2 -3
  431. package/dist/components/motion/slide-action-button.d.ts.map +1 -1
  432. package/dist/components/motion/slide-action-button.js +1 -1
  433. package/dist/components/motion/slide-action-button.js.map +1 -1
  434. package/dist/components/motion/smooth-scroll.d.ts +6 -7
  435. package/dist/components/motion/smooth-scroll.d.ts.map +1 -1
  436. package/dist/components/motion/swipeable-list.d.ts +8 -9
  437. package/dist/components/motion/swipeable-list.d.ts.map +1 -1
  438. package/dist/components/motion/swipeable-list.js +1 -1
  439. package/dist/components/motion/swipeable-list.js.map +1 -1
  440. package/dist/components/motion/switch.d.ts +2 -3
  441. package/dist/components/motion/switch.d.ts.map +1 -1
  442. package/dist/components/motion/switch.js +1 -1
  443. package/dist/components/motion/switch.js.map +1 -1
  444. package/dist/components/motion/table/editable-cell.d.ts +1 -2
  445. package/dist/components/motion/table/editable-cell.d.ts.map +1 -1
  446. package/dist/components/motion/table/index.d.ts +2 -2
  447. package/dist/components/motion/table/index.d.ts.map +1 -1
  448. package/dist/components/motion/table/index.js +1 -1
  449. package/dist/components/motion/table/index.js.map +1 -1
  450. package/dist/components/motion/table/row-handle.d.ts +1 -2
  451. package/dist/components/motion/table/row-handle.d.ts.map +1 -1
  452. package/dist/components/motion/table/skeleton-rows.d.ts +1 -2
  453. package/dist/components/motion/table/skeleton-rows.d.ts.map +1 -1
  454. package/dist/components/motion/table/skeleton-rows.js +1 -1
  455. package/dist/components/motion/table/skeleton-rows.js.map +1 -1
  456. package/dist/components/motion/table/table-header.d.ts +2 -3
  457. package/dist/components/motion/table/table-header.d.ts.map +1 -1
  458. package/dist/components/motion/table/table-header.js +1 -1
  459. package/dist/components/motion/table/table-header.js.map +1 -1
  460. package/dist/components/motion/table/table-menu.d.ts +2 -3
  461. package/dist/components/motion/table/table-menu.d.ts.map +1 -1
  462. package/dist/components/motion/table/table-menu.js +1 -1
  463. package/dist/components/motion/table/table-menu.js.map +1 -1
  464. package/dist/components/motion/tabs.d.ts +4 -5
  465. package/dist/components/motion/tabs.d.ts.map +1 -1
  466. package/dist/components/motion/tabs.js +1 -1
  467. package/dist/components/motion/tabs.js.map +1 -1
  468. package/dist/components/motion/text-cascade.d.ts +2 -3
  469. package/dist/components/motion/text-cascade.d.ts.map +1 -1
  470. package/dist/components/motion/text-reveal.d.ts +2 -3
  471. package/dist/components/motion/text-reveal.d.ts.map +1 -1
  472. package/dist/components/motion/text-reveal.js +1 -1
  473. package/dist/components/motion/text-reveal.js.map +1 -1
  474. package/dist/components/motion/text-scramble.d.ts +2 -3
  475. package/dist/components/motion/text-scramble.d.ts.map +1 -1
  476. package/dist/components/motion/text-scramble.js +1 -1
  477. package/dist/components/motion/text-scramble.js.map +1 -1
  478. package/dist/components/motion/text-shimmer.d.ts +2 -3
  479. package/dist/components/motion/text-shimmer.d.ts.map +1 -1
  480. package/dist/components/motion/text-shimmer.js +1 -1
  481. package/dist/components/motion/text-shimmer.js.map +1 -1
  482. package/dist/components/motion/theme-toggle.d.ts +5 -6
  483. package/dist/components/motion/theme-toggle.d.ts.map +1 -1
  484. package/dist/components/motion/theme-toggle.js +1 -1
  485. package/dist/components/motion/theme-toggle.js.map +1 -1
  486. package/dist/components/motion/tilt-card.d.ts +2 -3
  487. package/dist/components/motion/tilt-card.d.ts.map +1 -1
  488. package/dist/components/motion/tilt-card.js +1 -1
  489. package/dist/components/motion/tilt-card.js.map +1 -1
  490. package/dist/components/motion/tooltip.d.ts +2 -3
  491. package/dist/components/motion/tooltip.d.ts.map +1 -1
  492. package/dist/components/motion/tooltip.js +1 -1
  493. package/dist/components/motion/tooltip.js.map +1 -1
  494. package/dist/components/motion/wheel-picker.d.ts +3 -4
  495. package/dist/components/motion/wheel-picker.d.ts.map +1 -1
  496. package/dist/components/motion/wheel-picker.js +1 -1
  497. package/dist/components/motion/wheel-picker.js.map +1 -1
  498. package/dist/components/reui/alert.d.ts.map +1 -1
  499. package/dist/components/reui/alert.js +1 -1
  500. package/dist/components/reui/alert.js.map +1 -1
  501. package/dist/components/reui/autocomplete.d.ts +2 -2
  502. package/dist/components/reui/autocomplete.d.ts.map +1 -1
  503. package/dist/components/reui/autocomplete.js +1 -1
  504. package/dist/components/reui/autocomplete.js.map +1 -1
  505. package/dist/components/reui/badge.d.ts +1 -1
  506. package/dist/components/reui/badge.d.ts.map +1 -1
  507. package/dist/components/reui/badge.js +1 -1
  508. package/dist/components/reui/badge.js.map +1 -1
  509. package/dist/components/reui/cascader/cascader-async.d.ts +8 -9
  510. package/dist/components/reui/cascader/cascader-async.d.ts.map +1 -1
  511. package/dist/components/reui/cascader/cascader-columns.d.ts +3 -3
  512. package/dist/components/reui/cascader/cascader-columns.d.ts.map +1 -1
  513. package/dist/components/reui/cascader/cascader-columns.js +1 -1
  514. package/dist/components/reui/cascader/cascader-columns.js.map +1 -1
  515. package/dist/components/reui/cascader/cascader-context.d.ts +13 -13
  516. package/dist/components/reui/cascader/cascader-context.d.ts.map +1 -1
  517. package/dist/components/reui/cascader/cascader-footer.d.ts +8 -8
  518. package/dist/components/reui/cascader/cascader-footer.d.ts.map +1 -1
  519. package/dist/components/reui/cascader/cascader-footer.js +1 -1
  520. package/dist/components/reui/cascader/cascader-footer.js.map +1 -1
  521. package/dist/components/reui/cascader/cascader-i18n.d.ts +3 -4
  522. package/dist/components/reui/cascader/cascader-i18n.d.ts.map +1 -1
  523. package/dist/components/reui/cascader/cascader-item.d.ts +9 -9
  524. package/dist/components/reui/cascader/cascader-item.d.ts.map +1 -1
  525. package/dist/components/reui/cascader/cascader-item.js +1 -1
  526. package/dist/components/reui/cascader/cascader-item.js.map +1 -1
  527. package/dist/components/reui/cascader/cascader-lib.d.ts +38 -39
  528. package/dist/components/reui/cascader/cascader-lib.d.ts.map +1 -1
  529. package/dist/components/reui/cascader/cascader-nav.d.ts +6 -6
  530. package/dist/components/reui/cascader/cascader-nav.d.ts.map +1 -1
  531. package/dist/components/reui/cascader/cascader-nav.js +1 -1
  532. package/dist/components/reui/cascader/cascader-nav.js.map +1 -1
  533. package/dist/components/reui/cascader/cascader-virtual.d.ts +6 -6
  534. package/dist/components/reui/cascader/cascader-virtual.d.ts.map +1 -1
  535. package/dist/components/reui/cascader/cascader.d.ts +19 -19
  536. package/dist/components/reui/cascader/cascader.d.ts.map +1 -1
  537. package/dist/components/reui/cascader/cascader.js +1 -1
  538. package/dist/components/reui/cascader/cascader.js.map +1 -1
  539. package/dist/components/reui/code-block/code-block-highlight.d.ts +32 -33
  540. package/dist/components/reui/code-block/code-block-highlight.d.ts.map +1 -1
  541. package/dist/components/reui/code-block/code-block.d.ts +7 -7
  542. package/dist/components/reui/code-block/code-block.d.ts.map +1 -1
  543. package/dist/components/reui/code-block/code-block.js +1 -1
  544. package/dist/components/reui/code-block/code-block.js.map +1 -1
  545. package/dist/components/reui/data-grid/data-grid-cell-selection.js +1 -1
  546. package/dist/components/reui/data-grid/data-grid-cell-selection.js.map +1 -1
  547. package/dist/components/reui/data-grid/data-grid-column-filter.js +1 -1
  548. package/dist/components/reui/data-grid/data-grid-column-filter.js.map +1 -1
  549. package/dist/components/reui/data-grid/data-grid-column-header.d.ts.map +1 -1
  550. package/dist/components/reui/data-grid/data-grid-column-header.js +9 -6
  551. package/dist/components/reui/data-grid/data-grid-column-header.js.map +1 -1
  552. package/dist/components/reui/data-grid/data-grid-i18n.d.ts +1 -1
  553. package/dist/components/reui/data-grid/data-grid-i18n.js.map +1 -1
  554. package/dist/components/reui/data-grid/data-grid-pagination.js +1 -1
  555. package/dist/components/reui/data-grid/data-grid-pagination.js.map +1 -1
  556. package/dist/components/reui/data-grid/data-grid-scroll-area.js +1 -1
  557. package/dist/components/reui/data-grid/data-grid-scroll-area.js.map +1 -1
  558. package/dist/components/reui/data-grid/data-grid-table-dnd-rows.js +1 -1
  559. package/dist/components/reui/data-grid/data-grid-table-dnd-rows.js.map +1 -1
  560. package/dist/components/reui/data-grid/data-grid-table-virtual.js +1 -1
  561. package/dist/components/reui/data-grid/data-grid-table-virtual.js.map +1 -1
  562. package/dist/components/reui/data-grid/data-grid-table.js +1 -1
  563. package/dist/components/reui/data-grid/data-grid-table.js.map +1 -1
  564. package/dist/components/reui/data-grid/data-grid.d.ts +28 -28
  565. package/dist/components/reui/data-grid/data-grid.d.ts.map +1 -1
  566. package/dist/components/reui/data-grid/data-grid.js +1 -1
  567. package/dist/components/reui/data-grid/data-grid.js.map +1 -1
  568. package/dist/components/reui/date-selector.d.ts +11 -12
  569. package/dist/components/reui/date-selector.d.ts.map +1 -1
  570. package/dist/components/reui/date-selector.js +1 -1
  571. package/dist/components/reui/date-selector.js.map +1 -1
  572. package/dist/components/reui/event-calendar/event-calendar-agenda-view.js +1 -1
  573. package/dist/components/reui/event-calendar/event-calendar-agenda-view.js.map +1 -1
  574. package/dist/components/reui/event-calendar/event-calendar-content.js +1 -1
  575. package/dist/components/reui/event-calendar/event-calendar-content.js.map +1 -1
  576. package/dist/components/reui/event-calendar/event-calendar-event.js +1 -1
  577. package/dist/components/reui/event-calendar/event-calendar-event.js.map +1 -1
  578. package/dist/components/reui/event-calendar/event-calendar-month-view.js +1 -1
  579. package/dist/components/reui/event-calendar/event-calendar-month-view.js.map +1 -1
  580. package/dist/components/reui/event-calendar/event-calendar-nav.js +1 -1
  581. package/dist/components/reui/event-calendar/event-calendar-nav.js.map +1 -1
  582. package/dist/components/reui/event-calendar/event-calendar-resource-view.js +1 -1
  583. package/dist/components/reui/event-calendar/event-calendar-resource-view.js.map +1 -1
  584. package/dist/components/reui/event-calendar/event-calendar-time-grid.js +1 -1
  585. package/dist/components/reui/event-calendar/event-calendar-time-grid.js.map +1 -1
  586. package/dist/components/reui/event-calendar/event-calendar.d.ts.map +1 -1
  587. package/dist/components/reui/event-calendar/event-calendar.js +1 -1
  588. package/dist/components/reui/event-calendar/event-calendar.js.map +1 -1
  589. package/dist/components/reui/filters/filters-advanced.d.ts +6 -7
  590. package/dist/components/reui/filters/filters-advanced.d.ts.map +1 -1
  591. package/dist/components/reui/filters/filters-advanced.js +1 -1
  592. package/dist/components/reui/filters/filters-advanced.js.map +1 -1
  593. package/dist/components/reui/filters/filters-builder.d.ts +5 -5
  594. package/dist/components/reui/filters/filters-builder.d.ts.map +1 -1
  595. package/dist/components/reui/filters/filters-builder.js +1 -1
  596. package/dist/components/reui/filters/filters-builder.js.map +1 -1
  597. package/dist/components/reui/filters/filters-chip.d.ts +10 -11
  598. package/dist/components/reui/filters/filters-chip.d.ts.map +1 -1
  599. package/dist/components/reui/filters/filters-chip.js +1 -1
  600. package/dist/components/reui/filters/filters-chip.js.map +1 -1
  601. package/dist/components/reui/filters/filters-context.d.ts +30 -30
  602. package/dist/components/reui/filters/filters-context.d.ts.map +1 -1
  603. package/dist/components/reui/filters/filters-date.d.ts +13 -14
  604. package/dist/components/reui/filters/filters-date.d.ts.map +1 -1
  605. package/dist/components/reui/filters/filters-dnd.d.ts +15 -16
  606. package/dist/components/reui/filters/filters-dnd.d.ts.map +1 -1
  607. package/dist/components/reui/filters/filters-editors.d.ts +14 -14
  608. package/dist/components/reui/filters/filters-editors.d.ts.map +1 -1
  609. package/dist/components/reui/filters/filters-editors.js +1 -1
  610. package/dist/components/reui/filters/filters-editors.js.map +1 -1
  611. package/dist/components/reui/filters/filters-i18n.d.ts +4 -5
  612. package/dist/components/reui/filters/filters-i18n.d.ts.map +1 -1
  613. package/dist/components/reui/filters/filters-lib.d.ts +34 -35
  614. package/dist/components/reui/filters/filters-lib.d.ts.map +1 -1
  615. package/dist/components/reui/filters/filters-operators.d.ts +13 -14
  616. package/dist/components/reui/filters/filters-operators.d.ts.map +1 -1
  617. package/dist/components/reui/filters/filters-query.d.ts +29 -30
  618. package/dist/components/reui/filters/filters-query.d.ts.map +1 -1
  619. package/dist/components/reui/filters/filters-types.d.ts +31 -32
  620. package/dist/components/reui/filters/filters-types.d.ts.map +1 -1
  621. package/dist/components/reui/filters/filters.d.ts +5 -5
  622. package/dist/components/reui/filters/filters.d.ts.map +1 -1
  623. package/dist/components/reui/filters/filters.js +1 -1
  624. package/dist/components/reui/filters/filters.js.map +1 -1
  625. package/dist/components/reui/frame.d.ts +1 -1
  626. package/dist/components/reui/frame.d.ts.map +1 -1
  627. package/dist/components/reui/frame.js +1 -1
  628. package/dist/components/reui/frame.js.map +1 -1
  629. package/dist/components/reui/gantt/gantt-bar.js +1 -1
  630. package/dist/components/reui/gantt/gantt-bar.js.map +1 -1
  631. package/dist/components/reui/gantt/gantt-nav.js +1 -1
  632. package/dist/components/reui/gantt/gantt-nav.js.map +1 -1
  633. package/dist/components/reui/gantt/gantt-view.js +1 -1
  634. package/dist/components/reui/gantt/gantt-view.js.map +1 -1
  635. package/dist/components/reui/gantt/gantt.d.ts.map +1 -1
  636. package/dist/components/reui/gantt/gantt.js +1 -1
  637. package/dist/components/reui/gantt/gantt.js.map +1 -1
  638. package/dist/components/reui/icon-stack.js +1 -1
  639. package/dist/components/reui/icon-stack.js.map +1 -1
  640. package/dist/components/reui/icon-tile.d.ts.map +1 -1
  641. package/dist/components/reui/icon-tile.js +1 -1
  642. package/dist/components/reui/icon-tile.js.map +1 -1
  643. package/dist/components/reui/kanban.d.ts +11 -11
  644. package/dist/components/reui/kanban.d.ts.map +1 -1
  645. package/dist/components/reui/kanban.js +1 -1
  646. package/dist/components/reui/kanban.js.map +1 -1
  647. package/dist/components/reui/number-field.js +1 -1
  648. package/dist/components/reui/number-field.js.map +1 -1
  649. package/dist/components/reui/phone-input.js +1 -1
  650. package/dist/components/reui/phone-input.js.map +1 -1
  651. package/dist/components/reui/rating.d.ts.map +1 -1
  652. package/dist/components/reui/rating.js +1 -1
  653. package/dist/components/reui/rating.js.map +1 -1
  654. package/dist/components/reui/scrollspy.d.ts +1 -2
  655. package/dist/components/reui/scrollspy.d.ts.map +1 -1
  656. package/dist/components/reui/sortable.d.ts +6 -6
  657. package/dist/components/reui/sortable.d.ts.map +1 -1
  658. package/dist/components/reui/sortable.js +1 -1
  659. package/dist/components/reui/sortable.js.map +1 -1
  660. package/dist/components/reui/stepper.d.ts.map +1 -1
  661. package/dist/components/reui/stepper.js +1 -1
  662. package/dist/components/reui/stepper.js.map +1 -1
  663. package/dist/components/reui/timeline.d.ts.map +1 -1
  664. package/dist/components/reui/timeline.js +1 -1
  665. package/dist/components/reui/timeline.js.map +1 -1
  666. package/dist/components/reui/tree.d.ts.map +1 -1
  667. package/dist/components/reui/tree.js +1 -1
  668. package/dist/components/reui/tree.js.map +1 -1
  669. package/dist/components/ui/accordion.d.ts.map +1 -1
  670. package/dist/components/ui/accordion.js +1 -1
  671. package/dist/components/ui/accordion.js.map +1 -1
  672. package/dist/components/ui/alert-dialog.js +1 -1
  673. package/dist/components/ui/alert-dialog.js.map +1 -1
  674. package/dist/components/ui/alert.d.ts.map +1 -1
  675. package/dist/components/ui/alert.js +1 -1
  676. package/dist/components/ui/alert.js.map +1 -1
  677. package/dist/components/ui/aspect-ratio.js +1 -1
  678. package/dist/components/ui/aspect-ratio.js.map +1 -1
  679. package/dist/components/ui/attachment.js +1 -1
  680. package/dist/components/ui/attachment.js.map +1 -1
  681. package/dist/components/ui/avatar.d.ts.map +1 -1
  682. package/dist/components/ui/avatar.js +1 -1
  683. package/dist/components/ui/avatar.js.map +1 -1
  684. package/dist/components/ui/badge.d.ts +1 -1
  685. package/dist/components/ui/badge.d.ts.map +1 -1
  686. package/dist/components/ui/badge.js +1 -1
  687. package/dist/components/ui/badge.js.map +1 -1
  688. package/dist/components/ui/breadcrumb.d.ts.map +1 -1
  689. package/dist/components/ui/breadcrumb.js +1 -1
  690. package/dist/components/ui/breadcrumb.js.map +1 -1
  691. package/dist/components/ui/bubble.d.ts +1 -1
  692. package/dist/components/ui/bubble.d.ts.map +1 -1
  693. package/dist/components/ui/bubble.js +1 -1
  694. package/dist/components/ui/bubble.js.map +1 -1
  695. package/dist/components/ui/button-group.js +1 -1
  696. package/dist/components/ui/button-group.js.map +1 -1
  697. package/dist/components/ui/button.d.ts +1 -1
  698. package/dist/components/ui/button.d.ts.map +1 -1
  699. package/dist/components/ui/button.js +1 -1
  700. package/dist/components/ui/button.js.map +1 -1
  701. package/dist/components/ui/calendar.js +1 -1
  702. package/dist/components/ui/calendar.js.map +1 -1
  703. package/dist/components/ui/card.d.ts.map +1 -1
  704. package/dist/components/ui/card.js +1 -1
  705. package/dist/components/ui/card.js.map +1 -1
  706. package/dist/components/ui/carousel.js +1 -1
  707. package/dist/components/ui/carousel.js.map +1 -1
  708. package/dist/components/ui/chart.d.ts +2 -2
  709. package/dist/components/ui/chart.d.ts.map +1 -1
  710. package/dist/components/ui/chart.js +1 -1
  711. package/dist/components/ui/chart.js.map +1 -1
  712. package/dist/components/ui/checkbox.d.ts.map +1 -1
  713. package/dist/components/ui/checkbox.js +2 -2
  714. package/dist/components/ui/checkbox.js.map +1 -1
  715. package/dist/components/ui/combobox.js +1 -1
  716. package/dist/components/ui/combobox.js.map +1 -1
  717. package/dist/components/ui/command.js +1 -1
  718. package/dist/components/ui/command.js.map +1 -1
  719. package/dist/components/ui/context-menu.d.ts.map +1 -1
  720. package/dist/components/ui/context-menu.js +1 -1
  721. package/dist/components/ui/context-menu.js.map +1 -1
  722. package/dist/components/ui/dialog.js +1 -1
  723. package/dist/components/ui/dialog.js.map +1 -1
  724. package/dist/components/ui/drawer.d.ts.map +1 -1
  725. package/dist/components/ui/drawer.js +1 -1
  726. package/dist/components/ui/drawer.js.map +1 -1
  727. package/dist/components/ui/dropdown-menu.d.ts.map +1 -1
  728. package/dist/components/ui/dropdown-menu.js +1 -1
  729. package/dist/components/ui/dropdown-menu.js.map +1 -1
  730. package/dist/components/ui/empty.d.ts.map +1 -1
  731. package/dist/components/ui/empty.js +1 -1
  732. package/dist/components/ui/empty.js.map +1 -1
  733. package/dist/components/ui/field.js +2 -2
  734. package/dist/components/ui/field.js.map +1 -1
  735. package/dist/components/ui/hover-card.d.ts.map +1 -1
  736. package/dist/components/ui/hover-card.js +1 -1
  737. package/dist/components/ui/hover-card.js.map +1 -1
  738. package/dist/components/ui/input-group.js +1 -1
  739. package/dist/components/ui/input-group.js.map +1 -1
  740. package/dist/components/ui/input-otp.d.ts.map +1 -1
  741. package/dist/components/ui/input-otp.js +1 -1
  742. package/dist/components/ui/input-otp.js.map +1 -1
  743. package/dist/components/ui/input.d.ts.map +1 -1
  744. package/dist/components/ui/input.js +1 -1
  745. package/dist/components/ui/input.js.map +1 -1
  746. package/dist/components/ui/item.d.ts +2 -2
  747. package/dist/components/ui/item.js +1 -1
  748. package/dist/components/ui/item.js.map +1 -1
  749. package/dist/components/ui/kbd.js +1 -1
  750. package/dist/components/ui/kbd.js.map +1 -1
  751. package/dist/components/ui/label.d.ts.map +1 -1
  752. package/dist/components/ui/label.js +1 -1
  753. package/dist/components/ui/label.js.map +1 -1
  754. package/dist/components/ui/marker.d.ts +1 -1
  755. package/dist/components/ui/marker.d.ts.map +1 -1
  756. package/dist/components/ui/marker.js +1 -1
  757. package/dist/components/ui/marker.js.map +1 -1
  758. package/dist/components/ui/menubar.js +1 -1
  759. package/dist/components/ui/menubar.js.map +1 -1
  760. package/dist/components/ui/message-scroller.js +1 -1
  761. package/dist/components/ui/message-scroller.js.map +1 -1
  762. package/dist/components/ui/message.d.ts.map +1 -1
  763. package/dist/components/ui/message.js +1 -1
  764. package/dist/components/ui/message.js.map +1 -1
  765. package/dist/components/ui/native-select.d.ts.map +1 -1
  766. package/dist/components/ui/native-select.js +1 -1
  767. package/dist/components/ui/native-select.js.map +1 -1
  768. package/dist/components/ui/navigation-menu.d.ts.map +1 -1
  769. package/dist/components/ui/navigation-menu.js +1 -1
  770. package/dist/components/ui/navigation-menu.js.map +1 -1
  771. package/dist/components/ui/pagination.js +1 -1
  772. package/dist/components/ui/pagination.js.map +1 -1
  773. package/dist/components/ui/popover.d.ts.map +1 -1
  774. package/dist/components/ui/popover.js +1 -1
  775. package/dist/components/ui/popover.js.map +1 -1
  776. package/dist/components/ui/progress.d.ts.map +1 -1
  777. package/dist/components/ui/progress.js +1 -1
  778. package/dist/components/ui/progress.js.map +1 -1
  779. package/dist/components/ui/questionnaire.js +3 -3
  780. package/dist/components/ui/questionnaire.js.map +1 -1
  781. package/dist/components/ui/radio-group.d.ts.map +1 -1
  782. package/dist/components/ui/radio-group.js +2 -2
  783. package/dist/components/ui/radio-group.js.map +1 -1
  784. package/dist/components/ui/resizable.d.ts.map +1 -1
  785. package/dist/components/ui/resizable.js +1 -1
  786. package/dist/components/ui/resizable.js.map +1 -1
  787. package/dist/components/ui/scroll-area.d.ts.map +1 -1
  788. package/dist/components/ui/scroll-area.js +1 -1
  789. package/dist/components/ui/scroll-area.js.map +1 -1
  790. package/dist/components/ui/select.d.ts.map +1 -1
  791. package/dist/components/ui/select.js +1 -1
  792. package/dist/components/ui/select.js.map +1 -1
  793. package/dist/components/ui/separator.d.ts.map +1 -1
  794. package/dist/components/ui/separator.js +1 -1
  795. package/dist/components/ui/separator.js.map +1 -1
  796. package/dist/components/ui/sheet.js +1 -1
  797. package/dist/components/ui/sheet.js.map +1 -1
  798. package/dist/components/ui/sidebar.d.ts +1 -1
  799. package/dist/components/ui/sidebar.js +1 -1
  800. package/dist/components/ui/sidebar.js.map +1 -1
  801. package/dist/components/ui/skeleton.js +1 -1
  802. package/dist/components/ui/skeleton.js.map +1 -1
  803. package/dist/components/ui/slider.d.ts.map +1 -1
  804. package/dist/components/ui/slider.js +1 -1
  805. package/dist/components/ui/slider.js.map +1 -1
  806. package/dist/components/ui/spinner.d.ts.map +1 -1
  807. package/dist/components/ui/spinner.js +1 -1
  808. package/dist/components/ui/spinner.js.map +1 -1
  809. package/dist/components/ui/switch.d.ts.map +1 -1
  810. package/dist/components/ui/switch.js +2 -2
  811. package/dist/components/ui/switch.js.map +1 -1
  812. package/dist/components/ui/table.d.ts.map +1 -1
  813. package/dist/components/ui/table.js +1 -1
  814. package/dist/components/ui/table.js.map +1 -1
  815. package/dist/components/ui/tabs.d.ts +1 -1
  816. package/dist/components/ui/tabs.d.ts.map +1 -1
  817. package/dist/components/ui/tabs.js +1 -1
  818. package/dist/components/ui/tabs.js.map +1 -1
  819. package/dist/components/ui/textarea.d.ts.map +1 -1
  820. package/dist/components/ui/textarea.js +1 -1
  821. package/dist/components/ui/textarea.js.map +1 -1
  822. package/dist/components/ui/toast.js +2 -2
  823. package/dist/components/ui/toast.js.map +1 -1
  824. package/dist/components/ui/toggle-group.js +1 -1
  825. package/dist/components/ui/toggle-group.js.map +1 -1
  826. package/dist/components/ui/toggle.d.ts +1 -1
  827. package/dist/components/ui/toggle.d.ts.map +1 -1
  828. package/dist/components/ui/toggle.js +1 -1
  829. package/dist/components/ui/toggle.js.map +1 -1
  830. package/dist/components/ui/tooltip.d.ts.map +1 -1
  831. package/dist/components/ui/tooltip.js +1 -1
  832. package/dist/components/ui/tooltip.js.map +1 -1
  833. package/dist/{data-grid-i18n-52UUYPbr.d.ts → data-grid-i18n-TQR2PZlU.d.ts} +1 -13
  834. package/dist/data-grid-i18n-TQR2PZlU.d.ts.map +1 -0
  835. package/dist/hooks/use-body-classes.d.ts +1 -2
  836. package/dist/hooks/use-body-classes.d.ts.map +1 -1
  837. package/dist/hooks/use-copy-to-clipboard.d.ts +1 -2
  838. package/dist/hooks/use-copy-to-clipboard.d.ts.map +1 -1
  839. package/dist/hooks/use-dismiss.d.ts +3 -4
  840. package/dist/hooks/use-dismiss.d.ts.map +1 -1
  841. package/dist/hooks/use-favicon.d.ts +1 -2
  842. package/dist/hooks/use-favicon.d.ts.map +1 -1
  843. package/dist/hooks/use-file-upload.d.ts +7 -8
  844. package/dist/hooks/use-file-upload.d.ts.map +1 -1
  845. package/dist/hooks/use-hover-capable.d.ts +1 -2
  846. package/dist/hooks/use-hover-capable.d.ts.map +1 -1
  847. package/dist/hooks/use-hover-gesture.d.ts +2 -3
  848. package/dist/hooks/use-hover-gesture.d.ts.map +1 -1
  849. package/dist/hooks/use-hydrated.d.ts +1 -2
  850. package/dist/hooks/use-hydrated.d.ts.map +1 -1
  851. package/dist/hooks/use-intersection-observer.d.ts +1 -2
  852. package/dist/hooks/use-intersection-observer.d.ts.map +1 -1
  853. package/dist/hooks/use-is-mac.d.ts +1 -2
  854. package/dist/hooks/use-is-mac.d.ts.map +1 -1
  855. package/dist/hooks/use-media-query.d.ts +1 -2
  856. package/dist/hooks/use-media-query.d.ts.map +1 -1
  857. package/dist/hooks/use-meta-color.d.ts +1 -2
  858. package/dist/hooks/use-meta-color.d.ts.map +1 -1
  859. package/dist/hooks/use-mobile.d.ts +1 -2
  860. package/dist/hooks/use-mobile.d.ts.map +1 -1
  861. package/dist/hooks/use-mutation-observer.d.ts +1 -2
  862. package/dist/hooks/use-mutation-observer.d.ts.map +1 -1
  863. package/dist/hooks/use-on-open.d.ts +1 -2
  864. package/dist/hooks/use-on-open.d.ts.map +1 -1
  865. package/dist/hooks/use-row-cursor.d.ts +1 -2
  866. package/dist/hooks/use-row-cursor.d.ts.map +1 -1
  867. package/dist/hooks/use-scroll-position.d.ts +1 -2
  868. package/dist/hooks/use-scroll-position.d.ts.map +1 -1
  869. package/dist/hooks/use-slider-input.d.ts +1 -2
  870. package/dist/hooks/use-slider-input.d.ts.map +1 -1
  871. package/dist/hooks/use-slider.d.ts +3 -4
  872. package/dist/hooks/use-slider.d.ts.map +1 -1
  873. package/dist/hooks/use-tap-gesture.d.ts +3 -4
  874. package/dist/hooks/use-tap-gesture.d.ts.map +1 -1
  875. package/dist/hooks/use-touch-capable.d.ts +1 -2
  876. package/dist/hooks/use-touch-capable.d.ts.map +1 -1
  877. package/dist/hooks/use-viewport.d.ts +1 -2
  878. package/dist/hooks/use-viewport.d.ts.map +1 -1
  879. package/dist/lib/ease.d.ts +10 -11
  880. package/dist/lib/ease.d.ts.map +1 -1
  881. package/dist/lib/favicon.d.ts +1 -2
  882. package/dist/lib/favicon.d.ts.map +1 -1
  883. package/dist/lib/text-shimmer.d.ts +3 -4
  884. package/dist/lib/text-shimmer.d.ts.map +1 -1
  885. package/dist/lib/tick-sound.d.ts +1 -2
  886. package/dist/lib/tick-sound.d.ts.map +1 -1
  887. package/dist/lib/touch.d.ts +6 -7
  888. package/dist/lib/touch.d.ts.map +1 -1
  889. package/package.json +6 -4
  890. package/dist/data-grid-i18n-52UUYPbr.d.ts.map +0 -1
@@ -14,13 +14,13 @@ import { FilterField, FilterIndex, FilterOperator, FilterOption } from "./filter
14
14
  * floor is its content otherwise) and the label span carries `truncate`, see
15
15
  * `FILTER_MENU_LABEL_CLASS`.
16
16
  */
17
- declare const FILTER_MENU_CLASS = "w-max min-w-32 max-w-[min(24rem,calc(100vw-2rem))] [&_[data-slot=dropdown-menu-item]]:min-w-0";
17
+ export declare const FILTER_MENU_CLASS = "w-max min-w-32 max-w-[min(24rem,calc(100vw-2rem))] [&_[data-slot=dropdown-menu-item]]:min-w-0";
18
18
  /**
19
19
  * What a menu row's LABEL wears, and it has to be a real span: `text-overflow`
20
20
  * needs a block container, not the anonymous flex item a bare text child is.
21
21
  * `min-w-0` so the span can shrink below its own content.
22
22
  */
23
- declare const FILTER_MENU_LABEL_CLASS = "min-w-0 truncate";
23
+ export declare const FILTER_MENU_LABEL_CLASS = "min-w-0 truncate";
24
24
  /**
25
25
  * The FIELD PICKER's panel, shared by the Add filter popover and the advanced
26
26
  * row's attribute cell so one schema is never drawn at two widths. `w-auto`
@@ -29,13 +29,13 @@ declare const FILTER_MENU_LABEL_CLASS = "min-w-0 truncate";
29
29
  * Measured: 224px still clears the search input, the breadcrumb and a leaf
30
30
  * row's icon-plus-label.
31
31
  */
32
- declare const FILTER_FIELD_PICKER_CLASS = "w-auto min-w-56 p-0";
32
+ export declare const FILTER_FIELD_PICKER_CLASS = "w-auto min-w-56 p-0";
33
33
  /** Root key for `childrenOf`; a control char cannot collide with a field id. */
34
- declare const FILTER_ROOT_KEY = "\0root";
35
- declare function joinFilterPath(path: readonly string[]): string;
36
- declare function splitFilterPath(key: string): string[];
34
+ export declare const FILTER_ROOT_KEY = "\0root";
35
+ export declare function joinFilterPath(path: readonly string[]): string;
36
+ export declare function splitFilterPath(key: string): string[];
37
37
  /** The joined key of a path's parent, or `FILTER_ROOT_KEY` at the top level. */
38
- declare function parentFilterKey(path: readonly string[]): string;
38
+ export declare function parentFilterKey(path: readonly string[]): string;
39
39
  /**
40
40
  * A content hash of the schema, used to skip a rebuild. Identity alone is
41
41
  * useless: every block and example declares `fields` as an inline literal, so a
@@ -45,7 +45,7 @@ declare function parentFilterKey(path: readonly string[]): string;
45
45
  * previous field objects, so change a structural field or give `fields` a
46
46
  * stable identity.
47
47
  */
48
- declare function computeFilterSchemaSignature<V, O>(fields: readonly FilterField<V, O>[]): string;
48
+ export declare function computeFilterSchemaSignature<V, O>(fields: readonly FilterField<V, O>[]): string;
49
49
  /**
50
50
  * Normalizes a field schema into flat maps. When `previous`'s signature
51
51
  * matches, the PREVIOUS OBJECT is returned: an equal-but-new one would leave
@@ -53,20 +53,20 @@ declare function computeFilterSchemaSignature<V, O>(fields: readonly FilterField
53
53
  * ids are ignored after the first, as the cascader does for node values, and
54
54
  * `findFilterSchemaIssues` reports them in development.
55
55
  */
56
- declare function buildFilterIndex<V = unknown, O = unknown>(fields: readonly FilterField<V, O>[], previous?: FilterIndex<V, O> | null,
56
+ export declare function buildFilterIndex<V = unknown, O = unknown>(fields: readonly FilterField<V, O>[], previous?: FilterIndex<V, O> | null,
57
57
  /** A signature the caller already computed, to avoid walking twice. */
58
58
  precomputedSignature?: string): FilterIndex<V, O>;
59
- declare function getFilterField<V, O>(index: FilterIndex<V, O>, path: readonly string[]): FilterField<V, O> | undefined;
59
+ export declare function getFilterField<V, O>(index: FilterIndex<V, O>, path: readonly string[]): FilterField<V, O> | undefined;
60
60
  /** The ancestor chain for a path, root first and the field itself last. */
61
- declare function getFilterFieldChain<V, O>(index: FilterIndex<V, O>, path: readonly string[]): FilterField<V, O>[];
61
+ export declare function getFilterFieldChain<V, O>(index: FilterIndex<V, O>, path: readonly string[]): FilterField<V, O>[];
62
62
  /** Child fields of a path. Pass an empty path for the root level. */
63
- declare function getFilterChildren<V, O>(index: FilterIndex<V, O>, path: readonly string[]): FilterField<V, O>[];
64
- declare function isFilterBranch<V, O>(field: FilterField<V, O>): boolean;
63
+ export declare function getFilterChildren<V, O>(index: FilterIndex<V, O>, path: readonly string[]): FilterField<V, O>[];
64
+ export declare function isFilterBranch<V, O>(field: FilterField<V, O>): boolean;
65
65
  /**
66
66
  * Whether a field DECLARES itself filterable on: leaves always, a branch only
67
67
  * with `selectable`. The shipped pickers ignore it, see `isFilterFieldPickable`.
68
68
  */
69
- declare function isFilterFieldSelectable<V, O>(field: FilterField<V, O>): boolean;
69
+ export declare function isFilterFieldSelectable<V, O>(field: FilterField<V, O>): boolean;
70
70
  /**
71
71
  * Whether the SHIPPED pickers may commit a field: leaves only. A row that both
72
72
  * drills in and commits cannot disambiguate a click - its chevron and child
@@ -74,14 +74,14 @@ declare function isFilterFieldSelectable<V, O>(field: FilterField<V, O>): boolea
74
74
  * the parent and dismissed the picker. `selectable` stays honoured by
75
75
  * `isFilterFieldSelectable` for a chrome that separates the two.
76
76
  */
77
- declare function isFilterFieldPickable<V, O>(field: FilterField<V, O>): boolean;
77
+ export declare function isFilterFieldPickable<V, O>(field: FilterField<V, O>): boolean;
78
78
  /** Trailing count for a branch row. */
79
- declare function getFilterFieldCount<V, O>(field: FilterField<V, O>): number;
79
+ export declare function getFilterFieldCount<V, O>(field: FilterField<V, O>): number;
80
80
  /** Renders a path as "Name > First" using the caller's separator. */
81
- declare function formatFilterPath<V, O>(index: FilterIndex<V, O>, path: readonly string[], separator: string): string;
81
+ export declare function formatFilterPath<V, O>(index: FilterIndex<V, O>, path: readonly string[], separator: string): string;
82
82
  /** How a path is shortened; the cascader's own union, so the two cannot drift. */
83
- type FilterPathCollapse = CascaderCollapse;
84
- type FilterPathSegment<V = unknown, O = unknown> = {
83
+ export type FilterPathCollapse = CascaderCollapse;
84
+ export type FilterPathSegment<V = unknown, O = unknown> = {
85
85
  type: "field";
86
86
  field: FilterField<V, O>;
87
87
  } |
@@ -97,40 +97,40 @@ type FilterPathSegment<V = unknown, O = unknown> = {
97
97
  * unique only among its siblings, so the index is the only key that survives a
98
98
  * collapser keyed on `value`. Default `"none"`: no upgrade shortens a path.
99
99
  */
100
- declare function collapseFilterPath<V, O>(chain: readonly FilterField<V, O>[], options?: {
100
+ export declare function collapseFilterPath<V, O>(chain: readonly FilterField<V, O>[], options?: {
101
101
  maxSegments?: number;
102
102
  collapse?: FilterPathCollapse;
103
103
  }): FilterPathSegment<V, O>[];
104
- type FilterCombinatorSlot = "where" | "toggle" | "echo";
104
+ export type FilterCombinatorSlot = "where" | "toggle" | "echo";
105
105
  /**
106
106
  * Which of the three forms the combinator slot before rule `index` takes. A
107
107
  * group has exactly ONE combinator, so only one slot may be interactive: three
108
108
  * editable "and"s down a column would imply three independent choices.
109
109
  */
110
- declare function filterCombinatorSlot(index: number): FilterCombinatorSlot;
110
+ export declare function filterCombinatorSlot(index: number): FilterCombinatorSlot;
111
111
  /** `toLocaleLowerCase`, so Turkish dotted and dotless i fold as a reader expects. */
112
- declare function foldFilterText(text: string): string;
113
- declare function normalizeFilterQuery(query: string): string;
112
+ export declare function foldFilterText(text: string): string;
113
+ export declare function normalizeFilterQuery(query: string): string;
114
114
  /** Whether a field matches a normalized query, by label or keywords. */
115
- declare function matchesFilterQuery<V, O>(field: FilterField<V, O>, normalizedQuery: string): boolean;
115
+ export declare function matchesFilterQuery<V, O>(field: FilterField<V, O>, normalizedQuery: string): boolean;
116
116
  /**
117
117
  * Filters one level, preserving input order. Unused here like
118
118
  * `searchFilterDeep`: kept so a consumer's own picker need not re-implement the
119
119
  * fold and the keyword matching.
120
120
  */
121
- declare function filterFilterLevel<V, O>(fields: readonly FilterField<V, O>[], normalizedQuery: string): FilterField<V, O>[];
121
+ export declare function filterFilterLevel<V, O>(fields: readonly FilterField<V, O>[], normalizedQuery: string): FilterField<V, O>[];
122
122
  /**
123
123
  * Searches every SELECTABLE field at any depth, because a result the user
124
124
  * cannot pick is a dead end. Unused here - the shipped picker is the cascader
125
125
  * and delegates deep search to it - but it keeps a consumer's own picker from
126
126
  * re-implementing the fold, the keyword matching and the selectable rule.
127
127
  */
128
- declare function searchFilterDeep<V, O>(index: FilterIndex<V, O>, normalizedQuery: string, limit?: number): {
128
+ export declare function searchFilterDeep<V, O>(index: FilterIndex<V, O>, normalizedQuery: string, limit?: number): {
129
129
  field: FilterField<V, O>;
130
130
  path: string[];
131
131
  }[];
132
132
  /** Filters an option list by a normalized query, by label or keywords. */
133
- declare function filterFilterOptions<O>(options: readonly FilterOption<O>[], normalizedQuery: string): FilterOption<O>[];
133
+ export declare function filterFilterOptions<O>(options: readonly FilterOption<O>[], normalizedQuery: string): FilterOption<O>[];
134
134
  /**
135
135
  * The None rule, as pure algebra over two selections: pick the `exclusive`
136
136
  * option and it is the only pick, pick anything else and it goes. Written
@@ -144,18 +144,18 @@ declare function filterFilterOptions<O>(options: readonly FilterOption<O>[], nor
144
144
  * it heals on the first ordinary pick, and only while `isExclusive` can ANSWER:
145
145
  * a None row on a `loadOptions` field belongs in the static `options`.
146
146
  */
147
- declare function applyFilterExclusiveSelection(next: readonly string[], previous: readonly string[], isExclusive: (value: string) => boolean): string[];
147
+ export declare function applyFilterExclusiveSelection(next: readonly string[], previous: readonly string[], isExclusive: (value: string) => boolean): string[];
148
148
  /**
149
149
  * Builds a deterministic id generator. `Date.now()` and `Math.random()`, as the
150
150
  * old `createFilter` used, give the server and the client different ids for the
151
151
  * same query, so any page shipping default filters hydrated mismatched.
152
152
  */
153
- declare function createFilterIdFactory(seed: string): () => string;
153
+ export declare function createFilterIdFactory(seed: string): () => string;
154
154
  /** Warns once per key. Never throws, and is a no-op in production. */
155
- declare function warnFilterOnce(key: string, message: string): void;
155
+ export declare function warnFilterOnce(key: string, message: string): void;
156
156
  /** Clears the warn-once memory. For tests. */
157
- declare function resetFilterWarnings(): void;
158
- interface FilterSchemaIssues {
157
+ export declare function resetFilterWarnings(): void;
158
+ export interface FilterSchemaIssues {
159
159
  /** Ids that are empty, or that collide with a sibling. */
160
160
  duplicatePaths: string[];
161
161
  emptyIds: string[];
@@ -165,7 +165,6 @@ interface FilterSchemaIssues {
165
165
  unknownDefaultOperators: string[];
166
166
  }
167
167
  /** Reported, never thrown: a bad schema must degrade, not blank the page. */
168
- declare function findFilterSchemaIssues<V, O>(fields: readonly FilterField<V, O>[], resolveOperators: (field: FilterField<V, O>) => FilterOperator[]): FilterSchemaIssues;
168
+ export declare function findFilterSchemaIssues<V, O>(fields: readonly FilterField<V, O>[], resolveOperators: (field: FilterField<V, O>) => FilterOperator[]): FilterSchemaIssues;
169
169
  //#endregion
170
- export { FILTER_FIELD_PICKER_CLASS, FILTER_MENU_CLASS, FILTER_MENU_LABEL_CLASS, FILTER_ROOT_KEY, FilterCombinatorSlot, FilterPathCollapse, FilterPathSegment, FilterSchemaIssues, applyFilterExclusiveSelection, buildFilterIndex, collapseFilterPath, computeFilterSchemaSignature, createFilterIdFactory, filterCombinatorSlot, filterFilterLevel, filterFilterOptions, findFilterSchemaIssues, foldFilterText, formatFilterPath, getFilterChildren, getFilterField, getFilterFieldChain, getFilterFieldCount, isFilterBranch, isFilterFieldPickable, isFilterFieldSelectable, joinFilterPath, matchesFilterQuery, normalizeFilterQuery, parentFilterKey, resetFilterWarnings, searchFilterDeep, splitFilterPath, warnFilterOnce };
171
170
  //# sourceMappingURL=filters-lib.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"filters-lib.d.ts","names":[],"sources":["../../../../src/components/reui/filters/filters-lib.tsx"],"mappings":";;;;;;;;;;;;;;;;cAuBa;;;;;;cAQA;;;;;;;;;cAUA;;cAOA;iBAKG,eAAe;iBAIf,gBAAgB;;iBAKhB,gBAAgB;;;;;;;;;;iBAiBhB,6BAA6B,GAAG,GAAG,iBAAiB,YAAY,GAAG;;;;;;;;iBAyEnE,iBAAiB,aAAa,aAC5C,iBAAiB,YAAY,GAAG,MAChC,WAAW,YAAY,GAAG,WAE1B;;AAAA,gCACC,YAAY,GAAG;iBA0CF,eAAe,GAAG,GAChC,OAAO,YAAY,GAAG,IACtB,0BACC,YAAY,GAAG;;iBAKF,oBAAoB,GAAG,GACrC,OAAO,YAAY,GAAG,IACtB,0BACC,YAAY,GAAG;;iBAWF,kBAAkB,GAAG,GACnC,OAAO,YAAY,GAAG,IACtB,0BACC,YAAY,GAAG;iBAKF,eAAe,GAAG,GAAG,OAAO,YAAY,GAAG;;;;;iBAQ3C,wBAAwB,GAAG,GAAG,OAAO,YAAY,GAAG;;;;;;;;iBAYpD,sBAAsB,GAAG,GAAG,OAAO,YAAY,GAAG;;iBAMlD,oBAAoB,GAAG,GAAG,OAAO,YAAY,GAAG;;iBAKhD,iBAAiB,GAAG,GAClC,OAAO,YAAY,GAAG,IACtB,yBACA;;KAQU,qBAAqB;KAErB,kBAAkB,aAAa;EACrC;EAAe,OAAO,YAAY,GAAG;;;;EAErC;EAAkB,QAAQ,YAAY,GAAG;;;;;;;;;iBAS/B,mBAAmB,GAAG,GACpC,gBAAgB,YAAY,GAAG,MAC/B;EAAW;EAAsB,WAAW;IAC3C,kBAAkB,GAAG;KAmBZ;;;;;;iBAOI,qBAAqB,gBAAgB;;iBAUrC,eAAe;iBAIf,qBAAqB;;iBAKrB,mBAAmB,GAAG,GACpC,OAAO,YAAY,GAAG,IACtB;;;;;;iBAiBc,kBAAkB,GAAG,GACnC,iBAAiB,YAAY,GAAG,MAChC,0BACC,YAAY,GAAG;;;;;;;iBAWF,iBAAiB,GAAG,GAClC,OAAO,YAAY,GAAG,IACtB,yBACA;EACG,OAAO,YAAY,GAAG;EAAI;;;iBAYf,oBAAoB,GAClC,kBAAkB,aAAa,MAC/B,0BACC,aAAa;;;;;;;;;;;;;;iBA8BA,8BACd,yBACA,6BACA,cAAc;;;;;;iBA2BA,sBAAsB;;iBAetB,eAAe,aAAa;;iBAQ5B;UAIC;;EAEf;EACA;;EAEA;;EAEA;;;iBAIc,uBAAuB,GAAG,GACxC,iBAAiB,YAAY,GAAG,MAChC,mBAAmB,OAAO,YAAY,GAAG,OAAO,mBAC/C"}
1
+ {"version":3,"file":"filters-lib.d.ts","names":[],"sources":["../../../../src/components/reui/filters/filters-lib.tsx"],"mappings":";;;;;;;;;;;;;;;;qBAuBa;;;;;;qBAQA;;;;;;;;;qBAUA;;qBAOA;wBAKG,eAAe;wBAIf,gBAAgB;;wBAKhB,gBAAgB;;;;;;;;;;wBAiBhB,6BAA6B,GAAG,GAAG,iBAAiB,YAAY,GAAG;;;;;;;;wBAyEnE,iBAAiB,aAAa,aAC5C,iBAAiB,YAAY,GAAG,MAChC,WAAW,YAAY,GAAG,WAE1B;;AAAA,gCACC,YAAY,GAAG;wBA0CF,eAAe,GAAG,GAChC,OAAO,YAAY,GAAG,IACtB,0BACC,YAAY,GAAG;;wBAKF,oBAAoB,GAAG,GACrC,OAAO,YAAY,GAAG,IACtB,0BACC,YAAY,GAAG;;wBAWF,kBAAkB,GAAG,GACnC,OAAO,YAAY,GAAG,IACtB,0BACC,YAAY,GAAG;wBAKF,eAAe,GAAG,GAAG,OAAO,YAAY,GAAG;;;;;wBAQ3C,wBAAwB,GAAG,GAAG,OAAO,YAAY,GAAG;;;;;;;;wBAYpD,sBAAsB,GAAG,GAAG,OAAO,YAAY,GAAG;;wBAMlD,oBAAoB,GAAG,GAAG,OAAO,YAAY,GAAG;;wBAKhD,iBAAiB,GAAG,GAClC,OAAO,YAAY,GAAG,IACtB,yBACA;;YAQU,qBAAqB;YAErB,kBAAkB,aAAa;EACrC;EAAe,OAAO,YAAY,GAAG;;;;EAErC;EAAkB,QAAQ,YAAY,GAAG;;;;;;;;;wBAS/B,mBAAmB,GAAG,GACpC,gBAAgB,YAAY,GAAG,MAC/B;EAAW;EAAsB,WAAW;IAC3C,kBAAkB,GAAG;YAmBZ;;;;;;wBAOI,qBAAqB,gBAAgB;;wBAUrC,eAAe;wBAIf,qBAAqB;;wBAKrB,mBAAmB,GAAG,GACpC,OAAO,YAAY,GAAG,IACtB;;;;;;wBAiBc,kBAAkB,GAAG,GACnC,iBAAiB,YAAY,GAAG,MAChC,0BACC,YAAY,GAAG;;;;;;;wBAWF,iBAAiB,GAAG,GAClC,OAAO,YAAY,GAAG,IACtB,yBACA;EACG,OAAO,YAAY,GAAG;EAAI;;;wBAYf,oBAAoB,GAClC,kBAAkB,aAAa,MAC/B,0BACC,aAAa;;;;;;;;;;;;;;wBA8BA,8BACd,yBACA,6BACA,cAAc;;;;;;wBA2BA,sBAAsB;;wBAetB,eAAe,aAAa;;wBAQ5B;iBAIC;;EAEf;EACA;;EAEA;;EAEA;;;wBAIc,uBAAuB,GAAG,GACxC,iBAAiB,YAAY,GAAG,MAChC,mBAAmB,OAAO,YAAY,GAAG,OAAO,mBAC/C"}
@@ -4,38 +4,38 @@ import { FilterField, FilterOperator, FilterValueType } from "./filters-types.js
4
4
  * Every operator label, keyed by value. Split from `FilterLabels`: operator
5
5
  * wording is reworded per domain, chrome copy is translated once per app.
6
6
  */
7
- type FilterOperatorLabels = Record<string, string>;
8
- declare const DEFAULT_FILTER_OPERATOR_LABELS: FilterOperatorLabels;
9
- declare const DEFAULT_FILTER_VALUE_TYPE: FilterValueType;
7
+ export type FilterOperatorLabels = Record<string, string>;
8
+ export declare const DEFAULT_FILTER_OPERATOR_LABELS: FilterOperatorLabels;
9
+ export declare const DEFAULT_FILTER_VALUE_TYPE: FilterValueType;
10
10
  /**
11
11
  * Builds the operator catalog for one set of labels. Callers memoize on the
12
12
  * label object: the old primitive built its equivalent inside
13
13
  * `getOperatorsForField`, keyed on a `values` array that was fresh after every
14
14
  * filter update, so every miss reallocated four arrays of 27 objects each.
15
15
  */
16
- declare function createFilterOperators(labels: FilterOperatorLabels): Record<FilterValueType, FilterOperator[]>;
17
- declare const DEFAULT_FILTER_OPERATORS: Record<FilterValueType, FilterOperator[]>;
16
+ export declare function createFilterOperators(labels: FilterOperatorLabels): Record<FilterValueType, FilterOperator[]>;
17
+ export declare const DEFAULT_FILTER_OPERATORS: Record<FilterValueType, FilterOperator[]>;
18
18
  /**
19
19
  * The operators for a field: its own `operators` wins, array or function,
20
20
  * otherwise the catalog entry for its `type`. No implicit select to multiselect
21
21
  * promotion by selection count: that changed the list as the user picked.
22
22
  */
23
- declare function resolveFilterOperators<V, O>(field: FilterField<V, O>, catalog?: Record<FilterValueType, FilterOperator[]>): FilterOperator[];
24
- declare function visibleFilterOperators(operators: readonly FilterOperator[]): FilterOperator[];
25
- declare function getFilterOperator(operators: readonly FilterOperator[], value: string | null | undefined): FilterOperator | undefined;
26
- declare function getFilterArity(operator: FilterOperator | undefined): FilterOperator["arity"];
27
- declare function operatorTakesValue(operator: FilterOperator | undefined): boolean;
23
+ export declare function resolveFilterOperators<V, O>(field: FilterField<V, O>, catalog?: Record<FilterValueType, FilterOperator[]>): FilterOperator[];
24
+ export declare function visibleFilterOperators(operators: readonly FilterOperator[]): FilterOperator[];
25
+ export declare function getFilterOperator(operators: readonly FilterOperator[], value: string | null | undefined): FilterOperator | undefined;
26
+ export declare function getFilterArity(operator: FilterOperator | undefined): FilterOperator["arity"];
27
+ export declare function operatorTakesValue(operator: FilterOperator | undefined): boolean;
28
28
  /**
29
29
  * The operator a field starts with: `defaultOperator` when it names one the
30
30
  * field offers, otherwise the first visible operator. Falling back rather than
31
31
  * trusting the schema keeps the rule out of a state its own list cannot show.
32
32
  */
33
- declare function getDefaultFilterOperator<V, O>(field: FilterField<V, O>, operators: readonly FilterOperator[]): string | null;
33
+ export declare function getDefaultFilterOperator<V, O>(field: FilterField<V, O>, operators: readonly FilterOperator[]): string | null;
34
34
  /**
35
35
  * Negating a rule: swap to the declared `inverse` so the chip reads "does not
36
36
  * contain", else toggle `negated` so Negate still works without an inverse.
37
37
  */
38
- declare function negateFilterOperator(operator: FilterOperator | undefined, operators: readonly FilterOperator[], negated: boolean | undefined): {
38
+ export declare function negateFilterOperator(operator: FilterOperator | undefined, operators: readonly FilterOperator[], negated: boolean | undefined): {
39
39
  operator: string | null;
40
40
  negated: boolean;
41
41
  };
@@ -43,7 +43,6 @@ declare function negateFilterOperator(operator: FilterOperator | undefined, oper
43
43
  * Reshapes a value when arity changes: widening "is" to "is any of" keeps what
44
44
  * the user picked, narrowing keeps the first of them, `"none"` always drops it.
45
45
  */
46
- declare function coerceFilterValue(value: unknown, from: FilterOperator | undefined, to: FilterOperator | undefined): unknown;
46
+ export declare function coerceFilterValue(value: unknown, from: FilterOperator | undefined, to: FilterOperator | undefined): unknown;
47
47
  //#endregion
48
- export { DEFAULT_FILTER_OPERATORS, DEFAULT_FILTER_OPERATOR_LABELS, DEFAULT_FILTER_VALUE_TYPE, FilterOperatorLabels, coerceFilterValue, createFilterOperators, getDefaultFilterOperator, getFilterArity, getFilterOperator, negateFilterOperator, operatorTakesValue, resolveFilterOperators, visibleFilterOperators };
49
48
  //# sourceMappingURL=filters-operators.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"filters-operators.d.ts","names":[],"sources":["../../../../src/components/reui/filters/filters-operators.tsx"],"mappings":";;;;;;KAQY,uBAAuB;cAEtB,gCAAgC;cAyFhC,2BAA2B;;;;;;;iBAQxB,sBACd,QAAQ,uBACP,OAAO,iBAAiB;cAad,0BAA0B,OAAO,iBAAiB;;;;;;iBAQ/C,uBAAuB,GAAG,GACxC,OAAO,YAAY,GAAG,IACtB,UAAS,OAAO,iBAAiB,oBAChC;iBAMa,uBAAuB,oBAAoB,mBAAmB;iBAI9D,kBACd,oBAAoB,kBACpB,mCACC;iBAKa,eAAe,UAAU,6BAA6B;iBAItD,mBAAmB,UAAU;;;;;;iBAS7B,yBAAyB,GAAG,GAC1C,OAAO,YAAY,GAAG,IACtB,oBAAoB;;;;;iBAcN,qBACd,UAAU,4BACV,oBAAoB,kBACpB;EACG;EAAyB;;;;;;iBAYd,kBACd,gBACA,MAAM,4BACN,IAAI"}
1
+ {"version":3,"file":"filters-operators.d.ts","names":[],"sources":["../../../../src/components/reui/filters/filters-operators.tsx"],"mappings":";;;;;;YAQY,uBAAuB;qBAEtB,gCAAgC;qBAyFhC,2BAA2B;;;;;;;wBAQxB,sBACd,QAAQ,uBACP,OAAO,iBAAiB;qBAad,0BAA0B,OAAO,iBAAiB;;;;;;wBAQ/C,uBAAuB,GAAG,GACxC,OAAO,YAAY,GAAG,IACtB,UAAS,OAAO,iBAAiB,oBAChC;wBAMa,uBAAuB,oBAAoB,mBAAmB;wBAI9D,kBACd,oBAAoB,kBACpB,mCACC;wBAKa,eAAe,UAAU,6BAA6B;wBAItD,mBAAmB,UAAU;;;;;;wBAS7B,yBAAyB,GAAG,GAC1C,OAAO,YAAY,GAAG,IACtB,oBAAoB;;;;;wBAcN,qBACd,UAAU,4BACV,oBAAoB,kBACpB;EACG;EAAyB;;;;;;wBAYd,kBACd,gBACA,MAAM,4BACN,IAAI"}
@@ -1,32 +1,32 @@
1
1
  import { FilterCombinator, FilterGroupNode, FilterIssue, FilterNode, FilterOperator, FilterQuery, FilterRule } from "./filters-types.js";
2
2
  //#region src/components/reui/filters/filters-query.d.ts
3
- declare function isFilterRule<V>(node: FilterNode<V>): node is FilterRule<V>;
4
- declare function isFilterGroup<V>(node: FilterNode<V>): node is FilterGroupNode<V>;
3
+ export declare function isFilterRule<V>(node: FilterNode<V>): node is FilterRule<V>;
4
+ export declare function isFilterGroup<V>(node: FilterNode<V>): node is FilterGroupNode<V>;
5
5
  /**
6
6
  * A rule. `id` is passed in, never generated here: a non-deterministic value in
7
7
  * a pure function broke hydration. Callers use `createFilterIdFactory`.
8
8
  */
9
- declare function createFilterRule<V = unknown>(input: {
9
+ export declare function createFilterRule<V = unknown>(input: {
10
10
  id: string;
11
11
  path: string[];
12
12
  operator: string;
13
13
  value?: V;
14
14
  negated?: boolean;
15
15
  }): FilterRule<V>;
16
- declare function createFilterGroup<V = unknown>(input: {
16
+ export declare function createFilterGroup<V = unknown>(input: {
17
17
  id: string;
18
18
  combinator?: FilterCombinator;
19
19
  rules?: FilterNode<V>[];
20
20
  }): FilterGroupNode<V>;
21
21
  /** An empty query. The root is always a group, never a bare array. */
22
- declare function createFilterQuery<V = unknown>(rules?: FilterNode<V>[], combinator?: FilterCombinator, id?: string): FilterQuery<V>;
22
+ export declare function createFilterQuery<V = unknown>(rules?: FilterNode<V>[], combinator?: FilterCombinator, id?: string): FilterQuery<V>;
23
23
  /** Every rule in the tree, depth first. Groups are flattened away. */
24
- declare function flattenFilterRules<V>(query: FilterQuery<V>): FilterRule<V>[];
24
+ export declare function flattenFilterRules<V>(query: FilterQuery<V>): FilterRule<V>[];
25
25
  /**
26
26
  * One rule, flattened for a predicate. `values` is always an array even though
27
27
  * `FilterRule.value` is singular, so no caller re-derives arity.
28
28
  */
29
- interface FilterCondition {
29
+ export interface FilterCondition {
30
30
  /** Full field path, `["name", "first"]`. */
31
31
  path: string[];
32
32
  /** First path segment, for the common flat-schema case. */
@@ -42,24 +42,24 @@ interface FilterCondition {
42
42
  * it out, `countFilterRules` still counts it, and `collectFilterIssues` reports
43
43
  * it as `missing-operator`.
44
44
  */
45
- declare function isFilterRuleComplete<V>(rule: FilterRule<V>): boolean;
45
+ export declare function isFilterRuleComplete<V>(rule: FilterRule<V>): boolean;
46
46
  /**
47
47
  * Flattens a query to conditions. Lossy: safe only when the query is flat or
48
48
  * every group shares the root's combinator. Read `query.combinator` and walk
49
49
  * the tree yourself for anything else. Incomplete rules are left out.
50
50
  */
51
- declare function flattenFilterConditions<V>(query: FilterQuery<V>): FilterCondition[];
51
+ export declare function flattenFilterConditions<V>(query: FilterQuery<V>): FilterCondition[];
52
52
  /** How many rules the query holds, at any depth. */
53
- declare function countFilterRules<V>(query: FilterQuery<V>): number;
53
+ export declare function countFilterRules<V>(query: FilterQuery<V>): number;
54
54
  /** Whether the query would match everything. */
55
- declare function isFilterQueryEmpty<V>(query: FilterQuery<V>): boolean;
55
+ export declare function isFilterQueryEmpty<V>(query: FilterQuery<V>): boolean;
56
56
  /**
57
57
  * How an arity is answered for one rule. The caller resolves it, since arity
58
58
  * lives on the FIELD's operator list. `null` is a rule it cannot judge.
59
59
  */
60
- type FilterArityResolver<V> = (rule: FilterRule<V>) => FilterOperator["arity"] | null;
60
+ export type FilterArityResolver<V> = (rule: FilterRule<V>) => FilterOperator["arity"] | null;
61
61
  /** Runs a field's own `validate`. A resolver like `arityOf`: no schema here. */
62
- type FilterValidateResolver<V> = (rule: FilterRule<V>) => string | null | undefined | false;
62
+ export type FilterValidateResolver<V> = (rule: FilterRule<V>) => string | null | undefined | false;
63
63
  /**
64
64
  * Every reason a query cannot be run as written, in document order: the five
65
65
  * ways this builder can hold a condition that SILENTLY does the wrong thing.
@@ -72,61 +72,60 @@ type FilterValidateResolver<V> = (rule: FilterRule<V>) => string | null | undefi
72
72
  * ONE node is NOT an issue (it is what "Convert to group" produces), and the
73
73
  * root is exempt from `empty-group`.
74
74
  */
75
- declare function collectFilterIssues<V>(query: FilterQuery<V>, arityOf: FilterArityResolver<V>, validateOf?: FilterValidateResolver<V>): FilterIssue[];
75
+ export declare function collectFilterIssues<V>(query: FilterQuery<V>, arityOf: FilterArityResolver<V>, validateOf?: FilterValidateResolver<V>): FilterIssue[];
76
76
  /** Locates a node and its parent. Returns null when the id is unknown. */
77
- declare function findFilterNode<V>(query: FilterQuery<V>, id: string): {
77
+ export declare function findFilterNode<V>(query: FilterQuery<V>, id: string): {
78
78
  node: FilterNode<V>;
79
79
  parent: FilterGroupNode<V> | null;
80
80
  index: number;
81
81
  } | null;
82
82
  /** The rule with this id, or null when the id names a group or is unknown. */
83
- declare function findFilterRule<V>(query: FilterQuery<V>, id: string): FilterRule<V> | null;
83
+ export declare function findFilterRule<V>(query: FilterQuery<V>, id: string): FilterRule<V> | null;
84
84
  /** Replaces a rule's fields. Unknown ids return the query unchanged. */
85
- declare function updateFilterRule<V>(query: FilterQuery<V>, id: string, updates: Partial<Omit<FilterRule<V>, "id" | "type">>): FilterQuery<V>;
85
+ export declare function updateFilterRule<V>(query: FilterQuery<V>, id: string, updates: Partial<Omit<FilterRule<V>, "id" | "type">>): FilterQuery<V>;
86
86
  /**
87
87
  * Removes a node, plus any group it empties, all the way up (not the root): an
88
88
  * empty group is invisible in the flat UI yet still compiles to parentheses.
89
89
  */
90
- declare function removeFilterNode<V>(query: FilterQuery<V>, id: string): FilterQuery<V>;
90
+ export declare function removeFilterNode<V>(query: FilterQuery<V>, id: string): FilterQuery<V>;
91
91
  /** Appends a node to a group, defaulting to the root. */
92
- declare function insertFilterNode<V>(query: FilterQuery<V>, node: FilterNode<V>, parentId?: string, index?: number): FilterQuery<V>;
92
+ export declare function insertFilterNode<V>(query: FilterQuery<V>, node: FilterNode<V>, parentId?: string, index?: number): FilterQuery<V>;
93
93
  /** Copies a node in beside the original. */
94
- declare function duplicateFilterNode<V>(query: FilterQuery<V>, id: string, nextId: () => string): FilterQuery<V>;
95
- declare function setFilterCombinator<V>(query: FilterQuery<V>, groupId: string, combinator: FilterCombinator): FilterQuery<V>;
96
- declare function toggleFilterCombinator<V>(query: FilterQuery<V>, groupId: string): FilterQuery<V>;
94
+ export declare function duplicateFilterNode<V>(query: FilterQuery<V>, id: string, nextId: () => string): FilterQuery<V>;
95
+ export declare function setFilterCombinator<V>(query: FilterQuery<V>, groupId: string, combinator: FilterCombinator): FilterQuery<V>;
96
+ export declare function toggleFilterCombinator<V>(query: FilterQuery<V>, groupId: string): FilterQuery<V>;
97
97
  /** Moves a node within its own group. Out of range moves are no-ops. */
98
- declare function moveFilterNode<V>(query: FilterQuery<V>, id: string, delta: number): FilterQuery<V>;
98
+ export declare function moveFilterNode<V>(query: FilterQuery<V>, id: string, delta: number): FilterQuery<V>;
99
99
  /**
100
100
  * Moves a node into another group, at an index: the cross-parent form of
101
101
  * `moveFilterNode`, which only reorders within one parent. Refuses a group into
102
102
  * itself or a descendant, which would leave a cycle, and refuses the root.
103
103
  */
104
- declare function moveFilterNodeTo<V>(query: FilterQuery<V>, id: string, parentId: string, index: number): FilterQuery<V>;
104
+ export declare function moveFilterNodeTo<V>(query: FilterQuery<V>, id: string, parentId: string, index: number): FilterQuery<V>;
105
105
  /**
106
106
  * Copies a node into a group at a position: the Alt path of the drag layer. Not
107
107
  * `duplicateFilterNode` then `moveFilterNodeTo`, which emits two queries for one
108
108
  * gesture and needs the id the first step minted and never returned. The clone
109
109
  * is taken BEFORE the insert, so copying a group into itself stays finite.
110
110
  */
111
- declare function copyFilterNodeTo<V>(query: FilterQuery<V>, id: string, parentId: string, index: number, nextId: () => string): FilterQuery<V>;
111
+ export declare function copyFilterNodeTo<V>(query: FilterQuery<V>, id: string, parentId: string, index: number, nextId: () => string): FilterQuery<V>;
112
112
  /**
113
113
  * Wraps a node in a new group: the "Wrap in condition group" action, and the
114
114
  * keyboard path to nesting for a user who cannot drag.
115
115
  */
116
- declare function wrapFilterNodeInGroup<V>(query: FilterQuery<V>, id: string, groupId: string, combinator?: FilterCombinator): FilterQuery<V>;
116
+ export declare function wrapFilterNodeInGroup<V>(query: FilterQuery<V>, id: string, groupId: string, combinator?: FilterCombinator): FilterQuery<V>;
117
117
  /**
118
118
  * Dissolves a group into its parent, splicing its rules in at the position the
119
119
  * group held so wrap and unwrap round-trip. The root, a rule id and an unknown
120
120
  * id each return the query unchanged.
121
121
  */
122
- declare function unwrapFilterGroup<V>(query: FilterQuery<V>, groupId: string): FilterQuery<V>;
122
+ export declare function unwrapFilterGroup<V>(query: FilterQuery<V>, groupId: string): FilterQuery<V>;
123
123
  /** Empties the query, keeping the root's identity fields. */
124
- declare function clearFilterQuery<V>(query: FilterQuery<V>): FilterQuery<V>;
124
+ export declare function clearFilterQuery<V>(query: FilterQuery<V>): FilterQuery<V>;
125
125
  /**
126
126
  * Drops empty groups and collapses a group whose only child is a group. Not
127
127
  * automatic: a user mid-edit may hold an almost-empty group. Call on persist.
128
128
  */
129
- declare function pruneFilterQuery<V>(query: FilterQuery<V>): FilterQuery<V>;
129
+ export declare function pruneFilterQuery<V>(query: FilterQuery<V>): FilterQuery<V>;
130
130
  //#endregion
131
- export { FilterArityResolver, FilterCondition, FilterValidateResolver, clearFilterQuery, collectFilterIssues, copyFilterNodeTo, countFilterRules, createFilterGroup, createFilterQuery, createFilterRule, duplicateFilterNode, findFilterNode, findFilterRule, flattenFilterConditions, flattenFilterRules, insertFilterNode, isFilterGroup, isFilterQueryEmpty, isFilterRule, isFilterRuleComplete, moveFilterNode, moveFilterNodeTo, pruneFilterQuery, removeFilterNode, setFilterCombinator, toggleFilterCombinator, unwrapFilterGroup, updateFilterRule, wrapFilterNodeInGroup };
132
131
  //# sourceMappingURL=filters-query.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"filters-query.d.ts","names":[],"sources":["../../../../src/components/reui/filters/filters-query.tsx"],"mappings":";;iBAYgB,aAAa,GAAG,MAAM,WAAW,KAAK,QAAQ,WAAW;iBAIzD,cAAc,GAAG,MAAM,WAAW,KAAK,QAAQ,gBAAgB;;;;;iBAQ/D,iBAAiB,aAAa;EAC5C;EACA;EACA;EACA,QAAQ;EACR;IACE,WAAW;iBAYC,kBAAkB,aAAa;EAC7C;EACA,aAAa;EACb,QAAQ,WAAW;IACjB,gBAAgB;;iBAUJ,kBAAkB,aAChC,QAAO,WAAW,MAClB,aAAY,kBACZ,cACC,YAAY;;iBAKC,mBAAmB,GAAG,OAAO,YAAY,KAAK,WAAW;;;;;UAiBxD;;EAEf;;EAEA;EACA;;EAEA;EACA;;;;;;;;iBASc,qBAAqB,GAAG,MAAM,WAAW;;;;;;iBASzC,wBAAwB,GAAG,OAAO,YAAY,KAAK;;iBAkBnD,iBAAiB,GAAG,OAAO,YAAY;;iBAcvC,mBAAmB,GAAG,OAAO,YAAY;;;;;KAQ7C,oBAAoB,MAAM,MAAM,WAAW,OAAO;;KAGlD,uBAAuB,MAAM,MAAM,WAAW;;;;;;;;;;;;;iBAyC1C,oBAAoB,GAClC,OAAO,YAAY,IACnB,SAAS,oBAAoB,IAC7B,aAAa,uBAAuB,KACnC;;iBA0Fa,eAAe,GAC7B,OAAO,YAAY,IACnB;EAEA,MAAM,WAAW;EACjB,QAAQ,gBAAgB;EACxB;;;iBA0Bc,eAAe,GAAG,OAAO,YAAY,IAAI,aAAa,WAAW;;iBAgCjE,iBAAiB,GAC/B,OAAO,YAAY,IACnB,YACA,SAAS,QAAQ,KAAK,WAAW,sBAChC,YAAY;;;;;iBAiBC,iBAAiB,GAAG,OAAO,YAAY,IAAI,aAAa,YAAY;;iBA2BpE,iBAAiB,GAC/B,OAAO,YAAY,IACnB,MAAM,WAAW,IACjB,mBACA,iBACC,YAAY;;iBA6BC,oBAAoB,GAClC,OAAO,YAAY,IACnB,YACA,uBACC,YAAY;iBAYC,oBAAoB,GAClC,OAAO,YAAY,IACnB,iBACA,YAAY,mBACX,YAAY;iBAQC,uBAAuB,GAAG,OAAO,YAAY,IAAI,kBAAkB,YAAY;;iBAO/E,eAAe,GAC7B,OAAO,YAAY,IACnB,YACA,gBACC,YAAY;;;;;;iBAyDC,iBAAiB,GAC/B,OAAO,YAAY,IACnB,YACA,kBACA,gBACC,YAAY;;;;;;;iBAuBC,iBAAiB,GAC/B,OAAO,YAAY,IACnB,YACA,kBACA,eACA,uBACC,YAAY;;;;;iBAcC,sBAAsB,GACpC,OAAO,YAAY,IACnB,YACA,iBACA,aAAY,mBACX,YAAY;;;;;;iBAqBC,kBAAkB,GAAG,OAAO,YAAY,IAAI,kBAAkB,YAAY;;iBAkB1E,iBAAiB,GAAG,OAAO,YAAY,KAAK,YAAY;;;;;iBAQxD,iBAAiB,GAAG,OAAO,YAAY,KAAK,YAAY"}
1
+ {"version":3,"file":"filters-query.d.ts","names":[],"sources":["../../../../src/components/reui/filters/filters-query.tsx"],"mappings":";;wBAYgB,aAAa,GAAG,MAAM,WAAW,KAAK,QAAQ,WAAW;wBAIzD,cAAc,GAAG,MAAM,WAAW,KAAK,QAAQ,gBAAgB;;;;;wBAQ/D,iBAAiB,aAAa;EAC5C;EACA;EACA;EACA,QAAQ;EACR;IACE,WAAW;wBAYC,kBAAkB,aAAa;EAC7C;EACA,aAAa;EACb,QAAQ,WAAW;IACjB,gBAAgB;;wBAUJ,kBAAkB,aAChC,QAAO,WAAW,MAClB,aAAY,kBACZ,cACC,YAAY;;wBAKC,mBAAmB,GAAG,OAAO,YAAY,KAAK,WAAW;;;;;iBAiBxD;;EAEf;;EAEA;EACA;;EAEA;EACA;;;;;;;;wBASc,qBAAqB,GAAG,MAAM,WAAW;;;;;;wBASzC,wBAAwB,GAAG,OAAO,YAAY,KAAK;;wBAkBnD,iBAAiB,GAAG,OAAO,YAAY;;wBAcvC,mBAAmB,GAAG,OAAO,YAAY;;;;;YAQ7C,oBAAoB,MAAM,MAAM,WAAW,OAAO;;YAGlD,uBAAuB,MAAM,MAAM,WAAW;;;;;;;;;;;;;wBAyC1C,oBAAoB,GAClC,OAAO,YAAY,IACnB,SAAS,oBAAoB,IAC7B,aAAa,uBAAuB,KACnC;;wBA0Fa,eAAe,GAC7B,OAAO,YAAY,IACnB;EAEA,MAAM,WAAW;EACjB,QAAQ,gBAAgB;EACxB;;;wBA0Bc,eAAe,GAAG,OAAO,YAAY,IAAI,aAAa,WAAW;;wBAgCjE,iBAAiB,GAC/B,OAAO,YAAY,IACnB,YACA,SAAS,QAAQ,KAAK,WAAW,sBAChC,YAAY;;;;;wBAiBC,iBAAiB,GAAG,OAAO,YAAY,IAAI,aAAa,YAAY;;wBA2BpE,iBAAiB,GAC/B,OAAO,YAAY,IACnB,MAAM,WAAW,IACjB,mBACA,iBACC,YAAY;;wBA6BC,oBAAoB,GAClC,OAAO,YAAY,IACnB,YACA,uBACC,YAAY;wBAYC,oBAAoB,GAClC,OAAO,YAAY,IACnB,iBACA,YAAY,mBACX,YAAY;wBAQC,uBAAuB,GAAG,OAAO,YAAY,IAAI,kBAAkB,YAAY;;wBAO/E,eAAe,GAC7B,OAAO,YAAY,IACnB,YACA,gBACC,YAAY;;;;;;wBAyDC,iBAAiB,GAC/B,OAAO,YAAY,IACnB,YACA,kBACA,gBACC,YAAY;;;;;;;wBAuBC,iBAAiB,GAC/B,OAAO,YAAY,IACnB,YACA,kBACA,eACA,uBACC,YAAY;;;;;wBAcC,sBAAsB,GACpC,OAAO,YAAY,IACnB,YACA,iBACA,aAAY,mBACX,YAAY;;;;;;wBAqBC,kBAAkB,GAAG,OAAO,YAAY,IAAI,kBAAkB,YAAY;;wBAkB1E,iBAAiB,GAAG,OAAO,YAAY,KAAK,YAAY;;;;;wBAQxD,iBAAiB,GAAG,OAAO,YAAY,KAAK,YAAY"}
@@ -1,13 +1,13 @@
1
1
  import * as React$1 from "react";
2
2
  //#region src/components/reui/filters/filters-types.d.ts
3
- type FilterCombinator = "and" | "or";
3
+ export type FilterCombinator = "and" | "or";
4
4
  /**
5
5
  * One condition. `path` maps one to one onto the cascader's `details.path`, so
6
6
  * a field selection commits untranslated. `value` is SINGULAR and the
7
7
  * operator's `arity` decides its shape: `"many"` holds an array, `"range"` a
8
8
  * tuple, `"none"` undefined.
9
9
  */
10
- interface FilterRule<V = unknown> {
10
+ export interface FilterRule<V = unknown> {
11
11
  id: string;
12
12
  type: "rule";
13
13
  /** Field path, root first. `["name", "first"]` for a nested attribute. */
@@ -18,18 +18,18 @@ interface FilterRule<V = unknown> {
18
18
  negated?: boolean;
19
19
  }
20
20
  /** Rules under one combinator; nests, so nesting is never a later break. */
21
- interface FilterGroupNode<V = unknown> {
21
+ export interface FilterGroupNode<V = unknown> {
22
22
  id: string;
23
23
  type: "group";
24
24
  combinator: FilterCombinator;
25
25
  rules: FilterNode<V>[];
26
26
  }
27
- type FilterNode<V = unknown> = FilterRule<V> | FilterGroupNode<V>;
27
+ export type FilterNode<V = unknown> = FilterRule<V> | FilterGroupNode<V>;
28
28
  /** A whole query. Always a group, so flat and nested are one code path. */
29
- type FilterQuery<V = unknown> = FilterGroupNode<V>;
30
- type FilterChangeReason = "add" | "update" | "remove" | "duplicate" | "negate" | "reorder" | "combinator" | "clear";
29
+ export type FilterQuery<V = unknown> = FilterGroupNode<V>;
30
+ export type FilterChangeReason = "add" | "update" | "remove" | "duplicate" | "negate" | "reorder" | "combinator" | "clear";
31
31
  /** Second argument to `onQueryChange`, so nobody has to diff two trees. */
32
- interface FilterChangeDetails<V = unknown, O = unknown> {
32
+ export interface FilterChangeDetails<V = unknown, O = unknown> {
33
33
  reason: FilterChangeReason;
34
34
  /** The rule that changed, or null for whole-query changes like `clear`. */
35
35
  rule: FilterRule<V> | null;
@@ -41,8 +41,8 @@ interface FilterChangeDetails<V = unknown, O = unknown> {
41
41
  * for every operator, a consumer's own included, in place of the hardcoded
42
42
  * `operator === "empty"` checks it replaced.
43
43
  */
44
- type FilterOperatorArity = "none" | "one" | "many" | "range";
45
- interface FilterOperator {
44
+ export type FilterOperatorArity = "none" | "one" | "many" | "range";
45
+ export interface FilterOperator {
46
46
  value: string;
47
47
  label: string;
48
48
  /** Defaults to `"one"`. */
@@ -58,8 +58,8 @@ interface FilterOperator {
58
58
  * different date control, and a built-in one would add a calendar dependency to
59
59
  * every install, so a date ships as an `editor`.
60
60
  */
61
- type FilterValueType = "text" | "number" | "range" | "select" | "multiselect" | "boolean";
62
- interface FilterOption<O = unknown> {
61
+ export type FilterValueType = "text" | "number" | "range" | "select" | "multiselect" | "boolean";
62
+ export interface FilterOption<O = unknown> {
63
63
  value: string;
64
64
  label: string;
65
65
  icon?: React$1.ReactNode;
@@ -80,20 +80,20 @@ interface FilterOption<O = unknown> {
80
80
  /** Arbitrary payload, carried untouched through every render callback. */
81
81
  data?: O;
82
82
  }
83
- interface FilterLoadContext {
83
+ export interface FilterLoadContext {
84
84
  /** Aborted when the query changes, the editor closes, or a load supersedes. */
85
85
  signal: AbortSignal;
86
86
  cursor?: string;
87
87
  }
88
88
  /** Result of `loadOptions`, or a bare array. Shape-locked to the cascader. */
89
- interface FilterLoadResult<O = unknown> {
89
+ export interface FilterLoadResult<O = unknown> {
90
90
  items: FilterOption<O>[];
91
91
  nextCursor?: string;
92
92
  /** Defaults to whether `nextCursor` was supplied. */
93
93
  hasMore?: boolean;
94
94
  }
95
95
  /** A field, or a branch. A group is a field with `fields`, not `selectable`. */
96
- interface FilterField<V = unknown, O = unknown> {
96
+ export interface FilterField<V = unknown, O = unknown> {
97
97
  /** Stable id. Unique among its siblings; the full path must be unique. */
98
98
  id: string;
99
99
  label: string;
@@ -177,8 +177,8 @@ interface FilterField<V = unknown, O = unknown> {
177
177
  * wizard step, which has Back and advances on commit, `"amend"` the
178
178
  * chip-anchored popover, which offers Discard instead.
179
179
  */
180
- type FilterEditorHost = "create" | "amend";
181
- interface FilterOptionsState<O = unknown> {
180
+ export type FilterEditorHost = "create" | "amend";
181
+ export interface FilterOptionsState<O = unknown> {
182
182
  items: FilterOption<O>[];
183
183
  loading: boolean;
184
184
  error: boolean;
@@ -191,11 +191,11 @@ interface FilterOptionsState<O = unknown> {
191
191
  /** Resolves a stored value to its option, from cache when possible. */
192
192
  resolve: (value: string) => FilterOption<O> | undefined;
193
193
  }
194
- interface FilterCommitOptions {
194
+ export interface FilterCommitOptions {
195
195
  /** Dismiss the host after writing. Defaults to true. */
196
196
  close?: boolean;
197
197
  }
198
- interface FilterEditorProps<V = unknown, O = unknown> {
198
+ export interface FilterEditorProps<V = unknown, O = unknown> {
199
199
  field: FilterField<V, O>;
200
200
  operator: FilterOperator;
201
201
  /** The DRAFT value. An editor edits a draft; the host commits it. */
@@ -220,23 +220,23 @@ interface FilterEditorProps<V = unknown, O = unknown> {
220
220
  options: FilterOptionsState<O>;
221
221
  labels: FilterLabels;
222
222
  }
223
- type FilterEditor<V = unknown, O = unknown> = React$1.ComponentType<FilterEditorProps<V, O>>;
223
+ export type FilterEditor<V = unknown, O = unknown> = React$1.ComponentType<FilterEditorProps<V, O>>;
224
224
  /**
225
225
  * An editor with its generics erased, for the registry. `unknown` rather than
226
226
  * `never`: props are contravariant, so a `FilterEditor<never, never>` registry
227
227
  * accepts nothing at all. The single widening cast happens where it renders.
228
228
  */
229
- type AnyFilterEditor = React$1.ComponentType<FilterEditorProps<unknown, unknown>>;
230
- type FilterEditorRegistry = Record<string, AnyFilterEditor>;
229
+ export type AnyFilterEditor = React$1.ComponentType<FilterEditorProps<unknown, unknown>>;
230
+ export type FilterEditorRegistry = Record<string, AnyFilterEditor>;
231
231
  /**
232
232
  * A registered editor's name, or a component. The `any` arm lets a CONCRETE
233
233
  * editor sit on an unknown-typed field without a cast: props are contravariant,
234
234
  * so `FilterEditor<DateValue>` is not a `FilterEditor<unknown>`. The widening
235
235
  * happens once, inside `resolveFilterEditor`.
236
236
  */
237
- type FilterEditorRef<V = unknown, O = unknown> = string | FilterEditor<V, O> | FilterEditor<any, any>;
237
+ export type FilterEditorRef<V = unknown, O = unknown> = string | FilterEditor<V, O> | FilterEditor<any, any>;
238
238
  /** Context for a custom builder empty state. Its actions ARE the footer's. */
239
- interface FilterEmptyStateContext {
239
+ export interface FilterEmptyStateContext {
240
240
  labels: FilterLabels;
241
241
  /** The bar is locked. A custom state should not offer an action here. */
242
242
  readOnly: boolean;
@@ -246,7 +246,7 @@ interface FilterEmptyStateContext {
246
246
  addFilter: () => void;
247
247
  addGroup: () => void;
248
248
  }
249
- interface FilterValueDisplayContext<V = unknown, O = unknown> {
249
+ export interface FilterValueDisplayContext<V = unknown, O = unknown> {
250
250
  value: V | undefined;
251
251
  /** `value` normalised to an array, so callbacks never re-derive it. */
252
252
  values: unknown[];
@@ -257,7 +257,7 @@ interface FilterValueDisplayContext<V = unknown, O = unknown> {
257
257
  labels: FilterLabels;
258
258
  }
259
259
  /** Normalized schema, keyed by SIGNATURE: call sites inline the array. */
260
- interface FilterIndex<V = unknown, O = unknown> {
260
+ export interface FilterIndex<V = unknown, O = unknown> {
261
261
  /** Every field by its joined path, `"name.first"`. */
262
262
  byPath: Map<string, FilterField<V, O>>;
263
263
  /** Child fields by parent path. Root fields are keyed by `FILTER_ROOT_KEY`. */
@@ -276,14 +276,14 @@ interface FilterIndex<V = unknown, O = unknown> {
276
276
  /** Content hash; equal schemas share one, so a rebuild reuses the index. */
277
277
  signature: string;
278
278
  }
279
- type FilterDraftStep = "field" | "operator" | "value";
279
+ export type FilterDraftStep = "field" | "operator" | "value";
280
280
  /**
281
281
  * The in-flight filter. `cascaderPath` is kept SEPARATE from `path`: `path` is
282
282
  * what the user chose, `cascaderPath` is where they were browsing when they
283
283
  * chose it, and Back has to return there. Deriving it from `path` breaks the
284
284
  * moment a deep search jumps across the tree.
285
285
  */
286
- interface FilterDraft<V = unknown> {
286
+ export interface FilterDraft<V = unknown> {
287
287
  step: FilterDraftStep;
288
288
  /** `"ready"` = complete: the host writes it into the query and closes. The
289
289
  * pure reducer decides that, not a click handler. */
@@ -298,7 +298,7 @@ interface FilterDraft<V = unknown> {
298
298
  query: string;
299
299
  }
300
300
  /** Every user facing string. `stepAnnouncement` alone is headless-only. */
301
- interface FilterLabels {
301
+ export interface FilterLabels {
302
302
  addFilter: string;
303
303
  advancedFilter: string;
304
304
  /** The line above the builder's rows, "In this view, show records". */
@@ -421,10 +421,10 @@ interface FilterLabels {
421
421
  issueSummary: (count: number) => string;
422
422
  }
423
423
  /** Why a node cannot run as written. `collectFilterIssues` produces these. */
424
- type FilterIssueReason = "missing-operator" | "missing-value" | "incomplete-range" | "reversed-range" | "empty-group" |
424
+ export type FilterIssueReason = "missing-operator" | "missing-value" | "incomplete-range" | "reversed-range" | "empty-group" |
425
425
  /** The one reason whose message is the validator's, not `FilterLabels`. */
426
426
  "custom";
427
- interface FilterIssue {
427
+ export interface FilterIssue {
428
428
  nodeId: string;
429
429
  /** WHICH cell to mark. Two reasons share the value cell; groups have none. */
430
430
  column: "operator" | "value" | "group";
@@ -437,7 +437,7 @@ interface FilterIssue {
437
437
  * SYNCHRONOUS: issues are collected in a pure memo pass, so a check that has to
438
438
  * hit a server belongs in the consumer's own submit path.
439
439
  */
440
- interface FilterValidateContext<V = unknown, O = unknown> {
440
+ export interface FilterValidateContext<V = unknown, O = unknown> {
441
441
  value: V | undefined;
442
442
  values: unknown[];
443
443
  field: FilterField<V, O>;
@@ -448,5 +448,4 @@ interface FilterValidateContext<V = unknown, O = unknown> {
448
448
  labels: FilterLabels;
449
449
  }
450
450
  //#endregion
451
- export { AnyFilterEditor, FilterChangeDetails, FilterChangeReason, FilterCombinator, FilterCommitOptions, FilterDraft, FilterDraftStep, FilterEditor, FilterEditorHost, FilterEditorProps, FilterEditorRef, FilterEditorRegistry, FilterEmptyStateContext, FilterField, FilterGroupNode, FilterIndex, FilterIssue, FilterIssueReason, FilterLabels, FilterLoadContext, FilterLoadResult, FilterNode, FilterOperator, FilterOperatorArity, FilterOption, FilterOptionsState, FilterQuery, FilterRule, FilterValidateContext, FilterValueDisplayContext, FilterValueType };
452
451
  //# sourceMappingURL=filters-types.d.ts.map