@marimo-team/islands 0.18.2 → 0.18.4
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/{constants-DWBOe162.js → constants-D_G8vnDk.js} +5 -4
- package/dist/{formats-7RSCCoSI.js → formats-Bi_tbdwB.js} +21 -22
- package/dist/{glide-data-editor-D-Ia_Jsv.js → glide-data-editor-DXF8E-QD.js} +2 -2
- package/dist/main.js +280 -148
- package/dist/style.css +1 -1
- package/dist/{types-Dunk85GC.js → types-DclGb0Yh.js} +1 -1
- package/dist/{vega-component-kU4hFYYJ.js → vega-component-BFcH2SqR.js} +8 -8
- package/package.json +1 -1
- package/src/components/app-config/user-config-form.tsx +14 -1
- package/src/components/data-table/context-menu.tsx +7 -3
- package/src/components/data-table/filter-pills.tsx +2 -1
- package/src/components/data-table/filters.ts +11 -2
- package/src/components/editor/cell/CreateCellButton.tsx +5 -3
- package/src/components/editor/cell/collapse.tsx +2 -2
- package/src/components/editor/chrome/components/contribute-snippet-button.tsx +22 -103
- package/src/components/editor/controls/duplicate-shortcut-banner.tsx +50 -0
- package/src/components/editor/controls/keyboard-shortcuts.tsx +25 -2
- package/src/components/editor/notebook-banner.tsx +1 -1
- package/src/components/editor/notebook-cell.tsx +4 -3
- package/src/components/editor/output/__tests__/ansi-reduce.test.ts +6 -6
- package/src/components/editor/renderers/vertical-layout/vertical-layout.tsx +3 -3
- package/src/components/pages/home-page.tsx +6 -0
- package/src/components/scratchpad/scratchpad.tsx +2 -1
- package/src/core/constants.ts +10 -0
- package/src/core/layout/useTogglePresenting.ts +69 -25
- package/src/core/state/__mocks__/mocks.ts +1 -0
- package/src/hooks/__tests__/useDuplicateShortcuts.test.ts +449 -0
- package/src/hooks/useDuplicateShortcuts.ts +145 -0
- package/src/plugins/impl/NumberPlugin.tsx +1 -1
- package/src/plugins/impl/__tests__/NumberPlugin.test.tsx +1 -1
- package/src/plugins/impl/anywidget/AnyWidgetPlugin.tsx +67 -47
- package/src/plugins/impl/anywidget/__tests__/AnyWidgetPlugin.test.tsx +2 -57
- package/src/plugins/impl/anywidget/__tests__/model.test.ts +23 -19
- package/src/plugins/impl/anywidget/model.ts +68 -41
- package/src/plugins/impl/data-frames/utils/__tests__/operators.test.ts +2 -0
- package/src/plugins/impl/data-frames/utils/operators.ts +1 -0
- package/src/plugins/impl/vega/vega.css +5 -0
- package/src/plugins/layout/NavigationMenuPlugin.tsx +24 -22
- package/src/plugins/layout/StatPlugin.tsx +43 -23
- package/src/utils/__tests__/data-views.test.ts +495 -13
- package/src/utils/__tests__/json-parser.test.ts +1 -1
- package/src/utils/data-views.ts +134 -16
- package/src/utils/json/base64.ts +8 -0
|
@@ -64,9 +64,10 @@ const Constants = {
|
|
|
64
64
|
accessToken: "access_token",
|
|
65
65
|
viewAs: "view-as",
|
|
66
66
|
showChrome: "show-chrome"
|
|
67
|
-
};
|
|
67
|
+
}, CSSClasses = { outputArea: "output-area" };
|
|
68
68
|
export {
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
69
|
+
debounce_default as i,
|
|
70
|
+
Constants as n,
|
|
71
|
+
KnownQueryParams as r,
|
|
72
|
+
CSSClasses as t
|
|
72
73
|
};
|
|
@@ -9,7 +9,7 @@ import { a as cva, u as cn } from "./button-XnD6ylpt.js";
|
|
|
9
9
|
import { s as Logger } from "./hotkeys-CwkyZ6ZF.js";
|
|
10
10
|
import { t as require_jsx_runtime } from "./jsx-runtime-CTBg5pdT.js";
|
|
11
11
|
import { b as atom, f as isIslands, l as store } from "./useTheme-ByTGDerd.js";
|
|
12
|
-
import {
|
|
12
|
+
import { r as KnownQueryParams } from "./constants-D_G8vnDk.js";
|
|
13
13
|
import { i as tableFromIPC } from "./loader-ZngagiXO.js";
|
|
14
14
|
var CircleQuestionMark = createLucideIcon("circle-question-mark", [
|
|
15
15
|
["circle", {
|
|
@@ -701,27 +701,26 @@ function decodeIPC(e, x) {
|
|
|
701
701
|
return tableFromIPC(e, x ?? { useProxy: true });
|
|
702
702
|
}
|
|
703
703
|
export {
|
|
704
|
-
CircleQuestionMark as
|
|
705
|
-
|
|
706
|
-
|
|
707
|
-
|
|
708
|
-
|
|
709
|
-
|
|
710
|
-
|
|
711
|
-
|
|
712
|
-
getRuntimeManager as
|
|
713
|
-
|
|
714
|
-
|
|
715
|
-
|
|
716
|
-
millisecondsInWeek as m,
|
|
704
|
+
CircleQuestionMark as S,
|
|
705
|
+
isUrl as _,
|
|
706
|
+
AlertTitle as a,
|
|
707
|
+
Deferred as b,
|
|
708
|
+
constructFrom as c,
|
|
709
|
+
millisecondsInMinute as d,
|
|
710
|
+
millisecondsInSecond as f,
|
|
711
|
+
appendQueryParams as g,
|
|
712
|
+
getRuntimeManager as h,
|
|
713
|
+
AlertDescription as i,
|
|
714
|
+
millisecondsInDay as l,
|
|
715
|
+
asRemoteURL as m,
|
|
717
716
|
useDeepCompareMemoize as n,
|
|
718
|
-
|
|
719
|
-
|
|
720
|
-
|
|
721
|
-
|
|
717
|
+
isValid as o,
|
|
718
|
+
millisecondsInWeek as p,
|
|
719
|
+
Alert as r,
|
|
720
|
+
toDate as s,
|
|
722
721
|
arrow as t,
|
|
723
|
-
|
|
724
|
-
|
|
725
|
-
|
|
726
|
-
|
|
722
|
+
millisecondsInHour as u,
|
|
723
|
+
require_cuid2 as v,
|
|
724
|
+
isWasm as x,
|
|
725
|
+
isStaticNotebook as y
|
|
727
726
|
};
|
|
@@ -8,7 +8,7 @@ import { n as Copy, r as toast, t as copyToClipboard } from "./copy-CzEthfGv.js"
|
|
|
8
8
|
import "./Combination-DnWHe36P.js";
|
|
9
9
|
import "./check-IicTB7sO.js";
|
|
10
10
|
import { A as logNever, E as useOnMount, i as SelectContent, l as SelectTrigger, o as SelectItem, r as Select, t as Label, u as SelectValue } from "./label-BtLFsS7L.js";
|
|
11
|
-
import { C as DropdownMenuSubTrigger, S as DropdownMenuSubContent, _ as DropdownMenuItem, a as Input, b as DropdownMenuSeparator, fn as Trash, h as DropdownMenuContent, hn as Pencil, ht as capitalize_default, m as DropdownMenu, mn as Plus, mt as marked, n as ErrorBoundary, pt as useNonce, t as BulkEdit, x as DropdownMenuSub, y as DropdownMenuPortal } from "./types-
|
|
11
|
+
import { C as DropdownMenuSubTrigger, S as DropdownMenuSubContent, _ as DropdownMenuItem, a as Input, b as DropdownMenuSeparator, fn as Trash, h as DropdownMenuContent, hn as Pencil, ht as capitalize_default, m as DropdownMenu, mn as Plus, mt as marked, n as ErrorBoundary, pt as useNonce, t as BulkEdit, x as DropdownMenuSub, y as DropdownMenuPortal } from "./types-DclGb0Yh.js";
|
|
12
12
|
import "./clsx-D2KVTYnW.js";
|
|
13
13
|
import { l as Events, t as Button } from "./button-XnD6ylpt.js";
|
|
14
14
|
import { s as Logger } from "./hotkeys-CwkyZ6ZF.js";
|
|
@@ -25,7 +25,7 @@ import "./merge-DPdZQMPt.js";
|
|
|
25
25
|
import "./_baseSlice-D44oUJcJ.js";
|
|
26
26
|
import "./_hasUnicode-nuTfNJRy.js";
|
|
27
27
|
import "./now-BA1FgVte.js";
|
|
28
|
-
import "./constants-
|
|
28
|
+
import "./constants-D_G8vnDk.js";
|
|
29
29
|
import "./zod-Bvx56F8M.js";
|
|
30
30
|
import "./invariant-Ctm_8TNZ.js";
|
|
31
31
|
import "./once-DjP4Kbhy.js";
|