@marimo-team/islands 0.24.1-dev115 → 0.24.1-dev119
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-3vyrwCHu.js → ConnectedDataExplorerComponent-qIKbwYin.js} +10 -10
- package/dist/{ErrorBoundary-QF0xsxMw.js → ErrorBoundary-CR-ZQN_c.js} +2 -2
- package/dist/{any-language-editor-B2e3EkTe.js → any-language-editor-CpTnK43-.js} +3 -3
- package/dist/assets/__vite-browser-external-BdKGjRZ4.js +1 -0
- package/dist/assets/{worker-C3TCEtlU.js → worker-DlIBfp9S.js} +2 -2
- package/dist/{chat-ui-BgGHMO2G.js → chat-ui-DttQ-5Ut.js} +15 -15
- package/dist/{check-C_-c2CXl.js → check-CHig47QV.js} +1 -1
- package/dist/{common-Cdx64lyR.js → common-B2pVJVWJ.js} +7590 -7548
- package/dist/{copy-D4GHy7GA.js → copy-CD7S58CY.js} +1 -1
- package/dist/{dist-mymH-A_x.js → dist-3_o3T78I.js} +14 -14
- package/dist/{dropdown-menu-Div6gwlw.js → dropdown-menu-DhCfcscX.js} +123 -123
- package/dist/{error-banner-DmgOcFS3.js → error-banner-WDhUzJyg.js} +202 -202
- package/dist/{esm-CmFEQJjP.js → esm-CesmlDrs.js} +1 -1
- package/dist/{extends-CGTKDWHv.js → extends-BPB6_lTK.js} +3 -3
- package/dist/{formats-DuRRWVwb.js → formats-CJMVUfb3.js} +1 -1
- package/dist/{glide-data-editor-ekJ5GwaZ.js → glide-data-editor-sPZ8fUFn.js} +7 -7
- package/dist/{glide-utils-Dwc8Eh8G.js → glide-utils-NShAPPtn.js} +2 -2
- package/dist/{html-to-image-u8Ik6EnK.js → html-to-image-BTYnN4ev.js} +3378 -3378
- package/dist/{label-DdGS_CZZ.js → label-lwzzBHUW.js} +1 -1
- package/dist/main.js +793 -793
- package/dist/{mermaid-Bt45Zzl4.js → mermaid-BsHdQeQf.js} +3 -3
- package/dist/{process-output-DQiqt-_U.js → process-output-CsALk6tp.js} +3 -3
- package/dist/{reveal-component-tQ-rgxcQ.js → reveal-component-CiaqFa0B.js} +8 -8
- package/dist/{schemas-BjeOpZLk.js → schemas-DzK6U94N.js} +1379 -1363
- package/dist/{select-DotAQ4jp.js → select-3qHpFKF9.js} +286 -286
- package/dist/{spec-BesaYkGC.js → spec-CutWdqo3.js} +4 -4
- package/dist/style.css +1 -1
- package/dist/{toDate-CrAIOASL.js → toDate-D-Rx3ux5.js} +2 -2
- package/dist/{tooltip-COXZxyl7.js → tooltip-Dt77sBeT.js} +87 -87
- package/dist/{useAsyncData-x0_tWDWI.js → useAsyncData-CH6-CgJF.js} +1 -1
- package/dist/{useDateFormatter-B3V__WqX.js → useDateFormatter-Cp9Jdxls.js} +2 -2
- package/dist/{useDeepCompareMemoize-KaRHJEEU.js → useDeepCompareMemoize-JC87C_jO.js} +1 -1
- package/dist/{useLifecycle-x0OriHo-.js → useLifecycle-B4RGlyf0.js} +2 -2
- package/dist/{useTheme-Bm9_FyqO.js → useTheme-CVJ0UOf2.js} +2 -1
- package/dist/{vega-component-nD2oP6WN.js → vega-component-D-IXRnlx.js} +7 -7
- package/package.json +1 -1
- package/src/components/ai/ai-provider-icon.tsx +2 -2
- package/src/components/ai/ai-utils.ts +1 -1
- package/src/components/app-config/ai-config.tsx +33 -37
- package/src/components/app-config/user-config-form.tsx +1 -1
- package/src/components/data-table/renderers.tsx +2 -6
- package/src/components/editor/Output.tsx +40 -0
- package/src/components/editor/__tests__/Output.test.tsx +85 -2
- package/src/components/editor/file-tree/__tests__/file-explorer-navigation.test.tsx +832 -0
- package/src/components/editor/file-tree/__tests__/file-viewer.test.tsx +27 -0
- package/src/components/editor/file-tree/__tests__/requesting-tree.test.ts +130 -0
- package/src/components/editor/file-tree/file-browser-row.tsx +82 -0
- package/src/components/editor/file-tree/file-explorer.tsx +377 -159
- package/src/components/editor/file-tree/file-operations.tsx +1 -1
- package/src/components/editor/file-tree/file-search-results.tsx +142 -0
- package/src/components/editor/file-tree/file-tree-row.tsx +40 -0
- package/src/components/editor/file-tree/file-viewer.tsx +2 -1
- package/src/components/editor/file-tree/requesting-tree.tsx +162 -32
- package/src/components/editor/file-tree/use-file-search.ts +142 -0
- package/src/components/editor/file-tree/use-hover-expand.ts +34 -0
- package/src/components/ui/__tests__/fullscreen.test.tsx +88 -0
- package/src/components/ui/fullscreen.tsx +43 -1
- package/src/components/ui/links.tsx +2 -1
- package/src/core/ai/ids/__tests__/ids.test.ts +0 -8
- package/src/core/ai/ids/ids.ts +1 -1
- package/src/core/config/config-schema.ts +1 -0
- package/src/core/network/__tests__/requests-toasting.test.tsx +14 -0
- package/src/core/network/requests-toasting.tsx +1 -1
- package/src/hooks/useEventListener.ts +1 -1
- package/dist/assets/__vite-browser-external-Cf4O9gnt.js +0 -1
|
@@ -2,7 +2,7 @@ import "./rolldown-runtime-Cb76FRpK.js";
|
|
|
2
2
|
import { g as e } from "./button-CKBkqR9J.js";
|
|
3
3
|
import { t } from "./react-DMWcHin-.js";
|
|
4
4
|
import { t as n } from "./compiler-runtime-CAH9RLw2.js";
|
|
5
|
-
import { u as r } from "./dist-
|
|
5
|
+
import { u as r } from "./dist-3_o3T78I.js";
|
|
6
6
|
n(), t();
|
|
7
7
|
var i = 1, a = 1e4, o = 0;
|
|
8
8
|
function s() {
|
|
@@ -3,7 +3,7 @@ import { p as t } from "./button-CKBkqR9J.js";
|
|
|
3
3
|
import { t as n } from "./react-DMWcHin-.js";
|
|
4
4
|
import { t as r } from "./react-dom-C94wmq5w.js";
|
|
5
5
|
import { t as i } from "./jsx-runtime-CpoKNRgu.js";
|
|
6
|
-
import {
|
|
6
|
+
import { Bc as a, Jc as o, Wc as s, qc as c } from "./schemas-DzK6U94N.js";
|
|
7
7
|
//#region ../node_modules/.pnpm/lucide-react@0.563.0_react@19.2.4/node_modules/lucide-react/dist/esm/shared/src/utils/mergeClasses.js
|
|
8
8
|
var l = /* @__PURE__ */ e(n()), u = (...e) => e.filter((e, t, n) => !!e && e.trim() !== "" && n.indexOf(e) === t).join(" ").trim(), d = (e) => e.replace(/([a-z0-9])([A-Z])/g, "$1-$2").toLowerCase(), f = (e) => e.replace(/^([A-Z])|[\s-_]+(\w)/g, (e, t, n) => n ? n.toUpperCase() : t.toLowerCase()), p = (e) => {
|
|
9
9
|
let t = f(e);
|
|
@@ -50,7 +50,7 @@ var l = /* @__PURE__ */ e(n()), u = (...e) => e.filter((e, t, n) => !!e && e.tri
|
|
|
50
50
|
clip: "rect(0, 0, 0, 0)",
|
|
51
51
|
whiteSpace: "nowrap",
|
|
52
52
|
wordWrap: "normal"
|
|
53
|
-
}), b = "VisuallyHidden", x = l.forwardRef((e, t) => /* @__PURE__ */ (0, v.jsx)(
|
|
53
|
+
}), b = "VisuallyHidden", x = l.forwardRef((e, t) => /* @__PURE__ */ (0, v.jsx)(o.span, {
|
|
54
54
|
...e,
|
|
55
55
|
ref: t,
|
|
56
56
|
style: {
|
|
@@ -62,7 +62,7 @@ x.displayName = b;
|
|
|
62
62
|
var S = x, C = /* @__PURE__ */ e(r(), 1);
|
|
63
63
|
function w(e) {
|
|
64
64
|
let [t, n] = l.useState(void 0);
|
|
65
|
-
return
|
|
65
|
+
return s(() => {
|
|
66
66
|
if (e) {
|
|
67
67
|
n({
|
|
68
68
|
width: e.offsetWidth,
|
|
@@ -1171,7 +1171,7 @@ var Nt = (e) => {
|
|
|
1171
1171
|
options: [e, t]
|
|
1172
1172
|
}), Vt = "Arrow", Ht = l.forwardRef((e, t) => {
|
|
1173
1173
|
let { children: n, width: r = 10, height: i = 5, ...a } = e;
|
|
1174
|
-
return /* @__PURE__ */ (0, v.jsx)(
|
|
1174
|
+
return /* @__PURE__ */ (0, v.jsx)(o.svg, {
|
|
1175
1175
|
...a,
|
|
1176
1176
|
ref: t,
|
|
1177
1177
|
width: r,
|
|
@@ -1182,7 +1182,7 @@ var Nt = (e) => {
|
|
|
1182
1182
|
});
|
|
1183
1183
|
});
|
|
1184
1184
|
Ht.displayName = Vt;
|
|
1185
|
-
var Ut = Ht, Wt = "Popper", [Gt, Kt] =
|
|
1185
|
+
var Ut = Ht, Wt = "Popper", [Gt, Kt] = c(Wt), [qt, Jt] = Gt(Wt), Yt = (e) => {
|
|
1186
1186
|
let { __scopePopper: t, children: n } = e, [r, i] = l.useState(null);
|
|
1187
1187
|
return /* @__PURE__ */ (0, v.jsx)(qt, {
|
|
1188
1188
|
scope: t,
|
|
@@ -1193,18 +1193,18 @@ var Ut = Ht, Wt = "Popper", [Gt, Kt] = a(Wt), [qt, Jt] = Gt(Wt), Yt = (e) => {
|
|
|
1193
1193
|
};
|
|
1194
1194
|
Yt.displayName = Wt;
|
|
1195
1195
|
var Xt = "PopperAnchor", Zt = l.forwardRef((e, n) => {
|
|
1196
|
-
let { __scopePopper: r, virtualRef: i, ...a } = e,
|
|
1196
|
+
let { __scopePopper: r, virtualRef: i, ...a } = e, s = Jt(Xt, r), c = l.useRef(null), u = t(n, c), d = l.useRef(null);
|
|
1197
1197
|
return l.useEffect(() => {
|
|
1198
1198
|
let e = d.current;
|
|
1199
|
-
d.current = i?.current || c.current, e !== d.current &&
|
|
1200
|
-
}), i ? null : /* @__PURE__ */ (0, v.jsx)(
|
|
1199
|
+
d.current = i?.current || c.current, e !== d.current && s.onAnchorChange(d.current);
|
|
1200
|
+
}), i ? null : /* @__PURE__ */ (0, v.jsx)(o.div, {
|
|
1201
1201
|
...a,
|
|
1202
1202
|
ref: u
|
|
1203
1203
|
});
|
|
1204
1204
|
});
|
|
1205
1205
|
Zt.displayName = Xt;
|
|
1206
1206
|
var Qt = "PopperContent", [$t, en] = Gt(Qt), tn = l.forwardRef((e, n) => {
|
|
1207
|
-
let { __scopePopper: r, side: i = "bottom", sideOffset:
|
|
1207
|
+
let { __scopePopper: r, side: i = "bottom", sideOffset: c = 0, align: u = "center", alignOffset: d = 0, arrowPadding: f = 0, avoidCollisions: p = !0, collisionBoundary: m = [], collisionPadding: h = 0, sticky: g = "partial", hideWhenDetached: _ = !1, updatePositionStrategy: y = "optimized", onPlaced: b, ...x } = e, S = Jt(Qt, r), [C, T] = l.useState(null), E = t(n, (e) => T(e)), [D, O] = l.useState(null), k = w(D), A = k?.width ?? 0, j = k?.height ?? 0, M = i + (u === "center" ? "" : "-" + u), N = typeof h == "number" ? h : {
|
|
1208
1208
|
top: 0,
|
|
1209
1209
|
right: 0,
|
|
1210
1210
|
bottom: 0,
|
|
@@ -1221,7 +1221,7 @@ var Qt = "PopperContent", [$t, en] = Gt(Qt), tn = l.forwardRef((e, n) => {
|
|
|
1221
1221
|
elements: { reference: S.anchor },
|
|
1222
1222
|
middleware: [
|
|
1223
1223
|
Pt({
|
|
1224
|
-
mainAxis:
|
|
1224
|
+
mainAxis: c + j,
|
|
1225
1225
|
alignmentAxis: d
|
|
1226
1226
|
}),
|
|
1227
1227
|
p && Ft({
|
|
@@ -1251,12 +1251,12 @@ var Qt = "PopperContent", [$t, en] = Gt(Qt), tn = l.forwardRef((e, n) => {
|
|
|
1251
1251
|
...I
|
|
1252
1252
|
})
|
|
1253
1253
|
]
|
|
1254
|
-
}), [te, ne] = cn(ee), V =
|
|
1255
|
-
|
|
1254
|
+
}), [te, ne] = cn(ee), V = a(b);
|
|
1255
|
+
s(() => {
|
|
1256
1256
|
z && V?.();
|
|
1257
1257
|
}, [z, V]);
|
|
1258
1258
|
let re = B.arrow?.x, ie = B.arrow?.y, ae = B.arrow?.centerOffset !== 0, [oe, se] = l.useState();
|
|
1259
|
-
return
|
|
1259
|
+
return s(() => {
|
|
1260
1260
|
C && se(window.getComputedStyle(C).zIndex);
|
|
1261
1261
|
}, [C]), /* @__PURE__ */ (0, v.jsx)("div", {
|
|
1262
1262
|
ref: L.setFloating,
|
|
@@ -1280,7 +1280,7 @@ var Qt = "PopperContent", [$t, en] = Gt(Qt), tn = l.forwardRef((e, n) => {
|
|
|
1280
1280
|
arrowX: re,
|
|
1281
1281
|
arrowY: ie,
|
|
1282
1282
|
shouldHideArrow: ae,
|
|
1283
|
-
children: /* @__PURE__ */ (0, v.jsx)(
|
|
1283
|
+
children: /* @__PURE__ */ (0, v.jsx)(o.div, {
|
|
1284
1284
|
"data-side": te,
|
|
1285
1285
|
"data-align": ne,
|
|
1286
1286
|
...x,
|