@marimo-team/islands 0.23.12-dev8 → 0.23.12-dev9
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-B9yvB9rV.js → code-visibility-w2yZTVwB.js} +1 -1
- package/dist/main.js +2 -2
- package/dist/{reveal-component-D6wEWbxH.js → reveal-component-CuqTvwmg.js} +1 -1
- package/package.json +1 -1
- package/src/components/editor/actions/useNotebookActions.tsx +4 -4
- package/src/components/home/components.tsx +4 -4
- package/src/components/icons/github.tsx +21 -0
- package/src/components/icons/youtube.tsx +21 -0
- package/src/components/storage/components.tsx +3 -7
|
@@ -35996,7 +35996,7 @@ ${d}`,
|
|
|
35996
35996
|
return Logger.warn("Failed to get version from mount config"), null;
|
|
35997
35997
|
}
|
|
35998
35998
|
}
|
|
35999
|
-
marimoVersionAtom = atom(getVersionFromMountConfig() || "0.23.12-
|
|
35999
|
+
marimoVersionAtom = atom(getVersionFromMountConfig() || "0.23.12-dev9");
|
|
36000
36000
|
showCodeInRunModeAtom = atom(true);
|
|
36001
36001
|
atom(null);
|
|
36002
36002
|
var import_compiler_runtime = require_compiler_runtime();
|
package/dist/main.js
CHANGED
|
@@ -26,7 +26,7 @@ import { $ as reducer, B as safeExtractSetUIElementMessageBuffers, Bn as CircleA
|
|
|
26
26
|
import { __tla as __tla_1 } from "./chunk-5FQGJX7Z-BbqSm5gU.js";
|
|
27
27
|
import { o as useSize, s as Root$1, u as createLucideIcon } from "./dist--2Bqjvs0.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-Bv-XlYiv.js";
|
|
29
|
-
import { $ as contextAwarePanelOpen, $t as $fae977aafc393c5c$export$6b862160d295c8e, A as prettifyRowCount, At as SELECT_COLUMN_ID, B as DatePicker, Bt as TabsContent, C as downloadSizeLimitAtom, Ct as DelayMount, D as ErrorState, Dt as loadTableAndRawData, E as EmptyState, Et as getPageIndexForRow, F as ContextMenuSeparator, Ft as Maps, G as CommandEmpty, Gt as ChartLoadingState, H as Combobox, Ht as TabsTrigger, I as ContextMenuTrigger, It as dateToLocalISODate, J as CommandList, Jt as RenderTextWithLinks, K as CommandInput, Kt as LazyVegaEmbed, L as useInternalStateWithSync, Lt as dateToLocalISODateTime, M as ContextMenu, Mt as toFieldTypes, N as ContextMenuContent, Nt as getMimeValues, O as LoadingState, Ot as loadTableData, P as ContextMenuItem, Pt as isNullishFilter, Q as PANEL_TYPES, Qt as $fae977aafc393c5c$export$588937bcd60ade55, R as useSelectList, Rt as dateToLocalISOTime, S as Filenames, St as ColumnChartSpecModel, T as ColumnPreviewContainer, Tt as usePrevious$1, U as ComboboxItem, Ut as ChartErrorState, V as DateRangePicker, Vt as TabsList, W as Command, Wt as ChartInfoState, X as smartMatch, Xt as HtmlOutput, Y as CommandSeparator, Yt as Kbd, Z as ContextAwarePanelItem, Zt as EmotionCacheProvider, _ as ADD_PRINTING_CLASS, _t as NAMELESS_COLUMN_PREFIX, an as Ellipsis, at as Toggle, b as downloadHTMLAsImage, bt as renderCellValue, c as Slide, cn as ChevronsUpDown, d as RadioGroupItem, dn as ChevronsDownUp, dt as Table, en as TextWrap, et as contextAwarePanelOwner, f as JsonOutput, fn as ChevronLeft, ft as TableBody, g as InstallPackageButton, gt as TableRow, h as DataTable, ht as TableHeader, it as slotsController, j as getColumnCountForDisplay, jt as TOO_MANY_ROWS, k as prettifyRowColumnCount, kt as INDEX_COLUMN_NAME, l as Switch, ln as ChevronsRight, lt as Fill, m as OutputRenderer, mt as TableHead, n as marimoVersionAtom, nn as Funnel, nt as isCellAwareAtom, o as SLIDE_TYPE_OPTIONS_BY_VALUE, on as Download, p as OutputArea, pn as ArrowDownWideNarrow, pt as TableCell, q as CommandItem, qt as useOverflowDetection, r as showCodeInRunModeAtom, rn as EyeOff, rt as SlotNames, sn as Code, t as useNotebookCodeAvailable, tn as GripHorizontal, tt as contextAwarePanelType, u as RadioGroup, un as ChevronsLeft, ut as Provider$1, v as downloadBlob, vt as generateColumns, w as ColumnName, wt as useIntersectionObserver, x as Progress, xt as ColumnChartContext, y as downloadByURL, yt as inferFieldTypes, z as CompactChipRow, zt as Tabs, __tla as __tla_2 } from "./code-visibility-
|
|
29
|
+
import { $ as contextAwarePanelOpen, $t as $fae977aafc393c5c$export$6b862160d295c8e, A as prettifyRowCount, At as SELECT_COLUMN_ID, B as DatePicker, Bt as TabsContent, C as downloadSizeLimitAtom, Ct as DelayMount, D as ErrorState, Dt as loadTableAndRawData, E as EmptyState, Et as getPageIndexForRow, F as ContextMenuSeparator, Ft as Maps, G as CommandEmpty, Gt as ChartLoadingState, H as Combobox, Ht as TabsTrigger, I as ContextMenuTrigger, It as dateToLocalISODate, J as CommandList, Jt as RenderTextWithLinks, K as CommandInput, Kt as LazyVegaEmbed, L as useInternalStateWithSync, Lt as dateToLocalISODateTime, M as ContextMenu, Mt as toFieldTypes, N as ContextMenuContent, Nt as getMimeValues, O as LoadingState, Ot as loadTableData, P as ContextMenuItem, Pt as isNullishFilter, Q as PANEL_TYPES, Qt as $fae977aafc393c5c$export$588937bcd60ade55, R as useSelectList, Rt as dateToLocalISOTime, S as Filenames, St as ColumnChartSpecModel, T as ColumnPreviewContainer, Tt as usePrevious$1, U as ComboboxItem, Ut as ChartErrorState, V as DateRangePicker, Vt as TabsList, W as Command, Wt as ChartInfoState, X as smartMatch, Xt as HtmlOutput, Y as CommandSeparator, Yt as Kbd, Z as ContextAwarePanelItem, Zt as EmotionCacheProvider, _ as ADD_PRINTING_CLASS, _t as NAMELESS_COLUMN_PREFIX, an as Ellipsis, at as Toggle, b as downloadHTMLAsImage, bt as renderCellValue, c as Slide, cn as ChevronsUpDown, d as RadioGroupItem, dn as ChevronsDownUp, dt as Table, en as TextWrap, et as contextAwarePanelOwner, f as JsonOutput, fn as ChevronLeft, ft as TableBody, g as InstallPackageButton, gt as TableRow, h as DataTable, ht as TableHeader, it as slotsController, j as getColumnCountForDisplay, jt as TOO_MANY_ROWS, k as prettifyRowColumnCount, kt as INDEX_COLUMN_NAME, l as Switch, ln as ChevronsRight, lt as Fill, m as OutputRenderer, mt as TableHead, n as marimoVersionAtom, nn as Funnel, nt as isCellAwareAtom, o as SLIDE_TYPE_OPTIONS_BY_VALUE, on as Download, p as OutputArea, pn as ArrowDownWideNarrow, pt as TableCell, q as CommandItem, qt as useOverflowDetection, r as showCodeInRunModeAtom, rn as EyeOff, rt as SlotNames, sn as Code, t as useNotebookCodeAvailable, tn as GripHorizontal, tt as contextAwarePanelType, u as RadioGroup, un as ChevronsLeft, ut as Provider$1, v as downloadBlob, vt as generateColumns, w as ColumnName, wt as useIntersectionObserver, x as Progress, xt as ColumnChartContext, y as downloadByURL, yt as inferFieldTypes, z as CompactChipRow, zt as Tabs, __tla as __tla_2 } from "./code-visibility-w2yZTVwB.js";
|
|
30
30
|
import { c as Calendar, i as createReducerAndAtoms, n as useOnUnmount, o as ToggleLeft, t as useOnMount } from "./useLifecycle-AHlswLw-.js";
|
|
31
31
|
import { t as Check } from "./check-C9OoNtR4.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-Dq_j3Rxw.js";
|
|
@@ -36195,7 +36195,7 @@ ${c}
|
|
|
36195
36195
|
function _temp2$2(e) {
|
|
36196
36196
|
e.target === e.currentTarget && e.key === "Enter" && (e.preventDefault(), e.stopPropagation(), e.currentTarget.click());
|
|
36197
36197
|
}
|
|
36198
|
-
var LazySlidesComponent = import_react.lazy(() => import("./reveal-component-
|
|
36198
|
+
var LazySlidesComponent = import_react.lazy(() => import("./reveal-component-CuqTvwmg.js"));
|
|
36199
36199
|
const SlidesLayoutRenderer = ({ layout: e, setLayout: r, cells: c, mode: l }) => {
|
|
36200
36200
|
var _a3;
|
|
36201
36201
|
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 { lt as kioskModeAtom } from "./html-to-image-Di0mtt6O.js";
|
|
10
10
|
import "./chunk-5FQGJX7Z-BbqSm5gU.js";
|
|
11
11
|
import { u as createLucideIcon } from "./dist--2Bqjvs0.js";
|
|
12
|
-
import { a as DEFAULT_SLIDE_TYPE, c as Slide, ct as PanelResizeHandle, i as DEFAULT_DECK_TRANSITION, in as Expand, ot as Panel, rn as EyeOff, s as SlideSidebar, sn as Code, st as PanelGroup, t as useNotebookCodeAvailable } from "./code-visibility-
|
|
12
|
+
import { a as DEFAULT_SLIDE_TYPE, c as Slide, ct as PanelResizeHandle, i as DEFAULT_DECK_TRANSITION, in as Expand, ot as Panel, rn as EyeOff, s as SlideSidebar, sn as Code, st as PanelGroup, t as useNotebookCodeAvailable } from "./code-visibility-w2yZTVwB.js";
|
|
13
13
|
import { X as useDebouncedCallback } from "./input-CbEz_aj_.js";
|
|
14
14
|
import "./toDate-D-l5s8nn.js";
|
|
15
15
|
import "./react-dom-BTJzcVJ9.js";
|
package/package.json
CHANGED
|
@@ -21,7 +21,6 @@ import {
|
|
|
21
21
|
Files,
|
|
22
22
|
FileTextIcon,
|
|
23
23
|
FolderDownIcon,
|
|
24
|
-
GithubIcon,
|
|
25
24
|
GlobeIcon,
|
|
26
25
|
HardDrive,
|
|
27
26
|
Home,
|
|
@@ -39,7 +38,6 @@ import {
|
|
|
39
38
|
SparklesIcon,
|
|
40
39
|
Undo2Icon,
|
|
41
40
|
XCircleIcon,
|
|
42
|
-
YoutubeIcon,
|
|
43
41
|
ZapIcon,
|
|
44
42
|
} from "lucide-react";
|
|
45
43
|
import {
|
|
@@ -47,7 +45,9 @@ import {
|
|
|
47
45
|
useOpenSettingsToTab,
|
|
48
46
|
} from "@/components/app-config/state";
|
|
49
47
|
import { MarkdownIcon } from "@/components/editor/cell/code/icons";
|
|
48
|
+
import { GitHubIcon } from "@/components/icons/github";
|
|
50
49
|
import { MarimoPlusIcon } from "@/components/icons/marimo-icons";
|
|
50
|
+
import { YouTubeIcon } from "@/components/icons/youtube";
|
|
51
51
|
import { useImperativeModal } from "@/components/modal/ImperativeModal";
|
|
52
52
|
import { renderShortcut } from "@/components/shortcuts/renderShortcut";
|
|
53
53
|
import { PairWithAgentModal } from "@/components/editor/actions/pair-with-agent-modal";
|
|
@@ -655,7 +655,7 @@ export function useNotebookActions() {
|
|
|
655
655
|
},
|
|
656
656
|
},
|
|
657
657
|
{
|
|
658
|
-
icon: <
|
|
658
|
+
icon: <GitHubIcon className="h-3.5 w-3.5" />,
|
|
659
659
|
label: "GitHub",
|
|
660
660
|
handle: () => {
|
|
661
661
|
window.open(Constants.githubPage, "_blank");
|
|
@@ -669,7 +669,7 @@ export function useNotebookActions() {
|
|
|
669
669
|
},
|
|
670
670
|
},
|
|
671
671
|
{
|
|
672
|
-
icon: <
|
|
672
|
+
icon: <YouTubeIcon className="h-3.5 w-3.5" />,
|
|
673
673
|
label: "YouTube",
|
|
674
674
|
handle: () => {
|
|
675
675
|
window.open(Constants.youtube, "_blank");
|
|
@@ -9,7 +9,6 @@ import {
|
|
|
9
9
|
DatabaseIcon,
|
|
10
10
|
FileIcon,
|
|
11
11
|
FileTextIcon,
|
|
12
|
-
GithubIcon,
|
|
13
12
|
GraduationCapIcon,
|
|
14
13
|
GridIcon,
|
|
15
14
|
LayoutIcon,
|
|
@@ -17,10 +16,11 @@ import {
|
|
|
17
16
|
MessagesSquareIcon,
|
|
18
17
|
OrbitIcon,
|
|
19
18
|
PackageIcon,
|
|
20
|
-
YoutubeIcon,
|
|
21
19
|
} from "lucide-react";
|
|
22
20
|
import type React from "react";
|
|
23
21
|
import { MarkdownIcon } from "@/components/editor/cell/code/icons";
|
|
22
|
+
import { GitHubIcon } from "@/components/icons/github";
|
|
23
|
+
import { YouTubeIcon } from "@/components/icons/youtube";
|
|
24
24
|
import { Button } from "@/components/ui/button";
|
|
25
25
|
import {
|
|
26
26
|
DropdownMenu,
|
|
@@ -130,7 +130,7 @@ const RESOURCES = [
|
|
|
130
130
|
{
|
|
131
131
|
title: "GitHub",
|
|
132
132
|
description: "View source code, report issues, or contribute",
|
|
133
|
-
icon:
|
|
133
|
+
icon: GitHubIcon,
|
|
134
134
|
url: Constants.githubPage,
|
|
135
135
|
},
|
|
136
136
|
{
|
|
@@ -148,7 +148,7 @@ const RESOURCES = [
|
|
|
148
148
|
{
|
|
149
149
|
title: "YouTube",
|
|
150
150
|
description: "Watch tutorials and demos",
|
|
151
|
-
icon:
|
|
151
|
+
icon: YouTubeIcon,
|
|
152
152
|
url: Constants.youtube,
|
|
153
153
|
},
|
|
154
154
|
{
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
/* Copyright 2026 Marimo. All rights reserved. */
|
|
2
|
+
import type { SVGProps } from "react";
|
|
3
|
+
|
|
4
|
+
// Artwork from Simple Icons (https://simpleicons.org/?q=github), licensed CC0 1.0.
|
|
5
|
+
// The GitHub name and logo are trademarks of GitHub, Inc.
|
|
6
|
+
export const GitHubIcon = (props: SVGProps<SVGSVGElement>) => {
|
|
7
|
+
return (
|
|
8
|
+
<svg
|
|
9
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
10
|
+
width="1em"
|
|
11
|
+
height="1em"
|
|
12
|
+
viewBox="0 0 24 24"
|
|
13
|
+
fill="currentColor"
|
|
14
|
+
aria-hidden="true"
|
|
15
|
+
focusable="false"
|
|
16
|
+
{...props}
|
|
17
|
+
>
|
|
18
|
+
<path d="M12 .297c-6.63 0-12 5.373-12 12 0 5.303 3.438 9.8 8.205 11.385.6.113.82-.258.82-.577 0-.285-.01-1.04-.015-2.04-3.338.724-4.042-1.61-4.042-1.61C4.422 18.07 3.633 17.7 3.633 17.7c-1.087-.744.084-.729.084-.729 1.205.084 1.838 1.236 1.838 1.236 1.07 1.835 2.809 1.305 3.495.998.108-.776.417-1.305.76-1.605-2.665-.3-5.466-1.332-5.466-5.93 0-1.31.465-2.38 1.235-3.22-.135-.303-.54-1.523.105-3.176 0 0 1.005-.322 3.3 1.23.96-.267 1.98-.399 3-.405 1.02.006 2.04.138 3 .405 2.28-1.552 3.285-1.23 3.285-1.23.645 1.653.24 2.873.12 3.176.765.84 1.23 1.91 1.23 3.22 0 4.61-2.805 5.625-5.475 5.92.42.36.81 1.096.81 2.22 0 1.606-.015 2.896-.015 3.286 0 .315.21.69.825.57C20.565 22.092 24 17.592 24 12.297c0-6.627-5.373-12-12-12" />
|
|
19
|
+
</svg>
|
|
20
|
+
);
|
|
21
|
+
};
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
/* Copyright 2026 Marimo. All rights reserved. */
|
|
2
|
+
import type { SVGProps } from "react";
|
|
3
|
+
|
|
4
|
+
// Artwork from Simple Icons (https://simpleicons.org/?q=youtube), licensed CC0 1.0.
|
|
5
|
+
// The YouTube name and logo are trademarks of Google LLC.
|
|
6
|
+
export const YouTubeIcon = (props: SVGProps<SVGSVGElement>) => {
|
|
7
|
+
return (
|
|
8
|
+
<svg
|
|
9
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
10
|
+
width="1em"
|
|
11
|
+
height="1em"
|
|
12
|
+
viewBox="0 0 24 24"
|
|
13
|
+
fill="currentColor"
|
|
14
|
+
aria-hidden="true"
|
|
15
|
+
focusable="false"
|
|
16
|
+
{...props}
|
|
17
|
+
>
|
|
18
|
+
<path d="M23.498 6.186a3.016 3.016 0 0 0-2.122-2.136C19.505 3.545 12 3.545 12 3.545s-7.505 0-9.377.505A3.017 3.017 0 0 0 .502 6.186C0 8.07 0 12 0 12s0 3.93.502 5.814a3.016 3.016 0 0 0 2.122 2.136c1.871.505 9.376.505 9.376.505s7.505 0 9.377-.505a3.015 3.015 0 0 0 2.122-2.136C24 15.93 24 12 24 12s0-3.93-.502-5.814zM9.545 15.568V8.432L15.818 12l-6.273 3.568z" />
|
|
19
|
+
</svg>
|
|
20
|
+
);
|
|
21
|
+
};
|
|
@@ -6,14 +6,10 @@ import AzureIcon from "@marimo-team/llm-info/icons/azure.svg?inline";
|
|
|
6
6
|
import CloudflareIcon from "@marimo-team/llm-info/icons/cloudflare.svg?inline";
|
|
7
7
|
import CoreweaveIcon from "@marimo-team/llm-info/icons/coreweave.svg?inline";
|
|
8
8
|
import CoreweaveDarkIcon from "@marimo-team/llm-info/icons/coreweave-dark.svg?inline";
|
|
9
|
-
import {
|
|
10
|
-
DatabaseZapIcon,
|
|
11
|
-
GithubIcon,
|
|
12
|
-
GlobeIcon,
|
|
13
|
-
HardDriveIcon,
|
|
14
|
-
} from "lucide-react";
|
|
9
|
+
import { DatabaseZapIcon, GlobeIcon, HardDriveIcon } from "lucide-react";
|
|
15
10
|
import GoogleCloudIcon from "@/components/databases/icons/google-cloud-storage.svg?inline";
|
|
16
11
|
import GoogleDriveIcon from "@/components/databases/icons/google-drive.svg?inline";
|
|
12
|
+
import { GitHubIcon } from "@/components/icons/github";
|
|
17
13
|
import type { KnownStorageProtocol } from "@/core/storage/types";
|
|
18
14
|
import { useTheme } from "@/theme/useTheme";
|
|
19
15
|
import { cn } from "@/utils/cn";
|
|
@@ -32,7 +28,7 @@ const PROTOCOL_ICONS: Record<KnownStorageProtocol, IconEntry> = {
|
|
|
32
28
|
file: HardDriveIcon,
|
|
33
29
|
"in-memory": DatabaseZapIcon,
|
|
34
30
|
gdrive: { src: GoogleDriveIcon },
|
|
35
|
-
github:
|
|
31
|
+
github: GitHubIcon,
|
|
36
32
|
};
|
|
37
33
|
|
|
38
34
|
export const ProtocolIcon: React.FC<{
|