@marimo-team/islands 0.23.16-dev76 → 0.23.16-dev8
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-CJaUI-S-.js → ConnectedDataExplorerComponent-f9vLjQiF.js} +13 -13
- package/dist/{ErrorBoundary-DXlxsrTF.js → ErrorBoundary-DhLqwSWA.js} +3 -3
- package/dist/{any-language-editor-P9tjkj4n.js → any-language-editor-DifE-fl7.js} +5 -5
- package/dist/{button-BcSml68y.js → button-BSm8IXRU.js} +2 -4
- package/dist/{capabilities-BYLFYTYv.js → capabilities-C6OQ5YBO.js} +1 -1
- package/dist/{chat-ui-BdSDiVjk.js → chat-ui-JeekqoMH.js} +16 -16
- package/dist/{check-Cs-KV5XY.js → check-DP7U0H0G.js} +1 -1
- package/dist/{code-visibility-BQmXTtK5.js → code-visibility-z1wi6InA.js} +734 -711
- package/dist/{copy-Cs3yt6Vt.js → copy-DNq8q3zw.js} +2 -2
- package/dist/{dist-B96tMAst.js → dist-DIlxLFXG.js} +2 -2
- package/dist/{error-banner-DR7o3CbX.js → error-banner-B_GQfxxD.js} +2 -2
- package/dist/{esm-k8PIvuZW.js → esm-DzZVaNH4.js} +1 -1
- package/dist/{extends-Cq2JYHKy.js → extends-w2_S44bV.js} +4 -4
- package/dist/{formats-BFhkZJwd.js → formats-CO8cn5_K.js} +3 -3
- package/dist/{glide-data-editor--CaN-f27.js → glide-data-editor-B9K6-MJe.js} +9 -9
- package/dist/{html-to-image-DDENewl2.js → html-to-image-Bif4utQZ.js} +15 -15
- package/dist/{input-DStQIuqD.js → input-C5K4VBvB.js} +7 -7
- package/dist/{label-DIk0QoFe.js → label-DjoYwqmj.js} +2 -2
- package/dist/{loader-CTHCI-qe.js → loader-DX-IDS7n.js} +1 -1
- package/dist/main.js +1000 -1010
- package/dist/{mermaid-CdSvixW2.js → mermaid-hv6IckVw.js} +5 -5
- package/dist/{process-output-2QPcgBQg.js → process-output-TAzy-GUk.js} +3 -3
- package/dist/{reveal-component-B-AxUPCM.js → reveal-component-kTeHzMBu.js} +692 -618
- package/dist/{spec-CnaxwDqy.js → spec-CQKL_D3i.js} +4 -4
- package/dist/{strings-BYAhZnQi.js → strings-DIy9NAmg.js} +4 -4
- package/dist/style.css +1 -1
- package/dist/{swiper-component-DE94711u.js → swiper-component-CEdAYjb7.js} +2 -2
- package/dist/{toDate-B3IRfHhw.js → toDate-CmR_xR3P.js} +3 -3
- package/dist/{tooltip-B-qh7UPB.js → tooltip-f-qR0iUx.js} +3 -3
- package/dist/{types-DQl7jVYK.js → types-DicH9Oi0.js} +1 -1
- package/dist/{useAsyncData-CvO8WUy3.js → useAsyncData-CYOQb1EW.js} +1 -1
- package/dist/{useDateFormatter-BSoGim-G.js → useDateFormatter-Bt2qr_XS.js} +2 -2
- package/dist/{useDeepCompareMemoize-J3MKRdA4.js → useDeepCompareMemoize-CSHQeQEI.js} +1 -1
- package/dist/{useIframeCapabilities-POcFXHbw.js → useIframeCapabilities-kA09ykNq.js} +1 -1
- package/dist/{useLifecycle-DqPxHgAN.js → useLifecycle-CMJGqBaY.js} +3 -3
- package/dist/{useTheme-XMq9mNf_.js → useTheme-DYfby65G.js} +2 -2
- package/dist/{vega-component-CrFoZT1S.js → vega-component-DphdxaJ_.js} +10 -10
- package/dist/{zod-D0yOqoGe.js → zod-BUcyXSdR.js} +1 -1
- package/package.json +1 -1
- package/src/components/data-table/column-formatting/feature.ts +2 -1
- package/src/components/editor/file-tree/__tests__/file-render-mode.test.ts +27 -0
- package/src/components/editor/file-tree/__tests__/file-viewer.test.tsx +150 -0
- package/src/components/editor/file-tree/file-preview-metadata.tsx +51 -0
- package/src/components/editor/file-tree/file-render-mode.ts +32 -0
- package/src/components/editor/file-tree/file-viewer.tsx +76 -50
- package/src/components/editor/output/CalloutOutput.tsx +17 -3
- package/src/components/slides/__tests__/slide-scroll-hint.test.tsx +198 -0
- package/src/components/slides/reveal-component.tsx +3 -2
- package/src/components/slides/slide-scroll-hint.tsx +161 -0
- package/src/components/ui/input.tsx +1 -1
- package/src/core/codemirror/keymaps/__tests__/keymaps.test.ts +31 -2
- package/src/core/codemirror/keymaps/keymaps.ts +12 -0
- package/src/core/hotkeys/hotkeys.ts +0 -2
- package/src/core/i18n/__tests__/locale-provider.test.tsx +54 -118
- package/src/core/i18n/__tests__/locale.test.ts +113 -0
- package/src/core/i18n/locale-provider.tsx +1 -19
- package/src/core/i18n/locale.ts +71 -0
- package/src/core/network/types.ts +3 -1
- package/src/css/admonition.css +52 -71
- package/src/plugins/impl/FormPlugin.tsx +1 -1
- package/src/plugins/impl/__tests__/FormPlugin.test.tsx +162 -0
- package/src/plugins/layout/CalloutPlugin.tsx +8 -1
- package/src/stories/callout.stories.tsx +12 -0
- package/src/components/editor/output/CalloutOutput.styles.ts +0 -22
|
@@ -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-
|
|
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-
|
|
6
|
-
import { A as SquareFunction, t as augmentSpecWithData } from "./spec-
|
|
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-
|
|
8
|
-
import { a as ListFilter, t as $896ba0a80a8f4d36$export$85fd5fdf27bacc79 } from "./useDateFormatter-
|
|
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-
|
|
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-
|
|
13
|
-
import { n as ErrorBanner } from "./error-banner-
|
|
14
|
-
import { t as Label } from "./label-
|
|
15
|
-
import { t as Tooltip } from "./tooltip-
|
|
16
|
-
import { E as createStore, S as useAtomValue, T as atom, b as Provider, n as useTheme } from "./useTheme-
|
|
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-
|
|
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-
|
|
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-
|
|
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-
|
|
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-
|
|
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-
|
|
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-
|
|
8
|
-
import { n as ErrorBanner } from "./error-banner-
|
|
9
|
-
import { f as CopyClipboardIcon } from "./extends-
|
|
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-
|
|
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",
|
|
@@ -2,26 +2,26 @@ 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 { c as useEventListener, g as Logger, h as cn, t as Button } from "./button-
|
|
5
|
+
import { c as useEventListener, g as Logger, h as cn, 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 { r as toast } from "./copy-
|
|
9
|
-
import { C as Accordion, Dn as atomWithStorage, Dt as createVariableInfoElement, E as AccordionTrigger, F as base64ToDataURL, Fn as Wrench, H as renderHTML, In as Trash2, Jt as allTablesAtom, Kn as ExternalLink, Lt as jotaiJsonStorage, O as ChatBubbleIcon, Pt as generateUUID, Q as notebookAtom, Qt as getRequestClient, Rt as variablesAtom, S as AIContextRegistry, T as AccordionItem, Un as Info, Ut as PluralWord, Vn as LoaderCircle, Wn as FileText, Xt as getTableType, Yn as CircleX, Yt as dataSourceConnectionsAtom, _n as CellOutputId, an as isMarimoErrorsMime, b as contextToXml, bt as displayCellName, c as Popover, d as PopoverTrigger, f as isOutputEmpty, fn as ZodLocalStorage, g as formatDatasourceContextForCell, h as DatasourceContextProvider, in as isErrorMime, jt as moveToEndOfEditor, kn as Anchor2, n as Spinner, on as isTracebackMime, r as MarkdownRenderer, sn as singleFacet, st as parseHtmlContent, t as toPng, u as PopoverContent, v as Boosts, w as AccordionContent, x as AIContextProvider, y as Sections } from "./html-to-image-
|
|
8
|
+
import { r as toast } from "./copy-DNq8q3zw.js";
|
|
9
|
+
import { C as Accordion, Dn as atomWithStorage, Dt as createVariableInfoElement, E as AccordionTrigger, F as base64ToDataURL, Fn as Wrench, H as renderHTML, In as Trash2, Jt as allTablesAtom, Kn as ExternalLink, Lt as jotaiJsonStorage, O as ChatBubbleIcon, Pt as generateUUID, Q as notebookAtom, Qt as getRequestClient, Rt as variablesAtom, S as AIContextRegistry, T as AccordionItem, Un as Info, Ut as PluralWord, Vn as LoaderCircle, Wn as FileText, Xt as getTableType, Yn as CircleX, Yt as dataSourceConnectionsAtom, _n as CellOutputId, an as isMarimoErrorsMime, b as contextToXml, bt as displayCellName, c as Popover, d as PopoverTrigger, f as isOutputEmpty, fn as ZodLocalStorage, g as formatDatasourceContextForCell, h as DatasourceContextProvider, in as isErrorMime, jt as moveToEndOfEditor, kn as Anchor2, n as Spinner, on as isTracebackMime, r as MarkdownRenderer, sn as singleFacet, st as parseHtmlContent, t as toPng, u as PopoverContent, v as Boosts, w as AccordionContent, x as AIContextProvider, y as Sections } from "./html-to-image-Bif4utQZ.js";
|
|
10
10
|
import "./chunk-5FQGJX7Z-B9WoXK1R.js";
|
|
11
|
-
import { u as createLucideIcon } from "./dist-
|
|
12
|
-
import { C as logNever, I as X, R as ChevronDown, t as Strings } from "./strings-
|
|
13
|
-
import { C as DropdownMenuTrigger, a as NumberField, f as DropdownMenu, h as DropdownMenuItem, p as DropdownMenuContent, r as Input } from "./input-
|
|
14
|
-
import { p as isUrl, v as CircleQuestionMark } from "./toDate-
|
|
15
|
-
import { a as MarimoIncomingMessageEvent, d as Square, f as File$1, n as blobToString, t as processOutput, u as deserializeBlob } from "./process-output-
|
|
11
|
+
import { u as createLucideIcon } from "./dist-DIlxLFXG.js";
|
|
12
|
+
import { C as logNever, I as X, R as ChevronDown, t as Strings } from "./strings-DIy9NAmg.js";
|
|
13
|
+
import { C as DropdownMenuTrigger, a as NumberField, f as DropdownMenu, h as DropdownMenuItem, p as DropdownMenuContent, r as Input } from "./input-C5K4VBvB.js";
|
|
14
|
+
import { p as isUrl, v as CircleQuestionMark } from "./toDate-CmR_xR3P.js";
|
|
15
|
+
import { a as MarimoIncomingMessageEvent, d as Square, f as File$1, n as blobToString, t as processOutput, u as deserializeBlob } from "./process-output-TAzy-GUk.js";
|
|
16
16
|
import "./react-dom-BTJzcVJ9.js";
|
|
17
17
|
import { t as require_jsx_runtime } from "./jsx-runtime-DebpN0FN.js";
|
|
18
|
-
import { A as looseObject, B as union, C as any, D as discriminatedUnion, E as custom, H as safeParseAsync, I as record, L as strictObject, M as never, N as number, O as lazy, P as object$1, R as string, S as _null, T as boolean, V as unknown, W as toJSONSchema, b as _enum, k as literal, w as array$1, x as _instanceof } from "./zod-
|
|
19
|
-
import { n as ErrorBanner } from "./error-banner-
|
|
20
|
-
import { t as Label } from "./label-
|
|
21
|
-
import { t as Tooltip } from "./tooltip-
|
|
22
|
-
import { f as CopyClipboardIcon } from "./extends-
|
|
18
|
+
import { A as looseObject, B as union, C as any, D as discriminatedUnion, E as custom, H as safeParseAsync, I as record, L as strictObject, M as never, N as number, O as lazy, P as object$1, R as string, S as _null, T as boolean, V as unknown, W as toJSONSchema, b as _enum, k as literal, w as array$1, x as _instanceof } from "./zod-BUcyXSdR.js";
|
|
19
|
+
import { n as ErrorBanner } from "./error-banner-B_GQfxxD.js";
|
|
20
|
+
import { t as Label } from "./label-DjoYwqmj.js";
|
|
21
|
+
import { t as Tooltip } from "./tooltip-f-qR0iUx.js";
|
|
22
|
+
import { f as CopyClipboardIcon } from "./extends-w2_S44bV.js";
|
|
23
23
|
import { t as isEmpty_default } from "./isEmpty-CJJMn-QP.js";
|
|
24
|
-
import { A as useEvent_default, n as useTheme, w as useStore } from "./useTheme-
|
|
24
|
+
import { A as useEvent_default, n as useTheme, w as useStore } from "./useTheme-DYfby65G.js";
|
|
25
25
|
import { $ as EditorView, At as EditorState, Bt as Transaction, Lt as StateEffect, Nt as Prec, Rt as StateField, Z as Decoration, jt as Facet, mt as keymap, nt as WidgetType, pt as hoverTooltip, tt as ViewPlugin } from "./dist-De-GlSAs.js";
|
|
26
26
|
import { t as Objects } from "./objects-De59twF-.js";
|
|
27
27
|
import { n as acceptCompletion, o as closeCompletion, r as autocompletion } from "./dist-CSlJrrAw.js";
|
|
@@ -31,9 +31,9 @@ import "./dist-BTdrwBWP.js";
|
|
|
31
31
|
import "./dist-4lVIWUT3.js";
|
|
32
32
|
import "./dist-DgjbnqTg.js";
|
|
33
33
|
import "./dist-CRmSjkLP.js";
|
|
34
|
-
import { n as minimalSetup, t as esm_default } from "./esm-
|
|
34
|
+
import { n as minimalSetup, t as esm_default } from "./esm-DzZVaNH4.js";
|
|
35
35
|
import "./purify.es-EnR5yhgI.js";
|
|
36
|
-
import { t as useAsyncData } from "./useAsyncData-
|
|
36
|
+
import { t as useAsyncData } from "./useAsyncData-CYOQb1EW.js";
|
|
37
37
|
var Ban = createLucideIcon("ban", [["path", {
|
|
38
38
|
d: "M4.929 4.929 19.07 19.071",
|
|
39
39
|
key: "196cmz"
|