@alexgorbatchev/shadcn 0.0.200 → 0.0.202
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 +1 -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-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-qcacpahw.js → chunk-hcptnha3.js} +72 -28
- 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-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-yvq8emse.js → chunk-wm1qhjjb.js} +1 -1
- 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/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 +2 -2
- 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 +103 -103
- 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 +1 -1
- package/dist/components/json-render/index.js +11 -11
- 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.js +10 -10
- package/dist/prototype.js +1 -1
- package/dist/theme.css +4 -2
- package/llms/components/actions/Button.md +52 -0
- package/llms/components/actions/ToolbarToggleChip.md +50 -1
- package/llms/components/data-display/Table.md +25 -0
- package/llms/components/layout/ScrollArea.md +13 -0
- package/llms/setup.md +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -211,7 +211,7 @@ Use `<DensityProvider density="desktop" touchOnMobile>` for 17px base text, 15px
|
|
|
211
211
|
|
|
212
212
|
`useTheme()` returns `theme`, `resolvedTheme`, `setTheme`, and `preset`. Call `setTheme("light")`, `setTheme("dark")`, or `setTheme("system")` from a component inside the provider.
|
|
213
213
|
|
|
214
|
-
Use `<ThemeProvider preset="shadcn" defaultTheme="system">` for the [default shadcn Neutral palette](https://ui.shadcn.com/docs/theming), system sans-serif text, and its rounded corner scale. The default `devhost` preset uses the package's monospace design and sharp corners. Both presets support light, dark, and system modes, including portaled content. Code retains the monospace font. Density, component composition, and package-specific status colors remain independent of the preset.
|
|
214
|
+
Use `<ThemeProvider preset="shadcn" defaultTheme="system">` for the [default shadcn Neutral palette](https://ui.shadcn.com/docs/theming), system sans-serif text, and its rounded corner scale. The default `devhost` preset uses the package's monospace design and sharp corners. Both presets support light, dark, and system modes, including portaled content. The Neutral preset follows upstream's token values with one exception: its light focus ring is `oklch(0.556 0 0)` instead of upstream's `oklch(0.708 0 0)`, because upstream's measures about 2.6:1 on white and a focus indicator needs at least 3:1 (WCAG 2.2 SC 1.4.11). Code retains the monospace font. Density, component composition, and package-specific status colors remain independent of the preset.
|
|
215
215
|
|
|
216
216
|
The preset is controlled by the prop; changing it updates the document without changing the saved color-mode preference. Persist that prop in your application if needed. Storybook exposes the same choice in its **Design** toolbar. For a page styled before React mounts, set `data-theme-preset="shadcn"` and `data-theme="light"` or `"dark"` on `<html>` to match the provider. The existing `theme.css` import and `@source` setup cover both presets.
|
|
217
217
|
|
|
@@ -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";
|
|
@@ -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";
|
|
@@ -16,12 +16,12 @@ function ScrollArea2({
|
|
|
16
16
|
return /* @__PURE__ */ jsxs(ScrollAreaPrimitive.Root, {
|
|
17
17
|
"data-density": density,
|
|
18
18
|
"data-slot": "scroll-area",
|
|
19
|
-
className: (state) => cn2("relative flex min-h-0 flex-col", grow && "min-w-0 flex-1", typeof className === "function" ? className(state) : className),
|
|
19
|
+
className: (state) => cn2("group/scroll-area relative flex min-h-0 flex-col", grow && "min-w-0 flex-1", typeof className === "function" ? className(state) : className),
|
|
20
20
|
...props,
|
|
21
21
|
children: [
|
|
22
22
|
/* @__PURE__ */ jsx(ScrollAreaPrimitive.Viewport, {
|
|
23
23
|
"data-slot": "scroll-area-viewport",
|
|
24
|
-
className: "size-full min-h-0 flex-1 rounded-[inherit] transition-[color,box-shadow] outline-none focus-visible:ring-1 focus-visible:ring-ring focus-visible:outline-1",
|
|
24
|
+
className: "size-full min-h-0 flex-1 rounded-[inherit] transition-[color,box-shadow] outline-none focus-visible:ring-1 focus-visible:ring-ring focus-visible:outline-1 group-data-has-overflow-x/scroll-area:group-has-[>[data-slot=scroll-area-scrollbar][data-orientation=horizontal]]/scroll-area:pb-2.5",
|
|
25
25
|
children
|
|
26
26
|
}),
|
|
27
27
|
scrollbars,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Button2
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-hvfe31vg.js";
|
|
4
4
|
import {
|
|
5
5
|
Table2,
|
|
6
6
|
TableHeader2,
|
|
@@ -10,7 +10,7 @@ import {
|
|
|
10
10
|
TableCell2,
|
|
11
11
|
TableColumnGroup2,
|
|
12
12
|
TableColumn2
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-a33b2w22.js";
|
|
14
14
|
import {
|
|
15
15
|
OptionSelect2
|
|
16
16
|
} from "./chunk-h45mqwpq.js";
|
|
@@ -11,13 +11,13 @@ import {
|
|
|
11
11
|
} from "./chunk-en44w1pn.js";
|
|
12
12
|
import {
|
|
13
13
|
Button2
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-hvfe31vg.js";
|
|
15
15
|
import {
|
|
16
16
|
InputGroup2,
|
|
17
17
|
InputGroupAddon2,
|
|
18
18
|
InputGroupButton2,
|
|
19
19
|
InputGroupInput2
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-zg00dqe8.js";
|
|
21
21
|
import {
|
|
22
22
|
useAnalyticsCallback
|
|
23
23
|
} from "./chunk-5mydsjp3.js";
|