@marimo-team/frontend 0.24.3-dev4 → 0.24.3-dev5
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/assets/{JsonOutput-D2ZWLZs4.js → JsonOutput-IMJ8FIQ2.js} +1 -1
- package/dist/assets/{agent-panel-BdEDIHdc.js → agent-panel-6r8l1meH.js} +1 -1
- package/dist/assets/{cell-editor-C7IiingQ.js → cell-editor-ihu-XgeK.js} +1 -1
- package/dist/assets/{column-preview-Coa5PyHk.js → column-preview-B7Njeb3V.js} +1 -1
- package/dist/assets/{command-palette-_xpwMniA.js → command-palette-C35FLuO7.js} +1 -1
- package/dist/assets/{edit-page-DslcxB67.js → edit-page-CzXHQ0SZ.js} +4 -4
- package/dist/assets/{file-explorer-panel-DEyChgqS.js → file-explorer-panel-BwsDzVF5.js} +1 -1
- package/dist/assets/{index-C5h1aWhw.js → index-6fSEyMiG.js} +2 -2
- package/dist/assets/{layout-CsLuqwD3.js → layout-BQRKnzbu.js} +3 -3
- package/dist/assets/{panels-nM4QKfEI.js → panels-BeaNzK_g.js} +1 -1
- package/dist/assets/{reveal-component-D9DygPds.js → reveal-component-DHL5PmeS.js} +1 -1
- package/dist/assets/{run-page-CzO-uMUn.js → run-page-B_ml_Z6H.js} +1 -1
- package/dist/assets/{scratchpad-panel-7YBL6E95.js → scratchpad-panel-Zopa4QrH.js} +1 -1
- package/dist/assets/{session-panel-hnFaUP0Y.js → session-panel-Dgoo-7Nl.js} +1 -1
- package/dist/assets/{skeleton-CM7HxSva.js → skeleton-CM3CedS6.js} +1 -1
- package/dist/assets/{useNotebookActions-D5_YLR42.js → useNotebookActions-klQNnzPU.js} +1 -1
- package/dist/index.html +3 -3
- package/package.json +1 -1
- package/src/components/data-table/column-visibility-dropdown.tsx +9 -3
- package/src/components/datasources/components.tsx +4 -2
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{a as e}from"./rolldown-runtime-B0Z9INg1.js";import{c as t,f as n,l as r,r as i,u as a}from"./useEvent-xfs0Sn4r.js";import{t as o}from"./react-CBDbhulC.js";import{$i as s,$r as c,D as l,E as u,Et as d,Fo as f,Hi as p,Ra as m,Ui as h,Yr as g,_,b as v,bo as y,dn as b,ea as x,ei as ee,fi as S,fn as C,h as w,ho as T,ia as E,ii as D,oa as O,qn as te,ri as k,sr as A,t as j,ta as M,ti as N,ua as ne,wo as P,zt as F}from"./cells-BBhW3FXj.js";import{Cn as I,kt as L,vt as R}from"./schemas-aTUejmFi.js";import{t as z}from"./compiler-runtime-CYIjoINj.js";import{r as re,w as B}from"./utils-D5Ywm7-q.js";import{C as V,n as H,r as U}from"./ai-model-dropdown-CmJEEhSC.js";import{g as W,n as ie}from"./useEventListener-92uWqz-P.js";import{t as ae}from"./objects-snlMn4yk.js";import{n as G,t as K}from"./constants-BDbGiS7O.js";import{A as q,M as oe,N as J,O as se,T as ce,j as le,k as ue,v as de}from"./config-BlNM0caL.js";import{t as fe}from"./switch-DjXr9Y9D.js";import{g as pe,h as me,m as he,y as ge}from"./readonly-python-code-CAYyabaV.js";import{t as _e}from"./cn-ldLVeaqm.js";import{t as ve}from"./jsx-runtime-B74pBk57.js";import{i as ye,n as be,r as xe,t as Se}from"./tabs-Cy1qXLzH.js";import{a as Ce,c as we,i as Te,n as Ee,r as De,s as Oe,t as ke}from"./select-nLt2y0Sw.js";import{$ as Ae,Lt as je}from"./JsonOutput-
|
|
1
|
+
import{a as e}from"./rolldown-runtime-B0Z9INg1.js";import{c as t,f as n,l as r,r as i,u as a}from"./useEvent-xfs0Sn4r.js";import{t as o}from"./react-CBDbhulC.js";import{$i as s,$r as c,D as l,E as u,Et as d,Fo as f,Hi as p,Ra as m,Ui as h,Yr as g,_,b as v,bo as y,dn as b,ea as x,ei as ee,fi as S,fn as C,h as w,ho as T,ia as E,ii as D,oa as O,qn as te,ri as k,sr as A,t as j,ta as M,ti as N,ua as ne,wo as P,zt as F}from"./cells-BBhW3FXj.js";import{Cn as I,kt as L,vt as R}from"./schemas-aTUejmFi.js";import{t as z}from"./compiler-runtime-CYIjoINj.js";import{r as re,w as B}from"./utils-D5Ywm7-q.js";import{C as V,n as H,r as U}from"./ai-model-dropdown-CmJEEhSC.js";import{g as W,n as ie}from"./useEventListener-92uWqz-P.js";import{t as ae}from"./objects-snlMn4yk.js";import{n as G,t as K}from"./constants-BDbGiS7O.js";import{A as q,M as oe,N as J,O as se,T as ce,j as le,k as ue,v as de}from"./config-BlNM0caL.js";import{t as fe}from"./switch-DjXr9Y9D.js";import{g as pe,h as me,m as he,y as ge}from"./readonly-python-code-CAYyabaV.js";import{t as _e}from"./cn-ldLVeaqm.js";import{t as ve}from"./jsx-runtime-B74pBk57.js";import{i as ye,n as be,r as xe,t as Se}from"./tabs-Cy1qXLzH.js";import{a as Ce,c as we,i as Te,n as Ee,r as De,s as Oe,t as ke}from"./select-nLt2y0Sw.js";import{$ as Ae,Lt as je}from"./JsonOutput-IMJ8FIQ2.js";import{a as Me,c as Ne,o as Pe,p as Fe,t as Ie}from"./download-BgO9EN-W.js";import{t as Le}from"./tooltip-BUtPzKB4.js";import{n as Re,r as ze,t as Be}from"./button-Dh8EwhsF.js";import{i as Ve,r as He,t as Ue}from"./strings-CReV1AYG.js";import{r as We}from"./requests-C6_IaFh7.js";import{t as Y}from"./createLucideIcon-B7HeEoG2.js";import{L as Ge,R as Ke,c as qe,l as Je,t as Ye,z as Xe}from"./layout-BQRKnzbu.js";import{t as Ze}from"./check-BoA6XBpj.js";import{r as Qe}from"./useCellActionButton-BhREXvvn.js";import{t as $e}from"./code-CF0HKE9K.js";import{t as et}from"./copy-BMXKNElG.js";import{t as tt}from"./eye-off-CFuPxa9F.js";import{t as nt}from"./external-link-Bp3BxyRA.js";import{t as rt}from"./file-DF8n85RA.js";import{t as it}from"./globe-BQf75qV_.js";import{n as at,r as ot,t as st}from"./youtube-DCJ-ihUU.js";import{n as ct}from"./components-DUYCXngU.js";import{i as lt,n as ut,r as dt}from"./markdown-export-0rLbaq8b.js";import{t as ft}from"./image-ab13yGv4.js";import{D as pt,E as mt,O as ht,T as gt,b as _t,j as vt}from"./write-secret-modal-D6zoZgLY.js";import{t as yt}from"./link-Cap-MZiw.js";import{t as bt}from"./spinner-Ck-Hgfvj.js";import{r as xt}from"./input-DEbY281O.js";import{t as St}from"./settings-C-cYas75.js";import{t as Ct}from"./square-B58Ib8Ir.js";import{t as wt}from"./triangle-alert-MihykDYG.js";import{t as Tt}from"./use-toast-DpWHUGuF.js";import{n as Et,t as Dt}from"./paths-zcL04qUW.js";import{o as Ot}from"./session-Sz5nSFku.js";import{n as kt}from"./useAsyncData-Buhk-UgR.js";import{n as At}from"./copy-DlEomWzI.js";import{t as jt}from"./copy-icon-z8fuTE3w.js";import{r as Mt}from"./useRunCells-BMQuitYY.js";import{o as Nt}from"./useInstallPackage-IUt497GC.js";import{t as Pt}from"./share-BZW3tzEX.js";import{n as Ft,t as It}from"./alert-dmKwNsrp.js";import{a as Lt}from"./cell-link-CbHXmrt8.js";import{t as Rt}from"./icons-CjLa9BiH.js";import{i as zt,n as Bt}from"./error-entries-BFzSRy80.js";import{t as Vt}from"./shell-DLpUCctE.js";import{t as Ht}from"./pair-with-agent-modal-CbUFKJHP.js";import{i as Ut,n as Wt,r as Gt}from"./add-connection-dialog-MTOC2ycO.js";import{t as Kt}from"./github-YRgb6LMu.js";import{n as qt}from"./marimo-icons-C3KxMV9A.js";import{t as Jt}from"./links-DLvOXyO_.js";import{i as Yt,n as Xt,t as Zt}from"./skeleton-CM3CedS6.js";var Qt=Y(`circle-chevron-down`,[[`circle`,{cx:`12`,cy:`12`,r:`10`,key:`1mglay`}],[`path`,{d:`m16 10-4 4-4-4`,key:`894hmk`}]]),$t=Y(`circle-chevron-right`,[[`circle`,{cx:`12`,cy:`12`,r:`10`,key:`1mglay`}],[`path`,{d:`m10 8 4 4-4 4`,key:`1wy4r4`}]]),en=Y(`clipboard-copy`,[[`rect`,{width:`8`,height:`4`,x:`8`,y:`2`,rx:`1`,ry:`1`,key:`tgr4d6`}],[`path`,{d:`M8 4H6a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2v-2`,key:`4jdomd`}],[`path`,{d:`M16 4h2a2 2 0 0 1 2 2v4`,key:`3hqy98`}],[`path`,{d:`M21 14H11`,key:`1bme5i`}],[`path`,{d:`m15 10-4 4 4 4`,key:`5dvupr`}]]),tn=Y(`cloud-download`,[[`path`,{d:`M12 13v8l-4-4`,key:`1f5nwf`}],[`path`,{d:`m12 21 4-4`,key:`1lfcce`}],[`path`,{d:`M4.393 15.269A7 7 0 1 1 15.71 8h1.79a4.5 4.5 0 0 1 2.436 8.284`,key:`ui1hmy`}]]),nn=Y(`command`,[[`path`,{d:`M15 6v12a3 3 0 1 0 3-3H6a3 3 0 1 0 3 3V6a3 3 0 1 0-3 3h12a3 3 0 1 0-3-3`,key:`11bfej`}]]),rn=Y(`diamond-plus`,[[`path`,{d:`M12 8v8`,key:`napkw2`}],[`path`,{d:`M2.7 10.3a2.41 2.41 0 0 0 0 3.41l7.59 7.59a2.41 2.41 0 0 0 3.41 0l7.59-7.59a2.41 2.41 0 0 0 0-3.41L13.7 2.71a2.41 2.41 0 0 0-3.41 0z`,key:`1ey20j`}],[`path`,{d:`M8 12h8`,key:`1wcyev`}]]),an=Y(`fast-forward`,[[`path`,{d:`M12 6a2 2 0 0 1 3.414-1.414l6 6a2 2 0 0 1 0 2.828l-6 6A2 2 0 0 1 12 18z`,key:`b19h5q`}],[`path`,{d:`M2 6a2 2 0 0 1 3.414-1.414l6 6a2 2 0 0 1 0 2.828l-6 6A2 2 0 0 1 2 18z`,key:`h7h5ge`}]]),on=Y(`files`,[[`path`,{d:`M15 2h-4a2 2 0 0 0-2 2v11a2 2 0 0 0 2 2h8a2 2 0 0 0 2-2V8`,key:`14sh0y`}],[`path`,{d:`M16.706 2.706A2.4 2.4 0 0 0 15 2v5a1 1 0 0 0 1 1h5a2.4 2.4 0 0 0-.706-1.706z`,key:`1970lx`}],[`path`,{d:`M5 7a2 2 0 0 0-2 2v11a2 2 0 0 0 2 2h8a2 2 0 0 0 1.732-1`,key:`l4dndm`}]]),sn=Y(`list`,[[`path`,{d:`M3 5h.01`,key:`18ugdj`}],[`path`,{d:`M3 12h.01`,key:`nlz23k`}],[`path`,{d:`M3 19h.01`,key:`noohij`}],[`path`,{d:`M8 5h13`,key:`1pao27`}],[`path`,{d:`M8 12h13`,key:`1za7za`}],[`path`,{d:`M8 19h13`,key:`m83p4d`}]]),cn=Y(`message-circle-question-mark`,[[`path`,{d:`M2.992 16.342a2 2 0 0 1 .094 1.167l-1.065 3.29a1 1 0 0 0 1.236 1.168l3.413-.998a2 2 0 0 1 1.099.092 10 10 0 1 0-4.777-4.719`,key:`1sd12s`}],[`path`,{d:`M9.09 9a3 3 0 0 1 5.83 1c0 2-3 3-3 3`,key:`1u773s`}],[`path`,{d:`M12 17h.01`,key:`p32p05`}]]),ln=Y(`notebook`,[[`path`,{d:`M2 6h4`,key:`aawbzj`}],[`path`,{d:`M2 10h4`,key:`l0bgd4`}],[`path`,{d:`M2 14h4`,key:`1gsvsf`}],[`path`,{d:`M2 18h4`,key:`1bu2t1`}],[`rect`,{width:`16`,height:`20`,x:`4`,y:`2`,rx:`2`,key:`1nb95v`}],[`path`,{d:`M16 2v20`,key:`rotuqe`}]]),un=Y(`panel-left`,[[`rect`,{width:`18`,height:`18`,x:`3`,y:`3`,rx:`2`,key:`afitv7`}],[`path`,{d:`M9 3v18`,key:`fh3hqa`}]]),dn=Y(`presentation`,[[`path`,{d:`M2 3h20`,key:`91anmk`}],[`path`,{d:`M21 3v11a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V3`,key:`2k9sn8`}],[`path`,{d:`m7 21 5-5 5 5`,key:`bip4we`}]]),fn=Y(`share-2`,[[`circle`,{cx:`18`,cy:`5`,r:`3`,key:`gq8acd`}],[`circle`,{cx:`6`,cy:`12`,r:`3`,key:`w7nqdw`}],[`circle`,{cx:`18`,cy:`19`,r:`3`,key:`1xt0gg`}],[`line`,{x1:`8.59`,x2:`15.42`,y1:`13.51`,y2:`17.49`,key:`47mynk`}],[`line`,{x1:`15.41`,x2:`8.59`,y1:`6.51`,y2:`10.49`,key:`1n3mei`}]]),pn=Y(`square-power`,[[`path`,{d:`M12 7v4`,key:`xawao1`}],[`path`,{d:`M7.998 9.003a5 5 0 1 0 8-.005`,key:`1pek45`}],[`rect`,{x:`3`,y:`3`,width:`18`,height:`18`,rx:`2`,key:`h1oib`}]]),mn=Y(`undo-2`,[[`path`,{d:`M9 14 4 9l5-5`,key:`102s5s`}],[`path`,{d:`M4 9h10.5a5.5 5.5 0 0 1 5.5 5.5a5.5 5.5 0 0 1-5.5 5.5H11`,key:`f3b9sd`}]]),X=ve(),Z=z(),Q=e(o(),1);function hn(e,t){let n=(0,Z.c)(11),r;n[0]===t?r=n[1]:(r=new T(t),n[0]=t,n[1]=r);let i=r,a;n[2]!==e||n[3]!==i?(a=()=>i.get(e),n[2]=e,n[3]=i,n[4]=a):a=n[4];let[o,s]=(0,Q.useState)(a),c;n[5]!==e||n[6]!==i?(c=t=>{s(t),i.set(e,t)},n[5]=e,n[6]=i,n[7]=c):c=n[7];let l=c,u;return n[8]!==l||n[9]!==o?(u=[o,l],n[8]=l,n[9]=o,n[10]=u):u=n[10],u}function gn(e,t){return{...e,Binaries:{...e.Binaries,Browser:t}}}function _n(e,t,n,r){return{marimo:e,Locale:n||void 0,Binaries:{Browser:t},"Environment Collection Error":r}}function vn(e,t){let n=Math.max(2,...Array.from(t.matchAll(/`+/g),e=>e[0].length)),r="`".repeat(n+1);return`${r}${e}\n${t}\n${r}`}function yn(e,t){let n=e.includes(`?`)?`&`:`?`,r=[],i=e,a=0;for(let[e,o]of Object.entries(t)){if(o.length===0)continue;let t=`${e}=${encodeURIComponent(o)}`,s=`${i}${a===0?n:`&`}${t}`;if(s.length>6e3){r.push(e);continue}i=s,a+=1}return{url:i,omitted:r}}function bn(e,t){return[`<details>`,`<summary>${Ue.htmlEscape(e)??``}</summary>`,``,t,``,`</details>`].join(`
|
|
2
2
|
`)}function xn(e){return bn(`Environment`,vn(`json`,JSON.stringify(e,null,2)))}function Sn(e){return bn(`Errors`,vn(`text`,e.map(Bt).join(`
|
|
3
3
|
|
|
4
4
|
---
|
package/dist/index.html
CHANGED
|
@@ -66,7 +66,7 @@
|
|
|
66
66
|
<marimo-server-token data-token="{{ server_token }}" hidden></marimo-server-token>
|
|
67
67
|
<!-- /TODO -->
|
|
68
68
|
<title>{{ title }}</title>
|
|
69
|
-
<script type="module" crossorigin src="./assets/index-
|
|
69
|
+
<script type="module" crossorigin src="./assets/index-6fSEyMiG.js"></script>
|
|
70
70
|
<link rel="modulepreload" crossorigin href="./assets/rolldown-runtime-B0Z9INg1.js">
|
|
71
71
|
<link rel="modulepreload" crossorigin href="./assets/react-CBDbhulC.js">
|
|
72
72
|
<link rel="modulepreload" crossorigin href="./assets/compiler-runtime-CYIjoINj.js">
|
|
@@ -205,7 +205,7 @@
|
|
|
205
205
|
<link rel="modulepreload" crossorigin href="./assets/formats-C6s96nu2.js">
|
|
206
206
|
<link rel="modulepreload" crossorigin href="./assets/table-DmqOOjfe.js">
|
|
207
207
|
<link rel="modulepreload" crossorigin href="./assets/react-resizable-panels.browser.esm-BSRAHC4P.js">
|
|
208
|
-
<link rel="modulepreload" crossorigin href="./assets/JsonOutput-
|
|
208
|
+
<link rel="modulepreload" crossorigin href="./assets/JsonOutput-IMJ8FIQ2.js">
|
|
209
209
|
<link rel="modulepreload" crossorigin href="./assets/chart-no-axes-column-ChZdjJhj.js">
|
|
210
210
|
<link rel="modulepreload" crossorigin href="./assets/square-function-DkZweMAs.js">
|
|
211
211
|
<link rel="modulepreload" crossorigin href="./assets/spec-DKsAmLTi.js">
|
|
@@ -221,7 +221,7 @@
|
|
|
221
221
|
<link rel="modulepreload" crossorigin href="./assets/markdown-export-0rLbaq8b.js">
|
|
222
222
|
<link rel="modulepreload" crossorigin href="./assets/data-grid-types-DgHVN_Zz.js">
|
|
223
223
|
<link rel="modulepreload" crossorigin href="./assets/glide-utils-UGsrRHYj.js">
|
|
224
|
-
<link rel="modulepreload" crossorigin href="./assets/column-preview-
|
|
224
|
+
<link rel="modulepreload" crossorigin href="./assets/column-preview-B7Njeb3V.js">
|
|
225
225
|
<link rel="modulepreload" crossorigin href="./assets/square-B58Ib8Ir.js">
|
|
226
226
|
<link rel="modulepreload" crossorigin href="./assets/triangle-alert-MihykDYG.js">
|
|
227
227
|
<link rel="modulepreload" crossorigin href="./assets/prop-types-Djf4O40e.js">
|
package/package.json
CHANGED
|
@@ -215,6 +215,11 @@ export const ColumnVisibilityDropdown = <TData,>({
|
|
|
215
215
|
index === list.pinnedCount &&
|
|
216
216
|
list.pinnedCount > 0 &&
|
|
217
217
|
list.pinnedCount < list.visibleOptions.length;
|
|
218
|
+
const label = (
|
|
219
|
+
<span className="truncate" title={option.label}>
|
|
220
|
+
{option.label}
|
|
221
|
+
</span>
|
|
222
|
+
);
|
|
218
223
|
return (
|
|
219
224
|
<React.Fragment key={option.value}>
|
|
220
225
|
{isSectionBoundary && <CommandSeparator />}
|
|
@@ -225,15 +230,16 @@ export const ColumnVisibilityDropdown = <TData,>({
|
|
|
225
230
|
className="flex items-center gap-1.5 cursor-pointer"
|
|
226
231
|
>
|
|
227
232
|
{dataType === undefined ? (
|
|
228
|
-
|
|
233
|
+
label
|
|
229
234
|
) : (
|
|
230
235
|
<ColumnName
|
|
231
|
-
|
|
236
|
+
className="min-w-0"
|
|
237
|
+
columnName={label}
|
|
232
238
|
dataType={dataType}
|
|
233
239
|
/>
|
|
234
240
|
)}
|
|
235
241
|
{!option.disabled && (
|
|
236
|
-
<span className="ml-auto flex items-center gap-0.5">
|
|
242
|
+
<span className="ml-auto flex shrink-0 items-center gap-0.5">
|
|
237
243
|
<ShowOnlyColumnButton
|
|
238
244
|
table={table}
|
|
239
245
|
columnIds={[option.value]}
|
|
@@ -101,18 +101,20 @@ export const ColumnPreviewContainer: React.FC<{
|
|
|
101
101
|
export const ColumnName = ({
|
|
102
102
|
columnName,
|
|
103
103
|
dataType,
|
|
104
|
+
className,
|
|
104
105
|
}: {
|
|
105
106
|
columnName: React.ReactNode;
|
|
106
107
|
dataType: DataType;
|
|
108
|
+
className?: string;
|
|
107
109
|
}) => {
|
|
108
110
|
const resolvedDataType = resolveDataType(dataType);
|
|
109
111
|
const Icon = DATA_TYPE_ICON[resolvedDataType];
|
|
110
112
|
const color = getDataTypeColor(resolvedDataType);
|
|
111
113
|
|
|
112
114
|
return (
|
|
113
|
-
<div className="flex flex-row items-center gap-1.5">
|
|
115
|
+
<div className={cn("flex flex-row items-center gap-1.5", className)}>
|
|
114
116
|
<Icon
|
|
115
|
-
className={`w-4 h-4 p-0.5 rounded-sm stroke-card-foreground ${color}`}
|
|
117
|
+
className={`w-4 h-4 shrink-0 p-0.5 rounded-sm stroke-card-foreground ${color}`}
|
|
116
118
|
/>
|
|
117
119
|
{columnName}
|
|
118
120
|
</div>
|