@marimo-team/islands 0.23.16-dev2 → 0.23.16-dev21

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 (75) hide show
  1. package/dist/{ConnectedDataExplorerComponent-CJaUI-S-.js → ConnectedDataExplorerComponent-f9vLjQiF.js} +13 -13
  2. package/dist/{ErrorBoundary-DXlxsrTF.js → ErrorBoundary-DhLqwSWA.js} +3 -3
  3. package/dist/{any-language-editor-P9tjkj4n.js → any-language-editor-DifE-fl7.js} +5 -5
  4. package/dist/{button-BcSml68y.js → button-BSm8IXRU.js} +2 -4
  5. package/dist/{capabilities-BYLFYTYv.js → capabilities-C6OQ5YBO.js} +1 -1
  6. package/dist/{chat-ui-BdSDiVjk.js → chat-ui-BMBk8I78.js} +3129 -3129
  7. package/dist/{check-Cs-KV5XY.js → check-DP7U0H0G.js} +1 -1
  8. package/dist/{code-visibility-mgBayy67.js → code-visibility-Dt0oSVz1.js} +778 -755
  9. package/dist/{copy-Cs3yt6Vt.js → copy-DNq8q3zw.js} +2 -2
  10. package/dist/{dist-B96tMAst.js → dist-DIlxLFXG.js} +2 -2
  11. package/dist/{error-banner-DR7o3CbX.js → error-banner-B_GQfxxD.js} +2 -2
  12. package/dist/{esm-k8PIvuZW.js → esm-DzZVaNH4.js} +1 -1
  13. package/dist/{extends-Cq2JYHKy.js → extends-w2_S44bV.js} +4 -4
  14. package/dist/{formats-BFhkZJwd.js → formats-Dwq1THhr.js} +3 -3
  15. package/dist/{glide-data-editor--CaN-f27.js → glide-data-editor-B9K6-MJe.js} +9 -9
  16. package/dist/{html-to-image-DDENewl2.js → html-to-image-27MFfyOf.js} +4121 -2739
  17. package/dist/{input-DStQIuqD.js → input-C5K4VBvB.js} +7 -7
  18. package/dist/{label-DIk0QoFe.js → label-DjoYwqmj.js} +2 -2
  19. package/dist/{loader-CTHCI-qe.js → loader-DX-IDS7n.js} +1 -1
  20. package/dist/main.js +915 -923
  21. package/dist/{mermaid-CdSvixW2.js → mermaid-hv6IckVw.js} +5 -5
  22. package/dist/{node-sql-parser-DLl_zNw0.js → node-sql-parser-v1Vi-Fft.js} +16867 -16665
  23. package/dist/{process-output-2QPcgBQg.js → process-output-BpssYna4.js} +3 -3
  24. package/dist/{reveal-component-BDdfO6U_.js → reveal-component-BW-0eLEt.js} +702 -628
  25. package/dist/{spec-CnaxwDqy.js → spec-CQKL_D3i.js} +4 -4
  26. package/dist/{strings-BYAhZnQi.js → strings-DIy9NAmg.js} +4 -4
  27. package/dist/style.css +1 -1
  28. package/dist/{swiper-component-DE94711u.js → swiper-component-CEdAYjb7.js} +2 -2
  29. package/dist/toDate-CqhBWjvO.js +713 -0
  30. package/dist/{tooltip-B-qh7UPB.js → tooltip-f-qR0iUx.js} +3 -3
  31. package/dist/{types-DQl7jVYK.js → types-DicH9Oi0.js} +1 -1
  32. package/dist/{useAsyncData-CvO8WUy3.js → useAsyncData-CYOQb1EW.js} +1 -1
  33. package/dist/{useDateFormatter-BSoGim-G.js → useDateFormatter-Bt2qr_XS.js} +2 -2
  34. package/dist/{useDeepCompareMemoize-J3MKRdA4.js → useDeepCompareMemoize-CSHQeQEI.js} +1 -1
  35. package/dist/{useIframeCapabilities-POcFXHbw.js → useIframeCapabilities-kA09ykNq.js} +1 -1
  36. package/dist/{useLifecycle-DqPxHgAN.js → useLifecycle-CMJGqBaY.js} +3 -3
  37. package/dist/{useTheme-XMq9mNf_.js → useTheme-DYfby65G.js} +2 -2
  38. package/dist/{vega-component-CrFoZT1S.js → vega-component-C7nO5zcf.js} +10 -10
  39. package/dist/{zod-D0yOqoGe.js → zod-BUcyXSdR.js} +1 -1
  40. package/package.json +2 -2
  41. package/src/components/data-table/column-formatting/feature.ts +2 -1
  42. package/src/components/editor/connections/storage/__tests__/__snapshots__/as-code.test.ts.snap +50 -0
  43. package/src/components/editor/connections/storage/__tests__/as-code.test.ts +87 -8
  44. package/src/components/editor/connections/storage/as-code.ts +40 -21
  45. package/src/components/editor/connections/storage/schemas.ts +83 -42
  46. package/src/components/editor/file-tree/__tests__/file-render-mode.test.ts +27 -0
  47. package/src/components/editor/file-tree/__tests__/file-viewer.test.tsx +150 -0
  48. package/src/components/editor/file-tree/file-preview-metadata.tsx +51 -0
  49. package/src/components/editor/file-tree/file-render-mode.ts +32 -0
  50. package/src/components/editor/file-tree/file-viewer.tsx +76 -50
  51. package/src/components/slides/__tests__/slide-scroll-hint.test.tsx +198 -0
  52. package/src/components/slides/reveal-component.tsx +3 -2
  53. package/src/components/slides/slide-scroll-hint.tsx +161 -0
  54. package/src/components/ui/input.tsx +1 -1
  55. package/src/core/codemirror/keymaps/__tests__/keymaps.test.ts +31 -2
  56. package/src/core/codemirror/keymaps/keymaps.ts +12 -0
  57. package/src/core/codemirror/language/__tests__/sql.test.ts +443 -61
  58. package/src/core/codemirror/language/languages/sql/completion-store.ts +5 -1
  59. package/src/core/codemirror/language/languages/sql/sql.ts +210 -3
  60. package/src/core/hotkeys/hotkeys.ts +0 -2
  61. package/src/core/i18n/__tests__/locale-provider.test.tsx +54 -118
  62. package/src/core/i18n/__tests__/locale.test.ts +113 -0
  63. package/src/core/i18n/locale-provider.tsx +1 -19
  64. package/src/core/i18n/locale.ts +71 -0
  65. package/src/core/islands/__tests__/bridge.test.ts +107 -0
  66. package/src/core/islands/bridge.ts +15 -0
  67. package/src/core/mode.ts +10 -0
  68. package/src/core/network/__tests__/connection.test.ts +45 -0
  69. package/src/core/network/__tests__/requests-network.test.ts +13 -0
  70. package/src/core/network/connection.ts +15 -0
  71. package/src/core/network/requests-network.ts +6 -3
  72. package/src/core/network/types.ts +3 -1
  73. package/src/plugins/impl/FormPlugin.tsx +1 -1
  74. package/src/plugins/impl/__tests__/FormPlugin.test.tsx +162 -0
  75. package/dist/toDate-B3IRfHhw.js +0 -692
@@ -1,8 +1,8 @@
1
1
  import { s as __toESM } from "./chunk-BNovOVIE.js";
2
- import { g as Logger } from "./button-BcSml68y.js";
2
+ import { g as Logger } from "./button-BSm8IXRU.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-B96tMAst.js";
5
+ import { u as createLucideIcon } from "./dist-DIlxLFXG.js";
6
6
  require_compiler_runtime(), require_react();
7
7
  var TOAST_LIMIT = 1, TOAST_REMOVE_DELAY = 1e4, count = 0;
8
8
  function genId() {
@@ -1,9 +1,9 @@
1
1
  import { s as __toESM } from "./chunk-BNovOVIE.js";
2
- import { p as useComposedRefs } from "./button-BcSml68y.js";
2
+ import { p as useComposedRefs } from "./button-BSm8IXRU.js";
3
3
  import { t as require_react } from "./react-DA-nE2FX.js";
4
4
  import { t as require_react_dom } from "./react-dom-BTJzcVJ9.js";
5
5
  import { t as require_jsx_runtime } from "./jsx-runtime-DebpN0FN.js";
6
- import { _t as createContextScope, mt as useLayoutEffect2, ut as useCallbackRef, vt as Primitive } from "./zod-D0yOqoGe.js";
6
+ import { _t as createContextScope, mt as useLayoutEffect2, ut as useCallbackRef, vt as Primitive } from "./zod-BUcyXSdR.js";
7
7
  /**
8
8
  * @license lucide-react v0.563.0 - ISC
9
9
  *
@@ -1,9 +1,9 @@
1
1
  import { s as __toESM } from "./chunk-BNovOVIE.js";
2
- import { d as createSlottable, g as Logger, h as cn, n as buttonVariants, p as useComposedRefs, r as cva, u as createSlot } from "./button-BcSml68y.js";
2
+ import { d as createSlottable, g as Logger, h as cn, n as buttonVariants, p as useComposedRefs, r as cva, u as createSlot } from "./button-BSm8IXRU.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
5
  import { t as require_jsx_runtime } from "./jsx-runtime-DebpN0FN.js";
6
- import { P as object, R as string, Z as withFullScreenAsRoot, _t as createContextScope, at as Portal, ct as DismissableLayer, dt as useId, et as StyleNamespace, ft as Presence, gt as createContext2, ht as composeEventHandlers, it as useFocusGuards, nt as Combination_default, ot as FocusScope, pt as useControllableState, tt as hideOthers, vt as Primitive } from "./zod-D0yOqoGe.js";
6
+ import { P as object, R as string, Z as withFullScreenAsRoot, _t as createContextScope, at as Portal, ct as DismissableLayer, dt as useId, et as StyleNamespace, ft as Presence, gt as createContext2, ht as composeEventHandlers, it as useFocusGuards, nt as Combination_default, ot as FocusScope, pt as useControllableState, tt as hideOthers, vt as Primitive } from "./zod-BUcyXSdR.js";
7
7
  var import_react = /* @__PURE__ */ __toESM(require_react(), 1), import_jsx_runtime = /* @__PURE__ */ __toESM(require_jsx_runtime(), 1), DIALOG_NAME = "Dialog", [createDialogContext, createDialogScope] = createContextScope(DIALOG_NAME), [DialogProvider, useDialogContext] = createDialogContext(DIALOG_NAME), Dialog = (t) => {
8
8
  let { __scopeDialog: F, children: I, open: L, defaultOpen: R, onOpenChange: z, modal: B = true } = t, V = import_react.useRef(null), H = import_react.useRef(null), [U, W] = useControllableState({
9
9
  prop: L,
@@ -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_jsx_runtime } from "./jsx-runtime-DebpN0FN.js";
4
- import { l as historyKeymap, o as defaultKeymap, r as lintKeymap, s as history, t as _extends, u as indentWithTab } from "./extends-Cq2JYHKy.js";
4
+ import { l as historyKeymap, o as defaultKeymap, r as lintKeymap, s as history, t as _extends, u as indentWithTab } from "./extends-w2_S44bV.js";
5
5
  import { $ as EditorView, At as EditorState, C as foldKeymap, Ct as crelt, Dt as CharCategory, F as syntaxHighlighting, Ft as RangeSetBuilder, Gt as findClusterBreak, H as tags, Ht as codePointSize, Kt as fromCodePoint, Lt as StateEffect, Nt as Prec, Rt as StateField, Ut as combineConfig, Vt as codePointAt, Z as Decoration, _t as placeholder, a as HighlightStyle, at as drawSelection, bt as showDialog, dt as highlightActiveLineGutter, ft as highlightSpecialChars, g as defaultHighlightStyle, ht as lineNumbers, it as crosshairCursor, j as indentUnit, jt as Facet, k as indentOnInput, kt as EditorSelection, mt as keymap, ot as dropCursor, p as bracketMatching, st as getPanel, tt as ViewPlugin, ut as highlightActiveLine, vt as rectangularSelection, wt as Annotation, x as foldGutter, xt as showPanel, yt as runScopeHandlers } from "./dist-De-GlSAs.js";
6
6
  import { a as closeBracketsKeymap, c as completionKeymap, i as closeBrackets, r as autocompletion } from "./dist-CSlJrrAw.js";
7
7
  var basicNormalize = typeof String.prototype.normalize == "function" ? (e2) => e2.normalize("NFKD") : (e2) => e2, SearchCursor = class {
@@ -1,11 +1,11 @@
1
1
  import { s as __toESM } from "./chunk-BNovOVIE.js";
2
- import { h as cn, m as Events } from "./button-BcSml68y.js";
2
+ import { h as cn, m as Events } from "./button-BSm8IXRU.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 { n as Copy, r as toast, t as copyToClipboard } from "./copy-Cs3yt6Vt.js";
6
- import { t as Check } from "./check-Cs-KV5XY.js";
5
+ import { n as Copy, r as toast, t as copyToClipboard } from "./copy-DNq8q3zw.js";
6
+ import { t as Check } from "./check-DP7U0H0G.js";
7
7
  import { t as require_jsx_runtime } from "./jsx-runtime-DebpN0FN.js";
8
- import { t as Tooltip } from "./tooltip-B-qh7UPB.js";
8
+ import { t as Tooltip } from "./tooltip-f-qR0iUx.js";
9
9
  import { $ as EditorView, A as indentString, Bt as Transaction, Ct as crelt, D as getIndentation, E as getIndentUnit, Et as ChangeSet, Ft as RangeSetBuilder, Gt as findClusterBreak, I as syntaxTree, Lt as StateEffect, N as matchBrackets, Pt as RangeSet, Q as Direction, Rt as StateField, Tt as ChangeDesc, Ut as combineConfig, W as NodeProp, Wt as countColumn, Z as Decoration, gt as logException, j as indentUnit, jt as Facet, kt as EditorSelection, nt as WidgetType, o as IndentContext, pt as hoverTooltip, rt as activateHover, st as getPanel, tt as ViewPlugin, wt as Annotation, xt as showPanel, zt as Text } from "./dist-De-GlSAs.js";
10
10
  var import_compiler_runtime = require_compiler_runtime(), import_react = /* @__PURE__ */ __toESM(require_react(), 1), import_jsx_runtime = /* @__PURE__ */ __toESM(require_jsx_runtime(), 1);
11
11
  const CopyClipboardIcon = (e5) => {
@@ -1,10 +1,10 @@
1
1
  import { s as __toESM } from "./chunk-BNovOVIE.js";
2
- import { h as cn, r as cva } from "./button-BcSml68y.js";
2
+ import { h as cn, r as cva } from "./button-BSm8IXRU.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 { t as toDate } from "./toDate-B3IRfHhw.js";
5
+ import { t as toDate } from "./toDate-CqhBWjvO.js";
6
6
  import { t as require_jsx_runtime } from "./jsx-runtime-DebpN0FN.js";
7
- import { i as tableFromIPC } from "./loader-CTHCI-qe.js";
7
+ import { i as tableFromIPC } from "./loader-DX-IDS7n.js";
8
8
  function isDate(e) {
9
9
  return e instanceof Date || typeof e == "object" && Object.prototype.toString.call(e) === "[object Date]";
10
10
  }
@@ -2,19 +2,19 @@ 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
  import { s as __toESM, t as __commonJSMin } from "./chunk-BNovOVIE.js";
5
- import { g as Logger, m as Events, t as Button } from "./button-BcSml68y.js";
5
+ import { g as Logger, m as Events, t as Button } from "./button-BSm8IXRU.js";
6
6
  import { t as require_react } from "./react-DA-nE2FX.js";
7
7
  import { t as require_compiler_runtime } from "./compiler-runtime-CEbnTgxf.js";
8
- import { n as Copy, r as toast, t as copyToClipboard } from "./copy-Cs3yt6Vt.js";
9
- import { C as logNever, i as SelectContent, l as SelectTrigger, n as capitalize, o as SelectItem, r as Select, u as SelectValue } from "./strings-BYAhZnQi.js";
10
- import { J as marked, S as DropdownMenuSubTrigger, _ as DropdownMenuPortal, b as DropdownMenuSub, f as DropdownMenu, h as DropdownMenuItem, p as DropdownMenuContent, q as useNonce, r as Input, v as DropdownMenuSeparator, x as DropdownMenuSubContent } from "./input-DStQIuqD.js";
11
- import { n as Trash, r as Pencil, t as BulkEdit } from "./types-DQl7jVYK.js";
12
- import { n as require_prop_types, r as Plus, t as ErrorBoundary } from "./ErrorBoundary-DXlxsrTF.js";
8
+ import { n as Copy, r as toast, t as copyToClipboard } from "./copy-DNq8q3zw.js";
9
+ import { C as logNever, i as SelectContent, l as SelectTrigger, n as capitalize, o as SelectItem, r as Select, u as SelectValue } from "./strings-DIy9NAmg.js";
10
+ import { J as marked, S as DropdownMenuSubTrigger, _ as DropdownMenuPortal, b as DropdownMenuSub, f as DropdownMenu, h as DropdownMenuItem, p as DropdownMenuContent, q as useNonce, r as Input, v as DropdownMenuSeparator, x as DropdownMenuSubContent } from "./input-C5K4VBvB.js";
11
+ import { n as Trash, r as Pencil, t as BulkEdit } from "./types-DicH9Oi0.js";
12
+ import { n as require_prop_types, r as Plus, t as ErrorBoundary } from "./ErrorBoundary-DhLqwSWA.js";
13
13
  import { t as require_react_dom } from "./react-dom-BTJzcVJ9.js";
14
14
  import { t as require_jsx_runtime } from "./jsx-runtime-DebpN0FN.js";
15
- import "./zod-D0yOqoGe.js";
16
- import { t as Label } from "./label-DIk0QoFe.js";
17
- import { A as useEvent_default, n as useTheme } from "./useTheme-XMq9mNf_.js";
15
+ import "./zod-BUcyXSdR.js";
16
+ import { t as Label } from "./label-DjoYwqmj.js";
17
+ import { A as useEvent_default, n as useTheme } from "./useTheme-DYfby65G.js";
18
18
  import { A as require_isLength, B as require_isFunction, C as resolveCellsThunk, D as maybe, E as deepEqual, F as require__Map, G as require__baseGetTag, H as require__isKey, I as require__ListCache, J as require__freeGlobal, K as require__Symbol, L as require_eq, M as require_isArguments, N as require__castPath, O as require__hasPath, P as require__MapCache, R as require__getNative, S as isSizedGridColumn, T as assertNever, U as require_isSymbol, V as require_isObject, W as require_isObjectLike, Y as require_isArray, _ as booleanCellIsEditable, a as mergeAndRealizeTheme, b as isObjectEditorCallbackResult, c as withAlpha, d as CompactSelection, f as DEFAULT_FILL_HANDLE, g as InnerGridCellKind, h as GridColumnMenuIcon, i as makeCSSStyle, j as require__isIndex, k as require__toKey, l as BooleanEmpty, m as GridColumnIcon, n as ThemeContext, o as blend, p as GridCellKind, q as require__root, r as getDataEditorTheme, s as blendCache, t as ClickOutsideContainer, u as BooleanIndeterminate, v as isEditableGridCell, w as assert, x as isReadWriteCell, y as isInnerOnlyCell, z as require__toSource } from "./click-outside-container-BSIeYt4y.js";
19
19
  import { t as styled_default } from "./dist-SXNmlE8A.js";
20
20
  let GlideDataEditor, glide_data_editor_default;