@marimo-team/islands 0.25.2-dev14 → 0.25.2-dev140
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{ConnectedDataExplorerComponent-CqhQmp74.js → ConnectedDataExplorerComponent-CNSxdKyJ.js} +15 -15
- package/dist/{ErrorBoundary-M1CN91UQ.js → ErrorBoundary-BkQSYCZo.js} +12 -12
- package/dist/{ImageComparisonComponent-Cpfz30OZ.js → ImageComparisonComponent-uU8FSKZE.js} +3 -3
- package/dist/{Plot-CTyjbQDT.js → Plot-DdYOe1UK.js} +2 -2
- package/dist/{abnfDiagram-VCTEODGH-aLGD44M7.js → abnfDiagram-VCTEODGH-DQDjNXt3.js} +3 -3
- package/dist/{any-language-editor-dqxlUDlT.js → any-language-editor-B9REGlD9.js} +8 -8
- package/dist/{apl-BYaaig9_.js → apl-GEW9-ZP1.js} +1 -1
- package/dist/{architectureDiagram-5GKGNRK7-BGL5P81u.js → architectureDiagram-5GKGNRK7-Nmls7Wxn.js} +5 -5
- package/dist/{asciiarmor-GKQFJXQG.js → asciiarmor-BWNxzkG7.js} +1 -1
- package/dist/{asn1-BsSb7HP5.js → asn1-Bcn2QutK.js} +1 -1
- package/dist/assets/__vite-browser-external-BXYkiFsk.js +1 -0
- package/dist/assets/worker-HPY9fbhz.js +114 -0
- package/dist/{asterisk-B3I8SNb5.js → asterisk-lE36-hJK.js} +1 -1
- package/dist/{blockDiagram-I7D4REHJ-CvBmppdy.js → blockDiagram-I7D4REHJ-Cg25UrxT.js} +9 -9
- package/dist/{brainfuck-DXjk3bQe.js → brainfuck-BQCYDheZ.js} +1 -1
- package/dist/{button-B0Xgl-Qn.js → button-CvjkwdSk.js} +304 -287
- package/dist/{c4Diagram-7LVT6UL2-EceL4_jH.js → c4Diagram-7LVT6UL2-BxFgrnNV.js} +7 -7
- package/dist/{capabilities-D7Ad8-zw.js → capabilities-CQ5IjhzL.js} +1 -1
- package/dist/{cells-5ppES-Un.js → cells-C8iCYvLU.js} +5949 -4892
- package/dist/{channel-z7HZXHwv.js → channel-CPObtJXj.js} +1 -1
- package/dist/{chat-ui-Dv2V95k6.js → chat-ui-BDpymeoe.js} +1595 -1402
- package/dist/{check-DGZ74tV2.js → check-EDwSwP89.js} +1 -1
- package/dist/{chunk-4HAMMTFA-BPTTOOC5.js → chunk-4HAMMTFA-D4eFPyFh.js} +5 -5
- package/dist/{chunk-75Z2AOVW-C4AOleKf.js → chunk-75Z2AOVW-D7gxIs2Q.js} +1 -1
- package/dist/{chunk-DU6HZSFF-1TwWR6gh.js → chunk-DU6HZSFF-BwiyaNpg.js} +2 -2
- package/dist/{chunk-F27PBJKO-DMI1PBe4.js → chunk-F27PBJKO-ufseIn5y.js} +1 -1
- package/dist/{chunk-GMAD6QVW-vStrMz2P.js → chunk-GMAD6QVW-BhaJx0X3.js} +3 -3
- package/dist/{chunk-GVQU2GXP-2HwWgs4u.js → chunk-GVQU2GXP-Cwbt-lF0.js} +2 -2
- package/dist/{chunk-IMKFNOWR-Cm3RgLDj.js → chunk-IMKFNOWR-CoIFEo-1.js} +6 -6
- package/dist/{chunk-L3NEJ4N5-RhC7i0I2.js → chunk-L3NEJ4N5-n-zgIVSy.js} +5 -5
- package/dist/{chunk-OSK3NFVY-CZV09N-U.js → chunk-OSK3NFVY-DXa-Cxbn.js} +6 -6
- package/dist/{chunk-P2QGCYS3-0TAWai9C.js → chunk-P2QGCYS3-B_Zd3-X0.js} +1 -1
- package/dist/{chunk-POPQ4Y6H-Cc3_56GX.js → chunk-POPQ4Y6H-hYOXbYH_.js} +1 -1
- package/dist/{chunk-PWAF6VOD-lNxB9k8z.js → chunk-PWAF6VOD-CQw5qATZ.js} +1 -1
- package/dist/{chunk-SHT3W25Y-DedDYSP5.js → chunk-SHT3W25Y-lHiGx3ZC.js} +8 -8
- package/dist/{chunk-SVP7TREG-B2SFkCAL.js → chunk-SVP7TREG-BvsHIrY_.js} +2 -2
- package/dist/{chunk-TICWLB2K-DB6hjNOL.js → chunk-TICWLB2K-BC8YIm_n.js} +6 -6
- package/dist/{chunk-YOKDWASO-DrWbKnxA.js → chunk-YOKDWASO-DPZk8vhS.js} +6 -6
- package/dist/classDiagram-ZZMXUADV-Bt98lkkv.js +30 -0
- package/dist/classDiagram-v2-VYDZK3BY-D9bfbcC3.js +30 -0
- package/dist/{clike-E2lFbGVj.js → clike-CxK9W55Z.js} +1 -1
- package/dist/{clojure-Dn_K4RlK.js → clojure-Dzcvwpxk.js} +1 -1
- package/dist/{cmake-DpN2Top5.js → cmake-DYr-71zp.js} +1 -1
- package/dist/{cobol-Chf22-GM.js → cobol-DC3g37Kq.js} +1 -1
- package/dist/{code-visibility-Clbu601l.js → code-visibility-DSbYTcxC.js} +8 -8
- package/dist/{coffeescript-BVe1OiD9.js → coffeescript-C-eFwH5N.js} +1 -1
- package/dist/{common-DnmYjCVM.js → common-CZoGPEDT.js} +13579 -14584
- package/dist/{commonlisp-DxoBG7fU.js → commonlisp-CyaNXrJR.js} +1 -1
- package/dist/{compiler-runtime-Cj8ZWiNS.js → compiler-runtime-CldRdSsv.js} +2 -2
- package/dist/{copy-icon-qmRg_VTX.js → copy-icon-Ft7t9bqz.js} +6 -6
- package/dist/{crystal-DCM3yc4r.js → crystal-ih5ax5tQ.js} +1 -1
- package/dist/{css-DkZ9mMyI.js → css-CN_wP7_R.js} +1 -1
- package/dist/{cynefinDiagram-5FMLGOSQ-DzaZEqgD.js → cynefinDiagram-5FMLGOSQ-CgWra7wt.js} +3 -3
- package/dist/{cypher-Drw_8U5I.js → cypher-CqGRcmZo.js} +1 -1
- package/dist/{d-CsVGcKMF.js → d-Cj0sOW2z.js} +1 -1
- package/dist/{dagre-GXQ25YYZ-Cjf5GjU3.js → dagre-GXQ25YYZ-CFZ8-35c.js} +10 -10
- package/dist/{data-grid-overlay-editor-CYhrcE4X.js → data-grid-overlay-editor-Bahjo5W-.js} +7 -7
- package/dist/{data-grid-types-BucVmDDp.js → data-grid-types-BH_r7g7l.js} +1 -1
- package/dist/{diagram-S7CK7UJ4-IhLt_khx.js → diagram-S7CK7UJ4-lCNQrW7d.js} +4 -4
- package/dist/{diagram-UQ7AKVKN-CQc6KLPB.js → diagram-UQ7AKVKN-CQPQ6pP_.js} +3 -3
- package/dist/{diagram-VSXAHHWV-CR7BJygZ.js → diagram-VSXAHHWV-BJWcVVJY.js} +2 -2
- package/dist/{diagram-VX7I27RA-DHmW9N1T.js → diagram-VX7I27RA-Cf3b0llz.js} +5 -5
- package/dist/{diagram-Z3DM3KII-zVKsg-Ty.js → diagram-Z3DM3KII-Bt4QLrpn.js} +3 -3
- package/dist/{dialog-CILKhbsG.js → dialog-CEBFZNyc.js} +29 -29
- package/dist/{diff-CBikYCUF.js → diff-B_hUkiat.js} +1 -1
- package/dist/{dist-Df0wKI0F.js → dist-BK4Oj99o.js} +1 -1
- package/dist/{dist-BVGtK7Ht.js → dist-BLfKmR-l.js} +1 -1
- package/dist/{dist-B8D7McG3.js → dist-BMQf5zIS.js} +46 -46
- package/dist/{dist-C2KzV-vf.js → dist-BorMD-uX.js} +2 -2
- package/dist/{dist-Cs2FijYk.js → dist-BuaRHxOc.js} +2 -2
- package/dist/{dist-DPcEtqmG.js → dist-Bvs24R_E.js} +47 -47
- package/dist/{dist-lA1Cttkb.js → dist-C8fAKSH1.js} +41 -41
- package/dist/{dist-DszxuxS1.js → dist-CLdpGQVr.js} +2 -2
- package/dist/{dist-CO1AwwG_.js → dist-CN8zI-XC.js} +209 -209
- package/dist/{dist-D1PpnuZB.js → dist-CN_BeG2I.js} +1 -1
- package/dist/{dist-CPGxfVGX.js → dist-CSJ0MDRw.js} +1 -1
- package/dist/{dist-Cm3iAFMD.js → dist-CSbh1PNP.js} +3 -3
- package/dist/{dist-9x1ZRe-e.js → dist-Cg7gzw-a.js} +2 -2
- package/dist/{dist-B1vYLK28.js → dist-CkTTIdBe.js} +345 -345
- package/dist/{dist-BRxfaJgs.js → dist-CrSP_H1M.js} +296 -296
- package/dist/{dist-C2wDlYdD.js → dist-D-wwqlzJ.js} +2 -2
- package/dist/{dist-BtKIs9N-.js → dist-D6d86eNJ.js} +1 -1
- package/dist/{dist-DHOTQar0.js → dist-DBtSl3sf.js} +1 -1
- package/dist/{dist-KzZ7WELx.js → dist-DiDibOYr.js} +120 -120
- package/dist/{dist-Kxgjxakw.js → dist-DoE4XJBC.js} +1277 -1222
- package/dist/{dist-CcyKTBTF.js → dist-DpBpA_n1.js} +2 -2
- package/dist/{dist-BHCHt1NI.js → dist-F8Ep36rk.js} +1 -1
- package/dist/{dist-C8xMLVYi.js → dist-OR1OnN-y.js} +44 -44
- package/dist/{dist-1HDa70oE.js → dist-PXYI_yuP.js} +3 -3
- package/dist/{dist-CMh_W4y4.js → dist-diIx5qJW.js} +2 -2
- package/dist/{dockerfile-DJnSntVB.js → dockerfile-D0VKN500.js} +2 -2
- package/dist/dropdown-menu-CP_qCYHC.js +4678 -0
- package/dist/{dtd-BHa4v0Bn.js → dtd-B8FGSWWe.js} +1 -1
- package/dist/{dylan-BypL2Zz8.js → dylan-DbIBYIrw.js} +1 -1
- package/dist/{ebnf-5guncNu-.js → ebnf-D-YbYLdk.js} +1 -1
- package/dist/{ebnfDiagram-PWID7BFC-DDd5hCRC.js → ebnfDiagram-PWID7BFC-D3NAyPFY.js} +3 -3
- package/dist/{ecl-iRcVIKYZ.js → ecl-DBmkdWAd.js} +1 -1
- package/dist/{eiffel-BEqF9aU4.js → eiffel-CcWSDDzK.js} +1 -1
- package/dist/{elm-DYcfNE9c.js → elm-MC-b8a6C.js} +1 -1
- package/dist/{erDiagram-RLTQ6QDP-D10NP0eI.js → erDiagram-RLTQ6QDP-Tlu09_Nm.js} +12 -12
- package/dist/{erlang-BtAuIoF0.js → erlang-AdO1-xtV.js} +1 -1
- package/dist/error-banner-Da600cwz.js +362 -0
- package/dist/{error-entries-B2Ux3Z2X.js → error-entries-CzoYkIQZ.js} +2 -2
- package/dist/{esm-h8f7-1CJ.js → esm-AMFssoNp.js} +380 -374
- package/dist/{esm-BElI3qKH.js → esm-D2gTsXEV.js} +579 -579
- package/dist/{factor-3nzOwLuN.js → factor-Ys-13HOP.js} +2 -2
- package/dist/{fcl-C90TGnJJ.js → fcl-DnwditDr.js} +1 -1
- package/dist/{feedback-button-DQUXhzxG.js → feedback-button-DzW23W2G.js} +13 -13
- package/dist/flowDiagram-HODETNUW-CAYbpJmV.js +16 -0
- package/dist/{formats-Q9gwlLyD.js → formats-BGh2thRc.js} +6 -6
- package/dist/{forth-DEaRrLUi.js → forth-DiMuIXFe.js} +1 -1
- package/dist/{fortran-Bv6JRUjY.js → fortran-hkrF2eM4.js} +1 -1
- package/dist/{ganttDiagram-EL5Y4UJY-cRRaDt88.js → ganttDiagram-EL5Y4UJY-BQT16JSc.js} +2 -2
- package/dist/{gas-JNerWj3-.js → gas-DlhqN9k8.js} +1 -1
- package/dist/{gherkin-CSrl-H70.js → gherkin-0SlhEZ3t.js} +1 -1
- package/dist/{gitGraphDiagram-WWUBYQGX-Pox5k9-Y.js → gitGraphDiagram-WWUBYQGX-D5nSIzdE.js} +2 -2
- package/dist/{glide-data-editor-B4sl2a3f.js → glide-data-editor-VRZlRc-O.js} +60 -60
- package/dist/{glide-utils-CzzWU59p.js → glide-utils-DJyqh0EM.js} +4 -4
- package/dist/{globals-DZ0cKrtp.js → globals-FYJ8OxBd.js} +3 -3
- package/dist/{groovy-X7euO_vE.js → groovy-YhcTMyvX.js} +1 -1
- package/dist/{haskell-C48Z70Az.js → haskell-CodLxrtT.js} +1 -1
- package/dist/{haxe-CAUWMmwR.js → haxe-CiRWNFkH.js} +1 -1
- package/dist/{highlighted-body-KPVGNVTW-Ad3MKZ18.js → highlighted-body-KPVGNVTW-zwjq21tf.js} +4 -4
- package/dist/{html-to-image-BZBwkkDG.js → html-to-image-CZY1pIZH.js} +547 -569
- package/dist/{http-BrSBnhDH.js → http-Bh6HhdNR.js} +1 -1
- package/dist/{idl-BXuPleZv.js → idl-DZgBq75I.js} +1 -1
- package/dist/{infoDiagram-27XIBGKW-DrYu3UZC.js → infoDiagram-27XIBGKW-XrDxhr0x.js} +2 -2
- package/dist/{ishikawaDiagram-5VMMS53U-pmkGQJsA.js → ishikawaDiagram-5VMMS53U-CD1muzov.js} +3 -3
- package/dist/{javascript-B4EPWJf_.js → javascript-BfNytHiM.js} +1 -1
- package/dist/{journeyDiagram-3NMN7TZE-EPJDPlt0.js → journeyDiagram-3NMN7TZE-BaLqn-dZ.js} +2 -2
- package/dist/{jsx-runtime-DgDPJV9S.js → jsx-runtime-3BD1kT0s.js} +1 -1
- package/dist/{julia-ke9Kh8b7.js → julia--tLIAG7q.js} +1 -1
- package/dist/{kanban-definition-UXKFOSKX-wWGD9VLW.js → kanban-definition-UXKFOSKX-Dg9W142_.js} +9 -9
- package/dist/{katex-BNCmKUol.js → katex-BIdZGsyO.js} +141 -116
- package/dist/label-BDKF3Afc.js +281 -0
- package/dist/{livescript-Ce4uqGAC.js → livescript-CVPfYnY_.js} +1 -1
- package/dist/{loader-C9OUkMrj.js → loader-BQOfjTIJ.js} +1 -1
- package/dist/{lua-D6fti_Jk.js → lua-4Fa-T-qq.js} +1 -1
- package/dist/main.js +7059 -6908
- package/dist/{mathematica-DcEpZ3Vj.js → mathematica-CtYAy6GG.js} +1 -1
- package/dist/{mbox-DFBbOu0X.js → mbox-D0w9Ah1C.js} +1 -1
- package/dist/{mermaid-Dfvntf3s.js → mermaid-CiAXjLpA.js} +57 -57
- package/dist/mermaid-HWGCJPDP-ByCsZnYF.js +2 -0
- package/dist/{mhchem-BEc7A1or.js → mhchem-CdWPJK6g.js} +1 -1
- package/dist/{mindmap-definition-YA3MSWOX-C2f1VIBR.js → mindmap-definition-YA3MSWOX-DgCidgYJ.js} +11 -11
- package/dist/{mirc-CqeibO3N.js → mirc-De9aSAZM.js} +1 -1
- package/dist/{mllike-D54QZYTP.js → mllike-BbugeaY_.js} +1 -1
- package/dist/{modelica-DuML2-8V.js → modelica-BjJwWw1F.js} +1 -1
- package/dist/{mscgen-CJmKwp3b.js → mscgen-DwiRH5ma.js} +1 -1
- package/dist/{mumps-DaVgFtkd.js → mumps--plbDM9o.js} +1 -1
- package/dist/{nginx-BXN1rqI0.js → nginx-C4Df7REc.js} +1 -1
- package/dist/{nsis-CMfRqf0V.js → nsis-fiiOqLc3.js} +7 -7
- package/dist/{ntriples-BiOGlMDR.js → ntriples-jV77I4k8.js} +1 -1
- package/dist/{number-overlay-editor-CbKIioUo.js → number-overlay-editor-BZVTQDVj.js} +5 -5
- package/dist/{octave-CgVnzxKk.js → octave-Cztd01tF.js} +1 -1
- package/dist/{oz-B2mky97X.js → oz-Bl8o3BDl.js} +1 -1
- package/dist/{pascal-BoZhBf6s.js → pascal-BO5JqysR.js} +1 -1
- package/dist/{pegDiagram-XKGWAZYB-D6v5dz4M.js → pegDiagram-XKGWAZYB-coOYYKB6.js} +3 -3
- package/dist/{perl-DjzMqXtt.js → perl-Drlh9s6m.js} +1 -1
- package/dist/{pieDiagram-E7YTZNPT-BwFAhpYD.js → pieDiagram-E7YTZNPT-BnXTc3bj.js} +3 -3
- package/dist/{pig-B2mB-01d.js → pig-BWGR8wZw.js} +1 -1
- package/dist/{powershell-D0zT88Aj.js → powershell-DT99xlz_.js} +1 -1
- package/dist/{process-output-BSsWzfnY.js → process-output-e4jj9Ijt.js} +4 -4
- package/dist/{properties-3_5qCgOj.js → properties-Q-rkxld0.js} +1 -1
- package/dist/{protobuf-Dgoxfi1H.js → protobuf-DKyWZbs7.js} +1 -1
- package/dist/{pug-CNRdd8oG.js → pug-42ZJUbEC.js} +2 -2
- package/dist/{puppet-DzILxZfz.js → puppet-B4UozHhh.js} +1 -1
- package/dist/purify.es-DMv5zIkJ.js +866 -0
- package/dist/{python-AfVdMn_l.js → python-DREjAV__.js} +1 -1
- package/dist/{q-C6p-CGWh.js → q-Bi63IpBO.js} +1 -1
- package/dist/{quadrantDiagram-AXDQQJYC--kqzFC3w.js → quadrantDiagram-AXDQQJYC-Ccw0xMjN.js} +1 -1
- package/dist/{r-CzKF1D2X.js → r-DSwXWKMR.js} +1 -1
- package/dist/{railroadDiagram-O6MQD6OU-D6eOFr6Z.js → railroadDiagram-O6MQD6OU-B28-u83n.js} +3 -3
- package/dist/{react-dom-BUgJ-ab_.js → react-dom-DUmH0GXv.js} +29 -21
- package/dist/{react-ofJbxM4x.js → react-sHtZdjeP.js} +103 -94
- package/dist/{react-vega-ewj7q_U5.js → react-vega-BED0DjiB.js} +3 -3
- package/dist/{requirementDiagram-BXWQKSXE-CHYsMgDR.js → requirementDiagram-BXWQKSXE-CdYCTMu0.js} +11 -11
- package/dist/{reveal-component-CSChrj7R.js → reveal-component-BU1x-Q6a.js} +906 -878
- package/dist/{rpm-Bx7FkjTO.js → rpm-DPb1DeKM.js} +1 -1
- package/dist/{ruby-BMzgq2bf.js → ruby-U7fZA4DP.js} +2 -2
- package/dist/{sankeyDiagram-P5KCCOFB-BdzhT0BM.js → sankeyDiagram-P5KCCOFB-ELvOcnZH.js} +1 -1
- package/dist/{sas-ClGVnK3F.js → sas-CLk1JpTn.js} +1 -1
- package/dist/{scheme-C0MXqXep.js → scheme-CT-2k2Tl.js} +1 -1
- package/dist/select-BButFi-d.js +1344 -0
- package/dist/{sequenceDiagram-WJ2MYXX4-BPAknhBp.js → sequenceDiagram-WJ2MYXX4-CM3aRAe_.js} +4 -4
- package/dist/{shell-CiQZv6oG.js → shell-BLO7fcsk.js} +1 -1
- package/dist/{sieve-BiIMePvV.js → sieve-nG3C7WNH.js} +1 -1
- package/dist/{simple-mode-8ETW2RS6.js → simple-mode-C683Q7or.js} +1 -1
- package/dist/{smalltalk-9-llftyG.js → smalltalk-BROcZybA.js} +1 -1
- package/dist/{solr-CxCKEuwq.js → solr-mVltHNc5.js} +1 -1
- package/dist/{sparql-BRmy7pzx.js → sparql-Cv1Ksr4v.js} +1 -1
- package/dist/{spec-D62vWpMT.js → spec-BwarBpUJ.js} +116 -135
- package/dist/{spreadsheet-UCNUIGsn.js → spreadsheet-BwTnp5K_.js} +1 -1
- package/dist/{sql-D0hSGZ-H.js → sql-CjLt0122.js} +1 -1
- package/dist/{stateDiagram-D77RDMKH-Cq249IQ4.js → stateDiagram-D77RDMKH-DOZUMVj8.js} +13 -13
- package/dist/stateDiagram-v2-MP3YSRHH-CISYxma6.js +30 -0
- package/dist/{stex-UeT_Aofp.js → stex-Btf3omL8.js} +1 -1
- package/dist/style.css +1 -1
- package/dist/{stylus-Fi4waA2H.js → stylus-Dt4VvLXL.js} +1 -1
- package/dist/{swift-NqPyaBye.js → swift-DHsn_CVI.js} +1 -1
- package/dist/{swimlanes-42K2YHIH-Bh_S_HKD.js → swimlanes-42K2YHIH-BkSppxp8.js} +10 -10
- package/dist/swimlanesDiagram-VR7AAH4N-c8G5pGxC.js +30 -0
- package/dist/{swiper-component-DkV7T44B.js → swiper-component-DKntyn8p.js} +5 -5
- package/dist/{tcl-B4f0xfmM.js → tcl-CV0OLBOl.js} +1 -1
- package/dist/{textile-CnNbnPTe.js → textile-D320oKVM.js} +1 -1
- package/dist/{tiddlywiki-CSGSOg38.js → tiddlywiki-BVVNvfy4.js} +1 -1
- package/dist/{tiki-9F02WBA6.js → tiki-BF2aDPlB.js} +1 -1
- package/dist/{timeline-definition-24CTP7MA-ByNMgBE7.js → timeline-definition-24CTP7MA-CaMQayqK.js} +3 -3
- package/dist/{toDate-DWVp6uE1.js → toDate-BNJf01u1.js} +8 -9
- package/dist/{toast-DcoJGS3-.js → toast-B9UMEi8u.js} +161 -165
- package/dist/{toml-AesZ6RBt.js → toml-CaUN7UHo.js} +1 -1
- package/dist/{tooltip-Bi36DgYh.js → tooltip-BO1REbqs.js} +548 -584
- package/dist/{troff-DlfvveK1.js → troff-DQUFcClZ.js} +1 -1
- package/dist/{ttcn--YVSkGs_.js → ttcn-CQL1duJS.js} +1 -1
- package/dist/{ttcn-cfg-Bb1Knl_J.js → ttcn-cfg-BMmEFJPu.js} +1 -1
- package/dist/{turtle-DC24v1bz.js → turtle-C3esgsRr.js} +1 -1
- package/dist/{use-restore-focus-ZgG5Br63.js → use-restore-focus-BEM7sFWl.js} +2430 -2007
- package/dist/{use-vega-container-remeasure-4DwJbPWu.js → use-vega-container-remeasure-Bz4PZMtt.js} +2 -2
- package/dist/{useAsyncData-BD7NLQ3_.js → useAsyncData-Deh5kszT.js} +3 -3
- package/dist/{useDateFormatter-D8XWr8lL.js → useDateFormatter-D8XruNGG.js} +53 -32
- package/dist/{useDeepCompareMemoize-CawMGSRU.js → useDeepCompareMemoize-DXwzRINI.js} +2 -2
- package/dist/{useIframeCapabilities-BUMBOpsM.js → useIframeCapabilities-DBETvvPl.js} +2 -2
- package/dist/{useLifecycle-3vGhRa1o.js → useLifecycle-j7D9uD1o.js} +6 -6
- package/dist/{useTheme-BOw801nZ.js → useTheme-CRnjkku0.js} +7 -7
- package/dist/{vb-Dpc8vhvF.js → vb-RK1eDXRl.js} +1 -1
- package/dist/{vbscript-B-Y1XnZe.js → vbscript-BCOeM0de.js} +1 -1
- package/dist/{vega-component-9siY74NS.js → vega-component-DG29TAB7.js} +14 -14
- package/dist/{vega-embed-container-sSR5hAsy.js → vega-embed-container-BNHE18G9.js} +5 -5
- package/dist/{velocity-DHMu9kc-.js → velocity-CZKOFbOI.js} +1 -1
- package/dist/{vennDiagram-4TSXK5OY-DY8CySdO.js → vennDiagram-4TSXK5OY-CF8pfaK3.js} +3 -3
- package/dist/{verilog-DhiEaoUl.js → verilog-DqQTzVn8.js} +1 -1
- package/dist/{vhdl-D4X23YKO.js → vhdl-vQr2bfmi.js} +1 -1
- package/dist/{wardleyDiagram-VM6X3IG4-DYC1AFni.js → wardleyDiagram-VM6X3IG4-dGPu39d-.js} +3 -3
- package/dist/{webidl-SyzNxWpJ.js → webidl-DzX7N40e.js} +1 -1
- package/dist/{xquery-BC2R4Hk6.js → xquery-Cw_Q_hGR.js} +1 -1
- package/dist/{xychartDiagram-S5SC5T6Z-Df8LLnuY.js → xychartDiagram-S5SC5T6Z-CP6-9q56.js} +5 -5
- package/dist/{yacas-DLNXPMmH.js → yacas-DiC4jJBE.js} +1 -1
- package/dist/{z80-CDXWHOO6.js → z80-CUOQDEJO.js} +1 -1
- package/package.json +38 -37
- package/src/__tests__/mount.test.ts +6 -6
- package/src/components/chat/__tests__/chat-history-popover.test.tsx +157 -0
- package/src/components/chat/chat-history-popover.tsx +98 -17
- package/src/components/chat/chat-panel.tsx +29 -0
- package/src/components/chat/tool-call/__tests__/tool-result.test.tsx +56 -0
- package/src/components/chat/tool-call/tool-result.tsx +3 -3
- package/src/components/data-table/TableTopBar.tsx +4 -0
- package/src/components/data-table/__tests__/column_formatting.test.ts +30 -0
- package/src/components/data-table/__tests__/columns.test.tsx +70 -0
- package/src/components/data-table/__tests__/export-actions.test.tsx +1111 -14
- package/src/components/data-table/__tests__/pagination.test.tsx +85 -1
- package/src/components/data-table/__tests__/schemas.test.ts +57 -0
- package/src/components/data-table/charts/__tests__/schemas.test.ts +25 -0
- package/src/components/data-table/charts/__tests__/slider-field.test.tsx +54 -0
- package/src/components/data-table/charts/__tests__/spec.test.ts +26 -23
- package/src/components/data-table/charts/components/form-fields.tsx +3 -1
- package/src/components/data-table/charts/constants.ts +11 -10
- package/src/components/data-table/charts/types.ts +1 -0
- package/src/components/data-table/column-formatting/feature.ts +20 -1
- package/src/components/data-table/columns.tsx +25 -18
- package/src/components/data-table/data-table.tsx +3 -0
- package/src/components/data-table/export-actions.tsx +365 -81
- package/src/components/data-table/pagination.tsx +16 -2
- package/src/components/data-table/schemas.ts +90 -14
- package/src/components/editor/actions/__tests__/pair-with-agent-commands.test.ts +32 -46
- package/src/components/editor/actions/__tests__/pair-with-agent-modal.test.tsx +29 -40
- package/src/components/editor/actions/pair-with-agent-commands.ts +3 -4
- package/src/components/editor/actions/pair-with-agent-modal.tsx +4 -7
- package/src/components/editor/actions/useRestartKernel.tsx +2 -2
- package/src/components/editor/alerts/__tests__/connection-notice.test.tsx +224 -17
- package/src/components/editor/alerts/connection-details.tsx +61 -0
- package/src/components/editor/alerts/connection-notice.tsx +46 -53
- package/src/components/editor/alerts/startup-progress.tsx +73 -129
- package/src/components/editor/app-container.tsx +2 -2
- package/src/components/editor/boundary/__tests__/ErrorBoundary.test.tsx +2 -2
- package/src/components/editor/cell/CreateCellButton.tsx +2 -2
- package/src/components/editor/cell/DeleteButton.tsx +2 -2
- package/src/components/editor/cell/RunButton.tsx +3 -3
- package/src/components/editor/cell/StopButton.tsx +2 -2
- package/src/components/editor/chrome/components/__tests__/feedback-button.test.tsx +4 -4
- package/src/components/editor/chrome/components/feedback-button.tsx +3 -3
- package/src/components/editor/chrome/panels/__tests__/packages-panel.test.tsx +8 -8
- package/src/components/editor/chrome/panels/__tests__/{sandbox-details.test.tsx → runtime-details.test.tsx} +94 -22
- package/src/components/editor/chrome/panels/__tests__/sandbox-recovery.test.tsx +4 -4
- package/src/components/editor/chrome/panels/packages-panel.tsx +8 -29
- package/src/components/editor/chrome/panels/{sandbox-details-state.ts → runtime-details-state.ts} +1 -1
- package/src/components/editor/chrome/panels/{sandbox-panel.tsx → runtime-panel.tsx} +38 -66
- package/src/components/editor/chrome/panels/runtime-status-toggle.tsx +56 -0
- package/src/components/editor/chrome/panels/sandbox-controller.tsx +2 -2
- package/src/components/editor/chrome/wrapper/app-chrome.tsx +3 -3
- package/src/components/editor/chrome/wrapper/footer-items/machine-stats.tsx +2 -2
- package/src/components/editor/controls/Controls.tsx +3 -3
- package/src/components/editor/controls/__tests__/notebook-menu-dropdown.test.tsx +6 -5
- package/src/components/editor/header/__tests__/status.test.tsx +4 -4
- package/src/components/editor/header/app-header.tsx +2 -2
- package/src/components/editor/header/status.tsx +3 -3
- package/src/components/editor/navigation/__tests__/navigation.test.ts +8 -8
- package/src/components/editor/output/console/ConsoleOutput.tsx +5 -3
- package/src/components/editor/output/console/__tests__/ConsoleOutput.test.tsx +18 -0
- package/src/components/storage/__tests__/storage-file-viewer.test.tsx +2 -1
- package/src/components/ui/__tests__/slider.test.tsx +37 -0
- package/src/components/ui/progress-stages.tsx +114 -0
- package/src/components/ui/slider.tsx +2 -0
- package/src/core/ai/__tests__/state.test.ts +120 -0
- package/src/core/ai/state.ts +36 -10
- package/src/core/cells/__tests__/document-roundtrip.test.ts +16 -0
- package/src/core/codemirror/copilot/__tests__/completion-integration.test.ts +447 -0
- package/src/core/codemirror/copilot/__tests__/inline-completion.test.ts +395 -0
- package/src/core/codemirror/copilot/__tests__/language-server.test.ts +511 -2
- package/src/core/codemirror/copilot/__tests__/rpc-cancellation.test.ts +201 -0
- package/src/core/codemirror/copilot/extension.ts +22 -11
- package/src/core/codemirror/copilot/language-server.ts +109 -60
- package/src/core/codemirror/language/__tests__/sql.test.ts +4 -3
- package/src/core/codemirror/language/embedded/__tests__/embedded-python.test.ts +138 -26
- package/src/core/codemirror/language/embedded/embedded-python.ts +47 -13
- package/src/core/codemirror/language/embedded/latex.ts +20 -13
- package/src/core/codemirror/lsp/__tests__/notebook-lsp.test.ts +106 -5
- package/src/core/codemirror/lsp/notebook-lsp.ts +16 -2
- package/src/core/codemirror/readonly/__tests__/extension.test.ts +6 -6
- package/src/core/codemirror/readonly/extension.ts +2 -2
- package/src/core/config/pair.ts +0 -1
- package/src/core/datasets/__tests__/data-source-discovery.test.ts +20 -13
- package/src/core/edit-app.tsx +5 -1
- package/src/core/export/hooks.ts +2 -2
- package/src/core/islands/bootstrap.ts +1 -0
- package/src/core/islands/bridge.ts +2 -2
- package/src/core/kernel/messages.ts +4 -7
- package/src/core/kernel/session.ts +9 -0
- package/src/core/network/__tests__/api.test.ts +114 -1
- package/src/core/network/__tests__/connection.test.ts +3 -3
- package/src/core/network/api.ts +3 -2
- package/src/core/network/connection-notice.ts +5 -5
- package/src/core/network/connection.ts +9 -9
- package/src/core/network/requests-lazy.ts +2 -2
- package/src/core/packages/__tests__/useSandboxController.test.tsx +2 -2
- package/src/core/packages/useSandboxController.ts +6 -6
- package/src/core/runtime/__tests__/adapter.test.ts +6 -6
- package/src/core/runtime/adapter.ts +7 -7
- package/src/core/runtime/config.ts +2 -2
- package/src/core/saving/filename.ts +2 -2
- package/src/core/saving/save-component.tsx +5 -5
- package/src/core/saving/useAutoSave.ts +2 -2
- package/src/core/wasm/__tests__/bootstrap.test.ts +33 -1
- package/src/core/wasm/bridge.ts +2 -2
- package/src/core/wasm/worker/bootstrap.ts +22 -3
- package/src/core/wasm/worker/types.ts +2 -2
- package/src/core/websocket/__tests__/useMarimoKernelConnection.hook.test.tsx +30 -25
- package/src/core/websocket/__tests__/useMarimoKernelConnection.test.ts +5 -5
- package/src/core/websocket/connection-utils.ts +21 -21
- package/src/core/websocket/types.ts +8 -9
- package/src/core/websocket/useMarimoKernelConnection.tsx +33 -22
- package/src/css/katex-css.test.ts +166 -0
- package/src/css/katex.min.css +175 -169
- package/src/hooks/__tests__/useEventListener.test.tsx +45 -1
- package/src/hooks/useEventListener.ts +6 -1
- package/src/mount.tsx +2 -2
- package/src/plugins/core/__test__/registerReactComponent.test.ts +55 -0
- package/src/plugins/core/registerReactComponent.tsx +3 -1
- package/src/plugins/impl/CheckboxPlugin.tsx +1 -1
- package/src/plugins/impl/DataTablePlugin.tsx +23 -2
- package/src/plugins/impl/DatePickerPlugin.tsx +5 -3
- package/src/plugins/impl/DateRangePlugin.tsx +5 -3
- package/src/plugins/impl/DateTimePickerPlugin.tsx +5 -3
- package/src/plugins/impl/DropdownPlugin.tsx +1 -1
- package/src/plugins/impl/MultiselectPlugin.tsx +1 -1
- package/src/plugins/impl/NumberPlugin.tsx +21 -4
- package/src/plugins/impl/RadioPlugin.tsx +5 -1
- package/src/plugins/impl/RangeSliderPlugin.tsx +1 -1
- package/src/plugins/impl/SearchableSelect.tsx +1 -1
- package/src/plugins/impl/SliderPlugin.tsx +5 -1
- package/src/plugins/impl/SwitchPlugin.tsx +6 -1
- package/src/plugins/impl/TextAreaPlugin.tsx +23 -4
- package/src/plugins/impl/TextInputPlugin.tsx +10 -2
- package/src/plugins/impl/__test__/slider-labels.test.tsx +136 -0
- package/src/plugins/impl/__test__/text-labels.test.tsx +141 -0
- package/src/plugins/impl/__tests__/DataTablePlugin.test.tsx +65 -8
- package/src/plugins/impl/__tests__/NumberPlugin.test.tsx +159 -1
- package/src/plugins/impl/__tests__/widget-labels.test.tsx +122 -0
- package/src/plugins/impl/chat/ChatPlugin.tsx +1 -1
- package/src/plugins/impl/common/labeled.tsx +9 -3
- package/src/plugins/impl/data-frames/DataFramePlugin.tsx +15 -3
- package/src/plugins/impl/data-frames/forms/__tests__/__snapshots__/form.test.tsx.snap +0 -22
- package/src/stories/cell.stories.tsx +2 -2
- package/src/stories/dataframe.stories.tsx +7 -0
- package/src/stories/layout/vertical/one-column.stories.tsx +5 -5
- package/src/stories/progress-stages.stories.tsx +62 -0
- package/src/stories/runtime-existing.stories.tsx +44 -0
- package/src/stories/runtime-maintenance.stories.tsx +40 -0
- package/src/stories/runtime-pixi.stories.tsx +28 -0
- package/src/stories/{sandbox.stories.tsx → runtime-story.tsx} +191 -152
- package/src/stories/runtime-uv.stories.tsx +56 -0
- package/dist/assets/__vite-browser-external-C9iR87Zl.js +0 -1
- package/dist/assets/worker-D7hWi02M.js +0 -109
- package/dist/classDiagram-ZZMXUADV-BwYhrSEX.js +0 -30
- package/dist/classDiagram-v2-VYDZK3BY-HecM04TM.js +0 -30
- package/dist/dropdown-menu-BaqM0t4N.js +0 -4502
- package/dist/error-banner-DzAmP0AQ.js +0 -391
- package/dist/flowDiagram-HODETNUW-DgcjSdPV.js +0 -16
- package/dist/label-MNhNNoN6.js +0 -278
- package/dist/mermaid-HWGCJPDP-DYCzSILp.js +0 -2
- package/dist/purify.es-DgKyQviY.js +0 -805
- package/dist/select-BcObMjGz.js +0 -970
- package/dist/stateDiagram-v2-MP3YSRHH-Dk5QgdXF.js +0 -30
- package/dist/swimlanesDiagram-VR7AAH4N-CbztusY8.js +0 -30
- package/src/components/editor/chrome/panels/sandbox-toggle.tsx +0 -52
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { a as e } from "./rolldown-runtime-Cb76FRpK.js";
|
|
2
|
-
import { t } from "./react-
|
|
3
|
-
import { t as n } from "./compiler-runtime-
|
|
2
|
+
import { t } from "./react-sHtZdjeP.js";
|
|
3
|
+
import { t as n } from "./compiler-runtime-CldRdSsv.js";
|
|
4
4
|
import { t as r } from "./clsx-CoeGtWvn.js";
|
|
5
|
-
import { t as i } from "./jsx-runtime-
|
|
5
|
+
import { t as i } from "./jsx-runtime-3BD1kT0s.js";
|
|
6
6
|
import { t as a } from "./objects-CzUgoMIF.js";
|
|
7
7
|
//#region src/utils/functions.ts
|
|
8
8
|
var o = {
|
|
@@ -89,7 +89,7 @@ var f = d(), p = /* @__PURE__ */ e(t(), 1), m = n(), h = "-", g = (e) => {
|
|
|
89
89
|
nextPart: /* @__PURE__ */ new Map(),
|
|
90
90
|
validators: []
|
|
91
91
|
};
|
|
92
|
-
return
|
|
92
|
+
return C(Object.entries(e.classGroups), n).forEach(([e, n]) => {
|
|
93
93
|
x(n, r, e, t);
|
|
94
94
|
}), r;
|
|
95
95
|
}, x = (e, t, n, r) => {
|
|
@@ -100,7 +100,7 @@ var f = d(), p = /* @__PURE__ */ e(t(), 1), m = n(), h = "-", g = (e) => {
|
|
|
100
100
|
return;
|
|
101
101
|
}
|
|
102
102
|
if (typeof e == "function") {
|
|
103
|
-
if (
|
|
103
|
+
if (ee(e)) {
|
|
104
104
|
x(e(r), t, n, r);
|
|
105
105
|
return;
|
|
106
106
|
}
|
|
@@ -122,7 +122,7 @@ var f = d(), p = /* @__PURE__ */ e(t(), 1), m = n(), h = "-", g = (e) => {
|
|
|
122
122
|
validators: []
|
|
123
123
|
}), n = n.nextPart.get(e);
|
|
124
124
|
}), n;
|
|
125
|
-
},
|
|
125
|
+
}, ee = (e) => e.isThemeGetter, C = (e, t) => t ? e.map(([e, n]) => [e, n.map((e) => typeof e == "string" ? t + e : typeof e == "object" ? Object.fromEntries(Object.entries(e).map(([e, n]) => [t + e, n])) : e)]) : e, w = (e) => {
|
|
126
126
|
if (e < 1) return {
|
|
127
127
|
get: () => void 0,
|
|
128
128
|
set: () => {}
|
|
@@ -140,7 +140,7 @@ var f = d(), p = /* @__PURE__ */ e(t(), 1), m = n(), h = "-", g = (e) => {
|
|
|
140
140
|
n.has(e) ? n.set(e, t) : i(e, t);
|
|
141
141
|
}
|
|
142
142
|
};
|
|
143
|
-
},
|
|
143
|
+
}, T = "!", E = (e) => {
|
|
144
144
|
let { separator: t, experimentalParseClassName: n } = e, r = t.length === 1, i = t[0], a = t.length, o = (e) => {
|
|
145
145
|
let n = [], o = 0, s = 0, c;
|
|
146
146
|
for (let l = 0; l < e.length; l++) {
|
|
@@ -157,7 +157,7 @@ var f = d(), p = /* @__PURE__ */ e(t(), 1), m = n(), h = "-", g = (e) => {
|
|
|
157
157
|
}
|
|
158
158
|
u === "[" ? o++ : u === "]" && o--;
|
|
159
159
|
}
|
|
160
|
-
let l = n.length === 0 ? e : e.substring(s), u = l.startsWith(
|
|
160
|
+
let l = n.length === 0 ? e : e.substring(s), u = l.startsWith(T);
|
|
161
161
|
return {
|
|
162
162
|
modifiers: n,
|
|
163
163
|
hasImportantModifier: u,
|
|
@@ -169,18 +169,18 @@ var f = d(), p = /* @__PURE__ */ e(t(), 1), m = n(), h = "-", g = (e) => {
|
|
|
169
169
|
className: e,
|
|
170
170
|
parseClassName: o
|
|
171
171
|
}) : o;
|
|
172
|
-
},
|
|
172
|
+
}, D = (e) => {
|
|
173
173
|
if (e.length <= 1) return e;
|
|
174
174
|
let t = [], n = [];
|
|
175
175
|
return e.forEach((e) => {
|
|
176
176
|
e[0] === "[" ? (t.push(...n.sort(), e), n = []) : n.push(e);
|
|
177
177
|
}), t.push(...n.sort()), t;
|
|
178
|
-
},
|
|
179
|
-
cache:
|
|
180
|
-
parseClassName:
|
|
178
|
+
}, te = (e) => ({
|
|
179
|
+
cache: w(e.cacheSize),
|
|
180
|
+
parseClassName: E(e),
|
|
181
181
|
...g(e)
|
|
182
|
-
}),
|
|
183
|
-
let { parseClassName: n, getClassGroupId: r, getConflictingClassGroupIds: i } = t, a = [], o = e.trim().split(
|
|
182
|
+
}), O = /\s+/, ne = (e, t) => {
|
|
183
|
+
let { parseClassName: n, getClassGroupId: r, getConflictingClassGroupIds: i } = t, a = [], o = e.trim().split(O), s = "";
|
|
184
184
|
for (let e = o.length - 1; e >= 0; --e) {
|
|
185
185
|
let t = o[e], { modifiers: c, hasImportantModifier: l, baseClassName: u, maybePostfixModifierPosition: d } = n(t), f = !!d, p = r(f ? u.substring(0, d) : u);
|
|
186
186
|
if (!p) {
|
|
@@ -194,7 +194,7 @@ var f = d(), p = /* @__PURE__ */ e(t(), 1), m = n(), h = "-", g = (e) => {
|
|
|
194
194
|
}
|
|
195
195
|
f = !1;
|
|
196
196
|
}
|
|
197
|
-
let m =
|
|
197
|
+
let m = D(c).join(":"), h = l ? m + T : m, g = h + p;
|
|
198
198
|
if (a.includes(g)) continue;
|
|
199
199
|
a.push(g);
|
|
200
200
|
let _ = i(p, f);
|
|
@@ -206,70 +206,70 @@ var f = d(), p = /* @__PURE__ */ e(t(), 1), m = n(), h = "-", g = (e) => {
|
|
|
206
206
|
}
|
|
207
207
|
return s;
|
|
208
208
|
};
|
|
209
|
-
function
|
|
209
|
+
function k() {
|
|
210
210
|
let e = 0, t, n, r = "";
|
|
211
|
-
for (; e < arguments.length;) (t = arguments[e++]) && (n =
|
|
211
|
+
for (; e < arguments.length;) (t = arguments[e++]) && (n = A(t)) && (r && (r += " "), r += n);
|
|
212
212
|
return r;
|
|
213
213
|
}
|
|
214
|
-
var
|
|
214
|
+
var A = (e) => {
|
|
215
215
|
if (typeof e == "string") return e;
|
|
216
216
|
let t, n = "";
|
|
217
|
-
for (let r = 0; r < e.length; r++) e[r] && (t =
|
|
217
|
+
for (let r = 0; r < e.length; r++) e[r] && (t = A(e[r])) && (n && (n += " "), n += t);
|
|
218
218
|
return n;
|
|
219
219
|
};
|
|
220
|
-
function
|
|
220
|
+
function j(e, ...t) {
|
|
221
221
|
let n, r, i, a = o;
|
|
222
222
|
function o(o) {
|
|
223
|
-
return n =
|
|
223
|
+
return n = te(t.reduce((e, t) => t(e), e())), r = n.cache.get, i = n.cache.set, a = s, s(o);
|
|
224
224
|
}
|
|
225
225
|
function s(e) {
|
|
226
226
|
let t = r(e);
|
|
227
227
|
if (t) return t;
|
|
228
|
-
let a =
|
|
228
|
+
let a = ne(e, n);
|
|
229
229
|
return i(e, a), a;
|
|
230
230
|
}
|
|
231
231
|
return function() {
|
|
232
|
-
return a(
|
|
232
|
+
return a(k.apply(null, arguments));
|
|
233
233
|
};
|
|
234
234
|
}
|
|
235
|
-
var
|
|
235
|
+
var M = (e) => {
|
|
236
236
|
let t = (t) => t[e] || [];
|
|
237
237
|
return t.isThemeGetter = !0, t;
|
|
238
|
-
},
|
|
238
|
+
}, N = /^\[(?:([a-z-]+):)?(.+)\]$/i, P = /^\d+\/\d+$/, F = /*#__PURE__*/ new Set([
|
|
239
239
|
"px",
|
|
240
240
|
"full",
|
|
241
241
|
"screen"
|
|
242
|
-
]),
|
|
242
|
+
]), re = /^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/, ie = /\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/, ae = /^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/, oe = /^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/, se = /^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/, I = (e) => R(e) || F.has(e) || P.test(e), L = (e) => U(e, "length", ge), R = (e) => !!e && !Number.isNaN(Number(e)), ce = (e) => U(e, "number", R), z = (e) => !!e && Number.isInteger(Number(e)), le = (e) => e.endsWith("%") && R(e.slice(0, -1)), B = (e) => N.test(e), V = (e) => re.test(e), ue = /*#__PURE__*/ new Set([
|
|
243
243
|
"length",
|
|
244
244
|
"size",
|
|
245
245
|
"percentage"
|
|
246
|
-
]),
|
|
247
|
-
let r =
|
|
246
|
+
]), de = (e) => U(e, ue, _e), fe = (e) => U(e, "position", _e), pe = /*#__PURE__*/ new Set(["image", "url"]), me = (e) => U(e, pe, ye), he = (e) => U(e, "", ve), H = () => !0, U = (e, t, n) => {
|
|
247
|
+
let r = N.exec(e);
|
|
248
248
|
return r ? r[1] ? typeof t == "string" ? r[1] === t : t.has(r[1]) : n(r[2]) : !1;
|
|
249
|
-
},
|
|
250
|
-
let e =
|
|
249
|
+
}, ge = (e) => ie.test(e) && !ae.test(e), _e = () => !1, ve = (e) => oe.test(e), ye = (e) => se.test(e), be = /*#__PURE__*/ j(() => {
|
|
250
|
+
let e = M("colors"), t = M("spacing"), n = M("blur"), r = M("brightness"), i = M("borderColor"), a = M("borderRadius"), o = M("borderSpacing"), s = M("borderWidth"), c = M("contrast"), l = M("grayscale"), u = M("hueRotate"), d = M("invert"), f = M("gap"), p = M("gradientColorStops"), m = M("gradientColorStopPositions"), h = M("inset"), g = M("margin"), _ = M("opacity"), v = M("padding"), y = M("saturate"), b = M("scale"), x = M("sepia"), S = M("skew"), ee = M("space"), C = M("translate"), w = () => [
|
|
251
251
|
"auto",
|
|
252
252
|
"contain",
|
|
253
253
|
"none"
|
|
254
|
-
],
|
|
254
|
+
], T = () => [
|
|
255
255
|
"auto",
|
|
256
256
|
"hidden",
|
|
257
257
|
"clip",
|
|
258
258
|
"visible",
|
|
259
259
|
"scroll"
|
|
260
|
-
],
|
|
260
|
+
], E = () => [
|
|
261
261
|
"auto",
|
|
262
|
-
|
|
262
|
+
B,
|
|
263
263
|
t
|
|
264
|
-
],
|
|
264
|
+
], D = () => [B, t], te = () => [
|
|
265
265
|
"",
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
],
|
|
266
|
+
I,
|
|
267
|
+
L
|
|
268
|
+
], O = () => [
|
|
269
269
|
"auto",
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
],
|
|
270
|
+
R,
|
|
271
|
+
B
|
|
272
|
+
], ne = () => [
|
|
273
273
|
"bottom",
|
|
274
274
|
"center",
|
|
275
275
|
"left",
|
|
@@ -279,13 +279,13 @@ var F = (e) => {
|
|
|
279
279
|
"right-bottom",
|
|
280
280
|
"right-top",
|
|
281
281
|
"top"
|
|
282
|
-
],
|
|
282
|
+
], k = () => [
|
|
283
283
|
"solid",
|
|
284
284
|
"dashed",
|
|
285
285
|
"dotted",
|
|
286
286
|
"double",
|
|
287
287
|
"none"
|
|
288
|
-
],
|
|
288
|
+
], A = () => [
|
|
289
289
|
"normal",
|
|
290
290
|
"multiply",
|
|
291
291
|
"screen",
|
|
@@ -302,7 +302,7 @@ var F = (e) => {
|
|
|
302
302
|
"saturation",
|
|
303
303
|
"color",
|
|
304
304
|
"luminosity"
|
|
305
|
-
],
|
|
305
|
+
], j = () => [
|
|
306
306
|
"start",
|
|
307
307
|
"end",
|
|
308
308
|
"center",
|
|
@@ -310,11 +310,11 @@ var F = (e) => {
|
|
|
310
310
|
"around",
|
|
311
311
|
"evenly",
|
|
312
312
|
"stretch"
|
|
313
|
-
],
|
|
313
|
+
], N = () => [
|
|
314
314
|
"",
|
|
315
315
|
"0",
|
|
316
|
-
|
|
317
|
-
],
|
|
316
|
+
B
|
|
317
|
+
], P = () => [
|
|
318
318
|
"auto",
|
|
319
319
|
"avoid",
|
|
320
320
|
"all",
|
|
@@ -323,59 +323,59 @@ var F = (e) => {
|
|
|
323
323
|
"left",
|
|
324
324
|
"right",
|
|
325
325
|
"column"
|
|
326
|
-
],
|
|
326
|
+
], F = () => [R, B];
|
|
327
327
|
return {
|
|
328
328
|
cacheSize: 500,
|
|
329
329
|
separator: ":",
|
|
330
330
|
theme: {
|
|
331
|
-
colors: [
|
|
332
|
-
spacing: [
|
|
331
|
+
colors: [H],
|
|
332
|
+
spacing: [I, L],
|
|
333
333
|
blur: [
|
|
334
334
|
"none",
|
|
335
335
|
"",
|
|
336
|
-
|
|
337
|
-
|
|
336
|
+
V,
|
|
337
|
+
B
|
|
338
338
|
],
|
|
339
|
-
brightness:
|
|
339
|
+
brightness: F(),
|
|
340
340
|
borderColor: [e],
|
|
341
341
|
borderRadius: [
|
|
342
342
|
"none",
|
|
343
343
|
"",
|
|
344
344
|
"full",
|
|
345
|
-
|
|
346
|
-
|
|
345
|
+
V,
|
|
346
|
+
B
|
|
347
347
|
],
|
|
348
|
-
borderSpacing:
|
|
349
|
-
borderWidth:
|
|
350
|
-
contrast:
|
|
351
|
-
grayscale:
|
|
352
|
-
hueRotate:
|
|
353
|
-
invert:
|
|
354
|
-
gap:
|
|
348
|
+
borderSpacing: D(),
|
|
349
|
+
borderWidth: te(),
|
|
350
|
+
contrast: F(),
|
|
351
|
+
grayscale: N(),
|
|
352
|
+
hueRotate: F(),
|
|
353
|
+
invert: N(),
|
|
354
|
+
gap: D(),
|
|
355
355
|
gradientColorStops: [e],
|
|
356
|
-
gradientColorStopPositions: [
|
|
357
|
-
inset:
|
|
358
|
-
margin:
|
|
359
|
-
opacity:
|
|
360
|
-
padding:
|
|
361
|
-
saturate:
|
|
362
|
-
scale:
|
|
363
|
-
sepia:
|
|
364
|
-
skew:
|
|
365
|
-
space:
|
|
366
|
-
translate:
|
|
356
|
+
gradientColorStopPositions: [le, L],
|
|
357
|
+
inset: E(),
|
|
358
|
+
margin: E(),
|
|
359
|
+
opacity: F(),
|
|
360
|
+
padding: D(),
|
|
361
|
+
saturate: F(),
|
|
362
|
+
scale: F(),
|
|
363
|
+
sepia: N(),
|
|
364
|
+
skew: F(),
|
|
365
|
+
space: D(),
|
|
366
|
+
translate: D()
|
|
367
367
|
},
|
|
368
368
|
classGroups: {
|
|
369
369
|
aspect: [{ aspect: [
|
|
370
370
|
"auto",
|
|
371
371
|
"square",
|
|
372
372
|
"video",
|
|
373
|
-
|
|
373
|
+
B
|
|
374
374
|
] }],
|
|
375
375
|
container: ["container"],
|
|
376
|
-
columns: [{ columns: [
|
|
377
|
-
"break-after": [{ "break-after":
|
|
378
|
-
"break-before": [{ "break-before":
|
|
376
|
+
columns: [{ columns: [V] }],
|
|
377
|
+
"break-after": [{ "break-after": P() }],
|
|
378
|
+
"break-before": [{ "break-before": P() }],
|
|
379
379
|
"break-inside": [{ "break-inside": [
|
|
380
380
|
"auto",
|
|
381
381
|
"avoid",
|
|
@@ -430,13 +430,13 @@ var F = (e) => {
|
|
|
430
430
|
"none",
|
|
431
431
|
"scale-down"
|
|
432
432
|
] }],
|
|
433
|
-
"object-position": [{ object: [...
|
|
434
|
-
overflow: [{ overflow:
|
|
435
|
-
"overflow-x": [{ "overflow-x":
|
|
436
|
-
"overflow-y": [{ "overflow-y":
|
|
437
|
-
overscroll: [{ overscroll:
|
|
438
|
-
"overscroll-x": [{ "overscroll-x":
|
|
439
|
-
"overscroll-y": [{ "overscroll-y":
|
|
433
|
+
"object-position": [{ object: [...ne(), B] }],
|
|
434
|
+
overflow: [{ overflow: T() }],
|
|
435
|
+
"overflow-x": [{ "overflow-x": T() }],
|
|
436
|
+
"overflow-y": [{ "overflow-y": T() }],
|
|
437
|
+
overscroll: [{ overscroll: w() }],
|
|
438
|
+
"overscroll-x": [{ "overscroll-x": w() }],
|
|
439
|
+
"overscroll-y": [{ "overscroll-y": w() }],
|
|
440
440
|
position: [
|
|
441
441
|
"static",
|
|
442
442
|
"fixed",
|
|
@@ -460,10 +460,10 @@ var F = (e) => {
|
|
|
460
460
|
],
|
|
461
461
|
z: [{ z: [
|
|
462
462
|
"auto",
|
|
463
|
-
|
|
464
|
-
|
|
463
|
+
z,
|
|
464
|
+
B
|
|
465
465
|
] }],
|
|
466
|
-
basis: [{ basis:
|
|
466
|
+
basis: [{ basis: E() }],
|
|
467
467
|
"flex-direction": [{ flex: [
|
|
468
468
|
"row",
|
|
469
469
|
"row-reverse",
|
|
@@ -480,37 +480,37 @@ var F = (e) => {
|
|
|
480
480
|
"auto",
|
|
481
481
|
"initial",
|
|
482
482
|
"none",
|
|
483
|
-
|
|
483
|
+
B
|
|
484
484
|
] }],
|
|
485
|
-
grow: [{ grow:
|
|
486
|
-
shrink: [{ shrink:
|
|
485
|
+
grow: [{ grow: N() }],
|
|
486
|
+
shrink: [{ shrink: N() }],
|
|
487
487
|
order: [{ order: [
|
|
488
488
|
"first",
|
|
489
489
|
"last",
|
|
490
490
|
"none",
|
|
491
|
-
|
|
492
|
-
|
|
491
|
+
z,
|
|
492
|
+
B
|
|
493
493
|
] }],
|
|
494
|
-
"grid-cols": [{ "grid-cols": [
|
|
494
|
+
"grid-cols": [{ "grid-cols": [H] }],
|
|
495
495
|
"col-start-end": [{ col: [
|
|
496
496
|
"auto",
|
|
497
497
|
{ span: [
|
|
498
498
|
"full",
|
|
499
|
-
|
|
500
|
-
|
|
499
|
+
z,
|
|
500
|
+
B
|
|
501
501
|
] },
|
|
502
|
-
|
|
502
|
+
B
|
|
503
503
|
] }],
|
|
504
|
-
"col-start": [{ "col-start":
|
|
505
|
-
"col-end": [{ "col-end":
|
|
506
|
-
"grid-rows": [{ "grid-rows": [
|
|
504
|
+
"col-start": [{ "col-start": O() }],
|
|
505
|
+
"col-end": [{ "col-end": O() }],
|
|
506
|
+
"grid-rows": [{ "grid-rows": [H] }],
|
|
507
507
|
"row-start-end": [{ row: [
|
|
508
508
|
"auto",
|
|
509
|
-
{ span: [
|
|
510
|
-
|
|
509
|
+
{ span: [z, B] },
|
|
510
|
+
B
|
|
511
511
|
] }],
|
|
512
|
-
"row-start": [{ "row-start":
|
|
513
|
-
"row-end": [{ "row-end":
|
|
512
|
+
"row-start": [{ "row-start": O() }],
|
|
513
|
+
"row-end": [{ "row-end": O() }],
|
|
514
514
|
"grid-flow": [{ "grid-flow": [
|
|
515
515
|
"row",
|
|
516
516
|
"col",
|
|
@@ -523,19 +523,19 @@ var F = (e) => {
|
|
|
523
523
|
"min",
|
|
524
524
|
"max",
|
|
525
525
|
"fr",
|
|
526
|
-
|
|
526
|
+
B
|
|
527
527
|
] }],
|
|
528
528
|
"auto-rows": [{ "auto-rows": [
|
|
529
529
|
"auto",
|
|
530
530
|
"min",
|
|
531
531
|
"max",
|
|
532
532
|
"fr",
|
|
533
|
-
|
|
533
|
+
B
|
|
534
534
|
] }],
|
|
535
535
|
gap: [{ gap: [f] }],
|
|
536
536
|
"gap-x": [{ "gap-x": [f] }],
|
|
537
537
|
"gap-y": [{ "gap-y": [f] }],
|
|
538
|
-
"justify-content": [{ justify: ["normal", ...
|
|
538
|
+
"justify-content": [{ justify: ["normal", ...j()] }],
|
|
539
539
|
"justify-items": [{ "justify-items": [
|
|
540
540
|
"start",
|
|
541
541
|
"end",
|
|
@@ -551,7 +551,7 @@ var F = (e) => {
|
|
|
551
551
|
] }],
|
|
552
552
|
"align-content": [{ content: [
|
|
553
553
|
"normal",
|
|
554
|
-
...
|
|
554
|
+
...j(),
|
|
555
555
|
"baseline"
|
|
556
556
|
] }],
|
|
557
557
|
"align-items": [{ items: [
|
|
@@ -569,7 +569,7 @@ var F = (e) => {
|
|
|
569
569
|
"stretch",
|
|
570
570
|
"baseline"
|
|
571
571
|
] }],
|
|
572
|
-
"place-content": [{ "place-content": [...
|
|
572
|
+
"place-content": [{ "place-content": [...j(), "baseline"] }],
|
|
573
573
|
"place-items": [{ "place-items": [
|
|
574
574
|
"start",
|
|
575
575
|
"end",
|
|
@@ -602,9 +602,9 @@ var F = (e) => {
|
|
|
602
602
|
mr: [{ mr: [g] }],
|
|
603
603
|
mb: [{ mb: [g] }],
|
|
604
604
|
ml: [{ ml: [g] }],
|
|
605
|
-
"space-x": [{ "space-x": [
|
|
605
|
+
"space-x": [{ "space-x": [ee] }],
|
|
606
606
|
"space-x-reverse": ["space-x-reverse"],
|
|
607
|
-
"space-y": [{ "space-y": [
|
|
607
|
+
"space-y": [{ "space-y": [ee] }],
|
|
608
608
|
"space-y-reverse": ["space-y-reverse"],
|
|
609
609
|
w: [{ w: [
|
|
610
610
|
"auto",
|
|
@@ -614,18 +614,18 @@ var F = (e) => {
|
|
|
614
614
|
"svw",
|
|
615
615
|
"lvw",
|
|
616
616
|
"dvw",
|
|
617
|
-
|
|
617
|
+
B,
|
|
618
618
|
t
|
|
619
619
|
] }],
|
|
620
620
|
"min-w": [{ "min-w": [
|
|
621
|
-
|
|
621
|
+
B,
|
|
622
622
|
t,
|
|
623
623
|
"min",
|
|
624
624
|
"max",
|
|
625
625
|
"fit"
|
|
626
626
|
] }],
|
|
627
627
|
"max-w": [{ "max-w": [
|
|
628
|
-
|
|
628
|
+
B,
|
|
629
629
|
t,
|
|
630
630
|
"none",
|
|
631
631
|
"full",
|
|
@@ -633,11 +633,11 @@ var F = (e) => {
|
|
|
633
633
|
"max",
|
|
634
634
|
"fit",
|
|
635
635
|
"prose",
|
|
636
|
-
{ screen: [
|
|
637
|
-
|
|
636
|
+
{ screen: [V] },
|
|
637
|
+
V
|
|
638
638
|
] }],
|
|
639
639
|
h: [{ h: [
|
|
640
|
-
|
|
640
|
+
B,
|
|
641
641
|
t,
|
|
642
642
|
"auto",
|
|
643
643
|
"min",
|
|
@@ -648,7 +648,7 @@ var F = (e) => {
|
|
|
648
648
|
"dvh"
|
|
649
649
|
] }],
|
|
650
650
|
"min-h": [{ "min-h": [
|
|
651
|
-
|
|
651
|
+
B,
|
|
652
652
|
t,
|
|
653
653
|
"min",
|
|
654
654
|
"max",
|
|
@@ -658,7 +658,7 @@ var F = (e) => {
|
|
|
658
658
|
"dvh"
|
|
659
659
|
] }],
|
|
660
660
|
"max-h": [{ "max-h": [
|
|
661
|
-
|
|
661
|
+
B,
|
|
662
662
|
t,
|
|
663
663
|
"min",
|
|
664
664
|
"max",
|
|
@@ -668,7 +668,7 @@ var F = (e) => {
|
|
|
668
668
|
"dvh"
|
|
669
669
|
] }],
|
|
670
670
|
size: [{ size: [
|
|
671
|
-
|
|
671
|
+
B,
|
|
672
672
|
t,
|
|
673
673
|
"auto",
|
|
674
674
|
"min",
|
|
@@ -677,8 +677,8 @@ var F = (e) => {
|
|
|
677
677
|
] }],
|
|
678
678
|
"font-size": [{ text: [
|
|
679
679
|
"base",
|
|
680
|
-
|
|
681
|
-
|
|
680
|
+
V,
|
|
681
|
+
L
|
|
682
682
|
] }],
|
|
683
683
|
"font-smoothing": ["antialiased", "subpixel-antialiased"],
|
|
684
684
|
"font-style": ["italic", "not-italic"],
|
|
@@ -692,9 +692,9 @@ var F = (e) => {
|
|
|
692
692
|
"bold",
|
|
693
693
|
"extrabold",
|
|
694
694
|
"black",
|
|
695
|
-
|
|
695
|
+
ce
|
|
696
696
|
] }],
|
|
697
|
-
"font-family": [{ font: [
|
|
697
|
+
"font-family": [{ font: [H] }],
|
|
698
698
|
"fvn-normal": ["normal-nums"],
|
|
699
699
|
"fvn-ordinal": ["ordinal"],
|
|
700
700
|
"fvn-slashed-zero": ["slashed-zero"],
|
|
@@ -708,12 +708,12 @@ var F = (e) => {
|
|
|
708
708
|
"wide",
|
|
709
709
|
"wider",
|
|
710
710
|
"widest",
|
|
711
|
-
|
|
711
|
+
B
|
|
712
712
|
] }],
|
|
713
713
|
"line-clamp": [{ "line-clamp": [
|
|
714
714
|
"none",
|
|
715
|
-
|
|
716
|
-
|
|
715
|
+
R,
|
|
716
|
+
ce
|
|
717
717
|
] }],
|
|
718
718
|
leading: [{ leading: [
|
|
719
719
|
"none",
|
|
@@ -722,15 +722,15 @@ var F = (e) => {
|
|
|
722
722
|
"normal",
|
|
723
723
|
"relaxed",
|
|
724
724
|
"loose",
|
|
725
|
-
|
|
726
|
-
|
|
725
|
+
I,
|
|
726
|
+
B
|
|
727
727
|
] }],
|
|
728
|
-
"list-image": [{ "list-image": ["none",
|
|
728
|
+
"list-image": [{ "list-image": ["none", B] }],
|
|
729
729
|
"list-style-type": [{ list: [
|
|
730
730
|
"none",
|
|
731
731
|
"disc",
|
|
732
732
|
"decimal",
|
|
733
|
-
|
|
733
|
+
B
|
|
734
734
|
] }],
|
|
735
735
|
"list-style-position": [{ list: ["inside", "outside"] }],
|
|
736
736
|
"placeholder-color": [{ placeholder: [e] }],
|
|
@@ -751,17 +751,17 @@ var F = (e) => {
|
|
|
751
751
|
"line-through",
|
|
752
752
|
"no-underline"
|
|
753
753
|
],
|
|
754
|
-
"text-decoration-style": [{ decoration: [...
|
|
754
|
+
"text-decoration-style": [{ decoration: [...k(), "wavy"] }],
|
|
755
755
|
"text-decoration-thickness": [{ decoration: [
|
|
756
756
|
"auto",
|
|
757
757
|
"from-font",
|
|
758
|
-
|
|
759
|
-
|
|
758
|
+
I,
|
|
759
|
+
L
|
|
760
760
|
] }],
|
|
761
761
|
"underline-offset": [{ "underline-offset": [
|
|
762
762
|
"auto",
|
|
763
|
-
|
|
764
|
-
|
|
763
|
+
I,
|
|
764
|
+
B
|
|
765
765
|
] }],
|
|
766
766
|
"text-decoration-color": [{ decoration: [e] }],
|
|
767
767
|
"text-transform": [
|
|
@@ -781,7 +781,7 @@ var F = (e) => {
|
|
|
781
781
|
"balance",
|
|
782
782
|
"pretty"
|
|
783
783
|
] }],
|
|
784
|
-
indent: [{ indent:
|
|
784
|
+
indent: [{ indent: D() }],
|
|
785
785
|
"vertical-align": [{ align: [
|
|
786
786
|
"baseline",
|
|
787
787
|
"top",
|
|
@@ -791,7 +791,7 @@ var F = (e) => {
|
|
|
791
791
|
"text-bottom",
|
|
792
792
|
"sub",
|
|
793
793
|
"super",
|
|
794
|
-
|
|
794
|
+
B
|
|
795
795
|
] }],
|
|
796
796
|
whitespace: [{ whitespace: [
|
|
797
797
|
"normal",
|
|
@@ -812,7 +812,7 @@ var F = (e) => {
|
|
|
812
812
|
"manual",
|
|
813
813
|
"auto"
|
|
814
814
|
] }],
|
|
815
|
-
content: [{ content: ["none",
|
|
815
|
+
content: [{ content: ["none", B] }],
|
|
816
816
|
"bg-attachment": [{ bg: [
|
|
817
817
|
"fixed",
|
|
818
818
|
"local",
|
|
@@ -830,7 +830,7 @@ var F = (e) => {
|
|
|
830
830
|
"padding",
|
|
831
831
|
"content"
|
|
832
832
|
] }],
|
|
833
|
-
"bg-position": [{ bg: [...
|
|
833
|
+
"bg-position": [{ bg: [...ne(), fe] }],
|
|
834
834
|
"bg-repeat": [{ bg: ["no-repeat", { repeat: [
|
|
835
835
|
"",
|
|
836
836
|
"x",
|
|
@@ -842,7 +842,7 @@ var F = (e) => {
|
|
|
842
842
|
"auto",
|
|
843
843
|
"cover",
|
|
844
844
|
"contain",
|
|
845
|
-
|
|
845
|
+
de
|
|
846
846
|
] }],
|
|
847
847
|
"bg-image": [{ bg: [
|
|
848
848
|
"none",
|
|
@@ -856,7 +856,7 @@ var F = (e) => {
|
|
|
856
856
|
"l",
|
|
857
857
|
"tl"
|
|
858
858
|
] },
|
|
859
|
-
|
|
859
|
+
me
|
|
860
860
|
] }],
|
|
861
861
|
"bg-color": [{ bg: [e] }],
|
|
862
862
|
"gradient-from-pos": [{ from: [m] }],
|
|
@@ -890,13 +890,13 @@ var F = (e) => {
|
|
|
890
890
|
"border-w-b": [{ "border-b": [s] }],
|
|
891
891
|
"border-w-l": [{ "border-l": [s] }],
|
|
892
892
|
"border-opacity": [{ "border-opacity": [_] }],
|
|
893
|
-
"border-style": [{ border: [...
|
|
893
|
+
"border-style": [{ border: [...k(), "hidden"] }],
|
|
894
894
|
"divide-x": [{ "divide-x": [s] }],
|
|
895
895
|
"divide-x-reverse": ["divide-x-reverse"],
|
|
896
896
|
"divide-y": [{ "divide-y": [s] }],
|
|
897
897
|
"divide-y-reverse": ["divide-y-reverse"],
|
|
898
898
|
"divide-opacity": [{ "divide-opacity": [_] }],
|
|
899
|
-
"divide-style": [{ divide:
|
|
899
|
+
"divide-style": [{ divide: k() }],
|
|
900
900
|
"border-color": [{ border: [i] }],
|
|
901
901
|
"border-color-x": [{ "border-x": [i] }],
|
|
902
902
|
"border-color-y": [{ "border-y": [i] }],
|
|
@@ -907,31 +907,31 @@ var F = (e) => {
|
|
|
907
907
|
"border-color-b": [{ "border-b": [i] }],
|
|
908
908
|
"border-color-l": [{ "border-l": [i] }],
|
|
909
909
|
"divide-color": [{ divide: [i] }],
|
|
910
|
-
"outline-style": [{ outline: ["", ...
|
|
911
|
-
"outline-offset": [{ "outline-offset": [
|
|
912
|
-
"outline-w": [{ outline: [
|
|
910
|
+
"outline-style": [{ outline: ["", ...k()] }],
|
|
911
|
+
"outline-offset": [{ "outline-offset": [I, B] }],
|
|
912
|
+
"outline-w": [{ outline: [I, L] }],
|
|
913
913
|
"outline-color": [{ outline: [e] }],
|
|
914
|
-
"ring-w": [{ ring:
|
|
914
|
+
"ring-w": [{ ring: te() }],
|
|
915
915
|
"ring-w-inset": ["ring-inset"],
|
|
916
916
|
"ring-color": [{ ring: [e] }],
|
|
917
917
|
"ring-opacity": [{ "ring-opacity": [_] }],
|
|
918
|
-
"ring-offset-w": [{ "ring-offset": [
|
|
918
|
+
"ring-offset-w": [{ "ring-offset": [I, L] }],
|
|
919
919
|
"ring-offset-color": [{ "ring-offset": [e] }],
|
|
920
920
|
shadow: [{ shadow: [
|
|
921
921
|
"",
|
|
922
922
|
"inner",
|
|
923
923
|
"none",
|
|
924
|
-
|
|
925
|
-
|
|
924
|
+
V,
|
|
925
|
+
he
|
|
926
926
|
] }],
|
|
927
|
-
"shadow-color": [{ shadow: [
|
|
927
|
+
"shadow-color": [{ shadow: [H] }],
|
|
928
928
|
opacity: [{ opacity: [_] }],
|
|
929
929
|
"mix-blend": [{ "mix-blend": [
|
|
930
|
-
...
|
|
930
|
+
...A(),
|
|
931
931
|
"plus-lighter",
|
|
932
932
|
"plus-darker"
|
|
933
933
|
] }],
|
|
934
|
-
"bg-blend": [{ "bg-blend":
|
|
934
|
+
"bg-blend": [{ "bg-blend": A() }],
|
|
935
935
|
filter: [{ filter: ["", "none"] }],
|
|
936
936
|
blur: [{ blur: [n] }],
|
|
937
937
|
brightness: [{ brightness: [r] }],
|
|
@@ -939,8 +939,8 @@ var F = (e) => {
|
|
|
939
939
|
"drop-shadow": [{ "drop-shadow": [
|
|
940
940
|
"",
|
|
941
941
|
"none",
|
|
942
|
-
|
|
943
|
-
|
|
942
|
+
V,
|
|
943
|
+
B
|
|
944
944
|
] }],
|
|
945
945
|
grayscale: [{ grayscale: [l] }],
|
|
946
946
|
"hue-rotate": [{ "hue-rotate": [u] }],
|
|
@@ -971,24 +971,24 @@ var F = (e) => {
|
|
|
971
971
|
"opacity",
|
|
972
972
|
"shadow",
|
|
973
973
|
"transform",
|
|
974
|
-
|
|
974
|
+
B
|
|
975
975
|
] }],
|
|
976
|
-
duration: [{ duration:
|
|
976
|
+
duration: [{ duration: F() }],
|
|
977
977
|
ease: [{ ease: [
|
|
978
978
|
"linear",
|
|
979
979
|
"in",
|
|
980
980
|
"out",
|
|
981
981
|
"in-out",
|
|
982
|
-
|
|
982
|
+
B
|
|
983
983
|
] }],
|
|
984
|
-
delay: [{ delay:
|
|
984
|
+
delay: [{ delay: F() }],
|
|
985
985
|
animate: [{ animate: [
|
|
986
986
|
"none",
|
|
987
987
|
"spin",
|
|
988
988
|
"ping",
|
|
989
989
|
"pulse",
|
|
990
990
|
"bounce",
|
|
991
|
-
|
|
991
|
+
B
|
|
992
992
|
] }],
|
|
993
993
|
transform: [{ transform: [
|
|
994
994
|
"",
|
|
@@ -998,9 +998,9 @@ var F = (e) => {
|
|
|
998
998
|
scale: [{ scale: [b] }],
|
|
999
999
|
"scale-x": [{ "scale-x": [b] }],
|
|
1000
1000
|
"scale-y": [{ "scale-y": [b] }],
|
|
1001
|
-
rotate: [{ rotate: [
|
|
1002
|
-
"translate-x": [{ "translate-x": [
|
|
1003
|
-
"translate-y": [{ "translate-y": [
|
|
1001
|
+
rotate: [{ rotate: [z, B] }],
|
|
1002
|
+
"translate-x": [{ "translate-x": [C] }],
|
|
1003
|
+
"translate-y": [{ "translate-y": [C] }],
|
|
1004
1004
|
"skew-x": [{ "skew-x": [S] }],
|
|
1005
1005
|
"skew-y": [{ "skew-y": [S] }],
|
|
1006
1006
|
"transform-origin": [{ origin: [
|
|
@@ -1013,7 +1013,7 @@ var F = (e) => {
|
|
|
1013
1013
|
"bottom-left",
|
|
1014
1014
|
"left",
|
|
1015
1015
|
"top-left",
|
|
1016
|
-
|
|
1016
|
+
B
|
|
1017
1017
|
] }],
|
|
1018
1018
|
accent: [{ accent: ["auto", e] }],
|
|
1019
1019
|
appearance: [{ appearance: ["none", "auto"] }],
|
|
@@ -1054,7 +1054,7 @@ var F = (e) => {
|
|
|
1054
1054
|
"nwse-resize",
|
|
1055
1055
|
"zoom-in",
|
|
1056
1056
|
"zoom-out",
|
|
1057
|
-
|
|
1057
|
+
B
|
|
1058
1058
|
] }],
|
|
1059
1059
|
"caret-color": [{ caret: [e] }],
|
|
1060
1060
|
"pointer-events": [{ "pointer-events": ["none", "auto"] }],
|
|
@@ -1065,24 +1065,24 @@ var F = (e) => {
|
|
|
1065
1065
|
""
|
|
1066
1066
|
] }],
|
|
1067
1067
|
"scroll-behavior": [{ scroll: ["auto", "smooth"] }],
|
|
1068
|
-
"scroll-m": [{ "scroll-m":
|
|
1069
|
-
"scroll-mx": [{ "scroll-mx":
|
|
1070
|
-
"scroll-my": [{ "scroll-my":
|
|
1071
|
-
"scroll-ms": [{ "scroll-ms":
|
|
1072
|
-
"scroll-me": [{ "scroll-me":
|
|
1073
|
-
"scroll-mt": [{ "scroll-mt":
|
|
1074
|
-
"scroll-mr": [{ "scroll-mr":
|
|
1075
|
-
"scroll-mb": [{ "scroll-mb":
|
|
1076
|
-
"scroll-ml": [{ "scroll-ml":
|
|
1077
|
-
"scroll-p": [{ "scroll-p":
|
|
1078
|
-
"scroll-px": [{ "scroll-px":
|
|
1079
|
-
"scroll-py": [{ "scroll-py":
|
|
1080
|
-
"scroll-ps": [{ "scroll-ps":
|
|
1081
|
-
"scroll-pe": [{ "scroll-pe":
|
|
1082
|
-
"scroll-pt": [{ "scroll-pt":
|
|
1083
|
-
"scroll-pr": [{ "scroll-pr":
|
|
1084
|
-
"scroll-pb": [{ "scroll-pb":
|
|
1085
|
-
"scroll-pl": [{ "scroll-pl":
|
|
1068
|
+
"scroll-m": [{ "scroll-m": D() }],
|
|
1069
|
+
"scroll-mx": [{ "scroll-mx": D() }],
|
|
1070
|
+
"scroll-my": [{ "scroll-my": D() }],
|
|
1071
|
+
"scroll-ms": [{ "scroll-ms": D() }],
|
|
1072
|
+
"scroll-me": [{ "scroll-me": D() }],
|
|
1073
|
+
"scroll-mt": [{ "scroll-mt": D() }],
|
|
1074
|
+
"scroll-mr": [{ "scroll-mr": D() }],
|
|
1075
|
+
"scroll-mb": [{ "scroll-mb": D() }],
|
|
1076
|
+
"scroll-ml": [{ "scroll-ml": D() }],
|
|
1077
|
+
"scroll-p": [{ "scroll-p": D() }],
|
|
1078
|
+
"scroll-px": [{ "scroll-px": D() }],
|
|
1079
|
+
"scroll-py": [{ "scroll-py": D() }],
|
|
1080
|
+
"scroll-ps": [{ "scroll-ps": D() }],
|
|
1081
|
+
"scroll-pe": [{ "scroll-pe": D() }],
|
|
1082
|
+
"scroll-pt": [{ "scroll-pt": D() }],
|
|
1083
|
+
"scroll-pr": [{ "scroll-pr": D() }],
|
|
1084
|
+
"scroll-pb": [{ "scroll-pb": D() }],
|
|
1085
|
+
"scroll-pl": [{ "scroll-pl": D() }],
|
|
1086
1086
|
"snap-align": [{ snap: [
|
|
1087
1087
|
"start",
|
|
1088
1088
|
"end",
|
|
@@ -1124,13 +1124,13 @@ var F = (e) => {
|
|
|
1124
1124
|
"scroll",
|
|
1125
1125
|
"contents",
|
|
1126
1126
|
"transform",
|
|
1127
|
-
|
|
1127
|
+
B
|
|
1128
1128
|
] }],
|
|
1129
1129
|
fill: [{ fill: [e, "none"] }],
|
|
1130
1130
|
"stroke-w": [{ stroke: [
|
|
1131
|
-
|
|
1132
|
-
|
|
1133
|
-
|
|
1131
|
+
I,
|
|
1132
|
+
L,
|
|
1133
|
+
ce
|
|
1134
1134
|
] }],
|
|
1135
1135
|
stroke: [{ stroke: [e, "none"] }],
|
|
1136
1136
|
sr: ["sr-only", "not-sr-only"],
|
|
@@ -1277,12 +1277,12 @@ var F = (e) => {
|
|
|
1277
1277
|
});
|
|
1278
1278
|
//#endregion
|
|
1279
1279
|
//#region src/utils/cn.ts
|
|
1280
|
-
function
|
|
1281
|
-
return
|
|
1280
|
+
function W(...e) {
|
|
1281
|
+
return be(r(e));
|
|
1282
1282
|
}
|
|
1283
1283
|
//#endregion
|
|
1284
1284
|
//#region src/utils/events.ts
|
|
1285
|
-
var
|
|
1285
|
+
var G = {
|
|
1286
1286
|
stopPropagation: (e) => (t) => {
|
|
1287
1287
|
t.stopPropagation(), e && e(t);
|
|
1288
1288
|
},
|
|
@@ -1293,89 +1293,90 @@ var Y = {
|
|
|
1293
1293
|
e.preventDefault();
|
|
1294
1294
|
},
|
|
1295
1295
|
fromInput: (e) => {
|
|
1296
|
-
let t =
|
|
1297
|
-
return t.tagName === "INPUT" || t.tagName === "TEXTAREA" || t.tagName.startsWith("MARIMO") || t.isContentEditable ||
|
|
1296
|
+
let t = G.composedTarget(e);
|
|
1297
|
+
return t.tagName === "INPUT" || t.tagName === "TEXTAREA" || t.tagName.startsWith("MARIMO") || t.isContentEditable || G.fromCodeMirror(t);
|
|
1298
1298
|
},
|
|
1299
1299
|
fromCodeMirror: (e) => e.closest(".cm-editor") !== null,
|
|
1300
1300
|
shouldIgnoreKeyboardEvent(e) {
|
|
1301
|
-
let t =
|
|
1302
|
-
return t instanceof HTMLInputElement || t instanceof HTMLTextAreaElement || t instanceof HTMLSelectElement || t instanceof HTMLElement && (t.isContentEditable || t.tagName === "BUTTON" || t.closest("[role='textbox']") !== null || t.closest("[contenteditable='true']") !== null ||
|
|
1301
|
+
let t = G.composedTarget(e);
|
|
1302
|
+
return t instanceof HTMLInputElement || t instanceof HTMLTextAreaElement || t instanceof HTMLSelectElement || t instanceof HTMLElement && (t.isContentEditable || t.tagName === "BUTTON" || t.closest("[role='textbox']") !== null || t.closest("[contenteditable='true']") !== null || G.fromCodeMirror(t));
|
|
1303
1303
|
},
|
|
1304
1304
|
composedTarget(e) {
|
|
1305
1305
|
return "composedPath" in e && typeof e.composedPath == "function" ? e.composedPath()[0] ?? e.target : e.target;
|
|
1306
1306
|
},
|
|
1307
1307
|
hasModifier: (e) => e.ctrlKey || e.metaKey || e.altKey || e.shiftKey,
|
|
1308
1308
|
isMetaOrCtrl: (e) => e.metaKey || e.ctrlKey
|
|
1309
|
-
}
|
|
1310
|
-
|
|
1311
|
-
|
|
1312
|
-
|
|
1309
|
+
}, xe = Object.defineProperty, K = (e, t) => xe(e, "name", {
|
|
1310
|
+
value: t,
|
|
1311
|
+
configurable: !0
|
|
1312
|
+
});
|
|
1313
|
+
function q(e, t) {
|
|
1313
1314
|
if (typeof e == "function") return e(t);
|
|
1314
1315
|
e != null && (e.current = t);
|
|
1315
1316
|
}
|
|
1316
|
-
|
|
1317
|
+
K(q, "setRef");
|
|
1318
|
+
function J(...e) {
|
|
1317
1319
|
return (t) => {
|
|
1318
1320
|
let n = !1, r = e.map((e) => {
|
|
1319
|
-
let r =
|
|
1321
|
+
let r = q(e, t);
|
|
1320
1322
|
return !n && typeof r == "function" && (n = !0), r;
|
|
1321
1323
|
});
|
|
1322
1324
|
if (n) return () => {
|
|
1323
1325
|
for (let t = 0; t < r.length; t++) {
|
|
1324
1326
|
let n = r[t];
|
|
1325
|
-
typeof n == "function" ? n() :
|
|
1327
|
+
typeof n == "function" ? n() : q(e[t], null);
|
|
1326
1328
|
}
|
|
1327
1329
|
};
|
|
1328
1330
|
};
|
|
1329
1331
|
}
|
|
1330
|
-
|
|
1331
|
-
|
|
1332
|
+
K(J, "composeRefs");
|
|
1333
|
+
function Y(...e) {
|
|
1334
|
+
return p.useCallback(J(...e), e);
|
|
1332
1335
|
}
|
|
1336
|
+
K(Y, "useComposedRefs");
|
|
1333
1337
|
//#endregion
|
|
1334
|
-
//#region ../node_modules/.pnpm/@radix-ui+react-slot@1.
|
|
1335
|
-
var
|
|
1336
|
-
|
|
1337
|
-
|
|
1338
|
-
|
|
1339
|
-
let { children: r, ...i } = e, a = p.Children.toArray(r), o = a.find(we);
|
|
1340
|
-
if (o) {
|
|
1341
|
-
let e = o.props.children, r = a.map((t) => t === o ? p.Children.count(e) > 1 ? p.Children.only(null) : p.isValidElement(e) ? e.props.children : null : t);
|
|
1342
|
-
return /* @__PURE__ */ (0, Z.jsx)(t, {
|
|
1343
|
-
...i,
|
|
1344
|
-
ref: n,
|
|
1345
|
-
children: p.isValidElement(e) ? p.cloneElement(e, void 0, r) : null
|
|
1346
|
-
});
|
|
1347
|
-
}
|
|
1348
|
-
return /* @__PURE__ */ (0, Z.jsx)(t, {
|
|
1349
|
-
...i,
|
|
1350
|
-
ref: n,
|
|
1351
|
-
children: r
|
|
1352
|
-
});
|
|
1353
|
-
});
|
|
1354
|
-
return n.displayName = `${e}.Slot`, n;
|
|
1355
|
-
}
|
|
1356
|
-
var be = /* @__PURE__ */ ye("Slot");
|
|
1338
|
+
//#region ../node_modules/.pnpm/@radix-ui+react-slot@1.3.3_@types+react@19.3.0_react@19.3.0/node_modules/@radix-ui/react-slot/dist/index.mjs
|
|
1339
|
+
var Se = Object.defineProperty, X = (e, t) => Se(e, "name", {
|
|
1340
|
+
value: t,
|
|
1341
|
+
configurable: !0
|
|
1342
|
+
});
|
|
1357
1343
|
// @__NO_SIDE_EFFECTS__
|
|
1358
|
-
function
|
|
1359
|
-
let t = p.forwardRef((
|
|
1360
|
-
let { children:
|
|
1361
|
-
|
|
1362
|
-
|
|
1363
|
-
|
|
1344
|
+
function Ce(e) {
|
|
1345
|
+
let t = p.forwardRef((t, n) => {
|
|
1346
|
+
let { children: r, ...i } = t, a = null, o = !1, s = [];
|
|
1347
|
+
Me(r) && typeof Z == "function" && (r = Z(r._payload)), p.Children.forEach(r, (e) => {
|
|
1348
|
+
if (Ae(e)) {
|
|
1349
|
+
o = !0;
|
|
1350
|
+
let t = e, n = "child" in t.props ? t.props.child : t.props.children;
|
|
1351
|
+
Me(n) && typeof Z == "function" && (n = Z(n._payload)), a = De(t, n), s.push(a?.props?.children);
|
|
1352
|
+
} else s.push(e);
|
|
1353
|
+
}), a ? a = p.cloneElement(a, void 0, s) : !o && p.Children.count(r) === 1 && p.isValidElement(r) && (a = r);
|
|
1354
|
+
let c = a ? ke(a) : void 0, l = Y(n, c);
|
|
1355
|
+
if (!a) {
|
|
1356
|
+
if (r || r === 0) throw Error(o ? Fe(e) : Pe(e));
|
|
1357
|
+
return r;
|
|
1364
1358
|
}
|
|
1365
|
-
|
|
1359
|
+
let u = Oe(i, a.props ?? {});
|
|
1360
|
+
return a.type !== p.Fragment && (u.ref = n ? l : c), p.cloneElement(a, u);
|
|
1366
1361
|
});
|
|
1367
|
-
return t.displayName = `${e}.
|
|
1362
|
+
return t.displayName = `${e}.Slot`, t;
|
|
1368
1363
|
}
|
|
1369
|
-
|
|
1364
|
+
X(Ce, "createSlot");
|
|
1365
|
+
var we = /* @__PURE__ */ Ce("Slot"), Te = Symbol.for("radix.slottable");
|
|
1370
1366
|
// @__NO_SIDE_EFFECTS__
|
|
1371
|
-
function
|
|
1372
|
-
let t =
|
|
1373
|
-
return t.displayName = `${e}.Slottable`, t.__radixId =
|
|
1374
|
-
}
|
|
1375
|
-
function we(e) {
|
|
1376
|
-
return p.isValidElement(e) && typeof e.type == "function" && "__radixId" in e.type && e.type.__radixId === Se;
|
|
1367
|
+
function Ee(e) {
|
|
1368
|
+
let t = /* @__PURE__ */ X((e) => "child" in e ? e.children(e.child) : e.children, "Slottable");
|
|
1369
|
+
return t.displayName = `${e}.Slottable`, t.__radixId = Te, t;
|
|
1377
1370
|
}
|
|
1378
|
-
|
|
1371
|
+
X(Ee, "createSlottable");
|
|
1372
|
+
var De = /* @__PURE__ */ X((e, t) => {
|
|
1373
|
+
if ("child" in e.props) {
|
|
1374
|
+
let t = e.props.child;
|
|
1375
|
+
return p.isValidElement(t) ? p.cloneElement(t, void 0, e.props.children(t.props.children)) : null;
|
|
1376
|
+
}
|
|
1377
|
+
return p.isValidElement(t) ? t : null;
|
|
1378
|
+
}, "getSlottableElementFromSlottable");
|
|
1379
|
+
function Oe(e, t) {
|
|
1379
1380
|
let n = { ...t };
|
|
1380
1381
|
for (let r in t) {
|
|
1381
1382
|
let i = e[r], a = t[r];
|
|
@@ -1392,23 +1393,39 @@ function Te(e, t) {
|
|
|
1392
1393
|
...n
|
|
1393
1394
|
};
|
|
1394
1395
|
}
|
|
1395
|
-
|
|
1396
|
+
X(Oe, "mergeProps");
|
|
1397
|
+
function ke(e) {
|
|
1396
1398
|
let t = Object.getOwnPropertyDescriptor(e.props, "ref")?.get, n = t && "isReactWarning" in t && t.isReactWarning;
|
|
1397
1399
|
return n ? e.ref : (t = Object.getOwnPropertyDescriptor(e, "ref")?.get, n = t && "isReactWarning" in t && t.isReactWarning, n ? e.props.ref : e.props.ref || e.ref);
|
|
1398
1400
|
}
|
|
1401
|
+
X(ke, "getElementRef");
|
|
1402
|
+
function Ae(e) {
|
|
1403
|
+
return p.isValidElement(e) && typeof e.type == "function" && "__radixId" in e.type && e.type.__radixId === Te;
|
|
1404
|
+
}
|
|
1405
|
+
X(Ae, "isSlottable");
|
|
1406
|
+
var je = Symbol.for("react.lazy");
|
|
1407
|
+
function Me(e) {
|
|
1408
|
+
return typeof e == "object" && !!e && "$$typeof" in e && e.$$typeof === je && "_payload" in e && Ne(e._payload);
|
|
1409
|
+
}
|
|
1410
|
+
X(Me, "isLazyComponent");
|
|
1411
|
+
function Ne(e) {
|
|
1412
|
+
return typeof e == "object" && !!e && "then" in e;
|
|
1413
|
+
}
|
|
1414
|
+
X(Ne, "isPromiseLike");
|
|
1415
|
+
var Pe = /* @__PURE__ */ X((e) => `${e} failed to slot onto its children. Expected a single React element child or \`Slottable\`.`, "createSlotError"), Fe = /* @__PURE__ */ X((e) => `${e} failed to slot onto its \`Slottable\`. Expected \`Slottable\` to receive a single React element child.`, "createSlottableError"), Z = p.use;
|
|
1399
1416
|
//#endregion
|
|
1400
1417
|
//#region src/hooks/useEventListener.ts
|
|
1401
|
-
function
|
|
1402
|
-
return typeof e == "object" && !!e && "current" in e;
|
|
1418
|
+
function Ie(e) {
|
|
1419
|
+
return typeof e == "object" && !!e && !("addEventListener" in e) && "current" in e;
|
|
1403
1420
|
}
|
|
1404
|
-
function
|
|
1421
|
+
function Le(e, t, n, r) {
|
|
1405
1422
|
let i = (0, m.c)(8), a = (0, p.useRef)(n), o, s;
|
|
1406
1423
|
i[0] === n ? (o = i[1], s = i[2]) : (o = () => {
|
|
1407
1424
|
a.current = n;
|
|
1408
1425
|
}, s = [n], i[0] = n, i[1] = o, i[2] = s), (0, p.useEffect)(o, s);
|
|
1409
1426
|
let c, l;
|
|
1410
1427
|
i[3] !== r || i[4] !== e || i[5] !== t ? (c = () => {
|
|
1411
|
-
let n =
|
|
1428
|
+
let n = Ie(e) ? e.current : e;
|
|
1412
1429
|
if (!n) return;
|
|
1413
1430
|
let i = (e) => a.current(e);
|
|
1414
1431
|
return n.addEventListener(t, i, r), () => {
|
|
@@ -1422,17 +1439,17 @@ function Oe(e, t, n, r) {
|
|
|
1422
1439
|
}
|
|
1423
1440
|
//#endregion
|
|
1424
1441
|
//#region src/core/hotkeys/shortcuts.ts
|
|
1425
|
-
function
|
|
1442
|
+
function Re() {
|
|
1426
1443
|
if (typeof window > "u") return f.warn("isPlatformMac() called without window"), !1;
|
|
1427
1444
|
let e = window.navigator.userAgentData ? window.navigator.userAgentData.platform : window.navigator.platform;
|
|
1428
1445
|
return /mac/i.test(e);
|
|
1429
1446
|
}
|
|
1430
|
-
function
|
|
1447
|
+
function ze() {
|
|
1431
1448
|
if (typeof window > "u") return f.warn("isPlatformWindows() called without window"), !1;
|
|
1432
1449
|
let e = window.navigator.userAgentData ? window.navigator.userAgentData.platform : window.navigator.platform;
|
|
1433
1450
|
return /win/i.test(e);
|
|
1434
1451
|
}
|
|
1435
|
-
function
|
|
1452
|
+
function Be(e, t) {
|
|
1436
1453
|
let n = !0;
|
|
1437
1454
|
for (let r of e) {
|
|
1438
1455
|
switch (r) {
|
|
@@ -1460,7 +1477,7 @@ function je(e, t) {
|
|
|
1460
1477
|
}
|
|
1461
1478
|
return e.includes("shift") || (n &&= !t.shiftKey), !e.includes("ctrl") && !e.includes("mod") && (n &&= !t.ctrlKey), !e.includes("meta") && !e.includes("mod") && (n &&= !t.metaKey), e.includes("alt") || (n &&= !t.altKey), n;
|
|
1462
1479
|
}
|
|
1463
|
-
function
|
|
1480
|
+
function Ve(e) {
|
|
1464
1481
|
return {
|
|
1465
1482
|
control: "ctrl",
|
|
1466
1483
|
command: "mod",
|
|
@@ -1469,17 +1486,17 @@ function Me(e) {
|
|
|
1469
1486
|
return: "enter"
|
|
1470
1487
|
}[e.toLowerCase()] || e.toLowerCase();
|
|
1471
1488
|
}
|
|
1472
|
-
function
|
|
1489
|
+
function He(e) {
|
|
1473
1490
|
if (e === Q || e === "") return () => !1;
|
|
1474
|
-
let t = e.includes("+") ? "+" : "-", n = e.split(t).map(
|
|
1475
|
-
return (e) =>
|
|
1491
|
+
let t = e.includes("+") ? "+" : "-", n = e.split(t).map(Ve);
|
|
1492
|
+
return (e) => Be(n, e);
|
|
1476
1493
|
}
|
|
1477
|
-
function
|
|
1478
|
-
return
|
|
1494
|
+
function Ue() {
|
|
1495
|
+
return Re() ? "mac" : ze() ? "windows" : "linux";
|
|
1479
1496
|
}
|
|
1480
1497
|
//#endregion
|
|
1481
1498
|
//#region src/core/hotkeys/hotkeys.ts
|
|
1482
|
-
var Q = Symbol("NOT_SET"),
|
|
1499
|
+
var Q = Symbol("NOT_SET"), We = {
|
|
1483
1500
|
"cell.focusUp": {
|
|
1484
1501
|
name: "Go to previous cell",
|
|
1485
1502
|
group: "Navigation",
|
|
@@ -1910,15 +1927,15 @@ var Q = Symbol("NOT_SET"), Fe = {
|
|
|
1910
1927
|
group: "Command",
|
|
1911
1928
|
key: "v"
|
|
1912
1929
|
}
|
|
1913
|
-
},
|
|
1930
|
+
}, Ge = class e {
|
|
1914
1931
|
mod;
|
|
1915
1932
|
platform;
|
|
1916
1933
|
static create(t) {
|
|
1917
|
-
return new e(
|
|
1934
|
+
return new e(We, { platform: t });
|
|
1918
1935
|
}
|
|
1919
1936
|
hotkeys;
|
|
1920
1937
|
constructor(e, t = {}) {
|
|
1921
|
-
this.hotkeys = e, this.platform = t.platform ??
|
|
1938
|
+
this.hotkeys = e, this.platform = t.platform ?? Ue(), this.mod = this.platform === "mac" ? "Cmd" : "Ctrl";
|
|
1922
1939
|
}
|
|
1923
1940
|
iterate() {
|
|
1924
1941
|
return a.keys(this.hotkeys);
|
|
@@ -1948,38 +1965,38 @@ var Q = Symbol("NOT_SET"), Fe = {
|
|
|
1948
1965
|
getHotkeyGroups() {
|
|
1949
1966
|
return a.groupBy(a.entries(this.hotkeys), ([, e]) => e.group, ([e]) => e);
|
|
1950
1967
|
}
|
|
1951
|
-
},
|
|
1968
|
+
}, Ke = class extends Ge {
|
|
1952
1969
|
overrides;
|
|
1953
1970
|
constructor(e, t = {}) {
|
|
1954
|
-
super(
|
|
1971
|
+
super(We, t), this.overrides = e;
|
|
1955
1972
|
}
|
|
1956
1973
|
getHotkey(e) {
|
|
1957
1974
|
let t = super.getHotkey(e), n = this.overrides[e];
|
|
1958
1975
|
return {
|
|
1959
1976
|
name: t.name,
|
|
1960
|
-
key: n ?
|
|
1977
|
+
key: n ? Je(n) : t.key,
|
|
1961
1978
|
additionalKeywords: t.additionalKeywords
|
|
1962
1979
|
};
|
|
1963
1980
|
}
|
|
1964
|
-
},
|
|
1965
|
-
function
|
|
1981
|
+
}, qe = /^(cmd|ctrl|alt|shift|meta|mod)$/i;
|
|
1982
|
+
function Je(e) {
|
|
1966
1983
|
let t = e.split("-"), n = t[t.length - 1];
|
|
1967
|
-
return n.length > 1 && !
|
|
1984
|
+
return n.length > 1 && !qe.test(n) && (t[t.length - 1] = n.charAt(0).toUpperCase() + n.slice(1)), t.join("-");
|
|
1968
1985
|
}
|
|
1969
1986
|
//#endregion
|
|
1970
1987
|
//#region ../node_modules/.pnpm/class-variance-authority@0.7.1/node_modules/class-variance-authority/dist/index.mjs
|
|
1971
|
-
var
|
|
1972
|
-
if (t?.variants == null) return
|
|
1988
|
+
var Ye = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, Xe = r, Ze = (e, t) => (n) => {
|
|
1989
|
+
if (t?.variants == null) return Xe(e, n?.class, n?.className);
|
|
1973
1990
|
let { variants: r, defaultVariants: i } = t, a = Object.keys(r).map((e) => {
|
|
1974
1991
|
let t = n?.[e], a = i?.[e];
|
|
1975
1992
|
if (t === null) return null;
|
|
1976
|
-
let o =
|
|
1993
|
+
let o = Ye(t) || Ye(a);
|
|
1977
1994
|
return r[e][o];
|
|
1978
1995
|
}), o = n && Object.entries(n).reduce((e, t) => {
|
|
1979
1996
|
let [n, r] = t;
|
|
1980
1997
|
return r === void 0 || (e[n] = r), e;
|
|
1981
1998
|
}, {});
|
|
1982
|
-
return
|
|
1999
|
+
return Xe(e, a, t?.compoundVariants?.reduce((e, t) => {
|
|
1983
2000
|
let { class: n, className: r, ...a } = t;
|
|
1984
2001
|
return Object.entries(a).every((e) => {
|
|
1985
2002
|
let [t, n] = e;
|
|
@@ -1996,18 +2013,18 @@ var Be = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, Ve = r, He =
|
|
|
1996
2013
|
r
|
|
1997
2014
|
] : e;
|
|
1998
2015
|
}, []), n?.class, n?.className);
|
|
1999
|
-
}, $ = "active:shadow-none",
|
|
2016
|
+
}, Qe = i(), $ = "active:shadow-none", $e = Ze(W("disabled:opacity-50 disabled:pointer-events-none", "inline-flex items-center justify-center rounded-md text-sm font-medium focus-visible:outline-hidden focus-visible:ring-1 focus-visible:ring-ring focus-visible:ring-offset-2 ring-offset-background", "forced-color-adjust-none forced-colors:border-[ButtonText] forced-colors:bg-[ButtonFace] forced-colors:text-[ButtonText] forced-colors:hover:bg-[Highlight] forced-colors:hover:text-[HighlightText] forced-colors:disabled:border-[GrayText] forced-colors:disabled:text-[GrayText]"), {
|
|
2000
2017
|
variants: {
|
|
2001
2018
|
variant: {
|
|
2002
|
-
default:
|
|
2003
|
-
destructive:
|
|
2004
|
-
success:
|
|
2005
|
-
warn:
|
|
2006
|
-
action:
|
|
2007
|
-
outline:
|
|
2008
|
-
secondary:
|
|
2009
|
-
text:
|
|
2010
|
-
ghost:
|
|
2019
|
+
default: W("bg-primary text-primary-foreground hover:bg-primary/90 shadow-xs border border-primary", $),
|
|
2020
|
+
destructive: W("border shadow-xs", "bg-destructive text-destructive-foreground border-destructive-border hover:bg-destructive-hover", $),
|
|
2021
|
+
success: W("border shadow-xs", "bg-success text-success-foreground border-success-border hover:bg-success-hover", $),
|
|
2022
|
+
warn: W("border shadow-xs", "bg-action text-action-foreground border-action-border hover:bg-action-hover", $),
|
|
2023
|
+
action: W("bg-action text-action-foreground shadow-xs", "hover:bg-action-hover border border-action-border", $),
|
|
2024
|
+
outline: W("border border-slate-300 shadow-xs", "hover:bg-accent hover:text-accent-foreground", "hover:border-primary", "aria-selected:text-accent-foreground aria-selected:border-primary", $),
|
|
2025
|
+
secondary: W("bg-secondary text-secondary-foreground hover:bg-secondary/80", "border border-input shadow-xs", $),
|
|
2026
|
+
text: W("opacity-80 hover:opacity-100", "active:opacity-100"),
|
|
2027
|
+
ghost: W("border border-transparent", "hover:bg-accent hover:text-accent-foreground hover:shadow-xs", $, "active:text-accent-foreground"),
|
|
2011
2028
|
link: "underline-offset-4 hover:underline text-link",
|
|
2012
2029
|
linkDestructive: "underline-offset-4 hover:underline text-destructive underline-destructive",
|
|
2013
2030
|
outlineDestructive: "border border-destructive text-destructive hover:bg-destructive/10"
|
|
@@ -2025,29 +2042,29 @@ var Be = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, Ve = r, He =
|
|
|
2025
2042
|
variant: "default",
|
|
2026
2043
|
size: "sm"
|
|
2027
2044
|
}
|
|
2028
|
-
}),
|
|
2045
|
+
}), et = p.forwardRef((e, t) => {
|
|
2029
2046
|
let n = (0, m.c)(19), r, i, a, o, s, c;
|
|
2030
2047
|
n[0] === e ? (r = n[1], i = n[2], a = n[3], o = n[4], s = n[5], c = n[6]) : ({className: r, variant: c, size: o, asChild: s, keyboardShortcut: i, ...a} = e, n[0] = e, n[1] = r, n[2] = i, n[3] = a, n[4] = o, n[5] = s, n[6] = c);
|
|
2031
2048
|
let l = s !== void 0 && s, u = p.useRef(null), d;
|
|
2032
2049
|
n[7] === Symbol.for("react.memo_cache_sentinel") ? (d = () => u.current, n[7] = d) : d = n[7], p.useImperativeHandle(t, d);
|
|
2033
2050
|
let f;
|
|
2034
2051
|
n[8] === i ? f = n[9] : (f = (e) => {
|
|
2035
|
-
!i || e.defaultPrevented ||
|
|
2036
|
-
}, n[8] = i, n[9] = f),
|
|
2037
|
-
let h = l ?
|
|
2038
|
-
n[10] !== r || n[11] !== a.disabled || n[12] !== o || n[13] !== c ? (g =
|
|
2052
|
+
!i || e.defaultPrevented || G.shouldIgnoreKeyboardEvent(e) || He(i)(e) && (e.preventDefault(), e.stopPropagation(), u?.current && !u.current.disabled && u.current.click());
|
|
2053
|
+
}, n[8] = i, n[9] = f), Le(document, "keydown", f);
|
|
2054
|
+
let h = l ? we : "button", g;
|
|
2055
|
+
n[10] !== r || n[11] !== a.disabled || n[12] !== o || n[13] !== c ? (g = W($e({
|
|
2039
2056
|
variant: c,
|
|
2040
2057
|
size: o,
|
|
2041
2058
|
className: r,
|
|
2042
2059
|
disabled: a.disabled
|
|
2043
2060
|
}), r), n[10] = r, n[11] = a.disabled, n[12] = o, n[13] = c, n[14] = g) : g = n[14];
|
|
2044
2061
|
let _;
|
|
2045
|
-
return n[15] !== h || n[16] !== a || n[17] !== g ? (_ = /* @__PURE__ */ (0,
|
|
2062
|
+
return n[15] !== h || n[16] !== a || n[17] !== g ? (_ = /* @__PURE__ */ (0, Qe.jsx)(h, {
|
|
2046
2063
|
className: g,
|
|
2047
2064
|
ref: u,
|
|
2048
2065
|
...a
|
|
2049
2066
|
}), n[15] = h, n[16] = a, n[17] = g, n[18] = _) : _ = n[18], _;
|
|
2050
2067
|
});
|
|
2051
|
-
|
|
2068
|
+
et.displayName = "Button";
|
|
2052
2069
|
//#endregion
|
|
2053
|
-
export { o as _,
|
|
2070
|
+
export { o as _, Ke as a, Le as c, Ee as d, J as f, f as g, W as h, Q as i, we as l, G as m, $e as n, Re as o, Y as p, Ze as r, Ue as s, et as t, Ce as u, s as v };
|