@marimo-team/islands 0.25.3-dev90 → 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.
Files changed (53) hide show
  1. package/dist/{ErrorBoundary-WEuPfhPN.js → ErrorBoundary-Bp6Cm6jU.js} +1 -1
  2. package/dist/assets/__vite-browser-external-35VXYmnw.js +1 -0
  3. package/dist/assets/{worker-HPY9fbhz.js → worker-Dq8y-WM5.js} +2 -2
  4. package/dist/{chat-ui-C9S_7vEJ.js → chat-ui-DvyHgEfl.js} +3 -3
  5. package/dist/{code-visibility-CkaxR52c.js → code-visibility-BS6srmOi.js} +2 -2
  6. package/dist/{common-Bup9Kvl8.js → common-Ci4xUkZe.js} +6 -6
  7. package/dist/{data-grid-overlay-editor-C5w1IH12.js → data-grid-overlay-editor-3Xwrzd6B.js} +1 -1
  8. package/dist/{error-entries-Cmiq1RT-.js → error-entries-5MYC7UoK.js} +1 -1
  9. package/dist/{feedback-button-BPs1eKrG.js → feedback-button-Btjd18-4.js} +3 -3
  10. package/dist/{glide-data-editor-N7KqIucY.js → glide-data-editor-CfaicMD0.js} +3 -3
  11. package/dist/{globals-DU0QsoBg.js → globals-C2faijKH.js} +1 -1
  12. package/dist/{html-to-image-Dc3mTXAs.js → html-to-image-DvvwId4p.js} +1 -1
  13. package/dist/main.js +13 -13
  14. package/dist/{number-overlay-editor-sigDUEyk.js → number-overlay-editor-wlCw5SbP.js} +1 -1
  15. package/dist/{process-output-C47Xs8_M.js → process-output-BfUEswoe.js} +2 -2
  16. package/dist/{reveal-component-CiNxMAMB.js → reveal-component-COKTwTRj.js} +3 -3
  17. package/package.json +1 -1
  18. package/src/components/chat/acp/__tests__/state.test.ts +2 -2
  19. package/src/components/data-table/cell-selection/feature.ts +2 -2
  20. package/src/components/data-table/cell-selection/types.ts +2 -2
  21. package/src/components/data-table/column-summary/column-summary.tsx +2 -4
  22. package/src/components/editor/SortableCell.tsx +1 -3
  23. package/src/components/editor/chrome/wrapper/footer-items/runtime-settings.tsx +1 -7
  24. package/src/components/editor/chrome/wrapper/storage.ts +1 -1
  25. package/src/components/editor/output/MarimoTracebackOutput.tsx +1 -1
  26. package/src/components/icons/spinner.tsx +1 -1
  27. package/src/components/ui/alert-dialog.tsx +1 -1
  28. package/src/core/ai/context/providers/datasource.ts +6 -2
  29. package/src/core/cells/session.ts +1 -1
  30. package/src/core/codemirror/__tests__/setup.test.ts +1 -1
  31. package/src/core/codemirror/keymaps/vim.ts +2 -6
  32. package/src/core/codemirror/language/languages/markdown.ts +1 -1
  33. package/src/core/codemirror/language/languages/python.ts +3 -3
  34. package/src/core/kernel/__tests__/RuntimeState.test.ts +1 -1
  35. package/src/core/wasm/bridge.ts +2 -2
  36. package/src/core/wasm/store.ts +3 -3
  37. package/src/core/wasm/worker/bootstrap.ts +1 -1
  38. package/src/core/wasm/worker/getMarimoWheel.ts +1 -1
  39. package/src/plugins/impl/CodeEditorPlugin.tsx +1 -1
  40. package/src/plugins/impl/RangeSliderPlugin.tsx +0 -1
  41. package/src/plugins/impl/data-explorer/ConnectedDataExplorerComponent.tsx +1 -1
  42. package/src/plugins/impl/data-explorer/state/reducer.ts +1 -1
  43. package/src/plugins/impl/data-frames/DataFramePlugin.tsx +0 -1
  44. package/src/plugins/impl/panel/PanelPlugin.tsx +1 -1
  45. package/src/plugins/impl/vega/make-selectable.ts +1 -1
  46. package/src/plugins/layout/RoutesPlugin.tsx +1 -1
  47. package/src/stories/form-wrapper.stories.tsx +2 -2
  48. package/src/stories/select.stories.tsx +2 -2
  49. package/src/stories/switchable-multi-select.stories.tsx +1 -1
  50. package/src/utils/__tests__/batch-requests.test.ts +3 -3
  51. package/src/utils/blob.ts +1 -1
  52. package/src/utils/zod-utils.ts +1 -3
  53. 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: (v) => {
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 ({ value }) => {
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: (args, ctx) => (
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: (args, ctx) => {
66
+ render: () => {
67
67
  const [value, setValue] = useState<string>("");
68
68
  return (
69
69
  <>
@@ -15,7 +15,7 @@ export default meta;
15
15
  type Story = StoryObj;
16
16
 
17
17
  export const Primary: Story = {
18
- render: (args, ctx) => {
18
+ render: () => {
19
19
  const [value, setValue] = useState<string[]>([]);
20
20
  return (
21
21
  <TooltipProvider>
@@ -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 (arg) => {
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 (arg) => {
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 (arg) => {
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<T>(blob: Blob): Promise<DataURLString> {
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) => {
@@ -2,9 +2,7 @@
2
2
 
3
3
  import z from "zod";
4
4
 
5
- export function isZodArray<T>(
6
- schema: z.ZodType,
7
- ): schema is z.ZodArray<z.ZodType> {
5
+ export function isZodArray(schema: z.ZodType): schema is z.ZodArray<z.ZodType> {
8
6
  return schema instanceof z.ZodArray;
9
7
  }
10
8
 
@@ -1 +0,0 @@
1
- import{t as e}from"./worker-HPY9fbhz.js";var t=e(((e,t)=>{t.exports={}}));export default t();