@alexgorbatchev/shadcn 0.0.173 → 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.
- package/dist/{chunk-kjwz1wbq.js → chunk-048mry3a.js} +1 -1
- package/dist/{chunk-r21y6ybe.js → chunk-0evygc14.js} +1 -1
- package/dist/{chunk-a37em07p.js → chunk-1n63jgaq.js} +4 -4
- package/dist/{chunk-tjp1fmpg.js → chunk-1pceh0qm.js} +1 -1
- package/dist/{chunk-pqvx4k4r.js → chunk-1tkk3gw5.js} +2 -2
- package/dist/{chunk-zwk2tcna.js → chunk-21pbbe1z.js} +1 -1
- package/dist/{chunk-m4xk69mz.js → chunk-21wndtkr.js} +1 -1
- package/dist/{chunk-fsw9mz8g.js → chunk-23jq0apj.js} +1 -1
- package/dist/{chunk-32gjs8rt.js → chunk-23nxxtnd.js} +1 -1
- package/dist/{chunk-rwt2drg8.js → chunk-26csm20x.js} +1 -1
- package/dist/{chunk-0y9c5qft.js → chunk-26t5yajy.js} +19 -13
- package/dist/{chunk-fqj89k8k.js → chunk-2betnfpa.js} +8 -8
- package/dist/{chunk-t51q49wh.js → chunk-2d3npxat.js} +1 -1
- package/dist/{chunk-rzcgh935.js → chunk-2hahvm8t.js} +8 -8
- package/dist/{chunk-ymjhjr7p.js → chunk-2pc7t67r.js} +2 -2
- package/dist/{chunk-vb8e7ye5.js → chunk-2q3wbf8n.js} +2 -2
- package/dist/{chunk-8m1p8jdk.js → chunk-3dx7j5yq.js} +2 -2
- package/dist/{chunk-p2s2ttk3.js → chunk-3f26emj1.js} +1 -1
- package/dist/{chunk-s6akghss.js → chunk-3ft0zbbf.js} +1 -1
- package/dist/{chunk-c5rnqwpb.js → chunk-3kswfws9.js} +1 -1
- package/dist/{chunk-y9yanzkc.js → chunk-4ehtkgtj.js} +2 -2
- package/dist/{chunk-7dzhtkc2.js → chunk-4p6g1s80.js} +1 -1
- package/dist/{chunk-5rkjveh5.js → chunk-4svvcdqy.js} +1 -1
- package/dist/{chunk-7cq1s2ey.js → chunk-55vpb7v2.js} +6 -2
- package/dist/{chunk-vhchh03t.js → chunk-5a0b532h.js} +1 -1
- package/dist/{chunk-jcrzxq0t.js → chunk-5nch5bsy.js} +1 -1
- package/dist/{chunk-xxmt6qtq.js → chunk-5nna8qjj.js} +2 -2
- package/dist/{chunk-3dgq2sjd.js → chunk-5xekygak.js} +1 -1
- package/dist/{chunk-z5v1gka0.js → chunk-6cf0q7v2.js} +1 -1
- package/dist/{chunk-qb0xgt7m.js → chunk-6djnvfb6.js} +1 -1
- package/dist/{chunk-v7tx0c9r.js → chunk-6v7wyvpp.js} +1 -1
- package/dist/{chunk-5dy17g85.js → chunk-6xaksr48.js} +2 -2
- package/dist/{chunk-mm8dk5ra.js → chunk-70jrnyy7.js} +1 -1
- package/dist/{chunk-wz47t201.js → chunk-77939vrr.js} +1 -1
- package/dist/{chunk-zg527nkd.js → chunk-83435g31.js} +1 -1
- package/dist/{chunk-j753mwcb.js → chunk-8czeptwt.js} +1 -1
- package/dist/{chunk-sqbq60t6.js → chunk-8kc9e86g.js} +2 -2
- package/dist/{chunk-sh4b3bjm.js → chunk-8petembv.js} +1 -1
- package/dist/{chunk-7xq52vpp.js → chunk-8qk4c4t9.js} +1 -1
- package/dist/{chunk-yhh65tck.js → chunk-95q78xjc.js} +1 -1
- package/dist/{chunk-1hkvv7wz.js → chunk-9crjmpxq.js} +2 -2
- package/dist/{chunk-dyxr4kqd.js → chunk-9e930s9w.js} +3 -3
- package/dist/{chunk-xz9fgybh.js → chunk-9j3m0wwc.js} +1 -1
- package/dist/{chunk-74c8ztj2.js → chunk-9msqz1ce.js} +1 -1
- package/dist/{chunk-zdv11ddh.js → chunk-a2zjer9q.js} +2 -2
- package/dist/{chunk-r0km0ea3.js → chunk-a43yf1c4.js} +1 -1
- package/dist/{chunk-dtnbjn07.js → chunk-a5g5kcty.js} +2 -2
- package/dist/{chunk-y23v87vn.js → chunk-a7ktat27.js} +3 -3
- package/dist/{chunk-v7jm5e3f.js → chunk-a8e3x6q7.js} +3 -3
- package/dist/{chunk-74mkxxmx.js → chunk-aft224h4.js} +1 -1
- package/dist/{chunk-3k3e0krj.js → chunk-aq1zss31.js} +1 -1
- package/dist/{chunk-wrhr4bch.js → chunk-aqkhtz9e.js} +3 -3
- package/dist/{chunk-y1jfszn8.js → chunk-as82edkz.js} +1 -1
- package/dist/{chunk-mshakme9.js → chunk-cgj3ade2.js} +1 -1
- package/dist/{chunk-6g42yxeh.js → chunk-d2grwsq4.js} +3 -3
- package/dist/{chunk-d657zq8e.js → chunk-d3x4abk0.js} +1 -1
- package/dist/{chunk-1veyspm9.js → chunk-d5mm4gyx.js} +1 -1
- package/dist/{chunk-nqn07jq8.js → chunk-d5vtk342.js} +1 -1
- package/dist/{chunk-7wgh63m1.js → chunk-dxvb8d13.js} +1 -1
- package/dist/{chunk-xzeg3y7f.js → chunk-e4bd3aax.js} +1 -1
- package/dist/{chunk-8qmwrkpn.js → chunk-e5bk2dkb.js} +1 -1
- package/dist/{chunk-dn8rch62.js → chunk-e5z1pw8q.js} +3 -3
- package/dist/{chunk-sfb435p6.js → chunk-e6jxs4se.js} +1 -1
- package/dist/{chunk-ha5146dk.js → chunk-edbj0m5e.js} +1 -1
- package/dist/{chunk-den4dsx5.js → chunk-eg6qxck8.js} +1 -1
- package/dist/{chunk-0aprrde1.js → chunk-em4a823z.js} +2 -2
- package/dist/{chunk-s5fdr1aa.js → chunk-f5e7ez2z.js} +3 -3
- package/dist/{chunk-m4jwvfx8.js → chunk-f7sjzbtx.js} +1 -1
- package/dist/{chunk-mxbt6mp3.js → chunk-f8bfe6n5.js} +1 -1
- package/dist/{chunk-733phadd.js → chunk-f9v5v07t.js} +1 -1
- package/dist/{chunk-q39qspgf.js → chunk-fqgs7575.js} +2 -2
- package/dist/{chunk-h9vqm33h.js → chunk-g06msadd.js} +1 -1
- package/dist/{chunk-60e75k2w.js → chunk-ggek1mdz.js} +4 -2
- package/dist/{chunk-0m0smxv5.js → chunk-gpjyhfem.js} +1 -1
- package/dist/{chunk-nwtfh3ah.js → chunk-gqbf88mg.js} +1 -1
- package/dist/{chunk-mgf8q3f0.js → chunk-h801s9a4.js} +1 -1
- package/dist/{chunk-m36hnr1y.js → chunk-h9ty5vqp.js} +1 -1
- package/dist/{chunk-c5sva46s.js → chunk-hh5wsw6k.js} +1 -1
- package/dist/{chunk-feazm1c2.js → chunk-hjqcaa9b.js} +2 -2
- package/dist/{chunk-cfj5t0xn.js → chunk-hxy2xabn.js} +1 -1
- package/dist/{chunk-yj4m27d8.js → chunk-je1aeg65.js} +1 -1
- package/dist/{chunk-wtjk2y1e.js → chunk-jjxrk4vk.js} +4 -4
- package/dist/{chunk-2yt77f2x.js → chunk-jns2gm24.js} +1 -1
- package/dist/{chunk-x7bmm84y.js → chunk-jtz7pp3g.js} +1 -1
- package/dist/{chunk-ckyggyc0.js → chunk-jzz2pyfe.js} +1 -1
- package/dist/{chunk-aewsn3jv.js → chunk-k4qkpqtn.js} +2 -2
- package/dist/{chunk-hs24xfh2.js → chunk-kch8qvbf.js} +2 -2
- package/dist/{chunk-wjp55kz9.js → chunk-kgfk5kpm.js} +1 -1
- package/dist/{chunk-y7v43qjc.js → chunk-m4v4rfec.js} +1 -1
- package/dist/{chunk-xxvkdn9a.js → chunk-mh8yzqj7.js} +1 -1
- package/dist/{chunk-kckccw53.js → chunk-my884zez.js} +1 -1
- package/dist/{chunk-ck0d0n1h.js → chunk-n63meq6q.js} +1 -1
- package/dist/{chunk-090bk4b1.js → chunk-nd4pcs8v.js} +1 -1
- package/dist/{chunk-qawb71cp.js → chunk-nh04cme1.js} +1 -1
- package/dist/{chunk-thqzhv1f.js → chunk-nhn079xz.js} +1 -1
- package/dist/{chunk-qxb5yxhs.js → chunk-nhx25e89.js} +2 -2
- package/dist/{chunk-x9qph1g4.js → chunk-p53tysw2.js} +1 -1
- package/dist/{chunk-0661am5g.js → chunk-pb7kvbty.js} +2 -2
- package/dist/{chunk-y289w8y3.js → chunk-pmez897k.js} +1 -1
- package/dist/{chunk-rv39y071.js → chunk-pmt44155.js} +1 -1
- package/dist/{chunk-vwfz498s.js → chunk-qg25yzcp.js} +1 -1
- package/dist/{chunk-p0wnqb45.js → chunk-qnahe4by.js} +1 -1
- package/dist/{chunk-f5exdxqn.js → chunk-qp5yga27.js} +1 -1
- package/dist/{chunk-s08eftds.js → chunk-qq9atq78.js} +1 -1
- package/dist/{chunk-myhnyggx.js → chunk-r6c6a6vj.js} +1 -1
- package/dist/{chunk-c2zp3d1y.js → chunk-r7gng4hm.js} +1 -1
- package/dist/{chunk-m1w9wz7q.js → chunk-rgh3yp6f.js} +2 -2
- package/dist/{chunk-rt278jzc.js → chunk-rhkgc035.js} +1 -1
- package/dist/{chunk-176faked.js → chunk-s731w97q.js} +1 -1
- package/dist/{chunk-a2x18tat.js → chunk-skxp6je3.js} +2 -2
- package/dist/{chunk-cjfd69vt.js → chunk-sv7343sv.js} +12 -3
- package/dist/{chunk-heyac4c4.js → chunk-sxkq8zva.js} +1 -1
- package/dist/{chunk-gmsrqd9e.js → chunk-szjt3z8q.js} +1 -1
- package/dist/{chunk-sgb5fdqx.js → chunk-t1kfaakc.js} +1 -1
- package/dist/{chunk-ybrz323e.js → chunk-t1xan6pw.js} +2 -2
- package/dist/{chunk-7vg045gd.js → chunk-t9ms87s9.js} +1 -1
- package/dist/{chunk-4tw0ywrj.js → chunk-teyt8g6d.js} +1 -1
- package/dist/{chunk-5ez5vgkn.js → chunk-tjy21ppg.js} +10 -3
- package/dist/{chunk-14efnwqz.js → chunk-tqwb4mfs.js} +2 -2
- package/dist/{chunk-pmcmv2g7.js → chunk-trahv0ax.js} +4 -4
- package/dist/{chunk-djbdg1kw.js → chunk-typck7hd.js} +1 -1
- package/dist/{chunk-ghtx7jmf.js → chunk-v0mygtss.js} +1 -1
- package/dist/{chunk-e9a723tp.js → chunk-v4gh9j5t.js} +1 -1
- package/dist/{chunk-wyzzz5dx.js → chunk-va8v7aaa.js} +1 -1
- package/dist/{chunk-p51p95er.js → chunk-vfgp11y4.js} +1 -1
- package/dist/{chunk-xxcvefgz.js → chunk-vspw38yj.js} +3 -3
- package/dist/{chunk-jdva5ws0.js → chunk-w1j900p6.js} +4 -4
- package/dist/{chunk-4jzw6w10.js → chunk-wgrc2f10.js} +2 -2
- package/dist/{chunk-yzxv5xmq.js → chunk-wq3yc62h.js} +2 -2
- package/dist/{chunk-2bk8mbv7.js → chunk-ww425e8k.js} +3 -3
- package/dist/{chunk-8dje2jsz.js → chunk-x8q21c7x.js} +1 -1
- package/dist/{chunk-cztqmhyn.js → chunk-xbcj6vxt.js} +1 -1
- package/dist/{chunk-fx48zd4a.js → chunk-xyycxj8w.js} +1 -1
- package/dist/{chunk-78em5nfr.js → chunk-y6sxmz13.js} +1 -1
- package/dist/{chunk-65gkzsw5.js → chunk-yqp07vda.js} +1 -1
- package/dist/{chunk-4qvq1rht.js → chunk-yw6txv14.js} +2 -2
- package/dist/{chunk-h0h9nhyz.js → chunk-ywmembnc.js} +1 -1
- package/dist/{chunk-rghpa4yc.js → chunk-z4gg2ny5.js} +1 -1
- package/dist/{chunk-c51w3hbj.js → chunk-zhpszpjm.js} +1 -1
- package/dist/{chunk-eztxhzvv.js → chunk-zvvs917e.js} +1 -1
- package/dist/{chunk-0h2h60mf.js → chunk-zydasmhv.js} +2 -2
- package/dist/components/Field.d.ts +5 -2
- package/dist/components/Slider.d.ts +5 -2
- package/dist/components/Switch.d.ts +3 -1
- 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 +5 -5
- 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 +7 -7
- 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 +5 -5
- package/dist/components/assistant-ui/elements/ComposerBar.js +5 -5
- 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 +5 -5
- 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 +5 -5
- 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 +5 -5
- 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 +6 -6
- package/dist/components/assistant-ui/elements/DiffViewerFileBadge.js +2 -2
- package/dist/components/assistant-ui/elements/DiffViewerHeader.js +5 -5
- package/dist/components/assistant-ui/elements/DiffViewerStats.js +2 -2
- package/dist/components/assistant-ui/elements/DirectiveText.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 +4 -4
- package/dist/components/assistant-ui/elements/ElicitationForm.js +5 -5
- package/dist/components/assistant-ui/elements/EmptyStateComposer.js +5 -5
- 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 +4 -4
- package/dist/components/assistant-ui/elements/FeedbackDialog.js +4 -4
- package/dist/components/assistant-ui/elements/File.js +3 -3
- package/dist/components/assistant-ui/elements/GenerativeUi.js +6 -6
- package/dist/components/assistant-ui/elements/GeoMap.js +2 -2
- 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 +3 -3
- 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 +3 -3
- 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 +5 -5
- package/dist/components/assistant-ui/elements/ModelPicker.js +3 -3
- package/dist/components/assistant-ui/elements/ModelSelector.js +13 -13
- package/dist/components/assistant-ui/elements/ModelSelectorContent.js +12 -12
- package/dist/components/assistant-ui/elements/ModelSelectorEmpty.js +7 -7
- package/dist/components/assistant-ui/elements/ModelSelectorFocusAnchor.js +7 -7
- package/dist/components/assistant-ui/elements/ModelSelectorGroup.js +7 -7
- package/dist/components/assistant-ui/elements/ModelSelectorItem.js +7 -7
- package/dist/components/assistant-ui/elements/ModelSelectorList.js +9 -9
- package/dist/components/assistant-ui/elements/ModelSelectorSearch.js +7 -7
- package/dist/components/assistant-ui/elements/ModelSelectorSeparator.js +7 -7
- 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 +5 -5
- 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/ScheduleCard.js +2 -2
- package/dist/components/assistant-ui/elements/ScoreBreakdown.js +2 -2
- package/dist/components/assistant-ui/elements/SettingsPanel.js +5 -5
- 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 +5 -5
- 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 +5 -5
- package/dist/components/assistant-ui/index.js +114 -114
- package/dist/components/assistant-ui/native/AssistantModal.js +15 -15
- package/dist/components/assistant-ui/native/AssistantSidebar.js +13 -13
- package/dist/components/assistant-ui/native/AttachmentPreview.js +4 -4
- package/dist/components/assistant-ui/native/DirectiveText.js +3 -3
- package/dist/components/assistant-ui/native/McpConfigDialog.js +5 -5
- package/dist/components/assistant-ui/native/MermaidDiagram.js +5 -5
- package/dist/components/assistant-ui/native/ModelSelector.js +15 -15
- package/dist/components/assistant-ui/native/Reasoning.js +4 -4
- package/dist/components/assistant-ui/native/Sources.js +2 -2
- package/dist/components/assistant-ui/native/TaskCard.js +7 -7
- package/dist/components/assistant-ui/native/TaskGroup.js +8 -8
- package/dist/components/assistant-ui/native/Thread.js +12 -12
- package/dist/components/assistant-ui/native/ThreadList.js +3 -3
- package/dist/components/assistant-ui/native/ThreadListSidebar.js +5 -5
- package/dist/components/assistant-ui/native/ToolFallbackRoot.js +3 -3
- 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 +46 -46
- package/dist/components/calendar/index.js +2 -2
- package/dist/components/carousel/index.js +2 -2
- package/dist/components/command/Command.d.ts +3 -2
- package/dist/components/command/index.js +6 -6
- package/dist/components/data-grid/index.js +7 -7
- package/dist/components/editor/index.js +2 -2
- package/dist/components/event-calendar/index.js +3 -3
- package/dist/components/file-upload/index.js +1 -1
- package/dist/components/gantt/index.js +3 -3
- package/dist/components/image-viewer/index.js +27 -12
- package/dist/components/input-otp/index.js +4 -4
- package/dist/components/json-render/JsonForm.d.ts +14 -6
- package/dist/components/json-render/index.js +53 -42
- 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/SplitView.d.ts +6 -1
- package/dist/components/resizable/index.js +16 -4
- package/dist/components/sonner/index.js +1 -1
- package/dist/components/text-diff/index.js +1 -1
- package/dist/components/tree/index.js +6 -5
- package/dist/components/virtual-data-grid/index.js +3 -3
- package/dist/index.js +15 -15
- package/dist/prototype.js +1 -1
- package/dist/theme.css +4 -4
- package/llms/components/data-display/JsonRenderForm.md +2 -0
- package/llms/components/forms/Field.md +11 -0
- package/llms/components/forms/Slider.md +8 -0
- package/llms/components/forms/Switch.md +8 -0
- package/llms/components/layout/SplitView.md +20 -0
- package/llms/components/navigation/Command.md +25 -0
- package/package.json +1 -1
|
@@ -12,7 +12,7 @@ import {
|
|
|
12
12
|
TooltipTrigger2,
|
|
13
13
|
TooltipContent2,
|
|
14
14
|
Button2
|
|
15
|
-
} from "../../chunk-
|
|
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-
|
|
29
|
+
} from "../../chunk-26t5yajy.js";
|
|
30
30
|
import {
|
|
31
31
|
MenuPopup,
|
|
32
32
|
MenuItem2,
|
|
@@ -39,14 +39,14 @@ import {
|
|
|
39
39
|
Alert2,
|
|
40
40
|
AlertTitle2,
|
|
41
41
|
AlertDescription2
|
|
42
|
-
} from "../../chunk-
|
|
42
|
+
} from "../../chunk-p53tysw2.js";
|
|
43
43
|
import {
|
|
44
44
|
Dialog2,
|
|
45
45
|
DialogContent2,
|
|
46
46
|
DialogHeader2,
|
|
47
47
|
DialogTitle2,
|
|
48
48
|
DialogDescription2
|
|
49
|
-
} from "../../chunk-
|
|
49
|
+
} from "../../chunk-2d3npxat.js";
|
|
50
50
|
import"../../chunk-f9sm5zpv.js";
|
|
51
51
|
import {
|
|
52
52
|
Popover2,
|
|
@@ -59,7 +59,7 @@ import {
|
|
|
59
59
|
import"../../chunk-7jpsybag.js";
|
|
60
60
|
import {
|
|
61
61
|
Input2
|
|
62
|
-
} from "../../chunk-
|
|
62
|
+
} from "../../chunk-t9ms87s9.js";
|
|
63
63
|
import {
|
|
64
64
|
Label2
|
|
65
65
|
} from "../../chunk-4m2x9jfb.js";
|
|
@@ -69,23 +69,23 @@ import {
|
|
|
69
69
|
import {
|
|
70
70
|
Field2,
|
|
71
71
|
FieldLabel2
|
|
72
|
-
} from "../../chunk-
|
|
72
|
+
} from "../../chunk-tjy21ppg.js";
|
|
73
73
|
import {
|
|
74
74
|
Slider2
|
|
75
|
-
} from "../../chunk-
|
|
75
|
+
} from "../../chunk-55vpb7v2.js";
|
|
76
76
|
import {
|
|
77
77
|
Switch2
|
|
78
|
-
} from "../../chunk-
|
|
78
|
+
} from "../../chunk-sv7343sv.js";
|
|
79
79
|
import {
|
|
80
80
|
Textarea2
|
|
81
|
-
} from "../../chunk-
|
|
81
|
+
} from "../../chunk-vfgp11y4.js";
|
|
82
82
|
import {
|
|
83
83
|
RadioGroup2,
|
|
84
84
|
RadioGroupItem2
|
|
85
85
|
} from "../../chunk-kgqe8gpb.js";
|
|
86
86
|
import {
|
|
87
87
|
Badge2
|
|
88
|
-
} from "../../chunk-
|
|
88
|
+
} from "../../chunk-cgj3ade2.js";
|
|
89
89
|
import {
|
|
90
90
|
Card2,
|
|
91
91
|
CardHeader2,
|
|
@@ -93,14 +93,14 @@ import {
|
|
|
93
93
|
CardDescription2,
|
|
94
94
|
CardContent2
|
|
95
95
|
} from "../../chunk-jc3cbwyg.js";
|
|
96
|
-
import"../../chunk-
|
|
97
|
-
import"../../chunk-
|
|
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-
|
|
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-
|
|
157
|
+
import"../../chunk-rgh3yp6f.js";
|
|
158
158
|
import"../../chunk-tcefvfr8.js";
|
|
159
159
|
import"../../chunk-38barrma.js";
|
|
160
|
-
import"../../chunk-
|
|
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-
|
|
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
|
-
|
|
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
|
|
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],
|
|
@@ -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-
|
|
9
|
+
import"../../chunk-n63meq6q.js";
|
|
10
10
|
import {
|
|
11
11
|
getCalendarClassNames,
|
|
12
12
|
CalendarDayButton2,
|
|
13
13
|
CalendarDropdown
|
|
14
|
-
} from "../../chunk-
|
|
14
|
+
} from "../../chunk-qq9atq78.js";
|
|
15
15
|
import"../../chunk-h45mqwpq.js";
|
|
16
16
|
import {
|
|
17
17
|
useAnalyticsCallback
|
|
@@ -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-
|
|
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
|
|
280
|
+
className: "flex shrink-0 items-center justify-between gap-2 px-3 pt-3 pb-1",
|
|
280
281
|
children: [
|
|
281
|
-
/* @__PURE__ */
|
|
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, {
|
|
@@ -16,11 +16,11 @@ import {
|
|
|
16
16
|
TooltipTrigger2,
|
|
17
17
|
TooltipContent2,
|
|
18
18
|
Button2
|
|
19
|
-
} from "../../chunk-
|
|
19
|
+
} from "../../chunk-n63meq6q.js";
|
|
20
20
|
import"../../chunk-7jpsybag.js";
|
|
21
21
|
import {
|
|
22
22
|
Input2
|
|
23
|
-
} from "../../chunk-
|
|
23
|
+
} from "../../chunk-t9ms87s9.js";
|
|
24
24
|
import {
|
|
25
25
|
useAnalyticsCallback
|
|
26
26
|
} from "../../chunk-5mydsjp3.js";
|
|
@@ -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:
|
|
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, {
|
|
@@ -307,18 +307,19 @@ function TreeItem({
|
|
|
307
307
|
children: descriptionLabel
|
|
308
308
|
}),
|
|
309
309
|
(description !== undefined && description !== null || actions) && /* @__PURE__ */ jsxs("div", {
|
|
310
|
-
className:
|
|
310
|
+
className: "flex shrink-0 items-center gap-1 text-xs tabular-nums",
|
|
311
311
|
children: [
|
|
312
312
|
description !== undefined && description !== null && /* @__PURE__ */ jsx("span", {
|
|
313
313
|
"aria-hidden": "true",
|
|
314
314
|
id: descriptionLabel ? undefined : descriptionId,
|
|
315
315
|
"data-slot": "tree-item-description",
|
|
316
|
+
className: "text-muted-foreground",
|
|
316
317
|
children: description
|
|
317
318
|
}),
|
|
318
319
|
actions && /* @__PURE__ */ jsx("div", {
|
|
319
320
|
"aria-hidden": "true",
|
|
320
321
|
"data-slot": "tree-item-actions",
|
|
321
|
-
className: "flex items-center gap-1",
|
|
322
|
+
className: cn2("flex items-center gap-1", faded),
|
|
322
323
|
onClick: (event) => event.stopPropagation(),
|
|
323
324
|
onDoubleClick: (event) => event.stopPropagation(),
|
|
324
325
|
onKeyDown: (event) => event.stopPropagation(),
|
|
@@ -10,16 +10,16 @@ import {
|
|
|
10
10
|
DataGridHeaderRows,
|
|
11
11
|
DataGridCells2,
|
|
12
12
|
DataGridColumns
|
|
13
|
-
} from "../../chunk-
|
|
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-
|
|
19
|
+
import"../../chunk-n63meq6q.js";
|
|
20
20
|
import"../../chunk-h45mqwpq.js";
|
|
21
21
|
import"../../chunk-7jpsybag.js";
|
|
22
|
-
import"../../chunk-
|
|
22
|
+
import"../../chunk-t9ms87s9.js";
|
|
23
23
|
import {
|
|
24
24
|
VirtualTable2
|
|
25
25
|
} from "../../chunk-wnkxd9km.js";
|
package/dist/index.js
CHANGED
|
@@ -188,7 +188,7 @@ import {
|
|
|
188
188
|
DashboardLayout2,
|
|
189
189
|
BillingUsage2,
|
|
190
190
|
SelectionAction2
|
|
191
|
-
} from "./chunk-
|
|
191
|
+
} from "./chunk-26t5yajy.js";
|
|
192
192
|
import {
|
|
193
193
|
statusDotVariants2,
|
|
194
194
|
StatusDot2
|
|
@@ -210,7 +210,7 @@ import {
|
|
|
210
210
|
ComboboxChip2,
|
|
211
211
|
ComboboxChipsInput2,
|
|
212
212
|
useComboboxAnchor2
|
|
213
|
-
} from "./chunk-
|
|
213
|
+
} from "./chunk-8kc9e86g.js";
|
|
214
214
|
import {
|
|
215
215
|
Tabs2,
|
|
216
216
|
tabsListVariants2,
|
|
@@ -225,7 +225,7 @@ import {
|
|
|
225
225
|
useDropTarget2,
|
|
226
226
|
DropTarget2,
|
|
227
227
|
Kanban2
|
|
228
|
-
} from "./chunk-
|
|
228
|
+
} from "./chunk-9crjmpxq.js";
|
|
229
229
|
import {
|
|
230
230
|
NumberField2,
|
|
231
231
|
NumberFieldGroup2,
|
|
@@ -242,10 +242,10 @@ import {
|
|
|
242
242
|
ToolbarInput2,
|
|
243
243
|
ToolbarGroup2,
|
|
244
244
|
ToolbarSeparator2
|
|
245
|
-
} from "./chunk-
|
|
245
|
+
} from "./chunk-5nch5bsy.js";
|
|
246
246
|
import {
|
|
247
247
|
Slider2
|
|
248
|
-
} from "./chunk-
|
|
248
|
+
} from "./chunk-55vpb7v2.js";
|
|
249
249
|
import {
|
|
250
250
|
MenuPortal,
|
|
251
251
|
MenuPopup,
|
|
@@ -311,7 +311,7 @@ import {
|
|
|
311
311
|
} from "./chunk-g187prhe.js";
|
|
312
312
|
import {
|
|
313
313
|
Switch2
|
|
314
|
-
} from "./chunk-
|
|
314
|
+
} from "./chunk-sv7343sv.js";
|
|
315
315
|
import {
|
|
316
316
|
Progress2,
|
|
317
317
|
ProgressTrack2,
|
|
@@ -324,7 +324,7 @@ import {
|
|
|
324
324
|
AlertTitle2,
|
|
325
325
|
AlertDescription2,
|
|
326
326
|
AlertAction2
|
|
327
|
-
} from "./chunk-
|
|
327
|
+
} from "./chunk-p53tysw2.js";
|
|
328
328
|
import {
|
|
329
329
|
FieldSet2,
|
|
330
330
|
FieldLegend2,
|
|
@@ -336,7 +336,7 @@ import {
|
|
|
336
336
|
FieldDescription2,
|
|
337
337
|
FieldSeparator2,
|
|
338
338
|
FieldError2
|
|
339
|
-
} from "./chunk-
|
|
339
|
+
} from "./chunk-tjy21ppg.js";
|
|
340
340
|
import {
|
|
341
341
|
Spinner2
|
|
342
342
|
} from "./chunk-t3p4dn1p.js";
|
|
@@ -382,7 +382,7 @@ import {
|
|
|
382
382
|
SidebarMenuSub2,
|
|
383
383
|
SidebarMenuSubItem2,
|
|
384
384
|
SidebarMenuSubButton2
|
|
385
|
-
} from "./chunk-
|
|
385
|
+
} from "./chunk-rgh3yp6f.js";
|
|
386
386
|
import {
|
|
387
387
|
Avatar2,
|
|
388
388
|
AvatarImage2,
|
|
@@ -403,7 +403,7 @@ import"./chunk-m4geb1s5.js";
|
|
|
403
403
|
import {
|
|
404
404
|
badgeVariants2,
|
|
405
405
|
Badge2
|
|
406
|
-
} from "./chunk-
|
|
406
|
+
} from "./chunk-cgj3ade2.js";
|
|
407
407
|
import {
|
|
408
408
|
Collapsible2,
|
|
409
409
|
CollapsibleTrigger2,
|
|
@@ -449,7 +449,7 @@ import {
|
|
|
449
449
|
DialogFooter2,
|
|
450
450
|
DialogTitle2,
|
|
451
451
|
DialogDescription2
|
|
452
|
-
} from "./chunk-
|
|
452
|
+
} from "./chunk-2d3npxat.js";
|
|
453
453
|
import {
|
|
454
454
|
InputGroup2,
|
|
455
455
|
InputGroupAddon2,
|
|
@@ -457,13 +457,13 @@ import {
|
|
|
457
457
|
InputGroupText2,
|
|
458
458
|
InputGroupInput2,
|
|
459
459
|
InputGroupTextarea2
|
|
460
|
-
} from "./chunk-
|
|
460
|
+
} from "./chunk-a8e3x6q7.js";
|
|
461
461
|
import {
|
|
462
462
|
Textarea2
|
|
463
|
-
} from "./chunk-
|
|
463
|
+
} from "./chunk-vfgp11y4.js";
|
|
464
464
|
import {
|
|
465
465
|
Input2
|
|
466
|
-
} from "./chunk-
|
|
466
|
+
} from "./chunk-t9ms87s9.js";
|
|
467
467
|
import"./chunk-7jpsybag.js";
|
|
468
468
|
import {
|
|
469
469
|
Drawer2,
|
|
@@ -488,7 +488,7 @@ import {
|
|
|
488
488
|
TooltipContent2,
|
|
489
489
|
buttonVariants2,
|
|
490
490
|
Button2
|
|
491
|
-
} from "./chunk-
|
|
491
|
+
} from "./chunk-n63meq6q.js";
|
|
492
492
|
import {
|
|
493
493
|
usePortalContainer2,
|
|
494
494
|
PortalProvider2
|
package/dist/prototype.js
CHANGED
|
@@ -2051,7 +2051,7 @@ var program = new Command;
|
|
|
2051
2051
|
// package.json
|
|
2052
2052
|
var package_default = {
|
|
2053
2053
|
name: "@alexgorbatchev/shadcn",
|
|
2054
|
-
version: "0.0.
|
|
2054
|
+
version: "0.0.175",
|
|
2055
2055
|
description: "Sharp, monospace React components with compact, comfortable, and touch densities.",
|
|
2056
2056
|
license: "MIT",
|
|
2057
2057
|
repository: {
|
package/dist/theme.css
CHANGED
|
@@ -117,9 +117,9 @@
|
|
|
117
117
|
--faint-foreground: #929ba7;
|
|
118
118
|
--accent: #282c33;
|
|
119
119
|
--accent-foreground: #eceff3;
|
|
120
|
-
--destructive: #
|
|
120
|
+
--destructive: #ff8a84;
|
|
121
121
|
--destructive-foreground: #1f0000;
|
|
122
|
-
--destructive-soft: rgb(255
|
|
122
|
+
--destructive-soft: rgb(255 138 132 / 0.16);
|
|
123
123
|
--success: #3ddc84;
|
|
124
124
|
--success-foreground: #00210f;
|
|
125
125
|
--warning: #ffb224;
|
|
@@ -157,9 +157,9 @@
|
|
|
157
157
|
--faint-foreground: #929ba7;
|
|
158
158
|
--accent: #282c33;
|
|
159
159
|
--accent-foreground: #eceff3;
|
|
160
|
-
--destructive: #
|
|
160
|
+
--destructive: #ff8a84;
|
|
161
161
|
--destructive-foreground: #1f0000;
|
|
162
|
-
--destructive-soft: rgb(255
|
|
162
|
+
--destructive-soft: rgb(255 138 132 / 0.16);
|
|
163
163
|
--success: #3ddc84;
|
|
164
164
|
--success-foreground: #00210f;
|
|
165
165
|
--warning: #ffb224;
|
|
@@ -106,6 +106,7 @@ Storybook CSF excerpts. Default args and render apply unless overridden. Local h
|
|
|
106
106
|
spec: settingsSpec,
|
|
107
107
|
state: { answers: { oncall: false, notify: null, budget: 5, risk: null, pilot: false, agree: false } },
|
|
108
108
|
defaults: ["/answers/oncall", "/answers/budget", "/answers/pilot", "/answers/agree"],
|
|
109
|
+
changed: ["/answers/budget"],
|
|
109
110
|
}
|
|
110
111
|
}
|
|
111
112
|
```
|
|
@@ -117,6 +118,7 @@ Storybook CSF excerpts. Default args and render apply unless overridden. Local h
|
|
|
117
118
|
args: {
|
|
118
119
|
spec: settingsSpec,
|
|
119
120
|
state: { answers: { oncall: true, notify: null, budget: 5, risk: null, pilot: false, agree: false } },
|
|
121
|
+
changed: ["/answers/budget"],
|
|
120
122
|
mode: "values",
|
|
121
123
|
}
|
|
122
124
|
}
|
|
@@ -510,6 +510,17 @@ Storybook CSF excerpts. Default args and render apply unless overridden. Local h
|
|
|
510
510
|
}
|
|
511
511
|
```
|
|
512
512
|
|
|
513
|
+
### AccentSeparator
|
|
514
|
+
|
|
515
|
+
```tsx
|
|
516
|
+
{
|
|
517
|
+
render: () => (<div className="flex w-72 flex-col gap-4">
|
|
518
|
+
<FieldSeparator>Earlier</FieldSeparator>
|
|
519
|
+
<FieldSeparator tone="accent">New</FieldSeparator>
|
|
520
|
+
</div>)
|
|
521
|
+
}
|
|
522
|
+
```
|
|
523
|
+
|
|
513
524
|
### SelectableChoiceLabel
|
|
514
525
|
|
|
515
526
|
```tsx
|
|
@@ -232,3 +232,11 @@ Storybook CSF excerpts. Default args and render apply unless overridden. Local h
|
|
|
232
232
|
}
|
|
233
233
|
}
|
|
234
234
|
```
|
|
235
|
+
|
|
236
|
+
### Indeterminate
|
|
237
|
+
|
|
238
|
+
```tsx
|
|
239
|
+
{
|
|
240
|
+
args: { indeterminate: true, defaultValue: 0, getAriaValueText: () => "Not answered" }
|
|
241
|
+
}
|
|
242
|
+
```
|