@alexgorbatchev/shadcn 0.0.199 → 0.0.201
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.
- package/README.md +3 -1
- package/dist/{chunk-pmt44155.js → chunk-0cywa6fx.js} +1 -1
- package/dist/{chunk-kch8qvbf.js → chunk-0g1djv41.js} +2 -2
- package/dist/{chunk-hjqcaa9b.js → chunk-0wcc4g4y.js} +2 -2
- package/dist/{chunk-w1j900p6.js → chunk-176w7j5d.js} +2 -2
- package/dist/{chunk-as82edkz.js → chunk-2sxwwhg4.js} +1 -1
- package/dist/{chunk-8qk4c4t9.js → chunk-3ayr7ga2.js} +1 -1
- package/dist/{chunk-jza4avjy.js → chunk-3d6ctgyx.js} +29 -20
- package/dist/{chunk-e6jxs4se.js → chunk-3gde9nfw.js} +1 -1
- package/dist/{chunk-z2h046dx.js → chunk-4abk0s18.js} +1 -1
- package/dist/{chunk-g9y8gb5r.js → chunk-4kkx7m55.js} +8 -8
- package/dist/{chunk-gqbf88mg.js → chunk-5b4pcb7g.js} +1 -1
- package/dist/{chunk-99086h5y.js → chunk-5hmt8978.js} +1 -1
- package/dist/{chunk-qnahe4by.js → chunk-63g97w6z.js} +1 -1
- package/dist/{chunk-qg25yzcp.js → chunk-76q97de7.js} +1 -1
- package/dist/{chunk-95q78xjc.js → chunk-77y8k6pe.js} +1 -1
- package/dist/{chunk-d5vtk342.js → chunk-7h0afzqw.js} +1 -1
- package/dist/{chunk-n56hkkvq.js → chunk-7pcteywf.js} +1 -1
- package/dist/{chunk-nhx25e89.js → chunk-8sc8543t.js} +2 -2
- package/dist/{chunk-f9v5v07t.js → chunk-95x1rz41.js} +1 -1
- package/dist/{chunk-9s09v1e3.js → chunk-9g9pmf06.js} +1 -1
- package/dist/{chunk-hs68c966.js → chunk-9pngkh5e.js} +4 -4
- package/dist/{chunk-9e930s9w.js → chunk-9rf7cxea.js} +3 -3
- package/dist/{chunk-e5z1pw8q.js → chunk-9v51zfz9.js} +3 -3
- package/dist/{chunk-rf6x2h3k.js → chunk-a33b2w22.js} +4 -2
- package/dist/{chunk-ywmembnc.js → chunk-a86ean5h.js} +1 -1
- package/dist/{chunk-xzvjf97v.js → chunk-a98q52m1.js} +1 -1
- package/dist/{chunk-p4s3q5bn.js → chunk-anhrap9y.js} +1 -1
- package/dist/{chunk-pmez897k.js → chunk-anzr6thj.js} +1 -1
- package/dist/{chunk-z0d1ewxx.js → chunk-bbbxnbwd.js} +1 -1
- package/dist/{chunk-3ft0zbbf.js → chunk-bjmq3c5f.js} +1 -1
- package/dist/{chunk-4svvcdqy.js → chunk-bztyq92z.js} +1 -1
- package/dist/{chunk-wgrc2f10.js → chunk-cfpcj82g.js} +2 -2
- package/dist/{chunk-hwyyjsr7.js → chunk-cvhqs6gj.js} +1 -1
- package/dist/{chunk-yqp07vda.js → chunk-cvy0wj4b.js} +1 -1
- package/dist/{chunk-x1g72gzp.js → chunk-cxgxxt62.js} +1 -1
- package/dist/{chunk-e5bk2dkb.js → chunk-d8ysy1af.js} +1 -1
- package/dist/{chunk-3f26emj1.js → chunk-dm9fmbgw.js} +1 -1
- package/dist/{chunk-5nch5bsy.js → chunk-dmmvpztc.js} +1 -1
- package/dist/{chunk-typck7hd.js → chunk-dny6d8cb.js} +1 -1
- package/dist/{chunk-70jrnyy7.js → chunk-dppcrtza.js} +1 -1
- package/dist/{chunk-f9sm5zpv.js → chunk-edjb0nj8.js} +2 -2
- package/dist/{chunk-70qeqwmv.js → chunk-eqkyyq74.js} +1 -1
- package/dist/{chunk-r7ewxac3.js → chunk-evv4435t.js} +2 -2
- package/dist/{chunk-de0m5hdq.js → chunk-ew1n9ren.js} +2 -2
- package/dist/{chunk-jtz7pp3g.js → chunk-fn1d98rk.js} +1 -1
- package/dist/{chunk-a5g5kcty.js → chunk-fn9d9c0p.js} +1 -1
- package/dist/{chunk-y6sxmz13.js → chunk-fxq25ecb.js} +1 -1
- package/dist/{chunk-2betnfpa.js → chunk-gmm8kxz8.js} +8 -8
- package/dist/{chunk-jzz2pyfe.js → chunk-h3fvshw6.js} +1 -1
- package/dist/{chunk-jns2gm24.js → chunk-h400r3je.js} +1 -1
- package/dist/{chunk-j2jxkm1q.js → chunk-h9zk4f8j.js} +2 -2
- package/dist/{chunk-4p6g1s80.js → chunk-hgek1k32.js} +1 -1
- package/dist/{chunk-07q031ex.js → chunk-hgfxdxx6.js} +1 -1
- package/dist/{chunk-eg6qxck8.js → chunk-hkr2pfe7.js} +1 -1
- package/dist/{chunk-77939vrr.js → chunk-hsg305f4.js} +1 -1
- package/dist/{chunk-n63meq6q.js → chunk-hvfe31vg.js} +3 -3
- package/dist/{chunk-sxkq8zva.js → chunk-hvp64wp7.js} +1 -1
- package/dist/{chunk-21wndtkr.js → chunk-j1vvdf9s.js} +1 -1
- package/dist/{chunk-99xm1afx.js → chunk-j26r74ae.js} +1 -1
- package/dist/{chunk-k8s1q1r4.js → chunk-j4grpbsr.js} +2 -2
- package/dist/{chunk-nd4pcs8v.js → chunk-j913ctp2.js} +1 -1
- package/dist/{chunk-83435g31.js → chunk-jr3wr41d.js} +1 -1
- package/dist/{chunk-0vwfzn0g.js → chunk-js0j49sy.js} +1 -1
- package/dist/{chunk-y8zhw7xc.js → chunk-k15cj6ec.js} +2 -2
- package/dist/{chunk-6ja4g9vr.js → chunk-k4k3zx1f.js} +2 -2
- package/dist/{chunk-atvnksbs.js → chunk-kf2kgr79.js} +1 -1
- package/dist/{chunk-aqkhtz9e.js → chunk-kk6pa96r.js} +1 -1
- package/dist/{chunk-12f6bymz.js → chunk-kpntmm1a.js} +1 -1
- package/dist/{chunk-aq1zss31.js → chunk-kt78gbmy.js} +1 -1
- package/dist/{chunk-edbj0m5e.js → chunk-m8nqn4c3.js} +1 -1
- package/dist/{chunk-f8bfe6n5.js → chunk-mbsfhffg.js} +1 -1
- package/dist/{chunk-xkwecrsf.js → chunk-mdjgrcnm.js} +1 -1
- package/dist/{chunk-kadp22w2.js → chunk-mq738cqx.js} +2 -2
- package/dist/{chunk-nap5nq7f.js → chunk-mtk8ceyv.js} +1 -1
- package/dist/{chunk-xbcj6vxt.js → chunk-mxxf762j.js} +2 -2
- package/dist/{chunk-8krseqme.js → chunk-mxys3hjz.js} +1 -1
- package/dist/{chunk-hxy2xabn.js → chunk-n4ezrfnj.js} +1 -1
- package/dist/{chunk-w868y7p1.js → chunk-n8b0nshb.js} +2 -2
- package/dist/{chunk-kgfk5kpm.js → chunk-ntzay94j.js} +1 -1
- package/dist/{chunk-1tkk3gw5.js → chunk-nwkqm4vd.js} +2 -2
- package/dist/{chunk-wq3yc62h.js → chunk-pazzht8y.js} +1 -1
- package/dist/{chunk-rgh3yp6f.js → chunk-pj1f124b.js} +1 -1
- package/dist/{chunk-d2grwsq4.js → chunk-pk50cqca.js} +3 -3
- package/dist/{chunk-g06msadd.js → chunk-psavp5er.js} +1 -1
- package/dist/{chunk-mqrbqe46.js → chunk-py7t8hsd.js} +2 -2
- package/dist/{chunk-23nxxtnd.js → chunk-q7bxwj6j.js} +1 -1
- package/dist/{chunk-v4gh9j5t.js → chunk-q7xq0ssr.js} +1 -1
- package/dist/{chunk-n3br443n.js → chunk-q8gmx221.js} +14 -2
- package/dist/{chunk-k4qkpqtn.js → chunk-qage5h75.js} +2 -2
- package/dist/{chunk-qe3t7h28.js → chunk-qepd1w4y.js} +2 -2
- package/dist/{chunk-d5mm4gyx.js → chunk-qh1rdqkx.js} +1 -1
- package/dist/{chunk-m4v4rfec.js → chunk-qnyz9xkd.js} +1 -1
- package/dist/{chunk-9j3m0wwc.js → chunk-qwfqvefq.js} +1 -1
- package/dist/{chunk-szjt3z8q.js → chunk-qyjv2cwn.js} +1 -1
- package/dist/{chunk-qq9atq78.js → chunk-r337e6xz.js} +1 -1
- package/dist/{chunk-nh04cme1.js → chunk-r6mvt3q5.js} +1 -1
- package/dist/{chunk-2pc7t67r.js → chunk-rapfn5we.js} +1 -1
- package/dist/{chunk-je1aeg65.js → chunk-rkn021f9.js} +1 -1
- package/dist/{chunk-mh8yzqj7.js → chunk-sfqrk33s.js} +1 -1
- package/dist/{chunk-2d3npxat.js → chunk-sq921ejh.js} +1 -1
- package/dist/{chunk-x8q21c7x.js → chunk-svkgr1tc.js} +1 -1
- package/dist/{chunk-m2x0j3b2.js → chunk-tfdybjbt.js} +1 -1
- package/dist/{chunk-va8v7aaa.js → chunk-tmd9b5n0.js} +1 -1
- package/dist/{chunk-t1kfaakc.js → chunk-tqa03s7h.js} +1 -1
- package/dist/{chunk-6djnvfb6.js → chunk-vhp2pvjd.js} +1 -1
- package/dist/{chunk-26csm20x.js → chunk-vnxnmpjt.js} +1 -1
- package/dist/{chunk-fqgs7575.js → chunk-vyakbkca.js} +1 -1
- package/dist/{chunk-8petembv.js → chunk-w52rcqsf.js} +1 -1
- package/dist/{chunk-9msqz1ce.js → chunk-wcmj24xs.js} +1 -1
- package/dist/{chunk-8czeptwt.js → chunk-wf35pqg1.js} +1 -1
- package/dist/{chunk-231fr3v5.js → chunk-wm1qhjjb.js} +2 -2
- package/dist/{chunk-yz0he4xy.js → chunk-wzzysv01.js} +1 -1
- package/dist/{chunk-0d3nt7qz.js → chunk-xbj481nq.js} +1 -1
- package/dist/{chunk-h9ty5vqp.js → chunk-xf8na0xf.js} +1 -1
- package/dist/{chunk-em4a823z.js → chunk-xgj4b92p.js} +2 -2
- package/dist/{chunk-scd23ktw.js → chunk-xpsp5cd9.js} +1 -1
- package/dist/{chunk-ww425e8k.js → chunk-xwf79jzx.js} +3 -3
- package/dist/{chunk-aft224h4.js → chunk-xy39sqpy.js} +1 -1
- package/dist/{chunk-r7gng4hm.js → chunk-xynv5wzg.js} +1 -1
- package/dist/{chunk-skxp6je3.js → chunk-xzezmrjw.js} +2 -2
- package/dist/{chunk-vnknj6dr.js → chunk-yh4w2w1k.js} +3 -3
- package/dist/{chunk-ns5swv4b.js → chunk-yq41btcf.js} +1 -1
- package/dist/{chunk-6v7wyvpp.js → chunk-yspbg4dk.js} +1 -1
- package/dist/{chunk-m5gm7dz8.js → chunk-yywdygw8.js} +1 -1
- package/dist/{chunk-23jq0apj.js → chunk-z9et7s0m.js} +1 -1
- package/dist/{chunk-z2d0zedq.js → chunk-zg00dqe8.js} +1 -1
- package/dist/{chunk-pj12f0p7.js → chunk-zpqfte56.js} +1 -1
- package/dist/{chunk-5a0b532h.js → chunk-zvvqvzd9.js} +1 -1
- package/dist/{chunk-hqtzcpmm.js → chunk-zx4f13ac.js} +1 -1
- package/dist/{chunk-5nna8qjj.js → chunk-zypkgnrc.js} +2 -2
- package/dist/components/Alert.d.ts +8 -1
- package/dist/components/FormDialog.d.ts +7 -1
- package/dist/components/Table.d.ts +4 -2
- package/dist/components/assistant-ui/elements/AgentCard.js +2 -2
- package/dist/components/assistant-ui/elements/ApprovalCard.js +2 -2
- package/dist/components/assistant-ui/elements/ArtifactCard.js +2 -2
- package/dist/components/assistant-ui/elements/AudioPlayer.js +2 -2
- package/dist/components/assistant-ui/elements/BackgroundInbox.js +2 -2
- package/dist/components/assistant-ui/elements/CanvasSplit.js +2 -2
- package/dist/components/assistant-ui/elements/ChatPanel.js +3 -3
- package/dist/components/assistant-ui/elements/CheckpointHistory.js +2 -2
- package/dist/components/assistant-ui/elements/Citation.js +2 -2
- package/dist/components/assistant-ui/elements/CodeRunner.js +2 -2
- package/dist/components/assistant-ui/elements/CommandPalette.js +5 -5
- package/dist/components/assistant-ui/elements/ComposerAttachButton.js +2 -2
- package/dist/components/assistant-ui/elements/ComposerAttachmentChip.js +2 -2
- package/dist/components/assistant-ui/elements/ComposerAttachments.js +3 -3
- package/dist/components/assistant-ui/elements/ComposerBar.js +3 -3
- package/dist/components/assistant-ui/elements/ComposerCommandItem.js +3 -3
- package/dist/components/assistant-ui/elements/ComposerContext.js +2 -2
- package/dist/components/assistant-ui/elements/ComposerInput.js +3 -3
- package/dist/components/assistant-ui/elements/ComposerMenuItem.js +2 -2
- package/dist/components/assistant-ui/elements/ComposerModelItem.js +3 -3
- package/dist/components/assistant-ui/elements/ComposerModelTrigger.js +2 -2
- package/dist/components/assistant-ui/elements/ComposerPersonItem.js +3 -3
- package/dist/components/assistant-ui/elements/ComposerSend.js +2 -2
- package/dist/components/assistant-ui/elements/ComposerToolbar.js +3 -3
- package/dist/components/assistant-ui/elements/ComposerVoiceButton.js +2 -2
- package/dist/components/assistant-ui/elements/ConnectionState.js +2 -2
- package/dist/components/assistant-ui/elements/ConversationSearch.js +3 -3
- package/dist/components/assistant-ui/elements/DataTable.js +3 -3
- package/dist/components/assistant-ui/elements/Diagram.js +2 -2
- package/dist/components/assistant-ui/elements/DiffViewer.js +3 -3
- package/dist/components/assistant-ui/elements/DiffViewerHeader.js +2 -2
- package/dist/components/assistant-ui/elements/DocumentReference.js +2 -2
- package/dist/components/assistant-ui/elements/DraftRestore.js +2 -2
- package/dist/components/assistant-ui/elements/EditMessage.js +2 -2
- package/dist/components/assistant-ui/elements/ElicitationForm.js +2 -2
- package/dist/components/assistant-ui/elements/EmptyStateComposer.js +3 -3
- package/dist/components/assistant-ui/elements/EmptyStateSuggestion.js +2 -2
- package/dist/components/assistant-ui/elements/ErrorState.js +2 -2
- package/dist/components/assistant-ui/elements/EveAskQuestion.js +3 -3
- package/dist/components/assistant-ui/elements/FeedbackDialog.js +2 -2
- package/dist/components/assistant-ui/elements/File.js +3 -3
- package/dist/components/assistant-ui/elements/GenerativeUi.js +7 -7
- package/dist/components/assistant-ui/elements/GeoMap.js +3 -3
- package/dist/components/assistant-ui/elements/GuardrailNotice.js +3 -3
- package/dist/components/assistant-ui/elements/Image.js +3 -3
- package/dist/components/assistant-ui/elements/ImageGallery.js +3 -3
- package/dist/components/assistant-ui/elements/ImageGeneration.js +2 -2
- package/dist/components/assistant-ui/elements/JobProgress.js +2 -2
- package/dist/components/assistant-ui/elements/LauncherBubble.js +2 -2
- package/dist/components/assistant-ui/elements/MapAnswer.js +2 -2
- package/dist/components/assistant-ui/elements/MarkdownText.js +3 -3
- package/dist/components/assistant-ui/elements/McpServerPanel.js +2 -2
- package/dist/components/assistant-ui/elements/MemoryChips.js +2 -2
- package/dist/components/assistant-ui/elements/MermaidDiagram.js +4 -4
- package/dist/components/assistant-ui/elements/MermaidZoom.js +3 -3
- package/dist/components/assistant-ui/elements/MessageActions.js +2 -2
- package/dist/components/assistant-ui/elements/MessageAttachments.js +2 -2
- package/dist/components/assistant-ui/elements/MessageBranches.js +2 -2
- package/dist/components/assistant-ui/elements/MessagePair.js +2 -2
- package/dist/components/assistant-ui/elements/MessageQueue.js +2 -2
- package/dist/components/assistant-ui/elements/MobileComposer.js +3 -3
- package/dist/components/assistant-ui/elements/ModelSelector.js +11 -11
- package/dist/components/assistant-ui/elements/ModelSelectorContent.js +10 -10
- package/dist/components/assistant-ui/elements/ModelSelectorEmpty.js +5 -5
- package/dist/components/assistant-ui/elements/ModelSelectorFocusAnchor.js +5 -5
- package/dist/components/assistant-ui/elements/ModelSelectorGroup.js +5 -5
- package/dist/components/assistant-ui/elements/ModelSelectorItem.js +5 -5
- package/dist/components/assistant-ui/elements/ModelSelectorList.js +7 -7
- package/dist/components/assistant-ui/elements/ModelSelectorSearch.js +5 -5
- package/dist/components/assistant-ui/elements/ModelSelectorSeparator.js +5 -5
- package/dist/components/assistant-ui/elements/Onboarding.js +2 -2
- package/dist/components/assistant-ui/elements/OptionList.js +2 -2
- package/dist/components/assistant-ui/elements/PermissionGrant.js +2 -2
- package/dist/components/assistant-ui/elements/PromptLibrary.js +3 -3
- package/dist/components/assistant-ui/elements/QuestionFlow.js +3 -3
- package/dist/components/assistant-ui/elements/QuotaBanner.js +2 -2
- package/dist/components/assistant-ui/elements/QuoteReply.js +2 -2
- package/dist/components/assistant-ui/elements/ReadAloud.js +2 -2
- package/dist/components/assistant-ui/elements/RecommendationCard.js +2 -2
- package/dist/components/assistant-ui/elements/RegenerateMenu.js +2 -2
- package/dist/components/assistant-ui/elements/ReviewableDiff.js +2 -2
- package/dist/components/assistant-ui/elements/SettingsPanel.js +2 -2
- package/dist/components/assistant-ui/elements/SharedConversation.js +2 -2
- package/dist/components/assistant-ui/elements/StoppedRun.js +2 -2
- package/dist/components/assistant-ui/elements/Suggestions.js +2 -2
- package/dist/components/assistant-ui/elements/TaskCard.js +2 -2
- package/dist/components/assistant-ui/elements/TerminalBlock.js +2 -2
- package/dist/components/assistant-ui/elements/ThreadList.js +2 -2
- package/dist/components/assistant-ui/elements/ThreadSearch.js +3 -3
- package/dist/components/assistant-ui/elements/TodoList.js +2 -2
- package/dist/components/assistant-ui/elements/ToolError.js +2 -2
- package/dist/components/assistant-ui/elements/ToolGroup.js +2 -2
- package/dist/components/assistant-ui/elements/TooltipIconButton.js +2 -2
- package/dist/components/assistant-ui/elements/VoiceConversation.js +2 -2
- package/dist/components/assistant-ui/elements/WebPreview.js +2 -2
- package/dist/components/assistant-ui/eveAskQuestionToolkit.js +4 -4
- package/dist/components/assistant-ui/index.js +104 -104
- package/dist/components/assistant-ui/native/AssistantModal.js +13 -13
- package/dist/components/assistant-ui/native/AssistantSidebar.js +12 -12
- package/dist/components/assistant-ui/native/AttachmentPreview.js +4 -4
- package/dist/components/assistant-ui/native/McpConfigDialog.js +3 -3
- package/dist/components/assistant-ui/native/MermaidDiagram.js +5 -5
- package/dist/components/assistant-ui/native/ModelSelector.js +13 -13
- package/dist/components/assistant-ui/native/Reasoning.js +4 -4
- package/dist/components/assistant-ui/native/TaskCard.js +6 -6
- package/dist/components/assistant-ui/native/TaskGroup.js +7 -7
- package/dist/components/assistant-ui/native/Thread.js +11 -11
- package/dist/components/assistant-ui/native/ThreadList.js +2 -2
- package/dist/components/assistant-ui/native/ThreadListSidebar.js +4 -4
- package/dist/components/assistant-ui/native/ToolFallbackRoot.js +2 -2
- package/dist/components/assistant-ui/native/VoiceConnectButton.js +2 -2
- package/dist/components/assistant-ui/native/VoiceControl.js +6 -6
- package/dist/components/assistant-ui/native/VoiceConversation.js +3 -3
- package/dist/components/assistant-ui/native/VoiceDisconnectButton.js +3 -3
- package/dist/components/assistant-ui/native/VoiceMuteButton.js +3 -3
- package/dist/components/assistant-ui/native/index.js +40 -40
- package/dist/components/calendar/index.js +2 -2
- package/dist/components/carousel/index.js +2 -2
- package/dist/components/command/index.js +4 -4
- package/dist/components/data-grid/index.js +6 -6
- package/dist/components/editor/index.js +2 -2
- package/dist/components/event-calendar/index.js +1 -1
- package/dist/components/file-upload/index.js +1 -1
- package/dist/components/gantt/index.js +3 -3
- package/dist/components/image-viewer/index.js +2 -2
- package/dist/components/input-otp/index.js +2 -2
- package/dist/components/json-render/index.js +12 -12
- package/dist/components/message-scroller/index.js +1 -1
- package/dist/components/persian-calendar/index.js +2 -2
- package/dist/components/questionnaire/index.js +1 -1
- package/dist/components/resizable/index.js +1 -1
- package/dist/components/sonner/index.js +1 -1
- package/dist/components/text-diff/index.js +1 -1
- package/dist/components/tree/index.js +1 -1
- package/dist/components/virtual-data-grid/index.js +4 -4
- package/dist/components/virtual-table/index.js +2 -2
- package/dist/index.d.ts +1 -1
- package/dist/index.js +14 -12
- package/dist/prototype.js +1 -1
- package/llms/components/actions/Button.md +26 -0
- package/llms/components/actions/ToolbarToggleChip.md +19 -1
- package/llms/components/data-display/Table.md +25 -0
- package/llms/components/feedback/Alert.md +137 -1
- package/llms/components/layout/ScrollArea.md +13 -0
- package/llms/components/overlays/FormDialog.md +78 -2
- package/llms/setup.md +3 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -302,6 +302,8 @@ Every action shows a visible affordance at rest. Interactive control edges use t
|
|
|
302
302
|
|
|
303
303
|
`ButtonLink` renders a native anchor with Button's `variant`, `size`, `align`, `truncate`, `fullWidth`, and `density` options, so navigation keeps the link role, Enter activation, and browser link behavior without `role="button"`. Pass `href` for a plain link, or a router link element through `render`, such as `<ButtonLink variant="outline" render={<Link to="/settings" />}>Settings</ButtonLink>`; class names, children, handlers, and refs merge with the rendered element. Its render callback receives typed slot and density state. Mark icons with `data-icon="inline-start"` or `data-icon="inline-end"` as in Button. Use `Button` for actions that do not navigate.
|
|
304
304
|
|
|
305
|
+
`Alert` centres a leading icon on its `AlertTitle` and `AlertDescription`. `AlertAction` puts one compact action at the end of the title's line. `AlertActions` puts actions in a row of their own below the text, aligned with it, and leaves the icon beside the text; use it instead of placing buttons that follow the message in the description. Make all of them direct children of `Alert`, with `AlertActions` last, after the text it belongs to. An alert is one `role="alert"` region that contains its text and its actions, in that order.
|
|
306
|
+
|
|
305
307
|
`Badge` renders a span by default. Use `render={<a href="https://base-ui.com/" />}` for navigation or a native button for actions; handlers and refs merge with the rendered element. Its render callback receives typed variant, density, and slot state. Mark icons with `data-icon="inline-start"` or `data-icon="inline-end"`; their spacing follows inline direction. Use the success and warning variants for those statuses. The `outline` variant is a status tag: a pill with a quiet edge and regular-weight muted text, so a tag such as "Required" never looks like the outline Button beside it.
|
|
306
308
|
|
|
307
309
|
Compose `CardHeader`, `CardTitle`, `CardDescription`, `CardAction`, `CardContent`, and `CardFooter` inside `Card`. Use a native heading inside `CardTitle` when the title belongs in the document outline. The `size="sm"` option reduces spacing; density controls the base inset. A leading image meets the frame without top padding, and cards without footers retain bottom padding. The `--card-spacing` CSS variable adjusts both section gaps and insets.
|
|
@@ -480,7 +482,7 @@ Embedded actions, links, menus, editable fields, and media controls retain their
|
|
|
480
482
|
|
|
481
483
|
`DialogContent size="wide"` uses a desktop maximum width of 576px; `size="narrow"` uses 192px, and the default uses 384px. Dialogs remain bounded by the viewport. `FieldGroup columns={2}` arranges fields in two columns on desktop and one on mobile.
|
|
482
484
|
|
|
483
|
-
`FormDialog` supplies a controlled dialog with a fixed heading and footer around a scrolling body. Supply `open`, `onOpenChange`, `title`, and children; `description`, `size`, and `density` are optional. With `onSubmit`, the body and actions use a native form: the caller handles `preventDefault`, validation, submission, and pending state. `submitLabel` adds the stock submit button, with optional `submitVariant` and `submitDisabled`; `primaryAction` supplies a custom action instead. Without `onSubmit`, custom actions can request consent without introducing a form. Without a primary action, `cancelLabel="Done"` gives a close-only footer. `isBusy` blocks native dismissal and disables the stock actions; callers disable their own inputs and custom actions. Pass already-rendered safe guidance through `error`.
|
|
485
|
+
`FormDialog` supplies a controlled dialog with a fixed heading and footer around a scrolling body. Supply `open`, `onOpenChange`, `title`, and children; `description`, `size`, and `density` are optional. With `onSubmit`, the body and actions use a native form: the caller handles `preventDefault`, validation, submission, and pending state. `submitLabel` adds the stock submit button, with optional `submitVariant` and `submitDisabled`; `primaryAction` supplies a custom action instead. Without `onSubmit`, custom actions can request consent without introducing a form. Without a primary action, `cancelLabel="Done"` gives a close-only footer. `isBusy` blocks native dismissal and disables the stock actions; callers disable their own inputs and custom actions. Pass already-rendered safe guidance through `error`, and a button that acts on it through `errorAction`, which renders below the message and only with an `error`. With `onSubmit`, that button is inside the form: use `Button`, or a native button with `type="button"`, because a native button without a type submits the form. The error is one `role="alert"` region that contains the message and then the action.
|
|
484
486
|
|
|
485
487
|
`ImagePicker` displays a 256px square preview with upload and unset buttons. Supply the existing `src`, a staged `file` (`undefined` for the existing image, `null` for removal), and `onFileChange`/`onClear` callbacks. It accepts PNG, JPEG, and GIF files and releases local preview URLs when they change or unmount. The consumer owns saving and removal confirmation.
|
|
486
488
|
|
|
@@ -3,13 +3,13 @@ import {
|
|
|
3
3
|
} from "./chunk-en44w1pn.js";
|
|
4
4
|
import {
|
|
5
5
|
Button2
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-hvfe31vg.js";
|
|
7
7
|
import {
|
|
8
8
|
Dialog2,
|
|
9
9
|
DialogTrigger2,
|
|
10
10
|
DialogContent2,
|
|
11
11
|
DialogTitle2
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-sq921ejh.js";
|
|
13
13
|
|
|
14
14
|
// src/components/assistant-ui/elements/MermaidZoom.tsx
|
|
15
15
|
import { useRef, useState as useState2 } from "react";
|
|
@@ -9,13 +9,13 @@ import {
|
|
|
9
9
|
} from "./chunk-en44w1pn.js";
|
|
10
10
|
import {
|
|
11
11
|
Button2
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-hvfe31vg.js";
|
|
13
13
|
import {
|
|
14
14
|
Dialog2,
|
|
15
15
|
DialogTrigger2,
|
|
16
16
|
DialogContent2,
|
|
17
17
|
DialogTitle2
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-sq921ejh.js";
|
|
19
19
|
import {
|
|
20
20
|
safeHref,
|
|
21
21
|
hostOf
|
|
@@ -16,7 +16,7 @@ import {
|
|
|
16
16
|
import {
|
|
17
17
|
buttonVariants2,
|
|
18
18
|
Button2
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-hvfe31vg.js";
|
|
20
20
|
import {
|
|
21
21
|
Dialog2,
|
|
22
22
|
DialogTrigger2,
|
|
@@ -24,7 +24,7 @@ import {
|
|
|
24
24
|
DialogHeader2,
|
|
25
25
|
DialogTitle2,
|
|
26
26
|
DialogDescription2
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-sq921ejh.js";
|
|
28
28
|
import {
|
|
29
29
|
Input2
|
|
30
30
|
} from "./chunk-t9ms87s9.js";
|
|
@@ -24,7 +24,7 @@ import {
|
|
|
24
24
|
ButtonSizeContext,
|
|
25
25
|
buttonVariants2,
|
|
26
26
|
Button2
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-hvfe31vg.js";
|
|
28
28
|
import {
|
|
29
29
|
MenuPortal,
|
|
30
30
|
MenuPopup,
|
|
@@ -43,8 +43,9 @@ import {
|
|
|
43
43
|
import {
|
|
44
44
|
Alert2,
|
|
45
45
|
AlertTitle2,
|
|
46
|
-
AlertDescription2
|
|
47
|
-
|
|
46
|
+
AlertDescription2,
|
|
47
|
+
AlertActions2
|
|
48
|
+
} from "./chunk-q8gmx221.js";
|
|
48
49
|
import {
|
|
49
50
|
Dialog2,
|
|
50
51
|
DialogClose2,
|
|
@@ -53,10 +54,10 @@ import {
|
|
|
53
54
|
DialogFooter2,
|
|
54
55
|
DialogTitle2,
|
|
55
56
|
DialogDescription2
|
|
56
|
-
} from "./chunk-
|
|
57
|
+
} from "./chunk-sq921ejh.js";
|
|
57
58
|
import {
|
|
58
59
|
ScrollArea2
|
|
59
|
-
} from "./chunk-
|
|
60
|
+
} from "./chunk-edjb0nj8.js";
|
|
60
61
|
import {
|
|
61
62
|
Skeleton2
|
|
62
63
|
} from "./chunk-1fzwfn11.js";
|
|
@@ -102,7 +103,7 @@ import {
|
|
|
102
103
|
ComboboxChip2,
|
|
103
104
|
ComboboxChipsInput2,
|
|
104
105
|
useComboboxAnchor2
|
|
105
|
-
} from "./chunk-
|
|
106
|
+
} from "./chunk-ew1n9ren.js";
|
|
106
107
|
import {
|
|
107
108
|
Empty2,
|
|
108
109
|
EmptyHeader2,
|
|
@@ -160,7 +161,7 @@ import {
|
|
|
160
161
|
SidebarMenu2,
|
|
161
162
|
SidebarMenuItem2,
|
|
162
163
|
SidebarMenuButton2
|
|
163
|
-
} from "./chunk-
|
|
164
|
+
} from "./chunk-pj1f124b.js";
|
|
164
165
|
import {
|
|
165
166
|
AnalyticsButton
|
|
166
167
|
} from "./chunk-tcefvfr8.js";
|
|
@@ -347,9 +348,11 @@ function FormDialog2({
|
|
|
347
348
|
primaryAction,
|
|
348
349
|
cancelLabel = "Cancel",
|
|
349
350
|
error,
|
|
351
|
+
errorAction,
|
|
350
352
|
children
|
|
351
353
|
}) {
|
|
352
354
|
const isFullscreen = size === "fullscreen";
|
|
355
|
+
const hasErrorAction = errorAction != null && typeof errorAction !== "boolean";
|
|
353
356
|
const body = /* @__PURE__ */ jsxs2(Fragment, {
|
|
354
357
|
children: [
|
|
355
358
|
/* @__PURE__ */ jsx4(ScrollArea2, {
|
|
@@ -368,6 +371,9 @@ function FormDialog2({
|
|
|
368
371
|
}),
|
|
369
372
|
/* @__PURE__ */ jsx4(AlertDescription2, {
|
|
370
373
|
children: error
|
|
374
|
+
}),
|
|
375
|
+
hasErrorAction && /* @__PURE__ */ jsx4(AlertActions2, {
|
|
376
|
+
children: errorAction
|
|
371
377
|
})
|
|
372
378
|
]
|
|
373
379
|
})
|
|
@@ -3723,20 +3729,23 @@ function ToolbarToggleChip2({
|
|
|
3723
3729
|
trackedChange(pressed !== true);
|
|
3724
3730
|
},
|
|
3725
3731
|
children: [
|
|
3726
|
-
!swatch && !hideLabel &&
|
|
3727
|
-
"aria-hidden": "true",
|
|
3728
|
-
"data-slot": "toolbar-toggle-chip-check",
|
|
3729
|
-
className: "size-3.5 shrink-0"
|
|
3730
|
-
}),
|
|
3731
|
-
!swatch && !hideLabel && pressed === "mixed" && /* @__PURE__ */ jsx37(MinusIcon, {
|
|
3732
|
-
"aria-hidden": "true",
|
|
3733
|
-
"data-slot": "toolbar-toggle-chip-mixed",
|
|
3734
|
-
className: "size-3.5 shrink-0"
|
|
3735
|
-
}),
|
|
3736
|
-
!swatch && !hideLabel && pressed === false && /* @__PURE__ */ jsx37("span", {
|
|
3732
|
+
!swatch && !hideLabel && /* @__PURE__ */ jsxs24("span", {
|
|
3737
3733
|
"aria-hidden": "true",
|
|
3738
|
-
|
|
3739
|
-
|
|
3734
|
+
className: "grid size-3.5 shrink-0 place-items-center",
|
|
3735
|
+
children: [
|
|
3736
|
+
pressed === true && /* @__PURE__ */ jsx37(CheckIcon3, {
|
|
3737
|
+
"data-slot": "toolbar-toggle-chip-check",
|
|
3738
|
+
className: "size-3.5"
|
|
3739
|
+
}),
|
|
3740
|
+
pressed === "mixed" && /* @__PURE__ */ jsx37(MinusIcon, {
|
|
3741
|
+
"data-slot": "toolbar-toggle-chip-mixed",
|
|
3742
|
+
className: "size-3.5"
|
|
3743
|
+
}),
|
|
3744
|
+
pressed === false && /* @__PURE__ */ jsx37("span", {
|
|
3745
|
+
"data-slot": "toolbar-toggle-chip-indicator",
|
|
3746
|
+
className: "size-2.5 rounded-full border border-current/70"
|
|
3747
|
+
})
|
|
3748
|
+
]
|
|
3740
3749
|
}),
|
|
3741
3750
|
swatch && /* @__PURE__ */ jsx37("span", {
|
|
3742
3751
|
"aria-hidden": "true",
|
|
@@ -12,31 +12,31 @@ import {
|
|
|
12
12
|
} from "./chunk-gb16cwpw.js";
|
|
13
13
|
import {
|
|
14
14
|
ModelSelectorFocusAnchor2
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-mxys3hjz.js";
|
|
16
16
|
import {
|
|
17
17
|
ModelSelectorSearch2
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-mtk8ceyv.js";
|
|
19
19
|
import {
|
|
20
20
|
ModelSelectorEmpty2
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-j26r74ae.js";
|
|
22
22
|
import {
|
|
23
23
|
ModelSelectorItem2
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-tfdybjbt.js";
|
|
25
25
|
import {
|
|
26
26
|
ModelSelectorList2
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-yh4w2w1k.js";
|
|
28
28
|
import {
|
|
29
29
|
ModelSelectorEffort2
|
|
30
30
|
} from "./chunk-pzr1f2tz.js";
|
|
31
31
|
import {
|
|
32
32
|
ModelSelectorContent2
|
|
33
|
-
} from "./chunk-
|
|
33
|
+
} from "./chunk-9pngkh5e.js";
|
|
34
34
|
import {
|
|
35
35
|
ModelSelectorGroup2
|
|
36
|
-
} from "./chunk-
|
|
36
|
+
} from "./chunk-kpntmm1a.js";
|
|
37
37
|
import {
|
|
38
38
|
ModelSelectorSeparator2
|
|
39
|
-
} from "./chunk-
|
|
39
|
+
} from "./chunk-cxgxxt62.js";
|
|
40
40
|
|
|
41
41
|
// src/components/assistant-ui/native/ModelSelector.tsx
|
|
42
42
|
import { memo, useEffect } from "react";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
MermaidZoom2
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-0g1djv41.js";
|
|
4
4
|
import {
|
|
5
5
|
MermaidDiagram3
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-77y8k6pe.js";
|
|
7
7
|
|
|
8
8
|
// src/components/assistant-ui/native/MermaidDiagram.tsx
|
|
9
9
|
import { memo } from "react";
|
|
@@ -4,19 +4,19 @@ import {
|
|
|
4
4
|
} from "./chunk-bf8kbj33.js";
|
|
5
5
|
import {
|
|
6
6
|
Command2
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-j4grpbsr.js";
|
|
8
8
|
import {
|
|
9
9
|
useModelSelectorContext
|
|
10
10
|
} from "./chunk-ydfx8r6d.js";
|
|
11
11
|
import {
|
|
12
12
|
ModelSelectorFocusAnchor2
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-mxys3hjz.js";
|
|
14
14
|
import {
|
|
15
15
|
ModelSelectorSearch2
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-mtk8ceyv.js";
|
|
17
17
|
import {
|
|
18
18
|
ModelSelectorList2
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-yh4w2w1k.js";
|
|
20
20
|
import {
|
|
21
21
|
ModelSelectorEffort2
|
|
22
22
|
} from "./chunk-pzr1f2tz.js";
|
|
@@ -3,17 +3,17 @@ import {
|
|
|
3
3
|
} from "./chunk-en44w1pn.js";
|
|
4
4
|
import {
|
|
5
5
|
MarkdownText2
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-fxq25ecb.js";
|
|
7
7
|
import {
|
|
8
8
|
formatUnknownValue2,
|
|
9
9
|
ToolFallbackError2,
|
|
10
10
|
offersInterruptAction2,
|
|
11
11
|
ToolFallbackApproval2,
|
|
12
12
|
ToolFallback2
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-pazzht8y.js";
|
|
14
14
|
import {
|
|
15
15
|
TaskCard3
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-3gde9nfw.js";
|
|
17
17
|
import {
|
|
18
18
|
taskStateOf,
|
|
19
19
|
taskLabel,
|
|
@@ -3,13 +3,13 @@ import {
|
|
|
3
3
|
} from "./chunk-xg439a2k.js";
|
|
4
4
|
import {
|
|
5
5
|
VoiceConnectButton2
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-h3fvshw6.js";
|
|
7
7
|
import {
|
|
8
8
|
VoiceMuteButton2
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-d8ysy1af.js";
|
|
10
10
|
import {
|
|
11
11
|
VoiceDisconnectButton2
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-qyjv2cwn.js";
|
|
13
13
|
|
|
14
14
|
// src/components/assistant-ui/native/VoiceControl.tsx
|
|
15
15
|
import { AuiIf } from "@assistant-ui/react";
|
|
@@ -82,6 +82,7 @@ function TableHead2({
|
|
|
82
82
|
density,
|
|
83
83
|
className,
|
|
84
84
|
truncate = false,
|
|
85
|
+
wrap = false,
|
|
85
86
|
textAlign = "start",
|
|
86
87
|
visibleFrom,
|
|
87
88
|
...props
|
|
@@ -89,7 +90,7 @@ function TableHead2({
|
|
|
89
90
|
return /* @__PURE__ */ jsx("th", {
|
|
90
91
|
"data-density": density,
|
|
91
92
|
"data-slot": "table-head",
|
|
92
|
-
className: cn2("h-control-lg px-control-x align-middle leading-(--ag-cell-leading) font-semibold whitespace-nowrap text-foreground [&:has([role=checkbox])]:pe-0 [&_[data-slot=button]]:font-[weight:inherit]", alignmentClasses[textAlign], truncate && "truncate", visibleFrom && visibilityClasses[visibleFrom], className),
|
|
93
|
+
className: cn2("h-control-lg px-control-x align-middle leading-(--ag-cell-leading) font-semibold whitespace-nowrap text-foreground [&:has([role=checkbox])]:pe-0 [&_[data-slot=button]]:font-[weight:inherit]", alignmentClasses[textAlign], truncate && "truncate", wrap && "whitespace-normal", visibleFrom && visibilityClasses[visibleFrom], className),
|
|
93
94
|
...props
|
|
94
95
|
});
|
|
95
96
|
}
|
|
@@ -97,6 +98,7 @@ function TableCell2({
|
|
|
97
98
|
density,
|
|
98
99
|
className,
|
|
99
100
|
truncate = false,
|
|
101
|
+
wrap = false,
|
|
100
102
|
textAlign,
|
|
101
103
|
visibleFrom,
|
|
102
104
|
...props
|
|
@@ -104,7 +106,7 @@ function TableCell2({
|
|
|
104
106
|
return /* @__PURE__ */ jsx("td", {
|
|
105
107
|
"data-density": density,
|
|
106
108
|
"data-slot": "table-cell",
|
|
107
|
-
className: cn2("px-control-x py-control-gap align-middle leading-(--ag-cell-leading) whitespace-nowrap [&:has([role=checkbox])]:pe-0", textAlign && alignmentClasses[textAlign], truncate && "truncate", visibleFrom && visibilityClasses[visibleFrom], className),
|
|
109
|
+
className: cn2("px-control-x py-control-gap align-middle leading-(--ag-cell-leading) whitespace-nowrap [&:has([role=checkbox])]:pe-0", textAlign && alignmentClasses[textAlign], truncate && "truncate", wrap && "whitespace-normal", visibleFrom && visibilityClasses[visibleFrom], className),
|
|
108
110
|
...props
|
|
109
111
|
});
|
|
110
112
|
}
|
|
@@ -3,14 +3,14 @@ import {
|
|
|
3
3
|
} from "./chunk-en44w1pn.js";
|
|
4
4
|
import {
|
|
5
5
|
Button2
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-hvfe31vg.js";
|
|
7
7
|
import {
|
|
8
8
|
TASK_PAGE_SIZE,
|
|
9
9
|
taskStateOf
|
|
10
10
|
} from "./chunk-1s7af44v.js";
|
|
11
11
|
import {
|
|
12
12
|
TaskCard2
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-9rf7cxea.js";
|
|
14
14
|
|
|
15
15
|
// src/components/assistant-ui/native/TaskGroup.tsx
|
|
16
16
|
import { useAui, useAuiState } from "@assistant-ui/react";
|