@marimo-team/islands 0.23.10-dev2 → 0.23.10-dev20
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-CyV83R2m.js → ConnectedDataExplorerComponent-DdeG-Hi-.js} +23 -23
- package/dist/{any-language-editor-DfdpyDv_.js → any-language-editor-CiES2a2h.js} +2 -2
- package/dist/{chat-ui-ar37brtL.js → chat-ui-BTobdMRF.js} +61 -61
- package/dist/{code-visibility-B88v1No3.js → code-visibility-51MFr9ZL.js} +1212 -1046
- package/dist/{copy-BuQpJEzp.js → copy-5jQ_kGE1.js} +32 -32
- package/dist/{esm-BfhQmZjp.js → esm-CCuYCd3R.js} +1 -1
- package/dist/{extends-BgdxCfYu.js → extends-CkydH1Q5.js} +1 -1
- package/dist/{glide-data-editor-BOmK9ETQ.js → glide-data-editor-CRvL2R9l.js} +7 -7
- package/dist/{html-to-image-Cp8O1OWB.js → html-to-image-CjsdUYrb.js} +2258 -2238
- package/dist/{input-_2sjvfne.js → input-DVkbXbIX.js} +183 -181
- package/dist/main.js +1564 -1362
- package/dist/{process-output-CaUUWhh8.js → process-output-CI8a-CUx.js} +2 -2
- package/dist/{reveal-component-CfFoUPFg.js → reveal-component-ZPJ8w6yK.js} +5 -5
- package/dist/{spec-B96zNUEA.js → spec-DMRQmLOc.js} +2 -2
- package/dist/{strings-Bu3vlb6W.js → strings-GCJA9n6d.js} +25 -24
- package/dist/style.css +1 -1
- package/dist/{useDateFormatter-BA4FCquG.js → useDateFormatter-BRcO_TGJ.js} +1 -1
- package/package.json +2 -2
- package/src/components/data-table/__tests__/data-table.test.tsx +154 -12
- package/src/components/data-table/hover-tooltip/__tests__/content.test.ts +60 -0
- package/src/components/data-table/hover-tooltip/content.ts +44 -0
- package/src/components/data-table/hover-tooltip/hover-tooltip.tsx +55 -0
- package/src/components/data-table/hover-tooltip/use-table-hover-tooltip.ts +159 -0
- package/src/components/data-table/renderers.tsx +27 -43
- package/src/components/datasources/__tests__/filter-empty.test.ts +183 -0
- package/src/components/datasources/datasources.tsx +92 -3
- package/src/components/editor/cell/cell-context-menu.tsx +15 -2
- package/src/components/editor/documentation.css +16 -0
- package/src/components/editor/file-tree/file-explorer.tsx +8 -18
- package/src/components/editor/file-tree/tree-actions.tsx +46 -1
- package/src/components/slides/__tests__/minimap-actions.test.tsx +166 -0
- package/src/components/slides/minimap.tsx +127 -10
- package/src/components/storage/__tests__/storage-inspector.test.ts +53 -0
- package/src/components/storage/storage-inspector.tsx +68 -48
- package/src/components/ui/__tests__/use-toast.test.ts +75 -0
- package/src/components/ui/use-toast.ts +33 -13
- package/src/core/cells/__tests__/__snapshots__/cells.test.ts.snap +0 -28
- package/src/core/cells/__tests__/cell.test.ts +29 -2
- package/src/core/cells/cell.ts +5 -1
- package/src/core/codemirror/go-to-definition/__tests__/utils.test.ts +37 -0
- package/src/core/codemirror/go-to-definition/commands.ts +17 -9
- package/src/core/codemirror/go-to-definition/utils.ts +1 -0
- package/src/core/codemirror/language/languages/sql/utils.ts +3 -1
- package/src/core/datasets/data-source-connections.ts +2 -0
- package/src/core/network/__tests__/requests-static.test.ts +30 -0
- package/src/core/network/requests-static.ts +14 -10
- package/src/plugins/layout/DownloadPlugin.tsx +1 -1
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { s as __toESM } from "./chunk-BNovOVIE.js";
|
|
2
2
|
import { t as require_compiler_runtime } from "./compiler-runtime-CEbnTgxf.js";
|
|
3
|
-
import {
|
|
3
|
+
import { at as parseHtmlContent, it as ansiToPlainText } from "./html-to-image-CjsdUYrb.js";
|
|
4
4
|
import { u as createLucideIcon } from "./dist-C1BYNeCR.js";
|
|
5
|
-
import { t as Strings } from "./strings-
|
|
5
|
+
import { t as Strings } from "./strings-GCJA9n6d.js";
|
|
6
6
|
import { t as require_jsx_runtime } from "./jsx-runtime-DebpN0FN.js";
|
|
7
7
|
import { n as mapWithConcurrency } from "./semaphore-CNDGTzkX.js";
|
|
8
8
|
var File = createLucideIcon("file", [["path", {
|
|
@@ -6,11 +6,11 @@ import { s as __toESM } from "./chunk-BNovOVIE.js";
|
|
|
6
6
|
import { _ as Logger, g as cn, h as Events, l as useEventListener, t as Button } from "./button-C5K9fIPF.js";
|
|
7
7
|
import { t as require_react } from "./react-DA-nE2FX.js";
|
|
8
8
|
import { t as require_compiler_runtime } from "./compiler-runtime-CEbnTgxf.js";
|
|
9
|
-
import {
|
|
9
|
+
import { lt as kioskModeAtom } from "./html-to-image-CjsdUYrb.js";
|
|
10
10
|
import "./chunk-5FQGJX7Z-BNjes6Yx.js";
|
|
11
11
|
import { u as createLucideIcon } from "./dist-C1BYNeCR.js";
|
|
12
|
-
import {
|
|
13
|
-
import {
|
|
12
|
+
import { $ as PanelGroup, $t as Code, Q as Panel, Xt as Expand, Yt as EyeOff, a as DEFAULT_SLIDE_TYPE, c as Slide, et as PanelResizeHandle, i as DEFAULT_DECK_TRANSITION, s as SlideSidebar, t as useNotebookCodeAvailable } from "./code-visibility-51MFr9ZL.js";
|
|
13
|
+
import { J as useDebouncedCallback } from "./input-DVkbXbIX.js";
|
|
14
14
|
import "./toDate-x-WRDCH7.js";
|
|
15
15
|
import "./react-dom-BTJzcVJ9.js";
|
|
16
16
|
import { t as require_jsx_runtime } from "./jsx-runtime-DebpN0FN.js";
|
|
@@ -7239,7 +7239,7 @@ var NotesAside = (e5) => {
|
|
|
7239
7239
|
status: n.status,
|
|
7240
7240
|
output: n.output
|
|
7241
7241
|
}), t[4] = n.id, t[5] = n.output, t[6] = n.status, t[7] = o) : o = t[7], o;
|
|
7242
|
-
}, reveal_component_default = ({ slideCells: e5, layout: o, setLayout: s, noOutputIds: l, activeIndex: io, onSlideChange: ao, mode:
|
|
7242
|
+
}, reveal_component_default = ({ slideCells: e5, layout: o, setLayout: s, noOutputIds: l, activeIndex: io, onSlideChange: ao, mode: so, configWidth: uo, isEditable: fo = false }) => {
|
|
7243
7243
|
var _a2, _b2;
|
|
7244
7244
|
let _o = (0, import_react.useRef)(null), vo = (0, import_react.useRef)(null), { width: bo, height: xo } = useSlideDimensions(_o), So = useAtomValue(kioskModeAtom), Co = (0, import_react.useMemo)(() => So ? [] : [ce], [So]), [wo, To] = (0, import_react.useState)(false), Eo = useNotebookCodeAvailable(e5), Do = !isIslands() && Eo, Oo = Do && wo, ko = io == null ? void 0 : e5[io], Ao = ko ?? e5.at(0), jo = (0, import_react.useMemo)(() => composeSlides({
|
|
7245
7245
|
cells: e5,
|
|
@@ -7421,7 +7421,7 @@ var NotesAside = (e5) => {
|
|
|
7421
7421
|
]
|
|
7422
7422
|
})
|
|
7423
7423
|
});
|
|
7424
|
-
return
|
|
7424
|
+
return so === "read" ? /* @__PURE__ */ (0, import_jsx_runtime.jsx)("div", {
|
|
7425
7425
|
className: "flex-1 min-w-0 flex flex-row gap-3",
|
|
7426
7426
|
children: Jo
|
|
7427
7427
|
}) : /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("div", {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { u as createLucideIcon } from "./dist-C1BYNeCR.js";
|
|
2
2
|
import { s as Hash } from "./useLifecycle-BBO9PIph.js";
|
|
3
|
-
import { i as Table, o as ChartPie } from "./useDateFormatter-
|
|
4
|
-
import {
|
|
3
|
+
import { i as Table, o as ChartPie } from "./useDateFormatter-BRcO_TGJ.js";
|
|
4
|
+
import { C as logNever } from "./strings-GCJA9n6d.js";
|
|
5
5
|
var AlignCenterVertical = createLucideIcon("align-center-vertical", [
|
|
6
6
|
["path", {
|
|
7
7
|
d: "M12 2v20",
|
|
@@ -1205,32 +1205,33 @@ const Strings = {
|
|
|
1205
1205
|
}
|
|
1206
1206
|
};
|
|
1207
1207
|
export {
|
|
1208
|
-
|
|
1209
|
-
|
|
1210
|
-
$
|
|
1211
|
-
$18f2051aff69b9bf$export$
|
|
1212
|
-
|
|
1213
|
-
|
|
1214
|
-
|
|
1215
|
-
|
|
1216
|
-
|
|
1217
|
-
$b5e257d569688ac6$export$
|
|
1218
|
-
|
|
1219
|
-
|
|
1220
|
-
|
|
1221
|
-
|
|
1208
|
+
Icon as A,
|
|
1209
|
+
logNever as C,
|
|
1210
|
+
$18f2051aff69b9bf$export$a54013f0d02a8f82 as D,
|
|
1211
|
+
$18f2051aff69b9bf$export$43bb16f9c6d9e3f7 as E,
|
|
1212
|
+
createCollection as F,
|
|
1213
|
+
X as I,
|
|
1214
|
+
ChevronUp as L,
|
|
1215
|
+
clamp as M,
|
|
1216
|
+
usePrevious as N,
|
|
1217
|
+
$b5e257d569688ac6$export$535bd6ca7f90a273 as O,
|
|
1218
|
+
useDirection as P,
|
|
1219
|
+
ChevronDown as R,
|
|
1220
|
+
assertNever as S,
|
|
1221
|
+
$488c6ddbf4ef74c2$export$cc77c4ff7e8673c5 as T,
|
|
1222
|
+
menuControlVariants as _,
|
|
1222
1223
|
SelectGroup as a,
|
|
1223
|
-
|
|
1224
|
+
menuSeparatorVariants as b,
|
|
1224
1225
|
SelectSeparator as c,
|
|
1225
1226
|
NativeSelect as d,
|
|
1226
1227
|
selectStyles as f,
|
|
1227
|
-
|
|
1228
|
-
|
|
1228
|
+
menuControlCheckVariants as g,
|
|
1229
|
+
menuContentCommon as h,
|
|
1229
1230
|
SelectContent as i,
|
|
1230
|
-
|
|
1231
|
-
|
|
1231
|
+
Trigger as j,
|
|
1232
|
+
$b5e257d569688ac6$export$619500959fc48b26 as k,
|
|
1232
1233
|
SelectTrigger as l,
|
|
1233
|
-
|
|
1234
|
+
MenuShortcut as m,
|
|
1234
1235
|
capitalize as n,
|
|
1235
1236
|
SelectItem as o,
|
|
1236
1237
|
MENU_ITEM_DISABLED as p,
|
|
@@ -1238,8 +1239,8 @@ export {
|
|
|
1238
1239
|
SelectLabel as s,
|
|
1239
1240
|
Strings as t,
|
|
1240
1241
|
SelectValue as u,
|
|
1241
|
-
|
|
1242
|
-
$
|
|
1243
|
-
|
|
1244
|
-
|
|
1242
|
+
menuItemVariants as v,
|
|
1243
|
+
$a916eb452884faea$export$b7a616150fdb9f44 as w,
|
|
1244
|
+
menuSubTriggerVariants as x,
|
|
1245
|
+
menuLabelVariants as y
|
|
1245
1246
|
};
|