@marimo-team/islands 0.18.0 → 0.18.1
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/Combination-DN9sfYvo.js +2569 -0
- package/dist/{ConnectedDataExplorerComponent-BUgUSo2B.js → ConnectedDataExplorerComponent-Dhlx78se.js} +53 -53
- package/dist/angular-html-BQrFNFXr.js +7 -0
- package/dist/{angular-html-DOnHLneR.js → angular-html-NuAgzn7W.js} +1 -1
- package/dist/{angular-ts-ClZ_D57Q.js → angular-ts-DqCVY0oX.js} +5 -5
- package/dist/{any-language-editor-BS-Z5AY5.js → any-language-editor-C8uMYHwj.js} +16 -16
- package/dist/{apl-BQW_2HeZ.js → apl-CqAdrzTc.js} +6 -6
- package/dist/{arc-DqQgmHse.js → arc-JJltOFJh.js} +2 -2
- package/dist/{architecture-O4VJ6CD3-BAmYZukJ.js → architecture-O4VJ6CD3-D7BH29FP.js} +3 -3
- package/dist/{architectureDiagram-W76B3OCA-6PSfeg_h.js → architectureDiagram-W76B3OCA-BXXl3wYv.js} +22 -22
- package/dist/{astro-B_6-YJyf.js → astro-BhYIwlT9.js} +6 -6
- package/dist/{blade-J--jW6Qd.js → blade-C_4Ocghp.js} +8 -8
- package/dist/{blockDiagram-QIGZ2CNN-BBAMkEiZ.js → blockDiagram-QIGZ2CNN-BEJ-ovZ-.js} +16 -16
- package/dist/{bsl-DwRO_vPO.js → bsl-Cam9acj0.js} +1 -1
- package/dist/{button-Hye6-2X8.js → button-Css_i-3R.js} +73 -71
- package/dist/c-DYGEdS-r.js +4 -0
- package/dist/{c4Diagram-FPNF74CW-H3kajU-4.js → c4Diagram-FPNF74CW-Bec_XtUS.js} +8 -8
- package/dist/{cairo-C5YwJoRd.js → cairo-DzTxWLx8.js} +1 -1
- package/dist/{channel-DO61Dn1s.js → channel-SHZ3pH5W.js} +1 -1
- package/dist/{chunk-3AY6CYHV-PGaWKUmM.js → chunk-3AY6CYHV-CY56r15D.js} +10 -10
- package/dist/{chunk-4BX2VUAB-C2wFBih6.js → chunk-4BX2VUAB-DakkmKa6.js} +1 -1
- package/dist/{chunk-4KMFLZZN-BLk4DGEy.js → chunk-4KMFLZZN-PjonQa4P.js} +1 -1
- package/dist/{chunk-55IACEB6-DQd6AZ1u.js → chunk-55IACEB6-lM9AcPFI.js} +1 -1
- package/dist/{chunk-6OXUPJBA-KTKvUtax.js → chunk-6OXUPJBA-CtytfqPH.js} +7 -7
- package/dist/{chunk-7GE3RBXV-2QiFkaHl.js → chunk-7GE3RBXV-Ch2VFfx5.js} +1 -1
- package/dist/{chunk-ABZYJK2D-plHo87kc.js → chunk-ABZYJK2D-ChhHEVnH.js} +2 -2
- package/dist/{chunk-BN7GFLIU-D4EEpMya.js → chunk-BN7GFLIU-4gH4skZE.js} +1 -1
- package/dist/{chunk-CVBHYZKI-nBM-9qrT.js → chunk-CVBHYZKI-CvLGu9Zl.js} +1 -1
- package/dist/{chunk-CXMOBAN2-DQYc62lB.js → chunk-CXMOBAN2-DmuTyIC5.js} +6 -6
- package/dist/{chunk-EXTU4WIE-CzYdpCHC.js → chunk-EXTU4WIE-5gY1kHy6.js} +2 -2
- package/dist/{chunk-FMBD7UC4-5CTTj0Jv.js → chunk-FMBD7UC4-CktmbpHj.js} +1 -1
- package/dist/{chunk-JA3XYJ7Z-iN-ePWJa.js → chunk-JA3XYJ7Z-DoOh1zwr.js} +4 -4
- package/dist/{chunk-JEIROHC2-DJN5-Qfh.js → chunk-JEIROHC2-BxiaYL-E.js} +1 -1
- package/dist/{chunk-K7UQS3LO-BFLlfdsi.js → chunk-K7UQS3LO-jAauQP9f.js} +7 -7
- package/dist/{chunk-KMC2YHZD-BvIjRiOn.js → chunk-KMC2YHZD-DStgMcLU.js} +1 -1
- package/dist/{chunk-QN33PNHL-Brd7yTp3.js → chunk-QN33PNHL-a6Utqqtp.js} +2 -2
- package/dist/{chunk-QYVHNE3D-2JcHbPf-.js → chunk-QYVHNE3D-Di-okNtj.js} +2 -2
- package/dist/{chunk-QZHKN3VN-uMYxkooq.js → chunk-QZHKN3VN-uG0W9XCn.js} +1 -1
- package/dist/{chunk-S3R3BYOJ-F8AD9lHs.js → chunk-S3R3BYOJ-D8svDLcB.js} +4 -4
- package/dist/{chunk-T44TD3VJ-BuOpBf-m.js → chunk-T44TD3VJ-C5NCytxJ.js} +1 -1
- package/dist/{chunk-TVAH2DTR-CnMJAbv2.js → chunk-TVAH2DTR-CXLr85J9.js} +6 -6
- package/dist/{chunk-TZMSLE5B-FgoUBce3.js → chunk-TZMSLE5B-1E_YfHMJ.js} +3 -3
- package/dist/{chunk-WFRQ32O7-XYO_3xAi.js → chunk-WFRQ32O7-BKSf4yCO.js} +1 -1
- package/dist/{chunk-WFWHJNB7-CO2PO-xj.js → chunk-WFWHJNB7-B1Zzkj_f.js} +1 -1
- package/dist/{chunk-XRWGC2XP-NEUwjXBT.js → chunk-XRWGC2XP-Bo8DlVQO.js} +1 -1
- package/dist/{chunk-ZPAFE4SF-CyeNhdPx.js → chunk-ZPAFE4SF-CmteRP75.js} +1 -1
- package/dist/classDiagram-KNZD7YFC-ZbE61oE0.js +40 -0
- package/dist/classDiagram-v2-RKCZMP56-BqhgFvho.js +40 -0
- package/dist/cmake-l0t4JJ7s.js +4 -0
- package/dist/{cobol-lK28EtZf.js → cobol-DJP1EK1j.js} +4 -4
- package/dist/{coffee-BSXLyDD2.js → coffee-CC5nEIi9.js} +1 -1
- package/dist/{cose-bilkent-S5V4N54A-Cj0MgFkf.js → cose-bilkent-S5V4N54A-DKXAkYs4.js} +3 -3
- package/dist/cpp-ANCO5onE.js +8 -0
- package/dist/{cpp-BChLOGjC.js → cpp-D9LYqqPp.js} +3 -3
- package/dist/{crystal-CO99xfcp.js → crystal-BRqcx7ej.js} +6 -6
- package/dist/csharp-Bz76NQ_J.js +4 -0
- package/dist/css-DAuWdYvT.js +4 -0
- package/dist/{dagre-5GWH7T2D-CfnBQe48.js → dagre-5GWH7T2D-NKT9rsKF.js} +17 -17
- package/dist/{data-grid-overlay-editor-Bcf9kFFc.js → data-grid-overlay-editor-awitGObA.js} +2 -2
- package/dist/{diagram-N5W7TBWH-04TOCf2a.js → diagram-N5W7TBWH-D7Lb6iTv.js} +24 -24
- package/dist/{diagram-QEK2KX5R-CUipzemR.js → diagram-QEK2KX5R-BGNlTTAr.js} +19 -19
- package/dist/{diagram-S2PKOQOG-ei2iw-oI.js → diagram-S2PKOQOG-DArsBfLb.js} +19 -19
- package/dist/diff-C7LSwbp8.js +4 -0
- package/dist/{dist-cqkd3NiL.js → dist-6NgnwCMd.js} +3 -3
- package/dist/{dist-CqazJcfk.js → dist-BDVas7u0.js} +1 -1
- package/dist/{dist-CGt0X2sV.js → dist-BeL8NYBI.js} +2 -2
- package/dist/dist-BhEY2Z_n.js +14 -0
- package/dist/{dist-R4ZaAXGr.js → dist-BkgFFOsz.js} +2 -2
- package/dist/{dist-v-r4jaY5.js → dist-BoehQujB.js} +1 -1
- package/dist/{dist-D7XZ_tXQ.js → dist-C2nw9RHE.js} +1 -1
- package/dist/{dist-BGDtO7aZ.js → dist-CAS8F-hC.js} +1 -1
- package/dist/{dist-s1LnJ5PG.js → dist-CS4N5B_G.js} +1 -1
- package/dist/{dist-B4S8pyFo.js → dist-Cc9Qz-U4.js} +3 -3
- package/dist/{dist-4FDGlo3i.js → dist-CljL8T10.js} +4 -4
- package/dist/dist-Cud0QD8Y.js +10 -0
- package/dist/{dist-Bi6qs7up.js → dist-D9rISDoI.js} +1 -1
- package/dist/dist-D9t6fT6i.js +10 -0
- package/dist/{dist-CTSMnLwu.js → dist-DC47GA46.js} +805 -643
- package/dist/{dist-D0KS-m2t.js → dist-Dh6pWjSH.js} +2 -2
- package/dist/{dist-DtSssmhN.js → dist-DlI9v2Hh.js} +2 -2
- package/dist/{dist-CSq74zEj.js → dist-DyXVT1vy.js} +1 -1
- package/dist/{dist-DO00gdpV.js → dist-TdQLXZKo.js} +3 -3
- package/dist/{dist-B9WB0SFB.js → dist-WvPZl2Sl.js} +1 -1
- package/dist/{dist-B4jO5BUT.js → dist-q94GwumS.js} +1 -1
- package/dist/{dist-CmEIe_wJ.js → dist-qGG7RM7P.js} +4 -4
- package/dist/{edge-BTCHQnL0.js → edge-DeFsqb1i.js} +5 -5
- package/dist/{elixir-CCIwO0SA.js → elixir-BGD3Ym80.js} +3 -3
- package/dist/{elm-Bd8GMb2w.js → elm-sXxjAPfa.js} +2 -2
- package/dist/{erDiagram-AWTI2OKA-DOO75nhy.js → erDiagram-AWTI2OKA-Dd30FpUG.js} +21 -21
- package/dist/{erb-C2XKicEJ.js → erb-CVVq1SHo.js} +19 -19
- package/dist/{erlang-BWIWBPfK.js → erlang-CoJZUhS4.js} +1 -1
- package/dist/{error-banner-CPLhCPHA.js → error-banner-DDDPnVZA.js} +106 -104
- package/dist/esm-BC9Qw9UQ.js +4056 -0
- package/dist/{esm-DxgKy8Wv.js → esm-DDjaZl5x.js} +14 -14
- package/dist/{flowDiagram-PVAE7QVJ-AUJeRwR9.js → flowDiagram-PVAE7QVJ-Dfo2-D8K.js} +23 -23
- package/dist/{formats-oddMfm9_.js → formats-DClgE90A.js} +15 -15
- package/dist/{fortran-fixed-form-DOH2AovA.js → fortran-fixed-form-DUVqo01t.js} +1 -1
- package/dist/{fortran-free-form-DWQ7SFTN.js → fortran-free-form-e6UrnOjF.js} +1 -1
- package/dist/{fsharp-GbWUX1wo.js → fsharp-8cm272ry.js} +1 -1
- package/dist/{ganttDiagram-OWAHRB6G-d9HlXS4A.js → ganttDiagram-OWAHRB6G-CE9rMeMb.js} +10 -10
- package/dist/{gdresource-DJQ1WGjU.js → gdresource-ClFnPq3a.js} +2 -2
- package/dist/gdscript-B0LZbOIR.js +4 -0
- package/dist/gdshader-DFrJP5ei.js +4 -0
- package/dist/{git-commit-73gQ2jal.js → git-commit-BYaLl5ls.js} +1 -1
- package/dist/{git-rebase-tezkvplk.js → git-rebase-8n1RW6UD.js} +1 -1
- package/dist/{gitGraph-ZV4HHKMB-4c_I6adP.js → gitGraph-ZV4HHKMB-DGIos9rl.js} +3 -3
- package/dist/{gitGraphDiagram-NY62KEGX-BdOzqIF7.js → gitGraphDiagram-NY62KEGX-DJjzf0dH.js} +19 -19
- package/dist/{glide-data-editor-BFv4VQnc.js → glide-data-editor-CdlLXwb-.js} +94 -94
- package/dist/{glimmer-js-B4yN_cyX.js → glimmer-js-Dai0PeIS.js} +4 -4
- package/dist/{glimmer-ts-BFwzJYHf.js → glimmer-ts-D_TjaTpy.js} +4 -4
- package/dist/glsl-CxEuvrWH.js +5 -0
- package/dist/{glsl-Da3zbemV.js → glsl-CyGXCGI2.js} +1 -1
- package/dist/go-DdqSEUJy.js +4 -0
- package/dist/{graphql-DHCTQXG8.js → graphql-B1Dx1rcM.js} +4 -4
- package/dist/graphql-cxjxtpev.js +8 -0
- package/dist/{hack-Bq2SPMdZ.js → hack-DaQhTJ_x.js} +4 -4
- package/dist/{haml-DKOqVKa_.js → haml-Bp5GoYpB.js} +2 -2
- package/dist/haml-CiyF8Brn.js +6 -0
- package/dist/{handlebars-lWgxxMwE.js → handlebars-ChGgzSRK.js} +4 -4
- package/dist/haxe-DCTL_FCo.js +4 -0
- package/dist/hlsl-Bfx4Ir_v.js +4 -0
- package/dist/{html-CHICwrWt.js → html-C4wWoZph.js} +2 -2
- package/dist/html-CEOIAVhY.js +6 -0
- package/dist/{html-derivative-BvtUczEO.js → html-derivative-BBqlL-a4.js} +1 -1
- package/dist/{html-derivative-PpMnWy1w.js → html-derivative-COo0pM2g.js} +4 -4
- package/dist/{http-CL7ORkDb.js → http-BBZ3n4Nc.js} +9 -9
- package/dist/{hxml-dX0MdapH.js → hxml-B3WEmVIR.js} +1 -1
- package/dist/{info-63CPKGFF-Bz8ia4ds.js → info-63CPKGFF-BJRf7NSB.js} +3 -3
- package/dist/{infoDiagram-STP46IZ2-2N5rOSVf.js → infoDiagram-STP46IZ2-wRiL7RAF.js} +15 -15
- package/dist/java-Dg_uLDO2.js +4 -0
- package/dist/javascript-UdF6t51O.js +4 -0
- package/dist/{jinja-DsZfQ7_N.js → jinja-DIY5F3JL.js} +3 -3
- package/dist/{jison-BspgGSu_.js → jison-NvMl7ZRB.js} +1 -1
- package/dist/{journeyDiagram-BIP6EPQ6-AkLtiVmB.js → journeyDiagram-BIP6EPQ6-xE-QKfW3.js} +9 -9
- package/dist/json-DhGO17Us.js +4 -0
- package/dist/jsx-BnWl0sfU.js +4 -0
- package/dist/{julia-B_C4JiTM.js → julia-B99Wf6ks.js} +8 -8
- package/dist/{kanban-definition-6OIFK2YF-Crxg_HOg.js → kanban-definition-6OIFK2YF-xTM_lSKu.js} +15 -15
- package/dist/{katex-CTMLv-Xd.js → katex-_B79i9h_.js} +1 -1
- package/dist/{label-Dsm6T1fr.js → label-DboGLjGa.js} +193 -162
- package/dist/{latex-DoiWAlAQ.js → latex-CZecqbCK.js} +2 -2
- package/dist/less-DZgWnAzP.js +4 -0
- package/dist/{line-DBxDZ2GZ.js → line-Bm50ongk.js} +3 -3
- package/dist/{linear-B8XR-NVr.js → linear-CUCOukde.js} +2 -2
- package/dist/{liquid-Bv5Ox8yg.js → liquid-CBTCQ-BA.js} +4 -4
- package/dist/{lua-BKJ_BAEH.js → lua-BAo0xbXr.js} +1 -1
- package/dist/lua-C4LdLFQB.js +5 -0
- package/dist/main.js +12652 -12194
- package/dist/markdown-DmoiORob.js +4 -0
- package/dist/{marko-DEzr-2oj.js → marko-aJY3NB2u.js} +4 -4
- package/dist/{mdc-GC7qNQda.js → mdc-DUOD_AOa.js} +6 -6
- package/dist/{mermaid-BeGlg1JH.js → mermaid-DKh-bxRG.js} +24 -24
- package/dist/{mermaid-parser.core-C5kJ8cMb.js → mermaid-parser.core-BkBK5D-D.js} +8 -8
- package/dist/mermaid.core-BlYN1aB0.js +31 -0
- package/dist/{mermaid.core-2hDUD3tS.js → mermaid.core-DhviAB-E.js} +35 -35
- package/dist/{mhchem-ydsvRuzJ.js → mhchem-BLvV19Q1.js} +1 -1
- package/dist/{mindmap-definition-Q6HEUPPD-u3xALYXy.js → mindmap-definition-Q6HEUPPD-DhGkxCFl.js} +20 -20
- package/dist/{nginx-WYx0kjQD.js → nginx-C4wBmtSL.js} +2 -2
- package/dist/{nim-B59jjkdb.js → nim-7HUrH4-G.js} +8 -8
- package/dist/{number-overlay-editor-BJoc-iTp.js → number-overlay-editor-B7JKtSXW.js} +1 -1
- package/dist/{ordinal-DncHRC0c.js → ordinal-CgAjEHLv.js} +1 -1
- package/dist/{packet-HUATNLJX-DZeFAkmI.js → packet-HUATNLJX-COt0WQbt.js} +3 -3
- package/dist/{perl-BWXWNd9p.js → perl-DcIsham4.js} +6 -6
- package/dist/{php-B2IAnMDw.js → php-BMhhkMnI.js} +6 -6
- package/dist/php-BgNggqvM.js +11 -0
- package/dist/{pie-WTHONI2E-CcN2FpmZ.js → pie-WTHONI2E-7VABasD6.js} +3 -3
- package/dist/{pieDiagram-ADFJNKIX-B40sMFEq.js → pieDiagram-ADFJNKIX-CV46TPgr.js} +24 -24
- package/dist/postcss-BV0gPaAN.js +4 -0
- package/dist/{pug-jCrWgXoo.js → pug-C7hWP9pb.js} +3 -3
- package/dist/python-DrIYjHcK.js +4 -0
- package/dist/{qml-BvryPJl6.js → qml-4wNHxISd.js} +1 -1
- package/dist/{quadrantDiagram-LMRXKWRM-C-qFDzwP.js → quadrantDiagram-LMRXKWRM-0ohBNHBM.js} +5 -5
- package/dist/r-bWdZZY4p.js +4 -0
- package/dist/{radar-NJJJXTRR-DgOJ0Ctc.js → radar-NJJJXTRR-DEeA59xM.js} +3 -3
- package/dist/{razor-BsW9JZIF.js → razor-kE6VSkUw.js} +4 -4
- package/dist/react-vega-BFAvc6S7.js +25 -0
- package/dist/{react-vega-DDXWt_PN.js → react-vega-L8_x6Wjr.js} +1564 -845
- package/dist/regexp-Du19WMsH.js +4 -0
- package/dist/{requirementDiagram-4UW4RH46-Cl_mIh_y.js → requirementDiagram-4UW4RH46-DSnND54_.js} +20 -20
- package/dist/{rst-CRU76Z1W.js → rst-CjWaqJB3.js} +22 -22
- package/dist/{ruby-9gRRZYzM.js → ruby-CX211_l4.js} +12 -12
- package/dist/ruby-Dsch-4qr.js +22 -0
- package/dist/{sankeyDiagram-GR3RE2ED-Dm9k3dHY.js → sankeyDiagram-GR3RE2ED-C4jd7w5x.js} +6 -6
- package/dist/{sas-BDTaEI61.js → sas-Bso79j2d.js} +1 -1
- package/dist/{scss-B1u4Hrbb.js → scss-B2x0kI7c.js} +1 -1
- package/dist/scss-BHcIhkao.js +5 -0
- package/dist/sdbl-CiVVvobW.js +4 -0
- package/dist/{sequenceDiagram-C3RYC4MD-DmU9oc42.js → sequenceDiagram-C3RYC4MD-4cYnu6yf.js} +10 -10
- package/dist/{shaderlab-Bm5WmYK9.js → shaderlab-B4l4__9m.js} +1 -1
- package/dist/shellscript-Carvxcyf.js +4 -0
- package/dist/{shellsession-CN-wC7WL.js → shellsession-D-krdWsh.js} +1 -1
- package/dist/{slides-component-CZksIptv.js → slides-component-Cm9g-y7F.js} +1 -1
- package/dist/{soy-CeMP2PMh.js → soy-wFhS-Vjb.js} +3 -3
- package/dist/{sparql-M76X2Hg1.js → sparql-D6Kv-L3I.js} +1 -1
- package/dist/{spec-BotzCMo3.js → spec-B7BWIiD8.js} +3 -3
- package/dist/sql-CVP77J2a.js +4 -0
- package/dist/{src-CePha-_O.js → src-DopHipf8.js} +1 -1
- package/dist/{stata-BH7l4VD7.js → stata-1fehkWpU.js} +1 -1
- package/dist/{stateDiagram-KXAO66HF-D_SUaMYR.js → stateDiagram-KXAO66HF-Cq-ezNe-.js} +21 -21
- package/dist/stateDiagram-v2-UMBNRL4Z-QxkaR8xk.js +39 -0
- package/dist/{step-zYP-E-fB.js → step-Bixovd6W.js} +1 -1
- package/dist/stex-IzMc-wiJ.js +5 -0
- package/dist/style.css +1 -2
- package/dist/stylus-BTQe34gF.js +4 -0
- package/dist/{svelte-TwcowgfT.js → svelte-DZNFxgw8.js} +4 -4
- package/dist/{templ-BpG-MhQv.js → templ-unaxtPDu.js} +3 -3
- package/dist/tex-B02KkJuq.js +5 -0
- package/dist/{tex-CBM64lBG.js → tex-WcClzGDl.js} +1 -1
- package/dist/{time-DRnNkqSS.js → time-D5kvxFYj.js} +2 -2
- package/dist/{timeline-definition-XQNQX7LJ-BgkB1JzD.js → timeline-definition-XQNQX7LJ-HouMBLkR.js} +6 -6
- package/dist/{treemap-75Q7IDZK-CGM2jb5Y.js → treemap-75Q7IDZK-rIabFN59.js} +3 -3
- package/dist/{ts-tags-CywVDBFD.js → ts-tags-Dw16jybl.js} +9 -9
- package/dist/tsx-2o7mnE6q.js +4 -0
- package/dist/turtle-CDidgplC.js +4 -0
- package/dist/{twig-DKvQCGZl.js → twig-CTY0fjwf.js} +23 -23
- package/dist/{types-IRrkdH-H.js → types-8-7JTTaW.js} +167 -166
- package/dist/typescript-Z3djoets.js +4 -0
- package/dist/{useAsyncData-CsSW6_Zh.js → useAsyncData-_ejUTnFA.js} +1 -1
- package/dist/{useTheme-D56Xlrez.js → useTheme-Cpx27F7Z.js} +4 -2
- package/dist/{vega-component-CLjz4see.js → vega-component-r6NkLfxM.js} +213 -212
- package/dist/{vue-CUZawI_b.js → vue-BjZgU5Nz.js} +6 -6
- package/dist/vue-DhUZPDmo.js +10 -0
- package/dist/{vue-html-Bx7_HmU0.js → vue-html-C4EmFqJx.js} +7 -7
- package/dist/{vue-vine-9w78JPDc.js → vue-vine-DrjIj56i.js} +11 -11
- package/dist/{xml-CEIIhUsl.js → xml-BgKyT7dU.js} +1 -1
- package/dist/xml-C7KksLEJ.js +5 -0
- package/dist/{xsl-BynZr4Sw.js → xsl-9daNus4h.js} +2 -2
- package/dist/{xychartDiagram-6GGTOJPD-u5660hzT.js → xychartDiagram-6GGTOJPD-DkDWjoGr.js} +16 -16
- package/dist/yaml-zmBXofFy.js +4 -0
- package/package.json +8 -8
- package/src/components/chat/acp/blocks.tsx +1 -1
- package/src/components/chat/chat-panel.tsx +1 -1
- package/src/components/chat/reasoning-accordion.tsx +1 -1
- package/src/components/data-table/__tests__/columns.test.tsx +143 -1
- package/src/components/data-table/__tests__/url-detector.test.tsx +92 -1
- package/src/components/data-table/columns.tsx +34 -17
- package/src/components/data-table/download-actions.tsx +16 -8
- package/src/components/data-table/row-viewer-panel/row-viewer.tsx +5 -5
- package/src/components/data-table/url-detector.tsx +43 -0
- package/src/components/datasources/utils.ts +7 -0
- package/src/components/editor/ai/ai-completion-editor.tsx +6 -3
- package/src/components/editor/cell/CreateCellButton.tsx +98 -88
- package/src/components/editor/chrome/panels/packages-panel.tsx +1 -1
- package/src/components/editor/chrome/types.ts +7 -0
- package/src/components/editor/file-tree/__tests__/file-expolorer.test.ts +1 -0
- package/src/components/editor/file-tree/file-explorer.tsx +6 -5
- package/src/components/editor/notebook-cell.tsx +27 -25
- package/src/components/editor/output/__tests__/ansi-reduce.test.ts +8 -0
- package/src/components/editor/output/ansi-reduce.ts +7 -4
- package/src/components/editor/renderers/grid-layout/grid-layout.tsx +35 -3
- package/src/components/ui/table.tsx +1 -1
- package/src/core/ai/tools/__tests__/edit-notebook-tool.test.ts +156 -10
- package/src/core/ai/tools/__tests__/registry.test.ts +35 -1
- package/src/core/ai/tools/edit-notebook-tool.ts +86 -45
- package/src/core/cells/__tests__/logs.test.ts +371 -0
- package/src/core/cells/logs.ts +16 -5
- package/src/core/codemirror/__tests__/format.test.ts +28 -2
- package/src/core/codemirror/copilot/copilot-config.tsx +1 -1
- package/src/core/codemirror/editing/commands.ts +4 -3
- package/src/core/codemirror/format.ts +105 -7
- package/src/core/codemirror/language/languages/sql/completion-store.ts +1 -1
- package/src/core/codemirror/language/languages/sql/sql.ts +8 -1
- package/src/core/codemirror/language/languages/sql/utils.ts +15 -0
- package/src/core/codemirror/language/panel/panel.tsx +1 -1
- package/src/core/config/config-schema.ts +3 -3
- package/src/core/websocket/useMarimoWebSocket.tsx +1 -1
- package/src/css/app/Cell.css +6 -1
- package/src/plugins/impl/DateTimePickerPlugin.tsx +3 -1
- package/src/plugins/impl/__tests__/DateTimePickerPlugin.test.tsx +3 -0
- package/src/plugins/impl/common/error-banner.tsx +7 -3
- package/src/plugins/impl/vega/VegaPlugin.tsx +1 -0
- package/src/plugins/impl/vega/vega-component.tsx +26 -5
- package/src/plugins/layout/__test__/ProgressPlugin.test.ts +1 -1
- package/dist/Combination-D68fi0fY.js +0 -2504
- package/dist/angular-html-BcsYKZNy.js +0 -7
- package/dist/c-RhvfrIXd.js +0 -4
- package/dist/classDiagram-KNZD7YFC-BwfV2ECJ.js +0 -40
- package/dist/classDiagram-v2-RKCZMP56-CdtBTwGN.js +0 -40
- package/dist/cmake-Dv9WBQ8F.js +0 -4
- package/dist/cpp-De3HlDQp.js +0 -8
- package/dist/csharp-DONDYcLD.js +0 -4
- package/dist/css-KrVDDZJI.js +0 -4
- package/dist/diff-C_xoFltE.js +0 -4
- package/dist/dist-C_ywAD_6.js +0 -10
- package/dist/dist-Umyw8yf9.js +0 -10
- package/dist/download-Bb5BCMXq.js +0 -145
- package/dist/esm-Cjo4c4Vw.js +0 -2188
- package/dist/gdscript-CCtCxlxC.js +0 -4
- package/dist/gdshader-DRsZz2Lo.js +0 -4
- package/dist/glsl-Bpd55IJK.js +0 -5
- package/dist/go-BZbX8CmG.js +0 -4
- package/dist/graphql-C3W9lZa9.js +0 -8
- package/dist/haml-0dNTXdjh.js +0 -6
- package/dist/haxe-D67WIBdi.js +0 -4
- package/dist/hlsl-A_Yq2Muj.js +0 -4
- package/dist/html-C6ObPTU5.js +0 -6
- package/dist/java-BFakZb2S.js +0 -4
- package/dist/javascript-B8ZNE_3R.js +0 -4
- package/dist/json-CVwA-VKM.js +0 -4
- package/dist/jsx-TsEBgZMR.js +0 -4
- package/dist/less-R7I1oHvn.js +0 -4
- package/dist/lua-CdOJTa1m.js +0 -5
- package/dist/markdown-Czm489_C.js +0 -4
- package/dist/mermaid.core-D5NqLRbX.js +0 -31
- package/dist/php-B2RrCM5T.js +0 -11
- package/dist/postcss-CK8yd697.js +0 -4
- package/dist/python-BAyuw8wl.js +0 -4
- package/dist/r-CMKGyVVD.js +0 -4
- package/dist/react-vega-DV2IwPx_.js +0 -25
- package/dist/regexp-C-NGZx14.js +0 -4
- package/dist/ruby-DC1LiM9o.js +0 -22
- package/dist/scss-9LDy_1oh.js +0 -5
- package/dist/sdbl-Cauk10zS.js +0 -4
- package/dist/shellscript-DPV_oGnY.js +0 -4
- package/dist/sql-BuUisnb3.js +0 -4
- package/dist/stateDiagram-v2-UMBNRL4Z-DdAPrjTz.js +0 -39
- package/dist/stex-BPCIi6ix.js +0 -5
- package/dist/stylus-BzfQ5p6U.js +0 -4
- package/dist/tex-DKaqHjWi.js +0 -5
- package/dist/tsx-CAS2Oalp.js +0 -4
- package/dist/turtle-Dqog6asB.js +0 -4
- package/dist/typescript-DHHJAsKz.js +0 -4
- package/dist/vue-DiyvUvuo.js +0 -10
- package/dist/xml-wE_-A0vH.js +0 -5
- package/dist/yaml-5htSumZI.js +0 -4
- /package/dist/{ImageComparisonComponent-DTO3nRq-.js → ImageComparisonComponent-CXBJ7S4z.js} +0 -0
- /package/dist/{abap-Cnc1m8d-.js → abap-I2cGjSH1.js} +0 -0
- /package/dist/{actionscript-3-g8zBgLKw.js → actionscript-3-DL1yGs6S.js} +0 -0
- /package/dist/{ada-MlSLvfsc.js → ada-BkGUMHAC.js} +0 -0
- /package/dist/{andromeeda-CkQePh6_.js → andromeeda-BWSHGuDt.js} +0 -0
- /package/dist/{apache-Cp-BBvQI.js → apache-DRnLyMnR.js} +0 -0
- /package/dist/{apex-CID9_iW1.js → apex-CA0TS4zn.js} +0 -0
- /package/dist/{applescript-Bv6vEFim.js → applescript-B8vB3y-q.js} +0 -0
- /package/dist/{ara-l5FvBxcT.js → ara-C0et56O5.js} +0 -0
- /package/dist/{array-lX94FrxB.js → array-vD2Vw0bk.js} +0 -0
- /package/dist/{asciidoc-BpLzRCLD.js → asciidoc-a6FHzc0d.js} +0 -0
- /package/dist/{asm-CxMfzk9G.js → asm-3DPfbryP.js} +0 -0
- /package/dist/{asterisk-Cbdk9I7-.js → asterisk-CbqErmo8.js} +0 -0
- /package/dist/{aurora-x-BmJfZyvk.js → aurora-x-Cq0GoPAm.js} +0 -0
- /package/dist/{awk-DZbdMF01.js → awk-GgrsjT7w.js} +0 -0
- /package/dist/{ayu-dark-Ce21p_3j.js → ayu-dark-BOgp0yX0.js} +0 -0
- /package/dist/{ballerina-6WMbs5Nh.js → ballerina-DErPOQth.js} +0 -0
- /package/dist/{bat-D70SunD8.js → bat-CkhnPpIS.js} +0 -0
- /package/dist/{beancount-DtkuCj7H.js → beancount-Rkl6N3Po.js} +0 -0
- /package/dist/{berry-DbfHEJGk.js → berry-C0cFa9Eb.js} +0 -0
- /package/dist/{bibtex-Cl9qlt9d.js → bibtex-PErECouH.js} +0 -0
- /package/dist/{bicep-0zpjixSE.js → bicep-B9tJFYg8.js} +0 -0
- /package/dist/{c-0VtUNZe8.js → c-xZK3SMJX.js} +0 -0
- /package/dist/{cadence-D2-Gq0t7.js → cadence-D2lNr2F0.js} +0 -0
- /package/dist/{catppuccin-frappe-DFz6L_QP.js → catppuccin-frappe-CEY1tx7K.js} +0 -0
- /package/dist/{catppuccin-latte-DSTm5iMg.js → catppuccin-latte-BjeOZATb.js} +0 -0
- /package/dist/{catppuccin-macchiato-D5cPlFDN.js → catppuccin-macchiato-HTrdL1Py.js} +0 -0
- /package/dist/{catppuccin-mocha-BBVxciDI.js → catppuccin-mocha-DaNBfKBN.js} +0 -0
- /package/dist/{chunk-57QY23SG-B6p-8LKm.js → chunk-57QY23SG-CtPsoWDn.js} +0 -0
- /package/dist/{clarity-CTtLMvQr.js → clarity-Di3YnyD4.js} +0 -0
- /package/dist/{click-outside-container-CR-VHaIe.js → click-outside-container-DnKND-Y5.js} +0 -0
- /package/dist/{clojure-CQ_s11PN.js → clojure-BaI1cLwf.js} +0 -0
- /package/dist/{cmake-DF99YgK0.js → cmake-Ct5KlIlx.js} +0 -0
- /package/dist/{codeowners-CRbICvXw.js → codeowners-B47SmYv4.js} +0 -0
- /package/dist/{codeql-DzUBsQZ9.js → codeql-C-RyBs2A.js} +0 -0
- /package/dist/{colors-C2w3uhVQ.js → colors-c_1kHhMM.js} +0 -0
- /package/dist/{common-keywords-D7noiVjl.js → common-keywords-qG52oQhe.js} +0 -0
- /package/dist/{common-lisp-CkedN1Bk.js → common-lisp-BEkqGRVt.js} +0 -0
- /package/dist/{coq-B7OBnzDw.js → coq-BMELwi0x.js} +0 -0
- /package/dist/{csharp-nXluFhrZ.js → csharp-D8kGQl5L.js} +0 -0
- /package/dist/{css-CPr1yM7G.js → css-D91D9ZFJ.js} +0 -0
- /package/dist/{csv-BTyvW9Dm.js → csv-DsiEeqZB.js} +0 -0
- /package/dist/{cue-CtcusocM.js → cue-Bd4pPCrb.js} +0 -0
- /package/dist/{cypher-BCo9_Gxf.js → cypher-CY6X1_fR.js} +0 -0
- /package/dist/{cytoscape.esm-CeO110wc.js → cytoscape.esm-D3qnLru1.js} +0 -0
- /package/dist/{d-qe1Yx8Pk.js → d-Dq3ZvYXH.js} +0 -0
- /package/dist/{dark-plus-COhL9N0K.js → dark-plus-DAkssByr.js} +0 -0
- /package/dist/{dart-C-zwBpkD.js → dart-CRwsUVcK.js} +0 -0
- /package/dist/{dax-9HVn3jKI.js → dax-yCcjIsFY.js} +0 -0
- /package/dist/{desktop-DcOWBslk.js → desktop-F3trsLZp.js} +0 -0
- /package/dist/{diff-0HrJYevs.js → diff-oSoYkmE6.js} +0 -0
- /package/dist/{dist-Ck_uei4a.js → dist-BEBl1fVc.js} +0 -0
- /package/dist/{dist-BOoOMWpw.js → dist-L1A29jng.js} +0 -0
- /package/dist/{dist-CFOn9U6a.js → dist-RsSoJ-Ow.js} +0 -0
- /package/dist/{dist-BLj2WRAk.js → dist-WgdRzo73.js} +0 -0
- /package/dist/{dist-Dndqm_ya.js → dist-_HymStvo.js} +0 -0
- /package/dist/{dist-B9BklWGT.js → dist-zlCh7zB9.js} +0 -0
- /package/dist/{docker-oHtI3hEB.js → docker-CzW3fUnV.js} +0 -0
- /package/dist/{dockerfile-DSCH583m.js → dockerfile-TsgC6Bmm.js} +0 -0
- /package/dist/{dotenv-sY_xnKYe.js → dotenv-C5RAv6mV.js} +0 -0
- /package/dist/{dracula-Bh9RLqOx.js → dracula-0J2lfdjD.js} +0 -0
- /package/dist/{dracula-soft-Cvp6b01Z.js → dracula-soft-CZX9ZgRW.js} +0 -0
- /package/dist/{dream-maker-6snTsD3J.js → dream-maker-D668Dv7O.js} +0 -0
- /package/dist/{duckdb-keywords-BCq77yXm.js → duckdb-keywords-DHIKlX_6.js} +0 -0
- /package/dist/{ebnf-BnX_o_Yq.js → ebnf-spWsoNeW.js} +0 -0
- /package/dist/{emacs-lisp-C6oq3DLk.js → emacs-lisp-9r6Oy_vR.js} +0 -0
- /package/dist/{everforest-dark-BYBypIqM.js → everforest-dark-BV3p6ZTT.js} +0 -0
- /package/dist/{everforest-light-D4mfI1FM.js → everforest-light-D4viDjQH.js} +0 -0
- /package/dist/{fcl-DDKjgNry.js → fcl-DOHQxani.js} +0 -0
- /package/dist/{fennel-C4o5c4mv.js → fennel-DdgItcQL.js} +0 -0
- /package/dist/{fish-BD9AkN7o.js → fish-Dah-0_yV.js} +0 -0
- /package/dist/{fluent-eCvhADRq.js → fluent-Dkmhuwpv.js} +0 -0
- /package/dist/{fortran-free-form-CuTQJQMN.js → fortran-free-form-DNLybXh-.js} +0 -0
- /package/dist/{gdscript-B40Spm2S.js → gdscript-DtYBhJ1b.js} +0 -0
- /package/dist/{gdshader-BZSmNWVa.js → gdshader-BV2VMgVk.js} +0 -0
- /package/dist/{genie-Cy_D8EWg.js → genie-BFMUrkvN.js} +0 -0
- /package/dist/{gherkin-ct-w1STV.js → gherkin-DppeDWDv.js} +0 -0
- /package/dist/{github-dark-CbIY86Wd.js → github-dark-D29L3HCC.js} +0 -0
- /package/dist/{github-dark-default-BlPRzuGs.js → github-dark-default-n3il8rgM.js} +0 -0
- /package/dist/{github-dark-dimmed-CwyHPTp3.js → github-dark-dimmed-oz4y0Wki.js} +0 -0
- /package/dist/{github-dark-high-contrast-Ch3E28Ga.js → github-dark-high-contrast-By7F7Fv0.js} +0 -0
- /package/dist/{github-light-BM3RayZ2.js → github-light-CWUlQb3u.js} +0 -0
- /package/dist/{github-light-default-BWhIdJf6.js → github-light-default-BffED7Ak.js} +0 -0
- /package/dist/{github-light-high-contrast-CKsJGAYi.js → github-light-high-contrast-Pu6OZUhP.js} +0 -0
- /package/dist/{gleam-Cwu_dIV7.js → gleam-BUcDYi_k.js} +0 -0
- /package/dist/{gnuplot-W2uzVV04.js → gnuplot-C1MgslgQ.js} +0 -0
- /package/dist/{go-C0N7iCwo.js → go-CYZiZRxy.js} +0 -0
- /package/dist/{groovy-BCFsp4zc.js → groovy-ClTIQGUH.js} +0 -0
- /package/dist/{gruvbox-dark-hard-DMFH1kAD.js → gruvbox-dark-hard-Bp86g2V_.js} +0 -0
- /package/dist/{gruvbox-dark-medium-DiHZEQva.js → gruvbox-dark-medium-BK2iIEfy.js} +0 -0
- /package/dist/{gruvbox-dark-soft-De9URWso.js → gruvbox-dark-soft-B_0xgXvI.js} +0 -0
- /package/dist/{gruvbox-light-hard-DzokvGK_.js → gruvbox-light-hard-DBlpi77o.js} +0 -0
- /package/dist/{gruvbox-light-medium-C4psEnS5.js → gruvbox-light-medium-CAccdTaF.js} +0 -0
- /package/dist/{gruvbox-light-soft-DL0f_6un.js → gruvbox-light-soft-DcO-EcR5.js} +0 -0
- /package/dist/{haskell-CDLvQWXZ.js → haskell-A1vUYtej.js} +0 -0
- /package/dist/{haxe-CLjmCvGB.js → haxe-DnHFv-TV.js} +0 -0
- /package/dist/{hcl-COL_PBAE.js → hcl-CU6j-Xhf.js} +0 -0
- /package/dist/{hjson-DkR4GFDO.js → hjson-ClOjKSoB.js} +0 -0
- /package/dist/{hlsl-BJKnqnDQ.js → hlsl-Q52_rKUP.js} +0 -0
- /package/dist/{houston-DYwZabvW.js → houston-DGG5Ln2h.js} +0 -0
- /package/dist/{http-2MVb-dsB.js → http-BgHOhKz2.js} +0 -0
- /package/dist/{hy-OsbjMwY0.js → hy-Bja9Numd.js} +0 -0
- /package/dist/{imba-Ddkaio98.js → imba-HOr9EX5j.js} +0 -0
- /package/dist/{ini-CNrkD-OZ.js → ini-EvmYJ-83.js} +0 -0
- /package/dist/{init-BU4YGOOg.js → init-BsH2JjGd.js} +0 -0
- /package/dist/{java-Ci6qXyg1.js → java-91iGU5ap.js} +0 -0
- /package/dist/{javascript-URuDoMWW.js → javascript-CPeJGbMe.js} +0 -0
- /package/dist/{json-DX7TV6Gi.js → json-N0VDmGwx.js} +0 -0
- /package/dist/{json5-Djp3uvi3.js → json5-BC1TPZZb.js} +0 -0
- /package/dist/{jsonc-XlYTIqzR.js → jsonc-B88-mC9I.js} +0 -0
- /package/dist/{jsonl-GwfHzMab.js → jsonl-CXu8ax4T.js} +0 -0
- /package/dist/{jsonnet-CPv7P6JN.js → jsonnet-0HtPQpiV.js} +0 -0
- /package/dist/{jssm-DdbAawAp.js → jssm-Bk3koTsK.js} +0 -0
- /package/dist/{jsx-DkGuBjr4.js → jsx-Cbdt0xgS.js} +0 -0
- /package/dist/{kanagawa-dragon-Vs6U6z1S.js → kanagawa-dragon-6wkRCL1O.js} +0 -0
- /package/dist/{kanagawa-lotus-Buvs3lt0.js → kanagawa-lotus-21R5pwns.js} +0 -0
- /package/dist/{kanagawa-wave-Bj2TElAo.js → kanagawa-wave-DvIMpnk3.js} +0 -0
- /package/dist/{katex-DHhoxnpM.js → katex-Cymo3Ugt.js} +0 -0
- /package/dist/{kotlin-Cpc_0A7a.js → kotlin-Brxn_vmg.js} +0 -0
- /package/dist/{kusto-Co9wVBCz.js → kusto-CLSwwyw9.js} +0 -0
- /package/dist/{laserwave-Ca61-FAH.js → laserwave-D2HyGZu4.js} +0 -0
- /package/dist/{lean-C0Aa7Fsj.js → lean-C7cjnnxn.js} +0 -0
- /package/dist/{less-_PXFbiQM.js → less-Db3q8KJ4.js} +0 -0
- /package/dist/{light-plus-5ex0bkO5.js → light-plus-C2C7fw4Z.js} +0 -0
- /package/dist/{llvm-BbKHoWwP.js → llvm-DAIyCtJL.js} +0 -0
- /package/dist/{log-CAfpKA3d.js → log-vTaTH8PJ.js} +0 -0
- /package/dist/{logo-_JZv2_m7.js → logo-D9tY6FNo.js} +0 -0
- /package/dist/{luau-By4kXsmQ.js → luau-IjR5-Ywl.js} +0 -0
- /package/dist/{main-BeKMoTBP.js → main-CRpnHr48.js} +0 -0
- /package/dist/{make-BRzozWYB.js → make-Cu-cnuA_.js} +0 -0
- /package/dist/{markdown-DBlXv3d9.js → markdown-C5F3cvct.js} +0 -0
- /package/dist/{marked.esm-CqJtK50L.js → marked.esm-DpOvkPbZ.js} +0 -0
- /package/dist/{material-theme-UdvytYzK.js → material-theme-DC62_X77.js} +0 -0
- /package/dist/{material-theme-darker-ifWxjE_M.js → material-theme-darker-ZdvrV-zE.js} +0 -0
- /package/dist/{material-theme-lighter-BJMt_hpe.js → material-theme-lighter-CjF6eqam.js} +0 -0
- /package/dist/{material-theme-ocean-DBLAtuvq.js → material-theme-ocean-B1OEP8g-.js} +0 -0
- /package/dist/{material-theme-palenight-D_bLdV4c.js → material-theme-palenight-DG7XKA0s.js} +0 -0
- /package/dist/{math-B9kWnSVt.js → math-kvEWD7RZ.js} +0 -0
- /package/dist/{matlab-SZvC4TdD.js → matlab-Bkgl6cmi.js} +0 -0
- /package/dist/{mdx-FGsuIggU.js → mdx-B3dxoxO_.js} +0 -0
- /package/dist/{mermaid-Bq_9A0K_.js → mermaid-Vk73zc_P.js} +0 -0
- /package/dist/{min-dark-CXAX-ZXK.js → min-dark-BXnwqHsA.js} +0 -0
- /package/dist/{min-light-BCnp1thB.js → min-light-t8HWsGPD.js} +0 -0
- /package/dist/{mipsasm-B5qmQK6W.js → mipsasm-DM3DsUwR.js} +0 -0
- /package/dist/{mojo-GIDM7_y7.js → mojo-CgJHtiXY.js} +0 -0
- /package/dist/{monokai-DL7jaPcf.js → monokai-CRI7M-ed.js} +0 -0
- /package/dist/{move-DRJvkv3E.js → move-DQHQ0ily.js} +0 -0
- /package/dist/{narrat-v6fb47Is.js → narrat-UVO3rS1B.js} +0 -0
- /package/dist/{nextflow-C602gAKa.js → nextflow-DrtHoX7E.js} +0 -0
- /package/dist/{nginx-xAcu9XCN.js → nginx-DJ7UgEOR.js} +0 -0
- /package/dist/{night-owl-Q-U_lEu6.js → night-owl-Ci5d2mya.js} +0 -0
- /package/dist/{nix-BRjH373I.js → nix-Cgk0qZB-.js} +0 -0
- /package/dist/{nord-CRIAyay1.js → nord-D3dA8PCc.js} +0 -0
- /package/dist/{nushell-5Ddvrppp.js → nushell-smo4Ehcx.js} +0 -0
- /package/dist/{objective-c-zrea_Ajz.js → objective-c-CVuojEvS.js} +0 -0
- /package/dist/{objective-cpp-BMgGRJTH.js → objective-cpp-Bpp59CkK.js} +0 -0
- /package/dist/{ocaml-Cc5CTR8t.js → ocaml-DYQwODYU.js} +0 -0
- /package/dist/{one-dark-pro-cEF3x_tc.js → one-dark-pro-CdYrsWA6.js} +0 -0
- /package/dist/{one-light-B0buW1FQ.js → one-light-B0fXewxa.js} +0 -0
- /package/dist/{pascal-C5MhYtdx.js → pascal-G_r9auPk.js} +0 -0
- /package/dist/{path-B-wCTTNY.js → path-DIzMdTua.js} +0 -0
- /package/dist/{plastic-4xY83A97.js → plastic-CC7C-r0m.js} +0 -0
- /package/dist/{plsql-DiS5vMuw.js → plsql-DmZBDDMQ.js} +0 -0
- /package/dist/{po-CE5EllyY.js → po-Bdl0SmZa.js} +0 -0
- /package/dist/{poimandres-C02cLu8D.js → poimandres-BPoRyzO_.js} +0 -0
- /package/dist/{polar-NxJPG_A1.js → polar-DdEuU550.js} +0 -0
- /package/dist/{postcss-BKFdDTSc.js → postcss-DgtXUb_w.js} +0 -0
- /package/dist/{powerquery-ClOwEHrw.js → powerquery-D5rcV1b7.js} +0 -0
- /package/dist/{powershell-DtnsETbd.js → powershell-CreFd35r.js} +0 -0
- /package/dist/{prisma-DQRqqd02.js → prisma-BSSS_9KD.js} +0 -0
- /package/dist/{prolog-BXwR1iEr.js → prolog-Cxq7ex3-.js} +0 -0
- /package/dist/{proto-DbdCTNJQ.js → proto-Di89JUpw.js} +0 -0
- /package/dist/{puppet-C0fmEeZ8.js → puppet-D-8yt0A2.js} +0 -0
- /package/dist/{purescript-DCzClV2L.js → purescript-Dsyys8lw.js} +0 -0
- /package/dist/{python-C9XsBnIS.js → python-DyJn0gY6.js} +0 -0
- /package/dist/{qmldir-BgPLvM_B.js → qmldir-Djlda7Cs.js} +0 -0
- /package/dist/{qss-DH_QKtyV.js → qss-DtDj95Ib.js} +0 -0
- /package/dist/{r-CE7tet3U.js → r-9vHvMbjq.js} +0 -0
- /package/dist/{racket-BXFuJ8S4.js → racket-BQnOONmJ.js} +0 -0
- /package/dist/{raku-BV2f5Bfp.js → raku-DZArQH1C.js} +0 -0
- /package/dist/{react-plotly-BSDG5040.js → react-plotly-B8bzf42j.js} +0 -0
- /package/dist/{red-NReit8D_.js → red-DdIrZaxO.js} +0 -0
- /package/dist/{reg-y78MnffL.js → reg-CM_FOY35.js} +0 -0
- /package/dist/{regexp-BkaqnlX1.js → regexp-Dh_KbmYB.js} +0 -0
- /package/dist/{rel-ChUSBGxs.js → rel-Cf8vFh7G.js} +0 -0
- /package/dist/{riscv-Cw3bJM3f.js → riscv-DFLesDmH.js} +0 -0
- /package/dist/{rose-pine-C_LOz2fx.js → rose-pine-C6TQipgc.js} +0 -0
- /package/dist/{rose-pine-dawn-DAyopyJp.js → rose-pine-dawn-DUw8_6c0.js} +0 -0
- /package/dist/{rose-pine-moon-D65s7ycF.js → rose-pine-moon-5rpZhuOi.js} +0 -0
- /package/dist/{rust-CNYdgIe2.js → rust-CLaTh4j5.js} +0 -0
- /package/dist/{sass-CTLsc-He.js → sass-DXaowKfb.js} +0 -0
- /package/dist/{scala-DAvnmlLT.js → scala-BwYNCkHH.js} +0 -0
- /package/dist/{scheme-BQ8akAiY.js → scheme-Cwv1j_5J.js} +0 -0
- /package/dist/{sdbl-BqdEdxub.js → sdbl-ZWGgjiIv.js} +0 -0
- /package/dist/{shellscript-SX0nv4lc.js → shellscript-CHtXIYYk.js} +0 -0
- /package/dist/{slack-dark-DP48wn3J.js → slack-dark-CEL96wwz.js} +0 -0
- /package/dist/{slack-ochin-JvZjQMr4.js → slack-ochin-Ih8BUTjo.js} +0 -0
- /package/dist/{smalltalk-Cd_zoqRt.js → smalltalk-Bz_Wq6O1.js} +0 -0
- /package/dist/{snazzy-light-Dn5RlLOZ.js → snazzy-light-BtCbn8qt.js} +0 -0
- /package/dist/{solarized-dark-juR81_fw.js → solarized-dark-2ncbM9MD.js} +0 -0
- /package/dist/{solarized-light-U1mjAkaE.js → solarized-light-Bw0RlZC7.js} +0 -0
- /package/dist/{solidity-DfzZ5d-O.js → solidity-Dl1Szhqk.js} +0 -0
- /package/dist/{solr-CNZE5yrI.js → solr-Kwz1kGU1.js} +0 -0
- /package/dist/{splunk-K8fn70fG.js → splunk-D_aQa7Wj.js} +0 -0
- /package/dist/{spreadsheet-DQPJGjZQ.js → spreadsheet-D6FABxcn.js} +0 -0
- /package/dist/{sql-CAF6o9lq.js → sql-Bl2dBUIk.js} +0 -0
- /package/dist/{sql-DRtPaiem.js → sql-ZN4U_4B1.js} +0 -0
- /package/dist/{ssh-config-BXqbrXDi.js → ssh-config-BZDNWhA1.js} +0 -0
- /package/dist/{stex-D1sWhacG.js → stex-B5cVJDuZ.js} +0 -0
- /package/dist/{stylus-C_YQrfMD.js → stylus-ByL4A079.js} +0 -0
- /package/dist/{swift-Ceo6tYUp.js → swift-scoJKQVi.js} +0 -0
- /package/dist/{synthwave-84-CHXFapSW.js → synthwave-84-DKtuD_wy.js} +0 -0
- /package/dist/{system-verilog-D4CJAYbc.js → system-verilog-Bv-1IX35.js} +0 -0
- /package/dist/{systemd-CHq8PvwE.js → systemd-BzGxwp-W.js} +0 -0
- /package/dist/{talonscript-D6aZJv_Q.js → talonscript-BSbePVqO.js} +0 -0
- /package/dist/{tasl-BWmlUeU7.js → tasl-BA3aDFU3.js} +0 -0
- /package/dist/{tcl-C3YCHzLh.js → tcl-BAw9Lg69.js} +0 -0
- /package/dist/{terraform-y7dSvHa7.js → terraform-D50En-Co.js} +0 -0
- /package/dist/{tiddlywiki-DotFbxlj.js → tiddlywiki-Bl1_jWGY.js} +0 -0
- /package/dist/{tiki-cZC65BMY.js → tiki-BDy2Aqau.js} +0 -0
- /package/dist/{timer--XD4eQXe.js → timer-Dde4NBPL.js} +0 -0
- /package/dist/{tokyo-night-A0-IVocs.js → tokyo-night-DXO9qP_t.js} +0 -0
- /package/dist/{toml-OrfgdRYt.js → toml-Cubg1uUB.js} +0 -0
- /package/dist/{treemap-BjIqNFzX.js → treemap-BLQ6nYXt.js} +0 -0
- /package/dist/{tsv-B2Hf1H8S.js → tsv-vZzoqqJp.js} +0 -0
- /package/dist/{tsx-DGPbtVdN.js → tsx-LnCcyy2E.js} +0 -0
- /package/dist/{turtle-DsNtk6IM.js → turtle-CMwgyTdm.js} +0 -0
- /package/dist/{typescript-CCzz7yCV.js → typescript-B5rt_l9e.js} +0 -0
- /package/dist/{typespec-DUIO3iAy.js → typespec-CkLBOALm.js} +0 -0
- /package/dist/{typst-CzQn6sYd.js → typst-C-inGA8y.js} +0 -0
- /package/dist/{v-DDSEES9z.js → v-CFTQQNNR.js} +0 -0
- /package/dist/{vala-Cbu40xKX.js → vala-CEP8R4Sr.js} +0 -0
- /package/dist/{vb-DtlqoV5V.js → vb-LCy_gAYP.js} +0 -0
- /package/dist/{verilog-CCzhlD5Z.js → verilog-CjetHjeY.js} +0 -0
- /package/dist/{vesper-DJTKEjYY.js → vesper-C1ptU1oI.js} +0 -0
- /package/dist/{vhdl-DDdF26gx.js → vhdl-BwoGC9LM.js} +0 -0
- /package/dist/{viml-Csgqqvxa.js → viml-CydZIHfP.js} +0 -0
- /package/dist/{vitesse-black-B_9_MY9n.js → vitesse-black-C-p75DbZ.js} +0 -0
- /package/dist/{vitesse-dark-5oLbBBDP.js → vitesse-dark-Ai-v_ovz.js} +0 -0
- /package/dist/{vitesse-light-DY7aCeME.js → vitesse-light-DQ9NGEHC.js} +0 -0
- /package/dist/{vyper-CJCjsleu.js → vyper-BF3ELXiG.js} +0 -0
- /package/dist/{wasm-DtNse08w.js → wasm-OjKRvUGa.js} +0 -0
- /package/dist/{wasm-BSZ3My3r.js → wasm-sMdbPauS.js} +0 -0
- /package/dist/{wenyan-BvPQ-H9y.js → wenyan-jAkt3eQa.js} +0 -0
- /package/dist/{wgsl-B65N7iDC.js → wgsl-C164tHZL.js} +0 -0
- /package/dist/{wikitext-BIFkMlQo.js → wikitext-DVNWOcXh.js} +0 -0
- /package/dist/{wit-DP8045yv.js → wit-BiebwFst.js} +0 -0
- /package/dist/{wolfram-DHmulSSf.js → wolfram-Dej0TMYQ.js} +0 -0
- /package/dist/{yaml-BW6YUxU4.js → yaml-D1dcMKz3.js} +0 -0
- /package/dist/{zenscript-CkfsSip8.js → zenscript-DR8tpung.js} +0 -0
- /package/dist/{zig-DxQnpavN.js → zig-DqxNCCzt.js} +0 -0
- /package/src/components/{chat → markdown}/markdown-renderer.css +0 -0
- /package/src/components/{chat → markdown}/markdown-renderer.tsx +0 -0
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as java_default } from "./java-
|
|
1
|
+
import { t as java_default } from "./java-91iGU5ap.js";
|
|
2
2
|
var lang = Object.freeze(JSON.parse(`{"displayName":"XML","name":"xml","patterns":[{"begin":"(<\\\\?)\\\\s*([-0-9A-Z_a-z]+)","captures":{"1":{"name":"punctuation.definition.tag.xml"},"2":{"name":"entity.name.tag.xml"}},"end":"(\\\\?>)","name":"meta.tag.preprocessor.xml","patterns":[{"match":" ([-A-Za-z]+)","name":"entity.other.attribute-name.xml"},{"include":"#doublequotedString"},{"include":"#singlequotedString"}]},{"begin":"(<!)(DOCTYPE)\\\\s+([:A-Z_a-z][-.0-:A-Z_a-z]*)","captures":{"1":{"name":"punctuation.definition.tag.xml"},"2":{"name":"keyword.other.doctype.xml"},"3":{"name":"variable.language.documentroot.xml"}},"end":"\\\\s*(>)","name":"meta.tag.sgml.doctype.xml","patterns":[{"include":"#internalSubset"}]},{"include":"#comments"},{"begin":"(<)((?:([-0-9A-Z_a-z]+)(:))?([-0-:A-Z_a-z]+))(?=(\\\\s[^>]*)?></\\\\2>)","beginCaptures":{"1":{"name":"punctuation.definition.tag.xml"},"2":{"name":"entity.name.tag.xml"},"3":{"name":"entity.name.tag.namespace.xml"},"4":{"name":"punctuation.separator.namespace.xml"},"5":{"name":"entity.name.tag.localname.xml"}},"end":"(>)(</)((?:([-0-9A-Z_a-z]+)(:))?([-0-:A-Z_a-z]+))(>)","endCaptures":{"1":{"name":"punctuation.definition.tag.xml"},"2":{"name":"punctuation.definition.tag.xml"},"3":{"name":"entity.name.tag.xml"},"4":{"name":"entity.name.tag.namespace.xml"},"5":{"name":"punctuation.separator.namespace.xml"},"6":{"name":"entity.name.tag.localname.xml"},"7":{"name":"punctuation.definition.tag.xml"}},"name":"meta.tag.no-content.xml","patterns":[{"include":"#tagStuff"}]},{"begin":"(</?)(?:([-.\\\\w]+)((:)))?([-.:\\\\w]+)","captures":{"1":{"name":"punctuation.definition.tag.xml"},"2":{"name":"entity.name.tag.namespace.xml"},"3":{"name":"entity.name.tag.xml"},"4":{"name":"punctuation.separator.namespace.xml"},"5":{"name":"entity.name.tag.localname.xml"}},"end":"(/?>)","name":"meta.tag.xml","patterns":[{"include":"#tagStuff"}]},{"include":"#entity"},{"include":"#bare-ampersand"},{"begin":"<%@","beginCaptures":{"0":{"name":"punctuation.section.embedded.begin.xml"}},"end":"%>","endCaptures":{"0":{"name":"punctuation.section.embedded.end.xml"}},"name":"source.java-props.embedded.xml","patterns":[{"match":"page|include|taglib","name":"keyword.other.page-props.xml"}]},{"begin":"<%[!=]?(?!--)","beginCaptures":{"0":{"name":"punctuation.section.embedded.begin.xml"}},"end":"(?!--)%>","endCaptures":{"0":{"name":"punctuation.section.embedded.end.xml"}},"name":"source.java.embedded.xml","patterns":[{"include":"source.java"}]},{"begin":"<!\\\\[CDATA\\\\[","beginCaptures":{"0":{"name":"punctuation.definition.string.begin.xml"}},"end":"]]>","endCaptures":{"0":{"name":"punctuation.definition.string.end.xml"}},"name":"string.unquoted.cdata.xml"}],"repository":{"EntityDecl":{"begin":"(<!)(ENTITY)\\\\s+(%\\\\s+)?([:A-Z_a-z][-.0-:A-Z_a-z]*)(\\\\s+(?:SYSTEM|PUBLIC)\\\\s+)?","captures":{"1":{"name":"punctuation.definition.tag.xml"},"2":{"name":"keyword.other.entity.xml"},"3":{"name":"punctuation.definition.entity.xml"},"4":{"name":"variable.language.entity.xml"},"5":{"name":"keyword.other.entitytype.xml"}},"end":"(>)","patterns":[{"include":"#doublequotedString"},{"include":"#singlequotedString"}]},"bare-ampersand":{"match":"&","name":"invalid.illegal.bad-ampersand.xml"},"comments":{"patterns":[{"begin":"<%--","captures":{"0":{"name":"punctuation.definition.comment.xml"},"end":"--%>","name":"comment.block.xml"}},{"begin":"<!--","captures":{"0":{"name":"punctuation.definition.comment.xml"}},"end":"-->","name":"comment.block.xml","patterns":[{"begin":"--(?!>)","captures":{"0":{"name":"invalid.illegal.bad-comments-or-CDATA.xml"}}}]}]},"doublequotedString":{"begin":"\\"","beginCaptures":{"0":{"name":"punctuation.definition.string.begin.xml"}},"end":"\\"","endCaptures":{"0":{"name":"punctuation.definition.string.end.xml"}},"name":"string.quoted.double.xml","patterns":[{"include":"#entity"},{"include":"#bare-ampersand"}]},"entity":{"captures":{"1":{"name":"punctuation.definition.constant.xml"},"3":{"name":"punctuation.definition.constant.xml"}},"match":"(&)([:A-Z_a-z][-.0-:A-Z_a-z]*|#[0-9]+|#x\\\\h+)(;)","name":"constant.character.entity.xml"},"internalSubset":{"begin":"(\\\\[)","captures":{"1":{"name":"punctuation.definition.constant.xml"}},"end":"(])","name":"meta.internalsubset.xml","patterns":[{"include":"#EntityDecl"},{"include":"#parameterEntity"},{"include":"#comments"}]},"parameterEntity":{"captures":{"1":{"name":"punctuation.definition.constant.xml"},"3":{"name":"punctuation.definition.constant.xml"}},"match":"(%)([:A-Z_a-z][-.0-:A-Z_a-z]*)(;)","name":"constant.character.parameter-entity.xml"},"singlequotedString":{"begin":"'","beginCaptures":{"0":{"name":"punctuation.definition.string.begin.xml"}},"end":"'","endCaptures":{"0":{"name":"punctuation.definition.string.end.xml"}},"name":"string.quoted.single.xml","patterns":[{"include":"#entity"},{"include":"#bare-ampersand"}]},"tagStuff":{"patterns":[{"captures":{"1":{"name":"entity.other.attribute-name.namespace.xml"},"2":{"name":"entity.other.attribute-name.xml"},"3":{"name":"punctuation.separator.namespace.xml"},"4":{"name":"entity.other.attribute-name.localname.xml"}},"match":"(?:^|\\\\s+)(?:([-.\\\\w]+)((:)))?([-.:\\\\w]+)\\\\s*="},{"include":"#doublequotedString"},{"include":"#singlequotedString"}]}},"scopeName":"text.xml","embeddedLangs":["java"]}`)), xml_default = [...java_default, lang];
|
|
3
3
|
export {
|
|
4
4
|
xml_default as t
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import "./java-
|
|
2
|
-
import { t as xml_default } from "./xml-
|
|
1
|
+
import "./java-91iGU5ap.js";
|
|
2
|
+
import { t as xml_default } from "./xml-BgKyT7dU.js";
|
|
3
3
|
var lang = Object.freeze(JSON.parse(`{"displayName":"XSL","name":"xsl","patterns":[{"begin":"(<)(xsl)((:))(template)","captures":{"1":{"name":"punctuation.definition.tag.xml"},"2":{"name":"entity.name.tag.namespace.xml"},"3":{"name":"entity.name.tag.xml"},"4":{"name":"punctuation.separator.namespace.xml"},"5":{"name":"entity.name.tag.localname.xml"}},"end":"(>)","name":"meta.tag.xml.template","patterns":[{"captures":{"1":{"name":"entity.other.attribute-name.namespace.xml"},"2":{"name":"entity.other.attribute-name.xml"},"3":{"name":"punctuation.separator.namespace.xml"},"4":{"name":"entity.other.attribute-name.localname.xml"}},"match":" (?:([-0-9A-Z_a-z]+)((:)))?([-A-Za-z]+)"},{"include":"#doublequotedString"},{"include":"#singlequotedString"}]},{"include":"text.xml"}],"repository":{"doublequotedString":{"begin":"\\"","beginCaptures":{"0":{"name":"punctuation.definition.string.begin.xml"}},"end":"\\"","endCaptures":{"0":{"name":"punctuation.definition.string.end.xml"}},"name":"string.quoted.double.xml"},"singlequotedString":{"begin":"'","beginCaptures":{"0":{"name":"punctuation.definition.string.begin.xml"}},"end":"'","endCaptures":{"0":{"name":"punctuation.definition.string.end.xml"}},"name":"string.quoted.single.xml"}},"scopeName":"text.xml.xsl","embeddedLangs":["xml"]}`)), xsl_default = [...xml_default, lang];
|
|
4
4
|
export {
|
|
5
5
|
xsl_default as default
|
|
@@ -3,25 +3,25 @@ import "./purify.es-DaeeWvOb.js";
|
|
|
3
3
|
import "./isArrayLikeObject-LulrZoeO.js";
|
|
4
4
|
import "./memoize-CYy6haUi.js";
|
|
5
5
|
import "./merge-B9H0db2e.js";
|
|
6
|
-
import "./marked.esm-
|
|
6
|
+
import "./marked.esm-DpOvkPbZ.js";
|
|
7
7
|
import "./precisionRound-vxMVRvgy.js";
|
|
8
|
-
import { t as linear } from "./linear-
|
|
9
|
-
import { n as ordinal } from "./ordinal-
|
|
8
|
+
import { t as linear } from "./linear-CUCOukde.js";
|
|
9
|
+
import { n as ordinal } from "./ordinal-CgAjEHLv.js";
|
|
10
10
|
import { t as range } from "./range-CqZlY8CG.js";
|
|
11
11
|
import "./defaultLocale-C98cxApy.js";
|
|
12
|
-
import "./path-
|
|
13
|
-
import "./math-
|
|
14
|
-
import "./array-
|
|
15
|
-
import "./step-
|
|
16
|
-
import { t as line_default } from "./line-
|
|
17
|
-
import { i as cleanAndMerge } from "./chunk-S3R3BYOJ-
|
|
18
|
-
import { n as initRange } from "./init-
|
|
19
|
-
import "./timer
|
|
20
|
-
import { i as log, r as __name } from "./src-
|
|
21
|
-
import { B as setAccTitle, C as getDiagramTitle, I as sanitizeText, T as getThemeVariables3, U as setDiagramTitle, _ as getAccDescription, a as clear, c as configureSvgSize, d as defaultConfig_default, v as getAccTitle, y as getConfig, z as setAccDescription } from "./chunk-ABZYJK2D-
|
|
22
|
-
import { t as selectSvgElement } from "./chunk-EXTU4WIE-
|
|
23
|
-
import "./dist-
|
|
24
|
-
import { t as computeDimensionOfText } from "./chunk-JA3XYJ7Z-
|
|
12
|
+
import "./path-DIzMdTua.js";
|
|
13
|
+
import "./math-kvEWD7RZ.js";
|
|
14
|
+
import "./array-vD2Vw0bk.js";
|
|
15
|
+
import "./step-Bixovd6W.js";
|
|
16
|
+
import { t as line_default } from "./line-Bm50ongk.js";
|
|
17
|
+
import { i as cleanAndMerge } from "./chunk-S3R3BYOJ-D8svDLcB.js";
|
|
18
|
+
import { n as initRange } from "./init-BsH2JjGd.js";
|
|
19
|
+
import "./timer-Dde4NBPL.js";
|
|
20
|
+
import { i as log, r as __name } from "./src-DopHipf8.js";
|
|
21
|
+
import { B as setAccTitle, C as getDiagramTitle, I as sanitizeText, T as getThemeVariables3, U as setDiagramTitle, _ as getAccDescription, a as clear, c as configureSvgSize, d as defaultConfig_default, v as getAccTitle, y as getConfig, z as setAccDescription } from "./chunk-ABZYJK2D-ChhHEVnH.js";
|
|
22
|
+
import { t as selectSvgElement } from "./chunk-EXTU4WIE-5gY1kHy6.js";
|
|
23
|
+
import "./dist-RsSoJ-Ow.js";
|
|
24
|
+
import { t as computeDimensionOfText } from "./chunk-JA3XYJ7Z-DoOh1zwr.js";
|
|
25
25
|
function band() {
|
|
26
26
|
var e = ordinal().unknown(void 0), w = e.domain, T = e.range, D = 0, O = 1, k, A, j = false, M = 0, N = 0, P = 0.5;
|
|
27
27
|
delete e.unknown;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@marimo-team/islands",
|
|
3
|
-
"version": "0.18.
|
|
3
|
+
"version": "0.18.1",
|
|
4
4
|
"main": "dist/main.js",
|
|
5
5
|
"types": "dist/index.d.ts",
|
|
6
6
|
"type": "module",
|
|
@@ -71,15 +71,15 @@
|
|
|
71
71
|
"@radix-ui/react-dialog": "~1.1.15",
|
|
72
72
|
"@radix-ui/react-dropdown-menu": "~2.1.16",
|
|
73
73
|
"@radix-ui/react-icons": "~1.3.2",
|
|
74
|
-
"@radix-ui/react-label": "~2.1.
|
|
74
|
+
"@radix-ui/react-label": "~2.1.8",
|
|
75
75
|
"@radix-ui/react-navigation-menu": "~1.2.14",
|
|
76
76
|
"@radix-ui/react-popover": "~1.1.15",
|
|
77
|
-
"@radix-ui/react-progress": "~1.1.
|
|
77
|
+
"@radix-ui/react-progress": "~1.1.8",
|
|
78
78
|
"@radix-ui/react-radio-group": "~1.3.8",
|
|
79
79
|
"@radix-ui/react-scroll-area": "^1.2.10",
|
|
80
80
|
"@radix-ui/react-select": "~2.2.6",
|
|
81
81
|
"@radix-ui/react-slider": "~1.3.6",
|
|
82
|
-
"@radix-ui/react-slot": "~1.2.
|
|
82
|
+
"@radix-ui/react-slot": "~1.2.4",
|
|
83
83
|
"@radix-ui/react-switch": "~1.2.6",
|
|
84
84
|
"@radix-ui/react-tabs": "~1.1.13",
|
|
85
85
|
"@radix-ui/react-toast": "~1.2.15",
|
|
@@ -168,7 +168,7 @@
|
|
|
168
168
|
"typescript-memoize": "^1.1.1",
|
|
169
169
|
"use-acp": "0.2.5",
|
|
170
170
|
"use-resize-observer": "^9.1.0",
|
|
171
|
-
"vega-lite": "6.
|
|
171
|
+
"vega-lite": "6.3.1",
|
|
172
172
|
"vega-loader": "^5.1.0",
|
|
173
173
|
"vega-parser": "^7.1.0",
|
|
174
174
|
"vega-tooltip": "^1.1.0",
|
|
@@ -225,7 +225,7 @@
|
|
|
225
225
|
"@types/timestring": "^6.0.5",
|
|
226
226
|
"@typescript-eslint/eslint-plugin": "^7.15.0",
|
|
227
227
|
"@typescript-eslint/parser": "^7.15.0",
|
|
228
|
-
"@vitejs/plugin-react": "^5.
|
|
228
|
+
"@vitejs/plugin-react": "^5.1.1",
|
|
229
229
|
"babel-plugin-react-compiler": "19.1.0-rc.3",
|
|
230
230
|
"blob-polyfill": "^7.0.20220408",
|
|
231
231
|
"cross-env": "^7.0.3",
|
|
@@ -249,9 +249,9 @@
|
|
|
249
249
|
"storybook": "^9.1.16",
|
|
250
250
|
"stylelint": "^16.23.1",
|
|
251
251
|
"stylelint-config-standard": "^36.0.1",
|
|
252
|
-
"tailwindcss": "^4.1.
|
|
252
|
+
"tailwindcss": "^4.1.17",
|
|
253
253
|
"vega-typings": "^2.1.0",
|
|
254
|
-
"vite": "npm:rolldown-vite@7.2.
|
|
254
|
+
"vite": "npm:rolldown-vite@7.2.7",
|
|
255
255
|
"vite-plugin-top-level-await": "^1.6.0",
|
|
256
256
|
"vite-plugin-wasm": "^3.5.0",
|
|
257
257
|
"vitest": "^3.2.4"
|
|
@@ -26,6 +26,7 @@ import { JsonRpcError, mergeToolCalls } from "use-acp";
|
|
|
26
26
|
import { z } from "zod";
|
|
27
27
|
import { ReadonlyDiff } from "@/components/editor/code/readonly-diff";
|
|
28
28
|
import { JsonOutput } from "@/components/editor/output/JsonOutput";
|
|
29
|
+
import { MarkdownRenderer } from "@/components/markdown/markdown-renderer";
|
|
29
30
|
import { Button } from "@/components/ui/button";
|
|
30
31
|
import {
|
|
31
32
|
Popover,
|
|
@@ -36,7 +37,6 @@ import { uniqueByTakeLast } from "@/utils/arrays";
|
|
|
36
37
|
import { logNever } from "@/utils/assertNever";
|
|
37
38
|
import { cn } from "@/utils/cn";
|
|
38
39
|
import { Strings } from "@/utils/strings";
|
|
39
|
-
import { MarkdownRenderer } from "../markdown-renderer";
|
|
40
40
|
import { SimpleAccordion } from "./common";
|
|
41
41
|
import type {
|
|
42
42
|
AgentNotificationEvent,
|
|
@@ -18,6 +18,7 @@ import {
|
|
|
18
18
|
} from "lucide-react";
|
|
19
19
|
import { memo, useEffect, useRef, useState } from "react";
|
|
20
20
|
import useEvent from "react-use-event-hook";
|
|
21
|
+
import { MarkdownRenderer } from "@/components/markdown/markdown-renderer";
|
|
21
22
|
import { Button } from "@/components/ui/button";
|
|
22
23
|
import {
|
|
23
24
|
Select,
|
|
@@ -74,7 +75,6 @@ import {
|
|
|
74
75
|
hasPendingToolCalls,
|
|
75
76
|
isLastMessageReasoning,
|
|
76
77
|
} from "./chat-utils";
|
|
77
|
-
import { MarkdownRenderer } from "./markdown-renderer";
|
|
78
78
|
import { ReasoningAccordion } from "./reasoning-accordion";
|
|
79
79
|
import { ToolCallAccordion } from "./tool-call-accordion";
|
|
80
80
|
|
|
@@ -2,13 +2,13 @@
|
|
|
2
2
|
|
|
3
3
|
import { BotMessageSquareIcon } from "lucide-react";
|
|
4
4
|
import React from "react";
|
|
5
|
+
import { MarkdownRenderer } from "@/components/markdown/markdown-renderer";
|
|
5
6
|
import {
|
|
6
7
|
Accordion,
|
|
7
8
|
AccordionContent,
|
|
8
9
|
AccordionItem,
|
|
9
10
|
AccordionTrigger,
|
|
10
11
|
} from "@/components/ui/accordion";
|
|
11
|
-
import { MarkdownRenderer } from "./markdown-renderer";
|
|
12
12
|
|
|
13
13
|
interface ReasoningAccordionProps {
|
|
14
14
|
reasoning: string;
|
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
/* Copyright 2024 Marimo. All rights reserved. */
|
|
2
2
|
|
|
3
3
|
import { render } from "@testing-library/react";
|
|
4
|
+
import { I18nProvider } from "react-aria";
|
|
4
5
|
import { describe, expect, it, test } from "vitest";
|
|
5
6
|
import { TooltipProvider } from "@/components/ui/tooltip";
|
|
6
|
-
import { generateColumns, inferFieldTypes } from "../columns";
|
|
7
|
+
import { generateColumns, inferFieldTypes, LocaleNumber } from "../columns";
|
|
7
8
|
import { getMimeValues, isMimeValue, MimeCell } from "../mime-cell";
|
|
8
9
|
import type { FieldTypesWithExternalType } from "../types";
|
|
9
10
|
import { uniformSample } from "../uniformSample";
|
|
@@ -377,3 +378,144 @@ describe("getMimeValues", () => {
|
|
|
377
378
|
expect(getMimeValues(values)).toBeUndefined();
|
|
378
379
|
});
|
|
379
380
|
});
|
|
381
|
+
|
|
382
|
+
describe("LocaleNumber", () => {
|
|
383
|
+
it("should format numbers correctly for en-US locale", () => {
|
|
384
|
+
const { container } = render(
|
|
385
|
+
<I18nProvider locale="en-US">
|
|
386
|
+
<LocaleNumber value={1_234_567.89} />
|
|
387
|
+
</I18nProvider>,
|
|
388
|
+
);
|
|
389
|
+
expect(container.textContent).toMatchInlineSnapshot(`"1,234,567.89"`);
|
|
390
|
+
});
|
|
391
|
+
|
|
392
|
+
it("should format numbers correctly for de-DE locale", () => {
|
|
393
|
+
const { container } = render(
|
|
394
|
+
<I18nProvider locale="de-DE">
|
|
395
|
+
<LocaleNumber value={1_234_567.89} />
|
|
396
|
+
</I18nProvider>,
|
|
397
|
+
);
|
|
398
|
+
expect(container.textContent).toMatchInlineSnapshot(`"1.234.567,89"`);
|
|
399
|
+
});
|
|
400
|
+
|
|
401
|
+
it("should format integers correctly", () => {
|
|
402
|
+
const { container } = render(
|
|
403
|
+
<I18nProvider locale="en-US">
|
|
404
|
+
<LocaleNumber value={1000} />
|
|
405
|
+
</I18nProvider>,
|
|
406
|
+
);
|
|
407
|
+
expect(container.textContent).toMatchInlineSnapshot(`"1,000"`);
|
|
408
|
+
});
|
|
409
|
+
|
|
410
|
+
it("should format zero correctly", () => {
|
|
411
|
+
const { container } = render(
|
|
412
|
+
<I18nProvider locale="en-US">
|
|
413
|
+
<LocaleNumber value={0} />
|
|
414
|
+
</I18nProvider>,
|
|
415
|
+
);
|
|
416
|
+
expect(container.textContent).toMatchInlineSnapshot(`"0"`);
|
|
417
|
+
});
|
|
418
|
+
|
|
419
|
+
it("should format negative numbers correctly", () => {
|
|
420
|
+
const { container } = render(
|
|
421
|
+
<I18nProvider locale="en-US">
|
|
422
|
+
<LocaleNumber value={-1234.56} />
|
|
423
|
+
</I18nProvider>,
|
|
424
|
+
);
|
|
425
|
+
expect(container.textContent).toMatchInlineSnapshot(`"-1,234.56"`);
|
|
426
|
+
});
|
|
427
|
+
|
|
428
|
+
it("should format small decimal numbers correctly", () => {
|
|
429
|
+
const { container } = render(
|
|
430
|
+
<I18nProvider locale="en-US">
|
|
431
|
+
<LocaleNumber value={0.123_456_789} />
|
|
432
|
+
</I18nProvider>,
|
|
433
|
+
);
|
|
434
|
+
expect(container.textContent).toMatchInlineSnapshot(`"0.123456789"`);
|
|
435
|
+
});
|
|
436
|
+
|
|
437
|
+
it("should format large numbers correctly", () => {
|
|
438
|
+
const { container } = render(
|
|
439
|
+
<I18nProvider locale="en-US">
|
|
440
|
+
<LocaleNumber value={999_999_999.99} />
|
|
441
|
+
</I18nProvider>,
|
|
442
|
+
);
|
|
443
|
+
expect(container.textContent).toMatchInlineSnapshot(`"999,999,999.99"`);
|
|
444
|
+
});
|
|
445
|
+
|
|
446
|
+
it("should format numbers correctly for fr-FR locale", () => {
|
|
447
|
+
const { container } = render(
|
|
448
|
+
<I18nProvider locale="fr-FR">
|
|
449
|
+
<LocaleNumber value={1_234_567.89} />
|
|
450
|
+
</I18nProvider>,
|
|
451
|
+
);
|
|
452
|
+
// eslint-disable-next-line no-irregular-whitespace
|
|
453
|
+
expect(container.textContent).toMatchInlineSnapshot(`"1 234 567,89"`);
|
|
454
|
+
});
|
|
455
|
+
|
|
456
|
+
it("should format numbers correctly for ja-JP locale", () => {
|
|
457
|
+
const { container } = render(
|
|
458
|
+
<I18nProvider locale="ja-JP">
|
|
459
|
+
<LocaleNumber value={1_234_567.89} />
|
|
460
|
+
</I18nProvider>,
|
|
461
|
+
);
|
|
462
|
+
expect(container.textContent).toMatchInlineSnapshot(`"1,234,567.89"`);
|
|
463
|
+
});
|
|
464
|
+
|
|
465
|
+
it("should respect maximumFractionDigits based on locale", () => {
|
|
466
|
+
// Test with a number that has many decimal places
|
|
467
|
+
const { container } = render(
|
|
468
|
+
<I18nProvider locale="en-US">
|
|
469
|
+
<LocaleNumber value={1.123_456_789_012_345_7} />
|
|
470
|
+
</I18nProvider>,
|
|
471
|
+
);
|
|
472
|
+
expect(container.textContent).toMatchInlineSnapshot(`"1.1234567890123457"`);
|
|
473
|
+
});
|
|
474
|
+
|
|
475
|
+
it("should handle very large numbers", () => {
|
|
476
|
+
const { container } = render(
|
|
477
|
+
<I18nProvider locale="en-US">
|
|
478
|
+
<LocaleNumber value={123_456_789_012_345.67} />
|
|
479
|
+
</I18nProvider>,
|
|
480
|
+
);
|
|
481
|
+
expect(container.textContent).toMatchInlineSnapshot(
|
|
482
|
+
`"123,456,789,012,345.67"`,
|
|
483
|
+
);
|
|
484
|
+
});
|
|
485
|
+
|
|
486
|
+
it("should handle Infinity", () => {
|
|
487
|
+
const { container } = render(
|
|
488
|
+
<I18nProvider locale="en-US">
|
|
489
|
+
<LocaleNumber value={Infinity} />
|
|
490
|
+
</I18nProvider>,
|
|
491
|
+
);
|
|
492
|
+
expect(container.textContent).toMatchInlineSnapshot(`"∞"`);
|
|
493
|
+
});
|
|
494
|
+
|
|
495
|
+
it("should handle negative Infinity", () => {
|
|
496
|
+
const { container } = render(
|
|
497
|
+
<I18nProvider locale="en-US">
|
|
498
|
+
<LocaleNumber value={-Infinity} />
|
|
499
|
+
</I18nProvider>,
|
|
500
|
+
);
|
|
501
|
+
expect(container.textContent).toMatchInlineSnapshot(`"-∞"`);
|
|
502
|
+
});
|
|
503
|
+
|
|
504
|
+
it("should handle NaN", () => {
|
|
505
|
+
const { container } = render(
|
|
506
|
+
<I18nProvider locale="en-US">
|
|
507
|
+
<LocaleNumber value={Number.NaN} />
|
|
508
|
+
</I18nProvider>,
|
|
509
|
+
);
|
|
510
|
+
expect(container.textContent).toMatchInlineSnapshot(`"NaN"`);
|
|
511
|
+
});
|
|
512
|
+
|
|
513
|
+
it("should handle numbers with scientific notation", () => {
|
|
514
|
+
const { container } = render(
|
|
515
|
+
<I18nProvider locale="en-US">
|
|
516
|
+
<LocaleNumber value={1e10} />
|
|
517
|
+
</I18nProvider>,
|
|
518
|
+
);
|
|
519
|
+
expect(container.textContent).toMatchInlineSnapshot(`"10,000,000,000"`);
|
|
520
|
+
});
|
|
521
|
+
});
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/* Copyright 2024 Marimo. All rights reserved. */
|
|
2
2
|
import { fireEvent, render, screen } from "@testing-library/react";
|
|
3
3
|
import { describe, expect, it, vi } from "vitest";
|
|
4
|
-
import { parseContent, UrlDetector } from "../url-detector";
|
|
4
|
+
import { isMarkdown, parseContent, UrlDetector } from "../url-detector";
|
|
5
5
|
|
|
6
6
|
describe("parseContent", () => {
|
|
7
7
|
it("handles data URIs", () => {
|
|
@@ -167,3 +167,94 @@ describe("UrlDetector", () => {
|
|
|
167
167
|
expect(mockStopPropagation).toHaveBeenCalled();
|
|
168
168
|
});
|
|
169
169
|
});
|
|
170
|
+
|
|
171
|
+
describe("isMarkdown", () => {
|
|
172
|
+
it("returns true for headings", () => {
|
|
173
|
+
expect(isMarkdown("# Heading 1")).toBe(true);
|
|
174
|
+
expect(isMarkdown("## Heading 2")).toBe(true);
|
|
175
|
+
expect(isMarkdown("### Heading 3")).toBe(true);
|
|
176
|
+
expect(isMarkdown("Heading\n===")).toBe(true);
|
|
177
|
+
expect(isMarkdown("Heading\n---")).toBe(true);
|
|
178
|
+
});
|
|
179
|
+
|
|
180
|
+
it.fails("returns true for bold text", () => {
|
|
181
|
+
expect(isMarkdown("**bold**")).toBe(true);
|
|
182
|
+
expect(isMarkdown("__bold__")).toBe(true);
|
|
183
|
+
});
|
|
184
|
+
|
|
185
|
+
it.fails("returns true for italic text", () => {
|
|
186
|
+
expect(isMarkdown("*italic*")).toBe(true);
|
|
187
|
+
expect(isMarkdown("_italic_")).toBe(true);
|
|
188
|
+
});
|
|
189
|
+
|
|
190
|
+
it("returns false for inline code", () => {
|
|
191
|
+
expect(isMarkdown("`code`")).toBe(false);
|
|
192
|
+
expect(isMarkdown("Text with `inline code` in it")).toBe(false);
|
|
193
|
+
});
|
|
194
|
+
|
|
195
|
+
it("returns true for code blocks", () => {
|
|
196
|
+
expect(isMarkdown("```\ncode block\n```")).toBe(true);
|
|
197
|
+
expect(isMarkdown("```python\ndef hello():\n pass\n```")).toBe(true);
|
|
198
|
+
});
|
|
199
|
+
|
|
200
|
+
it("returns true for lists", () => {
|
|
201
|
+
expect(isMarkdown("- item 1\n- item 2")).toBe(true);
|
|
202
|
+
expect(isMarkdown("* item 1\n* item 2")).toBe(true);
|
|
203
|
+
expect(isMarkdown("1. item 1\n2. item 2")).toBe(true);
|
|
204
|
+
});
|
|
205
|
+
|
|
206
|
+
it("returns true for blockquotes", () => {
|
|
207
|
+
expect(isMarkdown("> This is a quote")).toBe(true);
|
|
208
|
+
expect(isMarkdown("> Quote line 1\n> Quote line 2")).toBe(true);
|
|
209
|
+
});
|
|
210
|
+
|
|
211
|
+
it("returns true for horizontal rules", () => {
|
|
212
|
+
expect(isMarkdown("---")).toBe(true);
|
|
213
|
+
expect(isMarkdown("***")).toBe(true);
|
|
214
|
+
expect(isMarkdown("___")).toBe(true);
|
|
215
|
+
});
|
|
216
|
+
|
|
217
|
+
it("returns true for tables", () => {
|
|
218
|
+
expect(
|
|
219
|
+
isMarkdown("| col1 | col2 |\n|------|------|\n| val1 | val2 |"),
|
|
220
|
+
).toBe(true);
|
|
221
|
+
});
|
|
222
|
+
|
|
223
|
+
it("returns true for HTML tags", () => {
|
|
224
|
+
expect(isMarkdown("<div>content</div>")).toBe(true);
|
|
225
|
+
expect(isMarkdown("<br />")).toBe(true);
|
|
226
|
+
});
|
|
227
|
+
|
|
228
|
+
it.fails("returns true for escaped characters", () => {
|
|
229
|
+
expect(isMarkdown("\\*not bold\\*")).toBe(true);
|
|
230
|
+
expect(isMarkdown("\\# not a heading")).toBe(true);
|
|
231
|
+
});
|
|
232
|
+
|
|
233
|
+
it("returns false for plain text", () => {
|
|
234
|
+
expect(isMarkdown("Just plain text")).toBe(false);
|
|
235
|
+
expect(isMarkdown("No markdown here")).toBe(false);
|
|
236
|
+
});
|
|
237
|
+
|
|
238
|
+
it("returns false for empty string", () => {
|
|
239
|
+
expect(isMarkdown("")).toBe(false);
|
|
240
|
+
});
|
|
241
|
+
|
|
242
|
+
it("returns false for plain URLs without markdown syntax", () => {
|
|
243
|
+
expect(isMarkdown("https://example.com")).toBe(false);
|
|
244
|
+
expect(isMarkdown("Visit https://marimo.io for more")).toBe(false);
|
|
245
|
+
});
|
|
246
|
+
|
|
247
|
+
it("returns false for plain text with numbers", () => {
|
|
248
|
+
expect(isMarkdown("123 456 789")).toBe(false);
|
|
249
|
+
});
|
|
250
|
+
|
|
251
|
+
it.fails("returns true for mixed markdown and plain text", () => {
|
|
252
|
+
expect(isMarkdown("Plain text with **bold** in it")).toBe(true);
|
|
253
|
+
expect(isMarkdown("Start with text\n\n# Then a heading")).toBe(true);
|
|
254
|
+
});
|
|
255
|
+
|
|
256
|
+
it.fails("returns true for markdown with URLs", () => {
|
|
257
|
+
expect(isMarkdown("[Link](https://example.com)")).toBe(true);
|
|
258
|
+
expect(isMarkdown("Visit [marimo](https://marimo.io)")).toBe(true);
|
|
259
|
+
});
|
|
260
|
+
});
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
import { PopoverClose } from "@radix-ui/react-popover";
|
|
5
5
|
import type { Column, ColumnDef } from "@tanstack/react-table";
|
|
6
6
|
import { formatDate } from "date-fns";
|
|
7
|
-
import { useNumberFormatter } from "react-aria";
|
|
7
|
+
import { useLocale, useNumberFormatter } from "react-aria";
|
|
8
8
|
import { WithLocale } from "@/core/i18n/with-locale";
|
|
9
9
|
import type { DataType } from "@/core/kernel/messages";
|
|
10
10
|
import type { CalculateTopKRows } from "@/plugins/impl/DataTablePlugin";
|
|
@@ -12,9 +12,11 @@ import { cn } from "@/utils/cn";
|
|
|
12
12
|
import { type DateFormat, exactDateTime, getDateFormat } from "@/utils/dates";
|
|
13
13
|
import { Logger } from "@/utils/Logger";
|
|
14
14
|
import { Maps } from "@/utils/maps";
|
|
15
|
+
import { maxFractionalDigits } from "@/utils/numbers";
|
|
15
16
|
import { Objects } from "@/utils/objects";
|
|
16
17
|
import { EmotionCacheProvider } from "../editor/output/EmotionCacheProvider";
|
|
17
18
|
import { JsonOutput } from "../editor/output/JsonOutput";
|
|
19
|
+
import { CopyClipboardIcon } from "../icons/copy-icon";
|
|
18
20
|
import { Button } from "../ui/button";
|
|
19
21
|
import { Checkbox } from "../ui/checkbox";
|
|
20
22
|
import { Popover, PopoverContent, PopoverTrigger } from "../ui/popover";
|
|
@@ -33,7 +35,7 @@ import {
|
|
|
33
35
|
INDEX_COLUMN_NAME,
|
|
34
36
|
} from "./types";
|
|
35
37
|
import { uniformSample } from "./uniformSample";
|
|
36
|
-
import { parseContent, UrlDetector } from "./url-detector";
|
|
38
|
+
import { MarkdownUrlDetector, parseContent, UrlDetector } from "./url-detector";
|
|
37
39
|
|
|
38
40
|
// Artificial limit to display long strings
|
|
39
41
|
const MAX_STRING_LENGTH = 50;
|
|
@@ -332,7 +334,7 @@ const PopoutColumn = ({
|
|
|
332
334
|
<EmotionCacheProvider container={null}>
|
|
333
335
|
<Popover>
|
|
334
336
|
<PopoverTrigger
|
|
335
|
-
className={cn(cellStyles, "w-fit outline-hidden")}
|
|
337
|
+
className={cn(cellStyles, "max-w-fit outline-hidden")}
|
|
336
338
|
onClick={selectCell}
|
|
337
339
|
onMouseDown={(e) => {
|
|
338
340
|
// Prevent cell underneath from being selected
|
|
@@ -354,11 +356,18 @@ const PopoutColumn = ({
|
|
|
354
356
|
align="start"
|
|
355
357
|
alignOffset={10}
|
|
356
358
|
>
|
|
357
|
-
<
|
|
358
|
-
<
|
|
359
|
-
{
|
|
360
|
-
|
|
361
|
-
|
|
359
|
+
<div className="absolute top-2 right-2">
|
|
360
|
+
<CopyClipboardIcon
|
|
361
|
+
value={rawStringValue}
|
|
362
|
+
className="w-2.5 h-2.5"
|
|
363
|
+
tooltip={false}
|
|
364
|
+
/>
|
|
365
|
+
<PopoverClose>
|
|
366
|
+
<Button variant="link" size="xs">
|
|
367
|
+
{buttonText ?? "Close"}
|
|
368
|
+
</Button>
|
|
369
|
+
</PopoverClose>
|
|
370
|
+
</div>
|
|
362
371
|
{children}
|
|
363
372
|
</PopoverContent>
|
|
364
373
|
</Popover>
|
|
@@ -477,6 +486,8 @@ export function renderCellValue<TData, TValue>({
|
|
|
477
486
|
const dataType = column.columnDef.meta?.dataType;
|
|
478
487
|
const dtype = column.columnDef.meta?.dtype;
|
|
479
488
|
|
|
489
|
+
const isWrapped = column.getColumnWrapping?.() === "wrap";
|
|
490
|
+
|
|
480
491
|
if (dataType === "datetime" && typeof value === "string") {
|
|
481
492
|
try {
|
|
482
493
|
const date = new Date(value);
|
|
@@ -508,10 +519,13 @@ export function renderCellValue<TData, TValue>({
|
|
|
508
519
|
: String(renderValue());
|
|
509
520
|
|
|
510
521
|
const parts = parseContent(stringValue);
|
|
511
|
-
const
|
|
512
|
-
if (
|
|
522
|
+
const allMarkup = parts.every((part) => part.type !== "text");
|
|
523
|
+
if (allMarkup || stringValue.length < MAX_STRING_LENGTH || isWrapped) {
|
|
513
524
|
return (
|
|
514
|
-
<div
|
|
525
|
+
<div
|
|
526
|
+
onClick={selectCell}
|
|
527
|
+
className={cn(cellStyles, isWrapped && COLUMN_WRAPPING_STYLES)}
|
|
528
|
+
>
|
|
515
529
|
<UrlDetector parts={parts} />
|
|
516
530
|
</div>
|
|
517
531
|
);
|
|
@@ -522,11 +536,11 @@ export function renderCellValue<TData, TValue>({
|
|
|
522
536
|
cellStyles={cellStyles}
|
|
523
537
|
selectCell={selectCell}
|
|
524
538
|
rawStringValue={stringValue}
|
|
525
|
-
contentClassName="max-h-64 overflow-auto whitespace-pre-wrap break-words text-sm"
|
|
539
|
+
contentClassName="max-h-64 overflow-auto whitespace-pre-wrap break-words text-sm w-96"
|
|
526
540
|
buttonText="X"
|
|
527
|
-
wrapped={
|
|
541
|
+
wrapped={isWrapped}
|
|
528
542
|
>
|
|
529
|
-
<
|
|
543
|
+
<MarkdownUrlDetector content={stringValue} parts={parts} />
|
|
530
544
|
</PopoutColumn>
|
|
531
545
|
);
|
|
532
546
|
}
|
|
@@ -575,7 +589,7 @@ export function renderCellValue<TData, TValue>({
|
|
|
575
589
|
cellStyles={cellStyles}
|
|
576
590
|
selectCell={selectCell}
|
|
577
591
|
rawStringValue={rawStringValue}
|
|
578
|
-
wrapped={
|
|
592
|
+
wrapped={isWrapped}
|
|
579
593
|
>
|
|
580
594
|
<JsonOutput data={value} format="tree" className="max-h-64" />
|
|
581
595
|
</PopoutColumn>
|
|
@@ -589,7 +603,10 @@ export function renderCellValue<TData, TValue>({
|
|
|
589
603
|
);
|
|
590
604
|
}
|
|
591
605
|
|
|
592
|
-
const LocaleNumber = ({ value }: { value: number }) => {
|
|
593
|
-
const
|
|
606
|
+
export const LocaleNumber = ({ value }: { value: number }) => {
|
|
607
|
+
const { locale } = useLocale();
|
|
608
|
+
const format = useNumberFormatter({
|
|
609
|
+
maximumFractionDigits: maxFractionalDigits(locale),
|
|
610
|
+
});
|
|
594
611
|
return format.format(value);
|
|
595
612
|
};
|
|
@@ -12,7 +12,8 @@ import { useLocale } from "react-aria";
|
|
|
12
12
|
import { logNever } from "@/utils/assertNever";
|
|
13
13
|
import { copyToClipboard } from "@/utils/copy";
|
|
14
14
|
import { downloadByURL } from "@/utils/download";
|
|
15
|
-
import {
|
|
15
|
+
import { prettyError } from "@/utils/errors";
|
|
16
|
+
import { jsonParseWithSpecialChar, jsonToTSV } from "@/utils/json/json-parser";
|
|
16
17
|
import { Button } from "../ui/button";
|
|
17
18
|
import {
|
|
18
19
|
DropdownMenu,
|
|
@@ -152,7 +153,17 @@ export const DownloadAs: React.FC<DownloadActionProps> = (props) => {
|
|
|
152
153
|
{clipboardOptions.map((option) => (
|
|
153
154
|
<DropdownMenuItem
|
|
154
155
|
key={option.label}
|
|
155
|
-
onSelect={() =>
|
|
156
|
+
onSelect={async () => {
|
|
157
|
+
try {
|
|
158
|
+
await handleClipboardCopy(option.format);
|
|
159
|
+
} catch (error) {
|
|
160
|
+
toast({
|
|
161
|
+
title: "Failed to copy to clipboard",
|
|
162
|
+
description: prettyError(error),
|
|
163
|
+
variant: "danger",
|
|
164
|
+
});
|
|
165
|
+
}
|
|
166
|
+
}}
|
|
156
167
|
>
|
|
157
168
|
<option.icon className="mo-dropdown-icon" />
|
|
158
169
|
<div className="flex flex-col">
|
|
@@ -171,12 +182,9 @@ export const DownloadAs: React.FC<DownloadActionProps> = (props) => {
|
|
|
171
182
|
};
|
|
172
183
|
|
|
173
184
|
function fetchJson(url: string): Promise<Record<string, unknown>[]> {
|
|
174
|
-
return
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
}
|
|
178
|
-
return res.json();
|
|
179
|
-
});
|
|
185
|
+
return fetchText(url).then(
|
|
186
|
+
jsonParseWithSpecialChar<Record<string, unknown>[]>,
|
|
187
|
+
);
|
|
180
188
|
}
|
|
181
189
|
|
|
182
190
|
function fetchText(url: string): Promise<string> {
|
|
@@ -18,6 +18,7 @@ import { useRef, useState } from "react";
|
|
|
18
18
|
import { useLocale } from "react-aria";
|
|
19
19
|
import { ColumnName } from "@/components/datasources/components";
|
|
20
20
|
import { CopyClipboardIcon } from "@/components/icons/copy-icon";
|
|
21
|
+
import { Spinner } from "@/components/icons/spinner";
|
|
21
22
|
import { KeyboardHotkeys } from "@/components/shortcuts/renderShortcut";
|
|
22
23
|
import { Button } from "@/components/ui/button";
|
|
23
24
|
import { Input } from "@/components/ui/input";
|
|
@@ -29,6 +30,7 @@ import {
|
|
|
29
30
|
TableHeader,
|
|
30
31
|
TableRow,
|
|
31
32
|
} from "@/components/ui/table";
|
|
33
|
+
import { DelayMount } from "@/components/utils/delay-mount";
|
|
32
34
|
import { useAsyncData } from "@/hooks/useAsyncData";
|
|
33
35
|
import { useKeydownOnElement } from "@/hooks/useHotkey";
|
|
34
36
|
import { Banner, ErrorBanner } from "@/plugins/impl/common/error-banner";
|
|
@@ -136,11 +138,9 @@ export const RowViewerPanel: React.FC<RowViewerPanelProps> = ({
|
|
|
136
138
|
|
|
137
139
|
if (!rows) {
|
|
138
140
|
return (
|
|
139
|
-
<
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
message="No data available. Please report the issue."
|
|
143
|
-
/>
|
|
141
|
+
<DelayMount milliseconds={200}>
|
|
142
|
+
<Spinner size="medium" centered={true} />
|
|
143
|
+
</DelayMount>
|
|
144
144
|
);
|
|
145
145
|
}
|
|
146
146
|
|