@alexgorbatchev/shadcn 0.0.108 → 0.0.109
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 +5 -1
- package/dist/{chunk-cvg1bn5z.js → chunk-0bbhrawv.js} +1 -1
- package/dist/{chunk-qa0j0v26.js → chunk-0cqaxjp8.js} +2 -2
- package/dist/{chunk-t75anqyy.js → chunk-0qdcttez.js} +1 -1
- package/dist/{chunk-85c1dxtm.js → chunk-0tbrqk6r.js} +1 -1
- package/dist/{chunk-qf7zm619.js → chunk-0vy5s55a.js} +1 -1
- package/dist/{chunk-r1qyx0ke.js → chunk-0w0tj1hk.js} +1 -1
- package/dist/{chunk-685qjx1b.js → chunk-0ybksfe7.js} +1 -1
- package/dist/{chunk-3gvahjbe.js → chunk-11q74rjm.js} +1 -1
- package/dist/{chunk-mm3a9s11.js → chunk-1582w4zz.js} +1 -1
- package/dist/{chunk-7ge3mb18.js → chunk-1n1nx1jy.js} +4 -4
- package/dist/{chunk-25v1djy5.js → chunk-24trj88k.js} +1 -1
- package/dist/{chunk-pqjmhmdq.js → chunk-24v8te1t.js} +1 -1
- package/dist/{chunk-22pzx7jn.js → chunk-2aqahc30.js} +1 -1
- package/dist/{chunk-fatsqayy.js → chunk-30a28nc5.js} +3 -3
- package/dist/{chunk-t3skf9ty.js → chunk-31ct9w5e.js} +1 -1
- package/dist/{chunk-9n617bte.js → chunk-32ah7jyp.js} +2 -2
- package/dist/{chunk-3x6nhpgy.js → chunk-3mxkgd2q.js} +2 -2
- package/dist/{chunk-atxtdj7a.js → chunk-4a2xfc3m.js} +1 -1
- package/dist/{chunk-59emaywr.js → chunk-4ep5q65g.js} +2 -2
- package/dist/{chunk-xn9m76jt.js → chunk-4q2rkng2.js} +1 -1
- package/dist/{chunk-7yc7phbt.js → chunk-53qy2k6m.js} +1 -1
- package/dist/{chunk-che2mtt5.js → chunk-5d18srnr.js} +2 -2
- package/dist/{chunk-8yxf21e9.js → chunk-5fhtf8wq.js} +1 -1
- package/dist/{chunk-r4r4qcyx.js → chunk-5hjkffyw.js} +1 -1
- package/dist/{chunk-f7wfcc1g.js → chunk-5txazxda.js} +3 -3
- package/dist/{chunk-gbn9rt3w.js → chunk-610gnte3.js} +1 -1
- package/dist/{chunk-zt1x0wyq.js → chunk-6bcj70ew.js} +1 -1
- package/dist/{chunk-1ddvvmq7.js → chunk-6fxxzshn.js} +1 -1
- package/dist/{chunk-3b5v59mq.js → chunk-6mg8bzp5.js} +3 -3
- package/dist/{chunk-ybnwwsvj.js → chunk-72jmqres.js} +1 -1
- package/dist/{chunk-dyg4pwcd.js → chunk-732drvzb.js} +1 -1
- package/dist/{chunk-d1vxr8ek.js → chunk-76kyvhkv.js} +1 -1
- package/dist/{chunk-8pkttcb2.js → chunk-8ahmz1mm.js} +1 -1
- package/dist/{chunk-x9epw740.js → chunk-8ge3reev.js} +1 -1
- package/dist/{chunk-bsg378sy.js → chunk-8sr6hv76.js} +8 -8
- package/dist/{chunk-w8r9a9zd.js → chunk-8w230vtq.js} +1 -1
- package/dist/{chunk-nqgpzqmk.js → chunk-984sr494.js} +1 -1
- package/dist/{chunk-22ybn8qf.js → chunk-9hm8kj93.js} +1 -1
- package/dist/{chunk-dnnxz673.js → chunk-9tyf36w5.js} +1 -1
- package/dist/{chunk-vh5r4agk.js → chunk-9xvjns4c.js} +1 -1
- package/dist/{chunk-bbzbnwz9.js → chunk-a5w7tnp1.js} +1 -1
- package/dist/{chunk-3vm7crwe.js → chunk-a9a1vpn6.js} +2 -2
- package/dist/{chunk-rfvzwbja.js → chunk-ah27j769.js} +1 -1
- package/dist/{chunk-szc0hkzd.js → chunk-aj08hc00.js} +1 -1
- package/dist/{chunk-8v4dvfm5.js → chunk-b56nbr92.js} +1 -1
- package/dist/{chunk-sjy1347w.js → chunk-bdd1yzys.js} +1 -1
- package/dist/{chunk-nttvd66y.js → chunk-bph2mybv.js} +1 -1
- package/dist/{chunk-zz3egmv4.js → chunk-bprjdqdt.js} +3 -3
- package/dist/{chunk-77k07x58.js → chunk-bqbkdb0p.js} +1 -1
- package/dist/{chunk-a2mepxnb.js → chunk-c0td647h.js} +2 -2
- package/dist/{chunk-c0837w3f.js → chunk-c3159hf9.js} +1 -1
- package/dist/{chunk-xfz7r7dk.js → chunk-ckkmv09z.js} +1 -1
- package/dist/{chunk-tqrn8kq8.js → chunk-cqwg3q9q.js} +1 -1
- package/dist/{chunk-r9fz7vr5.js → chunk-cqwy0j4n.js} +1 -1
- package/dist/{chunk-9t530p75.js → chunk-dbe9ppwf.js} +1 -1
- package/dist/{chunk-vr6xc6zs.js → chunk-df032n8a.js} +1 -1
- package/dist/{chunk-kqtsvprx.js → chunk-dkrjvf4a.js} +1 -1
- package/dist/{chunk-02220n6y.js → chunk-dx5x3jk1.js} +2 -2
- package/dist/{chunk-3embwe93.js → chunk-eet68rq1.js} +2 -2
- package/dist/{chunk-xfx55ter.js → chunk-ej2jg6n4.js} +2 -2
- package/dist/{chunk-j1aecx7s.js → chunk-ekn2gy3e.js} +1 -1
- package/dist/{chunk-zd8553p5.js → chunk-emm7np52.js} +1 -1
- package/dist/{chunk-xyttc32e.js → chunk-eqcfg4y3.js} +1 -1
- package/dist/{chunk-0fs7kth5.js → chunk-ereq0kj9.js} +3 -3
- package/dist/{chunk-262s62aq.js → chunk-f605gtbd.js} +1 -1
- package/dist/{chunk-j62723nh.js → chunk-f94ftwme.js} +2 -2
- package/dist/{chunk-yp77c8zn.js → chunk-fnmh86gy.js} +3 -3
- package/dist/{chunk-hypedq7q.js → chunk-g9vdnhat.js} +1 -1
- package/dist/{chunk-93ynz1wv.js → chunk-gb31r09j.js} +1 -1
- package/dist/{chunk-74b44xsc.js → chunk-get1zhxy.js} +1 -1
- package/dist/{chunk-yjxhbka1.js → chunk-gwxx2v0x.js} +1 -1
- package/dist/{chunk-5gvjy8cn.js → chunk-gxekm9xn.js} +1 -1
- package/dist/{chunk-ygpagrh1.js → chunk-h78mpxpj.js} +2 -2
- package/dist/{chunk-3cm4n98p.js → chunk-hcg1p53s.js} +1 -1
- package/dist/{chunk-afx7cvzs.js → chunk-ht3qtcsn.js} +1 -1
- package/dist/{chunk-j3snybeg.js → chunk-j69ffkfb.js} +1 -1
- package/dist/{chunk-m8ky82vb.js → chunk-j9gsd9qf.js} +1 -1
- package/dist/{chunk-45zrx7ya.js → chunk-jb5707dj.js} +1 -1
- package/dist/{chunk-q6ay6f5f.js → chunk-k111rkrf.js} +2 -2
- package/dist/{chunk-3hef9n5h.js → chunk-k6xrvxr2.js} +1 -1
- package/dist/{chunk-c1yg3z68.js → chunk-k92jf98e.js} +1 -1
- package/dist/{chunk-cc3wzmev.js → chunk-km7rpkds.js} +1 -1
- package/dist/{chunk-1fsk8f1v.js → chunk-knhc5k76.js} +1 -1
- package/dist/{chunk-3kspw545.js → chunk-kw1pftqj.js} +1 -1
- package/dist/{chunk-694x8nwa.js → chunk-m3atn727.js} +1 -1
- package/dist/{chunk-55hw5nd8.js → chunk-mgkgzytk.js} +1 -1
- package/dist/{chunk-h2hpkawe.js → chunk-mm4c6wxz.js} +1 -1
- package/dist/{chunk-rxmcz0j1.js → chunk-mpgngw78.js} +213 -155
- package/dist/{chunk-6nhv1vq5.js → chunk-n19w93fp.js} +1 -1
- package/dist/{chunk-x80ehefm.js → chunk-n8jx11sy.js} +2 -2
- package/dist/{chunk-4hmj9az4.js → chunk-ng86b6fq.js} +3 -3
- package/dist/{chunk-nyq9y0bg.js → chunk-nszx5xby.js} +1 -1
- package/dist/{chunk-wqtk5vkd.js → chunk-p0hkv4vy.js} +2 -2
- package/dist/{chunk-tcbjvdem.js → chunk-pmgdezc0.js} +10 -4
- package/dist/{chunk-1xgqshkv.js → chunk-pp8ez02x.js} +1 -1
- package/dist/{chunk-c4ck7g88.js → chunk-pws62b2y.js} +1 -1
- package/dist/{chunk-1qs5ngkg.js → chunk-pzvsb26f.js} +1 -1
- package/dist/{chunk-e12mbz2h.js → chunk-q4kkpcsk.js} +1 -1
- package/dist/{chunk-55sxthsw.js → chunk-q62y4j58.js} +2 -2
- package/dist/{chunk-qy62vymz.js → chunk-qamjp50b.js} +2 -2
- package/dist/{chunk-sdkk4n8d.js → chunk-qdq14156.js} +1 -1
- package/dist/{chunk-zmddc9cd.js → chunk-qm6hkc9k.js} +1 -1
- package/dist/{chunk-1sptf246.js → chunk-r06cjsaz.js} +1 -1
- package/dist/{chunk-y4xt9zfq.js → chunk-rtrmthsz.js} +8 -8
- package/dist/{chunk-f3r6gdhh.js → chunk-se3th4fa.js} +1 -1
- package/dist/{chunk-fe33dx54.js → chunk-sk8v27sn.js} +1 -1
- package/dist/{chunk-mc8a4r50.js → chunk-sky8fz4n.js} +1 -1
- package/dist/{chunk-p2df6hpx.js → chunk-ssv1fyqh.js} +2 -2
- package/dist/{chunk-k7bg5ahv.js → chunk-svf8b094.js} +1 -1
- package/dist/{chunk-5ct9625h.js → chunk-svzwkmd4.js} +1 -1
- package/dist/{chunk-rz1tcez4.js → chunk-sx2saxnr.js} +1 -1
- package/dist/{chunk-cxgdj2ht.js → chunk-tj8st7pd.js} +2 -2
- package/dist/{chunk-jstcq6j1.js → chunk-tjs0q52a.js} +1 -1
- package/dist/{chunk-67s02cfw.js → chunk-tkfb355g.js} +1 -1
- package/dist/{chunk-6cz8cr21.js → chunk-tq1kq4k8.js} +1 -1
- package/dist/{chunk-6kdbnv4d.js → chunk-tvpw0qc2.js} +2 -2
- package/dist/{chunk-fpq79ygk.js → chunk-txg4cx6s.js} +1 -1
- package/dist/{chunk-yd3h2yx1.js → chunk-v588z351.js} +1 -1
- package/dist/{chunk-98jw2c75.js → chunk-vwarbpzr.js} +1 -1
- package/dist/{chunk-m43ybcxv.js → chunk-w0ctnrwv.js} +2 -2
- package/dist/{chunk-7xdx6cdp.js → chunk-w1w8gr66.js} +1 -1
- package/dist/{chunk-t87gra6t.js → chunk-w7ncwwrw.js} +1 -1
- package/dist/{chunk-rjy17qmh.js → chunk-wxrg5vsm.js} +1 -1
- package/dist/{chunk-32t5kc0y.js → chunk-x1razcfy.js} +8 -0
- package/dist/{chunk-s1asnp91.js → chunk-xda29c07.js} +1 -1
- package/dist/{chunk-n8n3gp71.js → chunk-xdefvgvq.js} +1 -1
- package/dist/{chunk-qddmszcp.js → chunk-xhhxcrby.js} +1 -1
- package/dist/{chunk-r63yrdr2.js → chunk-xjh7kcqw.js} +2 -2
- package/dist/{chunk-2v71wpyj.js → chunk-y48k02rp.js} +1 -1
- package/dist/{chunk-gmvg6hap.js → chunk-yawwpavh.js} +1 -1
- package/dist/{chunk-tk0w0tf7.js → chunk-yp4mqzrs.js} +1 -1
- package/dist/{chunk-jhqb6z35.js → chunk-yvy3qp2c.js} +1 -1
- package/dist/{chunk-7n0et0mp.js → chunk-zc0dnw5a.js} +2 -2
- package/dist/{chunk-ybsr621k.js → chunk-zhs48t17.js} +1 -1
- package/dist/{chunk-6nhb1ry9.js → chunk-zn8028g2.js} +1 -1
- package/dist/{chunk-me64e034.js → chunk-zwpa0vvy.js} +2 -2
- package/dist/components/PanelHeader.d.ts +23 -0
- package/dist/components/Toolbar.d.ts +11 -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 +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 +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 +3 -3
- 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 +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 +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/ScoreBreakdown.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 +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/DirectiveText.js +3 -3
- package/dist/components/assistant-ui/native/McpConfigDialog.js +4 -4
- 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/Sources.js +2 -2
- 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 +44 -44
- 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 +5 -5
- package/dist/components/editor/index.js +8 -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 +12 -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/tree/index.js +1 -1
- package/dist/components/virtual-data-grid/index.js +2 -2
- package/dist/index.d.ts +2 -0
- package/dist/index.js +12 -10
- package/dist/prototype.js +1 -1
- package/llms/components/actions/Toolbar.md +17 -0
- package/llms/components/data-display/Badge.md +12 -1
- package/llms/components/forms/ControlBoundaries.md +46 -0
- package/llms/components/layout/PanelHeader.md +83 -0
- package/llms/components/navigation/Tree.md +1 -0
- package/llms/setup.md +5 -1
- package/llms.txt +2 -0
- package/package.json +1 -1
|
@@ -0,0 +1,83 @@
|
|
|
1
|
+
# PanelHeader
|
|
2
|
+
|
|
3
|
+
Story: @alexgorbatchev/shadcn/components/layout/PanelHeader
|
|
4
|
+
Source: src/components/stories/layout/PanelHeader.stories.tsx
|
|
5
|
+
|
|
6
|
+
[Full source and local helpers](https://github.com/alexgorbatchev/shadcn/blob/main/src/components/stories/layout/PanelHeader.stories.tsx)
|
|
7
|
+
|
|
8
|
+
## Public imports
|
|
9
|
+
|
|
10
|
+
```tsx
|
|
11
|
+
import { PanelHeader, Button, Tooltip, TooltipContent, TooltipTrigger, Kbd } from "@alexgorbatchev/shadcn";
|
|
12
|
+
```
|
|
13
|
+
|
|
14
|
+
## Supporting imports
|
|
15
|
+
|
|
16
|
+
```tsx
|
|
17
|
+
import { XIcon } from "lucide-react";
|
|
18
|
+
```
|
|
19
|
+
|
|
20
|
+
## Default component
|
|
21
|
+
|
|
22
|
+
```tsx
|
|
23
|
+
PanelHeader
|
|
24
|
+
```
|
|
25
|
+
|
|
26
|
+
## Default args
|
|
27
|
+
|
|
28
|
+
```tsx
|
|
29
|
+
{
|
|
30
|
+
title: "Comments",
|
|
31
|
+
count: 3,
|
|
32
|
+
actions: (<Tooltip>
|
|
33
|
+
<TooltipTrigger render={<Button variant="ghost" size="icon-sm" aria-label="Close comments" aria-keyshortcuts="Escape" onClick={close}>
|
|
34
|
+
<XIcon />
|
|
35
|
+
</Button>}/>
|
|
36
|
+
<TooltipContent>
|
|
37
|
+
Close comments <Kbd>Esc</Kbd>
|
|
38
|
+
</TooltipContent>
|
|
39
|
+
</Tooltip>),
|
|
40
|
+
toolbar: (<>
|
|
41
|
+
<Button size="sm" onClick={commentOnPage}>
|
|
42
|
+
Comment on page
|
|
43
|
+
</Button>
|
|
44
|
+
<Button size="sm" variant="outline">
|
|
45
|
+
Select a region
|
|
46
|
+
</Button>
|
|
47
|
+
</>),
|
|
48
|
+
}
|
|
49
|
+
```
|
|
50
|
+
|
|
51
|
+
## Default render
|
|
52
|
+
|
|
53
|
+
```tsx
|
|
54
|
+
(args) => (<div className="max-w-sm border border-border p-panel">
|
|
55
|
+
<PanelHeader {...args}/>
|
|
56
|
+
</div>)
|
|
57
|
+
```
|
|
58
|
+
|
|
59
|
+
## Examples
|
|
60
|
+
|
|
61
|
+
Storybook CSF excerpts. Default args and render apply unless overridden. Local helpers, fixtures, decorators, and providers may be required; these are reference excerpts, not standalone consumer modules. Interaction tests are omitted.
|
|
62
|
+
|
|
63
|
+
### Default
|
|
64
|
+
|
|
65
|
+
```tsx
|
|
66
|
+
{}
|
|
67
|
+
```
|
|
68
|
+
|
|
69
|
+
### TitleOnly
|
|
70
|
+
|
|
71
|
+
```tsx
|
|
72
|
+
{
|
|
73
|
+
args: { count: undefined, actions: undefined, toolbar: undefined, headingLevel: 3 }
|
|
74
|
+
}
|
|
75
|
+
```
|
|
76
|
+
|
|
77
|
+
### FocusableHeading
|
|
78
|
+
|
|
79
|
+
```tsx
|
|
80
|
+
{
|
|
81
|
+
args: { headingProps: { tabIndex: -1, id: "panel-heading" } }
|
|
82
|
+
}
|
|
83
|
+
```
|
package/llms/setup.md
CHANGED
|
@@ -290,9 +290,13 @@ Scrolling is intentional: cards, panels, dialogs, sheets, and floating surfaces
|
|
|
290
290
|
|
|
291
291
|
`ThemeProvider` mounts the development-only `ScrollGuard`. Without a theme provider, mount `<ScrollGuard />` once in your app. Add `data-scroll="none"` to any HTML element to apply the same check. The guard throws a browser error identifying the element, axis, and scroll range when computed `overflow: auto` or `scroll` permits overflowing content to scroll. It checks the marked element itself, including portaled elements in the same document, after content and size changes; nested scroll viewports remain independent. Hidden and clipped overflow do not trigger it. Duplicate mounts share one observer per document, and the final unmount disconnects it. Pass `ownerDocument` to check an iframe's document; shadow roots require their own layout validation. The guard installs no observers when the consuming application's `NODE_ENV` is `"production"`.
|
|
292
292
|
|
|
293
|
+
Every action shows a visible affordance at rest. Interactive control edges use the `input` token, which keeps 3:1 against the page in both themes; the `border` token is for decorative dividers and cards. A `ghost` Button is borderless only at the icon sizes (`icon`, `icon-xs`, `icon-sm`, `icon-lg`), where its icon identifies it; at the text sizes it keeps an `input` edge, and at `size="inline"` it takes the link colour. Use `variant="link"` for a borderless text action that should read as a link. `ToolbarButton` and `ToolbarLink` default to `variant="outline"`; pass `variant="ghost"` only for icon-only toolbar buttons. In a vertical `Toolbar`, each tool spans its group and starts its label at the shared leading edge, so a list of tools in a side panel lines up. Pressed toggles, toggle group items and toolbar buttons carry a primary edge. The Storybook test suites fail any story that renders a text-labelled Button or toolbar button with no border, no fill and no link styling.
|
|
294
|
+
|
|
295
|
+
`PanelHeader` heads a side panel or drawer: one row with the `title` heading (`h2` by default, `headingLevel={3}` for nested panels), an optional muted `count` and icon-button `actions` such as close, then an optional `toolbar` row holding the panel's primary and secondary actions, which wraps as one group. Pass `headingProps` for a ref, `id` or `tabIndex` when focus moves to the panel.
|
|
296
|
+
|
|
293
297
|
`ButtonLink` renders a native anchor with Button's `variant`, `size`, `align`, `truncate`, `fullWidth`, and `density` options, so navigation keeps the link role, Enter activation, and browser link behavior without `role="button"`. Pass `href` for a plain link, or a router link element through `render`, such as `<ButtonLink variant="outline" render={<Link to="/settings" />}>Settings</ButtonLink>`; class names, children, handlers, and refs merge with the rendered element. Its render callback receives typed slot and density state. Mark icons with `data-icon="inline-start"` or `data-icon="inline-end"` as in Button. Use `Button` for actions that do not navigate.
|
|
294
298
|
|
|
295
|
-
`Badge` renders a span by default. Use `render={<a href="https://base-ui.com/" />}` for navigation or a native button for actions; handlers and refs merge with the rendered element. Its render callback receives typed variant, density, and slot state. Mark icons with `data-icon="inline-start"` or `data-icon="inline-end"`; their spacing follows inline direction. Use the success and warning variants for those statuses.
|
|
299
|
+
`Badge` renders a span by default. Use `render={<a href="https://base-ui.com/" />}` for navigation or a native button for actions; handlers and refs merge with the rendered element. Its render callback receives typed variant, density, and slot state. Mark icons with `data-icon="inline-start"` or `data-icon="inline-end"`; their spacing follows inline direction. Use the success and warning variants for those statuses. The `outline` variant is a status tag: a pill with a quiet edge and regular-weight muted text, so a tag such as "Required" never looks like the outline Button beside it.
|
|
296
300
|
|
|
297
301
|
Compose `CardHeader`, `CardTitle`, `CardDescription`, `CardAction`, `CardContent`, and `CardFooter` inside `Card`. Use a native heading inside `CardTitle` when the title belongs in the document outline. The `size="sm"` option reduces spacing; density controls the base inset. A leading image meets the frame without top padding, and cards without footers retain bottom padding. The `--card-spacing` CSS variable adjusts both section gaps and insets.
|
|
298
302
|
|
package/llms.txt
CHANGED
|
@@ -396,6 +396,7 @@ Generated from the public package exports and Storybook sources.
|
|
|
396
396
|
- [Checkbox](./llms/components/forms/Checkbox.md)
|
|
397
397
|
- [ColorPicker](./llms/components/forms/ColorPicker.md)
|
|
398
398
|
- [Combobox](./llms/components/forms/Combobox.md)
|
|
399
|
+
- [ControlBoundaries](./llms/components/forms/ControlBoundaries.md): Every interactive control's resting boundary, and every pressed toggle's state, measures at least 3:1 against its surface in the current theme. The contrast suite runs it in light and dark.
|
|
399
400
|
- [EmailCodeAuthForm](./llms/components/forms/EmailCodeAuthForm.md): EmailCodeAuthForm is passwordless sign-in in two steps. Import it from `@alexgorbatchev/shadcn/input-otp`. The email step calls `onRequestCode(email)`; when it resolves, the code step shows an InputOTP for a numeric code of `codeLength` digits (default 6) with one-time-code autofill. Completing the code or pressing Verify calls `onVerifyCode(email, code)` once. Resend code calls `onRequestCode` again and announces the new code; Use a different email returns to the first step. Rejected promises show their message and keep the current step; buttons show pending state while a handler runs. The consumer owns sending, verifying, rate limits, and navigation after success.
|
|
400
401
|
- [EventForm](./llms/components/forms/EventForm.md)
|
|
401
402
|
- [Field](./llms/components/forms/Field.md)
|
|
@@ -438,6 +439,7 @@ Generated from the public package exports and Storybook sources.
|
|
|
438
439
|
- [Grid](./llms/components/layout/Grid.md): Grid lays out equal columns without consumer classes. `columns` is 1–6 or 12, or a viewport breakpoint map such as `{ base: 1, md: 2, xl: 4 }`. `minColumnWidth` (xs 8rem, sm 12rem, md 16rem, lg 22rem) instead fits as many columns as the grid's own width allows, which suits card grids inside panes of any size. `gap` defaults to the density-aware `panel` token. GridItem `span` (1–6 or `full`, optionally per breakpoint) widens a cell; `full` always spans every column. Both accept `render` for semantic elements such as `<ul />` and `<li />`.
|
|
439
440
|
- [PageHeader](./llms/components/layout/PageHeader.md)
|
|
440
441
|
- [PageIntro](./llms/components/layout/PageIntro.md)
|
|
442
|
+
- [PanelHeader](./llms/components/layout/PanelHeader.md)
|
|
441
443
|
- [Resizable](./llms/components/layout/Resizable.md)
|
|
442
444
|
- [ScrollArea](./llms/components/layout/ScrollArea.md)
|
|
443
445
|
- [Separator](./llms/components/layout/Separator.md)
|