@marimo-team/islands 0.25.2-dev53 → 0.25.2-dev61
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-BDizDY3_.js → ConnectedDataExplorerComponent-BZmqc_F0.js} +3 -3
- package/dist/{ErrorBoundary-Bwg2kLKS.js → ErrorBoundary-BL7bFtwp.js} +1 -1
- package/dist/{chat-ui-DMu_DFfr.js → chat-ui-Da2o4rps.js} +4 -4
- package/dist/{code-visibility-D_G0XbX7.js → code-visibility-_ihZ-SEb.js} +1 -1
- package/dist/{common-DcLm9QJY.js → common-ukM0sIeR.js} +8901 -8619
- package/dist/{data-grid-overlay-editor-qKNqq_Xm.js → data-grid-overlay-editor-C1y0BPWs.js} +1 -1
- package/dist/dropdown-menu-Cz4TdOJh.js +4678 -0
- package/dist/{feedback-button-Bvjbm5Qi.js → feedback-button-B-3hznXb.js} +2 -2
- package/dist/{glide-data-editor-DE3Yi97D.js → glide-data-editor-CWMyztM6.js} +5 -5
- package/dist/{globals-C9rLC5XL.js → globals-Iua0hQv2.js} +1 -1
- package/dist/{html-to-image-CFSoonFo.js → html-to-image-C-XXpUFD.js} +3 -3
- package/dist/{label-DPWAFACU.js → label-DQO1jFjf.js} +8 -8
- package/dist/main.js +2612 -2566
- package/dist/{number-overlay-editor-BvtSmUfm.js → number-overlay-editor--czk7lAt.js} +1 -1
- package/dist/{process-output-D8io8maY.js → process-output-CdDN3Pdp.js} +1 -1
- package/dist/{reveal-component-Cpev6-I3.js → reveal-component-DYQDbLdD.js} +3 -3
- package/dist/{spec-rSPz3O6Q.js → spec-DVsoMvYT.js} +102 -123
- package/dist/style.css +1 -1
- package/dist/{useDateFormatter-BTtPAD2R.js → useDateFormatter-C-tz65rD.js} +51 -30
- package/package.json +3 -3
- package/src/components/data-table/TableTopBar.tsx +4 -0
- package/src/components/data-table/__tests__/export-actions.test.tsx +1111 -14
- package/src/components/data-table/__tests__/schemas.test.ts +57 -0
- package/src/components/data-table/data-table.tsx +3 -0
- package/src/components/data-table/export-actions.tsx +365 -81
- package/src/components/data-table/schemas.ts +90 -14
- package/src/components/editor/navigation/__tests__/navigation.test.ts +8 -8
- package/src/plugins/impl/DataTablePlugin.tsx +23 -2
- package/src/plugins/impl/__tests__/DataTablePlugin.test.tsx +65 -8
- package/src/plugins/impl/data-frames/DataFramePlugin.tsx +15 -3
- package/src/stories/dataframe.stories.tsx +7 -0
- package/dist/dropdown-menu-R7yCbshA.js +0 -4472
|
@@ -5,12 +5,12 @@ import { t as i } from "./compiler-runtime-Cj8ZWiNS.js";
|
|
|
5
5
|
import { t as a } from "./copy-icon-BY7jgcaV.js";
|
|
6
6
|
import { Ct as o, Ft as s, H as c, L as l, Lt as u, V as d, d as f, un as p } from "./cells-DzqPprAQ.js";
|
|
7
7
|
import { b as m } from "./select-Bs-nmvm6.js";
|
|
8
|
-
import { n as h, t as ee } from "./globals-
|
|
8
|
+
import { n as h, t as ee } from "./globals-Iua0hQv2.js";
|
|
9
9
|
import { t as g } from "./jsx-runtime-DgDPJV9S.js";
|
|
10
10
|
import { C as _, _ as te, i as v } from "./useTheme-BwSgeAFb.js";
|
|
11
11
|
import { a as ne, i as re, n as ie, r as ae } from "./dialog-CmExhUDI.js";
|
|
12
12
|
import { t as oe } from "./useAsyncData-rkAlR_vh.js";
|
|
13
|
-
import { t as se } from "./code-visibility-
|
|
13
|
+
import { t as se } from "./code-visibility-_ihZ-SEb.js";
|
|
14
14
|
import { i as ce, n as le } from "./error-entries-CdgPvJVz.js";
|
|
15
15
|
//#region src/components/ui/skeleton.tsx
|
|
16
16
|
var y = /* @__PURE__ */ e(r(), 1), b = i(), x = g(), ue = (e) => {
|
|
@@ -4,12 +4,12 @@ import { t as a } from "./react-ofJbxM4x.js";
|
|
|
4
4
|
import { t as o } from "./compiler-runtime-Cj8ZWiNS.js";
|
|
5
5
|
import { i as s, n as c, r as l } from "./copy-icon-BY7jgcaV.js";
|
|
6
6
|
import { C as u, c as d, i as f, n as p, s as m, t as h, x as g } from "./select-Bs-nmvm6.js";
|
|
7
|
-
import { d as _, h as v, i as y, l as b, n as x, o as S, s as C, t as w, u as T } from "./dropdown-menu-
|
|
7
|
+
import { d as _, h as v, i as y, l as b, n as x, o as S, s as C, t as w, u as T } from "./dropdown-menu-Cz4TdOJh.js";
|
|
8
8
|
import { c as E, d as D, l as O, n as k, o as A, s as ee, t as j, u as te } from "./glide-utils-BVJ4fkxX.js";
|
|
9
|
-
import { n as ne, t as re } from "./ErrorBoundary-
|
|
9
|
+
import { n as ne, t as re } from "./ErrorBoundary-BL7bFtwp.js";
|
|
10
10
|
import { t as M } from "./react-dom-BUgJ-ab_.js";
|
|
11
11
|
import { t as N } from "./jsx-runtime-DgDPJV9S.js";
|
|
12
|
-
import { t as ie } from "./label-
|
|
12
|
+
import { t as ie } from "./label-DQO1jFjf.js";
|
|
13
13
|
import { c as P } from "./toast-DfEpJedt.js";
|
|
14
14
|
import { A as F, n as ae } from "./useTheme-BwSgeAFb.js";
|
|
15
15
|
import { A as I, C as L, D as oe, E as se, F as ce, I as le, L as ue, M as de, N as fe, O as R, P as pe, R as me, S as he, T as z, _ as ge, a as _e, b as ve, c as ye, d as be, f as B, g as xe, h as V, i as Se, j as H, k as U, l as Ce, m as we, n as Te, o as Ee, p as De, r as W, s as Oe, t as G, u as ke, v as Ae, w as je, x as Me, y as Ne, z as Pe } from "./data-grid-types-BucVmDDp.js";
|
|
@@ -7062,7 +7062,7 @@ function rs(e, t, n, r, i) {
|
|
|
7062
7062
|
}
|
|
7063
7063
|
//#endregion
|
|
7064
7064
|
//#region ../node_modules/.pnpm/@glideapps+glide-data-grid@6.0.4-alpha24_lodash@4.17.21_marked@15.0.12_react-dom@19.2.8_b9e6aec46d952f631ce71b0585d2a8e5/node_modules/@glideapps/glide-data-grid/dist/esm/data-editor/data-editor.js
|
|
7065
|
-
var is = /* @__PURE__ */ e(_r(), 1), as = /* @__PURE__ */ e(xr(), 1), os = K.lazy(async () => await import("./data-grid-overlay-editor-
|
|
7065
|
+
var is = /* @__PURE__ */ e(_r(), 1), as = /* @__PURE__ */ e(xr(), 1), os = K.lazy(async () => await import("./data-grid-overlay-editor-C1y0BPWs.js")), ss = 0;
|
|
7066
7066
|
function cs(e) {
|
|
7067
7067
|
return (0, is.default)((0, as.default)((0, as.default)(e).filter((e) => e.span !== void 0).map((e) => (0, Za.default)((e.span?.[0] ?? 0) + 1, (e.span?.[1] ?? 0) + 1))));
|
|
7068
7068
|
}
|
|
@@ -9293,7 +9293,7 @@ function Vs(e, t, n, r, i) {
|
|
|
9293
9293
|
}
|
|
9294
9294
|
//#endregion
|
|
9295
9295
|
//#region ../node_modules/.pnpm/@glideapps+glide-data-grid@6.0.4-alpha24_lodash@4.17.21_marked@15.0.12_react-dom@19.2.8_b9e6aec46d952f631ce71b0585d2a8e5/node_modules/@glideapps/glide-data-grid/dist/esm/cells/number-cell.js
|
|
9296
|
-
var Hs = K.lazy(async () => await import("./number-overlay-editor
|
|
9296
|
+
var Hs = K.lazy(async () => await import("./number-overlay-editor--czk7lAt.js")), Us = {
|
|
9297
9297
|
getAccessibilityString: (e) => e.data?.toString() ?? "",
|
|
9298
9298
|
kind: W.Number,
|
|
9299
9299
|
needsHover: (e) => e.hoverEffect === !0,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { h as e } from "./tooltip-CuNWg2ay.js";
|
|
2
2
|
import { _ as t } from "./useTheme-BwSgeAFb.js";
|
|
3
|
-
import { r as n } from "./code-visibility-
|
|
3
|
+
import { r as n } from "./code-visibility-_ihZ-SEb.js";
|
|
4
4
|
var r = e("triangle-alert", [
|
|
5
5
|
["path", {
|
|
6
6
|
d: "m21.73 18-8-14a2 2 0 0 0-3.48 0l-8 14A2 2 0 0 0 4 21h16a2 2 0 0 0 1.73-3",
|
|
@@ -7,7 +7,7 @@ import { a as f, c as p, l as m, s as h, t as g } from "./chunk-YOKDWASO-DrWbKnx
|
|
|
7
7
|
import { c as _, h as v, l as y, s as b, t as x, u as ee } from "./tooltip-CuNWg2ay.js";
|
|
8
8
|
import { A as te, E as ne, G as re, Nt as ie, O as ae, R as oe, St as se, Z as ce, Zt as le, _t as ue, en as de, et as fe, gt as pe, h as me, ht as he, lt as ge, s as _e, t as ve, vt as ye, xt as be, yt as xe, z as Se } from "./cells-DzqPprAQ.js";
|
|
9
9
|
import { M as Ce, O as we, k as Te } from "./select-Bs-nmvm6.js";
|
|
10
|
-
import {
|
|
10
|
+
import { dt as Ee, q as De } from "./dropdown-menu-Cz4TdOJh.js";
|
|
11
11
|
import { g as Oe, x as ke } from "./toDate-vEi5kTfY.js";
|
|
12
12
|
import { t as Ae } from "./jsx-runtime-DgDPJV9S.js";
|
|
13
13
|
import { Ct as je, K as Me, Q as Ne, St as S, X as Pe, Y as Fe, bt as C, ct as Ie, dt as Le, ft as Re, ht as ze, lt as Be, pt as Ve, vt as He, wt as w, xt as Ue, yt as We } from "./use-restore-focus-kmgwrL8q.js";
|
|
@@ -1765,7 +1765,7 @@ var On = dn, kn = pn, An = hn, jn = yn, Mn = bn, Nn = En, Pn = (e) => {
|
|
|
1765
1765
|
t[6] === s ? c = t[7] : (c = { onPress: () => {
|
|
1766
1766
|
s();
|
|
1767
1767
|
} }, t[6] = s, t[7] = c);
|
|
1768
|
-
let { pressProps: l } =
|
|
1768
|
+
let { pressProps: l } = Ee(c), u;
|
|
1769
1769
|
t[8] === s ? u = t[9] : (u = (e) => {
|
|
1770
1770
|
e.preventDefault(), s();
|
|
1771
1771
|
}, t[8] = s, t[9] = u);
|
|
@@ -1828,7 +1828,7 @@ var Hn = (e) => {
|
|
|
1828
1828
|
t[0] === n ? i = t[1] : (i = () => {
|
|
1829
1829
|
Vn(n);
|
|
1830
1830
|
}, t[0] = n, t[1] = i);
|
|
1831
|
-
let a =
|
|
1831
|
+
let a = De(i, 100), o;
|
|
1832
1832
|
t[2] === a ? o = t[3] : (o = () => a.cancel(), t[2] = a, t[3] = o);
|
|
1833
1833
|
let s;
|
|
1834
1834
|
return t[4] !== r || t[5] !== a || t[6] !== o ? (s = /* @__PURE__ */ (0, A.jsx)("span", {
|
|
@@ -59,7 +59,7 @@ function S() {
|
|
|
59
59
|
return typeof s.useSyncExternalStore == "function" ? s.useSyncExternalStore(x, y, b) : (0, s.useContext)(p);
|
|
60
60
|
}
|
|
61
61
|
//#endregion
|
|
62
|
-
//#region ../node_modules/.pnpm
|
|
62
|
+
//#region ../node_modules/.pnpm/react-aria@3.52.1_react-dom@19.2.8_react@19.2.8__react@19.2.8/node_modules/react-aria/dist/private/i18n/utils.mjs
|
|
63
63
|
var C = /* @__PURE__ */ new Set([
|
|
64
64
|
"Arab",
|
|
65
65
|
"Syrc",
|
|
@@ -102,7 +102,7 @@ function T(e) {
|
|
|
102
102
|
return w.has(t);
|
|
103
103
|
}
|
|
104
104
|
//#endregion
|
|
105
|
-
//#region ../node_modules/.pnpm
|
|
105
|
+
//#region ../node_modules/.pnpm/react-aria@3.52.1_react-dom@19.2.8_react@19.2.8__react@19.2.8/node_modules/react-aria/dist/private/i18n/useDefaultLocale.mjs
|
|
106
106
|
var E = Symbol.for("react-aria.i18n.locale");
|
|
107
107
|
function D() {
|
|
108
108
|
let e = typeof window < "u" && window[E] || typeof navigator < "u" && (navigator.language || navigator.userLanguage) || "en-US";
|
|
@@ -131,7 +131,7 @@ function j() {
|
|
|
131
131
|
} : t;
|
|
132
132
|
}
|
|
133
133
|
//#endregion
|
|
134
|
-
//#region ../node_modules/.pnpm
|
|
134
|
+
//#region ../node_modules/.pnpm/react-aria@3.52.1_react-dom@19.2.8_react@19.2.8__react@19.2.8/node_modules/react-aria/dist/private/i18n/I18nProvider.mjs
|
|
135
135
|
var M = /*#__PURE__*/ s.createContext(null);
|
|
136
136
|
function N(e) {
|
|
137
137
|
let { locale: t, children: n } = e, r = s.useMemo(() => ({
|
|
@@ -156,7 +156,7 @@ function I() {
|
|
|
156
156
|
return (0, s.useContext)(M) || e;
|
|
157
157
|
}
|
|
158
158
|
//#endregion
|
|
159
|
-
//#region ../node_modules/.pnpm/@internationalized+number@3.6.
|
|
159
|
+
//#region ../node_modules/.pnpm/@internationalized+number@3.6.8/node_modules/@internationalized/number/dist/private/NumberFormatter.mjs
|
|
160
160
|
var L = /* @__PURE__ */ new Map(), R = !1;
|
|
161
161
|
try {
|
|
162
162
|
R = new Intl.NumberFormat("de-DE", { signDisplay: "exceptZero" }).resolvedOptions().signDisplay === "exceptZero";
|
|
@@ -174,6 +174,9 @@ var B = { degree: { narrow: {
|
|
|
174
174
|
"zh-TW": "度",
|
|
175
175
|
"sl-SI": " °"
|
|
176
176
|
} } }, V = class {
|
|
177
|
+
constructor(e, t = {}) {
|
|
178
|
+
this.numberFormatter = H(e, t), this.options = t;
|
|
179
|
+
}
|
|
177
180
|
format(e) {
|
|
178
181
|
let t = "";
|
|
179
182
|
if (t = !R && this.options.signDisplay != null ? U(this.numberFormatter, this.options.signDisplay, e) : this.numberFormatter.format(e), this.options.style === "unit" && !z) {
|
|
@@ -224,9 +227,6 @@ var B = { degree: { narrow: {
|
|
|
224
227
|
unitDisplay: this.options.unitDisplay
|
|
225
228
|
}), e;
|
|
226
229
|
}
|
|
227
|
-
constructor(e, t = {}) {
|
|
228
|
-
this.numberFormatter = H(e, t), this.options = t;
|
|
229
|
-
}
|
|
230
230
|
};
|
|
231
231
|
function H(e, t = {}) {
|
|
232
232
|
let { numberingSystem: n } = t;
|
|
@@ -257,7 +257,7 @@ function U(e, t, n) {
|
|
|
257
257
|
}
|
|
258
258
|
}
|
|
259
259
|
//#endregion
|
|
260
|
-
//#region ../node_modules/.pnpm
|
|
260
|
+
//#region ../node_modules/.pnpm/react-aria@3.52.1_react-dom@19.2.8_react@19.2.8__react@19.2.8/node_modules/react-aria/dist/private/i18n/useNumberFormatter.mjs
|
|
261
261
|
function W(e = {}) {
|
|
262
262
|
let { locale: t } = I();
|
|
263
263
|
return (0, s.useMemo)(() => new V(t, e), [t, e]);
|