@marimo-team/islands 0.23.16-dev25 → 0.23.16-dev26
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.
|
@@ -36320,7 +36320,7 @@ ${d}`,
|
|
|
36320
36320
|
return Logger.warn("Failed to get version from mount config"), null;
|
|
36321
36321
|
}
|
|
36322
36322
|
}
|
|
36323
|
-
marimoVersionAtom = atom(getVersionFromMountConfig() || "0.23.16-
|
|
36323
|
+
marimoVersionAtom = atom(getVersionFromMountConfig() || "0.23.16-dev26");
|
|
36324
36324
|
showCodeInRunModeAtom = atom(true);
|
|
36325
36325
|
atom(null);
|
|
36326
36326
|
var import_compiler_runtime = require_compiler_runtime();
|
package/dist/main.js
CHANGED
|
@@ -26,7 +26,7 @@ import { $ as notebookOutline, A as ChevronDownIcon, Bn as Eye, Bt as DATA_TYPE_
|
|
|
26
26
|
import { __tla as __tla_1 } from "./chunk-5FQGJX7Z-B9WoXK1R.js";
|
|
27
27
|
import { o as useSize, s as Root$1, u as createLucideIcon } from "./dist-DIlxLFXG.js";
|
|
28
28
|
import { A as SquareFunction, C as DEFAULT_COLOR_SCHEME, D as SCALE_TYPE_DESCRIPTIONS, E as EMPTY_VALUE$1, O as TIME_UNIT_DESCRIPTIONS, S as DEFAULT_AGGREGATION, T as DEFAULT_TIME_UNIT, _ as AGGREGATION_TYPE_DESCRIPTIONS, a as AGGREGATION_FNS$1, b as COLOR_SCHEMES, c as COLOR_BY_FIELDS, d as NONE_VALUE, f as SELECTABLE_DATA_TYPES, g as TIME_UNITS, h as STRING_AGGREGATION_FNS, i as convertDataTypeToSelectable, j as ChartColumn, k as escapeFieldName, l as COMBINED_TIME_UNITS, m as SORT_TYPES, n as createSpecWithoutData, o as BIN_AGGREGATION, p as SINGLE_TIME_UNITS, r as isFieldSet, s as CHART_TYPES, t as augmentSpecWithData, u as ChartType, v as AGGREGATION_TYPE_ICON, w as DEFAULT_MAX_BINS_FACET, x as COUNT_FIELD, y as CHART_TYPE_ICON } from "./spec-CQKL_D3i.js";
|
|
29
|
-
import { $ as smartMatch, $t as HtmlOutput, A as LoadingState, At as loadTableAndRawData, B as useInternalStateWithSync, Bt as dateToLocalISODateTime, C as Progress, Ct as renderCellValue, D as ColumnPreviewContainer, Dt as useIntersectionObserver, E as ColumnName, Et as DelayMount, F as ContextMenu, Ft as toFieldTypes, G as Combobox, Gt as TabsTrigger, H as CompactChipRow, Ht as Tabs, I as ContextMenuContent, It as getMimeValues, J as CommandEmpty, Jt as ChartLoadingState, K as ComboboxItem, Kt as ChartErrorState, L as ContextMenuItem, Lt as isNullishFilter, M as prettifyRowCount, Mt as INDEX_COLUMN_NAME, N as getColumnCountForDisplay, Nt as SELECT_COLUMN_ID, O as EmptyState, Ot as usePrevious$1, P as getUserColumnVisibilityCounts, Pt as TOO_MANY_ROWS, Q as CommandSeparator, Qt as Kbd, R as ContextMenuSeparator, Rt as Maps, S as downloadHTMLAsImage, St as inferFieldTypes, T as downloadSizeLimitAtom, Tt as ColumnChartSpecModel, U as DatePicker, Ut as TabsContent, V as useSelectList, Vt as dateToLocalISOTime, W as DateRangePicker, Wt as TabsList, X as CommandItem, Xt as useOverflowDetection, Y as CommandInput, Yt as LazyVegaEmbed, Z as CommandList, Zt as RenderTextWithLinks, _ as InstallPackageButton, _n as ChevronsDownUp, _t as TableHead, an as $fae977aafc393c5c$export$6b862160d295c8e, at as isCellAwareAtom, b as downloadByURL, bt as NAMELESS_COLUMN_PREFIX, cn as Funnel, ct as Toggle, d as RadioGroup, dn as Ellipsis, en as EmotionCacheProvider, et as ContextAwarePanelItem, f as RadioGroupItem, fn as Download, ft as Fill, g as DataTable, gn as ChevronsLeft, gt as TableCell, h as OutputRenderer, hn as ChevronsRight, ht as TableBody, in as $fae977aafc393c5c$export$588937bcd60ade55, it as contextAwarePanelType, j as prettifyRowColumnCount, jt as loadTableData, k as ErrorState, kt as getPageIndexForRow, l as Slide, ln as EyeOff, m as OutputArea, mn as ChevronsUpDown, mt as Table, n as marimoVersionAtom, nn as hasFunctionProperty, nt as contextAwarePanelOpen, on as TextWrap, ot as SlotNames, p as JsonOutput, pn as Code, pt as Provider$1, q as Command, qt as ChartInfoState, r as showCodeInRunModeAtom, rn as isRecord, rt as contextAwarePanelOwner, s as SLIDE_TYPE_OPTIONS_BY_VALUE, sn as GripHorizontal, st as slotsController, t as useNotebookCodeAvailable, tn as safeLocale, tt as PANEL_TYPES, u as Switch, v as ADD_PRINTING_CLASS, vn as ChevronLeft, vt as TableHeader, w as Filenames, wt as ColumnChartContext, x as downloadExportedFile, xt as generateColumns, y as downloadBlob, yn as ArrowDownWideNarrow, yt as TableRow, z as ContextMenuTrigger, zt as dateToLocalISODate, __tla as __tla_2 } from "./code-visibility-
|
|
29
|
+
import { $ as smartMatch, $t as HtmlOutput, A as LoadingState, At as loadTableAndRawData, B as useInternalStateWithSync, Bt as dateToLocalISODateTime, C as Progress, Ct as renderCellValue, D as ColumnPreviewContainer, Dt as useIntersectionObserver, E as ColumnName, Et as DelayMount, F as ContextMenu, Ft as toFieldTypes, G as Combobox, Gt as TabsTrigger, H as CompactChipRow, Ht as Tabs, I as ContextMenuContent, It as getMimeValues, J as CommandEmpty, Jt as ChartLoadingState, K as ComboboxItem, Kt as ChartErrorState, L as ContextMenuItem, Lt as isNullishFilter, M as prettifyRowCount, Mt as INDEX_COLUMN_NAME, N as getColumnCountForDisplay, Nt as SELECT_COLUMN_ID, O as EmptyState, Ot as usePrevious$1, P as getUserColumnVisibilityCounts, Pt as TOO_MANY_ROWS, Q as CommandSeparator, Qt as Kbd, R as ContextMenuSeparator, Rt as Maps, S as downloadHTMLAsImage, St as inferFieldTypes, T as downloadSizeLimitAtom, Tt as ColumnChartSpecModel, U as DatePicker, Ut as TabsContent, V as useSelectList, Vt as dateToLocalISOTime, W as DateRangePicker, Wt as TabsList, X as CommandItem, Xt as useOverflowDetection, Y as CommandInput, Yt as LazyVegaEmbed, Z as CommandList, Zt as RenderTextWithLinks, _ as InstallPackageButton, _n as ChevronsDownUp, _t as TableHead, an as $fae977aafc393c5c$export$6b862160d295c8e, at as isCellAwareAtom, b as downloadByURL, bt as NAMELESS_COLUMN_PREFIX, cn as Funnel, ct as Toggle, d as RadioGroup, dn as Ellipsis, en as EmotionCacheProvider, et as ContextAwarePanelItem, f as RadioGroupItem, fn as Download, ft as Fill, g as DataTable, gn as ChevronsLeft, gt as TableCell, h as OutputRenderer, hn as ChevronsRight, ht as TableBody, in as $fae977aafc393c5c$export$588937bcd60ade55, it as contextAwarePanelType, j as prettifyRowColumnCount, jt as loadTableData, k as ErrorState, kt as getPageIndexForRow, l as Slide, ln as EyeOff, m as OutputArea, mn as ChevronsUpDown, mt as Table, n as marimoVersionAtom, nn as hasFunctionProperty, nt as contextAwarePanelOpen, on as TextWrap, ot as SlotNames, p as JsonOutput, pn as Code, pt as Provider$1, q as Command, qt as ChartInfoState, r as showCodeInRunModeAtom, rn as isRecord, rt as contextAwarePanelOwner, s as SLIDE_TYPE_OPTIONS_BY_VALUE, sn as GripHorizontal, st as slotsController, t as useNotebookCodeAvailable, tn as safeLocale, tt as PANEL_TYPES, u as Switch, v as ADD_PRINTING_CLASS, vn as ChevronLeft, vt as TableHeader, w as Filenames, wt as ColumnChartContext, x as downloadExportedFile, xt as generateColumns, y as downloadBlob, yn as ArrowDownWideNarrow, yt as TableRow, z as ContextMenuTrigger, zt as dateToLocalISODate, __tla as __tla_2 } from "./code-visibility-DQX4c5V7.js";
|
|
30
30
|
import { c as Calendar, i as createReducerAndAtoms, n as useOnUnmount, o as ToggleLeft, t as useOnMount } from "./useLifecycle-CMJGqBaY.js";
|
|
31
31
|
import { t as Check } from "./check-DP7U0H0G.js";
|
|
32
32
|
import { A as Icon, C as logNever, D as $18f2051aff69b9bf$export$a54013f0d02a8f82, E as $18f2051aff69b9bf$export$43bb16f9c6d9e3f7, F as createCollection, I as X, M as clamp$2, N as usePrevious$2, P as useDirection, R as ChevronDown, S as assertNever, a as SelectGroup, c as SelectSeparator, d as NativeSelect, i as SelectContent, j as Trigger$1, l as SelectTrigger, n as capitalize, o as SelectItem, r as Select, s as SelectLabel, t as Strings, u as SelectValue, w as $a916eb452884faea$export$b7a616150fdb9f44 } from "./strings-DIy9NAmg.js";
|
|
@@ -38147,7 +38147,7 @@ ${c}
|
|
|
38147
38147
|
function _temp2$2(e) {
|
|
38148
38148
|
e.target === e.currentTarget && e.key === "Enter" && (e.preventDefault(), e.stopPropagation(), e.currentTarget.click());
|
|
38149
38149
|
}
|
|
38150
|
-
var LazySlidesComponent = import_react.lazy(() => import("./reveal-component-
|
|
38150
|
+
var LazySlidesComponent = import_react.lazy(() => import("./reveal-component-DyOeuep6.js"));
|
|
38151
38151
|
const SlidesLayoutRenderer = ({ layout: e, setLayout: r, cells: c, mode: l }) => {
|
|
38152
38152
|
var _a5;
|
|
38153
38153
|
let u = useAtomValue(kioskModeAtom), d = l === "read" || u, f = useAtomValue(numColumnsAtom) > 1, [p, m] = (0, import_react.useState)(null), { slideCells: h, skippedIds: g, noOutputIds: _, slideTypes: v, startCellIndex: y } = (0, import_react.useMemo)(() => computeSlideCellsInfo(c, e), [
|
|
@@ -9,7 +9,7 @@ import { t as require_compiler_runtime } from "./compiler-runtime-CEbnTgxf.js";
|
|
|
9
9
|
import { ut as outputIsStale } from "./html-to-image-27MFfyOf.js";
|
|
10
10
|
import "./chunk-5FQGJX7Z-B9WoXK1R.js";
|
|
11
11
|
import { u as createLucideIcon } from "./dist-DIlxLFXG.js";
|
|
12
|
-
import { a as DEFAULT_DECK_VERTICAL_ALIGN, c as SlideSidebar, dt as PanelResizeHandle, i as DEFAULT_DECK_TRANSITION, l as Slide, ln as EyeOff, lt as Panel, o as DEFAULT_SLIDE_TYPE, pn as Code, t as useNotebookCodeAvailable, un as Expand, ut as PanelGroup } from "./code-visibility-
|
|
12
|
+
import { a as DEFAULT_DECK_VERTICAL_ALIGN, c as SlideSidebar, dt as PanelResizeHandle, i as DEFAULT_DECK_TRANSITION, l as Slide, ln as EyeOff, lt as Panel, o as DEFAULT_SLIDE_TYPE, pn as Code, t as useNotebookCodeAvailable, un as Expand, ut as PanelGroup } from "./code-visibility-DQX4c5V7.js";
|
|
13
13
|
import { R as ChevronDown } from "./strings-DIy9NAmg.js";
|
|
14
14
|
import { X as useDebouncedCallback } from "./input-C5K4VBvB.js";
|
|
15
15
|
import { v as kioskModeAtom } from "./toDate-CqhBWjvO.js";
|
package/package.json
CHANGED
|
@@ -17,6 +17,8 @@ export type CellConfig = schemas["CellConfig"];
|
|
|
17
17
|
export type RuntimeState = schemas["CellNotification"]["status"];
|
|
18
18
|
export type CodeCompletionRequest = schemas["CodeCompletionRequest"];
|
|
19
19
|
export type DeleteCellRequest = schemas["DeleteCellRequest"];
|
|
20
|
+
export type AutoExportAsMarkdownRequest =
|
|
21
|
+
schemas["AutoExportAsMarkdownRequest"];
|
|
20
22
|
export type ExportAsHTMLRequest = schemas["ExportAsHTMLRequest"];
|
|
21
23
|
export type ExportAsMarkdownRequest = schemas["ExportAsMarkdownRequest"];
|
|
22
24
|
export type ExportAsIPYNBRequest = schemas["ExportAsIPYNBRequest"];
|
|
@@ -221,7 +223,7 @@ export interface EditRequests {
|
|
|
221
223
|
) => Promise<ExportedFile<string>>;
|
|
222
224
|
exportAsPDF: (request: ExportAsPDFRequest) => Promise<ExportedFile<Blob>>;
|
|
223
225
|
autoExportAsHTML: (request: ExportAsHTMLRequest) => Promise<null>;
|
|
224
|
-
autoExportAsMarkdown: (request:
|
|
226
|
+
autoExportAsMarkdown: (request: AutoExportAsMarkdownRequest) => Promise<null>;
|
|
225
227
|
autoExportAsIPYNB: (request: ExportAsIPYNBRequest) => Promise<null>;
|
|
226
228
|
updateCellOutputs: (request: UpdateCellOutputsRequest) => Promise<null>;
|
|
227
229
|
// Package requests
|