@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
|
@@ -23,7 +23,7 @@ import {
|
|
|
23
23
|
TooltipContent2,
|
|
24
24
|
buttonVariants2,
|
|
25
25
|
Button2
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-x1razcfy.js";
|
|
27
27
|
import {
|
|
28
28
|
MenuPortal,
|
|
29
29
|
MenuPopup,
|
|
@@ -52,7 +52,7 @@ import {
|
|
|
52
52
|
DialogFooter2,
|
|
53
53
|
DialogTitle2,
|
|
54
54
|
DialogDescription2
|
|
55
|
-
} from "./chunk-
|
|
55
|
+
} from "./chunk-eqcfg4y3.js";
|
|
56
56
|
import {
|
|
57
57
|
ScrollArea2
|
|
58
58
|
} from "./chunk-f9sm5zpv.js";
|
|
@@ -79,7 +79,7 @@ import {
|
|
|
79
79
|
} from "./chunk-kgqe8gpb.js";
|
|
80
80
|
import {
|
|
81
81
|
Badge2
|
|
82
|
-
} from "./chunk-
|
|
82
|
+
} from "./chunk-dbe9ppwf.js";
|
|
83
83
|
import {
|
|
84
84
|
Card2,
|
|
85
85
|
CardHeader2,
|
|
@@ -101,7 +101,7 @@ import {
|
|
|
101
101
|
ComboboxChip2,
|
|
102
102
|
ComboboxChipsInput2,
|
|
103
103
|
useComboboxAnchor2
|
|
104
|
-
} from "./chunk-
|
|
104
|
+
} from "./chunk-zwpa0vvy.js";
|
|
105
105
|
import {
|
|
106
106
|
Empty2,
|
|
107
107
|
EmptyHeader2,
|
|
@@ -159,7 +159,7 @@ import {
|
|
|
159
159
|
SidebarMenu2,
|
|
160
160
|
SidebarMenuItem2,
|
|
161
161
|
SidebarMenuButton2
|
|
162
|
-
} from "./chunk-
|
|
162
|
+
} from "./chunk-sk8v27sn.js";
|
|
163
163
|
import {
|
|
164
164
|
AnalyticsButton
|
|
165
165
|
} from "./chunk-tcefvfr8.js";
|
|
@@ -515,7 +515,7 @@ function OptionCard2({
|
|
|
515
515
|
"data-recommended": recommended || undefined,
|
|
516
516
|
"aria-labelledby": recommended ? `${labelId} ${tagId}` : labelId,
|
|
517
517
|
"aria-describedby": description === undefined ? undefined : descriptionId,
|
|
518
|
-
className: (state) => cn2("group/option-card grid w-full cursor-pointer grid-cols-[1.25rem_minmax(0,1fr)] items-start gap-x-2 rounded-md border border-
|
|
518
|
+
className: (state) => cn2("group/option-card grid w-full cursor-pointer grid-cols-[1.25rem_minmax(0,1fr)] items-start gap-x-2 rounded-md border border-input bg-card p-panel-sm text-start text-sm text-card-foreground transition-colors outline-none [counter-increment:option-card] hover:bg-muted/40 focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-ring focus-visible:outline-solid data-checked:border-primary data-checked:ring-1 data-checked:ring-primary forced-colors:data-checked:border-[color:Highlight] aria-invalid:not-data-checked:border-destructive data-recommended:not-data-checked:not-aria-invalid:border-success data-disabled:cursor-not-allowed data-disabled:opacity-50 data-disabled:hover:bg-card data-readonly:cursor-default", typeof className === "function" ? className(state) : className),
|
|
519
519
|
...props,
|
|
520
520
|
children: [
|
|
521
521
|
/* @__PURE__ */ jsx6("span", {
|
|
@@ -4180,47 +4180,105 @@ function PageHeader2({ title, eyebrow, description, breadcrumbs, actions, densit
|
|
|
4180
4180
|
]
|
|
4181
4181
|
});
|
|
4182
4182
|
}
|
|
4183
|
+
// src/components/PanelHeader.tsx
|
|
4184
|
+
import { jsx as jsx43, jsxs as jsxs28, Fragment as Fragment7 } from "react/jsx-runtime";
|
|
4185
|
+
function PanelHeader2({
|
|
4186
|
+
title,
|
|
4187
|
+
count,
|
|
4188
|
+
headingLevel = 2,
|
|
4189
|
+
headingProps,
|
|
4190
|
+
actions,
|
|
4191
|
+
toolbar,
|
|
4192
|
+
density,
|
|
4193
|
+
className,
|
|
4194
|
+
...props
|
|
4195
|
+
}) {
|
|
4196
|
+
const Heading = headingLevel === 2 ? "h2" : "h3";
|
|
4197
|
+
return /* @__PURE__ */ jsxs28("header", {
|
|
4198
|
+
"data-density": density,
|
|
4199
|
+
"data-slot": "panel-header",
|
|
4200
|
+
"data-scroll": "none",
|
|
4201
|
+
className: cn2("flex min-w-0 flex-col gap-panel-sm", className),
|
|
4202
|
+
...props,
|
|
4203
|
+
children: [
|
|
4204
|
+
/* @__PURE__ */ jsxs28("div", {
|
|
4205
|
+
"data-slot": "panel-header-title-row",
|
|
4206
|
+
className: "flex min-h-control min-w-0 items-center justify-between gap-2",
|
|
4207
|
+
children: [
|
|
4208
|
+
/* @__PURE__ */ jsxs28(Heading, {
|
|
4209
|
+
"data-slot": "panel-header-title",
|
|
4210
|
+
...headingProps,
|
|
4211
|
+
className: cn2("min-w-0 truncate text-lg font-semibold text-foreground outline-none", headingProps?.className),
|
|
4212
|
+
children: [
|
|
4213
|
+
title,
|
|
4214
|
+
count != null && /* @__PURE__ */ jsxs28(Fragment7, {
|
|
4215
|
+
children: [
|
|
4216
|
+
" ",
|
|
4217
|
+
/* @__PURE__ */ jsx43("span", {
|
|
4218
|
+
"data-slot": "panel-header-count",
|
|
4219
|
+
className: "ms-1 font-normal text-muted-foreground tabular-nums",
|
|
4220
|
+
children: count
|
|
4221
|
+
})
|
|
4222
|
+
]
|
|
4223
|
+
})
|
|
4224
|
+
]
|
|
4225
|
+
}),
|
|
4226
|
+
actions != null && /* @__PURE__ */ jsx43("div", {
|
|
4227
|
+
"data-slot": "panel-header-actions",
|
|
4228
|
+
className: "flex shrink-0 items-center gap-1",
|
|
4229
|
+
children: actions
|
|
4230
|
+
})
|
|
4231
|
+
]
|
|
4232
|
+
}),
|
|
4233
|
+
toolbar != null && /* @__PURE__ */ jsx43("div", {
|
|
4234
|
+
"data-slot": "panel-header-toolbar",
|
|
4235
|
+
className: "flex min-w-0 flex-wrap items-center gap-control-gap",
|
|
4236
|
+
children: toolbar
|
|
4237
|
+
})
|
|
4238
|
+
]
|
|
4239
|
+
});
|
|
4240
|
+
}
|
|
4183
4241
|
// src/components/PageIntro.tsx
|
|
4184
|
-
import { jsx as
|
|
4242
|
+
import { jsx as jsx44, jsxs as jsxs29 } from "react/jsx-runtime";
|
|
4185
4243
|
function PageIntro2({ title, description, eyebrow, icon, actions, highlights, density }) {
|
|
4186
|
-
return /* @__PURE__ */
|
|
4244
|
+
return /* @__PURE__ */ jsx44("header", {
|
|
4187
4245
|
"data-density": density,
|
|
4188
4246
|
"data-slot": "page-intro",
|
|
4189
4247
|
"data-scroll": "none",
|
|
4190
4248
|
className: "@container/page-intro min-w-0",
|
|
4191
|
-
children: /* @__PURE__ */
|
|
4249
|
+
children: /* @__PURE__ */ jsxs29(Card2, {
|
|
4192
4250
|
variant: "hero",
|
|
4193
4251
|
className: "gap-0 py-0",
|
|
4194
4252
|
children: [
|
|
4195
|
-
/* @__PURE__ */
|
|
4253
|
+
/* @__PURE__ */ jsx44("div", {
|
|
4196
4254
|
"aria-hidden": "true",
|
|
4197
4255
|
"data-slot": "page-intro-wash",
|
|
4198
4256
|
className: "pointer-events-none absolute inset-0 -z-10 bg-[radial-gradient(ellipse_90%_140%_at_100%_0%,color-mix(in_oklab,var(--primary)_16%,transparent),transparent_65%)]"
|
|
4199
4257
|
}),
|
|
4200
|
-
/* @__PURE__ */
|
|
4258
|
+
/* @__PURE__ */ jsxs29("div", {
|
|
4201
4259
|
className: "flex min-w-0 flex-col gap-panel p-(--card-spacing) @2xl/page-intro:flex-row @2xl/page-intro:items-start @2xl/page-intro:justify-between",
|
|
4202
4260
|
children: [
|
|
4203
|
-
/* @__PURE__ */
|
|
4261
|
+
/* @__PURE__ */ jsxs29("div", {
|
|
4204
4262
|
className: "flex min-w-0 gap-panel",
|
|
4205
4263
|
children: [
|
|
4206
|
-
icon != null && /* @__PURE__ */
|
|
4264
|
+
icon != null && /* @__PURE__ */ jsx44("div", {
|
|
4207
4265
|
"aria-hidden": "true",
|
|
4208
4266
|
"data-slot": "page-intro-icon",
|
|
4209
4267
|
className: "flex size-12 shrink-0 items-center justify-center rounded-md bg-primary/10 text-primary [&_svg]:size-6",
|
|
4210
4268
|
children: icon
|
|
4211
4269
|
}),
|
|
4212
|
-
/* @__PURE__ */
|
|
4270
|
+
/* @__PURE__ */ jsxs29("div", {
|
|
4213
4271
|
className: "min-w-0",
|
|
4214
4272
|
children: [
|
|
4215
|
-
eyebrow != null && /* @__PURE__ */
|
|
4273
|
+
eyebrow != null && /* @__PURE__ */ jsx44("div", {
|
|
4216
4274
|
className: "mb-1 text-xs font-medium tracking-widest text-muted-foreground",
|
|
4217
4275
|
children: eyebrow
|
|
4218
4276
|
}),
|
|
4219
|
-
/* @__PURE__ */
|
|
4277
|
+
/* @__PURE__ */ jsx44("h1", {
|
|
4220
4278
|
className: "text-2xl font-semibold text-foreground",
|
|
4221
4279
|
children: title
|
|
4222
4280
|
}),
|
|
4223
|
-
/* @__PURE__ */
|
|
4281
|
+
/* @__PURE__ */ jsx44("div", {
|
|
4224
4282
|
className: "mt-2 max-w-prose text-base text-pretty text-muted-foreground",
|
|
4225
4283
|
children: description
|
|
4226
4284
|
})
|
|
@@ -4228,33 +4286,33 @@ function PageIntro2({ title, description, eyebrow, icon, actions, highlights, de
|
|
|
4228
4286
|
})
|
|
4229
4287
|
]
|
|
4230
4288
|
}),
|
|
4231
|
-
actions != null && /* @__PURE__ */
|
|
4289
|
+
actions != null && /* @__PURE__ */ jsx44("div", {
|
|
4232
4290
|
className: "flex min-w-0 max-w-full shrink-0 flex-wrap items-center gap-control-gap wrap-anywhere",
|
|
4233
4291
|
children: actions
|
|
4234
4292
|
})
|
|
4235
4293
|
]
|
|
4236
4294
|
}),
|
|
4237
|
-
highlights != null && highlights.length > 0 && /* @__PURE__ */
|
|
4295
|
+
highlights != null && highlights.length > 0 && /* @__PURE__ */ jsx44("ul", {
|
|
4238
4296
|
"aria-label": `What you can do in ${title}`,
|
|
4239
4297
|
"data-slot": "page-intro-highlights",
|
|
4240
4298
|
className: "grid grid-cols-[repeat(auto-fit,minmax(min(100%,13rem),1fr))] gap-panel border-t border-border p-(--card-spacing)",
|
|
4241
|
-
children: highlights.map((highlight) => /* @__PURE__ */
|
|
4299
|
+
children: highlights.map((highlight) => /* @__PURE__ */ jsxs29("li", {
|
|
4242
4300
|
"data-slot": "page-intro-highlight",
|
|
4243
4301
|
className: "flex min-w-0 gap-2",
|
|
4244
4302
|
children: [
|
|
4245
|
-
highlight.icon != null && /* @__PURE__ */
|
|
4303
|
+
highlight.icon != null && /* @__PURE__ */ jsx44("span", {
|
|
4246
4304
|
"aria-hidden": "true",
|
|
4247
4305
|
className: "mt-0.5 shrink-0 text-primary [&_svg]:size-4",
|
|
4248
4306
|
children: highlight.icon
|
|
4249
4307
|
}),
|
|
4250
|
-
/* @__PURE__ */
|
|
4308
|
+
/* @__PURE__ */ jsxs29("div", {
|
|
4251
4309
|
className: "min-w-0",
|
|
4252
4310
|
children: [
|
|
4253
|
-
/* @__PURE__ */
|
|
4311
|
+
/* @__PURE__ */ jsx44("div", {
|
|
4254
4312
|
className: "text-sm font-medium text-foreground",
|
|
4255
4313
|
children: highlight.title
|
|
4256
4314
|
}),
|
|
4257
|
-
/* @__PURE__ */
|
|
4315
|
+
/* @__PURE__ */ jsx44("div", {
|
|
4258
4316
|
className: "mt-0.5 text-sm text-muted-foreground",
|
|
4259
4317
|
children: highlight.description
|
|
4260
4318
|
})
|
|
@@ -4268,7 +4326,7 @@ function PageIntro2({ title, description, eyebrow, icon, actions, highlights, de
|
|
|
4268
4326
|
});
|
|
4269
4327
|
}
|
|
4270
4328
|
// src/components/WorkspaceSwitcher.tsx
|
|
4271
|
-
import { jsx as
|
|
4329
|
+
import { jsx as jsx45, jsxs as jsxs30 } from "react/jsx-runtime";
|
|
4272
4330
|
function WorkspaceSwitcher2({
|
|
4273
4331
|
workspaces,
|
|
4274
4332
|
value,
|
|
@@ -4278,7 +4336,7 @@ function WorkspaceSwitcher2({
|
|
|
4278
4336
|
label = "Workspace",
|
|
4279
4337
|
density
|
|
4280
4338
|
}) {
|
|
4281
|
-
return /* @__PURE__ */
|
|
4339
|
+
return /* @__PURE__ */ jsxs30(Select2, {
|
|
4282
4340
|
items: workspaces,
|
|
4283
4341
|
value,
|
|
4284
4342
|
defaultValue: defaultValue ?? workspaces[0]?.value,
|
|
@@ -4288,15 +4346,15 @@ function WorkspaceSwitcher2({
|
|
|
4288
4346
|
},
|
|
4289
4347
|
disabled,
|
|
4290
4348
|
children: [
|
|
4291
|
-
/* @__PURE__ */
|
|
4349
|
+
/* @__PURE__ */ jsx45(SelectTrigger2, {
|
|
4292
4350
|
"aria-label": label,
|
|
4293
4351
|
density,
|
|
4294
|
-
children: /* @__PURE__ */
|
|
4352
|
+
children: /* @__PURE__ */ jsx45(SelectValue2, {})
|
|
4295
4353
|
}),
|
|
4296
|
-
/* @__PURE__ */
|
|
4354
|
+
/* @__PURE__ */ jsx45(SelectContent2, {
|
|
4297
4355
|
density,
|
|
4298
|
-
children: /* @__PURE__ */
|
|
4299
|
-
children: workspaces.map((workspace) => /* @__PURE__ */
|
|
4356
|
+
children: /* @__PURE__ */ jsx45(SelectGroup2, {
|
|
4357
|
+
children: workspaces.map((workspace) => /* @__PURE__ */ jsx45(SelectItem2, {
|
|
4300
4358
|
value: workspace.value,
|
|
4301
4359
|
children: workspace.label
|
|
4302
4360
|
}, workspace.value))
|
|
@@ -4306,52 +4364,52 @@ function WorkspaceSwitcher2({
|
|
|
4306
4364
|
});
|
|
4307
4365
|
}
|
|
4308
4366
|
// src/components/AccountMenu.tsx
|
|
4309
|
-
import { jsx as
|
|
4367
|
+
import { jsx as jsx46, jsxs as jsxs31 } from "react/jsx-runtime";
|
|
4310
4368
|
function AccountMenu2({ name, email, image, onAction, density }) {
|
|
4311
|
-
return /* @__PURE__ */
|
|
4369
|
+
return /* @__PURE__ */ jsxs31(DropdownMenu2, {
|
|
4312
4370
|
children: [
|
|
4313
|
-
/* @__PURE__ */
|
|
4314
|
-
render: /* @__PURE__ */
|
|
4371
|
+
/* @__PURE__ */ jsxs31(DropdownMenuTrigger2, {
|
|
4372
|
+
render: /* @__PURE__ */ jsx46(Button2, {
|
|
4315
4373
|
variant: "ghost",
|
|
4316
4374
|
density
|
|
4317
4375
|
}),
|
|
4318
4376
|
"aria-label": `Account menu for ${name}`,
|
|
4319
4377
|
children: [
|
|
4320
|
-
/* @__PURE__ */
|
|
4378
|
+
/* @__PURE__ */ jsxs31(Avatar2, {
|
|
4321
4379
|
className: "size-control",
|
|
4322
4380
|
children: [
|
|
4323
|
-
/* @__PURE__ */
|
|
4381
|
+
/* @__PURE__ */ jsx46(AvatarImage2, {
|
|
4324
4382
|
src: image,
|
|
4325
4383
|
alt: ""
|
|
4326
4384
|
}),
|
|
4327
|
-
/* @__PURE__ */
|
|
4385
|
+
/* @__PURE__ */ jsx46(AvatarFallback2, {
|
|
4328
4386
|
children: name.slice(0, 2).toUpperCase()
|
|
4329
4387
|
})
|
|
4330
4388
|
]
|
|
4331
4389
|
}),
|
|
4332
|
-
/* @__PURE__ */
|
|
4390
|
+
/* @__PURE__ */ jsx46("span", {
|
|
4333
4391
|
children: name
|
|
4334
4392
|
})
|
|
4335
4393
|
]
|
|
4336
4394
|
}),
|
|
4337
|
-
/* @__PURE__ */
|
|
4395
|
+
/* @__PURE__ */ jsx46(MenuPopup, {
|
|
4338
4396
|
density,
|
|
4339
4397
|
align: "end",
|
|
4340
|
-
children: /* @__PURE__ */
|
|
4398
|
+
children: /* @__PURE__ */ jsxs31(MenuGroup2, {
|
|
4341
4399
|
children: [
|
|
4342
|
-
/* @__PURE__ */
|
|
4400
|
+
/* @__PURE__ */ jsx46(MenuLabel2, {
|
|
4343
4401
|
children: email ?? name
|
|
4344
4402
|
}),
|
|
4345
|
-
/* @__PURE__ */
|
|
4403
|
+
/* @__PURE__ */ jsx46(MenuItem2, {
|
|
4346
4404
|
onClick: () => onAction("profile"),
|
|
4347
4405
|
children: "Profile"
|
|
4348
4406
|
}),
|
|
4349
|
-
/* @__PURE__ */
|
|
4407
|
+
/* @__PURE__ */ jsx46(MenuItem2, {
|
|
4350
4408
|
onClick: () => onAction("settings"),
|
|
4351
4409
|
children: "Settings"
|
|
4352
4410
|
}),
|
|
4353
|
-
/* @__PURE__ */
|
|
4354
|
-
/* @__PURE__ */
|
|
4411
|
+
/* @__PURE__ */ jsx46(MenuSeparator2, {}),
|
|
4412
|
+
/* @__PURE__ */ jsx46(MenuItem2, {
|
|
4355
4413
|
onClick: () => onAction("sign-out"),
|
|
4356
4414
|
children: "Sign out"
|
|
4357
4415
|
})
|
|
@@ -4362,7 +4420,7 @@ function AccountMenu2({ name, email, image, onAction, density }) {
|
|
|
4362
4420
|
});
|
|
4363
4421
|
}
|
|
4364
4422
|
// src/components/StatCard.tsx
|
|
4365
|
-
import { jsx as
|
|
4423
|
+
import { jsx as jsx47, jsxs as jsxs32 } from "react/jsx-runtime";
|
|
4366
4424
|
function StatCard2({
|
|
4367
4425
|
label,
|
|
4368
4426
|
value,
|
|
@@ -4373,40 +4431,40 @@ function StatCard2({
|
|
|
4373
4431
|
loading = false,
|
|
4374
4432
|
density
|
|
4375
4433
|
}) {
|
|
4376
|
-
return /* @__PURE__ */
|
|
4434
|
+
return /* @__PURE__ */ jsxs32(Card2, {
|
|
4377
4435
|
density,
|
|
4378
4436
|
"aria-label": label,
|
|
4379
4437
|
"aria-busy": loading,
|
|
4380
4438
|
children: [
|
|
4381
|
-
/* @__PURE__ */
|
|
4439
|
+
/* @__PURE__ */ jsxs32(CardHeader2, {
|
|
4382
4440
|
children: [
|
|
4383
|
-
/* @__PURE__ */
|
|
4441
|
+
/* @__PURE__ */ jsx47(CardTitle2, {
|
|
4384
4442
|
children: label
|
|
4385
4443
|
}),
|
|
4386
|
-
description && /* @__PURE__ */
|
|
4444
|
+
description && /* @__PURE__ */ jsx47(CardDescription2, {
|
|
4387
4445
|
children: description
|
|
4388
4446
|
})
|
|
4389
4447
|
]
|
|
4390
4448
|
}),
|
|
4391
|
-
/* @__PURE__ */
|
|
4392
|
-
children: /* @__PURE__ */
|
|
4449
|
+
/* @__PURE__ */ jsx47(CardContent2, {
|
|
4450
|
+
children: /* @__PURE__ */ jsxs32("div", {
|
|
4393
4451
|
className: "flex flex-wrap items-center justify-between gap-control-gap",
|
|
4394
4452
|
children: [
|
|
4395
|
-
loading ? /* @__PURE__ */
|
|
4453
|
+
loading ? /* @__PURE__ */ jsx47(Skeleton2, {
|
|
4396
4454
|
className: "h-8 w-24",
|
|
4397
4455
|
"aria-label": `Loading ${label}`
|
|
4398
|
-
}) : /* @__PURE__ */
|
|
4456
|
+
}) : /* @__PURE__ */ jsx47("div", {
|
|
4399
4457
|
className: "text-2xl font-semibold tabular-nums",
|
|
4400
4458
|
children: value
|
|
4401
4459
|
}),
|
|
4402
|
-
change && /* @__PURE__ */
|
|
4460
|
+
change && /* @__PURE__ */ jsx47(Badge2, {
|
|
4403
4461
|
variant: changeIntent === "positive" ? "success" : changeIntent === "negative" ? "destructive" : "secondary",
|
|
4404
4462
|
children: change
|
|
4405
4463
|
})
|
|
4406
4464
|
]
|
|
4407
4465
|
})
|
|
4408
4466
|
}),
|
|
4409
|
-
children && /* @__PURE__ */
|
|
4467
|
+
children && /* @__PURE__ */ jsx47(CardFooter2, {
|
|
4410
4468
|
children
|
|
4411
4469
|
})
|
|
4412
4470
|
]
|
|
@@ -4414,7 +4472,7 @@ function StatCard2({
|
|
|
4414
4472
|
}
|
|
4415
4473
|
// src/components/AuthForm.tsx
|
|
4416
4474
|
import { useId as useId8, useState as useState7 } from "react";
|
|
4417
|
-
import { jsx as
|
|
4475
|
+
import { jsx as jsx48, jsxs as jsxs33 } from "react/jsx-runtime";
|
|
4418
4476
|
function AuthForm2({
|
|
4419
4477
|
mode = "sign-in",
|
|
4420
4478
|
onSubmit,
|
|
@@ -4444,33 +4502,33 @@ function AuthForm2({
|
|
|
4444
4502
|
setPending(false);
|
|
4445
4503
|
}
|
|
4446
4504
|
}
|
|
4447
|
-
return /* @__PURE__ */
|
|
4505
|
+
return /* @__PURE__ */ jsxs33(Card2, {
|
|
4448
4506
|
density,
|
|
4449
4507
|
children: [
|
|
4450
|
-
/* @__PURE__ */
|
|
4508
|
+
/* @__PURE__ */ jsxs33(CardHeader2, {
|
|
4451
4509
|
children: [
|
|
4452
|
-
/* @__PURE__ */
|
|
4510
|
+
/* @__PURE__ */ jsx48(CardTitle2, {
|
|
4453
4511
|
children: title
|
|
4454
4512
|
}),
|
|
4455
|
-
/* @__PURE__ */
|
|
4513
|
+
/* @__PURE__ */ jsx48(CardDescription2, {
|
|
4456
4514
|
children: mode === "reset-password" ? "Enter your email to request a password reset." : "Enter your details to continue."
|
|
4457
4515
|
})
|
|
4458
4516
|
]
|
|
4459
4517
|
}),
|
|
4460
|
-
/* @__PURE__ */
|
|
4461
|
-
children: /* @__PURE__ */
|
|
4518
|
+
/* @__PURE__ */ jsx48(CardContent2, {
|
|
4519
|
+
children: /* @__PURE__ */ jsx48("form", {
|
|
4462
4520
|
onSubmit: submit,
|
|
4463
4521
|
"aria-label": title,
|
|
4464
4522
|
"aria-busy": pending,
|
|
4465
|
-
children: /* @__PURE__ */
|
|
4523
|
+
children: /* @__PURE__ */ jsxs33(FieldGroup2, {
|
|
4466
4524
|
children: [
|
|
4467
|
-
mode === "sign-up" && /* @__PURE__ */
|
|
4525
|
+
mode === "sign-up" && /* @__PURE__ */ jsxs33(Field2, {
|
|
4468
4526
|
children: [
|
|
4469
|
-
/* @__PURE__ */
|
|
4527
|
+
/* @__PURE__ */ jsx48(FieldLabel2, {
|
|
4470
4528
|
htmlFor: id + "-name",
|
|
4471
4529
|
children: "Name"
|
|
4472
4530
|
}),
|
|
4473
|
-
/* @__PURE__ */
|
|
4531
|
+
/* @__PURE__ */ jsx48(Input2, {
|
|
4474
4532
|
id: id + "-name",
|
|
4475
4533
|
name: "name",
|
|
4476
4534
|
autoComplete: "name",
|
|
@@ -4479,13 +4537,13 @@ function AuthForm2({
|
|
|
4479
4537
|
})
|
|
4480
4538
|
]
|
|
4481
4539
|
}),
|
|
4482
|
-
/* @__PURE__ */
|
|
4540
|
+
/* @__PURE__ */ jsxs33(Field2, {
|
|
4483
4541
|
children: [
|
|
4484
|
-
/* @__PURE__ */
|
|
4542
|
+
/* @__PURE__ */ jsx48(FieldLabel2, {
|
|
4485
4543
|
htmlFor: id + "-email",
|
|
4486
4544
|
children: "Email"
|
|
4487
4545
|
}),
|
|
4488
|
-
/* @__PURE__ */
|
|
4546
|
+
/* @__PURE__ */ jsx48(Input2, {
|
|
4489
4547
|
id: id + "-email",
|
|
4490
4548
|
name: "email",
|
|
4491
4549
|
type: "email",
|
|
@@ -4495,13 +4553,13 @@ function AuthForm2({
|
|
|
4495
4553
|
})
|
|
4496
4554
|
]
|
|
4497
4555
|
}),
|
|
4498
|
-
mode !== "reset-password" && /* @__PURE__ */
|
|
4556
|
+
mode !== "reset-password" && /* @__PURE__ */ jsxs33(Field2, {
|
|
4499
4557
|
children: [
|
|
4500
|
-
/* @__PURE__ */
|
|
4558
|
+
/* @__PURE__ */ jsx48(FieldLabel2, {
|
|
4501
4559
|
htmlFor: id + "-password",
|
|
4502
4560
|
children: "Password"
|
|
4503
4561
|
}),
|
|
4504
|
-
/* @__PURE__ */
|
|
4562
|
+
/* @__PURE__ */ jsx48(Input2, {
|
|
4505
4563
|
id: id + "-password",
|
|
4506
4564
|
name: "password",
|
|
4507
4565
|
type: "password",
|
|
@@ -4510,27 +4568,27 @@ function AuthForm2({
|
|
|
4510
4568
|
required: true,
|
|
4511
4569
|
disabled: disabled || pending
|
|
4512
4570
|
}),
|
|
4513
|
-
mode === "sign-up" && /* @__PURE__ */
|
|
4571
|
+
mode === "sign-up" && /* @__PURE__ */ jsx48(FieldDescription2, {
|
|
4514
4572
|
children: "Use at least eight characters."
|
|
4515
4573
|
})
|
|
4516
4574
|
]
|
|
4517
4575
|
}),
|
|
4518
|
-
error && /* @__PURE__ */
|
|
4576
|
+
error && /* @__PURE__ */ jsxs33(Alert2, {
|
|
4519
4577
|
variant: "destructive",
|
|
4520
4578
|
children: [
|
|
4521
|
-
/* @__PURE__ */
|
|
4579
|
+
/* @__PURE__ */ jsx48(AlertTitle2, {
|
|
4522
4580
|
children: "Request failed"
|
|
4523
4581
|
}),
|
|
4524
|
-
/* @__PURE__ */
|
|
4582
|
+
/* @__PURE__ */ jsx48(AlertDescription2, {
|
|
4525
4583
|
children: error
|
|
4526
4584
|
})
|
|
4527
4585
|
]
|
|
4528
4586
|
}),
|
|
4529
|
-
/* @__PURE__ */
|
|
4587
|
+
/* @__PURE__ */ jsxs33(Button2, {
|
|
4530
4588
|
type: "submit",
|
|
4531
4589
|
disabled: disabled || pending,
|
|
4532
4590
|
children: [
|
|
4533
|
-
pending && /* @__PURE__ */
|
|
4591
|
+
pending && /* @__PURE__ */ jsx48(Spinner2, {
|
|
4534
4592
|
"data-icon": "inline-start"
|
|
4535
4593
|
}),
|
|
4536
4594
|
mode === "reset-password" ? "Send reset link" : title
|
|
@@ -4541,14 +4599,14 @@ function AuthForm2({
|
|
|
4541
4599
|
})
|
|
4542
4600
|
})
|
|
4543
4601
|
}),
|
|
4544
|
-
footer && /* @__PURE__ */
|
|
4602
|
+
footer && /* @__PURE__ */ jsx48(CardFooter2, {
|
|
4545
4603
|
children: footer
|
|
4546
4604
|
})
|
|
4547
4605
|
]
|
|
4548
4606
|
});
|
|
4549
4607
|
}
|
|
4550
4608
|
// src/components/SettingsSection.tsx
|
|
4551
|
-
import { jsx as
|
|
4609
|
+
import { jsx as jsx49, jsxs as jsxs34 } from "react/jsx-runtime";
|
|
4552
4610
|
function SettingsSection2({
|
|
4553
4611
|
title,
|
|
4554
4612
|
description,
|
|
@@ -4561,48 +4619,48 @@ function SettingsSection2({
|
|
|
4561
4619
|
destructive = false,
|
|
4562
4620
|
density
|
|
4563
4621
|
}) {
|
|
4564
|
-
return /* @__PURE__ */
|
|
4622
|
+
return /* @__PURE__ */ jsx49("form", {
|
|
4565
4623
|
"aria-label": title,
|
|
4566
4624
|
onSubmit,
|
|
4567
4625
|
"aria-busy": pending,
|
|
4568
|
-
children: /* @__PURE__ */
|
|
4626
|
+
children: /* @__PURE__ */ jsxs34(Card2, {
|
|
4569
4627
|
density,
|
|
4570
4628
|
children: [
|
|
4571
|
-
/* @__PURE__ */
|
|
4629
|
+
/* @__PURE__ */ jsxs34(CardHeader2, {
|
|
4572
4630
|
children: [
|
|
4573
|
-
/* @__PURE__ */
|
|
4631
|
+
/* @__PURE__ */ jsx49(CardTitle2, {
|
|
4574
4632
|
children: title
|
|
4575
4633
|
}),
|
|
4576
|
-
description && /* @__PURE__ */
|
|
4634
|
+
description && /* @__PURE__ */ jsx49(CardDescription2, {
|
|
4577
4635
|
children: description
|
|
4578
4636
|
})
|
|
4579
4637
|
]
|
|
4580
4638
|
}),
|
|
4581
|
-
/* @__PURE__ */
|
|
4582
|
-
children: /* @__PURE__ */
|
|
4639
|
+
/* @__PURE__ */ jsx49(CardContent2, {
|
|
4640
|
+
children: /* @__PURE__ */ jsxs34("fieldset", {
|
|
4583
4641
|
disabled: disabled || pending,
|
|
4584
4642
|
className: "min-w-0 border-0 p-0",
|
|
4585
4643
|
children: [
|
|
4586
|
-
/* @__PURE__ */
|
|
4644
|
+
/* @__PURE__ */ jsx49("legend", {
|
|
4587
4645
|
className: "sr-only",
|
|
4588
4646
|
children: title
|
|
4589
4647
|
}),
|
|
4590
|
-
/* @__PURE__ */
|
|
4648
|
+
/* @__PURE__ */ jsx49(FieldGroup2, {
|
|
4591
4649
|
children
|
|
4592
4650
|
})
|
|
4593
4651
|
]
|
|
4594
4652
|
})
|
|
4595
4653
|
}),
|
|
4596
|
-
/* @__PURE__ */
|
|
4654
|
+
/* @__PURE__ */ jsxs34(CardFooter2, {
|
|
4597
4655
|
className: "flex flex-wrap items-center justify-between gap-control-gap",
|
|
4598
4656
|
children: [
|
|
4599
4657
|
footer,
|
|
4600
|
-
/* @__PURE__ */
|
|
4658
|
+
/* @__PURE__ */ jsxs34(Button2, {
|
|
4601
4659
|
type: "submit",
|
|
4602
4660
|
variant: destructive ? "destructive" : "default",
|
|
4603
4661
|
disabled: disabled || pending,
|
|
4604
4662
|
children: [
|
|
4605
|
-
pending && /* @__PURE__ */
|
|
4663
|
+
pending && /* @__PURE__ */ jsx49(Spinner2, {
|
|
4606
4664
|
"data-icon": "inline-start"
|
|
4607
4665
|
}),
|
|
4608
4666
|
saveLabel
|
|
@@ -4615,7 +4673,7 @@ function SettingsSection2({
|
|
|
4615
4673
|
});
|
|
4616
4674
|
}
|
|
4617
4675
|
// src/components/TagInput.tsx
|
|
4618
|
-
import { jsx as
|
|
4676
|
+
import { jsx as jsx50, jsxs as jsxs35 } from "react/jsx-runtime";
|
|
4619
4677
|
function TagInput2({
|
|
4620
4678
|
label,
|
|
4621
4679
|
options,
|
|
@@ -4628,7 +4686,7 @@ function TagInput2({
|
|
|
4628
4686
|
density
|
|
4629
4687
|
}) {
|
|
4630
4688
|
const anchor = useComboboxAnchor2();
|
|
4631
|
-
return /* @__PURE__ */
|
|
4689
|
+
return /* @__PURE__ */ jsxs35(Combobox2, {
|
|
4632
4690
|
items: options,
|
|
4633
4691
|
multiple: true,
|
|
4634
4692
|
value,
|
|
@@ -4637,33 +4695,33 @@ function TagInput2({
|
|
|
4637
4695
|
disabled,
|
|
4638
4696
|
name,
|
|
4639
4697
|
children: [
|
|
4640
|
-
/* @__PURE__ */
|
|
4698
|
+
/* @__PURE__ */ jsxs35(ComboboxChips2, {
|
|
4641
4699
|
ref: anchor,
|
|
4642
4700
|
density,
|
|
4643
4701
|
children: [
|
|
4644
|
-
/* @__PURE__ */
|
|
4645
|
-
children: (values) => values.map((item) => /* @__PURE__ */
|
|
4702
|
+
/* @__PURE__ */ jsx50(ComboboxValue2, {
|
|
4703
|
+
children: (values) => values.map((item) => /* @__PURE__ */ jsx50(ComboboxChip2, {
|
|
4646
4704
|
removeLabel: `Remove ${item}`,
|
|
4647
4705
|
children: item
|
|
4648
4706
|
}, item))
|
|
4649
4707
|
}),
|
|
4650
|
-
/* @__PURE__ */
|
|
4708
|
+
/* @__PURE__ */ jsx50(ComboboxChipsInput2, {
|
|
4651
4709
|
"aria-label": label,
|
|
4652
4710
|
placeholder
|
|
4653
4711
|
})
|
|
4654
4712
|
]
|
|
4655
4713
|
}),
|
|
4656
|
-
/* @__PURE__ */
|
|
4714
|
+
/* @__PURE__ */ jsxs35(ComboboxContent2, {
|
|
4657
4715
|
anchor,
|
|
4658
4716
|
density,
|
|
4659
4717
|
children: [
|
|
4660
|
-
/* @__PURE__ */
|
|
4718
|
+
/* @__PURE__ */ jsx50(ComboboxEmpty2, {
|
|
4661
4719
|
children: "No matching tags."
|
|
4662
4720
|
}),
|
|
4663
|
-
/* @__PURE__ */
|
|
4664
|
-
children: /* @__PURE__ */
|
|
4665
|
-
children: /* @__PURE__ */
|
|
4666
|
-
children: (item) => /* @__PURE__ */
|
|
4721
|
+
/* @__PURE__ */ jsx50(ComboboxList2, {
|
|
4722
|
+
children: /* @__PURE__ */ jsx50(ComboboxGroup2, {
|
|
4723
|
+
children: /* @__PURE__ */ jsx50(ComboboxCollection2, {
|
|
4724
|
+
children: (item) => /* @__PURE__ */ jsx50(ComboboxItem2, {
|
|
4667
4725
|
value: item,
|
|
4668
4726
|
children: item
|
|
4669
4727
|
}, item)
|
|
@@ -4678,7 +4736,7 @@ function TagInput2({
|
|
|
4678
4736
|
// src/components/FilterChip.tsx
|
|
4679
4737
|
import { useId as useId9 } from "react";
|
|
4680
4738
|
import { XIcon as XIcon2 } from "lucide-react";
|
|
4681
|
-
import { jsx as
|
|
4739
|
+
import { jsx as jsx51, jsxs as jsxs36 } from "react/jsx-runtime";
|
|
4682
4740
|
function FilterChip2({
|
|
4683
4741
|
density,
|
|
4684
4742
|
className,
|
|
@@ -4689,7 +4747,7 @@ function FilterChip2({
|
|
|
4689
4747
|
...props
|
|
4690
4748
|
}) {
|
|
4691
4749
|
const labelId = useId9();
|
|
4692
|
-
return /* @__PURE__ */
|
|
4750
|
+
return /* @__PURE__ */ jsxs36("div", {
|
|
4693
4751
|
role: "group",
|
|
4694
4752
|
"aria-labelledby": labelId,
|
|
4695
4753
|
"data-density": density,
|
|
@@ -4705,13 +4763,13 @@ function FilterChip2({
|
|
|
4705
4763
|
},
|
|
4706
4764
|
...props,
|
|
4707
4765
|
children: [
|
|
4708
|
-
/* @__PURE__ */
|
|
4766
|
+
/* @__PURE__ */ jsx51("span", {
|
|
4709
4767
|
id: labelId,
|
|
4710
4768
|
"data-slot": "filter-chip-label",
|
|
4711
4769
|
className: "min-w-0 py-1 break-words",
|
|
4712
4770
|
children
|
|
4713
4771
|
}),
|
|
4714
|
-
/* @__PURE__ */
|
|
4772
|
+
/* @__PURE__ */ jsxs36(Button2, {
|
|
4715
4773
|
type: "button",
|
|
4716
4774
|
variant: "ghost",
|
|
4717
4775
|
size: "xs",
|
|
@@ -4719,7 +4777,7 @@ function FilterChip2({
|
|
|
4719
4777
|
onClick: onClear,
|
|
4720
4778
|
children: [
|
|
4721
4779
|
clearLabel,
|
|
4722
|
-
/* @__PURE__ */
|
|
4780
|
+
/* @__PURE__ */ jsx51(XIcon2, {
|
|
4723
4781
|
"aria-hidden": "true",
|
|
4724
4782
|
"data-icon": "inline-end"
|
|
4725
4783
|
})
|
|
@@ -4729,7 +4787,7 @@ function FilterChip2({
|
|
|
4729
4787
|
});
|
|
4730
4788
|
}
|
|
4731
4789
|
// src/components/FilterBar.tsx
|
|
4732
|
-
import { jsx as
|
|
4790
|
+
import { jsx as jsx52, jsxs as jsxs37 } from "react/jsx-runtime";
|
|
4733
4791
|
function FilterBar2({
|
|
4734
4792
|
label,
|
|
4735
4793
|
search,
|
|
@@ -4740,26 +4798,26 @@ function FilterBar2({
|
|
|
4740
4798
|
disabled,
|
|
4741
4799
|
density
|
|
4742
4800
|
}) {
|
|
4743
|
-
return /* @__PURE__ */
|
|
4801
|
+
return /* @__PURE__ */ jsxs37("fieldset", {
|
|
4744
4802
|
"aria-label": label,
|
|
4745
4803
|
disabled,
|
|
4746
4804
|
"data-density": density,
|
|
4747
4805
|
className: "flex min-w-0 flex-wrap items-center gap-2",
|
|
4748
4806
|
children: [
|
|
4749
|
-
/* @__PURE__ */
|
|
4807
|
+
/* @__PURE__ */ jsx52(Input2, {
|
|
4750
4808
|
"aria-label": `Search ${label}`,
|
|
4751
4809
|
type: "search",
|
|
4752
4810
|
value: search,
|
|
4753
4811
|
onChange: (event) => onSearchChange(event.target.value),
|
|
4754
4812
|
className: "min-w-40 flex-1"
|
|
4755
4813
|
}),
|
|
4756
|
-
filters.map((filter) => /* @__PURE__ */
|
|
4814
|
+
filters.map((filter) => /* @__PURE__ */ jsx52(OptionSelect2, {
|
|
4757
4815
|
"aria-label": filter.label,
|
|
4758
4816
|
value: value[filter.id] ?? "",
|
|
4759
4817
|
onValueChange: (next) => onValueChange({ ...value, [filter.id]: next }),
|
|
4760
4818
|
options: [{ value: "", label: filter.allLabel ?? `All ${filter.label.toLowerCase()}` }, ...filter.options]
|
|
4761
4819
|
}, filter.id)),
|
|
4762
|
-
/* @__PURE__ */
|
|
4820
|
+
/* @__PURE__ */ jsx52(Button2, {
|
|
4763
4821
|
type: "button",
|
|
4764
4822
|
variant: "ghost",
|
|
4765
4823
|
disabled: !search && !Object.values(value).some(Boolean),
|
|
@@ -4773,7 +4831,7 @@ function FilterBar2({
|
|
|
4773
4831
|
});
|
|
4774
4832
|
}
|
|
4775
4833
|
// src/components/BarList.tsx
|
|
4776
|
-
import { jsx as
|
|
4834
|
+
import { jsx as jsx53, jsxs as jsxs38 } from "react/jsx-runtime";
|
|
4777
4835
|
function BarList2({
|
|
4778
4836
|
label,
|
|
4779
4837
|
items,
|
|
@@ -4782,14 +4840,14 @@ function BarList2({
|
|
|
4782
4840
|
density
|
|
4783
4841
|
}) {
|
|
4784
4842
|
const max = Math.max(1, ...items.map((item) => item.value));
|
|
4785
|
-
return /* @__PURE__ */
|
|
4843
|
+
return /* @__PURE__ */ jsxs38("section", {
|
|
4786
4844
|
"aria-label": label,
|
|
4787
4845
|
"data-density": density,
|
|
4788
4846
|
children: [
|
|
4789
|
-
/* @__PURE__ */
|
|
4847
|
+
/* @__PURE__ */ jsx53("ul", {
|
|
4790
4848
|
className: "grid gap-3",
|
|
4791
|
-
children: items.map((item) => /* @__PURE__ */
|
|
4792
|
-
children: /* @__PURE__ */
|
|
4849
|
+
children: items.map((item) => /* @__PURE__ */ jsx53("li", {
|
|
4850
|
+
children: /* @__PURE__ */ jsxs38(Meter2, {
|
|
4793
4851
|
min: 0,
|
|
4794
4852
|
max,
|
|
4795
4853
|
value: item.value,
|
|
@@ -4797,11 +4855,11 @@ function BarList2({
|
|
|
4797
4855
|
format: { maximumFractionDigits: 2 },
|
|
4798
4856
|
className: "gap-y-1",
|
|
4799
4857
|
children: [
|
|
4800
|
-
/* @__PURE__ */
|
|
4858
|
+
/* @__PURE__ */ jsxs38("div", {
|
|
4801
4859
|
className: "flex w-full items-center justify-between gap-3 text-sm",
|
|
4802
4860
|
children: [
|
|
4803
|
-
/* @__PURE__ */
|
|
4804
|
-
children: onItemSelect ? /* @__PURE__ */
|
|
4861
|
+
/* @__PURE__ */ jsx53(MeterLabel2, {
|
|
4862
|
+
children: onItemSelect ? /* @__PURE__ */ jsx53(Button2, {
|
|
4805
4863
|
type: "button",
|
|
4806
4864
|
variant: "link",
|
|
4807
4865
|
className: "h-auto p-0",
|
|
@@ -4809,19 +4867,19 @@ function BarList2({
|
|
|
4809
4867
|
children: item.label
|
|
4810
4868
|
}) : item.label
|
|
4811
4869
|
}),
|
|
4812
|
-
/* @__PURE__ */
|
|
4870
|
+
/* @__PURE__ */ jsx53(MeterValue2, {
|
|
4813
4871
|
children: () => valueFormatter(item.value)
|
|
4814
4872
|
})
|
|
4815
4873
|
]
|
|
4816
4874
|
}),
|
|
4817
|
-
/* @__PURE__ */
|
|
4818
|
-
children: /* @__PURE__ */
|
|
4875
|
+
/* @__PURE__ */ jsx53(MeterTrack2, {
|
|
4876
|
+
children: /* @__PURE__ */ jsx53(MeterIndicator2, {})
|
|
4819
4877
|
})
|
|
4820
4878
|
]
|
|
4821
4879
|
})
|
|
4822
4880
|
}, item.id))
|
|
4823
4881
|
}),
|
|
4824
|
-
!items.length && /* @__PURE__ */
|
|
4882
|
+
!items.length && /* @__PURE__ */ jsx53("p", {
|
|
4825
4883
|
role: "status",
|
|
4826
4884
|
className: "text-sm text-muted-foreground",
|
|
4827
4885
|
children: "No data available."
|
|
@@ -4830,23 +4888,23 @@ function BarList2({
|
|
|
4830
4888
|
});
|
|
4831
4889
|
}
|
|
4832
4890
|
// src/components/StatusTracker.tsx
|
|
4833
|
-
import { jsx as
|
|
4891
|
+
import { jsx as jsx54, jsxs as jsxs39 } from "react/jsx-runtime";
|
|
4834
4892
|
var statusClasses = { success: "bg-success", warning: "bg-warning", error: "bg-destructive", unknown: "bg-muted" };
|
|
4835
4893
|
function StatusTracker2({ label, items, onItemSelect, density }) {
|
|
4836
|
-
return /* @__PURE__ */
|
|
4837
|
-
children: /* @__PURE__ */
|
|
4894
|
+
return /* @__PURE__ */ jsx54(TooltipProvider2, {
|
|
4895
|
+
children: /* @__PURE__ */ jsx54("div", {
|
|
4838
4896
|
role: "group",
|
|
4839
4897
|
"aria-label": label,
|
|
4840
4898
|
"data-density": density,
|
|
4841
4899
|
className: "flex min-w-0 gap-1",
|
|
4842
|
-
children: items.map((item) => /* @__PURE__ */
|
|
4900
|
+
children: items.map((item) => /* @__PURE__ */ jsxs39(Tooltip2, {
|
|
4843
4901
|
children: [
|
|
4844
|
-
/* @__PURE__ */
|
|
4902
|
+
/* @__PURE__ */ jsx54(TooltipTrigger2, {
|
|
4845
4903
|
"aria-label": `${item.label}: ${item.status}`,
|
|
4846
4904
|
onClick: () => onItemSelect?.(item),
|
|
4847
4905
|
className: cn2("h-8 min-w-2 flex-1 rounded-sm outline-none focus-visible:ring-2 focus-visible:ring-ring", statusClasses[item.status])
|
|
4848
4906
|
}),
|
|
4849
|
-
/* @__PURE__ */
|
|
4907
|
+
/* @__PURE__ */ jsxs39(TooltipContent2, {
|
|
4850
4908
|
children: [
|
|
4851
4909
|
item.label,
|
|
4852
4910
|
": ",
|
|
@@ -4859,7 +4917,7 @@ function StatusTracker2({ label, items, onItemSelect, density }) {
|
|
|
4859
4917
|
});
|
|
4860
4918
|
}
|
|
4861
4919
|
// src/components/DashboardLayout.tsx
|
|
4862
|
-
import { jsx as
|
|
4920
|
+
import { jsx as jsx55, jsxs as jsxs40 } from "react/jsx-runtime";
|
|
4863
4921
|
function DashboardLayout2({
|
|
4864
4922
|
title,
|
|
4865
4923
|
description,
|
|
@@ -4870,24 +4928,24 @@ function DashboardLayout2({
|
|
|
4870
4928
|
footer,
|
|
4871
4929
|
density
|
|
4872
4930
|
}) {
|
|
4873
|
-
return /* @__PURE__ */
|
|
4931
|
+
return /* @__PURE__ */ jsxs40("div", {
|
|
4874
4932
|
"data-density": density,
|
|
4875
4933
|
"data-scroll": "none",
|
|
4876
4934
|
className: "grid min-w-0 gap-6",
|
|
4877
4935
|
children: [
|
|
4878
|
-
/* @__PURE__ */
|
|
4936
|
+
/* @__PURE__ */ jsx55(PageHeader2, {
|
|
4879
4937
|
title,
|
|
4880
4938
|
description,
|
|
4881
4939
|
actions
|
|
4882
4940
|
}),
|
|
4883
4941
|
filters,
|
|
4884
|
-
stats.length > 0 && /* @__PURE__ */
|
|
4942
|
+
stats.length > 0 && /* @__PURE__ */ jsx55("div", {
|
|
4885
4943
|
className: "grid gap-4 sm:grid-cols-2 xl:grid-cols-4",
|
|
4886
|
-
children: stats.map(({ id, ...stat }) => /* @__PURE__ */
|
|
4944
|
+
children: stats.map(({ id, ...stat }) => /* @__PURE__ */ jsx55(StatCard2, {
|
|
4887
4945
|
...stat
|
|
4888
4946
|
}, id))
|
|
4889
4947
|
}),
|
|
4890
|
-
/* @__PURE__ */
|
|
4948
|
+
/* @__PURE__ */ jsx55("div", {
|
|
4891
4949
|
className: "grid min-w-0 gap-4",
|
|
4892
4950
|
children
|
|
4893
4951
|
}),
|
|
@@ -4896,18 +4954,18 @@ function DashboardLayout2({
|
|
|
4896
4954
|
});
|
|
4897
4955
|
}
|
|
4898
4956
|
// src/components/BillingUsage.tsx
|
|
4899
|
-
import { jsx as
|
|
4957
|
+
import { jsx as jsx56, jsxs as jsxs41 } from "react/jsx-runtime";
|
|
4900
4958
|
function BillingUsage2({ plan, price, period, metrics, onManage, pending, density }) {
|
|
4901
|
-
return /* @__PURE__ */
|
|
4959
|
+
return /* @__PURE__ */ jsxs41(Card2, {
|
|
4902
4960
|
density,
|
|
4903
4961
|
"aria-label": "Billing and usage",
|
|
4904
4962
|
children: [
|
|
4905
|
-
/* @__PURE__ */
|
|
4963
|
+
/* @__PURE__ */ jsxs41(CardHeader2, {
|
|
4906
4964
|
children: [
|
|
4907
|
-
/* @__PURE__ */
|
|
4965
|
+
/* @__PURE__ */ jsx56(CardTitle2, {
|
|
4908
4966
|
children: plan
|
|
4909
4967
|
}),
|
|
4910
|
-
/* @__PURE__ */
|
|
4968
|
+
/* @__PURE__ */ jsxs41(CardDescription2, {
|
|
4911
4969
|
children: [
|
|
4912
4970
|
price,
|
|
4913
4971
|
" · ",
|
|
@@ -4916,32 +4974,32 @@ function BillingUsage2({ plan, price, period, metrics, onManage, pending, densit
|
|
|
4916
4974
|
})
|
|
4917
4975
|
]
|
|
4918
4976
|
}),
|
|
4919
|
-
/* @__PURE__ */
|
|
4977
|
+
/* @__PURE__ */ jsx56(CardContent2, {
|
|
4920
4978
|
className: "grid gap-4",
|
|
4921
|
-
children: metrics.map((metric) => /* @__PURE__ */
|
|
4979
|
+
children: metrics.map((metric) => /* @__PURE__ */ jsxs41(Meter2, {
|
|
4922
4980
|
value: metric.used,
|
|
4923
4981
|
max: metric.limit,
|
|
4924
4982
|
"aria-label": metric.label,
|
|
4925
4983
|
children: [
|
|
4926
|
-
/* @__PURE__ */
|
|
4984
|
+
/* @__PURE__ */ jsxs41("div", {
|
|
4927
4985
|
className: "mb-2 flex items-center justify-between gap-3 text-sm",
|
|
4928
4986
|
children: [
|
|
4929
|
-
/* @__PURE__ */
|
|
4987
|
+
/* @__PURE__ */ jsx56(MeterLabel2, {
|
|
4930
4988
|
children: metric.label
|
|
4931
4989
|
}),
|
|
4932
|
-
/* @__PURE__ */
|
|
4990
|
+
/* @__PURE__ */ jsx56(MeterValue2, {
|
|
4933
4991
|
children: () => `${metric.used.toLocaleString()} / ${metric.limit.toLocaleString()}${metric.unit ? ` ${metric.unit}` : ""}`
|
|
4934
4992
|
})
|
|
4935
4993
|
]
|
|
4936
4994
|
}),
|
|
4937
|
-
/* @__PURE__ */
|
|
4938
|
-
children: /* @__PURE__ */
|
|
4995
|
+
/* @__PURE__ */ jsx56(MeterTrack2, {
|
|
4996
|
+
children: /* @__PURE__ */ jsx56(MeterIndicator2, {})
|
|
4939
4997
|
})
|
|
4940
4998
|
]
|
|
4941
4999
|
}, metric.id))
|
|
4942
5000
|
}),
|
|
4943
|
-
/* @__PURE__ */
|
|
4944
|
-
children: /* @__PURE__ */
|
|
5001
|
+
/* @__PURE__ */ jsx56(CardFooter2, {
|
|
5002
|
+
children: /* @__PURE__ */ jsx56(Button2, {
|
|
4945
5003
|
type: "button",
|
|
4946
5004
|
variant: "outline",
|
|
4947
5005
|
onClick: onManage,
|
|
@@ -4952,4 +5010,4 @@ function BillingUsage2({ plan, price, period, metrics, onManage, pending, densit
|
|
|
4952
5010
|
]
|
|
4953
5011
|
});
|
|
4954
5012
|
}
|
|
4955
|
-
export { ButtonLink2, ContextMenu2, ContextMenuPortal2, ContextMenuTrigger2, ContextMenuContent2, ActionsMenu2, ActionsMenuTrigger2, ActionsMenuContextTarget2, ActionsMenuContextContent2, FormDialog2, Accordion2, AccordionItem2, AccordionTrigger2, AccordionContent2, OptionCardGroup2, OptionCard2, EmptyState3, PageMessage2, ActionBar2, ActionBarRow2, ErrorSummary2, ErrorSummaryItem2, Outline2, OutlineSection2, OutlineItem2, formatDataLabel2, DataViewer2, JsonViewer2, AlertDialog2, AlertDialogTrigger2, AlertDialogPortal2, AlertDialogOverlay2, AlertDialogContent2, AlertDialogHeader2, AlertDialogFooter2, AlertDialogMedia2, AlertDialogTitle2, AlertDialogDescription2, AlertDialogAction2, AlertDialogCancel2, DensityProvider2, collectLayoutViolations2, LayoutGuard2, ScrollGuard2, ThemeProvider2, AspectRatio2, Breadcrumb2, BreadcrumbList2, BreadcrumbItem2, BreadcrumbLink2, BreadcrumbPage2, BreadcrumbSeparator2, BreadcrumbEllipsis2, buttonGroupVariants2, ButtonGroup2, ButtonGroupText2, ButtonGroupSeparator2, DescriptionList2, DescriptionListItem2, DescriptionTerm2, DescriptionDetails2, ItemGroup2, ItemSeparator2, Item2, ItemMedia2, ItemContent2, ItemTitle2, ItemDescription2, ItemActions2, ItemHeader2, ItemFooter2, Pagination2, PaginationContent2, PaginationItem2, PaginationLink2, PaginationPrevious2, PaginationNext2, PaginationEllipsis2, Menubar2, MenubarMenu2, MenubarGroup2, MenubarPortal2, MenubarTrigger2, MenubarContent2, MenubarItem2, MenubarCheckboxItem2, MenubarRadioGroup2, MenubarRadioItem2, MenubarLabel2, MenubarSeparator2, MenubarShortcut2, MenubarSub2, MenubarSubTrigger2, MenubarSubContent2, NavigationMenu2, NavigationMenuList2, NavigationMenuItem2, navigationMenuTriggerStyle2, NavigationMenuTrigger2, NavigationMenuContent2, NavigationMenuPositioner2, NavigationMenuLink2, NavigationMenuIndicator2, ToastProvider2, ToastPortal2, ToastViewport2, Toast2, ToastContent2, ToastTitle2, ToastDescription2, ToastAction2, ToastClose2, ToastToaster2, createToastManager2, useToastManager2, markerVariants2, Marker2, MarkerIcon2, MarkerContent2, BubbleGroup2, Bubble2, BubbleContent2, BubbleReactions2, MessageGroup2, Message2, MessageAvatar2, MessageContent2, MessageHeader2, MessageFooter2, MessageThread2, MessageThreadSummary2, MessageThreadReplies2, Attachment2, AttachmentMedia2, AttachmentContent2, AttachmentTitle2, AttachmentDescription2, AttachmentActions2, AttachmentAction2, AttachmentTrigger2, AttachmentGroup2, InlineEdit2, StarRating2, ReviewList2, ChoiceTable2, ConfirmationDialog2, ImagePicker2, Meter2, MeterLabel2, MeterValue2, MeterTrack2, MeterIndicator2, ToolbarToggleChip2, Stepper2, StepperList2, StepperTrigger2, StepperIndicator2, StepperContent2, AppShell2, Stack2, Grid2, GridItem2, Container2, Text2, Heading2, WeatherSummary2, WeatherForecast2, PageHeader2, PageIntro2, WorkspaceSwitcher2, AccountMenu2, StatCard2, AuthForm2, SettingsSection2, TagInput2, FilterChip2, FilterBar2, BarList2, StatusTracker2, DashboardLayout2, BillingUsage2 };
|
|
5013
|
+
export { ButtonLink2, ContextMenu2, ContextMenuPortal2, ContextMenuTrigger2, ContextMenuContent2, ActionsMenu2, ActionsMenuTrigger2, ActionsMenuContextTarget2, ActionsMenuContextContent2, FormDialog2, Accordion2, AccordionItem2, AccordionTrigger2, AccordionContent2, OptionCardGroup2, OptionCard2, EmptyState3, PageMessage2, ActionBar2, ActionBarRow2, ErrorSummary2, ErrorSummaryItem2, Outline2, OutlineSection2, OutlineItem2, formatDataLabel2, DataViewer2, JsonViewer2, AlertDialog2, AlertDialogTrigger2, AlertDialogPortal2, AlertDialogOverlay2, AlertDialogContent2, AlertDialogHeader2, AlertDialogFooter2, AlertDialogMedia2, AlertDialogTitle2, AlertDialogDescription2, AlertDialogAction2, AlertDialogCancel2, DensityProvider2, collectLayoutViolations2, LayoutGuard2, ScrollGuard2, ThemeProvider2, AspectRatio2, Breadcrumb2, BreadcrumbList2, BreadcrumbItem2, BreadcrumbLink2, BreadcrumbPage2, BreadcrumbSeparator2, BreadcrumbEllipsis2, buttonGroupVariants2, ButtonGroup2, ButtonGroupText2, ButtonGroupSeparator2, DescriptionList2, DescriptionListItem2, DescriptionTerm2, DescriptionDetails2, ItemGroup2, ItemSeparator2, Item2, ItemMedia2, ItemContent2, ItemTitle2, ItemDescription2, ItemActions2, ItemHeader2, ItemFooter2, Pagination2, PaginationContent2, PaginationItem2, PaginationLink2, PaginationPrevious2, PaginationNext2, PaginationEllipsis2, Menubar2, MenubarMenu2, MenubarGroup2, MenubarPortal2, MenubarTrigger2, MenubarContent2, MenubarItem2, MenubarCheckboxItem2, MenubarRadioGroup2, MenubarRadioItem2, MenubarLabel2, MenubarSeparator2, MenubarShortcut2, MenubarSub2, MenubarSubTrigger2, MenubarSubContent2, NavigationMenu2, NavigationMenuList2, NavigationMenuItem2, navigationMenuTriggerStyle2, NavigationMenuTrigger2, NavigationMenuContent2, NavigationMenuPositioner2, NavigationMenuLink2, NavigationMenuIndicator2, ToastProvider2, ToastPortal2, ToastViewport2, Toast2, ToastContent2, ToastTitle2, ToastDescription2, ToastAction2, ToastClose2, ToastToaster2, createToastManager2, useToastManager2, markerVariants2, Marker2, MarkerIcon2, MarkerContent2, BubbleGroup2, Bubble2, BubbleContent2, BubbleReactions2, MessageGroup2, Message2, MessageAvatar2, MessageContent2, MessageHeader2, MessageFooter2, MessageThread2, MessageThreadSummary2, MessageThreadReplies2, Attachment2, AttachmentMedia2, AttachmentContent2, AttachmentTitle2, AttachmentDescription2, AttachmentActions2, AttachmentAction2, AttachmentTrigger2, AttachmentGroup2, InlineEdit2, StarRating2, ReviewList2, ChoiceTable2, ConfirmationDialog2, ImagePicker2, Meter2, MeterLabel2, MeterValue2, MeterTrack2, MeterIndicator2, ToolbarToggleChip2, Stepper2, StepperList2, StepperTrigger2, StepperIndicator2, StepperContent2, AppShell2, Stack2, Grid2, GridItem2, Container2, Text2, Heading2, WeatherSummary2, WeatherForecast2, PageHeader2, PanelHeader2, PageIntro2, WorkspaceSwitcher2, AccountMenu2, StatCard2, AuthForm2, SettingsSection2, TagInput2, FilterChip2, FilterBar2, BarList2, StatusTracker2, DashboardLayout2, BillingUsage2 };
|