@marimo-team/islands 0.23.10-dev23 → 0.23.10-dev24

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.
Files changed (34) hide show
  1. package/dist/{ConnectedDataExplorerComponent-DdeG-Hi-.js → ConnectedDataExplorerComponent-DmBropAy.js} +11 -11
  2. package/dist/{ErrorBoundary-rULOrC_p.js → ErrorBoundary-DpbaKVv7.js} +1 -1
  3. package/dist/{any-language-editor-CiES2a2h.js → any-language-editor-QDDrgvfh.js} +4 -4
  4. package/dist/{chat-ui-BTobdMRF.js → chat-ui-BrKSZ7Yu.js} +15 -15
  5. package/dist/{check-DTbrK0zt.js → check-BCaJeT-J.js} +1 -1
  6. package/dist/{code-visibility-D4SjRKRB.js → code-visibility-CVmFerQM.js} +18 -18
  7. package/dist/{copy-5jQ_kGE1.js → copy-UqRYxiOg.js} +1 -1
  8. package/dist/{dist-C1BYNeCR.js → dist-Dk6PV_d3.js} +10 -10
  9. package/dist/{error-banner-5bz0L9hS.js → error-banner-Cc0I3C9e.js} +1 -1
  10. package/dist/{esm-CCuYCd3R.js → esm-DzhtSSSq.js} +1 -1
  11. package/dist/{extends-CkydH1Q5.js → extends-C3j0Pbh9.js} +3 -3
  12. package/dist/{formats-DHxc-FdY.js → formats-C4wO47tk.js} +1 -1
  13. package/dist/{glide-data-editor-CRvL2R9l.js → glide-data-editor-Qhu8oCX-.js} +8 -8
  14. package/dist/{html-to-image-CjsdUYrb.js → html-to-image-D5fIgQg_.js} +13 -13
  15. package/dist/{input-DVkbXbIX.js → input-CMYy4hzj.js} +5 -5
  16. package/dist/{label-LWtdw5i8.js → label-CC4ytI1X.js} +1 -1
  17. package/dist/main.js +29 -29
  18. package/dist/{mermaid-lXOw5Py9.js → mermaid-zuLgJ8J8.js} +4 -4
  19. package/dist/{process-output-CI8a-CUx.js → process-output-B59yoBQx.js} +3 -3
  20. package/dist/{reveal-component-CQUEth_r.js → reveal-component-bghJ00sb.js} +561 -560
  21. package/dist/{spec-DMRQmLOc.js → spec-X7FwLJni.js} +4 -4
  22. package/dist/{strings-GCJA9n6d.js → strings-J57tzLr3.js} +22 -22
  23. package/dist/{toDate-x-WRDCH7.js → toDate-d8RCRrRd.js} +2 -2
  24. package/dist/{tooltip-C5FYOpQc.js → tooltip-DpcyNkQ2.js} +2 -2
  25. package/dist/{types-CVvp1fKr.js → types-ChtMFmZ2.js} +1 -1
  26. package/dist/{useAsyncData-iRgKDT5s.js → useAsyncData-PonK__yh.js} +1 -1
  27. package/dist/{useDateFormatter-BRcO_TGJ.js → useDateFormatter-QB-3MpYr.js} +2 -2
  28. package/dist/{useDeepCompareMemoize-CkQ57VS2.js → useDeepCompareMemoize-D3NGWke6.js} +1 -1
  29. package/dist/{useLifecycle-BBO9PIph.js → useLifecycle-00mO3OSS.js} +2 -2
  30. package/dist/{useTheme-DHIrRQOe.js → useTheme-DEhDzATN.js} +1 -1
  31. package/dist/{vega-component-Dq-SH463.js → vega-component-9h1ACS78.js} +8 -8
  32. package/dist/{zod-CoBiJ5v4.js → zod-aLSua2NL.js} +24 -23
  33. package/package.json +1 -1
  34. package/src/components/slides/reveal-component.tsx +4 -0
@@ -1,7 +1,7 @@
1
- import { u as createLucideIcon } from "./dist-C1BYNeCR.js";
2
- import { s as Hash } from "./useLifecycle-BBO9PIph.js";
3
- import { i as Table, o as ChartPie } from "./useDateFormatter-BRcO_TGJ.js";
4
- import { C as logNever } from "./strings-GCJA9n6d.js";
1
+ import { u as createLucideIcon } from "./dist-Dk6PV_d3.js";
2
+ import { s as Hash } from "./useLifecycle-00mO3OSS.js";
3
+ import { i as Table, o as ChartPie } from "./useDateFormatter-QB-3MpYr.js";
4
+ import { C as logNever } from "./strings-J57tzLr3.js";
5
5
  var AlignCenterVertical = createLucideIcon("align-center-vertical", [
6
6
  ["path", {
7
7
  d: "M12 2v20",
@@ -2,11 +2,11 @@ import { s as __toESM } from "./chunk-BNovOVIE.js";
2
2
  import { _ as Logger, d as createSlot, g as cn, h as Events, m as useComposedRefs, r as cva } from "./button-C5K9fIPF.js";
3
3
  import { t as require_react } from "./react-DA-nE2FX.js";
4
4
  import { t as require_compiler_runtime } from "./compiler-runtime-CEbnTgxf.js";
5
- import { a as createPopperScope, c as VISUALLY_HIDDEN_STYLES, i as Root2$1, n as Arrow, r as Content, t as Anchor, u as createLucideIcon } from "./dist-C1BYNeCR.js";
6
- import { t as Check } from "./check-DTbrK0zt.js";
5
+ import { a as createPopperScope, c as VISUALLY_HIDDEN_STYLES, i as Root2$1, n as Arrow, r as Content, t as Anchor, u as createLucideIcon } from "./dist-Dk6PV_d3.js";
6
+ import { t as Check } from "./check-BCaJeT-J.js";
7
7
  import { t as require_react_dom } from "./react-dom-BTJzcVJ9.js";
8
8
  import { t as require_jsx_runtime } from "./jsx-runtime-DebpN0FN.js";
9
- import { $ as StyleNamespace, X as withFullScreenAsRoot, Z as withSmartCollisionBoundary, _t as Primitive, at as FocusScope, et as hideOthers, ft as useControllableState, gt as createContextScope, it as Portal, lt as useCallbackRef, mt as composeEventHandlers, pt as useLayoutEffect2, rt as useFocusGuards, st as DismissableLayer, tt as Combination_default, ut as useId } from "./zod-CoBiJ5v4.js";
9
+ import { Q as withSmartCollisionBoundary, Z as withFullScreenAsRoot, _t as createContextScope, at as Portal, ct as DismissableLayer, dt as useId, et as StyleNamespace, ht as composeEventHandlers, it as useFocusGuards, mt as useLayoutEffect2, nt as Combination_default, ot as FocusScope, pt as useControllableState, tt as hideOthers, ut as useCallbackRef, vt as Primitive } from "./zod-aLSua2NL.js";
10
10
  import { t as invariant } from "./invariant-wRzNXIsJ.js";
11
11
  var ChevronDown = createLucideIcon("chevron-down", [["path", {
12
12
  d: "m6 9 6 6 6-6",
@@ -95,7 +95,7 @@ var import_react_dom = /* @__PURE__ */ __toESM(require_react_dom(), 1), OPEN_KEY
95
95
  "ArrowUp",
96
96
  "ArrowDown"
97
97
  ], SELECTION_KEYS = [" ", "Enter"], SELECT_NAME = "Select", [Collection, useCollection, createCollectionScope] = createCollection(SELECT_NAME), [createSelectContext, createSelectScope] = createContextScope(SELECT_NAME, [createCollectionScope, createPopperScope]), usePopperScope = createPopperScope(), [SelectProvider, useSelectContext] = createSelectContext(SELECT_NAME), [SelectNativeOptionsProvider, useSelectNativeOptionsContext] = createSelectContext(SELECT_NAME), Select$1 = (e) => {
98
- let { __scopeSelect: i, children: a, open: o, defaultOpen: s, onOpenChange: c, value: l, defaultValue: u, onValueChange: d, dir: f, name: p, autoComplete: h, disabled: g, required: _, form: v } = e, y = usePopperScope(i), [b, x] = import_react.useState(null), [S, C] = import_react.useState(null), [w, T] = import_react.useState(false), E = useDirection(f), [D, k] = useControllableState({
98
+ let { __scopeSelect: i, children: a, open: o, defaultOpen: s, onOpenChange: c, value: l, defaultValue: u, onValueChange: d, dir: f, name: p, autoComplete: h, disabled: g, required: _, form: v } = e, y = usePopperScope(i), [b, x] = import_react.useState(null), [S, C] = import_react.useState(null), [w, T] = import_react.useState(false), E = useDirection(f), [O, k] = useControllableState({
99
99
  prop: o,
100
100
  defaultProp: s ?? false,
101
101
  onChange: c,
@@ -105,7 +105,7 @@ var import_react_dom = /* @__PURE__ */ __toESM(require_react_dom(), 1), OPEN_KEY
105
105
  defaultProp: u,
106
106
  onChange: d,
107
107
  caller: SELECT_NAME
108
- }), M = import_react.useRef(null), N = b ? v || !!b.closest("form") : true, [P, F] = import_react.useState(/* @__PURE__ */ new Set()), I = Array.from(P).map((e2) => e2.props.value).join(";");
108
+ }), M = import_react.useRef(null), N = b ? v || !!b.closest("form") : true, [F, I] = import_react.useState(/* @__PURE__ */ new Set()), L = Array.from(F).map((e2) => e2.props.value).join(";");
109
109
  return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(Root2$1, {
110
110
  ...y,
111
111
  children: /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(SelectProvider, {
@@ -120,7 +120,7 @@ var import_react_dom = /* @__PURE__ */ __toESM(require_react_dom(), 1), OPEN_KEY
120
120
  contentId: useId(),
121
121
  value: A,
122
122
  onValueChange: j,
123
- open: D,
123
+ open: O,
124
124
  onOpenChange: k,
125
125
  dir: E,
126
126
  triggerPointerDownPosRef: M,
@@ -130,10 +130,10 @@ var import_react_dom = /* @__PURE__ */ __toESM(require_react_dom(), 1), OPEN_KEY
130
130
  children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(SelectNativeOptionsProvider, {
131
131
  scope: e.__scopeSelect,
132
132
  onNativeOptionAdd: import_react.useCallback((e2) => {
133
- F((i2) => new Set(i2).add(e2));
133
+ I((i2) => new Set(i2).add(e2));
134
134
  }, []),
135
135
  onNativeOptionRemove: import_react.useCallback((e2) => {
136
- F((i2) => {
136
+ I((i2) => {
137
137
  let a2 = new Set(i2);
138
138
  return a2.delete(e2), a2;
139
139
  });
@@ -150,8 +150,8 @@ var import_react_dom = /* @__PURE__ */ __toESM(require_react_dom(), 1), OPEN_KEY
150
150
  onChange: (e2) => j(e2.target.value),
151
151
  disabled: g,
152
152
  form: v,
153
- children: [A === void 0 ? /* @__PURE__ */ (0, import_jsx_runtime.jsx)("option", { value: "" }) : null, Array.from(P)]
154
- }, I) : null]
153
+ children: [A === void 0 ? /* @__PURE__ */ (0, import_jsx_runtime.jsx)("option", { value: "" }) : null, Array.from(F)]
154
+ }, L) : null]
155
155
  })
156
156
  });
157
157
  };
@@ -247,16 +247,16 @@ var CONTENT_NAME = "SelectContent", SelectContent$1 = import_react.forwardRef((e
247
247
  });
248
248
  SelectContent$1.displayName = CONTENT_NAME;
249
249
  var CONTENT_MARGIN = 10, [SelectContentProvider, useSelectContentContext] = createSelectContext(CONTENT_NAME), CONTENT_IMPL_NAME = "SelectContentImpl", Slot = createSlot("SelectContent.RemoveScroll"), SelectContentImpl = import_react.forwardRef((e, i) => {
250
- let { __scopeSelect: a, position: o = "item-aligned", onCloseAutoFocus: s, onEscapeKeyDown: l, onPointerDownOutside: u, side: d, sideOffset: f, align: p, alignOffset: m, arrowPadding: h, collisionBoundary: g, collisionPadding: _, sticky: v, hideWhenDetached: y, avoidCollisions: b, ...x } = e, S = useSelectContext(CONTENT_NAME, a), [C, w] = import_react.useState(null), [T, O] = import_react.useState(null), k = useComposedRefs(i, (e2) => w(e2)), [A, j] = import_react.useState(null), [N, L] = import_react.useState(null), R = useCollection(a), [z, B] = import_react.useState(false), V = import_react.useRef(false);
250
+ let { __scopeSelect: a, position: o = "item-aligned", onCloseAutoFocus: s, onEscapeKeyDown: l, onPointerDownOutside: u, side: d, sideOffset: f, align: p, alignOffset: m, arrowPadding: h, collisionBoundary: g, collisionPadding: _, sticky: v, hideWhenDetached: y, avoidCollisions: b, ...x } = e, S = useSelectContext(CONTENT_NAME, a), [C, w] = import_react.useState(null), [T, D] = import_react.useState(null), O = useComposedRefs(i, (e2) => w(e2)), [j, P] = import_react.useState(null), [I, L] = import_react.useState(null), R = useCollection(a), [z, B] = import_react.useState(false), V = import_react.useRef(false);
251
251
  import_react.useEffect(() => {
252
252
  if (C) return hideOthers(C);
253
253
  }, [C]), useFocusGuards();
254
254
  let H = import_react.useCallback((e2) => {
255
255
  let [i2, ...a2] = R().map((e3) => e3.ref.current), [o2] = a2.slice(-1), s2 = document.activeElement;
256
256
  for (let a3 of e2) if (a3 === s2 || (a3 == null ? void 0 : a3.scrollIntoView({ block: "nearest" }), a3 === i2 && T && (T.scrollTop = 0), a3 === o2 && T && (T.scrollTop = T.scrollHeight), a3 == null ? void 0 : a3.focus(), document.activeElement !== s2)) return;
257
- }, [R, T]), U = import_react.useCallback(() => H([A, C]), [
257
+ }, [R, T]), U = import_react.useCallback(() => H([j, C]), [
258
258
  H,
259
- A,
259
+ j,
260
260
  C
261
261
  ]);
262
262
  import_react.useEffect(() => {
@@ -299,7 +299,7 @@ var CONTENT_MARGIN = 10, [SelectContentProvider, useSelectContentContext] = crea
299
299
  a2 && setTimeout(() => a2.ref.current.focus());
300
300
  }), J = import_react.useCallback((e2, i2, a2) => {
301
301
  let o2 = !V.current && !a2;
302
- (S.value !== void 0 && S.value === i2 || o2) && (j(e2), o2 && (V.current = true));
302
+ (S.value !== void 0 && S.value === i2 || o2) && (P(e2), o2 && (V.current = true));
303
303
  }, [S.value]), Y = import_react.useCallback(() => C == null ? void 0 : C.focus(), [C]), Z = import_react.useCallback((e2, i2, a2) => {
304
304
  let o2 = !V.current && !a2;
305
305
  (S.value !== void 0 && S.value === i2 || o2) && L(e2);
@@ -319,13 +319,13 @@ var CONTENT_MARGIN = 10, [SelectContentProvider, useSelectContentContext] = crea
319
319
  scope: a,
320
320
  content: C,
321
321
  viewport: T,
322
- onViewportChange: O,
322
+ onViewportChange: D,
323
323
  itemRefCallback: J,
324
- selectedItem: A,
324
+ selectedItem: j,
325
325
  onItemLeave: Y,
326
326
  itemTextRefCallback: Z,
327
327
  focusSelectedItem: U,
328
- selectedItemText: N,
328
+ selectedItemText: I,
329
329
  position: o,
330
330
  isPositioned: z,
331
331
  searchRef: K,
@@ -358,7 +358,7 @@ var CONTENT_MARGIN = 10, [SelectContentProvider, useSelectContentContext] = crea
358
358
  ...x,
359
359
  ...$,
360
360
  onPlaced: () => B(true),
361
- ref: k,
361
+ ref: O,
362
362
  style: {
363
363
  display: "flex",
364
364
  flexDirection: "column",
@@ -399,7 +399,7 @@ var ITEM_ALIGNED_POSITION_NAME = "SelectItemAlignedPosition", SelectItemAlignedP
399
399
  let o2 = i2.right - s2.right, c2 = window.innerWidth - a2.right - o2, l2 = window.innerWidth - e2.right - c2, u3 = e2.width + l2, f3 = Math.max(u3, i2.width), p2 = window.innerWidth - CONTENT_MARGIN, m3 = clamp(c2, [CONTENT_MARGIN, Math.max(CONTENT_MARGIN, p2 - f3)]);
400
400
  d.style.minWidth = u3 + "px", d.style.right = m3 + "px";
401
401
  }
402
- let c = g(), u2 = window.innerHeight - CONTENT_MARGIN * 2, f2 = y.scrollHeight, m2 = window.getComputedStyle(p), h2 = parseInt(m2.borderTopWidth, 10), v2 = parseInt(m2.paddingTop, 10), S2 = parseInt(m2.borderBottomWidth, 10), C2 = parseInt(m2.paddingBottom, 10), w2 = h2 + v2 + f2 + C2 + S2, T = Math.min(b.offsetHeight * 5, w2), E2 = window.getComputedStyle(y), D = parseInt(E2.paddingTop, 10), O = parseInt(E2.paddingBottom, 10), k = e2.top + e2.height / 2 - CONTENT_MARGIN, A = u2 - k, j = b.offsetHeight / 2, M = b.offsetTop + j, N = h2 + v2 + M, P = w2 - N;
402
+ let c = g(), u2 = window.innerHeight - CONTENT_MARGIN * 2, f2 = y.scrollHeight, m2 = window.getComputedStyle(p), h2 = parseInt(m2.borderTopWidth, 10), v2 = parseInt(m2.paddingTop, 10), S2 = parseInt(m2.borderBottomWidth, 10), C2 = parseInt(m2.paddingBottom, 10), w2 = h2 + v2 + f2 + C2 + S2, T2 = Math.min(b.offsetHeight * 5, w2), E = window.getComputedStyle(y), D = parseInt(E.paddingTop, 10), O = parseInt(E.paddingBottom, 10), k = e2.top + e2.height / 2 - CONTENT_MARGIN, A = u2 - k, j = b.offsetHeight / 2, M = b.offsetTop + j, N = h2 + v2 + M, P = w2 - N;
403
403
  if (N <= k) {
404
404
  let e3 = c.length > 0 && b === c[c.length - 1].ref.current;
405
405
  d.style.bottom = "0px";
@@ -411,7 +411,7 @@ var ITEM_ALIGNED_POSITION_NAME = "SelectItemAlignedPosition", SelectItemAlignedP
411
411
  let i3 = Math.max(k, h2 + y.offsetTop + (e3 ? D : 0) + j) + P;
412
412
  d.style.height = i3 + "px", y.scrollTop = N - k + y.offsetTop;
413
413
  }
414
- d.style.margin = `${CONTENT_MARGIN}px 0`, d.style.minHeight = T + "px", d.style.maxHeight = u2 + "px", o == null ? void 0 : o(), requestAnimationFrame(() => _.current = true);
414
+ d.style.margin = `${CONTENT_MARGIN}px 0`, d.style.minHeight = T2 + "px", d.style.maxHeight = u2 + "px", o == null ? void 0 : o(), requestAnimationFrame(() => _.current = true);
415
415
  }
416
416
  }, [
417
417
  g,
@@ -426,9 +426,9 @@ var ITEM_ALIGNED_POSITION_NAME = "SelectItemAlignedPosition", SelectItemAlignedP
426
426
  o
427
427
  ]);
428
428
  useLayoutEffect2(() => C(), [C]);
429
- let [w, E] = import_react.useState();
429
+ let [w, T] = import_react.useState();
430
430
  return useLayoutEffect2(() => {
431
- p && E(window.getComputedStyle(p).zIndex);
431
+ p && T(window.getComputedStyle(p).zIndex);
432
432
  }, [p]), /* @__PURE__ */ (0, import_jsx_runtime.jsx)(SelectViewportProvider, {
433
433
  scope: a,
434
434
  contentWrapper: d,
@@ -4,9 +4,9 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
4
4
  import { t as __commonJSMin } from "./chunk-BNovOVIE.js";
5
5
  import { _ as Logger } from "./button-C5K9fIPF.js";
6
6
  import { t as require_compiler_runtime } from "./compiler-runtime-CEbnTgxf.js";
7
- import { u as createLucideIcon } from "./dist-C1BYNeCR.js";
7
+ import { u as createLucideIcon } from "./dist-Dk6PV_d3.js";
8
8
  import { r as KnownQueryParams } from "./constants-T20xxyNf.js";
9
- import { b as atom, d as store, m as isIslands, p as waitFor } from "./useTheme-DHIrRQOe.js";
9
+ import { b as atom, d as store, m as isIslands, p as waitFor } from "./useTheme-DEhDzATN.js";
10
10
  import { t as invariant } from "./invariant-wRzNXIsJ.js";
11
11
  var CircleQuestionMark = createLucideIcon("circle-question-mark", [
12
12
  ["circle", {
@@ -2,9 +2,9 @@ import { s as __toESM } from "./chunk-BNovOVIE.js";
2
2
  import { f as createSlottable, g as cn, m as useComposedRefs } from "./button-C5K9fIPF.js";
3
3
  import { t as require_react } from "./react-DA-nE2FX.js";
4
4
  import { t as require_compiler_runtime } from "./compiler-runtime-CEbnTgxf.js";
5
- import { a as createPopperScope, i as Root2, n as Arrow, r as Content, s as Root, t as Anchor } from "./dist-C1BYNeCR.js";
5
+ import { a as createPopperScope, i as Root2, n as Arrow, r as Content, s as Root, t as Anchor } from "./dist-Dk6PV_d3.js";
6
6
  import { t as require_jsx_runtime } from "./jsx-runtime-DebpN0FN.js";
7
- import { $ as StyleNamespace, X as withFullScreenAsRoot, Z as withSmartCollisionBoundary, _t as Primitive, dt as Presence, ft as useControllableState, gt as createContextScope, it as Portal, mt as composeEventHandlers, st as DismissableLayer, ut as useId } from "./zod-CoBiJ5v4.js";
7
+ import { Q as withSmartCollisionBoundary, Z as withFullScreenAsRoot, _t as createContextScope, at as Portal, ct as DismissableLayer, dt as useId, et as StyleNamespace, ft as Presence, ht as composeEventHandlers, pt as useControllableState, vt as Primitive } from "./zod-aLSua2NL.js";
8
8
  var import_react = /* @__PURE__ */ __toESM(require_react(), 1), import_jsx_runtime = /* @__PURE__ */ __toESM(require_jsx_runtime(), 1), [createTooltipContext, createTooltipScope] = createContextScope("Tooltip", [createPopperScope]), usePopperScope = createPopperScope(), PROVIDER_NAME = "TooltipProvider", DEFAULT_DELAY_DURATION = 700, TOOLTIP_OPEN = "tooltip.open", [TooltipProviderContextProvider, useTooltipProviderContext] = createTooltipContext(PROVIDER_NAME), TooltipProvider$1 = (n) => {
9
9
  let { __scopeTooltip: j, delayDuration: M = DEFAULT_DELAY_DURATION, skipDelayDuration: N = 300, disableHoverableContent: P = false, children: F } = n, I = import_react.useRef(true), L = import_react.useRef(false), R = import_react.useRef(0);
10
10
  return import_react.useEffect(() => {
@@ -1,4 +1,4 @@
1
- import { u as createLucideIcon } from "./dist-C1BYNeCR.js";
1
+ import { u as createLucideIcon } from "./dist-Dk6PV_d3.js";
2
2
  var Pencil = createLucideIcon("pencil", [["path", {
3
3
  d: "M21.174 6.812a1 1 0 0 0-3.986-3.987L3.842 16.174a2 2 0 0 0-.5.83l-1.321 4.352a.5.5 0 0 0 .623.622l4.353-1.32a2 2 0 0 0 .83-.497z",
4
4
  key: "1a8usu"
@@ -1,7 +1,7 @@
1
1
  import { s as __toESM } from "./chunk-BNovOVIE.js";
2
2
  import { t as require_react } from "./react-DA-nE2FX.js";
3
3
  import { t as require_compiler_runtime } from "./compiler-runtime-CEbnTgxf.js";
4
- import { T as useEvent_default } from "./useTheme-DHIrRQOe.js";
4
+ import { T as useEvent_default } from "./useTheme-DEhDzATN.js";
5
5
  import { t as invariant } from "./invariant-wRzNXIsJ.js";
6
6
  var import_compiler_runtime = require_compiler_runtime(), import_react = /* @__PURE__ */ __toESM(require_react(), 1), Result = {
7
7
  error(e, s) {
@@ -1,7 +1,7 @@
1
1
  import { s as __toESM } from "./chunk-BNovOVIE.js";
2
2
  import { t as require_react } from "./react-DA-nE2FX.js";
3
- import { u as createLucideIcon } from "./dist-C1BYNeCR.js";
4
- import { E as $18f2051aff69b9bf$export$43bb16f9c6d9e3f7 } from "./strings-GCJA9n6d.js";
3
+ import { u as createLucideIcon } from "./dist-Dk6PV_d3.js";
4
+ import { E as $18f2051aff69b9bf$export$43bb16f9c6d9e3f7 } from "./strings-J57tzLr3.js";
5
5
  var ChartPie = createLucideIcon("chart-pie", [["path", {
6
6
  d: "M21 12c.552 0 1.005-.449.95-.998a10 10 0 0 0-8.953-8.951c-.55-.055-.998.398-.998.95v8a1 1 0 0 0 1 1z",
7
7
  key: "pzmjnu"
@@ -1,6 +1,6 @@
1
1
  import { s as __toESM } from "./chunk-BNovOVIE.js";
2
2
  import { t as require_react } from "./react-DA-nE2FX.js";
3
- import { w as dequal } from "./useTheme-DHIrRQOe.js";
3
+ import { w as dequal } from "./useTheme-DEhDzATN.js";
4
4
  var import_react = /* @__PURE__ */ __toESM(require_react(), 1);
5
5
  function useDeepCompareMemoize(e) {
6
6
  let i = import_react.useRef(e);
@@ -2,9 +2,9 @@ import { s as __toESM } from "./chunk-BNovOVIE.js";
2
2
  import { _ as Logger, g as cn, r as cva } from "./button-C5K9fIPF.js";
3
3
  import { t as require_react } from "./react-DA-nE2FX.js";
4
4
  import { t as require_compiler_runtime } from "./compiler-runtime-CEbnTgxf.js";
5
- import { u as createLucideIcon } from "./dist-C1BYNeCR.js";
5
+ import { u as createLucideIcon } from "./dist-Dk6PV_d3.js";
6
6
  import { t as require_jsx_runtime } from "./jsx-runtime-DebpN0FN.js";
7
- import { b as atom, v as useSetAtom } from "./useTheme-DHIrRQOe.js";
7
+ import { b as atom, v as useSetAtom } from "./useTheme-DEhDzATN.js";
8
8
  var Calendar = createLucideIcon("calendar", [
9
9
  ["path", {
10
10
  d: "M8 2v4",
@@ -2,7 +2,7 @@ import { s as __toESM } from "./chunk-BNovOVIE.js";
2
2
  import { _ as Logger, a as OverridingHotkeyProvider, s as resolvePlatform } from "./button-C5K9fIPF.js";
3
3
  import { t as require_react } from "./react-DA-nE2FX.js";
4
4
  import { t as require_compiler_runtime } from "./compiler-runtime-CEbnTgxf.js";
5
- import { A as looseObject, B as union, I as record, N as number, P as object, R as string, T as boolean, b as _enum, w as array } from "./zod-CoBiJ5v4.js";
5
+ import { A as looseObject, B as union, I as record, N as number, P as object, R as string, T as boolean, b as _enum, w as array } from "./zod-aLSua2NL.js";
6
6
  import { t as merge_default } from "./merge-Be1CqGnU.js";
7
7
  var import_react = /* @__PURE__ */ __toESM(require_react()), useInsertionEffect = typeof window < "u" ? import_react.useInsertionEffect || import_react.useLayoutEffect : () => {
8
8
  };
@@ -2,23 +2,23 @@ import { s as __toESM } from "./chunk-BNovOVIE.js";
2
2
  import { _ as Logger, c as Objects, g as cn, h as Events } from "./button-C5K9fIPF.js";
3
3
  import { t as require_react } from "./react-DA-nE2FX.js";
4
4
  import { t as require_compiler_runtime } from "./compiler-runtime-CEbnTgxf.js";
5
- import { c as asRemoteURL, v as CircleQuestionMark } from "./toDate-x-WRDCH7.js";
5
+ import { c as asRemoteURL, v as CircleQuestionMark } from "./toDate-d8RCRrRd.js";
6
6
  import "./react-dom-BTJzcVJ9.js";
7
7
  import { t as require_jsx_runtime } from "./jsx-runtime-DebpN0FN.js";
8
- import "./zod-CoBiJ5v4.js";
9
- import { n as ErrorBanner } from "./error-banner-5bz0L9hS.js";
10
- import { t as Tooltip } from "./tooltip-C5FYOpQc.js";
8
+ import "./zod-aLSua2NL.js";
9
+ import { n as ErrorBanner } from "./error-banner-Cc0I3C9e.js";
10
+ import { t as Tooltip } from "./tooltip-DpcyNkQ2.js";
11
11
  import { i as debounce_default } from "./constants-T20xxyNf.js";
12
- import { T as useEvent_default, n as useTheme } from "./useTheme-DHIrRQOe.js";
12
+ import { T as useEvent_default, n as useTheme } from "./useTheme-DEhDzATN.js";
13
13
  import { s as uniq } from "./arrays-sEtDRoG4.js";
14
- import { a as isValid, i as AlertTitle, n as Alert, t as arrow } from "./formats-DHxc-FdY.js";
14
+ import { a as isValid, i as AlertTitle, n as Alert, t as arrow } from "./formats-C4wO47tk.js";
15
15
  import { n as formats } from "./vega-loader.browser-CZ-J8Py3.js";
16
16
  import { a as getContainerWidth, n as vegaLoadData, s as tooltipHandler } from "./loader-BWLPpjKK.js";
17
17
  import { t as j } from "./react-vega-B0sAlDTL.js";
18
18
  import "./defaultLocale-u-3osm0P.js";
19
19
  import "./defaultLocale-BoHTsDG6.js";
20
- import { t as useAsyncData } from "./useAsyncData-iRgKDT5s.js";
21
- import { t as useDeepCompareMemoize } from "./useDeepCompareMemoize-CkQ57VS2.js";
20
+ import { t as useAsyncData } from "./useAsyncData-PonK__yh.js";
21
+ import { t as useDeepCompareMemoize } from "./useDeepCompareMemoize-D3NGWke6.js";
22
22
  import { t as Semaphore } from "./semaphore-CNDGTzkX.js";
23
23
  var import_compiler_runtime = require_compiler_runtime(), import_react = /* @__PURE__ */ __toESM(require_react(), 1);
24
24
  function fixRelativeUrl(e) {
@@ -11758,7 +11758,7 @@ var external_exports = /* @__PURE__ */ __export({
11758
11758
  config(en_default());
11759
11759
  var zod_default = external_exports;
11760
11760
  export {
11761
- StyleNamespace as $,
11761
+ isInVscodeExtension as $,
11762
11762
  looseObject as A,
11763
11763
  union as B,
11764
11764
  any as C,
@@ -11775,59 +11775,60 @@ export {
11775
11775
  number$1 as N,
11776
11776
  lazy as O,
11777
11777
  object as P,
11778
- isInVscodeExtension as Q,
11778
+ withSmartCollisionBoundary as Q,
11779
11779
  string$1 as R,
11780
11780
  _null as S,
11781
11781
  boolean$1 as T,
11782
11782
  ZodError as U,
11783
11783
  unknown as V,
11784
11784
  toJSONSchema as W,
11785
- withFullScreenAsRoot as X,
11785
+ useFullScreenElement as X,
11786
11786
  MAX_HEIGHT_OFFSET as Y,
11787
- withSmartCollisionBoundary as Z,
11787
+ withFullScreenAsRoot as Z,
11788
11788
  ZodString as _,
11789
- Primitive as _t,
11789
+ createContextScope as _t,
11790
11790
  ZodIssueCode as a,
11791
- FocusScope as at,
11791
+ Portal as at,
11792
11792
  _enum as b,
11793
11793
  ZodBoolean as c,
11794
- Root as ct,
11794
+ DismissableLayer as ct,
11795
11795
  ZodDiscriminatedUnion as d,
11796
- Presence as dt,
11797
- hideOthers as et,
11796
+ useId as dt,
11797
+ StyleNamespace as et,
11798
11798
  ZodEnum as f,
11799
- useControllableState as ft,
11799
+ Presence as ft,
11800
11800
  ZodOptional as g,
11801
- createContextScope as gt,
11801
+ createContext2 as gt,
11802
11802
  ZodObject as h,
11803
- createContext2 as ht,
11803
+ composeEventHandlers as ht,
11804
11804
  string as i,
11805
- Portal as it,
11805
+ useFocusGuards as it,
11806
11806
  nan as j,
11807
11807
  literal as k,
11808
11808
  ZodDate as l,
11809
- useCallbackRef$1 as lt,
11809
+ Root as lt,
11810
11810
  ZodNumber as m,
11811
- composeEventHandlers as mt,
11811
+ useLayoutEffect2 as mt,
11812
11812
  date as n,
11813
- __awaiter as nt,
11813
+ Combination_default as nt,
11814
11814
  ZodAny as o,
11815
- Branch as ot,
11815
+ FocusScope as ot,
11816
11816
  ZodLiteral as p,
11817
- useLayoutEffect2 as pt,
11817
+ useControllableState as pt,
11818
11818
  $ZodError as q,
11819
11819
  number as r,
11820
- useFocusGuards as rt,
11820
+ __awaiter as rt,
11821
11821
  ZodArray as s,
11822
- DismissableLayer as st,
11822
+ Branch as st,
11823
11823
  zod_default as t,
11824
- Combination_default as tt,
11824
+ hideOthers as tt,
11825
11825
  ZodDefault as u,
11826
- useId as ut,
11826
+ useCallbackRef$1 as ut,
11827
11827
  ZodType as v,
11828
- dispatchDiscreteCustomEvent as vt,
11828
+ Primitive as vt,
11829
11829
  array as w,
11830
11830
  _instanceof as x,
11831
11831
  ZodUnion as y,
11832
+ dispatchDiscreteCustomEvent as yt,
11832
11833
  tuple as z
11833
11834
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@marimo-team/islands",
3
- "version": "0.23.10-dev23",
3
+ "version": "0.23.10-dev24",
4
4
  "main": "dist/main.js",
5
5
  "types": "dist/index.d.ts",
6
6
  "type": "module",
@@ -14,6 +14,7 @@ import { Deck, Fragment, Slide, Stack } from "@revealjs/react";
14
14
  import { Panel, PanelGroup, PanelResizeHandle } from "react-resizable-panels";
15
15
  import { Slide as CellOutputSlide } from "@/components/slides/slide";
16
16
  import { Button } from "@/components/ui/button";
17
+ import { useFullScreenElement } from "@/components/ui/fullscreen";
17
18
  import { Tooltip } from "@/components/ui/tooltip";
18
19
  import type { CellId } from "@/core/cells/ids";
19
20
  import type { RuntimeCell } from "@/core/cells/types";
@@ -274,6 +275,8 @@ const RevealSlidesComponent = ({
274
275
  const containerRef = useRef<HTMLDivElement>(null);
275
276
  const deckRef = useRef<RevealApi | null>(null);
276
277
  const { width, height } = useSlideDimensions(containerRef);
278
+ const isFullscreen = useFullScreenElement() != null;
279
+
277
280
  // Skip the Notes plugin inside reveal's own speaker-view iframes so pressing
278
281
  // `S` there doesn't try to spawn another popup.
279
282
  const kioskMode = useAtomValue(kioskModeAtom);
@@ -607,6 +610,7 @@ const RevealSlidesComponent = ({
607
610
  <PanelResizeHandle
608
611
  className="mo-slides-notes-resize"
609
612
  hitAreaMargins={{ coarse: 12, fine: 4 }}
613
+ disabled={isFullscreen}
610
614
  />
611
615
  <Panel
612
616
  defaultSize={10}