@marimo-team/islands 0.23.7-dev27 → 0.23.7-dev29
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/{code-visibility-BSYXGHdq.js → code-visibility-aWhw4oCc.js} +1 -1
- package/dist/main.js +2 -2
- package/dist/{reveal-component-pMXd2Frq.js → reveal-component-dGkeSSB-.js} +1 -1
- package/package.json +1 -1
- package/src/components/editor/chrome/panels/context-aware-panel/context-aware-panel.tsx +10 -2
- package/src/components/editor/chrome/wrapper/app-chrome.tsx +1 -0
- package/src/components/editor/chrome/wrapper/footer.tsx +4 -1
- package/src/components/editor/chrome/wrapper/panels.tsx +4 -1
- package/src/components/editor/chrome/wrapper/sidebar.tsx +4 -1
- package/src/components/editor/controls/Controls.tsx +8 -2
|
@@ -25668,7 +25668,7 @@ ${_}`,
|
|
|
25668
25668
|
return Logger.warn("Failed to get version from mount config"), null;
|
|
25669
25669
|
}
|
|
25670
25670
|
}
|
|
25671
|
-
marimoVersionAtom = atom(getVersionFromMountConfig() || "0.23.7-
|
|
25671
|
+
marimoVersionAtom = atom(getVersionFromMountConfig() || "0.23.7-dev29");
|
|
25672
25672
|
showCodeInRunModeAtom = atom(true);
|
|
25673
25673
|
atom(null);
|
|
25674
25674
|
var import_compiler_runtime = require_compiler_runtime();
|
package/dist/main.js
CHANGED
|
@@ -26,7 +26,7 @@ import { $ as useCellActions, At as DeferredRequestRegistry, B as safeExtractSet
|
|
|
26
26
|
import { __tla as __tla_1 } from "./chunk-5FQGJX7Z-BOg95xG5.js";
|
|
27
27
|
import { o as useSize, s as Root$2, u as createLucideIcon } from "./dist-D3ZI9nhS.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-hVaaZsY5.js";
|
|
29
|
-
import { $ as filtersToFilterGroup, A as contextAwarePanelOwner, At as Funnel, B as TableCell, Bt as ChevronLeft, C as prettifyRowCount, Ct as useOverflowDetection, D as ContextAwarePanelItem, Dt as EmotionCacheProvider, E as ComboboxItem, Et as HtmlOutput, F as Toggle, Ft as Code, G as generateColumns, H as TableHeader, I as Fill, It as ChevronsUpDown, J as ColumnChartContext, K as inferFieldTypes, L as Provider$1, Lt as ChevronsRight, M as isCellAwareAtom, N as SlotNames, Nt as Ellipsis, O as PANEL_TYPES, Ot as TextWrap, P as slotsController, Pt as Download, Q as usePrevious$1, R as Table, Rt as ChevronsLeft, S as prettifyRowColumnCount, St as LazyVegaEmbed, T as Combobox, Tt as Kbd, U as TableRow, V as TableHead, Vt as ArrowDownWideNarrow, W as NAMELESS_COLUMN_PREFIX, X as DelayMount, Y as ColumnChartSpecModel, Z as useIntersectionObserver, _ as downloadBlob, _t as TabsList, at as TOO_MANY_ROWS, b as Progress, bt as ChartInfoState, c as Slide, ct as Command, d as JsonOutput, dt as CommandItem, et as getPageIndexForRow, f as OutputArea, ft as CommandList, g as ADD_PRINTING_CLASS, gt as TabsContent, h as InstallPackageButton, ht as Tabs, it as SELECT_COLUMN_ID, j as contextAwarePanelType, jt as EyeOff, k as contextAwarePanelOpen, kt as GripHorizontal, l as RadioGroup, lt as CommandEmpty, m as DataTable, mt as Maps, n as marimoVersionAtom, nt as loadTableData, o as SLIDE_TYPE_OPTIONS_BY_VALUE, ot as toFieldTypes, p as OutputRenderer, pt as CommandSeparator, q as renderCellValue, r as showCodeInRunModeAtom, rt as INDEX_COLUMN_NAME, st as getMimeValues, t as useNotebookCodeAvailable, tt as loadTableAndRawData, u as RadioGroupItem, ut as CommandInput, v as downloadByURL, vt as TabsTrigger, w as useInternalStateWithSync, wt as RenderTextWithLinks, x as Filenames, xt as ChartLoadingState, y as downloadHTMLAsImage, yt as ChartErrorState, z as TableBody, zt as ChevronsDownUp, __tla as __tla_2 } from "./code-visibility-
|
|
29
|
+
import { $ as filtersToFilterGroup, A as contextAwarePanelOwner, At as Funnel, B as TableCell, Bt as ChevronLeft, C as prettifyRowCount, Ct as useOverflowDetection, D as ContextAwarePanelItem, Dt as EmotionCacheProvider, E as ComboboxItem, Et as HtmlOutput, F as Toggle, Ft as Code, G as generateColumns, H as TableHeader, I as Fill, It as ChevronsUpDown, J as ColumnChartContext, K as inferFieldTypes, L as Provider$1, Lt as ChevronsRight, M as isCellAwareAtom, N as SlotNames, Nt as Ellipsis, O as PANEL_TYPES, Ot as TextWrap, P as slotsController, Pt as Download, Q as usePrevious$1, R as Table, Rt as ChevronsLeft, S as prettifyRowColumnCount, St as LazyVegaEmbed, T as Combobox, Tt as Kbd, U as TableRow, V as TableHead, Vt as ArrowDownWideNarrow, W as NAMELESS_COLUMN_PREFIX, X as DelayMount, Y as ColumnChartSpecModel, Z as useIntersectionObserver, _ as downloadBlob, _t as TabsList, at as TOO_MANY_ROWS, b as Progress, bt as ChartInfoState, c as Slide, ct as Command, d as JsonOutput, dt as CommandItem, et as getPageIndexForRow, f as OutputArea, ft as CommandList, g as ADD_PRINTING_CLASS, gt as TabsContent, h as InstallPackageButton, ht as Tabs, it as SELECT_COLUMN_ID, j as contextAwarePanelType, jt as EyeOff, k as contextAwarePanelOpen, kt as GripHorizontal, l as RadioGroup, lt as CommandEmpty, m as DataTable, mt as Maps, n as marimoVersionAtom, nt as loadTableData, o as SLIDE_TYPE_OPTIONS_BY_VALUE, ot as toFieldTypes, p as OutputRenderer, pt as CommandSeparator, q as renderCellValue, r as showCodeInRunModeAtom, rt as INDEX_COLUMN_NAME, st as getMimeValues, t as useNotebookCodeAvailable, tt as loadTableAndRawData, u as RadioGroupItem, ut as CommandInput, v as downloadByURL, vt as TabsTrigger, w as useInternalStateWithSync, wt as RenderTextWithLinks, x as Filenames, xt as ChartLoadingState, y as downloadHTMLAsImage, yt as ChartErrorState, z as TableBody, zt as ChevronsDownUp, __tla as __tla_2 } from "./code-visibility-aWhw4oCc.js";
|
|
30
30
|
import { c as Calendar, i as createReducerAndAtoms, n as useOnUnmount, o as ToggleLeft, t as useOnMount } from "./useLifecycle-BF6-z62y.js";
|
|
31
31
|
import { n as $fb18d541ea1ad717$export$ad991b66133851cf, r as $5a387cc49350e6db$export$722debc0e56fea39, t as $896ba0a80a8f4d36$export$85fd5fdf27bacc79 } from "./useDateFormatter-B_9k85Ex.js";
|
|
32
32
|
import { t as Check } from "./check-BcUIXnUT.js";
|
|
@@ -44600,7 +44600,7 @@ ${c}
|
|
|
44600
44600
|
if (l && l !== "slide") return l;
|
|
44601
44601
|
if (c == null ? void 0 : c.has(e)) return "skip";
|
|
44602
44602
|
}
|
|
44603
|
-
var LazySlidesComponent = import_react.lazy(() => import("./reveal-component-
|
|
44603
|
+
var LazySlidesComponent = import_react.lazy(() => import("./reveal-component-dGkeSSB-.js"));
|
|
44604
44604
|
const SlidesLayoutPlugin = {
|
|
44605
44605
|
type: "slides",
|
|
44606
44606
|
name: "Slides",
|
|
@@ -8,7 +8,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
9
|
import "./html-to-image-DxWM1HVj.js";
|
|
10
10
|
import "./chunk-5FQGJX7Z-BOg95xG5.js";
|
|
11
|
-
import { Ft as Code, Mt as Expand, a as DEFAULT_SLIDE_TYPE, c as Slide, i as DEFAULT_DECK_TRANSITION, jt as EyeOff, s as SlideSidebar, t as useNotebookCodeAvailable } from "./code-visibility-
|
|
11
|
+
import { Ft as Code, Mt as Expand, a as DEFAULT_SLIDE_TYPE, c as Slide, i as DEFAULT_DECK_TRANSITION, jt as EyeOff, s as SlideSidebar, t as useNotebookCodeAvailable } from "./code-visibility-aWhw4oCc.js";
|
|
12
12
|
import "./input-Cc1Vvw9A.js";
|
|
13
13
|
import "./toDate-CJWlVNGD.js";
|
|
14
14
|
import "./react-dom-BWRJ_g_k.js";
|
package/package.json
CHANGED
|
@@ -133,7 +133,12 @@ export const ContextAwarePanel: React.FC = () => {
|
|
|
133
133
|
onDragging={handleDragging}
|
|
134
134
|
className="resize-handle border-border z-20 print:hidden border-l"
|
|
135
135
|
/>
|
|
136
|
-
<Panel
|
|
136
|
+
<Panel
|
|
137
|
+
data-testid="chrome-context-aware-panel"
|
|
138
|
+
defaultSize={25}
|
|
139
|
+
minSize={25}
|
|
140
|
+
maxSize={80}
|
|
141
|
+
>
|
|
137
142
|
{renderBody()}
|
|
138
143
|
</Panel>
|
|
139
144
|
</>
|
|
@@ -167,7 +172,10 @@ const ResizableComponent = ({ children }: ResizableComponentProps) => {
|
|
|
167
172
|
});
|
|
168
173
|
|
|
169
174
|
return (
|
|
170
|
-
<div
|
|
175
|
+
<div
|
|
176
|
+
data-testid="chrome-context-aware-panel"
|
|
177
|
+
className="absolute z-40 right-0 h-full bg-background flex flex-row"
|
|
178
|
+
>
|
|
171
179
|
<div
|
|
172
180
|
ref={handleRefs.left}
|
|
173
181
|
className="w-1 h-full cursor-col-resize border-l"
|
|
@@ -537,6 +537,7 @@ export const AppChrome: React.FC<PropsWithChildren> = ({ children }) => {
|
|
|
537
537
|
{helperPanel}
|
|
538
538
|
<Panel
|
|
539
539
|
id="app-chrome-body"
|
|
540
|
+
data-testid="chrome-body"
|
|
540
541
|
className={cn(isDeveloperPanelOpen && !isSidebarOpen && "border-l")}
|
|
541
542
|
>
|
|
542
543
|
<PanelGroup autoSaveId="marimo:chrome:v1:l1" direction="vertical">
|
|
@@ -58,7 +58,10 @@ export const Footer: React.FC = () => {
|
|
|
58
58
|
});
|
|
59
59
|
|
|
60
60
|
return (
|
|
61
|
-
<footer
|
|
61
|
+
<footer
|
|
62
|
+
data-testid="chrome-footer"
|
|
63
|
+
className="h-10 py-1 gap-1 bg-background flex items-center text-muted-foreground text-md pl-2 pr-1 border-t border-border select-none print:hidden text-sm z-50 hide-on-fullscreen overflow-x-auto overflow-y-hidden scrollbar-thin"
|
|
64
|
+
>
|
|
62
65
|
<FooterItem
|
|
63
66
|
className="h-full"
|
|
64
67
|
tooltip={
|
|
@@ -3,7 +3,10 @@ import type { PropsWithChildren } from "react";
|
|
|
3
3
|
|
|
4
4
|
export const PanelsWrapper: React.FC<PropsWithChildren> = ({ children }) => {
|
|
5
5
|
return (
|
|
6
|
-
<div
|
|
6
|
+
<div
|
|
7
|
+
data-testid="chrome-wrapper"
|
|
8
|
+
className="flex flex-col flex-1 overflow-hidden absolute inset-0 print:relative"
|
|
9
|
+
>
|
|
7
10
|
{children}
|
|
8
11
|
</div>
|
|
9
12
|
);
|
|
@@ -115,7 +115,10 @@ export const Sidebar: React.FC = () => {
|
|
|
115
115
|
]);
|
|
116
116
|
|
|
117
117
|
return (
|
|
118
|
-
<div
|
|
118
|
+
<div
|
|
119
|
+
data-testid="chrome-sidebar"
|
|
120
|
+
className="h-full pt-4 pb-1 px-1 flex flex-col items-start text-muted-foreground text-md select-none text-sm z-50 dark:bg-background print:hidden hide-on-fullscreen"
|
|
121
|
+
>
|
|
119
122
|
<ReorderableList<PanelDescriptor>
|
|
120
123
|
value={sidebarItems}
|
|
121
124
|
setValue={handleSetSidebarItems}
|
|
@@ -88,7 +88,10 @@ export const Controls = ({
|
|
|
88
88
|
{!presenting && <FindReplace />}
|
|
89
89
|
|
|
90
90
|
{!closed && (
|
|
91
|
-
<div
|
|
91
|
+
<div
|
|
92
|
+
data-testid="chrome-controls-top-right"
|
|
93
|
+
className={topRightControls}
|
|
94
|
+
>
|
|
92
95
|
{presenting && <LayoutSelect />}
|
|
93
96
|
<NotebookMenuDropdown
|
|
94
97
|
disabled={disabled}
|
|
@@ -103,7 +106,10 @@ export const Controls = ({
|
|
|
103
106
|
</div>
|
|
104
107
|
)}
|
|
105
108
|
|
|
106
|
-
<div
|
|
109
|
+
<div
|
|
110
|
+
data-testid="chrome-controls-bottom-right"
|
|
111
|
+
className={cn(bottomRightControls)}
|
|
112
|
+
>
|
|
107
113
|
<HideInKioskMode>
|
|
108
114
|
<SaveComponent kioskMode={false} />
|
|
109
115
|
</HideInKioskMode>
|