@marimo-team/islands 0.24.1-dev3 → 0.24.1-dev30
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-BUC1MrsF.js → ConnectedDataExplorerComponent-yEsovh7C.js} +4 -4
- package/dist/arrays-Ct6XviUd.js +59 -0
- package/dist/{capabilities-BilXeZ7p.js → capabilities-DNKeBoT5.js} +1 -1
- package/dist/{chat-ui-ChBRy1iT.js → chat-ui-ChbH2I73.js} +3 -3
- package/dist/{common-BvTQu-LJ.js → common-Cy9zypnG.js} +17 -11
- package/dist/{formats-Dz0QNUEa.js → formats-BZtMpeQe.js} +1 -1
- package/dist/{glide-data-editor-BI2i_IEE.js → glide-data-editor-aimC_hok.js} +3 -1
- package/dist/{html-to-image-BtNr4zrO.js → html-to-image-BzT-fb14.js} +2357 -2325
- package/dist/{input-BRE2a7Ay.js → input-CqV2ZPgL.js} +1 -1
- package/dist/{loader-DTnbNSVZ.js → loader-Chm6nOqy.js} +1 -1
- package/dist/main.js +1108 -1014
- package/dist/{once-Boutk_9X.js → once-D1_qYl2e.js} +1 -1
- package/dist/{process-output-Dch8KCi8.js → process-output-C8Q8G6-g.js} +1 -1
- package/dist/{react-vega-zyfTF9SY.js → react-vega-BE2Uv1cq.js} +1 -1
- package/dist/{reveal-component-qNkzuPp3.js → reveal-component-2JQ2YfIT.js} +5 -5
- package/dist/{spec-BL1GSUUF.js → spec-DR1CyTOo.js} +2 -0
- package/dist/style.css +1 -1
- package/dist/{swiper-component-Cx0cRWLk.js → swiper-component-UYicacis.js} +1 -1
- package/dist/{useIframeCapabilities-CxuXXwjj.js → useIframeCapabilities-BbnoLKxG.js} +1 -1
- package/dist/{vega-component-CioKuDut.js → vega-component-xrHju6oo.js} +5 -5
- package/dist/{vega-embed-container-BRjjqRGz.js → vega-embed-container-B1tc-DoN.js} +2 -2
- package/dist/{vega-loader.browser-CGb-2Kwi.js → vega-loader.browser-VFQfHaoV.js} +1 -1
- package/package.json +1 -1
- package/src/components/app-config/optional-features.test.ts +78 -0
- package/src/components/app-config/optional-features.tsx +33 -6
- package/src/components/data-table/__tests__/column_formatting.test.ts +7 -0
- package/src/components/data-table/charts/__tests__/schemas.test.ts +17 -2
- package/src/components/data-table/charts/chart-spec/types.ts +2 -0
- package/src/components/data-table/column-formatting/feature.ts +1 -0
- package/src/components/data-table/column-formatting/types.ts +1 -0
- package/src/components/data-table/column-summary/chart-spec-model.tsx +1 -0
- package/src/components/data-table/column-summary/column-summary.tsx +1 -0
- package/src/components/data-table/columns.tsx +4 -3
- package/src/components/datasets/__tests__/icons.test.ts +10 -2
- package/src/components/datasets/icons.tsx +4 -0
- package/src/components/datasources/__tests__/components.test.tsx +14 -1
- package/src/components/datasources/datasources.tsx +2 -40
- package/src/components/editor/chrome/panels/components.tsx +35 -0
- package/src/components/editor/chrome/panels/file-explorer-panel.tsx +10 -0
- package/src/components/editor/chrome/panels/session-panel.tsx +12 -4
- package/src/components/editor/connections/__tests__/quick-add-data-sources.test.tsx +2 -0
- package/src/components/editor/connections/add-connection-dialog.tsx +5 -1
- package/src/components/editor/connections/quick-add-data-sources.tsx +11 -7
- package/src/components/editor/connections/storage/__tests__/__snapshots__/as-code.test.ts.snap +43 -0
- package/src/components/editor/connections/storage/__tests__/as-code.test.ts +127 -0
- package/src/components/editor/connections/storage/add-storage-form.tsx +11 -1
- package/src/components/editor/connections/storage/as-code.ts +30 -1
- package/src/components/editor/connections/storage/schemas.ts +63 -0
- package/src/core/codemirror/code-lens/__tests__/popover.test.ts +13 -0
- package/src/core/codemirror/code-lens/popover.tsx +11 -5
- package/src/core/codemirror/language/languages/sql/__tests__/renderers.test.tsx +15 -4
- package/src/core/codemirror/language/languages/sql/renderers.tsx +1 -0
- package/src/core/datasets/__tests__/data-source-discovery.test.ts +277 -0
- package/src/core/datasets/data-source-connections.ts +36 -0
- package/src/core/datasets/data-source-discovery.ts +92 -0
- package/src/core/kernel/messages.ts +1 -0
- package/src/core/websocket/useMarimoKernelConnection.tsx +11 -3
- package/src/hooks/useDataSourceDiscovery.ts +50 -9
- package/src/plugins/impl/MatrixPlugin.tsx +256 -35
- package/src/plugins/impl/__tests__/DataEditorPlugin.test.ts +13 -1
- package/src/plugins/impl/__tests__/MatrixPlugin.test.tsx +540 -3
- package/src/plugins/impl/data-editor/glide-data-editor.tsx +1 -0
- package/src/plugins/impl/data-editor/glide-utils.ts +1 -0
- package/src/plugins/impl/data-frames/__tests__/schema.test.ts +9 -1
- package/src/plugins/impl/data-frames/utils/__tests__/operators.test.ts +8 -0
- package/src/plugins/impl/data-frames/utils/operators.ts +1 -1
- package/src/plugins/impl/vega/__tests__/vega.test.ts +22 -4
- package/src/plugins/impl/vega/utils.ts +3 -0
- package/dist/arrays-C56grfjL.js +0 -55
- package/src/hooks/__tests__/useDataSourceDiscovery.test.ts +0 -80
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { o as __toESM } from "./chunk-Bfp04NdC.js";
|
|
2
2
|
import { t as require_compiler_runtime } from "./compiler-runtime-DsR6imPN.js";
|
|
3
|
-
import { F as base64ToDataURL, ot as ansiToPlainText, st as parseHtmlContent } from "./html-to-image-
|
|
3
|
+
import { F as base64ToDataURL, ot as ansiToPlainText, st as parseHtmlContent } from "./html-to-image-BzT-fb14.js";
|
|
4
4
|
import { u as createLucideIcon } from "./dist-j30bBjjN.js";
|
|
5
5
|
import { t as Strings } from "./strings-DMLVGXRo.js";
|
|
6
6
|
import { t as require_jsx_runtime } from "./jsx-runtime-Dp_oQwaf.js";
|
|
@@ -12,7 +12,7 @@ var _e, _a, _b;
|
|
|
12
12
|
import { o as __toESM, r as __export } from "./chunk-Bfp04NdC.js";
|
|
13
13
|
import { t as require_react } from "./react-DhGsCS90.js";
|
|
14
14
|
import { t as require_jsx_runtime } from "./jsx-runtime-Dp_oQwaf.js";
|
|
15
|
-
import { $ as inherits_default, At as Error$1, B as pad, Bt as truthy, C as utcFloor$1, Ct as toNumber, D as utcdayofyear, Dt as isObject, E as utcSequence, Et as writeConfig, F as toString, Ft as DisallowedObjectProperties, G as key, Gt as accessor, H as merge$3, Ht as field$1, I as toDate, It as falsy, J as isNumber, K as isString, Kt as accessorFields, L as toBoolean, Lt as id, M as visitArray, Mt as None$3, N as truncate, Nt as Warn, O as utcweek, Ot as isArray, P as toSet, Pt as logger_default, Q as inrange, R as stringValue, Rt as identity, S as timeUnits$1, St as zoomSymlog, T as utcOffset, Tt as mergeConfig, U as lruCache_default, Ut as splitAccessPath, V as repeat, Vt as zero$2, W as lerp_default, Wt as error$1, X as isDate, Y as isIterable, Z as isBoolean, _ as timeFloor$1, _t as panPow, a as loader, at as extend, b as timeSequence, bt as zoomLog, c as typeParsers, ct as ascending, d as numberFormatDefaultLocale, dt as clampRange, et as flush_default, f as resetDefaultLocale, ft as array_default, g as dayofyear, gt as panLog, h as bin$2, ht as panLinear, i as inferTypes, it as extent, jt as Info, k as week, kt as Debug, l as defaultLocale, lt as compare$1, m as TIME_UNITS$1, mt as utcquarter, n as formats$1, nt as hasOwnProperty$1, o as read, ot as debounce, p as timeFormatDefaultLocale, pt as quarter, q as isRegExp, qt as accessorName, r as inferType, rt as extentIndex, s as responseType, st as constant_default, t as format$3, tt as fastmap, u as locale, ut as isFunction, v as timeInterval$1, vt as panSymlog, w as utcInterval$1, wt as peek$1, x as timeUnitSpecifier, xt as zoomPow, y as timeOffset, yt as zoomLinear, z as span_default, zt as one$1 } from "./vega-loader.browser-
|
|
15
|
+
import { $ as inherits_default, At as Error$1, B as pad, Bt as truthy, C as utcFloor$1, Ct as toNumber, D as utcdayofyear, Dt as isObject, E as utcSequence, Et as writeConfig, F as toString, Ft as DisallowedObjectProperties, G as key, Gt as accessor, H as merge$3, Ht as field$1, I as toDate, It as falsy, J as isNumber, K as isString, Kt as accessorFields, L as toBoolean, Lt as id, M as visitArray, Mt as None$3, N as truncate, Nt as Warn, O as utcweek, Ot as isArray, P as toSet, Pt as logger_default, Q as inrange, R as stringValue, Rt as identity, S as timeUnits$1, St as zoomSymlog, T as utcOffset, Tt as mergeConfig, U as lruCache_default, Ut as splitAccessPath, V as repeat, Vt as zero$2, W as lerp_default, Wt as error$1, X as isDate, Y as isIterable, Z as isBoolean, _ as timeFloor$1, _t as panPow, a as loader, at as extend, b as timeSequence, bt as zoomLog, c as typeParsers, ct as ascending, d as numberFormatDefaultLocale, dt as clampRange, et as flush_default, f as resetDefaultLocale, ft as array_default, g as dayofyear, gt as panLog, h as bin$2, ht as panLinear, i as inferTypes, it as extent, jt as Info, k as week, kt as Debug, l as defaultLocale, lt as compare$1, m as TIME_UNITS$1, mt as utcquarter, n as formats$1, nt as hasOwnProperty$1, o as read, ot as debounce, p as timeFormatDefaultLocale, pt as quarter, q as isRegExp, qt as accessorName, r as inferType, rt as extentIndex, s as responseType, st as constant_default, t as format$3, tt as fastmap, u as locale, ut as isFunction, v as timeInterval$1, vt as panSymlog, w as utcInterval$1, wt as peek$1, x as timeUnitSpecifier, xt as zoomPow, y as timeOffset, yt as zoomLinear, z as span_default, zt as one$1 } from "./vega-loader.browser-VFQfHaoV.js";
|
|
16
16
|
import { a as tickStep, c as ascending$2, o as ticks, s as bisector } from "./precisionRound-BOoJTbDj.js";
|
|
17
17
|
import { a as copy$2, c as number$5, d as bisect_default, f as number$6, l as bisectLeft$1, n as linearish, o as identity$1, p as numbers$2, r as tickFormat$1, s as transformer$3, t as linear$1, u as bisectRight$1 } from "./linear-6pDlrp1I.js";
|
|
18
18
|
import { n as ordinal, r as InternSet, t as implicit } from "./ordinal-Bdajf2BE.js";
|
|
@@ -6,12 +6,12 @@ import { o as __toESM } from "./chunk-Bfp04NdC.js";
|
|
|
6
6
|
import { c as useEventListener, g as Logger, h as cn, m as Events, t as Button } from "./button-Dr2uAwhT.js";
|
|
7
7
|
import { t as require_react } from "./react-DhGsCS90.js";
|
|
8
8
|
import { t as require_compiler_runtime } from "./compiler-runtime-DsR6imPN.js";
|
|
9
|
-
import { ut as outputIsStale } from "./html-to-image-
|
|
9
|
+
import { ut as outputIsStale } from "./html-to-image-BzT-fb14.js";
|
|
10
10
|
import "./chunk-5FQGJX7Z-BRZ_XYUw.js";
|
|
11
11
|
import { u as createLucideIcon } from "./dist-j30bBjjN.js";
|
|
12
|
-
import { a as DEFAULT_DECK_TRANSITION, cn as EyeOff, dt as PanelGroup, fn as Code, ft as PanelResizeHandle, l as SlideSidebar, ln as Expand, n as useNotebookCodeAvailable, o as DEFAULT_DECK_VERTICAL_ALIGN, s as DEFAULT_SLIDE_TYPE, t as cellDomProps, u as Slide, ut as Panel } from "./common-
|
|
12
|
+
import { a as DEFAULT_DECK_TRANSITION, cn as EyeOff, dt as PanelGroup, fn as Code, ft as PanelResizeHandle, l as SlideSidebar, ln as Expand, n as useNotebookCodeAvailable, o as DEFAULT_DECK_VERTICAL_ALIGN, s as DEFAULT_SLIDE_TYPE, t as cellDomProps, u as Slide, ut as Panel } from "./common-Cy9zypnG.js";
|
|
13
13
|
import { R as ChevronDown } from "./strings-DMLVGXRo.js";
|
|
14
|
-
import { X as useDebouncedCallback } from "./input-
|
|
14
|
+
import { X as useDebouncedCallback } from "./input-CqV2ZPgL.js";
|
|
15
15
|
import { v as kioskModeAtom } from "./toDate-CjUYDkFI.js";
|
|
16
16
|
import "./react-dom-CmENFV8Q.js";
|
|
17
17
|
import { t as require_jsx_runtime } from "./jsx-runtime-Dp_oQwaf.js";
|
|
@@ -25,8 +25,8 @@ import "./dist-CSZpLb9d.js";
|
|
|
25
25
|
import "./dist-D1vYHETp.js";
|
|
26
26
|
import "./dist-Ckfsc8C3.js";
|
|
27
27
|
import "./purify.es-DR5PNXwx.js";
|
|
28
|
-
import "./vega-loader.browser-
|
|
29
|
-
import "./loader-
|
|
28
|
+
import "./vega-loader.browser-VFQfHaoV.js";
|
|
29
|
+
import "./loader-Chm6nOqy.js";
|
|
30
30
|
import "./defaultLocale-CMezyvMc.js";
|
|
31
31
|
import "./defaultLocale-DMZFeDB8.js";
|
|
32
32
|
var StickyNote = createLucideIcon("sticky-note", [["path", {
|
|
@@ -385,6 +385,7 @@ function convertDataTypeToVega(a) {
|
|
|
385
385
|
return "quantitative";
|
|
386
386
|
case "string":
|
|
387
387
|
case "boolean":
|
|
388
|
+
case "geometry":
|
|
388
389
|
case "unknown":
|
|
389
390
|
return "nominal";
|
|
390
391
|
case "date":
|
|
@@ -403,6 +404,7 @@ function convertDataTypeToSelectable(a) {
|
|
|
403
404
|
return "number";
|
|
404
405
|
case "string":
|
|
405
406
|
case "boolean":
|
|
407
|
+
case "geometry":
|
|
406
408
|
case "unknown":
|
|
407
409
|
return "string";
|
|
408
410
|
case "date":
|