@marimo-team/islands 0.24.1-dev2 → 0.24.1-dev21
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/{chat-ui-o-tATfmW.js → chat-ui-dZ0mdOG3.js} +3 -3
- package/dist/{common-DjnMIXVY.js → common-DhYGWkNU.js} +14 -8
- package/dist/{formats-HSfYlcA8.js → formats-BZtMpeQe.js} +2 -2
- package/dist/{glide-data-editor-BI2i_IEE.js → glide-data-editor-BcvvJTCH.js} +2 -0
- package/dist/{html-to-image-BOiFHx3u.js → html-to-image-p-mxZ3_V.js} +2333 -2311
- package/dist/{loader-DTnbNSVZ.js → loader-Chm6nOqy.js} +1 -1
- package/dist/main.js +1106 -1011
- package/dist/{process-output-HrsM52f8.js → process-output-Bh4xztNq.js} +1 -1
- package/dist/{react-vega-zyfTF9SY.js → react-vega-BE2Uv1cq.js} +1 -1
- package/dist/{reveal-component-BufNyZPY.js → reveal-component-BzecpV7i.js} +5 -5
- package/dist/{spec-BL1GSUUF.js → spec-DR1CyTOo.js} +2 -0
- package/dist/style.css +1 -1
- package/dist/{toDate-BGM7kFtQ.js → toDate-CjUYDkFI.js} +2 -2
- package/dist/{vega-component-CJug-VdR.js → vega-component-CTiCS_5w.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/__mocks__/requests.ts +4 -0
- 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/editor/actions/export-dialog/__tests__/export-dialog.test.tsx +206 -34
- package/src/components/editor/actions/export-dialog/export-dialog.tsx +9 -3
- package/src/components/editor/actions/export-dialog/format-notice.tsx +69 -24
- package/src/components/editor/actions/export-dialog/use-export-dialog.ts +27 -2
- package/src/components/ui/toaster.tsx +14 -1
- 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/islands/bridge.ts +1 -0
- package/src/core/kernel/messages.ts +1 -0
- package/src/core/mode.ts +6 -1
- package/src/core/network/__tests__/requests-lazy.test.ts +40 -0
- package/src/core/network/__tests__/requests-network.test.ts +13 -0
- package/src/core/network/requests-lazy.ts +11 -4
- package/src/core/network/requests-network.ts +8 -0
- package/src/core/network/requests-static.ts +1 -0
- package/src/core/network/requests-toasting.tsx +1 -0
- package/src/core/network/types.ts +5 -0
- package/src/core/wasm/bridge.ts +1 -0
- 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
|
@@ -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-p-mxZ3_V.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,13 +6,13 @@ 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-p-mxZ3_V.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-DhYGWkNU.js";
|
|
13
13
|
import { R as ChevronDown } from "./strings-DMLVGXRo.js";
|
|
14
14
|
import { X as useDebouncedCallback } from "./input-BRE2a7Ay.js";
|
|
15
|
-
import { v as kioskModeAtom } from "./toDate-
|
|
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";
|
|
18
18
|
import { Y as useFullScreenElement } from "./zod-BFY2SnzC.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":
|