@alexgorbatchev/shadcn 0.0.42 → 0.0.43
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 +46 -24
- package/dist/analytics/AnalyticsContext.d.ts +2 -0
- package/dist/analytics/analyticsSource.d.ts +4 -0
- package/dist/analytics/types.d.ts +55 -0
- package/dist/{chunk-2agnzxa0.js → chunk-05shyxqp.js} +1 -1
- package/dist/{chunk-59p19t57.js → chunk-0fmrwsgp.js} +7 -2
- package/dist/{chunk-p45ytcc2.js → chunk-0gwqtywa.js} +3 -3
- package/dist/{chunk-60756tfb.js → chunk-0q9n4syq.js} +3 -3
- package/dist/{chunk-dwkjt1mm.js → chunk-0twprqdp.js} +13 -3
- package/dist/{chunk-rggdd436.js → chunk-0xqqs9kw.js} +1 -1
- package/dist/{chunk-cyfbg25t.js → chunk-0ybh8xre.js} +3 -3
- package/dist/{chunk-dvmxyk3q.js → chunk-10t1w38s.js} +2 -2
- package/dist/{chunk-57jj9v64.js → chunk-14mh00z3.js} +3 -3
- package/dist/{chunk-h6kcqtzf.js → chunk-1hq2k0fs.js} +6 -2
- package/dist/{chunk-saf6rz9s.js → chunk-1hy9rfvc.js} +1 -1
- package/dist/{chunk-nvegyysk.js → chunk-1q30wk9x.js} +2 -2
- package/dist/{chunk-3bzbwhda.js → chunk-1sqv5axv.js} +6 -2
- package/dist/{chunk-yxgyprns.js → chunk-1sxpyjph.js} +1 -1
- package/dist/{chunk-zdx7dtcw.js → chunk-1t959882.js} +1 -1
- package/dist/{chunk-p8gshf3k.js → chunk-1zbtg30t.js} +6 -2
- package/dist/{chunk-4djw71cv.js → chunk-21ab0jsp.js} +12 -6
- package/dist/{chunk-7gpq6kty.js → chunk-23419f5j.js} +1 -1
- package/dist/{chunk-f5hphka1.js → chunk-23jrbq6y.js} +5 -1
- package/dist/{chunk-k4aawd44.js → chunk-2krw4tjq.js} +1 -1
- package/dist/{chunk-644cnngf.js → chunk-2mn2ctsk.js} +6 -0
- package/dist/{chunk-7e3samhv.js → chunk-2mswp6h1.js} +3 -3
- package/dist/{chunk-4zaj9tsr.js → chunk-2pzvxbq3.js} +3 -3
- package/dist/chunk-38301e40.js +182 -0
- package/dist/{chunk-he0w0tx1.js → chunk-3b6ws9hk.js} +1 -1
- package/dist/{chunk-ttdeyjvj.js → chunk-3c35ysaq.js} +1 -1
- package/dist/{chunk-4stkzcvt.js → chunk-3r0q02k6.js} +175 -53
- package/dist/{chunk-fgzcp6dt.js → chunk-3t7h84te.js} +1 -1
- package/dist/{chunk-7b3n0ftm.js → chunk-3v95p5js.js} +1 -1
- package/dist/{chunk-ey6q1ra5.js → chunk-3wap1z7h.js} +6 -2
- package/dist/{chunk-d0qccfv4.js → chunk-46tg5t7g.js} +3 -3
- package/dist/chunk-4710gn6d.js +15 -0
- package/dist/{chunk-5z9y2mdj.js → chunk-474fgeht.js} +1 -1
- package/dist/{chunk-7mj8g4vx.js → chunk-48yhjpfs.js} +1 -1
- package/dist/{chunk-yazbpnav.js → chunk-4e1eq1t5.js} +2 -2
- package/dist/{chunk-pqe77cc1.js → chunk-4e879g03.js} +1 -1
- package/dist/{chunk-espw1b6e.js → chunk-4gcpx4pm.js} +1 -1
- package/dist/{chunk-s0typ7hv.js → chunk-55s7v2mw.js} +2 -2
- package/dist/{chunk-ret3m6vs.js → chunk-588wj6g4.js} +1 -1
- package/dist/{chunk-mwzhaw5v.js → chunk-5h7xxnr7.js} +1 -1
- package/dist/chunk-5mydsjp3.js +48 -0
- package/dist/{chunk-pc2d5950.js → chunk-5myr07fp.js} +1 -1
- package/dist/{chunk-f0jej3qt.js → chunk-5w279fsn.js} +6 -6
- package/dist/{chunk-zn1w5cd5.js → chunk-5zyc28sc.js} +11 -7
- package/dist/{chunk-hh43wg05.js → chunk-60p7sagm.js} +12 -6
- package/dist/{chunk-0skytwpk.js → chunk-634pk1cg.js} +2 -2
- package/dist/{chunk-vf1rsqpk.js → chunk-645dhey7.js} +1 -1
- package/dist/{chunk-na2mxcxz.js → chunk-6fp821jv.js} +2 -2
- package/dist/{chunk-dzvsjw59.js → chunk-6jw87d07.js} +33 -4
- package/dist/{chunk-58st8hnr.js → chunk-6kygf29c.js} +1 -1
- package/dist/{chunk-sb00e3gj.js → chunk-77xfccfq.js} +3 -3
- package/dist/chunk-7jpsybag.js +33 -0
- package/dist/{chunk-987zth0a.js → chunk-7mnba0d8.js} +8 -3
- package/dist/chunk-7ny0vyek.js +25 -0
- package/dist/{chunk-jkgje3ar.js → chunk-7qwp41y5.js} +1 -1
- package/dist/{chunk-rffrerg5.js → chunk-7w8yemba.js} +7 -2
- package/dist/{chunk-809fwd84.js → chunk-7zyf9nnf.js} +24 -10
- package/dist/{chunk-k138cvn8.js → chunk-83v2vma2.js} +1 -1
- package/dist/{chunk-enxt9sfx.js → chunk-84gs32n6.js} +1 -1
- package/dist/{chunk-5x7387nh.js → chunk-8bxfp671.js} +1 -1
- package/dist/{chunk-726x26pk.js → chunk-8jnfvgvk.js} +1 -1
- package/dist/{chunk-6kwf9644.js → chunk-8k18tnap.js} +1 -1
- package/dist/{chunk-3jrsp186.js → chunk-8q0xpeh4.js} +1 -1
- package/dist/{chunk-gqm1483k.js → chunk-8rtm4y46.js} +2 -2
- package/dist/chunk-8ssktt4b.js +11 -0
- package/dist/{chunk-d4bm5rzy.js → chunk-8wc2z7te.js} +37 -12
- package/dist/{chunk-b06rfrfz.js → chunk-8xnjf4ef.js} +6 -2
- package/dist/{chunk-tfqfqn8z.js → chunk-96x8wa8w.js} +1 -1
- package/dist/{chunk-3se9vgw9.js → chunk-9qcqxp3v.js} +1 -1
- package/dist/{chunk-dtkw8m6d.js → chunk-9t5h5ps3.js} +1 -1
- package/dist/{chunk-tnnf8ydf.js → chunk-9w9berq8.js} +6 -1
- package/dist/{chunk-a50gtwc9.js → chunk-a82d9z1e.js} +1 -1
- package/dist/{chunk-q5m8vz61.js → chunk-aahx2gyb.js} +1 -1
- package/dist/{chunk-3dyqen8w.js → chunk-agy4dzea.js} +1 -1
- package/dist/{chunk-n789tekk.js → chunk-axw1yqxz.js} +1 -1
- package/dist/{chunk-97kagey4.js → chunk-beywepck.js} +5 -1
- package/dist/{chunk-rkbbjjwq.js → chunk-bt7ramb0.js} +6 -2
- package/dist/{chunk-ga79snaw.js → chunk-c4m53x5s.js} +1 -1
- package/dist/{chunk-8vfh3ez0.js → chunk-c9ypcp4s.js} +32 -19
- package/dist/{chunk-ybypybsb.js → chunk-cmd9erv0.js} +6 -1
- package/dist/{chunk-r6p7982y.js → chunk-cqbd39je.js} +6 -1
- package/dist/{chunk-81y5s246.js → chunk-ct6ayjkt.js} +1 -1
- package/dist/{chunk-bt57g6ms.js → chunk-cvg5366s.js} +1 -1
- package/dist/{chunk-7p6032sv.js → chunk-cy1xv5nz.js} +10 -2
- package/dist/{chunk-6wx7cr8d.js → chunk-d444bwwf.js} +2 -2
- package/dist/{chunk-yrxjwwz3.js → chunk-dfkzm4f1.js} +218 -199
- package/dist/{chunk-x0megjk3.js → chunk-dq6se94p.js} +1 -1
- package/dist/{chunk-3zrw72sw.js → chunk-e970kv8r.js} +1 -1
- package/dist/{chunk-3x0ter92.js → chunk-e9756880.js} +1 -1
- package/dist/{chunk-0kyfh857.js → chunk-e9v481he.js} +1 -1
- package/dist/{chunk-wndqbss9.js → chunk-ekbesw9t.js} +7 -2
- package/dist/{chunk-yc9ytj9j.js → chunk-esrypw6g.js} +1 -1
- package/dist/{chunk-b43t3etd.js → chunk-ewhk1ze1.js} +1 -1
- package/dist/{chunk-kwbgqv5z.js → chunk-f08tw6hg.js} +1 -1
- package/dist/{chunk-mgdec3zt.js → chunk-f28xnx55.js} +2 -2
- package/dist/{chunk-43hfchxf.js → chunk-f63cr8mx.js} +9 -3
- package/dist/{chunk-jy50ebz0.js → chunk-f6rbv5gf.js} +8 -4
- package/dist/{chunk-78cs7n93.js → chunk-f72tygjq.js} +1 -1
- package/dist/{chunk-p9aqek06.js → chunk-f9kdk0q4.js} +5 -1
- package/dist/{chunk-ag6xpy6q.js → chunk-f9twxy4y.js} +11 -3
- package/dist/{chunk-arsjatb3.js → chunk-fky4t8cc.js} +2 -2
- package/dist/{chunk-4521sn9e.js → chunk-fkzh31y0.js} +1 -1
- package/dist/{chunk-09agnr7z.js → chunk-fpj82hex.js} +1 -1
- package/dist/{chunk-24d68cjp.js → chunk-fw86vanx.js} +8 -2
- package/dist/{chunk-gtbtfnd7.js → chunk-fxfwgr5g.js} +4 -4
- package/dist/{chunk-jf0y740b.js → chunk-fz2x6hvf.js} +1 -1
- package/dist/{chunk-1hj251b8.js → chunk-gbmvkt3q.js} +19 -7
- package/dist/{chunk-9nckfswe.js → chunk-ghz2g6j5.js} +9 -4
- package/dist/{chunk-sfmkphna.js → chunk-gtebjkkz.js} +10 -5
- package/dist/{chunk-dv8344f7.js → chunk-h3qqt3rg.js} +1 -1
- package/dist/{chunk-46jdxdzy.js → chunk-h5zhqdmb.js} +3 -3
- package/dist/{chunk-9a1hj7mc.js → chunk-hj9avapz.js} +4 -4
- package/dist/{chunk-b513tz37.js → chunk-hxg0pkj9.js} +1 -1
- package/dist/{chunk-jrzx4wre.js → chunk-j2hawnp9.js} +2 -2
- package/dist/{chunk-c2vcrwjp.js → chunk-j2n8684w.js} +6 -1
- package/dist/{chunk-ws4y7ctw.js → chunk-jadf0xqn.js} +6 -2
- package/dist/{chunk-ex1zk6ta.js → chunk-jgdpa00w.js} +10 -7
- package/dist/{chunk-yxej7z50.js → chunk-jk941nke.js} +1 -1
- package/dist/{chunk-e7wbz622.js → chunk-jwzg2twy.js} +1 -1
- package/dist/{chunk-pg9rhbgm.js → chunk-k455qwx2.js} +2 -2
- package/dist/{chunk-cgv6qm25.js → chunk-khtt3f21.js} +2 -2
- package/dist/{chunk-p6wb9jw3.js → chunk-kxx5fnpb.js} +1 -1
- package/dist/{chunk-1qsph9ej.js → chunk-kzar67tq.js} +3 -5
- package/dist/{chunk-tz8xh1nc.js → chunk-m0agthfm.js} +1 -1
- package/dist/{chunk-yf68wrse.js → chunk-m4wfy6n3.js} +2 -2
- package/dist/{chunk-21x1n6gn.js → chunk-m71d0g7v.js} +6 -6
- package/dist/{chunk-h19wjq6v.js → chunk-m7n2f6nf.js} +1 -1
- package/dist/{chunk-srv59vf3.js → chunk-m9rrhywc.js} +4 -4
- package/dist/{chunk-z7jkw7ds.js → chunk-mcdqy5gt.js} +1 -1
- package/dist/{chunk-dd4erwx8.js → chunk-mtx71g1t.js} +7 -3
- package/dist/{chunk-9vyg3854.js → chunk-mwzmmeeq.js} +5 -1
- package/dist/{chunk-w0bgsawz.js → chunk-n5ea9nv1.js} +2 -2
- package/dist/{chunk-krz4q9sz.js → chunk-ngq209hr.js} +2 -2
- package/dist/{chunk-7j9d7dtq.js → chunk-nw8zvj83.js} +1 -1
- package/dist/{chunk-52e8a05a.js → chunk-nxkbx5r2.js} +1 -1
- package/dist/{chunk-c7tnf6h7.js → chunk-p1eqxz4v.js} +28 -9
- package/dist/{chunk-9ye7w106.js → chunk-p5x18ckg.js} +1 -1
- package/dist/{chunk-ehgeg4q9.js → chunk-p6kw19sx.js} +17 -7
- package/dist/{chunk-3c7tvhtx.js → chunk-pa8yemp1.js} +1 -1
- package/dist/{chunk-zw6a73cm.js → chunk-prp1x0by.js} +1 -1
- package/dist/{chunk-8ye0k6z7.js → chunk-ptgtqv1a.js} +6 -1
- package/dist/{chunk-8k1y6w5k.js → chunk-pws4vb8r.js} +5 -1
- package/dist/{chunk-r07v9c4f.js → chunk-pzr1f2tz.js} +5 -1
- package/dist/{chunk-sat9hjv7.js → chunk-qky9999p.js} +1 -1
- package/dist/{chunk-svkzwq5e.js → chunk-qmfxytfb.js} +1 -1
- package/dist/{chunk-wnyxdfzd.js → chunk-qv3b2jvc.js} +1 -1
- package/dist/{chunk-5bw5h08v.js → chunk-r4jzz4f2.js} +7 -1
- package/dist/{chunk-cb51ybz5.js → chunk-r7mfpkbb.js} +12 -4
- package/dist/{chunk-5wndb6hx.js → chunk-ray29hdb.js} +6 -2
- package/dist/{chunk-z4jpedvh.js → chunk-rr74321a.js} +1 -1
- package/dist/{chunk-wensxzx9.js → chunk-rtb0ejf0.js} +1 -1
- package/dist/{chunk-tvd9n2kd.js → chunk-s0ecp1mv.js} +1 -1
- package/dist/{chunk-y7pkfcsz.js → chunk-s8ejm9d8.js} +1 -1
- package/dist/{chunk-v9r6t8bz.js → chunk-snq5m541.js} +6 -2
- package/dist/{chunk-4qn98ngf.js → chunk-srr328m4.js} +1 -1
- package/dist/{chunk-6p6zfyjr.js → chunk-svz0farj.js} +1 -1
- package/dist/{chunk-d3fr5vtc.js → chunk-t97ts9df.js} +1 -1
- package/dist/{chunk-79667fz5.js → chunk-tbd56x4h.js} +3 -3
- package/dist/chunk-tcefvfr8.js +15 -0
- package/dist/{chunk-0ftjkxjg.js → chunk-td7ra5d2.js} +1 -1
- package/dist/{chunk-6wvhq8wq.js → chunk-tg5grn8f.js} +2 -2
- package/dist/{chunk-hz9azhzx.js → chunk-tq0pfv5h.js} +7 -2
- package/dist/{chunk-4x3ck2yz.js → chunk-v24aqtkt.js} +1 -1
- package/dist/{chunk-sbrpnv8s.js → chunk-v8gdzaxt.js} +6 -2
- package/dist/{chunk-3mzqf6b4.js → chunk-vg2j5044.js} +1 -1
- package/dist/{chunk-map13pza.js → chunk-vhm7fpav.js} +11 -11
- package/dist/{chunk-kt085sbn.js → chunk-vm3fzfnj.js} +1 -1
- package/dist/{chunk-2bx2r98r.js → chunk-vrs3371x.js} +6 -2
- package/dist/{chunk-bqyvf9jn.js → chunk-w1jm0rx3.js} +8 -4
- package/dist/{chunk-e0pv0me5.js → chunk-w9jyajx3.js} +1 -1
- package/dist/{chunk-aexby8h3.js → chunk-w9s21aj0.js} +17 -2
- package/dist/{chunk-5v4typ39.js → chunk-wh7rmym5.js} +3 -3
- package/dist/{chunk-0mkv6zgs.js → chunk-wnhxn2se.js} +1 -1
- package/dist/{chunk-jfc7rhtt.js → chunk-wpa484a6.js} +1 -1
- package/dist/{chunk-pgq064p6.js → chunk-wq8jxf31.js} +7 -3
- package/dist/{chunk-6432235c.js → chunk-x1598f0d.js} +3 -3
- package/dist/{chunk-83zjj4jd.js → chunk-x6vx0v6d.js} +34 -7
- package/dist/{chunk-j4gd5awk.js → chunk-x6zmnr8m.js} +6 -6
- package/dist/{chunk-aa7m22zj.js → chunk-x90xmrba.js} +13 -4
- package/dist/{chunk-wjaehks2.js → chunk-xfhk2vrw.js} +6 -2
- package/dist/{chunk-5a2xnjyw.js → chunk-xgp1eyhr.js} +12 -4
- package/dist/{chunk-pwqw7ksj.js → chunk-xq579zwh.js} +1 -1
- package/dist/{chunk-ge5t1xhw.js → chunk-xvmv0xm5.js} +1 -1
- package/dist/{chunk-96wh7ccv.js → chunk-xwf411kf.js} +6 -2
- package/dist/{chunk-9jct7hv0.js → chunk-y7tyyzfy.js} +3 -3
- package/dist/{chunk-wqc963k8.js → chunk-ybyx7vt4.js} +2 -2
- package/dist/{chunk-rbm24fhv.js → chunk-z8n03ra5.js} +2 -2
- package/dist/{chunk-wmyj3hfw.js → chunk-zksbrzf6.js} +1 -1
- package/dist/{chunk-bsff5mmk.js → chunk-zp3wrbve.js} +1 -1
- package/dist/components/Accordion.d.ts +3 -2
- package/dist/components/AlertDialog.d.ts +3 -3
- package/dist/components/Attachment.d.ts +4 -3
- package/dist/components/Badge.d.ts +1 -1
- package/dist/components/Breadcrumb.d.ts +3 -2
- package/dist/components/Button.d.ts +8 -4
- package/dist/components/ButtonLink.d.ts +3 -2
- package/dist/components/Checkbox.d.ts +3 -2
- package/dist/components/Collapsible.d.ts +2 -1
- package/dist/components/Combobox.d.ts +2 -1
- package/dist/components/ContextMenu.d.ts +6 -5
- package/dist/components/Dialog.d.ts +2 -1
- package/dist/components/Drawer.d.ts +2 -1
- package/dist/components/DropTarget.d.ts +1 -1
- package/dist/components/DropdownMenu.d.ts +6 -5
- package/dist/components/HoverCard.d.ts +2 -1
- package/dist/components/ImagePicker.d.ts +3 -2
- package/dist/components/InlineEdit.d.ts +3 -2
- package/dist/components/Input.d.ts +3 -2
- package/dist/components/InputGroup.d.ts +2 -1
- package/dist/components/Item.d.ts +1 -1
- package/dist/components/Menubar.d.ts +4 -3
- package/dist/components/NativeSelect.d.ts +2 -1
- package/dist/components/NavigationMenu.d.ts +4 -3
- package/dist/components/NumberField.d.ts +2 -1
- package/dist/components/Pagination.d.ts +2 -1
- package/dist/components/Popover.d.ts +2 -1
- package/dist/components/RadioGroup.d.ts +3 -2
- package/dist/components/Select.d.ts +2 -1
- package/dist/components/Sheet.d.ts +2 -1
- package/dist/components/Sidebar.d.ts +8 -7
- package/dist/components/Slider.d.ts +2 -1
- package/dist/components/StarRating.d.ts +3 -2
- package/dist/components/Switch.d.ts +3 -2
- package/dist/components/Tabs.d.ts +3 -2
- package/dist/components/Textarea.d.ts +3 -2
- package/dist/components/Toast.d.ts +3 -2
- package/dist/components/Toggle.d.ts +3 -2
- package/dist/components/ToggleGroup.d.ts +3 -2
- package/dist/components/Toolbar.d.ts +4 -3
- package/dist/components/Tooltip.d.ts +2 -1
- package/dist/components/analytics/AnalyticsButton.d.ts +8 -0
- package/dist/components/analytics/AnalyticsImpression.d.ts +11 -0
- package/dist/components/analytics/AnalyticsInput.d.ts +7 -0
- package/dist/components/analytics/AnalyticsLink.d.ts +7 -0
- package/dist/components/analytics/AnalyticsProvider.d.ts +3 -0
- package/dist/components/analytics/AnalyticsScope.d.ts +3 -0
- package/dist/components/analytics/AnalyticsTextarea.d.ts +7 -0
- package/dist/components/analytics/index.d.ts +6 -0
- package/dist/components/analytics/index.js +145 -0
- package/dist/components/assistant-ui/elements/AgentCard.js +8 -2
- package/dist/components/assistant-ui/elements/ApprovalCard.js +8 -2
- package/dist/components/assistant-ui/elements/ArtifactCard.js +8 -2
- package/dist/components/assistant-ui/elements/AudioPlayer.js +9 -2
- package/dist/components/assistant-ui/elements/BackgroundInbox.js +8 -2
- package/dist/components/assistant-ui/elements/CanvasSplit.js +8 -2
- package/dist/components/assistant-ui/elements/Chart.js +6 -2
- package/dist/components/assistant-ui/elements/ChatPanel.js +12 -5
- package/dist/components/assistant-ui/elements/CheckpointHistory.js +8 -2
- package/dist/components/assistant-ui/elements/Citation.js +9 -5
- package/dist/components/assistant-ui/elements/CodeRunner.js +8 -2
- package/dist/components/assistant-ui/elements/CommandPalette.js +13 -9
- package/dist/components/assistant-ui/elements/ComposerAttachButton.js +8 -2
- package/dist/components/assistant-ui/elements/ComposerAttachmentChip.js +8 -2
- package/dist/components/assistant-ui/elements/ComposerAttachments.js +12 -5
- package/dist/components/assistant-ui/elements/ComposerBar.js +12 -5
- package/dist/components/assistant-ui/elements/ComposerCommandItem.js +9 -3
- package/dist/components/assistant-ui/elements/ComposerContext.js +8 -5
- package/dist/components/assistant-ui/elements/ComposerInput.js +12 -5
- package/dist/components/assistant-ui/elements/ComposerMenuItem.js +8 -2
- package/dist/components/assistant-ui/elements/ComposerModelItem.js +9 -3
- package/dist/components/assistant-ui/elements/ComposerModelTrigger.js +8 -2
- package/dist/components/assistant-ui/elements/ComposerPersonItem.js +9 -3
- package/dist/components/assistant-ui/elements/ComposerSend.js +8 -2
- package/dist/components/assistant-ui/elements/ComposerToolbar.js +12 -5
- package/dist/components/assistant-ui/elements/ComposerVoiceButton.js +8 -2
- package/dist/components/assistant-ui/elements/ConfidenceMarker.js +5 -1
- package/dist/components/assistant-ui/elements/ConnectionState.js +8 -2
- package/dist/components/assistant-ui/elements/ContextDisplay.js +13 -10
- package/dist/components/assistant-ui/elements/ContextDisplayBar.js +10 -7
- package/dist/components/assistant-ui/elements/ContextDisplayContent.js +6 -4
- package/dist/components/assistant-ui/elements/ContextDisplayRing.js +10 -7
- package/dist/components/assistant-ui/elements/ContextDisplayRoot.js +6 -4
- package/dist/components/assistant-ui/elements/ContextDisplayText.js +10 -7
- package/dist/components/assistant-ui/elements/ContextDisplayTrigger.js +7 -4
- package/dist/components/assistant-ui/elements/ConversationMap.js +7 -4
- package/dist/components/assistant-ui/elements/ConversationSearch.js +12 -5
- package/dist/components/assistant-ui/elements/DataTable.js +9 -2
- package/dist/components/assistant-ui/elements/Diagram.js +8 -2
- package/dist/components/assistant-ui/elements/DiffViewer.js +9 -3
- package/dist/components/assistant-ui/elements/DiffViewerHeader.js +8 -2
- package/dist/components/assistant-ui/elements/DocumentReference.js +8 -2
- package/dist/components/assistant-ui/elements/DraftRestore.js +8 -2
- package/dist/components/assistant-ui/elements/EditMessage.js +10 -3
- package/dist/components/assistant-ui/elements/ElicitationForm.js +12 -5
- package/dist/components/assistant-ui/elements/EmptyStateComposer.js +12 -5
- package/dist/components/assistant-ui/elements/EmptyStateSuggestion.js +8 -2
- package/dist/components/assistant-ui/elements/ErrorState.js +8 -2
- package/dist/components/assistant-ui/elements/EveAskQuestion.js +13 -5
- package/dist/components/assistant-ui/elements/FeedbackDialog.js +11 -4
- package/dist/components/assistant-ui/elements/File.js +11 -3
- package/dist/components/assistant-ui/elements/GenerativeUi.js +11 -8
- package/dist/components/assistant-ui/elements/GeoMap.js +8 -2
- package/dist/components/assistant-ui/elements/GuardrailNotice.js +8 -2
- package/dist/components/assistant-ui/elements/Image.js +10 -5
- package/dist/components/assistant-ui/elements/ImageGallery.js +10 -5
- package/dist/components/assistant-ui/elements/ImageGeneration.js +8 -2
- package/dist/components/assistant-ui/elements/JobProgress.js +8 -2
- package/dist/components/assistant-ui/elements/LauncherBubble.js +8 -2
- package/dist/components/assistant-ui/elements/LinkPreview.js +5 -1
- package/dist/components/assistant-ui/elements/MapAnswer.js +9 -2
- package/dist/components/assistant-ui/elements/MarkdownText.js +8 -6
- package/dist/components/assistant-ui/elements/McpServerPanel.js +9 -3
- package/dist/components/assistant-ui/elements/MemoryChips.js +8 -2
- package/dist/components/assistant-ui/elements/MermaidDiagram.js +9 -6
- package/dist/components/assistant-ui/elements/MermaidZoom.js +8 -5
- package/dist/components/assistant-ui/elements/MessageActions.js +9 -3
- package/dist/components/assistant-ui/elements/MessageAttachments.js +8 -2
- package/dist/components/assistant-ui/elements/MessageBranches.js +8 -2
- package/dist/components/assistant-ui/elements/MessagePair.js +8 -2
- package/dist/components/assistant-ui/elements/MessageQueue.js +8 -2
- package/dist/components/assistant-ui/elements/MobileComposer.js +12 -5
- package/dist/components/assistant-ui/elements/ModelPicker.js +5 -2
- package/dist/components/assistant-ui/elements/ModelSelector.js +24 -19
- package/dist/components/assistant-ui/elements/ModelSelectorContent.js +21 -16
- package/dist/components/assistant-ui/elements/ModelSelectorEffort.js +5 -1
- package/dist/components/assistant-ui/elements/ModelSelectorEmpty.js +13 -9
- package/dist/components/assistant-ui/elements/ModelSelectorFocusAnchor.js +13 -9
- package/dist/components/assistant-ui/elements/ModelSelectorGroup.js +13 -9
- package/dist/components/assistant-ui/elements/ModelSelectorItem.js +13 -9
- package/dist/components/assistant-ui/elements/ModelSelectorList.js +15 -11
- package/dist/components/assistant-ui/elements/ModelSelectorRoot.js +6 -4
- package/dist/components/assistant-ui/elements/ModelSelectorSearch.js +13 -9
- package/dist/components/assistant-ui/elements/ModelSelectorSeparator.js +13 -9
- package/dist/components/assistant-ui/elements/ModelSelectorTrigger.js +7 -4
- package/dist/components/assistant-ui/elements/Onboarding.js +8 -2
- package/dist/components/assistant-ui/elements/OptionList.js +9 -3
- package/dist/components/assistant-ui/elements/PermissionGrant.js +8 -2
- package/dist/components/assistant-ui/elements/PromptLibrary.js +12 -5
- package/dist/components/assistant-ui/elements/QuestionFlow.js +10 -4
- package/dist/components/assistant-ui/elements/QuotaBanner.js +8 -2
- package/dist/components/assistant-ui/elements/QuoteReply.js +8 -2
- package/dist/components/assistant-ui/elements/ReadAloud.js +8 -2
- package/dist/components/assistant-ui/elements/ReasoningContent.js +5 -2
- package/dist/components/assistant-ui/elements/ReasoningEffort.js +5 -2
- package/dist/components/assistant-ui/elements/ReasoningPanel.js +6 -2
- package/dist/components/assistant-ui/elements/ReasoningRoot.js +5 -2
- package/dist/components/assistant-ui/elements/ReasoningTrigger.js +5 -2
- package/dist/components/assistant-ui/elements/RecommendationCard.js +8 -2
- package/dist/components/assistant-ui/elements/RegenerateMenu.js +7 -5
- package/dist/components/assistant-ui/elements/ReviewableDiff.js +8 -2
- package/dist/components/assistant-ui/elements/RunActivity.js +6 -2
- package/dist/components/assistant-ui/elements/ScheduleCard.js +5 -2
- package/dist/components/assistant-ui/elements/ScrollAnchor.js +5 -1
- package/dist/components/assistant-ui/elements/SettingsPanel.js +12 -5
- package/dist/components/assistant-ui/elements/SharedConversation.js +8 -2
- package/dist/components/assistant-ui/elements/Sources.js +7 -2
- package/dist/components/assistant-ui/elements/StoppedRun.js +8 -2
- package/dist/components/assistant-ui/elements/Suggestions.js +8 -2
- package/dist/components/assistant-ui/elements/TaskCard.js +8 -2
- package/dist/components/assistant-ui/elements/TerminalBlock.js +8 -2
- package/dist/components/assistant-ui/elements/ThreadList.js +8 -2
- package/dist/components/assistant-ui/elements/ThreadSearch.js +12 -5
- package/dist/components/assistant-ui/elements/TodoList.js +8 -2
- package/dist/components/assistant-ui/elements/ToolCall.js +6 -2
- package/dist/components/assistant-ui/elements/ToolError.js +8 -2
- package/dist/components/assistant-ui/elements/ToolGroup.js +8 -2
- package/dist/components/assistant-ui/elements/ToolTimeline.js +6 -2
- package/dist/components/assistant-ui/elements/TooltipIconButton.js +6 -5
- package/dist/components/assistant-ui/elements/VoiceConversation.js +9 -2
- package/dist/components/assistant-ui/elements/WebPreview.js +8 -2
- package/dist/components/assistant-ui/eveAskQuestionToolkit.js +14 -6
- package/dist/components/assistant-ui/index.js +148 -144
- package/dist/components/assistant-ui/native/AssistantModal.js +29 -25
- package/dist/components/assistant-ui/native/AssistantSidebar.js +28 -24
- package/dist/components/assistant-ui/native/AttachmentPreview.js +9 -7
- package/dist/components/assistant-ui/native/ComposerQuotePreview.js +5 -1
- package/dist/components/assistant-ui/native/ComposerTriggerPopover.js +5 -1
- package/dist/components/assistant-ui/native/ContextDisplay.js +15 -12
- package/dist/components/assistant-ui/native/ContextDisplayBar.js +12 -9
- package/dist/components/assistant-ui/native/ContextDisplayRing.js +12 -9
- package/dist/components/assistant-ui/native/ContextDisplayRoot.js +8 -6
- package/dist/components/assistant-ui/native/ContextDisplayRuntimeRoot.js +7 -5
- package/dist/components/assistant-ui/native/ContextDisplayText.js +12 -9
- package/dist/components/assistant-ui/native/ConversationMapAui.js +8 -5
- package/dist/components/assistant-ui/native/FollowupSuggestionsRow.js +5 -1
- package/dist/components/assistant-ui/native/McpConfigDialog.js +12 -6
- package/dist/components/assistant-ui/native/MermaidDiagram.js +10 -7
- package/dist/components/assistant-ui/native/MessageTiming.js +7 -4
- package/dist/components/assistant-ui/native/ModelSelector.js +26 -21
- package/dist/components/assistant-ui/native/Reasoning.js +13 -11
- package/dist/components/assistant-ui/native/SelectionToolbar.js +5 -1
- package/dist/components/assistant-ui/native/Sources.js +5 -1
- package/dist/components/assistant-ui/native/TaskCard.js +15 -11
- package/dist/components/assistant-ui/native/TaskGroup.js +16 -12
- package/dist/components/assistant-ui/native/TaskTray.js +7 -4
- package/dist/components/assistant-ui/native/Thread.js +26 -22
- package/dist/components/assistant-ui/native/ThreadList.d.ts +6 -4
- package/dist/components/assistant-ui/native/ThreadList.js +11 -5
- package/dist/components/assistant-ui/native/ThreadListSidebar.js +14 -10
- package/dist/components/assistant-ui/native/ToolFallbackRoot.js +12 -4
- package/dist/components/assistant-ui/native/ToolGroup.js +6 -2
- package/dist/components/assistant-ui/native/VoiceConnectButton.js +8 -2
- package/dist/components/assistant-ui/native/VoiceControl.js +10 -9
- package/dist/components/assistant-ui/native/VoiceConversation.js +10 -3
- package/dist/components/assistant-ui/native/VoiceDisconnectButton.js +7 -6
- package/dist/components/assistant-ui/native/VoiceMuteButton.js +7 -6
- package/dist/components/assistant-ui/native/index.js +81 -77
- package/dist/components/calendar/Calendar.d.ts +1 -1
- package/dist/components/calendar/index.js +9 -6
- package/dist/components/calendar/types.d.ts +2 -1
- package/dist/components/carousel/Carousel.d.ts +1 -1
- package/dist/components/carousel/index.js +8 -2
- package/dist/components/carousel/types.d.ts +2 -1
- package/dist/components/chart/index.js +5 -1
- package/dist/components/color-picker/ColorPicker.d.ts +2 -1
- package/dist/components/color-picker/index.js +26 -1
- package/dist/components/command/Command.d.ts +2 -1
- package/dist/components/command/index.js +12 -8
- package/dist/components/data-grid/index.js +16 -12
- package/dist/components/editor/RichTextEditor.d.ts +3 -2
- package/dist/components/editor/index.js +39 -3
- package/dist/components/event-calendar/EventCalendar.d.ts +2 -1
- package/dist/components/event-calendar/index.js +19 -3
- package/dist/components/file-upload/FileUpload.d.ts +3 -2
- package/dist/components/file-upload/index.js +20 -2
- package/dist/components/gantt/index.js +9 -3
- package/dist/components/image-crop/ImageCrop.d.ts +4 -3
- package/dist/components/image-crop/index.js +27 -1
- package/dist/components/input-otp/InputOTP.d.ts +3 -2
- package/dist/components/input-otp/index.js +9 -2
- package/dist/components/json-render/catalog.d.ts +1 -1
- package/dist/components/json-render/index.js +34 -31
- package/dist/components/message-scroller/MessageScroller.d.ts +3 -2
- package/dist/components/message-scroller/index.js +12 -1
- package/dist/components/persian-calendar/PersianCalendar.d.ts +3 -2
- package/dist/components/persian-calendar/index.js +16 -3
- package/dist/components/questionnaire/Questionnaire.d.ts +8 -7
- package/dist/components/questionnaire/index.js +37 -3
- package/dist/components/resizable/Resizable.d.ts +2 -1
- package/dist/components/resizable/index.js +4 -1
- package/dist/components/sonner/Sonner.d.ts +3 -2
- package/dist/components/sonner/index.js +14 -1
- package/dist/components/tree/Tree.d.ts +3 -2
- package/dist/components/tree/TreeItem.d.ts +3 -2
- package/dist/components/tree/index.js +28 -2
- package/dist/components/virtual-data-grid/index.js +11 -4
- package/dist/drag-drop/types.d.ts +2 -1
- package/dist/hooks/useAnalytics.d.ts +4 -0
- package/dist/hooks/useAnalyticsCallback.d.ts +5 -0
- package/dist/hooks/useAnalyticsEnabled.d.ts +2 -0
- package/dist/hooks/useAnalyticsInput.d.ts +8 -0
- package/dist/hooks/useDropTarget.d.ts +1 -1
- package/dist/index.js +39 -37
- package/dist/prototype.js +5 -1
- package/llms/components/actions/Button.md +20 -0
- package/llms/components/providers/AnalyticsProvider.md +59 -0
- package/llms/setup.md +46 -24
- package/llms.txt +1 -0
- package/package.json +5 -1
- package/dist/chunk-j89xg1ak.js +0 -14
- package/dist/chunk-mz3e810d.js +0 -83
- package/dist/chunk-q7p28b89.js +0 -68
|
@@ -1,19 +1,55 @@
|
|
|
1
|
+
import {
|
|
2
|
+
useAnalytics2
|
|
3
|
+
} from "../../chunk-7ny0vyek.js";
|
|
4
|
+
import {
|
|
5
|
+
useAnalyticsEnabled
|
|
6
|
+
} from "../../chunk-8ssktt4b.js";
|
|
7
|
+
import"../../chunk-7jpsybag.js";
|
|
1
8
|
import"../../chunk-cp2m7y7v.js";
|
|
2
|
-
import"../../chunk-
|
|
9
|
+
import"../../chunk-e6hk39ev.js";
|
|
10
|
+
import"../../chunk-x90xmrba.js";
|
|
11
|
+
import"../../chunk-jpvw9xqy.js";
|
|
12
|
+
import"../../chunk-38301e40.js";
|
|
3
13
|
import {
|
|
4
14
|
Toolbar2,
|
|
5
15
|
ToolbarButton2,
|
|
6
16
|
ToolbarGroup2,
|
|
7
17
|
ToolbarSeparator2
|
|
8
|
-
} from "../../chunk-
|
|
18
|
+
} from "../../chunk-x6vx0v6d.js";
|
|
19
|
+
import"../../chunk-5mydsjp3.js";
|
|
9
20
|
|
|
10
21
|
// src/components/editor/RichTextEditor.tsx
|
|
22
|
+
import { useEffect, useEffectEvent } from "react";
|
|
11
23
|
import { EditorContent, useEditorState } from "@tiptap/react";
|
|
12
24
|
import { BoldIcon, ItalicIcon, ListIcon, ListOrderedIcon, RedoIcon, UndoIcon } from "lucide-react";
|
|
13
25
|
import { useEditor, useEditorState as useEditorState2, EditorContent as EditorContent2 } from "@tiptap/react";
|
|
14
26
|
import { default as default2 } from "@tiptap/starter-kit";
|
|
15
27
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
16
|
-
function RichTextEditor({ editor, label, density }) {
|
|
28
|
+
function RichTextEditor({ editor, label, density, analytics }) {
|
|
29
|
+
const enabled = useAnalyticsEnabled(analytics);
|
|
30
|
+
const track = useAnalytics2("RichTextEditor", analytics);
|
|
31
|
+
const report = useEffectEvent(() => track({ name: "ui.commit" }));
|
|
32
|
+
useEffect(() => {
|
|
33
|
+
if (!editor || !enabled)
|
|
34
|
+
return;
|
|
35
|
+
let dirty = false;
|
|
36
|
+
const update = () => {
|
|
37
|
+
if (editor.isFocused)
|
|
38
|
+
dirty = true;
|
|
39
|
+
};
|
|
40
|
+
const blur = () => {
|
|
41
|
+
if (dirty) {
|
|
42
|
+
dirty = false;
|
|
43
|
+
report();
|
|
44
|
+
}
|
|
45
|
+
};
|
|
46
|
+
editor.on("update", update);
|
|
47
|
+
editor.on("blur", blur);
|
|
48
|
+
return () => {
|
|
49
|
+
editor.off("update", update);
|
|
50
|
+
editor.off("blur", blur);
|
|
51
|
+
};
|
|
52
|
+
}, [editor, enabled]);
|
|
17
53
|
const state = useEditorState({
|
|
18
54
|
editor,
|
|
19
55
|
selector: ({ editor: current }) => ({
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import type { IAnalyticsProps } from "../../analytics/types.js";
|
|
1
2
|
import { type CalendarProps, type ToolbarProps } from "react-big-calendar";
|
|
2
3
|
import { type ReactElement } from "react";
|
|
3
4
|
import type { IDensityProps } from "../../density/types.js";
|
|
@@ -9,7 +10,7 @@ type EventCalendarProps<T extends object, R extends object = object> = Omit<Cale
|
|
|
9
10
|
localizer?: CalendarProps<T, R>["localizer"];
|
|
10
11
|
};
|
|
11
12
|
/** Import @alexgorbatchev/shadcn/event-calendar.css. Native localizer and event APIs are preserved. */
|
|
12
|
-
declare function EventCalendar<T extends object, R extends object = object>({ label, height, density, components, localizer, ...props }: EventCalendarProps<T, R>): ReactElement;
|
|
13
|
+
declare function EventCalendar<T extends object, R extends object = object>({ analytics, label, height, density, components, localizer, ...props }: EventCalendarProps<T, R> & IAnalyticsProps): ReactElement;
|
|
13
14
|
export { EventCalendar, EventCalendarToolbar, eventCalendarLocalizer };
|
|
14
15
|
export type { EventCalendarProps };
|
|
15
16
|
export { dateFnsLocalizer } from "react-big-calendar";
|
|
@@ -1,9 +1,14 @@
|
|
|
1
|
+
import"../../chunk-7ny0vyek.js";
|
|
2
|
+
import"../../chunk-8ssktt4b.js";
|
|
1
3
|
import {
|
|
2
4
|
cn2
|
|
3
5
|
} from "../../chunk-cp2m7y7v.js";
|
|
6
|
+
import"../../chunk-e6hk39ev.js";
|
|
7
|
+
import"../../chunk-x90xmrba.js";
|
|
8
|
+
import"../../chunk-jpvw9xqy.js";
|
|
4
9
|
import {
|
|
5
10
|
Button2
|
|
6
|
-
} from "../../chunk-
|
|
11
|
+
} from "../../chunk-38301e40.js";
|
|
7
12
|
import"../../chunk-jcxxjkqx.js";
|
|
8
13
|
import"../../chunk-rajgnfbr.js";
|
|
9
14
|
import {
|
|
@@ -11,15 +16,19 @@ import {
|
|
|
11
16
|
Field2,
|
|
12
17
|
FieldLabel2
|
|
13
18
|
} from "../../chunk-6jpz5geq.js";
|
|
19
|
+
import"../../chunk-7jpsybag.js";
|
|
14
20
|
import {
|
|
15
21
|
Input2
|
|
16
|
-
} from "../../chunk-
|
|
22
|
+
} from "../../chunk-0fmrwsgp.js";
|
|
17
23
|
import {
|
|
18
24
|
Checkbox2
|
|
19
|
-
} from "../../chunk-
|
|
25
|
+
} from "../../chunk-9w9berq8.js";
|
|
20
26
|
import {
|
|
21
27
|
Spinner2
|
|
22
28
|
} from "../../chunk-1xncv9gb.js";
|
|
29
|
+
import {
|
|
30
|
+
useAnalyticsCallback
|
|
31
|
+
} from "../../chunk-5mydsjp3.js";
|
|
23
32
|
var __create = Object.create;
|
|
24
33
|
var __getProtoOf = Object.getPrototypeOf;
|
|
25
34
|
var __defProp = Object.defineProperty;
|
|
@@ -12704,6 +12713,7 @@ function EventButton({ children }) {
|
|
|
12704
12713
|
return createElement("button", { ...children.props, type: "button" }, children.props.children);
|
|
12705
12714
|
}
|
|
12706
12715
|
function EventCalendar({
|
|
12716
|
+
analytics,
|
|
12707
12717
|
label,
|
|
12708
12718
|
height = 640,
|
|
12709
12719
|
density,
|
|
@@ -12711,6 +12721,9 @@ function EventCalendar({
|
|
|
12711
12721
|
localizer = eventCalendarLocalizer,
|
|
12712
12722
|
...props
|
|
12713
12723
|
}) {
|
|
12724
|
+
const onSelectEvent = useAnalyticsCallback("EventCalendar", analytics, { name: "ui.activate" }, props.onSelectEvent);
|
|
12725
|
+
const onSelectSlot = useAnalyticsCallback("EventCalendar", analytics, { name: "ui.change-request" }, props.onSelectSlot);
|
|
12726
|
+
const onNavigate = useAnalyticsCallback("EventCalendar", analytics, { name: "ui.navigate" }, props.onNavigate);
|
|
12714
12727
|
return /* @__PURE__ */ jsx("section", {
|
|
12715
12728
|
"aria-label": label,
|
|
12716
12729
|
"data-density": density,
|
|
@@ -12718,6 +12731,9 @@ function EventCalendar({
|
|
|
12718
12731
|
className: "min-w-0 rounded-sm border border-border bg-card p-3",
|
|
12719
12732
|
children: /* @__PURE__ */ jsx(Calendar_default, {
|
|
12720
12733
|
...props,
|
|
12734
|
+
onSelectEvent,
|
|
12735
|
+
onSelectSlot,
|
|
12736
|
+
onNavigate,
|
|
12721
12737
|
localizer,
|
|
12722
12738
|
popup: false,
|
|
12723
12739
|
className: cn2("ag-event-calendar"),
|
|
@@ -1,14 +1,15 @@
|
|
|
1
|
+
import type { IAnalyticsProps } from "../../analytics/types.js";
|
|
1
2
|
import { type ReactElement, type ReactNode } from "react";
|
|
2
3
|
import { type DropzoneOptions } from "react-dropzone";
|
|
3
4
|
import type { IDensityProps } from "../../density/types.js";
|
|
4
|
-
type FileUploadProps = IDensityProps & Pick<DropzoneOptions, "accept" | "maxSize" | "minSize" | "maxFiles" | "multiple" | "disabled" | "validator" | "onDrop" | "onDropRejected" | "onError"> & {
|
|
5
|
+
type FileUploadProps = IAnalyticsProps & IDensityProps & Pick<DropzoneOptions, "accept" | "maxSize" | "minSize" | "maxFiles" | "multiple" | "disabled" | "validator" | "onDrop" | "onDropRejected" | "onError"> & {
|
|
5
6
|
label: string;
|
|
6
7
|
description?: ReactNode;
|
|
7
8
|
children?: ReactNode;
|
|
8
9
|
name?: string;
|
|
9
10
|
};
|
|
10
11
|
/** Native file selection and validation. Consumers own storage and upload requests. */
|
|
11
|
-
declare function FileUpload({ label, description, children, name, density, ...options }: FileUploadProps): ReactElement;
|
|
12
|
+
declare function FileUpload({ analytics, label, description, children, name, density, ...options }: FileUploadProps): ReactElement;
|
|
12
13
|
export { FileUpload };
|
|
13
14
|
export type { FileUploadProps };
|
|
14
15
|
export type { FileRejection, FileError, DropEvent, Accept } from "react-dropzone";
|
|
@@ -1,19 +1,37 @@
|
|
|
1
|
+
import"../../chunk-7ny0vyek.js";
|
|
2
|
+
import"../../chunk-8ssktt4b.js";
|
|
1
3
|
import {
|
|
2
4
|
cn2
|
|
3
5
|
} from "../../chunk-cp2m7y7v.js";
|
|
6
|
+
import"../../chunk-e6hk39ev.js";
|
|
7
|
+
import"../../chunk-x90xmrba.js";
|
|
8
|
+
import"../../chunk-jpvw9xqy.js";
|
|
4
9
|
import {
|
|
5
10
|
Button2
|
|
6
|
-
} from "../../chunk-
|
|
11
|
+
} from "../../chunk-38301e40.js";
|
|
12
|
+
import {
|
|
13
|
+
useAnalyticsCallback
|
|
14
|
+
} from "../../chunk-5mydsjp3.js";
|
|
7
15
|
|
|
8
16
|
// src/components/file-upload/FileUpload.tsx
|
|
9
17
|
import { useId } from "react";
|
|
10
18
|
import { useDropzone } from "react-dropzone";
|
|
11
19
|
import { UploadIcon } from "lucide-react";
|
|
12
20
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
13
|
-
function FileUpload({
|
|
21
|
+
function FileUpload({
|
|
22
|
+
analytics,
|
|
23
|
+
label,
|
|
24
|
+
description,
|
|
25
|
+
children,
|
|
26
|
+
name,
|
|
27
|
+
density,
|
|
28
|
+
...options
|
|
29
|
+
}) {
|
|
30
|
+
const onDrop = useAnalyticsCallback("FileUpload", analytics, { name: "ui.commit" }, options.onDrop);
|
|
14
31
|
const descriptionId = useId();
|
|
15
32
|
const { getRootProps, getInputProps, open, isDragActive, isDragReject, isProcessing, fileRejections } = useDropzone({
|
|
16
33
|
...options,
|
|
34
|
+
onDrop,
|
|
17
35
|
noClick: true,
|
|
18
36
|
noKeyboard: true
|
|
19
37
|
});
|
|
@@ -7,16 +7,21 @@ import {
|
|
|
7
7
|
DragSource2,
|
|
8
8
|
DropTarget2,
|
|
9
9
|
Kanban2
|
|
10
|
-
} from "../../chunk-
|
|
10
|
+
} from "../../chunk-gbmvkt3q.js";
|
|
11
11
|
import"../../chunk-cp2m7y7v.js";
|
|
12
12
|
import"../../chunk-wjx6zf94.js";
|
|
13
|
+
import"../../chunk-7ny0vyek.js";
|
|
14
|
+
import"../../chunk-8ssktt4b.js";
|
|
15
|
+
import"../../chunk-e6hk39ev.js";
|
|
16
|
+
import"../../chunk-x90xmrba.js";
|
|
17
|
+
import"../../chunk-jpvw9xqy.js";
|
|
13
18
|
import {
|
|
14
19
|
Button2
|
|
15
|
-
} from "../../chunk-
|
|
20
|
+
} from "../../chunk-38301e40.js";
|
|
16
21
|
import {
|
|
17
22
|
NativeSelect2,
|
|
18
23
|
NativeSelectOption2
|
|
19
|
-
} from "../../chunk-
|
|
24
|
+
} from "../../chunk-r4jzz4f2.js";
|
|
20
25
|
import {
|
|
21
26
|
Table2,
|
|
22
27
|
TableHeader2,
|
|
@@ -25,6 +30,7 @@ import {
|
|
|
25
30
|
TableHead2,
|
|
26
31
|
TableCell2
|
|
27
32
|
} from "../../chunk-zte6pw69.js";
|
|
33
|
+
import"../../chunk-5mydsjp3.js";
|
|
28
34
|
|
|
29
35
|
// src/components/gantt/Gantt.tsx
|
|
30
36
|
import { useId, useState } from "react";
|
|
@@ -1,9 +1,10 @@
|
|
|
1
|
+
import type { IAnalyticsProps } from "../../analytics/types.js";
|
|
1
2
|
import { type ReactCropProps } from "react-image-crop";
|
|
2
|
-
import type
|
|
3
|
+
import { type ReactElement } from "react";
|
|
3
4
|
import type { IDensityProps } from "../../density/types.js";
|
|
4
|
-
type ImageCropProps = ReactCropProps & IDensityProps;
|
|
5
|
+
type ImageCropProps = IAnalyticsProps & ReactCropProps & IDensityProps;
|
|
5
6
|
/** Import react-image-crop/dist/ReactCrop.css alongside the package theme. */
|
|
6
|
-
declare function ImageCrop({ className, density, ...props }: ImageCropProps): ReactElement;
|
|
7
|
+
declare function ImageCrop({ analytics, className, density, ...props }: ImageCropProps): ReactElement;
|
|
7
8
|
export { ImageCrop };
|
|
8
9
|
export type { ImageCropProps };
|
|
9
10
|
export { centerCrop, makeAspectCrop, convertToPixelCrop, convertToPercentCrop, cropToCanvas, cropToImg, } from "react-image-crop";
|
|
@@ -1,9 +1,16 @@
|
|
|
1
|
+
import {
|
|
2
|
+
useAnalytics2
|
|
3
|
+
} from "../../chunk-7ny0vyek.js";
|
|
4
|
+
import {
|
|
5
|
+
useAnalyticsEnabled
|
|
6
|
+
} from "../../chunk-8ssktt4b.js";
|
|
1
7
|
import {
|
|
2
8
|
cn2
|
|
3
9
|
} from "../../chunk-cp2m7y7v.js";
|
|
4
10
|
|
|
5
11
|
// src/components/image-crop/ImageCrop.tsx
|
|
6
12
|
import { ReactCrop } from "react-image-crop";
|
|
13
|
+
import { useLayoutEffect, useRef } from "react";
|
|
7
14
|
import {
|
|
8
15
|
centerCrop,
|
|
9
16
|
makeAspectCrop,
|
|
@@ -13,13 +20,32 @@ import {
|
|
|
13
20
|
cropToImg
|
|
14
21
|
} from "react-image-crop";
|
|
15
22
|
import { jsx } from "react/jsx-runtime";
|
|
16
|
-
function ImageCrop({ className, density, ...props }) {
|
|
23
|
+
function ImageCrop({ analytics, className, density, ...props }) {
|
|
24
|
+
const enabled = useAnalyticsEnabled(analytics);
|
|
25
|
+
const dirty = useRef(false);
|
|
26
|
+
const track = useAnalytics2("ImageCrop", analytics);
|
|
27
|
+
useLayoutEffect(() => {
|
|
28
|
+
dirty.current = false;
|
|
29
|
+
}, [enabled]);
|
|
30
|
+
const onChange = (...args) => {
|
|
31
|
+
props.onChange(...args);
|
|
32
|
+
dirty.current = enabled;
|
|
33
|
+
};
|
|
34
|
+
const onComplete = (...args) => {
|
|
35
|
+
props.onComplete?.(...args);
|
|
36
|
+
const changed = dirty.current;
|
|
37
|
+
dirty.current = false;
|
|
38
|
+
if (changed)
|
|
39
|
+
track({ name: "ui.commit" });
|
|
40
|
+
};
|
|
17
41
|
return /* @__PURE__ */ jsx("div", {
|
|
18
42
|
"data-density": density,
|
|
19
43
|
"data-scroll": "none",
|
|
20
44
|
className: "max-w-full rounded-sm border border-border bg-card p-2",
|
|
21
45
|
children: /* @__PURE__ */ jsx(ReactCrop, {
|
|
22
46
|
...props,
|
|
47
|
+
onChange,
|
|
48
|
+
onComplete,
|
|
23
49
|
className: cn2("max-w-full [&_.ReactCrop__drag-handle]:border-foreground [&_.ReactCrop__drag-handle]:bg-background", className)
|
|
24
50
|
})
|
|
25
51
|
});
|
|
@@ -1,8 +1,9 @@
|
|
|
1
|
+
import type { IAnalyticsProps } from "../../analytics/types.js";
|
|
1
2
|
import type { ComponentProps, ReactElement } from "react";
|
|
2
3
|
import type { IDensityProps } from "../../density/types.js";
|
|
3
4
|
import { OTPInput } from "input-otp";
|
|
4
|
-
type InputOTPProps = ComponentProps<typeof OTPInput> & IDensityProps;
|
|
5
|
-
declare function InputOTP({ density, className, containerClassName, dir, ...props }: InputOTPProps): ReactElement;
|
|
5
|
+
type InputOTPProps = IAnalyticsProps & ComponentProps<typeof OTPInput> & IDensityProps;
|
|
6
|
+
declare function InputOTP({ analytics, density, className, containerClassName, dir, ...props }: InputOTPProps): ReactElement;
|
|
6
7
|
declare function InputOTPGroup({ className, ...props }: ComponentProps<"div">): ReactElement;
|
|
7
8
|
type InputOTPSlotProps = ComponentProps<"div"> & {
|
|
8
9
|
index: number;
|
|
@@ -1,6 +1,11 @@
|
|
|
1
|
+
import"../../chunk-7ny0vyek.js";
|
|
2
|
+
import"../../chunk-8ssktt4b.js";
|
|
1
3
|
import {
|
|
2
4
|
cn2
|
|
3
5
|
} from "../../chunk-cp2m7y7v.js";
|
|
6
|
+
import {
|
|
7
|
+
useAnalyticsCallback
|
|
8
|
+
} from "../../chunk-5mydsjp3.js";
|
|
4
9
|
|
|
5
10
|
// src/components/input-otp/InputOTP.tsx
|
|
6
11
|
import { useContext } from "react";
|
|
@@ -244,7 +249,8 @@ var Ft = `
|
|
|
244
249
|
// src/components/input-otp/InputOTP.tsx
|
|
245
250
|
import { MinusIcon } from "lucide-react";
|
|
246
251
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
247
|
-
function InputOTP({ density, className, containerClassName, dir, ...props }) {
|
|
252
|
+
function InputOTP({ analytics, density, className, containerClassName, dir, ...props }) {
|
|
253
|
+
const onComplete = useAnalyticsCallback("InputOTP", analytics, { name: "ui.commit" }, props.onComplete);
|
|
248
254
|
return /* @__PURE__ */ jsx("div", {
|
|
249
255
|
"data-slot": "input-otp",
|
|
250
256
|
"data-density": density,
|
|
@@ -256,7 +262,8 @@ function InputOTP({ density, className, containerClassName, dir, ...props }) {
|
|
|
256
262
|
containerClassName: cn2("flex items-center gap-control-gap", containerClassName),
|
|
257
263
|
spellCheck: false,
|
|
258
264
|
className: cn2("disabled:cursor-not-allowed", className),
|
|
259
|
-
...props
|
|
265
|
+
...props,
|
|
266
|
+
onComplete
|
|
260
267
|
})
|
|
261
268
|
});
|
|
262
269
|
}
|
|
@@ -1,9 +1,18 @@
|
|
|
1
|
+
import"../../chunk-7ny0vyek.js";
|
|
2
|
+
import"../../chunk-8ssktt4b.js";
|
|
1
3
|
import {
|
|
2
4
|
cn2
|
|
3
5
|
} from "../../chunk-cp2m7y7v.js";
|
|
6
|
+
import"../../chunk-e6hk39ev.js";
|
|
7
|
+
import"../../chunk-x90xmrba.js";
|
|
8
|
+
import"../../chunk-jpvw9xqy.js";
|
|
4
9
|
import {
|
|
10
|
+
TooltipProvider2,
|
|
11
|
+
Tooltip2,
|
|
12
|
+
TooltipTrigger2,
|
|
13
|
+
TooltipContent2,
|
|
5
14
|
Button2
|
|
6
|
-
} from "../../chunk-
|
|
15
|
+
} from "../../chunk-38301e40.js";
|
|
7
16
|
import {
|
|
8
17
|
ButtonLink2,
|
|
9
18
|
Accordion2,
|
|
@@ -27,28 +36,25 @@ import {
|
|
|
27
36
|
DrawerHeader2,
|
|
28
37
|
DrawerTitle2,
|
|
29
38
|
DrawerDescription2
|
|
30
|
-
} from "../../chunk-
|
|
31
|
-
import"../../chunk-e6hk39ev.js";
|
|
32
|
-
import"../../chunk-j89xg1ak.js";
|
|
33
|
-
import"../../chunk-aa7m22zj.js";
|
|
34
|
-
import"../../chunk-jpvw9xqy.js";
|
|
39
|
+
} from "../../chunk-3r0q02k6.js";
|
|
35
40
|
import {
|
|
36
41
|
DropdownMenu2,
|
|
37
42
|
DropdownMenuTrigger2,
|
|
38
43
|
DropdownMenuContent2,
|
|
39
44
|
DropdownMenuItem2
|
|
40
|
-
} from "../../chunk-
|
|
45
|
+
} from "../../chunk-8wc2z7te.js";
|
|
41
46
|
import {
|
|
42
47
|
Popover2,
|
|
43
48
|
PopoverTrigger2,
|
|
44
49
|
PopoverContent2
|
|
45
|
-
} from "../../chunk-
|
|
50
|
+
} from "../../chunk-21ab0jsp.js";
|
|
46
51
|
import {
|
|
47
52
|
Skeleton2
|
|
48
53
|
} from "../../chunk-d70rcwk7.js";
|
|
54
|
+
import"../../chunk-7jpsybag.js";
|
|
49
55
|
import {
|
|
50
56
|
Input2
|
|
51
|
-
} from "../../chunk-
|
|
57
|
+
} from "../../chunk-0fmrwsgp.js";
|
|
52
58
|
import {
|
|
53
59
|
Label2
|
|
54
60
|
} from "../../chunk-jcxxjkqx.js";
|
|
@@ -65,26 +71,20 @@ import {
|
|
|
65
71
|
DialogHeader2,
|
|
66
72
|
DialogTitle2,
|
|
67
73
|
DialogDescription2
|
|
68
|
-
} from "../../chunk-
|
|
74
|
+
} from "../../chunk-jgdpa00w.js";
|
|
69
75
|
import {
|
|
70
76
|
Slider2
|
|
71
|
-
} from "../../chunk-
|
|
77
|
+
} from "../../chunk-2mn2ctsk.js";
|
|
72
78
|
import {
|
|
73
79
|
Switch2
|
|
74
|
-
} from "../../chunk-
|
|
80
|
+
} from "../../chunk-ptgtqv1a.js";
|
|
75
81
|
import {
|
|
76
82
|
Textarea2
|
|
77
|
-
} from "../../chunk-
|
|
78
|
-
import {
|
|
79
|
-
TooltipProvider2,
|
|
80
|
-
Tooltip2,
|
|
81
|
-
TooltipTrigger2,
|
|
82
|
-
TooltipContent2
|
|
83
|
-
} from "../../chunk-mz3e810d.js";
|
|
83
|
+
} from "../../chunk-tq0pfv5h.js";
|
|
84
84
|
import {
|
|
85
85
|
RadioGroup2,
|
|
86
86
|
RadioGroupItem2
|
|
87
|
-
} from "../../chunk-
|
|
87
|
+
} from "../../chunk-ekbesw9t.js";
|
|
88
88
|
import {
|
|
89
89
|
Card2,
|
|
90
90
|
CardHeader2,
|
|
@@ -92,27 +92,27 @@ import {
|
|
|
92
92
|
CardDescription2,
|
|
93
93
|
CardContent2
|
|
94
94
|
} from "../../chunk-bygq5yqf.js";
|
|
95
|
-
import"../../chunk-
|
|
96
|
-
import"../../chunk-
|
|
95
|
+
import"../../chunk-14mh00z3.js";
|
|
96
|
+
import"../../chunk-p1eqxz4v.js";
|
|
97
97
|
import {
|
|
98
98
|
Tabs2,
|
|
99
99
|
TabsList2,
|
|
100
100
|
TabsTrigger2
|
|
101
|
-
} from "../../chunk-
|
|
101
|
+
} from "../../chunk-gbmvkt3q.js";
|
|
102
102
|
import {
|
|
103
103
|
Badge2
|
|
104
104
|
} from "../../chunk-wjx6zf94.js";
|
|
105
105
|
import"../../chunk-9de1htr5.js";
|
|
106
106
|
import {
|
|
107
107
|
Checkbox2
|
|
108
|
-
} from "../../chunk-
|
|
108
|
+
} from "../../chunk-9w9berq8.js";
|
|
109
109
|
import"../../chunk-1j2hz3w9.js";
|
|
110
110
|
import"../../chunk-k99h6evz.js";
|
|
111
111
|
import {
|
|
112
112
|
Toggle2,
|
|
113
113
|
ToggleGroup2,
|
|
114
114
|
ToggleGroupItem2
|
|
115
|
-
} from "../../chunk-
|
|
115
|
+
} from "../../chunk-w9s21aj0.js";
|
|
116
116
|
import {
|
|
117
117
|
Alert2,
|
|
118
118
|
AlertTitle2,
|
|
@@ -130,7 +130,7 @@ import {
|
|
|
130
130
|
Collapsible2,
|
|
131
131
|
CollapsibleTrigger2,
|
|
132
132
|
CollapsibleContent2
|
|
133
|
-
} from "../../chunk-
|
|
133
|
+
} from "../../chunk-fw86vanx.js";
|
|
134
134
|
import {
|
|
135
135
|
Spinner2
|
|
136
136
|
} from "../../chunk-1xncv9gb.js";
|
|
@@ -143,21 +143,24 @@ import {
|
|
|
143
143
|
TableCell2,
|
|
144
144
|
TableCaption2
|
|
145
145
|
} from "../../chunk-zte6pw69.js";
|
|
146
|
-
import"../../chunk-
|
|
146
|
+
import"../../chunk-r4jzz4f2.js";
|
|
147
147
|
import"../../chunk-vyve5wf3.js";
|
|
148
|
-
import"../../chunk-
|
|
149
|
-
import"../../chunk-
|
|
150
|
-
import"../../chunk-
|
|
148
|
+
import"../../chunk-4710gn6d.js";
|
|
149
|
+
import"../../chunk-60p7sagm.js";
|
|
150
|
+
import"../../chunk-c9ypcp4s.js";
|
|
151
|
+
import"../../chunk-tcefvfr8.js";
|
|
152
|
+
import"../../chunk-x6vx0v6d.js";
|
|
151
153
|
import {
|
|
152
154
|
Carousel2,
|
|
153
155
|
CarouselContent2,
|
|
154
156
|
CarouselItem2,
|
|
155
157
|
CarouselPrevious2,
|
|
156
158
|
CarouselNext2
|
|
157
|
-
} from "../../chunk-
|
|
159
|
+
} from "../../chunk-6jw87d07.js";
|
|
158
160
|
import {
|
|
159
161
|
componentDefinitions2
|
|
160
162
|
} from "../../chunk-tch86q2w.js";
|
|
163
|
+
import"../../chunk-5mydsjp3.js";
|
|
161
164
|
|
|
162
165
|
// src/components/json-render/JsonCard.tsx
|
|
163
166
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import type { IAnalyticsProps } from "../../analytics/types.js";
|
|
1
2
|
import type { ComponentProps, ReactElement } from "react";
|
|
2
3
|
import type { IDensityProps } from "../../density/types.js";
|
|
3
4
|
import { MessageScroller as MessageScrollerPrimitive } from "@shadcn/react/message-scroller";
|
|
@@ -11,6 +12,6 @@ type MessageScrollerContentProps = ComponentProps<typeof MessageScrollerPrimitiv
|
|
|
11
12
|
declare function MessageScrollerContent({ density, className, ...props }: MessageScrollerContentProps): ReactElement;
|
|
12
13
|
type MessageScrollerItemProps = ComponentProps<typeof MessageScrollerPrimitive.Item> & IDensityProps;
|
|
13
14
|
declare function MessageScrollerItem({ density, className, scrollAnchor, ...props }: MessageScrollerItemProps): ReactElement;
|
|
14
|
-
type MessageScrollerButtonProps = ComponentProps<typeof MessageScrollerPrimitive.Button> & Pick<ComponentProps<typeof Button>, "variant" | "size"> & IDensityProps;
|
|
15
|
-
declare function MessageScrollerButton({ density, direction, behavior, className, children, render, variant, size, ...props }: MessageScrollerButtonProps): ReactElement;
|
|
15
|
+
type MessageScrollerButtonProps = IAnalyticsProps & ComponentProps<typeof MessageScrollerPrimitive.Button> & Pick<ComponentProps<typeof Button>, "variant" | "size"> & IDensityProps;
|
|
16
|
+
declare function MessageScrollerButton({ analytics, density, direction, behavior, className, children, render, variant, size, ...props }: MessageScrollerButtonProps): ReactElement;
|
|
16
17
|
export { MessageScrollerProvider, MessageScroller, MessageScrollerViewport, MessageScrollerContent, MessageScrollerItem, MessageScrollerButton, };
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import"../../chunk-7ny0vyek.js";
|
|
2
|
+
import"../../chunk-8ssktt4b.js";
|
|
1
3
|
import {
|
|
2
4
|
S,
|
|
3
5
|
d,
|
|
@@ -6,9 +8,15 @@ import {
|
|
|
6
8
|
import {
|
|
7
9
|
cn2
|
|
8
10
|
} from "../../chunk-cp2m7y7v.js";
|
|
11
|
+
import"../../chunk-e6hk39ev.js";
|
|
12
|
+
import"../../chunk-x90xmrba.js";
|
|
13
|
+
import"../../chunk-jpvw9xqy.js";
|
|
9
14
|
import {
|
|
10
15
|
Button2
|
|
11
|
-
} from "../../chunk-
|
|
16
|
+
} from "../../chunk-38301e40.js";
|
|
17
|
+
import {
|
|
18
|
+
useAnalyticsCallback
|
|
19
|
+
} from "../../chunk-5mydsjp3.js";
|
|
12
20
|
|
|
13
21
|
// node_modules/@shadcn/react/dist/message-scroller/index.js
|
|
14
22
|
import * as f2 from "react";
|
|
@@ -549,6 +557,7 @@ function MessageScrollerItem({
|
|
|
549
557
|
});
|
|
550
558
|
}
|
|
551
559
|
function MessageScrollerButton({
|
|
560
|
+
analytics,
|
|
552
561
|
density,
|
|
553
562
|
direction = "end",
|
|
554
563
|
behavior,
|
|
@@ -559,6 +568,7 @@ function MessageScrollerButton({
|
|
|
559
568
|
size = "icon-sm",
|
|
560
569
|
...props
|
|
561
570
|
}) {
|
|
571
|
+
const trackedOnClick = useAnalyticsCallback("MessageScrollerButton", analytics, { name: "ui.activate" }, props.onClick);
|
|
562
572
|
const isReducedMotion = useMediaQuery("(prefers-reduced-motion: reduce)");
|
|
563
573
|
return /* @__PURE__ */ jsx2(er.Button, {
|
|
564
574
|
"data-slot": "message-scroller-button",
|
|
@@ -574,6 +584,7 @@ function MessageScrollerButton({
|
|
|
574
584
|
size
|
|
575
585
|
}),
|
|
576
586
|
...props,
|
|
587
|
+
onClick: trackedOnClick,
|
|
577
588
|
children: children ?? /* @__PURE__ */ jsxs2(Fragment, {
|
|
578
589
|
children: [
|
|
579
590
|
/* @__PURE__ */ jsx2(ArrowDownIcon, {
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
+
import type { IAnalyticsProps } from "../../analytics/types.js";
|
|
1
2
|
import type { ComponentProps, ReactElement } from "react";
|
|
2
3
|
import type { CalendarProps } from "../calendar/types.js";
|
|
3
4
|
import { DayPicker } from "@daypicker/persian";
|
|
4
|
-
type PersianCalendarProps = ComponentProps<typeof DayPicker> & Pick<CalendarProps, "density" | "buttonVariant">;
|
|
5
|
-
declare function PersianCalendar({ density, className, classNames, showOutsideDays, captionLayout, buttonVariant, components, ...props }: PersianCalendarProps): ReactElement;
|
|
5
|
+
type PersianCalendarProps = IAnalyticsProps & ComponentProps<typeof DayPicker> & Pick<CalendarProps, "density" | "buttonVariant">;
|
|
6
|
+
declare function PersianCalendar({ analytics, density, className, classNames, showOutsideDays, captionLayout, buttonVariant, components, ...props }: PersianCalendarProps): ReactElement;
|
|
6
7
|
export { PersianCalendar };
|
|
@@ -1,16 +1,25 @@
|
|
|
1
|
+
import"../../chunk-7ny0vyek.js";
|
|
2
|
+
import"../../chunk-8ssktt4b.js";
|
|
1
3
|
import {
|
|
2
4
|
cn2
|
|
3
5
|
} from "../../chunk-cp2m7y7v.js";
|
|
4
|
-
import"../../chunk-
|
|
6
|
+
import"../../chunk-e6hk39ev.js";
|
|
7
|
+
import"../../chunk-x90xmrba.js";
|
|
8
|
+
import"../../chunk-jpvw9xqy.js";
|
|
9
|
+
import"../../chunk-38301e40.js";
|
|
5
10
|
import {
|
|
6
11
|
getCalendarClassNames,
|
|
7
12
|
CalendarDayButton2
|
|
8
|
-
} from "../../chunk-
|
|
13
|
+
} from "../../chunk-cy1xv5nz.js";
|
|
14
|
+
import {
|
|
15
|
+
useAnalyticsCallback
|
|
16
|
+
} from "../../chunk-5mydsjp3.js";
|
|
9
17
|
|
|
10
18
|
// src/components/persian-calendar/PersianCalendar.tsx
|
|
11
19
|
import { DayPicker } from "@daypicker/persian";
|
|
12
20
|
import { jsx } from "react/jsx-runtime";
|
|
13
21
|
function PersianCalendar({
|
|
22
|
+
analytics,
|
|
14
23
|
density,
|
|
15
24
|
className,
|
|
16
25
|
classNames,
|
|
@@ -20,6 +29,8 @@ function PersianCalendar({
|
|
|
20
29
|
components,
|
|
21
30
|
...props
|
|
22
31
|
}) {
|
|
32
|
+
const onDayClick = useAnalyticsCallback("PersianCalendar", analytics, { name: "ui.change-request" }, props.onDayClick);
|
|
33
|
+
const onMonthChange = useAnalyticsCallback("PersianCalendar", analytics, { name: "ui.navigate" }, props.onMonthChange);
|
|
23
34
|
return /* @__PURE__ */ jsx(DayPicker, {
|
|
24
35
|
"data-density": density,
|
|
25
36
|
"data-slot": "calendar",
|
|
@@ -28,7 +39,9 @@ function PersianCalendar({
|
|
|
28
39
|
className: cn2("group/calendar bg-background p-panel [--cell-size:var(--ag-control-h)]", className),
|
|
29
40
|
classNames: getCalendarClassNames({ buttonVariant, classNames }),
|
|
30
41
|
components: { DayButton: CalendarDayButton2, ...components },
|
|
31
|
-
...props
|
|
42
|
+
...props,
|
|
43
|
+
onDayClick,
|
|
44
|
+
onMonthChange
|
|
32
45
|
});
|
|
33
46
|
}
|
|
34
47
|
export {
|