@alexgorbatchev/shadcn 0.0.174 → 0.0.176
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-e1qfrj09.js → chunk-078csjnf.js} +1 -1
- package/dist/{chunk-2d4ahc3t.js → chunk-0vj8xax9.js} +1 -1
- package/dist/{chunk-q3wnsn74.js → chunk-0ymgqgtm.js} +1 -1
- package/dist/{chunk-j7gv2f9e.js → chunk-1pceh0qm.js} +1 -1
- package/dist/{chunk-m94eseqv.js → chunk-1tkk3gw5.js} +2 -2
- 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-h8d0497q.js → chunk-277gskfc.js} +1 -1
- package/dist/{chunk-6q3krpky.js → chunk-2betnfpa.js} +8 -8
- package/dist/{chunk-t51q49wh.js → chunk-2d3npxat.js} +1 -1
- package/dist/{chunk-bjx2zsys.js → chunk-2pc7t67r.js} +1 -1
- package/dist/{chunk-tjy21ppg.js → chunk-2pjgj1pn.js} +2 -2
- package/dist/{chunk-5eg60znz.js → chunk-2q3wbf8n.js} +2 -2
- package/dist/{chunk-5pvsxqx8.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-z30dxke4.js → chunk-3kswfws9.js} +1 -1
- package/dist/{chunk-pbyj8rja.js → chunk-3vme6asz.js} +1 -1
- package/dist/{chunk-1f2hnewt.js → chunk-4ehtkgtj.js} +1 -1
- package/dist/{chunk-7dzhtkc2.js → chunk-4p6g1s80.js} +1 -1
- package/dist/{chunk-5rkjveh5.js → chunk-4svvcdqy.js} +1 -1
- package/dist/{chunk-vhchh03t.js → chunk-5a0b532h.js} +1 -1
- package/dist/{chunk-jcrzxq0t.js → chunk-5nch5bsy.js} +1 -1
- package/dist/{chunk-47b0qbq6.js → chunk-5nna8qjj.js} +2 -2
- package/dist/{chunk-qb0xgt7m.js → chunk-6djnvfb6.js} +1 -1
- package/dist/{chunk-v7tx0c9r.js → chunk-6v7wyvpp.js} +1 -1
- package/dist/{chunk-xxd3dgck.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-63b6cc6n.js → chunk-847akg71.js} +8 -8
- package/dist/{chunk-j753mwcb.js → chunk-8czeptwt.js} +1 -1
- package/dist/{chunk-wawnfz1g.js → chunk-8kc9e86g.js} +2 -2
- package/dist/{chunk-sh4b3bjm.js → chunk-8petembv.js} +1 -1
- package/dist/{chunk-fypaejmf.js → chunk-8qk4c4t9.js} +1 -1
- package/dist/{chunk-yhh65tck.js → chunk-95q78xjc.js} +1 -1
- package/dist/{chunk-r21y6ybe.js → chunk-99086h5y.js} +2 -2
- package/dist/{chunk-5m42p06m.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-sb5gnj7y.js → chunk-a2zjer9q.js} +2 -2
- package/dist/{chunk-dx0b4txv.js → chunk-a5g5kcty.js} +1 -1
- package/dist/{chunk-jyy6wxqq.js → chunk-a8e3x6q7.js} +1 -1
- package/dist/{chunk-74mkxxmx.js → chunk-aft224h4.js} +1 -1
- package/dist/{chunk-3k3e0krj.js → chunk-aq1zss31.js} +1 -1
- package/dist/{chunk-6n3rv5md.js → chunk-aqkhtz9e.js} +1 -1
- package/dist/{chunk-y1jfszn8.js → chunk-as82edkz.js} +1 -1
- package/dist/{chunk-dthve8hk.js → chunk-asp04tyc.js} +1 -1
- package/dist/{chunk-bvzjbk43.js → chunk-b28egcxt.js} +2 -2
- package/dist/{chunk-tqwb4mfs.js → chunk-bx9s8n7h.js} +1 -1
- package/dist/{chunk-x83zhrsj.js → chunk-c78ze1d9.js} +3 -3
- package/dist/{chunk-aw1s0jfj.js → chunk-cfqn6fxt.js} +3 -3
- package/dist/{chunk-6g42yxeh.js → chunk-d2grwsq4.js} +3 -3
- package/dist/{chunk-1veyspm9.js → chunk-d5mm4gyx.js} +1 -1
- package/dist/{chunk-nqn07jq8.js → chunk-d5vtk342.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-xz1k830q.js → chunk-ensvs5mj.js} +3 -3
- package/dist/{chunk-5s2195az.js → chunk-ew47kns7.js} +2 -2
- package/dist/{chunk-mxbt6mp3.js → chunk-f8bfe6n5.js} +1 -1
- package/dist/{chunk-733phadd.js → chunk-f9v5v07t.js} +1 -1
- package/dist/{chunk-fybx5tbb.js → chunk-fqgs7575.js} +1 -1
- package/dist/{chunk-h9vqm33h.js → chunk-g06msadd.js} +1 -1
- package/dist/{chunk-6eq246q9.js → chunk-g0hkpc2x.js} +7 -5
- package/dist/{chunk-zwk2tcna.js → chunk-gaxdgfm9.js} +1 -1
- package/dist/{chunk-fhpzse74.js → chunk-gpjyhfem.js} +1 -1
- package/dist/{chunk-nwtfh3ah.js → chunk-gqbf88mg.js} +1 -1
- package/dist/{chunk-4z9yyqhg.js → chunk-h801s9a4.js} +1 -1
- package/dist/{chunk-m36hnr1y.js → chunk-h9ty5vqp.js} +1 -1
- package/dist/{chunk-ffbdttsp.js → chunk-hh5wsw6k.js} +1 -1
- package/dist/{chunk-feazm1c2.js → chunk-hjqcaa9b.js} +2 -2
- package/dist/{chunk-21hxs090.js → chunk-hqeb9ah0.js} +1 -1
- package/dist/{chunk-cfj5t0xn.js → chunk-hxy2xabn.js} +1 -1
- package/dist/{chunk-d657zq8e.js → chunk-j5gaa3qq.js} +1 -1
- package/dist/{chunk-yj4m27d8.js → chunk-je1aeg65.js} +1 -1
- package/dist/{chunk-2yt77f2x.js → chunk-jns2gm24.js} +1 -1
- package/dist/{chunk-11gqzfdy.js → chunk-jpywbx5p.js} +3 -3
- package/dist/{chunk-z7s6y05s.js → chunk-jq5jdbfz.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-8vhqwkhm.js → chunk-kcptvw8y.js} +21 -10
- package/dist/{chunk-wjp55kz9.js → chunk-kgfk5kpm.js} +1 -1
- package/dist/{chunk-hv8j4bar.js → chunk-ks3c6erk.js} +2 -2
- package/dist/{chunk-y7v43qjc.js → chunk-m4v4rfec.js} +1 -1
- package/dist/{chunk-xxvkdn9a.js → chunk-mh8yzqj7.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-qxb5yxhs.js → chunk-nhx25e89.js} +2 -2
- package/dist/{chunk-7cq1s2ey.js → chunk-nqvemk3q.js} +6 -2
- package/dist/{chunk-pbea8ahs.js → chunk-pb7kvbty.js} +1 -1
- package/dist/{chunk-y289w8y3.js → chunk-pmez897k.js} +1 -1
- package/dist/{chunk-rv39y071.js → chunk-pmt44155.js} +1 -1
- package/dist/{chunk-fbpfmrdb.js → chunk-q56p3jvx.js} +3 -3
- package/dist/{chunk-hfxrqq3d.js → chunk-qdptn0n5.js} +1 -1
- package/dist/{chunk-vwfz498s.js → chunk-qg25yzcp.js} +1 -1
- package/dist/{chunk-mackj8h6.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-c2zp3d1y.js → chunk-r7gng4hm.js} +1 -1
- package/dist/{chunk-4byqmesz.js → chunk-rgh3yp6f.js} +1 -1
- package/dist/{chunk-ghtx7jmf.js → chunk-scas6etd.js} +1 -1
- package/dist/{chunk-a2x18tat.js → chunk-skxp6je3.js} +2 -2
- package/dist/{chunk-cjfd69vt.js → chunk-stkypf55.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-s90av8pf.js → chunk-t1xan6pw.js} +1 -1
- package/dist/{chunk-3dgq2sjd.js → chunk-t58fms99.js} +2 -2
- package/dist/{chunk-djbdg1kw.js → chunk-typck7hd.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-knjg2dmd.js → chunk-vzckkf6b.js} +4 -4
- package/dist/{chunk-vff69w97.js → chunk-w1j900p6.js} +2 -2
- package/dist/{chunk-g91x6mer.js → chunk-wgrc2f10.js} +2 -2
- package/dist/{chunk-vr4k7y1d.js → chunk-wq3yc62h.js} +1 -1
- package/dist/{chunk-w1wecrpa.js → chunk-ww425e8k.js} +3 -3
- package/dist/{chunk-rghpa4yc.js → chunk-x1tachv6.js} +1 -1
- package/dist/{chunk-8dje2jsz.js → chunk-x8q21c7x.js} +1 -1
- package/dist/{chunk-cztqmhyn.js → chunk-xbcj6vxt.js} +1 -1
- package/dist/{chunk-tejn1vhe.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-e9q4xnrk.js → chunk-yw6txv14.js} +2 -2
- package/dist/{chunk-h0h9nhyz.js → chunk-ywmembnc.js} +1 -1
- package/dist/chunk-yz1ft8hs.js +24 -0
- package/dist/{chunk-0h2h60mf.js → chunk-zydasmhv.js} +2 -2
- package/dist/components/Bubble.d.ts +2 -1
- 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 +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 +6 -6
- 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 +4 -4
- 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 +3 -3
- package/dist/components/assistant-ui/elements/ComposerModelItem.js +4 -4
- package/dist/components/assistant-ui/elements/ComposerModelTrigger.js +2 -2
- package/dist/components/assistant-ui/elements/ComposerPersonItem.js +4 -4
- 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 +2 -2
- 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 +3 -3
- package/dist/components/assistant-ui/elements/ElicitationForm.js +4 -4
- 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 +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 +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 +3 -3
- 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/ModelPicker.js +2 -2
- 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/ReasoningEffort.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/SettingsPanel.js +4 -4
- 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 +109 -109
- 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/assistant-ui/utils/diffViewer/constants.d.ts +2 -2
- 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 +4 -4
- package/dist/components/data-grid/index.js +4 -4
- package/dist/components/editor/index.js +2 -2
- package/dist/components/event-calendar/index.js +2 -2
- package/dist/components/file-upload/index.js +1 -1
- package/dist/components/gantt/index.js +2 -2
- package/dist/components/image-viewer/index.js +27 -12
- package/dist/components/input-otp/index.js +2 -2
- package/dist/components/json-render/JsonForm.d.ts +14 -6
- package/dist/components/json-render/index.js +52 -41
- 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/TreeItem.d.ts +1 -1
- package/dist/components/tree/index.js +16 -11
- package/dist/components/virtual-data-grid/index.js +2 -2
- package/dist/index.js +14 -14
- package/dist/prototype.js +1 -1
- package/llms/components/data-display/JsonRenderForm.md +2 -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
- package/dist/chunk-g187prhe.js +0 -24
|
@@ -84,7 +84,7 @@ export declare function TreeItemAction({ variant, size, ...props }: TreeItemActi
|
|
|
84
84
|
* A row's hand-back state, drawn by `TreeItemStatusIcon`: two waiting states, waiting with unsent answers, failed,
|
|
85
85
|
* held for an Undo window, handed back, and handed back with unsent changes.
|
|
86
86
|
*/
|
|
87
|
-
export type TreeItemStatus = "needs-answers" | "needs-review" | "unsent" | "failed" | "held" | "handed-back" | "handed-back-unsent";
|
|
87
|
+
export type TreeItemStatus = "needs-answers" | "needs-review" | "unsent" | "failed" | "held" | "handed-back" | "handed-back-unsent" | "archived";
|
|
88
88
|
interface ITreeItemStatusIconProps {
|
|
89
89
|
status: TreeItemStatus;
|
|
90
90
|
className?: string;
|
|
@@ -6,7 +6,7 @@ import {
|
|
|
6
6
|
} from "../../chunk-en44w1pn.js";
|
|
7
7
|
import {
|
|
8
8
|
StatusDot2
|
|
9
|
-
} from "../../chunk-
|
|
9
|
+
} from "../../chunk-b28egcxt.js";
|
|
10
10
|
import"../../chunk-8ssktt4b.js";
|
|
11
11
|
import"../../chunk-e6hk39ev.js";
|
|
12
12
|
import"../../chunk-x90xmrba.js";
|
|
@@ -16,7 +16,7 @@ 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
|
|
@@ -29,6 +29,7 @@ import {
|
|
|
29
29
|
import { mergeProps } from "@base-ui/react/merge-props";
|
|
30
30
|
import { useRender } from "@base-ui/react/use-render";
|
|
31
31
|
import {
|
|
32
|
+
ArchiveIcon,
|
|
32
33
|
ChevronRightIcon,
|
|
33
34
|
CircleAlertIcon,
|
|
34
35
|
CircleCheckIcon,
|
|
@@ -62,7 +63,8 @@ var STATUS_ICONS = {
|
|
|
62
63
|
failed: CircleAlertIcon,
|
|
63
64
|
held: HourglassIcon,
|
|
64
65
|
"handed-back": CircleCheckIcon,
|
|
65
|
-
"handed-back-unsent": CircleCheckIcon
|
|
66
|
+
"handed-back-unsent": CircleCheckIcon,
|
|
67
|
+
archived: ArchiveIcon
|
|
66
68
|
};
|
|
67
69
|
function TreeItemStatusIcon({ status, className }) {
|
|
68
70
|
const Icon = STATUS_ICONS[status];
|
|
@@ -195,7 +197,7 @@ function TreeItem({
|
|
|
195
197
|
props: mergeProps({
|
|
196
198
|
...nativeProps,
|
|
197
199
|
ref: undefined,
|
|
198
|
-
className: cn2("flex min-w-0 flex-1 items-center gap-2 self-stretch -my-1 py-1 outline-none focus-visible:ring-2 focus-visible:ring-ring", faded),
|
|
200
|
+
className: cn2("flex min-w-0 flex-1 items-center gap-2 self-stretch -my-1 py-1 outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-inset", faded),
|
|
199
201
|
children: label,
|
|
200
202
|
onFocus: () => item.setFocused(),
|
|
201
203
|
onClick: (event) => {
|
|
@@ -249,7 +251,7 @@ function TreeItem({
|
|
|
249
251
|
onDragStart: undefined
|
|
250
252
|
} : {},
|
|
251
253
|
style: { paddingInlineStart: `${item.getItemMeta().level * (item.getTree().getConfig().indent ?? 20) + 8}px` },
|
|
252
|
-
className: cn2("relative flex min-h-control min-w-0 cursor-default items-center gap-2 rounded-sm border border-transparent py-1 pr-2 text-sm outline-none", isAriaDisabled ? "cursor-not-allowed focus-visible:outline-1 focus-visible:outline-ring/60 focus-visible:-outline-offset-1" : "hover:bg-accent focus-visible:ring-2 focus-visible:ring-ring", (isSelected || isDropTarget || isInsideTarget) && (selectionStyle === "accent" && isSelected ? "border-primary bg-muted/60 font-medium text-foreground" : "bg-accent text-accent-foreground"), tone === "warning" && "before:pointer-events-none before:absolute before:inset-y-1 before:start-0 before:w-0.5 before:rounded-full before:bg-warning", isDimmed && "group/tree-item"),
|
|
254
|
+
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 focus-visible:ring-inset", (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
255
|
children: /* @__PURE__ */ jsxs(Fragment, {
|
|
254
256
|
children: [
|
|
255
257
|
item.isFolder() && expandOn === "disclosure" ? /* @__PURE__ */ jsx(Button2, {
|
|
@@ -269,15 +271,18 @@ function TreeItem({
|
|
|
269
271
|
children: /* @__PURE__ */ jsx(ChevronRightIcon, {
|
|
270
272
|
className: cn2(isExpanded && "rotate-90")
|
|
271
273
|
})
|
|
272
|
-
}) : item.isFolder() ? /* @__PURE__ */ jsx(
|
|
274
|
+
}) : item.isFolder() ? /* @__PURE__ */ jsx("span", {
|
|
273
275
|
"aria-hidden": "true",
|
|
274
|
-
className: cn2("size-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
276
|
+
className: cn2("inline-flex size-4 shrink-0 items-center justify-center", faded),
|
|
277
|
+
children: /* @__PURE__ */ jsx(ChevronRightIcon, {
|
|
278
|
+
className: cn2("size-3.5", isExpanded && "rotate-90")
|
|
279
|
+
})
|
|
280
|
+
}) : leading === undefined ? /* @__PURE__ */ jsx("span", {
|
|
281
|
+
className: cn2("shrink-0", expandOn === "disclosure" ? "size-control-xs" : "size-4")
|
|
282
|
+
}) : null,
|
|
278
283
|
leading !== undefined && /* @__PURE__ */ jsx("div", {
|
|
279
284
|
"data-slot": "tree-item-leading",
|
|
280
|
-
className: cn2("flex
|
|
285
|
+
className: cn2("flex shrink-0 items-center justify-center", expandOn === "disclosure" ? "size-control-xs" : "size-4 has-[>button]:size-control-xs", faded),
|
|
281
286
|
onClick: (event) => event.stopPropagation(),
|
|
282
287
|
onDoubleClick: (event) => event.stopPropagation(),
|
|
283
288
|
onKeyDown: (event) => event.stopPropagation(),
|
|
@@ -10,13 +10,13 @@ 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
22
|
import"../../chunk-t9ms87s9.js";
|
package/dist/index.js
CHANGED
|
@@ -188,11 +188,11 @@ import {
|
|
|
188
188
|
DashboardLayout2,
|
|
189
189
|
BillingUsage2,
|
|
190
190
|
SelectionAction2
|
|
191
|
-
} from "./chunk-
|
|
191
|
+
} from "./chunk-kcptvw8y.js";
|
|
192
192
|
import {
|
|
193
193
|
statusDotVariants2,
|
|
194
194
|
StatusDot2
|
|
195
|
-
} from "./chunk-
|
|
195
|
+
} from "./chunk-b28egcxt.js";
|
|
196
196
|
import {
|
|
197
197
|
Combobox2,
|
|
198
198
|
ComboboxValue2,
|
|
@@ -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-c78ze1d9.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-nqvemk3q.js";
|
|
249
249
|
import {
|
|
250
250
|
MenuPortal,
|
|
251
251
|
MenuPopup,
|
|
@@ -301,17 +301,17 @@ import {
|
|
|
301
301
|
Toggle2,
|
|
302
302
|
ToggleGroup2,
|
|
303
303
|
ToggleGroupItem2
|
|
304
|
-
} from "./chunk-
|
|
304
|
+
} from "./chunk-3vme6asz.js";
|
|
305
305
|
import {
|
|
306
306
|
Checkbox2
|
|
307
307
|
} from "./chunk-b5s5y5wq.js";
|
|
308
308
|
import {
|
|
309
309
|
Kbd2,
|
|
310
310
|
KbdGroup2
|
|
311
|
-
} from "./chunk-
|
|
311
|
+
} from "./chunk-yz1ft8hs.js";
|
|
312
312
|
import {
|
|
313
313
|
Switch2
|
|
314
|
-
} from "./chunk-
|
|
314
|
+
} from "./chunk-stkypf55.js";
|
|
315
315
|
import {
|
|
316
316
|
Progress2,
|
|
317
317
|
ProgressTrack2,
|
|
@@ -336,7 +336,7 @@ import {
|
|
|
336
336
|
FieldDescription2,
|
|
337
337
|
FieldSeparator2,
|
|
338
338
|
FieldError2
|
|
339
|
-
} from "./chunk-
|
|
339
|
+
} from "./chunk-2pjgj1pn.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,
|
|
@@ -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,7 +457,7 @@ 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
463
|
} from "./chunk-vfgp11y4.js";
|
|
@@ -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.176",
|
|
2055
2055
|
description: "Sharp, monospace React components with compact, comfortable, and touch densities.",
|
|
2056
2056
|
license: "MIT",
|
|
2057
2057
|
repository: {
|
|
@@ -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
|
}
|
|
@@ -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
|
+
```
|
|
@@ -301,3 +301,23 @@ Storybook CSF excerpts. Default args and render apply unless overridden. Local h
|
|
|
301
301
|
}
|
|
302
302
|
}
|
|
303
303
|
```
|
|
304
|
+
|
|
305
|
+
### NarrowSheetCustomHeader
|
|
306
|
+
|
|
307
|
+
```tsx
|
|
308
|
+
{
|
|
309
|
+
render: function Example(args) {
|
|
310
|
+
const [open, setOpen] = useState(false);
|
|
311
|
+
return (<div className="flex w-[600px] flex-col gap-2">
|
|
312
|
+
<Button onClick={() => setOpen(true)}>Open navigation</Button>
|
|
313
|
+
<SplitView {...args} sidebarLabel="Pages" sheetHeader={<span>Workspace brand</span>} sidebarOpen={open} onSidebarOpenChange={setOpen} wideQuery="(min-width: 100000px)" narrowLayout="sheet" layout="fill" sidebar={<nav aria-label="Projects and pages">
|
|
314
|
+
<button type="button" onClick={() => setOpen(false)}>
|
|
315
|
+
Home
|
|
316
|
+
</button>
|
|
317
|
+
</nav>}>
|
|
318
|
+
<h2>Incident review</h2>
|
|
319
|
+
</SplitView>
|
|
320
|
+
</div>);
|
|
321
|
+
}
|
|
322
|
+
}
|
|
323
|
+
```
|
|
@@ -541,3 +541,28 @@ Storybook CSF excerpts. Default args and render apply unless overridden. Local h
|
|
|
541
541
|
}
|
|
542
542
|
}
|
|
543
543
|
```
|
|
544
|
+
|
|
545
|
+
### WideDialog
|
|
546
|
+
|
|
547
|
+
```tsx
|
|
548
|
+
{
|
|
549
|
+
render: function Render() {
|
|
550
|
+
const [isOpen, setOpen] = useState(false);
|
|
551
|
+
return (<>
|
|
552
|
+
<Button onClick={() => setOpen(true)}>Open wide palette</Button>
|
|
553
|
+
<CommandDialog open={isOpen} onOpenChange={setOpen} size="wide" title="Wide palette">
|
|
554
|
+
<Command label="Wide commands">
|
|
555
|
+
<CommandInput placeholder="Find a page…" aria-label="Find a page…"/>
|
|
556
|
+
<CommandList>
|
|
557
|
+
<CommandGroup heading="Pages">
|
|
558
|
+
<CommandItem value="interview" onSelect={() => setOpen(false)}>
|
|
559
|
+
Interview 35 — Ines
|
|
560
|
+
</CommandItem>
|
|
561
|
+
</CommandGroup>
|
|
562
|
+
</CommandList>
|
|
563
|
+
</Command>
|
|
564
|
+
</CommandDialog>
|
|
565
|
+
</>);
|
|
566
|
+
}
|
|
567
|
+
}
|
|
568
|
+
```
|
package/package.json
CHANGED
package/dist/chunk-g187prhe.js
DELETED
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
import {
|
|
2
|
-
cn2
|
|
3
|
-
} from "./chunk-en44w1pn.js";
|
|
4
|
-
|
|
5
|
-
// src/components/Kbd.tsx
|
|
6
|
-
import { jsx } from "react/jsx-runtime";
|
|
7
|
-
function Kbd2({ density, className, ...props }) {
|
|
8
|
-
return /* @__PURE__ */ jsx("kbd", {
|
|
9
|
-
"data-density": density,
|
|
10
|
-
"data-slot": "kbd",
|
|
11
|
-
className: cn2("pointer-events-none inline-flex h-tag w-fit min-w-5 items-center justify-center gap-1 rounded-sm bg-muted px-1 font-sans text-xs font-medium text-muted-foreground select-none in-data-[size=xs]:h-auto in-data-[size=xs]:min-w-4 in-data-[size=xs]:px-1 in-data-[size=xs]:py-0.5 in-data-[size=xs]:text-[10px] in-data-[size=xs]:leading-none in-data-[slot=tooltip-content]:bg-muted in-data-[slot=tooltip-content]:text-foreground in-data-[variant=default]:bg-primary-foreground/15 in-data-[variant=default]:text-primary-foreground in-data-[variant=success]:bg-success-foreground/15 in-data-[variant=success]:text-success-foreground in-data-[variant=warning]:bg-warning-foreground/15 in-data-[variant=warning]:text-warning-foreground [&_svg:not([class*='size-'])]:size-3", className),
|
|
12
|
-
...props
|
|
13
|
-
});
|
|
14
|
-
}
|
|
15
|
-
function KbdGroup2({ density, className, ...props }) {
|
|
16
|
-
return /* @__PURE__ */ jsx("kbd", {
|
|
17
|
-
"data-density": density,
|
|
18
|
-
"data-slot": "kbd-group",
|
|
19
|
-
className: cn2("inline-flex items-center gap-1", className),
|
|
20
|
-
...props
|
|
21
|
-
});
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
export { Kbd2, KbdGroup2 };
|