@alexgorbatchev/shadcn 0.0.174 → 0.0.175

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 (278) hide show
  1. package/dist/{chunk-r21y6ybe.js → chunk-0evygc14.js} +1 -1
  2. package/dist/{chunk-knjg2dmd.js → chunk-1n63jgaq.js} +4 -4
  3. package/dist/{chunk-j7gv2f9e.js → chunk-1pceh0qm.js} +1 -1
  4. package/dist/{chunk-m94eseqv.js → chunk-1tkk3gw5.js} +2 -2
  5. package/dist/{chunk-zwk2tcna.js → chunk-21pbbe1z.js} +1 -1
  6. package/dist/{chunk-m4xk69mz.js → chunk-21wndtkr.js} +1 -1
  7. package/dist/{chunk-fsw9mz8g.js → chunk-23jq0apj.js} +1 -1
  8. package/dist/{chunk-32gjs8rt.js → chunk-23nxxtnd.js} +1 -1
  9. package/dist/{chunk-rwt2drg8.js → chunk-26csm20x.js} +1 -1
  10. package/dist/{chunk-8vhqwkhm.js → chunk-26t5yajy.js} +4 -4
  11. package/dist/{chunk-6q3krpky.js → chunk-2betnfpa.js} +8 -8
  12. package/dist/{chunk-t51q49wh.js → chunk-2d3npxat.js} +1 -1
  13. package/dist/{chunk-63b6cc6n.js → chunk-2hahvm8t.js} +8 -8
  14. package/dist/{chunk-bjx2zsys.js → chunk-2pc7t67r.js} +1 -1
  15. package/dist/{chunk-5eg60znz.js → chunk-2q3wbf8n.js} +2 -2
  16. package/dist/{chunk-5pvsxqx8.js → chunk-3dx7j5yq.js} +2 -2
  17. package/dist/{chunk-p2s2ttk3.js → chunk-3f26emj1.js} +1 -1
  18. package/dist/{chunk-s6akghss.js → chunk-3ft0zbbf.js} +1 -1
  19. package/dist/{chunk-z30dxke4.js → chunk-3kswfws9.js} +1 -1
  20. package/dist/{chunk-1f2hnewt.js → chunk-4ehtkgtj.js} +1 -1
  21. package/dist/{chunk-7dzhtkc2.js → chunk-4p6g1s80.js} +1 -1
  22. package/dist/{chunk-5rkjveh5.js → chunk-4svvcdqy.js} +1 -1
  23. package/dist/{chunk-7cq1s2ey.js → chunk-55vpb7v2.js} +6 -2
  24. package/dist/{chunk-vhchh03t.js → chunk-5a0b532h.js} +1 -1
  25. package/dist/{chunk-jcrzxq0t.js → chunk-5nch5bsy.js} +1 -1
  26. package/dist/{chunk-47b0qbq6.js → chunk-5nna8qjj.js} +2 -2
  27. package/dist/{chunk-3dgq2sjd.js → chunk-5xekygak.js} +1 -1
  28. package/dist/{chunk-h8d0497q.js → chunk-6cf0q7v2.js} +1 -1
  29. package/dist/{chunk-qb0xgt7m.js → chunk-6djnvfb6.js} +1 -1
  30. package/dist/{chunk-v7tx0c9r.js → chunk-6v7wyvpp.js} +1 -1
  31. package/dist/{chunk-xxd3dgck.js → chunk-6xaksr48.js} +2 -2
  32. package/dist/{chunk-mm8dk5ra.js → chunk-70jrnyy7.js} +1 -1
  33. package/dist/{chunk-wz47t201.js → chunk-77939vrr.js} +1 -1
  34. package/dist/{chunk-zg527nkd.js → chunk-83435g31.js} +1 -1
  35. package/dist/{chunk-j753mwcb.js → chunk-8czeptwt.js} +1 -1
  36. package/dist/{chunk-wawnfz1g.js → chunk-8kc9e86g.js} +2 -2
  37. package/dist/{chunk-sh4b3bjm.js → chunk-8petembv.js} +1 -1
  38. package/dist/{chunk-fypaejmf.js → chunk-8qk4c4t9.js} +1 -1
  39. package/dist/{chunk-yhh65tck.js → chunk-95q78xjc.js} +1 -1
  40. package/dist/{chunk-x83zhrsj.js → chunk-9crjmpxq.js} +1 -1
  41. package/dist/{chunk-5m42p06m.js → chunk-9e930s9w.js} +3 -3
  42. package/dist/{chunk-xz9fgybh.js → chunk-9j3m0wwc.js} +1 -1
  43. package/dist/{chunk-74c8ztj2.js → chunk-9msqz1ce.js} +1 -1
  44. package/dist/{chunk-sb5gnj7y.js → chunk-a2zjer9q.js} +2 -2
  45. package/dist/{chunk-dx0b4txv.js → chunk-a5g5kcty.js} +1 -1
  46. package/dist/{chunk-hv8j4bar.js → chunk-a7ktat27.js} +1 -1
  47. package/dist/{chunk-jyy6wxqq.js → chunk-a8e3x6q7.js} +1 -1
  48. package/dist/{chunk-74mkxxmx.js → chunk-aft224h4.js} +1 -1
  49. package/dist/{chunk-3k3e0krj.js → chunk-aq1zss31.js} +1 -1
  50. package/dist/{chunk-6n3rv5md.js → chunk-aqkhtz9e.js} +1 -1
  51. package/dist/{chunk-y1jfszn8.js → chunk-as82edkz.js} +1 -1
  52. package/dist/{chunk-6g42yxeh.js → chunk-d2grwsq4.js} +3 -3
  53. package/dist/{chunk-d657zq8e.js → chunk-d3x4abk0.js} +1 -1
  54. package/dist/{chunk-1veyspm9.js → chunk-d5mm4gyx.js} +1 -1
  55. package/dist/{chunk-nqn07jq8.js → chunk-d5vtk342.js} +1 -1
  56. package/dist/{chunk-21hxs090.js → chunk-e4bd3aax.js} +1 -1
  57. package/dist/{chunk-8qmwrkpn.js → chunk-e5bk2dkb.js} +1 -1
  58. package/dist/{chunk-dn8rch62.js → chunk-e5z1pw8q.js} +3 -3
  59. package/dist/{chunk-sfb435p6.js → chunk-e6jxs4se.js} +1 -1
  60. package/dist/{chunk-ha5146dk.js → chunk-edbj0m5e.js} +1 -1
  61. package/dist/{chunk-den4dsx5.js → chunk-eg6qxck8.js} +1 -1
  62. package/dist/{chunk-0aprrde1.js → chunk-em4a823z.js} +2 -2
  63. package/dist/{chunk-fbpfmrdb.js → chunk-f5e7ez2z.js} +3 -3
  64. package/dist/{chunk-hfxrqq3d.js → chunk-f7sjzbtx.js} +1 -1
  65. package/dist/{chunk-mxbt6mp3.js → chunk-f8bfe6n5.js} +1 -1
  66. package/dist/{chunk-733phadd.js → chunk-f9v5v07t.js} +1 -1
  67. package/dist/{chunk-fybx5tbb.js → chunk-fqgs7575.js} +1 -1
  68. package/dist/{chunk-h9vqm33h.js → chunk-g06msadd.js} +1 -1
  69. package/dist/{chunk-6eq246q9.js → chunk-ggek1mdz.js} +4 -2
  70. package/dist/{chunk-fhpzse74.js → chunk-gpjyhfem.js} +1 -1
  71. package/dist/{chunk-nwtfh3ah.js → chunk-gqbf88mg.js} +1 -1
  72. package/dist/{chunk-4z9yyqhg.js → chunk-h801s9a4.js} +1 -1
  73. package/dist/{chunk-m36hnr1y.js → chunk-h9ty5vqp.js} +1 -1
  74. package/dist/{chunk-ffbdttsp.js → chunk-hh5wsw6k.js} +1 -1
  75. package/dist/{chunk-feazm1c2.js → chunk-hjqcaa9b.js} +2 -2
  76. package/dist/{chunk-cfj5t0xn.js → chunk-hxy2xabn.js} +1 -1
  77. package/dist/{chunk-yj4m27d8.js → chunk-je1aeg65.js} +1 -1
  78. package/dist/{chunk-aw1s0jfj.js → chunk-jjxrk4vk.js} +2 -2
  79. package/dist/{chunk-2yt77f2x.js → chunk-jns2gm24.js} +1 -1
  80. package/dist/{chunk-x7bmm84y.js → chunk-jtz7pp3g.js} +1 -1
  81. package/dist/{chunk-ckyggyc0.js → chunk-jzz2pyfe.js} +1 -1
  82. package/dist/{chunk-aewsn3jv.js → chunk-k4qkpqtn.js} +2 -2
  83. package/dist/{chunk-hs24xfh2.js → chunk-kch8qvbf.js} +2 -2
  84. package/dist/{chunk-wjp55kz9.js → chunk-kgfk5kpm.js} +1 -1
  85. package/dist/{chunk-y7v43qjc.js → chunk-m4v4rfec.js} +1 -1
  86. package/dist/{chunk-xxvkdn9a.js → chunk-mh8yzqj7.js} +1 -1
  87. package/dist/{chunk-e1qfrj09.js → chunk-my884zez.js} +1 -1
  88. package/dist/{chunk-ck0d0n1h.js → chunk-n63meq6q.js} +1 -1
  89. package/dist/{chunk-090bk4b1.js → chunk-nd4pcs8v.js} +1 -1
  90. package/dist/{chunk-qawb71cp.js → chunk-nh04cme1.js} +1 -1
  91. package/dist/{chunk-5s2195az.js → chunk-nhn079xz.js} +1 -1
  92. package/dist/{chunk-qxb5yxhs.js → chunk-nhx25e89.js} +2 -2
  93. package/dist/{chunk-pbea8ahs.js → chunk-pb7kvbty.js} +1 -1
  94. package/dist/{chunk-y289w8y3.js → chunk-pmez897k.js} +1 -1
  95. package/dist/{chunk-rv39y071.js → chunk-pmt44155.js} +1 -1
  96. package/dist/{chunk-vwfz498s.js → chunk-qg25yzcp.js} +1 -1
  97. package/dist/{chunk-mackj8h6.js → chunk-qnahe4by.js} +1 -1
  98. package/dist/{chunk-f5exdxqn.js → chunk-qp5yga27.js} +1 -1
  99. package/dist/{chunk-s08eftds.js → chunk-qq9atq78.js} +1 -1
  100. package/dist/{chunk-q3wnsn74.js → chunk-r6c6a6vj.js} +1 -1
  101. package/dist/{chunk-c2zp3d1y.js → chunk-r7gng4hm.js} +1 -1
  102. package/dist/{chunk-4byqmesz.js → chunk-rgh3yp6f.js} +1 -1
  103. package/dist/{chunk-2d4ahc3t.js → chunk-s731w97q.js} +1 -1
  104. package/dist/{chunk-a2x18tat.js → chunk-skxp6je3.js} +2 -2
  105. package/dist/{chunk-cjfd69vt.js → chunk-sv7343sv.js} +12 -3
  106. package/dist/{chunk-heyac4c4.js → chunk-sxkq8zva.js} +1 -1
  107. package/dist/{chunk-gmsrqd9e.js → chunk-szjt3z8q.js} +1 -1
  108. package/dist/{chunk-sgb5fdqx.js → chunk-t1kfaakc.js} +1 -1
  109. package/dist/{chunk-s90av8pf.js → chunk-t1xan6pw.js} +1 -1
  110. package/dist/{chunk-11gqzfdy.js → chunk-trahv0ax.js} +3 -3
  111. package/dist/{chunk-djbdg1kw.js → chunk-typck7hd.js} +1 -1
  112. package/dist/{chunk-ghtx7jmf.js → chunk-v0mygtss.js} +1 -1
  113. package/dist/{chunk-e9a723tp.js → chunk-v4gh9j5t.js} +1 -1
  114. package/dist/{chunk-wyzzz5dx.js → chunk-va8v7aaa.js} +1 -1
  115. package/dist/{chunk-xz1k830q.js → chunk-vspw38yj.js} +1 -1
  116. package/dist/{chunk-vff69w97.js → chunk-w1j900p6.js} +2 -2
  117. package/dist/{chunk-g91x6mer.js → chunk-wgrc2f10.js} +2 -2
  118. package/dist/{chunk-vr4k7y1d.js → chunk-wq3yc62h.js} +1 -1
  119. package/dist/{chunk-w1wecrpa.js → chunk-ww425e8k.js} +3 -3
  120. package/dist/{chunk-8dje2jsz.js → chunk-x8q21c7x.js} +1 -1
  121. package/dist/{chunk-cztqmhyn.js → chunk-xbcj6vxt.js} +1 -1
  122. package/dist/{chunk-tejn1vhe.js → chunk-xyycxj8w.js} +1 -1
  123. package/dist/{chunk-78em5nfr.js → chunk-y6sxmz13.js} +1 -1
  124. package/dist/{chunk-65gkzsw5.js → chunk-yqp07vda.js} +1 -1
  125. package/dist/{chunk-e9q4xnrk.js → chunk-yw6txv14.js} +2 -2
  126. package/dist/{chunk-h0h9nhyz.js → chunk-ywmembnc.js} +1 -1
  127. package/dist/{chunk-rghpa4yc.js → chunk-z4gg2ny5.js} +1 -1
  128. package/dist/{chunk-z7s6y05s.js → chunk-zvvs917e.js} +1 -1
  129. package/dist/{chunk-0h2h60mf.js → chunk-zydasmhv.js} +2 -2
  130. package/dist/components/Slider.d.ts +5 -2
  131. package/dist/components/Switch.d.ts +3 -1
  132. package/dist/components/assistant-ui/elements/AgentCard.js +2 -2
  133. package/dist/components/assistant-ui/elements/ApprovalCard.js +2 -2
  134. package/dist/components/assistant-ui/elements/ArtifactCard.js +2 -2
  135. package/dist/components/assistant-ui/elements/AudioPlayer.js +2 -2
  136. package/dist/components/assistant-ui/elements/BackgroundInbox.js +2 -2
  137. package/dist/components/assistant-ui/elements/CanvasSplit.js +2 -2
  138. package/dist/components/assistant-ui/elements/ChatPanel.js +3 -3
  139. package/dist/components/assistant-ui/elements/CheckpointHistory.js +2 -2
  140. package/dist/components/assistant-ui/elements/Citation.js +2 -2
  141. package/dist/components/assistant-ui/elements/CodeRunner.js +2 -2
  142. package/dist/components/assistant-ui/elements/CommandPalette.js +5 -5
  143. package/dist/components/assistant-ui/elements/ComposerAttachButton.js +2 -2
  144. package/dist/components/assistant-ui/elements/ComposerAttachmentChip.js +2 -2
  145. package/dist/components/assistant-ui/elements/ComposerAttachments.js +3 -3
  146. package/dist/components/assistant-ui/elements/ComposerBar.js +3 -3
  147. package/dist/components/assistant-ui/elements/ComposerCommandItem.js +3 -3
  148. package/dist/components/assistant-ui/elements/ComposerContext.js +2 -2
  149. package/dist/components/assistant-ui/elements/ComposerInput.js +3 -3
  150. package/dist/components/assistant-ui/elements/ComposerMenuItem.js +2 -2
  151. package/dist/components/assistant-ui/elements/ComposerModelItem.js +3 -3
  152. package/dist/components/assistant-ui/elements/ComposerModelTrigger.js +2 -2
  153. package/dist/components/assistant-ui/elements/ComposerPersonItem.js +3 -3
  154. package/dist/components/assistant-ui/elements/ComposerSend.js +2 -2
  155. package/dist/components/assistant-ui/elements/ComposerToolbar.js +3 -3
  156. package/dist/components/assistant-ui/elements/ComposerVoiceButton.js +2 -2
  157. package/dist/components/assistant-ui/elements/ConnectionState.js +2 -2
  158. package/dist/components/assistant-ui/elements/ConversationSearch.js +3 -3
  159. package/dist/components/assistant-ui/elements/DataTable.js +2 -2
  160. package/dist/components/assistant-ui/elements/Diagram.js +2 -2
  161. package/dist/components/assistant-ui/elements/DiffViewer.js +3 -3
  162. package/dist/components/assistant-ui/elements/DiffViewerHeader.js +2 -2
  163. package/dist/components/assistant-ui/elements/DocumentReference.js +2 -2
  164. package/dist/components/assistant-ui/elements/DraftRestore.js +2 -2
  165. package/dist/components/assistant-ui/elements/EditMessage.js +2 -2
  166. package/dist/components/assistant-ui/elements/ElicitationForm.js +3 -3
  167. package/dist/components/assistant-ui/elements/EmptyStateComposer.js +3 -3
  168. package/dist/components/assistant-ui/elements/EmptyStateSuggestion.js +2 -2
  169. package/dist/components/assistant-ui/elements/ErrorState.js +2 -2
  170. package/dist/components/assistant-ui/elements/EveAskQuestion.js +3 -3
  171. package/dist/components/assistant-ui/elements/FeedbackDialog.js +2 -2
  172. package/dist/components/assistant-ui/elements/File.js +3 -3
  173. package/dist/components/assistant-ui/elements/GenerativeUi.js +6 -6
  174. package/dist/components/assistant-ui/elements/GeoMap.js +2 -2
  175. package/dist/components/assistant-ui/elements/GuardrailNotice.js +2 -2
  176. package/dist/components/assistant-ui/elements/Image.js +3 -3
  177. package/dist/components/assistant-ui/elements/ImageGallery.js +3 -3
  178. package/dist/components/assistant-ui/elements/ImageGeneration.js +2 -2
  179. package/dist/components/assistant-ui/elements/JobProgress.js +2 -2
  180. package/dist/components/assistant-ui/elements/LauncherBubble.js +2 -2
  181. package/dist/components/assistant-ui/elements/MapAnswer.js +2 -2
  182. package/dist/components/assistant-ui/elements/MarkdownText.js +3 -3
  183. package/dist/components/assistant-ui/elements/McpServerPanel.js +2 -2
  184. package/dist/components/assistant-ui/elements/MemoryChips.js +2 -2
  185. package/dist/components/assistant-ui/elements/MermaidDiagram.js +4 -4
  186. package/dist/components/assistant-ui/elements/MermaidZoom.js +3 -3
  187. package/dist/components/assistant-ui/elements/MessageActions.js +2 -2
  188. package/dist/components/assistant-ui/elements/MessageAttachments.js +2 -2
  189. package/dist/components/assistant-ui/elements/MessageBranches.js +2 -2
  190. package/dist/components/assistant-ui/elements/MessagePair.js +2 -2
  191. package/dist/components/assistant-ui/elements/MessageQueue.js +2 -2
  192. package/dist/components/assistant-ui/elements/MobileComposer.js +3 -3
  193. package/dist/components/assistant-ui/elements/ModelSelector.js +11 -11
  194. package/dist/components/assistant-ui/elements/ModelSelectorContent.js +10 -10
  195. package/dist/components/assistant-ui/elements/ModelSelectorEmpty.js +5 -5
  196. package/dist/components/assistant-ui/elements/ModelSelectorFocusAnchor.js +5 -5
  197. package/dist/components/assistant-ui/elements/ModelSelectorGroup.js +5 -5
  198. package/dist/components/assistant-ui/elements/ModelSelectorItem.js +5 -5
  199. package/dist/components/assistant-ui/elements/ModelSelectorList.js +7 -7
  200. package/dist/components/assistant-ui/elements/ModelSelectorSearch.js +5 -5
  201. package/dist/components/assistant-ui/elements/ModelSelectorSeparator.js +5 -5
  202. package/dist/components/assistant-ui/elements/Onboarding.js +2 -2
  203. package/dist/components/assistant-ui/elements/OptionList.js +2 -2
  204. package/dist/components/assistant-ui/elements/PermissionGrant.js +2 -2
  205. package/dist/components/assistant-ui/elements/PromptLibrary.js +3 -3
  206. package/dist/components/assistant-ui/elements/QuestionFlow.js +3 -3
  207. package/dist/components/assistant-ui/elements/QuotaBanner.js +2 -2
  208. package/dist/components/assistant-ui/elements/QuoteReply.js +2 -2
  209. package/dist/components/assistant-ui/elements/ReadAloud.js +2 -2
  210. package/dist/components/assistant-ui/elements/RecommendationCard.js +2 -2
  211. package/dist/components/assistant-ui/elements/RegenerateMenu.js +2 -2
  212. package/dist/components/assistant-ui/elements/ReviewableDiff.js +2 -2
  213. package/dist/components/assistant-ui/elements/ScheduleCard.js +2 -2
  214. package/dist/components/assistant-ui/elements/SettingsPanel.js +4 -4
  215. package/dist/components/assistant-ui/elements/SharedConversation.js +2 -2
  216. package/dist/components/assistant-ui/elements/StoppedRun.js +2 -2
  217. package/dist/components/assistant-ui/elements/Suggestions.js +2 -2
  218. package/dist/components/assistant-ui/elements/TaskCard.js +2 -2
  219. package/dist/components/assistant-ui/elements/TerminalBlock.js +2 -2
  220. package/dist/components/assistant-ui/elements/ThreadList.js +2 -2
  221. package/dist/components/assistant-ui/elements/ThreadSearch.js +3 -3
  222. package/dist/components/assistant-ui/elements/TodoList.js +2 -2
  223. package/dist/components/assistant-ui/elements/ToolError.js +2 -2
  224. package/dist/components/assistant-ui/elements/ToolGroup.js +2 -2
  225. package/dist/components/assistant-ui/elements/TooltipIconButton.js +2 -2
  226. package/dist/components/assistant-ui/elements/VoiceConversation.js +2 -2
  227. package/dist/components/assistant-ui/elements/WebPreview.js +2 -2
  228. package/dist/components/assistant-ui/eveAskQuestionToolkit.js +4 -4
  229. package/dist/components/assistant-ui/index.js +104 -104
  230. package/dist/components/assistant-ui/native/AssistantModal.js +13 -13
  231. package/dist/components/assistant-ui/native/AssistantSidebar.js +12 -12
  232. package/dist/components/assistant-ui/native/AttachmentPreview.js +4 -4
  233. package/dist/components/assistant-ui/native/McpConfigDialog.js +3 -3
  234. package/dist/components/assistant-ui/native/MermaidDiagram.js +5 -5
  235. package/dist/components/assistant-ui/native/ModelSelector.js +13 -13
  236. package/dist/components/assistant-ui/native/Reasoning.js +4 -4
  237. package/dist/components/assistant-ui/native/TaskCard.js +6 -6
  238. package/dist/components/assistant-ui/native/TaskGroup.js +7 -7
  239. package/dist/components/assistant-ui/native/Thread.js +11 -11
  240. package/dist/components/assistant-ui/native/ThreadList.js +2 -2
  241. package/dist/components/assistant-ui/native/ThreadListSidebar.js +4 -4
  242. package/dist/components/assistant-ui/native/ToolFallbackRoot.js +2 -2
  243. package/dist/components/assistant-ui/native/VoiceConnectButton.js +2 -2
  244. package/dist/components/assistant-ui/native/VoiceControl.js +6 -6
  245. package/dist/components/assistant-ui/native/VoiceConversation.js +3 -3
  246. package/dist/components/assistant-ui/native/VoiceDisconnectButton.js +3 -3
  247. package/dist/components/assistant-ui/native/VoiceMuteButton.js +3 -3
  248. package/dist/components/assistant-ui/native/index.js +40 -40
  249. package/dist/components/calendar/index.js +2 -2
  250. package/dist/components/carousel/index.js +2 -2
  251. package/dist/components/command/Command.d.ts +3 -2
  252. package/dist/components/command/index.js +4 -4
  253. package/dist/components/data-grid/index.js +4 -4
  254. package/dist/components/editor/index.js +2 -2
  255. package/dist/components/event-calendar/index.js +1 -1
  256. package/dist/components/file-upload/index.js +1 -1
  257. package/dist/components/gantt/index.js +2 -2
  258. package/dist/components/image-viewer/index.js +25 -10
  259. package/dist/components/input-otp/index.js +1 -1
  260. package/dist/components/json-render/JsonForm.d.ts +14 -6
  261. package/dist/components/json-render/index.js +48 -37
  262. package/dist/components/message-scroller/index.js +1 -1
  263. package/dist/components/persian-calendar/index.js +2 -2
  264. package/dist/components/questionnaire/index.js +1 -1
  265. package/dist/components/resizable/SplitView.d.ts +6 -1
  266. package/dist/components/resizable/index.js +16 -4
  267. package/dist/components/sonner/index.js +1 -1
  268. package/dist/components/text-diff/index.js +1 -1
  269. package/dist/components/tree/index.js +2 -2
  270. package/dist/components/virtual-data-grid/index.js +2 -2
  271. package/dist/index.js +10 -10
  272. package/dist/prototype.js +1 -1
  273. package/llms/components/data-display/JsonRenderForm.md +2 -0
  274. package/llms/components/forms/Slider.md +8 -0
  275. package/llms/components/forms/Switch.md +8 -0
  276. package/llms/components/layout/SplitView.md +20 -0
  277. package/llms/components/navigation/Command.md +25 -0
  278. package/package.json +1 -1
@@ -4,12 +4,12 @@ import"../../chunk-en44w1pn.js";
4
4
  import"../../chunk-e6hk39ev.js";
5
5
  import"../../chunk-x90xmrba.js";
6
6
  import"../../chunk-jpvw9xqy.js";
7
- import"../../chunk-ck0d0n1h.js";
8
- import"../../chunk-t51q49wh.js";
7
+ import"../../chunk-n63meq6q.js";
8
+ import"../../chunk-2d3npxat.js";
9
9
  import"../../chunk-7jpsybag.js";
10
10
  import"../../chunk-t9ms87s9.js";
11
11
  import"../../chunk-vfgp11y4.js";
12
- import"../../chunk-jyy6wxqq.js";
12
+ import"../../chunk-a8e3x6q7.js";
13
13
  import {
14
14
  Command2,
15
15
  CommandDialog2,
@@ -20,7 +20,7 @@ import {
20
20
  CommandSeparator2,
21
21
  CommandItem2,
22
22
  CommandShortcut2
23
- } from "../../chunk-6eq246q9.js";
23
+ } from "../../chunk-ggek1mdz.js";
24
24
  import"../../chunk-5mydsjp3.js";
25
25
  export {
26
26
  Command2 as Command,
@@ -7,7 +7,7 @@ import {
7
7
  DataGridColumnHeader2,
8
8
  DataGridFilter2,
9
9
  DataGridPagination2
10
- } from "../../chunk-pbea8ahs.js";
10
+ } from "../../chunk-pb7kvbty.js";
11
11
  import"../../chunk-7ny0vyek.js";
12
12
  import"../../chunk-8ssktt4b.js";
13
13
  import"../../chunk-en44w1pn.js";
@@ -16,7 +16,7 @@ import"../../chunk-x90xmrba.js";
16
16
  import"../../chunk-jpvw9xqy.js";
17
17
  import {
18
18
  Button2
19
- } from "../../chunk-ck0d0n1h.js";
19
+ } from "../../chunk-n63meq6q.js";
20
20
  import"../../chunk-qn4a3gg4.js";
21
21
  import"../../chunk-h45mqwpq.js";
22
22
  import"../../chunk-7jpsybag.js";
@@ -46,12 +46,12 @@ import {
46
46
  ComboboxChip2,
47
47
  ComboboxChipsInput2,
48
48
  useComboboxAnchor2
49
- } from "../../chunk-wawnfz1g.js";
49
+ } from "../../chunk-8kc9e86g.js";
50
50
  import {
51
51
  Badge2
52
52
  } from "../../chunk-cgj3ade2.js";
53
53
  import"../../chunk-vfgp11y4.js";
54
- import"../../chunk-jyy6wxqq.js";
54
+ import"../../chunk-a8e3x6q7.js";
55
55
  import {
56
56
  NumberField2,
57
57
  NumberFieldGroup2,
@@ -9,13 +9,13 @@ import"../../chunk-en44w1pn.js";
9
9
  import"../../chunk-e6hk39ev.js";
10
10
  import"../../chunk-x90xmrba.js";
11
11
  import"../../chunk-jpvw9xqy.js";
12
- import"../../chunk-ck0d0n1h.js";
12
+ import"../../chunk-n63meq6q.js";
13
13
  import {
14
14
  Toolbar2,
15
15
  ToolbarButton2,
16
16
  ToolbarGroup2,
17
17
  ToolbarSeparator2
18
- } from "../../chunk-jcrzxq0t.js";
18
+ } from "../../chunk-5nch5bsy.js";
19
19
  import"../../chunk-5mydsjp3.js";
20
20
 
21
21
  // src/components/editor/RichTextEditor.tsx
@@ -8,7 +8,7 @@ import"../../chunk-x90xmrba.js";
8
8
  import"../../chunk-jpvw9xqy.js";
9
9
  import {
10
10
  Button2
11
- } from "../../chunk-ck0d0n1h.js";
11
+ } from "../../chunk-n63meq6q.js";
12
12
  import"../../chunk-4m2x9jfb.js";
13
13
  import"../../chunk-52aadmkc.js";
14
14
  import {
@@ -8,7 +8,7 @@ import"../../chunk-x90xmrba.js";
8
8
  import"../../chunk-jpvw9xqy.js";
9
9
  import {
10
10
  Button2
11
- } from "../../chunk-ck0d0n1h.js";
11
+ } from "../../chunk-n63meq6q.js";
12
12
  import {
13
13
  useAnalyticsCallback
14
14
  } from "../../chunk-5mydsjp3.js";
@@ -7,7 +7,7 @@ import {
7
7
  DragSource2,
8
8
  DropTarget2,
9
9
  Kanban2
10
- } from "../../chunk-x83zhrsj.js";
10
+ } from "../../chunk-9crjmpxq.js";
11
11
  import"../../chunk-en44w1pn.js";
12
12
  import"../../chunk-cgj3ade2.js";
13
13
  import"../../chunk-7ny0vyek.js";
@@ -17,7 +17,7 @@ import"../../chunk-x90xmrba.js";
17
17
  import"../../chunk-jpvw9xqy.js";
18
18
  import {
19
19
  Button2
20
- } from "../../chunk-ck0d0n1h.js";
20
+ } from "../../chunk-n63meq6q.js";
21
21
  import {
22
22
  OptionSelect2
23
23
  } from "../../chunk-h45mqwpq.js";
@@ -11,7 +11,7 @@ import"../../chunk-x90xmrba.js";
11
11
  import"../../chunk-jpvw9xqy.js";
12
12
  import {
13
13
  Button2
14
- } from "../../chunk-ck0d0n1h.js";
14
+ } from "../../chunk-n63meq6q.js";
15
15
  import {
16
16
  Toggle2,
17
17
  ToggleGroup2,
@@ -45,10 +45,10 @@ import {
45
45
  DialogHeader2,
46
46
  DialogTitle2,
47
47
  DialogDescription2
48
- } from "../../chunk-t51q49wh.js";
48
+ } from "../../chunk-2d3npxat.js";
49
49
  import {
50
50
  Switch2
51
- } from "../../chunk-cjfd69vt.js";
51
+ } from "../../chunk-sv7343sv.js";
52
52
  import"../../chunk-5mydsjp3.js";
53
53
 
54
54
  // src/components/image-viewer/ImageViewer.tsx
@@ -1471,11 +1471,17 @@ function ImageRegionFields({
1471
1471
  className: cn2("flex flex-wrap items-end gap-control-gap", className),
1472
1472
  children: [
1473
1473
  FIELDS.map(([key, name]) => /* @__PURE__ */ jsxs7(Field2, {
1474
- className: "w-20",
1474
+ className: "w-24",
1475
1475
  children: [
1476
- /* @__PURE__ */ jsx9(FieldLabel2, {
1476
+ /* @__PURE__ */ jsxs7(FieldLabel2, {
1477
1477
  htmlFor: `${id}-${key}`,
1478
- children: name
1478
+ children: [
1479
+ name,
1480
+ /* @__PURE__ */ jsx9("span", {
1481
+ className: "sr-only",
1482
+ children: " (%)"
1483
+ })
1484
+ ]
1479
1485
  }),
1480
1486
  /* @__PURE__ */ jsx9(NumberField2, {
1481
1487
  id: `${id}-${key}`,
@@ -1491,10 +1497,19 @@ function ImageRegionFields({
1491
1497
  return;
1492
1498
  onRegionChange(clampImageRegion({ ...region, [key]: value / 100 }));
1493
1499
  },
1494
- children: /* @__PURE__ */ jsx9(NumberFieldGroup2, {
1495
- children: /* @__PURE__ */ jsx9(NumberFieldInput2, {
1496
- "aria-describedby": `${id}-unit`
1497
- })
1500
+ children: /* @__PURE__ */ jsxs7(NumberFieldGroup2, {
1501
+ children: [
1502
+ /* @__PURE__ */ jsx9(NumberFieldInput2, {
1503
+ className: "pe-1",
1504
+ "aria-describedby": `${id}-unit`
1505
+ }),
1506
+ /* @__PURE__ */ jsx9("span", {
1507
+ "aria-hidden": "true",
1508
+ "data-slot": "image-region-unit",
1509
+ className: "flex shrink-0 items-center pe-2 text-xs text-muted-foreground select-none",
1510
+ children: "%"
1511
+ })
1512
+ ]
1498
1513
  })
1499
1514
  })
1500
1515
  ]
@@ -13,7 +13,7 @@ import"../../chunk-x90xmrba.js";
13
13
  import"../../chunk-jpvw9xqy.js";
14
14
  import {
15
15
  Button2
16
- } from "../../chunk-ck0d0n1h.js";
16
+ } from "../../chunk-n63meq6q.js";
17
17
  import {
18
18
  Card2,
19
19
  CardHeader2,
@@ -12,6 +12,7 @@ interface IJsonFormContext {
12
12
  mode: JsonFormMode;
13
13
  errors: Readonly<Record<string, string>>;
14
14
  defaults: readonly string[];
15
+ changed: readonly string[];
15
16
  }
16
17
  export interface IJsonFormProviderProps {
17
18
  mode?: JsonFormMode;
@@ -27,10 +28,15 @@ export interface IJsonFormProviderProps {
27
28
  * they never touched.
28
29
  */
29
30
  defaults?: readonly string[];
31
+ /**
32
+ * Binding paths whose value differs from the last submitted answer, such as `["/answers/headline"]`. Each of those
33
+ * controls shows a "Changed" tag in its own label row, beside Required and Default.
34
+ */
35
+ changed?: readonly string[];
30
36
  children?: ReactNode;
31
37
  }
32
- /** Sets the mode, the field messages and the default-valued fields of the bound controls rendered inside it. */
33
- export declare function JsonFormProvider({ mode, errors, defaults, children, }: IJsonFormProviderProps): ReactElement;
38
+ /** Sets the mode, the field messages, the default-valued fields, and the changed fields of the bound controls inside it. */
39
+ export declare function JsonFormProvider({ mode, errors, defaults, changed, children, }: IJsonFormProviderProps): ReactElement;
34
40
  /** The nearest `JsonFormProvider`'s mode and messages, or `undefined` outside one. */
35
41
  export declare function useJsonForm(): IJsonFormContext | undefined;
36
42
  type Reveal = () => void;
@@ -64,6 +70,8 @@ export interface IJsonField {
64
70
  isRequired: boolean;
65
71
  /** The value is still the author's default (`JsonFormProvider`'s `defaults`); the label shows a "Default" tag. */
66
72
  isDefault: boolean;
73
+ /** The value differs from the last submitted answer (`JsonFormProvider`'s `changed`); the label shows a "Changed" tag. */
74
+ isChanged: boolean;
67
75
  error?: string;
68
76
  mode: JsonFormMode;
69
77
  messageId: string;
@@ -84,16 +92,16 @@ export interface IJsonFieldLabelProps {
84
92
  htmlFor?: string;
85
93
  }
86
94
  /**
87
- * The field's "Required" and "Default" tags, in that order; nothing when neither applies. "Required" asks for an
88
- * answer, so a read-only value never carries it.
95
+ * The field's "Required", "Default", and "Changed" tags, in that order; nothing when none apply. "Required" and
96
+ * "Changed" belong to editable forms, so read-only values omit them.
89
97
  */
90
98
  export declare function JsonFieldTags({ field }: {
91
99
  field: IJsonField;
92
100
  }): ReactElement | null;
93
- /** The field's label followed by its "Required" and "Default" tags. */
101
+ /** The field's label followed by its "Required", "Default", and "Changed" tags. */
94
102
  export declare function JsonFieldLabel({ field, id, htmlFor }: IJsonFieldLabelProps): ReactElement | null;
95
103
  /** What an answer control the author left empty shows instead of a value it would not send. */
96
- export declare const NOT_SET_TEXT = "Not set";
104
+ export declare const NOT_SET_TEXT = "Not answered";
97
105
  /** The field's message, referenced by the control's `aria-describedby`. */
98
106
  export declare function JsonFieldMessage({ field }: {
99
107
  field: IJsonField;
@@ -12,7 +12,7 @@ import {
12
12
  TooltipTrigger2,
13
13
  TooltipContent2,
14
14
  Button2
15
- } from "../../chunk-ck0d0n1h.js";
15
+ } from "../../chunk-n63meq6q.js";
16
16
  import {
17
17
  ButtonLink2,
18
18
  Accordion2,
@@ -26,7 +26,7 @@ import {
26
26
  PaginationPrevious2,
27
27
  PaginationNext2,
28
28
  PaginationEllipsis2
29
- } from "../../chunk-8vhqwkhm.js";
29
+ } from "../../chunk-26t5yajy.js";
30
30
  import {
31
31
  MenuPopup,
32
32
  MenuItem2,
@@ -46,7 +46,7 @@ import {
46
46
  DialogHeader2,
47
47
  DialogTitle2,
48
48
  DialogDescription2
49
- } from "../../chunk-t51q49wh.js";
49
+ } from "../../chunk-2d3npxat.js";
50
50
  import"../../chunk-f9sm5zpv.js";
51
51
  import {
52
52
  Popover2,
@@ -72,10 +72,10 @@ import {
72
72
  } from "../../chunk-tjy21ppg.js";
73
73
  import {
74
74
  Slider2
75
- } from "../../chunk-7cq1s2ey.js";
75
+ } from "../../chunk-55vpb7v2.js";
76
76
  import {
77
77
  Switch2
78
- } from "../../chunk-cjfd69vt.js";
78
+ } from "../../chunk-sv7343sv.js";
79
79
  import {
80
80
  Textarea2
81
81
  } from "../../chunk-vfgp11y4.js";
@@ -93,14 +93,14 @@ import {
93
93
  CardDescription2,
94
94
  CardContent2
95
95
  } from "../../chunk-jc3cbwyg.js";
96
- import"../../chunk-jyy6wxqq.js";
97
- import"../../chunk-wawnfz1g.js";
96
+ import"../../chunk-a8e3x6q7.js";
97
+ import"../../chunk-8kc9e86g.js";
98
98
  import {
99
99
  Tabs2,
100
100
  TabsList2,
101
101
  TabsTrigger2,
102
102
  TabsContent2
103
- } from "../../chunk-x83zhrsj.js";
103
+ } from "../../chunk-9crjmpxq.js";
104
104
  import"../../chunk-4e96tpw0.js";
105
105
  import {
106
106
  Checkbox2
@@ -154,10 +154,10 @@ import {
154
154
  import"../../chunk-g187prhe.js";
155
155
  import"../../chunk-m4geb1s5.js";
156
156
  import"../../chunk-9ecf92s6.js";
157
- import"../../chunk-4byqmesz.js";
157
+ import"../../chunk-rgh3yp6f.js";
158
158
  import"../../chunk-tcefvfr8.js";
159
159
  import"../../chunk-38barrma.js";
160
- import"../../chunk-jcrzxq0t.js";
160
+ import"../../chunk-5nch5bsy.js";
161
161
  import"../../chunk-bvzjbk43.js";
162
162
  import {
163
163
  Carousel2,
@@ -165,7 +165,7 @@ import {
165
165
  CarouselItem2,
166
166
  CarouselPrevious2,
167
167
  CarouselNext2
168
- } from "../../chunk-s6akghss.js";
168
+ } from "../../chunk-3ft0zbbf.js";
169
169
  import {
170
170
  FramedImage2
171
171
  } from "../../chunk-2jsgsjas.js";
@@ -281,13 +281,15 @@ import { jsx as jsx5, jsxs as jsxs2, Fragment } from "react/jsx-runtime";
281
281
  var JsonFormContext = createContext(undefined);
282
282
  var noErrors = {};
283
283
  var noDefaults = [];
284
+ var noChanged = [];
284
285
  function JsonFormProvider({
285
286
  mode = "edit",
286
287
  errors = noErrors,
287
288
  defaults = noDefaults,
289
+ changed = noChanged,
288
290
  children
289
291
  }) {
290
- const value = useMemo(() => ({ mode, errors, defaults }), [mode, errors, defaults]);
292
+ const value = useMemo(() => ({ mode, errors, defaults, changed }), [mode, errors, defaults, changed]);
291
293
  return /* @__PURE__ */ jsx5(JsonFormContext, {
292
294
  value,
293
295
  children
@@ -323,6 +325,7 @@ function useJsonField({ path, label, checks, ownErrors = [] }) {
323
325
  label: stripRequiredMark(label ?? ""),
324
326
  isRequired,
325
327
  isDefault: !!path && !!form?.defaults.includes(path),
328
+ isChanged: !!path && !!form?.changed.includes(path),
326
329
  error,
327
330
  mode: form?.mode ?? "edit",
328
331
  messageId,
@@ -335,7 +338,8 @@ function useJsonField({ path, label, checks, ownErrors = [] }) {
335
338
  }
336
339
  function JsonFieldTags({ field }) {
337
340
  const isRequiredShown = field.isRequired && field.mode !== "values";
338
- if (!isRequiredShown && !field.isDefault)
341
+ const isChangedShown = field.isChanged && field.mode !== "values";
342
+ if (!isRequiredShown && !field.isDefault && !isChangedShown)
339
343
  return null;
340
344
  return /* @__PURE__ */ jsxs2(Fragment, {
341
345
  children: [
@@ -347,12 +351,17 @@ function JsonFieldTags({ field }) {
347
351
  variant: "outline",
348
352
  "data-slot": "json-field-default",
349
353
  children: "Default"
354
+ }),
355
+ isChangedShown && /* @__PURE__ */ jsx5(Badge2, {
356
+ variant: "outline",
357
+ "data-slot": "json-field-changed",
358
+ children: "Changed"
350
359
  })
351
360
  ]
352
361
  });
353
362
  }
354
363
  function JsonFieldLabel({ field, id, htmlFor }) {
355
- if (!field.label && !(field.isRequired && field.mode !== "values") && !field.isDefault)
364
+ if (!field.label && !(field.isRequired && field.mode !== "values") && !field.isDefault && !(field.isChanged && field.mode !== "values"))
356
365
  return null;
357
366
  return /* @__PURE__ */ jsxs2("div", {
358
367
  "data-slot": "json-field-label",
@@ -369,7 +378,7 @@ function JsonFieldLabel({ field, id, htmlFor }) {
369
378
  ]
370
379
  });
371
380
  }
372
- var NOT_SET_TEXT = "Not set";
381
+ var NOT_SET_TEXT = "Not answered";
373
382
  function JsonFieldMessage({ field }) {
374
383
  if (!field.error)
375
384
  return null;
@@ -671,7 +680,7 @@ var JsonHeading = ({ props }) => {
671
680
  // src/components/json-render/JsonText.tsx
672
681
  import { jsx as jsx14 } from "react/jsx-runtime";
673
682
  var JsonText = ({ props }) => {
674
- const textClass = props.variant === "caption" ? "text-xs" : props.variant === "muted" ? "text-sm text-muted-foreground" : props.variant === "lead" ? "text-xl text-muted-foreground" : props.variant === "code" ? "font-mono text-sm bg-muted px-1.5 py-0.5 rounded" : "text-sm";
683
+ const textClass = props.variant === "caption" ? "text-xs" : props.variant === "muted" ? "text-sm leading-(--ag-leading) text-muted-foreground" : props.variant === "lead" ? "text-xl leading-(--ag-leading) text-muted-foreground" : props.variant === "code" ? "font-mono text-sm bg-muted px-1.5 py-0.5 rounded" : "text-sm leading-(--ag-leading)";
675
684
  if (props.variant === "code") {
676
685
  return /* @__PURE__ */ jsx14("code", {
677
686
  className: `${textClass} text-left`,
@@ -1164,27 +1173,10 @@ var JsonSwitch = ({ props, bindings, emit }) => {
1164
1173
  /* @__PURE__ */ jsxs20(Field2, {
1165
1174
  orientation: "horizontal",
1166
1175
  children: [
1167
- /* @__PURE__ */ jsxs20("div", {
1168
- className: "flex flex-auto flex-wrap items-center gap-2",
1169
- children: [
1170
- /* @__PURE__ */ jsx29(FieldLabel2, {
1171
- htmlFor: id,
1172
- children: field.label
1173
- }),
1174
- /* @__PURE__ */ jsx29(JsonFieldTags, {
1175
- field
1176
- })
1177
- ]
1178
- }),
1179
- isNotSet && /* @__PURE__ */ jsx29("span", {
1180
- id: notSetId,
1181
- "data-slot": "json-field-not-set",
1182
- className: "shrink-0 text-sm whitespace-nowrap text-muted-foreground",
1183
- children: NOT_SET_TEXT
1184
- }),
1185
1176
  /* @__PURE__ */ jsx29(Switch2, {
1186
1177
  id,
1187
1178
  checked,
1179
+ indeterminate: isNotSet,
1188
1180
  disabled: field.mode === "locked",
1189
1181
  ...field.controlProps,
1190
1182
  "aria-describedby": describedBy,
@@ -1194,6 +1186,24 @@ var JsonSwitch = ({ props, bindings, emit }) => {
1194
1186
  validate();
1195
1187
  emit("change");
1196
1188
  }
1189
+ }),
1190
+ /* @__PURE__ */ jsxs20("div", {
1191
+ className: "flex flex-auto flex-wrap items-center gap-2",
1192
+ children: [
1193
+ /* @__PURE__ */ jsx29(FieldLabel2, {
1194
+ htmlFor: id,
1195
+ children: field.label
1196
+ }),
1197
+ /* @__PURE__ */ jsx29(JsonFieldTags, {
1198
+ field
1199
+ }),
1200
+ isNotSet && /* @__PURE__ */ jsx29("span", {
1201
+ id: notSetId,
1202
+ "data-slot": "json-field-not-set",
1203
+ className: "shrink-0 text-sm whitespace-nowrap text-muted-foreground",
1204
+ children: NOT_SET_TEXT
1205
+ })
1206
+ ]
1197
1207
  })
1198
1208
  ]
1199
1209
  }),
@@ -1224,10 +1234,10 @@ var JsonSlider = ({ props, bindings, emit }) => {
1224
1234
  text: valueText
1225
1235
  });
1226
1236
  return /* @__PURE__ */ jsxs21("div", {
1227
- className: "space-y-2",
1237
+ className: "w-full max-w-sm space-y-2",
1228
1238
  children: [
1229
1239
  (field.label || isNotSet) && /* @__PURE__ */ jsxs21("div", {
1230
- className: "flex items-center justify-between gap-2",
1240
+ className: "flex flex-wrap items-center justify-between gap-2",
1231
1241
  children: [
1232
1242
  /* @__PURE__ */ jsxs21("div", {
1233
1243
  className: "flex flex-wrap items-center gap-2",
@@ -1244,12 +1254,13 @@ var JsonSlider = ({ props, bindings, emit }) => {
1244
1254
  }),
1245
1255
  /* @__PURE__ */ jsx30("span", {
1246
1256
  "data-slot": isNotSet ? "json-field-not-set" : undefined,
1247
- className: "text-sm text-muted-foreground",
1257
+ className: "shrink-0 text-sm whitespace-nowrap text-muted-foreground",
1248
1258
  children: valueText
1249
1259
  })
1250
1260
  ]
1251
1261
  }),
1252
1262
  /* @__PURE__ */ jsx30(Slider2, {
1263
+ indeterminate: isNotSet,
1253
1264
  getAriaLabel: () => field.label || "Value",
1254
1265
  getAriaValueText: isNotSet ? () => NOT_SET_TEXT : undefined,
1255
1266
  value: [value],
@@ -13,7 +13,7 @@ import"../../chunk-x90xmrba.js";
13
13
  import"../../chunk-jpvw9xqy.js";
14
14
  import {
15
15
  Button2
16
- } from "../../chunk-ck0d0n1h.js";
16
+ } from "../../chunk-n63meq6q.js";
17
17
  import {
18
18
  useAnalyticsCallback
19
19
  } from "../../chunk-5mydsjp3.js";
@@ -6,12 +6,12 @@ import {
6
6
  import"../../chunk-e6hk39ev.js";
7
7
  import"../../chunk-x90xmrba.js";
8
8
  import"../../chunk-jpvw9xqy.js";
9
- import"../../chunk-ck0d0n1h.js";
9
+ import"../../chunk-n63meq6q.js";
10
10
  import {
11
11
  getCalendarClassNames,
12
12
  CalendarDayButton2,
13
13
  CalendarDropdown
14
- } from "../../chunk-s08eftds.js";
14
+ } from "../../chunk-qq9atq78.js";
15
15
  import"../../chunk-h45mqwpq.js";
16
16
  import {
17
17
  useAnalyticsCallback
@@ -16,7 +16,7 @@ import"../../chunk-x90xmrba.js";
16
16
  import"../../chunk-jpvw9xqy.js";
17
17
  import {
18
18
  buttonVariants2
19
- } from "../../chunk-ck0d0n1h.js";
19
+ } from "../../chunk-n63meq6q.js";
20
20
  import {
21
21
  useAnalyticsCallback
22
22
  } from "../../chunk-5mydsjp3.js";
@@ -52,6 +52,11 @@ interface ISplitViewProps {
52
52
  drawerTopInset?: string;
53
53
  /** Called when a "sheet" or "drawer" narrow layout asks to open or close the sidebar, such as on Escape or a swipe. */
54
54
  onSidebarOpenChange?: (open: boolean) => void;
55
+ /**
56
+ * Custom leading header content for `narrowLayout="sheet"`, replacing the visible `DrawerTitle` so a navigation brand
57
+ * row does not stack beneath the sheet's own header. `sidebarLabel` stays the sheet's accessible title.
58
+ */
59
+ sheetHeader?: ReactNode;
55
60
  /**
56
61
  * Where focus goes when a "sheet" or "drawer" narrow layout closes, as Base UI's `finalFocus`: by default the element
57
62
  * that had focus before it opened; return `false` from a function to leave focus where the consumer put it.
@@ -63,5 +68,5 @@ interface ISplitViewProps {
63
68
  * open sidebar take over the content's place. The sidebar and content render into slots that move between the
64
69
  * layouts, so their state survives resizing across the breakpoint and opening or closing the sidebar.
65
70
  */
66
- export declare function SplitView({ sidebar, children, storageKey, sidebarPosition, sidebarOpen, storage, sidebarLabel, contentLabel, resizeLabel, defaultSidebarSize, sidebarPadding, contentPadding, layout: layoutMode, minSidebarSize, maxSidebarSize, wideQuery, narrowLayout, sidebarExpanded, drawerHeight, drawerTopInset, onSidebarOpenChange, sidebarFinalFocus, }: ISplitViewProps): ReactElement;
71
+ export declare function SplitView({ sidebar, children, storageKey, sidebarPosition, sidebarOpen, storage, sidebarLabel, contentLabel, resizeLabel, defaultSidebarSize, sidebarPadding, contentPadding, layout: layoutMode, minSidebarSize, maxSidebarSize, wideQuery, narrowLayout, sidebarExpanded, drawerHeight, drawerTopInset, onSidebarOpenChange, sheetHeader, sidebarFinalFocus, }: ISplitViewProps): ReactElement;
67
72
  export {};
@@ -25,7 +25,7 @@ import {
25
25
  } from "../../chunk-jpvw9xqy.js";
26
26
  import {
27
27
  Button2
28
- } from "../../chunk-ck0d0n1h.js";
28
+ } from "../../chunk-n63meq6q.js";
29
29
  import"../../chunk-5mydsjp3.js";
30
30
  // src/components/resizable/SplitView.tsx
31
31
  import {
@@ -118,6 +118,7 @@ function SplitView({
118
118
  drawerHeight = "tall",
119
119
  drawerTopInset,
120
120
  onSidebarOpenChange,
121
+ sheetHeader,
121
122
  sidebarFinalFocus
122
123
  }) {
123
124
  const isFill = layoutMode === "fill";
@@ -272,13 +273,24 @@ function SplitView({
272
273
  children: /* @__PURE__ */ jsxs(DrawerContent2, {
273
274
  "aria-label": sidebarLabel,
274
275
  finalFocus: sidebarFinalFocus,
275
- className: cn2(narrowLayout === "drawer" && "data-[swipe-axis=y]:[--drawer-content-max-height:100dvh] data-[swipe-axis=y]:rounded-t-none", narrowLayout === "drawer" && (sidebarExpanded ? "h-dvh" : drawerTopInset ? "h-[calc(100dvh-var(--split-view-drawer-top))]" : drawerHeight === "half" ? "h-[50dvh]" : "h-[85dvh]")),
276
+ className: cn2(narrowLayout === "sheet" && "data-[swipe-axis=x]:[--drawer-content-width:min(calc(100vw-2.5rem),24rem)]", narrowLayout === "drawer" && "data-[swipe-axis=y]:[--drawer-content-max-height:100dvh] data-[swipe-axis=y]:rounded-t-none", narrowLayout === "drawer" && (sidebarExpanded ? "h-dvh" : drawerTopInset ? "h-[calc(100dvh-var(--split-view-drawer-top))]" : drawerHeight === "half" ? "h-[50dvh]" : "h-[85dvh]")),
276
277
  style: drawerTopInset ? { ["--split-view-drawer-top"]: drawerTopInset } : undefined,
277
278
  children: [
278
279
  narrowLayout === "sheet" && /* @__PURE__ */ jsxs("div", {
279
- className: "flex shrink-0 items-center justify-between gap-2 p-panel pb-0",
280
+ className: "flex shrink-0 items-center justify-between gap-2 px-3 pt-3 pb-1",
280
281
  children: [
281
- /* @__PURE__ */ jsx(DrawerTitle2, {
282
+ sheetHeader ? /* @__PURE__ */ jsxs(Fragment, {
283
+ children: [
284
+ /* @__PURE__ */ jsx(DrawerTitle2, {
285
+ className: "sr-only",
286
+ children: sidebarLabel
287
+ }),
288
+ /* @__PURE__ */ jsx("div", {
289
+ className: "flex min-w-0 flex-1 items-center gap-2",
290
+ children: sheetHeader
291
+ })
292
+ ]
293
+ }) : /* @__PURE__ */ jsx(DrawerTitle2, {
282
294
  children: sidebarLabel
283
295
  }),
284
296
  /* @__PURE__ */ jsxs(DrawerClose2, {
@@ -14,7 +14,7 @@ import"../../chunk-x90xmrba.js";
14
14
  import"../../chunk-jpvw9xqy.js";
15
15
  import {
16
16
  buttonVariants2
17
- } from "../../chunk-ck0d0n1h.js";
17
+ } from "../../chunk-n63meq6q.js";
18
18
  import {
19
19
  useAnalyticsCallback
20
20
  } from "../../chunk-5mydsjp3.js";
@@ -8,7 +8,7 @@ import"../../chunk-x90xmrba.js";
8
8
  import"../../chunk-jpvw9xqy.js";
9
9
  import {
10
10
  Button2
11
- } from "../../chunk-ck0d0n1h.js";
11
+ } from "../../chunk-n63meq6q.js";
12
12
  import {
13
13
  computeDiff2,
14
14
  pairLinesForSplit
@@ -16,7 +16,7 @@ import {
16
16
  TooltipTrigger2,
17
17
  TooltipContent2,
18
18
  Button2
19
- } from "../../chunk-ck0d0n1h.js";
19
+ } from "../../chunk-n63meq6q.js";
20
20
  import"../../chunk-7jpsybag.js";
21
21
  import {
22
22
  Input2
@@ -249,7 +249,7 @@ function TreeItem({
249
249
  onDragStart: undefined
250
250
  } : {},
251
251
  style: { paddingInlineStart: `${item.getItemMeta().level * (item.getTree().getConfig().indent ?? 20) + 8}px` },
252
- className: cn2("relative flex min-h-control min-w-0 cursor-default items-center gap-2 rounded-sm border border-transparent py-1 pr-2 text-sm outline-none", isAriaDisabled ? "cursor-not-allowed focus-visible:outline-1 focus-visible:outline-ring/60 focus-visible:-outline-offset-1" : "hover:bg-accent focus-visible:ring-2 focus-visible:ring-ring", (isSelected || isDropTarget || isInsideTarget) && (selectionStyle === "accent" && isSelected ? "border-primary bg-muted/60 font-medium text-foreground" : "bg-accent text-accent-foreground"), tone === "warning" && "before:pointer-events-none before:absolute before:inset-y-1 before:start-0 before:w-0.5 before:rounded-full before:bg-warning", isDimmed && "group/tree-item"),
252
+ className: cn2("relative flex min-h-control min-w-0 cursor-default items-center gap-2 rounded-sm border border-transparent py-1 pr-2 text-sm outline-none pointer-coarse:min-h-11", isAriaDisabled ? "cursor-not-allowed focus-visible:outline-1 focus-visible:outline-ring/60 focus-visible:-outline-offset-1" : "hover:bg-accent focus-visible:ring-2 focus-visible:ring-ring", (isSelected || isDropTarget || isInsideTarget) && (selectionStyle === "accent" && isSelected ? "border-primary bg-muted/60 font-medium text-foreground" : "bg-accent text-accent-foreground"), tone === "warning" && "before:pointer-events-none before:absolute before:inset-y-1 before:start-0 before:w-0.5 before:rounded-full before:bg-warning", isDimmed && "group/tree-item"),
253
253
  children: /* @__PURE__ */ jsxs(Fragment, {
254
254
  children: [
255
255
  item.isFolder() && expandOn === "disclosure" ? /* @__PURE__ */ jsx(Button2, {
@@ -10,13 +10,13 @@ import {
10
10
  DataGridHeaderRows,
11
11
  DataGridCells2,
12
12
  DataGridColumns
13
- } from "../../chunk-pbea8ahs.js";
13
+ } from "../../chunk-pb7kvbty.js";
14
14
  import"../../chunk-7ny0vyek.js";
15
15
  import"../../chunk-8ssktt4b.js";
16
16
  import"../../chunk-e6hk39ev.js";
17
17
  import"../../chunk-x90xmrba.js";
18
18
  import"../../chunk-jpvw9xqy.js";
19
- import"../../chunk-ck0d0n1h.js";
19
+ import"../../chunk-n63meq6q.js";
20
20
  import"../../chunk-h45mqwpq.js";
21
21
  import"../../chunk-7jpsybag.js";
22
22
  import"../../chunk-t9ms87s9.js";