@alexgorbatchev/shadcn 0.0.200 → 0.0.202
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/dist/{chunk-pmt44155.js → chunk-0cywa6fx.js} +1 -1
- package/dist/{chunk-kch8qvbf.js → chunk-0g1djv41.js} +2 -2
- package/dist/{chunk-hjqcaa9b.js → chunk-0wcc4g4y.js} +2 -2
- package/dist/{chunk-w1j900p6.js → chunk-176w7j5d.js} +2 -2
- package/dist/{chunk-as82edkz.js → chunk-2sxwwhg4.js} +1 -1
- package/dist/{chunk-8qk4c4t9.js → chunk-3ayr7ga2.js} +1 -1
- package/dist/{chunk-e6jxs4se.js → chunk-3gde9nfw.js} +1 -1
- package/dist/{chunk-z2h046dx.js → chunk-4abk0s18.js} +1 -1
- package/dist/{chunk-g9y8gb5r.js → chunk-4kkx7m55.js} +8 -8
- package/dist/{chunk-gqbf88mg.js → chunk-5b4pcb7g.js} +1 -1
- package/dist/{chunk-99086h5y.js → chunk-5hmt8978.js} +1 -1
- package/dist/{chunk-qnahe4by.js → chunk-63g97w6z.js} +1 -1
- package/dist/{chunk-qg25yzcp.js → chunk-76q97de7.js} +1 -1
- package/dist/{chunk-95q78xjc.js → chunk-77y8k6pe.js} +1 -1
- package/dist/{chunk-d5vtk342.js → chunk-7h0afzqw.js} +1 -1
- package/dist/{chunk-n56hkkvq.js → chunk-7pcteywf.js} +1 -1
- package/dist/{chunk-nhx25e89.js → chunk-8sc8543t.js} +2 -2
- package/dist/{chunk-f9v5v07t.js → chunk-95x1rz41.js} +1 -1
- package/dist/{chunk-9s09v1e3.js → chunk-9g9pmf06.js} +1 -1
- package/dist/{chunk-hs68c966.js → chunk-9pngkh5e.js} +4 -4
- package/dist/{chunk-9e930s9w.js → chunk-9rf7cxea.js} +3 -3
- package/dist/{chunk-e5z1pw8q.js → chunk-9v51zfz9.js} +3 -3
- package/dist/{chunk-rf6x2h3k.js → chunk-a33b2w22.js} +4 -2
- package/dist/{chunk-ywmembnc.js → chunk-a86ean5h.js} +1 -1
- package/dist/{chunk-xzvjf97v.js → chunk-a98q52m1.js} +1 -1
- package/dist/{chunk-p4s3q5bn.js → chunk-anhrap9y.js} +1 -1
- package/dist/{chunk-pmez897k.js → chunk-anzr6thj.js} +1 -1
- package/dist/{chunk-z0d1ewxx.js → chunk-bbbxnbwd.js} +1 -1
- package/dist/{chunk-3ft0zbbf.js → chunk-bjmq3c5f.js} +1 -1
- package/dist/{chunk-4svvcdqy.js → chunk-bztyq92z.js} +1 -1
- package/dist/{chunk-wgrc2f10.js → chunk-cfpcj82g.js} +2 -2
- package/dist/{chunk-hwyyjsr7.js → chunk-cvhqs6gj.js} +1 -1
- package/dist/{chunk-yqp07vda.js → chunk-cvy0wj4b.js} +1 -1
- package/dist/{chunk-x1g72gzp.js → chunk-cxgxxt62.js} +1 -1
- package/dist/{chunk-e5bk2dkb.js → chunk-d8ysy1af.js} +1 -1
- package/dist/{chunk-3f26emj1.js → chunk-dm9fmbgw.js} +1 -1
- package/dist/{chunk-5nch5bsy.js → chunk-dmmvpztc.js} +1 -1
- package/dist/{chunk-typck7hd.js → chunk-dny6d8cb.js} +1 -1
- package/dist/{chunk-70jrnyy7.js → chunk-dppcrtza.js} +1 -1
- package/dist/{chunk-f9sm5zpv.js → chunk-edjb0nj8.js} +2 -2
- package/dist/{chunk-70qeqwmv.js → chunk-eqkyyq74.js} +1 -1
- package/dist/{chunk-r7ewxac3.js → chunk-evv4435t.js} +2 -2
- package/dist/{chunk-de0m5hdq.js → chunk-ew1n9ren.js} +2 -2
- package/dist/{chunk-jtz7pp3g.js → chunk-fn1d98rk.js} +1 -1
- package/dist/{chunk-a5g5kcty.js → chunk-fn9d9c0p.js} +1 -1
- package/dist/{chunk-y6sxmz13.js → chunk-fxq25ecb.js} +1 -1
- package/dist/{chunk-2betnfpa.js → chunk-gmm8kxz8.js} +8 -8
- package/dist/{chunk-jzz2pyfe.js → chunk-h3fvshw6.js} +1 -1
- package/dist/{chunk-jns2gm24.js → chunk-h400r3je.js} +1 -1
- package/dist/{chunk-j2jxkm1q.js → chunk-h9zk4f8j.js} +2 -2
- package/dist/{chunk-qcacpahw.js → chunk-hcptnha3.js} +72 -28
- package/dist/{chunk-4p6g1s80.js → chunk-hgek1k32.js} +1 -1
- package/dist/{chunk-07q031ex.js → chunk-hgfxdxx6.js} +1 -1
- package/dist/{chunk-eg6qxck8.js → chunk-hkr2pfe7.js} +1 -1
- package/dist/{chunk-77939vrr.js → chunk-hsg305f4.js} +1 -1
- package/dist/{chunk-n63meq6q.js → chunk-hvfe31vg.js} +3 -3
- package/dist/{chunk-sxkq8zva.js → chunk-hvp64wp7.js} +1 -1
- package/dist/{chunk-21wndtkr.js → chunk-j1vvdf9s.js} +1 -1
- package/dist/{chunk-99xm1afx.js → chunk-j26r74ae.js} +1 -1
- package/dist/{chunk-k8s1q1r4.js → chunk-j4grpbsr.js} +2 -2
- package/dist/{chunk-nd4pcs8v.js → chunk-j913ctp2.js} +1 -1
- package/dist/{chunk-83435g31.js → chunk-jr3wr41d.js} +1 -1
- package/dist/{chunk-0vwfzn0g.js → chunk-js0j49sy.js} +1 -1
- package/dist/{chunk-y8zhw7xc.js → chunk-k15cj6ec.js} +2 -2
- package/dist/{chunk-6ja4g9vr.js → chunk-k4k3zx1f.js} +2 -2
- package/dist/{chunk-atvnksbs.js → chunk-kf2kgr79.js} +1 -1
- package/dist/{chunk-aqkhtz9e.js → chunk-kk6pa96r.js} +1 -1
- package/dist/{chunk-12f6bymz.js → chunk-kpntmm1a.js} +1 -1
- package/dist/{chunk-aq1zss31.js → chunk-kt78gbmy.js} +1 -1
- package/dist/{chunk-edbj0m5e.js → chunk-m8nqn4c3.js} +1 -1
- package/dist/{chunk-f8bfe6n5.js → chunk-mbsfhffg.js} +1 -1
- package/dist/{chunk-xkwecrsf.js → chunk-mdjgrcnm.js} +1 -1
- package/dist/{chunk-kadp22w2.js → chunk-mq738cqx.js} +2 -2
- package/dist/{chunk-nap5nq7f.js → chunk-mtk8ceyv.js} +1 -1
- package/dist/{chunk-xbcj6vxt.js → chunk-mxxf762j.js} +2 -2
- package/dist/{chunk-8krseqme.js → chunk-mxys3hjz.js} +1 -1
- package/dist/{chunk-hxy2xabn.js → chunk-n4ezrfnj.js} +1 -1
- package/dist/{chunk-w868y7p1.js → chunk-n8b0nshb.js} +2 -2
- package/dist/{chunk-kgfk5kpm.js → chunk-ntzay94j.js} +1 -1
- package/dist/{chunk-1tkk3gw5.js → chunk-nwkqm4vd.js} +2 -2
- package/dist/{chunk-wq3yc62h.js → chunk-pazzht8y.js} +1 -1
- package/dist/{chunk-rgh3yp6f.js → chunk-pj1f124b.js} +1 -1
- package/dist/{chunk-d2grwsq4.js → chunk-pk50cqca.js} +3 -3
- package/dist/{chunk-g06msadd.js → chunk-psavp5er.js} +1 -1
- package/dist/{chunk-mqrbqe46.js → chunk-py7t8hsd.js} +2 -2
- package/dist/{chunk-23nxxtnd.js → chunk-q7bxwj6j.js} +1 -1
- package/dist/{chunk-v4gh9j5t.js → chunk-q7xq0ssr.js} +1 -1
- package/dist/{chunk-k4qkpqtn.js → chunk-qage5h75.js} +2 -2
- package/dist/{chunk-qe3t7h28.js → chunk-qepd1w4y.js} +2 -2
- package/dist/{chunk-d5mm4gyx.js → chunk-qh1rdqkx.js} +1 -1
- package/dist/{chunk-m4v4rfec.js → chunk-qnyz9xkd.js} +1 -1
- package/dist/{chunk-9j3m0wwc.js → chunk-qwfqvefq.js} +1 -1
- package/dist/{chunk-szjt3z8q.js → chunk-qyjv2cwn.js} +1 -1
- package/dist/{chunk-qq9atq78.js → chunk-r337e6xz.js} +1 -1
- package/dist/{chunk-nh04cme1.js → chunk-r6mvt3q5.js} +1 -1
- package/dist/{chunk-2pc7t67r.js → chunk-rapfn5we.js} +1 -1
- package/dist/{chunk-je1aeg65.js → chunk-rkn021f9.js} +1 -1
- package/dist/{chunk-mh8yzqj7.js → chunk-sfqrk33s.js} +1 -1
- package/dist/{chunk-2d3npxat.js → chunk-sq921ejh.js} +1 -1
- package/dist/{chunk-x8q21c7x.js → chunk-svkgr1tc.js} +1 -1
- package/dist/{chunk-m2x0j3b2.js → chunk-tfdybjbt.js} +1 -1
- package/dist/{chunk-va8v7aaa.js → chunk-tmd9b5n0.js} +1 -1
- package/dist/{chunk-t1kfaakc.js → chunk-tqa03s7h.js} +1 -1
- package/dist/{chunk-6djnvfb6.js → chunk-vhp2pvjd.js} +1 -1
- package/dist/{chunk-26csm20x.js → chunk-vnxnmpjt.js} +1 -1
- package/dist/{chunk-fqgs7575.js → chunk-vyakbkca.js} +1 -1
- package/dist/{chunk-8petembv.js → chunk-w52rcqsf.js} +1 -1
- package/dist/{chunk-9msqz1ce.js → chunk-wcmj24xs.js} +1 -1
- package/dist/{chunk-8czeptwt.js → chunk-wf35pqg1.js} +1 -1
- package/dist/{chunk-yvq8emse.js → chunk-wm1qhjjb.js} +1 -1
- package/dist/{chunk-yz0he4xy.js → chunk-wzzysv01.js} +1 -1
- package/dist/{chunk-0d3nt7qz.js → chunk-xbj481nq.js} +1 -1
- package/dist/{chunk-h9ty5vqp.js → chunk-xf8na0xf.js} +1 -1
- package/dist/{chunk-em4a823z.js → chunk-xgj4b92p.js} +2 -2
- package/dist/{chunk-scd23ktw.js → chunk-xpsp5cd9.js} +1 -1
- package/dist/{chunk-ww425e8k.js → chunk-xwf79jzx.js} +3 -3
- package/dist/{chunk-aft224h4.js → chunk-xy39sqpy.js} +1 -1
- package/dist/{chunk-r7gng4hm.js → chunk-xynv5wzg.js} +1 -1
- package/dist/{chunk-skxp6je3.js → chunk-xzezmrjw.js} +2 -2
- package/dist/{chunk-vnknj6dr.js → chunk-yh4w2w1k.js} +3 -3
- package/dist/{chunk-ns5swv4b.js → chunk-yq41btcf.js} +1 -1
- package/dist/{chunk-6v7wyvpp.js → chunk-yspbg4dk.js} +1 -1
- package/dist/{chunk-m5gm7dz8.js → chunk-yywdygw8.js} +1 -1
- package/dist/{chunk-23jq0apj.js → chunk-z9et7s0m.js} +1 -1
- package/dist/{chunk-z2d0zedq.js → chunk-zg00dqe8.js} +1 -1
- package/dist/{chunk-pj12f0p7.js → chunk-zpqfte56.js} +1 -1
- package/dist/{chunk-5a0b532h.js → chunk-zvvqvzd9.js} +1 -1
- package/dist/{chunk-hqtzcpmm.js → chunk-zx4f13ac.js} +1 -1
- package/dist/{chunk-5nna8qjj.js → chunk-zypkgnrc.js} +2 -2
- package/dist/components/Table.d.ts +4 -2
- package/dist/components/assistant-ui/elements/AgentCard.js +2 -2
- package/dist/components/assistant-ui/elements/ApprovalCard.js +2 -2
- package/dist/components/assistant-ui/elements/ArtifactCard.js +2 -2
- package/dist/components/assistant-ui/elements/AudioPlayer.js +2 -2
- package/dist/components/assistant-ui/elements/BackgroundInbox.js +2 -2
- package/dist/components/assistant-ui/elements/CanvasSplit.js +2 -2
- package/dist/components/assistant-ui/elements/ChatPanel.js +3 -3
- package/dist/components/assistant-ui/elements/CheckpointHistory.js +2 -2
- package/dist/components/assistant-ui/elements/Citation.js +2 -2
- package/dist/components/assistant-ui/elements/CodeRunner.js +2 -2
- package/dist/components/assistant-ui/elements/CommandPalette.js +5 -5
- package/dist/components/assistant-ui/elements/ComposerAttachButton.js +2 -2
- package/dist/components/assistant-ui/elements/ComposerAttachmentChip.js +2 -2
- package/dist/components/assistant-ui/elements/ComposerAttachments.js +3 -3
- package/dist/components/assistant-ui/elements/ComposerBar.js +3 -3
- package/dist/components/assistant-ui/elements/ComposerCommandItem.js +3 -3
- package/dist/components/assistant-ui/elements/ComposerContext.js +2 -2
- package/dist/components/assistant-ui/elements/ComposerInput.js +3 -3
- package/dist/components/assistant-ui/elements/ComposerMenuItem.js +2 -2
- package/dist/components/assistant-ui/elements/ComposerModelItem.js +3 -3
- package/dist/components/assistant-ui/elements/ComposerModelTrigger.js +2 -2
- package/dist/components/assistant-ui/elements/ComposerPersonItem.js +3 -3
- package/dist/components/assistant-ui/elements/ComposerSend.js +2 -2
- package/dist/components/assistant-ui/elements/ComposerToolbar.js +3 -3
- package/dist/components/assistant-ui/elements/ComposerVoiceButton.js +2 -2
- package/dist/components/assistant-ui/elements/ConnectionState.js +2 -2
- package/dist/components/assistant-ui/elements/ConversationSearch.js +3 -3
- package/dist/components/assistant-ui/elements/DataTable.js +3 -3
- package/dist/components/assistant-ui/elements/Diagram.js +2 -2
- package/dist/components/assistant-ui/elements/DiffViewer.js +3 -3
- package/dist/components/assistant-ui/elements/DiffViewerHeader.js +2 -2
- package/dist/components/assistant-ui/elements/DocumentReference.js +2 -2
- package/dist/components/assistant-ui/elements/DraftRestore.js +2 -2
- package/dist/components/assistant-ui/elements/EditMessage.js +2 -2
- package/dist/components/assistant-ui/elements/ElicitationForm.js +2 -2
- package/dist/components/assistant-ui/elements/EmptyStateComposer.js +3 -3
- package/dist/components/assistant-ui/elements/EmptyStateSuggestion.js +2 -2
- package/dist/components/assistant-ui/elements/ErrorState.js +2 -2
- package/dist/components/assistant-ui/elements/EveAskQuestion.js +3 -3
- package/dist/components/assistant-ui/elements/FeedbackDialog.js +2 -2
- package/dist/components/assistant-ui/elements/File.js +3 -3
- package/dist/components/assistant-ui/elements/GenerativeUi.js +7 -7
- package/dist/components/assistant-ui/elements/GeoMap.js +3 -3
- package/dist/components/assistant-ui/elements/GuardrailNotice.js +2 -2
- package/dist/components/assistant-ui/elements/Image.js +3 -3
- package/dist/components/assistant-ui/elements/ImageGallery.js +3 -3
- package/dist/components/assistant-ui/elements/ImageGeneration.js +2 -2
- package/dist/components/assistant-ui/elements/JobProgress.js +2 -2
- package/dist/components/assistant-ui/elements/LauncherBubble.js +2 -2
- package/dist/components/assistant-ui/elements/MapAnswer.js +2 -2
- package/dist/components/assistant-ui/elements/MarkdownText.js +3 -3
- package/dist/components/assistant-ui/elements/McpServerPanel.js +2 -2
- package/dist/components/assistant-ui/elements/MemoryChips.js +2 -2
- package/dist/components/assistant-ui/elements/MermaidDiagram.js +4 -4
- package/dist/components/assistant-ui/elements/MermaidZoom.js +3 -3
- package/dist/components/assistant-ui/elements/MessageActions.js +2 -2
- package/dist/components/assistant-ui/elements/MessageAttachments.js +2 -2
- package/dist/components/assistant-ui/elements/MessageBranches.js +2 -2
- package/dist/components/assistant-ui/elements/MessagePair.js +2 -2
- package/dist/components/assistant-ui/elements/MessageQueue.js +2 -2
- package/dist/components/assistant-ui/elements/MobileComposer.js +3 -3
- package/dist/components/assistant-ui/elements/ModelSelector.js +11 -11
- package/dist/components/assistant-ui/elements/ModelSelectorContent.js +10 -10
- package/dist/components/assistant-ui/elements/ModelSelectorEmpty.js +5 -5
- package/dist/components/assistant-ui/elements/ModelSelectorFocusAnchor.js +5 -5
- package/dist/components/assistant-ui/elements/ModelSelectorGroup.js +5 -5
- package/dist/components/assistant-ui/elements/ModelSelectorItem.js +5 -5
- package/dist/components/assistant-ui/elements/ModelSelectorList.js +7 -7
- package/dist/components/assistant-ui/elements/ModelSelectorSearch.js +5 -5
- package/dist/components/assistant-ui/elements/ModelSelectorSeparator.js +5 -5
- package/dist/components/assistant-ui/elements/Onboarding.js +2 -2
- package/dist/components/assistant-ui/elements/OptionList.js +2 -2
- package/dist/components/assistant-ui/elements/PermissionGrant.js +2 -2
- package/dist/components/assistant-ui/elements/PromptLibrary.js +3 -3
- package/dist/components/assistant-ui/elements/QuestionFlow.js +3 -3
- package/dist/components/assistant-ui/elements/QuotaBanner.js +2 -2
- package/dist/components/assistant-ui/elements/QuoteReply.js +2 -2
- package/dist/components/assistant-ui/elements/ReadAloud.js +2 -2
- package/dist/components/assistant-ui/elements/RecommendationCard.js +2 -2
- package/dist/components/assistant-ui/elements/RegenerateMenu.js +2 -2
- package/dist/components/assistant-ui/elements/ReviewableDiff.js +2 -2
- package/dist/components/assistant-ui/elements/SettingsPanel.js +2 -2
- package/dist/components/assistant-ui/elements/SharedConversation.js +2 -2
- package/dist/components/assistant-ui/elements/StoppedRun.js +2 -2
- package/dist/components/assistant-ui/elements/Suggestions.js +2 -2
- package/dist/components/assistant-ui/elements/TaskCard.js +2 -2
- package/dist/components/assistant-ui/elements/TerminalBlock.js +2 -2
- package/dist/components/assistant-ui/elements/ThreadList.js +2 -2
- package/dist/components/assistant-ui/elements/ThreadSearch.js +3 -3
- package/dist/components/assistant-ui/elements/TodoList.js +2 -2
- package/dist/components/assistant-ui/elements/ToolError.js +2 -2
- package/dist/components/assistant-ui/elements/ToolGroup.js +2 -2
- package/dist/components/assistant-ui/elements/TooltipIconButton.js +2 -2
- package/dist/components/assistant-ui/elements/VoiceConversation.js +2 -2
- package/dist/components/assistant-ui/elements/WebPreview.js +2 -2
- package/dist/components/assistant-ui/eveAskQuestionToolkit.js +4 -4
- package/dist/components/assistant-ui/index.js +103 -103
- package/dist/components/assistant-ui/native/AssistantModal.js +13 -13
- package/dist/components/assistant-ui/native/AssistantSidebar.js +12 -12
- package/dist/components/assistant-ui/native/AttachmentPreview.js +4 -4
- package/dist/components/assistant-ui/native/McpConfigDialog.js +3 -3
- package/dist/components/assistant-ui/native/MermaidDiagram.js +5 -5
- package/dist/components/assistant-ui/native/ModelSelector.js +13 -13
- package/dist/components/assistant-ui/native/Reasoning.js +4 -4
- package/dist/components/assistant-ui/native/TaskCard.js +6 -6
- package/dist/components/assistant-ui/native/TaskGroup.js +7 -7
- package/dist/components/assistant-ui/native/Thread.js +11 -11
- package/dist/components/assistant-ui/native/ThreadList.js +2 -2
- package/dist/components/assistant-ui/native/ThreadListSidebar.js +4 -4
- package/dist/components/assistant-ui/native/ToolFallbackRoot.js +2 -2
- package/dist/components/assistant-ui/native/VoiceConnectButton.js +2 -2
- package/dist/components/assistant-ui/native/VoiceControl.js +6 -6
- package/dist/components/assistant-ui/native/VoiceConversation.js +3 -3
- package/dist/components/assistant-ui/native/VoiceDisconnectButton.js +3 -3
- package/dist/components/assistant-ui/native/VoiceMuteButton.js +3 -3
- package/dist/components/assistant-ui/native/index.js +40 -40
- package/dist/components/calendar/index.js +2 -2
- package/dist/components/carousel/index.js +2 -2
- package/dist/components/command/index.js +4 -4
- package/dist/components/data-grid/index.js +6 -6
- package/dist/components/editor/index.js +2 -2
- package/dist/components/event-calendar/index.js +1 -1
- package/dist/components/file-upload/index.js +1 -1
- package/dist/components/gantt/index.js +3 -3
- package/dist/components/image-viewer/index.js +2 -2
- package/dist/components/input-otp/index.js +1 -1
- package/dist/components/json-render/index.js +11 -11
- package/dist/components/message-scroller/index.js +1 -1
- package/dist/components/persian-calendar/index.js +2 -2
- package/dist/components/questionnaire/index.js +1 -1
- package/dist/components/resizable/index.js +1 -1
- package/dist/components/sonner/index.js +1 -1
- package/dist/components/text-diff/index.js +1 -1
- package/dist/components/tree/index.js +1 -1
- package/dist/components/virtual-data-grid/index.js +4 -4
- package/dist/components/virtual-table/index.js +2 -2
- package/dist/index.js +10 -10
- package/dist/prototype.js +1 -1
- package/dist/theme.css +4 -2
- package/llms/components/actions/Button.md +52 -0
- package/llms/components/actions/ToolbarToggleChip.md +50 -1
- package/llms/components/data-display/Table.md +25 -0
- package/llms/components/layout/ScrollArea.md +13 -0
- package/llms/setup.md +1 -1
- package/package.json +1 -1
|
@@ -7,7 +7,7 @@ import {
|
|
|
7
7
|
DataGridColumnHeader2,
|
|
8
8
|
DataGridFilter2,
|
|
9
9
|
DataGridPagination2
|
|
10
|
-
} from "../../chunk-
|
|
10
|
+
} from "../../chunk-evv4435t.js";
|
|
11
11
|
import"../../chunk-7ny0vyek.js";
|
|
12
12
|
import"../../chunk-8ssktt4b.js";
|
|
13
13
|
import"../../chunk-en44w1pn.js";
|
|
@@ -16,8 +16,8 @@ import"../../chunk-x90xmrba.js";
|
|
|
16
16
|
import"../../chunk-jpvw9xqy.js";
|
|
17
17
|
import {
|
|
18
18
|
Button2
|
|
19
|
-
} from "../../chunk-
|
|
20
|
-
import"../../chunk-
|
|
19
|
+
} from "../../chunk-hvfe31vg.js";
|
|
20
|
+
import"../../chunk-a33b2w22.js";
|
|
21
21
|
import"../../chunk-h45mqwpq.js";
|
|
22
22
|
import"../../chunk-7jpsybag.js";
|
|
23
23
|
import"../../chunk-t9ms87s9.js";
|
|
@@ -46,12 +46,12 @@ import {
|
|
|
46
46
|
ComboboxChip2,
|
|
47
47
|
ComboboxChipsInput2,
|
|
48
48
|
useComboboxAnchor2
|
|
49
|
-
} from "../../chunk-
|
|
49
|
+
} from "../../chunk-ew1n9ren.js";
|
|
50
50
|
import {
|
|
51
51
|
Badge2
|
|
52
52
|
} from "../../chunk-cgj3ade2.js";
|
|
53
53
|
import"../../chunk-vfgp11y4.js";
|
|
54
|
-
import"../../chunk-
|
|
54
|
+
import"../../chunk-zg00dqe8.js";
|
|
55
55
|
import {
|
|
56
56
|
NumberField2,
|
|
57
57
|
NumberFieldGroup2,
|
|
@@ -59,7 +59,7 @@ import {
|
|
|
59
59
|
} from "../../chunk-38barrma.js";
|
|
60
60
|
import {
|
|
61
61
|
ScrollArea2
|
|
62
|
-
} from "../../chunk-
|
|
62
|
+
} from "../../chunk-edjb0nj8.js";
|
|
63
63
|
import"../../chunk-5mydsjp3.js";
|
|
64
64
|
// src/components/data-grid/DataGridColumnOptions.tsx
|
|
65
65
|
import { Subscribe } from "@tanstack/react-table";
|
|
@@ -9,13 +9,13 @@ import"../../chunk-en44w1pn.js";
|
|
|
9
9
|
import"../../chunk-e6hk39ev.js";
|
|
10
10
|
import"../../chunk-x90xmrba.js";
|
|
11
11
|
import"../../chunk-jpvw9xqy.js";
|
|
12
|
-
import"../../chunk-
|
|
12
|
+
import"../../chunk-hvfe31vg.js";
|
|
13
13
|
import {
|
|
14
14
|
Toolbar2,
|
|
15
15
|
ToolbarButton2,
|
|
16
16
|
ToolbarGroup2,
|
|
17
17
|
ToolbarSeparator2
|
|
18
|
-
} from "../../chunk-
|
|
18
|
+
} from "../../chunk-dmmvpztc.js";
|
|
19
19
|
import"../../chunk-5mydsjp3.js";
|
|
20
20
|
|
|
21
21
|
// src/components/editor/RichTextEditor.tsx
|
|
@@ -7,7 +7,7 @@ import {
|
|
|
7
7
|
DragSource2,
|
|
8
8
|
DropTarget2,
|
|
9
9
|
Kanban2
|
|
10
|
-
} from "../../chunk-
|
|
10
|
+
} from "../../chunk-zpqfte56.js";
|
|
11
11
|
import"../../chunk-en44w1pn.js";
|
|
12
12
|
import"../../chunk-cgj3ade2.js";
|
|
13
13
|
import"../../chunk-7ny0vyek.js";
|
|
@@ -17,7 +17,7 @@ import"../../chunk-x90xmrba.js";
|
|
|
17
17
|
import"../../chunk-jpvw9xqy.js";
|
|
18
18
|
import {
|
|
19
19
|
Button2
|
|
20
|
-
} from "../../chunk-
|
|
20
|
+
} from "../../chunk-hvfe31vg.js";
|
|
21
21
|
import {
|
|
22
22
|
OptionSelect2
|
|
23
23
|
} from "../../chunk-h45mqwpq.js";
|
|
@@ -28,7 +28,7 @@ import {
|
|
|
28
28
|
TableRow2,
|
|
29
29
|
TableHead2,
|
|
30
30
|
TableCell2
|
|
31
|
-
} from "../../chunk-
|
|
31
|
+
} from "../../chunk-a33b2w22.js";
|
|
32
32
|
import"../../chunk-5mydsjp3.js";
|
|
33
33
|
|
|
34
34
|
// src/components/gantt/Gantt.tsx
|
|
@@ -11,7 +11,7 @@ import"../../chunk-x90xmrba.js";
|
|
|
11
11
|
import"../../chunk-jpvw9xqy.js";
|
|
12
12
|
import {
|
|
13
13
|
Button2
|
|
14
|
-
} from "../../chunk-
|
|
14
|
+
} from "../../chunk-hvfe31vg.js";
|
|
15
15
|
import {
|
|
16
16
|
Toggle2,
|
|
17
17
|
ToggleGroup2,
|
|
@@ -45,7 +45,7 @@ import {
|
|
|
45
45
|
DialogHeader2,
|
|
46
46
|
DialogTitle2,
|
|
47
47
|
DialogDescription2
|
|
48
|
-
} from "../../chunk-
|
|
48
|
+
} from "../../chunk-sq921ejh.js";
|
|
49
49
|
import {
|
|
50
50
|
Switch2
|
|
51
51
|
} from "../../chunk-gzftvtrb.js";
|
|
@@ -12,7 +12,7 @@ import {
|
|
|
12
12
|
TooltipTrigger2,
|
|
13
13
|
TooltipContent2,
|
|
14
14
|
Button2
|
|
15
|
-
} from "../../chunk-
|
|
15
|
+
} from "../../chunk-hvfe31vg.js";
|
|
16
16
|
import {
|
|
17
17
|
ButtonLink2,
|
|
18
18
|
Accordion2,
|
|
@@ -26,7 +26,7 @@ import {
|
|
|
26
26
|
PaginationPrevious2,
|
|
27
27
|
PaginationNext2,
|
|
28
28
|
PaginationEllipsis2
|
|
29
|
-
} from "../../chunk-
|
|
29
|
+
} from "../../chunk-hcptnha3.js";
|
|
30
30
|
import {
|
|
31
31
|
MenuPopup,
|
|
32
32
|
MenuItem2,
|
|
@@ -46,8 +46,8 @@ import {
|
|
|
46
46
|
DialogHeader2,
|
|
47
47
|
DialogTitle2,
|
|
48
48
|
DialogDescription2
|
|
49
|
-
} from "../../chunk-
|
|
50
|
-
import"../../chunk-
|
|
49
|
+
} from "../../chunk-sq921ejh.js";
|
|
50
|
+
import"../../chunk-edjb0nj8.js";
|
|
51
51
|
import {
|
|
52
52
|
Popover2,
|
|
53
53
|
PopoverTrigger2,
|
|
@@ -93,14 +93,14 @@ import {
|
|
|
93
93
|
CardDescription2,
|
|
94
94
|
CardContent2
|
|
95
95
|
} from "../../chunk-jc3cbwyg.js";
|
|
96
|
-
import"../../chunk-
|
|
97
|
-
import"../../chunk-
|
|
96
|
+
import"../../chunk-zg00dqe8.js";
|
|
97
|
+
import"../../chunk-ew1n9ren.js";
|
|
98
98
|
import {
|
|
99
99
|
Tabs2,
|
|
100
100
|
TabsList2,
|
|
101
101
|
TabsTrigger2,
|
|
102
102
|
TabsContent2
|
|
103
|
-
} from "../../chunk-
|
|
103
|
+
} from "../../chunk-zpqfte56.js";
|
|
104
104
|
import"../../chunk-4e96tpw0.js";
|
|
105
105
|
import {
|
|
106
106
|
Checkbox2
|
|
@@ -150,14 +150,14 @@ import {
|
|
|
150
150
|
TableHead2,
|
|
151
151
|
TableCell2,
|
|
152
152
|
TableCaption2
|
|
153
|
-
} from "../../chunk-
|
|
153
|
+
} from "../../chunk-a33b2w22.js";
|
|
154
154
|
import"../../chunk-g1zyjeet.js";
|
|
155
155
|
import"../../chunk-m4geb1s5.js";
|
|
156
156
|
import"../../chunk-9ecf92s6.js";
|
|
157
|
-
import"../../chunk-
|
|
157
|
+
import"../../chunk-pj1f124b.js";
|
|
158
158
|
import"../../chunk-tcefvfr8.js";
|
|
159
159
|
import"../../chunk-38barrma.js";
|
|
160
|
-
import"../../chunk-
|
|
160
|
+
import"../../chunk-dmmvpztc.js";
|
|
161
161
|
import"../../chunk-b28egcxt.js";
|
|
162
162
|
import {
|
|
163
163
|
Carousel2,
|
|
@@ -165,7 +165,7 @@ import {
|
|
|
165
165
|
CarouselItem2,
|
|
166
166
|
CarouselPrevious2,
|
|
167
167
|
CarouselNext2
|
|
168
|
-
} from "../../chunk-
|
|
168
|
+
} from "../../chunk-bjmq3c5f.js";
|
|
169
169
|
import {
|
|
170
170
|
FramedImage2
|
|
171
171
|
} from "../../chunk-607s04df.js";
|
|
@@ -6,12 +6,12 @@ import {
|
|
|
6
6
|
import"../../chunk-e6hk39ev.js";
|
|
7
7
|
import"../../chunk-x90xmrba.js";
|
|
8
8
|
import"../../chunk-jpvw9xqy.js";
|
|
9
|
-
import"../../chunk-
|
|
9
|
+
import"../../chunk-hvfe31vg.js";
|
|
10
10
|
import {
|
|
11
11
|
getCalendarClassNames,
|
|
12
12
|
CalendarDayButton2,
|
|
13
13
|
CalendarDropdown
|
|
14
|
-
} from "../../chunk-
|
|
14
|
+
} from "../../chunk-r337e6xz.js";
|
|
15
15
|
import"../../chunk-h45mqwpq.js";
|
|
16
16
|
import {
|
|
17
17
|
useAnalyticsCallback
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import"../../chunk-en44w1pn.js";
|
|
2
2
|
import {
|
|
3
3
|
TableRow2
|
|
4
|
-
} from "../../chunk-
|
|
4
|
+
} from "../../chunk-a33b2w22.js";
|
|
5
5
|
import {
|
|
6
6
|
DataGridColumnFitContext,
|
|
7
7
|
getDataGridColumnFit,
|
|
@@ -10,19 +10,19 @@ import {
|
|
|
10
10
|
DataGridHeaderRows,
|
|
11
11
|
DataGridCells2,
|
|
12
12
|
DataGridColumns
|
|
13
|
-
} from "../../chunk-
|
|
13
|
+
} from "../../chunk-evv4435t.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-hvfe31vg.js";
|
|
20
20
|
import"../../chunk-h45mqwpq.js";
|
|
21
21
|
import"../../chunk-7jpsybag.js";
|
|
22
22
|
import"../../chunk-t9ms87s9.js";
|
|
23
23
|
import {
|
|
24
24
|
VirtualTable2
|
|
25
|
-
} from "../../chunk-
|
|
25
|
+
} from "../../chunk-xpsp5cd9.js";
|
|
26
26
|
import"../../chunk-5mydsjp3.js";
|
|
27
27
|
|
|
28
28
|
// src/components/virtual-data-grid/VirtualDataGrid.tsx
|
package/dist/index.js
CHANGED
|
@@ -188,7 +188,7 @@ import {
|
|
|
188
188
|
DashboardLayout2,
|
|
189
189
|
BillingUsage2,
|
|
190
190
|
SelectionAction2
|
|
191
|
-
} from "./chunk-
|
|
191
|
+
} from "./chunk-hcptnha3.js";
|
|
192
192
|
import {
|
|
193
193
|
statusDotVariants2,
|
|
194
194
|
StatusDot2
|
|
@@ -210,7 +210,7 @@ import {
|
|
|
210
210
|
ComboboxChip2,
|
|
211
211
|
ComboboxChipsInput2,
|
|
212
212
|
useComboboxAnchor2
|
|
213
|
-
} from "./chunk-
|
|
213
|
+
} from "./chunk-ew1n9ren.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-zpqfte56.js";
|
|
229
229
|
import {
|
|
230
230
|
NumberField2,
|
|
231
231
|
NumberFieldGroup2,
|
|
@@ -242,7 +242,7 @@ import {
|
|
|
242
242
|
ToolbarInput2,
|
|
243
243
|
ToolbarGroup2,
|
|
244
244
|
ToolbarSeparator2
|
|
245
|
-
} from "./chunk-
|
|
245
|
+
} from "./chunk-dmmvpztc.js";
|
|
246
246
|
import {
|
|
247
247
|
Slider2
|
|
248
248
|
} from "./chunk-nqvemk3q.js";
|
|
@@ -287,11 +287,11 @@ import {
|
|
|
287
287
|
TableColumnGroup2,
|
|
288
288
|
TableColumn2,
|
|
289
289
|
TableCaption2
|
|
290
|
-
} from "./chunk-
|
|
290
|
+
} from "./chunk-a33b2w22.js";
|
|
291
291
|
import {
|
|
292
292
|
ScrollArea2,
|
|
293
293
|
ScrollBar2
|
|
294
|
-
} from "./chunk-
|
|
294
|
+
} from "./chunk-edjb0nj8.js";
|
|
295
295
|
import {
|
|
296
296
|
RadioGroup2,
|
|
297
297
|
RadioGroupItem2
|
|
@@ -383,7 +383,7 @@ import {
|
|
|
383
383
|
SidebarMenuSub2,
|
|
384
384
|
SidebarMenuSubItem2,
|
|
385
385
|
SidebarMenuSubButton2
|
|
386
|
-
} from "./chunk-
|
|
386
|
+
} from "./chunk-pj1f124b.js";
|
|
387
387
|
import {
|
|
388
388
|
Avatar2,
|
|
389
389
|
AvatarImage2,
|
|
@@ -450,7 +450,7 @@ import {
|
|
|
450
450
|
DialogFooter2,
|
|
451
451
|
DialogTitle2,
|
|
452
452
|
DialogDescription2
|
|
453
|
-
} from "./chunk-
|
|
453
|
+
} from "./chunk-sq921ejh.js";
|
|
454
454
|
import {
|
|
455
455
|
InputGroup2,
|
|
456
456
|
InputGroupAddon2,
|
|
@@ -458,7 +458,7 @@ import {
|
|
|
458
458
|
InputGroupText2,
|
|
459
459
|
InputGroupInput2,
|
|
460
460
|
InputGroupTextarea2
|
|
461
|
-
} from "./chunk-
|
|
461
|
+
} from "./chunk-zg00dqe8.js";
|
|
462
462
|
import {
|
|
463
463
|
Textarea2
|
|
464
464
|
} from "./chunk-vfgp11y4.js";
|
|
@@ -489,7 +489,7 @@ import {
|
|
|
489
489
|
TooltipContent2,
|
|
490
490
|
buttonVariants2,
|
|
491
491
|
Button2
|
|
492
|
-
} from "./chunk-
|
|
492
|
+
} from "./chunk-hvfe31vg.js";
|
|
493
493
|
import {
|
|
494
494
|
usePortalContainer2,
|
|
495
495
|
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.202",
|
|
2055
2055
|
description: "Sharp, monospace React components with compact, comfortable, and touch densities.",
|
|
2056
2056
|
license: "MIT",
|
|
2057
2057
|
repository: {
|
package/dist/theme.css
CHANGED
|
@@ -336,7 +336,9 @@
|
|
|
336
336
|
--destructive-foreground: oklch(1 0 0);
|
|
337
337
|
--border: oklch(0.922 0 0);
|
|
338
338
|
--input: oklch(0.922 0 0);
|
|
339
|
-
|
|
339
|
+
/* Upstream uses oklch(0.708 0 0), about 2.6:1 on white; a focus indicator needs 3:1 (WCAG 2.2 SC 1.4.11), so this
|
|
340
|
+
takes the darkest upstream neutral step that clears it, about 4.7:1 (README, design presets). */
|
|
341
|
+
--ring: oklch(0.556 0 0);
|
|
340
342
|
--chart-1: oklch(0.646 0.222 41.116);
|
|
341
343
|
--chart-2: oklch(0.6 0.118 184.704);
|
|
342
344
|
--chart-3: oklch(0.398 0.07 227.392);
|
|
@@ -349,7 +351,7 @@
|
|
|
349
351
|
--sidebar-accent: oklch(0.97 0 0);
|
|
350
352
|
--sidebar-accent-foreground: oklch(0.205 0 0);
|
|
351
353
|
--sidebar-border: oklch(0.922 0 0);
|
|
352
|
-
--sidebar-ring: oklch(0.
|
|
354
|
+
--sidebar-ring: oklch(0.556 0 0);
|
|
353
355
|
}
|
|
354
356
|
|
|
355
357
|
/* With Increase contrast (prefers-contrast: more), dividers and card and table borders take the input border colour,
|
|
@@ -534,3 +534,55 @@ Storybook CSF excerpts. Default args and render apply unless overridden. Local h
|
|
|
534
534
|
</div>)
|
|
535
535
|
}
|
|
536
536
|
```
|
|
537
|
+
|
|
538
|
+
### FocusIndicatorDark
|
|
539
|
+
|
|
540
|
+
```tsx
|
|
541
|
+
{
|
|
542
|
+
globals: { theme: "dark", density: "comfortable" },
|
|
543
|
+
render: () => (<div className="flex flex-wrap items-center gap-4 p-panel">
|
|
544
|
+
{filledVariants.map((variant) => (<Button key={variant} variant={variant}>
|
|
545
|
+
{`Focus ${variant}`}
|
|
546
|
+
</Button>))}
|
|
547
|
+
</div>)
|
|
548
|
+
}
|
|
549
|
+
```
|
|
550
|
+
|
|
551
|
+
### FocusIndicatorLight
|
|
552
|
+
|
|
553
|
+
```tsx
|
|
554
|
+
{
|
|
555
|
+
globals: { theme: "light", density: "comfortable" },
|
|
556
|
+
render: () => (<div className="flex flex-wrap items-center gap-4 p-panel">
|
|
557
|
+
{filledVariants.map((variant) => (<Button key={variant} variant={variant}>
|
|
558
|
+
{`Focus ${variant}`}
|
|
559
|
+
</Button>))}
|
|
560
|
+
</div>)
|
|
561
|
+
}
|
|
562
|
+
```
|
|
563
|
+
|
|
564
|
+
### FocusIndicatorNeutralDark
|
|
565
|
+
|
|
566
|
+
```tsx
|
|
567
|
+
{
|
|
568
|
+
globals: { theme: "dark", density: "comfortable", preset: "shadcn" },
|
|
569
|
+
render: () => (<div className="flex flex-wrap items-center gap-4 p-panel">
|
|
570
|
+
{filledVariants.map((variant) => (<Button key={variant} variant={variant}>
|
|
571
|
+
{`Focus ${variant}`}
|
|
572
|
+
</Button>))}
|
|
573
|
+
</div>)
|
|
574
|
+
}
|
|
575
|
+
```
|
|
576
|
+
|
|
577
|
+
### FocusIndicatorNeutralLight
|
|
578
|
+
|
|
579
|
+
```tsx
|
|
580
|
+
{
|
|
581
|
+
globals: { theme: "light", density: "comfortable", preset: "shadcn" },
|
|
582
|
+
render: () => (<div className="flex flex-wrap items-center gap-4 p-panel">
|
|
583
|
+
{filledVariants.map((variant) => (<Button key={variant} variant={variant}>
|
|
584
|
+
{`Focus ${variant}`}
|
|
585
|
+
</Button>))}
|
|
586
|
+
</div>)
|
|
587
|
+
}
|
|
588
|
+
```
|
|
@@ -14,7 +14,7 @@ import { Toolbar, Select, SelectContent, SelectItem, SelectTrigger, SelectValue,
|
|
|
14
14
|
## Supporting imports
|
|
15
15
|
|
|
16
16
|
```tsx
|
|
17
|
-
import { useState, type ReactElement } from "react";
|
|
17
|
+
import { useState, type ComponentProps, type ReactElement } from "react";
|
|
18
18
|
```
|
|
19
19
|
|
|
20
20
|
## Default component
|
|
@@ -140,3 +140,52 @@ Storybook CSF excerpts. Default args and render apply unless overridden. Local h
|
|
|
140
140
|
}
|
|
141
141
|
}
|
|
142
142
|
```
|
|
143
|
+
|
|
144
|
+
### SwatchStates
|
|
145
|
+
|
|
146
|
+
```tsx
|
|
147
|
+
{
|
|
148
|
+
render: function Example(): ReactElement {
|
|
149
|
+
return (<Toolbar aria-label="Colors">
|
|
150
|
+
<ControlledChip label="Red" swatch="#e5484d" hideLabel/>
|
|
151
|
+
<ControlledChip label="Yellow" swatch="#ffe629" hideLabel/>
|
|
152
|
+
<ControlledChip label="Navy" swatch="#1b2a4a"/>
|
|
153
|
+
</Toolbar>);
|
|
154
|
+
}
|
|
155
|
+
}
|
|
156
|
+
```
|
|
157
|
+
|
|
158
|
+
### IndicatorOnCaps
|
|
159
|
+
|
|
160
|
+
```tsx
|
|
161
|
+
{
|
|
162
|
+
render: () => alignedChips
|
|
163
|
+
}
|
|
164
|
+
```
|
|
165
|
+
|
|
166
|
+
### IndicatorOnCapsNeutral
|
|
167
|
+
|
|
168
|
+
```tsx
|
|
169
|
+
{
|
|
170
|
+
globals: { preset: "shadcn" },
|
|
171
|
+
render: () => alignedChips
|
|
172
|
+
}
|
|
173
|
+
```
|
|
174
|
+
|
|
175
|
+
### StableAcrossStates
|
|
176
|
+
|
|
177
|
+
```tsx
|
|
178
|
+
{
|
|
179
|
+
render: function Example(): ReactElement {
|
|
180
|
+
return (<div className="flex flex-col items-start gap-4">
|
|
181
|
+
<Toolbar aria-label="Comfortable filters" density="comfortable">
|
|
182
|
+
<ControlledChip label="Earliest"/>
|
|
183
|
+
<ControlledChip label="Red" swatch="#d94f4f" hideLabel/>
|
|
184
|
+
</Toolbar>
|
|
185
|
+
<Toolbar aria-label="Compact filters" density="compact">
|
|
186
|
+
<ControlledChip label="Latest"/>
|
|
187
|
+
</Toolbar>
|
|
188
|
+
</div>);
|
|
189
|
+
}
|
|
190
|
+
}
|
|
191
|
+
```
|
|
@@ -315,3 +315,28 @@ Storybook CSF excerpts. Default args and render apply unless overridden. Local h
|
|
|
315
315
|
</Table>)
|
|
316
316
|
}
|
|
317
317
|
```
|
|
318
|
+
|
|
319
|
+
### WrappedColumn
|
|
320
|
+
|
|
321
|
+
```tsx
|
|
322
|
+
{
|
|
323
|
+
render: () => (<div data-testid="narrow" className="w-[300px]">
|
|
324
|
+
<Table aria-label="Weekly change">
|
|
325
|
+
<TableHeader>
|
|
326
|
+
<TableRow>
|
|
327
|
+
<TableHead wrap>Measure</TableHead>
|
|
328
|
+
<TableHead>Change</TableHead>
|
|
329
|
+
<TableHead>Last 7 days</TableHead>
|
|
330
|
+
</TableRow>
|
|
331
|
+
</TableHeader>
|
|
332
|
+
<TableBody>
|
|
333
|
+
<TableRow>
|
|
334
|
+
<TableCell wrap>Lowest overnight heart rate</TableCell>
|
|
335
|
+
<TableCell>+2 bpm</TableCell>
|
|
336
|
+
<TableCell>52 bpm</TableCell>
|
|
337
|
+
</TableRow>
|
|
338
|
+
</TableBody>
|
|
339
|
+
</Table>
|
|
340
|
+
</div>)
|
|
341
|
+
}
|
|
342
|
+
```
|
|
@@ -168,3 +168,16 @@ Storybook CSF excerpts. Default args and render apply unless overridden. Local h
|
|
|
168
168
|
]
|
|
169
169
|
}
|
|
170
170
|
```
|
|
171
|
+
|
|
172
|
+
### HorizontalScrollbarClearsContent
|
|
173
|
+
|
|
174
|
+
```tsx
|
|
175
|
+
{
|
|
176
|
+
render: () => (<ScrollArea aria-label="Release names" className="w-64 border border-border" scrollbars={<ScrollBar orientation="horizontal"/>}>
|
|
177
|
+
<ol className="w-max px-panel pt-panel">
|
|
178
|
+
<li>Release 1 — the first public build with native scrolling</li>
|
|
179
|
+
<li data-testid="last-line">Release 2 — the build that added horizontal scrollbars</li>
|
|
180
|
+
</ol>
|
|
181
|
+
</ScrollArea>)
|
|
182
|
+
}
|
|
183
|
+
```
|
package/llms/setup.md
CHANGED
|
@@ -211,7 +211,7 @@ Use `<DensityProvider density="desktop" touchOnMobile>` for 17px base text, 15px
|
|
|
211
211
|
|
|
212
212
|
`useTheme()` returns `theme`, `resolvedTheme`, `setTheme`, and `preset`. Call `setTheme("light")`, `setTheme("dark")`, or `setTheme("system")` from a component inside the provider.
|
|
213
213
|
|
|
214
|
-
Use `<ThemeProvider preset="shadcn" defaultTheme="system">` for the [default shadcn Neutral palette](https://ui.shadcn.com/docs/theming), system sans-serif text, and its rounded corner scale. The default `devhost` preset uses the package's monospace design and sharp corners. Both presets support light, dark, and system modes, including portaled content. Code retains the monospace font. Density, component composition, and package-specific status colors remain independent of the preset.
|
|
214
|
+
Use `<ThemeProvider preset="shadcn" defaultTheme="system">` for the [default shadcn Neutral palette](https://ui.shadcn.com/docs/theming), system sans-serif text, and its rounded corner scale. The default `devhost` preset uses the package's monospace design and sharp corners. Both presets support light, dark, and system modes, including portaled content. The Neutral preset follows upstream's token values with one exception: its light focus ring is `oklch(0.556 0 0)` instead of upstream's `oklch(0.708 0 0)`, because upstream's measures about 2.6:1 on white and a focus indicator needs at least 3:1 (WCAG 2.2 SC 1.4.11). Code retains the monospace font. Density, component composition, and package-specific status colors remain independent of the preset.
|
|
215
215
|
|
|
216
216
|
The preset is controlled by the prop; changing it updates the document without changing the saved color-mode preference. Persist that prop in your application if needed. Storybook exposes the same choice in its **Design** toolbar. For a page styled before React mounts, set `data-theme-preset="shadcn"` and `data-theme="light"` or `"dark"` on `<html>` to match the provider. The existing `theme.css` import and `@source` setup cover both presets.
|
|
217
217
|
|