@marimo-team/islands 0.23.16-dev3 → 0.23.16-dev31

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 (102) 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-DuPGKU9z.js} +3128 -3128
  7. package/dist/{check-Cs-KV5XY.js → check-DP7U0H0G.js} +1 -1
  8. package/dist/{code-visibility-D-umBozt.js → common-DF6Pmj89.js} +1054 -1014
  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-Bza3T2dl.js} +4140 -2748
  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 +986 -995
  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-pCEXvnhG.js} +3 -3
  24. package/dist/{reveal-component-DALqCV7w.js → reveal-component-Cjz1dhi5.js} +725 -643
  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/__mocks__/requests.ts +45 -4
  42. package/src/components/data-table/__tests__/__snapshots__/chart-spec-model.test.ts.snap +174 -21
  43. package/src/components/data-table/__tests__/chart-spec-model.test.ts +102 -1
  44. package/src/components/data-table/column-summary/chart-spec-model.tsx +163 -103
  45. package/src/components/data-table/column-summary/legacy-chart-spec.ts +15 -7
  46. package/src/components/data-table/column-summary/utils.ts +26 -7
  47. package/src/components/data-table/types.ts +1 -1
  48. package/src/components/editor/actions/__tests__/pdf-export.test.ts +0 -4
  49. package/src/components/editor/actions/pdf-export.ts +1 -4
  50. package/src/components/editor/actions/useNotebookActions.tsx +7 -13
  51. package/src/components/editor/connections/storage/__tests__/__snapshots__/as-code.test.ts.snap +50 -0
  52. package/src/components/editor/connections/storage/__tests__/as-code.test.ts +87 -8
  53. package/src/components/editor/connections/storage/as-code.ts +40 -21
  54. package/src/components/editor/connections/storage/schemas.ts +83 -42
  55. package/src/components/editor/file-tree/__tests__/file-render-mode.test.ts +27 -0
  56. package/src/components/editor/file-tree/__tests__/file-viewer.test.tsx +150 -0
  57. package/src/components/editor/file-tree/file-preview-metadata.tsx +51 -0
  58. package/src/components/editor/file-tree/file-render-mode.ts +32 -0
  59. package/src/components/editor/file-tree/file-viewer.tsx +76 -50
  60. package/src/components/editor/renderers/vertical-layout/vertical-layout.tsx +1 -1
  61. package/src/components/slides/__tests__/cell-output-block.test.tsx +40 -0
  62. package/src/components/slides/__tests__/slide-cell-view.test.tsx +33 -0
  63. package/src/components/slides/__tests__/slide-scroll-hint.test.tsx +198 -0
  64. package/src/components/slides/reveal-component.tsx +25 -19
  65. package/src/components/slides/slide-cell-view.tsx +1 -1
  66. package/src/components/slides/slide-scroll-hint.tsx +161 -0
  67. package/src/components/slides/slides.css +4 -2
  68. package/src/components/static-html/share-modal.tsx +1 -1
  69. package/src/components/ui/input.tsx +1 -1
  70. package/src/core/codemirror/find-replace/__tests__/navigate.test.ts +42 -30
  71. package/src/core/codemirror/find-replace/navigate.ts +2 -0
  72. package/src/core/codemirror/go-to-definition/__tests__/commands.test.ts +24 -3
  73. package/src/core/codemirror/go-to-definition/commands.ts +3 -0
  74. package/src/core/codemirror/keymaps/__tests__/keymaps.test.ts +31 -2
  75. package/src/core/codemirror/keymaps/keymaps.ts +12 -0
  76. package/src/core/codemirror/language/__tests__/sql.test.ts +443 -61
  77. package/src/core/codemirror/language/languages/sql/completion-store.ts +5 -1
  78. package/src/core/codemirror/language/languages/sql/sql.ts +210 -3
  79. package/src/core/codemirror/utils.ts +28 -0
  80. package/src/core/hotkeys/hotkeys.ts +0 -2
  81. package/src/core/islands/__tests__/bridge.test.ts +107 -0
  82. package/src/core/islands/bridge.ts +16 -0
  83. package/src/core/mode.ts +10 -0
  84. package/src/core/network/__tests__/api.test.ts +42 -0
  85. package/src/core/network/__tests__/connection.test.ts +45 -0
  86. package/src/core/network/__tests__/requests-lazy.test.ts +32 -1
  87. package/src/core/network/__tests__/requests-network.test.ts +21 -0
  88. package/src/core/network/api.ts +27 -0
  89. package/src/core/network/connection.ts +15 -0
  90. package/src/core/network/requests-lazy.ts +1 -0
  91. package/src/core/network/requests-network.ts +14 -8
  92. package/src/core/network/requests-static.ts +1 -0
  93. package/src/core/network/requests-toasting.tsx +1 -0
  94. package/src/core/network/types.ts +25 -7
  95. package/src/core/static/download-html.ts +5 -14
  96. package/src/core/wasm/bridge.ts +4 -2
  97. package/src/core/wasm/worker/types.ts +5 -2
  98. package/src/plugins/impl/FormPlugin.tsx +1 -1
  99. package/src/plugins/impl/__tests__/FormPlugin.test.tsx +162 -0
  100. package/src/utils/__tests__/download.test.tsx +24 -1
  101. package/src/utils/download.ts +11 -6
  102. package/dist/toDate-B3IRfHhw.js +0 -692
@@ -1,27 +1,27 @@
1
1
  import { a as __toCommonJS, n as __esmMin, r as __export, s as __toESM, t as __commonJSMin } from "./chunk-BNovOVIE.js";
2
- import { g as Logger, h as cn, t as Button } from "./button-BcSml68y.js";
2
+ import { g as Logger, h as cn, t as Button } 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";
6
- import { A as SquareFunction, t as augmentSpecWithData } from "./spec-CnaxwDqy.js";
7
- import { a as Type, c as Calendar, i as createReducerAndAtoms, o as ToggleLeft, r as Badge, s as Hash, t as useOnMount } from "./useLifecycle-DqPxHgAN.js";
8
- import { a as ListFilter, t as $896ba0a80a8f4d36$export$85fd5fdf27bacc79 } from "./useDateFormatter-BSoGim-G.js";
9
- import { a as SelectGroup, c as SelectSeparator, i as SelectContent, l as SelectTrigger, o as SelectItem, r as Select, s as SelectLabel, t as Strings, u as SelectValue, w as $a916eb452884faea$export$b7a616150fdb9f44 } from "./strings-BYAhZnQi.js";
5
+ import { u as createLucideIcon } from "./dist-DIlxLFXG.js";
6
+ import { A as SquareFunction, t as augmentSpecWithData } from "./spec-CQKL_D3i.js";
7
+ import { a as Type, c as Calendar, i as createReducerAndAtoms, o as ToggleLeft, r as Badge, s as Hash, t as useOnMount } from "./useLifecycle-CMJGqBaY.js";
8
+ import { a as ListFilter, t as $896ba0a80a8f4d36$export$85fd5fdf27bacc79 } from "./useDateFormatter-Bt2qr_XS.js";
9
+ import { a as SelectGroup, c as SelectSeparator, i as SelectContent, l as SelectTrigger, o as SelectItem, r as Select, s as SelectLabel, t as Strings, u as SelectValue, w as $a916eb452884faea$export$b7a616150fdb9f44 } from "./strings-DIy9NAmg.js";
10
10
  import "./react-dom-BTJzcVJ9.js";
11
11
  import { t as require_jsx_runtime } from "./jsx-runtime-DebpN0FN.js";
12
- import "./zod-D0yOqoGe.js";
13
- import { n as ErrorBanner } from "./error-banner-DR7o3CbX.js";
14
- import { t as Label } from "./label-DIk0QoFe.js";
15
- import { t as Tooltip } from "./tooltip-B-qh7UPB.js";
16
- import { E as createStore, S as useAtomValue, T as atom, b as Provider, n as useTheme } from "./useTheme-XMq9mNf_.js";
12
+ import "./zod-BUcyXSdR.js";
13
+ import { n as ErrorBanner } from "./error-banner-B_GQfxxD.js";
14
+ import { t as Label } from "./label-DjoYwqmj.js";
15
+ import { t as Tooltip } from "./tooltip-f-qR0iUx.js";
16
+ import { E as createStore, S as useAtomValue, T as atom, b as Provider, n as useTheme } from "./useTheme-DYfby65G.js";
17
17
  import { t as invariant } from "./invariant-wRzNXIsJ.js";
18
18
  import { t as Objects } from "./objects-De59twF-.js";
19
19
  import { V as getContainerWidth } from "./vega-loader.browser-DmpxCJqx.js";
20
- import { a as tooltipHandler, n as vegaLoadData } from "./loader-CTHCI-qe.js";
20
+ import { a as tooltipHandler, n as vegaLoadData } from "./loader-DX-IDS7n.js";
21
21
  import { n as q, r as contains } from "./react-vega-BazDALhI.js";
22
22
  import "./defaultLocale-BpsHxBd7.js";
23
23
  import "./defaultLocale-DoeErsX2.js";
24
- import { t as useAsyncData } from "./useAsyncData-CvO8WUy3.js";
24
+ import { t as useAsyncData } from "./useAsyncData-CYOQb1EW.js";
25
25
  var ChartColumnBig = createLucideIcon("chart-column-big", [
26
26
  ["path", {
27
27
  d: "M3 3v16a2 2 0 0 0 2 2h16",
@@ -1,10 +1,10 @@
1
1
  import { s as __toESM, t as __commonJSMin } from "./chunk-BNovOVIE.js";
2
- import { t as Button } from "./button-BcSml68y.js";
2
+ import { t as Button } 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
  import { t as require_jsx_runtime } from "./jsx-runtime-DebpN0FN.js";
7
- import { i as Constants } from "./useTheme-XMq9mNf_.js";
7
+ import { i as Constants } from "./useTheme-DYfby65G.js";
8
8
  var Plus = createLucideIcon("plus", [["path", {
9
9
  d: "M5 12h14",
10
10
  key: "1ays0h"
@@ -1,19 +1,19 @@
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 "./compiler-runtime-CEbnTgxf.js";
5
5
  import "./react-dom-BTJzcVJ9.js";
6
6
  import { t as require_jsx_runtime } from "./jsx-runtime-DebpN0FN.js";
7
- import "./zod-D0yOqoGe.js";
8
- import { n as ErrorBanner } from "./error-banner-DR7o3CbX.js";
9
- import { f as CopyClipboardIcon } from "./extends-Cq2JYHKy.js";
7
+ import "./zod-BUcyXSdR.js";
8
+ import { n as ErrorBanner } from "./error-banner-B_GQfxxD.js";
9
+ import { f as CopyClipboardIcon } from "./extends-w2_S44bV.js";
10
10
  import "./dist-De-GlSAs.js";
11
11
  import "./dist-BOMbzyb3.js";
12
12
  import "./dist-BTdrwBWP.js";
13
13
  import "./dist-4lVIWUT3.js";
14
14
  import "./dist-DgjbnqTg.js";
15
15
  import "./dist-CRmSjkLP.js";
16
- import { t as esm_default } from "./esm-k8PIvuZW.js";
16
+ import { t as esm_default } from "./esm-DzZVaNH4.js";
17
17
  import "./dist-BP39XM8u.js";
18
18
  import "./dist-C18MUWTj.js";
19
19
  import "./dist-BwhXBwMd.js";
@@ -1672,14 +1672,12 @@ var DEFAULT_HOT_KEY = {
1672
1672
  "cell.copyLineUp": {
1673
1673
  name: "Copy line(s) up",
1674
1674
  group: "Editing",
1675
- key: "Alt-Shift-ArrowUp",
1676
- editable: false
1675
+ key: "Alt-Shift-ArrowUp"
1677
1676
  },
1678
1677
  "cell.copyLineDown": {
1679
1678
  name: "Copy line(s) down",
1680
1679
  group: "Editing",
1681
- key: "Alt-Shift-ArrowDown",
1682
- editable: false
1680
+ key: "Alt-Shift-ArrowDown"
1683
1681
  },
1684
1682
  "markdown.bold": {
1685
1683
  name: "Bold",
@@ -1,4 +1,4 @@
1
- import { g as Logger } from "./button-BcSml68y.js";
1
+ import { g as Logger } from "./button-BSm8IXRU.js";
2
2
  import { n as once } from "./once-B60G2fuJ.js";
3
3
  function testStorage(e) {
4
4
  try {