@marimo-team/islands 0.25.3-dev91 → 0.25.3-dev92
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/{ErrorBoundary-B2fk7qNp.js → ErrorBoundary-Bp6Cm6jU.js} +1 -1
- package/dist/assets/__vite-browser-external-35VXYmnw.js +1 -0
- package/dist/assets/{worker-HPY9fbhz.js → worker-Dq8y-WM5.js} +2 -2
- package/dist/{chat-ui-C9S_7vEJ.js → chat-ui-DvyHgEfl.js} +3 -3
- package/dist/{code-visibility-Cgx6Zcjn.js → code-visibility-BS6srmOi.js} +2 -2
- package/dist/{common-bzgiULVY.js → common-Ci4xUkZe.js} +6 -6
- package/dist/{data-grid-overlay-editor-sPSVUywU.js → data-grid-overlay-editor-3Xwrzd6B.js} +1 -1
- package/dist/{error-entries-Cmiq1RT-.js → error-entries-5MYC7UoK.js} +1 -1
- package/dist/{feedback-button-D1xPWL8j.js → feedback-button-Btjd18-4.js} +3 -3
- package/dist/{glide-data-editor-DP-ZHFkV.js → glide-data-editor-CfaicMD0.js} +3 -3
- package/dist/{globals-DPNV_VHW.js → globals-C2faijKH.js} +1 -1
- package/dist/{html-to-image-Dc3mTXAs.js → html-to-image-DvvwId4p.js} +1 -1
- package/dist/main.js +13 -13
- package/dist/{number-overlay-editor-BExs_gHI.js → number-overlay-editor-wlCw5SbP.js} +1 -1
- package/dist/{process-output-C47Xs8_M.js → process-output-BfUEswoe.js} +2 -2
- package/dist/{reveal-component-DSxmD7Ft.js → reveal-component-COKTwTRj.js} +3 -3
- package/package.json +1 -1
- package/src/components/chat/acp/__tests__/state.test.ts +2 -2
- package/src/components/data-table/cell-selection/feature.ts +2 -2
- package/src/components/data-table/cell-selection/types.ts +2 -2
- package/src/components/data-table/column-summary/column-summary.tsx +2 -4
- package/src/components/editor/SortableCell.tsx +1 -3
- package/src/components/editor/chrome/wrapper/footer-items/runtime-settings.tsx +1 -7
- package/src/components/editor/chrome/wrapper/storage.ts +1 -1
- package/src/components/editor/output/MarimoTracebackOutput.tsx +1 -1
- package/src/components/icons/spinner.tsx +1 -1
- package/src/components/ui/alert-dialog.tsx +1 -1
- package/src/core/ai/context/providers/datasource.ts +6 -2
- package/src/core/cells/session.ts +1 -1
- package/src/core/codemirror/__tests__/setup.test.ts +1 -1
- package/src/core/codemirror/keymaps/vim.ts +2 -6
- package/src/core/codemirror/language/languages/markdown.ts +1 -1
- package/src/core/codemirror/language/languages/python.ts +3 -3
- package/src/core/kernel/__tests__/RuntimeState.test.ts +1 -1
- package/src/core/wasm/bridge.ts +2 -2
- package/src/core/wasm/store.ts +3 -3
- package/src/core/wasm/worker/bootstrap.ts +1 -1
- package/src/core/wasm/worker/getMarimoWheel.ts +1 -1
- package/src/plugins/impl/CodeEditorPlugin.tsx +1 -1
- package/src/plugins/impl/RangeSliderPlugin.tsx +0 -1
- package/src/plugins/impl/data-explorer/ConnectedDataExplorerComponent.tsx +1 -1
- package/src/plugins/impl/data-explorer/state/reducer.ts +1 -1
- package/src/plugins/impl/data-frames/DataFramePlugin.tsx +0 -1
- package/src/plugins/impl/panel/PanelPlugin.tsx +1 -1
- package/src/plugins/impl/vega/make-selectable.ts +1 -1
- package/src/plugins/layout/RoutesPlugin.tsx +1 -1
- package/src/stories/form-wrapper.stories.tsx +2 -2
- package/src/stories/select.stories.tsx +2 -2
- package/src/stories/switchable-multi-select.stories.tsx +1 -1
- package/src/utils/__tests__/batch-requests.test.ts +3 -3
- package/src/utils/blob.ts +1 -1
- package/src/utils/zod-utils.ts +1 -3
- package/dist/assets/__vite-browser-external-BXYkiFsk.js +0 -1
|
@@ -20,7 +20,7 @@ type Story = StoryObj<typeof FormWrapper>;
|
|
|
20
20
|
const props: FormWrapperProps<string> = {
|
|
21
21
|
currentValue: "currentValue",
|
|
22
22
|
newValue: "currentValue",
|
|
23
|
-
setValue: (
|
|
23
|
+
setValue: () => {
|
|
24
24
|
toast({
|
|
25
25
|
title: "Form submitted",
|
|
26
26
|
});
|
|
@@ -133,7 +133,7 @@ export const Validate: Story = {
|
|
|
133
133
|
<FormWrapper
|
|
134
134
|
{...props}
|
|
135
135
|
shouldValidate={true}
|
|
136
|
-
validate={async (
|
|
136
|
+
validate={async () => {
|
|
137
137
|
const random = Math.random();
|
|
138
138
|
if (random < 0.8) {
|
|
139
139
|
return `Failed to validate. Random number was ${random}`;
|
|
@@ -24,7 +24,7 @@ export default meta;
|
|
|
24
24
|
type Story = StoryObj;
|
|
25
25
|
|
|
26
26
|
export const Primary: Story = {
|
|
27
|
-
render: (
|
|
27
|
+
render: () => (
|
|
28
28
|
<Select>
|
|
29
29
|
<SelectTrigger className="w-64">
|
|
30
30
|
<SelectValue placeholder="Select a fruit" />
|
|
@@ -63,7 +63,7 @@ export const Primary: Story = {
|
|
|
63
63
|
};
|
|
64
64
|
|
|
65
65
|
export const Clearable: Story = {
|
|
66
|
-
render: (
|
|
66
|
+
render: () => {
|
|
67
67
|
const [value, setValue] = useState<string>("");
|
|
68
68
|
return (
|
|
69
69
|
<>
|
|
@@ -8,7 +8,7 @@ async function sleep(ms: number) {
|
|
|
8
8
|
|
|
9
9
|
describe("batch", () => {
|
|
10
10
|
it("should return the same promise for calls with the same key", async () => {
|
|
11
|
-
const loader = vi.fn().mockImplementation(async (
|
|
11
|
+
const loader = vi.fn().mockImplementation(async () => {
|
|
12
12
|
await sleep(10);
|
|
13
13
|
return "response";
|
|
14
14
|
});
|
|
@@ -25,7 +25,7 @@ describe("batch", () => {
|
|
|
25
25
|
});
|
|
26
26
|
|
|
27
27
|
it("should call loader again after the first promise resolves", async () => {
|
|
28
|
-
const loader = vi.fn().mockImplementation(async (
|
|
28
|
+
const loader = vi.fn().mockImplementation(async () => {
|
|
29
29
|
await sleep(10);
|
|
30
30
|
return "response";
|
|
31
31
|
});
|
|
@@ -40,7 +40,7 @@ describe("batch", () => {
|
|
|
40
40
|
});
|
|
41
41
|
|
|
42
42
|
it("should handle different keys separately", async () => {
|
|
43
|
-
const loader = vi.fn().mockImplementation(async (
|
|
43
|
+
const loader = vi.fn().mockImplementation(async () => {
|
|
44
44
|
await sleep(10);
|
|
45
45
|
return "response";
|
|
46
46
|
});
|
package/src/utils/blob.ts
CHANGED
|
@@ -5,7 +5,7 @@ import {
|
|
|
5
5
|
type DataURLString,
|
|
6
6
|
} from "./json/base64";
|
|
7
7
|
|
|
8
|
-
export function serializeBlob
|
|
8
|
+
export function serializeBlob(blob: Blob): Promise<DataURLString> {
|
|
9
9
|
return new Promise<DataURLString>((resolve, reject) => {
|
|
10
10
|
const reader = new FileReader();
|
|
11
11
|
reader.onload = (event) => {
|
package/src/utils/zod-utils.ts
CHANGED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{t as e}from"./worker-HPY9fbhz.js";var t=e(((e,t)=>{t.exports={}}));export default t();
|