@marimo-team/islands 0.24.1-dev114 → 0.24.1-dev116
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-CF7VGRML.js → ConnectedDataExplorerComponent-BabDOEkd.js} +12 -12
- package/dist/{ErrorBoundary-Ca9Ulp6E.js → ErrorBoundary-DXp6EXOC.js} +3 -3
- package/dist/{any-language-editor-D6lJfTIq.js → any-language-editor-CpTnK43-.js} +4 -4
- package/dist/{button-BeWeF5Z2.js → button-CKBkqR9J.js} +1 -1
- package/dist/{capabilities-C7Q0J4_N.js → capabilities-CMBBJTcc.js} +1 -1
- package/dist/{chat-ui-DwtGBnE7.js → chat-ui-B2KTPWqm.js} +16 -16
- package/dist/{check-DGKNz9MB.js → check-CHig47QV.js} +1 -1
- package/dist/{common-CAzl5u7v.js → common-mAFq987V.js} +7588 -7544
- package/dist/{copy-T56I_gVc.js → copy-CD7S58CY.js} +2 -2
- package/dist/{dist-CSjGX93W.js → dist-3_o3T78I.js} +15 -15
- package/dist/{dropdown-menu-D-pePvPo.js → dropdown-menu-D1s8H8Ow.js} +124 -124
- package/dist/{error-banner-C0gx40vn.js → error-banner-WDhUzJyg.js} +203 -203
- package/dist/{esm-aqYR5Dl6.js → esm-CesmlDrs.js} +1 -1
- package/dist/{extends-G2pVMdwU.js → extends-BPB6_lTK.js} +4 -4
- package/dist/{formats-CX_fkiT0.js → formats-DrWM-ouO.js} +3 -3
- package/dist/{glide-data-editor-BXnH2j9C.js → glide-data-editor-B-3cUJQd.js} +8 -8
- package/dist/{glide-utils-AvKWWLSq.js → glide-utils-NShAPPtn.js} +3 -3
- package/dist/{html-to-image-Cf3vfRXj.js → html-to-image-DqqHcuV2.js} +3384 -3384
- package/dist/{label-BUGMEGks.js → label-lwzzBHUW.js} +2 -2
- package/dist/{loader-BIZus5lj.js → loader-VZ__bv4g.js} +1 -1
- package/dist/main.js +801 -801
- package/dist/{mermaid-CzrpWuKV.js → mermaid-DWMOBSe8.js} +4 -4
- package/dist/{process-output-BZs2qaau.js → process-output-D5dqSIGW.js} +3 -3
- package/dist/{reveal-component-BA63jlJc.js → reveal-component-DU6Wrhzv.js} +9 -9
- package/dist/{schemas-CLB4UWgG.js → schemas-DzK6U94N.js} +1380 -1364
- package/dist/{select-foAi7oM_.js → select-3qHpFKF9.js} +295 -295
- package/dist/{spec-JFqQpvZq.js → spec-DzTo7SI8.js} +4 -4
- package/dist/style.css +1 -1
- package/dist/{swiper-component-Bqzl6az1.js → swiper-component-C90YjhaV.js} +2 -2
- package/dist/{toDate-DxgaJjev.js → toDate-Cq6SCTVJ.js} +3 -3
- package/dist/{tooltip-B1X8ECYn.js → tooltip-Dt77sBeT.js} +88 -88
- package/dist/{useAsyncData-BkvtR_Y2.js → useAsyncData-DqlulK9M.js} +1 -1
- package/dist/{useDateFormatter-DGIhtjdF.js → useDateFormatter-Cp9Jdxls.js} +2 -2
- package/dist/{useDeepCompareMemoize-DcZEHOmt.js → useDeepCompareMemoize-Ceu-LMdC.js} +1 -1
- package/dist/{useIframeCapabilities-Bj4ORYGz.js → useIframeCapabilities-De3C-9b4.js} +1 -1
- package/dist/{useLifecycle-BHpzFL9q.js → useLifecycle-DmYfrWCI.js} +10 -10
- package/dist/{useTheme-BlOgV7zf.js → useTheme-CWrCsZgw.js} +2 -2
- package/dist/{vega-component-B4rwjseP.js → vega-component-Dzo_03Dh.js} +9 -9
- package/package.json +1 -1
- package/src/components/editor/Output.tsx +40 -0
- package/src/components/editor/__tests__/Output.test.tsx +85 -2
- package/src/components/ui/__tests__/badge.test.ts +63 -0
- package/src/components/ui/__tests__/button.test.ts +19 -0
- package/src/components/ui/__tests__/fullscreen.test.tsx +88 -0
- package/src/components/ui/__tests__/menu-items.test.ts +31 -0
- package/src/components/ui/badge.tsx +9 -7
- package/src/components/ui/button.tsx +1 -0
- package/src/components/ui/combobox.tsx +1 -1
- package/src/components/ui/date-input.tsx +1 -1
- package/src/components/ui/dialog.tsx +3 -1
- package/src/components/ui/fullscreen.tsx +43 -1
- package/src/components/ui/menu-items.tsx +9 -9
- package/src/components/ui/native-select.tsx +2 -2
- package/src/components/ui/navigation.tsx +1 -1
- package/src/components/ui/range-slider.tsx +5 -3
- package/src/components/ui/select.tsx +1 -1
- package/src/components/ui/sheet.tsx +1 -1
- package/src/components/ui/toast.tsx +8 -5
- package/src/components/ui/toaster.tsx +2 -2
- package/src/css/globals.css +28 -0
- package/src/hooks/useEventListener.ts +1 -1
- package/src/plugins/impl/data-frames/forms/__tests__/__snapshots__/form.test.tsx.snap +25 -25
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import "./rolldown-runtime-Cb76FRpK.js";
|
|
2
|
-
import { g as e } from "./button-
|
|
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() {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { a as e } from "./rolldown-runtime-Cb76FRpK.js";
|
|
2
|
-
import { p as t } from "./button-
|
|
2
|
+
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,
|