@marimo-team/islands 0.23.1-dev13 → 0.23.1-dev16

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 (61) hide show
  1. package/dist/{ConnectedDataExplorerComponent-D08JKcQg.js → ConnectedDataExplorerComponent-Eq8bCe49.js} +11 -11
  2. package/dist/{any-language-editor-BIGc8RUt.js → any-language-editor-BF8ew8wu.js} +4 -4
  3. package/dist/{button-DNlNlZY_.js → button-Cn59RsBF.js} +9 -5
  4. package/dist/{capabilities-Coe9eM9T.js → capabilities-Bml77Di-.js} +1 -1
  5. package/dist/{chat-ui-B9oZ19ii.js → chat-ui-BdrC6z8t.js} +140 -140
  6. package/dist/{check-Cex3x9fD.js → check-C51PA02v.js} +1 -1
  7. package/dist/{copy-BRF7ryOP.js → copy-DzOz_Au7.js} +2 -2
  8. package/dist/{dist-D56NKWim.js → dist-CjLQ79mo.js} +2 -2
  9. package/dist/{error-banner-DexD-5js.js → error-banner-BQcJXy6k.js} +2 -2
  10. package/dist/{esm-BGo_Mcdt.js → esm-BmYNigxi.js} +4 -4
  11. package/dist/{glide-data-editor-BmyQCm0U.js → glide-data-editor-D2X4D_xi.js} +7 -7
  12. package/dist/{input-SSWXiS6n.js → input-BRN2Mjzx.js} +6 -6
  13. package/dist/{label-CIR53v8V.js → label-J1N4mVcg.js} +4 -4
  14. package/dist/{loader-Bd1kgLn7.js → loader-JmfPBSx5.js} +1 -1
  15. package/dist/main.js +4524 -1464
  16. package/dist/{mermaid-BZ2YHhbi.js → mermaid-UMKVHs_g.js} +5 -5
  17. package/dist/{process-output-D_uZ0o1x.js → process-output-D3Q6xBZJ.js} +2215 -2198
  18. package/dist/slides-component-_3tukGh-.js +3065 -0
  19. package/dist/{spec-ByDEU1T3.js → spec-rP6otrXw.js} +3 -3
  20. package/dist/style.css +1 -1
  21. package/dist/{toDate-D0QaHNwR.js → toDate-CfGr2xZ1.js} +3 -3
  22. package/dist/{tooltip-B5EnNyok.js → tooltip-BusGYw7Q.js} +3 -4
  23. package/dist/{types-D4-TD_m0.js → types-D4CFUmPq.js} +2 -2
  24. package/dist/{useAsyncData-BG3ULuDU.js → useAsyncData-BzS3Ai32.js} +1 -1
  25. package/dist/{useDeepCompareMemoize-CkSq3l3_.js → useDeepCompareMemoize-AjORjhpL.js} +4 -4
  26. package/dist/{useIframeCapabilities-CqhrVue6.js → useIframeCapabilities---aRgGdv.js} +1 -1
  27. package/dist/{useLifecycle-2Vh-WDv6.js → useLifecycle-B90lJH4p.js} +3 -3
  28. package/dist/{useTheme-CxjbgkRc.js → useTheme-ytmywQ5O.js} +2 -2
  29. package/dist/{vega-component-z4WGXPkf.js → vega-component-C3akWtJ1.js} +9 -9
  30. package/dist/{zod-D18k8Z52.js → zod-D4UoCYGu.js} +1 -1
  31. package/package.json +1 -1
  32. package/src/components/data-table/TableTopBar.tsx +1 -1
  33. package/src/components/data-table/table-explorer-panel/table-explorer-panel.tsx +1 -1
  34. package/src/components/editor/renderers/slides-layout/slides-layout.tsx +50 -44
  35. package/src/components/slides/__tests__/minimap.test.ts +402 -0
  36. package/src/components/slides/minimap.tsx +534 -0
  37. package/src/components/slides/slide.tsx +29 -0
  38. package/src/components/slides/slides-component.tsx +16 -1
  39. package/src/components/ui/button.tsx +1 -2
  40. package/src/core/cells/__tests__/cells.test.ts +105 -1
  41. package/src/core/cells/cells.ts +43 -0
  42. package/src/core/cells/document-changes.ts +2 -1
  43. package/src/css/table.css +4 -0
  44. package/src/plugins/core/RenderHTML.tsx +9 -0
  45. package/src/plugins/core/__test__/RenderHTML.test.ts +27 -0
  46. package/src/plugins/core/registerReactComponent.tsx +11 -8
  47. package/src/plugins/impl/ButtonPlugin.tsx +4 -6
  48. package/src/plugins/impl/CodeEditorPlugin.tsx +15 -18
  49. package/src/plugins/impl/DataEditorPlugin.tsx +8 -14
  50. package/src/plugins/impl/DataTablePlugin.tsx +1 -6
  51. package/src/plugins/impl/FileUploadPlugin.tsx +39 -43
  52. package/src/plugins/impl/FormPlugin.tsx +2 -6
  53. package/src/plugins/impl/chat/ChatPlugin.tsx +17 -20
  54. package/src/plugins/impl/common/labeled.tsx +5 -3
  55. package/src/plugins/impl/data-explorer/DataExplorerPlugin.tsx +5 -8
  56. package/src/plugins/impl/matplotlib/matplotlib-renderer.ts +38 -14
  57. package/src/plugins/impl/vega/VegaPlugin.tsx +5 -8
  58. package/src/plugins/layout/NavigationMenuPlugin.tsx +2 -6
  59. package/src/utils/__tests__/events.test.ts +223 -0
  60. package/src/utils/events.ts +28 -14
  61. package/dist/slides-component-CX2JC-Ws.js +0 -3057
@@ -4,15 +4,15 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
4
4
  import { s as __toESM, t as __commonJSMin } from "./chunk-BNovOVIE.js";
5
5
  import { t as require_react } from "./react-Bs6Z0kvn.js";
6
6
  import { t as require_compiler_runtime } from "./compiler-runtime-B_OLMU9S.js";
7
- import { n as Copy, r as toast, t as copyToClipboard } from "./copy-BRF7ryOP.js";
8
- import { C as logNever, a as SelectContent, d as SelectValue, i as Select, r as capitalize, s as SelectItem, t as Label, u as SelectTrigger } from "./label-CIR53v8V.js";
9
- import { G as marked, W as useNonce, _ as DropdownMenuSub, d as DropdownMenuContent, g as DropdownMenuSeparator, h as DropdownMenuPortal, p as DropdownMenuItem, r as Input, u as DropdownMenu, v as DropdownMenuSubContent, y as DropdownMenuSubTrigger } from "./input-SSWXiS6n.js";
10
- import { a as Plus, i as Trash, n as ErrorBoundary, o as Pencil, r as require_prop_types, t as BulkEdit } from "./types-D4-TD_m0.js";
11
- import { g as Logger, h as Events, t as Button } from "./button-DNlNlZY_.js";
7
+ import { n as Copy, r as toast, t as copyToClipboard } from "./copy-DzOz_Au7.js";
8
+ import { C as logNever, a as SelectContent, d as SelectValue, i as Select, r as capitalize, s as SelectItem, t as Label, u as SelectTrigger } from "./label-J1N4mVcg.js";
9
+ import { G as marked, W as useNonce, _ as DropdownMenuSub, d as DropdownMenuContent, g as DropdownMenuSeparator, h as DropdownMenuPortal, p as DropdownMenuItem, r as Input, u as DropdownMenu, v as DropdownMenuSubContent, y as DropdownMenuSubTrigger } from "./input-BRN2Mjzx.js";
10
+ import { a as Plus, i as Trash, n as ErrorBoundary, o as Pencil, r as require_prop_types, t as BulkEdit } from "./types-D4CFUmPq.js";
11
+ import { g as Logger, h as Events, t as Button } from "./button-Cn59RsBF.js";
12
12
  import "./react-dom-BSUuJjCR.js";
13
13
  import { t as require_jsx_runtime } from "./jsx-runtime-9hcJiI23.js";
14
- import "./zod-D18k8Z52.js";
15
- import { n as useTheme, w as useEvent_default } from "./useTheme-CxjbgkRc.js";
14
+ import "./zod-D4UoCYGu.js";
15
+ import { n as useTheme, w as useEvent_default } from "./useTheme-ytmywQ5O.js";
16
16
  import { A as require__Map, B as require__baseGetTag, C as require__hasPath, D as require_isArguments, E as require__isIndex, F as require_isFunction, G as assert, H as require__root, I as require_isObject, J as maybe, K as assertNever, L as require__isKey, M as require_eq, N as require__getNative, O as require__castPath, P as require__toSource, R as require_isSymbol, S as resolveCellsThunk, T as require_isLength, U as require__freeGlobal, V as require__Symbol, W as require_isArray, _ as isEditableGridCell, a as mergeAndRealizeTheme, b as isReadWriteCell, c as withAlpha, d as CompactSelection, f as GridCellKind, g as booleanCellIsEditable, h as InnerGridCellKind, i as makeCSSStyle, j as require__ListCache, k as require__MapCache, l as BooleanEmpty, m as GridColumnMenuIcon, n as ThemeContext, o as blend, p as GridColumnIcon, q as deepEqual, r as getDataEditorTheme, s as blendCache, t as ClickOutsideContainer, u as BooleanIndeterminate, v as isInnerOnlyCell, w as require__toKey, x as isSizedGridColumn, y as isObjectEditorCallbackResult, z as require_isObjectLike } from "./click-outside-container-vCXhHl-R.js";
17
17
  import { t as styled_default } from "./dist-BoNJsA65.js";
18
18
  let GlideDataEditor, glide_data_editor_default;
@@ -5,16 +5,16 @@ var _a;
5
5
  import { s as __toESM } from "./chunk-BNovOVIE.js";
6
6
  import { t as require_react } from "./react-Bs6Z0kvn.js";
7
7
  import { t as require_compiler_runtime } from "./compiler-runtime-B_OLMU9S.js";
8
- import { a as createPopperScope, i as Root2$1, n as Arrow, r as Content, t as Anchor, u as createLucideIcon } from "./dist-D56NKWim.js";
9
- import { t as Check } from "./check-Cex3x9fD.js";
10
- import { E as $18f2051aff69b9bf$export$43bb16f9c6d9e3f7, F as createCollection, I as X, L as ChevronUp, P as useDirection, R as ChevronDown, T as $488c6ddbf4ef74c2$export$cc77c4ff7e8673c5, _ as menuControlVariants, b as menuSeparatorVariants, g as menuControlCheckVariants, h as menuContentCommon, k as $b5e257d569688ac6$export$619500959fc48b26, v as menuItemVariants, w as $a916eb452884faea$export$b7a616150fdb9f44, x as menuSubTriggerVariants, y as menuLabelVariants } from "./label-CIR53v8V.js";
8
+ import { a as createPopperScope, i as Root2$1, n as Arrow, r as Content, t as Anchor, u as createLucideIcon } from "./dist-CjLQ79mo.js";
9
+ import { t as Check } from "./check-C51PA02v.js";
10
+ import { E as $18f2051aff69b9bf$export$43bb16f9c6d9e3f7, F as createCollection, I as X, L as ChevronUp, P as useDirection, R as ChevronDown, T as $488c6ddbf4ef74c2$export$cc77c4ff7e8673c5, _ as menuControlVariants, b as menuSeparatorVariants, g as menuControlCheckVariants, h as menuContentCommon, k as $b5e257d569688ac6$export$619500959fc48b26, v as menuItemVariants, w as $a916eb452884faea$export$b7a616150fdb9f44, x as menuSubTriggerVariants, y as menuLabelVariants } from "./label-J1N4mVcg.js";
11
11
  import { n as clsx_default } from "./clsx-yW_RAw0K.js";
12
- import { d as createSlot, g as Logger, h as Events, m as useComposedRefs, p as composeRefs, y as cn } from "./button-DNlNlZY_.js";
12
+ import { d as createSlot, g as Logger, h as Events, m as useComposedRefs, p as composeRefs, y as cn } from "./button-Cn59RsBF.js";
13
13
  import { t as require_react_dom } from "./react-dom-BSUuJjCR.js";
14
14
  import { t as require_jsx_runtime } from "./jsx-runtime-9hcJiI23.js";
15
- import { $ as StyleNamespace, X as withFullScreenAsRoot, Y as MAX_HEIGHT_OFFSET, Z as withSmartCollisionBoundary, _t as Primitive, at as FocusScope, dt as Presence, et as hideOthers, ft as useControllableState, gt as createContextScope, it as Portal, lt as useCallbackRef, mt as composeEventHandlers, rt as useFocusGuards, st as DismissableLayer, tt as Combination_default, ut as useId, vt as dispatchDiscreteCustomEvent } from "./zod-D18k8Z52.js";
15
+ import { $ as StyleNamespace, X as withFullScreenAsRoot, Y as MAX_HEIGHT_OFFSET, Z as withSmartCollisionBoundary, _t as Primitive, at as FocusScope, dt as Presence, et as hideOthers, ft as useControllableState, gt as createContextScope, it as Portal, lt as useCallbackRef, mt as composeEventHandlers, rt as useFocusGuards, st as DismissableLayer, tt as Combination_default, ut as useId, vt as dispatchDiscreteCustomEvent } from "./zod-D4UoCYGu.js";
16
16
  import { i as debounce_default } from "./constants-CvyfaCvs.js";
17
- import { w as useEvent_default } from "./useTheme-CxjbgkRc.js";
17
+ import { w as useEvent_default } from "./useTheme-ytmywQ5O.js";
18
18
  import { t as memoizeLastValue } from "./once-C_TIu-kR.js";
19
19
  var ChevronRight = createLucideIcon("chevron-right", [["path", {
20
20
  d: "m9 18 6-6-6-6",
@@ -1,12 +1,12 @@
1
1
  import { s as __toESM } from "./chunk-BNovOVIE.js";
2
2
  import { t as require_react } from "./react-Bs6Z0kvn.js";
3
3
  import { t as require_compiler_runtime } from "./compiler-runtime-B_OLMU9S.js";
4
- 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-D56NKWim.js";
5
- import { t as Check } from "./check-Cex3x9fD.js";
6
- import { d as createSlot, g as Logger, h as Events, m as useComposedRefs, r as cva, y as cn } from "./button-DNlNlZY_.js";
4
+ 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-CjLQ79mo.js";
5
+ import { t as Check } from "./check-C51PA02v.js";
6
+ import { d as createSlot, g as Logger, h as Events, m as useComposedRefs, r as cva, y as cn } from "./button-Cn59RsBF.js";
7
7
  import { t as require_react_dom } from "./react-dom-BSUuJjCR.js";
8
8
  import { t as require_jsx_runtime } from "./jsx-runtime-9hcJiI23.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-D18k8Z52.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-D4UoCYGu.js";
10
10
  import { t as invariant } from "./invariant-e8eBgdux.js";
11
11
  var ChevronDown = createLucideIcon("chevron-down", [["path", {
12
12
  d: "m6 9 6 6 6-6",
@@ -2,7 +2,7 @@ var __defProp = Object.defineProperty;
2
2
  var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
3
3
  var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value);
4
4
  var _a, _b, _c, _d, _e;
5
- import { c as Objects, g as Logger } from "./button-DNlNlZY_.js";
5
+ import { c as Objects, g as Logger } from "./button-Cn59RsBF.js";
6
6
  import { St as isObject, a as loader, c as typeParsers$1, gt as isArray, o as read$1, wt as isString } from "./vega-loader.browser-DqEcFOPD.js";
7
7
  var pkg = { version: "1.1.0" };
8
8
  function formatValue(m2, U, G, K) {